New build files

This commit is contained in:
copy 2015-05-18 23:23:47 +02:00
parent 8ab8e24915
commit 385e882946
3 changed files with 3123 additions and 1231 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,419 +1,442 @@
;(function(){'use strict';var l;"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame);
function aa(a,c){function e(a){a=a.toString(16);return"#"+Array(7-a.length).join("0")+a}function f(){for(var a=0;a<Nb;a++)bb[a]&&(ee.d(a),bb[a]=0);this.bb()}function g(){this.s.send("screen-fill-buffer");this.bb()}function h(a,c,e){c=""+(1===c?"":" scaleX("+c+")")+(1===e?"":" scaleY("+e+")");a.style.webkitTransform=a.style.MozTransform=c}console.assert(a,"1st argument must be a DOM container");for(var k=a.getElementsByTagName("canvas")[0],m=k.getContext("2d"),v=k.nextElementSibling||k.previousElementSibling,
x=document.createElement("div"),A,H,O,U,Ka=1,Qa=1,Ob,bb,Wc=!1,Ha,Ra,Nb,ee=this,fe=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,
9484,9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]),ge=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),Xc=[],Pb,La=0;256>La;La++)127<La?Pb=fe[La-128]:32>La?Pb=ge[La]:Pb=La,Xc[La]=String.fromCharCode(Pb);m.imageSmoothingEnabled=!1;m.mozImageSmoothingEnabled=
!1;x.style.position="absolute";x.style.backgroundColor="#ccc";x.style.width="7px";x.style.display="inline-block";v.style.display="block";k.style.display="none";this.s=c;c.register("screen-set-mode",function(a){this.sg(a)},this);c.register("screen-fill-buffer-end",function(a){this.vg(a[0],a[1])},this);c.register("screen-put-char",function(a){this.cg(a[0],a[1],a[2],a[3],a[4])},this);c.register("screen-update-cursor",function(a){this.Dc(a[0],a[1])},this);c.register("screen-update-cursor-scanline",function(a){this.Ec(a[0],
a[1])},this);c.register("screen-set-size-text",function(a){this.Nb(a[0],a[1])},this);c.register("screen-set-size-graphical",function(a){this.yc(a[0],a[1])},this);this.Pa=function(){this.Nb(80,25);this.bb()};this.i=function(){try{window.open(k.toDataURL())}catch(a){}};this.cg=function(a,c,e,g,f){a<Nb&&c<Ra&&(c=3*(a*Ra+c),Ha[c]=e,Ha[c+1]=g,Ha[c+2]=f,bb[a]=1)};this.bb=function(){requestAnimationFrame(Wc?g:f)};f=f.bind(this);g=g.bind(this);this.Wa=function(){};this.sg=function(a){(Wc=a)?(v.style.display=
"none",k.style.display="block"):(v.style.display="block",k.style.display="none")};this.Nb=function(a,c){if(a!==Ra||c!==Nb){bb=new Int8Array(c);Ha=new Int32Array(a*c*3);Ra=a;for(Nb=c;v.childNodes.length>c;)v.removeChild(v.firstChild);for(;v.childNodes.length<c;)v.appendChild(document.createElement("div"));for(var e=0;e<c;e++)this.d(e)}};this.yc=function(a,c){k.style.display="block";k.width=a;k.height=c;A=m.createImageData(a,c);new Uint8Array(A.data.buffer);H=new Int32Array(A.data.buffer);Ob=a;this.s.send("screen-tell-buffer",
[H],[H.buffer])};this.b=function(a,c){Ka=a;Qa=c;h(k,Ka,Qa);h(v,Ka,Qa)};this.b(Ka,Qa);this.Ec=function(a,c){a&32?x.style.display="none":(x.style.display="inline",x.style.height=Math.min(15,c-a)+"px",x.style.marginTop=Math.min(15,a)+"px")};this.Dc=function(a,c){if(a!==O||c!==U)bb[a]=1,bb[O]=1,O=a,U=c};this.d=function(a){var c=3*a*Ra,g,f,h,k,m,A;g=v.childNodes[a];for(h=document.createDocumentFragment();g.firstChild;)g.removeChild(g.firstChild);for(var H=0;H<Ra;){f=document.createElement("span");k=Ha[c+
1];m=Ha[c+2];f.style.backgroundColor=e(k);f.style.color=e(m);for(A="";H<Ra&&Ha[c+1]===k&&Ha[c+2]===m;)if(A+=Xc[Ha[c]],H++,c+=3,a===O)if(H===U)break;else if(H===U+1){h.appendChild(x);break}f.textContent=A;h.appendChild(f)}g.appendChild(h)};this.vg=function(a,c){if(!(c<a)){var e=a/Ob|0;m.putImageData(A,0,0,0,e,Ob,(c/Ob|0)-e+1)}};this.Pa()};function ba(a,c){this.d=a;this.s=c;this.i=function(){};this.I=[6,0,104,111,115,116,57,112];this.p=this.u=8192;this.l=new Uint8Array(2*this.p);this.D=0;this.b=[];this.ia=[this.d,this.s]}function n(a,c,e,f){ca(["w","b","h"],[f+7,c+1,e],a.l,0);a.D=f+7}function da(a,c,e){e=ca(["w"],[e],a.l,7);n(a,6,c,e)}
function ea(a,c,e){var f=fa(["w","b","h"],e),g=f[1],h=f[2];switch(g){case 8:e=a.d.D;var k=[16914839];k[1]=a.u;k[2]=Math.floor(274877906944/k[1]);k[3]=k[2]-Math.floor(e/k[1]);k[4]=k[2]-Math.floor(e/k[1]);k[5]=a.d.b.length;k[6]=1048576;k[7]=0;k[8]=256;e=ca("wwddddddw".split(""),k,a.l,7);n(a,g,h,e);a.i(c);break;case 112:case 12:var k=fa(["w","w"],e),m=k[0],f=k[1],v=ga(a.d,a.b[m].T);k[0]=v.ra;k[1]=a.p-24;ca(["Q","w"],k,a.l,7);n(a,g,h,17);e=ha(a.d,a.b[m].T);ia(a.d,a.b[m].T,function(){k[0]=v.ra;k[1]=this.p-
24;ca(["Q","w"],k,this.l,7);n(this,g,h,17);this.i(c)}.bind(a));break;case 70:var k=fa(["w","w","s"],e),x=k[0],m=k[1];e=k[2];var v=ja(a.d),f=ga(a.d,a.b[m].T),A=a.d.d[a.b[m].T];v.mode=f.mode;v.size=f.size;v.Ac=f.Ac;for(var H=a.d.d[a.d.b.length]=new Uint8Array(v.size),f=0;f<v.size;f++)H[f]=A[f];v.name=e;v.ea=a.b[x].T;ka(a.d,v);n(a,g,h,0);a.i(c);break;case 16:k=fa(["w","s","s","w"],e);m=k[0];e=k[1];x=k[3];e=la(a.d,e,a.b[m].T,k[2]);v=ga(a.d,e);v.uid=a.b[m].uid;v.wa=x;ca(["Q"],[v.ra],a.l,7);n(a,g,h,13);
a.i(c);break;case 18:k=fa("wswwww".split(""),e);m=k[0];e=k[1];f=k[2];A=k[3];H=k[4];x=k[5];e=ma(a.d,e,a.b[m].T,A,H);v=ga(a.d,e);v.mode=f;v.uid=a.b[m].uid;v.wa=x;ca(["Q"],[v.ra],a.l,7);n(a,g,h,13);a.i(c);break;case 22:k=fa(["w"],e);m=k[0];v=ga(a.d,a.b[m].T);e=ca(["s"],[v.Ac],a.l,7);n(a,g,h,e);a.i(c);break;case 72:k=fa(["w","s","w","w"],e);m=k[0];e=k[1];f=k[2];x=k[3];e=na(a.d,e,a.b[m].T);v=ga(a.d,e);v.mode=f|oa;v.uid=a.b[m].uid;v.wa=x;ca(["Q"],[v.ra],a.l,7);n(a,g,h,13);a.i(c);break;case 14:k=fa(["w",
"s","w","w","w"],e);m=k[0];e=k[1];f=k[3];x=k[4];e=pa(a.d,e,a.b[m].T);a.b[m].T=e;a.b[m].type=1;v=ga(a.d,e);v.uid=a.b[m].uid;v.wa=x;v.mode=f;ca(["Q","w"],[v.ra,a.p-24],a.l,7);n(a,g,h,17);a.i(c);break;case 52:ca(["w"],[0],a.l,7);n(a,g,h,1);a.i(c);break;case 24:k=fa(["w","d"],e);m=k[0];v=ga(a.d,a.b[m].T);k[0]|=4096;k[0]=k[1];k[1]=v.ra;k[2]=v.mode;k[3]=v.uid;k[4]=v.wa;k[5]=1;k[6]=v.he<<8|v.ie;k[7]=v.size;k[8]=a.u;k[9]=Math.floor(v.size/512+1);k[10]=v.hc;k[11]=0;k[12]=v.sc;k[13]=0;k[14]=v.fd;k[15]=0;k[16]=
0;k[17]=0;k[18]=0;k[19]=0;ca("dQwwwddddddddddddddd".split(""),k,a.l,7);n(a,g,h,153);a.i(c);break;case 26:k=fa("wwwwwddddd".split(""),e);m=k[0];v=ga(a.d,a.b[m].T);k[1]&1&&(v.mode=k[2]);k[1]&2&&(v.uid=k[3]);k[1]&4&&(v.wa=k[4]);k[1]&128&&(v.hc=k[6]);k[1]&256&&(v.hc=k[8]);k[1]&16&&(v.hc=Math.floor((new Date).getTime()/1E3));k[1]&32&&(v.sc=Math.floor((new Date).getTime()/1E3));k[1]&64&&(v.fd=Math.floor((new Date).getTime()/1E3));k[1]&8&&qa(a.d,a.b[m].T,k[5]);n(a,g,h,0);a.i(c);break;case 50:k=fa(["w","d"],
e);m=k[0];n(a,g,h,0);a.i(c);break;case 40:case 116:var k=fa(["w","d","w"],e),m=k[0],O=k[1],U=k[2],v=ga(a.d,a.b[m].T);if(2==a.b[m].type){v.oa.length<O+U&&(U=v.oa.length-O);for(f=0;f<U;f++)a.l[11+f]=v.oa[O+f];ca(["w"],[U],a.l,7);n(a,g,h,4+U);a.i(c)}else{var Ka=a.d.b[a.b[m].T];a.s.send("9p-read-start");ha(a.d,a.b[m].T);ia(a.d,a.b[m].T,function(){this.s.send("9p-read-end",[Ka.name,U]);v.size<O+U&&(U=v.size-O);var a=this.d.d[this.b[m].T];if(a)for(var e=0;e<U;e++)this.l[11+e]=a[O+e];ca(["w"],[U],this.l,
7);n(this,g,h,4+U);this.i(c)}.bind(a))}break;case 118:k=fa(["w","d","w"],e);m=k[0];O=k[1];U=k[2];ra(a.d,a.b[m].T,O,U,e);Ka=a.d.b[a.b[m].T];a.s.send("9p-write-end",[Ka.name,U]);ca(["w"],[U],a.l,7);n(a,g,h,4);a.i(c);break;case 74:k=fa(["w","s","w","s"],e);e=sa(a.d,a.b[k[0]].T,k[1],a.b[k[2]].T,k[3]);if(0==e){da(a,h,2);a.i(c);break}n(a,g,h,0);a.i(c);break;case 76:k=fa(["w","s","w"],e);f=k[0];e=k[1];m=ta(a.d,a.b[f].T,e);if(-1==m){da(a,h,2);a.i(c);break}e=ua(a.d,m);if(!e){da(a,h,39);a.i(c);break}n(a,m,
h,0);a.i(c);break;case 100:e=fa(["w","s"],e);a.p=e[0];e=ca(["w","s"],[a.p,"9P2000.L"],a.l,7);n(a,g,h,e);a.i(c);break;case 104:k=fa(["w","w","s","s","w"],e);m=k[0];a.b[m]={T:0,type:1,uid:k[4]};v=ga(a.d,a.b[m].T);ca(["Q"],[v.ra],a.l,7);n(a,g,h,13);a.i(c);break;case 108:k=fa(["h"],e);n(a,g,h,0);a.i(c);break;case 110:k=fa(["w","w","h"],e);m=k[0];x=k[1];A=k[2];if(0==A){a.b[x]={T:a.b[m].T,type:1,uid:a.b[m].uid};ca(["h"],[0],a.l,7);n(a,g,h,2);a.i(c);break}H=[];for(f=0;f<A;f++)H.push("s");H=fa(H,e);e=a.b[m].T;
for(var O=9,Qa=0,f=0;f<A;f++){e=ta(a.d,e,H[f]);if(-1==e)break;O+=ca(["Q"],[a.d.b[e].ra],a.l,O);Qa++;a.b[x]={T:e,type:1,uid:a.b[m].uid}}ca(["h"],[Qa],a.l,7);n(a,g,h,O-7);a.i(c);break;case 120:k=fa(["w"],e);a.b[k[0]]&&0<=a.b[k[0]].T&&(va(a.d,a.b[k[0]].T),a.b[k[0]].T=-1,a.b[k[0]].type=-1);n(a,g,h,0);a.i(c);break;case 32:da(a,h,524);a.i(c);break;case 30:k=fa(["w","w","s"],e),m=k[0],f=k[1],e=k[2],a.b[f]={T:a.b[m].T,type:-1,uid:a.b[m].uid},x=0,"security.capability"==e&&(x=wa(a.d,a.b[m].T),a.b[f].type=2),
ca(["d"],[x],a.l,7),n(a,g,h,8),a.i(c)}};function p(){this.qc=0;this.xb=[];this.A=[];this.Fa=[];this.l=new Int32Array(1048576);this.cb=new Uint8Array(1048576);this.fc=new Uint8Array(1048576);this.la=!1;this.Xb=this.Jc=this.Zb=this.Lc=0;this.p=!1;this.r=new Int32Array(8);this.r[0]=0;this.r[2]=0;this.r[3]=0;this.ud=this.N=this.r[4]=0;this.mc=this.mb=this.yb=this.La=this.za=!1;this.H={Pb:{bb:function(){},Wa:function(){}},vd:{bb:function(){},Wa:function(){}}};this.Bd=this.B=this.i=this.Y=this.Ba=this.Aa=this.m=this.e=this.U=this.Rc=this.Sc=
this.Bc=this.u=this.Ra=0;this.h=this.c;this.n=this.w=this.F=0;this.table=[];this.v=!1;this.V=this.k=0;this.Db={ge:null,Pb:null};this.O=0;this.a=new Int32Array(8);this.$a=new Uint32Array(this.a.buffer);this.ma=new Int16Array(this.a.buffer);this.c=new Uint16Array(this.a.buffer);this.vb=new Int8Array(this.a.buffer);this.j=new Uint8Array(this.a.buffer);this.M=new Uint16Array(8);this.kc=new Int32Array(8);this.t=this.c;this.hb=this.C=0;this.memory=null;this.ga=-1;this.J=!1;this.pa=this.o=void 0;"use strict";
(function(a){var c={};a.debug=c;c.ah=!1;c.Zg=void 0;c.Eg=[];c.bh=!1;c.show=function(a){if("undefined"!==typeof document){var c=document.getElementById("log");if(c){c.textContent+=a+"\n";c.style.display="block";c.scrollTop=1E9;return}}console.log(a)};c.Pa=function(){};c.Kg=function(){};c.Ig=function(){};c.Rg=function(){};c.Lg=function(){};c.Mg=function(){};c.Jg=function(){};c.Gg=function(){};c.Hg=function(){};c.Sg=function(){};c.Wg=function(){};c.eh=function(){};c.step=function(){};c.$g=function(){};
c.Fg=function(){};c.P=function(a){a="Unimplemented"+(a?": "+a:"");c.show(a);c.show("Execution stopped");return a};c.Vg=function(){}})(this);this.Va()}
p.prototype.Va=function(){this.$a=new Uint32Array(this.a.buffer);this.ma=new Int16Array(this.a.buffer);this.c=new Uint16Array(this.a.buffer);this.vb=new Int8Array(this.a.buffer);this.j=new Uint8Array(this.a.buffer);xa(this);ya(this);this.yb?this.t=this.a:this.t=this.c;za(this);this.O=0;this.Bd=Aa();this.ia=[this.Db,this.debug,this.yd,this.zd,this.ze,this.Ae,this.l,this.cb,this.fc]};"use strict";
(function(){p.prototype.d=Array(192);p.prototype.b=Array(192);p.prototype.f=Array(256);p.prototype.d[0]=function(a){return q(a)+(a.c[6]+a.c[12]&65535)|0};p.prototype.d[64]=function(a){return q(a)+(a.c[6]+a.c[12]+r(a)&65535)|0};p.prototype.d[128]=function(a){return q(a)+(a.c[6]+a.c[12]+t(a)&65535)|0};p.prototype.d[1]=function(a){return q(a)+(a.c[6]+a.c[14]&65535)|0};p.prototype.d[65]=function(a){return q(a)+(a.c[6]+a.c[14]+r(a)&65535)|0};p.prototype.d[129]=function(a){return q(a)+(a.c[6]+a.c[14]+t(a)&
65535)|0};p.prototype.d[2]=function(a){return u(a)+(a.c[10]+a.c[12]&65535)|0};p.prototype.d[66]=function(a){return u(a)+(a.c[10]+a.c[12]+r(a)&65535)|0};p.prototype.d[130]=function(a){return u(a)+(a.c[10]+a.c[12]+t(a)&65535)|0};p.prototype.d[3]=function(a){return u(a)+(a.c[10]+a.c[14]&65535)|0};p.prototype.d[67]=function(a){return u(a)+(a.c[10]+a.c[14]+r(a)&65535)|0};p.prototype.d[131]=function(a){return u(a)+(a.c[10]+a.c[14]+t(a)&65535)|0};p.prototype.d[4]=function(a){return q(a)+(a.c[12]&65535)|
0};p.prototype.d[68]=function(a){return q(a)+(a.c[12]+r(a)&65535)|0};p.prototype.d[132]=function(a){return q(a)+(a.c[12]+t(a)&65535)|0};p.prototype.d[5]=function(a){return q(a)+(a.c[14]&65535)|0};p.prototype.d[69]=function(a){return q(a)+(a.c[14]+r(a)&65535)|0};p.prototype.d[133]=function(a){return q(a)+(a.c[14]+t(a)&65535)|0};p.prototype.d[6]=function(a){return u(a)+(a.c[10]&65535)|0};p.prototype.d[70]=function(a){return u(a)+(a.c[10]+r(a)&65535)|0};p.prototype.d[134]=function(a){return u(a)+(a.c[10]+
t(a)&65535)|0};p.prototype.d[7]=function(a){return q(a)+(a.c[6]&65535)|0};p.prototype.d[71]=function(a){return q(a)+(a.c[6]+r(a)&65535)|0};p.prototype.d[135]=function(a){return q(a)+(a.c[6]+t(a)&65535)|0};p.prototype.b[0]=function(a){return q(a)+a.a[0]|0};p.prototype.b[64]=function(a){return q(a)+a.a[0]+r(a)|0};p.prototype.b[128]=function(a){return q(a)+a.a[0]+w(a)|0};p.prototype.b[1]=function(a){return q(a)+a.a[1]|0};p.prototype.b[65]=function(a){return q(a)+a.a[1]+r(a)|0};p.prototype.b[129]=function(a){return q(a)+
a.a[1]+w(a)|0};p.prototype.b[2]=function(a){return q(a)+a.a[2]|0};p.prototype.b[66]=function(a){return q(a)+a.a[2]+r(a)|0};p.prototype.b[130]=function(a){return q(a)+a.a[2]+w(a)|0};p.prototype.b[3]=function(a){return q(a)+a.a[3]|0};p.prototype.b[67]=function(a){return q(a)+a.a[3]+r(a)|0};p.prototype.b[131]=function(a){return q(a)+a.a[3]+w(a)|0};p.prototype.b[4]=function(a){return a.f[y(a)](a,!1)|0};p.prototype.b[68]=function(a){return a.f[y(a)](a,!1)+r(a)|0};p.prototype.b[132]=function(a){return a.f[y(a)](a,
!1)+w(a)|0};p.prototype.b[5]=function(a){return u(a)+a.a[5]|0};p.prototype.b[69]=function(a){return u(a)+a.a[5]+r(a)|0};p.prototype.b[133]=function(a){return u(a)+a.a[5]+w(a)|0};p.prototype.b[6]=function(a){return q(a)+a.a[6]|0};p.prototype.b[70]=function(a){return q(a)+a.a[6]+r(a)|0};p.prototype.b[134]=function(a){return q(a)+a.a[6]+w(a)|0};p.prototype.b[7]=function(a){return q(a)+a.a[7]|0};p.prototype.b[71]=function(a){return q(a)+a.a[7]+r(a)|0};p.prototype.b[135]=function(a){return q(a)+a.a[7]+
w(a)|0};p.prototype.d[6]=function(a){return q(a)+t(a)|0};p.prototype.b[5]=function(a){return q(a)+w(a)|0};p.prototype.b[4]=function(a){return a.f[y(a)](a,!1)|0};p.prototype.b[68]=function(a){return a.f[y(a)](a,!0)+r(a)|0};p.prototype.b[132]=function(a){return a.f[y(a)](a,!0)+w(a)|0};for(var a=0;8>a;a++)for(var c=0;3>c;c++)for(var e=a|c<<6,f=1;8>f;f++)p.prototype.b[e|f<<3]=p.prototype.b[e],p.prototype.d[e|f<<3]=p.prototype.d[e];p.prototype.f[0]=function(a){return a.a[0]+q(a)+a.a[0]|0};p.prototype.f[1]=
function(a){return a.a[0]+q(a)+a.a[1]|0};p.prototype.f[2]=function(a){return a.a[0]+q(a)+a.a[2]|0};p.prototype.f[3]=function(a){return a.a[0]+q(a)+a.a[3]|0};p.prototype.f[4]=function(a){return a.a[0]+u(a)+a.a[4]|0};p.prototype.f[5]=function(a,c){return a.a[0]+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[6]=function(a){return a.a[0]+q(a)+a.a[6]|0};p.prototype.f[7]=function(a){return a.a[0]+q(a)+a.a[7]|0};p.prototype.f[64]=function(a){return(a.a[0]<<1)+q(a)+a.a[0]|0};p.prototype.f[65]=function(a){return(a.a[0]<<
1)+q(a)+a.a[1]|0};p.prototype.f[66]=function(a){return(a.a[0]<<1)+q(a)+a.a[2]|0};p.prototype.f[67]=function(a){return(a.a[0]<<1)+q(a)+a.a[3]|0};p.prototype.f[68]=function(a){return(a.a[0]<<1)+u(a)+a.a[4]|0};p.prototype.f[69]=function(a,c){return(a.a[0]<<1)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[70]=function(a){return(a.a[0]<<1)+q(a)+a.a[6]|0};p.prototype.f[71]=function(a){return(a.a[0]<<1)+q(a)+a.a[7]|0};p.prototype.f[128]=function(a){return(a.a[0]<<2)+q(a)+a.a[0]|0};p.prototype.f[129]=function(a){return(a.a[0]<<
2)+q(a)+a.a[1]|0};p.prototype.f[130]=function(a){return(a.a[0]<<2)+q(a)+a.a[2]|0};p.prototype.f[131]=function(a){return(a.a[0]<<2)+q(a)+a.a[3]|0};p.prototype.f[132]=function(a){return(a.a[0]<<2)+u(a)+a.a[4]|0};p.prototype.f[133]=function(a,c){return(a.a[0]<<2)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[134]=function(a){return(a.a[0]<<2)+q(a)+a.a[6]|0};p.prototype.f[135]=function(a){return(a.a[0]<<2)+q(a)+a.a[7]|0};p.prototype.f[192]=function(a){return(a.a[0]<<3)+q(a)+a.a[0]|0};p.prototype.f[193]=
function(a){return(a.a[0]<<3)+q(a)+a.a[1]|0};p.prototype.f[194]=function(a){return(a.a[0]<<3)+q(a)+a.a[2]|0};p.prototype.f[195]=function(a){return(a.a[0]<<3)+q(a)+a.a[3]|0};p.prototype.f[196]=function(a){return(a.a[0]<<3)+u(a)+a.a[4]|0};p.prototype.f[197]=function(a,c){return(a.a[0]<<3)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[198]=function(a){return(a.a[0]<<3)+q(a)+a.a[6]|0};p.prototype.f[199]=function(a){return(a.a[0]<<3)+q(a)+a.a[7]|0};p.prototype.f[8]=function(a){return a.a[1]+q(a)+a.a[0]|0};
p.prototype.f[9]=function(a){return a.a[1]+q(a)+a.a[1]|0};p.prototype.f[10]=function(a){return a.a[1]+q(a)+a.a[2]|0};p.prototype.f[11]=function(a){return a.a[1]+q(a)+a.a[3]|0};p.prototype.f[12]=function(a){return a.a[1]+u(a)+a.a[4]|0};p.prototype.f[13]=function(a,c){return a.a[1]+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[14]=function(a){return a.a[1]+q(a)+a.a[6]|0};p.prototype.f[15]=function(a){return a.a[1]+q(a)+a.a[7]|0};p.prototype.f[72]=function(a){return(a.a[1]<<1)+q(a)+a.a[0]|0};p.prototype.f[73]=
function(a){return(a.a[1]<<1)+q(a)+a.a[1]|0};p.prototype.f[74]=function(a){return(a.a[1]<<1)+q(a)+a.a[2]|0};p.prototype.f[75]=function(a){return(a.a[1]<<1)+q(a)+a.a[3]|0};p.prototype.f[76]=function(a){return(a.a[1]<<1)+u(a)+a.a[4]|0};p.prototype.f[77]=function(a,c){return(a.a[1]<<1)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[78]=function(a){return(a.a[1]<<1)+q(a)+a.a[6]|0};p.prototype.f[79]=function(a){return(a.a[1]<<1)+q(a)+a.a[7]|0};p.prototype.f[136]=function(a){return(a.a[1]<<2)+q(a)+a.a[0]|0};
p.prototype.f[137]=function(a){return(a.a[1]<<2)+q(a)+a.a[1]|0};p.prototype.f[138]=function(a){return(a.a[1]<<2)+q(a)+a.a[2]|0};p.prototype.f[139]=function(a){return(a.a[1]<<2)+q(a)+a.a[3]|0};p.prototype.f[140]=function(a){return(a.a[1]<<2)+u(a)+a.a[4]|0};p.prototype.f[141]=function(a,c){return(a.a[1]<<2)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[142]=function(a){return(a.a[1]<<2)+q(a)+a.a[6]|0};p.prototype.f[143]=function(a){return(a.a[1]<<2)+q(a)+a.a[7]|0};p.prototype.f[200]=function(a){return(a.a[1]<<
3)+q(a)+a.a[0]|0};p.prototype.f[201]=function(a){return(a.a[1]<<3)+q(a)+a.a[1]|0};p.prototype.f[202]=function(a){return(a.a[1]<<3)+q(a)+a.a[2]|0};p.prototype.f[203]=function(a){return(a.a[1]<<3)+q(a)+a.a[3]|0};p.prototype.f[204]=function(a){return(a.a[1]<<3)+u(a)+a.a[4]|0};p.prototype.f[205]=function(a,c){return(a.a[1]<<3)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[206]=function(a){return(a.a[1]<<3)+q(a)+a.a[6]|0};p.prototype.f[207]=function(a){return(a.a[1]<<3)+q(a)+a.a[7]|0};p.prototype.f[16]=function(a){return a.a[2]+
q(a)+a.a[0]|0};p.prototype.f[17]=function(a){return a.a[2]+q(a)+a.a[1]|0};p.prototype.f[18]=function(a){return a.a[2]+q(a)+a.a[2]|0};p.prototype.f[19]=function(a){return a.a[2]+q(a)+a.a[3]|0};p.prototype.f[20]=function(a){return a.a[2]+u(a)+a.a[4]|0};p.prototype.f[21]=function(a,c){return a.a[2]+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[22]=function(a){return a.a[2]+q(a)+a.a[6]|0};p.prototype.f[23]=function(a){return a.a[2]+q(a)+a.a[7]|0};p.prototype.f[80]=function(a){return(a.a[2]<<1)+q(a)+a.a[0]|
0};p.prototype.f[81]=function(a){return(a.a[2]<<1)+q(a)+a.a[1]|0};p.prototype.f[82]=function(a){return(a.a[2]<<1)+q(a)+a.a[2]|0};p.prototype.f[83]=function(a){return(a.a[2]<<1)+q(a)+a.a[3]|0};p.prototype.f[84]=function(a){return(a.a[2]<<1)+u(a)+a.a[4]|0};p.prototype.f[85]=function(a,c){return(a.a[2]<<1)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[86]=function(a){return(a.a[2]<<1)+q(a)+a.a[6]|0};p.prototype.f[87]=function(a){return(a.a[2]<<1)+q(a)+a.a[7]|0};p.prototype.f[144]=function(a){return(a.a[2]<<
2)+q(a)+a.a[0]|0};p.prototype.f[145]=function(a){return(a.a[2]<<2)+q(a)+a.a[1]|0};p.prototype.f[146]=function(a){return(a.a[2]<<2)+q(a)+a.a[2]|0};p.prototype.f[147]=function(a){return(a.a[2]<<2)+q(a)+a.a[3]|0};p.prototype.f[148]=function(a){return(a.a[2]<<2)+u(a)+a.a[4]|0};p.prototype.f[149]=function(a,c){return(a.a[2]<<2)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[150]=function(a){return(a.a[2]<<2)+q(a)+a.a[6]|0};p.prototype.f[151]=function(a){return(a.a[2]<<2)+q(a)+a.a[7]|0};p.prototype.f[208]=
function(a){return(a.a[2]<<3)+q(a)+a.a[0]|0};p.prototype.f[209]=function(a){return(a.a[2]<<3)+q(a)+a.a[1]|0};p.prototype.f[210]=function(a){return(a.a[2]<<3)+q(a)+a.a[2]|0};p.prototype.f[211]=function(a){return(a.a[2]<<3)+q(a)+a.a[3]|0};p.prototype.f[212]=function(a){return(a.a[2]<<3)+u(a)+a.a[4]|0};p.prototype.f[213]=function(a,c){return(a.a[2]<<3)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[214]=function(a){return(a.a[2]<<3)+q(a)+a.a[6]|0};p.prototype.f[215]=function(a){return(a.a[2]<<3)+q(a)+a.a[7]|
0};p.prototype.f[24]=function(a){return a.a[3]+q(a)+a.a[0]|0};p.prototype.f[25]=function(a){return a.a[3]+q(a)+a.a[1]|0};p.prototype.f[26]=function(a){return a.a[3]+q(a)+a.a[2]|0};p.prototype.f[27]=function(a){return a.a[3]+q(a)+a.a[3]|0};p.prototype.f[28]=function(a){return a.a[3]+u(a)+a.a[4]|0};p.prototype.f[29]=function(a,c){return a.a[3]+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[30]=function(a){return a.a[3]+q(a)+a.a[6]|0};p.prototype.f[31]=function(a){return a.a[3]+q(a)+a.a[7]|0};p.prototype.f[88]=
function(a){return(a.a[3]<<1)+q(a)+a.a[0]|0};p.prototype.f[89]=function(a){return(a.a[3]<<1)+q(a)+a.a[1]|0};p.prototype.f[90]=function(a){return(a.a[3]<<1)+q(a)+a.a[2]|0};p.prototype.f[91]=function(a){return(a.a[3]<<1)+q(a)+a.a[3]|0};p.prototype.f[92]=function(a){return(a.a[3]<<1)+u(a)+a.a[4]|0};p.prototype.f[93]=function(a,c){return(a.a[3]<<1)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[94]=function(a){return(a.a[3]<<1)+q(a)+a.a[6]|0};p.prototype.f[95]=function(a){return(a.a[3]<<1)+q(a)+a.a[7]|0};
p.prototype.f[152]=function(a){return(a.a[3]<<2)+q(a)+a.a[0]|0};p.prototype.f[153]=function(a){return(a.a[3]<<2)+q(a)+a.a[1]|0};p.prototype.f[154]=function(a){return(a.a[3]<<2)+q(a)+a.a[2]|0};p.prototype.f[155]=function(a){return(a.a[3]<<2)+q(a)+a.a[3]|0};p.prototype.f[156]=function(a){return(a.a[3]<<2)+u(a)+a.a[4]|0};p.prototype.f[157]=function(a,c){return(a.a[3]<<2)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[158]=function(a){return(a.a[3]<<2)+q(a)+a.a[6]|0};p.prototype.f[159]=function(a){return(a.a[3]<<
2)+q(a)+a.a[7]|0};p.prototype.f[216]=function(a){return(a.a[3]<<3)+q(a)+a.a[0]|0};p.prototype.f[217]=function(a){return(a.a[3]<<3)+q(a)+a.a[1]|0};p.prototype.f[218]=function(a){return(a.a[3]<<3)+q(a)+a.a[2]|0};p.prototype.f[219]=function(a){return(a.a[3]<<3)+q(a)+a.a[3]|0};p.prototype.f[220]=function(a){return(a.a[3]<<3)+u(a)+a.a[4]|0};p.prototype.f[221]=function(a,c){return(a.a[3]<<3)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[222]=function(a){return(a.a[3]<<3)+q(a)+a.a[6]|0};p.prototype.f[223]=
function(a){return(a.a[3]<<3)+q(a)+a.a[7]|0};p.prototype.f[32]=function(a){return q(a)+a.a[0]|0};p.prototype.f[33]=function(a){return q(a)+a.a[1]|0};p.prototype.f[34]=function(a){return q(a)+a.a[2]|0};p.prototype.f[35]=function(a){return q(a)+a.a[3]|0};p.prototype.f[36]=function(a){return u(a)+a.a[4]|0};p.prototype.f[37]=function(a,c){return(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[38]=function(a){return q(a)+a.a[6]|0};p.prototype.f[39]=function(a){return q(a)+a.a[7]|0};p.prototype.f[96]=function(a){return q(a)+
a.a[0]|0};p.prototype.f[97]=function(a){return q(a)+a.a[1]|0};p.prototype.f[98]=function(a){return q(a)+a.a[2]|0};p.prototype.f[99]=function(a){return q(a)+a.a[3]|0};p.prototype.f[100]=function(a){return u(a)+a.a[4]|0};p.prototype.f[101]=function(a,c){return(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[102]=function(a){return q(a)+a.a[6]|0};p.prototype.f[103]=function(a){return q(a)+a.a[7]|0};p.prototype.f[160]=function(a){return q(a)+a.a[0]|0};p.prototype.f[161]=function(a){return q(a)+a.a[1]|0};p.prototype.f[162]=
function(a){return q(a)+a.a[2]|0};p.prototype.f[163]=function(a){return q(a)+a.a[3]|0};p.prototype.f[164]=function(a){return u(a)+a.a[4]|0};p.prototype.f[165]=function(a,c){return(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[166]=function(a){return q(a)+a.a[6]|0};p.prototype.f[167]=function(a){return q(a)+a.a[7]|0};p.prototype.f[224]=function(a){return q(a)+a.a[0]|0};p.prototype.f[225]=function(a){return q(a)+a.a[1]|0};p.prototype.f[226]=function(a){return q(a)+a.a[2]|0};p.prototype.f[227]=function(a){return q(a)+
a.a[3]|0};p.prototype.f[228]=function(a){return u(a)+a.a[4]|0};p.prototype.f[229]=function(a,c){return(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[230]=function(a){return q(a)+a.a[6]|0};p.prototype.f[231]=function(a){return q(a)+a.a[7]|0};p.prototype.f[40]=function(a){return a.a[5]+q(a)+a.a[0]|0};p.prototype.f[41]=function(a){return a.a[5]+q(a)+a.a[1]|0};p.prototype.f[42]=function(a){return a.a[5]+q(a)+a.a[2]|0};p.prototype.f[43]=function(a){return a.a[5]+q(a)+a.a[3]|0};p.prototype.f[44]=function(a){return a.a[5]+
u(a)+a.a[4]|0};p.prototype.f[45]=function(a,c){return a.a[5]+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[46]=function(a){return a.a[5]+q(a)+a.a[6]|0};p.prototype.f[47]=function(a){return a.a[5]+q(a)+a.a[7]|0};p.prototype.f[104]=function(a){return(a.a[5]<<1)+q(a)+a.a[0]|0};p.prototype.f[105]=function(a){return(a.a[5]<<1)+q(a)+a.a[1]|0};p.prototype.f[106]=function(a){return(a.a[5]<<1)+q(a)+a.a[2]|0};p.prototype.f[107]=function(a){return(a.a[5]<<1)+q(a)+a.a[3]|0};p.prototype.f[108]=function(a){return(a.a[5]<<
1)+u(a)+a.a[4]|0};p.prototype.f[109]=function(a,c){return(a.a[5]<<1)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[110]=function(a){return(a.a[5]<<1)+q(a)+a.a[6]|0};p.prototype.f[111]=function(a){return(a.a[5]<<1)+q(a)+a.a[7]|0};p.prototype.f[168]=function(a){return(a.a[5]<<2)+q(a)+a.a[0]|0};p.prototype.f[169]=function(a){return(a.a[5]<<2)+q(a)+a.a[1]|0};p.prototype.f[170]=function(a){return(a.a[5]<<2)+q(a)+a.a[2]|0};p.prototype.f[171]=function(a){return(a.a[5]<<2)+q(a)+a.a[3]|0};p.prototype.f[172]=
function(a){return(a.a[5]<<2)+u(a)+a.a[4]|0};p.prototype.f[173]=function(a,c){return(a.a[5]<<2)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[174]=function(a){return(a.a[5]<<2)+q(a)+a.a[6]|0};p.prototype.f[175]=function(a){return(a.a[5]<<2)+q(a)+a.a[7]|0};p.prototype.f[232]=function(a){return(a.a[5]<<3)+q(a)+a.a[0]|0};p.prototype.f[233]=function(a){return(a.a[5]<<3)+q(a)+a.a[1]|0};p.prototype.f[234]=function(a){return(a.a[5]<<3)+q(a)+a.a[2]|0};p.prototype.f[235]=function(a){return(a.a[5]<<3)+q(a)+a.a[3]|
0};p.prototype.f[236]=function(a){return(a.a[5]<<3)+u(a)+a.a[4]|0};p.prototype.f[237]=function(a,c){return(a.a[5]<<3)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[238]=function(a){return(a.a[5]<<3)+q(a)+a.a[6]|0};p.prototype.f[239]=function(a){return(a.a[5]<<3)+q(a)+a.a[7]|0};p.prototype.f[48]=function(a){return a.a[6]+q(a)+a.a[0]|0};p.prototype.f[49]=function(a){return a.a[6]+q(a)+a.a[1]|0};p.prototype.f[50]=function(a){return a.a[6]+q(a)+a.a[2]|0};p.prototype.f[51]=function(a){return a.a[6]+q(a)+
a.a[3]|0};p.prototype.f[52]=function(a){return a.a[6]+u(a)+a.a[4]|0};p.prototype.f[53]=function(a,c){return a.a[6]+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[54]=function(a){return a.a[6]+q(a)+a.a[6]|0};p.prototype.f[55]=function(a){return a.a[6]+q(a)+a.a[7]|0};p.prototype.f[112]=function(a){return(a.a[6]<<1)+q(a)+a.a[0]|0};p.prototype.f[113]=function(a){return(a.a[6]<<1)+q(a)+a.a[1]|0};p.prototype.f[114]=function(a){return(a.a[6]<<1)+q(a)+a.a[2]|0};p.prototype.f[115]=function(a){return(a.a[6]<<1)+
q(a)+a.a[3]|0};p.prototype.f[116]=function(a){return(a.a[6]<<1)+u(a)+a.a[4]|0};p.prototype.f[117]=function(a,c){return(a.a[6]<<1)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[118]=function(a){return(a.a[6]<<1)+q(a)+a.a[6]|0};p.prototype.f[119]=function(a){return(a.a[6]<<1)+q(a)+a.a[7]|0};p.prototype.f[176]=function(a){return(a.a[6]<<2)+q(a)+a.a[0]|0};p.prototype.f[177]=function(a){return(a.a[6]<<2)+q(a)+a.a[1]|0};p.prototype.f[178]=function(a){return(a.a[6]<<2)+q(a)+a.a[2]|0};p.prototype.f[179]=function(a){return(a.a[6]<<
2)+q(a)+a.a[3]|0};p.prototype.f[180]=function(a){return(a.a[6]<<2)+u(a)+a.a[4]|0};p.prototype.f[181]=function(a,c){return(a.a[6]<<2)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[182]=function(a){return(a.a[6]<<2)+q(a)+a.a[6]|0};p.prototype.f[183]=function(a){return(a.a[6]<<2)+q(a)+a.a[7]|0};p.prototype.f[240]=function(a){return(a.a[6]<<3)+q(a)+a.a[0]|0};p.prototype.f[241]=function(a){return(a.a[6]<<3)+q(a)+a.a[1]|0};p.prototype.f[242]=function(a){return(a.a[6]<<3)+q(a)+a.a[2]|0};p.prototype.f[243]=
function(a){return(a.a[6]<<3)+q(a)+a.a[3]|0};p.prototype.f[244]=function(a){return(a.a[6]<<3)+u(a)+a.a[4]|0};p.prototype.f[245]=function(a,c){return(a.a[6]<<3)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[246]=function(a){return(a.a[6]<<3)+q(a)+a.a[6]|0};p.prototype.f[247]=function(a){return(a.a[6]<<3)+q(a)+a.a[7]|0};p.prototype.f[56]=function(a){return a.a[7]+q(a)+a.a[0]|0};p.prototype.f[57]=function(a){return a.a[7]+q(a)+a.a[1]|0};p.prototype.f[58]=function(a){return a.a[7]+q(a)+a.a[2]|0};p.prototype.f[59]=
function(a){return a.a[7]+q(a)+a.a[3]|0};p.prototype.f[60]=function(a){return a.a[7]+u(a)+a.a[4]|0};p.prototype.f[61]=function(a,c){return a.a[7]+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[62]=function(a){return a.a[7]+q(a)+a.a[6]|0};p.prototype.f[63]=function(a){return a.a[7]+q(a)+a.a[7]|0};p.prototype.f[120]=function(a){return(a.a[7]<<1)+q(a)+a.a[0]|0};p.prototype.f[121]=function(a){return(a.a[7]<<1)+q(a)+a.a[1]|0};p.prototype.f[122]=function(a){return(a.a[7]<<1)+q(a)+a.a[2]|0};p.prototype.f[123]=
function(a){return(a.a[7]<<1)+q(a)+a.a[3]|0};p.prototype.f[124]=function(a){return(a.a[7]<<1)+u(a)+a.a[4]|0};p.prototype.f[125]=function(a,c){return(a.a[7]<<1)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[126]=function(a){return(a.a[7]<<1)+q(a)+a.a[6]|0};p.prototype.f[127]=function(a){return(a.a[7]<<1)+q(a)+a.a[7]|0};p.prototype.f[184]=function(a){return(a.a[7]<<2)+q(a)+a.a[0]|0};p.prototype.f[185]=function(a){return(a.a[7]<<2)+q(a)+a.a[1]|0};p.prototype.f[186]=function(a){return(a.a[7]<<2)+q(a)+a.a[2]|
0};p.prototype.f[187]=function(a){return(a.a[7]<<2)+q(a)+a.a[3]|0};p.prototype.f[188]=function(a){return(a.a[7]<<2)+u(a)+a.a[4]|0};p.prototype.f[189]=function(a,c){return(a.a[7]<<2)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[190]=function(a){return(a.a[7]<<2)+q(a)+a.a[6]|0};p.prototype.f[191]=function(a){return(a.a[7]<<2)+q(a)+a.a[7]|0};p.prototype.f[248]=function(a){return(a.a[7]<<3)+q(a)+a.a[0]|0};p.prototype.f[249]=function(a){return(a.a[7]<<3)+q(a)+a.a[1]|0};p.prototype.f[250]=function(a){return(a.a[7]<<
3)+q(a)+a.a[2]|0};p.prototype.f[251]=function(a){return(a.a[7]<<3)+q(a)+a.a[3]|0};p.prototype.f[252]=function(a){return(a.a[7]<<3)+u(a)+a.a[4]|0};p.prototype.f[253]=function(a,c){return(a.a[7]<<3)+(c?u(a)+a.a[5]:q(a)+w(a))|0};p.prototype.f[254]=function(a){return(a.a[7]<<3)+q(a)+a.a[6]|0};p.prototype.f[255]=function(a){return(a.a[7]<<3)+q(a)+a.a[7]|0};p.prototype.g=function(a){return(this.mb?this.b:this.d)[a](this)}})();"use strict";
p.prototype.add=function(a,c,e){this.Aa=a;this.Ba=c;this.i=this.B=a+c|0;this.Y=e;this.m=2261;return this.B};function Ba(a,c,e,f){var g=a.qa();a.Aa=c;a.Ba=e;a.i=a.B=(c+e|0)+g|0;a.Y=f;a.m=2261;return a.B}p.prototype.sub=function(a,c,e){this.i=a;this.Ba=c;this.Aa=this.B=a-c|0;this.Y=e;this.m=2261;return this.B};function Ca(a,c,e,f){var g=a.qa();a.i=c;a.Ba=e;a.Aa=a.B=c-e-g|0;a.Y=f;a.m=2261;return a.B}function Da(a,c,e){a.e=a.e&-2|a.qa();a.Aa=c;a.Ba=1;a.i=a.B=c+1|0;a.Y=e;a.m=2260;return a.B}
function Ea(a,c,e){a.e=a.e&-2|a.qa();a.i=c;a.Ba=1;a.Aa=a.B=c-1|0;a.Y=e;a.m=2260;return a.B}function Fa(a,c,e){a.Aa=a.B=-c|0;a.m=2261;a.i=0;a.Ba=c;a.Y=e;return a.B}function Ga(a,c,e){c=c*e;a.e=32767<c||-32768>c?a.e|2049:a.e&-2050;a.m=0;return c}
function Ia(a,c,e){var f=!1;0>c&&(f=!0,c=-c|0);0>e&&(f=!f,e=-e|0);var g=c&65535;c=c>>>16;var h=e&65535;e=e>>>16;var k=g*h,h=(k>>>16)+(c*h|0)|0,m=h>>>16,h=(h&65535)+(g*e|0)|0,k=h<<16|k&65535,m=((h>>>16)+(c*e|0)|0)+m|0;f&&(k=-k|0,m=~m+!k|0);a.e=m===k>>31?a.e&-2050:a.e|2049;a.m=0;return k}function z(a,c,e,f){a.B=c&e;a.Y=f;a.e&=-2066;a.m=196;return a.B}function Ja(a,c,e,f){a.B=c|e;a.Y=f;a.e&=-2066;a.m=196;return a.B}function Ma(a,c,e,f){a.B=c^e;a.Y=f;a.e&=-2066;a.m=196;return a.B}
function Na(a,c,e){if(!e)return c;e&=7;c=c<<e|c>>8-e;a.m&=-2050;a.e=a.e&-2050|c&1|(c<<11^c<<4)&2048;return c}function Oa(a,c,e){if(!e)return c;e&=15;c=c<<e|c>>16-e;a.m&=-2050;a.e=a.e&-2050|c&1|(c<<11^c>>4)&2048;return c}function Pa(a,c,e){if(!e)return c;c=c<<e|c>>>32-e;a.m&=-2050;a.e=a.e&-2050|c&1|(c<<11^c>>20)&2048;return c}function Sa(a,c,e){e%=9;if(!e)return c;c=c<<e|a.qa()<<e-1|c>>9-e;a.m&=-2050;a.e=a.e&-2050|c>>8&1|(c<<3^c<<4)&2048;return c}
function Ta(a,c,e){e%=17;if(!e)return c;c=c<<e|a.qa()<<e-1|c>>17-e;a.m&=-2050;a.e=a.e&-2050|c>>16&1|(c>>5^c>>4)&2048;return c}function Ua(a,c,e){if(!e)return c;var f=c<<e|a.qa()<<e-1;1<e&&(f|=c>>>33-e);a.m&=-2050;a.e=a.e&-2050|c>>>32-e&1;a.e|=(a.e<<11^f>>20)&2048;return f}function Va(a,c,e){if(!e)return c;e&=7;c=c>>e|c<<8-e;a.m&=-2050;a.e=a.e&-2050|c>>7&1|(c<<4^c<<5)&2048;return c}function Wa(a,c,e){if(!e)return c;e&=15;c=c>>e|c<<16-e;a.m&=-2050;a.e=a.e&-2050|c>>15&1|(c>>4^c>>3)&2048;return c}
function Xa(a,c,e){if(!e)return c;c=c>>>e|c<<32-e;a.m&=-2050;a.e=a.e&-2050|c>>31&1|(c>>20^c>>19)&2048;return c}function Ya(a,c,e){e%=9;if(!e)return c;c=c>>e|a.qa()<<8-e|c<<9-e;a.m&=-2050;a.e=a.e&-2050|c>>8&1|(c<<4^c<<5)&2048;return c}function Za(a,c,e){e%=17;if(!e)return c;c=c>>e|a.qa()<<16-e|c<<17-e;a.m&=-2050;a.e=a.e&-2050|c>>16&1|(c>>4^c>>3)&2048;return c}function $a(a,c,e){if(!e)return c;var f=c>>>e|a.qa()<<32-e;1<e&&(f|=c<<33-e);a.m&=-2050;a.e=a.e&-2050|c>>e-1&1|(f>>20^f>>19)&2048;return f}
function ab(a,c,e){if(0===e)return c;a.B=c<<e;a.Y=7;a.m=212;a.e=a.e&-2050|a.B>>8&1|(a.B<<3^a.B<<4)&2048;return a.B}function cb(a,c,e){if(0===e)return c;a.B=c<<e;a.Y=15;a.m=212;a.e=a.e&-2050|a.B>>16&1|(a.B>>5^a.B>>4)&2048;return a.B}function db(a,c,e){if(0===e)return c;a.B=c<<e;a.Y=31;a.m=212;a.e=a.e&-2050|c>>>32-e&1;a.e|=(a.e&1^a.B>>31&1)<<11&2048;return a.B}function eb(a,c,e){if(0===e)return c;a.B=c>>e;a.Y=7;a.m=212;a.e=a.e&-2050|c>>e-1&1|(c>>7&1)<<11&2048;return a.B}
function fb(a,c,e){if(0===e)return c;a.B=c>>e;a.Y=15;a.m=212;a.e=a.e&-2050|c>>e-1&1|c>>4&2048;return a.B}function gb(a,c,e){if(0===e)return c;a.B=c>>>e;a.Y=31;a.m=212;a.e=a.e&-2050|c>>>e-1&1|c>>20&2048;return a.B}function hb(a,c,e){if(0===e)return c;8>e?(a.B=c<<24>>e+24,a.e=a.e&-2050|c>>e-1&1):(a.B=c<<24>>31,a.e=a.e&-2050|a.B&1);a.Y=7;a.m=212;return a.B}
function ib(a,c,e){if(0===e)return c;16>e?(a.B=c<<16>>e+16,a.e=a.e&-2050|c>>e-1&1):(a.B=c<<16>>31,a.e=a.e&-2050|a.B&1);a.Y=15;a.m=212;return a.B}function jb(a,c,e){if(0===e)return c;a.B=c>>e;a.Y=31;a.m=212;a.e=a.e&-2050|c>>>e-1&1;return a.B}function kb(a,c,e,f){if(0===f)return c;16>=f?(a.B=c>>f|e<<16-f,a.e=a.e&-2|c>>f-1&1):(a.B=c<<32-f|e>>f-16,a.e=a.e&-2|e>>f-17&1);a.Y=15;a.m=212;a.e=a.e&-2049|(a.B^c)>>4&2048;return a.B}
function lb(a,c,e,f){if(0===f)return c;a.B=c>>>f|e<<32-f;a.Y=31;a.m=212;a.e=a.e&-2|c>>>f-1&1;a.e=a.e&-2049|(a.B^c)>>20&2048;return a.B}function mb(a,c,e,f){if(0===f)return c;16>=f?(a.B=c<<f|e>>>16-f,a.e=a.e&-2|c>>>16-f&1):(a.B=c>>32-f|e<<f-16,a.e=a.e&-2|e>>>32-f&1);a.Y=15;a.m=212;a.e=a.e&-2049|(a.e&1^a.B>>15&1)<<11;return a.B}function nb(a,c,e,f){if(0===f)return c;a.B=c<<f|e>>>32-f;a.Y=31;a.m=212;a.e=a.e&-2|c>>>32-f&1;a.e=a.e&-2049|(a.e&1^a.B>>31&1)<<11;return a.B}
function ob(a,c,e){a.e=a.e&-2|c>>e&1;a.m&=-2}function pb(a,c,e){a.e=a.e&-2|c>>e&1;a.m&=-2;return c^1<<e}function qb(a,c,e){a.e=a.e&-2|c>>e&1;a.m&=-2;return c|1<<e}function rb(a,c,e){a.e=a.e&-2|c>>e&1;a.m&=-2;return c&~(1<<e)}function sb(a,c,e){c=B(a,c+(e>>3));a.e=a.e&-2|c>>(e&7)&1;a.m&=-2}function tb(a,c,e){c=C(a,c+(e>>3));var f=a.memory.L(c);e&=7;a.e=a.e&-2|f>>e&1;a.m&=-2;a.memory.S(c,f^1<<e)}
function ub(a,c,e){c=C(a,c+(e>>3));var f=a.memory.L(c);e&=7;a.e=a.e&-2|f>>e&1;a.m&=-2;a.memory.S(c,f&~(1<<e))}function vb(a,c,e){c=C(a,c+(e>>3));var f=a.memory.L(c);e&=7;a.e=a.e&-2|f>>e&1;a.m&=-2;a.memory.S(c,f|1<<e)}function wb(a,c){a.m=0;a.e&=-2262;if(c)return c=c-(c>>1&1431655765),c=(c&858993459)+(c>>2&858993459),16843009*(c+(c>>4)&252645135)>>24;a.e|=64;return 0}"use strict";function xb(a,c){return 0>a?(c&4095)>>(-a>>1):(~c&4095)>>a}function yb(a,c,e){return Math.min(xb(a,c),xb(a,e))}"use strict";
var D=[],E=[],F=[],G=[];p.prototype.yd=D;p.prototype.zd=E;p.prototype.ze=F;p.prototype.Ae=G;D[0]=E[0]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=a.add(e,a.j[c>>1&12|c>>5&1],7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};D[1]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=a.add(e,a.c[c>>2&14],15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
E[1]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=a.add(e,a.a[c>>3&7],31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};D[2]=E[2]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=a.add(a.j[c>>1&12|c>>5&1],e,7)};D[3]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=a.add(a.c[c>>2&14],e,15)};
E[3]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=a.add(a.a[c>>3&7],e,31)};D[4]=E[4]=function(a){a.j[0]=a.add(a.j[0],y(a),7)};D[5]=function(a){a.c[0]=a.add(a.c[0],t(a),15)};E[5]=function(a){a.a[0]=a.add(a.a[0],w(a),31)};D[6]=function(a){L(a,a.M[0])};E[6]=function(a){M(a,a.M[0])};D[7]=function(a){N(a,0,J(a,Db(a,0)));a.t[a.C]+=2};E[7]=function(a){N(a,0,J(a,Db(a,0)));a.t[a.C]+=4};
D[8]=E[8]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=Ja(a,e,a.j[c>>1&12|c>>5&1],7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};D[9]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=Ja(a,e,a.c[c>>2&14],15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
E[9]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=Ja(a,e,a.a[c>>3&7],31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};D[10]=E[10]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=Ja(a,a.j[c>>1&12|c>>5&1],e,7)};D[11]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Ja(a,a.c[c>>2&14],e,15)};
E[11]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ja(a,a.a[c>>3&7],e,31)};D[12]=E[12]=function(a){a.j[0]=Ja(a,a.j[0],y(a),7)};D[13]=function(a){a.c[0]=Ja(a,a.c[0],t(a),15)};E[13]=function(a){a.a[0]=Ja(a,a.a[0],w(a),31)};D[14]=function(a){L(a,a.M[1])};E[14]=function(a){M(a,a.M[1])};D[15]=function(a){a.ze[y(a)](a)};E[15]=function(a){a.Ae[y(a)](a)};
D[16]=E[16]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=Ba(a,e,a.j[c>>1&12|c>>5&1],7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};D[17]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=Ba(a,e,a.c[c>>2&14],15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
E[17]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=Ba(a,e,a.a[c>>3&7],31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};D[18]=E[18]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=Ba(a,a.j[c>>1&12|c>>5&1],e,7)};D[19]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Ba(a,a.c[c>>2&14],e,15)};
E[19]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ba(a,a.a[c>>3&7],e,31)};D[20]=E[20]=function(a){a.j[0]=Ba(a,a.j[0],y(a),7)};D[21]=function(a){a.c[0]=Ba(a,a.c[0],t(a),15)};E[21]=function(a){a.a[0]=Ba(a,a.a[0],w(a),31)};D[22]=function(a){L(a,a.M[2])};E[22]=function(a){M(a,a.M[2])};D[23]=function(a){N(a,2,J(a,Db(a,0)));a.t[a.C]+=2};E[23]=function(a){N(a,2,J(a,Db(a,0)));a.t[a.C]+=4};
D[24]=E[24]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=Ca(a,e,a.j[c>>1&12|c>>5&1],7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};D[25]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=Ca(a,e,a.c[c>>2&14],15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
E[25]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=Ca(a,e,a.a[c>>3&7],31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};D[26]=E[26]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=Ca(a,a.j[c>>1&12|c>>5&1],e,7)};D[27]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Ca(a,a.c[c>>2&14],e,15)};
E[27]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ca(a,a.a[c>>3&7],e,31)};D[28]=E[28]=function(a){a.j[0]=Ca(a,a.j[0],y(a),7)};D[29]=function(a){a.c[0]=Ca(a,a.c[0],t(a),15)};E[29]=function(a){a.a[0]=Ca(a,a.a[0],w(a),31)};D[30]=function(a){L(a,a.M[3])};E[30]=function(a){M(a,a.M[3])};D[31]=function(a){N(a,3,J(a,Db(a,0)));a.t[a.C]+=2};E[31]=function(a){N(a,3,J(a,Db(a,0)));a.t[a.C]+=4};
D[32]=E[32]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=z(a,e,a.j[c>>1&12|c>>5&1],7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};D[33]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=z(a,e,a.c[c>>2&14],15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
E[33]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=z(a,e,a.a[c>>3&7],31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};D[34]=E[34]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=z(a,a.j[c>>1&12|c>>5&1],e,7)};D[35]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=z(a,a.c[c>>2&14],e,15)};
E[35]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=z(a,a.a[c>>3&7],e,31)};D[36]=E[36]=function(a){a.j[0]=z(a,a.j[0],y(a),7)};D[37]=function(a){a.c[0]=z(a,a.c[0],t(a),15)};E[37]=function(a){a.a[0]=z(a,a.a[0],w(a),31)};D[38]=E[38]=function(a){a.ga=0;Eb(a);a.ga=-1};D[39]=E[39]=function(a){var c=a.j[0],e=a.qa(),f=Fb(a);a.e&=-18;if(9<(c&15)||f)a.j[0]+=6,a.e|=16;if(153<c||e)a.j[0]+=96,a.e|=1;a.B=a.j[0];a.Y=7;a.Aa=a.Ba=0;a.m=196};
D[40]=E[40]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=a.sub(e,a.j[c>>1&12|c>>5&1],7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};D[41]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=a.sub(e,a.c[c>>2&14],15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
E[41]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=a.sub(e,a.a[c>>3&7],31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};D[42]=E[42]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=a.sub(a.j[c>>1&12|c>>5&1],e,7)};D[43]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=a.sub(a.c[c>>2&14],e,15)};
E[43]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=a.sub(a.a[c>>3&7],e,31)};D[44]=E[44]=function(a){a.j[0]=a.sub(a.j[0],y(a),7)};D[45]=function(a){a.c[0]=a.sub(a.c[0],t(a),15)};E[45]=function(a){a.a[0]=a.sub(a.a[0],w(a),31)};D[46]=E[46]=function(a){a.ga=1;Eb(a);a.ga=-1};D[47]=E[47]=function(a){var c=a.j[0],e=a.qa();a.e&=-2;9<(c&15)||Fb(a)?(a.j[0]-=6,a.e|=16,a.e=a.e&-2|e|a.j[0]>>7):a.e&=-17;if(153<c||e)a.j[0]-=96,a.e|=1;a.B=a.j[0];a.Y=7;a.Aa=a.Ba=0;a.m=196};
D[48]=E[48]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=Ma(a,e,a.j[c>>1&12|c>>5&1],7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};D[49]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=Ma(a,e,a.c[c>>2&14],15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
E[49]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=Ma(a,e,a.a[c>>3&7],31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};D[50]=E[50]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=Ma(a,a.j[c>>1&12|c>>5&1],e,7)};D[51]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Ma(a,a.c[c>>2&14],e,15)};
E[51]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ma(a,a.a[c>>3&7],e,31)};D[52]=E[52]=function(a){a.j[0]=Ma(a,a.j[0],y(a),7)};D[53]=function(a){a.c[0]=Ma(a,a.c[0],t(a),15)};E[53]=function(a){a.a[0]=Ma(a,a.a[0],w(a),31)};D[54]=E[54]=function(a){a.ga=2;Eb(a);a.ga=-1};D[55]=E[55]=function(a){9<(a.j[0]&15)||Fb(a)?(a.c[0]+=6,a.j[1]+=1,a.e|=17):a.e&=-18;a.j[0]&=15;a.m&=-18};D[56]=E[56]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.sub(e,a.j[c>>1&12|c>>5&1],7)};
D[57]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.sub(e,a.c[c>>2&14],15)};E[57]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.sub(e,a.a[c>>3&7],31)};D[58]=E[58]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.sub(a.j[c>>1&12|c>>5&1],e,7)};D[59]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.sub(a.c[c>>2&14],e,15)};E[59]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.sub(a.a[c>>3&7],e,31)};D[60]=E[60]=function(a){a.sub(a.j[0],y(a),7)};
D[61]=function(a){a.sub(a.c[0],t(a),15)};E[61]=function(a){a.sub(a.a[0],w(a),31)};D[62]=E[62]=function(a){a.ga=3;Eb(a);a.ga=-1};D[63]=E[63]=function(a){9<(a.j[0]&15)||Fb(a)?(a.c[0]-=6,--a.j[1],a.e|=17):a.e&=-18;a.j[0]&=15;a.m&=-18};D[64]=function(a){a.c[0]=Da(a,a.c[0],15)};E[64]=function(a){a.a[0]=Da(a,a.a[0],31)};D[65]=function(a){a.c[2]=Da(a,a.c[2],15)};E[65]=function(a){a.a[1]=Da(a,a.a[1],31)};D[66]=function(a){a.c[4]=Da(a,a.c[4],15)};E[66]=function(a){a.a[2]=Da(a,a.a[2],31)};
D[67]=function(a){a.c[6]=Da(a,a.c[6],15)};E[67]=function(a){a.a[3]=Da(a,a.a[3],31)};D[68]=function(a){a.c[8]=Da(a,a.c[8],15)};E[68]=function(a){a.a[4]=Da(a,a.a[4],31)};D[69]=function(a){a.c[10]=Da(a,a.c[10],15)};E[69]=function(a){a.a[5]=Da(a,a.a[5],31)};D[70]=function(a){a.c[12]=Da(a,a.c[12],15)};E[70]=function(a){a.a[6]=Da(a,a.a[6],31)};D[71]=function(a){a.c[14]=Da(a,a.c[14],15)};E[71]=function(a){a.a[7]=Da(a,a.a[7],31)};D[72]=function(a){a.c[0]=Ea(a,a.c[0],15)};
E[72]=function(a){a.a[0]=Ea(a,a.a[0],31)};D[73]=function(a){a.c[2]=Ea(a,a.c[2],15)};E[73]=function(a){a.a[1]=Ea(a,a.a[1],31)};D[74]=function(a){a.c[4]=Ea(a,a.c[4],15)};E[74]=function(a){a.a[2]=Ea(a,a.a[2],31)};D[75]=function(a){a.c[6]=Ea(a,a.c[6],15)};E[75]=function(a){a.a[3]=Ea(a,a.a[3],31)};D[76]=function(a){a.c[8]=Ea(a,a.c[8],15)};E[76]=function(a){a.a[4]=Ea(a,a.a[4],31)};D[77]=function(a){a.c[10]=Ea(a,a.c[10],15)};E[77]=function(a){a.a[5]=Ea(a,a.a[5],31)};
D[78]=function(a){a.c[12]=Ea(a,a.c[12],15)};E[78]=function(a){a.a[6]=Ea(a,a.a[6],31)};D[79]=function(a){a.c[14]=Ea(a,a.c[14],15)};E[79]=function(a){a.a[7]=Ea(a,a.a[7],31)};D[80]=function(a){L(a,a.c[0])};E[80]=function(a){M(a,a.a[0])};D[81]=function(a){L(a,a.c[2])};E[81]=function(a){M(a,a.a[1])};D[82]=function(a){L(a,a.c[4])};E[82]=function(a){M(a,a.a[2])};D[83]=function(a){L(a,a.c[6])};E[83]=function(a){M(a,a.a[3])};D[84]=function(a){L(a,a.c[8])};E[84]=function(a){M(a,a.a[4])};
D[85]=function(a){L(a,a.c[10])};E[85]=function(a){M(a,a.a[5])};D[86]=function(a){L(a,a.c[12])};E[86]=function(a){M(a,a.a[6])};D[87]=function(a){L(a,a.c[14])};E[87]=function(a){M(a,a.a[7])};D[88]=function(a){a.c[0]=Gb(a)};E[88]=function(a){a.a[0]=P(a)};D[89]=function(a){a.c[2]=Gb(a)};E[89]=function(a){a.a[1]=P(a)};D[90]=function(a){a.c[4]=Gb(a)};E[90]=function(a){a.a[2]=P(a)};D[91]=function(a){a.c[6]=Gb(a)};E[91]=function(a){a.a[3]=P(a)};D[92]=function(a){a.c[8]=Gb(a)};E[92]=function(a){a.a[4]=P(a)};
D[93]=function(a){a.c[10]=Gb(a)};E[93]=function(a){a.a[5]=P(a)};D[94]=function(a){a.c[12]=Gb(a)};E[94]=function(a){a.a[6]=P(a)};D[95]=function(a){a.c[14]=Gb(a)};E[95]=function(a){a.a[7]=P(a)};D[96]=function(a){var c=a.c[8];C(a,a.A[2]+a.t[a.C]-15|0);L(a,a.c[0]);L(a,a.c[2]);L(a,a.c[4]);L(a,a.c[6]);L(a,c);L(a,a.c[10]);L(a,a.c[12]);L(a,a.c[14])};E[96]=function(a){var c=a.a[4];C(a,a.A[2]+a.t[a.C]-31|0);M(a,a.a[0]);M(a,a.a[1]);M(a,a.a[2]);M(a,a.a[3]);M(a,c);M(a,a.a[5]);M(a,a.a[6]);M(a,a.a[7])};
D[97]=function(a){Q(a,a.A[2]+a.t[a.C]+15|0);a.c[14]=Gb(a);a.c[12]=Gb(a);a.c[10]=Gb(a);a.t[a.C]+=2;a.c[6]=Gb(a);a.c[4]=Gb(a);a.c[2]=Gb(a);a.c[0]=Gb(a)};E[97]=function(a){Q(a,a.A[2]+a.t[a.C]+31|0);a.a[7]=P(a);a.a[6]=P(a);a.a[5]=P(a);a.t[a.C]+=4;a.a[3]=P(a);a.a[2]=P(a);a.a[1]=P(a);a.a[0]=P(a)};D[98]=E[98]=function(){};
D[99]=E[99]=function(a){var c=y(a);if(a.la&&!Hb(a)){var e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];var h=c>>2&14;a.m&=-65;(e&3)<(a.c[h]&3)?(a.e|=64,e=e&-4|a.c[h]&3):a.e&=-65;192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e}else R(a)};D[100]=E[100]=function(a){a.ga=4;Eb(a);a.ga=-1};D[101]=E[101]=function(a){a.ga=5;Eb(a);a.ga=-1};D[102]=function(a){a.La=!0;a.table=a.zd;Eb(a);a.La=a.za;ya(a)};
E[102]=function(a){a.La=!1;a.table=a.yd;Eb(a);a.La=a.za;ya(a)};D[103]=E[103]=function(a){a.mb=!a.za;xa(a);Eb(a);a.mb=a.za;xa(a)};D[104]=function(a){L(a,t(a))};E[104]=function(a){M(a,w(a))};D[105]=function(a){var c=y(a),e=192>c?J(a,a.g(c))<<16>>16:a.ma[c<<1&14];a.c[c>>2&14]=Ga(a,t(a)<<16>>16,e)};E[105]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ia(a,w(a),e)};D[106]=function(a){L(a,r(a))};E[106]=function(a){M(a,r(a))};
D[107]=function(a){var c=y(a),e=192>c?J(a,a.g(c))<<16>>16:a.ma[c<<1&14];a.c[c>>2&14]=Ga(a,r(a),e)};E[107]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ia(a,r(a),e)};
D[108]=E[108]=function(a){a:{var c=a.c[4];Ib(a,c,1);var e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-1:1,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096,v=C(a,e);a.v&&(m=xb(f,e));do a.memory.S(v,Jb(a.o,c)),v+=f,g=0!==--h;while(g&&m--);a.h[a.n]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}else Kb(a,e,Jb(a.o,c)),a.h[a.n]+=f;g&&(a.k=a.V)}};
D[109]=function(a){a:{var c=a.c[4];Ib(a,c,2);var e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-2:2,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096;if(e&1){do S(a,e,Lb(a.o,c)),e+=f,a.h[a.n]+=f,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>f?-1:1,x=C(a,e)>>1;a.v&&(m=xb(f,e));do Mb(a.memory,x,Lb(a.o,c)),x+=v,g=0!==--h;while(g&&m--);a.h[a.n]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}}else S(a,e,Lb(a.o,c)),a.h[a.n]+=f;g&&(a.k=a.V)}};
E[109]=function(a){a:{var c=a.c[4];Ib(a,c,4);var e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-4:4,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096;if(e&3){do T(a,e,Qb(a.o,c)),e+=f,a.h[a.n]+=f,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>f?-1:1,x=C(a,e)>>>2;a.v&&(m=xb(f,e));do Rb(a.memory,x,Qb(a.o,c)),x+=v,g=0!==--h;while(g&&m--);a.h[a.n]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}}else T(a,e,Qb(a.o,c)),a.h[a.n]+=f;g&&(a.k=a.V)}};
D[110]=E[110]=function(a){a:{var c=a.c[4];Ib(a,c,1);var e=Sb(a,3)+a.h[a.w]|0,f=a.e&1024?-1:1,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096,v=Q(a,e);a.v&&(m=xb(f,e));do Tb(a.o,c,a.memory.L(v)),v+=f,g=0!==--h;while(g&&m--);a.h[a.w]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}else Tb(a.o,c,B(a,e)),a.h[a.w]+=f;g&&(a.k=a.V)}};
D[111]=function(a){a:{var c=a.c[4];Ib(a,c,2);var e=Sb(a,3)+a.h[a.w]|0,f=a.e&1024?-2:2,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096;if(e&1){do Ub(a.o,c,J(a,e)),e+=f,a.h[a.w]+=f,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>f?-1:1,x=Q(a,e)>>1;a.v&&(m=xb(f,e));do Ub(a.o,c,Vb(a.memory,x)),x+=v,g=0!==--h;while(g&&m--);a.h[a.w]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}}else Ub(a.o,c,J(a,e)),a.h[a.w]+=f;g&&(a.k=a.V)}};
E[111]=function(a){a:{var c=a.c[4];Ib(a,c,4);var e=Sb(a,3)+a.h[a.w]|0,f=a.e&1024?-4:4,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096;if(e&3){do Wb(a.o,c,K(a,e)),e+=f,a.h[a.w]+=f,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>f?-1:1,x=Q(a,e)>>>2;a.v&&(m=xb(f,e));do Wb(a.o,c,Xb(a.memory,x)),x+=v,g=0!==--h;while(g&&m--);a.h[a.w]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}}else Wb(a.o,c,K(a,e)),a.h[a.w]+=f;g&&(a.k=a.V)}};D[112]=E[112]=function(a){a.Ta()&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};
D[113]=E[113]=function(a){a.Ta()||(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[114]=E[114]=function(a){a.Ga()&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[115]=E[115]=function(a){a.Ga()||(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[116]=E[116]=function(a){a.Ia()&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[117]=E[117]=function(a){a.Ia()||(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[118]=E[118]=function(a){Yb(a)&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[119]=E[119]=function(a){Yb(a)||(a.k=a.k+r(a)|0);a.k++;a.J=!0};
D[120]=E[120]=function(a){a.Ua()&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[121]=E[121]=function(a){a.Ua()||(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[122]=E[122]=function(a){a.Ha()&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[123]=E[123]=function(a){a.Ha()||(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[124]=E[124]=function(a){Zb(a)&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[125]=E[125]=function(a){Zb(a)||(a.k=a.k+r(a)|0);a.k++;a.J=!0};D[126]=E[126]=function(a){$b(a)&&(a.k=a.k+r(a)|0);a.k++;a.J=!0};
D[127]=E[127]=function(a){$b(a)||(a.k=a.k+r(a)|0);a.k++;a.J=!0};
D[128]=E[128]=function(a){var c=y(a);if(56===(c&56)){var e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.sub(e,y(a),7)}else{var f,g,h;192>c?(g=C(a,a.g(c)),e=a.memory.L(g)):e=a.j[c<<2&12|c>>2&1];h=0;f=y(a);switch(c>>3&7){case 0:h=a.add(e,f,7);break;case 1:h=Ja(a,e,f,7);break;case 2:h=Ba(a,e,f,7);break;case 3:h=Ca(a,e,f,7);break;case 4:h=z(a,e,f,7);break;case 5:h=a.sub(e,f,7);break;case 6:h=Ma(a,e,f,7);break;case 7:h=ac.bind(this,0)(e,f)}192>c?a.memory.S(g,h):a.j[c<<2&12|c>>2&1]=h}};
D[129]=function(a){var c=y(a);if(56===(c&56)){var e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.sub(e,t(a),15)}else{var f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4095===(e&4095)?(h=C(a,e+1),e=zb(a,g,h)):e=a.memory.K(g)):e=a.c[c<<1&14];k=0;f=t(a);switch(c>>3&7){case 0:k=a.add(e,f,15);break;case 1:k=Ja(a,e,f,15);break;case 2:k=Ba(a,e,f,15);break;case 3:k=Ca(a,e,f,15);break;case 4:k=z(a,e,f,15);break;case 5:k=a.sub(e,f,15);break;case 6:k=Ma(a,e,f,15);break;case 7:k=ac.bind(this,0)(e,f)}192>c?h?Ab(a,g,h,k):a.memory.ba(g,
k):a.c[c<<1&14]=k}};
E[129]=function(a){var c=y(a);if(56===(c&56)){var e=192>c?K(a,a.g(c)):a.a[c&7];a.sub(e,w(a),31)}else{var f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4093<=(e&4095)?(h=C(a,e+3),e=Bb(a,g,h)):e=I(a.memory,g)):e=a.a[c&7];k=0;f=w(a);switch(c>>3&7){case 0:k=a.add(e,f,31);break;case 1:k=Ja(a,e,f,31);break;case 2:k=Ba(a,e,f,31);break;case 3:k=Ca(a,e,f,31);break;case 4:k=z(a,e,f,31);break;case 5:k=a.sub(e,f,31);break;case 6:k=Ma(a,e,f,31);break;case 7:k=ac.bind(this,0)(e,f)}192>c?h?Cb(a,g,h,k):a.memory.ca(g,k):
a.a[c&7]=k}};D[130]=E[130]=function(a){a.table[128](a)};
D[131]=function(a){var c=y(a);if(56===(c&56)){var e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.sub(e,r(a),15)}else{var f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4095===(e&4095)?(h=C(a,e+1),e=zb(a,g,h)):e=a.memory.K(g)):e=a.c[c<<1&14];k=0;f=r(a);switch(c>>3&7){case 0:k=a.add(e,f,15);break;case 1:k=Ja(a,e,f,15);break;case 2:k=Ba(a,e,f,15);break;case 3:k=Ca(a,e,f,15);break;case 4:k=z(a,e,f,15);break;case 5:k=a.sub(e,f,15);break;case 6:k=Ma(a,e,f,15);break;case 7:k=ac.bind(this,0)(e,f)}192>c?h?Ab(a,g,h,k):a.memory.ba(g,
k):a.c[c<<1&14]=k}};
E[131]=function(a){var c=y(a);if(56===(c&56)){var e=192>c?K(a,a.g(c)):a.a[c&7];a.sub(e,r(a),31)}else{var f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4093<=(e&4095)?(h=C(a,e+3),e=Bb(a,g,h)):e=I(a.memory,g)):e=a.a[c&7];k=0;f=r(a);switch(c>>3&7){case 0:k=a.add(e,f,31);break;case 1:k=Ja(a,e,f,31);break;case 2:k=Ba(a,e,f,31);break;case 3:k=Ca(a,e,f,31);break;case 4:k=z(a,e,f,31);break;case 5:k=a.sub(e,f,31);break;case 6:k=Ma(a,e,f,31);break;case 7:k=ac.bind(this,0)(e,f)}192>c?h?Cb(a,g,h,k):a.memory.ca(g,k):
a.a[c&7]=k}};D[132]=E[132]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];z(a,e,a.j[c>>1&12|c>>5&1],7)};D[133]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];z(a,e,a.c[c>>2&14],15)};E[133]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];z(a,e,a.a[c>>3&7],31)};D[134]=E[134]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,h=a.j[g];a.j[g]=e;192>c?a.memory.S(f,h):a.j[c<<2&12|c>>2&1]=h};
D[135]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];var h=c>>2&14,k=a.c[h];a.c[h]=e;192>c?g?Ab(a,f,g,k):a.memory.ba(f,k):a.c[c<<1&14]=k};E[135]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];var h=c>>3&7,k=a.a[h];a.a[h]=e;192>c?g?Cb(a,f,g,k):a.memory.ca(f,k):a.a[c&7]=k};
D[136]=E[136]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=a.j[c>>1&12|c>>5&1];192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};D[137]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=a.c[c>>2&14];192>c?S(a,e,f):a.c[c<<1&14]=f};E[137]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=a.a[c>>3&7];192>c?T(a,e,f):a.$a[c&7]=f};D[138]=E[138]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.j[c>>1&12|c>>5&1]=e};D[139]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=e};
E[139]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=e};D[140]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=a.M[c>>3&7];192>c?S(a,e,f):a.c[c<<1&14]=f};E[140]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=a.M[c>>3&7];192>c?T(a,e,f):a.$a[c&7]=f};D[141]=function(a){var c=y(a);192<=c&&R(a);a.ga=9;a.c[(c>>3&7)<<1]=a.g(c);a.ga=-1};E[141]=function(a){var c=y(a);192<=c&&R(a);a.ga=9;a.a[c>>3&7]=a.g(c);a.ga=-1};
D[142]=E[142]=function(a){var c=y(a),e=c>>3&7,c=192>c?J(a,a.g(c)):a.c[c<<1&14];N(a,e,c)};D[143]=function(a){var c=y(a),e=J(a,Db(a,0));a.t[a.C]+=2;192>c?(c=a.g(c),a.t[a.C]-=2,S(a,c,e),a.t[a.C]+=2):a.c[c<<1&14]=e};E[143]=function(a){var c=y(a),e=K(a,Db(a,0));a.t[a.C]+=4;192>c?(c=a.g(c),a.t[a.C]-=4,T(a,c,e),a.t[a.C]+=4):a.a[c&7]=e};D[144]=E[144]=function(){};D[145]=function(a){bc(a,2)};E[145]=function(a){cc(a,1)};D[146]=function(a){bc(a,4)};E[146]=function(a){cc(a,2)};D[147]=function(a){bc(a,6)};
E[147]=function(a){cc(a,3)};D[148]=function(a){bc(a,8)};E[148]=function(a){cc(a,4)};D[149]=function(a){bc(a,10)};E[149]=function(a){cc(a,5)};D[150]=function(a){bc(a,12)};E[150]=function(a){cc(a,6)};D[151]=function(a){bc(a,14)};E[151]=function(a){cc(a,7)};D[152]=function(a){a.c[0]=a.vb[0]};E[152]=function(a){a.a[0]=a.ma[0]};D[153]=function(a){a.c[4]=a.ma[0]>>15};E[153]=function(a){a.a[2]=a.a[0]>>31};
D[154]=function(a){var c=t(a),e=t(a);dc(a,Db(a,-4),4);L(a,a.M[1]);L(a,ec(a));N(a,1,e);a.k=a.A[1]+c|0;a.J=!0};E[154]=function(a){var c=w(a),e=t(a);if((!a.la||Hb(a))&&c&4294901760)throw a.debug.P("#GP handler");dc(a,Db(a,-8),8);M(a,a.M[1]);M(a,ec(a));N(a,1,e);a.k=a.A[1]+c|0;a.J=!0};D[155]=E[155]=function(a){10===(a.r[0]&10)&&fc(a)};D[156]=function(a){a.e&131072&&3>gc(a)?V(a,0):(hc(a),L(a,a.e))};E[156]=function(a){a.e&131072&&3>gc(a)?V(a,0):(hc(a),M(a,a.e&16580607))};
D[157]=function(a){a.e&131072&&3>gc(a)&&V(a,0);ic(a,a.e&-65536|Gb(a));jc(a)};E[157]=function(a){a.e&131072&&3>gc(a)&&V(a,0);ic(a,P(a));jc(a)};D[158]=E[158]=function(a){a.e=a.e&-256|a.j[1];a.e=a.e&4161493|2;a.m=0};D[159]=E[159]=function(a){hc(a);a.j[1]=a.e};D[160]=E[160]=function(a){var c=B(a,kc(a));a.j[0]=c};D[161]=function(a){var c=J(a,kc(a));a.c[0]=c};E[161]=function(a){var c=K(a,kc(a));a.a[0]=c};D[162]=E[162]=function(a){Kb(a,kc(a),a.j[0])};D[163]=function(a){S(a,kc(a),a.c[0])};
E[163]=function(a){T(a,kc(a),a.a[0])};D[164]=E[164]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-1:1,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096,v=Q(a,c),x=C(a,e);a.v&&(m=yb(f,c,e));do a.memory.S(x,a.memory.L(v)),x+=f,v+=f,g=0!==--h;while(g&&m--);c=f*(k-h)|0;a.h[a.n]+=c;a.h[a.w]+=c;a.h[a.F]=h;a.O+=k-h}else Kb(a,e,B(a,c)),a.h[a.n]+=f,a.h[a.w]+=f;g&&(a.k=a.V)}};
D[165]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-2:2,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096;if(e&1||c&1){do S(a,e,J(a,c)),e+=f,a.h[a.n]+=f,c+=f,a.h[a.w]+=f,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>f?-1:1,x=Q(a,c)>>1,A=C(a,e)>>1;a.v&&(m=yb(f,c,e));do Mb(a.memory,A,Vb(a.memory,x)),A+=v,x+=v,g=0!==--h;while(g&&m--);c=f*(k-h)|0;a.h[a.n]+=c;a.h[a.w]+=c;a.h[a.F]=h;a.O+=k-h}}else S(a,e,J(a,c)),a.h[a.n]+=f,a.h[a.w]+=f;g&&(a.k=a.V)}};
E[165]=function(a){a:{if(0!==a.U){var c=Sb(a,3)+a.h[a.w]|0,e=a.A[0]+a.h[a.n]|0,f=a.h[a.F]>>>0;if(!f)break a;var g=a.v?4095:3;if(0===(e&g)&&0===(c&g)&&0===(a.e&1024)&&(g=!1,a.v&&(c=Q(a,c),e=C(a,e),1024<f&&(f=1024,g=!0)),!lc(a.o,c,f)&&!lc(a.o,e,f))){var h=f<<2;a.h[a.F]-=f;a.h[a.n]+=h;a.h[a.w]+=h;c>>=2;a.memory.gb.set(a.memory.gb.subarray(c,c+f),e>>2);g&&(a.k=a.V);break a}}c=Sb(a,3)+a.h[a.w]|0;e=a.A[0]+a.h[a.n]|0;h=a.e&1024?-4:4;g=!1;if(0!==a.U){f=a.h[a.F]>>>0;if(0===f)break a;var k=f,m=4096;if(e&3||
c&3){do T(a,e,K(a,c)),e+=h,a.h[a.n]+=h,c+=h,a.h[a.w]+=h,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>h?-1:1,x=Q(a,c)>>>2,A=C(a,e)>>>2;a.v&&(m=yb(h,c,e));do Rb(a.memory,A,Xb(a.memory,x)),A+=v,x+=v,g=0!==--f;while(g&&m--);h=h*(k-f)|0;a.h[a.n]+=h;a.h[a.w]+=h;a.h[a.F]=f;a.O+=k-f}}else T(a,e,K(a,c)),a.h[a.n]+=h,a.h[a.w]+=h;g&&(a.k=a.V)}};
D[166]=E[166]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-1:1,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=2===a.U,v=4096,x=Q(a,c),A=Q(a,e);a.v&&(v=yb(f,c,e));do e=a.memory.L(A),c=a.memory.L(x),A+=f,x+=f,g=0!==--h&&c===e===m;while(g&&v--);f=f*(k-h)|0;a.h[a.n]+=f;a.h[a.w]+=f;a.h[a.F]=h;a.O+=k-h}else c=B(a,c),e=B(a,e),a.h[a.n]+=f,a.h[a.w]+=f;a.sub(c,e,7);g&&(a.k=a.V)}};
D[167]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.A[0]+a.h[a.n]|0,f,g,h=a.e&1024?-2:2,k=!1;if(0!==a.U){var m=a.h[a.F]>>>0;if(0===m)break a;var v=m,x=2===a.U,A=4096;if(e&1||c&1){do g=J(a,e),f=J(a,c),e+=h,a.h[a.n]+=h,c+=h,a.h[a.w]+=h,k=0!==--a.h[a.F]&&f===g===x;while(k&&A--)}else{var H=0>h?-1:1,O=Q(a,c)>>1,U=Q(a,e)>>1;a.v&&(A=yb(h,c,e));do g=Vb(a.memory,U),f=Vb(a.memory,O),U+=H,O+=H,k=0!==--m&&f===g===x;while(k&&A--);c=h*(v-m)|0;a.h[a.n]+=c;a.h[a.w]+=c;a.h[a.F]=m;a.O+=v-m}}else g=J(a,e),f=J(a,c),a.h[a.n]+=
h,a.h[a.w]+=h;a.sub(f,g,15);k&&(a.k=a.V)}};
E[167]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.A[0]+a.h[a.n]|0,f,g,h=a.e&1024?-4:4,k=!1;if(0!==a.U){var m=a.h[a.F]>>>0;if(0===m)break a;var v=m,x=2===a.U,A=4096;if(e&3||c&3){do g=K(a,e),f=K(a,c),e+=h,a.h[a.n]+=h,c+=h,a.h[a.w]+=h,k=0!==--a.h[a.F]&&f===g===x;while(k&&A--)}else{var H=0>h?-1:1,O=Q(a,c)>>>2,U=Q(a,e)>>>2;a.v&&(A=yb(h,c,e));do g=Xb(a.memory,U),f=Xb(a.memory,O),U+=H,O+=H,k=0!==--m&&f===g===x;while(k&&A--);c=h*(v-m)|0;a.h[a.n]+=c;a.h[a.w]+=c;a.h[a.F]=m;a.O+=v-m}}else g=K(a,e),f=K(a,c),
a.h[a.n]+=h,a.h[a.w]+=h;a.sub(f,g,31);k&&(a.k=a.V)}};D[168]=E[168]=function(a){z(a,a.j[0],y(a),7)};D[169]=function(a){z(a,a.c[0],t(a),15)};E[169]=function(a){z(a,a.a[0],w(a),31)};D[170]=E[170]=function(a){a:{var c=a.j[0],e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-1:1,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096,v=C(a,e);a.v&&(m=xb(f,e));do a.memory.S(v,c),v+=f,g=0!==--h;while(g&&m--);a.h[a.n]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}else Kb(a,e,c),a.h[a.n]+=f;g&&(a.k=a.V)}};
D[171]=function(a){a:{var c=a.c[0],e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-2:2,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096;if(e&1){do S(a,e,c),e+=f,a.h[a.n]+=f,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>f?-1:1,x=C(a,e)>>1;a.v&&(m=xb(f,e));do Mb(a.memory,x,c),x+=v,g=0!==--h;while(g&&m--);a.h[a.n]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}}else S(a,e,c),a.h[a.n]+=f;g&&(a.k=a.V)}};
E[171]=function(a){a:{var c=a.a[0],e=a.A[0]+a.h[a.n]|0,f=a.e&1024?-4:4,g=!1;if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=4096;if(e&3){do T(a,e,c),e+=f,a.h[a.n]+=f,g=0!==--a.h[a.F];while(g&&m--)}else{var v=0>f?-1:1,x=C(a,e)>>>2;a.v&&(m=xb(f,e));do Rb(a.memory,x,c),x+=v,g=0!==--h;while(g&&m--);a.h[a.n]+=f*(k-h)|0;a.h[a.F]=h;a.O+=k-h}}else T(a,e,c),a.h[a.n]+=f;g&&(a.k=a.V)}};
D[172]=E[172]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.e&1024?-1:1,f=!1;if(0!==a.U){var g=a.h[a.F]>>>0;if(0===g)break a;var h=g,k=4096,m=Q(a,c);a.v&&(k=xb(e,c));do a.j[0]=a.memory.L(m),m+=e,f=0!==--g;while(f&&k--);a.h[a.w]+=e*(h-g)|0;a.h[a.F]=g;a.O+=h-g}else a.j[0]=B(a,c),a.h[a.w]+=e;f&&(a.k=a.V)}};
D[173]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.e&1024?-2:2,f=!1;if(0!==a.U){if(0===a.h[a.F]>>>0)break a;var g=4096;do a.c[0]=J(a,c),c+=e,a.h[a.w]+=e,f=0!==--a.h[a.F];while(f&&g--)}else a.c[0]=J(a,c),a.h[a.w]+=e;f&&(a.k=a.V)}};E[173]=function(a){a:{var c=Sb(a,3)+a.h[a.w]|0,e=a.e&1024?-4:4,f=!1;if(0!==a.U){if(0===a.h[a.F]>>>0)break a;var g=4096;do a.a[0]=K(a,c),c+=e,a.h[a.w]+=e,f=0!==--a.h[a.F];while(f&&g--)}else a.a[0]=K(a,c),a.h[a.w]+=e;f&&(a.k=a.V)}};
D[174]=E[174]=function(a){a:{var c=a.A[0]+a.h[a.n]|0,e=a.e&1024?-1:1,f=!1,g=a.j[0];if(0!==a.U){var h=a.h[a.F]>>>0;if(0===h)break a;var k=h,m=2===a.U,v=4096,x=Q(a,c);a.v&&(v=xb(e,c));do c=a.memory.L(x),x+=e,f=0!==--h&&g===c===m;while(f&&v--);a.h[a.n]+=e*(k-h)|0;a.h[a.F]=h;a.O+=k-h}else c=B(a,c),a.h[a.n]+=e;a.sub(g,c,7);f&&(a.k=a.V)}};
D[175]=function(a){a:{var c=a.A[0]+a.h[a.n]|0,e=a.e&1024?-2:2,f=!1,g,h=a.c[0];if(0!==a.U){var k=a.h[a.F]>>>0;if(0===k)break a;var m=k,v=2===a.U,x=4096;if(c&1){do g=J(a,c),c+=e,a.h[a.n]+=e,f=0!==--a.h[a.F]&&h===g===v;while(f&&x--)}else{var A=0>e?-1:1,H=Q(a,c)>>1;a.v&&(x=xb(e,c));do g=Vb(a.memory,H),H+=A,f=0!==--k&&h===g===v;while(f&&x--);a.h[a.n]+=e*(m-k)|0;a.h[a.F]=k;a.O+=m-k}}else g=J(a,c),a.h[a.n]+=e;a.sub(h,g,15);f&&(a.k=a.V)}};
E[175]=function(a){a:{var c=a.A[0]+a.h[a.n]|0,e=a.e&1024?-4:4,f=!1,g,h=a.a[0];if(0!==a.U){var k=a.h[a.F]>>>0;if(0===k)break a;var m=k,v=2===a.U,x=4096;if(c&3){do g=K(a,c),c+=e,a.h[a.n]+=e,f=0!==--a.h[a.F]&&h===g===v;while(f&&x--)}else{var A=0>e?-1:1,H=Q(a,c)>>>2;a.v&&(x=xb(e,c));do g=Xb(a.memory,H),H+=A,f=0!==--k&&h===g===v;while(f&&x--);a.h[a.n]+=e*(m-k)|0;a.h[a.F]=k;a.O+=m-k}}else g=K(a,c),a.h[a.n]+=e;a.sub(h,g,31);f&&(a.k=a.V)}};D[176]=E[176]=function(a){a.j[0]=y(a)};
D[177]=E[177]=function(a){a.j[4]=y(a)};D[178]=E[178]=function(a){a.j[8]=y(a)};D[179]=E[179]=function(a){a.j[12]=y(a)};D[180]=E[180]=function(a){a.j[1]=y(a)};D[181]=E[181]=function(a){a.j[5]=y(a)};D[182]=E[182]=function(a){a.j[9]=y(a)};D[183]=E[183]=function(a){a.j[13]=y(a)};D[184]=function(a){a.c[0]=t(a)};E[184]=function(a){a.a[0]=w(a)};D[185]=function(a){a.c[2]=t(a)};E[185]=function(a){a.a[1]=w(a)};D[186]=function(a){a.c[4]=t(a)};E[186]=function(a){a.a[2]=w(a)};D[187]=function(a){a.c[6]=t(a)};
E[187]=function(a){a.a[3]=w(a)};D[188]=function(a){a.c[8]=t(a)};E[188]=function(a){a.a[4]=w(a)};D[189]=function(a){a.c[10]=t(a)};E[189]=function(a){a.a[5]=w(a)};D[190]=function(a){a.c[12]=t(a)};E[190]=function(a){a.a[6]=w(a)};D[191]=function(a){a.c[14]=t(a)};E[191]=function(a){a.a[7]=w(a)};
D[192]=E[192]=function(a){var c=y(a),e,f,g,h;192>c?(g=C(a,a.g(c)),f=a.memory.L(g)):f=a.j[c<<2&12|c>>2&1];h=0;e=y(a)&31;switch(c>>3&7){case 0:h=Na(a,f,e);break;case 1:h=Va(a,f,e);break;case 2:h=Sa(a,f,e);break;case 3:h=Ya(a,f,e);break;case 4:h=ab(a,f,e);break;case 5:h=eb(a,f,e);break;case 6:h=ab(a,f,e);break;case 7:h=hb(a,f,e)}192>c?a.memory.S(g,h):a.j[c<<2&12|c>>2&1]=h};
D[193]=function(a){var c=y(a),e,f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4095===(e&4095)?(h=C(a,e+1),f=zb(a,g,h)):f=a.memory.K(g)):f=a.c[c<<1&14];k=0;e=y(a)&31;switch(c>>3&7){case 0:k=Oa(a,f,e);break;case 1:k=Wa(a,f,e);break;case 2:k=Ta(a,f,e);break;case 3:k=Za(a,f,e);break;case 4:k=cb(a,f,e);break;case 5:k=fb(a,f,e);break;case 6:k=cb(a,f,e);break;case 7:k=ib(a,f,e)}192>c?h?Ab(a,g,h,k):a.memory.ba(g,k):a.c[c<<1&14]=k};
E[193]=function(a){var c=y(a),e,f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4093<=(e&4095)?(h=C(a,e+3),f=Bb(a,g,h)):f=I(a.memory,g)):f=a.a[c&7];k=0;e=y(a)&31;switch(c>>3&7){case 0:k=Pa(a,f,e);break;case 1:k=Xa(a,f,e);break;case 2:k=Ua(a,f,e);break;case 3:k=$a(a,f,e);break;case 4:k=db(a,f,e);break;case 5:k=gb(a,f,e);break;case 6:k=db(a,f,e);break;case 7:k=jb(a,f,e)}192>c?h?Cb(a,g,h,k):a.memory.ca(g,k):a.a[c&7]=k};D[194]=function(a){var c=t(a);a.k=a.A[1]+Gb(a)|0;a.t[a.C]+=c;a.J=!0};
E[194]=function(a){var c=t(a);a.k=a.A[1]+P(a)|0;a.t[a.C]+=c;a.J=!0};D[195]=function(a){a.k=a.A[1]+Gb(a)|0;a.J=!0};E[195]=function(a){a.k=a.A[1]+P(a)|0;a.J=!0};D[196]=function(a){var c=y(a);192<=c&&R(a);mc(a,0,a.g(c),c>>2&14)};E[196]=function(a){var c=y(a);192<=c&&R(a);nc(a,0,a.g(c),c>>3&7)};D[197]=function(a){var c=y(a);192<=c&&R(a);mc(a,3,a.g(c),c>>2&14)};E[197]=function(a){var c=y(a);192<=c&&R(a);nc(a,3,a.g(c),c>>3&7)};
D[198]=E[198]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=y(a);192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};D[199]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=t(a);192>c?S(a,e,f):a.c[c<<1&14]=f};E[199]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=w(a);192>c?T(a,e,f):a.$a[c&7]=f};D[200]=function(a){var c=t(a),e=y(a),e=e&31,f,g;L(a,a.c[10]);f=a.c[8];if(0<e){g=a.c[5];for(var h=1;h<e;h++)g-=2,L(a,J(a,a.A[2]+g|0));L(a,f)}a.c[10]=f;a.c[8]-=c};
E[200]=function(a){var c=t(a),e=y(a),e=e&31,f,g;M(a,a.a[5]);f=a.a[4];if(0<e){g=a.a[5];for(var h=1;h<e;h++)g-=4,M(a,K(a,a.A[2]+g|0));M(a,f)}a.a[5]=f;a.a[4]-=c};D[201]=function(a){var c=J(a,a.A[2]+a.t[a.hb]|0);a.t[a.C]=a.t[a.hb]+2|0;a.c[10]=c};E[201]=function(a){var c=K(a,a.A[2]+a.t[a.hb]|0);a.t[a.C]=a.t[a.hb]+4|0;a.a[5]=c};D[202]=function(a){Q(a,a.A[2]+a.t[a.C]+4);var c=t(a),e=Gb(a);N(a,1,Gb(a));a.k=a.A[1]+e|0;a.t[a.C]+=c;a.J=!0};
E[202]=function(a){Q(a,a.A[2]+a.t[a.C]+8);var c=t(a),e=P(a);N(a,1,P(a)&65535);a.k=a.A[1]+e|0;a.t[a.C]+=c;a.J=!0};D[203]=function(a){Q(a,a.A[2]+a.t[a.C]+4);var c=Gb(a);N(a,1,Gb(a));a.k=a.A[1]+c|0;a.J=!0};E[203]=function(a){Q(a,a.A[2]+a.t[a.C]+8);var c=P(a);N(a,1,P(a)&65535);a.k=a.A[1]+c|0;a.J=!0};D[204]=E[204]=function(a){oc(a,3,!0,!1)};D[205]=E[205]=function(a){var c=y(a);oc(a,c,!0,!1)};D[206]=E[206]=function(a){a.lc()&&oc(a,4,!0,!1)};
D[207]=function(a){if(!a.la||Hb(a)&&3===gc(a)){var c=Gb(a),e=Gb(a),f=Gb(a);N(a,1,e);a.k=c+a.A[1]|0;ic(a,a.e&-65536|f);jc(a)}else throw Hb(a)&&V(a,0),a.debug.P("16 bit iret in protected mode");a.J=!0};
E[207]=function(a){a:if(!a.la||Hb(a)&&3===gc(a)){var c=P(a);if(c&4294901760)throw a.debug.P("#GP handler");N(a,1,P(a)&65535);var e=P(a);a.k=c+a.A[1]|0;ic(a,e);jc(a)}else{Hb(a)&&V(a,0);a.k=P(a);a.M[1]=P(a);e=P(a);if(e&131072){if(0===a.N){ic(a,e);a.e|=131072;N(a,1,a.M[1]);a.k=(a.k&65535)+a.A[1]|0;var c=P(a),f=P(a);N(a,0,P(a)&65535);N(a,3,P(a)&65535);N(a,4,P(a)&65535);N(a,5,P(a)&65535);a.a[4]=c;N(a,2,f&65535);a.N=3;a.Ra=-1;pc(a,!1);break a}e&=-131073}var g=qc(a,a.M[1]);if(g.fb)throw a.debug.P("is null");
if(!g.pb)throw a.debug.P("not present");if(!g.Ib)throw a.debug.P("not exec");if(g.wb<a.N)throw a.debug.P("rpl < cpl");if(g.Eb&&g.ua>g.wb)throw a.debug.P("conforming and dpl > rpl");g.wb>a.N?(c=P(a),f=P(a),a.a[4]=c,ic(a,e),a.N||(a.e=a.e&-1572865|e&1572864),a.N=g.wb,a.Ra=-1,N(a,2,f&65535)):(ic(a,e),a.N||(a.e=a.e&-1572865|e&1572864));g.size!==a.za&&pc(a,g.size);a.Fa[1]=g.Fb;a.A[1]=g.Tb;a.k=a.k+a.A[1]|0;jc(a);a.J=!0}};
D[208]=E[208]=function(a){var c=y(a),e,f,g;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];g=0;switch(c>>3&7){case 0:g=Na(a,e,1);break;case 1:g=Va(a,e,1);break;case 2:g=Sa(a,e,1);break;case 3:g=Ya(a,e,1);break;case 4:g=ab(a,e,1);break;case 5:g=eb(a,e,1);break;case 6:g=ab(a,e,1);break;case 7:g=hb(a,e,1)}192>c?a.memory.S(f,g):a.j[c<<2&12|c>>2&1]=g};
D[209]=function(a){var c=y(a),e,f,g=0,h;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];h=0;switch(c>>3&7){case 0:h=Oa(a,e,1);break;case 1:h=Wa(a,e,1);break;case 2:h=Ta(a,e,1);break;case 3:h=Za(a,e,1);break;case 4:h=cb(a,e,1);break;case 5:h=fb(a,e,1);break;case 6:h=cb(a,e,1);break;case 7:h=ib(a,e,1)}192>c?g?Ab(a,f,g,h):a.memory.ba(f,h):a.c[c<<1&14]=h};
E[209]=function(a){var c=y(a),e,f,g=0,h;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];h=0;switch(c>>3&7){case 0:h=Pa(a,e,1);break;case 1:h=Xa(a,e,1);break;case 2:h=Ua(a,e,1);break;case 3:h=$a(a,e,1);break;case 4:h=db(a,e,1);break;case 5:h=gb(a,e,1);break;case 6:h=db(a,e,1);break;case 7:h=jb(a,e,1)}192>c?g?Cb(a,f,g,h):a.memory.ca(f,h):a.a[c&7]=h};
D[210]=E[210]=function(a){var c=y(a),e,f,g,h;192>c?(g=C(a,a.g(c)),f=a.memory.L(g)):f=a.j[c<<2&12|c>>2&1];h=0;e=a.j[4]&31;switch(c>>3&7){case 0:h=Na(a,f,e);break;case 1:h=Va(a,f,e);break;case 2:h=Sa(a,f,e);break;case 3:h=Ya(a,f,e);break;case 4:h=ab(a,f,e);break;case 5:h=eb(a,f,e);break;case 6:h=ab(a,f,e);break;case 7:h=hb(a,f,e)}192>c?a.memory.S(g,h):a.j[c<<2&12|c>>2&1]=h};
D[211]=function(a){var c=y(a),e,f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4095===(e&4095)?(h=C(a,e+1),f=zb(a,g,h)):f=a.memory.K(g)):f=a.c[c<<1&14];k=0;e=a.j[4]&31;switch(c>>3&7){case 0:k=Oa(a,f,e);break;case 1:k=Wa(a,f,e);break;case 2:k=Ta(a,f,e);break;case 3:k=Za(a,f,e);break;case 4:k=cb(a,f,e);break;case 5:k=fb(a,f,e);break;case 6:k=cb(a,f,e);break;case 7:k=ib(a,f,e)}192>c?h?Ab(a,g,h,k):a.memory.ba(g,k):a.c[c<<1&14]=k};
E[211]=function(a){var c=y(a),e,f,g,h=0,k;192>c?(e=a.g(c),g=C(a,e),a.v&&4093<=(e&4095)?(h=C(a,e+3),f=Bb(a,g,h)):f=I(a.memory,g)):f=a.a[c&7];k=0;e=a.j[4]&31;switch(c>>3&7){case 0:k=Pa(a,f,e);break;case 1:k=Xa(a,f,e);break;case 2:k=Ua(a,f,e);break;case 3:k=$a(a,f,e);break;case 4:k=db(a,f,e);break;case 5:k=gb(a,f,e);break;case 6:k=db(a,f,e);break;case 7:k=jb(a,f,e)}192>c?h?Cb(a,g,h,k):a.memory.ca(g,k):a.a[c&7]=k};
D[212]=E[212]=function(a){var c=y(a);if(0===c)rc(a);else{var e=a.j[0];a.j[1]=e/c;a.j[0]=e%c;a.B=a.j[0];a.m=196;a.e&=-2066}};D[213]=E[213]=function(a){var c=y(a);a.B=a.j[0]+a.j[1]*c&255;a.c[0]=a.B;a.Y=7;a.m=196;a.e&=-2066};D[214]=E[214]=function(a){a.j[0]=-a.qa()};D[215]=E[215]=function(a){a.j[0]=a.mb?B(a,Sb(a,3)+a.a[3]+a.j[0]):B(a,Sb(a,3)+a.c[6]+a.j[0])};
D[216]=E[216]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa;a=a.g(c);c=c>>3&7;a=sc(e,a);var f=tc(e);switch(c){case 0:e.d[e.b]=f+a;break;case 1:e.d[e.b]=f*a;break;case 2:uc(e,a);break;case 3:uc(e,a);e.pop();break;case 4:e.d[e.b]=f-a;break;case 5:e.d[e.b]=a-f;break;case 6:e.d[e.b]=f/a;break;case 7:e.d[e.b]=a/f}}else switch(e=a.pa,a=c>>3&7,c=W(e,c&7),f=tc(e),a){case 0:e.d[e.b]=f+c;break;case 1:e.d[e.b]=f*c;break;case 2:uc(e,c);break;case 3:uc(e,c);e.pop();break;case 4:e.d[e.b]=f-c;break;
case 5:e.d[e.b]=c-f;break;case 6:e.d[e.b]=f/c;break;case 7:e.d[e.b]=c/f}};
D[217]=E[217]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa;a=a.g(c);switch(c>>3&7){case 0:c=sc(e,a);e.push(c);break;case 1:vc(e);break;case 2:c=tc(e);e.Q[0]=c;T(e.q,a,e.X[0]);break;case 3:c=tc(e);e.Q[0]=c;T(e.q,a,e.X[0]);e.pop();break;case 4:wc(e,a);break;case 5:e.I=J(e.q,a);break;case 6:xc(e,a);break;case 7:S(e.q,a,e.I)}}else switch(e=a.pa,a=c&7,c>>3&7){case 0:c=W(e,a);e.push(c);break;case 1:c=W(e,a);e.d[e.b+a&7]=tc(e);e.d[e.b]=c;break;case 2:switch(a){case 0:break;default:vc(e)}break;
case 3:vc(e);break;case 4:c=tc(e);switch(a){case 0:e.d[e.b]=-c;break;case 1:e.d[e.b]=Math.abs(c);break;case 4:e.i&=-18177;isNaN(c)?e.i|=17664:0===c?e.i|=16384:0>c&&(e.i|=256);break;case 5:e.i&=-18177;e.i|=e.sign(0)<<9;e.i=e.l>>e.b&1?e.i|16640:isNaN(c)?e.i|256:0===c?e.i|16384:Infinity===c||-Infinity===c?e.i|1280:e.i|1024;break;default:vc(e)}break;case 5:e.push(e.Za[a]);break;case 6:c=tc(e);switch(a){case 0:e.d[e.b]=Math.pow(2,c)-1;break;case 1:e.d[e.b+1&7]=W(e,1)*Math.log(c)/Math.LN2;e.pop();break;
case 2:e.d[e.b]=Math.tan(c);e.push(1);break;case 3:e.d[e.b+1&7]=Math.atan2(W(e,1),c);e.pop();break;case 4:e.D[0]=tc(e);c=((e.p[7]&127)<<4|e.p[6]>>4)-1023;e.p[7]=63|e.p[7]&128;e.p[6]|=240;e.d[e.b]=c;e.push(e.D[0]);break;case 5:e.d[e.b]=c%W(e,1);break;case 6:e.b=e.b-1&7;e.i&=-513;break;case 7:e.b=e.b+1&7,e.i&=-513}break;case 7:switch(c=tc(e),a){case 0:e.d[e.b]=c%W(e,1);break;case 1:e.d[e.b+1&7]=W(e,1)*Math.log(c+1)/Math.LN2;e.pop();break;case 2:e.d[e.b]=Math.sqrt(c);break;case 3:e.d[e.b]=Math.sin(c);
e.push(Math.cos(c));break;case 4:e.d[e.b]=yc(e,c);break;case 5:e.d[e.b]=c*Math.pow(2,zc(W(e,1)));break;case 6:e.d[e.b]=Math.sin(c);break;case 7:e.d[e.b]=Math.cos(c)}}};
D[218]=E[218]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa;a=a.g(c);c=c>>3&7;a=K(e.q,a);var f=tc(e);switch(c){case 0:e.d[e.b]=f+a;break;case 1:e.d[e.b]=f*a;break;case 2:uc(e,a);break;case 3:uc(e,a);e.pop();break;case 4:e.d[e.b]=f-a;break;case 5:e.d[e.b]=a-f;break;case 6:e.d[e.b]=f/a;break;case 7:e.d[e.b]=a/f}}else switch(e=a.pa,a=c&7,c>>3&7){case 0:e.q.Ga()&&(e.d[e.b]=W(e,a),e.l&=~(1<<e.b));break;case 1:e.q.Ia()&&(e.d[e.b]=W(e,a),e.l&=~(1<<e.b));break;case 2:Yb(e.q)&&(e.d[e.b]=W(e,
a),e.l&=~(1<<e.b));break;case 3:e.q.Ha()&&(e.d[e.b]=W(e,a),e.l&=~(1<<e.b));break;case 5:1===a?(c=W(e,1),uc(e,c),e.pop(),e.pop()):vc(e);break;default:vc(e)}};
D[219]=E[219]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa;a=a.g(c);switch(c>>3&7){case 0:c=K(e.q,a);e.push(c);break;case 2:c=yc(e,tc(e));2147483647>=c&&-2147483648<=c?T(e.q,a,c):(Ac(e),T(e.q,a,-2147483648));break;case 3:c=yc(e,tc(e));2147483647>=c&&-2147483648<=c?T(e.q,a,c):(Ac(e),T(e.q,a,-2147483648));e.pop();break;case 5:e.push(Bc(e,a));break;case 7:dc(e.q,a,10);Cc(e,a,0);e.pop();break;default:vc(e)}}else switch(e=a.pa,a=c&7,c>>3&7){case 0:e.q.Ga()||(e.d[e.b]=W(e,a),e.l&=~(1<<e.b));
break;case 1:e.q.Ia()||(e.d[e.b]=W(e,a),e.l&=~(1<<e.b));break;case 2:Yb(e.q)||(e.d[e.b]=W(e,a),e.l&=~(1<<e.b));break;case 3:e.q.Ha()||(e.d[e.b]=W(e,a),e.l&=~(1<<e.b));break;case 4:227===c?Dc(e):228!==c&&225!==c&&(226===c?e.i=0:vc(e));break;case 5:c=W(e,a);Ec(e,c);break;case 6:Ec(e,W(e,a));break;default:vc(e)}};
D[220]=E[220]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa,f=a.g(c);a=c>>3&7;c=Fc(e,f);f=tc(e);switch(a){case 0:e.d[e.b]=f+c;break;case 1:e.d[e.b]=f*c;break;case 2:uc(e,c);break;case 3:uc(e,c);e.pop();break;case 4:e.d[e.b]=f-c;break;case 5:e.d[e.b]=c-f;break;case 6:e.d[e.b]=f/c;break;case 7:e.d[e.b]=c/f}}else{e=a.pa;a=c>>3&7;var f=c&7,c=e.b+f&7,f=W(e,f),g=tc(e);switch(a){case 0:e.d[c]=f+g;break;case 1:e.d[c]=f*g;break;case 2:uc(e,f);break;case 3:uc(e,f);e.pop();break;case 4:e.d[c]=
g-f;break;case 5:e.d[c]=f-g;break;case 6:e.d[c]=g/f;break;case 7:e.d[c]=f/g}}};
D[221]=E[221]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa;a=a.g(c);switch(c>>3&7){case 0:c=Fc(e,a);e.push(c);break;case 1:vc(e);break;case 2:Gc(e,a);break;case 3:Gc(e,a);e.pop();break;case 4:c=a;wc(e,c);c+=28;for(a=0;8>a;a++)e.d[a]=Bc(e,c),c+=10;break;case 5:vc(e);break;case 6:c=a;dc(e.q,c,108);xc(e,c);c+=28;for(a=0;8>a;a++)Cc(e,c,a-e.b&7),c+=10;Dc(e);break;case 7:S(e.q,a,e.i&-14337|e.b<<11)}}else switch(e=a.pa,a=c&7,c>>3&7){case 0:e.l|=1<<(e.b+a&7);break;case 2:e.d[e.b+a&7]=tc(e);
break;case 3:0!==a&&(e.d[e.b+a&7]=tc(e));e.pop();break;case 4:c=W(e,a);uc(e,c);break;case 5:c=W(e,a);uc(e,c);e.pop();break;default:vc(e)}};
D[222]=E[222]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa,f=a.g(c);a=c>>3&7;c=J(e.q,f)<<16>>16;f=tc(e);switch(a){case 0:e.d[e.b]=f+c;break;case 1:e.d[e.b]=f*c;break;case 2:uc(e,c);break;case 3:uc(e,c);e.pop();break;case 4:e.d[e.b]=f-c;break;case 5:e.d[e.b]=c-f;break;case 6:e.d[e.b]=f/c;break;case 7:e.d[e.b]=c/f}}else{e=a.pa;a=c>>3&7;var c=c&7,f=e.b+c&7,g=W(e,c),h=tc(e);switch(a){case 0:e.d[f]=g+h;break;case 1:e.d[f]=g*h;break;case 2:uc(e,g);break;case 3:1===c?(uc(e,e.d[f]),e.pop()):
vc(e);break;case 4:e.d[f]=h-g;break;case 5:e.d[f]=g-h;break;case 6:e.d[f]=h/g;break;case 7:e.d[f]=g/h}e.pop()}};
D[223]=E[223]=function(a){var c=y(a);a.r[0]&12&&fc(a);if(192>c){var e=a.pa;a=a.g(c);switch(c>>3&7){case 0:a=J(e.q,a)<<16>>16;e.push(a);break;case 1:vc(e);break;case 2:c=yc(e,tc(e));32767>=c&&-32768<=c?S(e.q,a,c):(Ac(e),S(e.q,a,32768));break;case 3:c=yc(e,tc(e));32767>=c&&-32768<=c?S(e.q,a,c):(Ac(e),S(e.q,a,32768));e.pop();break;case 4:vc(e);break;case 5:c=K(e.q,a)>>>0;a=K(e.q,a+4);e.push(c+4294967296*a);break;case 6:vc(e);break;case 7:dc(e.q,a,8);var c=yc(e,tc(e)),f,g;0x7fffffffffffffff>c&&-9223372036854775808<=
c?(f=c|0,g=c/4294967296|0,0===g&&0>c&&(g=-1)):(f=0,g=-2147483648,Ac(e));T(e.q,a,f);T(e.q,a+4,g);e.pop()}}else switch(e=a.pa,a=c&7,c>>3&7){case 4:224===c?e.q.c[0]=e.i&-14337|e.b<<11:vc(e);break;case 5:a=W(e,a);Ec(e,a);e.pop();break;case 6:Ec(e,W(e,a));e.pop();break;default:vc(e)}};D[224]=E[224]=function(a){if(--a.h[a.F]&&!a.ob()){var c=r(a);a.k=a.k+c|0}else a.k++;a.J=!0};D[225]=E[225]=function(a){if(--a.h[a.F]&&a.ob()){var c=r(a);a.k=a.k+c|0}else a.k++;a.J=!0};D[226]=E[226]=function(a){a.loop()};
D[227]=E[227]=function(a){var c=r(a);0===a.h[a.F]&&(a.k=a.k+c|0);a.J=!0};D[228]=E[228]=function(a){var c=y(a);Ib(a,c,1);a.j[0]=Jb(a.o,c)};D[229]=function(a){var c=y(a);Ib(a,c,2);a.c[0]=Lb(a.o,c)};E[229]=function(a){var c=y(a);Ib(a,c,4);a.a[0]=Qb(a.o,c)};D[230]=E[230]=function(a){var c=y(a);Ib(a,c,1);Tb(a.o,c,a.j[0])};D[231]=function(a){var c=y(a);Ib(a,c,2);Ub(a.o,c,a.c[0])};E[231]=function(a){var c=y(a);Ib(a,c,4);Wb(a.o,c,a.a[0])};D[232]=function(a){var c=t(a)<<16>>16;L(a,ec(a));Hc(a,c);a.J=!0};
E[232]=function(a){var c=w(a);M(a,ec(a));a.k=a.k+c|0;a.J=!0};D[233]=function(a){var c=t(a)<<16>>16;Hc(a,c);a.J=!0};E[233]=function(a){var c=w(a);a.k=a.k+c|0;a.J=!0};D[234]=function(a){var c=t(a);N(a,1,t(a));a.k=c+a.A[1]|0;a.J=!0};E[234]=function(a){var c=w(a);N(a,1,t(a));a.k=c+a.A[1]|0;a.J=!0};D[235]=E[235]=function(a){var c=r(a);a.k=a.k+c|0;a.J=!0};D[236]=E[236]=function(a){var c=a.c[4];Ib(a,c,1);a.j[0]=Jb(a.o,c)};D[237]=function(a){var c=a.c[4];Ib(a,c,2);a.c[0]=Lb(a.o,c)};
E[237]=function(a){var c=a.c[4];Ib(a,c,4);a.a[0]=Qb(a.o,c)};D[238]=E[238]=function(a){var c=a.c[4];Ib(a,c,1);Tb(a.o,c,a.j[0])};D[239]=function(a){var c=a.c[4];Ib(a,c,2);Ub(a.o,c,a.c[0])};E[239]=function(a){var c=a.c[4];Ib(a,c,4);Wb(a.o,c,a.a[0])};D[240]=E[240]=function(a){Eb(a)};D[241]=E[241]=function(a){throw a.debug.P("int1 instruction");};D[242]=E[242]=function(a){a.U=1;Eb(a);a.U=0};D[243]=E[243]=function(a){a.U=2;Eb(a);a.U=0};
D[244]=E[244]=function(a){a.N&&V(a,0);if(0===(a.e&512))throw a.debug.show("cpu halted"),"HALT";a.mc=!0;throw 233495534;};D[245]=E[245]=function(a){a.e=(a.e|1)^a.qa();a.m&=-2};
D[246]=E[246]=function(a){var c=y(a);switch(c>>3&7){case 0:var e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];z(a,e,y(a),7);break;case 1:e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];z(a,e,y(a),7);break;case 2:var f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=~e;192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e;break;case 3:192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=Fa(a,e,7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e;break;case 4:e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];c=e*a.j[0];
a.c[0]=c;a.e=256>c?a.e&-2050:a.e|2049;a.m=0;break;case 5:192>c?e=B(a,a.g(c))<<24>>24:e=a.vb[c<<2&12|c>>2&1];c=e*a.vb[0];a.c[0]=c;a.e=127<c||-128>c?a.e|2049:a.e&-2050;a.m=0;break;case 6:c=e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];f=a.c[0];e=f/c|0;256<=e||0===c?rc(a):(a.j[0]=e,a.j[1]=f%c);break;case 7:192>c?e=B(a,a.g(c))<<24>>24:e=a.vb[c<<2&12|c>>2&1],c=e,f=a.ma[0],e=f/c|0,128<=e||-129>=e||0===c?rc(a):(a.j[0]=e,a.j[1]=f%c)}};
D[247]=function(a){var c=y(a);switch(c>>3&7){case 0:var e=192>c?J(a,a.g(c)):a.c[c<<1&14];z(a,e,t(a),15);break;case 1:e=192>c?J(a,a.g(c)):a.c[c<<1&14];z(a,e,t(a),15);break;case 2:var f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=~e;192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e;break;case 3:g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=Fa(a,e,15);192>c?g?Ab(a,f,g,e):
a.memory.ba(f,e):a.c[c<<1&14]=e;break;case 4:e=192>c?J(a,a.g(c)):a.c[c<<1&14];c=e*a.c[0];f=c>>>16;a.c[0]=c;a.c[4]=f;a.e=0===f?a.e&-2050:a.e|2049;a.m=0;break;case 5:192>c?e=J(a,a.g(c))<<16>>16:e=a.ma[c<<1&14];c=e*a.ma[0];a.c[0]=c;a.c[4]=c>>16;a.e=32767<c||-32768>c?a.e|2049:a.e&-2050;a.m=0;break;case 6:c=e=192>c?J(a,a.g(c)):a.c[c<<1&14];f=(a.c[0]|a.c[4]<<16)>>>0;g=f/c|0;65536<=g||0>g||0===c?rc(a):(a.c[0]=g,a.c[4]=f%c);break;case 7:192>c?e=J(a,a.g(c))<<16>>16:e=a.ma[c<<1&14],c=e,f=a.c[0]|a.c[4]<<16,
g=f/c|0,32768<=g||-32769>=g||0===c?rc(a):(a.c[0]=g,a.c[4]=f%c)}};
E[247]=function(a){var c=y(a);switch(c>>3&7){case 0:var e=192>c?K(a,a.g(c)):a.a[c&7];z(a,e,w(a),31);break;case 1:e=192>c?K(a,a.g(c)):a.a[c&7];z(a,e,w(a),31);break;case 2:var f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=~e;192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e;break;case 3:g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=Fa(a,e,31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&
7]=e;break;case 4:192>c?e=K(a,a.g(c))>>>0:e=a.$a[c&7];f=a.a[0];c=f&65535;f=f>>>16;var h=e&65535,e=e>>>16,g=c*h,h=(g>>>16)+(f*h|0)|0,k=h>>>16,h=(h&65535)+(c*e|0)|0,k=((h>>>16)+(f*e|0)|0)+k|0;a.a[0]=h<<16|g&65535;a.a[2]=k;a.e=0===k?a.e&-2050:a.e|2049;a.m=0;break;case 5:g=e=192>c?K(a,a.g(c)):a.a[c&7];f=a.a[0];c=!1;0>f&&(c=!0,f=-f|0);0>g&&(c=!c,g=-g|0);e=f&65535;f=f>>>16;var k=g&65535,g=g>>>16,h=e*k,k=(h>>>16)+(f*k|0)|0,m=k>>>16,k=(k&65535)+(e*g|0)|0,h=k<<16|h&65535,m=((k>>>16)+(f*g|0)|0)+m|0;c&&(h=-h|
0,m=~m+!h|0);a.a[0]=h;a.a[2]=m;a.e=m===h>>31?a.e&-2050:a.e|2049;a.m=0;break;case 6:192>c?e=K(a,a.g(c))>>>0:e=a.$a[c&7];c=e;f=a.$a[0];g=a.$a[2];(g>=c||!c)&&rc(a);e=0;if(1048576<g){h=32;for(k=c;k>g;)k>>>=1,h--;for(;1048576<g;)g>=k&&(g-=k,m=c<<h>>>0,m>f&&g--,f=f-m>>>0,e|=1<<h),h--,k>>=1;e>>>=0}f+=4294967296*g;g=f%c;e+=f/c|0;4294967296<=e||0===c?rc(a):(a.a[0]=e,a.a[2]=g);break;case 7:c=e=192>c?K(a,a.g(c)):a.a[c&7];h=a.$a[0];k=a.a[2];f=e=!1;0>c&&(f=!0,c=-c);0>k&&(e=!0,f=!f,h=-h>>>0,k=~k+!h);(k>=c||!c)&&
rc(a);g=0;if(1048576<k){for(var m=32,v=c;v>k;)v>>>=1,m--;for(;1048576<k;){if(k>=v){var k=k-v,x=c<<m>>>0;x>h&&k--;h=h-x>>>0;g|=1<<m}m--;v>>=1}g>>>=0}h+=4294967296*k;k=h%c;g+=h/c|0;f&&(g=-g|0);e&&(k=-k|0);2147483648<=g||-2147483649>=g||0===c?rc(a):(a.a[0]=g,a.a[2]=k)}};D[248]=E[248]=function(a){a.e&=-2;a.m&=-2};D[249]=E[249]=function(a){a.e|=1;a.m&=-2};D[250]=E[250]=function(a){!a.la||(a.e&131072?3===gc(a):gc(a)>=a.N)?a.e&=-513:3>gc(a)&&(a.e&131072?a.r[4]&1:3===a.N&&a.r[4]&2)?a.e&=-524289:V(a,0)};
D[251]=E[251]=function(a){!a.la||(a.e&131072?3===gc(a):gc(a)>=a.N)?(a.e|=512,Ic(a),jc(a)):3>gc(a)&&0===(a.e&1048576)&&(a.e&131072?a.r[4]&1:3===a.N&&a.r[4]&2)?a.e|=524288:V(a,0)};D[252]=E[252]=function(a){a.e&=-1025};D[253]=E[253]=function(a){a.e|=1024};
D[254]=E[254]=function(a){var c=y(a),e=c&56;if(0===e){var f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];e=Da(a,e,7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e}else 8===e?(192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1],e=Ea(a,e,7),192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e):R(a)};
D[255]=function(a){var c=y(a);switch(c>>3&7){case 0:var e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=Da(a,e,15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e;break;case 1:g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=Ea(a,e,15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e;break;case 2:e=192>c?J(a,a.g(c)):a.c[c<<1&14];L(a,ec(a));a.k=a.A[1]+e|0;a.J=!0;break;
case 3:192<=c&&R(a);e=a.g(c);c=J(a,e+2);f=J(a,e);dc(a,Db(a,-4),4);L(a,a.M[1]);L(a,ec(a));N(a,1,c);a.k=a.A[1]+f|0;a.J=!0;break;case 4:e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.k=a.A[1]+e|0;a.J=!0;break;case 5:192<=c&&R(a);e=a.g(c);c=J(a,e+2);f=J(a,e);N(a,1,c);a.k=a.A[1]+f|0;a.J=!0;break;case 6:e=192>c?J(a,a.g(c)):a.c[c<<1&14];L(a,e);break;case 7:R(a)}};
E[255]=function(a){var c=y(a);switch(c>>3&7){case 0:var e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=Da(a,e,31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e;break;case 1:g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=Ea(a,e,31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e;break;case 2:e=192>c?K(a,a.g(c)):a.a[c&7];M(a,ec(a));a.k=a.A[1]+e|0;a.J=!0;break;case 3:192<=c&&R(a);e=
a.g(c);c=J(a,e+4);f=K(a,e);dc(a,Db(a,-8),8);M(a,a.M[1]);M(a,ec(a));N(a,1,c);a.k=a.A[1]+f|0;a.J=!0;break;case 4:e=192>c?K(a,a.g(c)):a.a[c&7];a.k=a.A[1]+e|0;a.J=!0;break;case 5:192<=c&&R(a);e=a.g(c);c=J(a,e+4);f=K(a,e);N(a,1,c);a.k=a.A[1]+f|0;a.J=!0;break;case 6:e=192>c?K(a,a.g(c)):a.a[c&7];M(a,e);break;case 7:R(a)}};
F[0]=G[0]=function(a){var c=y(a);a.la&&!Hb(a)||R(a);a.N&&V(a,0);switch(c>>3&7){case 0:if(192>c)var e=a.g(c);var f=a.M[7];192>c?S(a,e,f):a.c[c<<1&14]=f;break;case 1:192>c&&(e=a.g(c));f=a.M[6];192>c?S(a,e,f):a.c[c<<1&14]=f;break;case 2:c=f=192>c?J(a,a.g(c)):a.c[c<<1&14];e=qc(a,c);if(e.fb)a.A[7]=0,a.Fa[7]=0;else{if(!e.Ud)throw a.debug.P("LDTR can only be loaded from GDT");if(!e.pb)throw a.debug.P("#GP handler");if(!e.$b)throw a.debug.P("#GP handler");if(2!==e.type)throw a.debug.P("#GP handler");a.A[7]=
e.Tb;a.Fa[7]=e.Fb;a.M[7]=c}break;case 3:c=f=192>c?J(a,a.g(c)):a.c[c<<1&14];e=qc(a,c);if(!e.Ud)throw a.debug.P("TR can only be loaded from GDT");if(e.fb)throw a.debug.P("#GP handler");if(!e.pb)throw a.debug.P("#GP handler");if(!e.$b)throw a.debug.P("#GP handler");if(9!==e.type)throw a.debug.P("#GP handler");a.A[6]=e.Tb;a.Fa[6]=e.Fb;a.M[6]=c;a.memory.S(e.Ad+5,a.memory.L(e.Ad+5)|2);break;default:R(a)}};
F[1]=G[1]=function(a){var c=y(a);a.N&&V(a,0);var e=c>>3&7;if(4===e){if(192>c)var f=a.g(c);e=a.r[0];192>c?S(a,f,e):a.c[c<<1&14]=e}else if(6===e)e=192>c?J(a,a.g(c)):a.c[c<<1&14],a.r[0]=a.r[0]&-16|e&15,a.la&&(a.r[0]|=1),Jc(a);else switch(192<=c&&R(a),2!==e&&3!==e||!a.la||(a.ga=9),f=a.g(c),a.ga=-1,e){case 0:dc(a,f,6);S(a,f,a.Jc);T(a,f+2,a.Xb);break;case 1:dc(a,f,6);S(a,f,a.Lc);T(a,f+2,a.Zb);break;case 2:c=J(a,f);f=K(a,f+2);a.Jc=c;a.Xb=f;a.La||(a.Xb&=16777215);break;case 3:c=J(a,f);f=K(a,f+2);a.Lc=c;a.Zb=
f;a.La||(a.Zb&=16777215);break;case 7:f=f>>>12;a.cb[f]=0;a.fc[f]=0;a.Ra=-1;break;default:R(a)}};F[2]=function(a){var c=y(a);a.la&&!Hb(a)||R(a);var e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Kc(a,e,a.c[c>>2&14])};G[2]=function(a){var c=y(a);a.la&&!Hb(a)||R(a);var e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.a[c>>3&7]=Kc(a,e,a.a[c>>3&7])};F[3]=function(a){var c=y(a);a.la&&!Hb(a)||R(a);var e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=Lc(a,e,a.c[c>>2&14])};
G[3]=function(a){var c=y(a);a.la&&!Hb(a)||R(a);var e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.a[c>>3&7]=Lc(a,e,a.a[c>>3&7])};F[4]=G[4]=function(a){R(a)};F[5]=G[5]=function(a){R(a)};F[6]=G[6]=function(a){a.N?V(a,0):a.r[0]&=-9};F[7]=G[7]=function(a){R(a)};F[8]=G[8]=function(a){R(a)};F[9]=G[9]=function(a){a.N&&V(a,0)};F[10]=G[10]=function(a){R(a)};F[11]=G[11]=function(a){R(a)};F[12]=G[12]=function(a){R(a)};F[13]=G[13]=function(a){R(a)};F[14]=G[14]=function(a){R(a)};F[15]=G[15]=function(a){R(a)};
F[16]=G[16]=function(a){R(a)};F[17]=G[17]=function(a){R(a)};F[18]=G[18]=function(a){R(a)};F[19]=G[19]=function(a){R(a)};F[20]=G[20]=function(a){R(a)};F[21]=G[21]=function(a){R(a)};F[22]=G[22]=function(a){R(a)};F[23]=G[23]=function(a){R(a)};F[24]=G[24]=function(a){var c=y(a);192>c&&a.g(c)};F[25]=G[25]=function(a){R(a)};F[26]=G[26]=function(a){R(a)};F[27]=G[27]=function(a){R(a)};F[28]=G[28]=function(a){R(a)};F[29]=G[29]=function(a){R(a)};F[30]=G[30]=function(a){R(a)};F[31]=G[31]=function(a){R(a)};
F[32]=G[32]=function(a){var c=y(a);a.N&&V(a,0);switch(c>>3&7){case 0:a.a[c&7]=a.r[0];break;case 2:a.a[c&7]=a.r[2];break;case 3:a.a[c&7]=a.r[3];break;case 4:a.a[c&7]=a.r[4];break;default:R(a)}};F[33]=G[33]=function(a){var c=y(a);a.N&&V(a,0);a.a[c&7]=a.kc[c>>3&7]};
F[34]=G[34]=function(a){var c=y(a);a.N&&V(a,0);var e=a.a[c&7];switch(c>>3&7){case 0:a.r[0]=e;if(-2147483648===(a.r[0]&-2147483647))throw a.debug.P("#GP handler");Jc(a);break;case 2:a.r[2]=e;break;case 3:a.r[3]=e;Mc(a);break;case 4:e&-3565568&&V(a,0);(a.r[4]^e)&128&&(e&128?Mc(a):za(a));a.r[4]=e;a.ud=a.r[4]&16?128:0;if(a.r[4]&32)throw a.debug.P("PAE");break;default:R(a)}};F[35]=G[35]=function(a){var c=y(a);a.N&&V(a,0);a.kc[c>>3&7]=a.a[c&7]};F[36]=G[36]=function(a){R(a)};F[37]=G[37]=function(a){R(a)};
F[38]=G[38]=function(a){R(a)};F[39]=G[39]=function(a){R(a)};F[40]=G[40]=function(a){R(a)};F[41]=G[41]=function(a){R(a)};F[42]=G[42]=function(a){R(a)};F[43]=G[43]=function(a){R(a)};F[44]=G[44]=function(a){R(a)};F[45]=G[45]=function(a){R(a)};F[46]=G[46]=function(a){R(a)};F[47]=G[47]=function(a){R(a)};F[48]=G[48]=function(a){a.N&&V(a,0);var c=a.a[0];switch(a.a[1]){case 372:a.Bc=c&65535;break;case 374:a.Rc=c;break;case 373:a.Sc=c}};
F[49]=G[49]=function(a){if(a.N&&a.r[4]&4)V(a,0);else{var c=Aa()-a.Bd;a.a[0]=1024*c;a.a[2]=2.384185791015625E-7*c}};F[50]=G[50]=function(a){a.N&&V(a,0);var c=0;switch(a.a[1]){case 372:c=a.Bc;break;case 374:c=a.Rc;break;case 373:c=a.Sc}a.a[0]=c;a.a[2]=0};F[51]=G[51]=function(a){R(a)};
F[52]=G[52]=function(a){var c=a.Bc&65532;a.la&&0!==c||V(a,0);a.e&=-131585;a.k=a.Rc;a.a[4]=a.Sc;a.M[1]=c;a.xb[1]=0;a.Fa[1]=-1;a.A[1]=0;a.za||pc(a,!0);a.N=0;a.Ra=-1;a.M[2]=c+8;a.xb[2]=0;a.Fa[2]=-1;a.A[2]=0;a.yb=!0;a.t=a.a;a.C=4;a.hb=5};F[53]=G[53]=function(a){var c=a.Bc&65532;a.la&&!a.N&&0!==c||V(a,0);a.k=a.a[2];a.a[4]=a.a[1];a.M[1]=c+16|3;a.xb[1]=0;a.Fa[1]=-1;a.A[1]=0;a.za||pc(a,!0);a.N=3;a.Ra=-1;a.M[2]=c+24|3;a.xb[2]=0;a.Fa[2]=-1;a.A[2]=0;a.yb=!0;a.t=a.a;a.C=4;a.hb=5};F[54]=G[54]=function(a){R(a)};
F[55]=G[55]=function(a){R(a)};F[56]=G[56]=function(a){R(a)};F[57]=G[57]=function(a){R(a)};F[58]=G[58]=function(a){R(a)};F[59]=G[59]=function(a){R(a)};F[60]=G[60]=function(a){R(a)};F[61]=G[61]=function(a){R(a)};F[62]=G[62]=function(a){R(a)};F[63]=G[63]=function(a){R(a)};F[64]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ta()&&(a.c[c>>2&14]=e)};G[64]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ta()&&(a.a[c>>3&7]=e)};
F[65]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ta()||(a.c[c>>2&14]=e)};G[65]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ta()||(a.a[c>>3&7]=e)};F[66]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ga()&&(a.c[c>>2&14]=e)};G[66]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ga()&&(a.a[c>>3&7]=e)};F[67]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ga()||(a.c[c>>2&14]=e)};
G[67]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ga()||(a.a[c>>3&7]=e)};F[68]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ia()&&(a.c[c>>2&14]=e)};G[68]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ia()&&(a.a[c>>3&7]=e)};F[69]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ia()||(a.c[c>>2&14]=e)};G[69]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ia()||(a.a[c>>3&7]=e)};
F[70]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];Yb(a)&&(a.c[c>>2&14]=e)};G[70]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];Yb(a)&&(a.a[c>>3&7]=e)};F[71]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];Yb(a)||(a.c[c>>2&14]=e)};G[71]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];Yb(a)||(a.a[c>>3&7]=e)};F[72]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ua()&&(a.c[c>>2&14]=e)};
G[72]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ua()&&(a.a[c>>3&7]=e)};F[73]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ua()||(a.c[c>>2&14]=e)};G[73]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ua()||(a.a[c>>3&7]=e)};F[74]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ha()&&(a.c[c>>2&14]=e)};G[74]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ha()&&(a.a[c>>3&7]=e)};
F[75]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.Ha()||(a.c[c>>2&14]=e)};G[75]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.Ha()||(a.a[c>>3&7]=e)};F[76]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];Zb(a)&&(a.c[c>>2&14]=e)};G[76]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];Zb(a)&&(a.a[c>>3&7]=e)};F[77]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];Zb(a)||(a.c[c>>2&14]=e)};
G[77]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];Zb(a)||(a.a[c>>3&7]=e)};F[78]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];$b(a)&&(a.c[c>>2&14]=e)};G[78]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];$b(a)&&(a.a[c>>3&7]=e)};F[79]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];$b(a)||(a.c[c>>2&14]=e)};G[79]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];$b(a)||(a.a[c>>3&7]=e)};F[80]=G[80]=function(a){R(a)};F[81]=G[81]=function(a){R(a)};F[82]=G[82]=function(a){R(a)};
F[83]=G[83]=function(a){R(a)};F[84]=G[84]=function(a){R(a)};F[85]=G[85]=function(a){R(a)};F[86]=G[86]=function(a){R(a)};F[87]=G[87]=function(a){R(a)};F[88]=G[88]=function(a){R(a)};F[89]=G[89]=function(a){R(a)};F[90]=G[90]=function(a){R(a)};F[91]=G[91]=function(a){R(a)};F[92]=G[92]=function(a){R(a)};F[93]=G[93]=function(a){R(a)};F[94]=G[94]=function(a){R(a)};F[95]=G[95]=function(a){R(a)};F[96]=G[96]=function(a){R(a)};F[97]=G[97]=function(a){R(a)};F[98]=G[98]=function(a){R(a)};F[99]=G[99]=function(a){R(a)};
F[100]=G[100]=function(a){R(a)};F[101]=G[101]=function(a){R(a)};F[102]=G[102]=function(a){R(a)};F[103]=G[103]=function(a){R(a)};F[104]=G[104]=function(a){R(a)};F[105]=G[105]=function(a){R(a)};F[106]=G[106]=function(a){R(a)};F[107]=G[107]=function(a){R(a)};F[108]=G[108]=function(a){R(a)};F[109]=G[109]=function(a){R(a)};F[110]=G[110]=function(a){R(a)};F[111]=G[111]=function(a){R(a)};F[112]=G[112]=function(a){R(a)};F[113]=G[113]=function(a){R(a)};F[114]=G[114]=function(a){R(a)};F[115]=G[115]=function(a){R(a)};
F[116]=G[116]=function(a){R(a)};F[117]=G[117]=function(a){R(a)};F[118]=G[118]=function(a){R(a)};F[119]=G[119]=function(a){R(a)};F[120]=G[120]=function(a){R(a)};F[121]=G[121]=function(a){R(a)};F[122]=G[122]=function(a){R(a)};F[123]=G[123]=function(a){R(a)};F[124]=G[124]=function(a){R(a)};F[125]=G[125]=function(a){R(a)};F[126]=G[126]=function(a){R(a)};F[127]=G[127]=function(a){R(a)};F[128]=function(a){Nc(a,a.Ta())};G[128]=function(a){Oc(a,a.Ta())};F[129]=function(a){Nc(a,!a.Ta())};
G[129]=function(a){Oc(a,!a.Ta())};F[130]=function(a){Nc(a,a.Ga())};G[130]=function(a){Oc(a,a.Ga())};F[131]=function(a){Nc(a,!a.Ga())};G[131]=function(a){Oc(a,!a.Ga())};F[132]=function(a){Nc(a,a.Ia())};G[132]=function(a){Oc(a,a.Ia())};F[133]=function(a){Nc(a,!a.Ia())};G[133]=function(a){Oc(a,!a.Ia())};F[134]=function(a){Nc(a,Yb(a))};G[134]=function(a){Oc(a,Yb(a))};F[135]=function(a){Nc(a,!Yb(a))};G[135]=function(a){Oc(a,!Yb(a))};F[136]=function(a){Nc(a,a.Ua())};G[136]=function(a){Oc(a,a.Ua())};
F[137]=function(a){Nc(a,!a.Ua())};G[137]=function(a){Oc(a,!a.Ua())};F[138]=function(a){Nc(a,a.Ha())};G[138]=function(a){Oc(a,a.Ha())};F[139]=function(a){Nc(a,!a.Ha())};G[139]=function(a){Oc(a,!a.Ha())};F[140]=function(a){Nc(a,Zb(a))};G[140]=function(a){Oc(a,Zb(a))};F[141]=function(a){Nc(a,!Zb(a))};G[141]=function(a){Oc(a,!Zb(a))};F[142]=function(a){Nc(a,$b(a))};G[142]=function(a){Oc(a,$b(a))};F[143]=function(a){Nc(a,!$b(a))};G[143]=function(a){Oc(a,!$b(a))};
F[144]=G[144]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!a.Ta()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[145]=G[145]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!a.Ta()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[146]=G[146]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!a.Ga()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[147]=G[147]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!a.Ga()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};
F[148]=G[148]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!a.Ia()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[149]=G[149]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!a.Ia()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[150]=G[150]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!Yb(a)^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[151]=G[151]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!Yb(a)^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};
F[152]=G[152]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!a.Ua()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[153]=G[153]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!a.Ua()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[154]=G[154]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!a.Ha()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[155]=G[155]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!a.Ha()^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};
F[156]=G[156]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!Zb(a)^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[157]=G[157]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!Zb(a)^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[158]=G[158]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!$b(a)^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[159]=G[159]=function(a){var c=y(a);if(192>c)var e=a.g(c);var f=!!$b(a)^1;192>c?Kb(a,e,f):a.j[c<<2&12|c>>2&1]=f};F[160]=function(a){L(a,a.M[4])};
G[160]=function(a){M(a,a.M[4])};F[161]=function(a){N(a,4,J(a,Db(a,0)));a.t[a.C]+=2};G[161]=function(a){N(a,4,J(a,Db(a,0)));a.t[a.C]+=4};
F[162]=G[162]=function(a){var c=0,e=0,f=0,g=0;switch(a.a[0]){case 0:c=5;g=1970169159;f=1231384169;e=1818588270;break;case 1:c=3939;g=0;e=1082130432;f=(a.pa?1:0)|43322;break;case 2:c=1717260289;e=g=0;f=8024064;break;case 4:switch(a.a[1]){case 0:c=289;g=29360191;e=63;f=1;break;case 1:c=290;g=29360191;e=63;f=1;break;case 2:c=323,g=96469055,e=4095,f=1}break;case -2147483648:c=5}a.a[0]=c;a.a[1]=e;a.a[2]=f;a.a[3]=g};
F[163]=function(a){var c=y(a);192>c?sb(a,a.g(c),a.ma[c>>2&14]):ob(a,a.c[c<<1&14],a.c[c>>2&14]&15)};G[163]=function(a){var c=y(a);192>c?sb(a,a.g(c),a.a[c>>3&7]):ob(a,a.a[c&7],a.a[c>>3&7]&31)};F[164]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=mb(a,e,a.c[c>>2&14],y(a)&31);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
G[164]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=nb(a,e,a.a[c>>3&7],y(a)&31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};F[165]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=mb(a,e,a.c[c>>2&14],a.j[4]&31);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
G[165]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=nb(a,e,a.a[c>>3&7],a.j[4]&31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};F[166]=G[166]=function(a){R(a)};F[167]=G[167]=function(a){R(a)};F[168]=function(a){L(a,a.M[5])};G[168]=function(a){M(a,a.M[5])};F[169]=function(a){N(a,5,J(a,Db(a,0)));a.t[a.C]+=2};G[169]=function(a){N(a,5,J(a,Db(a,0)));a.t[a.C]+=4};F[170]=G[170]=function(a){R(a)};
F[171]=function(a){var c=y(a);192>c?vb(a,a.g(c),a.ma[c>>2&14]):a.c[c<<1&14]=qb(a,a.c[c<<1&14],a.ma[c>>2&14]&15)};G[171]=function(a){var c=y(a);192>c?vb(a,a.g(c),a.a[c>>3&7]):a.a[c&7]=qb(a,a.a[c&7],a.a[c>>3&7]&31)};F[172]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=kb(a,e,a.c[c>>2&14],y(a)&31);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
G[172]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=lb(a,e,a.a[c>>3&7],y(a)&31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};F[173]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];e=kb(a,e,a.c[c>>2&14],a.j[4]&31);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};
G[173]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];e=lb(a,e,a.a[c>>3&7],a.j[4]&31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};F[174]=G[174]=function(a){switch(y(a)>>3&7){case 6:break;default:R(a)}};F[175]=function(a){var c=y(a),e=192>c?J(a,a.g(c))<<16>>16:a.ma[c<<1&14];a.c[c>>2&14]=Ga(a,a.ma[c>>2&14],e)};G[175]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=Ia(a,a.a[c>>3&7],e)};
F[176]=G[176]=function(a){var c=y(a);if(192>c){var e=a.g(c);dc(a,e,1);var f=B(a,e)}else f=a.j[c<<2&12|c>>2&1];a.sub(a.j[0],f,7);a.ob()?192>c?Kb(a,e,a.j[c>>1&12|c>>5&1]):a.j[c<<2&12|c>>2&1]=a.j[c>>1&12|c>>5&1]:a.j[0]=f};F[177]=function(a){var c=y(a);if(192>c){var e=a.g(c);dc(a,e,2);var f=J(a,e)}else f=a.c[c<<1&14];a.sub(a.c[0],f,15);a.ob()?192>c?S(a,e,a.c[c>>2&14]):a.c[c<<1&14]=a.c[c>>2&14]:a.c[0]=f};
G[177]=function(a){var c=y(a);if(192>c){var e=a.g(c);dc(a,e,4);var f=K(a,e)}else f=a.a[c&7];a.sub(a.a[0],f,31);a.ob()?192>c?T(a,e,a.a[c>>3&7]):a.a[c&7]=a.a[c>>3&7]:a.a[0]=f};F[178]=function(a){var c=y(a);192<=c&&R(a);mc(a,2,a.g(c),c>>2&14)};G[178]=function(a){var c=y(a);192<=c&&R(a);nc(a,2,a.g(c),c>>3&7)};F[179]=function(a){var c=y(a);192>c?ub(a,a.g(c),a.ma[c>>2&14]):a.c[c<<1&14]=rb(a,a.c[c<<1&14],a.ma[c>>2&14]&15)};
G[179]=function(a){var c=y(a);192>c?ub(a,a.g(c),a.a[c>>3&7]):a.a[c&7]=rb(a,a.a[c&7],a.a[c>>3&7]&31)};F[180]=function(a){var c=y(a);192<=c&&R(a);mc(a,4,a.g(c),c>>2&14)};G[180]=function(a){var c=y(a);192<=c&&R(a);nc(a,4,a.g(c),c>>3&7)};F[181]=function(a){var c=y(a);192<=c&&R(a);mc(a,5,a.g(c),c>>2&14)};G[181]=function(a){var c=y(a);192<=c&&R(a);nc(a,5,a.g(c),c>>3&7)};F[182]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.c[c>>2&14]=e};
G[182]=function(a){var c=y(a),e=192>c?B(a,a.g(c)):a.j[c<<2&12|c>>2&1];a.a[c>>3&7]=e};F[183]=G[183]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.a[c>>3&7]=e};F[184]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14];a.c[c>>2&14]=wb(a,e)};G[184]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7];a.a[c>>3&7]=wb(a,e)};F[185]=G[185]=function(a){R(a)};
F[186]=function(a){var c=y(a);switch(c>>3&7){case 4:192>c?sb(a,a.g(c),y(a)&15):ob(a,a.c[c<<1&14],y(a)&15);break;case 5:192>c?vb(a,a.g(c),y(a)&15):a.c[c<<1&14]=qb(a,a.c[c<<1&14],y(a)&15);break;case 6:192>c?ub(a,a.g(c),y(a)&15):a.c[c<<1&14]=rb(a,a.c[c<<1&14],y(a)&15);break;case 7:192>c?tb(a,a.g(c),y(a)&15):a.c[c<<1&14]=pb(a,a.c[c<<1&14],y(a)&15);break;default:R(a)}};
G[186]=function(a){var c=y(a);switch(c>>3&7){case 4:192>c?sb(a,a.g(c),y(a)&31):ob(a,a.a[c&7],y(a)&31);break;case 5:192>c?vb(a,a.g(c),y(a)&31):a.a[c&7]=qb(a,a.a[c&7],y(a)&31);break;case 6:192>c?ub(a,a.g(c),y(a)&31):a.a[c&7]=rb(a,a.a[c&7],y(a)&31);break;case 7:192>c?tb(a,a.g(c),y(a)&31):a.a[c&7]=pb(a,a.a[c&7],y(a)&31);break;default:R(a)}};F[187]=function(a){var c=y(a);192>c?tb(a,a.g(c),a.ma[c>>2&14]):a.c[c<<1&14]=pb(a,a.c[c<<1&14],a.ma[c>>2&14]&15)};
G[187]=function(a){var c=y(a);192>c?tb(a,a.g(c),a.a[c>>3&7]):a.a[c&7]=pb(a,a.a[c&7],a.a[c>>3&7]&31)};F[188]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14],f=a.c;var g=a.c[c>>2&14];a.m=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=Pc(-e&e));f[c>>2&14]=a};G[188]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.m=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=Pc((-e&e)>>>0));f[c>>3&7]=a};
F[189]=function(a){var c=y(a),e=192>c?J(a,a.g(c)):a.c[c<<1&14],f=a.c;var g=a.c[c>>2&14];a.m=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=Pc(e));f[c>>2&14]=a};G[189]=function(a){var c=y(a),e=192>c?K(a,a.g(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.m=0;0===e?(a.e|=64,a=g):(a.e&=-65,a=Pc(e>>>0));f[c>>3&7]=a};F[190]=function(a){var c=y(a),e=192>c?B(a,a.g(c))<<24>>24:a.vb[c<<2&12|c>>2&1];a.c[c>>2&14]=e};G[190]=function(a){var c=y(a),e=192>c?B(a,a.g(c))<<24>>24:a.vb[c<<2&12|c>>2&1];a.a[c>>3&7]=e};
F[191]=G[191]=function(a){var c=y(a),e=192>c?J(a,a.g(c))<<16>>16:a.ma[c<<1&14];a.a[c>>3&7]=e};F[192]=G[192]=function(a){var c=y(a),e,f;192>c?(f=C(a,a.g(c)),e=a.memory.L(f)):e=a.j[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,h=a.j[g];a.j[g]=e;e=a.add(e,h,7);192>c?a.memory.S(f,e):a.j[c<<2&12|c>>2&1]=e};
F[193]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4095===(e&4095)?(g=C(a,e+1),e=zb(a,f,g)):e=a.memory.K(f)):e=a.c[c<<1&14];var h=c>>2&14,k=a.c[h];a.c[h]=e;e=a.add(e,k,15);192>c?g?Ab(a,f,g,e):a.memory.ba(f,e):a.c[c<<1&14]=e};G[193]=function(a){var c=y(a),e,f,g=0;192>c?(e=a.g(c),f=C(a,e),a.v&&4093<=(e&4095)?(g=C(a,e+3),e=Bb(a,f,g)):e=I(a.memory,f)):e=a.a[c&7];var h=c>>3&7,k=a.a[h];a.a[h]=e;e=a.add(e,k,31);192>c?g?Cb(a,f,g,e):a.memory.ca(f,e):a.a[c&7]=e};F[194]=G[194]=function(a){R(a)};
F[195]=G[195]=function(a){R(a)};F[196]=G[196]=function(a){R(a)};F[197]=G[197]=function(a){R(a)};F[198]=G[198]=function(a){R(a)};
F[199]=G[199]=function(a){var c=y(a);switch(c>>3&7){case 1:192<=c&&R(a);var e=a.g(c);dc(a,e,8);var c=K(a,e),f=K(a,e+4);a.a[0]===c&&a.a[2]===f?(a.e|=64,T(a,e,a.a[3]),T(a,e+4,a.a[1])):(a.e&=-65,a.a[0]=c,a.a[2]=f);a.m&=-65;break;case 6:var g=(f=Qc())?Rc():0;a.La?(192>c&&(e=a.g(c)),192>c?T(a,e,g):a.$a[c&7]=g):(192>c&&(e=a.g(c)),192>c?S(a,e,g):a.c[c<<1&14]=g);a.e&=-2262;a.e|=f;a.m=0;break;default:R(a)}};F[200]=G[200]=function(a){Sc(a,0)};F[201]=G[201]=function(a){Sc(a,1)};
F[202]=G[202]=function(a){Sc(a,2)};F[203]=G[203]=function(a){Sc(a,3)};F[204]=G[204]=function(a){Sc(a,4)};F[205]=G[205]=function(a){Sc(a,5)};F[206]=G[206]=function(a){Sc(a,6)};F[207]=G[207]=function(a){Sc(a,7)};F[208]=G[208]=function(a){R(a)};F[209]=G[209]=function(a){R(a)};F[210]=G[210]=function(a){R(a)};F[211]=G[211]=function(a){R(a)};F[212]=G[212]=function(a){R(a)};F[213]=G[213]=function(a){R(a)};F[214]=G[214]=function(a){R(a)};F[215]=G[215]=function(a){R(a)};F[216]=G[216]=function(a){R(a)};
F[217]=G[217]=function(a){R(a)};F[218]=G[218]=function(a){R(a)};F[219]=G[219]=function(a){R(a)};F[220]=G[220]=function(a){R(a)};F[221]=G[221]=function(a){R(a)};F[222]=G[222]=function(a){R(a)};F[223]=G[223]=function(a){R(a)};F[224]=G[224]=function(a){R(a)};F[225]=G[225]=function(a){R(a)};F[226]=G[226]=function(a){R(a)};F[227]=G[227]=function(a){R(a)};F[228]=G[228]=function(a){R(a)};F[229]=G[229]=function(a){R(a)};F[230]=G[230]=function(a){R(a)};F[231]=G[231]=function(a){R(a)};F[232]=G[232]=function(a){R(a)};
F[233]=G[233]=function(a){R(a)};F[234]=G[234]=function(a){R(a)};F[235]=G[235]=function(a){R(a)};F[236]=G[236]=function(a){R(a)};F[237]=G[237]=function(a){R(a)};F[238]=G[238]=function(a){R(a)};F[239]=G[239]=function(a){R(a)};F[240]=G[240]=function(a){R(a)};F[241]=G[241]=function(a){R(a)};F[242]=G[242]=function(a){R(a)};F[243]=G[243]=function(a){R(a)};F[244]=G[244]=function(a){R(a)};F[245]=G[245]=function(a){R(a)};F[246]=G[246]=function(a){R(a)};F[247]=G[247]=function(a){R(a)};F[248]=G[248]=function(a){R(a)};
F[249]=G[249]=function(a){R(a)};F[250]=G[250]=function(a){R(a)};F[251]=G[251]=function(a){R(a)};F[252]=G[252]=function(a){R(a)};F[253]=G[253]=function(a){R(a)};F[254]=G[254]=function(a){R(a)};F[255]=G[255]=function(a){R(a)};"use strict";function Hc(a,c){var e=a.A[1];a.k-=e;a.k=a.k+c&65535;a.k=a.k+e|0;a.J=!0}function Nc(a,c){c?Hc(a,t(a)):a.k=a.k+2|0;a.J=!0}function Oc(a,c){if(c){var e=w(a);a.k=a.k+e|0}else a.k=a.k+4|0;a.J=!0}l=p.prototype;
l.loop=function(){if(--this.h[this.F]){var a=r(this);this.k=this.k+a|0}else this.k++;this.J=!0};l.qa=function(){return this.m&1?(this.Aa^(this.Aa^this.Ba)&(this.Ba^this.i))>>>this.Y&1:this.e&1};l.Wd=function(){return this.m&4?154020>>((this.B^this.B>>4)&15)&4:this.e&4};function Fb(a){return a.m&16?(a.Aa^a.Ba^a.i)&16:a.e&16}l.ob=function(){return this.m&64?(~this.B&this.B-1)>>>this.Y&1:this.e&64};l.Kc=function(){return this.m&128?this.B>>>this.Y&1:this.e&128};
l.lc=function(){return this.m&2048?((this.Aa^this.i)&(this.Ba^this.i))>>>this.Y&1:this.e&2048};l.Ta=p.prototype.lc;l.Ga=p.prototype.qa;l.Ia=p.prototype.ob;l.Ua=p.prototype.Kc;l.Ha=p.prototype.Wd;function Yb(a){return a.qa()||a.ob()}function Zb(a){return!a.Kc()!==!a.lc()}function $b(a){return a.ob()||!a.Kc()!==!a.lc()}function L(a,c){var e=Db(a,-2);S(a,e,c);a.t[a.C]-=2}function M(a,c){var e=Db(a,-4);T(a,e,c);a.t[a.C]-=4}function Gb(a){var c=J(a,a.A[2]+a.t[a.C]|0);a.t[a.C]+=2;return c}
function P(a){var c=K(a,a.A[2]+a.t[a.C]|0);a.t[a.C]+=4;return c}function bc(a,c){var e=a.c[0];a.c[0]=a.c[c];a.c[c]=e}function cc(a,c){var e=a.a[0];a.a[0]=a.a[c];a.a[c]=e}function mc(a,c,e,f){var g=J(a,e);e=J(a,e+2|0);N(a,c,e);a.c[f]=g}function nc(a,c,e,f){var g=K(a,e);e=J(a,e+4|0);N(a,c,e);a.a[f]=g}function Sc(a,c){var e=a.a[c];a.a[c]=e>>>24|e<<24|e>>8&65280|e<<8&16711680}
l.Pd=function(a){if(233495534===a)this.p=!1,this.U=0,this.ga=-1,this.mb=this.za,xa(this),this.La=this.za,ya(this);else throw console.log(a),console.log(a.stack),a;};
l.reset=function(){this.xb=new Uint8Array(8);this.Fa=new Uint32Array(8);this.A=new Int32Array(8);za(this);this.a=new Int32Array(8);this.$a=new Uint32Array(this.a.buffer);this.ma=new Int16Array(this.a.buffer);this.c=new Uint16Array(this.a.buffer);this.vb=new Int8Array(this.a.buffer);this.j=new Uint8Array(this.a.buffer);this.M=new Uint16Array(8);this.kc=new Int32Array(8);this.la=!1;this.Xb=this.Jc=this.Zb=this.Lc=0;this.p=!1;this.r[0]=1610612752;this.r[2]=0;this.r[3]=0;this.r[4]=0;this.kc[6]=-61456;
this.kc[7]=1024;this.N=0;this.v=!1;this.ud=0;this.mb=this.yb=this.La=this.za=!1;this.Ra=-1;ya(this);xa(this);this.t=this.c;this.C=8;this.hb=10;this.V=this.O=0;this.mc=!1;this.Rc=this.Sc=this.Bc=0;this.ga=-1;this.U=0;this.e=2;this.Y=this.Ba=this.Aa=this.i=this.B=this.m=0;this.Bd=Aa();this.k=1048560;N(this,2,48);this.c[8]=256;this.H.Ce&&this.H.Ce.reset()};
l.Pa=function(a,c){this.qc=a.qc||67108864;this.memory=new Tc(this.qc);this.reset();var e=new Uc(this.memory);this.o=e;this.Db.ge=a.Db;this.Db.Pb=a.wg;Vc(this);var f=0;X(e,146,this,function(){return f});Y(e,146,this,function(a){f=a});this.H={};a.mf&&(this.H.R=new Yc(this),this.H.Na=new Zc(this),$c(this,a),this.H.Nc=new ad(this),this.H.jc=new bd(this),this.H.Dg=new cd,this.H.Pb=new dd(this,c,a.xa||8388608),this.pa=new ed(this),this.H.vd=new fd(this,c),this.H.dh=new gd(this,1016,c),this.H.Ng=new hd(this,
a.Qd,a.Rd),a.Vb&&(this.H.Vb=new id(this,a.Vb,!0,1,c)),a.Yb&&(this.H.Yb=new id(this,a.Yb,!1,0,c)),this.H.me=new jd(this),a.cf&&(this.H.Yg=new kd(this,c)),a.rb&&(this.H.Ce=new ld(this,c,a.rb)))};function $c(a,c){var e=c.Ne||531;a.H.Na.Oa[56]=1|e>>4&240;a.H.Na.Oa[61]=e&255;e=a.qc-16777216;a.H.Na.Oa[52]=e>>16&255;a.H.Na.Oa[53]=e>>24&255;a.H.Na.Oa[91]=0;a.H.Na.Oa[92]=0;a.H.Na.Oa[93]=0;a.H.Na.Oa[20]=45}
function Vc(a){var c=a.Db.ge,e=a.Db.Pb;if(c){var f=new Uint8Array(c);a.memory.b.set(f,1048576-c.byteLength);e&&(f=new Uint8Array(e),a.memory.b.set(f,786432));md(a.o,4293918720,1048576,function(a){return this.memory.b[a&1048575]}.bind(a),function(a,c){this.memory.b[a&1048575]=c}.bind(a))}}l.Od=function(){for(var a=Date.now(),c=a;33>c-a;){this.H.me.bb(c,!1);this.H.Na.bb(c,!1);jc(this);for(c=11001;c--;)Ic(this);c=Date.now()}};
"undefined"!==typeof window&&(window.b=p.prototype.Od,window.d=p.prototype.Pd,window.i=p.prototype.D);function Ic(a){a.O++;a.V=a.k;var c=y(a);a.table[c](a)}function Eb(a){a.table[y(a)](a)}p.prototype.D=function(){var a,c;a=Date.now();c=this.H.me.bb(a,!1);a=this.H.Na.bb(a,!1);return this.mc?Math.ceil(Math.min(100,c,a)):0};function Jc(a){var c=-2147483648===(a.r[0]&-2147483648);a.pa||(a.r[0]|=4);a.r[0]|=16;c!==a.v&&(a.v=c,za(a))}
function y(a){a.k&-4096^a.Ra&&(a.u=Q(a,a.k)^a.k,a.Ra=a.k&-4096);var c=a.memory.b[a.u^a.k]|0;a.k=a.k+1|0;return c}function r(a){return y(a)<<24>>24}function t(a){if(4094<(a.k^a.Ra)>>>0)return y(a)|y(a)<<8;var c=a.memory.K(a.u^a.k);a.k=a.k+2|0;return c}function w(a){if(4092<(a.k^a.Ra)>>>0)return t(a)|t(a)<<16;var c=I(a.memory,a.u^a.k);a.k=a.k+4|0;return c}function zb(a,c,e){return a.memory.L(c)|a.memory.L(e)<<8}
function Bb(a,c,e){var f;f=c&1?c&2?Vb(a.memory,e-2>>1):Vb(a.memory,c+1>>1):zb(a,c+1,e-1);return a.memory.L(c)|f<<8|a.memory.L(e)<<24}function Ab(a,c,e,f){a.memory.S(c,f);a.memory.S(e,f>>8)}function Cb(a,c,e,f){a.memory.S(c,f);a.memory.S(e,f>>24);c&1?c&2?(a.memory.S(e-2,f>>8),a.memory.S(e-1,f>>16)):(a.memory.S(c+1,f>>8),a.memory.S(c+2,f>>16)):(a.memory.S(c+1,f>>8),a.memory.S(e-1,f>>16))}function B(a,c){return a.memory.L(Q(a,c))}
function J(a,c){return a.v&&4095===(c&4095)?B(a,c)|B(a,c+1)<<8:a.memory.K(Q(a,c))}function K(a,c){return a.v&&4093<=(c&4095)?J(a,c)|J(a,c+2)<<16:I(a.memory,Q(a,c))}function Kb(a,c,e){a.memory.S(C(a,c),e)}function S(a,c,e){var f=C(a,c);4095===(c&4095)?Ab(a,f,C(a,c+1),e):a.memory.ba(f,e)}function T(a,c,e){var f=C(a,c);4093<=(c&4095)?Cb(a,f,C(a,c+3),e):a.memory.ca(f,e)}function kc(a){return a.mb?Sb(a,3)+w(a)|0:Sb(a,3)+t(a)|0}function gc(a){return a.e>>12&3}function Hb(a){return!!(a.e&131072)}
function hc(a){a.e=a.e&-2262|!!a.qa()|!!a.Wd()<<2|!!Fb(a)<<4|!!a.ob()<<6|!!a.Kc()<<7|!!a.lc()<<11;a.m=0}function ic(a,c){var e=1769472,f=2588629;a.e&131072?(e|=12288,f|=1572864):a.N&&(e|=12288,a.N>gc(a)&&(e|=512));a.e=(c^(a.e^c)&e)&f|2;a.m=0}function Db(a,c){return a.yb?a.A[2]+a.t[a.C]+c|0:a.A[2]+(a.t[a.C]+c&65535)|0}function ec(a){return a.k-a.A[1]|0}
function oc(a,c,e,f){a.mc=!1;if(a.la){if(Hb(a)&&a.r[4]&1)throw a.debug.P("VME");Hb(a)&&e&&3>gc(a)&&V(a,0);if((c<<3|7)>a.Lc)throw a.debug.P("#GP handler");var g=a.Zb+(c<<3)|0;a.v&&(g=nd(a,g));var h=a.memory.K(g)|a.memory.K(g+6)<<16,k=a.memory.K(g+2),m=a.memory.L(g+5),v=m>>5&3,g=!1;if(0===(m&128))throw a.debug.P("#NP handler");e&&v<a.N&&V(a,c<<3|2);m&=31;if(14===m)g=c=!1;else if(15===m)c=!0,g=!1;else{if(5===m)throw a.debug.P("call int to task gate");if(6===m)throw a.debug.P("16 bit interrupt gate");
if(7===m)g=c=!0;else throw a.debug.P("#GP handler");}e=qc(a,k);if(e.fb)throw a.debug.P("#GP handler");if(!e.Ib||e.ua>a.N)throw a.debug.P("#GP handler");if(!e.pb)throw a.debug.P("#NP handler");hc(a);m=a.e;if(!e.Eb&&e.ua<a.N){var x=(e.ua<<3)+4;if(x+5>a.Fa[6])throw a.debug.P("#TS handler");x=x+a.A[6]|0;a.v&&(x=nd(a,x));var v=I(a.memory,x),x=a.memory.K(x+4),A=qc(a,x);if(A.fb)throw a.debug.P("#TS handler");if(A.wb!==e.ua)throw a.debug.P("#TS handler");if(A.ua!==e.ua||!A.Qc)throw a.debug.P("#TS handler");
if(!A.pb)throw a.debug.P("#TS handler");var A=a.a[4],H=a.M[2];a.N=e.ua;a.Ra=-1;a.za!==e.size&&pc(a,e.size);a.e&=-196609;N(a,2,x);a.t[a.C]=v;m&131072?g?(dc(a,Db(a,-20),20),L(a,a.M[5]),L(a,a.M[4]),L(a,a.M[3]),L(a,a.M[0])):(dc(a,Db(a,-40),40),M(a,a.M[5]),M(a,a.M[4]),M(a,a.M[3]),M(a,a.M[0])):g?dc(a,Db(a,-12),12):dc(a,Db(a,-24),24);g?(L(a,H),L(a,A)):(M(a,H),M(a,A))}else if(e.Eb||e.ua===a.N)g?dc(a,Db(a,-8),8):dc(a,Db(a,-16),16),a.e&131072&&V(a,k&-4);else throw a.debug.P("#GP handler");g?(L(a,m),L(a,a.M[1]),
L(a,ec(a)),!1!==f&&L(a,f),h&=65535):(M(a,m),M(a,a.M[1]),M(a,ec(a)),!1!==f&&M(a,f));m&131072&&(N(a,5,0),N(a,4,0),N(a,3,0),N(a,0,0));a.M[1]=k&-4|a.N;a.za!==e.size&&pc(a,e.size);a.Fa[1]=e.Fb;a.A[1]=e.Tb;a.k=a.A[1]+h|0;c||(a.e&=-513)}else dc(a,Db(a,-6),6),h=c<<2,f=a.memory.K(h),h=a.memory.K(h+2),hc(a),L(a,a.e),L(a,a.M[1]),L(a,ec(a)),a.e&=-513,N(a,1,h),a.k=a.A[1]+f|0;a.J=!0}function rc(a){a.k=a.V;oc(a,0,!1,!1);throw 233495534;}function R(a){a.k=a.V;oc(a,6,!1,!1);throw 233495534;}
function fc(a){a.k=a.V;oc(a,7,!1,!1);throw 233495534;}function V(a,c){a.k=a.V;oc(a,13,!1,c);throw 233495534;}function q(a){return Sb(a,3)}function u(a){return Sb(a,2)}function Sb(a,c){return-1===a.ga?a.A[c]:9===a.ga?0:a.A[a.ga]}function jc(a){a.H.R&&a.e&512&&!a.p&&a.H.R.Gc()}
function Ib(a,c,e){if(a.la&&(a.N>gc(a)||a.e&131072)){var f=a.Fa[6],g=a.A[6];if(103<=f){var h=a.memory.K(nd(a,g+100+2));if(f>=h+(c+e-1>>3)&&(e=(1<<e)-1<<(c&7),c=nd(a,g+h+(c>>3)),!((e&65280?a.memory.K(c):a.memory.L(c))&e)))return}V(a,0)}}function pc(a,c){a.za=a.La=a.mb=c;ya(a);xa(a)}function ya(a){a.table=a.La?a.zd:a.yd}function xa(a){a.mb?(a.h=a.a,a.F=1,a.w=6,a.n=7):(a.h=a.c,a.F=2,a.w=12,a.n=14)}
function qc(a,c){var e=0===(c&4),f=c&-8,g,h;g={wb:c&3,Ud:e,fb:!1,nc:!0,Tb:0,lb:0,e:0,type:0,ua:0,$b:!1,pb:!1,Ib:!1,Qc:!1,Eb:!1,size:!1,Fb:0,ce:!1,be:!1,Ad:0};e?(e=a.Xb,h=a.Jc):(e=a.A[7],h=a.Fa[7]);if(0===f)return g.fb=!0,g;if((c|7)>h)return g.nc=!1,g;e=e+f|0;a.v&&(e=nd(a,e));g.Ad=e;g.Tb=a.memory.K(e+2)|a.memory.L(e+4)<<16|a.memory.L(e+7)<<24;g.lb=a.memory.L(e+5);g.e=a.memory.L(e+6)>>4;g.type=g.lb&15;g.ua=g.lb>>5&3;g.$b=0===(g.lb&16);g.pb=128===(g.lb&128);g.Ib=8===(g.lb&8);g.Qc=2===(g.lb&2);g.Eb=4===
(g.lb&4);g.size=4===(g.e&4);f=a.memory.K(e)|(a.memory.L(e+6)&15)<<16;g.Fb=g.e&8?(f<<12|4095)>>>0:f;g.ce=g.Qc&&!g.Ib;g.be=g.Qc||!g.Ib;return g}
function N(a,c,e){1===c&&(a.la=1===(a.r[0]&1));if(!a.la||Hb(a))a.M[c]=e,a.xb[c]=0,a.A[c]=e<<4,2===c&&a.yb&&(a.yb=!1,a.t=a.c,a.C=8,a.hb=10);else{var f=qc(a,e);if(2===c){if(f.fb){V(a,0);return}if(!f.nc||f.$b||f.wb!==a.N||!f.ce||f.ua!==a.N){V(a,e&-4);return}if(!f.pb)throw a.k=a.V,oc(a,12,!1,e&-4),233495534;(a.yb=f.size)?(a.t=a.a,a.C=4,a.hb=5):(a.t=a.c,a.C=8,a.hb=10)}else if(1===c){if(!f.Ib)throw a.debug.P("#GP handler");if(f.$b)throw a.debug.P("load system segment descriptor, type = "+(f.lb&15));if(f.wb!==
a.N)throw a.debug.P("privilege change");if(!f.Eb&&f.ua<a.N)throw a.debug.P("inter privilege call");if(!f.Eb&&f.ua!==a.N)throw a.debug.P("#GP handler");f.size!==a.za&&pc(a,f.size)}else{if(f.fb){a.M[c]=e;a.xb[c]=1;return}if(!f.nc||f.$b||!f.be||(!f.Ib||!f.Eb)&&f.wb>f.ua&&a.N>f.ua){V(a,e&-4);return}if(!f.pb)throw a.k=a.V,oc(a,11,!1,e&-4),233495534;}a.xb[c]=0;a.Fa[c]=f.Fb;a.A[c]=f.Tb;a.M[c]=e}}
function Kc(a,c,e){c=qc(a,c);a.m&=-65;if(c.fb||!c.nc||58817>>c.type&1)return a.e&=-65,e;a.e|=64;return c.type<<8|c.size<<12|c.ua<<13|c.pb<<15|c.e<<20}function Lc(a,c,e){c=qc(a,c);a.m&=-65;if(c.fb||!c.nc||62833>>c.type&1)return a.e&=-65,e;a.e|=64;return c.Fb|0}function Mc(a){a.Ra=-1;a.cb.set(a.fc)}function za(a){for(var c=new Int32Array(a.fc.buffer),e=0;262144>e;)c[e++]=c[e++]=c[e++]=c[e++]=0;Mc(a)}
function Q(a,c){var e;a.v?3===a.N?(e=c>>>12,e=a.cb[e]&4?a.l[e]^c:od(a,c,0,1)|c&4095):e=nd(a,c):e=c;return e}function C(a,c){var e;a.v?3===a.N?(e=c>>>12,e=a.cb[e]&8?a.l[e]^c:od(a,c,1,1)|c&4095):(e=c>>>12,e=a.cb[e]&2?a.l[e]^c:od(a,c,1,0)|c&4095):e=c;return e}function nd(a,c){var e=c>>>12;return a.cb[e]&1?a.l[e]^c:od(a,c,0,0)|c&4095}
function od(a,c,e,f){var g=c>>>12,h=(a.r[3]>>>2)+(g>>10),k=a.memory.gb[h],m=!0,v=!0;k&1||(a.r[2]=c,pd(a,e,f,0));0===(k&2)&&(m=!1,e&&(f||a.r[0]&65536)&&(a.r[2]=c,pd(a,e,f,1)));0===(k&4)&&(v=!1,f&&(a.r[2]=c,pd(a,e,f,1)));if(k&a.ud)a.memory.gb[h]=k|32|e<<6,c=k&4290772992|c&4190208,k=k&256;else{var x=((k&4294963200)>>>2)+(g&1023),A=a.memory.gb[x];0===(A&1)&&(a.r[2]=c,pd(a,e,f,0));0===(A&2)&&(m=!1,e&&(f||a.r[0]&65536)&&(a.r[2]=c,pd(a,e,f,1)));0===(A&4)&&(v=!1,f&&(a.r[2]=c,pd(a,e,f,1)));a.memory.gb[h]=
k|32;a.memory.gb[x]=A|32|e<<6;c=A&4294963200;k=A&256}a.l[g]=c^g<<12;m=v?m?15:5:m?3:1;a.cb[g]=m;k&&a.r[4]&128&&(a.fc[g]=m);return c}function dc(a,c,e){if(a.v){var f=3===a.N?1:0,g=f?8:2,h=c>>>12;0===(a.cb[h]&g)&&od(a,c,1,f);4096<=(c&4095)+e-1&&0===(a.cb[h+1]&g)&&od(a,c+e-1,1,f)}}function pd(a,c,e,f){if(a.p)throw a.debug.P("Double fault");var g=a.r[2]>>>12;a.cb[g]=0;a.fc[g]=0;a.k=a.V;a.p=!0;oc(a,14,!1,e<<2|c<<1|f);throw 233495534;};function Uc(a){this.b=[];this.H=Array(65536);this.memory=a;for(var c=0;65536>c;c++)this.b[c]={L:this.bf,K:this.$e,re:this.af,S:this.nd,ba:this.nd,ca:this.nd,va:void 0};for(var e=a.size,c=0;c<<17<e;c++)a.i[c]=a.l[c]=void 0,a.p[c]=a.u[c]=void 0;md(this,e,4294967296-e,function(){return 255},function(){},function(){return-1},function(){});this.ia=[this.b,this.H,this.memory]}l=Uc.prototype;l.bf=function(){return 255};l.$e=function(){return 65535};l.af=function(){return-1};l.nd=function(){};
function X(a,c,e,f,g,h){f&&(a.b[c].L=f);g&&(a.b[c].K=g);h&&(a.b[c].re=h);a.b[c].va=e}function Y(a,c,e,f,g,h){f&&(a.b[c].S=f);g&&(a.b[c].ba=g);h&&(a.b[c].ca=h);a.b[c].va=e}l.ue=function(a,c,e,f,g,h){function k(){return e.call(this)|f.call(this)<<8}function m(){return g.call(this)|h.call(this)<<8}function v(){return e.call(this)|f.call(this)<<8|g.call(this)<<16|h.call(this)<<24}g&&h?(X(this,a,c,e,k,v),X(this,a+1,c,f),X(this,a+2,c,g,m),X(this,a+3,c,h)):(X(this,a,c,e,k),X(this,a+1,c,f))};
l.wc=function(a,c,e,f,g,h){function k(a){e.call(this,a&255);f.call(this,a>>8&255)}function m(a){g.call(this,a&255);h.call(this,a>>8&255)}function v(a){e.call(this,a&255);f.call(this,a>>8&255);g.call(this,a>>16&255);h.call(this,a>>>24)}g&&h?(Y(this,a,c,e,k,v),Y(this,a+1,c,f),Y(this,a+2,c,g,m),Y(this,a+3,c,h)):(Y(this,a,c,e,k),Y(this,a+1,c,f))};function lc(a,c,e){c>>>=0;e=c+(e>>>0);if(e>=a.memory.size)return!0;for(c&=-131072;c<e;){if(a.memory.d[c>>17])return!0;c+=131072}return!1}
l.nf=function(a){var c=this.memory.i[a>>>17];return c(a)|c(a+1)<<8|c(a+2)<<16|c(a+3)<<24};l.of=function(a,c){var e=this.memory.l[a>>>17];e(a,c&255);e(a+1,c>>8&255);e(a+2,c>>16&255);e(a+3,c>>>24)};function md(a,c,e,f,g,h,k){h||(h=a.nf.bind(a));k||(k=a.of.bind(a));for(c>>>=17;0<e;c++)a.memory.d[c]=1,a.memory.i[c]=f,a.memory.l[c]=g,a.memory.p[c]=h,a.memory.u[c]=k,e-=131072}function Tb(a,c,e){a=a.b[c];a.S.call(a.va,e)}function Ub(a,c,e){a=a.b[c];a.ba.call(a.va,e)}
function Wb(a,c,e){a=a.b[c];a.ca.call(a.va,e)}function Jb(a,c){var e=a.b[c];return e.L.call(e.va)}function Lb(a,c){var e=a.b[c];return e.K.call(e.va)}function Qb(a,c){var e=a.b[c];return e.re.call(e.va)};function qd(a){this.l=!0;this.i=this.d=!1;this.q=new p;this.s=a;a.register("cpu-init",this.Pa,this);a.register("cpu-run",this.D,this);a.register("cpu-stop",this.I,this);a.register("cpu-restart",this.u,this);this.b=function(){console.assert(!1)};this.p=function(){console.assert(!1)}}qd.prototype.D=function(){this.d||(this.s.send("emulator-started"),this.b())};
function rd(a){if(a.i)a.i=a.d=!1,a.s.send("emulator-stopped");else{a.d=!0;var c;a:{var e=a.q;try{if(e.mc){c=e.D();break a}e.Od()}catch(f){e.Pd(f)}c=0}a.p(c)}}qd.prototype.I=function(){this.d&&(this.i=!0)};qd.prototype.u=function(){this.q.reset();Vc(this.q)};qd.prototype.Pa=function(a){this.l&&(this.l=!1,sd(this));this.q.Pa(a,this.s);this.s.send("emulator-ready")};
function sd(a){"undefined"!==typeof setImmediate?a.b=function(){setImmediate(function(){rd(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(c){c.source===window&&43605===c.data&&rd(a)},!1),a.b=function(){window.postMessage(43605,"*")}):a.b=function(){setTimeout(function(){rd(a)},0)};a.p="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(c){4>c||document.hidden?this.b():setTimeout(function(){rd(a)},c)}:function(c){setTimeout(function(){rd(a)},
c)}}var Aa="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues)var td=new Int32Array(1),Qc=function(){return!0},Rc=function(){window.crypto.getRandomValues(td);return td[0]};else Qc=function(){return!1},Rc=function(){console.assert(!1)};var Pc,ud,vd,wd,xd,yd;function zd(a){for(a=(a=(a?a.toString(16):"").toUpperCase())?a+"":"";1>a.length;)a="0"+a;return"0x"+a}function Ad(a){this.buffer=a;this.byteLength=a.byteLength;this.onprogress=this.onload=void 0}Ad.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};Ad.prototype.get=function(a,c,e){e(new Uint8Array(this.buffer,a,c))};Ad.prototype.set=function(a,c,e){(new Uint8Array(this.buffer,a,c.byteLength)).set(c);e()};
(function(){for(var a=new Int8Array(256),c=0,e=-2;256>c;c++)c&c-1||e++,a[c]=e;ud=function(c){return a[c]};Pc=function(c){var e=c>>>16;if(e){var h=e>>>8;return h?24+a[h]:16+a[e]}return(h=c>>>8)?8+a[h]:a[c]}})();function Bd(a){var c=new Uint8Array(a),e,f;this.length=0;this.push=function(e){this.length!==a&&this.length++;c[f]=e;f=f+1&a-1};this.shift=function(){if(this.length){var f=c[e];e=e+1&a-1;this.length--;return f}return-1};this.clear=function(){this.length=f=e=0};this.clear()};function ed(a){this.q=a;this.d=new Float64Array(8);this.Va();this.l=255;this.b=0;this.I=895;this.Da=this.$=this.ha=this.Ea=this.da=this.i=0;this.ka=NaN;this.Za=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,0])}
ed.prototype.Va=function(){this.Q=new Float32Array(1);this.ib=new Uint8Array(this.Q.buffer);this.X=new Int32Array(this.Q.buffer);this.D=new Float64Array(1);this.p=new Uint8Array(this.D.buffer);this.u=new Int32Array(this.D.buffer);this.Ma=new Uint8Array(this.d.buffer);this.jb=new Int32Array(this.d.buffer);this.ia=[this.q,this.Q,this.ib,this.X,this.D,this.p,this.u,this.Ma,this.jb]};function vc(a){R(a.q)}function Ac(a){a.i|=1}
function uc(a,c){var e=tc(a);a.i&=-18177;e>c||(a.i=c>e?a.i|256:e===c?a.i|16384:a.i|17664)}function Ec(a,c){var e=a.d[a.b];a.q.m&=-70;a.q.e&=-70;e>c||(a.q.e=c>e?a.q.e|1:e===c?a.q.e|64:a.q.e|69)}function Dc(a){a.I=895;a.i=0;a.da=0;a.$=0;a.ha=0;a.l=255;a.b=0}
function xc(a,c){if(a.q.La){dc(a.q,c,26);S(a.q,c,a.I);S(a.q,c+4,a.i&-14337|a.b<<11);for(var e=0,f,g=0;8>g;g++)f=a.d[g],a.l>>g&1?e|=3<<(g<<1):0===f?e|=1<<(g<<1):isFinite(f)||(e|=2<<(g<<1));S(a.q,c+8,e);T(a.q,c+12,a.da);S(a.q,c+16,a.Ea);S(a.q,c+18,a.ha);T(a.q,c+20,a.$);S(a.q,c+24,a.Da)}else vc(a)}
function wc(a,c){if(a.q.La){a.I=J(a.q,c);var e=J(a.q,c+4);a.i=e&-14337;a.b=e>>11&7;for(var e=J(a.q,c+8),f=a.l=0;8>f;f++)a.l|=e>>f&e>>f+1&1<<f;a.da=K(a.q,c+12);a.Ea=J(a.q,c+16);a.ha=J(a.q,c+18);a.$=K(a.q,c+20);a.Da=J(a.q,c+24)}else vc(a)}function yc(a,c){var e=a.I>>10&3;return 0===e?(e=Math.round(c),.5===e-c&&e%2&&e--,e):1===e||3===e&&0<c?Math.floor(c):Math.ceil(c)}function zc(a){return 0<a?Math.floor(a):Math.ceil(a)}
ed.prototype.push=function(a){this.b=this.b-1&7;this.l>>this.b&1?(this.i&=-513,this.l&=~(1<<this.b),this.d[this.b]=a):(this.i|=512,this.i|=65,this.d[this.b]=this.ka)};ed.prototype.pop=function(){this.l|=1<<this.b;this.b=this.b+1&7};function W(a,c){c=c+a.b&7;return a.l>>c&1?(a.i&=-513,a.i|=65,a.ka):a.d[c]}function tc(a){return a.l>>a.b&1?(a.i&=-513,a.i|=65,a.ka):a.d[a.b]}
function Bc(a,c){var e=J(a.q,c+8),f,g=K(a.q,c)>>>0,h=K(a.q,c+4)>>>0;f=e>>15;e&=-32769;if(0===e)return 0;if(!(32767>e))return a.p[7]=127|f<<7,a.p[6]=240|h>>30<<3&8,a.p[5]=0,a.p[4]=0,a.u[0]=0,a.D[0];g+=4294967296*h;f&&(g=-g);return g*Math.pow(2,e-16383-63)}
function Cc(a,c,e){a.D[0]=a.d[a.b+e&7];e=a.p[7]&128;var f=(a.p[7]&127)<<4|a.p[6]>>4,g,h;2047===f?(f=32767,g=0,h=2147483648|(a.u[1]&524288)<<11):0===f?h=g=0:(f+=15360,g=a.u[0]<<11,h=2147483648|(a.u[1]&1048575)<<11|a.u[0]>>>21);T(a.q,c,g);T(a.q,c+4,h);S(a.q,c+8,e<<8|f)}function Fc(a,c){var e=K(a.q,c),f=K(a.q,c+4);a.u[0]=e;a.u[1]=f;return a.D[0]}function Gc(a,c){dc(a.q,c,8);a.D[0]=W(a,0);T(a.q,c,a.u[0]);T(a.q,c+4,a.u[1])}function sc(a,c){a.X[0]=K(a.q,c);return a.Q[0]}
ed.prototype.sign=function(a){return this.Ma[(this.b+a&7)<<3|7]>>7};function id(a,c,e,f,g){this.s=g;0===f?(this.p=496,this.ib=14,this.Jb=240):(this.p=496,this.ib=14,this.Jb=248);this.Bb=f;this.Za=this.p|516;this.R=a.H.R;this.memory=a.memory;this.buffer=c;this.I=e?2048:512;this.Ea=e;this.Q=this.ha=this.$=this.l=0;this.buffer&&(this.l=this.buffer.byteLength/this.I,this.l!==(this.l|0)&&(this.l=Math.ceil(this.l)),e?(this.$=1,this.ha=0):(this.$=16,this.ha=63),a.H.Na.Oa[57]=1,this.Q=this.l/this.$/this.ha,this.Q!==(this.Q|0)&&(this.Q=Math.floor(this.Q)),16383<this.Q&&(this.Q=
16383));this.na={we:0,xe:0,Jd:0,Kd:0,ee:!1};this.dc=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.p&255|1,this.p>>8,0,0,this.Za&255|1,this.Za>>8,0,0,0,0,0,0,0,0,0,0,1,192,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.ib,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.cc=[{size:8},{size:4},!1,!1,{size:16}];Cd(a.H.Nc,this);X(a.o,
this.p|7,this,this.te);X(a.o,this.Za|2,this,this.te);Y(a.o,this.Za|2,this,this.yg);this.Rb=2;this.d=0;this.b=new Uint8Array(0);this.md=this.head=this.ja=this.Z=this.da=this.X=this.D=this.sd=0;this.status=80;this.Ab=1;this.Da=this.ka=this.Cb=0;this.u=new Uint8Array(0);this.jb=0;this.zb=-1;this.i=this.Ma=0;X(a.o,this.p|0,this,this.gg,this.eg,this.fg);X(a.o,this.p|1,this,this.ig);X(a.o,this.p|2,this,this.dg);X(a.o,this.p|3,this,this.kg);X(a.o,this.p|4,this,function(){return this.Z&255});X(a.o,this.p|
5,this,function(){return this.ja&255});X(a.o,this.p|6,this,function(){return this.md});Y(a.o,this.p|0,this,this.Sb,this.zg,this.Ag);Y(a.o,this.p|1,this,this.Bg);Y(a.o,this.p|2,this,this.xg);Y(a.o,this.p|3,this,this.Cg);Y(a.o,this.p|4,this,function(a){this.Z=(this.Z<<8|a)&65535});Y(a.o,this.p|5,this,function(a){this.ja=(this.ja<<8|a)&65535});Y(a.o,this.p|6,this,function(a){a&16||(this.md=a,this.sd=a>>6&1,this.head=a&15)});Y(a.o,this.p|7,this,this.Me);X(a.o,49156,this,void 0,void 0,this.Te);Y(a.o,49156,
this,void 0,void 0,this.Xe);X(a.o,49152,this,this.Ve,void 0,this.Ue);Y(a.o,49152,this,this.Ze,void 0,this.Ye);X(a.o,49154,this,this.We);Y(a.o,49154,this,this.Nd);X(a.o,49160,this,function(){return 0});X(a.o,49162,this,function(){return 0});this.ia=[this.memory,this.R,this.na,this.buffer,this.s]}function Dd(a){a.Ea?(a.status=81,a.D=1,a.da=1,a.X=1,a.Z=20,a.ja=235):(a.status=81,a.D=1,a.da=1,a.X=1,a.Z=60,a.ja=195)}l=id.prototype;l.G=function(){0===(this.Rb&2)&&this.R.G(this.ib)};
l.Me=function(a){switch(a){case 0:this.G();this.status=80;break;case 8:this.d=0;this.b=new Uint8Array(0);Dd(this);this.G();break;case 16:this.G();break;case 39:this.G();this.b=new Uint8Array([0,0,0,0,this.buffer.byteLength&255,this.buffer.byteLength>>8&255,this.buffer.byteLength>>16&255,this.buffer.byteLength>>24&255,0,0,0,0]);this.status=88;break;case 32:case 36:case 41:case 196:Ed(this,a);break;case 48:case 52:case 57:case 197:a:{if(48===a||197===a){a=this.D&255;var c=this.sd?Fd(this):Gd(this);
0===a&&(a=256)}else if(52===a||57===a)a=this.D,c=Hd(this),0===a&&(a=65536);else break a;var e=a*this.I,c=c*this.I;this.Z+=a;c+e>this.buffer.byteLength?this.status=255:(this.status=88,Id(this,e),this.Cb=c,this.jb=1);this.G()}break;case 144:this.G();this.da=257;this.status=80;break;case 145:this.G();break;case 160:this.Ea&&(this.status=88,Id(this,12),this.jb=2,this.D=1,this.G());break;case 161:this.Ea?(Jd(this),this.status=88,this.Z=20,this.ja=235):this.status=80;this.G();break;case 198:this.Ab=this.D;
this.G();break;case 200:Kd(this);break;case 202:Ld(this);break;case 225:this.G();break;case 236:if(this.Ea)break;Jd(this);this.status=88;this.G();break;case 234:this.G();break;case 239:this.G();break;default:this.da=4}};l.ld=function(){this.status=80;this.buffer.set(this.Cb,this.u.subarray(0,this.ka),function(){this.G()}.bind(this));Md(this,this.ka)};l.te=function(){var a=this.status;0<=this.zb&&(this.status=this.zb,this.zb=-1);return a};l.yg=function(a){this.Rb=a;a&4&&Dd(this)};
function Id(a,c){c>a.u.length&&(a.u=new Uint8Array(c));a.ka=c;a.Da=0}function Nd(a,c){var e=(c[7]<<8|c[8])*a.I,f=(a.ja&255)<<8|a.Z&255,g=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.I;f||(f=32768);f=Math.min(e,f);a.Z=f&255;a.Z=0;a.ja=f>>8&255;g>=a.buffer.byteLength?(a.status=255,a.G()):(e=Math.min(e,a.buffer.byteLength-g),a.status=128,Od(a),a.buffer.get(g,e,function(a){this.b=a;this.status=88;this.d=0;this.G();Pd(this,e)}.bind(a)))}
function Qd(a,c){var e=(c[7]<<8|c[8])*a.I,f=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.I;f>=a.buffer.byteLength?(a.status=255,a.G()):(e=Math.min(e,a.buffer.byteLength-f),a.status=128,Od(a),a.buffer.get(f,e,function(a){var c=this.Ma,f=0;do{var m=I(this.memory,c),v=this.memory.K(c+4),x=this.memory.L(c+7)&128;v||(v=65536);this.memory.b.set(a.subarray(f,f+v),m);f+=v;c+=8;if(f>this.buffer.byteLength)throw"too long";}while(!x);this.status=80;this.i&=-4;this.i|=4;this.G();Pd(this,e)}.bind(a)))}l.gg=function(){return Rd(this)};
l.eg=function(){return Rd(this)|Rd(this)<<8};l.fg=function(){return Rd(this)|Rd(this)<<8|Rd(this)<<16|Rd(this)<<24};l.ig=function(){return this.da&255};l.dg=function(){return this.D&255};l.kg=function(){return this.X&255};
function Rd(a){if(a.d<a.b.length){0!==(a.d+1)%(512*a.Ab)&&a.d+1!==a.b.length||a.G();a.Z?a.Z--:a.ja&&(a.ja--,a.Z=255);if(!a.Z&&!a.ja){var c=a.b.length-a.d-1;65536<=c?(a.ja=240,a.Z=0):(a.ja=c>>8,a.Z=c)}a.d+1>=a.b.length&&(a.status=80,a.D=a.D&-8|3);return a.b[a.d++]}a.d++;return 0}
l.Sb=function(a){if(!(this.Da>=this.ka)&&(this.u[this.Da++]=a,0===this.Da%(512*this.Ab)&&this.G(),this.Da===this.ka))switch(this.jb){case 1:this.ld();break;case 2:this.D=this.D&-8|2;switch(this.u[0]){case 0:this.b=new Uint8Array(0);this.d=0;this.status=80;this.Z=8;this.ja=0;this.G();break;case 3:this.b=new Uint8Array(this.u[4]);this.status=88;this.b[0]=240;this.b[7]=8;this.d=0;this.Z=8;this.ja=0;this.G();break;case 18:this.b=new Uint8Array(Math.min(this.u[4],36));this.status=88;this.b.set([5,128,
1,49,0,0,0,0,83,79,78,89,32,32,32,32,67,68,45,82,79,77,32,67,68,85,45,49,48,48,48,32,49,46,49,97]);this.d=0;this.G();break;case 30:this.b=new Uint8Array(0);this.status=80;this.d=0;this.G();break;case 37:this.b=new Uint8Array([this.l>>24&255,this.l>>16&255,this.l>>8&255,this.l&255,0,0,this.I>>8&255,this.I&255]);this.status=88;this.d=0;this.Z=8;this.ja=0;this.G();break;case 40:this.da&1?Qd(this,this.u):Nd(this,this.u);break;case 67:this.b=new Uint8Array(this.u[8]|this.u[7]<<8);this.b[0]=0;this.b[1]=
10;this.b[2]=1;this.b[3]=1;this.status=88;this.d=0;this.ja=8;this.Z=0;this.G();break;case 70:this.b=new Uint8Array(this.u[8]|this.u[7]<<8);this.status=88;this.d=0;this.G();break;case 74:this.b=new Uint8Array(this.u[8]|this.u[7]<<8);this.status=88;this.d=0;this.G();break;case 81:this.b=new Uint8Array(0);this.status=80;this.d=0;this.G();break;case 26:this.b=new Uint8Array(this.u[4]);this.status=88;this.d=0;this.G();break;case 90:this.b=new Uint8Array(this.u[8]|this.u[7]<<8);this.status=88;this.d=0;
break;case 189:this.b=new Uint8Array(this.u[9]|this.u[8]<<8);this.status=88;this.d=0;this.G();break;default:this.status=80}0===(this.status&128)&&this.d>=this.b.length&&(this.D|=1)}};l.zg=function(a){this.Sb(a&255);this.Sb(a>>8&255)};l.Ag=function(a){this.Sb(a&255);this.Sb(a>>8&255);this.Sb(a>>16&255);this.Sb(a>>24&255)};l.Bg=function(a){this.da=(this.da<<8|a)&65535};l.xg=function(a){this.D=(this.D<<8|a)&65535};l.Cg=function(a){this.X=(this.X<<8|a)&65535};
function Ed(a,c){if(32===c||196===c){var e=a.D&255,f=a.sd?Fd(a):Gd(a);0===e&&(e=256)}else if(36===c||41===c)e=a.D,f=Hd(a),0===e&&(e=65536);else return;var g=e*a.I,f=f*a.I;a.Z+=e;f+g>a.buffer.byteLength?(a.status=255,a.G()):(a.status=128,Od(a),a.buffer.get(f,g,function(a){this.b=a;this.status=88;this.d=0;this.G();Pd(this,g)}.bind(a)))}
function Kd(a){var c=a.D&255,e=c*a.I,f=Fd(a)*a.I;a.Z+=c;f+e>a.buffer.byteLength?(a.status=255,a.G()):(a.status=128,a.i|=1,Od(a),a.buffer.get(f,e,function(a){var c=this.Ma,f=0;do{var m=I(this.memory,c),v=this.memory.K(c+4),x=this.memory.L(c+7)&128;v||(v=65536);this.memory.b.set(a.subarray(f,f+v),m);f+=v;c+=8}while(!x);this.status=80;this.i&=-4;this.i|=4;this.G();Pd(this,e)}.bind(a)))}
function Ld(a){var c=a.D&255,e=c*a.I,f=Fd(a)*a.I;a.Z+=c;if(f+e>a.buffer.byteLength)a.status=255,a.G();else{a.status=128;a.i|=1;var c=a.Ma,g=0,h=0,k=0;do{var m=I(a.memory,c),v=a.memory.K(c+4),x=a.memory.L(c+7)&128;v||(v=65536);a.buffer.set(f+k,a.memory.b.subarray(m,m+v),function(){h++;h===g&&(this.status=80,this.G(),this.i&=-4,this.i|=4)}.bind(a));k+=v;c+=8;g++}while(!x);h===g&&(a.status=80,a.G(),a.i&=-4,a.i|=4);Md(a,e)}}function Gd(a){return((a.Z&255|a.ja<<8&65280)*a.$+a.head)*a.ha+(a.X&255)-1}
function Fd(a){return a.X&255|a.Z<<8&65280|a.ja<<16&16711680|a.head<<24}function Hd(a){return(a.X&255|a.Z<<8&65280|a.ja<<16&16711680|a.X>>8<<24&4278190080)>>>0}
function Jd(a){a.d=0;a.md&16?a.b=new Uint8Array(0):(a.b=new Uint8Array([64,a.Ea?133:0,a.Q,a.Q>>8,0,0,a.$,a.$>>8,0,0,0,0,a.ha,a.ha>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.Q,a.Q>>8,a.$,a.$>>8,a.ha,0,a.l&255,a.l>>8&255,a.l>>16&255,a.l>>24&255,0,0,a.l&255,a.l>>8&255,a.l>>16&255,a.l>>24&255,0,0,0,4,0,0,30,0,30,
0,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.l&255,a.l>>8&255,a.l>>16&255,a.l>>24&255]),16383<a.Q&&(a.b[2]=a.b[108]=255,a.b[3]=a.b[109]=63))}l.Te=function(){return this.Ma};l.Xe=function(a){this.Ma=a};l.We=function(){return this.i};l.Nd=function(a){this.i&=~a};l.Ue=function(){return 1|this.i<<16};l.Ve=function(){return 1};l.Ye=function(a){a&1&&this.G();this.Nd(a>>16&255)};l.Ze=function(a){a&1&&this.G()};
function Od(a){a.na.ee=!0;a.s.send("ide-read-start")}function Pd(a,c){a.na.ee=!1;var e=c/a.I|0;a.na.we+=e;a.na.Jd+=c;a.s.send("ide-read-end",[a.Bb,c,e])}function Md(a,c){var e=c/a.I|0;a.na.xe+=e;a.na.Kd+=c;a.s.send("ide-write-end",[a.Bb,c,e])};function ad(a){this.Ya=new Uint8Array(4);this.vc=new Uint8Array(4);this.tc=new Uint8Array(4);this.uc=new Uint8Array(4);new Int32Array(this.Ya.buffer);this.rf=new Int32Array(this.vc.buffer);this.ke=new Int32Array(this.tc.buffer);this.le=new Int32Array(this.uc.buffer);this.Ic=Array(65536);this.H=Array(65536);a.o.wc(3324,this,function(a){this.vc[0]=a},function(a){this.vc[1]=a},function(a){this.vc[2]=a},function(a){this.vc[3]=a;var e=this.Ya[2]<<8|this.Ya[1];a=this.Ya[0]&252;var f=this.Ic[e],e=this.H[e];
if(f&&16<=a&&40>a){var g=this.rf[0],h=a-16>>2,k=e.cc[h];f[a>>2]=k?-1===(g|3)?~(k.size-1):e.Md[h]:0}});a.o.ue(3324,this,function(){return this.tc[0]},function(){return this.tc[1]},function(){return this.tc[2]},function(){return this.tc[3]});a.o.ue(3320,this,function(){return this.uc[0]},function(){return this.uc[1]},function(){return this.uc[2]},function(){return this.uc[3]});a.o.wc(3320,this,function(a){this.Ya[0]=a},function(a){this.Ya[1]=a},function(a){this.Ya[2]=a},function(a){this.Ya[3]=a;a=this.Ya[0]&
252;var e=this.Ic[this.Ya[2]<<8|this.Ya[1]];void 0!==e?(this.le[0]=-2147483648,this.ke[0]=a<e.byteLength?e[a>>2]:-1):(this.ke[0]=-1,this.le[0]=0)});Cd(this,{Jb:0,dc:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],cc:[]});Cd(this,{Jb:8,dc:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],cc:[]});this.ia=[this.H,this.Ic]}
function Cd(a,c){var e=c.Jb,f=new Int32Array((new Uint8Array(c.dc)).buffer);a.Ic[e]=f;a.H[e]=c;c.Md=new Int32Array(6);c.Md.set(f.subarray(4,10))};function hd(a,c,e){this.o=a.o;this.R=a.H.R;this.jc=a.H.jc;this.d=0;this.ha=new Uint8Array(10);this.ka=0;this.l=null;this.b=new Uint8Array(10);this.I=this.u=this.p=0;this.D=c;this.$=e;this.i=this.Q=0;this.ia=[this.o,this.R,this.jc];this.$&&this.ia.push(this.$);if(c){this.ia.push(this.D);this.I=c.byteLength;if((e={160:{type:1,kb:40,ab:8,Xa:1},180:{type:1,kb:40,ab:9,Xa:1},200:{type:1,kb:40,ab:10,Xa:1},320:{type:1,kb:40,ab:8,Xa:2},360:{type:1,kb:40,ab:9,Xa:2},400:{type:1,kb:40,ab:10,Xa:2},720:{type:3,
kb:80,ab:9,Xa:2},1200:{type:2,kb:80,ab:15,Xa:2},1440:{type:4,kb:80,ab:18,Xa:2},1722:{type:5,kb:82,ab:21,Xa:2},2880:{type:5,kb:80,ab:36,Xa:2}}[this.I>>10])&&0===(this.I&1023))a.H.Na.Oa[16]=e.type<<4,a=e.ab,c=e.Xa;else throw"Unknown floppy size: "+zd(c.byteLength);this.X=a;this.da=c;X(this.o,1008,this,this.Of);X(this.o,1010,this,this.Pf);X(this.o,1012,this,this.Rf);X(this.o,1013,this,this.Sf);X(this.o,1015,this,this.Uf);Y(this.o,1010,this,this.Qf);Y(this.o,1013,this,this.Tf)}else a.H.Na.Oa[16]=64}
l=hd.prototype;l.Of=function(){return 0};l.Rf=function(){var a=128;this.p<this.u&&(a|=80);0===(this.i&8)&&(a|=32);return a};l.Uf=function(){return 0};l.Sf=function(){return this.p<this.u?this.b[this.p++]:255};
l.Tf=function(a){if(0<this.d)this.ha[this.ka++]=a,this.d--,0===this.d&&this.l.call(this,this.ha);else{switch(a){case 3:this.l=this.df;this.d=2;break;case 4:this.l=this.Re;this.d=1;break;case 5:case 197:this.l=function(a){Sd(this,!0,a)};this.d=8;break;case 230:this.l=function(a){Sd(this,!1,a)};this.d=8;break;case 7:this.l=this.Qe;this.d=1;break;case 8:this.p=0;this.u=2;this.b[0]=32;this.b[1]=this.Q;break;case 74:this.l=this.jg;this.d=1;break;case 15:this.d=2;this.l=this.De;break;case 14:this.b[0]=
128,this.p=0,this.u=1,this.d=0}this.ka=0}};l.Pf=function(){return this.i};l.Qf=function(a){4===(a&4)&&0===(this.i&4)&&this.R.G(6);this.i=a};l.Re=function(){this.p=0;this.u=1;this.b[0]=32};l.De=function(a){this.Q=a[1];this.i&8&&this.R.G(6)};l.Qe=function(){this.i&8&&this.R.G(6)};function Sd(a,c,e){var f=e[2],g=e[1],h=e[3],k=128<<e[4],m=e[5]-e[3]+1,v=((f+a.da*g)*a.X+h-1)*k;c?a.jc.ld(a.D,v,m*k,2,a.done.bind(a,e,g,f,h)):Td(a.jc,a.D,v,a.done.bind(a,e,g,f,h))}
l.done=function(a,c,e,f,g){g||(f++,f>this.X&&(f=1,e++,e>=this.da&&(e=0,a++)),this.Q=a,this.p=0,this.u=7,this.b[0]=e<<2|32,this.b[1]=0,this.b[2]=0,this.b[3]=a,this.b[4]=e,this.b[5]=f,this.b[6]=c[4],this.i&8&&this.R.G(6))};l.df=function(){};l.jg=function(){this.p=0;this.u=7;this.b[0]=0;this.b[1]=0;this.b[2]=0;this.b[3]=0;this.b[4]=0;this.b[5]=0;this.b[6]=0;this.i&8&&this.R.G(6)};function Tc(a){this.size=a;this.d=new Uint8Array(32768);this.i=[];this.l=[];this.p=[];this.u=[];this.buffer=new ArrayBuffer(a);this.Va()}l=Tc.prototype;l.Va=function(){this.b=new Uint8Array(this.buffer);this.D=new Uint16Array(this.buffer);this.gb=new Int32Array(this.buffer);this.ia=[this.b,this.D,this.gb,this.d,this.i,this.p,this.l,this.u]};function Ud(a,c){var e=a.i[c>>>17];return e(c)|e(c+1)<<8}function Vd(a,c,e){a=a.l[c>>>17];a(c,e&255);a(c+1,e>>8&255)}
l.L=function(a){return this.d[a>>>17]?this.i[a>>>17](a):this.b[a]};l.K=function(a){return this.d[a>>>17]?Ud(this,a):this.b[a]|this.b[a+1]<<8};function Vb(a,c){return a.d[c>>>16]?Ud(a,c<<1):a.D[c]}function I(a,c){return a.d[c>>>17]?a.p[c>>>17](c):a.b[c]|a.b[c+1]<<8|a.b[c+2]<<16|a.b[c+3]<<24}function Xb(a,c){var e;a.d[c>>>15]?(e=c<<2,e=a.p[e>>>17](e)):e=a.gb[c];return e}l.S=function(a,c){if(this.d[a>>>17])this.l[a>>>17](a,c);else this.b[a]=c};
l.ba=function(a,c){this.d[a>>>17]?Vd(this,a,c):(this.b[a]=c,this.b[a+1|0]=c>>8)};function Mb(a,c,e){a.d[c>>>16]?Vd(a,c<<1,e):a.D[c]=e}l.ca=function(a,c){if(this.d[a>>>17])this.u[a>>>17](a,c);else this.b[a]=c,this.b[a+1|0]=c>>8,this.b[a+2|0]=c>>16,this.b[a+3|0]=c>>24};function Rb(a,c,e){a.d[c>>>15]?(c=c<<2,a.u[c>>>17](c,e)):a.gb[c]=e};function bd(a){this.memory=a.memory;this.b=[{Ja:0,count:0},{Ja:0,count:0},{Ja:0,count:0},{Ja:0,count:0}];this.d=0;a=a.o;Y(a,4,this,this.pe.bind(this,4));Y(a,5,this,this.pe.bind(this,5));Y(a,10,this,this.$f);Y(a,11,this,this.ag);Y(a,12,this,this.bg);Y(a,129,this,this.Zf);this.ia=[this.memory]}l=bd.prototype;l.pe=function(a,c){if(8>a){var e=a>>1;a&1?this.b[e].count=Wd(this,this.b[e].count,c):this.b[e].Ja=Wd(this,this.b[e].Ja,c)}};l.$f=function(){};l.ag=function(){};l.bg=function(){this.d=0};
l.Zf=function(a){this.b[2].Ja=this.b[2].Ja&65535|a<<16};function Td(a,c,e,f){var g=a.b[2].count+1,h=a.b[2].Ja;if(e+g>c.byteLength)f(!0);else{var k=a.memory;a.b[2].Ja+=g;c.get(e,g,function(a){k.b.set(a,h);f(!1)})}}l.ld=function(a,c,e,f,g){e=this.b[f].count;var h=this.b[f].Ja;c+e>a.byteLength?g(!0):(this.b[f].Ja+=e,a.set(c,new Uint8Array(this.memory.buffer,h,e+1),function(){g(!1)}))};function Wd(a,c,e){a.d^=1;return a.d?c&-256|e:c&-65281|e<<8};function jd(a){this.R=a.H.R;this.i=Date.now();this.d=new Uint8Array(4);this.l=new Uint8Array(4);this.D=new Uint8Array(4);this.I=new Uint8Array(4);this.p=new Uint8Array(4);this.u=new Uint16Array(3);this.nb=new Uint16Array(3);this.b=new Uint16Array(3);this.Ld=0;X(a.o,97,this,function(){var a=Aa();return(66.66666666666667*a&1)<<4|(a-this.Ld>=this.nb[2]/1193.1816666)<<5});X(a.o,64,this,function(){return Xd(this,0)});X(a.o,65,this,function(){return Xd(this,1)});X(a.o,66,this,function(){return Xd(this,
2)});Y(a.o,64,this,function(a){Yd(this,0,a)});Y(a.o,65,this,function(a){Yd(this,1,a)});Y(a.o,66,this,function(a){Yd(this,2,a)});Y(a.o,67,this,this.Q);this.ia=[this.R]}jd.prototype.bb=function(a,c){var e,f;e=1193.1816666*(a-this.i)>>>0;if(!e)return 0;this.i+=e/1193.1816666;var g=100;if(!c&&this.l[0])if(e=this.b[0]-=e,0>=e)if(g=0,this.R.G(0),f=this.D[0],0===f)this.l[0]=0,this.b[0]=0;else{if(3===f||2===f)this.b[0]=this.nb[0]+e%this.nb[0]}else g=e/1193.1816666;return g};
function Xd(a,c){var e=a.p[c];if(e)return a.p[c]--,2===e?a.u[c]&255:a.u[c]>>8;e=a.d[c];3===a.D[c]&&(a.d[c]^=1);return e?a.b[c]&255:a.b[c]>>8}function Yd(a,c,e){a.nb[c]=a.d[c]?a.nb[c]&-256|e:a.nb[c]&255|e<<8;3===a.I[c]&&a.d[c]||(a.nb[c]||(a.nb[c]=65535),a.b[c]=a.nb[c],a.l[c]=!0);3===a.I[c]&&(a.d[c]^=1)}jd.prototype.Q=function(a){var c=a>>1&7,e=a>>6&3;a=a>>4&3;3!==e&&(0===a?(this.p[e]=2,this.u[e]=this.b[e]):(6<=c&&(c&=-5),this.d[e]=1===a?0:1,this.D[e]=c,this.I[e]=a,2===e&&(this.Ld=Aa())))};function dd(a,c,e){this.s=c;this.xa=e;this.l=0;this.Uc=14;this.Tc=15;this.$=80;this.jb=25;this.p=this.Fd=this.Zc=0;this.Gb=!0;this.sb=!1;this.Qb=new Int32Array(256);this.da=this.ha=this.X=this.Q=this.I=this.D=0;this.Fc=80;this.ec=!1;this.zc=32;this.Ea=0;this.dc=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.Jb=144;this.cc=[];Cd(a.H.Nc,this);this.na={ae:!1,mg:0,ng:0,Oe:0};this.Ma=this.u=0;this.i=-1;
this.Cd=new Uint8Array(16);this.Cb=-1;this.d=15;this.Gd=0;this.ib=-1;this.Wc=this.Vc=this.Xc=0;this.b=255;this.Dd=0;this.Yc=this.Ed=255;a=a.o;Y(a,960,this,this.wf);X(a,960,this,this.ne,this.vf);X(a,961,this,this.oe);Y(a,962,this,this.xf);a.wc(964,this,this.zf,this.Bf);X(a,964,this,this.yf);X(a,965,this,this.Af);a.wc(974,this,this.Hf,this.Jf);X(a,974,this,this.Gf);X(a,975,this,this.If);Y(a,967,this,this.Cf);Y(a,968,this,this.Df);Y(a,969,this,this.Ef);X(a,972,this,this.Ff);a.wc(980,this,this.Kf,this.Mf);
X(a,981,this,this.Lf);X(a,986,this,this.Nf);this.Za=-1;this.Da=0;Y(a,462,this,void 0,this.sf);Y(a,463,this,void 0,this.uf);X(a,463,this,void 0,this.tf);void 0===this.xa||262144>this.xa?this.xa=262144:this.xa&65535&&(this.xa|=65535,this.xa++);this.fa=new Uint8Array(this.xa);this.ta=this.xa;this.sa=0;this.jd=void 0;c.register("screen-tell-buffer",function(a){this.jd=a[0]},this);c.register("screen-fill-buffer",function(){if(this.sb&&this.jd&&!(this.sa<this.ta)){var a=0,c=0;this.ec?a=this.zc:this.Gb?
a=8:(a=8,c=262144);var e=this.jd,f=this.ta,v=this.sa;switch(a){case 32:for(var x=f>>2,A=(v>>2)+1,a=x;a<A;a++)v=this.xd[a],e[a]=v<<16|v>>16&255|v&65280|4278190080;break;case 24:for(var x=f/3|0,A=(v/3|0)+1,H=3*x,a=x;H<v;a++){var O=this.fa[H++],c=this.fa[H++],f=this.fa[H++];e[a]=O<<16|c<<8|f|4278190080}break;case 16:x=f>>1;A=(v>>1)+1;for(a=x;a<A;a++)v=this.ye[a],f=255*(v>>11)/31|0,c=255*(v>>5&63)/63|0,O=255*(v&31)/31|0,e[a]=O<<16|c<<8|f|4278190080;break;case 8:for(x=f-c,A=v-c+1,a=f;a<v;a++)f=this.Qb[this.fa[a]],
e[a-c]=f&65280|f<<16|f>>16|4278190080}this.ta=this.xa;this.sa=0;this.s.send("screen-fill-buffer-end",[x,A])}},this);this.Va();var f=this;md(a,655360,131072,function(a){a-=655360;!f.sb||f.Gb?(a|=f.Ea,a=f.fa[a]):(a&=65535,f.D=f.zb[a],f.I=f.Ab[a],f.Q=f.Rb[a],f.X=f.Bb[a],a=f.ka[f.Xc<<16|a]);return a},function(a,c){var e;e=a-655360;if(f.sb)if(f.Gb){var m=e,m=m|f.Ea;f.ta=m<f.ta?m:f.ta;f.sa=m>f.sa?m:f.sa;f.fa[m]=c}else{if(!(65535<e)){var v,x,A,H=f.Vc&3;0===H?m=v=x=A=c:2===H&&(f.d&1&&(m=f.D&~f.b|(c&1?255:
0)&f.b),f.d&2&&(v=f.I&~f.b|(c&2?255:0)&f.b),f.d&4&&(x=f.Q&~f.b|(c&4?255:0)&f.b),f.d&8&&(A=f.X&~f.b|(c&8?255:0)&f.b));if(0===H||2===H){switch(f.Wc&24){case 8:m&=f.D;v&=f.I;x&=f.Q;A&=f.X;break;case 16:m|=f.D;v|=f.I;x|=f.Q;A|=f.X;break;case 24:m^=f.D,v^=f.I,x^=f.Q,A^=f.X}f.d&1&&(m=f.D&~f.b|m&f.b);f.d&2&&(v=f.I&~f.b|v&f.b);f.d&4&&(x=f.Q&~f.b|x&f.b);f.d&8&&(A=f.X&~f.b|A&f.b)}else 1===H&&(m=f.D,v=f.I,x=f.Q,A=f.X);f.d&1?f.zb[e]=m:m=f.zb[e];f.d&2?f.Ab[e]=v:v=f.Ab[e];f.d&4?f.Rb[e]=x:x=f.Rb[e];f.d&8?f.Bb[e]=
A:A=f.Bb[e];if(!(e>=f.Zc*f.Fd<<3))for(v<<=1,x<<=2,A<<=3,e=e<<3|7,H=e+262144,f.ta=H-7<f.ta?H-7:f.ta,f.sa=H>f.sa?H:f.sa,H=0;8>H;H++)f.fa[e+262144]=f.Cd[m>>H&1|v>>H&2|x>>H&4|A>>H&8],e--}}else m=e,98304>m||(x=(m-98304>>1)-f.p,v=x/f.$|0,x%=f.$,m&1?(e=c,A=f.ka[m&-2]):(A=c,e=f.ka[m|1]),f.s.send("screen-put-char",[v,x,A,f.Qb[e>>4&15],f.Qb[e&15]]),f.ka[m]=c)});md(a,3758096384,this.xa,function(a){return f.fa[a&268435455]},function(a,c){var e;e=a&268435455;f.fa[e]=c;f.ta=e<f.ta?e:f.ta;f.sa=e>f.sa?e:f.sa},function(a){a&=
268435455;return a&3?f.fa[a]|f.fa[a+1]<<8|f.fa[a+2]<<16|f.fa[a+3]<<24:f.xd[a>>2]},function(a,c){var e;e=a&268435455;f.ta=e<f.ta?e:f.ta;f.sa=e+3>f.sa?e+3:f.sa;f.fa[e]=c;f.fa[e+1]=c>>8;f.fa[e+2]=c>>16;f.fa[e+3]=c>>24})}l=dd.prototype;
l.Va=function(){this.ye=new Uint16Array(this.fa.buffer);this.xd=new Int32Array(this.fa.buffer);this.ka=new Uint8Array(this.fa.buffer,0,262144);this.zb=new Uint8Array(this.fa.buffer,0,65536);this.Ab=new Uint8Array(this.fa.buffer,65536,65536);this.Rb=new Uint8Array(this.fa.buffer,131072,65536);this.Bb=new Uint8Array(this.fa.buffer,196608,65536);this.ia=[this.s,this.ye,this.xd,this.ka,this.zb,this.Ab,this.Rb,this.Bb];this.s.send("screen-set-mode",this.sb);this.sb?this.yc(this.ha,this.da,this.zc):(this.Nb(this.$,
this.jb),this.Ec(),this.Dc());Zd(this)};l.Dc=function(){var a=(this.l-this.p)/this.$|0,c=(this.l-this.p)%this.$,a=Math.min(this.jb-1,a);this.s.send("screen-update-cursor",[a,c])};function Zd(a){if(a.sb)a.ta=a.xa,a.sa=0;else for(var c=98304|a.p<<1,e,f,g=0;g<a.jb;g++)for(var h=0;h<a.$;h++)e=a.ka[c],f=a.ka[c|1],a.s.send("screen-put-char",[g,h,e,a.Qb[f>>4&15],a.Qb[f&15]]),c+=2}l.Wa=function(){};l.Nb=function(a,c){this.$=a;this.jb=c;this.s.send("screen-set-size-text",[a,c])};
l.yc=function(a,c,e){this.Zc=a;this.Fd=c;this.na.Oe=e;this.na.ae=!0;this.na.mg=a;this.na.ng=c;this.s.send("screen-set-size-graphical",[a,c,e])};l.Ec=function(){this.s.send("screen-update-cursor-scanline",[this.Uc,this.Tc])};function $d(a,c){var e=!1,f=0,g=0;switch(c){case 3:a.Nb(a.Fc,25);break;case 16:f=640;g=350;e=!0;a.Gb=!1;break;case 18:f=640;g=480;e=!0;a.Gb=!1;break;case 19:f=320,g=200,e=!0,a.Gb=!0}a.s.send("screen-set-mode",e);(a.na.ae=e)&&a.yc(f,g,8);a.sb=e}
l.wf=function(a){-1===this.i?this.i=a:(16>this.i&&(this.Cd[this.i]=a),this.i=-1)};l.ne=function(){var a=this.i;this.i=-1;return a};l.vf=function(){return this.ne()&255|this.oe()<<8&65280};l.oe=function(){return this.i=-1};l.xf=function(a){this.Ed=a;103===a?$d(this,3):227===a?$d(this,18):99===a?$d(this,19):163===a?$d(this,16):$d(this,3)};l.zf=function(a){this.Cb=a};l.yf=function(){return this.Cb};l.Bf=function(a){switch(this.Cb){case 2:this.d=a;break;case 4:this.Gd=a}};
l.Af=function(){switch(this.Cb){case 2:return this.d;case 4:return this.Gd;case 6:return 18}return 0};l.Cf=function(){};l.Df=function(a){this.Ma=3*a};l.Ef=function(a){var c=this.Ma/3|0,e=this.Ma%3,f=this.Qb[c];a=255*a/63&255;this.Qb[c]=0===e?f&-16711681|a<<16:1===e?f&-65281|a<<8:f&-256|a;this.Ma++};l.Ff=function(){return this.Ed};l.Hf=function(a){this.ib=a};l.Gf=function(){return this.ib};
l.Jf=function(a){switch(this.ib){case 3:this.Wc=a;break;case 4:this.Xc=a;break;case 5:this.Vc=a;break;case 8:this.b=a}};l.If=function(){switch(this.ib){case 3:return this.Wc;case 4:return this.Xc;case 5:return this.Vc;case 8:return this.b}return 0};l.Kf=function(a){this.u=a};
l.Mf=function(a){switch(this.u){case 2:this.Fc=a;break;case 9:this.Dd=a;7===(a&31)?this.Nb(this.Fc,50):this.Nb(this.Fc,25);break;case 10:this.Uc=a;this.Ec();break;case 11:this.Tc=a;this.Ec();break;case 12:this.p=this.p&255|a<<8;Zd(this);break;case 13:this.p=this.p&65280|a;Zd(this);break;case 14:this.l=this.l&255|a<<8;this.Dc();break;case 15:this.l=this.l&65280|a,this.Dc()}};
l.Lf=function(){return 9===this.u?this.Dd:10===this.u?this.Uc:11===this.u?this.Tc:14===this.u?this.l>>8:15===this.u?this.l&255:0};l.Nf=function(){this.Yc^=8;this.i=-1;return this.Yc};l.sf=function(a){this.Za=a};
l.uf=function(a){switch(this.Za){case 1:this.ha=a;2560<this.ha&&(this.ha=2560);break;case 2:this.da=a;1600<this.da&&(this.da=1600);break;case 3:this.zc=a;break;case 4:this.ec=1===(a&1);this.Da=a;break;case 5:this.Ea=a<<16;break;case 9:Zd(this)}!this.ec||this.ha&&this.da||(this.ec=!1);this.ec&&4===this.Za&&(this.yc(this.ha,this.da,this.zc),this.s.send("screen-set-mode",!0),this.Gb=this.sb=!0);this.ec||(this.Ea=0)};l.tf=function(){return ae(this,this.Za)};
function ae(a,c){switch(c){case 0:return 45248;case 1:return a.Da&2?2560:a.ha;case 2:return a.Da&2?1600:a.da;case 3:return a.Da&2?32:a.zc;case 4:return a.Da;case 5:return a.Ea>>>16;case 6:return a.Zc;case 8:return 0;case 10:return a.xa/65536|0}return 255};function fd(a,c){this.R=a.H.R;this.q=a;this.s=c;this.gc=this.Wb=!1;this.rc=this.ub=this.tb=0;this.Q=this.I=this.p=this.D=this.X=this.u=this.od=!1;this.aa=new Bd(32);this.l=0;this.xc=100;this.Pc=4;this.i=!1;this.de=-1;this.b=new Bd(32);this.s.register("keyboard-code",function(a){this.od&&(this.aa.push(a),be(this))},this);this.s.register("mouse-click",function(a){this.gc&&(this.rc=a[0]|a[2]<<1|a[1]<<2,this.Wb&&ce(this,0,0))},this);this.s.register("mouse-delta",function(a){var c=a[1];if(this.gc){var g=
this.Pc*this.xc/80;this.tb+=a[0]*g;this.ub+=c*g;this.Wb&&(a=this.tb|0,c=this.ub|0,!a&&!c||Date.now()-this.de<1E3/this.xc||(this.tb-=a,this.ub-=c,ce(this,a,c)))}},this);this.s.register("mouse-wheel",function(){},this);this.d=5;this.$=this.da=!1;X(a.o,96,this,this.Vf);X(a.o,100,this,this.Xf);Y(a.o,96,this,this.Wf);Y(a.o,100,this,this.Yf);this.ia=[this.s,this.R,this.q]}l=fd.prototype;l.Va=function(){this.s.send("mouse-enable",this.gc)};function de(a){a.d&2&&a.R.G(12)}function be(a){a.d&1&&a.R.G(1)}
function ce(a,c,e){var f=(0>e)<<5|(0>c)<<4|8|a.rc;a.de=Date.now();a.i&&(c=he(c),e=he(e));a.b.push(f);a.b.push(c);a.b.push(e);de(a)}function he(a){var c=a>>31;switch(Math.abs(a)){case 0:case 1:case 3:return a;case 2:return c;case 4:return 6*c;case 5:return 9*c;default:return a<<1}}l.Wa=function(){};
l.Vf=function(){if(!this.aa.length&&!this.b.length)return this.l;(this.aa.length&&this.b.length?0!==(this.R.W&2):this.aa.length)?(this.l=this.aa.shift(),1<=this.aa.length&&be(this)):(this.l=this.b.shift(),1<=this.b.length&&de(this));return this.l};l.Xf=function(){var a=16;if(this.b.length||this.aa.length)a|=1;this.b.length&&(a|=32);return a};
l.Wf=function(a){if(this.$)be(this),this.d=a,this.$=!1;else if(this.da)this.da=!1,this.b.clear(),this.b.push(a),de(this);else if(this.X)this.X=!1,this.b.clear(),this.b.push(250),this.xc=a,de(this);else if(this.Q)this.Q=!1,this.b.clear(),this.b.push(250),this.Pc=3<a?4:1<<a,de(this);else if(this.D)this.D=!1,this.aa.push(250),be(this);else if(this.p)this.p=!1,this.aa.push(250),be(this),a||this.aa.push(2);else if(this.I)this.I=!1,this.aa.push(250),be(this);else if(this.u){this.u=!1;this.aa.clear();this.b.clear();
this.b.push(250);switch(a){case 230:this.i=!1;break;case 231:this.i=!0;break;case 232:this.Q=!0;break;case 233:ce(this,0,0);break;case 242:this.b.push(0);this.b.push(0);this.rc=this.tb=this.ub=0;break;case 243:this.X=!0;break;case 244:this.gc=this.Wb=!0;this.s.send("mouse-enable",!0);this.rc=this.tb=this.ub=0;break;case 245:this.Wb=!1;break;case 246:this.Wb=!1;this.xc=100;this.i=!1;this.Pc=4;break;case 255:this.b.push(170),this.b.push(0),this.gc=!0,this.s.send("mouse-enable",!0),this.Wb=!1,this.xc=
100,this.i=!1,this.Pc=4,this.rc=this.tb=this.ub=0}de(this)}else{this.b.clear();this.aa.clear();this.aa.push(250);switch(a){case 237:this.D=!0;break;case 240:this.p=!0;break;case 242:this.aa.push(171);this.aa.push(83);break;case 243:this.I=!0;break;case 244:this.od=!0;break;case 245:this.od=!1;break;case 255:this.aa.clear(),this.aa.push(250),this.aa.push(170),this.aa.push(0)}be(this)}};
l.Yf=function(a){switch(a){case 32:this.aa.clear();this.b.clear();this.aa.push(this.d);break;case 96:this.$=!0;break;case 211:this.da=!0;break;case 212:this.u=!0;break;case 167:this.d|=32;break;case 168:this.d&=-33;break;case 169:this.aa.clear();this.b.clear();this.aa.push(0);break;case 170:this.aa.clear();this.b.clear();this.aa.push(85);break;case 171:this.aa.clear();this.b.clear();this.aa.push(0);break;case 173:this.d|=16;break;case 174:this.d&=-17;break;case 254:throw a=this.q,a.reset(),Vc(a),
233495534;}};function Yc(a,c){this.Qa=this.W=this.rd=this.Mc=0;this.d=void 0===c;this.b=void 0;this.pd=!1;this.state=0;this.bd=this.se=1;this.d?(this.b=new Yc(a,this),this.Gc=function(){var c=this.Qa&this.Mc;if(!c)return this.b.Gc();c&=-c;if(this.W&&(this.W&-this.W)<=c)return!1;var e=ud(c),c=1<<e;this.Qa&=~c;if(4===c)return this.b.Gc();this.bd||(this.W|=c);a.V=a.k;oc(a,this.rd|e,!1,!1);return!0}):this.Gc=function(){var e=this.Qa&this.Mc;if(!e)return!1;e&=-e;if(this.W&&(this.W&-this.W)<=e)return!1;var g=ud(e),
e=1<<g;this.Qa&=~e;this.W|=e;a.V=a.k;oc(a,this.rd|g,!1,!1);this.Qa&&c.G(2);this.bd||(this.W&=~e);return!0};this.i=function(){this.d&&this.b.i()};var e;e=this.d?32:160;Y(a.o,e,this,function(a){if(a&16)this.pd=a&1,this.state=1;else if(a&8)this.se=a&1;else{var c=a>>5;1===c?this.W&=this.W-1:3===c&&(this.W&=~(1<<(a&7)))}});X(a.o,e,this,function(){return this.se?this.Qa:this.W});Y(a.o,e|1,this,function(a){0===this.state?this.pd?(this.pd=!1,this.bd=a&2):this.Mc=~a:1===this.state?(this.rd=a,this.state++):
2===this.state&&(this.state=0)});X(a.o,e|1,this,function(){return~this.Mc&255});this.G=this.d?function(c){8<=c&&(this.b.G(c-8),c=2);this.Qa|=1<<c;jc(a)}:function(a){this.Qa|=1<<a}};function Zc(a){this.q=a;this.R=a.H.R;this.Hc=0;this.Oa=new Uint8Array(256);this.I=this.b=Date.now();this.d=0;this.u=!0;this.Q=!1;this.D=.9765625;this.l=38;this.i=2;this.p=0;Y(a.o,112,this,function(a){this.Hc=a&127});Y(a.o,113,this,this.$);X(a.o,113,this,this.X);this.ia=[this.q,this.R]}Zc.prototype.bb=function(a){this.b+=a-this.I;this.I=a;return this.Q&&this.u&&this.d<a?(this.u=!1,this.R.G(8),this.p|=64,this.d+=this.D*Math.ceil((a-this.d)/this.D),Math.max(0,a-this.d)):100};
function ie(a,c){var e;if(a.i&4)e=c;else{e=c;for(var f=0,g=0,h;e;)h=e%10,g|=h<<4*f,f++,e=(e-h)/10;e=g}return e}
Zc.prototype.X=function(){switch(this.Hc){case 0:return ie(this,(new Date(this.b)).getUTCSeconds());case 2:return ie(this,(new Date(this.b)).getUTCMinutes());case 4:return ie(this,(new Date(this.b)).getUTCHours());case 7:return ie(this,(new Date(this.b)).getUTCDate());case 8:return ie(this,(new Date(this.b)).getUTCMonth()+1);case 9:return ie(this,(new Date(this.b)).getUTCFullYear()%100);case 10:return this.l;case 11:return this.i;case 12:return this.u=!0,this.p;case 13:return 255;case 50:return ie(this,
(new Date(this.b)).getUTCFullYear()/100|0);default:return this.Oa[this.Hc]}};Zc.prototype.$=function(a){switch(this.Hc){case 10:this.l=a&127;this.D=1E3/(32768>>(this.l&15)-1);break;case 11:this.i=a,this.i&64&&(this.d=Date.now())}this.Q=64===(this.i&64)&&0<(this.l&15)};function gd(a,c,e){this.s=e;this.R=a.H.R;this.Hb=this.ac=this.Ub=this.eb=0;this.Ka=1;this.b=this.ve=this.pf=this.je=0;this.input=new Bd(4096);this.gd=[];if(1E3===c||1016===c)this.b=4;else if(1E3===c||1E3===c)this.b=3;else return;this.s.register("serial0-input",function(a){this.input.push(a);this.eb|=4096;this.Hb&1&&je(this)},this);a=a.o;Y(a,c,this,function(a){if(this.ac&128)this.Ub=this.Ub&-256|a;else if(ke(this),255!==a){var c=String.fromCharCode(a);this.s.send("serial0-output-char",c);this.gd.push(a);
"\n"===c&&(this.s.send("serial0-output-line",String.fromCharCode.apply("",this.gd)),this.gd=[])}});Y(a,c|1,this,function(a){this.ac&128?this.Ub=this.Ub&255|a<<8:(this.Hb=a,le(this))});X(a,c,this,function(){if(this.ac&128)return this.Ub&255;var a=this.input.shift();this.input.length&&je(this);return a});X(a,c|1,this,function(){return this.ac&128?this.Ub>>8:this.Hb});X(a,c|2,this,function(){var a=this.Ka&15|192;2===this.Ka?me(this,2):12===this.Ka&&me(this,12);return a});Y(a,c|2,this,function(){});X(a,
c|3,this,function(){return this.ac});Y(a,c|3,this,function(a){this.ac=a});X(a,c|4,this,function(){return this.je});Y(a,c|4,this,function(a){this.je=a});X(a,c|5,this,function(){var a=0;this.input.length&&(a|=1);return a|96});Y(a,c|5,this,function(){});X(a,c|6,this,function(){return this.pf});Y(a,c|6,this,function(){});X(a,c|7,this,function(){return this.ve});Y(a,c|7,this,function(a){this.ve=a});this.ia=[this.s,this.R]}gd.prototype.G=function(){this.R.G(this.b)};
function me(a,c){a.eb&=~(1<<c);a.Ka=1;c===a.Ka&&le(a)}function je(a){a.eb|=4096;a.Hb&1&&6!=a.Ka&&4!=a.Ka&&(a.Ka=12,a.G())}function ke(a){a.eb|=4;a.Hb&2&&(a.Ka&1||0==a.Ka||2==a.Ka)&&(a.Ka=2,a.G())}function le(a){a.eb&4096&&a.Hb&1?je(a):a.eb&4&&a.Hb&2?ke(a):a.Ka=1};function cd(){};function ne(a){this.message=a}ne.prototype=Error();
function oe(a,c){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.constructor===Object){for(var e=Object.keys(a),f={},g=0;g<e.length;g++){var h=e[g];f[h]=oe(a[h],c)}return f}if(a.BYTES_PER_ELEMENT)return{Hd:a.constructor.name,cd:c.push(a.buffer)-1};if(a instanceof ArrayBuffer)return{Hd:"ArrayBuffer",cd:c.push(a)-1};var k;a.ia&&(k=a.ia.slice(),k.push(a.ia));e=Object.keys(a);f={};g=0;a:for(;g<e.length;g++){var h=e[g],m=a[h];if("function"!==typeof m){if(k&&"object"===typeof m&&m)for(var v=
0;v<k.length;v++)if(k[v]===m)continue a;f[h]=oe(m,c)}}return f}
function pe(a,c,e){if("object"!==typeof c||c instanceof Array||null===c)return c;var f=c.Hd;if(void 0===f){for(var f=Object.keys(c),g=0;g<f.length;g++){var h=f[g];a[h]=pe(a[h],c[h],e)}a.Va&&a.Va();return a}if("ArrayBuffer"===f)return c=e.Zd[c.cd],a&&a.byteLength===c.length&&(new Uint8Array(a)).set(new Uint8Array(e.qd,c.offset,c.length)),a;f={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array,
Float64Array:Float64Array}[f];c=e.Zd[c.cd];return a&&a.constructor===f&&0===a.byteOffset&&a.byteLength===c.length?((new Uint8Array(a.buffer)).set(new Uint8Array(e.qd,c.offset,c.length),a.byteOffset),a):new f(e.qd.slice(c.offset,c.offset+c.length))}
function qe(a,c){var e=c.byteLength;if(16>e)throw new ne("Invalid length: "+e);var f=new Int32Array(c,0,4);if(-2039052682!==f[0])throw new ne("Invalid header: "+zd(f[0]>>>0));if(0!==f[1])throw new ne("Version mismatch: dump="+f[1]+" we=0");if(f[2]!==e)throw new ne("Length doesn't match header: real="+e+" header="+f[2]);f=f[3];if(0>f||f+12>=e||f%2)throw new ne("Invalid info block length: "+f);for(var g=f/2,h=new Uint16Array(c,16,g),k="",e=0;e<g-8;)k+=String.fromCharCode(h[e++],h[e++],h[e++],h[e++],
h[e++],h[e++],h[e++],h[e++]);for(;e<g;)k+=String.fromCharCode(h[e++]);g=JSON.parse(k);f=16+f;h=g.Pe;for(e=0;e<h.length;e++)h[e].offset+=f;pe(a,g.state,{qd:c,Zd:h})};function kd(a,c){this.R=a.H.R;this.s=c;this.s.register("net0-receive",function(a){if(!(this.r&1)){this.s.send("eth-receive-end",[a.length]);if(60>a.length){var c=a;a=new Uint8Array(60);a.set(c)}var c=this.ic<<8,e=a.length+4,f=c+4,v=this.ic+1+(e>>8);if(c+e>this.memory.length){var x=this.memory.length-f;this.memory.set(a.subarray(0,x),f);this.memory.set(a.subarray(x),76)}else this.memory.set(a,f);v>=this.Kb&&(v+=this.Oc-this.Kb);this.memory[c]=1;this.memory[c+1]=v;this.memory[c+2]=e;this.memory[c+3]=
e>>8;this.ic=v;re(this,1)}},this);this.dc=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.Jb=40;this.cc=[{size:2048}];Cd(a.H.Nc,this);this.Yd=this.W=0;this.r=1;this.Be=this.Cc=this.qb=this.hd=0;this.memory=new Uint8Array(32768);for(var e=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0],f=0;6>f;f++)this.memory[f<<1]=this.memory[f<<1|1]=e[f];this.Sa=0;this.Oc=64;this.Kb=128;this.Id=
this.ic=76;e=a.o;X(e,47104,this,function(){return this.r});Y(e,47104,this,function(a){this.r=a&-5;!(this.r&1)&&a&4&&(a=this.Be<<8,a=this.memory.subarray(a,a+this.Cc),this.s.send("net0-send",a),this.s.send("eth-transmit-end",[a.length]),re(this,2),0===this.qb&&re(this,64))});X(e,47117,this,function(){return 0});X(e,47118,this,function(){return 0});X(e,47119,this,function(){return 0});X(e,47135,this,function(){0===(this.r&192)&&re(this,128);return 0});Y(e,47135,this,function(){});Y(e,47105,this,function(a){0===
(this.r&192)&&(this.Oc=a)});Y(e,47106,this,function(a){0===(this.r&192)&&(this.Kb=a)});X(e,47111,this,function(){return 0===(this.r&192)?this.W:this.ic});Y(e,47111,this,function(a){0===(this.r&192)?this.W&=~a:this.ic=a});Y(e,47117,this,function(){});Y(e,47118,this,function(a){0===(this.r&192)&&(this.hd=a)});Y(e,47114,this,function(a){0===(this.r&192)&&(this.qb=this.qb&65280|a&255)});Y(e,47115,this,function(a){0===(this.r&192)&&(this.qb=this.qb&255|a<<8&65280)});Y(e,47112,this,function(a){0===(this.r&
192)&&(this.Sa=this.Sa&65280|a&255)});Y(e,47113,this,function(a){0===(this.r&192)&&(this.Sa=this.Sa&255|a<<8&65280)});Y(e,47119,this,function(a){0===(this.r&192)&&(this.Yd=a)});X(e,47107,this,function(){return 0===(this.r&192)?this.Id:0});Y(e,47107,this,function(a){0===(this.r&192)&&(this.Id=a)});X(e,47108,this,function(){return 0===(this.r&192)?35:0});Y(e,47108,this,function(a){0===(this.r&192)&&(this.Be=a)});Y(e,47109,this,function(a){0===(this.r&192)&&(this.Cc=this.Cc&-256|a)});Y(e,47110,this,
function(a){0===(this.r&192)&&(this.Cc=this.Cc&255|a<<8)});X(e,47116,this,function(){return 0===(this.r&192)?9:0});X(e,47120,this,this.b,this.b,this.i);Y(e,47120,this,this.d,this.d,this.l);this.ia=[this.s,this.R]}function re(a,c){a.W|=c;a.Yd&c&&a.R.G(11)}function se(a,c){a.qb--;a.memory[a.Sa++]=c;a.Sa>=a.Kb<<8&&(a.Sa+=a.Oc-a.Kb<<8);0===a.qb&&re(a,64)}kd.prototype.d=function(a){se(this,a);this.hd&1&&se(this,a>>8)};kd.prototype.l=function(a){se(this,a);se(this,a>>8);se(this,a>>16);se(this,a>>24)};
function te(a){var c=a.memory[a.Sa++];a.qb--;a.Sa>=a.Kb<<8&&(a.Sa+=a.Oc-a.Kb<<8);0===a.qb&&re(a,64);return c}kd.prototype.b=function(){return this.hd&1?te(this)|te(this)<<8:te(this)};kd.prototype.i=function(){return te(this)|te(this)<<8|te(this)<<16|te(this)<<24};function ld(a,c,e){this.dc=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.Jb=48;this.cc=[{size:2048}];Cd(a.H.Nc,this);var f=a.o;X(f,43008,this,void 0,void 0,function(){return 1});Y(f,43012,this,void 0,void 0,function(){});Y(f,43022,this,void 0,function(a){this.wd=a},void 0);X(f,43020,this,void 0,function(){return this.Mb},void 0);X(f,43016,this,void 0,void 0,function(){return 0===this.wd?this.Lb:
0});Y(f,43016,this,void 0,void 0,function(a){this.Lb=a});Y(f,43026,this,function(a){this.kd=a});X(f,43026,this,function(){return this.kd});X(f,43027,this,function(){var a=this.W;this.W=0;return a});Y(f,43024,this,void 0,function(){var a=(this.Lb<<12)+16*this.Mb,c=a+4;this.memory.K(a);for(var a=this.memory.K(a+2),e=this.Mb-1,a=a&e;this.oc!==a;){var f=this.memory.K(c+2*this.oc);ue(this,f);this.oc=this.oc+1&e}});this.R=a.H.R;this.s=c;this.oc=this.W=this.kd=this.wd=0;this.Mb=32;this.Lb=0;this.memory=
a.memory;for(a=0;128>a;a++)X(f,43028+a,this,function(a){return this.va.I[a]}.bind(this,a),void 0,void 0),Y(f,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.va=new ba(e,c);this.va.i=this.b.bind(this);this.ia=[this.memory,this.R,this.s];this.Va=function(){this.va.i=this.b.bind(this)}}ld.prototype.reset=function(){this.oc=this.W=this.kd=this.wd=0;this.Mb=32;this.Lb=0};
function ue(a,c){var e=c,f=a.Lb<<12,g=0,h=[];do{var k=f+16*e,m=a.memory.K(k+12);if(m&2)break;var v=I(a.memory,k),e=I(a.memory,k+4),x=I(a.memory,k+8)>>>0;h.push({$c:v,Le:e,td:x});if(m&1)e=a.memory.K(k+14);else{e=-1;break}}while(1);var A=-1,H=0;ea(a.va,{start:c,next:e},function(){if(H>=A){if(g===h.length)return 0;var a=h[g++];v=a.$c;A=a.td;H=0}return this.memory.L(v+H++)}.bind(a))}
ld.prototype.b=function(a){if(-1!==a.next){var c=this.Mb-1,e=this.va.D,f=a.next,g=this.Lb<<12,h=0,k=[];do{var f=g+16*f,m=this.memory.K(f+12);if(0===(m&2))break;var v=I(this.memory,f),x=I(this.memory,f+4),A=I(this.memory,f+8)>>>0;k.push({$c:v,Le:x,td:A});if(m&1)f=this.memory.K(f+14);else break}while(1);m=-1;for(g=x=0;g<e;g++){f=this.va.l[g];if(x>=m){if(h===k.length)return 0;m=k[h++];v=m.$c;m=m.td;x=0}this.memory.S(v+x++,f)}h=(this.Lb<<12)+16*this.Mb+4+2*this.Mb;h=h+4095&-4096;this.memory.K(h);k=this.memory.K(h+
2);this.memory.ba(h+2,k+1);c=h+4+8*(k&c);this.memory.ca(c,a.start);this.memory.ca(c+4,e);this.W|=1;this.R.G(12)}};function ve(){this.pc={};this.b=void 0}ve.prototype.register=function(a,c,e){var f=this.pc[a];void 0===f&&(f=this.pc[a]=[]);f.push({Td:c,ug:e})};function we(a,c,e){var f=a.pc[c];void 0!==f&&(a.pc[c]=f.filter(function(a){return a.Td!==e}))}ve.prototype.send=function(a,c){if(this.b){var e=this.b.pc[a];if(void 0!==e)for(var f=0;f<e.length;f++){var g=e[f];g.Td.call(g.ug,c)}}};function xe(){var a=new ve,c=new ve;a.b=c;c.b=a;return[a,c]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,c){a[c[0]]=c[1];return a},{});function ac(){};function ye(a){function c(a){return a.shiftKey&&a.ctrlKey&&74===a.keyCode||!v.b?!1:a.target?"phone_keyboard"===a.target.className||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName:!0}function e(a){if(c(a)){var e=a.keyCode;if(!m[e])return!1;m[e]=!1;h(e,!1)||a.preventDefault()}}function f(a){if(c(a)){var e=a.keyCode;m[e]&&h(e,!1);m[e]=!0;h(e,!0)||a.preventDefault()}}function g(){for(var a=Object.keys(m),c,e=0;e<a.length;e++)c=+a[e],m[c]&&h(c,!1);m={}}function h(a,c){if(v.s){if(a>=x.length||
0===x[a])return console.log("Missing char in map: "+a.toString(16)),!0;var e=x[a];c||(e|=128);255<e?(k(e>>8),k(e&255)):k(e);return!1}}function k(a){v.s.send("keyboard-code",a)}var m={},v=this;this.b=!0;var x=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82,
79,80,81,75,76,77,71,72,73,0,0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);this.s=a;this.Wa=function(){window.removeEventListener("keyup",e,!1);window.removeEventListener("keydown",f,!1);window.removeEventListener("blur",g,!1)};this.Pa=function(){"undefined"!==
typeof window&&(this.Wa(),window.addEventListener("keyup",e,!1),window.addEventListener("keydown",f,!1),window.addEventListener("blur",g,!1))};this.Pa()};function ze(a){function c(a){return A.enabled&&A.b&&(!a.target||"mousemove"===a.type||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName)}function e(a){if(A.s&&c(a)){var e;e=a.webkitMovementX||a.mozMovementX||0;a=a.webkitMovementY||a.mozMovementY||0;a=-(.15*a);A.s.send("mouse-delta",[.15*e,a])}}function f(a){c(a)&&a.preventDefault()}function g(a){c(a)&&k(a,!0)}function h(a){c(a)&&k(a,!1)}function k(a,c){A.s&&(1===a.which?m=c:2===a.which?x=c:3===a.which?v=c:console.log("Unknown event.which: "+
a.which),A.s.send("mouse-click",[m,x,v]),a.preventDefault())}var m=!1,v=!1,x=!1,A=this;this.enabled=!1;this.b=!0;this.s=a;this.s.register("mouse-enable",function(a){this.enabled=a},this);this.Wa=function(){window.removeEventListener("mousemove",e,!1);document.removeEventListener("contextmenu",f,!1);window.removeEventListener("mousedown",g,!1);window.removeEventListener("mouseup",h,!1)};this.Pa=function(){"undefined"!==typeof window&&(this.Wa(),window.addEventListener("mousemove",e,!1),document.addEventListener("contextmenu",
f,!1),window.addEventListener("mousedown",g,!1),window.addEventListener("mouseup",h,!1))};this.Pa()};function Ae(a,c){function e(a){h.s&&h.enabled&&(h.i(a.which),a.preventDefault())}function f(a){8===a.which&&(h.i(127),a.preventDefault())}function g(a){if(h.enabled){for(var c=a.clipboardData.getData("text/plain"),e=0;e<c.length;e++)h.i(c.charCodeAt(e));a.preventDefault()}}var h=this;this.enabled=!0;this.s=c;this.d=[];this.l=this.b=!1;this.s.register("serial0-output-char",function(a){this.tg(a)},this);this.Wa=function(){a.removeEventListener("keypress",e,!1);a.removeEventListener("keydown",f,!1);
a.removeEventListener("paste",g,!1)};this.Pa=function(){this.Wa();a.addEventListener("keypress",e,!1);a.addEventListener("keydown",f,!1);a.addEventListener("paste",g,!1);setInterval(function(){this.b&&(this.b=!1,a.value=this.d.join(""),this.l&&(this.l=!1,a.scrollTop=1E9))}.bind(this),16)};this.Pa();this.tg=function(a){"\b"===a?(this.d.pop(),this.b=!0):"\r"!==a&&(this.b=!0,this.d.push(a),"\n"===a&&(this.l=!0))};this.i=function(a){h.s&&h.s.send("serial0-input",a)}};function Be(a,c){this.s=c;this.b=void 0;this.d=[];this.url=a;this.i=Date.now()-1E4;this.s.register("net0-send",function(a){this.send(a)},this)}l=Be.prototype;l.gf=function(a){this.s&&this.s.send("net0-receive",new Uint8Array(a.data))};l.Xd=function(){this.dd();setTimeout(this.dd.bind(this),1E4)};l.hf=function(){for(var a=0;a<this.d.length;a++)this.send(this.d[a]);this.d=[]};l.ff=function(){};l.Wa=function(){this.b&&this.b.close()};
l.dd=function(){if(this.b){var a=this.b.readyState;if(0===a||1===a)return}if(!(this.i+1E4>Date.now())){this.i=Date.now();try{this.b=new WebSocket(this.url)}catch(c){this.Xd()}this.b.binaryType="arraybuffer";this.b.onopen=this.hf.bind(this);this.b.onmessage=this.gf.bind(this);this.b.onclose=this.Xd.bind(this);this.b.onerror=this.ff.bind(this)}};l.send=function(a){this.b&&1===this.b.readyState?this.b.send(a):(this.d.push(a),128<this.d.length&&(this.d=this.d.slice(-64)),this.dd())};(function(){function a(a,c){var e=new XMLHttpRequest;e.open(c.method||"get",a,!0);c.ad||(e.responseType="arraybuffer");if(c.headers)for(var f=Object.keys(c.headers),v=0;v<f.length;v++){var x=f[v];e.setRequestHeader(x,c.headers[x])}e.onload=function(){4===e.readyState&&(200!==e.status&&206!==e.status?console.log("Loading the image `"+a+"` failed"):e.response&&c.done&&c.done(e.response,e))};c.qe&&(e.onprogress=function(a){c.qe(a)});e.send(null)}function c(a,c){this.i=a;this.b=256;this.byteLength=c;
this.d={};this.onprogress=this.onload=void 0}function e(a){this.b=a;this.byteLength=a.size;1073741824<a.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(a.size>>20)+" MB ...");this.buffer=new ArrayBuffer(a.size);this.onprogress=this.onload=void 0}function f(a){this.i=a;this.byteLength=a.size;this.b=256;this.d={};this.onprogress=this.onload=void 0}vd=a;wd=c;xd=f;yd=e;c.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.i,{done:function(a,c){var e=(c.getResponseHeader("Content-Range")||
"").match(/\/(\d+)\s*$/);e?(this.byteLength=+e[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.i+". `Range: bytes=...` header not supported")}.bind(this),headers:{Range:"bytes=0-0"}})};c.prototype.get=function(c,e,f){console.assert(0===c%this.b);console.assert(0===e%this.b);console.assert(e);a(this.i,{done:function(a){a=new Uint8Array(a);this.l(c,e,a);f(a)}.bind(this),headers:{Range:"bytes="+c+"-"+(c+e-1)}})};c.prototype.set=function(a,c,e){console.assert(a+c.byteLength<=this.byteLength);
var f=c.length;console.assert(0===a%this.b);console.assert(0===f%this.b);console.assert(f);a/=this.b;for(var f=f/this.b,v=0;v<f;v++){var x=this.d[a+v];void 0===x&&(x=this.d[a+v]=new Uint8Array(this.b));var A=c.subarray(v*this.b,(v+1)*this.b);x.set(A);console.assert(x.byteLength===A.length)}e()};c.prototype.l=function(a,c,e){a/=this.b;c/=this.b;for(var f=0;f<c;f++){var v=this.d[a+f];v&&e.set(v,f*this.b)}};e.prototype.load=function(){this.d(0)};e.prototype.d=function(a){var c=new FileReader;c.onload=
function(c){c=new Uint8Array(c.target.result);(new Uint8Array(this.buffer,a)).set(c);this.d(a+4194304)}.bind(this);if(this.onprogress)this.onprogress({loaded:a,total:this.byteLength,lengthComputable:!0});if(a<this.byteLength){var e=Math.min(a+4194304,this.byteLength);c.readAsArrayBuffer(this.b.slice(a,e))}else this.b=void 0,this.onload&&this.onload({buffer:this.buffer})};e.prototype.get=function(a,c,e){console.assert(a+c<=this.byteLength);e(new Uint8Array(this.buffer,a,c))};e.prototype.set=function(a,
c,e){console.assert(a+c.byteLength<=this.byteLength);(new Uint8Array(this.buffer,a,c.byteLength)).set(c);e()};f.prototype.load=function(){this.onload&&this.onload({})};f.prototype.get=function(a,c,e){console.assert(0===a%this.b);console.assert(0===c%this.b);console.assert(c);var f=new FileReader;f.onload=function(f){f=new Uint8Array(f.target.result);this.l(a,c,f);e(f)}.bind(this);f.readAsArrayBuffer(this.i.slice(a,a+c))};f.prototype.set=c.prototype.set;f.prototype.l=c.prototype.l})();function Z(a){function c(a,c){switch(a){case "hda":m.Yb=c;break;case "hdb":m.Tg=c;break;case "cdrom":m.Vb=c;break;case "fda":m.Qd=c;break;case "fdb":m.Rd=c;break;case "bios":m.Db=c.buffer;break;case "vga_bios":m.wg=c.buffer;break;case "initial_state":m.$d=c.buffer;break;case "fs9p_json":m.Vd=c.buffer}}function e(a,c){if(c){c={buffer:c.buffer,async:c.async,url:c.url,size:c.size};if("bios"===a||"vga_bios"===a||"initial_state"===a)c.async=!1;if(c.buffer instanceof ArrayBuffer){var e=new Ad(c.buffer);
v.push({name:a,bc:e})}else c.buffer instanceof File?(void 0===c.async&&(c.async=16777216>c.buffer.size),e=c.async?new yd(c.buffer):new xd(c.buffer),v.push({name:a,bc:e})):c.url&&(c.async?(e=new wd(c.url,c.size),v.push({name:a,bc:e})):v.push({name:a,url:c.url,size:c.size}))}}function f(){this.s.send("cpu-init",m);setTimeout(function(){m.$d&&qe(k.q,m.$d);setTimeout(function(){m.rb&&m.Vd&&Ce(m.rb,m.Vd);a.autostart&&this.s.send("cpu-run")}.bind(this),0)}.bind(this),0)}this.ed=!1;var g=xe(),h=this.s=g[0];
this.i=g[1];var k=this.b=new qd(this.i);this.s.register("emulator-stopped",function(){this.ed=!1},this);this.s.register("emulator-started",function(){this.ed=!0},this);var m={mf:!0};m.qc=a.memory_size||67108864;m.xa=a.vga_memory_size||8388608;m.Ne=a.boot_order||531;m.Qd=void 0;m.Rd=void 0;a.network_relay_url&&(new Be(a.network_relay_url,h),m.cf=!0);a.disable_keyboard||(this.l=new ye(h));a.disable_mouse||(this.p=new ze(h));a.screen_container&&(this.d=new aa(a.screen_container,h));a.serial_container&&
new Ae(a.serial_container,h);for(var v=[],g="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),h=0;h<g.length;h++)e(g[h],a[g[h]]);if(a.filesystem&&(g=a.filesystem.basefs,h=a.filesystem.baseurl,this.rb=new De(h),m.rb=this.rb,g)){console.assert(h,"Filesystem: baseurl must be specified");var x;"object"===typeof g&&(x=g.size,g=g.url);v.push({name:"fs9p_json",url:g,size:x,ad:!0})}var A=this,H=v.length,O=function(a){if(a===H)setTimeout(f.bind(this),0);else{var e=v[a];e.bc?(e.bc.onload=function(){c(e.name,
e.bc);O(a+1)},e.bc.load()):vd(e.url,{done:function(f){c(e.name,new Ad(f));O(a+1)},qe:function(c){A.i.send("download-progress",{Pg:a,Og:H,Qg:e.url,lengthComputable:c.lengthComputable,total:e.size||c.total,loaded:c.loaded})},ad:e.ad})}}.bind(this);O(0)}l=Z.prototype;l.He=function(){this.s.send("cpu-run")};l.Je=function(){this.s.send("cpu-stop")};l.Fe=function(){this.s.send("cpu-restart")};l.Ke=function(a,c){this.s.register(a,c,this)};l.lg=function(a,c){we(this.s,a,c)};l.Ge=function(a){qe(this.b.q,a)};
l.Ie=function(a){setTimeout(function(){try{for(var c=[],e=oe(this.b.q,c),f=[],g=0,h=0;h<c.length;h++){var k=c[h].byteLength;f[h]={offset:g,length:k};g+=k;g=g+3&-4}var m=JSON.stringify({Pe:f,state:e}),v=16+2*m.length,e=v+g,x=new ArrayBuffer(e),A=new Int32Array(x,0,4),H=new Uint16Array(x,16,m.length),O=new Uint8Array(x,v);A[0]=-2039052682;A[1]=0;A[2]=e;A[3]=2*m.length;for(h=0;h<m.length;h++)H[h]=m.charCodeAt(h);for(h=0;h<c.length;h++)O.set(new Uint8Array(c[h]),f[h].offset);a(null,x)}catch(U){a(U,null)}}.bind(this),
0)};l.ef=function(){console.warn("V86Starter.prototype.get_statistics is deprecated. Use events instead.");var a={q:{Ug:this.b?this.b.q.O:0}};if(!this.b)return a;var c=this.b.q.H;c.Yb&&(a.Yb=c.Yb.na);c.Vb&&(a.Vb=c.Vb.na);c.vd&&(a.Xg={enabled:c.vd.gc});c.Pb&&(a.Pb=c.Pb.na);return a};l.jf=function(){return this.ed};l.kf=function(a){for(var c=0;c<a.length;c++)this.s.send("keyboard-code",a[c])};l.pg=function(){this.d&&this.d.i()};l.qg=function(a,c){this.d&&this.d.b(a,c)};
l.og=function(){if(this.d){var a=document.getElementById("screen_container");if(a){var c=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;c&&(c.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.fe()}}};l.fe=function(){var a=document.body,c=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;c&&c.call(a)};l.qf=function(a){this.p&&(this.p.b=a)};l.lf=function(a){this.l&&(this.l.b=a)};
l.rg=function(a){for(var c=0;c<a.length;c++)this.s.send("serial0-input",a.charCodeAt(c))};l.Se=function(a,c,e){var f=this.rb;if(f){var g=a.split("/"),g=g[g.length-1];a=Ee(f,a).ea;var h=""===g||-1===a;h||Fe(f,g,a,c);e&&setTimeout(function(){h?e(new Ge):e(null)},0)}};l.hg=function(a,c){var e=this.rb;if(e){var f=Ee(e,a).id;-1===f?c(new Ge,null):(ha(e,f),ia(e,f,function(){var a=e.d[f];a?c(null,a.subarray(0,e.b[f].size)):c(new Ge,null)}))}};function Ge(a){this.message=a||"File not found"}
Ge.prototype=Error.prototype;"undefined"!==typeof window?window.V86Starter=Z:"undefined"!==typeof module&&"undefined"!==typeof module.exports?module.exports.V86Starter=Z:"function"===typeof importScripts&&(self.V86Starter=Z);Z.prototype.run=Z.prototype.He;Z.prototype.stop=Z.prototype.Je;Z.prototype.restart=Z.prototype.Fe;Z.prototype.add_listener=Z.prototype.Ke;Z.prototype.remove_listener=Z.prototype.lg;Z.prototype.restore_state=Z.prototype.Ge;Z.prototype.save_state=Z.prototype.Ie;
Z.prototype.get_statistics=Z.prototype.ef;Z.prototype.is_running=Z.prototype.jf;Z.prototype.keyboard_send_scancodes=Z.prototype.kf;Z.prototype.screen_make_screenshot=Z.prototype.pg;Z.prototype.screen_set_scale=Z.prototype.qg;Z.prototype.screen_go_fullscreen=Z.prototype.og;Z.prototype.lock_mouse=Z.prototype.fe;Z.prototype.mouse_set_status=Z.prototype.qf;Z.prototype.keyboard_set_status=Z.prototype.lf;Z.prototype.serial0_send=Z.prototype.rg;Z.prototype.create_file=Z.prototype.Se;
Z.prototype.read_file=Z.prototype.hg;var oa=16384;function De(a){this.b=[];this.i=[];this.u=a;this.l=this.I=0;this.p=function(){};this.d={};this.D=0;na(this,"",-1);this.ia=[]}function ia(a,c,e){0==a.b[c].status?e():a.i.push({id:c,Ee:e})}function He(a,c){0==a.l&&(a.p=function(){});for(var e=a.i.length-1;0<=e;e--)a.i[e].id==c&&(a.i[e].Ee(),a.i.splice(e,1))}
function Ce(a,c){var e=JSON.parse(c);if(2!==e.version)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";var f=e.fsroot;a.D=e.size;setTimeout(function(){for(var c=0;c<f.length;c++)Ie(a,f[c],0);a.p=function(){}},0)}
function Ie(a,c,e){var f=ja(a);f.name=c[0];f.size=c[1];f.sc=c[2];f.fd=f.sc;f.hc=f.sc;f.mode=c[3];f.uid=c[4];f.wa=c[5];f.ea=e;e=f.mode&61440;if(e===oa)for(c=c[6],f.Ob=!0,e=a.b.length,ka(a,f),f=0;f<c.length;f++)Ie(a,c[f],e);else 32768===e?(f.status=2,ka(a,f)):40960===e&&(f.Ac=c[6],ka(a,f))}function Je(a,c){var e=a.b[c];2==e.status&&(e.status=3,a.l++,a.u&&Ke(a.u+Le(a,e.Sd),function(a){a=this.d[c]=new Uint8Array(a);e.size=a.length;e.status=0;this.l--;He(this,c)}.bind(a),function(a){throw a;}))}
function ka(a,c){if(-1!=c.ea){a.b.push(c);c.Sd=a.b.length-1;var e=a.b[c.ea];e.Ob=!0;c.Ca=e.ya;e.ya=a.b.length-1}else 0==a.b.length&&a.b.push(c)}function Me(a){this.Ob=!1;this.Ca=this.ya=this.ea=-1;this.status=0;this.name="";this.ie=this.he=this.sc=this.hc=this.fd=this.Sd=this.wa=this.uid=this.size=0;this.Ac="";this.mode=493;this.ra={type:0,version:0,path:a};this.oa=void 0}function ja(a){return new Me(++a.I)}
function na(a,c,e){var f=ja(a);f.name=c;f.ea=e;f.mode=511|oa;0<=e&&(f.uid=a.b[e].uid,f.wa=a.b[e].wa,f.mode=a.b[e].mode&511|oa);f.ra.type=oa>>8;ka(a,f);return a.b.length-1}function pa(a,c,e){var f=ja(a);f.name=c;f.ea=e;f.uid=a.b[e].uid;f.wa=a.b[e].wa;f.ra.type=128;f.mode=a.b[e].mode&438|32768;ka(a,f);return a.b.length-1}function ma(a,c,e,f,g){var h=ja(a);h.name=c;h.ea=e;h.he=f;h.ie=g;h.uid=a.b[e].uid;h.wa=a.b[e].wa;h.ra.type=192;h.mode=a.b[e].mode&438;ka(a,h);return a.b.length-1}
function la(a,c,e,f){var g=ja(a);g.name=c;g.ea=e;g.uid=a.b[e].uid;g.wa=a.b[e].wa;g.ra.type=160;g.Ac=f;g.mode=40960;ka(a,g);return a.b.length-1}function Fe(a,c,e,f){c=pa(a,c,e);e=a.b[c];(a.d[c]=new Uint8Array(f.length)).set(f);e.size=f.length}
function ha(a,c){var e=ga(a,c);if((e.mode&61440)==oa){var f=ga(a,c);if(f.Ob){var g=f.ea;-1==g&&(g=0);for(var h=0,k=a.b[c].ya;-1!=k;)h+=24+Ne(a.b[k].name),k=a.b[k].Ca;var h=h+25+26,m=a.d[c]=new Uint8Array(h);f.size=h;h=0;h+=ca(["Q","d","b","s"],[a.b[c].ra,h+13+8+1+2+1,a.b[c].mode>>12,"."],m,h);h+=ca(["Q","d","b","s"],[a.b[g].ra,h+13+8+1+2+2,a.b[g].mode>>12,".."],m,h);for(k=a.b[c].ya;-1!=k;)h+=ca(["Q","d","b","s"],[a.b[k].ra,h+13+8+1+2+Ne(a.b[k].name),a.b[k].mode>>12,a.b[k].name],m,h),k=a.b[k].Ca;f.Ob=
!1}}return 2==e.status?(Je(a,c),!1):!0}function va(a,c){var e=ga(a,c);4==e.status&&(-1==e.status,delete a.d[c],e.size=0)}function sa(a,c,e,f,g){if(c==f&&e==g)return!0;e=ta(a,c,e);if(-1==e)return!1;var h=ta(a,f,g);-1!=h&&ua(a,h);h=a.b[e];if(a.b[h.ea].ya==e)a.b[h.ea].ya=h.Ca;else{var k=Oe(a,e);a.b[k].Ca=h.Ca}h.ea=f;h.name=g;h.ra.version++;h.Ca=a.b[h.ea].ya;a.b[h.ea].ya=e;a.b[c].Ob=!0;return a.b[f].Ob=!0}
function ra(a,c,e,f,g){var h=a.b[c],k=a.d[c];!k||k.length<e+f?(qa(a,c,Math.floor(3*(e+f)/2)),h.size=e+f,k=a.d[c]):h.size<e+f&&(h.size=e+f);for(a=0;a<f;a++)k[e+a]=g()}function ta(a,c,e){for(c=a.b[c].ya;-1!=c;){if(a.b[c].name==e)return c;c=a.b[c].Ca}return-1}function Le(a,c){for(var e="";0!=c;)e="/"+a.b[c].name+e,c=a.b[c].ea;return e.substring(1)}function Oe(a,c){for(var e=ga(a,c),e=a.b[e.ea].ya;-1!=e&&a.b[e].Ca!=c;)e=a.b[e].Ca;return e}
function ua(a,c){if(0==c)return!1;var e=ga(a,c);if((e.mode&61440)==oa&&-1!=e.ya)return!1;if(a.b[e.ea].ya==c)a.b[e.ea].ya=e.Ca;else{var f=Oe(a,c);a.b[f].Ca=e.Ca}a.b[e.ea].Ob=!0;e.status=4;e.Ca=-1;e.ya=-1;e.ea=-1;return!0}function ga(a,c){return isNaN(c)||0>c||c>a.b.length?0:a.b[c]}function qa(a,c,e){var f=ga(a,c),g=a.d[c];if(e!=f.size&&(a=a.d[c]=new Uint8Array(e),f.size=e,g))for(e=Math.min(g.length,f.size),f=0;f<e;f++)a[f]=g[f]}
function Ee(a,c){c=c.replace("//","/");var e=c.split("/"),f=e.length;0==e[f-1].length&&e.pop();0==e[0].length&&e.shift();for(var f=e.length,g=0,h=-1,k=0;k<f;k++){h=ta(a,g,e[k]);if(-1==h)return k<f-1?{id:-1,ea:-1,name:e[k]}:{id:-1,ea:g,name:e[k]};g=h}return{id:h,ea:g,name:e[k]}}
function wa(a,c){var e=ga(a,c);if(e.oa)return e.oa.length;e.oa=new Uint8Array(12);e.oa[0]=0;e.oa[1]=0;e.oa[2]=0;e.oa[3]=1;e.oa[4]=255;e.oa[5]=255;e.oa[6]=255;e.oa[7]=255;e.oa[8]=255;e.oa[9]=255;e.oa[10]=255;e.oa[11]=255;return e.oa.length};function Ke(a,c,e){var f=new XMLHttpRequest;f.open("GET",a,!0);f.responseType="arraybuffer";f.onreadystatechange=function(){if(4==f.readyState)if(200!=f.status&&0!=f.status)e("Error: Could not load file "+a);else{var g=f.response;g?c(g):e("Error: No data received from: "+a)}};f.send(null)};function ca(a,c,e,f){for(var g,h=0,k=0;k<a.length;k++)switch(g=c[k],a[k]){case "w":e[f++]=g&255;e[f++]=g>>8&255;e[f++]=g>>16&255;e[f++]=g>>24&255;h+=4;break;case "d":e[f++]=g&255;e[f++]=g>>8&255;e[f++]=g>>16&255;e[f++]=g>>24&255;e[f++]=0;e[f++]=0;e[f++]=0;e[f++]=0;h+=8;break;case "h":e[f++]=g&255;e[f++]=g>>8;h+=2;break;case "b":e[f++]=g;h+=1;break;case "s":var m=f,v=0;e[f++]=0;e[f++]=0;var h=h+2,x;for(x in g)Pe(g.charCodeAt(x)).forEach(function(a){e[f++]=a;h+=1;v++});e[m+0]=v&255;e[m+1]=v>>8&255;
break;case "Q":ca(["b","w","d"],[g.type,g.version,g.path],e,f),f+=13,h+=13}return h}
function fa(a,c){for(var e=[],f=0;f<a.length;f++)switch(a[f]){case "w":var g=c(),g=g+(c()<<8),g=g+(c()<<16),g=g+(c()<<24>>>0);e.push(g);break;case "d":g=c();g+=c()<<8;g+=c()<<16;g+=c()<<24>>>0;c();c();c();c();e.push(g);break;case "h":g=c();e.push(g+(c()<<8));break;case "b":e.push(c());break;case "s":for(var g=c(),g=g+(c()<<8),h="",k=new Qe,m=0;m<g;m++){var v=k.i(c());-1!=v&&(h+=String.fromCharCode(v))}e.push(h)}return e};function Qe(){this.b=new Uint8Array(5);this.d=0;this.i=function(a){this.b[this.d]=a;this.d++;switch(this.d){case 1:if(128>this.b[0])return this.d=0,this.b[0];break;case 2:if(192==(this.b[0]&224)&&128==(this.b[1]&192))return this.d=0,(this.b[0]&31)<<6|this.b[1]&63}return-1}}function Pe(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function Ne(a){for(var c=0,e=0;e<a.length;e++)c+=128>a.charCodeAt(e)?1:2;return c};})();
;(function(){'use strict';var n;"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame);
function aa(a,b){function e(I){I=I.toString(16);return"#"+Array(7-I.length).join("0")+I}function g(){for(var I=0;I<Tb;I++)La[I]&&(ze.f(I),La[I]=0);this.qb()}function d(){this.B.send("screen-fill-buffer");this.qb()}function h(I,T,ua){T=""+(1===T?"":" scaleX("+T+")")+(1===ua?"":" scaleY("+ua+")");I.style.webkitTransform=I.style.MozTransform=T}console.assert(a,"1st argument must be a DOM container");for(var l=a.getElementsByTagName("canvas")[0],m=l.getContext("2d"),q=l.nextElementSibling||l.previousElementSibling,
w=document.createElement("div"),C,z,L,K,J=1,oa=1,Ua,La,hd=!1,Ma,Va,Tb,ze=this,Ae=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,
9484,9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]),Be=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),id=[],Ub,Qa=0;256>Qa;Qa++)127<Qa?Ub=Ae[Qa-128]:32>Qa?Ub=Be[Qa]:Ub=Qa,id[Qa]=String.fromCharCode(Ub);m.imageSmoothingEnabled=!1;m.mozImageSmoothingEnabled=
!1;w.style.position="absolute";w.style.backgroundColor="#ccc";w.style.width="7px";w.style.display="inline-block";q.style.display="block";l.style.display="none";this.B=b;b.register("screen-set-mode",function(I){this.$g(I)},this);b.register("screen-fill-buffer-end",function(I){this.gh(I[0],I[1])},this);b.register("screen-put-char",function(I){this.Kg(I[0],I[1],I[2],I[3],I[4])},this);b.register("screen-update-cursor",function(I){this.ud(I[0],I[1])},this);b.register("screen-update-cursor-scanline",function(I){this.vd(I[0],
I[1])},this);b.register("screen-set-size-text",function(I){this.pc(I[0],I[1])},this);b.register("screen-set-size-graphical",function(I){this.qd(I[0],I[1])},this);this.cb=function(){this.pc(80,25);this.qb()};this.k=function(){try{window.open(l.toDataURL())}catch(I){}};this.Kg=function(I,T,ua,Wa,ib){I<Tb&&T<Va&&(T=3*(I*Va+T),Ma[T]=ua,Ma[T+1]=Wa,Ma[T+2]=ib,La[I]=1)};this.qb=function(){requestAnimationFrame(hd?d:g)};g=g.bind(this);d=d.bind(this);this.lb=function(){};this.$g=function(I){(hd=I)?(q.style.display=
"none",l.style.display="block"):(q.style.display="block",l.style.display="none")};this.pc=function(I,T){if(I!==Va||T!==Tb){La=new Int8Array(T);Ma=new Int32Array(I*T*3);Va=I;for(Tb=T;q.childNodes.length>T;)q.removeChild(q.firstChild);for(;q.childNodes.length<T;)q.appendChild(document.createElement("div"));for(var ua=0;ua<T;ua++)this.f(ua)}};this.qd=function(I,T){l.style.display="block";l.width=I;l.height=T;C=m.createImageData(I,T);new Uint8Array(C.data.buffer);z=new Int32Array(C.data.buffer);Ua=I;
this.B.send("screen-tell-buffer",[z],[z.buffer])};this.c=function(I,T){J=I;oa=T;h(l,J,oa);h(q,J,oa)};this.c(J,oa);this.vd=function(I,T){I&32?w.style.display="none":(w.style.display="inline",w.style.height=Math.min(15,T-I)+"px",w.style.marginTop=Math.min(15,I)+"px")};this.ud=function(I,T){if(I!==L||T!==K)La[I]=1,La[L]=1,L=I,K=T};this.f=function(I){var T=3*I*Va,ua,Wa,ib,uc,vc,Vb;ua=q.childNodes[I];for(ib=document.createDocumentFragment();ua.firstChild;)ua.removeChild(ua.firstChild);for(var yb=0;yb<
Va;){Wa=document.createElement("span");uc=Ma[T+1];vc=Ma[T+2];Wa.style.backgroundColor=e(uc);Wa.style.color=e(vc);for(Vb="";yb<Va&&Ma[T+1]===uc&&Ma[T+2]===vc;)if(Vb+=id[Ma[T]],yb++,T+=3,I===L)if(yb===K)break;else if(yb===K+1){ib.appendChild(w);break}Wa.textContent=Vb;ib.appendChild(Wa)}ua.appendChild(ib)};this.gh=function(I,T){if(!(T<I)){var ua=I/Ua|0;m.putImageData(C,0,0,0,ua,Ua,(T/Ua|0)-ua+1)}};this.cb()};function ba(a,b){this.S=a;this.B=b;this.ba=function(){};this.k=9;this.m=1;this.Xd=new Uint8Array([6,0,104,111,115,116,57,112]);this.f="9P2000.L";this.Wb=this.c=8192;this.ja=new Uint8Array(2*this.Wb);this.Ld=0;this.J=[]}ba.prototype.za=function(){var a=[];a[0]=this.k;a[1]=this.m;a[2]=this.Xd;a[3]=this.f;a[4]=this.c;a[5]=this.Wb;a[6]=this.ja;a[7]=this.Ld;a[8]=this.J.map(function(b){return[b.T,b.type,b.uid]});return a};
ba.prototype.La=function(a){this.k=a[0];this.m=a[1];this.Xd=a[2];this.f=a[3];this.c=a[4];this.Wb=a[5];this.ja=a[6];this.Ld=a[7];this.J=a[8].map(function(b){return{T:b[0],type:b[1],uid:b[2]}})};function ca(a,b,e,g){da(["w","b","h"],[g+7,b+1,e],a.ja,0);a.Ld=g+7}function ea(a,b,e){e=da(["w"],[e],a.ja,7);ca(a,6,b,e)}
function fa(a,b,e){var g=ga(["w","b","h"],e),d=g[1],h=g[2];switch(d){case 8:e=a.S.r;var l=[16914839];l[1]=a.c;l[2]=Math.floor(274877906944/l[1]);l[3]=l[2]-Math.floor(e/l[1]);l[4]=l[2]-Math.floor(e/l[1]);l[5]=a.S.c.length;l[6]=1048576;l[7]=0;l[8]=256;e=da("wwddddddw".split(""),l,a.ja,7);ca(a,d,h,e);a.ba(b);break;case 112:case 12:var l=ga(["w","w"],e),m=l[0],g=l[1],q=ha(a.S,a.J[m].T);l[0]=q.Ba;l[1]=a.Wb-24;da(["Q","w"],l,a.ja,7);ca(a,d,h,17);e=ia(a.S,a.J[m].T);ja(a.S,a.J[m].T,function(){l[0]=q.Ba;l[1]=
this.Wb-24;da(["Q","w"],l,this.ja,7);ca(this,d,h,17);this.ba(b)}.bind(a));break;case 70:var l=ga(["w","w","s"],e),w=l[0],m=l[1];e=l[2];var q=ka(a.S),g=ha(a.S,a.J[m].T),C=a.S.eb[a.J[m].T];q.mode=g.mode;q.size=g.size;q.rd=g.rd;for(var z=a.S.eb[a.S.c.length]=new Uint8Array(q.size),g=0;g<q.size;g++)z[g]=C[g];q.name=e;q.la=a.J[w].T;la(a.S,q);ca(a,d,h,0);a.ba(b);break;case 16:l=ga(["w","s","s","w"],e);m=l[0];e=l[1];w=l[3];e=ma(a.S,e,a.J[m].T,l[2]);q=ha(a.S,e);q.uid=a.J[m].uid;q.Ma=w;da(["Q"],[q.Ba],a.ja,
7);ca(a,d,h,13);a.ba(b);break;case 18:l=ga("wswwww".split(""),e);m=l[0];e=l[1];g=l[2];C=l[3];z=l[4];w=l[5];e=na(a.S,e,a.J[m].T,C,z);q=ha(a.S,e);q.mode=g;q.uid=a.J[m].uid;q.Ma=w;da(["Q"],[q.Ba],a.ja,7);ca(a,d,h,13);a.ba(b);break;case 22:l=ga(["w"],e);m=l[0];q=ha(a.S,a.J[m].T);e=da(["s"],[q.rd],a.ja,7);ca(a,d,h,e);a.ba(b);break;case 72:l=ga(["w","s","w","w"],e);m=l[0];e=l[1];g=l[2];w=l[3];e=pa(a.S,e,a.J[m].T);q=ha(a.S,e);q.mode=g|qa;q.uid=a.J[m].uid;q.Ma=w;da(["Q"],[q.Ba],a.ja,7);ca(a,d,h,13);a.ba(b);
break;case 14:l=ga(["w","s","w","w","w"],e);m=l[0];e=l[1];g=l[3];w=l[4];e=ra(a.S,e,a.J[m].T);a.J[m].T=e;a.J[m].type=1;q=ha(a.S,e);q.uid=a.J[m].uid;q.Ma=w;q.mode=g;da(["Q","w"],[q.Ba,a.Wb-24],a.ja,7);ca(a,d,h,17);a.ba(b);break;case 52:da(["w"],[0],a.ja,7);ca(a,d,h,1);a.ba(b);break;case 24:l=ga(["w","d"],e);m=l[0];q=ha(a.S,a.J[m].T);l[0]|=4096;l[0]=l[1];l[1]=q.Ba;l[2]=q.mode;l[3]=q.uid;l[4]=q.Ma;l[5]=1;l[6]=q.Pe<<8|q.Qe;l[7]=q.size;l[8]=a.c;l[9]=Math.floor(q.size/512+1);l[10]=q.Yc;l[11]=0;l[12]=q.ld;
l[13]=0;l[14]=q.$d;l[15]=0;l[16]=0;l[17]=0;l[18]=0;l[19]=0;da("dQwwwddddddddddddddd".split(""),l,a.ja,7);ca(a,d,h,153);a.ba(b);break;case 26:l=ga("wwwwwddddd".split(""),e);m=l[0];q=ha(a.S,a.J[m].T);l[1]&1&&(q.mode=l[2]);l[1]&2&&(q.uid=l[3]);l[1]&4&&(q.Ma=l[4]);l[1]&128&&(q.Yc=l[6]);l[1]&256&&(q.Yc=l[8]);l[1]&16&&(q.Yc=Math.floor((new Date).getTime()/1E3));l[1]&32&&(q.ld=Math.floor((new Date).getTime()/1E3));l[1]&64&&(q.$d=Math.floor((new Date).getTime()/1E3));l[1]&8&&sa(a.S,a.J[m].T,l[5]);ca(a,d,
h,0);a.ba(b);break;case 50:l=ga(["w","d"],e);m=l[0];ca(a,d,h,0);a.ba(b);break;case 40:case 116:var l=ga(["w","d","w"],e),m=l[0],L=l[1],K=l[2],q=ha(a.S,a.J[m].T);if(2==a.J[m].type){q.ua.length<L+K&&(K=q.ua.length-L);for(g=0;g<K;g++)a.ja[11+g]=q.ua[L+g];da(["w"],[K],a.ja,7);ca(a,d,h,4+K);a.ba(b)}else{var J=a.S.c[a.J[m].T];a.B.send("9p-read-start");ia(a.S,a.J[m].T);ja(a.S,a.J[m].T,function(){this.B.send("9p-read-end",[J.name,K]);q.size<L+K&&(K=q.size-L);var Ua=this.S.eb[this.J[m].T];if(Ua)for(var La=
0;La<K;La++)this.ja[11+La]=Ua[L+La];da(["w"],[K],this.ja,7);ca(this,d,h,4+K);this.ba(b)}.bind(a))}break;case 118:l=ga(["w","d","w"],e);m=l[0];L=l[1];K=l[2];ta(a.S,a.J[m].T,L,K,e);J=a.S.c[a.J[m].T];a.B.send("9p-write-end",[J.name,K]);da(["w"],[K],a.ja,7);ca(a,d,h,4);a.ba(b);break;case 74:l=ga(["w","s","w","s"],e);e=va(a.S,a.J[l[0]].T,l[1],a.J[l[2]].T,l[3]);if(0==e){ea(a,h,2);a.ba(b);break}ca(a,d,h,0);a.ba(b);break;case 76:l=ga(["w","s","w"],e);g=l[0];e=l[1];m=wa(a.S,a.J[g].T,e);if(-1==m){ea(a,h,2);
a.ba(b);break}e=xa(a.S,m);if(!e){ea(a,h,39);a.ba(b);break}ca(a,m,h,0);a.ba(b);break;case 100:e=ga(["w","s"],e);a.Wb=e[0];e=da(["w","s"],[a.Wb,a.f],a.ja,7);ca(a,d,h,e);a.ba(b);break;case 104:l=ga(["w","w","s","s","w"],e);m=l[0];a.J[m]={T:0,type:1,uid:l[4]};q=ha(a.S,a.J[m].T);da(["Q"],[q.Ba],a.ja,7);ca(a,d,h,13);a.ba(b);break;case 108:l=ga(["h"],e);ca(a,d,h,0);a.ba(b);break;case 110:l=ga(["w","w","h"],e);m=l[0];w=l[1];C=l[2];if(0==C){a.J[w]={T:a.J[m].T,type:1,uid:a.J[m].uid};da(["h"],[0],a.ja,7);ca(a,
d,h,2);a.ba(b);break}z=[];for(g=0;g<C;g++)z.push("s");z=ga(z,e);e=a.J[m].T;for(var L=9,oa=0,g=0;g<C;g++){e=wa(a.S,e,z[g]);if(-1==e)break;L+=da(["Q"],[a.S.c[e].Ba],a.ja,L);oa++;a.J[w]={T:e,type:1,uid:a.J[m].uid}}da(["h"],[oa],a.ja,7);ca(a,d,h,L-7);a.ba(b);break;case 120:l=ga(["w"],e);a.J[l[0]]&&0<=a.J[l[0]].T&&(ya(a.S,a.J[l[0]].T),a.J[l[0]].T=-1,a.J[l[0]].type=-1);ca(a,d,h,0);a.ba(b);break;case 32:ea(a,h,524);a.ba(b);break;case 30:l=ga(["w","w","s"],e),m=l[0],g=l[1],e=l[2],a.J[g]={T:a.J[m].T,type:-1,
uid:a.J[m].uid},w=0,"security.capability"==e&&(w=za(a.S,a.J[m].T),a.J[g].type=2),da(["d"],[w],a.ja,7),ca(a,d,h,8),a.ba(b)}};function p(){this.gc=0;this.zb=[];this.t=[];this.Ca=[];this.G=new Int32Array(1048576);this.Bb=new Uint8Array(1048576);this.td=new Uint8Array(1048576);this.pa=!1;this.Sb=this.xc=this.Ub=this.yc=0;this.r=!1;this.s=new Int32Array(8);this.s[0]=0;this.s[2]=0;this.s[3]=0;this.md=this.O=this.s[4]=0;this.zc=this.bb=this.Ab=this.Ia=this.wa=!1;this.c={Lb:{qb:function(){},lb:function(){}},Id:{qb:function(){},lb:function(){}}};this.a=this.oe=this.C=this.m=this.$=this.Ha=this.Oa=this.n=this.e=this.Z=this.Kc=this.Lc=
this.qc=this.I=this.Dc=this.D=this.vb=0;this.i=this.d;this.p=this.w=this.F=0;this.table=[];this.U=[];this.X=[];this.Y=[];this.u=!1;this.da=this.l=0;this.uc={Oe:null,Lb:null};this.Q=0;this.b=new Int32Array(8);this.gb=new Uint32Array(this.b.buffer);this.ra=new Int16Array(this.b.buffer);this.d=new Uint16Array(this.b.buffer);this.Ib=new Int8Array(this.b.buffer);this.j=new Uint8Array(this.b.buffer);this.H=new Uint16Array(8);this.bc=new Int32Array(8);this.v=this.d;this.hb=this.A=0;this.memory=null;this.na=
-1;this.qa=this.q=void 0;"use strict";(function(a){var b={};a.debug=b;b.Oh=!1;b.Lh=void 0;b.sh=[];b.Ph=!1;b.show=function(e){if("undefined"!==typeof document){var g=document.getElementById("log");if(g){g.textContent+=e+"\n";g.style.display="block";g.scrollTop=1E9;return}}console.log(e)};b.cb=function(){};b.yh=function(){};b.wh=function(){};b.Eh=function(){};b.zh=function(){};b.Ah=function(){};b.xh=function(){};b.uh=function(){};b.vh=function(){};b.Fh=function(){};b.Jh=function(){};b.Qh=function(){};
b.step=function(){};b.Nh=function(){};b.th=function(){};b.P=function(e){e="Unimplemented"+(e?": "+e:"");b.show(e);b.show("Execution stopped");return e};b.Ih=function(){}})(this);this.gb=new Uint32Array(this.b.buffer);this.ra=new Int16Array(this.b.buffer);this.d=new Uint16Array(this.b.buffer);this.Ib=new Int8Array(this.b.buffer);this.j=new Uint8Array(this.b.buffer);Aa(this);Ba(this);this.oe=Ca()}
p.prototype.za=function(){var a=[];a[0]=this.gc;a[1]=this.zb;a[2]=this.t;a[3]=this.Ca;a[4]=this.pa;a[5]=this.Ub;a[6]=this.yc;a[7]=this.Sb;a[8]=this.xc;a[9]=this.r;a[10]=this.s;a[11]=this.O;a[12]=this.md;a[13]=this.wa;a[14]=this.Ia;a[15]=this.bb;a[16]=this.Ab;a[17]=this.zc;a[18]=this.vb;a[19]=this.D;a[20]=this.Dc;a[21]=this.I;a[22]=this.qc;a[23]=this.Kc;a[24]=this.Lc;a[25]=this.Z;a[26]=this.e;a[27]=this.n;a[28]=this.Oa;a[29]=this.Ha;a[30]=this.$;a[31]=this.m;a[32]=this.a;a[36]=this.u;a[37]=this.l;
a[38]=this.da;a[39]=this.b;a[40]=this.H;a[41]=this.bc;a[42]=this.memory;a[43]=this.qa;a[45]=this.c.Qd;a[46]=this.c.Wc;a[47]=this.c.Pa;a[48]=this.c.Ec;a[49]=this.c.wc;a[51]=this.c.Qf;a[52]=this.c.Lb;a[53]=this.c.Id;a[54]=this.c.ff;a[55]=this.c.ze;a[56]=this.c.Ob;a[57]=this.c.Tb;a[58]=this.c.Hd;a[59]=this.c.Re;a[60]=this.c.Hc;return a};
p.prototype.La=function(a){this.gc=a[0];this.zb=a[1];this.t=a[2];this.Ca=a[3];this.pa=a[4];this.Ub=a[5];this.yc=a[6];this.Sb=a[7];this.xc=a[8];this.r=a[9];this.s=a[10];this.O=a[11];this.md=a[12];this.wa=a[13];this.Ia=a[14];this.bb=a[15];this.Ab=a[16];this.zc=a[17];this.vb=a[18];this.D=a[19];this.Dc=a[20];this.I=a[21];this.qc=a[22];this.Kc=a[23];this.Lc=a[24];this.Z=a[25];this.e=a[26];this.n=a[27];this.Ha=a[27];this.$=a[30];this.m=a[31];this.a=a[32];this.u=a[36];this.l=a[37];this.da=a[38];this.H=a[40];
this.bc=a[41];this.memory=a[42];this.qa=a[43];this.c.Qd=a[45];this.c.Wc=a[46];this.c.Pa=a[47];this.c.Ec=a[48];this.c.wc=a[49];this.c.rh=a[50];this.c.Qf=a[51];this.c.Lb=a[52];this.c.Mh=a[50];this.c.ff=a[54];this.c.ze=a[55];this.c.Ob=a[56];this.c.Tb=a[57];this.c.Hd=a[58];this.c.Re=a[59];this.c.Hc=a[60];Da(this);this.Ab?(this.v=this.b,this.A=4,this.hb=5):(this.v=this.d,this.A=8,this.hb=10);this.gb=new Uint32Array(this.b.buffer);this.ra=new Int16Array(this.b.buffer);this.d=new Uint16Array(this.b.buffer);
this.Ib=new Int8Array(this.b.buffer);this.j=new Uint8Array(this.b.buffer);Aa(this);Ba(this)};"use strict";"use strict";
(function(){p.prototype.k=Array(192);p.prototype.f=Array(192);p.prototype.g=Array(256);p.prototype.k[0]=function(d){return r(d)+(d.d[6]+d.d[12]&65535)|0};p.prototype.k[64]=function(d){return r(d)+(d.d[6]+d.d[12]+s(d)&65535)|0};p.prototype.k[128]=function(d){return r(d)+(d.d[6]+d.d[12]+t(d)&65535)|0};p.prototype.k[1]=function(d){return r(d)+(d.d[6]+d.d[14]&65535)|0};p.prototype.k[65]=function(d){return r(d)+(d.d[6]+d.d[14]+s(d)&65535)|0};p.prototype.k[129]=function(d){return r(d)+(d.d[6]+d.d[14]+t(d)&
65535)|0};p.prototype.k[2]=function(d){return u(d)+(d.d[10]+d.d[12]&65535)|0};p.prototype.k[66]=function(d){return u(d)+(d.d[10]+d.d[12]+s(d)&65535)|0};p.prototype.k[130]=function(d){return u(d)+(d.d[10]+d.d[12]+t(d)&65535)|0};p.prototype.k[3]=function(d){return u(d)+(d.d[10]+d.d[14]&65535)|0};p.prototype.k[67]=function(d){return u(d)+(d.d[10]+d.d[14]+s(d)&65535)|0};p.prototype.k[131]=function(d){return u(d)+(d.d[10]+d.d[14]+t(d)&65535)|0};p.prototype.k[4]=function(d){return r(d)+(d.d[12]&65535)|
0};p.prototype.k[68]=function(d){return r(d)+(d.d[12]+s(d)&65535)|0};p.prototype.k[132]=function(d){return r(d)+(d.d[12]+t(d)&65535)|0};p.prototype.k[5]=function(d){return r(d)+(d.d[14]&65535)|0};p.prototype.k[69]=function(d){return r(d)+(d.d[14]+s(d)&65535)|0};p.prototype.k[133]=function(d){return r(d)+(d.d[14]+t(d)&65535)|0};p.prototype.k[6]=function(d){return u(d)+(d.d[10]&65535)|0};p.prototype.k[70]=function(d){return u(d)+(d.d[10]+s(d)&65535)|0};p.prototype.k[134]=function(d){return u(d)+(d.d[10]+
t(d)&65535)|0};p.prototype.k[7]=function(d){return r(d)+(d.d[6]&65535)|0};p.prototype.k[71]=function(d){return r(d)+(d.d[6]+s(d)&65535)|0};p.prototype.k[135]=function(d){return r(d)+(d.d[6]+t(d)&65535)|0};p.prototype.f[0]=function(d){return r(d)+d.b[0]|0};p.prototype.f[64]=function(d){return r(d)+d.b[0]+s(d)|0};p.prototype.f[128]=function(d){return r(d)+d.b[0]+v(d)|0};p.prototype.f[1]=function(d){return r(d)+d.b[1]|0};p.prototype.f[65]=function(d){return r(d)+d.b[1]+s(d)|0};p.prototype.f[129]=function(d){return r(d)+
d.b[1]+v(d)|0};p.prototype.f[2]=function(d){return r(d)+d.b[2]|0};p.prototype.f[66]=function(d){return r(d)+d.b[2]+s(d)|0};p.prototype.f[130]=function(d){return r(d)+d.b[2]+v(d)|0};p.prototype.f[3]=function(d){return r(d)+d.b[3]|0};p.prototype.f[67]=function(d){return r(d)+d.b[3]+s(d)|0};p.prototype.f[131]=function(d){return r(d)+d.b[3]+v(d)|0};p.prototype.f[4]=function(d){return d.g[x(d)](d,!1)|0};p.prototype.f[68]=function(d){return d.g[x(d)](d,!1)+s(d)|0};p.prototype.f[132]=function(d){return d.g[x(d)](d,
!1)+v(d)|0};p.prototype.f[5]=function(d){return u(d)+d.b[5]|0};p.prototype.f[69]=function(d){return u(d)+d.b[5]+s(d)|0};p.prototype.f[133]=function(d){return u(d)+d.b[5]+v(d)|0};p.prototype.f[6]=function(d){return r(d)+d.b[6]|0};p.prototype.f[70]=function(d){return r(d)+d.b[6]+s(d)|0};p.prototype.f[134]=function(d){return r(d)+d.b[6]+v(d)|0};p.prototype.f[7]=function(d){return r(d)+d.b[7]|0};p.prototype.f[71]=function(d){return r(d)+d.b[7]+s(d)|0};p.prototype.f[135]=function(d){return r(d)+d.b[7]+
v(d)|0};p.prototype.k[6]=function(d){return r(d)+t(d)|0};p.prototype.f[5]=function(d){return r(d)+v(d)|0};p.prototype.f[4]=function(d){return d.g[x(d)](d,!1)|0};p.prototype.f[68]=function(d){return d.g[x(d)](d,!0)+s(d)|0};p.prototype.f[132]=function(d){return d.g[x(d)](d,!0)+v(d)|0};for(var a=0;8>a;a++)for(var b=0;3>b;b++)for(var e=a|b<<6,g=1;8>g;g++)p.prototype.f[e|g<<3]=p.prototype.f[e],p.prototype.k[e|g<<3]=p.prototype.k[e];p.prototype.g[0]=function(d){return d.b[0]+r(d)+d.b[0]|0};p.prototype.g[1]=
function(d){return d.b[0]+r(d)+d.b[1]|0};p.prototype.g[2]=function(d){return d.b[0]+r(d)+d.b[2]|0};p.prototype.g[3]=function(d){return d.b[0]+r(d)+d.b[3]|0};p.prototype.g[4]=function(d){return d.b[0]+u(d)+d.b[4]|0};p.prototype.g[5]=function(d,h){return d.b[0]+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[6]=function(d){return d.b[0]+r(d)+d.b[6]|0};p.prototype.g[7]=function(d){return d.b[0]+r(d)+d.b[7]|0};p.prototype.g[64]=function(d){return(d.b[0]<<1)+r(d)+d.b[0]|0};p.prototype.g[65]=function(d){return(d.b[0]<<
1)+r(d)+d.b[1]|0};p.prototype.g[66]=function(d){return(d.b[0]<<1)+r(d)+d.b[2]|0};p.prototype.g[67]=function(d){return(d.b[0]<<1)+r(d)+d.b[3]|0};p.prototype.g[68]=function(d){return(d.b[0]<<1)+u(d)+d.b[4]|0};p.prototype.g[69]=function(d,h){return(d.b[0]<<1)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[70]=function(d){return(d.b[0]<<1)+r(d)+d.b[6]|0};p.prototype.g[71]=function(d){return(d.b[0]<<1)+r(d)+d.b[7]|0};p.prototype.g[128]=function(d){return(d.b[0]<<2)+r(d)+d.b[0]|0};p.prototype.g[129]=function(d){return(d.b[0]<<
2)+r(d)+d.b[1]|0};p.prototype.g[130]=function(d){return(d.b[0]<<2)+r(d)+d.b[2]|0};p.prototype.g[131]=function(d){return(d.b[0]<<2)+r(d)+d.b[3]|0};p.prototype.g[132]=function(d){return(d.b[0]<<2)+u(d)+d.b[4]|0};p.prototype.g[133]=function(d,h){return(d.b[0]<<2)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[134]=function(d){return(d.b[0]<<2)+r(d)+d.b[6]|0};p.prototype.g[135]=function(d){return(d.b[0]<<2)+r(d)+d.b[7]|0};p.prototype.g[192]=function(d){return(d.b[0]<<3)+r(d)+d.b[0]|0};p.prototype.g[193]=
function(d){return(d.b[0]<<3)+r(d)+d.b[1]|0};p.prototype.g[194]=function(d){return(d.b[0]<<3)+r(d)+d.b[2]|0};p.prototype.g[195]=function(d){return(d.b[0]<<3)+r(d)+d.b[3]|0};p.prototype.g[196]=function(d){return(d.b[0]<<3)+u(d)+d.b[4]|0};p.prototype.g[197]=function(d,h){return(d.b[0]<<3)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[198]=function(d){return(d.b[0]<<3)+r(d)+d.b[6]|0};p.prototype.g[199]=function(d){return(d.b[0]<<3)+r(d)+d.b[7]|0};p.prototype.g[8]=function(d){return d.b[1]+r(d)+d.b[0]|0};
p.prototype.g[9]=function(d){return d.b[1]+r(d)+d.b[1]|0};p.prototype.g[10]=function(d){return d.b[1]+r(d)+d.b[2]|0};p.prototype.g[11]=function(d){return d.b[1]+r(d)+d.b[3]|0};p.prototype.g[12]=function(d){return d.b[1]+u(d)+d.b[4]|0};p.prototype.g[13]=function(d,h){return d.b[1]+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[14]=function(d){return d.b[1]+r(d)+d.b[6]|0};p.prototype.g[15]=function(d){return d.b[1]+r(d)+d.b[7]|0};p.prototype.g[72]=function(d){return(d.b[1]<<1)+r(d)+d.b[0]|0};p.prototype.g[73]=
function(d){return(d.b[1]<<1)+r(d)+d.b[1]|0};p.prototype.g[74]=function(d){return(d.b[1]<<1)+r(d)+d.b[2]|0};p.prototype.g[75]=function(d){return(d.b[1]<<1)+r(d)+d.b[3]|0};p.prototype.g[76]=function(d){return(d.b[1]<<1)+u(d)+d.b[4]|0};p.prototype.g[77]=function(d,h){return(d.b[1]<<1)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[78]=function(d){return(d.b[1]<<1)+r(d)+d.b[6]|0};p.prototype.g[79]=function(d){return(d.b[1]<<1)+r(d)+d.b[7]|0};p.prototype.g[136]=function(d){return(d.b[1]<<2)+r(d)+d.b[0]|0};
p.prototype.g[137]=function(d){return(d.b[1]<<2)+r(d)+d.b[1]|0};p.prototype.g[138]=function(d){return(d.b[1]<<2)+r(d)+d.b[2]|0};p.prototype.g[139]=function(d){return(d.b[1]<<2)+r(d)+d.b[3]|0};p.prototype.g[140]=function(d){return(d.b[1]<<2)+u(d)+d.b[4]|0};p.prototype.g[141]=function(d,h){return(d.b[1]<<2)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[142]=function(d){return(d.b[1]<<2)+r(d)+d.b[6]|0};p.prototype.g[143]=function(d){return(d.b[1]<<2)+r(d)+d.b[7]|0};p.prototype.g[200]=function(d){return(d.b[1]<<
3)+r(d)+d.b[0]|0};p.prototype.g[201]=function(d){return(d.b[1]<<3)+r(d)+d.b[1]|0};p.prototype.g[202]=function(d){return(d.b[1]<<3)+r(d)+d.b[2]|0};p.prototype.g[203]=function(d){return(d.b[1]<<3)+r(d)+d.b[3]|0};p.prototype.g[204]=function(d){return(d.b[1]<<3)+u(d)+d.b[4]|0};p.prototype.g[205]=function(d,h){return(d.b[1]<<3)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[206]=function(d){return(d.b[1]<<3)+r(d)+d.b[6]|0};p.prototype.g[207]=function(d){return(d.b[1]<<3)+r(d)+d.b[7]|0};p.prototype.g[16]=function(d){return d.b[2]+
r(d)+d.b[0]|0};p.prototype.g[17]=function(d){return d.b[2]+r(d)+d.b[1]|0};p.prototype.g[18]=function(d){return d.b[2]+r(d)+d.b[2]|0};p.prototype.g[19]=function(d){return d.b[2]+r(d)+d.b[3]|0};p.prototype.g[20]=function(d){return d.b[2]+u(d)+d.b[4]|0};p.prototype.g[21]=function(d,h){return d.b[2]+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[22]=function(d){return d.b[2]+r(d)+d.b[6]|0};p.prototype.g[23]=function(d){return d.b[2]+r(d)+d.b[7]|0};p.prototype.g[80]=function(d){return(d.b[2]<<1)+r(d)+d.b[0]|
0};p.prototype.g[81]=function(d){return(d.b[2]<<1)+r(d)+d.b[1]|0};p.prototype.g[82]=function(d){return(d.b[2]<<1)+r(d)+d.b[2]|0};p.prototype.g[83]=function(d){return(d.b[2]<<1)+r(d)+d.b[3]|0};p.prototype.g[84]=function(d){return(d.b[2]<<1)+u(d)+d.b[4]|0};p.prototype.g[85]=function(d,h){return(d.b[2]<<1)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[86]=function(d){return(d.b[2]<<1)+r(d)+d.b[6]|0};p.prototype.g[87]=function(d){return(d.b[2]<<1)+r(d)+d.b[7]|0};p.prototype.g[144]=function(d){return(d.b[2]<<
2)+r(d)+d.b[0]|0};p.prototype.g[145]=function(d){return(d.b[2]<<2)+r(d)+d.b[1]|0};p.prototype.g[146]=function(d){return(d.b[2]<<2)+r(d)+d.b[2]|0};p.prototype.g[147]=function(d){return(d.b[2]<<2)+r(d)+d.b[3]|0};p.prototype.g[148]=function(d){return(d.b[2]<<2)+u(d)+d.b[4]|0};p.prototype.g[149]=function(d,h){return(d.b[2]<<2)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[150]=function(d){return(d.b[2]<<2)+r(d)+d.b[6]|0};p.prototype.g[151]=function(d){return(d.b[2]<<2)+r(d)+d.b[7]|0};p.prototype.g[208]=
function(d){return(d.b[2]<<3)+r(d)+d.b[0]|0};p.prototype.g[209]=function(d){return(d.b[2]<<3)+r(d)+d.b[1]|0};p.prototype.g[210]=function(d){return(d.b[2]<<3)+r(d)+d.b[2]|0};p.prototype.g[211]=function(d){return(d.b[2]<<3)+r(d)+d.b[3]|0};p.prototype.g[212]=function(d){return(d.b[2]<<3)+u(d)+d.b[4]|0};p.prototype.g[213]=function(d,h){return(d.b[2]<<3)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[214]=function(d){return(d.b[2]<<3)+r(d)+d.b[6]|0};p.prototype.g[215]=function(d){return(d.b[2]<<3)+r(d)+d.b[7]|
0};p.prototype.g[24]=function(d){return d.b[3]+r(d)+d.b[0]|0};p.prototype.g[25]=function(d){return d.b[3]+r(d)+d.b[1]|0};p.prototype.g[26]=function(d){return d.b[3]+r(d)+d.b[2]|0};p.prototype.g[27]=function(d){return d.b[3]+r(d)+d.b[3]|0};p.prototype.g[28]=function(d){return d.b[3]+u(d)+d.b[4]|0};p.prototype.g[29]=function(d,h){return d.b[3]+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[30]=function(d){return d.b[3]+r(d)+d.b[6]|0};p.prototype.g[31]=function(d){return d.b[3]+r(d)+d.b[7]|0};p.prototype.g[88]=
function(d){return(d.b[3]<<1)+r(d)+d.b[0]|0};p.prototype.g[89]=function(d){return(d.b[3]<<1)+r(d)+d.b[1]|0};p.prototype.g[90]=function(d){return(d.b[3]<<1)+r(d)+d.b[2]|0};p.prototype.g[91]=function(d){return(d.b[3]<<1)+r(d)+d.b[3]|0};p.prototype.g[92]=function(d){return(d.b[3]<<1)+u(d)+d.b[4]|0};p.prototype.g[93]=function(d,h){return(d.b[3]<<1)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[94]=function(d){return(d.b[3]<<1)+r(d)+d.b[6]|0};p.prototype.g[95]=function(d){return(d.b[3]<<1)+r(d)+d.b[7]|0};
p.prototype.g[152]=function(d){return(d.b[3]<<2)+r(d)+d.b[0]|0};p.prototype.g[153]=function(d){return(d.b[3]<<2)+r(d)+d.b[1]|0};p.prototype.g[154]=function(d){return(d.b[3]<<2)+r(d)+d.b[2]|0};p.prototype.g[155]=function(d){return(d.b[3]<<2)+r(d)+d.b[3]|0};p.prototype.g[156]=function(d){return(d.b[3]<<2)+u(d)+d.b[4]|0};p.prototype.g[157]=function(d,h){return(d.b[3]<<2)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[158]=function(d){return(d.b[3]<<2)+r(d)+d.b[6]|0};p.prototype.g[159]=function(d){return(d.b[3]<<
2)+r(d)+d.b[7]|0};p.prototype.g[216]=function(d){return(d.b[3]<<3)+r(d)+d.b[0]|0};p.prototype.g[217]=function(d){return(d.b[3]<<3)+r(d)+d.b[1]|0};p.prototype.g[218]=function(d){return(d.b[3]<<3)+r(d)+d.b[2]|0};p.prototype.g[219]=function(d){return(d.b[3]<<3)+r(d)+d.b[3]|0};p.prototype.g[220]=function(d){return(d.b[3]<<3)+u(d)+d.b[4]|0};p.prototype.g[221]=function(d,h){return(d.b[3]<<3)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[222]=function(d){return(d.b[3]<<3)+r(d)+d.b[6]|0};p.prototype.g[223]=
function(d){return(d.b[3]<<3)+r(d)+d.b[7]|0};p.prototype.g[32]=function(d){return r(d)+d.b[0]|0};p.prototype.g[33]=function(d){return r(d)+d.b[1]|0};p.prototype.g[34]=function(d){return r(d)+d.b[2]|0};p.prototype.g[35]=function(d){return r(d)+d.b[3]|0};p.prototype.g[36]=function(d){return u(d)+d.b[4]|0};p.prototype.g[37]=function(d,h){return(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[38]=function(d){return r(d)+d.b[6]|0};p.prototype.g[39]=function(d){return r(d)+d.b[7]|0};p.prototype.g[96]=function(d){return r(d)+
d.b[0]|0};p.prototype.g[97]=function(d){return r(d)+d.b[1]|0};p.prototype.g[98]=function(d){return r(d)+d.b[2]|0};p.prototype.g[99]=function(d){return r(d)+d.b[3]|0};p.prototype.g[100]=function(d){return u(d)+d.b[4]|0};p.prototype.g[101]=function(d,h){return(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[102]=function(d){return r(d)+d.b[6]|0};p.prototype.g[103]=function(d){return r(d)+d.b[7]|0};p.prototype.g[160]=function(d){return r(d)+d.b[0]|0};p.prototype.g[161]=function(d){return r(d)+d.b[1]|0};p.prototype.g[162]=
function(d){return r(d)+d.b[2]|0};p.prototype.g[163]=function(d){return r(d)+d.b[3]|0};p.prototype.g[164]=function(d){return u(d)+d.b[4]|0};p.prototype.g[165]=function(d,h){return(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[166]=function(d){return r(d)+d.b[6]|0};p.prototype.g[167]=function(d){return r(d)+d.b[7]|0};p.prototype.g[224]=function(d){return r(d)+d.b[0]|0};p.prototype.g[225]=function(d){return r(d)+d.b[1]|0};p.prototype.g[226]=function(d){return r(d)+d.b[2]|0};p.prototype.g[227]=function(d){return r(d)+
d.b[3]|0};p.prototype.g[228]=function(d){return u(d)+d.b[4]|0};p.prototype.g[229]=function(d,h){return(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[230]=function(d){return r(d)+d.b[6]|0};p.prototype.g[231]=function(d){return r(d)+d.b[7]|0};p.prototype.g[40]=function(d){return d.b[5]+r(d)+d.b[0]|0};p.prototype.g[41]=function(d){return d.b[5]+r(d)+d.b[1]|0};p.prototype.g[42]=function(d){return d.b[5]+r(d)+d.b[2]|0};p.prototype.g[43]=function(d){return d.b[5]+r(d)+d.b[3]|0};p.prototype.g[44]=function(d){return d.b[5]+
u(d)+d.b[4]|0};p.prototype.g[45]=function(d,h){return d.b[5]+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[46]=function(d){return d.b[5]+r(d)+d.b[6]|0};p.prototype.g[47]=function(d){return d.b[5]+r(d)+d.b[7]|0};p.prototype.g[104]=function(d){return(d.b[5]<<1)+r(d)+d.b[0]|0};p.prototype.g[105]=function(d){return(d.b[5]<<1)+r(d)+d.b[1]|0};p.prototype.g[106]=function(d){return(d.b[5]<<1)+r(d)+d.b[2]|0};p.prototype.g[107]=function(d){return(d.b[5]<<1)+r(d)+d.b[3]|0};p.prototype.g[108]=function(d){return(d.b[5]<<
1)+u(d)+d.b[4]|0};p.prototype.g[109]=function(d,h){return(d.b[5]<<1)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[110]=function(d){return(d.b[5]<<1)+r(d)+d.b[6]|0};p.prototype.g[111]=function(d){return(d.b[5]<<1)+r(d)+d.b[7]|0};p.prototype.g[168]=function(d){return(d.b[5]<<2)+r(d)+d.b[0]|0};p.prototype.g[169]=function(d){return(d.b[5]<<2)+r(d)+d.b[1]|0};p.prototype.g[170]=function(d){return(d.b[5]<<2)+r(d)+d.b[2]|0};p.prototype.g[171]=function(d){return(d.b[5]<<2)+r(d)+d.b[3]|0};p.prototype.g[172]=
function(d){return(d.b[5]<<2)+u(d)+d.b[4]|0};p.prototype.g[173]=function(d,h){return(d.b[5]<<2)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[174]=function(d){return(d.b[5]<<2)+r(d)+d.b[6]|0};p.prototype.g[175]=function(d){return(d.b[5]<<2)+r(d)+d.b[7]|0};p.prototype.g[232]=function(d){return(d.b[5]<<3)+r(d)+d.b[0]|0};p.prototype.g[233]=function(d){return(d.b[5]<<3)+r(d)+d.b[1]|0};p.prototype.g[234]=function(d){return(d.b[5]<<3)+r(d)+d.b[2]|0};p.prototype.g[235]=function(d){return(d.b[5]<<3)+r(d)+d.b[3]|
0};p.prototype.g[236]=function(d){return(d.b[5]<<3)+u(d)+d.b[4]|0};p.prototype.g[237]=function(d,h){return(d.b[5]<<3)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[238]=function(d){return(d.b[5]<<3)+r(d)+d.b[6]|0};p.prototype.g[239]=function(d){return(d.b[5]<<3)+r(d)+d.b[7]|0};p.prototype.g[48]=function(d){return d.b[6]+r(d)+d.b[0]|0};p.prototype.g[49]=function(d){return d.b[6]+r(d)+d.b[1]|0};p.prototype.g[50]=function(d){return d.b[6]+r(d)+d.b[2]|0};p.prototype.g[51]=function(d){return d.b[6]+r(d)+
d.b[3]|0};p.prototype.g[52]=function(d){return d.b[6]+u(d)+d.b[4]|0};p.prototype.g[53]=function(d,h){return d.b[6]+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[54]=function(d){return d.b[6]+r(d)+d.b[6]|0};p.prototype.g[55]=function(d){return d.b[6]+r(d)+d.b[7]|0};p.prototype.g[112]=function(d){return(d.b[6]<<1)+r(d)+d.b[0]|0};p.prototype.g[113]=function(d){return(d.b[6]<<1)+r(d)+d.b[1]|0};p.prototype.g[114]=function(d){return(d.b[6]<<1)+r(d)+d.b[2]|0};p.prototype.g[115]=function(d){return(d.b[6]<<1)+
r(d)+d.b[3]|0};p.prototype.g[116]=function(d){return(d.b[6]<<1)+u(d)+d.b[4]|0};p.prototype.g[117]=function(d,h){return(d.b[6]<<1)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[118]=function(d){return(d.b[6]<<1)+r(d)+d.b[6]|0};p.prototype.g[119]=function(d){return(d.b[6]<<1)+r(d)+d.b[7]|0};p.prototype.g[176]=function(d){return(d.b[6]<<2)+r(d)+d.b[0]|0};p.prototype.g[177]=function(d){return(d.b[6]<<2)+r(d)+d.b[1]|0};p.prototype.g[178]=function(d){return(d.b[6]<<2)+r(d)+d.b[2]|0};p.prototype.g[179]=function(d){return(d.b[6]<<
2)+r(d)+d.b[3]|0};p.prototype.g[180]=function(d){return(d.b[6]<<2)+u(d)+d.b[4]|0};p.prototype.g[181]=function(d,h){return(d.b[6]<<2)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[182]=function(d){return(d.b[6]<<2)+r(d)+d.b[6]|0};p.prototype.g[183]=function(d){return(d.b[6]<<2)+r(d)+d.b[7]|0};p.prototype.g[240]=function(d){return(d.b[6]<<3)+r(d)+d.b[0]|0};p.prototype.g[241]=function(d){return(d.b[6]<<3)+r(d)+d.b[1]|0};p.prototype.g[242]=function(d){return(d.b[6]<<3)+r(d)+d.b[2]|0};p.prototype.g[243]=
function(d){return(d.b[6]<<3)+r(d)+d.b[3]|0};p.prototype.g[244]=function(d){return(d.b[6]<<3)+u(d)+d.b[4]|0};p.prototype.g[245]=function(d,h){return(d.b[6]<<3)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[246]=function(d){return(d.b[6]<<3)+r(d)+d.b[6]|0};p.prototype.g[247]=function(d){return(d.b[6]<<3)+r(d)+d.b[7]|0};p.prototype.g[56]=function(d){return d.b[7]+r(d)+d.b[0]|0};p.prototype.g[57]=function(d){return d.b[7]+r(d)+d.b[1]|0};p.prototype.g[58]=function(d){return d.b[7]+r(d)+d.b[2]|0};p.prototype.g[59]=
function(d){return d.b[7]+r(d)+d.b[3]|0};p.prototype.g[60]=function(d){return d.b[7]+u(d)+d.b[4]|0};p.prototype.g[61]=function(d,h){return d.b[7]+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[62]=function(d){return d.b[7]+r(d)+d.b[6]|0};p.prototype.g[63]=function(d){return d.b[7]+r(d)+d.b[7]|0};p.prototype.g[120]=function(d){return(d.b[7]<<1)+r(d)+d.b[0]|0};p.prototype.g[121]=function(d){return(d.b[7]<<1)+r(d)+d.b[1]|0};p.prototype.g[122]=function(d){return(d.b[7]<<1)+r(d)+d.b[2]|0};p.prototype.g[123]=
function(d){return(d.b[7]<<1)+r(d)+d.b[3]|0};p.prototype.g[124]=function(d){return(d.b[7]<<1)+u(d)+d.b[4]|0};p.prototype.g[125]=function(d,h){return(d.b[7]<<1)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[126]=function(d){return(d.b[7]<<1)+r(d)+d.b[6]|0};p.prototype.g[127]=function(d){return(d.b[7]<<1)+r(d)+d.b[7]|0};p.prototype.g[184]=function(d){return(d.b[7]<<2)+r(d)+d.b[0]|0};p.prototype.g[185]=function(d){return(d.b[7]<<2)+r(d)+d.b[1]|0};p.prototype.g[186]=function(d){return(d.b[7]<<2)+r(d)+d.b[2]|
0};p.prototype.g[187]=function(d){return(d.b[7]<<2)+r(d)+d.b[3]|0};p.prototype.g[188]=function(d){return(d.b[7]<<2)+u(d)+d.b[4]|0};p.prototype.g[189]=function(d,h){return(d.b[7]<<2)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[190]=function(d){return(d.b[7]<<2)+r(d)+d.b[6]|0};p.prototype.g[191]=function(d){return(d.b[7]<<2)+r(d)+d.b[7]|0};p.prototype.g[248]=function(d){return(d.b[7]<<3)+r(d)+d.b[0]|0};p.prototype.g[249]=function(d){return(d.b[7]<<3)+r(d)+d.b[1]|0};p.prototype.g[250]=function(d){return(d.b[7]<<
3)+r(d)+d.b[2]|0};p.prototype.g[251]=function(d){return(d.b[7]<<3)+r(d)+d.b[3]|0};p.prototype.g[252]=function(d){return(d.b[7]<<3)+u(d)+d.b[4]|0};p.prototype.g[253]=function(d,h){return(d.b[7]<<3)+(h?u(d)+d.b[5]:r(d)+v(d))|0};p.prototype.g[254]=function(d){return(d.b[7]<<3)+r(d)+d.b[6]|0};p.prototype.g[255]=function(d){return(d.b[7]<<3)+r(d)+d.b[7]|0};p.prototype.h=function(d){return(this.bb?this.f:this.k)[d](this)}})();"use strict";
p.prototype.add=function(a,b,e){this.Oa=a;this.Ha=b;this.m=this.C=a+b|0;this.$=e;this.n=2261;return this.C};function Ea(a,b,e,g){var d=a.Aa();a.Oa=b;a.Ha=e;a.m=a.C=(b+e|0)+d|0;a.$=g;a.n=2261;return a.C}p.prototype.sub=function(a,b,e){this.m=a;this.Ha=b;this.Oa=this.C=a-b|0;this.$=e;this.n=2261;return this.C};function Fa(a,b,e,g){var d=a.Aa();a.m=b;a.Ha=e;a.Oa=a.C=b-e-d|0;a.$=g;a.n=2261;return a.C}function Ga(a,b,e){a.e=a.e&-2|a.Aa();a.Oa=b;a.Ha=1;a.m=a.C=b+1|0;a.$=e;a.n=2260;return a.C}
function Ha(a,b,e){a.e=a.e&-2|a.Aa();a.m=b;a.Ha=1;a.Oa=a.C=b-1|0;a.$=e;a.n=2260;return a.C}function Ia(a,b,e){a.Oa=a.C=-b|0;a.n=2261;a.m=0;a.Ha=b;a.$=e;return a.C}function Ja(a,b,e){b=b*e;a.e=32767<b||-32768>b?a.e|2049:a.e&-2050;a.n=0;return b}
function Ka(a,b,e){var g=!1;0>b&&(g=!0,b=-b|0);0>e&&(g=!g,e=-e|0);var d=b&65535;b=b>>>16;var h=e&65535;e=e>>>16;var l=d*h,h=(l>>>16)+(b*h|0)|0,m=h>>>16,h=(h&65535)+(d*e|0)|0,l=h<<16|l&65535,m=((h>>>16)+(b*e|0)|0)+m|0;g&&(l=-l|0,m=~m+!l|0);a.e=m===l>>31?a.e&-2050:a.e|2049;a.n=0;return l}function Na(a,b,e,g){a.C=b&e;a.$=g;a.e&=-2066;a.n=196;return a.C}function Oa(a,b,e,g){a.C=b|e;a.$=g;a.e&=-2066;a.n=196;return a.C}function Pa(a,b,e,g){a.C=b^e;a.$=g;a.e&=-2066;a.n=196;return a.C}
function Ra(a,b,e){if(!e)return b;e&=7;b=b<<e|b>>8-e;a.n&=-2050;a.e=a.e&-2050|b&1|(b<<11^b<<4)&2048;return b}function Sa(a,b,e){if(!e)return b;e&=15;b=b<<e|b>>16-e;a.n&=-2050;a.e=a.e&-2050|b&1|(b<<11^b>>4)&2048;return b}function Ta(a,b,e){if(!e)return b;b=b<<e|b>>>32-e;a.n&=-2050;a.e=a.e&-2050|b&1|(b<<11^b>>20)&2048;return b}function Xa(a,b,e){e%=9;if(!e)return b;b=b<<e|a.Aa()<<e-1|b>>9-e;a.n&=-2050;a.e=a.e&-2050|b>>8&1|(b<<3^b<<4)&2048;return b}
function Ya(a,b,e){e%=17;if(!e)return b;b=b<<e|a.Aa()<<e-1|b>>17-e;a.n&=-2050;a.e=a.e&-2050|b>>16&1|(b>>5^b>>4)&2048;return b}function Za(a,b,e){if(!e)return b;var g=b<<e|a.Aa()<<e-1;1<e&&(g|=b>>>33-e);a.n&=-2050;a.e=a.e&-2050|b>>>32-e&1;a.e|=(a.e<<11^g>>20)&2048;return g}function $a(a,b,e){if(!e)return b;e&=7;b=b>>e|b<<8-e;a.n&=-2050;a.e=a.e&-2050|b>>7&1|(b<<4^b<<5)&2048;return b}function ab(a,b,e){if(!e)return b;e&=15;b=b>>e|b<<16-e;a.n&=-2050;a.e=a.e&-2050|b>>15&1|(b>>4^b>>3)&2048;return b}
function bb(a,b,e){if(!e)return b;b=b>>>e|b<<32-e;a.n&=-2050;a.e=a.e&-2050|b>>31&1|(b>>20^b>>19)&2048;return b}function cb(a,b,e){e%=9;if(!e)return b;b=b>>e|a.Aa()<<8-e|b<<9-e;a.n&=-2050;a.e=a.e&-2050|b>>8&1|(b<<4^b<<5)&2048;return b}function db(a,b,e){e%=17;if(!e)return b;b=b>>e|a.Aa()<<16-e|b<<17-e;a.n&=-2050;a.e=a.e&-2050|b>>16&1|(b>>4^b>>3)&2048;return b}function eb(a,b,e){if(!e)return b;var g=b>>>e|a.Aa()<<32-e;1<e&&(g|=b<<33-e);a.n&=-2050;a.e=a.e&-2050|b>>e-1&1|(g>>20^g>>19)&2048;return g}
function fb(a,b,e){if(0===e)return b;a.C=b<<e;a.$=7;a.n=212;a.e=a.e&-2050|a.C>>8&1|(a.C<<3^a.C<<4)&2048;return a.C}function gb(a,b,e){if(0===e)return b;a.C=b<<e;a.$=15;a.n=212;a.e=a.e&-2050|a.C>>16&1|(a.C>>5^a.C>>4)&2048;return a.C}function hb(a,b,e){if(0===e)return b;a.C=b<<e;a.$=31;a.n=212;a.e=a.e&-2050|b>>>32-e&1;a.e|=(a.e&1^a.C>>31&1)<<11&2048;return a.C}function jb(a,b,e){if(0===e)return b;a.C=b>>e;a.$=7;a.n=212;a.e=a.e&-2050|b>>e-1&1|(b>>7&1)<<11&2048;return a.C}
function kb(a,b,e){if(0===e)return b;a.C=b>>e;a.$=15;a.n=212;a.e=a.e&-2050|b>>e-1&1|b>>4&2048;return a.C}function lb(a,b,e){if(0===e)return b;a.C=b>>>e;a.$=31;a.n=212;a.e=a.e&-2050|b>>>e-1&1|b>>20&2048;return a.C}function mb(a,b,e){if(0===e)return b;8>e?(a.C=b<<24>>e+24,a.e=a.e&-2050|b>>e-1&1):(a.C=b<<24>>31,a.e=a.e&-2050|a.C&1);a.$=7;a.n=212;return a.C}
function nb(a,b,e){if(0===e)return b;16>e?(a.C=b<<16>>e+16,a.e=a.e&-2050|b>>e-1&1):(a.C=b<<16>>31,a.e=a.e&-2050|a.C&1);a.$=15;a.n=212;return a.C}function ob(a,b,e){if(0===e)return b;a.C=b>>e;a.$=31;a.n=212;a.e=a.e&-2050|b>>>e-1&1;return a.C}function pb(a,b,e,g){if(0===g)return b;16>=g?(a.C=b>>g|e<<16-g,a.e=a.e&-2|b>>g-1&1):(a.C=b<<32-g|e>>g-16,a.e=a.e&-2|e>>g-17&1);a.$=15;a.n=212;a.e=a.e&-2049|(a.C^b)>>4&2048;return a.C}
function qb(a,b,e,g){if(0===g)return b;a.C=b>>>g|e<<32-g;a.$=31;a.n=212;a.e=a.e&-2|b>>>g-1&1;a.e=a.e&-2049|(a.C^b)>>20&2048;return a.C}function rb(a,b,e,g){if(0===g)return b;16>=g?(a.C=b<<g|e>>>16-g,a.e=a.e&-2|b>>>16-g&1):(a.C=b>>32-g|e<<g-16,a.e=a.e&-2|e>>>32-g&1);a.$=15;a.n=212;a.e=a.e&-2049|(a.e&1^a.C>>15&1)<<11;return a.C}function sb(a,b,e,g){if(0===g)return b;a.C=b<<g|e>>>32-g;a.$=31;a.n=212;a.e=a.e&-2|b>>>32-g&1;a.e=a.e&-2049|(a.e&1^a.C>>31&1)<<11;return a.C}
function tb(a,b,e){a.e=a.e&-2|b>>e&1;a.n&=-2}function ub(a,b,e){a.e=a.e&-2|b>>e&1;a.n&=-2;return b^1<<e}function vb(a,b,e){a.e=a.e&-2|b>>e&1;a.n&=-2;return b|1<<e}function wb(a,b,e){a.e=a.e&-2|b>>e&1;a.n&=-2;return b&~(1<<e)}function xb(a,b,e){b=y(a,b+(e>>3)|0);a.e=a.e&-2|b>>(e&7)&1;a.n&=-2}function zb(a,b,e){b=A(a,b+(e>>3)|0);var g=a.memory.L(b);e&=7;a.e=a.e&-2|g>>e&1;a.n&=-2;a.memory.R(b,g^1<<e)}
function Ab(a,b,e){b=A(a,b+(e>>3)|0);var g=a.memory.L(b);e&=7;a.e=a.e&-2|g>>e&1;a.n&=-2;a.memory.R(b,g&~(1<<e))}function Bb(a,b,e){b=A(a,b+(e>>3)|0);var g=a.memory.L(b);e&=7;a.e=a.e&-2|g>>e&1;a.n&=-2;a.memory.R(b,g|1<<e)}function Cb(a,b){a.n=0;a.e&=-2262;if(b)return b=b-(b>>1&1431655765),b=(b&858993459)+(b>>2&858993459),16843009*(b+(b>>4)&252645135)>>24;a.e|=64;return 0}"use strict";function Db(a,b){return 0>a?(b&4095)>>(-a>>1):(~b&4095)>>a}function Eb(a,b,e){return Math.min(Db(a,b),Db(a,e))}
function Fb(a){var b=a.d[4];Gb(a,b,1);var e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-1:1;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096,q=A(a,e);a.u&&(m=Db(g,e));do a.memory.R(q,Hb(a.q,b)),q+=g,h=0!==--d;while(h&&m--);a.i[a.p]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d;h&&Fb(a)}}else Ib(a,e,Hb(a.q,b)),a.i[a.p]+=g}
function Jb(a){var b=a.d[4];Gb(a,b,2);var e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-2:2;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096;if(e&1){do B(a,e,Kb(a.q,b)),e+=g,a.i[a.p]+=g,h=0!==--a.i[a.F];while(h&&m--)}else{var q=0>g?-1:1,w=A(a,e)>>1;a.u&&(m=Db(g,e));do Lb(a.memory,w,Kb(a.q,b)),w+=q,h=0!==--d;while(h&&m--);a.i[a.p]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d}h&&Jb(a)}}else B(a,e,Kb(a.q,b)),a.i[a.p]+=g}
function Mb(a){var b=a.d[4];Gb(a,b,4);var e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-4:4;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096;if(e&3){do D(a,e,Nb(a.q,b)),e+=g,a.i[a.p]+=g,h=0!==--a.i[a.F];while(h&&m--)}else{var q=0>g?-1:1,w=A(a,e)>>>2;a.u&&(m=Db(g,e));do Ob(a.memory,w,Nb(a.q,b)),w+=q,h=0!==--d;while(h&&m--);a.i[a.p]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d}h&&Mb(a)}}else D(a,e,Nb(a.q,b)),a.i[a.p]+=g}
function Pb(a){var b=a.d[4];Gb(a,b,1);var e=Qb(a,3)+a.i[a.w]|0,g=a.e&1024?-1:1;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096,q=E(a,e);a.u&&(m=Db(g,e));do Rb(a.q,b,a.memory.L(q)),q+=g,h=0!==--d;while(h&&m--);a.i[a.w]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d;h&&Pb(a)}}else Rb(a.q,b,y(a,e)),a.i[a.w]+=g}
function Sb(a){var b=a.d[4];Gb(a,b,2);var e=Qb(a,3)+a.i[a.w]|0,g=a.e&1024?-2:2;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096;if(e&1){do Wb(a.q,b,F(a,e)),e+=g,a.i[a.w]+=g,h=0!==--a.i[a.F];while(h&&m--)}else{var q=0>g?-1:1,w=E(a,e)>>1;a.u&&(m=Db(g,e));do Wb(a.q,b,Xb(a.memory,w)),w+=q,h=0!==--d;while(h&&m--);a.i[a.w]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d}h&&Sb(a)}}else Wb(a.q,b,F(a,e)),a.i[a.w]+=g}
function Yb(a){var b=a.d[4];Gb(a,b,4);var e=Qb(a,3)+a.i[a.w]|0,g=a.e&1024?-4:4;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096;if(e&3){do Zb(a.q,b,G(a,e)),e+=g,a.i[a.w]+=g,h=0!==--a.i[a.F];while(h&&m--)}else{var q=0>g?-1:1,w=E(a,e)>>>2;a.u&&(m=Db(g,e));do Zb(a.q,b,$b(a.memory,w)),w+=q,h=0!==--d;while(h&&m--);a.i[a.w]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d}h&&Yb(a)}}else Zb(a.q,b,G(a,e)),a.i[a.w]+=g}"use strict";var H=[],M=[],N=[],O=[];p.prototype.df=H;p.prototype.ef=M;p.prototype.dh=N;
p.prototype.eh=O;H[0]=M[0]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=a.add(b,a.j[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};H[1]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=a.add(b,a.d[a.a>>2&14],15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
M[1]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=a.add(b,a.b[a.a>>3&7],31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};H[2]=M[2]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=a.add(a.j[a.a>>1&12|a.a>>5&1],b,7)};H[3]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=a.add(a.d[a.a>>2&14],b,15)};
M[3]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=a.add(a.b[a.a>>3&7],b,31)};H[4]=M[4]=function(a){a.j[0]=a.add(a.j[0],x(a),7)};H[5]=function(a){a.d[0]=a.add(a.d[0],t(a),15)};M[5]=function(a){a.b[0]=a.add(a.b[0],v(a),31)};H[6]=function(a){Q(a,a.H[0])};M[6]=function(a){R(a,a.H[0])};H[7]=function(a){S(a,0,F(a,ec(a,0)));a.v[a.A]+=2};M[7]=function(a){S(a,0,F(a,ec(a,0)));a.v[a.A]+=4};
H[8]=M[8]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=Oa(a,b,a.j[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};H[9]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Oa(a,b,a.d[a.a>>2&14],15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
M[9]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Oa(a,b,a.b[a.a>>3&7],31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};H[10]=M[10]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=Oa(a,a.j[a.a>>1&12|a.a>>5&1],b,7)};H[11]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=Oa(a,a.d[a.a>>2&14],b,15)};
M[11]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Oa(a,a.b[a.a>>3&7],b,31)};H[12]=M[12]=function(a){a.j[0]=Oa(a,a.j[0],x(a),7)};H[13]=function(a){a.d[0]=Oa(a,a.d[0],t(a),15)};M[13]=function(a){a.b[0]=Oa(a,a.b[0],v(a),31)};H[14]=function(a){Q(a,a.H[1])};M[14]=function(a){R(a,a.H[1])};H[15]=function(a){a.dh[x(a)](a)};M[15]=function(a){a.eh[x(a)](a)};
H[16]=M[16]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=Ea(a,b,a.j[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};H[17]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Ea(a,b,a.d[a.a>>2&14],15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
M[17]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Ea(a,b,a.b[a.a>>3&7],31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};H[18]=M[18]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=Ea(a,a.j[a.a>>1&12|a.a>>5&1],b,7)};H[19]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=Ea(a,a.d[a.a>>2&14],b,15)};
M[19]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Ea(a,a.b[a.a>>3&7],b,31)};H[20]=M[20]=function(a){a.j[0]=Ea(a,a.j[0],x(a),7)};H[21]=function(a){a.d[0]=Ea(a,a.d[0],t(a),15)};M[21]=function(a){a.b[0]=Ea(a,a.b[0],v(a),31)};H[22]=function(a){Q(a,a.H[2])};M[22]=function(a){R(a,a.H[2])};H[23]=function(a){S(a,2,F(a,ec(a,0)));a.v[a.A]+=2;fc(a);gc(a)};M[23]=function(a){S(a,2,F(a,ec(a,0)));a.v[a.A]+=4;fc(a);gc(a)};
H[24]=M[24]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=Fa(a,b,a.j[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};H[25]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Fa(a,b,a.d[a.a>>2&14],15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
M[25]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Fa(a,b,a.b[a.a>>3&7],31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};H[26]=M[26]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=Fa(a,a.j[a.a>>1&12|a.a>>5&1],b,7)};H[27]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=Fa(a,a.d[a.a>>2&14],b,15)};
M[27]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Fa(a,a.b[a.a>>3&7],b,31)};H[28]=M[28]=function(a){a.j[0]=Fa(a,a.j[0],x(a),7)};H[29]=function(a){a.d[0]=Fa(a,a.d[0],t(a),15)};M[29]=function(a){a.b[0]=Fa(a,a.b[0],v(a),31)};H[30]=function(a){Q(a,a.H[3])};M[30]=function(a){R(a,a.H[3])};H[31]=function(a){S(a,3,F(a,ec(a,0)));a.v[a.A]+=2};M[31]=function(a){S(a,3,F(a,ec(a,0)));a.v[a.A]+=4};
H[32]=M[32]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=Na(a,b,a.j[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};H[33]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Na(a,b,a.d[a.a>>2&14],15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
M[33]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Na(a,b,a.b[a.a>>3&7],31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};H[34]=M[34]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=Na(a,a.j[a.a>>1&12|a.a>>5&1],b,7)};H[35]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=Na(a,a.d[a.a>>2&14],b,15)};
M[35]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Na(a,a.b[a.a>>3&7],b,31)};H[36]=M[36]=function(a){a.j[0]=Na(a,a.j[0],x(a),7)};H[37]=function(a){a.d[0]=Na(a,a.d[0],t(a),15)};M[37]=function(a){a.b[0]=Na(a,a.b[0],v(a),31)};H[38]=M[38]=function(a){a.na=0;hc(a);a.na=-1};H[39]=M[39]=function(a){var b=a.j[0],e=a.Aa(),g=ic(a);a.e&=-18;if(9<(b&15)||g)a.j[0]+=6,a.e|=16;if(153<b||e)a.j[0]+=96,a.e|=1;a.C=a.j[0];a.$=7;a.Oa=a.Ha=0;a.n=196};
H[40]=M[40]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=a.sub(b,a.j[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};H[41]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=a.sub(b,a.d[a.a>>2&14],15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
M[41]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=a.sub(b,a.b[a.a>>3&7],31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};H[42]=M[42]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=a.sub(a.j[a.a>>1&12|a.a>>5&1],b,7)};H[43]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=a.sub(a.d[a.a>>2&14],b,15)};
M[43]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=a.sub(a.b[a.a>>3&7],b,31)};H[44]=M[44]=function(a){a.j[0]=a.sub(a.j[0],x(a),7)};H[45]=function(a){a.d[0]=a.sub(a.d[0],t(a),15)};M[45]=function(a){a.b[0]=a.sub(a.b[0],v(a),31)};H[46]=M[46]=function(a){a.na=1;hc(a);a.na=-1};H[47]=M[47]=function(a){var b=a.j[0],e=a.Aa();a.e&=-2;9<(b&15)||ic(a)?(a.j[0]-=6,a.e|=16,a.e=a.e&-2|e|a.j[0]>>7):a.e&=-17;if(153<b||e)a.j[0]-=96,a.e|=1;a.C=a.j[0];a.$=7;a.Oa=a.Ha=0;a.n=196};
H[48]=M[48]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=Pa(a,b,a.j[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};H[49]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Pa(a,b,a.d[a.a>>2&14],15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
M[49]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Pa(a,b,a.b[a.a>>3&7],31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};H[50]=M[50]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=Pa(a,a.j[a.a>>1&12|a.a>>5&1],b,7)};H[51]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=Pa(a,a.d[a.a>>2&14],b,15)};
M[51]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Pa(a,a.b[a.a>>3&7],b,31)};H[52]=M[52]=function(a){a.j[0]=Pa(a,a.j[0],x(a),7)};H[53]=function(a){a.d[0]=Pa(a,a.d[0],t(a),15)};M[53]=function(a){a.b[0]=Pa(a,a.b[0],v(a),31)};H[54]=M[54]=function(a){a.na=2;hc(a);a.na=-1};H[55]=M[55]=function(a){9<(a.j[0]&15)||ic(a)?(a.d[0]+=6,a.j[1]+=1,a.e|=17):a.e&=-18;a.j[0]&=15;a.n&=-18};
H[56]=M[56]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.sub(b,a.j[a.a>>1&12|a.a>>5&1],7)};H[57]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.sub(b,a.d[a.a>>2&14],15)};M[57]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.sub(b,a.b[a.a>>3&7],31)};H[58]=M[58]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.sub(a.j[a.a>>1&12|a.a>>5&1],b,7)};
H[59]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.sub(a.d[a.a>>2&14],b,15)};M[59]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.sub(a.b[a.a>>3&7],b,31)};H[60]=M[60]=function(a){a.sub(a.j[0],x(a),7)};H[61]=function(a){a.sub(a.d[0],t(a),15)};M[61]=function(a){a.sub(a.b[0],v(a),31)};H[62]=M[62]=function(a){a.na=3;hc(a);a.na=-1};H[63]=M[63]=function(a){9<(a.j[0]&15)||ic(a)?(a.d[0]-=6,--a.j[1],a.e|=17):a.e&=-18;a.j[0]&=15;a.n&=-18};
H[64]=function(a){a.d[0]=Ga(a,a.d[0],15)};M[64]=function(a){a.b[0]=Ga(a,a.b[0],31)};H[65]=function(a){a.d[2]=Ga(a,a.d[2],15)};M[65]=function(a){a.b[1]=Ga(a,a.b[1],31)};H[66]=function(a){a.d[4]=Ga(a,a.d[4],15)};M[66]=function(a){a.b[2]=Ga(a,a.b[2],31)};H[67]=function(a){a.d[6]=Ga(a,a.d[6],15)};M[67]=function(a){a.b[3]=Ga(a,a.b[3],31)};H[68]=function(a){a.d[8]=Ga(a,a.d[8],15)};M[68]=function(a){a.b[4]=Ga(a,a.b[4],31)};H[69]=function(a){a.d[10]=Ga(a,a.d[10],15)};
M[69]=function(a){a.b[5]=Ga(a,a.b[5],31)};H[70]=function(a){a.d[12]=Ga(a,a.d[12],15)};M[70]=function(a){a.b[6]=Ga(a,a.b[6],31)};H[71]=function(a){a.d[14]=Ga(a,a.d[14],15)};M[71]=function(a){a.b[7]=Ga(a,a.b[7],31)};H[72]=function(a){a.d[0]=Ha(a,a.d[0],15)};M[72]=function(a){a.b[0]=Ha(a,a.b[0],31)};H[73]=function(a){a.d[2]=Ha(a,a.d[2],15)};M[73]=function(a){a.b[1]=Ha(a,a.b[1],31)};H[74]=function(a){a.d[4]=Ha(a,a.d[4],15)};M[74]=function(a){a.b[2]=Ha(a,a.b[2],31)};
H[75]=function(a){a.d[6]=Ha(a,a.d[6],15)};M[75]=function(a){a.b[3]=Ha(a,a.b[3],31)};H[76]=function(a){a.d[8]=Ha(a,a.d[8],15)};M[76]=function(a){a.b[4]=Ha(a,a.b[4],31)};H[77]=function(a){a.d[10]=Ha(a,a.d[10],15)};M[77]=function(a){a.b[5]=Ha(a,a.b[5],31)};H[78]=function(a){a.d[12]=Ha(a,a.d[12],15)};M[78]=function(a){a.b[6]=Ha(a,a.b[6],31)};H[79]=function(a){a.d[14]=Ha(a,a.d[14],15)};M[79]=function(a){a.b[7]=Ha(a,a.b[7],31)};H[80]=function(a){Q(a,a.d[0])};M[80]=function(a){R(a,a.b[0])};
H[81]=function(a){Q(a,a.d[2])};M[81]=function(a){R(a,a.b[1])};H[82]=function(a){Q(a,a.d[4])};M[82]=function(a){R(a,a.b[2])};H[83]=function(a){Q(a,a.d[6])};M[83]=function(a){R(a,a.b[3])};H[84]=function(a){Q(a,a.d[8])};M[84]=function(a){R(a,a.b[4])};H[85]=function(a){Q(a,a.d[10])};M[85]=function(a){R(a,a.b[5])};H[86]=function(a){Q(a,a.d[12])};M[86]=function(a){R(a,a.b[6])};H[87]=function(a){Q(a,a.d[14])};M[87]=function(a){R(a,a.b[7])};H[88]=function(a){a.d[0]=jc(a)};M[88]=function(a){a.b[0]=U(a)};
H[89]=function(a){a.d[2]=jc(a)};M[89]=function(a){a.b[1]=U(a)};H[90]=function(a){a.d[4]=jc(a)};M[90]=function(a){a.b[2]=U(a)};H[91]=function(a){a.d[6]=jc(a)};M[91]=function(a){a.b[3]=U(a)};H[92]=function(a){a.d[8]=jc(a)};M[92]=function(a){a.b[4]=U(a)};H[93]=function(a){a.d[10]=jc(a)};M[93]=function(a){a.b[5]=U(a)};H[94]=function(a){a.d[12]=jc(a)};M[94]=function(a){a.b[6]=U(a)};H[95]=function(a){a.d[14]=jc(a)};M[95]=function(a){a.b[7]=U(a)};
H[96]=function(a){var b=a.d[8];A(a,a.t[2]+a.v[a.A]-15|0);Q(a,a.d[0]);Q(a,a.d[2]);Q(a,a.d[4]);Q(a,a.d[6]);Q(a,b);Q(a,a.d[10]);Q(a,a.d[12]);Q(a,a.d[14])};M[96]=function(a){var b=a.b[4];A(a,a.t[2]+a.v[a.A]-31|0);R(a,a.b[0]);R(a,a.b[1]);R(a,a.b[2]);R(a,a.b[3]);R(a,b);R(a,a.b[5]);R(a,a.b[6]);R(a,a.b[7])};H[97]=function(a){E(a,a.t[2]+a.v[a.A]+15|0);a.d[14]=jc(a);a.d[12]=jc(a);a.d[10]=jc(a);a.v[a.A]+=2;a.d[6]=jc(a);a.d[4]=jc(a);a.d[2]=jc(a);a.d[0]=jc(a)};
M[97]=function(a){E(a,a.t[2]+a.v[a.A]+31|0);a.b[7]=U(a);a.b[6]=U(a);a.b[5]=U(a);a.v[a.A]+=4;a.b[3]=U(a);a.b[2]=U(a);a.b[1]=U(a);a.b[0]=U(a)};H[98]=M[98]=function(){};H[99]=M[99]=function(a){a.a=x(a);if(a.pa&&!kc(a)){var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];var d=a.a>>2&14;a.n&=-65;(b&3)<(a.d[d]&3)?(a.e|=64,b=b&-4|a.d[d]&3):a.e&=-65;192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b}else V(a)};
H[100]=M[100]=function(a){a.na=4;hc(a);a.na=-1};H[101]=M[101]=function(a){a.na=5;hc(a);a.na=-1};H[102]=function(a){a.Ia=!0;a.table=a.ef;hc(a);a.Ia=a.wa;Ba(a)};M[102]=function(a){a.Ia=!1;a.table=a.df;hc(a);a.Ia=a.wa;Ba(a)};H[103]=M[103]=function(a){a.bb=!a.wa;Aa(a);hc(a);a.bb=a.wa;Aa(a)};H[104]=function(a){Q(a,t(a))};M[104]=function(a){R(a,v(a))};H[105]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a))<<16>>16:a.ra[a.a<<1&14];a.d[a.a>>2&14]=Ja(a,t(a)<<16>>16,b)};
M[105]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Ka(a,v(a),b)};H[106]=function(a){Q(a,s(a))};M[106]=function(a){R(a,s(a))};H[107]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a))<<16>>16:a.ra[a.a<<1&14];a.d[a.a>>2&14]=Ja(a,s(a),b)};M[107]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Ka(a,s(a),b)};H[108]=M[108]=function(a){Fb(a)};H[109]=function(a){Jb(a)};M[109]=function(a){Mb(a)};H[110]=M[110]=function(a){Pb(a)};H[111]=function(a){Sb(a)};
M[111]=function(a){Yb(a)};H[112]=M[112]=function(a){var b=s(a);a.ib()&&(a.l=a.l+b|0)};H[113]=M[113]=function(a){var b=s(a);a.ib()||(a.l=a.l+b|0)};H[114]=M[114]=function(a){var b=s(a);a.Va()&&(a.l=a.l+b|0)};H[115]=M[115]=function(a){var b=s(a);a.Va()||(a.l=a.l+b|0)};H[116]=M[116]=function(a){var b=s(a);a.Xa()&&(a.l=a.l+b|0)};H[117]=M[117]=function(a){var b=s(a);a.Xa()||(a.l=a.l+b|0)};H[118]=M[118]=function(a){var b=s(a);lc(a)&&(a.l=a.l+b|0)};H[119]=M[119]=function(a){var b=s(a);lc(a)||(a.l=a.l+b|0)};
H[120]=M[120]=function(a){var b=s(a);a.jb()&&(a.l=a.l+b|0)};H[121]=M[121]=function(a){var b=s(a);a.jb()||(a.l=a.l+b|0)};H[122]=M[122]=function(a){var b=s(a);a.Wa()&&(a.l=a.l+b|0)};H[123]=M[123]=function(a){var b=s(a);a.Wa()||(a.l=a.l+b|0)};H[124]=M[124]=function(a){var b=s(a);mc(a)&&(a.l=a.l+b|0)};H[125]=M[125]=function(a){var b=s(a);mc(a)||(a.l=a.l+b|0)};H[126]=M[126]=function(a){var b=s(a);nc(a)&&(a.l=a.l+b|0)};H[127]=M[127]=function(a){var b=s(a);nc(a)||(a.l=a.l+b|0)};
H[128]=M[128]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.sub(b,x(a),7)}else{var e,g,d;192>a.a?(g=A(a,a.h(a.a)),b=a.memory.L(g)):b=a.j[a.a<<2&12|a.a>>2&1];d=0;e=x(a);switch(a.a>>3&7){case 0:d=a.add(b,e,7);break;case 1:d=Oa(a,b,e,7);break;case 2:d=Ea(a,b,e,7);break;case 3:d=Fa(a,b,e,7);break;case 4:d=Na(a,b,e,7);break;case 5:d=a.sub(b,e,7);break;case 6:d=Pa(a,b,e,7);break;case 7:d=oc.bind(this,0)(b,e)}192>a.a?a.memory.R(g,d):a.j[a.a<<2&12|a.a>>2&1]=
d}};
H[129]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.sub(b,t(a),15)}else{var e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4095===(b&4095)?(d=A(a,b+1),b=ac(a,g,d)):b=a.memory.K(g)):b=a.d[a.a<<1&14];h=0;e=t(a);switch(a.a>>3&7){case 0:h=a.add(b,e,15);break;case 1:h=Oa(a,b,e,15);break;case 2:h=Ea(a,b,e,15);break;case 3:h=Fa(a,b,e,15);break;case 4:h=Na(a,b,e,15);break;case 5:h=a.sub(b,e,15);break;case 6:h=Pa(a,b,e,15);break;case 7:h=oc.bind(this,0)(b,e)}192>a.a?d?bc(a,
g,d,h):a.memory.fa(g,h):a.d[a.a<<1&14]=h}};
M[129]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.sub(b,v(a),31)}else{var e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4093<=(b&4095)?(d=A(a,b+3),b=cc(a,g,d)):b=P(a.memory,g)):b=a.b[a.a&7];h=0;e=v(a);switch(a.a>>3&7){case 0:h=a.add(b,e,31);break;case 1:h=Oa(a,b,e,31);break;case 2:h=Ea(a,b,e,31);break;case 3:h=Fa(a,b,e,31);break;case 4:h=Na(a,b,e,31);break;case 5:h=a.sub(b,e,31);break;case 6:h=Pa(a,b,e,31);break;case 7:h=oc.bind(this,0)(b,e)}192>a.a?d?dc(a,g,d,h):
a.memory.ga(g,h):a.b[a.a&7]=h}};H[130]=M[130]=function(a){a.table[128](a)};
H[131]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.sub(b,s(a),15)}else{var e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4095===(b&4095)?(d=A(a,b+1),b=ac(a,g,d)):b=a.memory.K(g)):b=a.d[a.a<<1&14];h=0;e=s(a);switch(a.a>>3&7){case 0:h=a.add(b,e,15);break;case 1:h=Oa(a,b,e,15);break;case 2:h=Ea(a,b,e,15);break;case 3:h=Fa(a,b,e,15);break;case 4:h=Na(a,b,e,15);break;case 5:h=a.sub(b,e,15);break;case 6:h=Pa(a,b,e,15);break;case 7:h=oc.bind(this,0)(b,e)}192>a.a?d?bc(a,
g,d,h):a.memory.fa(g,h):a.d[a.a<<1&14]=h}};
M[131]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.sub(b,s(a),31)}else{var e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4093<=(b&4095)?(d=A(a,b+3),b=cc(a,g,d)):b=P(a.memory,g)):b=a.b[a.a&7];h=0;e=s(a);switch(a.a>>3&7){case 0:h=a.add(b,e,31);break;case 1:h=Oa(a,b,e,31);break;case 2:h=Ea(a,b,e,31);break;case 3:h=Fa(a,b,e,31);break;case 4:h=Na(a,b,e,31);break;case 5:h=a.sub(b,e,31);break;case 6:h=Pa(a,b,e,31);break;case 7:h=oc.bind(this,0)(b,e)}192>a.a?d?dc(a,g,d,h):
a.memory.ga(g,h):a.b[a.a&7]=h}};H[132]=M[132]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];Na(a,b,a.j[a.a>>1&12|a.a>>5&1],7)};H[133]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];Na(a,b,a.d[a.a>>2&14],15)};M[133]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];Na(a,b,a.b[a.a>>3&7],31)};
H[134]=M[134]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];var g=a.a,g=g>>1&12|g>>5&1,d=a.j[g];a.j[g]=b;192>a.a?a.memory.R(e,d):a.j[a.a<<2&12|a.a>>2&1]=d};H[135]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];var d=a.a>>2&14,h=a.d[d];a.d[d]=b;192>a.a?g?bc(a,e,g,h):a.memory.fa(e,h):a.d[a.a<<1&14]=h};
M[135]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];var d=a.a>>3&7,h=a.b[d];a.b[d]=b;192>a.a?g?dc(a,e,g,h):a.memory.ga(e,h):a.b[a.a&7]=h};H[136]=M[136]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=a.j[a.a>>1&12|a.a>>5&1];192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};H[137]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=a.d[a.a>>2&14];192>a.a?B(a,b,e):a.d[a.a<<1&14]=e};
M[137]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=a.b[a.a>>3&7];192>a.a?D(a,b,e):a.gb[a.a&7]=e};H[138]=M[138]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.j[a.a>>1&12|a.a>>5&1]=b};H[139]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=b};M[139]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=b};H[140]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=a.H[a.a>>3&7];192>a.a?B(a,b,e):a.d[a.a<<1&14]=e};
M[140]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=a.H[a.a>>3&7];192>a.a?D(a,b,e):a.gb[a.a&7]=e};H[141]=function(a){a.a=x(a);192<=a.a&&V(a);var b=a.a>>3&7;a.na=9;a.d[b<<1]=a.h(a.a);a.na=-1};M[141]=function(a){a.a=x(a);192<=a.a&&V(a);var b=a.a>>3&7;a.na=9;a.b[b]=a.h(a.a);a.na=-1};H[142]=M[142]=function(a){a.a=x(a);var b=a.a>>3&7,e=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];S(a,b,e)};
H[143]=function(a){a.a=x(a);var b=F(a,ec(a,0));a.v[a.A]+=2;if(192>a.a){var e=a.h(a.a);a.v[a.A]-=2;B(a,e,b);a.v[a.A]+=2}else a.d[a.a<<1&14]=b};M[143]=function(a){a.a=x(a);var b=G(a,ec(a,0));a.v[a.A]+=4;if(192>a.a){var e=a.h(a.a);a.v[a.A]-=4;D(a,e,b);a.v[a.A]+=4}else a.b[a.a&7]=b};H[144]=M[144]=function(){};H[145]=function(a){pc(a,2)};M[145]=function(a){qc(a,1)};H[146]=function(a){pc(a,4)};M[146]=function(a){qc(a,2)};H[147]=function(a){pc(a,6)};M[147]=function(a){qc(a,3)};H[148]=function(a){pc(a,8)};
M[148]=function(a){qc(a,4)};H[149]=function(a){pc(a,10)};M[149]=function(a){qc(a,5)};H[150]=function(a){pc(a,12)};M[150]=function(a){qc(a,6)};H[151]=function(a){pc(a,14)};M[151]=function(a){qc(a,7)};H[152]=function(a){a.d[0]=a.Ib[0]};M[152]=function(a){a.b[0]=a.ra[0]};H[153]=function(a){a.d[4]=a.ra[0]>>15};M[153]=function(a){a.b[2]=a.b[0]>>31};H[154]=function(a){var b=t(a),e=t(a);rc(a,ec(a,-4),4);Q(a,a.H[1]);Q(a,sc(a));S(a,1,e);a.l=a.t[1]+b|0};
M[154]=function(a){var b=v(a),e=t(a);if((!a.pa||kc(a))&&b&4294901760)throw a.debug.P("#GP handler");rc(a,ec(a,-8),8);R(a,a.H[1]);R(a,sc(a));S(a,1,e);a.l=a.t[1]+b|0};H[155]=M[155]=function(a){10===(a.s[0]&10)&&tc(a)};H[156]=function(a){a.e&131072&&3>wc(a)?W(a,0):(xc(a),Q(a,a.e))};M[156]=function(a){a.e&131072&&3>wc(a)?W(a,0):(xc(a),R(a,a.e&16580607))};H[157]=function(a){a.e&131072&&3>wc(a)&&W(a,0);yc(a,a.e&-65536|jc(a));zc(a)};M[157]=function(a){a.e&131072&&W(a,0);yc(a,U(a));zc(a)};
H[158]=M[158]=function(a){a.e=a.e&-256|a.j[1];a.e=a.e&4161493|2;a.n=0};H[159]=M[159]=function(a){xc(a);a.j[1]=a.e};H[160]=M[160]=function(a){var b=y(a,Ac(a));a.j[0]=b};H[161]=function(a){var b=F(a,Ac(a));a.d[0]=b};M[161]=function(a){var b=G(a,Ac(a));a.b[0]=b};H[162]=M[162]=function(a){Ib(a,Ac(a),a.j[0])};H[163]=function(a){B(a,Ac(a),a.d[0])};M[163]=function(a){D(a,Ac(a),a.b[0])};
H[164]=M[164]=function(a){var b=Qb(a,3)+a.i[a.w]|0,e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-1:1;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096,q=E(a,b),w=A(a,e);a.u&&(m=Eb(g,b,e));do a.memory.R(w,a.memory.L(q)),w+=g,q+=g,h=0!==--d;while(h&&m--);b=g*(l-d)|0;a.i[a.p]+=b;a.i[a.w]+=b;a.i[a.F]=d;a.Q+=l-d;h&&(a.l=a.da)}}else Ib(a,e,y(a,b)),a.i[a.p]+=g,a.i[a.w]+=g};
H[165]=function(a){var b=Qb(a,3)+a.i[a.w]|0,e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-2:2;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096;if(e&1||b&1){do B(a,e,F(a,b)),e+=g,a.i[a.p]+=g,b+=g,a.i[a.w]+=g,h=0!==--a.i[a.F];while(h&&m--)}else{var q=0>g?-1:1,w=E(a,b)>>1,C=A(a,e)>>1;a.u&&(m=Eb(g,b,e));do Lb(a.memory,C,Xb(a.memory,w)),C+=q,w+=q,h=0!==--d;while(h&&m--);b=g*(l-d)|0;a.i[a.p]+=b;a.i[a.w]+=b;a.i[a.F]=d;a.Q+=l-d}h&&(a.l=a.da)}}else B(a,e,F(a,b)),a.i[a.p]+=g,a.i[a.w]+=g};
M[165]=function(a){a:{if(0!==a.Z){var b=Qb(a,3)+a.i[a.w]|0,e=a.t[0]+a.i[a.p]|0,g=a.i[a.F]>>>0;if(!g)break a;var d=a.u?4095:3;if(0===(e&d)&&0===(b&d)&&0===(a.e&1024)&&(d=!1,a.u&&(b=E(a,b),e=A(a,e),1024<g&&(g=1024,d=!0)),!Bc(a.q,b,g)&&!Bc(a.q,e,g))){var h=g<<2;a.i[a.F]-=g;a.i[a.p]+=h;a.i[a.w]+=h;b>>=2;a.memory.wb.set(a.memory.wb.subarray(b,b+g),e>>2);d&&(a.l=a.da);break a}}b=Qb(a,3)+a.i[a.w]|0;e=a.t[0]+a.i[a.p]|0;h=a.e&1024?-4:4;if(0!==a.Z){if(g=a.i[a.F]>>>0,0!==g){var l=g,m=4096;if(e&3||b&3){do D(a,
e,G(a,b)),e+=h,a.i[a.p]+=h,b+=h,a.i[a.w]+=h,d=0!==--a.i[a.F];while(d&&m--)}else{var q=0>h?-1:1,w=E(a,b)>>>2,C=A(a,e)>>>2;a.u&&(m=Eb(h,b,e));do Ob(a.memory,C,$b(a.memory,w)),C+=q,w+=q,d=0!==--g;while(d&&m--);h=h*(l-g)|0;a.i[a.p]+=h;a.i[a.w]+=h;a.i[a.F]=g;a.Q+=l-g}d&&(a.l=a.da)}}else D(a,e,G(a,b)),a.i[a.p]+=h,a.i[a.w]+=h}};
H[166]=M[166]=function(a){a:{var b=Qb(a,3)+a.i[a.w]|0,e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-1:1;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0===d)break a;var h=!1,l=d,m=2===a.Z,q=4096,w=E(a,b),C=E(a,e);a.u&&(q=Eb(g,b,e));do e=a.memory.L(C),b=a.memory.L(w),C+=g,w+=g,h=0!==--d&&b===e===m;while(h&&q--);g=g*(l-d)|0;a.i[a.p]+=g;a.i[a.w]+=g;a.i[a.F]=d;a.Q+=l-d;h&&(a.l=a.da)}else b=y(a,b),e=y(a,e),a.i[a.p]+=g,a.i[a.w]+=g;a.sub(b,e,7)}};
H[167]=function(a){a:{var b=Qb(a,3)+a.i[a.w]|0,e=a.t[0]+a.i[a.p]|0,g,d,h=a.e&1024?-2:2;if(0!==a.Z){var l=a.i[a.F]>>>0;if(0===l)break a;var m=!1,q=l,w=2===a.Z,C=4096;if(e&1||b&1){do d=F(a,e),g=F(a,b),e+=h,a.i[a.p]+=h,b+=h,a.i[a.w]+=h,m=0!==--a.i[a.F]&&g===d===w;while(m&&C--)}else{var z=0>h?-1:1,L=E(a,b)>>1,K=E(a,e)>>1;a.u&&(C=Eb(h,b,e));do d=Xb(a.memory,K),g=Xb(a.memory,L),K+=z,L+=z,m=0!==--l&&g===d===w;while(m&&C--);b=h*(q-l)|0;a.i[a.p]+=b;a.i[a.w]+=b;a.i[a.F]=l;a.Q+=q-l}m&&(a.l=a.da)}else d=F(a,
e),g=F(a,b),a.i[a.p]+=h,a.i[a.w]+=h;a.sub(g,d,15)}};
M[167]=function(a){a:{var b=Qb(a,3)+a.i[a.w]|0,e=a.t[0]+a.i[a.p]|0,g,d,h=a.e&1024?-4:4;if(0!==a.Z){var l=a.i[a.F]>>>0;if(0===l)break a;var m=!1,q=l,w=2===a.Z,C=4096;if(e&3||b&3){do d=G(a,e),g=G(a,b),e+=h,a.i[a.p]+=h,b+=h,a.i[a.w]+=h,m=0!==--a.i[a.F]&&g===d===w;while(m&&C--)}else{var z=0>h?-1:1,L=E(a,b)>>>2,K=E(a,e)>>>2;a.u&&(C=Eb(h,b,e));do d=$b(a.memory,K),g=$b(a.memory,L),K+=z,L+=z,m=0!==--l&&g===d===w;while(m&&C--);b=h*(q-l)|0;a.i[a.p]+=b;a.i[a.w]+=b;a.i[a.F]=l;a.Q+=q-l}m&&(a.l=a.da)}else d=G(a,
e),g=G(a,b),a.i[a.p]+=h,a.i[a.w]+=h;a.sub(g,d,31)}};H[168]=M[168]=function(a){Na(a,a.j[0],x(a),7)};H[169]=function(a){Na(a,a.d[0],t(a),15)};M[169]=function(a){Na(a,a.b[0],v(a),31)};H[170]=M[170]=function(a){var b=a.j[0],e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-1:1;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096,q=A(a,e);a.u&&(m=Db(g,e));do a.memory.R(q,b),q+=g,h=0!==--d;while(h&&m--);a.i[a.p]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d;h&&(a.l=a.da)}}else Ib(a,e,b),a.i[a.p]+=g};
H[171]=function(a){var b=a.d[0],e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-2:2;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096;if(e&1){do B(a,e,b),e+=g,a.i[a.p]+=g,h=0!==--a.i[a.F];while(h&&m--)}else{var q=0>g?-1:1,w=A(a,e)>>1;a.u&&(m=Db(g,e));do Lb(a.memory,w,b),w+=q,h=0!==--d;while(h&&m--);a.i[a.p]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d}h&&(a.l=a.da)}}else B(a,e,b),a.i[a.p]+=g};
M[171]=function(a){var b=a.b[0],e=a.t[0]+a.i[a.p]|0,g=a.e&1024?-4:4;if(0!==a.Z){var d=a.i[a.F]>>>0;if(0!==d){var h=!1,l=d,m=4096;if(e&3){do D(a,e,b),e+=g,a.i[a.p]+=g,h=0!==--a.i[a.F];while(h&&m--)}else{var q=0>g?-1:1,w=A(a,e)>>>2;a.u&&(m=Db(g,e));do Ob(a.memory,w,b),w+=q,h=0!==--d;while(h&&m--);a.i[a.p]+=g*(l-d)|0;a.i[a.F]=d;a.Q+=l-d}h&&(a.l=a.da)}}else D(a,e,b),a.i[a.p]+=g};
H[172]=M[172]=function(a){var b=Qb(a,3)+a.i[a.w]|0,e=a.e&1024?-1:1;if(0!==a.Z){var g=a.i[a.F]>>>0;if(0!==g){var d=!1,h=g,l=4096,m=E(a,b);a.u&&(l=Db(e,b));do a.j[0]=a.memory.L(m),m+=e,d=0!==--g;while(d&&l--);a.i[a.w]+=e*(h-g)|0;a.i[a.F]=g;a.Q+=h-g;d&&(a.l=a.da)}}else a.j[0]=y(a,b),a.i[a.w]+=e};
H[173]=function(a){var b=Qb(a,3)+a.i[a.w]|0,e=a.e&1024?-2:2;if(0!==a.Z){if(0!==a.i[a.F]>>>0){var g=!1,d=4096;do a.d[0]=F(a,b),b+=e,a.i[a.w]+=e,g=0!==--a.i[a.F];while(g&&d--);g&&(a.l=a.da)}}else a.d[0]=F(a,b),a.i[a.w]+=e};M[173]=function(a){var b=Qb(a,3)+a.i[a.w]|0,e=a.e&1024?-4:4;if(0!==a.Z){if(0!==a.i[a.F]>>>0){var g=!1,d=4096;do a.b[0]=G(a,b),b+=e,a.i[a.w]+=e,g=0!==--a.i[a.F];while(g&&d--);g&&(a.l=a.da)}}else a.b[0]=G(a,b),a.i[a.w]+=e};
H[174]=M[174]=function(a){a:{var b=a.t[0]+a.i[a.p]|0,e=a.e&1024?-1:1,g=a.j[0];if(0!==a.Z){var d=a.i[a.F]>>>0;if(0===d)break a;var h=!1,l=d,m=2===a.Z,q=4096,w=E(a,b);a.u&&(q=Db(e,b));do b=a.memory.L(w),w+=e,h=0!==--d&&g===b===m;while(h&&q--);a.i[a.p]+=e*(l-d)|0;a.i[a.F]=d;a.Q+=l-d;h&&(a.l=a.da)}else b=y(a,b),a.i[a.p]+=e;a.sub(g,b,7)}};
H[175]=function(a){a:{var b=a.t[0]+a.i[a.p]|0,e=a.e&1024?-2:2,g,d=a.d[0];if(0!==a.Z){var h=a.i[a.F]>>>0;if(0===h)break a;var l=!1,m=h,q=2===a.Z,w=4096;if(b&1){do g=F(a,b),b+=e,a.i[a.p]+=e,l=0!==--a.i[a.F]&&d===g===q;while(l&&w--)}else{var C=0>e?-1:1,z=E(a,b)>>1;a.u&&(w=Db(e,b));do g=Xb(a.memory,z),z+=C,l=0!==--h&&d===g===q;while(l&&w--);a.i[a.p]+=e*(m-h)|0;a.i[a.F]=h;a.Q+=m-h}l&&(a.l=a.da)}else g=F(a,b),a.i[a.p]+=e;a.sub(d,g,15)}};
M[175]=function(a){a:{var b=a.t[0]+a.i[a.p]|0,e=a.e&1024?-4:4,g,d=a.b[0];if(0!==a.Z){var h=a.i[a.F]>>>0;if(0===h)break a;var l=!1,m=h,q=2===a.Z,w=4096;if(b&3){do g=G(a,b),b+=e,a.i[a.p]+=e,l=0!==--a.i[a.F]&&d===g===q;while(l&&w--)}else{var C=0>e?-1:1,z=E(a,b)>>>2;a.u&&(w=Db(e,b));do g=$b(a.memory,z),z+=C,l=0!==--h&&d===g===q;while(l&&w--);a.i[a.p]+=e*(m-h)|0;a.i[a.F]=h;a.Q+=m-h}l&&(a.l=a.da)}else g=G(a,b),a.i[a.p]+=e;a.sub(d,g,31)}};H[176]=M[176]=function(a){a.j[0]=x(a)};
H[177]=M[177]=function(a){a.j[4]=x(a)};H[178]=M[178]=function(a){a.j[8]=x(a)};H[179]=M[179]=function(a){a.j[12]=x(a)};H[180]=M[180]=function(a){a.j[1]=x(a)};H[181]=M[181]=function(a){a.j[5]=x(a)};H[182]=M[182]=function(a){a.j[9]=x(a)};H[183]=M[183]=function(a){a.j[13]=x(a)};H[184]=function(a){a.d[0]=t(a)};M[184]=function(a){a.b[0]=v(a)};H[185]=function(a){a.d[2]=t(a)};M[185]=function(a){a.b[1]=v(a)};H[186]=function(a){a.d[4]=t(a)};M[186]=function(a){a.b[2]=v(a)};H[187]=function(a){a.d[6]=t(a)};
M[187]=function(a){a.b[3]=v(a)};H[188]=function(a){a.d[8]=t(a)};M[188]=function(a){a.b[4]=v(a)};H[189]=function(a){a.d[10]=t(a)};M[189]=function(a){a.b[5]=v(a)};H[190]=function(a){a.d[12]=t(a)};M[190]=function(a){a.b[6]=v(a)};H[191]=function(a){a.d[14]=t(a)};M[191]=function(a){a.b[7]=v(a)};
H[192]=M[192]=function(a){a.a=x(a);var b,e,g,d;192>a.a?(g=A(a,a.h(a.a)),e=a.memory.L(g)):e=a.j[a.a<<2&12|a.a>>2&1];d=0;b=x(a)&31;switch(a.a>>3&7){case 0:d=Ra(a,e,b);break;case 1:d=$a(a,e,b);break;case 2:d=Xa(a,e,b);break;case 3:d=cb(a,e,b);break;case 4:d=fb(a,e,b);break;case 5:d=jb(a,e,b);break;case 6:d=fb(a,e,b);break;case 7:d=mb(a,e,b)}192>a.a?a.memory.R(g,d):a.j[a.a<<2&12|a.a>>2&1]=d};
H[193]=function(a){a.a=x(a);var b,e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4095===(b&4095)?(d=A(a,b+1),e=ac(a,g,d)):e=a.memory.K(g)):e=a.d[a.a<<1&14];h=0;b=x(a)&31;switch(a.a>>3&7){case 0:h=Sa(a,e,b);break;case 1:h=ab(a,e,b);break;case 2:h=Ya(a,e,b);break;case 3:h=db(a,e,b);break;case 4:h=gb(a,e,b);break;case 5:h=kb(a,e,b);break;case 6:h=gb(a,e,b);break;case 7:h=nb(a,e,b)}192>a.a?d?bc(a,g,d,h):a.memory.fa(g,h):a.d[a.a<<1&14]=h};
M[193]=function(a){a.a=x(a);var b,e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4093<=(b&4095)?(d=A(a,b+3),e=cc(a,g,d)):e=P(a.memory,g)):e=a.b[a.a&7];h=0;b=x(a)&31;switch(a.a>>3&7){case 0:h=Ta(a,e,b);break;case 1:h=bb(a,e,b);break;case 2:h=Za(a,e,b);break;case 3:h=eb(a,e,b);break;case 4:h=hb(a,e,b);break;case 5:h=lb(a,e,b);break;case 6:h=hb(a,e,b);break;case 7:h=ob(a,e,b)}192>a.a?d?dc(a,g,d,h):a.memory.ga(g,h):a.b[a.a&7]=h};H[194]=function(a){var b=t(a);a.l=a.t[1]+jc(a)|0;a.v[a.A]+=b};
M[194]=function(a){var b=t(a);a.l=a.t[1]+U(a)|0;a.v[a.A]+=b};H[195]=function(a){a.l=a.t[1]+jc(a)|0};M[195]=function(a){a.l=a.t[1]+U(a)|0};H[196]=function(a){a.a=x(a);192<=a.a&&V(a);Cc(a,0,a.h(a.a),a.a>>2&14)};M[196]=function(a){a.a=x(a);192<=a.a&&V(a);Dc(a,0,a.h(a.a),a.a>>3&7)};H[197]=function(a){a.a=x(a);192<=a.a&&V(a);Cc(a,3,a.h(a.a),a.a>>2&14)};M[197]=function(a){a.a=x(a);192<=a.a&&V(a);Dc(a,3,a.h(a.a),a.a>>3&7)};
H[198]=M[198]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=x(a);192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};H[199]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=t(a);192>a.a?B(a,b,e):a.d[a.a<<1&14]=e};M[199]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=v(a);192>a.a?D(a,b,e):a.gb[a.a&7]=e};H[200]=function(a){var b=t(a),e=x(a),e=e&31,g,d;Q(a,a.d[10]);g=a.d[8];if(0<e){d=a.d[5];for(var h=1;h<e;h++)d-=2,Q(a,F(a,a.t[2]+d|0));Q(a,g)}a.d[10]=g;a.d[8]-=b};
M[200]=function(a){var b=t(a),e=x(a),e=e&31,g,d;R(a,a.b[5]);g=a.b[4];if(0<e){d=a.b[5];for(var h=1;h<e;h++)d-=4,R(a,G(a,a.t[2]+d|0));R(a,g)}a.b[5]=g;a.b[4]-=b};H[201]=function(a){var b=F(a,a.t[2]+a.v[a.hb]|0);a.v[a.A]=a.v[a.hb]+2|0;a.d[10]=b};M[201]=function(a){var b=G(a,a.t[2]+a.v[a.hb]|0);a.v[a.A]=a.v[a.hb]+4|0;a.b[5]=b};H[202]=function(a){E(a,a.t[2]+a.v[a.A]+4);var b=t(a),e=jc(a);S(a,1,jc(a));a.l=a.t[1]+e|0;a.v[a.A]+=b};
M[202]=function(a){E(a,a.t[2]+a.v[a.A]+8);var b=t(a),e=U(a);S(a,1,U(a)&65535);a.l=a.t[1]+e|0;a.v[a.A]+=b};H[203]=function(a){E(a,a.t[2]+a.v[a.A]+4);var b=jc(a);S(a,1,jc(a));a.l=a.t[1]+b|0};M[203]=function(a){E(a,a.t[2]+a.v[a.A]+8);var b=U(a);S(a,1,U(a)&65535);a.l=a.t[1]+b|0};H[204]=M[204]=function(a){Ec(a,3,!0,!1)};H[205]=M[205]=function(a){var b=x(a);Ec(a,b,!0,!1)};H[206]=M[206]=function(a){a.fd()&&Ec(a,4,!0,!1)};
H[207]=function(a){if(!a.pa||kc(a)&&3===wc(a)){var b=jc(a),e=jc(a),g=jc(a);S(a,1,e);a.l=b+a.t[1]|0;yc(a,a.e&-65536|g);zc(a)}else throw kc(a)&&W(a,0),a.debug.P("16 bit iret in protected mode");};
M[207]=function(a){a:{if(!a.pa||kc(a)&&3===wc(a)){var b=U(a);if(b&4294901760)throw a.debug.P("#GP handler");S(a,1,U(a)&65535);var e=U(a);a.l=b+a.t[1]|0;yc(a,e)}else{kc(a)&&W(a,0);a.l=U(a);a.H[1]=U(a);e=U(a);if(e&131072){if(0===a.O){yc(a,e);a.e|=131072;S(a,1,a.H[1]);a.l=(a.l&65535)+a.t[1]|0;var b=U(a),g=U(a);S(a,0,U(a)&65535);S(a,3,U(a)&65535);S(a,4,U(a)&65535);S(a,5,U(a)&65535);a.b[4]=b;S(a,2,g&65535);a.O=3;Fc(a);Gc(a,!1);break a}e&=-131073}var d=Hc(a,a.H[1]);if(d.nb)throw a.debug.P("is null");if(!d.ub)throw a.debug.P("not present");
if(!d.dc)throw a.debug.P("not exec");if(d.Xb<a.O)throw a.debug.P("rpl < cpl");if(d.ac&&d.Ga>d.Xb)throw a.debug.P("conforming and dpl > rpl");d.Xb>a.O?(b=U(a),g=U(a),a.b[4]=b,yc(a,e),a.O||(a.e=a.e&-1572865|e&1572864),a.O=d.Xb,Fc(a),S(a,2,g&65535)):(yc(a,e),a.O||(a.e=a.e&-1572865|e&1572864));d.size!==a.wa&&Gc(a,d.size);a.Ca[1]=d.Db;a.t[1]=d.Mb;a.l=a.l+a.t[1]|0}zc(a)}};
H[208]=M[208]=function(a){a.a=x(a);var b,e,g;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];g=0;switch(a.a>>3&7){case 0:g=Ra(a,b,1);break;case 1:g=$a(a,b,1);break;case 2:g=Xa(a,b,1);break;case 3:g=cb(a,b,1);break;case 4:g=fb(a,b,1);break;case 5:g=jb(a,b,1);break;case 6:g=fb(a,b,1);break;case 7:g=mb(a,b,1)}192>a.a?a.memory.R(e,g):a.j[a.a<<2&12|a.a>>2&1]=g};
H[209]=function(a){a.a=x(a);var b,e,g=0,d;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];d=0;switch(a.a>>3&7){case 0:d=Sa(a,b,1);break;case 1:d=ab(a,b,1);break;case 2:d=Ya(a,b,1);break;case 3:d=db(a,b,1);break;case 4:d=gb(a,b,1);break;case 5:d=kb(a,b,1);break;case 6:d=gb(a,b,1);break;case 7:d=nb(a,b,1)}192>a.a?g?bc(a,e,g,d):a.memory.fa(e,d):a.d[a.a<<1&14]=d};
M[209]=function(a){a.a=x(a);var b,e,g=0,d;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];d=0;switch(a.a>>3&7){case 0:d=Ta(a,b,1);break;case 1:d=bb(a,b,1);break;case 2:d=Za(a,b,1);break;case 3:d=eb(a,b,1);break;case 4:d=hb(a,b,1);break;case 5:d=lb(a,b,1);break;case 6:d=hb(a,b,1);break;case 7:d=ob(a,b,1)}192>a.a?g?dc(a,e,g,d):a.memory.ga(e,d):a.b[a.a&7]=d};
H[210]=M[210]=function(a){a.a=x(a);var b,e,g,d;192>a.a?(g=A(a,a.h(a.a)),e=a.memory.L(g)):e=a.j[a.a<<2&12|a.a>>2&1];d=0;b=a.j[4]&31;switch(a.a>>3&7){case 0:d=Ra(a,e,b);break;case 1:d=$a(a,e,b);break;case 2:d=Xa(a,e,b);break;case 3:d=cb(a,e,b);break;case 4:d=fb(a,e,b);break;case 5:d=jb(a,e,b);break;case 6:d=fb(a,e,b);break;case 7:d=mb(a,e,b)}192>a.a?a.memory.R(g,d):a.j[a.a<<2&12|a.a>>2&1]=d};
H[211]=function(a){a.a=x(a);var b,e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4095===(b&4095)?(d=A(a,b+1),e=ac(a,g,d)):e=a.memory.K(g)):e=a.d[a.a<<1&14];h=0;b=a.j[4]&31;switch(a.a>>3&7){case 0:h=Sa(a,e,b);break;case 1:h=ab(a,e,b);break;case 2:h=Ya(a,e,b);break;case 3:h=db(a,e,b);break;case 4:h=gb(a,e,b);break;case 5:h=kb(a,e,b);break;case 6:h=gb(a,e,b);break;case 7:h=nb(a,e,b)}192>a.a?d?bc(a,g,d,h):a.memory.fa(g,h):a.d[a.a<<1&14]=h};
M[211]=function(a){a.a=x(a);var b,e,g,d=0,h;192>a.a?(b=a.h(a.a),g=A(a,b),a.u&&4093<=(b&4095)?(d=A(a,b+3),e=cc(a,g,d)):e=P(a.memory,g)):e=a.b[a.a&7];h=0;b=a.j[4]&31;switch(a.a>>3&7){case 0:h=Ta(a,e,b);break;case 1:h=bb(a,e,b);break;case 2:h=Za(a,e,b);break;case 3:h=eb(a,e,b);break;case 4:h=hb(a,e,b);break;case 5:h=lb(a,e,b);break;case 6:h=hb(a,e,b);break;case 7:h=ob(a,e,b)}192>a.a?d?dc(a,g,d,h):a.memory.ga(g,h):a.b[a.a&7]=h};
H[212]=M[212]=function(a){var b=x(a);if(0===b)Ic(a);else{var e=a.j[0];a.j[1]=e/b;a.j[0]=e%b;a.C=a.j[0];a.n=196;a.e&=-2066}};H[213]=M[213]=function(a){var b=x(a);a.C=a.j[0]+a.j[1]*b&255;a.d[0]=a.C;a.$=7;a.n=196;a.e&=-2066};H[214]=M[214]=function(a){a.j[0]=-a.Aa()};H[215]=M[215]=function(a){a.j[0]=a.bb?y(a,Qb(a,3)+a.b[3]+a.j[0]):y(a,Qb(a,3)+a.d[6]+a.j[0])};
H[216]=M[216]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a,g=a.h(a.a);a=e>>3&7;e=Jc(b,g)}else b=a.qa,e=a.a,a=e>>3&7,e=X(b,e&7);g=Kc(b);switch(a){case 0:b.f[b.c]=g+e;break;case 1:b.f[b.c]=g*e;break;case 2:Lc(b,e);break;case 3:Lc(b,e);b.pop();break;case 4:b.f[b.c]=g-e;break;case 5:b.f[b.c]=e-g;break;case 6:b.f[b.c]=g/e;break;case 7:b.f[b.c]=e/g}};
H[217]=M[217]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a;a=a.h(a.a);switch(e>>3&7){case 0:a=Jc(b,a);b.push(a);break;case 1:Mc(b);break;case 2:e=Kc(b);b.U[0]=e;D(b.o,a,b.ta[0]);break;case 3:e=Kc(b);b.U[0]=e;D(b.o,a,b.ta[0]);b.pop();break;case 4:Nc(b,a);break;case 5:b.G=F(b.o,a);break;case 6:Oc(b,a);break;case 7:B(b.o,a,b.G)}}else switch(b=a.qa,e=a.a,a=e&7,e>>3&7){case 0:e=X(b,a);b.push(e);break;case 1:e=X(b,a);b.f[b.c+a&7]=Kc(b);b.f[b.c]=e;break;case 2:switch(a){case 0:break;
default:Mc(b)}break;case 3:Mc(b);break;case 4:e=Kc(b);switch(a){case 0:b.f[b.c]=-e;break;case 1:b.f[b.c]=Math.abs(e);break;case 4:a=e;b.k&=-18177;isNaN(a)?b.k|=17664:0===a?b.k|=16384:0>a&&(b.k|=256);break;case 5:a=e;b.k&=-18177;b.k|=b.sign(0)<<9;b.k=b.m>>b.c&1?b.k|16640:isNaN(a)?b.k|256:0===a?b.k|16384:Infinity===a||-Infinity===a?b.k|1280:b.k|1024;break;default:Mc(b)}break;case 5:b.push(b.Ja[a]);break;case 6:e=Kc(b);switch(a){case 0:b.f[b.c]=Math.pow(2,e)-1;break;case 1:b.f[b.c+1&7]=X(b,1)*Math.log(e)/
Math.LN2;b.pop();break;case 2:b.f[b.c]=Math.tan(e);b.push(1);break;case 3:b.f[b.c+1&7]=Math.atan2(X(b,1),e);b.pop();break;case 4:b.I[0]=Kc(b);a=((b.r[7]&127)<<4|b.r[6]>>4)-1023;b.r[7]=63|b.r[7]&128;b.r[6]|=240;b.f[b.c]=a;b.push(b.I[0]);break;case 5:b.f[b.c]=e%X(b,1);break;case 6:b.c=b.c-1&7;b.k&=-513;break;case 7:b.c=b.c+1&7,b.k&=-513}break;case 7:switch(e=Kc(b),a){case 0:b.f[b.c]=e%X(b,1);break;case 1:b.f[b.c+1&7]=X(b,1)*Math.log(e+1)/Math.LN2;b.pop();break;case 2:b.f[b.c]=Math.sqrt(e);break;case 3:b.f[b.c]=
Math.sin(e);b.push(Math.cos(e));break;case 4:b.f[b.c]=Pc(b,e);break;case 5:b.f[b.c]=e*Math.pow(2,Qc(X(b,1)));break;case 6:b.f[b.c]=Math.sin(e);break;case 7:b.f[b.c]=Math.cos(e)}}};
H[218]=M[218]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a,g=a.h(a.a);a=e>>3&7;e=G(b.o,g);g=Kc(b);switch(a){case 0:b.f[b.c]=g+e;break;case 1:b.f[b.c]=g*e;break;case 2:Lc(b,e);break;case 3:Lc(b,e);b.pop();break;case 4:b.f[b.c]=g-e;break;case 5:b.f[b.c]=e-g;break;case 6:b.f[b.c]=g/e;break;case 7:b.f[b.c]=e/g}}else switch(b=a.qa,a=a.a,e=a&7,a>>3&7){case 0:b.o.Va()&&(b.f[b.c]=X(b,e),b.m&=~(1<<b.c));break;case 1:b.o.Xa()&&(b.f[b.c]=X(b,e),b.m&=~(1<<b.c));break;case 2:lc(b.o)&&(b.f[b.c]=
X(b,e),b.m&=~(1<<b.c));break;case 3:b.o.Wa()&&(b.f[b.c]=X(b,e),b.m&=~(1<<b.c));break;case 5:1===e?(a=X(b,1),Lc(b,a),b.pop(),b.pop()):Mc(b);break;default:Mc(b)}};
H[219]=M[219]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a;a=a.h(a.a);switch(e>>3&7){case 0:a=G(b.o,a);b.push(a);break;case 2:e=Pc(b,Kc(b));2147483647>=e&&-2147483648<=e?D(b.o,a,e):(Rc(b),D(b.o,a,-2147483648));break;case 3:e=Pc(b,Kc(b));2147483647>=e&&-2147483648<=e?D(b.o,a,e):(Rc(b),D(b.o,a,-2147483648));b.pop();break;case 5:b.push(Sc(b,a));break;case 7:rc(b.o,a,10);Tc(b,a,0);b.pop();break;default:Mc(b)}}else switch(b=a.qa,a=a.a,e=a&7,a>>3&7){case 0:b.o.Va()||(b.f[b.c]=X(b,
e),b.m&=~(1<<b.c));break;case 1:b.o.Xa()||(b.f[b.c]=X(b,e),b.m&=~(1<<b.c));break;case 2:lc(b.o)||(b.f[b.c]=X(b,e),b.m&=~(1<<b.c));break;case 3:b.o.Wa()||(b.f[b.c]=X(b,e),b.m&=~(1<<b.c));break;case 4:227===a?Uc(b):228!==a&&225!==a&&(226===a?b.k=0:Mc(b));break;case 5:a=X(b,e);Vc(b,a);break;case 6:Vc(b,X(b,e));break;default:Mc(b)}};
H[220]=M[220]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a,g=a.h(a.a);a=e>>3&7;e=Wc(b,g);g=Kc(b);switch(a){case 0:b.f[b.c]=g+e;break;case 1:b.f[b.c]=g*e;break;case 2:Lc(b,e);break;case 3:Lc(b,e);b.pop();break;case 4:b.f[b.c]=g-e;break;case 5:b.f[b.c]=e-g;break;case 6:b.f[b.c]=g/e;break;case 7:b.f[b.c]=e/g}}else{b=a.qa;e=a.a;a=e>>3&7;var g=e&7,e=b.c+g&7,g=X(b,g),d=Kc(b);switch(a){case 0:b.f[e]=g+d;break;case 1:b.f[e]=g*d;break;case 2:Lc(b,g);break;case 3:Lc(b,g);b.pop();break;
case 4:b.f[e]=d-g;break;case 5:b.f[e]=g-d;break;case 6:b.f[e]=d/g;break;case 7:b.f[e]=g/d}}};
H[221]=M[221]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a;a=a.h(a.a);switch(e>>3&7){case 0:a=Wc(b,a);b.push(a);break;case 1:Mc(b);break;case 2:Xc(b,a);break;case 3:Xc(b,a);b.pop();break;case 4:Nc(b,a);a+=28;for(e=0;8>e;e++)b.f[e]=Sc(b,a),a+=10;break;case 5:Mc(b);break;case 6:rc(b.o,a,108);Oc(b,a);a+=28;for(e=0;8>e;e++)Tc(b,a,e-b.c&7),a+=10;Uc(b);break;case 7:B(b.o,a,b.k&-14337|b.c<<11)}}else switch(b=a.qa,a=a.a,e=a&7,a>>3&7){case 0:b.m|=1<<(b.c+e&7);break;case 2:b.f[b.c+e&7]=
Kc(b);break;case 3:0!==e&&(b.f[b.c+e&7]=Kc(b));b.pop();break;case 4:a=X(b,e);Lc(b,a);break;case 5:a=X(b,e);Lc(b,a);b.pop();break;default:Mc(b)}};
H[222]=M[222]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a,g=a.h(a.a);a=e>>3&7;e=F(b.o,g)<<16>>16;g=Kc(b);switch(a){case 0:b.f[b.c]=g+e;break;case 1:b.f[b.c]=g*e;break;case 2:Lc(b,e);break;case 3:Lc(b,e);b.pop();break;case 4:b.f[b.c]=g-e;break;case 5:b.f[b.c]=e-g;break;case 6:b.f[b.c]=g/e;break;case 7:b.f[b.c]=e/g}}else{b=a.qa;e=a.a;a=e>>3&7;var e=e&7,g=b.c+e&7,d=X(b,e),h=Kc(b);switch(a){case 0:b.f[g]=d+h;break;case 1:b.f[g]=d*h;break;case 2:Lc(b,d);break;case 3:1===e?(Lc(b,
b.f[g]),b.pop()):Mc(b);break;case 4:b.f[g]=h-d;break;case 5:b.f[g]=d-h;break;case 6:b.f[g]=h/d;break;case 7:b.f[g]=d/h}b.pop()}};
H[223]=M[223]=function(a){a.a=x(a);a.s[0]&12&&tc(a);if(192>a.a){var b=a.qa,e=a.a;a=a.h(a.a);switch(e>>3&7){case 0:a=F(b.o,a)<<16>>16;b.push(a);break;case 1:Mc(b);break;case 2:e=Pc(b,Kc(b));32767>=e&&-32768<=e?B(b.o,a,e):(Rc(b),B(b.o,a,32768));break;case 3:e=Pc(b,Kc(b));32767>=e&&-32768<=e?B(b.o,a,e):(Rc(b),B(b.o,a,32768));b.pop();break;case 4:Mc(b);break;case 5:e=G(b.o,a)>>>0;a=G(b.o,a+4);b.push(e+4294967296*a);break;case 6:Mc(b);break;case 7:rc(b.o,a,8);var e=Pc(b,Kc(b)),g,d;0x7fffffffffffffff>e&&
-9223372036854775808<=e?(g=e|0,d=e/4294967296|0,0===d&&0>e&&(d=-1)):(g=0,d=-2147483648,Rc(b));D(b.o,a,g);D(b.o,a+4,d);b.pop()}}else switch(b=a.qa,a=a.a,e=a&7,a>>3&7){case 4:224===a?b.o.d[0]=b.k&-14337|b.c<<11:Mc(b);break;case 5:a=X(b,e);Vc(b,a);b.pop();break;case 6:Vc(b,X(b,e));b.pop();break;default:Mc(b)}};H[224]=M[224]=function(a){var b=s(a);--a.i[a.F]&&!a.Eb()&&(a.l=a.l+b|0)};H[225]=M[225]=function(a){var b=s(a);--a.i[a.F]&&a.Eb()&&(a.l=a.l+b|0)};H[226]=M[226]=function(a){a.loop(s(a))};
H[227]=M[227]=function(a){var b=s(a);0===a.i[a.F]&&(a.l=a.l+b|0)};H[228]=M[228]=function(a){var b=x(a);Gb(a,b,1);a.j[0]=Hb(a.q,b)};H[229]=function(a){var b=x(a);Gb(a,b,2);a.d[0]=Kb(a.q,b)};M[229]=function(a){var b=x(a);Gb(a,b,4);a.b[0]=Nb(a.q,b)};H[230]=M[230]=function(a){var b=x(a);Gb(a,b,1);Rb(a.q,b,a.j[0])};H[231]=function(a){var b=x(a);Gb(a,b,2);Wb(a.q,b,a.d[0])};M[231]=function(a){var b=x(a);Gb(a,b,4);Zb(a.q,b,a.b[0])};H[232]=function(a){var b=t(a)<<16>>16;Q(a,sc(a));Yc(a,b)};
M[232]=function(a){var b=v(a);R(a,sc(a));a.l=a.l+b|0};H[233]=function(a){var b=t(a)<<16>>16;Yc(a,b)};M[233]=function(a){var b=v(a);a.l=a.l+b|0};H[234]=function(a){var b=t(a);S(a,1,t(a));a.l=b+a.t[1]|0};M[234]=function(a){var b=v(a);S(a,1,t(a));a.l=b+a.t[1]|0};H[235]=M[235]=function(a){var b=s(a);a.l=a.l+b|0};H[236]=M[236]=function(a){var b=a.d[4];Gb(a,b,1);a.j[0]=Hb(a.q,b)};H[237]=function(a){var b=a.d[4];Gb(a,b,2);a.d[0]=Kb(a.q,b)};M[237]=function(a){var b=a.d[4];Gb(a,b,4);a.b[0]=Nb(a.q,b)};
H[238]=M[238]=function(a){var b=a.d[4];Gb(a,b,1);Rb(a.q,b,a.j[0])};H[239]=function(a){var b=a.d[4];Gb(a,b,2);Wb(a.q,b,a.d[0])};M[239]=function(a){var b=a.d[4];Gb(a,b,4);Zb(a.q,b,a.b[0])};H[240]=M[240]=function(a){hc(a)};H[241]=M[241]=function(a){throw a.debug.P("int1 instruction");};H[242]=M[242]=function(a){a.Z=1;hc(a);a.Z=0};H[243]=M[243]=function(a){a.Z=2;hc(a);a.Z=0};H[244]=M[244]=function(a){a.O&&W(a,0);if(0===(a.e&512))throw a.debug.show("cpu halted"),"HALT";a.zc=!0;throw 233495534;};
H[245]=M[245]=function(a){a.e=(a.e|1)^a.Aa();a.n&=-2};
H[246]=M[246]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];Na(a,b,x(a),7);break;case 1:b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];Na(a,b,x(a),7);break;case 2:var e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=~b;192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b;break;case 3:192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=Ia(a,b,7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b;break;case 4:b=
192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];e=b*a.j[0];a.d[0]=e;a.e=256>e?a.e&-2050:a.e|2049;a.n=0;break;case 5:192>a.a?b=y(a,a.h(a.a))<<24>>24:b=a.Ib[a.a<<2&12|a.a>>2&1];e=b*a.Ib[0];a.d[0]=e;a.e=127<e||-128>e?a.e|2049:a.e&-2050;a.n=0;break;case 6:e=b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];var b=a.d[0],g=b/e|0;256<=g||0===e?Ic(a):(a.j[0]=g,a.j[1]=b%e);break;case 7:192>a.a?b=y(a,a.h(a.a))<<24>>24:b=a.Ib[a.a<<2&12|a.a>>2&1],e=b,b=a.ra[0],g=b/e|0,128<=g||-129>=g||0===e?Ic(a):(a.j[0]=g,a.j[1]=
b%e)}};
H[247]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];Na(a,b,t(a),15);break;case 1:b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];Na(a,b,t(a),15);break;case 2:var e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=~b;192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b;break;case 3:g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Ia(a,
b,15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b;break;case 4:b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];e=b*a.d[0];g=e>>>16;a.d[0]=e;a.d[4]=g;a.e=0===g?a.e&-2050:a.e|2049;a.n=0;break;case 5:192>a.a?b=F(a,a.h(a.a))<<16>>16:b=a.ra[a.a<<1&14];e=b*a.ra[0];a.d[0]=e;a.d[4]=e>>16;a.e=32767<e||-32768>e?a.e|2049:a.e&-2050;a.n=0;break;case 6:e=b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];g=(a.d[0]|a.d[4]<<16)>>>0;b=g/e|0;65536<=b||0>b||0===e?Ic(a):(a.d[0]=b,a.d[4]=g%e);break;case 7:192>a.a?b=F(a,a.h(a.a))<<
16>>16:b=a.ra[a.a<<1&14],e=b,g=a.d[0]|a.d[4]<<16,b=g/e|0,32768<=b||-32769>=b||0===e?Ic(a):(a.d[0]=b,a.d[4]=g%e)}};
M[247]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];Na(a,b,v(a),31);break;case 1:b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];Na(a,b,v(a),31);break;case 2:var e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=~b;192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b;break;case 3:g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Ia(a,b,31);192>a.a?g?dc(a,
e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b;break;case 4:192>a.a?b=G(a,a.h(a.a))>>>0:b=a.gb[a.a&7];g=a.b[0];e=g&65535;var g=g>>>16,d=b&65535,b=b>>>16,h=e*d,d=(h>>>16)+(g*d|0)|0,l=d>>>16,d=(d&65535)+(e*b|0)|0,l=((d>>>16)+(g*b|0)|0)+l|0;a.b[0]=d<<16|h&65535;a.b[2]=l;a.e=0===l?a.e&-2050:a.e|2049;a.n=0;break;case 5:h=b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];b=a.b[0];e=!1;0>b&&(e=!0,b=-b|0);0>h&&(e=!e,h=-h|0);var g=b&65535,b=b>>>16,l=h&65535,h=h>>>16,d=g*l,l=(d>>>16)+(b*l|0)|0,m=l>>>16,l=(l&65535)+(g*h|0)|0,d=l<<16|
d&65535,m=((l>>>16)+(b*h|0)|0)+m|0;e&&(d=-d|0,m=~m+!d|0);a.b[0]=d;a.b[2]=m;a.e=m===d>>31?a.e&-2050:a.e|2049;a.n=0;break;case 6:192>a.a?b=G(a,a.h(a.a))>>>0:b=a.gb[a.a&7];e=b;b=a.gb[0];h=a.gb[2];(h>=e||!e)&&Ic(a);g=0;if(1048576<h){d=32;for(l=e;l>h;)l>>>=1,d--;for(;1048576<h;)h>=l&&(h-=l,m=e<<d>>>0,m>b&&h--,b=b-m>>>0,g|=1<<d),d--,l>>=1;g>>>=0}b+=4294967296*h;h=b%e;g+=b/e|0;4294967296<=g||0===e?Ic(a):(a.b[0]=g,a.b[2]=h);break;case 7:e=b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];d=a.gb[0];l=a.b[2];b=g=!1;0>e&&
(b=!0,e=-e);0>l&&(g=!0,b=!b,d=-d>>>0,l=~l+!d);(l>=e||!e)&&Ic(a);h=0;if(1048576<l){for(var m=32,q=e;q>l;)q>>>=1,m--;for(;1048576<l;){if(l>=q){var l=l-q,w=e<<m>>>0;w>d&&l--;d=d-w>>>0;h|=1<<m}m--;q>>=1}h>>>=0}d+=4294967296*l;l=d%e;h+=d/e|0;b&&(h=-h|0);g&&(l=-l|0);2147483648<=h||-2147483649>=h||0===e?Ic(a):(a.b[0]=h,a.b[2]=l)}};H[248]=M[248]=function(a){a.e&=-2;a.n&=-2};H[249]=M[249]=function(a){a.e|=1;a.n&=-2};H[250]=M[250]=function(a){!a.pa||(a.e&131072?3===wc(a):wc(a)>=a.O)?a.e&=-513:W(a,0)};
H[251]=M[251]=function(a){!a.pa||(a.e&131072?3===wc(a):wc(a)>=a.O)?(a.e|=512,fc(a),gc(a),zc(a)):W(a,0)};H[252]=M[252]=function(a){a.e&=-1025};H[253]=M[253]=function(a){a.e|=1024};
H[254]=M[254]=function(a){a.a=x(a);var b=a.a&56;if(0===b){var e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];b=Ga(a,b,7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b}else 8===b?(192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1],b=Ha(a,b,7),192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b):V(a)};
H[255]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Ga(a,b,15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b;break;case 1:g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=Ha(a,b,15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b;break;case 2:b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];Q(a,sc(a));a.l=
a.t[1]+b|0;break;case 3:192<=a.a&&V(a);b=a.h(a.a);e=F(a,b+2);g=F(a,b);rc(a,ec(a,-4),4);Q(a,a.H[1]);Q(a,sc(a));S(a,1,e);a.l=a.t[1]+g|0;break;case 4:b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.l=a.t[1]+b|0;break;case 5:192<=a.a&&V(a);b=a.h(a.a);e=F(a,b+2);g=F(a,b);S(a,1,e);a.l=a.t[1]+g|0;break;case 6:b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];Q(a,b);break;case 7:V(a)}};
M[255]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Ga(a,b,31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b;break;case 1:g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=Ha(a,b,31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b;break;case 2:b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];R(a,sc(a));a.l=a.t[1]+b|0;break;case 3:192<=
a.a&&V(a);b=a.h(a.a);e=F(a,b+4);g=G(a,b);rc(a,ec(a,-8),8);R(a,a.H[1]);R(a,sc(a));S(a,1,e);a.l=a.t[1]+g|0;break;case 4:b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.l=a.t[1]+b|0;break;case 5:192<=a.a&&V(a);b=a.h(a.a);e=F(a,b+4);g=G(a,b);S(a,1,e);a.l=a.t[1]+g|0;break;case 6:b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];R(a,b);break;case 7:V(a)}};
N[0]=O[0]=function(a){a.a=x(a);a.pa&&!kc(a)||V(a);a.O&&W(a,0);switch(a.a>>3&7){case 0:if(192>a.a)var b=a.h(a.a);var e=a.H[7];192>a.a?B(a,b,e):a.d[a.a<<1&14]=e;192<=a.a&&(a.b[a.a&7]&=65535);break;case 1:192>a.a&&(b=a.h(a.a));e=a.H[6];192>a.a?B(a,b,e):a.d[a.a<<1&14]=e;192<=a.a&&(a.b[a.a&7]&=65535);break;case 2:e=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];Zc(a,e);break;case 3:b=e=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];e=Hc(a,b);if(!e.he)throw a.debug.P("TR can only be loaded from GDT");if(e.nb)throw a.debug.P("#GP handler");
if(!e.ub)throw a.debug.P("#GP handler");if(!e.Bc)throw a.debug.P("#GP handler");if(9!==e.type)throw a.debug.P("#GP handler");a.t[6]=e.Mb;a.Ca[6]=e.Db;a.H[6]=b;a.memory.R(e.sd+5|0,a.memory.L(e.sd+5|0)|2);break;default:V(a)}};
N[1]=O[1]=function(a){a.a=x(a);a.O&&W(a,0);var b=a.a>>3&7;if(4===b){if(192>a.a)var e=a.h(a.a);b=a.s[0];192>a.a?B(a,e,b):a.d[a.a<<1&14]=b}else if(6===b)b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14],a.s[0]=a.s[0]&-16|b&15,a.pa&&(a.s[0]|=1),$c(a);else switch(192<=a.a&&V(a),2!==b&&3!==b||!a.pa||(a.na=9),e=a.h(a.a),a.na=-1,b){case 0:rc(a,e,6);B(a,e,a.xc);D(a,e+2,a.Sb);break;case 1:rc(a,e,6);B(a,e,a.yc);D(a,e+2,a.Ub);break;case 2:b=F(a,e);e=G(a,e+2);a.xc=b;a.Sb=e;a.Ia||(a.Sb&=16777215);break;case 3:b=F(a,e);e=
G(a,e+2);a.yc=b;a.Ub=e;a.Ia||(a.Ub&=16777215);break;case 7:e=e>>>12;a.Bb[e]=0;a.td[e]=0;a.vb=-1;a.Dc=-1;break;default:V(a)}};N[2]=function(a){a.a=x(a);a.pa&&!kc(a)||V(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=ad(a,b,a.d[a.a>>2&14])};O[2]=function(a){a.a=x(a);a.pa&&!kc(a)||V(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.b[a.a>>3&7]=ad(a,b,a.b[a.a>>3&7])};N[3]=function(a){a.a=x(a);a.pa&&!kc(a)||V(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=bd(a,b,a.d[a.a>>2&14])};
O[3]=function(a){a.a=x(a);a.pa&&!kc(a)||V(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.b[a.a>>3&7]=bd(a,b,a.b[a.a>>3&7])};N[4]=O[4]=function(a){V(a)};N[5]=O[5]=function(a){V(a)};N[6]=O[6]=function(a){a.O?W(a,0):a.s[0]&=-9};N[7]=O[7]=function(a){V(a)};N[8]=O[8]=function(a){V(a)};N[9]=O[9]=function(a){a.O&&W(a,0)};N[10]=O[10]=function(a){V(a)};N[11]=O[11]=function(a){V(a)};N[12]=O[12]=function(a){V(a)};N[13]=O[13]=function(a){V(a)};N[14]=O[14]=function(a){V(a)};N[15]=O[15]=function(a){V(a)};
N[16]=O[16]=function(a){V(a)};N[17]=O[17]=function(a){V(a)};N[18]=O[18]=function(a){V(a)};N[19]=O[19]=function(a){V(a)};N[20]=O[20]=function(a){V(a)};N[21]=O[21]=function(a){V(a)};N[22]=O[22]=function(a){V(a)};N[23]=O[23]=function(a){V(a)};N[24]=O[24]=function(a){a.a=x(a);192>a.a&&a.h(a.a)};N[25]=O[25]=function(a){V(a)};N[26]=O[26]=function(a){V(a)};N[27]=O[27]=function(a){V(a)};N[28]=O[28]=function(a){V(a)};N[29]=O[29]=function(a){V(a)};N[30]=O[30]=function(a){V(a)};N[31]=O[31]=function(a){V(a)};
N[32]=O[32]=function(a){a.a=x(a);a.O&&W(a,0);switch(a.a>>3&7){case 0:a.b[a.a&7]=a.s[0];break;case 2:a.b[a.a&7]=a.s[2];break;case 3:a.b[a.a&7]=a.s[3];break;case 4:a.b[a.a&7]=a.s[4];break;default:V(a)}};N[33]=O[33]=function(a){a.a=x(a);a.O&&W(a,0);a.b[a.a&7]=a.bc[a.a>>3&7]};
N[34]=O[34]=function(a){a.a=x(a);a.O&&W(a,0);var b=a.b[a.a&7];switch(a.a>>3&7){case 0:a.s[0]=b;if(-2147483648===(a.s[0]&-2147483647))throw a.debug.P("#GP handler");$c(a);break;case 2:a.s[2]=b;break;case 3:a.s[3]=b;cd(a);break;case 4:b&-3565568&&W(a,0);(a.s[4]^b)&128&&(b&128?cd(a):Da(a));a.s[4]=b;a.md=a.s[4]&16?128:0;if(a.s[4]&32)throw a.debug.P("PAE");break;default:V(a)}};N[35]=O[35]=function(a){a.a=x(a);a.O&&W(a,0);a.bc[a.a>>3&7]=a.b[a.a&7]};N[36]=O[36]=function(a){V(a)};N[37]=O[37]=function(a){V(a)};
N[38]=O[38]=function(a){V(a)};N[39]=O[39]=function(a){V(a)};N[40]=O[40]=function(a){V(a)};N[41]=O[41]=function(a){V(a)};N[42]=O[42]=function(a){V(a)};N[43]=O[43]=function(a){V(a)};N[44]=O[44]=function(a){V(a)};N[45]=O[45]=function(a){V(a)};N[46]=O[46]=function(a){V(a)};N[47]=O[47]=function(a){V(a)};N[48]=O[48]=function(a){a.O&&W(a,0);var b=a.b[0];switch(a.b[1]){case 372:a.qc=b&65535;break;case 374:a.Kc=b;break;case 373:a.Lc=b}};
N[49]=O[49]=function(a){if(a.O&&a.s[4]&4)W(a,0);else{var b=Ca()-a.oe;a.b[0]=1024*b;a.b[2]=2.384185791015625E-7*b}};N[50]=O[50]=function(a){a.O&&W(a,0);var b=0;switch(a.b[1]){case 372:b=a.qc;break;case 374:b=a.Kc;break;case 373:b=a.Lc}a.b[0]=b;a.b[2]=0};N[51]=O[51]=function(a){V(a)};
N[52]=O[52]=function(a){var b=a.qc&65532;a.pa&&0!==b||W(a,0);a.e&=-131585;a.l=a.Kc;a.b[4]=a.Lc;a.H[1]=b;a.zb[1]=0;a.Ca[1]=-1;a.t[1]=0;a.wa||Gc(a,!0);a.O=0;Fc(a);a.H[2]=b+8;a.zb[2]=0;a.Ca[2]=-1;a.t[2]=0;a.Ab=!0;a.v=a.b;a.A=4;a.hb=5};N[53]=O[53]=function(a){var b=a.qc&65532;a.pa&&!a.O&&0!==b||W(a,0);a.l=a.b[2];a.b[4]=a.b[1];a.H[1]=b+16|3;a.zb[1]=0;a.Ca[1]=-1;a.t[1]=0;a.wa||Gc(a,!0);a.O=3;Fc(a);a.H[2]=b+24|3;a.zb[2]=0;a.Ca[2]=-1;a.t[2]=0;a.Ab=!0;a.v=a.b;a.A=4;a.hb=5};N[54]=O[54]=function(a){V(a)};
N[55]=O[55]=function(a){V(a)};N[56]=O[56]=function(a){V(a)};N[57]=O[57]=function(a){V(a)};N[58]=O[58]=function(a){V(a)};N[59]=O[59]=function(a){V(a)};N[60]=O[60]=function(a){V(a)};N[61]=O[61]=function(a){V(a)};N[62]=O[62]=function(a){V(a)};N[63]=O[63]=function(a){V(a)};N[64]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.ib()&&(a.d[a.a>>2&14]=b)};O[64]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.ib()&&(a.b[a.a>>3&7]=b)};
N[65]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.ib()||(a.d[a.a>>2&14]=b)};O[65]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.ib()||(a.b[a.a>>3&7]=b)};N[66]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.Va()&&(a.d[a.a>>2&14]=b)};O[66]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.Va()&&(a.b[a.a>>3&7]=b)};N[67]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.Va()||(a.d[a.a>>2&14]=b)};
O[67]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.Va()||(a.b[a.a>>3&7]=b)};N[68]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.Xa()&&(a.d[a.a>>2&14]=b)};O[68]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.Xa()&&(a.b[a.a>>3&7]=b)};N[69]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.Xa()||(a.d[a.a>>2&14]=b)};O[69]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.Xa()||(a.b[a.a>>3&7]=b)};
N[70]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];lc(a)&&(a.d[a.a>>2&14]=b)};O[70]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];lc(a)&&(a.b[a.a>>3&7]=b)};N[71]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];lc(a)||(a.d[a.a>>2&14]=b)};O[71]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];lc(a)||(a.b[a.a>>3&7]=b)};N[72]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.jb()&&(a.d[a.a>>2&14]=b)};
O[72]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.jb()&&(a.b[a.a>>3&7]=b)};N[73]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.jb()||(a.d[a.a>>2&14]=b)};O[73]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.jb()||(a.b[a.a>>3&7]=b)};N[74]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.Wa()&&(a.d[a.a>>2&14]=b)};O[74]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.Wa()&&(a.b[a.a>>3&7]=b)};
N[75]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.Wa()||(a.d[a.a>>2&14]=b)};O[75]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.Wa()||(a.b[a.a>>3&7]=b)};N[76]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];mc(a)&&(a.d[a.a>>2&14]=b)};O[76]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];mc(a)&&(a.b[a.a>>3&7]=b)};N[77]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];mc(a)||(a.d[a.a>>2&14]=b)};
O[77]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];mc(a)||(a.b[a.a>>3&7]=b)};N[78]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];nc(a)&&(a.d[a.a>>2&14]=b)};O[78]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];nc(a)&&(a.b[a.a>>3&7]=b)};N[79]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];nc(a)||(a.d[a.a>>2&14]=b)};O[79]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];nc(a)||(a.b[a.a>>3&7]=b)};N[80]=O[80]=function(a){V(a)};
N[81]=O[81]=function(a){V(a)};N[82]=O[82]=function(a){V(a)};N[83]=O[83]=function(a){V(a)};N[84]=O[84]=function(a){V(a)};N[85]=O[85]=function(a){V(a)};N[86]=O[86]=function(a){V(a)};N[87]=O[87]=function(a){V(a)};N[88]=O[88]=function(a){V(a)};N[89]=O[89]=function(a){V(a)};N[90]=O[90]=function(a){V(a)};N[91]=O[91]=function(a){V(a)};N[92]=O[92]=function(a){V(a)};N[93]=O[93]=function(a){V(a)};N[94]=O[94]=function(a){V(a)};N[95]=O[95]=function(a){V(a)};N[96]=O[96]=function(a){V(a)};N[97]=O[97]=function(a){V(a)};
N[98]=O[98]=function(a){V(a)};N[99]=O[99]=function(a){V(a)};N[100]=O[100]=function(a){V(a)};N[101]=O[101]=function(a){V(a)};N[102]=O[102]=function(a){V(a)};N[103]=O[103]=function(a){V(a)};N[104]=O[104]=function(a){V(a)};N[105]=O[105]=function(a){V(a)};N[106]=O[106]=function(a){V(a)};N[107]=O[107]=function(a){V(a)};N[108]=O[108]=function(a){V(a)};N[109]=O[109]=function(a){V(a)};N[110]=O[110]=function(a){V(a)};N[111]=O[111]=function(a){V(a)};N[112]=O[112]=function(a){V(a)};N[113]=O[113]=function(a){V(a)};
N[114]=O[114]=function(a){V(a)};N[115]=O[115]=function(a){V(a)};N[116]=O[116]=function(a){V(a)};N[117]=O[117]=function(a){V(a)};N[118]=O[118]=function(a){V(a)};N[119]=O[119]=function(a){V(a)};N[120]=O[120]=function(a){V(a)};N[121]=O[121]=function(a){V(a)};N[122]=O[122]=function(a){V(a)};N[123]=O[123]=function(a){V(a)};N[124]=O[124]=function(a){V(a)};N[125]=O[125]=function(a){V(a)};N[126]=O[126]=function(a){V(a)};N[127]=O[127]=function(a){V(a)};N[128]=function(a){dd(a,a.ib())};
O[128]=function(a){ed(a,a.ib())};N[129]=function(a){dd(a,!a.ib())};O[129]=function(a){ed(a,!a.ib())};N[130]=function(a){dd(a,a.Va())};O[130]=function(a){ed(a,a.Va())};N[131]=function(a){dd(a,!a.Va())};O[131]=function(a){ed(a,!a.Va())};N[132]=function(a){dd(a,a.Xa())};O[132]=function(a){ed(a,a.Xa())};N[133]=function(a){dd(a,!a.Xa())};O[133]=function(a){ed(a,!a.Xa())};N[134]=function(a){dd(a,lc(a))};O[134]=function(a){ed(a,lc(a))};N[135]=function(a){dd(a,!lc(a))};O[135]=function(a){ed(a,!lc(a))};
N[136]=function(a){dd(a,a.jb())};O[136]=function(a){ed(a,a.jb())};N[137]=function(a){dd(a,!a.jb())};O[137]=function(a){ed(a,!a.jb())};N[138]=function(a){dd(a,a.Wa())};O[138]=function(a){ed(a,a.Wa())};N[139]=function(a){dd(a,!a.Wa())};O[139]=function(a){ed(a,!a.Wa())};N[140]=function(a){dd(a,mc(a))};O[140]=function(a){ed(a,mc(a))};N[141]=function(a){dd(a,!mc(a))};O[141]=function(a){ed(a,!mc(a))};N[142]=function(a){dd(a,nc(a))};O[142]=function(a){ed(a,nc(a))};N[143]=function(a){dd(a,!nc(a))};
O[143]=function(a){ed(a,!nc(a))};N[144]=O[144]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!a.ib()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[145]=O[145]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!a.ib()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[146]=O[146]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!a.Va()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};
N[147]=O[147]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!a.Va()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[148]=O[148]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!a.Xa()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[149]=O[149]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!a.Xa()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[150]=O[150]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!lc(a)^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};
N[151]=O[151]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!lc(a)^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[152]=O[152]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!a.jb()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[153]=O[153]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!a.jb()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[154]=O[154]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!a.Wa()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};
N[155]=O[155]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!a.Wa()^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[156]=O[156]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!mc(a)^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[157]=O[157]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!mc(a)^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[158]=O[158]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!nc(a)^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};
N[159]=O[159]=function(a){a.a=x(a);if(192>a.a)var b=a.h(a.a);var e=!!nc(a)^1;192>a.a?Ib(a,b,e):a.j[a.a<<2&12|a.a>>2&1]=e};N[160]=function(a){Q(a,a.H[4])};O[160]=function(a){R(a,a.H[4])};N[161]=function(a){S(a,4,F(a,ec(a,0)));a.v[a.A]+=2};O[161]=function(a){S(a,4,F(a,ec(a,0)));a.v[a.A]+=4};
N[162]=O[162]=function(a){var b=0,e=0,g=0,d=0;switch(a.b[0]){case 0:b=5;d=1970169159;g=1231384169;e=1818588270;break;case 1:b=3939;d=67584;e=1082130432;g=(a.qa?1:0)|43322;g|=512;break;case 2:b=1717260289;e=d=0;g=8024064;break;case 4:switch(a.b[1]){case 0:b=289;d=29360191;e=63;g=1;break;case 1:b=290;d=29360191;e=63;g=1;break;case 2:b=323,d=96469055,e=4095,g=1}break;case -2147483648:b=5}a.b[0]=b;a.b[1]=e;a.b[2]=g;a.b[3]=d};
N[163]=function(a){a.a=x(a);192>a.a?xb(a,a.h(a.a),a.ra[a.a>>2&14]):tb(a,a.d[a.a<<1&14],a.d[a.a>>2&14]&15)};O[163]=function(a){a.a=x(a);192>a.a?xb(a,a.h(a.a),a.b[a.a>>3&7]):tb(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};N[164]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=rb(a,b,a.d[a.a>>2&14],x(a)&31);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
O[164]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=sb(a,b,a.b[a.a>>3&7],x(a)&31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};N[165]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=rb(a,b,a.d[a.a>>2&14],a.j[4]&31);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
O[165]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=sb(a,b,a.b[a.a>>3&7],a.j[4]&31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};N[166]=O[166]=function(a){V(a)};N[167]=O[167]=function(a){V(a)};N[168]=function(a){Q(a,a.H[5])};O[168]=function(a){R(a,a.H[5])};N[169]=function(a){S(a,5,F(a,ec(a,0)));a.v[a.A]+=2};O[169]=function(a){S(a,5,F(a,ec(a,0)));a.v[a.A]+=4};N[170]=O[170]=function(a){V(a)};
N[171]=function(a){a.a=x(a);192>a.a?Bb(a,a.h(a.a),a.ra[a.a>>2&14]):a.d[a.a<<1&14]=vb(a,a.d[a.a<<1&14],a.ra[a.a>>2&14]&15)};O[171]=function(a){a.a=x(a);192>a.a?Bb(a,a.h(a.a),a.b[a.a>>3&7]):a.b[a.a&7]=vb(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};N[172]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=pb(a,b,a.d[a.a>>2&14],x(a)&31);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
O[172]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=qb(a,b,a.b[a.a>>3&7],x(a)&31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};N[173]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];b=pb(a,b,a.d[a.a>>2&14],a.j[4]&31);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};
O[173]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];b=qb(a,b,a.b[a.a>>3&7],a.j[4]&31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};N[174]=O[174]=function(a){a.a=x(a);switch(a.a>>3&7){case 6:break;default:V(a)}};N[175]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a))<<16>>16:a.ra[a.a<<1&14];a.d[a.a>>2&14]=Ja(a,a.ra[a.a>>2&14],b)};
O[175]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Ka(a,a.b[a.a>>3&7],b)};N[176]=O[176]=function(a){a.a=x(a);if(192>a.a){var b=a.h(a.a);rc(a,b,1);var e=y(a,b)}else e=a.j[a.a<<2&12|a.a>>2&1];a.sub(a.j[0],e,7);a.Eb()?192>a.a?Ib(a,b,a.j[a.a>>1&12|a.a>>5&1]):a.j[a.a<<2&12|a.a>>2&1]=a.j[a.a>>1&12|a.a>>5&1]:a.j[0]=e};
N[177]=function(a){a.a=x(a);if(192>a.a){var b=a.h(a.a);rc(a,b,2);var e=F(a,b)}else e=a.d[a.a<<1&14];a.sub(a.d[0],e,15);a.Eb()?192>a.a?B(a,b,a.d[a.a>>2&14]):a.d[a.a<<1&14]=a.d[a.a>>2&14]:a.d[0]=e};O[177]=function(a){a.a=x(a);if(192>a.a){var b=a.h(a.a);rc(a,b,4);var e=G(a,b)}else e=a.b[a.a&7];a.sub(a.b[0],e,31);a.Eb()?192>a.a?D(a,b,a.b[a.a>>3&7]):a.b[a.a&7]=a.b[a.a>>3&7]:a.b[0]=e};N[178]=function(a){a.a=x(a);192<=a.a&&V(a);Cc(a,2,a.h(a.a),a.a>>2&14)};
O[178]=function(a){a.a=x(a);192<=a.a&&V(a);Dc(a,2,a.h(a.a),a.a>>3&7)};N[179]=function(a){a.a=x(a);192>a.a?Ab(a,a.h(a.a),a.ra[a.a>>2&14]):a.d[a.a<<1&14]=wb(a,a.d[a.a<<1&14],a.ra[a.a>>2&14]&15)};O[179]=function(a){a.a=x(a);192>a.a?Ab(a,a.h(a.a),a.b[a.a>>3&7]):a.b[a.a&7]=wb(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};N[180]=function(a){a.a=x(a);192<=a.a&&V(a);Cc(a,4,a.h(a.a),a.a>>2&14)};O[180]=function(a){a.a=x(a);192<=a.a&&V(a);Dc(a,4,a.h(a.a),a.a>>3&7)};
N[181]=function(a){a.a=x(a);192<=a.a&&V(a);Cc(a,5,a.h(a.a),a.a>>2&14)};O[181]=function(a){a.a=x(a);192<=a.a&&V(a);Dc(a,5,a.h(a.a),a.a>>3&7)};N[182]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.d[a.a>>2&14]=b};O[182]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a)):a.j[a.a<<2&12|a.a>>2&1];a.b[a.a>>3&7]=b};N[183]=O[183]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.b[a.a>>3&7]=b};
N[184]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14];a.d[a.a>>2&14]=Cb(a,b)};O[184]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Cb(a,b)};N[185]=O[185]=function(a){V(a)};
N[186]=function(a){a.a=x(a);switch(a.a>>3&7){case 4:192>a.a?xb(a,a.h(a.a),x(a)&15):tb(a,a.d[a.a<<1&14],x(a)&15);break;case 5:192>a.a?Bb(a,a.h(a.a),x(a)&15):a.d[a.a<<1&14]=vb(a,a.d[a.a<<1&14],x(a)&15);break;case 6:192>a.a?Ab(a,a.h(a.a),x(a)&15):a.d[a.a<<1&14]=wb(a,a.d[a.a<<1&14],x(a)&15);break;case 7:192>a.a?zb(a,a.h(a.a),x(a)&15):a.d[a.a<<1&14]=ub(a,a.d[a.a<<1&14],x(a)&15);break;default:V(a)}};
O[186]=function(a){a.a=x(a);switch(a.a>>3&7){case 4:192>a.a?xb(a,a.h(a.a),x(a)&31):tb(a,a.b[a.a&7],x(a)&31);break;case 5:192>a.a?Bb(a,a.h(a.a),x(a)&31):a.b[a.a&7]=vb(a,a.b[a.a&7],x(a)&31);break;case 6:192>a.a?Ab(a,a.h(a.a),x(a)&31):a.b[a.a&7]=wb(a,a.b[a.a&7],x(a)&31);break;case 7:192>a.a?zb(a,a.h(a.a),x(a)&31):a.b[a.a&7]=ub(a,a.b[a.a&7],x(a)&31);break;default:V(a)}};N[187]=function(a){a.a=x(a);192>a.a?zb(a,a.h(a.a),a.ra[a.a>>2&14]):a.d[a.a<<1&14]=ub(a,a.d[a.a<<1&14],a.ra[a.a>>2&14]&15)};
O[187]=function(a){a.a=x(a);192>a.a?zb(a,a.h(a.a),a.b[a.a>>3&7]):a.b[a.a&7]=ub(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};N[188]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14],e=a.d,g=a.a>>2&14;var d=a.d[a.a>>2&14];a.n=0;0===b?(a.e|=64,a=d):(a.e&=-65,a=fd(-b&b));e[g]=a};O[188]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7],e=a.b,g=a.a>>3&7;var d=a.b[a.a>>3&7];a.n=0;0===b?(a.e|=64,a=d):(a.e&=-65,a=fd((-b&b)>>>0));e[g]=a};
N[189]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a)):a.d[a.a<<1&14],e=a.d,g=a.a>>2&14;var d=a.d[a.a>>2&14];a.n=0;0===b?(a.e|=64,a=d):(a.e&=-65,a=fd(b));e[g]=a};O[189]=function(a){a.a=x(a);var b=192>a.a?G(a,a.h(a.a)):a.b[a.a&7],e=a.b,g=a.a>>3&7;var d=a.b[a.a>>3&7];a.n=0;0===b?(a.e|=64,a=d):(a.e&=-65,a=fd(b>>>0));e[g]=a};N[190]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a))<<24>>24:a.Ib[a.a<<2&12|a.a>>2&1];a.d[a.a>>2&14]=b};
O[190]=function(a){a.a=x(a);var b=192>a.a?y(a,a.h(a.a))<<24>>24:a.Ib[a.a<<2&12|a.a>>2&1];a.b[a.a>>3&7]=b};N[191]=O[191]=function(a){a.a=x(a);var b=192>a.a?F(a,a.h(a.a))<<16>>16:a.ra[a.a<<1&14];a.b[a.a>>3&7]=b};N[192]=O[192]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.h(a.a)),b=a.memory.L(e)):b=a.j[a.a<<2&12|a.a>>2&1];var g=a.a>>1&12|a.a>>5&1,d=a.j[g];a.j[g]=b;b=a.add(b,d,7);192>a.a?a.memory.R(e,b):a.j[a.a<<2&12|a.a>>2&1]=b};
N[193]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4095===(b&4095)?(g=A(a,b+1),b=ac(a,e,g)):b=a.memory.K(e)):b=a.d[a.a<<1&14];var d=a.a>>2&14,h=a.d[d];a.d[d]=b;b=a.add(b,h,15);192>a.a?g?bc(a,e,g,b):a.memory.fa(e,b):a.d[a.a<<1&14]=b};O[193]=function(a){a.a=x(a);var b,e,g=0;192>a.a?(b=a.h(a.a),e=A(a,b),a.u&&4093<=(b&4095)?(g=A(a,b+3),b=cc(a,e,g)):b=P(a.memory,e)):b=a.b[a.a&7];var d=a.a>>3&7,h=a.b[d];a.b[d]=b;b=a.add(b,h,31);192>a.a?g?dc(a,e,g,b):a.memory.ga(e,b):a.b[a.a&7]=b};
N[194]=O[194]=function(a){V(a)};N[195]=O[195]=function(a){V(a)};N[196]=O[196]=function(a){V(a)};N[197]=O[197]=function(a){V(a)};N[198]=O[198]=function(a){V(a)};
N[199]=O[199]=function(a){a.a=x(a);switch(a.a>>3&7){case 1:192<=a.a&&V(a);var b=a.h(a.a);rc(a,b,8);var e=G(a,b),g=G(a,b+4);a.b[0]===e&&a.b[2]===g?(a.e|=64,D(a,b,a.b[3]),D(a,b+4,a.b[1])):(a.e&=-65,a.b[0]=e,a.b[2]=g);a.n&=-65;break;case 6:g=(e=gd())?jd():0;a.Ia?(192>a.a&&(b=a.h(a.a)),192>a.a?D(a,b,g):a.gb[a.a&7]=g):(192>a.a&&(b=a.h(a.a)),192>a.a?B(a,b,g):a.d[a.a<<1&14]=g);a.e&=-2262;a.e|=e;a.n=0;break;default:V(a)}};N[200]=O[200]=function(a){kd(a,0)};N[201]=O[201]=function(a){kd(a,1)};
N[202]=O[202]=function(a){kd(a,2)};N[203]=O[203]=function(a){kd(a,3)};N[204]=O[204]=function(a){kd(a,4)};N[205]=O[205]=function(a){kd(a,5)};N[206]=O[206]=function(a){kd(a,6)};N[207]=O[207]=function(a){kd(a,7)};N[208]=O[208]=function(a){V(a)};N[209]=O[209]=function(a){V(a)};N[210]=O[210]=function(a){V(a)};N[211]=O[211]=function(a){V(a)};N[212]=O[212]=function(a){V(a)};N[213]=O[213]=function(a){V(a)};N[214]=O[214]=function(a){V(a)};N[215]=O[215]=function(a){V(a)};N[216]=O[216]=function(a){V(a)};
N[217]=O[217]=function(a){V(a)};N[218]=O[218]=function(a){V(a)};N[219]=O[219]=function(a){V(a)};N[220]=O[220]=function(a){V(a)};N[221]=O[221]=function(a){V(a)};N[222]=O[222]=function(a){V(a)};N[223]=O[223]=function(a){V(a)};N[224]=O[224]=function(a){V(a)};N[225]=O[225]=function(a){V(a)};N[226]=O[226]=function(a){V(a)};N[227]=O[227]=function(a){V(a)};N[228]=O[228]=function(a){V(a)};N[229]=O[229]=function(a){V(a)};N[230]=O[230]=function(a){V(a)};N[231]=O[231]=function(a){V(a)};N[232]=O[232]=function(a){V(a)};
N[233]=O[233]=function(a){V(a)};N[234]=O[234]=function(a){V(a)};N[235]=O[235]=function(a){V(a)};N[236]=O[236]=function(a){V(a)};N[237]=O[237]=function(a){V(a)};N[238]=O[238]=function(a){V(a)};N[239]=O[239]=function(a){V(a)};N[240]=O[240]=function(a){V(a)};N[241]=O[241]=function(a){V(a)};N[242]=O[242]=function(a){V(a)};N[243]=O[243]=function(a){V(a)};N[244]=O[244]=function(a){V(a)};N[245]=O[245]=function(a){V(a)};N[246]=O[246]=function(a){V(a)};N[247]=O[247]=function(a){V(a)};N[248]=O[248]=function(a){V(a)};
N[249]=O[249]=function(a){V(a)};N[250]=O[250]=function(a){V(a)};N[251]=O[251]=function(a){V(a)};N[252]=O[252]=function(a){V(a)};N[253]=O[253]=function(a){V(a)};N[254]=O[254]=function(a){V(a)};N[255]=O[255]=function(a){V(a)};"use strict";function Yc(a,b){var e=a.t[1];a.l-=e;a.l=a.l+b&65535;a.l=a.l+e|0}function dd(a,b){b?Yc(a,t(a)):a.l=a.l+2|0}function ed(a,b){if(b){var e=v(a);a.l=a.l+e|0}else a.l=a.l+4|0}n=p.prototype;n.loop=function(a){--this.i[this.F]&&(this.l=this.l+a|0)};
n.Aa=function(){return this.n&1?(this.Oa^(this.Oa^this.Ha)&(this.Ha^this.m))>>>this.$&1:this.e&1};n.De=function(){return this.n&4?154020>>((this.C^this.C>>4)&15)&4:this.e&4};function ic(a){return a.n&16?(a.Oa^a.Ha^a.m)&16:a.e&16}n.Eb=function(){return this.n&64?(~this.C&this.C-1)>>>this.$&1:this.e&64};n.Dd=function(){return this.n&128?this.C>>>this.$&1:this.e&128};n.fd=function(){return this.n&2048?((this.Oa^this.m)&(this.Ha^this.m))>>>this.$&1:this.e&2048};n.ib=p.prototype.fd;n.Va=p.prototype.Aa;
n.Xa=p.prototype.Eb;n.jb=p.prototype.Dd;n.Wa=p.prototype.De;function lc(a){return a.Aa()||a.Eb()}function mc(a){return!a.Dd()!==!a.fd()}function nc(a){return a.Eb()||!a.Dd()!==!a.fd()}function Q(a,b){var e=ec(a,-2);B(a,e,b);a.v[a.A]-=2}function R(a,b){var e=ec(a,-4);D(a,e,b);a.v[a.A]-=4}function jc(a){var b=F(a,a.t[2]+a.v[a.A]|0);a.v[a.A]+=2;return b}function U(a){var b=G(a,a.t[2]+a.v[a.A]|0);a.v[a.A]+=4;return b}function pc(a,b){var e=a.d[0];a.d[0]=a.d[b];a.d[b]=e}
function qc(a,b){var e=a.b[0];a.b[0]=a.b[b];a.b[b]=e}function Cc(a,b,e,g){var d=F(a,e);e=F(a,e+2|0);S(a,b,e);a.d[g]=d}function Dc(a,b,e,g){var d=G(a,e);e=F(a,e+4|0);S(a,b,e);a.b[g]=d}function kd(a,b){var e=a.b[b];a.b[b]=e>>>24|e<<24|e>>8&65280|e<<8&16711680}n.xe=function(a){if(233495534===a)this.r=!1,fc(this);else throw console.log(a),console.log(a.stack),a;};
n.reset=function(){this.zb=new Uint8Array(8);this.Ca=new Uint32Array(8);this.t=new Int32Array(8);Da(this);this.b=new Int32Array(8);this.gb=new Uint32Array(this.b.buffer);this.ra=new Int16Array(this.b.buffer);this.d=new Uint16Array(this.b.buffer);this.Ib=new Int8Array(this.b.buffer);this.j=new Uint8Array(this.b.buffer);this.H=new Uint16Array(8);this.bc=new Int32Array(8);this.pa=!1;this.Sb=this.xc=this.Ub=this.yc=0;this.r=!1;this.s[0]=1610612752;this.s[2]=0;this.s[3]=0;this.s[4]=0;this.bc[6]=-61456;
this.bc[7]=1024;this.O=0;this.u=!1;this.md=0;this.bb=this.Ab=this.Ia=this.wa=!1;this.Dc=this.vb=-1;Ba(this);Aa(this);this.v=this.d;this.A=8;this.hb=10;this.da=this.Q=0;this.zc=!1;this.Kc=this.Lc=this.qc=0;this.na=-1;this.Z=0;this.e=2;this.$=this.Ha=this.Oa=this.m=this.C=this.n=0;this.oe=Ca();this.l=1048560;S(this,2,48);this.d[8]=256;this.c.Qd&&this.c.Qd.reset()};
n.cb=function(a,b){this.gc=a.gc||67108864;this.memory=new ld(this.gc);this.reset();var e=new md(this.memory);this.q=e;this.uc.Oe=a.uc;this.uc.Lb=a.kh;nd(this);var g=0;Y(e,146,this,function(){return g});Z(e,146,this,function(d){g=d});this.c={};a.Uf&&(this.c.Hc=new od(this),this.c.Pa=new pd(this),qd(this,a),this.c.Ec=new rd(this),this.c.wc=new sd(this),this.c.Lb=new td(this,b,a.Da||8388608),this.qa=new ud(this),this.c.Id=new vd(this,b),this.c.ff=new wd(this,1016,b),this.c.ze=new xd(this,a.ye),a.Ob&&
(this.c.Ob=new yd(this,a.Ob,!0,1,b)),a.Tb&&(this.c.Tb=new yd(this,a.Tb,!1,0,b)),this.c.Hd=new zd(this),a.Jf&&(this.c.Re=new Ad(this,b)),a.Rb&&(this.c.Qd=new Bd(this,b,a.Rb)))};function qd(a,b){var e=b.qf||531;a.c.Pa.Qa[56]=1|e>>4&240;a.c.Pa.Qa[61]=e&255;e=a.gc-16777216;a.c.Pa.Qa[52]=e>>16&255;a.c.Pa.Qa[53]=e>>24&255;a.c.Pa.Qa[91]=0;a.c.Pa.Qa[92]=0;a.c.Pa.Qa[93]=0;a.c.Pa.Qa[20]=45}
function nd(a){var b=a.uc.Oe,e=a.uc.Lb;if(b){var g=new Uint8Array(b);a.memory.ma.set(g,1048576-b.byteLength);e&&(g=new Uint8Array(e),a.memory.ma.set(g,786432));Cd(a.q,4293918720,1048576,function(d){return this.memory.ma[d&1048575]}.bind(a),function(d,h){this.memory.ma[d&1048575]=h}.bind(a))}}n.we=function(){for(var a=Date.now(),b=a;33>b-a;){this.c.Hd.qb(b,!1);this.c.Pa.qb(b,!1);zc(this);for(b=11001;b--;)gc(this);b=Date.now()}};
"undefined"!==typeof window&&(window.c=p.prototype.we,window.f=p.prototype.xe,window.k=p.prototype.N);function gc(a){a.da=a.l;a.Q++;var b=x(a);a.table[b](a)}function hc(a){a.table[x(a)](a)}p.prototype.N=function(){var a=Date.now();this.c.Hd.qb(a,!1);this.c.Pa.qb(a,!1);return 0};function fc(a){a.Z=0;a.na=-1;a.bb!==a.wa&&(a.bb=a.wa,Aa(a));a.Ia!==a.wa&&(a.Ia=a.wa,Ba(a))}function $c(a){var b=-2147483648===(a.s[0]&-2147483648);a.qa||(a.s[0]|=4);a.s[0]|=16;b!==a.u&&(a.u=b,Da(a))}
function Fc(a){a.vb=-1;a.Dc=-1}function x(a){a.l&-4096^a.vb&&(a.D=E(a,a.l)^a.l,a.vb=a.l&-4096);var b=a.memory.L(a.D^a.l);a.l=a.l+1|0;return b}function s(a){return x(a)<<24>>24}function t(a){if(4094<(a.l^a.vb)>>>0)return x(a)|x(a)<<8;var b=a.memory.K(a.D^a.l);a.l=a.l+2|0;return b}function v(a){if(4092<(a.l^a.vb)>>>0)return t(a)|t(a)<<16;var b=P(a.memory,a.D^a.l);a.l=a.l+4|0;return b}function ac(a,b,e){return a.memory.L(b)|a.memory.L(e)<<8}
function cc(a,b,e){var g;g=b&1?b&2?Xb(a.memory,e-2>>1):Xb(a.memory,b+1>>1):ac(a,b+1|0,e-1|0);return a.memory.L(b)|g<<8|a.memory.L(e)<<24}function bc(a,b,e,g){a.memory.R(b,g);a.memory.R(e,g>>8)}function dc(a,b,e,g){a.memory.R(b,g);a.memory.R(e,g>>24);b&1?b&2?(a.memory.R(e-2,g>>8),a.memory.R(e-1,g>>16)):(a.memory.R(b+1|0,g>>8),a.memory.R(b+2|0,g>>16)):(a.memory.R(b+1|0,g>>8),a.memory.R(e-1,g>>16))}function y(a,b){return a.memory.L(E(a,b))}
function F(a,b){return a.u&&4095===(b&4095)?y(a,b)|y(a,b+1|0)<<8:a.memory.K(E(a,b))}function G(a,b){return a.u&&4093<=(b&4095)?F(a,b)|F(a,b+2|0)<<16:P(a.memory,E(a,b))}function Ib(a,b,e){a.memory.R(A(a,b),e)}function B(a,b,e){var g=A(a,b);4095===(b&4095)?bc(a,g,A(a,b+1|0),e):a.memory.fa(g,e)}function D(a,b,e){var g=A(a,b);4093<=(b&4095)?dc(a,g,A(a,b+3|0),e):a.memory.ga(g,e)}function Ac(a){return a.bb?Qb(a,3)+v(a)|0:Qb(a,3)+t(a)|0}function wc(a){return a.e>>12&3}
function kc(a){return!!(a.e&131072)}function Dd(a){return a.e&-2262|!!a.Aa()|!!a.De()<<2|!!ic(a)<<4|!!a.Eb()<<6|!!a.Dd()<<7|!!a.fd()<<11}function xc(a){a.e=Dd(a);a.n=0}function yc(a,b){var e=1769472,g=2588629;a.e&131072?(e|=12288,g|=1572864):a.O&&(e|=12288,a.O>wc(a)&&(e|=512));a.e=(b^(a.e^b)&e)&g|2;a.n=0}function ec(a,b){return a.Ab?a.t[2]+a.v[a.A]+b|0:a.t[2]+(a.v[a.A]+b&65535)|0}function sc(a){return a.l-a.t[1]|0}
function Ec(a,b,e,g){a.zc=!1;if(a.pa){if(kc(a)&&a.s[4]&1)throw a.debug.P("VME");kc(a)&&e&&3>wc(a)&&W(a,0);if((b<<3|7)>a.yc)throw a.debug.P("#GP handler");var d=a.Ub+(b<<3)|0;a.u&&(d=Ed(a,d));var h=a.memory.K(d)|a.memory.K(d+6|0)<<16,l=a.memory.K(d+2|0),m=a.memory.L(d+5|0),q=m>>5&3,d=!1;if(0===(m&128))throw a.debug.P("#NP handler");e&&q<a.O&&W(a,b<<3|2);m&=31;if(14===m)d=b=!1;else if(15===m)b=!0,d=!1;else{if(5===m){h=Hc(a,l);if(!h.Cc||h.nb||!h.he)throw a.debug.P("#GP handler");if(11===(h.sb&31))throw a.debug.P("#GP handler");
if(!h.ub)throw a.debug.P("#NP handler");if(103>h.Db)throw a.debug.P("#NP handler");d=a.t[6];b=Dd(a);rc(a,d,102);D(a,d+32,sc(a));D(a,d+36,b);D(a,d+40,a.b[0]);D(a,d+44,a.b[1]);D(a,d+48,a.b[2]);D(a,d+52,a.b[3]);D(a,d+56,a.b[4]);D(a,d+60,a.b[5]);D(a,d+64,a.b[6]);D(a,d+68,a.b[7]);D(a,d+72,a.H[0]);D(a,d+76,a.H[1]);D(a,d+80,a.H[2]);D(a,d+84,a.H[3]);D(a,d+88,a.H[4]);D(a,d+92,a.H[5]);D(a,d+96,a.H[7]);a.memory.R(h.sd+5|0,a.memory.L(h.sd+5|0)|2);b=h.Mb;e=G(a,b+28);a.e&=-131073;S(a,1,F(a,b+76));m=G(a,b+36);D(a,
d+0,l);m|=16384;if(m&131072)throw a.debug.P("task switch to VM mode");yc(a,m);Zc(a,F(a,b+96));a.b[0]=G(a,b+40);a.b[1]=G(a,b+44);a.b[2]=G(a,b+48);a.b[3]=G(a,b+52);a.b[4]=G(a,b+56);a.b[5]=G(a,b+60);a.b[6]=G(a,b+64);a.b[7]=G(a,b+68);S(a,0,F(a,b+72));S(a,2,F(a,b+80));S(a,3,F(a,b+84));S(a,4,F(a,b+88));S(a,5,F(a,b+92));a.l=a.t[1]+G(a,b+32)|0;a.t[6]=h.Mb;a.Ca[6]=h.Db;a.H[6]=l;a.s[3]=e;cd(a);a.s[0]|=8;!1!==g&&R(a,g);return}if(6===m)throw a.debug.P("16 bit interrupt gate");if(7===m)d=b=!0;else throw a.debug.P("#GP handler");
}e=Hc(a,l);if(e.nb)throw a.debug.P("#GP handler");if(!e.dc||e.Ga>a.O)throw a.debug.P("#GP handler");if(!e.ub)throw a.debug.P("#NP handler");xc(a);m=a.e;if(!e.ac&&e.Ga<a.O){var w=(e.Ga<<3)+4|0;if((w+5|0)>a.Ca[6])throw a.debug.P("#TS handler");w=w+a.t[6]|0;a.u&&(w=Ed(a,w));var q=P(a.memory,w),w=a.memory.K(w+4|0),C=Hc(a,w);if(C.nb)throw a.debug.P("#TS handler");if(C.Xb!==e.Ga)throw a.debug.P("#TS handler");if(C.Ga!==e.Ga||!C.Md)throw a.debug.P("#TS handler");if(!C.ub)throw a.debug.P("#TS handler");var C=
a.b[4],z=a.H[2];a.O=e.Ga;Fc(a);a.wa!==e.size&&Gc(a,e.size);a.e&=-196609;S(a,2,w);a.v[a.A]=q;m&131072?d?(rc(a,ec(a,-20),20),Q(a,a.H[5]),Q(a,a.H[4]),Q(a,a.H[3]),Q(a,a.H[0])):(rc(a,ec(a,-40),40),R(a,a.H[5]),R(a,a.H[4]),R(a,a.H[3]),R(a,a.H[0])):d?rc(a,ec(a,-12),12):rc(a,ec(a,-24),24);d?(Q(a,z),Q(a,C)):(R(a,z),R(a,C))}else if(e.ac||e.Ga===a.O)d?rc(a,ec(a,-8),8):rc(a,ec(a,-16),16),a.e&131072&&W(a,l&-4);else throw a.debug.P("#GP handler");d?(Q(a,m),Q(a,a.H[1]),Q(a,sc(a)),!1!==g&&Q(a,g),h&=65535):(R(a,m),
R(a,a.H[1]),R(a,sc(a)),!1!==g&&R(a,g));m&131072&&(S(a,5,0),S(a,4,0),S(a,3,0),S(a,0,0));a.H[1]=l&-4|a.O;a.wa!==e.size&&Gc(a,e.size);a.Ca[1]=e.Db;a.t[1]=e.Mb;a.l=a.t[1]+h|0;b||(a.e&=-513)}else rc(a,ec(a,-6),6),l=b<<2,g=a.memory.K(l),l=a.memory.K(l+2|0),xc(a),Q(a,a.e),Q(a,a.H[1]),Q(a,sc(a)),a.e&=-513,S(a,1,l),a.l=a.t[1]+g|0}function Ic(a){a.l=a.da;Ec(a,0,!1,!1);throw 233495534;}function V(a){a.l=a.da;Ec(a,6,!1,!1);throw 233495534;}function tc(a){a.l=a.da;Ec(a,7,!1,!1);throw 233495534;}
function W(a,b){a.l=a.da;Ec(a,13,!1,b);throw 233495534;}function r(a){return Qb(a,3)}function u(a){return Qb(a,2)}function Qb(a,b){return-1===a.na?a.t[b]:9===a.na?0:a.t[a.na]}function zc(a){a.e&512&&!a.r&&(a.c.Hc&&a.c.Hc.$c(),a.c.Wc&&a.c.Wc.$c())}p.prototype.Ya=function(a){this.c.Hc&&this.c.Hc.Jd(a);this.c.Wc&&this.c.Wc.Jd(a)};
function Gb(a,b,e){if(a.pa&&(a.O>wc(a)||a.e&131072)){var g=a.Ca[6],d=a.t[6];if(103<=g){var h=a.memory.K(Ed(a,d+100+2|0));if(g>=(h+((b+e-1|0)>>3)|0)&&(e=(1<<e)-1<<(b&7),b=Ed(a,d+h+(b>>3)|0),!((e&65280?a.memory.K(b):a.memory.L(b))&e)))return}W(a,0)}}function Gc(a,b){a.wa=a.Ia=a.bb=b;Ba(a);Aa(a)}function Ba(a){a.Ia?(a.table=a.ef,a.U=a.Y):(a.table=a.df,a.U=a.X)}function Aa(a){a.bb?(a.i=a.b,a.F=1,a.w=6,a.p=7):(a.i=a.d,a.F=2,a.w=12,a.p=14)}
function Hc(a,b){var e=0===(b&4),g=b&-8,d,h;d={Xb:b&3,he:e,nb:!1,Cc:!0,Mb:0,sb:0,e:0,type:0,Ga:0,Bc:!1,ub:!1,dc:!1,Md:!1,ac:!1,size:!1,Db:0,Je:!1,Ie:!1,sd:0};e?(e=a.Sb,h=a.xc):(e=a.t[7],h=a.Ca[7]);if(0===g)return d.nb=!0,d;if((b|7)>h)return d.Cc=!1,d;e=e+g|0;a.u&&(e=Ed(a,e));d.sd=e;d.Mb=a.memory.K(e+2|0)|a.memory.L(e+4|0)<<16|a.memory.L(e+7|0)<<24;d.sb=a.memory.L(e+5|0);d.e=a.memory.L(e+6|0)>>4;d.type=d.sb&15;d.Ga=d.sb>>5&3;d.Bc=0===(d.sb&16);d.ub=128===(d.sb&128);d.dc=8===(d.sb&8);d.Md=2===(d.sb&
2);d.ac=4===(d.sb&4);d.size=4===(d.e&4);g=a.memory.K(e)|(a.memory.L(e+6|0)&15)<<16;d.Db=d.e&8?(g<<12|4095)>>>0:g;d.Je=d.Md&&!d.dc;d.Ie=d.Md||!d.dc;return d}
function S(a,b,e){1===b&&(a.pa=1===(a.s[0]&1));if(!a.pa||kc(a))a.H[b]=e,a.zb[b]=0,a.t[b]=e<<4,2===b&&a.Ab&&(a.Ab=!1,a.v=a.d,a.A=8,a.hb=10);else{var g=Hc(a,e);if(2===b){g.nb&&W(a,0);g.Cc&&!g.Bc&&g.Xb===a.O&&g.Je&&g.Ga===a.O||W(a,e&-4);if(!g.ub)throw a.l=a.da,Ec(a,12,!1,e&-4),233495534;(a.Ab=g.size)?(a.v=a.b,a.A=4,a.hb=5):(a.v=a.d,a.A=8,a.hb=10)}else if(1===b){if(!g.dc)throw a.debug.P("#GP handler");if(g.Bc)throw a.debug.P("load system segment descriptor, type = "+(g.sb&15));if(g.Xb!==a.O)throw a.debug.P("privilege change");
if(!g.ac&&g.Ga<a.O)throw a.debug.P("inter privilege call");if(!g.ac&&g.Ga!==a.O)throw a.debug.P("#GP handler");g.size!==a.wa&&Gc(a,g.size)}else{if(g.nb){a.H[b]=e;a.zb[b]=1;return}if(!g.Cc||g.Bc||!g.Ie||(!g.dc||!g.ac)&&g.Xb>g.Ga&&a.O>g.Ga){debugger;W(a,e&-4)}if(!g.ub)throw a.l=a.da,Ec(a,11,!1,e&-4),233495534;}a.zb[b]=0;a.Ca[b]=g.Db;a.t[b]=g.Mb;a.H[b]=e}}
function Zc(a,b){var e=Hc(a,b);if(e.nb)a.t[7]=0,a.Ca[7]=0;else{if(!e.he)throw a.debug.P("LDTR can only be loaded from GDT");if(!e.ub)throw a.debug.P("#GP handler");if(!e.Bc)throw a.debug.P("#GP handler");if(2!==e.type)throw a.debug.P("#GP handler");a.t[7]=e.Mb;a.Ca[7]=e.Db;a.H[7]=b}}function ad(a,b,e){b=Hc(a,b);a.n&=-65;if(b.nb||!b.Cc||58817>>b.type&1)return a.e&=-65,e;a.e|=64;return b.type<<8|b.size<<12|b.Ga<<13|b.ub<<15|b.e<<20}
function bd(a,b,e){b=Hc(a,b);a.n&=-65;if(b.nb||!b.Cc||62833>>b.type&1)return a.e&=-65,e;a.e|=64;return b.Db|0}function cd(a){a.vb=-1;a.Dc=-1;a.Bb.set(a.td)}function Da(a){for(var b=new Int32Array(a.td.buffer),e=0;262144>e;)b[e++]=b[e++]=b[e++]=b[e++]=0;cd(a)}function E(a,b){var e;a.u?3===a.O?(e=b>>>12,e=a.Bb[e]&4?a.G[e]^b:Fd(a,b,0,1)|b&4095):e=Ed(a,b):e=b;return e}
function A(a,b){var e;a.u?3===a.O?(e=b>>>12,e=a.Bb[e]&8?a.G[e]^b:Fd(a,b,1,1)|b&4095):(e=b>>>12,e=a.Bb[e]&2?a.G[e]^b:Fd(a,b,1,0)|b&4095):e=b;return e}function Ed(a,b){var e=b>>>12;return a.Bb[e]&1?a.G[e]^b:Fd(a,b,0,0)|b&4095}
function Fd(a,b,e,g){var d=b>>>12,h=(a.s[3]>>>2)+(d>>10)|0,l=a.memory.wb[h],m=!0,q=!0;l&1||(a.s[2]=b,Gd(a,e,g,0));0===(l&2)&&(m=!1,e&&(g||a.s[0]&65536)&&(a.s[2]=b,Gd(a,e,g,1)));0===(l&4)&&(q=!1,g&&(a.s[2]=b,Gd(a,e,g,1)));if(l&a.md)a.memory.wb[h]=l|32|e<<6,b=l&4290772992|b&4190208,l=l&256;else{var w=((l&4294963200)>>>2)+(d&1023)|0,C=a.memory.wb[w];0===(C&1)&&(a.s[2]=b,Gd(a,e,g,0));0===(C&2)&&(m=!1,e&&(g||a.s[0]&65536)&&(a.s[2]=b,Gd(a,e,g,1)));0===(C&4)&&(q=!1,g&&(a.s[2]=b,Gd(a,e,g,1)));a.memory.wb[h]=
l|32;a.memory.wb[w]=C|32|e<<6;b=C&4294963200;l=C&256}a.G[d]=b^d<<12;m=q?m?15:5:m?3:1;a.Bb[d]=m;l&&a.s[4]&128&&(a.td[d]=m);return b}function rc(a,b,e){if(a.u){var g=3===a.O?1:0,d=g?8:2,h=b>>>12;0===(a.Bb[h]&d)&&Fd(a,b,1,g);4096<=(b&4095)+e-1&&0===(a.Bb[h+1|0]&d)&&Fd(a,b+e-1|0,1,g)}}function Gd(a,b,e,g){if(a.r)throw a.debug.P("Double fault");var d=a.s[2]>>>12;a.Bb[d]=0;a.td[d]=0;a.l=a.da;a.r=!0;Ec(a,14,!1,e<<2|b<<1|g);throw 233495534;};function md(a){this.c=[];this.memory=a;for(var b=0;65536>b;b++)this.c[b]={L:this.If,K:this.Gf,Ye:this.Hf,R:this.ee,fa:this.ee,ga:this.ee,ya:void 0};for(var e=a.size,b=0;b<<17<e;b++)a.f[b]=a.k[b]=void 0,a.m[b]=a.r[b]=void 0;Cd(this,e,4294967296-e,function(){return 255},function(){},function(){return-1},function(){})}n=md.prototype;n.If=function(){return 255};n.Gf=function(){return 65535};n.Hf=function(){return-1};n.ee=function(){};
function Y(a,b,e,g,d,h){g&&(a.c[b].L=g);d&&(a.c[b].K=d);h&&(a.c[b].Ye=h);a.c[b].ya=e}function Z(a,b,e,g,d,h){g&&(a.c[b].R=g);d&&(a.c[b].fa=d);h&&(a.c[b].ga=h);a.c[b].ya=e}n.$e=function(a,b,e,g,d,h){function l(){return e.call(this)|g.call(this)<<8}function m(){return d.call(this)|h.call(this)<<8}function q(){return e.call(this)|g.call(this)<<8|d.call(this)<<16|h.call(this)<<24}d&&h?(Y(this,a,b,e,l,q),Y(this,a+1,b,g),Y(this,a+2,b,d,m),Y(this,a+3,b,h)):(Y(this,a,b,e,l),Y(this,a+1,b,g))};
n.od=function(a,b,e,g,d,h){function l(w){e.call(this,w&255);g.call(this,w>>8&255)}function m(w){d.call(this,w&255);h.call(this,w>>8&255)}function q(w){e.call(this,w&255);g.call(this,w>>8&255);d.call(this,w>>16&255);h.call(this,w>>>24)}d&&h?(Z(this,a,b,e,l,q),Z(this,a+1,b,g),Z(this,a+2,b,d,m),Z(this,a+3,b,h)):(Z(this,a,b,e,l),Z(this,a+1,b,g))};function Bc(a,b,e){b>>>=0;e=b+(e>>>0);if(e>=a.memory.size)return!0;for(b&=-131072;b<e;){if(a.memory.c[b>>17])return!0;b+=131072}return!1}
n.Vf=function(a){var b=this.memory.f[a>>>17];return b(a)|b(a+1)<<8|b(a+2)<<16|b(a+3)<<24};n.Wf=function(a,b){var e=this.memory.k[a>>>17];e(a,b&255);e(a+1,b>>8&255);e(a+2,b>>16&255);e(a+3,b>>>24)};function Cd(a,b,e,g,d,h,l){h||(h=a.Vf.bind(a));l||(l=a.Wf.bind(a));for(b>>>=17;0<e;b++)a.memory.c[b]=1,a.memory.f[b]=g,a.memory.k[b]=d,a.memory.m[b]=h,a.memory.r[b]=l,e-=131072}function Rb(a,b,e){a=a.c[b];a.R.call(a.ya,e)}function Wb(a,b,e){a=a.c[b];a.fa.call(a.ya,e)}
function Zb(a,b,e){a=a.c[b];a.ga.call(a.ya,e)}function Hb(a,b){var e=a.c[b];return e.L.call(e.ya)}function Kb(a,b){var e=a.c[b];return e.K.call(e.ya)}function Nb(a,b){var e=a.c[b];return e.Ye.call(e.ya)};function Hd(a){this.m=!0;this.k=this.f=!1;this.o=new p;this.B=a;a.register("cpu-init",this.cb,this);a.register("cpu-run",this.ih,this);a.register("cpu-stop",this.jh,this);a.register("cpu-restart",this.hh,this);this.c=function(){console.assert(!1)};this.r=function(){console.assert(!1)}}n=Hd.prototype;n.ih=function(){this.f||(this.B.send("emulator-started"),this.c())};function Id(a){if(a.k)a.k=a.f=!1,a.B.send("emulator-stopped");else{a.f=!0;var b=a.o;try{b.zc?b.N():b.we()}catch(e){b.xe(e)}a.r(0)}}
n.jh=function(){this.f&&(this.k=!0)};n.hh=function(){this.o.reset();nd(this.o)};n.cb=function(a){this.m&&(this.m=!1,Jd(this));this.o.cb(a,this.B);this.B.send("emulator-ready")};
function Jd(a){"undefined"!==typeof setImmediate?a.c=function(){setImmediate(function(){Id(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(b){b.source===window&&43605===b.data&&Id(a)},!1),a.c=function(){window.postMessage(43605,"*")}):a.c=function(){setTimeout(function(){Id(a)},0)};a.r="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(b){4>b||document.hidden?this.c():setTimeout(function(){Id(a)},b)}:function(b){setTimeout(function(){Id(a)},
b)}}n.pd=function(){return this.o.pd()};var Ca="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues)var Kd=new Int32Array(1),gd=function(){return!0},jd=function(){window.crypto.getRandomValues(Kd);return Kd[0]};else gd=function(){return!1},jd=function(){console.assert(!1)};var fd,Ld,Md,Nd,Od,Pd;function Qd(a){for(a=(a=(a?a.toString(16):"").toUpperCase())?a+"":"";1>a.length;)a="0"+a;return"0x"+a}function Rd(a){this.buffer=a;this.byteLength=a.byteLength;this.onprogress=this.onload=void 0}Rd.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};Rd.prototype.get=function(a,b,e){e(new Uint8Array(this.buffer,a,b))};Rd.prototype.set=function(a,b,e){(new Uint8Array(this.buffer,a,b.byteLength)).set(b);e()};
(function(){for(var a=new Int8Array(256),b=0,e=-2;256>b;b++)b&b-1||e++,a[b]=e;Ld=function(g){return a[g]};fd=function(g){var d=g>>>16;if(d){var h=d>>>8;return h?24+a[h]:16+a[d]}return(h=g>>>8)?8+a[h]:a[g]}})();function Sd(a){var b=new Uint8Array(a),e,g;this.length=0;this.push=function(d){this.length!==a&&this.length++;b[g]=d;g=g+1&a-1};this.shift=function(){if(this.length){var d=b[e];e=e+1&a-1;this.length--;return d}return-1};this.clear=function(){this.length=g=e=0};this.clear()};function ud(a){this.o=a;this.f=new Float64Array(8);this.U=new Float32Array(1);new Uint8Array(this.U.buffer);this.ta=new Int32Array(this.U.buffer);this.I=new Float64Array(1);this.r=new Uint8Array(this.I.buffer);this.D=new Int32Array(this.I.buffer);this.Ka=new Uint8Array(this.f.buffer);new Int32Array(this.f.buffer);this.m=255;this.c=0;this.G=895;this.N=this.X=this.ca=this.oa=this.Y=this.k=0;this.xa=NaN;this.Ja=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,
0])}n=ud.prototype;n.za=function(){var a=[];a[0]=this.f;a[1]=this.m;a[2]=this.c;a[3]=this.G;a[4]=this.N;a[5]=this.Y;a[6]=this.oa;a[7]=this.X;a[8]=this.N;a[9]=this.ca;return a};n.La=function(a){this.f.set(a[0]);this.m=a[1];this.c=a[2];this.G=a[3];this.N=a[4];this.Y=a[5];this.oa=a[6];this.X=a[7];this.N=a[8];this.ca=a[9]};function Mc(a){V(a.o)}function Rc(a){a.k|=1}function Lc(a,b){var e=Kc(a);a.k&=-18177;e>b||(a.k=b>e?a.k|256:e===b?a.k|16384:a.k|17664)}
function Vc(a,b){var e=a.f[a.c];a.o.n&=-70;a.o.e&=-70;e>b||(a.o.e=b>e?a.o.e|1:e===b?a.o.e|64:a.o.e|69)}function Uc(a){a.G=895;a.k=0;a.Y=0;a.X=0;a.ca=0;a.m=255;a.c=0}function Oc(a,b){if(a.o.Ia){rc(a.o,b,26);B(a.o,b,a.G);B(a.o,b+4,a.k&-14337|a.c<<11);for(var e=0,g,d=0;8>d;d++)g=a.f[d],a.m>>d&1?e|=3<<(d<<1):0===g?e|=1<<(d<<1):isFinite(g)||(e|=2<<(d<<1));B(a.o,b+8,e);D(a.o,b+12,a.Y);B(a.o,b+16,a.oa);B(a.o,b+18,a.ca);D(a.o,b+20,a.X);B(a.o,b+24,a.N)}else Mc(a)}
function Nc(a,b){if(a.o.Ia){a.G=F(a.o,b);var e=F(a.o,b+4);a.k=e&-14337;a.c=e>>11&7;for(var e=F(a.o,b+8),g=a.m=0;8>g;g++)a.m|=e>>g&e>>g+1&1<<g;a.Y=G(a.o,b+12);a.oa=F(a.o,b+16);a.ca=F(a.o,b+18);a.X=G(a.o,b+20);a.N=F(a.o,b+24)}else Mc(a)}function Pc(a,b){var e=a.G>>10&3;return 0===e?(e=Math.round(b),.5===e-b&&e%2&&e--,e):1===e||3===e&&0<b?Math.floor(b):Math.ceil(b)}function Qc(a){return 0<a?Math.floor(a):Math.ceil(a)}
n.push=function(a){this.c=this.c-1&7;this.m>>this.c&1?(this.k&=-513,this.m&=~(1<<this.c),this.f[this.c]=a):(this.k|=512,this.k|=65,this.f[this.c]=this.xa)};n.pop=function(){this.m|=1<<this.c;this.c=this.c+1&7};function X(a,b){b=b+a.c&7;return a.m>>b&1?(a.k&=-513,a.k|=65,a.xa):a.f[b]}function Kc(a){return a.m>>a.c&1?(a.k&=-513,a.k|=65,a.xa):a.f[a.c]}
function Sc(a,b){var e=F(a.o,b+8),g,d=G(a.o,b)>>>0,h=G(a.o,b+4)>>>0;g=e>>15;e&=-32769;if(0===e)return 0;if(!(32767>e))return a.r[7]=127|g<<7,a.r[6]=240|h>>30<<3&8,a.r[5]=0,a.r[4]=0,a.D[0]=0,a.I[0];d+=4294967296*h;g&&(d=-d);return d*Math.pow(2,e-16383-63)}
function Tc(a,b,e){a.I[0]=a.f[a.c+e&7];e=a.r[7]&128;var g=(a.r[7]&127)<<4|a.r[6]>>4,d,h;2047===g?(g=32767,d=0,h=2147483648|(a.D[1]&524288)<<11):0===g?h=d=0:(g+=15360,d=a.D[0]<<11,h=2147483648|(a.D[1]&1048575)<<11|a.D[0]>>>21);D(a.o,b,d);D(a.o,b+4,h);B(a.o,b+8,e<<8|g)}function Wc(a,b){var e=G(a.o,b),g=G(a.o,b+4);a.D[0]=e;a.D[1]=g;return a.I[0]}function Xc(a,b){rc(a.o,b,8);a.I[0]=X(a,0);D(a.o,b,a.D[0]);D(a.o,b+4,a.D[1])}function Jc(a,b){a.ta[0]=G(a.o,b);return a.U[0]}
n.sign=function(a){return this.Ka[(this.c+a&7)<<3|7]>>7};function yd(a,b,e,g,d){this.B=d;0===g?(this.k=496,this.$a=14,this.ic=240):(this.k=496,this.$a=14,this.ic=248);this.Kb=g;this.xa=this.k|516;this.o=a;this.memory=a.memory;this.buffer=b;this.r=e?2048:512;this.ca=e;this.I=this.U=this.N=this.m=0;this.buffer&&(this.m=this.buffer.byteLength/this.r,this.m!==(this.m|0)&&(this.m=Math.ceil(this.m)),e?(this.N=1,this.U=0):(this.N=16,this.U=63),a.c.Pa.Qa[57]=1,this.I=this.m/this.N/this.U,this.I!==(this.I|0)&&(this.I=Math.floor(this.I)));this.va={af:0,bf:0,qe:0,
re:0,Me:!1};this.Gc=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.k&255|1,this.k>>8,0,0,this.xa&255|1,this.xa>>8,0,0,0,0,0,0,0,0,0,0,1,192,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.$a,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.Fc=[{size:8},{size:4},!1,!1,{size:16}];Td(a.c.Ec,this);Y(a.q,this.k|7,this,this.Ze);Y(a.q,
this.xa|2,this,this.Ze);Z(a.q,this.xa|2,this,this.mh);this.Ja=2;this.je=255;this.ha=0;this.V=new Uint8Array(0);this.cd=this.head=this.sa=this.aa=this.D=this.G=this.f=this.jd=0;this.status=80;this.ta=1;this.Y=this.X=this.Ka=0;this.c=new Uint8Array(0);this.ab=0;this.oa=-1;this.ia=this.mc=0;Y(a.q,this.k|0,this,this.Og,this.Mg,this.Ng);Y(a.q,this.k|1,this,this.Qg);Y(a.q,this.k|2,this,this.Lg);Y(a.q,this.k|3,this,this.Sg);Y(a.q,this.k|4,this,function(){return this.aa&255});Y(a.q,this.k|5,this,function(){return this.sa&
255});Y(a.q,this.k|6,this,function(){return this.cd});Z(a.q,this.k|0,this,this.tc,this.nh,this.oh);Z(a.q,this.k|1,this,this.ph);Z(a.q,this.k|2,this,this.lh);Z(a.q,this.k|3,this,this.qh);Z(a.q,this.k|4,this,function(h){this.aa=(this.aa<<8|h)&65535});Z(a.q,this.k|5,this,function(h){this.sa=(this.sa<<8|h)&65535});Z(a.q,this.k|6,this,function(h){h&16||(this.cd=h,this.jd=h>>6&1,this.head=h&15,this.je=h)});Z(a.q,this.k|7,this,this.pf);Y(a.q,49156,this,void 0,void 0,this.zf);Z(a.q,49156,this,void 0,void 0,
this.Df);Y(a.q,49152,this,this.Bf,void 0,this.Af);Z(a.q,49152,this,this.Ff,void 0,this.Ef);Y(a.q,49154,this,this.Cf);Z(a.q,49154,this,this.ve);Y(a.q,49160,this,function(){return 0});Y(a.q,49162,this,function(){return 0})}n=yd.prototype;
n.za=function(){var a=[];a[0]=this.Ja;a[1]=this.je;a[2]=this.ha;a[3]=this.V;a[4]=this.jd;a[5]=this.f;a[6]=this.G;a[7]=this.D;a[8]=this.aa;a[9]=this.head;a[10]=this.cd;a[11]=this.status;a[12]=this.ta;a[13]=this.Ka;a[14]=this.X;a[15]=this.Y;a[16]=this.c;a[17]=this.oa;a[18]=this.mc;a[19]=this.ia;return a};
n.La=function(a){this.Ja=a[0];this.je=a[1];this.ha=a[2];this.V=a[3];this.jd=a[4];this.f=a[5];this.G=a[6];this.D=a[7];this.aa=a[8];this.head=a[9];this.cd=a[10];this.status=a[11];this.ta=a[12];this.Ka=a[13];this.X=a[14];this.Y=a[15];this.c=a[16];this.oa=a[17];this.mc=a[18];this.ia=a[19]};function Ud(a){a.ca?(a.status=81,a.f=1,a.D=1,a.G=1,a.aa=20,a.sa=235):(a.status=81,a.f=1,a.D=1,a.G=1,a.aa=60,a.sa=195)}n.M=function(){0===(this.Ja&2)&&this.o.Ya(this.$a)};
n.pf=function(a){this.D=0;switch(a){case 0:this.M();this.status=80;break;case 8:this.ha=0;this.V=new Uint8Array(0);Ud(this);this.M();break;case 16:this.M();break;case 39:this.M();this.V=new Uint8Array([0,0,0,0,this.buffer.byteLength&255,this.buffer.byteLength>>8&255,this.buffer.byteLength>>16&255,this.buffer.byteLength>>24&255,0,0,0,0]);this.status=88;break;case 32:case 36:case 41:case 196:Vd(this,a);break;case 48:case 52:case 57:case 197:a:{if(48===a||197===a){a=this.f&255;var b=this.jd?Wd(this):
Xd(this);0===a&&(a=256)}else if(52===a||57===a)a=this.f,b=Yd(this),0===a&&(a=65536);else break a;var e=a*this.r,b=b*this.r;this.aa+=a;b+e>this.buffer.byteLength?this.status=255:(this.status=88,Zd(this,e),this.Ka=b,this.ab=1);this.M()}break;case 144:this.M();this.D=257;this.status=80;break;case 145:this.M();break;case 160:this.ca&&(this.status=88,Zd(this,12),this.ab=2,this.f=1,this.M());break;case 161:this.ca?($d(this),this.status=88,this.aa=20,this.sa=235):this.status=80;this.M();break;case 198:this.ta=
this.f;this.M();break;case 200:ae(this);break;case 202:be(this);break;case 225:this.M();break;case 236:if(this.ca)break;$d(this);this.status=88;this.M();break;case 234:this.M();break;case 239:this.M();break;default:this.D=4}};n.de=function(){this.status=80;this.buffer.set(this.Ka,this.c.subarray(0,this.X),function(){this.M()}.bind(this));ce(this,this.X)};n.Ze=function(){var a=this.status;0<=this.oa&&(this.status=this.oa,this.oa=-1);return a};n.mh=function(a){this.Ja=a;a&4&&Ud(this)};
function Zd(a,b){b>a.c.length&&(a.c=new Uint8Array(b));a.X=b;a.Y=0}function de(a,b){var e=(b[7]<<8|b[8])*a.r,g=(a.sa&255)<<8|a.aa&255,d,h=(b[2]<<24|b[3]<<16|b[4]<<8|b[5])*a.r;g||(g=32768);d=Math.min(e,g&65280);a.aa=d&255;a.sa=d>>8&255;a.M();h>=a.buffer.byteLength?(a.status=255,a.M()):(e=Math.min(e,a.buffer.byteLength-h),a.status=128,ee(a),a.buffer.get(h,e,function(l){this.V=l;this.status=88;this.aa=d&255;this.sa=d>>8&255;this.ha=0;this.M();fe(this,e)}.bind(a)))}
function ge(a,b){var e=(b[7]<<8|b[8])*a.r,g=(b[2]<<24|b[3]<<16|b[4]<<8|b[5])*a.r;g>=a.buffer.byteLength?(a.status=255,a.M()):(e=Math.min(e,a.buffer.byteLength-g),a.status=128,ee(a),a.buffer.get(g,e,function(d){var h=this.mc,l=0;do{var m=P(this.memory,h),q=this.memory.K(h+4),w=this.memory.L(h+7)&128;q||(q=65536);this.memory.ma.set(d.subarray(l,l+q),m);l+=q;h+=8;if(l>this.buffer.byteLength)throw"too long";}while(!w);this.status=80;this.ia&=-4;this.ia|=4;this.M();fe(this,e)}.bind(a)))}n.Og=function(){return he(this)};
n.Mg=function(){return he(this)|he(this)<<8};n.Ng=function(){return he(this)|he(this)<<8|he(this)<<16|he(this)<<24};n.Qg=function(){return this.D&255};n.Lg=function(){return this.f&255};n.Sg=function(){return this.G&255};
function he(a){if(a.ha<a.V.length){0!==(a.ha+1)%(512*a.ta)&&a.ha+1!==a.V.length||a.M();a.aa?a.aa--:a.sa&&(a.sa--,a.aa=255);if(!a.aa&&!a.sa){var b=a.V.length-a.ha-1;65536<=b?(a.sa=240,a.aa=0):(a.sa=b>>8,a.aa=b)}a.ha+1>=a.V.length&&(a.status=80,a.f=a.f&-8|3,a.M());return a.V[a.ha++]}a.ha++;return 0}
n.tc=function(a){if(!(this.Y>=this.X)&&(this.c[this.Y++]=a,0===this.Y%(512*this.ta)&&this.M(),this.Y===this.X))switch(this.ab){case 1:this.de();break;case 2:this.f=this.f&-8|2;switch(this.c[0]){case 0:this.V=new Uint8Array(0);this.ha=0;this.status=64;this.sa=this.aa=0;this.M();break;case 3:this.V=new Uint8Array(this.c[4]);this.status=88;this.V[0]=240;this.V[7]=8;this.ha=0;this.aa=8;this.sa=0;this.M();break;case 18:a=this.c[4]|this.c[3]<<8;this.V=new Uint8Array(a);this.status=88;this.V.set([5,128,
1,49,a-4,0,0,0,83,79,78,89,32,32,32,32,67,68,45,82,79,77,32,67,68,85,45,49,48,48,48,32,49,46,49,97]);this.ha=0;this.M();break;case 30:this.V=new Uint8Array(0);this.status=80;this.ha=0;this.M();break;case 37:a=this.m-1;this.V=new Uint8Array([a>>24&255,a>>16&255,a>>8&255,a&255,0,0,this.r>>8&255,this.r&255]);this.status=88;this.ha=0;this.M();break;case 40:this.D&1?ge(this,this.c):de(this,this.c);break;case 67:this.V=new Uint8Array(this.c[8]|this.c[7]<<8);this.ha=0;this.status=88;this.M();break;case 70:this.V=
new Uint8Array(this.c[8]|this.c[7]<<8);this.status=88;this.ha=0;this.M();break;case 74:this.V=new Uint8Array(this.c[8]|this.c[7]<<8);this.status=88;this.ha=0;this.M();break;case 81:this.V=new Uint8Array(0);this.status=80;this.ha=0;this.M();break;case 26:this.V=new Uint8Array(this.c[4]);this.status=88;this.ha=0;this.M();break;case 90:this.V=new Uint8Array(this.c[8]|this.c[7]<<8);this.status=88;this.ha=0;this.M();break;case 189:this.V=new Uint8Array(this.c[9]|this.c[8]<<8);this.V[5]=1;this.status=88;
this.ha=0;this.M();break;default:this.status=80}this.aa=this.V.length;this.sa=this.V.length>>8;0===(this.status&128)&&this.ha>=this.V.length&&(this.f|=1)}};n.nh=function(a){this.tc(a&255);this.tc(a>>8&255)};n.oh=function(a){this.tc(a&255);this.tc(a>>8&255);this.tc(a>>16&255);this.tc(a>>24&255)};n.ph=function(a){this.D=(this.D<<8|a)&65535};n.lh=function(a){this.f=(this.f<<8|a)&65535};n.qh=function(a){this.G=(this.G<<8|a)&65535};
function Vd(a,b){if(32===b||196===b){var e=a.f&255,g=a.jd?Wd(a):Xd(a);0===e&&(e=256)}else if(36===b||41===b)e=a.f,g=Yd(a),0===e&&(e=65536);else return;var d=e*a.r,g=g*a.r;a.aa+=e;g+d>a.buffer.byteLength?(a.status=255,a.M()):(a.status=128,ee(a),a.buffer.get(g,d,function(h){this.V=h;this.status=88;this.ha=0;this.M();fe(this,d)}.bind(a)))}
function ae(a){var b=a.f&255,e=b*a.r,g=Wd(a)*a.r;a.aa+=b;g+e>a.buffer.byteLength?(a.status=255,a.M()):(a.status=128,a.ia|=1,ee(a),a.buffer.get(g,e,function(d){var h=this.mc,l=0;do{var m=P(this.memory,h),q=this.memory.K(h+4),w=this.memory.L(h+7)&128;q||(q=65536);this.memory.ma.set(d.subarray(l,l+q),m);l+=q;h+=8}while(!w);this.status=80;this.ia&=-4;this.ia|=4;this.M();fe(this,e)}.bind(a)))}
function be(a){var b=a.f&255,e=b*a.r,g=Wd(a)*a.r;a.aa+=b;if(g+e>a.buffer.byteLength)a.status=255,a.M();else{a.status=128;a.ia|=1;var b=a.mc,d=0,h=0,l=0;do{var m=P(a.memory,b),q=a.memory.K(b+4),w=a.memory.L(b+7)&128;q||(q=65536);a.buffer.set(g+l,a.memory.ma.subarray(m,m+q),function(){h++;h===d&&(this.status=80,this.M(),this.ia&=-4,this.ia|=4)}.bind(a));l+=q;b+=8;d++}while(!w);h===d&&(a.status=80,a.M(),a.ia&=-4,a.ia|=4);ce(a,e)}}
function Xd(a){return((a.aa&255|a.sa<<8&65280)*a.N+a.head)*a.U+(a.G&255)-1}function Wd(a){return a.G&255|a.aa<<8&65280|a.sa<<16&16711680|a.head<<24}function Yd(a){return(a.G&255|a.aa<<8&65280|a.sa<<16&16711680|a.G>>8<<24&4278190080)>>>0}
function $d(a){a.ha=0;a.cd&16?a.V=new Uint8Array(0):(a.V=new Uint8Array(512),a.V.set([64,a.ca?133:0,a.I,a.I>>8,0,0,a.N,a.N>>8,0,0,0,0,a.U,a.U>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.I,a.I>>8,a.N,a.N>>8,a.U,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255,0,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255,0,0,0,4,
0,0,30,0,30,0,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255]),16383<a.I&&(a.V[2]=a.V[108]=255,a.V[3]=a.V[109]=63))}n.zf=function(){return this.mc};n.Df=function(a){this.mc=a};n.Cf=function(){return this.ia};n.ve=function(a){this.ia&=~a};n.Af=function(){return 1|this.ia<<16};n.Bf=function(){return 1};n.Ef=function(a){a&1&&this.M();this.ve(a>>16&255)};
n.Ff=function(a){a&1&&this.M()};function ee(a){a.va.Me=!0;a.B.send("ide-read-start")}function fe(a,b){a.va.Me=!1;var e=b/a.r|0;a.va.af+=e;a.va.qe+=b;a.B.send("ide-read-end",[a.Kb,b,e])}function ce(a,b){var e=b/a.r|0;a.va.bf+=e;a.va.re+=b;a.B.send("ide-write-end",[a.Kb,b,e])};function rd(a){this.Za=new Uint8Array(4);this.lc=new Uint8Array(4);this.jc=new Uint8Array(4);this.kc=new Uint8Array(4);new Int32Array(this.Za.buffer);this.Yf=new Int32Array(this.lc.buffer);this.Se=new Int32Array(this.jc.buffer);this.Te=new Int32Array(this.kc.buffer);this.ce=Array(65536);this.pe=Array(65536);a.q.od(3324,this,function(b){this.lc[0]=b},function(b){this.lc[1]=b},function(b){this.lc[2]=b},function(b){this.lc[3]=b;var e=this.Za[2]<<8|this.Za[1];b=this.Za[0]&252;var g=this.ce[e],e=this.pe[e];
if(g&&16<=b&&40>b){var d=this.Yf[0],h=b-16>>2,l=e.Fc[h];g[b>>2]=l?-1===(d|3)?~(l.size-1):e.se[h]:0}});a.q.$e(3324,this,function(){return this.jc[0]},function(){return this.jc[1]},function(){return this.jc[2]},function(){return this.jc[3]});a.q.$e(3320,this,function(){return this.kc[0]},function(){return this.kc[1]},function(){return this.kc[2]},function(){return this.kc[3]});a.q.od(3320,this,function(b){this.Za[0]=b},function(b){this.Za[1]=b},function(b){this.Za[2]=b},function(b){this.Za[3]=b;b=this.Za[0]&
252;var e=this.ce[this.Za[2]<<8|this.Za[1]];void 0!==e?(this.Te[0]=-2147483648,this.Se[0]=b<e.byteLength?e[b>>2]:-1):(this.Se[0]=-1,this.Te[0]=0)});Td(this,{ic:0,Gc:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Fc:[]});Td(this,{ic:8,Gc:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Fc:[]})}
rd.prototype.za=function(){var a=[];a[0]=this.Za;a[1]=this.lc;a[2]=this.jc;a[3]=this.kc;return a};rd.prototype.La=function(a){this.Za.set(a[0]);this.lc.set(a[1]);this.jc.set(a[2]);this.kc.set(a[3])};function Td(a,b){var e=b.ic,g=new Int32Array((new Uint8Array(b.Gc)).buffer);a.ce[e]=g;a.pe[e]=b;b.se=new Int32Array(6);b.se.set(g.subarray(4,10))};function xd(a,b){this.q=a.q;this.o=a;this.wc=a.c.wc;this.f=0;this.Y=new Uint8Array(10);this.ca=0;this.r=null;this.c=new Uint8Array(10);this.G=this.D=this.m=0;this.xa=b;this.U=this.I=this.ta=this.ab=this.$a=this.Ka=0;this.oa=1;this.k=0;if(b){this.G=b.byteLength;var e,g,d;if((e={160:{type:1,rb:40,pb:8,mb:1},180:{type:1,rb:40,pb:9,mb:1},200:{type:1,rb:40,pb:10,mb:1},320:{type:1,rb:40,pb:8,mb:2},360:{type:1,rb:40,pb:9,mb:2},400:{type:1,rb:40,pb:10,mb:2},720:{type:3,rb:80,pb:9,mb:2},1200:{type:2,rb:80,
pb:15,mb:2},1440:{type:4,rb:80,pb:18,mb:2},1722:{type:5,rb:82,pb:21,mb:2},2880:{type:5,rb:80,pb:36,mb:2}}[this.G>>10])&&0===(this.G&1023))a.c.Pa.Qa[16]=e.type<<4,g=e.pb,d=e.mb,e=e.rb;else throw"Unknown floppy size: "+Qd(b.byteLength);this.N=g;this.X=d;this.Ja=e;Y(this.q,1008,this,this.vg);Y(this.q,1010,this,this.wg);Y(this.q,1012,this,this.yg);Y(this.q,1013,this,this.zg);Y(this.q,1015,this,this.Bg);Z(this.q,1010,this,this.xg);Z(this.q,1013,this,this.Ag)}else a.c.Pa.Qa[16]=64}n=xd.prototype;
n.za=function(){var a=[];a[0]=this.f;a[1]=this.Y;a[2]=this.ca;a[4]=this.c;a[5]=this.m;a[6]=this.D;a[7]=this.G;a[8]=this.Ka;a[9]=this.$a;a[10]=this.ab;a[11]=this.ta;a[12]=this.I;a[13]=this.U;a[14]=this.oa;a[15]=this.k;a[16]=this.N;a[17]=this.X;a[18]=this.Ja;return a};
n.La=function(a){this.f=a[0];this.Y=a[1];this.ca=a[2];this.r=a[3];this.c=a[4];this.m=a[5];this.D=a[6];this.G=a[7];this.Ka=a[8];this.$a=a[9];this.ab=a[10];this.ta=a[11];this.I=a[12];this.U=a[13];this.oa=a[14];this.k=a[15];this.N=a[16];this.X=a[17];this.Ja=a[18]};n.vg=function(){return 0};n.yg=function(){var a=128;this.m<this.D&&(a|=80);0===(this.k&8)&&(a|=32);return a};n.Bg=function(){return 0};n.zg=function(){return this.m<this.D?this.c[this.m++]:255};
n.Ag=function(a){if(0<this.f)this.Y[this.ca++]=a,this.f--,0===this.f&&this.r.call(this,this.Y);else{switch(a){case 3:this.r=this.Lf;this.f=2;break;case 4:this.r=this.tf;this.f=1;break;case 5:case 197:this.r=function(b){ie(this,!0,b)};this.f=8;break;case 230:this.r=function(b){ie(this,!1,b)};this.f=8;break;case 7:this.r=this.sf;this.f=1;break;case 8:this.m=0;this.D=2;this.c[0]=32;this.c[1]=this.I;break;case 74:this.r=this.Rg;this.f=1;break;case 15:this.f=2;this.r=this.gf;break;case 14:this.c[0]=128,
this.m=0,this.D=1,this.f=0}this.ca=0}};n.wg=function(){return this.k};n.xg=function(a){4===(a&4)&&0===(this.k&4)&&this.o.Ya(6);this.k=a};n.tf=function(){this.m=0;this.D=1;this.c[0]=32};n.gf=function(a){this.I=a[1];this.U=a[0]>>2&1;this.k&8&&this.o.Ya(6)};n.sf=function(){this.k&8&&this.o.Ya(6)};function ie(a,b,e){var g=e[2],d=e[1],h=e[3],l=128<<e[4],m=e[5]-e[3]+1,q=((g+a.X*d)*a.N+h-1)*l;b?a.wc.de(a.xa,q,m*l,2,a.Pb.bind(a,e,d,g,h)):je(a.wc,a.xa,q,a.Pb.bind(a,e,d,g,h))}
n.Pb=function(a,b,e,g,d){d||(g++,g>this.N&&(g=1,e++,e>=this.X&&(e=0,a++)),this.I=a,this.U=e,this.oa=g,this.m=0,this.D=7,this.c[0]=e<<2|32,this.c[1]=0,this.c[2]=0,this.c[3]=a,this.c[4]=e,this.c[5]=g,this.c[6]=b[4],this.k&8&&this.o.Ya(6))};n.Lf=function(){};n.Rg=function(){this.m=0;this.D=7;this.c[0]=0;this.c[1]=0;this.c[2]=0;this.c[3]=0;this.c[4]=0;this.c[5]=0;this.c[6]=0;this.k&8&&this.o.Ya(6)};function ld(a){this.size=a;this.c=new Uint8Array(32768);this.f=[];this.k=[];this.m=[];this.r=[];this.buffer=new ArrayBuffer(a);this.ma=new Uint8Array(this.buffer);this.D=new Uint16Array(this.buffer);this.wb=new Int32Array(this.buffer)}n=ld.prototype;n.za=function(){return[this.size,this.buffer]};n.La=function(a){this.size=a[0];this.buffer=a[1];this.ma=new Uint8Array(this.buffer);this.D=new Uint16Array(this.buffer);this.wb=new Int32Array(this.buffer)};
function ke(a,b){var e=a.f[b>>>17];return e(b)|e(b+1|0)<<8}function le(a,b,e){a=a.k[b>>>17];a(b,e&255);a(b+1|0,e>>8&255)}n.L=function(a){return this.c[a>>>17]?this.f[a>>>17](a):this.ma[a]};n.K=function(a){return this.c[a>>>17]?ke(this,a):this.ma[a]|this.ma[a+1|0]<<8};function Xb(a,b){return a.c[b>>>16]?ke(a,b<<1):a.D[b]}function P(a,b){return a.c[b>>>17]?a.m[b>>>17](b):a.ma[b]|a.ma[b+1|0]<<8|a.ma[b+2|0]<<16|a.ma[b+3|0]<<24}
function $b(a,b){var e;a.c[b>>>15]?(e=b<<2,e=a.m[e>>>17](e)):e=a.wb[b];return e}n.R=function(a,b){if(this.c[a>>>17])this.k[a>>>17](a,b);else this.ma[a]=b};n.fa=function(a,b){this.c[a>>>17]?le(this,a,b):(this.ma[a]=b,this.ma[a+1|0]=b>>8)};function Lb(a,b,e){a.c[b>>>16]?le(a,b<<1,e):a.D[b]=e}n.ga=function(a,b){if(this.c[a>>>17])this.r[a>>>17](a,b);else this.ma[a]=b,this.ma[a+1|0]=b>>8,this.ma[a+2|0]=b>>16,this.ma[a+3|0]=b>>24};function Ob(a,b,e){a.c[b>>>15]?(b=b<<2,a.r[b>>>17](b,e)):a.wb[b]=e};function sd(a){this.memory=a.memory;this.c=new Int32Array(4);this.f=new Int32Array(4);this.k=0;a=a.q;Z(a,4,this,this.We.bind(this,4));Z(a,5,this,this.We.bind(this,5));Z(a,10,this,this.Hg);Z(a,11,this,this.Ig);Z(a,12,this,this.Jg);Z(a,129,this,this.Gg)}n=sd.prototype;n.za=function(){return[this.c,this.f,this.k]};n.La=function(a){this.c=a[0];this.f=a[1];this.k=a[2]};n.We=function(a,b){if(8>a){var e=a>>1;a&1?this.f[e]=me(this,this.f[e],b):this.c[e]=me(this,this.c[e],b)}};n.Hg=function(){};n.Ig=function(){};
n.Jg=function(){this.k=0};n.Gg=function(a){this.c[2]=this.c[2]&65535|a<<16};function je(a,b,e,g){var d=a.f[2]+1,h=a.c[2];if(e+d>b.byteLength)g(!0);else{var l=a.memory;a.c[2]+=d;b.get(e,d,function(m){l.ma.set(m,h);g(!1)})}}n.de=function(a,b,e,g,d){e=this.f[g];var h=this.c[g];b+e>a.byteLength?d(!0):(this.c[g]+=e,a.set(b,new Uint8Array(this.memory.buffer,h,e+1),function(){d(!1)}))};function me(a,b,e){a.k^=1;return a.k?b&-256|e:b&-65281|e<<8};function zd(a){this.o=a;this.I=Date.now();this.f=new Uint8Array(4);this.k=new Uint8Array(4);this.D=new Uint8Array(4);this.G=new Uint8Array(4);this.m=new Uint8Array(4);this.r=new Uint16Array(3);this.kb=new Uint16Array(3);this.c=new Uint16Array(3);this.Cd=0;Y(a.q,97,this,function(){var b=Ca();return(66.66666666666667*b&1)<<4|(b-this.Cd>=this.kb[2]/1193.1816666)<<5});Y(a.q,64,this,function(){return ne(this,0)});Y(a.q,65,this,function(){return ne(this,1)});Y(a.q,66,this,function(){return ne(this,2)});
Z(a.q,64,this,function(b){oe(this,0,b)});Z(a.q,65,this,function(b){oe(this,1,b)});Z(a.q,66,this,function(b){oe(this,2,b)});Z(a.q,67,this,this.N)}zd.prototype.za=function(){var a=[];a[0]=this.f;a[1]=this.k;a[2]=this.D;a[3]=this.G;a[4]=this.m;a[5]=this.r;a[6]=this.kb;a[7]=this.c;a[8]=this.Cd;return a};zd.prototype.La=function(a){this.f=a[0];this.k=a[1];this.D=a[2];this.G=a[3];this.m=a[4];this.r=a[5];this.kb=a[6];this.c=a[7];this.Cd=a[8]};
zd.prototype.qb=function(a,b){var e,g;e=1193.1816666*(a-this.I)>>>0;if(!e)return 0;this.I+=e/1193.1816666;var d=100;if(!b&&this.k[0])if(e=this.c[0]-=e,0>=e)if(d=0,this.o.Ya(0),g=this.D[0],0===g)this.k[0]=0,this.c[0]=0;else{if(3===g||2===g)this.c[0]=this.kb[0]+e%this.kb[0]}else d=e/1193.1816666;return d};function ne(a,b){var e=a.m[b];if(e)return a.m[b]--,2===e?a.r[b]&255:a.r[b]>>8;e=a.f[b];3===a.D[b]&&(a.f[b]^=1);return e?a.c[b]&255:a.c[b]>>8}
function oe(a,b,e){a.kb[b]=a.f[b]?a.kb[b]&-256|e:a.kb[b]&255|e<<8;3===a.G[b]&&a.f[b]||(a.kb[b]||(a.kb[b]=65535),a.c[b]=a.kb[b],a.k[b]=!0);3===a.G[b]&&(a.f[b]^=1)}zd.prototype.N=function(a){var b=a>>1&7,e=a>>6&3;a=a>>4&3;3!==e&&(0===a?(this.m[e]=2,this.r[e]=this.c[e]):(6<=b&&(b&=-5),this.f[e]=1===a?0:1,this.D[e]=b,this.G[e]=a,2===e&&(this.Cd=Ca())))};function td(a,b,e){this.B=b;this.Da=e;this.k=0;this.Qc=14;this.Pc=15;this.Y=80;this.ab=25;this.m=this.zd=this.Vc=0;this.cc=!0;this.tb=!1;this.Cb=new Int32Array(256);this.ca=this.r=this.X=this.U=this.N=this.I=0;this.Mc=80;this.Yb=!1;this.Jb=32;this.Vd=this.ta=0;this.Gc=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.ic=144;this.Fc=[];Td(a.c.Ec,this);this.va={He:!1,Ug:0,Vg:0,rf:0};this.xa=this.Ja=this.G=
0;this.D=-1;this.wd=new Uint8Array(16);this.Kb=-1;this.f=15;this.Ad=0;this.$a=-1;this.Sc=this.Rc=this.Tc=0;this.c=255;this.xd=0;this.Uc=this.yd=255;a=a.q;Z(a,960,this,this.cg);Y(a,960,this,this.Ue,this.bg);Y(a,961,this,this.Ve);Z(a,962,this,this.dg);a.od(964,this,this.fg,this.hg);Y(a,964,this,this.eg);Y(a,965,this,this.gg);a.od(974,this,this.og,this.qg);Y(a,974,this,this.ng);Y(a,975,this,this.pg);Z(a,967,this,this.ig);Z(a,968,this,this.jg);Z(a,969,this,this.lg);Y(a,969,this,this.kg);Y(a,972,this,
this.mg);a.od(980,this,this.rg,this.tg);Y(a,981,this,this.sg);Y(a,986,this,this.ug);this.Ka=-1;this.oa=0;Z(a,462,this,void 0,this.Zf);Z(a,463,this,void 0,this.ag);Y(a,463,this,void 0,this.$f);void 0===this.Da||262144>this.Da?this.Da=262144:this.Da&65535&&(this.Da|=65535,this.Da++);this.ka=new Uint8Array(this.Da);this.Fa=this.Da;this.Ea=0;this.be=void 0;b.register("screen-tell-buffer",function(d){this.be=d[0]},this);b.register("screen-fill-buffer",function(){if(this.tb&&this.be&&!(this.Ea<this.Fa)){var d=
0,h=0;this.Yb?d=this.Jb:this.cc?d=8:(d=8,h=262144);var l=this.be,m=this.Fa,q=this.Ea;switch(d){case 32:for(var w=m>>2,C=(q>>2)+1,d=w;d<C;d++)q=this.cf[d],l[d]=q<<16|q>>16&255|q&65280|4278190080;break;case 24:for(var w=m/3|0,C=(q/3|0)+1,z=3*w,d=w;z<q;d++){var L=this.ka[z++],h=this.ka[z++],m=this.ka[z++];l[d]=L<<16|h<<8|m|4278190080}break;case 16:w=m>>1;C=(q>>1)+1;for(d=w;d<C;d++)q=this.bh[d],m=255*(q>>11)/31|0,h=255*(q>>5&63)/63|0,L=255*(q&31)/31|0,l[d]=L<<16|h<<8|m|4278190080;break;case 8:for(w=m-
h,C=q-h+1,d=m;d<q;d++)m=this.Cb[this.ka[d]],l[d-h]=m&65280|m<<16|m>>16|4278190080}this.Fa=this.Da;this.Ea=0;this.B.send("screen-fill-buffer-end",[w,C])}},this);this.bh=new Uint16Array(this.ka.buffer);this.cf=new Int32Array(this.ka.buffer);this.Oc=new Uint8Array(this.ka.buffer,0,262144);this.Rd=new Uint8Array(this.ka.buffer,0,65536);this.Sd=new Uint8Array(this.ka.buffer,65536,65536);this.Td=new Uint8Array(this.ka.buffer,131072,65536);this.Ud=new Uint8Array(this.ka.buffer,196608,65536);var g=this;Cd(a,
655360,131072,function(d){d-=655360;!g.tb||g.cc?(d|=g.ta,d=g.ka[d]):(d&=65535,g.I=g.Rd[d],g.N=g.Sd[d],g.U=g.Td[d],g.X=g.Ud[d],d=g.Oc[g.Tc<<16|d]);return d},function(d,h){var l;l=d-655360;if(g.tb)if(g.cc){var m=l,m=m|g.ta;g.Fa=m<g.Fa?m:g.Fa;g.Ea=m>g.Ea?m:g.Ea;g.ka[m]=h}else{if(!(65535<l)){var q,w,C,z=g.Rc&3;0===z?m=q=w=C=h:2===z&&(g.f&1&&(m=g.I&~g.c|(h&1?255:0)&g.c),g.f&2&&(q=g.N&~g.c|(h&2?255:0)&g.c),g.f&4&&(w=g.U&~g.c|(h&4?255:0)&g.c),g.f&8&&(C=g.X&~g.c|(h&8?255:0)&g.c));if(0===z||2===z){switch(g.Sc&
24){case 8:m&=g.I;q&=g.N;w&=g.U;C&=g.X;break;case 16:m|=g.I;q|=g.N;w|=g.U;C|=g.X;break;case 24:m^=g.I,q^=g.N,w^=g.U,C^=g.X}g.f&1&&(m=g.I&~g.c|m&g.c);g.f&2&&(q=g.N&~g.c|q&g.c);g.f&4&&(w=g.U&~g.c|w&g.c);g.f&8&&(C=g.X&~g.c|C&g.c)}else 1===z&&(m=g.I,q=g.N,w=g.U,C=g.X);g.f&1?g.Rd[l]=m:m=g.Rd[l];g.f&2?g.Sd[l]=q:q=g.Sd[l];g.f&4?g.Td[l]=w:w=g.Td[l];g.f&8?g.Ud[l]=C:C=g.Ud[l];if(!(l>=g.Vc*g.zd<<3))for(q<<=1,w<<=2,C<<=3,l=l<<3|7,z=l+262144,g.Fa=z-7<g.Fa?z-7:g.Fa,g.Ea=z>g.Ea?z:g.Ea,z=0;8>z;z++)g.ka[l+262144]=
g.wd[m>>z&1|q>>z&2|w>>z&4|C>>z&8],l--}}else m=l,98304>m||(w=(m-98304>>1)-g.m,q=w/g.Y|0,w%=g.Y,m&1?(l=h,C=g.Oc[m&-2]):(C=h,l=g.Oc[m|1]),g.B.send("screen-put-char",[q,w,C,g.Cb[l>>4&15],g.Cb[l&15]]),g.Oc[m]=h)});Cd(a,3758096384,this.Da,function(d){return g.ka[d&268435455]},function(d,h){var l;l=d&268435455;g.ka[l]=h;g.Fa=l<g.Fa?l:g.Fa;g.Ea=l>g.Ea?l:g.Ea},function(d){d&=268435455;return d&3?g.ka[d]|g.ka[d+1]<<8|g.ka[d+2]<<16|g.ka[d+3]<<24:g.cf[d>>2]},function(d,h){var l;l=d&268435455;g.Fa=l<g.Fa?l:g.Fa;
g.Ea=l+3>g.Ea?l+3:g.Ea;g.ka[l]=h;g.ka[l+1]=h>>8;g.ka[l+2]=h>>16;g.ka[l+3]=h>>24})}n=td.prototype;
n.za=function(){var a=[];a[0]=this.Da;a[1]=this.k;a[2]=this.Qc;a[3]=this.Pc;a[4]=this.Y;a[5]=this.ab;a[6]=this.Vc;a[7]=this.zd;a[8]=this.m;a[9]=this.tb;a[10]=this.Cb;a[11]=this.I;a[12]=this.N;a[13]=this.U;a[14]=this.X;a[15]=this.r;a[16]=this.ca;a[17]=this.Mc;a[18]=this.Yb;a[19]=this.Jb;a[20]=this.ta;a[21]=this.Vd;a[22]=this.G;a[23]=this.Ja;a[24]=this.xa;a[25]=this.wd;a[26]=this.Kb;a[27]=this.f;a[28]=this.Ad;a[29]=this.$a;a[30]=this.Tc;a[31]=this.Rc;a[32]=this.Sc;a[33]=this.c;a[34]=this.xd;a[35]=this.yd;
a[36]=this.Uc;a[37]=this.Ka;a[38]=this.oa;a[39]=this.ka;return a};
n.La=function(a){this.Da=a[0];this.k=a[1];this.Qc=a[2];this.Pc=a[3];this.Y=a[4];this.ab=a[5];this.Vc=a[6];this.zd=a[7];this.m=a[8];this.tb=a[9];this.Cb=a[10];this.I=a[11];this.N=a[12];this.U=a[13];this.X=a[14];this.r=a[15];this.ca=a[16];this.Mc=a[17];this.Yb=a[18];this.Jb=a[19];this.ta=a[20];this.Vd=a[21];this.G=a[22];this.Ja=a[23];this.xa=a[24];this.wd=a[25];this.Kb=a[26];this.f=a[27];this.Ad=a[28];this.$a=a[29];this.Tc=a[30];this.Rc=a[31];this.Sc=a[32];this.c=a[33];this.xd=a[34];this.yd=a[35];this.Uc=
a[36];this.Ka=a[37];this.oa=a[38];this.ka.set(a[39]);this.B.send("screen-set-mode",this.tb);this.tb?this.qd(this.r,this.ca,this.Jb):(this.pc(this.Y,this.ab),this.vd(),this.ud());pe(this)};n.ud=function(){var a=(this.k-this.m)/this.Y|0,b=(this.k-this.m)%this.Y,a=Math.min(this.ab-1,a);this.B.send("screen-update-cursor",[a,b])};
function pe(a){if(a.tb)a.Fa=a.Da,a.Ea=0;else for(var b=98304|a.m<<1,e,g,d=0;d<a.ab;d++)for(var h=0;h<a.Y;h++)e=a.Oc[b],g=a.Oc[b|1],a.B.send("screen-put-char",[d,h,e,a.Cb[g>>4&15],a.Cb[g&15]]),b+=2}n.lb=function(){};n.pc=function(a,b){this.Y=a;this.ab=b;this.B.send("screen-set-size-text",[a,b])};n.qd=function(a,b,e){this.Vc=a;this.zd=b;this.va.rf=e;this.va.He=!0;this.va.Ug=a;this.va.Vg=b;this.B.send("screen-set-size-graphical",[a,b,e])};
n.vd=function(){this.B.send("screen-update-cursor-scanline",[this.Qc,this.Pc])};function qe(a,b){var e=!1,g=0,d=0;switch(b){case 3:a.pc(a.Mc,25);break;case 16:g=640;d=350;e=!0;a.cc=!1;break;case 18:g=640;d=480;e=!0;a.cc=!1;break;case 19:g=320,d=200,e=!0,a.cc=!0}a.B.send("screen-set-mode",e);(a.va.He=e)&&a.qd(g,d,8);a.tb=e}n.cg=function(a){-1===this.D?this.D=a:(16>this.D&&(this.wd[this.D]=a),this.D=-1)};n.Ue=function(){var a=this.D;this.D=-1;return a};
n.bg=function(){return this.Ue()&255|this.Ve()<<8&65280};n.Ve=function(){return this.D=-1};n.dg=function(a){this.yd=a;103===a?qe(this,3):227===a?qe(this,18):99===a?qe(this,19):163===a?qe(this,16):qe(this,3)};n.fg=function(a){this.Kb=a};n.eg=function(){return this.Kb};n.hg=function(a){switch(this.Kb){case 2:this.f=a;break;case 4:this.Ad=a}};n.gg=function(){switch(this.Kb){case 2:return this.f;case 4:return this.Ad;case 6:return 18}return 0};n.ig=function(a){this.xa=3*a};
n.jg=function(a){this.Ja=3*a};n.lg=function(a){var b=this.Ja/3|0,e=this.Ja%3,g=this.Cb[b];a=255*a/63&255;this.Cb[b]=0===e?g&-16711681|a<<16:1===e?g&-65281|a<<8:g&-256|a;this.Ja++};n.kg=function(){var a=this.xa%3,b=this.Cb[this.xa/3|0];this.xa++;return(b>>8*(2-a)&255)/255*63|0};n.mg=function(){return this.yd};n.og=function(a){this.$a=a};n.ng=function(){return this.$a};n.qg=function(a){switch(this.$a){case 3:this.Sc=a;break;case 4:this.Tc=a;break;case 5:this.Rc=a;break;case 8:this.c=a}};
n.pg=function(){switch(this.$a){case 3:return this.Sc;case 4:return this.Tc;case 5:return this.Rc;case 8:return this.c}return 0};n.rg=function(a){this.G=a};
n.tg=function(a){switch(this.G){case 2:this.Mc=a;break;case 9:this.xd=a;7===(a&31)?this.pc(this.Mc,50):this.pc(this.Mc,25);break;case 10:this.Qc=a;this.vd();break;case 11:this.Pc=a;this.vd();break;case 12:this.m=this.m&255|a<<8;pe(this);break;case 13:this.m=this.m&65280|a;pe(this);break;case 14:this.k=this.k&255|a<<8;this.ud();break;case 15:this.k=this.k&65280|a,this.ud()}};
n.sg=function(){return 9===this.G?this.xd:10===this.G?this.Qc:11===this.G?this.Pc:14===this.G?this.k>>8:15===this.G?this.k&255:0};n.ug=function(){this.Uc^=8;this.D=-1;return this.Uc};n.Zf=function(a){this.Ka=a};
n.ag=function(a){switch(this.Ka){case 1:this.r=a;2560<this.r&&(this.r=2560);break;case 2:this.ca=a;1600<this.ca&&(this.ca=1600);break;case 3:this.Jb=a;break;case 4:this.Yb=1===(a&1);this.oa=a;break;case 5:this.ta=a<<16;break;case 9:this.Vd=this.r*(15===this.Jb?16:this.Jb)/8*a,pe(this)}!this.Yb||this.r&&this.ca||(this.Yb=!1);this.Yb&&4===this.Ka&&(this.qd(this.r,this.ca,this.Jb),this.B.send("screen-set-mode",!0),this.cc=this.tb=!0);this.Yb||(this.ta=0)};n.$f=function(){return re(this,this.Ka)};
function re(a,b){switch(b){case 0:return 45248;case 1:return a.oa&2?2560:a.r;case 2:return a.oa&2?1600:a.ca;case 3:return a.oa&2?32:a.Jb;case 4:return a.oa;case 5:return a.ta>>>16;case 6:return a.Vc;case 8:return 0;case 10:return a.Da/65536|0}return 255};function vd(a,b){this.o=a;this.B=b;this.Zb=this.Qb=!1;this.gd=!0;this.hc=this.yb=this.xb=0;this.ca=!0;this.N=this.I=this.r=this.G=this.U=this.D=this.dd=!1;this.ea=new Sd(32);this.m=0;this.oc=100;this.Jc=4;this.k=!1;this.Ke=-1;this.c=new Sd(32);this.B.register("keyboard-code",function(e){this.dd&&(this.ea.push(e),se(this))},this);this.B.register("mouse-click",function(e){this.gd&&this.Zb&&(this.hc=e[0]|e[2]<<1|e[1]<<2,this.Qb&&te(this,0,0))},this);this.B.register("mouse-delta",function(e){var g=e[1];
if(this.gd&&this.Zb){var d=this.Jc*this.oc/80;this.xb+=e[0]*d;this.yb+=g*d;this.Qb&&(e=this.xb|0,g=this.yb|0,!e&&!g||Date.now()-this.Ke<1E3/this.oc||(this.xb-=e,this.yb-=g,te(this,e,g)))}},this);this.B.register("mouse-wheel",function(){},this);this.f=5;this.X=this.Y=!1;Y(a.q,96,this,this.Cg);Y(a.q,100,this,this.Eg);Z(a.q,96,this,this.Dg);Z(a.q,100,this,this.Fg)}n=vd.prototype;
n.za=function(){var a=[];a[0]=this.Qb;a[1]=this.Zb;a[2]=this.gd;a[3]=this.xb;a[4]=this.yb;a[5]=this.hc;a[6]=this.ca;a[7]=this.dd;a[8]=this.D;a[9]=this.U;a[10]=this.G;a[11]=this.r;a[12]=this.I;a[13]=this.N;a[15]=this.m;a[16]=this.oc;a[17]=this.Jc;a[18]=this.k;a[20]=this.f;a[21]=this.Y;a[22]=this.X;return a};
n.La=function(a){this.Qb=a[0];this.Zb=a[1];this.gd=a[2];this.xb=a[3];this.yb=a[4];this.hc=a[5];this.ca=a[6];this.dd=a[7];this.D=a[8];this.U=a[9];this.G=a[10];this.r=a[11];this.I=a[12];this.N=a[13];this.m=a[15];this.oc=a[16];this.Jc=a[17];this.k=a[18];this.f=a[20];this.Y=a[21];this.X=a[22];this.B.send("mouse-enable",this.Zb)};function ue(a){a.f&2&&a.o.Ya(12)}function se(a){a.f&1&&a.o.Ya(1)}
function te(a,b,e){var g=(0>e)<<5|(0>b)<<4|8|a.hc;a.Ke=Date.now();a.k&&(b=ve(b),e=ve(e));a.c.push(g);a.c.push(b);a.c.push(e);ue(a)}function ve(a){var b=a>>31;switch(Math.abs(a)){case 0:case 1:case 3:return a;case 2:return b;case 4:return 6*b;case 5:return 9*b;default:return a<<1}}n.lb=function(){};
n.Cg=function(){if(!this.ea.length&&!this.c.length)return this.m;(this.ea.length&&this.c.length?0:!this.ea.length)?(this.m=this.c.shift(),1<=this.c.length&&ue(this)):(this.m=this.ea.shift(),1<=this.ea.length&&se(this));return this.m};n.Eg=function(){var a=16;if(this.c.length||this.ea.length)a|=1;this.c.length&&(a|=32);return a};
n.Dg=function(a){if(this.X)se(this),this.f=a,this.X=!1;else if(this.Y)this.Y=!1,this.c.clear(),this.c.push(a),ue(this);else if(this.U)this.U=!1,this.c.clear(),this.c.push(250),this.oc=a,ue(this);else if(this.N)this.N=!1,this.c.clear(),this.c.push(250),this.Jc=3<a?4:1<<a,ue(this);else if(this.G)this.G=!1,this.ea.push(250),se(this);else if(this.r)this.r=!1,this.ea.push(250),se(this),a||this.ea.push(2);else if(this.I)this.I=!1,this.ea.push(250),se(this);else if(this.D){if(this.D=!1,this.gd){this.ea.clear();
this.c.clear();this.c.push(250);switch(a){case 230:this.k=!1;break;case 231:this.k=!0;break;case 232:this.N=!0;break;case 233:te(this,0,0);break;case 242:this.c.push(0);this.c.push(0);this.hc=this.xb=this.yb=0;break;case 243:this.U=!0;break;case 244:this.Zb=this.Qb=!0;this.B.send("mouse-enable",!0);this.hc=this.xb=this.yb=0;break;case 245:this.Qb=!1;break;case 246:this.Qb=!1;this.oc=100;this.k=!1;this.Jc=4;break;case 255:this.c.push(170),this.c.push(0),this.Zb=!0,this.B.send("mouse-enable",!0),this.Qb=
!1,this.oc=100,this.k=!1,this.Jc=4,this.hc=this.xb=this.yb=0}ue(this)}}else{this.c.clear();this.ea.clear();this.ea.push(250);switch(a){case 237:this.G=!0;break;case 240:this.r=!0;break;case 242:this.ea.push(171);this.ea.push(83);break;case 243:this.I=!0;break;case 244:this.dd=!0;break;case 245:this.dd=!1;break;case 255:this.ea.clear(),this.ea.push(250),this.ea.push(170),this.ea.push(0)}se(this)}};
n.Fg=function(a){switch(a){case 32:this.ea.clear();this.c.clear();this.ea.push(this.f);break;case 96:this.X=!0;break;case 211:this.Y=!0;break;case 212:this.D=!0;break;case 167:this.f|=32;break;case 168:this.f&=-33;break;case 169:this.ea.clear();this.c.clear();this.ea.push(0);break;case 170:this.ea.clear();this.c.clear();this.ea.push(85);break;case 171:this.ea.clear();this.c.clear();this.ea.push(0);break;case 173:this.f|=16;break;case 174:this.f&=-17;break;case 254:throw a=this.o,a.reset(),nd(a),233495534;
}};function od(a,b){this.Sa=this.W=this.hd=this.Ac=0;this.f=void 0===b;this.c=void 0;this.ed=!1;this.state=0;this.Zc=this.Kd=1;this.f?(this.c=new od(a,this),this.$c=function(){var g=this.Sa&this.Ac;if(!g)return this.c.$c();g&=-g;if(this.W&&(this.W&-this.W)<=g)return!1;var d=Ld(g),g=1<<d;this.Sa&=~g;if(4===g)return this.c.$c();this.Zc||(this.W|=g);a.da=a.l;Ec(a,this.hd|d,!1,!1);return!0}):this.$c=function(){var g=this.Sa&this.Ac;if(!g)return!1;g&=-g;if(this.W&&(this.W&-this.W)<=g)return!1;var d=Ld(g),
g=1<<d;this.Sa&=~g;this.W|=g;a.da=a.l;Ec(a,this.hd|d,!1,!1);this.Sa&&b.Jd(2);this.Zc||(this.W&=~g);return!0};this.k=function(){this.f&&this.c.k()};var e;e=this.f?32:160;Z(a.q,e,this,function(g){if(g&16)this.ed=g&1,this.state=1;else if(g&8)this.Kd=g&1;else{var d=g>>5;1===d?this.W&=this.W-1:3===d&&(this.W&=~(1<<(g&7)))}});Y(a.q,e,this,function(){return this.Kd?this.Sa:this.W});Z(a.q,e|1,this,function(g){0===this.state?this.ed?(this.ed=!1,this.Zc=g&2):this.Ac=~g:1===this.state?(this.hd=g,this.state++):
2===this.state&&(this.state=0)});Y(a.q,e|1,this,function(){return~this.Ac&255});this.Jd=this.f?function(g){8<=g&&(this.c.Jd(g-8),g=2);this.Sa|=1<<g;zc(a)}:function(g){this.Sa|=1<<g}}od.prototype.za=function(){var a=[];a[0]=this.Ac;a[1]=this.hd;a[2]=this.W;a[3]=this.Sa;a[4]=this.f;a[5]=this.c;a[6]=this.ed;a[7]=this.state;a[8]=this.Kd;a[9]=this.Zc;return a};
od.prototype.La=function(a){this.Ac=a[0];this.hd=a[1];this.W=a[2];this.Sa=a[3];this.f=a[4];this.c=a[5];this.ed=a[6];this.state=a[7];this.Kd=a[8];this.Zc=a[9]};function pd(a){this.o=a;this.vc=0;this.Qa=new Uint8Array(256);this.I=this.c=Date.now();this.f=0;this.D=!0;this.N=!1;this.G=.9765625;this.r=38;this.k=2;this.me=this.m=0;Z(a.q,112,this,function(b){this.vc=b&127;this.me=b>>7});Z(a.q,113,this,this.vf);Y(a.q,113,this,this.uf)}n=pd.prototype;n.za=function(){var a=[];a[0]=this.vc;a[1]=this.Qa;a[2]=this.c;a[3]=this.I;a[4]=this.f;a[5]=this.D;a[6]=this.N;a[7]=this.G;a[8]=this.r;a[9]=this.k;a[10]=this.m;a[11]=this.me;return a};
n.La=function(a){this.vc=a[0];this.Qa=a[1];this.c=a[2];this.I=a[3];this.f=a[4];this.D=a[5];this.N=a[6];this.G=a[7];this.r=a[8];this.k=a[9];this.m=a[10];this.me=a[11]};n.qb=function(a){this.c+=a-this.I;this.I=a;return this.N&&this.D&&this.f<a?(this.D=!1,this.o.Ya(8),this.m|=192,this.f+=this.G*Math.ceil((a-this.f)/this.G),Math.max(0,a-this.f)):100};function we(a,b){var e;if(a.k&4)e=b;else{e=b;for(var g=0,d=0,h;e;)h=e%10,d|=h<<4*g,g++,e=(e-h)/10;e=d}return e}
n.uf=function(){switch(this.vc){case 0:return we(this,(new Date(this.c)).getUTCSeconds());case 2:return we(this,(new Date(this.c)).getUTCMinutes());case 4:return we(this,(new Date(this.c)).getUTCHours());case 7:return we(this,(new Date(this.c)).getUTCDate());case 8:return we(this,(new Date(this.c)).getUTCMonth()+1);case 9:return we(this,(new Date(this.c)).getUTCFullYear()%100);case 10:return this.r;case 11:return this.k;case 12:this.D=!0;var a=this.m;this.m&=-241;return a;case 13:return 255;case 50:return we(this,
(new Date(this.c)).getUTCFullYear()/100|0);default:return this.Qa[this.vc]}};n.vf=function(a){switch(this.vc){case 10:this.r=a&127;this.G=1E3/(32768>>(this.r&15)-1);break;case 11:this.k=a,this.k&64&&(this.f=Date.now())}this.N=64===(this.k&64)&&0<(this.r&15)};function wd(a,b,e){this.B=e;this.o=a;this.Fb=this.fe=this.f=this.Vb=this.Nb=this.fb=0;this.Na=1;this.c=this.Nd=this.le=this.Gd=0;this.input=new Sd(4096);this.ae=[];if(1E3===b||1016===b)this.c=4;else if(1E3===b||1E3===b)this.c=3;else return;this.B.register("serial0-input",function(g){this.input.push(g);this.fb|=4096;this.Fb&1&&xe(this)},this);a=a.q;Z(a,b,this,function(g){if(this.Vb&128)this.Nb=this.Nb&-256|g;else if(ye(this),255!==g){var d=String.fromCharCode(g);this.B.send("serial0-output-char",d);
this.ae.push(g);"\n"===d&&(this.B.send("serial0-output-line",String.fromCharCode.apply("",this.ae)),this.ae=[])}});Z(a,b|1,this,function(g){this.Vb&128?this.Nb=this.Nb&255|g<<8:(this.Fb=g,Ce(this))});Y(a,b,this,function(){if(this.Vb&128)return this.Nb&255;var g=this.input.shift();this.input.length&&xe(this);return g});Y(a,b|1,this,function(){return this.Vb&128?this.Nb>>8:this.Fb});Y(a,b|2,this,function(){var g=this.Na&15|192;2===this.Na?De(this,2):12===this.Na&&De(this,12);return g});Z(a,b|2,this,
function(g){this.fe=g});Y(a,b|3,this,function(){return this.Vb});Z(a,b|3,this,function(g){this.Vb=g});Y(a,b|4,this,function(){return this.Gd});Z(a,b|4,this,function(g){this.Gd=g});Y(a,b|5,this,function(){var g=0;this.input.length&&(g|=1);return g|96});Z(a,b|5,this,function(){});Y(a,b|6,this,function(){return this.le});Z(a,b|6,this,function(){});Y(a,b|7,this,function(){return this.Nd});Z(a,b|7,this,function(g){this.Nd=g})}
wd.prototype.za=function(){var a=[];a[0]=this.fb;a[1]=this.Nb;a[2]=this.Vb;a[3]=this.f;a[4]=this.fe;a[5]=this.Fb;a[6]=this.Na;a[7]=this.Gd;a[8]=this.le;a[9]=this.Nd;a[10]=this.c;return a};wd.prototype.La=function(a){this.fb=a[0];this.Nb=a[1];this.Vb=a[2];this.f=a[3];this.fe=a[4];this.Fb=a[5];this.Na=a[6];this.Gd=a[7];this.le=a[8];this.Nd=a[9];this.c=a[10]};wd.prototype.M=function(){this.o.Ya(this.c)};function De(a,b){a.fb&=~(1<<b);a.Na=1;b===a.Na&&Ce(a)}
function xe(a){a.fb|=4096;a.Fb&1&&6!=a.Na&&4!=a.Na&&(a.Na=12,a.M())}function ye(a){a.fb|=4;a.Fb&2&&(a.Na&1||0==a.Na||2==a.Na)&&(a.Na=2,a.M())}function Ce(a){a.fb&4096&&a.Fb&1?xe(a):a.fb&4&&a.Fb&2?ye(a):a.Na=1};function Ee(a){this.message=a}Ee.prototype=Error();function Fe(a,b){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.BYTES_PER_ELEMENT)return{__state_type__:a.constructor.name,buffer_id:b.push(a.buffer)-1};if(a instanceof ArrayBuffer)return{__state_type__:"ArrayBuffer",buffer_id:b.push(a)-1};for(var e=a.za(),g=[],d=0;d<e.length;d++)g[d]=Fe(e[d],b);return g}
function Ge(a,b,e){if("object"!==typeof b||null===b)return b;if(a instanceof Array)return b;var g=b.__state_type__;if(void 0===g){for(var g=a.za(),d=0;d<b.length;d++)b[d]=Ge(g[d],b[d],e);a.La(b);return a}if("ArrayBuffer"===g)return b=e.Fe[b.buffer_id],a&&a.byteLength===b.length&&(new Uint8Array(a)).set(new Uint8Array(e.ie,b.offset,b.length)),a;g={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array,
Float64Array:Float64Array}[g];b=e.Fe[b.buffer_id];return a&&a.constructor===g&&0===a.byteOffset&&a.byteLength===b.length?((new Uint8Array(a.buffer)).set(new Uint8Array(e.ie,b.offset,b.length),a.byteOffset),a):new g(e.ie.slice(b.offset,b.offset+b.length))}
p.prototype.pd=function(){for(var a=[],b=Fe(this,a),e=[],g=0,d=0;d<a.length;d++){var h=a[d].byteLength;e[d]={offset:g,length:h};g+=h;g=g+3&-4}var b=JSON.stringify({buffer_infos:e,state:b}),d=16+2*b.length,l=d+g,g=new ArrayBuffer(l),m=new Int32Array(g,0,4),h=new Uint16Array(g,16,b.length),q=new Uint8Array(g,d);m[0]=-2039052682;m[1]=1;m[2]=l;m[3]=2*b.length;for(d=0;d<b.length;d++)h[d]=b.charCodeAt(d);for(d=0;d<a.length;d++)q.set(new Uint8Array(a[d]),e[d].offset);return g};
function He(a,b){var e=b.byteLength;if(16>e)throw new Ee("Invalid length: "+e);var g=new Int32Array(b,0,4);if(-2039052682!==g[0])throw new Ee("Invalid header: "+Qd(g[0]>>>0));if(1!==g[1])throw new Ee("Version mismatch: dump="+g[1]+" we=1");if(g[2]!==e)throw new Ee("Length doesn't match header: real="+e+" header="+g[2]);g=g[3];if(0>g||g+12>=e||g%2)throw new Ee("Invalid info block length: "+g);for(var d=g/2,h=new Uint16Array(b,16,d),l="",e=0;e<d-8;)l+=String.fromCharCode(h[e++],h[e++],h[e++],h[e++],
h[e++],h[e++],h[e++],h[e++]);for(;e<d;)l+=String.fromCharCode(h[e++]);e=JSON.parse(l);d=e.state;h=e.buffer_infos;g=16+g;for(e=0;e<h.length;e++)h[e].offset+=g;Ge(a,d,{ie:b,Fe:h})};function Ad(a,b){this.o=a;this.B=b;this.B.register("net0-receive",function(d){if(!(this.s&1)){this.B.send("eth-receive-end",[d.length]);if(60>d.length){var h=d;d=new Uint8Array(60);d.set(h)}var h=this.$b<<8,l=d.length+4,m=h+4,q=this.$b+1+(l>>8);if(h+l>this.memory.length){var w=this.memory.length-m;this.memory.set(d.subarray(0,w),m);this.memory.set(d.subarray(w),76)}else this.memory.set(d,m);q>=this.nc&&(q+=this.Ic-this.nc);this.memory[h]=1;this.memory[h+1]=q;this.memory[h+2]=l;this.memory[h+3]=l>>
8;this.$b=q;Ie(this,1)}},this);this.Gc=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.ic=40;this.Fc=[{size:32}];Td(a.c.Ec,this);this.Fd=this.W=0;this.s=1;this.Pd=this.rc=this.ob=this.ad=0;this.memory=new Uint8Array(32768);for(var e=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0],g=0;6>g;g++)this.memory[g<<1]=this.memory[g<<1|1]=e[g];this.Ua=0;this.Ic=64;this.nc=128;this.Bd=
this.$b=76;e=a.q;Y(e,47104,this,function(){return this.s});Z(e,47104,this,function(d){this.s=d&-5;!(this.s&1)&&d&4&&(d=this.Pd<<8,d=this.memory.subarray(d,d+this.rc),this.B.send("net0-send",d),this.B.send("eth-transmit-end",[d.length]),Ie(this,2),0===this.ob&&Ie(this,64))});Y(e,47117,this,function(){return 0});Y(e,47118,this,function(){return 0});Y(e,47119,this,function(){return 0});Y(e,47135,this,function(){0===(this.s&192)&&Ie(this,128);return 0});Z(e,47135,this,function(){});Z(e,47105,this,function(d){0===
(this.s&192)&&(this.Ic=d)});Z(e,47106,this,function(d){0===(this.s&192)&&(this.nc=d)});Y(e,47111,this,function(){return 0===(this.s&192)?this.W:this.$b});Z(e,47111,this,function(d){0===(this.s&192)?this.W&=~d:this.$b=d});Z(e,47117,this,function(){});Z(e,47118,this,function(d){0===(this.s&192)&&(this.ad=d)});Z(e,47114,this,function(d){0===(this.s&192)&&(this.ob=this.ob&65280|d&255)});Z(e,47115,this,function(d){0===(this.s&192)&&(this.ob=this.ob&255|d<<8&65280)});Z(e,47112,this,function(d){0===(this.s&
192)&&(this.Ua=this.Ua&65280|d&255)});Z(e,47113,this,function(d){0===(this.s&192)&&(this.Ua=this.Ua&255|d<<8&65280)});Z(e,47119,this,function(d){0===(this.s&192)&&(this.Fd=d)});Y(e,47107,this,function(){return 0===(this.s&192)?this.Bd:0});Z(e,47107,this,function(d){0===(this.s&192)&&(this.Bd=d)});Y(e,47108,this,function(){return 0===(this.s&192)?35:0});Z(e,47108,this,function(d){0===(this.s&192)&&(this.Pd=d)});Z(e,47109,this,function(d){0===(this.s&192)&&(this.rc=this.rc&-256|d)});Z(e,47110,this,
function(d){0===(this.s&192)&&(this.rc=this.rc&255|d<<8)});Y(e,47116,this,function(){return 0===(this.s&192)?9:0});Y(e,47120,this,this.te,this.te,this.xf);Z(e,47120,this,this.ue,this.ue,this.yf)}n=Ad.prototype;n.za=function(){var a=[];a[0]=this.W;a[1]=this.Fd;a[2]=this.s;a[3]=this.ad;a[4]=this.ob;a[5]=this.rc;a[6]=this.Pd;a[7]=this.Ua;a[8]=this.Ic;a[9]=this.$b;a[10]=this.Bd;return a};
n.La=function(a){this.W=a[0];this.Fd=a[1];this.s=a[2];this.ad=a[3];this.ob=a[4];this.rc=a[5];this.Pd=a[6];this.Ua=a[7];this.Ic=a[8];this.$b=a[9];this.Bd=a[10]};function Ie(a,b){a.W|=b;a.Fd&b&&a.o.Ya(11)}function Je(a,b){a.ob--;a.memory[a.Ua++]=b;a.Ua>=a.nc<<8&&(a.Ua+=a.Ic-a.nc<<8);0===a.ob&&Ie(a,64)}n.ue=function(a){Je(this,a);this.ad&1&&Je(this,a>>8)};n.yf=function(a){Je(this,a);Je(this,a>>8);Je(this,a>>16);Je(this,a>>24)};
function Ke(a){var b=a.memory[a.Ua++];a.ob--;a.Ua>=a.nc<<8&&(a.Ua+=a.Ic-a.nc<<8);0===a.ob&&Ie(a,64);return b}n.te=function(){return this.ad&1?Ke(this)|Ke(this)<<8:Ke(this)};n.xf=function(){return Ke(this)|Ke(this)<<8|Ke(this)<<16|Ke(this)<<24};function Bd(a,b,e){this.Gc=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.ic=48;this.Fc=[{size:16}];Td(a.c.Ec,this);var g=a.q;Y(g,43008,this,void 0,void 0,function(){return 1});Z(g,43012,this,void 0,void 0,function(){});Z(g,43022,this,void 0,function(d){this.nd=d},void 0);Y(g,43020,this,void 0,function(){return this.Hb},void 0);Y(g,43016,this,void 0,void 0,function(){return 0===this.nd?this.Gb:
0});Z(g,43016,this,void 0,void 0,function(d){this.Gb=d});Z(g,43026,this,function(d){this.bd=d});Y(g,43026,this,function(){return this.bd});Y(g,43027,this,function(){var d=this.W;this.W=0;return d});Z(g,43024,this,void 0,function(){var d=(this.Gb<<12)+16*this.Hb,h=d+4;this.memory.K(d);for(var d=this.memory.K(d+2),l=this.Hb-1,d=d&l;this.ec!==d;){var m=this.memory.K(h+2*this.ec);Le(this,m);this.ec=this.ec+1&l}});this.c=12;this.o=a;this.B=b;this.ec=this.W=this.bd=this.nd=0;this.Hb=32;this.Gb=0;this.memory=
a.memory;for(a=0;128>a;a++)Y(g,43028+a,this,function(d){return this.ya.Xd[d]}.bind(this,a),void 0,void 0),Z(g,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.ya=new ba(e,b);this.ya.ba=this.f.bind(this)}Bd.prototype.za=function(){var a=[];a[0]=this.c;a[1]=this.nd;a[2]=this.bd;a[3]=this.W;a[4]=this.ec;a[5]=this.Hb;a[6]=this.Gb;a[7]=this.ya;return a};
Bd.prototype.La=function(a){this.c=a[0];this.nd=a[1];this.bd=a[2];this.W=a[3];this.ec=a[4];this.Hb=a[5];this.Gb=a[6];this.ya=a[7];this.ya.ba=this.f.bind(this)};Bd.prototype.reset=function(){this.ec=this.W=this.bd=this.nd=0;this.Hb=32;this.Gb=0};
function Le(a,b){var e=b,g=a.Gb<<12,d=0,h=[];do{var l=g+16*e,m=a.memory.K(l+12);if(m&2)break;var q=P(a.memory,l),e=P(a.memory,l+4),w=P(a.memory,l+8)>>>0;h.push({Wd:q,of:e,ke:w});if(m&1)e=a.memory.K(l+14);else{e=-1;break}}while(1);var C=-1,z=0;fa(a.ya,{start:b,next:e},function(){if(z>=C){if(d===h.length)return 0;var L=h[d++];q=L.Wd;C=L.ke;z=0}return this.memory.L(q+z++)}.bind(a))}
Bd.prototype.f=function(a){if(-1!==a.next){var b=this.Hb-1,e=this.ya.Ld,g=a.next,d=this.Gb<<12,h=0,l=[];do{var g=d+16*g,m=this.memory.K(g+12);if(0===(m&2))break;var q=P(this.memory,g),w=P(this.memory,g+4),C=P(this.memory,g+8)>>>0;l.push({Wd:q,of:w,ke:C});if(m&1)g=this.memory.K(g+14);else break}while(1);m=-1;for(d=w=0;d<e;d++){g=this.ya.ja[d];if(w>=m){if(h===l.length)return 0;m=l[h++];q=m.Wd;m=m.ke;w=0}this.memory.R(q+w++,g)}h=(this.Gb<<12)+16*this.Hb+4+2*this.Hb;h=h+4095&-4096;this.memory.K(h);l=
this.memory.K(h+2);this.memory.fa(h+2,l+1);b=h+4+8*(l&b);this.memory.ga(b,a.start);this.memory.ga(b+4,e);this.W|=1;this.o.Ya(this.c)}};function Me(){this.kd={};this.c=void 0}Me.prototype.register=function(a,b,e){var g=this.kd[a];void 0===g&&(g=this.kd[a]=[]);g.push({Be:b,fh:e})};function Ne(a,b,e){var g=a.kd[b];void 0!==g&&(a.kd[b]=g.filter(function(d){return d.Be!==e}))}Me.prototype.send=function(a,b){if(this.c){var e=this.c.kd[a];if(void 0!==e)for(var g=0;g<e.length;g++){var d=e[g];d.Be.call(d.fh,b)}}};function Oe(){var a=new Me,b=new Me;a.c=b;b.c=a;return[a,b]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,b){a[b[0]]=b[1];return a},{});function oc(){};function Pe(a){function b(z){return d(z,!1)}function e(z){return d(z,!0)}function g(){for(var z=Object.keys(m),L,K=0;K<z.length;K++)L=+z[K],m[L]&&h(L,!1);m={}}function d(z,L){if(q.B&&(z.shiftKey&&z.ctrlKey&&74===z.keyCode||!q.c?0:z.target?"phone_keyboard"===z.target.className||"INPUT"!==z.target.nodeName&&"TEXTAREA"!==z.target.nodeName:1)){var K;a:{if(void 0!==z.code&&(K=C[z.code],void 0!==K))break a;K=w[z.keyCode]}if(K)return h(K,L),z.preventDefault(),!1;console.log("Missing char in map: "+z.keyCode.toString(16))}}
function h(z,L){if(L)m[z]&&h(z,!1);else if(!m[z])return;(m[z]=L)||(z|=128);255<z?(l(z>>8),l(z&255)):l(z)}function l(z){q.B.send("keyboard-code",z)}var m={},q=this;this.c=!0;var w=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82,79,80,81,75,76,77,71,72,73,0,
0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),C={Escape:1,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Digit0:11,Minus:12,Equal:13,Backspace:14,Tab:15,KeyQ:16,KeyW:17,KeyE:18,KeyR:19,KeyT:20,KeyY:21,KeyU:22,KeyI:23,
KeyO:24,KeyP:25,BracketLeft:26,BracketRight:27,Enter:28,ControlLeft:29,KeyA:30,KeyS:31,KeyD:32,KeyF:33,KeyG:34,KeyH:35,KeyJ:36,KeyK:37,KeyL:38,Semicolon:39,Quote:40,Backquote:41,ShiftLeft:42,Backslash:43,KeyZ:44,KeyX:45,KeyC:46,KeyV:47,KeyB:48,KeyN:49,KeyM:50,Comma:51,Period:52,Slash:53,ShiftRight:54,NumpadMultiply:55,AltLeft:56,Space:57,CapsLock:58,F1:59,F2:60,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,F10:68,NumLock:69,ScrollLock:70,Numpad7:71,Numpad8:72,Numpad9:73,NumpadSubtract:74,Numpad4:75,Numpad5:76,
Numpad6:77,NumpadAdd:78,Numpad1:79,Numpad2:80,Numpad3:81,Numpad0:82,NumpadDecimal:83,IntlBackslash:86,F11:87,F12:88,NumpadEnter:57372,ControlRight:57373,NumpadDivide:57397,AltRight:57400,Home:57423,ArrowUp:57416,PageUp:57417,ArrowLeft:57419,ArrowRight:57421,End:57423,ArrowDown:57424,PageDown:57425,Insert:57426,Delete:57427,OSLeft:57435,OSRight:57436,ContextMenu:57437};this.B=a;this.lb=function(){window.removeEventListener("keyup",b,!1);window.removeEventListener("keydown",e,!1);window.removeEventListener("blur",
g,!1)};this.cb=function(){"undefined"!==typeof window&&(this.lb(),window.addEventListener("keyup",b,!1),window.addEventListener("keydown",e,!1),window.addEventListener("blur",g,!1))};this.cb()};function Qe(a){function b(z){return C.enabled&&C.c&&(!z.target||"mousemove"===z.type||"INPUT"!==z.target.nodeName&&"TEXTAREA"!==z.target.nodeName)}function e(z){if(C.B&&b(z)){var L;L=z.webkitMovementX||z.mozMovementX||0;z=z.webkitMovementY||z.mozMovementY||0;z=-(.15*z);C.B.send("mouse-delta",[.15*L,z])}}function g(z){b(z)&&z.preventDefault()}function d(z){b(z)&&l(z,!0)}function h(z){b(z)&&l(z,!1)}function l(z,L){C.B&&(1===z.which?m=L:2===z.which?w=L:3===z.which?q=L:console.log("Unknown event.which: "+
z.which),C.B.send("mouse-click",[m,w,q]),z.preventDefault())}var m=!1,q=!1,w=!1,C=this;this.enabled=!1;this.c=!0;this.B=a;this.B.register("mouse-enable",function(z){this.enabled=z},this);this.lb=function(){window.removeEventListener("mousemove",e,!1);document.removeEventListener("contextmenu",g,!1);window.removeEventListener("mousedown",d,!1);window.removeEventListener("mouseup",h,!1)};this.cb=function(){"undefined"!==typeof window&&(this.lb(),window.addEventListener("mousemove",e,!1),document.addEventListener("contextmenu",
g,!1),window.addEventListener("mousedown",d,!1),window.addEventListener("mouseup",h,!1))};this.cb()};function Re(a,b){function e(l){h.B&&h.enabled&&(h.c(l.which),l.preventDefault())}function g(l){8===l.which&&(h.c(127),l.preventDefault())}function d(l){if(h.enabled){for(var m=l.clipboardData.getData("text/plain"),q=0;q<m.length;q++)h.c(m.charCodeAt(q));l.preventDefault()}}var h=this;this.enabled=!0;this.B=b;this.text=[];this.ne=this.Od=!1;this.B.register("serial0-output-char",function(l){this.ah(l)},this);this.lb=function(){a.removeEventListener("keypress",e,!1);a.removeEventListener("keydown",g,
!1);a.removeEventListener("paste",d,!1)};this.cb=function(){this.lb();a.addEventListener("keypress",e,!1);a.addEventListener("keydown",g,!1);a.addEventListener("paste",d,!1);setInterval(function(){this.Od&&(this.Od=!1,a.value=this.text.join(""),this.ne&&(this.ne=!1,a.scrollTop=1E9))}.bind(this),16)};this.cb();this.ah=function(l){"\b"===l?(this.text.pop(),this.Od=!0):"\r"!==l&&(this.Od=!0,this.text.push(l),"\n"===l&&(this.ne=!0))};this.c=function(l){h.B&&h.B.send("serial0-input",l)}};function Se(a,b){this.B=b;this.c=void 0;this.f=[];this.url=a;this.k=Date.now()-1E4;this.B.register("net0-send",function(e){this.send(e)},this)}n=Se.prototype;n.Of=function(a){this.B&&this.B.send("net0-receive",new Uint8Array(a.data))};n.Ee=function(){this.Yd();setTimeout(this.Yd.bind(this),1E4)};n.Pf=function(){for(var a=0;a<this.f.length;a++)this.send(this.f[a]);this.f=[]};n.Nf=function(){};n.lb=function(){this.c&&this.c.close()};
n.Yd=function(){if(this.c){var a=this.c.readyState;if(0===a||1===a)return}if(!(this.k+1E4>Date.now())){this.k=Date.now();try{this.c=new WebSocket(this.url)}catch(b){this.Ee()}this.c.binaryType="arraybuffer";this.c.onopen=this.Pf.bind(this);this.c.onmessage=this.Of.bind(this);this.c.onclose=this.Ee.bind(this);this.c.onerror=this.Nf.bind(this)}};n.send=function(a){this.c&&1===this.c.readyState?this.c.send(a):(this.f.push(a),128<this.f.length&&(this.f=this.f.slice(-64)),this.Yd())};(function(){function a(h,l){var m=new XMLHttpRequest;m.open(l.method||"get",h,!0);l.Xc||(m.responseType="arraybuffer");if(l.headers)for(var q=Object.keys(l.headers),w=0;w<q.length;w++){var C=q[w];m.setRequestHeader(C,l.headers[C])}m.onload=function(){4===m.readyState&&(200!==m.status&&206!==m.status?console.log("Loading the image `"+h+"` failed"):m.response&&l.Pb&&l.Pb(m.response,m))};l.Xe&&(m.onprogress=function(z){l.Xe(z)});m.send(null)}function b(h,l){var m={encoding:l.Xc?"utf-8":null};require("fs").readFile(h,
m,function(q,w){if(q)console.log("Could not read file:",h);else{var C=w;l.Xc||(C=(new Uint8Array(C)).buffer);l.Pb(C)}})}function e(h,l){this.filename=h;this.c=256;this.byteLength=l;this.f={};this.onprogress=this.onload=void 0}function g(h){this.c=h;this.byteLength=h.size;1073741824<h.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(h.size>>20)+" MB ...");this.buffer=new ArrayBuffer(h.size);this.onprogress=this.onload=void 0}function d(h){this.k=h;this.byteLength=h.size;this.c=256;this.f=
{};this.onprogress=this.onload=void 0}"undefined"===typeof XMLHttpRequest?Md=b:Md=a;Nd=e;Od=d;Pd=g;e.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.filename,{Pb:function(h,l){var m=l.getResponseHeader("Content-Range")||"",q=m.match(/\/(\d+)\s*$/);q?(this.byteLength=+q[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.filename+". `Range: bytes=...` header not supported (Got `"+m+"`)")}.bind(this),headers:{Range:"bytes=0-0","If-Range":""}})};
e.prototype.get=function(h,l,m){console.assert(0===h%this.c);console.assert(0===l%this.c);console.assert(l);a(this.filename,{Pb:function(q){q=new Uint8Array(q);this.Ed(h,l,q);m(q)}.bind(this),headers:{Range:"bytes="+h+"-"+(h+l-1)}})};e.prototype.set=function(h,l,m){console.assert(h+l.byteLength<=this.byteLength);var q=l.length;console.assert(0===h%this.c);console.assert(0===q%this.c);console.assert(q);h/=this.c;for(var q=q/this.c,w=0;w<q;w++){var C=this.f[h+w];void 0===C&&(C=this.f[h+w]=new Uint8Array(this.c));
var z=l.subarray(w*this.c,(w+1)*this.c);C.set(z);console.assert(C.byteLength===z.length)}m()};e.prototype.Ed=function(h,l,m){h/=this.c;l/=this.c;for(var q=0;q<l;q++){var w=this.f[h+q];w&&m.set(w,q*this.c)}};g.prototype.load=function(){this.Le(0)};g.prototype.Le=function(h){var l=new FileReader;l.onload=function(q){q=new Uint8Array(q.target.result);(new Uint8Array(this.buffer,h)).set(q);this.Le(h+4194304)}.bind(this);if(this.onprogress)this.onprogress({loaded:h,total:this.byteLength,lengthComputable:!0});
if(h<this.byteLength){var m=Math.min(h+4194304,this.byteLength);l.readAsArrayBuffer(this.c.slice(h,m))}else this.c=void 0,this.onload&&this.onload({buffer:this.buffer})};g.prototype.get=function(h,l,m){console.assert(h+l<=this.byteLength);m(new Uint8Array(this.buffer,h,l))};g.prototype.set=function(h,l,m){console.assert(h+l.byteLength<=this.byteLength);(new Uint8Array(this.buffer,h,l.byteLength)).set(l);m()};d.prototype.load=function(){this.onload&&this.onload({})};d.prototype.get=function(h,l,m){console.assert(0===
h%this.c);console.assert(0===l%this.c);console.assert(l);var q=new FileReader;q.onload=function(w){w=new Uint8Array(w.target.result);this.Ed(h,l,w);m(w)}.bind(this);q.readAsArrayBuffer(this.k.slice(h,h+l))};d.prototype.set=e.prototype.set;d.prototype.Ed=e.prototype.Ed})();function $(a){function b(K,J){switch(K){case "hda":m.Tb=J;break;case "hdb":m.Gh=J;break;case "cdrom":m.Ob=J;break;case "fda":m.ye=J;break;case "fdb":m.Kf=J;break;case "bios":m.uc=J.buffer;break;case "vga_bios":m.kh=J.buffer;break;case "initial_state":m.Ge=J.buffer;break;case "fs9p_json":m.Ce=J.buffer}}function e(K,J){if(J)if(J.get&&J.set&&J.load)q.push({name:K,fc:J});else{J={buffer:J.buffer,async:J.async,url:J.url,size:J.size};if("bios"===K||"vga_bios"===K||"initial_state"===K)J.async=!1;if(J.buffer instanceof
ArrayBuffer){var oa=new Rd(J.buffer);q.push({name:K,fc:oa})}else J.buffer instanceof File?(void 0===J.async&&(J.async=16777216>J.buffer.size),oa=J.async?new Pd(J.buffer):new Od(J.buffer),q.push({name:K,fc:oa})):J.url&&(J.async?(oa=new Nd(J.url,J.size),q.push({name:K,fc:oa})):q.push({name:K,url:J.url,size:J.size}))}}function g(){this.B.send("cpu-init",m);setTimeout(function(){m.Ge&&He(l.o,m.Ge);setTimeout(function(){m.Rb&&m.Ce&&Te(m.Rb,m.Ce);a.autostart&&this.B.send("cpu-run")}.bind(this),0)}.bind(this),
0)}this.Zd=!1;var d=Oe(),h=this.B=d[0];this.f=d[1];var l=this.Nc=new Hd(this.f);this.B.register("emulator-stopped",function(){this.Zd=!1},this);this.B.register("emulator-started",function(){this.Zd=!0},this);var m={Uf:!0};m.gc=a.memory_size||67108864;m.Da=a.vga_memory_size||8388608;m.qf=a.boot_order||531;m.ye=void 0;m.Kf=void 0;a.network_relay_url&&(new Se(a.network_relay_url,h),m.Jf=!0);a.disable_keyboard||(this.k=new Pe(h));a.disable_mouse||(this.m=new Qe(h));a.screen_container&&(this.c=new aa(a.screen_container,
h));a.serial_container&&new Re(a.serial_container,h);for(var q=[],d="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),h=0;h<d.length;h++)e(d[h],a[d[h]]);if(a.filesystem&&(d=a.filesystem.basefs,h=a.filesystem.baseurl,this.Rb=new Ue(h),m.Rb=this.Rb,d)){console.assert(h,"Filesystem: baseurl must be specified");var w;"object"===typeof d&&(w=d.size,d=d.url);q.push({name:"fs9p_json",url:d,size:w,Xc:!0})}var C=this,z=q.length,L=function(K){if(K===z)setTimeout(g.bind(this),0);else{var J=q[K];
J.fc?(J.fc.onload=function(){b(J.name,J.fc);L(K+1)},J.fc.load()):Md(J.url,{Pb:function(oa){b(J.name,new Rd(oa));L(K+1)},Xe:function(oa){C.f.send("download-progress",{Ch:K,Bh:z,Dh:J.url,lengthComputable:oa.lengthComputable,total:J.size||oa.total,loaded:oa.loaded})},Xc:J.Xc})}}.bind(this);L(0)}n=$.prototype;n.lf=function(){this.B.send("cpu-run")};n.mf=function(){this.B.send("cpu-stop")};n.jf=function(){this.B.send("cpu-restart")};n.nf=function(a,b){this.B.register(a,b,this)};
n.Tg=function(a,b){Ne(this.B,a,b)};n.kf=function(a){He(this.Nc.o,a)};n.pd=function(a){setTimeout(function(){try{a(null,this.Nc.pd())}catch(b){a(b,null)}}.bind(this),0)};n.Mf=function(){console.warn("V86Starter.prototype.get_statistics is deprecated. Use events instead.");var a={o:{Hh:this.Nc?this.Nc.o.Q:0}};if(!this.Nc)return a;var b=this.Nc.o.c;b.Tb&&(a.Tb=b.Tb.va);b.Ob&&(a.Ob=b.Ob.va);b.Id&&(a.Kh={enabled:b.Id.Zb});b.Lb&&(a.Lb=b.Lb.va);return a};n.Rf=function(){return this.Zd};
n.Sf=function(a){for(var b=0;b<a.length;b++)this.B.send("keyboard-code",a[b])};n.Xg=function(){this.c&&this.c.k()};n.Yg=function(a,b){this.c&&this.c.c(a,b)};n.Wg=function(){if(this.c){var a=document.getElementById("screen_container");if(a){var b=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;b&&(b.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.Ne()}}};
n.Ne=function(){var a=document.body,b=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;b&&b.call(a)};n.Xf=function(a){this.m&&(this.m.c=a)};n.Tf=function(a){this.k&&(this.k.c=a)};n.Zg=function(a){for(var b=0;b<a.length;b++)this.B.send("serial0-input",a.charCodeAt(b))};n.wf=function(a,b,e){var g=this.Rb;if(g){var d=a.split("/"),d=d[d.length-1];a=Ve(g,a).la;var h=""===d||-1===a;h||We(g,d,a,b);e&&setTimeout(function(){h?e(new Xe):e(null)},0)}};
n.Pg=function(a,b){var e=this.Rb;if(e){var g=Ve(e,a).id;-1===g?b(new Xe,null):(ia(e,g),ja(e,g,function(){var d=e.eb[g];d?b(null,d.subarray(0,e.c[g].size)):b(new Xe,null)}))}};function Xe(a){this.message=a||"File not found"}Xe.prototype=Error.prototype;"undefined"!==typeof window?window.V86Starter=$:"undefined"!==typeof module&&"undefined"!==typeof module.exports?module.exports.V86Starter=$:"function"===typeof importScripts&&(self.V86Starter=$);$.prototype.run=$.prototype.lf;$.prototype.stop=$.prototype.mf;
$.prototype.restart=$.prototype.jf;$.prototype.add_listener=$.prototype.nf;$.prototype.remove_listener=$.prototype.Tg;$.prototype.restore_state=$.prototype.kf;$.prototype.save_state=$.prototype.pd;$.prototype.get_statistics=$.prototype.Mf;$.prototype.is_running=$.prototype.Rf;$.prototype.keyboard_send_scancodes=$.prototype.Sf;$.prototype.screen_make_screenshot=$.prototype.Xg;$.prototype.screen_set_scale=$.prototype.Yg;$.prototype.screen_go_fullscreen=$.prototype.Wg;$.prototype.lock_mouse=$.prototype.Ne;
$.prototype.mouse_set_status=$.prototype.Xf;$.prototype.keyboard_set_status=$.prototype.Tf;$.prototype.serial0_send=$.prototype.Zg;$.prototype.create_file=$.prototype.wf;$.prototype.read_file=$.prototype.Pg;var qa=16384;function Ue(a){this.c=[];this.f=[];this.m=a;this.ge=this.D=0;this.k=function(){};this.eb={};this.r=0;pa(this,"",-1)}function ja(a,b,e){0==a.c[b].status?e():a.f.push({id:b,hf:e})}function Ye(a,b){0==a.ge&&(a.k=function(){});for(var e=a.f.length-1;0<=e;e--)a.f[e].id==b&&(a.f[e].hf(),a.f.splice(e,1))}
function Te(a,b){var e=JSON.parse(b);if(2!==e.version)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";var g=e.fsroot;a.r=e.size;setTimeout(function(){for(var d=0;d<g.length;d++)Ze(a,g[d],0);a.k=function(){}},0)}
function Ze(a,b,e){var g=ka(a);g.name=b[0];g.size=b[1];g.ld=b[2];g.$d=g.ld;g.Yc=g.ld;g.mode=b[3];g.uid=b[4];g.Ma=b[5];g.la=e;e=g.mode&61440;if(e===qa)for(b=b[6],g.sc=!0,e=a.c.length,la(a,g),g=0;g<b.length;g++)Ze(a,b[g],e);else 32768===e?(g.status=2,la(a,g)):40960===e&&(g.rd=b[6],la(a,g))}function $e(a,b){var e=a.c[b];2==e.status&&(e.status=3,a.ge++,a.m&&af(a.m+bf(a,e.Ae),function(g){g=this.eb[b]=new Uint8Array(g);e.size=g.length;e.status=0;this.ge--;Ye(this,b)}.bind(a),function(g){throw g;}))}
function la(a,b){if(-1!=b.la){a.c.push(b);b.Ae=a.c.length-1;var e=a.c[b.la];e.sc=!0;b.Ta=e.Ra;e.Ra=a.c.length-1}else 0==a.c.length&&a.c.push(b)}function cf(a){this.sc=!1;this.Ta=this.Ra=this.la=-1;this.status=0;this.name="";this.Qe=this.Pe=this.ld=this.Yc=this.$d=this.Ae=this.Ma=this.uid=this.size=0;this.rd="";this.mode=493;this.Ba={type:0,version:0,path:a};this.ua=void 0}function ka(a){return new cf(++a.D)}
function pa(a,b,e){var g=ka(a);g.name=b;g.la=e;g.mode=511|qa;0<=e&&(g.uid=a.c[e].uid,g.Ma=a.c[e].Ma,g.mode=a.c[e].mode&511|qa);g.Ba.type=qa>>8;la(a,g);return a.c.length-1}function ra(a,b,e){var g=ka(a);g.name=b;g.la=e;g.uid=a.c[e].uid;g.Ma=a.c[e].Ma;g.Ba.type=128;g.mode=a.c[e].mode&438|32768;la(a,g);return a.c.length-1}function na(a,b,e,g,d){var h=ka(a);h.name=b;h.la=e;h.Pe=g;h.Qe=d;h.uid=a.c[e].uid;h.Ma=a.c[e].Ma;h.Ba.type=192;h.mode=a.c[e].mode&438;la(a,h);return a.c.length-1}
function ma(a,b,e,g){var d=ka(a);d.name=b;d.la=e;d.uid=a.c[e].uid;d.Ma=a.c[e].Ma;d.Ba.type=160;d.rd=g;d.mode=40960;la(a,d);return a.c.length-1}function We(a,b,e,g){b=ra(a,b,e);e=a.c[b];(a.eb[b]=new Uint8Array(g.length)).set(g);e.size=g.length}
function ia(a,b){var e=ha(a,b);if((e.mode&61440)==qa){var g=ha(a,b);if(g.sc){var d=g.la;-1==d&&(d=0);for(var h=0,l=a.c[b].Ra;-1!=l;)h+=24+df(a.c[l].name),l=a.c[l].Ta;var h=h+25+26,m=a.eb[b]=new Uint8Array(h);g.size=h;h=0;h+=da(["Q","d","b","s"],[a.c[b].Ba,h+13+8+1+2+1,a.c[b].mode>>12,"."],m,h);h+=da(["Q","d","b","s"],[a.c[d].Ba,h+13+8+1+2+2,a.c[d].mode>>12,".."],m,h);for(l=a.c[b].Ra;-1!=l;)h+=da(["Q","d","b","s"],[a.c[l].Ba,h+13+8+1+2+df(a.c[l].name),a.c[l].mode>>12,a.c[l].name],m,h),l=a.c[l].Ta;
g.sc=!1}}return 2==e.status?($e(a,b),!1):!0}function ya(a,b){var e=ha(a,b);4==e.status&&(-1==e.status,delete a.eb[b],e.size=0)}function va(a,b,e,g,d){if(b==g&&e==d)return!0;e=wa(a,b,e);if(-1==e)return!1;var h=wa(a,g,d);-1!=h&&xa(a,h);h=a.c[e];if(a.c[h.la].Ra==e)a.c[h.la].Ra=h.Ta;else{var l=ef(a,e);a.c[l].Ta=h.Ta}h.la=g;h.name=d;h.Ba.version++;h.Ta=a.c[h.la].Ra;a.c[h.la].Ra=e;a.c[b].sc=!0;return a.c[g].sc=!0}
function ta(a,b,e,g,d){var h=a.c[b],l=a.eb[b];!l||l.length<e+g?(sa(a,b,Math.floor(3*(e+g)/2)),h.size=e+g,l=a.eb[b]):h.size<e+g&&(h.size=e+g);for(a=0;a<g;a++)l[e+a]=d()}function wa(a,b,e){for(b=a.c[b].Ra;-1!=b;){if(a.c[b].name==e)return b;b=a.c[b].Ta}return-1}function bf(a,b){for(var e="";0!=b;)e="/"+a.c[b].name+e,b=a.c[b].la;return e.substring(1)}function ef(a,b){for(var e=ha(a,b),e=a.c[e.la].Ra;-1!=e&&a.c[e].Ta!=b;)e=a.c[e].Ta;return e}
function xa(a,b){if(0==b)return!1;var e=ha(a,b);if((e.mode&61440)==qa&&-1!=e.Ra)return!1;if(a.c[e.la].Ra==b)a.c[e.la].Ra=e.Ta;else{var g=ef(a,b);a.c[g].Ta=e.Ta}a.c[e.la].sc=!0;e.status=4;e.Ta=-1;e.Ra=-1;e.la=-1;return!0}function ha(a,b){return isNaN(b)||0>b||b>a.c.length?0:a.c[b]}function sa(a,b,e){var g=ha(a,b),d=a.eb[b];if(e!=g.size&&(a=a.eb[b]=new Uint8Array(e),g.size=e,d))for(e=Math.min(d.length,g.size),g=0;g<e;g++)a[g]=d[g]}
function Ve(a,b){b=b.replace("//","/");var e=b.split("/"),g=e.length;0==e[g-1].length&&e.pop();0==e[0].length&&e.shift();for(var g=e.length,d=0,h=-1,l=0;l<g;l++){h=wa(a,d,e[l]);if(-1==h)return l<g-1?{id:-1,la:-1,name:e[l]}:{id:-1,la:d,name:e[l]};d=h}return{id:h,la:d,name:e[l]}}
function za(a,b){var e=ha(a,b);if(e.ua)return e.ua.length;e.ua=new Uint8Array(12);e.ua[0]=0;e.ua[1]=0;e.ua[2]=0;e.ua[3]=1;e.ua[4]=255;e.ua[5]=255;e.ua[6]=255;e.ua[7]=255;e.ua[8]=255;e.ua[9]=255;e.ua[10]=255;e.ua[11]=255;return e.ua.length};var af;if("undefined"!==typeof XMLHttpRequest)af=function(a,b,e){var g=new XMLHttpRequest;g.open("GET",a,!0);g.responseType="arraybuffer";g.onreadystatechange=function(){if(4==g.readyState)if(200!=g.status&&0!=g.status)e("Error: Could not load file "+a);else{var d=g.response;d?b(d):e("Error: No data received from: "+a)}};g.send(null)};else{var ff=require("fs");af=function(a,b,e){console.log(a);ff.readFile(a,function(g,d){g?e(g):b((new Uint8Array(d)).buffer)})}};function da(a,b,e,g){for(var d,h=0,l=0;l<a.length;l++)switch(d=b[l],a[l]){case "w":e[g++]=d&255;e[g++]=d>>8&255;e[g++]=d>>16&255;e[g++]=d>>24&255;h+=4;break;case "d":e[g++]=d&255;e[g++]=d>>8&255;e[g++]=d>>16&255;e[g++]=d>>24&255;e[g++]=0;e[g++]=0;e[g++]=0;e[g++]=0;h+=8;break;case "h":e[g++]=d&255;e[g++]=d>>8;h+=2;break;case "b":e[g++]=d;h+=1;break;case "s":var m=g,q=0;e[g++]=0;e[g++]=0;var h=h+2,w;for(w in d)gf(d.charCodeAt(w)).forEach(function(C){e[g++]=C;h+=1;q++});e[m+0]=q&255;e[m+1]=q>>8&255;
break;case "Q":da(["b","w","d"],[d.type,d.version,d.path],e,g),g+=13,h+=13}return h}
function ga(a,b){for(var e=[],g=0;g<a.length;g++)switch(a[g]){case "w":var d=b(),d=d+(b()<<8),d=d+(b()<<16),d=d+(b()<<24>>>0);e.push(d);break;case "d":d=b();d+=b()<<8;d+=b()<<16;d+=b()<<24>>>0;b();b();b();b();e.push(d);break;case "h":d=b();e.push(d+(b()<<8));break;case "b":e.push(b());break;case "s":for(var d=b(),d=d+(b()<<8),h="",l=new hf,m=0;m<d;m++){var q=l.k(b());-1!=q&&(h+=String.fromCharCode(q))}e.push(h)}return e};function hf(){this.c=new Uint8Array(5);this.f=0;this.k=function(a){this.c[this.f]=a;this.f++;switch(this.f){case 1:if(128>this.c[0])return this.f=0,this.c[0];break;case 2:if(192==(this.c[0]&224)&&128==(this.c[1]&192))return this.f=0,(this.c[0]&31)<<6|this.c[1]&63}return-1}}function gf(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function df(a){for(var b=0,e=0;e<a.length;e++)b+=128>a.charCodeAt(e)?1:2;return b};})();

View file

@ -1,440 +1,463 @@
'use strict';var l;function aa(a,c){this.e=a;this.t=c;this.j=function(){};this.J=[6,0,104,111,115,116,57,112];this.q=this.v=8192;this.m=new Uint8Array(2*this.q);this.F=0;this.b=[];this.ja=[this.e,this.t]}function n(a,c,d,f){ba(["w","b","h"],[f+7,c+1,d],a.m,0);a.F=f+7}function ca(a,c,d){d=ba(["w"],[d],a.m,7);n(a,6,c,d)}
function da(a,c,d){var f=ea(["w","b","h"],d),g=f[1],h=f[2];switch(g){case 8:d=a.e.F;var k=[16914839];k[1]=a.v;k[2]=Math.floor(274877906944/k[1]);k[3]=k[2]-Math.floor(d/k[1]);k[4]=k[2]-Math.floor(d/k[1]);k[5]=a.e.b.length;k[6]=1048576;k[7]=0;k[8]=256;d=ba("wwddddddw".split(""),k,a.m,7);n(a,g,h,d);a.j(c);break;case 112:case 12:var k=ea(["w","w"],d),m=k[0],f=k[1],p=fa(a.e,a.b[m].U);k[0]=p.ua;k[1]=a.q-24;ba(["Q","w"],k,a.m,7);n(a,g,h,17);d=ga(a.e,a.b[m].U);ha(a.e,a.b[m].U,function(){k[0]=p.ua;k[1]=this.q-
24;ba(["Q","w"],k,this.m,7);n(this,g,h,17);this.j(c)}.bind(a));break;case 70:var k=ea(["w","w","s"],d),x=k[0],m=k[1];d=k[2];var p=ia(a.e),f=fa(a.e,a.b[m].U),A=a.e.e[a.b[m].U];p.mode=f.mode;p.size=f.size;p.Gc=f.Gc;for(var D=a.e.e[a.e.b.length]=new Uint8Array(p.size),f=0;f<p.size;f++)D[f]=A[f];p.name=d;p.fa=a.b[x].U;ja(a.e,p);n(a,g,h,0);a.j(c);break;case 16:k=ea(["w","s","s","w"],d);m=k[0];d=k[1];x=k[3];d=ka(a.e,d,a.b[m].U,k[2]);p=fa(a.e,d);p.uid=a.b[m].uid;p.Aa=x;ba(["Q"],[p.ua],a.m,7);n(a,g,h,13);
a.j(c);break;case 18:k=ea("wswwww".split(""),d);m=k[0];d=k[1];f=k[2];A=k[3];D=k[4];x=k[5];d=la(a.e,d,a.b[m].U,A,D);p=fa(a.e,d);p.mode=f;p.uid=a.b[m].uid;p.Aa=x;ba(["Q"],[p.ua],a.m,7);n(a,g,h,13);a.j(c);break;case 22:k=ea(["w"],d);m=k[0];p=fa(a.e,a.b[m].U);d=ba(["s"],[p.Gc],a.m,7);n(a,g,h,d);a.j(c);break;case 72:k=ea(["w","s","w","w"],d);m=k[0];d=k[1];f=k[2];x=k[3];d=ma(a.e,d,a.b[m].U);p=fa(a.e,d);p.mode=f|na;p.uid=a.b[m].uid;p.Aa=x;ba(["Q"],[p.ua],a.m,7);n(a,g,h,13);a.j(c);break;case 14:k=ea(["w",
"s","w","w","w"],d);m=k[0];d=k[1];f=k[3];x=k[4];d=oa(a.e,d,a.b[m].U);a.b[m].U=d;a.b[m].type=1;p=fa(a.e,d);p.uid=a.b[m].uid;p.Aa=x;p.mode=f;ba(["Q","w"],[p.ua,a.q-24],a.m,7);n(a,g,h,17);a.j(c);break;case 52:ba(["w"],[0],a.m,7);n(a,g,h,1);a.j(c);break;case 24:k=ea(["w","d"],d);m=k[0];p=fa(a.e,a.b[m].U);k[0]|=4096;k[0]=k[1];k[1]=p.ua;k[2]=p.mode;k[3]=p.uid;k[4]=p.Aa;k[5]=1;k[6]=p.ve<<8|p.we;k[7]=p.size;k[8]=a.v;k[9]=Math.floor(p.size/512+1);k[10]=p.mc;k[11]=0;k[12]=p.yc;k[13]=0;k[14]=p.pd;k[15]=0;k[16]=
0;k[17]=0;k[18]=0;k[19]=0;ba("dQwwwddddddddddddddd".split(""),k,a.m,7);n(a,g,h,153);a.j(c);break;case 26:k=ea("wwwwwddddd".split(""),d);m=k[0];p=fa(a.e,a.b[m].U);k[1]&1&&(p.mode=k[2]);k[1]&2&&(p.uid=k[3]);k[1]&4&&(p.Aa=k[4]);k[1]&128&&(p.mc=k[6]);k[1]&256&&(p.mc=k[8]);k[1]&16&&(p.mc=Math.floor((new Date).getTime()/1E3));k[1]&32&&(p.yc=Math.floor((new Date).getTime()/1E3));k[1]&64&&(p.pd=Math.floor((new Date).getTime()/1E3));k[1]&8&&pa(a.e,a.b[m].U,k[5]);n(a,g,h,0);a.j(c);break;case 50:k=ea(["w","d"],
d);m=k[0];n(a,g,h,0);a.j(c);break;case 40:case 116:var k=ea(["w","d","w"],d),m=k[0],O=k[1],U=k[2],p=fa(a.e,a.b[m].U);if(2==a.b[m].type){p.qa.length<O+U&&(U=p.qa.length-O);for(f=0;f<U;f++)a.m[11+f]=p.qa[O+f];ba(["w"],[U],a.m,7);n(a,g,h,4+U);a.j(c)}else{var Na=a.e.b[a.b[m].U];a.t.send("9p-read-start");ga(a.e,a.b[m].U);ha(a.e,a.b[m].U,function(){this.t.send("9p-read-end",[Na.name,U]);p.size<O+U&&(U=p.size-O);var a=this.e.e[this.b[m].U];if(a)for(var d=0;d<U;d++)this.m[11+d]=a[O+d];ba(["w"],[U],this.m,
7);n(this,g,h,4+U);this.j(c)}.bind(a))}break;case 118:k=ea(["w","d","w"],d);m=k[0];O=k[1];U=k[2];qa(a.e,a.b[m].U,O,U,d);Na=a.e.b[a.b[m].U];a.t.send("9p-write-end",[Na.name,U]);ba(["w"],[U],a.m,7);n(a,g,h,4);a.j(c);break;case 74:k=ea(["w","s","w","s"],d);d=ra(a.e,a.b[k[0]].U,k[1],a.b[k[2]].U,k[3]);if(0==d){ca(a,h,2);a.j(c);break}n(a,g,h,0);a.j(c);break;case 76:k=ea(["w","s","w"],d);f=k[0];d=k[1];m=sa(a.e,a.b[f].U,d);if(-1==m){ca(a,h,2);a.j(c);break}d=ta(a.e,m);if(!d){ca(a,h,39);a.j(c);break}n(a,m,
h,0);a.j(c);break;case 100:d=ea(["w","s"],d);a.q=d[0];d=ba(["w","s"],[a.q,"9P2000.L"],a.m,7);n(a,g,h,d);a.j(c);break;case 104:k=ea(["w","w","s","s","w"],d);m=k[0];a.b[m]={U:0,type:1,uid:k[4]};p=fa(a.e,a.b[m].U);ba(["Q"],[p.ua],a.m,7);n(a,g,h,13);a.j(c);break;case 108:k=ea(["h"],d);n(a,g,h,0);a.j(c);break;case 110:k=ea(["w","w","h"],d);m=k[0];x=k[1];A=k[2];if(0==A){a.b[x]={U:a.b[m].U,type:1,uid:a.b[m].uid};ba(["h"],[0],a.m,7);n(a,g,h,2);a.j(c);break}D=[];for(f=0;f<A;f++)D.push("s");D=ea(D,d);d=a.b[m].U;
for(var O=9,Ta=0,f=0;f<A;f++){d=sa(a.e,d,D[f]);if(-1==d)break;O+=ba(["Q"],[a.e.b[d].ua],a.m,O);Ta++;a.b[x]={U:d,type:1,uid:a.b[m].uid}}ba(["h"],[Ta],a.m,7);n(a,g,h,O-7);a.j(c);break;case 120:k=ea(["w"],d);a.b[k[0]]&&0<=a.b[k[0]].U&&(ua(a.e,a.b[k[0]].U),a.b[k[0]].U=-1,a.b[k[0]].type=-1);n(a,g,h,0);a.j(c);break;case 32:ca(a,h,524);a.j(c);break;case 30:k=ea(["w","w","s"],d),m=k[0],f=k[1],d=k[2],a.b[f]={U:a.b[m].U,type:-1,uid:a.b[m].uid},x=0,"security.capability"==d&&(x=va(a.e,a.b[m].U),a.b[f].type=2),
ba(["d"],[x],a.m,7),n(a,g,h,8),a.j(c)}};"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame);
function xa(a,c){function d(a){a=a.toString(16);return"#"+Array(7-a.length).join("0")+a}function f(){for(var a=0;a<Ua;a++)eb[a]&&(yb.e(a),eb[a]=0);this.hb()}function g(){this.t.send("screen-fill-buffer");this.hb()}function h(a,c,d){c=""+(1===c?"":" scaleX("+c+")")+(1===d?"":" scaleY("+d+")");a.style.webkitTransform=a.style.MozTransform=c}console.assert(a,"1st argument must be a DOM container");for(var k=a.getElementsByTagName("canvas")[0],m=k.getContext("2d"),p=k.nextElementSibling||k.previousElementSibling,
x=document.createElement("div"),A,D,O,U,Na=1,Ta=1,Vb,eb,kd=!1,wa,Ia,Ua,yb=this,Ab=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,
9484,9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]),Bb=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),fb=[],Oa,Da=0;256>Da;Da++)127<Da?Oa=Ab[Da-128]:32>Da?Oa=Bb[Da]:Oa=Da,fb[Da]=String.fromCharCode(Oa);m.imageSmoothingEnabled=!1;m.mozImageSmoothingEnabled=
!1;x.style.position="absolute";x.style.backgroundColor="#ccc";x.style.width="7px";x.style.display="inline-block";p.style.display="block";k.style.display="none";this.t=c;c.register("screen-set-mode",function(a){this.yg(a)},this);c.register("screen-fill-buffer-end",function(a){this.Bg(a[0],a[1])},this);c.register("screen-put-char",function(a){this.ng(a[0],a[1],a[2],a[3],a[4])},this);c.register("screen-update-cursor",function(a){this.Jc(a[0],a[1])},this);c.register("screen-update-cursor-scanline",function(a){this.Kc(a[0],
a[1])},this);c.register("screen-set-size-text",function(a){this.Ub(a[0],a[1])},this);c.register("screen-set-size-graphical",function(a){this.Ec(a[0],a[1])},this);this.Ua=function(){this.Ub(80,25);this.hb()};this.j=function(){try{window.open(k.toDataURL())}catch(a){}};this.ng=function(a,c,d,g,f){a<Ua&&c<Ia&&(c=3*(a*Ia+c),wa[c]=d,wa[c+1]=g,wa[c+2]=f,eb[a]=1)};this.hb=function(){requestAnimationFrame(kd?g:f)};f=f.bind(this);g=g.bind(this);this.ab=function(){};this.yg=function(a){(kd=a)?(p.style.display=
"none",k.style.display="block"):(p.style.display="block",k.style.display="none")};this.Ub=function(a,c){if(a!==Ia||c!==Ua){eb=new Int8Array(c);wa=new Int32Array(a*c*3);Ia=a;for(Ua=c;p.childNodes.length>c;)p.removeChild(p.firstChild);for(;p.childNodes.length<c;)p.appendChild(document.createElement("div"));for(var d=0;d<c;d++)this.e(d)}};this.Ec=function(a,c){k.style.display="block";k.width=a;k.height=c;A=m.createImageData(a,c);new Uint8Array(A.data.buffer);D=new Int32Array(A.data.buffer);Vb=a;this.t.send("screen-tell-buffer",
[D],[D.buffer])};this.b=function(a,c){Na=a;Ta=c;h(k,Na,Ta);h(p,Na,Ta)};this.b(Na,Ta);this.Kc=function(a,c){a&32?x.style.display="none":(x.style.display="inline",x.style.height=Math.min(15,c-a)+"px",x.style.marginTop=Math.min(15,a)+"px")};this.Jc=function(a,c){if(a!==O||c!==U)eb[a]=1,eb[O]=1,O=a,U=c};this.e=function(a){var c=3*a*Ia,g,f,h,k,m,A;g=p.childNodes[a];for(h=document.createDocumentFragment();g.firstChild;)g.removeChild(g.firstChild);for(var D=0;D<Ia;){f=document.createElement("span");k=wa[c+
1];m=wa[c+2];f.style.backgroundColor=d(k);f.style.color=d(m);for(A="";D<Ia&&wa[c+1]===k&&wa[c+2]===m;)if(A+=fb[wa[c]],D++,c+=3,a===O)if(D===U)break;else if(D===U+1){h.appendChild(x);break}f.textContent=A;h.appendChild(f)}g.appendChild(h)};this.Bg=function(a,c){if(!(c<a)){var d=a/Vb|0;m.putImageData(A,0,0,0,d,Vb,(c/Vb|0)-d+1)}};this.Ua()};function q(){this.mb=0;this.Db=[];this.B=[];this.Ka=[];this.m=new Int32Array(1048576);this.ib=new Uint8Array(1048576);this.kc=new Uint8Array(1048576);this.ma=!1;this.bc=this.Qc=this.cc=this.Sc=0;this.q=!1;this.s=new Int32Array(8);this.s[0]=0;this.s[2]=0;this.s[3]=0;this.Gd=this.O=this.s[4]=0;this.sc=this.sb=this.Eb=this.Qa=this.Ea=!1;this.I={Wb:{hb:function(){},ab:function(){}},Hd:{hb:function(){},ab:function(){}}};this.Od=this.C=this.j=this.Z=this.Ga=this.Fa=this.n=this.f=this.V=this.Zc=this.$c=
this.Hc=this.v=this.Wa=0;this.i=this.d;this.o=this.A=this.G=0;this.table=[];this.w=!1;this.W=this.l=0;this.Kb={ue:null,Wb:null};this.P=0;this.a=new Int32Array(8);this.eb=new Uint32Array(this.a.buffer);this.na=new Int16Array(this.a.buffer);this.d=new Uint16Array(this.a.buffer);this.Bb=new Int8Array(this.a.buffer);this.k=new Uint8Array(this.a.buffer);this.N=new Uint16Array(8);this.pc=new Int32Array(8);this.u=this.d;this.nb=this.D=0;this.memory=null;this.ha=-1;this.K=!1;this.ra=this.p=void 0;"use strict";
(function(a){var c={};a.debug=c;c.fh=!1;c.dh=void 0;c.Kg=[];c.gh=!1;c.show=function(a){if("undefined"!==typeof document){var c=document.getElementById("log");if(c){c.textContent+=a+"\n";c.style.display="block";c.scrollTop=1E9;return}}console.log(a)};c.Ua=function(){};c.Qg=function(){};c.Og=function(){};c.Vg=function(){};c.Rg=function(){};c.Sg=function(){};c.Pg=function(){};c.Mg=function(){};c.Ng=function(){};c.Wg=function(){};c.$g=function(){};c.ih=function(){};c.step=function(){};c.eh=function(){};
c.Lg=function(){};c.Q=function(a){a="Unimplemented"+(a?": "+a:"");c.show(a);c.show("Execution stopped");return a};c.Zg=function(){}})(this);this.$a()}
q.prototype.$a=function(){this.eb=new Uint32Array(this.a.buffer);this.na=new Int16Array(this.a.buffer);this.d=new Uint16Array(this.a.buffer);this.Bb=new Int8Array(this.a.buffer);this.k=new Uint8Array(this.a.buffer);ya(this);za(this);this.Eb?this.u=this.a:this.u=this.d;Aa(this);this.P=0;this.Od=Ba();this.ja=[this.Kb,this.debug,this.Ld,this.Md,this.Te,this.Ue,this.m,this.ib,this.kc]};"use strict";
(function(){q.prototype.e=Array(192);q.prototype.b=Array(192);q.prototype.g=Array(256);q.prototype.e[0]=function(a){return r(a)+(a.d[6]+a.d[12]&65535)|0};q.prototype.e[64]=function(a){return r(a)+(a.d[6]+a.d[12]+t(a)&65535)|0};q.prototype.e[128]=function(a){return r(a)+(a.d[6]+a.d[12]+u(a)&65535)|0};q.prototype.e[1]=function(a){return r(a)+(a.d[6]+a.d[14]&65535)|0};q.prototype.e[65]=function(a){return r(a)+(a.d[6]+a.d[14]+t(a)&65535)|0};q.prototype.e[129]=function(a){return r(a)+(a.d[6]+a.d[14]+u(a)&
65535)|0};q.prototype.e[2]=function(a){return v(a)+(a.d[10]+a.d[12]&65535)|0};q.prototype.e[66]=function(a){return v(a)+(a.d[10]+a.d[12]+t(a)&65535)|0};q.prototype.e[130]=function(a){return v(a)+(a.d[10]+a.d[12]+u(a)&65535)|0};q.prototype.e[3]=function(a){return v(a)+(a.d[10]+a.d[14]&65535)|0};q.prototype.e[67]=function(a){return v(a)+(a.d[10]+a.d[14]+t(a)&65535)|0};q.prototype.e[131]=function(a){return v(a)+(a.d[10]+a.d[14]+u(a)&65535)|0};q.prototype.e[4]=function(a){return r(a)+(a.d[12]&65535)|
0};q.prototype.e[68]=function(a){return r(a)+(a.d[12]+t(a)&65535)|0};q.prototype.e[132]=function(a){return r(a)+(a.d[12]+u(a)&65535)|0};q.prototype.e[5]=function(a){return r(a)+(a.d[14]&65535)|0};q.prototype.e[69]=function(a){return r(a)+(a.d[14]+t(a)&65535)|0};q.prototype.e[133]=function(a){return r(a)+(a.d[14]+u(a)&65535)|0};q.prototype.e[6]=function(a){return v(a)+(a.d[10]&65535)|0};q.prototype.e[70]=function(a){return v(a)+(a.d[10]+t(a)&65535)|0};q.prototype.e[134]=function(a){return v(a)+(a.d[10]+
u(a)&65535)|0};q.prototype.e[7]=function(a){return r(a)+(a.d[6]&65535)|0};q.prototype.e[71]=function(a){return r(a)+(a.d[6]+t(a)&65535)|0};q.prototype.e[135]=function(a){return r(a)+(a.d[6]+u(a)&65535)|0};q.prototype.b[0]=function(a){return r(a)+a.a[0]|0};q.prototype.b[64]=function(a){return r(a)+a.a[0]+t(a)|0};q.prototype.b[128]=function(a){return r(a)+a.a[0]+w(a)|0};q.prototype.b[1]=function(a){return r(a)+a.a[1]|0};q.prototype.b[65]=function(a){return r(a)+a.a[1]+t(a)|0};q.prototype.b[129]=function(a){return r(a)+
a.a[1]+w(a)|0};q.prototype.b[2]=function(a){return r(a)+a.a[2]|0};q.prototype.b[66]=function(a){return r(a)+a.a[2]+t(a)|0};q.prototype.b[130]=function(a){return r(a)+a.a[2]+w(a)|0};q.prototype.b[3]=function(a){return r(a)+a.a[3]|0};q.prototype.b[67]=function(a){return r(a)+a.a[3]+t(a)|0};q.prototype.b[131]=function(a){return r(a)+a.a[3]+w(a)|0};q.prototype.b[4]=function(a){return a.g[y(a)](a,!1)|0};q.prototype.b[68]=function(a){return a.g[y(a)](a,!1)+t(a)|0};q.prototype.b[132]=function(a){return a.g[y(a)](a,
!1)+w(a)|0};q.prototype.b[5]=function(a){return v(a)+a.a[5]|0};q.prototype.b[69]=function(a){return v(a)+a.a[5]+t(a)|0};q.prototype.b[133]=function(a){return v(a)+a.a[5]+w(a)|0};q.prototype.b[6]=function(a){return r(a)+a.a[6]|0};q.prototype.b[70]=function(a){return r(a)+a.a[6]+t(a)|0};q.prototype.b[134]=function(a){return r(a)+a.a[6]+w(a)|0};q.prototype.b[7]=function(a){return r(a)+a.a[7]|0};q.prototype.b[71]=function(a){return r(a)+a.a[7]+t(a)|0};q.prototype.b[135]=function(a){return r(a)+a.a[7]+
w(a)|0};q.prototype.e[6]=function(a){return r(a)+u(a)|0};q.prototype.b[5]=function(a){return r(a)+w(a)|0};q.prototype.b[4]=function(a){return a.g[y(a)](a,!1)|0};q.prototype.b[68]=function(a){return a.g[y(a)](a,!0)+t(a)|0};q.prototype.b[132]=function(a){return a.g[y(a)](a,!0)+w(a)|0};for(var a=0;8>a;a++)for(var c=0;3>c;c++)for(var d=a|c<<6,f=1;8>f;f++)q.prototype.b[d|f<<3]=q.prototype.b[d],q.prototype.e[d|f<<3]=q.prototype.e[d];q.prototype.g[0]=function(a){return a.a[0]+r(a)+a.a[0]|0};q.prototype.g[1]=
function(a){return a.a[0]+r(a)+a.a[1]|0};q.prototype.g[2]=function(a){return a.a[0]+r(a)+a.a[2]|0};q.prototype.g[3]=function(a){return a.a[0]+r(a)+a.a[3]|0};q.prototype.g[4]=function(a){return a.a[0]+v(a)+a.a[4]|0};q.prototype.g[5]=function(a,c){return a.a[0]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[6]=function(a){return a.a[0]+r(a)+a.a[6]|0};q.prototype.g[7]=function(a){return a.a[0]+r(a)+a.a[7]|0};q.prototype.g[64]=function(a){return(a.a[0]<<1)+r(a)+a.a[0]|0};q.prototype.g[65]=function(a){return(a.a[0]<<
1)+r(a)+a.a[1]|0};q.prototype.g[66]=function(a){return(a.a[0]<<1)+r(a)+a.a[2]|0};q.prototype.g[67]=function(a){return(a.a[0]<<1)+r(a)+a.a[3]|0};q.prototype.g[68]=function(a){return(a.a[0]<<1)+v(a)+a.a[4]|0};q.prototype.g[69]=function(a,c){return(a.a[0]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[70]=function(a){return(a.a[0]<<1)+r(a)+a.a[6]|0};q.prototype.g[71]=function(a){return(a.a[0]<<1)+r(a)+a.a[7]|0};q.prototype.g[128]=function(a){return(a.a[0]<<2)+r(a)+a.a[0]|0};q.prototype.g[129]=function(a){return(a.a[0]<<
2)+r(a)+a.a[1]|0};q.prototype.g[130]=function(a){return(a.a[0]<<2)+r(a)+a.a[2]|0};q.prototype.g[131]=function(a){return(a.a[0]<<2)+r(a)+a.a[3]|0};q.prototype.g[132]=function(a){return(a.a[0]<<2)+v(a)+a.a[4]|0};q.prototype.g[133]=function(a,c){return(a.a[0]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[134]=function(a){return(a.a[0]<<2)+r(a)+a.a[6]|0};q.prototype.g[135]=function(a){return(a.a[0]<<2)+r(a)+a.a[7]|0};q.prototype.g[192]=function(a){return(a.a[0]<<3)+r(a)+a.a[0]|0};q.prototype.g[193]=
function(a){return(a.a[0]<<3)+r(a)+a.a[1]|0};q.prototype.g[194]=function(a){return(a.a[0]<<3)+r(a)+a.a[2]|0};q.prototype.g[195]=function(a){return(a.a[0]<<3)+r(a)+a.a[3]|0};q.prototype.g[196]=function(a){return(a.a[0]<<3)+v(a)+a.a[4]|0};q.prototype.g[197]=function(a,c){return(a.a[0]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[198]=function(a){return(a.a[0]<<3)+r(a)+a.a[6]|0};q.prototype.g[199]=function(a){return(a.a[0]<<3)+r(a)+a.a[7]|0};q.prototype.g[8]=function(a){return a.a[1]+r(a)+a.a[0]|0};
q.prototype.g[9]=function(a){return a.a[1]+r(a)+a.a[1]|0};q.prototype.g[10]=function(a){return a.a[1]+r(a)+a.a[2]|0};q.prototype.g[11]=function(a){return a.a[1]+r(a)+a.a[3]|0};q.prototype.g[12]=function(a){return a.a[1]+v(a)+a.a[4]|0};q.prototype.g[13]=function(a,c){return a.a[1]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[14]=function(a){return a.a[1]+r(a)+a.a[6]|0};q.prototype.g[15]=function(a){return a.a[1]+r(a)+a.a[7]|0};q.prototype.g[72]=function(a){return(a.a[1]<<1)+r(a)+a.a[0]|0};q.prototype.g[73]=
function(a){return(a.a[1]<<1)+r(a)+a.a[1]|0};q.prototype.g[74]=function(a){return(a.a[1]<<1)+r(a)+a.a[2]|0};q.prototype.g[75]=function(a){return(a.a[1]<<1)+r(a)+a.a[3]|0};q.prototype.g[76]=function(a){return(a.a[1]<<1)+v(a)+a.a[4]|0};q.prototype.g[77]=function(a,c){return(a.a[1]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[78]=function(a){return(a.a[1]<<1)+r(a)+a.a[6]|0};q.prototype.g[79]=function(a){return(a.a[1]<<1)+r(a)+a.a[7]|0};q.prototype.g[136]=function(a){return(a.a[1]<<2)+r(a)+a.a[0]|0};
q.prototype.g[137]=function(a){return(a.a[1]<<2)+r(a)+a.a[1]|0};q.prototype.g[138]=function(a){return(a.a[1]<<2)+r(a)+a.a[2]|0};q.prototype.g[139]=function(a){return(a.a[1]<<2)+r(a)+a.a[3]|0};q.prototype.g[140]=function(a){return(a.a[1]<<2)+v(a)+a.a[4]|0};q.prototype.g[141]=function(a,c){return(a.a[1]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[142]=function(a){return(a.a[1]<<2)+r(a)+a.a[6]|0};q.prototype.g[143]=function(a){return(a.a[1]<<2)+r(a)+a.a[7]|0};q.prototype.g[200]=function(a){return(a.a[1]<<
3)+r(a)+a.a[0]|0};q.prototype.g[201]=function(a){return(a.a[1]<<3)+r(a)+a.a[1]|0};q.prototype.g[202]=function(a){return(a.a[1]<<3)+r(a)+a.a[2]|0};q.prototype.g[203]=function(a){return(a.a[1]<<3)+r(a)+a.a[3]|0};q.prototype.g[204]=function(a){return(a.a[1]<<3)+v(a)+a.a[4]|0};q.prototype.g[205]=function(a,c){return(a.a[1]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[206]=function(a){return(a.a[1]<<3)+r(a)+a.a[6]|0};q.prototype.g[207]=function(a){return(a.a[1]<<3)+r(a)+a.a[7]|0};q.prototype.g[16]=function(a){return a.a[2]+
r(a)+a.a[0]|0};q.prototype.g[17]=function(a){return a.a[2]+r(a)+a.a[1]|0};q.prototype.g[18]=function(a){return a.a[2]+r(a)+a.a[2]|0};q.prototype.g[19]=function(a){return a.a[2]+r(a)+a.a[3]|0};q.prototype.g[20]=function(a){return a.a[2]+v(a)+a.a[4]|0};q.prototype.g[21]=function(a,c){return a.a[2]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[22]=function(a){return a.a[2]+r(a)+a.a[6]|0};q.prototype.g[23]=function(a){return a.a[2]+r(a)+a.a[7]|0};q.prototype.g[80]=function(a){return(a.a[2]<<1)+r(a)+a.a[0]|
0};q.prototype.g[81]=function(a){return(a.a[2]<<1)+r(a)+a.a[1]|0};q.prototype.g[82]=function(a){return(a.a[2]<<1)+r(a)+a.a[2]|0};q.prototype.g[83]=function(a){return(a.a[2]<<1)+r(a)+a.a[3]|0};q.prototype.g[84]=function(a){return(a.a[2]<<1)+v(a)+a.a[4]|0};q.prototype.g[85]=function(a,c){return(a.a[2]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[86]=function(a){return(a.a[2]<<1)+r(a)+a.a[6]|0};q.prototype.g[87]=function(a){return(a.a[2]<<1)+r(a)+a.a[7]|0};q.prototype.g[144]=function(a){return(a.a[2]<<
2)+r(a)+a.a[0]|0};q.prototype.g[145]=function(a){return(a.a[2]<<2)+r(a)+a.a[1]|0};q.prototype.g[146]=function(a){return(a.a[2]<<2)+r(a)+a.a[2]|0};q.prototype.g[147]=function(a){return(a.a[2]<<2)+r(a)+a.a[3]|0};q.prototype.g[148]=function(a){return(a.a[2]<<2)+v(a)+a.a[4]|0};q.prototype.g[149]=function(a,c){return(a.a[2]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[150]=function(a){return(a.a[2]<<2)+r(a)+a.a[6]|0};q.prototype.g[151]=function(a){return(a.a[2]<<2)+r(a)+a.a[7]|0};q.prototype.g[208]=
function(a){return(a.a[2]<<3)+r(a)+a.a[0]|0};q.prototype.g[209]=function(a){return(a.a[2]<<3)+r(a)+a.a[1]|0};q.prototype.g[210]=function(a){return(a.a[2]<<3)+r(a)+a.a[2]|0};q.prototype.g[211]=function(a){return(a.a[2]<<3)+r(a)+a.a[3]|0};q.prototype.g[212]=function(a){return(a.a[2]<<3)+v(a)+a.a[4]|0};q.prototype.g[213]=function(a,c){return(a.a[2]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[214]=function(a){return(a.a[2]<<3)+r(a)+a.a[6]|0};q.prototype.g[215]=function(a){return(a.a[2]<<3)+r(a)+a.a[7]|
0};q.prototype.g[24]=function(a){return a.a[3]+r(a)+a.a[0]|0};q.prototype.g[25]=function(a){return a.a[3]+r(a)+a.a[1]|0};q.prototype.g[26]=function(a){return a.a[3]+r(a)+a.a[2]|0};q.prototype.g[27]=function(a){return a.a[3]+r(a)+a.a[3]|0};q.prototype.g[28]=function(a){return a.a[3]+v(a)+a.a[4]|0};q.prototype.g[29]=function(a,c){return a.a[3]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[30]=function(a){return a.a[3]+r(a)+a.a[6]|0};q.prototype.g[31]=function(a){return a.a[3]+r(a)+a.a[7]|0};q.prototype.g[88]=
function(a){return(a.a[3]<<1)+r(a)+a.a[0]|0};q.prototype.g[89]=function(a){return(a.a[3]<<1)+r(a)+a.a[1]|0};q.prototype.g[90]=function(a){return(a.a[3]<<1)+r(a)+a.a[2]|0};q.prototype.g[91]=function(a){return(a.a[3]<<1)+r(a)+a.a[3]|0};q.prototype.g[92]=function(a){return(a.a[3]<<1)+v(a)+a.a[4]|0};q.prototype.g[93]=function(a,c){return(a.a[3]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[94]=function(a){return(a.a[3]<<1)+r(a)+a.a[6]|0};q.prototype.g[95]=function(a){return(a.a[3]<<1)+r(a)+a.a[7]|0};
q.prototype.g[152]=function(a){return(a.a[3]<<2)+r(a)+a.a[0]|0};q.prototype.g[153]=function(a){return(a.a[3]<<2)+r(a)+a.a[1]|0};q.prototype.g[154]=function(a){return(a.a[3]<<2)+r(a)+a.a[2]|0};q.prototype.g[155]=function(a){return(a.a[3]<<2)+r(a)+a.a[3]|0};q.prototype.g[156]=function(a){return(a.a[3]<<2)+v(a)+a.a[4]|0};q.prototype.g[157]=function(a,c){return(a.a[3]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[158]=function(a){return(a.a[3]<<2)+r(a)+a.a[6]|0};q.prototype.g[159]=function(a){return(a.a[3]<<
2)+r(a)+a.a[7]|0};q.prototype.g[216]=function(a){return(a.a[3]<<3)+r(a)+a.a[0]|0};q.prototype.g[217]=function(a){return(a.a[3]<<3)+r(a)+a.a[1]|0};q.prototype.g[218]=function(a){return(a.a[3]<<3)+r(a)+a.a[2]|0};q.prototype.g[219]=function(a){return(a.a[3]<<3)+r(a)+a.a[3]|0};q.prototype.g[220]=function(a){return(a.a[3]<<3)+v(a)+a.a[4]|0};q.prototype.g[221]=function(a,c){return(a.a[3]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[222]=function(a){return(a.a[3]<<3)+r(a)+a.a[6]|0};q.prototype.g[223]=
function(a){return(a.a[3]<<3)+r(a)+a.a[7]|0};q.prototype.g[32]=function(a){return r(a)+a.a[0]|0};q.prototype.g[33]=function(a){return r(a)+a.a[1]|0};q.prototype.g[34]=function(a){return r(a)+a.a[2]|0};q.prototype.g[35]=function(a){return r(a)+a.a[3]|0};q.prototype.g[36]=function(a){return v(a)+a.a[4]|0};q.prototype.g[37]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[38]=function(a){return r(a)+a.a[6]|0};q.prototype.g[39]=function(a){return r(a)+a.a[7]|0};q.prototype.g[96]=function(a){return r(a)+
a.a[0]|0};q.prototype.g[97]=function(a){return r(a)+a.a[1]|0};q.prototype.g[98]=function(a){return r(a)+a.a[2]|0};q.prototype.g[99]=function(a){return r(a)+a.a[3]|0};q.prototype.g[100]=function(a){return v(a)+a.a[4]|0};q.prototype.g[101]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[102]=function(a){return r(a)+a.a[6]|0};q.prototype.g[103]=function(a){return r(a)+a.a[7]|0};q.prototype.g[160]=function(a){return r(a)+a.a[0]|0};q.prototype.g[161]=function(a){return r(a)+a.a[1]|0};q.prototype.g[162]=
function(a){return r(a)+a.a[2]|0};q.prototype.g[163]=function(a){return r(a)+a.a[3]|0};q.prototype.g[164]=function(a){return v(a)+a.a[4]|0};q.prototype.g[165]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[166]=function(a){return r(a)+a.a[6]|0};q.prototype.g[167]=function(a){return r(a)+a.a[7]|0};q.prototype.g[224]=function(a){return r(a)+a.a[0]|0};q.prototype.g[225]=function(a){return r(a)+a.a[1]|0};q.prototype.g[226]=function(a){return r(a)+a.a[2]|0};q.prototype.g[227]=function(a){return r(a)+
a.a[3]|0};q.prototype.g[228]=function(a){return v(a)+a.a[4]|0};q.prototype.g[229]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[230]=function(a){return r(a)+a.a[6]|0};q.prototype.g[231]=function(a){return r(a)+a.a[7]|0};q.prototype.g[40]=function(a){return a.a[5]+r(a)+a.a[0]|0};q.prototype.g[41]=function(a){return a.a[5]+r(a)+a.a[1]|0};q.prototype.g[42]=function(a){return a.a[5]+r(a)+a.a[2]|0};q.prototype.g[43]=function(a){return a.a[5]+r(a)+a.a[3]|0};q.prototype.g[44]=function(a){return a.a[5]+
v(a)+a.a[4]|0};q.prototype.g[45]=function(a,c){return a.a[5]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[46]=function(a){return a.a[5]+r(a)+a.a[6]|0};q.prototype.g[47]=function(a){return a.a[5]+r(a)+a.a[7]|0};q.prototype.g[104]=function(a){return(a.a[5]<<1)+r(a)+a.a[0]|0};q.prototype.g[105]=function(a){return(a.a[5]<<1)+r(a)+a.a[1]|0};q.prototype.g[106]=function(a){return(a.a[5]<<1)+r(a)+a.a[2]|0};q.prototype.g[107]=function(a){return(a.a[5]<<1)+r(a)+a.a[3]|0};q.prototype.g[108]=function(a){return(a.a[5]<<
1)+v(a)+a.a[4]|0};q.prototype.g[109]=function(a,c){return(a.a[5]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[110]=function(a){return(a.a[5]<<1)+r(a)+a.a[6]|0};q.prototype.g[111]=function(a){return(a.a[5]<<1)+r(a)+a.a[7]|0};q.prototype.g[168]=function(a){return(a.a[5]<<2)+r(a)+a.a[0]|0};q.prototype.g[169]=function(a){return(a.a[5]<<2)+r(a)+a.a[1]|0};q.prototype.g[170]=function(a){return(a.a[5]<<2)+r(a)+a.a[2]|0};q.prototype.g[171]=function(a){return(a.a[5]<<2)+r(a)+a.a[3]|0};q.prototype.g[172]=
function(a){return(a.a[5]<<2)+v(a)+a.a[4]|0};q.prototype.g[173]=function(a,c){return(a.a[5]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[174]=function(a){return(a.a[5]<<2)+r(a)+a.a[6]|0};q.prototype.g[175]=function(a){return(a.a[5]<<2)+r(a)+a.a[7]|0};q.prototype.g[232]=function(a){return(a.a[5]<<3)+r(a)+a.a[0]|0};q.prototype.g[233]=function(a){return(a.a[5]<<3)+r(a)+a.a[1]|0};q.prototype.g[234]=function(a){return(a.a[5]<<3)+r(a)+a.a[2]|0};q.prototype.g[235]=function(a){return(a.a[5]<<3)+r(a)+a.a[3]|
0};q.prototype.g[236]=function(a){return(a.a[5]<<3)+v(a)+a.a[4]|0};q.prototype.g[237]=function(a,c){return(a.a[5]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[238]=function(a){return(a.a[5]<<3)+r(a)+a.a[6]|0};q.prototype.g[239]=function(a){return(a.a[5]<<3)+r(a)+a.a[7]|0};q.prototype.g[48]=function(a){return a.a[6]+r(a)+a.a[0]|0};q.prototype.g[49]=function(a){return a.a[6]+r(a)+a.a[1]|0};q.prototype.g[50]=function(a){return a.a[6]+r(a)+a.a[2]|0};q.prototype.g[51]=function(a){return a.a[6]+r(a)+
a.a[3]|0};q.prototype.g[52]=function(a){return a.a[6]+v(a)+a.a[4]|0};q.prototype.g[53]=function(a,c){return a.a[6]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[54]=function(a){return a.a[6]+r(a)+a.a[6]|0};q.prototype.g[55]=function(a){return a.a[6]+r(a)+a.a[7]|0};q.prototype.g[112]=function(a){return(a.a[6]<<1)+r(a)+a.a[0]|0};q.prototype.g[113]=function(a){return(a.a[6]<<1)+r(a)+a.a[1]|0};q.prototype.g[114]=function(a){return(a.a[6]<<1)+r(a)+a.a[2]|0};q.prototype.g[115]=function(a){return(a.a[6]<<1)+
r(a)+a.a[3]|0};q.prototype.g[116]=function(a){return(a.a[6]<<1)+v(a)+a.a[4]|0};q.prototype.g[117]=function(a,c){return(a.a[6]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[118]=function(a){return(a.a[6]<<1)+r(a)+a.a[6]|0};q.prototype.g[119]=function(a){return(a.a[6]<<1)+r(a)+a.a[7]|0};q.prototype.g[176]=function(a){return(a.a[6]<<2)+r(a)+a.a[0]|0};q.prototype.g[177]=function(a){return(a.a[6]<<2)+r(a)+a.a[1]|0};q.prototype.g[178]=function(a){return(a.a[6]<<2)+r(a)+a.a[2]|0};q.prototype.g[179]=function(a){return(a.a[6]<<
2)+r(a)+a.a[3]|0};q.prototype.g[180]=function(a){return(a.a[6]<<2)+v(a)+a.a[4]|0};q.prototype.g[181]=function(a,c){return(a.a[6]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[182]=function(a){return(a.a[6]<<2)+r(a)+a.a[6]|0};q.prototype.g[183]=function(a){return(a.a[6]<<2)+r(a)+a.a[7]|0};q.prototype.g[240]=function(a){return(a.a[6]<<3)+r(a)+a.a[0]|0};q.prototype.g[241]=function(a){return(a.a[6]<<3)+r(a)+a.a[1]|0};q.prototype.g[242]=function(a){return(a.a[6]<<3)+r(a)+a.a[2]|0};q.prototype.g[243]=
function(a){return(a.a[6]<<3)+r(a)+a.a[3]|0};q.prototype.g[244]=function(a){return(a.a[6]<<3)+v(a)+a.a[4]|0};q.prototype.g[245]=function(a,c){return(a.a[6]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[246]=function(a){return(a.a[6]<<3)+r(a)+a.a[6]|0};q.prototype.g[247]=function(a){return(a.a[6]<<3)+r(a)+a.a[7]|0};q.prototype.g[56]=function(a){return a.a[7]+r(a)+a.a[0]|0};q.prototype.g[57]=function(a){return a.a[7]+r(a)+a.a[1]|0};q.prototype.g[58]=function(a){return a.a[7]+r(a)+a.a[2]|0};q.prototype.g[59]=
function(a){return a.a[7]+r(a)+a.a[3]|0};q.prototype.g[60]=function(a){return a.a[7]+v(a)+a.a[4]|0};q.prototype.g[61]=function(a,c){return a.a[7]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[62]=function(a){return a.a[7]+r(a)+a.a[6]|0};q.prototype.g[63]=function(a){return a.a[7]+r(a)+a.a[7]|0};q.prototype.g[120]=function(a){return(a.a[7]<<1)+r(a)+a.a[0]|0};q.prototype.g[121]=function(a){return(a.a[7]<<1)+r(a)+a.a[1]|0};q.prototype.g[122]=function(a){return(a.a[7]<<1)+r(a)+a.a[2]|0};q.prototype.g[123]=
function(a){return(a.a[7]<<1)+r(a)+a.a[3]|0};q.prototype.g[124]=function(a){return(a.a[7]<<1)+v(a)+a.a[4]|0};q.prototype.g[125]=function(a,c){return(a.a[7]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[126]=function(a){return(a.a[7]<<1)+r(a)+a.a[6]|0};q.prototype.g[127]=function(a){return(a.a[7]<<1)+r(a)+a.a[7]|0};q.prototype.g[184]=function(a){return(a.a[7]<<2)+r(a)+a.a[0]|0};q.prototype.g[185]=function(a){return(a.a[7]<<2)+r(a)+a.a[1]|0};q.prototype.g[186]=function(a){return(a.a[7]<<2)+r(a)+a.a[2]|
0};q.prototype.g[187]=function(a){return(a.a[7]<<2)+r(a)+a.a[3]|0};q.prototype.g[188]=function(a){return(a.a[7]<<2)+v(a)+a.a[4]|0};q.prototype.g[189]=function(a,c){return(a.a[7]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[190]=function(a){return(a.a[7]<<2)+r(a)+a.a[6]|0};q.prototype.g[191]=function(a){return(a.a[7]<<2)+r(a)+a.a[7]|0};q.prototype.g[248]=function(a){return(a.a[7]<<3)+r(a)+a.a[0]|0};q.prototype.g[249]=function(a){return(a.a[7]<<3)+r(a)+a.a[1]|0};q.prototype.g[250]=function(a){return(a.a[7]<<
3)+r(a)+a.a[2]|0};q.prototype.g[251]=function(a){return(a.a[7]<<3)+r(a)+a.a[3]|0};q.prototype.g[252]=function(a){return(a.a[7]<<3)+v(a)+a.a[4]|0};q.prototype.g[253]=function(a,c){return(a.a[7]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[254]=function(a){return(a.a[7]<<3)+r(a)+a.a[6]|0};q.prototype.g[255]=function(a){return(a.a[7]<<3)+r(a)+a.a[7]|0};q.prototype.h=function(a){return(this.sb?this.b:this.e)[a](this)}})();"use strict";
q.prototype.add=function(a,c,d){this.Fa=a;this.Ga=c;this.j=this.C=a+c|0;this.Z=d;this.n=2261;return this.C};function Ca(a,c,d,f){var g=a.ta();a.Fa=c;a.Ga=d;a.j=a.C=(c+d|0)+g|0;a.Z=f;a.n=2261;return a.C}q.prototype.sub=function(a,c,d){this.j=a;this.Ga=c;this.Fa=this.C=a-c|0;this.Z=d;this.n=2261;return this.C};function Ea(a,c,d,f){var g=a.ta();a.j=c;a.Ga=d;a.Fa=a.C=c-d-g|0;a.Z=f;a.n=2261;return a.C}function Fa(a,c,d){a.f=a.f&-2|a.ta();a.Fa=c;a.Ga=1;a.j=a.C=c+1|0;a.Z=d;a.n=2260;return a.C}
function Ga(a,c,d){a.f=a.f&-2|a.ta();a.j=c;a.Ga=1;a.Fa=a.C=c-1|0;a.Z=d;a.n=2260;return a.C}function Ha(a,c,d){a.Fa=a.C=-c|0;a.n=2261;a.j=0;a.Ga=c;a.Z=d;return a.C}function Ja(a,c,d){c=c*d;a.f=32767<c||-32768>c?a.f|2049:a.f&-2050;a.n=0;return c}
function Ka(a,c,d){var f=!1;0>c&&(f=!0,c=-c|0);0>d&&(f=!f,d=-d|0);var g=c&65535;c=c>>>16;var h=d&65535;d=d>>>16;var k=g*h,h=(k>>>16)+(c*h|0)|0,m=h>>>16,h=(h&65535)+(g*d|0)|0,k=h<<16|k&65535,m=((h>>>16)+(c*d|0)|0)+m|0;f&&(k=-k|0,m=~m+!k|0);a.f=m===k>>31?a.f&-2050:a.f|2049;a.n=0;return k}function z(a,c,d,f){a.C=c&d;a.Z=f;a.f&=-2066;a.n=196;return a.C}function La(a,c,d,f){a.C=c|d;a.Z=f;a.f&=-2066;a.n=196;return a.C}function Ma(a,c,d,f){a.C=c^d;a.Z=f;a.f&=-2066;a.n=196;return a.C}
function Pa(a,c,d){if(!d)return c;d&=7;c=c<<d|c>>8-d;a.n&=-2050;a.f=a.f&-2050|c&1|(c<<11^c<<4)&2048;return c}function Qa(a,c,d){if(!d)return c;d&=15;c=c<<d|c>>16-d;a.n&=-2050;a.f=a.f&-2050|c&1|(c<<11^c>>4)&2048;return c}function Ra(a,c,d){if(!d)return c;c=c<<d|c>>>32-d;a.n&=-2050;a.f=a.f&-2050|c&1|(c<<11^c>>20)&2048;return c}function Sa(a,c,d){d%=9;if(!d)return c;c=c<<d|a.ta()<<d-1|c>>9-d;a.n&=-2050;a.f=a.f&-2050|c>>8&1|(c<<3^c<<4)&2048;return c}
function Va(a,c,d){d%=17;if(!d)return c;c=c<<d|a.ta()<<d-1|c>>17-d;a.n&=-2050;a.f=a.f&-2050|c>>16&1|(c>>5^c>>4)&2048;return c}function Wa(a,c,d){if(!d)return c;var f=c<<d|a.ta()<<d-1;1<d&&(f|=c>>>33-d);a.n&=-2050;a.f=a.f&-2050|c>>>32-d&1;a.f|=(a.f<<11^f>>20)&2048;return f}function Xa(a,c,d){if(!d)return c;d&=7;c=c>>d|c<<8-d;a.n&=-2050;a.f=a.f&-2050|c>>7&1|(c<<4^c<<5)&2048;return c}function Ya(a,c,d){if(!d)return c;d&=15;c=c>>d|c<<16-d;a.n&=-2050;a.f=a.f&-2050|c>>15&1|(c>>4^c>>3)&2048;return c}
function Za(a,c,d){if(!d)return c;c=c>>>d|c<<32-d;a.n&=-2050;a.f=a.f&-2050|c>>31&1|(c>>20^c>>19)&2048;return c}function $a(a,c,d){d%=9;if(!d)return c;c=c>>d|a.ta()<<8-d|c<<9-d;a.n&=-2050;a.f=a.f&-2050|c>>8&1|(c<<4^c<<5)&2048;return c}function ab(a,c,d){d%=17;if(!d)return c;c=c>>d|a.ta()<<16-d|c<<17-d;a.n&=-2050;a.f=a.f&-2050|c>>16&1|(c>>4^c>>3)&2048;return c}function bb(a,c,d){if(!d)return c;var f=c>>>d|a.ta()<<32-d;1<d&&(f|=c<<33-d);a.n&=-2050;a.f=a.f&-2050|c>>d-1&1|(f>>20^f>>19)&2048;return f}
function cb(a,c,d){if(0===d)return c;a.C=c<<d;a.Z=7;a.n=212;a.f=a.f&-2050|a.C>>8&1|(a.C<<3^a.C<<4)&2048;return a.C}function db(a,c,d){if(0===d)return c;a.C=c<<d;a.Z=15;a.n=212;a.f=a.f&-2050|a.C>>16&1|(a.C>>5^a.C>>4)&2048;return a.C}function gb(a,c,d){if(0===d)return c;a.C=c<<d;a.Z=31;a.n=212;a.f=a.f&-2050|c>>>32-d&1;a.f|=(a.f&1^a.C>>31&1)<<11&2048;return a.C}function hb(a,c,d){if(0===d)return c;a.C=c>>d;a.Z=7;a.n=212;a.f=a.f&-2050|c>>d-1&1|(c>>7&1)<<11&2048;return a.C}
function ib(a,c,d){if(0===d)return c;a.C=c>>d;a.Z=15;a.n=212;a.f=a.f&-2050|c>>d-1&1|c>>4&2048;return a.C}function jb(a,c,d){if(0===d)return c;a.C=c>>>d;a.Z=31;a.n=212;a.f=a.f&-2050|c>>>d-1&1|c>>20&2048;return a.C}function kb(a,c,d){if(0===d)return c;8>d?(a.C=c<<24>>d+24,a.f=a.f&-2050|c>>d-1&1):(a.C=c<<24>>31,a.f=a.f&-2050|a.C&1);a.Z=7;a.n=212;return a.C}
function lb(a,c,d){if(0===d)return c;16>d?(a.C=c<<16>>d+16,a.f=a.f&-2050|c>>d-1&1):(a.C=c<<16>>31,a.f=a.f&-2050|a.C&1);a.Z=15;a.n=212;return a.C}function mb(a,c,d){if(0===d)return c;a.C=c>>d;a.Z=31;a.n=212;a.f=a.f&-2050|c>>>d-1&1;return a.C}function nb(a,c,d,f){if(0===f)return c;16>=f?(a.C=c>>f|d<<16-f,a.f=a.f&-2|c>>f-1&1):(a.C=c<<32-f|d>>f-16,a.f=a.f&-2|d>>f-17&1);a.Z=15;a.n=212;a.f=a.f&-2049|(a.C^c)>>4&2048;return a.C}
function ob(a,c,d,f){if(0===f)return c;a.C=c>>>f|d<<32-f;a.Z=31;a.n=212;a.f=a.f&-2|c>>>f-1&1;a.f=a.f&-2049|(a.C^c)>>20&2048;return a.C}function pb(a,c,d,f){if(0===f)return c;16>=f?(a.C=c<<f|d>>>16-f,a.f=a.f&-2|c>>>16-f&1):(a.C=c>>32-f|d<<f-16,a.f=a.f&-2|d>>>32-f&1);a.Z=15;a.n=212;a.f=a.f&-2049|(a.f&1^a.C>>15&1)<<11;return a.C}function qb(a,c,d,f){if(0===f)return c;a.C=c<<f|d>>>32-f;a.Z=31;a.n=212;a.f=a.f&-2|c>>>32-f&1;a.f=a.f&-2049|(a.f&1^a.C>>31&1)<<11;return a.C}
function rb(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2}function sb(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2;return c^1<<d}function tb(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2;return c|1<<d}function ub(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2;return c&~(1<<d)}function vb(a,c,d){c=B(a,c+(d>>3));a.f=a.f&-2|c>>(d&7)&1;a.n&=-2}function wb(a,c,d){c=C(a,c+(d>>3));var f=a.memory.M(c);d&=7;a.f=a.f&-2|f>>d&1;a.n&=-2;a.memory.T(c,f^1<<d)}
function xb(a,c,d){c=C(a,c+(d>>3));var f=a.memory.M(c);d&=7;a.f=a.f&-2|f>>d&1;a.n&=-2;a.memory.T(c,f&~(1<<d))}function Cb(a,c,d){c=C(a,c+(d>>3));var f=a.memory.M(c);d&=7;a.f=a.f&-2|f>>d&1;a.n&=-2;a.memory.T(c,f|1<<d)}function Db(a,c){a.n=0;a.f&=-2262;if(c)return c=c-(c>>1&1431655765),c=(c&858993459)+(c>>2&858993459),16843009*(c+(c>>4)&252645135)>>24;a.f|=64;return 0}"use strict";function Eb(a,c){return 0>a?(c&4095)>>(-a>>1):(~c&4095)>>a}function Fb(a,c,d){return Math.min(Eb(a,c),Eb(a,d))}"use strict";
var E=[],F=[],G=[],H=[];q.prototype.Ld=E;q.prototype.Md=F;q.prototype.Te=G;q.prototype.Ue=H;E[0]=F[0]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=a.add(d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[1]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=a.add(d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
F[1]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=a.add(d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[2]=F[2]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=a.add(a.k[c>>1&12|c>>5&1],d,7)};E[3]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=a.add(a.d[c>>2&14],d,15)};
F[3]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=a.add(a.a[c>>3&7],d,31)};E[4]=F[4]=function(a){a.k[0]=a.add(a.k[0],y(a),7)};E[5]=function(a){a.d[0]=a.add(a.d[0],u(a),15)};F[5]=function(a){a.a[0]=a.add(a.a[0],w(a),31)};E[6]=function(a){L(a,a.N[0])};F[6]=function(a){M(a,a.N[0])};E[7]=function(a){N(a,0,J(a,Kb(a,0)));a.u[a.D]+=2};F[7]=function(a){N(a,0,J(a,Kb(a,0)));a.u[a.D]+=4};
E[8]=F[8]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=La(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[9]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=La(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
F[9]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=La(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[10]=F[10]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=La(a,a.k[c>>1&12|c>>5&1],d,7)};E[11]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=La(a,a.d[c>>2&14],d,15)};
F[11]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=La(a,a.a[c>>3&7],d,31)};E[12]=F[12]=function(a){a.k[0]=La(a,a.k[0],y(a),7)};E[13]=function(a){a.d[0]=La(a,a.d[0],u(a),15)};F[13]=function(a){a.a[0]=La(a,a.a[0],w(a),31)};E[14]=function(a){L(a,a.N[1])};F[14]=function(a){M(a,a.N[1])};E[15]=function(a){a.Te[y(a)](a)};F[15]=function(a){a.Ue[y(a)](a)};
E[16]=F[16]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ca(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[17]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ca(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
F[17]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ca(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[18]=F[18]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=Ca(a,a.k[c>>1&12|c>>5&1],d,7)};E[19]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Ca(a,a.d[c>>2&14],d,15)};
F[19]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ca(a,a.a[c>>3&7],d,31)};E[20]=F[20]=function(a){a.k[0]=Ca(a,a.k[0],y(a),7)};E[21]=function(a){a.d[0]=Ca(a,a.d[0],u(a),15)};F[21]=function(a){a.a[0]=Ca(a,a.a[0],w(a),31)};E[22]=function(a){L(a,a.N[2])};F[22]=function(a){M(a,a.N[2])};E[23]=function(a){N(a,2,J(a,Kb(a,0)));a.u[a.D]+=2};F[23]=function(a){N(a,2,J(a,Kb(a,0)));a.u[a.D]+=4};
E[24]=F[24]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ea(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[25]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ea(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
F[25]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ea(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[26]=F[26]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=Ea(a,a.k[c>>1&12|c>>5&1],d,7)};E[27]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Ea(a,a.d[c>>2&14],d,15)};
F[27]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ea(a,a.a[c>>3&7],d,31)};E[28]=F[28]=function(a){a.k[0]=Ea(a,a.k[0],y(a),7)};E[29]=function(a){a.d[0]=Ea(a,a.d[0],u(a),15)};F[29]=function(a){a.a[0]=Ea(a,a.a[0],w(a),31)};E[30]=function(a){L(a,a.N[3])};F[30]=function(a){M(a,a.N[3])};E[31]=function(a){N(a,3,J(a,Kb(a,0)));a.u[a.D]+=2};F[31]=function(a){N(a,3,J(a,Kb(a,0)));a.u[a.D]+=4};
E[32]=F[32]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=z(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[33]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=z(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
F[33]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=z(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[34]=F[34]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=z(a,a.k[c>>1&12|c>>5&1],d,7)};E[35]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=z(a,a.d[c>>2&14],d,15)};
F[35]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=z(a,a.a[c>>3&7],d,31)};E[36]=F[36]=function(a){a.k[0]=z(a,a.k[0],y(a),7)};E[37]=function(a){a.d[0]=z(a,a.d[0],u(a),15)};F[37]=function(a){a.a[0]=z(a,a.a[0],w(a),31)};E[38]=F[38]=function(a){a.ha=0;Lb(a);a.ha=-1};E[39]=F[39]=function(a){var c=a.k[0],d=a.ta(),f=Mb(a);a.f&=-18;if(9<(c&15)||f)a.k[0]+=6,a.f|=16;if(153<c||d)a.k[0]+=96,a.f|=1;a.C=a.k[0];a.Z=7;a.Fa=a.Ga=0;a.n=196};
E[40]=F[40]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=a.sub(d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[41]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=a.sub(d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
F[41]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=a.sub(d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[42]=F[42]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=a.sub(a.k[c>>1&12|c>>5&1],d,7)};E[43]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=a.sub(a.d[c>>2&14],d,15)};
F[43]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=a.sub(a.a[c>>3&7],d,31)};E[44]=F[44]=function(a){a.k[0]=a.sub(a.k[0],y(a),7)};E[45]=function(a){a.d[0]=a.sub(a.d[0],u(a),15)};F[45]=function(a){a.a[0]=a.sub(a.a[0],w(a),31)};E[46]=F[46]=function(a){a.ha=1;Lb(a);a.ha=-1};E[47]=F[47]=function(a){var c=a.k[0],d=a.ta();a.f&=-2;9<(c&15)||Mb(a)?(a.k[0]-=6,a.f|=16,a.f=a.f&-2|d|a.k[0]>>7):a.f&=-17;if(153<c||d)a.k[0]-=96,a.f|=1;a.C=a.k[0];a.Z=7;a.Fa=a.Ga=0;a.n=196};
E[48]=F[48]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ma(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[49]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ma(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
F[49]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ma(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[50]=F[50]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=Ma(a,a.k[c>>1&12|c>>5&1],d,7)};E[51]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Ma(a,a.d[c>>2&14],d,15)};
F[51]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ma(a,a.a[c>>3&7],d,31)};E[52]=F[52]=function(a){a.k[0]=Ma(a,a.k[0],y(a),7)};E[53]=function(a){a.d[0]=Ma(a,a.d[0],u(a),15)};F[53]=function(a){a.a[0]=Ma(a,a.a[0],w(a),31)};E[54]=F[54]=function(a){a.ha=2;Lb(a);a.ha=-1};E[55]=F[55]=function(a){9<(a.k[0]&15)||Mb(a)?(a.d[0]+=6,a.k[1]+=1,a.f|=17):a.f&=-18;a.k[0]&=15;a.n&=-18};E[56]=F[56]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.sub(d,a.k[c>>1&12|c>>5&1],7)};
E[57]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(d,a.d[c>>2&14],15)};F[57]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(d,a.a[c>>3&7],31)};E[58]=F[58]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.sub(a.k[c>>1&12|c>>5&1],d,7)};E[59]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(a.d[c>>2&14],d,15)};F[59]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(a.a[c>>3&7],d,31)};E[60]=F[60]=function(a){a.sub(a.k[0],y(a),7)};
E[61]=function(a){a.sub(a.d[0],u(a),15)};F[61]=function(a){a.sub(a.a[0],w(a),31)};E[62]=F[62]=function(a){a.ha=3;Lb(a);a.ha=-1};E[63]=F[63]=function(a){9<(a.k[0]&15)||Mb(a)?(a.d[0]-=6,--a.k[1],a.f|=17):a.f&=-18;a.k[0]&=15;a.n&=-18};E[64]=function(a){a.d[0]=Fa(a,a.d[0],15)};F[64]=function(a){a.a[0]=Fa(a,a.a[0],31)};E[65]=function(a){a.d[2]=Fa(a,a.d[2],15)};F[65]=function(a){a.a[1]=Fa(a,a.a[1],31)};E[66]=function(a){a.d[4]=Fa(a,a.d[4],15)};F[66]=function(a){a.a[2]=Fa(a,a.a[2],31)};
E[67]=function(a){a.d[6]=Fa(a,a.d[6],15)};F[67]=function(a){a.a[3]=Fa(a,a.a[3],31)};E[68]=function(a){a.d[8]=Fa(a,a.d[8],15)};F[68]=function(a){a.a[4]=Fa(a,a.a[4],31)};E[69]=function(a){a.d[10]=Fa(a,a.d[10],15)};F[69]=function(a){a.a[5]=Fa(a,a.a[5],31)};E[70]=function(a){a.d[12]=Fa(a,a.d[12],15)};F[70]=function(a){a.a[6]=Fa(a,a.a[6],31)};E[71]=function(a){a.d[14]=Fa(a,a.d[14],15)};F[71]=function(a){a.a[7]=Fa(a,a.a[7],31)};E[72]=function(a){a.d[0]=Ga(a,a.d[0],15)};
F[72]=function(a){a.a[0]=Ga(a,a.a[0],31)};E[73]=function(a){a.d[2]=Ga(a,a.d[2],15)};F[73]=function(a){a.a[1]=Ga(a,a.a[1],31)};E[74]=function(a){a.d[4]=Ga(a,a.d[4],15)};F[74]=function(a){a.a[2]=Ga(a,a.a[2],31)};E[75]=function(a){a.d[6]=Ga(a,a.d[6],15)};F[75]=function(a){a.a[3]=Ga(a,a.a[3],31)};E[76]=function(a){a.d[8]=Ga(a,a.d[8],15)};F[76]=function(a){a.a[4]=Ga(a,a.a[4],31)};E[77]=function(a){a.d[10]=Ga(a,a.d[10],15)};F[77]=function(a){a.a[5]=Ga(a,a.a[5],31)};
E[78]=function(a){a.d[12]=Ga(a,a.d[12],15)};F[78]=function(a){a.a[6]=Ga(a,a.a[6],31)};E[79]=function(a){a.d[14]=Ga(a,a.d[14],15)};F[79]=function(a){a.a[7]=Ga(a,a.a[7],31)};E[80]=function(a){L(a,a.d[0])};F[80]=function(a){M(a,a.a[0])};E[81]=function(a){L(a,a.d[2])};F[81]=function(a){M(a,a.a[1])};E[82]=function(a){L(a,a.d[4])};F[82]=function(a){M(a,a.a[2])};E[83]=function(a){L(a,a.d[6])};F[83]=function(a){M(a,a.a[3])};E[84]=function(a){L(a,a.d[8])};F[84]=function(a){M(a,a.a[4])};
E[85]=function(a){L(a,a.d[10])};F[85]=function(a){M(a,a.a[5])};E[86]=function(a){L(a,a.d[12])};F[86]=function(a){M(a,a.a[6])};E[87]=function(a){L(a,a.d[14])};F[87]=function(a){M(a,a.a[7])};E[88]=function(a){a.d[0]=Nb(a)};F[88]=function(a){a.a[0]=P(a)};E[89]=function(a){a.d[2]=Nb(a)};F[89]=function(a){a.a[1]=P(a)};E[90]=function(a){a.d[4]=Nb(a)};F[90]=function(a){a.a[2]=P(a)};E[91]=function(a){a.d[6]=Nb(a)};F[91]=function(a){a.a[3]=P(a)};E[92]=function(a){a.d[8]=Nb(a)};F[92]=function(a){a.a[4]=P(a)};
E[93]=function(a){a.d[10]=Nb(a)};F[93]=function(a){a.a[5]=P(a)};E[94]=function(a){a.d[12]=Nb(a)};F[94]=function(a){a.a[6]=P(a)};E[95]=function(a){a.d[14]=Nb(a)};F[95]=function(a){a.a[7]=P(a)};E[96]=function(a){var c=a.d[8];C(a,a.B[2]+a.u[a.D]-15|0);L(a,a.d[0]);L(a,a.d[2]);L(a,a.d[4]);L(a,a.d[6]);L(a,c);L(a,a.d[10]);L(a,a.d[12]);L(a,a.d[14])};F[96]=function(a){var c=a.a[4];C(a,a.B[2]+a.u[a.D]-31|0);M(a,a.a[0]);M(a,a.a[1]);M(a,a.a[2]);M(a,a.a[3]);M(a,c);M(a,a.a[5]);M(a,a.a[6]);M(a,a.a[7])};
E[97]=function(a){Q(a,a.B[2]+a.u[a.D]+15|0);a.d[14]=Nb(a);a.d[12]=Nb(a);a.d[10]=Nb(a);a.u[a.D]+=2;a.d[6]=Nb(a);a.d[4]=Nb(a);a.d[2]=Nb(a);a.d[0]=Nb(a)};F[97]=function(a){Q(a,a.B[2]+a.u[a.D]+31|0);a.a[7]=P(a);a.a[6]=P(a);a.a[5]=P(a);a.u[a.D]+=4;a.a[3]=P(a);a.a[2]=P(a);a.a[1]=P(a);a.a[0]=P(a)};E[98]=F[98]=function(){};
E[99]=F[99]=function(a){var c=y(a);if(a.ma&&!Ob(a)){var d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];var h=c>>2&14;a.n&=-65;(d&3)<(a.d[h]&3)?(a.f|=64,d=d&-4|a.d[h]&3):a.f&=-65;192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}else R(a)};E[100]=F[100]=function(a){a.ha=4;Lb(a);a.ha=-1};E[101]=F[101]=function(a){a.ha=5;Lb(a);a.ha=-1};E[102]=function(a){a.Qa=!0;a.table=a.Md;Lb(a);a.Qa=a.Ea;za(a)};
F[102]=function(a){a.Qa=!1;a.table=a.Ld;Lb(a);a.Qa=a.Ea;za(a)};E[103]=F[103]=function(a){a.sb=!a.Ea;ya(a);Lb(a);a.sb=a.Ea;ya(a)};E[104]=function(a){L(a,u(a))};F[104]=function(a){M(a,w(a))};E[105]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.d[c>>2&14]=Ja(a,u(a)<<16>>16,d)};F[105]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ka(a,w(a),d)};E[106]=function(a){L(a,t(a))};F[106]=function(a){M(a,t(a))};
E[107]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.d[c>>2&14]=Ja(a,t(a),d)};F[107]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ka(a,t(a),d)};
E[108]=F[108]=function(a){a:{var c=a.d[4];Pb(a,c,1);var d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=C(a,d);a.w&&(m=Eb(f,d));do a.memory.T(p,Qb(a.p,c)),p+=f,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else Rb(a,d,Qb(a.p,c)),a.i[a.o]+=f;g&&(a.l=a.W)}};
E[109]=function(a){a:{var c=a.d[4];Pb(a,c,2);var d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1){do S(a,d,Sb(a.p,c)),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>1;a.w&&(m=Eb(f,d));do Tb(a.memory,x,Sb(a.p,c)),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else S(a,d,Sb(a.p,c)),a.i[a.o]+=f;g&&(a.l=a.W)}};
F[109]=function(a){a:{var c=a.d[4];Pb(a,c,4);var d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-4:4,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&3){do T(a,d,Ub(a.p,c)),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>>2;a.w&&(m=Eb(f,d));do Wb(a.memory,x,Ub(a.p,c)),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else T(a,d,Ub(a.p,c)),a.i[a.o]+=f;g&&(a.l=a.W)}};
E[110]=F[110]=function(a){a:{var c=a.d[4];Pb(a,c,1);var d=Xb(a,3)+a.i[a.A]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=Q(a,d);a.w&&(m=Eb(f,d));do Yb(a.p,c,a.memory.M(p)),p+=f,g=0!==--h;while(g&&m--);a.i[a.A]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else Yb(a.p,c,B(a,d)),a.i[a.A]+=f;g&&(a.l=a.W)}};
E[111]=function(a){a:{var c=a.d[4];Pb(a,c,2);var d=Xb(a,3)+a.i[a.A]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1){do Zb(a.p,c,J(a,d)),d+=f,a.i[a.A]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=Q(a,d)>>1;a.w&&(m=Eb(f,d));do Zb(a.p,c,$b(a.memory,x)),x+=p,g=0!==--h;while(g&&m--);a.i[a.A]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else Zb(a.p,c,J(a,d)),a.i[a.A]+=f;g&&(a.l=a.W)}};
F[111]=function(a){a:{var c=a.d[4];Pb(a,c,4);var d=Xb(a,3)+a.i[a.A]|0,f=a.f&1024?-4:4,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&3){do ac(a.p,c,K(a,d)),d+=f,a.i[a.A]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=Q(a,d)>>>2;a.w&&(m=Eb(f,d));do ac(a.p,c,bc(a.memory,x)),x+=p,g=0!==--h;while(g&&m--);a.i[a.A]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else ac(a.p,c,K(a,d)),a.i[a.A]+=f;g&&(a.l=a.W)}};E[112]=F[112]=function(a){a.Ya()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};
E[113]=F[113]=function(a){a.Ya()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[114]=F[114]=function(a){a.La()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[115]=F[115]=function(a){a.La()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[116]=F[116]=function(a){a.Na()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[117]=F[117]=function(a){a.Na()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[118]=F[118]=function(a){cc(a)&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[119]=F[119]=function(a){cc(a)||(a.l=a.l+t(a)|0);a.l++;a.K=!0};
E[120]=F[120]=function(a){a.Za()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[121]=F[121]=function(a){a.Za()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[122]=F[122]=function(a){a.Ma()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[123]=F[123]=function(a){a.Ma()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[124]=F[124]=function(a){dc(a)&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[125]=F[125]=function(a){dc(a)||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[126]=F[126]=function(a){ec(a)&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};
E[127]=F[127]=function(a){ec(a)||(a.l=a.l+t(a)|0);a.l++;a.K=!0};
E[128]=F[128]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.sub(d,y(a),7)}else{var f,g,h;192>c?(g=C(a,a.h(c)),d=a.memory.M(g)):d=a.k[c<<2&12|c>>2&1];h=0;f=y(a);switch(c>>3&7){case 0:h=a.add(d,f,7);break;case 1:h=La(a,d,f,7);break;case 2:h=Ca(a,d,f,7);break;case 3:h=Ea(a,d,f,7);break;case 4:h=z(a,d,f,7);break;case 5:h=a.sub(d,f,7);break;case 6:h=Ma(a,d,f,7);break;case 7:h=fc.bind(this,0)(d,f)}192>c?a.memory.T(g,h):a.k[c<<2&12|c>>2&1]=h}};
E[129]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(d,u(a),15)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),d=Gb(a,g,h)):d=a.memory.L(g)):d=a.d[c<<1&14];k=0;f=u(a);switch(c>>3&7){case 0:k=a.add(d,f,15);break;case 1:k=La(a,d,f,15);break;case 2:k=Ca(a,d,f,15);break;case 3:k=Ea(a,d,f,15);break;case 4:k=z(a,d,f,15);break;case 5:k=a.sub(d,f,15);break;case 6:k=Ma(a,d,f,15);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Hb(a,g,h,k):a.memory.ca(g,
k):a.d[c<<1&14]=k}};
F[129]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(d,w(a),31)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),d=Ib(a,g,h)):d=I(a.memory,g)):d=a.a[c&7];k=0;f=w(a);switch(c>>3&7){case 0:k=a.add(d,f,31);break;case 1:k=La(a,d,f,31);break;case 2:k=Ca(a,d,f,31);break;case 3:k=Ea(a,d,f,31);break;case 4:k=z(a,d,f,31);break;case 5:k=a.sub(d,f,31);break;case 6:k=Ma(a,d,f,31);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k):
a.a[c&7]=k}};E[130]=F[130]=function(a){a.table[128](a)};
E[131]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(d,t(a),15)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),d=Gb(a,g,h)):d=a.memory.L(g)):d=a.d[c<<1&14];k=0;f=t(a);switch(c>>3&7){case 0:k=a.add(d,f,15);break;case 1:k=La(a,d,f,15);break;case 2:k=Ca(a,d,f,15);break;case 3:k=Ea(a,d,f,15);break;case 4:k=z(a,d,f,15);break;case 5:k=a.sub(d,f,15);break;case 6:k=Ma(a,d,f,15);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Hb(a,g,h,k):a.memory.ca(g,
k):a.d[c<<1&14]=k}};
F[131]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(d,t(a),31)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),d=Ib(a,g,h)):d=I(a.memory,g)):d=a.a[c&7];k=0;f=t(a);switch(c>>3&7){case 0:k=a.add(d,f,31);break;case 1:k=La(a,d,f,31);break;case 2:k=Ca(a,d,f,31);break;case 3:k=Ea(a,d,f,31);break;case 4:k=z(a,d,f,31);break;case 5:k=a.sub(d,f,31);break;case 6:k=Ma(a,d,f,31);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k):
a.a[c&7]=k}};E[132]=F[132]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];z(a,d,a.k[c>>1&12|c>>5&1],7)};E[133]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];z(a,d,a.d[c>>2&14],15)};F[133]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];z(a,d,a.a[c>>3&7],31)};E[134]=F[134]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,h=a.k[g];a.k[g]=d;192>c?a.memory.T(f,h):a.k[c<<2&12|c>>2&1]=h};
E[135]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];var h=c>>2&14,k=a.d[h];a.d[h]=d;192>c?g?Hb(a,f,g,k):a.memory.ca(f,k):a.d[c<<1&14]=k};F[135]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];var h=c>>3&7,k=a.a[h];a.a[h]=d;192>c?g?Jb(a,f,g,k):a.memory.da(f,k):a.a[c&7]=k};
E[136]=F[136]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.k[c>>1&12|c>>5&1];192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};E[137]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.d[c>>2&14];192>c?S(a,d,f):a.d[c<<1&14]=f};F[137]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.a[c>>3&7];192>c?T(a,d,f):a.eb[c&7]=f};E[138]=F[138]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=d};E[139]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=d};
F[139]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=d};E[140]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.N[c>>3&7];192>c?S(a,d,f):a.d[c<<1&14]=f};F[140]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.N[c>>3&7];192>c?T(a,d,f):a.eb[c&7]=f};E[141]=function(a){var c=y(a);192<=c&&R(a);a.ha=9;a.d[(c>>3&7)<<1]=a.h(c);a.ha=-1};F[141]=function(a){var c=y(a);192<=c&&R(a);a.ha=9;a.a[c>>3&7]=a.h(c);a.ha=-1};
E[142]=F[142]=function(a){var c=y(a),d=c>>3&7,c=192>c?J(a,a.h(c)):a.d[c<<1&14];N(a,d,c)};E[143]=function(a){var c=y(a),d=J(a,Kb(a,0));a.u[a.D]+=2;192>c?(c=a.h(c),a.u[a.D]-=2,S(a,c,d),a.u[a.D]+=2):a.d[c<<1&14]=d};F[143]=function(a){var c=y(a),d=K(a,Kb(a,0));a.u[a.D]+=4;192>c?(c=a.h(c),a.u[a.D]-=4,T(a,c,d),a.u[a.D]+=4):a.a[c&7]=d};E[144]=F[144]=function(){};E[145]=function(a){gc(a,2)};F[145]=function(a){hc(a,1)};E[146]=function(a){gc(a,4)};F[146]=function(a){hc(a,2)};E[147]=function(a){gc(a,6)};
F[147]=function(a){hc(a,3)};E[148]=function(a){gc(a,8)};F[148]=function(a){hc(a,4)};E[149]=function(a){gc(a,10)};F[149]=function(a){hc(a,5)};E[150]=function(a){gc(a,12)};F[150]=function(a){hc(a,6)};E[151]=function(a){gc(a,14)};F[151]=function(a){hc(a,7)};E[152]=function(a){a.d[0]=a.Bb[0]};F[152]=function(a){a.a[0]=a.na[0]};E[153]=function(a){a.d[4]=a.na[0]>>15};F[153]=function(a){a.a[2]=a.a[0]>>31};
E[154]=function(a){var c=u(a),d=u(a);ic(a,Kb(a,-4),4);L(a,a.N[1]);L(a,jc(a));N(a,1,d);a.l=a.B[1]+c|0;a.K=!0};F[154]=function(a){var c=w(a),d=u(a);if((!a.ma||Ob(a))&&c&4294901760)throw a.debug.Q("#GP handler");ic(a,Kb(a,-8),8);M(a,a.N[1]);M(a,jc(a));N(a,1,d);a.l=a.B[1]+c|0;a.K=!0};E[155]=F[155]=function(a){10===(a.s[0]&10)&&kc(a)};E[156]=function(a){a.f&131072&&3>lc(a)?V(a,0):(mc(a),L(a,a.f))};F[156]=function(a){a.f&131072&&3>lc(a)?V(a,0):(mc(a),M(a,a.f&16580607))};
E[157]=function(a){a.f&131072&&3>lc(a)&&V(a,0);nc(a,a.f&-65536|Nb(a));oc(a)};F[157]=function(a){a.f&131072&&3>lc(a)&&V(a,0);nc(a,P(a));oc(a)};E[158]=F[158]=function(a){a.f=a.f&-256|a.k[1];a.f=a.f&4161493|2;a.n=0};E[159]=F[159]=function(a){mc(a);a.k[1]=a.f};E[160]=F[160]=function(a){var c=B(a,pc(a));a.k[0]=c};E[161]=function(a){var c=J(a,pc(a));a.d[0]=c};F[161]=function(a){var c=K(a,pc(a));a.a[0]=c};E[162]=F[162]=function(a){Rb(a,pc(a),a.k[0])};E[163]=function(a){S(a,pc(a),a.d[0])};
F[163]=function(a){T(a,pc(a),a.a[0])};E[164]=F[164]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=Q(a,c),x=C(a,d);a.w&&(m=Fb(f,c,d));do a.memory.T(x,a.memory.M(p)),x+=f,p+=f,g=0!==--h;while(g&&m--);c=f*(k-h)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=h;a.P+=k-h}else Rb(a,d,B(a,c)),a.i[a.o]+=f,a.i[a.A]+=f;g&&(a.l=a.W)}};
E[165]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1||c&1){do S(a,d,J(a,c)),d+=f,a.i[a.o]+=f,c+=f,a.i[a.A]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=Q(a,c)>>1,A=C(a,d)>>1;a.w&&(m=Fb(f,c,d));do Tb(a.memory,A,$b(a.memory,x)),A+=p,x+=p,g=0!==--h;while(g&&m--);c=f*(k-h)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=h;a.P+=k-h}}else S(a,d,J(a,c)),a.i[a.o]+=f,a.i[a.A]+=f;g&&(a.l=a.W)}};
F[165]=function(a){a:{if(0!==a.V){var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.i[a.G]>>>0;if(!f)break a;var g=a.w?4095:3;if(0===(d&g)&&0===(c&g)&&0===(a.f&1024)&&(g=!1,a.w&&(c=Q(a,c),d=C(a,d),1024<f&&(f=1024,g=!0)),!qc(a.p,c,f)&&!qc(a.p,d,f))){var h=f<<2;a.i[a.G]-=f;a.i[a.o]+=h;a.i[a.A]+=h;c>>=2;a.memory.lb.set(a.memory.lb.subarray(c,c+f),d>>2);g&&(a.l=a.W);break a}}c=Xb(a,3)+a.i[a.A]|0;d=a.B[0]+a.i[a.o]|0;h=a.f&1024?-4:4;g=!1;if(0!==a.V){f=a.i[a.G]>>>0;if(0===f)break a;var k=f,m=4096;if(d&3||
c&3){do T(a,d,K(a,c)),d+=h,a.i[a.o]+=h,c+=h,a.i[a.A]+=h,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>h?-1:1,x=Q(a,c)>>>2,A=C(a,d)>>>2;a.w&&(m=Fb(h,c,d));do Wb(a.memory,A,bc(a.memory,x)),A+=p,x+=p,g=0!==--f;while(g&&m--);h=h*(k-f)|0;a.i[a.o]+=h;a.i[a.A]+=h;a.i[a.G]=f;a.P+=k-f}}else T(a,d,K(a,c)),a.i[a.o]+=h,a.i[a.A]+=h;g&&(a.l=a.W)}};
E[166]=F[166]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=2===a.V,p=4096,x=Q(a,c),A=Q(a,d);a.w&&(p=Fb(f,c,d));do d=a.memory.M(A),c=a.memory.M(x),A+=f,x+=f,g=0!==--h&&c===d===m;while(g&&p--);f=f*(k-h)|0;a.i[a.o]+=f;a.i[a.A]+=f;a.i[a.G]=h;a.P+=k-h}else c=B(a,c),d=B(a,d),a.i[a.o]+=f,a.i[a.A]+=f;a.sub(c,d,7);g&&(a.l=a.W)}};
E[167]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f,g,h=a.f&1024?-2:2,k=!1;if(0!==a.V){var m=a.i[a.G]>>>0;if(0===m)break a;var p=m,x=2===a.V,A=4096;if(d&1||c&1){do g=J(a,d),f=J(a,c),d+=h,a.i[a.o]+=h,c+=h,a.i[a.A]+=h,k=0!==--a.i[a.G]&&f===g===x;while(k&&A--)}else{var D=0>h?-1:1,O=Q(a,c)>>1,U=Q(a,d)>>1;a.w&&(A=Fb(h,c,d));do g=$b(a.memory,U),f=$b(a.memory,O),U+=D,O+=D,k=0!==--m&&f===g===x;while(k&&A--);c=h*(p-m)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=m;a.P+=p-m}}else g=J(a,d),f=J(a,c),a.i[a.o]+=
h,a.i[a.A]+=h;a.sub(f,g,15);k&&(a.l=a.W)}};
F[167]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f,g,h=a.f&1024?-4:4,k=!1;if(0!==a.V){var m=a.i[a.G]>>>0;if(0===m)break a;var p=m,x=2===a.V,A=4096;if(d&3||c&3){do g=K(a,d),f=K(a,c),d+=h,a.i[a.o]+=h,c+=h,a.i[a.A]+=h,k=0!==--a.i[a.G]&&f===g===x;while(k&&A--)}else{var D=0>h?-1:1,O=Q(a,c)>>>2,U=Q(a,d)>>>2;a.w&&(A=Fb(h,c,d));do g=bc(a.memory,U),f=bc(a.memory,O),U+=D,O+=D,k=0!==--m&&f===g===x;while(k&&A--);c=h*(p-m)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=m;a.P+=p-m}}else g=K(a,d),f=K(a,c),
a.i[a.o]+=h,a.i[a.A]+=h;a.sub(f,g,31);k&&(a.l=a.W)}};E[168]=F[168]=function(a){z(a,a.k[0],y(a),7)};E[169]=function(a){z(a,a.d[0],u(a),15)};F[169]=function(a){z(a,a.a[0],w(a),31)};E[170]=F[170]=function(a){a:{var c=a.k[0],d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=C(a,d);a.w&&(m=Eb(f,d));do a.memory.T(p,c),p+=f,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else Rb(a,d,c),a.i[a.o]+=f;g&&(a.l=a.W)}};
E[171]=function(a){a:{var c=a.d[0],d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1){do S(a,d,c),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>1;a.w&&(m=Eb(f,d));do Tb(a.memory,x,c),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else S(a,d,c),a.i[a.o]+=f;g&&(a.l=a.W)}};
F[171]=function(a){a:{var c=a.a[0],d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-4:4,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&3){do T(a,d,c),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>>2;a.w&&(m=Eb(f,d));do Wb(a.memory,x,c),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else T(a,d,c),a.i[a.o]+=f;g&&(a.l=a.W)}};
E[172]=F[172]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.f&1024?-1:1,f=!1;if(0!==a.V){var g=a.i[a.G]>>>0;if(0===g)break a;var h=g,k=4096,m=Q(a,c);a.w&&(k=Eb(d,c));do a.k[0]=a.memory.M(m),m+=d,f=0!==--g;while(f&&k--);a.i[a.A]+=d*(h-g)|0;a.i[a.G]=g;a.P+=h-g}else a.k[0]=B(a,c),a.i[a.A]+=d;f&&(a.l=a.W)}};
E[173]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.f&1024?-2:2,f=!1;if(0!==a.V){if(0===a.i[a.G]>>>0)break a;var g=4096;do a.d[0]=J(a,c),c+=d,a.i[a.A]+=d,f=0!==--a.i[a.G];while(f&&g--)}else a.d[0]=J(a,c),a.i[a.A]+=d;f&&(a.l=a.W)}};F[173]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.f&1024?-4:4,f=!1;if(0!==a.V){if(0===a.i[a.G]>>>0)break a;var g=4096;do a.a[0]=K(a,c),c+=d,a.i[a.A]+=d,f=0!==--a.i[a.G];while(f&&g--)}else a.a[0]=K(a,c),a.i[a.A]+=d;f&&(a.l=a.W)}};
E[174]=F[174]=function(a){a:{var c=a.B[0]+a.i[a.o]|0,d=a.f&1024?-1:1,f=!1,g=a.k[0];if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=2===a.V,p=4096,x=Q(a,c);a.w&&(p=Eb(d,c));do c=a.memory.M(x),x+=d,f=0!==--h&&g===c===m;while(f&&p--);a.i[a.o]+=d*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else c=B(a,c),a.i[a.o]+=d;a.sub(g,c,7);f&&(a.l=a.W)}};
E[175]=function(a){a:{var c=a.B[0]+a.i[a.o]|0,d=a.f&1024?-2:2,f=!1,g,h=a.d[0];if(0!==a.V){var k=a.i[a.G]>>>0;if(0===k)break a;var m=k,p=2===a.V,x=4096;if(c&1){do g=J(a,c),c+=d,a.i[a.o]+=d,f=0!==--a.i[a.G]&&h===g===p;while(f&&x--)}else{var A=0>d?-1:1,D=Q(a,c)>>1;a.w&&(x=Eb(d,c));do g=$b(a.memory,D),D+=A,f=0!==--k&&h===g===p;while(f&&x--);a.i[a.o]+=d*(m-k)|0;a.i[a.G]=k;a.P+=m-k}}else g=J(a,c),a.i[a.o]+=d;a.sub(h,g,15);f&&(a.l=a.W)}};
F[175]=function(a){a:{var c=a.B[0]+a.i[a.o]|0,d=a.f&1024?-4:4,f=!1,g,h=a.a[0];if(0!==a.V){var k=a.i[a.G]>>>0;if(0===k)break a;var m=k,p=2===a.V,x=4096;if(c&3){do g=K(a,c),c+=d,a.i[a.o]+=d,f=0!==--a.i[a.G]&&h===g===p;while(f&&x--)}else{var A=0>d?-1:1,D=Q(a,c)>>>2;a.w&&(x=Eb(d,c));do g=bc(a.memory,D),D+=A,f=0!==--k&&h===g===p;while(f&&x--);a.i[a.o]+=d*(m-k)|0;a.i[a.G]=k;a.P+=m-k}}else g=K(a,c),a.i[a.o]+=d;a.sub(h,g,31);f&&(a.l=a.W)}};E[176]=F[176]=function(a){a.k[0]=y(a)};
E[177]=F[177]=function(a){a.k[4]=y(a)};E[178]=F[178]=function(a){a.k[8]=y(a)};E[179]=F[179]=function(a){a.k[12]=y(a)};E[180]=F[180]=function(a){a.k[1]=y(a)};E[181]=F[181]=function(a){a.k[5]=y(a)};E[182]=F[182]=function(a){a.k[9]=y(a)};E[183]=F[183]=function(a){a.k[13]=y(a)};E[184]=function(a){a.d[0]=u(a)};F[184]=function(a){a.a[0]=w(a)};E[185]=function(a){a.d[2]=u(a)};F[185]=function(a){a.a[1]=w(a)};E[186]=function(a){a.d[4]=u(a)};F[186]=function(a){a.a[2]=w(a)};E[187]=function(a){a.d[6]=u(a)};
F[187]=function(a){a.a[3]=w(a)};E[188]=function(a){a.d[8]=u(a)};F[188]=function(a){a.a[4]=w(a)};E[189]=function(a){a.d[10]=u(a)};F[189]=function(a){a.a[5]=w(a)};E[190]=function(a){a.d[12]=u(a)};F[190]=function(a){a.a[6]=w(a)};E[191]=function(a){a.d[14]=u(a)};F[191]=function(a){a.a[7]=w(a)};
E[192]=F[192]=function(a){var c=y(a),d,f,g,h;192>c?(g=C(a,a.h(c)),f=a.memory.M(g)):f=a.k[c<<2&12|c>>2&1];h=0;d=y(a)&31;switch(c>>3&7){case 0:h=Pa(a,f,d);break;case 1:h=Xa(a,f,d);break;case 2:h=Sa(a,f,d);break;case 3:h=$a(a,f,d);break;case 4:h=cb(a,f,d);break;case 5:h=hb(a,f,d);break;case 6:h=cb(a,f,d);break;case 7:h=kb(a,f,d)}192>c?a.memory.T(g,h):a.k[c<<2&12|c>>2&1]=h};
E[193]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),f=Gb(a,g,h)):f=a.memory.L(g)):f=a.d[c<<1&14];k=0;d=y(a)&31;switch(c>>3&7){case 0:k=Qa(a,f,d);break;case 1:k=Ya(a,f,d);break;case 2:k=Va(a,f,d);break;case 3:k=ab(a,f,d);break;case 4:k=db(a,f,d);break;case 5:k=ib(a,f,d);break;case 6:k=db(a,f,d);break;case 7:k=lb(a,f,d)}192>c?h?Hb(a,g,h,k):a.memory.ca(g,k):a.d[c<<1&14]=k};
F[193]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),f=Ib(a,g,h)):f=I(a.memory,g)):f=a.a[c&7];k=0;d=y(a)&31;switch(c>>3&7){case 0:k=Ra(a,f,d);break;case 1:k=Za(a,f,d);break;case 2:k=Wa(a,f,d);break;case 3:k=bb(a,f,d);break;case 4:k=gb(a,f,d);break;case 5:k=jb(a,f,d);break;case 6:k=gb(a,f,d);break;case 7:k=mb(a,f,d)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k):a.a[c&7]=k};E[194]=function(a){var c=u(a);a.l=a.B[1]+Nb(a)|0;a.u[a.D]+=c;a.K=!0};
F[194]=function(a){var c=u(a);a.l=a.B[1]+P(a)|0;a.u[a.D]+=c;a.K=!0};E[195]=function(a){a.l=a.B[1]+Nb(a)|0;a.K=!0};F[195]=function(a){a.l=a.B[1]+P(a)|0;a.K=!0};E[196]=function(a){var c=y(a);192<=c&&R(a);rc(a,0,a.h(c),c>>2&14)};F[196]=function(a){var c=y(a);192<=c&&R(a);wc(a,0,a.h(c),c>>3&7)};E[197]=function(a){var c=y(a);192<=c&&R(a);rc(a,3,a.h(c),c>>2&14)};F[197]=function(a){var c=y(a);192<=c&&R(a);wc(a,3,a.h(c),c>>3&7)};
E[198]=F[198]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=y(a);192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};E[199]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=u(a);192>c?S(a,d,f):a.d[c<<1&14]=f};F[199]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=w(a);192>c?T(a,d,f):a.eb[c&7]=f};E[200]=function(a){var c=u(a),d=y(a),d=d&31,f,g;L(a,a.d[10]);f=a.d[8];if(0<d){g=a.d[5];for(var h=1;h<d;h++)g-=2,L(a,J(a,a.B[2]+g|0));L(a,f)}a.d[10]=f;a.d[8]-=c};
F[200]=function(a){var c=u(a),d=y(a),d=d&31,f,g;M(a,a.a[5]);f=a.a[4];if(0<d){g=a.a[5];for(var h=1;h<d;h++)g-=4,M(a,K(a,a.B[2]+g|0));M(a,f)}a.a[5]=f;a.a[4]-=c};E[201]=function(a){var c=J(a,a.B[2]+a.u[a.nb]|0);a.u[a.D]=a.u[a.nb]+2|0;a.d[10]=c};F[201]=function(a){var c=K(a,a.B[2]+a.u[a.nb]|0);a.u[a.D]=a.u[a.nb]+4|0;a.a[5]=c};E[202]=function(a){Q(a,a.B[2]+a.u[a.D]+4);var c=u(a),d=Nb(a);N(a,1,Nb(a));a.l=a.B[1]+d|0;a.u[a.D]+=c;a.K=!0};
F[202]=function(a){Q(a,a.B[2]+a.u[a.D]+8);var c=u(a),d=P(a);N(a,1,P(a)&65535);a.l=a.B[1]+d|0;a.u[a.D]+=c;a.K=!0};E[203]=function(a){Q(a,a.B[2]+a.u[a.D]+4);var c=Nb(a);N(a,1,Nb(a));a.l=a.B[1]+c|0;a.K=!0};F[203]=function(a){Q(a,a.B[2]+a.u[a.D]+8);var c=P(a);N(a,1,P(a)&65535);a.l=a.B[1]+c|0;a.K=!0};E[204]=F[204]=function(a){xc(a,3,!0,!1)};E[205]=F[205]=function(a){var c=y(a);xc(a,c,!0,!1)};E[206]=F[206]=function(a){a.rc()&&xc(a,4,!0,!1)};
E[207]=function(a){if(!a.ma||Ob(a)&&3===lc(a)){var c=Nb(a),d=Nb(a),f=Nb(a);N(a,1,d);a.l=c+a.B[1]|0;nc(a,a.f&-65536|f);oc(a)}else throw Ob(a)&&V(a,0),a.debug.Q("16 bit iret in protected mode");a.K=!0};
F[207]=function(a){a:if(!a.ma||Ob(a)&&3===lc(a)){var c=P(a);if(c&4294901760)throw a.debug.Q("#GP handler");N(a,1,P(a)&65535);var d=P(a);a.l=c+a.B[1]|0;nc(a,d);oc(a)}else{Ob(a)&&V(a,0);a.l=P(a);a.N[1]=P(a);d=P(a);if(d&131072){if(0===a.O){nc(a,d);a.f|=131072;N(a,1,a.N[1]);a.l=(a.l&65535)+a.B[1]|0;var c=P(a),f=P(a);N(a,0,P(a)&65535);N(a,3,P(a)&65535);N(a,4,P(a)&65535);N(a,5,P(a)&65535);a.a[4]=c;N(a,2,f&65535);a.O=3;a.Wa=-1;yc(a,!1);break a}d&=-131073}var g=zc(a,a.N[1]);if(g.kb)throw a.debug.Q("is null");
if(!g.vb)throw a.debug.Q("not present");if(!g.Pb)throw a.debug.Q("not exec");if(g.Cb<a.O)throw a.debug.Q("rpl < cpl");if(g.Lb&&g.ya>g.Cb)throw a.debug.Q("conforming and dpl > rpl");g.Cb>a.O?(c=P(a),f=P(a),a.a[4]=c,nc(a,d),a.O||(a.f=a.f&-1572865|d&1572864),a.O=g.Cb,a.Wa=-1,N(a,2,f&65535)):(nc(a,d),a.O||(a.f=a.f&-1572865|d&1572864));g.size!==a.Ea&&yc(a,g.size);a.Ka[1]=g.Mb;a.B[1]=g.Zb;a.l=a.l+a.B[1]|0;oc(a);a.K=!0}};
E[208]=F[208]=function(a){var c=y(a),d,f,g;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];g=0;switch(c>>3&7){case 0:g=Pa(a,d,1);break;case 1:g=Xa(a,d,1);break;case 2:g=Sa(a,d,1);break;case 3:g=$a(a,d,1);break;case 4:g=cb(a,d,1);break;case 5:g=hb(a,d,1);break;case 6:g=cb(a,d,1);break;case 7:g=kb(a,d,1)}192>c?a.memory.T(f,g):a.k[c<<2&12|c>>2&1]=g};
E[209]=function(a){var c=y(a),d,f,g=0,h;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];h=0;switch(c>>3&7){case 0:h=Qa(a,d,1);break;case 1:h=Ya(a,d,1);break;case 2:h=Va(a,d,1);break;case 3:h=ab(a,d,1);break;case 4:h=db(a,d,1);break;case 5:h=ib(a,d,1);break;case 6:h=db(a,d,1);break;case 7:h=lb(a,d,1)}192>c?g?Hb(a,f,g,h):a.memory.ca(f,h):a.d[c<<1&14]=h};
F[209]=function(a){var c=y(a),d,f,g=0,h;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];h=0;switch(c>>3&7){case 0:h=Ra(a,d,1);break;case 1:h=Za(a,d,1);break;case 2:h=Wa(a,d,1);break;case 3:h=bb(a,d,1);break;case 4:h=gb(a,d,1);break;case 5:h=jb(a,d,1);break;case 6:h=gb(a,d,1);break;case 7:h=mb(a,d,1)}192>c?g?Jb(a,f,g,h):a.memory.da(f,h):a.a[c&7]=h};
E[210]=F[210]=function(a){var c=y(a),d,f,g,h;192>c?(g=C(a,a.h(c)),f=a.memory.M(g)):f=a.k[c<<2&12|c>>2&1];h=0;d=a.k[4]&31;switch(c>>3&7){case 0:h=Pa(a,f,d);break;case 1:h=Xa(a,f,d);break;case 2:h=Sa(a,f,d);break;case 3:h=$a(a,f,d);break;case 4:h=cb(a,f,d);break;case 5:h=hb(a,f,d);break;case 6:h=cb(a,f,d);break;case 7:h=kb(a,f,d)}192>c?a.memory.T(g,h):a.k[c<<2&12|c>>2&1]=h};
E[211]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),f=Gb(a,g,h)):f=a.memory.L(g)):f=a.d[c<<1&14];k=0;d=a.k[4]&31;switch(c>>3&7){case 0:k=Qa(a,f,d);break;case 1:k=Ya(a,f,d);break;case 2:k=Va(a,f,d);break;case 3:k=ab(a,f,d);break;case 4:k=db(a,f,d);break;case 5:k=ib(a,f,d);break;case 6:k=db(a,f,d);break;case 7:k=lb(a,f,d)}192>c?h?Hb(a,g,h,k):a.memory.ca(g,k):a.d[c<<1&14]=k};
F[211]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),f=Ib(a,g,h)):f=I(a.memory,g)):f=a.a[c&7];k=0;d=a.k[4]&31;switch(c>>3&7){case 0:k=Ra(a,f,d);break;case 1:k=Za(a,f,d);break;case 2:k=Wa(a,f,d);break;case 3:k=bb(a,f,d);break;case 4:k=gb(a,f,d);break;case 5:k=jb(a,f,d);break;case 6:k=gb(a,f,d);break;case 7:k=mb(a,f,d)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k):a.a[c&7]=k};
E[212]=F[212]=function(a){var c=y(a);if(0===c)Ac(a);else{var d=a.k[0];a.k[1]=d/c;a.k[0]=d%c;a.C=a.k[0];a.n=196;a.f&=-2066}};E[213]=F[213]=function(a){var c=y(a);a.C=a.k[0]+a.k[1]*c&255;a.d[0]=a.C;a.Z=7;a.n=196;a.f&=-2066};E[214]=F[214]=function(a){a.k[0]=-a.ta()};E[215]=F[215]=function(a){a.k[0]=a.sb?B(a,Xb(a,3)+a.a[3]+a.k[0]):B(a,Xb(a,3)+a.d[6]+a.k[0])};
E[216]=F[216]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);c=c>>3&7;a=Bc(d,a);var f=Cc(d);switch(c){case 0:d.e[d.b]=f+a;break;case 1:d.e[d.b]=f*a;break;case 2:Dc(d,a);break;case 3:Dc(d,a);d.pop();break;case 4:d.e[d.b]=f-a;break;case 5:d.e[d.b]=a-f;break;case 6:d.e[d.b]=f/a;break;case 7:d.e[d.b]=a/f}}else switch(d=a.ra,a=c>>3&7,c=W(d,c&7),f=Cc(d),a){case 0:d.e[d.b]=f+c;break;case 1:d.e[d.b]=f*c;break;case 2:Dc(d,c);break;case 3:Dc(d,c);d.pop();break;case 4:d.e[d.b]=f-c;break;
case 5:d.e[d.b]=c-f;break;case 6:d.e[d.b]=f/c;break;case 7:d.e[d.b]=c/f}};
E[217]=F[217]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:c=Bc(d,a);d.push(c);break;case 1:Ec(d);break;case 2:c=Cc(d);d.R[0]=c;T(d.r,a,d.Y[0]);break;case 3:c=Cc(d);d.R[0]=c;T(d.r,a,d.Y[0]);d.pop();break;case 4:Fc(d,a);break;case 5:d.J=J(d.r,a);break;case 6:Gc(d,a);break;case 7:S(d.r,a,d.J)}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:c=W(d,a);d.push(c);break;case 1:c=W(d,a);d.e[d.b+a&7]=Cc(d);d.e[d.b]=c;break;case 2:switch(a){case 0:break;default:Ec(d)}break;
case 3:Ec(d);break;case 4:c=Cc(d);switch(a){case 0:d.e[d.b]=-c;break;case 1:d.e[d.b]=Math.abs(c);break;case 4:d.j&=-18177;isNaN(c)?d.j|=17664:0===c?d.j|=16384:0>c&&(d.j|=256);break;case 5:d.j&=-18177;d.j|=d.sign(0)<<9;d.j=d.m>>d.b&1?d.j|16640:isNaN(c)?d.j|256:0===c?d.j|16384:Infinity===c||-Infinity===c?d.j|1280:d.j|1024;break;default:Ec(d)}break;case 5:d.push(d.fb[a]);break;case 6:c=Cc(d);switch(a){case 0:d.e[d.b]=Math.pow(2,c)-1;break;case 1:d.e[d.b+1&7]=W(d,1)*Math.log(c)/Math.LN2;d.pop();break;
case 2:d.e[d.b]=Math.tan(c);d.push(1);break;case 3:d.e[d.b+1&7]=Math.atan2(W(d,1),c);d.pop();break;case 4:d.F[0]=Cc(d);c=((d.q[7]&127)<<4|d.q[6]>>4)-1023;d.q[7]=63|d.q[7]&128;d.q[6]|=240;d.e[d.b]=c;d.push(d.F[0]);break;case 5:d.e[d.b]=c%W(d,1);break;case 6:d.b=d.b-1&7;d.j&=-513;break;case 7:d.b=d.b+1&7,d.j&=-513}break;case 7:switch(c=Cc(d),a){case 0:d.e[d.b]=c%W(d,1);break;case 1:d.e[d.b+1&7]=W(d,1)*Math.log(c+1)/Math.LN2;d.pop();break;case 2:d.e[d.b]=Math.sqrt(c);break;case 3:d.e[d.b]=Math.sin(c);
d.push(Math.cos(c));break;case 4:d.e[d.b]=Hc(d,c);break;case 5:d.e[d.b]=c*Math.pow(2,Ic(W(d,1)));break;case 6:d.e[d.b]=Math.sin(c);break;case 7:d.e[d.b]=Math.cos(c)}}};
E[218]=F[218]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);c=c>>3&7;a=K(d.r,a);var f=Cc(d);switch(c){case 0:d.e[d.b]=f+a;break;case 1:d.e[d.b]=f*a;break;case 2:Dc(d,a);break;case 3:Dc(d,a);d.pop();break;case 4:d.e[d.b]=f-a;break;case 5:d.e[d.b]=a-f;break;case 6:d.e[d.b]=f/a;break;case 7:d.e[d.b]=a/f}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:d.r.La()&&(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 1:d.r.Na()&&(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 2:cc(d.r)&&(d.e[d.b]=W(d,
a),d.m&=~(1<<d.b));break;case 3:d.r.Ma()&&(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 5:1===a?(c=W(d,1),Dc(d,c),d.pop(),d.pop()):Ec(d);break;default:Ec(d)}};
E[219]=F[219]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:c=K(d.r,a);d.push(c);break;case 2:c=Hc(d,Cc(d));2147483647>=c&&-2147483648<=c?T(d.r,a,c):(Jc(d),T(d.r,a,-2147483648));break;case 3:c=Hc(d,Cc(d));2147483647>=c&&-2147483648<=c?T(d.r,a,c):(Jc(d),T(d.r,a,-2147483648));d.pop();break;case 5:d.push(Kc(d,a));break;case 7:ic(d.r,a,10);Lc(d,a,0);d.pop();break;default:Ec(d)}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:d.r.La()||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));
break;case 1:d.r.Na()||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 2:cc(d.r)||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 3:d.r.Ma()||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 4:227===c?Mc(d):228!==c&&225!==c&&(226===c?d.j=0:Ec(d));break;case 5:c=W(d,a);Nc(d,c);break;case 6:Nc(d,W(d,a));break;default:Ec(d)}};
E[220]=F[220]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra,f=a.h(c);a=c>>3&7;c=Oc(d,f);f=Cc(d);switch(a){case 0:d.e[d.b]=f+c;break;case 1:d.e[d.b]=f*c;break;case 2:Dc(d,c);break;case 3:Dc(d,c);d.pop();break;case 4:d.e[d.b]=f-c;break;case 5:d.e[d.b]=c-f;break;case 6:d.e[d.b]=f/c;break;case 7:d.e[d.b]=c/f}}else{d=a.ra;a=c>>3&7;var f=c&7,c=d.b+f&7,f=W(d,f),g=Cc(d);switch(a){case 0:d.e[c]=f+g;break;case 1:d.e[c]=f*g;break;case 2:Dc(d,f);break;case 3:Dc(d,f);d.pop();break;case 4:d.e[c]=
g-f;break;case 5:d.e[c]=f-g;break;case 6:d.e[c]=g/f;break;case 7:d.e[c]=f/g}}};
E[221]=F[221]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:c=Oc(d,a);d.push(c);break;case 1:Ec(d);break;case 2:Pc(d,a);break;case 3:Pc(d,a);d.pop();break;case 4:c=a;Fc(d,c);c+=28;for(a=0;8>a;a++)d.e[a]=Kc(d,c),c+=10;break;case 5:Ec(d);break;case 6:c=a;ic(d.r,c,108);Gc(d,c);c+=28;for(a=0;8>a;a++)Lc(d,c,a-d.b&7),c+=10;Mc(d);break;case 7:S(d.r,a,d.j&-14337|d.b<<11)}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:d.m|=1<<(d.b+a&7);break;case 2:d.e[d.b+a&7]=Cc(d);
break;case 3:0!==a&&(d.e[d.b+a&7]=Cc(d));d.pop();break;case 4:c=W(d,a);Dc(d,c);break;case 5:c=W(d,a);Dc(d,c);d.pop();break;default:Ec(d)}};
E[222]=F[222]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra,f=a.h(c);a=c>>3&7;c=J(d.r,f)<<16>>16;f=Cc(d);switch(a){case 0:d.e[d.b]=f+c;break;case 1:d.e[d.b]=f*c;break;case 2:Dc(d,c);break;case 3:Dc(d,c);d.pop();break;case 4:d.e[d.b]=f-c;break;case 5:d.e[d.b]=c-f;break;case 6:d.e[d.b]=f/c;break;case 7:d.e[d.b]=c/f}}else{d=a.ra;a=c>>3&7;var c=c&7,f=d.b+c&7,g=W(d,c),h=Cc(d);switch(a){case 0:d.e[f]=g+h;break;case 1:d.e[f]=g*h;break;case 2:Dc(d,g);break;case 3:1===c?(Dc(d,d.e[f]),d.pop()):
Ec(d);break;case 4:d.e[f]=h-g;break;case 5:d.e[f]=g-h;break;case 6:d.e[f]=h/g;break;case 7:d.e[f]=g/h}d.pop()}};
E[223]=F[223]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:a=J(d.r,a)<<16>>16;d.push(a);break;case 1:Ec(d);break;case 2:c=Hc(d,Cc(d));32767>=c&&-32768<=c?S(d.r,a,c):(Jc(d),S(d.r,a,32768));break;case 3:c=Hc(d,Cc(d));32767>=c&&-32768<=c?S(d.r,a,c):(Jc(d),S(d.r,a,32768));d.pop();break;case 4:Ec(d);break;case 5:c=K(d.r,a)>>>0;a=K(d.r,a+4);d.push(c+4294967296*a);break;case 6:Ec(d);break;case 7:ic(d.r,a,8);var c=Hc(d,Cc(d)),f,g;0x7fffffffffffffff>c&&-9223372036854775808<=
c?(f=c|0,g=c/4294967296|0,0===g&&0>c&&(g=-1)):(f=0,g=-2147483648,Jc(d));T(d.r,a,f);T(d.r,a+4,g);d.pop()}}else switch(d=a.ra,a=c&7,c>>3&7){case 4:224===c?d.r.d[0]=d.j&-14337|d.b<<11:Ec(d);break;case 5:a=W(d,a);Nc(d,a);d.pop();break;case 6:Nc(d,W(d,a));d.pop();break;default:Ec(d)}};E[224]=F[224]=function(a){if(--a.i[a.G]&&!a.ub()){var c=t(a);a.l=a.l+c|0}else a.l++;a.K=!0};E[225]=F[225]=function(a){if(--a.i[a.G]&&a.ub()){var c=t(a);a.l=a.l+c|0}else a.l++;a.K=!0};E[226]=F[226]=function(a){a.loop()};
E[227]=F[227]=function(a){var c=t(a);0===a.i[a.G]&&(a.l=a.l+c|0);a.K=!0};E[228]=F[228]=function(a){var c=y(a);Pb(a,c,1);a.k[0]=Qb(a.p,c)};E[229]=function(a){var c=y(a);Pb(a,c,2);a.d[0]=Sb(a.p,c)};F[229]=function(a){var c=y(a);Pb(a,c,4);a.a[0]=Ub(a.p,c)};E[230]=F[230]=function(a){var c=y(a);Pb(a,c,1);Yb(a.p,c,a.k[0])};E[231]=function(a){var c=y(a);Pb(a,c,2);Zb(a.p,c,a.d[0])};F[231]=function(a){var c=y(a);Pb(a,c,4);ac(a.p,c,a.a[0])};E[232]=function(a){var c=u(a)<<16>>16;L(a,jc(a));Qc(a,c);a.K=!0};
F[232]=function(a){var c=w(a);M(a,jc(a));a.l=a.l+c|0;a.K=!0};E[233]=function(a){var c=u(a)<<16>>16;Qc(a,c);a.K=!0};F[233]=function(a){var c=w(a);a.l=a.l+c|0;a.K=!0};E[234]=function(a){var c=u(a);N(a,1,u(a));a.l=c+a.B[1]|0;a.K=!0};F[234]=function(a){var c=w(a);N(a,1,u(a));a.l=c+a.B[1]|0;a.K=!0};E[235]=F[235]=function(a){var c=t(a);a.l=a.l+c|0;a.K=!0};E[236]=F[236]=function(a){var c=a.d[4];Pb(a,c,1);a.k[0]=Qb(a.p,c)};E[237]=function(a){var c=a.d[4];Pb(a,c,2);a.d[0]=Sb(a.p,c)};
F[237]=function(a){var c=a.d[4];Pb(a,c,4);a.a[0]=Ub(a.p,c)};E[238]=F[238]=function(a){var c=a.d[4];Pb(a,c,1);Yb(a.p,c,a.k[0])};E[239]=function(a){var c=a.d[4];Pb(a,c,2);Zb(a.p,c,a.d[0])};F[239]=function(a){var c=a.d[4];Pb(a,c,4);ac(a.p,c,a.a[0])};E[240]=F[240]=function(a){Lb(a)};E[241]=F[241]=function(a){throw a.debug.Q("int1 instruction");};E[242]=F[242]=function(a){a.V=1;Lb(a);a.V=0};E[243]=F[243]=function(a){a.V=2;Lb(a);a.V=0};
E[244]=F[244]=function(a){a.O&&V(a,0);if(0===(a.f&512))throw a.debug.show("cpu halted"),"HALT";a.sc=!0;throw 233495534;};E[245]=F[245]=function(a){a.f=(a.f|1)^a.ta();a.n&=-2};
E[246]=F[246]=function(a){var c=y(a);switch(c>>3&7){case 0:var d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];z(a,d,y(a),7);break;case 1:d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];z(a,d,y(a),7);break;case 2:var f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=~d;192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d;break;case 3:192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ha(a,d,7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d;break;case 4:d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];c=d*a.k[0];
a.d[0]=c;a.f=256>c?a.f&-2050:a.f|2049;a.n=0;break;case 5:192>c?d=B(a,a.h(c))<<24>>24:d=a.Bb[c<<2&12|c>>2&1];c=d*a.Bb[0];a.d[0]=c;a.f=127<c||-128>c?a.f|2049:a.f&-2050;a.n=0;break;case 6:c=d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];f=a.d[0];d=f/c|0;256<=d||0===c?Ac(a):(a.k[0]=d,a.k[1]=f%c);break;case 7:192>c?d=B(a,a.h(c))<<24>>24:d=a.Bb[c<<2&12|c>>2&1],c=d,f=a.na[0],d=f/c|0,128<=d||-129>=d||0===c?Ac(a):(a.k[0]=d,a.k[1]=f%c)}};
E[247]=function(a){var c=y(a);switch(c>>3&7){case 0:var d=192>c?J(a,a.h(c)):a.d[c<<1&14];z(a,d,u(a),15);break;case 1:d=192>c?J(a,a.h(c)):a.d[c<<1&14];z(a,d,u(a),15);break;case 2:var f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=~d;192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 3:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ha(a,d,15);192>c?g?Hb(a,f,g,d):
a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 4:d=192>c?J(a,a.h(c)):a.d[c<<1&14];c=d*a.d[0];f=c>>>16;a.d[0]=c;a.d[4]=f;a.f=0===f?a.f&-2050:a.f|2049;a.n=0;break;case 5:192>c?d=J(a,a.h(c))<<16>>16:d=a.na[c<<1&14];c=d*a.na[0];a.d[0]=c;a.d[4]=c>>16;a.f=32767<c||-32768>c?a.f|2049:a.f&-2050;a.n=0;break;case 6:c=d=192>c?J(a,a.h(c)):a.d[c<<1&14];f=(a.d[0]|a.d[4]<<16)>>>0;g=f/c|0;65536<=g||0>g||0===c?Ac(a):(a.d[0]=g,a.d[4]=f%c);break;case 7:192>c?d=J(a,a.h(c))<<16>>16:d=a.na[c<<1&14],c=d,f=a.d[0]|a.d[4]<<16,
g=f/c|0,32768<=g||-32769>=g||0===c?Ac(a):(a.d[0]=g,a.d[4]=f%c)}};
F[247]=function(a){var c=y(a);switch(c>>3&7){case 0:var d=192>c?K(a,a.h(c)):a.a[c&7];z(a,d,w(a),31);break;case 1:d=192>c?K(a,a.h(c)):a.a[c&7];z(a,d,w(a),31);break;case 2:var f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=~d;192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d;break;case 3:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ha(a,d,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&
7]=d;break;case 4:192>c?d=K(a,a.h(c))>>>0:d=a.eb[c&7];f=a.a[0];c=f&65535;f=f>>>16;var h=d&65535,d=d>>>16,g=c*h,h=(g>>>16)+(f*h|0)|0,k=h>>>16,h=(h&65535)+(c*d|0)|0,k=((h>>>16)+(f*d|0)|0)+k|0;a.a[0]=h<<16|g&65535;a.a[2]=k;a.f=0===k?a.f&-2050:a.f|2049;a.n=0;break;case 5:g=d=192>c?K(a,a.h(c)):a.a[c&7];f=a.a[0];c=!1;0>f&&(c=!0,f=-f|0);0>g&&(c=!c,g=-g|0);d=f&65535;f=f>>>16;var k=g&65535,g=g>>>16,h=d*k,k=(h>>>16)+(f*k|0)|0,m=k>>>16,k=(k&65535)+(d*g|0)|0,h=k<<16|h&65535,m=((k>>>16)+(f*g|0)|0)+m|0;c&&(h=-h|
0,m=~m+!h|0);a.a[0]=h;a.a[2]=m;a.f=m===h>>31?a.f&-2050:a.f|2049;a.n=0;break;case 6:192>c?d=K(a,a.h(c))>>>0:d=a.eb[c&7];c=d;f=a.eb[0];g=a.eb[2];(g>=c||!c)&&Ac(a);d=0;if(1048576<g){h=32;for(k=c;k>g;)k>>>=1,h--;for(;1048576<g;)g>=k&&(g-=k,m=c<<h>>>0,m>f&&g--,f=f-m>>>0,d|=1<<h),h--,k>>=1;d>>>=0}f+=4294967296*g;g=f%c;d+=f/c|0;4294967296<=d||0===c?Ac(a):(a.a[0]=d,a.a[2]=g);break;case 7:c=d=192>c?K(a,a.h(c)):a.a[c&7];h=a.eb[0];k=a.a[2];f=d=!1;0>c&&(f=!0,c=-c);0>k&&(d=!0,f=!f,h=-h>>>0,k=~k+!h);(k>=c||!c)&&
Ac(a);g=0;if(1048576<k){for(var m=32,p=c;p>k;)p>>>=1,m--;for(;1048576<k;){if(k>=p){var k=k-p,x=c<<m>>>0;x>h&&k--;h=h-x>>>0;g|=1<<m}m--;p>>=1}g>>>=0}h+=4294967296*k;k=h%c;g+=h/c|0;f&&(g=-g|0);d&&(k=-k|0);2147483648<=g||-2147483649>=g||0===c?Ac(a):(a.a[0]=g,a.a[2]=k)}};E[248]=F[248]=function(a){a.f&=-2;a.n&=-2};E[249]=F[249]=function(a){a.f|=1;a.n&=-2};E[250]=F[250]=function(a){!a.ma||(a.f&131072?3===lc(a):lc(a)>=a.O)?a.f&=-513:3>lc(a)&&(a.f&131072?a.s[4]&1:3===a.O&&a.s[4]&2)?a.f&=-524289:V(a,0)};
E[251]=F[251]=function(a){!a.ma||(a.f&131072?3===lc(a):lc(a)>=a.O)?(a.f|=512,Rc(a),oc(a)):3>lc(a)&&0===(a.f&1048576)&&(a.f&131072?a.s[4]&1:3===a.O&&a.s[4]&2)?a.f|=524288:V(a,0)};E[252]=F[252]=function(a){a.f&=-1025};E[253]=F[253]=function(a){a.f|=1024};
E[254]=F[254]=function(a){var c=y(a),d=c&56;if(0===d){var f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Fa(a,d,7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d}else 8===d?(192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1],d=Ga(a,d,7),192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d):R(a)};
E[255]=function(a){var c=y(a);switch(c>>3&7){case 0:var d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Fa(a,d,15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 1:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ga(a,d,15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 2:d=192>c?J(a,a.h(c)):a.d[c<<1&14];L(a,jc(a));a.l=a.B[1]+d|0;a.K=!0;break;
case 3:192<=c&&R(a);d=a.h(c);c=J(a,d+2);f=J(a,d);ic(a,Kb(a,-4),4);L(a,a.N[1]);L(a,jc(a));N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 4:d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.l=a.B[1]+d|0;a.K=!0;break;case 5:192<=c&&R(a);d=a.h(c);c=J(a,d+2);f=J(a,d);N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 6:d=192>c?J(a,a.h(c)):a.d[c<<1&14];L(a,d);break;case 7:R(a)}};
F[255]=function(a){var c=y(a);switch(c>>3&7){case 0:var d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Fa(a,d,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d;break;case 1:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ga(a,d,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d;break;case 2:d=192>c?K(a,a.h(c)):a.a[c&7];M(a,jc(a));a.l=a.B[1]+d|0;a.K=!0;break;case 3:192<=c&&R(a);d=
a.h(c);c=J(a,d+4);f=K(a,d);ic(a,Kb(a,-8),8);M(a,a.N[1]);M(a,jc(a));N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 4:d=192>c?K(a,a.h(c)):a.a[c&7];a.l=a.B[1]+d|0;a.K=!0;break;case 5:192<=c&&R(a);d=a.h(c);c=J(a,d+4);f=K(a,d);N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 6:d=192>c?K(a,a.h(c)):a.a[c&7];M(a,d);break;case 7:R(a)}};
G[0]=H[0]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);a.O&&V(a,0);switch(c>>3&7){case 0:if(192>c)var d=a.h(c);var f=a.N[7];192>c?S(a,d,f):a.d[c<<1&14]=f;break;case 1:192>c&&(d=a.h(c));f=a.N[6];192>c?S(a,d,f):a.d[c<<1&14]=f;break;case 2:c=f=192>c?J(a,a.h(c)):a.d[c<<1&14];d=zc(a,c);if(d.kb)a.B[7]=0,a.Ka[7]=0;else{if(!d.ie)throw a.debug.Q("LDTR can only be loaded from GDT");if(!d.vb)throw a.debug.Q("#GP handler");if(!d.dc)throw a.debug.Q("#GP handler");if(2!==d.type)throw a.debug.Q("#GP handler");a.B[7]=
d.Zb;a.Ka[7]=d.Mb;a.N[7]=c}break;case 3:c=f=192>c?J(a,a.h(c)):a.d[c<<1&14];d=zc(a,c);if(!d.ie)throw a.debug.Q("TR can only be loaded from GDT");if(d.kb)throw a.debug.Q("#GP handler");if(!d.vb)throw a.debug.Q("#GP handler");if(!d.dc)throw a.debug.Q("#GP handler");if(9!==d.type)throw a.debug.Q("#GP handler");a.B[6]=d.Zb;a.Ka[6]=d.Mb;a.N[6]=c;a.memory.T(d.Nd+5,a.memory.M(d.Nd+5)|2);break;default:R(a)}};
G[1]=H[1]=function(a){var c=y(a);a.O&&V(a,0);var d=c>>3&7;if(4===d){if(192>c)var f=a.h(c);d=a.s[0];192>c?S(a,f,d):a.d[c<<1&14]=d}else if(6===d)d=192>c?J(a,a.h(c)):a.d[c<<1&14],a.s[0]=a.s[0]&-16|d&15,a.ma&&(a.s[0]|=1),Sc(a);else switch(192<=c&&R(a),2!==d&&3!==d||!a.ma||(a.ha=9),f=a.h(c),a.ha=-1,d){case 0:ic(a,f,6);S(a,f,a.Qc);T(a,f+2,a.bc);break;case 1:ic(a,f,6);S(a,f,a.Sc);T(a,f+2,a.cc);break;case 2:c=J(a,f);f=K(a,f+2);a.Qc=c;a.bc=f;a.Qa||(a.bc&=16777215);break;case 3:c=J(a,f);f=K(a,f+2);a.Sc=c;a.cc=
f;a.Qa||(a.cc&=16777215);break;case 7:f=f>>>12;a.ib[f]=0;a.kc[f]=0;a.Wa=-1;break;default:R(a)}};G[2]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Tc(a,d,a.d[c>>2&14])};H[2]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.a[c>>3&7]=Tc(a,d,a.a[c>>3&7])};G[3]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Uc(a,d,a.d[c>>2&14])};
H[3]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.a[c>>3&7]=Uc(a,d,a.a[c>>3&7])};G[4]=H[4]=function(a){R(a)};G[5]=H[5]=function(a){R(a)};G[6]=H[6]=function(a){a.O?V(a,0):a.s[0]&=-9};G[7]=H[7]=function(a){R(a)};G[8]=H[8]=function(a){R(a)};G[9]=H[9]=function(a){a.O&&V(a,0)};G[10]=H[10]=function(a){R(a)};G[11]=H[11]=function(a){R(a)};G[12]=H[12]=function(a){R(a)};G[13]=H[13]=function(a){R(a)};G[14]=H[14]=function(a){R(a)};G[15]=H[15]=function(a){R(a)};
G[16]=H[16]=function(a){R(a)};G[17]=H[17]=function(a){R(a)};G[18]=H[18]=function(a){R(a)};G[19]=H[19]=function(a){R(a)};G[20]=H[20]=function(a){R(a)};G[21]=H[21]=function(a){R(a)};G[22]=H[22]=function(a){R(a)};G[23]=H[23]=function(a){R(a)};G[24]=H[24]=function(a){var c=y(a);192>c&&a.h(c)};G[25]=H[25]=function(a){R(a)};G[26]=H[26]=function(a){R(a)};G[27]=H[27]=function(a){R(a)};G[28]=H[28]=function(a){R(a)};G[29]=H[29]=function(a){R(a)};G[30]=H[30]=function(a){R(a)};G[31]=H[31]=function(a){R(a)};
G[32]=H[32]=function(a){var c=y(a);a.O&&V(a,0);switch(c>>3&7){case 0:a.a[c&7]=a.s[0];break;case 2:a.a[c&7]=a.s[2];break;case 3:a.a[c&7]=a.s[3];break;case 4:a.a[c&7]=a.s[4];break;default:R(a)}};G[33]=H[33]=function(a){var c=y(a);a.O&&V(a,0);a.a[c&7]=a.pc[c>>3&7]};
G[34]=H[34]=function(a){var c=y(a);a.O&&V(a,0);var d=a.a[c&7];switch(c>>3&7){case 0:a.s[0]=d;if(-2147483648===(a.s[0]&-2147483647))throw a.debug.Q("#GP handler");Sc(a);break;case 2:a.s[2]=d;break;case 3:a.s[3]=d;Vc(a);break;case 4:d&-3565568&&V(a,0);(a.s[4]^d)&128&&(d&128?Vc(a):Aa(a));a.s[4]=d;a.Gd=a.s[4]&16?128:0;if(a.s[4]&32)throw a.debug.Q("PAE");break;default:R(a)}};G[35]=H[35]=function(a){var c=y(a);a.O&&V(a,0);a.pc[c>>3&7]=a.a[c&7]};G[36]=H[36]=function(a){R(a)};G[37]=H[37]=function(a){R(a)};
G[38]=H[38]=function(a){R(a)};G[39]=H[39]=function(a){R(a)};G[40]=H[40]=function(a){R(a)};G[41]=H[41]=function(a){R(a)};G[42]=H[42]=function(a){R(a)};G[43]=H[43]=function(a){R(a)};G[44]=H[44]=function(a){R(a)};G[45]=H[45]=function(a){R(a)};G[46]=H[46]=function(a){R(a)};G[47]=H[47]=function(a){R(a)};G[48]=H[48]=function(a){a.O&&V(a,0);var c=a.a[0];switch(a.a[1]){case 372:a.Hc=c&65535;break;case 374:a.Zc=c;break;case 373:a.$c=c}};
G[49]=H[49]=function(a){if(a.O&&a.s[4]&4)V(a,0);else{var c=Ba()-a.Od;a.a[0]=1024*c;a.a[2]=2.384185791015625E-7*c}};G[50]=H[50]=function(a){a.O&&V(a,0);var c=0;switch(a.a[1]){case 372:c=a.Hc;break;case 374:c=a.Zc;break;case 373:c=a.$c}a.a[0]=c;a.a[2]=0};G[51]=H[51]=function(a){R(a)};
G[52]=H[52]=function(a){var c=a.Hc&65532;a.ma&&0!==c||V(a,0);a.f&=-131585;a.l=a.Zc;a.a[4]=a.$c;a.N[1]=c;a.Db[1]=0;a.Ka[1]=-1;a.B[1]=0;a.Ea||yc(a,!0);a.O=0;a.Wa=-1;a.N[2]=c+8;a.Db[2]=0;a.Ka[2]=-1;a.B[2]=0;a.Eb=!0;a.u=a.a;a.D=4;a.nb=5};G[53]=H[53]=function(a){var c=a.Hc&65532;a.ma&&!a.O&&0!==c||V(a,0);a.l=a.a[2];a.a[4]=a.a[1];a.N[1]=c+16|3;a.Db[1]=0;a.Ka[1]=-1;a.B[1]=0;a.Ea||yc(a,!0);a.O=3;a.Wa=-1;a.N[2]=c+24|3;a.Db[2]=0;a.Ka[2]=-1;a.B[2]=0;a.Eb=!0;a.u=a.a;a.D=4;a.nb=5};G[54]=H[54]=function(a){R(a)};
G[55]=H[55]=function(a){R(a)};G[56]=H[56]=function(a){R(a)};G[57]=H[57]=function(a){R(a)};G[58]=H[58]=function(a){R(a)};G[59]=H[59]=function(a){R(a)};G[60]=H[60]=function(a){R(a)};G[61]=H[61]=function(a){R(a)};G[62]=H[62]=function(a){R(a)};G[63]=H[63]=function(a){R(a)};G[64]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ya()&&(a.d[c>>2&14]=d)};H[64]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ya()&&(a.a[c>>3&7]=d)};
G[65]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ya()||(a.d[c>>2&14]=d)};H[65]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ya()||(a.a[c>>3&7]=d)};G[66]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.La()&&(a.d[c>>2&14]=d)};H[66]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.La()&&(a.a[c>>3&7]=d)};G[67]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.La()||(a.d[c>>2&14]=d)};
H[67]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.La()||(a.a[c>>3&7]=d)};G[68]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Na()&&(a.d[c>>2&14]=d)};H[68]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Na()&&(a.a[c>>3&7]=d)};G[69]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Na()||(a.d[c>>2&14]=d)};H[69]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Na()||(a.a[c>>3&7]=d)};
G[70]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];cc(a)&&(a.d[c>>2&14]=d)};H[70]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];cc(a)&&(a.a[c>>3&7]=d)};G[71]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];cc(a)||(a.d[c>>2&14]=d)};H[71]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];cc(a)||(a.a[c>>3&7]=d)};G[72]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Za()&&(a.d[c>>2&14]=d)};
H[72]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Za()&&(a.a[c>>3&7]=d)};G[73]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Za()||(a.d[c>>2&14]=d)};H[73]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Za()||(a.a[c>>3&7]=d)};G[74]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ma()&&(a.d[c>>2&14]=d)};H[74]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ma()&&(a.a[c>>3&7]=d)};
G[75]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ma()||(a.d[c>>2&14]=d)};H[75]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ma()||(a.a[c>>3&7]=d)};G[76]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];dc(a)&&(a.d[c>>2&14]=d)};H[76]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];dc(a)&&(a.a[c>>3&7]=d)};G[77]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];dc(a)||(a.d[c>>2&14]=d)};
H[77]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];dc(a)||(a.a[c>>3&7]=d)};G[78]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];ec(a)&&(a.d[c>>2&14]=d)};H[78]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];ec(a)&&(a.a[c>>3&7]=d)};G[79]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];ec(a)||(a.d[c>>2&14]=d)};H[79]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];ec(a)||(a.a[c>>3&7]=d)};G[80]=H[80]=function(a){R(a)};G[81]=H[81]=function(a){R(a)};G[82]=H[82]=function(a){R(a)};
G[83]=H[83]=function(a){R(a)};G[84]=H[84]=function(a){R(a)};G[85]=H[85]=function(a){R(a)};G[86]=H[86]=function(a){R(a)};G[87]=H[87]=function(a){R(a)};G[88]=H[88]=function(a){R(a)};G[89]=H[89]=function(a){R(a)};G[90]=H[90]=function(a){R(a)};G[91]=H[91]=function(a){R(a)};G[92]=H[92]=function(a){R(a)};G[93]=H[93]=function(a){R(a)};G[94]=H[94]=function(a){R(a)};G[95]=H[95]=function(a){R(a)};G[96]=H[96]=function(a){R(a)};G[97]=H[97]=function(a){R(a)};G[98]=H[98]=function(a){R(a)};G[99]=H[99]=function(a){R(a)};
G[100]=H[100]=function(a){R(a)};G[101]=H[101]=function(a){R(a)};G[102]=H[102]=function(a){R(a)};G[103]=H[103]=function(a){R(a)};G[104]=H[104]=function(a){R(a)};G[105]=H[105]=function(a){R(a)};G[106]=H[106]=function(a){R(a)};G[107]=H[107]=function(a){R(a)};G[108]=H[108]=function(a){R(a)};G[109]=H[109]=function(a){R(a)};G[110]=H[110]=function(a){R(a)};G[111]=H[111]=function(a){R(a)};G[112]=H[112]=function(a){R(a)};G[113]=H[113]=function(a){R(a)};G[114]=H[114]=function(a){R(a)};G[115]=H[115]=function(a){R(a)};
G[116]=H[116]=function(a){R(a)};G[117]=H[117]=function(a){R(a)};G[118]=H[118]=function(a){R(a)};G[119]=H[119]=function(a){R(a)};G[120]=H[120]=function(a){R(a)};G[121]=H[121]=function(a){R(a)};G[122]=H[122]=function(a){R(a)};G[123]=H[123]=function(a){R(a)};G[124]=H[124]=function(a){R(a)};G[125]=H[125]=function(a){R(a)};G[126]=H[126]=function(a){R(a)};G[127]=H[127]=function(a){R(a)};G[128]=function(a){Wc(a,a.Ya())};H[128]=function(a){Xc(a,a.Ya())};G[129]=function(a){Wc(a,!a.Ya())};
H[129]=function(a){Xc(a,!a.Ya())};G[130]=function(a){Wc(a,a.La())};H[130]=function(a){Xc(a,a.La())};G[131]=function(a){Wc(a,!a.La())};H[131]=function(a){Xc(a,!a.La())};G[132]=function(a){Wc(a,a.Na())};H[132]=function(a){Xc(a,a.Na())};G[133]=function(a){Wc(a,!a.Na())};H[133]=function(a){Xc(a,!a.Na())};G[134]=function(a){Wc(a,cc(a))};H[134]=function(a){Xc(a,cc(a))};G[135]=function(a){Wc(a,!cc(a))};H[135]=function(a){Xc(a,!cc(a))};G[136]=function(a){Wc(a,a.Za())};H[136]=function(a){Xc(a,a.Za())};
G[137]=function(a){Wc(a,!a.Za())};H[137]=function(a){Xc(a,!a.Za())};G[138]=function(a){Wc(a,a.Ma())};H[138]=function(a){Xc(a,a.Ma())};G[139]=function(a){Wc(a,!a.Ma())};H[139]=function(a){Xc(a,!a.Ma())};G[140]=function(a){Wc(a,dc(a))};H[140]=function(a){Xc(a,dc(a))};G[141]=function(a){Wc(a,!dc(a))};H[141]=function(a){Xc(a,!dc(a))};G[142]=function(a){Wc(a,ec(a))};H[142]=function(a){Xc(a,ec(a))};G[143]=function(a){Wc(a,!ec(a))};H[143]=function(a){Xc(a,!ec(a))};
G[144]=H[144]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Ya()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[145]=H[145]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Ya()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[146]=H[146]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.La()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[147]=H[147]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.La()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};
G[148]=H[148]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Na()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[149]=H[149]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Na()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[150]=H[150]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!cc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[151]=H[151]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!cc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};
G[152]=H[152]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Za()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[153]=H[153]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Za()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[154]=H[154]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Ma()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[155]=H[155]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Ma()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};
G[156]=H[156]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!dc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[157]=H[157]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!dc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[158]=H[158]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!ec(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[159]=H[159]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!ec(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[160]=function(a){L(a,a.N[4])};
H[160]=function(a){M(a,a.N[4])};G[161]=function(a){N(a,4,J(a,Kb(a,0)));a.u[a.D]+=2};H[161]=function(a){N(a,4,J(a,Kb(a,0)));a.u[a.D]+=4};
G[162]=H[162]=function(a){var c=0,d=0,f=0,g=0;switch(a.a[0]){case 0:c=5;g=1970169159;f=1231384169;d=1818588270;break;case 1:c=3939;g=0;d=1082130432;f=(a.ra?1:0)|43322;break;case 2:c=1717260289;d=g=0;f=8024064;break;case 4:switch(a.a[1]){case 0:c=289;g=29360191;d=63;f=1;break;case 1:c=290;g=29360191;d=63;f=1;break;case 2:c=323,g=96469055,d=4095,f=1}break;case -2147483648:c=5}a.a[0]=c;a.a[1]=d;a.a[2]=f;a.a[3]=g};
G[163]=function(a){var c=y(a);192>c?vb(a,a.h(c),a.na[c>>2&14]):rb(a,a.d[c<<1&14],a.d[c>>2&14]&15)};H[163]=function(a){var c=y(a);192>c?vb(a,a.h(c),a.a[c>>3&7]):rb(a,a.a[c&7],a.a[c>>3&7]&31)};G[164]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=pb(a,d,a.d[c>>2&14],y(a)&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
H[164]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=qb(a,d,a.a[c>>3&7],y(a)&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[165]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=pb(a,d,a.d[c>>2&14],a.k[4]&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
H[165]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=qb(a,d,a.a[c>>3&7],a.k[4]&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[166]=H[166]=function(a){R(a)};G[167]=H[167]=function(a){R(a)};G[168]=function(a){L(a,a.N[5])};H[168]=function(a){M(a,a.N[5])};G[169]=function(a){N(a,5,J(a,Kb(a,0)));a.u[a.D]+=2};H[169]=function(a){N(a,5,J(a,Kb(a,0)));a.u[a.D]+=4};G[170]=H[170]=function(a){R(a)};
G[171]=function(a){var c=y(a);192>c?Cb(a,a.h(c),a.na[c>>2&14]):a.d[c<<1&14]=tb(a,a.d[c<<1&14],a.na[c>>2&14]&15)};H[171]=function(a){var c=y(a);192>c?Cb(a,a.h(c),a.a[c>>3&7]):a.a[c&7]=tb(a,a.a[c&7],a.a[c>>3&7]&31)};G[172]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=nb(a,d,a.d[c>>2&14],y(a)&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
H[172]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=ob(a,d,a.a[c>>3&7],y(a)&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[173]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=nb(a,d,a.d[c>>2&14],a.k[4]&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};
H[173]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=ob(a,d,a.a[c>>3&7],a.k[4]&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[174]=H[174]=function(a){switch(y(a)>>3&7){case 6:break;default:R(a)}};G[175]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.d[c>>2&14]=Ja(a,a.na[c>>2&14],d)};H[175]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ka(a,a.a[c>>3&7],d)};
G[176]=H[176]=function(a){var c=y(a);if(192>c){var d=a.h(c);ic(a,d,1);var f=B(a,d)}else f=a.k[c<<2&12|c>>2&1];a.sub(a.k[0],f,7);a.ub()?192>c?Rb(a,d,a.k[c>>1&12|c>>5&1]):a.k[c<<2&12|c>>2&1]=a.k[c>>1&12|c>>5&1]:a.k[0]=f};G[177]=function(a){var c=y(a);if(192>c){var d=a.h(c);ic(a,d,2);var f=J(a,d)}else f=a.d[c<<1&14];a.sub(a.d[0],f,15);a.ub()?192>c?S(a,d,a.d[c>>2&14]):a.d[c<<1&14]=a.d[c>>2&14]:a.d[0]=f};
H[177]=function(a){var c=y(a);if(192>c){var d=a.h(c);ic(a,d,4);var f=K(a,d)}else f=a.a[c&7];a.sub(a.a[0],f,31);a.ub()?192>c?T(a,d,a.a[c>>3&7]):a.a[c&7]=a.a[c>>3&7]:a.a[0]=f};G[178]=function(a){var c=y(a);192<=c&&R(a);rc(a,2,a.h(c),c>>2&14)};H[178]=function(a){var c=y(a);192<=c&&R(a);wc(a,2,a.h(c),c>>3&7)};G[179]=function(a){var c=y(a);192>c?xb(a,a.h(c),a.na[c>>2&14]):a.d[c<<1&14]=ub(a,a.d[c<<1&14],a.na[c>>2&14]&15)};
H[179]=function(a){var c=y(a);192>c?xb(a,a.h(c),a.a[c>>3&7]):a.a[c&7]=ub(a,a.a[c&7],a.a[c>>3&7]&31)};G[180]=function(a){var c=y(a);192<=c&&R(a);rc(a,4,a.h(c),c>>2&14)};H[180]=function(a){var c=y(a);192<=c&&R(a);wc(a,4,a.h(c),c>>3&7)};G[181]=function(a){var c=y(a);192<=c&&R(a);rc(a,5,a.h(c),c>>2&14)};H[181]=function(a){var c=y(a);192<=c&&R(a);wc(a,5,a.h(c),c>>3&7)};G[182]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.d[c>>2&14]=d};
H[182]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.a[c>>3&7]=d};G[183]=H[183]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.a[c>>3&7]=d};G[184]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Db(a,d)};H[184]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Db(a,d)};G[185]=H[185]=function(a){R(a)};
G[186]=function(a){var c=y(a);switch(c>>3&7){case 4:192>c?vb(a,a.h(c),y(a)&15):rb(a,a.d[c<<1&14],y(a)&15);break;case 5:192>c?Cb(a,a.h(c),y(a)&15):a.d[c<<1&14]=tb(a,a.d[c<<1&14],y(a)&15);break;case 6:192>c?xb(a,a.h(c),y(a)&15):a.d[c<<1&14]=ub(a,a.d[c<<1&14],y(a)&15);break;case 7:192>c?wb(a,a.h(c),y(a)&15):a.d[c<<1&14]=sb(a,a.d[c<<1&14],y(a)&15);break;default:R(a)}};
H[186]=function(a){var c=y(a);switch(c>>3&7){case 4:192>c?vb(a,a.h(c),y(a)&31):rb(a,a.a[c&7],y(a)&31);break;case 5:192>c?Cb(a,a.h(c),y(a)&31):a.a[c&7]=tb(a,a.a[c&7],y(a)&31);break;case 6:192>c?xb(a,a.h(c),y(a)&31):a.a[c&7]=ub(a,a.a[c&7],y(a)&31);break;case 7:192>c?wb(a,a.h(c),y(a)&31):a.a[c&7]=sb(a,a.a[c&7],y(a)&31);break;default:R(a)}};G[187]=function(a){var c=y(a);192>c?wb(a,a.h(c),a.na[c>>2&14]):a.d[c<<1&14]=sb(a,a.d[c<<1&14],a.na[c>>2&14]&15)};
H[187]=function(a){var c=y(a);192>c?wb(a,a.h(c),a.a[c>>3&7]):a.a[c&7]=sb(a,a.a[c&7],a.a[c>>3&7]&31)};G[188]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14],f=a.d;var g=a.d[c>>2&14];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc(-d&d));f[c>>2&14]=a};H[188]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc((-d&d)>>>0));f[c>>3&7]=a};
G[189]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14],f=a.d;var g=a.d[c>>2&14];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc(d));f[c>>2&14]=a};H[189]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc(d>>>0));f[c>>3&7]=a};G[190]=function(a){var c=y(a),d=192>c?B(a,a.h(c))<<24>>24:a.Bb[c<<2&12|c>>2&1];a.d[c>>2&14]=d};H[190]=function(a){var c=y(a),d=192>c?B(a,a.h(c))<<24>>24:a.Bb[c<<2&12|c>>2&1];a.a[c>>3&7]=d};
G[191]=H[191]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.a[c>>3&7]=d};G[192]=H[192]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,h=a.k[g];a.k[g]=d;d=a.add(d,h,7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};
G[193]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];var h=c>>2&14,k=a.d[h];a.d[h]=d;d=a.add(d,k,15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};H[193]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];var h=c>>3&7,k=a.a[h];a.a[h]=d;d=a.add(d,k,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[194]=H[194]=function(a){R(a)};
G[195]=H[195]=function(a){R(a)};G[196]=H[196]=function(a){R(a)};G[197]=H[197]=function(a){R(a)};G[198]=H[198]=function(a){R(a)};
G[199]=H[199]=function(a){var c=y(a);switch(c>>3&7){case 1:192<=c&&R(a);var d=a.h(c);ic(a,d,8);var c=K(a,d),f=K(a,d+4);a.a[0]===c&&a.a[2]===f?(a.f|=64,T(a,d,a.a[3]),T(a,d+4,a.a[1])):(a.f&=-65,a.a[0]=c,a.a[2]=f);a.n&=-65;break;case 6:var g=(f=Zc())?$c():0;a.Qa?(192>c&&(d=a.h(c)),192>c?T(a,d,g):a.eb[c&7]=g):(192>c&&(d=a.h(c)),192>c?S(a,d,g):a.d[c<<1&14]=g);a.f&=-2262;a.f|=f;a.n=0;break;default:R(a)}};G[200]=H[200]=function(a){ad(a,0)};G[201]=H[201]=function(a){ad(a,1)};
G[202]=H[202]=function(a){ad(a,2)};G[203]=H[203]=function(a){ad(a,3)};G[204]=H[204]=function(a){ad(a,4)};G[205]=H[205]=function(a){ad(a,5)};G[206]=H[206]=function(a){ad(a,6)};G[207]=H[207]=function(a){ad(a,7)};G[208]=H[208]=function(a){R(a)};G[209]=H[209]=function(a){R(a)};G[210]=H[210]=function(a){R(a)};G[211]=H[211]=function(a){R(a)};G[212]=H[212]=function(a){R(a)};G[213]=H[213]=function(a){R(a)};G[214]=H[214]=function(a){R(a)};G[215]=H[215]=function(a){R(a)};G[216]=H[216]=function(a){R(a)};
G[217]=H[217]=function(a){R(a)};G[218]=H[218]=function(a){R(a)};G[219]=H[219]=function(a){R(a)};G[220]=H[220]=function(a){R(a)};G[221]=H[221]=function(a){R(a)};G[222]=H[222]=function(a){R(a)};G[223]=H[223]=function(a){R(a)};G[224]=H[224]=function(a){R(a)};G[225]=H[225]=function(a){R(a)};G[226]=H[226]=function(a){R(a)};G[227]=H[227]=function(a){R(a)};G[228]=H[228]=function(a){R(a)};G[229]=H[229]=function(a){R(a)};G[230]=H[230]=function(a){R(a)};G[231]=H[231]=function(a){R(a)};G[232]=H[232]=function(a){R(a)};
G[233]=H[233]=function(a){R(a)};G[234]=H[234]=function(a){R(a)};G[235]=H[235]=function(a){R(a)};G[236]=H[236]=function(a){R(a)};G[237]=H[237]=function(a){R(a)};G[238]=H[238]=function(a){R(a)};G[239]=H[239]=function(a){R(a)};G[240]=H[240]=function(a){R(a)};G[241]=H[241]=function(a){R(a)};G[242]=H[242]=function(a){R(a)};G[243]=H[243]=function(a){R(a)};G[244]=H[244]=function(a){R(a)};G[245]=H[245]=function(a){R(a)};G[246]=H[246]=function(a){R(a)};G[247]=H[247]=function(a){R(a)};G[248]=H[248]=function(a){R(a)};
G[249]=H[249]=function(a){R(a)};G[250]=H[250]=function(a){R(a)};G[251]=H[251]=function(a){R(a)};G[252]=H[252]=function(a){R(a)};G[253]=H[253]=function(a){R(a)};G[254]=H[254]=function(a){R(a)};G[255]=H[255]=function(a){R(a)};"use strict";function Qc(a,c){var d=a.B[1];a.l-=d;a.l=a.l+c&65535;a.l=a.l+d|0;a.K=!0}function Wc(a,c){c?Qc(a,u(a)):a.l=a.l+2|0;a.K=!0}function Xc(a,c){if(c){var d=w(a);a.l=a.l+d|0}else a.l=a.l+4|0;a.K=!0}l=q.prototype;
l.loop=function(){if(--this.i[this.G]){var a=t(this);this.l=this.l+a|0}else this.l++;this.K=!0};l.ta=function(){return this.n&1?(this.Fa^(this.Fa^this.Ga)&(this.Ga^this.j))>>>this.Z&1:this.f&1};l.ke=function(){return this.n&4?154020>>((this.C^this.C>>4)&15)&4:this.f&4};function Mb(a){return a.n&16?(a.Fa^a.Ga^a.j)&16:a.f&16}l.ub=function(){return this.n&64?(~this.C&this.C-1)>>>this.Z&1:this.f&64};l.Rc=function(){return this.n&128?this.C>>>this.Z&1:this.f&128};
l.rc=function(){return this.n&2048?((this.Fa^this.j)&(this.Ga^this.j))>>>this.Z&1:this.f&2048};l.Ya=q.prototype.rc;l.La=q.prototype.ta;l.Na=q.prototype.ub;l.Za=q.prototype.Rc;l.Ma=q.prototype.ke;function cc(a){return a.ta()||a.ub()}function dc(a){return!a.Rc()!==!a.rc()}function ec(a){return a.ub()||!a.Rc()!==!a.rc()}function L(a,c){var d=Kb(a,-2);S(a,d,c);a.u[a.D]-=2}function M(a,c){var d=Kb(a,-4);T(a,d,c);a.u[a.D]-=4}function Nb(a){var c=J(a,a.B[2]+a.u[a.D]|0);a.u[a.D]+=2;return c}
function P(a){var c=K(a,a.B[2]+a.u[a.D]|0);a.u[a.D]+=4;return c}function gc(a,c){var d=a.d[0];a.d[0]=a.d[c];a.d[c]=d}function hc(a,c){var d=a.a[0];a.a[0]=a.a[c];a.a[c]=d}function rc(a,c,d,f){var g=J(a,d);d=J(a,d+2|0);N(a,c,d);a.d[f]=g}function wc(a,c,d,f){var g=K(a,d);d=J(a,d+4|0);N(a,c,d);a.a[f]=g}function ad(a,c){var d=a.a[c];a.a[c]=d>>>24|d<<24|d>>8&65280|d<<8&16711680}
l.ee=function(a){if(233495534===a)this.q=!1,this.V=0,this.ha=-1,this.sb=this.Ea,ya(this),this.Qa=this.Ea,za(this);else throw console.log(a),console.log(a.stack),a;};
l.reset=function(){this.Db=new Uint8Array(8);this.Ka=new Uint32Array(8);this.B=new Int32Array(8);Aa(this);this.a=new Int32Array(8);this.eb=new Uint32Array(this.a.buffer);this.na=new Int16Array(this.a.buffer);this.d=new Uint16Array(this.a.buffer);this.Bb=new Int8Array(this.a.buffer);this.k=new Uint8Array(this.a.buffer);this.N=new Uint16Array(8);this.pc=new Int32Array(8);this.ma=!1;this.bc=this.Qc=this.cc=this.Sc=0;this.q=!1;this.s[0]=1610612752;this.s[2]=0;this.s[3]=0;this.s[4]=0;this.pc[6]=-61456;
this.pc[7]=1024;this.O=0;this.w=!1;this.Gd=0;this.sb=this.Eb=this.Qa=this.Ea=!1;this.Wa=-1;za(this);ya(this);this.u=this.d;this.D=8;this.nb=10;this.W=this.P=0;this.sc=!1;this.Zc=this.$c=this.Hc=0;this.ha=-1;this.V=0;this.f=2;this.Z=this.Ga=this.Fa=this.j=this.C=this.n=0;this.Od=Ba();this.l=1048560;N(this,2,48);this.d[8]=256;this.I.We&&this.I.We.reset()};
l.Ua=function(a,c){this.mb=a.mb||67108864;this.memory=new bd(this.mb);this.reset();var d=new cd(this.memory);this.p=d;this.Kb.ue=a.Kb;this.Kb.Wb=a.Cg;dd(this);var f=0;X(d,146,this,function(){return f});Y(d,146,this,function(a){f=a});this.I={};a.yf&&(this.I.S=new ed(this),this.I.Sa=new fd(this),gd(this,a),this.I.Vc=new hd(this),this.I.oc=new id(this),this.I.Jg=new jd,this.I.Wb=new ld(this,c,a.pa||8388608),this.ra=new md(this),this.I.Hd=new nd(this,c),this.I.hh=new od(this,1016,c),this.I.Tg=new pd(this,
a.Ba,a.fe),a.sa&&(this.I.sa=new qd(this,a.sa,!0,1,c)),a.Da&&(this.I.Da=new qd(this,a.Da,!1,0,c)),this.I.Be=new rd(this),a.rf&&(this.I.bh=new sd(this,c)),a.xb&&(this.I.We=new td(this,c,a.xb)))};function gd(a,c){var d=c.bf||531;a.I.Sa.Ta[56]=1|d>>4&240;a.I.Sa.Ta[61]=d&255;d=a.mb-16777216;a.I.Sa.Ta[52]=d>>16&255;a.I.Sa.Ta[53]=d>>24&255;a.I.Sa.Ta[91]=0;a.I.Sa.Ta[92]=0;a.I.Sa.Ta[93]=0;a.I.Sa.Ta[20]=45}
function dd(a){var c=a.Kb.ue,d=a.Kb.Wb;if(c){var f=new Uint8Array(c);a.memory.b.set(f,1048576-c.byteLength);d&&(f=new Uint8Array(d),a.memory.b.set(f,786432));ud(a.p,4293918720,1048576,function(a){return this.memory.b[a&1048575]}.bind(a),function(a,c){this.memory.b[a&1048575]=c}.bind(a))}}l.de=function(){for(var a=Date.now(),c=a;33>c-a;){this.I.Be.hb(c,!1);this.I.Sa.hb(c,!1);oc(this);for(c=11001;c--;)Rc(this);c=Date.now()}};
"undefined"!==typeof window&&(window.b=q.prototype.de,window.e=q.prototype.ee,window.j=q.prototype.F);function Rc(a){a.P++;a.W=a.l;var c=y(a);a.table[c](a)}function Lb(a){a.table[y(a)](a)}q.prototype.F=function(){var a,c;a=Date.now();c=this.I.Be.hb(a,!1);a=this.I.Sa.hb(a,!1);return this.sc?Math.ceil(Math.min(100,c,a)):0};function Sc(a){var c=-2147483648===(a.s[0]&-2147483648);a.ra||(a.s[0]|=4);a.s[0]|=16;c!==a.w&&(a.w=c,Aa(a))}
function y(a){a.l&-4096^a.Wa&&(a.v=Q(a,a.l)^a.l,a.Wa=a.l&-4096);var c=a.memory.b[a.v^a.l]|0;a.l=a.l+1|0;return c}function t(a){return y(a)<<24>>24}function u(a){if(4094<(a.l^a.Wa)>>>0)return y(a)|y(a)<<8;var c=a.memory.L(a.v^a.l);a.l=a.l+2|0;return c}function w(a){if(4092<(a.l^a.Wa)>>>0)return u(a)|u(a)<<16;var c=I(a.memory,a.v^a.l);a.l=a.l+4|0;return c}function Gb(a,c,d){return a.memory.M(c)|a.memory.M(d)<<8}
function Ib(a,c,d){var f;f=c&1?c&2?$b(a.memory,d-2>>1):$b(a.memory,c+1>>1):Gb(a,c+1,d-1);return a.memory.M(c)|f<<8|a.memory.M(d)<<24}function Hb(a,c,d,f){a.memory.T(c,f);a.memory.T(d,f>>8)}function Jb(a,c,d,f){a.memory.T(c,f);a.memory.T(d,f>>24);c&1?c&2?(a.memory.T(d-2,f>>8),a.memory.T(d-1,f>>16)):(a.memory.T(c+1,f>>8),a.memory.T(c+2,f>>16)):(a.memory.T(c+1,f>>8),a.memory.T(d-1,f>>16))}function B(a,c){return a.memory.M(Q(a,c))}
function J(a,c){return a.w&&4095===(c&4095)?B(a,c)|B(a,c+1)<<8:a.memory.L(Q(a,c))}function K(a,c){return a.w&&4093<=(c&4095)?J(a,c)|J(a,c+2)<<16:I(a.memory,Q(a,c))}function Rb(a,c,d){a.memory.T(C(a,c),d)}function S(a,c,d){var f=C(a,c);4095===(c&4095)?Hb(a,f,C(a,c+1),d):a.memory.ca(f,d)}function T(a,c,d){var f=C(a,c);4093<=(c&4095)?Jb(a,f,C(a,c+3),d):a.memory.da(f,d)}function pc(a){return a.sb?Xb(a,3)+w(a)|0:Xb(a,3)+u(a)|0}function lc(a){return a.f>>12&3}function Ob(a){return!!(a.f&131072)}
function mc(a){a.f=a.f&-2262|!!a.ta()|!!a.ke()<<2|!!Mb(a)<<4|!!a.ub()<<6|!!a.Rc()<<7|!!a.rc()<<11;a.n=0}function nc(a,c){var d=1769472,f=2588629;a.f&131072?(d|=12288,f|=1572864):a.O&&(d|=12288,a.O>lc(a)&&(d|=512));a.f=(c^(a.f^c)&d)&f|2;a.n=0}function Kb(a,c){return a.Eb?a.B[2]+a.u[a.D]+c|0:a.B[2]+(a.u[a.D]+c&65535)|0}function jc(a){return a.l-a.B[1]|0}
function xc(a,c,d,f){a.sc=!1;if(a.ma){if(Ob(a)&&a.s[4]&1)throw a.debug.Q("VME");Ob(a)&&d&&3>lc(a)&&V(a,0);if((c<<3|7)>a.Sc)throw a.debug.Q("#GP handler");var g=a.cc+(c<<3)|0;a.w&&(g=vd(a,g));var h=a.memory.L(g)|a.memory.L(g+6)<<16,k=a.memory.L(g+2),m=a.memory.M(g+5),p=m>>5&3,g=!1;if(0===(m&128))throw a.debug.Q("#NP handler");d&&p<a.O&&V(a,c<<3|2);m&=31;if(14===m)g=c=!1;else if(15===m)c=!0,g=!1;else{if(5===m)throw a.debug.Q("call int to task gate");if(6===m)throw a.debug.Q("16 bit interrupt gate");
if(7===m)g=c=!0;else throw a.debug.Q("#GP handler");}d=zc(a,k);if(d.kb)throw a.debug.Q("#GP handler");if(!d.Pb||d.ya>a.O)throw a.debug.Q("#GP handler");if(!d.vb)throw a.debug.Q("#NP handler");mc(a);m=a.f;if(!d.Lb&&d.ya<a.O){var x=(d.ya<<3)+4;if(x+5>a.Ka[6])throw a.debug.Q("#TS handler");x=x+a.B[6]|0;a.w&&(x=vd(a,x));var p=I(a.memory,x),x=a.memory.L(x+4),A=zc(a,x);if(A.kb)throw a.debug.Q("#TS handler");if(A.Cb!==d.ya)throw a.debug.Q("#TS handler");if(A.ya!==d.ya||!A.Yc)throw a.debug.Q("#TS handler");
if(!A.vb)throw a.debug.Q("#TS handler");var A=a.a[4],D=a.N[2];a.O=d.ya;a.Wa=-1;a.Ea!==d.size&&yc(a,d.size);a.f&=-196609;N(a,2,x);a.u[a.D]=p;m&131072?g?(ic(a,Kb(a,-20),20),L(a,a.N[5]),L(a,a.N[4]),L(a,a.N[3]),L(a,a.N[0])):(ic(a,Kb(a,-40),40),M(a,a.N[5]),M(a,a.N[4]),M(a,a.N[3]),M(a,a.N[0])):g?ic(a,Kb(a,-12),12):ic(a,Kb(a,-24),24);g?(L(a,D),L(a,A)):(M(a,D),M(a,A))}else if(d.Lb||d.ya===a.O)g?ic(a,Kb(a,-8),8):ic(a,Kb(a,-16),16),a.f&131072&&V(a,k&-4);else throw a.debug.Q("#GP handler");g?(L(a,m),L(a,a.N[1]),
L(a,jc(a)),!1!==f&&L(a,f),h&=65535):(M(a,m),M(a,a.N[1]),M(a,jc(a)),!1!==f&&M(a,f));m&131072&&(N(a,5,0),N(a,4,0),N(a,3,0),N(a,0,0));a.N[1]=k&-4|a.O;a.Ea!==d.size&&yc(a,d.size);a.Ka[1]=d.Mb;a.B[1]=d.Zb;a.l=a.B[1]+h|0;c||(a.f&=-513)}else ic(a,Kb(a,-6),6),h=c<<2,f=a.memory.L(h),h=a.memory.L(h+2),mc(a),L(a,a.f),L(a,a.N[1]),L(a,jc(a)),a.f&=-513,N(a,1,h),a.l=a.B[1]+f|0;a.K=!0}function Ac(a){a.l=a.W;xc(a,0,!1,!1);throw 233495534;}function R(a){a.l=a.W;xc(a,6,!1,!1);throw 233495534;}
function kc(a){a.l=a.W;xc(a,7,!1,!1);throw 233495534;}function V(a,c){a.l=a.W;xc(a,13,!1,c);throw 233495534;}function r(a){return Xb(a,3)}function v(a){return Xb(a,2)}function Xb(a,c){return-1===a.ha?a.B[c]:9===a.ha?0:a.B[a.ha]}function oc(a){a.I.S&&a.f&512&&!a.q&&a.I.S.Nc()}
function Pb(a,c,d){if(a.ma&&(a.O>lc(a)||a.f&131072)){var f=a.Ka[6],g=a.B[6];if(103<=f){var h=a.memory.L(vd(a,g+100+2));if(f>=h+(c+d-1>>3)&&(d=(1<<d)-1<<(c&7),c=vd(a,g+h+(c>>3)),!((d&65280?a.memory.L(c):a.memory.M(c))&d)))return}V(a,0)}}function yc(a,c){a.Ea=a.Qa=a.sb=c;za(a);ya(a)}function za(a){a.table=a.Qa?a.Md:a.Ld}function ya(a){a.sb?(a.i=a.a,a.G=1,a.A=6,a.o=7):(a.i=a.d,a.G=2,a.A=12,a.o=14)}
function zc(a,c){var d=0===(c&4),f=c&-8,g,h;g={Cb:c&3,ie:d,kb:!1,uc:!0,Zb:0,rb:0,f:0,type:0,ya:0,dc:!1,vb:!1,Pb:!1,Yc:!1,Lb:!1,size:!1,Mb:0,re:!1,pe:!1,Nd:0};d?(d=a.bc,h=a.Qc):(d=a.B[7],h=a.Ka[7]);if(0===f)return g.kb=!0,g;if((c|7)>h)return g.uc=!1,g;d=d+f|0;a.w&&(d=vd(a,d));g.Nd=d;g.Zb=a.memory.L(d+2)|a.memory.M(d+4)<<16|a.memory.M(d+7)<<24;g.rb=a.memory.M(d+5);g.f=a.memory.M(d+6)>>4;g.type=g.rb&15;g.ya=g.rb>>5&3;g.dc=0===(g.rb&16);g.vb=128===(g.rb&128);g.Pb=8===(g.rb&8);g.Yc=2===(g.rb&2);g.Lb=4===
(g.rb&4);g.size=4===(g.f&4);f=a.memory.L(d)|(a.memory.M(d+6)&15)<<16;g.Mb=g.f&8?(f<<12|4095)>>>0:f;g.re=g.Yc&&!g.Pb;g.pe=g.Yc||!g.Pb;return g}
function N(a,c,d){1===c&&(a.ma=1===(a.s[0]&1));if(!a.ma||Ob(a))a.N[c]=d,a.Db[c]=0,a.B[c]=d<<4,2===c&&a.Eb&&(a.Eb=!1,a.u=a.d,a.D=8,a.nb=10);else{var f=zc(a,d);if(2===c){if(f.kb){V(a,0);return}if(!f.uc||f.dc||f.Cb!==a.O||!f.re||f.ya!==a.O){V(a,d&-4);return}if(!f.vb)throw a.l=a.W,xc(a,12,!1,d&-4),233495534;(a.Eb=f.size)?(a.u=a.a,a.D=4,a.nb=5):(a.u=a.d,a.D=8,a.nb=10)}else if(1===c){if(!f.Pb)throw a.debug.Q("#GP handler");if(f.dc)throw a.debug.Q("load system segment descriptor, type = "+(f.rb&15));if(f.Cb!==
a.O)throw a.debug.Q("privilege change");if(!f.Lb&&f.ya<a.O)throw a.debug.Q("inter privilege call");if(!f.Lb&&f.ya!==a.O)throw a.debug.Q("#GP handler");f.size!==a.Ea&&yc(a,f.size)}else{if(f.kb){a.N[c]=d;a.Db[c]=1;return}if(!f.uc||f.dc||!f.pe||(!f.Pb||!f.Lb)&&f.Cb>f.ya&&a.O>f.ya){V(a,d&-4);return}if(!f.vb)throw a.l=a.W,xc(a,11,!1,d&-4),233495534;}a.Db[c]=0;a.Ka[c]=f.Mb;a.B[c]=f.Zb;a.N[c]=d}}
function Tc(a,c,d){c=zc(a,c);a.n&=-65;if(c.kb||!c.uc||58817>>c.type&1)return a.f&=-65,d;a.f|=64;return c.type<<8|c.size<<12|c.ya<<13|c.vb<<15|c.f<<20}function Uc(a,c,d){c=zc(a,c);a.n&=-65;if(c.kb||!c.uc||62833>>c.type&1)return a.f&=-65,d;a.f|=64;return c.Mb|0}function Vc(a){a.Wa=-1;a.ib.set(a.kc)}function Aa(a){for(var c=new Int32Array(a.kc.buffer),d=0;262144>d;)c[d++]=c[d++]=c[d++]=c[d++]=0;Vc(a)}
function Q(a,c){var d;a.w?3===a.O?(d=c>>>12,d=a.ib[d]&4?a.m[d]^c:wd(a,c,0,1)|c&4095):d=vd(a,c):d=c;return d}function C(a,c){var d;a.w?3===a.O?(d=c>>>12,d=a.ib[d]&8?a.m[d]^c:wd(a,c,1,1)|c&4095):(d=c>>>12,d=a.ib[d]&2?a.m[d]^c:wd(a,c,1,0)|c&4095):d=c;return d}function vd(a,c){var d=c>>>12;return a.ib[d]&1?a.m[d]^c:wd(a,c,0,0)|c&4095}
function wd(a,c,d,f){var g=c>>>12,h=(a.s[3]>>>2)+(g>>10),k=a.memory.lb[h],m=!0,p=!0;k&1||(a.s[2]=c,xd(a,d,f,0));0===(k&2)&&(m=!1,d&&(f||a.s[0]&65536)&&(a.s[2]=c,xd(a,d,f,1)));0===(k&4)&&(p=!1,f&&(a.s[2]=c,xd(a,d,f,1)));if(k&a.Gd)a.memory.lb[h]=k|32|d<<6,c=k&4290772992|c&4190208,k=k&256;else{var x=((k&4294963200)>>>2)+(g&1023),A=a.memory.lb[x];0===(A&1)&&(a.s[2]=c,xd(a,d,f,0));0===(A&2)&&(m=!1,d&&(f||a.s[0]&65536)&&(a.s[2]=c,xd(a,d,f,1)));0===(A&4)&&(p=!1,f&&(a.s[2]=c,xd(a,d,f,1)));a.memory.lb[h]=
k|32;a.memory.lb[x]=A|32|d<<6;c=A&4294963200;k=A&256}a.m[g]=c^g<<12;m=p?m?15:5:m?3:1;a.ib[g]=m;k&&a.s[4]&128&&(a.kc[g]=m);return c}function ic(a,c,d){if(a.w){var f=3===a.O?1:0,g=f?8:2,h=c>>>12;0===(a.ib[h]&g)&&wd(a,c,1,f);4096<=(c&4095)+d-1&&0===(a.ib[h+1]&g)&&wd(a,c+d-1,1,f)}}function xd(a,c,d,f){if(a.q)throw a.debug.Q("Double fault");var g=a.s[2]>>>12;a.ib[g]=0;a.kc[g]=0;a.l=a.W;a.q=!0;xc(a,14,!1,d<<2|c<<1|f);throw 233495534;};(function(){function a(a,c){var d=new Blob([a]),f=document.createElement("a");f.download=c;f.href=window.URL.createObjectURL(d);f.dataset.downloadurl=["application/octet-stream",f.download,f.href].join(":");document.createEvent?(d=document.createEvent("MouseEvent"),d.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),f.dispatchEvent(d)):f.click()}function c(){for(var a=location.search.substr(1).split("&"),c={},d=0;d<a.length;d++){var f=a[d].split("=");c[f[0]]=decodeURIComponent(f[1])}return c}
function d(a,c){for(var d="";0<c--;)d+=a;return d}function f(a){return document.getElementById(a)}function g(){function a(c){f("boot_options").style.display="none";document.title=c.name+" - Virtual x86";g.filesystem=c.filesystem;c.state&&(f("reset").style.display="none",g.tc=c.state);g.Ba=c.Ba;g.sa=c.sa;c.Da?g.Da=c.Da:c.Mc&&(g.Da={url:c.Mc.url,size:c.Mc.size,async:!0});g.mb=c.mb;g.pa=c.pa;h({Jd:g,done:d})}function d(a){a.ic();m.c&&a.Re(m.c+"\n")}if("responseType"in new XMLHttpRequest){var g={};f("start_emulation").onclick=
function(){f("boot_options").style.display="none";x("custom");var a,c=f("floppy_image").files[0];c&&(a=c,g.Ba={buffer:c});if(c=f("cd_image").files[0])a=c,g.sa={buffer:c};if(c=f("hd_image").files[0])a=c,g.Da={buffer:c};a&&(document.title=a.name+" - Virtual x86");h({Jd:g,done:function(a){a.ic()}})};for(var k=[{id:"archlinux",state:{url:A?"http://localhost/v86-images/v86state.bin":"http://104.131.53.7:8086/v86state.bin",size:142924774},name:"Arch Linux",mb:134217728,pa:8388608,Mc:{url:"http://104.131.53.7:8086/arch3.img",
size:17179869184},filesystem:{basefs:{url:A?"http://localhost/v86-images/fs.json":"http://104.131.53.7:8086/fs.json",size:7510249},baseurl:A?"http://localhost/v86-images/arch/":"http://104.131.53.7:8086/arch/"}},{id:"archlinux2",name:"Arch Linux",mb:134217728,pa:8388608,Mc:{url:"http://localhost/v86-images/arch3.img",size:17179869184},filesystem:{basefs:{url:"http://localhost/v86-images/fs.json",size:7510249},baseurl:"http://localhost/v86-images/arch/"}},{id:"freedos",Ba:{url:"images/freedos722.img",
size:737280},name:"FreeDOS"},{id:"windows1",Ba:{url:"images/windows101.img",size:1474560},name:"Windows"},{id:"linux26",sa:{url:"images/linux.iso",size:5666816},name:"Linux"},{id:"linux3",sa:{url:"images/linux3.iso",size:10000384},name:"Linux",filesystem:{}},{id:"kolibrios",Ba:{url:A?"images/kolibri.img":"http://builds.kolibrios.org/eng/data/data/kolibri.img",size:1474560},name:"KolibriOS"},{id:"kolibrios-fallback",Ba:{url:"images/kolibri.img",size:1474560},name:"KolibriOS"},{id:"openbsd",Ba:{url:"images/openbsd.img",
size:1474560},name:"OpenBSD"},{id:"solos",Ba:{url:"images/os8.dsk",size:1474560},name:"Sol OS"},{id:"dsl",sa:{url:"https://dl.dropboxusercontent.com/u/61029208/dsl-4.11.rc2.iso",async:!0},name:"Damn Small Linux"},{id:"ttylinux",sa:{url:"images/ttylinux-pc_i486-2015.01.iso",async:!0},name:"ttylinux"},{id:"9pboot",sa:{url:"images/9pboot.iso",async:!1},name:"9p Linux image",filesystem:{basefs:{url:A?"http://localhost/v86-images/fs.json":"http://104.131.53.7:8086/fs.json",size:7510249},baseurl:A?"http://localhost/v86-images/arch/":
"http://104.131.53.7:8086/arch/"}}],m=c(),p=m.profile,D=0;D<k.length;D++){var wa=k[D],Ia=f("start_"+wa.id);if(p===wa.id){a(wa);return}Ia&&(Ia.onclick=function(c,d){x(c.id);d.blur();a(c)}.bind(this,wa,Ia))}"custom"===p&&(m["hda.url"]&&(g.Da={size:parseInt(m["hda.size"],10)||void 0,url:m["hda.url"],async:!0}),m["cdrom.url"]&&(g.sa={size:parseInt(m["cdrom.size"],10)||void 0,url:m["cdrom.url"],async:!0}),m["fda.url"]&&(g.Ba={size:parseInt(m["fda.size"],10)||void 0,url:m["fda.url"],async:!0}),g.Ba||g.sa||
g.Da)&&(f("boot_options").style.display="none",h({Jd:g,done:d}))}else alert("Your browser is not supported because it doesn't have XMLHttpRequest.responseType")}function h(a){var c=a.Jd,g=c.mb;!g&&(g=1048576*parseInt(f("memory_size").value,10),16777216>g||2147483648<=g)&&(alert("Invalid memory size - ignored."),g=33554432);var h=c.pa;!h&&(h=1048576*parseInt(f("video_memory_size").value,10),65536>=h||2147483648<=h)&&(alert("Invalid video memory size - ignored."),h=8388608);var m,p;c.tc||(m={url:"bios/seabios.bin"},
p={url:"bios/vgabios.bin"});var x=new Z({memory_size:g,vga_memory_size:h,screen_container:f("screen_container"),serial_container:f("serial"),boot_order:parseInt(f("boot_order").value,16)||0,network_relay_url:"ws://relay.widgetry.org/",bios:m,vga_bios:p,fda:c.Ba,hda:c.Da,cdrom:c.sa,initial_state:c.tc,filesystem:c.filesystem||{}});x.va("emulator-ready",function(){k(c,x);a.done(x)});x.va("download-progress",function(a){var c=f("loading");c.style.display="block";if(a.Ad===a.zd-1&&a.loaded>=a.total-2048)c.textContent=
"Done downloading. Starting now ...";else{var g="Downloading images ";"number"===typeof a.Ad&&a.zd&&(g+="["+(a.Ad+1)+"/"+a.zd+"] ");if(a.total&&"number"===typeof a.loaded){a=Math.floor(a.loaded/a.total*100);a=Math.min(100,Math.max(0,a));var h=Math.floor(a/2),g=g+(a+"% [")+d("#",h),g=g+(d(" ",50-h)+"]")}else g+=d(".",D++%50);c.textContent=g}})}function k(c,d){function g(){var a=Date.now(),c=d.b?d.b.r.P:0,h=c-D;D=c;var k=a-x;A+=k;x=a;f("speed").textContent=h/k|0;f("avg_speed").textContent=c/A|0;a=f("running_time");
c=A/1E3|0;a.textContent=60>c?c+"s":3600>c?(c/60|0)+"m "+yd(c%60,2)+"s":(c/3600|0)+"h "+yd((c/60|0)%60,2)+"m "+yd(c%60,2)+"s"}function h(a){a.ctrlKey?window.onbeforeunload=function(){window.onbeforeunload=null;return"CTRL-W cannot be sent to the emulator."}:window.onbeforeunload=null}f("boot_options").style.display="none";f("loading").style.display="none";f("runtime_options").style.display="block";f("runtime_infos").style.display="block";document.getElementsByClassName("phone_keyboard")[0].style.display=
"block";c.filesystem&&m(d);var k=f("news");k&&(k.style.display="none");f("run").onclick=function(){d.qe()?(f("run").value="Run",d.hd()):(f("run").value="Pause",d.ic());f("run").blur()};f("exit").onclick=function(){d.hd();location.href=location.pathname};f("lock_mouse").onclick=function(){if(!p)f("toggle_mouse").onclick();d.Fd();f("lock_mouse").blur()};var p=!0;f("toggle_mouse").onclick=function(){p=!p;d.ye(p);f("toggle_mouse").value=(p?"Dis":"En")+"able mouse";f("toggle_mouse").blur()};var x=0,A=
0,D=0,Ua;d.va("emulator-started",function(){x=Date.now();Ua=setInterval(g,1E3)});d.va("emulator-stopped",function(){g();clearInterval(Ua)});var yb=0,Ab=0;d.va("9p-read-start",function(){f("info_filesystem").style.display="block";f("info_filesystem_status").textContent="Loading ..."});d.va("9p-read-end",function(a){yb+=a[1];f("info_filesystem_status").textContent="Idle";f("info_filesystem_last_file").textContent=a[0];f("info_filesystem_bytes_read").textContent=yb});d.va("9p-write-end",function(a){Ab+=
a[1];f("info_filesystem_last_file").textContent=a[0];f("info_filesystem_bytes_written").textContent=Ab});var Bb=0,fb=0,Oa=0,Da=0;d.va("ide-read-start",function(){f("info_storage").style.display="block";f("info_storage_status").textContent="Loading ..."});d.va("ide-read-end",function(a){Bb+=a[1];fb+=a[2];f("info_storage_status").textContent="Idle";f("info_storage_bytes_read").textContent=Bb;f("info_storage_sectors_read").textContent=fb});d.va("ide-write-end",function(a){Oa+=a[1];Da+=a[2];f("info_storage_bytes_written").textContent=
Oa;f("info_storage_sectors_written").textContent=Da});var sc=0,tc=0;d.va("eth-receive-end",function(a){tc+=a[0];f("info_network").style.display="block";f("info_network_bytes_received").textContent=tc});d.va("eth-transmit-end",function(a){sc+=a[0];f("info_network").style.display="block";f("info_network_bytes_transmitted").textContent=sc});d.va("mouse-enable",function(a){f("info_mouse_enabled").textContent=a?"Yes":"No"});d.va("screen-set-mode",function(a){a?f("info_vga_mode").textContent="Graphical":
(f("info_vga_mode").textContent="Text",f("info_res").textContent="-",f("info_bpp").textContent="-")});d.va("screen-set-size-graphical",function(a){f("info_res").textContent=a[0]+"x"+a[1];f("info_bpp").textContent=a[2]});f("reset").onclick=function(){d.Ud();f("reset").blur()};for(var k=["hda","hdb","fda","fdb"],zb=0;zb<k.length;zb++){var uc=f("get_"+k[zb]+"_image"),vc=c[k[zb]];vc&&16777216>vc.byteLength?uc.onclick=function(c){vc.qc(function(d){d&&a(d,c+".img")});this.blur()}.bind(uc,k[zb]):uc.style.display=
"none"}f("memory_dump").onclick=function(){a(d.b.r.memory.buffer,"v86memory.bin");f("memory_dump").blur()};f("save_state").onclick=function(){d.Vd(function(c,d){c?console.log("Couldn't save state: ",c):a(d,"v86state.bin")});f("save_state").blur()};f("ctrlaltdel").onclick=function(){d.Uc([29,56,83,157,184,211]);f("ctrlaltdel").blur()};f("alttab").onclick=function(){d.Uc([56,15]);setTimeout(function(){d.Uc([184,143])},100);f("alttab").blur()};f("scale").onchange=function(){var a=parseFloat(this.value);
(a||0<a)&&d.Oe(a,a)};f("fullscreen").onclick=function(){d.Me()};f("screen_container").onclick=function(){window.getSelection().isCollapsed&&document.getElementsByClassName("phone_keyboard")[0].focus()};f("take_screenshot").onclick=function(){d.Ne();f("take_screenshot").blur()};f("serial").style.display="block";window.addEventListener("keydown",h,!1);window.addEventListener("keyup",h,!1);window.addEventListener("blur",h,!1)}function m(c){f("filesystem_panel").style.display="block";f("filesystem_send_file").onchange=
function(){Array.prototype.forEach.call(this.files,function(a){var d=new zd(a);d.onload=function(){d.qc(function(d){c.ae("/"+a.name,new Uint8Array(d))})};d.load()},this);this.value=""};f("filesystem_get_file").onkeypress=function(d){13===d.which&&(this.disabled=!0,c.He(this.value,function(c,d){this.disabled=!1;if(d){var f=this.value.replace(/\/$/,"").split("/"),f=f[f.length-1]||"root";a(d,f);this.value=""}else alert("Can't read file")}.bind(this)))}}function p(){location.reload()}function x(a){window.history.pushState&&
window.history.pushState({profile:a},"","?profile="+a)}var A=-1===location.host.indexOf("."),D=0;window.addEventListener("load",g,!1);window.addEventListener("load",function(){setTimeout(function(){window.addEventListener("popstate",p)},0)});"complete"===document.readyState&&g()})();function cd(a){this.b=[];this.I=Array(65536);this.memory=a;for(var c=0;65536>c;c++)this.b[c]={M:this.qf,L:this.of,Ge:this.pf,T:this.wd,ca:this.wd,da:this.wd,za:void 0};for(var d=a.size,c=0;c<<17<d;c++)a.j[c]=a.m[c]=void 0,a.q[c]=a.v[c]=void 0;ud(this,d,4294967296-d,function(){return 255},function(){},function(){return-1},function(){});this.ja=[this.b,this.I,this.memory]}l=cd.prototype;l.qf=function(){return 255};l.of=function(){return 65535};l.pf=function(){return-1};l.wd=function(){};
function X(a,c,d,f,g,h){f&&(a.b[c].M=f);g&&(a.b[c].L=g);h&&(a.b[c].Ge=h);a.b[c].za=d}function Y(a,c,d,f,g,h){f&&(a.b[c].T=f);g&&(a.b[c].ca=g);h&&(a.b[c].da=h);a.b[c].za=d}l.Ke=function(a,c,d,f,g,h){function k(){return d.call(this)|f.call(this)<<8}function m(){return g.call(this)|h.call(this)<<8}function p(){return d.call(this)|f.call(this)<<8|g.call(this)<<16|h.call(this)<<24}g&&h?(X(this,a,c,d,k,p),X(this,a+1,c,f),X(this,a+2,c,g,m),X(this,a+3,c,h)):(X(this,a,c,d,k),X(this,a+1,c,f))};
l.Cc=function(a,c,d,f,g,h){function k(a){d.call(this,a&255);f.call(this,a>>8&255)}function m(a){g.call(this,a&255);h.call(this,a>>8&255)}function p(a){d.call(this,a&255);f.call(this,a>>8&255);g.call(this,a>>16&255);h.call(this,a>>>24)}g&&h?(Y(this,a,c,d,k,p),Y(this,a+1,c,f),Y(this,a+2,c,g,m),Y(this,a+3,c,h)):(Y(this,a,c,d,k),Y(this,a+1,c,f))};function qc(a,c,d){c>>>=0;d=c+(d>>>0);if(d>=a.memory.size)return!0;for(c&=-131072;c<d;){if(a.memory.e[c>>17])return!0;c+=131072}return!1}
l.zf=function(a){var c=this.memory.j[a>>>17];return c(a)|c(a+1)<<8|c(a+2)<<16|c(a+3)<<24};l.Af=function(a,c){var d=this.memory.m[a>>>17];d(a,c&255);d(a+1,c>>8&255);d(a+2,c>>16&255);d(a+3,c>>>24)};function ud(a,c,d,f,g,h,k){h||(h=a.zf.bind(a));k||(k=a.Af.bind(a));for(c>>>=17;0<d;c++)a.memory.e[c]=1,a.memory.j[c]=f,a.memory.m[c]=g,a.memory.q[c]=h,a.memory.v[c]=k,d-=131072}function Yb(a,c,d){a=a.b[c];a.T.call(a.za,d)}function Zb(a,c,d){a=a.b[c];a.ca.call(a.za,d)}
function ac(a,c,d){a=a.b[c];a.da.call(a.za,d)}function Qb(a,c){var d=a.b[c];return d.M.call(d.za)}function Sb(a,c){var d=a.b[c];return d.L.call(d.za)}function Ub(a,c){var d=a.b[c];return d.Ge.call(d.za)};function Ad(a){this.m=!0;this.j=this.e=!1;this.r=new q;this.t=a;a.register("cpu-init",this.Ua,this);a.register("cpu-run",this.ic,this);a.register("cpu-stop",this.F,this);a.register("cpu-restart",this.v,this);this.b=function(){console.assert(!1)};this.q=function(){console.assert(!1)}}Ad.prototype.ic=function(){this.e||(this.t.send("emulator-started"),this.b())};
function Bd(a){if(a.j)a.j=a.e=!1,a.t.send("emulator-stopped");else{a.e=!0;var c;a:{var d=a.r;try{if(d.sc){c=d.F();break a}d.de()}catch(f){d.ee(f)}c=0}a.q(c)}}Ad.prototype.F=function(){this.e&&(this.j=!0)};Ad.prototype.v=function(){this.r.reset();dd(this.r)};Ad.prototype.Ua=function(a){this.m&&(this.m=!1,Cd(this));this.r.Ua(a,this.t);this.t.send("emulator-ready")};
function Cd(a){"undefined"!==typeof setImmediate?a.b=function(){setImmediate(function(){Bd(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(c){c.source===window&&43605===c.data&&Bd(a)},!1),a.b=function(){window.postMessage(43605,"*")}):a.b=function(){setTimeout(function(){Bd(a)},0)};a.q="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(c){4>c||document.hidden?this.b():setTimeout(function(){Bd(a)},c)}:function(c){setTimeout(function(){Bd(a)},
c)}}var Ba="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues)var Dd=new Int32Array(1),Zc=function(){return!0},$c=function(){window.crypto.getRandomValues(Dd);return Dd[0]};else Zc=function(){return!1},$c=function(){console.assert(!1)};var Yc,zd,Ed,Fd,Gd,Hd;function yd(a,c){for(a=a?a+"":"";a.length<c;)a="0"+a;return a}function Id(a){return"0x"+yd((a?a.toString(16):"").toUpperCase(),1)}function Jd(a){this.buffer=a;this.byteLength=a.byteLength;this.onprogress=this.onload=void 0}Jd.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};Jd.prototype.get=function(a,c,d){d(new Uint8Array(this.buffer,a,c))};Jd.prototype.set=function(a,c,d){(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};Jd.prototype.qc=function(a){a(this.buffer)};
(function(){for(var a=new Int8Array(256),c=0,d=-2;256>c;c++)c&c-1||d++,a[c]=d;Ed=function(c){return a[c]};Yc=function(c){var d=c>>>16;if(d){var h=d>>>8;return h?24+a[h]:16+a[d]}return(h=c>>>8)?8+a[h]:a[c]}})();function Kd(a){var c=new Uint8Array(a),d,f;this.length=0;this.push=function(d){this.length!==a&&this.length++;c[f]=d;f=f+1&a-1};this.shift=function(){if(this.length){var f=c[d];d=d+1&a-1;this.length--;return f}return-1};this.clear=function(){this.length=f=d=0};this.clear()};function md(a){this.r=a;this.e=new Float64Array(8);this.$a();this.m=255;this.b=0;this.J=895;this.Ia=this.aa=this.ia=this.Ja=this.ea=this.j=0;this.la=NaN;this.fb=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,0])}
md.prototype.$a=function(){this.R=new Float32Array(1);this.ob=new Uint8Array(this.R.buffer);this.Y=new Int32Array(this.R.buffer);this.F=new Float64Array(1);this.q=new Uint8Array(this.F.buffer);this.v=new Int32Array(this.F.buffer);this.Ra=new Uint8Array(this.e.buffer);this.qb=new Int32Array(this.e.buffer);this.ja=[this.r,this.R,this.ob,this.Y,this.F,this.q,this.v,this.Ra,this.qb]};function Ec(a){R(a.r)}function Jc(a){a.j|=1}
function Dc(a,c){var d=Cc(a);a.j&=-18177;d>c||(a.j=c>d?a.j|256:d===c?a.j|16384:a.j|17664)}function Nc(a,c){var d=a.e[a.b];a.r.n&=-70;a.r.f&=-70;d>c||(a.r.f=c>d?a.r.f|1:d===c?a.r.f|64:a.r.f|69)}function Mc(a){a.J=895;a.j=0;a.ea=0;a.aa=0;a.ia=0;a.m=255;a.b=0}
function Gc(a,c){if(a.r.Qa){ic(a.r,c,26);S(a.r,c,a.J);S(a.r,c+4,a.j&-14337|a.b<<11);for(var d=0,f,g=0;8>g;g++)f=a.e[g],a.m>>g&1?d|=3<<(g<<1):0===f?d|=1<<(g<<1):isFinite(f)||(d|=2<<(g<<1));S(a.r,c+8,d);T(a.r,c+12,a.ea);S(a.r,c+16,a.Ja);S(a.r,c+18,a.ia);T(a.r,c+20,a.aa);S(a.r,c+24,a.Ia)}else Ec(a)}
function Fc(a,c){if(a.r.Qa){a.J=J(a.r,c);var d=J(a.r,c+4);a.j=d&-14337;a.b=d>>11&7;for(var d=J(a.r,c+8),f=a.m=0;8>f;f++)a.m|=d>>f&d>>f+1&1<<f;a.ea=K(a.r,c+12);a.Ja=J(a.r,c+16);a.ia=J(a.r,c+18);a.aa=K(a.r,c+20);a.Ia=J(a.r,c+24)}else Ec(a)}function Hc(a,c){var d=a.J>>10&3;return 0===d?(d=Math.round(c),.5===d-c&&d%2&&d--,d):1===d||3===d&&0<c?Math.floor(c):Math.ceil(c)}function Ic(a){return 0<a?Math.floor(a):Math.ceil(a)}
md.prototype.push=function(a){this.b=this.b-1&7;this.m>>this.b&1?(this.j&=-513,this.m&=~(1<<this.b),this.e[this.b]=a):(this.j|=512,this.j|=65,this.e[this.b]=this.la)};md.prototype.pop=function(){this.m|=1<<this.b;this.b=this.b+1&7};function W(a,c){c=c+a.b&7;return a.m>>c&1?(a.j&=-513,a.j|=65,a.la):a.e[c]}function Cc(a){return a.m>>a.b&1?(a.j&=-513,a.j|=65,a.la):a.e[a.b]}
function Kc(a,c){var d=J(a.r,c+8),f,g=K(a.r,c)>>>0,h=K(a.r,c+4)>>>0;f=d>>15;d&=-32769;if(0===d)return 0;if(!(32767>d))return a.q[7]=127|f<<7,a.q[6]=240|h>>30<<3&8,a.q[5]=0,a.q[4]=0,a.v[0]=0,a.F[0];g+=4294967296*h;f&&(g=-g);return g*Math.pow(2,d-16383-63)}
function Lc(a,c,d){a.F[0]=a.e[a.b+d&7];d=a.q[7]&128;var f=(a.q[7]&127)<<4|a.q[6]>>4,g,h;2047===f?(f=32767,g=0,h=2147483648|(a.v[1]&524288)<<11):0===f?h=g=0:(f+=15360,g=a.v[0]<<11,h=2147483648|(a.v[1]&1048575)<<11|a.v[0]>>>21);T(a.r,c,g);T(a.r,c+4,h);S(a.r,c+8,d<<8|f)}function Oc(a,c){var d=K(a.r,c),f=K(a.r,c+4);a.v[0]=d;a.v[1]=f;return a.F[0]}function Pc(a,c){ic(a.r,c,8);a.F[0]=W(a,0);T(a.r,c,a.v[0]);T(a.r,c+4,a.v[1])}function Bc(a,c){a.Y[0]=K(a.r,c);return a.R[0]}
md.prototype.sign=function(a){return this.Ra[(this.b+a&7)<<3|7]>>7};function qd(a,c,d,f,g){this.t=g;0===f?(this.q=496,this.ob=14,this.Qb=240):(this.q=496,this.ob=14,this.Qb=248);this.Ib=f;this.fb=this.q|516;this.S=a.I.S;this.memory=a.memory;this.buffer=c;this.J=d?2048:512;this.Ja=d;this.R=this.ia=this.aa=this.m=0;this.buffer&&(this.m=this.buffer.byteLength/this.J,this.m!==(this.m|0)&&(this.m=Math.ceil(this.m)),d?(this.aa=1,this.ia=0):(this.aa=16,this.ia=63),a.I.Sa.Ta[57]=1,this.R=this.m/this.aa/this.ia,this.R!==(this.R|0)&&(this.R=Math.floor(this.R)),16383<this.R&&
(this.R=16383));this.oa={Pe:0,Qe:0,Yd:0,Zd:0,te:!1};this.hc=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.q&255|1,this.q>>8,0,0,this.fb&255|1,this.fb>>8,0,0,0,0,0,0,0,0,0,0,1,192,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.ob,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.gc=[{size:8},{size:4},!1,!1,{size:16}];Ld(a.I.Vc,this);
X(a.p,this.q|7,this,this.Je);X(a.p,this.fb|2,this,this.Je);Y(a.p,this.fb|2,this,this.Eg);this.Hb=2;this.e=0;this.b=new Uint8Array(0);this.vd=this.head=this.ka=this.$=this.ea=this.Y=this.F=this.Dd=0;this.status=80;this.Gb=1;this.Ia=this.la=this.Jb=0;this.v=new Uint8Array(0);this.qb=0;this.Fb=-1;this.j=this.Ra=0;X(a.p,this.q|0,this,this.rg,this.pg,this.qg);X(a.p,this.q|1,this,this.sg);X(a.p,this.q|2,this,this.og);X(a.p,this.q|3,this,this.ug);X(a.p,this.q|4,this,function(){return this.$&255});X(a.p,
this.q|5,this,function(){return this.ka&255});X(a.p,this.q|6,this,function(){return this.vd});Y(a.p,this.q|0,this,this.Yb,this.Fg,this.Gg);Y(a.p,this.q|1,this,this.Hg);Y(a.p,this.q|2,this,this.Dg);Y(a.p,this.q|3,this,this.Ig);Y(a.p,this.q|4,this,function(a){this.$=(this.$<<8|a)&65535});Y(a.p,this.q|5,this,function(a){this.ka=(this.ka<<8|a)&65535});Y(a.p,this.q|6,this,function(a){a&16||(this.vd=a,this.Dd=a>>6&1,this.head=a&15)});Y(a.p,this.q|7,this,this.af);X(a.p,49156,this,void 0,void 0,this.gf);
Y(a.p,49156,this,void 0,void 0,this.lf);X(a.p,49152,this,this.jf,void 0,this.hf);Y(a.p,49152,this,this.nf,void 0,this.mf);X(a.p,49154,this,this.kf);Y(a.p,49154,this,this.ce);X(a.p,49160,this,function(){return 0});X(a.p,49162,this,function(){return 0});this.ja=[this.memory,this.S,this.oa,this.buffer,this.t]}function Md(a){a.Ja?(a.status=81,a.F=1,a.ea=1,a.Y=1,a.$=20,a.ka=235):(a.status=81,a.F=1,a.ea=1,a.Y=1,a.$=60,a.ka=195)}l=qd.prototype;l.H=function(){0===(this.Hb&2)&&this.S.H(this.ob)};
l.af=function(a){switch(a){case 0:this.H();this.status=80;break;case 8:this.e=0;this.b=new Uint8Array(0);Md(this);this.H();break;case 16:this.H();break;case 39:this.H();this.b=new Uint8Array([0,0,0,0,this.buffer.byteLength&255,this.buffer.byteLength>>8&255,this.buffer.byteLength>>16&255,this.buffer.byteLength>>24&255,0,0,0,0]);this.status=88;break;case 32:case 36:case 41:case 196:Nd(this,a);break;case 48:case 52:case 57:case 197:a:{if(48===a||197===a){a=this.F&255;var c=this.Dd?Od(this):Pd(this);
0===a&&(a=256)}else if(52===a||57===a)a=this.F,c=Qd(this),0===a&&(a=65536);else break a;var d=a*this.J,c=c*this.J;this.$+=a;c+d>this.buffer.byteLength?this.status=255:(this.status=88,Rd(this,d),this.Jb=c,this.qb=1);this.H()}break;case 144:this.H();this.ea=257;this.status=80;break;case 145:this.H();break;case 160:this.Ja&&(this.status=88,Rd(this,12),this.qb=2,this.F=1,this.H());break;case 161:this.Ja?(Sd(this),this.status=88,this.$=20,this.ka=235):this.status=80;this.H();break;case 198:this.Gb=this.F;
this.H();break;case 200:Td(this);break;case 202:Ud(this);break;case 225:this.H();break;case 236:if(this.Ja)break;Sd(this);this.status=88;this.H();break;case 234:this.H();break;case 239:this.H();break;default:this.ea=4}};l.ud=function(){this.status=80;this.buffer.set(this.Jb,this.v.subarray(0,this.la),function(){this.H()}.bind(this));Vd(this,this.la)};l.Je=function(){var a=this.status;0<=this.Fb&&(this.status=this.Fb,this.Fb=-1);return a};l.Eg=function(a){this.Hb=a;a&4&&Md(this)};
function Rd(a,c){c>a.v.length&&(a.v=new Uint8Array(c));a.la=c;a.Ia=0}function Wd(a,c){var d=(c[7]<<8|c[8])*a.J,f=(a.ka&255)<<8|a.$&255,g=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.J;f||(f=32768);f=Math.min(d,f);a.$=f&255;a.$=0;a.ka=f>>8&255;g>=a.buffer.byteLength?(a.status=255,a.H()):(d=Math.min(d,a.buffer.byteLength-g),a.status=128,Xd(a),a.buffer.get(g,d,function(a){this.b=a;this.status=88;this.e=0;this.H();Yd(this,d)}.bind(a)))}
function Zd(a,c){var d=(c[7]<<8|c[8])*a.J,f=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.J;f>=a.buffer.byteLength?(a.status=255,a.H()):(d=Math.min(d,a.buffer.byteLength-f),a.status=128,Xd(a),a.buffer.get(f,d,function(a){var c=this.Ra,f=0;do{var m=I(this.memory,c),p=this.memory.L(c+4),x=this.memory.M(c+7)&128;p||(p=65536);this.memory.b.set(a.subarray(f,f+p),m);f+=p;c+=8;if(f>this.buffer.byteLength)throw"too long";}while(!x);this.status=80;this.j&=-4;this.j|=4;this.H();Yd(this,d)}.bind(a)))}l.rg=function(){return $d(this)};
l.pg=function(){return $d(this)|$d(this)<<8};l.qg=function(){return $d(this)|$d(this)<<8|$d(this)<<16|$d(this)<<24};l.sg=function(){return this.ea&255};l.og=function(){return this.F&255};l.ug=function(){return this.Y&255};
function $d(a){if(a.e<a.b.length){0!==(a.e+1)%(512*a.Gb)&&a.e+1!==a.b.length||a.H();a.$?a.$--:a.ka&&(a.ka--,a.$=255);if(!a.$&&!a.ka){var c=a.b.length-a.e-1;65536<=c?(a.ka=240,a.$=0):(a.ka=c>>8,a.$=c)}a.e+1>=a.b.length&&(a.status=80,a.F=a.F&-8|3);return a.b[a.e++]}a.e++;return 0}
l.Yb=function(a){if(!(this.Ia>=this.la)&&(this.v[this.Ia++]=a,0===this.Ia%(512*this.Gb)&&this.H(),this.Ia===this.la))switch(this.qb){case 1:this.ud();break;case 2:this.F=this.F&-8|2;switch(this.v[0]){case 0:this.b=new Uint8Array(0);this.e=0;this.status=80;this.$=8;this.ka=0;this.H();break;case 3:this.b=new Uint8Array(this.v[4]);this.status=88;this.b[0]=240;this.b[7]=8;this.e=0;this.$=8;this.ka=0;this.H();break;case 18:this.b=new Uint8Array(Math.min(this.v[4],36));this.status=88;this.b.set([5,128,
1,49,0,0,0,0,83,79,78,89,32,32,32,32,67,68,45,82,79,77,32,67,68,85,45,49,48,48,48,32,49,46,49,97]);this.e=0;this.H();break;case 30:this.b=new Uint8Array(0);this.status=80;this.e=0;this.H();break;case 37:this.b=new Uint8Array([this.m>>24&255,this.m>>16&255,this.m>>8&255,this.m&255,0,0,this.J>>8&255,this.J&255]);this.status=88;this.e=0;this.$=8;this.ka=0;this.H();break;case 40:this.ea&1?Zd(this,this.v):Wd(this,this.v);break;case 67:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.b[0]=0;this.b[1]=
10;this.b[2]=1;this.b[3]=1;this.status=88;this.e=0;this.ka=8;this.$=0;this.H();break;case 70:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.status=88;this.e=0;this.H();break;case 74:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.status=88;this.e=0;this.H();break;case 81:this.b=new Uint8Array(0);this.status=80;this.e=0;this.H();break;case 26:this.b=new Uint8Array(this.v[4]);this.status=88;this.e=0;this.H();break;case 90:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.status=88;this.e=0;
break;case 189:this.b=new Uint8Array(this.v[9]|this.v[8]<<8);this.status=88;this.e=0;this.H();break;default:this.status=80}0===(this.status&128)&&this.e>=this.b.length&&(this.F|=1)}};l.Fg=function(a){this.Yb(a&255);this.Yb(a>>8&255)};l.Gg=function(a){this.Yb(a&255);this.Yb(a>>8&255);this.Yb(a>>16&255);this.Yb(a>>24&255)};l.Hg=function(a){this.ea=(this.ea<<8|a)&65535};l.Dg=function(a){this.F=(this.F<<8|a)&65535};l.Ig=function(a){this.Y=(this.Y<<8|a)&65535};
function Nd(a,c){if(32===c||196===c){var d=a.F&255,f=a.Dd?Od(a):Pd(a);0===d&&(d=256)}else if(36===c||41===c)d=a.F,f=Qd(a),0===d&&(d=65536);else return;var g=d*a.J,f=f*a.J;a.$+=d;f+g>a.buffer.byteLength?(a.status=255,a.H()):(a.status=128,Xd(a),a.buffer.get(f,g,function(a){this.b=a;this.status=88;this.e=0;this.H();Yd(this,g)}.bind(a)))}
function Td(a){var c=a.F&255,d=c*a.J,f=Od(a)*a.J;a.$+=c;f+d>a.buffer.byteLength?(a.status=255,a.H()):(a.status=128,a.j|=1,Xd(a),a.buffer.get(f,d,function(a){var c=this.Ra,f=0;do{var m=I(this.memory,c),p=this.memory.L(c+4),x=this.memory.M(c+7)&128;p||(p=65536);this.memory.b.set(a.subarray(f,f+p),m);f+=p;c+=8}while(!x);this.status=80;this.j&=-4;this.j|=4;this.H();Yd(this,d)}.bind(a)))}
function Ud(a){var c=a.F&255,d=c*a.J,f=Od(a)*a.J;a.$+=c;if(f+d>a.buffer.byteLength)a.status=255,a.H();else{a.status=128;a.j|=1;var c=a.Ra,g=0,h=0,k=0;do{var m=I(a.memory,c),p=a.memory.L(c+4),x=a.memory.M(c+7)&128;p||(p=65536);a.buffer.set(f+k,a.memory.b.subarray(m,m+p),function(){h++;h===g&&(this.status=80,this.H(),this.j&=-4,this.j|=4)}.bind(a));k+=p;c+=8;g++}while(!x);h===g&&(a.status=80,a.H(),a.j&=-4,a.j|=4);Vd(a,d)}}function Pd(a){return((a.$&255|a.ka<<8&65280)*a.aa+a.head)*a.ia+(a.Y&255)-1}
function Od(a){return a.Y&255|a.$<<8&65280|a.ka<<16&16711680|a.head<<24}function Qd(a){return(a.Y&255|a.$<<8&65280|a.ka<<16&16711680|a.Y>>8<<24&4278190080)>>>0}
function Sd(a){a.e=0;a.vd&16?a.b=new Uint8Array(0):(a.b=new Uint8Array([64,a.Ja?133:0,a.R,a.R>>8,0,0,a.aa,a.aa>>8,0,0,0,0,a.ia,a.ia>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.R,a.R>>8,a.aa,a.aa>>8,a.ia,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255,0,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255,0,0,0,4,0,0,30,
0,30,0,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255]),16383<a.R&&(a.b[2]=a.b[108]=255,a.b[3]=a.b[109]=63))}l.gf=function(){return this.Ra};l.lf=function(a){this.Ra=a};l.kf=function(){return this.j};l.ce=function(a){this.j&=~a};l.hf=function(){return 1|this.j<<16};l.jf=function(){return 1};l.mf=function(a){a&1&&this.H();this.ce(a>>16&255)};
l.nf=function(a){a&1&&this.H()};function Xd(a){a.oa.te=!0;a.t.send("ide-read-start")}function Yd(a,c){a.oa.te=!1;var d=c/a.J|0;a.oa.Pe+=d;a.oa.Yd+=c;a.t.send("ide-read-end",[a.Ib,c,d])}function Vd(a,c){var d=c/a.J|0;a.oa.Qe+=d;a.oa.Zd+=c;a.t.send("ide-write-end",[a.Ib,c,d])};function hd(a){this.cb=new Uint8Array(4);this.Bc=new Uint8Array(4);this.zc=new Uint8Array(4);this.Ac=new Uint8Array(4);new Int32Array(this.cb.buffer);this.Cf=new Int32Array(this.Bc.buffer);this.ze=new Int32Array(this.zc.buffer);this.Ae=new Int32Array(this.Ac.buffer);this.Pc=Array(65536);this.I=Array(65536);a.p.Cc(3324,this,function(a){this.Bc[0]=a},function(a){this.Bc[1]=a},function(a){this.Bc[2]=a},function(a){this.Bc[3]=a;var d=this.cb[2]<<8|this.cb[1];a=this.cb[0]&252;var f=this.Pc[d],d=this.I[d];
if(f&&16<=a&&40>a){var g=this.Cf[0],h=a-16>>2,k=d.gc[h];f[a>>2]=k?-1===(g|3)?~(k.size-1):d.be[h]:0}});a.p.Ke(3324,this,function(){return this.zc[0]},function(){return this.zc[1]},function(){return this.zc[2]},function(){return this.zc[3]});a.p.Ke(3320,this,function(){return this.Ac[0]},function(){return this.Ac[1]},function(){return this.Ac[2]},function(){return this.Ac[3]});a.p.Cc(3320,this,function(a){this.cb[0]=a},function(a){this.cb[1]=a},function(a){this.cb[2]=a},function(a){this.cb[3]=a;a=this.cb[0]&
252;var d=this.Pc[this.cb[2]<<8|this.cb[1]];void 0!==d?(this.Ae[0]=-2147483648,this.ze[0]=a<d.byteLength?d[a>>2]:-1):(this.ze[0]=-1,this.Ae[0]=0)});Ld(this,{Qb:0,hc:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],gc:[]});Ld(this,{Qb:8,hc:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],gc:[]});this.ja=[this.I,this.Pc]}
function Ld(a,c){var d=c.Qb,f=new Int32Array((new Uint8Array(c.hc)).buffer);a.Pc[d]=f;a.I[d]=c;c.be=new Int32Array(6);c.be.set(f.subarray(4,10))};function pd(a,c,d){this.p=a.p;this.S=a.I.S;this.oc=a.I.oc;this.e=0;this.ia=new Uint8Array(10);this.la=0;this.m=null;this.b=new Uint8Array(10);this.J=this.v=this.q=0;this.F=c;this.aa=d;this.j=this.R=0;this.ja=[this.p,this.S,this.oc];this.aa&&this.ja.push(this.aa);if(c){this.ja.push(this.F);this.J=c.byteLength;if((d={160:{type:1,pb:40,gb:8,bb:1},180:{type:1,pb:40,gb:9,bb:1},200:{type:1,pb:40,gb:10,bb:1},320:{type:1,pb:40,gb:8,bb:2},360:{type:1,pb:40,gb:9,bb:2},400:{type:1,pb:40,gb:10,bb:2},720:{type:3,
pb:80,gb:9,bb:2},1200:{type:2,pb:80,gb:15,bb:2},1440:{type:4,pb:80,gb:18,bb:2},1722:{type:5,pb:82,gb:21,bb:2},2880:{type:5,pb:80,gb:36,bb:2}}[this.J>>10])&&0===(this.J&1023))a.I.Sa.Ta[16]=d.type<<4,a=d.gb,c=d.bb;else throw"Unknown floppy size: "+Id(c.byteLength);this.Y=a;this.ea=c;X(this.p,1008,this,this.Zf);X(this.p,1010,this,this.$f);X(this.p,1012,this,this.bg);X(this.p,1013,this,this.cg);X(this.p,1015,this,this.eg);Y(this.p,1010,this,this.ag);Y(this.p,1013,this,this.dg)}else a.I.Sa.Ta[16]=64}
l=pd.prototype;l.Zf=function(){return 0};l.bg=function(){var a=128;this.q<this.v&&(a|=80);0===(this.j&8)&&(a|=32);return a};l.eg=function(){return 0};l.cg=function(){return this.q<this.v?this.b[this.q++]:255};
l.dg=function(a){if(0<this.e)this.ia[this.la++]=a,this.e--,0===this.e&&this.m.call(this,this.ia);else{switch(a){case 3:this.m=this.sf;this.e=2;break;case 4:this.m=this.ff;this.e=1;break;case 5:case 197:this.m=function(a){ae(this,!0,a)};this.e=8;break;case 230:this.m=function(a){ae(this,!1,a)};this.e=8;break;case 7:this.m=this.ef;this.e=1;break;case 8:this.q=0;this.v=2;this.b[0]=32;this.b[1]=this.R;break;case 74:this.m=this.tg;this.e=1;break;case 15:this.e=2;this.m=this.Xe;break;case 14:this.b[0]=
128,this.q=0,this.v=1,this.e=0}this.la=0}};l.$f=function(){return this.j};l.ag=function(a){4===(a&4)&&0===(this.j&4)&&this.S.H(6);this.j=a};l.ff=function(){this.q=0;this.v=1;this.b[0]=32};l.Xe=function(a){this.R=a[1];this.j&8&&this.S.H(6)};l.ef=function(){this.j&8&&this.S.H(6)};function ae(a,c,d){var f=d[2],g=d[1],h=d[3],k=128<<d[4],m=d[5]-d[3]+1,p=((f+a.ea*g)*a.Y+h-1)*k;c?a.oc.ud(a.F,p,m*k,2,a.done.bind(a,d,g,f,h)):be(a.oc,a.F,p,a.done.bind(a,d,g,f,h))}
l.done=function(a,c,d,f,g){g||(f++,f>this.Y&&(f=1,d++,d>=this.ea&&(d=0,a++)),this.R=a,this.q=0,this.v=7,this.b[0]=d<<2|32,this.b[1]=0,this.b[2]=0,this.b[3]=a,this.b[4]=d,this.b[5]=f,this.b[6]=c[4],this.j&8&&this.S.H(6))};l.sf=function(){};l.tg=function(){this.q=0;this.v=7;this.b[0]=0;this.b[1]=0;this.b[2]=0;this.b[3]=0;this.b[4]=0;this.b[5]=0;this.b[6]=0;this.j&8&&this.S.H(6)};function bd(a){this.size=a;this.e=new Uint8Array(32768);this.j=[];this.m=[];this.q=[];this.v=[];this.buffer=new ArrayBuffer(a);this.$a()}l=bd.prototype;l.$a=function(){this.b=new Uint8Array(this.buffer);this.F=new Uint16Array(this.buffer);this.lb=new Int32Array(this.buffer);this.ja=[this.b,this.F,this.lb,this.e,this.j,this.q,this.m,this.v]};function ce(a,c){var d=a.j[c>>>17];return d(c)|d(c+1)<<8}function de(a,c,d){a=a.m[c>>>17];a(c,d&255);a(c+1,d>>8&255)}
l.M=function(a){return this.e[a>>>17]?this.j[a>>>17](a):this.b[a]};l.L=function(a){return this.e[a>>>17]?ce(this,a):this.b[a]|this.b[a+1]<<8};function $b(a,c){return a.e[c>>>16]?ce(a,c<<1):a.F[c]}function I(a,c){return a.e[c>>>17]?a.q[c>>>17](c):a.b[c]|a.b[c+1]<<8|a.b[c+2]<<16|a.b[c+3]<<24}function bc(a,c){var d;a.e[c>>>15]?(d=c<<2,d=a.q[d>>>17](d)):d=a.lb[c];return d}l.T=function(a,c){if(this.e[a>>>17])this.m[a>>>17](a,c);else this.b[a]=c};
l.ca=function(a,c){this.e[a>>>17]?de(this,a,c):(this.b[a]=c,this.b[a+1|0]=c>>8)};function Tb(a,c,d){a.e[c>>>16]?de(a,c<<1,d):a.F[c]=d}l.da=function(a,c){if(this.e[a>>>17])this.v[a>>>17](a,c);else this.b[a]=c,this.b[a+1|0]=c>>8,this.b[a+2|0]=c>>16,this.b[a+3|0]=c>>24};function Wb(a,c,d){a.e[c>>>15]?(c=c<<2,a.v[c>>>17](c,d)):a.lb[c]=d};function id(a){this.memory=a.memory;this.b=[{Oa:0,count:0},{Oa:0,count:0},{Oa:0,count:0},{Oa:0,count:0}];this.e=0;a=a.p;Y(a,4,this,this.Ee.bind(this,4));Y(a,5,this,this.Ee.bind(this,5));Y(a,10,this,this.kg);Y(a,11,this,this.lg);Y(a,12,this,this.mg);Y(a,129,this,this.jg);this.ja=[this.memory]}l=id.prototype;l.Ee=function(a,c){if(8>a){var d=a>>1;a&1?this.b[d].count=ee(this,this.b[d].count,c):this.b[d].Oa=ee(this,this.b[d].Oa,c)}};l.kg=function(){};l.lg=function(){};l.mg=function(){this.e=0};
l.jg=function(a){this.b[2].Oa=this.b[2].Oa&65535|a<<16};function be(a,c,d,f){var g=a.b[2].count+1,h=a.b[2].Oa;if(d+g>c.byteLength)f(!0);else{var k=a.memory;a.b[2].Oa+=g;c.get(d,g,function(a){k.b.set(a,h);f(!1)})}}l.ud=function(a,c,d,f,g){d=this.b[f].count;var h=this.b[f].Oa;c+d>a.byteLength?g(!0):(this.b[f].Oa+=d,a.set(c,new Uint8Array(this.memory.buffer,h,d+1),function(){g(!1)}))};function ee(a,c,d){a.e^=1;return a.e?c&-256|d:c&-65281|d<<8};function rd(a){this.S=a.I.S;this.j=Date.now();this.e=new Uint8Array(4);this.m=new Uint8Array(4);this.F=new Uint8Array(4);this.J=new Uint8Array(4);this.q=new Uint8Array(4);this.v=new Uint16Array(3);this.tb=new Uint16Array(3);this.b=new Uint16Array(3);this.$d=0;X(a.p,97,this,function(){var a=Ba();return(66.66666666666667*a&1)<<4|(a-this.$d>=this.tb[2]/1193.1816666)<<5});X(a.p,64,this,function(){return fe(this,0)});X(a.p,65,this,function(){return fe(this,1)});X(a.p,66,this,function(){return fe(this,
2)});Y(a.p,64,this,function(a){ge(this,0,a)});Y(a.p,65,this,function(a){ge(this,1,a)});Y(a.p,66,this,function(a){ge(this,2,a)});Y(a.p,67,this,this.R);this.ja=[this.S]}rd.prototype.hb=function(a,c){var d,f;d=1193.1816666*(a-this.j)>>>0;if(!d)return 0;this.j+=d/1193.1816666;var g=100;if(!c&&this.m[0])if(d=this.b[0]-=d,0>=d)if(g=0,this.S.H(0),f=this.F[0],0===f)this.m[0]=0,this.b[0]=0;else{if(3===f||2===f)this.b[0]=this.tb[0]+d%this.tb[0]}else g=d/1193.1816666;return g};
function fe(a,c){var d=a.q[c];if(d)return a.q[c]--,2===d?a.v[c]&255:a.v[c]>>8;d=a.e[c];3===a.F[c]&&(a.e[c]^=1);return d?a.b[c]&255:a.b[c]>>8}function ge(a,c,d){a.tb[c]=a.e[c]?a.tb[c]&-256|d:a.tb[c]&255|d<<8;3===a.J[c]&&a.e[c]||(a.tb[c]||(a.tb[c]=65535),a.b[c]=a.tb[c],a.m[c]=!0);3===a.J[c]&&(a.e[c]^=1)}rd.prototype.R=function(a){var c=a>>1&7,d=a>>6&3;a=a>>4&3;3!==d&&(0===a?(this.q[d]=2,this.v[d]=this.b[d]):(6<=c&&(c&=-5),this.e[d]=1===a?0:1,this.F[d]=c,this.J[d]=a,2===d&&(this.$d=Ba())))};function ld(a,c,d){this.t=c;this.pa=d;this.m=0;this.bd=14;this.ad=15;this.aa=80;this.qb=25;this.q=this.Sd=this.gd=0;this.Nb=!0;this.yb=!1;this.Xb=new Int32Array(256);this.ea=this.ia=this.Y=this.R=this.J=this.F=0;this.Lc=80;this.jc=!1;this.Fc=32;this.Ja=0;this.hc=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.Qb=144;this.gc=[];Ld(a.I.Vc,this);this.oa={oe:!1,wg:0,xg:0,cf:0};this.Ra=this.v=0;this.j=-1;
this.Pd=new Uint8Array(16);this.Jb=-1;this.e=15;this.Td=0;this.ob=-1;this.dd=this.cd=this.ed=0;this.b=255;this.Qd=0;this.fd=this.Rd=255;a=a.p;Y(a,960,this,this.Hf);X(a,960,this,this.Ce,this.Gf);X(a,961,this,this.De);Y(a,962,this,this.If);a.Cc(964,this,this.Kf,this.Mf);X(a,964,this,this.Jf);X(a,965,this,this.Lf);a.Cc(974,this,this.Sf,this.Uf);X(a,974,this,this.Rf);X(a,975,this,this.Tf);Y(a,967,this,this.Nf);Y(a,968,this,this.Of);Y(a,969,this,this.Pf);X(a,972,this,this.Qf);a.Cc(980,this,this.Vf,this.Xf);
X(a,981,this,this.Wf);X(a,986,this,this.Yf);this.fb=-1;this.Ia=0;Y(a,462,this,void 0,this.Df);Y(a,463,this,void 0,this.Ff);X(a,463,this,void 0,this.Ef);void 0===this.pa||262144>this.pa?this.pa=262144:this.pa&65535&&(this.pa|=65535,this.pa++);this.ga=new Uint8Array(this.pa);this.xa=this.pa;this.wa=0;this.sd=void 0;c.register("screen-tell-buffer",function(a){this.sd=a[0]},this);c.register("screen-fill-buffer",function(){if(this.yb&&this.sd&&!(this.wa<this.xa)){var a=0,c=0;this.jc?a=this.Fc:this.Nb?
a=8:(a=8,c=262144);var d=this.sd,f=this.xa,p=this.wa;switch(a){case 32:for(var x=f>>2,A=(p>>2)+1,a=x;a<A;a++)p=this.Kd[a],d[a]=p<<16|p>>16&255|p&65280|4278190080;break;case 24:for(var x=f/3|0,A=(p/3|0)+1,D=3*x,a=x;D<p;a++){var O=this.ga[D++],c=this.ga[D++],f=this.ga[D++];d[a]=O<<16|c<<8|f|4278190080}break;case 16:x=f>>1;A=(p>>1)+1;for(a=x;a<A;a++)p=this.Se[a],f=255*(p>>11)/31|0,c=255*(p>>5&63)/63|0,O=255*(p&31)/31|0,d[a]=O<<16|c<<8|f|4278190080;break;case 8:for(x=f-c,A=p-c+1,a=f;a<p;a++)f=this.Xb[this.ga[a]],
d[a-c]=f&65280|f<<16|f>>16|4278190080}this.xa=this.pa;this.wa=0;this.t.send("screen-fill-buffer-end",[x,A])}},this);this.$a();var f=this;ud(a,655360,131072,function(a){a-=655360;!f.yb||f.Nb?(a|=f.Ja,a=f.ga[a]):(a&=65535,f.F=f.Fb[a],f.J=f.Gb[a],f.R=f.Hb[a],f.Y=f.Ib[a],a=f.la[f.ed<<16|a]);return a},function(a,c){var d;d=a-655360;if(f.yb)if(f.Nb){var m=d,m=m|f.Ja;f.xa=m<f.xa?m:f.xa;f.wa=m>f.wa?m:f.wa;f.ga[m]=c}else{if(!(65535<d)){var p,x,A,D=f.cd&3;0===D?m=p=x=A=c:2===D&&(f.e&1&&(m=f.F&~f.b|(c&1?255:
0)&f.b),f.e&2&&(p=f.J&~f.b|(c&2?255:0)&f.b),f.e&4&&(x=f.R&~f.b|(c&4?255:0)&f.b),f.e&8&&(A=f.Y&~f.b|(c&8?255:0)&f.b));if(0===D||2===D){switch(f.dd&24){case 8:m&=f.F;p&=f.J;x&=f.R;A&=f.Y;break;case 16:m|=f.F;p|=f.J;x|=f.R;A|=f.Y;break;case 24:m^=f.F,p^=f.J,x^=f.R,A^=f.Y}f.e&1&&(m=f.F&~f.b|m&f.b);f.e&2&&(p=f.J&~f.b|p&f.b);f.e&4&&(x=f.R&~f.b|x&f.b);f.e&8&&(A=f.Y&~f.b|A&f.b)}else 1===D&&(m=f.F,p=f.J,x=f.R,A=f.Y);f.e&1?f.Fb[d]=m:m=f.Fb[d];f.e&2?f.Gb[d]=p:p=f.Gb[d];f.e&4?f.Hb[d]=x:x=f.Hb[d];f.e&8?f.Ib[d]=
A:A=f.Ib[d];if(!(d>=f.gd*f.Sd<<3))for(p<<=1,x<<=2,A<<=3,d=d<<3|7,D=d+262144,f.xa=D-7<f.xa?D-7:f.xa,f.wa=D>f.wa?D:f.wa,D=0;8>D;D++)f.ga[d+262144]=f.Pd[m>>D&1|p>>D&2|x>>D&4|A>>D&8],d--}}else m=d,98304>m||(x=(m-98304>>1)-f.q,p=x/f.aa|0,x%=f.aa,m&1?(d=c,A=f.la[m&-2]):(A=c,d=f.la[m|1]),f.t.send("screen-put-char",[p,x,A,f.Xb[d>>4&15],f.Xb[d&15]]),f.la[m]=c)});ud(a,3758096384,this.pa,function(a){return f.ga[a&268435455]},function(a,c){var d;d=a&268435455;f.ga[d]=c;f.xa=d<f.xa?d:f.xa;f.wa=d>f.wa?d:f.wa},
function(a){a&=268435455;return a&3?f.ga[a]|f.ga[a+1]<<8|f.ga[a+2]<<16|f.ga[a+3]<<24:f.Kd[a>>2]},function(a,c){var d;d=a&268435455;f.xa=d<f.xa?d:f.xa;f.wa=d+3>f.wa?d+3:f.wa;f.ga[d]=c;f.ga[d+1]=c>>8;f.ga[d+2]=c>>16;f.ga[d+3]=c>>24})}l=ld.prototype;
l.$a=function(){this.Se=new Uint16Array(this.ga.buffer);this.Kd=new Int32Array(this.ga.buffer);this.la=new Uint8Array(this.ga.buffer,0,262144);this.Fb=new Uint8Array(this.ga.buffer,0,65536);this.Gb=new Uint8Array(this.ga.buffer,65536,65536);this.Hb=new Uint8Array(this.ga.buffer,131072,65536);this.Ib=new Uint8Array(this.ga.buffer,196608,65536);this.ja=[this.t,this.Se,this.Kd,this.la,this.Fb,this.Gb,this.Hb,this.Ib];this.t.send("screen-set-mode",this.yb);this.yb?this.Ec(this.ia,this.ea,this.Fc):(this.Ub(this.aa,
this.qb),this.Kc(),this.Jc());he(this)};l.Jc=function(){var a=(this.m-this.q)/this.aa|0,c=(this.m-this.q)%this.aa,a=Math.min(this.qb-1,a);this.t.send("screen-update-cursor",[a,c])};function he(a){if(a.yb)a.xa=a.pa,a.wa=0;else for(var c=98304|a.q<<1,d,f,g=0;g<a.qb;g++)for(var h=0;h<a.aa;h++)d=a.la[c],f=a.la[c|1],a.t.send("screen-put-char",[g,h,d,a.Xb[f>>4&15],a.Xb[f&15]]),c+=2}l.ab=function(){};l.Ub=function(a,c){this.aa=a;this.qb=c;this.t.send("screen-set-size-text",[a,c])};
l.Ec=function(a,c,d){this.gd=a;this.Sd=c;this.oa.cf=d;this.oa.oe=!0;this.oa.wg=a;this.oa.xg=c;this.t.send("screen-set-size-graphical",[a,c,d])};l.Kc=function(){this.t.send("screen-update-cursor-scanline",[this.bd,this.ad])};function ie(a,c){var d=!1,f=0,g=0;switch(c){case 3:a.Ub(a.Lc,25);break;case 16:f=640;g=350;d=!0;a.Nb=!1;break;case 18:f=640;g=480;d=!0;a.Nb=!1;break;case 19:f=320,g=200,d=!0,a.Nb=!0}a.t.send("screen-set-mode",d);(a.oa.oe=d)&&a.Ec(f,g,8);a.yb=d}
l.Hf=function(a){-1===this.j?this.j=a:(16>this.j&&(this.Pd[this.j]=a),this.j=-1)};l.Ce=function(){var a=this.j;this.j=-1;return a};l.Gf=function(){return this.Ce()&255|this.De()<<8&65280};l.De=function(){return this.j=-1};l.If=function(a){this.Rd=a;103===a?ie(this,3):227===a?ie(this,18):99===a?ie(this,19):163===a?ie(this,16):ie(this,3)};l.Kf=function(a){this.Jb=a};l.Jf=function(){return this.Jb};l.Mf=function(a){switch(this.Jb){case 2:this.e=a;break;case 4:this.Td=a}};
l.Lf=function(){switch(this.Jb){case 2:return this.e;case 4:return this.Td;case 6:return 18}return 0};l.Nf=function(){};l.Of=function(a){this.Ra=3*a};l.Pf=function(a){var c=this.Ra/3|0,d=this.Ra%3,f=this.Xb[c];a=255*a/63&255;this.Xb[c]=0===d?f&-16711681|a<<16:1===d?f&-65281|a<<8:f&-256|a;this.Ra++};l.Qf=function(){return this.Rd};l.Sf=function(a){this.ob=a};l.Rf=function(){return this.ob};
l.Uf=function(a){switch(this.ob){case 3:this.dd=a;break;case 4:this.ed=a;break;case 5:this.cd=a;break;case 8:this.b=a}};l.Tf=function(){switch(this.ob){case 3:return this.dd;case 4:return this.ed;case 5:return this.cd;case 8:return this.b}return 0};l.Vf=function(a){this.v=a};
l.Xf=function(a){switch(this.v){case 2:this.Lc=a;break;case 9:this.Qd=a;7===(a&31)?this.Ub(this.Lc,50):this.Ub(this.Lc,25);break;case 10:this.bd=a;this.Kc();break;case 11:this.ad=a;this.Kc();break;case 12:this.q=this.q&255|a<<8;he(this);break;case 13:this.q=this.q&65280|a;he(this);break;case 14:this.m=this.m&255|a<<8;this.Jc();break;case 15:this.m=this.m&65280|a,this.Jc()}};
l.Wf=function(){return 9===this.v?this.Qd:10===this.v?this.bd:11===this.v?this.ad:14===this.v?this.m>>8:15===this.v?this.m&255:0};l.Yf=function(){this.fd^=8;this.j=-1;return this.fd};l.Df=function(a){this.fb=a};
l.Ff=function(a){switch(this.fb){case 1:this.ia=a;2560<this.ia&&(this.ia=2560);break;case 2:this.ea=a;1600<this.ea&&(this.ea=1600);break;case 3:this.Fc=a;break;case 4:this.jc=1===(a&1);this.Ia=a;break;case 5:this.Ja=a<<16;break;case 9:he(this)}!this.jc||this.ia&&this.ea||(this.jc=!1);this.jc&&4===this.fb&&(this.Ec(this.ia,this.ea,this.Fc),this.t.send("screen-set-mode",!0),this.Nb=this.yb=!0);this.jc||(this.Ja=0)};l.Ef=function(){return je(this,this.fb)};
function je(a,c){switch(c){case 0:return 45248;case 1:return a.Ia&2?2560:a.ia;case 2:return a.Ia&2?1600:a.ea;case 3:return a.Ia&2?32:a.Fc;case 4:return a.Ia;case 5:return a.Ja>>>16;case 6:return a.gd;case 8:return 0;case 10:return a.pa/65536|0}return 255};function nd(a,c){this.S=a.I.S;this.r=a;this.t=c;this.lc=this.ac=!1;this.xc=this.Ab=this.zb=0;this.R=this.J=this.q=this.F=this.Y=this.v=this.xd=!1;this.ba=new Kd(32);this.m=0;this.Dc=100;this.Xc=4;this.j=!1;this.se=-1;this.b=new Kd(32);this.t.register("keyboard-code",function(a){this.xd&&(this.ba.push(a),ke(this))},this);this.t.register("mouse-click",function(a){this.lc&&(this.xc=a[0]|a[2]<<1|a[1]<<2,this.ac&&le(this,0,0))},this);this.t.register("mouse-delta",function(a){var c=a[1];if(this.lc){var g=
this.Xc*this.Dc/80;this.zb+=a[0]*g;this.Ab+=c*g;this.ac&&(a=this.zb|0,c=this.Ab|0,!a&&!c||Date.now()-this.se<1E3/this.Dc||(this.zb-=a,this.Ab-=c,le(this,a,c)))}},this);this.t.register("mouse-wheel",function(){},this);this.e=5;this.aa=this.ea=!1;X(a.p,96,this,this.fg);X(a.p,100,this,this.hg);Y(a.p,96,this,this.gg);Y(a.p,100,this,this.ig);this.ja=[this.t,this.S,this.r]}l=nd.prototype;l.$a=function(){this.t.send("mouse-enable",this.lc)};function me(a){a.e&2&&a.S.H(12)}
function ke(a){a.e&1&&a.S.H(1)}function le(a,c,d){var f=(0>d)<<5|(0>c)<<4|8|a.xc;a.se=Date.now();a.j&&(c=ne(c),d=ne(d));a.b.push(f);a.b.push(c);a.b.push(d);me(a)}function ne(a){var c=a>>31;switch(Math.abs(a)){case 0:case 1:case 3:return a;case 2:return c;case 4:return 6*c;case 5:return 9*c;default:return a<<1}}l.ab=function(){};
l.fg=function(){if(!this.ba.length&&!this.b.length)return this.m;(this.ba.length&&this.b.length?0!==(this.S.X&2):this.ba.length)?(this.m=this.ba.shift(),1<=this.ba.length&&ke(this)):(this.m=this.b.shift(),1<=this.b.length&&me(this));return this.m};l.hg=function(){var a=16;if(this.b.length||this.ba.length)a|=1;this.b.length&&(a|=32);return a};
l.gg=function(a){if(this.aa)ke(this),this.e=a,this.aa=!1;else if(this.ea)this.ea=!1,this.b.clear(),this.b.push(a),me(this);else if(this.Y)this.Y=!1,this.b.clear(),this.b.push(250),this.Dc=a,me(this);else if(this.R)this.R=!1,this.b.clear(),this.b.push(250),this.Xc=3<a?4:1<<a,me(this);else if(this.F)this.F=!1,this.ba.push(250),ke(this);else if(this.q)this.q=!1,this.ba.push(250),ke(this),a||this.ba.push(2);else if(this.J)this.J=!1,this.ba.push(250),ke(this);else if(this.v){this.v=!1;this.ba.clear();
this.b.clear();this.b.push(250);switch(a){case 230:this.j=!1;break;case 231:this.j=!0;break;case 232:this.R=!0;break;case 233:le(this,0,0);break;case 242:this.b.push(0);this.b.push(0);this.xc=this.zb=this.Ab=0;break;case 243:this.Y=!0;break;case 244:this.lc=this.ac=!0;this.t.send("mouse-enable",!0);this.xc=this.zb=this.Ab=0;break;case 245:this.ac=!1;break;case 246:this.ac=!1;this.Dc=100;this.j=!1;this.Xc=4;break;case 255:this.b.push(170),this.b.push(0),this.lc=!0,this.t.send("mouse-enable",!0),this.ac=
!1,this.Dc=100,this.j=!1,this.Xc=4,this.xc=this.zb=this.Ab=0}me(this)}else{this.b.clear();this.ba.clear();this.ba.push(250);switch(a){case 237:this.F=!0;break;case 240:this.q=!0;break;case 242:this.ba.push(171);this.ba.push(83);break;case 243:this.J=!0;break;case 244:this.xd=!0;break;case 245:this.xd=!1;break;case 255:this.ba.clear(),this.ba.push(250),this.ba.push(170),this.ba.push(0)}ke(this)}};
l.ig=function(a){switch(a){case 32:this.ba.clear();this.b.clear();this.ba.push(this.e);break;case 96:this.aa=!0;break;case 211:this.ea=!0;break;case 212:this.v=!0;break;case 167:this.e|=32;break;case 168:this.e&=-33;break;case 169:this.ba.clear();this.b.clear();this.ba.push(0);break;case 170:this.ba.clear();this.b.clear();this.ba.push(85);break;case 171:this.ba.clear();this.b.clear();this.ba.push(0);break;case 173:this.e|=16;break;case 174:this.e&=-17;break;case 254:throw a=this.r,a.reset(),dd(a),
233495534;}};function ed(a,c){this.Va=this.X=this.Cd=this.Tc=0;this.e=void 0===c;this.b=void 0;this.yd=!1;this.state=0;this.ld=this.Ie=1;this.e?(this.b=new ed(a,this),this.Nc=function(){var c=this.Va&this.Tc;if(!c)return this.b.Nc();c&=-c;if(this.X&&(this.X&-this.X)<=c)return!1;var d=Ed(c),c=1<<d;this.Va&=~c;if(4===c)return this.b.Nc();this.ld||(this.X|=c);a.W=a.l;xc(a,this.Cd|d,!1,!1);return!0}):this.Nc=function(){var d=this.Va&this.Tc;if(!d)return!1;d&=-d;if(this.X&&(this.X&-this.X)<=d)return!1;var g=Ed(d),
d=1<<g;this.Va&=~d;this.X|=d;a.W=a.l;xc(a,this.Cd|g,!1,!1);this.Va&&c.H(2);this.ld||(this.X&=~d);return!0};this.j=function(){this.e&&this.b.j()};var d;d=this.e?32:160;Y(a.p,d,this,function(a){if(a&16)this.yd=a&1,this.state=1;else if(a&8)this.Ie=a&1;else{var c=a>>5;1===c?this.X&=this.X-1:3===c&&(this.X&=~(1<<(a&7)))}});X(a.p,d,this,function(){return this.Ie?this.Va:this.X});Y(a.p,d|1,this,function(a){0===this.state?this.yd?(this.yd=!1,this.ld=a&2):this.Tc=~a:1===this.state?(this.Cd=a,this.state++):
2===this.state&&(this.state=0)});X(a.p,d|1,this,function(){return~this.Tc&255});this.H=this.e?function(c){8<=c&&(this.b.H(c-8),c=2);this.Va|=1<<c;oc(a)}:function(a){this.Va|=1<<a}};function fd(a){this.r=a;this.S=a.I.S;this.Oc=0;this.Ta=new Uint8Array(256);this.J=this.b=Date.now();this.e=0;this.v=!0;this.R=!1;this.F=.9765625;this.m=38;this.j=2;this.q=0;Y(a.p,112,this,function(a){this.Oc=a&127});Y(a.p,113,this,this.aa);X(a.p,113,this,this.Y);this.ja=[this.r,this.S]}fd.prototype.hb=function(a){this.b+=a-this.J;this.J=a;return this.R&&this.v&&this.e<a?(this.v=!1,this.S.H(8),this.q|=64,this.e+=this.F*Math.ceil((a-this.e)/this.F),Math.max(0,a-this.e)):100};
function oe(a,c){var d;if(a.j&4)d=c;else{d=c;for(var f=0,g=0,h;d;)h=d%10,g|=h<<4*f,f++,d=(d-h)/10;d=g}return d}
fd.prototype.Y=function(){switch(this.Oc){case 0:return oe(this,(new Date(this.b)).getUTCSeconds());case 2:return oe(this,(new Date(this.b)).getUTCMinutes());case 4:return oe(this,(new Date(this.b)).getUTCHours());case 7:return oe(this,(new Date(this.b)).getUTCDate());case 8:return oe(this,(new Date(this.b)).getUTCMonth()+1);case 9:return oe(this,(new Date(this.b)).getUTCFullYear()%100);case 10:return this.m;case 11:return this.j;case 12:return this.v=!0,this.q;case 13:return 255;case 50:return oe(this,
(new Date(this.b)).getUTCFullYear()/100|0);default:return this.Ta[this.Oc]}};fd.prototype.aa=function(a){switch(this.Oc){case 10:this.m=a&127;this.F=1E3/(32768>>(this.m&15)-1);break;case 11:this.j=a,this.j&64&&(this.e=Date.now())}this.R=64===(this.j&64)&&0<(this.m&15)};function od(a,c,d){this.t=d;this.S=a.I.S;this.Ob=this.ec=this.$b=this.jb=0;this.Pa=1;this.b=this.Le=this.Bf=this.xe=0;this.input=new Kd(4096);this.qd=[];if(1E3===c||1016===c)this.b=4;else if(1E3===c||1E3===c)this.b=3;else return;this.t.register("serial0-input",function(a){this.input.push(a);this.jb|=4096;this.Ob&1&&pe(this)},this);a=a.p;Y(a,c,this,function(a){if(this.ec&128)this.$b=this.$b&-256|a;else if(qe(this),255!==a){var c=String.fromCharCode(a);this.t.send("serial0-output-char",c);this.qd.push(a);
"\n"===c&&(this.t.send("serial0-output-line",String.fromCharCode.apply("",this.qd)),this.qd=[])}});Y(a,c|1,this,function(a){this.ec&128?this.$b=this.$b&255|a<<8:(this.Ob=a,re(this))});X(a,c,this,function(){if(this.ec&128)return this.$b&255;var a=this.input.shift();this.input.length&&pe(this);return a});X(a,c|1,this,function(){return this.ec&128?this.$b>>8:this.Ob});X(a,c|2,this,function(){var a=this.Pa&15|192;2===this.Pa?se(this,2):12===this.Pa&&se(this,12);return a});Y(a,c|2,this,function(){});X(a,
c|3,this,function(){return this.ec});Y(a,c|3,this,function(a){this.ec=a});X(a,c|4,this,function(){return this.xe});Y(a,c|4,this,function(a){this.xe=a});X(a,c|5,this,function(){var a=0;this.input.length&&(a|=1);return a|96});Y(a,c|5,this,function(){});X(a,c|6,this,function(){return this.Bf});Y(a,c|6,this,function(){});X(a,c|7,this,function(){return this.Le});Y(a,c|7,this,function(a){this.Le=a});this.ja=[this.t,this.S]}od.prototype.H=function(){this.S.H(this.b)};
function se(a,c){a.jb&=~(1<<c);a.Pa=1;c===a.Pa&&re(a)}function pe(a){a.jb|=4096;a.Ob&1&&6!=a.Pa&&4!=a.Pa&&(a.Pa=12,a.H())}function qe(a){a.jb|=4;a.Ob&2&&(a.Pa&1||0==a.Pa||2==a.Pa)&&(a.Pa=2,a.H())}function re(a){a.jb&4096&&a.Ob&1?pe(a):a.jb&4&&a.Ob&2?qe(a):a.Pa=1};function jd(){};function te(a){this.message=a}te.prototype=Error();
function ue(a,c){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.constructor===Object){for(var d=Object.keys(a),f={},g=0;g<d.length;g++){var h=d[g];f[h]=ue(a[h],c)}return f}if(a.BYTES_PER_ELEMENT)return{Wd:a.constructor.name,md:c.push(a.buffer)-1};if(a instanceof ArrayBuffer)return{Wd:"ArrayBuffer",md:c.push(a)-1};var k;a.ja&&(k=a.ja.slice(),k.push(a.ja));d=Object.keys(a);f={};g=0;a:for(;g<d.length;g++){var h=d[g],m=a[h];if("function"!==typeof m){if(k&&"object"===typeof m&&m)for(var p=
0;p<k.length;p++)if(k[p]===m)continue a;f[h]=ue(m,c)}}return f}
function ve(a,c,d){if("object"!==typeof c||c instanceof Array||null===c)return c;var f=c.Wd;if(void 0===f){for(var f=Object.keys(c),g=0;g<f.length;g++){var h=f[g];a[h]=ve(a[h],c[h],d)}a.$a&&a.$a();return a}if("ArrayBuffer"===f)return c=d.ne[c.md],a&&a.byteLength===c.length&&(new Uint8Array(a)).set(new Uint8Array(d.Bd,c.offset,c.length)),a;f={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array,
Float64Array:Float64Array}[f];c=d.ne[c.md];return a&&a.constructor===f&&0===a.byteOffset&&a.byteLength===c.length?((new Uint8Array(a.buffer)).set(new Uint8Array(d.Bd,c.offset,c.length),a.byteOffset),a):new f(d.Bd.slice(c.offset,c.offset+c.length))}
function we(a,c){var d=c.byteLength;if(16>d)throw new te("Invalid length: "+d);var f=new Int32Array(c,0,4);if(-2039052682!==f[0])throw new te("Invalid header: "+Id(f[0]>>>0));if(0!==f[1])throw new te("Version mismatch: dump="+f[1]+" we=0");if(f[2]!==d)throw new te("Length doesn't match header: real="+d+" header="+f[2]);f=f[3];if(0>f||f+12>=d||f%2)throw new te("Invalid info block length: "+f);for(var g=f/2,h=new Uint16Array(c,16,g),k="",d=0;d<g-8;)k+=String.fromCharCode(h[d++],h[d++],h[d++],h[d++],
h[d++],h[d++],h[d++],h[d++]);for(;d<g;)k+=String.fromCharCode(h[d++]);g=JSON.parse(k);f=16+f;h=g.df;for(d=0;d<h.length;d++)h[d].offset+=f;ve(a,g.state,{Bd:c,ne:h})};function sd(a,c){this.S=a.I.S;this.t=c;this.t.register("net0-receive",function(a){if(!(this.s&1)){this.t.send("eth-receive-end",[a.length]);if(60>a.length){var c=a;a=new Uint8Array(60);a.set(c)}var c=this.nc<<8,d=a.length+4,f=c+4,p=this.nc+1+(d>>8);if(c+d>this.memory.length){var x=this.memory.length-f;this.memory.set(a.subarray(0,x),f);this.memory.set(a.subarray(x),76)}else this.memory.set(a,f);p>=this.Rb&&(p+=this.Wc-this.Rb);this.memory[c]=1;this.memory[c+1]=p;this.memory[c+2]=d;this.memory[c+3]=
d>>8;this.nc=p;xe(this,1)}},this);this.hc=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.Qb=40;this.gc=[{size:2048}];Ld(a.I.Vc,this);this.me=this.X=0;this.s=1;this.Ve=this.Ic=this.wb=this.rd=0;this.memory=new Uint8Array(32768);for(var d=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0],f=0;6>f;f++)this.memory[f<<1]=this.memory[f<<1|1]=d[f];this.Xa=0;this.Wc=64;this.Rb=128;this.Xd=
this.nc=76;d=a.p;X(d,47104,this,function(){return this.s});Y(d,47104,this,function(a){this.s=a&-5;!(this.s&1)&&a&4&&(a=this.Ve<<8,a=this.memory.subarray(a,a+this.Ic),this.t.send("net0-send",a),this.t.send("eth-transmit-end",[a.length]),xe(this,2),0===this.wb&&xe(this,64))});X(d,47117,this,function(){return 0});X(d,47118,this,function(){return 0});X(d,47119,this,function(){return 0});X(d,47135,this,function(){0===(this.s&192)&&xe(this,128);return 0});Y(d,47135,this,function(){});Y(d,47105,this,function(a){0===
(this.s&192)&&(this.Wc=a)});Y(d,47106,this,function(a){0===(this.s&192)&&(this.Rb=a)});X(d,47111,this,function(){return 0===(this.s&192)?this.X:this.nc});Y(d,47111,this,function(a){0===(this.s&192)?this.X&=~a:this.nc=a});Y(d,47117,this,function(){});Y(d,47118,this,function(a){0===(this.s&192)&&(this.rd=a)});Y(d,47114,this,function(a){0===(this.s&192)&&(this.wb=this.wb&65280|a&255)});Y(d,47115,this,function(a){0===(this.s&192)&&(this.wb=this.wb&255|a<<8&65280)});Y(d,47112,this,function(a){0===(this.s&
192)&&(this.Xa=this.Xa&65280|a&255)});Y(d,47113,this,function(a){0===(this.s&192)&&(this.Xa=this.Xa&255|a<<8&65280)});Y(d,47119,this,function(a){0===(this.s&192)&&(this.me=a)});X(d,47107,this,function(){return 0===(this.s&192)?this.Xd:0});Y(d,47107,this,function(a){0===(this.s&192)&&(this.Xd=a)});X(d,47108,this,function(){return 0===(this.s&192)?35:0});Y(d,47108,this,function(a){0===(this.s&192)&&(this.Ve=a)});Y(d,47109,this,function(a){0===(this.s&192)&&(this.Ic=this.Ic&-256|a)});Y(d,47110,this,
function(a){0===(this.s&192)&&(this.Ic=this.Ic&255|a<<8)});X(d,47116,this,function(){return 0===(this.s&192)?9:0});X(d,47120,this,this.b,this.b,this.j);Y(d,47120,this,this.e,this.e,this.m);this.ja=[this.t,this.S]}function xe(a,c){a.X|=c;a.me&c&&a.S.H(11)}function ye(a,c){a.wb--;a.memory[a.Xa++]=c;a.Xa>=a.Rb<<8&&(a.Xa+=a.Wc-a.Rb<<8);0===a.wb&&xe(a,64)}sd.prototype.e=function(a){ye(this,a);this.rd&1&&ye(this,a>>8)};sd.prototype.m=function(a){ye(this,a);ye(this,a>>8);ye(this,a>>16);ye(this,a>>24)};
function ze(a){var c=a.memory[a.Xa++];a.wb--;a.Xa>=a.Rb<<8&&(a.Xa+=a.Wc-a.Rb<<8);0===a.wb&&xe(a,64);return c}sd.prototype.b=function(){return this.rd&1?ze(this)|ze(this)<<8:ze(this)};sd.prototype.j=function(){return ze(this)|ze(this)<<8|ze(this)<<16|ze(this)<<24};function td(a,c,d){this.hc=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.Qb=48;this.gc=[{size:2048}];Ld(a.I.Vc,this);var f=a.p;X(f,43008,this,void 0,void 0,function(){return 1});Y(f,43012,this,void 0,void 0,function(){});Y(f,43022,this,void 0,function(a){this.Id=a},void 0);X(f,43020,this,void 0,function(){return this.Tb},void 0);X(f,43016,this,void 0,void 0,function(){return 0===this.Id?this.Sb:
0});Y(f,43016,this,void 0,void 0,function(a){this.Sb=a});Y(f,43026,this,function(a){this.td=a});X(f,43026,this,function(){return this.td});X(f,43027,this,function(){var a=this.X;this.X=0;return a});Y(f,43024,this,void 0,function(){var a=(this.Sb<<12)+16*this.Tb,c=a+4;this.memory.L(a);for(var a=this.memory.L(a+2),d=this.Tb-1,a=a&d;this.vc!==a;){var f=this.memory.L(c+2*this.vc);Ae(this,f);this.vc=this.vc+1&d}});this.S=a.I.S;this.t=c;this.vc=this.X=this.td=this.Id=0;this.Tb=32;this.Sb=0;this.memory=
a.memory;for(a=0;128>a;a++)X(f,43028+a,this,function(a){return this.za.J[a]}.bind(this,a),void 0,void 0),Y(f,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.za=new aa(d,c);this.za.j=this.b.bind(this);this.ja=[this.memory,this.S,this.t];this.$a=function(){this.za.j=this.b.bind(this)}}td.prototype.reset=function(){this.vc=this.X=this.td=this.Id=0;this.Tb=32;this.Sb=0};
function Ae(a,c){var d=c,f=a.Sb<<12,g=0,h=[];do{var k=f+16*d,m=a.memory.L(k+12);if(m&2)break;var p=I(a.memory,k),d=I(a.memory,k+4),x=I(a.memory,k+8)>>>0;h.push({jd:p,$e:d,Ed:x});if(m&1)d=a.memory.L(k+14);else{d=-1;break}}while(1);var A=-1,D=0;da(a.za,{start:c,next:d},function(){if(D>=A){if(g===h.length)return 0;var a=h[g++];p=a.jd;A=a.Ed;D=0}return this.memory.M(p+D++)}.bind(a))}
td.prototype.b=function(a){if(-1!==a.next){var c=this.Tb-1,d=this.za.F,f=a.next,g=this.Sb<<12,h=0,k=[];do{var f=g+16*f,m=this.memory.L(f+12);if(0===(m&2))break;var p=I(this.memory,f),x=I(this.memory,f+4),A=I(this.memory,f+8)>>>0;k.push({jd:p,$e:x,Ed:A});if(m&1)f=this.memory.L(f+14);else break}while(1);m=-1;for(g=x=0;g<d;g++){f=this.za.m[g];if(x>=m){if(h===k.length)return 0;m=k[h++];p=m.jd;m=m.Ed;x=0}this.memory.T(p+x++,f)}h=(this.Sb<<12)+16*this.Tb+4+2*this.Tb;h=h+4095&-4096;this.memory.L(h);k=this.memory.L(h+
2);this.memory.ca(h+2,k+1);c=h+4+8*(k&c);this.memory.da(c,a.start);this.memory.da(c+4,d);this.X|=1;this.S.H(12)}};function Be(){this.wc={};this.b=void 0}Be.prototype.register=function(a,c,d){var f=this.wc[a];void 0===f&&(f=this.wc[a]=[]);f.push({he:c,Ag:d})};function Ce(a,c,d){var f=a.wc[c];void 0!==f&&(a.wc[c]=f.filter(function(a){return a.he!==d}))}Be.prototype.send=function(a,c){if(this.b){var d=this.b.wc[a];if(void 0!==d)for(var f=0;f<d.length;f++){var g=d[f];g.he.call(g.Ag,c)}}};function De(){var a=new Be,c=new Be;a.b=c;c.b=a;return[a,c]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,c){a[c[0]]=c[1];return a},{});function fc(){};var na=16384;function Ee(a){this.b=[];this.j=[];this.v=a;this.m=this.J=0;this.q=function(){};this.e={};this.F=0;ma(this,"",-1);this.ja=[]}function ha(a,c,d){0==a.b[c].status?d():a.j.push({id:c,Ye:d})}function Fe(a,c){0==a.m&&(a.q=function(){});for(var d=a.j.length-1;0<=d;d--)a.j[d].id==c&&(a.j[d].Ye(),a.j.splice(d,1))}
function Ge(a,c){var d=JSON.parse(c);if(2!==d.version)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";var f=d.fsroot;a.F=d.size;setTimeout(function(){for(var c=0;c<f.length;c++)He(a,f[c],0);a.q=function(){}},0)}
function He(a,c,d){var f=ia(a);f.name=c[0];f.size=c[1];f.yc=c[2];f.pd=f.yc;f.mc=f.yc;f.mode=c[3];f.uid=c[4];f.Aa=c[5];f.fa=d;d=f.mode&61440;if(d===na)for(c=c[6],f.Vb=!0,d=a.b.length,ja(a,f),f=0;f<c.length;f++)He(a,c[f],d);else 32768===d?(f.status=2,ja(a,f)):40960===d&&(f.Gc=c[6],ja(a,f))}function Ie(a,c){var d=a.b[c];2==d.status&&(d.status=3,a.m++,a.v&&Je(a.v+Ke(a,d.ge),function(a){a=this.e[c]=new Uint8Array(a);d.size=a.length;d.status=0;this.m--;Fe(this,c)}.bind(a),function(a){throw a;}))}
function ja(a,c){if(-1!=c.fa){a.b.push(c);c.ge=a.b.length-1;var d=a.b[c.fa];d.Vb=!0;c.Ha=d.Ca;d.Ca=a.b.length-1}else 0==a.b.length&&a.b.push(c)}function Le(a){this.Vb=!1;this.Ha=this.Ca=this.fa=-1;this.status=0;this.name="";this.we=this.ve=this.yc=this.mc=this.pd=this.ge=this.Aa=this.uid=this.size=0;this.Gc="";this.mode=493;this.ua={type:0,version:0,path:a};this.qa=void 0}function ia(a){return new Le(++a.J)}
function ma(a,c,d){var f=ia(a);f.name=c;f.fa=d;f.mode=511|na;0<=d&&(f.uid=a.b[d].uid,f.Aa=a.b[d].Aa,f.mode=a.b[d].mode&511|na);f.ua.type=na>>8;ja(a,f);return a.b.length-1}function oa(a,c,d){var f=ia(a);f.name=c;f.fa=d;f.uid=a.b[d].uid;f.Aa=a.b[d].Aa;f.ua.type=128;f.mode=a.b[d].mode&438|32768;ja(a,f);return a.b.length-1}function la(a,c,d,f,g){var h=ia(a);h.name=c;h.fa=d;h.ve=f;h.we=g;h.uid=a.b[d].uid;h.Aa=a.b[d].Aa;h.ua.type=192;h.mode=a.b[d].mode&438;ja(a,h);return a.b.length-1}
function ka(a,c,d,f){var g=ia(a);g.name=c;g.fa=d;g.uid=a.b[d].uid;g.Aa=a.b[d].Aa;g.ua.type=160;g.Gc=f;g.mode=40960;ja(a,g);return a.b.length-1}function Me(a,c,d,f){c=oa(a,c,d);d=a.b[c];(a.e[c]=new Uint8Array(f.length)).set(f);d.size=f.length}
function ga(a,c){var d=fa(a,c);if((d.mode&61440)==na){var f=fa(a,c);if(f.Vb){var g=f.fa;-1==g&&(g=0);for(var h=0,k=a.b[c].Ca;-1!=k;)h+=24+Ne(a.b[k].name),k=a.b[k].Ha;var h=h+25+26,m=a.e[c]=new Uint8Array(h);f.size=h;h=0;h+=ba(["Q","d","b","s"],[a.b[c].ua,h+13+8+1+2+1,a.b[c].mode>>12,"."],m,h);h+=ba(["Q","d","b","s"],[a.b[g].ua,h+13+8+1+2+2,a.b[g].mode>>12,".."],m,h);for(k=a.b[c].Ca;-1!=k;)h+=ba(["Q","d","b","s"],[a.b[k].ua,h+13+8+1+2+Ne(a.b[k].name),a.b[k].mode>>12,a.b[k].name],m,h),k=a.b[k].Ha;f.Vb=
!1}}return 2==d.status?(Ie(a,c),!1):!0}function ua(a,c){var d=fa(a,c);4==d.status&&(-1==d.status,delete a.e[c],d.size=0)}function ra(a,c,d,f,g){if(c==f&&d==g)return!0;d=sa(a,c,d);if(-1==d)return!1;var h=sa(a,f,g);-1!=h&&ta(a,h);h=a.b[d];if(a.b[h.fa].Ca==d)a.b[h.fa].Ca=h.Ha;else{var k=Oe(a,d);a.b[k].Ha=h.Ha}h.fa=f;h.name=g;h.ua.version++;h.Ha=a.b[h.fa].Ca;a.b[h.fa].Ca=d;a.b[c].Vb=!0;return a.b[f].Vb=!0}
function qa(a,c,d,f,g){var h=a.b[c],k=a.e[c];!k||k.length<d+f?(pa(a,c,Math.floor(3*(d+f)/2)),h.size=d+f,k=a.e[c]):h.size<d+f&&(h.size=d+f);for(a=0;a<f;a++)k[d+a]=g()}function sa(a,c,d){for(c=a.b[c].Ca;-1!=c;){if(a.b[c].name==d)return c;c=a.b[c].Ha}return-1}function Ke(a,c){for(var d="";0!=c;)d="/"+a.b[c].name+d,c=a.b[c].fa;return d.substring(1)}function Oe(a,c){for(var d=fa(a,c),d=a.b[d.fa].Ca;-1!=d&&a.b[d].Ha!=c;)d=a.b[d].Ha;return d}
function ta(a,c){if(0==c)return!1;var d=fa(a,c);if((d.mode&61440)==na&&-1!=d.Ca)return!1;if(a.b[d.fa].Ca==c)a.b[d.fa].Ca=d.Ha;else{var f=Oe(a,c);a.b[f].Ha=d.Ha}a.b[d.fa].Vb=!0;d.status=4;d.Ha=-1;d.Ca=-1;d.fa=-1;return!0}function fa(a,c){return isNaN(c)||0>c||c>a.b.length?0:a.b[c]}function pa(a,c,d){var f=fa(a,c),g=a.e[c];if(d!=f.size&&(a=a.e[c]=new Uint8Array(d),f.size=d,g))for(d=Math.min(g.length,f.size),f=0;f<d;f++)a[f]=g[f]}
function Pe(a,c){c=c.replace("//","/");var d=c.split("/"),f=d.length;0==d[f-1].length&&d.pop();0==d[0].length&&d.shift();for(var f=d.length,g=0,h=-1,k=0;k<f;k++){h=sa(a,g,d[k]);if(-1==h)return k<f-1?{id:-1,fa:-1,name:d[k]}:{id:-1,fa:g,name:d[k]};g=h}return{id:h,fa:g,name:d[k]}}
function va(a,c){var d=fa(a,c);if(d.qa)return d.qa.length;d.qa=new Uint8Array(12);d.qa[0]=0;d.qa[1]=0;d.qa[2]=0;d.qa[3]=1;d.qa[4]=255;d.qa[5]=255;d.qa[6]=255;d.qa[7]=255;d.qa[8]=255;d.qa[9]=255;d.qa[10]=255;d.qa[11]=255;return d.qa.length};function Je(a,c,d){var f=new XMLHttpRequest;f.open("GET",a,!0);f.responseType="arraybuffer";f.onreadystatechange=function(){if(4==f.readyState)if(200!=f.status&&0!=f.status)d("Error: Could not load file "+a);else{var g=f.response;g?c(g):d("Error: No data received from: "+a)}};f.send(null)};function ba(a,c,d,f){for(var g,h=0,k=0;k<a.length;k++)switch(g=c[k],a[k]){case "w":d[f++]=g&255;d[f++]=g>>8&255;d[f++]=g>>16&255;d[f++]=g>>24&255;h+=4;break;case "d":d[f++]=g&255;d[f++]=g>>8&255;d[f++]=g>>16&255;d[f++]=g>>24&255;d[f++]=0;d[f++]=0;d[f++]=0;d[f++]=0;h+=8;break;case "h":d[f++]=g&255;d[f++]=g>>8;h+=2;break;case "b":d[f++]=g;h+=1;break;case "s":var m=f,p=0;d[f++]=0;d[f++]=0;var h=h+2,x;for(x in g)Qe(g.charCodeAt(x)).forEach(function(a){d[f++]=a;h+=1;p++});d[m+0]=p&255;d[m+1]=p>>8&255;
break;case "Q":ba(["b","w","d"],[g.type,g.version,g.path],d,f),f+=13,h+=13}return h}
function ea(a,c){for(var d=[],f=0;f<a.length;f++)switch(a[f]){case "w":var g=c(),g=g+(c()<<8),g=g+(c()<<16),g=g+(c()<<24>>>0);d.push(g);break;case "d":g=c();g+=c()<<8;g+=c()<<16;g+=c()<<24>>>0;c();c();c();c();d.push(g);break;case "h":g=c();d.push(g+(c()<<8));break;case "b":d.push(c());break;case "s":for(var g=c(),g=g+(c()<<8),h="",k=new Re,m=0;m<g;m++){var p=k.j(c());-1!=p&&(h+=String.fromCharCode(p))}d.push(h)}return d};function Re(){this.b=new Uint8Array(5);this.e=0;this.j=function(a){this.b[this.e]=a;this.e++;switch(this.e){case 1:if(128>this.b[0])return this.e=0,this.b[0];break;case 2:if(192==(this.b[0]&224)&&128==(this.b[1]&192))return this.e=0,(this.b[0]&31)<<6|this.b[1]&63}return-1}}function Qe(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function Ne(a){for(var c=0,d=0;d<a.length;d++)c+=128>a.charCodeAt(d)?1:2;return c};function Se(a){function c(a){return a.shiftKey&&a.ctrlKey&&74===a.keyCode||!p.b?!1:a.target?"phone_keyboard"===a.target.className||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName:!0}function d(a){if(c(a)){var d=a.keyCode;if(!m[d])return!1;m[d]=!1;h(d,!1)||a.preventDefault()}}function f(a){if(c(a)){var d=a.keyCode;m[d]&&h(d,!1);m[d]=!0;h(d,!0)||a.preventDefault()}}function g(){for(var a=Object.keys(m),c,d=0;d<a.length;d++)c=+a[d],m[c]&&h(c,!1);m={}}function h(a,c){if(p.t){if(a>=x.length||
0===x[a])return console.log("Missing char in map: "+a.toString(16)),!0;var d=x[a];c||(d|=128);255<d?(k(d>>8),k(d&255)):k(d);return!1}}function k(a){p.t.send("keyboard-code",a)}var m={},p=this;this.b=!0;var x=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82,
79,80,81,75,76,77,71,72,73,0,0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);this.t=a;this.ab=function(){window.removeEventListener("keyup",d,!1);window.removeEventListener("keydown",f,!1);window.removeEventListener("blur",g,!1)};this.Ua=function(){"undefined"!==
typeof window&&(this.ab(),window.addEventListener("keyup",d,!1),window.addEventListener("keydown",f,!1),window.addEventListener("blur",g,!1))};this.Ua()};function Te(a){function c(a){return A.enabled&&A.b&&(!a.target||"mousemove"===a.type||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName)}function d(a){if(A.t&&c(a)){var d;d=a.webkitMovementX||a.mozMovementX||0;a=a.webkitMovementY||a.mozMovementY||0;a=-(.15*a);A.t.send("mouse-delta",[.15*d,a])}}function f(a){c(a)&&a.preventDefault()}function g(a){c(a)&&k(a,!0)}function h(a){c(a)&&k(a,!1)}function k(a,c){A.t&&(1===a.which?m=c:2===a.which?x=c:3===a.which?p=c:console.log("Unknown event.which: "+
a.which),A.t.send("mouse-click",[m,x,p]),a.preventDefault())}var m=!1,p=!1,x=!1,A=this;this.enabled=!1;this.b=!0;this.t=a;this.t.register("mouse-enable",function(a){this.enabled=a},this);this.ab=function(){window.removeEventListener("mousemove",d,!1);document.removeEventListener("contextmenu",f,!1);window.removeEventListener("mousedown",g,!1);window.removeEventListener("mouseup",h,!1)};this.Ua=function(){"undefined"!==typeof window&&(this.ab(),window.addEventListener("mousemove",d,!1),document.addEventListener("contextmenu",
f,!1),window.addEventListener("mousedown",g,!1),window.addEventListener("mouseup",h,!1))};this.Ua()};function Ue(a,c){function d(a){h.t&&h.enabled&&(h.j(a.which),a.preventDefault())}function f(a){8===a.which&&(h.j(127),a.preventDefault())}function g(a){if(h.enabled){for(var c=a.clipboardData.getData("text/plain"),d=0;d<c.length;d++)h.j(c.charCodeAt(d));a.preventDefault()}}var h=this;this.enabled=!0;this.t=c;this.e=[];this.m=this.b=!1;this.t.register("serial0-output-char",function(a){this.zg(a)},this);this.ab=function(){a.removeEventListener("keypress",d,!1);a.removeEventListener("keydown",f,!1);
a.removeEventListener("paste",g,!1)};this.Ua=function(){this.ab();a.addEventListener("keypress",d,!1);a.addEventListener("keydown",f,!1);a.addEventListener("paste",g,!1);setInterval(function(){this.b&&(this.b=!1,a.value=this.e.join(""),this.m&&(this.m=!1,a.scrollTop=1E9))}.bind(this),16)};this.Ua();this.zg=function(a){"\b"===a?(this.e.pop(),this.b=!0):"\r"!==a&&(this.b=!0,this.e.push(a),"\n"===a&&(this.m=!0))};this.j=function(a){h.t&&h.t.send("serial0-input",a)}};function Ve(a,c){this.t=c;this.b=void 0;this.e=[];this.url=a;this.j=Date.now()-1E4;this.t.register("net0-send",function(a){this.send(a)},this)}l=Ve.prototype;l.vf=function(a){this.t&&this.t.send("net0-receive",new Uint8Array(a.data))};l.le=function(){this.nd();setTimeout(this.nd.bind(this),1E4)};l.wf=function(){for(var a=0;a<this.e.length;a++)this.send(this.e[a]);this.e=[]};l.uf=function(){};l.ab=function(){this.b&&this.b.close()};
l.nd=function(){if(this.b){var a=this.b.readyState;if(0===a||1===a)return}if(!(this.j+1E4>Date.now())){this.j=Date.now();try{this.b=new WebSocket(this.url)}catch(c){this.le()}this.b.binaryType="arraybuffer";this.b.onopen=this.wf.bind(this);this.b.onmessage=this.vf.bind(this);this.b.onclose=this.le.bind(this);this.b.onerror=this.uf.bind(this)}};l.send=function(a){this.b&&1===this.b.readyState?this.b.send(a):(this.e.push(a),128<this.e.length&&(this.e=this.e.slice(-64)),this.nd())};(function(){function a(a,c){var d=new XMLHttpRequest;d.open(c.method||"get",a,!0);c.kd||(d.responseType="arraybuffer");if(c.headers)for(var f=Object.keys(c.headers),p=0;p<f.length;p++){var x=f[p];d.setRequestHeader(x,c.headers[x])}d.onload=function(){4===d.readyState&&(200!==d.status&&206!==d.status?console.log("Loading the image `"+a+"` failed"):d.response&&c.done&&c.done(d.response,d))};c.Fe&&(d.onprogress=function(a){c.Fe(a)});d.send(null)}function c(a,c){this.j=a;this.b=256;this.byteLength=c;
this.e={};this.onprogress=this.onload=void 0}function d(a){this.b=a;this.byteLength=a.size;1073741824<a.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(a.size>>20)+" MB ...");this.buffer=new ArrayBuffer(a.size);this.onprogress=this.onload=void 0}function f(a){this.j=a;this.byteLength=a.size;this.b=256;this.e={};this.onprogress=this.onload=void 0}Fd=a;Gd=c;Hd=f;zd=d;c.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.j,{done:function(a,c){var d=(c.getResponseHeader("Content-Range")||
"").match(/\/(\d+)\s*$/);d?(this.byteLength=+d[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.j+". `Range: bytes=...` header not supported")}.bind(this),headers:{Range:"bytes=0-0"}})};c.prototype.get=function(c,d,f){console.assert(0===c%this.b);console.assert(0===d%this.b);console.assert(d);a(this.j,{done:function(a){a=new Uint8Array(a);this.m(c,d,a);f(a)}.bind(this),headers:{Range:"bytes="+c+"-"+(c+d-1)}})};c.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength);
var f=c.length;console.assert(0===a%this.b);console.assert(0===f%this.b);console.assert(f);a/=this.b;for(var f=f/this.b,p=0;p<f;p++){var x=this.e[a+p];void 0===x&&(x=this.e[a+p]=new Uint8Array(this.b));var A=c.subarray(p*this.b,(p+1)*this.b);x.set(A);console.assert(x.byteLength===A.length)}d()};c.prototype.m=function(a,c,d){a/=this.b;c/=this.b;for(var f=0;f<c;f++){var p=this.e[a+f];p&&d.set(p,f*this.b)}};c.prototype.qc=function(a){a()};d.prototype.load=function(){this.e(0)};d.prototype.e=function(a){var c=
new FileReader;c.onload=function(c){c=new Uint8Array(c.target.result);(new Uint8Array(this.buffer,a)).set(c);this.e(a+4194304)}.bind(this);if(this.onprogress)this.onprogress({loaded:a,total:this.byteLength,lengthComputable:!0});if(a<this.byteLength){var d=Math.min(a+4194304,this.byteLength);c.readAsArrayBuffer(this.b.slice(a,d))}else this.b=void 0,this.onload&&this.onload({buffer:this.buffer})};d.prototype.get=function(a,c,d){console.assert(a+c<=this.byteLength);d(new Uint8Array(this.buffer,a,c))};
d.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength);(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};d.prototype.qc=function(a){a(this.buffer)};f.prototype.load=function(){this.onload&&this.onload({})};f.prototype.get=function(a,c,d){console.assert(0===a%this.b);console.assert(0===c%this.b);console.assert(c);var f=new FileReader;f.onload=function(f){f=new Uint8Array(f.target.result);this.m(a,c,f);d(f)}.bind(this);f.readAsArrayBuffer(this.j.slice(a,a+c))};f.prototype.set=
c.prototype.set;f.prototype.m=c.prototype.m;f.prototype.qc=function(a){a()}})();function Z(a){function c(a,c){switch(a){case "hda":m.Da=c;break;case "hdb":m.Xg=c;break;case "cdrom":m.sa=c;break;case "fda":m.Ba=c;break;case "fdb":m.fe=c;break;case "bios":m.Kb=c.buffer;break;case "vga_bios":m.Cg=c.buffer;break;case "initial_state":m.tc=c.buffer;break;case "fs9p_json":m.je=c.buffer}}function d(a,c){if(c){c={buffer:c.buffer,async:c.async,url:c.url,size:c.size};if("bios"===a||"vga_bios"===a||"initial_state"===a)c.async=!1;if(c.buffer instanceof ArrayBuffer){var d=new Jd(c.buffer);
p.push({name:a,fc:d})}else c.buffer instanceof File?(void 0===c.async&&(c.async=16777216>c.buffer.size),d=c.async?new zd(c.buffer):new Hd(c.buffer),p.push({name:a,fc:d})):c.url&&(c.async?(d=new Gd(c.url,c.size),p.push({name:a,fc:d})):p.push({name:a,url:c.url,size:c.size}))}}function f(){this.t.send("cpu-init",m);setTimeout(function(){m.tc&&we(k.r,m.tc);setTimeout(function(){m.xb&&m.je&&Ge(m.xb,m.je);a.autostart&&this.t.send("cpu-run")}.bind(this),0)}.bind(this),0)}this.od=!1;var g=De(),h=this.t=g[0];
this.j=g[1];var k=this.b=new Ad(this.j);this.t.register("emulator-stopped",function(){this.od=!1},this);this.t.register("emulator-started",function(){this.od=!0},this);var m={yf:!0};m.mb=a.memory_size||67108864;m.pa=a.vga_memory_size||8388608;m.bf=a.boot_order||531;m.Ba=void 0;m.fe=void 0;a.network_relay_url&&(new Ve(a.network_relay_url,h),m.rf=!0);a.disable_keyboard||(this.m=new Se(h));a.disable_mouse||(this.q=new Te(h));a.screen_container&&(this.e=new xa(a.screen_container,h));a.serial_container&&
new Ue(a.serial_container,h);for(var p=[],g="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),h=0;h<g.length;h++)d(g[h],a[g[h]]);if(a.filesystem&&(g=a.filesystem.basefs,h=a.filesystem.baseurl,this.xb=new Ee(h),m.xb=this.xb,g)){console.assert(h,"Filesystem: baseurl must be specified");var x;"object"===typeof g&&(x=g.size,g=g.url);p.push({name:"fs9p_json",url:g,size:x,kd:!0})}var A=this,D=p.length,O=function(a){if(a===D)setTimeout(f.bind(this),0);else{var d=p[a];d.fc?(d.fc.onload=function(){c(d.name,
d.fc);O(a+1)},d.fc.load()):Fd(d.url,{done:function(f){c(d.name,new Jd(f));O(a+1)},Fe:function(c){A.j.send("download-progress",{Ad:a,zd:D,Ug:d.url,lengthComputable:c.lengthComputable,total:d.size||c.total,loaded:c.loaded})},kd:d.kd})}}.bind(this);O(0)}l=Z.prototype;l.ic=function(){this.t.send("cpu-run")};l.hd=function(){this.t.send("cpu-stop")};l.Ud=function(){this.t.send("cpu-restart")};l.va=function(a,c){this.t.register(a,c,this)};l.vg=function(a,c){Ce(this.t,a,c)};l.Ze=function(a){we(this.b.r,a)};
l.Vd=function(a){setTimeout(function(){try{for(var c=[],d=ue(this.b.r,c),f=[],g=0,h=0;h<c.length;h++){var k=c[h].byteLength;f[h]={offset:g,length:k};g+=k;g=g+3&-4}var m=JSON.stringify({df:f,state:d}),p=16+2*m.length,d=p+g,x=new ArrayBuffer(d),A=new Int32Array(x,0,4),D=new Uint16Array(x,16,m.length),O=new Uint8Array(x,p);A[0]=-2039052682;A[1]=0;A[2]=d;A[3]=2*m.length;for(h=0;h<m.length;h++)D[h]=m.charCodeAt(h);for(h=0;h<c.length;h++)O.set(new Uint8Array(c[h]),f[h].offset);a(null,x)}catch(U){a(U,null)}}.bind(this),
0)};l.tf=function(){console.warn("V86Starter.prototype.get_statistics is deprecated. Use events instead.");var a={r:{Yg:this.b?this.b.r.P:0}};if(!this.b)return a;var c=this.b.r.I;c.Da&&(a.Da=c.Da.oa);c.sa&&(a.sa=c.sa.oa);c.Hd&&(a.ah={enabled:c.Hd.lc});c.Wb&&(a.Wb=c.Wb.oa);return a};l.qe=function(){return this.od};l.Uc=function(a){for(var c=0;c<a.length;c++)this.t.send("keyboard-code",a[c])};l.Ne=function(){this.e&&this.e.j()};l.Oe=function(a,c){this.e&&this.e.b(a,c)};
l.Me=function(){if(this.e){var a=document.getElementById("screen_container");if(a){var c=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;c&&(c.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.Fd()}}};l.Fd=function(){var a=document.body,c=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;c&&c.call(a)};l.ye=function(a){this.q&&(this.q.b=a)};l.xf=function(a){this.m&&(this.m.b=a)};
l.Re=function(a){for(var c=0;c<a.length;c++)this.t.send("serial0-input",a.charCodeAt(c))};l.ae=function(a,c,d){var f=this.xb;if(f){var g=a.split("/"),g=g[g.length-1];a=Pe(f,a).fa;var h=""===g||-1===a;h||Me(f,g,a,c);d&&setTimeout(function(){h?d(new We):d(null)},0)}};l.He=function(a,c){var d=this.xb;if(d){var f=Pe(d,a).id;-1===f?c(new We,null):(ga(d,f),ha(d,f,function(){var a=d.e[f];a?c(null,a.subarray(0,d.b[f].size)):c(new We,null)}))}};function We(a){this.message=a||"File not found"}
We.prototype=Error.prototype;"undefined"!==typeof window?window.V86Starter=Z:"undefined"!==typeof module&&"undefined"!==typeof module.exports?module.exports.V86Starter=Z:"function"===typeof importScripts&&(self.V86Starter=Z);Z.prototype.run=Z.prototype.ic;Z.prototype.stop=Z.prototype.hd;Z.prototype.restart=Z.prototype.Ud;Z.prototype.add_listener=Z.prototype.va;Z.prototype.remove_listener=Z.prototype.vg;Z.prototype.restore_state=Z.prototype.Ze;Z.prototype.save_state=Z.prototype.Vd;
Z.prototype.get_statistics=Z.prototype.tf;Z.prototype.is_running=Z.prototype.qe;Z.prototype.keyboard_send_scancodes=Z.prototype.Uc;Z.prototype.screen_make_screenshot=Z.prototype.Ne;Z.prototype.screen_set_scale=Z.prototype.Oe;Z.prototype.screen_go_fullscreen=Z.prototype.Me;Z.prototype.lock_mouse=Z.prototype.Fd;Z.prototype.mouse_set_status=Z.prototype.ye;Z.prototype.keyboard_set_status=Z.prototype.xf;Z.prototype.serial0_send=Z.prototype.Re;Z.prototype.create_file=Z.prototype.ae;
Z.prototype.read_file=Z.prototype.He;
'use strict';var n;function aa(a,b){this.T=a;this.C=b;this.ca=function(){};this.l=9;this.n=1;this.fe=new Uint8Array([6,0,104,111,115,116,57,112]);this.g="9P2000.L";this.ac=this.d=8192;this.ka=new Uint8Array(2*this.ac);this.Td=0;this.K=[]}aa.prototype.Ca=function(){var a=[];a[0]=this.l;a[1]=this.n;a[2]=this.fe;a[3]=this.g;a[4]=this.d;a[5]=this.ac;a[6]=this.ka;a[7]=this.Td;a[8]=this.K.map(function(b){return[b.U,b.type,b.uid]});return a};
aa.prototype.Pa=function(a){this.l=a[0];this.n=a[1];this.fe=a[2];this.g=a[3];this.d=a[4];this.ac=a[5];this.ka=a[6];this.Td=a[7];this.K=a[8].map(function(b){return{U:b[0],type:b[1],uid:b[2]}})};function ba(a,b,e,f){ca(["w","b","h"],[f+7,b+1,e],a.ka,0);a.Td=f+7}function da(a,b,e){e=ca(["w"],[e],a.ka,7);ba(a,6,b,e)}
function ea(a,b,e){var f=fa(["w","b","h"],e),c=f[1],h=f[2];switch(c){case 8:e=a.T.s;var k=[16914839];k[1]=a.d;k[2]=Math.floor(274877906944/k[1]);k[3]=k[2]-Math.floor(e/k[1]);k[4]=k[2]-Math.floor(e/k[1]);k[5]=a.T.d.length;k[6]=1048576;k[7]=0;k[8]=256;e=ca("wwddddddw".split(""),k,a.ka,7);ba(a,c,h,e);a.ca(b);break;case 112:case 12:var k=fa(["w","w"],e),m=k[0],f=k[1],q=ga(a.T,a.K[m].U);k[0]=q.Ea;k[1]=a.ac-24;ca(["Q","w"],k,a.ka,7);ba(a,c,h,17);e=ha(a.T,a.K[m].U);ia(a.T,a.K[m].U,function(){k[0]=q.Ea;k[1]=
this.ac-24;ca(["Q","w"],k,this.ka,7);ba(this,c,h,17);this.ca(b)}.bind(a));break;case 70:var k=fa(["w","w","s"],e),w=k[0],m=k[1];e=k[2];var q=ja(a.T),f=ga(a.T,a.K[m].U),B=a.T.kb[a.K[m].U];q.mode=f.mode;q.size=f.size;q.xd=f.xd;for(var z=a.T.kb[a.T.d.length]=new Uint8Array(q.size),f=0;f<q.size;f++)z[f]=B[f];q.name=e;q.ma=a.K[w].U;ka(a.T,q);ba(a,c,h,0);a.ca(b);break;case 16:k=fa(["w","s","s","w"],e);m=k[0];e=k[1];w=k[3];e=la(a.T,e,a.K[m].U,k[2]);q=ga(a.T,e);q.uid=a.K[m].uid;q.Ra=w;ca(["Q"],[q.Ea],a.ka,
7);ba(a,c,h,13);a.ca(b);break;case 18:k=fa("wswwww".split(""),e);m=k[0];e=k[1];f=k[2];B=k[3];z=k[4];w=k[5];e=oa(a.T,e,a.K[m].U,B,z);q=ga(a.T,e);q.mode=f;q.uid=a.K[m].uid;q.Ra=w;ca(["Q"],[q.Ea],a.ka,7);ba(a,c,h,13);a.ca(b);break;case 22:k=fa(["w"],e);m=k[0];q=ga(a.T,a.K[m].U);e=ca(["s"],[q.xd],a.ka,7);ba(a,c,h,e);a.ca(b);break;case 72:k=fa(["w","s","w","w"],e);m=k[0];e=k[1];f=k[2];w=k[3];e=pa(a.T,e,a.K[m].U);q=ga(a.T,e);q.mode=f|qa;q.uid=a.K[m].uid;q.Ra=w;ca(["Q"],[q.Ea],a.ka,7);ba(a,c,h,13);a.ca(b);
break;case 14:k=fa(["w","s","w","w","w"],e);m=k[0];e=k[1];f=k[3];w=k[4];e=ra(a.T,e,a.K[m].U);a.K[m].U=e;a.K[m].type=1;q=ga(a.T,e);q.uid=a.K[m].uid;q.Ra=w;q.mode=f;ca(["Q","w"],[q.Ea,a.ac-24],a.ka,7);ba(a,c,h,17);a.ca(b);break;case 52:ca(["w"],[0],a.ka,7);ba(a,c,h,1);a.ca(b);break;case 24:k=fa(["w","d"],e);m=k[0];q=ga(a.T,a.K[m].U);k[0]|=4096;k[0]=k[1];k[1]=q.Ea;k[2]=q.mode;k[3]=q.uid;k[4]=q.Ra;k[5]=1;k[6]=q.bf<<8|q.cf;k[7]=q.size;k[8]=a.d;k[9]=Math.floor(q.size/512+1);k[10]=q.cd;k[11]=0;k[12]=q.sd;
k[13]=0;k[14]=q.ie;k[15]=0;k[16]=0;k[17]=0;k[18]=0;k[19]=0;ca("dQwwwddddddddddddddd".split(""),k,a.ka,7);ba(a,c,h,153);a.ca(b);break;case 26:k=fa("wwwwwddddd".split(""),e);m=k[0];q=ga(a.T,a.K[m].U);k[1]&1&&(q.mode=k[2]);k[1]&2&&(q.uid=k[3]);k[1]&4&&(q.Ra=k[4]);k[1]&128&&(q.cd=k[6]);k[1]&256&&(q.cd=k[8]);k[1]&16&&(q.cd=Math.floor((new Date).getTime()/1E3));k[1]&32&&(q.sd=Math.floor((new Date).getTime()/1E3));k[1]&64&&(q.ie=Math.floor((new Date).getTime()/1E3));k[1]&8&&sa(a.T,a.K[m].U,k[5]);ba(a,c,
h,0);a.ca(b);break;case 50:k=fa(["w","d"],e);m=k[0];ba(a,c,h,0);a.ca(b);break;case 40:case 116:var k=fa(["w","d","w"],e),m=k[0],G=k[1],C=k[2],q=ga(a.T,a.K[m].U);if(2==a.K[m].type){q.xa.length<G+C&&(C=q.xa.length-G);for(f=0;f<C;f++)a.ka[11+f]=q.xa[G+f];ca(["w"],[C],a.ka,7);ba(a,c,h,4+C);a.ca(b)}else{var E=a.T.d[a.K[m].U];a.C.send("9p-read-start");ha(a.T,a.K[m].U);ia(a.T,a.K[m].U,function(){this.C.send("9p-read-end",[E.name,C]);q.size<G+C&&(C=q.size-G);var Y=this.T.kb[this.K[m].U];if(Y)for(var ma=0;ma<
C;ma++)this.ka[11+ma]=Y[G+ma];ca(["w"],[C],this.ka,7);ba(this,c,h,4+C);this.ca(b)}.bind(a))}break;case 118:k=fa(["w","d","w"],e);m=k[0];G=k[1];C=k[2];ua(a.T,a.K[m].U,G,C,e);E=a.T.d[a.K[m].U];a.C.send("9p-write-end",[E.name,C]);ca(["w"],[C],a.ka,7);ba(a,c,h,4);a.ca(b);break;case 74:k=fa(["w","s","w","s"],e);e=wa(a.T,a.K[k[0]].U,k[1],a.K[k[2]].U,k[3]);if(0==e){da(a,h,2);a.ca(b);break}ba(a,c,h,0);a.ca(b);break;case 76:k=fa(["w","s","w"],e);f=k[0];e=k[1];m=xa(a.T,a.K[f].U,e);if(-1==m){da(a,h,2);a.ca(b);
break}e=ya(a.T,m);if(!e){da(a,h,39);a.ca(b);break}ba(a,m,h,0);a.ca(b);break;case 100:e=fa(["w","s"],e);a.ac=e[0];e=ca(["w","s"],[a.ac,a.g],a.ka,7);ba(a,c,h,e);a.ca(b);break;case 104:k=fa(["w","w","s","s","w"],e);m=k[0];a.K[m]={U:0,type:1,uid:k[4]};q=ga(a.T,a.K[m].U);ca(["Q"],[q.Ea],a.ka,7);ba(a,c,h,13);a.ca(b);break;case 108:k=fa(["h"],e);ba(a,c,h,0);a.ca(b);break;case 110:k=fa(["w","w","h"],e);m=k[0];w=k[1];B=k[2];if(0==B){a.K[w]={U:a.K[m].U,type:1,uid:a.K[m].uid};ca(["h"],[0],a.ka,7);ba(a,c,h,2);
a.ca(b);break}z=[];for(f=0;f<B;f++)z.push("s");z=fa(z,e);e=a.K[m].U;for(var G=9,O=0,f=0;f<B;f++){e=xa(a.T,e,z[f]);if(-1==e)break;G+=ca(["Q"],[a.T.d[e].Ea],a.ka,G);O++;a.K[w]={U:e,type:1,uid:a.K[m].uid}}ca(["h"],[O],a.ka,7);ba(a,c,h,G-7);a.ca(b);break;case 120:k=fa(["w"],e);a.K[k[0]]&&0<=a.K[k[0]].U&&(za(a.T,a.K[k[0]].U),a.K[k[0]].U=-1,a.K[k[0]].type=-1);ba(a,c,h,0);a.ca(b);break;case 32:da(a,h,524);a.ca(b);break;case 30:k=fa(["w","w","s"],e),m=k[0],f=k[1],e=k[2],a.K[f]={U:a.K[m].U,type:-1,uid:a.K[m].uid},
w=0,"security.capability"==e&&(w=Aa(a.T,a.K[m].U),a.K[f].type=2),ca(["d"],[w],a.ka,7),ba(a,c,h,8),a.ca(b)}};"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame);
function Ca(a,b){function e(J){J=J.toString(16);return"#"+Array(7-J.length).join("0")+J}function f(){for(var J=0;J<V;J++)ma[J]&&(va.g(J),ma[J]=0);this.xb()}function c(){this.C.send("screen-fill-buffer");this.xb()}function h(J,U,na){U=""+(1===U?"":" scaleX("+U+")")+(1===na?"":" scaleY("+na+")");J.style.webkitTransform=J.style.MozTransform=U}console.assert(a,"1st argument must be a DOM container");for(var k=a.getElementsByTagName("canvas")[0],m=k.getContext("2d"),q=k.nextElementSibling||k.previousElementSibling,
w=document.createElement("div"),B,z,G,C,E=1,O=1,Y,ma,Fa=!1,X,Ba,V,va=this,fb=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496,9484,
9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]),Kb=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),sb=[],ab,Oa=0;256>Oa;Oa++)127<Oa?ab=fb[Oa-128]:32>Oa?ab=Kb[Oa]:ab=Oa,sb[Oa]=String.fromCharCode(ab);m.imageSmoothingEnabled=!1;m.mozImageSmoothingEnabled=!1;
w.style.position="absolute";w.style.backgroundColor="#ccc";w.style.width="7px";w.style.display="inline-block";q.style.display="block";k.style.display="none";this.C=b;b.register("screen-set-mode",function(J){this.gh(J)},this);b.register("screen-fill-buffer-end",function(J){this.mh(J[0],J[1])},this);b.register("screen-put-char",function(J){this.Vg(J[0],J[1],J[2],J[3],J[4])},this);b.register("screen-update-cursor",function(J){this.Ad(J[0],J[1])},this);b.register("screen-update-cursor-scanline",function(J){this.Bd(J[0],
J[1])},this);b.register("screen-set-size-text",function(J){this.tc(J[0],J[1])},this);b.register("screen-set-size-graphical",function(J){this.wd(J[0],J[1])},this);this.jb=function(){this.tc(80,25);this.xb()};this.l=function(){try{window.open(k.toDataURL())}catch(J){}};this.Vg=function(J,U,na,Va,Wa){J<V&&U<Ba&&(U=3*(J*Ba+U),X[U]=na,X[U+1]=Va,X[U+2]=Wa,ma[J]=1)};this.xb=function(){requestAnimationFrame(Fa?c:f)};f=f.bind(this);c=c.bind(this);this.sb=function(){};this.gh=function(J){(Fa=J)?(q.style.display=
"none",k.style.display="block"):(q.style.display="block",k.style.display="none")};this.tc=function(J,U){if(J!==Ba||U!==V){ma=new Int8Array(U);X=new Int32Array(J*U*3);Ba=J;for(V=U;q.childNodes.length>U;)q.removeChild(q.firstChild);for(;q.childNodes.length<U;)q.appendChild(document.createElement("div"));for(var na=0;na<U;na++)this.g(na)}};this.wd=function(J,U){k.style.display="block";k.width=J;k.height=U;B=m.createImageData(J,U);new Uint8Array(B.data.buffer);z=new Int32Array(B.data.buffer);Y=J;this.C.send("screen-tell-buffer",
[z],[z.buffer])};this.d=function(J,U){E=J;O=U;h(k,E,O);h(q,E,O)};this.d(E,O);this.Bd=function(J,U){J&32?w.style.display="none":(w.style.display="inline",w.style.height=Math.min(15,U-J)+"px",w.style.marginTop=Math.min(15,J)+"px")};this.Ad=function(J,U){if(J!==G||U!==C)ma[J]=1,ma[G]=1,G=J,C=U};this.g=function(J){var U=3*J*Ba,na,Va,Wa,T,ta,tb;na=q.childNodes[J];for(Wa=document.createDocumentFragment();na.firstChild;)na.removeChild(na.firstChild);for(var bb=0;bb<Ba;){Va=document.createElement("span");
T=X[U+1];ta=X[U+2];Va.style.backgroundColor=e(T);Va.style.color=e(ta);for(tb="";bb<Ba&&X[U+1]===T&&X[U+2]===ta;)if(tb+=sb[X[U]],bb++,U+=3,J===G)if(bb===C)break;else if(bb===C+1){Wa.appendChild(w);break}Va.textContent=tb;Wa.appendChild(Va)}na.appendChild(Wa)};this.mh=function(J,U){if(!(U<J)){var na=J/Y|0;m.putImageData(B,0,0,0,na,Y,(U/Y|0)-na+1)}};this.jb()};function p(){this.mb=0;this.Gb=[];this.u=[];this.Fa=[];this.H=new Int32Array(1048576);this.Ib=new Uint8Array(1048576);this.zd=new Uint8Array(1048576);this.qa=!1;this.Yb=this.Cc=this.Zb=this.Dc=0;this.s=!1;this.t=new Int32Array(8);this.t[0]=0;this.t[2]=0;this.t[3]=0;this.td=this.P=this.t[4]=0;this.Ec=this.hb=this.Hb=this.Ma=this.za=!1;this.d={Tb:{xb:function(){},sb:function(){}},Qd:{xb:function(){},sb:function(){}}};this.a=this.Be=this.D=this.n=this.aa=this.La=this.Ta=this.o=this.f=this.$=this.Rc=
this.Sc=this.uc=this.J=this.Ic=this.F=this.Cb=0;this.j=this.e;this.q=this.A=this.G=0;this.table=[];this.V=[];this.Y=[];this.Z=[];this.v=!1;this.ea=this.m=0;this.zc={af:null,Tb:null};this.R=0;this.b=new Int32Array(8);this.nb=new Uint32Array(this.b.buffer);this.ta=new Int16Array(this.b.buffer);this.e=new Uint16Array(this.b.buffer);this.Pb=new Int8Array(this.b.buffer);this.k=new Uint8Array(this.b.buffer);this.I=new Uint16Array(8);this.gc=new Int32Array(8);this.w=this.e;this.ob=this.B=0;this.memory=null;
this.oa=-1;this.sa=this.r=void 0;"use strict";(function(a){var b={};a.debug=b;b.Rh=!1;b.Oh=void 0;b.xh=[];b.Sh=!1;b.show=function(e){if("undefined"!==typeof document){var f=document.getElementById("log");if(f){f.textContent+=e+"\n";f.style.display="block";f.scrollTop=1E9;return}}console.log(e)};b.jb=function(){};b.Dh=function(){};b.Bh=function(){};b.Hh=function(){};b.Eh=function(){};b.Fh=function(){};b.Ch=function(){};b.zh=function(){};b.Ah=function(){};b.Ih=function(){};b.Mh=function(){};b.Th=function(){};
b.step=function(){};b.Qh=function(){};b.yh=function(){};b.Q=function(e){e="Unimplemented"+(e?": "+e:"");b.show(e);b.show("Execution stopped");return e};b.Lh=function(){}})(this);this.nb=new Uint32Array(this.b.buffer);this.ta=new Int16Array(this.b.buffer);this.e=new Uint16Array(this.b.buffer);this.Pb=new Int8Array(this.b.buffer);this.k=new Uint8Array(this.b.buffer);Da(this);Ea(this);this.Be=Ga()}
p.prototype.Ca=function(){var a=[];a[0]=this.mb;a[1]=this.Gb;a[2]=this.u;a[3]=this.Fa;a[4]=this.qa;a[5]=this.Zb;a[6]=this.Dc;a[7]=this.Yb;a[8]=this.Cc;a[9]=this.s;a[10]=this.t;a[11]=this.P;a[12]=this.td;a[13]=this.za;a[14]=this.Ma;a[15]=this.hb;a[16]=this.Hb;a[17]=this.Ec;a[18]=this.Cb;a[19]=this.F;a[20]=this.Ic;a[21]=this.J;a[22]=this.uc;a[23]=this.Rc;a[24]=this.Sc;a[25]=this.$;a[26]=this.f;a[27]=this.o;a[28]=this.Ta;a[29]=this.La;a[30]=this.aa;a[31]=this.n;a[32]=this.a;a[36]=this.v;a[37]=this.m;
a[38]=this.ea;a[39]=this.b;a[40]=this.I;a[41]=this.gc;a[42]=this.memory;a[43]=this.sa;a[45]=this.d.Yd;a[46]=this.d.ad;a[47]=this.d.Ua;a[48]=this.d.Jc;a[49]=this.d.Bc;a[51]=this.d.dg;a[52]=this.d.Tb;a[53]=this.d.Qd;a[54]=this.d.zf;a[55]=this.d.Ne;a[56]=this.d.ua;a[57]=this.d.Ka;a[58]=this.d.Pd;a[59]=this.d.ef;a[60]=this.d.Mc;return a};
p.prototype.Pa=function(a){this.mb=a[0];this.Gb=a[1];this.u=a[2];this.Fa=a[3];this.qa=a[4];this.Zb=a[5];this.Dc=a[6];this.Yb=a[7];this.Cc=a[8];this.s=a[9];this.t=a[10];this.P=a[11];this.td=a[12];this.za=a[13];this.Ma=a[14];this.hb=a[15];this.Hb=a[16];this.Ec=a[17];this.Cb=a[18];this.F=a[19];this.Ic=a[20];this.J=a[21];this.uc=a[22];this.Rc=a[23];this.Sc=a[24];this.$=a[25];this.f=a[26];this.o=a[27];this.La=a[27];this.aa=a[30];this.n=a[31];this.a=a[32];this.v=a[36];this.m=a[37];this.ea=a[38];this.I=
a[40];this.gc=a[41];this.memory=a[42];this.sa=a[43];this.d.Yd=a[45];this.d.ad=a[46];this.d.Ua=a[47];this.d.Jc=a[48];this.d.Bc=a[49];this.d.wh=a[50];this.d.dg=a[51];this.d.Tb=a[52];this.d.Ph=a[50];this.d.zf=a[54];this.d.Ne=a[55];this.d.ua=a[56];this.d.Ka=a[57];this.d.Pd=a[58];this.d.ef=a[59];this.d.Mc=a[60];Ha(this);this.Hb?(this.w=this.b,this.B=4,this.ob=5):(this.w=this.e,this.B=8,this.ob=10);this.nb=new Uint32Array(this.b.buffer);this.ta=new Int16Array(this.b.buffer);this.e=new Uint16Array(this.b.buffer);
this.Pb=new Int8Array(this.b.buffer);this.k=new Uint8Array(this.b.buffer);Da(this);Ea(this)};"use strict";"use strict";
(function(){p.prototype.l=Array(192);p.prototype.g=Array(192);p.prototype.h=Array(256);p.prototype.l[0]=function(c){return r(c)+(c.e[6]+c.e[12]&65535)|0};p.prototype.l[64]=function(c){return r(c)+(c.e[6]+c.e[12]+s(c)&65535)|0};p.prototype.l[128]=function(c){return r(c)+(c.e[6]+c.e[12]+t(c)&65535)|0};p.prototype.l[1]=function(c){return r(c)+(c.e[6]+c.e[14]&65535)|0};p.prototype.l[65]=function(c){return r(c)+(c.e[6]+c.e[14]+s(c)&65535)|0};p.prototype.l[129]=function(c){return r(c)+(c.e[6]+c.e[14]+t(c)&
65535)|0};p.prototype.l[2]=function(c){return u(c)+(c.e[10]+c.e[12]&65535)|0};p.prototype.l[66]=function(c){return u(c)+(c.e[10]+c.e[12]+s(c)&65535)|0};p.prototype.l[130]=function(c){return u(c)+(c.e[10]+c.e[12]+t(c)&65535)|0};p.prototype.l[3]=function(c){return u(c)+(c.e[10]+c.e[14]&65535)|0};p.prototype.l[67]=function(c){return u(c)+(c.e[10]+c.e[14]+s(c)&65535)|0};p.prototype.l[131]=function(c){return u(c)+(c.e[10]+c.e[14]+t(c)&65535)|0};p.prototype.l[4]=function(c){return r(c)+(c.e[12]&65535)|
0};p.prototype.l[68]=function(c){return r(c)+(c.e[12]+s(c)&65535)|0};p.prototype.l[132]=function(c){return r(c)+(c.e[12]+t(c)&65535)|0};p.prototype.l[5]=function(c){return r(c)+(c.e[14]&65535)|0};p.prototype.l[69]=function(c){return r(c)+(c.e[14]+s(c)&65535)|0};p.prototype.l[133]=function(c){return r(c)+(c.e[14]+t(c)&65535)|0};p.prototype.l[6]=function(c){return u(c)+(c.e[10]&65535)|0};p.prototype.l[70]=function(c){return u(c)+(c.e[10]+s(c)&65535)|0};p.prototype.l[134]=function(c){return u(c)+(c.e[10]+
t(c)&65535)|0};p.prototype.l[7]=function(c){return r(c)+(c.e[6]&65535)|0};p.prototype.l[71]=function(c){return r(c)+(c.e[6]+s(c)&65535)|0};p.prototype.l[135]=function(c){return r(c)+(c.e[6]+t(c)&65535)|0};p.prototype.g[0]=function(c){return r(c)+c.b[0]|0};p.prototype.g[64]=function(c){return r(c)+c.b[0]+s(c)|0};p.prototype.g[128]=function(c){return r(c)+c.b[0]+v(c)|0};p.prototype.g[1]=function(c){return r(c)+c.b[1]|0};p.prototype.g[65]=function(c){return r(c)+c.b[1]+s(c)|0};p.prototype.g[129]=function(c){return r(c)+
c.b[1]+v(c)|0};p.prototype.g[2]=function(c){return r(c)+c.b[2]|0};p.prototype.g[66]=function(c){return r(c)+c.b[2]+s(c)|0};p.prototype.g[130]=function(c){return r(c)+c.b[2]+v(c)|0};p.prototype.g[3]=function(c){return r(c)+c.b[3]|0};p.prototype.g[67]=function(c){return r(c)+c.b[3]+s(c)|0};p.prototype.g[131]=function(c){return r(c)+c.b[3]+v(c)|0};p.prototype.g[4]=function(c){return c.h[x(c)](c,!1)|0};p.prototype.g[68]=function(c){return c.h[x(c)](c,!1)+s(c)|0};p.prototype.g[132]=function(c){return c.h[x(c)](c,
!1)+v(c)|0};p.prototype.g[5]=function(c){return u(c)+c.b[5]|0};p.prototype.g[69]=function(c){return u(c)+c.b[5]+s(c)|0};p.prototype.g[133]=function(c){return u(c)+c.b[5]+v(c)|0};p.prototype.g[6]=function(c){return r(c)+c.b[6]|0};p.prototype.g[70]=function(c){return r(c)+c.b[6]+s(c)|0};p.prototype.g[134]=function(c){return r(c)+c.b[6]+v(c)|0};p.prototype.g[7]=function(c){return r(c)+c.b[7]|0};p.prototype.g[71]=function(c){return r(c)+c.b[7]+s(c)|0};p.prototype.g[135]=function(c){return r(c)+c.b[7]+
v(c)|0};p.prototype.l[6]=function(c){return r(c)+t(c)|0};p.prototype.g[5]=function(c){return r(c)+v(c)|0};p.prototype.g[4]=function(c){return c.h[x(c)](c,!1)|0};p.prototype.g[68]=function(c){return c.h[x(c)](c,!0)+s(c)|0};p.prototype.g[132]=function(c){return c.h[x(c)](c,!0)+v(c)|0};for(var a=0;8>a;a++)for(var b=0;3>b;b++)for(var e=a|b<<6,f=1;8>f;f++)p.prototype.g[e|f<<3]=p.prototype.g[e],p.prototype.l[e|f<<3]=p.prototype.l[e];p.prototype.h[0]=function(c){return c.b[0]+r(c)+c.b[0]|0};p.prototype.h[1]=
function(c){return c.b[0]+r(c)+c.b[1]|0};p.prototype.h[2]=function(c){return c.b[0]+r(c)+c.b[2]|0};p.prototype.h[3]=function(c){return c.b[0]+r(c)+c.b[3]|0};p.prototype.h[4]=function(c){return c.b[0]+u(c)+c.b[4]|0};p.prototype.h[5]=function(c,h){return c.b[0]+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[6]=function(c){return c.b[0]+r(c)+c.b[6]|0};p.prototype.h[7]=function(c){return c.b[0]+r(c)+c.b[7]|0};p.prototype.h[64]=function(c){return(c.b[0]<<1)+r(c)+c.b[0]|0};p.prototype.h[65]=function(c){return(c.b[0]<<
1)+r(c)+c.b[1]|0};p.prototype.h[66]=function(c){return(c.b[0]<<1)+r(c)+c.b[2]|0};p.prototype.h[67]=function(c){return(c.b[0]<<1)+r(c)+c.b[3]|0};p.prototype.h[68]=function(c){return(c.b[0]<<1)+u(c)+c.b[4]|0};p.prototype.h[69]=function(c,h){return(c.b[0]<<1)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[70]=function(c){return(c.b[0]<<1)+r(c)+c.b[6]|0};p.prototype.h[71]=function(c){return(c.b[0]<<1)+r(c)+c.b[7]|0};p.prototype.h[128]=function(c){return(c.b[0]<<2)+r(c)+c.b[0]|0};p.prototype.h[129]=function(c){return(c.b[0]<<
2)+r(c)+c.b[1]|0};p.prototype.h[130]=function(c){return(c.b[0]<<2)+r(c)+c.b[2]|0};p.prototype.h[131]=function(c){return(c.b[0]<<2)+r(c)+c.b[3]|0};p.prototype.h[132]=function(c){return(c.b[0]<<2)+u(c)+c.b[4]|0};p.prototype.h[133]=function(c,h){return(c.b[0]<<2)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[134]=function(c){return(c.b[0]<<2)+r(c)+c.b[6]|0};p.prototype.h[135]=function(c){return(c.b[0]<<2)+r(c)+c.b[7]|0};p.prototype.h[192]=function(c){return(c.b[0]<<3)+r(c)+c.b[0]|0};p.prototype.h[193]=
function(c){return(c.b[0]<<3)+r(c)+c.b[1]|0};p.prototype.h[194]=function(c){return(c.b[0]<<3)+r(c)+c.b[2]|0};p.prototype.h[195]=function(c){return(c.b[0]<<3)+r(c)+c.b[3]|0};p.prototype.h[196]=function(c){return(c.b[0]<<3)+u(c)+c.b[4]|0};p.prototype.h[197]=function(c,h){return(c.b[0]<<3)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[198]=function(c){return(c.b[0]<<3)+r(c)+c.b[6]|0};p.prototype.h[199]=function(c){return(c.b[0]<<3)+r(c)+c.b[7]|0};p.prototype.h[8]=function(c){return c.b[1]+r(c)+c.b[0]|0};
p.prototype.h[9]=function(c){return c.b[1]+r(c)+c.b[1]|0};p.prototype.h[10]=function(c){return c.b[1]+r(c)+c.b[2]|0};p.prototype.h[11]=function(c){return c.b[1]+r(c)+c.b[3]|0};p.prototype.h[12]=function(c){return c.b[1]+u(c)+c.b[4]|0};p.prototype.h[13]=function(c,h){return c.b[1]+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[14]=function(c){return c.b[1]+r(c)+c.b[6]|0};p.prototype.h[15]=function(c){return c.b[1]+r(c)+c.b[7]|0};p.prototype.h[72]=function(c){return(c.b[1]<<1)+r(c)+c.b[0]|0};p.prototype.h[73]=
function(c){return(c.b[1]<<1)+r(c)+c.b[1]|0};p.prototype.h[74]=function(c){return(c.b[1]<<1)+r(c)+c.b[2]|0};p.prototype.h[75]=function(c){return(c.b[1]<<1)+r(c)+c.b[3]|0};p.prototype.h[76]=function(c){return(c.b[1]<<1)+u(c)+c.b[4]|0};p.prototype.h[77]=function(c,h){return(c.b[1]<<1)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[78]=function(c){return(c.b[1]<<1)+r(c)+c.b[6]|0};p.prototype.h[79]=function(c){return(c.b[1]<<1)+r(c)+c.b[7]|0};p.prototype.h[136]=function(c){return(c.b[1]<<2)+r(c)+c.b[0]|0};
p.prototype.h[137]=function(c){return(c.b[1]<<2)+r(c)+c.b[1]|0};p.prototype.h[138]=function(c){return(c.b[1]<<2)+r(c)+c.b[2]|0};p.prototype.h[139]=function(c){return(c.b[1]<<2)+r(c)+c.b[3]|0};p.prototype.h[140]=function(c){return(c.b[1]<<2)+u(c)+c.b[4]|0};p.prototype.h[141]=function(c,h){return(c.b[1]<<2)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[142]=function(c){return(c.b[1]<<2)+r(c)+c.b[6]|0};p.prototype.h[143]=function(c){return(c.b[1]<<2)+r(c)+c.b[7]|0};p.prototype.h[200]=function(c){return(c.b[1]<<
3)+r(c)+c.b[0]|0};p.prototype.h[201]=function(c){return(c.b[1]<<3)+r(c)+c.b[1]|0};p.prototype.h[202]=function(c){return(c.b[1]<<3)+r(c)+c.b[2]|0};p.prototype.h[203]=function(c){return(c.b[1]<<3)+r(c)+c.b[3]|0};p.prototype.h[204]=function(c){return(c.b[1]<<3)+u(c)+c.b[4]|0};p.prototype.h[205]=function(c,h){return(c.b[1]<<3)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[206]=function(c){return(c.b[1]<<3)+r(c)+c.b[6]|0};p.prototype.h[207]=function(c){return(c.b[1]<<3)+r(c)+c.b[7]|0};p.prototype.h[16]=function(c){return c.b[2]+
r(c)+c.b[0]|0};p.prototype.h[17]=function(c){return c.b[2]+r(c)+c.b[1]|0};p.prototype.h[18]=function(c){return c.b[2]+r(c)+c.b[2]|0};p.prototype.h[19]=function(c){return c.b[2]+r(c)+c.b[3]|0};p.prototype.h[20]=function(c){return c.b[2]+u(c)+c.b[4]|0};p.prototype.h[21]=function(c,h){return c.b[2]+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[22]=function(c){return c.b[2]+r(c)+c.b[6]|0};p.prototype.h[23]=function(c){return c.b[2]+r(c)+c.b[7]|0};p.prototype.h[80]=function(c){return(c.b[2]<<1)+r(c)+c.b[0]|
0};p.prototype.h[81]=function(c){return(c.b[2]<<1)+r(c)+c.b[1]|0};p.prototype.h[82]=function(c){return(c.b[2]<<1)+r(c)+c.b[2]|0};p.prototype.h[83]=function(c){return(c.b[2]<<1)+r(c)+c.b[3]|0};p.prototype.h[84]=function(c){return(c.b[2]<<1)+u(c)+c.b[4]|0};p.prototype.h[85]=function(c,h){return(c.b[2]<<1)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[86]=function(c){return(c.b[2]<<1)+r(c)+c.b[6]|0};p.prototype.h[87]=function(c){return(c.b[2]<<1)+r(c)+c.b[7]|0};p.prototype.h[144]=function(c){return(c.b[2]<<
2)+r(c)+c.b[0]|0};p.prototype.h[145]=function(c){return(c.b[2]<<2)+r(c)+c.b[1]|0};p.prototype.h[146]=function(c){return(c.b[2]<<2)+r(c)+c.b[2]|0};p.prototype.h[147]=function(c){return(c.b[2]<<2)+r(c)+c.b[3]|0};p.prototype.h[148]=function(c){return(c.b[2]<<2)+u(c)+c.b[4]|0};p.prototype.h[149]=function(c,h){return(c.b[2]<<2)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[150]=function(c){return(c.b[2]<<2)+r(c)+c.b[6]|0};p.prototype.h[151]=function(c){return(c.b[2]<<2)+r(c)+c.b[7]|0};p.prototype.h[208]=
function(c){return(c.b[2]<<3)+r(c)+c.b[0]|0};p.prototype.h[209]=function(c){return(c.b[2]<<3)+r(c)+c.b[1]|0};p.prototype.h[210]=function(c){return(c.b[2]<<3)+r(c)+c.b[2]|0};p.prototype.h[211]=function(c){return(c.b[2]<<3)+r(c)+c.b[3]|0};p.prototype.h[212]=function(c){return(c.b[2]<<3)+u(c)+c.b[4]|0};p.prototype.h[213]=function(c,h){return(c.b[2]<<3)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[214]=function(c){return(c.b[2]<<3)+r(c)+c.b[6]|0};p.prototype.h[215]=function(c){return(c.b[2]<<3)+r(c)+c.b[7]|
0};p.prototype.h[24]=function(c){return c.b[3]+r(c)+c.b[0]|0};p.prototype.h[25]=function(c){return c.b[3]+r(c)+c.b[1]|0};p.prototype.h[26]=function(c){return c.b[3]+r(c)+c.b[2]|0};p.prototype.h[27]=function(c){return c.b[3]+r(c)+c.b[3]|0};p.prototype.h[28]=function(c){return c.b[3]+u(c)+c.b[4]|0};p.prototype.h[29]=function(c,h){return c.b[3]+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[30]=function(c){return c.b[3]+r(c)+c.b[6]|0};p.prototype.h[31]=function(c){return c.b[3]+r(c)+c.b[7]|0};p.prototype.h[88]=
function(c){return(c.b[3]<<1)+r(c)+c.b[0]|0};p.prototype.h[89]=function(c){return(c.b[3]<<1)+r(c)+c.b[1]|0};p.prototype.h[90]=function(c){return(c.b[3]<<1)+r(c)+c.b[2]|0};p.prototype.h[91]=function(c){return(c.b[3]<<1)+r(c)+c.b[3]|0};p.prototype.h[92]=function(c){return(c.b[3]<<1)+u(c)+c.b[4]|0};p.prototype.h[93]=function(c,h){return(c.b[3]<<1)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[94]=function(c){return(c.b[3]<<1)+r(c)+c.b[6]|0};p.prototype.h[95]=function(c){return(c.b[3]<<1)+r(c)+c.b[7]|0};
p.prototype.h[152]=function(c){return(c.b[3]<<2)+r(c)+c.b[0]|0};p.prototype.h[153]=function(c){return(c.b[3]<<2)+r(c)+c.b[1]|0};p.prototype.h[154]=function(c){return(c.b[3]<<2)+r(c)+c.b[2]|0};p.prototype.h[155]=function(c){return(c.b[3]<<2)+r(c)+c.b[3]|0};p.prototype.h[156]=function(c){return(c.b[3]<<2)+u(c)+c.b[4]|0};p.prototype.h[157]=function(c,h){return(c.b[3]<<2)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[158]=function(c){return(c.b[3]<<2)+r(c)+c.b[6]|0};p.prototype.h[159]=function(c){return(c.b[3]<<
2)+r(c)+c.b[7]|0};p.prototype.h[216]=function(c){return(c.b[3]<<3)+r(c)+c.b[0]|0};p.prototype.h[217]=function(c){return(c.b[3]<<3)+r(c)+c.b[1]|0};p.prototype.h[218]=function(c){return(c.b[3]<<3)+r(c)+c.b[2]|0};p.prototype.h[219]=function(c){return(c.b[3]<<3)+r(c)+c.b[3]|0};p.prototype.h[220]=function(c){return(c.b[3]<<3)+u(c)+c.b[4]|0};p.prototype.h[221]=function(c,h){return(c.b[3]<<3)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[222]=function(c){return(c.b[3]<<3)+r(c)+c.b[6]|0};p.prototype.h[223]=
function(c){return(c.b[3]<<3)+r(c)+c.b[7]|0};p.prototype.h[32]=function(c){return r(c)+c.b[0]|0};p.prototype.h[33]=function(c){return r(c)+c.b[1]|0};p.prototype.h[34]=function(c){return r(c)+c.b[2]|0};p.prototype.h[35]=function(c){return r(c)+c.b[3]|0};p.prototype.h[36]=function(c){return u(c)+c.b[4]|0};p.prototype.h[37]=function(c,h){return(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[38]=function(c){return r(c)+c.b[6]|0};p.prototype.h[39]=function(c){return r(c)+c.b[7]|0};p.prototype.h[96]=function(c){return r(c)+
c.b[0]|0};p.prototype.h[97]=function(c){return r(c)+c.b[1]|0};p.prototype.h[98]=function(c){return r(c)+c.b[2]|0};p.prototype.h[99]=function(c){return r(c)+c.b[3]|0};p.prototype.h[100]=function(c){return u(c)+c.b[4]|0};p.prototype.h[101]=function(c,h){return(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[102]=function(c){return r(c)+c.b[6]|0};p.prototype.h[103]=function(c){return r(c)+c.b[7]|0};p.prototype.h[160]=function(c){return r(c)+c.b[0]|0};p.prototype.h[161]=function(c){return r(c)+c.b[1]|0};p.prototype.h[162]=
function(c){return r(c)+c.b[2]|0};p.prototype.h[163]=function(c){return r(c)+c.b[3]|0};p.prototype.h[164]=function(c){return u(c)+c.b[4]|0};p.prototype.h[165]=function(c,h){return(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[166]=function(c){return r(c)+c.b[6]|0};p.prototype.h[167]=function(c){return r(c)+c.b[7]|0};p.prototype.h[224]=function(c){return r(c)+c.b[0]|0};p.prototype.h[225]=function(c){return r(c)+c.b[1]|0};p.prototype.h[226]=function(c){return r(c)+c.b[2]|0};p.prototype.h[227]=function(c){return r(c)+
c.b[3]|0};p.prototype.h[228]=function(c){return u(c)+c.b[4]|0};p.prototype.h[229]=function(c,h){return(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[230]=function(c){return r(c)+c.b[6]|0};p.prototype.h[231]=function(c){return r(c)+c.b[7]|0};p.prototype.h[40]=function(c){return c.b[5]+r(c)+c.b[0]|0};p.prototype.h[41]=function(c){return c.b[5]+r(c)+c.b[1]|0};p.prototype.h[42]=function(c){return c.b[5]+r(c)+c.b[2]|0};p.prototype.h[43]=function(c){return c.b[5]+r(c)+c.b[3]|0};p.prototype.h[44]=function(c){return c.b[5]+
u(c)+c.b[4]|0};p.prototype.h[45]=function(c,h){return c.b[5]+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[46]=function(c){return c.b[5]+r(c)+c.b[6]|0};p.prototype.h[47]=function(c){return c.b[5]+r(c)+c.b[7]|0};p.prototype.h[104]=function(c){return(c.b[5]<<1)+r(c)+c.b[0]|0};p.prototype.h[105]=function(c){return(c.b[5]<<1)+r(c)+c.b[1]|0};p.prototype.h[106]=function(c){return(c.b[5]<<1)+r(c)+c.b[2]|0};p.prototype.h[107]=function(c){return(c.b[5]<<1)+r(c)+c.b[3]|0};p.prototype.h[108]=function(c){return(c.b[5]<<
1)+u(c)+c.b[4]|0};p.prototype.h[109]=function(c,h){return(c.b[5]<<1)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[110]=function(c){return(c.b[5]<<1)+r(c)+c.b[6]|0};p.prototype.h[111]=function(c){return(c.b[5]<<1)+r(c)+c.b[7]|0};p.prototype.h[168]=function(c){return(c.b[5]<<2)+r(c)+c.b[0]|0};p.prototype.h[169]=function(c){return(c.b[5]<<2)+r(c)+c.b[1]|0};p.prototype.h[170]=function(c){return(c.b[5]<<2)+r(c)+c.b[2]|0};p.prototype.h[171]=function(c){return(c.b[5]<<2)+r(c)+c.b[3]|0};p.prototype.h[172]=
function(c){return(c.b[5]<<2)+u(c)+c.b[4]|0};p.prototype.h[173]=function(c,h){return(c.b[5]<<2)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[174]=function(c){return(c.b[5]<<2)+r(c)+c.b[6]|0};p.prototype.h[175]=function(c){return(c.b[5]<<2)+r(c)+c.b[7]|0};p.prototype.h[232]=function(c){return(c.b[5]<<3)+r(c)+c.b[0]|0};p.prototype.h[233]=function(c){return(c.b[5]<<3)+r(c)+c.b[1]|0};p.prototype.h[234]=function(c){return(c.b[5]<<3)+r(c)+c.b[2]|0};p.prototype.h[235]=function(c){return(c.b[5]<<3)+r(c)+c.b[3]|
0};p.prototype.h[236]=function(c){return(c.b[5]<<3)+u(c)+c.b[4]|0};p.prototype.h[237]=function(c,h){return(c.b[5]<<3)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[238]=function(c){return(c.b[5]<<3)+r(c)+c.b[6]|0};p.prototype.h[239]=function(c){return(c.b[5]<<3)+r(c)+c.b[7]|0};p.prototype.h[48]=function(c){return c.b[6]+r(c)+c.b[0]|0};p.prototype.h[49]=function(c){return c.b[6]+r(c)+c.b[1]|0};p.prototype.h[50]=function(c){return c.b[6]+r(c)+c.b[2]|0};p.prototype.h[51]=function(c){return c.b[6]+r(c)+
c.b[3]|0};p.prototype.h[52]=function(c){return c.b[6]+u(c)+c.b[4]|0};p.prototype.h[53]=function(c,h){return c.b[6]+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[54]=function(c){return c.b[6]+r(c)+c.b[6]|0};p.prototype.h[55]=function(c){return c.b[6]+r(c)+c.b[7]|0};p.prototype.h[112]=function(c){return(c.b[6]<<1)+r(c)+c.b[0]|0};p.prototype.h[113]=function(c){return(c.b[6]<<1)+r(c)+c.b[1]|0};p.prototype.h[114]=function(c){return(c.b[6]<<1)+r(c)+c.b[2]|0};p.prototype.h[115]=function(c){return(c.b[6]<<1)+
r(c)+c.b[3]|0};p.prototype.h[116]=function(c){return(c.b[6]<<1)+u(c)+c.b[4]|0};p.prototype.h[117]=function(c,h){return(c.b[6]<<1)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[118]=function(c){return(c.b[6]<<1)+r(c)+c.b[6]|0};p.prototype.h[119]=function(c){return(c.b[6]<<1)+r(c)+c.b[7]|0};p.prototype.h[176]=function(c){return(c.b[6]<<2)+r(c)+c.b[0]|0};p.prototype.h[177]=function(c){return(c.b[6]<<2)+r(c)+c.b[1]|0};p.prototype.h[178]=function(c){return(c.b[6]<<2)+r(c)+c.b[2]|0};p.prototype.h[179]=function(c){return(c.b[6]<<
2)+r(c)+c.b[3]|0};p.prototype.h[180]=function(c){return(c.b[6]<<2)+u(c)+c.b[4]|0};p.prototype.h[181]=function(c,h){return(c.b[6]<<2)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[182]=function(c){return(c.b[6]<<2)+r(c)+c.b[6]|0};p.prototype.h[183]=function(c){return(c.b[6]<<2)+r(c)+c.b[7]|0};p.prototype.h[240]=function(c){return(c.b[6]<<3)+r(c)+c.b[0]|0};p.prototype.h[241]=function(c){return(c.b[6]<<3)+r(c)+c.b[1]|0};p.prototype.h[242]=function(c){return(c.b[6]<<3)+r(c)+c.b[2]|0};p.prototype.h[243]=
function(c){return(c.b[6]<<3)+r(c)+c.b[3]|0};p.prototype.h[244]=function(c){return(c.b[6]<<3)+u(c)+c.b[4]|0};p.prototype.h[245]=function(c,h){return(c.b[6]<<3)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[246]=function(c){return(c.b[6]<<3)+r(c)+c.b[6]|0};p.prototype.h[247]=function(c){return(c.b[6]<<3)+r(c)+c.b[7]|0};p.prototype.h[56]=function(c){return c.b[7]+r(c)+c.b[0]|0};p.prototype.h[57]=function(c){return c.b[7]+r(c)+c.b[1]|0};p.prototype.h[58]=function(c){return c.b[7]+r(c)+c.b[2]|0};p.prototype.h[59]=
function(c){return c.b[7]+r(c)+c.b[3]|0};p.prototype.h[60]=function(c){return c.b[7]+u(c)+c.b[4]|0};p.prototype.h[61]=function(c,h){return c.b[7]+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[62]=function(c){return c.b[7]+r(c)+c.b[6]|0};p.prototype.h[63]=function(c){return c.b[7]+r(c)+c.b[7]|0};p.prototype.h[120]=function(c){return(c.b[7]<<1)+r(c)+c.b[0]|0};p.prototype.h[121]=function(c){return(c.b[7]<<1)+r(c)+c.b[1]|0};p.prototype.h[122]=function(c){return(c.b[7]<<1)+r(c)+c.b[2]|0};p.prototype.h[123]=
function(c){return(c.b[7]<<1)+r(c)+c.b[3]|0};p.prototype.h[124]=function(c){return(c.b[7]<<1)+u(c)+c.b[4]|0};p.prototype.h[125]=function(c,h){return(c.b[7]<<1)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[126]=function(c){return(c.b[7]<<1)+r(c)+c.b[6]|0};p.prototype.h[127]=function(c){return(c.b[7]<<1)+r(c)+c.b[7]|0};p.prototype.h[184]=function(c){return(c.b[7]<<2)+r(c)+c.b[0]|0};p.prototype.h[185]=function(c){return(c.b[7]<<2)+r(c)+c.b[1]|0};p.prototype.h[186]=function(c){return(c.b[7]<<2)+r(c)+c.b[2]|
0};p.prototype.h[187]=function(c){return(c.b[7]<<2)+r(c)+c.b[3]|0};p.prototype.h[188]=function(c){return(c.b[7]<<2)+u(c)+c.b[4]|0};p.prototype.h[189]=function(c,h){return(c.b[7]<<2)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[190]=function(c){return(c.b[7]<<2)+r(c)+c.b[6]|0};p.prototype.h[191]=function(c){return(c.b[7]<<2)+r(c)+c.b[7]|0};p.prototype.h[248]=function(c){return(c.b[7]<<3)+r(c)+c.b[0]|0};p.prototype.h[249]=function(c){return(c.b[7]<<3)+r(c)+c.b[1]|0};p.prototype.h[250]=function(c){return(c.b[7]<<
3)+r(c)+c.b[2]|0};p.prototype.h[251]=function(c){return(c.b[7]<<3)+r(c)+c.b[3]|0};p.prototype.h[252]=function(c){return(c.b[7]<<3)+u(c)+c.b[4]|0};p.prototype.h[253]=function(c,h){return(c.b[7]<<3)+(h?u(c)+c.b[5]:r(c)+v(c))|0};p.prototype.h[254]=function(c){return(c.b[7]<<3)+r(c)+c.b[6]|0};p.prototype.h[255]=function(c){return(c.b[7]<<3)+r(c)+c.b[7]|0};p.prototype.i=function(c){return(this.hb?this.g:this.l)[c](this)}})();"use strict";
p.prototype.add=function(a,b,e){this.Ta=a;this.La=b;this.n=this.D=a+b|0;this.aa=e;this.o=2261;return this.D};function Ia(a,b,e,f){var c=a.Da();a.Ta=b;a.La=e;a.n=a.D=(b+e|0)+c|0;a.aa=f;a.o=2261;return a.D}p.prototype.sub=function(a,b,e){this.n=a;this.La=b;this.Ta=this.D=a-b|0;this.aa=e;this.o=2261;return this.D};function Ja(a,b,e,f){var c=a.Da();a.n=b;a.La=e;a.Ta=a.D=b-e-c|0;a.aa=f;a.o=2261;return a.D}function Ka(a,b,e){a.f=a.f&-2|a.Da();a.Ta=b;a.La=1;a.n=a.D=b+1|0;a.aa=e;a.o=2260;return a.D}
function La(a,b,e){a.f=a.f&-2|a.Da();a.n=b;a.La=1;a.Ta=a.D=b-1|0;a.aa=e;a.o=2260;return a.D}function Ma(a,b,e){a.Ta=a.D=-b|0;a.o=2261;a.n=0;a.La=b;a.aa=e;return a.D}function Na(a,b,e){b=b*e;a.f=32767<b||-32768>b?a.f|2049:a.f&-2050;a.o=0;return b}
function Pa(a,b,e){var f=!1;0>b&&(f=!0,b=-b|0);0>e&&(f=!f,e=-e|0);var c=b&65535;b=b>>>16;var h=e&65535;e=e>>>16;var k=c*h,h=(k>>>16)+(b*h|0)|0,m=h>>>16,h=(h&65535)+(c*e|0)|0,k=h<<16|k&65535,m=((h>>>16)+(b*e|0)|0)+m|0;f&&(k=-k|0,m=~m+!k|0);a.f=m===k>>31?a.f&-2050:a.f|2049;a.o=0;return k}function Qa(a,b,e,f){a.D=b&e;a.aa=f;a.f&=-2066;a.o=196;return a.D}function Ra(a,b,e,f){a.D=b|e;a.aa=f;a.f&=-2066;a.o=196;return a.D}function Sa(a,b,e,f){a.D=b^e;a.aa=f;a.f&=-2066;a.o=196;return a.D}
function Ta(a,b,e){if(!e)return b;e&=7;b=b<<e|b>>8-e;a.o&=-2050;a.f=a.f&-2050|b&1|(b<<11^b<<4)&2048;return b}function Ua(a,b,e){if(!e)return b;e&=15;b=b<<e|b>>16-e;a.o&=-2050;a.f=a.f&-2050|b&1|(b<<11^b>>4)&2048;return b}function Xa(a,b,e){if(!e)return b;b=b<<e|b>>>32-e;a.o&=-2050;a.f=a.f&-2050|b&1|(b<<11^b>>20)&2048;return b}function Ya(a,b,e){e%=9;if(!e)return b;b=b<<e|a.Da()<<e-1|b>>9-e;a.o&=-2050;a.f=a.f&-2050|b>>8&1|(b<<3^b<<4)&2048;return b}
function Za(a,b,e){e%=17;if(!e)return b;b=b<<e|a.Da()<<e-1|b>>17-e;a.o&=-2050;a.f=a.f&-2050|b>>16&1|(b>>5^b>>4)&2048;return b}function $a(a,b,e){if(!e)return b;var f=b<<e|a.Da()<<e-1;1<e&&(f|=b>>>33-e);a.o&=-2050;a.f=a.f&-2050|b>>>32-e&1;a.f|=(a.f<<11^f>>20)&2048;return f}function cb(a,b,e){if(!e)return b;e&=7;b=b>>e|b<<8-e;a.o&=-2050;a.f=a.f&-2050|b>>7&1|(b<<4^b<<5)&2048;return b}function db(a,b,e){if(!e)return b;e&=15;b=b>>e|b<<16-e;a.o&=-2050;a.f=a.f&-2050|b>>15&1|(b>>4^b>>3)&2048;return b}
function eb(a,b,e){if(!e)return b;b=b>>>e|b<<32-e;a.o&=-2050;a.f=a.f&-2050|b>>31&1|(b>>20^b>>19)&2048;return b}function gb(a,b,e){e%=9;if(!e)return b;b=b>>e|a.Da()<<8-e|b<<9-e;a.o&=-2050;a.f=a.f&-2050|b>>8&1|(b<<4^b<<5)&2048;return b}function hb(a,b,e){e%=17;if(!e)return b;b=b>>e|a.Da()<<16-e|b<<17-e;a.o&=-2050;a.f=a.f&-2050|b>>16&1|(b>>4^b>>3)&2048;return b}function ib(a,b,e){if(!e)return b;var f=b>>>e|a.Da()<<32-e;1<e&&(f|=b<<33-e);a.o&=-2050;a.f=a.f&-2050|b>>e-1&1|(f>>20^f>>19)&2048;return f}
function jb(a,b,e){if(0===e)return b;a.D=b<<e;a.aa=7;a.o=212;a.f=a.f&-2050|a.D>>8&1|(a.D<<3^a.D<<4)&2048;return a.D}function kb(a,b,e){if(0===e)return b;a.D=b<<e;a.aa=15;a.o=212;a.f=a.f&-2050|a.D>>16&1|(a.D>>5^a.D>>4)&2048;return a.D}function lb(a,b,e){if(0===e)return b;a.D=b<<e;a.aa=31;a.o=212;a.f=a.f&-2050|b>>>32-e&1;a.f|=(a.f&1^a.D>>31&1)<<11&2048;return a.D}function mb(a,b,e){if(0===e)return b;a.D=b>>e;a.aa=7;a.o=212;a.f=a.f&-2050|b>>e-1&1|(b>>7&1)<<11&2048;return a.D}
function nb(a,b,e){if(0===e)return b;a.D=b>>e;a.aa=15;a.o=212;a.f=a.f&-2050|b>>e-1&1|b>>4&2048;return a.D}function ob(a,b,e){if(0===e)return b;a.D=b>>>e;a.aa=31;a.o=212;a.f=a.f&-2050|b>>>e-1&1|b>>20&2048;return a.D}function pb(a,b,e){if(0===e)return b;8>e?(a.D=b<<24>>e+24,a.f=a.f&-2050|b>>e-1&1):(a.D=b<<24>>31,a.f=a.f&-2050|a.D&1);a.aa=7;a.o=212;return a.D}
function qb(a,b,e){if(0===e)return b;16>e?(a.D=b<<16>>e+16,a.f=a.f&-2050|b>>e-1&1):(a.D=b<<16>>31,a.f=a.f&-2050|a.D&1);a.aa=15;a.o=212;return a.D}function rb(a,b,e){if(0===e)return b;a.D=b>>e;a.aa=31;a.o=212;a.f=a.f&-2050|b>>>e-1&1;return a.D}function ub(a,b,e,f){if(0===f)return b;16>=f?(a.D=b>>f|e<<16-f,a.f=a.f&-2|b>>f-1&1):(a.D=b<<32-f|e>>f-16,a.f=a.f&-2|e>>f-17&1);a.aa=15;a.o=212;a.f=a.f&-2049|(a.D^b)>>4&2048;return a.D}
function vb(a,b,e,f){if(0===f)return b;a.D=b>>>f|e<<32-f;a.aa=31;a.o=212;a.f=a.f&-2|b>>>f-1&1;a.f=a.f&-2049|(a.D^b)>>20&2048;return a.D}function wb(a,b,e,f){if(0===f)return b;16>=f?(a.D=b<<f|e>>>16-f,a.f=a.f&-2|b>>>16-f&1):(a.D=b>>32-f|e<<f-16,a.f=a.f&-2|e>>>32-f&1);a.aa=15;a.o=212;a.f=a.f&-2049|(a.f&1^a.D>>15&1)<<11;return a.D}function xb(a,b,e,f){if(0===f)return b;a.D=b<<f|e>>>32-f;a.aa=31;a.o=212;a.f=a.f&-2|b>>>32-f&1;a.f=a.f&-2049|(a.f&1^a.D>>31&1)<<11;return a.D}
function yb(a,b,e){a.f=a.f&-2|b>>e&1;a.o&=-2}function zb(a,b,e){a.f=a.f&-2|b>>e&1;a.o&=-2;return b^1<<e}function Ab(a,b,e){a.f=a.f&-2|b>>e&1;a.o&=-2;return b|1<<e}function Bb(a,b,e){a.f=a.f&-2|b>>e&1;a.o&=-2;return b&~(1<<e)}function Cb(a,b,e){b=y(a,b+(e>>3)|0);a.f=a.f&-2|b>>(e&7)&1;a.o&=-2}function Db(a,b,e){b=A(a,b+(e>>3)|0);var f=a.memory.M(b);e&=7;a.f=a.f&-2|f>>e&1;a.o&=-2;a.memory.S(b,f^1<<e)}
function Eb(a,b,e){b=A(a,b+(e>>3)|0);var f=a.memory.M(b);e&=7;a.f=a.f&-2|f>>e&1;a.o&=-2;a.memory.S(b,f&~(1<<e))}function Fb(a,b,e){b=A(a,b+(e>>3)|0);var f=a.memory.M(b);e&=7;a.f=a.f&-2|f>>e&1;a.o&=-2;a.memory.S(b,f|1<<e)}function Gb(a,b){a.o=0;a.f&=-2262;if(b)return b=b-(b>>1&1431655765),b=(b&858993459)+(b>>2&858993459),16843009*(b+(b>>4)&252645135)>>24;a.f|=64;return 0}"use strict";function Hb(a,b){return 0>a?(b&4095)>>(-a>>1):(~b&4095)>>a}function Ib(a,b,e){return Math.min(Hb(a,b),Hb(a,e))}
function Jb(a){var b=a.e[4];Lb(a,b,1);var e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-1:1;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096,q=A(a,e);a.v&&(m=Hb(f,e));do a.memory.S(q,Mb(a.r,b)),q+=f,h=0!==--c;while(h&&m--);a.j[a.q]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c;h&&Jb(a)}}else Nb(a,e,Mb(a.r,b)),a.j[a.q]+=f}
function Ob(a){var b=a.e[4];Lb(a,b,2);var e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-2:2;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096;if(e&1){do Pb(a,e,Qb(a.r,b)),e+=f,a.j[a.q]+=f,h=0!==--a.j[a.G];while(h&&m--)}else{var q=0>f?-1:1,w=A(a,e)>>1;a.v&&(m=Hb(f,e));do Rb(a.memory,w,Qb(a.r,b)),w+=q,h=0!==--c;while(h&&m--);a.j[a.q]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c}h&&Ob(a)}}else Pb(a,e,Qb(a.r,b)),a.j[a.q]+=f}
function Sb(a){var b=a.e[4];Lb(a,b,4);var e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-4:4;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096;if(e&3){do D(a,e,Tb(a.r,b)),e+=f,a.j[a.q]+=f,h=0!==--a.j[a.G];while(h&&m--)}else{var q=0>f?-1:1,w=A(a,e)>>>2;a.v&&(m=Hb(f,e));do Ub(a.memory,w,Tb(a.r,b)),w+=q,h=0!==--c;while(h&&m--);a.j[a.q]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c}h&&Sb(a)}}else D(a,e,Tb(a.r,b)),a.j[a.q]+=f}
function Vb(a){var b=a.e[4];Lb(a,b,1);var e=Wb(a,3)+a.j[a.A]|0,f=a.f&1024?-1:1;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096,q=Xb(a,e);a.v&&(m=Hb(f,e));do Yb(a.r,b,a.memory.M(q)),q+=f,h=0!==--c;while(h&&m--);a.j[a.A]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c;h&&Vb(a)}}else Yb(a.r,b,y(a,e)),a.j[a.A]+=f}
function Zb(a){var b=a.e[4];Lb(a,b,2);var e=Wb(a,3)+a.j[a.A]|0,f=a.f&1024?-2:2;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096;if(e&1){do $b(a.r,b,F(a,e)),e+=f,a.j[a.A]+=f,h=0!==--a.j[a.G];while(h&&m--)}else{var q=0>f?-1:1,w=Xb(a,e)>>1;a.v&&(m=Hb(f,e));do $b(a.r,b,ac(a.memory,w)),w+=q,h=0!==--c;while(h&&m--);a.j[a.A]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c}h&&Zb(a)}}else $b(a.r,b,F(a,e)),a.j[a.A]+=f}
function bc(a){var b=a.e[4];Lb(a,b,4);var e=Wb(a,3)+a.j[a.A]|0,f=a.f&1024?-4:4;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096;if(e&3){do cc(a.r,b,H(a,e)),e+=f,a.j[a.A]+=f,h=0!==--a.j[a.G];while(h&&m--)}else{var q=0>f?-1:1,w=Xb(a,e)>>>2;a.v&&(m=Hb(f,e));do cc(a.r,b,dc(a.memory,w)),w+=q,h=0!==--c;while(h&&m--);a.j[a.A]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c}h&&bc(a)}}else cc(a.r,b,H(a,e)),a.j[a.A]+=f}"use strict";var I=[],K=[],L=[],M=[];p.prototype.xf=I;p.prototype.yf=K;p.prototype.jh=L;
p.prototype.kh=M;I[0]=K[0]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=a.add(b,a.k[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};I[1]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=a.add(b,a.e[a.a>>2&14],15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
K[1]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=a.add(b,a.b[a.a>>3&7],31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};I[2]=K[2]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=a.add(a.k[a.a>>1&12|a.a>>5&1],b,7)};I[3]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=a.add(a.e[a.a>>2&14],b,15)};
K[3]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=a.add(a.b[a.a>>3&7],b,31)};I[4]=K[4]=function(a){a.k[0]=a.add(a.k[0],x(a),7)};I[5]=function(a){a.e[0]=a.add(a.e[0],t(a),15)};K[5]=function(a){a.b[0]=a.add(a.b[0],v(a),31)};I[6]=function(a){N(a,a.I[0])};K[6]=function(a){P(a,a.I[0])};I[7]=function(a){Q(a,0,F(a,jc(a,0)));a.w[a.B]+=2};K[7]=function(a){Q(a,0,F(a,jc(a,0)));a.w[a.B]+=4};
I[8]=K[8]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=Ra(a,b,a.k[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};I[9]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=Ra(a,b,a.e[a.a>>2&14],15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
K[9]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=Ra(a,b,a.b[a.a>>3&7],31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};I[10]=K[10]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=Ra(a,a.k[a.a>>1&12|a.a>>5&1],b,7)};I[11]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=Ra(a,a.e[a.a>>2&14],b,15)};
K[11]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Ra(a,a.b[a.a>>3&7],b,31)};I[12]=K[12]=function(a){a.k[0]=Ra(a,a.k[0],x(a),7)};I[13]=function(a){a.e[0]=Ra(a,a.e[0],t(a),15)};K[13]=function(a){a.b[0]=Ra(a,a.b[0],v(a),31)};I[14]=function(a){N(a,a.I[1])};K[14]=function(a){P(a,a.I[1])};I[15]=function(a){a.jh[x(a)](a)};K[15]=function(a){a.kh[x(a)](a)};
I[16]=K[16]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=Ia(a,b,a.k[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};I[17]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=Ia(a,b,a.e[a.a>>2&14],15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
K[17]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=Ia(a,b,a.b[a.a>>3&7],31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};I[18]=K[18]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=Ia(a,a.k[a.a>>1&12|a.a>>5&1],b,7)};I[19]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=Ia(a,a.e[a.a>>2&14],b,15)};
K[19]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Ia(a,a.b[a.a>>3&7],b,31)};I[20]=K[20]=function(a){a.k[0]=Ia(a,a.k[0],x(a),7)};I[21]=function(a){a.e[0]=Ia(a,a.e[0],t(a),15)};K[21]=function(a){a.b[0]=Ia(a,a.b[0],v(a),31)};I[22]=function(a){N(a,a.I[2])};K[22]=function(a){P(a,a.I[2])};I[23]=function(a){Q(a,2,F(a,jc(a,0)));a.w[a.B]+=2;kc(a);lc(a)};K[23]=function(a){Q(a,2,F(a,jc(a,0)));a.w[a.B]+=4;kc(a);lc(a)};
I[24]=K[24]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=Ja(a,b,a.k[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};I[25]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=Ja(a,b,a.e[a.a>>2&14],15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
K[25]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=Ja(a,b,a.b[a.a>>3&7],31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};I[26]=K[26]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=Ja(a,a.k[a.a>>1&12|a.a>>5&1],b,7)};I[27]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=Ja(a,a.e[a.a>>2&14],b,15)};
K[27]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Ja(a,a.b[a.a>>3&7],b,31)};I[28]=K[28]=function(a){a.k[0]=Ja(a,a.k[0],x(a),7)};I[29]=function(a){a.e[0]=Ja(a,a.e[0],t(a),15)};K[29]=function(a){a.b[0]=Ja(a,a.b[0],v(a),31)};I[30]=function(a){N(a,a.I[3])};K[30]=function(a){P(a,a.I[3])};I[31]=function(a){Q(a,3,F(a,jc(a,0)));a.w[a.B]+=2};K[31]=function(a){Q(a,3,F(a,jc(a,0)));a.w[a.B]+=4};
I[32]=K[32]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=Qa(a,b,a.k[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};I[33]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=Qa(a,b,a.e[a.a>>2&14],15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
K[33]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=Qa(a,b,a.b[a.a>>3&7],31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};I[34]=K[34]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=Qa(a,a.k[a.a>>1&12|a.a>>5&1],b,7)};I[35]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=Qa(a,a.e[a.a>>2&14],b,15)};
K[35]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Qa(a,a.b[a.a>>3&7],b,31)};I[36]=K[36]=function(a){a.k[0]=Qa(a,a.k[0],x(a),7)};I[37]=function(a){a.e[0]=Qa(a,a.e[0],t(a),15)};K[37]=function(a){a.b[0]=Qa(a,a.b[0],v(a),31)};I[38]=K[38]=function(a){a.oa=0;mc(a);a.oa=-1};I[39]=K[39]=function(a){var b=a.k[0],e=a.Da(),f=nc(a);a.f&=-18;if(9<(b&15)||f)a.k[0]+=6,a.f|=16;if(153<b||e)a.k[0]+=96,a.f|=1;a.D=a.k[0];a.aa=7;a.Ta=a.La=0;a.o=196};
I[40]=K[40]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=a.sub(b,a.k[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};I[41]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=a.sub(b,a.e[a.a>>2&14],15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
K[41]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=a.sub(b,a.b[a.a>>3&7],31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};I[42]=K[42]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=a.sub(a.k[a.a>>1&12|a.a>>5&1],b,7)};I[43]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=a.sub(a.e[a.a>>2&14],b,15)};
K[43]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=a.sub(a.b[a.a>>3&7],b,31)};I[44]=K[44]=function(a){a.k[0]=a.sub(a.k[0],x(a),7)};I[45]=function(a){a.e[0]=a.sub(a.e[0],t(a),15)};K[45]=function(a){a.b[0]=a.sub(a.b[0],v(a),31)};I[46]=K[46]=function(a){a.oa=1;mc(a);a.oa=-1};I[47]=K[47]=function(a){var b=a.k[0],e=a.Da();a.f&=-2;9<(b&15)||nc(a)?(a.k[0]-=6,a.f|=16,a.f=a.f&-2|e|a.k[0]>>7):a.f&=-17;if(153<b||e)a.k[0]-=96,a.f|=1;a.D=a.k[0];a.aa=7;a.Ta=a.La=0;a.o=196};
I[48]=K[48]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=Sa(a,b,a.k[a.a>>1&12|a.a>>5&1],7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};I[49]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=Sa(a,b,a.e[a.a>>2&14],15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
K[49]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=Sa(a,b,a.b[a.a>>3&7],31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};I[50]=K[50]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=Sa(a,a.k[a.a>>1&12|a.a>>5&1],b,7)};I[51]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=Sa(a,a.e[a.a>>2&14],b,15)};
K[51]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Sa(a,a.b[a.a>>3&7],b,31)};I[52]=K[52]=function(a){a.k[0]=Sa(a,a.k[0],x(a),7)};I[53]=function(a){a.e[0]=Sa(a,a.e[0],t(a),15)};K[53]=function(a){a.b[0]=Sa(a,a.b[0],v(a),31)};I[54]=K[54]=function(a){a.oa=2;mc(a);a.oa=-1};I[55]=K[55]=function(a){9<(a.k[0]&15)||nc(a)?(a.e[0]+=6,a.k[1]+=1,a.f|=17):a.f&=-18;a.k[0]&=15;a.o&=-18};
I[56]=K[56]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.sub(b,a.k[a.a>>1&12|a.a>>5&1],7)};I[57]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.sub(b,a.e[a.a>>2&14],15)};K[57]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.sub(b,a.b[a.a>>3&7],31)};I[58]=K[58]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.sub(a.k[a.a>>1&12|a.a>>5&1],b,7)};
I[59]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.sub(a.e[a.a>>2&14],b,15)};K[59]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.sub(a.b[a.a>>3&7],b,31)};I[60]=K[60]=function(a){a.sub(a.k[0],x(a),7)};I[61]=function(a){a.sub(a.e[0],t(a),15)};K[61]=function(a){a.sub(a.b[0],v(a),31)};I[62]=K[62]=function(a){a.oa=3;mc(a);a.oa=-1};I[63]=K[63]=function(a){9<(a.k[0]&15)||nc(a)?(a.e[0]-=6,--a.k[1],a.f|=17):a.f&=-18;a.k[0]&=15;a.o&=-18};
I[64]=function(a){a.e[0]=Ka(a,a.e[0],15)};K[64]=function(a){a.b[0]=Ka(a,a.b[0],31)};I[65]=function(a){a.e[2]=Ka(a,a.e[2],15)};K[65]=function(a){a.b[1]=Ka(a,a.b[1],31)};I[66]=function(a){a.e[4]=Ka(a,a.e[4],15)};K[66]=function(a){a.b[2]=Ka(a,a.b[2],31)};I[67]=function(a){a.e[6]=Ka(a,a.e[6],15)};K[67]=function(a){a.b[3]=Ka(a,a.b[3],31)};I[68]=function(a){a.e[8]=Ka(a,a.e[8],15)};K[68]=function(a){a.b[4]=Ka(a,a.b[4],31)};I[69]=function(a){a.e[10]=Ka(a,a.e[10],15)};
K[69]=function(a){a.b[5]=Ka(a,a.b[5],31)};I[70]=function(a){a.e[12]=Ka(a,a.e[12],15)};K[70]=function(a){a.b[6]=Ka(a,a.b[6],31)};I[71]=function(a){a.e[14]=Ka(a,a.e[14],15)};K[71]=function(a){a.b[7]=Ka(a,a.b[7],31)};I[72]=function(a){a.e[0]=La(a,a.e[0],15)};K[72]=function(a){a.b[0]=La(a,a.b[0],31)};I[73]=function(a){a.e[2]=La(a,a.e[2],15)};K[73]=function(a){a.b[1]=La(a,a.b[1],31)};I[74]=function(a){a.e[4]=La(a,a.e[4],15)};K[74]=function(a){a.b[2]=La(a,a.b[2],31)};
I[75]=function(a){a.e[6]=La(a,a.e[6],15)};K[75]=function(a){a.b[3]=La(a,a.b[3],31)};I[76]=function(a){a.e[8]=La(a,a.e[8],15)};K[76]=function(a){a.b[4]=La(a,a.b[4],31)};I[77]=function(a){a.e[10]=La(a,a.e[10],15)};K[77]=function(a){a.b[5]=La(a,a.b[5],31)};I[78]=function(a){a.e[12]=La(a,a.e[12],15)};K[78]=function(a){a.b[6]=La(a,a.b[6],31)};I[79]=function(a){a.e[14]=La(a,a.e[14],15)};K[79]=function(a){a.b[7]=La(a,a.b[7],31)};I[80]=function(a){N(a,a.e[0])};K[80]=function(a){P(a,a.b[0])};
I[81]=function(a){N(a,a.e[2])};K[81]=function(a){P(a,a.b[1])};I[82]=function(a){N(a,a.e[4])};K[82]=function(a){P(a,a.b[2])};I[83]=function(a){N(a,a.e[6])};K[83]=function(a){P(a,a.b[3])};I[84]=function(a){N(a,a.e[8])};K[84]=function(a){P(a,a.b[4])};I[85]=function(a){N(a,a.e[10])};K[85]=function(a){P(a,a.b[5])};I[86]=function(a){N(a,a.e[12])};K[86]=function(a){P(a,a.b[6])};I[87]=function(a){N(a,a.e[14])};K[87]=function(a){P(a,a.b[7])};I[88]=function(a){a.e[0]=oc(a)};K[88]=function(a){a.b[0]=R(a)};
I[89]=function(a){a.e[2]=oc(a)};K[89]=function(a){a.b[1]=R(a)};I[90]=function(a){a.e[4]=oc(a)};K[90]=function(a){a.b[2]=R(a)};I[91]=function(a){a.e[6]=oc(a)};K[91]=function(a){a.b[3]=R(a)};I[92]=function(a){a.e[8]=oc(a)};K[92]=function(a){a.b[4]=R(a)};I[93]=function(a){a.e[10]=oc(a)};K[93]=function(a){a.b[5]=R(a)};I[94]=function(a){a.e[12]=oc(a)};K[94]=function(a){a.b[6]=R(a)};I[95]=function(a){a.e[14]=oc(a)};K[95]=function(a){a.b[7]=R(a)};
I[96]=function(a){var b=a.e[8];A(a,a.u[2]+a.w[a.B]-15|0);N(a,a.e[0]);N(a,a.e[2]);N(a,a.e[4]);N(a,a.e[6]);N(a,b);N(a,a.e[10]);N(a,a.e[12]);N(a,a.e[14])};K[96]=function(a){var b=a.b[4];A(a,a.u[2]+a.w[a.B]-31|0);P(a,a.b[0]);P(a,a.b[1]);P(a,a.b[2]);P(a,a.b[3]);P(a,b);P(a,a.b[5]);P(a,a.b[6]);P(a,a.b[7])};I[97]=function(a){Xb(a,a.u[2]+a.w[a.B]+15|0);a.e[14]=oc(a);a.e[12]=oc(a);a.e[10]=oc(a);a.w[a.B]+=2;a.e[6]=oc(a);a.e[4]=oc(a);a.e[2]=oc(a);a.e[0]=oc(a)};
K[97]=function(a){Xb(a,a.u[2]+a.w[a.B]+31|0);a.b[7]=R(a);a.b[6]=R(a);a.b[5]=R(a);a.w[a.B]+=4;a.b[3]=R(a);a.b[2]=R(a);a.b[1]=R(a);a.b[0]=R(a)};I[98]=K[98]=function(){};I[99]=K[99]=function(a){a.a=x(a);if(a.qa&&!pc(a)){var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];var c=a.a>>2&14;a.o&=-65;(b&3)<(a.e[c]&3)?(a.f|=64,b=b&-4|a.e[c]&3):a.f&=-65;192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b}else S(a)};
I[100]=K[100]=function(a){a.oa=4;mc(a);a.oa=-1};I[101]=K[101]=function(a){a.oa=5;mc(a);a.oa=-1};I[102]=function(a){a.Ma=!0;a.table=a.yf;mc(a);a.Ma=a.za;Ea(a)};K[102]=function(a){a.Ma=!1;a.table=a.xf;mc(a);a.Ma=a.za;Ea(a)};I[103]=K[103]=function(a){a.hb=!a.za;Da(a);mc(a);a.hb=a.za;Da(a)};I[104]=function(a){N(a,t(a))};K[104]=function(a){P(a,v(a))};I[105]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a))<<16>>16:a.ta[a.a<<1&14];a.e[a.a>>2&14]=Na(a,t(a)<<16>>16,b)};
K[105]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Pa(a,v(a),b)};I[106]=function(a){N(a,s(a))};K[106]=function(a){P(a,s(a))};I[107]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a))<<16>>16:a.ta[a.a<<1&14];a.e[a.a>>2&14]=Na(a,s(a),b)};K[107]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Pa(a,s(a),b)};I[108]=K[108]=function(a){Jb(a)};I[109]=function(a){Ob(a)};K[109]=function(a){Sb(a)};I[110]=K[110]=function(a){Vb(a)};I[111]=function(a){Zb(a)};
K[111]=function(a){bc(a)};I[112]=K[112]=function(a){var b=s(a);a.pb()&&(a.m=a.m+b|0)};I[113]=K[113]=function(a){var b=s(a);a.pb()||(a.m=a.m+b|0)};I[114]=K[114]=function(a){var b=s(a);a.$a()&&(a.m=a.m+b|0)};I[115]=K[115]=function(a){var b=s(a);a.$a()||(a.m=a.m+b|0)};I[116]=K[116]=function(a){var b=s(a);a.bb()&&(a.m=a.m+b|0)};I[117]=K[117]=function(a){var b=s(a);a.bb()||(a.m=a.m+b|0)};I[118]=K[118]=function(a){var b=s(a);qc(a)&&(a.m=a.m+b|0)};I[119]=K[119]=function(a){var b=s(a);qc(a)||(a.m=a.m+b|0)};
I[120]=K[120]=function(a){var b=s(a);a.qb()&&(a.m=a.m+b|0)};I[121]=K[121]=function(a){var b=s(a);a.qb()||(a.m=a.m+b|0)};I[122]=K[122]=function(a){var b=s(a);a.ab()&&(a.m=a.m+b|0)};I[123]=K[123]=function(a){var b=s(a);a.ab()||(a.m=a.m+b|0)};I[124]=K[124]=function(a){var b=s(a);rc(a)&&(a.m=a.m+b|0)};I[125]=K[125]=function(a){var b=s(a);rc(a)||(a.m=a.m+b|0)};I[126]=K[126]=function(a){var b=s(a);sc(a)&&(a.m=a.m+b|0)};I[127]=K[127]=function(a){var b=s(a);sc(a)||(a.m=a.m+b|0)};
I[128]=K[128]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.sub(b,x(a),7)}else{var e,f,c;192>a.a?(f=A(a,a.i(a.a)),b=a.memory.M(f)):b=a.k[a.a<<2&12|a.a>>2&1];c=0;e=x(a);switch(a.a>>3&7){case 0:c=a.add(b,e,7);break;case 1:c=Ra(a,b,e,7);break;case 2:c=Ia(a,b,e,7);break;case 3:c=Ja(a,b,e,7);break;case 4:c=Qa(a,b,e,7);break;case 5:c=a.sub(b,e,7);break;case 6:c=Sa(a,b,e,7);break;case 7:c=tc.bind(this,0)(b,e)}192>a.a?a.memory.S(f,c):a.k[a.a<<2&12|a.a>>2&1]=
c}};
I[129]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.sub(b,t(a),15)}else{var e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4095===(b&4095)?(c=A(a,b+1),b=ec(a,f,c)):b=a.memory.L(f)):b=a.e[a.a<<1&14];h=0;e=t(a);switch(a.a>>3&7){case 0:h=a.add(b,e,15);break;case 1:h=Ra(a,b,e,15);break;case 2:h=Ia(a,b,e,15);break;case 3:h=Ja(a,b,e,15);break;case 4:h=Qa(a,b,e,15);break;case 5:h=a.sub(b,e,15);break;case 6:h=Sa(a,b,e,15);break;case 7:h=tc.bind(this,0)(b,e)}192>a.a?c?fc(a,
f,c,h):a.memory.ga(f,h):a.e[a.a<<1&14]=h}};
K[129]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.sub(b,v(a),31)}else{var e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4093<=(b&4095)?(c=A(a,b+3),b=gc(a,f,c)):b=hc(a.memory,f)):b=a.b[a.a&7];h=0;e=v(a);switch(a.a>>3&7){case 0:h=a.add(b,e,31);break;case 1:h=Ra(a,b,e,31);break;case 2:h=Ia(a,b,e,31);break;case 3:h=Ja(a,b,e,31);break;case 4:h=Qa(a,b,e,31);break;case 5:h=a.sub(b,e,31);break;case 6:h=Sa(a,b,e,31);break;case 7:h=tc.bind(this,0)(b,e)}192>a.a?c?ic(a,f,c,
h):a.memory.ha(f,h):a.b[a.a&7]=h}};I[130]=K[130]=function(a){a.table[128](a)};
I[131]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.sub(b,s(a),15)}else{var e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4095===(b&4095)?(c=A(a,b+1),b=ec(a,f,c)):b=a.memory.L(f)):b=a.e[a.a<<1&14];h=0;e=s(a);switch(a.a>>3&7){case 0:h=a.add(b,e,15);break;case 1:h=Ra(a,b,e,15);break;case 2:h=Ia(a,b,e,15);break;case 3:h=Ja(a,b,e,15);break;case 4:h=Qa(a,b,e,15);break;case 5:h=a.sub(b,e,15);break;case 6:h=Sa(a,b,e,15);break;case 7:h=tc.bind(this,0)(b,e)}192>a.a?c?fc(a,
f,c,h):a.memory.ga(f,h):a.e[a.a<<1&14]=h}};
K[131]=function(a){a.a=x(a);if(56===(a.a&56)){var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.sub(b,s(a),31)}else{var e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4093<=(b&4095)?(c=A(a,b+3),b=gc(a,f,c)):b=hc(a.memory,f)):b=a.b[a.a&7];h=0;e=s(a);switch(a.a>>3&7){case 0:h=a.add(b,e,31);break;case 1:h=Ra(a,b,e,31);break;case 2:h=Ia(a,b,e,31);break;case 3:h=Ja(a,b,e,31);break;case 4:h=Qa(a,b,e,31);break;case 5:h=a.sub(b,e,31);break;case 6:h=Sa(a,b,e,31);break;case 7:h=tc.bind(this,0)(b,e)}192>a.a?c?ic(a,f,c,
h):a.memory.ha(f,h):a.b[a.a&7]=h}};I[132]=K[132]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];Qa(a,b,a.k[a.a>>1&12|a.a>>5&1],7)};I[133]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];Qa(a,b,a.e[a.a>>2&14],15)};K[133]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];Qa(a,b,a.b[a.a>>3&7],31)};
I[134]=K[134]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];var f=a.a,f=f>>1&12|f>>5&1,c=a.k[f];a.k[f]=b;192>a.a?a.memory.S(e,c):a.k[a.a<<2&12|a.a>>2&1]=c};I[135]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];var c=a.a>>2&14,h=a.e[c];a.e[c]=b;192>a.a?f?fc(a,e,f,h):a.memory.ga(e,h):a.e[a.a<<1&14]=h};
K[135]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];var c=a.a>>3&7,h=a.b[c];a.b[c]=b;192>a.a?f?ic(a,e,f,h):a.memory.ha(e,h):a.b[a.a&7]=h};I[136]=K[136]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=a.k[a.a>>1&12|a.a>>5&1];192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};I[137]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=a.e[a.a>>2&14];192>a.a?Pb(a,b,e):a.e[a.a<<1&14]=e};
K[137]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=a.b[a.a>>3&7];192>a.a?D(a,b,e):a.nb[a.a&7]=e};I[138]=K[138]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.k[a.a>>1&12|a.a>>5&1]=b};I[139]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=b};K[139]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=b};I[140]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=a.I[a.a>>3&7];192>a.a?Pb(a,b,e):a.e[a.a<<1&14]=e};
K[140]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=a.I[a.a>>3&7];192>a.a?D(a,b,e):a.nb[a.a&7]=e};I[141]=function(a){a.a=x(a);192<=a.a&&S(a);var b=a.a>>3&7;a.oa=9;a.e[b<<1]=a.i(a.a);a.oa=-1};K[141]=function(a){a.a=x(a);192<=a.a&&S(a);var b=a.a>>3&7;a.oa=9;a.b[b]=a.i(a.a);a.oa=-1};I[142]=K[142]=function(a){a.a=x(a);var b=a.a>>3&7,e=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];Q(a,b,e)};
I[143]=function(a){a.a=x(a);var b=F(a,jc(a,0));a.w[a.B]+=2;if(192>a.a){var e=a.i(a.a);a.w[a.B]-=2;Pb(a,e,b);a.w[a.B]+=2}else a.e[a.a<<1&14]=b};K[143]=function(a){a.a=x(a);var b=H(a,jc(a,0));a.w[a.B]+=4;if(192>a.a){var e=a.i(a.a);a.w[a.B]-=4;D(a,e,b);a.w[a.B]+=4}else a.b[a.a&7]=b};I[144]=K[144]=function(){};I[145]=function(a){uc(a,2)};K[145]=function(a){vc(a,1)};I[146]=function(a){uc(a,4)};K[146]=function(a){vc(a,2)};I[147]=function(a){uc(a,6)};K[147]=function(a){vc(a,3)};I[148]=function(a){uc(a,8)};
K[148]=function(a){vc(a,4)};I[149]=function(a){uc(a,10)};K[149]=function(a){vc(a,5)};I[150]=function(a){uc(a,12)};K[150]=function(a){vc(a,6)};I[151]=function(a){uc(a,14)};K[151]=function(a){vc(a,7)};I[152]=function(a){a.e[0]=a.Pb[0]};K[152]=function(a){a.b[0]=a.ta[0]};I[153]=function(a){a.e[4]=a.ta[0]>>15};K[153]=function(a){a.b[2]=a.b[0]>>31};I[154]=function(a){var b=t(a),e=t(a);wc(a,jc(a,-4),4);N(a,a.I[1]);N(a,xc(a));Q(a,1,e);a.m=a.u[1]+b|0};
K[154]=function(a){var b=v(a),e=t(a);if((!a.qa||pc(a))&&b&4294901760)throw a.debug.Q("#GP handler");wc(a,jc(a,-8),8);P(a,a.I[1]);P(a,xc(a));Q(a,1,e);a.m=a.u[1]+b|0};I[155]=K[155]=function(a){10===(a.t[0]&10)&&yc(a)};I[156]=function(a){a.f&131072&&3>zc(a)?Ac(a,0):(Bc(a),N(a,a.f))};K[156]=function(a){a.f&131072&&3>zc(a)?Ac(a,0):(Bc(a),P(a,a.f&16580607))};I[157]=function(a){a.f&131072&&3>zc(a)&&Ac(a,0);Cc(a,a.f&-65536|oc(a));Dc(a)};K[157]=function(a){a.f&131072&&Ac(a,0);Cc(a,R(a));Dc(a)};
I[158]=K[158]=function(a){a.f=a.f&-256|a.k[1];a.f=a.f&4161493|2;a.o=0};I[159]=K[159]=function(a){Bc(a);a.k[1]=a.f};I[160]=K[160]=function(a){var b=y(a,Ec(a));a.k[0]=b};I[161]=function(a){var b=F(a,Ec(a));a.e[0]=b};K[161]=function(a){var b=H(a,Ec(a));a.b[0]=b};I[162]=K[162]=function(a){Nb(a,Ec(a),a.k[0])};I[163]=function(a){Pb(a,Ec(a),a.e[0])};K[163]=function(a){D(a,Ec(a),a.b[0])};
I[164]=K[164]=function(a){var b=Wb(a,3)+a.j[a.A]|0,e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-1:1;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096,q=Xb(a,b),w=A(a,e);a.v&&(m=Ib(f,b,e));do a.memory.S(w,a.memory.M(q)),w+=f,q+=f,h=0!==--c;while(h&&m--);b=f*(k-c)|0;a.j[a.q]+=b;a.j[a.A]+=b;a.j[a.G]=c;a.R+=k-c;h&&(a.m=a.ea)}}else Nb(a,e,y(a,b)),a.j[a.q]+=f,a.j[a.A]+=f};
I[165]=function(a){var b=Wb(a,3)+a.j[a.A]|0,e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-2:2;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096;if(e&1||b&1){do Pb(a,e,F(a,b)),e+=f,a.j[a.q]+=f,b+=f,a.j[a.A]+=f,h=0!==--a.j[a.G];while(h&&m--)}else{var q=0>f?-1:1,w=Xb(a,b)>>1,B=A(a,e)>>1;a.v&&(m=Ib(f,b,e));do Rb(a.memory,B,ac(a.memory,w)),B+=q,w+=q,h=0!==--c;while(h&&m--);b=f*(k-c)|0;a.j[a.q]+=b;a.j[a.A]+=b;a.j[a.G]=c;a.R+=k-c}h&&(a.m=a.ea)}}else Pb(a,e,F(a,b)),a.j[a.q]+=f,a.j[a.A]+=f};
K[165]=function(a){a:{if(0!==a.$){var b=Wb(a,3)+a.j[a.A]|0,e=a.u[0]+a.j[a.q]|0,f=a.j[a.G]>>>0;if(!f)break a;var c=a.v?4095:3;if(0===(e&c)&&0===(b&c)&&0===(a.f&1024)&&(c=!1,a.v&&(b=Xb(a,b),e=A(a,e),1024<f&&(f=1024,c=!0)),!Fc(a.r,b,f)&&!Fc(a.r,e,f))){var h=f<<2;a.j[a.G]-=f;a.j[a.q]+=h;a.j[a.A]+=h;b>>=2;a.memory.Db.set(a.memory.Db.subarray(b,b+f),e>>2);c&&(a.m=a.ea);break a}}b=Wb(a,3)+a.j[a.A]|0;e=a.u[0]+a.j[a.q]|0;h=a.f&1024?-4:4;if(0!==a.$){if(f=a.j[a.G]>>>0,0!==f){var k=f,m=4096;if(e&3||b&3){do D(a,
e,H(a,b)),e+=h,a.j[a.q]+=h,b+=h,a.j[a.A]+=h,c=0!==--a.j[a.G];while(c&&m--)}else{var q=0>h?-1:1,w=Xb(a,b)>>>2,B=A(a,e)>>>2;a.v&&(m=Ib(h,b,e));do Ub(a.memory,B,dc(a.memory,w)),B+=q,w+=q,c=0!==--f;while(c&&m--);h=h*(k-f)|0;a.j[a.q]+=h;a.j[a.A]+=h;a.j[a.G]=f;a.R+=k-f}c&&(a.m=a.ea)}}else D(a,e,H(a,b)),a.j[a.q]+=h,a.j[a.A]+=h}};
I[166]=K[166]=function(a){a:{var b=Wb(a,3)+a.j[a.A]|0,e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-1:1;if(0!==a.$){var c=a.j[a.G]>>>0;if(0===c)break a;var h=!1,k=c,m=2===a.$,q=4096,w=Xb(a,b),B=Xb(a,e);a.v&&(q=Ib(f,b,e));do e=a.memory.M(B),b=a.memory.M(w),B+=f,w+=f,h=0!==--c&&b===e===m;while(h&&q--);f=f*(k-c)|0;a.j[a.q]+=f;a.j[a.A]+=f;a.j[a.G]=c;a.R+=k-c;h&&(a.m=a.ea)}else b=y(a,b),e=y(a,e),a.j[a.q]+=f,a.j[a.A]+=f;a.sub(b,e,7)}};
I[167]=function(a){a:{var b=Wb(a,3)+a.j[a.A]|0,e=a.u[0]+a.j[a.q]|0,f,c,h=a.f&1024?-2:2;if(0!==a.$){var k=a.j[a.G]>>>0;if(0===k)break a;var m=!1,q=k,w=2===a.$,B=4096;if(e&1||b&1){do c=F(a,e),f=F(a,b),e+=h,a.j[a.q]+=h,b+=h,a.j[a.A]+=h,m=0!==--a.j[a.G]&&f===c===w;while(m&&B--)}else{var z=0>h?-1:1,G=Xb(a,b)>>1,C=Xb(a,e)>>1;a.v&&(B=Ib(h,b,e));do c=ac(a.memory,C),f=ac(a.memory,G),C+=z,G+=z,m=0!==--k&&f===c===w;while(m&&B--);b=h*(q-k)|0;a.j[a.q]+=b;a.j[a.A]+=b;a.j[a.G]=k;a.R+=q-k}m&&(a.m=a.ea)}else c=F(a,
e),f=F(a,b),a.j[a.q]+=h,a.j[a.A]+=h;a.sub(f,c,15)}};
K[167]=function(a){a:{var b=Wb(a,3)+a.j[a.A]|0,e=a.u[0]+a.j[a.q]|0,f,c,h=a.f&1024?-4:4;if(0!==a.$){var k=a.j[a.G]>>>0;if(0===k)break a;var m=!1,q=k,w=2===a.$,B=4096;if(e&3||b&3){do c=H(a,e),f=H(a,b),e+=h,a.j[a.q]+=h,b+=h,a.j[a.A]+=h,m=0!==--a.j[a.G]&&f===c===w;while(m&&B--)}else{var z=0>h?-1:1,G=Xb(a,b)>>>2,C=Xb(a,e)>>>2;a.v&&(B=Ib(h,b,e));do c=dc(a.memory,C),f=dc(a.memory,G),C+=z,G+=z,m=0!==--k&&f===c===w;while(m&&B--);b=h*(q-k)|0;a.j[a.q]+=b;a.j[a.A]+=b;a.j[a.G]=k;a.R+=q-k}m&&(a.m=a.ea)}else c=
H(a,e),f=H(a,b),a.j[a.q]+=h,a.j[a.A]+=h;a.sub(f,c,31)}};I[168]=K[168]=function(a){Qa(a,a.k[0],x(a),7)};I[169]=function(a){Qa(a,a.e[0],t(a),15)};K[169]=function(a){Qa(a,a.b[0],v(a),31)};I[170]=K[170]=function(a){var b=a.k[0],e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-1:1;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096,q=A(a,e);a.v&&(m=Hb(f,e));do a.memory.S(q,b),q+=f,h=0!==--c;while(h&&m--);a.j[a.q]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c;h&&(a.m=a.ea)}}else Nb(a,e,b),a.j[a.q]+=f};
I[171]=function(a){var b=a.e[0],e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-2:2;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096;if(e&1){do Pb(a,e,b),e+=f,a.j[a.q]+=f,h=0!==--a.j[a.G];while(h&&m--)}else{var q=0>f?-1:1,w=A(a,e)>>1;a.v&&(m=Hb(f,e));do Rb(a.memory,w,b),w+=q,h=0!==--c;while(h&&m--);a.j[a.q]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c}h&&(a.m=a.ea)}}else Pb(a,e,b),a.j[a.q]+=f};
K[171]=function(a){var b=a.b[0],e=a.u[0]+a.j[a.q]|0,f=a.f&1024?-4:4;if(0!==a.$){var c=a.j[a.G]>>>0;if(0!==c){var h=!1,k=c,m=4096;if(e&3){do D(a,e,b),e+=f,a.j[a.q]+=f,h=0!==--a.j[a.G];while(h&&m--)}else{var q=0>f?-1:1,w=A(a,e)>>>2;a.v&&(m=Hb(f,e));do Ub(a.memory,w,b),w+=q,h=0!==--c;while(h&&m--);a.j[a.q]+=f*(k-c)|0;a.j[a.G]=c;a.R+=k-c}h&&(a.m=a.ea)}}else D(a,e,b),a.j[a.q]+=f};
I[172]=K[172]=function(a){var b=Wb(a,3)+a.j[a.A]|0,e=a.f&1024?-1:1;if(0!==a.$){var f=a.j[a.G]>>>0;if(0!==f){var c=!1,h=f,k=4096,m=Xb(a,b);a.v&&(k=Hb(e,b));do a.k[0]=a.memory.M(m),m+=e,c=0!==--f;while(c&&k--);a.j[a.A]+=e*(h-f)|0;a.j[a.G]=f;a.R+=h-f;c&&(a.m=a.ea)}}else a.k[0]=y(a,b),a.j[a.A]+=e};
I[173]=function(a){var b=Wb(a,3)+a.j[a.A]|0,e=a.f&1024?-2:2;if(0!==a.$){if(0!==a.j[a.G]>>>0){var f=!1,c=4096;do a.e[0]=F(a,b),b+=e,a.j[a.A]+=e,f=0!==--a.j[a.G];while(f&&c--);f&&(a.m=a.ea)}}else a.e[0]=F(a,b),a.j[a.A]+=e};K[173]=function(a){var b=Wb(a,3)+a.j[a.A]|0,e=a.f&1024?-4:4;if(0!==a.$){if(0!==a.j[a.G]>>>0){var f=!1,c=4096;do a.b[0]=H(a,b),b+=e,a.j[a.A]+=e,f=0!==--a.j[a.G];while(f&&c--);f&&(a.m=a.ea)}}else a.b[0]=H(a,b),a.j[a.A]+=e};
I[174]=K[174]=function(a){a:{var b=a.u[0]+a.j[a.q]|0,e=a.f&1024?-1:1,f=a.k[0];if(0!==a.$){var c=a.j[a.G]>>>0;if(0===c)break a;var h=!1,k=c,m=2===a.$,q=4096,w=Xb(a,b);a.v&&(q=Hb(e,b));do b=a.memory.M(w),w+=e,h=0!==--c&&f===b===m;while(h&&q--);a.j[a.q]+=e*(k-c)|0;a.j[a.G]=c;a.R+=k-c;h&&(a.m=a.ea)}else b=y(a,b),a.j[a.q]+=e;a.sub(f,b,7)}};
I[175]=function(a){a:{var b=a.u[0]+a.j[a.q]|0,e=a.f&1024?-2:2,f,c=a.e[0];if(0!==a.$){var h=a.j[a.G]>>>0;if(0===h)break a;var k=!1,m=h,q=2===a.$,w=4096;if(b&1){do f=F(a,b),b+=e,a.j[a.q]+=e,k=0!==--a.j[a.G]&&c===f===q;while(k&&w--)}else{var B=0>e?-1:1,z=Xb(a,b)>>1;a.v&&(w=Hb(e,b));do f=ac(a.memory,z),z+=B,k=0!==--h&&c===f===q;while(k&&w--);a.j[a.q]+=e*(m-h)|0;a.j[a.G]=h;a.R+=m-h}k&&(a.m=a.ea)}else f=F(a,b),a.j[a.q]+=e;a.sub(c,f,15)}};
K[175]=function(a){a:{var b=a.u[0]+a.j[a.q]|0,e=a.f&1024?-4:4,f,c=a.b[0];if(0!==a.$){var h=a.j[a.G]>>>0;if(0===h)break a;var k=!1,m=h,q=2===a.$,w=4096;if(b&3){do f=H(a,b),b+=e,a.j[a.q]+=e,k=0!==--a.j[a.G]&&c===f===q;while(k&&w--)}else{var B=0>e?-1:1,z=Xb(a,b)>>>2;a.v&&(w=Hb(e,b));do f=dc(a.memory,z),z+=B,k=0!==--h&&c===f===q;while(k&&w--);a.j[a.q]+=e*(m-h)|0;a.j[a.G]=h;a.R+=m-h}k&&(a.m=a.ea)}else f=H(a,b),a.j[a.q]+=e;a.sub(c,f,31)}};I[176]=K[176]=function(a){a.k[0]=x(a)};
I[177]=K[177]=function(a){a.k[4]=x(a)};I[178]=K[178]=function(a){a.k[8]=x(a)};I[179]=K[179]=function(a){a.k[12]=x(a)};I[180]=K[180]=function(a){a.k[1]=x(a)};I[181]=K[181]=function(a){a.k[5]=x(a)};I[182]=K[182]=function(a){a.k[9]=x(a)};I[183]=K[183]=function(a){a.k[13]=x(a)};I[184]=function(a){a.e[0]=t(a)};K[184]=function(a){a.b[0]=v(a)};I[185]=function(a){a.e[2]=t(a)};K[185]=function(a){a.b[1]=v(a)};I[186]=function(a){a.e[4]=t(a)};K[186]=function(a){a.b[2]=v(a)};I[187]=function(a){a.e[6]=t(a)};
K[187]=function(a){a.b[3]=v(a)};I[188]=function(a){a.e[8]=t(a)};K[188]=function(a){a.b[4]=v(a)};I[189]=function(a){a.e[10]=t(a)};K[189]=function(a){a.b[5]=v(a)};I[190]=function(a){a.e[12]=t(a)};K[190]=function(a){a.b[6]=v(a)};I[191]=function(a){a.e[14]=t(a)};K[191]=function(a){a.b[7]=v(a)};
I[192]=K[192]=function(a){a.a=x(a);var b,e,f,c;192>a.a?(f=A(a,a.i(a.a)),e=a.memory.M(f)):e=a.k[a.a<<2&12|a.a>>2&1];c=0;b=x(a)&31;switch(a.a>>3&7){case 0:c=Ta(a,e,b);break;case 1:c=cb(a,e,b);break;case 2:c=Ya(a,e,b);break;case 3:c=gb(a,e,b);break;case 4:c=jb(a,e,b);break;case 5:c=mb(a,e,b);break;case 6:c=jb(a,e,b);break;case 7:c=pb(a,e,b)}192>a.a?a.memory.S(f,c):a.k[a.a<<2&12|a.a>>2&1]=c};
I[193]=function(a){a.a=x(a);var b,e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4095===(b&4095)?(c=A(a,b+1),e=ec(a,f,c)):e=a.memory.L(f)):e=a.e[a.a<<1&14];h=0;b=x(a)&31;switch(a.a>>3&7){case 0:h=Ua(a,e,b);break;case 1:h=db(a,e,b);break;case 2:h=Za(a,e,b);break;case 3:h=hb(a,e,b);break;case 4:h=kb(a,e,b);break;case 5:h=nb(a,e,b);break;case 6:h=kb(a,e,b);break;case 7:h=qb(a,e,b)}192>a.a?c?fc(a,f,c,h):a.memory.ga(f,h):a.e[a.a<<1&14]=h};
K[193]=function(a){a.a=x(a);var b,e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4093<=(b&4095)?(c=A(a,b+3),e=gc(a,f,c)):e=hc(a.memory,f)):e=a.b[a.a&7];h=0;b=x(a)&31;switch(a.a>>3&7){case 0:h=Xa(a,e,b);break;case 1:h=eb(a,e,b);break;case 2:h=$a(a,e,b);break;case 3:h=ib(a,e,b);break;case 4:h=lb(a,e,b);break;case 5:h=ob(a,e,b);break;case 6:h=lb(a,e,b);break;case 7:h=rb(a,e,b)}192>a.a?c?ic(a,f,c,h):a.memory.ha(f,h):a.b[a.a&7]=h};I[194]=function(a){var b=t(a);a.m=a.u[1]+oc(a)|0;a.w[a.B]+=b};
K[194]=function(a){var b=t(a);a.m=a.u[1]+R(a)|0;a.w[a.B]+=b};I[195]=function(a){a.m=a.u[1]+oc(a)|0};K[195]=function(a){a.m=a.u[1]+R(a)|0};I[196]=function(a){a.a=x(a);192<=a.a&&S(a);Gc(a,0,a.i(a.a),a.a>>2&14)};K[196]=function(a){a.a=x(a);192<=a.a&&S(a);Hc(a,0,a.i(a.a),a.a>>3&7)};I[197]=function(a){a.a=x(a);192<=a.a&&S(a);Gc(a,3,a.i(a.a),a.a>>2&14)};K[197]=function(a){a.a=x(a);192<=a.a&&S(a);Hc(a,3,a.i(a.a),a.a>>3&7)};
I[198]=K[198]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=x(a);192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};I[199]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=t(a);192>a.a?Pb(a,b,e):a.e[a.a<<1&14]=e};K[199]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=v(a);192>a.a?D(a,b,e):a.nb[a.a&7]=e};I[200]=function(a){var b=t(a),e=x(a),e=e&31,f,c;N(a,a.e[10]);f=a.e[8];if(0<e){c=a.e[5];for(var h=1;h<e;h++)c-=2,N(a,F(a,a.u[2]+c|0));N(a,f)}a.e[10]=f;a.e[8]-=b};
K[200]=function(a){var b=t(a),e=x(a),e=e&31,f,c;P(a,a.b[5]);f=a.b[4];if(0<e){c=a.b[5];for(var h=1;h<e;h++)c-=4,P(a,H(a,a.u[2]+c|0));P(a,f)}a.b[5]=f;a.b[4]-=b};I[201]=function(a){var b=F(a,a.u[2]+a.w[a.ob]|0);a.w[a.B]=a.w[a.ob]+2|0;a.e[10]=b};K[201]=function(a){var b=H(a,a.u[2]+a.w[a.ob]|0);a.w[a.B]=a.w[a.ob]+4|0;a.b[5]=b};I[202]=function(a){Xb(a,a.u[2]+a.w[a.B]+4);var b=t(a),e=oc(a);Q(a,1,oc(a));a.m=a.u[1]+e|0;a.w[a.B]+=b};
K[202]=function(a){Xb(a,a.u[2]+a.w[a.B]+8);var b=t(a),e=R(a);Q(a,1,R(a)&65535);a.m=a.u[1]+e|0;a.w[a.B]+=b};I[203]=function(a){Xb(a,a.u[2]+a.w[a.B]+4);var b=oc(a);Q(a,1,oc(a));a.m=a.u[1]+b|0};K[203]=function(a){Xb(a,a.u[2]+a.w[a.B]+8);var b=R(a);Q(a,1,R(a)&65535);a.m=a.u[1]+b|0};I[204]=K[204]=function(a){Ic(a,3,!0,!1)};I[205]=K[205]=function(a){var b=x(a);Ic(a,b,!0,!1)};I[206]=K[206]=function(a){a.md()&&Ic(a,4,!0,!1)};
I[207]=function(a){if(!a.qa||pc(a)&&3===zc(a)){var b=oc(a),e=oc(a),f=oc(a);Q(a,1,e);a.m=b+a.u[1]|0;Cc(a,a.f&-65536|f);Dc(a)}else throw pc(a)&&Ac(a,0),a.debug.Q("16 bit iret in protected mode");};
K[207]=function(a){a:{if(!a.qa||pc(a)&&3===zc(a)){var b=R(a);if(b&4294901760)throw a.debug.Q("#GP handler");Q(a,1,R(a)&65535);var e=R(a);a.m=b+a.u[1]|0;Cc(a,e)}else{pc(a)&&Ac(a,0);a.m=R(a);a.I[1]=R(a);e=R(a);if(e&131072){if(0===a.P){Cc(a,e);a.f|=131072;Q(a,1,a.I[1]);a.m=(a.m&65535)+a.u[1]|0;var b=R(a),f=R(a);Q(a,0,R(a)&65535);Q(a,3,R(a)&65535);Q(a,4,R(a)&65535);Q(a,5,R(a)&65535);a.b[4]=b;Q(a,2,f&65535);a.P=3;Jc(a);Kc(a,!1);break a}e&=-131073}var c=Lc(a,a.I[1]);if(c.ub)throw a.debug.Q("is null");if(!c.Bb)throw a.debug.Q("not present");
if(!c.ic)throw a.debug.Q("not exec");if(c.bc<a.P)throw a.debug.Q("rpl < cpl");if(c.fc&&c.Ja>c.bc)throw a.debug.Q("conforming and dpl > rpl");c.bc>a.P?(b=R(a),f=R(a),a.b[4]=b,Cc(a,e),a.P||(a.f=a.f&-1572865|e&1572864),a.P=c.bc,Jc(a),Q(a,2,f&65535)):(Cc(a,e),a.P||(a.f=a.f&-1572865|e&1572864));c.size!==a.za&&Kc(a,c.size);a.Fa[1]=c.Kb;a.u[1]=c.Ub;a.m=a.m+a.u[1]|0}Dc(a)}};
I[208]=K[208]=function(a){a.a=x(a);var b,e,f;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];f=0;switch(a.a>>3&7){case 0:f=Ta(a,b,1);break;case 1:f=cb(a,b,1);break;case 2:f=Ya(a,b,1);break;case 3:f=gb(a,b,1);break;case 4:f=jb(a,b,1);break;case 5:f=mb(a,b,1);break;case 6:f=jb(a,b,1);break;case 7:f=pb(a,b,1)}192>a.a?a.memory.S(e,f):a.k[a.a<<2&12|a.a>>2&1]=f};
I[209]=function(a){a.a=x(a);var b,e,f=0,c;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];c=0;switch(a.a>>3&7){case 0:c=Ua(a,b,1);break;case 1:c=db(a,b,1);break;case 2:c=Za(a,b,1);break;case 3:c=hb(a,b,1);break;case 4:c=kb(a,b,1);break;case 5:c=nb(a,b,1);break;case 6:c=kb(a,b,1);break;case 7:c=qb(a,b,1)}192>a.a?f?fc(a,e,f,c):a.memory.ga(e,c):a.e[a.a<<1&14]=c};
K[209]=function(a){a.a=x(a);var b,e,f=0,c;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];c=0;switch(a.a>>3&7){case 0:c=Xa(a,b,1);break;case 1:c=eb(a,b,1);break;case 2:c=$a(a,b,1);break;case 3:c=ib(a,b,1);break;case 4:c=lb(a,b,1);break;case 5:c=ob(a,b,1);break;case 6:c=lb(a,b,1);break;case 7:c=rb(a,b,1)}192>a.a?f?ic(a,e,f,c):a.memory.ha(e,c):a.b[a.a&7]=c};
I[210]=K[210]=function(a){a.a=x(a);var b,e,f,c;192>a.a?(f=A(a,a.i(a.a)),e=a.memory.M(f)):e=a.k[a.a<<2&12|a.a>>2&1];c=0;b=a.k[4]&31;switch(a.a>>3&7){case 0:c=Ta(a,e,b);break;case 1:c=cb(a,e,b);break;case 2:c=Ya(a,e,b);break;case 3:c=gb(a,e,b);break;case 4:c=jb(a,e,b);break;case 5:c=mb(a,e,b);break;case 6:c=jb(a,e,b);break;case 7:c=pb(a,e,b)}192>a.a?a.memory.S(f,c):a.k[a.a<<2&12|a.a>>2&1]=c};
I[211]=function(a){a.a=x(a);var b,e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4095===(b&4095)?(c=A(a,b+1),e=ec(a,f,c)):e=a.memory.L(f)):e=a.e[a.a<<1&14];h=0;b=a.k[4]&31;switch(a.a>>3&7){case 0:h=Ua(a,e,b);break;case 1:h=db(a,e,b);break;case 2:h=Za(a,e,b);break;case 3:h=hb(a,e,b);break;case 4:h=kb(a,e,b);break;case 5:h=nb(a,e,b);break;case 6:h=kb(a,e,b);break;case 7:h=qb(a,e,b)}192>a.a?c?fc(a,f,c,h):a.memory.ga(f,h):a.e[a.a<<1&14]=h};
K[211]=function(a){a.a=x(a);var b,e,f,c=0,h;192>a.a?(b=a.i(a.a),f=A(a,b),a.v&&4093<=(b&4095)?(c=A(a,b+3),e=gc(a,f,c)):e=hc(a.memory,f)):e=a.b[a.a&7];h=0;b=a.k[4]&31;switch(a.a>>3&7){case 0:h=Xa(a,e,b);break;case 1:h=eb(a,e,b);break;case 2:h=$a(a,e,b);break;case 3:h=ib(a,e,b);break;case 4:h=lb(a,e,b);break;case 5:h=ob(a,e,b);break;case 6:h=lb(a,e,b);break;case 7:h=rb(a,e,b)}192>a.a?c?ic(a,f,c,h):a.memory.ha(f,h):a.b[a.a&7]=h};
I[212]=K[212]=function(a){var b=x(a);if(0===b)Mc(a);else{var e=a.k[0];a.k[1]=e/b;a.k[0]=e%b;a.D=a.k[0];a.o=196;a.f&=-2066}};I[213]=K[213]=function(a){var b=x(a);a.D=a.k[0]+a.k[1]*b&255;a.e[0]=a.D;a.aa=7;a.o=196;a.f&=-2066};I[214]=K[214]=function(a){a.k[0]=-a.Da()};I[215]=K[215]=function(a){a.k[0]=a.hb?y(a,Wb(a,3)+a.b[3]+a.k[0]):y(a,Wb(a,3)+a.e[6]+a.k[0])};
I[216]=K[216]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a,f=a.i(a.a);a=e>>3&7;e=Nc(b,f)}else b=a.sa,e=a.a,a=e>>3&7,e=Oc(b,e&7);f=Pc(b);switch(a){case 0:b.g[b.d]=f+e;break;case 1:b.g[b.d]=f*e;break;case 2:Qc(b,e);break;case 3:Qc(b,e);b.pop();break;case 4:b.g[b.d]=f-e;break;case 5:b.g[b.d]=e-f;break;case 6:b.g[b.d]=f/e;break;case 7:b.g[b.d]=e/f}};
I[217]=K[217]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a;a=a.i(a.a);switch(e>>3&7){case 0:a=Nc(b,a);b.push(a);break;case 1:Rc(b);break;case 2:e=Pc(b);b.V[0]=e;D(b.p,a,b.wa[0]);break;case 3:e=Pc(b);b.V[0]=e;D(b.p,a,b.wa[0]);b.pop();break;case 4:Sc(b,a);break;case 5:b.H=F(b.p,a);break;case 6:Tc(b,a);break;case 7:Pb(b.p,a,b.H)}}else switch(b=a.sa,e=a.a,a=e&7,e>>3&7){case 0:e=Oc(b,a);b.push(e);break;case 1:e=Oc(b,a);b.g[b.d+a&7]=Pc(b);b.g[b.d]=e;break;case 2:switch(a){case 0:break;
default:Rc(b)}break;case 3:Rc(b);break;case 4:e=Pc(b);switch(a){case 0:b.g[b.d]=-e;break;case 1:b.g[b.d]=Math.abs(e);break;case 4:a=e;b.l&=-18177;isNaN(a)?b.l|=17664:0===a?b.l|=16384:0>a&&(b.l|=256);break;case 5:a=e;b.l&=-18177;b.l|=b.sign(0)<<9;b.l=b.n>>b.d&1?b.l|16640:isNaN(a)?b.l|256:0===a?b.l|16384:Infinity===a||-Infinity===a?b.l|1280:b.l|1024;break;default:Rc(b)}break;case 5:b.push(b.Na[a]);break;case 6:e=Pc(b);switch(a){case 0:b.g[b.d]=Math.pow(2,e)-1;break;case 1:b.g[b.d+1&7]=Oc(b,1)*Math.log(e)/
Math.LN2;b.pop();break;case 2:b.g[b.d]=Math.tan(e);b.push(1);break;case 3:b.g[b.d+1&7]=Math.atan2(Oc(b,1),e);b.pop();break;case 4:b.J[0]=Pc(b);a=((b.s[7]&127)<<4|b.s[6]>>4)-1023;b.s[7]=63|b.s[7]&128;b.s[6]|=240;b.g[b.d]=a;b.push(b.J[0]);break;case 5:b.g[b.d]=e%Oc(b,1);break;case 6:b.d=b.d-1&7;b.l&=-513;break;case 7:b.d=b.d+1&7,b.l&=-513}break;case 7:switch(e=Pc(b),a){case 0:b.g[b.d]=e%Oc(b,1);break;case 1:b.g[b.d+1&7]=Oc(b,1)*Math.log(e+1)/Math.LN2;b.pop();break;case 2:b.g[b.d]=Math.sqrt(e);break;
case 3:b.g[b.d]=Math.sin(e);b.push(Math.cos(e));break;case 4:b.g[b.d]=Uc(b,e);break;case 5:b.g[b.d]=e*Math.pow(2,Vc(Oc(b,1)));break;case 6:b.g[b.d]=Math.sin(e);break;case 7:b.g[b.d]=Math.cos(e)}}};
I[218]=K[218]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a,f=a.i(a.a);a=e>>3&7;e=H(b.p,f);f=Pc(b);switch(a){case 0:b.g[b.d]=f+e;break;case 1:b.g[b.d]=f*e;break;case 2:Qc(b,e);break;case 3:Qc(b,e);b.pop();break;case 4:b.g[b.d]=f-e;break;case 5:b.g[b.d]=e-f;break;case 6:b.g[b.d]=f/e;break;case 7:b.g[b.d]=e/f}}else switch(b=a.sa,a=a.a,e=a&7,a>>3&7){case 0:b.p.$a()&&(b.g[b.d]=Oc(b,e),b.n&=~(1<<b.d));break;case 1:b.p.bb()&&(b.g[b.d]=Oc(b,e),b.n&=~(1<<b.d));break;case 2:qc(b.p)&&(b.g[b.d]=
Oc(b,e),b.n&=~(1<<b.d));break;case 3:b.p.ab()&&(b.g[b.d]=Oc(b,e),b.n&=~(1<<b.d));break;case 5:1===e?(a=Oc(b,1),Qc(b,a),b.pop(),b.pop()):Rc(b);break;default:Rc(b)}};
I[219]=K[219]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a;a=a.i(a.a);switch(e>>3&7){case 0:a=H(b.p,a);b.push(a);break;case 2:e=Uc(b,Pc(b));2147483647>=e&&-2147483648<=e?D(b.p,a,e):(Wc(b),D(b.p,a,-2147483648));break;case 3:e=Uc(b,Pc(b));2147483647>=e&&-2147483648<=e?D(b.p,a,e):(Wc(b),D(b.p,a,-2147483648));b.pop();break;case 5:b.push(Xc(b,a));break;case 7:wc(b.p,a,10);Yc(b,a,0);b.pop();break;default:Rc(b)}}else switch(b=a.sa,a=a.a,e=a&7,a>>3&7){case 0:b.p.$a()||(b.g[b.d]=Oc(b,
e),b.n&=~(1<<b.d));break;case 1:b.p.bb()||(b.g[b.d]=Oc(b,e),b.n&=~(1<<b.d));break;case 2:qc(b.p)||(b.g[b.d]=Oc(b,e),b.n&=~(1<<b.d));break;case 3:b.p.ab()||(b.g[b.d]=Oc(b,e),b.n&=~(1<<b.d));break;case 4:227===a?Zc(b):228!==a&&225!==a&&(226===a?b.l=0:Rc(b));break;case 5:a=Oc(b,e);$c(b,a);break;case 6:$c(b,Oc(b,e));break;default:Rc(b)}};
I[220]=K[220]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a,f=a.i(a.a);a=e>>3&7;e=ad(b,f);f=Pc(b);switch(a){case 0:b.g[b.d]=f+e;break;case 1:b.g[b.d]=f*e;break;case 2:Qc(b,e);break;case 3:Qc(b,e);b.pop();break;case 4:b.g[b.d]=f-e;break;case 5:b.g[b.d]=e-f;break;case 6:b.g[b.d]=f/e;break;case 7:b.g[b.d]=e/f}}else{b=a.sa;e=a.a;a=e>>3&7;var f=e&7,e=b.d+f&7,f=Oc(b,f),c=Pc(b);switch(a){case 0:b.g[e]=f+c;break;case 1:b.g[e]=f*c;break;case 2:Qc(b,f);break;case 3:Qc(b,f);b.pop();break;
case 4:b.g[e]=c-f;break;case 5:b.g[e]=f-c;break;case 6:b.g[e]=c/f;break;case 7:b.g[e]=f/c}}};
I[221]=K[221]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a;a=a.i(a.a);switch(e>>3&7){case 0:a=ad(b,a);b.push(a);break;case 1:Rc(b);break;case 2:bd(b,a);break;case 3:bd(b,a);b.pop();break;case 4:Sc(b,a);a+=28;for(e=0;8>e;e++)b.g[e]=Xc(b,a),a+=10;break;case 5:Rc(b);break;case 6:wc(b.p,a,108);Tc(b,a);a+=28;for(e=0;8>e;e++)Yc(b,a,e-b.d&7),a+=10;Zc(b);break;case 7:Pb(b.p,a,b.l&-14337|b.d<<11)}}else switch(b=a.sa,a=a.a,e=a&7,a>>3&7){case 0:b.n|=1<<(b.d+e&7);break;case 2:b.g[b.d+e&
7]=Pc(b);break;case 3:0!==e&&(b.g[b.d+e&7]=Pc(b));b.pop();break;case 4:a=Oc(b,e);Qc(b,a);break;case 5:a=Oc(b,e);Qc(b,a);b.pop();break;default:Rc(b)}};
I[222]=K[222]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a,f=a.i(a.a);a=e>>3&7;e=F(b.p,f)<<16>>16;f=Pc(b);switch(a){case 0:b.g[b.d]=f+e;break;case 1:b.g[b.d]=f*e;break;case 2:Qc(b,e);break;case 3:Qc(b,e);b.pop();break;case 4:b.g[b.d]=f-e;break;case 5:b.g[b.d]=e-f;break;case 6:b.g[b.d]=f/e;break;case 7:b.g[b.d]=e/f}}else{b=a.sa;e=a.a;a=e>>3&7;var e=e&7,f=b.d+e&7,c=Oc(b,e),h=Pc(b);switch(a){case 0:b.g[f]=c+h;break;case 1:b.g[f]=c*h;break;case 2:Qc(b,c);break;case 3:1===e?(Qc(b,
b.g[f]),b.pop()):Rc(b);break;case 4:b.g[f]=h-c;break;case 5:b.g[f]=c-h;break;case 6:b.g[f]=h/c;break;case 7:b.g[f]=c/h}b.pop()}};
I[223]=K[223]=function(a){a.a=x(a);a.t[0]&12&&yc(a);if(192>a.a){var b=a.sa,e=a.a;a=a.i(a.a);switch(e>>3&7){case 0:a=F(b.p,a)<<16>>16;b.push(a);break;case 1:Rc(b);break;case 2:e=Uc(b,Pc(b));32767>=e&&-32768<=e?Pb(b.p,a,e):(Wc(b),Pb(b.p,a,32768));break;case 3:e=Uc(b,Pc(b));32767>=e&&-32768<=e?Pb(b.p,a,e):(Wc(b),Pb(b.p,a,32768));b.pop();break;case 4:Rc(b);break;case 5:e=H(b.p,a)>>>0;a=H(b.p,a+4);b.push(e+4294967296*a);break;case 6:Rc(b);break;case 7:wc(b.p,a,8);var e=Uc(b,Pc(b)),f,c;0x7fffffffffffffff>
e&&-9223372036854775808<=e?(f=e|0,c=e/4294967296|0,0===c&&0>e&&(c=-1)):(f=0,c=-2147483648,Wc(b));D(b.p,a,f);D(b.p,a+4,c);b.pop()}}else switch(b=a.sa,a=a.a,e=a&7,a>>3&7){case 4:224===a?b.p.e[0]=b.l&-14337|b.d<<11:Rc(b);break;case 5:a=Oc(b,e);$c(b,a);b.pop();break;case 6:$c(b,Oc(b,e));b.pop();break;default:Rc(b)}};I[224]=K[224]=function(a){var b=s(a);--a.j[a.G]&&!a.Lb()&&(a.m=a.m+b|0)};I[225]=K[225]=function(a){var b=s(a);--a.j[a.G]&&a.Lb()&&(a.m=a.m+b|0)};I[226]=K[226]=function(a){a.loop(s(a))};
I[227]=K[227]=function(a){var b=s(a);0===a.j[a.G]&&(a.m=a.m+b|0)};I[228]=K[228]=function(a){var b=x(a);Lb(a,b,1);a.k[0]=Mb(a.r,b)};I[229]=function(a){var b=x(a);Lb(a,b,2);a.e[0]=Qb(a.r,b)};K[229]=function(a){var b=x(a);Lb(a,b,4);a.b[0]=Tb(a.r,b)};I[230]=K[230]=function(a){var b=x(a);Lb(a,b,1);Yb(a.r,b,a.k[0])};I[231]=function(a){var b=x(a);Lb(a,b,2);$b(a.r,b,a.e[0])};K[231]=function(a){var b=x(a);Lb(a,b,4);cc(a.r,b,a.b[0])};I[232]=function(a){var b=t(a)<<16>>16;N(a,xc(a));cd(a,b)};
K[232]=function(a){var b=v(a);P(a,xc(a));a.m=a.m+b|0};I[233]=function(a){var b=t(a)<<16>>16;cd(a,b)};K[233]=function(a){var b=v(a);a.m=a.m+b|0};I[234]=function(a){var b=t(a);Q(a,1,t(a));a.m=b+a.u[1]|0};K[234]=function(a){var b=v(a);Q(a,1,t(a));a.m=b+a.u[1]|0};I[235]=K[235]=function(a){var b=s(a);a.m=a.m+b|0};I[236]=K[236]=function(a){var b=a.e[4];Lb(a,b,1);a.k[0]=Mb(a.r,b)};I[237]=function(a){var b=a.e[4];Lb(a,b,2);a.e[0]=Qb(a.r,b)};K[237]=function(a){var b=a.e[4];Lb(a,b,4);a.b[0]=Tb(a.r,b)};
I[238]=K[238]=function(a){var b=a.e[4];Lb(a,b,1);Yb(a.r,b,a.k[0])};I[239]=function(a){var b=a.e[4];Lb(a,b,2);$b(a.r,b,a.e[0])};K[239]=function(a){var b=a.e[4];Lb(a,b,4);cc(a.r,b,a.b[0])};I[240]=K[240]=function(a){mc(a)};I[241]=K[241]=function(a){throw a.debug.Q("int1 instruction");};I[242]=K[242]=function(a){a.$=1;mc(a);a.$=0};I[243]=K[243]=function(a){a.$=2;mc(a);a.$=0};I[244]=K[244]=function(a){a.P&&Ac(a,0);if(0===(a.f&512))throw a.debug.show("cpu halted"),"HALT";a.Ec=!0;throw 233495534;};
I[245]=K[245]=function(a){a.f=(a.f|1)^a.Da();a.o&=-2};
I[246]=K[246]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];Qa(a,b,x(a),7);break;case 1:b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];Qa(a,b,x(a),7);break;case 2:var e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=~b;192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b;break;case 3:192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=Ma(a,b,7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b;break;case 4:b=
192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];e=b*a.k[0];a.e[0]=e;a.f=256>e?a.f&-2050:a.f|2049;a.o=0;break;case 5:192>a.a?b=y(a,a.i(a.a))<<24>>24:b=a.Pb[a.a<<2&12|a.a>>2&1];e=b*a.Pb[0];a.e[0]=e;a.f=127<e||-128>e?a.f|2049:a.f&-2050;a.o=0;break;case 6:e=b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];var b=a.e[0],f=b/e|0;256<=f||0===e?Mc(a):(a.k[0]=f,a.k[1]=b%e);break;case 7:192>a.a?b=y(a,a.i(a.a))<<24>>24:b=a.Pb[a.a<<2&12|a.a>>2&1],e=b,b=a.ta[0],f=b/e|0,128<=f||-129>=f||0===e?Mc(a):(a.k[0]=f,a.k[1]=
b%e)}};
I[247]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];Qa(a,b,t(a),15);break;case 1:b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];Qa(a,b,t(a),15);break;case 2:var e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=~b;192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b;break;case 3:f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=Ma(a,
b,15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b;break;case 4:b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];e=b*a.e[0];f=e>>>16;a.e[0]=e;a.e[4]=f;a.f=0===f?a.f&-2050:a.f|2049;a.o=0;break;case 5:192>a.a?b=F(a,a.i(a.a))<<16>>16:b=a.ta[a.a<<1&14];e=b*a.ta[0];a.e[0]=e;a.e[4]=e>>16;a.f=32767<e||-32768>e?a.f|2049:a.f&-2050;a.o=0;break;case 6:e=b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];f=(a.e[0]|a.e[4]<<16)>>>0;b=f/e|0;65536<=b||0>b||0===e?Mc(a):(a.e[0]=b,a.e[4]=f%e);break;case 7:192>a.a?b=F(a,a.i(a.a))<<
16>>16:b=a.ta[a.a<<1&14],e=b,f=a.e[0]|a.e[4]<<16,b=f/e|0,32768<=b||-32769>=b||0===e?Mc(a):(a.e[0]=b,a.e[4]=f%e)}};
K[247]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];Qa(a,b,v(a),31);break;case 1:b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];Qa(a,b,v(a),31);break;case 2:var e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=~b;192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b;break;case 3:f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=Ma(a,b,31);192>a.a?f?
ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b;break;case 4:192>a.a?b=H(a,a.i(a.a))>>>0:b=a.nb[a.a&7];f=a.b[0];e=f&65535;var f=f>>>16,c=b&65535,b=b>>>16,h=e*c,c=(h>>>16)+(f*c|0)|0,k=c>>>16,c=(c&65535)+(e*b|0)|0,k=((c>>>16)+(f*b|0)|0)+k|0;a.b[0]=c<<16|h&65535;a.b[2]=k;a.f=0===k?a.f&-2050:a.f|2049;a.o=0;break;case 5:h=b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];b=a.b[0];e=!1;0>b&&(e=!0,b=-b|0);0>h&&(e=!e,h=-h|0);var f=b&65535,b=b>>>16,k=h&65535,h=h>>>16,c=f*k,k=(c>>>16)+(b*k|0)|0,m=k>>>16,k=(k&65535)+(f*h|0)|0,c=
k<<16|c&65535,m=((k>>>16)+(b*h|0)|0)+m|0;e&&(c=-c|0,m=~m+!c|0);a.b[0]=c;a.b[2]=m;a.f=m===c>>31?a.f&-2050:a.f|2049;a.o=0;break;case 6:192>a.a?b=H(a,a.i(a.a))>>>0:b=a.nb[a.a&7];e=b;b=a.nb[0];h=a.nb[2];(h>=e||!e)&&Mc(a);f=0;if(1048576<h){c=32;for(k=e;k>h;)k>>>=1,c--;for(;1048576<h;)h>=k&&(h-=k,m=e<<c>>>0,m>b&&h--,b=b-m>>>0,f|=1<<c),c--,k>>=1;f>>>=0}b+=4294967296*h;h=b%e;f+=b/e|0;4294967296<=f||0===e?Mc(a):(a.b[0]=f,a.b[2]=h);break;case 7:e=b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];c=a.nb[0];k=a.b[2];b=f=!1;
0>e&&(b=!0,e=-e);0>k&&(f=!0,b=!b,c=-c>>>0,k=~k+!c);(k>=e||!e)&&Mc(a);h=0;if(1048576<k){for(var m=32,q=e;q>k;)q>>>=1,m--;for(;1048576<k;){if(k>=q){var k=k-q,w=e<<m>>>0;w>c&&k--;c=c-w>>>0;h|=1<<m}m--;q>>=1}h>>>=0}c+=4294967296*k;k=c%e;h+=c/e|0;b&&(h=-h|0);f&&(k=-k|0);2147483648<=h||-2147483649>=h||0===e?Mc(a):(a.b[0]=h,a.b[2]=k)}};I[248]=K[248]=function(a){a.f&=-2;a.o&=-2};I[249]=K[249]=function(a){a.f|=1;a.o&=-2};I[250]=K[250]=function(a){!a.qa||(a.f&131072?3===zc(a):zc(a)>=a.P)?a.f&=-513:Ac(a,0)};
I[251]=K[251]=function(a){!a.qa||(a.f&131072?3===zc(a):zc(a)>=a.P)?(a.f|=512,kc(a),lc(a),Dc(a)):Ac(a,0)};I[252]=K[252]=function(a){a.f&=-1025};I[253]=K[253]=function(a){a.f|=1024};
I[254]=K[254]=function(a){a.a=x(a);var b=a.a&56;if(0===b){var e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];b=Ka(a,b,7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b}else 8===b?(192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1],b=La(a,b,7),192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b):S(a)};
I[255]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=Ka(a,b,15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b;break;case 1:f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=La(a,b,15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b;break;case 2:b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];N(a,xc(a));a.m=
a.u[1]+b|0;break;case 3:192<=a.a&&S(a);b=a.i(a.a);e=F(a,b+2);f=F(a,b);wc(a,jc(a,-4),4);N(a,a.I[1]);N(a,xc(a));Q(a,1,e);a.m=a.u[1]+f|0;break;case 4:b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.m=a.u[1]+b|0;break;case 5:192<=a.a&&S(a);b=a.i(a.a);e=F(a,b+2);f=F(a,b);Q(a,1,e);a.m=a.u[1]+f|0;break;case 6:b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];N(a,b);break;case 7:S(a)}};
K[255]=function(a){a.a=x(a);switch(a.a>>3&7){case 0:var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=Ka(a,b,31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b;break;case 1:f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=La(a,b,31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b;break;case 2:b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];P(a,xc(a));a.m=a.u[1]+b|0;break;
case 3:192<=a.a&&S(a);b=a.i(a.a);e=F(a,b+4);f=H(a,b);wc(a,jc(a,-8),8);P(a,a.I[1]);P(a,xc(a));Q(a,1,e);a.m=a.u[1]+f|0;break;case 4:b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.m=a.u[1]+b|0;break;case 5:192<=a.a&&S(a);b=a.i(a.a);e=F(a,b+4);f=H(a,b);Q(a,1,e);a.m=a.u[1]+f|0;break;case 6:b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];P(a,b);break;case 7:S(a)}};
L[0]=M[0]=function(a){a.a=x(a);a.qa&&!pc(a)||S(a);a.P&&Ac(a,0);switch(a.a>>3&7){case 0:if(192>a.a)var b=a.i(a.a);var e=a.I[7];192>a.a?Pb(a,b,e):a.e[a.a<<1&14]=e;192<=a.a&&(a.b[a.a&7]&=65535);break;case 1:192>a.a&&(b=a.i(a.a));e=a.I[6];192>a.a?Pb(a,b,e):a.e[a.a<<1&14]=e;192<=a.a&&(a.b[a.a&7]&=65535);break;case 2:e=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];dd(a,e);break;case 3:b=e=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];e=Lc(a,b);if(!e.se)throw a.debug.Q("TR can only be loaded from GDT");if(e.ub)throw a.debug.Q("#GP handler");
if(!e.Bb)throw a.debug.Q("#GP handler");if(!e.Gc)throw a.debug.Q("#GP handler");if(9!==e.type)throw a.debug.Q("#GP handler");a.u[6]=e.Ub;a.Fa[6]=e.Kb;a.I[6]=b;a.memory.S(e.yd+5|0,a.memory.M(e.yd+5|0)|2);break;default:S(a)}};
L[1]=M[1]=function(a){a.a=x(a);a.P&&Ac(a,0);var b=a.a>>3&7;if(4===b){if(192>a.a)var e=a.i(a.a);b=a.t[0];192>a.a?Pb(a,e,b):a.e[a.a<<1&14]=b}else if(6===b)b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14],a.t[0]=a.t[0]&-16|b&15,a.qa&&(a.t[0]|=1),ed(a);else switch(192<=a.a&&S(a),2!==b&&3!==b||!a.qa||(a.oa=9),e=a.i(a.a),a.oa=-1,b){case 0:wc(a,e,6);Pb(a,e,a.Cc);D(a,e+2,a.Yb);break;case 1:wc(a,e,6);Pb(a,e,a.Dc);D(a,e+2,a.Zb);break;case 2:b=F(a,e);e=H(a,e+2);a.Cc=b;a.Yb=e;a.Ma||(a.Yb&=16777215);break;case 3:b=F(a,
e);e=H(a,e+2);a.Dc=b;a.Zb=e;a.Ma||(a.Zb&=16777215);break;case 7:e=e>>>12;a.Ib[e]=0;a.zd[e]=0;a.Cb=-1;a.Ic=-1;break;default:S(a)}};L[2]=function(a){a.a=x(a);a.qa&&!pc(a)||S(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=fd(a,b,a.e[a.a>>2&14])};M[2]=function(a){a.a=x(a);a.qa&&!pc(a)||S(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.b[a.a>>3&7]=fd(a,b,a.b[a.a>>3&7])};
L[3]=function(a){a.a=x(a);a.qa&&!pc(a)||S(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=gd(a,b,a.e[a.a>>2&14])};M[3]=function(a){a.a=x(a);a.qa&&!pc(a)||S(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.b[a.a>>3&7]=gd(a,b,a.b[a.a>>3&7])};L[4]=M[4]=function(a){S(a)};L[5]=M[5]=function(a){S(a)};L[6]=M[6]=function(a){a.P?Ac(a,0):a.t[0]&=-9};L[7]=M[7]=function(a){S(a)};L[8]=M[8]=function(a){S(a)};L[9]=M[9]=function(a){a.P&&Ac(a,0)};L[10]=M[10]=function(a){S(a)};L[11]=M[11]=function(a){S(a)};
L[12]=M[12]=function(a){S(a)};L[13]=M[13]=function(a){S(a)};L[14]=M[14]=function(a){S(a)};L[15]=M[15]=function(a){S(a)};L[16]=M[16]=function(a){S(a)};L[17]=M[17]=function(a){S(a)};L[18]=M[18]=function(a){S(a)};L[19]=M[19]=function(a){S(a)};L[20]=M[20]=function(a){S(a)};L[21]=M[21]=function(a){S(a)};L[22]=M[22]=function(a){S(a)};L[23]=M[23]=function(a){S(a)};L[24]=M[24]=function(a){a.a=x(a);192>a.a&&a.i(a.a)};L[25]=M[25]=function(a){S(a)};L[26]=M[26]=function(a){S(a)};L[27]=M[27]=function(a){S(a)};
L[28]=M[28]=function(a){S(a)};L[29]=M[29]=function(a){S(a)};L[30]=M[30]=function(a){S(a)};L[31]=M[31]=function(a){S(a)};L[32]=M[32]=function(a){a.a=x(a);a.P&&Ac(a,0);switch(a.a>>3&7){case 0:a.b[a.a&7]=a.t[0];break;case 2:a.b[a.a&7]=a.t[2];break;case 3:a.b[a.a&7]=a.t[3];break;case 4:a.b[a.a&7]=a.t[4];break;default:S(a)}};L[33]=M[33]=function(a){a.a=x(a);a.P&&Ac(a,0);a.b[a.a&7]=a.gc[a.a>>3&7]};
L[34]=M[34]=function(a){a.a=x(a);a.P&&Ac(a,0);var b=a.b[a.a&7];switch(a.a>>3&7){case 0:a.t[0]=b;if(-2147483648===(a.t[0]&-2147483647))throw a.debug.Q("#GP handler");ed(a);break;case 2:a.t[2]=b;break;case 3:a.t[3]=b;hd(a);break;case 4:b&-3565568&&Ac(a,0);(a.t[4]^b)&128&&(b&128?hd(a):Ha(a));a.t[4]=b;a.td=a.t[4]&16?128:0;if(a.t[4]&32)throw a.debug.Q("PAE");break;default:S(a)}};L[35]=M[35]=function(a){a.a=x(a);a.P&&Ac(a,0);a.gc[a.a>>3&7]=a.b[a.a&7]};L[36]=M[36]=function(a){S(a)};L[37]=M[37]=function(a){S(a)};
L[38]=M[38]=function(a){S(a)};L[39]=M[39]=function(a){S(a)};L[40]=M[40]=function(a){S(a)};L[41]=M[41]=function(a){S(a)};L[42]=M[42]=function(a){S(a)};L[43]=M[43]=function(a){S(a)};L[44]=M[44]=function(a){S(a)};L[45]=M[45]=function(a){S(a)};L[46]=M[46]=function(a){S(a)};L[47]=M[47]=function(a){S(a)};L[48]=M[48]=function(a){a.P&&Ac(a,0);var b=a.b[0];switch(a.b[1]){case 372:a.uc=b&65535;break;case 374:a.Rc=b;break;case 373:a.Sc=b}};
L[49]=M[49]=function(a){if(a.P&&a.t[4]&4)Ac(a,0);else{var b=Ga()-a.Be;a.b[0]=1024*b;a.b[2]=2.384185791015625E-7*b}};L[50]=M[50]=function(a){a.P&&Ac(a,0);var b=0;switch(a.b[1]){case 372:b=a.uc;break;case 374:b=a.Rc;break;case 373:b=a.Sc}a.b[0]=b;a.b[2]=0};L[51]=M[51]=function(a){S(a)};
L[52]=M[52]=function(a){var b=a.uc&65532;a.qa&&0!==b||Ac(a,0);a.f&=-131585;a.m=a.Rc;a.b[4]=a.Sc;a.I[1]=b;a.Gb[1]=0;a.Fa[1]=-1;a.u[1]=0;a.za||Kc(a,!0);a.P=0;Jc(a);a.I[2]=b+8;a.Gb[2]=0;a.Fa[2]=-1;a.u[2]=0;a.Hb=!0;a.w=a.b;a.B=4;a.ob=5};L[53]=M[53]=function(a){var b=a.uc&65532;a.qa&&!a.P&&0!==b||Ac(a,0);a.m=a.b[2];a.b[4]=a.b[1];a.I[1]=b+16|3;a.Gb[1]=0;a.Fa[1]=-1;a.u[1]=0;a.za||Kc(a,!0);a.P=3;Jc(a);a.I[2]=b+24|3;a.Gb[2]=0;a.Fa[2]=-1;a.u[2]=0;a.Hb=!0;a.w=a.b;a.B=4;a.ob=5};L[54]=M[54]=function(a){S(a)};
L[55]=M[55]=function(a){S(a)};L[56]=M[56]=function(a){S(a)};L[57]=M[57]=function(a){S(a)};L[58]=M[58]=function(a){S(a)};L[59]=M[59]=function(a){S(a)};L[60]=M[60]=function(a){S(a)};L[61]=M[61]=function(a){S(a)};L[62]=M[62]=function(a){S(a)};L[63]=M[63]=function(a){S(a)};L[64]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.pb()&&(a.e[a.a>>2&14]=b)};M[64]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.pb()&&(a.b[a.a>>3&7]=b)};
L[65]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.pb()||(a.e[a.a>>2&14]=b)};M[65]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.pb()||(a.b[a.a>>3&7]=b)};L[66]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.$a()&&(a.e[a.a>>2&14]=b)};M[66]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.$a()&&(a.b[a.a>>3&7]=b)};L[67]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.$a()||(a.e[a.a>>2&14]=b)};
M[67]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.$a()||(a.b[a.a>>3&7]=b)};L[68]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.bb()&&(a.e[a.a>>2&14]=b)};M[68]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.bb()&&(a.b[a.a>>3&7]=b)};L[69]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.bb()||(a.e[a.a>>2&14]=b)};M[69]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.bb()||(a.b[a.a>>3&7]=b)};
L[70]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];qc(a)&&(a.e[a.a>>2&14]=b)};M[70]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];qc(a)&&(a.b[a.a>>3&7]=b)};L[71]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];qc(a)||(a.e[a.a>>2&14]=b)};M[71]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];qc(a)||(a.b[a.a>>3&7]=b)};L[72]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.qb()&&(a.e[a.a>>2&14]=b)};
M[72]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.qb()&&(a.b[a.a>>3&7]=b)};L[73]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.qb()||(a.e[a.a>>2&14]=b)};M[73]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.qb()||(a.b[a.a>>3&7]=b)};L[74]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.ab()&&(a.e[a.a>>2&14]=b)};M[74]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.ab()&&(a.b[a.a>>3&7]=b)};
L[75]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.ab()||(a.e[a.a>>2&14]=b)};M[75]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.ab()||(a.b[a.a>>3&7]=b)};L[76]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];rc(a)&&(a.e[a.a>>2&14]=b)};M[76]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];rc(a)&&(a.b[a.a>>3&7]=b)};L[77]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];rc(a)||(a.e[a.a>>2&14]=b)};
M[77]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];rc(a)||(a.b[a.a>>3&7]=b)};L[78]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];sc(a)&&(a.e[a.a>>2&14]=b)};M[78]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];sc(a)&&(a.b[a.a>>3&7]=b)};L[79]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];sc(a)||(a.e[a.a>>2&14]=b)};M[79]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];sc(a)||(a.b[a.a>>3&7]=b)};L[80]=M[80]=function(a){S(a)};
L[81]=M[81]=function(a){S(a)};L[82]=M[82]=function(a){S(a)};L[83]=M[83]=function(a){S(a)};L[84]=M[84]=function(a){S(a)};L[85]=M[85]=function(a){S(a)};L[86]=M[86]=function(a){S(a)};L[87]=M[87]=function(a){S(a)};L[88]=M[88]=function(a){S(a)};L[89]=M[89]=function(a){S(a)};L[90]=M[90]=function(a){S(a)};L[91]=M[91]=function(a){S(a)};L[92]=M[92]=function(a){S(a)};L[93]=M[93]=function(a){S(a)};L[94]=M[94]=function(a){S(a)};L[95]=M[95]=function(a){S(a)};L[96]=M[96]=function(a){S(a)};L[97]=M[97]=function(a){S(a)};
L[98]=M[98]=function(a){S(a)};L[99]=M[99]=function(a){S(a)};L[100]=M[100]=function(a){S(a)};L[101]=M[101]=function(a){S(a)};L[102]=M[102]=function(a){S(a)};L[103]=M[103]=function(a){S(a)};L[104]=M[104]=function(a){S(a)};L[105]=M[105]=function(a){S(a)};L[106]=M[106]=function(a){S(a)};L[107]=M[107]=function(a){S(a)};L[108]=M[108]=function(a){S(a)};L[109]=M[109]=function(a){S(a)};L[110]=M[110]=function(a){S(a)};L[111]=M[111]=function(a){S(a)};L[112]=M[112]=function(a){S(a)};L[113]=M[113]=function(a){S(a)};
L[114]=M[114]=function(a){S(a)};L[115]=M[115]=function(a){S(a)};L[116]=M[116]=function(a){S(a)};L[117]=M[117]=function(a){S(a)};L[118]=M[118]=function(a){S(a)};L[119]=M[119]=function(a){S(a)};L[120]=M[120]=function(a){S(a)};L[121]=M[121]=function(a){S(a)};L[122]=M[122]=function(a){S(a)};L[123]=M[123]=function(a){S(a)};L[124]=M[124]=function(a){S(a)};L[125]=M[125]=function(a){S(a)};L[126]=M[126]=function(a){S(a)};L[127]=M[127]=function(a){S(a)};L[128]=function(a){id(a,a.pb())};
M[128]=function(a){jd(a,a.pb())};L[129]=function(a){id(a,!a.pb())};M[129]=function(a){jd(a,!a.pb())};L[130]=function(a){id(a,a.$a())};M[130]=function(a){jd(a,a.$a())};L[131]=function(a){id(a,!a.$a())};M[131]=function(a){jd(a,!a.$a())};L[132]=function(a){id(a,a.bb())};M[132]=function(a){jd(a,a.bb())};L[133]=function(a){id(a,!a.bb())};M[133]=function(a){jd(a,!a.bb())};L[134]=function(a){id(a,qc(a))};M[134]=function(a){jd(a,qc(a))};L[135]=function(a){id(a,!qc(a))};M[135]=function(a){jd(a,!qc(a))};
L[136]=function(a){id(a,a.qb())};M[136]=function(a){jd(a,a.qb())};L[137]=function(a){id(a,!a.qb())};M[137]=function(a){jd(a,!a.qb())};L[138]=function(a){id(a,a.ab())};M[138]=function(a){jd(a,a.ab())};L[139]=function(a){id(a,!a.ab())};M[139]=function(a){jd(a,!a.ab())};L[140]=function(a){id(a,rc(a))};M[140]=function(a){jd(a,rc(a))};L[141]=function(a){id(a,!rc(a))};M[141]=function(a){jd(a,!rc(a))};L[142]=function(a){id(a,sc(a))};M[142]=function(a){jd(a,sc(a))};L[143]=function(a){id(a,!sc(a))};
M[143]=function(a){jd(a,!sc(a))};L[144]=M[144]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!a.pb()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[145]=M[145]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!a.pb()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[146]=M[146]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!a.$a()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};
L[147]=M[147]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!a.$a()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[148]=M[148]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!a.bb()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[149]=M[149]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!a.bb()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[150]=M[150]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!qc(a)^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};
L[151]=M[151]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!qc(a)^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[152]=M[152]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!a.qb()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[153]=M[153]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!a.qb()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[154]=M[154]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!a.ab()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};
L[155]=M[155]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!a.ab()^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[156]=M[156]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!rc(a)^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[157]=M[157]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!rc(a)^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[158]=M[158]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!sc(a)^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};
L[159]=M[159]=function(a){a.a=x(a);if(192>a.a)var b=a.i(a.a);var e=!!sc(a)^1;192>a.a?Nb(a,b,e):a.k[a.a<<2&12|a.a>>2&1]=e};L[160]=function(a){N(a,a.I[4])};M[160]=function(a){P(a,a.I[4])};L[161]=function(a){Q(a,4,F(a,jc(a,0)));a.w[a.B]+=2};M[161]=function(a){Q(a,4,F(a,jc(a,0)));a.w[a.B]+=4};
L[162]=M[162]=function(a){var b=0,e=0,f=0,c=0;switch(a.b[0]){case 0:b=5;c=1970169159;f=1231384169;e=1818588270;break;case 1:b=3939;c=67584;e=1082130432;f=(a.sa?1:0)|43322;f|=512;break;case 2:b=1717260289;e=c=0;f=8024064;break;case 4:switch(a.b[1]){case 0:b=289;c=29360191;e=63;f=1;break;case 1:b=290;c=29360191;e=63;f=1;break;case 2:b=323,c=96469055,e=4095,f=1}break;case -2147483648:b=5}a.b[0]=b;a.b[1]=e;a.b[2]=f;a.b[3]=c};
L[163]=function(a){a.a=x(a);192>a.a?Cb(a,a.i(a.a),a.ta[a.a>>2&14]):yb(a,a.e[a.a<<1&14],a.e[a.a>>2&14]&15)};M[163]=function(a){a.a=x(a);192>a.a?Cb(a,a.i(a.a),a.b[a.a>>3&7]):yb(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};L[164]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=wb(a,b,a.e[a.a>>2&14],x(a)&31);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
M[164]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=xb(a,b,a.b[a.a>>3&7],x(a)&31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};L[165]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=wb(a,b,a.e[a.a>>2&14],a.k[4]&31);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
M[165]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=xb(a,b,a.b[a.a>>3&7],a.k[4]&31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};L[166]=M[166]=function(a){S(a)};L[167]=M[167]=function(a){S(a)};L[168]=function(a){N(a,a.I[5])};M[168]=function(a){P(a,a.I[5])};L[169]=function(a){Q(a,5,F(a,jc(a,0)));a.w[a.B]+=2};M[169]=function(a){Q(a,5,F(a,jc(a,0)));a.w[a.B]+=4};L[170]=M[170]=function(a){S(a)};
L[171]=function(a){a.a=x(a);192>a.a?Fb(a,a.i(a.a),a.ta[a.a>>2&14]):a.e[a.a<<1&14]=Ab(a,a.e[a.a<<1&14],a.ta[a.a>>2&14]&15)};M[171]=function(a){a.a=x(a);192>a.a?Fb(a,a.i(a.a),a.b[a.a>>3&7]):a.b[a.a&7]=Ab(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};L[172]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=ub(a,b,a.e[a.a>>2&14],x(a)&31);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
M[172]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=vb(a,b,a.b[a.a>>3&7],x(a)&31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};L[173]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];b=ub(a,b,a.e[a.a>>2&14],a.k[4]&31);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};
M[173]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];b=vb(a,b,a.b[a.a>>3&7],a.k[4]&31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};L[174]=M[174]=function(a){a.a=x(a);switch(a.a>>3&7){case 6:break;default:S(a)}};L[175]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a))<<16>>16:a.ta[a.a<<1&14];a.e[a.a>>2&14]=Na(a,a.ta[a.a>>2&14],b)};
M[175]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Pa(a,a.b[a.a>>3&7],b)};L[176]=M[176]=function(a){a.a=x(a);if(192>a.a){var b=a.i(a.a);wc(a,b,1);var e=y(a,b)}else e=a.k[a.a<<2&12|a.a>>2&1];a.sub(a.k[0],e,7);a.Lb()?192>a.a?Nb(a,b,a.k[a.a>>1&12|a.a>>5&1]):a.k[a.a<<2&12|a.a>>2&1]=a.k[a.a>>1&12|a.a>>5&1]:a.k[0]=e};
L[177]=function(a){a.a=x(a);if(192>a.a){var b=a.i(a.a);wc(a,b,2);var e=F(a,b)}else e=a.e[a.a<<1&14];a.sub(a.e[0],e,15);a.Lb()?192>a.a?Pb(a,b,a.e[a.a>>2&14]):a.e[a.a<<1&14]=a.e[a.a>>2&14]:a.e[0]=e};M[177]=function(a){a.a=x(a);if(192>a.a){var b=a.i(a.a);wc(a,b,4);var e=H(a,b)}else e=a.b[a.a&7];a.sub(a.b[0],e,31);a.Lb()?192>a.a?D(a,b,a.b[a.a>>3&7]):a.b[a.a&7]=a.b[a.a>>3&7]:a.b[0]=e};L[178]=function(a){a.a=x(a);192<=a.a&&S(a);Gc(a,2,a.i(a.a),a.a>>2&14)};
M[178]=function(a){a.a=x(a);192<=a.a&&S(a);Hc(a,2,a.i(a.a),a.a>>3&7)};L[179]=function(a){a.a=x(a);192>a.a?Eb(a,a.i(a.a),a.ta[a.a>>2&14]):a.e[a.a<<1&14]=Bb(a,a.e[a.a<<1&14],a.ta[a.a>>2&14]&15)};M[179]=function(a){a.a=x(a);192>a.a?Eb(a,a.i(a.a),a.b[a.a>>3&7]):a.b[a.a&7]=Bb(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};L[180]=function(a){a.a=x(a);192<=a.a&&S(a);Gc(a,4,a.i(a.a),a.a>>2&14)};M[180]=function(a){a.a=x(a);192<=a.a&&S(a);Hc(a,4,a.i(a.a),a.a>>3&7)};
L[181]=function(a){a.a=x(a);192<=a.a&&S(a);Gc(a,5,a.i(a.a),a.a>>2&14)};M[181]=function(a){a.a=x(a);192<=a.a&&S(a);Hc(a,5,a.i(a.a),a.a>>3&7)};L[182]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.e[a.a>>2&14]=b};M[182]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a)):a.k[a.a<<2&12|a.a>>2&1];a.b[a.a>>3&7]=b};L[183]=M[183]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.b[a.a>>3&7]=b};
L[184]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14];a.e[a.a>>2&14]=Gb(a,b)};M[184]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7];a.b[a.a>>3&7]=Gb(a,b)};L[185]=M[185]=function(a){S(a)};
L[186]=function(a){a.a=x(a);switch(a.a>>3&7){case 4:192>a.a?Cb(a,a.i(a.a),x(a)&15):yb(a,a.e[a.a<<1&14],x(a)&15);break;case 5:192>a.a?Fb(a,a.i(a.a),x(a)&15):a.e[a.a<<1&14]=Ab(a,a.e[a.a<<1&14],x(a)&15);break;case 6:192>a.a?Eb(a,a.i(a.a),x(a)&15):a.e[a.a<<1&14]=Bb(a,a.e[a.a<<1&14],x(a)&15);break;case 7:192>a.a?Db(a,a.i(a.a),x(a)&15):a.e[a.a<<1&14]=zb(a,a.e[a.a<<1&14],x(a)&15);break;default:S(a)}};
M[186]=function(a){a.a=x(a);switch(a.a>>3&7){case 4:192>a.a?Cb(a,a.i(a.a),x(a)&31):yb(a,a.b[a.a&7],x(a)&31);break;case 5:192>a.a?Fb(a,a.i(a.a),x(a)&31):a.b[a.a&7]=Ab(a,a.b[a.a&7],x(a)&31);break;case 6:192>a.a?Eb(a,a.i(a.a),x(a)&31):a.b[a.a&7]=Bb(a,a.b[a.a&7],x(a)&31);break;case 7:192>a.a?Db(a,a.i(a.a),x(a)&31):a.b[a.a&7]=zb(a,a.b[a.a&7],x(a)&31);break;default:S(a)}};L[187]=function(a){a.a=x(a);192>a.a?Db(a,a.i(a.a),a.ta[a.a>>2&14]):a.e[a.a<<1&14]=zb(a,a.e[a.a<<1&14],a.ta[a.a>>2&14]&15)};
M[187]=function(a){a.a=x(a);192>a.a?Db(a,a.i(a.a),a.b[a.a>>3&7]):a.b[a.a&7]=zb(a,a.b[a.a&7],a.b[a.a>>3&7]&31)};L[188]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14],e=a.e,f=a.a>>2&14;var c=a.e[a.a>>2&14];a.o=0;0===b?(a.f|=64,a=c):(a.f&=-65,a=kd(-b&b));e[f]=a};M[188]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7],e=a.b,f=a.a>>3&7;var c=a.b[a.a>>3&7];a.o=0;0===b?(a.f|=64,a=c):(a.f&=-65,a=kd((-b&b)>>>0));e[f]=a};
L[189]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a)):a.e[a.a<<1&14],e=a.e,f=a.a>>2&14;var c=a.e[a.a>>2&14];a.o=0;0===b?(a.f|=64,a=c):(a.f&=-65,a=kd(b));e[f]=a};M[189]=function(a){a.a=x(a);var b=192>a.a?H(a,a.i(a.a)):a.b[a.a&7],e=a.b,f=a.a>>3&7;var c=a.b[a.a>>3&7];a.o=0;0===b?(a.f|=64,a=c):(a.f&=-65,a=kd(b>>>0));e[f]=a};L[190]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a))<<24>>24:a.Pb[a.a<<2&12|a.a>>2&1];a.e[a.a>>2&14]=b};
M[190]=function(a){a.a=x(a);var b=192>a.a?y(a,a.i(a.a))<<24>>24:a.Pb[a.a<<2&12|a.a>>2&1];a.b[a.a>>3&7]=b};L[191]=M[191]=function(a){a.a=x(a);var b=192>a.a?F(a,a.i(a.a))<<16>>16:a.ta[a.a<<1&14];a.b[a.a>>3&7]=b};L[192]=M[192]=function(a){a.a=x(a);var b,e;192>a.a?(e=A(a,a.i(a.a)),b=a.memory.M(e)):b=a.k[a.a<<2&12|a.a>>2&1];var f=a.a>>1&12|a.a>>5&1,c=a.k[f];a.k[f]=b;b=a.add(b,c,7);192>a.a?a.memory.S(e,b):a.k[a.a<<2&12|a.a>>2&1]=b};
L[193]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4095===(b&4095)?(f=A(a,b+1),b=ec(a,e,f)):b=a.memory.L(e)):b=a.e[a.a<<1&14];var c=a.a>>2&14,h=a.e[c];a.e[c]=b;b=a.add(b,h,15);192>a.a?f?fc(a,e,f,b):a.memory.ga(e,b):a.e[a.a<<1&14]=b};M[193]=function(a){a.a=x(a);var b,e,f=0;192>a.a?(b=a.i(a.a),e=A(a,b),a.v&&4093<=(b&4095)?(f=A(a,b+3),b=gc(a,e,f)):b=hc(a.memory,e)):b=a.b[a.a&7];var c=a.a>>3&7,h=a.b[c];a.b[c]=b;b=a.add(b,h,31);192>a.a?f?ic(a,e,f,b):a.memory.ha(e,b):a.b[a.a&7]=b};
L[194]=M[194]=function(a){S(a)};L[195]=M[195]=function(a){S(a)};L[196]=M[196]=function(a){S(a)};L[197]=M[197]=function(a){S(a)};L[198]=M[198]=function(a){S(a)};
L[199]=M[199]=function(a){a.a=x(a);switch(a.a>>3&7){case 1:192<=a.a&&S(a);var b=a.i(a.a);wc(a,b,8);var e=H(a,b),f=H(a,b+4);a.b[0]===e&&a.b[2]===f?(a.f|=64,D(a,b,a.b[3]),D(a,b+4,a.b[1])):(a.f&=-65,a.b[0]=e,a.b[2]=f);a.o&=-65;break;case 6:f=(e=ld())?md():0;a.Ma?(192>a.a&&(b=a.i(a.a)),192>a.a?D(a,b,f):a.nb[a.a&7]=f):(192>a.a&&(b=a.i(a.a)),192>a.a?Pb(a,b,f):a.e[a.a<<1&14]=f);a.f&=-2262;a.f|=e;a.o=0;break;default:S(a)}};L[200]=M[200]=function(a){nd(a,0)};L[201]=M[201]=function(a){nd(a,1)};
L[202]=M[202]=function(a){nd(a,2)};L[203]=M[203]=function(a){nd(a,3)};L[204]=M[204]=function(a){nd(a,4)};L[205]=M[205]=function(a){nd(a,5)};L[206]=M[206]=function(a){nd(a,6)};L[207]=M[207]=function(a){nd(a,7)};L[208]=M[208]=function(a){S(a)};L[209]=M[209]=function(a){S(a)};L[210]=M[210]=function(a){S(a)};L[211]=M[211]=function(a){S(a)};L[212]=M[212]=function(a){S(a)};L[213]=M[213]=function(a){S(a)};L[214]=M[214]=function(a){S(a)};L[215]=M[215]=function(a){S(a)};L[216]=M[216]=function(a){S(a)};
L[217]=M[217]=function(a){S(a)};L[218]=M[218]=function(a){S(a)};L[219]=M[219]=function(a){S(a)};L[220]=M[220]=function(a){S(a)};L[221]=M[221]=function(a){S(a)};L[222]=M[222]=function(a){S(a)};L[223]=M[223]=function(a){S(a)};L[224]=M[224]=function(a){S(a)};L[225]=M[225]=function(a){S(a)};L[226]=M[226]=function(a){S(a)};L[227]=M[227]=function(a){S(a)};L[228]=M[228]=function(a){S(a)};L[229]=M[229]=function(a){S(a)};L[230]=M[230]=function(a){S(a)};L[231]=M[231]=function(a){S(a)};L[232]=M[232]=function(a){S(a)};
L[233]=M[233]=function(a){S(a)};L[234]=M[234]=function(a){S(a)};L[235]=M[235]=function(a){S(a)};L[236]=M[236]=function(a){S(a)};L[237]=M[237]=function(a){S(a)};L[238]=M[238]=function(a){S(a)};L[239]=M[239]=function(a){S(a)};L[240]=M[240]=function(a){S(a)};L[241]=M[241]=function(a){S(a)};L[242]=M[242]=function(a){S(a)};L[243]=M[243]=function(a){S(a)};L[244]=M[244]=function(a){S(a)};L[245]=M[245]=function(a){S(a)};L[246]=M[246]=function(a){S(a)};L[247]=M[247]=function(a){S(a)};L[248]=M[248]=function(a){S(a)};
L[249]=M[249]=function(a){S(a)};L[250]=M[250]=function(a){S(a)};L[251]=M[251]=function(a){S(a)};L[252]=M[252]=function(a){S(a)};L[253]=M[253]=function(a){S(a)};L[254]=M[254]=function(a){S(a)};L[255]=M[255]=function(a){S(a)};"use strict";function cd(a,b){var e=a.u[1];a.m-=e;a.m=a.m+b&65535;a.m=a.m+e|0}function id(a,b){b?cd(a,t(a)):a.m=a.m+2|0}function jd(a,b){if(b){var e=v(a);a.m=a.m+e|0}else a.m=a.m+4|0}n=p.prototype;n.loop=function(a){--this.j[this.G]&&(this.m=this.m+a|0)};
n.Da=function(){return this.o&1?(this.Ta^(this.Ta^this.La)&(this.La^this.n))>>>this.aa&1:this.f&1};n.Re=function(){return this.o&4?154020>>((this.D^this.D>>4)&15)&4:this.f&4};function nc(a){return a.o&16?(a.Ta^a.La^a.n)&16:a.f&16}n.Lb=function(){return this.o&64?(~this.D&this.D-1)>>>this.aa&1:this.f&64};n.Kd=function(){return this.o&128?this.D>>>this.aa&1:this.f&128};n.md=function(){return this.o&2048?((this.Ta^this.n)&(this.La^this.n))>>>this.aa&1:this.f&2048};n.pb=p.prototype.md;n.$a=p.prototype.Da;
n.bb=p.prototype.Lb;n.qb=p.prototype.Kd;n.ab=p.prototype.Re;function qc(a){return a.Da()||a.Lb()}function rc(a){return!a.Kd()!==!a.md()}function sc(a){return a.Lb()||!a.Kd()!==!a.md()}function N(a,b){var e=jc(a,-2);Pb(a,e,b);a.w[a.B]-=2}function P(a,b){var e=jc(a,-4);D(a,e,b);a.w[a.B]-=4}function oc(a){var b=F(a,a.u[2]+a.w[a.B]|0);a.w[a.B]+=2;return b}function R(a){var b=H(a,a.u[2]+a.w[a.B]|0);a.w[a.B]+=4;return b}function uc(a,b){var e=a.e[0];a.e[0]=a.e[b];a.e[b]=e}
function vc(a,b){var e=a.b[0];a.b[0]=a.b[b];a.b[b]=e}function Gc(a,b,e,f){var c=F(a,e);e=F(a,e+2|0);Q(a,b,e);a.e[f]=c}function Hc(a,b,e,f){var c=H(a,e);e=F(a,e+4|0);Q(a,b,e);a.b[f]=c}function nd(a,b){var e=a.b[b];a.b[b]=e>>>24|e<<24|e>>8&65280|e<<8&16711680}n.Me=function(a){if(233495534===a)this.s=!1,kc(this);else throw console.log(a),console.log(a.stack),a;};
n.reset=function(){this.Gb=new Uint8Array(8);this.Fa=new Uint32Array(8);this.u=new Int32Array(8);Ha(this);this.b=new Int32Array(8);this.nb=new Uint32Array(this.b.buffer);this.ta=new Int16Array(this.b.buffer);this.e=new Uint16Array(this.b.buffer);this.Pb=new Int8Array(this.b.buffer);this.k=new Uint8Array(this.b.buffer);this.I=new Uint16Array(8);this.gc=new Int32Array(8);this.qa=!1;this.Yb=this.Cc=this.Zb=this.Dc=0;this.s=!1;this.t[0]=1610612752;this.t[2]=0;this.t[3]=0;this.t[4]=0;this.gc[6]=-61456;
this.gc[7]=1024;this.P=0;this.v=!1;this.td=0;this.hb=this.Hb=this.Ma=this.za=!1;this.Ic=this.Cb=-1;Ea(this);Da(this);this.w=this.e;this.B=8;this.ob=10;this.ea=this.R=0;this.Ec=!1;this.Rc=this.Sc=this.uc=0;this.oa=-1;this.$=0;this.f=2;this.aa=this.La=this.Ta=this.n=this.D=this.o=0;this.Be=Ga();this.m=1048560;Q(this,2,48);this.e[8]=256;this.d.Yd&&this.d.Yd.reset()};
n.jb=function(a,b){this.mb=a.mb||67108864;this.memory=new od(this.mb);this.reset();var e=new pd(this.memory);this.r=e;this.zc.af=a.zc;this.zc.Tb=a.ph;qd(this);var f=0;W(e,146,this,function(){return f});Z(e,146,this,function(c){f=c});this.d={};a.fg&&(this.d.Mc=new rd(this),this.d.Ua=new sd(this),td(this,a),this.d.Jc=new ud(this),this.d.Bc=new vd(this),this.d.Tb=new wd(this,b,a.ra||8388608),this.sa=new xd(this),this.d.Qd=new yd(this,b),this.d.zf=new zd(this,1016,b),this.d.Ne=new Ad(this,a.Qa),a.ua&&
(this.d.ua=new Bd(this,a.ua,!0,1,b)),a.Ka&&(this.d.Ka=new Bd(this,a.Ka,!1,0,b)),this.d.Pd=new Cd(this),a.Xf&&(this.d.ef=new Dd(this,b)),a.Xb&&(this.d.Yd=new Ed(this,b,a.Xb)))};function td(a,b){var e=b.Ff||531;a.d.Ua.Va[56]=1|e>>4&240;a.d.Ua.Va[61]=e&255;e=a.mb-16777216;a.d.Ua.Va[52]=e>>16&255;a.d.Ua.Va[53]=e>>24&255;a.d.Ua.Va[91]=0;a.d.Ua.Va[92]=0;a.d.Ua.Va[93]=0;a.d.Ua.Va[20]=45}
function qd(a){var b=a.zc.af,e=a.zc.Tb;if(b){var f=new Uint8Array(b);a.memory.na.set(f,1048576-b.byteLength);e&&(f=new Uint8Array(e),a.memory.na.set(f,786432));Fd(a.r,4293918720,1048576,function(c){return this.memory.na[c&1048575]}.bind(a),function(c,h){this.memory.na[c&1048575]=h}.bind(a))}}n.Le=function(){for(var a=Date.now(),b=a;33>b-a;){this.d.Pd.xb(b,!1);this.d.Ua.xb(b,!1);Dc(this);for(b=11001;b--;)lc(this);b=Date.now()}};
"undefined"!==typeof window&&(window.d=p.prototype.Le,window.g=p.prototype.Me,window.l=p.prototype.O);function lc(a){a.ea=a.m;a.R++;var b=x(a);a.table[b](a)}function mc(a){a.table[x(a)](a)}p.prototype.O=function(){var a=Date.now();this.d.Pd.xb(a,!1);this.d.Ua.xb(a,!1);return 0};function kc(a){a.$=0;a.oa=-1;a.hb!==a.za&&(a.hb=a.za,Da(a));a.Ma!==a.za&&(a.Ma=a.za,Ea(a))}function ed(a){var b=-2147483648===(a.t[0]&-2147483648);a.sa||(a.t[0]|=4);a.t[0]|=16;b!==a.v&&(a.v=b,Ha(a))}
function Jc(a){a.Cb=-1;a.Ic=-1}function x(a){a.m&-4096^a.Cb&&(a.F=Xb(a,a.m)^a.m,a.Cb=a.m&-4096);var b=a.memory.M(a.F^a.m);a.m=a.m+1|0;return b}function s(a){return x(a)<<24>>24}function t(a){if(4094<(a.m^a.Cb)>>>0)return x(a)|x(a)<<8;var b=a.memory.L(a.F^a.m);a.m=a.m+2|0;return b}function v(a){if(4092<(a.m^a.Cb)>>>0)return t(a)|t(a)<<16;var b=hc(a.memory,a.F^a.m);a.m=a.m+4|0;return b}function ec(a,b,e){return a.memory.M(b)|a.memory.M(e)<<8}
function gc(a,b,e){var f;f=b&1?b&2?ac(a.memory,e-2>>1):ac(a.memory,b+1>>1):ec(a,b+1|0,e-1|0);return a.memory.M(b)|f<<8|a.memory.M(e)<<24}function fc(a,b,e,f){a.memory.S(b,f);a.memory.S(e,f>>8)}function ic(a,b,e,f){a.memory.S(b,f);a.memory.S(e,f>>24);b&1?b&2?(a.memory.S(e-2,f>>8),a.memory.S(e-1,f>>16)):(a.memory.S(b+1|0,f>>8),a.memory.S(b+2|0,f>>16)):(a.memory.S(b+1|0,f>>8),a.memory.S(e-1,f>>16))}function y(a,b){return a.memory.M(Xb(a,b))}
function F(a,b){return a.v&&4095===(b&4095)?y(a,b)|y(a,b+1|0)<<8:a.memory.L(Xb(a,b))}function H(a,b){return a.v&&4093<=(b&4095)?F(a,b)|F(a,b+2|0)<<16:hc(a.memory,Xb(a,b))}function Nb(a,b,e){a.memory.S(A(a,b),e)}function Pb(a,b,e){var f=A(a,b);4095===(b&4095)?fc(a,f,A(a,b+1|0),e):a.memory.ga(f,e)}function D(a,b,e){var f=A(a,b);4093<=(b&4095)?ic(a,f,A(a,b+3|0),e):a.memory.ha(f,e)}function Ec(a){return a.hb?Wb(a,3)+v(a)|0:Wb(a,3)+t(a)|0}function zc(a){return a.f>>12&3}
function pc(a){return!!(a.f&131072)}function Gd(a){return a.f&-2262|!!a.Da()|!!a.Re()<<2|!!nc(a)<<4|!!a.Lb()<<6|!!a.Kd()<<7|!!a.md()<<11}function Bc(a){a.f=Gd(a);a.o=0}function Cc(a,b){var e=1769472,f=2588629;a.f&131072?(e|=12288,f|=1572864):a.P&&(e|=12288,a.P>zc(a)&&(e|=512));a.f=(b^(a.f^b)&e)&f|2;a.o=0}function jc(a,b){return a.Hb?a.u[2]+a.w[a.B]+b|0:a.u[2]+(a.w[a.B]+b&65535)|0}function xc(a){return a.m-a.u[1]|0}
function Ic(a,b,e,f){a.Ec=!1;if(a.qa){if(pc(a)&&a.t[4]&1)throw a.debug.Q("VME");pc(a)&&e&&3>zc(a)&&Ac(a,0);if((b<<3|7)>a.Dc)throw a.debug.Q("#GP handler");var c=a.Zb+(b<<3)|0;a.v&&(c=Hd(a,c));var h=a.memory.L(c)|a.memory.L(c+6|0)<<16,k=a.memory.L(c+2|0),m=a.memory.M(c+5|0),q=m>>5&3,c=!1;if(0===(m&128))throw a.debug.Q("#NP handler");e&&q<a.P&&Ac(a,b<<3|2);m&=31;if(14===m)c=b=!1;else if(15===m)b=!0,c=!1;else{if(5===m){h=Lc(a,k);if(!h.Hc||h.ub||!h.se)throw a.debug.Q("#GP handler");if(11===(h.zb&31))throw a.debug.Q("#GP handler");
if(!h.Bb)throw a.debug.Q("#NP handler");if(103>h.Kb)throw a.debug.Q("#NP handler");c=a.u[6];b=Gd(a);wc(a,c,102);D(a,c+32,xc(a));D(a,c+36,b);D(a,c+40,a.b[0]);D(a,c+44,a.b[1]);D(a,c+48,a.b[2]);D(a,c+52,a.b[3]);D(a,c+56,a.b[4]);D(a,c+60,a.b[5]);D(a,c+64,a.b[6]);D(a,c+68,a.b[7]);D(a,c+72,a.I[0]);D(a,c+76,a.I[1]);D(a,c+80,a.I[2]);D(a,c+84,a.I[3]);D(a,c+88,a.I[4]);D(a,c+92,a.I[5]);D(a,c+96,a.I[7]);a.memory.S(h.yd+5|0,a.memory.M(h.yd+5|0)|2);b=h.Ub;e=H(a,b+28);a.f&=-131073;Q(a,1,F(a,b+76));m=H(a,b+36);D(a,
c+0,k);m|=16384;if(m&131072)throw a.debug.Q("task switch to VM mode");Cc(a,m);dd(a,F(a,b+96));a.b[0]=H(a,b+40);a.b[1]=H(a,b+44);a.b[2]=H(a,b+48);a.b[3]=H(a,b+52);a.b[4]=H(a,b+56);a.b[5]=H(a,b+60);a.b[6]=H(a,b+64);a.b[7]=H(a,b+68);Q(a,0,F(a,b+72));Q(a,2,F(a,b+80));Q(a,3,F(a,b+84));Q(a,4,F(a,b+88));Q(a,5,F(a,b+92));a.m=a.u[1]+H(a,b+32)|0;a.u[6]=h.Ub;a.Fa[6]=h.Kb;a.I[6]=k;a.t[3]=e;hd(a);a.t[0]|=8;!1!==f&&P(a,f);return}if(6===m)throw a.debug.Q("16 bit interrupt gate");if(7===m)c=b=!0;else throw a.debug.Q("#GP handler");
}e=Lc(a,k);if(e.ub)throw a.debug.Q("#GP handler");if(!e.ic||e.Ja>a.P)throw a.debug.Q("#GP handler");if(!e.Bb)throw a.debug.Q("#NP handler");Bc(a);m=a.f;if(!e.fc&&e.Ja<a.P){var w=(e.Ja<<3)+4|0;if((w+5|0)>a.Fa[6])throw a.debug.Q("#TS handler");w=w+a.u[6]|0;a.v&&(w=Hd(a,w));var q=hc(a.memory,w),w=a.memory.L(w+4|0),B=Lc(a,w);if(B.ub)throw a.debug.Q("#TS handler");if(B.bc!==e.Ja)throw a.debug.Q("#TS handler");if(B.Ja!==e.Ja||!B.Ud)throw a.debug.Q("#TS handler");if(!B.Bb)throw a.debug.Q("#TS handler");
var B=a.b[4],z=a.I[2];a.P=e.Ja;Jc(a);a.za!==e.size&&Kc(a,e.size);a.f&=-196609;Q(a,2,w);a.w[a.B]=q;m&131072?c?(wc(a,jc(a,-20),20),N(a,a.I[5]),N(a,a.I[4]),N(a,a.I[3]),N(a,a.I[0])):(wc(a,jc(a,-40),40),P(a,a.I[5]),P(a,a.I[4]),P(a,a.I[3]),P(a,a.I[0])):c?wc(a,jc(a,-12),12):wc(a,jc(a,-24),24);c?(N(a,z),N(a,B)):(P(a,z),P(a,B))}else if(e.fc||e.Ja===a.P)c?wc(a,jc(a,-8),8):wc(a,jc(a,-16),16),a.f&131072&&Ac(a,k&-4);else throw a.debug.Q("#GP handler");c?(N(a,m),N(a,a.I[1]),N(a,xc(a)),!1!==f&&N(a,f),h&=65535):
(P(a,m),P(a,a.I[1]),P(a,xc(a)),!1!==f&&P(a,f));m&131072&&(Q(a,5,0),Q(a,4,0),Q(a,3,0),Q(a,0,0));a.I[1]=k&-4|a.P;a.za!==e.size&&Kc(a,e.size);a.Fa[1]=e.Kb;a.u[1]=e.Ub;a.m=a.u[1]+h|0;b||(a.f&=-513)}else wc(a,jc(a,-6),6),k=b<<2,f=a.memory.L(k),k=a.memory.L(k+2|0),Bc(a),N(a,a.f),N(a,a.I[1]),N(a,xc(a)),a.f&=-513,Q(a,1,k),a.m=a.u[1]+f|0}function Mc(a){a.m=a.ea;Ic(a,0,!1,!1);throw 233495534;}function S(a){a.m=a.ea;Ic(a,6,!1,!1);throw 233495534;}function yc(a){a.m=a.ea;Ic(a,7,!1,!1);throw 233495534;}
function Ac(a,b){a.m=a.ea;Ic(a,13,!1,b);throw 233495534;}function r(a){return Wb(a,3)}function u(a){return Wb(a,2)}function Wb(a,b){return-1===a.oa?a.u[b]:9===a.oa?0:a.u[a.oa]}function Dc(a){a.f&512&&!a.s&&(a.d.Mc&&a.d.Mc.ed(),a.d.ad&&a.d.ad.ed())}p.prototype.cb=function(a){this.d.Mc&&this.d.Mc.Rd(a);this.d.ad&&this.d.ad.Rd(a)};
function Lb(a,b,e){if(a.qa&&(a.P>zc(a)||a.f&131072)){var f=a.Fa[6],c=a.u[6];if(103<=f){var h=a.memory.L(Hd(a,c+100+2|0));if(f>=(h+((b+e-1|0)>>3)|0)&&(e=(1<<e)-1<<(b&7),b=Hd(a,c+h+(b>>3)|0),!((e&65280?a.memory.L(b):a.memory.M(b))&e)))return}Ac(a,0)}}function Kc(a,b){a.za=a.Ma=a.hb=b;Ea(a);Da(a)}function Ea(a){a.Ma?(a.table=a.yf,a.V=a.Z):(a.table=a.xf,a.V=a.Y)}function Da(a){a.hb?(a.j=a.b,a.G=1,a.A=6,a.q=7):(a.j=a.e,a.G=2,a.A=12,a.q=14)}
function Lc(a,b){var e=0===(b&4),f=b&-8,c,h;c={bc:b&3,se:e,ub:!1,Hc:!0,Ub:0,zb:0,f:0,type:0,Ja:0,Gc:!1,Bb:!1,ic:!1,Ud:!1,fc:!1,size:!1,Kb:0,Xe:!1,Ve:!1,yd:0};e?(e=a.Yb,h=a.Cc):(e=a.u[7],h=a.Fa[7]);if(0===f)return c.ub=!0,c;if((b|7)>h)return c.Hc=!1,c;e=e+f|0;a.v&&(e=Hd(a,e));c.yd=e;c.Ub=a.memory.L(e+2|0)|a.memory.M(e+4|0)<<16|a.memory.M(e+7|0)<<24;c.zb=a.memory.M(e+5|0);c.f=a.memory.M(e+6|0)>>4;c.type=c.zb&15;c.Ja=c.zb>>5&3;c.Gc=0===(c.zb&16);c.Bb=128===(c.zb&128);c.ic=8===(c.zb&8);c.Ud=2===(c.zb&
2);c.fc=4===(c.zb&4);c.size=4===(c.f&4);f=a.memory.L(e)|(a.memory.M(e+6|0)&15)<<16;c.Kb=c.f&8?(f<<12|4095)>>>0:f;c.Xe=c.Ud&&!c.ic;c.Ve=c.Ud||!c.ic;return c}
function Q(a,b,e){1===b&&(a.qa=1===(a.t[0]&1));if(!a.qa||pc(a))a.I[b]=e,a.Gb[b]=0,a.u[b]=e<<4,2===b&&a.Hb&&(a.Hb=!1,a.w=a.e,a.B=8,a.ob=10);else{var f=Lc(a,e);if(2===b){f.ub&&Ac(a,0);f.Hc&&!f.Gc&&f.bc===a.P&&f.Xe&&f.Ja===a.P||Ac(a,e&-4);if(!f.Bb)throw a.m=a.ea,Ic(a,12,!1,e&-4),233495534;(a.Hb=f.size)?(a.w=a.b,a.B=4,a.ob=5):(a.w=a.e,a.B=8,a.ob=10)}else if(1===b){if(!f.ic)throw a.debug.Q("#GP handler");if(f.Gc)throw a.debug.Q("load system segment descriptor, type = "+(f.zb&15));if(f.bc!==a.P)throw a.debug.Q("privilege change");
if(!f.fc&&f.Ja<a.P)throw a.debug.Q("inter privilege call");if(!f.fc&&f.Ja!==a.P)throw a.debug.Q("#GP handler");f.size!==a.za&&Kc(a,f.size)}else{if(f.ub){a.I[b]=e;a.Gb[b]=1;return}if(!f.Hc||f.Gc||!f.Ve||(!f.ic||!f.fc)&&f.bc>f.Ja&&a.P>f.Ja){debugger;Ac(a,e&-4)}if(!f.Bb)throw a.m=a.ea,Ic(a,11,!1,e&-4),233495534;}a.Gb[b]=0;a.Fa[b]=f.Kb;a.u[b]=f.Ub;a.I[b]=e}}
function dd(a,b){var e=Lc(a,b);if(e.ub)a.u[7]=0,a.Fa[7]=0;else{if(!e.se)throw a.debug.Q("LDTR can only be loaded from GDT");if(!e.Bb)throw a.debug.Q("#GP handler");if(!e.Gc)throw a.debug.Q("#GP handler");if(2!==e.type)throw a.debug.Q("#GP handler");a.u[7]=e.Ub;a.Fa[7]=e.Kb;a.I[7]=b}}function fd(a,b,e){b=Lc(a,b);a.o&=-65;if(b.ub||!b.Hc||58817>>b.type&1)return a.f&=-65,e;a.f|=64;return b.type<<8|b.size<<12|b.Ja<<13|b.Bb<<15|b.f<<20}
function gd(a,b,e){b=Lc(a,b);a.o&=-65;if(b.ub||!b.Hc||62833>>b.type&1)return a.f&=-65,e;a.f|=64;return b.Kb|0}function hd(a){a.Cb=-1;a.Ic=-1;a.Ib.set(a.zd)}function Ha(a){for(var b=new Int32Array(a.zd.buffer),e=0;262144>e;)b[e++]=b[e++]=b[e++]=b[e++]=0;hd(a)}function Xb(a,b){var e;a.v?3===a.P?(e=b>>>12,e=a.Ib[e]&4?a.H[e]^b:Id(a,b,0,1)|b&4095):e=Hd(a,b):e=b;return e}
function A(a,b){var e;a.v?3===a.P?(e=b>>>12,e=a.Ib[e]&8?a.H[e]^b:Id(a,b,1,1)|b&4095):(e=b>>>12,e=a.Ib[e]&2?a.H[e]^b:Id(a,b,1,0)|b&4095):e=b;return e}function Hd(a,b){var e=b>>>12;return a.Ib[e]&1?a.H[e]^b:Id(a,b,0,0)|b&4095}
function Id(a,b,e,f){var c=b>>>12,h=(a.t[3]>>>2)+(c>>10)|0,k=a.memory.Db[h],m=!0,q=!0;k&1||(a.t[2]=b,Jd(a,e,f,0));0===(k&2)&&(m=!1,e&&(f||a.t[0]&65536)&&(a.t[2]=b,Jd(a,e,f,1)));0===(k&4)&&(q=!1,f&&(a.t[2]=b,Jd(a,e,f,1)));if(k&a.td)a.memory.Db[h]=k|32|e<<6,b=k&4290772992|b&4190208,k=k&256;else{var w=((k&4294963200)>>>2)+(c&1023)|0,B=a.memory.Db[w];0===(B&1)&&(a.t[2]=b,Jd(a,e,f,0));0===(B&2)&&(m=!1,e&&(f||a.t[0]&65536)&&(a.t[2]=b,Jd(a,e,f,1)));0===(B&4)&&(q=!1,f&&(a.t[2]=b,Jd(a,e,f,1)));a.memory.Db[h]=
k|32;a.memory.Db[w]=B|32|e<<6;b=B&4294963200;k=B&256}a.H[c]=b^c<<12;m=q?m?15:5:m?3:1;a.Ib[c]=m;k&&a.t[4]&128&&(a.zd[c]=m);return b}function wc(a,b,e){if(a.v){var f=3===a.P?1:0,c=f?8:2,h=b>>>12;0===(a.Ib[h]&c)&&Id(a,b,1,f);4096<=(b&4095)+e-1&&0===(a.Ib[h+1|0]&c)&&Id(a,b+e-1|0,1,f)}}function Jd(a,b,e,f){if(a.s)throw a.debug.Q("Double fault");var c=a.t[2]>>>12;a.Ib[c]=0;a.zd[c]=0;a.m=a.ea;a.s=!0;Ic(a,14,!1,e<<2|b<<1|f);throw 233495534;};(function(){function a(G,C){var E=new Blob([G]),O=document.createElement("a");O.download=C;O.href=window.URL.createObjectURL(E);O.dataset.downloadurl=["application/octet-stream",O.download,O.href].join(":");document.createEvent?(E=document.createEvent("MouseEvent"),E.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),O.dispatchEvent(E)):O.click()}function b(){for(var G=location.search.substr(1).split("&"),C={},E=0;E<G.length;E++){var O=G[E].split("=");C[O[0]]=decodeURIComponent(O[1])}return C}
function e(G,C){for(var E="";0<C--;)E+=G;return E}function f(G){return document.getElementById(G)}function c(){function G(V){f("boot_options").style.display="none";document.title=V.name+" - Virtual x86";E.filesystem=V.filesystem;V.state&&(f("reset").style.display="none",E.od=V.state);E.Qa=V.Qa;E.ua=V.ua;V.Ka?E.Ka=V.Ka:V.Hd&&(E.Ka={url:V.Hd.url,size:V.Hd.size,async:!0});E.mb=V.mb;E.ra=V.ra;h({ze:E,ib:C})}function C(V){V.Pc();Y.c&&setTimeout(function(){V.vf(Y.c+"\n")},25)}if("responseType"in new XMLHttpRequest){var E=
{};f("start_emulation").onclick=function(){f("boot_options").style.display="none";w("custom");var V,va=f("floppy_image").files[0];va&&(V=va,E.Qa={buffer:va});if(va=f("cd_image").files[0])V=va,E.ua={buffer:va};if(va=f("hd_image").files[0])V=va,E.Ka={buffer:va};V&&(document.title=V.name+" - Virtual x86");h({ze:E,ib:function(fb){fb.Pc()}})};for(var O=[{id:"archlinux",state:{url:B?"http://localhost/v86-images/v86state.bin":"http://104.131.53.7:8086/v86state.bin",size:142924774},name:"Arch Linux",mb:134217728,
ra:8388608,Hd:{url:"http://localhost/v86-images/arch3.img",size:17179869184},filesystem:{basefs:{url:B?"http://localhost/v86-images/fs.json":"http://104.131.53.7:8086/fs.json",size:7510249},baseurl:B?"http://localhost/v86-images/arch/":"http://104.131.53.7:8086/arch/"}},{id:"archlinux2",name:"Arch Linux",mb:134217728,ra:8388608,Hd:{url:"http://localhost/v86-images/arch3.img",size:17179869184},filesystem:{basefs:{url:"http://localhost/v86-images/fs.json",size:7510249},baseurl:"http://localhost/v86-images/arch/"}},
{id:"freedos",Qa:{url:"images/freedos722.img",size:737280},name:"FreeDOS"},{id:"freedos_test",Qa:{url:"images/kolibri.img",size:1474560},name:"FreeDOS",state:{url:B?"http://localhost/v86-images/v86state.bin":"http://104.131.53.7:8086/v86state.bin"}},{id:"windows1",Qa:{url:"images/windows101.img",size:1474560},name:"Windows"},{id:"linux26",ua:{url:"images/linux.iso",size:5666816},name:"Linux"},{id:"linux3",ua:{url:"images/linux3.iso",size:10000384},name:"Linux",filesystem:{}},{id:"kolibrios",Qa:{url:B?
"images/kolibri.img":"http://builds.kolibrios.org/eng/data/data/kolibri.img",size:1474560},name:"KolibriOS"},{id:"kolibrios-fallback",Qa:{url:"images/kolibri.img",size:1474560},name:"KolibriOS"},{id:"openbsd",Qa:{url:"images/openbsd.img",size:1474560},name:"OpenBSD"},{id:"solos",Qa:{url:"images/os8.dsk",size:1474560},name:"Sol OS"},{id:"dexos",ua:{url:"images/DexOSv6.iso",size:1837056},name:"DexOS"},{id:"dsl",ua:{url:"https://dl.dropboxusercontent.com/u/61029208/dsl-4.11.rc2.iso",async:!0},name:"Damn Small Linux"},
{id:"ttylinux",ua:{url:"images/ttylinux-pc_i486-2015.01.iso",async:!0},name:"ttylinux"},{id:"9pboot",ua:{url:"images/9pboot.iso",async:!1},name:"9p Linux image",filesystem:{basefs:{url:B?"http://localhost/v86-images/fs.json":"http://104.131.53.7:8086/fs.json",size:7510249},baseurl:B?"http://localhost/v86-images/arch/":"http://104.131.53.7:8086/arch/"}}],Y=b(),ma=Y.profile,Fa=0;Fa<O.length;Fa++){var X=O[Fa],Ba=f("start_"+X.id);if(ma===X.id){G(X);return}Ba&&(Ba.onclick=function(V,va){w(V.id);va.blur();
G(V)}.bind(this,X,Ba))}"custom"===ma&&(Y["hda.url"]&&(E.Ka={size:parseInt(Y["hda.size"],10)||void 0,url:Y["hda.url"],async:!0}),Y["cdrom.url"]&&(E.ua={size:parseInt(Y["cdrom.size"],10)||void 0,url:Y["cdrom.url"],async:!0}),Y["fda.url"]&&(E.Qa={size:parseInt(Y["fda.size"],10)||void 0,url:Y["fda.url"],async:!0}),E.Qa||E.ua||E.Ka)&&(f("boot_options").style.display="none",h({ze:E,ib:C}))}else alert("Your browser is not supported because it doesn't have XMLHttpRequest.responseType")}function h(G){var C=
G.ze,E=C.mb;!E&&(E=1048576*parseInt(f("memory_size").value,10),16777216>E||2147483648<=E)&&(alert("Invalid memory size - ignored."),E=33554432);var O=C.ra;!O&&(O=1048576*parseInt(f("video_memory_size").value,10),65536>=O||2147483648<=O)&&(alert("Invalid video memory size - ignored."),O=8388608);var Y,ma;C.od||(Y={url:"bios/seabios.bin"},ma={url:"bios/vgabios.bin"});var Fa=new $({memory_size:E,vga_memory_size:O,screen_container:f("screen_container"),serial_container:f("serial"),boot_order:parseInt(f("boot_order").value,
16)||0,network_relay_url:"wss://relay.widgetry.org/",bios:Y,vga_bios:ma,fda:C.Qa,hda:C.Ka,cdrom:C.ua,initial_state:C.od,filesystem:C.filesystem||{}});Fa.Ga("emulator-ready",function(){k(C,Fa);G.ib(Fa)});Fa.Ga("download-progress",function(X){var Ba=f("loading");Ba.style.display="block";if(X.qe===X.pe-1&&X.loaded>=X.total-2048)Ba.textContent="Done downloading. Starting now ...";else{var V="Downloading images ";"number"===typeof X.qe&&X.pe&&(V+="["+(X.qe+1)+"/"+X.pe+"] ");if(X.total&&"number"===typeof X.loaded){X=
Math.floor(X.loaded/X.total*100);X=Math.min(100,Math.max(0,X));var va=Math.floor(X/2),V=V+(X+"% [")+e("#",va),V=V+(e(" ",50-va)+"]")}else V+=e(".",z++%50);Ba.textContent=V}})}function k(G,C){function E(){var T=Date.now(),ta=C.Sb?C.Sb.p.R:0,tb=ta-Ba;Ba=ta;var bb=T-Fa;X+=bb;Fa=T;f("speed").textContent=tb/bb|0;f("avg_speed").textContent=ta/X|0;T=f("running_time");ta=X/1E3|0;T.textContent=60>ta?ta+"s":3600>ta?(ta/60|0)+"m "+Kd(ta%60,2)+"s":(ta/3600|0)+"h "+Kd((ta/60|0)%60,2)+"m "+Kd(ta%60,2)+"s"}function O(T){T.ctrlKey?
window.onbeforeunload=function(){window.onbeforeunload=null;return"CTRL-W cannot be sent to the emulator."}:window.onbeforeunload=null}f("boot_options").style.display="none";f("loading").style.display="none";f("runtime_options").style.display="block";f("runtime_infos").style.display="block";document.getElementsByClassName("phone_keyboard")[0].style.display="block";G.filesystem&&m(C);var Y=f("news");Y&&(Y.style.display="none");f("run").onclick=function(){C.We()?(f("run").value="Run",C.de()):(f("run").value=
"Pause",C.Pc());f("run").blur()};f("exit").onclick=function(){C.de();location.href=location.pathname};f("lock_mouse").onclick=function(){if(!ma)f("toggle_mouse").onclick();C.we();f("lock_mouse").blur()};var ma=!0;f("toggle_mouse").onclick=function(){ma=!ma;C.df(ma);f("toggle_mouse").value=(ma?"Dis":"En")+"able mouse";f("toggle_mouse").blur()};var Fa=0,X=0,Ba=0,V;C.Ga("emulator-started",function(){Fa=Date.now();V=setInterval(E,1E3)});C.Ga("emulator-stopped",function(){E();clearInterval(V)});var va=
0,fb=0;C.Ga("9p-read-start",function(){f("info_filesystem").style.display="block";f("info_filesystem_status").textContent="Loading ..."});C.Ga("9p-read-end",function(T){va+=T[1];f("info_filesystem_status").textContent="Idle";f("info_filesystem_last_file").textContent=T[0];f("info_filesystem_bytes_read").textContent=va});C.Ga("9p-write-end",function(T){fb+=T[1];f("info_filesystem_last_file").textContent=T[0];f("info_filesystem_bytes_written").textContent=fb});var Kb=0,sb=0,ab=0,Oa=0;C.Ga("ide-read-start",
function(){f("info_storage").style.display="block";f("info_storage_status").textContent="Loading ..."});C.Ga("ide-read-end",function(T){Kb+=T[1];sb+=T[2];f("info_storage_status").textContent="Idle";f("info_storage_bytes_read").textContent=Kb;f("info_storage_sectors_read").textContent=sb});C.Ga("ide-write-end",function(T){ab+=T[1];Oa+=T[2];f("info_storage_bytes_written").textContent=ab;f("info_storage_sectors_written").textContent=Oa});var J=0,U=0;C.Ga("eth-receive-end",function(T){U+=T[0];f("info_network").style.display=
"block";f("info_network_bytes_received").textContent=U});C.Ga("eth-transmit-end",function(T){J+=T[0];f("info_network").style.display="block";f("info_network_bytes_transmitted").textContent=J});C.Ga("mouse-enable",function(T){f("info_mouse_enabled").textContent=T?"Yes":"No"});C.Ga("screen-set-mode",function(T){T?f("info_vga_mode").textContent="Graphical":(f("info_vga_mode").textContent="Text",f("info_res").textContent="-",f("info_bpp").textContent="-")});C.Ga("screen-set-size-graphical",function(T){f("info_res").textContent=
T[0]+"x"+T[1];f("info_bpp").textContent=T[2]});f("reset").onclick=function(){C.De();f("reset").blur()};for(var Y=["hda","hdb","fda","fdb"],na=0;na<Y.length;na++){var Va=f("get_"+Y[na]+"_image"),Wa=G[Y[na]];Wa&&16777216>Wa.byteLength?Va.onclick=function(T){Wa.ld(function(ta){ta&&a(ta,T+".img")});this.blur()}.bind(Va,Y[na]):Va.style.display="none"}f("memory_dump").onclick=function(){a(C.Sb.p.memory.buffer,"v86memory.bin");f("memory_dump").blur()};f("save_state").onclick=function(){C.Qc(function(T,ta){T?
(console.log(T.stack),console.log("Couldn't save state: ",T)):a(ta,"v86state.bin")});f("save_state").blur()};f("ctrlaltdel").onclick=function(){C.Nd([29,56,83,157,184,211]);f("ctrlaltdel").blur()};f("alttab").onclick=function(){C.Nd([56,15]);setTimeout(function(){C.Nd([184,143])},100);f("alttab").blur()};f("scale").onchange=function(){var T=parseFloat(this.value);(T||0<T)&&C.sf(T,T)};f("fullscreen").onclick=function(){C.qf()};f("screen_container").onclick=function(){window.getSelection().isCollapsed&&
document.getElementsByClassName("phone_keyboard")[0].focus()};f("take_screenshot").onclick=function(){C.rf();f("take_screenshot").blur()};f("serial").style.display="block";window.addEventListener("keydown",O,!1);window.addEventListener("keyup",O,!1);window.addEventListener("blur",O,!1)}function m(G){f("filesystem_panel").style.display="block";f("filesystem_send_file").onchange=function(){Array.prototype.forEach.call(this.files,function(C){var E=new Ld(C);E.onload=function(){E.ld(function(O){G.Ge("/"+
C.name,new Uint8Array(O))})};E.load()},this);this.value=""};f("filesystem_get_file").onkeypress=function(C){13===C.which&&(this.disabled=!0,G.nf(this.value,function(E,O){this.disabled=!1;if(O){var Y=this.value.replace(/\/$/,"").split("/"),Y=Y[Y.length-1]||"root";a(O,Y);this.value=""}else alert("Can't read file")}.bind(this)))}}function q(){location.reload()}function w(G){window.history.pushState&&window.history.pushState({profile:G},"","?profile="+G)}var B=-1===location.host.indexOf("."),z=0;window.addEventListener("load",
c,!1);window.addEventListener("load",function(){setTimeout(function(){window.addEventListener("popstate",q)},0)});"complete"===document.readyState&&c()})();function pd(a){this.d=[];this.memory=a;for(var b=0;65536>b;b++)this.d[b]={M:this.Wf,L:this.Uf,mf:this.Vf,S:this.ne,ga:this.ne,ha:this.ne,Ba:void 0};for(var e=a.size,b=0;b<<17<e;b++)a.g[b]=a.l[b]=void 0,a.n[b]=a.s[b]=void 0;Fd(this,e,4294967296-e,function(){return 255},function(){},function(){return-1},function(){})}n=pd.prototype;n.Wf=function(){return 255};n.Uf=function(){return 65535};n.Vf=function(){return-1};n.ne=function(){};
function W(a,b,e,f,c,h){f&&(a.d[b].M=f);c&&(a.d[b].L=c);h&&(a.d[b].mf=h);a.d[b].Ba=e}function Z(a,b,e,f,c,h){f&&(a.d[b].S=f);c&&(a.d[b].ga=c);h&&(a.d[b].ha=h);a.d[b].Ba=e}n.pf=function(a,b,e,f,c,h){function k(){return e.call(this)|f.call(this)<<8}function m(){return c.call(this)|h.call(this)<<8}function q(){return e.call(this)|f.call(this)<<8|c.call(this)<<16|h.call(this)<<24}c&&h?(W(this,a,b,e,k,q),W(this,a+1,b,f),W(this,a+2,b,c,m),W(this,a+3,b,h)):(W(this,a,b,e,k),W(this,a+1,b,f))};
n.vd=function(a,b,e,f,c,h){function k(w){e.call(this,w&255);f.call(this,w>>8&255)}function m(w){c.call(this,w&255);h.call(this,w>>8&255)}function q(w){e.call(this,w&255);f.call(this,w>>8&255);c.call(this,w>>16&255);h.call(this,w>>>24)}c&&h?(Z(this,a,b,e,k,q),Z(this,a+1,b,f),Z(this,a+2,b,c,m),Z(this,a+3,b,h)):(Z(this,a,b,e,k),Z(this,a+1,b,f))};function Fc(a,b,e){b>>>=0;e=b+(e>>>0);if(e>=a.memory.size)return!0;for(b&=-131072;b<e;){if(a.memory.d[b>>17])return!0;b+=131072}return!1}
n.gg=function(a){var b=this.memory.g[a>>>17];return b(a)|b(a+1)<<8|b(a+2)<<16|b(a+3)<<24};n.hg=function(a,b){var e=this.memory.l[a>>>17];e(a,b&255);e(a+1,b>>8&255);e(a+2,b>>16&255);e(a+3,b>>>24)};function Fd(a,b,e,f,c,h,k){h||(h=a.gg.bind(a));k||(k=a.hg.bind(a));for(b>>>=17;0<e;b++)a.memory.d[b]=1,a.memory.g[b]=f,a.memory.l[b]=c,a.memory.n[b]=h,a.memory.s[b]=k,e-=131072}function Yb(a,b,e){a=a.d[b];a.S.call(a.Ba,e)}function $b(a,b,e){a=a.d[b];a.ga.call(a.Ba,e)}
function cc(a,b,e){a=a.d[b];a.ha.call(a.Ba,e)}function Mb(a,b){var e=a.d[b];return e.M.call(e.Ba)}function Qb(a,b){var e=a.d[b];return e.L.call(e.Ba)}function Tb(a,b){var e=a.d[b];return e.mf.call(e.Ba)};function Md(a){this.n=!0;this.l=this.g=!1;this.p=new p;this.C=a;a.register("cpu-init",this.jb,this);a.register("cpu-run",this.Pc,this);a.register("cpu-stop",this.oh,this);a.register("cpu-restart",this.nh,this);this.d=function(){console.assert(!1)};this.s=function(){console.assert(!1)}}n=Md.prototype;n.Pc=function(){this.g||(this.C.send("emulator-started"),this.d())};function Nd(a){if(a.l)a.l=a.g=!1,a.C.send("emulator-stopped");else{a.g=!0;var b=a.p;try{b.Ec?b.O():b.Le()}catch(e){b.Me(e)}a.s(0)}}
n.oh=function(){this.g&&(this.l=!0)};n.nh=function(){this.p.reset();qd(this.p)};n.jb=function(a){this.n&&(this.n=!1,Od(this));this.p.jb(a,this.C);this.C.send("emulator-ready")};
function Od(a){"undefined"!==typeof setImmediate?a.d=function(){setImmediate(function(){Nd(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(b){b.source===window&&43605===b.data&&Nd(a)},!1),a.d=function(){window.postMessage(43605,"*")}):a.d=function(){setTimeout(function(){Nd(a)},0)};a.s="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(b){4>b||document.hidden?this.d():setTimeout(function(){Nd(a)},b)}:function(b){setTimeout(function(){Nd(a)},
b)}}n.Qc=function(){return this.p.Qc()};var Ga="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues)var Pd=new Int32Array(1),ld=function(){return!0},md=function(){window.crypto.getRandomValues(Pd);return Pd[0]};else ld=function(){return!1},md=function(){console.assert(!1)};var kd,Ld,Qd,Rd,Sd,Td;function Kd(a,b){for(a=a?a+"":"";a.length<b;)a="0"+a;return a}function Ud(a){return"0x"+Kd((a?a.toString(16):"").toUpperCase(),1)}function Vd(a){this.buffer=a;this.byteLength=a.byteLength;this.onprogress=this.onload=void 0}Vd.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};Vd.prototype.get=function(a,b,e){e(new Uint8Array(this.buffer,a,b))};Vd.prototype.set=function(a,b,e){(new Uint8Array(this.buffer,a,b.byteLength)).set(b);e()};Vd.prototype.ld=function(a){a(this.buffer)};
(function(){for(var a=new Int8Array(256),b=0,e=-2;256>b;b++)b&b-1||e++,a[b]=e;Qd=function(f){return a[f]};kd=function(f){var c=f>>>16;if(c){var h=c>>>8;return h?24+a[h]:16+a[c]}return(h=f>>>8)?8+a[h]:a[f]}})();function Wd(a){var b=new Uint8Array(a),e,f;this.length=0;this.push=function(c){this.length!==a&&this.length++;b[f]=c;f=f+1&a-1};this.shift=function(){if(this.length){var c=b[e];e=e+1&a-1;this.length--;return c}return-1};this.clear=function(){this.length=f=e=0};this.clear()};function xd(a){this.p=a;this.g=new Float64Array(8);this.V=new Float32Array(1);new Uint8Array(this.V.buffer);this.wa=new Int32Array(this.V.buffer);this.J=new Float64Array(1);this.s=new Uint8Array(this.J.buffer);this.F=new Int32Array(this.J.buffer);this.Oa=new Uint8Array(this.g.buffer);new Int32Array(this.g.buffer);this.n=255;this.d=0;this.H=895;this.O=this.Y=this.da=this.pa=this.Z=this.l=0;this.Aa=NaN;this.Na=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,
0])}n=xd.prototype;n.Ca=function(){var a=[];a[0]=this.g;a[1]=this.n;a[2]=this.d;a[3]=this.H;a[4]=this.O;a[5]=this.Z;a[6]=this.pa;a[7]=this.Y;a[8]=this.O;a[9]=this.da;return a};n.Pa=function(a){this.g.set(a[0]);this.n=a[1];this.d=a[2];this.H=a[3];this.O=a[4];this.Z=a[5];this.pa=a[6];this.Y=a[7];this.O=a[8];this.da=a[9]};function Rc(a){S(a.p)}function Wc(a){a.l|=1}function Qc(a,b){var e=Pc(a);a.l&=-18177;e>b||(a.l=b>e?a.l|256:e===b?a.l|16384:a.l|17664)}
function $c(a,b){var e=a.g[a.d];a.p.o&=-70;a.p.f&=-70;e>b||(a.p.f=b>e?a.p.f|1:e===b?a.p.f|64:a.p.f|69)}function Zc(a){a.H=895;a.l=0;a.Z=0;a.Y=0;a.da=0;a.n=255;a.d=0}function Tc(a,b){if(a.p.Ma){wc(a.p,b,26);Pb(a.p,b,a.H);Pb(a.p,b+4,a.l&-14337|a.d<<11);for(var e=0,f,c=0;8>c;c++)f=a.g[c],a.n>>c&1?e|=3<<(c<<1):0===f?e|=1<<(c<<1):isFinite(f)||(e|=2<<(c<<1));Pb(a.p,b+8,e);D(a.p,b+12,a.Z);Pb(a.p,b+16,a.pa);Pb(a.p,b+18,a.da);D(a.p,b+20,a.Y);Pb(a.p,b+24,a.O)}else Rc(a)}
function Sc(a,b){if(a.p.Ma){a.H=F(a.p,b);var e=F(a.p,b+4);a.l=e&-14337;a.d=e>>11&7;for(var e=F(a.p,b+8),f=a.n=0;8>f;f++)a.n|=e>>f&e>>f+1&1<<f;a.Z=H(a.p,b+12);a.pa=F(a.p,b+16);a.da=F(a.p,b+18);a.Y=H(a.p,b+20);a.O=F(a.p,b+24)}else Rc(a)}function Uc(a,b){var e=a.H>>10&3;return 0===e?(e=Math.round(b),.5===e-b&&e%2&&e--,e):1===e||3===e&&0<b?Math.floor(b):Math.ceil(b)}function Vc(a){return 0<a?Math.floor(a):Math.ceil(a)}
n.push=function(a){this.d=this.d-1&7;this.n>>this.d&1?(this.l&=-513,this.n&=~(1<<this.d),this.g[this.d]=a):(this.l|=512,this.l|=65,this.g[this.d]=this.Aa)};n.pop=function(){this.n|=1<<this.d;this.d=this.d+1&7};function Oc(a,b){b=b+a.d&7;return a.n>>b&1?(a.l&=-513,a.l|=65,a.Aa):a.g[b]}function Pc(a){return a.n>>a.d&1?(a.l&=-513,a.l|=65,a.Aa):a.g[a.d]}
function Xc(a,b){var e=F(a.p,b+8),f,c=H(a.p,b)>>>0,h=H(a.p,b+4)>>>0;f=e>>15;e&=-32769;if(0===e)return 0;if(!(32767>e))return a.s[7]=127|f<<7,a.s[6]=240|h>>30<<3&8,a.s[5]=0,a.s[4]=0,a.F[0]=0,a.J[0];c+=4294967296*h;f&&(c=-c);return c*Math.pow(2,e-16383-63)}
function Yc(a,b,e){a.J[0]=a.g[a.d+e&7];e=a.s[7]&128;var f=(a.s[7]&127)<<4|a.s[6]>>4,c,h;2047===f?(f=32767,c=0,h=2147483648|(a.F[1]&524288)<<11):0===f?h=c=0:(f+=15360,c=a.F[0]<<11,h=2147483648|(a.F[1]&1048575)<<11|a.F[0]>>>21);D(a.p,b,c);D(a.p,b+4,h);Pb(a.p,b+8,e<<8|f)}function ad(a,b){var e=H(a.p,b),f=H(a.p,b+4);a.F[0]=e;a.F[1]=f;return a.J[0]}function bd(a,b){wc(a.p,b,8);a.J[0]=Oc(a,0);D(a.p,b,a.F[0]);D(a.p,b+4,a.F[1])}function Nc(a,b){a.wa[0]=H(a.p,b);return a.V[0]}
n.sign=function(a){return this.Oa[(this.d+a&7)<<3|7]>>7};function Bd(a,b,e,f,c){this.C=c;0===f?(this.l=496,this.fb=14,this.mc=240):(this.l=496,this.fb=14,this.mc=248);this.Rb=f;this.Aa=this.l|516;this.p=a;this.memory=a.memory;this.buffer=b;this.s=e?2048:512;this.da=e;this.J=this.V=this.O=this.n=0;this.buffer&&(this.n=this.buffer.byteLength/this.s,this.n!==(this.n|0)&&(this.n=Math.ceil(this.n)),e?(this.O=1,this.V=0):(this.O=16,this.V=63),a.d.Ua.Va[57]=1,this.J=this.n/this.O/this.V,this.J!==(this.J|0)&&(this.J=Math.floor(this.J)));this.ya={tf:0,uf:0,Ee:0,
Fe:0,$e:!1};this.Lc=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.l&255|1,this.l>>8,0,0,this.Aa&255|1,this.Aa>>8,0,0,0,0,0,0,0,0,0,0,1,192,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.fb,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.Kc=[{size:8},{size:4},!1,!1,{size:16}];Xd(a.d.Jc,this);W(a.r,this.l|7,this,this.of);W(a.r,
this.Aa|2,this,this.of);Z(a.r,this.Aa|2,this,this.rh);this.Na=2;this.ue=255;this.ia=0;this.W=new Uint8Array(0);this.hd=this.head=this.va=this.ba=this.F=this.H=this.g=this.qd=0;this.status=80;this.wa=1;this.Z=this.Y=this.Oa=0;this.d=new Uint8Array(0);this.gb=0;this.pa=-1;this.ja=this.qc=0;W(a.r,this.l|0,this,this.Zg,this.Xg,this.Yg);W(a.r,this.l|1,this,this.$g);W(a.r,this.l|2,this,this.Wg);W(a.r,this.l|3,this,this.bh);W(a.r,this.l|4,this,function(){return this.ba&255});W(a.r,this.l|5,this,function(){return this.va&
255});W(a.r,this.l|6,this,function(){return this.hd});Z(a.r,this.l|0,this,this.xc,this.sh,this.th);Z(a.r,this.l|1,this,this.uh);Z(a.r,this.l|2,this,this.qh);Z(a.r,this.l|3,this,this.vh);Z(a.r,this.l|4,this,function(h){this.ba=(this.ba<<8|h)&65535});Z(a.r,this.l|5,this,function(h){this.va=(this.va<<8|h)&65535});Z(a.r,this.l|6,this,function(h){h&16||(this.hd=h,this.qd=h>>6&1,this.head=h&15,this.ue=h)});Z(a.r,this.l|7,this,this.Ef);W(a.r,49156,this,void 0,void 0,this.Nf);Z(a.r,49156,this,void 0,void 0,
this.Rf);W(a.r,49152,this,this.Pf,void 0,this.Of);Z(a.r,49152,this,this.Tf,void 0,this.Sf);W(a.r,49154,this,this.Qf);Z(a.r,49154,this,this.Ke);W(a.r,49160,this,function(){return 0});W(a.r,49162,this,function(){return 0})}n=Bd.prototype;
n.Ca=function(){var a=[];a[0]=this.Na;a[1]=this.ue;a[2]=this.ia;a[3]=this.W;a[4]=this.qd;a[5]=this.g;a[6]=this.H;a[7]=this.F;a[8]=this.ba;a[9]=this.head;a[10]=this.hd;a[11]=this.status;a[12]=this.wa;a[13]=this.Oa;a[14]=this.Y;a[15]=this.Z;a[16]=this.d;a[17]=this.pa;a[18]=this.qc;a[19]=this.ja;return a};
n.Pa=function(a){this.Na=a[0];this.ue=a[1];this.ia=a[2];this.W=a[3];this.qd=a[4];this.g=a[5];this.H=a[6];this.F=a[7];this.ba=a[8];this.head=a[9];this.hd=a[10];this.status=a[11];this.wa=a[12];this.Oa=a[13];this.Y=a[14];this.Z=a[15];this.d=a[16];this.pa=a[17];this.qc=a[18];this.ja=a[19]};function Yd(a){a.da?(a.status=81,a.g=1,a.F=1,a.H=1,a.ba=20,a.va=235):(a.status=81,a.g=1,a.F=1,a.H=1,a.ba=60,a.va=195)}n.N=function(){0===(this.Na&2)&&this.p.cb(this.fb)};
n.Ef=function(a){this.F=0;switch(a){case 0:this.N();this.status=80;break;case 8:this.ia=0;this.W=new Uint8Array(0);Yd(this);this.N();break;case 16:this.N();break;case 39:this.N();this.W=new Uint8Array([0,0,0,0,this.buffer.byteLength&255,this.buffer.byteLength>>8&255,this.buffer.byteLength>>16&255,this.buffer.byteLength>>24&255,0,0,0,0]);this.status=88;break;case 32:case 36:case 41:case 196:Zd(this,a);break;case 48:case 52:case 57:case 197:a:{if(48===a||197===a){a=this.g&255;var b=this.qd?$d(this):
ae(this);0===a&&(a=256)}else if(52===a||57===a)a=this.g,b=be(this),0===a&&(a=65536);else break a;var e=a*this.s,b=b*this.s;this.ba+=a;b+e>this.buffer.byteLength?this.status=255:(this.status=88,ce(this,e),this.Oa=b,this.gb=1);this.N()}break;case 144:this.N();this.F=257;this.status=80;break;case 145:this.N();break;case 160:this.da&&(this.status=88,ce(this,12),this.gb=2,this.g=1,this.N());break;case 161:this.da?(de(this),this.status=88,this.ba=20,this.va=235):this.status=80;this.N();break;case 198:this.wa=
this.g;this.N();break;case 200:ee(this);break;case 202:fe(this);break;case 225:this.N();break;case 236:if(this.da)break;de(this);this.status=88;this.N();break;case 234:this.N();break;case 239:this.N();break;default:this.F=4}};n.me=function(){this.status=80;this.buffer.set(this.Oa,this.d.subarray(0,this.Y),function(){this.N()}.bind(this));ge(this,this.Y)};n.of=function(){var a=this.status;0<=this.pa&&(this.status=this.pa,this.pa=-1);return a};n.rh=function(a){this.Na=a;a&4&&Yd(this)};
function ce(a,b){b>a.d.length&&(a.d=new Uint8Array(b));a.Y=b;a.Z=0}function he(a,b){var e=(b[7]<<8|b[8])*a.s,f=(a.va&255)<<8|a.ba&255,c,h=(b[2]<<24|b[3]<<16|b[4]<<8|b[5])*a.s;f||(f=32768);c=Math.min(e,f&65280);a.ba=c&255;a.va=c>>8&255;a.N();h>=a.buffer.byteLength?(a.status=255,a.N()):(e=Math.min(e,a.buffer.byteLength-h),a.status=128,ie(a),a.buffer.get(h,e,function(k){this.W=k;this.status=88;this.ba=c&255;this.va=c>>8&255;this.ia=0;this.N();je(this,e)}.bind(a)))}
function ke(a,b){var e=(b[7]<<8|b[8])*a.s,f=(b[2]<<24|b[3]<<16|b[4]<<8|b[5])*a.s;f>=a.buffer.byteLength?(a.status=255,a.N()):(e=Math.min(e,a.buffer.byteLength-f),a.status=128,ie(a),a.buffer.get(f,e,function(c){var h=this.qc,k=0;do{var m=hc(this.memory,h),q=this.memory.L(h+4),w=this.memory.M(h+7)&128;q||(q=65536);this.memory.na.set(c.subarray(k,k+q),m);k+=q;h+=8;if(k>this.buffer.byteLength)throw"too long";}while(!w);this.status=80;this.ja&=-4;this.ja|=4;this.N();je(this,e)}.bind(a)))}n.Zg=function(){return le(this)};
n.Xg=function(){return le(this)|le(this)<<8};n.Yg=function(){return le(this)|le(this)<<8|le(this)<<16|le(this)<<24};n.$g=function(){return this.F&255};n.Wg=function(){return this.g&255};n.bh=function(){return this.H&255};
function le(a){if(a.ia<a.W.length){0!==(a.ia+1)%(512*a.wa)&&a.ia+1!==a.W.length||a.N();a.ba?a.ba--:a.va&&(a.va--,a.ba=255);if(!a.ba&&!a.va){var b=a.W.length-a.ia-1;65536<=b?(a.va=240,a.ba=0):(a.va=b>>8,a.ba=b)}a.ia+1>=a.W.length&&(a.status=80,a.g=a.g&-8|3,a.N());return a.W[a.ia++]}a.ia++;return 0}
n.xc=function(a){if(!(this.Z>=this.Y)&&(this.d[this.Z++]=a,0===this.Z%(512*this.wa)&&this.N(),this.Z===this.Y))switch(this.gb){case 1:this.me();break;case 2:this.g=this.g&-8|2;switch(this.d[0]){case 0:this.W=new Uint8Array(0);this.ia=0;this.status=64;this.va=this.ba=0;this.N();break;case 3:this.W=new Uint8Array(this.d[4]);this.status=88;this.W[0]=240;this.W[7]=8;this.ia=0;this.ba=8;this.va=0;this.N();break;case 18:a=this.d[4]|this.d[3]<<8;this.W=new Uint8Array(a);this.status=88;this.W.set([5,128,
1,49,a-4,0,0,0,83,79,78,89,32,32,32,32,67,68,45,82,79,77,32,67,68,85,45,49,48,48,48,32,49,46,49,97]);this.ia=0;this.N();break;case 30:this.W=new Uint8Array(0);this.status=80;this.ia=0;this.N();break;case 37:a=this.n-1;this.W=new Uint8Array([a>>24&255,a>>16&255,a>>8&255,a&255,0,0,this.s>>8&255,this.s&255]);this.status=88;this.ia=0;this.N();break;case 40:this.F&1?ke(this,this.d):he(this,this.d);break;case 67:this.W=new Uint8Array(this.d[8]|this.d[7]<<8);this.ia=0;this.status=88;this.N();break;case 70:this.W=
new Uint8Array(this.d[8]|this.d[7]<<8);this.status=88;this.ia=0;this.N();break;case 74:this.W=new Uint8Array(this.d[8]|this.d[7]<<8);this.status=88;this.ia=0;this.N();break;case 81:this.W=new Uint8Array(0);this.status=80;this.ia=0;this.N();break;case 26:this.W=new Uint8Array(this.d[4]);this.status=88;this.ia=0;this.N();break;case 90:this.W=new Uint8Array(this.d[8]|this.d[7]<<8);this.status=88;this.ia=0;this.N();break;case 189:this.W=new Uint8Array(this.d[9]|this.d[8]<<8);this.W[5]=1;this.status=88;
this.ia=0;this.N();break;default:this.status=80}this.ba=this.W.length;this.va=this.W.length>>8;0===(this.status&128)&&this.ia>=this.W.length&&(this.g|=1)}};n.sh=function(a){this.xc(a&255);this.xc(a>>8&255)};n.th=function(a){this.xc(a&255);this.xc(a>>8&255);this.xc(a>>16&255);this.xc(a>>24&255)};n.uh=function(a){this.F=(this.F<<8|a)&65535};n.qh=function(a){this.g=(this.g<<8|a)&65535};n.vh=function(a){this.H=(this.H<<8|a)&65535};
function Zd(a,b){if(32===b||196===b){var e=a.g&255,f=a.qd?$d(a):ae(a);0===e&&(e=256)}else if(36===b||41===b)e=a.g,f=be(a),0===e&&(e=65536);else return;var c=e*a.s,f=f*a.s;a.ba+=e;f+c>a.buffer.byteLength?(a.status=255,a.N()):(a.status=128,ie(a),a.buffer.get(f,c,function(h){this.W=h;this.status=88;this.ia=0;this.N();je(this,c)}.bind(a)))}
function ee(a){var b=a.g&255,e=b*a.s,f=$d(a)*a.s;a.ba+=b;f+e>a.buffer.byteLength?(a.status=255,a.N()):(a.status=128,a.ja|=1,ie(a),a.buffer.get(f,e,function(c){var h=this.qc,k=0;do{var m=hc(this.memory,h),q=this.memory.L(h+4),w=this.memory.M(h+7)&128;q||(q=65536);this.memory.na.set(c.subarray(k,k+q),m);k+=q;h+=8}while(!w);this.status=80;this.ja&=-4;this.ja|=4;this.N();je(this,e)}.bind(a)))}
function fe(a){var b=a.g&255,e=b*a.s,f=$d(a)*a.s;a.ba+=b;if(f+e>a.buffer.byteLength)a.status=255,a.N();else{a.status=128;a.ja|=1;var b=a.qc,c=0,h=0,k=0;do{var m=hc(a.memory,b),q=a.memory.L(b+4),w=a.memory.M(b+7)&128;q||(q=65536);a.buffer.set(f+k,a.memory.na.subarray(m,m+q),function(){h++;h===c&&(this.status=80,this.N(),this.ja&=-4,this.ja|=4)}.bind(a));k+=q;b+=8;c++}while(!w);h===c&&(a.status=80,a.N(),a.ja&=-4,a.ja|=4);ge(a,e)}}
function ae(a){return((a.ba&255|a.va<<8&65280)*a.O+a.head)*a.V+(a.H&255)-1}function $d(a){return a.H&255|a.ba<<8&65280|a.va<<16&16711680|a.head<<24}function be(a){return(a.H&255|a.ba<<8&65280|a.va<<16&16711680|a.H>>8<<24&4278190080)>>>0}
function de(a){a.ia=0;a.hd&16?a.W=new Uint8Array(0):(a.W=new Uint8Array(512),a.W.set([64,a.da?133:0,a.J,a.J>>8,0,0,a.O,a.O>>8,0,0,0,0,a.V,a.V>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.J,a.J>>8,a.O,a.O>>8,a.V,0,a.n&255,a.n>>8&255,a.n>>16&255,a.n>>24&255,0,0,a.n&255,a.n>>8&255,a.n>>16&255,a.n>>24&255,0,0,0,4,
0,0,30,0,30,0,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.n&255,a.n>>8&255,a.n>>16&255,a.n>>24&255]),16383<a.J&&(a.W[2]=a.W[108]=255,a.W[3]=a.W[109]=63))}n.Nf=function(){return this.qc};n.Rf=function(a){this.qc=a};n.Qf=function(){return this.ja};n.Ke=function(a){this.ja&=~a};n.Of=function(){return 1|this.ja<<16};n.Pf=function(){return 1};n.Sf=function(a){a&1&&this.N();this.Ke(a>>16&255)};
n.Tf=function(a){a&1&&this.N()};function ie(a){a.ya.$e=!0;a.C.send("ide-read-start")}function je(a,b){a.ya.$e=!1;var e=b/a.s|0;a.ya.tf+=e;a.ya.Ee+=b;a.C.send("ide-read-end",[a.Rb,b,e])}function ge(a,b){var e=b/a.s|0;a.ya.uf+=e;a.ya.Fe+=b;a.C.send("ide-write-end",[a.Rb,b,e])};function ud(a){this.eb=new Uint8Array(4);this.pc=new Uint8Array(4);this.nc=new Uint8Array(4);this.oc=new Uint8Array(4);new Int32Array(this.eb.buffer);this.ig=new Int32Array(this.pc.buffer);this.ff=new Int32Array(this.nc.buffer);this.gf=new Int32Array(this.oc.buffer);this.le=Array(65536);this.Ce=Array(65536);a.r.vd(3324,this,function(b){this.pc[0]=b},function(b){this.pc[1]=b},function(b){this.pc[2]=b},function(b){this.pc[3]=b;var e=this.eb[2]<<8|this.eb[1];b=this.eb[0]&252;var f=this.le[e],e=this.Ce[e];
if(f&&16<=b&&40>b){var c=this.ig[0],h=b-16>>2,k=e.Kc[h];f[b>>2]=k?-1===(c|3)?~(k.size-1):e.He[h]:0}});a.r.pf(3324,this,function(){return this.nc[0]},function(){return this.nc[1]},function(){return this.nc[2]},function(){return this.nc[3]});a.r.pf(3320,this,function(){return this.oc[0]},function(){return this.oc[1]},function(){return this.oc[2]},function(){return this.oc[3]});a.r.vd(3320,this,function(b){this.eb[0]=b},function(b){this.eb[1]=b},function(b){this.eb[2]=b},function(b){this.eb[3]=b;b=this.eb[0]&
252;var e=this.le[this.eb[2]<<8|this.eb[1]];void 0!==e?(this.gf[0]=-2147483648,this.ff[0]=b<e.byteLength?e[b>>2]:-1):(this.ff[0]=-1,this.gf[0]=0)});Xd(this,{mc:0,Lc:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Kc:[]});Xd(this,{mc:8,Lc:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Kc:[]})}
ud.prototype.Ca=function(){var a=[];a[0]=this.eb;a[1]=this.pc;a[2]=this.nc;a[3]=this.oc;return a};ud.prototype.Pa=function(a){this.eb.set(a[0]);this.pc.set(a[1]);this.nc.set(a[2]);this.oc.set(a[3])};function Xd(a,b){var e=b.mc,f=new Int32Array((new Uint8Array(b.Lc)).buffer);a.le[e]=f;a.Ce[e]=b;b.He=new Int32Array(6);b.He.set(f.subarray(4,10))};function Ad(a,b){this.r=a.r;this.p=a;this.Bc=a.d.Bc;this.g=0;this.Z=new Uint8Array(10);this.da=0;this.s=null;this.d=new Uint8Array(10);this.H=this.F=this.n=0;this.Aa=b;this.V=this.J=this.wa=this.gb=this.fb=this.Oa=0;this.pa=1;this.l=0;if(b){this.H=b.byteLength;var e,f,c;if((e={160:{type:1,yb:40,wb:8,tb:1},180:{type:1,yb:40,wb:9,tb:1},200:{type:1,yb:40,wb:10,tb:1},320:{type:1,yb:40,wb:8,tb:2},360:{type:1,yb:40,wb:9,tb:2},400:{type:1,yb:40,wb:10,tb:2},720:{type:3,yb:80,wb:9,tb:2},1200:{type:2,yb:80,
wb:15,tb:2},1440:{type:4,yb:80,wb:18,tb:2},1722:{type:5,yb:82,wb:21,tb:2},2880:{type:5,yb:80,wb:36,tb:2}}[this.H>>10])&&0===(this.H&1023))a.d.Ua.Va[16]=e.type<<4,f=e.wb,c=e.tb,e=e.yb;else throw"Unknown floppy size: "+Ud(b.byteLength);this.O=f;this.Y=c;this.Na=e;W(this.r,1008,this,this.Gg);W(this.r,1010,this,this.Hg);W(this.r,1012,this,this.Jg);W(this.r,1013,this,this.Kg);W(this.r,1015,this,this.Mg);Z(this.r,1010,this,this.Ig);Z(this.r,1013,this,this.Lg)}else a.d.Ua.Va[16]=64}n=Ad.prototype;
n.Ca=function(){var a=[];a[0]=this.g;a[1]=this.Z;a[2]=this.da;a[4]=this.d;a[5]=this.n;a[6]=this.F;a[7]=this.H;a[8]=this.Oa;a[9]=this.fb;a[10]=this.gb;a[11]=this.wa;a[12]=this.J;a[13]=this.V;a[14]=this.pa;a[15]=this.l;a[16]=this.O;a[17]=this.Y;a[18]=this.Na;return a};
n.Pa=function(a){this.g=a[0];this.Z=a[1];this.da=a[2];this.s=a[3];this.d=a[4];this.n=a[5];this.F=a[6];this.H=a[7];this.Oa=a[8];this.fb=a[9];this.gb=a[10];this.wa=a[11];this.J=a[12];this.V=a[13];this.pa=a[14];this.l=a[15];this.O=a[16];this.Y=a[17];this.Na=a[18]};n.Gg=function(){return 0};n.Jg=function(){var a=128;this.n<this.F&&(a|=80);0===(this.l&8)&&(a|=32);return a};n.Mg=function(){return 0};n.Kg=function(){return this.n<this.F?this.d[this.n++]:255};
n.Lg=function(a){if(0<this.g)this.Z[this.da++]=a,this.g--,0===this.g&&this.s.call(this,this.Z);else{switch(a){case 3:this.s=this.Zf;this.g=2;break;case 4:this.s=this.If;this.g=1;break;case 5:case 197:this.s=function(b){me(this,!0,b)};this.g=8;break;case 230:this.s=function(b){me(this,!1,b)};this.g=8;break;case 7:this.s=this.Hf;this.g=1;break;case 8:this.n=0;this.F=2;this.d[0]=32;this.d[1]=this.J;break;case 74:this.s=this.ah;this.g=1;break;case 15:this.g=2;this.s=this.Af;break;case 14:this.d[0]=128,
this.n=0,this.F=1,this.g=0}this.da=0}};n.Hg=function(){return this.l};n.Ig=function(a){4===(a&4)&&0===(this.l&4)&&this.p.cb(6);this.l=a};n.If=function(){this.n=0;this.F=1;this.d[0]=32};n.Af=function(a){this.J=a[1];this.V=a[0]>>2&1;this.l&8&&this.p.cb(6)};n.Hf=function(){this.l&8&&this.p.cb(6)};function me(a,b,e){var f=e[2],c=e[1],h=e[3],k=128<<e[4],m=e[5]-e[3]+1,q=((f+a.Y*c)*a.O+h-1)*k;b?a.Bc.me(a.Aa,q,m*k,2,a.ib.bind(a,e,c,f,h)):ne(a.Bc,a.Aa,q,a.ib.bind(a,e,c,f,h))}
n.ib=function(a,b,e,f,c){c||(f++,f>this.O&&(f=1,e++,e>=this.Y&&(e=0,a++)),this.J=a,this.V=e,this.pa=f,this.n=0,this.F=7,this.d[0]=e<<2|32,this.d[1]=0,this.d[2]=0,this.d[3]=a,this.d[4]=e,this.d[5]=f,this.d[6]=b[4],this.l&8&&this.p.cb(6))};n.Zf=function(){};n.ah=function(){this.n=0;this.F=7;this.d[0]=0;this.d[1]=0;this.d[2]=0;this.d[3]=0;this.d[4]=0;this.d[5]=0;this.d[6]=0;this.l&8&&this.p.cb(6)};function od(a){this.size=a;this.d=new Uint8Array(32768);this.g=[];this.l=[];this.n=[];this.s=[];this.buffer=new ArrayBuffer(a);this.na=new Uint8Array(this.buffer);this.F=new Uint16Array(this.buffer);this.Db=new Int32Array(this.buffer)}n=od.prototype;n.Ca=function(){return[this.size,this.buffer]};n.Pa=function(a){this.size=a[0];this.buffer=a[1];this.na=new Uint8Array(this.buffer);this.F=new Uint16Array(this.buffer);this.Db=new Int32Array(this.buffer)};
function oe(a,b){var e=a.g[b>>>17];return e(b)|e(b+1|0)<<8}function pe(a,b,e){a=a.l[b>>>17];a(b,e&255);a(b+1|0,e>>8&255)}n.M=function(a){return this.d[a>>>17]?this.g[a>>>17](a):this.na[a]};n.L=function(a){return this.d[a>>>17]?oe(this,a):this.na[a]|this.na[a+1|0]<<8};function ac(a,b){return a.d[b>>>16]?oe(a,b<<1):a.F[b]}function hc(a,b){return a.d[b>>>17]?a.n[b>>>17](b):a.na[b]|a.na[b+1|0]<<8|a.na[b+2|0]<<16|a.na[b+3|0]<<24}
function dc(a,b){var e;a.d[b>>>15]?(e=b<<2,e=a.n[e>>>17](e)):e=a.Db[b];return e}n.S=function(a,b){if(this.d[a>>>17])this.l[a>>>17](a,b);else this.na[a]=b};n.ga=function(a,b){this.d[a>>>17]?pe(this,a,b):(this.na[a]=b,this.na[a+1|0]=b>>8)};function Rb(a,b,e){a.d[b>>>16]?pe(a,b<<1,e):a.F[b]=e}n.ha=function(a,b){if(this.d[a>>>17])this.s[a>>>17](a,b);else this.na[a]=b,this.na[a+1|0]=b>>8,this.na[a+2|0]=b>>16,this.na[a+3|0]=b>>24};function Ub(a,b,e){a.d[b>>>15]?(b=b<<2,a.s[b>>>17](b,e)):a.Db[b]=e};function vd(a){this.memory=a.memory;this.d=new Int32Array(4);this.g=new Int32Array(4);this.l=0;a=a.r;Z(a,4,this,this.kf.bind(this,4));Z(a,5,this,this.kf.bind(this,5));Z(a,10,this,this.Sg);Z(a,11,this,this.Tg);Z(a,12,this,this.Ug);Z(a,129,this,this.Rg)}n=vd.prototype;n.Ca=function(){return[this.d,this.g,this.l]};n.Pa=function(a){this.d=a[0];this.g=a[1];this.l=a[2]};n.kf=function(a,b){if(8>a){var e=a>>1;a&1?this.g[e]=qe(this,this.g[e],b):this.d[e]=qe(this,this.d[e],b)}};n.Sg=function(){};n.Tg=function(){};
n.Ug=function(){this.l=0};n.Rg=function(a){this.d[2]=this.d[2]&65535|a<<16};function ne(a,b,e,f){var c=a.g[2]+1,h=a.d[2];if(e+c>b.byteLength)f(!0);else{var k=a.memory;a.d[2]+=c;b.get(e,c,function(m){k.na.set(m,h);f(!1)})}}n.me=function(a,b,e,f,c){e=this.g[f];var h=this.d[f];b+e>a.byteLength?c(!0):(this.d[f]+=e,a.set(b,new Uint8Array(this.memory.buffer,h,e+1),function(){c(!1)}))};function qe(a,b,e){a.l^=1;return a.l?b&-256|e:b&-65281|e<<8};function Cd(a){this.p=a;this.J=Date.now();this.g=new Uint8Array(4);this.l=new Uint8Array(4);this.F=new Uint8Array(4);this.H=new Uint8Array(4);this.n=new Uint8Array(4);this.s=new Uint16Array(3);this.rb=new Uint16Array(3);this.d=new Uint16Array(3);this.Jd=0;W(a.r,97,this,function(){var b=Ga();return(66.66666666666667*b&1)<<4|(b-this.Jd>=this.rb[2]/1193.1816666)<<5});W(a.r,64,this,function(){return re(this,0)});W(a.r,65,this,function(){return re(this,1)});W(a.r,66,this,function(){return re(this,2)});
Z(a.r,64,this,function(b){se(this,0,b)});Z(a.r,65,this,function(b){se(this,1,b)});Z(a.r,66,this,function(b){se(this,2,b)});Z(a.r,67,this,this.O)}Cd.prototype.Ca=function(){var a=[];a[0]=this.g;a[1]=this.l;a[2]=this.F;a[3]=this.H;a[4]=this.n;a[5]=this.s;a[6]=this.rb;a[7]=this.d;a[8]=this.Jd;return a};Cd.prototype.Pa=function(a){this.g=a[0];this.l=a[1];this.F=a[2];this.H=a[3];this.n=a[4];this.s=a[5];this.rb=a[6];this.d=a[7];this.Jd=a[8]};
Cd.prototype.xb=function(a,b){var e,f;e=1193.1816666*(a-this.J)>>>0;if(!e)return 0;this.J+=e/1193.1816666;var c=100;if(!b&&this.l[0])if(e=this.d[0]-=e,0>=e)if(c=0,this.p.cb(0),f=this.F[0],0===f)this.l[0]=0,this.d[0]=0;else{if(3===f||2===f)this.d[0]=this.rb[0]+e%this.rb[0]}else c=e/1193.1816666;return c};function re(a,b){var e=a.n[b];if(e)return a.n[b]--,2===e?a.s[b]&255:a.s[b]>>8;e=a.g[b];3===a.F[b]&&(a.g[b]^=1);return e?a.d[b]&255:a.d[b]>>8}
function se(a,b,e){a.rb[b]=a.g[b]?a.rb[b]&-256|e:a.rb[b]&255|e<<8;3===a.H[b]&&a.g[b]||(a.rb[b]||(a.rb[b]=65535),a.d[b]=a.rb[b],a.l[b]=!0);3===a.H[b]&&(a.g[b]^=1)}Cd.prototype.O=function(a){var b=a>>1&7,e=a>>6&3;a=a>>4&3;3!==e&&(0===a?(this.n[e]=2,this.s[e]=this.d[e]):(6<=b&&(b&=-5),this.g[e]=1===a?0:1,this.F[e]=b,this.H[e]=a,2===e&&(this.Jd=Ga())))};function wd(a,b,e){this.C=b;this.ra=e;this.l=0;this.Vc=14;this.Uc=15;this.Z=80;this.gb=25;this.n=this.Fd=this.$c=0;this.hc=!0;this.Ab=!1;this.Jb=new Int32Array(256);this.da=this.s=this.Y=this.V=this.O=this.J=0;this.Tc=80;this.cc=!1;this.Qb=32;this.ce=this.wa=0;this.Lc=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.mc=144;this.Kc=[];Xd(a.d.Jc,this);this.ya={Ue:!1,eh:0,fh:0,Gf:0};this.Aa=this.Na=this.H=
0;this.F=-1;this.Cd=new Uint8Array(16);this.Rb=-1;this.g=15;this.Gd=0;this.fb=-1;this.Xc=this.Wc=this.Yc=0;this.d=255;this.Dd=0;this.Zc=this.Ed=255;a=a.r;Z(a,960,this,this.ng);W(a,960,this,this.hf,this.mg);W(a,961,this,this.jf);Z(a,962,this,this.og);a.vd(964,this,this.qg,this.sg);W(a,964,this,this.pg);W(a,965,this,this.rg);a.vd(974,this,this.zg,this.Bg);W(a,974,this,this.yg);W(a,975,this,this.Ag);Z(a,967,this,this.tg);Z(a,968,this,this.ug);Z(a,969,this,this.wg);W(a,969,this,this.vg);W(a,972,this,
this.xg);a.vd(980,this,this.Cg,this.Eg);W(a,981,this,this.Dg);W(a,986,this,this.Fg);this.Oa=-1;this.pa=0;Z(a,462,this,void 0,this.jg);Z(a,463,this,void 0,this.lg);W(a,463,this,void 0,this.kg);void 0===this.ra||262144>this.ra?this.ra=262144:this.ra&65535&&(this.ra|=65535,this.ra++);this.la=new Uint8Array(this.ra);this.Ia=this.ra;this.Ha=0;this.ke=void 0;b.register("screen-tell-buffer",function(c){this.ke=c[0]},this);b.register("screen-fill-buffer",function(){if(this.Ab&&this.ke&&!(this.Ha<this.Ia)){var c=
0,h=0;this.cc?c=this.Qb:this.hc?c=8:(c=8,h=262144);var k=this.ke,m=this.Ia,q=this.Ha;switch(c){case 32:for(var w=m>>2,B=(q>>2)+1,c=w;c<B;c++)q=this.wf[c],k[c]=q<<16|q>>16&255|q&65280|4278190080;break;case 24:for(var w=m/3|0,B=(q/3|0)+1,z=3*w,c=w;z<q;c++){var G=this.la[z++],h=this.la[z++],m=this.la[z++];k[c]=G<<16|h<<8|m|4278190080}break;case 16:w=m>>1;B=(q>>1)+1;for(c=w;c<B;c++)q=this.ih[c],m=255*(q>>11)/31|0,h=255*(q>>5&63)/63|0,G=255*(q&31)/31|0,k[c]=G<<16|h<<8|m|4278190080;break;case 8:for(w=m-
h,B=q-h+1,c=m;c<q;c++)m=this.Jb[this.la[c]],k[c-h]=m&65280|m<<16|m>>16|4278190080}this.Ia=this.ra;this.Ha=0;this.C.send("screen-fill-buffer-end",[w,B])}},this);this.ih=new Uint16Array(this.la.buffer);this.wf=new Int32Array(this.la.buffer);this.yc=new Uint8Array(this.la.buffer,0,262144);this.Zd=new Uint8Array(this.la.buffer,0,65536);this.$d=new Uint8Array(this.la.buffer,65536,65536);this.ae=new Uint8Array(this.la.buffer,131072,65536);this.be=new Uint8Array(this.la.buffer,196608,65536);var f=this;Fd(a,
655360,131072,function(c){c-=655360;!f.Ab||f.hc?(c|=f.wa,c=f.la[c]):(c&=65535,f.J=f.Zd[c],f.O=f.$d[c],f.V=f.ae[c],f.Y=f.be[c],c=f.yc[f.Yc<<16|c]);return c},function(c,h){var k;k=c-655360;if(f.Ab)if(f.hc){var m=k,m=m|f.wa;f.Ia=m<f.Ia?m:f.Ia;f.Ha=m>f.Ha?m:f.Ha;f.la[m]=h}else{if(!(65535<k)){var q,w,B,z=f.Wc&3;0===z?m=q=w=B=h:2===z&&(f.g&1&&(m=f.J&~f.d|(h&1?255:0)&f.d),f.g&2&&(q=f.O&~f.d|(h&2?255:0)&f.d),f.g&4&&(w=f.V&~f.d|(h&4?255:0)&f.d),f.g&8&&(B=f.Y&~f.d|(h&8?255:0)&f.d));if(0===z||2===z){switch(f.Xc&
24){case 8:m&=f.J;q&=f.O;w&=f.V;B&=f.Y;break;case 16:m|=f.J;q|=f.O;w|=f.V;B|=f.Y;break;case 24:m^=f.J,q^=f.O,w^=f.V,B^=f.Y}f.g&1&&(m=f.J&~f.d|m&f.d);f.g&2&&(q=f.O&~f.d|q&f.d);f.g&4&&(w=f.V&~f.d|w&f.d);f.g&8&&(B=f.Y&~f.d|B&f.d)}else 1===z&&(m=f.J,q=f.O,w=f.V,B=f.Y);f.g&1?f.Zd[k]=m:m=f.Zd[k];f.g&2?f.$d[k]=q:q=f.$d[k];f.g&4?f.ae[k]=w:w=f.ae[k];f.g&8?f.be[k]=B:B=f.be[k];if(!(k>=f.$c*f.Fd<<3))for(q<<=1,w<<=2,B<<=3,k=k<<3|7,z=k+262144,f.Ia=z-7<f.Ia?z-7:f.Ia,f.Ha=z>f.Ha?z:f.Ha,z=0;8>z;z++)f.la[k+262144]=
f.Cd[m>>z&1|q>>z&2|w>>z&4|B>>z&8],k--}}else m=k,98304>m||(w=(m-98304>>1)-f.n,q=w/f.Z|0,w%=f.Z,m&1?(k=h,B=f.yc[m&-2]):(B=h,k=f.yc[m|1]),f.C.send("screen-put-char",[q,w,B,f.Jb[k>>4&15],f.Jb[k&15]]),f.yc[m]=h)});Fd(a,3758096384,this.ra,function(c){return f.la[c&268435455]},function(c,h){var k;k=c&268435455;f.la[k]=h;f.Ia=k<f.Ia?k:f.Ia;f.Ha=k>f.Ha?k:f.Ha},function(c){c&=268435455;return c&3?f.la[c]|f.la[c+1]<<8|f.la[c+2]<<16|f.la[c+3]<<24:f.wf[c>>2]},function(c,h){var k;k=c&268435455;f.Ia=k<f.Ia?k:f.Ia;
f.Ha=k+3>f.Ha?k+3:f.Ha;f.la[k]=h;f.la[k+1]=h>>8;f.la[k+2]=h>>16;f.la[k+3]=h>>24})}n=wd.prototype;
n.Ca=function(){var a=[];a[0]=this.ra;a[1]=this.l;a[2]=this.Vc;a[3]=this.Uc;a[4]=this.Z;a[5]=this.gb;a[6]=this.$c;a[7]=this.Fd;a[8]=this.n;a[9]=this.Ab;a[10]=this.Jb;a[11]=this.J;a[12]=this.O;a[13]=this.V;a[14]=this.Y;a[15]=this.s;a[16]=this.da;a[17]=this.Tc;a[18]=this.cc;a[19]=this.Qb;a[20]=this.wa;a[21]=this.ce;a[22]=this.H;a[23]=this.Na;a[24]=this.Aa;a[25]=this.Cd;a[26]=this.Rb;a[27]=this.g;a[28]=this.Gd;a[29]=this.fb;a[30]=this.Yc;a[31]=this.Wc;a[32]=this.Xc;a[33]=this.d;a[34]=this.Dd;a[35]=this.Ed;
a[36]=this.Zc;a[37]=this.Oa;a[38]=this.pa;a[39]=this.la;return a};
n.Pa=function(a){this.ra=a[0];this.l=a[1];this.Vc=a[2];this.Uc=a[3];this.Z=a[4];this.gb=a[5];this.$c=a[6];this.Fd=a[7];this.n=a[8];this.Ab=a[9];this.Jb=a[10];this.J=a[11];this.O=a[12];this.V=a[13];this.Y=a[14];this.s=a[15];this.da=a[16];this.Tc=a[17];this.cc=a[18];this.Qb=a[19];this.wa=a[20];this.ce=a[21];this.H=a[22];this.Na=a[23];this.Aa=a[24];this.Cd=a[25];this.Rb=a[26];this.g=a[27];this.Gd=a[28];this.fb=a[29];this.Yc=a[30];this.Wc=a[31];this.Xc=a[32];this.d=a[33];this.Dd=a[34];this.Ed=a[35];this.Zc=
a[36];this.Oa=a[37];this.pa=a[38];this.la.set(a[39]);this.C.send("screen-set-mode",this.Ab);this.Ab?this.wd(this.s,this.da,this.Qb):(this.tc(this.Z,this.gb),this.Bd(),this.Ad());te(this)};n.Ad=function(){var a=(this.l-this.n)/this.Z|0,b=(this.l-this.n)%this.Z,a=Math.min(this.gb-1,a);this.C.send("screen-update-cursor",[a,b])};
function te(a){if(a.Ab)a.Ia=a.ra,a.Ha=0;else for(var b=98304|a.n<<1,e,f,c=0;c<a.gb;c++)for(var h=0;h<a.Z;h++)e=a.yc[b],f=a.yc[b|1],a.C.send("screen-put-char",[c,h,e,a.Jb[f>>4&15],a.Jb[f&15]]),b+=2}n.sb=function(){};n.tc=function(a,b){this.Z=a;this.gb=b;this.C.send("screen-set-size-text",[a,b])};n.wd=function(a,b,e){this.$c=a;this.Fd=b;this.ya.Gf=e;this.ya.Ue=!0;this.ya.eh=a;this.ya.fh=b;this.C.send("screen-set-size-graphical",[a,b,e])};
n.Bd=function(){this.C.send("screen-update-cursor-scanline",[this.Vc,this.Uc])};function ue(a,b){var e=!1,f=0,c=0;switch(b){case 3:a.tc(a.Tc,25);break;case 16:f=640;c=350;e=!0;a.hc=!1;break;case 18:f=640;c=480;e=!0;a.hc=!1;break;case 19:f=320,c=200,e=!0,a.hc=!0}a.C.send("screen-set-mode",e);(a.ya.Ue=e)&&a.wd(f,c,8);a.Ab=e}n.ng=function(a){-1===this.F?this.F=a:(16>this.F&&(this.Cd[this.F]=a),this.F=-1)};n.hf=function(){var a=this.F;this.F=-1;return a};
n.mg=function(){return this.hf()&255|this.jf()<<8&65280};n.jf=function(){return this.F=-1};n.og=function(a){this.Ed=a;103===a?ue(this,3):227===a?ue(this,18):99===a?ue(this,19):163===a?ue(this,16):ue(this,3)};n.qg=function(a){this.Rb=a};n.pg=function(){return this.Rb};n.sg=function(a){switch(this.Rb){case 2:this.g=a;break;case 4:this.Gd=a}};n.rg=function(){switch(this.Rb){case 2:return this.g;case 4:return this.Gd;case 6:return 18}return 0};n.tg=function(a){this.Aa=3*a};
n.ug=function(a){this.Na=3*a};n.wg=function(a){var b=this.Na/3|0,e=this.Na%3,f=this.Jb[b];a=255*a/63&255;this.Jb[b]=0===e?f&-16711681|a<<16:1===e?f&-65281|a<<8:f&-256|a;this.Na++};n.vg=function(){var a=this.Aa%3,b=this.Jb[this.Aa/3|0];this.Aa++;return(b>>8*(2-a)&255)/255*63|0};n.xg=function(){return this.Ed};n.zg=function(a){this.fb=a};n.yg=function(){return this.fb};n.Bg=function(a){switch(this.fb){case 3:this.Xc=a;break;case 4:this.Yc=a;break;case 5:this.Wc=a;break;case 8:this.d=a}};
n.Ag=function(){switch(this.fb){case 3:return this.Xc;case 4:return this.Yc;case 5:return this.Wc;case 8:return this.d}return 0};n.Cg=function(a){this.H=a};
n.Eg=function(a){switch(this.H){case 2:this.Tc=a;break;case 9:this.Dd=a;7===(a&31)?this.tc(this.Tc,50):this.tc(this.Tc,25);break;case 10:this.Vc=a;this.Bd();break;case 11:this.Uc=a;this.Bd();break;case 12:this.n=this.n&255|a<<8;te(this);break;case 13:this.n=this.n&65280|a;te(this);break;case 14:this.l=this.l&255|a<<8;this.Ad();break;case 15:this.l=this.l&65280|a,this.Ad()}};
n.Dg=function(){return 9===this.H?this.Dd:10===this.H?this.Vc:11===this.H?this.Uc:14===this.H?this.l>>8:15===this.H?this.l&255:0};n.Fg=function(){this.Zc^=8;this.F=-1;return this.Zc};n.jg=function(a){this.Oa=a};
n.lg=function(a){switch(this.Oa){case 1:this.s=a;2560<this.s&&(this.s=2560);break;case 2:this.da=a;1600<this.da&&(this.da=1600);break;case 3:this.Qb=a;break;case 4:this.cc=1===(a&1);this.pa=a;break;case 5:this.wa=a<<16;break;case 9:this.ce=this.s*(15===this.Qb?16:this.Qb)/8*a,te(this)}!this.cc||this.s&&this.da||(this.cc=!1);this.cc&&4===this.Oa&&(this.wd(this.s,this.da,this.Qb),this.C.send("screen-set-mode",!0),this.hc=this.Ab=!0);this.cc||(this.wa=0)};n.kg=function(){return ve(this,this.Oa)};
function ve(a,b){switch(b){case 0:return 45248;case 1:return a.pa&2?2560:a.s;case 2:return a.pa&2?1600:a.da;case 3:return a.pa&2?32:a.Qb;case 4:return a.pa;case 5:return a.wa>>>16;case 6:return a.$c;case 8:return 0;case 10:return a.ra/65536|0}return 255};function yd(a,b){this.p=a;this.C=b;this.dc=this.Wb=!1;this.nd=!0;this.lc=this.Fb=this.Eb=0;this.da=!0;this.O=this.J=this.s=this.H=this.V=this.F=this.jd=!1;this.fa=new Wd(32);this.n=0;this.sc=100;this.Oc=4;this.l=!1;this.Ye=-1;this.d=new Wd(32);this.C.register("keyboard-code",function(e){this.jd&&(this.fa.push(e),we(this))},this);this.C.register("mouse-click",function(e){this.nd&&this.dc&&(this.lc=e[0]|e[2]<<1|e[1]<<2,this.Wb&&xe(this,0,0))},this);this.C.register("mouse-delta",function(e){var f=e[1];
if(this.nd&&this.dc){var c=this.Oc*this.sc/80;this.Eb+=e[0]*c;this.Fb+=f*c;this.Wb&&(e=this.Eb|0,f=this.Fb|0,!e&&!f||Date.now()-this.Ye<1E3/this.sc||(this.Eb-=e,this.Fb-=f,xe(this,e,f)))}},this);this.C.register("mouse-wheel",function(){},this);this.g=5;this.Y=this.Z=!1;W(a.r,96,this,this.Ng);W(a.r,100,this,this.Pg);Z(a.r,96,this,this.Og);Z(a.r,100,this,this.Qg)}n=yd.prototype;
n.Ca=function(){var a=[];a[0]=this.Wb;a[1]=this.dc;a[2]=this.nd;a[3]=this.Eb;a[4]=this.Fb;a[5]=this.lc;a[6]=this.da;a[7]=this.jd;a[8]=this.F;a[9]=this.V;a[10]=this.H;a[11]=this.s;a[12]=this.J;a[13]=this.O;a[15]=this.n;a[16]=this.sc;a[17]=this.Oc;a[18]=this.l;a[20]=this.g;a[21]=this.Z;a[22]=this.Y;return a};
n.Pa=function(a){this.Wb=a[0];this.dc=a[1];this.nd=a[2];this.Eb=a[3];this.Fb=a[4];this.lc=a[5];this.da=a[6];this.jd=a[7];this.F=a[8];this.V=a[9];this.H=a[10];this.s=a[11];this.J=a[12];this.O=a[13];this.n=a[15];this.sc=a[16];this.Oc=a[17];this.l=a[18];this.g=a[20];this.Z=a[21];this.Y=a[22];this.C.send("mouse-enable",this.dc)};function ye(a){a.g&2&&a.p.cb(12)}function we(a){a.g&1&&a.p.cb(1)}
function xe(a,b,e){var f=(0>e)<<5|(0>b)<<4|8|a.lc;a.Ye=Date.now();a.l&&(b=ze(b),e=ze(e));a.d.push(f);a.d.push(b);a.d.push(e);ye(a)}function ze(a){var b=a>>31;switch(Math.abs(a)){case 0:case 1:case 3:return a;case 2:return b;case 4:return 6*b;case 5:return 9*b;default:return a<<1}}n.sb=function(){};
n.Ng=function(){if(!this.fa.length&&!this.d.length)return this.n;(this.fa.length&&this.d.length?0:!this.fa.length)?(this.n=this.d.shift(),1<=this.d.length&&ye(this)):(this.n=this.fa.shift(),1<=this.fa.length&&we(this));return this.n};n.Pg=function(){var a=16;if(this.d.length||this.fa.length)a|=1;this.d.length&&(a|=32);return a};
n.Og=function(a){if(this.Y)we(this),this.g=a,this.Y=!1;else if(this.Z)this.Z=!1,this.d.clear(),this.d.push(a),ye(this);else if(this.V)this.V=!1,this.d.clear(),this.d.push(250),this.sc=a,ye(this);else if(this.O)this.O=!1,this.d.clear(),this.d.push(250),this.Oc=3<a?4:1<<a,ye(this);else if(this.H)this.H=!1,this.fa.push(250),we(this);else if(this.s)this.s=!1,this.fa.push(250),we(this),a||this.fa.push(2);else if(this.J)this.J=!1,this.fa.push(250),we(this);else if(this.F){if(this.F=!1,this.nd){this.fa.clear();
this.d.clear();this.d.push(250);switch(a){case 230:this.l=!1;break;case 231:this.l=!0;break;case 232:this.O=!0;break;case 233:xe(this,0,0);break;case 242:this.d.push(0);this.d.push(0);this.lc=this.Eb=this.Fb=0;break;case 243:this.V=!0;break;case 244:this.dc=this.Wb=!0;this.C.send("mouse-enable",!0);this.lc=this.Eb=this.Fb=0;break;case 245:this.Wb=!1;break;case 246:this.Wb=!1;this.sc=100;this.l=!1;this.Oc=4;break;case 255:this.d.push(170),this.d.push(0),this.dc=!0,this.C.send("mouse-enable",!0),this.Wb=
!1,this.sc=100,this.l=!1,this.Oc=4,this.lc=this.Eb=this.Fb=0}ye(this)}}else{this.d.clear();this.fa.clear();this.fa.push(250);switch(a){case 237:this.H=!0;break;case 240:this.s=!0;break;case 242:this.fa.push(171);this.fa.push(83);break;case 243:this.J=!0;break;case 244:this.jd=!0;break;case 245:this.jd=!1;break;case 255:this.fa.clear(),this.fa.push(250),this.fa.push(170),this.fa.push(0)}we(this)}};
n.Qg=function(a){switch(a){case 32:this.fa.clear();this.d.clear();this.fa.push(this.g);break;case 96:this.Y=!0;break;case 211:this.Z=!0;break;case 212:this.F=!0;break;case 167:this.g|=32;break;case 168:this.g&=-33;break;case 169:this.fa.clear();this.d.clear();this.fa.push(0);break;case 170:this.fa.clear();this.d.clear();this.fa.push(85);break;case 171:this.fa.clear();this.d.clear();this.fa.push(0);break;case 173:this.g|=16;break;case 174:this.g&=-17;break;case 254:throw a=this.p,a.reset(),qd(a),233495534;
}};function rd(a,b){this.Xa=this.X=this.pd=this.Fc=0;this.g=void 0===b;this.d=void 0;this.kd=!1;this.state=0;this.dd=this.Sd=1;this.g?(this.d=new rd(a,this),this.ed=function(){var f=this.Xa&this.Fc;if(!f)return this.d.ed();f&=-f;if(this.X&&(this.X&-this.X)<=f)return!1;var c=Qd(f),f=1<<c;this.Xa&=~f;if(4===f)return this.d.ed();this.dd||(this.X|=f);a.ea=a.m;Ic(a,this.pd|c,!1,!1);return!0}):this.ed=function(){var f=this.Xa&this.Fc;if(!f)return!1;f&=-f;if(this.X&&(this.X&-this.X)<=f)return!1;var c=Qd(f),
f=1<<c;this.Xa&=~f;this.X|=f;a.ea=a.m;Ic(a,this.pd|c,!1,!1);this.Xa&&b.Rd(2);this.dd||(this.X&=~f);return!0};this.l=function(){this.g&&this.d.l()};var e;e=this.g?32:160;Z(a.r,e,this,function(f){if(f&16)this.kd=f&1,this.state=1;else if(f&8)this.Sd=f&1;else{var c=f>>5;1===c?this.X&=this.X-1:3===c&&(this.X&=~(1<<(f&7)))}});W(a.r,e,this,function(){return this.Sd?this.Xa:this.X});Z(a.r,e|1,this,function(f){0===this.state?this.kd?(this.kd=!1,this.dd=f&2):this.Fc=~f:1===this.state?(this.pd=f,this.state++):
2===this.state&&(this.state=0)});W(a.r,e|1,this,function(){return~this.Fc&255});this.Rd=this.g?function(f){8<=f&&(this.d.Rd(f-8),f=2);this.Xa|=1<<f;Dc(a)}:function(f){this.Xa|=1<<f}}rd.prototype.Ca=function(){var a=[];a[0]=this.Fc;a[1]=this.pd;a[2]=this.X;a[3]=this.Xa;a[4]=this.g;a[5]=this.d;a[6]=this.kd;a[7]=this.state;a[8]=this.Sd;a[9]=this.dd;return a};
rd.prototype.Pa=function(a){this.Fc=a[0];this.pd=a[1];this.X=a[2];this.Xa=a[3];this.g=a[4];this.d=a[5];this.kd=a[6];this.state=a[7];this.Sd=a[8];this.dd=a[9]};function sd(a){this.p=a;this.Ac=0;this.Va=new Uint8Array(256);this.J=this.d=Date.now();this.g=0;this.F=!0;this.O=!1;this.H=.9765625;this.s=38;this.l=2;this.ye=this.n=0;Z(a.r,112,this,function(b){this.Ac=b&127;this.ye=b>>7});Z(a.r,113,this,this.Kf);W(a.r,113,this,this.Jf)}n=sd.prototype;n.Ca=function(){var a=[];a[0]=this.Ac;a[1]=this.Va;a[2]=this.d;a[3]=this.J;a[4]=this.g;a[5]=this.F;a[6]=this.O;a[7]=this.H;a[8]=this.s;a[9]=this.l;a[10]=this.n;a[11]=this.ye;return a};
n.Pa=function(a){this.Ac=a[0];this.Va=a[1];this.d=a[2];this.J=a[3];this.g=a[4];this.F=a[5];this.O=a[6];this.H=a[7];this.s=a[8];this.l=a[9];this.n=a[10];this.ye=a[11]};n.xb=function(a){this.d+=a-this.J;this.J=a;return this.O&&this.F&&this.g<a?(this.F=!1,this.p.cb(8),this.n|=192,this.g+=this.H*Math.ceil((a-this.g)/this.H),Math.max(0,a-this.g)):100};function Ae(a,b){var e;if(a.l&4)e=b;else{e=b;for(var f=0,c=0,h;e;)h=e%10,c|=h<<4*f,f++,e=(e-h)/10;e=c}return e}
n.Jf=function(){switch(this.Ac){case 0:return Ae(this,(new Date(this.d)).getUTCSeconds());case 2:return Ae(this,(new Date(this.d)).getUTCMinutes());case 4:return Ae(this,(new Date(this.d)).getUTCHours());case 7:return Ae(this,(new Date(this.d)).getUTCDate());case 8:return Ae(this,(new Date(this.d)).getUTCMonth()+1);case 9:return Ae(this,(new Date(this.d)).getUTCFullYear()%100);case 10:return this.s;case 11:return this.l;case 12:this.F=!0;var a=this.n;this.n&=-241;return a;case 13:return 255;case 50:return Ae(this,
(new Date(this.d)).getUTCFullYear()/100|0);default:return this.Va[this.Ac]}};n.Kf=function(a){switch(this.Ac){case 10:this.s=a&127;this.H=1E3/(32768>>(this.s&15)-1);break;case 11:this.l=a,this.l&64&&(this.g=Date.now())}this.O=64===(this.l&64)&&0<(this.s&15)};function zd(a,b,e){this.C=e;this.p=a;this.Mb=this.oe=this.g=this.$b=this.Vb=this.lb=0;this.Sa=1;this.d=this.Vd=this.xe=this.Od=0;this.input=new Wd(4096);this.je=[];if(1E3===b||1016===b)this.d=4;else if(1E3===b||1E3===b)this.d=3;else return;this.C.register("serial0-input",function(f){this.input.push(f);this.lb|=4096;this.Mb&1&&Be(this)},this);a=a.r;Z(a,b,this,function(f){if(this.$b&128)this.Vb=this.Vb&-256|f;else if(Ce(this),255!==f){var c=String.fromCharCode(f);this.C.send("serial0-output-char",c);
this.je.push(f);"\n"===c&&(this.C.send("serial0-output-line",String.fromCharCode.apply("",this.je)),this.je=[])}});Z(a,b|1,this,function(f){this.$b&128?this.Vb=this.Vb&255|f<<8:(this.Mb=f,De(this))});W(a,b,this,function(){if(this.$b&128)return this.Vb&255;var f=this.input.shift();this.input.length&&Be(this);return f});W(a,b|1,this,function(){return this.$b&128?this.Vb>>8:this.Mb});W(a,b|2,this,function(){var f=this.Sa&15|192;2===this.Sa?Ee(this,2):12===this.Sa&&Ee(this,12);return f});Z(a,b|2,this,
function(f){this.oe=f});W(a,b|3,this,function(){return this.$b});Z(a,b|3,this,function(f){this.$b=f});W(a,b|4,this,function(){return this.Od});Z(a,b|4,this,function(f){this.Od=f});W(a,b|5,this,function(){var f=0;this.input.length&&(f|=1);return f|96});Z(a,b|5,this,function(){});W(a,b|6,this,function(){return this.xe});Z(a,b|6,this,function(){});W(a,b|7,this,function(){return this.Vd});Z(a,b|7,this,function(f){this.Vd=f})}
zd.prototype.Ca=function(){var a=[];a[0]=this.lb;a[1]=this.Vb;a[2]=this.$b;a[3]=this.g;a[4]=this.oe;a[5]=this.Mb;a[6]=this.Sa;a[7]=this.Od;a[8]=this.xe;a[9]=this.Vd;a[10]=this.d;return a};zd.prototype.Pa=function(a){this.lb=a[0];this.Vb=a[1];this.$b=a[2];this.g=a[3];this.oe=a[4];this.Mb=a[5];this.Sa=a[6];this.Od=a[7];this.xe=a[8];this.Vd=a[9];this.d=a[10]};zd.prototype.N=function(){this.p.cb(this.d)};function Ee(a,b){a.lb&=~(1<<b);a.Sa=1;b===a.Sa&&De(a)}
function Be(a){a.lb|=4096;a.Mb&1&&6!=a.Sa&&4!=a.Sa&&(a.Sa=12,a.N())}function Ce(a){a.lb|=4;a.Mb&2&&(a.Sa&1||0==a.Sa||2==a.Sa)&&(a.Sa=2,a.N())}function De(a){a.lb&4096&&a.Mb&1?Be(a):a.lb&4&&a.Mb&2?Ce(a):a.Sa=1};function Fe(a){this.message=a}Fe.prototype=Error();function Ge(a,b){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.BYTES_PER_ELEMENT)return{__state_type__:a.constructor.name,buffer_id:b.push(a.buffer)-1};if(a instanceof ArrayBuffer)return{__state_type__:"ArrayBuffer",buffer_id:b.push(a)-1};for(var e=a.Ca(),f=[],c=0;c<e.length;c++)f[c]=Ge(e[c],b);return f}
function He(a,b,e){if("object"!==typeof b||null===b)return b;if(a instanceof Array)return b;var f=b.__state_type__;if(void 0===f){for(var f=a.Ca(),c=0;c<b.length;c++)b[c]=He(f[c],b[c],e);a.Pa(b);return a}if("ArrayBuffer"===f)return b=e.Te[b.buffer_id],a&&a.byteLength===b.length&&(new Uint8Array(a)).set(new Uint8Array(e.te,b.offset,b.length)),a;f={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array,
Float64Array:Float64Array}[f];b=e.Te[b.buffer_id];return a&&a.constructor===f&&0===a.byteOffset&&a.byteLength===b.length?((new Uint8Array(a.buffer)).set(new Uint8Array(e.te,b.offset,b.length),a.byteOffset),a):new f(e.te.slice(b.offset,b.offset+b.length))}
p.prototype.Qc=function(){for(var a=[],b=Ge(this,a),e=[],f=0,c=0;c<a.length;c++){var h=a[c].byteLength;e[c]={offset:f,length:h};f+=h;f=f+3&-4}var b=JSON.stringify({buffer_infos:e,state:b}),c=16+2*b.length,k=c+f,f=new ArrayBuffer(k),m=new Int32Array(f,0,4),h=new Uint16Array(f,16,b.length),q=new Uint8Array(f,c);m[0]=-2039052682;m[1]=1;m[2]=k;m[3]=2*b.length;for(c=0;c<b.length;c++)h[c]=b.charCodeAt(c);for(c=0;c<a.length;c++)q.set(new Uint8Array(a[c]),e[c].offset);return f};
function Ie(a,b){var e=b.byteLength;if(16>e)throw new Fe("Invalid length: "+e);var f=new Int32Array(b,0,4);if(-2039052682!==f[0])throw new Fe("Invalid header: "+Ud(f[0]>>>0));if(1!==f[1])throw new Fe("Version mismatch: dump="+f[1]+" we=1");if(f[2]!==e)throw new Fe("Length doesn't match header: real="+e+" header="+f[2]);f=f[3];if(0>f||f+12>=e||f%2)throw new Fe("Invalid info block length: "+f);for(var c=f/2,h=new Uint16Array(b,16,c),k="",e=0;e<c-8;)k+=String.fromCharCode(h[e++],h[e++],h[e++],h[e++],
h[e++],h[e++],h[e++],h[e++]);for(;e<c;)k+=String.fromCharCode(h[e++]);e=JSON.parse(k);c=e.state;h=e.buffer_infos;f=16+f;for(e=0;e<h.length;e++)h[e].offset+=f;He(a,c,{te:b,Te:h})};function Dd(a,b){this.p=a;this.C=b;this.C.register("net0-receive",function(c){if(!(this.t&1)){this.C.send("eth-receive-end",[c.length]);if(60>c.length){var h=c;c=new Uint8Array(60);c.set(h)}var h=this.ec<<8,k=c.length+4,m=h+4,q=this.ec+1+(k>>8);if(h+k>this.memory.length){var w=this.memory.length-m;this.memory.set(c.subarray(0,w),m);this.memory.set(c.subarray(w),76)}else this.memory.set(c,m);q>=this.rc&&(q+=this.Nc-this.rc);this.memory[h]=1;this.memory[h+1]=q;this.memory[h+2]=k;this.memory[h+3]=k>>
8;this.ec=q;Je(this,1)}},this);this.Lc=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.mc=40;this.Kc=[{size:32}];Xd(a.d.Jc,this);this.Md=this.X=0;this.t=1;this.Xd=this.vc=this.vb=this.fd=0;this.memory=new Uint8Array(32768);for(var e=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0],f=0;6>f;f++)this.memory[f<<1]=this.memory[f<<1|1]=e[f];this.Za=0;this.Nc=64;this.rc=128;this.Id=
this.ec=76;e=a.r;W(e,47104,this,function(){return this.t});Z(e,47104,this,function(c){this.t=c&-5;!(this.t&1)&&c&4&&(c=this.Xd<<8,c=this.memory.subarray(c,c+this.vc),this.C.send("net0-send",c),this.C.send("eth-transmit-end",[c.length]),Je(this,2),0===this.vb&&Je(this,64))});W(e,47117,this,function(){return 0});W(e,47118,this,function(){return 0});W(e,47119,this,function(){return 0});W(e,47135,this,function(){0===(this.t&192)&&Je(this,128);return 0});Z(e,47135,this,function(){});Z(e,47105,this,function(c){0===
(this.t&192)&&(this.Nc=c)});Z(e,47106,this,function(c){0===(this.t&192)&&(this.rc=c)});W(e,47111,this,function(){return 0===(this.t&192)?this.X:this.ec});Z(e,47111,this,function(c){0===(this.t&192)?this.X&=~c:this.ec=c});Z(e,47117,this,function(){});Z(e,47118,this,function(c){0===(this.t&192)&&(this.fd=c)});Z(e,47114,this,function(c){0===(this.t&192)&&(this.vb=this.vb&65280|c&255)});Z(e,47115,this,function(c){0===(this.t&192)&&(this.vb=this.vb&255|c<<8&65280)});Z(e,47112,this,function(c){0===(this.t&
192)&&(this.Za=this.Za&65280|c&255)});Z(e,47113,this,function(c){0===(this.t&192)&&(this.Za=this.Za&255|c<<8&65280)});Z(e,47119,this,function(c){0===(this.t&192)&&(this.Md=c)});W(e,47107,this,function(){return 0===(this.t&192)?this.Id:0});Z(e,47107,this,function(c){0===(this.t&192)&&(this.Id=c)});W(e,47108,this,function(){return 0===(this.t&192)?35:0});Z(e,47108,this,function(c){0===(this.t&192)&&(this.Xd=c)});Z(e,47109,this,function(c){0===(this.t&192)&&(this.vc=this.vc&-256|c)});Z(e,47110,this,
function(c){0===(this.t&192)&&(this.vc=this.vc&255|c<<8)});W(e,47116,this,function(){return 0===(this.t&192)?9:0});W(e,47120,this,this.Ie,this.Ie,this.Lf);Z(e,47120,this,this.Je,this.Je,this.Mf)}n=Dd.prototype;n.Ca=function(){var a=[];a[0]=this.X;a[1]=this.Md;a[2]=this.t;a[3]=this.fd;a[4]=this.vb;a[5]=this.vc;a[6]=this.Xd;a[7]=this.Za;a[8]=this.Nc;a[9]=this.ec;a[10]=this.Id;return a};
n.Pa=function(a){this.X=a[0];this.Md=a[1];this.t=a[2];this.fd=a[3];this.vb=a[4];this.vc=a[5];this.Xd=a[6];this.Za=a[7];this.Nc=a[8];this.ec=a[9];this.Id=a[10]};function Je(a,b){a.X|=b;a.Md&b&&a.p.cb(11)}function Ke(a,b){a.vb--;a.memory[a.Za++]=b;a.Za>=a.rc<<8&&(a.Za+=a.Nc-a.rc<<8);0===a.vb&&Je(a,64)}n.Je=function(a){Ke(this,a);this.fd&1&&Ke(this,a>>8)};n.Mf=function(a){Ke(this,a);Ke(this,a>>8);Ke(this,a>>16);Ke(this,a>>24)};
function Le(a){var b=a.memory[a.Za++];a.vb--;a.Za>=a.rc<<8&&(a.Za+=a.Nc-a.rc<<8);0===a.vb&&Je(a,64);return b}n.Ie=function(){return this.fd&1?Le(this)|Le(this)<<8:Le(this)};n.Lf=function(){return Le(this)|Le(this)<<8|Le(this)<<16|Le(this)<<24};function Ed(a,b,e){this.Lc=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.mc=48;this.Kc=[{size:16}];Xd(a.d.Jc,this);var f=a.r;W(f,43008,this,void 0,void 0,function(){return 1});Z(f,43012,this,void 0,void 0,function(){});Z(f,43022,this,void 0,function(c){this.ud=c},void 0);W(f,43020,this,void 0,function(){return this.Ob},void 0);W(f,43016,this,void 0,void 0,function(){return 0===this.ud?this.Nb:
0});Z(f,43016,this,void 0,void 0,function(c){this.Nb=c});Z(f,43026,this,function(c){this.gd=c});W(f,43026,this,function(){return this.gd});W(f,43027,this,function(){var c=this.X;this.X=0;return c});Z(f,43024,this,void 0,function(){var c=(this.Nb<<12)+16*this.Ob,h=c+4;this.memory.L(c);for(var c=this.memory.L(c+2),k=this.Ob-1,c=c&k;this.jc!==c;){var m=this.memory.L(h+2*this.jc);Me(this,m);this.jc=this.jc+1&k}});this.d=12;this.p=a;this.C=b;this.jc=this.X=this.gd=this.ud=0;this.Ob=32;this.Nb=0;this.memory=
a.memory;for(a=0;128>a;a++)W(f,43028+a,this,function(c){return this.Ba.fe[c]}.bind(this,a),void 0,void 0),Z(f,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.Ba=new aa(e,b);this.Ba.ca=this.g.bind(this)}Ed.prototype.Ca=function(){var a=[];a[0]=this.d;a[1]=this.ud;a[2]=this.gd;a[3]=this.X;a[4]=this.jc;a[5]=this.Ob;a[6]=this.Nb;a[7]=this.Ba;return a};
Ed.prototype.Pa=function(a){this.d=a[0];this.ud=a[1];this.gd=a[2];this.X=a[3];this.jc=a[4];this.Ob=a[5];this.Nb=a[6];this.Ba=a[7];this.Ba.ca=this.g.bind(this)};Ed.prototype.reset=function(){this.jc=this.X=this.gd=this.ud=0;this.Ob=32;this.Nb=0};
function Me(a,b){var e=b,f=a.Nb<<12,c=0,h=[];do{var k=f+16*e,m=a.memory.L(k+12);if(m&2)break;var q=hc(a.memory,k),e=hc(a.memory,k+4),w=hc(a.memory,k+8)>>>0;h.push({ee:q,Df:e,ve:w});if(m&1)e=a.memory.L(k+14);else{e=-1;break}}while(1);var B=-1,z=0;ea(a.Ba,{start:b,next:e},function(){if(z>=B){if(c===h.length)return 0;var G=h[c++];q=G.ee;B=G.ve;z=0}return this.memory.M(q+z++)}.bind(a))}
Ed.prototype.g=function(a){if(-1!==a.next){var b=this.Ob-1,e=this.Ba.Td,f=a.next,c=this.Nb<<12,h=0,k=[];do{var f=c+16*f,m=this.memory.L(f+12);if(0===(m&2))break;var q=hc(this.memory,f),w=hc(this.memory,f+4),B=hc(this.memory,f+8)>>>0;k.push({ee:q,Df:w,ve:B});if(m&1)f=this.memory.L(f+14);else break}while(1);m=-1;for(c=w=0;c<e;c++){f=this.Ba.ka[c];if(w>=m){if(h===k.length)return 0;m=k[h++];q=m.ee;m=m.ve;w=0}this.memory.S(q+w++,f)}h=(this.Nb<<12)+16*this.Ob+4+2*this.Ob;h=h+4095&-4096;this.memory.L(h);
k=this.memory.L(h+2);this.memory.ga(h+2,k+1);b=h+4+8*(k&b);this.memory.ha(b,a.start);this.memory.ha(b+4,e);this.X|=1;this.p.cb(this.d)}};function Ne(){this.rd={};this.d=void 0}Ne.prototype.register=function(a,b,e){var f=this.rd[a];void 0===f&&(f=this.rd[a]=[]);f.push({Pe:b,lh:e})};function Oe(a,b,e){var f=a.rd[b];void 0!==f&&(a.rd[b]=f.filter(function(c){return c.Pe!==e}))}Ne.prototype.send=function(a,b){if(this.d){var e=this.d.rd[a];if(void 0!==e)for(var f=0;f<e.length;f++){var c=e[f];c.Pe.call(c.lh,b)}}};function Pe(){var a=new Ne,b=new Ne;a.d=b;b.d=a;return[a,b]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,b){a[b[0]]=b[1];return a},{});function tc(){};var qa=16384;function Qe(a){this.d=[];this.g=[];this.n=a;this.re=this.F=0;this.l=function(){};this.kb={};this.s=0;pa(this,"",-1)}function ia(a,b,e){0==a.d[b].status?e():a.g.push({id:b,Bf:e})}function Re(a,b){0==a.re&&(a.l=function(){});for(var e=a.g.length-1;0<=e;e--)a.g[e].id==b&&(a.g[e].Bf(),a.g.splice(e,1))}
function Se(a,b){var e=JSON.parse(b);if(2!==e.version)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";var f=e.fsroot;a.s=e.size;setTimeout(function(){for(var c=0;c<f.length;c++)Te(a,f[c],0);a.l=function(){}},0)}
function Te(a,b,e){var f=ja(a);f.name=b[0];f.size=b[1];f.sd=b[2];f.ie=f.sd;f.cd=f.sd;f.mode=b[3];f.uid=b[4];f.Ra=b[5];f.ma=e;e=f.mode&61440;if(e===qa)for(b=b[6],f.wc=!0,e=a.d.length,ka(a,f),f=0;f<b.length;f++)Te(a,b[f],e);else 32768===e?(f.status=2,ka(a,f)):40960===e&&(f.xd=b[6],ka(a,f))}function Ue(a,b){var e=a.d[b];2==e.status&&(e.status=3,a.re++,a.n&&Ve(a.n+We(a,e.Oe),function(f){f=this.kb[b]=new Uint8Array(f);e.size=f.length;e.status=0;this.re--;Re(this,b)}.bind(a),function(f){throw f;}))}
function ka(a,b){if(-1!=b.ma){a.d.push(b);b.Oe=a.d.length-1;var e=a.d[b.ma];e.wc=!0;b.Ya=e.Wa;e.Wa=a.d.length-1}else 0==a.d.length&&a.d.push(b)}function Xe(a){this.wc=!1;this.Ya=this.Wa=this.ma=-1;this.status=0;this.name="";this.cf=this.bf=this.sd=this.cd=this.ie=this.Oe=this.Ra=this.uid=this.size=0;this.xd="";this.mode=493;this.Ea={type:0,version:0,path:a};this.xa=void 0}function ja(a){return new Xe(++a.F)}
function pa(a,b,e){var f=ja(a);f.name=b;f.ma=e;f.mode=511|qa;0<=e&&(f.uid=a.d[e].uid,f.Ra=a.d[e].Ra,f.mode=a.d[e].mode&511|qa);f.Ea.type=qa>>8;ka(a,f);return a.d.length-1}function ra(a,b,e){var f=ja(a);f.name=b;f.ma=e;f.uid=a.d[e].uid;f.Ra=a.d[e].Ra;f.Ea.type=128;f.mode=a.d[e].mode&438|32768;ka(a,f);return a.d.length-1}function oa(a,b,e,f,c){var h=ja(a);h.name=b;h.ma=e;h.bf=f;h.cf=c;h.uid=a.d[e].uid;h.Ra=a.d[e].Ra;h.Ea.type=192;h.mode=a.d[e].mode&438;ka(a,h);return a.d.length-1}
function la(a,b,e,f){var c=ja(a);c.name=b;c.ma=e;c.uid=a.d[e].uid;c.Ra=a.d[e].Ra;c.Ea.type=160;c.xd=f;c.mode=40960;ka(a,c);return a.d.length-1}function Ye(a,b,e,f){b=ra(a,b,e);e=a.d[b];(a.kb[b]=new Uint8Array(f.length)).set(f);e.size=f.length}
function ha(a,b){var e=ga(a,b);if((e.mode&61440)==qa){var f=ga(a,b);if(f.wc){var c=f.ma;-1==c&&(c=0);for(var h=0,k=a.d[b].Wa;-1!=k;)h+=24+Ze(a.d[k].name),k=a.d[k].Ya;var h=h+25+26,m=a.kb[b]=new Uint8Array(h);f.size=h;h=0;h+=ca(["Q","d","b","s"],[a.d[b].Ea,h+13+8+1+2+1,a.d[b].mode>>12,"."],m,h);h+=ca(["Q","d","b","s"],[a.d[c].Ea,h+13+8+1+2+2,a.d[c].mode>>12,".."],m,h);for(k=a.d[b].Wa;-1!=k;)h+=ca(["Q","d","b","s"],[a.d[k].Ea,h+13+8+1+2+Ze(a.d[k].name),a.d[k].mode>>12,a.d[k].name],m,h),k=a.d[k].Ya;
f.wc=!1}}return 2==e.status?(Ue(a,b),!1):!0}function za(a,b){var e=ga(a,b);4==e.status&&(-1==e.status,delete a.kb[b],e.size=0)}function wa(a,b,e,f,c){if(b==f&&e==c)return!0;e=xa(a,b,e);if(-1==e)return!1;var h=xa(a,f,c);-1!=h&&ya(a,h);h=a.d[e];if(a.d[h.ma].Wa==e)a.d[h.ma].Wa=h.Ya;else{var k=$e(a,e);a.d[k].Ya=h.Ya}h.ma=f;h.name=c;h.Ea.version++;h.Ya=a.d[h.ma].Wa;a.d[h.ma].Wa=e;a.d[b].wc=!0;return a.d[f].wc=!0}
function ua(a,b,e,f,c){var h=a.d[b],k=a.kb[b];!k||k.length<e+f?(sa(a,b,Math.floor(3*(e+f)/2)),h.size=e+f,k=a.kb[b]):h.size<e+f&&(h.size=e+f);for(a=0;a<f;a++)k[e+a]=c()}function xa(a,b,e){for(b=a.d[b].Wa;-1!=b;){if(a.d[b].name==e)return b;b=a.d[b].Ya}return-1}function We(a,b){for(var e="";0!=b;)e="/"+a.d[b].name+e,b=a.d[b].ma;return e.substring(1)}function $e(a,b){for(var e=ga(a,b),e=a.d[e.ma].Wa;-1!=e&&a.d[e].Ya!=b;)e=a.d[e].Ya;return e}
function ya(a,b){if(0==b)return!1;var e=ga(a,b);if((e.mode&61440)==qa&&-1!=e.Wa)return!1;if(a.d[e.ma].Wa==b)a.d[e.ma].Wa=e.Ya;else{var f=$e(a,b);a.d[f].Ya=e.Ya}a.d[e.ma].wc=!0;e.status=4;e.Ya=-1;e.Wa=-1;e.ma=-1;return!0}function ga(a,b){return isNaN(b)||0>b||b>a.d.length?0:a.d[b]}function sa(a,b,e){var f=ga(a,b),c=a.kb[b];if(e!=f.size&&(a=a.kb[b]=new Uint8Array(e),f.size=e,c))for(e=Math.min(c.length,f.size),f=0;f<e;f++)a[f]=c[f]}
function af(a,b){b=b.replace("//","/");var e=b.split("/"),f=e.length;0==e[f-1].length&&e.pop();0==e[0].length&&e.shift();for(var f=e.length,c=0,h=-1,k=0;k<f;k++){h=xa(a,c,e[k]);if(-1==h)return k<f-1?{id:-1,ma:-1,name:e[k]}:{id:-1,ma:c,name:e[k]};c=h}return{id:h,ma:c,name:e[k]}}
function Aa(a,b){var e=ga(a,b);if(e.xa)return e.xa.length;e.xa=new Uint8Array(12);e.xa[0]=0;e.xa[1]=0;e.xa[2]=0;e.xa[3]=1;e.xa[4]=255;e.xa[5]=255;e.xa[6]=255;e.xa[7]=255;e.xa[8]=255;e.xa[9]=255;e.xa[10]=255;e.xa[11]=255;return e.xa.length};var Ve;if("undefined"!==typeof XMLHttpRequest)Ve=function(a,b,e){var f=new XMLHttpRequest;f.open("GET",a,!0);f.responseType="arraybuffer";f.onreadystatechange=function(){if(4==f.readyState)if(200!=f.status&&0!=f.status)e("Error: Could not load file "+a);else{var c=f.response;c?b(c):e("Error: No data received from: "+a)}};f.send(null)};else{var bf=require("fs");Ve=function(a,b,e){console.log(a);bf.readFile(a,function(f,c){f?e(f):b((new Uint8Array(c)).buffer)})}};function ca(a,b,e,f){for(var c,h=0,k=0;k<a.length;k++)switch(c=b[k],a[k]){case "w":e[f++]=c&255;e[f++]=c>>8&255;e[f++]=c>>16&255;e[f++]=c>>24&255;h+=4;break;case "d":e[f++]=c&255;e[f++]=c>>8&255;e[f++]=c>>16&255;e[f++]=c>>24&255;e[f++]=0;e[f++]=0;e[f++]=0;e[f++]=0;h+=8;break;case "h":e[f++]=c&255;e[f++]=c>>8;h+=2;break;case "b":e[f++]=c;h+=1;break;case "s":var m=f,q=0;e[f++]=0;e[f++]=0;var h=h+2,w;for(w in c)cf(c.charCodeAt(w)).forEach(function(B){e[f++]=B;h+=1;q++});e[m+0]=q&255;e[m+1]=q>>8&255;
break;case "Q":ca(["b","w","d"],[c.type,c.version,c.path],e,f),f+=13,h+=13}return h}
function fa(a,b){for(var e=[],f=0;f<a.length;f++)switch(a[f]){case "w":var c=b(),c=c+(b()<<8),c=c+(b()<<16),c=c+(b()<<24>>>0);e.push(c);break;case "d":c=b();c+=b()<<8;c+=b()<<16;c+=b()<<24>>>0;b();b();b();b();e.push(c);break;case "h":c=b();e.push(c+(b()<<8));break;case "b":e.push(b());break;case "s":for(var c=b(),c=c+(b()<<8),h="",k=new df,m=0;m<c;m++){var q=k.l(b());-1!=q&&(h+=String.fromCharCode(q))}e.push(h)}return e};function df(){this.d=new Uint8Array(5);this.g=0;this.l=function(a){this.d[this.g]=a;this.g++;switch(this.g){case 1:if(128>this.d[0])return this.g=0,this.d[0];break;case 2:if(192==(this.d[0]&224)&&128==(this.d[1]&192))return this.g=0,(this.d[0]&31)<<6|this.d[1]&63}return-1}}function cf(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function Ze(a){for(var b=0,e=0;e<a.length;e++)b+=128>a.charCodeAt(e)?1:2;return b};function ef(a){function b(z){return c(z,!1)}function e(z){return c(z,!0)}function f(){for(var z=Object.keys(m),G,C=0;C<z.length;C++)G=+z[C],m[G]&&h(G,!1);m={}}function c(z,G){if(q.C&&(z.shiftKey&&z.ctrlKey&&74===z.keyCode||!q.d?0:z.target?"phone_keyboard"===z.target.className||"INPUT"!==z.target.nodeName&&"TEXTAREA"!==z.target.nodeName:1)){var C;a:{if(void 0!==z.code&&(C=B[z.code],void 0!==C))break a;C=w[z.keyCode]}if(C)return h(C,G),z.preventDefault(),!1;console.log("Missing char in map: "+z.keyCode.toString(16))}}
function h(z,G){if(G)m[z]&&h(z,!1);else if(!m[z])return;(m[z]=G)||(z|=128);255<z?(k(z>>8),k(z&255)):k(z)}function k(z){q.C.send("keyboard-code",z)}var m={},q=this;this.d=!0;var w=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82,79,80,81,75,76,77,71,72,73,0,
0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),B={Escape:1,Digit1:2,Digit2:3,Digit3:4,Digit4:5,Digit5:6,Digit6:7,Digit7:8,Digit8:9,Digit9:10,Digit0:11,Minus:12,Equal:13,Backspace:14,Tab:15,KeyQ:16,KeyW:17,KeyE:18,KeyR:19,KeyT:20,KeyY:21,KeyU:22,KeyI:23,
KeyO:24,KeyP:25,BracketLeft:26,BracketRight:27,Enter:28,ControlLeft:29,KeyA:30,KeyS:31,KeyD:32,KeyF:33,KeyG:34,KeyH:35,KeyJ:36,KeyK:37,KeyL:38,Semicolon:39,Quote:40,Backquote:41,ShiftLeft:42,Backslash:43,KeyZ:44,KeyX:45,KeyC:46,KeyV:47,KeyB:48,KeyN:49,KeyM:50,Comma:51,Period:52,Slash:53,ShiftRight:54,NumpadMultiply:55,AltLeft:56,Space:57,CapsLock:58,F1:59,F2:60,F3:61,F4:62,F5:63,F6:64,F7:65,F8:66,F9:67,F10:68,NumLock:69,ScrollLock:70,Numpad7:71,Numpad8:72,Numpad9:73,NumpadSubtract:74,Numpad4:75,Numpad5:76,
Numpad6:77,NumpadAdd:78,Numpad1:79,Numpad2:80,Numpad3:81,Numpad0:82,NumpadDecimal:83,IntlBackslash:86,F11:87,F12:88,NumpadEnter:57372,ControlRight:57373,NumpadDivide:57397,AltRight:57400,Home:57423,ArrowUp:57416,PageUp:57417,ArrowLeft:57419,ArrowRight:57421,End:57423,ArrowDown:57424,PageDown:57425,Insert:57426,Delete:57427,OSLeft:57435,OSRight:57436,ContextMenu:57437};this.C=a;this.sb=function(){window.removeEventListener("keyup",b,!1);window.removeEventListener("keydown",e,!1);window.removeEventListener("blur",
f,!1)};this.jb=function(){"undefined"!==typeof window&&(this.sb(),window.addEventListener("keyup",b,!1),window.addEventListener("keydown",e,!1),window.addEventListener("blur",f,!1))};this.jb()};function ff(a){function b(z){return B.enabled&&B.d&&(!z.target||"mousemove"===z.type||"INPUT"!==z.target.nodeName&&"TEXTAREA"!==z.target.nodeName)}function e(z){if(B.C&&b(z)){var G;G=z.webkitMovementX||z.mozMovementX||0;z=z.webkitMovementY||z.mozMovementY||0;z=-(.15*z);B.C.send("mouse-delta",[.15*G,z])}}function f(z){b(z)&&z.preventDefault()}function c(z){b(z)&&k(z,!0)}function h(z){b(z)&&k(z,!1)}function k(z,G){B.C&&(1===z.which?m=G:2===z.which?w=G:3===z.which?q=G:console.log("Unknown event.which: "+
z.which),B.C.send("mouse-click",[m,w,q]),z.preventDefault())}var m=!1,q=!1,w=!1,B=this;this.enabled=!1;this.d=!0;this.C=a;this.C.register("mouse-enable",function(z){this.enabled=z},this);this.sb=function(){window.removeEventListener("mousemove",e,!1);document.removeEventListener("contextmenu",f,!1);window.removeEventListener("mousedown",c,!1);window.removeEventListener("mouseup",h,!1)};this.jb=function(){"undefined"!==typeof window&&(this.sb(),window.addEventListener("mousemove",e,!1),document.addEventListener("contextmenu",
f,!1),window.addEventListener("mousedown",c,!1),window.addEventListener("mouseup",h,!1))};this.jb()};function gf(a,b){function e(k){h.C&&h.enabled&&(h.d(k.which),k.preventDefault())}function f(k){8===k.which&&(h.d(127),k.preventDefault())}function c(k){if(h.enabled){for(var m=k.clipboardData.getData("text/plain"),q=0;q<m.length;q++)h.d(m.charCodeAt(q));k.preventDefault()}}var h=this;this.enabled=!0;this.C=b;this.text=[];this.Ae=this.Wd=!1;this.C.register("serial0-output-char",function(k){this.hh(k)},this);this.sb=function(){a.removeEventListener("keypress",e,!1);a.removeEventListener("keydown",f,
!1);a.removeEventListener("paste",c,!1)};this.jb=function(){this.sb();a.addEventListener("keypress",e,!1);a.addEventListener("keydown",f,!1);a.addEventListener("paste",c,!1);setInterval(function(){this.Wd&&(this.Wd=!1,a.value=this.text.join(""),this.Ae&&(this.Ae=!1,a.scrollTop=1E9))}.bind(this),16)};this.jb();this.hh=function(k){"\b"===k?(this.text.pop(),this.Wd=!0):"\r"!==k&&(this.Wd=!0,this.text.push(k),"\n"===k&&(this.Ae=!0))};this.d=function(k){h.C&&h.C.send("serial0-input",k)}};function hf(a,b){this.C=b;this.d=void 0;this.g=[];this.url=a;this.l=Date.now()-1E4;this.C.register("net0-send",function(e){this.send(e)},this)}n=hf.prototype;n.bg=function(a){this.C&&this.C.send("net0-receive",new Uint8Array(a.data))};n.Se=function(){this.ge();setTimeout(this.ge.bind(this),1E4)};n.cg=function(){for(var a=0;a<this.g.length;a++)this.send(this.g[a]);this.g=[]};n.ag=function(){};n.sb=function(){this.d&&this.d.close()};
n.ge=function(){if(this.d){var a=this.d.readyState;if(0===a||1===a)return}if(!(this.l+1E4>Date.now())){this.l=Date.now();try{this.d=new WebSocket(this.url)}catch(b){this.Se()}this.d.binaryType="arraybuffer";this.d.onopen=this.cg.bind(this);this.d.onmessage=this.bg.bind(this);this.d.onclose=this.Se.bind(this);this.d.onerror=this.ag.bind(this)}};n.send=function(a){this.d&&1===this.d.readyState?this.d.send(a):(this.g.push(a),128<this.g.length&&(this.g=this.g.slice(-64)),this.ge())};(function(){function a(h,k){var m=new XMLHttpRequest;m.open(k.method||"get",h,!0);k.bd||(m.responseType="arraybuffer");if(k.headers)for(var q=Object.keys(k.headers),w=0;w<q.length;w++){var B=q[w];m.setRequestHeader(B,k.headers[B])}m.onload=function(){4===m.readyState&&(200!==m.status&&206!==m.status?console.log("Loading the image `"+h+"` failed"):m.response&&k.ib&&k.ib(m.response,m))};k.lf&&(m.onprogress=function(z){k.lf(z)});m.send(null)}function b(h,k){var m={encoding:k.bd?"utf-8":null};require("fs").readFile(h,
m,function(q,w){if(q)console.log("Could not read file:",h);else{var B=w;k.bd||(B=(new Uint8Array(B)).buffer);k.ib(B)}})}function e(h,k){this.filename=h;this.d=256;this.byteLength=k;this.g={};this.onprogress=this.onload=void 0}function f(h){this.d=h;this.byteLength=h.size;1073741824<h.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(h.size>>20)+" MB ...");this.buffer=new ArrayBuffer(h.size);this.onprogress=this.onload=void 0}function c(h){this.l=h;this.byteLength=h.size;this.d=256;this.g=
{};this.onprogress=this.onload=void 0}"undefined"===typeof XMLHttpRequest?Rd=b:Rd=a;Sd=e;Td=c;Ld=f;e.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.filename,{ib:function(h,k){var m=k.getResponseHeader("Content-Range")||"",q=m.match(/\/(\d+)\s*$/);q?(this.byteLength=+q[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.filename+". `Range: bytes=...` header not supported (Got `"+m+"`)")}.bind(this),headers:{Range:"bytes=0-0","If-Range":""}})};
e.prototype.get=function(h,k,m){console.assert(0===h%this.d);console.assert(0===k%this.d);console.assert(k);a(this.filename,{ib:function(q){q=new Uint8Array(q);this.Ld(h,k,q);m(q)}.bind(this),headers:{Range:"bytes="+h+"-"+(h+k-1)}})};e.prototype.set=function(h,k,m){console.assert(h+k.byteLength<=this.byteLength);var q=k.length;console.assert(0===h%this.d);console.assert(0===q%this.d);console.assert(q);h/=this.d;for(var q=q/this.d,w=0;w<q;w++){var B=this.g[h+w];void 0===B&&(B=this.g[h+w]=new Uint8Array(this.d));
var z=k.subarray(w*this.d,(w+1)*this.d);B.set(z);console.assert(B.byteLength===z.length)}m()};e.prototype.Ld=function(h,k,m){h/=this.d;k/=this.d;for(var q=0;q<k;q++){var w=this.g[h+q];w&&m.set(w,q*this.d)}};e.prototype.ld=function(h){h()};f.prototype.load=function(){this.Ze(0)};f.prototype.Ze=function(h){var k=new FileReader;k.onload=function(q){q=new Uint8Array(q.target.result);(new Uint8Array(this.buffer,h)).set(q);this.Ze(h+4194304)}.bind(this);if(this.onprogress)this.onprogress({loaded:h,total:this.byteLength,
lengthComputable:!0});if(h<this.byteLength){var m=Math.min(h+4194304,this.byteLength);k.readAsArrayBuffer(this.d.slice(h,m))}else this.d=void 0,this.onload&&this.onload({buffer:this.buffer})};f.prototype.get=function(h,k,m){console.assert(h+k<=this.byteLength);m(new Uint8Array(this.buffer,h,k))};f.prototype.set=function(h,k,m){console.assert(h+k.byteLength<=this.byteLength);(new Uint8Array(this.buffer,h,k.byteLength)).set(k);m()};f.prototype.ld=function(h){h(this.buffer)};c.prototype.load=function(){this.onload&&
this.onload({})};c.prototype.get=function(h,k,m){console.assert(0===h%this.d);console.assert(0===k%this.d);console.assert(k);var q=new FileReader;q.onload=function(w){w=new Uint8Array(w.target.result);this.Ld(h,k,w);m(w)}.bind(this);q.readAsArrayBuffer(this.l.slice(h,h+k))};c.prototype.set=e.prototype.set;c.prototype.Ld=e.prototype.Ld;c.prototype.ld=function(h){h()}})();function $(a){function b(C,E){switch(C){case "hda":m.Ka=E;break;case "hdb":m.Jh=E;break;case "cdrom":m.ua=E;break;case "fda":m.Qa=E;break;case "fdb":m.Yf=E;break;case "bios":m.zc=E.buffer;break;case "vga_bios":m.ph=E.buffer;break;case "initial_state":m.od=E.buffer;break;case "fs9p_json":m.Qe=E.buffer}}function e(C,E){if(E)if(E.get&&E.set&&E.load)q.push({name:C,kc:E});else{E={buffer:E.buffer,async:E.async,url:E.url,size:E.size};if("bios"===C||"vga_bios"===C||"initial_state"===C)E.async=!1;if(E.buffer instanceof
ArrayBuffer){var O=new Vd(E.buffer);q.push({name:C,kc:O})}else E.buffer instanceof File?(void 0===E.async&&(E.async=16777216>E.buffer.size),O=E.async?new Ld(E.buffer):new Td(E.buffer),q.push({name:C,kc:O})):E.url&&(E.async?(O=new Sd(E.url,E.size),q.push({name:C,kc:O})):q.push({name:C,url:E.url,size:E.size}))}}function f(){this.C.send("cpu-init",m);setTimeout(function(){m.od&&Ie(k.p,m.od);setTimeout(function(){m.Xb&&m.Qe&&Se(m.Xb,m.Qe);a.autostart&&this.C.send("cpu-run")}.bind(this),0)}.bind(this),
0)}this.he=!1;var c=Pe(),h=this.C=c[0];this.g=c[1];var k=this.Sb=new Md(this.g);this.C.register("emulator-stopped",function(){this.he=!1},this);this.C.register("emulator-started",function(){this.he=!0},this);var m={fg:!0};m.mb=a.memory_size||67108864;m.ra=a.vga_memory_size||8388608;m.Ff=a.boot_order||531;m.Qa=void 0;m.Yf=void 0;a.network_relay_url&&(new hf(a.network_relay_url,h),m.Xf=!0);a.disable_keyboard||(this.l=new ef(h));a.disable_mouse||(this.n=new ff(h));a.screen_container&&(this.d=new Ca(a.screen_container,
h));a.serial_container&&new gf(a.serial_container,h);for(var q=[],c="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),h=0;h<c.length;h++)e(c[h],a[c[h]]);if(a.filesystem&&(c=a.filesystem.basefs,h=a.filesystem.baseurl,this.Xb=new Qe(h),m.Xb=this.Xb,c)){console.assert(h,"Filesystem: baseurl must be specified");var w;"object"===typeof c&&(w=c.size,c=c.url);q.push({name:"fs9p_json",url:c,size:w,bd:!0})}var B=this,z=q.length,G=function(C){if(C===z)setTimeout(f.bind(this),0);else{var E=q[C];
E.kc?(E.kc.onload=function(){b(E.name,E.kc);G(C+1)},E.kc.load()):Rd(E.url,{ib:function(O){b(E.name,new Vd(O));G(C+1)},lf:function(O){B.g.send("download-progress",{qe:C,pe:z,Gh:E.url,lengthComputable:O.lengthComputable,total:E.size||O.total,loaded:O.loaded})},bd:E.bd})}}.bind(this);G(0)}n=$.prototype;n.Pc=function(){this.C.send("cpu-run")};n.de=function(){this.C.send("cpu-stop")};n.De=function(){this.C.send("cpu-restart")};n.Ga=function(a,b){this.C.register(a,b,this)};
n.dh=function(a,b){Oe(this.C,a,b)};n.Cf=function(a){Ie(this.Sb.p,a)};n.Qc=function(a){setTimeout(function(){try{a(null,this.Sb.Qc())}catch(b){a(b,null)}}.bind(this),0)};n.$f=function(){console.warn("V86Starter.prototype.get_statistics is deprecated. Use events instead.");var a={p:{Kh:this.Sb?this.Sb.p.R:0}};if(!this.Sb)return a;var b=this.Sb.p.d;b.Ka&&(a.Ka=b.Ka.ya);b.ua&&(a.ua=b.ua.ya);b.Qd&&(a.Nh={enabled:b.Qd.dc});b.Tb&&(a.Tb=b.Tb.ya);return a};n.We=function(){return this.he};
n.Nd=function(a){for(var b=0;b<a.length;b++)this.C.send("keyboard-code",a[b])};n.rf=function(){this.d&&this.d.l()};n.sf=function(a,b){this.d&&this.d.d(a,b)};n.qf=function(){if(this.d){var a=document.getElementById("screen_container");if(a){var b=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;b&&(b.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.we()}}};
n.we=function(){var a=document.body,b=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;b&&b.call(a)};n.df=function(a){this.n&&(this.n.d=a)};n.eg=function(a){this.l&&(this.l.d=a)};n.vf=function(a){for(var b=0;b<a.length;b++)this.C.send("serial0-input",a.charCodeAt(b))};n.Ge=function(a,b,e){var f=this.Xb;if(f){var c=a.split("/"),c=c[c.length-1];a=af(f,a).ma;var h=""===c||-1===a;h||Ye(f,c,a,b);e&&setTimeout(function(){h?e(new jf):e(null)},0)}};
n.nf=function(a,b){var e=this.Xb;if(e){var f=af(e,a).id;-1===f?b(new jf,null):(ha(e,f),ia(e,f,function(){var c=e.kb[f];c?b(null,c.subarray(0,e.d[f].size)):b(new jf,null)}))}};function jf(a){this.message=a||"File not found"}jf.prototype=Error.prototype;"undefined"!==typeof window?window.V86Starter=$:"undefined"!==typeof module&&"undefined"!==typeof module.exports?module.exports.V86Starter=$:"function"===typeof importScripts&&(self.V86Starter=$);$.prototype.run=$.prototype.Pc;$.prototype.stop=$.prototype.de;
$.prototype.restart=$.prototype.De;$.prototype.add_listener=$.prototype.Ga;$.prototype.remove_listener=$.prototype.dh;$.prototype.restore_state=$.prototype.Cf;$.prototype.save_state=$.prototype.Qc;$.prototype.get_statistics=$.prototype.$f;$.prototype.is_running=$.prototype.We;$.prototype.keyboard_send_scancodes=$.prototype.Nd;$.prototype.screen_make_screenshot=$.prototype.rf;$.prototype.screen_set_scale=$.prototype.sf;$.prototype.screen_go_fullscreen=$.prototype.qf;$.prototype.lock_mouse=$.prototype.we;
$.prototype.mouse_set_status=$.prototype.df;$.prototype.keyboard_set_status=$.prototype.eg;$.prototype.serial0_send=$.prototype.vf;$.prototype.create_file=$.prototype.Ge;$.prototype.read_file=$.prototype.nf;
//# sourceMappingURL=v86_all.js.map