| 'use strict';var l;function aa(a,c){this.e=a;this.t=c;this.j=function(){};this.J=[6,0,104,111,115,116,57,112];this.q=this.v=8192;this.m=new Uint8Array(2*this.q);this.F=0;this.b=[];this.ja=[this.e,this.t]}function n(a,c,d,f){ba(["w","b","h"],[f+7,c+1,d],a.m,0);a.F=f+7}function ca(a,c,d){d=ba(["w"],[d],a.m,7);n(a,6,c,d)} |
| function da(a,c,d){var f=ea(["w","b","h"],d),g=f[1],h=f[2];switch(g){case 8:d=a.e.F;var k=[16914839];k[1]=a.v;k[2]=Math.floor(274877906944/k[1]);k[3]=k[2]-Math.floor(d/k[1]);k[4]=k[2]-Math.floor(d/k[1]);k[5]=a.e.b.length;k[6]=1048576;k[7]=0;k[8]=256;d=ba("wwddddddw".split(""),k,a.m,7);n(a,g,h,d);a.j(c);break;case 112:case 12:var k=ea(["w","w"],d),m=k[0],f=k[1],p=fa(a.e,a.b[m].U);k[0]=p.ua;k[1]=a.q-24;ba(["Q","w"],k,a.m,7);n(a,g,h,17);d=ga(a.e,a.b[m].U);ha(a.e,a.b[m].U,function(){k[0]=p.ua;k[1]=this.q- |
| 24;ba(["Q","w"],k,this.m,7);n(this,g,h,17);this.j(c)}.bind(a));break;case 70:var k=ea(["w","w","s"],d),x=k[0],m=k[1];d=k[2];var p=ia(a.e),f=fa(a.e,a.b[m].U),A=a.e.e[a.b[m].U];p.mode=f.mode;p.size=f.size;p.Gc=f.Gc;for(var D=a.e.e[a.e.b.length]=new Uint8Array(p.size),f=0;f<p.size;f++)D[f]=A[f];p.name=d;p.fa=a.b[x].U;ja(a.e,p);n(a,g,h,0);a.j(c);break;case 16:k=ea(["w","s","s","w"],d);m=k[0];d=k[1];x=k[3];d=ka(a.e,d,a.b[m].U,k[2]);p=fa(a.e,d);p.uid=a.b[m].uid;p.Aa=x;ba(["Q"],[p.ua],a.m,7);n(a,g,h,13); |
| a.j(c);break;case 18:k=ea("wswwww".split(""),d);m=k[0];d=k[1];f=k[2];A=k[3];D=k[4];x=k[5];d=la(a.e,d,a.b[m].U,A,D);p=fa(a.e,d);p.mode=f;p.uid=a.b[m].uid;p.Aa=x;ba(["Q"],[p.ua],a.m,7);n(a,g,h,13);a.j(c);break;case 22:k=ea(["w"],d);m=k[0];p=fa(a.e,a.b[m].U);d=ba(["s"],[p.Gc],a.m,7);n(a,g,h,d);a.j(c);break;case 72:k=ea(["w","s","w","w"],d);m=k[0];d=k[1];f=k[2];x=k[3];d=ma(a.e,d,a.b[m].U);p=fa(a.e,d);p.mode=f|na;p.uid=a.b[m].uid;p.Aa=x;ba(["Q"],[p.ua],a.m,7);n(a,g,h,13);a.j(c);break;case 14:k=ea(["w", |
| "s","w","w","w"],d);m=k[0];d=k[1];f=k[3];x=k[4];d=oa(a.e,d,a.b[m].U);a.b[m].U=d;a.b[m].type=1;p=fa(a.e,d);p.uid=a.b[m].uid;p.Aa=x;p.mode=f;ba(["Q","w"],[p.ua,a.q-24],a.m,7);n(a,g,h,17);a.j(c);break;case 52:ba(["w"],[0],a.m,7);n(a,g,h,1);a.j(c);break;case 24:k=ea(["w","d"],d);m=k[0];p=fa(a.e,a.b[m].U);k[0]|=4096;k[0]=k[1];k[1]=p.ua;k[2]=p.mode;k[3]=p.uid;k[4]=p.Aa;k[5]=1;k[6]=p.ve<<8|p.we;k[7]=p.size;k[8]=a.v;k[9]=Math.floor(p.size/512+1);k[10]=p.mc;k[11]=0;k[12]=p.yc;k[13]=0;k[14]=p.pd;k[15]=0;k[16]= |
| 0;k[17]=0;k[18]=0;k[19]=0;ba("dQwwwddddddddddddddd".split(""),k,a.m,7);n(a,g,h,153);a.j(c);break;case 26:k=ea("wwwwwddddd".split(""),d);m=k[0];p=fa(a.e,a.b[m].U);k[1]&1&&(p.mode=k[2]);k[1]&2&&(p.uid=k[3]);k[1]&4&&(p.Aa=k[4]);k[1]&128&&(p.mc=k[6]);k[1]&256&&(p.mc=k[8]);k[1]&16&&(p.mc=Math.floor((new Date).getTime()/1E3));k[1]&32&&(p.yc=Math.floor((new Date).getTime()/1E3));k[1]&64&&(p.pd=Math.floor((new Date).getTime()/1E3));k[1]&8&&pa(a.e,a.b[m].U,k[5]);n(a,g,h,0);a.j(c);break;case 50:k=ea(["w","d"], |
| d);m=k[0];n(a,g,h,0);a.j(c);break;case 40:case 116:var k=ea(["w","d","w"],d),m=k[0],O=k[1],U=k[2],p=fa(a.e,a.b[m].U);if(2==a.b[m].type){p.qa.length<O+U&&(U=p.qa.length-O);for(f=0;f<U;f++)a.m[11+f]=p.qa[O+f];ba(["w"],[U],a.m,7);n(a,g,h,4+U);a.j(c)}else{var Na=a.e.b[a.b[m].U];a.t.send("9p-read-start");ga(a.e,a.b[m].U);ha(a.e,a.b[m].U,function(){this.t.send("9p-read-end",[Na.name,U]);p.size<O+U&&(U=p.size-O);var a=this.e.e[this.b[m].U];if(a)for(var d=0;d<U;d++)this.m[11+d]=a[O+d];ba(["w"],[U],this.m, |
| 7);n(this,g,h,4+U);this.j(c)}.bind(a))}break;case 118:k=ea(["w","d","w"],d);m=k[0];O=k[1];U=k[2];qa(a.e,a.b[m].U,O,U,d);Na=a.e.b[a.b[m].U];a.t.send("9p-write-end",[Na.name,U]);ba(["w"],[U],a.m,7);n(a,g,h,4);a.j(c);break;case 74:k=ea(["w","s","w","s"],d);d=ra(a.e,a.b[k[0]].U,k[1],a.b[k[2]].U,k[3]);if(0==d){ca(a,h,2);a.j(c);break}n(a,g,h,0);a.j(c);break;case 76:k=ea(["w","s","w"],d);f=k[0];d=k[1];m=sa(a.e,a.b[f].U,d);if(-1==m){ca(a,h,2);a.j(c);break}d=ta(a.e,m);if(!d){ca(a,h,39);a.j(c);break}n(a,m, |
| h,0);a.j(c);break;case 100:d=ea(["w","s"],d);a.q=d[0];d=ba(["w","s"],[a.q,"9P2000.L"],a.m,7);n(a,g,h,d);a.j(c);break;case 104:k=ea(["w","w","s","s","w"],d);m=k[0];a.b[m]={U:0,type:1,uid:k[4]};p=fa(a.e,a.b[m].U);ba(["Q"],[p.ua],a.m,7);n(a,g,h,13);a.j(c);break;case 108:k=ea(["h"],d);n(a,g,h,0);a.j(c);break;case 110:k=ea(["w","w","h"],d);m=k[0];x=k[1];A=k[2];if(0==A){a.b[x]={U:a.b[m].U,type:1,uid:a.b[m].uid};ba(["h"],[0],a.m,7);n(a,g,h,2);a.j(c);break}D=[];for(f=0;f<A;f++)D.push("s");D=ea(D,d);d=a.b[m].U; |
| for(var O=9,Ta=0,f=0;f<A;f++){d=sa(a.e,d,D[f]);if(-1==d)break;O+=ba(["Q"],[a.e.b[d].ua],a.m,O);Ta++;a.b[x]={U:d,type:1,uid:a.b[m].uid}}ba(["h"],[Ta],a.m,7);n(a,g,h,O-7);a.j(c);break;case 120:k=ea(["w"],d);a.b[k[0]]&&0<=a.b[k[0]].U&&(ua(a.e,a.b[k[0]].U),a.b[k[0]].U=-1,a.b[k[0]].type=-1);n(a,g,h,0);a.j(c);break;case 32:ca(a,h,524);a.j(c);break;case 30:k=ea(["w","w","s"],d),m=k[0],f=k[1],d=k[2],a.b[f]={U:a.b[m].U,type:-1,uid:a.b[m].uid},x=0,"security.capability"==d&&(x=va(a.e,a.b[m].U),a.b[f].type=2), |
| ba(["d"],[x],a.m,7),n(a,g,h,8),a.j(c)}};"undefined"===typeof window||window.requestAnimationFrame||(window.requestAnimationFrame=window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame); |
| function xa(a,c){function d(a){a=a.toString(16);return"#"+Array(7-a.length).join("0")+a}function f(){for(var a=0;a<Ua;a++)eb[a]&&(yb.e(a),eb[a]=0);this.hb()}function g(){this.t.send("screen-fill-buffer");this.hb()}function h(a,c,d){c=""+(1===c?"":" scaleX("+c+")")+(1===d?"":" scaleY("+d+")");a.style.webkitTransform=a.style.MozTransform=c}console.assert(a,"1st argument must be a DOM container");for(var k=a.getElementsByTagName("canvas")[0],m=k.getContext("2d"),p=k.nextElementSibling||k.previousElementSibling, |
| x=document.createElement("div"),A,D,O,U,Na=1,Ta=1,Vb,eb,kd=!1,wa,Ia,Ua,yb=this,Ab=new Uint16Array([199,252,233,226,228,224,229,231,234,235,232,239,238,236,196,197,201,230,198,244,246,242,251,249,255,214,220,162,163,165,8359,402,225,237,243,250,241,209,170,186,191,8976,172,189,188,161,171,187,9617,9618,9619,9474,9508,9569,9570,9558,9557,9571,9553,9559,9565,9564,9563,9488,9492,9524,9516,9500,9472,9532,9566,9567,9562,9556,9577,9574,9568,9552,9580,9575,9576,9572,9573,9561,9560,9554,9555,9579,9578,9496, |
| 9484,9608,9604,9612,9616,9600,945,223,915,960,931,963,181,964,934,920,937,948,8734,966,949,8745,8801,177,8805,8804,8992,8993,247,8776,176,8729,183,8730,8319,178,9632,160]),Bb=new Uint16Array([32,9786,9787,9829,9830,9827,9824,8226,9688,9675,9689,9794,9792,9834,9835,9788,9658,9668,8597,8252,182,167,9644,8616,8593,8595,8594,8592,8735,8596,9650,9660]),fb=[],Oa,Da=0;256>Da;Da++)127<Da?Oa=Ab[Da-128]:32>Da?Oa=Bb[Da]:Oa=Da,fb[Da]=String.fromCharCode(Oa);m.imageSmoothingEnabled=!1;m.mozImageSmoothingEnabled= |
| !1;x.style.position="absolute";x.style.backgroundColor="#ccc";x.style.width="7px";x.style.display="inline-block";p.style.display="block";k.style.display="none";this.t=c;c.register("screen-set-mode",function(a){this.yg(a)},this);c.register("screen-fill-buffer-end",function(a){this.Bg(a[0],a[1])},this);c.register("screen-put-char",function(a){this.ng(a[0],a[1],a[2],a[3],a[4])},this);c.register("screen-update-cursor",function(a){this.Jc(a[0],a[1])},this);c.register("screen-update-cursor-scanline",function(a){this.Kc(a[0], |
| a[1])},this);c.register("screen-set-size-text",function(a){this.Ub(a[0],a[1])},this);c.register("screen-set-size-graphical",function(a){this.Ec(a[0],a[1])},this);this.Ua=function(){this.Ub(80,25);this.hb()};this.j=function(){try{window.open(k.toDataURL())}catch(a){}};this.ng=function(a,c,d,g,f){a<Ua&&c<Ia&&(c=3*(a*Ia+c),wa[c]=d,wa[c+1]=g,wa[c+2]=f,eb[a]=1)};this.hb=function(){requestAnimationFrame(kd?g:f)};f=f.bind(this);g=g.bind(this);this.ab=function(){};this.yg=function(a){(kd=a)?(p.style.display= |
| "none",k.style.display="block"):(p.style.display="block",k.style.display="none")};this.Ub=function(a,c){if(a!==Ia||c!==Ua){eb=new Int8Array(c);wa=new Int32Array(a*c*3);Ia=a;for(Ua=c;p.childNodes.length>c;)p.removeChild(p.firstChild);for(;p.childNodes.length<c;)p.appendChild(document.createElement("div"));for(var d=0;d<c;d++)this.e(d)}};this.Ec=function(a,c){k.style.display="block";k.width=a;k.height=c;A=m.createImageData(a,c);new Uint8Array(A.data.buffer);D=new Int32Array(A.data.buffer);Vb=a;this.t.send("screen-tell-buffer", |
| [D],[D.buffer])};this.b=function(a,c){Na=a;Ta=c;h(k,Na,Ta);h(p,Na,Ta)};this.b(Na,Ta);this.Kc=function(a,c){a&32?x.style.display="none":(x.style.display="inline",x.style.height=Math.min(15,c-a)+"px",x.style.marginTop=Math.min(15,a)+"px")};this.Jc=function(a,c){if(a!==O||c!==U)eb[a]=1,eb[O]=1,O=a,U=c};this.e=function(a){var c=3*a*Ia,g,f,h,k,m,A;g=p.childNodes[a];for(h=document.createDocumentFragment();g.firstChild;)g.removeChild(g.firstChild);for(var D=0;D<Ia;){f=document.createElement("span");k=wa[c+ |
| 1];m=wa[c+2];f.style.backgroundColor=d(k);f.style.color=d(m);for(A="";D<Ia&&wa[c+1]===k&&wa[c+2]===m;)if(A+=fb[wa[c]],D++,c+=3,a===O)if(D===U)break;else if(D===U+1){h.appendChild(x);break}f.textContent=A;h.appendChild(f)}g.appendChild(h)};this.Bg=function(a,c){if(!(c<a)){var d=a/Vb|0;m.putImageData(A,0,0,0,d,Vb,(c/Vb|0)-d+1)}};this.Ua()};function q(){this.mb=0;this.Db=[];this.B=[];this.Ka=[];this.m=new Int32Array(1048576);this.ib=new Uint8Array(1048576);this.kc=new Uint8Array(1048576);this.ma=!1;this.bc=this.Qc=this.cc=this.Sc=0;this.q=!1;this.s=new Int32Array(8);this.s[0]=0;this.s[2]=0;this.s[3]=0;this.Gd=this.O=this.s[4]=0;this.sc=this.sb=this.Eb=this.Qa=this.Ea=!1;this.I={Wb:{hb:function(){},ab:function(){}},Hd:{hb:function(){},ab:function(){}}};this.Od=this.C=this.j=this.Z=this.Ga=this.Fa=this.n=this.f=this.V=this.Zc=this.$c= |
| this.Hc=this.v=this.Wa=0;this.i=this.d;this.o=this.A=this.G=0;this.table=[];this.w=!1;this.W=this.l=0;this.Kb={ue:null,Wb:null};this.P=0;this.a=new Int32Array(8);this.eb=new Uint32Array(this.a.buffer);this.na=new Int16Array(this.a.buffer);this.d=new Uint16Array(this.a.buffer);this.Bb=new Int8Array(this.a.buffer);this.k=new Uint8Array(this.a.buffer);this.N=new Uint16Array(8);this.pc=new Int32Array(8);this.u=this.d;this.nb=this.D=0;this.memory=null;this.ha=-1;this.K=!1;this.ra=this.p=void 0;"use strict"; |
| (function(a){var c={};a.debug=c;c.fh=!1;c.dh=void 0;c.Kg=[];c.gh=!1;c.show=function(a){if("undefined"!==typeof document){var c=document.getElementById("log");if(c){c.textContent+=a+"\n";c.style.display="block";c.scrollTop=1E9;return}}console.log(a)};c.Ua=function(){};c.Qg=function(){};c.Og=function(){};c.Vg=function(){};c.Rg=function(){};c.Sg=function(){};c.Pg=function(){};c.Mg=function(){};c.Ng=function(){};c.Wg=function(){};c.$g=function(){};c.ih=function(){};c.step=function(){};c.eh=function(){}; |
| c.Lg=function(){};c.Q=function(a){a="Unimplemented"+(a?": "+a:"");c.show(a);c.show("Execution stopped");return a};c.Zg=function(){}})(this);this.$a()} |
| q.prototype.$a=function(){this.eb=new Uint32Array(this.a.buffer);this.na=new Int16Array(this.a.buffer);this.d=new Uint16Array(this.a.buffer);this.Bb=new Int8Array(this.a.buffer);this.k=new Uint8Array(this.a.buffer);ya(this);za(this);this.Eb?this.u=this.a:this.u=this.d;Aa(this);this.P=0;this.Od=Ba();this.ja=[this.Kb,this.debug,this.Ld,this.Md,this.Te,this.Ue,this.m,this.ib,this.kc]};"use strict"; |
| (function(){q.prototype.e=Array(192);q.prototype.b=Array(192);q.prototype.g=Array(256);q.prototype.e[0]=function(a){return r(a)+(a.d[6]+a.d[12]&65535)|0};q.prototype.e[64]=function(a){return r(a)+(a.d[6]+a.d[12]+t(a)&65535)|0};q.prototype.e[128]=function(a){return r(a)+(a.d[6]+a.d[12]+u(a)&65535)|0};q.prototype.e[1]=function(a){return r(a)+(a.d[6]+a.d[14]&65535)|0};q.prototype.e[65]=function(a){return r(a)+(a.d[6]+a.d[14]+t(a)&65535)|0};q.prototype.e[129]=function(a){return r(a)+(a.d[6]+a.d[14]+u(a)& |
| 65535)|0};q.prototype.e[2]=function(a){return v(a)+(a.d[10]+a.d[12]&65535)|0};q.prototype.e[66]=function(a){return v(a)+(a.d[10]+a.d[12]+t(a)&65535)|0};q.prototype.e[130]=function(a){return v(a)+(a.d[10]+a.d[12]+u(a)&65535)|0};q.prototype.e[3]=function(a){return v(a)+(a.d[10]+a.d[14]&65535)|0};q.prototype.e[67]=function(a){return v(a)+(a.d[10]+a.d[14]+t(a)&65535)|0};q.prototype.e[131]=function(a){return v(a)+(a.d[10]+a.d[14]+u(a)&65535)|0};q.prototype.e[4]=function(a){return r(a)+(a.d[12]&65535)| |
| 0};q.prototype.e[68]=function(a){return r(a)+(a.d[12]+t(a)&65535)|0};q.prototype.e[132]=function(a){return r(a)+(a.d[12]+u(a)&65535)|0};q.prototype.e[5]=function(a){return r(a)+(a.d[14]&65535)|0};q.prototype.e[69]=function(a){return r(a)+(a.d[14]+t(a)&65535)|0};q.prototype.e[133]=function(a){return r(a)+(a.d[14]+u(a)&65535)|0};q.prototype.e[6]=function(a){return v(a)+(a.d[10]&65535)|0};q.prototype.e[70]=function(a){return v(a)+(a.d[10]+t(a)&65535)|0};q.prototype.e[134]=function(a){return v(a)+(a.d[10]+ |
| u(a)&65535)|0};q.prototype.e[7]=function(a){return r(a)+(a.d[6]&65535)|0};q.prototype.e[71]=function(a){return r(a)+(a.d[6]+t(a)&65535)|0};q.prototype.e[135]=function(a){return r(a)+(a.d[6]+u(a)&65535)|0};q.prototype.b[0]=function(a){return r(a)+a.a[0]|0};q.prototype.b[64]=function(a){return r(a)+a.a[0]+t(a)|0};q.prototype.b[128]=function(a){return r(a)+a.a[0]+w(a)|0};q.prototype.b[1]=function(a){return r(a)+a.a[1]|0};q.prototype.b[65]=function(a){return r(a)+a.a[1]+t(a)|0};q.prototype.b[129]=function(a){return r(a)+ |
| a.a[1]+w(a)|0};q.prototype.b[2]=function(a){return r(a)+a.a[2]|0};q.prototype.b[66]=function(a){return r(a)+a.a[2]+t(a)|0};q.prototype.b[130]=function(a){return r(a)+a.a[2]+w(a)|0};q.prototype.b[3]=function(a){return r(a)+a.a[3]|0};q.prototype.b[67]=function(a){return r(a)+a.a[3]+t(a)|0};q.prototype.b[131]=function(a){return r(a)+a.a[3]+w(a)|0};q.prototype.b[4]=function(a){return a.g[y(a)](a,!1)|0};q.prototype.b[68]=function(a){return a.g[y(a)](a,!1)+t(a)|0};q.prototype.b[132]=function(a){return a.g[y(a)](a, |
| !1)+w(a)|0};q.prototype.b[5]=function(a){return v(a)+a.a[5]|0};q.prototype.b[69]=function(a){return v(a)+a.a[5]+t(a)|0};q.prototype.b[133]=function(a){return v(a)+a.a[5]+w(a)|0};q.prototype.b[6]=function(a){return r(a)+a.a[6]|0};q.prototype.b[70]=function(a){return r(a)+a.a[6]+t(a)|0};q.prototype.b[134]=function(a){return r(a)+a.a[6]+w(a)|0};q.prototype.b[7]=function(a){return r(a)+a.a[7]|0};q.prototype.b[71]=function(a){return r(a)+a.a[7]+t(a)|0};q.prototype.b[135]=function(a){return r(a)+a.a[7]+ |
| w(a)|0};q.prototype.e[6]=function(a){return r(a)+u(a)|0};q.prototype.b[5]=function(a){return r(a)+w(a)|0};q.prototype.b[4]=function(a){return a.g[y(a)](a,!1)|0};q.prototype.b[68]=function(a){return a.g[y(a)](a,!0)+t(a)|0};q.prototype.b[132]=function(a){return a.g[y(a)](a,!0)+w(a)|0};for(var a=0;8>a;a++)for(var c=0;3>c;c++)for(var d=a|c<<6,f=1;8>f;f++)q.prototype.b[d|f<<3]=q.prototype.b[d],q.prototype.e[d|f<<3]=q.prototype.e[d];q.prototype.g[0]=function(a){return a.a[0]+r(a)+a.a[0]|0};q.prototype.g[1]= |
| function(a){return a.a[0]+r(a)+a.a[1]|0};q.prototype.g[2]=function(a){return a.a[0]+r(a)+a.a[2]|0};q.prototype.g[3]=function(a){return a.a[0]+r(a)+a.a[3]|0};q.prototype.g[4]=function(a){return a.a[0]+v(a)+a.a[4]|0};q.prototype.g[5]=function(a,c){return a.a[0]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[6]=function(a){return a.a[0]+r(a)+a.a[6]|0};q.prototype.g[7]=function(a){return a.a[0]+r(a)+a.a[7]|0};q.prototype.g[64]=function(a){return(a.a[0]<<1)+r(a)+a.a[0]|0};q.prototype.g[65]=function(a){return(a.a[0]<< |
| 1)+r(a)+a.a[1]|0};q.prototype.g[66]=function(a){return(a.a[0]<<1)+r(a)+a.a[2]|0};q.prototype.g[67]=function(a){return(a.a[0]<<1)+r(a)+a.a[3]|0};q.prototype.g[68]=function(a){return(a.a[0]<<1)+v(a)+a.a[4]|0};q.prototype.g[69]=function(a,c){return(a.a[0]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[70]=function(a){return(a.a[0]<<1)+r(a)+a.a[6]|0};q.prototype.g[71]=function(a){return(a.a[0]<<1)+r(a)+a.a[7]|0};q.prototype.g[128]=function(a){return(a.a[0]<<2)+r(a)+a.a[0]|0};q.prototype.g[129]=function(a){return(a.a[0]<< |
| 2)+r(a)+a.a[1]|0};q.prototype.g[130]=function(a){return(a.a[0]<<2)+r(a)+a.a[2]|0};q.prototype.g[131]=function(a){return(a.a[0]<<2)+r(a)+a.a[3]|0};q.prototype.g[132]=function(a){return(a.a[0]<<2)+v(a)+a.a[4]|0};q.prototype.g[133]=function(a,c){return(a.a[0]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[134]=function(a){return(a.a[0]<<2)+r(a)+a.a[6]|0};q.prototype.g[135]=function(a){return(a.a[0]<<2)+r(a)+a.a[7]|0};q.prototype.g[192]=function(a){return(a.a[0]<<3)+r(a)+a.a[0]|0};q.prototype.g[193]= |
| function(a){return(a.a[0]<<3)+r(a)+a.a[1]|0};q.prototype.g[194]=function(a){return(a.a[0]<<3)+r(a)+a.a[2]|0};q.prototype.g[195]=function(a){return(a.a[0]<<3)+r(a)+a.a[3]|0};q.prototype.g[196]=function(a){return(a.a[0]<<3)+v(a)+a.a[4]|0};q.prototype.g[197]=function(a,c){return(a.a[0]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[198]=function(a){return(a.a[0]<<3)+r(a)+a.a[6]|0};q.prototype.g[199]=function(a){return(a.a[0]<<3)+r(a)+a.a[7]|0};q.prototype.g[8]=function(a){return a.a[1]+r(a)+a.a[0]|0}; |
| q.prototype.g[9]=function(a){return a.a[1]+r(a)+a.a[1]|0};q.prototype.g[10]=function(a){return a.a[1]+r(a)+a.a[2]|0};q.prototype.g[11]=function(a){return a.a[1]+r(a)+a.a[3]|0};q.prototype.g[12]=function(a){return a.a[1]+v(a)+a.a[4]|0};q.prototype.g[13]=function(a,c){return a.a[1]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[14]=function(a){return a.a[1]+r(a)+a.a[6]|0};q.prototype.g[15]=function(a){return a.a[1]+r(a)+a.a[7]|0};q.prototype.g[72]=function(a){return(a.a[1]<<1)+r(a)+a.a[0]|0};q.prototype.g[73]= |
| function(a){return(a.a[1]<<1)+r(a)+a.a[1]|0};q.prototype.g[74]=function(a){return(a.a[1]<<1)+r(a)+a.a[2]|0};q.prototype.g[75]=function(a){return(a.a[1]<<1)+r(a)+a.a[3]|0};q.prototype.g[76]=function(a){return(a.a[1]<<1)+v(a)+a.a[4]|0};q.prototype.g[77]=function(a,c){return(a.a[1]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[78]=function(a){return(a.a[1]<<1)+r(a)+a.a[6]|0};q.prototype.g[79]=function(a){return(a.a[1]<<1)+r(a)+a.a[7]|0};q.prototype.g[136]=function(a){return(a.a[1]<<2)+r(a)+a.a[0]|0}; |
| q.prototype.g[137]=function(a){return(a.a[1]<<2)+r(a)+a.a[1]|0};q.prototype.g[138]=function(a){return(a.a[1]<<2)+r(a)+a.a[2]|0};q.prototype.g[139]=function(a){return(a.a[1]<<2)+r(a)+a.a[3]|0};q.prototype.g[140]=function(a){return(a.a[1]<<2)+v(a)+a.a[4]|0};q.prototype.g[141]=function(a,c){return(a.a[1]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[142]=function(a){return(a.a[1]<<2)+r(a)+a.a[6]|0};q.prototype.g[143]=function(a){return(a.a[1]<<2)+r(a)+a.a[7]|0};q.prototype.g[200]=function(a){return(a.a[1]<< |
| 3)+r(a)+a.a[0]|0};q.prototype.g[201]=function(a){return(a.a[1]<<3)+r(a)+a.a[1]|0};q.prototype.g[202]=function(a){return(a.a[1]<<3)+r(a)+a.a[2]|0};q.prototype.g[203]=function(a){return(a.a[1]<<3)+r(a)+a.a[3]|0};q.prototype.g[204]=function(a){return(a.a[1]<<3)+v(a)+a.a[4]|0};q.prototype.g[205]=function(a,c){return(a.a[1]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[206]=function(a){return(a.a[1]<<3)+r(a)+a.a[6]|0};q.prototype.g[207]=function(a){return(a.a[1]<<3)+r(a)+a.a[7]|0};q.prototype.g[16]=function(a){return a.a[2]+ |
| r(a)+a.a[0]|0};q.prototype.g[17]=function(a){return a.a[2]+r(a)+a.a[1]|0};q.prototype.g[18]=function(a){return a.a[2]+r(a)+a.a[2]|0};q.prototype.g[19]=function(a){return a.a[2]+r(a)+a.a[3]|0};q.prototype.g[20]=function(a){return a.a[2]+v(a)+a.a[4]|0};q.prototype.g[21]=function(a,c){return a.a[2]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[22]=function(a){return a.a[2]+r(a)+a.a[6]|0};q.prototype.g[23]=function(a){return a.a[2]+r(a)+a.a[7]|0};q.prototype.g[80]=function(a){return(a.a[2]<<1)+r(a)+a.a[0]| |
| 0};q.prototype.g[81]=function(a){return(a.a[2]<<1)+r(a)+a.a[1]|0};q.prototype.g[82]=function(a){return(a.a[2]<<1)+r(a)+a.a[2]|0};q.prototype.g[83]=function(a){return(a.a[2]<<1)+r(a)+a.a[3]|0};q.prototype.g[84]=function(a){return(a.a[2]<<1)+v(a)+a.a[4]|0};q.prototype.g[85]=function(a,c){return(a.a[2]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[86]=function(a){return(a.a[2]<<1)+r(a)+a.a[6]|0};q.prototype.g[87]=function(a){return(a.a[2]<<1)+r(a)+a.a[7]|0};q.prototype.g[144]=function(a){return(a.a[2]<< |
| 2)+r(a)+a.a[0]|0};q.prototype.g[145]=function(a){return(a.a[2]<<2)+r(a)+a.a[1]|0};q.prototype.g[146]=function(a){return(a.a[2]<<2)+r(a)+a.a[2]|0};q.prototype.g[147]=function(a){return(a.a[2]<<2)+r(a)+a.a[3]|0};q.prototype.g[148]=function(a){return(a.a[2]<<2)+v(a)+a.a[4]|0};q.prototype.g[149]=function(a,c){return(a.a[2]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[150]=function(a){return(a.a[2]<<2)+r(a)+a.a[6]|0};q.prototype.g[151]=function(a){return(a.a[2]<<2)+r(a)+a.a[7]|0};q.prototype.g[208]= |
| function(a){return(a.a[2]<<3)+r(a)+a.a[0]|0};q.prototype.g[209]=function(a){return(a.a[2]<<3)+r(a)+a.a[1]|0};q.prototype.g[210]=function(a){return(a.a[2]<<3)+r(a)+a.a[2]|0};q.prototype.g[211]=function(a){return(a.a[2]<<3)+r(a)+a.a[3]|0};q.prototype.g[212]=function(a){return(a.a[2]<<3)+v(a)+a.a[4]|0};q.prototype.g[213]=function(a,c){return(a.a[2]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[214]=function(a){return(a.a[2]<<3)+r(a)+a.a[6]|0};q.prototype.g[215]=function(a){return(a.a[2]<<3)+r(a)+a.a[7]| |
| 0};q.prototype.g[24]=function(a){return a.a[3]+r(a)+a.a[0]|0};q.prototype.g[25]=function(a){return a.a[3]+r(a)+a.a[1]|0};q.prototype.g[26]=function(a){return a.a[3]+r(a)+a.a[2]|0};q.prototype.g[27]=function(a){return a.a[3]+r(a)+a.a[3]|0};q.prototype.g[28]=function(a){return a.a[3]+v(a)+a.a[4]|0};q.prototype.g[29]=function(a,c){return a.a[3]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[30]=function(a){return a.a[3]+r(a)+a.a[6]|0};q.prototype.g[31]=function(a){return a.a[3]+r(a)+a.a[7]|0};q.prototype.g[88]= |
| function(a){return(a.a[3]<<1)+r(a)+a.a[0]|0};q.prototype.g[89]=function(a){return(a.a[3]<<1)+r(a)+a.a[1]|0};q.prototype.g[90]=function(a){return(a.a[3]<<1)+r(a)+a.a[2]|0};q.prototype.g[91]=function(a){return(a.a[3]<<1)+r(a)+a.a[3]|0};q.prototype.g[92]=function(a){return(a.a[3]<<1)+v(a)+a.a[4]|0};q.prototype.g[93]=function(a,c){return(a.a[3]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[94]=function(a){return(a.a[3]<<1)+r(a)+a.a[6]|0};q.prototype.g[95]=function(a){return(a.a[3]<<1)+r(a)+a.a[7]|0}; |
| q.prototype.g[152]=function(a){return(a.a[3]<<2)+r(a)+a.a[0]|0};q.prototype.g[153]=function(a){return(a.a[3]<<2)+r(a)+a.a[1]|0};q.prototype.g[154]=function(a){return(a.a[3]<<2)+r(a)+a.a[2]|0};q.prototype.g[155]=function(a){return(a.a[3]<<2)+r(a)+a.a[3]|0};q.prototype.g[156]=function(a){return(a.a[3]<<2)+v(a)+a.a[4]|0};q.prototype.g[157]=function(a,c){return(a.a[3]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[158]=function(a){return(a.a[3]<<2)+r(a)+a.a[6]|0};q.prototype.g[159]=function(a){return(a.a[3]<< |
| 2)+r(a)+a.a[7]|0};q.prototype.g[216]=function(a){return(a.a[3]<<3)+r(a)+a.a[0]|0};q.prototype.g[217]=function(a){return(a.a[3]<<3)+r(a)+a.a[1]|0};q.prototype.g[218]=function(a){return(a.a[3]<<3)+r(a)+a.a[2]|0};q.prototype.g[219]=function(a){return(a.a[3]<<3)+r(a)+a.a[3]|0};q.prototype.g[220]=function(a){return(a.a[3]<<3)+v(a)+a.a[4]|0};q.prototype.g[221]=function(a,c){return(a.a[3]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[222]=function(a){return(a.a[3]<<3)+r(a)+a.a[6]|0};q.prototype.g[223]= |
| function(a){return(a.a[3]<<3)+r(a)+a.a[7]|0};q.prototype.g[32]=function(a){return r(a)+a.a[0]|0};q.prototype.g[33]=function(a){return r(a)+a.a[1]|0};q.prototype.g[34]=function(a){return r(a)+a.a[2]|0};q.prototype.g[35]=function(a){return r(a)+a.a[3]|0};q.prototype.g[36]=function(a){return v(a)+a.a[4]|0};q.prototype.g[37]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[38]=function(a){return r(a)+a.a[6]|0};q.prototype.g[39]=function(a){return r(a)+a.a[7]|0};q.prototype.g[96]=function(a){return r(a)+ |
| a.a[0]|0};q.prototype.g[97]=function(a){return r(a)+a.a[1]|0};q.prototype.g[98]=function(a){return r(a)+a.a[2]|0};q.prototype.g[99]=function(a){return r(a)+a.a[3]|0};q.prototype.g[100]=function(a){return v(a)+a.a[4]|0};q.prototype.g[101]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[102]=function(a){return r(a)+a.a[6]|0};q.prototype.g[103]=function(a){return r(a)+a.a[7]|0};q.prototype.g[160]=function(a){return r(a)+a.a[0]|0};q.prototype.g[161]=function(a){return r(a)+a.a[1]|0};q.prototype.g[162]= |
| function(a){return r(a)+a.a[2]|0};q.prototype.g[163]=function(a){return r(a)+a.a[3]|0};q.prototype.g[164]=function(a){return v(a)+a.a[4]|0};q.prototype.g[165]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[166]=function(a){return r(a)+a.a[6]|0};q.prototype.g[167]=function(a){return r(a)+a.a[7]|0};q.prototype.g[224]=function(a){return r(a)+a.a[0]|0};q.prototype.g[225]=function(a){return r(a)+a.a[1]|0};q.prototype.g[226]=function(a){return r(a)+a.a[2]|0};q.prototype.g[227]=function(a){return r(a)+ |
| a.a[3]|0};q.prototype.g[228]=function(a){return v(a)+a.a[4]|0};q.prototype.g[229]=function(a,c){return(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[230]=function(a){return r(a)+a.a[6]|0};q.prototype.g[231]=function(a){return r(a)+a.a[7]|0};q.prototype.g[40]=function(a){return a.a[5]+r(a)+a.a[0]|0};q.prototype.g[41]=function(a){return a.a[5]+r(a)+a.a[1]|0};q.prototype.g[42]=function(a){return a.a[5]+r(a)+a.a[2]|0};q.prototype.g[43]=function(a){return a.a[5]+r(a)+a.a[3]|0};q.prototype.g[44]=function(a){return a.a[5]+ |
| v(a)+a.a[4]|0};q.prototype.g[45]=function(a,c){return a.a[5]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[46]=function(a){return a.a[5]+r(a)+a.a[6]|0};q.prototype.g[47]=function(a){return a.a[5]+r(a)+a.a[7]|0};q.prototype.g[104]=function(a){return(a.a[5]<<1)+r(a)+a.a[0]|0};q.prototype.g[105]=function(a){return(a.a[5]<<1)+r(a)+a.a[1]|0};q.prototype.g[106]=function(a){return(a.a[5]<<1)+r(a)+a.a[2]|0};q.prototype.g[107]=function(a){return(a.a[5]<<1)+r(a)+a.a[3]|0};q.prototype.g[108]=function(a){return(a.a[5]<< |
| 1)+v(a)+a.a[4]|0};q.prototype.g[109]=function(a,c){return(a.a[5]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[110]=function(a){return(a.a[5]<<1)+r(a)+a.a[6]|0};q.prototype.g[111]=function(a){return(a.a[5]<<1)+r(a)+a.a[7]|0};q.prototype.g[168]=function(a){return(a.a[5]<<2)+r(a)+a.a[0]|0};q.prototype.g[169]=function(a){return(a.a[5]<<2)+r(a)+a.a[1]|0};q.prototype.g[170]=function(a){return(a.a[5]<<2)+r(a)+a.a[2]|0};q.prototype.g[171]=function(a){return(a.a[5]<<2)+r(a)+a.a[3]|0};q.prototype.g[172]= |
| function(a){return(a.a[5]<<2)+v(a)+a.a[4]|0};q.prototype.g[173]=function(a,c){return(a.a[5]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[174]=function(a){return(a.a[5]<<2)+r(a)+a.a[6]|0};q.prototype.g[175]=function(a){return(a.a[5]<<2)+r(a)+a.a[7]|0};q.prototype.g[232]=function(a){return(a.a[5]<<3)+r(a)+a.a[0]|0};q.prototype.g[233]=function(a){return(a.a[5]<<3)+r(a)+a.a[1]|0};q.prototype.g[234]=function(a){return(a.a[5]<<3)+r(a)+a.a[2]|0};q.prototype.g[235]=function(a){return(a.a[5]<<3)+r(a)+a.a[3]| |
| 0};q.prototype.g[236]=function(a){return(a.a[5]<<3)+v(a)+a.a[4]|0};q.prototype.g[237]=function(a,c){return(a.a[5]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[238]=function(a){return(a.a[5]<<3)+r(a)+a.a[6]|0};q.prototype.g[239]=function(a){return(a.a[5]<<3)+r(a)+a.a[7]|0};q.prototype.g[48]=function(a){return a.a[6]+r(a)+a.a[0]|0};q.prototype.g[49]=function(a){return a.a[6]+r(a)+a.a[1]|0};q.prototype.g[50]=function(a){return a.a[6]+r(a)+a.a[2]|0};q.prototype.g[51]=function(a){return a.a[6]+r(a)+ |
| a.a[3]|0};q.prototype.g[52]=function(a){return a.a[6]+v(a)+a.a[4]|0};q.prototype.g[53]=function(a,c){return a.a[6]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[54]=function(a){return a.a[6]+r(a)+a.a[6]|0};q.prototype.g[55]=function(a){return a.a[6]+r(a)+a.a[7]|0};q.prototype.g[112]=function(a){return(a.a[6]<<1)+r(a)+a.a[0]|0};q.prototype.g[113]=function(a){return(a.a[6]<<1)+r(a)+a.a[1]|0};q.prototype.g[114]=function(a){return(a.a[6]<<1)+r(a)+a.a[2]|0};q.prototype.g[115]=function(a){return(a.a[6]<<1)+ |
| r(a)+a.a[3]|0};q.prototype.g[116]=function(a){return(a.a[6]<<1)+v(a)+a.a[4]|0};q.prototype.g[117]=function(a,c){return(a.a[6]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[118]=function(a){return(a.a[6]<<1)+r(a)+a.a[6]|0};q.prototype.g[119]=function(a){return(a.a[6]<<1)+r(a)+a.a[7]|0};q.prototype.g[176]=function(a){return(a.a[6]<<2)+r(a)+a.a[0]|0};q.prototype.g[177]=function(a){return(a.a[6]<<2)+r(a)+a.a[1]|0};q.prototype.g[178]=function(a){return(a.a[6]<<2)+r(a)+a.a[2]|0};q.prototype.g[179]=function(a){return(a.a[6]<< |
| 2)+r(a)+a.a[3]|0};q.prototype.g[180]=function(a){return(a.a[6]<<2)+v(a)+a.a[4]|0};q.prototype.g[181]=function(a,c){return(a.a[6]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[182]=function(a){return(a.a[6]<<2)+r(a)+a.a[6]|0};q.prototype.g[183]=function(a){return(a.a[6]<<2)+r(a)+a.a[7]|0};q.prototype.g[240]=function(a){return(a.a[6]<<3)+r(a)+a.a[0]|0};q.prototype.g[241]=function(a){return(a.a[6]<<3)+r(a)+a.a[1]|0};q.prototype.g[242]=function(a){return(a.a[6]<<3)+r(a)+a.a[2]|0};q.prototype.g[243]= |
| function(a){return(a.a[6]<<3)+r(a)+a.a[3]|0};q.prototype.g[244]=function(a){return(a.a[6]<<3)+v(a)+a.a[4]|0};q.prototype.g[245]=function(a,c){return(a.a[6]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[246]=function(a){return(a.a[6]<<3)+r(a)+a.a[6]|0};q.prototype.g[247]=function(a){return(a.a[6]<<3)+r(a)+a.a[7]|0};q.prototype.g[56]=function(a){return a.a[7]+r(a)+a.a[0]|0};q.prototype.g[57]=function(a){return a.a[7]+r(a)+a.a[1]|0};q.prototype.g[58]=function(a){return a.a[7]+r(a)+a.a[2]|0};q.prototype.g[59]= |
| function(a){return a.a[7]+r(a)+a.a[3]|0};q.prototype.g[60]=function(a){return a.a[7]+v(a)+a.a[4]|0};q.prototype.g[61]=function(a,c){return a.a[7]+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[62]=function(a){return a.a[7]+r(a)+a.a[6]|0};q.prototype.g[63]=function(a){return a.a[7]+r(a)+a.a[7]|0};q.prototype.g[120]=function(a){return(a.a[7]<<1)+r(a)+a.a[0]|0};q.prototype.g[121]=function(a){return(a.a[7]<<1)+r(a)+a.a[1]|0};q.prototype.g[122]=function(a){return(a.a[7]<<1)+r(a)+a.a[2]|0};q.prototype.g[123]= |
| function(a){return(a.a[7]<<1)+r(a)+a.a[3]|0};q.prototype.g[124]=function(a){return(a.a[7]<<1)+v(a)+a.a[4]|0};q.prototype.g[125]=function(a,c){return(a.a[7]<<1)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[126]=function(a){return(a.a[7]<<1)+r(a)+a.a[6]|0};q.prototype.g[127]=function(a){return(a.a[7]<<1)+r(a)+a.a[7]|0};q.prototype.g[184]=function(a){return(a.a[7]<<2)+r(a)+a.a[0]|0};q.prototype.g[185]=function(a){return(a.a[7]<<2)+r(a)+a.a[1]|0};q.prototype.g[186]=function(a){return(a.a[7]<<2)+r(a)+a.a[2]| |
| 0};q.prototype.g[187]=function(a){return(a.a[7]<<2)+r(a)+a.a[3]|0};q.prototype.g[188]=function(a){return(a.a[7]<<2)+v(a)+a.a[4]|0};q.prototype.g[189]=function(a,c){return(a.a[7]<<2)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[190]=function(a){return(a.a[7]<<2)+r(a)+a.a[6]|0};q.prototype.g[191]=function(a){return(a.a[7]<<2)+r(a)+a.a[7]|0};q.prototype.g[248]=function(a){return(a.a[7]<<3)+r(a)+a.a[0]|0};q.prototype.g[249]=function(a){return(a.a[7]<<3)+r(a)+a.a[1]|0};q.prototype.g[250]=function(a){return(a.a[7]<< |
| 3)+r(a)+a.a[2]|0};q.prototype.g[251]=function(a){return(a.a[7]<<3)+r(a)+a.a[3]|0};q.prototype.g[252]=function(a){return(a.a[7]<<3)+v(a)+a.a[4]|0};q.prototype.g[253]=function(a,c){return(a.a[7]<<3)+(c?v(a)+a.a[5]:r(a)+w(a))|0};q.prototype.g[254]=function(a){return(a.a[7]<<3)+r(a)+a.a[6]|0};q.prototype.g[255]=function(a){return(a.a[7]<<3)+r(a)+a.a[7]|0};q.prototype.h=function(a){return(this.sb?this.b:this.e)[a](this)}})();"use strict"; |
| q.prototype.add=function(a,c,d){this.Fa=a;this.Ga=c;this.j=this.C=a+c|0;this.Z=d;this.n=2261;return this.C};function Ca(a,c,d,f){var g=a.ta();a.Fa=c;a.Ga=d;a.j=a.C=(c+d|0)+g|0;a.Z=f;a.n=2261;return a.C}q.prototype.sub=function(a,c,d){this.j=a;this.Ga=c;this.Fa=this.C=a-c|0;this.Z=d;this.n=2261;return this.C};function Ea(a,c,d,f){var g=a.ta();a.j=c;a.Ga=d;a.Fa=a.C=c-d-g|0;a.Z=f;a.n=2261;return a.C}function Fa(a,c,d){a.f=a.f&-2|a.ta();a.Fa=c;a.Ga=1;a.j=a.C=c+1|0;a.Z=d;a.n=2260;return a.C} |
| function Ga(a,c,d){a.f=a.f&-2|a.ta();a.j=c;a.Ga=1;a.Fa=a.C=c-1|0;a.Z=d;a.n=2260;return a.C}function Ha(a,c,d){a.Fa=a.C=-c|0;a.n=2261;a.j=0;a.Ga=c;a.Z=d;return a.C}function Ja(a,c,d){c=c*d;a.f=32767<c||-32768>c?a.f|2049:a.f&-2050;a.n=0;return c} |
| function Ka(a,c,d){var f=!1;0>c&&(f=!0,c=-c|0);0>d&&(f=!f,d=-d|0);var g=c&65535;c=c>>>16;var h=d&65535;d=d>>>16;var k=g*h,h=(k>>>16)+(c*h|0)|0,m=h>>>16,h=(h&65535)+(g*d|0)|0,k=h<<16|k&65535,m=((h>>>16)+(c*d|0)|0)+m|0;f&&(k=-k|0,m=~m+!k|0);a.f=m===k>>31?a.f&-2050:a.f|2049;a.n=0;return k}function z(a,c,d,f){a.C=c&d;a.Z=f;a.f&=-2066;a.n=196;return a.C}function La(a,c,d,f){a.C=c|d;a.Z=f;a.f&=-2066;a.n=196;return a.C}function Ma(a,c,d,f){a.C=c^d;a.Z=f;a.f&=-2066;a.n=196;return a.C} |
| function Pa(a,c,d){if(!d)return c;d&=7;c=c<<d|c>>8-d;a.n&=-2050;a.f=a.f&-2050|c&1|(c<<11^c<<4)&2048;return c}function Qa(a,c,d){if(!d)return c;d&=15;c=c<<d|c>>16-d;a.n&=-2050;a.f=a.f&-2050|c&1|(c<<11^c>>4)&2048;return c}function Ra(a,c,d){if(!d)return c;c=c<<d|c>>>32-d;a.n&=-2050;a.f=a.f&-2050|c&1|(c<<11^c>>20)&2048;return c}function Sa(a,c,d){d%=9;if(!d)return c;c=c<<d|a.ta()<<d-1|c>>9-d;a.n&=-2050;a.f=a.f&-2050|c>>8&1|(c<<3^c<<4)&2048;return c} |
| function Va(a,c,d){d%=17;if(!d)return c;c=c<<d|a.ta()<<d-1|c>>17-d;a.n&=-2050;a.f=a.f&-2050|c>>16&1|(c>>5^c>>4)&2048;return c}function Wa(a,c,d){if(!d)return c;var f=c<<d|a.ta()<<d-1;1<d&&(f|=c>>>33-d);a.n&=-2050;a.f=a.f&-2050|c>>>32-d&1;a.f|=(a.f<<11^f>>20)&2048;return f}function Xa(a,c,d){if(!d)return c;d&=7;c=c>>d|c<<8-d;a.n&=-2050;a.f=a.f&-2050|c>>7&1|(c<<4^c<<5)&2048;return c}function Ya(a,c,d){if(!d)return c;d&=15;c=c>>d|c<<16-d;a.n&=-2050;a.f=a.f&-2050|c>>15&1|(c>>4^c>>3)&2048;return c} |
| function Za(a,c,d){if(!d)return c;c=c>>>d|c<<32-d;a.n&=-2050;a.f=a.f&-2050|c>>31&1|(c>>20^c>>19)&2048;return c}function $a(a,c,d){d%=9;if(!d)return c;c=c>>d|a.ta()<<8-d|c<<9-d;a.n&=-2050;a.f=a.f&-2050|c>>8&1|(c<<4^c<<5)&2048;return c}function ab(a,c,d){d%=17;if(!d)return c;c=c>>d|a.ta()<<16-d|c<<17-d;a.n&=-2050;a.f=a.f&-2050|c>>16&1|(c>>4^c>>3)&2048;return c}function bb(a,c,d){if(!d)return c;var f=c>>>d|a.ta()<<32-d;1<d&&(f|=c<<33-d);a.n&=-2050;a.f=a.f&-2050|c>>d-1&1|(f>>20^f>>19)&2048;return f} |
| function cb(a,c,d){if(0===d)return c;a.C=c<<d;a.Z=7;a.n=212;a.f=a.f&-2050|a.C>>8&1|(a.C<<3^a.C<<4)&2048;return a.C}function db(a,c,d){if(0===d)return c;a.C=c<<d;a.Z=15;a.n=212;a.f=a.f&-2050|a.C>>16&1|(a.C>>5^a.C>>4)&2048;return a.C}function gb(a,c,d){if(0===d)return c;a.C=c<<d;a.Z=31;a.n=212;a.f=a.f&-2050|c>>>32-d&1;a.f|=(a.f&1^a.C>>31&1)<<11&2048;return a.C}function hb(a,c,d){if(0===d)return c;a.C=c>>d;a.Z=7;a.n=212;a.f=a.f&-2050|c>>d-1&1|(c>>7&1)<<11&2048;return a.C} |
| function ib(a,c,d){if(0===d)return c;a.C=c>>d;a.Z=15;a.n=212;a.f=a.f&-2050|c>>d-1&1|c>>4&2048;return a.C}function jb(a,c,d){if(0===d)return c;a.C=c>>>d;a.Z=31;a.n=212;a.f=a.f&-2050|c>>>d-1&1|c>>20&2048;return a.C}function kb(a,c,d){if(0===d)return c;8>d?(a.C=c<<24>>d+24,a.f=a.f&-2050|c>>d-1&1):(a.C=c<<24>>31,a.f=a.f&-2050|a.C&1);a.Z=7;a.n=212;return a.C} |
| function lb(a,c,d){if(0===d)return c;16>d?(a.C=c<<16>>d+16,a.f=a.f&-2050|c>>d-1&1):(a.C=c<<16>>31,a.f=a.f&-2050|a.C&1);a.Z=15;a.n=212;return a.C}function mb(a,c,d){if(0===d)return c;a.C=c>>d;a.Z=31;a.n=212;a.f=a.f&-2050|c>>>d-1&1;return a.C}function nb(a,c,d,f){if(0===f)return c;16>=f?(a.C=c>>f|d<<16-f,a.f=a.f&-2|c>>f-1&1):(a.C=c<<32-f|d>>f-16,a.f=a.f&-2|d>>f-17&1);a.Z=15;a.n=212;a.f=a.f&-2049|(a.C^c)>>4&2048;return a.C} |
| function ob(a,c,d,f){if(0===f)return c;a.C=c>>>f|d<<32-f;a.Z=31;a.n=212;a.f=a.f&-2|c>>>f-1&1;a.f=a.f&-2049|(a.C^c)>>20&2048;return a.C}function pb(a,c,d,f){if(0===f)return c;16>=f?(a.C=c<<f|d>>>16-f,a.f=a.f&-2|c>>>16-f&1):(a.C=c>>32-f|d<<f-16,a.f=a.f&-2|d>>>32-f&1);a.Z=15;a.n=212;a.f=a.f&-2049|(a.f&1^a.C>>15&1)<<11;return a.C}function qb(a,c,d,f){if(0===f)return c;a.C=c<<f|d>>>32-f;a.Z=31;a.n=212;a.f=a.f&-2|c>>>32-f&1;a.f=a.f&-2049|(a.f&1^a.C>>31&1)<<11;return a.C} |
| function rb(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2}function sb(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2;return c^1<<d}function tb(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2;return c|1<<d}function ub(a,c,d){a.f=a.f&-2|c>>d&1;a.n&=-2;return c&~(1<<d)}function vb(a,c,d){c=B(a,c+(d>>3));a.f=a.f&-2|c>>(d&7)&1;a.n&=-2}function wb(a,c,d){c=C(a,c+(d>>3));var f=a.memory.M(c);d&=7;a.f=a.f&-2|f>>d&1;a.n&=-2;a.memory.T(c,f^1<<d)} |
| function xb(a,c,d){c=C(a,c+(d>>3));var f=a.memory.M(c);d&=7;a.f=a.f&-2|f>>d&1;a.n&=-2;a.memory.T(c,f&~(1<<d))}function Cb(a,c,d){c=C(a,c+(d>>3));var f=a.memory.M(c);d&=7;a.f=a.f&-2|f>>d&1;a.n&=-2;a.memory.T(c,f|1<<d)}function Db(a,c){a.n=0;a.f&=-2262;if(c)return c=c-(c>>1&1431655765),c=(c&858993459)+(c>>2&858993459),16843009*(c+(c>>4)&252645135)>>24;a.f|=64;return 0}"use strict";function Eb(a,c){return 0>a?(c&4095)>>(-a>>1):(~c&4095)>>a}function Fb(a,c,d){return Math.min(Eb(a,c),Eb(a,d))}"use strict"; |
| var E=[],F=[],G=[],H=[];q.prototype.Ld=E;q.prototype.Md=F;q.prototype.Te=G;q.prototype.Ue=H;E[0]=F[0]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=a.add(d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[1]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=a.add(d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| F[1]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=a.add(d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[2]=F[2]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=a.add(a.k[c>>1&12|c>>5&1],d,7)};E[3]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=a.add(a.d[c>>2&14],d,15)}; |
| F[3]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=a.add(a.a[c>>3&7],d,31)};E[4]=F[4]=function(a){a.k[0]=a.add(a.k[0],y(a),7)};E[5]=function(a){a.d[0]=a.add(a.d[0],u(a),15)};F[5]=function(a){a.a[0]=a.add(a.a[0],w(a),31)};E[6]=function(a){L(a,a.N[0])};F[6]=function(a){M(a,a.N[0])};E[7]=function(a){N(a,0,J(a,Kb(a,0)));a.u[a.D]+=2};F[7]=function(a){N(a,0,J(a,Kb(a,0)));a.u[a.D]+=4}; |
| E[8]=F[8]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=La(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[9]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=La(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| F[9]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=La(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[10]=F[10]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=La(a,a.k[c>>1&12|c>>5&1],d,7)};E[11]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=La(a,a.d[c>>2&14],d,15)}; |
| F[11]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=La(a,a.a[c>>3&7],d,31)};E[12]=F[12]=function(a){a.k[0]=La(a,a.k[0],y(a),7)};E[13]=function(a){a.d[0]=La(a,a.d[0],u(a),15)};F[13]=function(a){a.a[0]=La(a,a.a[0],w(a),31)};E[14]=function(a){L(a,a.N[1])};F[14]=function(a){M(a,a.N[1])};E[15]=function(a){a.Te[y(a)](a)};F[15]=function(a){a.Ue[y(a)](a)}; |
| E[16]=F[16]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ca(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[17]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ca(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| F[17]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ca(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[18]=F[18]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=Ca(a,a.k[c>>1&12|c>>5&1],d,7)};E[19]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Ca(a,a.d[c>>2&14],d,15)}; |
| F[19]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ca(a,a.a[c>>3&7],d,31)};E[20]=F[20]=function(a){a.k[0]=Ca(a,a.k[0],y(a),7)};E[21]=function(a){a.d[0]=Ca(a,a.d[0],u(a),15)};F[21]=function(a){a.a[0]=Ca(a,a.a[0],w(a),31)};E[22]=function(a){L(a,a.N[2])};F[22]=function(a){M(a,a.N[2])};E[23]=function(a){N(a,2,J(a,Kb(a,0)));a.u[a.D]+=2};F[23]=function(a){N(a,2,J(a,Kb(a,0)));a.u[a.D]+=4}; |
| E[24]=F[24]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ea(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[25]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ea(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| F[25]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ea(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[26]=F[26]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=Ea(a,a.k[c>>1&12|c>>5&1],d,7)};E[27]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Ea(a,a.d[c>>2&14],d,15)}; |
| F[27]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ea(a,a.a[c>>3&7],d,31)};E[28]=F[28]=function(a){a.k[0]=Ea(a,a.k[0],y(a),7)};E[29]=function(a){a.d[0]=Ea(a,a.d[0],u(a),15)};F[29]=function(a){a.a[0]=Ea(a,a.a[0],w(a),31)};E[30]=function(a){L(a,a.N[3])};F[30]=function(a){M(a,a.N[3])};E[31]=function(a){N(a,3,J(a,Kb(a,0)));a.u[a.D]+=2};F[31]=function(a){N(a,3,J(a,Kb(a,0)));a.u[a.D]+=4}; |
| E[32]=F[32]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=z(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[33]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=z(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| F[33]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=z(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[34]=F[34]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=z(a,a.k[c>>1&12|c>>5&1],d,7)};E[35]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=z(a,a.d[c>>2&14],d,15)}; |
| F[35]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=z(a,a.a[c>>3&7],d,31)};E[36]=F[36]=function(a){a.k[0]=z(a,a.k[0],y(a),7)};E[37]=function(a){a.d[0]=z(a,a.d[0],u(a),15)};F[37]=function(a){a.a[0]=z(a,a.a[0],w(a),31)};E[38]=F[38]=function(a){a.ha=0;Lb(a);a.ha=-1};E[39]=F[39]=function(a){var c=a.k[0],d=a.ta(),f=Mb(a);a.f&=-18;if(9<(c&15)||f)a.k[0]+=6,a.f|=16;if(153<c||d)a.k[0]+=96,a.f|=1;a.C=a.k[0];a.Z=7;a.Fa=a.Ga=0;a.n=196}; |
| E[40]=F[40]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=a.sub(d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[41]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=a.sub(d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| F[41]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=a.sub(d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[42]=F[42]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=a.sub(a.k[c>>1&12|c>>5&1],d,7)};E[43]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=a.sub(a.d[c>>2&14],d,15)}; |
| F[43]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=a.sub(a.a[c>>3&7],d,31)};E[44]=F[44]=function(a){a.k[0]=a.sub(a.k[0],y(a),7)};E[45]=function(a){a.d[0]=a.sub(a.d[0],u(a),15)};F[45]=function(a){a.a[0]=a.sub(a.a[0],w(a),31)};E[46]=F[46]=function(a){a.ha=1;Lb(a);a.ha=-1};E[47]=F[47]=function(a){var c=a.k[0],d=a.ta();a.f&=-2;9<(c&15)||Mb(a)?(a.k[0]-=6,a.f|=16,a.f=a.f&-2|d|a.k[0]>>7):a.f&=-17;if(153<c||d)a.k[0]-=96,a.f|=1;a.C=a.k[0];a.Z=7;a.Fa=a.Ga=0;a.n=196}; |
| E[48]=F[48]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ma(a,d,a.k[c>>1&12|c>>5&1],7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d};E[49]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ma(a,d,a.d[c>>2&14],15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| F[49]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ma(a,d,a.a[c>>3&7],31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};E[50]=F[50]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=Ma(a,a.k[c>>1&12|c>>5&1],d,7)};E[51]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Ma(a,a.d[c>>2&14],d,15)}; |
| F[51]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ma(a,a.a[c>>3&7],d,31)};E[52]=F[52]=function(a){a.k[0]=Ma(a,a.k[0],y(a),7)};E[53]=function(a){a.d[0]=Ma(a,a.d[0],u(a),15)};F[53]=function(a){a.a[0]=Ma(a,a.a[0],w(a),31)};E[54]=F[54]=function(a){a.ha=2;Lb(a);a.ha=-1};E[55]=F[55]=function(a){9<(a.k[0]&15)||Mb(a)?(a.d[0]+=6,a.k[1]+=1,a.f|=17):a.f&=-18;a.k[0]&=15;a.n&=-18};E[56]=F[56]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.sub(d,a.k[c>>1&12|c>>5&1],7)}; |
| E[57]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(d,a.d[c>>2&14],15)};F[57]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(d,a.a[c>>3&7],31)};E[58]=F[58]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.sub(a.k[c>>1&12|c>>5&1],d,7)};E[59]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(a.d[c>>2&14],d,15)};F[59]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(a.a[c>>3&7],d,31)};E[60]=F[60]=function(a){a.sub(a.k[0],y(a),7)}; |
| E[61]=function(a){a.sub(a.d[0],u(a),15)};F[61]=function(a){a.sub(a.a[0],w(a),31)};E[62]=F[62]=function(a){a.ha=3;Lb(a);a.ha=-1};E[63]=F[63]=function(a){9<(a.k[0]&15)||Mb(a)?(a.d[0]-=6,--a.k[1],a.f|=17):a.f&=-18;a.k[0]&=15;a.n&=-18};E[64]=function(a){a.d[0]=Fa(a,a.d[0],15)};F[64]=function(a){a.a[0]=Fa(a,a.a[0],31)};E[65]=function(a){a.d[2]=Fa(a,a.d[2],15)};F[65]=function(a){a.a[1]=Fa(a,a.a[1],31)};E[66]=function(a){a.d[4]=Fa(a,a.d[4],15)};F[66]=function(a){a.a[2]=Fa(a,a.a[2],31)}; |
| E[67]=function(a){a.d[6]=Fa(a,a.d[6],15)};F[67]=function(a){a.a[3]=Fa(a,a.a[3],31)};E[68]=function(a){a.d[8]=Fa(a,a.d[8],15)};F[68]=function(a){a.a[4]=Fa(a,a.a[4],31)};E[69]=function(a){a.d[10]=Fa(a,a.d[10],15)};F[69]=function(a){a.a[5]=Fa(a,a.a[5],31)};E[70]=function(a){a.d[12]=Fa(a,a.d[12],15)};F[70]=function(a){a.a[6]=Fa(a,a.a[6],31)};E[71]=function(a){a.d[14]=Fa(a,a.d[14],15)};F[71]=function(a){a.a[7]=Fa(a,a.a[7],31)};E[72]=function(a){a.d[0]=Ga(a,a.d[0],15)}; |
| F[72]=function(a){a.a[0]=Ga(a,a.a[0],31)};E[73]=function(a){a.d[2]=Ga(a,a.d[2],15)};F[73]=function(a){a.a[1]=Ga(a,a.a[1],31)};E[74]=function(a){a.d[4]=Ga(a,a.d[4],15)};F[74]=function(a){a.a[2]=Ga(a,a.a[2],31)};E[75]=function(a){a.d[6]=Ga(a,a.d[6],15)};F[75]=function(a){a.a[3]=Ga(a,a.a[3],31)};E[76]=function(a){a.d[8]=Ga(a,a.d[8],15)};F[76]=function(a){a.a[4]=Ga(a,a.a[4],31)};E[77]=function(a){a.d[10]=Ga(a,a.d[10],15)};F[77]=function(a){a.a[5]=Ga(a,a.a[5],31)}; |
| E[78]=function(a){a.d[12]=Ga(a,a.d[12],15)};F[78]=function(a){a.a[6]=Ga(a,a.a[6],31)};E[79]=function(a){a.d[14]=Ga(a,a.d[14],15)};F[79]=function(a){a.a[7]=Ga(a,a.a[7],31)};E[80]=function(a){L(a,a.d[0])};F[80]=function(a){M(a,a.a[0])};E[81]=function(a){L(a,a.d[2])};F[81]=function(a){M(a,a.a[1])};E[82]=function(a){L(a,a.d[4])};F[82]=function(a){M(a,a.a[2])};E[83]=function(a){L(a,a.d[6])};F[83]=function(a){M(a,a.a[3])};E[84]=function(a){L(a,a.d[8])};F[84]=function(a){M(a,a.a[4])}; |
| E[85]=function(a){L(a,a.d[10])};F[85]=function(a){M(a,a.a[5])};E[86]=function(a){L(a,a.d[12])};F[86]=function(a){M(a,a.a[6])};E[87]=function(a){L(a,a.d[14])};F[87]=function(a){M(a,a.a[7])};E[88]=function(a){a.d[0]=Nb(a)};F[88]=function(a){a.a[0]=P(a)};E[89]=function(a){a.d[2]=Nb(a)};F[89]=function(a){a.a[1]=P(a)};E[90]=function(a){a.d[4]=Nb(a)};F[90]=function(a){a.a[2]=P(a)};E[91]=function(a){a.d[6]=Nb(a)};F[91]=function(a){a.a[3]=P(a)};E[92]=function(a){a.d[8]=Nb(a)};F[92]=function(a){a.a[4]=P(a)}; |
| E[93]=function(a){a.d[10]=Nb(a)};F[93]=function(a){a.a[5]=P(a)};E[94]=function(a){a.d[12]=Nb(a)};F[94]=function(a){a.a[6]=P(a)};E[95]=function(a){a.d[14]=Nb(a)};F[95]=function(a){a.a[7]=P(a)};E[96]=function(a){var c=a.d[8];C(a,a.B[2]+a.u[a.D]-15|0);L(a,a.d[0]);L(a,a.d[2]);L(a,a.d[4]);L(a,a.d[6]);L(a,c);L(a,a.d[10]);L(a,a.d[12]);L(a,a.d[14])};F[96]=function(a){var c=a.a[4];C(a,a.B[2]+a.u[a.D]-31|0);M(a,a.a[0]);M(a,a.a[1]);M(a,a.a[2]);M(a,a.a[3]);M(a,c);M(a,a.a[5]);M(a,a.a[6]);M(a,a.a[7])}; |
| E[97]=function(a){Q(a,a.B[2]+a.u[a.D]+15|0);a.d[14]=Nb(a);a.d[12]=Nb(a);a.d[10]=Nb(a);a.u[a.D]+=2;a.d[6]=Nb(a);a.d[4]=Nb(a);a.d[2]=Nb(a);a.d[0]=Nb(a)};F[97]=function(a){Q(a,a.B[2]+a.u[a.D]+31|0);a.a[7]=P(a);a.a[6]=P(a);a.a[5]=P(a);a.u[a.D]+=4;a.a[3]=P(a);a.a[2]=P(a);a.a[1]=P(a);a.a[0]=P(a)};E[98]=F[98]=function(){}; |
| E[99]=F[99]=function(a){var c=y(a);if(a.ma&&!Ob(a)){var d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];var h=c>>2&14;a.n&=-65;(d&3)<(a.d[h]&3)?(a.f|=64,d=d&-4|a.d[h]&3):a.f&=-65;192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}else R(a)};E[100]=F[100]=function(a){a.ha=4;Lb(a);a.ha=-1};E[101]=F[101]=function(a){a.ha=5;Lb(a);a.ha=-1};E[102]=function(a){a.Qa=!0;a.table=a.Md;Lb(a);a.Qa=a.Ea;za(a)}; |
| F[102]=function(a){a.Qa=!1;a.table=a.Ld;Lb(a);a.Qa=a.Ea;za(a)};E[103]=F[103]=function(a){a.sb=!a.Ea;ya(a);Lb(a);a.sb=a.Ea;ya(a)};E[104]=function(a){L(a,u(a))};F[104]=function(a){M(a,w(a))};E[105]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.d[c>>2&14]=Ja(a,u(a)<<16>>16,d)};F[105]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ka(a,w(a),d)};E[106]=function(a){L(a,t(a))};F[106]=function(a){M(a,t(a))}; |
| E[107]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.d[c>>2&14]=Ja(a,t(a),d)};F[107]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ka(a,t(a),d)}; |
| E[108]=F[108]=function(a){a:{var c=a.d[4];Pb(a,c,1);var d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=C(a,d);a.w&&(m=Eb(f,d));do a.memory.T(p,Qb(a.p,c)),p+=f,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else Rb(a,d,Qb(a.p,c)),a.i[a.o]+=f;g&&(a.l=a.W)}}; |
| E[109]=function(a){a:{var c=a.d[4];Pb(a,c,2);var d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1){do S(a,d,Sb(a.p,c)),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>1;a.w&&(m=Eb(f,d));do Tb(a.memory,x,Sb(a.p,c)),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else S(a,d,Sb(a.p,c)),a.i[a.o]+=f;g&&(a.l=a.W)}}; |
| F[109]=function(a){a:{var c=a.d[4];Pb(a,c,4);var d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-4:4,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&3){do T(a,d,Ub(a.p,c)),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>>2;a.w&&(m=Eb(f,d));do Wb(a.memory,x,Ub(a.p,c)),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else T(a,d,Ub(a.p,c)),a.i[a.o]+=f;g&&(a.l=a.W)}}; |
| E[110]=F[110]=function(a){a:{var c=a.d[4];Pb(a,c,1);var d=Xb(a,3)+a.i[a.A]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=Q(a,d);a.w&&(m=Eb(f,d));do Yb(a.p,c,a.memory.M(p)),p+=f,g=0!==--h;while(g&&m--);a.i[a.A]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else Yb(a.p,c,B(a,d)),a.i[a.A]+=f;g&&(a.l=a.W)}}; |
| E[111]=function(a){a:{var c=a.d[4];Pb(a,c,2);var d=Xb(a,3)+a.i[a.A]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1){do Zb(a.p,c,J(a,d)),d+=f,a.i[a.A]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=Q(a,d)>>1;a.w&&(m=Eb(f,d));do Zb(a.p,c,$b(a.memory,x)),x+=p,g=0!==--h;while(g&&m--);a.i[a.A]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else Zb(a.p,c,J(a,d)),a.i[a.A]+=f;g&&(a.l=a.W)}}; |
| F[111]=function(a){a:{var c=a.d[4];Pb(a,c,4);var d=Xb(a,3)+a.i[a.A]|0,f=a.f&1024?-4:4,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&3){do ac(a.p,c,K(a,d)),d+=f,a.i[a.A]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=Q(a,d)>>>2;a.w&&(m=Eb(f,d));do ac(a.p,c,bc(a.memory,x)),x+=p,g=0!==--h;while(g&&m--);a.i[a.A]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else ac(a.p,c,K(a,d)),a.i[a.A]+=f;g&&(a.l=a.W)}};E[112]=F[112]=function(a){a.Ya()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0}; |
| E[113]=F[113]=function(a){a.Ya()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[114]=F[114]=function(a){a.La()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[115]=F[115]=function(a){a.La()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[116]=F[116]=function(a){a.Na()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[117]=F[117]=function(a){a.Na()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[118]=F[118]=function(a){cc(a)&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[119]=F[119]=function(a){cc(a)||(a.l=a.l+t(a)|0);a.l++;a.K=!0}; |
| E[120]=F[120]=function(a){a.Za()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[121]=F[121]=function(a){a.Za()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[122]=F[122]=function(a){a.Ma()&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[123]=F[123]=function(a){a.Ma()||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[124]=F[124]=function(a){dc(a)&&(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[125]=F[125]=function(a){dc(a)||(a.l=a.l+t(a)|0);a.l++;a.K=!0};E[126]=F[126]=function(a){ec(a)&&(a.l=a.l+t(a)|0);a.l++;a.K=!0}; |
| E[127]=F[127]=function(a){ec(a)||(a.l=a.l+t(a)|0);a.l++;a.K=!0}; |
| E[128]=F[128]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.sub(d,y(a),7)}else{var f,g,h;192>c?(g=C(a,a.h(c)),d=a.memory.M(g)):d=a.k[c<<2&12|c>>2&1];h=0;f=y(a);switch(c>>3&7){case 0:h=a.add(d,f,7);break;case 1:h=La(a,d,f,7);break;case 2:h=Ca(a,d,f,7);break;case 3:h=Ea(a,d,f,7);break;case 4:h=z(a,d,f,7);break;case 5:h=a.sub(d,f,7);break;case 6:h=Ma(a,d,f,7);break;case 7:h=fc.bind(this,0)(d,f)}192>c?a.memory.T(g,h):a.k[c<<2&12|c>>2&1]=h}}; |
| E[129]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(d,u(a),15)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),d=Gb(a,g,h)):d=a.memory.L(g)):d=a.d[c<<1&14];k=0;f=u(a);switch(c>>3&7){case 0:k=a.add(d,f,15);break;case 1:k=La(a,d,f,15);break;case 2:k=Ca(a,d,f,15);break;case 3:k=Ea(a,d,f,15);break;case 4:k=z(a,d,f,15);break;case 5:k=a.sub(d,f,15);break;case 6:k=Ma(a,d,f,15);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Hb(a,g,h,k):a.memory.ca(g, |
| k):a.d[c<<1&14]=k}}; |
| F[129]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(d,w(a),31)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),d=Ib(a,g,h)):d=I(a.memory,g)):d=a.a[c&7];k=0;f=w(a);switch(c>>3&7){case 0:k=a.add(d,f,31);break;case 1:k=La(a,d,f,31);break;case 2:k=Ca(a,d,f,31);break;case 3:k=Ea(a,d,f,31);break;case 4:k=z(a,d,f,31);break;case 5:k=a.sub(d,f,31);break;case 6:k=Ma(a,d,f,31);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k): |
| a.a[c&7]=k}};E[130]=F[130]=function(a){a.table[128](a)}; |
| E[131]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.sub(d,t(a),15)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),d=Gb(a,g,h)):d=a.memory.L(g)):d=a.d[c<<1&14];k=0;f=t(a);switch(c>>3&7){case 0:k=a.add(d,f,15);break;case 1:k=La(a,d,f,15);break;case 2:k=Ca(a,d,f,15);break;case 3:k=Ea(a,d,f,15);break;case 4:k=z(a,d,f,15);break;case 5:k=a.sub(d,f,15);break;case 6:k=Ma(a,d,f,15);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Hb(a,g,h,k):a.memory.ca(g, |
| k):a.d[c<<1&14]=k}}; |
| F[131]=function(a){var c=y(a);if(56===(c&56)){var d=192>c?K(a,a.h(c)):a.a[c&7];a.sub(d,t(a),31)}else{var f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),d=Ib(a,g,h)):d=I(a.memory,g)):d=a.a[c&7];k=0;f=t(a);switch(c>>3&7){case 0:k=a.add(d,f,31);break;case 1:k=La(a,d,f,31);break;case 2:k=Ca(a,d,f,31);break;case 3:k=Ea(a,d,f,31);break;case 4:k=z(a,d,f,31);break;case 5:k=a.sub(d,f,31);break;case 6:k=Ma(a,d,f,31);break;case 7:k=fc.bind(this,0)(d,f)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k): |
| a.a[c&7]=k}};E[132]=F[132]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];z(a,d,a.k[c>>1&12|c>>5&1],7)};E[133]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];z(a,d,a.d[c>>2&14],15)};F[133]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];z(a,d,a.a[c>>3&7],31)};E[134]=F[134]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,h=a.k[g];a.k[g]=d;192>c?a.memory.T(f,h):a.k[c<<2&12|c>>2&1]=h}; |
| E[135]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];var h=c>>2&14,k=a.d[h];a.d[h]=d;192>c?g?Hb(a,f,g,k):a.memory.ca(f,k):a.d[c<<1&14]=k};F[135]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];var h=c>>3&7,k=a.a[h];a.a[h]=d;192>c?g?Jb(a,f,g,k):a.memory.da(f,k):a.a[c&7]=k}; |
| E[136]=F[136]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.k[c>>1&12|c>>5&1];192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};E[137]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.d[c>>2&14];192>c?S(a,d,f):a.d[c<<1&14]=f};F[137]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.a[c>>3&7];192>c?T(a,d,f):a.eb[c&7]=f};E[138]=F[138]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.k[c>>1&12|c>>5&1]=d};E[139]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=d}; |
| F[139]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=d};E[140]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.N[c>>3&7];192>c?S(a,d,f):a.d[c<<1&14]=f};F[140]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=a.N[c>>3&7];192>c?T(a,d,f):a.eb[c&7]=f};E[141]=function(a){var c=y(a);192<=c&&R(a);a.ha=9;a.d[(c>>3&7)<<1]=a.h(c);a.ha=-1};F[141]=function(a){var c=y(a);192<=c&&R(a);a.ha=9;a.a[c>>3&7]=a.h(c);a.ha=-1}; |
| E[142]=F[142]=function(a){var c=y(a),d=c>>3&7,c=192>c?J(a,a.h(c)):a.d[c<<1&14];N(a,d,c)};E[143]=function(a){var c=y(a),d=J(a,Kb(a,0));a.u[a.D]+=2;192>c?(c=a.h(c),a.u[a.D]-=2,S(a,c,d),a.u[a.D]+=2):a.d[c<<1&14]=d};F[143]=function(a){var c=y(a),d=K(a,Kb(a,0));a.u[a.D]+=4;192>c?(c=a.h(c),a.u[a.D]-=4,T(a,c,d),a.u[a.D]+=4):a.a[c&7]=d};E[144]=F[144]=function(){};E[145]=function(a){gc(a,2)};F[145]=function(a){hc(a,1)};E[146]=function(a){gc(a,4)};F[146]=function(a){hc(a,2)};E[147]=function(a){gc(a,6)}; |
| F[147]=function(a){hc(a,3)};E[148]=function(a){gc(a,8)};F[148]=function(a){hc(a,4)};E[149]=function(a){gc(a,10)};F[149]=function(a){hc(a,5)};E[150]=function(a){gc(a,12)};F[150]=function(a){hc(a,6)};E[151]=function(a){gc(a,14)};F[151]=function(a){hc(a,7)};E[152]=function(a){a.d[0]=a.Bb[0]};F[152]=function(a){a.a[0]=a.na[0]};E[153]=function(a){a.d[4]=a.na[0]>>15};F[153]=function(a){a.a[2]=a.a[0]>>31}; |
| E[154]=function(a){var c=u(a),d=u(a);ic(a,Kb(a,-4),4);L(a,a.N[1]);L(a,jc(a));N(a,1,d);a.l=a.B[1]+c|0;a.K=!0};F[154]=function(a){var c=w(a),d=u(a);if((!a.ma||Ob(a))&&c&4294901760)throw a.debug.Q("#GP handler");ic(a,Kb(a,-8),8);M(a,a.N[1]);M(a,jc(a));N(a,1,d);a.l=a.B[1]+c|0;a.K=!0};E[155]=F[155]=function(a){10===(a.s[0]&10)&&kc(a)};E[156]=function(a){a.f&131072&&3>lc(a)?V(a,0):(mc(a),L(a,a.f))};F[156]=function(a){a.f&131072&&3>lc(a)?V(a,0):(mc(a),M(a,a.f&16580607))}; |
| E[157]=function(a){a.f&131072&&3>lc(a)&&V(a,0);nc(a,a.f&-65536|Nb(a));oc(a)};F[157]=function(a){a.f&131072&&3>lc(a)&&V(a,0);nc(a,P(a));oc(a)};E[158]=F[158]=function(a){a.f=a.f&-256|a.k[1];a.f=a.f&4161493|2;a.n=0};E[159]=F[159]=function(a){mc(a);a.k[1]=a.f};E[160]=F[160]=function(a){var c=B(a,pc(a));a.k[0]=c};E[161]=function(a){var c=J(a,pc(a));a.d[0]=c};F[161]=function(a){var c=K(a,pc(a));a.a[0]=c};E[162]=F[162]=function(a){Rb(a,pc(a),a.k[0])};E[163]=function(a){S(a,pc(a),a.d[0])}; |
| F[163]=function(a){T(a,pc(a),a.a[0])};E[164]=F[164]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=Q(a,c),x=C(a,d);a.w&&(m=Fb(f,c,d));do a.memory.T(x,a.memory.M(p)),x+=f,p+=f,g=0!==--h;while(g&&m--);c=f*(k-h)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=h;a.P+=k-h}else Rb(a,d,B(a,c)),a.i[a.o]+=f,a.i[a.A]+=f;g&&(a.l=a.W)}}; |
| E[165]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1||c&1){do S(a,d,J(a,c)),d+=f,a.i[a.o]+=f,c+=f,a.i[a.A]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=Q(a,c)>>1,A=C(a,d)>>1;a.w&&(m=Fb(f,c,d));do Tb(a.memory,A,$b(a.memory,x)),A+=p,x+=p,g=0!==--h;while(g&&m--);c=f*(k-h)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=h;a.P+=k-h}}else S(a,d,J(a,c)),a.i[a.o]+=f,a.i[a.A]+=f;g&&(a.l=a.W)}}; |
| F[165]=function(a){a:{if(0!==a.V){var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.i[a.G]>>>0;if(!f)break a;var g=a.w?4095:3;if(0===(d&g)&&0===(c&g)&&0===(a.f&1024)&&(g=!1,a.w&&(c=Q(a,c),d=C(a,d),1024<f&&(f=1024,g=!0)),!qc(a.p,c,f)&&!qc(a.p,d,f))){var h=f<<2;a.i[a.G]-=f;a.i[a.o]+=h;a.i[a.A]+=h;c>>=2;a.memory.lb.set(a.memory.lb.subarray(c,c+f),d>>2);g&&(a.l=a.W);break a}}c=Xb(a,3)+a.i[a.A]|0;d=a.B[0]+a.i[a.o]|0;h=a.f&1024?-4:4;g=!1;if(0!==a.V){f=a.i[a.G]>>>0;if(0===f)break a;var k=f,m=4096;if(d&3|| |
| c&3){do T(a,d,K(a,c)),d+=h,a.i[a.o]+=h,c+=h,a.i[a.A]+=h,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>h?-1:1,x=Q(a,c)>>>2,A=C(a,d)>>>2;a.w&&(m=Fb(h,c,d));do Wb(a.memory,A,bc(a.memory,x)),A+=p,x+=p,g=0!==--f;while(g&&m--);h=h*(k-f)|0;a.i[a.o]+=h;a.i[a.A]+=h;a.i[a.G]=f;a.P+=k-f}}else T(a,d,K(a,c)),a.i[a.o]+=h,a.i[a.A]+=h;g&&(a.l=a.W)}}; |
| E[166]=F[166]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=2===a.V,p=4096,x=Q(a,c),A=Q(a,d);a.w&&(p=Fb(f,c,d));do d=a.memory.M(A),c=a.memory.M(x),A+=f,x+=f,g=0!==--h&&c===d===m;while(g&&p--);f=f*(k-h)|0;a.i[a.o]+=f;a.i[a.A]+=f;a.i[a.G]=h;a.P+=k-h}else c=B(a,c),d=B(a,d),a.i[a.o]+=f,a.i[a.A]+=f;a.sub(c,d,7);g&&(a.l=a.W)}}; |
| E[167]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f,g,h=a.f&1024?-2:2,k=!1;if(0!==a.V){var m=a.i[a.G]>>>0;if(0===m)break a;var p=m,x=2===a.V,A=4096;if(d&1||c&1){do g=J(a,d),f=J(a,c),d+=h,a.i[a.o]+=h,c+=h,a.i[a.A]+=h,k=0!==--a.i[a.G]&&f===g===x;while(k&&A--)}else{var D=0>h?-1:1,O=Q(a,c)>>1,U=Q(a,d)>>1;a.w&&(A=Fb(h,c,d));do g=$b(a.memory,U),f=$b(a.memory,O),U+=D,O+=D,k=0!==--m&&f===g===x;while(k&&A--);c=h*(p-m)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=m;a.P+=p-m}}else g=J(a,d),f=J(a,c),a.i[a.o]+= |
| h,a.i[a.A]+=h;a.sub(f,g,15);k&&(a.l=a.W)}}; |
| F[167]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.B[0]+a.i[a.o]|0,f,g,h=a.f&1024?-4:4,k=!1;if(0!==a.V){var m=a.i[a.G]>>>0;if(0===m)break a;var p=m,x=2===a.V,A=4096;if(d&3||c&3){do g=K(a,d),f=K(a,c),d+=h,a.i[a.o]+=h,c+=h,a.i[a.A]+=h,k=0!==--a.i[a.G]&&f===g===x;while(k&&A--)}else{var D=0>h?-1:1,O=Q(a,c)>>>2,U=Q(a,d)>>>2;a.w&&(A=Fb(h,c,d));do g=bc(a.memory,U),f=bc(a.memory,O),U+=D,O+=D,k=0!==--m&&f===g===x;while(k&&A--);c=h*(p-m)|0;a.i[a.o]+=c;a.i[a.A]+=c;a.i[a.G]=m;a.P+=p-m}}else g=K(a,d),f=K(a,c), |
| a.i[a.o]+=h,a.i[a.A]+=h;a.sub(f,g,31);k&&(a.l=a.W)}};E[168]=F[168]=function(a){z(a,a.k[0],y(a),7)};E[169]=function(a){z(a,a.d[0],u(a),15)};F[169]=function(a){z(a,a.a[0],w(a),31)};E[170]=F[170]=function(a){a:{var c=a.k[0],d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-1:1,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096,p=C(a,d);a.w&&(m=Eb(f,d));do a.memory.T(p,c),p+=f,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else Rb(a,d,c),a.i[a.o]+=f;g&&(a.l=a.W)}}; |
| E[171]=function(a){a:{var c=a.d[0],d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-2:2,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&1){do S(a,d,c),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>1;a.w&&(m=Eb(f,d));do Tb(a.memory,x,c),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else S(a,d,c),a.i[a.o]+=f;g&&(a.l=a.W)}}; |
| F[171]=function(a){a:{var c=a.a[0],d=a.B[0]+a.i[a.o]|0,f=a.f&1024?-4:4,g=!1;if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=4096;if(d&3){do T(a,d,c),d+=f,a.i[a.o]+=f,g=0!==--a.i[a.G];while(g&&m--)}else{var p=0>f?-1:1,x=C(a,d)>>>2;a.w&&(m=Eb(f,d));do Wb(a.memory,x,c),x+=p,g=0!==--h;while(g&&m--);a.i[a.o]+=f*(k-h)|0;a.i[a.G]=h;a.P+=k-h}}else T(a,d,c),a.i[a.o]+=f;g&&(a.l=a.W)}}; |
| E[172]=F[172]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.f&1024?-1:1,f=!1;if(0!==a.V){var g=a.i[a.G]>>>0;if(0===g)break a;var h=g,k=4096,m=Q(a,c);a.w&&(k=Eb(d,c));do a.k[0]=a.memory.M(m),m+=d,f=0!==--g;while(f&&k--);a.i[a.A]+=d*(h-g)|0;a.i[a.G]=g;a.P+=h-g}else a.k[0]=B(a,c),a.i[a.A]+=d;f&&(a.l=a.W)}}; |
| E[173]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.f&1024?-2:2,f=!1;if(0!==a.V){if(0===a.i[a.G]>>>0)break a;var g=4096;do a.d[0]=J(a,c),c+=d,a.i[a.A]+=d,f=0!==--a.i[a.G];while(f&&g--)}else a.d[0]=J(a,c),a.i[a.A]+=d;f&&(a.l=a.W)}};F[173]=function(a){a:{var c=Xb(a,3)+a.i[a.A]|0,d=a.f&1024?-4:4,f=!1;if(0!==a.V){if(0===a.i[a.G]>>>0)break a;var g=4096;do a.a[0]=K(a,c),c+=d,a.i[a.A]+=d,f=0!==--a.i[a.G];while(f&&g--)}else a.a[0]=K(a,c),a.i[a.A]+=d;f&&(a.l=a.W)}}; |
| E[174]=F[174]=function(a){a:{var c=a.B[0]+a.i[a.o]|0,d=a.f&1024?-1:1,f=!1,g=a.k[0];if(0!==a.V){var h=a.i[a.G]>>>0;if(0===h)break a;var k=h,m=2===a.V,p=4096,x=Q(a,c);a.w&&(p=Eb(d,c));do c=a.memory.M(x),x+=d,f=0!==--h&&g===c===m;while(f&&p--);a.i[a.o]+=d*(k-h)|0;a.i[a.G]=h;a.P+=k-h}else c=B(a,c),a.i[a.o]+=d;a.sub(g,c,7);f&&(a.l=a.W)}}; |
| E[175]=function(a){a:{var c=a.B[0]+a.i[a.o]|0,d=a.f&1024?-2:2,f=!1,g,h=a.d[0];if(0!==a.V){var k=a.i[a.G]>>>0;if(0===k)break a;var m=k,p=2===a.V,x=4096;if(c&1){do g=J(a,c),c+=d,a.i[a.o]+=d,f=0!==--a.i[a.G]&&h===g===p;while(f&&x--)}else{var A=0>d?-1:1,D=Q(a,c)>>1;a.w&&(x=Eb(d,c));do g=$b(a.memory,D),D+=A,f=0!==--k&&h===g===p;while(f&&x--);a.i[a.o]+=d*(m-k)|0;a.i[a.G]=k;a.P+=m-k}}else g=J(a,c),a.i[a.o]+=d;a.sub(h,g,15);f&&(a.l=a.W)}}; |
| F[175]=function(a){a:{var c=a.B[0]+a.i[a.o]|0,d=a.f&1024?-4:4,f=!1,g,h=a.a[0];if(0!==a.V){var k=a.i[a.G]>>>0;if(0===k)break a;var m=k,p=2===a.V,x=4096;if(c&3){do g=K(a,c),c+=d,a.i[a.o]+=d,f=0!==--a.i[a.G]&&h===g===p;while(f&&x--)}else{var A=0>d?-1:1,D=Q(a,c)>>>2;a.w&&(x=Eb(d,c));do g=bc(a.memory,D),D+=A,f=0!==--k&&h===g===p;while(f&&x--);a.i[a.o]+=d*(m-k)|0;a.i[a.G]=k;a.P+=m-k}}else g=K(a,c),a.i[a.o]+=d;a.sub(h,g,31);f&&(a.l=a.W)}};E[176]=F[176]=function(a){a.k[0]=y(a)}; |
| E[177]=F[177]=function(a){a.k[4]=y(a)};E[178]=F[178]=function(a){a.k[8]=y(a)};E[179]=F[179]=function(a){a.k[12]=y(a)};E[180]=F[180]=function(a){a.k[1]=y(a)};E[181]=F[181]=function(a){a.k[5]=y(a)};E[182]=F[182]=function(a){a.k[9]=y(a)};E[183]=F[183]=function(a){a.k[13]=y(a)};E[184]=function(a){a.d[0]=u(a)};F[184]=function(a){a.a[0]=w(a)};E[185]=function(a){a.d[2]=u(a)};F[185]=function(a){a.a[1]=w(a)};E[186]=function(a){a.d[4]=u(a)};F[186]=function(a){a.a[2]=w(a)};E[187]=function(a){a.d[6]=u(a)}; |
| F[187]=function(a){a.a[3]=w(a)};E[188]=function(a){a.d[8]=u(a)};F[188]=function(a){a.a[4]=w(a)};E[189]=function(a){a.d[10]=u(a)};F[189]=function(a){a.a[5]=w(a)};E[190]=function(a){a.d[12]=u(a)};F[190]=function(a){a.a[6]=w(a)};E[191]=function(a){a.d[14]=u(a)};F[191]=function(a){a.a[7]=w(a)}; |
| E[192]=F[192]=function(a){var c=y(a),d,f,g,h;192>c?(g=C(a,a.h(c)),f=a.memory.M(g)):f=a.k[c<<2&12|c>>2&1];h=0;d=y(a)&31;switch(c>>3&7){case 0:h=Pa(a,f,d);break;case 1:h=Xa(a,f,d);break;case 2:h=Sa(a,f,d);break;case 3:h=$a(a,f,d);break;case 4:h=cb(a,f,d);break;case 5:h=hb(a,f,d);break;case 6:h=cb(a,f,d);break;case 7:h=kb(a,f,d)}192>c?a.memory.T(g,h):a.k[c<<2&12|c>>2&1]=h}; |
| E[193]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),f=Gb(a,g,h)):f=a.memory.L(g)):f=a.d[c<<1&14];k=0;d=y(a)&31;switch(c>>3&7){case 0:k=Qa(a,f,d);break;case 1:k=Ya(a,f,d);break;case 2:k=Va(a,f,d);break;case 3:k=ab(a,f,d);break;case 4:k=db(a,f,d);break;case 5:k=ib(a,f,d);break;case 6:k=db(a,f,d);break;case 7:k=lb(a,f,d)}192>c?h?Hb(a,g,h,k):a.memory.ca(g,k):a.d[c<<1&14]=k}; |
| F[193]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),f=Ib(a,g,h)):f=I(a.memory,g)):f=a.a[c&7];k=0;d=y(a)&31;switch(c>>3&7){case 0:k=Ra(a,f,d);break;case 1:k=Za(a,f,d);break;case 2:k=Wa(a,f,d);break;case 3:k=bb(a,f,d);break;case 4:k=gb(a,f,d);break;case 5:k=jb(a,f,d);break;case 6:k=gb(a,f,d);break;case 7:k=mb(a,f,d)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k):a.a[c&7]=k};E[194]=function(a){var c=u(a);a.l=a.B[1]+Nb(a)|0;a.u[a.D]+=c;a.K=!0}; |
| F[194]=function(a){var c=u(a);a.l=a.B[1]+P(a)|0;a.u[a.D]+=c;a.K=!0};E[195]=function(a){a.l=a.B[1]+Nb(a)|0;a.K=!0};F[195]=function(a){a.l=a.B[1]+P(a)|0;a.K=!0};E[196]=function(a){var c=y(a);192<=c&&R(a);rc(a,0,a.h(c),c>>2&14)};F[196]=function(a){var c=y(a);192<=c&&R(a);wc(a,0,a.h(c),c>>3&7)};E[197]=function(a){var c=y(a);192<=c&&R(a);rc(a,3,a.h(c),c>>2&14)};F[197]=function(a){var c=y(a);192<=c&&R(a);wc(a,3,a.h(c),c>>3&7)}; |
| E[198]=F[198]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=y(a);192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};E[199]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=u(a);192>c?S(a,d,f):a.d[c<<1&14]=f};F[199]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=w(a);192>c?T(a,d,f):a.eb[c&7]=f};E[200]=function(a){var c=u(a),d=y(a),d=d&31,f,g;L(a,a.d[10]);f=a.d[8];if(0<d){g=a.d[5];for(var h=1;h<d;h++)g-=2,L(a,J(a,a.B[2]+g|0));L(a,f)}a.d[10]=f;a.d[8]-=c}; |
| F[200]=function(a){var c=u(a),d=y(a),d=d&31,f,g;M(a,a.a[5]);f=a.a[4];if(0<d){g=a.a[5];for(var h=1;h<d;h++)g-=4,M(a,K(a,a.B[2]+g|0));M(a,f)}a.a[5]=f;a.a[4]-=c};E[201]=function(a){var c=J(a,a.B[2]+a.u[a.nb]|0);a.u[a.D]=a.u[a.nb]+2|0;a.d[10]=c};F[201]=function(a){var c=K(a,a.B[2]+a.u[a.nb]|0);a.u[a.D]=a.u[a.nb]+4|0;a.a[5]=c};E[202]=function(a){Q(a,a.B[2]+a.u[a.D]+4);var c=u(a),d=Nb(a);N(a,1,Nb(a));a.l=a.B[1]+d|0;a.u[a.D]+=c;a.K=!0}; |
| F[202]=function(a){Q(a,a.B[2]+a.u[a.D]+8);var c=u(a),d=P(a);N(a,1,P(a)&65535);a.l=a.B[1]+d|0;a.u[a.D]+=c;a.K=!0};E[203]=function(a){Q(a,a.B[2]+a.u[a.D]+4);var c=Nb(a);N(a,1,Nb(a));a.l=a.B[1]+c|0;a.K=!0};F[203]=function(a){Q(a,a.B[2]+a.u[a.D]+8);var c=P(a);N(a,1,P(a)&65535);a.l=a.B[1]+c|0;a.K=!0};E[204]=F[204]=function(a){xc(a,3,!0,!1)};E[205]=F[205]=function(a){var c=y(a);xc(a,c,!0,!1)};E[206]=F[206]=function(a){a.rc()&&xc(a,4,!0,!1)}; |
| E[207]=function(a){if(!a.ma||Ob(a)&&3===lc(a)){var c=Nb(a),d=Nb(a),f=Nb(a);N(a,1,d);a.l=c+a.B[1]|0;nc(a,a.f&-65536|f);oc(a)}else throw Ob(a)&&V(a,0),a.debug.Q("16 bit iret in protected mode");a.K=!0}; |
| F[207]=function(a){a:if(!a.ma||Ob(a)&&3===lc(a)){var c=P(a);if(c&4294901760)throw a.debug.Q("#GP handler");N(a,1,P(a)&65535);var d=P(a);a.l=c+a.B[1]|0;nc(a,d);oc(a)}else{Ob(a)&&V(a,0);a.l=P(a);a.N[1]=P(a);d=P(a);if(d&131072){if(0===a.O){nc(a,d);a.f|=131072;N(a,1,a.N[1]);a.l=(a.l&65535)+a.B[1]|0;var c=P(a),f=P(a);N(a,0,P(a)&65535);N(a,3,P(a)&65535);N(a,4,P(a)&65535);N(a,5,P(a)&65535);a.a[4]=c;N(a,2,f&65535);a.O=3;a.Wa=-1;yc(a,!1);break a}d&=-131073}var g=zc(a,a.N[1]);if(g.kb)throw a.debug.Q("is null"); |
| if(!g.vb)throw a.debug.Q("not present");if(!g.Pb)throw a.debug.Q("not exec");if(g.Cb<a.O)throw a.debug.Q("rpl < cpl");if(g.Lb&&g.ya>g.Cb)throw a.debug.Q("conforming and dpl > rpl");g.Cb>a.O?(c=P(a),f=P(a),a.a[4]=c,nc(a,d),a.O||(a.f=a.f&-1572865|d&1572864),a.O=g.Cb,a.Wa=-1,N(a,2,f&65535)):(nc(a,d),a.O||(a.f=a.f&-1572865|d&1572864));g.size!==a.Ea&&yc(a,g.size);a.Ka[1]=g.Mb;a.B[1]=g.Zb;a.l=a.l+a.B[1]|0;oc(a);a.K=!0}}; |
| E[208]=F[208]=function(a){var c=y(a),d,f,g;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];g=0;switch(c>>3&7){case 0:g=Pa(a,d,1);break;case 1:g=Xa(a,d,1);break;case 2:g=Sa(a,d,1);break;case 3:g=$a(a,d,1);break;case 4:g=cb(a,d,1);break;case 5:g=hb(a,d,1);break;case 6:g=cb(a,d,1);break;case 7:g=kb(a,d,1)}192>c?a.memory.T(f,g):a.k[c<<2&12|c>>2&1]=g}; |
| E[209]=function(a){var c=y(a),d,f,g=0,h;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];h=0;switch(c>>3&7){case 0:h=Qa(a,d,1);break;case 1:h=Ya(a,d,1);break;case 2:h=Va(a,d,1);break;case 3:h=ab(a,d,1);break;case 4:h=db(a,d,1);break;case 5:h=ib(a,d,1);break;case 6:h=db(a,d,1);break;case 7:h=lb(a,d,1)}192>c?g?Hb(a,f,g,h):a.memory.ca(f,h):a.d[c<<1&14]=h}; |
| F[209]=function(a){var c=y(a),d,f,g=0,h;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];h=0;switch(c>>3&7){case 0:h=Ra(a,d,1);break;case 1:h=Za(a,d,1);break;case 2:h=Wa(a,d,1);break;case 3:h=bb(a,d,1);break;case 4:h=gb(a,d,1);break;case 5:h=jb(a,d,1);break;case 6:h=gb(a,d,1);break;case 7:h=mb(a,d,1)}192>c?g?Jb(a,f,g,h):a.memory.da(f,h):a.a[c&7]=h}; |
| E[210]=F[210]=function(a){var c=y(a),d,f,g,h;192>c?(g=C(a,a.h(c)),f=a.memory.M(g)):f=a.k[c<<2&12|c>>2&1];h=0;d=a.k[4]&31;switch(c>>3&7){case 0:h=Pa(a,f,d);break;case 1:h=Xa(a,f,d);break;case 2:h=Sa(a,f,d);break;case 3:h=$a(a,f,d);break;case 4:h=cb(a,f,d);break;case 5:h=hb(a,f,d);break;case 6:h=cb(a,f,d);break;case 7:h=kb(a,f,d)}192>c?a.memory.T(g,h):a.k[c<<2&12|c>>2&1]=h}; |
| E[211]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4095===(d&4095)?(h=C(a,d+1),f=Gb(a,g,h)):f=a.memory.L(g)):f=a.d[c<<1&14];k=0;d=a.k[4]&31;switch(c>>3&7){case 0:k=Qa(a,f,d);break;case 1:k=Ya(a,f,d);break;case 2:k=Va(a,f,d);break;case 3:k=ab(a,f,d);break;case 4:k=db(a,f,d);break;case 5:k=ib(a,f,d);break;case 6:k=db(a,f,d);break;case 7:k=lb(a,f,d)}192>c?h?Hb(a,g,h,k):a.memory.ca(g,k):a.d[c<<1&14]=k}; |
| F[211]=function(a){var c=y(a),d,f,g,h=0,k;192>c?(d=a.h(c),g=C(a,d),a.w&&4093<=(d&4095)?(h=C(a,d+3),f=Ib(a,g,h)):f=I(a.memory,g)):f=a.a[c&7];k=0;d=a.k[4]&31;switch(c>>3&7){case 0:k=Ra(a,f,d);break;case 1:k=Za(a,f,d);break;case 2:k=Wa(a,f,d);break;case 3:k=bb(a,f,d);break;case 4:k=gb(a,f,d);break;case 5:k=jb(a,f,d);break;case 6:k=gb(a,f,d);break;case 7:k=mb(a,f,d)}192>c?h?Jb(a,g,h,k):a.memory.da(g,k):a.a[c&7]=k}; |
| E[212]=F[212]=function(a){var c=y(a);if(0===c)Ac(a);else{var d=a.k[0];a.k[1]=d/c;a.k[0]=d%c;a.C=a.k[0];a.n=196;a.f&=-2066}};E[213]=F[213]=function(a){var c=y(a);a.C=a.k[0]+a.k[1]*c&255;a.d[0]=a.C;a.Z=7;a.n=196;a.f&=-2066};E[214]=F[214]=function(a){a.k[0]=-a.ta()};E[215]=F[215]=function(a){a.k[0]=a.sb?B(a,Xb(a,3)+a.a[3]+a.k[0]):B(a,Xb(a,3)+a.d[6]+a.k[0])}; |
| E[216]=F[216]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);c=c>>3&7;a=Bc(d,a);var f=Cc(d);switch(c){case 0:d.e[d.b]=f+a;break;case 1:d.e[d.b]=f*a;break;case 2:Dc(d,a);break;case 3:Dc(d,a);d.pop();break;case 4:d.e[d.b]=f-a;break;case 5:d.e[d.b]=a-f;break;case 6:d.e[d.b]=f/a;break;case 7:d.e[d.b]=a/f}}else switch(d=a.ra,a=c>>3&7,c=W(d,c&7),f=Cc(d),a){case 0:d.e[d.b]=f+c;break;case 1:d.e[d.b]=f*c;break;case 2:Dc(d,c);break;case 3:Dc(d,c);d.pop();break;case 4:d.e[d.b]=f-c;break; |
| case 5:d.e[d.b]=c-f;break;case 6:d.e[d.b]=f/c;break;case 7:d.e[d.b]=c/f}}; |
| E[217]=F[217]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:c=Bc(d,a);d.push(c);break;case 1:Ec(d);break;case 2:c=Cc(d);d.R[0]=c;T(d.r,a,d.Y[0]);break;case 3:c=Cc(d);d.R[0]=c;T(d.r,a,d.Y[0]);d.pop();break;case 4:Fc(d,a);break;case 5:d.J=J(d.r,a);break;case 6:Gc(d,a);break;case 7:S(d.r,a,d.J)}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:c=W(d,a);d.push(c);break;case 1:c=W(d,a);d.e[d.b+a&7]=Cc(d);d.e[d.b]=c;break;case 2:switch(a){case 0:break;default:Ec(d)}break; |
| case 3:Ec(d);break;case 4:c=Cc(d);switch(a){case 0:d.e[d.b]=-c;break;case 1:d.e[d.b]=Math.abs(c);break;case 4:d.j&=-18177;isNaN(c)?d.j|=17664:0===c?d.j|=16384:0>c&&(d.j|=256);break;case 5:d.j&=-18177;d.j|=d.sign(0)<<9;d.j=d.m>>d.b&1?d.j|16640:isNaN(c)?d.j|256:0===c?d.j|16384:Infinity===c||-Infinity===c?d.j|1280:d.j|1024;break;default:Ec(d)}break;case 5:d.push(d.fb[a]);break;case 6:c=Cc(d);switch(a){case 0:d.e[d.b]=Math.pow(2,c)-1;break;case 1:d.e[d.b+1&7]=W(d,1)*Math.log(c)/Math.LN2;d.pop();break; |
| case 2:d.e[d.b]=Math.tan(c);d.push(1);break;case 3:d.e[d.b+1&7]=Math.atan2(W(d,1),c);d.pop();break;case 4:d.F[0]=Cc(d);c=((d.q[7]&127)<<4|d.q[6]>>4)-1023;d.q[7]=63|d.q[7]&128;d.q[6]|=240;d.e[d.b]=c;d.push(d.F[0]);break;case 5:d.e[d.b]=c%W(d,1);break;case 6:d.b=d.b-1&7;d.j&=-513;break;case 7:d.b=d.b+1&7,d.j&=-513}break;case 7:switch(c=Cc(d),a){case 0:d.e[d.b]=c%W(d,1);break;case 1:d.e[d.b+1&7]=W(d,1)*Math.log(c+1)/Math.LN2;d.pop();break;case 2:d.e[d.b]=Math.sqrt(c);break;case 3:d.e[d.b]=Math.sin(c); |
| d.push(Math.cos(c));break;case 4:d.e[d.b]=Hc(d,c);break;case 5:d.e[d.b]=c*Math.pow(2,Ic(W(d,1)));break;case 6:d.e[d.b]=Math.sin(c);break;case 7:d.e[d.b]=Math.cos(c)}}}; |
| E[218]=F[218]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);c=c>>3&7;a=K(d.r,a);var f=Cc(d);switch(c){case 0:d.e[d.b]=f+a;break;case 1:d.e[d.b]=f*a;break;case 2:Dc(d,a);break;case 3:Dc(d,a);d.pop();break;case 4:d.e[d.b]=f-a;break;case 5:d.e[d.b]=a-f;break;case 6:d.e[d.b]=f/a;break;case 7:d.e[d.b]=a/f}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:d.r.La()&&(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 1:d.r.Na()&&(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 2:cc(d.r)&&(d.e[d.b]=W(d, |
| a),d.m&=~(1<<d.b));break;case 3:d.r.Ma()&&(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 5:1===a?(c=W(d,1),Dc(d,c),d.pop(),d.pop()):Ec(d);break;default:Ec(d)}}; |
| E[219]=F[219]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:c=K(d.r,a);d.push(c);break;case 2:c=Hc(d,Cc(d));2147483647>=c&&-2147483648<=c?T(d.r,a,c):(Jc(d),T(d.r,a,-2147483648));break;case 3:c=Hc(d,Cc(d));2147483647>=c&&-2147483648<=c?T(d.r,a,c):(Jc(d),T(d.r,a,-2147483648));d.pop();break;case 5:d.push(Kc(d,a));break;case 7:ic(d.r,a,10);Lc(d,a,0);d.pop();break;default:Ec(d)}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:d.r.La()||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b)); |
| break;case 1:d.r.Na()||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 2:cc(d.r)||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 3:d.r.Ma()||(d.e[d.b]=W(d,a),d.m&=~(1<<d.b));break;case 4:227===c?Mc(d):228!==c&&225!==c&&(226===c?d.j=0:Ec(d));break;case 5:c=W(d,a);Nc(d,c);break;case 6:Nc(d,W(d,a));break;default:Ec(d)}}; |
| E[220]=F[220]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra,f=a.h(c);a=c>>3&7;c=Oc(d,f);f=Cc(d);switch(a){case 0:d.e[d.b]=f+c;break;case 1:d.e[d.b]=f*c;break;case 2:Dc(d,c);break;case 3:Dc(d,c);d.pop();break;case 4:d.e[d.b]=f-c;break;case 5:d.e[d.b]=c-f;break;case 6:d.e[d.b]=f/c;break;case 7:d.e[d.b]=c/f}}else{d=a.ra;a=c>>3&7;var f=c&7,c=d.b+f&7,f=W(d,f),g=Cc(d);switch(a){case 0:d.e[c]=f+g;break;case 1:d.e[c]=f*g;break;case 2:Dc(d,f);break;case 3:Dc(d,f);d.pop();break;case 4:d.e[c]= |
| g-f;break;case 5:d.e[c]=f-g;break;case 6:d.e[c]=g/f;break;case 7:d.e[c]=f/g}}}; |
| E[221]=F[221]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:c=Oc(d,a);d.push(c);break;case 1:Ec(d);break;case 2:Pc(d,a);break;case 3:Pc(d,a);d.pop();break;case 4:c=a;Fc(d,c);c+=28;for(a=0;8>a;a++)d.e[a]=Kc(d,c),c+=10;break;case 5:Ec(d);break;case 6:c=a;ic(d.r,c,108);Gc(d,c);c+=28;for(a=0;8>a;a++)Lc(d,c,a-d.b&7),c+=10;Mc(d);break;case 7:S(d.r,a,d.j&-14337|d.b<<11)}}else switch(d=a.ra,a=c&7,c>>3&7){case 0:d.m|=1<<(d.b+a&7);break;case 2:d.e[d.b+a&7]=Cc(d); |
| break;case 3:0!==a&&(d.e[d.b+a&7]=Cc(d));d.pop();break;case 4:c=W(d,a);Dc(d,c);break;case 5:c=W(d,a);Dc(d,c);d.pop();break;default:Ec(d)}}; |
| E[222]=F[222]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra,f=a.h(c);a=c>>3&7;c=J(d.r,f)<<16>>16;f=Cc(d);switch(a){case 0:d.e[d.b]=f+c;break;case 1:d.e[d.b]=f*c;break;case 2:Dc(d,c);break;case 3:Dc(d,c);d.pop();break;case 4:d.e[d.b]=f-c;break;case 5:d.e[d.b]=c-f;break;case 6:d.e[d.b]=f/c;break;case 7:d.e[d.b]=c/f}}else{d=a.ra;a=c>>3&7;var c=c&7,f=d.b+c&7,g=W(d,c),h=Cc(d);switch(a){case 0:d.e[f]=g+h;break;case 1:d.e[f]=g*h;break;case 2:Dc(d,g);break;case 3:1===c?(Dc(d,d.e[f]),d.pop()): |
| Ec(d);break;case 4:d.e[f]=h-g;break;case 5:d.e[f]=g-h;break;case 6:d.e[f]=h/g;break;case 7:d.e[f]=g/h}d.pop()}}; |
| E[223]=F[223]=function(a){var c=y(a);a.s[0]&12&&kc(a);if(192>c){var d=a.ra;a=a.h(c);switch(c>>3&7){case 0:a=J(d.r,a)<<16>>16;d.push(a);break;case 1:Ec(d);break;case 2:c=Hc(d,Cc(d));32767>=c&&-32768<=c?S(d.r,a,c):(Jc(d),S(d.r,a,32768));break;case 3:c=Hc(d,Cc(d));32767>=c&&-32768<=c?S(d.r,a,c):(Jc(d),S(d.r,a,32768));d.pop();break;case 4:Ec(d);break;case 5:c=K(d.r,a)>>>0;a=K(d.r,a+4);d.push(c+4294967296*a);break;case 6:Ec(d);break;case 7:ic(d.r,a,8);var c=Hc(d,Cc(d)),f,g;0x7fffffffffffffff>c&&-9223372036854775808<= |
| c?(f=c|0,g=c/4294967296|0,0===g&&0>c&&(g=-1)):(f=0,g=-2147483648,Jc(d));T(d.r,a,f);T(d.r,a+4,g);d.pop()}}else switch(d=a.ra,a=c&7,c>>3&7){case 4:224===c?d.r.d[0]=d.j&-14337|d.b<<11:Ec(d);break;case 5:a=W(d,a);Nc(d,a);d.pop();break;case 6:Nc(d,W(d,a));d.pop();break;default:Ec(d)}};E[224]=F[224]=function(a){if(--a.i[a.G]&&!a.ub()){var c=t(a);a.l=a.l+c|0}else a.l++;a.K=!0};E[225]=F[225]=function(a){if(--a.i[a.G]&&a.ub()){var c=t(a);a.l=a.l+c|0}else a.l++;a.K=!0};E[226]=F[226]=function(a){a.loop()}; |
| E[227]=F[227]=function(a){var c=t(a);0===a.i[a.G]&&(a.l=a.l+c|0);a.K=!0};E[228]=F[228]=function(a){var c=y(a);Pb(a,c,1);a.k[0]=Qb(a.p,c)};E[229]=function(a){var c=y(a);Pb(a,c,2);a.d[0]=Sb(a.p,c)};F[229]=function(a){var c=y(a);Pb(a,c,4);a.a[0]=Ub(a.p,c)};E[230]=F[230]=function(a){var c=y(a);Pb(a,c,1);Yb(a.p,c,a.k[0])};E[231]=function(a){var c=y(a);Pb(a,c,2);Zb(a.p,c,a.d[0])};F[231]=function(a){var c=y(a);Pb(a,c,4);ac(a.p,c,a.a[0])};E[232]=function(a){var c=u(a)<<16>>16;L(a,jc(a));Qc(a,c);a.K=!0}; |
| F[232]=function(a){var c=w(a);M(a,jc(a));a.l=a.l+c|0;a.K=!0};E[233]=function(a){var c=u(a)<<16>>16;Qc(a,c);a.K=!0};F[233]=function(a){var c=w(a);a.l=a.l+c|0;a.K=!0};E[234]=function(a){var c=u(a);N(a,1,u(a));a.l=c+a.B[1]|0;a.K=!0};F[234]=function(a){var c=w(a);N(a,1,u(a));a.l=c+a.B[1]|0;a.K=!0};E[235]=F[235]=function(a){var c=t(a);a.l=a.l+c|0;a.K=!0};E[236]=F[236]=function(a){var c=a.d[4];Pb(a,c,1);a.k[0]=Qb(a.p,c)};E[237]=function(a){var c=a.d[4];Pb(a,c,2);a.d[0]=Sb(a.p,c)}; |
| F[237]=function(a){var c=a.d[4];Pb(a,c,4);a.a[0]=Ub(a.p,c)};E[238]=F[238]=function(a){var c=a.d[4];Pb(a,c,1);Yb(a.p,c,a.k[0])};E[239]=function(a){var c=a.d[4];Pb(a,c,2);Zb(a.p,c,a.d[0])};F[239]=function(a){var c=a.d[4];Pb(a,c,4);ac(a.p,c,a.a[0])};E[240]=F[240]=function(a){Lb(a)};E[241]=F[241]=function(a){throw a.debug.Q("int1 instruction");};E[242]=F[242]=function(a){a.V=1;Lb(a);a.V=0};E[243]=F[243]=function(a){a.V=2;Lb(a);a.V=0}; |
| E[244]=F[244]=function(a){a.O&&V(a,0);if(0===(a.f&512))throw a.debug.show("cpu halted"),"HALT";a.sc=!0;throw 233495534;};E[245]=F[245]=function(a){a.f=(a.f|1)^a.ta();a.n&=-2}; |
| E[246]=F[246]=function(a){var c=y(a);switch(c>>3&7){case 0:var d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];z(a,d,y(a),7);break;case 1:d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];z(a,d,y(a),7);break;case 2:var f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=~d;192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d;break;case 3:192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Ha(a,d,7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d;break;case 4:d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];c=d*a.k[0]; |
| a.d[0]=c;a.f=256>c?a.f&-2050:a.f|2049;a.n=0;break;case 5:192>c?d=B(a,a.h(c))<<24>>24:d=a.Bb[c<<2&12|c>>2&1];c=d*a.Bb[0];a.d[0]=c;a.f=127<c||-128>c?a.f|2049:a.f&-2050;a.n=0;break;case 6:c=d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];f=a.d[0];d=f/c|0;256<=d||0===c?Ac(a):(a.k[0]=d,a.k[1]=f%c);break;case 7:192>c?d=B(a,a.h(c))<<24>>24:d=a.Bb[c<<2&12|c>>2&1],c=d,f=a.na[0],d=f/c|0,128<=d||-129>=d||0===c?Ac(a):(a.k[0]=d,a.k[1]=f%c)}}; |
| E[247]=function(a){var c=y(a);switch(c>>3&7){case 0:var d=192>c?J(a,a.h(c)):a.d[c<<1&14];z(a,d,u(a),15);break;case 1:d=192>c?J(a,a.h(c)):a.d[c<<1&14];z(a,d,u(a),15);break;case 2:var f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=~d;192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 3:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ha(a,d,15);192>c?g?Hb(a,f,g,d): |
| a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 4:d=192>c?J(a,a.h(c)):a.d[c<<1&14];c=d*a.d[0];f=c>>>16;a.d[0]=c;a.d[4]=f;a.f=0===f?a.f&-2050:a.f|2049;a.n=0;break;case 5:192>c?d=J(a,a.h(c))<<16>>16:d=a.na[c<<1&14];c=d*a.na[0];a.d[0]=c;a.d[4]=c>>16;a.f=32767<c||-32768>c?a.f|2049:a.f&-2050;a.n=0;break;case 6:c=d=192>c?J(a,a.h(c)):a.d[c<<1&14];f=(a.d[0]|a.d[4]<<16)>>>0;g=f/c|0;65536<=g||0>g||0===c?Ac(a):(a.d[0]=g,a.d[4]=f%c);break;case 7:192>c?d=J(a,a.h(c))<<16>>16:d=a.na[c<<1&14],c=d,f=a.d[0]|a.d[4]<<16, |
| g=f/c|0,32768<=g||-32769>=g||0===c?Ac(a):(a.d[0]=g,a.d[4]=f%c)}}; |
| F[247]=function(a){var c=y(a);switch(c>>3&7){case 0:var d=192>c?K(a,a.h(c)):a.a[c&7];z(a,d,w(a),31);break;case 1:d=192>c?K(a,a.h(c)):a.a[c&7];z(a,d,w(a),31);break;case 2:var f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=~d;192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d;break;case 3:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ha(a,d,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c& |
| 7]=d;break;case 4:192>c?d=K(a,a.h(c))>>>0:d=a.eb[c&7];f=a.a[0];c=f&65535;f=f>>>16;var h=d&65535,d=d>>>16,g=c*h,h=(g>>>16)+(f*h|0)|0,k=h>>>16,h=(h&65535)+(c*d|0)|0,k=((h>>>16)+(f*d|0)|0)+k|0;a.a[0]=h<<16|g&65535;a.a[2]=k;a.f=0===k?a.f&-2050:a.f|2049;a.n=0;break;case 5:g=d=192>c?K(a,a.h(c)):a.a[c&7];f=a.a[0];c=!1;0>f&&(c=!0,f=-f|0);0>g&&(c=!c,g=-g|0);d=f&65535;f=f>>>16;var k=g&65535,g=g>>>16,h=d*k,k=(h>>>16)+(f*k|0)|0,m=k>>>16,k=(k&65535)+(d*g|0)|0,h=k<<16|h&65535,m=((k>>>16)+(f*g|0)|0)+m|0;c&&(h=-h| |
| 0,m=~m+!h|0);a.a[0]=h;a.a[2]=m;a.f=m===h>>31?a.f&-2050:a.f|2049;a.n=0;break;case 6:192>c?d=K(a,a.h(c))>>>0:d=a.eb[c&7];c=d;f=a.eb[0];g=a.eb[2];(g>=c||!c)&&Ac(a);d=0;if(1048576<g){h=32;for(k=c;k>g;)k>>>=1,h--;for(;1048576<g;)g>=k&&(g-=k,m=c<<h>>>0,m>f&&g--,f=f-m>>>0,d|=1<<h),h--,k>>=1;d>>>=0}f+=4294967296*g;g=f%c;d+=f/c|0;4294967296<=d||0===c?Ac(a):(a.a[0]=d,a.a[2]=g);break;case 7:c=d=192>c?K(a,a.h(c)):a.a[c&7];h=a.eb[0];k=a.a[2];f=d=!1;0>c&&(f=!0,c=-c);0>k&&(d=!0,f=!f,h=-h>>>0,k=~k+!h);(k>=c||!c)&& |
| Ac(a);g=0;if(1048576<k){for(var m=32,p=c;p>k;)p>>>=1,m--;for(;1048576<k;){if(k>=p){var k=k-p,x=c<<m>>>0;x>h&&k--;h=h-x>>>0;g|=1<<m}m--;p>>=1}g>>>=0}h+=4294967296*k;k=h%c;g+=h/c|0;f&&(g=-g|0);d&&(k=-k|0);2147483648<=g||-2147483649>=g||0===c?Ac(a):(a.a[0]=g,a.a[2]=k)}};E[248]=F[248]=function(a){a.f&=-2;a.n&=-2};E[249]=F[249]=function(a){a.f|=1;a.n&=-2};E[250]=F[250]=function(a){!a.ma||(a.f&131072?3===lc(a):lc(a)>=a.O)?a.f&=-513:3>lc(a)&&(a.f&131072?a.s[4]&1:3===a.O&&a.s[4]&2)?a.f&=-524289:V(a,0)}; |
| E[251]=F[251]=function(a){!a.ma||(a.f&131072?3===lc(a):lc(a)>=a.O)?(a.f|=512,Rc(a),oc(a)):3>lc(a)&&0===(a.f&1048576)&&(a.f&131072?a.s[4]&1:3===a.O&&a.s[4]&2)?a.f|=524288:V(a,0)};E[252]=F[252]=function(a){a.f&=-1025};E[253]=F[253]=function(a){a.f|=1024}; |
| E[254]=F[254]=function(a){var c=y(a),d=c&56;if(0===d){var f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];d=Fa(a,d,7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d}else 8===d?(192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1],d=Ga(a,d,7),192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d):R(a)}; |
| E[255]=function(a){var c=y(a);switch(c>>3&7){case 0:var d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Fa(a,d,15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 1:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=Ga(a,d,15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d;break;case 2:d=192>c?J(a,a.h(c)):a.d[c<<1&14];L(a,jc(a));a.l=a.B[1]+d|0;a.K=!0;break; |
| case 3:192<=c&&R(a);d=a.h(c);c=J(a,d+2);f=J(a,d);ic(a,Kb(a,-4),4);L(a,a.N[1]);L(a,jc(a));N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 4:d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.l=a.B[1]+d|0;a.K=!0;break;case 5:192<=c&&R(a);d=a.h(c);c=J(a,d+2);f=J(a,d);N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 6:d=192>c?J(a,a.h(c)):a.d[c<<1&14];L(a,d);break;case 7:R(a)}}; |
| F[255]=function(a){var c=y(a);switch(c>>3&7){case 0:var d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Fa(a,d,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d;break;case 1:g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=Ga(a,d,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d;break;case 2:d=192>c?K(a,a.h(c)):a.a[c&7];M(a,jc(a));a.l=a.B[1]+d|0;a.K=!0;break;case 3:192<=c&&R(a);d= |
| a.h(c);c=J(a,d+4);f=K(a,d);ic(a,Kb(a,-8),8);M(a,a.N[1]);M(a,jc(a));N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 4:d=192>c?K(a,a.h(c)):a.a[c&7];a.l=a.B[1]+d|0;a.K=!0;break;case 5:192<=c&&R(a);d=a.h(c);c=J(a,d+4);f=K(a,d);N(a,1,c);a.l=a.B[1]+f|0;a.K=!0;break;case 6:d=192>c?K(a,a.h(c)):a.a[c&7];M(a,d);break;case 7:R(a)}}; |
| G[0]=H[0]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);a.O&&V(a,0);switch(c>>3&7){case 0:if(192>c)var d=a.h(c);var f=a.N[7];192>c?S(a,d,f):a.d[c<<1&14]=f;break;case 1:192>c&&(d=a.h(c));f=a.N[6];192>c?S(a,d,f):a.d[c<<1&14]=f;break;case 2:c=f=192>c?J(a,a.h(c)):a.d[c<<1&14];d=zc(a,c);if(d.kb)a.B[7]=0,a.Ka[7]=0;else{if(!d.ie)throw a.debug.Q("LDTR can only be loaded from GDT");if(!d.vb)throw a.debug.Q("#GP handler");if(!d.dc)throw a.debug.Q("#GP handler");if(2!==d.type)throw a.debug.Q("#GP handler");a.B[7]= |
| d.Zb;a.Ka[7]=d.Mb;a.N[7]=c}break;case 3:c=f=192>c?J(a,a.h(c)):a.d[c<<1&14];d=zc(a,c);if(!d.ie)throw a.debug.Q("TR can only be loaded from GDT");if(d.kb)throw a.debug.Q("#GP handler");if(!d.vb)throw a.debug.Q("#GP handler");if(!d.dc)throw a.debug.Q("#GP handler");if(9!==d.type)throw a.debug.Q("#GP handler");a.B[6]=d.Zb;a.Ka[6]=d.Mb;a.N[6]=c;a.memory.T(d.Nd+5,a.memory.M(d.Nd+5)|2);break;default:R(a)}}; |
| G[1]=H[1]=function(a){var c=y(a);a.O&&V(a,0);var d=c>>3&7;if(4===d){if(192>c)var f=a.h(c);d=a.s[0];192>c?S(a,f,d):a.d[c<<1&14]=d}else if(6===d)d=192>c?J(a,a.h(c)):a.d[c<<1&14],a.s[0]=a.s[0]&-16|d&15,a.ma&&(a.s[0]|=1),Sc(a);else switch(192<=c&&R(a),2!==d&&3!==d||!a.ma||(a.ha=9),f=a.h(c),a.ha=-1,d){case 0:ic(a,f,6);S(a,f,a.Qc);T(a,f+2,a.bc);break;case 1:ic(a,f,6);S(a,f,a.Sc);T(a,f+2,a.cc);break;case 2:c=J(a,f);f=K(a,f+2);a.Qc=c;a.bc=f;a.Qa||(a.bc&=16777215);break;case 3:c=J(a,f);f=K(a,f+2);a.Sc=c;a.cc= |
| f;a.Qa||(a.cc&=16777215);break;case 7:f=f>>>12;a.ib[f]=0;a.kc[f]=0;a.Wa=-1;break;default:R(a)}};G[2]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Tc(a,d,a.d[c>>2&14])};H[2]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.a[c>>3&7]=Tc(a,d,a.a[c>>3&7])};G[3]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Uc(a,d,a.d[c>>2&14])}; |
| H[3]=function(a){var c=y(a);a.ma&&!Ob(a)||R(a);var d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.a[c>>3&7]=Uc(a,d,a.a[c>>3&7])};G[4]=H[4]=function(a){R(a)};G[5]=H[5]=function(a){R(a)};G[6]=H[6]=function(a){a.O?V(a,0):a.s[0]&=-9};G[7]=H[7]=function(a){R(a)};G[8]=H[8]=function(a){R(a)};G[9]=H[9]=function(a){a.O&&V(a,0)};G[10]=H[10]=function(a){R(a)};G[11]=H[11]=function(a){R(a)};G[12]=H[12]=function(a){R(a)};G[13]=H[13]=function(a){R(a)};G[14]=H[14]=function(a){R(a)};G[15]=H[15]=function(a){R(a)}; |
| G[16]=H[16]=function(a){R(a)};G[17]=H[17]=function(a){R(a)};G[18]=H[18]=function(a){R(a)};G[19]=H[19]=function(a){R(a)};G[20]=H[20]=function(a){R(a)};G[21]=H[21]=function(a){R(a)};G[22]=H[22]=function(a){R(a)};G[23]=H[23]=function(a){R(a)};G[24]=H[24]=function(a){var c=y(a);192>c&&a.h(c)};G[25]=H[25]=function(a){R(a)};G[26]=H[26]=function(a){R(a)};G[27]=H[27]=function(a){R(a)};G[28]=H[28]=function(a){R(a)};G[29]=H[29]=function(a){R(a)};G[30]=H[30]=function(a){R(a)};G[31]=H[31]=function(a){R(a)}; |
| G[32]=H[32]=function(a){var c=y(a);a.O&&V(a,0);switch(c>>3&7){case 0:a.a[c&7]=a.s[0];break;case 2:a.a[c&7]=a.s[2];break;case 3:a.a[c&7]=a.s[3];break;case 4:a.a[c&7]=a.s[4];break;default:R(a)}};G[33]=H[33]=function(a){var c=y(a);a.O&&V(a,0);a.a[c&7]=a.pc[c>>3&7]}; |
| G[34]=H[34]=function(a){var c=y(a);a.O&&V(a,0);var d=a.a[c&7];switch(c>>3&7){case 0:a.s[0]=d;if(-2147483648===(a.s[0]&-2147483647))throw a.debug.Q("#GP handler");Sc(a);break;case 2:a.s[2]=d;break;case 3:a.s[3]=d;Vc(a);break;case 4:d&-3565568&&V(a,0);(a.s[4]^d)&128&&(d&128?Vc(a):Aa(a));a.s[4]=d;a.Gd=a.s[4]&16?128:0;if(a.s[4]&32)throw a.debug.Q("PAE");break;default:R(a)}};G[35]=H[35]=function(a){var c=y(a);a.O&&V(a,0);a.pc[c>>3&7]=a.a[c&7]};G[36]=H[36]=function(a){R(a)};G[37]=H[37]=function(a){R(a)}; |
| G[38]=H[38]=function(a){R(a)};G[39]=H[39]=function(a){R(a)};G[40]=H[40]=function(a){R(a)};G[41]=H[41]=function(a){R(a)};G[42]=H[42]=function(a){R(a)};G[43]=H[43]=function(a){R(a)};G[44]=H[44]=function(a){R(a)};G[45]=H[45]=function(a){R(a)};G[46]=H[46]=function(a){R(a)};G[47]=H[47]=function(a){R(a)};G[48]=H[48]=function(a){a.O&&V(a,0);var c=a.a[0];switch(a.a[1]){case 372:a.Hc=c&65535;break;case 374:a.Zc=c;break;case 373:a.$c=c}}; |
| G[49]=H[49]=function(a){if(a.O&&a.s[4]&4)V(a,0);else{var c=Ba()-a.Od;a.a[0]=1024*c;a.a[2]=2.384185791015625E-7*c}};G[50]=H[50]=function(a){a.O&&V(a,0);var c=0;switch(a.a[1]){case 372:c=a.Hc;break;case 374:c=a.Zc;break;case 373:c=a.$c}a.a[0]=c;a.a[2]=0};G[51]=H[51]=function(a){R(a)}; |
| G[52]=H[52]=function(a){var c=a.Hc&65532;a.ma&&0!==c||V(a,0);a.f&=-131585;a.l=a.Zc;a.a[4]=a.$c;a.N[1]=c;a.Db[1]=0;a.Ka[1]=-1;a.B[1]=0;a.Ea||yc(a,!0);a.O=0;a.Wa=-1;a.N[2]=c+8;a.Db[2]=0;a.Ka[2]=-1;a.B[2]=0;a.Eb=!0;a.u=a.a;a.D=4;a.nb=5};G[53]=H[53]=function(a){var c=a.Hc&65532;a.ma&&!a.O&&0!==c||V(a,0);a.l=a.a[2];a.a[4]=a.a[1];a.N[1]=c+16|3;a.Db[1]=0;a.Ka[1]=-1;a.B[1]=0;a.Ea||yc(a,!0);a.O=3;a.Wa=-1;a.N[2]=c+24|3;a.Db[2]=0;a.Ka[2]=-1;a.B[2]=0;a.Eb=!0;a.u=a.a;a.D=4;a.nb=5};G[54]=H[54]=function(a){R(a)}; |
| G[55]=H[55]=function(a){R(a)};G[56]=H[56]=function(a){R(a)};G[57]=H[57]=function(a){R(a)};G[58]=H[58]=function(a){R(a)};G[59]=H[59]=function(a){R(a)};G[60]=H[60]=function(a){R(a)};G[61]=H[61]=function(a){R(a)};G[62]=H[62]=function(a){R(a)};G[63]=H[63]=function(a){R(a)};G[64]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ya()&&(a.d[c>>2&14]=d)};H[64]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ya()&&(a.a[c>>3&7]=d)}; |
| G[65]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ya()||(a.d[c>>2&14]=d)};H[65]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ya()||(a.a[c>>3&7]=d)};G[66]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.La()&&(a.d[c>>2&14]=d)};H[66]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.La()&&(a.a[c>>3&7]=d)};G[67]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.La()||(a.d[c>>2&14]=d)}; |
| H[67]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.La()||(a.a[c>>3&7]=d)};G[68]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Na()&&(a.d[c>>2&14]=d)};H[68]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Na()&&(a.a[c>>3&7]=d)};G[69]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Na()||(a.d[c>>2&14]=d)};H[69]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Na()||(a.a[c>>3&7]=d)}; |
| G[70]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];cc(a)&&(a.d[c>>2&14]=d)};H[70]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];cc(a)&&(a.a[c>>3&7]=d)};G[71]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];cc(a)||(a.d[c>>2&14]=d)};H[71]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];cc(a)||(a.a[c>>3&7]=d)};G[72]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Za()&&(a.d[c>>2&14]=d)}; |
| H[72]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Za()&&(a.a[c>>3&7]=d)};G[73]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Za()||(a.d[c>>2&14]=d)};H[73]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Za()||(a.a[c>>3&7]=d)};G[74]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ma()&&(a.d[c>>2&14]=d)};H[74]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ma()&&(a.a[c>>3&7]=d)}; |
| G[75]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.Ma()||(a.d[c>>2&14]=d)};H[75]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.Ma()||(a.a[c>>3&7]=d)};G[76]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];dc(a)&&(a.d[c>>2&14]=d)};H[76]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];dc(a)&&(a.a[c>>3&7]=d)};G[77]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];dc(a)||(a.d[c>>2&14]=d)}; |
| H[77]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];dc(a)||(a.a[c>>3&7]=d)};G[78]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];ec(a)&&(a.d[c>>2&14]=d)};H[78]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];ec(a)&&(a.a[c>>3&7]=d)};G[79]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];ec(a)||(a.d[c>>2&14]=d)};H[79]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];ec(a)||(a.a[c>>3&7]=d)};G[80]=H[80]=function(a){R(a)};G[81]=H[81]=function(a){R(a)};G[82]=H[82]=function(a){R(a)}; |
| G[83]=H[83]=function(a){R(a)};G[84]=H[84]=function(a){R(a)};G[85]=H[85]=function(a){R(a)};G[86]=H[86]=function(a){R(a)};G[87]=H[87]=function(a){R(a)};G[88]=H[88]=function(a){R(a)};G[89]=H[89]=function(a){R(a)};G[90]=H[90]=function(a){R(a)};G[91]=H[91]=function(a){R(a)};G[92]=H[92]=function(a){R(a)};G[93]=H[93]=function(a){R(a)};G[94]=H[94]=function(a){R(a)};G[95]=H[95]=function(a){R(a)};G[96]=H[96]=function(a){R(a)};G[97]=H[97]=function(a){R(a)};G[98]=H[98]=function(a){R(a)};G[99]=H[99]=function(a){R(a)}; |
| G[100]=H[100]=function(a){R(a)};G[101]=H[101]=function(a){R(a)};G[102]=H[102]=function(a){R(a)};G[103]=H[103]=function(a){R(a)};G[104]=H[104]=function(a){R(a)};G[105]=H[105]=function(a){R(a)};G[106]=H[106]=function(a){R(a)};G[107]=H[107]=function(a){R(a)};G[108]=H[108]=function(a){R(a)};G[109]=H[109]=function(a){R(a)};G[110]=H[110]=function(a){R(a)};G[111]=H[111]=function(a){R(a)};G[112]=H[112]=function(a){R(a)};G[113]=H[113]=function(a){R(a)};G[114]=H[114]=function(a){R(a)};G[115]=H[115]=function(a){R(a)}; |
| G[116]=H[116]=function(a){R(a)};G[117]=H[117]=function(a){R(a)};G[118]=H[118]=function(a){R(a)};G[119]=H[119]=function(a){R(a)};G[120]=H[120]=function(a){R(a)};G[121]=H[121]=function(a){R(a)};G[122]=H[122]=function(a){R(a)};G[123]=H[123]=function(a){R(a)};G[124]=H[124]=function(a){R(a)};G[125]=H[125]=function(a){R(a)};G[126]=H[126]=function(a){R(a)};G[127]=H[127]=function(a){R(a)};G[128]=function(a){Wc(a,a.Ya())};H[128]=function(a){Xc(a,a.Ya())};G[129]=function(a){Wc(a,!a.Ya())}; |
| H[129]=function(a){Xc(a,!a.Ya())};G[130]=function(a){Wc(a,a.La())};H[130]=function(a){Xc(a,a.La())};G[131]=function(a){Wc(a,!a.La())};H[131]=function(a){Xc(a,!a.La())};G[132]=function(a){Wc(a,a.Na())};H[132]=function(a){Xc(a,a.Na())};G[133]=function(a){Wc(a,!a.Na())};H[133]=function(a){Xc(a,!a.Na())};G[134]=function(a){Wc(a,cc(a))};H[134]=function(a){Xc(a,cc(a))};G[135]=function(a){Wc(a,!cc(a))};H[135]=function(a){Xc(a,!cc(a))};G[136]=function(a){Wc(a,a.Za())};H[136]=function(a){Xc(a,a.Za())}; |
| G[137]=function(a){Wc(a,!a.Za())};H[137]=function(a){Xc(a,!a.Za())};G[138]=function(a){Wc(a,a.Ma())};H[138]=function(a){Xc(a,a.Ma())};G[139]=function(a){Wc(a,!a.Ma())};H[139]=function(a){Xc(a,!a.Ma())};G[140]=function(a){Wc(a,dc(a))};H[140]=function(a){Xc(a,dc(a))};G[141]=function(a){Wc(a,!dc(a))};H[141]=function(a){Xc(a,!dc(a))};G[142]=function(a){Wc(a,ec(a))};H[142]=function(a){Xc(a,ec(a))};G[143]=function(a){Wc(a,!ec(a))};H[143]=function(a){Xc(a,!ec(a))}; |
| G[144]=H[144]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Ya()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[145]=H[145]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Ya()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[146]=H[146]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.La()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[147]=H[147]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.La()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f}; |
| G[148]=H[148]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Na()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[149]=H[149]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Na()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[150]=H[150]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!cc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[151]=H[151]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!cc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f}; |
| G[152]=H[152]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Za()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[153]=H[153]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Za()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[154]=H[154]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!a.Ma()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[155]=H[155]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!a.Ma()^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f}; |
| G[156]=H[156]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!dc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[157]=H[157]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!dc(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[158]=H[158]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!ec(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[159]=H[159]=function(a){var c=y(a);if(192>c)var d=a.h(c);var f=!!ec(a)^1;192>c?Rb(a,d,f):a.k[c<<2&12|c>>2&1]=f};G[160]=function(a){L(a,a.N[4])}; |
| H[160]=function(a){M(a,a.N[4])};G[161]=function(a){N(a,4,J(a,Kb(a,0)));a.u[a.D]+=2};H[161]=function(a){N(a,4,J(a,Kb(a,0)));a.u[a.D]+=4}; |
| G[162]=H[162]=function(a){var c=0,d=0,f=0,g=0;switch(a.a[0]){case 0:c=5;g=1970169159;f=1231384169;d=1818588270;break;case 1:c=3939;g=0;d=1082130432;f=(a.ra?1:0)|43322;break;case 2:c=1717260289;d=g=0;f=8024064;break;case 4:switch(a.a[1]){case 0:c=289;g=29360191;d=63;f=1;break;case 1:c=290;g=29360191;d=63;f=1;break;case 2:c=323,g=96469055,d=4095,f=1}break;case -2147483648:c=5}a.a[0]=c;a.a[1]=d;a.a[2]=f;a.a[3]=g}; |
| G[163]=function(a){var c=y(a);192>c?vb(a,a.h(c),a.na[c>>2&14]):rb(a,a.d[c<<1&14],a.d[c>>2&14]&15)};H[163]=function(a){var c=y(a);192>c?vb(a,a.h(c),a.a[c>>3&7]):rb(a,a.a[c&7],a.a[c>>3&7]&31)};G[164]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=pb(a,d,a.d[c>>2&14],y(a)&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| H[164]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=qb(a,d,a.a[c>>3&7],y(a)&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[165]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=pb(a,d,a.d[c>>2&14],a.k[4]&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| H[165]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=qb(a,d,a.a[c>>3&7],a.k[4]&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[166]=H[166]=function(a){R(a)};G[167]=H[167]=function(a){R(a)};G[168]=function(a){L(a,a.N[5])};H[168]=function(a){M(a,a.N[5])};G[169]=function(a){N(a,5,J(a,Kb(a,0)));a.u[a.D]+=2};H[169]=function(a){N(a,5,J(a,Kb(a,0)));a.u[a.D]+=4};G[170]=H[170]=function(a){R(a)}; |
| G[171]=function(a){var c=y(a);192>c?Cb(a,a.h(c),a.na[c>>2&14]):a.d[c<<1&14]=tb(a,a.d[c<<1&14],a.na[c>>2&14]&15)};H[171]=function(a){var c=y(a);192>c?Cb(a,a.h(c),a.a[c>>3&7]):a.a[c&7]=tb(a,a.a[c&7],a.a[c>>3&7]&31)};G[172]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=nb(a,d,a.d[c>>2&14],y(a)&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| H[172]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=ob(a,d,a.a[c>>3&7],y(a)&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[173]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];d=nb(a,d,a.d[c>>2&14],a.k[4]&31);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d}; |
| H[173]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];d=ob(a,d,a.a[c>>3&7],a.k[4]&31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[174]=H[174]=function(a){switch(y(a)>>3&7){case 6:break;default:R(a)}};G[175]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.d[c>>2&14]=Ja(a,a.na[c>>2&14],d)};H[175]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Ka(a,a.a[c>>3&7],d)}; |
| G[176]=H[176]=function(a){var c=y(a);if(192>c){var d=a.h(c);ic(a,d,1);var f=B(a,d)}else f=a.k[c<<2&12|c>>2&1];a.sub(a.k[0],f,7);a.ub()?192>c?Rb(a,d,a.k[c>>1&12|c>>5&1]):a.k[c<<2&12|c>>2&1]=a.k[c>>1&12|c>>5&1]:a.k[0]=f};G[177]=function(a){var c=y(a);if(192>c){var d=a.h(c);ic(a,d,2);var f=J(a,d)}else f=a.d[c<<1&14];a.sub(a.d[0],f,15);a.ub()?192>c?S(a,d,a.d[c>>2&14]):a.d[c<<1&14]=a.d[c>>2&14]:a.d[0]=f}; |
| H[177]=function(a){var c=y(a);if(192>c){var d=a.h(c);ic(a,d,4);var f=K(a,d)}else f=a.a[c&7];a.sub(a.a[0],f,31);a.ub()?192>c?T(a,d,a.a[c>>3&7]):a.a[c&7]=a.a[c>>3&7]:a.a[0]=f};G[178]=function(a){var c=y(a);192<=c&&R(a);rc(a,2,a.h(c),c>>2&14)};H[178]=function(a){var c=y(a);192<=c&&R(a);wc(a,2,a.h(c),c>>3&7)};G[179]=function(a){var c=y(a);192>c?xb(a,a.h(c),a.na[c>>2&14]):a.d[c<<1&14]=ub(a,a.d[c<<1&14],a.na[c>>2&14]&15)}; |
| H[179]=function(a){var c=y(a);192>c?xb(a,a.h(c),a.a[c>>3&7]):a.a[c&7]=ub(a,a.a[c&7],a.a[c>>3&7]&31)};G[180]=function(a){var c=y(a);192<=c&&R(a);rc(a,4,a.h(c),c>>2&14)};H[180]=function(a){var c=y(a);192<=c&&R(a);wc(a,4,a.h(c),c>>3&7)};G[181]=function(a){var c=y(a);192<=c&&R(a);rc(a,5,a.h(c),c>>2&14)};H[181]=function(a){var c=y(a);192<=c&&R(a);wc(a,5,a.h(c),c>>3&7)};G[182]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.d[c>>2&14]=d}; |
| H[182]=function(a){var c=y(a),d=192>c?B(a,a.h(c)):a.k[c<<2&12|c>>2&1];a.a[c>>3&7]=d};G[183]=H[183]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.a[c>>3&7]=d};G[184]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14];a.d[c>>2&14]=Db(a,d)};H[184]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7];a.a[c>>3&7]=Db(a,d)};G[185]=H[185]=function(a){R(a)}; |
| G[186]=function(a){var c=y(a);switch(c>>3&7){case 4:192>c?vb(a,a.h(c),y(a)&15):rb(a,a.d[c<<1&14],y(a)&15);break;case 5:192>c?Cb(a,a.h(c),y(a)&15):a.d[c<<1&14]=tb(a,a.d[c<<1&14],y(a)&15);break;case 6:192>c?xb(a,a.h(c),y(a)&15):a.d[c<<1&14]=ub(a,a.d[c<<1&14],y(a)&15);break;case 7:192>c?wb(a,a.h(c),y(a)&15):a.d[c<<1&14]=sb(a,a.d[c<<1&14],y(a)&15);break;default:R(a)}}; |
| H[186]=function(a){var c=y(a);switch(c>>3&7){case 4:192>c?vb(a,a.h(c),y(a)&31):rb(a,a.a[c&7],y(a)&31);break;case 5:192>c?Cb(a,a.h(c),y(a)&31):a.a[c&7]=tb(a,a.a[c&7],y(a)&31);break;case 6:192>c?xb(a,a.h(c),y(a)&31):a.a[c&7]=ub(a,a.a[c&7],y(a)&31);break;case 7:192>c?wb(a,a.h(c),y(a)&31):a.a[c&7]=sb(a,a.a[c&7],y(a)&31);break;default:R(a)}};G[187]=function(a){var c=y(a);192>c?wb(a,a.h(c),a.na[c>>2&14]):a.d[c<<1&14]=sb(a,a.d[c<<1&14],a.na[c>>2&14]&15)}; |
| H[187]=function(a){var c=y(a);192>c?wb(a,a.h(c),a.a[c>>3&7]):a.a[c&7]=sb(a,a.a[c&7],a.a[c>>3&7]&31)};G[188]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14],f=a.d;var g=a.d[c>>2&14];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc(-d&d));f[c>>2&14]=a};H[188]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc((-d&d)>>>0));f[c>>3&7]=a}; |
| G[189]=function(a){var c=y(a),d=192>c?J(a,a.h(c)):a.d[c<<1&14],f=a.d;var g=a.d[c>>2&14];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc(d));f[c>>2&14]=a};H[189]=function(a){var c=y(a),d=192>c?K(a,a.h(c)):a.a[c&7],f=a.a;var g=a.a[c>>3&7];a.n=0;0===d?(a.f|=64,a=g):(a.f&=-65,a=Yc(d>>>0));f[c>>3&7]=a};G[190]=function(a){var c=y(a),d=192>c?B(a,a.h(c))<<24>>24:a.Bb[c<<2&12|c>>2&1];a.d[c>>2&14]=d};H[190]=function(a){var c=y(a),d=192>c?B(a,a.h(c))<<24>>24:a.Bb[c<<2&12|c>>2&1];a.a[c>>3&7]=d}; |
| G[191]=H[191]=function(a){var c=y(a),d=192>c?J(a,a.h(c))<<16>>16:a.na[c<<1&14];a.a[c>>3&7]=d};G[192]=H[192]=function(a){var c=y(a),d,f;192>c?(f=C(a,a.h(c)),d=a.memory.M(f)):d=a.k[c<<2&12|c>>2&1];var g=c>>1&12|c>>5&1,h=a.k[g];a.k[g]=d;d=a.add(d,h,7);192>c?a.memory.T(f,d):a.k[c<<2&12|c>>2&1]=d}; |
| G[193]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4095===(d&4095)?(g=C(a,d+1),d=Gb(a,f,g)):d=a.memory.L(f)):d=a.d[c<<1&14];var h=c>>2&14,k=a.d[h];a.d[h]=d;d=a.add(d,k,15);192>c?g?Hb(a,f,g,d):a.memory.ca(f,d):a.d[c<<1&14]=d};H[193]=function(a){var c=y(a),d,f,g=0;192>c?(d=a.h(c),f=C(a,d),a.w&&4093<=(d&4095)?(g=C(a,d+3),d=Ib(a,f,g)):d=I(a.memory,f)):d=a.a[c&7];var h=c>>3&7,k=a.a[h];a.a[h]=d;d=a.add(d,k,31);192>c?g?Jb(a,f,g,d):a.memory.da(f,d):a.a[c&7]=d};G[194]=H[194]=function(a){R(a)}; |
| G[195]=H[195]=function(a){R(a)};G[196]=H[196]=function(a){R(a)};G[197]=H[197]=function(a){R(a)};G[198]=H[198]=function(a){R(a)}; |
| G[199]=H[199]=function(a){var c=y(a);switch(c>>3&7){case 1:192<=c&&R(a);var d=a.h(c);ic(a,d,8);var c=K(a,d),f=K(a,d+4);a.a[0]===c&&a.a[2]===f?(a.f|=64,T(a,d,a.a[3]),T(a,d+4,a.a[1])):(a.f&=-65,a.a[0]=c,a.a[2]=f);a.n&=-65;break;case 6:var g=(f=Zc())?$c():0;a.Qa?(192>c&&(d=a.h(c)),192>c?T(a,d,g):a.eb[c&7]=g):(192>c&&(d=a.h(c)),192>c?S(a,d,g):a.d[c<<1&14]=g);a.f&=-2262;a.f|=f;a.n=0;break;default:R(a)}};G[200]=H[200]=function(a){ad(a,0)};G[201]=H[201]=function(a){ad(a,1)}; |
| G[202]=H[202]=function(a){ad(a,2)};G[203]=H[203]=function(a){ad(a,3)};G[204]=H[204]=function(a){ad(a,4)};G[205]=H[205]=function(a){ad(a,5)};G[206]=H[206]=function(a){ad(a,6)};G[207]=H[207]=function(a){ad(a,7)};G[208]=H[208]=function(a){R(a)};G[209]=H[209]=function(a){R(a)};G[210]=H[210]=function(a){R(a)};G[211]=H[211]=function(a){R(a)};G[212]=H[212]=function(a){R(a)};G[213]=H[213]=function(a){R(a)};G[214]=H[214]=function(a){R(a)};G[215]=H[215]=function(a){R(a)};G[216]=H[216]=function(a){R(a)}; |
| G[217]=H[217]=function(a){R(a)};G[218]=H[218]=function(a){R(a)};G[219]=H[219]=function(a){R(a)};G[220]=H[220]=function(a){R(a)};G[221]=H[221]=function(a){R(a)};G[222]=H[222]=function(a){R(a)};G[223]=H[223]=function(a){R(a)};G[224]=H[224]=function(a){R(a)};G[225]=H[225]=function(a){R(a)};G[226]=H[226]=function(a){R(a)};G[227]=H[227]=function(a){R(a)};G[228]=H[228]=function(a){R(a)};G[229]=H[229]=function(a){R(a)};G[230]=H[230]=function(a){R(a)};G[231]=H[231]=function(a){R(a)};G[232]=H[232]=function(a){R(a)}; |
| G[233]=H[233]=function(a){R(a)};G[234]=H[234]=function(a){R(a)};G[235]=H[235]=function(a){R(a)};G[236]=H[236]=function(a){R(a)};G[237]=H[237]=function(a){R(a)};G[238]=H[238]=function(a){R(a)};G[239]=H[239]=function(a){R(a)};G[240]=H[240]=function(a){R(a)};G[241]=H[241]=function(a){R(a)};G[242]=H[242]=function(a){R(a)};G[243]=H[243]=function(a){R(a)};G[244]=H[244]=function(a){R(a)};G[245]=H[245]=function(a){R(a)};G[246]=H[246]=function(a){R(a)};G[247]=H[247]=function(a){R(a)};G[248]=H[248]=function(a){R(a)}; |
| G[249]=H[249]=function(a){R(a)};G[250]=H[250]=function(a){R(a)};G[251]=H[251]=function(a){R(a)};G[252]=H[252]=function(a){R(a)};G[253]=H[253]=function(a){R(a)};G[254]=H[254]=function(a){R(a)};G[255]=H[255]=function(a){R(a)};"use strict";function Qc(a,c){var d=a.B[1];a.l-=d;a.l=a.l+c&65535;a.l=a.l+d|0;a.K=!0}function Wc(a,c){c?Qc(a,u(a)):a.l=a.l+2|0;a.K=!0}function Xc(a,c){if(c){var d=w(a);a.l=a.l+d|0}else a.l=a.l+4|0;a.K=!0}l=q.prototype; |
| l.loop=function(){if(--this.i[this.G]){var a=t(this);this.l=this.l+a|0}else this.l++;this.K=!0};l.ta=function(){return this.n&1?(this.Fa^(this.Fa^this.Ga)&(this.Ga^this.j))>>>this.Z&1:this.f&1};l.ke=function(){return this.n&4?154020>>((this.C^this.C>>4)&15)&4:this.f&4};function Mb(a){return a.n&16?(a.Fa^a.Ga^a.j)&16:a.f&16}l.ub=function(){return this.n&64?(~this.C&this.C-1)>>>this.Z&1:this.f&64};l.Rc=function(){return this.n&128?this.C>>>this.Z&1:this.f&128}; |
| l.rc=function(){return this.n&2048?((this.Fa^this.j)&(this.Ga^this.j))>>>this.Z&1:this.f&2048};l.Ya=q.prototype.rc;l.La=q.prototype.ta;l.Na=q.prototype.ub;l.Za=q.prototype.Rc;l.Ma=q.prototype.ke;function cc(a){return a.ta()||a.ub()}function dc(a){return!a.Rc()!==!a.rc()}function ec(a){return a.ub()||!a.Rc()!==!a.rc()}function L(a,c){var d=Kb(a,-2);S(a,d,c);a.u[a.D]-=2}function M(a,c){var d=Kb(a,-4);T(a,d,c);a.u[a.D]-=4}function Nb(a){var c=J(a,a.B[2]+a.u[a.D]|0);a.u[a.D]+=2;return c} |
| function P(a){var c=K(a,a.B[2]+a.u[a.D]|0);a.u[a.D]+=4;return c}function gc(a,c){var d=a.d[0];a.d[0]=a.d[c];a.d[c]=d}function hc(a,c){var d=a.a[0];a.a[0]=a.a[c];a.a[c]=d}function rc(a,c,d,f){var g=J(a,d);d=J(a,d+2|0);N(a,c,d);a.d[f]=g}function wc(a,c,d,f){var g=K(a,d);d=J(a,d+4|0);N(a,c,d);a.a[f]=g}function ad(a,c){var d=a.a[c];a.a[c]=d>>>24|d<<24|d>>8&65280|d<<8&16711680} |
| l.ee=function(a){if(233495534===a)this.q=!1,this.V=0,this.ha=-1,this.sb=this.Ea,ya(this),this.Qa=this.Ea,za(this);else throw console.log(a),console.log(a.stack),a;}; |
| l.reset=function(){this.Db=new Uint8Array(8);this.Ka=new Uint32Array(8);this.B=new Int32Array(8);Aa(this);this.a=new Int32Array(8);this.eb=new Uint32Array(this.a.buffer);this.na=new Int16Array(this.a.buffer);this.d=new Uint16Array(this.a.buffer);this.Bb=new Int8Array(this.a.buffer);this.k=new Uint8Array(this.a.buffer);this.N=new Uint16Array(8);this.pc=new Int32Array(8);this.ma=!1;this.bc=this.Qc=this.cc=this.Sc=0;this.q=!1;this.s[0]=1610612752;this.s[2]=0;this.s[3]=0;this.s[4]=0;this.pc[6]=-61456; |
| this.pc[7]=1024;this.O=0;this.w=!1;this.Gd=0;this.sb=this.Eb=this.Qa=this.Ea=!1;this.Wa=-1;za(this);ya(this);this.u=this.d;this.D=8;this.nb=10;this.W=this.P=0;this.sc=!1;this.Zc=this.$c=this.Hc=0;this.ha=-1;this.V=0;this.f=2;this.Z=this.Ga=this.Fa=this.j=this.C=this.n=0;this.Od=Ba();this.l=1048560;N(this,2,48);this.d[8]=256;this.I.We&&this.I.We.reset()}; |
| l.Ua=function(a,c){this.mb=a.mb||67108864;this.memory=new bd(this.mb);this.reset();var d=new cd(this.memory);this.p=d;this.Kb.ue=a.Kb;this.Kb.Wb=a.Cg;dd(this);var f=0;X(d,146,this,function(){return f});Y(d,146,this,function(a){f=a});this.I={};a.yf&&(this.I.S=new ed(this),this.I.Sa=new fd(this),gd(this,a),this.I.Vc=new hd(this),this.I.oc=new id(this),this.I.Jg=new jd,this.I.Wb=new ld(this,c,a.pa||8388608),this.ra=new md(this),this.I.Hd=new nd(this,c),this.I.hh=new od(this,1016,c),this.I.Tg=new pd(this, |
| a.Ba,a.fe),a.sa&&(this.I.sa=new qd(this,a.sa,!0,1,c)),a.Da&&(this.I.Da=new qd(this,a.Da,!1,0,c)),this.I.Be=new rd(this),a.rf&&(this.I.bh=new sd(this,c)),a.xb&&(this.I.We=new td(this,c,a.xb)))};function gd(a,c){var d=c.bf||531;a.I.Sa.Ta[56]=1|d>>4&240;a.I.Sa.Ta[61]=d&255;d=a.mb-16777216;a.I.Sa.Ta[52]=d>>16&255;a.I.Sa.Ta[53]=d>>24&255;a.I.Sa.Ta[91]=0;a.I.Sa.Ta[92]=0;a.I.Sa.Ta[93]=0;a.I.Sa.Ta[20]=45} |
| function dd(a){var c=a.Kb.ue,d=a.Kb.Wb;if(c){var f=new Uint8Array(c);a.memory.b.set(f,1048576-c.byteLength);d&&(f=new Uint8Array(d),a.memory.b.set(f,786432));ud(a.p,4293918720,1048576,function(a){return this.memory.b[a&1048575]}.bind(a),function(a,c){this.memory.b[a&1048575]=c}.bind(a))}}l.de=function(){for(var a=Date.now(),c=a;33>c-a;){this.I.Be.hb(c,!1);this.I.Sa.hb(c,!1);oc(this);for(c=11001;c--;)Rc(this);c=Date.now()}}; |
| "undefined"!==typeof window&&(window.b=q.prototype.de,window.e=q.prototype.ee,window.j=q.prototype.F);function Rc(a){a.P++;a.W=a.l;var c=y(a);a.table[c](a)}function Lb(a){a.table[y(a)](a)}q.prototype.F=function(){var a,c;a=Date.now();c=this.I.Be.hb(a,!1);a=this.I.Sa.hb(a,!1);return this.sc?Math.ceil(Math.min(100,c,a)):0};function Sc(a){var c=-2147483648===(a.s[0]&-2147483648);a.ra||(a.s[0]|=4);a.s[0]|=16;c!==a.w&&(a.w=c,Aa(a))} |
| function y(a){a.l&-4096^a.Wa&&(a.v=Q(a,a.l)^a.l,a.Wa=a.l&-4096);var c=a.memory.b[a.v^a.l]|0;a.l=a.l+1|0;return c}function t(a){return y(a)<<24>>24}function u(a){if(4094<(a.l^a.Wa)>>>0)return y(a)|y(a)<<8;var c=a.memory.L(a.v^a.l);a.l=a.l+2|0;return c}function w(a){if(4092<(a.l^a.Wa)>>>0)return u(a)|u(a)<<16;var c=I(a.memory,a.v^a.l);a.l=a.l+4|0;return c}function Gb(a,c,d){return a.memory.M(c)|a.memory.M(d)<<8} |
| function Ib(a,c,d){var f;f=c&1?c&2?$b(a.memory,d-2>>1):$b(a.memory,c+1>>1):Gb(a,c+1,d-1);return a.memory.M(c)|f<<8|a.memory.M(d)<<24}function Hb(a,c,d,f){a.memory.T(c,f);a.memory.T(d,f>>8)}function Jb(a,c,d,f){a.memory.T(c,f);a.memory.T(d,f>>24);c&1?c&2?(a.memory.T(d-2,f>>8),a.memory.T(d-1,f>>16)):(a.memory.T(c+1,f>>8),a.memory.T(c+2,f>>16)):(a.memory.T(c+1,f>>8),a.memory.T(d-1,f>>16))}function B(a,c){return a.memory.M(Q(a,c))} |
| function J(a,c){return a.w&&4095===(c&4095)?B(a,c)|B(a,c+1)<<8:a.memory.L(Q(a,c))}function K(a,c){return a.w&&4093<=(c&4095)?J(a,c)|J(a,c+2)<<16:I(a.memory,Q(a,c))}function Rb(a,c,d){a.memory.T(C(a,c),d)}function S(a,c,d){var f=C(a,c);4095===(c&4095)?Hb(a,f,C(a,c+1),d):a.memory.ca(f,d)}function T(a,c,d){var f=C(a,c);4093<=(c&4095)?Jb(a,f,C(a,c+3),d):a.memory.da(f,d)}function pc(a){return a.sb?Xb(a,3)+w(a)|0:Xb(a,3)+u(a)|0}function lc(a){return a.f>>12&3}function Ob(a){return!!(a.f&131072)} |
| function mc(a){a.f=a.f&-2262|!!a.ta()|!!a.ke()<<2|!!Mb(a)<<4|!!a.ub()<<6|!!a.Rc()<<7|!!a.rc()<<11;a.n=0}function nc(a,c){var d=1769472,f=2588629;a.f&131072?(d|=12288,f|=1572864):a.O&&(d|=12288,a.O>lc(a)&&(d|=512));a.f=(c^(a.f^c)&d)&f|2;a.n=0}function Kb(a,c){return a.Eb?a.B[2]+a.u[a.D]+c|0:a.B[2]+(a.u[a.D]+c&65535)|0}function jc(a){return a.l-a.B[1]|0} |
| function xc(a,c,d,f){a.sc=!1;if(a.ma){if(Ob(a)&&a.s[4]&1)throw a.debug.Q("VME");Ob(a)&&d&&3>lc(a)&&V(a,0);if((c<<3|7)>a.Sc)throw a.debug.Q("#GP handler");var g=a.cc+(c<<3)|0;a.w&&(g=vd(a,g));var h=a.memory.L(g)|a.memory.L(g+6)<<16,k=a.memory.L(g+2),m=a.memory.M(g+5),p=m>>5&3,g=!1;if(0===(m&128))throw a.debug.Q("#NP handler");d&&p<a.O&&V(a,c<<3|2);m&=31;if(14===m)g=c=!1;else if(15===m)c=!0,g=!1;else{if(5===m)throw a.debug.Q("call int to task gate");if(6===m)throw a.debug.Q("16 bit interrupt gate"); |
| if(7===m)g=c=!0;else throw a.debug.Q("#GP handler");}d=zc(a,k);if(d.kb)throw a.debug.Q("#GP handler");if(!d.Pb||d.ya>a.O)throw a.debug.Q("#GP handler");if(!d.vb)throw a.debug.Q("#NP handler");mc(a);m=a.f;if(!d.Lb&&d.ya<a.O){var x=(d.ya<<3)+4;if(x+5>a.Ka[6])throw a.debug.Q("#TS handler");x=x+a.B[6]|0;a.w&&(x=vd(a,x));var p=I(a.memory,x),x=a.memory.L(x+4),A=zc(a,x);if(A.kb)throw a.debug.Q("#TS handler");if(A.Cb!==d.ya)throw a.debug.Q("#TS handler");if(A.ya!==d.ya||!A.Yc)throw a.debug.Q("#TS handler"); |
| if(!A.vb)throw a.debug.Q("#TS handler");var A=a.a[4],D=a.N[2];a.O=d.ya;a.Wa=-1;a.Ea!==d.size&&yc(a,d.size);a.f&=-196609;N(a,2,x);a.u[a.D]=p;m&131072?g?(ic(a,Kb(a,-20),20),L(a,a.N[5]),L(a,a.N[4]),L(a,a.N[3]),L(a,a.N[0])):(ic(a,Kb(a,-40),40),M(a,a.N[5]),M(a,a.N[4]),M(a,a.N[3]),M(a,a.N[0])):g?ic(a,Kb(a,-12),12):ic(a,Kb(a,-24),24);g?(L(a,D),L(a,A)):(M(a,D),M(a,A))}else if(d.Lb||d.ya===a.O)g?ic(a,Kb(a,-8),8):ic(a,Kb(a,-16),16),a.f&131072&&V(a,k&-4);else throw a.debug.Q("#GP handler");g?(L(a,m),L(a,a.N[1]), |
| L(a,jc(a)),!1!==f&&L(a,f),h&=65535):(M(a,m),M(a,a.N[1]),M(a,jc(a)),!1!==f&&M(a,f));m&131072&&(N(a,5,0),N(a,4,0),N(a,3,0),N(a,0,0));a.N[1]=k&-4|a.O;a.Ea!==d.size&&yc(a,d.size);a.Ka[1]=d.Mb;a.B[1]=d.Zb;a.l=a.B[1]+h|0;c||(a.f&=-513)}else ic(a,Kb(a,-6),6),h=c<<2,f=a.memory.L(h),h=a.memory.L(h+2),mc(a),L(a,a.f),L(a,a.N[1]),L(a,jc(a)),a.f&=-513,N(a,1,h),a.l=a.B[1]+f|0;a.K=!0}function Ac(a){a.l=a.W;xc(a,0,!1,!1);throw 233495534;}function R(a){a.l=a.W;xc(a,6,!1,!1);throw 233495534;} |
| function kc(a){a.l=a.W;xc(a,7,!1,!1);throw 233495534;}function V(a,c){a.l=a.W;xc(a,13,!1,c);throw 233495534;}function r(a){return Xb(a,3)}function v(a){return Xb(a,2)}function Xb(a,c){return-1===a.ha?a.B[c]:9===a.ha?0:a.B[a.ha]}function oc(a){a.I.S&&a.f&512&&!a.q&&a.I.S.Nc()} |
| function Pb(a,c,d){if(a.ma&&(a.O>lc(a)||a.f&131072)){var f=a.Ka[6],g=a.B[6];if(103<=f){var h=a.memory.L(vd(a,g+100+2));if(f>=h+(c+d-1>>3)&&(d=(1<<d)-1<<(c&7),c=vd(a,g+h+(c>>3)),!((d&65280?a.memory.L(c):a.memory.M(c))&d)))return}V(a,0)}}function yc(a,c){a.Ea=a.Qa=a.sb=c;za(a);ya(a)}function za(a){a.table=a.Qa?a.Md:a.Ld}function ya(a){a.sb?(a.i=a.a,a.G=1,a.A=6,a.o=7):(a.i=a.d,a.G=2,a.A=12,a.o=14)} |
| function zc(a,c){var d=0===(c&4),f=c&-8,g,h;g={Cb:c&3,ie:d,kb:!1,uc:!0,Zb:0,rb:0,f:0,type:0,ya:0,dc:!1,vb:!1,Pb:!1,Yc:!1,Lb:!1,size:!1,Mb:0,re:!1,pe:!1,Nd:0};d?(d=a.bc,h=a.Qc):(d=a.B[7],h=a.Ka[7]);if(0===f)return g.kb=!0,g;if((c|7)>h)return g.uc=!1,g;d=d+f|0;a.w&&(d=vd(a,d));g.Nd=d;g.Zb=a.memory.L(d+2)|a.memory.M(d+4)<<16|a.memory.M(d+7)<<24;g.rb=a.memory.M(d+5);g.f=a.memory.M(d+6)>>4;g.type=g.rb&15;g.ya=g.rb>>5&3;g.dc=0===(g.rb&16);g.vb=128===(g.rb&128);g.Pb=8===(g.rb&8);g.Yc=2===(g.rb&2);g.Lb=4=== |
| (g.rb&4);g.size=4===(g.f&4);f=a.memory.L(d)|(a.memory.M(d+6)&15)<<16;g.Mb=g.f&8?(f<<12|4095)>>>0:f;g.re=g.Yc&&!g.Pb;g.pe=g.Yc||!g.Pb;return g} |
| function N(a,c,d){1===c&&(a.ma=1===(a.s[0]&1));if(!a.ma||Ob(a))a.N[c]=d,a.Db[c]=0,a.B[c]=d<<4,2===c&&a.Eb&&(a.Eb=!1,a.u=a.d,a.D=8,a.nb=10);else{var f=zc(a,d);if(2===c){if(f.kb){V(a,0);return}if(!f.uc||f.dc||f.Cb!==a.O||!f.re||f.ya!==a.O){V(a,d&-4);return}if(!f.vb)throw a.l=a.W,xc(a,12,!1,d&-4),233495534;(a.Eb=f.size)?(a.u=a.a,a.D=4,a.nb=5):(a.u=a.d,a.D=8,a.nb=10)}else if(1===c){if(!f.Pb)throw a.debug.Q("#GP handler");if(f.dc)throw a.debug.Q("load system segment descriptor, type = "+(f.rb&15));if(f.Cb!== |
| a.O)throw a.debug.Q("privilege change");if(!f.Lb&&f.ya<a.O)throw a.debug.Q("inter privilege call");if(!f.Lb&&f.ya!==a.O)throw a.debug.Q("#GP handler");f.size!==a.Ea&&yc(a,f.size)}else{if(f.kb){a.N[c]=d;a.Db[c]=1;return}if(!f.uc||f.dc||!f.pe||(!f.Pb||!f.Lb)&&f.Cb>f.ya&&a.O>f.ya){V(a,d&-4);return}if(!f.vb)throw a.l=a.W,xc(a,11,!1,d&-4),233495534;}a.Db[c]=0;a.Ka[c]=f.Mb;a.B[c]=f.Zb;a.N[c]=d}} |
| function Tc(a,c,d){c=zc(a,c);a.n&=-65;if(c.kb||!c.uc||58817>>c.type&1)return a.f&=-65,d;a.f|=64;return c.type<<8|c.size<<12|c.ya<<13|c.vb<<15|c.f<<20}function Uc(a,c,d){c=zc(a,c);a.n&=-65;if(c.kb||!c.uc||62833>>c.type&1)return a.f&=-65,d;a.f|=64;return c.Mb|0}function Vc(a){a.Wa=-1;a.ib.set(a.kc)}function Aa(a){for(var c=new Int32Array(a.kc.buffer),d=0;262144>d;)c[d++]=c[d++]=c[d++]=c[d++]=0;Vc(a)} |
| function Q(a,c){var d;a.w?3===a.O?(d=c>>>12,d=a.ib[d]&4?a.m[d]^c:wd(a,c,0,1)|c&4095):d=vd(a,c):d=c;return d}function C(a,c){var d;a.w?3===a.O?(d=c>>>12,d=a.ib[d]&8?a.m[d]^c:wd(a,c,1,1)|c&4095):(d=c>>>12,d=a.ib[d]&2?a.m[d]^c:wd(a,c,1,0)|c&4095):d=c;return d}function vd(a,c){var d=c>>>12;return a.ib[d]&1?a.m[d]^c:wd(a,c,0,0)|c&4095} |
| function wd(a,c,d,f){var g=c>>>12,h=(a.s[3]>>>2)+(g>>10),k=a.memory.lb[h],m=!0,p=!0;k&1||(a.s[2]=c,xd(a,d,f,0));0===(k&2)&&(m=!1,d&&(f||a.s[0]&65536)&&(a.s[2]=c,xd(a,d,f,1)));0===(k&4)&&(p=!1,f&&(a.s[2]=c,xd(a,d,f,1)));if(k&a.Gd)a.memory.lb[h]=k|32|d<<6,c=k&4290772992|c&4190208,k=k&256;else{var x=((k&4294963200)>>>2)+(g&1023),A=a.memory.lb[x];0===(A&1)&&(a.s[2]=c,xd(a,d,f,0));0===(A&2)&&(m=!1,d&&(f||a.s[0]&65536)&&(a.s[2]=c,xd(a,d,f,1)));0===(A&4)&&(p=!1,f&&(a.s[2]=c,xd(a,d,f,1)));a.memory.lb[h]= |
| k|32;a.memory.lb[x]=A|32|d<<6;c=A&4294963200;k=A&256}a.m[g]=c^g<<12;m=p?m?15:5:m?3:1;a.ib[g]=m;k&&a.s[4]&128&&(a.kc[g]=m);return c}function ic(a,c,d){if(a.w){var f=3===a.O?1:0,g=f?8:2,h=c>>>12;0===(a.ib[h]&g)&&wd(a,c,1,f);4096<=(c&4095)+d-1&&0===(a.ib[h+1]&g)&&wd(a,c+d-1,1,f)}}function xd(a,c,d,f){if(a.q)throw a.debug.Q("Double fault");var g=a.s[2]>>>12;a.ib[g]=0;a.kc[g]=0;a.l=a.W;a.q=!0;xc(a,14,!1,d<<2|c<<1|f);throw 233495534;};(function(){function a(a,c){var d=new Blob([a]),f=document.createElement("a");f.download=c;f.href=window.URL.createObjectURL(d);f.dataset.downloadurl=["application/octet-stream",f.download,f.href].join(":");document.createEvent?(d=document.createEvent("MouseEvent"),d.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),f.dispatchEvent(d)):f.click()}function c(){for(var a=location.search.substr(1).split("&"),c={},d=0;d<a.length;d++){var f=a[d].split("=");c[f[0]]=decodeURIComponent(f[1])}return c} |
| function d(a,c){for(var d="";0<c--;)d+=a;return d}function f(a){return document.getElementById(a)}function g(){function a(c){f("boot_options").style.display="none";document.title=c.name+" - Virtual x86";g.filesystem=c.filesystem;c.state&&(f("reset").style.display="none",g.tc=c.state);g.Ba=c.Ba;g.sa=c.sa;c.Da?g.Da=c.Da:c.Mc&&(g.Da={url:c.Mc.url,size:c.Mc.size,async:!0});g.mb=c.mb;g.pa=c.pa;h({Jd:g,done:d})}function d(a){a.ic();m.c&&a.Re(m.c+"\n")}if("responseType"in new XMLHttpRequest){var g={};f("start_emulation").onclick= |
| function(){f("boot_options").style.display="none";x("custom");var a,c=f("floppy_image").files[0];c&&(a=c,g.Ba={buffer:c});if(c=f("cd_image").files[0])a=c,g.sa={buffer:c};if(c=f("hd_image").files[0])a=c,g.Da={buffer:c};a&&(document.title=a.name+" - Virtual x86");h({Jd:g,done:function(a){a.ic()}})};for(var k=[{id:"archlinux",state:{url:A?"http://localhost/v86-images/v86state.bin":"http://104.131.53.7:8086/v86state.bin",size:142924774},name:"Arch Linux",mb:134217728,pa:8388608,Mc:{url:"http://104.131.53.7:8086/arch3.img", |
| size:17179869184},filesystem:{basefs:{url:A?"http://localhost/v86-images/fs.json":"http://104.131.53.7:8086/fs.json",size:7510249},baseurl:A?"http://localhost/v86-images/arch/":"http://104.131.53.7:8086/arch/"}},{id:"archlinux2",name:"Arch Linux",mb:134217728,pa:8388608,Mc:{url:"http://localhost/v86-images/arch3.img",size:17179869184},filesystem:{basefs:{url:"http://localhost/v86-images/fs.json",size:7510249},baseurl:"http://localhost/v86-images/arch/"}},{id:"freedos",Ba:{url:"images/freedos722.img", |
| size:737280},name:"FreeDOS"},{id:"windows1",Ba:{url:"images/windows101.img",size:1474560},name:"Windows"},{id:"linux26",sa:{url:"images/linux.iso",size:5666816},name:"Linux"},{id:"linux3",sa:{url:"images/linux3.iso",size:10000384},name:"Linux",filesystem:{}},{id:"kolibrios",Ba:{url:A?"images/kolibri.img":"http://builds.kolibrios.org/eng/data/data/kolibri.img",size:1474560},name:"KolibriOS"},{id:"kolibrios-fallback",Ba:{url:"images/kolibri.img",size:1474560},name:"KolibriOS"},{id:"openbsd",Ba:{url:"images/openbsd.img", |
| size:1474560},name:"OpenBSD"},{id:"solos",Ba:{url:"images/os8.dsk",size:1474560},name:"Sol OS"},{id:"dsl",sa:{url:"https://dl.dropboxusercontent.com/u/61029208/dsl-4.11.rc2.iso",async:!0},name:"Damn Small Linux"},{id:"ttylinux",sa:{url:"images/ttylinux-pc_i486-2015.01.iso",async:!0},name:"ttylinux"},{id:"9pboot",sa:{url:"images/9pboot.iso",async:!1},name:"9p Linux image",filesystem:{basefs:{url:A?"http://localhost/v86-images/fs.json":"http://104.131.53.7:8086/fs.json",size:7510249},baseurl:A?"http://localhost/v86-images/arch/": |
| "http://104.131.53.7:8086/arch/"}}],m=c(),p=m.profile,D=0;D<k.length;D++){var wa=k[D],Ia=f("start_"+wa.id);if(p===wa.id){a(wa);return}Ia&&(Ia.onclick=function(c,d){x(c.id);d.blur();a(c)}.bind(this,wa,Ia))}"custom"===p&&(m["hda.url"]&&(g.Da={size:parseInt(m["hda.size"],10)||void 0,url:m["hda.url"],async:!0}),m["cdrom.url"]&&(g.sa={size:parseInt(m["cdrom.size"],10)||void 0,url:m["cdrom.url"],async:!0}),m["fda.url"]&&(g.Ba={size:parseInt(m["fda.size"],10)||void 0,url:m["fda.url"],async:!0}),g.Ba||g.sa|| |
| g.Da)&&(f("boot_options").style.display="none",h({Jd:g,done:d}))}else alert("Your browser is not supported because it doesn't have XMLHttpRequest.responseType")}function h(a){var c=a.Jd,g=c.mb;!g&&(g=1048576*parseInt(f("memory_size").value,10),16777216>g||2147483648<=g)&&(alert("Invalid memory size - ignored."),g=33554432);var h=c.pa;!h&&(h=1048576*parseInt(f("video_memory_size").value,10),65536>=h||2147483648<=h)&&(alert("Invalid video memory size - ignored."),h=8388608);var m,p;c.tc||(m={url:"bios/seabios.bin"}, |
| p={url:"bios/vgabios.bin"});var x=new Z({memory_size:g,vga_memory_size:h,screen_container:f("screen_container"),serial_container:f("serial"),boot_order:parseInt(f("boot_order").value,16)||0,network_relay_url:"ws://relay.widgetry.org/",bios:m,vga_bios:p,fda:c.Ba,hda:c.Da,cdrom:c.sa,initial_state:c.tc,filesystem:c.filesystem||{}});x.va("emulator-ready",function(){k(c,x);a.done(x)});x.va("download-progress",function(a){var c=f("loading");c.style.display="block";if(a.Ad===a.zd-1&&a.loaded>=a.total-2048)c.textContent= |
| "Done downloading. Starting now ...";else{var g="Downloading images ";"number"===typeof a.Ad&&a.zd&&(g+="["+(a.Ad+1)+"/"+a.zd+"] ");if(a.total&&"number"===typeof a.loaded){a=Math.floor(a.loaded/a.total*100);a=Math.min(100,Math.max(0,a));var h=Math.floor(a/2),g=g+(a+"% [")+d("#",h),g=g+(d(" ",50-h)+"]")}else g+=d(".",D++%50);c.textContent=g}})}function k(c,d){function g(){var a=Date.now(),c=d.b?d.b.r.P:0,h=c-D;D=c;var k=a-x;A+=k;x=a;f("speed").textContent=h/k|0;f("avg_speed").textContent=c/A|0;a=f("running_time"); |
| c=A/1E3|0;a.textContent=60>c?c+"s":3600>c?(c/60|0)+"m "+yd(c%60,2)+"s":(c/3600|0)+"h "+yd((c/60|0)%60,2)+"m "+yd(c%60,2)+"s"}function h(a){a.ctrlKey?window.onbeforeunload=function(){window.onbeforeunload=null;return"CTRL-W cannot be sent to the emulator."}:window.onbeforeunload=null}f("boot_options").style.display="none";f("loading").style.display="none";f("runtime_options").style.display="block";f("runtime_infos").style.display="block";document.getElementsByClassName("phone_keyboard")[0].style.display= |
| "block";c.filesystem&&m(d);var k=f("news");k&&(k.style.display="none");f("run").onclick=function(){d.qe()?(f("run").value="Run",d.hd()):(f("run").value="Pause",d.ic());f("run").blur()};f("exit").onclick=function(){d.hd();location.href=location.pathname};f("lock_mouse").onclick=function(){if(!p)f("toggle_mouse").onclick();d.Fd();f("lock_mouse").blur()};var p=!0;f("toggle_mouse").onclick=function(){p=!p;d.ye(p);f("toggle_mouse").value=(p?"Dis":"En")+"able mouse";f("toggle_mouse").blur()};var x=0,A= |
| 0,D=0,Ua;d.va("emulator-started",function(){x=Date.now();Ua=setInterval(g,1E3)});d.va("emulator-stopped",function(){g();clearInterval(Ua)});var yb=0,Ab=0;d.va("9p-read-start",function(){f("info_filesystem").style.display="block";f("info_filesystem_status").textContent="Loading ..."});d.va("9p-read-end",function(a){yb+=a[1];f("info_filesystem_status").textContent="Idle";f("info_filesystem_last_file").textContent=a[0];f("info_filesystem_bytes_read").textContent=yb});d.va("9p-write-end",function(a){Ab+= |
| a[1];f("info_filesystem_last_file").textContent=a[0];f("info_filesystem_bytes_written").textContent=Ab});var Bb=0,fb=0,Oa=0,Da=0;d.va("ide-read-start",function(){f("info_storage").style.display="block";f("info_storage_status").textContent="Loading ..."});d.va("ide-read-end",function(a){Bb+=a[1];fb+=a[2];f("info_storage_status").textContent="Idle";f("info_storage_bytes_read").textContent=Bb;f("info_storage_sectors_read").textContent=fb});d.va("ide-write-end",function(a){Oa+=a[1];Da+=a[2];f("info_storage_bytes_written").textContent= |
| Oa;f("info_storage_sectors_written").textContent=Da});var sc=0,tc=0;d.va("eth-receive-end",function(a){tc+=a[0];f("info_network").style.display="block";f("info_network_bytes_received").textContent=tc});d.va("eth-transmit-end",function(a){sc+=a[0];f("info_network").style.display="block";f("info_network_bytes_transmitted").textContent=sc});d.va("mouse-enable",function(a){f("info_mouse_enabled").textContent=a?"Yes":"No"});d.va("screen-set-mode",function(a){a?f("info_vga_mode").textContent="Graphical": |
| (f("info_vga_mode").textContent="Text",f("info_res").textContent="-",f("info_bpp").textContent="-")});d.va("screen-set-size-graphical",function(a){f("info_res").textContent=a[0]+"x"+a[1];f("info_bpp").textContent=a[2]});f("reset").onclick=function(){d.Ud();f("reset").blur()};for(var k=["hda","hdb","fda","fdb"],zb=0;zb<k.length;zb++){var uc=f("get_"+k[zb]+"_image"),vc=c[k[zb]];vc&&16777216>vc.byteLength?uc.onclick=function(c){vc.qc(function(d){d&&a(d,c+".img")});this.blur()}.bind(uc,k[zb]):uc.style.display= |
| "none"}f("memory_dump").onclick=function(){a(d.b.r.memory.buffer,"v86memory.bin");f("memory_dump").blur()};f("save_state").onclick=function(){d.Vd(function(c,d){c?console.log("Couldn't save state: ",c):a(d,"v86state.bin")});f("save_state").blur()};f("ctrlaltdel").onclick=function(){d.Uc([29,56,83,157,184,211]);f("ctrlaltdel").blur()};f("alttab").onclick=function(){d.Uc([56,15]);setTimeout(function(){d.Uc([184,143])},100);f("alttab").blur()};f("scale").onchange=function(){var a=parseFloat(this.value); |
| (a||0<a)&&d.Oe(a,a)};f("fullscreen").onclick=function(){d.Me()};f("screen_container").onclick=function(){window.getSelection().isCollapsed&&document.getElementsByClassName("phone_keyboard")[0].focus()};f("take_screenshot").onclick=function(){d.Ne();f("take_screenshot").blur()};f("serial").style.display="block";window.addEventListener("keydown",h,!1);window.addEventListener("keyup",h,!1);window.addEventListener("blur",h,!1)}function m(c){f("filesystem_panel").style.display="block";f("filesystem_send_file").onchange= |
| function(){Array.prototype.forEach.call(this.files,function(a){var d=new zd(a);d.onload=function(){d.qc(function(d){c.ae("/"+a.name,new Uint8Array(d))})};d.load()},this);this.value=""};f("filesystem_get_file").onkeypress=function(d){13===d.which&&(this.disabled=!0,c.He(this.value,function(c,d){this.disabled=!1;if(d){var f=this.value.replace(/\/$/,"").split("/"),f=f[f.length-1]||"root";a(d,f);this.value=""}else alert("Can't read file")}.bind(this)))}}function p(){location.reload()}function x(a){window.history.pushState&& |
| window.history.pushState({profile:a},"","?profile="+a)}var A=-1===location.host.indexOf("."),D=0;window.addEventListener("load",g,!1);window.addEventListener("load",function(){setTimeout(function(){window.addEventListener("popstate",p)},0)});"complete"===document.readyState&&g()})();function cd(a){this.b=[];this.I=Array(65536);this.memory=a;for(var c=0;65536>c;c++)this.b[c]={M:this.qf,L:this.of,Ge:this.pf,T:this.wd,ca:this.wd,da:this.wd,za:void 0};for(var d=a.size,c=0;c<<17<d;c++)a.j[c]=a.m[c]=void 0,a.q[c]=a.v[c]=void 0;ud(this,d,4294967296-d,function(){return 255},function(){},function(){return-1},function(){});this.ja=[this.b,this.I,this.memory]}l=cd.prototype;l.qf=function(){return 255};l.of=function(){return 65535};l.pf=function(){return-1};l.wd=function(){}; |
| function X(a,c,d,f,g,h){f&&(a.b[c].M=f);g&&(a.b[c].L=g);h&&(a.b[c].Ge=h);a.b[c].za=d}function Y(a,c,d,f,g,h){f&&(a.b[c].T=f);g&&(a.b[c].ca=g);h&&(a.b[c].da=h);a.b[c].za=d}l.Ke=function(a,c,d,f,g,h){function k(){return d.call(this)|f.call(this)<<8}function m(){return g.call(this)|h.call(this)<<8}function p(){return d.call(this)|f.call(this)<<8|g.call(this)<<16|h.call(this)<<24}g&&h?(X(this,a,c,d,k,p),X(this,a+1,c,f),X(this,a+2,c,g,m),X(this,a+3,c,h)):(X(this,a,c,d,k),X(this,a+1,c,f))}; |
| l.Cc=function(a,c,d,f,g,h){function k(a){d.call(this,a&255);f.call(this,a>>8&255)}function m(a){g.call(this,a&255);h.call(this,a>>8&255)}function p(a){d.call(this,a&255);f.call(this,a>>8&255);g.call(this,a>>16&255);h.call(this,a>>>24)}g&&h?(Y(this,a,c,d,k,p),Y(this,a+1,c,f),Y(this,a+2,c,g,m),Y(this,a+3,c,h)):(Y(this,a,c,d,k),Y(this,a+1,c,f))};function qc(a,c,d){c>>>=0;d=c+(d>>>0);if(d>=a.memory.size)return!0;for(c&=-131072;c<d;){if(a.memory.e[c>>17])return!0;c+=131072}return!1} |
| l.zf=function(a){var c=this.memory.j[a>>>17];return c(a)|c(a+1)<<8|c(a+2)<<16|c(a+3)<<24};l.Af=function(a,c){var d=this.memory.m[a>>>17];d(a,c&255);d(a+1,c>>8&255);d(a+2,c>>16&255);d(a+3,c>>>24)};function ud(a,c,d,f,g,h,k){h||(h=a.zf.bind(a));k||(k=a.Af.bind(a));for(c>>>=17;0<d;c++)a.memory.e[c]=1,a.memory.j[c]=f,a.memory.m[c]=g,a.memory.q[c]=h,a.memory.v[c]=k,d-=131072}function Yb(a,c,d){a=a.b[c];a.T.call(a.za,d)}function Zb(a,c,d){a=a.b[c];a.ca.call(a.za,d)} |
| function ac(a,c,d){a=a.b[c];a.da.call(a.za,d)}function Qb(a,c){var d=a.b[c];return d.M.call(d.za)}function Sb(a,c){var d=a.b[c];return d.L.call(d.za)}function Ub(a,c){var d=a.b[c];return d.Ge.call(d.za)};function Ad(a){this.m=!0;this.j=this.e=!1;this.r=new q;this.t=a;a.register("cpu-init",this.Ua,this);a.register("cpu-run",this.ic,this);a.register("cpu-stop",this.F,this);a.register("cpu-restart",this.v,this);this.b=function(){console.assert(!1)};this.q=function(){console.assert(!1)}}Ad.prototype.ic=function(){this.e||(this.t.send("emulator-started"),this.b())}; |
| function Bd(a){if(a.j)a.j=a.e=!1,a.t.send("emulator-stopped");else{a.e=!0;var c;a:{var d=a.r;try{if(d.sc){c=d.F();break a}d.de()}catch(f){d.ee(f)}c=0}a.q(c)}}Ad.prototype.F=function(){this.e&&(this.j=!0)};Ad.prototype.v=function(){this.r.reset();dd(this.r)};Ad.prototype.Ua=function(a){this.m&&(this.m=!1,Cd(this));this.r.Ua(a,this.t);this.t.send("emulator-ready")}; |
| function Cd(a){"undefined"!==typeof setImmediate?a.b=function(){setImmediate(function(){Bd(a)})}:"undefined"!==typeof window&&"undefined"!==typeof postMessage?(window.addEventListener("message",function(c){c.source===window&&43605===c.data&&Bd(a)},!1),a.b=function(){window.postMessage(43605,"*")}):a.b=function(){setTimeout(function(){Bd(a)},0)};a.q="undefined"!==typeof document&&"boolean"===typeof document.hidden?function(c){4>c||document.hidden?this.b():setTimeout(function(){Bd(a)},c)}:function(c){setTimeout(function(){Bd(a)}, |
| c)}}var Ba="object"===typeof performance&&performance.now?function(){return performance.now()}:Date.now;if("undefined"!==typeof window&&window.crypto&&window.crypto.getRandomValues)var Dd=new Int32Array(1),Zc=function(){return!0},$c=function(){window.crypto.getRandomValues(Dd);return Dd[0]};else Zc=function(){return!1},$c=function(){console.assert(!1)};var Yc,zd,Ed,Fd,Gd,Hd;function yd(a,c){for(a=a?a+"":"";a.length<c;)a="0"+a;return a}function Id(a){return"0x"+yd((a?a.toString(16):"").toUpperCase(),1)}function Jd(a){this.buffer=a;this.byteLength=a.byteLength;this.onprogress=this.onload=void 0}Jd.prototype.load=function(){this.onload&&this.onload({buffer:this.buffer})};Jd.prototype.get=function(a,c,d){d(new Uint8Array(this.buffer,a,c))};Jd.prototype.set=function(a,c,d){(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};Jd.prototype.qc=function(a){a(this.buffer)}; |
| (function(){for(var a=new Int8Array(256),c=0,d=-2;256>c;c++)c&c-1||d++,a[c]=d;Ed=function(c){return a[c]};Yc=function(c){var d=c>>>16;if(d){var h=d>>>8;return h?24+a[h]:16+a[d]}return(h=c>>>8)?8+a[h]:a[c]}})();function Kd(a){var c=new Uint8Array(a),d,f;this.length=0;this.push=function(d){this.length!==a&&this.length++;c[f]=d;f=f+1&a-1};this.shift=function(){if(this.length){var f=c[d];d=d+1&a-1;this.length--;return f}return-1};this.clear=function(){this.length=f=d=0};this.clear()};function md(a){this.r=a;this.e=new Float64Array(8);this.$a();this.m=255;this.b=0;this.J=895;this.Ia=this.aa=this.ia=this.Ja=this.ea=this.j=0;this.la=NaN;this.fb=new Float64Array([1,Math.log(10)/Math.LN2,Math.LOG2E,Math.PI,Math.log(2)/Math.LN10,Math.LN2,0])} |
| md.prototype.$a=function(){this.R=new Float32Array(1);this.ob=new Uint8Array(this.R.buffer);this.Y=new Int32Array(this.R.buffer);this.F=new Float64Array(1);this.q=new Uint8Array(this.F.buffer);this.v=new Int32Array(this.F.buffer);this.Ra=new Uint8Array(this.e.buffer);this.qb=new Int32Array(this.e.buffer);this.ja=[this.r,this.R,this.ob,this.Y,this.F,this.q,this.v,this.Ra,this.qb]};function Ec(a){R(a.r)}function Jc(a){a.j|=1} |
| function Dc(a,c){var d=Cc(a);a.j&=-18177;d>c||(a.j=c>d?a.j|256:d===c?a.j|16384:a.j|17664)}function Nc(a,c){var d=a.e[a.b];a.r.n&=-70;a.r.f&=-70;d>c||(a.r.f=c>d?a.r.f|1:d===c?a.r.f|64:a.r.f|69)}function Mc(a){a.J=895;a.j=0;a.ea=0;a.aa=0;a.ia=0;a.m=255;a.b=0} |
| function Gc(a,c){if(a.r.Qa){ic(a.r,c,26);S(a.r,c,a.J);S(a.r,c+4,a.j&-14337|a.b<<11);for(var d=0,f,g=0;8>g;g++)f=a.e[g],a.m>>g&1?d|=3<<(g<<1):0===f?d|=1<<(g<<1):isFinite(f)||(d|=2<<(g<<1));S(a.r,c+8,d);T(a.r,c+12,a.ea);S(a.r,c+16,a.Ja);S(a.r,c+18,a.ia);T(a.r,c+20,a.aa);S(a.r,c+24,a.Ia)}else Ec(a)} |
| function Fc(a,c){if(a.r.Qa){a.J=J(a.r,c);var d=J(a.r,c+4);a.j=d&-14337;a.b=d>>11&7;for(var d=J(a.r,c+8),f=a.m=0;8>f;f++)a.m|=d>>f&d>>f+1&1<<f;a.ea=K(a.r,c+12);a.Ja=J(a.r,c+16);a.ia=J(a.r,c+18);a.aa=K(a.r,c+20);a.Ia=J(a.r,c+24)}else Ec(a)}function Hc(a,c){var d=a.J>>10&3;return 0===d?(d=Math.round(c),.5===d-c&&d%2&&d--,d):1===d||3===d&&0<c?Math.floor(c):Math.ceil(c)}function Ic(a){return 0<a?Math.floor(a):Math.ceil(a)} |
| md.prototype.push=function(a){this.b=this.b-1&7;this.m>>this.b&1?(this.j&=-513,this.m&=~(1<<this.b),this.e[this.b]=a):(this.j|=512,this.j|=65,this.e[this.b]=this.la)};md.prototype.pop=function(){this.m|=1<<this.b;this.b=this.b+1&7};function W(a,c){c=c+a.b&7;return a.m>>c&1?(a.j&=-513,a.j|=65,a.la):a.e[c]}function Cc(a){return a.m>>a.b&1?(a.j&=-513,a.j|=65,a.la):a.e[a.b]} |
| function Kc(a,c){var d=J(a.r,c+8),f,g=K(a.r,c)>>>0,h=K(a.r,c+4)>>>0;f=d>>15;d&=-32769;if(0===d)return 0;if(!(32767>d))return a.q[7]=127|f<<7,a.q[6]=240|h>>30<<3&8,a.q[5]=0,a.q[4]=0,a.v[0]=0,a.F[0];g+=4294967296*h;f&&(g=-g);return g*Math.pow(2,d-16383-63)} |
| function Lc(a,c,d){a.F[0]=a.e[a.b+d&7];d=a.q[7]&128;var f=(a.q[7]&127)<<4|a.q[6]>>4,g,h;2047===f?(f=32767,g=0,h=2147483648|(a.v[1]&524288)<<11):0===f?h=g=0:(f+=15360,g=a.v[0]<<11,h=2147483648|(a.v[1]&1048575)<<11|a.v[0]>>>21);T(a.r,c,g);T(a.r,c+4,h);S(a.r,c+8,d<<8|f)}function Oc(a,c){var d=K(a.r,c),f=K(a.r,c+4);a.v[0]=d;a.v[1]=f;return a.F[0]}function Pc(a,c){ic(a.r,c,8);a.F[0]=W(a,0);T(a.r,c,a.v[0]);T(a.r,c+4,a.v[1])}function Bc(a,c){a.Y[0]=K(a.r,c);return a.R[0]} |
| md.prototype.sign=function(a){return this.Ra[(this.b+a&7)<<3|7]>>7};function qd(a,c,d,f,g){this.t=g;0===f?(this.q=496,this.ob=14,this.Qb=240):(this.q=496,this.ob=14,this.Qb=248);this.Ib=f;this.fb=this.q|516;this.S=a.I.S;this.memory=a.memory;this.buffer=c;this.J=d?2048:512;this.Ja=d;this.R=this.ia=this.aa=this.m=0;this.buffer&&(this.m=this.buffer.byteLength/this.J,this.m!==(this.m|0)&&(this.m=Math.ceil(this.m)),d?(this.aa=1,this.ia=0):(this.aa=16,this.ia=63),a.I.Sa.Ta[57]=1,this.R=this.m/this.aa/this.ia,this.R!==(this.R|0)&&(this.R=Math.floor(this.R)),16383<this.R&& |
| (this.R=16383));this.oa={Pe:0,Qe:0,Yd:0,Zd:0,te:!1};this.hc=[134,128,32,58,5,0,160,2,0,143,1,1,0,0,0,0,this.q&255|1,this.q>>8,0,0,this.fb&255|1,this.fb>>8,0,0,0,0,0,0,0,0,0,0,1,192,0,0,0,0,0,0,0,0,0,0,67,16,212,130,0,0,0,0,0,0,0,0,0,0,0,0,this.ob,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.gc=[{size:8},{size:4},!1,!1,{size:16}];Ld(a.I.Vc,this); |
| X(a.p,this.q|7,this,this.Je);X(a.p,this.fb|2,this,this.Je);Y(a.p,this.fb|2,this,this.Eg);this.Hb=2;this.e=0;this.b=new Uint8Array(0);this.vd=this.head=this.ka=this.$=this.ea=this.Y=this.F=this.Dd=0;this.status=80;this.Gb=1;this.Ia=this.la=this.Jb=0;this.v=new Uint8Array(0);this.qb=0;this.Fb=-1;this.j=this.Ra=0;X(a.p,this.q|0,this,this.rg,this.pg,this.qg);X(a.p,this.q|1,this,this.sg);X(a.p,this.q|2,this,this.og);X(a.p,this.q|3,this,this.ug);X(a.p,this.q|4,this,function(){return this.$&255});X(a.p, |
| this.q|5,this,function(){return this.ka&255});X(a.p,this.q|6,this,function(){return this.vd});Y(a.p,this.q|0,this,this.Yb,this.Fg,this.Gg);Y(a.p,this.q|1,this,this.Hg);Y(a.p,this.q|2,this,this.Dg);Y(a.p,this.q|3,this,this.Ig);Y(a.p,this.q|4,this,function(a){this.$=(this.$<<8|a)&65535});Y(a.p,this.q|5,this,function(a){this.ka=(this.ka<<8|a)&65535});Y(a.p,this.q|6,this,function(a){a&16||(this.vd=a,this.Dd=a>>6&1,this.head=a&15)});Y(a.p,this.q|7,this,this.af);X(a.p,49156,this,void 0,void 0,this.gf); |
| Y(a.p,49156,this,void 0,void 0,this.lf);X(a.p,49152,this,this.jf,void 0,this.hf);Y(a.p,49152,this,this.nf,void 0,this.mf);X(a.p,49154,this,this.kf);Y(a.p,49154,this,this.ce);X(a.p,49160,this,function(){return 0});X(a.p,49162,this,function(){return 0});this.ja=[this.memory,this.S,this.oa,this.buffer,this.t]}function Md(a){a.Ja?(a.status=81,a.F=1,a.ea=1,a.Y=1,a.$=20,a.ka=235):(a.status=81,a.F=1,a.ea=1,a.Y=1,a.$=60,a.ka=195)}l=qd.prototype;l.H=function(){0===(this.Hb&2)&&this.S.H(this.ob)}; |
| l.af=function(a){switch(a){case 0:this.H();this.status=80;break;case 8:this.e=0;this.b=new Uint8Array(0);Md(this);this.H();break;case 16:this.H();break;case 39:this.H();this.b=new Uint8Array([0,0,0,0,this.buffer.byteLength&255,this.buffer.byteLength>>8&255,this.buffer.byteLength>>16&255,this.buffer.byteLength>>24&255,0,0,0,0]);this.status=88;break;case 32:case 36:case 41:case 196:Nd(this,a);break;case 48:case 52:case 57:case 197:a:{if(48===a||197===a){a=this.F&255;var c=this.Dd?Od(this):Pd(this); |
| 0===a&&(a=256)}else if(52===a||57===a)a=this.F,c=Qd(this),0===a&&(a=65536);else break a;var d=a*this.J,c=c*this.J;this.$+=a;c+d>this.buffer.byteLength?this.status=255:(this.status=88,Rd(this,d),this.Jb=c,this.qb=1);this.H()}break;case 144:this.H();this.ea=257;this.status=80;break;case 145:this.H();break;case 160:this.Ja&&(this.status=88,Rd(this,12),this.qb=2,this.F=1,this.H());break;case 161:this.Ja?(Sd(this),this.status=88,this.$=20,this.ka=235):this.status=80;this.H();break;case 198:this.Gb=this.F; |
| this.H();break;case 200:Td(this);break;case 202:Ud(this);break;case 225:this.H();break;case 236:if(this.Ja)break;Sd(this);this.status=88;this.H();break;case 234:this.H();break;case 239:this.H();break;default:this.ea=4}};l.ud=function(){this.status=80;this.buffer.set(this.Jb,this.v.subarray(0,this.la),function(){this.H()}.bind(this));Vd(this,this.la)};l.Je=function(){var a=this.status;0<=this.Fb&&(this.status=this.Fb,this.Fb=-1);return a};l.Eg=function(a){this.Hb=a;a&4&&Md(this)}; |
| function Rd(a,c){c>a.v.length&&(a.v=new Uint8Array(c));a.la=c;a.Ia=0}function Wd(a,c){var d=(c[7]<<8|c[8])*a.J,f=(a.ka&255)<<8|a.$&255,g=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.J;f||(f=32768);f=Math.min(d,f);a.$=f&255;a.$=0;a.ka=f>>8&255;g>=a.buffer.byteLength?(a.status=255,a.H()):(d=Math.min(d,a.buffer.byteLength-g),a.status=128,Xd(a),a.buffer.get(g,d,function(a){this.b=a;this.status=88;this.e=0;this.H();Yd(this,d)}.bind(a)))} |
| function Zd(a,c){var d=(c[7]<<8|c[8])*a.J,f=(c[2]<<24|c[3]<<16|c[4]<<8|c[5])*a.J;f>=a.buffer.byteLength?(a.status=255,a.H()):(d=Math.min(d,a.buffer.byteLength-f),a.status=128,Xd(a),a.buffer.get(f,d,function(a){var c=this.Ra,f=0;do{var m=I(this.memory,c),p=this.memory.L(c+4),x=this.memory.M(c+7)&128;p||(p=65536);this.memory.b.set(a.subarray(f,f+p),m);f+=p;c+=8;if(f>this.buffer.byteLength)throw"too long";}while(!x);this.status=80;this.j&=-4;this.j|=4;this.H();Yd(this,d)}.bind(a)))}l.rg=function(){return $d(this)}; |
| l.pg=function(){return $d(this)|$d(this)<<8};l.qg=function(){return $d(this)|$d(this)<<8|$d(this)<<16|$d(this)<<24};l.sg=function(){return this.ea&255};l.og=function(){return this.F&255};l.ug=function(){return this.Y&255}; |
| function $d(a){if(a.e<a.b.length){0!==(a.e+1)%(512*a.Gb)&&a.e+1!==a.b.length||a.H();a.$?a.$--:a.ka&&(a.ka--,a.$=255);if(!a.$&&!a.ka){var c=a.b.length-a.e-1;65536<=c?(a.ka=240,a.$=0):(a.ka=c>>8,a.$=c)}a.e+1>=a.b.length&&(a.status=80,a.F=a.F&-8|3);return a.b[a.e++]}a.e++;return 0} |
| l.Yb=function(a){if(!(this.Ia>=this.la)&&(this.v[this.Ia++]=a,0===this.Ia%(512*this.Gb)&&this.H(),this.Ia===this.la))switch(this.qb){case 1:this.ud();break;case 2:this.F=this.F&-8|2;switch(this.v[0]){case 0:this.b=new Uint8Array(0);this.e=0;this.status=80;this.$=8;this.ka=0;this.H();break;case 3:this.b=new Uint8Array(this.v[4]);this.status=88;this.b[0]=240;this.b[7]=8;this.e=0;this.$=8;this.ka=0;this.H();break;case 18:this.b=new Uint8Array(Math.min(this.v[4],36));this.status=88;this.b.set([5,128, |
| 1,49,0,0,0,0,83,79,78,89,32,32,32,32,67,68,45,82,79,77,32,67,68,85,45,49,48,48,48,32,49,46,49,97]);this.e=0;this.H();break;case 30:this.b=new Uint8Array(0);this.status=80;this.e=0;this.H();break;case 37:this.b=new Uint8Array([this.m>>24&255,this.m>>16&255,this.m>>8&255,this.m&255,0,0,this.J>>8&255,this.J&255]);this.status=88;this.e=0;this.$=8;this.ka=0;this.H();break;case 40:this.ea&1?Zd(this,this.v):Wd(this,this.v);break;case 67:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.b[0]=0;this.b[1]= |
| 10;this.b[2]=1;this.b[3]=1;this.status=88;this.e=0;this.ka=8;this.$=0;this.H();break;case 70:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.status=88;this.e=0;this.H();break;case 74:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.status=88;this.e=0;this.H();break;case 81:this.b=new Uint8Array(0);this.status=80;this.e=0;this.H();break;case 26:this.b=new Uint8Array(this.v[4]);this.status=88;this.e=0;this.H();break;case 90:this.b=new Uint8Array(this.v[8]|this.v[7]<<8);this.status=88;this.e=0; |
| break;case 189:this.b=new Uint8Array(this.v[9]|this.v[8]<<8);this.status=88;this.e=0;this.H();break;default:this.status=80}0===(this.status&128)&&this.e>=this.b.length&&(this.F|=1)}};l.Fg=function(a){this.Yb(a&255);this.Yb(a>>8&255)};l.Gg=function(a){this.Yb(a&255);this.Yb(a>>8&255);this.Yb(a>>16&255);this.Yb(a>>24&255)};l.Hg=function(a){this.ea=(this.ea<<8|a)&65535};l.Dg=function(a){this.F=(this.F<<8|a)&65535};l.Ig=function(a){this.Y=(this.Y<<8|a)&65535}; |
| function Nd(a,c){if(32===c||196===c){var d=a.F&255,f=a.Dd?Od(a):Pd(a);0===d&&(d=256)}else if(36===c||41===c)d=a.F,f=Qd(a),0===d&&(d=65536);else return;var g=d*a.J,f=f*a.J;a.$+=d;f+g>a.buffer.byteLength?(a.status=255,a.H()):(a.status=128,Xd(a),a.buffer.get(f,g,function(a){this.b=a;this.status=88;this.e=0;this.H();Yd(this,g)}.bind(a)))} |
| function Td(a){var c=a.F&255,d=c*a.J,f=Od(a)*a.J;a.$+=c;f+d>a.buffer.byteLength?(a.status=255,a.H()):(a.status=128,a.j|=1,Xd(a),a.buffer.get(f,d,function(a){var c=this.Ra,f=0;do{var m=I(this.memory,c),p=this.memory.L(c+4),x=this.memory.M(c+7)&128;p||(p=65536);this.memory.b.set(a.subarray(f,f+p),m);f+=p;c+=8}while(!x);this.status=80;this.j&=-4;this.j|=4;this.H();Yd(this,d)}.bind(a)))} |
| function Ud(a){var c=a.F&255,d=c*a.J,f=Od(a)*a.J;a.$+=c;if(f+d>a.buffer.byteLength)a.status=255,a.H();else{a.status=128;a.j|=1;var c=a.Ra,g=0,h=0,k=0;do{var m=I(a.memory,c),p=a.memory.L(c+4),x=a.memory.M(c+7)&128;p||(p=65536);a.buffer.set(f+k,a.memory.b.subarray(m,m+p),function(){h++;h===g&&(this.status=80,this.H(),this.j&=-4,this.j|=4)}.bind(a));k+=p;c+=8;g++}while(!x);h===g&&(a.status=80,a.H(),a.j&=-4,a.j|=4);Vd(a,d)}}function Pd(a){return((a.$&255|a.ka<<8&65280)*a.aa+a.head)*a.ia+(a.Y&255)-1} |
| function Od(a){return a.Y&255|a.$<<8&65280|a.ka<<16&16711680|a.head<<24}function Qd(a){return(a.Y&255|a.$<<8&65280|a.ka<<16&16711680|a.Y>>8<<24&4278190080)>>>0} |
| function Sd(a){a.e=0;a.vd&16?a.b=new Uint8Array(0):(a.b=new Uint8Array([64,a.Ja?133:0,a.R,a.R>>8,0,0,a.aa,a.aa>>8,0,0,0,0,a.ia,a.ia>>8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,2,4,0,0,0,0,0,0,0,0,0,56,118,32,54,68,72,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,255,0,1,0,0,3,0,0,0,2,0,2,7,0,a.R,a.R>>8,a.aa,a.aa>>8,a.ia,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255,0,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255,0,0,0,4,0,0,30, |
| 0,30,0,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,0,0,0,0,0,0,116,0,64,0,64,0,116,0,64,0,0,0,0,0,0,0,0,0,0,1,96,0,0,0,0,0,0,0,0,0,0,0,0,a.m&255,a.m>>8&255,a.m>>16&255,a.m>>24&255]),16383<a.R&&(a.b[2]=a.b[108]=255,a.b[3]=a.b[109]=63))}l.gf=function(){return this.Ra};l.lf=function(a){this.Ra=a};l.kf=function(){return this.j};l.ce=function(a){this.j&=~a};l.hf=function(){return 1|this.j<<16};l.jf=function(){return 1};l.mf=function(a){a&1&&this.H();this.ce(a>>16&255)}; |
| l.nf=function(a){a&1&&this.H()};function Xd(a){a.oa.te=!0;a.t.send("ide-read-start")}function Yd(a,c){a.oa.te=!1;var d=c/a.J|0;a.oa.Pe+=d;a.oa.Yd+=c;a.t.send("ide-read-end",[a.Ib,c,d])}function Vd(a,c){var d=c/a.J|0;a.oa.Qe+=d;a.oa.Zd+=c;a.t.send("ide-write-end",[a.Ib,c,d])};function hd(a){this.cb=new Uint8Array(4);this.Bc=new Uint8Array(4);this.zc=new Uint8Array(4);this.Ac=new Uint8Array(4);new Int32Array(this.cb.buffer);this.Cf=new Int32Array(this.Bc.buffer);this.ze=new Int32Array(this.zc.buffer);this.Ae=new Int32Array(this.Ac.buffer);this.Pc=Array(65536);this.I=Array(65536);a.p.Cc(3324,this,function(a){this.Bc[0]=a},function(a){this.Bc[1]=a},function(a){this.Bc[2]=a},function(a){this.Bc[3]=a;var d=this.cb[2]<<8|this.cb[1];a=this.cb[0]&252;var f=this.Pc[d],d=this.I[d]; |
| if(f&&16<=a&&40>a){var g=this.Cf[0],h=a-16>>2,k=d.gc[h];f[a>>2]=k?-1===(g|3)?~(k.size-1):d.be[h]:0}});a.p.Ke(3324,this,function(){return this.zc[0]},function(){return this.zc[1]},function(){return this.zc[2]},function(){return this.zc[3]});a.p.Ke(3320,this,function(){return this.Ac[0]},function(){return this.Ac[1]},function(){return this.Ac[2]},function(){return this.Ac[3]});a.p.Cc(3320,this,function(a){this.cb[0]=a},function(a){this.cb[1]=a},function(a){this.cb[2]=a},function(a){this.cb[3]=a;a=this.cb[0]& |
| 252;var d=this.Pc[this.cb[2]<<8|this.cb[1]];void 0!==d?(this.Ae[0]=-2147483648,this.ze[0]=a<d.byteLength?d[a>>2]:-1):(this.ze[0]=-1,this.Ae[0]=0)});Ld(this,{Qb:0,hc:[134,128,55,18,0,0,0,0,2,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],gc:[]});Ld(this,{Qb:8,hc:[134,128,0,112,7,0,0,2,0,0,1,6,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],gc:[]});this.ja=[this.I,this.Pc]} |
| function Ld(a,c){var d=c.Qb,f=new Int32Array((new Uint8Array(c.hc)).buffer);a.Pc[d]=f;a.I[d]=c;c.be=new Int32Array(6);c.be.set(f.subarray(4,10))};function pd(a,c,d){this.p=a.p;this.S=a.I.S;this.oc=a.I.oc;this.e=0;this.ia=new Uint8Array(10);this.la=0;this.m=null;this.b=new Uint8Array(10);this.J=this.v=this.q=0;this.F=c;this.aa=d;this.j=this.R=0;this.ja=[this.p,this.S,this.oc];this.aa&&this.ja.push(this.aa);if(c){this.ja.push(this.F);this.J=c.byteLength;if((d={160:{type:1,pb:40,gb:8,bb:1},180:{type:1,pb:40,gb:9,bb:1},200:{type:1,pb:40,gb:10,bb:1},320:{type:1,pb:40,gb:8,bb:2},360:{type:1,pb:40,gb:9,bb:2},400:{type:1,pb:40,gb:10,bb:2},720:{type:3, |
| pb:80,gb:9,bb:2},1200:{type:2,pb:80,gb:15,bb:2},1440:{type:4,pb:80,gb:18,bb:2},1722:{type:5,pb:82,gb:21,bb:2},2880:{type:5,pb:80,gb:36,bb:2}}[this.J>>10])&&0===(this.J&1023))a.I.Sa.Ta[16]=d.type<<4,a=d.gb,c=d.bb;else throw"Unknown floppy size: "+Id(c.byteLength);this.Y=a;this.ea=c;X(this.p,1008,this,this.Zf);X(this.p,1010,this,this.$f);X(this.p,1012,this,this.bg);X(this.p,1013,this,this.cg);X(this.p,1015,this,this.eg);Y(this.p,1010,this,this.ag);Y(this.p,1013,this,this.dg)}else a.I.Sa.Ta[16]=64} |
| l=pd.prototype;l.Zf=function(){return 0};l.bg=function(){var a=128;this.q<this.v&&(a|=80);0===(this.j&8)&&(a|=32);return a};l.eg=function(){return 0};l.cg=function(){return this.q<this.v?this.b[this.q++]:255}; |
| l.dg=function(a){if(0<this.e)this.ia[this.la++]=a,this.e--,0===this.e&&this.m.call(this,this.ia);else{switch(a){case 3:this.m=this.sf;this.e=2;break;case 4:this.m=this.ff;this.e=1;break;case 5:case 197:this.m=function(a){ae(this,!0,a)};this.e=8;break;case 230:this.m=function(a){ae(this,!1,a)};this.e=8;break;case 7:this.m=this.ef;this.e=1;break;case 8:this.q=0;this.v=2;this.b[0]=32;this.b[1]=this.R;break;case 74:this.m=this.tg;this.e=1;break;case 15:this.e=2;this.m=this.Xe;break;case 14:this.b[0]= |
| 128,this.q=0,this.v=1,this.e=0}this.la=0}};l.$f=function(){return this.j};l.ag=function(a){4===(a&4)&&0===(this.j&4)&&this.S.H(6);this.j=a};l.ff=function(){this.q=0;this.v=1;this.b[0]=32};l.Xe=function(a){this.R=a[1];this.j&8&&this.S.H(6)};l.ef=function(){this.j&8&&this.S.H(6)};function ae(a,c,d){var f=d[2],g=d[1],h=d[3],k=128<<d[4],m=d[5]-d[3]+1,p=((f+a.ea*g)*a.Y+h-1)*k;c?a.oc.ud(a.F,p,m*k,2,a.done.bind(a,d,g,f,h)):be(a.oc,a.F,p,a.done.bind(a,d,g,f,h))} |
| l.done=function(a,c,d,f,g){g||(f++,f>this.Y&&(f=1,d++,d>=this.ea&&(d=0,a++)),this.R=a,this.q=0,this.v=7,this.b[0]=d<<2|32,this.b[1]=0,this.b[2]=0,this.b[3]=a,this.b[4]=d,this.b[5]=f,this.b[6]=c[4],this.j&8&&this.S.H(6))};l.sf=function(){};l.tg=function(){this.q=0;this.v=7;this.b[0]=0;this.b[1]=0;this.b[2]=0;this.b[3]=0;this.b[4]=0;this.b[5]=0;this.b[6]=0;this.j&8&&this.S.H(6)};function bd(a){this.size=a;this.e=new Uint8Array(32768);this.j=[];this.m=[];this.q=[];this.v=[];this.buffer=new ArrayBuffer(a);this.$a()}l=bd.prototype;l.$a=function(){this.b=new Uint8Array(this.buffer);this.F=new Uint16Array(this.buffer);this.lb=new Int32Array(this.buffer);this.ja=[this.b,this.F,this.lb,this.e,this.j,this.q,this.m,this.v]};function ce(a,c){var d=a.j[c>>>17];return d(c)|d(c+1)<<8}function de(a,c,d){a=a.m[c>>>17];a(c,d&255);a(c+1,d>>8&255)} |
| l.M=function(a){return this.e[a>>>17]?this.j[a>>>17](a):this.b[a]};l.L=function(a){return this.e[a>>>17]?ce(this,a):this.b[a]|this.b[a+1]<<8};function $b(a,c){return a.e[c>>>16]?ce(a,c<<1):a.F[c]}function I(a,c){return a.e[c>>>17]?a.q[c>>>17](c):a.b[c]|a.b[c+1]<<8|a.b[c+2]<<16|a.b[c+3]<<24}function bc(a,c){var d;a.e[c>>>15]?(d=c<<2,d=a.q[d>>>17](d)):d=a.lb[c];return d}l.T=function(a,c){if(this.e[a>>>17])this.m[a>>>17](a,c);else this.b[a]=c}; |
| l.ca=function(a,c){this.e[a>>>17]?de(this,a,c):(this.b[a]=c,this.b[a+1|0]=c>>8)};function Tb(a,c,d){a.e[c>>>16]?de(a,c<<1,d):a.F[c]=d}l.da=function(a,c){if(this.e[a>>>17])this.v[a>>>17](a,c);else this.b[a]=c,this.b[a+1|0]=c>>8,this.b[a+2|0]=c>>16,this.b[a+3|0]=c>>24};function Wb(a,c,d){a.e[c>>>15]?(c=c<<2,a.v[c>>>17](c,d)):a.lb[c]=d};function id(a){this.memory=a.memory;this.b=[{Oa:0,count:0},{Oa:0,count:0},{Oa:0,count:0},{Oa:0,count:0}];this.e=0;a=a.p;Y(a,4,this,this.Ee.bind(this,4));Y(a,5,this,this.Ee.bind(this,5));Y(a,10,this,this.kg);Y(a,11,this,this.lg);Y(a,12,this,this.mg);Y(a,129,this,this.jg);this.ja=[this.memory]}l=id.prototype;l.Ee=function(a,c){if(8>a){var d=a>>1;a&1?this.b[d].count=ee(this,this.b[d].count,c):this.b[d].Oa=ee(this,this.b[d].Oa,c)}};l.kg=function(){};l.lg=function(){};l.mg=function(){this.e=0}; |
| l.jg=function(a){this.b[2].Oa=this.b[2].Oa&65535|a<<16};function be(a,c,d,f){var g=a.b[2].count+1,h=a.b[2].Oa;if(d+g>c.byteLength)f(!0);else{var k=a.memory;a.b[2].Oa+=g;c.get(d,g,function(a){k.b.set(a,h);f(!1)})}}l.ud=function(a,c,d,f,g){d=this.b[f].count;var h=this.b[f].Oa;c+d>a.byteLength?g(!0):(this.b[f].Oa+=d,a.set(c,new Uint8Array(this.memory.buffer,h,d+1),function(){g(!1)}))};function ee(a,c,d){a.e^=1;return a.e?c&-256|d:c&-65281|d<<8};function rd(a){this.S=a.I.S;this.j=Date.now();this.e=new Uint8Array(4);this.m=new Uint8Array(4);this.F=new Uint8Array(4);this.J=new Uint8Array(4);this.q=new Uint8Array(4);this.v=new Uint16Array(3);this.tb=new Uint16Array(3);this.b=new Uint16Array(3);this.$d=0;X(a.p,97,this,function(){var a=Ba();return(66.66666666666667*a&1)<<4|(a-this.$d>=this.tb[2]/1193.1816666)<<5});X(a.p,64,this,function(){return fe(this,0)});X(a.p,65,this,function(){return fe(this,1)});X(a.p,66,this,function(){return fe(this, |
| 2)});Y(a.p,64,this,function(a){ge(this,0,a)});Y(a.p,65,this,function(a){ge(this,1,a)});Y(a.p,66,this,function(a){ge(this,2,a)});Y(a.p,67,this,this.R);this.ja=[this.S]}rd.prototype.hb=function(a,c){var d,f;d=1193.1816666*(a-this.j)>>>0;if(!d)return 0;this.j+=d/1193.1816666;var g=100;if(!c&&this.m[0])if(d=this.b[0]-=d,0>=d)if(g=0,this.S.H(0),f=this.F[0],0===f)this.m[0]=0,this.b[0]=0;else{if(3===f||2===f)this.b[0]=this.tb[0]+d%this.tb[0]}else g=d/1193.1816666;return g}; |
| function fe(a,c){var d=a.q[c];if(d)return a.q[c]--,2===d?a.v[c]&255:a.v[c]>>8;d=a.e[c];3===a.F[c]&&(a.e[c]^=1);return d?a.b[c]&255:a.b[c]>>8}function ge(a,c,d){a.tb[c]=a.e[c]?a.tb[c]&-256|d:a.tb[c]&255|d<<8;3===a.J[c]&&a.e[c]||(a.tb[c]||(a.tb[c]=65535),a.b[c]=a.tb[c],a.m[c]=!0);3===a.J[c]&&(a.e[c]^=1)}rd.prototype.R=function(a){var c=a>>1&7,d=a>>6&3;a=a>>4&3;3!==d&&(0===a?(this.q[d]=2,this.v[d]=this.b[d]):(6<=c&&(c&=-5),this.e[d]=1===a?0:1,this.F[d]=c,this.J[d]=a,2===d&&(this.$d=Ba())))};function ld(a,c,d){this.t=c;this.pa=d;this.m=0;this.bd=14;this.ad=15;this.aa=80;this.qb=25;this.q=this.Sd=this.gd=0;this.Nb=!0;this.yb=!1;this.Xb=new Int32Array(256);this.ea=this.ia=this.Y=this.R=this.J=this.F=0;this.Lc=80;this.jc=!1;this.Fc=32;this.Ja=0;this.hc=[222,16,32,10,7,0,0,0,162,0,0,3,0,0,128,0,8,0,0,224,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,1,0,0];this.Qb=144;this.gc=[];Ld(a.I.Vc,this);this.oa={oe:!1,wg:0,xg:0,cf:0};this.Ra=this.v=0;this.j=-1; |
| this.Pd=new Uint8Array(16);this.Jb=-1;this.e=15;this.Td=0;this.ob=-1;this.dd=this.cd=this.ed=0;this.b=255;this.Qd=0;this.fd=this.Rd=255;a=a.p;Y(a,960,this,this.Hf);X(a,960,this,this.Ce,this.Gf);X(a,961,this,this.De);Y(a,962,this,this.If);a.Cc(964,this,this.Kf,this.Mf);X(a,964,this,this.Jf);X(a,965,this,this.Lf);a.Cc(974,this,this.Sf,this.Uf);X(a,974,this,this.Rf);X(a,975,this,this.Tf);Y(a,967,this,this.Nf);Y(a,968,this,this.Of);Y(a,969,this,this.Pf);X(a,972,this,this.Qf);a.Cc(980,this,this.Vf,this.Xf); |
| X(a,981,this,this.Wf);X(a,986,this,this.Yf);this.fb=-1;this.Ia=0;Y(a,462,this,void 0,this.Df);Y(a,463,this,void 0,this.Ff);X(a,463,this,void 0,this.Ef);void 0===this.pa||262144>this.pa?this.pa=262144:this.pa&65535&&(this.pa|=65535,this.pa++);this.ga=new Uint8Array(this.pa);this.xa=this.pa;this.wa=0;this.sd=void 0;c.register("screen-tell-buffer",function(a){this.sd=a[0]},this);c.register("screen-fill-buffer",function(){if(this.yb&&this.sd&&!(this.wa<this.xa)){var a=0,c=0;this.jc?a=this.Fc:this.Nb? |
| a=8:(a=8,c=262144);var d=this.sd,f=this.xa,p=this.wa;switch(a){case 32:for(var x=f>>2,A=(p>>2)+1,a=x;a<A;a++)p=this.Kd[a],d[a]=p<<16|p>>16&255|p&65280|4278190080;break;case 24:for(var x=f/3|0,A=(p/3|0)+1,D=3*x,a=x;D<p;a++){var O=this.ga[D++],c=this.ga[D++],f=this.ga[D++];d[a]=O<<16|c<<8|f|4278190080}break;case 16:x=f>>1;A=(p>>1)+1;for(a=x;a<A;a++)p=this.Se[a],f=255*(p>>11)/31|0,c=255*(p>>5&63)/63|0,O=255*(p&31)/31|0,d[a]=O<<16|c<<8|f|4278190080;break;case 8:for(x=f-c,A=p-c+1,a=f;a<p;a++)f=this.Xb[this.ga[a]], |
| d[a-c]=f&65280|f<<16|f>>16|4278190080}this.xa=this.pa;this.wa=0;this.t.send("screen-fill-buffer-end",[x,A])}},this);this.$a();var f=this;ud(a,655360,131072,function(a){a-=655360;!f.yb||f.Nb?(a|=f.Ja,a=f.ga[a]):(a&=65535,f.F=f.Fb[a],f.J=f.Gb[a],f.R=f.Hb[a],f.Y=f.Ib[a],a=f.la[f.ed<<16|a]);return a},function(a,c){var d;d=a-655360;if(f.yb)if(f.Nb){var m=d,m=m|f.Ja;f.xa=m<f.xa?m:f.xa;f.wa=m>f.wa?m:f.wa;f.ga[m]=c}else{if(!(65535<d)){var p,x,A,D=f.cd&3;0===D?m=p=x=A=c:2===D&&(f.e&1&&(m=f.F&~f.b|(c&1?255: |
| 0)&f.b),f.e&2&&(p=f.J&~f.b|(c&2?255:0)&f.b),f.e&4&&(x=f.R&~f.b|(c&4?255:0)&f.b),f.e&8&&(A=f.Y&~f.b|(c&8?255:0)&f.b));if(0===D||2===D){switch(f.dd&24){case 8:m&=f.F;p&=f.J;x&=f.R;A&=f.Y;break;case 16:m|=f.F;p|=f.J;x|=f.R;A|=f.Y;break;case 24:m^=f.F,p^=f.J,x^=f.R,A^=f.Y}f.e&1&&(m=f.F&~f.b|m&f.b);f.e&2&&(p=f.J&~f.b|p&f.b);f.e&4&&(x=f.R&~f.b|x&f.b);f.e&8&&(A=f.Y&~f.b|A&f.b)}else 1===D&&(m=f.F,p=f.J,x=f.R,A=f.Y);f.e&1?f.Fb[d]=m:m=f.Fb[d];f.e&2?f.Gb[d]=p:p=f.Gb[d];f.e&4?f.Hb[d]=x:x=f.Hb[d];f.e&8?f.Ib[d]= |
| A:A=f.Ib[d];if(!(d>=f.gd*f.Sd<<3))for(p<<=1,x<<=2,A<<=3,d=d<<3|7,D=d+262144,f.xa=D-7<f.xa?D-7:f.xa,f.wa=D>f.wa?D:f.wa,D=0;8>D;D++)f.ga[d+262144]=f.Pd[m>>D&1|p>>D&2|x>>D&4|A>>D&8],d--}}else m=d,98304>m||(x=(m-98304>>1)-f.q,p=x/f.aa|0,x%=f.aa,m&1?(d=c,A=f.la[m&-2]):(A=c,d=f.la[m|1]),f.t.send("screen-put-char",[p,x,A,f.Xb[d>>4&15],f.Xb[d&15]]),f.la[m]=c)});ud(a,3758096384,this.pa,function(a){return f.ga[a&268435455]},function(a,c){var d;d=a&268435455;f.ga[d]=c;f.xa=d<f.xa?d:f.xa;f.wa=d>f.wa?d:f.wa}, |
| function(a){a&=268435455;return a&3?f.ga[a]|f.ga[a+1]<<8|f.ga[a+2]<<16|f.ga[a+3]<<24:f.Kd[a>>2]},function(a,c){var d;d=a&268435455;f.xa=d<f.xa?d:f.xa;f.wa=d+3>f.wa?d+3:f.wa;f.ga[d]=c;f.ga[d+1]=c>>8;f.ga[d+2]=c>>16;f.ga[d+3]=c>>24})}l=ld.prototype; |
| l.$a=function(){this.Se=new Uint16Array(this.ga.buffer);this.Kd=new Int32Array(this.ga.buffer);this.la=new Uint8Array(this.ga.buffer,0,262144);this.Fb=new Uint8Array(this.ga.buffer,0,65536);this.Gb=new Uint8Array(this.ga.buffer,65536,65536);this.Hb=new Uint8Array(this.ga.buffer,131072,65536);this.Ib=new Uint8Array(this.ga.buffer,196608,65536);this.ja=[this.t,this.Se,this.Kd,this.la,this.Fb,this.Gb,this.Hb,this.Ib];this.t.send("screen-set-mode",this.yb);this.yb?this.Ec(this.ia,this.ea,this.Fc):(this.Ub(this.aa, |
| this.qb),this.Kc(),this.Jc());he(this)};l.Jc=function(){var a=(this.m-this.q)/this.aa|0,c=(this.m-this.q)%this.aa,a=Math.min(this.qb-1,a);this.t.send("screen-update-cursor",[a,c])};function he(a){if(a.yb)a.xa=a.pa,a.wa=0;else for(var c=98304|a.q<<1,d,f,g=0;g<a.qb;g++)for(var h=0;h<a.aa;h++)d=a.la[c],f=a.la[c|1],a.t.send("screen-put-char",[g,h,d,a.Xb[f>>4&15],a.Xb[f&15]]),c+=2}l.ab=function(){};l.Ub=function(a,c){this.aa=a;this.qb=c;this.t.send("screen-set-size-text",[a,c])}; |
| l.Ec=function(a,c,d){this.gd=a;this.Sd=c;this.oa.cf=d;this.oa.oe=!0;this.oa.wg=a;this.oa.xg=c;this.t.send("screen-set-size-graphical",[a,c,d])};l.Kc=function(){this.t.send("screen-update-cursor-scanline",[this.bd,this.ad])};function ie(a,c){var d=!1,f=0,g=0;switch(c){case 3:a.Ub(a.Lc,25);break;case 16:f=640;g=350;d=!0;a.Nb=!1;break;case 18:f=640;g=480;d=!0;a.Nb=!1;break;case 19:f=320,g=200,d=!0,a.Nb=!0}a.t.send("screen-set-mode",d);(a.oa.oe=d)&&a.Ec(f,g,8);a.yb=d} |
| l.Hf=function(a){-1===this.j?this.j=a:(16>this.j&&(this.Pd[this.j]=a),this.j=-1)};l.Ce=function(){var a=this.j;this.j=-1;return a};l.Gf=function(){return this.Ce()&255|this.De()<<8&65280};l.De=function(){return this.j=-1};l.If=function(a){this.Rd=a;103===a?ie(this,3):227===a?ie(this,18):99===a?ie(this,19):163===a?ie(this,16):ie(this,3)};l.Kf=function(a){this.Jb=a};l.Jf=function(){return this.Jb};l.Mf=function(a){switch(this.Jb){case 2:this.e=a;break;case 4:this.Td=a}}; |
| l.Lf=function(){switch(this.Jb){case 2:return this.e;case 4:return this.Td;case 6:return 18}return 0};l.Nf=function(){};l.Of=function(a){this.Ra=3*a};l.Pf=function(a){var c=this.Ra/3|0,d=this.Ra%3,f=this.Xb[c];a=255*a/63&255;this.Xb[c]=0===d?f&-16711681|a<<16:1===d?f&-65281|a<<8:f&-256|a;this.Ra++};l.Qf=function(){return this.Rd};l.Sf=function(a){this.ob=a};l.Rf=function(){return this.ob}; |
| l.Uf=function(a){switch(this.ob){case 3:this.dd=a;break;case 4:this.ed=a;break;case 5:this.cd=a;break;case 8:this.b=a}};l.Tf=function(){switch(this.ob){case 3:return this.dd;case 4:return this.ed;case 5:return this.cd;case 8:return this.b}return 0};l.Vf=function(a){this.v=a}; |
| l.Xf=function(a){switch(this.v){case 2:this.Lc=a;break;case 9:this.Qd=a;7===(a&31)?this.Ub(this.Lc,50):this.Ub(this.Lc,25);break;case 10:this.bd=a;this.Kc();break;case 11:this.ad=a;this.Kc();break;case 12:this.q=this.q&255|a<<8;he(this);break;case 13:this.q=this.q&65280|a;he(this);break;case 14:this.m=this.m&255|a<<8;this.Jc();break;case 15:this.m=this.m&65280|a,this.Jc()}}; |
| l.Wf=function(){return 9===this.v?this.Qd:10===this.v?this.bd:11===this.v?this.ad:14===this.v?this.m>>8:15===this.v?this.m&255:0};l.Yf=function(){this.fd^=8;this.j=-1;return this.fd};l.Df=function(a){this.fb=a}; |
| l.Ff=function(a){switch(this.fb){case 1:this.ia=a;2560<this.ia&&(this.ia=2560);break;case 2:this.ea=a;1600<this.ea&&(this.ea=1600);break;case 3:this.Fc=a;break;case 4:this.jc=1===(a&1);this.Ia=a;break;case 5:this.Ja=a<<16;break;case 9:he(this)}!this.jc||this.ia&&this.ea||(this.jc=!1);this.jc&&4===this.fb&&(this.Ec(this.ia,this.ea,this.Fc),this.t.send("screen-set-mode",!0),this.Nb=this.yb=!0);this.jc||(this.Ja=0)};l.Ef=function(){return je(this,this.fb)}; |
| function je(a,c){switch(c){case 0:return 45248;case 1:return a.Ia&2?2560:a.ia;case 2:return a.Ia&2?1600:a.ea;case 3:return a.Ia&2?32:a.Fc;case 4:return a.Ia;case 5:return a.Ja>>>16;case 6:return a.gd;case 8:return 0;case 10:return a.pa/65536|0}return 255};function nd(a,c){this.S=a.I.S;this.r=a;this.t=c;this.lc=this.ac=!1;this.xc=this.Ab=this.zb=0;this.R=this.J=this.q=this.F=this.Y=this.v=this.xd=!1;this.ba=new Kd(32);this.m=0;this.Dc=100;this.Xc=4;this.j=!1;this.se=-1;this.b=new Kd(32);this.t.register("keyboard-code",function(a){this.xd&&(this.ba.push(a),ke(this))},this);this.t.register("mouse-click",function(a){this.lc&&(this.xc=a[0]|a[2]<<1|a[1]<<2,this.ac&&le(this,0,0))},this);this.t.register("mouse-delta",function(a){var c=a[1];if(this.lc){var g= |
| this.Xc*this.Dc/80;this.zb+=a[0]*g;this.Ab+=c*g;this.ac&&(a=this.zb|0,c=this.Ab|0,!a&&!c||Date.now()-this.se<1E3/this.Dc||(this.zb-=a,this.Ab-=c,le(this,a,c)))}},this);this.t.register("mouse-wheel",function(){},this);this.e=5;this.aa=this.ea=!1;X(a.p,96,this,this.fg);X(a.p,100,this,this.hg);Y(a.p,96,this,this.gg);Y(a.p,100,this,this.ig);this.ja=[this.t,this.S,this.r]}l=nd.prototype;l.$a=function(){this.t.send("mouse-enable",this.lc)};function me(a){a.e&2&&a.S.H(12)} |
| function ke(a){a.e&1&&a.S.H(1)}function le(a,c,d){var f=(0>d)<<5|(0>c)<<4|8|a.xc;a.se=Date.now();a.j&&(c=ne(c),d=ne(d));a.b.push(f);a.b.push(c);a.b.push(d);me(a)}function ne(a){var c=a>>31;switch(Math.abs(a)){case 0:case 1:case 3:return a;case 2:return c;case 4:return 6*c;case 5:return 9*c;default:return a<<1}}l.ab=function(){}; |
| l.fg=function(){if(!this.ba.length&&!this.b.length)return this.m;(this.ba.length&&this.b.length?0!==(this.S.X&2):this.ba.length)?(this.m=this.ba.shift(),1<=this.ba.length&&ke(this)):(this.m=this.b.shift(),1<=this.b.length&&me(this));return this.m};l.hg=function(){var a=16;if(this.b.length||this.ba.length)a|=1;this.b.length&&(a|=32);return a}; |
| l.gg=function(a){if(this.aa)ke(this),this.e=a,this.aa=!1;else if(this.ea)this.ea=!1,this.b.clear(),this.b.push(a),me(this);else if(this.Y)this.Y=!1,this.b.clear(),this.b.push(250),this.Dc=a,me(this);else if(this.R)this.R=!1,this.b.clear(),this.b.push(250),this.Xc=3<a?4:1<<a,me(this);else if(this.F)this.F=!1,this.ba.push(250),ke(this);else if(this.q)this.q=!1,this.ba.push(250),ke(this),a||this.ba.push(2);else if(this.J)this.J=!1,this.ba.push(250),ke(this);else if(this.v){this.v=!1;this.ba.clear(); |
| this.b.clear();this.b.push(250);switch(a){case 230:this.j=!1;break;case 231:this.j=!0;break;case 232:this.R=!0;break;case 233:le(this,0,0);break;case 242:this.b.push(0);this.b.push(0);this.xc=this.zb=this.Ab=0;break;case 243:this.Y=!0;break;case 244:this.lc=this.ac=!0;this.t.send("mouse-enable",!0);this.xc=this.zb=this.Ab=0;break;case 245:this.ac=!1;break;case 246:this.ac=!1;this.Dc=100;this.j=!1;this.Xc=4;break;case 255:this.b.push(170),this.b.push(0),this.lc=!0,this.t.send("mouse-enable",!0),this.ac= |
| !1,this.Dc=100,this.j=!1,this.Xc=4,this.xc=this.zb=this.Ab=0}me(this)}else{this.b.clear();this.ba.clear();this.ba.push(250);switch(a){case 237:this.F=!0;break;case 240:this.q=!0;break;case 242:this.ba.push(171);this.ba.push(83);break;case 243:this.J=!0;break;case 244:this.xd=!0;break;case 245:this.xd=!1;break;case 255:this.ba.clear(),this.ba.push(250),this.ba.push(170),this.ba.push(0)}ke(this)}}; |
| l.ig=function(a){switch(a){case 32:this.ba.clear();this.b.clear();this.ba.push(this.e);break;case 96:this.aa=!0;break;case 211:this.ea=!0;break;case 212:this.v=!0;break;case 167:this.e|=32;break;case 168:this.e&=-33;break;case 169:this.ba.clear();this.b.clear();this.ba.push(0);break;case 170:this.ba.clear();this.b.clear();this.ba.push(85);break;case 171:this.ba.clear();this.b.clear();this.ba.push(0);break;case 173:this.e|=16;break;case 174:this.e&=-17;break;case 254:throw a=this.r,a.reset(),dd(a), |
| 233495534;}};function ed(a,c){this.Va=this.X=this.Cd=this.Tc=0;this.e=void 0===c;this.b=void 0;this.yd=!1;this.state=0;this.ld=this.Ie=1;this.e?(this.b=new ed(a,this),this.Nc=function(){var c=this.Va&this.Tc;if(!c)return this.b.Nc();c&=-c;if(this.X&&(this.X&-this.X)<=c)return!1;var d=Ed(c),c=1<<d;this.Va&=~c;if(4===c)return this.b.Nc();this.ld||(this.X|=c);a.W=a.l;xc(a,this.Cd|d,!1,!1);return!0}):this.Nc=function(){var d=this.Va&this.Tc;if(!d)return!1;d&=-d;if(this.X&&(this.X&-this.X)<=d)return!1;var g=Ed(d), |
| d=1<<g;this.Va&=~d;this.X|=d;a.W=a.l;xc(a,this.Cd|g,!1,!1);this.Va&&c.H(2);this.ld||(this.X&=~d);return!0};this.j=function(){this.e&&this.b.j()};var d;d=this.e?32:160;Y(a.p,d,this,function(a){if(a&16)this.yd=a&1,this.state=1;else if(a&8)this.Ie=a&1;else{var c=a>>5;1===c?this.X&=this.X-1:3===c&&(this.X&=~(1<<(a&7)))}});X(a.p,d,this,function(){return this.Ie?this.Va:this.X});Y(a.p,d|1,this,function(a){0===this.state?this.yd?(this.yd=!1,this.ld=a&2):this.Tc=~a:1===this.state?(this.Cd=a,this.state++): |
| 2===this.state&&(this.state=0)});X(a.p,d|1,this,function(){return~this.Tc&255});this.H=this.e?function(c){8<=c&&(this.b.H(c-8),c=2);this.Va|=1<<c;oc(a)}:function(a){this.Va|=1<<a}};function fd(a){this.r=a;this.S=a.I.S;this.Oc=0;this.Ta=new Uint8Array(256);this.J=this.b=Date.now();this.e=0;this.v=!0;this.R=!1;this.F=.9765625;this.m=38;this.j=2;this.q=0;Y(a.p,112,this,function(a){this.Oc=a&127});Y(a.p,113,this,this.aa);X(a.p,113,this,this.Y);this.ja=[this.r,this.S]}fd.prototype.hb=function(a){this.b+=a-this.J;this.J=a;return this.R&&this.v&&this.e<a?(this.v=!1,this.S.H(8),this.q|=64,this.e+=this.F*Math.ceil((a-this.e)/this.F),Math.max(0,a-this.e)):100}; |
| function oe(a,c){var d;if(a.j&4)d=c;else{d=c;for(var f=0,g=0,h;d;)h=d%10,g|=h<<4*f,f++,d=(d-h)/10;d=g}return d} |
| fd.prototype.Y=function(){switch(this.Oc){case 0:return oe(this,(new Date(this.b)).getUTCSeconds());case 2:return oe(this,(new Date(this.b)).getUTCMinutes());case 4:return oe(this,(new Date(this.b)).getUTCHours());case 7:return oe(this,(new Date(this.b)).getUTCDate());case 8:return oe(this,(new Date(this.b)).getUTCMonth()+1);case 9:return oe(this,(new Date(this.b)).getUTCFullYear()%100);case 10:return this.m;case 11:return this.j;case 12:return this.v=!0,this.q;case 13:return 255;case 50:return oe(this, |
| (new Date(this.b)).getUTCFullYear()/100|0);default:return this.Ta[this.Oc]}};fd.prototype.aa=function(a){switch(this.Oc){case 10:this.m=a&127;this.F=1E3/(32768>>(this.m&15)-1);break;case 11:this.j=a,this.j&64&&(this.e=Date.now())}this.R=64===(this.j&64)&&0<(this.m&15)};function od(a,c,d){this.t=d;this.S=a.I.S;this.Ob=this.ec=this.$b=this.jb=0;this.Pa=1;this.b=this.Le=this.Bf=this.xe=0;this.input=new Kd(4096);this.qd=[];if(1E3===c||1016===c)this.b=4;else if(1E3===c||1E3===c)this.b=3;else return;this.t.register("serial0-input",function(a){this.input.push(a);this.jb|=4096;this.Ob&1&&pe(this)},this);a=a.p;Y(a,c,this,function(a){if(this.ec&128)this.$b=this.$b&-256|a;else if(qe(this),255!==a){var c=String.fromCharCode(a);this.t.send("serial0-output-char",c);this.qd.push(a); |
| "\n"===c&&(this.t.send("serial0-output-line",String.fromCharCode.apply("",this.qd)),this.qd=[])}});Y(a,c|1,this,function(a){this.ec&128?this.$b=this.$b&255|a<<8:(this.Ob=a,re(this))});X(a,c,this,function(){if(this.ec&128)return this.$b&255;var a=this.input.shift();this.input.length&&pe(this);return a});X(a,c|1,this,function(){return this.ec&128?this.$b>>8:this.Ob});X(a,c|2,this,function(){var a=this.Pa&15|192;2===this.Pa?se(this,2):12===this.Pa&&se(this,12);return a});Y(a,c|2,this,function(){});X(a, |
| c|3,this,function(){return this.ec});Y(a,c|3,this,function(a){this.ec=a});X(a,c|4,this,function(){return this.xe});Y(a,c|4,this,function(a){this.xe=a});X(a,c|5,this,function(){var a=0;this.input.length&&(a|=1);return a|96});Y(a,c|5,this,function(){});X(a,c|6,this,function(){return this.Bf});Y(a,c|6,this,function(){});X(a,c|7,this,function(){return this.Le});Y(a,c|7,this,function(a){this.Le=a});this.ja=[this.t,this.S]}od.prototype.H=function(){this.S.H(this.b)}; |
| function se(a,c){a.jb&=~(1<<c);a.Pa=1;c===a.Pa&&re(a)}function pe(a){a.jb|=4096;a.Ob&1&&6!=a.Pa&&4!=a.Pa&&(a.Pa=12,a.H())}function qe(a){a.jb|=4;a.Ob&2&&(a.Pa&1||0==a.Pa||2==a.Pa)&&(a.Pa=2,a.H())}function re(a){a.jb&4096&&a.Ob&1?pe(a):a.jb&4&&a.Ob&2?qe(a):a.Pa=1};function jd(){};function te(a){this.message=a}te.prototype=Error(); |
| function ue(a,c){if("object"!==typeof a||null===a||a instanceof Array)return a;if(a.constructor===Object){for(var d=Object.keys(a),f={},g=0;g<d.length;g++){var h=d[g];f[h]=ue(a[h],c)}return f}if(a.BYTES_PER_ELEMENT)return{Wd:a.constructor.name,md:c.push(a.buffer)-1};if(a instanceof ArrayBuffer)return{Wd:"ArrayBuffer",md:c.push(a)-1};var k;a.ja&&(k=a.ja.slice(),k.push(a.ja));d=Object.keys(a);f={};g=0;a:for(;g<d.length;g++){var h=d[g],m=a[h];if("function"!==typeof m){if(k&&"object"===typeof m&&m)for(var p= |
| 0;p<k.length;p++)if(k[p]===m)continue a;f[h]=ue(m,c)}}return f} |
| function ve(a,c,d){if("object"!==typeof c||c instanceof Array||null===c)return c;var f=c.Wd;if(void 0===f){for(var f=Object.keys(c),g=0;g<f.length;g++){var h=f[g];a[h]=ve(a[h],c[h],d)}a.$a&&a.$a();return a}if("ArrayBuffer"===f)return c=d.ne[c.md],a&&a.byteLength===c.length&&(new Uint8Array(a)).set(new Uint8Array(d.Bd,c.offset,c.length)),a;f={Uint8Array:Uint8Array,Int8Array:Int8Array,Uint16Array:Uint16Array,Int16Array:Int16Array,Uint32Array:Uint32Array,Int32Array:Int32Array,Float32Array:Float32Array, |
| Float64Array:Float64Array}[f];c=d.ne[c.md];return a&&a.constructor===f&&0===a.byteOffset&&a.byteLength===c.length?((new Uint8Array(a.buffer)).set(new Uint8Array(d.Bd,c.offset,c.length),a.byteOffset),a):new f(d.Bd.slice(c.offset,c.offset+c.length))} |
| function we(a,c){var d=c.byteLength;if(16>d)throw new te("Invalid length: "+d);var f=new Int32Array(c,0,4);if(-2039052682!==f[0])throw new te("Invalid header: "+Id(f[0]>>>0));if(0!==f[1])throw new te("Version mismatch: dump="+f[1]+" we=0");if(f[2]!==d)throw new te("Length doesn't match header: real="+d+" header="+f[2]);f=f[3];if(0>f||f+12>=d||f%2)throw new te("Invalid info block length: "+f);for(var g=f/2,h=new Uint16Array(c,16,g),k="",d=0;d<g-8;)k+=String.fromCharCode(h[d++],h[d++],h[d++],h[d++], |
| h[d++],h[d++],h[d++],h[d++]);for(;d<g;)k+=String.fromCharCode(h[d++]);g=JSON.parse(k);f=16+f;h=g.df;for(d=0;d<h.length;d++)h[d].offset+=f;ve(a,g.state,{Bd:c,ne:h})};function sd(a,c){this.S=a.I.S;this.t=c;this.t.register("net0-receive",function(a){if(!(this.s&1)){this.t.send("eth-receive-end",[a.length]);if(60>a.length){var c=a;a=new Uint8Array(60);a.set(c)}var c=this.nc<<8,d=a.length+4,f=c+4,p=this.nc+1+(d>>8);if(c+d>this.memory.length){var x=this.memory.length-f;this.memory.set(a.subarray(0,x),f);this.memory.set(a.subarray(x),76)}else this.memory.set(a,f);p>=this.Rb&&(p+=this.Wc-this.Rb);this.memory[c]=1;this.memory[c+1]=p;this.memory[c+2]=d;this.memory[c+3]= |
| d>>8;this.nc=p;xe(this,1)}},this);this.hc=[236,16,41,128,3,1,0,0,0,0,0,2,0,0,0,0,1,184,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,0,17,0,0,184,254,0,0,0,0,0,0,0,0,11,1,0,0];this.Qb=40;this.gc=[{size:2048}];Ld(a.I.Vc,this);this.me=this.X=0;this.s=1;this.Ve=this.Ic=this.wb=this.rd=0;this.memory=new Uint8Array(32768);for(var d=[0,34,21,255*Math.random()|0,255*Math.random()|0,255*Math.random()|0],f=0;6>f;f++)this.memory[f<<1]=this.memory[f<<1|1]=d[f];this.Xa=0;this.Wc=64;this.Rb=128;this.Xd= |
| this.nc=76;d=a.p;X(d,47104,this,function(){return this.s});Y(d,47104,this,function(a){this.s=a&-5;!(this.s&1)&&a&4&&(a=this.Ve<<8,a=this.memory.subarray(a,a+this.Ic),this.t.send("net0-send",a),this.t.send("eth-transmit-end",[a.length]),xe(this,2),0===this.wb&&xe(this,64))});X(d,47117,this,function(){return 0});X(d,47118,this,function(){return 0});X(d,47119,this,function(){return 0});X(d,47135,this,function(){0===(this.s&192)&&xe(this,128);return 0});Y(d,47135,this,function(){});Y(d,47105,this,function(a){0=== |
| (this.s&192)&&(this.Wc=a)});Y(d,47106,this,function(a){0===(this.s&192)&&(this.Rb=a)});X(d,47111,this,function(){return 0===(this.s&192)?this.X:this.nc});Y(d,47111,this,function(a){0===(this.s&192)?this.X&=~a:this.nc=a});Y(d,47117,this,function(){});Y(d,47118,this,function(a){0===(this.s&192)&&(this.rd=a)});Y(d,47114,this,function(a){0===(this.s&192)&&(this.wb=this.wb&65280|a&255)});Y(d,47115,this,function(a){0===(this.s&192)&&(this.wb=this.wb&255|a<<8&65280)});Y(d,47112,this,function(a){0===(this.s& |
| 192)&&(this.Xa=this.Xa&65280|a&255)});Y(d,47113,this,function(a){0===(this.s&192)&&(this.Xa=this.Xa&255|a<<8&65280)});Y(d,47119,this,function(a){0===(this.s&192)&&(this.me=a)});X(d,47107,this,function(){return 0===(this.s&192)?this.Xd:0});Y(d,47107,this,function(a){0===(this.s&192)&&(this.Xd=a)});X(d,47108,this,function(){return 0===(this.s&192)?35:0});Y(d,47108,this,function(a){0===(this.s&192)&&(this.Ve=a)});Y(d,47109,this,function(a){0===(this.s&192)&&(this.Ic=this.Ic&-256|a)});Y(d,47110,this, |
| function(a){0===(this.s&192)&&(this.Ic=this.Ic&255|a<<8)});X(d,47116,this,function(){return 0===(this.s&192)?9:0});X(d,47120,this,this.b,this.b,this.j);Y(d,47120,this,this.e,this.e,this.m);this.ja=[this.t,this.S]}function xe(a,c){a.X|=c;a.me&c&&a.S.H(11)}function ye(a,c){a.wb--;a.memory[a.Xa++]=c;a.Xa>=a.Rb<<8&&(a.Xa+=a.Wc-a.Rb<<8);0===a.wb&&xe(a,64)}sd.prototype.e=function(a){ye(this,a);this.rd&1&&ye(this,a>>8)};sd.prototype.m=function(a){ye(this,a);ye(this,a>>8);ye(this,a>>16);ye(this,a>>24)}; |
| function ze(a){var c=a.memory[a.Xa++];a.wb--;a.Xa>=a.Rb<<8&&(a.Xa+=a.Wc-a.Rb<<8);0===a.wb&&xe(a,64);return c}sd.prototype.b=function(){return this.rd&1?ze(this)|ze(this)<<8:ze(this)};sd.prototype.j=function(){return ze(this)|ze(this)<<8|ze(this)<<16|ze(this)<<24};function td(a,c,d){this.hc=[244,26,9,16,7,5,16,0,0,0,2,0,0,0,0,0,1,168,0,0,0,16,191,254,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,26,9,0,0,0,0,0,64,0,0,0,0,0,0,0,12,1,0,0];this.Qb=48;this.gc=[{size:2048}];Ld(a.I.Vc,this);var f=a.p;X(f,43008,this,void 0,void 0,function(){return 1});Y(f,43012,this,void 0,void 0,function(){});Y(f,43022,this,void 0,function(a){this.Id=a},void 0);X(f,43020,this,void 0,function(){return this.Tb},void 0);X(f,43016,this,void 0,void 0,function(){return 0===this.Id?this.Sb: |
| 0});Y(f,43016,this,void 0,void 0,function(a){this.Sb=a});Y(f,43026,this,function(a){this.td=a});X(f,43026,this,function(){return this.td});X(f,43027,this,function(){var a=this.X;this.X=0;return a});Y(f,43024,this,void 0,function(){var a=(this.Sb<<12)+16*this.Tb,c=a+4;this.memory.L(a);for(var a=this.memory.L(a+2),d=this.Tb-1,a=a&d;this.vc!==a;){var f=this.memory.L(c+2*this.vc);Ae(this,f);this.vc=this.vc+1&d}});this.S=a.I.S;this.t=c;this.vc=this.X=this.td=this.Id=0;this.Tb=32;this.Sb=0;this.memory= |
| a.memory;for(a=0;128>a;a++)X(f,43028+a,this,function(a){return this.za.J[a]}.bind(this,a),void 0,void 0),Y(f,43028+a,this,function(){}.bind(this,a),void 0,void 0);this.za=new aa(d,c);this.za.j=this.b.bind(this);this.ja=[this.memory,this.S,this.t];this.$a=function(){this.za.j=this.b.bind(this)}}td.prototype.reset=function(){this.vc=this.X=this.td=this.Id=0;this.Tb=32;this.Sb=0}; |
| function Ae(a,c){var d=c,f=a.Sb<<12,g=0,h=[];do{var k=f+16*d,m=a.memory.L(k+12);if(m&2)break;var p=I(a.memory,k),d=I(a.memory,k+4),x=I(a.memory,k+8)>>>0;h.push({jd:p,$e:d,Ed:x});if(m&1)d=a.memory.L(k+14);else{d=-1;break}}while(1);var A=-1,D=0;da(a.za,{start:c,next:d},function(){if(D>=A){if(g===h.length)return 0;var a=h[g++];p=a.jd;A=a.Ed;D=0}return this.memory.M(p+D++)}.bind(a))} |
| td.prototype.b=function(a){if(-1!==a.next){var c=this.Tb-1,d=this.za.F,f=a.next,g=this.Sb<<12,h=0,k=[];do{var f=g+16*f,m=this.memory.L(f+12);if(0===(m&2))break;var p=I(this.memory,f),x=I(this.memory,f+4),A=I(this.memory,f+8)>>>0;k.push({jd:p,$e:x,Ed:A});if(m&1)f=this.memory.L(f+14);else break}while(1);m=-1;for(g=x=0;g<d;g++){f=this.za.m[g];if(x>=m){if(h===k.length)return 0;m=k[h++];p=m.jd;m=m.Ed;x=0}this.memory.T(p+x++,f)}h=(this.Sb<<12)+16*this.Tb+4+2*this.Tb;h=h+4095&-4096;this.memory.L(h);k=this.memory.L(h+ |
| 2);this.memory.ca(h+2,k+1);c=h+4+8*(k&c);this.memory.da(c,a.start);this.memory.da(c+4,d);this.X|=1;this.S.H(12)}};function Be(){this.wc={};this.b=void 0}Be.prototype.register=function(a,c,d){var f=this.wc[a];void 0===f&&(f=this.wc[a]=[]);f.push({he:c,Ag:d})};function Ce(a,c,d){var f=a.wc[c];void 0!==f&&(a.wc[c]=f.filter(function(a){return a.he!==d}))}Be.prototype.send=function(a,c){if(this.b){var d=this.b.wc[a];if(void 0!==d)for(var f=0;f<d.length;f++){var g=d[f];g.he.call(g.Ag,c)}}};function De(){var a=new Be,c=new Be;a.b=c;c.b=a;return[a,c]};[[1,""],[2,"CPU"],[32768,"DISK"],[4,"FPU"],[8,"MEM"],[16,"DMA"],[32,"IO"],[64,"PS2"],[128,"PIC"],[256,"VGA"],[512,"PIT"],[1024,"MOUS"],[2048,"PCI"],[4096,"BIOS"],[8192,"CD"],[16384,"SERI"],[65536,"RTC"],[131072,"HPET"],[262144,"ACPI"],[524288,"APIC"],[1048576,"NET"],[2097152,"VIO"],[4194304,"9P"]].reduce(function(a,c){a[c[0]]=c[1];return a},{});function fc(){};var na=16384;function Ee(a){this.b=[];this.j=[];this.v=a;this.m=this.J=0;this.q=function(){};this.e={};this.F=0;ma(this,"",-1);this.ja=[]}function ha(a,c,d){0==a.b[c].status?d():a.j.push({id:c,Ye:d})}function Fe(a,c){0==a.m&&(a.q=function(){});for(var d=a.j.length-1;0<=d;d--)a.j[d].id==c&&(a.j[d].Ye(),a.j.splice(d,1))} |
| function Ge(a,c){var d=JSON.parse(c);if(2!==d.version)throw"The filesystem JSON format has changed. Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";var f=d.fsroot;a.F=d.size;setTimeout(function(){for(var c=0;c<f.length;c++)He(a,f[c],0);a.q=function(){}},0)} |
| function He(a,c,d){var f=ia(a);f.name=c[0];f.size=c[1];f.yc=c[2];f.pd=f.yc;f.mc=f.yc;f.mode=c[3];f.uid=c[4];f.Aa=c[5];f.fa=d;d=f.mode&61440;if(d===na)for(c=c[6],f.Vb=!0,d=a.b.length,ja(a,f),f=0;f<c.length;f++)He(a,c[f],d);else 32768===d?(f.status=2,ja(a,f)):40960===d&&(f.Gc=c[6],ja(a,f))}function Ie(a,c){var d=a.b[c];2==d.status&&(d.status=3,a.m++,a.v&&Je(a.v+Ke(a,d.ge),function(a){a=this.e[c]=new Uint8Array(a);d.size=a.length;d.status=0;this.m--;Fe(this,c)}.bind(a),function(a){throw a;}))} |
| function ja(a,c){if(-1!=c.fa){a.b.push(c);c.ge=a.b.length-1;var d=a.b[c.fa];d.Vb=!0;c.Ha=d.Ca;d.Ca=a.b.length-1}else 0==a.b.length&&a.b.push(c)}function Le(a){this.Vb=!1;this.Ha=this.Ca=this.fa=-1;this.status=0;this.name="";this.we=this.ve=this.yc=this.mc=this.pd=this.ge=this.Aa=this.uid=this.size=0;this.Gc="";this.mode=493;this.ua={type:0,version:0,path:a};this.qa=void 0}function ia(a){return new Le(++a.J)} |
| function ma(a,c,d){var f=ia(a);f.name=c;f.fa=d;f.mode=511|na;0<=d&&(f.uid=a.b[d].uid,f.Aa=a.b[d].Aa,f.mode=a.b[d].mode&511|na);f.ua.type=na>>8;ja(a,f);return a.b.length-1}function oa(a,c,d){var f=ia(a);f.name=c;f.fa=d;f.uid=a.b[d].uid;f.Aa=a.b[d].Aa;f.ua.type=128;f.mode=a.b[d].mode&438|32768;ja(a,f);return a.b.length-1}function la(a,c,d,f,g){var h=ia(a);h.name=c;h.fa=d;h.ve=f;h.we=g;h.uid=a.b[d].uid;h.Aa=a.b[d].Aa;h.ua.type=192;h.mode=a.b[d].mode&438;ja(a,h);return a.b.length-1} |
| function ka(a,c,d,f){var g=ia(a);g.name=c;g.fa=d;g.uid=a.b[d].uid;g.Aa=a.b[d].Aa;g.ua.type=160;g.Gc=f;g.mode=40960;ja(a,g);return a.b.length-1}function Me(a,c,d,f){c=oa(a,c,d);d=a.b[c];(a.e[c]=new Uint8Array(f.length)).set(f);d.size=f.length} |
| function ga(a,c){var d=fa(a,c);if((d.mode&61440)==na){var f=fa(a,c);if(f.Vb){var g=f.fa;-1==g&&(g=0);for(var h=0,k=a.b[c].Ca;-1!=k;)h+=24+Ne(a.b[k].name),k=a.b[k].Ha;var h=h+25+26,m=a.e[c]=new Uint8Array(h);f.size=h;h=0;h+=ba(["Q","d","b","s"],[a.b[c].ua,h+13+8+1+2+1,a.b[c].mode>>12,"."],m,h);h+=ba(["Q","d","b","s"],[a.b[g].ua,h+13+8+1+2+2,a.b[g].mode>>12,".."],m,h);for(k=a.b[c].Ca;-1!=k;)h+=ba(["Q","d","b","s"],[a.b[k].ua,h+13+8+1+2+Ne(a.b[k].name),a.b[k].mode>>12,a.b[k].name],m,h),k=a.b[k].Ha;f.Vb= |
| !1}}return 2==d.status?(Ie(a,c),!1):!0}function ua(a,c){var d=fa(a,c);4==d.status&&(-1==d.status,delete a.e[c],d.size=0)}function ra(a,c,d,f,g){if(c==f&&d==g)return!0;d=sa(a,c,d);if(-1==d)return!1;var h=sa(a,f,g);-1!=h&&ta(a,h);h=a.b[d];if(a.b[h.fa].Ca==d)a.b[h.fa].Ca=h.Ha;else{var k=Oe(a,d);a.b[k].Ha=h.Ha}h.fa=f;h.name=g;h.ua.version++;h.Ha=a.b[h.fa].Ca;a.b[h.fa].Ca=d;a.b[c].Vb=!0;return a.b[f].Vb=!0} |
| function qa(a,c,d,f,g){var h=a.b[c],k=a.e[c];!k||k.length<d+f?(pa(a,c,Math.floor(3*(d+f)/2)),h.size=d+f,k=a.e[c]):h.size<d+f&&(h.size=d+f);for(a=0;a<f;a++)k[d+a]=g()}function sa(a,c,d){for(c=a.b[c].Ca;-1!=c;){if(a.b[c].name==d)return c;c=a.b[c].Ha}return-1}function Ke(a,c){for(var d="";0!=c;)d="/"+a.b[c].name+d,c=a.b[c].fa;return d.substring(1)}function Oe(a,c){for(var d=fa(a,c),d=a.b[d.fa].Ca;-1!=d&&a.b[d].Ha!=c;)d=a.b[d].Ha;return d} |
| function ta(a,c){if(0==c)return!1;var d=fa(a,c);if((d.mode&61440)==na&&-1!=d.Ca)return!1;if(a.b[d.fa].Ca==c)a.b[d.fa].Ca=d.Ha;else{var f=Oe(a,c);a.b[f].Ha=d.Ha}a.b[d.fa].Vb=!0;d.status=4;d.Ha=-1;d.Ca=-1;d.fa=-1;return!0}function fa(a,c){return isNaN(c)||0>c||c>a.b.length?0:a.b[c]}function pa(a,c,d){var f=fa(a,c),g=a.e[c];if(d!=f.size&&(a=a.e[c]=new Uint8Array(d),f.size=d,g))for(d=Math.min(g.length,f.size),f=0;f<d;f++)a[f]=g[f]} |
| function Pe(a,c){c=c.replace("//","/");var d=c.split("/"),f=d.length;0==d[f-1].length&&d.pop();0==d[0].length&&d.shift();for(var f=d.length,g=0,h=-1,k=0;k<f;k++){h=sa(a,g,d[k]);if(-1==h)return k<f-1?{id:-1,fa:-1,name:d[k]}:{id:-1,fa:g,name:d[k]};g=h}return{id:h,fa:g,name:d[k]}} |
| function va(a,c){var d=fa(a,c);if(d.qa)return d.qa.length;d.qa=new Uint8Array(12);d.qa[0]=0;d.qa[1]=0;d.qa[2]=0;d.qa[3]=1;d.qa[4]=255;d.qa[5]=255;d.qa[6]=255;d.qa[7]=255;d.qa[8]=255;d.qa[9]=255;d.qa[10]=255;d.qa[11]=255;return d.qa.length};function Je(a,c,d){var f=new XMLHttpRequest;f.open("GET",a,!0);f.responseType="arraybuffer";f.onreadystatechange=function(){if(4==f.readyState)if(200!=f.status&&0!=f.status)d("Error: Could not load file "+a);else{var g=f.response;g?c(g):d("Error: No data received from: "+a)}};f.send(null)};function ba(a,c,d,f){for(var g,h=0,k=0;k<a.length;k++)switch(g=c[k],a[k]){case "w":d[f++]=g&255;d[f++]=g>>8&255;d[f++]=g>>16&255;d[f++]=g>>24&255;h+=4;break;case "d":d[f++]=g&255;d[f++]=g>>8&255;d[f++]=g>>16&255;d[f++]=g>>24&255;d[f++]=0;d[f++]=0;d[f++]=0;d[f++]=0;h+=8;break;case "h":d[f++]=g&255;d[f++]=g>>8;h+=2;break;case "b":d[f++]=g;h+=1;break;case "s":var m=f,p=0;d[f++]=0;d[f++]=0;var h=h+2,x;for(x in g)Qe(g.charCodeAt(x)).forEach(function(a){d[f++]=a;h+=1;p++});d[m+0]=p&255;d[m+1]=p>>8&255; |
| break;case "Q":ba(["b","w","d"],[g.type,g.version,g.path],d,f),f+=13,h+=13}return h} |
| function ea(a,c){for(var d=[],f=0;f<a.length;f++)switch(a[f]){case "w":var g=c(),g=g+(c()<<8),g=g+(c()<<16),g=g+(c()<<24>>>0);d.push(g);break;case "d":g=c();g+=c()<<8;g+=c()<<16;g+=c()<<24>>>0;c();c();c();c();d.push(g);break;case "h":g=c();d.push(g+(c()<<8));break;case "b":d.push(c());break;case "s":for(var g=c(),g=g+(c()<<8),h="",k=new Re,m=0;m<g;m++){var p=k.j(c());-1!=p&&(h+=String.fromCharCode(p))}d.push(h)}return d};function Re(){this.b=new Uint8Array(5);this.e=0;this.j=function(a){this.b[this.e]=a;this.e++;switch(this.e){case 1:if(128>this.b[0])return this.e=0,this.b[0];break;case 2:if(192==(this.b[0]&224)&&128==(this.b[1]&192))return this.e=0,(this.b[0]&31)<<6|this.b[1]&63}return-1}}function Qe(a){if(128>a)return[a];if(2048>a)return[192|a>>6&31,128|a&63]}function Ne(a){for(var c=0,d=0;d<a.length;d++)c+=128>a.charCodeAt(d)?1:2;return c};function Se(a){function c(a){return a.shiftKey&&a.ctrlKey&&74===a.keyCode||!p.b?!1:a.target?"phone_keyboard"===a.target.className||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName:!0}function d(a){if(c(a)){var d=a.keyCode;if(!m[d])return!1;m[d]=!1;h(d,!1)||a.preventDefault()}}function f(a){if(c(a)){var d=a.keyCode;m[d]&&h(d,!1);m[d]=!0;h(d,!0)||a.preventDefault()}}function g(){for(var a=Object.keys(m),c,d=0;d<a.length;d++)c=+a[d],m[c]&&h(c,!1);m={}}function h(a,c){if(p.t){if(a>=x.length|| |
| 0===x[a])return console.log("Missing char in map: "+a.toString(16)),!0;var d=x[a];c||(d|=128);255<d?(k(d>>8),k(d&255)):k(d);return!1}}function k(a){p.t.send("keyboard-code",a)}var m={},p=this;this.b=!0;var x=new Uint16Array([0,0,0,0,0,0,0,0,14,15,0,0,0,28,0,0,42,29,56,0,58,0,0,0,0,0,0,1,0,0,0,0,57,57417,57425,57423,57415,57419,57416,57421,80,0,0,0,0,82,83,0,11,2,3,4,5,6,7,8,9,10,0,39,0,13,0,0,0,30,48,46,32,18,33,34,35,23,36,37,38,50,49,24,25,16,19,31,20,22,47,17,45,21,44,57435,57436,57437,0,0,82, |
| 79,80,81,75,76,77,71,72,73,0,0,0,0,0,0,59,60,61,62,63,64,65,66,67,68,87,88,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,39,13,51,12,52,53,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,43,27,40,0,57435,57400,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);this.t=a;this.ab=function(){window.removeEventListener("keyup",d,!1);window.removeEventListener("keydown",f,!1);window.removeEventListener("blur",g,!1)};this.Ua=function(){"undefined"!== |
| typeof window&&(this.ab(),window.addEventListener("keyup",d,!1),window.addEventListener("keydown",f,!1),window.addEventListener("blur",g,!1))};this.Ua()};function Te(a){function c(a){return A.enabled&&A.b&&(!a.target||"mousemove"===a.type||"INPUT"!==a.target.nodeName&&"TEXTAREA"!==a.target.nodeName)}function d(a){if(A.t&&c(a)){var d;d=a.webkitMovementX||a.mozMovementX||0;a=a.webkitMovementY||a.mozMovementY||0;a=-(.15*a);A.t.send("mouse-delta",[.15*d,a])}}function f(a){c(a)&&a.preventDefault()}function g(a){c(a)&&k(a,!0)}function h(a){c(a)&&k(a,!1)}function k(a,c){A.t&&(1===a.which?m=c:2===a.which?x=c:3===a.which?p=c:console.log("Unknown event.which: "+ |
| a.which),A.t.send("mouse-click",[m,x,p]),a.preventDefault())}var m=!1,p=!1,x=!1,A=this;this.enabled=!1;this.b=!0;this.t=a;this.t.register("mouse-enable",function(a){this.enabled=a},this);this.ab=function(){window.removeEventListener("mousemove",d,!1);document.removeEventListener("contextmenu",f,!1);window.removeEventListener("mousedown",g,!1);window.removeEventListener("mouseup",h,!1)};this.Ua=function(){"undefined"!==typeof window&&(this.ab(),window.addEventListener("mousemove",d,!1),document.addEventListener("contextmenu", |
| f,!1),window.addEventListener("mousedown",g,!1),window.addEventListener("mouseup",h,!1))};this.Ua()};function Ue(a,c){function d(a){h.t&&h.enabled&&(h.j(a.which),a.preventDefault())}function f(a){8===a.which&&(h.j(127),a.preventDefault())}function g(a){if(h.enabled){for(var c=a.clipboardData.getData("text/plain"),d=0;d<c.length;d++)h.j(c.charCodeAt(d));a.preventDefault()}}var h=this;this.enabled=!0;this.t=c;this.e=[];this.m=this.b=!1;this.t.register("serial0-output-char",function(a){this.zg(a)},this);this.ab=function(){a.removeEventListener("keypress",d,!1);a.removeEventListener("keydown",f,!1); |
| a.removeEventListener("paste",g,!1)};this.Ua=function(){this.ab();a.addEventListener("keypress",d,!1);a.addEventListener("keydown",f,!1);a.addEventListener("paste",g,!1);setInterval(function(){this.b&&(this.b=!1,a.value=this.e.join(""),this.m&&(this.m=!1,a.scrollTop=1E9))}.bind(this),16)};this.Ua();this.zg=function(a){"\b"===a?(this.e.pop(),this.b=!0):"\r"!==a&&(this.b=!0,this.e.push(a),"\n"===a&&(this.m=!0))};this.j=function(a){h.t&&h.t.send("serial0-input",a)}};function Ve(a,c){this.t=c;this.b=void 0;this.e=[];this.url=a;this.j=Date.now()-1E4;this.t.register("net0-send",function(a){this.send(a)},this)}l=Ve.prototype;l.vf=function(a){this.t&&this.t.send("net0-receive",new Uint8Array(a.data))};l.le=function(){this.nd();setTimeout(this.nd.bind(this),1E4)};l.wf=function(){for(var a=0;a<this.e.length;a++)this.send(this.e[a]);this.e=[]};l.uf=function(){};l.ab=function(){this.b&&this.b.close()}; |
| l.nd=function(){if(this.b){var a=this.b.readyState;if(0===a||1===a)return}if(!(this.j+1E4>Date.now())){this.j=Date.now();try{this.b=new WebSocket(this.url)}catch(c){this.le()}this.b.binaryType="arraybuffer";this.b.onopen=this.wf.bind(this);this.b.onmessage=this.vf.bind(this);this.b.onclose=this.le.bind(this);this.b.onerror=this.uf.bind(this)}};l.send=function(a){this.b&&1===this.b.readyState?this.b.send(a):(this.e.push(a),128<this.e.length&&(this.e=this.e.slice(-64)),this.nd())};(function(){function a(a,c){var d=new XMLHttpRequest;d.open(c.method||"get",a,!0);c.kd||(d.responseType="arraybuffer");if(c.headers)for(var f=Object.keys(c.headers),p=0;p<f.length;p++){var x=f[p];d.setRequestHeader(x,c.headers[x])}d.onload=function(){4===d.readyState&&(200!==d.status&&206!==d.status?console.log("Loading the image `"+a+"` failed"):d.response&&c.done&&c.done(d.response,d))};c.Fe&&(d.onprogress=function(a){c.Fe(a)});d.send(null)}function c(a,c){this.j=a;this.b=256;this.byteLength=c; |
| this.e={};this.onprogress=this.onload=void 0}function d(a){this.b=a;this.byteLength=a.size;1073741824<a.size&&console.warn("SyncFileBuffer: Allocating buffer of "+(a.size>>20)+" MB ...");this.buffer=new ArrayBuffer(a.size);this.onprogress=this.onload=void 0}function f(a){this.j=a;this.byteLength=a.size;this.b=256;this.e={};this.onprogress=this.onload=void 0}Fd=a;Gd=c;Hd=f;zd=d;c.prototype.load=function(){void 0!==this.byteLength?this.onload&&this.onload({}):a(this.j,{done:function(a,c){var d=(c.getResponseHeader("Content-Range")|| |
| "").match(/\/(\d+)\s*$/);d?(this.byteLength=+d[1],this.onload&&this.onload({})):console.assert(!1,"Cannot use: "+this.j+". `Range: bytes=...` header not supported")}.bind(this),headers:{Range:"bytes=0-0"}})};c.prototype.get=function(c,d,f){console.assert(0===c%this.b);console.assert(0===d%this.b);console.assert(d);a(this.j,{done:function(a){a=new Uint8Array(a);this.m(c,d,a);f(a)}.bind(this),headers:{Range:"bytes="+c+"-"+(c+d-1)}})};c.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength); |
| var f=c.length;console.assert(0===a%this.b);console.assert(0===f%this.b);console.assert(f);a/=this.b;for(var f=f/this.b,p=0;p<f;p++){var x=this.e[a+p];void 0===x&&(x=this.e[a+p]=new Uint8Array(this.b));var A=c.subarray(p*this.b,(p+1)*this.b);x.set(A);console.assert(x.byteLength===A.length)}d()};c.prototype.m=function(a,c,d){a/=this.b;c/=this.b;for(var f=0;f<c;f++){var p=this.e[a+f];p&&d.set(p,f*this.b)}};c.prototype.qc=function(a){a()};d.prototype.load=function(){this.e(0)};d.prototype.e=function(a){var c= |
| new FileReader;c.onload=function(c){c=new Uint8Array(c.target.result);(new Uint8Array(this.buffer,a)).set(c);this.e(a+4194304)}.bind(this);if(this.onprogress)this.onprogress({loaded:a,total:this.byteLength,lengthComputable:!0});if(a<this.byteLength){var d=Math.min(a+4194304,this.byteLength);c.readAsArrayBuffer(this.b.slice(a,d))}else this.b=void 0,this.onload&&this.onload({buffer:this.buffer})};d.prototype.get=function(a,c,d){console.assert(a+c<=this.byteLength);d(new Uint8Array(this.buffer,a,c))}; |
| d.prototype.set=function(a,c,d){console.assert(a+c.byteLength<=this.byteLength);(new Uint8Array(this.buffer,a,c.byteLength)).set(c);d()};d.prototype.qc=function(a){a(this.buffer)};f.prototype.load=function(){this.onload&&this.onload({})};f.prototype.get=function(a,c,d){console.assert(0===a%this.b);console.assert(0===c%this.b);console.assert(c);var f=new FileReader;f.onload=function(f){f=new Uint8Array(f.target.result);this.m(a,c,f);d(f)}.bind(this);f.readAsArrayBuffer(this.j.slice(a,a+c))};f.prototype.set= |
| c.prototype.set;f.prototype.m=c.prototype.m;f.prototype.qc=function(a){a()}})();function Z(a){function c(a,c){switch(a){case "hda":m.Da=c;break;case "hdb":m.Xg=c;break;case "cdrom":m.sa=c;break;case "fda":m.Ba=c;break;case "fdb":m.fe=c;break;case "bios":m.Kb=c.buffer;break;case "vga_bios":m.Cg=c.buffer;break;case "initial_state":m.tc=c.buffer;break;case "fs9p_json":m.je=c.buffer}}function d(a,c){if(c){c={buffer:c.buffer,async:c.async,url:c.url,size:c.size};if("bios"===a||"vga_bios"===a||"initial_state"===a)c.async=!1;if(c.buffer instanceof ArrayBuffer){var d=new Jd(c.buffer); |
| p.push({name:a,fc:d})}else c.buffer instanceof File?(void 0===c.async&&(c.async=16777216>c.buffer.size),d=c.async?new zd(c.buffer):new Hd(c.buffer),p.push({name:a,fc:d})):c.url&&(c.async?(d=new Gd(c.url,c.size),p.push({name:a,fc:d})):p.push({name:a,url:c.url,size:c.size}))}}function f(){this.t.send("cpu-init",m);setTimeout(function(){m.tc&&we(k.r,m.tc);setTimeout(function(){m.xb&&m.je&&Ge(m.xb,m.je);a.autostart&&this.t.send("cpu-run")}.bind(this),0)}.bind(this),0)}this.od=!1;var g=De(),h=this.t=g[0]; |
| this.j=g[1];var k=this.b=new Ad(this.j);this.t.register("emulator-stopped",function(){this.od=!1},this);this.t.register("emulator-started",function(){this.od=!0},this);var m={yf:!0};m.mb=a.memory_size||67108864;m.pa=a.vga_memory_size||8388608;m.bf=a.boot_order||531;m.Ba=void 0;m.fe=void 0;a.network_relay_url&&(new Ve(a.network_relay_url,h),m.rf=!0);a.disable_keyboard||(this.m=new Se(h));a.disable_mouse||(this.q=new Te(h));a.screen_container&&(this.e=new xa(a.screen_container,h));a.serial_container&& |
| new Ue(a.serial_container,h);for(var p=[],g="bios vga_bios cdrom hda hdb fda fdb initial_state".split(" "),h=0;h<g.length;h++)d(g[h],a[g[h]]);if(a.filesystem&&(g=a.filesystem.basefs,h=a.filesystem.baseurl,this.xb=new Ee(h),m.xb=this.xb,g)){console.assert(h,"Filesystem: baseurl must be specified");var x;"object"===typeof g&&(x=g.size,g=g.url);p.push({name:"fs9p_json",url:g,size:x,kd:!0})}var A=this,D=p.length,O=function(a){if(a===D)setTimeout(f.bind(this),0);else{var d=p[a];d.fc?(d.fc.onload=function(){c(d.name, |
| d.fc);O(a+1)},d.fc.load()):Fd(d.url,{done:function(f){c(d.name,new Jd(f));O(a+1)},Fe:function(c){A.j.send("download-progress",{Ad:a,zd:D,Ug:d.url,lengthComputable:c.lengthComputable,total:d.size||c.total,loaded:c.loaded})},kd:d.kd})}}.bind(this);O(0)}l=Z.prototype;l.ic=function(){this.t.send("cpu-run")};l.hd=function(){this.t.send("cpu-stop")};l.Ud=function(){this.t.send("cpu-restart")};l.va=function(a,c){this.t.register(a,c,this)};l.vg=function(a,c){Ce(this.t,a,c)};l.Ze=function(a){we(this.b.r,a)}; |
| l.Vd=function(a){setTimeout(function(){try{for(var c=[],d=ue(this.b.r,c),f=[],g=0,h=0;h<c.length;h++){var k=c[h].byteLength;f[h]={offset:g,length:k};g+=k;g=g+3&-4}var m=JSON.stringify({df:f,state:d}),p=16+2*m.length,d=p+g,x=new ArrayBuffer(d),A=new Int32Array(x,0,4),D=new Uint16Array(x,16,m.length),O=new Uint8Array(x,p);A[0]=-2039052682;A[1]=0;A[2]=d;A[3]=2*m.length;for(h=0;h<m.length;h++)D[h]=m.charCodeAt(h);for(h=0;h<c.length;h++)O.set(new Uint8Array(c[h]),f[h].offset);a(null,x)}catch(U){a(U,null)}}.bind(this), |
| 0)};l.tf=function(){console.warn("V86Starter.prototype.get_statistics is deprecated. Use events instead.");var a={r:{Yg:this.b?this.b.r.P:0}};if(!this.b)return a;var c=this.b.r.I;c.Da&&(a.Da=c.Da.oa);c.sa&&(a.sa=c.sa.oa);c.Hd&&(a.ah={enabled:c.Hd.lc});c.Wb&&(a.Wb=c.Wb.oa);return a};l.qe=function(){return this.od};l.Uc=function(a){for(var c=0;c<a.length;c++)this.t.send("keyboard-code",a[c])};l.Ne=function(){this.e&&this.e.j()};l.Oe=function(a,c){this.e&&this.e.b(a,c)}; |
| l.Me=function(){if(this.e){var a=document.getElementById("screen_container");if(a){var c=a.requestFullScreen||a.webkitRequestFullscreen||a.mozRequestFullScreen||a.msRequestFullScreen;c&&(c.call(a),(a=document.getElementsByClassName("phone_keyboard")[0])&&a.focus());this.Fd()}}};l.Fd=function(){var a=document.body,c=a.requestPointerLock||a.mozRequestPointerLock||a.webkitRequestPointerLock;c&&c.call(a)};l.ye=function(a){this.q&&(this.q.b=a)};l.xf=function(a){this.m&&(this.m.b=a)}; |
| l.Re=function(a){for(var c=0;c<a.length;c++)this.t.send("serial0-input",a.charCodeAt(c))};l.ae=function(a,c,d){var f=this.xb;if(f){var g=a.split("/"),g=g[g.length-1];a=Pe(f,a).fa;var h=""===g||-1===a;h||Me(f,g,a,c);d&&setTimeout(function(){h?d(new We):d(null)},0)}};l.He=function(a,c){var d=this.xb;if(d){var f=Pe(d,a).id;-1===f?c(new We,null):(ga(d,f),ha(d,f,function(){var a=d.e[f];a?c(null,a.subarray(0,d.b[f].size)):c(new We,null)}))}};function We(a){this.message=a||"File not found"} |
| We.prototype=Error.prototype;"undefined"!==typeof window?window.V86Starter=Z:"undefined"!==typeof module&&"undefined"!==typeof module.exports?module.exports.V86Starter=Z:"function"===typeof importScripts&&(self.V86Starter=Z);Z.prototype.run=Z.prototype.ic;Z.prototype.stop=Z.prototype.hd;Z.prototype.restart=Z.prototype.Ud;Z.prototype.add_listener=Z.prototype.va;Z.prototype.remove_listener=Z.prototype.vg;Z.prototype.restore_state=Z.prototype.Ze;Z.prototype.save_state=Z.prototype.Vd; |
| Z.prototype.get_statistics=Z.prototype.tf;Z.prototype.is_running=Z.prototype.qe;Z.prototype.keyboard_send_scancodes=Z.prototype.Uc;Z.prototype.screen_make_screenshot=Z.prototype.Ne;Z.prototype.screen_set_scale=Z.prototype.Oe;Z.prototype.screen_go_fullscreen=Z.prototype.Me;Z.prototype.lock_mouse=Z.prototype.Fd;Z.prototype.mouse_set_status=Z.prototype.ye;Z.prototype.keyboard_set_status=Z.prototype.xf;Z.prototype.serial0_send=Z.prototype.Re;Z.prototype.create_file=Z.prototype.ae; |
| Z.prototype.read_file=Z.prototype.He; |
| //# sourceMappingURL=v86_all.js.map |