blob: 15b5a53c44769bb8278b706e4efc8cd0358ee750 [file] [log] [blame] [raw]
'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