diff --git a/docs/pcjs/demos/pc-dbg.js b/docs/pcjs/demos/pc-dbg.js index b14a7879a7..e5045f6b63 100644 --- a/docs/pcjs/demos/pc-dbg.js +++ b/docs/pcjs/demos/pc-dbg.js @@ -7,113 +7,112 @@ n.send(q)}else n.open("GET",a,b),n.send();a=[];b||(h=n.responseText,200!=n.statu function ta(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}function ua(a,b,c){function d(){a-=1;0<=a&&(b()||(a=0));0=this.Zf?12:14;this.hc=1<>2;this.fb=this.hc-1;this.Ug=(this.te+this.hc)/this.hc|0;this.xe=this.Ug-1;this.sd=[];this.td=[];this.Vf=this.Wf=!1;this.Ci();this.Sa()}x(w,Ua); -Ua.prototype.Ci=function(){this.Aa=Array(this.Ug);for(var a=0;a>a.ob;0>this.ob;0>a.ob;0>a.ob].pg(b&a.fb)} -function ab(a,b){var c=b&a.fb,d=(b&a.Jb)>>a.ob;return c!=a.fb?a.Aa[d].Ej(c):a.Aa[d++].pg(c)|a.Aa[d&a.xe].pg(0)<<8}function bb(a,b,c){a.Aa[(b&a.Jb)>>a.ob].yg(b&a.fb,c&255)}function cb(a,b,c){var d=b&a.fb;b=(b&a.Jb)>>a.ob;d!=a.fb?a.Aa[b].Nj(d,c&65535):(a.Aa[b++].yg(d,c&255),a.Aa[b&a.xe].yg(0,c>>8&255))} -function eb(a){for(var b=0,c=[],d=0;d=this.Zf?12:14;this.hc=1<>2;this.eb=this.hc-1;this.Ug=(this.se+this.hc)/this.hc|0;this.we=this.Ug-1;this.sd=[];this.td=[];this.Vf=this.Wf=!1;this.Bi();this.Sa()}x(w,Ta); +Ta.prototype.Bi=function(){this.Aa=Array(this.Ug);for(var a=0;a>a.ob;0>this.ob;0>a.ob;0>a.ob].pg(b&a.eb)} +function ab(a,b){var c=b&a.eb,d=(b&a.Jb)>>a.ob;return c!=a.eb?a.Aa[d].Dj(c):a.Aa[d++].pg(c)|a.Aa[d&a.we].pg(0)<<8}function bb(a,b,c){a.Aa[(b&a.Jb)>>a.ob].yg(b&a.eb,c&255)}function cb(a,b,c){var d=b&a.eb;b=(b&a.Jb)>>a.ob;d!=a.eb?a.Aa[b].Mj(d,c&65535):(a.Aa[b++].yg(d,c&255),a.Aa[b&a.we].yg(0,c>>8&255))} +function eb(a){for(var b=0,c=[],d=0;d>2);for(d=0;d>2]>>>((a&3)<<3)&255},Zo:function(a){var b=a>>2;a=(a&3)<<3;var c=this.qa[b]>>>a;return 24>a?c&65535:c&255|(this.qa[b+1]&255)<<8},hp:function(a,b){var c=a>>2,d=(a&3)<<3;this.qa[c]=this.qa[c]&~(255<>2,d=(a&3)<<3;24>d?this.qa[c]=this.qa[c]&~(65535<>8);this.bb=!0},Yo:function(a){pb(this.Z,this.Ve+a);return this.pg(a)},ap:function(a){pb(this.Z,this.Ve+a)||pb(this.Z,this.Ve+a+1);return this.Ej(a)},jp:function(a,b){qb(this.Z,this.Ve+a);this.yg(a,b)},mp:function(a,b){qb(this.Z,this.Ve+a)||qb(this.Z,this.Ve+a+1);this.Nj(a,b)},save:function(){var a,b;if(this.ia)a=null;else if(Ra)for(a=Array(this.jk>>2),b=0;b=a.lf&&(a.lf+=a.kf,c=!0);0<=a.mf&&a.mf<=E(a)&&(a.kf=a.mf=-1,Ab(a),a.zb(),c=!0);c&&a.ca(E(a)+" cycles: checksum="+l(a.$f))}}function F(a,b,c,d){void 0!==a.ta[b]&&(void 0===d&&(d=4),void 0===c&&(Qa(a,"Register "+b+" is invalid"),a.zb()),c=l(c,d),a.ta[b].innerHTML!=c&&(a.ta[b].innerHTML=c))}k.Zg=function(){};k.gi=function(){}; -k.wb=function(a,b,c,d){var e=this;a=!1;switch(c){case "run":this.ta[c]=d;d.onclick=function(){e.Ob?e.zb(!0):e.Me(!0)};a=!0;break;case "reset":this.ta[c]=d;d.onclick=function(){e.Da&&Fb(e.Da)};a=!0;break;case "speed":this.ta[c]=d;a=!0;break;case "setSpeed":this.ta[c]=d,d.onclick=function(){Gb(e,e.Gd<<1,!0)},d.innerHTML=this.hf.toFixed(2)+"Mhz",a=!0}return a};function Ib(a,b,c){a.Je+=b;c&&(a.Yc=a.A=0)} -function Jb(a,b){var c=30;60>c&&(c=60);2>c&&(c=2);var d=1;b&&1a.qh&&(c=Math.round(c/a.Gd));return c}function zb(a){a.md=0;a.th=1;a.Je=a.ie=a.Yc=a.A=0;Ab(a);Gb(a,1)} -function Gb(a,b,c){void 0!==b&&(0.8>a.md/a.hf&&(b=1),a.Gd=b,a.hf=a.qh*a.Gd,b=a.hf.toFixed(2)+"Mhz",a.ta.setSpeed&&(a.ta.setSpeed.innerHTML=b),a.ca("target speed: "+b),c&&a.Md());Ib(a,a.ie);a.ie=0;a.jf=ma();a.Ge=0;Jb(a)} -k.Me=function(a){if(Na(this,!0)){this.Ob||(Gb(this),this.Da&&this.Da.start(this.jf,E(this)),this.Ob=!0,this.ka&&Kb(this.ka),this.ta.run&&(this.ta.run.innerHTML="Halt"),a&&this.Md());this.xj>=this.Hd&&Jb(this,!0);this.eg=0;this.rh=ma();this.Ge&&(a=this.rh-this.Ge,a>this.Fk&&(this.jf+=a,this.jf>this.rh&&(this.jf=this.rh)));try{do{this.uf(this.af?1:Math.round(this.Qn/this.th));var b=this.Yc-this.A;this.ie+=b;this.eg+=b;Ib(this,0,!0);Eb(this,b);this.dg-=b;0>=this.dg&&(this.dg+=this.Jk,this.gi());this.cg-= -b;0>=this.cg&&(this.cg+=this.Ik,this.Zg());this.nf-=b;if(0>=this.nf){this.nf+=this.Ji;break}}while(this.Ob)}catch(c){this.zb();Db(this);this.Da&&this.Da.stop(ma(),E(this));Na(this,!1);Qa(this,c.message);return}b=setTimeout;a=this.Yn;this.Ge=ma();var d=this.Fk;this.eg&&(d=Math.round(d*this.eg/this.Ji));var d=d-(this.Ge-this.rh),e=this.Ge-this.jf;e&&(this.md=Math.round(this.ie/(10*e))/100,864E5<=e&&(this.Je=0,this.ka&&Lb(this.ka,!0),Gb(this)));if(0>d||this.md>13;return this.La=e}if(b&&768>=b)return this.oa=a,this.Nc=c,this.ab=d,this.Mc=(d&24576)>>13,this.La=e}return-1}function Vb(a){return this.La+a} -function Wb(a){return this.La+a}function Rb(a,b,c){return a+b<=this.Nc?this.La+a:Tb.call(this,0,0,c)}function Tb(a,b,c){c||Xb.call(this.S,13,0);return-1}function Sb(a,b,c){return a+b<=this.Nc?this.La+a:Ub.call(this,0,0,c)}function Ub(a,b,c){c||Xb.call(this.S,13,0);return-1}Nb.prototype.save=function(){return[this.oa,this.La,this.Nc,this.ab,this.Mc,this.ug]};Nb.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.oa=a[0],this.La=a[1],this.Nc=a[2],this.ab=a[3],this.Mc=a[4],this.ug=a[5])}; -function Ob(a,b){void 0===b&&(b=!!(a.S.ad&1));b?(a.load=Qb,a.Uc=Rb,a.$b=Sb):(a.load=Pb,a.Uc=Vb,a.$b=Wb)} -function Yb(a){this.Ga=a.model||8088;var b=0;switch(this.Ga){default:case 8088:b=4772727;break;case 80286:b=6E6}xb.call(this,a,b);this.Uj=61442;this.Eg=4;this.of=255;this.yj=4;this.aa=5;this.ua=6;this.fa=7;this.ga=8;this.P=9;this.V=11;this.W=12;this.He=4;this.Lk=60;this.Mk=83;this.Vb=3;this.qb=9;this.ic=16;this.xh=1;this.Qk=19;this.Sk=28;this.Uk=16;this.Tk=21;this.Rk=37;this.Ok=2;this.Ri=9;this.Pk=5;this.Nk=33;this.Ti=10;this.Si=8;this.ig=3;this.hg=15;this.hl=51;this.il=1;this.jl=2;this.kl=4;this.gl= -32;this.ml=this.Ui=15;this.Wb=16;this.Xb=4;this.ol=11;this.nl=18;this.ll=24;this.Cb=4;this.pl=2;this.Vi=16;this.ql=17;this.$i=18;this.rl=19;this.Zi=5;this.aj=6;this.wl=2;this.vl=8;this.tl=9;this.cj=this.bj=this.sl=this.ul=10;this.Wk=80;this.Yk=144;this.Vk=86;this.Xk=154;this.$k=101;this.bl=165;this.Zk=107;this.al=171;this.yl=70;this.Al=113;this.xl=76;this.zl=124;this.dl=80;this.fl=128;this.cl=86;this.el=134;this.kg=3;this.jg=16;this.hj=10;this.gj=8;this.Bl=51;this.jc=8;this.Cl=17;this.Dl=36;this.rc= -11;this.El=16;this.lg=10;this.Pb=2;this.Oi=18;this.Pi=9-this.Pb;this.Qi=17-this.Pb;this.Wi=12;this.Xi=9-this.Pb;this.Yi=13-this.Pb;this.dj=18;this.ej=9-this.Pb;this.fj=17-this.Pb;this.ij=15;this.jj=9-this.Pb;this.kj=15-this.Pb;this.oj=11;this.pj=9-this.Pb;this.qj=10-this.Pb;this.Fl=8;this.Il=12;this.Gl=18;this.Hl=17;this.Jl=15;this.mj=8;this.lj=20;this.nj=2;this.tj=3;this.mg=9;this.sj=5;this.rj=11;this.vj=4;this.uj=17;this.Kl=11;this.Pa=Zb.slice();80186<=this.Ga&&(this.of=31,this.Pa[15]=G,this.Pa[96]= -$b,this.Pa[97]=ac,this.Pa[98]=bc,this.Pa[99]=G,this.Pa[100]=G,this.Pa[101]=G,this.Pa[102]=G,this.Pa[103]=G,this.Pa[104]=cc,this.Pa[105]=dc,this.Pa[106]=ec,this.Pa[107]=fc,this.Pa[108]=gc,this.Pa[109]=hc,this.Pa[110]=ic,this.Pa[111]=jc,this.Pa[192]=kc,this.Pa[193]=lc,this.Pa[200]=mc,this.Pa[200]=nc,this.Pa[241]=oc,pc[7]=qc,rc[7]=qc,80286<=this.Ga&&(this.Uj=2,this.Eg=0,this.Pa[15]=sc,this.Pa[99]=tc,this.Pa[84]=uc,this.P=this.ga=this.fa=this.ua=this.aa=this.yj=0,this.W=this.V=1,this.He=3,this.Lk=14, -this.Mk=16,this.Vb=2,this.ic=this.qb=7,this.xh=0,this.Qk=7,this.Sk=13,this.Uk=7,this.Tk=11,this.Rk=16,this.Ok=3,this.Ri=6,this.Pk=2,this.Nk=13,this.Si=this.Ti=5,this.ig=2,this.hg=7,this.hl=23,this.il=0,this.jl=1,this.kl=3,this.gl=17,this.Ui=7,this.ml=11,this.Wb=7,this.Xb=3,this.ol=7,this.nl=11,this.ll=15,this.Cb=2,this.pl=3,this.Vi=7,this.rl=this.$i=this.ql=8,this.aj=this.Zi=4,this.wl=2,this.vl=3,this.tl=5,this.ul=2,this.sl=3,this.bj=5,this.cj=3,this.Wk=14,this.Yk=22,this.Vk=17,this.Xk=25,this.$k= -17,this.bl=25,this.Zk=20,this.al=28,this.yl=13,this.Al=21,this.xl=16,this.zl=24,this.dl=13,this.fl=21,this.cl=16,this.el=24,this.kg=2,this.jg=7,this.gj=this.hj=5,this.Bl=19,this.Cl=this.jc=5,this.Dl=17,this.rc=3,this.El=5,this.lg=3,this.Pb=0,this.Oi=8,this.Pi=5,this.Qi=9,this.Xi=this.Wi=5,this.Yi=4,this.ej=this.dj=5,this.fj=4,this.ij=7,this.jj=5,this.kj=8,this.oj=3,this.pj=4,this.qj=3,this.Il=this.Fl=11,this.Hl=this.Gl=15,this.Jl=7,this.mj=5,this.lj=8,this.nj=0,this.tj=2,this.mg=6,this.sj=3,this.rj= -6,this.vj=3,this.Kl=this.uj=5));this.Gg=[];this.Hg=[];this.Wg=0;this.Aa=[];this.te=this.Jb=this.ob=this.fb=this.xe=0;this.T=this.zm;this.U=this.Am;this.N=this.Hn;this.O=this.In;this.Q=this.fp;this.R=this.gp;vc(this)}x(xb,Yb);k=Yb.prototype;k.Ci=function(a,b,c,d,e){this.Aa=a;this.te=this.Jb=b;this.ob=c;this.fb=d;this.xe=e};k.reset=function(){this.Ob&&this.zb();vc(this);zb(this);this.kd=!1}; -function vc(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ad=65520;a.ed=0;a.se=1023;a.Jc={zj:0,oa:0,ab:0,ph:-1};a.ra=new Nb(a,"CS");a.Qb=new Nb(a,"DS");a.Eb=new Nb(a,"SS");a.cb=new Nb(a,"ES");a.am=new Nb(a,"ZERO");wc(a,0,65535);80286<=a.Ga&&(a.Qc=a.We=0,a.Ld=new Nb(a,"LDT",!0),a.xg=new Nb(a,"TSS",!0),a.Rb=new Nb(a,"VER",!0),wc(a,65520,61440),a.ra.La=16711680);xc(a,0);yc(a);a.kb=0;a.Db=a.rg=-1;a.Pg=0;a.ha=a.Ka=-1;a.C=a.Qb;a.M=a.Eb;a.$=a.wa=0} -k.yk=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.sa+this.ra.oa+this.Qb.oa+this.Eb.oa+this.cb.oa+zc(this)|0};function Ac(a,b,c,d){void 0!==d&&(void 0===a.Gg[b]&&(a.Gg[b]=[]),a.Gg[b].push([c,d]))}function Bc(a,b,c){void 0!==c&&(null==a.Hg[b]&&a.Wg++,a.Hg[b]=c)}function Cc(a,b){var c=a.Hg[b];null!=c&&(c(--a.Wg),delete a.Hg[b])}function yc(a,b){void 0===b&&(b=!!(a.ad&1));Dc=b?Ec:Fc;Ob(a.ra,b);Ob(a.Qb,b);Ob(a.Eb,b);Ob(a.cb,b)} -k.save=function(){var a=new H(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.sa,this.ra.save(),this.Qb.save(),this.Eb.save(),this.cb.save(),zc(this),null!=this.Qc?[this.ad,this.Qc,this.We,this.ed,this.se,this.Ld.save(),this.xg.save()]:null]);a.set(2,[this.C.ug,this.M.ug,this.$,this.wa,this.kb,this.ha,this.Ka]);a.set(3,[this.th,this.Je,this.Gd]);a.set(4,eb(this.na));return a.data()}; -k.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.ra.restore(b[1]);this.Qb.restore(b[2]);this.Eb.restore(b[3]);this.cb.restore(b[4]);xc(this,b[5]);var c=b[6];c&&c.length&&(this.ad=c[0],this.Qc=c[1],this.We=c[2],this.ed=c[3],this.se=c[4],this.Ld.restore(c[5]),this.xg.restore(c[6]),yc(this));I(this,b[0]);b=a[2];this.C=Gc(this,b[0]);this.M=Gc(this,b[1]);this.$=b[2];this.wa=b[3];this.kb=b[4];this.ha=b[5];this.Ka= -b[6];b=a[3];this.th=b[0];this.Je=b[1];Gb(this,b[2]);a:{b=this.na;a=a[4];for(c=0;c>1?128:0} -function Uc(a){return(a.ja^a.ma^a.ja>>1)&a.da>>1?2048:0}function Vc(a){a.Y&=~a.da}function Wc(a){a.ma=a.ja&16|a.ma&-17}function Xc(a){a.Y|=a.da-1}function Yc(a){Tc(a)&&(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function Zc(a){a.ja&=~a.da;a.ma=a.ja&32896|a.ma&-32897}function $c(a){a.Y|=a.da}function ad(a){a.ma=~(a.ja&16)&16|a.ma&-17}function bd(a){a.Y&=~(a.da-1)}function cd(a){Tc(a)||(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function dd(a){a.ja|=a.da;a.ma=a.ja&32896|a.ma&-32897} -function zc(a){return a.xa&-2262|Pc(a)|Qc(a)|Rc(a)|Sc(a)|Tc(a)|Uc(a)}function xc(a,b){a.da=256;a.Y=a.ja=a.ma=0;b&1&&$c(a);b&4||(a.ja|=1);b&16&&(a.ma|=16);b&64||Xc(a);b&128&&cd(a);b&2048&&dd(a);a.xa=a.xa&-1793|b&1792|a.Uj;a.xa&256&&(a.kb|=2,a.$|=4)} -k.wb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.ta[c]=d;e=!0;break;default:e=xb.prototype.wb.call(this,a,b,c,d)}return e};k.ub=function(a){return this.Aa[(a&this.Jb)>>this.ob].tc(a&this.fb)}; -k.Ia=function(a){var b=a&this.fb;a=(a&this.Jb)>>this.ob;this.A-=this.yj;return b!=this.fb?this.Aa[a].Rl(b):this.Aa[a++].tc(b)|this.Aa[a&this.xe].tc(0)<<8};k.bd=function(a,b){this.Aa[(a&this.Jb)>>this.ob].Cc(a&this.fb,b&255)};k.Nd=function(a,b){var c=a&this.fb,d=(a&this.Jb)>>this.ob;this.A-=this.yj;c!=this.fb?this.Aa[d].dm(c,b&65535):(this.Aa[d++].Cc(c,b&255),this.Aa[d&this.xe].Cc(0,b>>8&255))};k.zm=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)}; -k.Am=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.Hn=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)};k.In=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.fp=function(a){this.$&2||this.bd(this.wg.$b(this.ng,1),a)};k.gp=function(a){this.$&2||this.Nd(this.wg.$b(this.ng,2),a)};k.ea=function(){var a=this.ub(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a}; -k.L=function(){var a=this.ub(this.Ca)<<24>>24;this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a&65535};k.K=function(){var a=this.Ia(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.Ia(this.Eb.Uc(a,1))};function K(a,b){var c=a.X=a.X-2&65535;a.Nd(a.Eb.$b(c,1),b)} -k.Zg=function(){F(this,"AX",this.G);F(this,"BX",this.B);F(this,"CX",this.I);F(this,"DX",this.J);F(this,"SP",this.X);F(this,"BP",this.H);F(this,"SI",this.F);F(this,"DI",this.D);F(this,"CS",this.ra.oa);F(this,"DS",this.Qb.oa);F(this,"SS",this.Eb.oa);F(this,"ES",this.cb.oa);F(this,"IP",this.sa);var a=zc(this);F(this,"PS",a);F(this,"C",a&1?1:0,1);F(this,"P",a&4?1:0,1);F(this,"A",a&16?1:0,1);F(this,"Z",a&64?1:0,1);F(this,"S",a&128?1:0,1);F(this,"T",a&256?1:0,1);F(this,"I",a&512?1:0,1);F(this,"D",a&1024? -1:0,1);F(this,"O",a&2048?1:0,1);this.ta.speed&&(this.ta.speed.innerHTML=this.Ob&&this.md?this.md.toFixed(2)+"Mhz":"Stopped")}; -k.uf=function(a){this.pi=!0;this.sm=a&&this.Z&&1this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&255}function jd(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&255} -function kd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function ld(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function md(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&255} -function nd(a,b){this.ma=a^b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&255}function od(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&255}function pd(a,b){this.ma=a^b;this.da=256;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Ri:this.qb;this.$|=2;return a} -function qd(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&65535}function rd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&65535}function sd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535} -function td(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535}function ud(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&65535}function vd(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&65535} -function wd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&65535}function xd(a,b){this.ma=a^b;this.da=65536;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Ri:this.qb;this.$|=2;return a}function yd(a,b){this.Y=this.Y&this.da-1|(a&b?this.da:0);(a^a>>1)&b>>1?dd(this):Zc(this)}function zd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;yd.call(this,d,256)}return c} -function Ad(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;yd.call(this,d,65536)}return c}function Bd(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);yd.call(this,d,256)}return c}function Cd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);yd.call(this,d,65536)}return c} -function Dd(a,b){var c=a;if(b){var d;(d=(b&this.of)%9)?(d=a<>9-d,c=d&255):d=a|(this.Y&this.da?1:0)<<8;yd.call(this,d,256)}return c}function Ed(a,b){var c=a;if(b){var d;(d=(b&this.of)%17)?(d=a<>17-d,c=d&65535):d=a|(this.Y&this.da?1:0)<<16;yd.call(this,d,65536)}return c}function Fd(a,b){var c=a;b&&(c=(b&this.of)%9,c=a>>c|(this.Y&this.da?1:0)<<8-c|a<<9-c,yd.call(this,c,256),c&=255);return c} -function Gd(a,b){var c=a;b&&(c=(b&this.of)%17,c=a>>c|(this.Y&this.da?1:0)<<16-c|a<<17-c,yd.call(this,c,65536),c&=65535);return c}function Hd(a,b){var c=a;b&&(c=8>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255}function Kd(a,b){if(b){var c=16>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Ld(a,b){if(b){8>24>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255} -function Md(a,b){if(b){16>16>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Nd(){this.A-=0>this.ha?2:this.Jl;return 1}function Od(){var a=this.I&this.of;this.A-=(0>this.ha?this.mj:this.lj)+(a<this.ha?this.mj:this.lj)+(a<this.Ka?this.jc:this.Cl;return b},Ud,Ud,Ud,Ud,Ud,Ud,Ud],Yd=[function(a,b){this.A-=0>this.Ka?this.ul:this.sl;return b},M,M,M,M,M,M,M],Zd=[zd,Bd,Dd,Fd,Hd,Jd,M,Ld],$d=[Ad,Cd,Ed,Gd,Id,Kd,M,Md],be=[function(a,b){b=this.ea();this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.ha?this.sj:this.rj;this.$|=2;return a},M,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^255},function(a,b){b=0;this.ma=a^b;this.da= -256;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&255},function(a){this.G=this.Db=(this.Y=(this.G&255)*a)&65535;this.ma=this.ja=this.Y;this.da=256;this.G&65280?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.yl:this.xl;this.$|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.Db=b&65535;this.Y=this.ma=this.ja=b;this.da=256;127b?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.dl:this.cl;this.$|=2;return a},function(a){if(!a)return ae.call(this), -a;var b=this.G/a;if(255this.ha?this.Wk:this.Vk;this.$|=2;return a},function(a){if(!a)return ae.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return ae.call(this),a;this.Db=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.ja=this.ma=this.Y=b|256;this.da=256;this.A-=0>this.ha?this.$k:this.Zk;this.$|=2;return a}],ce=[function(a,b){b=this.K();this.Y=this.ja= -this.ma=a&b;this.da=65536;this.A-=0>this.ha?this.sj:this.rj;this.$|=2;return a},M,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^65535},function(a,b){b=0;this.ma=a^b;this.da=65536;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&65535},function(a){this.Db=this.G=(this.Y=this.G*a)&65535;this.rg=this.J=this.Y>>16&65535;this.ma=this.ja=this.Y;this.da=65536;this.J?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.Al:this.zl;this.$|=2;return a},function(a){var b=(this.G<< -16>>16)*(a<<16>>16);this.G=this.Db=b&65535;this.J=this.rg=b>>16&65535;this.Y=this.ma=this.ja=b;this.da=65536;32767b?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.fl:this.el;this.$|=2;return a},function(a,b){if(!a)return ae.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return ae.call(this),a;this.Db=this.G=c&65535;this.rg=this.J=b%a&65535;this.ja=this.ma=this.Y=c|65536;this.da=65536;this.A-=0>this.ha?this.Yk:this.Xk;this.$|=2;return a},function(a, -b){if(!a)return ae.call(this),a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return ae.call(this),a;this.Db=this.G=d&65535;this.rg=this.J=b%c&65535;this.ja=this.ma=this.Y=d|65536;this.da=65536;this.A-=0>this.ha?this.bl:this.al;this.$|=2;return a}],pc=[function(a){this.ma=a;a=(this.ja=a+1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da=256;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da= -256;this.A-=0>this.ha?this.ig:this.hg;return a},M,M,M,M,M,M],rc=[function(a){this.ma=a;a=(this.ja=a+1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){K(this,this.sa);I(this,a);this.A-=0>this.ha?this.Uk:this.Tk;this.$|=2;return a},function(a){if(0>this.ha)return M.call(this,a);K(this,this.ra.oa);K(this, -this.sa);wc(this,a,this.Ia(this.ha+2));this.A-=this.Rk;this.$|=2;return a},function(a){I(this,a);this.A-=0>this.ha?this.ol:this.nl;this.$|=2;return a},function(a){if(0>this.ha)return M.call(this,a);wc(this,a,this.Ia(this.ha+2));this.A-=this.ll;this.$|=2;return a},function(a){var b=a;this.$&512&&(a=a-2&65535,80286>this.Ga&&(b=a));K(this,b);this.A-=0>this.ha?this.rc:this.El;this.$|=2;return a},Ud],de=[zd,Bd,Dd,Fd,Hd,Jd,M,Ld],ee=[Ad,Cd,Ed,Gd,Id,Kd,M,Md]; -function fe(a,b){this.A-=0>this.Ka?0>this.ha?this.wl:this.vl:this.tl;return b}function ge(){return fe.call(this,0,this.Db)}function he(a,b){this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.tj:this.mg:this.mg;this.$|=2;return a}function ie(a,b){this.Y=this.ja=this.ma=a&b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.tj:this.mg:this.mg;this.$|=2;return a} -function je(a,b){var c=(b<<16>>16)*(this.ea()<<24>>24);this.Y=this.ma=this.ja=c;this.da=256;32767c?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?21:24;return c&65535}function ke(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.Y=this.ma=this.ja=c;this.da=65536;32767c?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?21:24;return c&65535}function le(a){return a}function me(a){if(0>this.ha)return N.call(this),a;this.A-=this.pl;return this.ha} -function ne(a,b){if(0>this.ha)return N.call(this),a;Mc(this,this.Ia(this.ha+2));this.A-=this.Vi;return b}function oe(a,b){if(0>this.ha)return N.call(this),a;Oc(this,this.Ia(this.ha+2));this.A-=this.Vi;return b}function pe(a){if(0>this.ha)return G.call(this),a;var b=a<<16>>16,c=this.Ia(this.ha)<<16>>16,d=this.Ia(this.ha+2)<<16>>16;this.A-=this.Nk;if(bd)I(this,this.Ah-this.ra.La),fd.call(this,5,null,0);this.$|=2;return a} -function qe(a,b){this.A-=10+(0>this.ha?0:1);if((a&3)<(b&3))return a=a&-4|b&3,bd(this),a;Xc(this);return a}function re(a,b){this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(b,!0)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(b&3))return bd(this),this.Rb.ab&65280;Xc(this);return a}function se(a,b){this.A-=14+(0>this.ha?0:2);if(b&65528&&0<=this.Rb.load(b,!0)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3))&&this.Rb.Mc>=(b&3))return bd(this),this.Rb.Nc;Xc(this);return a} -function te(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.vj}else this.Ka=this.ha,this.Q(a),this.A-=this.uj;return b} -function ue(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.vj}else this.Ka=this.ha,this.R(a),this.A-=this.uj;return b}function fd(a,b,c){Hc(this,a)&&(K(this,zc(this)),this.xa&=this.Jc.ph,K(this,this.ra.oa),K(this,this.sa),null!=b&&K(this,b),wc(this,this.Jc.zj,this.Jc.oa),this.A-=this.hl+c)} -function ae(){I(this,this.Ah-this.ra.La);fd.call(this,0,null,2)}function Xb(a,b){this.Z&&this.Z.message("Fault 0x"+p(a)+(null!=b?" (0x"+r(b)+")":"")+" on opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));80186<=this.Ga&&(I(this,this.Ah-this.ra.La),fd.call(this,a,b,0))}function G(){Xb.call(this,6);this.zb()}function N(){I(this,this.Ah-this.ra.La);Qa(this,"Undefined opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));this.zb()} -function ve(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function we(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function xe(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function ye(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function ze(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function Ae(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} -function Be(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function Ce(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function De(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function Ee(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function Fe(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function Ge(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} -function He(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function Ie(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function Je(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function Ke(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function Le(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function Me(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} -function Ne(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function Oe(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function Pe(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function Qe(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function Re(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function Se(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} -function Te(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function Ue(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function Ve(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function We(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function Xe(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function Ye(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} -function Ze(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function $e(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function af(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function bf(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function cf(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function df(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} -function ef(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function ff(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function gf(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function hf(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function jf(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function kf(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} -function lf(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function mf(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function nf(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function of(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function pf(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function qf(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} -function rf(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function sf(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function tf(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function uf(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function vf(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function wf(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} -function xf(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function yf(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function zf(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function Af(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function Bf(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function Cf(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} -function Df(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function Ef(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function Ff(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function Gf(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function Hf(a){this.G=a.call(this,this.G,this.G)}function If(a){this.G=a.call(this,this.G,this.I)}function Jf(a){this.G=a.call(this,this.G,this.J)}function Kf(a){this.G=a.call(this,this.G,this.B)} -function Lf(a){this.G=a.call(this,this.G,this.X)}function Mf(a){this.G=a.call(this,this.G,this.H)}function Nf(a){this.G=a.call(this,this.G,this.F)}function Of(a){this.G=a.call(this,this.G,this.D)}function Pf(a){this.I=a.call(this,this.I,this.G)}function Qf(a){this.I=a.call(this,this.I,this.I)}function Rf(a){this.I=a.call(this,this.I,this.J)}function Sf(a){this.I=a.call(this,this.I,this.B)}function Tf(a){this.I=a.call(this,this.I,this.X)}function Uf(a){this.I=a.call(this,this.I,this.H)} -function Vf(a){this.I=a.call(this,this.I,this.F)}function Wf(a){this.I=a.call(this,this.I,this.D)}function Xf(a){this.J=a.call(this,this.J,this.G)}function Yf(a){this.J=a.call(this,this.J,this.I)}function Zf(a){this.J=a.call(this,this.J,this.J)}function $f(a){this.J=a.call(this,this.J,this.B)}function ag(a){this.J=a.call(this,this.J,this.X)}function bg(a){this.J=a.call(this,this.J,this.H)}function cg(a){this.J=a.call(this,this.J,this.F)}function dg(a){this.J=a.call(this,this.J,this.D)} -function eg(a){this.B=a.call(this,this.B,this.G)}function fg(a){this.B=a.call(this,this.B,this.I)}function gg(a){this.B=a.call(this,this.B,this.J)}function hg(a){this.B=a.call(this,this.B,this.B)}function ig(a){this.B=a.call(this,this.B,this.X)}function jg(a){this.B=a.call(this,this.B,this.H)}function kg(a){this.B=a.call(this,this.B,this.F)}function lg(a){this.B=a.call(this,this.B,this.D)}function mg(a){this.X=a.call(this,this.X,this.G)}function ng(a){this.X=a.call(this,this.X,this.I)} -function og(a){this.X=a.call(this,this.X,this.J)}function pg(a){this.X=a.call(this,this.X,this.B)}function qg(a){this.X=a.call(this,this.X,this.X)}function rg(a){this.X=a.call(this,this.X,this.H)}function sg(a){this.X=a.call(this,this.X,this.F)}function tg(a){this.X=a.call(this,this.X,this.D)}function ug(a){this.H=a.call(this,this.H,this.G)}function vg(a){this.H=a.call(this,this.H,this.I)}function wg(a){this.H=a.call(this,this.H,this.J)}function xg(a){this.H=a.call(this,this.H,this.B)} -function yg(a){this.H=a.call(this,this.H,this.X)}function zg(a){this.H=a.call(this,this.H,this.H)}function Ag(a){this.H=a.call(this,this.H,this.F)}function Bg(a){this.H=a.call(this,this.H,this.D)}function Cg(a){this.F=a.call(this,this.F,this.G)}function Dg(a){this.F=a.call(this,this.F,this.I)}function Eg(a){this.F=a.call(this,this.F,this.J)}function Fg(a){this.F=a.call(this,this.F,this.B)}function Gg(a){this.F=a.call(this,this.F,this.X)}function Hg(a){this.F=a.call(this,this.F,this.H)} -function Ig(a){this.F=a.call(this,this.F,this.F)}function Jg(a){this.F=a.call(this,this.F,this.D)}function Kg(a){this.D=a.call(this,this.D,this.G)}function Lg(a){this.D=a.call(this,this.D,this.I)}function Mg(a){this.D=a.call(this,this.D,this.J)}function Ng(a){this.D=a.call(this,this.D,this.B)}function Og(a){this.D=a.call(this,this.D,this.X)}function Pg(a){this.D=a.call(this,this.D,this.H)}function Qg(a){this.D=a.call(this,this.D,this.F)}function Rg(a){this.D=a.call(this,this.D,this.D)} -var Sg=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.aa},function(a){a= +function lb(a,b,c,d){var e=a.td[b];void 0!==e?(e[1]&&e[1].call(e[0],b,c,d),a.Z&&a.Wf!=e[2]&&mb(a.Z,b,c)):a.Z&&(a.Z.ba(a,b,c,d),a.Wf&&mb(a.Z,b,c))}function Ya(a,b,c){v("Memory block error ("+a+","+l(b)+","+l(c)+")");return!1}function Va(a,b,c,d){this.mm=b;this.qa=null;this.offset=0;this.fh=c;this.ia=null;this.jb=this.mk=!1;if(b)if(d)this.ia=d,a=[d.fd,a-d.cb],this.qa=a[0],this.offset=a[1],this.Oe(d.Ff);else{this.qa=Array(b>>2);for(d=0;d>2]>>>((a&3)<<3)&255},Wo:function(a){var b=a>>2;a=(a&3)<<3;var c=this.qa[b]>>>a;return 24>a?c&65535:c&255|(this.qa[b+1]&255)<<8},dp:function(a,b){var c=a>>2,d=(a&3)<<3;this.qa[c]=this.qa[c]&~(255<>2,d=(a&3)<<3;24>d?this.qa[c]=this.qa[c]&~(65535<>8);this.jb=!0},Vo:function(a){ob(this.Z, +this.We+a);return this.pg(a)},Xo:function(a){ob(this.Z,this.We+a)||ob(this.Z,this.We+a+1);return this.Dj(a)},ep:function(a,b){pb(this.Z,this.We+a);this.yg(a,b)},gp:function(a,b){pb(this.Z,this.We+a)||pb(this.Z,this.We+a+1);this.Mj(a,b)},save:function(){return this.ia?null:this.qa},restore:function(a){return this.ia?null===a:this.mm==a.length<<2?(this.qa=a,this.jb=!0):!1},Oe:function(a,b){a||(a=[]);void 0===b&&(b=!0);qb(this,a,b);sb(this,a,b)},Vd:function(a,b){b?0===this.gk++&&sb(this,tb):0===this.fk++&& +qb(this,tb)}};function ub(a,b){b?0===--a.gk&&(a.Cc=a.fh?a.vf:a.yg,a.am=a.fh?a.vf:a.Mj):0===--a.fk&&(a.tc=a.pg,a.Ol=a.Dj)}function Ua(a,b,c,d,e){a.S=b;a.Z=c;a.We=d;a.fk=a.gk=0;a.Z&&vb(a.Z,d,e)}function sb(a,b,c){a.Cc=b[2]&&!a.fh?b[2]:a.vf;a.am=b[3]&&!a.fh?b[3]:a.vf;c&&(a.yg=b[2]?b[2]:a.vf,a.Mj=b[3]?b[3]:a.vf)}function qb(a,b,c){a.tc=b[0]?b[0]:a.Ch;a.Ol=b[1]?b[1]:a.Ch;c&&(a.pg=b[0]?b[0]:a.Ch,a.Dj=b[1]?b[1]:a.Ch)} +var nb=[Va.prototype.Uo,Va.prototype.Wo,Va.prototype.dp,Va.prototype.fp],tb=[Va.prototype.Vo,Va.prototype.Xo,Va.prototype.ep,Va.prototype.gp]; +function wb(a,b){w.call(this,"CPU",a,wb);var c=a.multiplier||1;this.Hd=a.cycles||b;this.Gd=c;this.ph=Math.round(this.Hd/1E4)/100;this.Fe=this.ph*this.Gd;this.Ob=this.Nb=!1;this.ki=a.autoStart;c=Da.autostart;void 0!==c&&(this.ki="true"==c?!0:"false"==c?!1:null);this.bf=!1;this.$f=this.lf=0;this.bg=a.csStart;this.kf=a.csInterval;this.mf=a.csStop;var d=this;this.Wn=function(){d.Me()};this.Sa()}x(w,wb);k=wb.prototype; +k.pc=function(a,b,c,d){this.na=b;this.Z=d;this.Da=a;var e=B(a,"Video");e&&(this.fi=function(){xb(e)},this.Md=function(){e.Md()});this.ka=B(a,"ChipSet");this.Sa()};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.bc=function(a,b){if(!b){if(a&&this.restore){yb(this);if(!this.restore(a))return!1;zb(this)}else this.reset();this.Z?this.Z.zn():this.ca("No debugger detected")}this.Nb=!0;!Ab(this)&&this.Z&&Bb(this.Z);Cb(this);return!0}; +k.Yb=function(a){this.Nb=!1;return a&&this.save?this.save():!0};function Ab(a){return!0===a.ki||null===a.ki&&!a.Z&&void 0===a.ta.run?(a.Me(),!0):!1}k.Md=function(){};k.vk=function(){return 0};function zb(a){void 0===a.bg&&(a.bg=0);void 0===a.kf&&(a.kf=-1);void 0===a.mf&&(a.mf=-1);a.bf=0<=a.bg&&0=a.lf&&(a.lf+=a.kf,c=!0);0<=a.mf&&a.mf<=D(a)&&(a.kf=a.mf=-1,zb(a),a.zb(),c=!0);c&&a.ca(D(a)+" cycles: checksum="+l(a.$f))}}function E(a,b,c,d){void 0!==a.ta[b]&&(void 0===d&&(d=4),void 0===c&&(Qa(a,"Register "+b+" is invalid"),a.zb()),c=l(c,d),a.ta[b].innerHTML!=c&&(a.ta[b].innerHTML=c))}k.Zg=function(){};k.fi=function(){}; +k.wb=function(a,b,c,d){var e=this;a=!1;switch(c){case "run":this.ta[c]=d;d.onclick=function(){e.Ob?e.zb(!0):e.Me(!0)};a=!0;break;case "reset":this.ta[c]=d;d.onclick=function(){e.Da&&Eb(e.Da)};a=!0;break;case "speed":this.ta[c]=d;a=!0;break;case "setSpeed":this.ta[c]=d,d.onclick=function(){Fb(e,e.Gd<<1,!0)},d.innerHTML=this.Fe.toFixed(2)+"Mhz",a=!0}return a};function Gb(a,b,c){a.Je+=b;c&&(a.Yc=a.A=0)} +function Ib(a,b){var c=30;60>c&&(c=60);2>c&&(c=2);var d=1;b&&1a.ph&&(c=Math.round(c/a.Gd));return c}function yb(a){a.md=0;a.sh=1;a.Je=a.ie=a.Yc=a.A=0;zb(a);Fb(a,1)} +function Fb(a,b,c){void 0!==b&&(0.8>a.md/a.Fe&&(b=1),a.Gd=b,b=a.ph*a.Gd,a.Fe!=b&&(a.Fe=b,b=a.Fe.toFixed(2)+"Mhz",a.ta.setSpeed&&(a.ta.setSpeed.innerHTML=b),a.ca("target speed: "+b)),c&&a.Md());Gb(a,a.ie);a.ie=0;a.jf=ma();a.Ge=0;Ib(a)} +k.Me=function(a){if(Na(this,!0)){this.Ob||(Fb(this),this.Da&&this.Da.start(this.jf,D(this)),this.Ob=!0,this.ka&&Jb(this.ka),this.ta.run&&(this.ta.run.innerHTML="Halt"),a&&this.Md());this.wj>=this.Hd&&Ib(this,!0);this.eg=0;this.qh=ma();this.Ge&&(a=this.qh-this.Ge,a>this.Ck&&(this.jf+=a,this.jf>this.qh&&(this.jf=this.qh)));try{do{this.uf(this.bf?1:Math.round(this.On/this.sh));var b=this.Yc-this.A;this.ie+=b;this.eg+=b;Gb(this,0,!0);Db(this,b);this.dg-=b;0>=this.dg&&(this.dg+=this.Gk,this.fi());this.cg-= +b;0>=this.cg&&(this.cg+=this.Fk,this.Zg());this.nf-=b;if(0>=this.nf){this.nf+=this.Ii;break}}while(this.Ob)}catch(c){this.zb();Cb(this);this.Da&&this.Da.stop(ma(),D(this));Na(this,!1);Qa(this,c.message);return}b=setTimeout;a=this.Wn;this.Ge=ma();var d=this.Ck;this.eg&&(d=Math.round(d*this.eg/this.Ii));var d=d-(this.Ge-this.qh),e=this.Ge-this.jf;e&&(this.md=Math.round(this.ie/(10*e))/100,864E5<=e&&(this.Je=0,this.ka&&Kb(this.ka,!0),Fb(this)));if(0>d||this.md>13;return this.La=e}if(b&&768>=b)return this.oa=a,this.Nc=c,this.ab=d,this.Mc=(d&24576)>>13,this.La=e}return-1}function Ub(a){return this.La+a} +function Vb(a){return this.La+a}function Qb(a,b,c){return a+b<=this.Nc?this.La+a:Sb.call(this,0,0,c)}function Sb(a,b,c){c||Wb.call(this.S,13,0);return-1}function Rb(a,b,c){return a+b<=this.Nc?this.La+a:Tb.call(this,0,0,c)}function Tb(a,b,c){c||Wb.call(this.S,13,0);return-1}Mb.prototype.save=function(){return[this.oa,this.La,this.Nc,this.ab,this.Mc,this.ug]};Mb.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.oa=a[0],this.La=a[1],this.Nc=a[2],this.ab=a[3],this.Mc=a[4],this.ug=a[5])}; +function Nb(a,b){void 0===b&&(b=!!(a.S.ad&1));b?(a.load=Pb,a.Uc=Qb,a.$b=Rb):(a.load=Ob,a.Uc=Ub,a.$b=Vb)} +function Xb(a){this.Ga=a.model||8088;var b=0;switch(this.Ga){default:case 8088:b=4772727;break;case 80286:b=6E6}wb.call(this,a,b);this.Tj=61442;this.Eg=4;this.of=255;this.xj=4;this.aa=5;this.ua=6;this.fa=7;this.ga=8;this.P=9;this.V=11;this.W=12;this.He=4;this.Ik=60;this.Jk=83;this.Vb=3;this.qb=9;this.ic=16;this.wh=1;this.Nk=19;this.Pk=28;this.Rk=16;this.Qk=21;this.Ok=37;this.Lk=2;this.Qi=9;this.Mk=5;this.Kk=33;this.Si=10;this.Ri=8;this.ig=3;this.hg=15;this.el=51;this.fl=1;this.gl=2;this.hl=4;this.dl= +32;this.jl=this.Ti=15;this.Wb=16;this.Xb=4;this.ll=11;this.kl=18;this.il=24;this.Cb=4;this.ml=2;this.Ui=16;this.nl=17;this.Zi=18;this.ol=19;this.Yi=5;this.$i=6;this.tl=2;this.sl=8;this.ql=9;this.bj=this.aj=this.pl=this.rl=10;this.Tk=80;this.Vk=144;this.Sk=86;this.Uk=154;this.Xk=101;this.Zk=165;this.Wk=107;this.Yk=171;this.vl=70;this.xl=113;this.ul=76;this.wl=124;this.al=80;this.cl=128;this.$k=86;this.bl=134;this.kg=3;this.jg=16;this.gj=10;this.fj=8;this.yl=51;this.jc=8;this.zl=17;this.Al=36;this.rc= +11;this.Bl=16;this.lg=10;this.Pb=2;this.Ni=18;this.Oi=9-this.Pb;this.Pi=17-this.Pb;this.Vi=12;this.Wi=9-this.Pb;this.Xi=13-this.Pb;this.cj=18;this.dj=9-this.Pb;this.ej=17-this.Pb;this.hj=15;this.ij=9-this.Pb;this.jj=15-this.Pb;this.nj=11;this.oj=9-this.Pb;this.pj=10-this.Pb;this.Cl=8;this.Fl=12;this.Dl=18;this.El=17;this.Gl=15;this.lj=8;this.kj=20;this.mj=2;this.sj=3;this.mg=9;this.rj=5;this.qj=11;this.uj=4;this.tj=17;this.Hl=11;this.Pa=Yb.slice();80186<=this.Ga&&(this.of=31,this.Pa[15]=F,this.Pa[96]= +Zb,this.Pa[97]=$b,this.Pa[98]=ac,this.Pa[99]=F,this.Pa[100]=F,this.Pa[101]=F,this.Pa[102]=F,this.Pa[103]=F,this.Pa[104]=bc,this.Pa[105]=cc,this.Pa[106]=dc,this.Pa[107]=ec,this.Pa[108]=fc,this.Pa[109]=gc,this.Pa[110]=hc,this.Pa[111]=ic,this.Pa[192]=jc,this.Pa[193]=kc,this.Pa[200]=lc,this.Pa[200]=mc,this.Pa[241]=nc,oc[7]=pc,qc[7]=pc,80286<=this.Ga&&(this.Tj=2,this.Eg=0,this.Pa[15]=rc,this.Pa[99]=sc,this.Pa[84]=tc,this.P=this.ga=this.fa=this.ua=this.aa=this.xj=0,this.W=this.V=1,this.He=3,this.Ik=14, +this.Jk=16,this.Vb=2,this.ic=this.qb=7,this.wh=0,this.Nk=7,this.Pk=13,this.Rk=7,this.Qk=11,this.Ok=16,this.Lk=3,this.Qi=6,this.Mk=2,this.Kk=13,this.Ri=this.Si=5,this.ig=2,this.hg=7,this.el=23,this.fl=0,this.gl=1,this.hl=3,this.dl=17,this.Ti=7,this.jl=11,this.Wb=7,this.Xb=3,this.ll=7,this.kl=11,this.il=15,this.Cb=2,this.ml=3,this.Ui=7,this.ol=this.Zi=this.nl=8,this.$i=this.Yi=4,this.tl=2,this.sl=3,this.ql=5,this.rl=2,this.pl=3,this.aj=5,this.bj=3,this.Tk=14,this.Vk=22,this.Sk=17,this.Uk=25,this.Xk= +17,this.Zk=25,this.Wk=20,this.Yk=28,this.vl=13,this.xl=21,this.ul=16,this.wl=24,this.al=13,this.cl=21,this.$k=16,this.bl=24,this.kg=2,this.jg=7,this.fj=this.gj=5,this.yl=19,this.zl=this.jc=5,this.Al=17,this.rc=3,this.Bl=5,this.lg=3,this.Pb=0,this.Ni=8,this.Oi=5,this.Pi=9,this.Wi=this.Vi=5,this.Xi=4,this.dj=this.cj=5,this.ej=4,this.hj=7,this.ij=5,this.jj=8,this.nj=3,this.oj=4,this.pj=3,this.Fl=this.Cl=11,this.El=this.Dl=15,this.Gl=7,this.lj=5,this.kj=8,this.mj=0,this.sj=2,this.mg=6,this.rj=3,this.qj= +6,this.uj=3,this.Hl=this.tj=5));this.Gg=[];this.Hg=[];this.Wg=0;this.Aa=[];this.se=this.Jb=this.ob=this.eb=this.we=0;this.T=this.xm;this.U=this.ym;this.N=this.Fn;this.O=this.Gn;this.Q=this.bp;this.R=this.cp;uc(this)}x(wb,Xb);k=Xb.prototype;k.Bi=function(a,b,c,d,e){this.Aa=a;this.se=this.Jb=b;this.ob=c;this.eb=d;this.we=e};k.reset=function(){this.Ob&&this.zb();uc(this);yb(this);this.kd=!1}; +function uc(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ad=65520;a.ed=0;a.re=1023;a.Jc={yj:0,oa:0,ab:0,oh:-1};a.ra=new Mb(a,"CS");a.Qb=new Mb(a,"DS");a.Eb=new Mb(a,"SS");a.bb=new Mb(a,"ES");a.Yl=new Mb(a,"ZERO");vc(a,0,65535);80286<=a.Ga&&(a.Qc=a.Xe=0,a.Ld=new Mb(a,"LDT",!0),a.xg=new Mb(a,"TSS",!0),a.Rb=new Mb(a,"VER",!0),vc(a,65520,61440),a.ra.La=16711680);wc(a,0);xc(a);a.kb=0;a.Db=a.rg=-1;a.Pg=0;a.ha=a.Ka=-1;a.C=a.Qb;a.M=a.Eb;a.$=a.wa=0} +k.vk=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.sa+this.ra.oa+this.Qb.oa+this.Eb.oa+this.bb.oa+yc(this)|0};function zc(a,b,c,d){void 0!==d&&(void 0===a.Gg[b]&&(a.Gg[b]=[]),a.Gg[b].push([c,d]))}function Ac(a,b,c){void 0!==c&&(null==a.Hg[b]&&a.Wg++,a.Hg[b]=c)}function Bc(a,b){var c=a.Hg[b];null!=c&&(c(--a.Wg),delete a.Hg[b])}function xc(a,b){void 0===b&&(b=!!(a.ad&1));Cc=b?Dc:Ec;Nb(a.ra,b);Nb(a.Qb,b);Nb(a.Eb,b);Nb(a.bb,b)} +k.save=function(){var a=new G(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.sa,this.ra.save(),this.Qb.save(),this.Eb.save(),this.bb.save(),yc(this),null!=this.Qc?[this.ad,this.Qc,this.Xe,this.ed,this.re,this.Ld.save(),this.xg.save()]:null]);a.set(2,[this.C.ug,this.M.ug,this.$,this.wa,this.kb,this.ha,this.Ka]);a.set(3,[this.sh,this.Je,this.Gd]);a.set(4,eb(this.na));return a.data()}; +k.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.ra.restore(b[1]);this.Qb.restore(b[2]);this.Eb.restore(b[3]);this.bb.restore(b[4]);wc(this,b[5]);var c=b[6];c&&c.length&&(this.ad=c[0],this.Qc=c[1],this.Xe=c[2],this.ed=c[3],this.re=c[4],this.Ld.restore(c[5]),this.xg.restore(c[6]),xc(this));H(this,b[0]);b=a[2];this.C=Fc(this,b[0]);this.M=Fc(this,b[1]);this.$=b[2];this.wa=b[3];this.kb=b[4];this.ha=b[5];this.Ka= +b[6];b=a[3];this.sh=b[0];this.Je=b[1];Fb(this,b[2]);a:{b=this.na;a=a[4];for(c=0;c>1?128:0} +function Tc(a){return(a.ja^a.ma^a.ja>>1)&a.da>>1?2048:0}function Uc(a){a.Y&=~a.da}function Vc(a){a.ma=a.ja&16|a.ma&-17}function Wc(a){a.Y|=a.da-1}function Xc(a){Sc(a)&&(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function Yc(a){a.ja&=~a.da;a.ma=a.ja&32896|a.ma&-32897}function Zc(a){a.Y|=a.da}function $c(a){a.ma=~(a.ja&16)&16|a.ma&-17}function ad(a){a.Y&=~(a.da-1)}function bd(a){Sc(a)||(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function cd(a){a.ja|=a.da;a.ma=a.ja&32896|a.ma&-32897} +function yc(a){return a.xa&-2262|Oc(a)|Pc(a)|Qc(a)|Rc(a)|Sc(a)|Tc(a)}function wc(a,b){a.da=256;a.Y=a.ja=a.ma=0;b&1&&Zc(a);b&4||(a.ja|=1);b&16&&(a.ma|=16);b&64||Wc(a);b&128&&bd(a);b&2048&&cd(a);a.xa=a.xa&-1793|b&1792|a.Tj;a.xa&256&&(a.kb|=2,a.$|=4)} +k.wb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.ta[c]=d;e=!0;break;default:e=wb.prototype.wb.call(this,a,b,c,d)}return e};k.ub=function(a){return this.Aa[(a&this.Jb)>>this.ob].tc(a&this.eb)}; +k.Ia=function(a){var b=a&this.eb;a=(a&this.Jb)>>this.ob;this.A-=this.xj;return b!=this.eb?this.Aa[a].Ol(b):this.Aa[a++].tc(b)|this.Aa[a&this.we].tc(0)<<8};k.bd=function(a,b){this.Aa[(a&this.Jb)>>this.ob].Cc(a&this.eb,b&255)};k.Nd=function(a,b){var c=a&this.eb,d=(a&this.Jb)>>this.ob;this.A-=this.xj;c!=this.eb?this.Aa[d].am(c,b&65535):(this.Aa[d++].Cc(c,b&255),this.Aa[d&this.we].Cc(0,b>>8&255))};k.xm=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)}; +k.ym=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.Fn=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)};k.Gn=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.bp=function(a){this.$&2||this.bd(this.wg.$b(this.ng,1),a)};k.cp=function(a){this.$&2||this.Nd(this.wg.$b(this.ng,2),a)};k.ea=function(){var a=this.ub(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a}; +k.L=function(){var a=this.ub(this.Ca)<<24>>24;this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a&65535};k.K=function(){var a=this.Ia(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.Ia(this.Eb.Uc(a,1))};function J(a,b){var c=a.X=a.X-2&65535;a.Nd(a.Eb.$b(c,1),b)} +k.Zg=function(){E(this,"AX",this.G);E(this,"BX",this.B);E(this,"CX",this.I);E(this,"DX",this.J);E(this,"SP",this.X);E(this,"BP",this.H);E(this,"SI",this.F);E(this,"DI",this.D);E(this,"CS",this.ra.oa);E(this,"DS",this.Qb.oa);E(this,"SS",this.Eb.oa);E(this,"ES",this.bb.oa);E(this,"IP",this.sa);var a=yc(this);E(this,"PS",a);E(this,"C",a&1?1:0,1);E(this,"P",a&4?1:0,1);E(this,"A",a&16?1:0,1);E(this,"Z",a&64?1:0,1);E(this,"S",a&128?1:0,1);E(this,"T",a&256?1:0,1);E(this,"I",a&512?1:0,1);E(this,"D",a&1024? +1:0,1);E(this,"O",a&2048?1:0,1);this.ta.speed&&(this.ta.speed.innerHTML=this.Ob&&this.md?this.md.toFixed(2)+"Mhz":"Stopped")}; +k.uf=function(a){this.oi=!0;this.qm=a&&this.Z&&1this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&255}function id(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&255} +function jd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function kd(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function ld(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&255} +function md(a,b){this.ma=a^b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&255}function nd(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&255}function od(a,b){this.ma=a^b;this.da=256;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Qi:this.qb;this.$|=2;return a} +function pd(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&65535}function qd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&65535}function rd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535} +function sd(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535}function td(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&65535}function ud(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&65535} +function vd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&65535}function wd(a,b){this.ma=a^b;this.da=65536;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Qi:this.qb;this.$|=2;return a}function xd(a,b){this.Y=this.Y&this.da-1|(a&b?this.da:0);(a^a>>1)&b>>1?cd(this):Yc(this)}function yd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;xd.call(this,d,256)}return c} +function zd(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;xd.call(this,d,65536)}return c}function Ad(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);xd.call(this,d,256)}return c}function Bd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);xd.call(this,d,65536)}return c} +function Cd(a,b){var c=a;if(b){var d;(d=(b&this.of)%9)?(d=a<>9-d,c=d&255):d=a|(this.Y&this.da?1:0)<<8;xd.call(this,d,256)}return c}function Dd(a,b){var c=a;if(b){var d;(d=(b&this.of)%17)?(d=a<>17-d,c=d&65535):d=a|(this.Y&this.da?1:0)<<16;xd.call(this,d,65536)}return c}function Ed(a,b){var c=a;b&&(c=(b&this.of)%9,c=a>>c|(this.Y&this.da?1:0)<<8-c|a<<9-c,xd.call(this,c,256),c&=255);return c} +function Fd(a,b){var c=a;b&&(c=(b&this.of)%17,c=a>>c|(this.Y&this.da?1:0)<<16-c|a<<17-c,xd.call(this,c,65536),c&=65535);return c}function Gd(a,b){var c=a;b&&(c=8>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255}function Jd(a,b){if(b){var c=16>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Kd(a,b){if(b){8>24>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255} +function Ld(a,b){if(b){16>16>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Md(){this.A-=0>this.ha?2:this.Gl;return 1}function Nd(){var a=this.I&this.of;this.A-=(0>this.ha?this.lj:this.kj)+(a<this.ha?this.lj:this.kj)+(a<this.Ka?this.jc:this.zl;return b},Td,Td,Td,Td,Td,Td,Td],Xd=[function(a,b){this.A-=0>this.Ka?this.rl:this.pl;return b},L,L,L,L,L,L,L],Yd=[yd,Ad,Cd,Ed,Gd,Id,L,Kd],Zd=[zd,Bd,Dd,Fd,Hd,Jd,L,Ld],ae=[function(a,b){b=this.ea();this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.ha?this.rj:this.qj;this.$|=2;return a},L,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^255},function(a,b){b=0;this.ma=a^b;this.da= +256;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&255},function(a){this.G=this.Db=(this.Y=(this.G&255)*a)&65535;this.ma=this.ja=this.Y;this.da=256;this.G&65280?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.vl:this.ul;this.$|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.Db=b&65535;this.Y=this.ma=this.ja=b;this.da=256;127b?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.al:this.$k;this.$|=2;return a},function(a){if(!a)return $d.call(this), +a;var b=this.G/a;if(255this.ha?this.Tk:this.Sk;this.$|=2;return a},function(a){if(!a)return $d.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return $d.call(this),a;this.Db=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.ja=this.ma=this.Y=b|256;this.da=256;this.A-=0>this.ha?this.Xk:this.Wk;this.$|=2;return a}],be=[function(a,b){b=this.K();this.Y=this.ja= +this.ma=a&b;this.da=65536;this.A-=0>this.ha?this.rj:this.qj;this.$|=2;return a},L,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^65535},function(a,b){b=0;this.ma=a^b;this.da=65536;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&65535},function(a){this.Db=this.G=(this.Y=this.G*a)&65535;this.rg=this.J=this.Y>>16&65535;this.ma=this.ja=this.Y;this.da=65536;this.J?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.xl:this.wl;this.$|=2;return a},function(a){var b=(this.G<< +16>>16)*(a<<16>>16);this.G=this.Db=b&65535;this.J=this.rg=b>>16&65535;this.Y=this.ma=this.ja=b;this.da=65536;32767b?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.cl:this.bl;this.$|=2;return a},function(a,b){if(!a)return $d.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return $d.call(this),a;this.Db=this.G=c&65535;this.rg=this.J=b%a&65535;this.ja=this.ma=this.Y=c|65536;this.da=65536;this.A-=0>this.ha?this.Vk:this.Uk;this.$|=2;return a},function(a, +b){if(!a)return $d.call(this),a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return $d.call(this),a;this.Db=this.G=d&65535;this.rg=this.J=b%c&65535;this.ja=this.ma=this.Y=d|65536;this.da=65536;this.A-=0>this.ha?this.Zk:this.Yk;this.$|=2;return a}],oc=[function(a){this.ma=a;a=(this.ja=a+1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da=256;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da= +256;this.A-=0>this.ha?this.ig:this.hg;return a},L,L,L,L,L,L],qc=[function(a){this.ma=a;a=(this.ja=a+1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){J(this,this.sa);H(this,a);this.A-=0>this.ha?this.Rk:this.Qk;this.$|=2;return a},function(a){if(0>this.ha)return L.call(this,a);J(this,this.ra.oa);J(this, +this.sa);vc(this,a,this.Ia(this.ha+2));this.A-=this.Ok;this.$|=2;return a},function(a){H(this,a);this.A-=0>this.ha?this.ll:this.kl;this.$|=2;return a},function(a){if(0>this.ha)return L.call(this,a);vc(this,a,this.Ia(this.ha+2));this.A-=this.il;this.$|=2;return a},function(a){var b=a;this.$&512&&(a=a-2&65535,80286>this.Ga&&(b=a));J(this,b);this.A-=0>this.ha?this.rc:this.Bl;this.$|=2;return a},Td],ce=[yd,Ad,Cd,Ed,Gd,Id,L,Kd],de=[zd,Bd,Dd,Fd,Hd,Jd,L,Ld]; +function ee(a,b){this.A-=0>this.Ka?0>this.ha?this.tl:this.sl:this.ql;return b}function fe(){return ee.call(this,0,this.Db)}function ge(a,b){this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.sj:this.mg:this.mg;this.$|=2;return a}function he(a,b){this.Y=this.ja=this.ma=a&b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.sj:this.mg:this.mg;this.$|=2;return a} +function ie(a,b){var c=(b<<16>>16)*(this.ea()<<24>>24);this.Y=this.ma=this.ja=c;this.da=256;32767c?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?21:24;return c&65535}function je(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.Y=this.ma=this.ja=c;this.da=65536;32767c?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?21:24;return c&65535}function ke(a){return a}function le(a){if(0>this.ha)return M.call(this),a;this.A-=this.ml;return this.ha} +function me(a,b){if(0>this.ha)return M.call(this),a;Lc(this,this.Ia(this.ha+2));this.A-=this.Ui;return b}function ne(a,b){if(0>this.ha)return M.call(this),a;Nc(this,this.Ia(this.ha+2));this.A-=this.Ui;return b}function oe(a){if(0>this.ha)return F.call(this),a;var b=a<<16>>16,c=this.Ia(this.ha)<<16>>16,d=this.Ia(this.ha+2)<<16>>16;this.A-=this.Kk;if(bd)H(this,this.zh-this.ra.La),ed.call(this,5,null,0);this.$|=2;return a} +function pe(a,b){this.A-=10+(0>this.ha?0:1);if((a&3)<(b&3))return a=a&-4|b&3,ad(this),a;Wc(this);return a}function qe(a,b){this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(b,!0)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(b&3))return ad(this),this.Rb.ab&65280;Wc(this);return a}function re(a,b){this.A-=14+(0>this.ha?0:2);if(b&65528&&0<=this.Rb.load(b,!0)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3))&&this.Rb.Mc>=(b&3))return ad(this),this.Rb.Nc;Wc(this);return a} +function se(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.uj}else this.Ka=this.ha,this.Q(a),this.A-=this.tj;return b} +function te(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.uj}else this.Ka=this.ha,this.R(a),this.A-=this.tj;return b}function ed(a,b,c){Gc(this,a)&&(J(this,yc(this)),this.xa&=this.Jc.oh,J(this,this.ra.oa),J(this,this.sa),null!=b&&J(this,b),vc(this,this.Jc.yj,this.Jc.oa),this.A-=this.el+c)} +function $d(){H(this,this.zh-this.ra.La);ed.call(this,0,null,2)}function Wb(a,b){this.Z&&this.Z.message("Fault 0x"+p(a)+(null!=b?" (0x"+r(b)+")":"")+" on opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));80186<=this.Ga&&(H(this,this.zh-this.ra.La),ed.call(this,a,b,0))}function F(){Wb.call(this,6);this.zb()}function M(){H(this,this.zh-this.ra.La);Qa(this,"Undefined opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));this.zb()} +function ue(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function ve(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function we(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function xe(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function ye(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function ze(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} +function Ae(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function Be(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function Ce(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function De(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function Ee(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function Fe(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} +function Ge(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function He(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function Ie(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function Je(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function Ke(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function Le(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} +function Me(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function Ne(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function Oe(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function Pe(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function Qe(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function Re(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} +function Se(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function Te(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function Ue(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function Ve(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function We(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function Xe(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} +function Ye(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function Ze(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function $e(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function af(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function bf(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function cf(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} +function df(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function ef(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function ff(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function gf(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function hf(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function jf(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} +function kf(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function lf(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function mf(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function nf(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function of(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function pf(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} +function qf(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function rf(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function sf(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function tf(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function uf(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function vf(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} +function wf(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function xf(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function yf(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function zf(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function Af(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function Bf(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} +function Cf(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function Df(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function Ef(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function Ff(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function Gf(a){this.G=a.call(this,this.G,this.G)}function Hf(a){this.G=a.call(this,this.G,this.I)}function If(a){this.G=a.call(this,this.G,this.J)}function Jf(a){this.G=a.call(this,this.G,this.B)} +function Kf(a){this.G=a.call(this,this.G,this.X)}function Lf(a){this.G=a.call(this,this.G,this.H)}function Mf(a){this.G=a.call(this,this.G,this.F)}function Nf(a){this.G=a.call(this,this.G,this.D)}function Of(a){this.I=a.call(this,this.I,this.G)}function Pf(a){this.I=a.call(this,this.I,this.I)}function Qf(a){this.I=a.call(this,this.I,this.J)}function Rf(a){this.I=a.call(this,this.I,this.B)}function Sf(a){this.I=a.call(this,this.I,this.X)}function Tf(a){this.I=a.call(this,this.I,this.H)} +function Uf(a){this.I=a.call(this,this.I,this.F)}function Vf(a){this.I=a.call(this,this.I,this.D)}function Wf(a){this.J=a.call(this,this.J,this.G)}function Xf(a){this.J=a.call(this,this.J,this.I)}function Yf(a){this.J=a.call(this,this.J,this.J)}function Zf(a){this.J=a.call(this,this.J,this.B)}function $f(a){this.J=a.call(this,this.J,this.X)}function ag(a){this.J=a.call(this,this.J,this.H)}function bg(a){this.J=a.call(this,this.J,this.F)}function cg(a){this.J=a.call(this,this.J,this.D)} +function dg(a){this.B=a.call(this,this.B,this.G)}function eg(a){this.B=a.call(this,this.B,this.I)}function fg(a){this.B=a.call(this,this.B,this.J)}function gg(a){this.B=a.call(this,this.B,this.B)}function hg(a){this.B=a.call(this,this.B,this.X)}function ig(a){this.B=a.call(this,this.B,this.H)}function jg(a){this.B=a.call(this,this.B,this.F)}function kg(a){this.B=a.call(this,this.B,this.D)}function lg(a){this.X=a.call(this,this.X,this.G)}function mg(a){this.X=a.call(this,this.X,this.I)} +function ng(a){this.X=a.call(this,this.X,this.J)}function og(a){this.X=a.call(this,this.X,this.B)}function pg(a){this.X=a.call(this,this.X,this.X)}function qg(a){this.X=a.call(this,this.X,this.H)}function rg(a){this.X=a.call(this,this.X,this.F)}function sg(a){this.X=a.call(this,this.X,this.D)}function tg(a){this.H=a.call(this,this.H,this.G)}function ug(a){this.H=a.call(this,this.H,this.I)}function vg(a){this.H=a.call(this,this.H,this.J)}function wg(a){this.H=a.call(this,this.H,this.B)} +function xg(a){this.H=a.call(this,this.H,this.X)}function yg(a){this.H=a.call(this,this.H,this.H)}function zg(a){this.H=a.call(this,this.H,this.F)}function Ag(a){this.H=a.call(this,this.H,this.D)}function Bg(a){this.F=a.call(this,this.F,this.G)}function Cg(a){this.F=a.call(this,this.F,this.I)}function Dg(a){this.F=a.call(this,this.F,this.J)}function Eg(a){this.F=a.call(this,this.F,this.B)}function Fg(a){this.F=a.call(this,this.F,this.X)}function Gg(a){this.F=a.call(this,this.F,this.H)} +function Hg(a){this.F=a.call(this,this.F,this.F)}function Ig(a){this.F=a.call(this,this.F,this.D)}function Jg(a){this.D=a.call(this,this.D,this.G)}function Kg(a){this.D=a.call(this,this.D,this.I)}function Lg(a){this.D=a.call(this,this.D,this.J)}function Mg(a){this.D=a.call(this,this.D,this.B)}function Ng(a){this.D=a.call(this,this.D,this.X)}function Og(a){this.D=a.call(this,this.D,this.H)}function Pg(a){this.D=a.call(this,this.D,this.F)}function Qg(a){this.D=a.call(this,this.D,this.D)} +var Rg=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.aa},function(a){a= a.call(this,this.N(this.C,this.D),this.G&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.K()),this.G&255);this.Q(a);this.A-=this.ua},function(a){a=a.call(this,this.N(this.C,this.B),this.G&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.I&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.I&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F& 65535),this.I&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.I&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.I&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.D),this.I&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.K()),this.I&255);this.Q(a);this.A-=this.ua},function(a){a=a.call(this,this.N(this.C,this.B),this.I&255);this.Q(a);this.A-=this.aa},function(a){a= a.call(this,this.N(this.C,this.B+this.F&65535),this.J&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.J&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.J&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.J&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.J&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C, @@ -151,7 +150,7 @@ this.V},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.I>>8 this.V},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.J>>8); this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()& 65535),this.B>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()& -65535),this.B>>8);this.Q(a);this.A-=this.P},ve,De,Le,Te,af,jf,rf,zf,we,Ee,Me,Ue,bf,kf,sf,Af,xe,Fe,Ne,Ve,cf,lf,tf,Bf,ye,Ge,Oe,We,df,mf,uf,Cf,ze,He,Pe,Xe,ef,nf,vf,Df,Ae,Ie,Qe,Ye,ff,of,wf,Ef,Be,Je,Re,Ze,gf,pf,xf,Ff,Ce,Ke,Se,$e,hf,qf,yf,Gf],Tg=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); +65535),this.B>>8);this.Q(a);this.A-=this.P},ue,Ce,Ke,Se,$e,hf,qf,yf,ve,De,Le,Te,af,jf,rf,zf,we,Ee,Me,Ue,bf,kf,sf,Af,xe,Fe,Ne,Ve,cf,lf,tf,Bf,ye,Ge,Oe,We,df,mf,uf,Cf,ze,He,Pe,Xe,ef,nf,vf,Df,Ae,Ie,Qe,Ye,ff,of,wf,Ef,Be,Je,Re,Ze,gf,pf,xf,Ff],Sg=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.G);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.F),this.G);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.D),this.G);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.K()),this.G);this.R(a);this.A-=this.ua},function(a){a=a.call(this,this.O(this.C,this.B),this.G);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.B+ this.F&65535),this.I);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.I);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.I);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.I);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.F),this.I);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.D),this.I);this.R(a);this.A-=this.aa}, function(a){a=a.call(this,this.O(this.C,this.K()),this.I);this.R(a);this.A-=this.ua},function(a){a=a.call(this,this.O(this.C,this.B),this.I);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.J);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.J);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.J);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+ @@ -188,7 +187,7 @@ this.F+this.K()&65535),this.H);this.R(a);this.A-=this.W},function(a){a=a.call(th 65535),this.H);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.F+ this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()& 65535),this.D);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.D);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.F+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535), -this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},Hf,Pf,Xf,eg,mg,ug,Cg,Kg,If,Qf,Yf,fg,ng,vg,Dg,Lg,Jf,Rf,Zf,gg,og,wg,Eg,Mg,Kf,Sf,$f,hg,pg,xg,Fg,Ng,Lf,Tf,ag,ig,qg,yg,Gg,Og,Mf,Uf,bg,jg,rg,zg,Hg,Pg,Nf,Vf,cg,kg,sg,Ag,Ig,Qg,Of,Wf,dg,lg,tg,Bg,Jg,Rg],Ug=[function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.D& +this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},Gf,Of,Wf,dg,lg,tg,Bg,Jg,Hf,Pf,Xf,eg,mg,ug,Cg,Kg,If,Qf,Yf,fg,ng,vg,Dg,Lg,Jf,Rf,Zf,gg,og,wg,Eg,Mg,Kf,Sf,$f,hg,pg,xg,Fg,Ng,Lf,Tf,ag,ig,qg,yg,Gg,Og,Mf,Uf,bg,jg,rg,zg,Hg,Pg,Nf,Vf,cg,kg,sg,Ag,Ig,Qg],Tg=[function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.D& 65535));this.G=this.G&-256|a;this.A-=this.ga},function(a){a=a.call(this,this.G&255,this.T(this.M,this.H+this.F&65535));this.G=this.G&-256|a;this.A-=this.ga},function(a){a=a.call(this,this.G&255,this.T(this.M,this.H+this.D&65535));this.G=this.G&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.F));this.G=this.G&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.D));this.G=this.G&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.G&255, this.T(this.C,this.K()));this.G=this.G&-256|a;this.A-=this.ua},function(a){a=a.call(this,this.G&255,this.T(this.C,this.B));this.G=this.G&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.B+this.F&65535));this.I=this.I&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.B+this.D&65535));this.I=this.I&-256|a;this.A-=this.ga},function(a){a=a.call(this,this.I&255,this.T(this.M,this.H+this.F&65535));this.I=this.I&-256|a;this.A-=this.ga},function(a){a= a.call(this,this.I&255,this.T(this.M,this.H+this.D&65535));this.I=this.I&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.F));this.I=this.I&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.D));this.I=this.I&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.K()));this.I=this.I&-256|a;this.A-=this.ua},function(a){a=a.call(this,this.I&255,this.T(this.C,this.B));this.I=this.I&-256|a;this.A-=this.aa},function(a){a= @@ -231,7 +230,7 @@ a.call(this,this.I>>8,this.T(this.C,this.D+this.K()&65535));this.I=this.I&255|a< this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.W},function(a){a=a.call(this,this.J>>8,this.T(this.M,this.H+this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.W},function(a){a=a.call(this,this.J>>8,this.T(this.M,this.H+this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.J>>8,this.T(this.C,this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.T(this.C,this.D+this.K()&65535));this.J=this.J& 255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.T(this.M,this.H+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.T(this.C,this.B+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.W},function(a){a= a.call(this,this.B>>8,this.T(this.M,this.H+this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.W},function(a){a=a.call(this,this.B>>8,this.T(this.M,this.H+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.M, -this.H+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf],O=[function(a){this.G=a.call(this,this.G,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.G=a.call(this,this.G, +this.H+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff],N=[function(a){this.G=a.call(this,this.G,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.G=a.call(this,this.G, this.U(this.C,this.B+this.D&65535));this.A-=this.ga},function(a){this.G=a.call(this,this.G,this.U(this.M,this.H+this.F&65535));this.A-=this.ga},function(a){this.G=a.call(this,this.G,this.U(this.M,this.H+this.D&65535));this.A-=this.fa},function(a){this.G=a.call(this,this.G,this.U(this.C,this.F));this.A-=this.aa},function(a){this.G=a.call(this,this.G,this.U(this.C,this.D));this.A-=this.aa},function(a){this.G=a.call(this,this.G,this.U(this.C,this.K()));this.A-=this.ua},function(a){this.G=a.call(this, this.G,this.U(this.C,this.B));this.A-=this.aa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.B+this.D&65535));this.A-=this.ga},function(a){this.I=a.call(this,this.I,this.U(this.M,this.H+this.F&65535));this.A-=this.ga},function(a){this.I=a.call(this,this.I,this.U(this.M,this.H+this.D&65535));this.A-=this.fa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.F));this.A-=this.aa},function(a){this.I= a.call(this,this.I,this.U(this.C,this.D));this.A-=this.aa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.K()));this.A-=this.ua},function(a){this.I=a.call(this,this.I,this.U(this.C,this.B));this.A-=this.aa},function(a){this.J=a.call(this,this.J,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.J=a.call(this,this.J,this.U(this.C,this.B+this.D&65535));this.A-=this.ga},function(a){this.J=a.call(this,this.J,this.U(this.M,this.H+this.F&65535));this.A-=this.ga},function(a){this.J= @@ -266,7 +265,7 @@ a.call(this,this.H,this.U(this.C,this.B+this.F+this.K()&65535));this.A-=this.V}, this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.H=a.call(this,this.H,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.H=a.call(this,this.H,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.C,this.B+this.F+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.U(this.C,this.B+this.D+this.K()&65535));this.A-=this.W},function(a){this.F=a.call(this,this.F,this.U(this.M,this.H+this.F+ this.K()&65535));this.A-=this.W},function(a){this.F=a.call(this,this.F,this.U(this.M,this.H+this.D+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.U(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.D= a.call(this,this.D,this.U(this.C,this.B+this.F+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.U(this.C,this.B+this.D+this.K()&65535));this.A-=this.W},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.F+this.K()&65535));this.A-=this.W},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.D+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.U(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D, -this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg],Vg=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535), +this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg],Ug=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535), b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.D&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[0].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[0].call(this, this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[0].call(this,this.N(this.C,this.K()),b.call(this));this.Q(c);this.A-=this.ua},function(a,b){var c=a[0].call(this,this.N(this.C,this.B),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.D&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c= a[1].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c=a[1].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.N(this.C,this.K()),b.call(this));this.Q(c);this.A-=this.ua},function(a, @@ -319,7 +318,7 @@ this.G&255|c<<8},function(a,b){var c=a[3].call(this,this.I>>8,b.call(this));this c},function(a,b){var c=a[5].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[5].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[5].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[5].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[5].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[5].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a, b){var c=a[5].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[6].call(this,this.G&255,b.call(this));this.G=this.G&-256|c},function(a,b){var c=a[6].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[6].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[6].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[6].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c= a[6].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[6].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[6].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[7].call(this,this.G&255,b.call(this));this.G=this.G&-256|c},function(a,b){var c=a[7].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[7].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[7].call(this, -this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[7].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],Wg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.fa},function(a, +this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[7].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],Vg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.fa},function(a, b){var c=a[0].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.O(this.M,this.H+this.F&65535),b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c);this.A-=this.fa},function(a,b){var c=a[0].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[0].call(this,this.O(this.C,this.D),b.call(this));this.R(c); this.A-=this.aa},function(a,b){var c=a[0].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.ua},function(a,b){var c=a[0].call(this,this.O(this.C,this.B),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.F&65535), b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.O(this.C,this.D),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.ua},function(a,b){var c=a[1].call(this,this.O(this.C,this.B), @@ -369,372 +368,372 @@ this.G,b.call(this))},function(a,b){this.I=a[3].call(this,this.I,b.call(this))}, a[4].call(this,this.I,b.call(this))},function(a,b){this.J=a[4].call(this,this.J,b.call(this))},function(a,b){this.B=a[4].call(this,this.B,b.call(this))},function(a,b){this.X=a[4].call(this,this.X,b.call(this))},function(a,b){this.H=a[4].call(this,this.H,b.call(this))},function(a,b){this.F=a[4].call(this,this.F,b.call(this))},function(a,b){this.D=a[4].call(this,this.D,b.call(this))},function(a,b){this.G=a[5].call(this,this.G,b.call(this))},function(a,b){this.I=a[5].call(this,this.I,b.call(this))}, function(a,b){this.J=a[5].call(this,this.J,b.call(this))},function(a,b){this.B=a[5].call(this,this.B,b.call(this))},function(a,b){this.X=a[5].call(this,this.X,b.call(this))},function(a,b){this.H=a[5].call(this,this.H,b.call(this))},function(a,b){this.F=a[5].call(this,this.F,b.call(this))},function(a,b){this.D=a[5].call(this,this.D,b.call(this))},function(a,b){this.G=a[6].call(this,this.G,b.call(this))},function(a,b){this.I=a[6].call(this,this.I,b.call(this))},function(a,b){this.J=a[6].call(this,this.J, b.call(this))},function(a,b){this.B=a[6].call(this,this.B,b.call(this))},function(a,b){this.$|=512;this.X=a[6].call(this,this.X,b.call(this))},function(a,b){this.H=a[6].call(this,this.H,b.call(this))},function(a,b){this.F=a[6].call(this,this.F,b.call(this))},function(a,b){this.D=a[6].call(this,this.D,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.J=a[7].call(this,this.J,b.call(this))},function(a, -b){this.B=a[7].call(this,this.B,b.call(this))},function(a,b){this.X=a[7].call(this,this.X,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],Yg=[function(){var a=this.ea();16>(a&56)&&(this.$|=1);Wg[a].call(this,Dc,Td)},function(){var a=this.ea();a&16||(this.$|=1);Wg[a].call(this,Xg,Td)},function(){O[this.ea()].call(this,re)},function(){O[this.ea()].call(this,se)}, -N,N,N,N,N,N,N,G,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N, -N],Ec=[function(){this.A-=2+(0>this.ha?0:1);return this.Ld.oa},function(){this.A-=2+(0>this.ha?0:1);return this.xg.oa},function(a){this.$|=2;this.Ld.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.xg.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&2048!=(this.Rb.ab&2560)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3)))return bd(this),a;Xc(this);return a},function(a){this.$|=2; -this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&512==(this.Rb.ab&2560)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3))return bd(this),a;Xc(this);return a},M,M],Fc=[qc,qc,qc,qc,qc,qc,M,M],Dc=Fc,Xg=[function(a){0>this.ha?G.call(this):(this.Nd(this.ha+2,this.Qc),this.bd(this.ha+4,this.Qc>>16),a=this.We-this.Qc,this.A-=11);return a},function(a){0>this.ha?G.call(this):(this.Nd(this.ha+2,this.ed),this.bd(this.ha+4,this.ed>>16),a=this.se-this.ed,this.A-=12);return a},function(a){0>this.ha?G.call(this): -(this.Qc=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.We=this.Qc+a,this.$|=2,this.A-=11);return a},function(a){0>this.ha?G.call(this):(this.ed=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.se=this.ed+a,this.$|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ha?0:1);return this.ad},M,function(a){this.ad=this.ad&65520|a&-65521;this.A-=3+(0>this.ha?0:3);this.ad&1&&yc(this,!0);this.$|=2;return a},M];function sc(){Yg[this.ea()].call(this)}function uc(){K(this,this.X);this.A-=this.rc} -function $b(){var a=this.X;K(this,this.G);K(this,this.I);K(this,this.J);K(this,this.B);K(this,a);K(this,this.H);K(this,this.F);K(this,this.D);this.A-=this.Dl}function ac(){this.D=this.Ja();this.F=this.Ja();this.H=this.Ja();this.X+=2;this.B=this.Ja();this.J=this.Ja();this.I=this.Ja();this.G=this.Ja();this.A-=this.Bl}function bc(){O[this.ea()].call(this,pe)}function tc(){Tg[this.ea()].call(this,qe)}function cc(){K(this,this.K());this.A-=this.rc}function dc(){O[this.ea()].call(this,ke)} -function ec(){K(this,this.ea());this.A-=this.rc}function fc(){O[this.ea()].call(this,je)}function gc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=hb(this.na,this.J,this.Ca-b-1);this.bd(this.cb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}} -function hc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=hb(this.na,this.J,d)|hb(this.na,this.J,d)<<8;this.Nd(this.cb.$b(this.D,1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}} -function ic(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.ub(this.Qb.Uc(this.F,0));this.F=this.F+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;lb(this.na,this.J,d,this.Ca-b-1);a&&(J(this,-2),this.$|=256)}} -function jc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ia(this.Qb.Uc(this.F,1));this.F=this.F+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;lb(this.na,this.J,d&255,b);lb(this.na,this.J,d>>8,b);a&&(J(this,-2),this.$|=256)}}function Zg(){var a=this.L();Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function $g(){var a=this.L();Uc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)} -function ah(){var a=this.L();Pc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function bh(){var a=this.L();Pc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function ch(){var a=this.L();Sc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function dh(){var a=this.L();Sc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function eh(){var a=this.L();Pc(this)||Sc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb} -function fh(){var a=this.L();Pc(this)||Sc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function gh(){var a=this.L();Tc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function hh(){var a=this.L();Tc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function ih(){var a=this.L();Qc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function jh(){var a=this.L();Qc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)} -function kh(){var a=this.L();!Tc(this)!=!Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function lh(){var a=this.L();!Tc(this)==!Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function mh(){var a=this.L();Sc(this)||!Tc(this)!=!Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function nh(){var a=this.L();Sc(this)||!Tc(this)!=!Uc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)} -function oh(){Vg[this.ea()].call(this,Vd,this.ea);this.A-=0>this.Ka?1:this.xh}function kc(){Vg[this.ea()].call(this,de,Sd)}function lc(){Wg[this.ea()].call(this,ee,Sd)}function ph(){var a=this.K();I(this,this.Ja());this.X=this.X+a&65535;this.A-=this.Il}function qh(){I(this,this.Ja());this.A-=this.Fl} -function mc(){var a=this.K(),b=this.ea()&31;this.A-=11;K(this,this.H);var c=this.X;if(0>8,c,d=Rc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?ad(this):Wc(this);this.A-=this.He},function(){Sg[this.ea()].call(this,pd)},function(){Tg[this.ea()].call(this,xd)},function(){Ug[this.ea()].call(this,pd)},function(){O[this.ea()].call(this,xd)},function(){this.G=this.G&-256|pd.call(this,this.G&255,this.ea());this.A--},function(){this.G=xd.call(this,this.G,this.K());this.A--},function(){this.$|= -20;this.C=this.M=this.Qb;this.A-=this.Pb},function(){var a=this.G&255,b=this.G>>8,c,d=Rc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?ad(this):Wc(this);this.A-=this.He},function(){this.ma=this.G;this.G=(this.ja=this.G+1)&65535;this.Y=this.G|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.I;this.I=(this.ja=this.I+1)&65535;this.Y=this.I|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.J; +b){this.B=a[7].call(this,this.B,b.call(this))},function(a,b){this.X=a[7].call(this,this.X,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],Xg=[function(){var a=this.ea();16>(a&56)&&(this.$|=1);Vg[a].call(this,Cc,Sd)},function(){var a=this.ea();a&16||(this.$|=1);Vg[a].call(this,Wg,Sd)},function(){N[this.ea()].call(this,qe)},function(){N[this.ea()].call(this,re)}, +M,M,M,M,M,M,M,F,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M, +M],Dc=[function(){this.A-=2+(0>this.ha?0:1);return this.Ld.oa},function(){this.A-=2+(0>this.ha?0:1);return this.xg.oa},function(a){this.$|=2;this.Ld.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.xg.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&2048!=(this.Rb.ab&2560)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3)))return ad(this),a;Wc(this);return a},function(a){this.$|=2; +this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&512==(this.Rb.ab&2560)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3))return ad(this),a;Wc(this);return a},L,L],Ec=[pc,pc,pc,pc,pc,pc,L,L],Cc=Ec,Wg=[function(a){0>this.ha?F.call(this):(this.Nd(this.ha+2,this.Qc),this.bd(this.ha+4,this.Qc>>16),a=this.Xe-this.Qc,this.A-=11);return a},function(a){0>this.ha?F.call(this):(this.Nd(this.ha+2,this.ed),this.bd(this.ha+4,this.ed>>16),a=this.re-this.ed,this.A-=12);return a},function(a){0>this.ha?F.call(this): +(this.Qc=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.Xe=this.Qc+a,this.$|=2,this.A-=11);return a},function(a){0>this.ha?F.call(this):(this.ed=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.re=this.ed+a,this.$|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ha?0:1);return this.ad},L,function(a){this.ad=this.ad&65520|a&-65521;this.A-=3+(0>this.ha?0:3);this.ad&1&&xc(this,!0);this.$|=2;return a},L];function rc(){Xg[this.ea()].call(this)}function tc(){J(this,this.X);this.A-=this.rc} +function Zb(){var a=this.X;J(this,this.G);J(this,this.I);J(this,this.J);J(this,this.B);J(this,a);J(this,this.H);J(this,this.F);J(this,this.D);this.A-=this.Al}function $b(){this.D=this.Ja();this.F=this.Ja();this.H=this.Ja();this.X+=2;this.B=this.Ja();this.J=this.Ja();this.I=this.Ja();this.G=this.Ja();this.A-=this.yl}function ac(){N[this.ea()].call(this,oe)}function sc(){Sg[this.ea()].call(this,pe)}function bc(){J(this,this.K());this.A-=this.rc}function cc(){N[this.ea()].call(this,je)} +function dc(){J(this,this.ea());this.A-=this.rc}function ec(){N[this.ea()].call(this,ie)}function fc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=hb(this.na,this.J,this.Ca-b-1);this.bd(this.bb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}} +function gc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=hb(this.na,this.J,d)|hb(this.na,this.J,d)<<8;this.Nd(this.bb.$b(this.D,1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}} +function hc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.ub(this.Qb.Uc(this.F,0));this.F=this.F+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;lb(this.na,this.J,d,this.Ca-b-1);a&&(I(this,-2),this.$|=256)}} +function ic(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ia(this.Qb.Uc(this.F,1));this.F=this.F+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;lb(this.na,this.J,d&255,b);lb(this.na,this.J,d>>8,b);a&&(I(this,-2),this.$|=256)}}function Yg(){var a=this.L();Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function Zg(){var a=this.L();Tc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)} +function $g(){var a=this.L();Oc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function ah(){var a=this.L();Oc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function bh(){var a=this.L();Rc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function ch(){var a=this.L();Rc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function dh(){var a=this.L();Oc(this)||Rc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb} +function eh(){var a=this.L();Oc(this)||Rc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function fh(){var a=this.L();Sc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function gh(){var a=this.L();Sc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function hh(){var a=this.L();Pc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function ih(){var a=this.L();Pc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)} +function jh(){var a=this.L();!Sc(this)!=!Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function kh(){var a=this.L();!Sc(this)==!Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function lh(){var a=this.L();Rc(this)||!Sc(this)!=!Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function mh(){var a=this.L();Rc(this)||!Sc(this)!=!Tc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)} +function nh(){Ug[this.ea()].call(this,Ud,this.ea);this.A-=0>this.Ka?1:this.wh}function jc(){Ug[this.ea()].call(this,ce,Rd)}function kc(){Vg[this.ea()].call(this,de,Rd)}function oh(){var a=this.K();H(this,this.Ja());this.X=this.X+a&65535;this.A-=this.Fl}function ph(){H(this,this.Ja());this.A-=this.Cl} +function lc(){var a=this.K(),b=this.ea()&31;this.A-=11;J(this,this.H);var c=this.X;if(0>8,c,d=Qc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?$c(this):Vc(this);this.A-=this.He},function(){Rg[this.ea()].call(this,od)},function(){Sg[this.ea()].call(this,wd)},function(){Tg[this.ea()].call(this,od)},function(){N[this.ea()].call(this,wd)},function(){this.G=this.G&-256|od.call(this,this.G&255,this.ea());this.A--},function(){this.G=wd.call(this,this.G,this.K());this.A--},function(){this.$|= +20;this.C=this.M=this.Qb;this.A-=this.Pb},function(){var a=this.G&255,b=this.G>>8,c,d=Qc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?$c(this):Vc(this);this.A-=this.He},function(){this.ma=this.G;this.G=(this.ja=this.G+1)&65535;this.Y=this.G|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.I;this.I=(this.ja=this.I+1)&65535;this.Y=this.I|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.J; this.J=(this.ja=this.J+1)&65535;this.Y=this.J|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.B;this.B=(this.ja=this.B+1)&65535;this.Y=this.B|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.X;this.X=(this.ja=this.X+1)&65535;this.Y=this.X|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.H;this.H=(this.ja=this.H+1)&65535;this.Y=this.H|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.F;this.F=(this.ja= this.F+1)&65535;this.Y=this.F|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.D;this.D=(this.ja=this.D+1)&65535;this.Y=this.D|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.G;this.G=(this.ja=this.G-1)&65535;this.Y=this.G|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.I;this.I=(this.ja=this.I-1)&65535;this.Y=this.I|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.J;this.J=(this.ja=this.J-1)&65535; this.Y=this.J|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.B;this.B=(this.ja=this.B-1)&65535;this.Y=this.B|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.X;this.X=(this.ja=this.X-1)&65535;this.Y=this.X|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.H;this.H=(this.ja=this.H-1)&65535;this.Y=this.H|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.F;this.F=(this.ja=this.F-1)&65535;this.Y=this.F| -(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.D;this.D=(this.ja=this.D-1)&65535;this.Y=this.D|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){K(this,this.G);this.A-=this.rc},function(){K(this,this.I);this.A-=this.rc},function(){K(this,this.J);this.A-=this.rc},function(){K(this,this.B);this.A-=this.rc},function(){K(this,this.X-2&65535);this.A-=this.rc},function(){K(this,this.H);this.A-=this.rc},function(){K(this,this.F);this.A-=this.rc},function(){K(this,this.D); -this.A-=this.rc},function(){this.G=this.Ja();this.A-=this.jc},function(){this.I=this.Ja();this.A-=this.jc},function(){this.J=this.Ja();this.A-=this.jc},function(){this.B=this.Ja();this.A-=this.jc},function(){this.X=this.Ja();this.A-=this.jc},function(){this.H=this.Ja();this.A-=this.jc},function(){this.F=this.Ja();this.A-=this.jc},function(){this.D=this.Ja();this.A-=this.jc},Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,jh,kh,lh,mh,nh,Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,jh,kh,lh,mh,nh,oh,function(){Wg[this.ea()].call(this, -Wd,this.K);this.A-=0>this.Ka?1:this.xh},oh,function(){Wg[this.ea()].call(this,Wd,this.L);this.A-=0>this.Ka?1:this.xh},function(){Sg[this.ea()].call(this,he)},function(){Tg[this.ea()].call(this,ie)},function(){Ug[this.Pg=this.ea()].call(this,te)},function(){O[this.Pg=this.ea()].call(this,ue)},function(){this.$|=1;Sg[this.ea()].call(this,fe)},function(){this.$|=1;Tg[this.ea()].call(this,fe)},function(){Ug[this.ea()].call(this,fe)},function(){O[this.ea()].call(this,fe)},function(){var a=this.ea();switch((a& -56)>>3){case 0:this.Db=this.cb.oa;break;case 1:this.Db=this.ra.oa;break;case 2:this.Db=this.Eb.oa;break;case 3:this.Db=this.Qb.oa;break;default:N.call(this);return}this.$|=1;Tg[a].call(this,ge)},function(){this.$|=1;this.C=this.M=this.am;O[this.ea()].call(this,me)},function(){var a,b=this.ea(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Ga){G.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break; -case 6:a=this.F;break;case 7:a=this.D}}O[b].call(this,fe);switch(c){case 0:Oc(this,this.G);this.G=a;break;case 1:Ic(this,this.I);this.I=a;break;case 2:Nc(this,this.J);this.J=a;break;case 3:Mc(this,this.B);this.B=a;break;case 4:Oc(this,this.X);this.X=a;break;case 5:Ic(this,this.H);this.H=a;break;case 6:Nc(this,this.F);this.F=a;break;case 7:Mc(this,this.D),this.D=a}},function(){this.$|=1;Wg[this.ea()].call(this,Xd,this.Ja)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-= -3},function(){var a=this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Pk},function(){var a=this.K(),b=this.K();K(this, -this.ra.oa);K(this,this.sa);wc(this,a,b);this.A-=this.Sk},function(){N.call(this)},function(){K(this,zc(this));this.A-=this.rc},function(){xc(this,this.Ja());this.A-=this.jc},function(){var a=this.G>>8;a&1?$c(this):Vc(this);a&4?Qc(this)||(this.ja^=1):Qc(this)&&(this.ja^=1);a&16?ad(this):Wc(this);a&64?bd(this):Xc(this);a&128?cd(this):Yc(this);this.A-=this.Cb},function(){this.G=this.G&255|(zc(this)&213)<<8;this.A-=this.Cb},function(){this.G=this.G&-256|this.T(this.C,this.K());this.A-=this.bj},function(){this.G= -this.U(this.C,this.K());this.A-=this.bj},function(){var a=this.K(),b=this.G;this.bd(this.C.$b(a,0),b);this.A-=this.cj},function(){var a=this.K(),b=this.G;this.Nd(this.C.$b(a,1),b);this.A-=this.cj},function(){var a=1,b=0,c=this.dj;this.wa&192&&(a=this.I,b=1,c=this.fj,this.wa&256||(this.A-=this.ej));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F);this.bd(this.cb.$b(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a= -1,b=0,c=this.dj;this.wa&192&&(a=this.I,b=1,c=this.fj,this.wa&256||(this.A-=this.ej));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F);this.Nd(this.cb.$b(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Oi;this.wa&192&&(a=this.I,b=1,c=this.Qi,this.wa&256||(this.A-=this.Pi));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F),f=this.N(this.cb,this.D);pd.call(this,e,f);this.F=this.F+d&65535; -this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Sc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Oi;this.wa&192&&(a=this.I,b=1,c=this.Qi,this.wa&256||(this.A-=this.Pi));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F),f=this.O(this.cb,this.D);xd.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Sc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){this.Y=this.ja=this.ma=this.G&255& -this.ea();this.da=256;this.A-=this.He},function(){this.Y=this.ja=this.ma=this.G&this.K();this.da=65536;this.A-=this.He},function(){var a=1,b=0,c=this.oj;this.wa&192&&(a=this.I,b=1,c=this.qj,this.wa&256||(this.A-=this.pj));if(a--){var d=this.G;this.bd(this.cb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.oj;this.wa&192&&(a=this.I,b=1,c=this.qj,this.wa&256||(this.A-=this.pj));if(a--){var d=this.G;this.Nd(this.cb.$b(this.D, -1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.Wi;this.wa&192&&(a=this.I,b=1,c=this.Yi,this.wa&256||(this.A-=this.Xi));a--&&(this.G=this.G&-256|this.T(this.C,this.F),this.F=this.F+(this.xa&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(J(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.Wi;this.wa&192&&(a=this.I,b=1,c=this.Yi,this.wa&256||(this.A-=this.Xi));a--&&(this.G=this.U(this.C,this.F),this.F=this.F+(this.xa& -1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(J(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.ij;this.wa&192&&(a=this.I,b=1,c=this.kj,this.wa&256||(this.A-=this.jj));a--&&(pd.call(this,this.G&255,this.N(this.cb,this.D)),this.D=this.D+(this.xa&1024?-1:1)&65535,this.A-=c-this.qb,this.I-=b,a&&Sc(this)==(this.wa&64)&&(J(this,-2),this.$|=256))},function(){var a=1,b=0,c=this.ij;this.wa&192&&(a=this.I,b=1,c=this.kj,this.wa&256||(this.A-=this.jj));a--&&(xd.call(this,this.G,this.O(this.cb, -this.D)),this.D=this.D+(this.xa&1024?-2:2)&65535,this.A-=c-this.qb,this.I-=b,a&&Sc(this)==(this.wa&64)&&(J(this,-2),this.$|=256))},function(){this.G=this.G&-256|this.ea();this.A-=this.Cb},function(){this.I=this.I&-256|this.ea();this.A-=this.Cb},function(){this.J=this.J&-256|this.ea();this.A-=this.Cb},function(){this.B=this.B&-256|this.ea();this.A-=this.Cb},function(){this.G=this.G&255|this.ea()<<8;this.A-=this.Cb},function(){this.I=this.I&255|this.ea()<<8;this.A-=this.Cb},function(){this.J=this.J& -255|this.ea()<<8;this.A-=this.Cb},function(){this.B=this.B&255|this.ea()<<8;this.A-=this.Cb},function(){this.G=this.K();this.A-=this.Cb},function(){this.I=this.K();this.A-=this.Cb},function(){this.J=this.K();this.A-=this.Cb},function(){this.B=this.K();this.A-=this.Cb},function(){this.X=this.K();this.A-=this.Cb},function(){this.H=this.K();this.A-=this.Cb},function(){this.F=this.K();this.A-=this.Cb},function(){this.D=this.K();this.A-=this.Cb},ph,qh,ph,qh,function(){O[this.ea()].call(this,oe)},function(){O[this.ea()].call(this, -ne)},function(){this.$|=1;Vg[this.ea()].call(this,Yd,this.ea)},function(){this.$|=1;Wg[this.ea()].call(this,Yd,this.K)},rh,sh,rh,sh,function(){fd.call(this,3,null,this.il)},function(){var a=this.ea(),b;a:{b=this.Gg[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.da=256;this.A-=this.Lk},function(){this.G=this.G&-256|(Pc(this)?255:0);this.A-=2},function(){this.G=this.G&-256|this.T(this.C,this.B+ -(this.G&255)&65535);this.A-=this.Kl},th,th,th,th,th,th,th,th,function(){var a=this.L();(this.I=this.I-1&65535)&&this.Y&this.da-1?(I(this,this.sa+a),this.A-=this.rl):this.A-=this.Zi},function(){var a=this.L();!(this.I=this.I-1&65535)||this.Y&this.da-1?this.A-=this.aj:(I(this,this.sa+a),this.A-=this.$i)},function(){var a=this.L();(this.I=this.I-1&65535)?(I(this,this.sa+a),this.A-=this.ql):this.A-=this.Zi},function(){var a=this.L();this.I?this.A-=this.aj:(I(this,this.sa+a),this.A-=this.$i)},function(){var a= -this.ea();this.G=this.G&-256|hb(this.na,a,this.Ca-2);this.A-=this.Ti},function(){var a=this.ea();this.G=hb(this.na,a,this.Ca-1)|hb(this.na,a+1&65535,this.Ca-2)<<8;this.A-=this.Ti},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);this.A-=this.hj},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);lb(this.na,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.hj},function(){var a=this.K();K(this,this.sa);I(this,this.sa+a);this.A-=this.Qk},function(){var a=this.K();I(this,this.sa+a); -this.A-=this.Ui},function(){wc(this,this.K(),this.K());this.A-=this.ml},function(){var a=this.L();I(this,this.sa+a);this.A-=this.Ui},function(){this.G=this.G&-256|hb(this.na,this.J,this.Ca-1);this.A-=this.Si},function(){this.G=hb(this.na,this.J,this.Ca-1)|hb(this.na,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Si},function(){lb(this.na,this.J,this.G&255,this.Ca-1);this.A-=this.gj},function(){lb(this.na,this.J,this.G&255,this.Ca-1);lb(this.na,this.J+1&65535,this.G>>8,this.Ca-1);this.A-=this.gj},uh,uh, -function(){this.$|=132;this.A-=this.Pb},function(){this.$|=68;this.A-=this.Pb},function(){this.kb|=4;this.A-=2;this.Z&&1=Ah&&(this.Lf=this.Mf=2);this.ih=a.scaleTimers||!1;this.ep=a.rtcDate;this.uk=!1;a.sound&&window&&"webkitAudioContext"in window&& -(this.di=new webkitAudioContext);this.reset();this.Sa()}x(w,P);var vh=5150,Ah=5170,Bh={none:0,tv:1,color:2,mono:3,ega:0},zh={Nh:1},xh=12,yh={rp:16,np:32,mm:48,yf:48,zf:4};zh.ONE=0;zh.sp=64;zh.qp=128;zh.op=192;zh.yf=192;zh.zf=6;k=P.prototype; -k.wb=function(a,b,c,d){switch(c){case "sw1":return this.ta[c]=d,Ch(this,c,d,this.Zb,{0:this.Ga==vh?"Bootable Floppy Drive":"Loop on POST",1:this.Ga==vh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ga==vh)return this.ta[c]=d,Ch(this,c,d,this.oe,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.ta[c]=d,!0}return!1}; -k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.Da=a;this.pb=B(a,"Keyboard");this.Ll=Math.round(c.Hd/1193181);gb(b,this,Dh);kb(b,this,Eh);this.Gab;b++){var c=13>=b?Mh(e,b):e.pa[b];a&&(a+="\n");a+="CMOS[0x"+p(b)+"]: 0x"+p(c)}e.Z.message(a)})}Ac(c,26,this,this.Dn)};k.bc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0}; -k.reset=function(){var a;this.cd=this.Zb;this.Oe=this.oe;Nh(this);this.$a=Array(this.Lf);for(a=0;a=Ah){this.jb=16;this.vd=0;this.Ec=16;this.Mg=0;this.ue=160;512<=Rh(this)&&(this.ue|=16);3==Sh(this)&&(this.ue|=64);this.Xh=3;this.If=0;this.Ig=Array(7);this.ve=0;this.pa||(this.pa=Array(64), -Th(this,this.ep));for(a=14;46>a;a++)void 0===this.pa[a]&&(this.pa[a]=0);this.pa[20]=this.cd&(yh.yf|2|zh.Nh|zh.yf);this.pa[16]=Uh(this,0)<<4|Uh(this,1);Vh(this)}}; -function Th(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.ca("CMOS date invalid ("+b+"), using "+c)):b&&a.ca("CMOS date: "+c);a.pa[0]=c.getSeconds();a.pa[1]=0;a.pa[2]=c.getMinutes();a.pa[3]=0;a.pa[4]=c.getHours();a.pa[5]=0;a.pa[6]=c.getDay()+1;a.pa[7]=c.getDate();a.pa[8]=c.getMonth()+1;c=c.getFullYear();a.pa[9]=c%100;c/=100;a.pa[50]=c%10|c/10<<4;a.ag=-1;a.pa[10]=38;a.pa[11]=2;a.pa[12]=0;a.pa[13]=128} -function Mh(a,b){var c=a.pa[b];if(10>b){var d=!1;4!=b&&5!=b||a.pa[11]&2||(c=12>c?c?c:12:(c-=12)?c+128:140,d=!0);a.pa[11]&4||(d&&128c;c++)b+=a.pa[c];a.pa[47]=b&255;a.pa[46]=b>>8} -k.save=function(){var a=new H(this);a.set(0,[this.Zb,this.oe,this.cd,this.Oe]);for(var b=[],c=0;c=Ah&&(a.set(5,[this.jb,this.vd,this.Ec,this.Mg,this.ue,this.Xh]),a.set(6,[this.If,this.Ig,this.ve,this.pa,this.ag]));return a.data()}; -k.restore=function(a){var b,c;b=a[0];this.Zb=b[0];this.oe=b[1];this.cd=b[2];this.Oe=b[3];b=a[1];this.$a=Array(this.Lf);for(c=0;c>2)+1)*a.Gn+32*((b?a.oe:a.Oe)&15)}function Yh(a,b){var c=b?a.Zb:a.cd;return a.Ga!=vh||c&zh.Nh?((c&zh.yf)>>zh.zf)+1:0}function Uh(a,b){return b>yh.zf} -function Ch(a,b,c,d,e){for(var f="",g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='
'+g+"
\n"}c.innerHTML=f;b=A(c,"pcjs-bitCell");c=null;for(g=0;g>2].Hb[b&3],c,d,e)}function gi(a,b,c){b=a.$a[b>>2].Hb[b&3];b.Yg&&b.xi&&b.zh?(c&&(b.$g=c),b.Fd||gd(a,b,!0)):c&&c(!0)} -function gd(a,b,c){c&&(b.count=b.ac[1]<<8|b.ac[0],b.em=b.mode&12,b.vk=b.kd=!1);for(var d=!1;0<=b.count&&(c=b.Sg<<16|b.Sb[1]<<8|b.Sb[0],4==b.em?(d=!0,function(c){b.xi.call(b.Yg,b.zh,-1,function(f,g){0>f&&(b.vk||(b.vk=!0),f=255);b.Fd||bb(a.na,c,f);(d=g)&&setTimeout(function(){ni(b)||gd(a,b)},0)})}(c)):8==b.em?(c=$a(a.na,c),0>b.xi.call(b.Yg,b.zh,c)&&(b.kd=!0)):b.kd=!0),!d&&!ni(b););} -function ni(a){if(!a.kd&&0<=--a.count&&(a.mode&32?(a.Sb[0]--,0>a.Sb[0]&&(a.Sb[0]=255,a.Sb[1]--,0>a.Sb[1]&&(a.Sb[1]=255))):(a.Sb[0]++,255>3,e=a.sb[d];e.Kb|=1<<(b&7);e.fg=c||0;1==d&&(a.sb[0].Kb|=4);qi(a,d)} -function ti(a,b){var c=b>>3,d=a.sb[c],e=1<<(b&7);d.Kb&e&&(d.Kb&=~e,1!=c||d.Kb||(a.sb[0].Kb&=-5),qi(a,c))}function ed(a,b){void 0===b&&(b=0);var c=-1,d=a.sb[b];if(d.fg)c=-2,d.fg--;else for(var e=d.Kb&((d.Fc|d.wd)^255),f=d.we+1;;){var f=f&7,g=1<>6;if(3!=a){c=b&1;var d=b&14;if(b&=48){var e=this.Ib[a];e.sg=b;e.mode=d;e.fk=c;e.Ic=[0,0];e.ac=[0,0];e.Rf=[0,0];e.ld=!1;e.Uf=!1;e.bf=!1;vi(this,a);0==a&&ti(this,0);2==a&&255==this.sb[0].wd&&77==this.fc&&(a=this.Ib[0],a.Wc[0]=a.Ic[0],a.Wc[1]=a.Ic[1],a.ke=E(this.S,this.ih))}else Lh(this,a),b=this.Ib[a],b.Rf[0]=b.ac[0],b.Rf[1]=b.ac[1],b.Uf=!0,vi(this,a)}}; -function xi(a,b){var c=a.Ib[b],d=c.Ic[1]<<8|c.Ic[0];d||(d=1==c.hd?256:65536);return d}function vi(a,b){var c=a.Ib[b];c.be=32==c.sg?1:0;c.hd=48==c.sg?2:1} -function Lh(a,b,c){var d=a.Ib[b];if(d.bf&&(2!=b||a.fc&1)){var e=E(a.S,a.ih),f=(e-d.ke)/a.Ll|0;0>f&&(d.ke=e,f=0);var g=xi(a,b),h=a.Ib[b],m=h.Wc[1]<<8|h.Wc[0];m||(m=1==h.hd?256:65536);h=m-f;0==d.mode?(0>=h&&(h=0),h||(d.ld=!0,d.bf=!1,b||Q(a,0))):4==d.mode?(d.ld=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&Q(a,0))):6==d.mode&&(h-=f,0>=h&&(d.ld=!d.ld,h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&Q(a,0)));d.ac[0]=h&255;d.ac[1]=h>>8;c&&(a.ke=0)}return d} -function Lb(a,b){for(var c=0;c=Ah){var c=0,d=a.S.Hd,e=E(a.S,a.ih);if(0<=a.ag&&(c=e-a.ag,Math.floor(c/d)&&60<=++a.pa[0]&&(a.pa[0]=0,60<=++a.pa[2]&&(a.pa[2]=0,24<=++a.pa[4])))){a.pa[4]=0;a.pa[6]=a.pa[6]%7+1;var f=a.pa[9],g=oa[a.pa[8]-1];28==g&&0===f%4&&(f%100||0===f%400)&&g++;++a.pa[7]>g&&(a.pa[7]=1,12<++a.pa[8]&&(a.pa[8]=1,a.pa[9]=(a.pa[9]+1)%100))}a.ag=e-c%d}} -k.pn=function(a,b){var c=this.Rg;this.Kf&16&&(this.fc&128?c=this.cd:this.pb&&(c=yi(this.pb)));this.ba(a,null,b,"PPI_A",P.Ta,c);return c};k.Io=function(a,b,c){this.ba(a,b,c,"PPI_A",P.Ta);this.Rg=b};k.qn=function(a,b){var c=this.fc;this.ba(a,null,b,"PPI_B",P.Ta,c);return c};k.Jo=function(a,b,c){this.ba(a,b,c,"PPI_B",P.Ta);zi(this,b);this.pb&&(a=this.pb,c=b&128?!1:!0,b=b&64?!0:!1,a.oi!==b&&(a.oi=a.sk=b),a.qi!==c&&(a.qi=c))&&(a.sk?(Ai(a),a.sk=!1):Bi(a))}; -function zi(a,b){var c=!!(b&2),d=!!(a.fc&2);a.fc=b;c!=d&&Kb(a,c)}k.rn=function(a,b){var c=0,c=this.Ga==vh?this.fc&4?c|this.Oe&15:c|this.Oe>>4&1:this.fc&8?c|this.cd>>4:c|this.cd&15;this.fc&1&&Lh(this,2).ld&&(c=this.fc&2?c|32:c|16);this.ba(a,null,b,"PPI_C",P.Rj|P.Ta,c);return c};k.Ko=function(a,b,c){this.ba(a,b,c,"PPI_C",P.Ta);this.Zh=b};k.sn=function(a,b){var c=this.Kf;this.ba(a,null,b,"PPI_CTRL",P.Ta,c);return c};k.Lo=function(a,b,c){this.ba(a,b,c,"PPI_CTRL",P.Ta);this.Kf=b}; -k.Fm=function(a,b){var c=this.Mg;this.ba(a,null,b,"8042_OUTBUFF",P.Ta,c);this.jb&=-258;var d=this.pb&&yi(this.pb,!0);d&&Ci(this,d);return c};k.ao=function(a,b,c){this.ba(a,b,c,"8042_INBUF.DATA",P.Ta);if(this.jb&8)switch(this.vd){case 96:this.Ec=b;this.jb=this.jb&-5|b&4;break;case 209:Di(this,b);break;default:if(this.Ec&=-17,this.pb){a=-1;switch(b){case 255:a=250,Ai(this.pb)}Ci(this,a)}}this.vd=b;this.jb&=-9};k.Gm=function(a,b){var c=this.fc&-193;this.ba(a,null,b,"8042_RWREG",P.Ta,c);this.fc^=16;return c}; -k.bo=function(a,b,c){this.ba(a,b,c,"8042_RWREG",P.Ta);zi(this,b)};k.Hm=function(a,b){this.ba(a,null,b,"8042_STATUS",P.Ta,this.jb);var c=this.jb&255;this.jb&256&&(this.jb|=1,this.jb&=-257);return c}; -k.$n=function(a,b,c){this.ba(a,b,c,"8042_INBUFF.CMD",P.Ta);this.vd=b;this.jb|=8;a=0;240<=this.vd&&(a=this.vd^15,this.vd=240);switch(this.vd){case 192:Ci(this,this.ue);break;case 173:this.Ec|=16;break;case 174:this.Ec&=-17;break;case 170:this.pb&&Bi(this.pb,!0);this.Ec|=16;Ci(this,85);Di(this,3);break;case 224:Ci(this,this.Ec&16?0:1);break;case 240:a&1&&vc(this.S)}};function Ci(a,b){0<=b&&(a.Mg=b,a.jb&=-2,a.jb|=256)}function Di(a,b){a.Xh=b;Wa(a.na,!!(b&2));b&1||vc(a.S)} -k.Vm=function(a,b){this.ba(a,null,b,"CMOS_ADDR",P.Ta,this.ve);return this.ve};k.qo=function(a,b,c){this.ba(a,b,c,"CMOS_ADDR",P.Ta);this.ve=b;this.Qg=b&128?0:128};k.Wm=function(a,b){var c=this.ve&63,d=13>=c?Mh(this,c):this.pa[c];this.ba(a,null,b,"CMOS_DATA["+p(c)+"]",P.Ta,d);return d}; -k.ro=function(a,b,c){var d=this.ve&63;this.ba(a,b,c,"CMOS_DATA["+p(d)+"]",P.Ta);a=this.pa;13>=d&&10>d&&(c=!1,this.pa[11]&4||(b=10*(b>>4)+(b&15),c=!0),4==d||5==d)&&(c&&12=b?b=12==b?0:b:(b-=116,b=24==b?12:b)));a[d]=b};k.nn=function(a,b){this.ba(a,null,b,"MFG_DATA",P.Ta,this.If);return this.If};k.Fo=function(a,b,c){this.ba(a,b,c,"MFG_DATA",P.Ta);this.If=b};k.Ho=function(a,b,c){this.ba(a,b,c,"NMI",P.Ta);this.Qg=b}; -k.Dn=function(a){var b=this.S.G>>8;this.Z&&L(this.Z,this.Z.Ta)&&(this.Z.message("ChipSet.intBIOSRTC(AH="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Bc(this.S,a,function(a,d){return function(e){d=E(a.S)-d;var f="C="+(Pc(a.S)?1:0),g=a.S.J&255,h=a.S.J>>8,m=a.S.J&255,n=a.S.J>>8;if(2==b||3==b)f+=" CH(hour)="+r(h)+" CL(min)="+p(g)+" DH(sec)="+p(n);else if(4==b||5==b)f+=" CX(year)="+r(a.S.I)+" DH(month)="+p(n)+" DL(day)="+p(m);a.Fa("ChipSet.intBIOSRTC("+e+"): "+f+" (cycles="+d+")")}}(this,E(this.S)))); -return!0};function wh(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.xb[c++]=f[b]>>16&255,this.xb[c++]=f[b]>>24&255;else this.xb=d;this.Th=d.symbols;if(!this.xb.length){v("Empty ROM: "+a);return}if(1==this.xb.length){v(this.xb[0]);return}}catch(g){this.Ha("ROM data error: "+ -g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.xb=Array(a.length),d=0;dthis.Kg?21:23,c=a.pa[b]|a.pa[b+1]<<8,c=c+(this.Od>>10);a.pa[b]=c&255;a.pa[b+1]=c>>8;Vh(a)}}else v("No RAM allocated")}; -za(function(){for(var a=A(window.document,"pcjs","ram"),b=0;ba.yc.length){if(!(!d&&!a.Sh[c]||d&&a.Sh[c])){a.Sh[c]=d;a.Fa("scan code "+p(b)+" buffered");a.yc.push(b);1==a.yc.length&&a.ka&&Q(a.ka,1);for(var e in Pi)if(Pi[e]==c){(c=a.ta["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.yc.length&&a.yc.push(255),a.Fa("scan code buffer overflow")}function Ui(a,b){var c=b?a.Mn:a.Ln;a.S&&a.S.md&&(c/=a.S.md);return c} -function Vi(a,b){!a.Le||void 0!==b&&b==a.Le||(clearTimeout(a.rd[a.Le]),Wi(a,a.Le,!1))} -function Ri(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Ql=f);240==f+224?(a.Ea&=-2,c&&(a.Ea|=1),f+=224,e=!1):241==f+224?(a.Ea&=-5,c&&(a.Ea|=4),f+=224,e=!1):242==f+224?(a.Ea&=-9,c&&(a.Ea|=8),f+=224,e=!1):244==f+224?(a.Ea&=-17,c&&(a.Ea|=16),f+=224,d=Si(a,f)):91==f?(a.Ea&=-33,c&&(a.Ea|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.Ea&12)&&(f=254),d=c?!Si(a,f):!1):void 0!==R[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.Ea&=-33,a.rk||f!=a.Ql||Vi(a));void 0===d&&(d=!Wi(a,f,c));return d} -function Si(a,b,c){var d=!1;Vi(a,b);Wi(a,b,!0)&&(c?Wi(a,b,!1):(c=!1,a.rd[b]&&(clearTimeout(a.rd[b]),c=!0),c=Ui(a,c),a.rd[a.Le=b]=setTimeout(function(a){return function(){Wi(a,b,!1)}}(a),c)),d=!0);return d} -function Wi(a,b,c){var d=!1;c||(a.rd[b]=null,a.Le==b&&(a.Le=0));var e=R[b];void 0===e&&1<=b&&26>=b&&(e=R[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.Ea&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.Ea&17||(d=42):224==f?a.Ea&18||(d=54):241==f?a.Ea&4||(d=29):242==f&&(a.Ea&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(hj)];this.Z=a.Z;this.type=e[0];this.port=e[1];this.fe=b;this.eb=e[2];this.uc=e[3];this.Tc=d||e[4];65536<=this.Tc&&720896<=this.eb&&(this.uc=Math.min(this.Tc>>2,32768));this.mc=c[0];this.zc=c[1];this.Ye=c[2];this.tf=c[3];this.oc=c[4]&255;this.lh=c[4]>>8&255;this.dc=c[5];this.Ei=hj;this.Lg=ij;if(5==b){this.Ei=jj;this.Lg=kj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5), -0,0,0,Array(9),0,this.Tc,Array(this.Tc>>2),771,0,4294967295,0,4294967295,0,4294967295,0]);this.jd=b[0];this.Bd=b[1];this.Rd=b[2];this.Uh=lj;this.Mh=b[3];this.Yf=b[4];this.kh=b[5];this.Dd=b[6];this.Bf=b[7];this.Wh=mj;this.yi=b[8];this.zi=b[9];this.Cd=b[10];this.re=b[11];this.Vh=nj;this.vb=b[12];d=this.Tc>>2;if((this.fd=b[14])&&this.fd.length>8&255)} -var W=[,,function(a){a+=this.offset;return(this.ia.vb=this.qa[a])>>this.ia.wj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.qa[b]>>8:this.qa[b])&255}];W[16]=function(a){a+=this.offset;a=this.qa[a];for(var b=this.ia.Gi&this.ia.Hi,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};W[512]=function(a,b){var c=a+this.offset,d;d=this.qa[c]&~this.ia.hb|(b|b<<8|b<<16|b<<24)&this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[1024]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[1536]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d&=this.ia.vb;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[2560]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d|=this.ia.vb;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[3584]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d^=this.ia.vb;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)};W[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ia.hb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.qa[d]&~c;c=c&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[d]!=c&&(this.qa[d]=c,this.bb=!0)}; -W[4096]=function(a){a+=this.offset;var b=this.qa[a]&~this.ia.hb|this.ia.vb&this.ia.hb;this.qa[a]!=b&&(this.qa[a]=b,this.bb=!0)};W[8192]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)};W[24576]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d&this.ia.vb,d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[40960]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d|this.ia.vb,d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)};W[57344]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d^this.ia.vb,d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -function qj(a){var b=[];if(void 0!==a.fe){b[0]=a.mc;b[1]=a.zc;b[2]=a.Ye;b[3]=a.tf;b[4]=a.oc|a.lh<<8;b[5]=a.dc;if(5==a.fe){var c=[];c[0]=a.jd;c[1]=a.Bd;c[2]=a.Rd;c[3]=a.Mh;c[4]=a.Yf;c[5]=a.kh;c[6]=a.Dd;c[7]=a.Bf;c[8]=a.yi;c[9]=a.zi;c[10]=a.Cd;c[11]=a.re;c[12]=a.vb;c[13]=a.Tc;var d;a:if(d=a.fd){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h>1;f[e++]=m;h=n}if(f.lengtha&&(a=0);for(var c="",d=0;8>d;d++){for(var n=l(b.eb+a)+":",q=0;8>q&&athis.Ka?1:this.wh},nh,function(){Vg[this.ea()].call(this,Vd,this.L);this.A-=0>this.Ka?1:this.wh},function(){Rg[this.ea()].call(this,ge)},function(){Sg[this.ea()].call(this,he)},function(){Tg[this.Pg=this.ea()].call(this,se)},function(){N[this.Pg=this.ea()].call(this,te)},function(){this.$|=1;Rg[this.ea()].call(this,ee)},function(){this.$|=1;Sg[this.ea()].call(this,ee)},function(){Tg[this.ea()].call(this,ee)},function(){N[this.ea()].call(this,ee)},function(){var a=this.ea();switch((a& +56)>>3){case 0:this.Db=this.bb.oa;break;case 1:this.Db=this.ra.oa;break;case 2:this.Db=this.Eb.oa;break;case 3:this.Db=this.Qb.oa;break;default:M.call(this);return}this.$|=1;Sg[a].call(this,fe)},function(){this.$|=1;this.C=this.M=this.Yl;N[this.ea()].call(this,le)},function(){var a,b=this.ea(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Ga){F.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break; +case 6:a=this.F;break;case 7:a=this.D}}N[b].call(this,ee);switch(c){case 0:Nc(this,this.G);this.G=a;break;case 1:Hc(this,this.I);this.I=a;break;case 2:Mc(this,this.J);this.J=a;break;case 3:Lc(this,this.B);this.B=a;break;case 4:Nc(this,this.X);this.X=a;break;case 5:Hc(this,this.H);this.H=a;break;case 6:Mc(this,this.F);this.F=a;break;case 7:Lc(this,this.D),this.D=a}},function(){this.$|=1;Vg[this.ea()].call(this,Wd,this.Ja)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-= +3},function(){var a=this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Mk},function(){var a=this.K(),b=this.K();J(this, +this.ra.oa);J(this,this.sa);vc(this,a,b);this.A-=this.Pk},function(){M.call(this)},function(){J(this,yc(this));this.A-=this.rc},function(){wc(this,this.Ja());this.A-=this.jc},function(){var a=this.G>>8;a&1?Zc(this):Uc(this);a&4?Pc(this)||(this.ja^=1):Pc(this)&&(this.ja^=1);a&16?$c(this):Vc(this);a&64?ad(this):Wc(this);a&128?bd(this):Xc(this);this.A-=this.Cb},function(){this.G=this.G&255|(yc(this)&213)<<8;this.A-=this.Cb},function(){this.G=this.G&-256|this.T(this.C,this.K());this.A-=this.aj},function(){this.G= +this.U(this.C,this.K());this.A-=this.aj},function(){var a=this.K(),b=this.G;this.bd(this.C.$b(a,0),b);this.A-=this.bj},function(){var a=this.K(),b=this.G;this.Nd(this.C.$b(a,1),b);this.A-=this.bj},function(){var a=1,b=0,c=this.cj;this.wa&192&&(a=this.I,b=1,c=this.ej,this.wa&256||(this.A-=this.dj));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F);this.bd(this.bb.$b(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a= +1,b=0,c=this.cj;this.wa&192&&(a=this.I,b=1,c=this.ej,this.wa&256||(this.A-=this.dj));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F);this.Nd(this.bb.$b(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Ni;this.wa&192&&(a=this.I,b=1,c=this.Pi,this.wa&256||(this.A-=this.Oi));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F),f=this.N(this.bb,this.D);od.call(this,e,f);this.F=this.F+d&65535; +this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Rc(this)==(this.wa&64)&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Ni;this.wa&192&&(a=this.I,b=1,c=this.Pi,this.wa&256||(this.A-=this.Oi));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F),f=this.O(this.bb,this.D);wd.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Rc(this)==(this.wa&64)&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){this.Y=this.ja=this.ma=this.G&255& +this.ea();this.da=256;this.A-=this.He},function(){this.Y=this.ja=this.ma=this.G&this.K();this.da=65536;this.A-=this.He},function(){var a=1,b=0,c=this.nj;this.wa&192&&(a=this.I,b=1,c=this.pj,this.wa&256||(this.A-=this.oj));if(a--){var d=this.G;this.bd(this.bb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.nj;this.wa&192&&(a=this.I,b=1,c=this.pj,this.wa&256||(this.A-=this.oj));if(a--){var d=this.G;this.Nd(this.bb.$b(this.D, +1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.Vi;this.wa&192&&(a=this.I,b=1,c=this.Xi,this.wa&256||(this.A-=this.Wi));a--&&(this.G=this.G&-256|this.T(this.C,this.F),this.F=this.F+(this.xa&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(I(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.Vi;this.wa&192&&(a=this.I,b=1,c=this.Xi,this.wa&256||(this.A-=this.Wi));a--&&(this.G=this.U(this.C,this.F),this.F=this.F+(this.xa& +1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(I(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.hj;this.wa&192&&(a=this.I,b=1,c=this.jj,this.wa&256||(this.A-=this.ij));a--&&(od.call(this,this.G&255,this.N(this.bb,this.D)),this.D=this.D+(this.xa&1024?-1:1)&65535,this.A-=c-this.qb,this.I-=b,a&&Rc(this)==(this.wa&64)&&(I(this,-2),this.$|=256))},function(){var a=1,b=0,c=this.hj;this.wa&192&&(a=this.I,b=1,c=this.jj,this.wa&256||(this.A-=this.ij));a--&&(wd.call(this,this.G,this.O(this.bb, +this.D)),this.D=this.D+(this.xa&1024?-2:2)&65535,this.A-=c-this.qb,this.I-=b,a&&Rc(this)==(this.wa&64)&&(I(this,-2),this.$|=256))},function(){this.G=this.G&-256|this.ea();this.A-=this.Cb},function(){this.I=this.I&-256|this.ea();this.A-=this.Cb},function(){this.J=this.J&-256|this.ea();this.A-=this.Cb},function(){this.B=this.B&-256|this.ea();this.A-=this.Cb},function(){this.G=this.G&255|this.ea()<<8;this.A-=this.Cb},function(){this.I=this.I&255|this.ea()<<8;this.A-=this.Cb},function(){this.J=this.J& +255|this.ea()<<8;this.A-=this.Cb},function(){this.B=this.B&255|this.ea()<<8;this.A-=this.Cb},function(){this.G=this.K();this.A-=this.Cb},function(){this.I=this.K();this.A-=this.Cb},function(){this.J=this.K();this.A-=this.Cb},function(){this.B=this.K();this.A-=this.Cb},function(){this.X=this.K();this.A-=this.Cb},function(){this.H=this.K();this.A-=this.Cb},function(){this.F=this.K();this.A-=this.Cb},function(){this.D=this.K();this.A-=this.Cb},oh,ph,oh,ph,function(){N[this.ea()].call(this,ne)},function(){N[this.ea()].call(this, +me)},function(){this.$|=1;Ug[this.ea()].call(this,Xd,this.ea)},function(){this.$|=1;Vg[this.ea()].call(this,Xd,this.K)},qh,rh,qh,rh,function(){ed.call(this,3,null,this.fl)},function(){var a=this.ea(),b;a:{b=this.Gg[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.da=256;this.A-=this.Ik},function(){this.G=this.G&-256|(Oc(this)?255:0);this.A-=2},function(){this.G=this.G&-256|this.T(this.C,this.B+ +(this.G&255)&65535);this.A-=this.Hl},sh,sh,sh,sh,sh,sh,sh,sh,function(){var a=this.L();(this.I=this.I-1&65535)&&this.Y&this.da-1?(H(this,this.sa+a),this.A-=this.ol):this.A-=this.Yi},function(){var a=this.L();!(this.I=this.I-1&65535)||this.Y&this.da-1?this.A-=this.$i:(H(this,this.sa+a),this.A-=this.Zi)},function(){var a=this.L();(this.I=this.I-1&65535)?(H(this,this.sa+a),this.A-=this.nl):this.A-=this.Yi},function(){var a=this.L();this.I?this.A-=this.$i:(H(this,this.sa+a),this.A-=this.Zi)},function(){var a= +this.ea();this.G=this.G&-256|hb(this.na,a,this.Ca-2);this.A-=this.Si},function(){var a=this.ea();this.G=hb(this.na,a,this.Ca-1)|hb(this.na,a+1&65535,this.Ca-2)<<8;this.A-=this.Si},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);this.A-=this.gj},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);lb(this.na,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.gj},function(){var a=this.K();J(this,this.sa);H(this,this.sa+a);this.A-=this.Nk},function(){var a=this.K();H(this,this.sa+a); +this.A-=this.Ti},function(){vc(this,this.K(),this.K());this.A-=this.jl},function(){var a=this.L();H(this,this.sa+a);this.A-=this.Ti},function(){this.G=this.G&-256|hb(this.na,this.J,this.Ca-1);this.A-=this.Ri},function(){this.G=hb(this.na,this.J,this.Ca-1)|hb(this.na,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Ri},function(){lb(this.na,this.J,this.G&255,this.Ca-1);this.A-=this.fj},function(){lb(this.na,this.J,this.G&255,this.Ca-1);lb(this.na,this.J+1&65535,this.G>>8,this.Ca-1);this.A-=this.fj},th,th, +function(){this.$|=132;this.A-=this.Pb},function(){this.$|=68;this.A-=this.Pb},function(){this.kb|=4;this.A-=2;this.Z&&1=zh&&(this.Lf=this.Mf=2);this.hh=a.scaleTimers||!1;this.ap=a.rtcDate;this.rk=!1;a.sound&&window&&"webkitAudioContext"in window&& +(this.ci=new webkitAudioContext);this.reset();this.Sa()}x(w,O);var uh=5150,zh=5170,Ah={none:0,tv:1,color:2,mono:3,ega:0},yh={Mh:1},wh=12,xh={lp:16,hp:32,jm:48,yf:48,zf:4};yh.ONE=0;yh.mp=64;yh.kp=128;yh.ip=192;yh.yf=192;yh.zf=6;k=O.prototype; +k.wb=function(a,b,c,d){switch(c){case "sw1":return this.ta[c]=d,Bh(this,c,d,this.Zb,{0:this.Ga==uh?"Bootable Floppy Drive":"Loop on POST",1:this.Ga==uh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ga==uh)return this.ta[c]=d,Bh(this,c,d,this.ne,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.ta[c]=d,!0}return!1}; +k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.Da=a;this.pb=B(a,"Keyboard");this.Il=Math.round(c.Hd/1193181);gb(b,this,Ch);kb(b,this,Dh);this.Gab;b++){var c=13>=b?Lh(e,b):e.pa[b];a&&(a+="\n");a+="CMOS[0x"+p(b)+"]: 0x"+p(c)}e.Z.message(a)})}zc(c,26,this,this.Bn)};k.bc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0}; +k.reset=function(){var a;this.cd=this.Zb;this.Pe=this.ne;Mh(this);this.$a=Array(this.Lf);for(a=0;a=zh){this.ib=16;this.vd=0;this.Ec=16;this.Mg=0;this.te=160;512<=Qh(this)&&(this.te|=16);3==Rh(this)&&(this.te|=64);this.Wh=3;this.If=0;this.Ig=Array(7);this.ue=0;this.pa||(this.pa=Array(64), +Sh(this,this.ap));for(a=14;46>a;a++)void 0===this.pa[a]&&(this.pa[a]=0);this.pa[20]=this.cd&(xh.yf|2|yh.Mh|yh.yf);this.pa[16]=Th(this,0)<<4|Th(this,1);Uh(this)}}; +function Sh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.ca("CMOS date invalid ("+b+"), using "+c)):b&&a.ca("CMOS date: "+c);a.pa[0]=c.getSeconds();a.pa[1]=0;a.pa[2]=c.getMinutes();a.pa[3]=0;a.pa[4]=c.getHours();a.pa[5]=0;a.pa[6]=c.getDay()+1;a.pa[7]=c.getDate();a.pa[8]=c.getMonth()+1;c=c.getFullYear();a.pa[9]=c%100;c/=100;a.pa[50]=c%10|c/10<<4;a.ag=-1;a.pa[10]=38;a.pa[11]=2;a.pa[12]=0;a.pa[13]=128} +function Lh(a,b){var c=a.pa[b];if(10>b){var d=!1;4!=b&&5!=b||a.pa[11]&2||(c=12>c?c?c:12:(c-=12)?c+128:140,d=!0);a.pa[11]&4||(d&&128c;c++)b+=a.pa[c];a.pa[47]=b&255;a.pa[46]=b>>8} +k.save=function(){var a=new G(this);a.set(0,[this.Zb,this.ne,this.cd,this.Pe]);for(var b=[],c=0;c=zh&&(a.set(5,[this.ib,this.vd,this.Ec,this.Mg,this.te,this.Wh]),a.set(6,[this.If,this.Ig,this.ue,this.pa,this.ag]));return a.data()}; +k.restore=function(a){var b,c;b=a[0];this.Zb=b[0];this.ne=b[1];this.cd=b[2];this.Pe=b[3];b=a[1];this.$a=Array(this.Lf);for(c=0;c>2)+1)*a.En+32*((b?a.ne:a.Pe)&15)}function Xh(a,b){var c=b?a.Zb:a.cd;return a.Ga!=uh||c&yh.Mh?((c&yh.yf)>>yh.zf)+1:0}function Th(a,b){return b>xh.zf} +function Bh(a,b,c,d,e){for(var f="",g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='
'+g+"
\n"}c.innerHTML=f;b=A(c,"pcjs-bitCell");c=null;for(g=0;g>2].Hb[b&3],c,d,e)}function fi(a,b,c){b=a.$a[b>>2].Hb[b&3];b.Yg&&b.wi&&b.yh?(c&&(b.$g=c),b.Fd||fd(a,b,!0)):c&&c(!0)} +function fd(a,b,c){c&&(b.count=b.ac[1]<<8|b.ac[0],b.bm=b.mode&12,b.sk=b.kd=!1);for(var d=!1;0<=b.count&&(c=b.Sg<<16|b.Sb[1]<<8|b.Sb[0],4==b.bm?(d=!0,function(c){b.wi.call(b.Yg,b.yh,-1,function(f,g){0>f&&(b.sk||(b.sk=!0),f=255);b.Fd||bb(a.na,c,f);(d=g)&&setTimeout(function(){mi(b)||fd(a,b)},0)})}(c)):8==b.bm?(c=$a(a.na,c),0>b.wi.call(b.Yg,b.yh,c)&&(b.kd=!0)):b.kd=!0),!d&&!mi(b););} +function mi(a){if(!a.kd&&0<=--a.count&&(a.mode&32?(a.Sb[0]--,0>a.Sb[0]&&(a.Sb[0]=255,a.Sb[1]--,0>a.Sb[1]&&(a.Sb[1]=255))):(a.Sb[0]++,255>3,e=a.sb[d];e.Kb|=1<<(b&7);e.fg=c||0;1==d&&(a.sb[0].Kb|=4);pi(a,d)} +function si(a,b){var c=b>>3,d=a.sb[c],e=1<<(b&7);d.Kb&e&&(d.Kb&=~e,1!=c||d.Kb||(a.sb[0].Kb&=-5),pi(a,c))}function dd(a,b){void 0===b&&(b=0);var c=-1,d=a.sb[b];if(d.fg)c=-2,d.fg--;else for(var e=d.Kb&((d.Fc|d.wd)^255),f=d.ve+1;;){var f=f&7,g=1<>6;if(3!=a){c=b&1;var d=b&14;if(b&=48){var e=this.Ib[a];e.sg=b;e.mode=d;e.dk=c;e.Ic=[0,0];e.ac=[0,0];e.Rf=[0,0];e.ld=!1;e.Uf=!1;e.cf=!1;ui(this,a);0==a&&si(this,0);2==a&&255==this.sb[0].wd&&77==this.fc&&(a=this.Ib[0],a.Wc[0]=a.Ic[0],a.Wc[1]=a.Ic[1],a.ke=D(this.S,this.hh))}else Kh(this,a),b=this.Ib[a],b.Rf[0]=b.ac[0],b.Rf[1]=b.ac[1],b.Uf=!0,ui(this,a)}}; +function wi(a,b){var c=a.Ib[b],d=c.Ic[1]<<8|c.Ic[0];d||(d=1==c.hd?256:65536);return d}function ui(a,b){var c=a.Ib[b];c.be=32==c.sg?1:0;c.hd=48==c.sg?2:1} +function Kh(a,b,c){var d=a.Ib[b];if(d.cf&&(2!=b||a.fc&1)){var e=D(a.S,a.hh),f=(e-d.ke)/a.Il|0;0>f&&(d.ke=e,f=0);var g=wi(a,b),h=a.Ib[b],m=h.Wc[1]<<8|h.Wc[0];m||(m=1==h.hd?256:65536);h=m-f;0==d.mode?(0>=h&&(h=0),h||(d.ld=!0,d.cf=!1,b||P(a,0))):4==d.mode?(d.ld=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&P(a,0))):6==d.mode&&(h-=f,0>=h&&(d.ld=!d.ld,h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&P(a,0)));d.ac[0]=h&255;d.ac[1]=h>>8;c&&(a.ke=0)}return d} +function Kb(a,b){for(var c=0;c=zh){var c=0,d=a.S.Hd,e=D(a.S,a.hh);if(0<=a.ag&&(c=e-a.ag,Math.floor(c/d)&&60<=++a.pa[0]&&(a.pa[0]=0,60<=++a.pa[2]&&(a.pa[2]=0,24<=++a.pa[4])))){a.pa[4]=0;a.pa[6]=a.pa[6]%7+1;var f=a.pa[9],g=oa[a.pa[8]-1];28==g&&0===f%4&&(f%100||0===f%400)&&g++;++a.pa[7]>g&&(a.pa[7]=1,12<++a.pa[8]&&(a.pa[8]=1,a.pa[9]=(a.pa[9]+1)%100))}a.ag=e-c%d}} +k.nn=function(a,b){var c=this.Rg;this.Kf&16&&(this.fc&128?c=this.cd:this.pb&&(c=xi(this.pb)));this.ba(a,null,b,"PPI_A",O.Ta,c);return c};k.Go=function(a,b,c){this.ba(a,b,c,"PPI_A",O.Ta);this.Rg=b};k.on=function(a,b){var c=this.fc;this.ba(a,null,b,"PPI_B",O.Ta,c);return c};k.Ho=function(a,b,c){this.ba(a,b,c,"PPI_B",O.Ta);yi(this,b);this.pb&&(a=this.pb,c=b&128?!1:!0,b=b&64?!0:!1,a.ni!==b&&(a.ni=a.pk=b),a.pi!==c&&(a.pi=c))&&(a.pk?(zi(a),a.pk=!1):Ai(a))}; +function yi(a,b){var c=!!(b&2),d=!!(a.fc&2);a.fc=b;c!=d&&Jb(a,c)}k.pn=function(a,b){var c=0,c=this.Ga==uh?this.fc&4?c|this.Pe&15:c|this.Pe>>4&1:this.fc&8?c|this.cd>>4:c|this.cd&15;this.fc&1&&Kh(this,2).ld&&(c=this.fc&2?c|32:c|16);this.ba(a,null,b,"PPI_C",O.Qj|O.Ta,c);return c};k.Io=function(a,b,c){this.ba(a,b,c,"PPI_C",O.Ta);this.Yh=b};k.qn=function(a,b){var c=this.Kf;this.ba(a,null,b,"PPI_CTRL",O.Ta,c);return c};k.Jo=function(a,b,c){this.ba(a,b,c,"PPI_CTRL",O.Ta);this.Kf=b}; +k.Dm=function(a,b){var c=this.Mg;this.ba(a,null,b,"8042_OUTBUFF",O.Ta,c);this.ib&=-258;var d=this.pb&&xi(this.pb,!0);d&&Bi(this,d);return c};k.Zn=function(a,b,c){this.ba(a,b,c,"8042_INBUF.DATA",O.Ta);if(this.ib&8)switch(this.vd){case 96:this.Ec=b;this.ib=this.ib&-5|b&4;break;case 209:Ci(this,b);break;default:if(this.Ec&=-17,this.pb){a=-1;switch(b){case 255:a=250,zi(this.pb)}Bi(this,a)}}this.vd=b;this.ib&=-9};k.Em=function(a,b){var c=this.fc&-193;this.ba(a,null,b,"8042_RWREG",O.Ta,c);this.fc^=16;return c}; +k.$n=function(a,b,c){this.ba(a,b,c,"8042_RWREG",O.Ta);yi(this,b)};k.Fm=function(a,b){this.ba(a,null,b,"8042_STATUS",O.Ta,this.ib);var c=this.ib&255;this.ib&256&&(this.ib|=1,this.ib&=-257);return c}; +k.Yn=function(a,b,c){this.ba(a,b,c,"8042_INBUFF.CMD",O.Ta);this.vd=b;this.ib|=8;a=0;240<=this.vd&&(a=this.vd^15,this.vd=240);switch(this.vd){case 192:Bi(this,this.te);break;case 173:this.Ec|=16;break;case 174:this.Ec&=-17;break;case 170:this.pb&&Ai(this.pb,!0);this.Ec|=16;Bi(this,85);Ci(this,3);break;case 224:Bi(this,this.Ec&16?0:1);break;case 240:a&1&&uc(this.S)}};function Bi(a,b){0<=b&&(a.Mg=b,a.ib&=-2,a.ib|=256)}function Ci(a,b){a.Wh=b;Wa(a.na,!!(b&2));b&1||uc(a.S)} +k.Tm=function(a,b){this.ba(a,null,b,"CMOS_ADDR",O.Ta,this.ue);return this.ue};k.oo=function(a,b,c){this.ba(a,b,c,"CMOS_ADDR",O.Ta);this.ue=b;this.Qg=b&128?0:128};k.Um=function(a,b){var c=this.ue&63,d=13>=c?Lh(this,c):this.pa[c];this.ba(a,null,b,"CMOS_DATA["+p(c)+"]",O.Ta,d);return d}; +k.po=function(a,b,c){var d=this.ue&63;this.ba(a,b,c,"CMOS_DATA["+p(d)+"]",O.Ta);a=this.pa;13>=d&&10>d&&(c=!1,this.pa[11]&4||(b=10*(b>>4)+(b&15),c=!0),4==d||5==d)&&(c&&12=b?b=12==b?0:b:(b-=116,b=24==b?12:b)));a[d]=b};k.ln=function(a,b){this.ba(a,null,b,"MFG_DATA",O.Ta,this.If);return this.If};k.Do=function(a,b,c){this.ba(a,b,c,"MFG_DATA",O.Ta);this.If=b};k.Fo=function(a,b,c){this.ba(a,b,c,"NMI",O.Ta);this.Qg=b}; +k.Bn=function(a){var b=this.S.G>>8;this.Z&&K(this.Z,this.Z.Ta)&&(this.Z.message("ChipSet.intBIOSRTC(AH="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Ac(this.S,a,function(a,d){return function(e){d=D(a.S)-d;var f="C="+(Oc(a.S)?1:0),g=a.S.J&255,h=a.S.J>>8,m=a.S.J&255,n=a.S.J>>8;if(2==b||3==b)f+=" CH(hour)="+r(h)+" CL(min)="+p(g)+" DH(sec)="+p(n);else if(4==b||5==b)f+=" CX(year)="+r(a.S.I)+" DH(month)="+p(n)+" DL(day)="+p(m);a.Fa("ChipSet.intBIOSRTC("+e+"): "+f+" (cycles="+d+")")}}(this,D(this.S)))); +return!0};function vh(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.xb[c++]=f[b]>>16&255,this.xb[c++]=f[b]>>24&255;else this.xb=d;this.Sh=d.symbols;if(!this.xb.length){v("Empty ROM: "+a);return}if(1==this.xb.length){v(this.xb[0]);return}}catch(g){this.Ha("ROM data error: "+ +g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.xb=Array(a.length),d=0;dthis.Kg?21:23,c=a.pa[b]|a.pa[b+1]<<8,c=c+(this.Od>>10);a.pa[b]=c&255;a.pa[b+1]=c>>8;Uh(a)}}else v("No RAM allocated")}; +za(function(){for(var a=A(window.document,"pcjs","ram"),b=0;ba.yc.length){if(!(!d&&!a.Rh[c]||d&&a.Rh[c])){a.Rh[c]=d;a.Fa("scan code "+p(b)+" buffered");a.yc.push(b);1==a.yc.length&&a.ka&&P(a.ka,1);for(var e in Oi)if(Oi[e]==c){(c=a.ta["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.yc.length&&a.yc.push(255),a.Fa("scan code buffer overflow")}function Ti(a,b){var c=b?a.Kn:a.Jn;a.S&&a.S.md&&(c/=a.S.md);return c} +function Ui(a,b){!a.Le||void 0!==b&&b==a.Le||(clearTimeout(a.rd[a.Le]),Vi(a,a.Le,!1))} +function Qi(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Nl=f);240==f+224?(a.Ea&=-2,c&&(a.Ea|=1),f+=224,e=!1):241==f+224?(a.Ea&=-5,c&&(a.Ea|=4),f+=224,e=!1):242==f+224?(a.Ea&=-9,c&&(a.Ea|=8),f+=224,e=!1):244==f+224?(a.Ea&=-17,c&&(a.Ea|=16),f+=224,d=Ri(a,f)):91==f?(a.Ea&=-33,c&&(a.Ea|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.Ea&12)&&(f=254),d=c?!Ri(a,f):!1):void 0!==Q[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.Ea&=-33,a.ok||f!=a.Nl||Ui(a));void 0===d&&(d=!Vi(a,f,c));return d} +function Ri(a,b,c){var d=!1;Ui(a,b);Vi(a,b,!0)&&(c?Vi(a,b,!1):(c=!1,a.rd[b]&&(clearTimeout(a.rd[b]),c=!0),c=Ti(a,c),a.rd[a.Le=b]=setTimeout(function(a){return function(){Vi(a,b,!1)}}(a),c)),d=!0);return d} +function Vi(a,b,c){var d=!1;c||(a.rd[b]=null,a.Le==b&&(a.Le=0));var e=Q[b];void 0===e&&1<=b&&26>=b&&(e=Q[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.Ea&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.Ea&17||(d=42):224==f?a.Ea&18||(d=54):241==f?a.Ea&4||(d=29):242==f&&(a.Ea&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(gj)];this.Z=a.Z;this.type=e[0];this.port=e[1];this.fe=b;this.cb=e[2];this.uc=e[3];this.Tc=d||e[4];65536<=this.Tc&&720896<=this.cb&&(this.uc=Math.min(this.Tc>>2,32768));this.mc=c[0];this.zc=c[1];this.Ze=c[2];this.tf=c[3];this.oc=c[4]&255;this.kh=c[4]>>8&255;this.dc=c[5];this.Di=gj;this.Lg=hj;if(5==b){this.Di=ij;this.Lg=jj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5), +0,0,0,Array(9),0,this.Tc,Array(this.Tc>>2),771,0,4294967295,0,4294967295,0,4294967295,0]);this.jd=b[0];this.Bd=b[1];this.Rd=b[2];this.Th=kj;this.Lh=b[3];this.Yf=b[4];this.jh=b[5];this.Dd=b[6];this.Bf=b[7];this.Vh=lj;this.xi=b[8];this.yi=b[9];this.Cd=b[10];this.qe=b[11];this.Uh=mj;this.vb=b[12];d=this.Tc>>2;if((this.fd=b[14])&&this.fd.length>8&255)} +var V=[,,function(a){a+=this.offset;return(this.ia.vb=this.qa[a])>>this.ia.vj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.qa[b]>>8:this.qa[b])&255}];V[16]=function(a){a+=this.offset;a=this.qa[a];for(var b=this.ia.Fi&this.ia.Gi,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};V[512]=function(a,b){var c=a+this.offset,d;d=this.qa[c]&~this.ia.gb|(b|b<<8|b<<16|b<<24)&this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[1024]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[1536]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d&=this.ia.vb;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[2560]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d|=this.ia.vb;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[3584]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d^=this.ia.vb;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)};V[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ia.gb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.qa[d]&~c;c=c&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[d]!=c&&(this.qa[d]=c,this.jb=!0)}; +V[4096]=function(a){a+=this.offset;var b=this.qa[a]&~this.ia.gb|this.ia.vb&this.ia.gb;this.qa[a]!=b&&(this.qa[a]=b,this.jb=!0)};V[8192]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)};V[24576]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d&this.ia.vb,d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[40960]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d|this.ia.vb,d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)};V[57344]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d^this.ia.vb,d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +function pj(a){var b=[];if(void 0!==a.fe){b[0]=a.mc;b[1]=a.zc;b[2]=a.Ze;b[3]=a.tf;b[4]=a.oc|a.kh<<8;b[5]=a.dc;if(5==a.fe){var c=[];c[0]=a.jd;c[1]=a.Bd;c[2]=a.Rd;c[3]=a.Lh;c[4]=a.Yf;c[5]=a.jh;c[6]=a.Dd;c[7]=a.Bf;c[8]=a.xi;c[9]=a.yi;c[10]=a.Cd;c[11]=a.qe;c[12]=a.vb;c[13]=a.Tc;var d;a:if(d=a.fd){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h>1;f[e++]=m;h=n}if(f.lengtha&&(a=0);for(var c="",d=0;8>d;d++){for(var n=l(b.cb+a)+":",q=0;8>q&&a>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),cb(this.na,b,c|d<<8);yb(this,!0)}};function yj(a){a.la.Yf&1?(a.Sc=a.bi,a.yb=a.la):(a.Sc=a.la,a.yb=a.Xg)}k.save=function(){var a=new H(this);a.set(0,qj(this.bi));a.set(1,qj(this.Xg));a.set(2,[this.he,this.od,this.Jd]);a.set(3,qj(this.la));return a.data()}; -k.restore=function(a){var b=a[2];this.he=b[0];this.od=b[1];this.Jd=b[2];this.Ba=null;this.Sc=this.bi=new fj(this,1,a[0]);this.yb=this.Xg=new fj(this,3,a[1]);this.la=new fj(this,5,a[3],this.Tc);this.la.mc&&yj(this);zj(this);if(!Bj(this))return!1;Cj(this);return!0}; -k.Wn=function(a,b,c){if(c)this.Ha("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){v("Empty font ROM image: "+a);return}if(1==d.length){v(d[0]);return}if(8192==d.length)Ii(this,d,[0,6144]);else{this.Ha("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ha("Font ROM data error: "+e.message);return}this.Sa()}}; -function Dj(a,b){if(1==b)return a.ud[0]=U[0],a.ud[1]=U[7],a.ud;if(2==b){var c=a.Ba.Ye;if(a.Ba===a.la){var d=a.la.Rd[0],c=d&7;d&16&&(c|=8);18!=a.la.Rd[1]&&(c|=32)}a.ud[0]=U[c&15];c=c&32?cj:bj;for(d=0;drb||!ia?rb:8,Qd=Ji.createImageData(n.kc,n.lc),Fa=0;256>Fa;Fa++){for(db= -0;db=rb-2,gl=Jc[db>(8<=Hb&&176<=Fa&&223>=Fa?7:Hb)?s:Pd;Gj(Qd,Ki,Li,Mi);z&&Gj(Qd,Ki+1,Li,Mi)}Ji.putImageData(Qd,(Fa&15)*n.kc,(Fa>>4)*n.lc)}n.Se[u]="#"+p(s[0])+p(s[1])+p(s[2]);n.Wj[u]=s;n.Ph[u]=Kc;n=!0}}a.Td[b]=t;return n}function Hj(a){0a.Ae&&(a.Ae=0):a.Ae=-1} -function Cj(a){if(a.Ub){for(var b=10;15>=b;b++)if(null==a.Ba.dc[b])return;var c=a.Ba.dc[10],b=c&31,d=a.Ba.dc[11]&31,e=a.Ba.dc[9]&31,f=!1;a.Ba===a.la&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Ij(a);else{c=a.Ba.dc[15]+((a.Ba.dc[14]&63)<<8);a.Lc!=c&&(Ij(a),a.Lc=c);d=d-b+1;if(a.fm!=b||a.nk!=d)a.fm=b,a.nk=d;a.ce=e+1;Hj(a)}}} -function Ij(a){if(0<=a.Lc){if(void 0!==a.ec){var b=a.ec[a.Lc];if(b&131072){var b=b&-131073,c=a.Lc%a.Bb,d=Math.floor(a.Lc/a.Bb);a.Ub&&a.Td[a.Ub]&&(a.Ze&&Jj(a,c,d,b,a.Ze),Jj(a,c,d,b));a.ec[a.Lc]=b}}a.Lc=-1}} -function Kj(a){var b;a=a.Ba;var c=a.re[5];if(null!=c){b=2;var d=512,e=a.re[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.nd=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.ne=function(a){var b=this.Ba;null!=a&&b&&a!=b.sh&&(b.Jh(a),this.na.Jh(b.eb,b.uc,b.Ff))}; -function Bj(a,b){var c,d=a.Jd,e=a.Ba;if(e)if(1==e.fe)d=Xi;else if(5==e.fe){var d=null,f=e.Tc>>2,g=32768f&&(d=c?13:14):c&&(d-=2));c=Kj(a)}}else e.zc&8&&(e.zc&2?(d=e.zc&16?6:5,e.zc&4||(d-=1)):(d=e.zc&1?3:1,e.zc&4&&(d-= -1)));else a.Jd=null,null==d&&(d=a.od);if(!Aj(a,d,b))return!1;a.ne(c);return!0} -function Aj(a,b,c){if(null!=b&&(b!=a.Jd||c)){a.om=0;a.Jd=b;b=a.Ba||(b==Xi?a.Sc:a.yb);if(b!=a.Ba||b.eb!=a.eb||b.uc!=a.uc){Ij(a);if(a.eb){if(!Za(a.na,a.eb,a.uc))return!1;a.Ba&&(a.Ba.mc=!1)}a.Ba=b;b.mc=!0;a.eb=b.eb;a.uc=b.uc;if(!Xa(a.na,b.eb,b.uc,!1,b===a.la?b:null))return!1}a.Ub=0;a.Bb=a.vh;a.sc=a.Ki;a.Fi=T[Xi][2];b=0;var d=T[a.Jd];d&&(a.Bb=d[0],a.sc=d[1],a.Fi=d[2],b=d[3]||0,a.Ub=d[4],4==a.he&&a.Ba===a.la&&3==a.Ub&&(7==a.la.dc[9]?a.sc=43:a.Ub=5));a.Hk=a.Bb*a.sc;a.uh=a.Hk/a.Fi;a.ci=(a.uh<<1)+b;a.kk= -b?a.ci+b>>1:0;13<=a.Jd&&(a.uh<<=1);a.Td.length&&(a.yd=Math.floor(a.xd/a.Bb),a.zd=Math.floor(a.de/a.sc),a.Ub?(b=a.Td[a.Ub],d=a.Td[a.Ub<<1],a.vm&&80==a.Bb?d&&a.yd>=3*d.kc>>2&&(a.Ub<<=1,b=d):(d&&a.yd>=d.kc&&(a.Ub<<=1,b=d),b&&(a.yd=b.kc,a.zd=b.lc)),a.Sf=a.Tf=0,b&&(a.Sf=a.Bb*b.kc,a.Tf=a.sc*b.lc)):(a.yd=a.zd=1,a.Sf=a.Bb,a.Tf=a.sc),a.oh=a.Vc.createImageData(a.Sf,a.Tf),a.Xe=window.document.createElement("canvas"),a.Xe.width=a.Sf,a.Xe.height=a.Tf,a.Ze=a.Xe.getContext("2d"),a.Oj=a.Pj=0,a.ei=a.xd,a.fi=a.de, -b=a.xd-a.Bb*a.yd,d=a.de-a.sc*a.zd,0>1,a.ei-=b),0>1,a.fi-=d),b||d)&&(a.Vc.fillStyle=a.Mb.style.backgroundColor,a.Vc.fillRect(0,0,a.xd,a.de));!1!==c?yb(a,!0):Lj(a,!0)}return!0}function Gj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Lj(a,b){var c;if(b){if(c=a.uh,void 0===a.ec||a.ec.length!=c)a.ec=Array(c)}else{if(void 0===a.ec)return;c=a.ec.length}for(var d=0;d>8;d=g&15;var h=a.Td[a.Ub];h.Af&&(d=h.Af[d]);var m=g>>4&15;h.Af&&(m=h.Af[m]);e?(b*=h.kc,c*=h.lc,e.fillStyle=h.Se[m],e.fillRect(b,c,h.kc,h.lc)):(b=b*a.yd+a.Oj,c=c*a.zd+a.Pj,a.Vc.fillStyle=h.Se[m],a.Vc.fillRect(b,c,a.yd,a.zd));g&256&&(m=(f&15)*h.kc,f=(f>>4)*h.lc,e?e.drawImage(h.Ph[d],m,f,h.kc,h.lc,b,c,h.kc,h.lc):a.Vc.drawImage(h.Ph[d],m,f,h.kc,h.lc,b,c,a.yd,a.zd));g&512&&(f=a.fm,g=a.nk,e?(a.ce&&a.ce!==h.lc&&(f=Math.floor(f*h.lc/a.ce),g=Math.floor(g*h.lc/a.ce)), -e.fillStyle=h.Se[d],e.fillRect(b,c+f,h.kc,g)):(a.ce&&a.ce!==a.zd&&(f=Math.floor(f*a.zd/a.ce),g=Math.floor(g*a.zd/a.ce)),a.Vc.fillStyle=h.Se[d],a.Vc.fillRect(b,c+f,a.yd,g)))} -function yb(a,b){if(a.Nb){var c=!1;a.Ba&&(a.Ba===a.la?a.la.Bd&32&&(c=!0):a.Ba.zc&8&&(c=!0));if(c||b){if(b)Lj(a,!0);else if(void 0===a.ec)return;var d=!1;!(b||++a.om&15)&&0<=a.Ae&&(a.Ae++,d=!0);var e=0,f=a.Hk,c=a.Ba.eb,g=c+a.Ba.uc,h=(a.Ba.dc[12]<<8)+a.Ba.dc[13];a.Ub&&(h<<=1);var c=c+h,m=a.ci;c+m>g&&(m=g-c,0>m&&(m=0));g=c+m;if(h=!b){for(var h=a.na,n=!0,q=c>>h.ob;0a.Lc)return;e=a.Lc;f=e+1}}if(a.Ub){if(a.Td[a.Ub]){d= -0;h=a.ze=0;m=1048575;a.Ba.zc&32&&(h=32768,m&=~h,a.Ae&2||(m&=-65537));for(c+=e<<1;c>8| -(t&255)<<8;s=h;var rb=16;q>=m))>>(rb-=m);Gj(a.oh,q++,u,n[Pd])}q>C&&(C=q);u=ja&&(ja=u+1)}e+=2;g++;if(q>=a.Bb){q=0;u+=2;if(u>a.sc)break;u==a.sc&&(u=1,e=c+a.kk)}}zia;ia++)ja=C&2155905152, -0>ja&&(ja=-ja),ja=V[ja]||0,Gj(a.oh,h++,m,g[ja]),C<<=1;h>q&&(q=h);m=z&&(z=m+1)}e++;if(h>=a.Bb&&(h=0,++m>a.sc))break}n>2),c=this.la.Mh&-17|(this.Ng&1<f&&(f=0);f%b.Ii>b.Pn&&(d|=1);f%=b.Kk;f>b.Sn&&(d|=8);b.Ni=e-f;b===a.la?(d|=b.tf&48^48,b.jd=!1):d=(b.tf^=9)|240;b.tf=d;a.ba(b.port+6,null,c,b===a.la?"STATUS1":"STATUS",d);return d}k.Fa=function(a,b){this.Z&&(b||L(this.Z,this.Z.Dg))&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Dg,e)}; -var sj={948:S.prototype.kn,949:S.prototype.jn,952:S.prototype.ln,954:S.prototype.mn,980:S.prototype.Sm,981:S.prototype.Rm,984:S.prototype.Tm,985:S.prototype.Qm,986:S.prototype.Um},tj={948:S.prototype.Do,949:S.prototype.Co,952:S.prototype.Eo,980:S.prototype.oo,981:S.prototype.no,984:S.prototype.po,985:S.prototype.mo},uj={960:S.prototype.Dk,961:S.prototype.Dk,962:S.prototype.wn,964:S.prototype.vn,965:S.prototype.un,970:S.prototype.cn,972:S.prototype.bn,974:S.prototype.an,975:S.prototype.$m},vj={954:S.prototype.Ol, -960:S.prototype.Nl,961:S.prototype.Nl,962:S.prototype.Go,964:S.prototype.No,965:S.prototype.Mo,970:S.prototype.yo,972:S.prototype.xo,974:S.prototype.wo,975:S.prototype.vo,986:S.prototype.Ol}; +k.reset=function(){var a=!0,b=0;this.ka&&(b=Rh(this.ka));var c=!1;if(this.Ga)switch(this.Ga){case "ega":var c=!0,d=Yi[this.Ng];d&&(b=d[0]);b||(b=4);break;case "mda":b=3;break;default:b=2}this.he!==b&&(this.he=b,a=!0);this.Ba=null;this.Sc=this.ai=new ej(this,1);this.yb=this.Xg=new ej(this,3);c?(this.la=new ej(this,5,null,this.Tc),xj(this)):this.la=new ej;yj(this);this.Jd=null;this.od=3==b?Wi:3;this.ze=this.Lc=-1;this.ye=0;zj(this,this.od);if(this.Ba.cb&&a){a=this.Ba.cb+this.bi;for(b=this.Ba.cb;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),cb(this.na,b,c|d<<8);xb(this,!0)}};function xj(a){a.la.Yf&1?(a.Sc=a.ai,a.yb=a.la):(a.Sc=a.la,a.yb=a.Xg)}k.save=function(){var a=new G(this);a.set(0,pj(this.ai));a.set(1,pj(this.Xg));a.set(2,[this.he,this.od,this.Jd]);a.set(3,pj(this.la));return a.data()}; +k.restore=function(a){var b=a[2];this.he=b[0];this.od=b[1];this.Jd=b[2];this.Ba=null;this.Sc=this.ai=new ej(this,1,a[0]);this.yb=this.Xg=new ej(this,3,a[1]);this.la=new ej(this,5,a[3],this.Tc);this.la.mc&&xj(this);yj(this);if(!Aj(this))return!1;Bj(this);return!0}; +k.Un=function(a,b,c){if(c)this.Ha("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){v("Empty font ROM image: "+a);return}if(1==d.length){v(d[0]);return}if(8192==d.length)Hi(this,d,[0,6144]);else{this.Ha("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ha("Font ROM data error: "+e.message);return}this.Sa()}}; +function Cj(a,b){if(1==b)return a.ud[0]=T[0],a.ud[1]=T[7],a.ud;if(2==b){var c=a.Ba.Ze;if(a.Ba===a.la){var d=a.la.Rd[0],c=d&7;d&16&&(c|=8);18!=a.la.Rd[1]&&(c|=32)}a.ud[0]=T[c&15];c=c&32?bj:aj;for(d=0;drb||!ia?rb:8,Pd=Ii.createImageData(n.kc,n.lc),Fa=0;256>Fa;Fa++){for(db= +0;db=rb-2,el=Ic[db>(8<=Hb&&176<=Fa&&223>=Fa?7:Hb)?s:Od;Fj(Pd,Ji,Ki,Li);z&&Fj(Pd,Ji+1,Ki,Li)}Ii.putImageData(Pd,(Fa&15)*n.kc,(Fa>>4)*n.lc)}n.Te[u]="#"+p(s[0])+p(s[1])+p(s[2]);n.Vj[u]=s;n.Oh[u]=Jc;n=!0}}a.Td[b]=t;return n}function Gj(a){0a.ze&&(a.ze=0):a.ze=-1} +function Bj(a){if(a.Ub){for(var b=10;15>=b;b++)if(null==a.Ba.dc[b])return;var c=a.Ba.dc[10],b=c&31,d=a.Ba.dc[11]&31,e=a.Ba.dc[9]&31,f=!1;a.Ba===a.la&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Hj(a);else{c=a.Ba.dc[15]+((a.Ba.dc[14]&63)<<8);a.Lc!=c&&(Hj(a),a.Lc=c);d=d-b+1;if(a.cm!=b||a.kk!=d)a.cm=b,a.kk=d;a.ce=e+1;Gj(a)}}} +function Hj(a){if(0<=a.Lc){if(void 0!==a.ec){var b=a.ec[a.Lc];if(b&131072){var b=b&-131073,c=a.Lc%a.Bb,d=Math.floor(a.Lc/a.Bb);a.Ub&&a.Td[a.Ub]&&(a.$e&&Ij(a,c,d,b,a.$e),Ij(a,c,d,b));a.ec[a.Lc]=b}}a.Lc=-1}} +function Jj(a){var b;a=a.Ba;var c=a.qe[5];if(null!=c){b=2;var d=512,e=a.qe[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.nd=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.Oe=function(a){var b=this.Ba;null!=a&&b&&a!=b.rh&&(b.Ih(a),this.na.Ih(b.cb,b.uc,b.Ff))}; +function Aj(a,b){var c,d=a.Jd,e=a.Ba;if(e)if(1==e.fe)d=Wi;else if(5==e.fe){var d=null,f=e.Tc>>2,g=32768f&&(d=c?13:14):c&&(d-=2));c=Jj(a)}}else e.zc&8&&(e.zc&2?(d=e.zc&16?6:5,e.zc&4||(d-=1)):(d=e.zc&1?3:1,e.zc&4&&(d-= +1)));else a.Jd=null,null==d&&(d=a.od);if(!zj(a,d,b))return!1;a.Oe(c);return!0} +function zj(a,b,c){if(null!=b&&(b!=a.Jd||c)){a.lm=0;a.Jd=b;b=a.Ba||(b==Wi?a.Sc:a.yb);if(b!=a.Ba||b.cb!=a.cb||b.uc!=a.uc){Hj(a);if(a.cb){if(!Za(a.na,a.cb,a.uc))return!1;a.Ba&&(a.Ba.mc=!1)}a.Ba=b;b.mc=!0;a.cb=b.cb;a.uc=b.uc;if(!Xa(a.na,b.cb,b.uc,!1,b===a.la?b:null))return!1}a.Ub=0;a.Bb=a.uh;a.sc=a.Ji;a.Ei=S[Wi][2];b=0;var d=S[a.Jd];d&&(a.Bb=d[0],a.sc=d[1],a.Ei=d[2],b=d[3]||0,a.Ub=d[4],4==a.he&&a.Ba===a.la&&3==a.Ub&&(7==a.la.dc[9]?a.sc=43:a.Ub=5));a.Ek=a.Bb*a.sc;a.th=a.Ek/a.Ei;a.bi=(a.th<<1)+b;a.hk= +b?a.bi+b>>1:0;13<=a.Jd&&(a.th<<=1);a.Td.length&&(a.yd=Math.floor(a.xd/a.Bb),a.zd=Math.floor(a.de/a.sc),a.Ub?(b=a.Td[a.Ub],d=a.Td[a.Ub<<1],a.tm&&80==a.Bb?d&&a.yd>=3*d.kc>>2&&(a.Ub<<=1,b=d):(d&&a.yd>=d.kc&&(a.Ub<<=1,b=d),b&&(a.yd=b.kc,a.zd=b.lc)),a.Sf=a.Tf=0,b&&(a.Sf=a.Bb*b.kc,a.Tf=a.sc*b.lc)):(a.yd=a.zd=1,a.Sf=a.Bb,a.Tf=a.sc),a.nh=a.Vc.createImageData(a.Sf,a.Tf),a.Ye=window.document.createElement("canvas"),a.Ye.width=a.Sf,a.Ye.height=a.Tf,a.$e=a.Ye.getContext("2d"),a.Nj=a.Oj=0,a.di=a.xd,a.ei=a.de, +b=a.xd-a.Bb*a.yd,d=a.de-a.sc*a.zd,0>1,a.di-=b),0>1,a.ei-=d),b||d)&&(a.Vc.fillStyle=a.Mb.style.backgroundColor,a.Vc.fillRect(0,0,a.xd,a.de));!1!==c?xb(a,!0):Kj(a,!0)}return!0}function Fj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Kj(a,b){var c;if(b){if(c=a.th,void 0===a.ec||a.ec.length!=c)a.ec=Array(c)}else{if(void 0===a.ec)return;c=a.ec.length}for(var d=0;d>8;d=g&15;var h=a.Td[a.Ub];h.Af&&(d=h.Af[d]);var m=g>>4&15;h.Af&&(m=h.Af[m]);e?(b*=h.kc,c*=h.lc,e.fillStyle=h.Te[m],e.fillRect(b,c,h.kc,h.lc)):(b=b*a.yd+a.Nj,c=c*a.zd+a.Oj,a.Vc.fillStyle=h.Te[m],a.Vc.fillRect(b,c,a.yd,a.zd));g&256&&(m=(f&15)*h.kc,f=(f>>4)*h.lc,e?e.drawImage(h.Oh[d],m,f,h.kc,h.lc,b,c,h.kc,h.lc):a.Vc.drawImage(h.Oh[d],m,f,h.kc,h.lc,b,c,a.yd,a.zd));g&512&&(f=a.cm,g=a.kk,e?(a.ce&&a.ce!==h.lc&&(f=Math.floor(f*h.lc/a.ce),g=Math.floor(g*h.lc/a.ce)), +e.fillStyle=h.Te[d],e.fillRect(b,c+f,h.kc,g)):(a.ce&&a.ce!==a.zd&&(f=Math.floor(f*a.zd/a.ce),g=Math.floor(g*a.zd/a.ce)),a.Vc.fillStyle=h.Te[d],a.Vc.fillRect(b,c+f,a.yd,g)))} +function xb(a,b){if(a.Nb){var c=!1;a.Ba&&(a.Ba===a.la?a.la.Bd&32&&(c=!0):a.Ba.zc&8&&(c=!0));if(c||b){if(b)Kj(a,!0);else if(void 0===a.ec)return;var d=!1;!(b||++a.lm&15)&&0<=a.ze&&(a.ze++,d=!0);var e=0,f=a.Ek,c=a.Ba.cb,g=c+a.Ba.uc,h=(a.Ba.dc[12]<<8)+a.Ba.dc[13];a.Ub&&(h<<=1);var c=c+h,m=a.bi;c+m>g&&(m=g-c,0>m&&(m=0));g=c+m;if(h=!b){for(var h=a.na,n=!0,q=c>>h.ob;0a.Lc)return;e=a.Lc;f=e+1}}if(a.Ub){if(a.Td[a.Ub]){d= +0;h=a.ye=0;m=1048575;a.Ba.zc&32&&(h=32768,m&=~h,a.ze&2||(m&=-65537));for(c+=e<<1;c>8| +(t&255)<<8;s=h;var rb=16;q>=m))>>(rb-=m);Fj(a.nh,q++,u,n[Od])}q>C&&(C=q);u=ja&&(ja=u+1)}e+=2;g++;if(q>=a.Bb){q=0;u+=2;if(u>a.sc)break;u==a.sc&&(u=1,e=c+a.hk)}}zia;ia++)ja=C&2155905152, +0>ja&&(ja=-ja),ja=U[ja]||0,Fj(a.nh,h++,m,g[ja]),C<<=1;h>q&&(q=h);m=z&&(z=m+1)}e++;if(h>=a.Bb&&(h=0,++m>a.sc))break}n>2),c=this.la.Lh&-17|(this.Ng&1<f&&(f=0);f%b.Hi>b.Nn&&(d|=1);f%=b.Hk;f>b.Qn&&(d|=8);b.Mi=e-f;b===a.la?(d|=b.tf&48^48,b.jd=!1):d=(b.tf^=9)|240;b.tf=d;a.ba(b.port+6,null,c,b===a.la?"STATUS1":"STATUS",d);return d}k.Fa=function(a,b){this.Z&&(b||K(this.Z,this.Z.Dg))&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Dg,e)}; +var rj={948:R.prototype.hn,949:R.prototype.gn,952:R.prototype.jn,954:R.prototype.kn,980:R.prototype.Qm,981:R.prototype.Pm,984:R.prototype.Rm,985:R.prototype.Om,986:R.prototype.Sm},sj={948:R.prototype.Bo,949:R.prototype.Ao,952:R.prototype.Co,980:R.prototype.mo,981:R.prototype.lo,984:R.prototype.no,985:R.prototype.ko},tj={960:R.prototype.Ak,961:R.prototype.Ak,962:R.prototype.un,964:R.prototype.tn,965:R.prototype.sn,970:R.prototype.an,972:R.prototype.$m,974:R.prototype.Zm,975:R.prototype.Ym},uj={954:R.prototype.Ll, +960:R.prototype.Kl,961:R.prototype.Kl,962:R.prototype.Eo,964:R.prototype.Lo,965:R.prototype.Ko,970:R.prototype.wo,972:R.prototype.vo,974:R.prototype.uo,975:R.prototype.to,986:R.prototype.Ll}; za(function(){for(var a=A(window.document,"pcjs","video"),b=0;bMissing <canvas> support; try a new web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.setAttribute("contenteditable","true");e.setAttribute("autocapitalize","off");e.setAttribute("autocorrect","off");e.style.backgroundColor=d.screenColor; -e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=e.getContext("2d"),d=new S(d,e,f);Ma(d,c)}}); -function X(a){this.Ak=a.adapter;switch(this.Ak){case 1:this.Dj=1016;this.gg=4;break;case 2:this.Dj=760;this.gg=3;break;default:v("Unrecognized serial adapter #"+this.Ak);return}this.ae=null;w.call(this,"SerialPort",a,X);var b=a.binding,c;a=Rj;b&&(void 0===c&&(c="Panel"),(c=La(c,this.id))&&(b=c.ta[b])&&this.wb(null,null,a,b))}x(w,X);var Rj="buffer";k=X.prototype;k.$j=function(a,b){return a==this.mh?(this.Ek=b,this):null}; -k.wb=function(a,b,c,d){var e=this;switch(c){case Rj:return this.ta[c]=this.ae=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),Sj(e,[b]))},d.onkeypress=function(a){a=a||window.event;Sj(e,[a.which||a.keyCode])},!0}return!1};k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.ka=B(a,"ChipSet");d&&Jh(d,X);gb(b,this,Tj,this.Dj);kb(b,this,Uj,this.Dj);this.Sa()}; -k.bc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.ge()};k.save=function(){var a=new H(this),b=0,c=[];c[b++]=this.$h;c[b++]=this.dk;c[b++]=this.Pe;c[b++]=this.Og;c[b++]=this.Xd;c[b++]=this.Rc;c[b++]=this.gd;c[b++]=this.Gc;c[b++]=this.bk;c[b]=this.Df;a.set(0,c);return a.data()};k.restore=function(a){return this.ge(a[0])}; -k.ge=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.$h=a[b++];this.dk=a[b++];this.Pe=a[b++];this.Og=a[b++];this.Xd=a[b++];this.Rc=a[b++];this.gd=a[b++];this.Gc=a[b++];this.bk=a[b++];this.Df=a[b];return!0};function Sj(a,b){a.Df=a.Df.concat(b);Vj(a)}function Vj(a){0>8:this.Og;this.ba(a,null,b,this.Rc&128?"DLM":"IER",c);return c};k.en=function(a,b){var c=this.Xd;this.ba(a,null,b,"IIR",c);return c};k.fn=function(a,b){var c=this.Rc;this.ba(a,null,b,"LCR",c);return c};k.hn=function(a,b){var c=this.gd;this.ba(a,null,b,"MCR",c);return c}; -k.gn=function(a,b){var c=this.Gc;this.ba(a,null,b,"LSR",c);return c};k.on=function(a,b){var c=this.bk;this.ba(a,null,b,"MSR",c);return c};k.Oo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLL":"THR");this.Rc&128?this.Pe=this.Pe&-256|b:(this.dk=b,this.Gc&=-97,this.ae?(13!=b&&(8==b?this.ae.value=this.ae.value.slice(0,-1):(this.ae.value+=String.fromCharCode(b),this.ae.scrollTop=this.ae.scrollHeight)),a=!0):a=!1,a&&(this.Gc|=96))}; -k.zo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLM":"IER");this.Rc&128?this.Pe=this.Pe&255|b<<8:this.Og=b};k.Ao=function(a,b,c){this.ba(a,b,c,"LCR");this.Rc=b}; -k.Bo=function(a,b,c){var d=this.gd;this.ba(a,b,c,"MCR");this.gd=b;this.Ek&&(d^b)&3&&(a=this.Ek,b=this.gd,(c=3==(b&3))?a.mc||(d=!1,a.gd&2||(a.reset(),a.Fa("serial mouse reset"),d=!0),a.gd&1||(a.Fa("serial mouse ID requested"),d=!0),d&&(Sj(a.Of,[77]),a.Fa("serial mouse ID sent")),Wj(a,a.Mb),a.mc=c):a.mc&&(a.Fa("serial mouse inactive"),Xj(a.Mb),a.mc=c),a.gd=b)};k.Fa=function(a){this.Z&&L(this.Z,this.Z.Tj)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Tj,e)}; -var Tj={0:X.prototype.tn,1:X.prototype.dn,2:X.prototype.en,3:X.prototype.fn,4:X.prototype.hn,5:X.prototype.gn,6:X.prototype.on},Uj={0:X.prototype.Oo,1:X.prototype.zo,3:X.prototype.Ao,4:X.prototype.Bo};za(function(){for(var a=A(window.document,"pcjs","serial"),b=0;ba.zg||0>a.Ag)a.zg=b.clientX,a.Ag=b.clientY;a.wf=b.clientX-a.zg;a.xf=b.clientY-a.Ag;(a.wf||a.xf)&&Zj(a,null,b.clientX,b.clientY);a.zg=b.clientX;a.Ag=b.clientY}},!1),b.addEventListener("mousedown",function(b){ak(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){ak(a,b.button,!1)},!1),a.ni=!0),b.style.cursor="none")}function Xj(a){a&&(a.style.cursor="auto")} -function ak(a,b,c){if(a.mc&&a.S&&a.S.Ob)switch(b){case 0:a.eh!=c&&(a.eh=c,Zj(a,"mouse button1 "+(c?"dn":"up")));break;case 2:a.fh!=c&&(a.fh=c,Zj(a,"mouse button2 "+(c?"dn":"up")))}}function Zj(a,b,c,d){var e=64|(a.eh?32:0)|(a.fh?16:0)|(a.xf&192)>>4|(a.wf&192)>>6,f=a.wf&63,g=a.xf&63;a.Fa((b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+p(e)+","+p(f)+","+p(g)+"]");Sj(a.Of,[e,f,g]);a.wf=a.xf=0}k.Fa=function(a){this.Z&&L(this.Z,this.Z.km)&&this.Z.message(a)}; -za(function(){for(var a=A(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=ea(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.Ac+":"+this.qc+":"+this.$c+":"+this.Tb,a+="&machine="+this.ia.ef(),a+="&user="+this.ia.ee(),d=qa()+"/api/v1/disk?"+a,this.ti=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): --1!==b.indexOf("/",b.length-1)&&(c="dir"),d=qa()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.cf?"":d)+"&format=json"));pa(d,!0,null,this,this.Tn,b)}; -k.Tn=function(a,b,c,d){var e=null;this.df=!1;var f=0>c&&this.Da&&!this.Da.Nb;if(this.ti)c?this.Ha('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Ad=!0,e=this);else if(c)this.Ha('Unable to load disk "'+this.Kd+'" (error '+c+")",f);else try{if(0g&&0b.indexOf("0x")&&'["'!= +e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=e.getContext("2d"),d=new R(d,e,f);Ma(d,c)}}); +function W(a){this.xk=a.adapter;switch(this.xk){case 1:this.Cj=1016;this.gg=4;break;case 2:this.Cj=760;this.gg=3;break;default:v("Unrecognized serial adapter #"+this.xk);return}this.ae=null;w.call(this,"SerialPort",a,W);var b=a.binding,c;a=Qj;b&&(void 0===c&&(c="Panel"),(c=La(c,this.id))&&(b=c.ta[b])&&this.wb(null,null,a,b))}x(w,W);var Qj="buffer";k=W.prototype;k.Yj=function(a,b){return a==this.lh?(this.Bk=b,this):null}; +k.wb=function(a,b,c,d){var e=this;switch(c){case Qj:return this.ta[c]=this.ae=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),Rj(e,[b]))},d.onkeypress=function(a){a=a||window.event;Rj(e,[a.which||a.keyCode])},!0}return!1};k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.ka=B(a,"ChipSet");d&&Ih(d,W);gb(b,this,Sj,this.Cj);kb(b,this,Tj,this.Cj);this.Sa()}; +k.bc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.ge()};k.save=function(){var a=new G(this),b=0,c=[];c[b++]=this.Zh;c[b++]=this.bk;c[b++]=this.Qe;c[b++]=this.Og;c[b++]=this.Xd;c[b++]=this.Rc;c[b++]=this.gd;c[b++]=this.Gc;c[b++]=this.$j;c[b]=this.Df;a.set(0,c);return a.data()};k.restore=function(a){return this.ge(a[0])}; +k.ge=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Zh=a[b++];this.bk=a[b++];this.Qe=a[b++];this.Og=a[b++];this.Xd=a[b++];this.Rc=a[b++];this.gd=a[b++];this.Gc=a[b++];this.$j=a[b++];this.Df=a[b];return!0};function Rj(a,b){a.Df=a.Df.concat(b);Uj(a)}function Uj(a){0>8:this.Og;this.ba(a,null,b,this.Rc&128?"DLM":"IER",c);return c};k.cn=function(a,b){var c=this.Xd;this.ba(a,null,b,"IIR",c);return c};k.dn=function(a,b){var c=this.Rc;this.ba(a,null,b,"LCR",c);return c};k.fn=function(a,b){var c=this.gd;this.ba(a,null,b,"MCR",c);return c}; +k.en=function(a,b){var c=this.Gc;this.ba(a,null,b,"LSR",c);return c};k.mn=function(a,b){var c=this.$j;this.ba(a,null,b,"MSR",c);return c};k.Mo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLL":"THR");this.Rc&128?this.Qe=this.Qe&-256|b:(this.bk=b,this.Gc&=-97,this.ae?(13!=b&&(8==b?this.ae.value=this.ae.value.slice(0,-1):(this.ae.value+=String.fromCharCode(b),this.ae.scrollTop=this.ae.scrollHeight)),a=!0):a=!1,a&&(this.Gc|=96))}; +k.xo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLM":"IER");this.Rc&128?this.Qe=this.Qe&255|b<<8:this.Og=b};k.yo=function(a,b,c){this.ba(a,b,c,"LCR");this.Rc=b}; +k.zo=function(a,b,c){var d=this.gd;this.ba(a,b,c,"MCR");this.gd=b;this.Bk&&(d^b)&3&&(a=this.Bk,b=this.gd,(c=3==(b&3))?a.mc||(d=!1,a.gd&2||(a.reset(),a.Fa("serial mouse reset"),d=!0),a.gd&1||(a.Fa("serial mouse ID requested"),d=!0),d&&(Rj(a.Of,[77]),a.Fa("serial mouse ID sent")),Vj(a,a.Mb),a.mc=c):a.mc&&(a.Fa("serial mouse inactive"),Wj(a.Mb),a.mc=c),a.gd=b)};k.Fa=function(a){this.Z&&K(this.Z,this.Z.Sj)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Sj,e)}; +var Sj={0:W.prototype.rn,1:W.prototype.bn,2:W.prototype.cn,3:W.prototype.dn,4:W.prototype.fn,5:W.prototype.en,6:W.prototype.mn},Tj={0:W.prototype.Mo,1:W.prototype.xo,3:W.prototype.yo,4:W.prototype.zo};za(function(){for(var a=A(window.document,"pcjs","serial"),b=0;ba.zg||0>a.Ag)a.zg=b.clientX,a.Ag=b.clientY;a.wf=b.clientX-a.zg;a.xf=b.clientY-a.Ag;(a.wf||a.xf)&&Yj(a,null,b.clientX,b.clientY);a.zg=b.clientX;a.Ag=b.clientY}},!1),b.addEventListener("mousedown",function(b){Zj(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){Zj(a,b.button,!1)},!1),a.mi=!0),b.style.cursor="none")}function Wj(a){a&&(a.style.cursor="auto")} +function Zj(a,b,c){if(a.mc&&a.S&&a.S.Ob)switch(b){case 0:a.dh!=c&&(a.dh=c,Yj(a,"mouse button1 "+(c?"dn":"up")));break;case 2:a.eh!=c&&(a.eh=c,Yj(a,"mouse button2 "+(c?"dn":"up")))}}function Yj(a,b,c,d){var e=64|(a.dh?32:0)|(a.eh?16:0)|(a.xf&192)>>4|(a.wf&192)>>6,f=a.wf&63,g=a.xf&63;a.Fa((b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+p(e)+","+p(f)+","+p(g)+"]");Rj(a.Of,[e,f,g]);a.wf=a.xf=0}k.Fa=function(a){this.Z&&K(this.Z,this.Z.hm)&&this.Z.message(a)}; +za(function(){for(var a=A(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=ea(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.Ac+":"+this.qc+":"+this.$c+":"+this.Tb,a+="&machine="+this.ia.ff(),a+="&user="+this.ia.ee(),d=qa()+"/api/v1/disk?"+a,this.si=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): +-1!==b.indexOf("/",b.length-1)&&(c="dir"),d=qa()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.df?"":d)+"&format=json"));pa(d,!0,null,this,this.Rn,b)}; +k.Rn=function(a,b,c,d){var e=null;this.ef=!1;var f=0>c&&this.Da&&!this.Da.Nb;if(this.si)c?this.Ha('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Ad=!0,e=this);else if(c)this.Ha('Unable to load disk "'+this.Kd+'" (error '+c+")",f);else try{if(0g&&0b.indexOf("0x")&&'["'!= b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(h.length)if(1==h.length)v(h[0]);else{for(b=a=0;b>2,q=m.pattern;void 0===q&&(q=m.pattern=0);var t=m.data;if(void 0===t){var s=m.bytes;if(void 0!==s&&s.length){for(var f=n<<2,u=s.length;ub&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function kk(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} -k.write=function(a,b,c){if(this.df)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.Hc?f=a.Xc+a.Hc&&(a.Hc+=f-(a.Xc+a.Hc)+1):(a.Xc=f,a.Hc=1);d[f]=d[f]&~(255<=this.ib.length||m>=this.ib[h].length||n>=this.ib[h][m].length){c="sector "+h+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.df){c="unable to modify write-protected disk";b=-1;break}e= -g[f++];f=g[f++];g=e+f.length;h=this.ib[h][m][n];for(m=h.data.length;mb&&this.Ha("unable to restore disk '"+this.Kd+": "+c);return b};k.Fa=function(a){this.Z&&L(this.Z,this.Z.hm)&&this.Z.message(a)}; -function lk(a){w.call(this,"FDC",a,lk);this.dmaRead=this.hi;this.dmaWrite=this.ii;this.dmaFormat=this.pm;this.Ke=null;if(a.autoMount&&(this.Ke=a.autoMount,"string"==typeof this.Ke))try{this.Ke=eval("("+a.autoMount+")")}catch(b){v("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.Ke=null}this.vc=[];this.Ed();this.Gf()||this.Sa()}x(w,lk); -var mk={3:{$d:3,Ce:0,name:"SPECIFY"},4:{$d:2,Ce:1,name:"DRIVE_STATUS"},5:{$d:9,Ce:7,name:"WRITE_DATA"},6:{$d:9,Ce:7,name:"READ_DATA"},7:{$d:2,Ce:0,name:"RECALIBRATE"},8:{$d:1,Ce:2,name:"INT_STATUS"},13:{$d:6,Ce:7,name:"FORMAT"},15:{$d:3,Ce:0,name:"SEEK"}};k=lk.prototype; +t;delete m.bytes}dk(m,b,c);for(f=0;fb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function jk(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} +k.write=function(a,b,c){if(this.ef)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.Hc?f=a.Xc+a.Hc&&(a.Hc+=f-(a.Xc+a.Hc)+1):(a.Xc=f,a.Hc=1);d[f]=d[f]&~(255<=this.hb.length||m>=this.hb[h].length||n>=this.hb[h][m].length){c="sector "+h+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.ef){c="unable to modify write-protected disk";b=-1;break}e= +g[f++];f=g[f++];g=e+f.length;h=this.hb[h][m][n];for(m=h.data.length;mb&&this.Ha("unable to restore disk '"+this.Kd+": "+c);return b};k.Fa=function(a){this.Z&&K(this.Z,this.Z.em)&&this.Z.message(a)}; +function kk(a){w.call(this,"FDC",a,kk);this.dmaRead=this.gi;this.dmaWrite=this.hi;this.dmaFormat=this.nm;this.Ke=null;if(a.autoMount&&(this.Ke=a.autoMount,"string"==typeof this.Ke))try{this.Ke=eval("("+a.autoMount+")")}catch(b){v("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.Ke=null}this.vc=[];this.Ed();this.Gf()||this.Sa()}x(w,kk); +var lk={3:{$d:3,Be:0,name:"SPECIFY"},4:{$d:2,Be:1,name:"DRIVE_STATUS"},5:{$d:9,Be:7,name:"WRITE_DATA"},6:{$d:9,Be:7,name:"READ_DATA"},7:{$d:2,Be:0,name:"RECALIBRATE"},8:{$d:1,Be:2,name:"INT_STATUS"},13:{$d:6,Be:7,name:"FORMAT"},15:{$d:3,Be:0,name:"SEEK"}};k=kk.prototype; k.wb=function(a,b,c,d){switch(c){case "listDisks":return this.ta[c]=d,a=window.document.createElement("option"),a.value="?",a.innerHTML="User-defined URL...",d.appendChild(a),d.onchange=function(a,b){return function(){var c=a.ta.descDisk;if(c){var d=b.options[b.selectedIndex];if(d){var m={};if(d=d.getAttribute("data-value"))try{m=eval("({"+d+"})")}catch(n){v("FDC option error: "+(n.message||n))}d=m.desc;void 0===d&&(d="");m=m.href;void 0!==m&&(d=''+d+"");c.innerHTML= -d}}}}(this,d),!0;case "descDisk":case "listDrives":return this.ta[c]=d,d.onchange=function(a,b){return function(){var c=parseInt(b.value,10);isNaN(c)||nk(a,c)}}(this,d),!0;case "loadDrive":return this.ta[c]=d,d.onclick=function(a){return function(){var b,c=a.ta.listDisks,d=a.ta.listDrives;if(c&&d&&!isNaN(b=parseInt(d.value,10))&&0<=b&&ba.va.restore(f)&&(e=!1);e&&a.va&&void 0!==a.Va&&(a.Ra=a.va.seek(a.tb,a.Ma,a.Qa));return e};k.Kj=function(){for(var a=0,b=[],c=0;ca.Ac&&(this.Ha('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.Ab)),b=null);b&&(a.va=b,a.Xl=c,a.Ne=d,uk(this,c,d,b),this.me|=128,this.Ha('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.Ab),a.Fe));a.Fe&&(a.Fe=!1,--this.ye||this.Sa());nk(this,a.Ab)}; -function nk(a,b){if(0<=b&&b=this.Ya&&(this.za&=-81,this.mb=this.Ya=0);return c}; -k.to=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=mk[a].$d){b=!1;this.mb=0;var d;a=this.Oa()&31;switch(a){case 3:this.Oa("SRT");this.Oa("HLT");this.Lb();break;case 4:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];this.Lb();this.rb((d.Za&4278190080)>>>24,"ST3");break;case 5:case 6:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>>2&1;d.tb=this.Oa("C");this.Oa("H");d.Qa=this.Oa("R");b=this.Oa("N"); -d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 7:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.tb=d.Wd=0;d.Za=268435488;this.Lb();b=!0;break;case 8:d=this.ya[this.Ab];d.Ma=0;this.Lb();vk(this,d);this.rb(d.tb,"PCN");break;case 13:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>> -2&1;b=this.Oa("N");d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 15:c=this.Oa("DS"),this.Ab=c&3,d=this.ya[this.Ab],d.Ma=c>>2&1,a=this.Oa("NCN"),d.tb+=a-d.Wd,0>d.tb&&(d.tb=0),d.tb>=d.Ac&&(d.tb=d.Ac-1),d.Wd=a,d.Za=32,0==d.tb&&(d.Za|=268435456),this.Lb(),b=!0}0b?this.tc(a,c):c(-1,!1)};k.ii=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1}; -k.pm=function(a,b){return void 0!==b&&0<=b?this.Mj(a,b):-1};k.ji=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(mi(this.ka,2,this,"dmaRead",a),gi(this.ka,2)))};k.ki=function(a){a.Za=72;a.va&&(a.va.df?a.Za=576:(a.Ra=null,a.Za=0,this.ka&&(mi(this.ka,2,this,"dmaWrite",a),gi(this.ka,2))))};k.ok=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(a.Be=0,a.xc=Array(4),a.Hf=!0,a.Nf=0,mi(this.ka,2,this,"dmaFormat",a),gi(this.ka,2),a.Hf=!1))}; -k.tc=function(a,b){var c=-1;if(!a.Za&&a.va){do{if(a.Ra&&0<=(c=kk(a.Ra,a.Va++)))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=1088;break}a.Va=0;this.Ef(a)}while(1)}b(c,!1)};k.Cc=function(a,b){if(a.Za||!a.va)return-1;do{if(a.Ra&&a.va.write(a.Ra,a.Va++,b))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=8256;b=-1;break}a.Va=0;this.Ef(a)}while(1);return b};k.Ef=function(a){a.Qa++;a.Qa>=a.$c+1&&(a.Qa=1,a.Ma++,a.Ma>=a.qc&&(a.Ma=0,a.tb++))}; -k.Mj=function(a,b){if(a.Za)return-1;a.xc[a.Be++]=b;if(a.Be==a.xc.length){a.tb=a.xc[0];a.Ma=a.xc[1];a.Qa=a.xc[2];a.Wa=128<this.Cc(a,a.ak))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; -k.Di=function(a){var b=this.S.G&255,c=this.S.G>>8,d=this.S.I&255,e=this.S.I>>8,f=this.S.J&255,g=this.S.J>>8;this.Z&&L(this.Z,this.Z.Bg)&&128>f&&(this.Z.message("\nFDC.intBIOS(AH="+p(c)+",D="+p(f)+",C="+p(e)+",H="+p(g)+",S="+p(d)+",N="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Bc(this.S,a,function(a,b){return function(c){b=E(a.S)-b;a.Fa("FDC.intBIOS("+c+"): C="+(Pc(a.S)?1:0)+" (cycles="+b+")")}}(this,E(this.S))));return!0};k.Fa=function(a){this.Z&&L(this.Z,this.Z.Bg)&&this.Z.message(a)}; -k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Bg,e)};var qk={1012:lk.prototype.Zm,1013:lk.prototype.Xm,1015:lk.prototype.Ym},rk={1010:lk.prototype.uo,1013:lk.prototype.to,1015:lk.prototype.so};za(function(){for(var a=A(window.document,"pcjs","fdc"),b=0;b=e&&(this.pf|=(f.type&3)<<(1-e<<1))}return d}; -k.Ij=function(){var a=0,b=[];this.Ee?(b[a++]=this.le,b[a++]=this.Wl,b[a++]=this.Gh,b[a++]=this.Hh,b[a++]=this.Fh,b[a++]=this.Eh,b[a++]=this.qg,b[a++]=this.za,b[a++]=this.Fj):(b[a++]=this.pf,b[a++]=this.za,b[a++]=this.cc,b[a++]=this.mb,b[a++]=this.Ya,b[a++]=this.Vl,b[a++]=this.Ul,b[a++]=this.Tl,b[a++]=this.ff);b[a]=this.Kj();return b}; -k.Bi=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.Ab=a;b.errorCode=d[f++];b.bm=d[f++];b.cf=d[f++];b.Te=d[f++];b.Ue=d[f++];b.Ma=d[f++];b.qc=d[f++];b.Qd=d[f++];b.Qa=d[f++];b.Yd=d[f++];b.Wa=d[f++];b.Tg=this.Ee?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.ee()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===wk[this.Xf][b.type])b.type=this.Cm;c=wk[this.Xf][b.type]; -b.$c=c[2]||17;b.Tb=c[3]||512;if(e&&this.ka&&(e=this.ka,c=b.type,e.pa)){var h=e.pa[18],h=a?h&240|c:h&15|c<<4;e.pa&&(e.pa[18]=h,Vh(e))}void 0===b.va&&(b.va=null,this.Ha("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Bk(this,b);b.Va=d[f++];b.Ra=null;b.va&&(a=d[f],void 0!==a&&0>b.va.restore(a)&&(g=!1),g&&void 0!==b.Va&&(b.Ra=b.va.seek(b.Qd,b.Ma,b.Qa+b.Tg)));return g};k.Kj=function(){for(var a=0,b=[],c=0;c=this.Ya&&(this.mb=this.Ya=0,this.za&=-15);return c}; -k.Qo=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=a&&(this.za|=2,this.za&=-2,Ck(this))};k.An=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);this.mb=this.Na.Tb){var e=this;this.tc(this.Na,function(a){0<=a?e.ka&&Q(e.ka,14):(e.za=1,e.le=16)},!1)}else this.za=80;d||this.ba(a,null,b,"DATA",c);return c}; -k.ho=function(a,b,c){this.Na&&0!=this.Na.Va||this.ba(a,b,c,"DATA");this.Na&&this.Na.Wa>=this.Na.Tb&&(0>this.Cc(this.Na,b)?(this.za=1,this.le=16):this.Na.Va==this.Na.Tb&&(this.Na.Wa-=this.Na.Tb,this.ka&&Q(this.ka,14),this.Na.Wa>=this.Na.Tb||(this.za=80)))};k.Mm=function(a,b){var c=this.le;this.ba(a,null,b,"ERROR",c);return c};k.lo=function(a,b,c){this.ba(a,b,c,"WPREC");this.Wl=b};k.Nm=function(a,b){var c=this.Gh;this.ba(a,null,b,"SECCNT",c);return c}; -k.jo=function(a,b,c){this.ba(a,b,c,"SECCNT");this.Gh=b};k.Om=function(a,b){var c=this.Hh;this.ba(a,null,b,"SECNUM",c);return c};k.ko=function(a,b,c){this.ba(a,b,c,"SECNUM");this.Hh=b};k.Jm=function(a,b){var c=this.Fh;this.ba(a,null,b,"CYLLO",c);return c};k.fo=function(a,b,c){this.ba(a,b,c,"CYLLO");this.Fh=b};k.Im=function(a,b){var c=this.Eh;this.ba(a,null,b,"CYLHI",c);return c};k.eo=function(a,b,c){this.ba(a,b,c,"CYLHI");this.Eh=b};k.Lm=function(a,b){var c=this.qg;this.ba(a,null,b,"DRVHD",c);return c}; -k.io=function(a,b,c){this.ba(a,b,c,"DRVHD");this.qg=b};k.Pm=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);return c};k.co=function(a,b,c){this.ba(a,b,c,"COMMAND");this.Fj=b;this.ka&&ti(this.ka,14);Dk(this)}; -function Dk(a){var b=!1,c=a.Fj,d=a.qg&16?1:0,e=a.qg&15,f=a.Fh|(a.Eh&3)<<8,g=a.Hh,h=a.Gh;a.Na=null;a.le=0;a.za=80;(d=a.ya[d])?(d.Qd=f,d.Ma=e,d.Qa=g,d.Wa=h*d.Tb,c=144<=c?c:c&240,d.Ra=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.tc(d,function(b){0<=b&&a.ka?(Q(a.ka,14),a.za=136):(a.za=1,a.le=16)},!1);break;case 48:a.ka?(Q(a.ka,14),a.za=136):(a.za=1,a.le=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.le=1;b=!0;break;case 145:d.qc=e+1,d.$c=h,b=!0}b&&a.ka&&Q(a.ka,14)} -function Ck(a){a.mb=0;var b=a.Oa(),c=a.Oa(),d=c&32,e=d>>5,f=c&31,g=a.Oa(),h=a.Oa(),m=g<<2&768|h,n=g&63,q=a.Oa(),t=a.Oa(),s=a.ya[e];s&&(s.Qd=m,s.Ma=f,s.Qa=n,s.Wa=q*s.Tb);switch(b){case 3:a.Lb(s?s.errorCode:4);a.rb(c);a.rb(g);a.rb(h);a.rb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Oa());)s&&cb?this.tc(a,c):c(-1,!1)}; -k.ii=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1};k.qm=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Vaa.va.restore(f)&&(e=!1);e&&a.va&&void 0!==a.Va&&(a.Ra=a.va.seek(a.tb,a.Ma,a.Qa));return e};k.Jj=function(){for(var a=0,b=[],c=0;ca.Ac&&(this.Ha('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.Ab)),b=null);b&&(a.va=b,a.Ul=c,a.Ne=d,tk(this,c,d,b),this.me|=128,this.Ha('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.Ab),a.Ee));a.Ee&&(a.Ee=!1,--this.xe||this.Sa());mk(this,a.Ab)}; +function mk(a,b){if(0<=b&&b=this.Ya&&(this.za&=-81,this.mb=this.Ya=0);return c}; +k.ro=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=lk[a].$d){b=!1;this.mb=0;var d;a=this.Oa()&31;switch(a){case 3:this.Oa("SRT");this.Oa("HLT");this.Lb();break;case 4:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];this.Lb();this.rb((d.Za&4278190080)>>>24,"ST3");break;case 5:case 6:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>>2&1;d.tb=this.Oa("C");this.Oa("H");d.Qa=this.Oa("R");b=this.Oa("N"); +d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 7:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.tb=d.Wd=0;d.Za=268435488;this.Lb();b=!0;break;case 8:d=this.ya[this.Ab];d.Ma=0;this.Lb();uk(this,d);this.rb(d.tb,"PCN");break;case 13:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>> +2&1;b=this.Oa("N");d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 15:c=this.Oa("DS"),this.Ab=c&3,d=this.ya[this.Ab],d.Ma=c>>2&1,a=this.Oa("NCN"),d.tb+=a-d.Wd,0>d.tb&&(d.tb=0),d.tb>=d.Ac&&(d.tb=d.Ac-1),d.Wd=a,d.Za=32,0==d.tb&&(d.Za|=268435456),this.Lb(),b=!0}0b?this.tc(a,c):c(-1,!1)};k.hi=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1}; +k.nm=function(a,b){return void 0!==b&&0<=b?this.Lj(a,b):-1};k.ii=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(li(this.ka,2,this,"dmaRead",a),fi(this.ka,2)))};k.ji=function(a){a.Za=72;a.va&&(a.va.ef?a.Za=576:(a.Ra=null,a.Za=0,this.ka&&(li(this.ka,2,this,"dmaWrite",a),fi(this.ka,2))))};k.lk=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(a.Ae=0,a.xc=Array(4),a.Hf=!0,a.Nf=0,li(this.ka,2,this,"dmaFormat",a),fi(this.ka,2),a.Hf=!1))}; +k.tc=function(a,b){var c=-1;if(!a.Za&&a.va){do{if(a.Ra&&0<=(c=jk(a.Ra,a.Va++)))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=1088;break}a.Va=0;this.Ef(a)}while(1)}b(c,!1)};k.Cc=function(a,b){if(a.Za||!a.va)return-1;do{if(a.Ra&&a.va.write(a.Ra,a.Va++,b))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=8256;b=-1;break}a.Va=0;this.Ef(a)}while(1);return b};k.Ef=function(a){a.Qa++;a.Qa>=a.$c+1&&(a.Qa=1,a.Ma++,a.Ma>=a.qc&&(a.Ma=0,a.tb++))}; +k.Lj=function(a,b){if(a.Za)return-1;a.xc[a.Ae++]=b;if(a.Ae==a.xc.length){a.tb=a.xc[0];a.Ma=a.xc[1];a.Qa=a.xc[2];a.Wa=128<this.Cc(a,a.Zj))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; +k.Ci=function(a){var b=this.S.G&255,c=this.S.G>>8,d=this.S.I&255,e=this.S.I>>8,f=this.S.J&255,g=this.S.J>>8;this.Z&&K(this.Z,this.Z.Bg)&&128>f&&(this.Z.message("\nFDC.intBIOS(AH="+p(c)+",D="+p(f)+",C="+p(e)+",H="+p(g)+",S="+p(d)+",N="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Ac(this.S,a,function(a,b){return function(c){b=D(a.S)-b;a.Fa("FDC.intBIOS("+c+"): C="+(Oc(a.S)?1:0)+" (cycles="+b+")")}}(this,D(this.S))));return!0};k.Fa=function(a){this.Z&&K(this.Z,this.Z.Bg)&&this.Z.message(a)}; +k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Bg,e)};var pk={1012:kk.prototype.Xm,1013:kk.prototype.Vm,1015:kk.prototype.Wm},qk={1010:kk.prototype.so,1013:kk.prototype.ro,1015:kk.prototype.qo};za(function(){for(var a=A(window.document,"pcjs","fdc"),b=0;b=e&&(this.pf|=(f.type&3)<<(1-e<<1))}return d}; +k.Hj=function(){var a=0,b=[];this.De?(b[a++]=this.le,b[a++]=this.Tl,b[a++]=this.Fh,b[a++]=this.Gh,b[a++]=this.Eh,b[a++]=this.Dh,b[a++]=this.qg,b[a++]=this.za,b[a++]=this.Ej):(b[a++]=this.pf,b[a++]=this.za,b[a++]=this.cc,b[a++]=this.mb,b[a++]=this.Ya,b[a++]=this.Sl,b[a++]=this.Rl,b[a++]=this.Ql,b[a++]=this.gf);b[a]=this.Jj();return b}; +k.Ai=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.Ab=a;b.errorCode=d[f++];b.Zl=d[f++];b.df=d[f++];b.Ue=d[f++];b.Ve=d[f++];b.Ma=d[f++];b.qc=d[f++];b.Qd=d[f++];b.Qa=d[f++];b.Yd=d[f++];b.Wa=d[f++];b.Tg=this.De?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.ee()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===vk[this.Xf][b.type])b.type=this.Am;c=vk[this.Xf][b.type]; +b.$c=c[2]||17;b.Tb=c[3]||512;if(e&&this.ka&&(e=this.ka,c=b.type,e.pa)){var h=e.pa[18],h=a?h&240|c:h&15|c<<4;e.pa&&(e.pa[18]=h,Uh(e))}void 0===b.va&&(b.va=null,this.Ha("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Ak(this,b);b.Va=d[f++];b.Ra=null;b.va&&(a=d[f],void 0!==a&&0>b.va.restore(a)&&(g=!1),g&&void 0!==b.Va&&(b.Ra=b.va.seek(b.Qd,b.Ma,b.Qa+b.Tg)));return g};k.Jj=function(){for(var a=0,b=[],c=0;c=this.Ya&&(this.mb=this.Ya=0,this.za&=-15);return c}; +k.Oo=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=a&&(this.za|=2,this.za&=-2,Bk(this))};k.yn=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);this.mb=this.Na.Tb){var e=this;this.tc(this.Na,function(a){0<=a?e.ka&&P(e.ka,14):(e.za=1,e.le=16)},!1)}else this.za=80;d||this.ba(a,null,b,"DATA",c);return c}; +k.eo=function(a,b,c){this.Na&&0!=this.Na.Va||this.ba(a,b,c,"DATA");this.Na&&this.Na.Wa>=this.Na.Tb&&(0>this.Cc(this.Na,b)?(this.za=1,this.le=16):this.Na.Va==this.Na.Tb&&(this.Na.Wa-=this.Na.Tb,this.ka&&P(this.ka,14),this.Na.Wa>=this.Na.Tb||(this.za=80)))};k.Km=function(a,b){var c=this.le;this.ba(a,null,b,"ERROR",c);return c};k.jo=function(a,b,c){this.ba(a,b,c,"WPREC");this.Tl=b};k.Lm=function(a,b){var c=this.Fh;this.ba(a,null,b,"SECCNT",c);return c}; +k.ho=function(a,b,c){this.ba(a,b,c,"SECCNT");this.Fh=b};k.Mm=function(a,b){var c=this.Gh;this.ba(a,null,b,"SECNUM",c);return c};k.io=function(a,b,c){this.ba(a,b,c,"SECNUM");this.Gh=b};k.Hm=function(a,b){var c=this.Eh;this.ba(a,null,b,"CYLLO",c);return c};k.co=function(a,b,c){this.ba(a,b,c,"CYLLO");this.Eh=b};k.Gm=function(a,b){var c=this.Dh;this.ba(a,null,b,"CYLHI",c);return c};k.bo=function(a,b,c){this.ba(a,b,c,"CYLHI");this.Dh=b};k.Jm=function(a,b){var c=this.qg;this.ba(a,null,b,"DRVHD",c);return c}; +k.fo=function(a,b,c){this.ba(a,b,c,"DRVHD");this.qg=b};k.Nm=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);return c};k.ao=function(a,b,c){this.ba(a,b,c,"COMMAND");this.Ej=b;this.ka&&si(this.ka,14);Ck(this)}; +function Ck(a){var b=!1,c=a.Ej,d=a.qg&16?1:0,e=a.qg&15,f=a.Eh|(a.Dh&3)<<8,g=a.Gh,h=a.Fh;a.Na=null;a.le=0;a.za=80;(d=a.ya[d])?(d.Qd=f,d.Ma=e,d.Qa=g,d.Wa=h*d.Tb,c=144<=c?c:c&240,d.Ra=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.tc(d,function(b){0<=b&&a.ka?(P(a.ka,14),a.za=136):(a.za=1,a.le=16)},!1);break;case 48:a.ka?(P(a.ka,14),a.za=136):(a.za=1,a.le=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.le=1;b=!0;break;case 145:d.qc=e+1,d.$c=h,b=!0}b&&a.ka&&P(a.ka,14)} +function Bk(a){a.mb=0;var b=a.Oa(),c=a.Oa(),d=c&32,e=d>>5,f=c&31,g=a.Oa(),h=a.Oa(),m=g<<2&768|h,n=g&63,q=a.Oa(),t=a.Oa(),s=a.ya[e];s&&(s.Qd=m,s.Ma=f,s.Qa=n,s.Wa=q*s.Tb);switch(b){case 3:a.Lb(s?s.errorCode:4);a.rb(c);a.rb(g);a.rb(h);a.rb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Oa());)s&&cb?this.tc(a,c):c(-1,!1)}; +k.hi=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1};k.om=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Va=a.$c+b&&(a.Qa=b,a.Ma++,a.Ma>=a.qc&&(a.Ma=0,a.Qd++))}; -k.Mj=function(a,b){if(a.errorCode)return-1;a.xc[a.Be++]=b;if(a.Be==a.xc.length){a.Qd=a.xc[0];a.Ma=a.xc[1];a.Qa=a.xc[2];a.Wa=128<this.Cc(a,a.ak))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; -k.Cn=function(a){var b=this.S.J&255;!(this.S.G>>8)&&128>8)||(a=!this.ka)||(a=!(this.ka.sb[0].wd&64));return a?!0:!1}; -k.Fa=function(a){this.Z&&L(this.Z,this.Z.Oh)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Oh,e)}; -var yk={800:Y.prototype.zn,801:Y.prototype.An,802:Y.prototype.yn},xk={496:Y.prototype.Km,497:Y.prototype.Mm,498:Y.prototype.Nm,499:Y.prototype.Om,500:Y.prototype.Jm,501:Y.prototype.Im,502:Y.prototype.Lm,503:Y.prototype.Pm},Ak={800:Y.prototype.Qo,801:Y.prototype.To,802:Y.prototype.So,803:Y.prototype.Ro,807:Y.prototype.Aj,811:Y.prototype.Aj,815:Y.prototype.Aj},zk={496:Y.prototype.ho,497:Y.prototype.lo,498:Y.prototype.jo,499:Y.prototype.ko,500:Y.prototype.fo,501:Y.prototype.eo,502:Y.prototype.io,503:Y.prototype.co}; -za(function(){for(var a=A(window.document,"pcjs","hdc"),b=0;bthis.Cc(a,a.Zj))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; +k.An=function(a){var b=this.S.J&255;!(this.S.G>>8)&&128>8)||(a=!this.ka)||(a=!(this.ka.sb[0].wd&64));return a?!0:!1}; +k.Fa=function(a){this.Z&&K(this.Z,this.Z.Nh)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Nh,e)}; +var xk={800:X.prototype.xn,801:X.prototype.yn,802:X.prototype.wn},wk={496:X.prototype.Im,497:X.prototype.Km,498:X.prototype.Lm,499:X.prototype.Mm,500:X.prototype.Hm,501:X.prototype.Gm,502:X.prototype.Jm,503:X.prototype.Nm},zk={800:X.prototype.Oo,801:X.prototype.Ro,802:X.prototype.Qo,803:X.prototype.Po,807:X.prototype.zj,811:X.prototype.zj,815:X.prototype.zj},yk={496:X.prototype.eo,497:X.prototype.jo,498:X.prototype.ho,499:X.prototype.io,500:X.prototype.co,501:X.prototype.bo,502:X.prototype.fo,503:X.prototype.ao}; +za(function(){for(var a=A(window.document,"pcjs","hdc"),b=0;b) from STDIN with echo",2:"write character () from STDAUX",4:"write character () from STDIN without echo",9:"write $-terminated string ()",11:"get STDIN status", +[3,1],[2,1],[69],[189],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[115,4145],[116,4145],[114,4145],[83,4145],[74,8289,4097],[74,10339,4097],[131,4097,4193],[131,4097,6243],[17,4148],[88,4148],[88,4102],[88,4145],[74,8289,6755],[74,10339,6755],[131,6755,4193],[131,6755,6243],[111,15],[0],[141,15],[142,15],[71],[23],[200,12417],[201,12420],[19],[177],[21],[179],[20],[178],[202,12417],[203,12420]],Nk={0:[205,12419],1:[206,12419],2:[100,37027,4243],3:[117,37027,4243]}, +Ok=[[[6,12417,4097],[129,12417,4097],[5,12417,4097],[149,12417,4097],[7,12417,4097],[183,12417,4097],[190,12417,4097],[24,4225,4097]],[[6,12420,4100],[129,12420,4100],[5,12420,4100],[149,12420,4100],[7,12420,4100],[183,12420,4100],[190,12420,4100],[24,4228,4100]],[[6,12420,4098],[129,12420,4098],[5,12420,4098],[149,12420,4098],[7,12420,4098],[183,12420,4098],[190,12420,4098],[24,4228,4098]],[[145,45185,4097],[146,45185,4097],[139,45185,4097],[140,45185,4097],[169,45185,4097],[171,45185,4097],Y,[148, +45185,4097]],[[145,45188,4097],[146,45188,4097],[139,45188,4097],[140,45188,4097],[169,45188,4097],[171,45188,4097],Y,[148,45188,4097]],[[145,12417,4113],[146,12417,4113],[139,12417,4113],[140,12417,4113],[169,12417,4113],[171,12417,4113],Y,[148,12417,4113]],[[145,12420,4113],[146,12420,4113],[139,12420,4113],[140,12420,4113],[169,12420,4113],[171,12420,4113],Y,[148,12420,4113]],[[145,12417,4449],[146,12417,4449],[139,12417,4449],[140,12417,4449],[169,12417,4449],[171,12417,4449],Y,[148,12417,4449]], +[[145,12420,4449],[146,12420,4449],[139,12420,4449],[140,12420,4449],[169,12420,4449],[171,12420,4449],Y,[148,12420,4449]],[[184,4225,4097],Y,[128,12417],[126,12417],[125,4225],[73,12417],[32,4225],[72,12417]],[[184,4228,4100],Y,[128,12420],[126,12420],[125,4228],[73,12420],[32,4228],[72,12420]],[[75,12417],[31,12417],Y,Y,Y,Y,Y,Y],[[75,12420],[31,12420],[17,4228],[17,4230],[88,4228],[88,4230],[136,4228],Y],[],[[174,8323],[182,8323],[109,4227],[119,4227],[185,4227],[186,4227],Y,Y],[[168,8323],[173, +8323],[106,4227],[108,4227],[175,8323],Y,[110,4227],Y]],Pk={0:"terminate program",1:"read character (AL>) from STDIN with echo",2:"write character () from STDAUX",4:"write character () from STDIN without echo",9:"write $-terminated string ()",11:"get STDIN status", 12:"flush buffer and read STDIN",13:"disk reset",14:"select default drive ()", 26:"set disk transfer area address (DTACX, mon>DH, day>DL)",43:"set system date (yearCH, min>CL, sec>DH, hundredths>DL)",45:"set system time (hourES:BX)",48:"get DOS version (major>AL, minor>AH)",49:"terminate and stay resident", 50:"get drive parameter block (DPB>DS:BX) for drive () of InDOS flag",53:"get address (ES:BX>) of interrupt vector () for drive ()",78:"find first matching file ()",82:"get system variables (ES:BX>)",83:"translate BPB ()",84:"get verify flag (AL>)",85:"create child PSP at segment () and time (CX>)",88:"get/set (AL=0/1) memory allocation strategy",89:"get extended error information",90:"create temporary file (>8;if(L(this,this.im)){var c=Qk[b],c=c?": "+c.replace(/\((<|>)/g,"("):"";this.message("INT 0x21: AH="+p(b)+" at "+ca(a-this.S.ra.La,this.S.ra.oa)+c)}return!0};k.Bn=function(){this.ca("Type ? for list of debugger commands")};function Hk(a){var b;if(1>c.ob],!1)}a.Sd=["read"];if(void 0!==a.Pc)for(b=1;b>c.ob],!0);a.Pc=["write"]}k.Vd=function(a,b,c){if(!al(this,a,b)){b[2]=Zk(this,b);b[3]=c;a.push(b);if(a!=this.Gb){var d=this.na,e=Zk(this,b);d.Aa[e>>d.ob].Vd(e&d.fb,a==this.Pc)}c||this.ca("breakpoint enabled: "+$(b)+" ("+a[0]+")");Hk(this);return!0}return!1}; -function al(a,b,c,d){var e=!1;c=Zk(a,c);for(var f=1;f>d.ob],b==a.Pc));g[3]||a.ca("breakpoint cleared: "+$(g)+" ("+b[0]+")");Hk(a);break}a.ca("breakpoint exists: "+$(g)+" ("+b[0]+")");break}}return e}function bl(a,b){for(var c=1;c=b&&f>g.ob].Vd(f&g.fb,d==a.Pc)}}}function Wk(a,b){if(void 0!==b)Xk(a,b,a.Gb,!0),a.nc=0;else for(var c=1;c=Jk.length&&(m=a.ub(b,1),g=Pk[h-Jk.length][m>>3&7]);var n=2,h="";if(164<=f&&167>=f||170<=f&&175>=f)n=0;for(f=1;f<=n;f++){var q="",t=g[f];if(void 0!==t){var s=t&15;if(0!=s&&15!=s){var u=t&240;if(128<=u)if(0>m&&(m=a.ub(b,1)),160<=u)q=m>>3&7,176==(t&240)?q+=16:3<=(t&15)&&(q+=8),q=Kk[q];else{if(128<=u){var q=a,z=t,s=b,C="",u=m>>6,C=m&7;3>u?(z=void 0,u||6!=C?(C=Lk[C],1==u?(z= -q.ub(s,1),z&128?(z=z<<24>>24,C+="-"+p(-z)):C+="+"+p(z)):2==u&&(z=q.Ia(s,2),C+="+"+r(z))):(z=q.Ia(s,2),C=r(z)),C="["+C+"]"):C=Kk[C+(1==(z&15)?0:8)];q=C}}else if(16==u)q="1";else if(0==u){q=a;u=t;s=b;z=" ";switch(u&15){case 1:u&12288&&(z=p(q.ub(s,1)));break;case 2:z=r(q.ub(s,1)<<24>>24);break;case 3:case 4:z=r(q.Ia(s,2));break;case 6:u=q.Ia(s,2);q=q.Ia(s,2);z=$([u,q,void 0]);break;default:z="imm("+r(u)+")"}q=z}else 32==u?q="["+r(a.Ia(b,2))+"]":48==u?(1==s?(q=a.ub(b,1),q=q<<24>>24):q=a.Ia(b,2),q=b[0]+ -q&65535,q=dl(a,[q,b[1],void 0])[0]||r(q)):96==u?q=Kk[(t&3840)>>8]:112==u?q=Kk[((t&3840)>>8)+16]:64==u?q="DS:[SI]":80==u&&(q="ES:[DI]");q.length||(q="type("+r(t)+")");0>>4),f[0]=h,f[1]=m,void 0!==n.p&&(f[2]=n.p));break}}}if(f&&f.length)return f;f=b.indexOf(":");0>f?null!=e?c=kl(a,b):d=kl(a,b):(e=kl(a,b.substring(0,f)),c=kl(a,b.substring(f+1)),d=null)}return[c, +87:"get/set (AL=0/1) file date (DX>) and time (CX>)",88:"get/set (AL=0/1) memory allocation strategy",89:"get extended error information",90:"create temporary file (>8;if(K(this,this.fm)){var c=Pk[b],c=c?": "+c.replace(/\((<|>)/g,"("):"";this.message("INT 0x21: AH="+p(b)+" at "+ca(a-this.S.ra.La,this.S.ra.oa)+c)}return!0};k.zn=function(){this.ca("Type ? for list of debugger commands")};function Gk(a){var b;if(1>c.ob],!1)}a.Sd=["read"];if(void 0!==a.Pc)for(b=1;b>c.ob],!0);a.Pc=["write"]}k.Vd=function(a,b,c){if(!Zk(this,a,b)){b[2]=Z(this,b);b[3]=c;a.push(b);if(a!=this.Gb){var d=this.na,e=Z(this,b);d.Aa[e>>d.ob].Vd(e&d.eb,a==this.Pc)}c||this.ca("breakpoint enabled: "+$(b)+" ("+a[0]+")");Gk(this);return!0}return!1}; +function Zk(a,b,c,d){var e=!1;c=Z(a,c);for(var f=1;f>d.ob],b==a.Pc));g[3]||a.ca("breakpoint cleared: "+$(g)+" ("+b[0]+")");Gk(a);break}a.ca("breakpoint exists: "+$(g)+" ("+b[0]+")");break}}return e}function $k(a,b){for(var c=1;c=b&&f>g.ob].Vd(f&g.eb,d==a.Pc)}}}function Vk(a,b){if(void 0!==b)Wk(a,b,a.Gb,!0),a.nc=0;else for(var c=1;c=Ik.length&&(m=a.ub(b,1),g=Ok[h-Ik.length][m>>3&7]);var n=2,h="";if(164<=f&&167>=f||170<=f&&175>=f)n=0;for(f=1;f<=n;f++){var q="",t=g[f];if(void 0!==t){var s=t&15;if(0!=s&&15!=s){var u=t&240;if(128<=u)if(0>m&&(m=a.ub(b,1)),160<=u)q=m>>3&7,176==(t&240)?q+=16:3<=(t&15)&&(q+=8),q=Jk[q];else{if(128<=u){var q=a,z=t,s=b,C="",u=m>>6,C=m&7;3>u?(z=void 0,u||6!=C?(C=Kk[C],1==u?(z= +q.ub(s,1),z&128?(z=z<<24>>24,C+="-"+p(-z)):C+="+"+p(z)):2==u&&(z=q.Ia(s,2),C+="+"+r(z))):(z=q.Ia(s,2),C=r(z)),C="["+C+"]"):C=Jk[C+(1==(z&15)?0:8)];q=C}}else if(16==u)q="1";else if(0==u){q=a;u=t;s=b;z=" ";switch(u&15){case 1:u&12288&&(z=p(q.ub(s,1)));break;case 2:z=r(q.ub(s,1)<<24>>24);break;case 3:case 4:z=r(q.Ia(s,2));break;case 6:u=q.Ia(s,2);q=q.Ia(s,2);z=$([u,q,void 0]);break;default:z="imm("+r(u)+")"}q=z}else 32==u?q="["+r(a.Ia(b,2))+"]":48==u?(1==s?(q=a.ub(b,1),q=q<<24>>24):q=a.Ia(b,2),q=b[0]+ +q&65535,q=bl(a,[q,b[1],void 0])[0]||r(q)):96==u?q=Jk[(t&3840)>>8]:112==u?q=Jk[((t&3840)>>8)+16]:64==u?q="DS:[SI]":80==u&&(q="ES:[DI]");q.length||(q="type("+r(t)+")");0>>4),f[0]=h,f[1]=m,void 0!==n.p&&(f[2]=n.p));break}}}if(f&&f.length)return f;f=b.indexOf(":");0>f?null!=e?c=il(a,b):d=il(a,b):(e=il(a,b.substring(0,f)),c=il(a,b.substring(f+1)),d=null)}return[c, e,d]} -function kl(a,b,c){var d;if(void 0!==b)switch(b=b.toUpperCase(),b){case "AX":d=a.S.G;break;case "BX":d=a.S.B;break;case "CX":d=a.S.I;break;case "DX":d=a.S.J;break;case "SI":d=a.S.F;break;case "DI":d=a.S.D;break;case "BP":d=a.S.H;break;case "SP":d=a.S.X;break;case "CS":d=a.S.ra.oa;break;case "DS":d=a.S.Qb.oa;break;case "ES":d=a.S.cb.oa;break;case "SS":d=a.S.Eb.oa;break;case "IP":d=a.S.sa;break;default:d=ba(b),void 0===d&&a.ca("invalid "+(c?c:"value")+": "+b)}else a.ca("missing "+(c?c:"value"));return d} -function Gi(a,b,c,d){function e(a,b){return a[0]>b[0]?1:a[0]=g&&eb[0]?1:a[0]c?(a.ca("out of data at address "+$(b)),q=!0):(a.bd(b,c,1),n++)})})(a,c);a.ca(n+" bytes read at "+e)}else a.ca("sector "+e+" request out of range");else a.ca("drive "+d+" not loaded");else a.ca("invalid drive: "+d)}else a.ca("disk controller not present")}}} -function Uk(a,b,c){if(b&&"?"==b[1])a.ca("\nregister commands:"),a.ca("\tr\t\tdisplay all registers"),a.ca("\tr [target=#]\tmodify target register"),a.ca("supported targets:"),a.ca("\tall registers and flags V,D,I,S,Z,A,P,C");else{var d=!0,e;if(null!=b&&1b[0]?1:a[0]=g&&eb[0]?1:a[0]c?(a.ca("out of data at address "+$(b)),q=!0):(a.bd(b,c,1),n++)})})(a,c);a.ca(n+" bytes read at "+e)}else a.ca("sector "+e+" request out of range");else a.ca("drive "+d+" not loaded");else a.ca("invalid drive: "+d)}else a.ca("disk controller not present")}}} +function Tk(a,b,c){if(b&&"?"==b[1])a.ca("\nregister commands:"),a.ca("\tr\t\tdisplay all registers"),a.ca("\tr [target=#]\tmodify target register"),a.ca("supported targets:"),a.ca("\tall registers and flags V,D,I,S,Z,A,P,C");else{var d=!0,e;if(null!=b&&1c||"z"c||"z">>4),(d=h[f].l)&&(f=d),a.ca(ca(n,m)+" "+f)));else{for(n in a.gb)if(h==a.gb[n].Xa){a.gb[n].wk(m);break a}f=jl(a,h,2);if(null!=f[0])if("ds"==g)if(c=Yk(a,f[0]),null!=c.oa){f="selector="+r(f[0])+" limit="+r(c.Nc)+" base="+l(c.La);if(c.ab){f+=" access="+r(c.ab);if(c.ab& +a.ca("\tbr [a]\tset read breakpoint at addr [a]"),a.ca("\tbw [a]\tset write breakpoint at addr [a]"),a.ca("\tbc [a]\tclear breakpoint at addr [a]"),a.ca("\tbl\tlist all breakpoints");break;case "c":a.Qf&&(a.Qf.value="");break;case "d":a:{var g=c[0],h=c[1],m=c[2],n;if("?"==h){f="symbols";for(n in a.fb)void 0!==a.fb[n].tk&&(f.length&&(f+=","),f+=a.fb[n].Xa);f+=",state";a.ca("\ndump commands:");a.ca("\tdb [a] [#] dump bytes at address a");a.ca("\tdw [a] [#] dump words at address a");a.ca("\tds [s] dump descriptor for selector s"); +f.length&&a.ca("dumps are also available for: "+f)}else if("state"==h)a.ca(nl(a.Da,!0));else if("symbols"==h)for(c=0;c>>4),(d=h[f].l)&&(f=d),a.ca(ca(n,m)+" "+f)));else{for(n in a.fb)if(h==a.fb[n].Xa){a.fb[n].tk(m);break a}f=hl(a,h,2);if(null!=f[0])if("ds"==g)if(c=Xk(a,f[0]),null!=c.oa){f="selector="+r(f[0])+" limit="+r(c.Nc)+" base="+l(c.La);if(c.ab){f+=" access="+r(c.ab);if(c.ab& 4096)c.ab&2048?(f=f+"code:"+(c.ab&512?"readable,":"execonly,"),f+=c.ab&1024?"conforming,":"nonconforming,"):(f+="data:",f+=c.ab&512?"writeable,":"readonly,",f+=c.ab&1024?"expand down,":"expand up,"),f+=c.ab&256?"accessed":"not accessed";else switch(f+="type:",c.ab&7936){case 256:f+="tss";break;case 512:f+="ldt";break;case 768:f+="tss(busy)";break;case 1024:f+="call";break;case 1280:f+="task";break;case 1536:f+="int";break;case 1792:f+="trap";break;default:f+="unknown"}f+=",dpl"+(c.ab>>13&24576);f+= -c.ab&32768?",present":",not present"}a.ca(f)}else a.ca("invalid selector: "+r(f[0]));else{c=0;void 0!==m&&("l"==m.charAt(0)&&(m=m.substr(1)),c=parseInt(m,10));n="";c||(c=8);for(m=0;mt;t++){var s=a.ub(f,1);"dw"==g?t&1&&(d+=r(q|s<<8)+(7==t?" - ":" ")):d+=p(s)+(7==t?"-":" ");e+=32<=s&&128>s?String.fromCharCode(s):".";q=s}n&&(n+="\n");n+=h+" "+d+" "+e}n&&a.ca(n);a.Vj=f}}}break;case "e":f=c[1];if(void 0===f)a.ca("missing address");else if(f=jl(a,f,2),null!=f[0])for(g= -2;gh.length&&(a.ca("note: only "+h.length+" available"),n=h.length),g-=n,0>g&&(null!=h[h.length- -1][1]?g+=h.length:(n=g+n,g=0)),void 0!==m&&a.ca(n+" instructions earlier:");c&&g!=a.gf;){m=h[g];if(null==m[1])break;m=[m[0],m[1],m[2]];a.ca(cl(a,m,"history",-n));++g==h.length&&(g=0);a.Ml=--n;c--}10==c&&(a.ca("no "+f+"history available"),a.Ml=void 0)}break;case "i":(f=c[1])&&"?"!=f?(f=kl(a,f),void 0!==f&&(c=hb(a.na,f),a.ca(r(f)+": "+p(c)))):(a.ca("\ninput commands:"),a.ca("\ti [p]\tread port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "l":nl(a,c);break;case "m":a:{f= -null;h=c[1];"?"==h&&(h=void 0);if(void 0!==h){n=0;if("all"==h)n=4294967295,h=null;else if("on"==h)f=!0,h=null;else if("off"==h)f=!1,h=null;else{for(g in a.gb)if(h==a.gb[g].Xa){n=a.gb[g].Ua;f=!!(a.gc&n);break}if(!n){a.ca("unknown message category: "+h);break a}}n&&("on"==c[2]?(a.gc|=n,f=!0):"off"==c[2]&&(a.gc&=~n,f=!1))}c=0;n="";for(g in a.gb)if(!h||h==a.gb[g].Xa)if(m=!!(a.gc&a.gb[g].Ua),null===f||f==m)n&&(n+=","),++c%10||(n+="\n\t"),n+=a.gb[g].Xa;void 0===h&&a.ca("\nmessage commands:\n\tm [category] [on|off]\tturn categories on/off"); -a.ca((null!==f?f?"messages on: ":"messages off: ":"message categories:\n\t")+(n||"none"))}break;case "o":f=c[1];c=c[2];f&&"?"!=f?(f=kl(a,f,"port #"),c=kl(a,c),void 0!==f&&void 0!==c&&lb(a.na,f,c)):(a.ca("\noutput commands:"),a.ca("\to [p] [d]\twrite data [d] to port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "p":case "pr":f="pr"==c[0]?1:0;c=1+f;if(a.nc)a.ca("step in progress");else{h=!1;n=[a.S.sa,a.S.ra.oa,void 0];do switch(g=!1,a.ub(n)){case 38:case 46:case 54:case 62:case 240:$k(n, -1);g=!0;break;case 204:case 206:a.nc=c;$k(n,1);break;case 205:case 224:case 225:case 226:a.nc=c;$k(n,2);break;case 232:a.nc=c;$k(n,3);break;case 154:a.nc=c;$k(n,5);break;case 255:a.nc=0<=cl(a,n).indexOf("CALL")?c:0;break;case 243:case 242:$k(n,1);h=g=!0;break;case 164:case 165:case 166:case 167:case 170:case 171:case 172:case 173:case 174:case 175:h&&(a.nc=c,$k(n,1))}while(g);a.nc?(a.Vd(a.Gb,n,!0),a.Me()||(a.S.Md(),a.nc=0)):ol(a,f?"tr":"t")}break;case "r":Uk(a,c);break;case "t":case "tr":ol(a,c[0], -c[1]);break;case "u":Vk(a,c[1],c[2],8);break;case "x":a:if(void 0===c[1]||"?"==c[1])a.ca("\nexecution options:"),a.ca("\tcs int #\tset checksum cycle interval to #"),a.ca("\tcs start #\tset checksum cycle start count to #"),a.ca("\tcs stop #\tset checksum cycle stop count to #"),a.ca("\tsp #\t\tset speed multiplier to #");else switch(c[1]){case "cs":void 0!==c[3]&&(m=parseInt(c[3],10));switch(c[2]){case "int":a.S.kf=m;break;case "start":a.S.bg=m;break;case "stop":a.S.mf=m;break;default:a.ca("unknown cs option"); -break a}void 0!==m&&Ab(a.S);a.ca("checksums "+(a.S.af?"enabled":"disabled"));break;case "sp":void 0!==c[2]&&Gb(a.S,parseInt(c[2],10));a.ca("target speed: "+(a.S.hf.toFixed(2)+"Mhz")+" ("+a.S.Gd+"x)");break;default:a.ca("unknown option: "+c[1])}break;case "?":f="commands:";for(h in Ik)f+="\n"+h+" ".substr(0,7-h.length)+Ik[h];1ul){if(d.load(this.vg)){this.sf=new H(this,"1.15.4","failsafe");this.sf.load()&&(yl(this,d),a=2);this.sf.set("timestamp",na());sl(this.sf);var e=this.Bc&&!this.jh;if(1==a||ra("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.Ha("Error: "+g),"unable to verify user"== -g&&(sa(""),this.Oc=null)):this.ca(f+": "+g),rl(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&xl(this,c?d:null)}else 2==a&&d.clear()}else xl(this);delete this.vg;delete this.Lh}e=Ja(this.id);for(f=0;fa[1];a=a[2];this.Nb=!0;this.qk||(this.ca("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.qk=!0);this.S&&zl(this,this.S,b,c,a);this.tk&&(yl(this,b),b.clear());!c&&this.sf&&(this.sf.clear(),delete this.sf)}; -function yl(a,b){if(ra("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.ee(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;pa("http://www.pcjs.org/api/v1/report",!0,e)}} -function pl(a,b,c){var d,e="none",f=new H(a,"1.15.4"),g=new H(a,"1.15.4","validate"),h=na();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.S&&a.S.Yb&&(c&&a.S.zb(),d=a.S.Yb(b,c),"object"===typeof d&&f.set(a.S.id,d),c&&(a.S.Nb=!1,!1===d&&(e=null)));for(var h=Ja(a.id),m=0;mt;t++){var s=a.ub(f,1);"dw"==g?t&1&&(d+=r(q|s<<8)+(7==t?" - ":" ")):d+=p(s)+(7==t?"-":" ");e+=32<=s&&128>s?String.fromCharCode(s):".";q=s}n&&(n+="\n");n+=h+" "+d+" "+e}n&&a.ca(n);a.Uj=f}}}break;case "e":f=c[1];if(void 0===f)a.ca("missing address");else if(f=hl(a,f,2),null!=f[0])for(g= +2;gh.length&&(a.ca("note: only "+h.length+" available"),n=h.length),g-=n,0>g&&(null!=h[h.length- +1][1]?g+=h.length:(n=g+n,g=0)),void 0!==m&&a.ca(n+" instructions earlier:");c&&g!=a.hf;){m=h[g];if(null==m[1])break;m=[m[0],m[1],m[2]];a.ca(al(a,m,"history",-n));++g==h.length&&(g=0);a.Jl=--n;c--}10==c&&(a.ca("no "+f+"history available"),a.Jl=void 0)}break;case "i":(f=c[1])&&"?"!=f?(f=il(a,f),void 0!==f&&(c=hb(a.na,f),a.ca(r(f)+": "+p(c)))):(a.ca("\ninput commands:"),a.ca("\ti [p]\tread port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "l":ll(a,c);break;case "m":a:{f= +null;h=c[1];"?"==h&&(h=void 0);if(void 0!==h){n=0;if("all"==h)n=4294967295,h=null;else if("on"==h)f=!0,h=null;else if("off"==h)f=!1,h=null;else{for(g in a.fb)if(h==a.fb[g].Xa){n=a.fb[g].Ua;f=!!(a.gc&n);break}if(!n){a.ca("unknown message category: "+h);break a}}n&&("on"==c[2]?(a.gc|=n,f=!0):"off"==c[2]&&(a.gc&=~n,f=!1))}c=0;n="";for(g in a.fb)if(!h||h==a.fb[g].Xa)if(m=!!(a.gc&a.fb[g].Ua),null===f||f==m)n&&(n+=","),++c%10||(n+="\n\t"),n+=a.fb[g].Xa;void 0===h&&a.ca("\nmessage commands:\n\tm [category] [on|off]\tturn categories on/off"); +a.ca((null!==f?f?"messages on: ":"messages off: ":"message categories:\n\t")+(n||"none"))}break;case "o":f=c[1];c=c[2];f&&"?"!=f?(f=il(a,f,"port #"),c=il(a,c),void 0!==f&&void 0!==c&&lb(a.na,f,c)):(a.ca("\noutput commands:"),a.ca("\to [p] [d]\twrite data [d] to port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "p":case "pr":f="pr"==c[0]?1:0;c=1+f;if(a.nc)a.ca("step in progress");else{h=!1;n=[a.S.sa,a.S.ra.oa,void 0];do switch(g=!1,a.ub(n)){case 38:case 46:case 54:case 62:case 240:Yk(n, +1);g=!0;break;case 204:case 206:a.nc=c;Yk(n,1);break;case 205:case 224:case 225:case 226:a.nc=c;Yk(n,2);break;case 232:a.nc=c;Yk(n,3);break;case 154:a.nc=c;Yk(n,5);break;case 255:a.nc=0<=al(a,n).indexOf("CALL")?c:0;break;case 243:case 242:Yk(n,1);h=g=!0;break;case 164:case 165:case 166:case 167:case 170:case 171:case 172:case 173:case 174:case 175:h&&(a.nc=c,Yk(n,1))}while(g);a.nc?(a.Vd(a.Gb,n,!0),a.Me()||(a.S.Md(),a.nc=0)):ml(a,f?"tr":"t")}break;case "r":Tk(a,c);break;case "t":case "tr":ml(a,c[0], +c[1]);break;case "u":Uk(a,c[1],c[2],8);break;case "x":a:if(void 0===c[1]||"?"==c[1])a.ca("\nexecution options:"),a.ca("\tcs int #\tset checksum cycle interval to #"),a.ca("\tcs start #\tset checksum cycle start count to #"),a.ca("\tcs stop #\tset checksum cycle stop count to #"),a.ca("\tsp #\t\tset speed multiplier to #");else switch(c[1]){case "cs":void 0!==c[3]&&(m=parseInt(c[3],10));switch(c[2]){case "int":a.S.kf=m;break;case "start":a.S.bg=m;break;case "stop":a.S.mf=m;break;default:a.ca("unknown cs option"); +break a}void 0!==m&&zb(a.S);a.ca("checksums "+(a.S.bf?"enabled":"disabled"));break;case "sp":void 0!==c[2]&&Fb(a.S,parseInt(c[2],10));a.ca("target speed: "+(a.S.Fe.toFixed(2)+"Mhz")+" ("+a.S.Gd+"x)");break;default:a.ca("unknown option: "+c[1])}break;case "?":f="commands:";for(h in Hk)f+="\n"+h+" ".substr(0,7-h.length)+Hk[h];1sl){if(d.load(this.vg)){this.sf=new G(this,"1.15.4","failsafe");this.sf.load()&&(wl(this,d),a=2);this.sf.set("timestamp",na());ql(this.sf);var e=this.Bc&&!this.ih;if(1==a||ra("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.Ha("Error: "+g),"unable to verify user"== +g&&(sa(""),this.Oc=null)):this.ca(f+": "+g),pl(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&vl(this,c?d:null)}else 2==a&&d.clear()}else vl(this);delete this.vg;delete this.Kh}e=Ja(this.id);for(f=0;fa[1];a=a[2];this.Nb=!0;this.nk||(this.ca("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.nk=!0);this.S&&xl(this,this.S,b,c,a);this.qk&&(wl(this,b),b.clear());!c&&this.sf&&(this.sf.clear(),delete this.sf)}; +function wl(a,b){if(ra("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.ee(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;pa("http://www.pcjs.org/api/v1/report",!0,e)}} +function nl(a,b,c){var d,e="none",f=new G(a,"1.15.4"),g=new G(a,"1.15.4","validate"),h=na();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.S&&a.S.Yb&&(c&&a.S.zb(),d=a.S.Yb(b,c),"object"===typeof d&&f.set(a.S.id,d),c&&(a.S.Nb=!1,!1===d&&(e=null)));for(var h=Ja(a.id),m=0;m/g;f=g.exec(a);){var h=f[2],m=pa(h),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var h=q[0],t,s=/( [a-z]+=)(['"])(.*?)\2/g;t=s.exec(m);)h=0>h.indexOf(t[1])?h.replace(">",t[0]+">"):h.replace(new RegExp(t[1]+"(['\"])(.*?)\\1"),t[0]);q[0]!=h&&(n=n.replace(q[0],h))}else throw c="missing <"+f[1]+"> in "+h, +k.wb=function(a,b,c,d){var e=this;switch(c){case "save":return this.ta[c]=d,d.onclick=function(){var a=tl(e,!0);if(a){var b=!(!e.Bc||e.Hh),c=nl(e,b);b?yl(e,a,c):e.Ha("Resume disabled, machine state not saved")}},!0;case "reset":return this.ta[c]=d,d.onclick=function(){Eb(e)},!0}return!1}; +function tl(a,b){var c=a.Oc;if(!c){var d;window&&(d=window.localStorage.getItem("user"));c=d;void 0!==c?!c&&b&&(c=null,window&&(c=window.prompt("To save machine states on the pcjs.org server, you need a user ID (email Jeff@pcjs.org).\n\nOnce you have an ID, enter it below.","")),c&&((c=zl(a,c))||a.Ha("Your user ID has not been approved."))):b&&a.Ha("Browser local storage is not available")}return c} +function zl(a,b){a.Oc=null;var c=pa(qa()+"/api/v1/user?req=verify&user="+b),d=c[1];if(!c[0]&&d)try{c=eval("("+d+")"),c.code&&"ok"==c.code&&(sa(c.data),a.Oc=c.data)}catch(e){v(e.message+" ("+d+")")}return a.Oc} +function yl(a,b,c){if(c){var d={req:"store"};d.user=b;d.state=ol(a,"1.15.4");d.data=c;b=pa(qa()+"/api/v1/user",!1,d);d=b[1];if(b[0]){if(d){var e=d.indexOf("\n");0/g;f=g.exec(a);){var h=f[2],m=pa(h),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var h=q[0],t,s=/( [a-z]+=)(['"])(.*?)\2/g;t=s.exec(m);)h=0>h.indexOf(t[1])?h.replace(">",t[0]+">"):h.replace(new RegExp(t[1]+"(['\"])(.*?)\\1"),t[0]);q[0]!=h&&(n=n.replace(q[0],h))}else throw c="missing <"+f[1]+"> in "+h, Error(c);}n=n.replace(/<\?xml[^>]*>[\r\n]*/,"");a=a.replace(f[0],n);g.lastIndex=0}c&&(b&&0>b.indexOf("/")&&(b=window.location.pathname+b),a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(b?" url=$2"+b+"$2":"")));if(0===a.indexOf("<"))window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),f=new window.ActiveXObject("Microsoft.XMLDOM"),f.async=!1,f.loadXML(a)):f=(new window.DOMParser).parseFromString(a,"text/xml");else throw Error("unrecognized XML: "+ (255=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function aa(a){return h(a,2)}function da(a,b){return void 0!==b?h(b,4)+":"+h(a,4):h(a)}function ea(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));b&&(d=c.lastIndexOf("."),0=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function ca(a){return h(a,2)}function da(a,b){return void 0!==b?h(b,4)+":"+h(a,4):h(a)}function ea(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));b&&(d=c.lastIndexOf("."),0":">",'"':""","'":"'"};function ha(a){return a.replace(/[&<>"']/g,function(a){return ga[a]})}function ia(){return Date.now()||+new Date}function ja(){function a(a){return(10>a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())}var ka=[31,28,31,30,31,30,31,31,30,31,30,31]; function p(a,b,c,d,e,f){b=!!b;var l=0,k=null,m=ea(a),n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b&&(n.onreadystatechange=function(){4===n.readyState&&(n.onreadystatechange=void 0,k=n.responseText,200!=n.status&&(l=n.status||-1),d&&e&&e.call(d,m,k,l,f))});if(c){var q="",s;for(s in c)c.hasOwnProperty(s)&&(q&&(q+="&"),q+=s+"="+encodeURIComponent(c[s]));q=q.replace(/%20/g,"+");n.open("POST",a,b);n.setRequestHeader("Content-type","application/x-www-form-urlencoded"); n.send(q)}else n.open("GET",a,b),n.send();a=[];b||(k=n.responseText,200!=n.status&&(l=n.status||-1),d&&e&&e.call(d,m,k,l,f),a=[l,k]);return a}function la(){return"http://"+(window?window.location.host:"www.pcjs.org")}function t(a){window?window.alert(a):console.log(a)}function ma(a){var b=!1;window&&(b=window.confirm(a));return b}function na(a){window&&window.localStorage.setItem("user",a)} -function oa(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var pa={init:[],show:[],exit:[]},qa=!0;function ra(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function u(a){pa.init.push(a)}function ta(a){if(qa)for(var b=0;b=this.ff?12:14;this.nc=1<>2;this.$a=this.nc-1;this.Xf=(this.Le+this.nc)/this.nc|0;this.Pd=this.Xf-1;this.Kf=[];this.Lf=[];this.Dh();this.Oa()}y(v,Ja);Ja.prototype.Dh=function(){this.ya=Array(this.Xf);for(var a=0;a>a.Ib;0>this.Ib;0>a.Ib;0>a.Ib].Fi(b&a.$a)}function Pa(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;return c!=a.$a?a.ya[d].yn(c):a.ya[d++].Fi(c)|a.ya[d&a.Pd].Fi(0)<<8} -function Ra(a,b,c){a.ya[(b&a.vb)>>a.Ib].Ni(b&a.$a,c&255)}function Sa(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;d!=a.$a?a.ya[b].Kn(d,c&65535):(a.ya[b++].Ni(d,c&255),a.ya[b&a.Pd].Ni(0,c>>8&255))}function Ta(a){for(var b=0,c=[],d=0;d=this.ff?12:14;this.nc=1<>2;this.$a=this.nc-1;this.Xf=(this.Me+this.nc)/this.nc|0;this.Od=this.Xf-1;this.Kf=[];this.Lf=[];this.Ch();this.Oa()}y(v,Ia);Ia.prototype.Ch=function(){this.ya=Array(this.Xf);for(var a=0;a>a.Ib;0>this.Ib;0>a.Ib;0>a.Ib].Ei(b&a.$a)}function Pa(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;return c!=a.$a?a.ya[d].vn(c):a.ya[d++].Ei(c)|a.ya[d&a.Od].Ei(0)<<8} +function Ra(a,b,c){a.ya[(b&a.vb)>>a.Ib].Mi(b&a.$a,c&255)}function Sa(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;d!=a.$a?a.ya[b].Fn(d,c&65535):(a.ya[b++].Mi(d,c&255),a.ya[b&a.Od].Mi(0,c>>8&255))}function Ta(a){for(var b=0,c=[],d=0;d>2);for(d=0;d>2]>>>((a&3)<<3)&255},zn:function(a){var b=a>>2;a=(a&3)<<3;var c=this.la[b]>>>a;return 24>a?c&65535:c&255|(this.la[b+1]&255)<<8},Hn:function(a,b){var c=a>>2,d=(a&3)<<3;this.la[c]=this.la[c]&~(255<>2,d=(a&3)<<3;24>d?this.la[c]=this.la[c]&~(65535<>8);this.Qa=!0},save:function(){var a,b;if(this.ea)a=null;else if(Ga)for(a=Array(this.ej>>2),b=0;bc&&(c=60);2>c&&(c=2);var d=1;b&&1a.og&&(c=Math.round(c/a.xd));return c}function cb(a){a.Lc=0;a.rg=1;a.ce=a.Ad=a.bd=a.A=0;db(a);ib(a,1)} -function ib(a,b,c){void 0!==b&&(0.8>a.Lc/a.ef&&(b=1),a.xd=b,a.ef=a.og*a.xd,b=a.ef.toFixed(2)+"Mhz",a.oa.setSpeed&&(a.oa.setSpeed.innerHTML=b),a.Tb("target speed: "+b),c&&a.Ce());jb(a,a.Ad);a.Ad=0;a.we=ia();a.$d=0;kb(a)} -function ab(a,b){if(Da(a,!0)){a.rc||(ib(a),a.Fa&&a.Fa.start(a.we,lb(a)),a.rc=!0,a.ga&&mb(a.ga),a.oa.run&&(a.oa.run.innerHTML="Halt"),b&&a.Ce());a.yi>=a.cd&&kb(a,!0);a.nf=0;a.qg=ia();if(a.$d){var c=a.qg-a.$d;c>a.xj&&(a.we+=c,a.we>a.qg&&(a.we=a.qg))}try{do{a.Sk(a.fg?1:Math.round(a.sm/a.rg));var d=a.bd-a.A;a.Ad+=d;a.nf+=d;jb(a,0,!0);var c=a,e=d;if(c.fg){var f=!1;c.tg=c.tg+c.rj()|0;c.xe-=e;0>=c.xe&&(c.xe+=c.hf,f=!0);0<=c.jf&&c.jf<=lb(c)&&(c.hf=c.jf=-1,db(c),gb(c),f=!0);f&&c.Tb(lb(c)+" cycles: checksum="+ -h(c.tg))}a.lf-=d;0>=a.lf&&(a.lf+=a.Bj,a.af());a.kf-=d;0>=a.kf&&(a.kf+=a.Aj,a.$e());a.mf-=d;if(0>=a.mf){a.mf+=a.Kh;break}}while(a.rc)}catch(l){gb(a);a.af();a.$e();a.Fa&&a.Fa.stop(ia(),lb(a));Da(a,!1);Fa(a,l.message);return}d=setTimeout;c=a.zm;a.$d=ia();e=a.xj;a.nf&&(e=Math.round(e*a.nf/a.Kh));e-=a.$d-a.qg;if(f=a.$d-a.we)a.Lc=Math.round(a.Ad/(10*f))/100,864E5<=f&&(a.ce=0,a.ga&&nb(a.ga,!0),ib(a));if(0>e||a.Lc>13;return this.eb=e}if(b&&768>=b)return this.ua=a,this.$c=c,this.kc=d,this.uc=(d&24576)>>13,this.eb=e}return-1} -function yb(a){return this.eb+a}function zb(a){return this.eb+a}function ub(a,b,c){return a+b<=this.$c?this.eb+a:wb.call(this,0,0,c)}function wb(a,b,c){c||Ab.call(this.ja,13,0);return-1}function vb(a,b,c){return a+b<=this.$c?this.eb+a:xb.call(this,0,0,c)}function xb(a,b,c){c||Ab.call(this.ja,13,0);return-1}pb.prototype.save=function(){return[this.ua,this.eb,this.$c,this.kc,this.uc,this.Hg]}; -pb.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.ua=a[0],this.eb=a[1],this.$c=a[2],this.kc=a[3],this.uc=a[4],this.Hg=a[5])};function rb(a,b){void 0===b&&(b=!!(a.ja.ed&1));b?(a.load=tb,a.Jc=ub,a.Ob=vb):(a.load=sb,a.Jc=yb,a.Ob=zb)} -function Bb(a){this.Da=a.model||8088;var b=0;switch(this.Da){default:case 8088:b=4772727;break;case 80286:b=6E6}$a.call(this,a,b);this.Ri=61442;this.If=4;this.ye=255;this.zi=4;this.Z=5;this.na=6;this.ba=7;this.ca=8;this.P=9;this.U=11;this.V=12;this.ae=4;this.Dj=60;this.Ej=83;this.Bb=3;this.bb=9;this.Qb=16;this.xg=1;this.Ij=19;this.Kj=28;this.Mj=16;this.Lj=21;this.Jj=37;this.Gj=2;this.Sh=9;this.Hj=5;this.Fj=33;this.Uh=10;this.Th=8;this.rf=3;this.qf=15;this.$j=51;this.ak=1;this.bk=2;this.ck=4;this.Zj= -32;this.ek=this.Vh=15;this.Cb=16;this.Db=4;this.gk=11;this.fk=18;this.dk=24;this.mb=4;this.hk=2;this.Wh=16;this.ik=17;this.ai=18;this.jk=19;this.$h=5;this.bi=6;this.ok=2;this.nk=8;this.lk=9;this.di=this.ci=this.kk=this.mk=10;this.Oj=80;this.Qj=144;this.Nj=86;this.Pj=154;this.Sj=101;this.Uj=165;this.Rj=107;this.Tj=171;this.qk=70;this.sk=113;this.pk=76;this.rk=124;this.Wj=80;this.Yj=128;this.Vj=86;this.Xj=134;this.tf=3;this.sf=16;this.ii=10;this.hi=8;this.tk=51;this.Rb=8;this.uk=17;this.vk=36;this.$b= -11;this.wk=16;this.uf=10;this.rb=2;this.Ph=18;this.Qh=9-this.rb;this.Rh=17-this.rb;this.Xh=12;this.Yh=9-this.rb;this.Zh=13-this.rb;this.ei=18;this.fi=9-this.rb;this.gi=17-this.rb;this.ji=15;this.ki=9-this.rb;this.li=15-this.rb;this.pi=11;this.qi=9-this.rb;this.ri=10-this.rb;this.xk=8;this.Ak=12;this.yk=18;this.zk=17;this.Bk=15;this.ni=8;this.mi=20;this.oi=2;this.ui=3;this.vf=9;this.ti=5;this.si=11;this.wi=4;this.vi=17;this.Ck=11;this.Ka=Cb.slice();80186<=this.Da&&(this.ye=31,this.Ka[15]=G,this.Ka[96]= -Db,this.Ka[97]=Eb,this.Ka[98]=Fb,this.Ka[99]=G,this.Ka[100]=G,this.Ka[101]=G,this.Ka[102]=G,this.Ka[103]=G,this.Ka[104]=Gb,this.Ka[105]=Hb,this.Ka[106]=Ib,this.Ka[107]=Jb,this.Ka[108]=Kb,this.Ka[109]=Lb,this.Ka[110]=Mb,this.Ka[111]=Nb,this.Ka[192]=Ob,this.Ka[193]=Pb,this.Ka[200]=Qb,this.Ka[200]=Rb,this.Ka[241]=Sb,Tb[7]=Ub,Vb[7]=Ub,80286<=this.Da&&(this.Ri=2,this.If=0,this.Ka[15]=Wb,this.Ka[99]=Xb,this.Ka[84]=Yb,this.P=this.ca=this.ba=this.na=this.Z=this.zi=0,this.V=this.U=1,this.ae=3,this.Dj=14,this.Ej= -16,this.Bb=2,this.Qb=this.bb=7,this.xg=0,this.Ij=7,this.Kj=13,this.Mj=7,this.Lj=11,this.Jj=16,this.Gj=3,this.Sh=6,this.Hj=2,this.Fj=13,this.Th=this.Uh=5,this.rf=2,this.qf=7,this.$j=23,this.ak=0,this.bk=1,this.ck=3,this.Zj=17,this.Vh=7,this.ek=11,this.Cb=7,this.Db=3,this.gk=7,this.fk=11,this.dk=15,this.mb=2,this.hk=3,this.Wh=7,this.jk=this.ai=this.ik=8,this.bi=this.$h=4,this.ok=2,this.nk=3,this.lk=5,this.mk=2,this.kk=3,this.ci=5,this.di=3,this.Oj=14,this.Qj=22,this.Nj=17,this.Pj=25,this.Sj=17,this.Uj= -25,this.Rj=20,this.Tj=28,this.qk=13,this.sk=21,this.pk=16,this.rk=24,this.Wj=13,this.Yj=21,this.Vj=16,this.Xj=24,this.tf=2,this.sf=7,this.hi=this.ii=5,this.tk=19,this.uk=this.Rb=5,this.vk=17,this.$b=3,this.wk=5,this.uf=3,this.rb=0,this.Ph=8,this.Qh=5,this.Rh=9,this.Yh=this.Xh=5,this.Zh=4,this.fi=this.ei=5,this.gi=4,this.ji=7,this.ki=5,this.li=8,this.pi=3,this.qi=4,this.ri=3,this.Ak=this.xk=11,this.zk=this.yk=15,this.Bk=7,this.ni=5,this.mi=8,this.oi=0,this.ui=2,this.vf=6,this.ti=3,this.si=6,this.wi= -3,this.Ck=this.vi=5));this.Xk=[];this.Si=[];this.Zg=0;this.ya=[];this.Le=this.vb=this.Ib=this.$a=this.Pd=0;this.S=this.il;this.T=this.jl;this.N=this.km;this.O=this.lm;this.Q=this.Fn;this.R=this.Gn;Zb(this)}y($a,Bb);g=Bb.prototype;g.Dh=function(a,b,c,d,e){this.ya=a;this.Le=this.vb=b;this.Ib=c;this.$a=d;this.Pd=e};g.reset=function(){this.rc&&gb(this);Zb(this);cb(this);this.Xc=!1}; -function Zb(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ed=65520;a.Sc=0;a.me=1023;a.qc={Ai:0,ua:0,kc:0,ng:-1};a.Ea=new pb(a,"CS");a.bc=new pb(a,"DS");a.Ub=new pb(a,"SS");a.gb=new pb(a,"ES");a.Qk=new pb(a,"ZERO");$b(a,0,65535);80286<=a.Da&&(a.Rc=a.Ke=0,a.Be=new pb(a,"LDT",!0),a.Jg=new pb(a,"TSS",!0),a.sb=new pb(a,"VER",!0),$b(a,65520,61440),a.Ea.eb=16711680);ac(a,0);bc(a);a.Va=0;a.nb=a.Af=-1;a.Tf=0;a.da=a.Ba=-1;a.C=a.bc;a.M=a.Ub;a.Y=a.pa=0} -g.rj=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.qa+this.Ea.ua+this.bc.ua+this.Ub.ua+this.gb.ua+cc(this)|0};function dc(a,b){var c=a.Si[b];null!=c&&(c(--a.Zg),delete a.Si[b])}function bc(a,b){void 0===b&&(b=!!(a.ed&1));ec=b?fc:gc;rb(a.Ea,b);rb(a.bc,b);rb(a.Ub,b);rb(a.gb,b)} -g.save=function(){var a=new H(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.qa,this.Ea.save(),this.bc.save(),this.Ub.save(),this.gb.save(),cc(this),null!=this.Rc?[this.ed,this.Rc,this.Ke,this.Sc,this.me,this.Be.save(),this.Jg.save()]:null]);a.set(2,[this.C.Hg,this.M.Hg,this.Y,this.pa,this.Va,this.da,this.Ba]);a.set(3,[this.rg,this.ce,this.xd]);a.set(4,Ta(this.ma));return a.data()}; -g.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.Ea.restore(b[1]);this.bc.restore(b[2]);this.Ub.restore(b[3]);this.gb.restore(b[4]);ac(this,b[5]);var c=b[6];c&&c.length&&(this.ed=c[0],this.Rc=c[1],this.Ke=c[2],this.Sc=c[3],this.me=c[4],this.Be.restore(c[5]),this.Jg.restore(c[6]),bc(this));I(this,b[0]);b=a[2];this.C=hc(this,b[0]);this.M=hc(this,b[1]);this.Y=b[2];this.pa=b[3];this.Va=b[4];this.da=b[5];this.Ba= -b[6];b=a[3];this.rg=b[0];this.ce=b[1];ib(this,b[2]);a:{b=this.ma;a=a[4];for(c=0;c>1?128:0} -function vc(a){return(a.fa^a.ha^a.fa>>1)&a.$>>1?2048:0}function wc(a){a.W&=~a.$}function xc(a){a.ha=a.fa&16|a.ha&-17}function yc(a){a.W|=a.$-1}function zc(a){a.fa&=~a.$;a.ha=a.fa&32896|a.ha&-32897}function Ac(a){a.W|=a.$}function Bc(a){a.ha=~(a.fa&16)&16|a.ha&-17}function Cc(a){a.W&=~(a.$-1)}function Dc(a){uc(a)||(a.fa^=a.$>>1|a.$>>2,a.ha^=32896)}function Ec(a){a.fa|=a.$;a.ha=a.fa&32896|a.ha&-32897}function cc(a){return a.Ga&-2262|qc(a)|rc(a)|sc(a)|tc(a)|uc(a)|vc(a)} -function ac(a,b){a.$=256;a.W=a.fa=a.ha=0;b&1&&Ac(a);b&4||(a.fa|=1);b&16&&(a.ha|=16);b&64||yc(a);b&128&&Dc(a);b&2048&&Ec(a);a.Ga=a.Ga&-1793|b&1792|a.Ri;a.Ga&256&&(a.Va|=2,a.Y|=4)} -g.tb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.oa[c]=d;e=!0;break;default:e=$a.prototype.tb.call(this,a,b,c,d)}return e};function Fc(a,b){return a.ya[(b&a.vb)>>a.Ib].vc(b&a.$a)} -function F(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;a.A-=a.zi;return c!=a.$a?a.ya[d].xn(c):a.ya[d++].vc(c)|a.ya[d&a.Pd].vc(0)<<8}function Gc(a,b,c){a.ya[(b&a.vb)>>a.Ib].xc(b&a.$a,c&255)}function Hc(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;a.A-=a.zi;d!=a.$a?a.ya[b].Jn(d,c&65535):(a.ya[b++].xc(d,c&255),a.ya[b&a.Pd].xc(0,c>>8&255))}g.il=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Fc(this,this.da)};g.jl=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,1);return this.Y&1?0:F(this,this.da)}; -g.km=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Fc(this,this.da)};g.lm=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,1);return this.Y&1?0:F(this,this.da)};g.Fn=function(a){this.Y&2||Gc(this,this.Ef.Ob(this.wf,1),a)};g.Gn=function(a){this.Y&2||Hc(this,this.Ef.Ob(this.wf,2),a)};g.aa=function(){var a=Fc(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a}; -g.L=function(){var a=Fc(this,this.Ca)<<24>>24;this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a&65535};g.K=function(){var a=F(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+2&65535);return a};g.Aa=function(){var a=this.X;this.X=this.X+2&65535;return F(this,this.Ub.Jc(a,1))};function K(a,b){var c=a.X=a.X-2&65535;Hc(a,a.Ub.Ob(c,1),b)} -g.$e=function(){E(this,"AX",this.G);E(this,"BX",this.B);E(this,"CX",this.I);E(this,"DX",this.J);E(this,"SP",this.X);E(this,"BP",this.H);E(this,"SI",this.F);E(this,"DI",this.D);E(this,"CS",this.Ea.ua);E(this,"DS",this.bc.ua);E(this,"SS",this.Ub.ua);E(this,"ES",this.gb.ua);E(this,"IP",this.qa);var a=cc(this);E(this,"PS",a);E(this,"C",a&1?1:0,1);E(this,"P",a&4?1:0,1);E(this,"A",a&16?1:0,1);E(this,"Z",a&64?1:0,1);E(this,"S",a&128?1:0,1);E(this,"T",a&256?1:0,1);E(this,"I",a&512?1:0,1);E(this,"D",a&1024? -1:0,1);E(this,"O",a&2048?1:0,1);this.oa.speed&&(this.oa.speed.innerHTML=this.rc&&this.Lc?this.Lc.toFixed(2)+"Mhz":"Stopped")}; -g.Sk=function(a){this.oh=!0;this.bd=this.A=a;this.ga&&nb(this.ga);a||!this.Ha||this.Ha.Vn(this.Ha.Pn)||(this.Y|=4);do{if(a=this.Y&240)this.pa|=a;else if(this.Ag=this.Ca,this.da=this.Ba=-1,this.C=this.bc,this.M=this.Ub,this.pa=this.Y&256,this.Va){a:{if(!(this.Y&4))if(this.Va&1&&this.Ga&512){if(a=Ic(this.ga),-1<=a&&(this.Va&=-2,0<=a)){this.Va&=-5;Jc.call(this,a,null,11);break a}}else if(this.Va&2){this.Va&=-3;Jc.call(this,1,null,11);break a}if(a=this.Va&8){a=this.ga;for(var b=!1,c=0;cthis.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&255} -function Mc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&255}function Nc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255}function Oc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255} -function Pc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&255}function Qc(a,b){this.ha=a^b;this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&255}function Rc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&255}function Sc(a,b){this.ha=a^b;this.$=256;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Sh:this.bb;this.Y|=2;return a} -function Tc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&65535}function Uc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&65535}function Vc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535} -function Wc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535}function Xc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&65535}function Yc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&65535} -function Zc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&65535}function $c(a,b){this.ha=a^b;this.$=65536;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Sh:this.bb;this.Y|=2;return a}function ad(a,b){this.W=this.W&this.$-1|(a&b?this.$:0);(a^a>>1)&b>>1?Ec(this):zc(this)}function bd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;ad.call(this,d,256)}return c} -function cd(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;ad.call(this,d,65536)}return c}function dd(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);ad.call(this,d,256)}return c}function ed(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);ad.call(this,d,65536)}return c}function fd(a,b){var c=a;if(b){var d;(d=(b&this.ye)%9)?(d=a<>9-d,c=d&255):d=a|(this.W&this.$?1:0)<<8;ad.call(this,d,256)}return c} -function gd(a,b){var c=a;if(b){var d;(d=(b&this.ye)%17)?(d=a<>17-d,c=d&65535):d=a|(this.W&this.$?1:0)<<16;ad.call(this,d,65536)}return c}function kd(a,b){var c=a;b&&(c=(b&this.ye)%9,c=a>>c|(this.W&this.$?1:0)<<8-c|a<<9-c,ad.call(this,c,256),c&=255);return c}function ld(a,b){var c=a;b&&(c=(b&this.ye)%17,c=a>>c|(this.W&this.$?1:0)<<16-c|a<<17-c,ad.call(this,c,65536),c&=65535);return c} -function md(a,b){var c=a;b&&(c=8>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255} -function pd(a,b){if(b){var c=16>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535}function qd(a,b){if(b){8>24>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255}function rd(a,b){if(b){16>16>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535} -function sd(){this.A-=0>this.da?2:this.Bk;return 1}function td(){var a=this.I&this.ye;this.A-=(0>this.da?this.ni:this.mi)+(a<this.da?this.ni:this.mi)+(a<this.Ba?this.Rb:this.uk;return b},wd,wd,wd,wd,wd,wd,wd],Ad=[function(a,b){this.A-=0>this.Ba?this.mk:this.kk;return b},M,M,M,M,M,M,M],Bd=[bd,dd,fd,kd,md,od,M,qd],Cd=[cd,ed,gd,ld,nd,pd,M,rd],Ed=[function(a,b){b=this.aa();this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.da?this.ti:this.si;this.Y|=2;return a},M,function(a){this.A-=0>this.da?this.tf:this.sf;return a^255},function(a,b){b=0;this.ha=a^b;this.$=256; -this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&255},function(a){this.G=this.nb=(this.W=(this.G&255)*a)&65535;this.ha=this.fa=this.W;this.$=256;this.G&65280?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.qk:this.pk;this.Y|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.nb=b&65535;this.W=this.ha=this.fa=b;this.$=256;127b?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.Wj:this.Vj;this.Y|=2;return a},function(a){if(!a)return Dd.call(this), -a;var b=this.G/a;if(255this.da?this.Oj:this.Nj;this.Y|=2;return a},function(a){if(!a)return Dd.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Dd.call(this),a;this.nb=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.fa=this.ha=this.W=b|256;this.$=256;this.A-=0>this.da?this.Sj:this.Rj;this.Y|=2;return a}],Fd=[function(a,b){b=this.K();this.W=this.fa=this.ha= -a&b;this.$=65536;this.A-=0>this.da?this.ti:this.si;this.Y|=2;return a},M,function(a){this.A-=0>this.da?this.tf:this.sf;return a^65535},function(a,b){b=0;this.ha=a^b;this.$=65536;this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&65535},function(a){this.nb=this.G=(this.W=this.G*a)&65535;this.Af=this.J=this.W>>16&65535;this.ha=this.fa=this.W;this.$=65536;this.J?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.sk:this.rk;this.Y|=2;return a},function(a){var b=(this.G<<16>>16)* -(a<<16>>16);this.G=this.nb=b&65535;this.J=this.Af=b>>16&65535;this.W=this.ha=this.fa=b;this.$=65536;32767b?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.Yj:this.Xj;this.Y|=2;return a},function(a,b){if(!a)return Dd.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return Dd.call(this),a;this.nb=this.G=c&65535;this.Af=this.J=b%a&65535;this.fa=this.ha=this.W=c|65536;this.$=65536;this.A-=0>this.da?this.Qj:this.Pj;this.Y|=2;return a},function(a,b){if(!a)return Dd.call(this), -a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return Dd.call(this),a;this.nb=this.G=d&65535;this.Af=this.J=b%c&65535;this.fa=this.ha=this.W=d|65536;this.$=65536;this.A-=0>this.da?this.Uj:this.Tj;this.Y|=2;return a}],Tb=[function(a){this.ha=a;a=(this.fa=a+1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf; -return a},M,M,M,M,M,M],Vb=[function(a){this.ha=a;a=(this.fa=a+1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){K(this,this.qa);I(this,a);this.A-=0>this.da?this.Mj:this.Lj;this.Y|=2;return a},function(a){if(0>this.da)return M.call(this,a);K(this,this.Ea.ua);K(this,this.qa);$b(this,a,F(this,this.da+2));this.A-= -this.Jj;this.Y|=2;return a},function(a){I(this,a);this.A-=0>this.da?this.gk:this.fk;this.Y|=2;return a},function(a){if(0>this.da)return M.call(this,a);$b(this,a,F(this,this.da+2));this.A-=this.dk;this.Y|=2;return a},function(a){var b=a;this.Y&512&&(a=a-2&65535,80286>this.Da&&(b=a));K(this,b);this.A-=0>this.da?this.$b:this.wk;this.Y|=2;return a},wd],Gd=[bd,dd,fd,kd,md,od,M,qd],Hd=[cd,ed,gd,ld,nd,pd,M,rd];function Id(a,b){this.A-=0>this.Ba?0>this.da?this.ok:this.nk:this.lk;return b} -function Jd(){return Id.call(this,0,this.nb)}function Kd(a,b){this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.Ba?0>this.da?this.ui:this.vf:this.vf;this.Y|=2;return a}function Ld(a,b){this.W=this.fa=this.ha=a&b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.ui:this.vf:this.vf;this.Y|=2;return a}function Md(a,b){var c=(b<<16>>16)*(this.aa()<<24>>24);this.W=this.ha=this.fa=c;this.$=256;32767c?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?21:24;return c&65535} -function Nd(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.W=this.ha=this.fa=c;this.$=65536;32767c?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?21:24;return c&65535}function Od(a){return a}function Pd(a){if(0>this.da)return N.call(this),a;this.A-=this.hk;return this.da}function Qd(a,b){if(0>this.da)return N.call(this),a;nc(this,F(this,this.da+2));this.A-=this.Wh;return b} -function Rd(a,b){if(0>this.da)return N.call(this),a;pc(this,F(this,this.da+2));this.A-=this.Wh;return b}function Sd(a){if(0>this.da)return G.call(this),a;var b=a<<16>>16,c=F(this,this.da)<<16>>16,d=F(this,this.da+2)<<16>>16;this.A-=this.Fj;if(bd)I(this,this.Ag-this.Ea.eb),Jc.call(this,5,null,0);this.Y|=2;return a}function Td(a,b){this.A-=10+(0>this.da?0:1);if((a&3)<(b&3))return a=a&-4|b&3,Cc(this),a;yc(this);return a} -function Ud(a,b){this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(b,!0)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(b&3))return Cc(this),this.sb.kc&65280;yc(this);return a}function Vd(a,b){this.A-=14+(0>this.da?0:2);if(b&65528&&0<=this.sb.load(b,!0)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3))&&this.sb.uc>=(b&3))return Cc(this),this.sb.$c;yc(this);return a} -function Wd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.wi}else this.Ba=this.da,this.Q(a),this.A-=this.vi;return b} -function Xd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.wi}else this.Ba=this.da,this.R(a),this.A-=this.vi;return b}function Jc(a,b,c){ic(this,a)&&(K(this,cc(this)),this.Ga&=this.qc.ng,K(this,this.Ea.ua),K(this,this.qa),null!=b&&K(this,b),$b(this,this.qc.Ai,this.qc.ua),this.A-=this.$j+c)} -function Dd(){I(this,this.Ag-this.Ea.eb);Jc.call(this,0,null,2)}function Ab(a,b){this.Ha&&this.Ha.message("Fault 0x"+aa(a)+(null!=b?" (0x"+h(b,4)+")":"")+" on opcode 0x"+aa(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));80186<=this.Da&&(I(this,this.Ag-this.Ea.eb),Jc.call(this,a,b,0))}function G(){Ab.call(this,6);gb(this)}function N(){I(this,this.Ag-this.Ea.eb);Fa(this,"Undefined opcode 0x"+aa(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));gb(this)} -function Yd(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function Zd(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function $d(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function ae(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function be(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function ce(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} -function de(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function ee(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function fe(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function ge(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function he(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function ie(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} -function je(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function ke(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function le(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function me(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function ne(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function oe(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} -function pe(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function qe(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function re(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function se(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function te(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function ue(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} -function ve(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function we(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function xe(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function ye(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function ze(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function Ae(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} -function Be(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function Ce(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function De(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function Ee(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function Fe(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function Ge(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} -function He(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function Ie(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function Je(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function Ke(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function Le(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function Me(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} -function Ne(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function Oe(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function Pe(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function Qe(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function Re(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function Se(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} -function Te(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function Ue(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function Ve(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function We(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function Xe(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function Ye(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} -function Ze(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function $e(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function af(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function bf(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function cf(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function df(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} -function ef(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function ff(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function gf(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function hf(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function jf(a){this.G=a.call(this,this.G,this.G)}function kf(a){this.G=a.call(this,this.G,this.I)}function lf(a){this.G=a.call(this,this.G,this.J)}function mf(a){this.G=a.call(this,this.G,this.B)} -function nf(a){this.G=a.call(this,this.G,this.X)}function of(a){this.G=a.call(this,this.G,this.H)}function pf(a){this.G=a.call(this,this.G,this.F)}function qf(a){this.G=a.call(this,this.G,this.D)}function rf(a){this.I=a.call(this,this.I,this.G)}function sf(a){this.I=a.call(this,this.I,this.I)}function tf(a){this.I=a.call(this,this.I,this.J)}function uf(a){this.I=a.call(this,this.I,this.B)}function vf(a){this.I=a.call(this,this.I,this.X)}function wf(a){this.I=a.call(this,this.I,this.H)} -function xf(a){this.I=a.call(this,this.I,this.F)}function yf(a){this.I=a.call(this,this.I,this.D)}function zf(a){this.J=a.call(this,this.J,this.G)}function Af(a){this.J=a.call(this,this.J,this.I)}function Bf(a){this.J=a.call(this,this.J,this.J)}function Cf(a){this.J=a.call(this,this.J,this.B)}function Df(a){this.J=a.call(this,this.J,this.X)}function Ef(a){this.J=a.call(this,this.J,this.H)}function Ff(a){this.J=a.call(this,this.J,this.F)}function Gf(a){this.J=a.call(this,this.J,this.D)} -function Hf(a){this.B=a.call(this,this.B,this.G)}function If(a){this.B=a.call(this,this.B,this.I)}function Jf(a){this.B=a.call(this,this.B,this.J)}function Kf(a){this.B=a.call(this,this.B,this.B)}function Lf(a){this.B=a.call(this,this.B,this.X)}function Mf(a){this.B=a.call(this,this.B,this.H)}function Nf(a){this.B=a.call(this,this.B,this.F)}function Of(a){this.B=a.call(this,this.B,this.D)}function Pf(a){this.X=a.call(this,this.X,this.G)}function Qf(a){this.X=a.call(this,this.X,this.I)} -function Rf(a){this.X=a.call(this,this.X,this.J)}function Sf(a){this.X=a.call(this,this.X,this.B)}function Tf(a){this.X=a.call(this,this.X,this.X)}function Uf(a){this.X=a.call(this,this.X,this.H)}function Vf(a){this.X=a.call(this,this.X,this.F)}function Wf(a){this.X=a.call(this,this.X,this.D)}function Xf(a){this.H=a.call(this,this.H,this.G)}function Yf(a){this.H=a.call(this,this.H,this.I)}function Zf(a){this.H=a.call(this,this.H,this.J)}function $f(a){this.H=a.call(this,this.H,this.B)} -function ag(a){this.H=a.call(this,this.H,this.X)}function bg(a){this.H=a.call(this,this.H,this.H)}function cg(a){this.H=a.call(this,this.H,this.F)}function dg(a){this.H=a.call(this,this.H,this.D)}function eg(a){this.F=a.call(this,this.F,this.G)}function fg(a){this.F=a.call(this,this.F,this.I)}function gg(a){this.F=a.call(this,this.F,this.J)}function hg(a){this.F=a.call(this,this.F,this.B)}function ig(a){this.F=a.call(this,this.F,this.X)}function jg(a){this.F=a.call(this,this.F,this.H)} -function kg(a){this.F=a.call(this,this.F,this.F)}function lg(a){this.F=a.call(this,this.F,this.D)}function mg(a){this.D=a.call(this,this.D,this.G)}function ng(a){this.D=a.call(this,this.D,this.I)}function og(a){this.D=a.call(this,this.D,this.J)}function pg(a){this.D=a.call(this,this.D,this.B)}function qg(a){this.D=a.call(this,this.D,this.X)}function rg(a){this.D=a.call(this,this.D,this.H)}function sg(a){this.D=a.call(this,this.D,this.F)}function tg(a){this.D=a.call(this,this.D,this.D)} -var ug=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.Z},function(a){a= +function Ja(a,b,c,d){this.Xk=b;this.la=null;this.offset=0;this.ij=c;this.ea=null;this.Ua=this.gj=!1;if(b)if(d)this.ea=d,a=[d.Kd,a-d.Ya],this.la=a[0],this.offset=a[1],this.fe(d.Oe);else{this.la=Array(b>>2);for(d=0;d>2]>>>((a&3)<<3)&255},wn:function(a){var b=a>>2;a=(a&3)<<3;var c=this.la[b]>>>a;return 24>a?c&65535:c&255|(this.la[b+1]&255)<<8},Dn:function(a,b){var c=a>>2,d=(a&3)<<3;this.la[c]=this.la[c]&~(255<>2,d=(a&3)<<3;24>d?this.la[c]=this.la[c]&~(65535<>8);this.Ua=!0},save:function(){return this.ea? +null:this.la},restore:function(a){return this.ea?null===a:this.Xk==a.length<<2?(this.la=a,this.Ua=!0):!1},fe:function(a,b){a||(a=[]);void 0===b&&(b=!0);var c=a;this.vc=c[0]?c[0]:this.Bg;this.un=c[1]?c[1]:this.Bg;b&&(this.Ei=c[0]?c[0]:this.Bg,this.vn=c[1]?c[1]:this.Bg);c=a;this.xc=c[2]&&!this.ij?c[2]:this.Mg;this.En=c[3]&&!this.ij?c[3]:this.Mg;b&&(this.Mi=c[2]?c[2]:this.Mg,this.Fn=c[3]?c[3]:this.Mg)}};var Ya=[Ja.prototype.tn,Ja.prototype.wn,Ja.prototype.Dn,Ja.prototype.Gn]; +function Za(a,b){v.call(this,"CPU",a,Za);var c=a.multiplier||1;this.cd=a.cycles||b;this.xd=c;this.ng=Math.round(this.cd/1E4)/100;this.we=this.ng*this.xd;this.rc=this.zb=!1;this.jh=a.autoStart;c=va.autostart;void 0!==c&&(this.jh="true"==c?!0:"false"==c?!1:null);this.eg=!1;this.sg=this.ye=0;this.tg=a.csStart;this.hf=a.csInterval;this.jf=a.csStop;var d=this;this.xm=function(){$a(d)};this.Oa()}y(v,Za);g=Za.prototype; +g.gc=function(a,b,c,d){this.ma=b;this.Ha=d;this.Fa=a;var e=C(a,"Video");e&&(this.bf=function(){ab(e)},this.De=function(){e.De()});this.ga=C(a,"ChipSet");this.Oa()};g.reset=function(){};g.save=function(){return null};g.restore=function(){return!1};g.Sb=function(a,b){if(!b){if(a&&this.restore){bb(this);if(!this.restore(a))return!1;cb(this)}else this.reset();this.Tb("No debugger detected")}this.zb=!0;!db(this)&&this.Ha&&this.Ha.Rn();this.bf();this.af();return!0}; +g.Jb=function(a){this.zb=!1;return a&&this.save?this.save():!0};function db(a){return!0===a.jh||null===a.jh&&void 0===a.oa.run?($a(a),!0):!1}g.De=function(){};g.oj=function(){return 0};function cb(a){void 0===a.tg&&(a.tg=0);void 0===a.hf&&(a.hf=-1);void 0===a.jf&&(a.jf=-1);a.eg=0<=a.tg&&0c&&(c=60);2>c&&(c=2);var d=1;b&&1a.ng&&(c=Math.round(c/a.xd));return c}function bb(a){a.Lc=0;a.qg=1;a.be=a.Ad=a.bd=a.A=0;cb(a);hb(a,1)} +function hb(a,b,c){void 0!==b&&(0.8>a.Lc/a.we&&(b=1),a.xd=b,b=a.ng*a.xd,a.we!=b&&(a.we=b,b=a.we.toFixed(2)+"Mhz",a.oa.setSpeed&&(a.oa.setSpeed.innerHTML=b),a.Tb("target speed: "+b)),c&&a.De());ib(a,a.Ad);a.Ad=0;a.xe=ia();a.Zd=0;jb(a)} +function $a(a,b){if(Da(a,!0)){a.rc||(hb(a),a.Fa&&a.Fa.start(a.xe,kb(a)),a.rc=!0,a.ga&&lb(a.ga),a.oa.run&&(a.oa.run.innerHTML="Halt"),b&&a.De());a.xi>=a.cd&&jb(a,!0);a.nf=0;a.pg=ia();if(a.Zd){var c=a.pg-a.Zd;c>a.uj&&(a.xe+=c,a.xe>a.pg&&(a.xe=a.pg))}try{do{a.Pk(a.eg?1:Math.round(a.qm/a.qg));var d=a.bd-a.A;a.Ad+=d;a.nf+=d;ib(a,0,!0);var c=a,e=d;if(c.eg){var f=!1;c.sg=c.sg+c.oj()|0;c.ye-=e;0>=c.ye&&(c.ye+=c.hf,f=!0);0<=c.jf&&c.jf<=kb(c)&&(c.hf=c.jf=-1,cb(c),fb(c),f=!0);f&&c.Tb(kb(c)+" cycles: checksum="+ +h(c.sg))}a.lf-=d;0>=a.lf&&(a.lf+=a.yj,a.bf());a.kf-=d;0>=a.kf&&(a.kf+=a.xj,a.af());a.mf-=d;if(0>=a.mf){a.mf+=a.Jh;break}}while(a.rc)}catch(l){fb(a);a.bf();a.af();a.Fa&&a.Fa.stop(ia(),kb(a));Da(a,!1);Fa(a,l.message);return}d=setTimeout;c=a.xm;a.Zd=ia();e=a.uj;a.nf&&(e=Math.round(e*a.nf/a.Jh));e-=a.Zd-a.pg;if(f=a.Zd-a.xe)a.Lc=Math.round(a.Ad/(10*f))/100,864E5<=f&&(a.be=0,a.ga&&mb(a.ga,!0),hb(a));if(0>e||a.Lc>13;return this.eb=e}if(b&&768>=b)return this.ua=a,this.$c=c,this.kc=d,this.uc=(d&24576)>>13,this.eb=e}return-1} +function xb(a){return this.eb+a}function yb(a){return this.eb+a}function tb(a,b,c){return a+b<=this.$c?this.eb+a:vb.call(this,0,0,c)}function vb(a,b,c){c||zb.call(this.ja,13,0);return-1}function ub(a,b,c){return a+b<=this.$c?this.eb+a:wb.call(this,0,0,c)}function wb(a,b,c){c||zb.call(this.ja,13,0);return-1}ob.prototype.save=function(){return[this.ua,this.eb,this.$c,this.kc,this.uc,this.Gg]}; +ob.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.ua=a[0],this.eb=a[1],this.$c=a[2],this.kc=a[3],this.uc=a[4],this.Gg=a[5])};function pb(a,b){void 0===b&&(b=!!(a.ja.ed&1));b?(a.load=sb,a.Jc=tb,a.Ob=ub):(a.load=rb,a.Jc=xb,a.Ob=yb)} +function Ab(a){this.Da=a.model||8088;var b=0;switch(this.Da){default:case 8088:b=4772727;break;case 80286:b=6E6}Za.call(this,a,b);this.Qi=61442;this.If=4;this.ze=255;this.yi=4;this.Z=5;this.na=6;this.ba=7;this.ca=8;this.P=9;this.U=11;this.V=12;this.$d=4;this.Aj=60;this.Bj=83;this.Bb=3;this.bb=9;this.Qb=16;this.wg=1;this.Fj=19;this.Hj=28;this.Jj=16;this.Ij=21;this.Gj=37;this.Dj=2;this.Rh=9;this.Ej=5;this.Cj=33;this.Th=10;this.Sh=8;this.rf=3;this.qf=15;this.Xj=51;this.Yj=1;this.Zj=2;this.$j=4;this.Wj= +32;this.bk=this.Uh=15;this.Cb=16;this.Db=4;this.dk=11;this.ck=18;this.ak=24;this.mb=4;this.ek=2;this.Vh=16;this.fk=17;this.$h=18;this.gk=19;this.Zh=5;this.ai=6;this.lk=2;this.kk=8;this.ik=9;this.ci=this.bi=this.hk=this.jk=10;this.Lj=80;this.Nj=144;this.Kj=86;this.Mj=154;this.Pj=101;this.Rj=165;this.Oj=107;this.Qj=171;this.nk=70;this.pk=113;this.mk=76;this.ok=124;this.Tj=80;this.Vj=128;this.Sj=86;this.Uj=134;this.tf=3;this.sf=16;this.hi=10;this.gi=8;this.qk=51;this.Rb=8;this.rk=17;this.sk=36;this.$b= +11;this.tk=16;this.uf=10;this.rb=2;this.Oh=18;this.Ph=9-this.rb;this.Qh=17-this.rb;this.Wh=12;this.Xh=9-this.rb;this.Yh=13-this.rb;this.di=18;this.ei=9-this.rb;this.fi=17-this.rb;this.ii=15;this.ji=9-this.rb;this.ki=15-this.rb;this.oi=11;this.pi=9-this.rb;this.qi=10-this.rb;this.uk=8;this.xk=12;this.vk=18;this.wk=17;this.yk=15;this.mi=8;this.li=20;this.ni=2;this.ti=3;this.vf=9;this.si=5;this.ri=11;this.vi=4;this.ui=17;this.zk=11;this.Ka=Bb.slice();80186<=this.Da&&(this.ze=31,this.Ka[15]=F,this.Ka[96]= +Cb,this.Ka[97]=Db,this.Ka[98]=Eb,this.Ka[99]=F,this.Ka[100]=F,this.Ka[101]=F,this.Ka[102]=F,this.Ka[103]=F,this.Ka[104]=Fb,this.Ka[105]=Gb,this.Ka[106]=Hb,this.Ka[107]=Ib,this.Ka[108]=Jb,this.Ka[109]=Kb,this.Ka[110]=Lb,this.Ka[111]=Mb,this.Ka[192]=Nb,this.Ka[193]=Ob,this.Ka[200]=Pb,this.Ka[200]=Qb,this.Ka[241]=Rb,Sb[7]=Tb,Ub[7]=Tb,80286<=this.Da&&(this.Qi=2,this.If=0,this.Ka[15]=Vb,this.Ka[99]=Wb,this.Ka[84]=Xb,this.P=this.ca=this.ba=this.na=this.Z=this.yi=0,this.V=this.U=1,this.$d=3,this.Aj=14,this.Bj= +16,this.Bb=2,this.Qb=this.bb=7,this.wg=0,this.Fj=7,this.Hj=13,this.Jj=7,this.Ij=11,this.Gj=16,this.Dj=3,this.Rh=6,this.Ej=2,this.Cj=13,this.Sh=this.Th=5,this.rf=2,this.qf=7,this.Xj=23,this.Yj=0,this.Zj=1,this.$j=3,this.Wj=17,this.Uh=7,this.bk=11,this.Cb=7,this.Db=3,this.dk=7,this.ck=11,this.ak=15,this.mb=2,this.ek=3,this.Vh=7,this.gk=this.$h=this.fk=8,this.ai=this.Zh=4,this.lk=2,this.kk=3,this.ik=5,this.jk=2,this.hk=3,this.bi=5,this.ci=3,this.Lj=14,this.Nj=22,this.Kj=17,this.Mj=25,this.Pj=17,this.Rj= +25,this.Oj=20,this.Qj=28,this.nk=13,this.pk=21,this.mk=16,this.ok=24,this.Tj=13,this.Vj=21,this.Sj=16,this.Uj=24,this.tf=2,this.sf=7,this.gi=this.hi=5,this.qk=19,this.rk=this.Rb=5,this.sk=17,this.$b=3,this.tk=5,this.uf=3,this.rb=0,this.Oh=8,this.Ph=5,this.Qh=9,this.Xh=this.Wh=5,this.Yh=4,this.ei=this.di=5,this.fi=4,this.ii=7,this.ji=5,this.ki=8,this.oi=3,this.pi=4,this.qi=3,this.xk=this.uk=11,this.wk=this.vk=15,this.yk=7,this.mi=5,this.li=8,this.ni=0,this.ti=2,this.vf=6,this.si=3,this.ri=6,this.vi= +3,this.zk=this.ui=5));this.Uk=[];this.Ri=[];this.Yg=0;this.ya=[];this.Me=this.vb=this.Ib=this.$a=this.Od=0;this.S=this.gl;this.T=this.hl;this.N=this.im;this.O=this.jm;this.Q=this.Bn;this.R=this.Cn;Yb(this)}y(Za,Ab);g=Ab.prototype;g.Ch=function(a,b,c,d,e){this.ya=a;this.Me=this.vb=b;this.Ib=c;this.$a=d;this.Od=e};g.reset=function(){this.rc&&fb(this);Yb(this);bb(this);this.Xc=!1}; +function Yb(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ed=65520;a.Sc=0;a.me=1023;a.qc={zi:0,ua:0,kc:0,mg:-1};a.Ea=new ob(a,"CS");a.bc=new ob(a,"DS");a.Ub=new ob(a,"SS");a.gb=new ob(a,"ES");a.Nk=new ob(a,"ZERO");Zb(a,0,65535);80286<=a.Da&&(a.Rc=a.Le=0,a.Ce=new ob(a,"LDT",!0),a.Ig=new ob(a,"TSS",!0),a.sb=new ob(a,"VER",!0),Zb(a,65520,61440),a.Ea.eb=16711680);$b(a,0);ac(a);a.Va=0;a.nb=a.Af=-1;a.Tf=0;a.da=a.Ba=-1;a.C=a.bc;a.M=a.Ub;a.Y=a.pa=0} +g.oj=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.qa+this.Ea.ua+this.bc.ua+this.Ub.ua+this.gb.ua+bc(this)|0};function cc(a,b){var c=a.Ri[b];null!=c&&(c(--a.Yg),delete a.Ri[b])}function ac(a,b){void 0===b&&(b=!!(a.ed&1));dc=b?ec:fc;pb(a.Ea,b);pb(a.bc,b);pb(a.Ub,b);pb(a.gb,b)} +g.save=function(){var a=new G(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.qa,this.Ea.save(),this.bc.save(),this.Ub.save(),this.gb.save(),bc(this),null!=this.Rc?[this.ed,this.Rc,this.Le,this.Sc,this.me,this.Ce.save(),this.Ig.save()]:null]);a.set(2,[this.C.Gg,this.M.Gg,this.Y,this.pa,this.Va,this.da,this.Ba]);a.set(3,[this.qg,this.be,this.xd]);a.set(4,Ta(this.ma));return a.data()}; +g.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.Ea.restore(b[1]);this.bc.restore(b[2]);this.Ub.restore(b[3]);this.gb.restore(b[4]);$b(this,b[5]);var c=b[6];c&&c.length&&(this.ed=c[0],this.Rc=c[1],this.Le=c[2],this.Sc=c[3],this.me=c[4],this.Ce.restore(c[5]),this.Ig.restore(c[6]),ac(this));H(this,b[0]);b=a[2];this.C=gc(this,b[0]);this.M=gc(this,b[1]);this.Y=b[2];this.pa=b[3];this.Va=b[4];this.da=b[5];this.Ba= +b[6];b=a[3];this.qg=b[0];this.be=b[1];hb(this,b[2]);a:{b=this.ma;a=a[4];for(c=0;c>1?128:0} +function uc(a){return(a.fa^a.ha^a.fa>>1)&a.$>>1?2048:0}function vc(a){a.W&=~a.$}function wc(a){a.ha=a.fa&16|a.ha&-17}function xc(a){a.W|=a.$-1}function yc(a){a.fa&=~a.$;a.ha=a.fa&32896|a.ha&-32897}function zc(a){a.W|=a.$}function Ac(a){a.ha=~(a.fa&16)&16|a.ha&-17}function Bc(a){a.W&=~(a.$-1)}function Cc(a){tc(a)||(a.fa^=a.$>>1|a.$>>2,a.ha^=32896)}function Dc(a){a.fa|=a.$;a.ha=a.fa&32896|a.ha&-32897}function bc(a){return a.Ga&-2262|pc(a)|qc(a)|rc(a)|sc(a)|tc(a)|uc(a)} +function $b(a,b){a.$=256;a.W=a.fa=a.ha=0;b&1&&zc(a);b&4||(a.fa|=1);b&16&&(a.ha|=16);b&64||xc(a);b&128&&Cc(a);b&2048&&Dc(a);a.Ga=a.Ga&-1793|b&1792|a.Qi;a.Ga&256&&(a.Va|=2,a.Y|=4)} +g.tb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.oa[c]=d;e=!0;break;default:e=Za.prototype.tb.call(this,a,b,c,d)}return e};function Ec(a,b){return a.ya[(b&a.vb)>>a.Ib].vc(b&a.$a)} +function E(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;a.A-=a.yi;return c!=a.$a?a.ya[d].un(c):a.ya[d++].vc(c)|a.ya[d&a.Od].vc(0)<<8}function Fc(a,b,c){a.ya[(b&a.vb)>>a.Ib].xc(b&a.$a,c&255)}function Gc(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;a.A-=a.yi;d!=a.$a?a.ya[b].En(d,c&65535):(a.ya[b++].xc(d,c&255),a.ya[b&a.Od].xc(0,c>>8&255))}g.gl=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Ec(this,this.da)};g.hl=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,1);return this.Y&1?0:E(this,this.da)}; +g.im=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Ec(this,this.da)};g.jm=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,1);return this.Y&1?0:E(this,this.da)};g.Bn=function(a){this.Y&2||Fc(this,this.Ef.Ob(this.wf,1),a)};g.Cn=function(a){this.Y&2||Gc(this,this.Ef.Ob(this.wf,2),a)};g.aa=function(){var a=Ec(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a}; +g.L=function(){var a=Ec(this,this.Ca)<<24>>24;this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a&65535};g.K=function(){var a=E(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+2&65535);return a};g.Aa=function(){var a=this.X;this.X=this.X+2&65535;return E(this,this.Ub.Jc(a,1))};function J(a,b){var c=a.X=a.X-2&65535;Gc(a,a.Ub.Ob(c,1),b)} +g.af=function(){D(this,"AX",this.G);D(this,"BX",this.B);D(this,"CX",this.I);D(this,"DX",this.J);D(this,"SP",this.X);D(this,"BP",this.H);D(this,"SI",this.F);D(this,"DI",this.D);D(this,"CS",this.Ea.ua);D(this,"DS",this.bc.ua);D(this,"SS",this.Ub.ua);D(this,"ES",this.gb.ua);D(this,"IP",this.qa);var a=bc(this);D(this,"PS",a);D(this,"C",a&1?1:0,1);D(this,"P",a&4?1:0,1);D(this,"A",a&16?1:0,1);D(this,"Z",a&64?1:0,1);D(this,"S",a&128?1:0,1);D(this,"T",a&256?1:0,1);D(this,"I",a&512?1:0,1);D(this,"D",a&1024? +1:0,1);D(this,"O",a&2048?1:0,1);this.oa.speed&&(this.oa.speed.innerHTML=this.rc&&this.Lc?this.Lc.toFixed(2)+"Mhz":"Stopped")}; +g.Pk=function(a){this.nh=!0;this.bd=this.A=a;this.ga&&mb(this.ga);a||!this.Ha||this.Ha.Pn(this.Ha.Jn)||(this.Y|=4);do{if(a=this.Y&240)this.pa|=a;else if(this.zg=this.Ca,this.da=this.Ba=-1,this.C=this.bc,this.M=this.Ub,this.pa=this.Y&256,this.Va){a:{if(!(this.Y&4))if(this.Va&1&&this.Ga&512){if(a=Hc(this.ga),-1<=a&&(this.Va&=-2,0<=a)){this.Va&=-5;Ic.call(this,a,null,11);break a}}else if(this.Va&2){this.Va&=-3;Ic.call(this,1,null,11);break a}if(a=this.Va&8){a=this.ga;for(var b=!1,c=0;cthis.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&255} +function Lc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&255}function Mc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255}function Nc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255} +function Oc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&255}function Pc(a,b){this.ha=a^b;this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&255}function Qc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&255}function Rc(a,b){this.ha=a^b;this.$=256;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Rh:this.bb;this.Y|=2;return a} +function Sc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&65535}function Tc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&65535}function Uc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535} +function Vc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535}function Wc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&65535}function Xc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&65535} +function Yc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&65535}function Zc(a,b){this.ha=a^b;this.$=65536;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Rh:this.bb;this.Y|=2;return a}function $c(a,b){this.W=this.W&this.$-1|(a&b?this.$:0);(a^a>>1)&b>>1?Dc(this):yc(this)}function ad(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;$c.call(this,d,256)}return c} +function bd(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;$c.call(this,d,65536)}return c}function cd(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);$c.call(this,d,256)}return c}function dd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);$c.call(this,d,65536)}return c}function ed(a,b){var c=a;if(b){var d;(d=(b&this.ze)%9)?(d=a<>9-d,c=d&255):d=a|(this.W&this.$?1:0)<<8;$c.call(this,d,256)}return c} +function fd(a,b){var c=a;if(b){var d;(d=(b&this.ze)%17)?(d=a<>17-d,c=d&65535):d=a|(this.W&this.$?1:0)<<16;$c.call(this,d,65536)}return c}function jd(a,b){var c=a;b&&(c=(b&this.ze)%9,c=a>>c|(this.W&this.$?1:0)<<8-c|a<<9-c,$c.call(this,c,256),c&=255);return c}function kd(a,b){var c=a;b&&(c=(b&this.ze)%17,c=a>>c|(this.W&this.$?1:0)<<16-c|a<<17-c,$c.call(this,c,65536),c&=65535);return c} +function ld(a,b){var c=a;b&&(c=8>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255} +function od(a,b){if(b){var c=16>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535}function pd(a,b){if(b){8>24>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255}function qd(a,b){if(b){16>16>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535} +function rd(){this.A-=0>this.da?2:this.yk;return 1}function sd(){var a=this.I&this.ze;this.A-=(0>this.da?this.mi:this.li)+(a<this.da?this.mi:this.li)+(a<this.Ba?this.Rb:this.rk;return b},vd,vd,vd,vd,vd,vd,vd],zd=[function(a,b){this.A-=0>this.Ba?this.jk:this.hk;return b},K,K,K,K,K,K,K],Ad=[ad,cd,ed,jd,ld,nd,K,pd],Bd=[bd,dd,fd,kd,md,od,K,qd],Dd=[function(a,b){b=this.aa();this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.da?this.si:this.ri;this.Y|=2;return a},K,function(a){this.A-=0>this.da?this.tf:this.sf;return a^255},function(a,b){b=0;this.ha=a^b;this.$=256; +this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&255},function(a){this.G=this.nb=(this.W=(this.G&255)*a)&65535;this.ha=this.fa=this.W;this.$=256;this.G&65280?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.nk:this.mk;this.Y|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.nb=b&65535;this.W=this.ha=this.fa=b;this.$=256;127b?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.Tj:this.Sj;this.Y|=2;return a},function(a){if(!a)return Cd.call(this), +a;var b=this.G/a;if(255this.da?this.Lj:this.Kj;this.Y|=2;return a},function(a){if(!a)return Cd.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Cd.call(this),a;this.nb=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.fa=this.ha=this.W=b|256;this.$=256;this.A-=0>this.da?this.Pj:this.Oj;this.Y|=2;return a}],Ed=[function(a,b){b=this.K();this.W=this.fa=this.ha= +a&b;this.$=65536;this.A-=0>this.da?this.si:this.ri;this.Y|=2;return a},K,function(a){this.A-=0>this.da?this.tf:this.sf;return a^65535},function(a,b){b=0;this.ha=a^b;this.$=65536;this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&65535},function(a){this.nb=this.G=(this.W=this.G*a)&65535;this.Af=this.J=this.W>>16&65535;this.ha=this.fa=this.W;this.$=65536;this.J?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.pk:this.ok;this.Y|=2;return a},function(a){var b=(this.G<<16>>16)* +(a<<16>>16);this.G=this.nb=b&65535;this.J=this.Af=b>>16&65535;this.W=this.ha=this.fa=b;this.$=65536;32767b?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.Vj:this.Uj;this.Y|=2;return a},function(a,b){if(!a)return Cd.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return Cd.call(this),a;this.nb=this.G=c&65535;this.Af=this.J=b%a&65535;this.fa=this.ha=this.W=c|65536;this.$=65536;this.A-=0>this.da?this.Nj:this.Mj;this.Y|=2;return a},function(a,b){if(!a)return Cd.call(this), +a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return Cd.call(this),a;this.nb=this.G=d&65535;this.Af=this.J=b%c&65535;this.fa=this.ha=this.W=d|65536;this.$=65536;this.A-=0>this.da?this.Rj:this.Qj;this.Y|=2;return a}],Sb=[function(a){this.ha=a;a=(this.fa=a+1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf; +return a},K,K,K,K,K,K],Ub=[function(a){this.ha=a;a=(this.fa=a+1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){J(this,this.qa);H(this,a);this.A-=0>this.da?this.Jj:this.Ij;this.Y|=2;return a},function(a){if(0>this.da)return K.call(this,a);J(this,this.Ea.ua);J(this,this.qa);Zb(this,a,E(this,this.da+2));this.A-= +this.Gj;this.Y|=2;return a},function(a){H(this,a);this.A-=0>this.da?this.dk:this.ck;this.Y|=2;return a},function(a){if(0>this.da)return K.call(this,a);Zb(this,a,E(this,this.da+2));this.A-=this.ak;this.Y|=2;return a},function(a){var b=a;this.Y&512&&(a=a-2&65535,80286>this.Da&&(b=a));J(this,b);this.A-=0>this.da?this.$b:this.tk;this.Y|=2;return a},vd],Fd=[ad,cd,ed,jd,ld,nd,K,pd],Gd=[bd,dd,fd,kd,md,od,K,qd];function Hd(a,b){this.A-=0>this.Ba?0>this.da?this.lk:this.kk:this.ik;return b} +function Id(){return Hd.call(this,0,this.nb)}function Jd(a,b){this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.Ba?0>this.da?this.ti:this.vf:this.vf;this.Y|=2;return a}function Kd(a,b){this.W=this.fa=this.ha=a&b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.ti:this.vf:this.vf;this.Y|=2;return a}function Ld(a,b){var c=(b<<16>>16)*(this.aa()<<24>>24);this.W=this.ha=this.fa=c;this.$=256;32767c?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?21:24;return c&65535} +function Md(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.W=this.ha=this.fa=c;this.$=65536;32767c?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?21:24;return c&65535}function Nd(a){return a}function Od(a){if(0>this.da)return M.call(this),a;this.A-=this.ek;return this.da}function Pd(a,b){if(0>this.da)return M.call(this),a;mc(this,E(this,this.da+2));this.A-=this.Vh;return b} +function Qd(a,b){if(0>this.da)return M.call(this),a;oc(this,E(this,this.da+2));this.A-=this.Vh;return b}function Rd(a){if(0>this.da)return F.call(this),a;var b=a<<16>>16,c=E(this,this.da)<<16>>16,d=E(this,this.da+2)<<16>>16;this.A-=this.Cj;if(bd)H(this,this.zg-this.Ea.eb),Ic.call(this,5,null,0);this.Y|=2;return a}function Sd(a,b){this.A-=10+(0>this.da?0:1);if((a&3)<(b&3))return a=a&-4|b&3,Bc(this),a;xc(this);return a} +function Td(a,b){this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(b,!0)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(b&3))return Bc(this),this.sb.kc&65280;xc(this);return a}function Ud(a,b){this.A-=14+(0>this.da?0:2);if(b&65528&&0<=this.sb.load(b,!0)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3))&&this.sb.uc>=(b&3))return Bc(this),this.sb.$c;xc(this);return a} +function Vd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.vi}else this.Ba=this.da,this.Q(a),this.A-=this.ui;return b} +function Wd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.vi}else this.Ba=this.da,this.R(a),this.A-=this.ui;return b}function Ic(a,b,c){hc(this,a)&&(J(this,bc(this)),this.Ga&=this.qc.mg,J(this,this.Ea.ua),J(this,this.qa),null!=b&&J(this,b),Zb(this,this.qc.zi,this.qc.ua),this.A-=this.Xj+c)} +function Cd(){H(this,this.zg-this.Ea.eb);Ic.call(this,0,null,2)}function zb(a,b){this.Ha&&this.Ha.message("Fault 0x"+ca(a)+(null!=b?" (0x"+h(b,4)+")":"")+" on opcode 0x"+ca(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));80186<=this.Da&&(H(this,this.zg-this.Ea.eb),Ic.call(this,a,b,0))}function F(){zb.call(this,6);fb(this)}function M(){H(this,this.zg-this.Ea.eb);Fa(this,"Undefined opcode 0x"+ca(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));fb(this)} +function Xd(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function Yd(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function Zd(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function $d(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function ae(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function be(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} +function ce(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function de(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function ee(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function fe(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function ge(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function he(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} +function ie(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function je(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function ke(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function le(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function me(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function ne(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} +function oe(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function pe(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function qe(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function re(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function se(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function te(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} +function ue(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function ve(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function we(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function xe(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function ye(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function ze(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} +function Ae(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function Be(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function Ce(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function De(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function Ee(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function Fe(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} +function Ge(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function He(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function Ie(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function Je(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function Ke(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function Le(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} +function Me(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function Ne(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function Oe(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function Pe(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function Qe(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function Re(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} +function Se(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function Te(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function Ue(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function Ve(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function We(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function Xe(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} +function Ye(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function Ze(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function $e(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function af(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function bf(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function cf(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} +function df(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function ef(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function ff(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function gf(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function hf(a){this.G=a.call(this,this.G,this.G)}function jf(a){this.G=a.call(this,this.G,this.I)}function kf(a){this.G=a.call(this,this.G,this.J)}function lf(a){this.G=a.call(this,this.G,this.B)} +function mf(a){this.G=a.call(this,this.G,this.X)}function nf(a){this.G=a.call(this,this.G,this.H)}function of(a){this.G=a.call(this,this.G,this.F)}function pf(a){this.G=a.call(this,this.G,this.D)}function qf(a){this.I=a.call(this,this.I,this.G)}function rf(a){this.I=a.call(this,this.I,this.I)}function sf(a){this.I=a.call(this,this.I,this.J)}function tf(a){this.I=a.call(this,this.I,this.B)}function uf(a){this.I=a.call(this,this.I,this.X)}function vf(a){this.I=a.call(this,this.I,this.H)} +function wf(a){this.I=a.call(this,this.I,this.F)}function xf(a){this.I=a.call(this,this.I,this.D)}function yf(a){this.J=a.call(this,this.J,this.G)}function zf(a){this.J=a.call(this,this.J,this.I)}function Af(a){this.J=a.call(this,this.J,this.J)}function Bf(a){this.J=a.call(this,this.J,this.B)}function Cf(a){this.J=a.call(this,this.J,this.X)}function Df(a){this.J=a.call(this,this.J,this.H)}function Ef(a){this.J=a.call(this,this.J,this.F)}function Ff(a){this.J=a.call(this,this.J,this.D)} +function Gf(a){this.B=a.call(this,this.B,this.G)}function Hf(a){this.B=a.call(this,this.B,this.I)}function If(a){this.B=a.call(this,this.B,this.J)}function Jf(a){this.B=a.call(this,this.B,this.B)}function Kf(a){this.B=a.call(this,this.B,this.X)}function Lf(a){this.B=a.call(this,this.B,this.H)}function Mf(a){this.B=a.call(this,this.B,this.F)}function Nf(a){this.B=a.call(this,this.B,this.D)}function Of(a){this.X=a.call(this,this.X,this.G)}function Pf(a){this.X=a.call(this,this.X,this.I)} +function Qf(a){this.X=a.call(this,this.X,this.J)}function Rf(a){this.X=a.call(this,this.X,this.B)}function Sf(a){this.X=a.call(this,this.X,this.X)}function Tf(a){this.X=a.call(this,this.X,this.H)}function Uf(a){this.X=a.call(this,this.X,this.F)}function Vf(a){this.X=a.call(this,this.X,this.D)}function Wf(a){this.H=a.call(this,this.H,this.G)}function Xf(a){this.H=a.call(this,this.H,this.I)}function Yf(a){this.H=a.call(this,this.H,this.J)}function Zf(a){this.H=a.call(this,this.H,this.B)} +function $f(a){this.H=a.call(this,this.H,this.X)}function ag(a){this.H=a.call(this,this.H,this.H)}function bg(a){this.H=a.call(this,this.H,this.F)}function cg(a){this.H=a.call(this,this.H,this.D)}function dg(a){this.F=a.call(this,this.F,this.G)}function eg(a){this.F=a.call(this,this.F,this.I)}function fg(a){this.F=a.call(this,this.F,this.J)}function gg(a){this.F=a.call(this,this.F,this.B)}function hg(a){this.F=a.call(this,this.F,this.X)}function ig(a){this.F=a.call(this,this.F,this.H)} +function jg(a){this.F=a.call(this,this.F,this.F)}function kg(a){this.F=a.call(this,this.F,this.D)}function lg(a){this.D=a.call(this,this.D,this.G)}function mg(a){this.D=a.call(this,this.D,this.I)}function ng(a){this.D=a.call(this,this.D,this.J)}function og(a){this.D=a.call(this,this.D,this.B)}function pg(a){this.D=a.call(this,this.D,this.X)}function qg(a){this.D=a.call(this,this.D,this.H)}function rg(a){this.D=a.call(this,this.D,this.F)}function sg(a){this.D=a.call(this,this.D,this.D)} +var tg=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.Z},function(a){a= a.call(this,this.N(this.C,this.D),this.G&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.K()),this.G&255);this.Q(a);this.A-=this.na},function(a){a=a.call(this,this.N(this.C,this.B),this.G&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.I&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.I&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F& 65535),this.I&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.I&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.I&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.D),this.I&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.K()),this.I&255);this.Q(a);this.A-=this.na},function(a){a=a.call(this,this.N(this.C,this.B),this.I&255);this.Q(a);this.A-=this.Z},function(a){a= a.call(this,this.N(this.C,this.B+this.F&65535),this.J&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.J&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.J&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.J&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.J&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C, @@ -141,7 +140,7 @@ this.U},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.I>>8 this.U},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.U},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.J>>8); this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.U},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()& 65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.U},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()& -65535),this.B>>8);this.Q(a);this.A-=this.P},Yd,fe,ne,ve,De,Le,Te,af,Zd,ge,oe,we,Ee,Me,Ue,bf,$d,he,pe,xe,Fe,Ne,Ve,cf,ae,ie,qe,ye,Ge,Oe,We,df,be,je,re,ze,He,Pe,Xe,ef,ce,ke,se,Ae,Ie,Qe,Ye,ff,de,le,te,Be,Je,Re,Ze,gf,ee,me,ue,Ce,Ke,Se,$e,hf],vg=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); +65535),this.B>>8);this.Q(a);this.A-=this.P},Xd,ee,me,ue,Ce,Ke,Se,$e,Yd,fe,ne,ve,De,Le,Te,af,Zd,ge,oe,we,Ee,Me,Ue,bf,$d,he,pe,xe,Fe,Ne,Ve,cf,ae,ie,qe,ye,Ge,Oe,We,df,be,je,re,ze,He,Pe,Xe,ef,ce,ke,se,Ae,Ie,Qe,Ye,ff,de,le,te,Be,Je,Re,Ze,gf],N=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.G);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.F),this.G);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.D),this.G);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.K()),this.G);this.R(a);this.A-=this.na},function(a){a=a.call(this,this.O(this.C,this.B),this.G);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.B+ this.F&65535),this.I);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.I);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.I);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.I);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.F),this.I);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.D),this.I);this.R(a);this.A-=this.Z}, function(a){a=a.call(this,this.O(this.C,this.K()),this.I);this.R(a);this.A-=this.na},function(a){a=a.call(this,this.O(this.C,this.B),this.I);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.J);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.J);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.J);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+ @@ -178,7 +177,7 @@ this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.D+ this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.F+this.K()&65535),this.F); this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()&65535),this.D);this.R(a); this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.D);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.F+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535),this.D);this.R(a);this.A-= -this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},jf,rf,zf,Hf,Pf,Xf,eg,mg,kf,sf,Af,If,Qf,Yf,fg,ng,lf,tf,Bf,Jf,Rf,Zf,gg,og,mf,uf,Cf,Kf,Sf,$f,hg,pg,nf,vf,Df,Lf,Tf,ag,ig,qg,of,wf,Ef,Mf,Uf,bg,jg,rg,pf,xf,Ff,Nf,Vf,cg,kg,sg,qf,yf,Gf,Of,Wf,dg,lg,tg],wg=[function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.D&65535));this.G=this.G&-256| +this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},hf,qf,yf,Gf,Of,Wf,dg,lg,jf,rf,zf,Hf,Pf,Xf,eg,mg,kf,sf,Af,If,Qf,Yf,fg,ng,lf,tf,Bf,Jf,Rf,Zf,gg,og,mf,uf,Cf,Kf,Sf,$f,hg,pg,nf,vf,Df,Lf,Tf,ag,ig,qg,of,wf,Ef,Mf,Uf,bg,jg,rg,pf,xf,Ff,Nf,Vf,cg,kg,sg],ug=[function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.D&65535));this.G=this.G&-256| a;this.A-=this.ca},function(a){a=a.call(this,this.G&255,this.S(this.M,this.H+this.F&65535));this.G=this.G&-256|a;this.A-=this.ca},function(a){a=a.call(this,this.G&255,this.S(this.M,this.H+this.D&65535));this.G=this.G&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.G&255,this.S(this.C,this.F));this.G=this.G&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.G&255,this.S(this.C,this.D));this.G=this.G&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.G&255,this.S(this.C,this.K()));this.G= this.G&-256|a;this.A-=this.na},function(a){a=a.call(this,this.G&255,this.S(this.C,this.B));this.G=this.G&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.I&255,this.S(this.C,this.B+this.F&65535));this.I=this.I&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.I&255,this.S(this.C,this.B+this.D&65535));this.I=this.I&-256|a;this.A-=this.ca},function(a){a=a.call(this,this.I&255,this.S(this.M,this.H+this.F&65535));this.I=this.I&-256|a;this.A-=this.ca},function(a){a=a.call(this,this.I&255,this.S(this.M, this.H+this.D&65535));this.I=this.I&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.I&255,this.S(this.C,this.F));this.I=this.I&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.I&255,this.S(this.C,this.D));this.I=this.I&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.I&255,this.S(this.C,this.K()));this.I=this.I&-256|a;this.A-=this.na},function(a){a=a.call(this,this.I&255,this.S(this.C,this.B));this.I=this.I&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.J&255,this.S(this.C, @@ -221,7 +220,7 @@ this.P},function(a){a=a.call(this,this.G>>8,this.S(this.C,this.D+this.K()&65535) this.V},function(a){a=a.call(this,this.J>>8,this.S(this.M,this.H+this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.J>>8,this.S(this.M,this.H+this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.U},function(a){a=a.call(this,this.J>>8,this.S(this.C,this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.S(this.C,this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>> 8,this.S(this.M,this.H+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.S(this.C,this.B+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.U},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.S(this.M,this.H+this.F+this.K()& 65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.S(this.M,this.H+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.U},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.S(this.M,this.H+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P}, -function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},Yd,Zd,$d,ae,be,ce,de,ee,fe,ge,he,ie,je,ke,le,me,ne,oe,pe,qe,re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf],O=[function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.G= +function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},Xd,Yd,Zd,$d,ae,be,ce,de,ee,fe,ge,he,ie,je,ke,le,me,ne,oe,pe,qe,re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf],O=[function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.G= a.call(this,this.G,this.T(this.M,this.H+this.F&65535));this.A-=this.ca},function(a){this.G=a.call(this,this.G,this.T(this.M,this.H+this.D&65535));this.A-=this.ba},function(a){this.G=a.call(this,this.G,this.T(this.C,this.F));this.A-=this.Z},function(a){this.G=a.call(this,this.G,this.T(this.C,this.D));this.A-=this.Z},function(a){this.G=a.call(this,this.G,this.T(this.C,this.K()));this.A-=this.na},function(a){this.G=a.call(this,this.G,this.T(this.C,this.B));this.A-=this.Z},function(a){this.I=a.call(this, this.I,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.I=a.call(this,this.I,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.I=a.call(this,this.I,this.T(this.M,this.H+this.F&65535));this.A-=this.ca},function(a){this.I=a.call(this,this.I,this.T(this.M,this.H+this.D&65535));this.A-=this.ba},function(a){this.I=a.call(this,this.I,this.T(this.C,this.F));this.A-=this.Z},function(a){this.I=a.call(this,this.I,this.T(this.C,this.D));this.A-=this.Z},function(a){this.I= a.call(this,this.I,this.T(this.C,this.K()));this.A-=this.na},function(a){this.I=a.call(this,this.I,this.T(this.C,this.B));this.A-=this.Z},function(a){this.J=a.call(this,this.J,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.J=a.call(this,this.J,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.J=a.call(this,this.J,this.T(this.M,this.H+this.F&65535));this.A-=this.ca},function(a){this.J=a.call(this,this.J,this.T(this.M,this.H+this.D&65535));this.A-=this.ba}, @@ -256,7 +255,7 @@ a.call(this,this.H,this.T(this.C,this.B+this.D+this.K()&65535));this.A-=this.V}, this.H+this.K()&65535));this.A-=this.P},function(a){this.H=a.call(this,this.H,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.C,this.B+this.F+this.K()&65535));this.A-=this.U},function(a){this.F=a.call(this,this.F,this.T(this.C,this.B+this.D+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.T(this.M,this.H+this.F+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.T(this.M,this.H+this.D+this.K()& 65535));this.A-=this.U},function(a){this.F=a.call(this,this.F,this.T(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.B+this.F+this.K()&65535));this.A-=this.U},function(a){this.D= a.call(this,this.D,this.T(this.C,this.B+this.D+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.T(this.M,this.H+this.F+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.T(this.M,this.H+this.D+this.K()&65535));this.A-=this.U},function(a){this.D=a.call(this,this.D,this.T(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.M, -this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg],xg=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.D& +this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},hf,jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg],vg=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.D& 65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.N(this.C, this.K()),b.call(this));this.Q(c);this.A-=this.na},function(a,b){var c=a[0].call(this,this.N(this.C,this.B),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.D&65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c=a[1].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c= a[1].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[1].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.N(this.C,this.K()),b.call(this));this.Q(c);this.A-=this.na},function(a,b){var c=a[1].call(this,this.N(this.C,this.B),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c= @@ -309,7 +308,7 @@ this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[4].call(th 255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[5].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[5].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[5].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[5].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[5].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[6].call(this,this.G&255,b.call(this)); this.G=this.G&-256|c},function(a,b){var c=a[6].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[6].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[6].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[6].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[6].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[6].call(this,this.J>>8,b.call(this));this.J=this.J& 255|c<<8},function(a,b){var c=a[6].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[7].call(this,this.G&255,b.call(this));this.G=this.G&-256|c},function(a,b){var c=a[7].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[7].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[7].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[7].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<< -8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],yg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[0].call(this, +8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],wg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[0].call(this, this.O(this.M,this.H+this.F&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[0].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.O(this.C,this.D),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.na},function(a,b){var c= a[0].call(this,this.O(this.C,this.B),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.F&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c); this.A-=this.ba},function(a,b){var c=a[1].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.O(this.C,this.D),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.na},function(a,b){var c=a[1].call(this,this.O(this.C,this.B),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[2].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c); @@ -359,271 +358,271 @@ a[3].call(this,this.B,b.call(this))},function(a,b){this.X=a[3].call(this,this.X, function(a,b){this.X=a[4].call(this,this.X,b.call(this))},function(a,b){this.H=a[4].call(this,this.H,b.call(this))},function(a,b){this.F=a[4].call(this,this.F,b.call(this))},function(a,b){this.D=a[4].call(this,this.D,b.call(this))},function(a,b){this.G=a[5].call(this,this.G,b.call(this))},function(a,b){this.I=a[5].call(this,this.I,b.call(this))},function(a,b){this.J=a[5].call(this,this.J,b.call(this))},function(a,b){this.B=a[5].call(this,this.B,b.call(this))},function(a,b){this.X=a[5].call(this,this.X, b.call(this))},function(a,b){this.H=a[5].call(this,this.H,b.call(this))},function(a,b){this.F=a[5].call(this,this.F,b.call(this))},function(a,b){this.D=a[5].call(this,this.D,b.call(this))},function(a,b){this.G=a[6].call(this,this.G,b.call(this))},function(a,b){this.I=a[6].call(this,this.I,b.call(this))},function(a,b){this.J=a[6].call(this,this.J,b.call(this))},function(a,b){this.B=a[6].call(this,this.B,b.call(this))},function(a,b){this.Y|=512;this.X=a[6].call(this,this.X,b.call(this))},function(a, b){this.H=a[6].call(this,this.H,b.call(this))},function(a,b){this.F=a[6].call(this,this.F,b.call(this))},function(a,b){this.D=a[6].call(this,this.D,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.J=a[7].call(this,this.J,b.call(this))},function(a,b){this.B=a[7].call(this,this.B,b.call(this))},function(a,b){this.X=a[7].call(this,this.X,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))}, -function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],Ag=[function(){var a=this.aa();16>(a&56)&&(this.Y|=1);yg[a].call(this,ec,vd)},function(){var a=this.aa();a&16||(this.Y|=1);yg[a].call(this,zg,vd)},function(){O[this.aa()].call(this,Ud)},function(){O[this.aa()].call(this,Vd)},N,N,N,N,N,N,N,G,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N, -N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N],fc=[function(){this.A-=2+(0>this.da?0:1);return this.Be.ua},function(){this.A-=2+(0>this.da?0:1);return this.Jg.ua},function(a){this.Y|=2;this.Be.load(a);this.A-= -17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.Jg.load(a);this.A-=17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&2048!=(this.sb.kc&2560)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3)))return Cc(this),a;yc(this);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&512==(this.sb.kc&2560)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3))return Cc(this),a;yc(this);return a},M,M], -gc=[Ub,Ub,Ub,Ub,Ub,Ub,M,M],ec=gc,zg=[function(a){0>this.da?G.call(this):(Hc(this,this.da+2,this.Rc),Gc(this,this.da+4,this.Rc>>16),a=this.Ke-this.Rc,this.A-=11);return a},function(a){0>this.da?G.call(this):(Hc(this,this.da+2,this.Sc),Gc(this,this.da+4,this.Sc>>16),a=this.me-this.Sc,this.A-=12);return a},function(a){0>this.da?G.call(this):(this.Rc=F(this,this.da+2)|Fc(this,this.da+4)<<16,this.Ke=this.Rc+a,this.Y|=2,this.A-=11);return a},function(a){0>this.da?G.call(this):(this.Sc=F(this,this.da+2)| -Fc(this,this.da+4)<<16,this.me=this.Sc+a,this.Y|=2,this.A-=12);return a},function(){this.A-=2+(0>this.da?0:1);return this.ed},M,function(a){this.ed=this.ed&65520|a&-65521;this.A-=3+(0>this.da?0:3);this.ed&1&&bc(this,!0);this.Y|=2;return a},M];function Wb(){Ag[this.aa()].call(this)}function Yb(){K(this,this.X);this.A-=this.$b}function Db(){var a=this.X;K(this,this.G);K(this,this.I);K(this,this.J);K(this,this.B);K(this,a);K(this,this.H);K(this,this.F);K(this,this.D);this.A-=this.vk} -function Eb(){this.D=this.Aa();this.F=this.Aa();this.H=this.Aa();this.X+=2;this.B=this.Aa();this.J=this.Aa();this.I=this.Aa();this.G=this.Aa();this.A-=this.tk}function Fb(){O[this.aa()].call(this,Sd)}function Xb(){vg[this.aa()].call(this,Td)}function Gb(){K(this,this.K());this.A-=this.$b}function Hb(){O[this.aa()].call(this,Nd)}function Ib(){K(this,this.aa());this.A-=this.$b}function Jb(){O[this.aa()].call(this,Md)} -function Kb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Va(this.ma,this.J,this.Ca-b-1);Gc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}} -function Lb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=Va(this.ma,this.J,d)|Va(this.ma,this.J,d)<<8;Hc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}} -function Mb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Fc(this,this.bc.Jc(this.F,0));this.F=this.F+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;Xa(this.ma,this.J,d,this.Ca-b-1);a&&(J(this,-2),this.Y|=256)}} -function Nb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=F(this,this.bc.Jc(this.F,1));this.F=this.F+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;Xa(this.ma,this.J,d&255,b);Xa(this.ma,this.J,d>>8,b);a&&(J(this,-2),this.Y|=256)}}function Bg(){var a=this.L();vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Cg(){var a=this.L();vc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)} -function Dg(){var a=this.L();qc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Eg(){var a=this.L();qc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Fg(){var a=this.L();tc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Gg(){var a=this.L();tc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Hg(){var a=this.L();qc(this)||tc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db} -function Ig(){var a=this.L();qc(this)||tc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Jg(){var a=this.L();uc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Kg(){var a=this.L();uc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Lg(){var a=this.L();rc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Mg(){var a=this.L();rc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)} -function Ng(){var a=this.L();!uc(this)!=!vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Og(){var a=this.L();!uc(this)==!vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Pg(){var a=this.L();tc(this)||!uc(this)!=!vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Qg(){var a=this.L();tc(this)||!uc(this)!=!vc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)} -function Rg(){xg[this.aa()].call(this,xd,this.aa);this.A-=0>this.Ba?1:this.xg}function Ob(){xg[this.aa()].call(this,Gd,ud)}function Pb(){yg[this.aa()].call(this,Hd,ud)}function Sg(){var a=this.K();I(this,this.Aa());this.X=this.X+a&65535;this.A-=this.Ak}function Tg(){I(this,this.Aa());this.A-=this.xk} -function Qb(){var a=this.K(),b=this.aa()&31;this.A-=11;K(this,this.H);var c=this.X;if(0>8,c,d=sc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Bc(this):xc(this);this.A-=this.ae},function(){ug[this.aa()].call(this,Sc)},function(){vg[this.aa()].call(this,$c)},function(){wg[this.aa()].call(this,Sc)},function(){O[this.aa()].call(this,$c)},function(){this.G=this.G&-256|Sc.call(this,this.G&255,this.aa());this.A--},function(){this.G=$c.call(this,this.G,this.K());this.A--},function(){this.Y|= -20;this.C=this.M=this.bc;this.A-=this.rb},function(){var a=this.G&255,b=this.G>>8,c,d=sc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Bc(this):xc(this);this.A-=this.ae},function(){this.ha=this.G;this.G=(this.fa=this.G+1)&65535;this.W=this.G|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.I;this.I=(this.fa=this.I+1)&65535;this.W=this.I|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.J; +function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],yg=[function(){var a=this.aa();16>(a&56)&&(this.Y|=1);wg[a].call(this,dc,ud)},function(){var a=this.aa();a&16||(this.Y|=1);wg[a].call(this,xg,ud)},function(){O[this.aa()].call(this,Td)},function(){O[this.aa()].call(this,Ud)},M,M,M,M,M,M,M,F,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M, +M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M],ec=[function(){this.A-=2+(0>this.da?0:1);return this.Ce.ua},function(){this.A-=2+(0>this.da?0:1);return this.Ig.ua},function(a){this.Y|=2;this.Ce.load(a);this.A-= +17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.Ig.load(a);this.A-=17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&2048!=(this.sb.kc&2560)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3)))return Bc(this),a;xc(this);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&512==(this.sb.kc&2560)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3))return Bc(this),a;xc(this);return a},K,K], +fc=[Tb,Tb,Tb,Tb,Tb,Tb,K,K],dc=fc,xg=[function(a){0>this.da?F.call(this):(Gc(this,this.da+2,this.Rc),Fc(this,this.da+4,this.Rc>>16),a=this.Le-this.Rc,this.A-=11);return a},function(a){0>this.da?F.call(this):(Gc(this,this.da+2,this.Sc),Fc(this,this.da+4,this.Sc>>16),a=this.me-this.Sc,this.A-=12);return a},function(a){0>this.da?F.call(this):(this.Rc=E(this,this.da+2)|Ec(this,this.da+4)<<16,this.Le=this.Rc+a,this.Y|=2,this.A-=11);return a},function(a){0>this.da?F.call(this):(this.Sc=E(this,this.da+2)| +Ec(this,this.da+4)<<16,this.me=this.Sc+a,this.Y|=2,this.A-=12);return a},function(){this.A-=2+(0>this.da?0:1);return this.ed},K,function(a){this.ed=this.ed&65520|a&-65521;this.A-=3+(0>this.da?0:3);this.ed&1&&ac(this,!0);this.Y|=2;return a},K];function Vb(){yg[this.aa()].call(this)}function Xb(){J(this,this.X);this.A-=this.$b}function Cb(){var a=this.X;J(this,this.G);J(this,this.I);J(this,this.J);J(this,this.B);J(this,a);J(this,this.H);J(this,this.F);J(this,this.D);this.A-=this.sk} +function Db(){this.D=this.Aa();this.F=this.Aa();this.H=this.Aa();this.X+=2;this.B=this.Aa();this.J=this.Aa();this.I=this.Aa();this.G=this.Aa();this.A-=this.qk}function Eb(){O[this.aa()].call(this,Rd)}function Wb(){N[this.aa()].call(this,Sd)}function Fb(){J(this,this.K());this.A-=this.$b}function Gb(){O[this.aa()].call(this,Md)}function Hb(){J(this,this.aa());this.A-=this.$b}function Ib(){O[this.aa()].call(this,Ld)} +function Jb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Va(this.ma,this.J,this.Ca-b-1);Fc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}} +function Kb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=Va(this.ma,this.J,d)|Va(this.ma,this.J,d)<<8;Gc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}} +function Lb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Ec(this,this.bc.Jc(this.F,0));this.F=this.F+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;Xa(this.ma,this.J,d,this.Ca-b-1);a&&(I(this,-2),this.Y|=256)}} +function Mb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=E(this,this.bc.Jc(this.F,1));this.F=this.F+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;Xa(this.ma,this.J,d&255,b);Xa(this.ma,this.J,d>>8,b);a&&(I(this,-2),this.Y|=256)}}function zg(){var a=this.L();uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Ag(){var a=this.L();uc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)} +function Bg(){var a=this.L();pc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Cg(){var a=this.L();pc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Dg(){var a=this.L();sc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Eg(){var a=this.L();sc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Fg(){var a=this.L();pc(this)||sc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db} +function Gg(){var a=this.L();pc(this)||sc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Hg(){var a=this.L();tc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Ig(){var a=this.L();tc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Jg(){var a=this.L();qc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Kg(){var a=this.L();qc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)} +function Lg(){var a=this.L();!tc(this)!=!uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Mg(){var a=this.L();!tc(this)==!uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Ng(){var a=this.L();sc(this)||!tc(this)!=!uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Og(){var a=this.L();sc(this)||!tc(this)!=!uc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)} +function Pg(){vg[this.aa()].call(this,wd,this.aa);this.A-=0>this.Ba?1:this.wg}function Nb(){vg[this.aa()].call(this,Fd,td)}function Ob(){wg[this.aa()].call(this,Gd,td)}function Qg(){var a=this.K();H(this,this.Aa());this.X=this.X+a&65535;this.A-=this.xk}function Rg(){H(this,this.Aa());this.A-=this.uk} +function Pb(){var a=this.K(),b=this.aa()&31;this.A-=11;J(this,this.H);var c=this.X;if(0>8,c,d=rc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Ac(this):wc(this);this.A-=this.$d},function(){tg[this.aa()].call(this,Rc)},function(){N[this.aa()].call(this,Zc)},function(){ug[this.aa()].call(this,Rc)},function(){O[this.aa()].call(this,Zc)},function(){this.G=this.G&-256|Rc.call(this,this.G&255,this.aa());this.A--},function(){this.G=Zc.call(this,this.G,this.K());this.A--},function(){this.Y|= +20;this.C=this.M=this.bc;this.A-=this.rb},function(){var a=this.G&255,b=this.G>>8,c,d=rc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Ac(this):wc(this);this.A-=this.$d},function(){this.ha=this.G;this.G=(this.fa=this.G+1)&65535;this.W=this.G|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.I;this.I=(this.fa=this.I+1)&65535;this.W=this.I|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.J; this.J=(this.fa=this.J+1)&65535;this.W=this.J|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.B;this.B=(this.fa=this.B+1)&65535;this.W=this.B|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.X;this.X=(this.fa=this.X+1)&65535;this.W=this.X|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.H;this.H=(this.fa=this.H+1)&65535;this.W=this.H|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.F;this.F=(this.fa=this.F+ 1)&65535;this.W=this.F|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.D;this.D=(this.fa=this.D+1)&65535;this.W=this.D|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.G;this.G=(this.fa=this.G-1)&65535;this.W=this.G|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.I;this.I=(this.fa=this.I-1)&65535;this.W=this.I|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.J;this.J=(this.fa=this.J-1)&65535;this.W=this.J| (this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.B;this.B=(this.fa=this.B-1)&65535;this.W=this.B|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.X;this.X=(this.fa=this.X-1)&65535;this.W=this.X|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.H;this.H=(this.fa=this.H-1)&65535;this.W=this.H|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.F;this.F=(this.fa=this.F-1)&65535;this.W=this.F|(this.W&this.$?1:0)<< -16;this.$=65536;this.A-=2},function(){this.ha=this.D;this.D=(this.fa=this.D-1)&65535;this.W=this.D|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){K(this,this.G);this.A-=this.$b},function(){K(this,this.I);this.A-=this.$b},function(){K(this,this.J);this.A-=this.$b},function(){K(this,this.B);this.A-=this.$b},function(){K(this,this.X-2&65535);this.A-=this.$b},function(){K(this,this.H);this.A-=this.$b},function(){K(this,this.F);this.A-=this.$b},function(){K(this,this.D);this.A-=this.$b},function(){this.G= -this.Aa();this.A-=this.Rb},function(){this.I=this.Aa();this.A-=this.Rb},function(){this.J=this.Aa();this.A-=this.Rb},function(){this.B=this.Aa();this.A-=this.Rb},function(){this.X=this.Aa();this.A-=this.Rb},function(){this.H=this.Aa();this.A-=this.Rb},function(){this.F=this.Aa();this.A-=this.Rb},function(){this.D=this.Aa();this.A-=this.Rb},Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,function(){yg[this.aa()].call(this,yd,this.K);this.A-=0>this.Ba? -1:this.xg},Rg,function(){yg[this.aa()].call(this,yd,this.L);this.A-=0>this.Ba?1:this.xg},function(){ug[this.aa()].call(this,Kd)},function(){vg[this.aa()].call(this,Ld)},function(){wg[this.Tf=this.aa()].call(this,Wd)},function(){O[this.Tf=this.aa()].call(this,Xd)},function(){this.Y|=1;ug[this.aa()].call(this,Id)},function(){this.Y|=1;vg[this.aa()].call(this,Id)},function(){wg[this.aa()].call(this,Id)},function(){O[this.aa()].call(this,Id)},function(){var a=this.aa();switch((a&56)>>3){case 0:this.nb= -this.gb.ua;break;case 1:this.nb=this.Ea.ua;break;case 2:this.nb=this.Ub.ua;break;case 3:this.nb=this.bc.ua;break;default:N.call(this);return}this.Y|=1;vg[a].call(this,Jd)},function(){this.Y|=1;this.C=this.M=this.Qk;O[this.aa()].call(this,Pd)},function(){var a,b=this.aa(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Da){G.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break;case 6:a=this.F;break; -case 7:a=this.D}}O[b].call(this,Id);switch(c){case 0:pc(this,this.G);this.G=a;break;case 1:jc(this,this.I);this.I=a;break;case 2:oc(this,this.J);this.J=a;break;case 3:nc(this,this.B);this.B=a;break;case 4:pc(this,this.X);this.X=a;break;case 5:jc(this,this.H);this.H=a;break;case 6:oc(this,this.F);this.F=a;break;case 7:nc(this,this.D),this.D=a}},function(){this.Y|=1;yg[this.aa()].call(this,zd,this.Aa)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-=3},function(){var a= -this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Hj},function(){var a=this.K(),b=this.K();K(this,this.Ea.ua);K(this,this.qa); -$b(this,a,b);this.A-=this.Kj},function(){N.call(this)},function(){K(this,cc(this));this.A-=this.$b},function(){ac(this,this.Aa());this.A-=this.Rb},function(){var a=this.G>>8;a&1?Ac(this):wc(this);a&4?rc(this)||(this.fa^=1):rc(this)&&(this.fa^=1);a&16?Bc(this):xc(this);a&64?Cc(this):yc(this);a&128?Dc(this):uc(this)&&(this.fa^=this.$>>1|this.$>>2,this.ha^=32896);this.A-=this.mb},function(){this.G=this.G&255|(cc(this)&213)<<8;this.A-=this.mb},function(){this.G=this.G&-256|this.S(this.C,this.K());this.A-= -this.ci},function(){this.G=this.T(this.C,this.K());this.A-=this.ci},function(){var a=this.K(),b=this.G;Gc(this,this.C.Ob(a,0),b);this.A-=this.di},function(){var a=this.K(),b=this.G;Hc(this,this.C.Ob(a,1),b);this.A-=this.di},function(){var a=1,b=0,c=this.ei;this.pa&192&&(a=this.I,b=1,c=this.gi,this.pa&256||(this.A-=this.fi));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F);Gc(this,this.gb.Ob(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.pa&16?-3: --2),this.Y|=256)}},function(){var a=1,b=0,c=this.ei;this.pa&192&&(a=this.I,b=1,c=this.gi,this.pa&256||(this.A-=this.fi));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F);Hc(this,this.gb.Ob(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Ph;this.pa&192&&(a=this.I,b=1,c=this.Rh,this.pa&256||(this.A-=this.Qh));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F),f=this.N(this.gb,this.D);Sc.call(this, -e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&tc(this)==(this.pa&64)&&(J(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Ph;this.pa&192&&(a=this.I,b=1,c=this.Rh,this.pa&256||(this.A-=this.Qh));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F),f=this.O(this.gb,this.D);$c.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&tc(this)==(this.pa&64)&&(J(this,this.pa&16?-3:-2),this.Y|=256)}},function(){this.W= -this.fa=this.ha=this.G&255&this.aa();this.$=256;this.A-=this.ae},function(){this.W=this.fa=this.ha=this.G&this.K();this.$=65536;this.A-=this.ae},function(){var a=1,b=0,c=this.pi;this.pa&192&&(a=this.I,b=1,c=this.ri,this.pa&256||(this.A-=this.qi));if(a--){var d=this.G;Gc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.pi;this.pa&192&&(a=this.I,b=1,c=this.ri,this.pa&256||(this.A-=this.qi));if(a--){var d= -this.G;Hc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Xh;this.pa&192&&(a=this.I,b=1,c=this.Zh,this.pa&256||(this.A-=this.Yh));a--&&(this.G=this.G&-256|this.S(this.C,this.F),this.F=this.F+(this.Ga&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(J(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.Xh;this.pa&192&&(a=this.I,b=1,c=this.Zh,this.pa&256||(this.A-=this.Yh));a--&&(this.G=this.T(this.C, -this.F),this.F=this.F+(this.Ga&1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(J(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.ji;this.pa&192&&(a=this.I,b=1,c=this.li,this.pa&256||(this.A-=this.ki));a--&&(Sc.call(this,this.G&255,this.N(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-1:1)&65535,this.A-=c-this.bb,this.I-=b,a&&tc(this)==(this.pa&64)&&(J(this,-2),this.Y|=256))},function(){var a=1,b=0,c=this.ji;this.pa&192&&(a=this.I,b=1,c=this.li,this.pa&256||(this.A-=this.ki));a--&&($c.call(this, -this.G,this.O(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-2:2)&65535,this.A-=c-this.bb,this.I-=b,a&&tc(this)==(this.pa&64)&&(J(this,-2),this.Y|=256))},function(){this.G=this.G&-256|this.aa();this.A-=this.mb},function(){this.I=this.I&-256|this.aa();this.A-=this.mb},function(){this.J=this.J&-256|this.aa();this.A-=this.mb},function(){this.B=this.B&-256|this.aa();this.A-=this.mb},function(){this.G=this.G&255|this.aa()<<8;this.A-=this.mb},function(){this.I=this.I&255|this.aa()<<8;this.A-=this.mb},function(){this.J= -this.J&255|this.aa()<<8;this.A-=this.mb},function(){this.B=this.B&255|this.aa()<<8;this.A-=this.mb},function(){this.G=this.K();this.A-=this.mb},function(){this.I=this.K();this.A-=this.mb},function(){this.J=this.K();this.A-=this.mb},function(){this.B=this.K();this.A-=this.mb},function(){this.X=this.K();this.A-=this.mb},function(){this.H=this.K();this.A-=this.mb},function(){this.F=this.K();this.A-=this.mb},function(){this.D=this.K();this.A-=this.mb},Sg,Tg,Sg,Tg,function(){O[this.aa()].call(this,Rd)}, -function(){O[this.aa()].call(this,Qd)},function(){this.Y|=1;xg[this.aa()].call(this,Ad,this.aa)},function(){this.Y|=1;yg[this.aa()].call(this,Ad,this.K)},Ug,Vg,Ug,Vg,function(){Jc.call(this,3,null,this.ak)},function(){var a=this.aa(),b;a:{b=this.Xk[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.$=256;this.A-=this.Dj},function(){this.G=this.G&-256|(qc(this)?255:0);this.A-=2},function(){this.G= -this.G&-256|this.S(this.C,this.B+(this.G&255)&65535);this.A-=this.Ck},Wg,Wg,Wg,Wg,Wg,Wg,Wg,Wg,function(){var a=this.L();(this.I=this.I-1&65535)&&this.W&this.$-1?(I(this,this.qa+a),this.A-=this.jk):this.A-=this.$h},function(){var a=this.L();!(this.I=this.I-1&65535)||this.W&this.$-1?this.A-=this.bi:(I(this,this.qa+a),this.A-=this.ai)},function(){var a=this.L();(this.I=this.I-1&65535)?(I(this,this.qa+a),this.A-=this.ik):this.A-=this.$h},function(){var a=this.L();this.I?this.A-=this.bi:(I(this,this.qa+ -a),this.A-=this.ai)},function(){var a=this.aa();this.G=this.G&-256|Va(this.ma,a,this.Ca-2);this.A-=this.Uh},function(){var a=this.aa();this.G=Va(this.ma,a,this.Ca-1)|Va(this.ma,a+1&65535,this.Ca-2)<<8;this.A-=this.Uh},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);this.A-=this.ii},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);Xa(this.ma,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.ii},function(){var a=this.K();K(this,this.qa);I(this,this.qa+a);this.A-=this.Ij},function(){var a= -this.K();I(this,this.qa+a);this.A-=this.Vh},function(){$b(this,this.K(),this.K());this.A-=this.ek},function(){var a=this.L();I(this,this.qa+a);this.A-=this.Vh},function(){this.G=this.G&-256|Va(this.ma,this.J,this.Ca-1);this.A-=this.Th},function(){this.G=Va(this.ma,this.J,this.Ca-1)|Va(this.ma,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Th},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);this.A-=this.hi},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);Xa(this.ma,this.J+1&65535,this.G>>8,this.Ca- -1);this.A-=this.hi},Xg,Xg,function(){this.Y|=132;this.A-=this.rb},function(){this.Y|=68;this.A-=this.rb},function(){this.Va|=4;this.A-=2;this.Ga&512||gb(this)},function(){qc(this)?wc(this):Ac(this);this.A-=2},function(){this.nb=-1;xg[this.aa()].call(this,Ed,vd);0<=this.nb&&(this.G=this.nb)},function(){this.nb=-1;yg[this.aa()].call(this,Fd,vd);0<=this.nb&&(this.G=this.nb,this.J=this.Af)},function(){this.W&=~this.$;this.A-=2},function(){this.W|=this.$;this.A-=2},function(){this.Ga&=-513;this.A-=this.Gj}, -function(){this.Ga|=512;this.Y|=4;this.A-=2},function(){this.Ga&=-1025;this.A-=2},function(){this.Ga|=1024;this.A-=2},function(){xg[this.aa()].call(this,Tb,vd)},function(){yg[this.aa()].call(this,Vb,vd)}]; -function P(a){v.call(this,"ChipSet",a,P);this.Da=a.model;this.Da=void 0!==this.Da?parseInt(this.Da,10):Yg;this.Eb=0;var b=a.sw1;if(b)this.Eb=Zg(b,$g|ah.Wk);else if(b=a.fdrives||2,this.Eb|=Q.Og,b--,this.Eb|=(b&3)<=bh&&(this.Se=this.Te=2);this.hg=a.scaleTimers||!1;this.En=a.rtcDate;this.oj=!1;a.sound&&window&&"webkitAudioContext"in window&& -(this.bh=new webkitAudioContext);this.reset();this.Oa()}y(v,P);var Yg=5150,bh=5170,ch={none:0,tv:1,color:2,mono:3,ega:0},Q={Og:1},$g=12,ah={Rn:16,Nn:32,Wk:48,Ge:48,He:4};Q.ONE=0;Q.Sn=64;Q.Qn=128;Q.On=192;Q.Ge=192;Q.He=6;g=P.prototype; -g.tb=function(a,b,c,d){switch(c){case "sw1":return this.oa[c]=d,dh(this,c,d,this.Eb,{0:this.Da==Yg?"Bootable Floppy Drive":"Loop on POST",1:this.Da==Yg?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Da==Yg)return this.oa[c]=d,dh(this,c,d,this.Gd,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.oa[c]=d,!0}return!1}; -g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.Fa=a;this.ab=C(a,"Keyboard");this.Dk=Math.round(c.cd/1193181);Ua(b,this,eh);Wa(b,this,fh);this.Da=bh){this.Za=16;this.Tc=0;this.lc=16;this.Pf=0;this.Md=160;512<=oh(this)&&(this.Md|=16);3==ph(this)&&(this.Md|=64);this.Ug=3;this.Sf=0;this.Hb=Array(7);this.ne=0;this.ka||(this.ka=Array(64), -qh(this,this.En));for(a=14;46>a;a++)void 0===this.ka[a]&&(this.ka[a]=0);this.ka[20]=this.Hc&(ah.Ge|2|Q.Og|Q.Ge);this.ka[16]=rh(this,0)<<4|rh(this,1);sh(this)}}; -function qh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.Tb("CMOS date invalid ("+b+"), using "+c)):b&&a.Tb("CMOS date: "+c);a.ka[0]=c.getSeconds();a.ka[1]=0;a.ka[2]=c.getMinutes();a.ka[3]=0;a.ka[4]=c.getHours();a.ka[5]=0;a.ka[6]=c.getDay()+1;a.ka[7]=c.getDate();a.ka[8]=c.getMonth()+1;c=c.getFullYear();a.ka[9]=c%100;c/=100;a.ka[50]=c%10|c/10<<4;a.gf=-1;a.ka[10]=38;a.ka[11]=2;a.ka[12]=0;a.ka[13]=128} -function sh(a){for(var b=0,c=16;46>c;c++)b+=a.ka[c];a.ka[47]=b&255;a.ka[46]=b>>8} -g.save=function(){var a=new H(this);a.set(0,[this.Eb,this.Gd,this.Hc,this.ge]);for(var b=[],c=0;c=bh&&(a.set(5,[this.Za,this.Tc,this.lc,this.Pf,this.Md,this.Ug]),a.set(6,[this.Sf,this.Hb,this.ne,this.ka,this.gf]));return a.data()}; -g.restore=function(a){var b,c;b=a[0];this.Eb=b[0];this.Gd=b[1];this.Hc=b[2];this.ge=b[3];b=a[1];this.va=Array(this.Se);for(c=0;c>2)+1)*a.jm+32*((b?a.Gd:a.ge)&15)}function vh(a,b){var c=b?a.Eb:a.Hc;return a.Da!=Yg||c&Q.Og?((c&Q.Ge)>>Q.He)+1:0}function rh(a,b){return b>ah.He} -function dh(a,b,c,d,e){for(var f="",l=1;8>=l;l++){var k="pcjs-bitCell";l||(k+=" pcjs-bitCellLeft");f+='
'+l+"
\n"}c.innerHTML=f;b=B(c,"pcjs-bitCell");c=null;for(l=0;l>2].Ja[b&3],c,d,e)}function Eh(a,b,c){b=a.va[b>>2].Ja[b&3];b.Zf&&b.xh&&b.zg?(c&&(b.$f=c),b.ad||Kc(a,b,!0)):c&&c(!0)} -function Kc(a,b,c){c&&(b.count=b.Pb[1]<<8|b.Pb[0],b.Uk=b.mode&12,b.pj=b.Xc=!1);for(var d=!1;0<=b.count&&(c=b.zc<<16|b.ub[1]<<8|b.ub[0],4==b.Uk?(d=!0,function(c){b.xh.call(b.Zf,b.zg,-1,function(f,l){0>f&&(b.pj||(b.pj=!0),f=255);b.ad||Ra(a.ma,c,f);(d=l)&&setTimeout(function(){Hh(b)||Kc(a,b)},0)})}(c)):8==b.Uk?(c=Oa(a.ma,c),0>b.xh.call(b.Zf,b.zg,c)&&(b.Xc=!0)):b.Xc=!0),!d&&!Hh(b););} -function Hh(a){if(!a.Xc&&0<=--a.count&&(a.mode&32?(a.ub[0]--,0>a.ub[0]&&(a.ub[0]=255,a.ub[1]--,0>a.ub[1]&&(a.ub[1]=255))):(a.ub[0]++,255>3,e=a.ob[d];e.wb|=1<<(b&7);e.of=c||0;1==d&&(a.ob[0].wb|=4);Kh(a,d)}function Qh(a,b){var c=b>>3,d=a.ob[c],e=1<<(b&7);d.wb&e&&(d.wb&=~e,1!=c||d.wb||(a.ob[0].wb&=-5),Kh(a,c))} -function Ic(a,b){void 0===b&&(b=0);var c=-1,d=a.ob[b];if(d.of)c=-2,d.of--;else for(var e=d.wb&((d.yc|d.md)^255),f=d.Nd+1;;){var f=f&7,l=1<>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var l=this.Gb[c];l.Bf=f;l.mode=e;l.cj=d;l.pc=[0,0];l.Pb=[0,0];l.Xe=[0,0];l.Kc=!1;l.bf=!1;l.qe=!1;Sh(this,c);0==c&&Qh(this,0);2==c&&255==this.ob[0].md&&77==this.Mb&&(c=this.Gb[0],c.Dc[0]=c.pc[0],c.Dc[1]=c.pc[1],c.Cd=lb(this.ja,this.hg))}else Th(this,c),d=this.Gb[c],d.Xe[0]=d.Pb[0],d.Xe[1]=d.Pb[1],d.bf=!0,Sh(this,c)}};function Vh(a,b){var c=a.Gb[b],d=c.pc[1]<<8|c.pc[0];d||(d=1==c.Vd?256:65536);return d} -function Sh(a,b){var c=a.Gb[b];c.rd=32==c.Bf?1:0;c.Vd=48==c.Bf?2:1} -function Th(a,b,c){var d=a.Gb[b];if(d.qe&&(2!=b||a.Mb&1)){var e=lb(a.ja,a.hg),f=(e-d.Cd)/a.Dk|0;0>f&&(d.Cd=e,f=0);var l=Vh(a,b),k=a.Gb[b],m=k.Dc[1]<<8|k.Dc[0];m||(m=1==k.Vd?256:65536);k=m-f;0==d.mode?(0>=k&&(k=0),k||(d.Kc=!0,d.qe=!1,b||R(a,0))):4==d.mode?(d.Kc=1!=k,0>=k&&(k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0))):6==d.mode&&(k-=f,0>=k&&(d.Kc=!d.Kc,k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0)));d.Pb[0]=k&255;d.Pb[1]=k>>8;c&&(a.Cd=0)}return d} -function nb(a,b){for(var c=0;c=bh){var c=0,d=a.ja.cd,e=lb(a.ja,a.hg);if(0<=a.gf&&(c=e-a.gf,Math.floor(c/d)&&60<=++a.ka[0]&&(a.ka[0]=0,60<=++a.ka[2]&&(a.ka[2]=0,24<=++a.ka[4])))){a.ka[4]=0;a.ka[6]=a.ka[6]%7+1;var f=a.ka[9],l=ka[a.ka[8]-1];28==l&&0===f%4&&(f%100||0===f%400)&&l++;++a.ka[7]>l&&(a.ka[7]=1,12<++a.ka[8]&&(a.ka[8]=1,a.ka[9]=(a.ka[9]+1)%100))}a.gf=e-c%d}}g.Yl=function(){var a=this.Vf;this.Re&16&&(this.Mb&128?a=this.Hc:this.ab&&(a=Wh(this.ab)));return a}; -g.hn=function(a,b){this.Vf=b};g.Zl=function(){return this.Mb};g.jn=function(a,b){Xh(this,b);if(this.ab){var c=this.ab,d=b&128?!1:!0,e=b&64?!0:!1;c.nh!==e&&(c.nh=c.mj=e);c.ph!==d&&(c.ph=d)&&(c.mj?(Yh(c),c.mj=!1):Zh(c))}};function Xh(a,b){var c=!!(b&2),d=!!(a.Mb&2);a.Mb=b;c!=d&&mb(a,c)}g.$l=function(){var a=0,a=this.Da==Yg?this.Mb&4?a|this.ge&15:a|this.ge>>4&1:this.Mb&8?a|this.Hc>>4:a|this.Hc&15;this.Mb&1&&Th(this,2).Kc&&(a=this.Mb&2?a|32:a|16);return a};g.kn=function(a,b){this.Wg=b};g.am=function(){return this.Re}; -g.ln=function(a,b){this.Re=b};g.ol=function(){var a=this.Pf;this.Za&=-258;var b=this.ab&&Wh(this.ab,!0);b&&$h(this,b);return a};g.Cm=function(a,b){if(this.Za&8)switch(this.Tc){case 96:this.lc=b;this.Za=this.Za&-5|b&4;break;case 209:ai(this,b);break;default:if(this.lc&=-17,this.ab){var c=-1;switch(b){case 255:c=250,Yh(this.ab)}$h(this,c)}}this.Tc=b;this.Za&=-9};g.pl=function(){var a=this.Mb&-193;this.Mb^=16;return a};g.Dm=function(a,b){Xh(this,b)}; -g.ql=function(){var a=this.Za&255;this.Za&256&&(this.Za|=1,this.Za&=-257);return a};g.Bm=function(a,b){this.Tc=b;this.Za|=8;var c=0;240<=this.Tc&&(c=this.Tc^15,this.Tc=240);switch(this.Tc){case 192:$h(this,this.Md);break;case 173:this.lc|=16;break;case 174:this.lc&=-17;break;case 170:this.ab&&Zh(this.ab,!0);this.lc|=16;$h(this,85);ai(this,3);break;case 224:$h(this,this.lc&16?0:1);break;case 240:c&1&&Zb(this.ja)}};function $h(a,b){0<=b&&(a.Pf=b,a.Za&=-2,a.Za|=256)} -function ai(a,b){a.Ug=b;Ka(a.ma,!!(b&2));b&1||Zb(a.ja)}g.El=function(){return this.ne};g.Qm=function(a,b){this.ne=b;this.Uf=b&128?0:128};g.Fl=function(){var a=this.ne&63;if(13>=a){var b=this.ka[a];if(10>a){var c=!1;4!=a&&5!=a||this.ka[11]&2||(b=12>b?b?b:12:(b-=12)?b+128:140,c=!0);this.ka[11]&4||(c&&128=c){if(e=b,10>c){var f=!1;this.ka[11]&4||(e=10*(e>>4)+(e&15),f=!0);if(4==c||5==c)f&&12=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;d[c]=e};g.Wl=function(){return this.Sf};g.en=function(a,b){this.Sf=b};g.gn=function(a,b){this.Uf=b};function Zg(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.hb[c++]=f[b]>>16&255,this.hb[c++]=f[b]>>24&255;else this.hb=d;this.Tg=d.symbols;if(!this.hb.length){t("Empty ROM: "+a);return}if(1==this.hb.length){t(this.hb[0]);return}}catch(l){this.xa("ROM data error: "+ -l.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.hb=Array(a.length),d=0;dthis.Of?21:23,c=a.ka[b]|a.ka[b+1]<<8,c=c+(this.gd>>10);a.ka[b]=c&255;a.ka[b+1]=c>>8;sh(a)}}else t("No RAM allocated")}; -u(function(){for(var a=B(window.document,"pcjs","ram"),b=0;bthis.Ba? +1:this.wg},Pg,function(){wg[this.aa()].call(this,xd,this.L);this.A-=0>this.Ba?1:this.wg},function(){tg[this.aa()].call(this,Jd)},function(){N[this.aa()].call(this,Kd)},function(){ug[this.Tf=this.aa()].call(this,Vd)},function(){O[this.Tf=this.aa()].call(this,Wd)},function(){this.Y|=1;tg[this.aa()].call(this,Hd)},function(){this.Y|=1;N[this.aa()].call(this,Hd)},function(){ug[this.aa()].call(this,Hd)},function(){O[this.aa()].call(this,Hd)},function(){var a=this.aa();switch((a&56)>>3){case 0:this.nb= +this.gb.ua;break;case 1:this.nb=this.Ea.ua;break;case 2:this.nb=this.Ub.ua;break;case 3:this.nb=this.bc.ua;break;default:M.call(this);return}this.Y|=1;N[a].call(this,Id)},function(){this.Y|=1;this.C=this.M=this.Nk;O[this.aa()].call(this,Od)},function(){var a,b=this.aa(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Da){F.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break;case 6:a=this.F;break; +case 7:a=this.D}}O[b].call(this,Hd);switch(c){case 0:oc(this,this.G);this.G=a;break;case 1:ic(this,this.I);this.I=a;break;case 2:nc(this,this.J);this.J=a;break;case 3:mc(this,this.B);this.B=a;break;case 4:oc(this,this.X);this.X=a;break;case 5:ic(this,this.H);this.H=a;break;case 6:nc(this,this.F);this.F=a;break;case 7:mc(this,this.D),this.D=a}},function(){this.Y|=1;wg[this.aa()].call(this,yd,this.Aa)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-=3},function(){var a= +this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Ej},function(){var a=this.K(),b=this.K();J(this,this.Ea.ua);J(this,this.qa); +Zb(this,a,b);this.A-=this.Hj},function(){M.call(this)},function(){J(this,bc(this));this.A-=this.$b},function(){$b(this,this.Aa());this.A-=this.Rb},function(){var a=this.G>>8;a&1?zc(this):vc(this);a&4?qc(this)||(this.fa^=1):qc(this)&&(this.fa^=1);a&16?Ac(this):wc(this);a&64?Bc(this):xc(this);a&128?Cc(this):tc(this)&&(this.fa^=this.$>>1|this.$>>2,this.ha^=32896);this.A-=this.mb},function(){this.G=this.G&255|(bc(this)&213)<<8;this.A-=this.mb},function(){this.G=this.G&-256|this.S(this.C,this.K());this.A-= +this.bi},function(){this.G=this.T(this.C,this.K());this.A-=this.bi},function(){var a=this.K(),b=this.G;Fc(this,this.C.Ob(a,0),b);this.A-=this.ci},function(){var a=this.K(),b=this.G;Gc(this,this.C.Ob(a,1),b);this.A-=this.ci},function(){var a=1,b=0,c=this.di;this.pa&192&&(a=this.I,b=1,c=this.fi,this.pa&256||(this.A-=this.ei));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F);Fc(this,this.gb.Ob(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.pa&16?-3: +-2),this.Y|=256)}},function(){var a=1,b=0,c=this.di;this.pa&192&&(a=this.I,b=1,c=this.fi,this.pa&256||(this.A-=this.ei));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F);Gc(this,this.gb.Ob(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Oh;this.pa&192&&(a=this.I,b=1,c=this.Qh,this.pa&256||(this.A-=this.Ph));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F),f=this.N(this.gb,this.D);Rc.call(this, +e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&sc(this)==(this.pa&64)&&(I(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Oh;this.pa&192&&(a=this.I,b=1,c=this.Qh,this.pa&256||(this.A-=this.Ph));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F),f=this.O(this.gb,this.D);Zc.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&sc(this)==(this.pa&64)&&(I(this,this.pa&16?-3:-2),this.Y|=256)}},function(){this.W= +this.fa=this.ha=this.G&255&this.aa();this.$=256;this.A-=this.$d},function(){this.W=this.fa=this.ha=this.G&this.K();this.$=65536;this.A-=this.$d},function(){var a=1,b=0,c=this.oi;this.pa&192&&(a=this.I,b=1,c=this.qi,this.pa&256||(this.A-=this.pi));if(a--){var d=this.G;Fc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.oi;this.pa&192&&(a=this.I,b=1,c=this.qi,this.pa&256||(this.A-=this.pi));if(a--){var d= +this.G;Gc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Wh;this.pa&192&&(a=this.I,b=1,c=this.Yh,this.pa&256||(this.A-=this.Xh));a--&&(this.G=this.G&-256|this.S(this.C,this.F),this.F=this.F+(this.Ga&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(I(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.Wh;this.pa&192&&(a=this.I,b=1,c=this.Yh,this.pa&256||(this.A-=this.Xh));a--&&(this.G=this.T(this.C, +this.F),this.F=this.F+(this.Ga&1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(I(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.ii;this.pa&192&&(a=this.I,b=1,c=this.ki,this.pa&256||(this.A-=this.ji));a--&&(Rc.call(this,this.G&255,this.N(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-1:1)&65535,this.A-=c-this.bb,this.I-=b,a&&sc(this)==(this.pa&64)&&(I(this,-2),this.Y|=256))},function(){var a=1,b=0,c=this.ii;this.pa&192&&(a=this.I,b=1,c=this.ki,this.pa&256||(this.A-=this.ji));a--&&(Zc.call(this, +this.G,this.O(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-2:2)&65535,this.A-=c-this.bb,this.I-=b,a&&sc(this)==(this.pa&64)&&(I(this,-2),this.Y|=256))},function(){this.G=this.G&-256|this.aa();this.A-=this.mb},function(){this.I=this.I&-256|this.aa();this.A-=this.mb},function(){this.J=this.J&-256|this.aa();this.A-=this.mb},function(){this.B=this.B&-256|this.aa();this.A-=this.mb},function(){this.G=this.G&255|this.aa()<<8;this.A-=this.mb},function(){this.I=this.I&255|this.aa()<<8;this.A-=this.mb},function(){this.J= +this.J&255|this.aa()<<8;this.A-=this.mb},function(){this.B=this.B&255|this.aa()<<8;this.A-=this.mb},function(){this.G=this.K();this.A-=this.mb},function(){this.I=this.K();this.A-=this.mb},function(){this.J=this.K();this.A-=this.mb},function(){this.B=this.K();this.A-=this.mb},function(){this.X=this.K();this.A-=this.mb},function(){this.H=this.K();this.A-=this.mb},function(){this.F=this.K();this.A-=this.mb},function(){this.D=this.K();this.A-=this.mb},Qg,Rg,Qg,Rg,function(){O[this.aa()].call(this,Qd)}, +function(){O[this.aa()].call(this,Pd)},function(){this.Y|=1;vg[this.aa()].call(this,zd,this.aa)},function(){this.Y|=1;wg[this.aa()].call(this,zd,this.K)},Sg,Tg,Sg,Tg,function(){Ic.call(this,3,null,this.Yj)},function(){var a=this.aa(),b;a:{b=this.Uk[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.$=256;this.A-=this.Aj},function(){this.G=this.G&-256|(pc(this)?255:0);this.A-=2},function(){this.G= +this.G&-256|this.S(this.C,this.B+(this.G&255)&65535);this.A-=this.zk},Ug,Ug,Ug,Ug,Ug,Ug,Ug,Ug,function(){var a=this.L();(this.I=this.I-1&65535)&&this.W&this.$-1?(H(this,this.qa+a),this.A-=this.gk):this.A-=this.Zh},function(){var a=this.L();!(this.I=this.I-1&65535)||this.W&this.$-1?this.A-=this.ai:(H(this,this.qa+a),this.A-=this.$h)},function(){var a=this.L();(this.I=this.I-1&65535)?(H(this,this.qa+a),this.A-=this.fk):this.A-=this.Zh},function(){var a=this.L();this.I?this.A-=this.ai:(H(this,this.qa+ +a),this.A-=this.$h)},function(){var a=this.aa();this.G=this.G&-256|Va(this.ma,a,this.Ca-2);this.A-=this.Th},function(){var a=this.aa();this.G=Va(this.ma,a,this.Ca-1)|Va(this.ma,a+1&65535,this.Ca-2)<<8;this.A-=this.Th},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);this.A-=this.hi},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);Xa(this.ma,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.hi},function(){var a=this.K();J(this,this.qa);H(this,this.qa+a);this.A-=this.Fj},function(){var a= +this.K();H(this,this.qa+a);this.A-=this.Uh},function(){Zb(this,this.K(),this.K());this.A-=this.bk},function(){var a=this.L();H(this,this.qa+a);this.A-=this.Uh},function(){this.G=this.G&-256|Va(this.ma,this.J,this.Ca-1);this.A-=this.Sh},function(){this.G=Va(this.ma,this.J,this.Ca-1)|Va(this.ma,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Sh},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);this.A-=this.gi},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);Xa(this.ma,this.J+1&65535,this.G>>8,this.Ca- +1);this.A-=this.gi},Vg,Vg,function(){this.Y|=132;this.A-=this.rb},function(){this.Y|=68;this.A-=this.rb},function(){this.Va|=4;this.A-=2;this.Ga&512||fb(this)},function(){pc(this)?vc(this):zc(this);this.A-=2},function(){this.nb=-1;vg[this.aa()].call(this,Dd,ud);0<=this.nb&&(this.G=this.nb)},function(){this.nb=-1;wg[this.aa()].call(this,Ed,ud);0<=this.nb&&(this.G=this.nb,this.J=this.Af)},function(){this.W&=~this.$;this.A-=2},function(){this.W|=this.$;this.A-=2},function(){this.Ga&=-513;this.A-=this.Dj}, +function(){this.Ga|=512;this.Y|=4;this.A-=2},function(){this.Ga&=-1025;this.A-=2},function(){this.Ga|=1024;this.A-=2},function(){vg[this.aa()].call(this,Sb,ud)},function(){wg[this.aa()].call(this,Ub,ud)}]; +function P(a){v.call(this,"ChipSet",a,P);this.Da=a.model;this.Da=void 0!==this.Da?parseInt(this.Da,10):Wg;this.Eb=0;var b=a.sw1;if(b)this.Eb=Xg(b,Yg|Zg.Tk);else if(b=a.fdrives||2,this.Eb|=Q.Ng,b--,this.Eb|=(b&3)<=$g&&(this.Te=this.Ue=2);this.gg=a.scaleTimers||!1;this.An=a.rtcDate;this.lj=!1;a.sound&&window&&"webkitAudioContext"in window&& +(this.ah=new webkitAudioContext);this.reset();this.Oa()}y(v,P);var Wg=5150,$g=5170,ah={none:0,tv:1,color:2,mono:3,ega:0},Q={Ng:1},Yg=12,Zg={Ln:16,Hn:32,Tk:48,He:48,Ie:4};Q.ONE=0;Q.Mn=64;Q.Kn=128;Q.In=192;Q.He=192;Q.Ie=6;g=P.prototype; +g.tb=function(a,b,c,d){switch(c){case "sw1":return this.oa[c]=d,bh(this,c,d,this.Eb,{0:this.Da==Wg?"Bootable Floppy Drive":"Loop on POST",1:this.Da==Wg?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Da==Wg)return this.oa[c]=d,bh(this,c,d,this.Fd,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.oa[c]=d,!0}return!1}; +g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.Fa=a;this.ab=C(a,"Keyboard");this.Ak=Math.round(c.cd/1193181);Ua(b,this,ch);Wa(b,this,dh);this.Da<$g?(Ua(b,this,eh),Wa(b,this,fh)):(Ua(b,this,gh),Wa(b,this,hh))};g.Sb=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};g.Jb=function(a){return a&&this.save?this.save():!0}; +g.reset=function(){var a;this.Hc=this.Eb;this.ge=this.Fd;ih(this);this.va=Array(this.Te);for(a=0;a=$g){this.Za=16;this.Tc=0;this.lc=16;this.Pf=0;this.Ld=160;512<=mh(this)&&(this.Ld|=16);3==nh(this)&&(this.Ld|=64);this.Tg=3;this.Sf=0;this.Hb=Array(7);this.ne=0;this.ka||(this.ka=Array(64), +oh(this,this.An));for(a=14;46>a;a++)void 0===this.ka[a]&&(this.ka[a]=0);this.ka[20]=this.Hc&(Zg.He|2|Q.Ng|Q.He);this.ka[16]=ph(this,0)<<4|ph(this,1);qh(this)}}; +function oh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.Tb("CMOS date invalid ("+b+"), using "+c)):b&&a.Tb("CMOS date: "+c);a.ka[0]=c.getSeconds();a.ka[1]=0;a.ka[2]=c.getMinutes();a.ka[3]=0;a.ka[4]=c.getHours();a.ka[5]=0;a.ka[6]=c.getDay()+1;a.ka[7]=c.getDate();a.ka[8]=c.getMonth()+1;c=c.getFullYear();a.ka[9]=c%100;c/=100;a.ka[50]=c%10|c/10<<4;a.gf=-1;a.ka[10]=38;a.ka[11]=2;a.ka[12]=0;a.ka[13]=128} +function qh(a){for(var b=0,c=16;46>c;c++)b+=a.ka[c];a.ka[47]=b&255;a.ka[46]=b>>8} +g.save=function(){var a=new G(this);a.set(0,[this.Eb,this.Fd,this.Hc,this.ge]);for(var b=[],c=0;c=$g&&(a.set(5,[this.Za,this.Tc,this.lc,this.Pf,this.Ld,this.Tg]),a.set(6,[this.Sf,this.Hb,this.ne,this.ka,this.gf]));return a.data()}; +g.restore=function(a){var b,c;b=a[0];this.Eb=b[0];this.Fd=b[1];this.Hc=b[2];this.ge=b[3];b=a[1];this.va=Array(this.Te);for(c=0;c>2)+1)*a.hm+32*((b?a.Fd:a.ge)&15)}function th(a,b){var c=b?a.Eb:a.Hc;return a.Da!=Wg||c&Q.Ng?((c&Q.He)>>Q.Ie)+1:0}function ph(a,b){return b>Zg.Ie} +function bh(a,b,c,d,e){for(var f="",l=1;8>=l;l++){var k="pcjs-bitCell";l||(k+=" pcjs-bitCellLeft");f+='
'+l+"
\n"}c.innerHTML=f;b=B(c,"pcjs-bitCell");c=null;for(l=0;l>2].Ja[b&3],c,d,e)}function Ch(a,b,c){b=a.va[b>>2].Ja[b&3];b.Zf&&b.wh&&b.yg?(c&&(b.$f=c),b.ad||Jc(a,b,!0)):c&&c(!0)} +function Jc(a,b,c){c&&(b.count=b.Pb[1]<<8|b.Pb[0],b.Rk=b.mode&12,b.mj=b.Xc=!1);for(var d=!1;0<=b.count&&(c=b.zc<<16|b.ub[1]<<8|b.ub[0],4==b.Rk?(d=!0,function(c){b.wh.call(b.Zf,b.yg,-1,function(f,l){0>f&&(b.mj||(b.mj=!0),f=255);b.ad||Ra(a.ma,c,f);(d=l)&&setTimeout(function(){Fh(b)||Jc(a,b)},0)})}(c)):8==b.Rk?(c=Oa(a.ma,c),0>b.wh.call(b.Zf,b.yg,c)&&(b.Xc=!0)):b.Xc=!0),!d&&!Fh(b););} +function Fh(a){if(!a.Xc&&0<=--a.count&&(a.mode&32?(a.ub[0]--,0>a.ub[0]&&(a.ub[0]=255,a.ub[1]--,0>a.ub[1]&&(a.ub[1]=255))):(a.ub[0]++,255>3,e=a.ob[d];e.wb|=1<<(b&7);e.of=c||0;1==d&&(a.ob[0].wb|=4);Ih(a,d)}function Kh(a,b){var c=b>>3,d=a.ob[c],e=1<<(b&7);d.wb&e&&(d.wb&=~e,1!=c||d.wb||(a.ob[0].wb&=-5),Ih(a,c))} +function Hc(a,b){void 0===b&&(b=0);var c=-1,d=a.ob[b];if(d.of)c=-2,d.of--;else for(var e=d.wb&((d.yc|d.md)^255),f=d.Md+1;;){var f=f&7,l=1<>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var l=this.Gb[c];l.Bf=f;l.mode=e;l.aj=d;l.pc=[0,0];l.Pb=[0,0];l.Ye=[0,0];l.Kc=!1;l.cf=!1;l.qe=!1;Qh(this,c);0==c&&Kh(this,0);2==c&&255==this.ob[0].md&&77==this.Mb&&(c=this.Gb[0],c.Dc[0]=c.pc[0],c.Dc[1]=c.pc[1],c.Cd=kb(this.ja,this.gg))}else Rh(this,c),d=this.Gb[c],d.Ye[0]=d.Pb[0],d.Ye[1]=d.Pb[1],d.cf=!0,Qh(this,c)}};function Th(a,b){var c=a.Gb[b],d=c.pc[1]<<8|c.pc[0];d||(d=1==c.Ud?256:65536);return d} +function Qh(a,b){var c=a.Gb[b];c.rd=32==c.Bf?1:0;c.Ud=48==c.Bf?2:1} +function Rh(a,b,c){var d=a.Gb[b];if(d.qe&&(2!=b||a.Mb&1)){var e=kb(a.ja,a.gg),f=(e-d.Cd)/a.Ak|0;0>f&&(d.Cd=e,f=0);var l=Th(a,b),k=a.Gb[b],m=k.Dc[1]<<8|k.Dc[0];m||(m=1==k.Ud?256:65536);k=m-f;0==d.mode?(0>=k&&(k=0),k||(d.Kc=!0,d.qe=!1,b||R(a,0))):4==d.mode?(d.Kc=1!=k,0>=k&&(k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0))):6==d.mode&&(k-=f,0>=k&&(d.Kc=!d.Kc,k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0)));d.Pb[0]=k&255;d.Pb[1]=k>>8;c&&(a.Cd=0)}return d} +function mb(a,b){for(var c=0;c=$g){var c=0,d=a.ja.cd,e=kb(a.ja,a.gg);if(0<=a.gf&&(c=e-a.gf,Math.floor(c/d)&&60<=++a.ka[0]&&(a.ka[0]=0,60<=++a.ka[2]&&(a.ka[2]=0,24<=++a.ka[4])))){a.ka[4]=0;a.ka[6]=a.ka[6]%7+1;var f=a.ka[9],l=ka[a.ka[8]-1];28==l&&0===f%4&&(f%100||0===f%400)&&l++;++a.ka[7]>l&&(a.ka[7]=1,12<++a.ka[8]&&(a.ka[8]=1,a.ka[9]=(a.ka[9]+1)%100))}a.gf=e-c%d}}g.Wl=function(){var a=this.Vf;this.Se&16&&(this.Mb&128?a=this.Hc:this.ab&&(a=Uh(this.ab)));return a}; +g.fn=function(a,b){this.Vf=b};g.Xl=function(){return this.Mb};g.gn=function(a,b){Vh(this,b);if(this.ab){var c=this.ab,d=b&128?!1:!0,e=b&64?!0:!1;c.mh!==e&&(c.mh=c.jj=e);c.oh!==d&&(c.oh=d)&&(c.jj?(Wh(c),c.jj=!1):Xh(c))}};function Vh(a,b){var c=!!(b&2),d=!!(a.Mb&2);a.Mb=b;c!=d&&lb(a,c)}g.Yl=function(){var a=0,a=this.Da==Wg?this.Mb&4?a|this.ge&15:a|this.ge>>4&1:this.Mb&8?a|this.Hc>>4:a|this.Hc&15;this.Mb&1&&Rh(this,2).Kc&&(a=this.Mb&2?a|32:a|16);return a};g.hn=function(a,b){this.Vg=b};g.Zl=function(){return this.Se}; +g.jn=function(a,b){this.Se=b};g.ml=function(){var a=this.Pf;this.Za&=-258;var b=this.ab&&Uh(this.ab,!0);b&&Yh(this,b);return a};g.Am=function(a,b){if(this.Za&8)switch(this.Tc){case 96:this.lc=b;this.Za=this.Za&-5|b&4;break;case 209:Zh(this,b);break;default:if(this.lc&=-17,this.ab){var c=-1;switch(b){case 255:c=250,Wh(this.ab)}Yh(this,c)}}this.Tc=b;this.Za&=-9};g.nl=function(){var a=this.Mb&-193;this.Mb^=16;return a};g.Bm=function(a,b){Vh(this,b)}; +g.ol=function(){var a=this.Za&255;this.Za&256&&(this.Za|=1,this.Za&=-257);return a};g.zm=function(a,b){this.Tc=b;this.Za|=8;var c=0;240<=this.Tc&&(c=this.Tc^15,this.Tc=240);switch(this.Tc){case 192:Yh(this,this.Ld);break;case 173:this.lc|=16;break;case 174:this.lc&=-17;break;case 170:this.ab&&Xh(this.ab,!0);this.lc|=16;Yh(this,85);Zh(this,3);break;case 224:Yh(this,this.lc&16?0:1);break;case 240:c&1&&Yb(this.ja)}};function Yh(a,b){0<=b&&(a.Pf=b,a.Za&=-2,a.Za|=256)} +function Zh(a,b){a.Tg=b;Ka(a.ma,!!(b&2));b&1||Yb(a.ja)}g.Cl=function(){return this.ne};g.Om=function(a,b){this.ne=b;this.Uf=b&128?0:128};g.Dl=function(){var a=this.ne&63;if(13>=a){var b=this.ka[a];if(10>a){var c=!1;4!=a&&5!=a||this.ka[11]&2||(b=12>b?b?b:12:(b-=12)?b+128:140,c=!0);this.ka[11]&4||(c&&128=c){if(e=b,10>c){var f=!1;this.ka[11]&4||(e=10*(e>>4)+(e&15),f=!0);if(4==c||5==c)f&&12=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;d[c]=e};g.Ul=function(){return this.Sf};g.cn=function(a,b){this.Sf=b};g.en=function(a,b){this.Uf=b};function Xg(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.hb[c++]=f[b]>>16&255,this.hb[c++]=f[b]>>24&255;else this.hb=d;this.Sg=d.symbols;if(!this.hb.length){t("Empty ROM: "+a);return}if(1==this.hb.length){t(this.hb[0]);return}}catch(l){this.xa("ROM data error: "+ +l.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.hb=Array(a.length),d=0;dthis.Of?21:23,c=a.ka[b]|a.ka[b+1]<<8,c=c+(this.gd>>10);a.ka[b]=c&255;a.ka[b+1]=c>>8;qh(a)}}else t("No RAM allocated")}; +u(function(){for(var a=B(window.document,"pcjs","ram"),b=0;ba.fc.length){if(!(!d&&!a.Sg[c]||d&&a.Sg[c])){a.Sg[c]=d;a.fc.push(b);1==a.fc.length&&a.ga&&R(a.ga,1);for(var e in hi)if(hi[e]==c){(c=a.oa["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.fc.length&&a.fc.push(255)}function mi(a,b){var c=b?a.pm:a.om;a.ja&&a.ja.Lc&&(c/=a.ja.Lc);return c}function ni(a,b){!a.ee||void 0!==b&&b==a.ee||(clearTimeout(a.Pc[a.ee]),oi(a,a.ee,!1))} -function ji(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Hk=f);240==f+224?(a.wa&=-2,c&&(a.wa|=1),f+=224,e=!1):241==f+224?(a.wa&=-5,c&&(a.wa|=4),f+=224,e=!1):242==f+224?(a.wa&=-9,c&&(a.wa|=8),f+=224,e=!1):244==f+224?(a.wa&=-17,c&&(a.wa|=16),f+=224,d=ki(a,f)):91==f?(a.wa&=-33,c&&(a.wa|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.wa&12)&&(f=254),d=c?!ki(a,f):!1):void 0!==S[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.wa&=-33,a.el||f!=a.Hk||ni(a));void 0===d&&(d=!oi(a,f,c));return d} -function ki(a,b,c){var d=!1;ni(a,b);oi(a,b,!0)&&(c?oi(a,b,!1):(c=!1,a.Pc[b]&&(clearTimeout(a.Pc[b]),c=!0),c=mi(a,c),a.Pc[a.ee=b]=setTimeout(function(a){return function(){oi(a,b,!1)}}(a),c)),d=!0);return d} -function oi(a,b,c){var d=!1;c||(a.Pc[b]=null,a.ee==b&&(a.ee=0));var e=S[b];void 0===e&&1<=b&&26>=b&&(e=S[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.wa&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.wa&17||(d=42):224==f?a.wa&18||(d=54):241==f?a.wa&4||(d=29):242==f&&(a.wa&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(Ai)];this.kg=b;this.Ya=e[2];this.cc=e[3];this.Bc=d||e[4];65536<=this.Bc&&720896<=this.Ya&&(this.cc=Math.min(this.Bc>>2,32768));this.Yb=c[0];this.hc=c[1];this.Ve=c[2];this.Ff=c[3];this.sc=c[4]&255;this.jg=c[4]>>8&255;this.Vb=c[5];this.Fh=Ai;if(5==b){this.Fh=Bi;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,this.Bc,Array(this.Bc>>2),771,0,4294967295, -0,4294967295,0,4294967295,0]);this.ud=b[0];this.Zd=b[1];this.Id=b[2];this.Mi=b[3];this.pg=b[4];this.vh=b[5];this.ve=b[6];this.Mf=b[7];this.yh=b[8];this.zh=b[9];this.ue=b[10];this.je=b[11];this.kb=b[12];d=this.Bc>>2;if((this.Ld=b[14])&&this.Ld.length>8&255)}var Y=[,,function(a){a+=this.offset;return(this.ea.kb=this.la[a])>>this.ea.xi&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.la[b]>>8:this.la[b])&255}]; -Y[16]=function(a){a+=this.offset;a=this.la[a];for(var b=this.ea.Hh&this.ea.Ih,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};Y[512]=function(a,b){var c=a+this.offset,d;d=this.la[c]&~this.ea.Ta|(b|b<<8|b<<16|b<<24)&this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[1024]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[1536]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d&=this.ea.kb;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[2560]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d|=this.ea.kb;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[3584]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d^=this.ea.kb;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)};Y[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ea.Ta&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.la[d]&~c;c=c&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[d]!=c&&(this.la[d]=c,this.Qa=!0)}; -Y[4096]=function(a){a+=this.offset;var b=this.la[a]&~this.ea.Ta|this.ea.kb&this.ea.Ta;this.la[a]!=b&&(this.la[a]=b,this.Qa=!0)};Y[8192]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)};Y[24576]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d&this.ea.kb,d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[40960]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d|this.ea.kb,d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)};Y[57344]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d^this.ea.kb,d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -function Ei(a){var b=[];if(void 0!==a.kg){b[0]=a.Yb;b[1]=a.hc;b[2]=a.Ve;b[3]=a.Ff;b[4]=a.sc|a.jg<<8;b[5]=a.Vb;if(5==a.kg){var c=[];c[0]=a.ud;c[1]=a.Zd;c[2]=a.Id;c[3]=a.Mi;c[4]=a.pg;c[5]=a.vh;c[6]=a.ve;c[7]=a.Mf;c[8]=a.yh;c[9]=a.zh;c[10]=a.ue;c[11]=a.je;c[12]=a.kb;c[13]=a.Bc;var d;a:if(d=a.Ld){var e=0,f=[];if(void 0!==d[0])for(var l=0;2>l;l++)for(var k=l;k>1;f[e++]=m;k=n}if(f.lengtha.fc.length){if(!(!d&&!a.Rg[c]||d&&a.Rg[c])){a.Rg[c]=d;a.fc.push(b);1==a.fc.length&&a.ga&&R(a.ga,1);for(var e in fi)if(fi[e]==c){(c=a.oa["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.fc.length&&a.fc.push(255)}function ki(a,b){var c=b?a.nm:a.mm;a.ja&&a.ja.Lc&&(c/=a.ja.Lc);return c}function li(a,b){!a.de||void 0!==b&&b==a.de||(clearTimeout(a.Pc[a.de]),mi(a,a.de,!1))} +function hi(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Ek=f);240==f+224?(a.wa&=-2,c&&(a.wa|=1),f+=224,e=!1):241==f+224?(a.wa&=-5,c&&(a.wa|=4),f+=224,e=!1):242==f+224?(a.wa&=-9,c&&(a.wa|=8),f+=224,e=!1):244==f+224?(a.wa&=-17,c&&(a.wa|=16),f+=224,d=ii(a,f)):91==f?(a.wa&=-33,c&&(a.wa|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.wa&12)&&(f=254),d=c?!ii(a,f):!1):void 0!==S[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.wa&=-33,a.cl||f!=a.Ek||li(a));void 0===d&&(d=!mi(a,f,c));return d} +function ii(a,b,c){var d=!1;li(a,b);mi(a,b,!0)&&(c?mi(a,b,!1):(c=!1,a.Pc[b]&&(clearTimeout(a.Pc[b]),c=!0),c=ki(a,c),a.Pc[a.de=b]=setTimeout(function(a){return function(){mi(a,b,!1)}}(a),c)),d=!0);return d} +function mi(a,b,c){var d=!1;c||(a.Pc[b]=null,a.de==b&&(a.de=0));var e=S[b];void 0===e&&1<=b&&26>=b&&(e=S[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.wa&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.wa&17||(d=42):224==f?a.wa&18||(d=54):241==f?a.wa&4||(d=29):242==f&&(a.wa&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(yi)];this.jg=b;this.Ya=e[2];this.cc=e[3];this.Bc=d||e[4];65536<=this.Bc&&720896<=this.Ya&&(this.cc=Math.min(this.Bc>>2,32768));this.Yb=c[0];this.hc=c[1];this.We=c[2];this.Ff=c[3];this.sc=c[4]&255;this.ig=c[4]>>8&255;this.Vb=c[5];this.Eh=yi;if(5==b){this.Eh=zi;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,this.Bc,Array(this.Bc>>2),771,0,4294967295, +0,4294967295,0,4294967295,0]);this.ud=b[0];this.Yd=b[1];this.Hd=b[2];this.Li=b[3];this.og=b[4];this.uh=b[5];this.ve=b[6];this.Mf=b[7];this.xh=b[8];this.yh=b[9];this.ue=b[10];this.je=b[11];this.kb=b[12];d=this.Bc>>2;if((this.Kd=b[14])&&this.Kd.length>8&255)}var Y=[,,function(a){a+=this.offset;return(this.ea.kb=this.la[a])>>this.ea.wi&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.la[b]>>8:this.la[b])&255}]; +Y[16]=function(a){a+=this.offset;a=this.la[a];for(var b=this.ea.Gh&this.ea.Hh,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};Y[512]=function(a,b){var c=a+this.offset,d;d=this.la[c]&~this.ea.Sa|(b|b<<8|b<<16|b<<24)&this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[1024]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[1536]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d&=this.ea.kb;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[2560]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d|=this.ea.kb;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[3584]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d^=this.ea.kb;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)};Y[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ea.Sa&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.la[d]&~c;c=c&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[d]!=c&&(this.la[d]=c,this.Ua=!0)}; +Y[4096]=function(a){a+=this.offset;var b=this.la[a]&~this.ea.Sa|this.ea.kb&this.ea.Sa;this.la[a]!=b&&(this.la[a]=b,this.Ua=!0)};Y[8192]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)};Y[24576]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d&this.ea.kb,d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[40960]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d|this.ea.kb,d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)};Y[57344]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d^this.ea.kb,d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +function Ci(a){var b=[];if(void 0!==a.jg){b[0]=a.Yb;b[1]=a.hc;b[2]=a.We;b[3]=a.Ff;b[4]=a.sc|a.ig<<8;b[5]=a.Vb;if(5==a.jg){var c=[];c[0]=a.ud;c[1]=a.Yd;c[2]=a.Hd;c[3]=a.Li;c[4]=a.og;c[5]=a.uh;c[6]=a.ve;c[7]=a.Mf;c[8]=a.xh;c[9]=a.yh;c[10]=a.ue;c[11]=a.je;c[12]=a.kb;c[13]=a.Bc;var d;a:if(d=a.Kd){var e=0,f=[];if(void 0!==d[0])for(var l=0;2>l;l++)for(var k=l;k>1;f[e++]=m;k=n}if(f.length>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),Sa(this.ma,b,c|d<<8);bb(this,!0)}};function Li(a){a.ia.pg&1?(a.Ac=a.$g,a.Nb=a.ia):(a.Ac=a.ia,a.Nb=a.Yf)}g.save=function(){var a=new H(this);a.set(0,Ei(this.$g));a.set(1,Ei(this.Yf));a.set(2,[this.zd,this.Nc,this.yd]);a.set(3,Ei(this.ia));return a.data()}; -g.restore=function(a){var b=a[2];this.zd=b[0];this.Nc=b[1];this.yd=b[2];this.za=null;this.Ac=this.$g=new yi(this,1,a[0]);this.Nb=this.Yf=new yi(this,3,a[1]);this.ia=new yi(this,5,a[3],this.Bc);this.ia.Yb&&Li(this);Mi(this);if(!Oi(this))return!1;Pi(this);return!0}; -g.xm=function(a,b,c){if(c)this.xa("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){t("Empty font ROM image: "+a);return}if(1==d.length){t(d[0]);return}if(8192==d.length)ei(this,d,[0,6144]);else{this.xa("Unrecognized font data length ("+d.length+")");return}}catch(e){this.xa("Font ROM data error: "+e.message);return}this.Oa()}}; -function Qi(a,b){if(1==b)return a.Qc[0]=W[0],a.Qc[1]=W[7],a.Qc;if(2==b){var c=a.za.Ve;if(a.za===a.ia){var d=a.ia.Id[0],c=d&7;d&16&&(c|=8);18!=a.ia.Id[1]&&(c|=32)}a.Qc[0]=W[c&15];c=c&32?vi:ui;for(d=0;deb||!ba?eb:8,id=Mh.createImageData(n.Wb,n.Xb),sa=0;256>sa;sa++){for(Qa= -0;Qa=eb-2,Pj=kc[Qa>(8<=qb&&176<=sa&&223>=sa?7:qb)?r:hd;Ti(id,Nh,Oh,Ph);L&&Ti(id,Nh+1,Oh,Ph)}Mh.putImageData(id,(sa&15)*n.Wb,(sa>>4)*n.Xb)}n.ie[x]="#"+aa(r[0])+aa(r[1])+aa(r[2]);n.Ti[x]=r;n.Pg[x]=lc;n=!0}}a.jd[b]=s;return n}function Ui(a){0a.Sd&&(a.Sd=0):a.Sd=-1} -function Pi(a){if(a.Ab){for(var b=10;15>=b;b++)if(null==a.za.Vb[b])return;var c=a.za.Vb[10],b=c&31,d=a.za.Vb[11]&31,e=a.za.Vb[9]&31,f=!1;a.za===a.ia&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Vi(a);else{c=a.za.Vb[15]+((a.za.Vb[14]&63)<<8);a.tc!=c&&(Vi(a),a.tc=c);d=d-b+1;if(a.Vk!=b||a.hj!=d)a.Vk=b,a.hj=d;a.sd=e+1;Ui(a)}}} -function Vi(a){if(0<=a.tc){if(void 0!==a.Lb){var b=a.Lb[a.tc];if(b&131072){var b=b&-131073,c=a.tc%a.lb,d=Math.floor(a.tc/a.lb);a.Ab&&a.jd[a.Ab]&&(a.pe&&Wi(a,c,d,b,a.pe),Wi(a,c,d,b));a.Lb[a.tc]=b}}a.tc=-1}} -function Xi(a){var b;a=a.za;var c=a.je[5];if(null!=c){b=2;var d=512,e=a.je[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.Mc=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}g.Fd=function(a){var b=this.za;null!=a&&b&&a!=b.Eh&&(b.Kg(a),this.ma.Kg(b.Ya,b.cc,b.Ne))}; -function Oi(a,b){var c,d=a.yd,e=a.za;if(e)if(1==e.kg)d=pi;else if(5==e.kg){var d=null,f=e.Bc>>2,l=32768f&&(d=c?13:14):c&&(d-=2));c=Xi(a)}}else e.hc&8&&(e.hc&2?(d=e.hc&16?6:5,e.hc&4||(d-=1)):(d=e.hc&1?3:1,e.hc&4&&(d-= -1)));else a.yd=null,null==d&&(d=a.Nc);if(!Ni(a,d,b))return!1;a.Fd(c);return!0} -function Ni(a,b,c){if(null!=b&&(b!=a.yd||c)){a.Zk=0;a.yd=b;b=a.za||(b==pi?a.Ac:a.Nb);if(b!=a.za||b.Ya!=a.Ya||b.cc!=a.cc){Vi(a);if(a.Ya){if(!Na(a.ma,a.Ya,a.cc))return!1;a.za&&(a.za.Yb=!1)}a.za=b;b.Yb=!0;a.Ya=b.Ya;a.cc=b.cc;if(!La(a.ma,b.Ya,b.cc,!1,b===a.ia?b:null))return!1}a.Ab=0;a.lb=a.vg;a.ac=a.Lh;a.Gh=U[pi][2];b=0;var d=U[a.yd];d&&(a.lb=d[0],a.ac=d[1],a.Gh=d[2],b=d[3]||0,a.Ab=d[4],4==a.zd&&a.za===a.ia&&3==a.Ab&&(7==a.ia.Vb[9]?a.ac=43:a.Ab=5));a.zj=a.lb*a.ac;a.sg=a.zj/a.Gh;a.ah=(a.sg<<1)+b;a.fj= -b?a.ah+b>>1:0;13<=a.yd&&(a.sg<<=1);a.jd.length&&(a.Vc=Math.floor(a.Uc/a.lb),a.Wc=Math.floor(a.td/a.ac),a.Ab?(b=a.jd[a.Ab],d=a.jd[a.Ab<<1],a.fl&&80==a.lb?d&&a.Vc>=3*d.Wb>>2&&(a.Ab<<=1,b=d):(d&&a.Vc>=d.Wb&&(a.Ab<<=1,b=d),b&&(a.Vc=b.Wb,a.Wc=b.Xb)),a.Ye=a.Ze=0,b&&(a.Ye=a.lb*b.Wb,a.Ze=a.ac*b.Xb)):(a.Vc=a.Wc=1,a.Ye=a.lb,a.Ze=a.ac),a.mg=a.Cc.createImageData(a.Ye,a.Ze),a.oe=window.document.createElement("canvas"),a.oe.width=a.Ye,a.oe.height=a.Ze,a.pe=a.oe.getContext("2d"),a.Pi=a.Qi=0,a.eh=a.Uc,a.fh=a.td, -b=a.Uc-a.lb*a.Vc,d=a.td-a.ac*a.Wc,0>1,a.eh-=b),0>1,a.fh-=d),b||d)&&(a.Cc.fillStyle=a.qb.style.backgroundColor,a.Cc.fillRect(0,0,a.Uc,a.td));!1!==c?bb(a,!0):Yi(a,!0)}return!0}function Ti(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Yi(a,b){var c;if(b){if(c=a.sg,void 0===a.Lb||a.Lb.length!=c)a.Lb=Array(c)}else{if(void 0===a.Lb)return;c=a.Lb.length}for(var d=0;d>8;d=l&15;var k=a.jd[a.Ab];k.Ie&&(d=k.Ie[d]);var m=l>>4&15;k.Ie&&(m=k.Ie[m]);e?(b*=k.Wb,c*=k.Xb,e.fillStyle=k.ie[m],e.fillRect(b,c,k.Wb,k.Xb)):(b=b*a.Vc+a.Pi,c=c*a.Wc+a.Qi,a.Cc.fillStyle=k.ie[m],a.Cc.fillRect(b,c,a.Vc,a.Wc));l&256&&(m=(f&15)*k.Wb,f=(f>>4)*k.Xb,e?e.drawImage(k.Pg[d],m,f,k.Wb,k.Xb,b,c,k.Wb,k.Xb):a.Cc.drawImage(k.Pg[d],m,f,k.Wb,k.Xb,b,c,a.Vc,a.Wc));l&512&&(f=a.Vk,l=a.hj,e?(a.sd&&a.sd!==k.Xb&&(f=Math.floor(f*k.Xb/a.sd),l=Math.floor(l*k.Xb/a.sd)), +g.reset=function(){var a=!0,b=0;this.ga&&(b=nh(this.ga));var c=!1;if(this.Da)switch(this.Da){case "ega":var c=!0,d=pi[this.Qf];d&&(b=d[0]);b||(b=4);break;case "mda":b=3;break;default:b=2}this.zd!==b&&(this.zd=b,a=!0);this.za=null;this.Ac=this.Zg=new wi(this,1);this.Nb=this.Yf=new wi(this,3);c?(this.ia=new wi(this,5,null,this.Bc),Ji(this)):this.ia=new wi;Ki(this);this.yd=null;this.Nc=3==b?ni:3;this.Rd=this.tc=-1;this.Qd=0;Li(this,this.Nc);if(this.za.Ya&&a){a=this.za.Ya+this.$g;for(b=this.za.Ya;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),Sa(this.ma,b,c|d<<8);ab(this,!0)}};function Ji(a){a.ia.og&1?(a.Ac=a.Zg,a.Nb=a.ia):(a.Ac=a.ia,a.Nb=a.Yf)}g.save=function(){var a=new G(this);a.set(0,Ci(this.Zg));a.set(1,Ci(this.Yf));a.set(2,[this.zd,this.Nc,this.yd]);a.set(3,Ci(this.ia));return a.data()}; +g.restore=function(a){var b=a[2];this.zd=b[0];this.Nc=b[1];this.yd=b[2];this.za=null;this.Ac=this.Zg=new wi(this,1,a[0]);this.Nb=this.Yf=new wi(this,3,a[1]);this.ia=new wi(this,5,a[3],this.Bc);this.ia.Yb&&Ji(this);Ki(this);if(!Mi(this))return!1;Ni(this);return!0}; +g.vm=function(a,b,c){if(c)this.xa("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){t("Empty font ROM image: "+a);return}if(1==d.length){t(d[0]);return}if(8192==d.length)ci(this,d,[0,6144]);else{this.xa("Unrecognized font data length ("+d.length+")");return}}catch(e){this.xa("Font ROM data error: "+e.message);return}this.Oa()}}; +function Oi(a,b){if(1==b)return a.Qc[0]=W[0],a.Qc[1]=W[7],a.Qc;if(2==b){var c=a.za.We;if(a.za===a.ia){var d=a.ia.Hd[0],c=d&7;d&16&&(c|=8);18!=a.ia.Hd[1]&&(c|=32)}a.Qc[0]=W[c&15];c=c&32?ti:si;for(d=0;deb||!aa?eb:8,hd=Lh.createImageData(n.Wb,n.Xb),ra=0;256>ra;ra++){for(Qa= +0;Qa=eb-2,Nj=jc[Qa>(8<=qb&&176<=ra&&223>=ra?7:qb)?r:gd;Ri(hd,Mh,Nh,Oh);L&&Ri(hd,Mh+1,Nh,Oh)}Lh.putImageData(hd,(ra&15)*n.Wb,(ra>>4)*n.Xb)}n.ie[x]="#"+ca(r[0])+ca(r[1])+ca(r[2]);n.Si[x]=r;n.Og[x]=kc;n=!0}}a.jd[b]=s;return n}function Si(a){0a.Rd&&(a.Rd=0):a.Rd=-1} +function Ni(a){if(a.Ab){for(var b=10;15>=b;b++)if(null==a.za.Vb[b])return;var c=a.za.Vb[10],b=c&31,d=a.za.Vb[11]&31,e=a.za.Vb[9]&31,f=!1;a.za===a.ia&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Ti(a);else{c=a.za.Vb[15]+((a.za.Vb[14]&63)<<8);a.tc!=c&&(Ti(a),a.tc=c);d=d-b+1;if(a.Sk!=b||a.ej!=d)a.Sk=b,a.ej=d;a.sd=e+1;Si(a)}}} +function Ti(a){if(0<=a.tc){if(void 0!==a.Lb){var b=a.Lb[a.tc];if(b&131072){var b=b&-131073,c=a.tc%a.lb,d=Math.floor(a.tc/a.lb);a.Ab&&a.jd[a.Ab]&&(a.pe&&Ui(a,c,d,b,a.pe),Ui(a,c,d,b));a.Lb[a.tc]=b}}a.tc=-1}} +function Vi(a){var b;a=a.za;var c=a.je[5];if(null!=c){b=2;var d=512,e=a.je[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.Mc=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}g.fe=function(a){var b=this.za;null!=a&&b&&a!=b.Dh&&(b.Jg(a),this.ma.Jg(b.Ya,b.cc,b.Oe))}; +function Mi(a,b){var c,d=a.yd,e=a.za;if(e)if(1==e.jg)d=ni;else if(5==e.jg){var d=null,f=e.Bc>>2,l=32768f&&(d=c?13:14):c&&(d-=2));c=Vi(a)}}else e.hc&8&&(e.hc&2?(d=e.hc&16?6:5,e.hc&4||(d-=1)):(d=e.hc&1?3:1,e.hc&4&&(d-= +1)));else a.yd=null,null==d&&(d=a.Nc);if(!Li(a,d,b))return!1;a.fe(c);return!0} +function Li(a,b,c){if(null!=b&&(b!=a.yd||c)){a.Wk=0;a.yd=b;b=a.za||(b==ni?a.Ac:a.Nb);if(b!=a.za||b.Ya!=a.Ya||b.cc!=a.cc){Ti(a);if(a.Ya){if(!Na(a.ma,a.Ya,a.cc))return!1;a.za&&(a.za.Yb=!1)}a.za=b;b.Yb=!0;a.Ya=b.Ya;a.cc=b.cc;if(!La(a.ma,b.Ya,b.cc,!1,b===a.ia?b:null))return!1}a.Ab=0;a.lb=a.ug;a.ac=a.Kh;a.Fh=U[ni][2];b=0;var d=U[a.yd];d&&(a.lb=d[0],a.ac=d[1],a.Fh=d[2],b=d[3]||0,a.Ab=d[4],4==a.zd&&a.za===a.ia&&3==a.Ab&&(7==a.ia.Vb[9]?a.ac=43:a.Ab=5));a.wj=a.lb*a.ac;a.rg=a.wj/a.Fh;a.$g=(a.rg<<1)+b;a.cj= +b?a.$g+b>>1:0;13<=a.yd&&(a.rg<<=1);a.jd.length&&(a.Vc=Math.floor(a.Uc/a.lb),a.Wc=Math.floor(a.td/a.ac),a.Ab?(b=a.jd[a.Ab],d=a.jd[a.Ab<<1],a.dl&&80==a.lb?d&&a.Vc>=3*d.Wb>>2&&(a.Ab<<=1,b=d):(d&&a.Vc>=d.Wb&&(a.Ab<<=1,b=d),b&&(a.Vc=b.Wb,a.Wc=b.Xb)),a.Ze=a.$e=0,b&&(a.Ze=a.lb*b.Wb,a.$e=a.ac*b.Xb)):(a.Vc=a.Wc=1,a.Ze=a.lb,a.$e=a.ac),a.lg=a.Cc.createImageData(a.Ze,a.$e),a.oe=window.document.createElement("canvas"),a.oe.width=a.Ze,a.oe.height=a.$e,a.pe=a.oe.getContext("2d"),a.Oi=a.Pi=0,a.dh=a.Uc,a.eh=a.td, +b=a.Uc-a.lb*a.Vc,d=a.td-a.ac*a.Wc,0>1,a.dh-=b),0>1,a.eh-=d),b||d)&&(a.Cc.fillStyle=a.qb.style.backgroundColor,a.Cc.fillRect(0,0,a.Uc,a.td));!1!==c?ab(a,!0):Wi(a,!0)}return!0}function Ri(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Wi(a,b){var c;if(b){if(c=a.rg,void 0===a.Lb||a.Lb.length!=c)a.Lb=Array(c)}else{if(void 0===a.Lb)return;c=a.Lb.length}for(var d=0;d>8;d=l&15;var k=a.jd[a.Ab];k.Je&&(d=k.Je[d]);var m=l>>4&15;k.Je&&(m=k.Je[m]);e?(b*=k.Wb,c*=k.Xb,e.fillStyle=k.ie[m],e.fillRect(b,c,k.Wb,k.Xb)):(b=b*a.Vc+a.Oi,c=c*a.Wc+a.Pi,a.Cc.fillStyle=k.ie[m],a.Cc.fillRect(b,c,a.Vc,a.Wc));l&256&&(m=(f&15)*k.Wb,f=(f>>4)*k.Xb,e?e.drawImage(k.Og[d],m,f,k.Wb,k.Xb,b,c,k.Wb,k.Xb):a.Cc.drawImage(k.Og[d],m,f,k.Wb,k.Xb,b,c,a.Vc,a.Wc));l&512&&(f=a.Sk,l=a.ej,e?(a.sd&&a.sd!==k.Xb&&(f=Math.floor(f*k.Xb/a.sd),l=Math.floor(l*k.Xb/a.sd)), e.fillStyle=k.ie[d],e.fillRect(b,c+f,k.Wb,l)):(a.sd&&a.sd!==a.Wc&&(f=Math.floor(f*a.Wc/a.sd),l=Math.floor(l*a.Wc/a.sd)),a.Cc.fillStyle=k.ie[d],a.Cc.fillRect(b,c+f,a.Vc,l)))} -function bb(a,b){if(a.zb){var c=!1;a.za&&(a.za===a.ia?a.ia.Zd&32&&(c=!0):a.za.hc&8&&(c=!0));if(c||b){if(b)Yi(a,!0);else if(void 0===a.Lb)return;var d=!1;!(b||++a.Zk&15)&&0<=a.Sd&&(a.Sd++,d=!0);var e=0,f=a.zj,c=a.za.Ya,l=c+a.za.cc,k=(a.za.Vb[12]<<8)+a.za.Vb[13];a.Ab&&(k<<=1);var c=c+k,m=a.ah;c+m>l&&(m=l-c,0>m&&(m=0));l=c+m;if(k=!b){for(var k=a.ma,n=!0,q=c>>k.Ib;0a.tc)return;e=a.tc;f=e+1}}if(a.Ab){if(a.jd[a.Ab]){d= -0;k=a.Rd=0;m=1048575;a.za.hc&32&&(k=32768,m&=~k,a.Sd&2||(m&=-65537));for(c+=e<<1;c>8| -(s&255)<<8;r=k;var eb=16;q>=m))>>(eb-=m);Ti(a.mg,q++,x,n[hd])}q>V&&(V=q);x=ca&&(ca=x+1)}e+=2;l++;if(q>=a.lb){q=0;x+=2;if(x>a.ac)break;x==a.ac&&(x=1,e=c+a.fj)}}Lba;ba++)ca=V&2155905152, -0>ca&&(ca=-ca),ca=X[ca]||0,Ti(a.mg,k++,m,l[ca]),V<<=1;k>q&&(q=k);m=L&&(L=m+1)}e++;if(k>=a.lb&&(k=0,++m>a.ac))break}n>2),a=this.ia.Mi&-17|(this.Qf&1<e&&(e=0);e%b.Jh>b.rm&&(c|=1);e%=b.Cj;e>b.tm&&(c|=8);b.Oh=d-e;b===a.ia?(c|=b.Ff&48^48,b.ud=!1):c=(b.Ff^=9)|240;return b.Ff=c} -var Fi={948:T.prototype.Tl,949:T.prototype.Sl,952:T.prototype.Ul,954:T.prototype.Vl,980:T.prototype.Bl,981:T.prototype.Al,984:T.prototype.Cl,985:T.prototype.zl,986:T.prototype.Dl},Gi={948:T.prototype.cn,949:T.prototype.bn,952:T.prototype.dn,980:T.prototype.Om,981:T.prototype.Nm,984:T.prototype.Pm,985:T.prototype.Mm},Hi={960:T.prototype.vj,961:T.prototype.vj,962:T.prototype.em,964:T.prototype.dm,965:T.prototype.cm,970:T.prototype.Ml,972:T.prototype.Ll,974:T.prototype.Kl,975:T.prototype.Jl},Ii={954:T.prototype.Fk, -960:T.prototype.Ek,961:T.prototype.Ek,962:T.prototype.fn,964:T.prototype.nn,965:T.prototype.mn,970:T.prototype.Ym,972:T.prototype.Xm,974:T.prototype.Wm,975:T.prototype.Vm,986:T.prototype.Fk}; +function ab(a,b){if(a.zb){var c=!1;a.za&&(a.za===a.ia?a.ia.Yd&32&&(c=!0):a.za.hc&8&&(c=!0));if(c||b){if(b)Wi(a,!0);else if(void 0===a.Lb)return;var d=!1;!(b||++a.Wk&15)&&0<=a.Rd&&(a.Rd++,d=!0);var e=0,f=a.wj,c=a.za.Ya,l=c+a.za.cc,k=(a.za.Vb[12]<<8)+a.za.Vb[13];a.Ab&&(k<<=1);var c=c+k,m=a.$g;c+m>l&&(m=l-c,0>m&&(m=0));l=c+m;if(k=!b){for(var k=a.ma,n=!0,q=c>>k.Ib;0a.tc)return;e=a.tc;f=e+1}}if(a.Ab){if(a.jd[a.Ab]){d= +0;k=a.Qd=0;m=1048575;a.za.hc&32&&(k=32768,m&=~k,a.Rd&2||(m&=-65537));for(c+=e<<1;c>8| +(s&255)<<8;r=k;var eb=16;q>=m))>>(eb-=m);Ri(a.lg,q++,x,n[gd])}q>V&&(V=q);x=ba&&(ba=x+1)}e+=2;l++;if(q>=a.lb){q=0;x+=2;if(x>a.ac)break;x==a.ac&&(x=1,e=c+a.cj)}}Laa;aa++)ba=V&2155905152, +0>ba&&(ba=-ba),ba=X[ba]||0,Ri(a.lg,k++,m,l[ba]),V<<=1;k>q&&(q=k);m=L&&(L=m+1)}e++;if(k>=a.lb&&(k=0,++m>a.ac))break}n>2),a=this.ia.Li&-17|(this.Qf&1<e&&(e=0);e%b.Ih>b.pm&&(c|=1);e%=b.zj;e>b.rm&&(c|=8);b.Nh=d-e;b===a.ia?(c|=b.Ff&48^48,b.ud=!1):c=(b.Ff^=9)|240;return b.Ff=c} +var Di={948:T.prototype.Rl,949:T.prototype.Ql,952:T.prototype.Sl,954:T.prototype.Tl,980:T.prototype.zl,981:T.prototype.yl,984:T.prototype.Al,985:T.prototype.xl,986:T.prototype.Bl},Ei={948:T.prototype.an,949:T.prototype.$m,952:T.prototype.bn,980:T.prototype.Mm,981:T.prototype.Lm,984:T.prototype.Nm,985:T.prototype.Km},Fi={960:T.prototype.sj,961:T.prototype.sj,962:T.prototype.cm,964:T.prototype.bm,965:T.prototype.am,970:T.prototype.Kl,972:T.prototype.Jl,974:T.prototype.Il,975:T.prototype.Hl},Gi={954:T.prototype.Ck, +960:T.prototype.Bk,961:T.prototype.Bk,962:T.prototype.dn,964:T.prototype.ln,965:T.prototype.kn,970:T.prototype.Wm,972:T.prototype.Vm,974:T.prototype.Um,975:T.prototype.Tm,986:T.prototype.Ck}; u(function(){for(var a=B(window.document,"pcjs","video"),b=0;bMissing <canvas> support; try a new web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.setAttribute("contenteditable","true");e.setAttribute("autocapitalize","off");e.setAttribute("autocorrect","off");e.style.backgroundColor=d.screenColor; e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=e.getContext("2d"),d=new T(d,e,f);A(d,c)}}); -function Z(a){this.sj=a.adapter;switch(this.sj){case 1:this.Ei=1016;this.pf=4;break;case 2:this.Ei=760;this.pf=3;break;default:t("Unrecognized serial adapter #"+this.sj);return}this.qd=null;v.call(this,"SerialPort",a,Z);var b=a.binding,c;a=bj;b&&(void 0===c&&(c="Panel"),(c=Ca(c,this.id))&&(b=c.oa[b])&&this.tb(null,null,a,b))}y(v,Z);var bj="buffer";g=Z.prototype;g.Xi=function(a,b){return a==this.Bh?(this.wj=b,this):null}; -g.tb=function(a,b,c,d){var e=this;switch(c){case bj:return this.oa[c]=this.qd=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),cj(e,[b]))},d.onkeypress=function(a){a=a||window.event;cj(e,[a.which||a.keyCode])},!0}return!1};g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.ga=C(a,"ChipSet");Ua(b,this,dj,this.Ei);Wa(b,this,ej,this.Ei);this.Oa()}; -g.Sb=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};g.Jb=function(a){return a&&this.save?this.save():!0};g.reset=function(){this.wd()};g.save=function(){var a=new H(this),b=0,c=[];c[b++]=this.Xg;c[b++]=this.aj;c[b++]=this.he;c[b++]=this.Rf;c[b++]=this.ld;c[b++]=this.Od;c[b++]=this.Ic;c[b++]=this.mc;c[b++]=this.Zi;c[b]=this.Je;a.set(0,c);return a.data()};g.restore=function(a){return this.wd(a[0])}; -g.wd=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Xg=a[b++];this.aj=a[b++];this.he=a[b++];this.Rf=a[b++];this.ld=a[b++];this.Od=a[b++];this.Ic=a[b++];this.mc=a[b++];this.Zi=a[b++];this.Je=a[b];return!0};function cj(a,b){a.Je=a.Je.concat(b);fj(a)}function fj(a){0>8:this.Rf};g.Ol=function(){return this.ld};g.Pl=function(){return this.Od};g.Rl=function(){return this.Ic};g.Ql=function(){return this.mc};g.Xl=function(){return this.Zi}; -g.on=function(a,b){if(this.Od&128)this.he=this.he&-256|b;else{this.aj=b;this.mc&=-97;var c;this.qd?(13!=b&&(8==b?this.qd.value=this.qd.value.slice(0,-1):(this.qd.value+=String.fromCharCode(b),this.qd.scrollTop=this.qd.scrollHeight)),c=!0):c=!1;c&&(this.mc|=96)}};g.Zm=function(a,b){this.Od&128?this.he=this.he&255|b<<8:this.Rf=b};g.$m=function(a,b){this.Od=b}; -g.an=function(a,b){var c=this.Ic;this.Ic=b;if(this.wj&&(c^b)&3){var c=this.wj,d=this.Ic,e=3==(d&3);if(e){if(!c.Yb){var f=!1;c.Ic&2||(c.reset(),f=!0);c.Ic&1||(f=!0);f&&cj(c.We,[77]);gj(c,c.qb);c.Yb=e}}else c.Yb&&(hj(c.qb),c.Yb=e);c.Ic=d}};var dj={0:Z.prototype.bm,1:Z.prototype.Nl,2:Z.prototype.Ol,3:Z.prototype.Pl,4:Z.prototype.Rl,5:Z.prototype.Ql,6:Z.prototype.Xl},ej={0:Z.prototype.on,1:Z.prototype.Zm,3:Z.prototype.$m,4:Z.prototype.an}; -u(function(){for(var a=B(window.document,"pcjs","serial"),b=0;ba.Gf||0>a.Hf)a.Gf=b.clientX,a.Hf=b.clientY;a.Ee=b.clientX-a.Gf;a.Fe=b.clientY-a.Hf;(a.Ee||a.Fe)&&jj(a);a.Gf=b.clientX;a.Hf=b.clientY}},!1),b.addEventListener("mousedown",function(b){kj(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){kj(a,b.button,!1)},!1),a.mh=!0),b.style.cursor="none")}function hj(a){a&&(a.style.cursor="auto")} -function kj(a,b,c){if(a.Yb&&a.ja&&a.ja.rc)switch(b){case 0:a.dg!=c&&(a.dg=c,jj(a));break;case 2:a.eg!=c&&(a.eg=c,jj(a))}}function jj(a){cj(a.We,[64|(a.dg?32:0)|(a.eg?16:0)|(a.Fe&192)>>4|(a.Ee&192)>>6,a.Ee&63,a.Fe&63]);a.Ee=a.Fe=0}u(function(){for(var a=B(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.ic+":"+this.Zb+":"+this.Gc+":"+this.yb,a+="&machine="+this.ea.te(),a+="&user="+this.ea.vd(),d=la()+"/api/v1/disk?"+a,this.sh=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): --1!==b.indexOf("/",b.length-1)&&(c="dir"),d=la()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.re?"":d)+"&format=json"));p(d,!0,null,this,this.um,b)}; -g.um=function(a,b,c,d){var e=null;this.se=!1;var f=0>c&&this.Fa&&!this.Fa.zb;if(this.sh)c?this.xa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Yc=!0,e=this);else if(c)this.xa('Unable to load disk "'+this.fd+'" (error '+c+")",f);else try{if(0l&&0b.indexOf("0x")&&'["'!= +function Z(a){this.pj=a.adapter;switch(this.pj){case 1:this.Di=1016;this.pf=4;break;case 2:this.Di=760;this.pf=3;break;default:t("Unrecognized serial adapter #"+this.pj);return}this.qd=null;v.call(this,"SerialPort",a,Z);var b=a.binding,c;a=$i;b&&(void 0===c&&(c="Panel"),(c=Ca(c,this.id))&&(b=c.oa[b])&&this.tb(null,null,a,b))}y(v,Z);var $i="buffer";g=Z.prototype;g.Vi=function(a,b){return a==this.Ah?(this.tj=b,this):null}; +g.tb=function(a,b,c,d){var e=this;switch(c){case $i:return this.oa[c]=this.qd=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),aj(e,[b]))},d.onkeypress=function(a){a=a||window.event;aj(e,[a.which||a.keyCode])},!0}return!1};g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.ga=C(a,"ChipSet");Ua(b,this,bj,this.Di);Wa(b,this,cj,this.Di);this.Oa()}; +g.Sb=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};g.Jb=function(a){return a&&this.save?this.save():!0};g.reset=function(){this.wd()};g.save=function(){var a=new G(this),b=0,c=[];c[b++]=this.Wg;c[b++]=this.Zi;c[b++]=this.he;c[b++]=this.Rf;c[b++]=this.ld;c[b++]=this.Nd;c[b++]=this.Ic;c[b++]=this.mc;c[b++]=this.Xi;c[b]=this.Ke;a.set(0,c);return a.data()};g.restore=function(a){return this.wd(a[0])}; +g.wd=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Wg=a[b++];this.Zi=a[b++];this.he=a[b++];this.Rf=a[b++];this.ld=a[b++];this.Nd=a[b++];this.Ic=a[b++];this.mc=a[b++];this.Xi=a[b++];this.Ke=a[b];return!0};function aj(a,b){a.Ke=a.Ke.concat(b);dj(a)}function dj(a){0>8:this.Rf};g.Ml=function(){return this.ld};g.Nl=function(){return this.Nd};g.Pl=function(){return this.Ic};g.Ol=function(){return this.mc};g.Vl=function(){return this.Xi}; +g.mn=function(a,b){if(this.Nd&128)this.he=this.he&-256|b;else{this.Zi=b;this.mc&=-97;var c;this.qd?(13!=b&&(8==b?this.qd.value=this.qd.value.slice(0,-1):(this.qd.value+=String.fromCharCode(b),this.qd.scrollTop=this.qd.scrollHeight)),c=!0):c=!1;c&&(this.mc|=96)}};g.Xm=function(a,b){this.Nd&128?this.he=this.he&255|b<<8:this.Rf=b};g.Ym=function(a,b){this.Nd=b}; +g.Zm=function(a,b){var c=this.Ic;this.Ic=b;if(this.tj&&(c^b)&3){var c=this.tj,d=this.Ic,e=3==(d&3);if(e){if(!c.Yb){var f=!1;c.Ic&2||(c.reset(),f=!0);c.Ic&1||(f=!0);f&&aj(c.Xe,[77]);ej(c,c.qb);c.Yb=e}}else c.Yb&&(fj(c.qb),c.Yb=e);c.Ic=d}};var bj={0:Z.prototype.$l,1:Z.prototype.Ll,2:Z.prototype.Ml,3:Z.prototype.Nl,4:Z.prototype.Pl,5:Z.prototype.Ol,6:Z.prototype.Vl},cj={0:Z.prototype.mn,1:Z.prototype.Xm,3:Z.prototype.Ym,4:Z.prototype.Zm}; +u(function(){for(var a=B(window.document,"pcjs","serial"),b=0;ba.Gf||0>a.Hf)a.Gf=b.clientX,a.Hf=b.clientY;a.Fe=b.clientX-a.Gf;a.Ge=b.clientY-a.Hf;(a.Fe||a.Ge)&&hj(a);a.Gf=b.clientX;a.Hf=b.clientY}},!1),b.addEventListener("mousedown",function(b){ij(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){ij(a,b.button,!1)},!1),a.lh=!0),b.style.cursor="none")}function fj(a){a&&(a.style.cursor="auto")} +function ij(a,b,c){if(a.Yb&&a.ja&&a.ja.rc)switch(b){case 0:a.cg!=c&&(a.cg=c,hj(a));break;case 2:a.dg!=c&&(a.dg=c,hj(a))}}function hj(a){aj(a.Xe,[64|(a.cg?32:0)|(a.dg?16:0)|(a.Ge&192)>>4|(a.Fe&192)>>6,a.Fe&63,a.Ge&63]);a.Fe=a.Ge=0}u(function(){for(var a=B(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.ic+":"+this.Zb+":"+this.Gc+":"+this.yb,a+="&machine="+this.ea.te(),a+="&user="+this.ea.vd(),d=la()+"/api/v1/disk?"+a,this.rh=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): +-1!==b.indexOf("/",b.length-1)&&(c="dir"),d=la()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.re?"":d)+"&format=json"));p(d,!0,null,this,this.sm,b)}; +g.sm=function(a,b,c,d){var e=null;this.se=!1;var f=0>c&&this.Fa&&!this.Fa.zb;if(this.rh)c?this.xa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Yc=!0,e=this);else if(c)this.xa('Unable to load disk "'+this.fd+'" (error '+c+")",f);else try{if(0l&&0b.indexOf("0x")&&'["'!= b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(k.length)if(1==k.length)t(k[0]);else{for(b=a=0;b>2,q=m.pattern;void 0===q&&(q=m.pattern=0);var s=m.data;if(void 0===s){var r=m.bytes;if(void 0!==r&&r.length){for(var f=n<<2,x=r.length;xb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=l>>16&255;c[d++]=l>>24&255}return c}function tj(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} -g.write=function(a,b,c){if(this.se)return!1;if(b>2;b=(b&3)<<3;for(var l=d.length;l<=f;l++)d[l]=e;a.oc?f=a.Fc+a.oc&&(a.oc+=f-(a.Fc+a.oc)+1):(a.Fc=f,a.oc=1);d[f]=d[f]&~(255<=this.Fb.length||m>=this.Fb[k].length||n>=this.Fb[k][m].length){c="sector "+k+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.se){c="unable to modify write-protected disk";b=-1;break}e= +s;delete m.bytes}mj(m,b,c);for(f=0;fb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=l>>16&255;c[d++]=l>>24&255}return c}function rj(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} +g.write=function(a,b,c){if(this.se)return!1;if(b>2;b=(b&3)<<3;for(var l=d.length;l<=f;l++)d[l]=e;a.oc?f=a.Fc+a.oc&&(a.oc+=f-(a.Fc+a.oc)+1):(a.Fc=f,a.oc=1);d[f]=d[f]&~(255<=this.Fb.length||m>=this.Fb[k].length||n>=this.Fb[k][m].length){c="sector "+k+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.se){c="unable to modify write-protected disk";b=-1;break}e= l[f++];f=l[f++];l=e+f.length;k=this.Fb[k][m][n];for(m=k.data.length;mb&&this.xa("unable to restore disk '"+this.fd+": "+c);return b}; -function uj(a){v.call(this,"FDC",a,uj);this.dmaRead=this.gh;this.dmaWrite=this.hh;this.dmaFormat=this.$k;this.de=null;if(a.autoMount&&(this.de=a.autoMount,"string"==typeof this.de))try{this.de=eval("("+a.autoMount+")")}catch(b){t("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.de=null}this.dc=[];this.Zc();this.Oe()||this.Oa()}y(v,uj); -var vj={3:{pd:3,Ud:0,name:"SPECIFY"},4:{pd:2,Ud:1,name:"DRIVE_STATUS"},5:{pd:9,Ud:7,name:"WRITE_DATA"},6:{pd:9,Ud:7,name:"READ_DATA"},7:{pd:2,Ud:0,name:"RECALIBRATE"},8:{pd:1,Ud:2,name:"INT_STATUS"},13:{pd:6,Ud:7,name:"FORMAT"},15:{pd:3,Ud:0,name:"SEEK"}};g=uj.prototype; +function sj(a){v.call(this,"FDC",a,sj);this.dmaRead=this.fh;this.dmaWrite=this.gh;this.dmaFormat=this.Yk;this.ce=null;if(a.autoMount&&(this.ce=a.autoMount,"string"==typeof this.ce))try{this.ce=eval("("+a.autoMount+")")}catch(b){t("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.ce=null}this.dc=[];this.Zc();this.Pe()||this.Oa()}y(v,sj); +var tj={3:{pd:3,Td:0,name:"SPECIFY"},4:{pd:2,Td:1,name:"DRIVE_STATUS"},5:{pd:9,Td:7,name:"WRITE_DATA"},6:{pd:9,Td:7,name:"READ_DATA"},7:{pd:2,Td:0,name:"RECALIBRATE"},8:{pd:1,Td:2,name:"INT_STATUS"},13:{pd:6,Td:7,name:"FORMAT"},15:{pd:3,Td:0,name:"SEEK"}};g=sj.prototype; g.tb=function(a,b,c,d){switch(c){case "listDisks":return this.oa[c]=d,a=window.document.createElement("option"),a.value="?",a.innerHTML="User-defined URL...",d.appendChild(a),d.onchange=function(a,b){return function(){var c=a.oa.descDisk;if(c){var d=b.options[b.selectedIndex];if(d){var m={};if(d=d.getAttribute("data-value"))try{m=eval("({"+d+"})")}catch(n){t("FDC option error: "+(n.message||n))}d=m.desc;void 0===d&&(d="");m=m.href;void 0!==m&&(d=''+d+"");c.innerHTML= -d}}}}(this,d),!0;case "descDisk":case "listDrives":return this.oa[c]=d,d.onchange=function(a,b){return function(){var c=parseInt(b.value,10);isNaN(c)||wj(a,c)}}(this,d),!0;case "loadDrive":return this.oa[c]=d,d.onclick=function(a){return function(){var b,c=a.oa.listDisks,d=a.oa.listDrives;if(c&&d&&!isNaN(b=parseInt(d.value,10))&&0<=b&&ba.ra.restore(f)&&(e=!1);e&&a.ra&&void 0!==a.Sa&&(a.Ma=a.ra.seek(a.ib,a.La,a.Pa));return e};g.Ki=function(){for(var a=0,b=[],c=0;ca.ic&&(this.xa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.jb)),b=null);b&&(a.ra=b,a.Nk=c,a.fe=d,Dj(this,c,d,b),this.Ed|=128,this.xa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.jb),a.Yd));a.Yd&&(a.Yd=!1,--this.Qd||this.Oa());wj(this,a.jb)}; -function wj(a,b){if(0<=b&&b=this.Ua&&(this.ta&=-81,this.fb=this.Ua=0);return a}; -g.Tm=function(a,b){this.Ua=vj[c].pd){var d=!1;this.fb=0;var e,f,c=this.Ia()&31;switch(c){case 3:this.Ia("SRT");this.Ia("HLT");this.pb();break;case 4:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];this.pb();this.cb((e.Ra&4278190080)>>>24,"ST3");break;case 5:case 6:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;e.ib=this.Ia("C");this.Ia("H");e.Pa=this.Ia("R");d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Ra&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 7:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.ib=e.kd=0;e.Ra=268435488;this.pb();d=!0;break;case 8:e=this.sa[this.jb];e.La=0;this.pb();Ej(this,e);this.cb(e.ib,"PCN");break;case 13:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Ra&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 15:f=this.Ia("DS"),this.jb=f&3,e=this.sa[this.jb],e.La=f>>2&1,c=this.Ia("NCN"),e.ib+=c-e.kd,0>e.ib&&(e.ib=0),e.ib>=e.ic&&(e.ib=e.ic-1),e.kd=c,e.Ra=32,0==e.ib&&(e.Ra|=268435456),this.pb(),d=!0}0b?this.vc(a,c):c(-1,!1)};g.hh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.$k=function(a,b){return void 0!==b&&0<=b?this.Oi(a,b):-1}; -g.ih=function(a){a.Ra=72;a.ra&&(a.Ma=null,a.Ra=0,this.ga&&(Gh(this.ga,2,this,"dmaRead",a),Eh(this.ga,2)))};g.jh=function(a){a.Ra=72;a.ra&&(a.ra.se?a.Ra=576:(a.Ma=null,a.Ra=0,this.ga&&(Gh(this.ga,2,this,"dmaWrite",a),Eh(this.ga,2))))};g.ij=function(a){a.Ra=72;a.ra&&(a.Ma=null,a.Ra=0,this.ga&&(a.Td=0,a.ec=Array(4),a.Pe=!0,a.Ue=0,Gh(this.ga,2,this,"dmaFormat",a),Eh(this.ga,2),a.Pe=!1))}; -g.vc=function(a,b){var c=-1;if(!a.Ra&&a.ra){do{if(a.Ma&&0<=(c=tj(a.Ma,a.Sa++)))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Ra=1088;break}a.Sa=0;this.Me(a)}while(1)}b(c,!1)};g.xc=function(a,b){if(a.Ra||!a.ra)return-1;do{if(a.Ma&&a.ra.write(a.Ma,a.Sa++,b))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Ra=8256;b=-1;break}a.Sa=0;this.Me(a)}while(1);return b};g.Me=function(a){a.Pa++;a.Pa>=a.Gc+1&&(a.Pa=1,a.La++,a.La>=a.Zb&&(a.La=0,a.ib++))}; -g.Oi=function(a,b){if(a.Ra)return-1;a.ec[a.Td++]=b;if(a.Td==a.ec.length){a.ib=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Yi))return-1;a.Ue++}a.Ue>=a.nd&&(b=-1);return b};var zj={1012:uj.prototype.Il,1013:uj.prototype.Gl,1015:uj.prototype.Hl},Aj={1010:uj.prototype.Um,1013:uj.prototype.Tm,1015:uj.prototype.Sm};u(function(){for(var a=B(window.document,"pcjs","fdc"),b=0;b=e&&(this.yf|=(f.type&3)<<(1-e<<1))}return d}; -g.Ii=function(){var a=0,b=[];this.Xd?(b[a++]=this.Dd,b[a++]=this.Mk,b[a++]=this.Fg,b[a++]=this.Gg,b[a++]=this.Eg,b[a++]=this.Dg,b[a++]=this.zf,b[a++]=this.ta,b[a++]=this.Gi):(b[a++]=this.yf,b[a++]=this.ta,b[a++]=this.Kb,b[a++]=this.fb,b[a++]=this.Ua,b[a++]=this.Lk,b[a++]=this.Kk,b[a++]=this.Jk,b[a++]=this.cf);b[a]=this.Ki();return b}; -g.Ch=function(a,b,c,d,e){var f=0,l=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.jb=a;b.errorCode=d[f++];b.Rk=d[f++];b.re=d[f++];b.ke=d[f++];b.le=d[f++];b.La=d[f++];b.Zb=d[f++];b.Hd=d[f++];b.Pa=d[f++];b.nd=d[f++];b.Xa=d[f++];b.Wf=this.Xd?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.vd()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===Fj[this.df][b.type])b.type=this.ll;c=Fj[this.df][b.type]; -b.Gc=c[2]||17;b.yb=c[3]||512;if(e&&this.ga&&(e=this.ga,c=b.type,e.ka)){var k=e.ka[18],k=a?k&240|c:k&15|c<<4;e.ka&&(e.ka[18]=k,sh(e))}void 0===b.ra&&(b.ra=null,this.xa("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Kj(this,b);b.Sa=d[f++];b.Ma=null;b.ra&&(a=d[f],void 0!==a&&0>b.ra.restore(a)&&(l=!1),l&&void 0!==b.Sa&&(b.Ma=b.ra.seek(b.Hd,b.La,b.Pa+b.Wf)));return l};g.Ki=function(){for(var a=0,b=[],c=0;c=this.Ua&&(this.fb=this.Ua=0,this.ta&=-15);return a};g.qn=function(a,b){this.Ua=c&&(this.ta|=2,this.ta&=-2,Lj(this))};g.im=function(){var a=this.ta;this.fb=this.Na.yb){var b=this;this.vc(this.Na,function(a){0<=a?b.ga&&R(b.ga,14):(b.ta=1,b.Dd=16)},!1)}else this.ta=80;return a}; -g.Hm=function(a,b){this.Na&&this.Na.Xa>=this.Na.yb&&(0>this.xc(this.Na,b)?(this.ta=1,this.Dd=16):this.Na.Sa==this.Na.yb&&(this.Na.Xa-=this.Na.yb,this.ga&&R(this.ga,14),this.Na.Xa>=this.Na.yb||(this.ta=80)))};g.vl=function(){return this.Dd};g.Lm=function(a,b){this.Mk=b};g.wl=function(){return this.Fg};g.Jm=function(a,b){this.Fg=b};g.xl=function(){return this.Gg};g.Km=function(a,b){this.Gg=b};g.sl=function(){return this.Eg};g.Gm=function(a,b){this.Eg=b};g.rl=function(){return this.Dg}; -g.Fm=function(a,b){this.Dg=b};g.ul=function(){return this.zf};g.Im=function(a,b){this.zf=b};g.yl=function(){return this.ta};g.Em=function(a,b){this.Gi=b;this.ga&&Qh(this.ga,14);Mj(this)}; -function Mj(a){var b=!1,c=a.Gi,d=a.zf&16?1:0,e=a.zf&15,f=a.Eg|(a.Dg&3)<<8,l=a.Gg,k=a.Fg;a.Na=null;a.Dd=0;a.ta=80;(d=a.sa[d])?(d.Hd=f,d.La=e,d.Pa=l,d.Xa=k*d.yb,c=144<=c?c:c&240,d.Ma=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.vc(d,function(b){0<=b&&a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=16)},!1);break;case 48:a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Dd=1;b=!0;break;case 145:d.Zb=e+1,d.Gc=k,b=!0}b&&a.ga&&R(a.ga,14)} -function Lj(a){a.fb=0;var b=a.Ia(),c=a.Ia(),d=c&32,e=d>>5,f=c&31,l=a.Ia(),k=a.Ia(),m=l<<2&768|k,n=l&63,q=a.Ia(),s=a.Ia(),r=a.sa[e];r&&(r.Hd=m,r.La=f,r.Pa=n,r.Xa=q*r.yb);switch(b){case 3:a.pb(r?r.errorCode:4);a.cb(c);a.cb(l);a.cb(k);a.cb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ia());)r&&cb?this.vc(a,c):c(-1,!1)}; -g.hh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.al=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Sa=a.Gc+b&&(a.Pa=b,a.La++,a.La>=a.Zb&&(a.La=0,a.Hd++))}; -g.Oi=function(a,b){if(a.errorCode)return-1;a.ec[a.Td++]=b;if(a.Td==a.ec.length){a.Hd=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Yi))return-1;a.Ue++}a.Ue>=a.nd&&(b=-1);return b}; -var Hj={800:$.prototype.hm,801:$.prototype.im,802:$.prototype.gm},Gj={496:$.prototype.tl,497:$.prototype.vl,498:$.prototype.wl,499:$.prototype.xl,500:$.prototype.sl,501:$.prototype.rl,502:$.prototype.ul,503:$.prototype.yl},Jj={800:$.prototype.qn,801:$.prototype.tn,802:$.prototype.sn,803:$.prototype.rn,807:$.prototype.Bi,811:$.prototype.Bi,815:$.prototype.Bi},Ij={496:$.prototype.Hm,497:$.prototype.Lm,498:$.prototype.Jm,499:$.prototype.Km,500:$.prototype.Gm,501:$.prototype.Fm,502:$.prototype.Im,503:$.prototype.Em}; -u(function(){for(var a=B(window.document,"pcjs","hdc"),b=0;bUj){if(d.load(this.Df)){this.De=new H(this,"1.15.4","failsafe");this.De.load()&&(Yj(this,d),a=2);this.De.set("timestamp",ja());Sj(this.De);var e=this.jc&&!this.ig;if(1==a||ma("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),l=d.get("data");f&&("ok"==f?d.load(l):("error"==f&&"no machine state"!=l?(this.xa("Error: "+l),"unable to verify user"== -l&&(na(""),this.wc=null)):this.Tb(f+": "+l),Rj(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Xj(this,c?d:null)}else 2==a&&d.clear()}else Xj(this);delete this.Df;delete this.Mg}e=Aa(this.id);for(f=0;fa[1];a=a[2];this.zb=!0;this.kj||(this.Tb("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.kj=!0);this.ja&&Zj(this,this.ja,b,c,a);this.nj&&(Yj(this,b),b.clear());!c&&this.De&&(this.De.clear(),delete this.De)}; -function Yj(a,b){if(ma("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.vd(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;p("http://www.pcjs.org/api/v1/report",!0,e)}} -function ak(a,b,c){var d,e="none",f=new H(a,"1.15.4"),l=new H(a,"1.15.4","validate"),k=ja();l.set("timestamp",k);f.set("timestamp",k);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ja&&a.ja.Jb&&(c&&gb(a.ja),d=a.ja.Jb(b,c),"object"===typeof d&&f.set(a.ja.id,d),c&&(a.ja.zb=!1,!1===d&&(e=null)));for(var k=Aa(a.id),m=0;m/g;f=l.exec(a);){var k=f[2],m=p(k),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var k=q[0],s,r=/( [a-z]+=)(['"])(.*?)\2/g;s=r.exec(m);)k=0>k.indexOf(s[1])?k.replace(">",s[0]+">"):k.replace(new RegExp(s[1]+"(['\"])(.*?)\\1"),s[0]);q[0]!=k&&(n=n.replace(q[0],k))}else throw c="missing <"+f[1]+"> in "+k,Error(c); +d}}}}(this,d),!0;case "descDisk":case "listDrives":return this.oa[c]=d,d.onchange=function(a,b){return function(){var c=parseInt(b.value,10);isNaN(c)||uj(a,c)}}(this,d),!0;case "loadDrive":return this.oa[c]=d,d.onclick=function(a){return function(){var b,c=a.oa.listDisks,d=a.oa.listDrives;if(c&&d&&!isNaN(b=parseInt(d.value,10))&&0<=b&&ba.ra.restore(f)&&(e=!1);e&&a.ra&&void 0!==a.Ra&&(a.Ma=a.ra.seek(a.ib,a.La,a.Pa));return e};g.Ji=function(){for(var a=0,b=[],c=0;ca.ic&&(this.xa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.jb)),b=null);b&&(a.ra=b,a.Kk=c,a.ee=d,Bj(this,c,d,b),this.Ed|=128,this.xa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.jb),a.Xd));a.Xd&&(a.Xd=!1,--this.Pd||this.Oa());uj(this,a.jb)}; +function uj(a,b){if(0<=b&&b=this.Ta&&(this.ta&=-81,this.fb=this.Ta=0);return a}; +g.Rm=function(a,b){this.Ta=tj[c].pd){var d=!1;this.fb=0;var e,f,c=this.Ia()&31;switch(c){case 3:this.Ia("SRT");this.Ia("HLT");this.pb();break;case 4:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];this.pb();this.cb((e.Qa&4278190080)>>>24,"ST3");break;case 5:case 6:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;e.ib=this.Ia("C");this.Ia("H");e.Pa=this.Ia("R");d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Qa&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 7:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.ib=e.kd=0;e.Qa=268435488;this.pb();d=!0;break;case 8:e=this.sa[this.jb];e.La=0;this.pb();Cj(this,e);this.cb(e.ib,"PCN");break;case 13:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Qa&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 15:f=this.Ia("DS"),this.jb=f&3,e=this.sa[this.jb],e.La=f>>2&1,c=this.Ia("NCN"),e.ib+=c-e.kd,0>e.ib&&(e.ib=0),e.ib>=e.ic&&(e.ib=e.ic-1),e.kd=c,e.Qa=32,0==e.ib&&(e.Qa|=268435456),this.pb(),d=!0}0b?this.vc(a,c):c(-1,!1)};g.gh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.Yk=function(a,b){return void 0!==b&&0<=b?this.Ni(a,b):-1}; +g.hh=function(a){a.Qa=72;a.ra&&(a.Ma=null,a.Qa=0,this.ga&&(Eh(this.ga,2,this,"dmaRead",a),Ch(this.ga,2)))};g.ih=function(a){a.Qa=72;a.ra&&(a.ra.se?a.Qa=576:(a.Ma=null,a.Qa=0,this.ga&&(Eh(this.ga,2,this,"dmaWrite",a),Ch(this.ga,2))))};g.fj=function(a){a.Qa=72;a.ra&&(a.Ma=null,a.Qa=0,this.ga&&(a.Sd=0,a.ec=Array(4),a.Qe=!0,a.Ve=0,Eh(this.ga,2,this,"dmaFormat",a),Ch(this.ga,2),a.Qe=!1))}; +g.vc=function(a,b){var c=-1;if(!a.Qa&&a.ra){do{if(a.Ma&&0<=(c=rj(a.Ma,a.Ra++)))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Qa=1088;break}a.Ra=0;this.Ne(a)}while(1)}b(c,!1)};g.xc=function(a,b){if(a.Qa||!a.ra)return-1;do{if(a.Ma&&a.ra.write(a.Ma,a.Ra++,b))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Qa=8256;b=-1;break}a.Ra=0;this.Ne(a)}while(1);return b};g.Ne=function(a){a.Pa++;a.Pa>=a.Gc+1&&(a.Pa=1,a.La++,a.La>=a.Zb&&(a.La=0,a.ib++))}; +g.Ni=function(a,b){if(a.Qa)return-1;a.ec[a.Sd++]=b;if(a.Sd==a.ec.length){a.ib=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Wi))return-1;a.Ve++}a.Ve>=a.nd&&(b=-1);return b};var xj={1012:sj.prototype.Gl,1013:sj.prototype.El,1015:sj.prototype.Fl},yj={1010:sj.prototype.Sm,1013:sj.prototype.Rm,1015:sj.prototype.Qm};u(function(){for(var a=B(window.document,"pcjs","fdc"),b=0;b=e&&(this.yf|=(f.type&3)<<(1-e<<1))}return d}; +g.Hi=function(){var a=0,b=[];this.Wd?(b[a++]=this.Dd,b[a++]=this.Jk,b[a++]=this.Eg,b[a++]=this.Fg,b[a++]=this.Dg,b[a++]=this.Cg,b[a++]=this.zf,b[a++]=this.ta,b[a++]=this.Fi):(b[a++]=this.yf,b[a++]=this.ta,b[a++]=this.Kb,b[a++]=this.fb,b[a++]=this.Ta,b[a++]=this.Ik,b[a++]=this.Hk,b[a++]=this.Gk,b[a++]=this.df);b[a]=this.Ji();return b}; +g.Bh=function(a,b,c,d,e){var f=0,l=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.jb=a;b.errorCode=d[f++];b.Ok=d[f++];b.re=d[f++];b.ke=d[f++];b.le=d[f++];b.La=d[f++];b.Zb=d[f++];b.Gd=d[f++];b.Pa=d[f++];b.nd=d[f++];b.Xa=d[f++];b.Wf=this.Wd?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.vd()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===Dj[this.ef][b.type])b.type=this.jl;c=Dj[this.ef][b.type]; +b.Gc=c[2]||17;b.yb=c[3]||512;if(e&&this.ga&&(e=this.ga,c=b.type,e.ka)){var k=e.ka[18],k=a?k&240|c:k&15|c<<4;e.ka&&(e.ka[18]=k,qh(e))}void 0===b.ra&&(b.ra=null,this.xa("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Ij(this,b);b.Ra=d[f++];b.Ma=null;b.ra&&(a=d[f],void 0!==a&&0>b.ra.restore(a)&&(l=!1),l&&void 0!==b.Ra&&(b.Ma=b.ra.seek(b.Gd,b.La,b.Pa+b.Wf)));return l};g.Ji=function(){for(var a=0,b=[],c=0;c=this.Ta&&(this.fb=this.Ta=0,this.ta&=-15);return a};g.on=function(a,b){this.Ta=c&&(this.ta|=2,this.ta&=-2,Jj(this))};g.gm=function(){var a=this.ta;this.fb=this.Na.yb){var b=this;this.vc(this.Na,function(a){0<=a?b.ga&&R(b.ga,14):(b.ta=1,b.Dd=16)},!1)}else this.ta=80;return a}; +g.Fm=function(a,b){this.Na&&this.Na.Xa>=this.Na.yb&&(0>this.xc(this.Na,b)?(this.ta=1,this.Dd=16):this.Na.Ra==this.Na.yb&&(this.Na.Xa-=this.Na.yb,this.ga&&R(this.ga,14),this.Na.Xa>=this.Na.yb||(this.ta=80)))};g.tl=function(){return this.Dd};g.Jm=function(a,b){this.Jk=b};g.ul=function(){return this.Eg};g.Hm=function(a,b){this.Eg=b};g.vl=function(){return this.Fg};g.Im=function(a,b){this.Fg=b};g.ql=function(){return this.Dg};g.Em=function(a,b){this.Dg=b};g.pl=function(){return this.Cg}; +g.Dm=function(a,b){this.Cg=b};g.sl=function(){return this.zf};g.Gm=function(a,b){this.zf=b};g.wl=function(){return this.ta};g.Cm=function(a,b){this.Fi=b;this.ga&&Kh(this.ga,14);Kj(this)}; +function Kj(a){var b=!1,c=a.Fi,d=a.zf&16?1:0,e=a.zf&15,f=a.Dg|(a.Cg&3)<<8,l=a.Fg,k=a.Eg;a.Na=null;a.Dd=0;a.ta=80;(d=a.sa[d])?(d.Gd=f,d.La=e,d.Pa=l,d.Xa=k*d.yb,c=144<=c?c:c&240,d.Ma=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.vc(d,function(b){0<=b&&a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=16)},!1);break;case 48:a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Dd=1;b=!0;break;case 145:d.Zb=e+1,d.Gc=k,b=!0}b&&a.ga&&R(a.ga,14)} +function Jj(a){a.fb=0;var b=a.Ia(),c=a.Ia(),d=c&32,e=d>>5,f=c&31,l=a.Ia(),k=a.Ia(),m=l<<2&768|k,n=l&63,q=a.Ia(),s=a.Ia(),r=a.sa[e];r&&(r.Gd=m,r.La=f,r.Pa=n,r.Xa=q*r.yb);switch(b){case 3:a.pb(r?r.errorCode:4);a.cb(c);a.cb(l);a.cb(k);a.cb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ia());)r&&cb?this.vc(a,c):c(-1,!1)}; +g.gh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.Zk=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ra=a.Gc+b&&(a.Pa=b,a.La++,a.La>=a.Zb&&(a.La=0,a.Gd++))}; +g.Ni=function(a,b){if(a.errorCode)return-1;a.ec[a.Sd++]=b;if(a.Sd==a.ec.length){a.Gd=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Wi))return-1;a.Ve++}a.Ve>=a.nd&&(b=-1);return b}; +var Fj={800:$.prototype.fm,801:$.prototype.gm,802:$.prototype.em},Ej={496:$.prototype.rl,497:$.prototype.tl,498:$.prototype.ul,499:$.prototype.vl,500:$.prototype.ql,501:$.prototype.pl,502:$.prototype.sl,503:$.prototype.wl},Hj={800:$.prototype.on,801:$.prototype.rn,802:$.prototype.qn,803:$.prototype.pn,807:$.prototype.Ai,811:$.prototype.Ai,815:$.prototype.Ai},Gj={496:$.prototype.Fm,497:$.prototype.Jm,498:$.prototype.Hm,499:$.prototype.Im,500:$.prototype.Em,501:$.prototype.Dm,502:$.prototype.Gm,503:$.prototype.Cm}; +u(function(){for(var a=B(window.document,"pcjs","hdc"),b=0;bSj){if(d.load(this.Df)){this.Ee=new G(this,"1.15.4","failsafe");this.Ee.load()&&(Wj(this,d),a=2);this.Ee.set("timestamp",ja());Qj(this.Ee);var e=this.jc&&!this.hg;if(1==a||ma("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),l=d.get("data");f&&("ok"==f?d.load(l):("error"==f&&"no machine state"!=l?(this.xa("Error: "+l),"unable to verify user"== +l&&(na(""),this.wc=null)):this.Tb(f+": "+l),Pj(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Vj(this,c?d:null)}else 2==a&&d.clear()}else Vj(this);delete this.Df;delete this.Lg}e=Aa(this.id);for(f=0;fa[1];a=a[2];this.zb=!0;this.hj||(this.Tb("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.hj=!0);this.ja&&Xj(this,this.ja,b,c,a);this.kj&&(Wj(this,b),b.clear());!c&&this.Ee&&(this.Ee.clear(),delete this.Ee)}; +function Wj(a,b){if(ma("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.vd(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;p("http://www.pcjs.org/api/v1/report",!0,e)}} +function Yj(a,b,c){var d,e="none",f=new G(a,"1.15.4"),l=new G(a,"1.15.4","validate"),k=ja();l.set("timestamp",k);f.set("timestamp",k);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ja&&a.ja.Jb&&(c&&fb(a.ja),d=a.ja.Jb(b,c),"object"===typeof d&&f.set(a.ja.id,d),c&&(a.ja.zb=!1,!1===d&&(e=null)));for(var k=Aa(a.id),m=0;m/g;f=l.exec(a);){var k=f[2],m=p(k),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var k=q[0],s,r=/( [a-z]+=)(['"])(.*?)\2/g;s=r.exec(m);)k=0>k.indexOf(s[1])?k.replace(">",s[0]+">"):k.replace(new RegExp(s[1]+"(['\"])(.*?)\\1"),s[0]);q[0]!=k&&(n=n.replace(q[0],k))}else throw c="missing <"+f[1]+"> in "+k,Error(c); }n=n.replace(/<\?xml[^>]*>[\r\n]*/,"");a=a.replace(f[0],n);l.lastIndex=0}c&&(b&&0>b.indexOf("/")&&(b=window.location.pathname+b),a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(b?" url=$2"+b+"$2":"")));if(0===a.indexOf("<"))window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),f=new window.ActiveXObject("Microsoft.XMLDOM"),f.async=!1,f.loadXML(a)):f=(new window.DOMParser).parseFromString(a,"text/xml");else throw Error("unrecognized XML: "+ (255=this.Zf?12:14;this.hc=1<>2;this.fb=this.hc-1;this.Ug=(this.te+this.hc)/this.hc|0;this.xe=this.Ug-1;this.sd=[];this.td=[];this.Vf=this.Wf=!1;this.Ci();this.Sa()}x(w,Ua); -Ua.prototype.Ci=function(){this.Aa=Array(this.Ug);for(var a=0;a>a.ob;0>this.ob;0>a.ob;0>a.ob].pg(b&a.fb)} -function ab(a,b){var c=b&a.fb,d=(b&a.Jb)>>a.ob;return c!=a.fb?a.Aa[d].Ej(c):a.Aa[d++].pg(c)|a.Aa[d&a.xe].pg(0)<<8}function bb(a,b,c){a.Aa[(b&a.Jb)>>a.ob].yg(b&a.fb,c&255)}function cb(a,b,c){var d=b&a.fb;b=(b&a.Jb)>>a.ob;d!=a.fb?a.Aa[b].Nj(d,c&65535):(a.Aa[b++].yg(d,c&255),a.Aa[b&a.xe].yg(0,c>>8&255))} -function eb(a){for(var b=0,c=[],d=0;d=this.Zf?12:14;this.hc=1<>2;this.eb=this.hc-1;this.Ug=(this.se+this.hc)/this.hc|0;this.we=this.Ug-1;this.sd=[];this.td=[];this.Vf=this.Wf=!1;this.Bi();this.Sa()}x(w,Ta); +Ta.prototype.Bi=function(){this.Aa=Array(this.Ug);for(var a=0;a>a.ob;0>this.ob;0>a.ob;0>a.ob].pg(b&a.eb)} +function ab(a,b){var c=b&a.eb,d=(b&a.Jb)>>a.ob;return c!=a.eb?a.Aa[d].Dj(c):a.Aa[d++].pg(c)|a.Aa[d&a.we].pg(0)<<8}function bb(a,b,c){a.Aa[(b&a.Jb)>>a.ob].yg(b&a.eb,c&255)}function cb(a,b,c){var d=b&a.eb;b=(b&a.Jb)>>a.ob;d!=a.eb?a.Aa[b].Mj(d,c&65535):(a.Aa[b++].yg(d,c&255),a.Aa[b&a.we].yg(0,c>>8&255))} +function eb(a){for(var b=0,c=[],d=0;d>2);for(d=0;d>2]>>>((a&3)<<3)&255},Zo:function(a){var b=a>>2;a=(a&3)<<3;var c=this.qa[b]>>>a;return 24>a?c&65535:c&255|(this.qa[b+1]&255)<<8},hp:function(a,b){var c=a>>2,d=(a&3)<<3;this.qa[c]=this.qa[c]&~(255<>2,d=(a&3)<<3;24>d?this.qa[c]=this.qa[c]&~(65535<>8);this.bb=!0},Yo:function(a){pb(this.Z,this.Ve+a);return this.pg(a)},ap:function(a){pb(this.Z,this.Ve+a)||pb(this.Z,this.Ve+a+1);return this.Ej(a)},jp:function(a,b){qb(this.Z,this.Ve+a);this.yg(a,b)},mp:function(a,b){qb(this.Z,this.Ve+a)||qb(this.Z,this.Ve+a+1);this.Nj(a,b)},save:function(){var a,b;if(this.ia)a=null;else if(Ra)for(a=Array(this.jk>>2),b=0;b=a.lf&&(a.lf+=a.kf,c=!0);0<=a.mf&&a.mf<=E(a)&&(a.kf=a.mf=-1,Ab(a),a.zb(),c=!0);c&&a.ca(E(a)+" cycles: checksum="+l(a.$f))}}function F(a,b,c,d){void 0!==a.ta[b]&&(void 0===d&&(d=4),void 0===c&&(Qa(a,"Register "+b+" is invalid"),a.zb()),c=l(c,d),a.ta[b].innerHTML!=c&&(a.ta[b].innerHTML=c))}k.Zg=function(){};k.gi=function(){}; -k.wb=function(a,b,c,d){var e=this;a=!1;switch(c){case "run":this.ta[c]=d;d.onclick=function(){e.Ob?e.zb(!0):e.Me(!0)};a=!0;break;case "reset":this.ta[c]=d;d.onclick=function(){e.Da&&Fb(e.Da)};a=!0;break;case "speed":this.ta[c]=d;a=!0;break;case "setSpeed":this.ta[c]=d,d.onclick=function(){Gb(e,e.Gd<<1,!0)},d.innerHTML=this.hf.toFixed(2)+"Mhz",a=!0}return a};function Ib(a,b,c){a.Je+=b;c&&(a.Yc=a.A=0)} -function Jb(a,b){var c=30;60>c&&(c=60);2>c&&(c=2);var d=1;b&&1a.qh&&(c=Math.round(c/a.Gd));return c}function zb(a){a.md=0;a.th=1;a.Je=a.ie=a.Yc=a.A=0;Ab(a);Gb(a,1)} -function Gb(a,b,c){void 0!==b&&(0.8>a.md/a.hf&&(b=1),a.Gd=b,a.hf=a.qh*a.Gd,b=a.hf.toFixed(2)+"Mhz",a.ta.setSpeed&&(a.ta.setSpeed.innerHTML=b),a.ca("target speed: "+b),c&&a.Md());Ib(a,a.ie);a.ie=0;a.jf=ma();a.Ge=0;Jb(a)} -k.Me=function(a){if(Na(this,!0)){this.Ob||(Gb(this),this.Da&&this.Da.start(this.jf,E(this)),this.Ob=!0,this.ka&&Kb(this.ka),this.ta.run&&(this.ta.run.innerHTML="Halt"),a&&this.Md());this.xj>=this.Hd&&Jb(this,!0);this.eg=0;this.rh=ma();this.Ge&&(a=this.rh-this.Ge,a>this.Fk&&(this.jf+=a,this.jf>this.rh&&(this.jf=this.rh)));try{do{this.uf(this.af?1:Math.round(this.Qn/this.th));var b=this.Yc-this.A;this.ie+=b;this.eg+=b;Ib(this,0,!0);Eb(this,b);this.dg-=b;0>=this.dg&&(this.dg+=this.Jk,this.gi());this.cg-= -b;0>=this.cg&&(this.cg+=this.Ik,this.Zg());this.nf-=b;if(0>=this.nf){this.nf+=this.Ji;break}}while(this.Ob)}catch(c){this.zb();Db(this);this.Da&&this.Da.stop(ma(),E(this));Na(this,!1);Qa(this,c.message);return}b=setTimeout;a=this.Yn;this.Ge=ma();var d=this.Fk;this.eg&&(d=Math.round(d*this.eg/this.Ji));var d=d-(this.Ge-this.rh),e=this.Ge-this.jf;e&&(this.md=Math.round(this.ie/(10*e))/100,864E5<=e&&(this.Je=0,this.ka&&Lb(this.ka,!0),Gb(this)));if(0>d||this.md>13;return this.La=e}if(b&&768>=b)return this.oa=a,this.Nc=c,this.ab=d,this.Mc=(d&24576)>>13,this.La=e}return-1}function Vb(a){return this.La+a} -function Wb(a){return this.La+a}function Rb(a,b,c){return a+b<=this.Nc?this.La+a:Tb.call(this,0,0,c)}function Tb(a,b,c){c||Xb.call(this.S,13,0);return-1}function Sb(a,b,c){return a+b<=this.Nc?this.La+a:Ub.call(this,0,0,c)}function Ub(a,b,c){c||Xb.call(this.S,13,0);return-1}Nb.prototype.save=function(){return[this.oa,this.La,this.Nc,this.ab,this.Mc,this.ug]};Nb.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.oa=a[0],this.La=a[1],this.Nc=a[2],this.ab=a[3],this.Mc=a[4],this.ug=a[5])}; -function Ob(a,b){void 0===b&&(b=!!(a.S.ad&1));b?(a.load=Qb,a.Uc=Rb,a.$b=Sb):(a.load=Pb,a.Uc=Vb,a.$b=Wb)} -function Yb(a){this.Ga=a.model||8088;var b=0;switch(this.Ga){default:case 8088:b=4772727;break;case 80286:b=6E6}xb.call(this,a,b);this.Uj=61442;this.Eg=4;this.of=255;this.yj=4;this.aa=5;this.ua=6;this.fa=7;this.ga=8;this.P=9;this.V=11;this.W=12;this.He=4;this.Lk=60;this.Mk=83;this.Vb=3;this.qb=9;this.ic=16;this.xh=1;this.Qk=19;this.Sk=28;this.Uk=16;this.Tk=21;this.Rk=37;this.Ok=2;this.Ri=9;this.Pk=5;this.Nk=33;this.Ti=10;this.Si=8;this.ig=3;this.hg=15;this.hl=51;this.il=1;this.jl=2;this.kl=4;this.gl= -32;this.ml=this.Ui=15;this.Wb=16;this.Xb=4;this.ol=11;this.nl=18;this.ll=24;this.Cb=4;this.pl=2;this.Vi=16;this.ql=17;this.$i=18;this.rl=19;this.Zi=5;this.aj=6;this.wl=2;this.vl=8;this.tl=9;this.cj=this.bj=this.sl=this.ul=10;this.Wk=80;this.Yk=144;this.Vk=86;this.Xk=154;this.$k=101;this.bl=165;this.Zk=107;this.al=171;this.yl=70;this.Al=113;this.xl=76;this.zl=124;this.dl=80;this.fl=128;this.cl=86;this.el=134;this.kg=3;this.jg=16;this.hj=10;this.gj=8;this.Bl=51;this.jc=8;this.Cl=17;this.Dl=36;this.rc= -11;this.El=16;this.lg=10;this.Pb=2;this.Oi=18;this.Pi=9-this.Pb;this.Qi=17-this.Pb;this.Wi=12;this.Xi=9-this.Pb;this.Yi=13-this.Pb;this.dj=18;this.ej=9-this.Pb;this.fj=17-this.Pb;this.ij=15;this.jj=9-this.Pb;this.kj=15-this.Pb;this.oj=11;this.pj=9-this.Pb;this.qj=10-this.Pb;this.Fl=8;this.Il=12;this.Gl=18;this.Hl=17;this.Jl=15;this.mj=8;this.lj=20;this.nj=2;this.tj=3;this.mg=9;this.sj=5;this.rj=11;this.vj=4;this.uj=17;this.Kl=11;this.Pa=Zb.slice();80186<=this.Ga&&(this.of=31,this.Pa[15]=G,this.Pa[96]= -$b,this.Pa[97]=ac,this.Pa[98]=bc,this.Pa[99]=G,this.Pa[100]=G,this.Pa[101]=G,this.Pa[102]=G,this.Pa[103]=G,this.Pa[104]=cc,this.Pa[105]=dc,this.Pa[106]=ec,this.Pa[107]=fc,this.Pa[108]=gc,this.Pa[109]=hc,this.Pa[110]=ic,this.Pa[111]=jc,this.Pa[192]=kc,this.Pa[193]=lc,this.Pa[200]=mc,this.Pa[200]=nc,this.Pa[241]=oc,pc[7]=qc,rc[7]=qc,80286<=this.Ga&&(this.Uj=2,this.Eg=0,this.Pa[15]=sc,this.Pa[99]=tc,this.Pa[84]=uc,this.P=this.ga=this.fa=this.ua=this.aa=this.yj=0,this.W=this.V=1,this.He=3,this.Lk=14, -this.Mk=16,this.Vb=2,this.ic=this.qb=7,this.xh=0,this.Qk=7,this.Sk=13,this.Uk=7,this.Tk=11,this.Rk=16,this.Ok=3,this.Ri=6,this.Pk=2,this.Nk=13,this.Si=this.Ti=5,this.ig=2,this.hg=7,this.hl=23,this.il=0,this.jl=1,this.kl=3,this.gl=17,this.Ui=7,this.ml=11,this.Wb=7,this.Xb=3,this.ol=7,this.nl=11,this.ll=15,this.Cb=2,this.pl=3,this.Vi=7,this.rl=this.$i=this.ql=8,this.aj=this.Zi=4,this.wl=2,this.vl=3,this.tl=5,this.ul=2,this.sl=3,this.bj=5,this.cj=3,this.Wk=14,this.Yk=22,this.Vk=17,this.Xk=25,this.$k= -17,this.bl=25,this.Zk=20,this.al=28,this.yl=13,this.Al=21,this.xl=16,this.zl=24,this.dl=13,this.fl=21,this.cl=16,this.el=24,this.kg=2,this.jg=7,this.gj=this.hj=5,this.Bl=19,this.Cl=this.jc=5,this.Dl=17,this.rc=3,this.El=5,this.lg=3,this.Pb=0,this.Oi=8,this.Pi=5,this.Qi=9,this.Xi=this.Wi=5,this.Yi=4,this.ej=this.dj=5,this.fj=4,this.ij=7,this.jj=5,this.kj=8,this.oj=3,this.pj=4,this.qj=3,this.Il=this.Fl=11,this.Hl=this.Gl=15,this.Jl=7,this.mj=5,this.lj=8,this.nj=0,this.tj=2,this.mg=6,this.sj=3,this.rj= -6,this.vj=3,this.Kl=this.uj=5));this.Gg=[];this.Hg=[];this.Wg=0;this.Aa=[];this.te=this.Jb=this.ob=this.fb=this.xe=0;this.T=this.zm;this.U=this.Am;this.N=this.Hn;this.O=this.In;this.Q=this.fp;this.R=this.gp;vc(this)}x(xb,Yb);k=Yb.prototype;k.Ci=function(a,b,c,d,e){this.Aa=a;this.te=this.Jb=b;this.ob=c;this.fb=d;this.xe=e};k.reset=function(){this.Ob&&this.zb();vc(this);zb(this);this.kd=!1}; -function vc(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ad=65520;a.ed=0;a.se=1023;a.Jc={zj:0,oa:0,ab:0,ph:-1};a.ra=new Nb(a,"CS");a.Qb=new Nb(a,"DS");a.Eb=new Nb(a,"SS");a.cb=new Nb(a,"ES");a.am=new Nb(a,"ZERO");wc(a,0,65535);80286<=a.Ga&&(a.Qc=a.We=0,a.Ld=new Nb(a,"LDT",!0),a.xg=new Nb(a,"TSS",!0),a.Rb=new Nb(a,"VER",!0),wc(a,65520,61440),a.ra.La=16711680);xc(a,0);yc(a);a.kb=0;a.Db=a.rg=-1;a.Pg=0;a.ha=a.Ka=-1;a.C=a.Qb;a.M=a.Eb;a.$=a.wa=0} -k.yk=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.sa+this.ra.oa+this.Qb.oa+this.Eb.oa+this.cb.oa+zc(this)|0};function Ac(a,b,c,d){void 0!==d&&(void 0===a.Gg[b]&&(a.Gg[b]=[]),a.Gg[b].push([c,d]))}function Bc(a,b,c){void 0!==c&&(null==a.Hg[b]&&a.Wg++,a.Hg[b]=c)}function Cc(a,b){var c=a.Hg[b];null!=c&&(c(--a.Wg),delete a.Hg[b])}function yc(a,b){void 0===b&&(b=!!(a.ad&1));Dc=b?Ec:Fc;Ob(a.ra,b);Ob(a.Qb,b);Ob(a.Eb,b);Ob(a.cb,b)} -k.save=function(){var a=new H(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.sa,this.ra.save(),this.Qb.save(),this.Eb.save(),this.cb.save(),zc(this),null!=this.Qc?[this.ad,this.Qc,this.We,this.ed,this.se,this.Ld.save(),this.xg.save()]:null]);a.set(2,[this.C.ug,this.M.ug,this.$,this.wa,this.kb,this.ha,this.Ka]);a.set(3,[this.th,this.Je,this.Gd]);a.set(4,eb(this.na));return a.data()}; -k.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.ra.restore(b[1]);this.Qb.restore(b[2]);this.Eb.restore(b[3]);this.cb.restore(b[4]);xc(this,b[5]);var c=b[6];c&&c.length&&(this.ad=c[0],this.Qc=c[1],this.We=c[2],this.ed=c[3],this.se=c[4],this.Ld.restore(c[5]),this.xg.restore(c[6]),yc(this));I(this,b[0]);b=a[2];this.C=Gc(this,b[0]);this.M=Gc(this,b[1]);this.$=b[2];this.wa=b[3];this.kb=b[4];this.ha=b[5];this.Ka= -b[6];b=a[3];this.th=b[0];this.Je=b[1];Gb(this,b[2]);a:{b=this.na;a=a[4];for(c=0;c>1?128:0} -function Uc(a){return(a.ja^a.ma^a.ja>>1)&a.da>>1?2048:0}function Vc(a){a.Y&=~a.da}function Wc(a){a.ma=a.ja&16|a.ma&-17}function Xc(a){a.Y|=a.da-1}function Yc(a){Tc(a)&&(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function Zc(a){a.ja&=~a.da;a.ma=a.ja&32896|a.ma&-32897}function $c(a){a.Y|=a.da}function ad(a){a.ma=~(a.ja&16)&16|a.ma&-17}function bd(a){a.Y&=~(a.da-1)}function cd(a){Tc(a)||(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function dd(a){a.ja|=a.da;a.ma=a.ja&32896|a.ma&-32897} -function zc(a){return a.xa&-2262|Pc(a)|Qc(a)|Rc(a)|Sc(a)|Tc(a)|Uc(a)}function xc(a,b){a.da=256;a.Y=a.ja=a.ma=0;b&1&&$c(a);b&4||(a.ja|=1);b&16&&(a.ma|=16);b&64||Xc(a);b&128&&cd(a);b&2048&&dd(a);a.xa=a.xa&-1793|b&1792|a.Uj;a.xa&256&&(a.kb|=2,a.$|=4)} -k.wb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.ta[c]=d;e=!0;break;default:e=xb.prototype.wb.call(this,a,b,c,d)}return e};k.ub=function(a){return this.Aa[(a&this.Jb)>>this.ob].tc(a&this.fb)}; -k.Ia=function(a){var b=a&this.fb;a=(a&this.Jb)>>this.ob;this.A-=this.yj;return b!=this.fb?this.Aa[a].Rl(b):this.Aa[a++].tc(b)|this.Aa[a&this.xe].tc(0)<<8};k.bd=function(a,b){this.Aa[(a&this.Jb)>>this.ob].Cc(a&this.fb,b&255)};k.Nd=function(a,b){var c=a&this.fb,d=(a&this.Jb)>>this.ob;this.A-=this.yj;c!=this.fb?this.Aa[d].dm(c,b&65535):(this.Aa[d++].Cc(c,b&255),this.Aa[d&this.xe].Cc(0,b>>8&255))};k.zm=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)}; -k.Am=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.Hn=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)};k.In=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.fp=function(a){this.$&2||this.bd(this.wg.$b(this.ng,1),a)};k.gp=function(a){this.$&2||this.Nd(this.wg.$b(this.ng,2),a)};k.ea=function(){var a=this.ub(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a}; -k.L=function(){var a=this.ub(this.Ca)<<24>>24;this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a&65535};k.K=function(){var a=this.Ia(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.Ia(this.Eb.Uc(a,1))};function K(a,b){var c=a.X=a.X-2&65535;a.Nd(a.Eb.$b(c,1),b)} -k.Zg=function(){F(this,"AX",this.G);F(this,"BX",this.B);F(this,"CX",this.I);F(this,"DX",this.J);F(this,"SP",this.X);F(this,"BP",this.H);F(this,"SI",this.F);F(this,"DI",this.D);F(this,"CS",this.ra.oa);F(this,"DS",this.Qb.oa);F(this,"SS",this.Eb.oa);F(this,"ES",this.cb.oa);F(this,"IP",this.sa);var a=zc(this);F(this,"PS",a);F(this,"C",a&1?1:0,1);F(this,"P",a&4?1:0,1);F(this,"A",a&16?1:0,1);F(this,"Z",a&64?1:0,1);F(this,"S",a&128?1:0,1);F(this,"T",a&256?1:0,1);F(this,"I",a&512?1:0,1);F(this,"D",a&1024? -1:0,1);F(this,"O",a&2048?1:0,1);this.ta.speed&&(this.ta.speed.innerHTML=this.Ob&&this.md?this.md.toFixed(2)+"Mhz":"Stopped")}; -k.uf=function(a){this.pi=!0;this.sm=a&&this.Z&&1this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&255}function jd(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&255} -function kd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function ld(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function md(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&255} -function nd(a,b){this.ma=a^b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&255}function od(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&255}function pd(a,b){this.ma=a^b;this.da=256;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Ri:this.qb;this.$|=2;return a} -function qd(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&65535}function rd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&65535}function sd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535} -function td(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535}function ud(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&65535}function vd(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&65535} -function wd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&65535}function xd(a,b){this.ma=a^b;this.da=65536;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Ri:this.qb;this.$|=2;return a}function yd(a,b){this.Y=this.Y&this.da-1|(a&b?this.da:0);(a^a>>1)&b>>1?dd(this):Zc(this)}function zd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;yd.call(this,d,256)}return c} -function Ad(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;yd.call(this,d,65536)}return c}function Bd(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);yd.call(this,d,256)}return c}function Cd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);yd.call(this,d,65536)}return c} -function Dd(a,b){var c=a;if(b){var d;(d=(b&this.of)%9)?(d=a<>9-d,c=d&255):d=a|(this.Y&this.da?1:0)<<8;yd.call(this,d,256)}return c}function Ed(a,b){var c=a;if(b){var d;(d=(b&this.of)%17)?(d=a<>17-d,c=d&65535):d=a|(this.Y&this.da?1:0)<<16;yd.call(this,d,65536)}return c}function Fd(a,b){var c=a;b&&(c=(b&this.of)%9,c=a>>c|(this.Y&this.da?1:0)<<8-c|a<<9-c,yd.call(this,c,256),c&=255);return c} -function Gd(a,b){var c=a;b&&(c=(b&this.of)%17,c=a>>c|(this.Y&this.da?1:0)<<16-c|a<<17-c,yd.call(this,c,65536),c&=65535);return c}function Hd(a,b){var c=a;b&&(c=8>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255}function Kd(a,b){if(b){var c=16>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Ld(a,b){if(b){8>24>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255} -function Md(a,b){if(b){16>16>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Nd(){this.A-=0>this.ha?2:this.Jl;return 1}function Od(){var a=this.I&this.of;this.A-=(0>this.ha?this.mj:this.lj)+(a<this.ha?this.mj:this.lj)+(a<this.Ka?this.jc:this.Cl;return b},Ud,Ud,Ud,Ud,Ud,Ud,Ud],Yd=[function(a,b){this.A-=0>this.Ka?this.ul:this.sl;return b},M,M,M,M,M,M,M],Zd=[zd,Bd,Dd,Fd,Hd,Jd,M,Ld],$d=[Ad,Cd,Ed,Gd,Id,Kd,M,Md],be=[function(a,b){b=this.ea();this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.ha?this.sj:this.rj;this.$|=2;return a},M,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^255},function(a,b){b=0;this.ma=a^b;this.da= -256;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&255},function(a){this.G=this.Db=(this.Y=(this.G&255)*a)&65535;this.ma=this.ja=this.Y;this.da=256;this.G&65280?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.yl:this.xl;this.$|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.Db=b&65535;this.Y=this.ma=this.ja=b;this.da=256;127b?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.dl:this.cl;this.$|=2;return a},function(a){if(!a)return ae.call(this), -a;var b=this.G/a;if(255this.ha?this.Wk:this.Vk;this.$|=2;return a},function(a){if(!a)return ae.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return ae.call(this),a;this.Db=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.ja=this.ma=this.Y=b|256;this.da=256;this.A-=0>this.ha?this.$k:this.Zk;this.$|=2;return a}],ce=[function(a,b){b=this.K();this.Y=this.ja= -this.ma=a&b;this.da=65536;this.A-=0>this.ha?this.sj:this.rj;this.$|=2;return a},M,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^65535},function(a,b){b=0;this.ma=a^b;this.da=65536;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&65535},function(a){this.Db=this.G=(this.Y=this.G*a)&65535;this.rg=this.J=this.Y>>16&65535;this.ma=this.ja=this.Y;this.da=65536;this.J?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.Al:this.zl;this.$|=2;return a},function(a){var b=(this.G<< -16>>16)*(a<<16>>16);this.G=this.Db=b&65535;this.J=this.rg=b>>16&65535;this.Y=this.ma=this.ja=b;this.da=65536;32767b?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?this.fl:this.el;this.$|=2;return a},function(a,b){if(!a)return ae.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return ae.call(this),a;this.Db=this.G=c&65535;this.rg=this.J=b%a&65535;this.ja=this.ma=this.Y=c|65536;this.da=65536;this.A-=0>this.ha?this.Yk:this.Xk;this.$|=2;return a},function(a, -b){if(!a)return ae.call(this),a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return ae.call(this),a;this.Db=this.G=d&65535;this.rg=this.J=b%c&65535;this.ja=this.ma=this.Y=d|65536;this.da=65536;this.A-=0>this.ha?this.bl:this.al;this.$|=2;return a}],pc=[function(a){this.ma=a;a=(this.ja=a+1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da=256;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da= -256;this.A-=0>this.ha?this.ig:this.hg;return a},M,M,M,M,M,M],rc=[function(a){this.ma=a;a=(this.ja=a+1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){K(this,this.sa);I(this,a);this.A-=0>this.ha?this.Uk:this.Tk;this.$|=2;return a},function(a){if(0>this.ha)return M.call(this,a);K(this,this.ra.oa);K(this, -this.sa);wc(this,a,this.Ia(this.ha+2));this.A-=this.Rk;this.$|=2;return a},function(a){I(this,a);this.A-=0>this.ha?this.ol:this.nl;this.$|=2;return a},function(a){if(0>this.ha)return M.call(this,a);wc(this,a,this.Ia(this.ha+2));this.A-=this.ll;this.$|=2;return a},function(a){var b=a;this.$&512&&(a=a-2&65535,80286>this.Ga&&(b=a));K(this,b);this.A-=0>this.ha?this.rc:this.El;this.$|=2;return a},Ud],de=[zd,Bd,Dd,Fd,Hd,Jd,M,Ld],ee=[Ad,Cd,Ed,Gd,Id,Kd,M,Md]; -function fe(a,b){this.A-=0>this.Ka?0>this.ha?this.wl:this.vl:this.tl;return b}function ge(){return fe.call(this,0,this.Db)}function he(a,b){this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.tj:this.mg:this.mg;this.$|=2;return a}function ie(a,b){this.Y=this.ja=this.ma=a&b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.tj:this.mg:this.mg;this.$|=2;return a} -function je(a,b){var c=(b<<16>>16)*(this.ea()<<24>>24);this.Y=this.ma=this.ja=c;this.da=256;32767c?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?21:24;return c&65535}function ke(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.Y=this.ma=this.ja=c;this.da=65536;32767c?($c(this),dd(this)):(Vc(this),Zc(this));this.A-=0>this.ha?21:24;return c&65535}function le(a){return a}function me(a){if(0>this.ha)return N.call(this),a;this.A-=this.pl;return this.ha} -function ne(a,b){if(0>this.ha)return N.call(this),a;Mc(this,this.Ia(this.ha+2));this.A-=this.Vi;return b}function oe(a,b){if(0>this.ha)return N.call(this),a;Oc(this,this.Ia(this.ha+2));this.A-=this.Vi;return b}function pe(a){if(0>this.ha)return G.call(this),a;var b=a<<16>>16,c=this.Ia(this.ha)<<16>>16,d=this.Ia(this.ha+2)<<16>>16;this.A-=this.Nk;if(bd)I(this,this.Ah-this.ra.La),fd.call(this,5,null,0);this.$|=2;return a} -function qe(a,b){this.A-=10+(0>this.ha?0:1);if((a&3)<(b&3))return a=a&-4|b&3,bd(this),a;Xc(this);return a}function re(a,b){this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(b,!0)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(b&3))return bd(this),this.Rb.ab&65280;Xc(this);return a}function se(a,b){this.A-=14+(0>this.ha?0:2);if(b&65528&&0<=this.Rb.load(b,!0)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3))&&this.Rb.Mc>=(b&3))return bd(this),this.Rb.Nc;Xc(this);return a} -function te(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.vj}else this.Ka=this.ha,this.Q(a),this.A-=this.uj;return b} -function ue(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.vj}else this.Ka=this.ha,this.R(a),this.A-=this.uj;return b}function fd(a,b,c){Hc(this,a)&&(K(this,zc(this)),this.xa&=this.Jc.ph,K(this,this.ra.oa),K(this,this.sa),null!=b&&K(this,b),wc(this,this.Jc.zj,this.Jc.oa),this.A-=this.hl+c)} -function ae(){I(this,this.Ah-this.ra.La);fd.call(this,0,null,2)}function Xb(a,b){this.Z&&this.Z.message("Fault 0x"+p(a)+(null!=b?" (0x"+r(b)+")":"")+" on opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));80186<=this.Ga&&(I(this,this.Ah-this.ra.La),fd.call(this,a,b,0))}function G(){Xb.call(this,6);this.zb()}function N(){I(this,this.Ah-this.ra.La);Qa(this,"Undefined opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));this.zb()} -function ve(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function we(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function xe(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function ye(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function ze(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function Ae(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} -function Be(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function Ce(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function De(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function Ee(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function Fe(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function Ge(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} -function He(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function Ie(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function Je(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function Ke(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function Le(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function Me(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} -function Ne(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function Oe(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function Pe(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function Qe(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function Re(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function Se(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} -function Te(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function Ue(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function Ve(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function We(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function Xe(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function Ye(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} -function Ze(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function $e(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function af(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function bf(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function cf(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function df(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} -function ef(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function ff(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function gf(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function hf(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function jf(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function kf(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} -function lf(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function mf(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function nf(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function of(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function pf(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function qf(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} -function rf(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function sf(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function tf(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function uf(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function vf(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function wf(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} -function xf(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function yf(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function zf(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function Af(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function Bf(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function Cf(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} -function Df(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function Ef(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function Ff(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function Gf(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function Hf(a){this.G=a.call(this,this.G,this.G)}function If(a){this.G=a.call(this,this.G,this.I)}function Jf(a){this.G=a.call(this,this.G,this.J)}function Kf(a){this.G=a.call(this,this.G,this.B)} -function Lf(a){this.G=a.call(this,this.G,this.X)}function Mf(a){this.G=a.call(this,this.G,this.H)}function Nf(a){this.G=a.call(this,this.G,this.F)}function Of(a){this.G=a.call(this,this.G,this.D)}function Pf(a){this.I=a.call(this,this.I,this.G)}function Qf(a){this.I=a.call(this,this.I,this.I)}function Rf(a){this.I=a.call(this,this.I,this.J)}function Sf(a){this.I=a.call(this,this.I,this.B)}function Tf(a){this.I=a.call(this,this.I,this.X)}function Uf(a){this.I=a.call(this,this.I,this.H)} -function Vf(a){this.I=a.call(this,this.I,this.F)}function Wf(a){this.I=a.call(this,this.I,this.D)}function Xf(a){this.J=a.call(this,this.J,this.G)}function Yf(a){this.J=a.call(this,this.J,this.I)}function Zf(a){this.J=a.call(this,this.J,this.J)}function $f(a){this.J=a.call(this,this.J,this.B)}function ag(a){this.J=a.call(this,this.J,this.X)}function bg(a){this.J=a.call(this,this.J,this.H)}function cg(a){this.J=a.call(this,this.J,this.F)}function dg(a){this.J=a.call(this,this.J,this.D)} -function eg(a){this.B=a.call(this,this.B,this.G)}function fg(a){this.B=a.call(this,this.B,this.I)}function gg(a){this.B=a.call(this,this.B,this.J)}function hg(a){this.B=a.call(this,this.B,this.B)}function ig(a){this.B=a.call(this,this.B,this.X)}function jg(a){this.B=a.call(this,this.B,this.H)}function kg(a){this.B=a.call(this,this.B,this.F)}function lg(a){this.B=a.call(this,this.B,this.D)}function mg(a){this.X=a.call(this,this.X,this.G)}function ng(a){this.X=a.call(this,this.X,this.I)} -function og(a){this.X=a.call(this,this.X,this.J)}function pg(a){this.X=a.call(this,this.X,this.B)}function qg(a){this.X=a.call(this,this.X,this.X)}function rg(a){this.X=a.call(this,this.X,this.H)}function sg(a){this.X=a.call(this,this.X,this.F)}function tg(a){this.X=a.call(this,this.X,this.D)}function ug(a){this.H=a.call(this,this.H,this.G)}function vg(a){this.H=a.call(this,this.H,this.I)}function wg(a){this.H=a.call(this,this.H,this.J)}function xg(a){this.H=a.call(this,this.H,this.B)} -function yg(a){this.H=a.call(this,this.H,this.X)}function zg(a){this.H=a.call(this,this.H,this.H)}function Ag(a){this.H=a.call(this,this.H,this.F)}function Bg(a){this.H=a.call(this,this.H,this.D)}function Cg(a){this.F=a.call(this,this.F,this.G)}function Dg(a){this.F=a.call(this,this.F,this.I)}function Eg(a){this.F=a.call(this,this.F,this.J)}function Fg(a){this.F=a.call(this,this.F,this.B)}function Gg(a){this.F=a.call(this,this.F,this.X)}function Hg(a){this.F=a.call(this,this.F,this.H)} -function Ig(a){this.F=a.call(this,this.F,this.F)}function Jg(a){this.F=a.call(this,this.F,this.D)}function Kg(a){this.D=a.call(this,this.D,this.G)}function Lg(a){this.D=a.call(this,this.D,this.I)}function Mg(a){this.D=a.call(this,this.D,this.J)}function Ng(a){this.D=a.call(this,this.D,this.B)}function Og(a){this.D=a.call(this,this.D,this.X)}function Pg(a){this.D=a.call(this,this.D,this.H)}function Qg(a){this.D=a.call(this,this.D,this.F)}function Rg(a){this.D=a.call(this,this.D,this.D)} -var Sg=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.aa},function(a){a= +function lb(a,b,c,d){var e=a.td[b];void 0!==e?(e[1]&&e[1].call(e[0],b,c,d),a.Z&&a.Wf!=e[2]&&mb(a.Z,b,c)):a.Z&&(a.Z.ba(a,b,c,d),a.Wf&&mb(a.Z,b,c))}function Ya(a,b,c){v("Memory block error ("+a+","+l(b)+","+l(c)+")");return!1}function Va(a,b,c,d){this.mm=b;this.qa=null;this.offset=0;this.fh=c;this.ia=null;this.jb=this.mk=!1;if(b)if(d)this.ia=d,a=[d.fd,a-d.cb],this.qa=a[0],this.offset=a[1],this.Oe(d.Ff);else{this.qa=Array(b>>2);for(d=0;d>2]>>>((a&3)<<3)&255},Wo:function(a){var b=a>>2;a=(a&3)<<3;var c=this.qa[b]>>>a;return 24>a?c&65535:c&255|(this.qa[b+1]&255)<<8},dp:function(a,b){var c=a>>2,d=(a&3)<<3;this.qa[c]=this.qa[c]&~(255<>2,d=(a&3)<<3;24>d?this.qa[c]=this.qa[c]&~(65535<>8);this.jb=!0},Vo:function(a){ob(this.Z, +this.We+a);return this.pg(a)},Xo:function(a){ob(this.Z,this.We+a)||ob(this.Z,this.We+a+1);return this.Dj(a)},ep:function(a,b){pb(this.Z,this.We+a);this.yg(a,b)},gp:function(a,b){pb(this.Z,this.We+a)||pb(this.Z,this.We+a+1);this.Mj(a,b)},save:function(){return this.ia?null:this.qa},restore:function(a){return this.ia?null===a:this.mm==a.length<<2?(this.qa=a,this.jb=!0):!1},Oe:function(a,b){a||(a=[]);void 0===b&&(b=!0);qb(this,a,b);sb(this,a,b)},Vd:function(a,b){b?0===this.gk++&&sb(this,tb):0===this.fk++&& +qb(this,tb)}};function ub(a,b){b?0===--a.gk&&(a.Cc=a.fh?a.vf:a.yg,a.am=a.fh?a.vf:a.Mj):0===--a.fk&&(a.tc=a.pg,a.Ol=a.Dj)}function Ua(a,b,c,d,e){a.S=b;a.Z=c;a.We=d;a.fk=a.gk=0;a.Z&&vb(a.Z,d,e)}function sb(a,b,c){a.Cc=b[2]&&!a.fh?b[2]:a.vf;a.am=b[3]&&!a.fh?b[3]:a.vf;c&&(a.yg=b[2]?b[2]:a.vf,a.Mj=b[3]?b[3]:a.vf)}function qb(a,b,c){a.tc=b[0]?b[0]:a.Ch;a.Ol=b[1]?b[1]:a.Ch;c&&(a.pg=b[0]?b[0]:a.Ch,a.Dj=b[1]?b[1]:a.Ch)} +var nb=[Va.prototype.Uo,Va.prototype.Wo,Va.prototype.dp,Va.prototype.fp],tb=[Va.prototype.Vo,Va.prototype.Xo,Va.prototype.ep,Va.prototype.gp]; +function wb(a,b){w.call(this,"CPU",a,wb);var c=a.multiplier||1;this.Hd=a.cycles||b;this.Gd=c;this.ph=Math.round(this.Hd/1E4)/100;this.Fe=this.ph*this.Gd;this.Ob=this.Nb=!1;this.ki=a.autoStart;c=Da.autostart;void 0!==c&&(this.ki="true"==c?!0:"false"==c?!1:null);this.bf=!1;this.$f=this.lf=0;this.bg=a.csStart;this.kf=a.csInterval;this.mf=a.csStop;var d=this;this.Wn=function(){d.Me()};this.Sa()}x(w,wb);k=wb.prototype; +k.pc=function(a,b,c,d){this.na=b;this.Z=d;this.Da=a;var e=B(a,"Video");e&&(this.fi=function(){xb(e)},this.Md=function(){e.Md()});this.ka=B(a,"ChipSet");this.Sa()};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.bc=function(a,b){if(!b){if(a&&this.restore){yb(this);if(!this.restore(a))return!1;zb(this)}else this.reset();this.Z?this.Z.zn():this.ca("No debugger detected")}this.Nb=!0;!Ab(this)&&this.Z&&Bb(this.Z);Cb(this);return!0}; +k.Yb=function(a){this.Nb=!1;return a&&this.save?this.save():!0};function Ab(a){return!0===a.ki||null===a.ki&&!a.Z&&void 0===a.ta.run?(a.Me(),!0):!1}k.Md=function(){};k.vk=function(){return 0};function zb(a){void 0===a.bg&&(a.bg=0);void 0===a.kf&&(a.kf=-1);void 0===a.mf&&(a.mf=-1);a.bf=0<=a.bg&&0=a.lf&&(a.lf+=a.kf,c=!0);0<=a.mf&&a.mf<=D(a)&&(a.kf=a.mf=-1,zb(a),a.zb(),c=!0);c&&a.ca(D(a)+" cycles: checksum="+l(a.$f))}}function E(a,b,c,d){void 0!==a.ta[b]&&(void 0===d&&(d=4),void 0===c&&(Qa(a,"Register "+b+" is invalid"),a.zb()),c=l(c,d),a.ta[b].innerHTML!=c&&(a.ta[b].innerHTML=c))}k.Zg=function(){};k.fi=function(){}; +k.wb=function(a,b,c,d){var e=this;a=!1;switch(c){case "run":this.ta[c]=d;d.onclick=function(){e.Ob?e.zb(!0):e.Me(!0)};a=!0;break;case "reset":this.ta[c]=d;d.onclick=function(){e.Da&&Eb(e.Da)};a=!0;break;case "speed":this.ta[c]=d;a=!0;break;case "setSpeed":this.ta[c]=d,d.onclick=function(){Fb(e,e.Gd<<1,!0)},d.innerHTML=this.Fe.toFixed(2)+"Mhz",a=!0}return a};function Gb(a,b,c){a.Je+=b;c&&(a.Yc=a.A=0)} +function Ib(a,b){var c=30;60>c&&(c=60);2>c&&(c=2);var d=1;b&&1a.ph&&(c=Math.round(c/a.Gd));return c}function yb(a){a.md=0;a.sh=1;a.Je=a.ie=a.Yc=a.A=0;zb(a);Fb(a,1)} +function Fb(a,b,c){void 0!==b&&(0.8>a.md/a.Fe&&(b=1),a.Gd=b,b=a.ph*a.Gd,a.Fe!=b&&(a.Fe=b,b=a.Fe.toFixed(2)+"Mhz",a.ta.setSpeed&&(a.ta.setSpeed.innerHTML=b),a.ca("target speed: "+b)),c&&a.Md());Gb(a,a.ie);a.ie=0;a.jf=ma();a.Ge=0;Ib(a)} +k.Me=function(a){if(Na(this,!0)){this.Ob||(Fb(this),this.Da&&this.Da.start(this.jf,D(this)),this.Ob=!0,this.ka&&Jb(this.ka),this.ta.run&&(this.ta.run.innerHTML="Halt"),a&&this.Md());this.wj>=this.Hd&&Ib(this,!0);this.eg=0;this.qh=ma();this.Ge&&(a=this.qh-this.Ge,a>this.Ck&&(this.jf+=a,this.jf>this.qh&&(this.jf=this.qh)));try{do{this.uf(this.bf?1:Math.round(this.On/this.sh));var b=this.Yc-this.A;this.ie+=b;this.eg+=b;Gb(this,0,!0);Db(this,b);this.dg-=b;0>=this.dg&&(this.dg+=this.Gk,this.fi());this.cg-= +b;0>=this.cg&&(this.cg+=this.Fk,this.Zg());this.nf-=b;if(0>=this.nf){this.nf+=this.Ii;break}}while(this.Ob)}catch(c){this.zb();Cb(this);this.Da&&this.Da.stop(ma(),D(this));Na(this,!1);Qa(this,c.message);return}b=setTimeout;a=this.Wn;this.Ge=ma();var d=this.Ck;this.eg&&(d=Math.round(d*this.eg/this.Ii));var d=d-(this.Ge-this.qh),e=this.Ge-this.jf;e&&(this.md=Math.round(this.ie/(10*e))/100,864E5<=e&&(this.Je=0,this.ka&&Kb(this.ka,!0),Fb(this)));if(0>d||this.md>13;return this.La=e}if(b&&768>=b)return this.oa=a,this.Nc=c,this.ab=d,this.Mc=(d&24576)>>13,this.La=e}return-1}function Ub(a){return this.La+a} +function Vb(a){return this.La+a}function Qb(a,b,c){return a+b<=this.Nc?this.La+a:Sb.call(this,0,0,c)}function Sb(a,b,c){c||Wb.call(this.S,13,0);return-1}function Rb(a,b,c){return a+b<=this.Nc?this.La+a:Tb.call(this,0,0,c)}function Tb(a,b,c){c||Wb.call(this.S,13,0);return-1}Mb.prototype.save=function(){return[this.oa,this.La,this.Nc,this.ab,this.Mc,this.ug]};Mb.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.oa=a[0],this.La=a[1],this.Nc=a[2],this.ab=a[3],this.Mc=a[4],this.ug=a[5])}; +function Nb(a,b){void 0===b&&(b=!!(a.S.ad&1));b?(a.load=Pb,a.Uc=Qb,a.$b=Rb):(a.load=Ob,a.Uc=Ub,a.$b=Vb)} +function Xb(a){this.Ga=a.model||8088;var b=0;switch(this.Ga){default:case 8088:b=4772727;break;case 80286:b=6E6}wb.call(this,a,b);this.Tj=61442;this.Eg=4;this.of=255;this.xj=4;this.aa=5;this.ua=6;this.fa=7;this.ga=8;this.P=9;this.V=11;this.W=12;this.He=4;this.Ik=60;this.Jk=83;this.Vb=3;this.qb=9;this.ic=16;this.wh=1;this.Nk=19;this.Pk=28;this.Rk=16;this.Qk=21;this.Ok=37;this.Lk=2;this.Qi=9;this.Mk=5;this.Kk=33;this.Si=10;this.Ri=8;this.ig=3;this.hg=15;this.el=51;this.fl=1;this.gl=2;this.hl=4;this.dl= +32;this.jl=this.Ti=15;this.Wb=16;this.Xb=4;this.ll=11;this.kl=18;this.il=24;this.Cb=4;this.ml=2;this.Ui=16;this.nl=17;this.Zi=18;this.ol=19;this.Yi=5;this.$i=6;this.tl=2;this.sl=8;this.ql=9;this.bj=this.aj=this.pl=this.rl=10;this.Tk=80;this.Vk=144;this.Sk=86;this.Uk=154;this.Xk=101;this.Zk=165;this.Wk=107;this.Yk=171;this.vl=70;this.xl=113;this.ul=76;this.wl=124;this.al=80;this.cl=128;this.$k=86;this.bl=134;this.kg=3;this.jg=16;this.gj=10;this.fj=8;this.yl=51;this.jc=8;this.zl=17;this.Al=36;this.rc= +11;this.Bl=16;this.lg=10;this.Pb=2;this.Ni=18;this.Oi=9-this.Pb;this.Pi=17-this.Pb;this.Vi=12;this.Wi=9-this.Pb;this.Xi=13-this.Pb;this.cj=18;this.dj=9-this.Pb;this.ej=17-this.Pb;this.hj=15;this.ij=9-this.Pb;this.jj=15-this.Pb;this.nj=11;this.oj=9-this.Pb;this.pj=10-this.Pb;this.Cl=8;this.Fl=12;this.Dl=18;this.El=17;this.Gl=15;this.lj=8;this.kj=20;this.mj=2;this.sj=3;this.mg=9;this.rj=5;this.qj=11;this.uj=4;this.tj=17;this.Hl=11;this.Pa=Yb.slice();80186<=this.Ga&&(this.of=31,this.Pa[15]=F,this.Pa[96]= +Zb,this.Pa[97]=$b,this.Pa[98]=ac,this.Pa[99]=F,this.Pa[100]=F,this.Pa[101]=F,this.Pa[102]=F,this.Pa[103]=F,this.Pa[104]=bc,this.Pa[105]=cc,this.Pa[106]=dc,this.Pa[107]=ec,this.Pa[108]=fc,this.Pa[109]=gc,this.Pa[110]=hc,this.Pa[111]=ic,this.Pa[192]=jc,this.Pa[193]=kc,this.Pa[200]=lc,this.Pa[200]=mc,this.Pa[241]=nc,oc[7]=pc,qc[7]=pc,80286<=this.Ga&&(this.Tj=2,this.Eg=0,this.Pa[15]=rc,this.Pa[99]=sc,this.Pa[84]=tc,this.P=this.ga=this.fa=this.ua=this.aa=this.xj=0,this.W=this.V=1,this.He=3,this.Ik=14, +this.Jk=16,this.Vb=2,this.ic=this.qb=7,this.wh=0,this.Nk=7,this.Pk=13,this.Rk=7,this.Qk=11,this.Ok=16,this.Lk=3,this.Qi=6,this.Mk=2,this.Kk=13,this.Ri=this.Si=5,this.ig=2,this.hg=7,this.el=23,this.fl=0,this.gl=1,this.hl=3,this.dl=17,this.Ti=7,this.jl=11,this.Wb=7,this.Xb=3,this.ll=7,this.kl=11,this.il=15,this.Cb=2,this.ml=3,this.Ui=7,this.ol=this.Zi=this.nl=8,this.$i=this.Yi=4,this.tl=2,this.sl=3,this.ql=5,this.rl=2,this.pl=3,this.aj=5,this.bj=3,this.Tk=14,this.Vk=22,this.Sk=17,this.Uk=25,this.Xk= +17,this.Zk=25,this.Wk=20,this.Yk=28,this.vl=13,this.xl=21,this.ul=16,this.wl=24,this.al=13,this.cl=21,this.$k=16,this.bl=24,this.kg=2,this.jg=7,this.fj=this.gj=5,this.yl=19,this.zl=this.jc=5,this.Al=17,this.rc=3,this.Bl=5,this.lg=3,this.Pb=0,this.Ni=8,this.Oi=5,this.Pi=9,this.Wi=this.Vi=5,this.Xi=4,this.dj=this.cj=5,this.ej=4,this.hj=7,this.ij=5,this.jj=8,this.nj=3,this.oj=4,this.pj=3,this.Fl=this.Cl=11,this.El=this.Dl=15,this.Gl=7,this.lj=5,this.kj=8,this.mj=0,this.sj=2,this.mg=6,this.rj=3,this.qj= +6,this.uj=3,this.Hl=this.tj=5));this.Gg=[];this.Hg=[];this.Wg=0;this.Aa=[];this.se=this.Jb=this.ob=this.eb=this.we=0;this.T=this.xm;this.U=this.ym;this.N=this.Fn;this.O=this.Gn;this.Q=this.bp;this.R=this.cp;uc(this)}x(wb,Xb);k=Xb.prototype;k.Bi=function(a,b,c,d,e){this.Aa=a;this.se=this.Jb=b;this.ob=c;this.eb=d;this.we=e};k.reset=function(){this.Ob&&this.zb();uc(this);yb(this);this.kd=!1}; +function uc(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ad=65520;a.ed=0;a.re=1023;a.Jc={yj:0,oa:0,ab:0,oh:-1};a.ra=new Mb(a,"CS");a.Qb=new Mb(a,"DS");a.Eb=new Mb(a,"SS");a.bb=new Mb(a,"ES");a.Yl=new Mb(a,"ZERO");vc(a,0,65535);80286<=a.Ga&&(a.Qc=a.Xe=0,a.Ld=new Mb(a,"LDT",!0),a.xg=new Mb(a,"TSS",!0),a.Rb=new Mb(a,"VER",!0),vc(a,65520,61440),a.ra.La=16711680);wc(a,0);xc(a);a.kb=0;a.Db=a.rg=-1;a.Pg=0;a.ha=a.Ka=-1;a.C=a.Qb;a.M=a.Eb;a.$=a.wa=0} +k.vk=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.sa+this.ra.oa+this.Qb.oa+this.Eb.oa+this.bb.oa+yc(this)|0};function zc(a,b,c,d){void 0!==d&&(void 0===a.Gg[b]&&(a.Gg[b]=[]),a.Gg[b].push([c,d]))}function Ac(a,b,c){void 0!==c&&(null==a.Hg[b]&&a.Wg++,a.Hg[b]=c)}function Bc(a,b){var c=a.Hg[b];null!=c&&(c(--a.Wg),delete a.Hg[b])}function xc(a,b){void 0===b&&(b=!!(a.ad&1));Cc=b?Dc:Ec;Nb(a.ra,b);Nb(a.Qb,b);Nb(a.Eb,b);Nb(a.bb,b)} +k.save=function(){var a=new G(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.sa,this.ra.save(),this.Qb.save(),this.Eb.save(),this.bb.save(),yc(this),null!=this.Qc?[this.ad,this.Qc,this.Xe,this.ed,this.re,this.Ld.save(),this.xg.save()]:null]);a.set(2,[this.C.ug,this.M.ug,this.$,this.wa,this.kb,this.ha,this.Ka]);a.set(3,[this.sh,this.Je,this.Gd]);a.set(4,eb(this.na));return a.data()}; +k.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.ra.restore(b[1]);this.Qb.restore(b[2]);this.Eb.restore(b[3]);this.bb.restore(b[4]);wc(this,b[5]);var c=b[6];c&&c.length&&(this.ad=c[0],this.Qc=c[1],this.Xe=c[2],this.ed=c[3],this.re=c[4],this.Ld.restore(c[5]),this.xg.restore(c[6]),xc(this));H(this,b[0]);b=a[2];this.C=Fc(this,b[0]);this.M=Fc(this,b[1]);this.$=b[2];this.wa=b[3];this.kb=b[4];this.ha=b[5];this.Ka= +b[6];b=a[3];this.sh=b[0];this.Je=b[1];Fb(this,b[2]);a:{b=this.na;a=a[4];for(c=0;c>1?128:0} +function Tc(a){return(a.ja^a.ma^a.ja>>1)&a.da>>1?2048:0}function Uc(a){a.Y&=~a.da}function Vc(a){a.ma=a.ja&16|a.ma&-17}function Wc(a){a.Y|=a.da-1}function Xc(a){Sc(a)&&(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function Yc(a){a.ja&=~a.da;a.ma=a.ja&32896|a.ma&-32897}function Zc(a){a.Y|=a.da}function $c(a){a.ma=~(a.ja&16)&16|a.ma&-17}function ad(a){a.Y&=~(a.da-1)}function bd(a){Sc(a)||(a.ja^=a.da>>1|a.da>>2,a.ma^=32896)}function cd(a){a.ja|=a.da;a.ma=a.ja&32896|a.ma&-32897} +function yc(a){return a.xa&-2262|Oc(a)|Pc(a)|Qc(a)|Rc(a)|Sc(a)|Tc(a)}function wc(a,b){a.da=256;a.Y=a.ja=a.ma=0;b&1&&Zc(a);b&4||(a.ja|=1);b&16&&(a.ma|=16);b&64||Wc(a);b&128&&bd(a);b&2048&&cd(a);a.xa=a.xa&-1793|b&1792|a.Tj;a.xa&256&&(a.kb|=2,a.$|=4)} +k.wb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.ta[c]=d;e=!0;break;default:e=wb.prototype.wb.call(this,a,b,c,d)}return e};k.ub=function(a){return this.Aa[(a&this.Jb)>>this.ob].tc(a&this.eb)}; +k.Ia=function(a){var b=a&this.eb;a=(a&this.Jb)>>this.ob;this.A-=this.xj;return b!=this.eb?this.Aa[a].Ol(b):this.Aa[a++].tc(b)|this.Aa[a&this.we].tc(0)<<8};k.bd=function(a,b){this.Aa[(a&this.Jb)>>this.ob].Cc(a&this.eb,b&255)};k.Nd=function(a,b){var c=a&this.eb,d=(a&this.Jb)>>this.ob;this.A-=this.xj;c!=this.eb?this.Aa[d].am(c,b&65535):(this.Aa[d++].Cc(c,b&255),this.Aa[d&this.we].Cc(0,b>>8&255))};k.xm=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)}; +k.ym=function(a,b){this.wg=a;this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.Fn=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,0);return this.$&1?0:this.ub(this.ha)};k.Gn=function(a,b){this.wg=a;this.Ka=this.ha=a.Uc(this.ng=b,1);return this.$&1?0:this.Ia(this.ha)};k.bp=function(a){this.$&2||this.bd(this.wg.$b(this.ng,1),a)};k.cp=function(a){this.$&2||this.Nd(this.wg.$b(this.ng,2),a)};k.ea=function(){var a=this.ub(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a}; +k.L=function(){var a=this.ub(this.Ca)<<24>>24;this.Ca=this.ra.La+(this.sa=this.sa+1&65535);return a&65535};k.K=function(){var a=this.Ia(this.Ca);this.Ca=this.ra.La+(this.sa=this.sa+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.Ia(this.Eb.Uc(a,1))};function J(a,b){var c=a.X=a.X-2&65535;a.Nd(a.Eb.$b(c,1),b)} +k.Zg=function(){E(this,"AX",this.G);E(this,"BX",this.B);E(this,"CX",this.I);E(this,"DX",this.J);E(this,"SP",this.X);E(this,"BP",this.H);E(this,"SI",this.F);E(this,"DI",this.D);E(this,"CS",this.ra.oa);E(this,"DS",this.Qb.oa);E(this,"SS",this.Eb.oa);E(this,"ES",this.bb.oa);E(this,"IP",this.sa);var a=yc(this);E(this,"PS",a);E(this,"C",a&1?1:0,1);E(this,"P",a&4?1:0,1);E(this,"A",a&16?1:0,1);E(this,"Z",a&64?1:0,1);E(this,"S",a&128?1:0,1);E(this,"T",a&256?1:0,1);E(this,"I",a&512?1:0,1);E(this,"D",a&1024? +1:0,1);E(this,"O",a&2048?1:0,1);this.ta.speed&&(this.ta.speed.innerHTML=this.Ob&&this.md?this.md.toFixed(2)+"Mhz":"Stopped")}; +k.uf=function(a){this.oi=!0;this.qm=a&&this.Z&&1this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&255}function id(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&255} +function jd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function kd(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&255}function ld(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&255} +function md(a,b){this.ma=a^b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&255}function nd(a,b){this.da=256;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&255}function od(a,b){this.ma=a^b;this.da=256;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Qi:this.qb;this.$|=2;return a} +function pd(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a+b)&65535}function qd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a|b)&65535}function rd(a,b){this.ma=a^b;this.Y=this.ja=a+b+(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535} +function sd(a,b){this.ma=a^b;this.Y=this.ja=a-b-(this.Y&this.da?1:0);this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return this.Y&65535}function td(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a&b)&65535}function ud(a,b){this.ma=a^b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=a-b)&65535} +function vd(a,b){this.da=65536;this.A-=0>this.Ka?0>this.ha?this.Vb:this.qb:this.ic;return(this.Y=this.ja=this.ma=a^b)&65535}function wd(a,b){this.ma=a^b;this.da=65536;this.Y=this.ja=a-b;this.A-=0>this.Ka?0>this.ha?this.Vb:this.Qi:this.qb;this.$|=2;return a}function xd(a,b){this.Y=this.Y&this.da-1|(a&b?this.da:0);(a^a>>1)&b>>1?cd(this):Yc(this)}function yd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;xd.call(this,d,256)}return c} +function zd(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;xd.call(this,d,65536)}return c}function Ad(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);xd.call(this,d,256)}return c}function Bd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);xd.call(this,d,65536)}return c} +function Cd(a,b){var c=a;if(b){var d;(d=(b&this.of)%9)?(d=a<>9-d,c=d&255):d=a|(this.Y&this.da?1:0)<<8;xd.call(this,d,256)}return c}function Dd(a,b){var c=a;if(b){var d;(d=(b&this.of)%17)?(d=a<>17-d,c=d&65535):d=a|(this.Y&this.da?1:0)<<16;xd.call(this,d,65536)}return c}function Ed(a,b){var c=a;b&&(c=(b&this.of)%9,c=a>>c|(this.Y&this.da?1:0)<<8-c|a<<9-c,xd.call(this,c,256),c&=255);return c} +function Fd(a,b){var c=a;b&&(c=(b&this.of)%17,c=a>>c|(this.Y&this.da?1:0)<<16-c|a<<17-c,xd.call(this,c,65536),c&=65535);return c}function Gd(a,b){var c=a;b&&(c=8>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255}function Jd(a,b){if(b){var c=16>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Kd(a,b){if(b){8>24>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.ma=a^this.Y;this.da=256;a=this.Y}return a&255} +function Ld(a,b){if(b){16>16>>b-1;this.Y=this.ja=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.ma=a^this.Y;this.da=65536;a=this.Y}return a&65535}function Md(){this.A-=0>this.ha?2:this.Gl;return 1}function Nd(){var a=this.I&this.of;this.A-=(0>this.ha?this.lj:this.kj)+(a<this.ha?this.lj:this.kj)+(a<this.Ka?this.jc:this.zl;return b},Td,Td,Td,Td,Td,Td,Td],Xd=[function(a,b){this.A-=0>this.Ka?this.rl:this.pl;return b},L,L,L,L,L,L,L],Yd=[yd,Ad,Cd,Ed,Gd,Id,L,Kd],Zd=[zd,Bd,Dd,Fd,Hd,Jd,L,Ld],ae=[function(a,b){b=this.ea();this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.ha?this.rj:this.qj;this.$|=2;return a},L,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^255},function(a,b){b=0;this.ma=a^b;this.da= +256;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&255},function(a){this.G=this.Db=(this.Y=(this.G&255)*a)&65535;this.ma=this.ja=this.Y;this.da=256;this.G&65280?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.vl:this.ul;this.$|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.Db=b&65535;this.Y=this.ma=this.ja=b;this.da=256;127b?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.al:this.$k;this.$|=2;return a},function(a){if(!a)return $d.call(this), +a;var b=this.G/a;if(255this.ha?this.Tk:this.Sk;this.$|=2;return a},function(a){if(!a)return $d.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return $d.call(this),a;this.Db=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.ja=this.ma=this.Y=b|256;this.da=256;this.A-=0>this.ha?this.Xk:this.Wk;this.$|=2;return a}],be=[function(a,b){b=this.K();this.Y=this.ja= +this.ma=a&b;this.da=65536;this.A-=0>this.ha?this.rj:this.qj;this.$|=2;return a},L,function(a){this.A-=0>this.ha?this.kg:this.jg;return a^65535},function(a,b){b=0;this.ma=a^b;this.da=65536;this.A-=0>this.ha?this.kg:this.jg;return(this.Y=this.ja=b-a)&65535},function(a){this.Db=this.G=(this.Y=this.G*a)&65535;this.rg=this.J=this.Y>>16&65535;this.ma=this.ja=this.Y;this.da=65536;this.J?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.xl:this.wl;this.$|=2;return a},function(a){var b=(this.G<< +16>>16)*(a<<16>>16);this.G=this.Db=b&65535;this.J=this.rg=b>>16&65535;this.Y=this.ma=this.ja=b;this.da=65536;32767b?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?this.cl:this.bl;this.$|=2;return a},function(a,b){if(!a)return $d.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return $d.call(this),a;this.Db=this.G=c&65535;this.rg=this.J=b%a&65535;this.ja=this.ma=this.Y=c|65536;this.da=65536;this.A-=0>this.ha?this.Vk:this.Uk;this.$|=2;return a},function(a, +b){if(!a)return $d.call(this),a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return $d.call(this),a;this.Db=this.G=d&65535;this.rg=this.J=b%c&65535;this.ja=this.ma=this.Y=d|65536;this.da=65536;this.A-=0>this.ha?this.Zk:this.Yk;this.$|=2;return a}],oc=[function(a){this.ma=a;a=(this.ja=a+1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da=256;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&255;this.Y=a|(this.Y&this.da?1:0)<<8;this.da= +256;this.A-=0>this.ha?this.ig:this.hg;return a},L,L,L,L,L,L],qc=[function(a){this.ma=a;a=(this.ja=a+1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){this.ma=a;a=(this.ja=a-1)&65535;this.Y=a|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=0>this.ha?this.ig:this.hg;return a},function(a){J(this,this.sa);H(this,a);this.A-=0>this.ha?this.Rk:this.Qk;this.$|=2;return a},function(a){if(0>this.ha)return L.call(this,a);J(this,this.ra.oa);J(this, +this.sa);vc(this,a,this.Ia(this.ha+2));this.A-=this.Ok;this.$|=2;return a},function(a){H(this,a);this.A-=0>this.ha?this.ll:this.kl;this.$|=2;return a},function(a){if(0>this.ha)return L.call(this,a);vc(this,a,this.Ia(this.ha+2));this.A-=this.il;this.$|=2;return a},function(a){var b=a;this.$&512&&(a=a-2&65535,80286>this.Ga&&(b=a));J(this,b);this.A-=0>this.ha?this.rc:this.Bl;this.$|=2;return a},Td],ce=[yd,Ad,Cd,Ed,Gd,Id,L,Kd],de=[zd,Bd,Dd,Fd,Hd,Jd,L,Ld]; +function ee(a,b){this.A-=0>this.Ka?0>this.ha?this.tl:this.sl:this.ql;return b}function fe(){return ee.call(this,0,this.Db)}function ge(a,b){this.Y=this.ja=this.ma=a&b;this.da=256;this.A-=0>this.Ka?0>this.ha?this.sj:this.mg:this.mg;this.$|=2;return a}function he(a,b){this.Y=this.ja=this.ma=a&b;this.da=65536;this.A-=0>this.Ka?0>this.ha?this.sj:this.mg:this.mg;this.$|=2;return a} +function ie(a,b){var c=(b<<16>>16)*(this.ea()<<24>>24);this.Y=this.ma=this.ja=c;this.da=256;32767c?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?21:24;return c&65535}function je(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.Y=this.ma=this.ja=c;this.da=65536;32767c?(Zc(this),cd(this)):(Uc(this),Yc(this));this.A-=0>this.ha?21:24;return c&65535}function ke(a){return a}function le(a){if(0>this.ha)return M.call(this),a;this.A-=this.ml;return this.ha} +function me(a,b){if(0>this.ha)return M.call(this),a;Lc(this,this.Ia(this.ha+2));this.A-=this.Ui;return b}function ne(a,b){if(0>this.ha)return M.call(this),a;Nc(this,this.Ia(this.ha+2));this.A-=this.Ui;return b}function oe(a){if(0>this.ha)return F.call(this),a;var b=a<<16>>16,c=this.Ia(this.ha)<<16>>16,d=this.Ia(this.ha+2)<<16>>16;this.A-=this.Kk;if(bd)H(this,this.zh-this.ra.La),ed.call(this,5,null,0);this.$|=2;return a} +function pe(a,b){this.A-=10+(0>this.ha?0:1);if((a&3)<(b&3))return a=a&-4|b&3,ad(this),a;Wc(this);return a}function qe(a,b){this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(b,!0)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(b&3))return ad(this),this.Rb.ab&65280;Wc(this);return a}function re(a,b){this.A-=14+(0>this.ha?0:2);if(b&65528&&0<=this.Rb.load(b,!0)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3))&&this.Rb.Mc>=(b&3))return ad(this),this.Rb.Nc;Wc(this);return a} +function se(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.uj}else this.Ka=this.ha,this.Q(a),this.A-=this.tj;return b} +function te(a,b){if(0>this.ha){switch(this.Pg&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.uj}else this.Ka=this.ha,this.R(a),this.A-=this.tj;return b}function ed(a,b,c){Gc(this,a)&&(J(this,yc(this)),this.xa&=this.Jc.oh,J(this,this.ra.oa),J(this,this.sa),null!=b&&J(this,b),vc(this,this.Jc.yj,this.Jc.oa),this.A-=this.el+c)} +function $d(){H(this,this.zh-this.ra.La);ed.call(this,0,null,2)}function Wb(a,b){this.Z&&this.Z.message("Fault 0x"+p(a)+(null!=b?" (0x"+r(b)+")":"")+" on opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));80186<=this.Ga&&(H(this,this.zh-this.ra.La),ed.call(this,a,b,0))}function F(){Wb.call(this,6);this.zb()}function M(){H(this,this.zh-this.ra.La);Qa(this,"Undefined opcode 0x"+p($a(this.na,this.Ca))+" at "+ca(this.sa,this.ra.oa));this.zb()} +function ue(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function ve(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function we(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function xe(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function ye(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function ze(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} +function Ae(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function Be(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function Ce(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function De(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function Ee(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function Fe(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} +function Ge(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function He(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function Ie(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function Je(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function Ke(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function Le(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} +function Me(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function Ne(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function Oe(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function Pe(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function Qe(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function Re(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} +function Se(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function Te(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function Ue(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function Ve(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function We(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function Xe(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} +function Ye(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function Ze(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function $e(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function af(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function bf(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function cf(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} +function df(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function ef(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function ff(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function gf(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function hf(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function jf(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} +function kf(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function lf(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function mf(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function nf(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function of(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function pf(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} +function qf(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function rf(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function sf(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function tf(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function uf(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function vf(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} +function wf(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function xf(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function yf(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function zf(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function Af(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function Bf(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} +function Cf(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function Df(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function Ef(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function Ff(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function Gf(a){this.G=a.call(this,this.G,this.G)}function Hf(a){this.G=a.call(this,this.G,this.I)}function If(a){this.G=a.call(this,this.G,this.J)}function Jf(a){this.G=a.call(this,this.G,this.B)} +function Kf(a){this.G=a.call(this,this.G,this.X)}function Lf(a){this.G=a.call(this,this.G,this.H)}function Mf(a){this.G=a.call(this,this.G,this.F)}function Nf(a){this.G=a.call(this,this.G,this.D)}function Of(a){this.I=a.call(this,this.I,this.G)}function Pf(a){this.I=a.call(this,this.I,this.I)}function Qf(a){this.I=a.call(this,this.I,this.J)}function Rf(a){this.I=a.call(this,this.I,this.B)}function Sf(a){this.I=a.call(this,this.I,this.X)}function Tf(a){this.I=a.call(this,this.I,this.H)} +function Uf(a){this.I=a.call(this,this.I,this.F)}function Vf(a){this.I=a.call(this,this.I,this.D)}function Wf(a){this.J=a.call(this,this.J,this.G)}function Xf(a){this.J=a.call(this,this.J,this.I)}function Yf(a){this.J=a.call(this,this.J,this.J)}function Zf(a){this.J=a.call(this,this.J,this.B)}function $f(a){this.J=a.call(this,this.J,this.X)}function ag(a){this.J=a.call(this,this.J,this.H)}function bg(a){this.J=a.call(this,this.J,this.F)}function cg(a){this.J=a.call(this,this.J,this.D)} +function dg(a){this.B=a.call(this,this.B,this.G)}function eg(a){this.B=a.call(this,this.B,this.I)}function fg(a){this.B=a.call(this,this.B,this.J)}function gg(a){this.B=a.call(this,this.B,this.B)}function hg(a){this.B=a.call(this,this.B,this.X)}function ig(a){this.B=a.call(this,this.B,this.H)}function jg(a){this.B=a.call(this,this.B,this.F)}function kg(a){this.B=a.call(this,this.B,this.D)}function lg(a){this.X=a.call(this,this.X,this.G)}function mg(a){this.X=a.call(this,this.X,this.I)} +function ng(a){this.X=a.call(this,this.X,this.J)}function og(a){this.X=a.call(this,this.X,this.B)}function pg(a){this.X=a.call(this,this.X,this.X)}function qg(a){this.X=a.call(this,this.X,this.H)}function rg(a){this.X=a.call(this,this.X,this.F)}function sg(a){this.X=a.call(this,this.X,this.D)}function tg(a){this.H=a.call(this,this.H,this.G)}function ug(a){this.H=a.call(this,this.H,this.I)}function vg(a){this.H=a.call(this,this.H,this.J)}function wg(a){this.H=a.call(this,this.H,this.B)} +function xg(a){this.H=a.call(this,this.H,this.X)}function yg(a){this.H=a.call(this,this.H,this.H)}function zg(a){this.H=a.call(this,this.H,this.F)}function Ag(a){this.H=a.call(this,this.H,this.D)}function Bg(a){this.F=a.call(this,this.F,this.G)}function Cg(a){this.F=a.call(this,this.F,this.I)}function Dg(a){this.F=a.call(this,this.F,this.J)}function Eg(a){this.F=a.call(this,this.F,this.B)}function Fg(a){this.F=a.call(this,this.F,this.X)}function Gg(a){this.F=a.call(this,this.F,this.H)} +function Hg(a){this.F=a.call(this,this.F,this.F)}function Ig(a){this.F=a.call(this,this.F,this.D)}function Jg(a){this.D=a.call(this,this.D,this.G)}function Kg(a){this.D=a.call(this,this.D,this.I)}function Lg(a){this.D=a.call(this,this.D,this.J)}function Mg(a){this.D=a.call(this,this.D,this.B)}function Ng(a){this.D=a.call(this,this.D,this.X)}function Og(a){this.D=a.call(this,this.D,this.H)}function Pg(a){this.D=a.call(this,this.D,this.F)}function Qg(a){this.D=a.call(this,this.D,this.D)} +var Rg=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.aa},function(a){a= a.call(this,this.N(this.C,this.D),this.G&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.K()),this.G&255);this.Q(a);this.A-=this.ua},function(a){a=a.call(this,this.N(this.C,this.B),this.G&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.I&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.I&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F& 65535),this.I&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.I&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.I&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.D),this.I&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C,this.K()),this.I&255);this.Q(a);this.A-=this.ua},function(a){a=a.call(this,this.N(this.C,this.B),this.I&255);this.Q(a);this.A-=this.aa},function(a){a= a.call(this,this.N(this.C,this.B+this.F&65535),this.J&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.J&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.J&255);this.Q(a);this.A-=this.ga},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.J&255);this.Q(a);this.A-=this.fa},function(a){a=a.call(this,this.N(this.C,this.F),this.J&255);this.Q(a);this.A-=this.aa},function(a){a=a.call(this,this.N(this.C, @@ -151,7 +150,7 @@ this.V},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.I>>8 this.V},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.J>>8); this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()& 65535),this.B>>8);this.Q(a);this.A-=this.W},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()& -65535),this.B>>8);this.Q(a);this.A-=this.P},ve,De,Le,Te,af,jf,rf,zf,we,Ee,Me,Ue,bf,kf,sf,Af,xe,Fe,Ne,Ve,cf,lf,tf,Bf,ye,Ge,Oe,We,df,mf,uf,Cf,ze,He,Pe,Xe,ef,nf,vf,Df,Ae,Ie,Qe,Ye,ff,of,wf,Ef,Be,Je,Re,Ze,gf,pf,xf,Ff,Ce,Ke,Se,$e,hf,qf,yf,Gf],Tg=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); +65535),this.B>>8);this.Q(a);this.A-=this.P},ue,Ce,Ke,Se,$e,hf,qf,yf,ve,De,Le,Te,af,jf,rf,zf,we,Ee,Me,Ue,bf,kf,sf,Af,xe,Fe,Ne,Ve,cf,lf,tf,Bf,ye,Ge,Oe,We,df,mf,uf,Cf,ze,He,Pe,Xe,ef,nf,vf,Df,Ae,Ie,Qe,Ye,ff,of,wf,Ef,Be,Je,Re,Ze,gf,pf,xf,Ff],Sg=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.G);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.F),this.G);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.D),this.G);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.K()),this.G);this.R(a);this.A-=this.ua},function(a){a=a.call(this,this.O(this.C,this.B),this.G);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.B+ this.F&65535),this.I);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.I);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.I);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.I);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.F),this.I);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.D),this.I);this.R(a);this.A-=this.aa}, function(a){a=a.call(this,this.O(this.C,this.K()),this.I);this.R(a);this.A-=this.ua},function(a){a=a.call(this,this.O(this.C,this.B),this.I);this.R(a);this.A-=this.aa},function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.J);this.R(a);this.A-=this.fa},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.J);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.J);this.R(a);this.A-=this.ga},function(a){a=a.call(this,this.O(this.M,this.H+ @@ -188,7 +187,7 @@ this.F+this.K()&65535),this.H);this.R(a);this.A-=this.W},function(a){a=a.call(th 65535),this.H);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.F+ this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()& 65535),this.D);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.W},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.D);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.C,this.F+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535), -this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},Hf,Pf,Xf,eg,mg,ug,Cg,Kg,If,Qf,Yf,fg,ng,vg,Dg,Lg,Jf,Rf,Zf,gg,og,wg,Eg,Mg,Kf,Sf,$f,hg,pg,xg,Fg,Ng,Lf,Tf,ag,ig,qg,yg,Gg,Og,Mf,Uf,bg,jg,rg,zg,Hg,Pg,Nf,Vf,cg,kg,sg,Ag,Ig,Qg,Of,Wf,dg,lg,tg,Bg,Jg,Rg],Ug=[function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.D& +this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},Gf,Of,Wf,dg,lg,tg,Bg,Jg,Hf,Pf,Xf,eg,mg,ug,Cg,Kg,If,Qf,Yf,fg,ng,vg,Dg,Lg,Jf,Rf,Zf,gg,og,wg,Eg,Mg,Kf,Sf,$f,hg,pg,xg,Fg,Ng,Lf,Tf,ag,ig,qg,yg,Gg,Og,Mf,Uf,bg,jg,rg,zg,Hg,Pg,Nf,Vf,cg,kg,sg,Ag,Ig,Qg],Tg=[function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.B+this.D& 65535));this.G=this.G&-256|a;this.A-=this.ga},function(a){a=a.call(this,this.G&255,this.T(this.M,this.H+this.F&65535));this.G=this.G&-256|a;this.A-=this.ga},function(a){a=a.call(this,this.G&255,this.T(this.M,this.H+this.D&65535));this.G=this.G&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.F));this.G=this.G&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.G&255,this.T(this.C,this.D));this.G=this.G&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.G&255, this.T(this.C,this.K()));this.G=this.G&-256|a;this.A-=this.ua},function(a){a=a.call(this,this.G&255,this.T(this.C,this.B));this.G=this.G&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.B+this.F&65535));this.I=this.I&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.B+this.D&65535));this.I=this.I&-256|a;this.A-=this.ga},function(a){a=a.call(this,this.I&255,this.T(this.M,this.H+this.F&65535));this.I=this.I&-256|a;this.A-=this.ga},function(a){a= a.call(this,this.I&255,this.T(this.M,this.H+this.D&65535));this.I=this.I&-256|a;this.A-=this.fa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.F));this.I=this.I&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.D));this.I=this.I&-256|a;this.A-=this.aa},function(a){a=a.call(this,this.I&255,this.T(this.C,this.K()));this.I=this.I&-256|a;this.A-=this.ua},function(a){a=a.call(this,this.I&255,this.T(this.C,this.B));this.I=this.I&-256|a;this.A-=this.aa},function(a){a= @@ -231,7 +230,7 @@ a.call(this,this.I>>8,this.T(this.C,this.D+this.K()&65535));this.I=this.I&255|a< this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.W},function(a){a=a.call(this,this.J>>8,this.T(this.M,this.H+this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.W},function(a){a=a.call(this,this.J>>8,this.T(this.M,this.H+this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.J>>8,this.T(this.C,this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.T(this.C,this.D+this.K()&65535));this.J=this.J& 255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.T(this.M,this.H+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.T(this.C,this.B+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.W},function(a){a= a.call(this,this.B>>8,this.T(this.M,this.H+this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.W},function(a){a=a.call(this,this.B>>8,this.T(this.M,this.H+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.M, -this.H+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf],O=[function(a){this.G=a.call(this,this.G,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.G=a.call(this,this.G, +this.H+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.T(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff],N=[function(a){this.G=a.call(this,this.G,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.G=a.call(this,this.G, this.U(this.C,this.B+this.D&65535));this.A-=this.ga},function(a){this.G=a.call(this,this.G,this.U(this.M,this.H+this.F&65535));this.A-=this.ga},function(a){this.G=a.call(this,this.G,this.U(this.M,this.H+this.D&65535));this.A-=this.fa},function(a){this.G=a.call(this,this.G,this.U(this.C,this.F));this.A-=this.aa},function(a){this.G=a.call(this,this.G,this.U(this.C,this.D));this.A-=this.aa},function(a){this.G=a.call(this,this.G,this.U(this.C,this.K()));this.A-=this.ua},function(a){this.G=a.call(this, this.G,this.U(this.C,this.B));this.A-=this.aa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.B+this.D&65535));this.A-=this.ga},function(a){this.I=a.call(this,this.I,this.U(this.M,this.H+this.F&65535));this.A-=this.ga},function(a){this.I=a.call(this,this.I,this.U(this.M,this.H+this.D&65535));this.A-=this.fa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.F));this.A-=this.aa},function(a){this.I= a.call(this,this.I,this.U(this.C,this.D));this.A-=this.aa},function(a){this.I=a.call(this,this.I,this.U(this.C,this.K()));this.A-=this.ua},function(a){this.I=a.call(this,this.I,this.U(this.C,this.B));this.A-=this.aa},function(a){this.J=a.call(this,this.J,this.U(this.C,this.B+this.F&65535));this.A-=this.fa},function(a){this.J=a.call(this,this.J,this.U(this.C,this.B+this.D&65535));this.A-=this.ga},function(a){this.J=a.call(this,this.J,this.U(this.M,this.H+this.F&65535));this.A-=this.ga},function(a){this.J= @@ -266,7 +265,7 @@ a.call(this,this.H,this.U(this.C,this.B+this.F+this.K()&65535));this.A-=this.V}, this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.H=a.call(this,this.H,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.H=a.call(this,this.H,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.C,this.B+this.F+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.U(this.C,this.B+this.D+this.K()&65535));this.A-=this.W},function(a){this.F=a.call(this,this.F,this.U(this.M,this.H+this.F+ this.K()&65535));this.A-=this.W},function(a){this.F=a.call(this,this.F,this.U(this.M,this.H+this.D+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.U(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.D= a.call(this,this.D,this.U(this.C,this.B+this.F+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.U(this.C,this.B+this.D+this.K()&65535));this.A-=this.W},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.F+this.K()&65535));this.A-=this.W},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.D+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.U(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D, -this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg],Vg=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535), +this.U(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.U(this.C,this.B+this.K()&65535));this.A-=this.P},Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg,yg,zg,Ag,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg],Ug=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535), b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.D&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[0].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[0].call(this, this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[0].call(this,this.N(this.C,this.K()),b.call(this));this.Q(c);this.A-=this.ua},function(a,b){var c=a[0].call(this,this.N(this.C,this.B),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.D&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c= a[1].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ga},function(a,b){var c=a[1].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.N(this.C,this.K()),b.call(this));this.Q(c);this.A-=this.ua},function(a, @@ -319,7 +318,7 @@ this.G&255|c<<8},function(a,b){var c=a[3].call(this,this.I>>8,b.call(this));this c},function(a,b){var c=a[5].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[5].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[5].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[5].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[5].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[5].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a, b){var c=a[5].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[6].call(this,this.G&255,b.call(this));this.G=this.G&-256|c},function(a,b){var c=a[6].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[6].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[6].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[6].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c= a[6].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[6].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[6].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[7].call(this,this.G&255,b.call(this));this.G=this.G&-256|c},function(a,b){var c=a[7].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[7].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[7].call(this, -this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[7].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],Wg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.fa},function(a, +this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[7].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],Vg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.fa},function(a, b){var c=a[0].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.O(this.M,this.H+this.F&65535),b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[0].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c);this.A-=this.fa},function(a,b){var c=a[0].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[0].call(this,this.O(this.C,this.D),b.call(this));this.R(c); this.A-=this.aa},function(a,b){var c=a[0].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.ua},function(a,b){var c=a[0].call(this,this.O(this.C,this.B),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.F&65535), b.call(this));this.R(c);this.A-=this.ga},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c);this.A-=this.fa},function(a,b){var c=a[1].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.O(this.C,this.D),b.call(this));this.R(c);this.A-=this.aa},function(a,b){var c=a[1].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.ua},function(a,b){var c=a[1].call(this,this.O(this.C,this.B), @@ -369,372 +368,372 @@ this.G,b.call(this))},function(a,b){this.I=a[3].call(this,this.I,b.call(this))}, a[4].call(this,this.I,b.call(this))},function(a,b){this.J=a[4].call(this,this.J,b.call(this))},function(a,b){this.B=a[4].call(this,this.B,b.call(this))},function(a,b){this.X=a[4].call(this,this.X,b.call(this))},function(a,b){this.H=a[4].call(this,this.H,b.call(this))},function(a,b){this.F=a[4].call(this,this.F,b.call(this))},function(a,b){this.D=a[4].call(this,this.D,b.call(this))},function(a,b){this.G=a[5].call(this,this.G,b.call(this))},function(a,b){this.I=a[5].call(this,this.I,b.call(this))}, function(a,b){this.J=a[5].call(this,this.J,b.call(this))},function(a,b){this.B=a[5].call(this,this.B,b.call(this))},function(a,b){this.X=a[5].call(this,this.X,b.call(this))},function(a,b){this.H=a[5].call(this,this.H,b.call(this))},function(a,b){this.F=a[5].call(this,this.F,b.call(this))},function(a,b){this.D=a[5].call(this,this.D,b.call(this))},function(a,b){this.G=a[6].call(this,this.G,b.call(this))},function(a,b){this.I=a[6].call(this,this.I,b.call(this))},function(a,b){this.J=a[6].call(this,this.J, b.call(this))},function(a,b){this.B=a[6].call(this,this.B,b.call(this))},function(a,b){this.$|=512;this.X=a[6].call(this,this.X,b.call(this))},function(a,b){this.H=a[6].call(this,this.H,b.call(this))},function(a,b){this.F=a[6].call(this,this.F,b.call(this))},function(a,b){this.D=a[6].call(this,this.D,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.J=a[7].call(this,this.J,b.call(this))},function(a, -b){this.B=a[7].call(this,this.B,b.call(this))},function(a,b){this.X=a[7].call(this,this.X,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],Yg=[function(){var a=this.ea();16>(a&56)&&(this.$|=1);Wg[a].call(this,Dc,Td)},function(){var a=this.ea();a&16||(this.$|=1);Wg[a].call(this,Xg,Td)},function(){O[this.ea()].call(this,re)},function(){O[this.ea()].call(this,se)}, -N,N,N,N,N,N,N,G,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N, -N],Ec=[function(){this.A-=2+(0>this.ha?0:1);return this.Ld.oa},function(){this.A-=2+(0>this.ha?0:1);return this.xg.oa},function(a){this.$|=2;this.Ld.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.xg.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&2048!=(this.Rb.ab&2560)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3)))return bd(this),a;Xc(this);return a},function(a){this.$|=2; -this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&512==(this.Rb.ab&2560)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3))return bd(this),a;Xc(this);return a},M,M],Fc=[qc,qc,qc,qc,qc,qc,M,M],Dc=Fc,Xg=[function(a){0>this.ha?G.call(this):(this.Nd(this.ha+2,this.Qc),this.bd(this.ha+4,this.Qc>>16),a=this.We-this.Qc,this.A-=11);return a},function(a){0>this.ha?G.call(this):(this.Nd(this.ha+2,this.ed),this.bd(this.ha+4,this.ed>>16),a=this.se-this.ed,this.A-=12);return a},function(a){0>this.ha?G.call(this): -(this.Qc=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.We=this.Qc+a,this.$|=2,this.A-=11);return a},function(a){0>this.ha?G.call(this):(this.ed=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.se=this.ed+a,this.$|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ha?0:1);return this.ad},M,function(a){this.ad=this.ad&65520|a&-65521;this.A-=3+(0>this.ha?0:3);this.ad&1&&yc(this,!0);this.$|=2;return a},M];function sc(){Yg[this.ea()].call(this)}function uc(){K(this,this.X);this.A-=this.rc} -function $b(){var a=this.X;K(this,this.G);K(this,this.I);K(this,this.J);K(this,this.B);K(this,a);K(this,this.H);K(this,this.F);K(this,this.D);this.A-=this.Dl}function ac(){this.D=this.Ja();this.F=this.Ja();this.H=this.Ja();this.X+=2;this.B=this.Ja();this.J=this.Ja();this.I=this.Ja();this.G=this.Ja();this.A-=this.Bl}function bc(){O[this.ea()].call(this,pe)}function tc(){Tg[this.ea()].call(this,qe)}function cc(){K(this,this.K());this.A-=this.rc}function dc(){O[this.ea()].call(this,ke)} -function ec(){K(this,this.ea());this.A-=this.rc}function fc(){O[this.ea()].call(this,je)}function gc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=hb(this.na,this.J,this.Ca-b-1);this.bd(this.cb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}} -function hc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=hb(this.na,this.J,d)|hb(this.na,this.J,d)<<8;this.Nd(this.cb.$b(this.D,1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}} -function ic(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.ub(this.Qb.Uc(this.F,0));this.F=this.F+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;lb(this.na,this.J,d,this.Ca-b-1);a&&(J(this,-2),this.$|=256)}} -function jc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ia(this.Qb.Uc(this.F,1));this.F=this.F+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;lb(this.na,this.J,d&255,b);lb(this.na,this.J,d>>8,b);a&&(J(this,-2),this.$|=256)}}function Zg(){var a=this.L();Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function $g(){var a=this.L();Uc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)} -function ah(){var a=this.L();Pc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function bh(){var a=this.L();Pc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function ch(){var a=this.L();Sc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function dh(){var a=this.L();Sc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function eh(){var a=this.L();Pc(this)||Sc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb} -function fh(){var a=this.L();Pc(this)||Sc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function gh(){var a=this.L();Tc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function hh(){var a=this.L();Tc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)}function ih(){var a=this.L();Qc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function jh(){var a=this.L();Qc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)} -function kh(){var a=this.L();!Tc(this)!=!Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function lh(){var a=this.L();!Tc(this)==!Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function mh(){var a=this.L();Sc(this)||!Tc(this)!=!Uc(this)?(I(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function nh(){var a=this.L();Sc(this)||!Tc(this)!=!Uc(this)?this.A-=this.Xb:(I(this,this.sa+a),this.A-=this.Wb)} -function oh(){Vg[this.ea()].call(this,Vd,this.ea);this.A-=0>this.Ka?1:this.xh}function kc(){Vg[this.ea()].call(this,de,Sd)}function lc(){Wg[this.ea()].call(this,ee,Sd)}function ph(){var a=this.K();I(this,this.Ja());this.X=this.X+a&65535;this.A-=this.Il}function qh(){I(this,this.Ja());this.A-=this.Fl} -function mc(){var a=this.K(),b=this.ea()&31;this.A-=11;K(this,this.H);var c=this.X;if(0>8,c,d=Rc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?ad(this):Wc(this);this.A-=this.He},function(){Sg[this.ea()].call(this,pd)},function(){Tg[this.ea()].call(this,xd)},function(){Ug[this.ea()].call(this,pd)},function(){O[this.ea()].call(this,xd)},function(){this.G=this.G&-256|pd.call(this,this.G&255,this.ea());this.A--},function(){this.G=xd.call(this,this.G,this.K());this.A--},function(){this.$|= -20;this.C=this.M=this.Qb;this.A-=this.Pb},function(){var a=this.G&255,b=this.G>>8,c,d=Rc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?ad(this):Wc(this);this.A-=this.He},function(){this.ma=this.G;this.G=(this.ja=this.G+1)&65535;this.Y=this.G|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.I;this.I=(this.ja=this.I+1)&65535;this.Y=this.I|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.J; +b){this.B=a[7].call(this,this.B,b.call(this))},function(a,b){this.X=a[7].call(this,this.X,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],Xg=[function(){var a=this.ea();16>(a&56)&&(this.$|=1);Vg[a].call(this,Cc,Sd)},function(){var a=this.ea();a&16||(this.$|=1);Vg[a].call(this,Wg,Sd)},function(){N[this.ea()].call(this,qe)},function(){N[this.ea()].call(this,re)}, +M,M,M,M,M,M,M,F,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M, +M],Dc=[function(){this.A-=2+(0>this.ha?0:1);return this.Ld.oa},function(){this.A-=2+(0>this.ha?0:1);return this.xg.oa},function(a){this.$|=2;this.Ld.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.xg.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.$|=2;this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&2048!=(this.Rb.ab&2560)&&(3072==(this.Rb.ab&3072)||this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3)))return ad(this),a;Wc(this);return a},function(a){this.$|=2; +this.A-=14+(0>this.ha?0:2);if(0<=this.Rb.load(a,!0)&&512==(this.Rb.ab&2560)&&this.Rb.Mc>=(this.ra.oa&3)&&this.Rb.Mc>=(a&3))return ad(this),a;Wc(this);return a},L,L],Ec=[pc,pc,pc,pc,pc,pc,L,L],Cc=Ec,Wg=[function(a){0>this.ha?F.call(this):(this.Nd(this.ha+2,this.Qc),this.bd(this.ha+4,this.Qc>>16),a=this.Xe-this.Qc,this.A-=11);return a},function(a){0>this.ha?F.call(this):(this.Nd(this.ha+2,this.ed),this.bd(this.ha+4,this.ed>>16),a=this.re-this.ed,this.A-=12);return a},function(a){0>this.ha?F.call(this): +(this.Qc=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.Xe=this.Qc+a,this.$|=2,this.A-=11);return a},function(a){0>this.ha?F.call(this):(this.ed=this.Ia(this.ha+2)|this.ub(this.ha+4)<<16,this.re=this.ed+a,this.$|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ha?0:1);return this.ad},L,function(a){this.ad=this.ad&65520|a&-65521;this.A-=3+(0>this.ha?0:3);this.ad&1&&xc(this,!0);this.$|=2;return a},L];function rc(){Xg[this.ea()].call(this)}function tc(){J(this,this.X);this.A-=this.rc} +function Zb(){var a=this.X;J(this,this.G);J(this,this.I);J(this,this.J);J(this,this.B);J(this,a);J(this,this.H);J(this,this.F);J(this,this.D);this.A-=this.Al}function $b(){this.D=this.Ja();this.F=this.Ja();this.H=this.Ja();this.X+=2;this.B=this.Ja();this.J=this.Ja();this.I=this.Ja();this.G=this.Ja();this.A-=this.yl}function ac(){N[this.ea()].call(this,oe)}function sc(){Sg[this.ea()].call(this,pe)}function bc(){J(this,this.K());this.A-=this.rc}function cc(){N[this.ea()].call(this,je)} +function dc(){J(this,this.ea());this.A-=this.rc}function ec(){N[this.ea()].call(this,ie)}function fc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=hb(this.na,this.J,this.Ca-b-1);this.bd(this.bb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}} +function gc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=hb(this.na,this.J,d)|hb(this.na,this.J,d)<<8;this.Nd(this.bb.$b(this.D,1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}} +function hc(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.ub(this.Qb.Uc(this.F,0));this.F=this.F+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;lb(this.na,this.J,d,this.Ca-b-1);a&&(I(this,-2),this.$|=256)}} +function ic(){var a=1,b=0,c=5;this.wa&192&&(a=this.I,b=1,this.wa&256&&(c=4));if(a--){var d=this.Ia(this.Qb.Uc(this.F,1));this.F=this.F+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;lb(this.na,this.J,d&255,b);lb(this.na,this.J,d>>8,b);a&&(I(this,-2),this.$|=256)}}function Yg(){var a=this.L();Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function Zg(){var a=this.L();Tc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)} +function $g(){var a=this.L();Oc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function ah(){var a=this.L();Oc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function bh(){var a=this.L();Rc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function ch(){var a=this.L();Rc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function dh(){var a=this.L();Oc(this)||Rc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb} +function eh(){var a=this.L();Oc(this)||Rc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function fh(){var a=this.L();Sc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function gh(){var a=this.L();Sc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)}function hh(){var a=this.L();Pc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function ih(){var a=this.L();Pc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)} +function jh(){var a=this.L();!Sc(this)!=!Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function kh(){var a=this.L();!Sc(this)==!Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function lh(){var a=this.L();Rc(this)||!Sc(this)!=!Tc(this)?(H(this,this.sa+a),this.A-=this.Wb):this.A-=this.Xb}function mh(){var a=this.L();Rc(this)||!Sc(this)!=!Tc(this)?this.A-=this.Xb:(H(this,this.sa+a),this.A-=this.Wb)} +function nh(){Ug[this.ea()].call(this,Ud,this.ea);this.A-=0>this.Ka?1:this.wh}function jc(){Ug[this.ea()].call(this,ce,Rd)}function kc(){Vg[this.ea()].call(this,de,Rd)}function oh(){var a=this.K();H(this,this.Ja());this.X=this.X+a&65535;this.A-=this.Fl}function ph(){H(this,this.Ja());this.A-=this.Cl} +function lc(){var a=this.K(),b=this.ea()&31;this.A-=11;J(this,this.H);var c=this.X;if(0>8,c,d=Qc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?$c(this):Vc(this);this.A-=this.He},function(){Rg[this.ea()].call(this,od)},function(){Sg[this.ea()].call(this,wd)},function(){Tg[this.ea()].call(this,od)},function(){N[this.ea()].call(this,wd)},function(){this.G=this.G&-256|od.call(this,this.G&255,this.ea());this.A--},function(){this.G=wd.call(this,this.G,this.K());this.A--},function(){this.$|= +20;this.C=this.M=this.Qb;this.A-=this.Pb},function(){var a=this.G&255,b=this.G>>8,c,d=Qc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.Y=a);this.da=65536;c&&(this.Y|=this.da);d?$c(this):Vc(this);this.A-=this.He},function(){this.ma=this.G;this.G=(this.ja=this.G+1)&65535;this.Y=this.G|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.I;this.I=(this.ja=this.I+1)&65535;this.Y=this.I|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.J; this.J=(this.ja=this.J+1)&65535;this.Y=this.J|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.B;this.B=(this.ja=this.B+1)&65535;this.Y=this.B|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.X;this.X=(this.ja=this.X+1)&65535;this.Y=this.X|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.H;this.H=(this.ja=this.H+1)&65535;this.Y=this.H|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.F;this.F=(this.ja= this.F+1)&65535;this.Y=this.F|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.D;this.D=(this.ja=this.D+1)&65535;this.Y=this.D|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.G;this.G=(this.ja=this.G-1)&65535;this.Y=this.G|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.I;this.I=(this.ja=this.I-1)&65535;this.Y=this.I|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.J;this.J=(this.ja=this.J-1)&65535; this.Y=this.J|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.B;this.B=(this.ja=this.B-1)&65535;this.Y=this.B|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.X;this.X=(this.ja=this.X-1)&65535;this.Y=this.X|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.H;this.H=(this.ja=this.H-1)&65535;this.Y=this.H|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.F;this.F=(this.ja=this.F-1)&65535;this.Y=this.F| -(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){this.ma=this.D;this.D=(this.ja=this.D-1)&65535;this.Y=this.D|(this.Y&this.da?1:0)<<16;this.da=65536;this.A-=2},function(){K(this,this.G);this.A-=this.rc},function(){K(this,this.I);this.A-=this.rc},function(){K(this,this.J);this.A-=this.rc},function(){K(this,this.B);this.A-=this.rc},function(){K(this,this.X-2&65535);this.A-=this.rc},function(){K(this,this.H);this.A-=this.rc},function(){K(this,this.F);this.A-=this.rc},function(){K(this,this.D); -this.A-=this.rc},function(){this.G=this.Ja();this.A-=this.jc},function(){this.I=this.Ja();this.A-=this.jc},function(){this.J=this.Ja();this.A-=this.jc},function(){this.B=this.Ja();this.A-=this.jc},function(){this.X=this.Ja();this.A-=this.jc},function(){this.H=this.Ja();this.A-=this.jc},function(){this.F=this.Ja();this.A-=this.jc},function(){this.D=this.Ja();this.A-=this.jc},Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,jh,kh,lh,mh,nh,Zg,$g,ah,bh,ch,dh,eh,fh,gh,hh,ih,jh,kh,lh,mh,nh,oh,function(){Wg[this.ea()].call(this, -Wd,this.K);this.A-=0>this.Ka?1:this.xh},oh,function(){Wg[this.ea()].call(this,Wd,this.L);this.A-=0>this.Ka?1:this.xh},function(){Sg[this.ea()].call(this,he)},function(){Tg[this.ea()].call(this,ie)},function(){Ug[this.Pg=this.ea()].call(this,te)},function(){O[this.Pg=this.ea()].call(this,ue)},function(){this.$|=1;Sg[this.ea()].call(this,fe)},function(){this.$|=1;Tg[this.ea()].call(this,fe)},function(){Ug[this.ea()].call(this,fe)},function(){O[this.ea()].call(this,fe)},function(){var a=this.ea();switch((a& -56)>>3){case 0:this.Db=this.cb.oa;break;case 1:this.Db=this.ra.oa;break;case 2:this.Db=this.Eb.oa;break;case 3:this.Db=this.Qb.oa;break;default:N.call(this);return}this.$|=1;Tg[a].call(this,ge)},function(){this.$|=1;this.C=this.M=this.am;O[this.ea()].call(this,me)},function(){var a,b=this.ea(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Ga){G.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break; -case 6:a=this.F;break;case 7:a=this.D}}O[b].call(this,fe);switch(c){case 0:Oc(this,this.G);this.G=a;break;case 1:Ic(this,this.I);this.I=a;break;case 2:Nc(this,this.J);this.J=a;break;case 3:Mc(this,this.B);this.B=a;break;case 4:Oc(this,this.X);this.X=a;break;case 5:Ic(this,this.H);this.H=a;break;case 6:Nc(this,this.F);this.F=a;break;case 7:Mc(this,this.D),this.D=a}},function(){this.$|=1;Wg[this.ea()].call(this,Xd,this.Ja)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-= -3},function(){var a=this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Pk},function(){var a=this.K(),b=this.K();K(this, -this.ra.oa);K(this,this.sa);wc(this,a,b);this.A-=this.Sk},function(){N.call(this)},function(){K(this,zc(this));this.A-=this.rc},function(){xc(this,this.Ja());this.A-=this.jc},function(){var a=this.G>>8;a&1?$c(this):Vc(this);a&4?Qc(this)||(this.ja^=1):Qc(this)&&(this.ja^=1);a&16?ad(this):Wc(this);a&64?bd(this):Xc(this);a&128?cd(this):Yc(this);this.A-=this.Cb},function(){this.G=this.G&255|(zc(this)&213)<<8;this.A-=this.Cb},function(){this.G=this.G&-256|this.T(this.C,this.K());this.A-=this.bj},function(){this.G= -this.U(this.C,this.K());this.A-=this.bj},function(){var a=this.K(),b=this.G;this.bd(this.C.$b(a,0),b);this.A-=this.cj},function(){var a=this.K(),b=this.G;this.Nd(this.C.$b(a,1),b);this.A-=this.cj},function(){var a=1,b=0,c=this.dj;this.wa&192&&(a=this.I,b=1,c=this.fj,this.wa&256||(this.A-=this.ej));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F);this.bd(this.cb.$b(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a= -1,b=0,c=this.dj;this.wa&192&&(a=this.I,b=1,c=this.fj,this.wa&256||(this.A-=this.ej));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F);this.Nd(this.cb.$b(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Oi;this.wa&192&&(a=this.I,b=1,c=this.Qi,this.wa&256||(this.A-=this.Pi));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F),f=this.N(this.cb,this.D);pd.call(this,e,f);this.F=this.F+d&65535; -this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Sc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Oi;this.wa&192&&(a=this.I,b=1,c=this.Qi,this.wa&256||(this.A-=this.Pi));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F),f=this.O(this.cb,this.D);xd.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Sc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.$|=256)}},function(){this.Y=this.ja=this.ma=this.G&255& -this.ea();this.da=256;this.A-=this.He},function(){this.Y=this.ja=this.ma=this.G&this.K();this.da=65536;this.A-=this.He},function(){var a=1,b=0,c=this.oj;this.wa&192&&(a=this.I,b=1,c=this.qj,this.wa&256||(this.A-=this.pj));if(a--){var d=this.G;this.bd(this.cb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.oj;this.wa&192&&(a=this.I,b=1,c=this.qj,this.wa&256||(this.A-=this.pj));if(a--){var d=this.G;this.Nd(this.cb.$b(this.D, -1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.Wi;this.wa&192&&(a=this.I,b=1,c=this.Yi,this.wa&256||(this.A-=this.Xi));a--&&(this.G=this.G&-256|this.T(this.C,this.F),this.F=this.F+(this.xa&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(J(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.Wi;this.wa&192&&(a=this.I,b=1,c=this.Yi,this.wa&256||(this.A-=this.Xi));a--&&(this.G=this.U(this.C,this.F),this.F=this.F+(this.xa& -1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(J(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.ij;this.wa&192&&(a=this.I,b=1,c=this.kj,this.wa&256||(this.A-=this.jj));a--&&(pd.call(this,this.G&255,this.N(this.cb,this.D)),this.D=this.D+(this.xa&1024?-1:1)&65535,this.A-=c-this.qb,this.I-=b,a&&Sc(this)==(this.wa&64)&&(J(this,-2),this.$|=256))},function(){var a=1,b=0,c=this.ij;this.wa&192&&(a=this.I,b=1,c=this.kj,this.wa&256||(this.A-=this.jj));a--&&(xd.call(this,this.G,this.O(this.cb, -this.D)),this.D=this.D+(this.xa&1024?-2:2)&65535,this.A-=c-this.qb,this.I-=b,a&&Sc(this)==(this.wa&64)&&(J(this,-2),this.$|=256))},function(){this.G=this.G&-256|this.ea();this.A-=this.Cb},function(){this.I=this.I&-256|this.ea();this.A-=this.Cb},function(){this.J=this.J&-256|this.ea();this.A-=this.Cb},function(){this.B=this.B&-256|this.ea();this.A-=this.Cb},function(){this.G=this.G&255|this.ea()<<8;this.A-=this.Cb},function(){this.I=this.I&255|this.ea()<<8;this.A-=this.Cb},function(){this.J=this.J& -255|this.ea()<<8;this.A-=this.Cb},function(){this.B=this.B&255|this.ea()<<8;this.A-=this.Cb},function(){this.G=this.K();this.A-=this.Cb},function(){this.I=this.K();this.A-=this.Cb},function(){this.J=this.K();this.A-=this.Cb},function(){this.B=this.K();this.A-=this.Cb},function(){this.X=this.K();this.A-=this.Cb},function(){this.H=this.K();this.A-=this.Cb},function(){this.F=this.K();this.A-=this.Cb},function(){this.D=this.K();this.A-=this.Cb},ph,qh,ph,qh,function(){O[this.ea()].call(this,oe)},function(){O[this.ea()].call(this, -ne)},function(){this.$|=1;Vg[this.ea()].call(this,Yd,this.ea)},function(){this.$|=1;Wg[this.ea()].call(this,Yd,this.K)},rh,sh,rh,sh,function(){fd.call(this,3,null,this.il)},function(){var a=this.ea(),b;a:{b=this.Gg[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.da=256;this.A-=this.Lk},function(){this.G=this.G&-256|(Pc(this)?255:0);this.A-=2},function(){this.G=this.G&-256|this.T(this.C,this.B+ -(this.G&255)&65535);this.A-=this.Kl},th,th,th,th,th,th,th,th,function(){var a=this.L();(this.I=this.I-1&65535)&&this.Y&this.da-1?(I(this,this.sa+a),this.A-=this.rl):this.A-=this.Zi},function(){var a=this.L();!(this.I=this.I-1&65535)||this.Y&this.da-1?this.A-=this.aj:(I(this,this.sa+a),this.A-=this.$i)},function(){var a=this.L();(this.I=this.I-1&65535)?(I(this,this.sa+a),this.A-=this.ql):this.A-=this.Zi},function(){var a=this.L();this.I?this.A-=this.aj:(I(this,this.sa+a),this.A-=this.$i)},function(){var a= -this.ea();this.G=this.G&-256|hb(this.na,a,this.Ca-2);this.A-=this.Ti},function(){var a=this.ea();this.G=hb(this.na,a,this.Ca-1)|hb(this.na,a+1&65535,this.Ca-2)<<8;this.A-=this.Ti},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);this.A-=this.hj},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);lb(this.na,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.hj},function(){var a=this.K();K(this,this.sa);I(this,this.sa+a);this.A-=this.Qk},function(){var a=this.K();I(this,this.sa+a); -this.A-=this.Ui},function(){wc(this,this.K(),this.K());this.A-=this.ml},function(){var a=this.L();I(this,this.sa+a);this.A-=this.Ui},function(){this.G=this.G&-256|hb(this.na,this.J,this.Ca-1);this.A-=this.Si},function(){this.G=hb(this.na,this.J,this.Ca-1)|hb(this.na,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Si},function(){lb(this.na,this.J,this.G&255,this.Ca-1);this.A-=this.gj},function(){lb(this.na,this.J,this.G&255,this.Ca-1);lb(this.na,this.J+1&65535,this.G>>8,this.Ca-1);this.A-=this.gj},uh,uh, -function(){this.$|=132;this.A-=this.Pb},function(){this.$|=68;this.A-=this.Pb},function(){this.kb|=4;this.A-=2;this.Z&&1=Ah&&(this.Lf=this.Mf=2);this.ih=a.scaleTimers||!1;this.ep=a.rtcDate;this.uk=!1;a.sound&&window&&"webkitAudioContext"in window&& -(this.di=new webkitAudioContext);this.reset();this.Sa()}x(w,P);var vh=5150,Ah=5170,Bh={none:0,tv:1,color:2,mono:3,ega:0},zh={Nh:1},xh=12,yh={rp:16,np:32,mm:48,yf:48,zf:4};zh.ONE=0;zh.sp=64;zh.qp=128;zh.op=192;zh.yf=192;zh.zf=6;k=P.prototype; -k.wb=function(a,b,c,d){switch(c){case "sw1":return this.ta[c]=d,Ch(this,c,d,this.Zb,{0:this.Ga==vh?"Bootable Floppy Drive":"Loop on POST",1:this.Ga==vh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ga==vh)return this.ta[c]=d,Ch(this,c,d,this.oe,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.ta[c]=d,!0}return!1}; -k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.Da=a;this.pb=B(a,"Keyboard");this.Ll=Math.round(c.Hd/1193181);gb(b,this,Dh);kb(b,this,Eh);this.Gab;b++){var c=13>=b?Mh(e,b):e.pa[b];a&&(a+="\n");a+="CMOS[0x"+p(b)+"]: 0x"+p(c)}e.Z.message(a)})}Ac(c,26,this,this.Dn)};k.bc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0}; -k.reset=function(){var a;this.cd=this.Zb;this.Oe=this.oe;Nh(this);this.$a=Array(this.Lf);for(a=0;a=Ah){this.jb=16;this.vd=0;this.Ec=16;this.Mg=0;this.ue=160;512<=Rh(this)&&(this.ue|=16);3==Sh(this)&&(this.ue|=64);this.Xh=3;this.If=0;this.Ig=Array(7);this.ve=0;this.pa||(this.pa=Array(64), -Th(this,this.ep));for(a=14;46>a;a++)void 0===this.pa[a]&&(this.pa[a]=0);this.pa[20]=this.cd&(yh.yf|2|zh.Nh|zh.yf);this.pa[16]=Uh(this,0)<<4|Uh(this,1);Vh(this)}}; -function Th(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.ca("CMOS date invalid ("+b+"), using "+c)):b&&a.ca("CMOS date: "+c);a.pa[0]=c.getSeconds();a.pa[1]=0;a.pa[2]=c.getMinutes();a.pa[3]=0;a.pa[4]=c.getHours();a.pa[5]=0;a.pa[6]=c.getDay()+1;a.pa[7]=c.getDate();a.pa[8]=c.getMonth()+1;c=c.getFullYear();a.pa[9]=c%100;c/=100;a.pa[50]=c%10|c/10<<4;a.ag=-1;a.pa[10]=38;a.pa[11]=2;a.pa[12]=0;a.pa[13]=128} -function Mh(a,b){var c=a.pa[b];if(10>b){var d=!1;4!=b&&5!=b||a.pa[11]&2||(c=12>c?c?c:12:(c-=12)?c+128:140,d=!0);a.pa[11]&4||(d&&128c;c++)b+=a.pa[c];a.pa[47]=b&255;a.pa[46]=b>>8} -k.save=function(){var a=new H(this);a.set(0,[this.Zb,this.oe,this.cd,this.Oe]);for(var b=[],c=0;c=Ah&&(a.set(5,[this.jb,this.vd,this.Ec,this.Mg,this.ue,this.Xh]),a.set(6,[this.If,this.Ig,this.ve,this.pa,this.ag]));return a.data()}; -k.restore=function(a){var b,c;b=a[0];this.Zb=b[0];this.oe=b[1];this.cd=b[2];this.Oe=b[3];b=a[1];this.$a=Array(this.Lf);for(c=0;c>2)+1)*a.Gn+32*((b?a.oe:a.Oe)&15)}function Yh(a,b){var c=b?a.Zb:a.cd;return a.Ga!=vh||c&zh.Nh?((c&zh.yf)>>zh.zf)+1:0}function Uh(a,b){return b>yh.zf} -function Ch(a,b,c,d,e){for(var f="",g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='
'+g+"
\n"}c.innerHTML=f;b=A(c,"pcjs-bitCell");c=null;for(g=0;g>2].Hb[b&3],c,d,e)}function gi(a,b,c){b=a.$a[b>>2].Hb[b&3];b.Yg&&b.xi&&b.zh?(c&&(b.$g=c),b.Fd||gd(a,b,!0)):c&&c(!0)} -function gd(a,b,c){c&&(b.count=b.ac[1]<<8|b.ac[0],b.em=b.mode&12,b.vk=b.kd=!1);for(var d=!1;0<=b.count&&(c=b.Sg<<16|b.Sb[1]<<8|b.Sb[0],4==b.em?(d=!0,function(c){b.xi.call(b.Yg,b.zh,-1,function(f,g){0>f&&(b.vk||(b.vk=!0),f=255);b.Fd||bb(a.na,c,f);(d=g)&&setTimeout(function(){ni(b)||gd(a,b)},0)})}(c)):8==b.em?(c=$a(a.na,c),0>b.xi.call(b.Yg,b.zh,c)&&(b.kd=!0)):b.kd=!0),!d&&!ni(b););} -function ni(a){if(!a.kd&&0<=--a.count&&(a.mode&32?(a.Sb[0]--,0>a.Sb[0]&&(a.Sb[0]=255,a.Sb[1]--,0>a.Sb[1]&&(a.Sb[1]=255))):(a.Sb[0]++,255>3,e=a.sb[d];e.Kb|=1<<(b&7);e.fg=c||0;1==d&&(a.sb[0].Kb|=4);qi(a,d)} -function ti(a,b){var c=b>>3,d=a.sb[c],e=1<<(b&7);d.Kb&e&&(d.Kb&=~e,1!=c||d.Kb||(a.sb[0].Kb&=-5),qi(a,c))}function ed(a,b){void 0===b&&(b=0);var c=-1,d=a.sb[b];if(d.fg)c=-2,d.fg--;else for(var e=d.Kb&((d.Fc|d.wd)^255),f=d.we+1;;){var f=f&7,g=1<>6;if(3!=a){c=b&1;var d=b&14;if(b&=48){var e=this.Ib[a];e.sg=b;e.mode=d;e.fk=c;e.Ic=[0,0];e.ac=[0,0];e.Rf=[0,0];e.ld=!1;e.Uf=!1;e.bf=!1;vi(this,a);0==a&&ti(this,0);2==a&&255==this.sb[0].wd&&77==this.fc&&(a=this.Ib[0],a.Wc[0]=a.Ic[0],a.Wc[1]=a.Ic[1],a.ke=E(this.S,this.ih))}else Lh(this,a),b=this.Ib[a],b.Rf[0]=b.ac[0],b.Rf[1]=b.ac[1],b.Uf=!0,vi(this,a)}}; -function xi(a,b){var c=a.Ib[b],d=c.Ic[1]<<8|c.Ic[0];d||(d=1==c.hd?256:65536);return d}function vi(a,b){var c=a.Ib[b];c.be=32==c.sg?1:0;c.hd=48==c.sg?2:1} -function Lh(a,b,c){var d=a.Ib[b];if(d.bf&&(2!=b||a.fc&1)){var e=E(a.S,a.ih),f=(e-d.ke)/a.Ll|0;0>f&&(d.ke=e,f=0);var g=xi(a,b),h=a.Ib[b],m=h.Wc[1]<<8|h.Wc[0];m||(m=1==h.hd?256:65536);h=m-f;0==d.mode?(0>=h&&(h=0),h||(d.ld=!0,d.bf=!1,b||Q(a,0))):4==d.mode?(d.ld=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&Q(a,0))):6==d.mode&&(h-=f,0>=h&&(d.ld=!d.ld,h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&Q(a,0)));d.ac[0]=h&255;d.ac[1]=h>>8;c&&(a.ke=0)}return d} -function Lb(a,b){for(var c=0;c=Ah){var c=0,d=a.S.Hd,e=E(a.S,a.ih);if(0<=a.ag&&(c=e-a.ag,Math.floor(c/d)&&60<=++a.pa[0]&&(a.pa[0]=0,60<=++a.pa[2]&&(a.pa[2]=0,24<=++a.pa[4])))){a.pa[4]=0;a.pa[6]=a.pa[6]%7+1;var f=a.pa[9],g=oa[a.pa[8]-1];28==g&&0===f%4&&(f%100||0===f%400)&&g++;++a.pa[7]>g&&(a.pa[7]=1,12<++a.pa[8]&&(a.pa[8]=1,a.pa[9]=(a.pa[9]+1)%100))}a.ag=e-c%d}} -k.pn=function(a,b){var c=this.Rg;this.Kf&16&&(this.fc&128?c=this.cd:this.pb&&(c=yi(this.pb)));this.ba(a,null,b,"PPI_A",P.Ta,c);return c};k.Io=function(a,b,c){this.ba(a,b,c,"PPI_A",P.Ta);this.Rg=b};k.qn=function(a,b){var c=this.fc;this.ba(a,null,b,"PPI_B",P.Ta,c);return c};k.Jo=function(a,b,c){this.ba(a,b,c,"PPI_B",P.Ta);zi(this,b);this.pb&&(a=this.pb,c=b&128?!1:!0,b=b&64?!0:!1,a.oi!==b&&(a.oi=a.sk=b),a.qi!==c&&(a.qi=c))&&(a.sk?(Ai(a),a.sk=!1):Bi(a))}; -function zi(a,b){var c=!!(b&2),d=!!(a.fc&2);a.fc=b;c!=d&&Kb(a,c)}k.rn=function(a,b){var c=0,c=this.Ga==vh?this.fc&4?c|this.Oe&15:c|this.Oe>>4&1:this.fc&8?c|this.cd>>4:c|this.cd&15;this.fc&1&&Lh(this,2).ld&&(c=this.fc&2?c|32:c|16);this.ba(a,null,b,"PPI_C",P.Rj|P.Ta,c);return c};k.Ko=function(a,b,c){this.ba(a,b,c,"PPI_C",P.Ta);this.Zh=b};k.sn=function(a,b){var c=this.Kf;this.ba(a,null,b,"PPI_CTRL",P.Ta,c);return c};k.Lo=function(a,b,c){this.ba(a,b,c,"PPI_CTRL",P.Ta);this.Kf=b}; -k.Fm=function(a,b){var c=this.Mg;this.ba(a,null,b,"8042_OUTBUFF",P.Ta,c);this.jb&=-258;var d=this.pb&&yi(this.pb,!0);d&&Ci(this,d);return c};k.ao=function(a,b,c){this.ba(a,b,c,"8042_INBUF.DATA",P.Ta);if(this.jb&8)switch(this.vd){case 96:this.Ec=b;this.jb=this.jb&-5|b&4;break;case 209:Di(this,b);break;default:if(this.Ec&=-17,this.pb){a=-1;switch(b){case 255:a=250,Ai(this.pb)}Ci(this,a)}}this.vd=b;this.jb&=-9};k.Gm=function(a,b){var c=this.fc&-193;this.ba(a,null,b,"8042_RWREG",P.Ta,c);this.fc^=16;return c}; -k.bo=function(a,b,c){this.ba(a,b,c,"8042_RWREG",P.Ta);zi(this,b)};k.Hm=function(a,b){this.ba(a,null,b,"8042_STATUS",P.Ta,this.jb);var c=this.jb&255;this.jb&256&&(this.jb|=1,this.jb&=-257);return c}; -k.$n=function(a,b,c){this.ba(a,b,c,"8042_INBUFF.CMD",P.Ta);this.vd=b;this.jb|=8;a=0;240<=this.vd&&(a=this.vd^15,this.vd=240);switch(this.vd){case 192:Ci(this,this.ue);break;case 173:this.Ec|=16;break;case 174:this.Ec&=-17;break;case 170:this.pb&&Bi(this.pb,!0);this.Ec|=16;Ci(this,85);Di(this,3);break;case 224:Ci(this,this.Ec&16?0:1);break;case 240:a&1&&vc(this.S)}};function Ci(a,b){0<=b&&(a.Mg=b,a.jb&=-2,a.jb|=256)}function Di(a,b){a.Xh=b;Wa(a.na,!!(b&2));b&1||vc(a.S)} -k.Vm=function(a,b){this.ba(a,null,b,"CMOS_ADDR",P.Ta,this.ve);return this.ve};k.qo=function(a,b,c){this.ba(a,b,c,"CMOS_ADDR",P.Ta);this.ve=b;this.Qg=b&128?0:128};k.Wm=function(a,b){var c=this.ve&63,d=13>=c?Mh(this,c):this.pa[c];this.ba(a,null,b,"CMOS_DATA["+p(c)+"]",P.Ta,d);return d}; -k.ro=function(a,b,c){var d=this.ve&63;this.ba(a,b,c,"CMOS_DATA["+p(d)+"]",P.Ta);a=this.pa;13>=d&&10>d&&(c=!1,this.pa[11]&4||(b=10*(b>>4)+(b&15),c=!0),4==d||5==d)&&(c&&12=b?b=12==b?0:b:(b-=116,b=24==b?12:b)));a[d]=b};k.nn=function(a,b){this.ba(a,null,b,"MFG_DATA",P.Ta,this.If);return this.If};k.Fo=function(a,b,c){this.ba(a,b,c,"MFG_DATA",P.Ta);this.If=b};k.Ho=function(a,b,c){this.ba(a,b,c,"NMI",P.Ta);this.Qg=b}; -k.Dn=function(a){var b=this.S.G>>8;this.Z&&L(this.Z,this.Z.Ta)&&(this.Z.message("ChipSet.intBIOSRTC(AH="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Bc(this.S,a,function(a,d){return function(e){d=E(a.S)-d;var f="C="+(Pc(a.S)?1:0),g=a.S.J&255,h=a.S.J>>8,m=a.S.J&255,n=a.S.J>>8;if(2==b||3==b)f+=" CH(hour)="+r(h)+" CL(min)="+p(g)+" DH(sec)="+p(n);else if(4==b||5==b)f+=" CX(year)="+r(a.S.I)+" DH(month)="+p(n)+" DL(day)="+p(m);a.Fa("ChipSet.intBIOSRTC("+e+"): "+f+" (cycles="+d+")")}}(this,E(this.S)))); -return!0};function wh(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.xb[c++]=f[b]>>16&255,this.xb[c++]=f[b]>>24&255;else this.xb=d;this.Th=d.symbols;if(!this.xb.length){v("Empty ROM: "+a);return}if(1==this.xb.length){v(this.xb[0]);return}}catch(g){this.Ha("ROM data error: "+ -g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.xb=Array(a.length),d=0;dthis.Kg?21:23,c=a.pa[b]|a.pa[b+1]<<8,c=c+(this.Od>>10);a.pa[b]=c&255;a.pa[b+1]=c>>8;Vh(a)}}else v("No RAM allocated")}; -za(function(){for(var a=A(window.document,"pcjs","ram"),b=0;ba.yc.length){if(!(!d&&!a.Sh[c]||d&&a.Sh[c])){a.Sh[c]=d;a.Fa("scan code "+p(b)+" buffered");a.yc.push(b);1==a.yc.length&&a.ka&&Q(a.ka,1);for(var e in Pi)if(Pi[e]==c){(c=a.ta["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.yc.length&&a.yc.push(255),a.Fa("scan code buffer overflow")}function Ui(a,b){var c=b?a.Mn:a.Ln;a.S&&a.S.md&&(c/=a.S.md);return c} -function Vi(a,b){!a.Le||void 0!==b&&b==a.Le||(clearTimeout(a.rd[a.Le]),Wi(a,a.Le,!1))} -function Ri(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Ql=f);240==f+224?(a.Ea&=-2,c&&(a.Ea|=1),f+=224,e=!1):241==f+224?(a.Ea&=-5,c&&(a.Ea|=4),f+=224,e=!1):242==f+224?(a.Ea&=-9,c&&(a.Ea|=8),f+=224,e=!1):244==f+224?(a.Ea&=-17,c&&(a.Ea|=16),f+=224,d=Si(a,f)):91==f?(a.Ea&=-33,c&&(a.Ea|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.Ea&12)&&(f=254),d=c?!Si(a,f):!1):void 0!==R[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.Ea&=-33,a.rk||f!=a.Ql||Vi(a));void 0===d&&(d=!Wi(a,f,c));return d} -function Si(a,b,c){var d=!1;Vi(a,b);Wi(a,b,!0)&&(c?Wi(a,b,!1):(c=!1,a.rd[b]&&(clearTimeout(a.rd[b]),c=!0),c=Ui(a,c),a.rd[a.Le=b]=setTimeout(function(a){return function(){Wi(a,b,!1)}}(a),c)),d=!0);return d} -function Wi(a,b,c){var d=!1;c||(a.rd[b]=null,a.Le==b&&(a.Le=0));var e=R[b];void 0===e&&1<=b&&26>=b&&(e=R[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.Ea&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.Ea&17||(d=42):224==f?a.Ea&18||(d=54):241==f?a.Ea&4||(d=29):242==f&&(a.Ea&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(hj)];this.Z=a.Z;this.type=e[0];this.port=e[1];this.fe=b;this.eb=e[2];this.uc=e[3];this.Tc=d||e[4];65536<=this.Tc&&720896<=this.eb&&(this.uc=Math.min(this.Tc>>2,32768));this.mc=c[0];this.zc=c[1];this.Ye=c[2];this.tf=c[3];this.oc=c[4]&255;this.lh=c[4]>>8&255;this.dc=c[5];this.Ei=hj;this.Lg=ij;if(5==b){this.Ei=jj;this.Lg=kj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5), -0,0,0,Array(9),0,this.Tc,Array(this.Tc>>2),771,0,4294967295,0,4294967295,0,4294967295,0]);this.jd=b[0];this.Bd=b[1];this.Rd=b[2];this.Uh=lj;this.Mh=b[3];this.Yf=b[4];this.kh=b[5];this.Dd=b[6];this.Bf=b[7];this.Wh=mj;this.yi=b[8];this.zi=b[9];this.Cd=b[10];this.re=b[11];this.Vh=nj;this.vb=b[12];d=this.Tc>>2;if((this.fd=b[14])&&this.fd.length>8&255)} -var W=[,,function(a){a+=this.offset;return(this.ia.vb=this.qa[a])>>this.ia.wj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.qa[b]>>8:this.qa[b])&255}];W[16]=function(a){a+=this.offset;a=this.qa[a];for(var b=this.ia.Gi&this.ia.Hi,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};W[512]=function(a,b){var c=a+this.offset,d;d=this.qa[c]&~this.ia.hb|(b|b<<8|b<<16|b<<24)&this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[1024]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[1536]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d&=this.ia.vb;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[2560]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d|=this.ia.vb;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[3584]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d^=this.ia.vb;d=d&this.ia.hb|this.qa[c]&~this.ia.hb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)};W[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ia.hb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.qa[d]&~c;c=c&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[d]!=c&&(this.qa[d]=c,this.bb=!0)}; -W[4096]=function(a){a+=this.offset;var b=this.qa[a]&~this.ia.hb|this.ia.vb&this.ia.hb;this.qa[a]!=b&&(this.qa[a]=b,this.bb=!0)};W[8192]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)};W[24576]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d&this.ia.vb,d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -W[40960]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d|this.ia.vb,d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)};W[57344]=function(a,b){var c=a+this.offset,d=ej[b&15],d=d^this.ia.vb,d=d&this.ia.hb|this.qa[c]&~this.ia.hb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.bb=!0)}; -function qj(a){var b=[];if(void 0!==a.fe){b[0]=a.mc;b[1]=a.zc;b[2]=a.Ye;b[3]=a.tf;b[4]=a.oc|a.lh<<8;b[5]=a.dc;if(5==a.fe){var c=[];c[0]=a.jd;c[1]=a.Bd;c[2]=a.Rd;c[3]=a.Mh;c[4]=a.Yf;c[5]=a.kh;c[6]=a.Dd;c[7]=a.Bf;c[8]=a.yi;c[9]=a.zi;c[10]=a.Cd;c[11]=a.re;c[12]=a.vb;c[13]=a.Tc;var d;a:if(d=a.fd){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h>1;f[e++]=m;h=n}if(f.lengtha&&(a=0);for(var c="",d=0;8>d;d++){for(var n=l(b.eb+a)+":",q=0;8>q&&athis.Ka?1:this.wh},nh,function(){Vg[this.ea()].call(this,Vd,this.L);this.A-=0>this.Ka?1:this.wh},function(){Rg[this.ea()].call(this,ge)},function(){Sg[this.ea()].call(this,he)},function(){Tg[this.Pg=this.ea()].call(this,se)},function(){N[this.Pg=this.ea()].call(this,te)},function(){this.$|=1;Rg[this.ea()].call(this,ee)},function(){this.$|=1;Sg[this.ea()].call(this,ee)},function(){Tg[this.ea()].call(this,ee)},function(){N[this.ea()].call(this,ee)},function(){var a=this.ea();switch((a& +56)>>3){case 0:this.Db=this.bb.oa;break;case 1:this.Db=this.ra.oa;break;case 2:this.Db=this.Eb.oa;break;case 3:this.Db=this.Qb.oa;break;default:M.call(this);return}this.$|=1;Sg[a].call(this,fe)},function(){this.$|=1;this.C=this.M=this.Yl;N[this.ea()].call(this,le)},function(){var a,b=this.ea(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Ga){F.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break; +case 6:a=this.F;break;case 7:a=this.D}}N[b].call(this,ee);switch(c){case 0:Nc(this,this.G);this.G=a;break;case 1:Hc(this,this.I);this.I=a;break;case 2:Mc(this,this.J);this.J=a;break;case 3:Lc(this,this.B);this.B=a;break;case 4:Nc(this,this.X);this.X=a;break;case 5:Hc(this,this.H);this.H=a;break;case 6:Mc(this,this.F);this.F=a;break;case 7:Lc(this,this.D),this.D=a}},function(){this.$|=1;Vg[this.ea()].call(this,Wd,this.Ja)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-= +3},function(){var a=this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Mk},function(){var a=this.K(),b=this.K();J(this, +this.ra.oa);J(this,this.sa);vc(this,a,b);this.A-=this.Pk},function(){M.call(this)},function(){J(this,yc(this));this.A-=this.rc},function(){wc(this,this.Ja());this.A-=this.jc},function(){var a=this.G>>8;a&1?Zc(this):Uc(this);a&4?Pc(this)||(this.ja^=1):Pc(this)&&(this.ja^=1);a&16?$c(this):Vc(this);a&64?ad(this):Wc(this);a&128?bd(this):Xc(this);this.A-=this.Cb},function(){this.G=this.G&255|(yc(this)&213)<<8;this.A-=this.Cb},function(){this.G=this.G&-256|this.T(this.C,this.K());this.A-=this.aj},function(){this.G= +this.U(this.C,this.K());this.A-=this.aj},function(){var a=this.K(),b=this.G;this.bd(this.C.$b(a,0),b);this.A-=this.bj},function(){var a=this.K(),b=this.G;this.Nd(this.C.$b(a,1),b);this.A-=this.bj},function(){var a=1,b=0,c=this.cj;this.wa&192&&(a=this.I,b=1,c=this.ej,this.wa&256||(this.A-=this.dj));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F);this.bd(this.bb.$b(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a= +1,b=0,c=this.cj;this.wa&192&&(a=this.I,b=1,c=this.ej,this.wa&256||(this.A-=this.dj));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F);this.Nd(this.bb.$b(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Ni;this.wa&192&&(a=this.I,b=1,c=this.Pi,this.wa&256||(this.A-=this.Oi));if(a--){var d=this.xa&1024?-1:1,e=this.T(this.C,this.F),f=this.N(this.bb,this.D);od.call(this,e,f);this.F=this.F+d&65535; +this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Rc(this)==(this.wa&64)&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){var a=1,b=0,c=this.Ni;this.wa&192&&(a=this.I,b=1,c=this.Pi,this.wa&256||(this.A-=this.Oi));if(a--){var d=this.xa&1024?-2:2,e=this.U(this.C,this.F),f=this.O(this.bb,this.D);wd.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.qb;this.I-=b;a&&Rc(this)==(this.wa&64)&&(I(this,this.wa&16?-3:-2),this.$|=256)}},function(){this.Y=this.ja=this.ma=this.G&255& +this.ea();this.da=256;this.A-=this.He},function(){this.Y=this.ja=this.ma=this.G&this.K();this.da=65536;this.A-=this.He},function(){var a=1,b=0,c=this.nj;this.wa&192&&(a=this.I,b=1,c=this.pj,this.wa&256||(this.A-=this.oj));if(a--){var d=this.G;this.bd(this.bb.$b(this.D,0),d);this.D=this.D+(this.xa&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.nj;this.wa&192&&(a=this.I,b=1,c=this.pj,this.wa&256||(this.A-=this.oj));if(a--){var d=this.G;this.Nd(this.bb.$b(this.D, +1),d);this.D=this.D+(this.xa&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.$|=256)}},function(){var a=1,b=0,c=this.Vi;this.wa&192&&(a=this.I,b=1,c=this.Xi,this.wa&256||(this.A-=this.Wi));a--&&(this.G=this.G&-256|this.T(this.C,this.F),this.F=this.F+(this.xa&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(I(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.Vi;this.wa&192&&(a=this.I,b=1,c=this.Xi,this.wa&256||(this.A-=this.Wi));a--&&(this.G=this.U(this.C,this.F),this.F=this.F+(this.xa& +1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(I(this,this.wa&16?-3:-2),this.$|=256))},function(){var a=1,b=0,c=this.hj;this.wa&192&&(a=this.I,b=1,c=this.jj,this.wa&256||(this.A-=this.ij));a--&&(od.call(this,this.G&255,this.N(this.bb,this.D)),this.D=this.D+(this.xa&1024?-1:1)&65535,this.A-=c-this.qb,this.I-=b,a&&Rc(this)==(this.wa&64)&&(I(this,-2),this.$|=256))},function(){var a=1,b=0,c=this.hj;this.wa&192&&(a=this.I,b=1,c=this.jj,this.wa&256||(this.A-=this.ij));a--&&(wd.call(this,this.G,this.O(this.bb, +this.D)),this.D=this.D+(this.xa&1024?-2:2)&65535,this.A-=c-this.qb,this.I-=b,a&&Rc(this)==(this.wa&64)&&(I(this,-2),this.$|=256))},function(){this.G=this.G&-256|this.ea();this.A-=this.Cb},function(){this.I=this.I&-256|this.ea();this.A-=this.Cb},function(){this.J=this.J&-256|this.ea();this.A-=this.Cb},function(){this.B=this.B&-256|this.ea();this.A-=this.Cb},function(){this.G=this.G&255|this.ea()<<8;this.A-=this.Cb},function(){this.I=this.I&255|this.ea()<<8;this.A-=this.Cb},function(){this.J=this.J& +255|this.ea()<<8;this.A-=this.Cb},function(){this.B=this.B&255|this.ea()<<8;this.A-=this.Cb},function(){this.G=this.K();this.A-=this.Cb},function(){this.I=this.K();this.A-=this.Cb},function(){this.J=this.K();this.A-=this.Cb},function(){this.B=this.K();this.A-=this.Cb},function(){this.X=this.K();this.A-=this.Cb},function(){this.H=this.K();this.A-=this.Cb},function(){this.F=this.K();this.A-=this.Cb},function(){this.D=this.K();this.A-=this.Cb},oh,ph,oh,ph,function(){N[this.ea()].call(this,ne)},function(){N[this.ea()].call(this, +me)},function(){this.$|=1;Ug[this.ea()].call(this,Xd,this.ea)},function(){this.$|=1;Vg[this.ea()].call(this,Xd,this.K)},qh,rh,qh,rh,function(){ed.call(this,3,null,this.fl)},function(){var a=this.ea(),b;a:{b=this.Gg[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.da=256;this.A-=this.Ik},function(){this.G=this.G&-256|(Oc(this)?255:0);this.A-=2},function(){this.G=this.G&-256|this.T(this.C,this.B+ +(this.G&255)&65535);this.A-=this.Hl},sh,sh,sh,sh,sh,sh,sh,sh,function(){var a=this.L();(this.I=this.I-1&65535)&&this.Y&this.da-1?(H(this,this.sa+a),this.A-=this.ol):this.A-=this.Yi},function(){var a=this.L();!(this.I=this.I-1&65535)||this.Y&this.da-1?this.A-=this.$i:(H(this,this.sa+a),this.A-=this.Zi)},function(){var a=this.L();(this.I=this.I-1&65535)?(H(this,this.sa+a),this.A-=this.nl):this.A-=this.Yi},function(){var a=this.L();this.I?this.A-=this.$i:(H(this,this.sa+a),this.A-=this.Zi)},function(){var a= +this.ea();this.G=this.G&-256|hb(this.na,a,this.Ca-2);this.A-=this.Si},function(){var a=this.ea();this.G=hb(this.na,a,this.Ca-1)|hb(this.na,a+1&65535,this.Ca-2)<<8;this.A-=this.Si},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);this.A-=this.gj},function(){var a=this.ea();lb(this.na,a,this.G&255,this.Ca-2);lb(this.na,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.gj},function(){var a=this.K();J(this,this.sa);H(this,this.sa+a);this.A-=this.Nk},function(){var a=this.K();H(this,this.sa+a); +this.A-=this.Ti},function(){vc(this,this.K(),this.K());this.A-=this.jl},function(){var a=this.L();H(this,this.sa+a);this.A-=this.Ti},function(){this.G=this.G&-256|hb(this.na,this.J,this.Ca-1);this.A-=this.Ri},function(){this.G=hb(this.na,this.J,this.Ca-1)|hb(this.na,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Ri},function(){lb(this.na,this.J,this.G&255,this.Ca-1);this.A-=this.fj},function(){lb(this.na,this.J,this.G&255,this.Ca-1);lb(this.na,this.J+1&65535,this.G>>8,this.Ca-1);this.A-=this.fj},th,th, +function(){this.$|=132;this.A-=this.Pb},function(){this.$|=68;this.A-=this.Pb},function(){this.kb|=4;this.A-=2;this.Z&&1=zh&&(this.Lf=this.Mf=2);this.hh=a.scaleTimers||!1;this.ap=a.rtcDate;this.rk=!1;a.sound&&window&&"webkitAudioContext"in window&& +(this.ci=new webkitAudioContext);this.reset();this.Sa()}x(w,O);var uh=5150,zh=5170,Ah={none:0,tv:1,color:2,mono:3,ega:0},yh={Mh:1},wh=12,xh={lp:16,hp:32,jm:48,yf:48,zf:4};yh.ONE=0;yh.mp=64;yh.kp=128;yh.ip=192;yh.yf=192;yh.zf=6;k=O.prototype; +k.wb=function(a,b,c,d){switch(c){case "sw1":return this.ta[c]=d,Bh(this,c,d,this.Zb,{0:this.Ga==uh?"Bootable Floppy Drive":"Loop on POST",1:this.Ga==uh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ga==uh)return this.ta[c]=d,Bh(this,c,d,this.ne,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.ta[c]=d,!0}return!1}; +k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.Da=a;this.pb=B(a,"Keyboard");this.Il=Math.round(c.Hd/1193181);gb(b,this,Ch);kb(b,this,Dh);this.Gab;b++){var c=13>=b?Lh(e,b):e.pa[b];a&&(a+="\n");a+="CMOS[0x"+p(b)+"]: 0x"+p(c)}e.Z.message(a)})}zc(c,26,this,this.Bn)};k.bc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0}; +k.reset=function(){var a;this.cd=this.Zb;this.Pe=this.ne;Mh(this);this.$a=Array(this.Lf);for(a=0;a=zh){this.ib=16;this.vd=0;this.Ec=16;this.Mg=0;this.te=160;512<=Qh(this)&&(this.te|=16);3==Rh(this)&&(this.te|=64);this.Wh=3;this.If=0;this.Ig=Array(7);this.ue=0;this.pa||(this.pa=Array(64), +Sh(this,this.ap));for(a=14;46>a;a++)void 0===this.pa[a]&&(this.pa[a]=0);this.pa[20]=this.cd&(xh.yf|2|yh.Mh|yh.yf);this.pa[16]=Th(this,0)<<4|Th(this,1);Uh(this)}}; +function Sh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.ca("CMOS date invalid ("+b+"), using "+c)):b&&a.ca("CMOS date: "+c);a.pa[0]=c.getSeconds();a.pa[1]=0;a.pa[2]=c.getMinutes();a.pa[3]=0;a.pa[4]=c.getHours();a.pa[5]=0;a.pa[6]=c.getDay()+1;a.pa[7]=c.getDate();a.pa[8]=c.getMonth()+1;c=c.getFullYear();a.pa[9]=c%100;c/=100;a.pa[50]=c%10|c/10<<4;a.ag=-1;a.pa[10]=38;a.pa[11]=2;a.pa[12]=0;a.pa[13]=128} +function Lh(a,b){var c=a.pa[b];if(10>b){var d=!1;4!=b&&5!=b||a.pa[11]&2||(c=12>c?c?c:12:(c-=12)?c+128:140,d=!0);a.pa[11]&4||(d&&128c;c++)b+=a.pa[c];a.pa[47]=b&255;a.pa[46]=b>>8} +k.save=function(){var a=new G(this);a.set(0,[this.Zb,this.ne,this.cd,this.Pe]);for(var b=[],c=0;c=zh&&(a.set(5,[this.ib,this.vd,this.Ec,this.Mg,this.te,this.Wh]),a.set(6,[this.If,this.Ig,this.ue,this.pa,this.ag]));return a.data()}; +k.restore=function(a){var b,c;b=a[0];this.Zb=b[0];this.ne=b[1];this.cd=b[2];this.Pe=b[3];b=a[1];this.$a=Array(this.Lf);for(c=0;c>2)+1)*a.En+32*((b?a.ne:a.Pe)&15)}function Xh(a,b){var c=b?a.Zb:a.cd;return a.Ga!=uh||c&yh.Mh?((c&yh.yf)>>yh.zf)+1:0}function Th(a,b){return b>xh.zf} +function Bh(a,b,c,d,e){for(var f="",g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='
'+g+"
\n"}c.innerHTML=f;b=A(c,"pcjs-bitCell");c=null;for(g=0;g>2].Hb[b&3],c,d,e)}function fi(a,b,c){b=a.$a[b>>2].Hb[b&3];b.Yg&&b.wi&&b.yh?(c&&(b.$g=c),b.Fd||fd(a,b,!0)):c&&c(!0)} +function fd(a,b,c){c&&(b.count=b.ac[1]<<8|b.ac[0],b.bm=b.mode&12,b.sk=b.kd=!1);for(var d=!1;0<=b.count&&(c=b.Sg<<16|b.Sb[1]<<8|b.Sb[0],4==b.bm?(d=!0,function(c){b.wi.call(b.Yg,b.yh,-1,function(f,g){0>f&&(b.sk||(b.sk=!0),f=255);b.Fd||bb(a.na,c,f);(d=g)&&setTimeout(function(){mi(b)||fd(a,b)},0)})}(c)):8==b.bm?(c=$a(a.na,c),0>b.wi.call(b.Yg,b.yh,c)&&(b.kd=!0)):b.kd=!0),!d&&!mi(b););} +function mi(a){if(!a.kd&&0<=--a.count&&(a.mode&32?(a.Sb[0]--,0>a.Sb[0]&&(a.Sb[0]=255,a.Sb[1]--,0>a.Sb[1]&&(a.Sb[1]=255))):(a.Sb[0]++,255>3,e=a.sb[d];e.Kb|=1<<(b&7);e.fg=c||0;1==d&&(a.sb[0].Kb|=4);pi(a,d)} +function si(a,b){var c=b>>3,d=a.sb[c],e=1<<(b&7);d.Kb&e&&(d.Kb&=~e,1!=c||d.Kb||(a.sb[0].Kb&=-5),pi(a,c))}function dd(a,b){void 0===b&&(b=0);var c=-1,d=a.sb[b];if(d.fg)c=-2,d.fg--;else for(var e=d.Kb&((d.Fc|d.wd)^255),f=d.ve+1;;){var f=f&7,g=1<>6;if(3!=a){c=b&1;var d=b&14;if(b&=48){var e=this.Ib[a];e.sg=b;e.mode=d;e.dk=c;e.Ic=[0,0];e.ac=[0,0];e.Rf=[0,0];e.ld=!1;e.Uf=!1;e.cf=!1;ui(this,a);0==a&&si(this,0);2==a&&255==this.sb[0].wd&&77==this.fc&&(a=this.Ib[0],a.Wc[0]=a.Ic[0],a.Wc[1]=a.Ic[1],a.ke=D(this.S,this.hh))}else Kh(this,a),b=this.Ib[a],b.Rf[0]=b.ac[0],b.Rf[1]=b.ac[1],b.Uf=!0,ui(this,a)}}; +function wi(a,b){var c=a.Ib[b],d=c.Ic[1]<<8|c.Ic[0];d||(d=1==c.hd?256:65536);return d}function ui(a,b){var c=a.Ib[b];c.be=32==c.sg?1:0;c.hd=48==c.sg?2:1} +function Kh(a,b,c){var d=a.Ib[b];if(d.cf&&(2!=b||a.fc&1)){var e=D(a.S,a.hh),f=(e-d.ke)/a.Il|0;0>f&&(d.ke=e,f=0);var g=wi(a,b),h=a.Ib[b],m=h.Wc[1]<<8|h.Wc[0];m||(m=1==h.hd?256:65536);h=m-f;0==d.mode?(0>=h&&(h=0),h||(d.ld=!0,d.cf=!1,b||P(a,0))):4==d.mode?(d.ld=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&P(a,0))):6==d.mode&&(h-=f,0>=h&&(d.ld=!d.ld,h=g+h,0>=h&&(h=g),d.Wc[0]=h&255,d.Wc[1]=h>>8,d.ke=e,!b&&d.ld&&P(a,0)));d.ac[0]=h&255;d.ac[1]=h>>8;c&&(a.ke=0)}return d} +function Kb(a,b){for(var c=0;c=zh){var c=0,d=a.S.Hd,e=D(a.S,a.hh);if(0<=a.ag&&(c=e-a.ag,Math.floor(c/d)&&60<=++a.pa[0]&&(a.pa[0]=0,60<=++a.pa[2]&&(a.pa[2]=0,24<=++a.pa[4])))){a.pa[4]=0;a.pa[6]=a.pa[6]%7+1;var f=a.pa[9],g=oa[a.pa[8]-1];28==g&&0===f%4&&(f%100||0===f%400)&&g++;++a.pa[7]>g&&(a.pa[7]=1,12<++a.pa[8]&&(a.pa[8]=1,a.pa[9]=(a.pa[9]+1)%100))}a.ag=e-c%d}} +k.nn=function(a,b){var c=this.Rg;this.Kf&16&&(this.fc&128?c=this.cd:this.pb&&(c=xi(this.pb)));this.ba(a,null,b,"PPI_A",O.Ta,c);return c};k.Go=function(a,b,c){this.ba(a,b,c,"PPI_A",O.Ta);this.Rg=b};k.on=function(a,b){var c=this.fc;this.ba(a,null,b,"PPI_B",O.Ta,c);return c};k.Ho=function(a,b,c){this.ba(a,b,c,"PPI_B",O.Ta);yi(this,b);this.pb&&(a=this.pb,c=b&128?!1:!0,b=b&64?!0:!1,a.ni!==b&&(a.ni=a.pk=b),a.pi!==c&&(a.pi=c))&&(a.pk?(zi(a),a.pk=!1):Ai(a))}; +function yi(a,b){var c=!!(b&2),d=!!(a.fc&2);a.fc=b;c!=d&&Jb(a,c)}k.pn=function(a,b){var c=0,c=this.Ga==uh?this.fc&4?c|this.Pe&15:c|this.Pe>>4&1:this.fc&8?c|this.cd>>4:c|this.cd&15;this.fc&1&&Kh(this,2).ld&&(c=this.fc&2?c|32:c|16);this.ba(a,null,b,"PPI_C",O.Qj|O.Ta,c);return c};k.Io=function(a,b,c){this.ba(a,b,c,"PPI_C",O.Ta);this.Yh=b};k.qn=function(a,b){var c=this.Kf;this.ba(a,null,b,"PPI_CTRL",O.Ta,c);return c};k.Jo=function(a,b,c){this.ba(a,b,c,"PPI_CTRL",O.Ta);this.Kf=b}; +k.Dm=function(a,b){var c=this.Mg;this.ba(a,null,b,"8042_OUTBUFF",O.Ta,c);this.ib&=-258;var d=this.pb&&xi(this.pb,!0);d&&Bi(this,d);return c};k.Zn=function(a,b,c){this.ba(a,b,c,"8042_INBUF.DATA",O.Ta);if(this.ib&8)switch(this.vd){case 96:this.Ec=b;this.ib=this.ib&-5|b&4;break;case 209:Ci(this,b);break;default:if(this.Ec&=-17,this.pb){a=-1;switch(b){case 255:a=250,zi(this.pb)}Bi(this,a)}}this.vd=b;this.ib&=-9};k.Em=function(a,b){var c=this.fc&-193;this.ba(a,null,b,"8042_RWREG",O.Ta,c);this.fc^=16;return c}; +k.$n=function(a,b,c){this.ba(a,b,c,"8042_RWREG",O.Ta);yi(this,b)};k.Fm=function(a,b){this.ba(a,null,b,"8042_STATUS",O.Ta,this.ib);var c=this.ib&255;this.ib&256&&(this.ib|=1,this.ib&=-257);return c}; +k.Yn=function(a,b,c){this.ba(a,b,c,"8042_INBUFF.CMD",O.Ta);this.vd=b;this.ib|=8;a=0;240<=this.vd&&(a=this.vd^15,this.vd=240);switch(this.vd){case 192:Bi(this,this.te);break;case 173:this.Ec|=16;break;case 174:this.Ec&=-17;break;case 170:this.pb&&Ai(this.pb,!0);this.Ec|=16;Bi(this,85);Ci(this,3);break;case 224:Bi(this,this.Ec&16?0:1);break;case 240:a&1&&uc(this.S)}};function Bi(a,b){0<=b&&(a.Mg=b,a.ib&=-2,a.ib|=256)}function Ci(a,b){a.Wh=b;Wa(a.na,!!(b&2));b&1||uc(a.S)} +k.Tm=function(a,b){this.ba(a,null,b,"CMOS_ADDR",O.Ta,this.ue);return this.ue};k.oo=function(a,b,c){this.ba(a,b,c,"CMOS_ADDR",O.Ta);this.ue=b;this.Qg=b&128?0:128};k.Um=function(a,b){var c=this.ue&63,d=13>=c?Lh(this,c):this.pa[c];this.ba(a,null,b,"CMOS_DATA["+p(c)+"]",O.Ta,d);return d}; +k.po=function(a,b,c){var d=this.ue&63;this.ba(a,b,c,"CMOS_DATA["+p(d)+"]",O.Ta);a=this.pa;13>=d&&10>d&&(c=!1,this.pa[11]&4||(b=10*(b>>4)+(b&15),c=!0),4==d||5==d)&&(c&&12=b?b=12==b?0:b:(b-=116,b=24==b?12:b)));a[d]=b};k.ln=function(a,b){this.ba(a,null,b,"MFG_DATA",O.Ta,this.If);return this.If};k.Do=function(a,b,c){this.ba(a,b,c,"MFG_DATA",O.Ta);this.If=b};k.Fo=function(a,b,c){this.ba(a,b,c,"NMI",O.Ta);this.Qg=b}; +k.Bn=function(a){var b=this.S.G>>8;this.Z&&K(this.Z,this.Z.Ta)&&(this.Z.message("ChipSet.intBIOSRTC(AH="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Ac(this.S,a,function(a,d){return function(e){d=D(a.S)-d;var f="C="+(Oc(a.S)?1:0),g=a.S.J&255,h=a.S.J>>8,m=a.S.J&255,n=a.S.J>>8;if(2==b||3==b)f+=" CH(hour)="+r(h)+" CL(min)="+p(g)+" DH(sec)="+p(n);else if(4==b||5==b)f+=" CX(year)="+r(a.S.I)+" DH(month)="+p(n)+" DL(day)="+p(m);a.Fa("ChipSet.intBIOSRTC("+e+"): "+f+" (cycles="+d+")")}}(this,D(this.S)))); +return!0};function vh(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.xb[c++]=f[b]>>16&255,this.xb[c++]=f[b]>>24&255;else this.xb=d;this.Sh=d.symbols;if(!this.xb.length){v("Empty ROM: "+a);return}if(1==this.xb.length){v(this.xb[0]);return}}catch(g){this.Ha("ROM data error: "+ +g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.xb=Array(a.length),d=0;dthis.Kg?21:23,c=a.pa[b]|a.pa[b+1]<<8,c=c+(this.Od>>10);a.pa[b]=c&255;a.pa[b+1]=c>>8;Uh(a)}}else v("No RAM allocated")}; +za(function(){for(var a=A(window.document,"pcjs","ram"),b=0;ba.yc.length){if(!(!d&&!a.Rh[c]||d&&a.Rh[c])){a.Rh[c]=d;a.Fa("scan code "+p(b)+" buffered");a.yc.push(b);1==a.yc.length&&a.ka&&P(a.ka,1);for(var e in Oi)if(Oi[e]==c){(c=a.ta["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.yc.length&&a.yc.push(255),a.Fa("scan code buffer overflow")}function Ti(a,b){var c=b?a.Kn:a.Jn;a.S&&a.S.md&&(c/=a.S.md);return c} +function Ui(a,b){!a.Le||void 0!==b&&b==a.Le||(clearTimeout(a.rd[a.Le]),Vi(a,a.Le,!1))} +function Qi(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Nl=f);240==f+224?(a.Ea&=-2,c&&(a.Ea|=1),f+=224,e=!1):241==f+224?(a.Ea&=-5,c&&(a.Ea|=4),f+=224,e=!1):242==f+224?(a.Ea&=-9,c&&(a.Ea|=8),f+=224,e=!1):244==f+224?(a.Ea&=-17,c&&(a.Ea|=16),f+=224,d=Ri(a,f)):91==f?(a.Ea&=-33,c&&(a.Ea|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.Ea&12)&&(f=254),d=c?!Ri(a,f):!1):void 0!==Q[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.Ea&=-33,a.ok||f!=a.Nl||Ui(a));void 0===d&&(d=!Vi(a,f,c));return d} +function Ri(a,b,c){var d=!1;Ui(a,b);Vi(a,b,!0)&&(c?Vi(a,b,!1):(c=!1,a.rd[b]&&(clearTimeout(a.rd[b]),c=!0),c=Ti(a,c),a.rd[a.Le=b]=setTimeout(function(a){return function(){Vi(a,b,!1)}}(a),c)),d=!0);return d} +function Vi(a,b,c){var d=!1;c||(a.rd[b]=null,a.Le==b&&(a.Le=0));var e=Q[b];void 0===e&&1<=b&&26>=b&&(e=Q[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.Ea&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.Ea&17||(d=42):224==f?a.Ea&18||(d=54):241==f?a.Ea&4||(d=29):242==f&&(a.Ea&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(gj)];this.Z=a.Z;this.type=e[0];this.port=e[1];this.fe=b;this.cb=e[2];this.uc=e[3];this.Tc=d||e[4];65536<=this.Tc&&720896<=this.cb&&(this.uc=Math.min(this.Tc>>2,32768));this.mc=c[0];this.zc=c[1];this.Ze=c[2];this.tf=c[3];this.oc=c[4]&255;this.kh=c[4]>>8&255;this.dc=c[5];this.Di=gj;this.Lg=hj;if(5==b){this.Di=ij;this.Lg=jj;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5), +0,0,0,Array(9),0,this.Tc,Array(this.Tc>>2),771,0,4294967295,0,4294967295,0,4294967295,0]);this.jd=b[0];this.Bd=b[1];this.Rd=b[2];this.Th=kj;this.Lh=b[3];this.Yf=b[4];this.jh=b[5];this.Dd=b[6];this.Bf=b[7];this.Vh=lj;this.xi=b[8];this.yi=b[9];this.Cd=b[10];this.qe=b[11];this.Uh=mj;this.vb=b[12];d=this.Tc>>2;if((this.fd=b[14])&&this.fd.length>8&255)} +var V=[,,function(a){a+=this.offset;return(this.ia.vb=this.qa[a])>>this.ia.vj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.qa[b]>>8:this.qa[b])&255}];V[16]=function(a){a+=this.offset;a=this.qa[a];for(var b=this.ia.Fi&this.ia.Gi,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};V[512]=function(a,b){var c=a+this.offset,d;d=this.qa[c]&~this.ia.gb|(b|b<<8|b<<16|b<<24)&this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[1024]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[1536]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d&=this.ia.vb;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[2560]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d|=this.ia.vb;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[3584]=function(a,b){var c=a+this.offset;b=b>>this.ia.nd|b<<8-this.ia.nd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ia.je|this.ia.Ie;d^=this.ia.vb;d=d&this.ia.gb|this.qa[c]&~this.ia.gb;d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)};V[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ia.gb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.qa[d]&~c;c=c&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[d]!=c&&(this.qa[d]=c,this.jb=!0)}; +V[4096]=function(a){a+=this.offset;var b=this.qa[a]&~this.ia.gb|this.ia.vb&this.ia.gb;this.qa[a]!=b&&(this.qa[a]=b,this.jb=!0)};V[8192]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)};V[24576]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d&this.ia.vb,d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +V[40960]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d|this.ia.vb,d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)};V[57344]=function(a,b){var c=a+this.offset,d=dj[b&15],d=d^this.ia.vb,d=d&this.ia.gb|this.qa[c]&~this.ia.gb,d=d&this.ia.lb|this.ia.vb&~this.ia.lb;this.qa[c]!=d&&(this.qa[c]=d,this.jb=!0)}; +function pj(a){var b=[];if(void 0!==a.fe){b[0]=a.mc;b[1]=a.zc;b[2]=a.Ze;b[3]=a.tf;b[4]=a.oc|a.kh<<8;b[5]=a.dc;if(5==a.fe){var c=[];c[0]=a.jd;c[1]=a.Bd;c[2]=a.Rd;c[3]=a.Lh;c[4]=a.Yf;c[5]=a.jh;c[6]=a.Dd;c[7]=a.Bf;c[8]=a.xi;c[9]=a.yi;c[10]=a.Cd;c[11]=a.qe;c[12]=a.vb;c[13]=a.Tc;var d;a:if(d=a.fd){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h>1;f[e++]=m;h=n}if(f.lengtha&&(a=0);for(var c="",d=0;8>d;d++){for(var n=l(b.cb+a)+":",q=0;8>q&&a>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),cb(this.na,b,c|d<<8);yb(this,!0)}};function yj(a){a.la.Yf&1?(a.Sc=a.bi,a.yb=a.la):(a.Sc=a.la,a.yb=a.Xg)}k.save=function(){var a=new H(this);a.set(0,qj(this.bi));a.set(1,qj(this.Xg));a.set(2,[this.he,this.od,this.Jd]);a.set(3,qj(this.la));return a.data()}; -k.restore=function(a){var b=a[2];this.he=b[0];this.od=b[1];this.Jd=b[2];this.Ba=null;this.Sc=this.bi=new fj(this,1,a[0]);this.yb=this.Xg=new fj(this,3,a[1]);this.la=new fj(this,5,a[3],this.Tc);this.la.mc&&yj(this);zj(this);if(!Bj(this))return!1;Cj(this);return!0}; -k.Wn=function(a,b,c){if(c)this.Ha("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){v("Empty font ROM image: "+a);return}if(1==d.length){v(d[0]);return}if(8192==d.length)Ii(this,d,[0,6144]);else{this.Ha("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ha("Font ROM data error: "+e.message);return}this.Sa()}}; -function Dj(a,b){if(1==b)return a.ud[0]=U[0],a.ud[1]=U[7],a.ud;if(2==b){var c=a.Ba.Ye;if(a.Ba===a.la){var d=a.la.Rd[0],c=d&7;d&16&&(c|=8);18!=a.la.Rd[1]&&(c|=32)}a.ud[0]=U[c&15];c=c&32?cj:bj;for(d=0;drb||!ia?rb:8,Qd=Ji.createImageData(n.kc,n.lc),Fa=0;256>Fa;Fa++){for(db= -0;db=rb-2,gl=Jc[db>(8<=Hb&&176<=Fa&&223>=Fa?7:Hb)?s:Pd;Gj(Qd,Ki,Li,Mi);z&&Gj(Qd,Ki+1,Li,Mi)}Ji.putImageData(Qd,(Fa&15)*n.kc,(Fa>>4)*n.lc)}n.Se[u]="#"+p(s[0])+p(s[1])+p(s[2]);n.Wj[u]=s;n.Ph[u]=Kc;n=!0}}a.Td[b]=t;return n}function Hj(a){0a.Ae&&(a.Ae=0):a.Ae=-1} -function Cj(a){if(a.Ub){for(var b=10;15>=b;b++)if(null==a.Ba.dc[b])return;var c=a.Ba.dc[10],b=c&31,d=a.Ba.dc[11]&31,e=a.Ba.dc[9]&31,f=!1;a.Ba===a.la&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Ij(a);else{c=a.Ba.dc[15]+((a.Ba.dc[14]&63)<<8);a.Lc!=c&&(Ij(a),a.Lc=c);d=d-b+1;if(a.fm!=b||a.nk!=d)a.fm=b,a.nk=d;a.ce=e+1;Hj(a)}}} -function Ij(a){if(0<=a.Lc){if(void 0!==a.ec){var b=a.ec[a.Lc];if(b&131072){var b=b&-131073,c=a.Lc%a.Bb,d=Math.floor(a.Lc/a.Bb);a.Ub&&a.Td[a.Ub]&&(a.Ze&&Jj(a,c,d,b,a.Ze),Jj(a,c,d,b));a.ec[a.Lc]=b}}a.Lc=-1}} -function Kj(a){var b;a=a.Ba;var c=a.re[5];if(null!=c){b=2;var d=512,e=a.re[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.nd=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.ne=function(a){var b=this.Ba;null!=a&&b&&a!=b.sh&&(b.Jh(a),this.na.Jh(b.eb,b.uc,b.Ff))}; -function Bj(a,b){var c,d=a.Jd,e=a.Ba;if(e)if(1==e.fe)d=Xi;else if(5==e.fe){var d=null,f=e.Tc>>2,g=32768f&&(d=c?13:14):c&&(d-=2));c=Kj(a)}}else e.zc&8&&(e.zc&2?(d=e.zc&16?6:5,e.zc&4||(d-=1)):(d=e.zc&1?3:1,e.zc&4&&(d-= -1)));else a.Jd=null,null==d&&(d=a.od);if(!Aj(a,d,b))return!1;a.ne(c);return!0} -function Aj(a,b,c){if(null!=b&&(b!=a.Jd||c)){a.om=0;a.Jd=b;b=a.Ba||(b==Xi?a.Sc:a.yb);if(b!=a.Ba||b.eb!=a.eb||b.uc!=a.uc){Ij(a);if(a.eb){if(!Za(a.na,a.eb,a.uc))return!1;a.Ba&&(a.Ba.mc=!1)}a.Ba=b;b.mc=!0;a.eb=b.eb;a.uc=b.uc;if(!Xa(a.na,b.eb,b.uc,!1,b===a.la?b:null))return!1}a.Ub=0;a.Bb=a.vh;a.sc=a.Ki;a.Fi=T[Xi][2];b=0;var d=T[a.Jd];d&&(a.Bb=d[0],a.sc=d[1],a.Fi=d[2],b=d[3]||0,a.Ub=d[4],4==a.he&&a.Ba===a.la&&3==a.Ub&&(7==a.la.dc[9]?a.sc=43:a.Ub=5));a.Hk=a.Bb*a.sc;a.uh=a.Hk/a.Fi;a.ci=(a.uh<<1)+b;a.kk= -b?a.ci+b>>1:0;13<=a.Jd&&(a.uh<<=1);a.Td.length&&(a.yd=Math.floor(a.xd/a.Bb),a.zd=Math.floor(a.de/a.sc),a.Ub?(b=a.Td[a.Ub],d=a.Td[a.Ub<<1],a.vm&&80==a.Bb?d&&a.yd>=3*d.kc>>2&&(a.Ub<<=1,b=d):(d&&a.yd>=d.kc&&(a.Ub<<=1,b=d),b&&(a.yd=b.kc,a.zd=b.lc)),a.Sf=a.Tf=0,b&&(a.Sf=a.Bb*b.kc,a.Tf=a.sc*b.lc)):(a.yd=a.zd=1,a.Sf=a.Bb,a.Tf=a.sc),a.oh=a.Vc.createImageData(a.Sf,a.Tf),a.Xe=window.document.createElement("canvas"),a.Xe.width=a.Sf,a.Xe.height=a.Tf,a.Ze=a.Xe.getContext("2d"),a.Oj=a.Pj=0,a.ei=a.xd,a.fi=a.de, -b=a.xd-a.Bb*a.yd,d=a.de-a.sc*a.zd,0>1,a.ei-=b),0>1,a.fi-=d),b||d)&&(a.Vc.fillStyle=a.Mb.style.backgroundColor,a.Vc.fillRect(0,0,a.xd,a.de));!1!==c?yb(a,!0):Lj(a,!0)}return!0}function Gj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Lj(a,b){var c;if(b){if(c=a.uh,void 0===a.ec||a.ec.length!=c)a.ec=Array(c)}else{if(void 0===a.ec)return;c=a.ec.length}for(var d=0;d>8;d=g&15;var h=a.Td[a.Ub];h.Af&&(d=h.Af[d]);var m=g>>4&15;h.Af&&(m=h.Af[m]);e?(b*=h.kc,c*=h.lc,e.fillStyle=h.Se[m],e.fillRect(b,c,h.kc,h.lc)):(b=b*a.yd+a.Oj,c=c*a.zd+a.Pj,a.Vc.fillStyle=h.Se[m],a.Vc.fillRect(b,c,a.yd,a.zd));g&256&&(m=(f&15)*h.kc,f=(f>>4)*h.lc,e?e.drawImage(h.Ph[d],m,f,h.kc,h.lc,b,c,h.kc,h.lc):a.Vc.drawImage(h.Ph[d],m,f,h.kc,h.lc,b,c,a.yd,a.zd));g&512&&(f=a.fm,g=a.nk,e?(a.ce&&a.ce!==h.lc&&(f=Math.floor(f*h.lc/a.ce),g=Math.floor(g*h.lc/a.ce)), -e.fillStyle=h.Se[d],e.fillRect(b,c+f,h.kc,g)):(a.ce&&a.ce!==a.zd&&(f=Math.floor(f*a.zd/a.ce),g=Math.floor(g*a.zd/a.ce)),a.Vc.fillStyle=h.Se[d],a.Vc.fillRect(b,c+f,a.yd,g)))} -function yb(a,b){if(a.Nb){var c=!1;a.Ba&&(a.Ba===a.la?a.la.Bd&32&&(c=!0):a.Ba.zc&8&&(c=!0));if(c||b){if(b)Lj(a,!0);else if(void 0===a.ec)return;var d=!1;!(b||++a.om&15)&&0<=a.Ae&&(a.Ae++,d=!0);var e=0,f=a.Hk,c=a.Ba.eb,g=c+a.Ba.uc,h=(a.Ba.dc[12]<<8)+a.Ba.dc[13];a.Ub&&(h<<=1);var c=c+h,m=a.ci;c+m>g&&(m=g-c,0>m&&(m=0));g=c+m;if(h=!b){for(var h=a.na,n=!0,q=c>>h.ob;0a.Lc)return;e=a.Lc;f=e+1}}if(a.Ub){if(a.Td[a.Ub]){d= -0;h=a.ze=0;m=1048575;a.Ba.zc&32&&(h=32768,m&=~h,a.Ae&2||(m&=-65537));for(c+=e<<1;c>8| -(t&255)<<8;s=h;var rb=16;q>=m))>>(rb-=m);Gj(a.oh,q++,u,n[Pd])}q>C&&(C=q);u=ja&&(ja=u+1)}e+=2;g++;if(q>=a.Bb){q=0;u+=2;if(u>a.sc)break;u==a.sc&&(u=1,e=c+a.kk)}}zia;ia++)ja=C&2155905152, -0>ja&&(ja=-ja),ja=V[ja]||0,Gj(a.oh,h++,m,g[ja]),C<<=1;h>q&&(q=h);m=z&&(z=m+1)}e++;if(h>=a.Bb&&(h=0,++m>a.sc))break}n>2),c=this.la.Mh&-17|(this.Ng&1<f&&(f=0);f%b.Ii>b.Pn&&(d|=1);f%=b.Kk;f>b.Sn&&(d|=8);b.Ni=e-f;b===a.la?(d|=b.tf&48^48,b.jd=!1):d=(b.tf^=9)|240;b.tf=d;a.ba(b.port+6,null,c,b===a.la?"STATUS1":"STATUS",d);return d}k.Fa=function(a,b){this.Z&&(b||L(this.Z,this.Z.Dg))&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Dg,e)}; -var sj={948:S.prototype.kn,949:S.prototype.jn,952:S.prototype.ln,954:S.prototype.mn,980:S.prototype.Sm,981:S.prototype.Rm,984:S.prototype.Tm,985:S.prototype.Qm,986:S.prototype.Um},tj={948:S.prototype.Do,949:S.prototype.Co,952:S.prototype.Eo,980:S.prototype.oo,981:S.prototype.no,984:S.prototype.po,985:S.prototype.mo},uj={960:S.prototype.Dk,961:S.prototype.Dk,962:S.prototype.wn,964:S.prototype.vn,965:S.prototype.un,970:S.prototype.cn,972:S.prototype.bn,974:S.prototype.an,975:S.prototype.$m},vj={954:S.prototype.Ol, -960:S.prototype.Nl,961:S.prototype.Nl,962:S.prototype.Go,964:S.prototype.No,965:S.prototype.Mo,970:S.prototype.yo,972:S.prototype.xo,974:S.prototype.wo,975:S.prototype.vo,986:S.prototype.Ol}; +k.reset=function(){var a=!0,b=0;this.ka&&(b=Rh(this.ka));var c=!1;if(this.Ga)switch(this.Ga){case "ega":var c=!0,d=Yi[this.Ng];d&&(b=d[0]);b||(b=4);break;case "mda":b=3;break;default:b=2}this.he!==b&&(this.he=b,a=!0);this.Ba=null;this.Sc=this.ai=new ej(this,1);this.yb=this.Xg=new ej(this,3);c?(this.la=new ej(this,5,null,this.Tc),xj(this)):this.la=new ej;yj(this);this.Jd=null;this.od=3==b?Wi:3;this.ze=this.Lc=-1;this.ye=0;zj(this,this.od);if(this.Ba.cb&&a){a=this.Ba.cb+this.bi;for(b=this.Ba.cb;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),cb(this.na,b,c|d<<8);xb(this,!0)}};function xj(a){a.la.Yf&1?(a.Sc=a.ai,a.yb=a.la):(a.Sc=a.la,a.yb=a.Xg)}k.save=function(){var a=new G(this);a.set(0,pj(this.ai));a.set(1,pj(this.Xg));a.set(2,[this.he,this.od,this.Jd]);a.set(3,pj(this.la));return a.data()}; +k.restore=function(a){var b=a[2];this.he=b[0];this.od=b[1];this.Jd=b[2];this.Ba=null;this.Sc=this.ai=new ej(this,1,a[0]);this.yb=this.Xg=new ej(this,3,a[1]);this.la=new ej(this,5,a[3],this.Tc);this.la.mc&&xj(this);yj(this);if(!Aj(this))return!1;Bj(this);return!0}; +k.Un=function(a,b,c){if(c)this.Ha("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){v("Empty font ROM image: "+a);return}if(1==d.length){v(d[0]);return}if(8192==d.length)Hi(this,d,[0,6144]);else{this.Ha("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Ha("Font ROM data error: "+e.message);return}this.Sa()}}; +function Cj(a,b){if(1==b)return a.ud[0]=T[0],a.ud[1]=T[7],a.ud;if(2==b){var c=a.Ba.Ze;if(a.Ba===a.la){var d=a.la.Rd[0],c=d&7;d&16&&(c|=8);18!=a.la.Rd[1]&&(c|=32)}a.ud[0]=T[c&15];c=c&32?bj:aj;for(d=0;drb||!ia?rb:8,Pd=Ii.createImageData(n.kc,n.lc),Fa=0;256>Fa;Fa++){for(db= +0;db=rb-2,el=Ic[db>(8<=Hb&&176<=Fa&&223>=Fa?7:Hb)?s:Od;Fj(Pd,Ji,Ki,Li);z&&Fj(Pd,Ji+1,Ki,Li)}Ii.putImageData(Pd,(Fa&15)*n.kc,(Fa>>4)*n.lc)}n.Te[u]="#"+p(s[0])+p(s[1])+p(s[2]);n.Vj[u]=s;n.Oh[u]=Jc;n=!0}}a.Td[b]=t;return n}function Gj(a){0a.ze&&(a.ze=0):a.ze=-1} +function Bj(a){if(a.Ub){for(var b=10;15>=b;b++)if(null==a.Ba.dc[b])return;var c=a.Ba.dc[10],b=c&31,d=a.Ba.dc[11]&31,e=a.Ba.dc[9]&31,f=!1;a.Ba===a.la&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Hj(a);else{c=a.Ba.dc[15]+((a.Ba.dc[14]&63)<<8);a.Lc!=c&&(Hj(a),a.Lc=c);d=d-b+1;if(a.cm!=b||a.kk!=d)a.cm=b,a.kk=d;a.ce=e+1;Gj(a)}}} +function Hj(a){if(0<=a.Lc){if(void 0!==a.ec){var b=a.ec[a.Lc];if(b&131072){var b=b&-131073,c=a.Lc%a.Bb,d=Math.floor(a.Lc/a.Bb);a.Ub&&a.Td[a.Ub]&&(a.$e&&Ij(a,c,d,b,a.$e),Ij(a,c,d,b));a.ec[a.Lc]=b}}a.Lc=-1}} +function Jj(a){var b;a=a.Ba;var c=a.qe[5];if(null!=c){b=2;var d=512,e=a.qe[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.nd=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.Oe=function(a){var b=this.Ba;null!=a&&b&&a!=b.rh&&(b.Ih(a),this.na.Ih(b.cb,b.uc,b.Ff))}; +function Aj(a,b){var c,d=a.Jd,e=a.Ba;if(e)if(1==e.fe)d=Wi;else if(5==e.fe){var d=null,f=e.Tc>>2,g=32768f&&(d=c?13:14):c&&(d-=2));c=Jj(a)}}else e.zc&8&&(e.zc&2?(d=e.zc&16?6:5,e.zc&4||(d-=1)):(d=e.zc&1?3:1,e.zc&4&&(d-= +1)));else a.Jd=null,null==d&&(d=a.od);if(!zj(a,d,b))return!1;a.Oe(c);return!0} +function zj(a,b,c){if(null!=b&&(b!=a.Jd||c)){a.lm=0;a.Jd=b;b=a.Ba||(b==Wi?a.Sc:a.yb);if(b!=a.Ba||b.cb!=a.cb||b.uc!=a.uc){Hj(a);if(a.cb){if(!Za(a.na,a.cb,a.uc))return!1;a.Ba&&(a.Ba.mc=!1)}a.Ba=b;b.mc=!0;a.cb=b.cb;a.uc=b.uc;if(!Xa(a.na,b.cb,b.uc,!1,b===a.la?b:null))return!1}a.Ub=0;a.Bb=a.uh;a.sc=a.Ji;a.Ei=S[Wi][2];b=0;var d=S[a.Jd];d&&(a.Bb=d[0],a.sc=d[1],a.Ei=d[2],b=d[3]||0,a.Ub=d[4],4==a.he&&a.Ba===a.la&&3==a.Ub&&(7==a.la.dc[9]?a.sc=43:a.Ub=5));a.Ek=a.Bb*a.sc;a.th=a.Ek/a.Ei;a.bi=(a.th<<1)+b;a.hk= +b?a.bi+b>>1:0;13<=a.Jd&&(a.th<<=1);a.Td.length&&(a.yd=Math.floor(a.xd/a.Bb),a.zd=Math.floor(a.de/a.sc),a.Ub?(b=a.Td[a.Ub],d=a.Td[a.Ub<<1],a.tm&&80==a.Bb?d&&a.yd>=3*d.kc>>2&&(a.Ub<<=1,b=d):(d&&a.yd>=d.kc&&(a.Ub<<=1,b=d),b&&(a.yd=b.kc,a.zd=b.lc)),a.Sf=a.Tf=0,b&&(a.Sf=a.Bb*b.kc,a.Tf=a.sc*b.lc)):(a.yd=a.zd=1,a.Sf=a.Bb,a.Tf=a.sc),a.nh=a.Vc.createImageData(a.Sf,a.Tf),a.Ye=window.document.createElement("canvas"),a.Ye.width=a.Sf,a.Ye.height=a.Tf,a.$e=a.Ye.getContext("2d"),a.Nj=a.Oj=0,a.di=a.xd,a.ei=a.de, +b=a.xd-a.Bb*a.yd,d=a.de-a.sc*a.zd,0>1,a.di-=b),0>1,a.ei-=d),b||d)&&(a.Vc.fillStyle=a.Mb.style.backgroundColor,a.Vc.fillRect(0,0,a.xd,a.de));!1!==c?xb(a,!0):Kj(a,!0)}return!0}function Fj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Kj(a,b){var c;if(b){if(c=a.th,void 0===a.ec||a.ec.length!=c)a.ec=Array(c)}else{if(void 0===a.ec)return;c=a.ec.length}for(var d=0;d>8;d=g&15;var h=a.Td[a.Ub];h.Af&&(d=h.Af[d]);var m=g>>4&15;h.Af&&(m=h.Af[m]);e?(b*=h.kc,c*=h.lc,e.fillStyle=h.Te[m],e.fillRect(b,c,h.kc,h.lc)):(b=b*a.yd+a.Nj,c=c*a.zd+a.Oj,a.Vc.fillStyle=h.Te[m],a.Vc.fillRect(b,c,a.yd,a.zd));g&256&&(m=(f&15)*h.kc,f=(f>>4)*h.lc,e?e.drawImage(h.Oh[d],m,f,h.kc,h.lc,b,c,h.kc,h.lc):a.Vc.drawImage(h.Oh[d],m,f,h.kc,h.lc,b,c,a.yd,a.zd));g&512&&(f=a.cm,g=a.kk,e?(a.ce&&a.ce!==h.lc&&(f=Math.floor(f*h.lc/a.ce),g=Math.floor(g*h.lc/a.ce)), +e.fillStyle=h.Te[d],e.fillRect(b,c+f,h.kc,g)):(a.ce&&a.ce!==a.zd&&(f=Math.floor(f*a.zd/a.ce),g=Math.floor(g*a.zd/a.ce)),a.Vc.fillStyle=h.Te[d],a.Vc.fillRect(b,c+f,a.yd,g)))} +function xb(a,b){if(a.Nb){var c=!1;a.Ba&&(a.Ba===a.la?a.la.Bd&32&&(c=!0):a.Ba.zc&8&&(c=!0));if(c||b){if(b)Kj(a,!0);else if(void 0===a.ec)return;var d=!1;!(b||++a.lm&15)&&0<=a.ze&&(a.ze++,d=!0);var e=0,f=a.Ek,c=a.Ba.cb,g=c+a.Ba.uc,h=(a.Ba.dc[12]<<8)+a.Ba.dc[13];a.Ub&&(h<<=1);var c=c+h,m=a.bi;c+m>g&&(m=g-c,0>m&&(m=0));g=c+m;if(h=!b){for(var h=a.na,n=!0,q=c>>h.ob;0a.Lc)return;e=a.Lc;f=e+1}}if(a.Ub){if(a.Td[a.Ub]){d= +0;h=a.ye=0;m=1048575;a.Ba.zc&32&&(h=32768,m&=~h,a.ze&2||(m&=-65537));for(c+=e<<1;c>8| +(t&255)<<8;s=h;var rb=16;q>=m))>>(rb-=m);Fj(a.nh,q++,u,n[Od])}q>C&&(C=q);u=ja&&(ja=u+1)}e+=2;g++;if(q>=a.Bb){q=0;u+=2;if(u>a.sc)break;u==a.sc&&(u=1,e=c+a.hk)}}zia;ia++)ja=C&2155905152, +0>ja&&(ja=-ja),ja=U[ja]||0,Fj(a.nh,h++,m,g[ja]),C<<=1;h>q&&(q=h);m=z&&(z=m+1)}e++;if(h>=a.Bb&&(h=0,++m>a.sc))break}n>2),c=this.la.Lh&-17|(this.Ng&1<f&&(f=0);f%b.Hi>b.Nn&&(d|=1);f%=b.Hk;f>b.Qn&&(d|=8);b.Mi=e-f;b===a.la?(d|=b.tf&48^48,b.jd=!1):d=(b.tf^=9)|240;b.tf=d;a.ba(b.port+6,null,c,b===a.la?"STATUS1":"STATUS",d);return d}k.Fa=function(a,b){this.Z&&(b||K(this.Z,this.Z.Dg))&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Dg,e)}; +var rj={948:R.prototype.hn,949:R.prototype.gn,952:R.prototype.jn,954:R.prototype.kn,980:R.prototype.Qm,981:R.prototype.Pm,984:R.prototype.Rm,985:R.prototype.Om,986:R.prototype.Sm},sj={948:R.prototype.Bo,949:R.prototype.Ao,952:R.prototype.Co,980:R.prototype.mo,981:R.prototype.lo,984:R.prototype.no,985:R.prototype.ko},tj={960:R.prototype.Ak,961:R.prototype.Ak,962:R.prototype.un,964:R.prototype.tn,965:R.prototype.sn,970:R.prototype.an,972:R.prototype.$m,974:R.prototype.Zm,975:R.prototype.Ym},uj={954:R.prototype.Ll, +960:R.prototype.Kl,961:R.prototype.Kl,962:R.prototype.Eo,964:R.prototype.Lo,965:R.prototype.Ko,970:R.prototype.wo,972:R.prototype.vo,974:R.prototype.uo,975:R.prototype.to,986:R.prototype.Ll}; za(function(){for(var a=A(window.document,"pcjs","video"),b=0;bMissing <canvas> support; try a new web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.setAttribute("contenteditable","true");e.setAttribute("autocapitalize","off");e.setAttribute("autocorrect","off");e.style.backgroundColor=d.screenColor; -e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=e.getContext("2d"),d=new S(d,e,f);Ma(d,c)}}); -function X(a){this.Ak=a.adapter;switch(this.Ak){case 1:this.Dj=1016;this.gg=4;break;case 2:this.Dj=760;this.gg=3;break;default:v("Unrecognized serial adapter #"+this.Ak);return}this.ae=null;w.call(this,"SerialPort",a,X);var b=a.binding,c;a=Rj;b&&(void 0===c&&(c="Panel"),(c=La(c,this.id))&&(b=c.ta[b])&&this.wb(null,null,a,b))}x(w,X);var Rj="buffer";k=X.prototype;k.$j=function(a,b){return a==this.mh?(this.Ek=b,this):null}; -k.wb=function(a,b,c,d){var e=this;switch(c){case Rj:return this.ta[c]=this.ae=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),Sj(e,[b]))},d.onkeypress=function(a){a=a||window.event;Sj(e,[a.which||a.keyCode])},!0}return!1};k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.ka=B(a,"ChipSet");d&&Jh(d,X);gb(b,this,Tj,this.Dj);kb(b,this,Uj,this.Dj);this.Sa()}; -k.bc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.ge()};k.save=function(){var a=new H(this),b=0,c=[];c[b++]=this.$h;c[b++]=this.dk;c[b++]=this.Pe;c[b++]=this.Og;c[b++]=this.Xd;c[b++]=this.Rc;c[b++]=this.gd;c[b++]=this.Gc;c[b++]=this.bk;c[b]=this.Df;a.set(0,c);return a.data()};k.restore=function(a){return this.ge(a[0])}; -k.ge=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.$h=a[b++];this.dk=a[b++];this.Pe=a[b++];this.Og=a[b++];this.Xd=a[b++];this.Rc=a[b++];this.gd=a[b++];this.Gc=a[b++];this.bk=a[b++];this.Df=a[b];return!0};function Sj(a,b){a.Df=a.Df.concat(b);Vj(a)}function Vj(a){0>8:this.Og;this.ba(a,null,b,this.Rc&128?"DLM":"IER",c);return c};k.en=function(a,b){var c=this.Xd;this.ba(a,null,b,"IIR",c);return c};k.fn=function(a,b){var c=this.Rc;this.ba(a,null,b,"LCR",c);return c};k.hn=function(a,b){var c=this.gd;this.ba(a,null,b,"MCR",c);return c}; -k.gn=function(a,b){var c=this.Gc;this.ba(a,null,b,"LSR",c);return c};k.on=function(a,b){var c=this.bk;this.ba(a,null,b,"MSR",c);return c};k.Oo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLL":"THR");this.Rc&128?this.Pe=this.Pe&-256|b:(this.dk=b,this.Gc&=-97,this.ae?(13!=b&&(8==b?this.ae.value=this.ae.value.slice(0,-1):(this.ae.value+=String.fromCharCode(b),this.ae.scrollTop=this.ae.scrollHeight)),a=!0):a=!1,a&&(this.Gc|=96))}; -k.zo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLM":"IER");this.Rc&128?this.Pe=this.Pe&255|b<<8:this.Og=b};k.Ao=function(a,b,c){this.ba(a,b,c,"LCR");this.Rc=b}; -k.Bo=function(a,b,c){var d=this.gd;this.ba(a,b,c,"MCR");this.gd=b;this.Ek&&(d^b)&3&&(a=this.Ek,b=this.gd,(c=3==(b&3))?a.mc||(d=!1,a.gd&2||(a.reset(),a.Fa("serial mouse reset"),d=!0),a.gd&1||(a.Fa("serial mouse ID requested"),d=!0),d&&(Sj(a.Of,[77]),a.Fa("serial mouse ID sent")),Wj(a,a.Mb),a.mc=c):a.mc&&(a.Fa("serial mouse inactive"),Xj(a.Mb),a.mc=c),a.gd=b)};k.Fa=function(a){this.Z&&L(this.Z,this.Z.Tj)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Tj,e)}; -var Tj={0:X.prototype.tn,1:X.prototype.dn,2:X.prototype.en,3:X.prototype.fn,4:X.prototype.hn,5:X.prototype.gn,6:X.prototype.on},Uj={0:X.prototype.Oo,1:X.prototype.zo,3:X.prototype.Ao,4:X.prototype.Bo};za(function(){for(var a=A(window.document,"pcjs","serial"),b=0;ba.zg||0>a.Ag)a.zg=b.clientX,a.Ag=b.clientY;a.wf=b.clientX-a.zg;a.xf=b.clientY-a.Ag;(a.wf||a.xf)&&Zj(a,null,b.clientX,b.clientY);a.zg=b.clientX;a.Ag=b.clientY}},!1),b.addEventListener("mousedown",function(b){ak(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){ak(a,b.button,!1)},!1),a.ni=!0),b.style.cursor="none")}function Xj(a){a&&(a.style.cursor="auto")} -function ak(a,b,c){if(a.mc&&a.S&&a.S.Ob)switch(b){case 0:a.eh!=c&&(a.eh=c,Zj(a,"mouse button1 "+(c?"dn":"up")));break;case 2:a.fh!=c&&(a.fh=c,Zj(a,"mouse button2 "+(c?"dn":"up")))}}function Zj(a,b,c,d){var e=64|(a.eh?32:0)|(a.fh?16:0)|(a.xf&192)>>4|(a.wf&192)>>6,f=a.wf&63,g=a.xf&63;a.Fa((b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+p(e)+","+p(f)+","+p(g)+"]");Sj(a.Of,[e,f,g]);a.wf=a.xf=0}k.Fa=function(a){this.Z&&L(this.Z,this.Z.km)&&this.Z.message(a)}; -za(function(){for(var a=A(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=ea(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.Ac+":"+this.qc+":"+this.$c+":"+this.Tb,a+="&machine="+this.ia.ef(),a+="&user="+this.ia.ee(),d=qa()+"/api/v1/disk?"+a,this.ti=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): --1!==b.indexOf("/",b.length-1)&&(c="dir"),d=qa()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.cf?"":d)+"&format=json"));pa(d,!0,null,this,this.Tn,b)}; -k.Tn=function(a,b,c,d){var e=null;this.df=!1;var f=0>c&&this.Da&&!this.Da.Nb;if(this.ti)c?this.Ha('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Ad=!0,e=this);else if(c)this.Ha('Unable to load disk "'+this.Kd+'" (error '+c+")",f);else try{if(0g&&0b.indexOf("0x")&&'["'!= +e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=e.getContext("2d"),d=new R(d,e,f);Ma(d,c)}}); +function W(a){this.xk=a.adapter;switch(this.xk){case 1:this.Cj=1016;this.gg=4;break;case 2:this.Cj=760;this.gg=3;break;default:v("Unrecognized serial adapter #"+this.xk);return}this.ae=null;w.call(this,"SerialPort",a,W);var b=a.binding,c;a=Qj;b&&(void 0===c&&(c="Panel"),(c=La(c,this.id))&&(b=c.ta[b])&&this.wb(null,null,a,b))}x(w,W);var Qj="buffer";k=W.prototype;k.Yj=function(a,b){return a==this.lh?(this.Bk=b,this):null}; +k.wb=function(a,b,c,d){var e=this;switch(c){case Qj:return this.ta[c]=this.ae=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),Rj(e,[b]))},d.onkeypress=function(a){a=a||window.event;Rj(e,[a.which||a.keyCode])},!0}return!1};k.pc=function(a,b,c,d){this.na=b;this.S=c;this.Z=d;this.ka=B(a,"ChipSet");d&&Ih(d,W);gb(b,this,Sj,this.Cj);kb(b,this,Tj,this.Cj);this.Sa()}; +k.bc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};k.Yb=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.ge()};k.save=function(){var a=new G(this),b=0,c=[];c[b++]=this.Zh;c[b++]=this.bk;c[b++]=this.Qe;c[b++]=this.Og;c[b++]=this.Xd;c[b++]=this.Rc;c[b++]=this.gd;c[b++]=this.Gc;c[b++]=this.$j;c[b]=this.Df;a.set(0,c);return a.data()};k.restore=function(a){return this.ge(a[0])}; +k.ge=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Zh=a[b++];this.bk=a[b++];this.Qe=a[b++];this.Og=a[b++];this.Xd=a[b++];this.Rc=a[b++];this.gd=a[b++];this.Gc=a[b++];this.$j=a[b++];this.Df=a[b];return!0};function Rj(a,b){a.Df=a.Df.concat(b);Uj(a)}function Uj(a){0>8:this.Og;this.ba(a,null,b,this.Rc&128?"DLM":"IER",c);return c};k.cn=function(a,b){var c=this.Xd;this.ba(a,null,b,"IIR",c);return c};k.dn=function(a,b){var c=this.Rc;this.ba(a,null,b,"LCR",c);return c};k.fn=function(a,b){var c=this.gd;this.ba(a,null,b,"MCR",c);return c}; +k.en=function(a,b){var c=this.Gc;this.ba(a,null,b,"LSR",c);return c};k.mn=function(a,b){var c=this.$j;this.ba(a,null,b,"MSR",c);return c};k.Mo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLL":"THR");this.Rc&128?this.Qe=this.Qe&-256|b:(this.bk=b,this.Gc&=-97,this.ae?(13!=b&&(8==b?this.ae.value=this.ae.value.slice(0,-1):(this.ae.value+=String.fromCharCode(b),this.ae.scrollTop=this.ae.scrollHeight)),a=!0):a=!1,a&&(this.Gc|=96))}; +k.xo=function(a,b,c){this.ba(a,b,c,this.Rc&128?"DLM":"IER");this.Rc&128?this.Qe=this.Qe&255|b<<8:this.Og=b};k.yo=function(a,b,c){this.ba(a,b,c,"LCR");this.Rc=b}; +k.zo=function(a,b,c){var d=this.gd;this.ba(a,b,c,"MCR");this.gd=b;this.Bk&&(d^b)&3&&(a=this.Bk,b=this.gd,(c=3==(b&3))?a.mc||(d=!1,a.gd&2||(a.reset(),a.Fa("serial mouse reset"),d=!0),a.gd&1||(a.Fa("serial mouse ID requested"),d=!0),d&&(Rj(a.Of,[77]),a.Fa("serial mouse ID sent")),Vj(a,a.Mb),a.mc=c):a.mc&&(a.Fa("serial mouse inactive"),Wj(a.Mb),a.mc=c),a.gd=b)};k.Fa=function(a){this.Z&&K(this.Z,this.Z.Sj)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Sj,e)}; +var Sj={0:W.prototype.rn,1:W.prototype.bn,2:W.prototype.cn,3:W.prototype.dn,4:W.prototype.fn,5:W.prototype.en,6:W.prototype.mn},Tj={0:W.prototype.Mo,1:W.prototype.xo,3:W.prototype.yo,4:W.prototype.zo};za(function(){for(var a=A(window.document,"pcjs","serial"),b=0;ba.zg||0>a.Ag)a.zg=b.clientX,a.Ag=b.clientY;a.wf=b.clientX-a.zg;a.xf=b.clientY-a.Ag;(a.wf||a.xf)&&Yj(a,null,b.clientX,b.clientY);a.zg=b.clientX;a.Ag=b.clientY}},!1),b.addEventListener("mousedown",function(b){Zj(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){Zj(a,b.button,!1)},!1),a.mi=!0),b.style.cursor="none")}function Wj(a){a&&(a.style.cursor="auto")} +function Zj(a,b,c){if(a.mc&&a.S&&a.S.Ob)switch(b){case 0:a.dh!=c&&(a.dh=c,Yj(a,"mouse button1 "+(c?"dn":"up")));break;case 2:a.eh!=c&&(a.eh=c,Yj(a,"mouse button2 "+(c?"dn":"up")))}}function Yj(a,b,c,d){var e=64|(a.dh?32:0)|(a.eh?16:0)|(a.xf&192)>>4|(a.wf&192)>>6,f=a.wf&63,g=a.xf&63;a.Fa((b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+p(e)+","+p(f)+","+p(g)+"]");Rj(a.Of,[e,f,g]);a.wf=a.xf=0}k.Fa=function(a){this.Z&&K(this.Z,this.Z.hm)&&this.Z.message(a)}; +za(function(){for(var a=A(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=ea(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.Ac+":"+this.qc+":"+this.$c+":"+this.Tb,a+="&machine="+this.ia.ff(),a+="&user="+this.ia.ee(),d=qa()+"/api/v1/disk?"+a,this.si=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): +-1!==b.indexOf("/",b.length-1)&&(c="dir"),d=qa()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.df?"":d)+"&format=json"));pa(d,!0,null,this,this.Rn,b)}; +k.Rn=function(a,b,c,d){var e=null;this.ef=!1;var f=0>c&&this.Da&&!this.Da.Nb;if(this.si)c?this.Ha('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Ad=!0,e=this);else if(c)this.Ha('Unable to load disk "'+this.Kd+'" (error '+c+")",f);else try{if(0g&&0b.indexOf("0x")&&'["'!= b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(h.length)if(1==h.length)v(h[0]);else{for(b=a=0;b>2,q=m.pattern;void 0===q&&(q=m.pattern=0);var t=m.data;if(void 0===t){var s=m.bytes;if(void 0!==s&&s.length){for(var f=n<<2,u=s.length;ub&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function kk(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} -k.write=function(a,b,c){if(this.df)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.Hc?f=a.Xc+a.Hc&&(a.Hc+=f-(a.Xc+a.Hc)+1):(a.Xc=f,a.Hc=1);d[f]=d[f]&~(255<=this.ib.length||m>=this.ib[h].length||n>=this.ib[h][m].length){c="sector "+h+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.df){c="unable to modify write-protected disk";b=-1;break}e= -g[f++];f=g[f++];g=e+f.length;h=this.ib[h][m][n];for(m=h.data.length;mb&&this.Ha("unable to restore disk '"+this.Kd+": "+c);return b};k.Fa=function(a){this.Z&&L(this.Z,this.Z.hm)&&this.Z.message(a)}; -function lk(a){w.call(this,"FDC",a,lk);this.dmaRead=this.hi;this.dmaWrite=this.ii;this.dmaFormat=this.pm;this.Ke=null;if(a.autoMount&&(this.Ke=a.autoMount,"string"==typeof this.Ke))try{this.Ke=eval("("+a.autoMount+")")}catch(b){v("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.Ke=null}this.vc=[];this.Ed();this.Gf()||this.Sa()}x(w,lk); -var mk={3:{$d:3,Ce:0,name:"SPECIFY"},4:{$d:2,Ce:1,name:"DRIVE_STATUS"},5:{$d:9,Ce:7,name:"WRITE_DATA"},6:{$d:9,Ce:7,name:"READ_DATA"},7:{$d:2,Ce:0,name:"RECALIBRATE"},8:{$d:1,Ce:2,name:"INT_STATUS"},13:{$d:6,Ce:7,name:"FORMAT"},15:{$d:3,Ce:0,name:"SEEK"}};k=lk.prototype; +t;delete m.bytes}dk(m,b,c);for(f=0;fb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function jk(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} +k.write=function(a,b,c){if(this.ef)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.Hc?f=a.Xc+a.Hc&&(a.Hc+=f-(a.Xc+a.Hc)+1):(a.Xc=f,a.Hc=1);d[f]=d[f]&~(255<=this.hb.length||m>=this.hb[h].length||n>=this.hb[h][m].length){c="sector "+h+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.ef){c="unable to modify write-protected disk";b=-1;break}e= +g[f++];f=g[f++];g=e+f.length;h=this.hb[h][m][n];for(m=h.data.length;mb&&this.Ha("unable to restore disk '"+this.Kd+": "+c);return b};k.Fa=function(a){this.Z&&K(this.Z,this.Z.em)&&this.Z.message(a)}; +function kk(a){w.call(this,"FDC",a,kk);this.dmaRead=this.gi;this.dmaWrite=this.hi;this.dmaFormat=this.nm;this.Ke=null;if(a.autoMount&&(this.Ke=a.autoMount,"string"==typeof this.Ke))try{this.Ke=eval("("+a.autoMount+")")}catch(b){v("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.Ke=null}this.vc=[];this.Ed();this.Gf()||this.Sa()}x(w,kk); +var lk={3:{$d:3,Be:0,name:"SPECIFY"},4:{$d:2,Be:1,name:"DRIVE_STATUS"},5:{$d:9,Be:7,name:"WRITE_DATA"},6:{$d:9,Be:7,name:"READ_DATA"},7:{$d:2,Be:0,name:"RECALIBRATE"},8:{$d:1,Be:2,name:"INT_STATUS"},13:{$d:6,Be:7,name:"FORMAT"},15:{$d:3,Be:0,name:"SEEK"}};k=kk.prototype; k.wb=function(a,b,c,d){switch(c){case "listDisks":return this.ta[c]=d,a=window.document.createElement("option"),a.value="?",a.innerHTML="User-defined URL...",d.appendChild(a),d.onchange=function(a,b){return function(){var c=a.ta.descDisk;if(c){var d=b.options[b.selectedIndex];if(d){var m={};if(d=d.getAttribute("data-value"))try{m=eval("({"+d+"})")}catch(n){v("FDC option error: "+(n.message||n))}d=m.desc;void 0===d&&(d="");m=m.href;void 0!==m&&(d=''+d+"");c.innerHTML= -d}}}}(this,d),!0;case "descDisk":case "listDrives":return this.ta[c]=d,d.onchange=function(a,b){return function(){var c=parseInt(b.value,10);isNaN(c)||nk(a,c)}}(this,d),!0;case "loadDrive":return this.ta[c]=d,d.onclick=function(a){return function(){var b,c=a.ta.listDisks,d=a.ta.listDrives;if(c&&d&&!isNaN(b=parseInt(d.value,10))&&0<=b&&ba.va.restore(f)&&(e=!1);e&&a.va&&void 0!==a.Va&&(a.Ra=a.va.seek(a.tb,a.Ma,a.Qa));return e};k.Kj=function(){for(var a=0,b=[],c=0;ca.Ac&&(this.Ha('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.Ab)),b=null);b&&(a.va=b,a.Xl=c,a.Ne=d,uk(this,c,d,b),this.me|=128,this.Ha('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.Ab),a.Fe));a.Fe&&(a.Fe=!1,--this.ye||this.Sa());nk(this,a.Ab)}; -function nk(a,b){if(0<=b&&b=this.Ya&&(this.za&=-81,this.mb=this.Ya=0);return c}; -k.to=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=mk[a].$d){b=!1;this.mb=0;var d;a=this.Oa()&31;switch(a){case 3:this.Oa("SRT");this.Oa("HLT");this.Lb();break;case 4:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];this.Lb();this.rb((d.Za&4278190080)>>>24,"ST3");break;case 5:case 6:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>>2&1;d.tb=this.Oa("C");this.Oa("H");d.Qa=this.Oa("R");b=this.Oa("N"); -d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 7:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.tb=d.Wd=0;d.Za=268435488;this.Lb();b=!0;break;case 8:d=this.ya[this.Ab];d.Ma=0;this.Lb();vk(this,d);this.rb(d.tb,"PCN");break;case 13:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>> -2&1;b=this.Oa("N");d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 15:c=this.Oa("DS"),this.Ab=c&3,d=this.ya[this.Ab],d.Ma=c>>2&1,a=this.Oa("NCN"),d.tb+=a-d.Wd,0>d.tb&&(d.tb=0),d.tb>=d.Ac&&(d.tb=d.Ac-1),d.Wd=a,d.Za=32,0==d.tb&&(d.Za|=268435456),this.Lb(),b=!0}0b?this.tc(a,c):c(-1,!1)};k.ii=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1}; -k.pm=function(a,b){return void 0!==b&&0<=b?this.Mj(a,b):-1};k.ji=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(mi(this.ka,2,this,"dmaRead",a),gi(this.ka,2)))};k.ki=function(a){a.Za=72;a.va&&(a.va.df?a.Za=576:(a.Ra=null,a.Za=0,this.ka&&(mi(this.ka,2,this,"dmaWrite",a),gi(this.ka,2))))};k.ok=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(a.Be=0,a.xc=Array(4),a.Hf=!0,a.Nf=0,mi(this.ka,2,this,"dmaFormat",a),gi(this.ka,2),a.Hf=!1))}; -k.tc=function(a,b){var c=-1;if(!a.Za&&a.va){do{if(a.Ra&&0<=(c=kk(a.Ra,a.Va++)))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=1088;break}a.Va=0;this.Ef(a)}while(1)}b(c,!1)};k.Cc=function(a,b){if(a.Za||!a.va)return-1;do{if(a.Ra&&a.va.write(a.Ra,a.Va++,b))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=8256;b=-1;break}a.Va=0;this.Ef(a)}while(1);return b};k.Ef=function(a){a.Qa++;a.Qa>=a.$c+1&&(a.Qa=1,a.Ma++,a.Ma>=a.qc&&(a.Ma=0,a.tb++))}; -k.Mj=function(a,b){if(a.Za)return-1;a.xc[a.Be++]=b;if(a.Be==a.xc.length){a.tb=a.xc[0];a.Ma=a.xc[1];a.Qa=a.xc[2];a.Wa=128<this.Cc(a,a.ak))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; -k.Di=function(a){var b=this.S.G&255,c=this.S.G>>8,d=this.S.I&255,e=this.S.I>>8,f=this.S.J&255,g=this.S.J>>8;this.Z&&L(this.Z,this.Z.Bg)&&128>f&&(this.Z.message("\nFDC.intBIOS(AH="+p(c)+",D="+p(f)+",C="+p(e)+",H="+p(g)+",S="+p(d)+",N="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Bc(this.S,a,function(a,b){return function(c){b=E(a.S)-b;a.Fa("FDC.intBIOS("+c+"): C="+(Pc(a.S)?1:0)+" (cycles="+b+")")}}(this,E(this.S))));return!0};k.Fa=function(a){this.Z&&L(this.Z,this.Z.Bg)&&this.Z.message(a)}; -k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Bg,e)};var qk={1012:lk.prototype.Zm,1013:lk.prototype.Xm,1015:lk.prototype.Ym},rk={1010:lk.prototype.uo,1013:lk.prototype.to,1015:lk.prototype.so};za(function(){for(var a=A(window.document,"pcjs","fdc"),b=0;b=e&&(this.pf|=(f.type&3)<<(1-e<<1))}return d}; -k.Ij=function(){var a=0,b=[];this.Ee?(b[a++]=this.le,b[a++]=this.Wl,b[a++]=this.Gh,b[a++]=this.Hh,b[a++]=this.Fh,b[a++]=this.Eh,b[a++]=this.qg,b[a++]=this.za,b[a++]=this.Fj):(b[a++]=this.pf,b[a++]=this.za,b[a++]=this.cc,b[a++]=this.mb,b[a++]=this.Ya,b[a++]=this.Vl,b[a++]=this.Ul,b[a++]=this.Tl,b[a++]=this.ff);b[a]=this.Kj();return b}; -k.Bi=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.Ab=a;b.errorCode=d[f++];b.bm=d[f++];b.cf=d[f++];b.Te=d[f++];b.Ue=d[f++];b.Ma=d[f++];b.qc=d[f++];b.Qd=d[f++];b.Qa=d[f++];b.Yd=d[f++];b.Wa=d[f++];b.Tg=this.Ee?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.ee()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===wk[this.Xf][b.type])b.type=this.Cm;c=wk[this.Xf][b.type]; -b.$c=c[2]||17;b.Tb=c[3]||512;if(e&&this.ka&&(e=this.ka,c=b.type,e.pa)){var h=e.pa[18],h=a?h&240|c:h&15|c<<4;e.pa&&(e.pa[18]=h,Vh(e))}void 0===b.va&&(b.va=null,this.Ha("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Bk(this,b);b.Va=d[f++];b.Ra=null;b.va&&(a=d[f],void 0!==a&&0>b.va.restore(a)&&(g=!1),g&&void 0!==b.Va&&(b.Ra=b.va.seek(b.Qd,b.Ma,b.Qa+b.Tg)));return g};k.Kj=function(){for(var a=0,b=[],c=0;c=this.Ya&&(this.mb=this.Ya=0,this.za&=-15);return c}; -k.Qo=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=a&&(this.za|=2,this.za&=-2,Ck(this))};k.An=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);this.mb=this.Na.Tb){var e=this;this.tc(this.Na,function(a){0<=a?e.ka&&Q(e.ka,14):(e.za=1,e.le=16)},!1)}else this.za=80;d||this.ba(a,null,b,"DATA",c);return c}; -k.ho=function(a,b,c){this.Na&&0!=this.Na.Va||this.ba(a,b,c,"DATA");this.Na&&this.Na.Wa>=this.Na.Tb&&(0>this.Cc(this.Na,b)?(this.za=1,this.le=16):this.Na.Va==this.Na.Tb&&(this.Na.Wa-=this.Na.Tb,this.ka&&Q(this.ka,14),this.Na.Wa>=this.Na.Tb||(this.za=80)))};k.Mm=function(a,b){var c=this.le;this.ba(a,null,b,"ERROR",c);return c};k.lo=function(a,b,c){this.ba(a,b,c,"WPREC");this.Wl=b};k.Nm=function(a,b){var c=this.Gh;this.ba(a,null,b,"SECCNT",c);return c}; -k.jo=function(a,b,c){this.ba(a,b,c,"SECCNT");this.Gh=b};k.Om=function(a,b){var c=this.Hh;this.ba(a,null,b,"SECNUM",c);return c};k.ko=function(a,b,c){this.ba(a,b,c,"SECNUM");this.Hh=b};k.Jm=function(a,b){var c=this.Fh;this.ba(a,null,b,"CYLLO",c);return c};k.fo=function(a,b,c){this.ba(a,b,c,"CYLLO");this.Fh=b};k.Im=function(a,b){var c=this.Eh;this.ba(a,null,b,"CYLHI",c);return c};k.eo=function(a,b,c){this.ba(a,b,c,"CYLHI");this.Eh=b};k.Lm=function(a,b){var c=this.qg;this.ba(a,null,b,"DRVHD",c);return c}; -k.io=function(a,b,c){this.ba(a,b,c,"DRVHD");this.qg=b};k.Pm=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);return c};k.co=function(a,b,c){this.ba(a,b,c,"COMMAND");this.Fj=b;this.ka&&ti(this.ka,14);Dk(this)}; -function Dk(a){var b=!1,c=a.Fj,d=a.qg&16?1:0,e=a.qg&15,f=a.Fh|(a.Eh&3)<<8,g=a.Hh,h=a.Gh;a.Na=null;a.le=0;a.za=80;(d=a.ya[d])?(d.Qd=f,d.Ma=e,d.Qa=g,d.Wa=h*d.Tb,c=144<=c?c:c&240,d.Ra=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.tc(d,function(b){0<=b&&a.ka?(Q(a.ka,14),a.za=136):(a.za=1,a.le=16)},!1);break;case 48:a.ka?(Q(a.ka,14),a.za=136):(a.za=1,a.le=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.le=1;b=!0;break;case 145:d.qc=e+1,d.$c=h,b=!0}b&&a.ka&&Q(a.ka,14)} -function Ck(a){a.mb=0;var b=a.Oa(),c=a.Oa(),d=c&32,e=d>>5,f=c&31,g=a.Oa(),h=a.Oa(),m=g<<2&768|h,n=g&63,q=a.Oa(),t=a.Oa(),s=a.ya[e];s&&(s.Qd=m,s.Ma=f,s.Qa=n,s.Wa=q*s.Tb);switch(b){case 3:a.Lb(s?s.errorCode:4);a.rb(c);a.rb(g);a.rb(h);a.rb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Oa());)s&&cb?this.tc(a,c):c(-1,!1)}; -k.ii=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1};k.qm=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Vaa.va.restore(f)&&(e=!1);e&&a.va&&void 0!==a.Va&&(a.Ra=a.va.seek(a.tb,a.Ma,a.Qa));return e};k.Jj=function(){for(var a=0,b=[],c=0;ca.Ac&&(this.Ha('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.Ab)),b=null);b&&(a.va=b,a.Ul=c,a.Ne=d,tk(this,c,d,b),this.me|=128,this.Ha('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.Ab),a.Ee));a.Ee&&(a.Ee=!1,--this.xe||this.Sa());mk(this,a.Ab)}; +function mk(a,b){if(0<=b&&b=this.Ya&&(this.za&=-81,this.mb=this.Ya=0);return c}; +k.ro=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=lk[a].$d){b=!1;this.mb=0;var d;a=this.Oa()&31;switch(a){case 3:this.Oa("SRT");this.Oa("HLT");this.Lb();break;case 4:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];this.Lb();this.rb((d.Za&4278190080)>>>24,"ST3");break;case 5:case 6:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>>2&1;d.tb=this.Oa("C");this.Oa("H");d.Qa=this.Oa("R");b=this.Oa("N"); +d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 7:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.tb=d.Wd=0;d.Za=268435488;this.Lb();b=!0;break;case 8:d=this.ya[this.Ab];d.Ma=0;this.Lb();uk(this,d);this.rb(d.tb,"PCN");break;case 13:c=this.Oa("DS");this.Ab=c&3;d=this.ya[this.Ab];d.Ma=c>> +2&1;b=this.Oa("N");d.Wa=128<>>8,"ST1");this.rb((d.Za&16711680)>>>16,"ST2");this.rb(d.tb,"C");this.rb(d.Ma,"H");this.rb(d.Qa,"R");this.rb(b,"N");b=!0;break;case 15:c=this.Oa("DS"),this.Ab=c&3,d=this.ya[this.Ab],d.Ma=c>>2&1,a=this.Oa("NCN"),d.tb+=a-d.Wd,0>d.tb&&(d.tb=0),d.tb>=d.Ac&&(d.tb=d.Ac-1),d.Wd=a,d.Za=32,0==d.tb&&(d.Za|=268435456),this.Lb(),b=!0}0b?this.tc(a,c):c(-1,!1)};k.hi=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1}; +k.nm=function(a,b){return void 0!==b&&0<=b?this.Lj(a,b):-1};k.ii=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(li(this.ka,2,this,"dmaRead",a),fi(this.ka,2)))};k.ji=function(a){a.Za=72;a.va&&(a.va.ef?a.Za=576:(a.Ra=null,a.Za=0,this.ka&&(li(this.ka,2,this,"dmaWrite",a),fi(this.ka,2))))};k.lk=function(a){a.Za=72;a.va&&(a.Ra=null,a.Za=0,this.ka&&(a.Ae=0,a.xc=Array(4),a.Hf=!0,a.Nf=0,li(this.ka,2,this,"dmaFormat",a),fi(this.ka,2),a.Hf=!1))}; +k.tc=function(a,b){var c=-1;if(!a.Za&&a.va){do{if(a.Ra&&0<=(c=jk(a.Ra,a.Va++)))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=1088;break}a.Va=0;this.Ef(a)}while(1)}b(c,!1)};k.Cc=function(a,b){if(a.Za||!a.va)return-1;do{if(a.Ra&&a.va.write(a.Ra,a.Va++,b))break;a.Ra=a.va.seek(a.tb,a.Ma,a.Qa);if(!a.Ra){a.Za=8256;b=-1;break}a.Va=0;this.Ef(a)}while(1);return b};k.Ef=function(a){a.Qa++;a.Qa>=a.$c+1&&(a.Qa=1,a.Ma++,a.Ma>=a.qc&&(a.Ma=0,a.tb++))}; +k.Lj=function(a,b){if(a.Za)return-1;a.xc[a.Ae++]=b;if(a.Ae==a.xc.length){a.tb=a.xc[0];a.Ma=a.xc[1];a.Qa=a.xc[2];a.Wa=128<this.Cc(a,a.Zj))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; +k.Ci=function(a){var b=this.S.G&255,c=this.S.G>>8,d=this.S.I&255,e=this.S.I>>8,f=this.S.J&255,g=this.S.J>>8;this.Z&&K(this.Z,this.Z.Bg)&&128>f&&(this.Z.message("\nFDC.intBIOS(AH="+p(c)+",D="+p(f)+",C="+p(e)+",H="+p(g)+",S="+p(d)+",N="+p(b)+") at "+ca(a-this.S.ra.La,this.S.ra.oa)),Ac(this.S,a,function(a,b){return function(c){b=D(a.S)-b;a.Fa("FDC.intBIOS("+c+"): C="+(Oc(a.S)?1:0)+" (cycles="+b+")")}}(this,D(this.S))));return!0};k.Fa=function(a){this.Z&&K(this.Z,this.Z.Bg)&&this.Z.message(a)}; +k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Bg,e)};var pk={1012:kk.prototype.Xm,1013:kk.prototype.Vm,1015:kk.prototype.Wm},qk={1010:kk.prototype.so,1013:kk.prototype.ro,1015:kk.prototype.qo};za(function(){for(var a=A(window.document,"pcjs","fdc"),b=0;b=e&&(this.pf|=(f.type&3)<<(1-e<<1))}return d}; +k.Hj=function(){var a=0,b=[];this.De?(b[a++]=this.le,b[a++]=this.Tl,b[a++]=this.Fh,b[a++]=this.Gh,b[a++]=this.Eh,b[a++]=this.Dh,b[a++]=this.qg,b[a++]=this.za,b[a++]=this.Ej):(b[a++]=this.pf,b[a++]=this.za,b[a++]=this.cc,b[a++]=this.mb,b[a++]=this.Ya,b[a++]=this.Sl,b[a++]=this.Rl,b[a++]=this.Ql,b[a++]=this.gf);b[a]=this.Jj();return b}; +k.Ai=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.Ab=a;b.errorCode=d[f++];b.Zl=d[f++];b.df=d[f++];b.Ue=d[f++];b.Ve=d[f++];b.Ma=d[f++];b.qc=d[f++];b.Qd=d[f++];b.Qa=d[f++];b.Yd=d[f++];b.Wa=d[f++];b.Tg=this.De?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.ee()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===vk[this.Xf][b.type])b.type=this.Am;c=vk[this.Xf][b.type]; +b.$c=c[2]||17;b.Tb=c[3]||512;if(e&&this.ka&&(e=this.ka,c=b.type,e.pa)){var h=e.pa[18],h=a?h&240|c:h&15|c<<4;e.pa&&(e.pa[18]=h,Uh(e))}void 0===b.va&&(b.va=null,this.Ha("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Ak(this,b);b.Va=d[f++];b.Ra=null;b.va&&(a=d[f],void 0!==a&&0>b.va.restore(a)&&(g=!1),g&&void 0!==b.Va&&(b.Ra=b.va.seek(b.Qd,b.Ma,b.Qa+b.Tg)));return g};k.Jj=function(){for(var a=0,b=[],c=0;c=this.Ya&&(this.mb=this.Ya=0,this.za&=-15);return c}; +k.Oo=function(a,b,c){this.ba(a,b,c,"DATA["+this.Ya+"]");this.Ya=a&&(this.za|=2,this.za&=-2,Bk(this))};k.yn=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);this.mb=this.Na.Tb){var e=this;this.tc(this.Na,function(a){0<=a?e.ka&&P(e.ka,14):(e.za=1,e.le=16)},!1)}else this.za=80;d||this.ba(a,null,b,"DATA",c);return c}; +k.eo=function(a,b,c){this.Na&&0!=this.Na.Va||this.ba(a,b,c,"DATA");this.Na&&this.Na.Wa>=this.Na.Tb&&(0>this.Cc(this.Na,b)?(this.za=1,this.le=16):this.Na.Va==this.Na.Tb&&(this.Na.Wa-=this.Na.Tb,this.ka&&P(this.ka,14),this.Na.Wa>=this.Na.Tb||(this.za=80)))};k.Km=function(a,b){var c=this.le;this.ba(a,null,b,"ERROR",c);return c};k.jo=function(a,b,c){this.ba(a,b,c,"WPREC");this.Tl=b};k.Lm=function(a,b){var c=this.Fh;this.ba(a,null,b,"SECCNT",c);return c}; +k.ho=function(a,b,c){this.ba(a,b,c,"SECCNT");this.Fh=b};k.Mm=function(a,b){var c=this.Gh;this.ba(a,null,b,"SECNUM",c);return c};k.io=function(a,b,c){this.ba(a,b,c,"SECNUM");this.Gh=b};k.Hm=function(a,b){var c=this.Eh;this.ba(a,null,b,"CYLLO",c);return c};k.co=function(a,b,c){this.ba(a,b,c,"CYLLO");this.Eh=b};k.Gm=function(a,b){var c=this.Dh;this.ba(a,null,b,"CYLHI",c);return c};k.bo=function(a,b,c){this.ba(a,b,c,"CYLHI");this.Dh=b};k.Jm=function(a,b){var c=this.qg;this.ba(a,null,b,"DRVHD",c);return c}; +k.fo=function(a,b,c){this.ba(a,b,c,"DRVHD");this.qg=b};k.Nm=function(a,b){var c=this.za;this.ba(a,null,b,"STATUS",c);return c};k.ao=function(a,b,c){this.ba(a,b,c,"COMMAND");this.Ej=b;this.ka&&si(this.ka,14);Ck(this)}; +function Ck(a){var b=!1,c=a.Ej,d=a.qg&16?1:0,e=a.qg&15,f=a.Eh|(a.Dh&3)<<8,g=a.Gh,h=a.Fh;a.Na=null;a.le=0;a.za=80;(d=a.ya[d])?(d.Qd=f,d.Ma=e,d.Qa=g,d.Wa=h*d.Tb,c=144<=c?c:c&240,d.Ra=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.tc(d,function(b){0<=b&&a.ka?(P(a.ka,14),a.za=136):(a.za=1,a.le=16)},!1);break;case 48:a.ka?(P(a.ka,14),a.za=136):(a.za=1,a.le=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.le=1;b=!0;break;case 145:d.qc=e+1,d.$c=h,b=!0}b&&a.ka&&P(a.ka,14)} +function Bk(a){a.mb=0;var b=a.Oa(),c=a.Oa(),d=c&32,e=d>>5,f=c&31,g=a.Oa(),h=a.Oa(),m=g<<2&768|h,n=g&63,q=a.Oa(),t=a.Oa(),s=a.ya[e];s&&(s.Qd=m,s.Ma=f,s.Qa=n,s.Wa=q*s.Tb);switch(b){case 3:a.Lb(s?s.errorCode:4);a.rb(c);a.rb(g);a.rb(h);a.rb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Oa());)s&&cb?this.tc(a,c):c(-1,!1)}; +k.hi=function(a,b){return void 0!==b&&0<=b?this.Cc(a,b):-1};k.om=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Va=a.$c+b&&(a.Qa=b,a.Ma++,a.Ma>=a.qc&&(a.Ma=0,a.Qd++))}; -k.Mj=function(a,b){if(a.errorCode)return-1;a.xc[a.Be++]=b;if(a.Be==a.xc.length){a.Qd=a.xc[0];a.Ma=a.xc[1];a.Qa=a.xc[2];a.Wa=128<this.Cc(a,a.ak))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; -k.Cn=function(a){var b=this.S.J&255;!(this.S.G>>8)&&128>8)||(a=!this.ka)||(a=!(this.ka.sb[0].wd&64));return a?!0:!1}; -k.Fa=function(a){this.Z&&L(this.Z,this.Z.Oh)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Oh,e)}; -var yk={800:Y.prototype.zn,801:Y.prototype.An,802:Y.prototype.yn},xk={496:Y.prototype.Km,497:Y.prototype.Mm,498:Y.prototype.Nm,499:Y.prototype.Om,500:Y.prototype.Jm,501:Y.prototype.Im,502:Y.prototype.Lm,503:Y.prototype.Pm},Ak={800:Y.prototype.Qo,801:Y.prototype.To,802:Y.prototype.So,803:Y.prototype.Ro,807:Y.prototype.Aj,811:Y.prototype.Aj,815:Y.prototype.Aj},zk={496:Y.prototype.ho,497:Y.prototype.lo,498:Y.prototype.jo,499:Y.prototype.ko,500:Y.prototype.fo,501:Y.prototype.eo,502:Y.prototype.io,503:Y.prototype.co}; -za(function(){for(var a=A(window.document,"pcjs","hdc"),b=0;bthis.Cc(a,a.Zj))return-1;a.Nf++}a.Nf>=a.Yd&&(b=-1);return b}; +k.An=function(a){var b=this.S.J&255;!(this.S.G>>8)&&128>8)||(a=!this.ka)||(a=!(this.ka.sb[0].wd&64));return a?!0:!1}; +k.Fa=function(a){this.Z&&K(this.Z,this.Z.Nh)&&this.Z.message(a)};k.ba=function(a,b,c,d,e){this.Z&&this.Z.ba(this,a,b,c,d,this.Z.Nh,e)}; +var xk={800:X.prototype.xn,801:X.prototype.yn,802:X.prototype.wn},wk={496:X.prototype.Im,497:X.prototype.Km,498:X.prototype.Lm,499:X.prototype.Mm,500:X.prototype.Hm,501:X.prototype.Gm,502:X.prototype.Jm,503:X.prototype.Nm},zk={800:X.prototype.Oo,801:X.prototype.Ro,802:X.prototype.Qo,803:X.prototype.Po,807:X.prototype.zj,811:X.prototype.zj,815:X.prototype.zj},yk={496:X.prototype.eo,497:X.prototype.jo,498:X.prototype.ho,499:X.prototype.io,500:X.prototype.co,501:X.prototype.bo,502:X.prototype.fo,503:X.prototype.ao}; +za(function(){for(var a=A(window.document,"pcjs","hdc"),b=0;b) from STDIN with echo",2:"write character () from STDAUX",4:"write character () from STDIN without echo",9:"write $-terminated string ()",11:"get STDIN status", +[3,1],[2,1],[69],[189],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[36,4228],[115,4145],[116,4145],[114,4145],[83,4145],[74,8289,4097],[74,10339,4097],[131,4097,4193],[131,4097,6243],[17,4148],[88,4148],[88,4102],[88,4145],[74,8289,6755],[74,10339,6755],[131,6755,4193],[131,6755,6243],[111,15],[0],[141,15],[142,15],[71],[23],[200,12417],[201,12420],[19],[177],[21],[179],[20],[178],[202,12417],[203,12420]],Nk={0:[205,12419],1:[206,12419],2:[100,37027,4243],3:[117,37027,4243]}, +Ok=[[[6,12417,4097],[129,12417,4097],[5,12417,4097],[149,12417,4097],[7,12417,4097],[183,12417,4097],[190,12417,4097],[24,4225,4097]],[[6,12420,4100],[129,12420,4100],[5,12420,4100],[149,12420,4100],[7,12420,4100],[183,12420,4100],[190,12420,4100],[24,4228,4100]],[[6,12420,4098],[129,12420,4098],[5,12420,4098],[149,12420,4098],[7,12420,4098],[183,12420,4098],[190,12420,4098],[24,4228,4098]],[[145,45185,4097],[146,45185,4097],[139,45185,4097],[140,45185,4097],[169,45185,4097],[171,45185,4097],Y,[148, +45185,4097]],[[145,45188,4097],[146,45188,4097],[139,45188,4097],[140,45188,4097],[169,45188,4097],[171,45188,4097],Y,[148,45188,4097]],[[145,12417,4113],[146,12417,4113],[139,12417,4113],[140,12417,4113],[169,12417,4113],[171,12417,4113],Y,[148,12417,4113]],[[145,12420,4113],[146,12420,4113],[139,12420,4113],[140,12420,4113],[169,12420,4113],[171,12420,4113],Y,[148,12420,4113]],[[145,12417,4449],[146,12417,4449],[139,12417,4449],[140,12417,4449],[169,12417,4449],[171,12417,4449],Y,[148,12417,4449]], +[[145,12420,4449],[146,12420,4449],[139,12420,4449],[140,12420,4449],[169,12420,4449],[171,12420,4449],Y,[148,12420,4449]],[[184,4225,4097],Y,[128,12417],[126,12417],[125,4225],[73,12417],[32,4225],[72,12417]],[[184,4228,4100],Y,[128,12420],[126,12420],[125,4228],[73,12420],[32,4228],[72,12420]],[[75,12417],[31,12417],Y,Y,Y,Y,Y,Y],[[75,12420],[31,12420],[17,4228],[17,4230],[88,4228],[88,4230],[136,4228],Y],[],[[174,8323],[182,8323],[109,4227],[119,4227],[185,4227],[186,4227],Y,Y],[[168,8323],[173, +8323],[106,4227],[108,4227],[175,8323],Y,[110,4227],Y]],Pk={0:"terminate program",1:"read character (AL>) from STDIN with echo",2:"write character () from STDAUX",4:"write character () from STDIN without echo",9:"write $-terminated string ()",11:"get STDIN status", 12:"flush buffer and read STDIN",13:"disk reset",14:"select default drive ()", 26:"set disk transfer area address (DTACX, mon>DH, day>DL)",43:"set system date (yearCH, min>CL, sec>DH, hundredths>DL)",45:"set system time (hourES:BX)",48:"get DOS version (major>AL, minor>AH)",49:"terminate and stay resident", 50:"get drive parameter block (DPB>DS:BX) for drive () of InDOS flag",53:"get address (ES:BX>) of interrupt vector () for drive ()",78:"find first matching file ()",82:"get system variables (ES:BX>)",83:"translate BPB ()",84:"get verify flag (AL>)",85:"create child PSP at segment () and time (CX>)",88:"get/set (AL=0/1) memory allocation strategy",89:"get extended error information",90:"create temporary file (>8;if(L(this,this.im)){var c=Qk[b],c=c?": "+c.replace(/\((<|>)/g,"("):"";this.message("INT 0x21: AH="+p(b)+" at "+ca(a-this.S.ra.La,this.S.ra.oa)+c)}return!0};k.Bn=function(){this.ca("Type ? for list of debugger commands")};function Hk(a){var b;if(1>c.ob],!1)}a.Sd=["read"];if(void 0!==a.Pc)for(b=1;b>c.ob],!0);a.Pc=["write"]}k.Vd=function(a,b,c){if(!al(this,a,b)){b[2]=Zk(this,b);b[3]=c;a.push(b);if(a!=this.Gb){var d=this.na,e=Zk(this,b);d.Aa[e>>d.ob].Vd(e&d.fb,a==this.Pc)}c||this.ca("breakpoint enabled: "+$(b)+" ("+a[0]+")");Hk(this);return!0}return!1}; -function al(a,b,c,d){var e=!1;c=Zk(a,c);for(var f=1;f>d.ob],b==a.Pc));g[3]||a.ca("breakpoint cleared: "+$(g)+" ("+b[0]+")");Hk(a);break}a.ca("breakpoint exists: "+$(g)+" ("+b[0]+")");break}}return e}function bl(a,b){for(var c=1;c=b&&f>g.ob].Vd(f&g.fb,d==a.Pc)}}}function Wk(a,b){if(void 0!==b)Xk(a,b,a.Gb,!0),a.nc=0;else for(var c=1;c=Jk.length&&(m=a.ub(b,1),g=Pk[h-Jk.length][m>>3&7]);var n=2,h="";if(164<=f&&167>=f||170<=f&&175>=f)n=0;for(f=1;f<=n;f++){var q="",t=g[f];if(void 0!==t){var s=t&15;if(0!=s&&15!=s){var u=t&240;if(128<=u)if(0>m&&(m=a.ub(b,1)),160<=u)q=m>>3&7,176==(t&240)?q+=16:3<=(t&15)&&(q+=8),q=Kk[q];else{if(128<=u){var q=a,z=t,s=b,C="",u=m>>6,C=m&7;3>u?(z=void 0,u||6!=C?(C=Lk[C],1==u?(z= -q.ub(s,1),z&128?(z=z<<24>>24,C+="-"+p(-z)):C+="+"+p(z)):2==u&&(z=q.Ia(s,2),C+="+"+r(z))):(z=q.Ia(s,2),C=r(z)),C="["+C+"]"):C=Kk[C+(1==(z&15)?0:8)];q=C}}else if(16==u)q="1";else if(0==u){q=a;u=t;s=b;z=" ";switch(u&15){case 1:u&12288&&(z=p(q.ub(s,1)));break;case 2:z=r(q.ub(s,1)<<24>>24);break;case 3:case 4:z=r(q.Ia(s,2));break;case 6:u=q.Ia(s,2);q=q.Ia(s,2);z=$([u,q,void 0]);break;default:z="imm("+r(u)+")"}q=z}else 32==u?q="["+r(a.Ia(b,2))+"]":48==u?(1==s?(q=a.ub(b,1),q=q<<24>>24):q=a.Ia(b,2),q=b[0]+ -q&65535,q=dl(a,[q,b[1],void 0])[0]||r(q)):96==u?q=Kk[(t&3840)>>8]:112==u?q=Kk[((t&3840)>>8)+16]:64==u?q="DS:[SI]":80==u&&(q="ES:[DI]");q.length||(q="type("+r(t)+")");0>>4),f[0]=h,f[1]=m,void 0!==n.p&&(f[2]=n.p));break}}}if(f&&f.length)return f;f=b.indexOf(":");0>f?null!=e?c=kl(a,b):d=kl(a,b):(e=kl(a,b.substring(0,f)),c=kl(a,b.substring(f+1)),d=null)}return[c, +87:"get/set (AL=0/1) file date (DX>) and time (CX>)",88:"get/set (AL=0/1) memory allocation strategy",89:"get extended error information",90:"create temporary file (>8;if(K(this,this.fm)){var c=Pk[b],c=c?": "+c.replace(/\((<|>)/g,"("):"";this.message("INT 0x21: AH="+p(b)+" at "+ca(a-this.S.ra.La,this.S.ra.oa)+c)}return!0};k.zn=function(){this.ca("Type ? for list of debugger commands")};function Gk(a){var b;if(1>c.ob],!1)}a.Sd=["read"];if(void 0!==a.Pc)for(b=1;b>c.ob],!0);a.Pc=["write"]}k.Vd=function(a,b,c){if(!Zk(this,a,b)){b[2]=Z(this,b);b[3]=c;a.push(b);if(a!=this.Gb){var d=this.na,e=Z(this,b);d.Aa[e>>d.ob].Vd(e&d.eb,a==this.Pc)}c||this.ca("breakpoint enabled: "+$(b)+" ("+a[0]+")");Gk(this);return!0}return!1}; +function Zk(a,b,c,d){var e=!1;c=Z(a,c);for(var f=1;f>d.ob],b==a.Pc));g[3]||a.ca("breakpoint cleared: "+$(g)+" ("+b[0]+")");Gk(a);break}a.ca("breakpoint exists: "+$(g)+" ("+b[0]+")");break}}return e}function $k(a,b){for(var c=1;c=b&&f>g.ob].Vd(f&g.eb,d==a.Pc)}}}function Vk(a,b){if(void 0!==b)Wk(a,b,a.Gb,!0),a.nc=0;else for(var c=1;c=Ik.length&&(m=a.ub(b,1),g=Ok[h-Ik.length][m>>3&7]);var n=2,h="";if(164<=f&&167>=f||170<=f&&175>=f)n=0;for(f=1;f<=n;f++){var q="",t=g[f];if(void 0!==t){var s=t&15;if(0!=s&&15!=s){var u=t&240;if(128<=u)if(0>m&&(m=a.ub(b,1)),160<=u)q=m>>3&7,176==(t&240)?q+=16:3<=(t&15)&&(q+=8),q=Jk[q];else{if(128<=u){var q=a,z=t,s=b,C="",u=m>>6,C=m&7;3>u?(z=void 0,u||6!=C?(C=Kk[C],1==u?(z= +q.ub(s,1),z&128?(z=z<<24>>24,C+="-"+p(-z)):C+="+"+p(z)):2==u&&(z=q.Ia(s,2),C+="+"+r(z))):(z=q.Ia(s,2),C=r(z)),C="["+C+"]"):C=Jk[C+(1==(z&15)?0:8)];q=C}}else if(16==u)q="1";else if(0==u){q=a;u=t;s=b;z=" ";switch(u&15){case 1:u&12288&&(z=p(q.ub(s,1)));break;case 2:z=r(q.ub(s,1)<<24>>24);break;case 3:case 4:z=r(q.Ia(s,2));break;case 6:u=q.Ia(s,2);q=q.Ia(s,2);z=$([u,q,void 0]);break;default:z="imm("+r(u)+")"}q=z}else 32==u?q="["+r(a.Ia(b,2))+"]":48==u?(1==s?(q=a.ub(b,1),q=q<<24>>24):q=a.Ia(b,2),q=b[0]+ +q&65535,q=bl(a,[q,b[1],void 0])[0]||r(q)):96==u?q=Jk[(t&3840)>>8]:112==u?q=Jk[((t&3840)>>8)+16]:64==u?q="DS:[SI]":80==u&&(q="ES:[DI]");q.length||(q="type("+r(t)+")");0>>4),f[0]=h,f[1]=m,void 0!==n.p&&(f[2]=n.p));break}}}if(f&&f.length)return f;f=b.indexOf(":");0>f?null!=e?c=il(a,b):d=il(a,b):(e=il(a,b.substring(0,f)),c=il(a,b.substring(f+1)),d=null)}return[c, e,d]} -function kl(a,b,c){var d;if(void 0!==b)switch(b=b.toUpperCase(),b){case "AX":d=a.S.G;break;case "BX":d=a.S.B;break;case "CX":d=a.S.I;break;case "DX":d=a.S.J;break;case "SI":d=a.S.F;break;case "DI":d=a.S.D;break;case "BP":d=a.S.H;break;case "SP":d=a.S.X;break;case "CS":d=a.S.ra.oa;break;case "DS":d=a.S.Qb.oa;break;case "ES":d=a.S.cb.oa;break;case "SS":d=a.S.Eb.oa;break;case "IP":d=a.S.sa;break;default:d=ba(b),void 0===d&&a.ca("invalid "+(c?c:"value")+": "+b)}else a.ca("missing "+(c?c:"value"));return d} -function Gi(a,b,c,d){function e(a,b){return a[0]>b[0]?1:a[0]=g&&eb[0]?1:a[0]c?(a.ca("out of data at address "+$(b)),q=!0):(a.bd(b,c,1),n++)})})(a,c);a.ca(n+" bytes read at "+e)}else a.ca("sector "+e+" request out of range");else a.ca("drive "+d+" not loaded");else a.ca("invalid drive: "+d)}else a.ca("disk controller not present")}}} -function Uk(a,b,c){if(b&&"?"==b[1])a.ca("\nregister commands:"),a.ca("\tr\t\tdisplay all registers"),a.ca("\tr [target=#]\tmodify target register"),a.ca("supported targets:"),a.ca("\tall registers and flags V,D,I,S,Z,A,P,C");else{var d=!0,e;if(null!=b&&1b[0]?1:a[0]=g&&eb[0]?1:a[0]c?(a.ca("out of data at address "+$(b)),q=!0):(a.bd(b,c,1),n++)})})(a,c);a.ca(n+" bytes read at "+e)}else a.ca("sector "+e+" request out of range");else a.ca("drive "+d+" not loaded");else a.ca("invalid drive: "+d)}else a.ca("disk controller not present")}}} +function Tk(a,b,c){if(b&&"?"==b[1])a.ca("\nregister commands:"),a.ca("\tr\t\tdisplay all registers"),a.ca("\tr [target=#]\tmodify target register"),a.ca("supported targets:"),a.ca("\tall registers and flags V,D,I,S,Z,A,P,C");else{var d=!0,e;if(null!=b&&1c||"z"c||"z">>4),(d=h[f].l)&&(f=d),a.ca(ca(n,m)+" "+f)));else{for(n in a.gb)if(h==a.gb[n].Xa){a.gb[n].wk(m);break a}f=jl(a,h,2);if(null!=f[0])if("ds"==g)if(c=Yk(a,f[0]),null!=c.oa){f="selector="+r(f[0])+" limit="+r(c.Nc)+" base="+l(c.La);if(c.ab){f+=" access="+r(c.ab);if(c.ab& +a.ca("\tbr [a]\tset read breakpoint at addr [a]"),a.ca("\tbw [a]\tset write breakpoint at addr [a]"),a.ca("\tbc [a]\tclear breakpoint at addr [a]"),a.ca("\tbl\tlist all breakpoints");break;case "c":a.Qf&&(a.Qf.value="");break;case "d":a:{var g=c[0],h=c[1],m=c[2],n;if("?"==h){f="symbols";for(n in a.fb)void 0!==a.fb[n].tk&&(f.length&&(f+=","),f+=a.fb[n].Xa);f+=",state";a.ca("\ndump commands:");a.ca("\tdb [a] [#] dump bytes at address a");a.ca("\tdw [a] [#] dump words at address a");a.ca("\tds [s] dump descriptor for selector s"); +f.length&&a.ca("dumps are also available for: "+f)}else if("state"==h)a.ca(nl(a.Da,!0));else if("symbols"==h)for(c=0;c>>4),(d=h[f].l)&&(f=d),a.ca(ca(n,m)+" "+f)));else{for(n in a.fb)if(h==a.fb[n].Xa){a.fb[n].tk(m);break a}f=hl(a,h,2);if(null!=f[0])if("ds"==g)if(c=Xk(a,f[0]),null!=c.oa){f="selector="+r(f[0])+" limit="+r(c.Nc)+" base="+l(c.La);if(c.ab){f+=" access="+r(c.ab);if(c.ab& 4096)c.ab&2048?(f=f+"code:"+(c.ab&512?"readable,":"execonly,"),f+=c.ab&1024?"conforming,":"nonconforming,"):(f+="data:",f+=c.ab&512?"writeable,":"readonly,",f+=c.ab&1024?"expand down,":"expand up,"),f+=c.ab&256?"accessed":"not accessed";else switch(f+="type:",c.ab&7936){case 256:f+="tss";break;case 512:f+="ldt";break;case 768:f+="tss(busy)";break;case 1024:f+="call";break;case 1280:f+="task";break;case 1536:f+="int";break;case 1792:f+="trap";break;default:f+="unknown"}f+=",dpl"+(c.ab>>13&24576);f+= -c.ab&32768?",present":",not present"}a.ca(f)}else a.ca("invalid selector: "+r(f[0]));else{c=0;void 0!==m&&("l"==m.charAt(0)&&(m=m.substr(1)),c=parseInt(m,10));n="";c||(c=8);for(m=0;mt;t++){var s=a.ub(f,1);"dw"==g?t&1&&(d+=r(q|s<<8)+(7==t?" - ":" ")):d+=p(s)+(7==t?"-":" ");e+=32<=s&&128>s?String.fromCharCode(s):".";q=s}n&&(n+="\n");n+=h+" "+d+" "+e}n&&a.ca(n);a.Vj=f}}}break;case "e":f=c[1];if(void 0===f)a.ca("missing address");else if(f=jl(a,f,2),null!=f[0])for(g= -2;gh.length&&(a.ca("note: only "+h.length+" available"),n=h.length),g-=n,0>g&&(null!=h[h.length- -1][1]?g+=h.length:(n=g+n,g=0)),void 0!==m&&a.ca(n+" instructions earlier:");c&&g!=a.gf;){m=h[g];if(null==m[1])break;m=[m[0],m[1],m[2]];a.ca(cl(a,m,"history",-n));++g==h.length&&(g=0);a.Ml=--n;c--}10==c&&(a.ca("no "+f+"history available"),a.Ml=void 0)}break;case "i":(f=c[1])&&"?"!=f?(f=kl(a,f),void 0!==f&&(c=hb(a.na,f),a.ca(r(f)+": "+p(c)))):(a.ca("\ninput commands:"),a.ca("\ti [p]\tread port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "l":nl(a,c);break;case "m":a:{f= -null;h=c[1];"?"==h&&(h=void 0);if(void 0!==h){n=0;if("all"==h)n=4294967295,h=null;else if("on"==h)f=!0,h=null;else if("off"==h)f=!1,h=null;else{for(g in a.gb)if(h==a.gb[g].Xa){n=a.gb[g].Ua;f=!!(a.gc&n);break}if(!n){a.ca("unknown message category: "+h);break a}}n&&("on"==c[2]?(a.gc|=n,f=!0):"off"==c[2]&&(a.gc&=~n,f=!1))}c=0;n="";for(g in a.gb)if(!h||h==a.gb[g].Xa)if(m=!!(a.gc&a.gb[g].Ua),null===f||f==m)n&&(n+=","),++c%10||(n+="\n\t"),n+=a.gb[g].Xa;void 0===h&&a.ca("\nmessage commands:\n\tm [category] [on|off]\tturn categories on/off"); -a.ca((null!==f?f?"messages on: ":"messages off: ":"message categories:\n\t")+(n||"none"))}break;case "o":f=c[1];c=c[2];f&&"?"!=f?(f=kl(a,f,"port #"),c=kl(a,c),void 0!==f&&void 0!==c&&lb(a.na,f,c)):(a.ca("\noutput commands:"),a.ca("\to [p] [d]\twrite data [d] to port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "p":case "pr":f="pr"==c[0]?1:0;c=1+f;if(a.nc)a.ca("step in progress");else{h=!1;n=[a.S.sa,a.S.ra.oa,void 0];do switch(g=!1,a.ub(n)){case 38:case 46:case 54:case 62:case 240:$k(n, -1);g=!0;break;case 204:case 206:a.nc=c;$k(n,1);break;case 205:case 224:case 225:case 226:a.nc=c;$k(n,2);break;case 232:a.nc=c;$k(n,3);break;case 154:a.nc=c;$k(n,5);break;case 255:a.nc=0<=cl(a,n).indexOf("CALL")?c:0;break;case 243:case 242:$k(n,1);h=g=!0;break;case 164:case 165:case 166:case 167:case 170:case 171:case 172:case 173:case 174:case 175:h&&(a.nc=c,$k(n,1))}while(g);a.nc?(a.Vd(a.Gb,n,!0),a.Me()||(a.S.Md(),a.nc=0)):ol(a,f?"tr":"t")}break;case "r":Uk(a,c);break;case "t":case "tr":ol(a,c[0], -c[1]);break;case "u":Vk(a,c[1],c[2],8);break;case "x":a:if(void 0===c[1]||"?"==c[1])a.ca("\nexecution options:"),a.ca("\tcs int #\tset checksum cycle interval to #"),a.ca("\tcs start #\tset checksum cycle start count to #"),a.ca("\tcs stop #\tset checksum cycle stop count to #"),a.ca("\tsp #\t\tset speed multiplier to #");else switch(c[1]){case "cs":void 0!==c[3]&&(m=parseInt(c[3],10));switch(c[2]){case "int":a.S.kf=m;break;case "start":a.S.bg=m;break;case "stop":a.S.mf=m;break;default:a.ca("unknown cs option"); -break a}void 0!==m&&Ab(a.S);a.ca("checksums "+(a.S.af?"enabled":"disabled"));break;case "sp":void 0!==c[2]&&Gb(a.S,parseInt(c[2],10));a.ca("target speed: "+(a.S.hf.toFixed(2)+"Mhz")+" ("+a.S.Gd+"x)");break;default:a.ca("unknown option: "+c[1])}break;case "?":f="commands:";for(h in Ik)f+="\n"+h+" ".substr(0,7-h.length)+Ik[h];1ul){if(d.load(this.vg)){this.sf=new H(this,"1.15.4","failsafe");this.sf.load()&&(yl(this,d),a=2);this.sf.set("timestamp",na());sl(this.sf);var e=this.Bc&&!this.jh;if(1==a||ra("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.Ha("Error: "+g),"unable to verify user"== -g&&(sa(""),this.Oc=null)):this.ca(f+": "+g),rl(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&xl(this,c?d:null)}else 2==a&&d.clear()}else xl(this);delete this.vg;delete this.Lh}e=Ja(this.id);for(f=0;fa[1];a=a[2];this.Nb=!0;this.qk||(this.ca("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.qk=!0);this.S&&zl(this,this.S,b,c,a);this.tk&&(yl(this,b),b.clear());!c&&this.sf&&(this.sf.clear(),delete this.sf)}; -function yl(a,b){if(ra("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.ee(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;pa("http://www.pcjs.org/api/v1/report",!0,e)}} -function pl(a,b,c){var d,e="none",f=new H(a,"1.15.4"),g=new H(a,"1.15.4","validate"),h=na();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.S&&a.S.Yb&&(c&&a.S.zb(),d=a.S.Yb(b,c),"object"===typeof d&&f.set(a.S.id,d),c&&(a.S.Nb=!1,!1===d&&(e=null)));for(var h=Ja(a.id),m=0;mt;t++){var s=a.ub(f,1);"dw"==g?t&1&&(d+=r(q|s<<8)+(7==t?" - ":" ")):d+=p(s)+(7==t?"-":" ");e+=32<=s&&128>s?String.fromCharCode(s):".";q=s}n&&(n+="\n");n+=h+" "+d+" "+e}n&&a.ca(n);a.Uj=f}}}break;case "e":f=c[1];if(void 0===f)a.ca("missing address");else if(f=hl(a,f,2),null!=f[0])for(g= +2;gh.length&&(a.ca("note: only "+h.length+" available"),n=h.length),g-=n,0>g&&(null!=h[h.length- +1][1]?g+=h.length:(n=g+n,g=0)),void 0!==m&&a.ca(n+" instructions earlier:");c&&g!=a.hf;){m=h[g];if(null==m[1])break;m=[m[0],m[1],m[2]];a.ca(al(a,m,"history",-n));++g==h.length&&(g=0);a.Jl=--n;c--}10==c&&(a.ca("no "+f+"history available"),a.Jl=void 0)}break;case "i":(f=c[1])&&"?"!=f?(f=il(a,f),void 0!==f&&(c=hb(a.na,f),a.ca(r(f)+": "+p(c)))):(a.ca("\ninput commands:"),a.ca("\ti [p]\tread port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "l":ll(a,c);break;case "m":a:{f= +null;h=c[1];"?"==h&&(h=void 0);if(void 0!==h){n=0;if("all"==h)n=4294967295,h=null;else if("on"==h)f=!0,h=null;else if("off"==h)f=!1,h=null;else{for(g in a.fb)if(h==a.fb[g].Xa){n=a.fb[g].Ua;f=!!(a.gc&n);break}if(!n){a.ca("unknown message category: "+h);break a}}n&&("on"==c[2]?(a.gc|=n,f=!0):"off"==c[2]&&(a.gc&=~n,f=!1))}c=0;n="";for(g in a.fb)if(!h||h==a.fb[g].Xa)if(m=!!(a.gc&a.fb[g].Ua),null===f||f==m)n&&(n+=","),++c%10||(n+="\n\t"),n+=a.fb[g].Xa;void 0===h&&a.ca("\nmessage commands:\n\tm [category] [on|off]\tturn categories on/off"); +a.ca((null!==f?f?"messages on: ":"messages off: ":"message categories:\n\t")+(n||"none"))}break;case "o":f=c[1];c=c[2];f&&"?"!=f?(f=il(a,f,"port #"),c=il(a,c),void 0!==f&&void 0!==c&&lb(a.na,f,c)):(a.ca("\noutput commands:"),a.ca("\to [p] [d]\twrite data [d] to port [p]"),a.ca("warning: port accesses can affect hardware state"));break;case "p":case "pr":f="pr"==c[0]?1:0;c=1+f;if(a.nc)a.ca("step in progress");else{h=!1;n=[a.S.sa,a.S.ra.oa,void 0];do switch(g=!1,a.ub(n)){case 38:case 46:case 54:case 62:case 240:Yk(n, +1);g=!0;break;case 204:case 206:a.nc=c;Yk(n,1);break;case 205:case 224:case 225:case 226:a.nc=c;Yk(n,2);break;case 232:a.nc=c;Yk(n,3);break;case 154:a.nc=c;Yk(n,5);break;case 255:a.nc=0<=al(a,n).indexOf("CALL")?c:0;break;case 243:case 242:Yk(n,1);h=g=!0;break;case 164:case 165:case 166:case 167:case 170:case 171:case 172:case 173:case 174:case 175:h&&(a.nc=c,Yk(n,1))}while(g);a.nc?(a.Vd(a.Gb,n,!0),a.Me()||(a.S.Md(),a.nc=0)):ml(a,f?"tr":"t")}break;case "r":Tk(a,c);break;case "t":case "tr":ml(a,c[0], +c[1]);break;case "u":Uk(a,c[1],c[2],8);break;case "x":a:if(void 0===c[1]||"?"==c[1])a.ca("\nexecution options:"),a.ca("\tcs int #\tset checksum cycle interval to #"),a.ca("\tcs start #\tset checksum cycle start count to #"),a.ca("\tcs stop #\tset checksum cycle stop count to #"),a.ca("\tsp #\t\tset speed multiplier to #");else switch(c[1]){case "cs":void 0!==c[3]&&(m=parseInt(c[3],10));switch(c[2]){case "int":a.S.kf=m;break;case "start":a.S.bg=m;break;case "stop":a.S.mf=m;break;default:a.ca("unknown cs option"); +break a}void 0!==m&&zb(a.S);a.ca("checksums "+(a.S.bf?"enabled":"disabled"));break;case "sp":void 0!==c[2]&&Fb(a.S,parseInt(c[2],10));a.ca("target speed: "+(a.S.Fe.toFixed(2)+"Mhz")+" ("+a.S.Gd+"x)");break;default:a.ca("unknown option: "+c[1])}break;case "?":f="commands:";for(h in Hk)f+="\n"+h+" ".substr(0,7-h.length)+Hk[h];1sl){if(d.load(this.vg)){this.sf=new G(this,"1.15.4","failsafe");this.sf.load()&&(wl(this,d),a=2);this.sf.set("timestamp",na());ql(this.sf);var e=this.Bc&&!this.ih;if(1==a||ra("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.Ha("Error: "+g),"unable to verify user"== +g&&(sa(""),this.Oc=null)):this.ca(f+": "+g),pl(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&vl(this,c?d:null)}else 2==a&&d.clear()}else vl(this);delete this.vg;delete this.Kh}e=Ja(this.id);for(f=0;fa[1];a=a[2];this.Nb=!0;this.nk||(this.ca("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.nk=!0);this.S&&xl(this,this.S,b,c,a);this.qk&&(wl(this,b),b.clear());!c&&this.sf&&(this.sf.clear(),delete this.sf)}; +function wl(a,b){if(ra("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.ee(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;pa("http://www.pcjs.org/api/v1/report",!0,e)}} +function nl(a,b,c){var d,e="none",f=new G(a,"1.15.4"),g=new G(a,"1.15.4","validate"),h=na();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.S&&a.S.Yb&&(c&&a.S.zb(),d=a.S.Yb(b,c),"object"===typeof d&&f.set(a.S.id,d),c&&(a.S.Nb=!1,!1===d&&(e=null)));for(var h=Ja(a.id),m=0;m/g;f=g.exec(a);){var h=f[2],m=pa(h),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var h=q[0],t,s=/( [a-z]+=)(['"])(.*?)\2/g;t=s.exec(m);)h=0>h.indexOf(t[1])?h.replace(">",t[0]+">"):h.replace(new RegExp(t[1]+"(['\"])(.*?)\\1"),t[0]);q[0]!=h&&(n=n.replace(q[0],h))}else throw c="missing <"+f[1]+"> in "+h, +k.wb=function(a,b,c,d){var e=this;switch(c){case "save":return this.ta[c]=d,d.onclick=function(){var a=tl(e,!0);if(a){var b=!(!e.Bc||e.Hh),c=nl(e,b);b?yl(e,a,c):e.Ha("Resume disabled, machine state not saved")}},!0;case "reset":return this.ta[c]=d,d.onclick=function(){Eb(e)},!0}return!1}; +function tl(a,b){var c=a.Oc;if(!c){var d;window&&(d=window.localStorage.getItem("user"));c=d;void 0!==c?!c&&b&&(c=null,window&&(c=window.prompt("To save machine states on the pcjs.org server, you need a user ID (email Jeff@pcjs.org).\n\nOnce you have an ID, enter it below.","")),c&&((c=zl(a,c))||a.Ha("Your user ID has not been approved."))):b&&a.Ha("Browser local storage is not available")}return c} +function zl(a,b){a.Oc=null;var c=pa(qa()+"/api/v1/user?req=verify&user="+b),d=c[1];if(!c[0]&&d)try{c=eval("("+d+")"),c.code&&"ok"==c.code&&(sa(c.data),a.Oc=c.data)}catch(e){v(e.message+" ("+d+")")}return a.Oc} +function yl(a,b,c){if(c){var d={req:"store"};d.user=b;d.state=ol(a,"1.15.4");d.data=c;b=pa(qa()+"/api/v1/user",!1,d);d=b[1];if(b[0]){if(d){var e=d.indexOf("\n");0/g;f=g.exec(a);){var h=f[2],m=pa(h),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var h=q[0],t,s=/( [a-z]+=)(['"])(.*?)\2/g;t=s.exec(m);)h=0>h.indexOf(t[1])?h.replace(">",t[0]+">"):h.replace(new RegExp(t[1]+"(['\"])(.*?)\\1"),t[0]);q[0]!=h&&(n=n.replace(q[0],h))}else throw c="missing <"+f[1]+"> in "+h, Error(c);}n=n.replace(/<\?xml[^>]*>[\r\n]*/,"");a=a.replace(f[0],n);g.lastIndex=0}c&&(b&&0>b.indexOf("/")&&(b=window.location.pathname+b),a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(b?" url=$2"+b+"$2":"")));if(0===a.indexOf("<"))window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),f=new window.ActiveXObject("Microsoft.XMLDOM"),f.async=!1,f.loadXML(a)):f=(new window.DOMParser).parseFromString(a,"text/xml");else throw Error("unrecognized XML: "+ (255=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function aa(a){return h(a,2)}function da(a,b){return void 0!==b?h(b,4)+":"+h(a,4):h(a)}function ea(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));b&&(d=c.lastIndexOf("."),0=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function ca(a){return h(a,2)}function da(a,b){return void 0!==b?h(b,4)+":"+h(a,4):h(a)}function ea(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));b&&(d=c.lastIndexOf("."),0":">",'"':""","'":"'"};function ha(a){return a.replace(/[&<>"']/g,function(a){return ga[a]})}function ia(){return Date.now()||+new Date}function ja(){function a(a){return(10>a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())}var ka=[31,28,31,30,31,30,31,31,30,31,30,31]; function p(a,b,c,d,e,f){b=!!b;var l=0,k=null,m=ea(a),n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b&&(n.onreadystatechange=function(){4===n.readyState&&(n.onreadystatechange=void 0,k=n.responseText,200!=n.status&&(l=n.status||-1),d&&e&&e.call(d,m,k,l,f))});if(c){var q="",s;for(s in c)c.hasOwnProperty(s)&&(q&&(q+="&"),q+=s+"="+encodeURIComponent(c[s]));q=q.replace(/%20/g,"+");n.open("POST",a,b);n.setRequestHeader("Content-type","application/x-www-form-urlencoded"); n.send(q)}else n.open("GET",a,b),n.send();a=[];b||(k=n.responseText,200!=n.status&&(l=n.status||-1),d&&e&&e.call(d,m,k,l,f),a=[l,k]);return a}function la(){return"http://"+(window?window.location.host:"www.pcjs.org")}function t(a){window?window.alert(a):console.log(a)}function ma(a){var b=!1;window&&(b=window.confirm(a));return b}function na(a){window&&window.localStorage.setItem("user",a)} -function oa(a){if(window){var b=window?window.navigator.userAgent:"";return"iOS"==a&&b.match(/(iPod|iPhone|iPad)/)&&b.match(/AppleWebKit/)||"MSIE"==a&&b.match(/(MSIE|Trident)/)||0<=b.indexOf(a)?!0:!1}return!1}var pa={init:[],show:[],exit:[]},qa=!0;function ra(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function u(a){pa.init.push(a)}function ta(a){if(qa)for(var b=0;b=this.ff?12:14;this.nc=1<>2;this.$a=this.nc-1;this.Xf=(this.Le+this.nc)/this.nc|0;this.Pd=this.Xf-1;this.Kf=[];this.Lf=[];this.Dh();this.Oa()}y(v,Ja);Ja.prototype.Dh=function(){this.ya=Array(this.Xf);for(var a=0;a>a.Ib;0>this.Ib;0>a.Ib;0>a.Ib].Fi(b&a.$a)}function Pa(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;return c!=a.$a?a.ya[d].yn(c):a.ya[d++].Fi(c)|a.ya[d&a.Pd].Fi(0)<<8} -function Ra(a,b,c){a.ya[(b&a.vb)>>a.Ib].Ni(b&a.$a,c&255)}function Sa(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;d!=a.$a?a.ya[b].Kn(d,c&65535):(a.ya[b++].Ni(d,c&255),a.ya[b&a.Pd].Ni(0,c>>8&255))}function Ta(a){for(var b=0,c=[],d=0;d=this.ff?12:14;this.nc=1<>2;this.$a=this.nc-1;this.Xf=(this.Me+this.nc)/this.nc|0;this.Od=this.Xf-1;this.Kf=[];this.Lf=[];this.Ch();this.Oa()}y(v,Ia);Ia.prototype.Ch=function(){this.ya=Array(this.Xf);for(var a=0;a>a.Ib;0>this.Ib;0>a.Ib;0>a.Ib].Ei(b&a.$a)}function Pa(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;return c!=a.$a?a.ya[d].vn(c):a.ya[d++].Ei(c)|a.ya[d&a.Od].Ei(0)<<8} +function Ra(a,b,c){a.ya[(b&a.vb)>>a.Ib].Mi(b&a.$a,c&255)}function Sa(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;d!=a.$a?a.ya[b].Fn(d,c&65535):(a.ya[b++].Mi(d,c&255),a.ya[b&a.Od].Mi(0,c>>8&255))}function Ta(a){for(var b=0,c=[],d=0;d>2);for(d=0;d>2]>>>((a&3)<<3)&255},zn:function(a){var b=a>>2;a=(a&3)<<3;var c=this.la[b]>>>a;return 24>a?c&65535:c&255|(this.la[b+1]&255)<<8},Hn:function(a,b){var c=a>>2,d=(a&3)<<3;this.la[c]=this.la[c]&~(255<>2,d=(a&3)<<3;24>d?this.la[c]=this.la[c]&~(65535<>8);this.Qa=!0},save:function(){var a,b;if(this.ea)a=null;else if(Ga)for(a=Array(this.ej>>2),b=0;bc&&(c=60);2>c&&(c=2);var d=1;b&&1a.og&&(c=Math.round(c/a.xd));return c}function cb(a){a.Lc=0;a.rg=1;a.ce=a.Ad=a.bd=a.A=0;db(a);ib(a,1)} -function ib(a,b,c){void 0!==b&&(0.8>a.Lc/a.ef&&(b=1),a.xd=b,a.ef=a.og*a.xd,b=a.ef.toFixed(2)+"Mhz",a.oa.setSpeed&&(a.oa.setSpeed.innerHTML=b),a.Tb("target speed: "+b),c&&a.Ce());jb(a,a.Ad);a.Ad=0;a.we=ia();a.$d=0;kb(a)} -function ab(a,b){if(Da(a,!0)){a.rc||(ib(a),a.Fa&&a.Fa.start(a.we,lb(a)),a.rc=!0,a.ga&&mb(a.ga),a.oa.run&&(a.oa.run.innerHTML="Halt"),b&&a.Ce());a.yi>=a.cd&&kb(a,!0);a.nf=0;a.qg=ia();if(a.$d){var c=a.qg-a.$d;c>a.xj&&(a.we+=c,a.we>a.qg&&(a.we=a.qg))}try{do{a.Sk(a.fg?1:Math.round(a.sm/a.rg));var d=a.bd-a.A;a.Ad+=d;a.nf+=d;jb(a,0,!0);var c=a,e=d;if(c.fg){var f=!1;c.tg=c.tg+c.rj()|0;c.xe-=e;0>=c.xe&&(c.xe+=c.hf,f=!0);0<=c.jf&&c.jf<=lb(c)&&(c.hf=c.jf=-1,db(c),gb(c),f=!0);f&&c.Tb(lb(c)+" cycles: checksum="+ -h(c.tg))}a.lf-=d;0>=a.lf&&(a.lf+=a.Bj,a.af());a.kf-=d;0>=a.kf&&(a.kf+=a.Aj,a.$e());a.mf-=d;if(0>=a.mf){a.mf+=a.Kh;break}}while(a.rc)}catch(l){gb(a);a.af();a.$e();a.Fa&&a.Fa.stop(ia(),lb(a));Da(a,!1);Fa(a,l.message);return}d=setTimeout;c=a.zm;a.$d=ia();e=a.xj;a.nf&&(e=Math.round(e*a.nf/a.Kh));e-=a.$d-a.qg;if(f=a.$d-a.we)a.Lc=Math.round(a.Ad/(10*f))/100,864E5<=f&&(a.ce=0,a.ga&&nb(a.ga,!0),ib(a));if(0>e||a.Lc>13;return this.eb=e}if(b&&768>=b)return this.ua=a,this.$c=c,this.kc=d,this.uc=(d&24576)>>13,this.eb=e}return-1} -function yb(a){return this.eb+a}function zb(a){return this.eb+a}function ub(a,b,c){return a+b<=this.$c?this.eb+a:wb.call(this,0,0,c)}function wb(a,b,c){c||Ab.call(this.ja,13,0);return-1}function vb(a,b,c){return a+b<=this.$c?this.eb+a:xb.call(this,0,0,c)}function xb(a,b,c){c||Ab.call(this.ja,13,0);return-1}pb.prototype.save=function(){return[this.ua,this.eb,this.$c,this.kc,this.uc,this.Hg]}; -pb.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.ua=a[0],this.eb=a[1],this.$c=a[2],this.kc=a[3],this.uc=a[4],this.Hg=a[5])};function rb(a,b){void 0===b&&(b=!!(a.ja.ed&1));b?(a.load=tb,a.Jc=ub,a.Ob=vb):(a.load=sb,a.Jc=yb,a.Ob=zb)} -function Bb(a){this.Da=a.model||8088;var b=0;switch(this.Da){default:case 8088:b=4772727;break;case 80286:b=6E6}$a.call(this,a,b);this.Ri=61442;this.If=4;this.ye=255;this.zi=4;this.Z=5;this.na=6;this.ba=7;this.ca=8;this.P=9;this.U=11;this.V=12;this.ae=4;this.Dj=60;this.Ej=83;this.Bb=3;this.bb=9;this.Qb=16;this.xg=1;this.Ij=19;this.Kj=28;this.Mj=16;this.Lj=21;this.Jj=37;this.Gj=2;this.Sh=9;this.Hj=5;this.Fj=33;this.Uh=10;this.Th=8;this.rf=3;this.qf=15;this.$j=51;this.ak=1;this.bk=2;this.ck=4;this.Zj= -32;this.ek=this.Vh=15;this.Cb=16;this.Db=4;this.gk=11;this.fk=18;this.dk=24;this.mb=4;this.hk=2;this.Wh=16;this.ik=17;this.ai=18;this.jk=19;this.$h=5;this.bi=6;this.ok=2;this.nk=8;this.lk=9;this.di=this.ci=this.kk=this.mk=10;this.Oj=80;this.Qj=144;this.Nj=86;this.Pj=154;this.Sj=101;this.Uj=165;this.Rj=107;this.Tj=171;this.qk=70;this.sk=113;this.pk=76;this.rk=124;this.Wj=80;this.Yj=128;this.Vj=86;this.Xj=134;this.tf=3;this.sf=16;this.ii=10;this.hi=8;this.tk=51;this.Rb=8;this.uk=17;this.vk=36;this.$b= -11;this.wk=16;this.uf=10;this.rb=2;this.Ph=18;this.Qh=9-this.rb;this.Rh=17-this.rb;this.Xh=12;this.Yh=9-this.rb;this.Zh=13-this.rb;this.ei=18;this.fi=9-this.rb;this.gi=17-this.rb;this.ji=15;this.ki=9-this.rb;this.li=15-this.rb;this.pi=11;this.qi=9-this.rb;this.ri=10-this.rb;this.xk=8;this.Ak=12;this.yk=18;this.zk=17;this.Bk=15;this.ni=8;this.mi=20;this.oi=2;this.ui=3;this.vf=9;this.ti=5;this.si=11;this.wi=4;this.vi=17;this.Ck=11;this.Ka=Cb.slice();80186<=this.Da&&(this.ye=31,this.Ka[15]=G,this.Ka[96]= -Db,this.Ka[97]=Eb,this.Ka[98]=Fb,this.Ka[99]=G,this.Ka[100]=G,this.Ka[101]=G,this.Ka[102]=G,this.Ka[103]=G,this.Ka[104]=Gb,this.Ka[105]=Hb,this.Ka[106]=Ib,this.Ka[107]=Jb,this.Ka[108]=Kb,this.Ka[109]=Lb,this.Ka[110]=Mb,this.Ka[111]=Nb,this.Ka[192]=Ob,this.Ka[193]=Pb,this.Ka[200]=Qb,this.Ka[200]=Rb,this.Ka[241]=Sb,Tb[7]=Ub,Vb[7]=Ub,80286<=this.Da&&(this.Ri=2,this.If=0,this.Ka[15]=Wb,this.Ka[99]=Xb,this.Ka[84]=Yb,this.P=this.ca=this.ba=this.na=this.Z=this.zi=0,this.V=this.U=1,this.ae=3,this.Dj=14,this.Ej= -16,this.Bb=2,this.Qb=this.bb=7,this.xg=0,this.Ij=7,this.Kj=13,this.Mj=7,this.Lj=11,this.Jj=16,this.Gj=3,this.Sh=6,this.Hj=2,this.Fj=13,this.Th=this.Uh=5,this.rf=2,this.qf=7,this.$j=23,this.ak=0,this.bk=1,this.ck=3,this.Zj=17,this.Vh=7,this.ek=11,this.Cb=7,this.Db=3,this.gk=7,this.fk=11,this.dk=15,this.mb=2,this.hk=3,this.Wh=7,this.jk=this.ai=this.ik=8,this.bi=this.$h=4,this.ok=2,this.nk=3,this.lk=5,this.mk=2,this.kk=3,this.ci=5,this.di=3,this.Oj=14,this.Qj=22,this.Nj=17,this.Pj=25,this.Sj=17,this.Uj= -25,this.Rj=20,this.Tj=28,this.qk=13,this.sk=21,this.pk=16,this.rk=24,this.Wj=13,this.Yj=21,this.Vj=16,this.Xj=24,this.tf=2,this.sf=7,this.hi=this.ii=5,this.tk=19,this.uk=this.Rb=5,this.vk=17,this.$b=3,this.wk=5,this.uf=3,this.rb=0,this.Ph=8,this.Qh=5,this.Rh=9,this.Yh=this.Xh=5,this.Zh=4,this.fi=this.ei=5,this.gi=4,this.ji=7,this.ki=5,this.li=8,this.pi=3,this.qi=4,this.ri=3,this.Ak=this.xk=11,this.zk=this.yk=15,this.Bk=7,this.ni=5,this.mi=8,this.oi=0,this.ui=2,this.vf=6,this.ti=3,this.si=6,this.wi= -3,this.Ck=this.vi=5));this.Xk=[];this.Si=[];this.Zg=0;this.ya=[];this.Le=this.vb=this.Ib=this.$a=this.Pd=0;this.S=this.il;this.T=this.jl;this.N=this.km;this.O=this.lm;this.Q=this.Fn;this.R=this.Gn;Zb(this)}y($a,Bb);g=Bb.prototype;g.Dh=function(a,b,c,d,e){this.ya=a;this.Le=this.vb=b;this.Ib=c;this.$a=d;this.Pd=e};g.reset=function(){this.rc&&gb(this);Zb(this);cb(this);this.Xc=!1}; -function Zb(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ed=65520;a.Sc=0;a.me=1023;a.qc={Ai:0,ua:0,kc:0,ng:-1};a.Ea=new pb(a,"CS");a.bc=new pb(a,"DS");a.Ub=new pb(a,"SS");a.gb=new pb(a,"ES");a.Qk=new pb(a,"ZERO");$b(a,0,65535);80286<=a.Da&&(a.Rc=a.Ke=0,a.Be=new pb(a,"LDT",!0),a.Jg=new pb(a,"TSS",!0),a.sb=new pb(a,"VER",!0),$b(a,65520,61440),a.Ea.eb=16711680);ac(a,0);bc(a);a.Va=0;a.nb=a.Af=-1;a.Tf=0;a.da=a.Ba=-1;a.C=a.bc;a.M=a.Ub;a.Y=a.pa=0} -g.rj=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.qa+this.Ea.ua+this.bc.ua+this.Ub.ua+this.gb.ua+cc(this)|0};function dc(a,b){var c=a.Si[b];null!=c&&(c(--a.Zg),delete a.Si[b])}function bc(a,b){void 0===b&&(b=!!(a.ed&1));ec=b?fc:gc;rb(a.Ea,b);rb(a.bc,b);rb(a.Ub,b);rb(a.gb,b)} -g.save=function(){var a=new H(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.qa,this.Ea.save(),this.bc.save(),this.Ub.save(),this.gb.save(),cc(this),null!=this.Rc?[this.ed,this.Rc,this.Ke,this.Sc,this.me,this.Be.save(),this.Jg.save()]:null]);a.set(2,[this.C.Hg,this.M.Hg,this.Y,this.pa,this.Va,this.da,this.Ba]);a.set(3,[this.rg,this.ce,this.xd]);a.set(4,Ta(this.ma));return a.data()}; -g.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.Ea.restore(b[1]);this.bc.restore(b[2]);this.Ub.restore(b[3]);this.gb.restore(b[4]);ac(this,b[5]);var c=b[6];c&&c.length&&(this.ed=c[0],this.Rc=c[1],this.Ke=c[2],this.Sc=c[3],this.me=c[4],this.Be.restore(c[5]),this.Jg.restore(c[6]),bc(this));I(this,b[0]);b=a[2];this.C=hc(this,b[0]);this.M=hc(this,b[1]);this.Y=b[2];this.pa=b[3];this.Va=b[4];this.da=b[5];this.Ba= -b[6];b=a[3];this.rg=b[0];this.ce=b[1];ib(this,b[2]);a:{b=this.ma;a=a[4];for(c=0;c>1?128:0} -function vc(a){return(a.fa^a.ha^a.fa>>1)&a.$>>1?2048:0}function wc(a){a.W&=~a.$}function xc(a){a.ha=a.fa&16|a.ha&-17}function yc(a){a.W|=a.$-1}function zc(a){a.fa&=~a.$;a.ha=a.fa&32896|a.ha&-32897}function Ac(a){a.W|=a.$}function Bc(a){a.ha=~(a.fa&16)&16|a.ha&-17}function Cc(a){a.W&=~(a.$-1)}function Dc(a){uc(a)||(a.fa^=a.$>>1|a.$>>2,a.ha^=32896)}function Ec(a){a.fa|=a.$;a.ha=a.fa&32896|a.ha&-32897}function cc(a){return a.Ga&-2262|qc(a)|rc(a)|sc(a)|tc(a)|uc(a)|vc(a)} -function ac(a,b){a.$=256;a.W=a.fa=a.ha=0;b&1&&Ac(a);b&4||(a.fa|=1);b&16&&(a.ha|=16);b&64||yc(a);b&128&&Dc(a);b&2048&&Ec(a);a.Ga=a.Ga&-1793|b&1792|a.Ri;a.Ga&256&&(a.Va|=2,a.Y|=4)} -g.tb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.oa[c]=d;e=!0;break;default:e=$a.prototype.tb.call(this,a,b,c,d)}return e};function Fc(a,b){return a.ya[(b&a.vb)>>a.Ib].vc(b&a.$a)} -function F(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;a.A-=a.zi;return c!=a.$a?a.ya[d].xn(c):a.ya[d++].vc(c)|a.ya[d&a.Pd].vc(0)<<8}function Gc(a,b,c){a.ya[(b&a.vb)>>a.Ib].xc(b&a.$a,c&255)}function Hc(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;a.A-=a.zi;d!=a.$a?a.ya[b].Jn(d,c&65535):(a.ya[b++].xc(d,c&255),a.ya[b&a.Pd].xc(0,c>>8&255))}g.il=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Fc(this,this.da)};g.jl=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,1);return this.Y&1?0:F(this,this.da)}; -g.km=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Fc(this,this.da)};g.lm=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,1);return this.Y&1?0:F(this,this.da)};g.Fn=function(a){this.Y&2||Gc(this,this.Ef.Ob(this.wf,1),a)};g.Gn=function(a){this.Y&2||Hc(this,this.Ef.Ob(this.wf,2),a)};g.aa=function(){var a=Fc(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a}; -g.L=function(){var a=Fc(this,this.Ca)<<24>>24;this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a&65535};g.K=function(){var a=F(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+2&65535);return a};g.Aa=function(){var a=this.X;this.X=this.X+2&65535;return F(this,this.Ub.Jc(a,1))};function K(a,b){var c=a.X=a.X-2&65535;Hc(a,a.Ub.Ob(c,1),b)} -g.$e=function(){E(this,"AX",this.G);E(this,"BX",this.B);E(this,"CX",this.I);E(this,"DX",this.J);E(this,"SP",this.X);E(this,"BP",this.H);E(this,"SI",this.F);E(this,"DI",this.D);E(this,"CS",this.Ea.ua);E(this,"DS",this.bc.ua);E(this,"SS",this.Ub.ua);E(this,"ES",this.gb.ua);E(this,"IP",this.qa);var a=cc(this);E(this,"PS",a);E(this,"C",a&1?1:0,1);E(this,"P",a&4?1:0,1);E(this,"A",a&16?1:0,1);E(this,"Z",a&64?1:0,1);E(this,"S",a&128?1:0,1);E(this,"T",a&256?1:0,1);E(this,"I",a&512?1:0,1);E(this,"D",a&1024? -1:0,1);E(this,"O",a&2048?1:0,1);this.oa.speed&&(this.oa.speed.innerHTML=this.rc&&this.Lc?this.Lc.toFixed(2)+"Mhz":"Stopped")}; -g.Sk=function(a){this.oh=!0;this.bd=this.A=a;this.ga&&nb(this.ga);a||!this.Ha||this.Ha.Vn(this.Ha.Pn)||(this.Y|=4);do{if(a=this.Y&240)this.pa|=a;else if(this.Ag=this.Ca,this.da=this.Ba=-1,this.C=this.bc,this.M=this.Ub,this.pa=this.Y&256,this.Va){a:{if(!(this.Y&4))if(this.Va&1&&this.Ga&512){if(a=Ic(this.ga),-1<=a&&(this.Va&=-2,0<=a)){this.Va&=-5;Jc.call(this,a,null,11);break a}}else if(this.Va&2){this.Va&=-3;Jc.call(this,1,null,11);break a}if(a=this.Va&8){a=this.ga;for(var b=!1,c=0;cthis.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&255} -function Mc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&255}function Nc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255}function Oc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255} -function Pc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&255}function Qc(a,b){this.ha=a^b;this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&255}function Rc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&255}function Sc(a,b){this.ha=a^b;this.$=256;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Sh:this.bb;this.Y|=2;return a} -function Tc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&65535}function Uc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&65535}function Vc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535} -function Wc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535}function Xc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&65535}function Yc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&65535} -function Zc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&65535}function $c(a,b){this.ha=a^b;this.$=65536;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Sh:this.bb;this.Y|=2;return a}function ad(a,b){this.W=this.W&this.$-1|(a&b?this.$:0);(a^a>>1)&b>>1?Ec(this):zc(this)}function bd(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;ad.call(this,d,256)}return c} -function cd(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;ad.call(this,d,65536)}return c}function dd(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);ad.call(this,d,256)}return c}function ed(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);ad.call(this,d,65536)}return c}function fd(a,b){var c=a;if(b){var d;(d=(b&this.ye)%9)?(d=a<>9-d,c=d&255):d=a|(this.W&this.$?1:0)<<8;ad.call(this,d,256)}return c} -function gd(a,b){var c=a;if(b){var d;(d=(b&this.ye)%17)?(d=a<>17-d,c=d&65535):d=a|(this.W&this.$?1:0)<<16;ad.call(this,d,65536)}return c}function kd(a,b){var c=a;b&&(c=(b&this.ye)%9,c=a>>c|(this.W&this.$?1:0)<<8-c|a<<9-c,ad.call(this,c,256),c&=255);return c}function ld(a,b){var c=a;b&&(c=(b&this.ye)%17,c=a>>c|(this.W&this.$?1:0)<<16-c|a<<17-c,ad.call(this,c,65536),c&=65535);return c} -function md(a,b){var c=a;b&&(c=8>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255} -function pd(a,b){if(b){var c=16>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535}function qd(a,b){if(b){8>24>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255}function rd(a,b){if(b){16>16>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535} -function sd(){this.A-=0>this.da?2:this.Bk;return 1}function td(){var a=this.I&this.ye;this.A-=(0>this.da?this.ni:this.mi)+(a<this.da?this.ni:this.mi)+(a<this.Ba?this.Rb:this.uk;return b},wd,wd,wd,wd,wd,wd,wd],Ad=[function(a,b){this.A-=0>this.Ba?this.mk:this.kk;return b},M,M,M,M,M,M,M],Bd=[bd,dd,fd,kd,md,od,M,qd],Cd=[cd,ed,gd,ld,nd,pd,M,rd],Ed=[function(a,b){b=this.aa();this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.da?this.ti:this.si;this.Y|=2;return a},M,function(a){this.A-=0>this.da?this.tf:this.sf;return a^255},function(a,b){b=0;this.ha=a^b;this.$=256; -this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&255},function(a){this.G=this.nb=(this.W=(this.G&255)*a)&65535;this.ha=this.fa=this.W;this.$=256;this.G&65280?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.qk:this.pk;this.Y|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.nb=b&65535;this.W=this.ha=this.fa=b;this.$=256;127b?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.Wj:this.Vj;this.Y|=2;return a},function(a){if(!a)return Dd.call(this), -a;var b=this.G/a;if(255this.da?this.Oj:this.Nj;this.Y|=2;return a},function(a){if(!a)return Dd.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Dd.call(this),a;this.nb=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.fa=this.ha=this.W=b|256;this.$=256;this.A-=0>this.da?this.Sj:this.Rj;this.Y|=2;return a}],Fd=[function(a,b){b=this.K();this.W=this.fa=this.ha= -a&b;this.$=65536;this.A-=0>this.da?this.ti:this.si;this.Y|=2;return a},M,function(a){this.A-=0>this.da?this.tf:this.sf;return a^65535},function(a,b){b=0;this.ha=a^b;this.$=65536;this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&65535},function(a){this.nb=this.G=(this.W=this.G*a)&65535;this.Af=this.J=this.W>>16&65535;this.ha=this.fa=this.W;this.$=65536;this.J?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.sk:this.rk;this.Y|=2;return a},function(a){var b=(this.G<<16>>16)* -(a<<16>>16);this.G=this.nb=b&65535;this.J=this.Af=b>>16&65535;this.W=this.ha=this.fa=b;this.$=65536;32767b?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?this.Yj:this.Xj;this.Y|=2;return a},function(a,b){if(!a)return Dd.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return Dd.call(this),a;this.nb=this.G=c&65535;this.Af=this.J=b%a&65535;this.fa=this.ha=this.W=c|65536;this.$=65536;this.A-=0>this.da?this.Qj:this.Pj;this.Y|=2;return a},function(a,b){if(!a)return Dd.call(this), -a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return Dd.call(this),a;this.nb=this.G=d&65535;this.Af=this.J=b%c&65535;this.fa=this.ha=this.W=d|65536;this.$=65536;this.A-=0>this.da?this.Uj:this.Tj;this.Y|=2;return a}],Tb=[function(a){this.ha=a;a=(this.fa=a+1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf; -return a},M,M,M,M,M,M],Vb=[function(a){this.ha=a;a=(this.fa=a+1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){K(this,this.qa);I(this,a);this.A-=0>this.da?this.Mj:this.Lj;this.Y|=2;return a},function(a){if(0>this.da)return M.call(this,a);K(this,this.Ea.ua);K(this,this.qa);$b(this,a,F(this,this.da+2));this.A-= -this.Jj;this.Y|=2;return a},function(a){I(this,a);this.A-=0>this.da?this.gk:this.fk;this.Y|=2;return a},function(a){if(0>this.da)return M.call(this,a);$b(this,a,F(this,this.da+2));this.A-=this.dk;this.Y|=2;return a},function(a){var b=a;this.Y&512&&(a=a-2&65535,80286>this.Da&&(b=a));K(this,b);this.A-=0>this.da?this.$b:this.wk;this.Y|=2;return a},wd],Gd=[bd,dd,fd,kd,md,od,M,qd],Hd=[cd,ed,gd,ld,nd,pd,M,rd];function Id(a,b){this.A-=0>this.Ba?0>this.da?this.ok:this.nk:this.lk;return b} -function Jd(){return Id.call(this,0,this.nb)}function Kd(a,b){this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.Ba?0>this.da?this.ui:this.vf:this.vf;this.Y|=2;return a}function Ld(a,b){this.W=this.fa=this.ha=a&b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.ui:this.vf:this.vf;this.Y|=2;return a}function Md(a,b){var c=(b<<16>>16)*(this.aa()<<24>>24);this.W=this.ha=this.fa=c;this.$=256;32767c?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?21:24;return c&65535} -function Nd(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.W=this.ha=this.fa=c;this.$=65536;32767c?(Ac(this),Ec(this)):(wc(this),zc(this));this.A-=0>this.da?21:24;return c&65535}function Od(a){return a}function Pd(a){if(0>this.da)return N.call(this),a;this.A-=this.hk;return this.da}function Qd(a,b){if(0>this.da)return N.call(this),a;nc(this,F(this,this.da+2));this.A-=this.Wh;return b} -function Rd(a,b){if(0>this.da)return N.call(this),a;pc(this,F(this,this.da+2));this.A-=this.Wh;return b}function Sd(a){if(0>this.da)return G.call(this),a;var b=a<<16>>16,c=F(this,this.da)<<16>>16,d=F(this,this.da+2)<<16>>16;this.A-=this.Fj;if(bd)I(this,this.Ag-this.Ea.eb),Jc.call(this,5,null,0);this.Y|=2;return a}function Td(a,b){this.A-=10+(0>this.da?0:1);if((a&3)<(b&3))return a=a&-4|b&3,Cc(this),a;yc(this);return a} -function Ud(a,b){this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(b,!0)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(b&3))return Cc(this),this.sb.kc&65280;yc(this);return a}function Vd(a,b){this.A-=14+(0>this.da?0:2);if(b&65528&&0<=this.sb.load(b,!0)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3))&&this.sb.uc>=(b&3))return Cc(this),this.sb.$c;yc(this);return a} -function Wd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.wi}else this.Ba=this.da,this.Q(a),this.A-=this.vi;return b} -function Xd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.wi}else this.Ba=this.da,this.R(a),this.A-=this.vi;return b}function Jc(a,b,c){ic(this,a)&&(K(this,cc(this)),this.Ga&=this.qc.ng,K(this,this.Ea.ua),K(this,this.qa),null!=b&&K(this,b),$b(this,this.qc.Ai,this.qc.ua),this.A-=this.$j+c)} -function Dd(){I(this,this.Ag-this.Ea.eb);Jc.call(this,0,null,2)}function Ab(a,b){this.Ha&&this.Ha.message("Fault 0x"+aa(a)+(null!=b?" (0x"+h(b,4)+")":"")+" on opcode 0x"+aa(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));80186<=this.Da&&(I(this,this.Ag-this.Ea.eb),Jc.call(this,a,b,0))}function G(){Ab.call(this,6);gb(this)}function N(){I(this,this.Ag-this.Ea.eb);Fa(this,"Undefined opcode 0x"+aa(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));gb(this)} -function Yd(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function Zd(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function $d(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function ae(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function be(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function ce(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} -function de(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function ee(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function fe(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function ge(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function he(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function ie(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} -function je(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function ke(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function le(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function me(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function ne(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function oe(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} -function pe(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function qe(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function re(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function se(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function te(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function ue(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} -function ve(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function we(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function xe(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function ye(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function ze(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function Ae(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} -function Be(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function Ce(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function De(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function Ee(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function Fe(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function Ge(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} -function He(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function Ie(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function Je(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function Ke(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function Le(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function Me(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} -function Ne(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function Oe(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function Pe(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function Qe(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function Re(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function Se(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} -function Te(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function Ue(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function Ve(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function We(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function Xe(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function Ye(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} -function Ze(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function $e(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function af(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function bf(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function cf(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function df(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} -function ef(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function ff(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function gf(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function hf(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function jf(a){this.G=a.call(this,this.G,this.G)}function kf(a){this.G=a.call(this,this.G,this.I)}function lf(a){this.G=a.call(this,this.G,this.J)}function mf(a){this.G=a.call(this,this.G,this.B)} -function nf(a){this.G=a.call(this,this.G,this.X)}function of(a){this.G=a.call(this,this.G,this.H)}function pf(a){this.G=a.call(this,this.G,this.F)}function qf(a){this.G=a.call(this,this.G,this.D)}function rf(a){this.I=a.call(this,this.I,this.G)}function sf(a){this.I=a.call(this,this.I,this.I)}function tf(a){this.I=a.call(this,this.I,this.J)}function uf(a){this.I=a.call(this,this.I,this.B)}function vf(a){this.I=a.call(this,this.I,this.X)}function wf(a){this.I=a.call(this,this.I,this.H)} -function xf(a){this.I=a.call(this,this.I,this.F)}function yf(a){this.I=a.call(this,this.I,this.D)}function zf(a){this.J=a.call(this,this.J,this.G)}function Af(a){this.J=a.call(this,this.J,this.I)}function Bf(a){this.J=a.call(this,this.J,this.J)}function Cf(a){this.J=a.call(this,this.J,this.B)}function Df(a){this.J=a.call(this,this.J,this.X)}function Ef(a){this.J=a.call(this,this.J,this.H)}function Ff(a){this.J=a.call(this,this.J,this.F)}function Gf(a){this.J=a.call(this,this.J,this.D)} -function Hf(a){this.B=a.call(this,this.B,this.G)}function If(a){this.B=a.call(this,this.B,this.I)}function Jf(a){this.B=a.call(this,this.B,this.J)}function Kf(a){this.B=a.call(this,this.B,this.B)}function Lf(a){this.B=a.call(this,this.B,this.X)}function Mf(a){this.B=a.call(this,this.B,this.H)}function Nf(a){this.B=a.call(this,this.B,this.F)}function Of(a){this.B=a.call(this,this.B,this.D)}function Pf(a){this.X=a.call(this,this.X,this.G)}function Qf(a){this.X=a.call(this,this.X,this.I)} -function Rf(a){this.X=a.call(this,this.X,this.J)}function Sf(a){this.X=a.call(this,this.X,this.B)}function Tf(a){this.X=a.call(this,this.X,this.X)}function Uf(a){this.X=a.call(this,this.X,this.H)}function Vf(a){this.X=a.call(this,this.X,this.F)}function Wf(a){this.X=a.call(this,this.X,this.D)}function Xf(a){this.H=a.call(this,this.H,this.G)}function Yf(a){this.H=a.call(this,this.H,this.I)}function Zf(a){this.H=a.call(this,this.H,this.J)}function $f(a){this.H=a.call(this,this.H,this.B)} -function ag(a){this.H=a.call(this,this.H,this.X)}function bg(a){this.H=a.call(this,this.H,this.H)}function cg(a){this.H=a.call(this,this.H,this.F)}function dg(a){this.H=a.call(this,this.H,this.D)}function eg(a){this.F=a.call(this,this.F,this.G)}function fg(a){this.F=a.call(this,this.F,this.I)}function gg(a){this.F=a.call(this,this.F,this.J)}function hg(a){this.F=a.call(this,this.F,this.B)}function ig(a){this.F=a.call(this,this.F,this.X)}function jg(a){this.F=a.call(this,this.F,this.H)} -function kg(a){this.F=a.call(this,this.F,this.F)}function lg(a){this.F=a.call(this,this.F,this.D)}function mg(a){this.D=a.call(this,this.D,this.G)}function ng(a){this.D=a.call(this,this.D,this.I)}function og(a){this.D=a.call(this,this.D,this.J)}function pg(a){this.D=a.call(this,this.D,this.B)}function qg(a){this.D=a.call(this,this.D,this.X)}function rg(a){this.D=a.call(this,this.D,this.H)}function sg(a){this.D=a.call(this,this.D,this.F)}function tg(a){this.D=a.call(this,this.D,this.D)} -var ug=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.Z},function(a){a= +function Ja(a,b,c,d){this.Xk=b;this.la=null;this.offset=0;this.ij=c;this.ea=null;this.Ua=this.gj=!1;if(b)if(d)this.ea=d,a=[d.Kd,a-d.Ya],this.la=a[0],this.offset=a[1],this.fe(d.Oe);else{this.la=Array(b>>2);for(d=0;d>2]>>>((a&3)<<3)&255},wn:function(a){var b=a>>2;a=(a&3)<<3;var c=this.la[b]>>>a;return 24>a?c&65535:c&255|(this.la[b+1]&255)<<8},Dn:function(a,b){var c=a>>2,d=(a&3)<<3;this.la[c]=this.la[c]&~(255<>2,d=(a&3)<<3;24>d?this.la[c]=this.la[c]&~(65535<>8);this.Ua=!0},save:function(){return this.ea? +null:this.la},restore:function(a){return this.ea?null===a:this.Xk==a.length<<2?(this.la=a,this.Ua=!0):!1},fe:function(a,b){a||(a=[]);void 0===b&&(b=!0);var c=a;this.vc=c[0]?c[0]:this.Bg;this.un=c[1]?c[1]:this.Bg;b&&(this.Ei=c[0]?c[0]:this.Bg,this.vn=c[1]?c[1]:this.Bg);c=a;this.xc=c[2]&&!this.ij?c[2]:this.Mg;this.En=c[3]&&!this.ij?c[3]:this.Mg;b&&(this.Mi=c[2]?c[2]:this.Mg,this.Fn=c[3]?c[3]:this.Mg)}};var Ya=[Ja.prototype.tn,Ja.prototype.wn,Ja.prototype.Dn,Ja.prototype.Gn]; +function Za(a,b){v.call(this,"CPU",a,Za);var c=a.multiplier||1;this.cd=a.cycles||b;this.xd=c;this.ng=Math.round(this.cd/1E4)/100;this.we=this.ng*this.xd;this.rc=this.zb=!1;this.jh=a.autoStart;c=va.autostart;void 0!==c&&(this.jh="true"==c?!0:"false"==c?!1:null);this.eg=!1;this.sg=this.ye=0;this.tg=a.csStart;this.hf=a.csInterval;this.jf=a.csStop;var d=this;this.xm=function(){$a(d)};this.Oa()}y(v,Za);g=Za.prototype; +g.gc=function(a,b,c,d){this.ma=b;this.Ha=d;this.Fa=a;var e=C(a,"Video");e&&(this.bf=function(){ab(e)},this.De=function(){e.De()});this.ga=C(a,"ChipSet");this.Oa()};g.reset=function(){};g.save=function(){return null};g.restore=function(){return!1};g.Sb=function(a,b){if(!b){if(a&&this.restore){bb(this);if(!this.restore(a))return!1;cb(this)}else this.reset();this.Tb("No debugger detected")}this.zb=!0;!db(this)&&this.Ha&&this.Ha.Rn();this.bf();this.af();return!0}; +g.Jb=function(a){this.zb=!1;return a&&this.save?this.save():!0};function db(a){return!0===a.jh||null===a.jh&&void 0===a.oa.run?($a(a),!0):!1}g.De=function(){};g.oj=function(){return 0};function cb(a){void 0===a.tg&&(a.tg=0);void 0===a.hf&&(a.hf=-1);void 0===a.jf&&(a.jf=-1);a.eg=0<=a.tg&&0c&&(c=60);2>c&&(c=2);var d=1;b&&1a.ng&&(c=Math.round(c/a.xd));return c}function bb(a){a.Lc=0;a.qg=1;a.be=a.Ad=a.bd=a.A=0;cb(a);hb(a,1)} +function hb(a,b,c){void 0!==b&&(0.8>a.Lc/a.we&&(b=1),a.xd=b,b=a.ng*a.xd,a.we!=b&&(a.we=b,b=a.we.toFixed(2)+"Mhz",a.oa.setSpeed&&(a.oa.setSpeed.innerHTML=b),a.Tb("target speed: "+b)),c&&a.De());ib(a,a.Ad);a.Ad=0;a.xe=ia();a.Zd=0;jb(a)} +function $a(a,b){if(Da(a,!0)){a.rc||(hb(a),a.Fa&&a.Fa.start(a.xe,kb(a)),a.rc=!0,a.ga&&lb(a.ga),a.oa.run&&(a.oa.run.innerHTML="Halt"),b&&a.De());a.xi>=a.cd&&jb(a,!0);a.nf=0;a.pg=ia();if(a.Zd){var c=a.pg-a.Zd;c>a.uj&&(a.xe+=c,a.xe>a.pg&&(a.xe=a.pg))}try{do{a.Pk(a.eg?1:Math.round(a.qm/a.qg));var d=a.bd-a.A;a.Ad+=d;a.nf+=d;ib(a,0,!0);var c=a,e=d;if(c.eg){var f=!1;c.sg=c.sg+c.oj()|0;c.ye-=e;0>=c.ye&&(c.ye+=c.hf,f=!0);0<=c.jf&&c.jf<=kb(c)&&(c.hf=c.jf=-1,cb(c),fb(c),f=!0);f&&c.Tb(kb(c)+" cycles: checksum="+ +h(c.sg))}a.lf-=d;0>=a.lf&&(a.lf+=a.yj,a.bf());a.kf-=d;0>=a.kf&&(a.kf+=a.xj,a.af());a.mf-=d;if(0>=a.mf){a.mf+=a.Jh;break}}while(a.rc)}catch(l){fb(a);a.bf();a.af();a.Fa&&a.Fa.stop(ia(),kb(a));Da(a,!1);Fa(a,l.message);return}d=setTimeout;c=a.xm;a.Zd=ia();e=a.uj;a.nf&&(e=Math.round(e*a.nf/a.Jh));e-=a.Zd-a.pg;if(f=a.Zd-a.xe)a.Lc=Math.round(a.Ad/(10*f))/100,864E5<=f&&(a.be=0,a.ga&&mb(a.ga,!0),hb(a));if(0>e||a.Lc>13;return this.eb=e}if(b&&768>=b)return this.ua=a,this.$c=c,this.kc=d,this.uc=(d&24576)>>13,this.eb=e}return-1} +function xb(a){return this.eb+a}function yb(a){return this.eb+a}function tb(a,b,c){return a+b<=this.$c?this.eb+a:vb.call(this,0,0,c)}function vb(a,b,c){c||zb.call(this.ja,13,0);return-1}function ub(a,b,c){return a+b<=this.$c?this.eb+a:wb.call(this,0,0,c)}function wb(a,b,c){c||zb.call(this.ja,13,0);return-1}ob.prototype.save=function(){return[this.ua,this.eb,this.$c,this.kc,this.uc,this.Gg]}; +ob.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.ua=a[0],this.eb=a[1],this.$c=a[2],this.kc=a[3],this.uc=a[4],this.Gg=a[5])};function pb(a,b){void 0===b&&(b=!!(a.ja.ed&1));b?(a.load=sb,a.Jc=tb,a.Ob=ub):(a.load=rb,a.Jc=xb,a.Ob=yb)} +function Ab(a){this.Da=a.model||8088;var b=0;switch(this.Da){default:case 8088:b=4772727;break;case 80286:b=6E6}Za.call(this,a,b);this.Qi=61442;this.If=4;this.ze=255;this.yi=4;this.Z=5;this.na=6;this.ba=7;this.ca=8;this.P=9;this.U=11;this.V=12;this.$d=4;this.Aj=60;this.Bj=83;this.Bb=3;this.bb=9;this.Qb=16;this.wg=1;this.Fj=19;this.Hj=28;this.Jj=16;this.Ij=21;this.Gj=37;this.Dj=2;this.Rh=9;this.Ej=5;this.Cj=33;this.Th=10;this.Sh=8;this.rf=3;this.qf=15;this.Xj=51;this.Yj=1;this.Zj=2;this.$j=4;this.Wj= +32;this.bk=this.Uh=15;this.Cb=16;this.Db=4;this.dk=11;this.ck=18;this.ak=24;this.mb=4;this.ek=2;this.Vh=16;this.fk=17;this.$h=18;this.gk=19;this.Zh=5;this.ai=6;this.lk=2;this.kk=8;this.ik=9;this.ci=this.bi=this.hk=this.jk=10;this.Lj=80;this.Nj=144;this.Kj=86;this.Mj=154;this.Pj=101;this.Rj=165;this.Oj=107;this.Qj=171;this.nk=70;this.pk=113;this.mk=76;this.ok=124;this.Tj=80;this.Vj=128;this.Sj=86;this.Uj=134;this.tf=3;this.sf=16;this.hi=10;this.gi=8;this.qk=51;this.Rb=8;this.rk=17;this.sk=36;this.$b= +11;this.tk=16;this.uf=10;this.rb=2;this.Oh=18;this.Ph=9-this.rb;this.Qh=17-this.rb;this.Wh=12;this.Xh=9-this.rb;this.Yh=13-this.rb;this.di=18;this.ei=9-this.rb;this.fi=17-this.rb;this.ii=15;this.ji=9-this.rb;this.ki=15-this.rb;this.oi=11;this.pi=9-this.rb;this.qi=10-this.rb;this.uk=8;this.xk=12;this.vk=18;this.wk=17;this.yk=15;this.mi=8;this.li=20;this.ni=2;this.ti=3;this.vf=9;this.si=5;this.ri=11;this.vi=4;this.ui=17;this.zk=11;this.Ka=Bb.slice();80186<=this.Da&&(this.ze=31,this.Ka[15]=F,this.Ka[96]= +Cb,this.Ka[97]=Db,this.Ka[98]=Eb,this.Ka[99]=F,this.Ka[100]=F,this.Ka[101]=F,this.Ka[102]=F,this.Ka[103]=F,this.Ka[104]=Fb,this.Ka[105]=Gb,this.Ka[106]=Hb,this.Ka[107]=Ib,this.Ka[108]=Jb,this.Ka[109]=Kb,this.Ka[110]=Lb,this.Ka[111]=Mb,this.Ka[192]=Nb,this.Ka[193]=Ob,this.Ka[200]=Pb,this.Ka[200]=Qb,this.Ka[241]=Rb,Sb[7]=Tb,Ub[7]=Tb,80286<=this.Da&&(this.Qi=2,this.If=0,this.Ka[15]=Vb,this.Ka[99]=Wb,this.Ka[84]=Xb,this.P=this.ca=this.ba=this.na=this.Z=this.yi=0,this.V=this.U=1,this.$d=3,this.Aj=14,this.Bj= +16,this.Bb=2,this.Qb=this.bb=7,this.wg=0,this.Fj=7,this.Hj=13,this.Jj=7,this.Ij=11,this.Gj=16,this.Dj=3,this.Rh=6,this.Ej=2,this.Cj=13,this.Sh=this.Th=5,this.rf=2,this.qf=7,this.Xj=23,this.Yj=0,this.Zj=1,this.$j=3,this.Wj=17,this.Uh=7,this.bk=11,this.Cb=7,this.Db=3,this.dk=7,this.ck=11,this.ak=15,this.mb=2,this.ek=3,this.Vh=7,this.gk=this.$h=this.fk=8,this.ai=this.Zh=4,this.lk=2,this.kk=3,this.ik=5,this.jk=2,this.hk=3,this.bi=5,this.ci=3,this.Lj=14,this.Nj=22,this.Kj=17,this.Mj=25,this.Pj=17,this.Rj= +25,this.Oj=20,this.Qj=28,this.nk=13,this.pk=21,this.mk=16,this.ok=24,this.Tj=13,this.Vj=21,this.Sj=16,this.Uj=24,this.tf=2,this.sf=7,this.gi=this.hi=5,this.qk=19,this.rk=this.Rb=5,this.sk=17,this.$b=3,this.tk=5,this.uf=3,this.rb=0,this.Oh=8,this.Ph=5,this.Qh=9,this.Xh=this.Wh=5,this.Yh=4,this.ei=this.di=5,this.fi=4,this.ii=7,this.ji=5,this.ki=8,this.oi=3,this.pi=4,this.qi=3,this.xk=this.uk=11,this.wk=this.vk=15,this.yk=7,this.mi=5,this.li=8,this.ni=0,this.ti=2,this.vf=6,this.si=3,this.ri=6,this.vi= +3,this.zk=this.ui=5));this.Uk=[];this.Ri=[];this.Yg=0;this.ya=[];this.Me=this.vb=this.Ib=this.$a=this.Od=0;this.S=this.gl;this.T=this.hl;this.N=this.im;this.O=this.jm;this.Q=this.Bn;this.R=this.Cn;Yb(this)}y(Za,Ab);g=Ab.prototype;g.Ch=function(a,b,c,d,e){this.ya=a;this.Me=this.vb=b;this.Ib=c;this.$a=d;this.Od=e};g.reset=function(){this.rc&&fb(this);Yb(this);bb(this);this.Xc=!1}; +function Yb(a){a.G=0;a.B=0;a.I=0;a.J=0;a.X=0;a.H=0;a.F=0;a.D=0;a.ed=65520;a.Sc=0;a.me=1023;a.qc={zi:0,ua:0,kc:0,mg:-1};a.Ea=new ob(a,"CS");a.bc=new ob(a,"DS");a.Ub=new ob(a,"SS");a.gb=new ob(a,"ES");a.Nk=new ob(a,"ZERO");Zb(a,0,65535);80286<=a.Da&&(a.Rc=a.Le=0,a.Ce=new ob(a,"LDT",!0),a.Ig=new ob(a,"TSS",!0),a.sb=new ob(a,"VER",!0),Zb(a,65520,61440),a.Ea.eb=16711680);$b(a,0);ac(a);a.Va=0;a.nb=a.Af=-1;a.Tf=0;a.da=a.Ba=-1;a.C=a.bc;a.M=a.Ub;a.Y=a.pa=0} +g.oj=function(){var a=this.G+this.B+this.I+this.J+this.X+this.H+this.F+this.D|0;return a=a+this.qa+this.Ea.ua+this.bc.ua+this.Ub.ua+this.gb.ua+bc(this)|0};function cc(a,b){var c=a.Ri[b];null!=c&&(c(--a.Yg),delete a.Ri[b])}function ac(a,b){void 0===b&&(b=!!(a.ed&1));dc=b?ec:fc;pb(a.Ea,b);pb(a.bc,b);pb(a.Ub,b);pb(a.gb,b)} +g.save=function(){var a=new G(this);a.set(0,[this.G,this.B,this.I,this.J,this.X,this.H,this.F,this.D]);a.set(1,[this.qa,this.Ea.save(),this.bc.save(),this.Ub.save(),this.gb.save(),bc(this),null!=this.Rc?[this.ed,this.Rc,this.Le,this.Sc,this.me,this.Ce.save(),this.Ig.save()]:null]);a.set(2,[this.C.Gg,this.M.Gg,this.Y,this.pa,this.Va,this.da,this.Ba]);a.set(3,[this.qg,this.be,this.xd]);a.set(4,Ta(this.ma));return a.data()}; +g.restore=function(a){var b;b=a[0];this.G=b[0];this.B=b[1];this.I=b[2];this.J=b[3];this.X=b[4];this.H=b[5];this.F=b[6];this.D=b[7];b=a[1];this.Ea.restore(b[1]);this.bc.restore(b[2]);this.Ub.restore(b[3]);this.gb.restore(b[4]);$b(this,b[5]);var c=b[6];c&&c.length&&(this.ed=c[0],this.Rc=c[1],this.Le=c[2],this.Sc=c[3],this.me=c[4],this.Ce.restore(c[5]),this.Ig.restore(c[6]),ac(this));H(this,b[0]);b=a[2];this.C=gc(this,b[0]);this.M=gc(this,b[1]);this.Y=b[2];this.pa=b[3];this.Va=b[4];this.da=b[5];this.Ba= +b[6];b=a[3];this.qg=b[0];this.be=b[1];hb(this,b[2]);a:{b=this.ma;a=a[4];for(c=0;c>1?128:0} +function uc(a){return(a.fa^a.ha^a.fa>>1)&a.$>>1?2048:0}function vc(a){a.W&=~a.$}function wc(a){a.ha=a.fa&16|a.ha&-17}function xc(a){a.W|=a.$-1}function yc(a){a.fa&=~a.$;a.ha=a.fa&32896|a.ha&-32897}function zc(a){a.W|=a.$}function Ac(a){a.ha=~(a.fa&16)&16|a.ha&-17}function Bc(a){a.W&=~(a.$-1)}function Cc(a){tc(a)||(a.fa^=a.$>>1|a.$>>2,a.ha^=32896)}function Dc(a){a.fa|=a.$;a.ha=a.fa&32896|a.ha&-32897}function bc(a){return a.Ga&-2262|pc(a)|qc(a)|rc(a)|sc(a)|tc(a)|uc(a)} +function $b(a,b){a.$=256;a.W=a.fa=a.ha=0;b&1&&zc(a);b&4||(a.fa|=1);b&16&&(a.ha|=16);b&64||xc(a);b&128&&Cc(a);b&2048&&Dc(a);a.Ga=a.Ga&-1793|b&1792|a.Qi;a.Ga&256&&(a.Va|=2,a.Y|=4)} +g.tb=function(a,b,c,d){var e=!1;switch(c){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "O":this.oa[c]=d;e=!0;break;default:e=Za.prototype.tb.call(this,a,b,c,d)}return e};function Ec(a,b){return a.ya[(b&a.vb)>>a.Ib].vc(b&a.$a)} +function E(a,b){var c=b&a.$a,d=(b&a.vb)>>a.Ib;a.A-=a.yi;return c!=a.$a?a.ya[d].un(c):a.ya[d++].vc(c)|a.ya[d&a.Od].vc(0)<<8}function Fc(a,b,c){a.ya[(b&a.vb)>>a.Ib].xc(b&a.$a,c&255)}function Gc(a,b,c){var d=b&a.$a;b=(b&a.vb)>>a.Ib;a.A-=a.yi;d!=a.$a?a.ya[b].En(d,c&65535):(a.ya[b++].xc(d,c&255),a.ya[b&a.Od].xc(0,c>>8&255))}g.gl=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Ec(this,this.da)};g.hl=function(a,b){this.Ef=a;this.da=a.Jc(this.wf=b,1);return this.Y&1?0:E(this,this.da)}; +g.im=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,0);return this.Y&1?0:Ec(this,this.da)};g.jm=function(a,b){this.Ef=a;this.Ba=this.da=a.Jc(this.wf=b,1);return this.Y&1?0:E(this,this.da)};g.Bn=function(a){this.Y&2||Fc(this,this.Ef.Ob(this.wf,1),a)};g.Cn=function(a){this.Y&2||Gc(this,this.Ef.Ob(this.wf,2),a)};g.aa=function(){var a=Ec(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a}; +g.L=function(){var a=Ec(this,this.Ca)<<24>>24;this.Ca=this.Ea.eb+(this.qa=this.qa+1&65535);return a&65535};g.K=function(){var a=E(this,this.Ca);this.Ca=this.Ea.eb+(this.qa=this.qa+2&65535);return a};g.Aa=function(){var a=this.X;this.X=this.X+2&65535;return E(this,this.Ub.Jc(a,1))};function J(a,b){var c=a.X=a.X-2&65535;Gc(a,a.Ub.Ob(c,1),b)} +g.af=function(){D(this,"AX",this.G);D(this,"BX",this.B);D(this,"CX",this.I);D(this,"DX",this.J);D(this,"SP",this.X);D(this,"BP",this.H);D(this,"SI",this.F);D(this,"DI",this.D);D(this,"CS",this.Ea.ua);D(this,"DS",this.bc.ua);D(this,"SS",this.Ub.ua);D(this,"ES",this.gb.ua);D(this,"IP",this.qa);var a=bc(this);D(this,"PS",a);D(this,"C",a&1?1:0,1);D(this,"P",a&4?1:0,1);D(this,"A",a&16?1:0,1);D(this,"Z",a&64?1:0,1);D(this,"S",a&128?1:0,1);D(this,"T",a&256?1:0,1);D(this,"I",a&512?1:0,1);D(this,"D",a&1024? +1:0,1);D(this,"O",a&2048?1:0,1);this.oa.speed&&(this.oa.speed.innerHTML=this.rc&&this.Lc?this.Lc.toFixed(2)+"Mhz":"Stopped")}; +g.Pk=function(a){this.nh=!0;this.bd=this.A=a;this.ga&&mb(this.ga);a||!this.Ha||this.Ha.Pn(this.Ha.Jn)||(this.Y|=4);do{if(a=this.Y&240)this.pa|=a;else if(this.zg=this.Ca,this.da=this.Ba=-1,this.C=this.bc,this.M=this.Ub,this.pa=this.Y&256,this.Va){a:{if(!(this.Y&4))if(this.Va&1&&this.Ga&512){if(a=Hc(this.ga),-1<=a&&(this.Va&=-2,0<=a)){this.Va&=-5;Ic.call(this,a,null,11);break a}}else if(this.Va&2){this.Va&=-3;Ic.call(this,1,null,11);break a}if(a=this.Va&8){a=this.ga;for(var b=!1,c=0;cthis.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&255} +function Lc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&255}function Mc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255}function Nc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&255} +function Oc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&255}function Pc(a,b){this.ha=a^b;this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&255}function Qc(a,b){this.$=256;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&255}function Rc(a,b){this.ha=a^b;this.$=256;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Rh:this.bb;this.Y|=2;return a} +function Sc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a+b)&65535}function Tc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a|b)&65535}function Uc(a,b){this.ha=a^b;this.W=this.fa=a+b+(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535} +function Vc(a,b){this.ha=a^b;this.W=this.fa=a-b-(this.W&this.$?1:0);this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return this.W&65535}function Wc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a&b)&65535}function Xc(a,b){this.ha=a^b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=a-b)&65535} +function Yc(a,b){this.$=65536;this.A-=0>this.Ba?0>this.da?this.Bb:this.bb:this.Qb;return(this.W=this.fa=this.ha=a^b)&65535}function Zc(a,b){this.ha=a^b;this.$=65536;this.W=this.fa=a-b;this.A-=0>this.Ba?0>this.da?this.Bb:this.Rh:this.bb;this.Y|=2;return a}function $c(a,b){this.W=this.W&this.$-1|(a&b?this.$:0);(a^a>>1)&b>>1?Dc(this):yc(this)}function ad(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<>8-e)&255:d=a<<8;$c.call(this,d,256)}return c} +function bd(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<>16-e)&65535:d=a<<16;$c.call(this,d,65536)}return c}function cd(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);$c.call(this,d,256)}return c}function dd(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);$c.call(this,d,65536)}return c}function ed(a,b){var c=a;if(b){var d;(d=(b&this.ze)%9)?(d=a<>9-d,c=d&255):d=a|(this.W&this.$?1:0)<<8;$c.call(this,d,256)}return c} +function fd(a,b){var c=a;if(b){var d;(d=(b&this.ze)%17)?(d=a<>17-d,c=d&65535):d=a|(this.W&this.$?1:0)<<16;$c.call(this,d,65536)}return c}function jd(a,b){var c=a;b&&(c=(b&this.ze)%9,c=a>>c|(this.W&this.$?1:0)<<8-c|a<<9-c,$c.call(this,c,256),c&=255);return c}function kd(a,b){var c=a;b&&(c=(b&this.ze)%17,c=a>>c|(this.W&this.$?1:0)<<16-c|a<<17-c,$c.call(this,c,65536),c&=65535);return c} +function ld(a,b){var c=a;b&&(c=8>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255} +function od(a,b){if(b){var c=16>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535}function pd(a,b){if(b){8>24>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|256:this.W&-257;this.ha=a^this.W;this.$=256;a=this.W}return a&255}function qd(a,b){if(b){16>16>>b-1;this.W=this.fa=c>>1;this.W=c&1?this.W|65536:this.W&-65537;this.ha=a^this.W;this.$=65536;a=this.W}return a&65535} +function rd(){this.A-=0>this.da?2:this.yk;return 1}function sd(){var a=this.I&this.ze;this.A-=(0>this.da?this.mi:this.li)+(a<this.da?this.mi:this.li)+(a<this.Ba?this.Rb:this.rk;return b},vd,vd,vd,vd,vd,vd,vd],zd=[function(a,b){this.A-=0>this.Ba?this.jk:this.hk;return b},K,K,K,K,K,K,K],Ad=[ad,cd,ed,jd,ld,nd,K,pd],Bd=[bd,dd,fd,kd,md,od,K,qd],Dd=[function(a,b){b=this.aa();this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.da?this.si:this.ri;this.Y|=2;return a},K,function(a){this.A-=0>this.da?this.tf:this.sf;return a^255},function(a,b){b=0;this.ha=a^b;this.$=256; +this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&255},function(a){this.G=this.nb=(this.W=(this.G&255)*a)&65535;this.ha=this.fa=this.W;this.$=256;this.G&65280?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.nk:this.mk;this.Y|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24);this.G=this.nb=b&65535;this.W=this.ha=this.fa=b;this.$=256;127b?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.Tj:this.Sj;this.Y|=2;return a},function(a){if(!a)return Cd.call(this), +a;var b=this.G/a;if(255this.da?this.Lj:this.Kj;this.Y|=2;return a},function(a){if(!a)return Cd.call(this),a;var b=(this.G<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Cd.call(this),a;this.nb=this.G=b&255|((this.G<<16>>16)%(a<<24>>24)&255)<<8;this.fa=this.ha=this.W=b|256;this.$=256;this.A-=0>this.da?this.Pj:this.Oj;this.Y|=2;return a}],Ed=[function(a,b){b=this.K();this.W=this.fa=this.ha= +a&b;this.$=65536;this.A-=0>this.da?this.si:this.ri;this.Y|=2;return a},K,function(a){this.A-=0>this.da?this.tf:this.sf;return a^65535},function(a,b){b=0;this.ha=a^b;this.$=65536;this.A-=0>this.da?this.tf:this.sf;return(this.W=this.fa=b-a)&65535},function(a){this.nb=this.G=(this.W=this.G*a)&65535;this.Af=this.J=this.W>>16&65535;this.ha=this.fa=this.W;this.$=65536;this.J?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.pk:this.ok;this.Y|=2;return a},function(a){var b=(this.G<<16>>16)* +(a<<16>>16);this.G=this.nb=b&65535;this.J=this.Af=b>>16&65535;this.W=this.ha=this.fa=b;this.$=65536;32767b?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?this.Vj:this.Uj;this.Y|=2;return a},function(a,b){if(!a)return Cd.call(this),a;b=this.G+65536*this.J;var c=Math.floor(b/a);if(65536<=c)return Cd.call(this),a;this.nb=this.G=c&65535;this.Af=this.J=b%a&65535;this.fa=this.ha=this.W=c|65536;this.$=65536;this.A-=0>this.da?this.Nj:this.Mj;this.Y|=2;return a},function(a,b){if(!a)return Cd.call(this), +a;var c=a<<16>>16;b=this.J<<16|this.G;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return Cd.call(this),a;this.nb=this.G=d&65535;this.Af=this.J=b%c&65535;this.fa=this.ha=this.W=d|65536;this.$=65536;this.A-=0>this.da?this.Rj:this.Qj;this.Y|=2;return a}],Sb=[function(a){this.ha=a;a=(this.fa=a+1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&255;this.W=a|(this.W&this.$?1:0)<<8;this.$=256;this.A-=0>this.da?this.rf:this.qf; +return a},K,K,K,K,K,K],Ub=[function(a){this.ha=a;a=(this.fa=a+1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){this.ha=a;a=(this.fa=a-1)&65535;this.W=a|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=0>this.da?this.rf:this.qf;return a},function(a){J(this,this.qa);H(this,a);this.A-=0>this.da?this.Jj:this.Ij;this.Y|=2;return a},function(a){if(0>this.da)return K.call(this,a);J(this,this.Ea.ua);J(this,this.qa);Zb(this,a,E(this,this.da+2));this.A-= +this.Gj;this.Y|=2;return a},function(a){H(this,a);this.A-=0>this.da?this.dk:this.ck;this.Y|=2;return a},function(a){if(0>this.da)return K.call(this,a);Zb(this,a,E(this,this.da+2));this.A-=this.ak;this.Y|=2;return a},function(a){var b=a;this.Y&512&&(a=a-2&65535,80286>this.Da&&(b=a));J(this,b);this.A-=0>this.da?this.$b:this.tk;this.Y|=2;return a},vd],Fd=[ad,cd,ed,jd,ld,nd,K,pd],Gd=[bd,dd,fd,kd,md,od,K,qd];function Hd(a,b){this.A-=0>this.Ba?0>this.da?this.lk:this.kk:this.ik;return b} +function Id(){return Hd.call(this,0,this.nb)}function Jd(a,b){this.W=this.fa=this.ha=a&b;this.$=256;this.A-=0>this.Ba?0>this.da?this.ti:this.vf:this.vf;this.Y|=2;return a}function Kd(a,b){this.W=this.fa=this.ha=a&b;this.$=65536;this.A-=0>this.Ba?0>this.da?this.ti:this.vf:this.vf;this.Y|=2;return a}function Ld(a,b){var c=(b<<16>>16)*(this.aa()<<24>>24);this.W=this.ha=this.fa=c;this.$=256;32767c?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?21:24;return c&65535} +function Md(a,b){var c=(b<<16>>16)*(this.K()<<16>>16);this.W=this.ha=this.fa=c;this.$=65536;32767c?(zc(this),Dc(this)):(vc(this),yc(this));this.A-=0>this.da?21:24;return c&65535}function Nd(a){return a}function Od(a){if(0>this.da)return M.call(this),a;this.A-=this.ek;return this.da}function Pd(a,b){if(0>this.da)return M.call(this),a;mc(this,E(this,this.da+2));this.A-=this.Vh;return b} +function Qd(a,b){if(0>this.da)return M.call(this),a;oc(this,E(this,this.da+2));this.A-=this.Vh;return b}function Rd(a){if(0>this.da)return F.call(this),a;var b=a<<16>>16,c=E(this,this.da)<<16>>16,d=E(this,this.da+2)<<16>>16;this.A-=this.Cj;if(bd)H(this,this.zg-this.Ea.eb),Ic.call(this,5,null,0);this.Y|=2;return a}function Sd(a,b){this.A-=10+(0>this.da?0:1);if((a&3)<(b&3))return a=a&-4|b&3,Bc(this),a;xc(this);return a} +function Td(a,b){this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(b,!0)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(b&3))return Bc(this),this.sb.kc&65280;xc(this);return a}function Ud(a,b){this.A-=14+(0>this.da?0:2);if(b&65528&&0<=this.sb.load(b,!0)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3))&&this.sb.uc>=(b&3))return Bc(this),this.sb.$c;xc(this);return a} +function Vd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.J=this.J&-256|a;break;case 3:this.B=this.B&-256|a;break;case 4:this.G=this.G&255|a<<8;break;case 5:this.I=this.I&255|a<<8;break;case 6:this.J=this.J&255|a<<8;break;case 7:this.B=this.B&255|a<<8}this.A-=this.vi}else this.Ba=this.da,this.Q(a),this.A-=this.ui;return b} +function Wd(a,b){if(0>this.da){switch(this.Tf&7){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.J=a;break;case 3:this.B=a;break;case 4:this.X=a;break;case 5:this.H=a;break;case 6:this.F=a;break;case 7:this.D=a}this.A-=this.vi}else this.Ba=this.da,this.R(a),this.A-=this.ui;return b}function Ic(a,b,c){hc(this,a)&&(J(this,bc(this)),this.Ga&=this.qc.mg,J(this,this.Ea.ua),J(this,this.qa),null!=b&&J(this,b),Zb(this,this.qc.zi,this.qc.ua),this.A-=this.Xj+c)} +function Cd(){H(this,this.zg-this.Ea.eb);Ic.call(this,0,null,2)}function zb(a,b){this.Ha&&this.Ha.message("Fault 0x"+ca(a)+(null!=b?" (0x"+h(b,4)+")":"")+" on opcode 0x"+ca(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));80186<=this.Da&&(H(this,this.zg-this.Ea.eb),Ic.call(this,a,b,0))}function F(){zb.call(this,6);fb(this)}function M(){H(this,this.zg-this.Ea.eb);Fa(this,"Undefined opcode 0x"+ca(Oa(this.ma,this.Ca))+" at "+da(this.qa,this.Ea.ua));fb(this)} +function Xd(a){a=a.call(this,this.G&255,this.G&255);this.G=this.G&-256|a}function Yd(a){a=a.call(this,this.G&255,this.I&255);this.G=this.G&-256|a}function Zd(a){a=a.call(this,this.G&255,this.J&255);this.G=this.G&-256|a}function $d(a){a=a.call(this,this.G&255,this.B&255);this.G=this.G&-256|a}function ae(a){a=a.call(this,this.G&255,this.G>>8);this.G=this.G&-256|a}function be(a){a=a.call(this,this.G&255,this.I>>8);this.G=this.G&-256|a} +function ce(a){a=a.call(this,this.G&255,this.J>>8);this.G=this.G&-256|a}function de(a){a=a.call(this,this.G&255,this.B>>8);this.G=this.G&-256|a}function ee(a){a=a.call(this,this.I&255,this.G&255);this.I=this.I&-256|a}function fe(a){a=a.call(this,this.I&255,this.I&255);this.I=this.I&-256|a}function ge(a){a=a.call(this,this.I&255,this.J&255);this.I=this.I&-256|a}function he(a){a=a.call(this,this.I&255,this.B&255);this.I=this.I&-256|a} +function ie(a){a=a.call(this,this.I&255,this.G>>8);this.I=this.I&-256|a}function je(a){a=a.call(this,this.I&255,this.I>>8);this.I=this.I&-256|a}function ke(a){a=a.call(this,this.I&255,this.J>>8);this.I=this.I&-256|a}function le(a){a=a.call(this,this.I&255,this.B>>8);this.I=this.I&-256|a}function me(a){a=a.call(this,this.J&255,this.G&255);this.J=this.J&-256|a}function ne(a){a=a.call(this,this.J&255,this.I&255);this.J=this.J&-256|a} +function oe(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function pe(a){a=a.call(this,this.J&255,this.B&255);this.J=this.J&-256|a}function qe(a){a=a.call(this,this.J&255,this.G>>8);this.J=this.J&-256|a}function re(a){a=a.call(this,this.J&255,this.I>>8);this.J=this.J&-256|a}function se(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function te(a){a=a.call(this,this.J&255,this.B>>8);this.J=this.J&-256|a} +function ue(a){a=a.call(this,this.B&255,this.G&255);this.B=this.B&-256|a}function ve(a){a=a.call(this,this.B&255,this.I&255);this.B=this.B&-256|a}function we(a){a=a.call(this,this.B&255,this.J&255);this.B=this.B&-256|a}function xe(a){a=a.call(this,this.B&255,this.B&255);this.B=this.B&-256|a}function ye(a){a=a.call(this,this.B&255,this.G>>8);this.B=this.B&-256|a}function ze(a){a=a.call(this,this.B&255,this.I>>8);this.B=this.B&-256|a} +function Ae(a){a=a.call(this,this.B&255,this.J>>8);this.B=this.B&-256|a}function Be(a){a=a.call(this,this.B&255,this.B>>8);this.B=this.B&-256|a}function Ce(a){a=a.call(this,this.G>>8,this.G&255);this.G=this.G&255|a<<8}function De(a){a=a.call(this,this.G>>8,this.I&255);this.G=this.G&255|a<<8}function Ee(a){a=a.call(this,this.G>>8,this.J&255);this.G=this.G&255|a<<8}function Fe(a){a=a.call(this,this.G>>8,this.B&255);this.G=this.G&255|a<<8} +function Ge(a){a=a.call(this,this.G>>8,this.G>>8);this.G=this.G&255|a<<8}function He(a){a=a.call(this,this.G>>8,this.I>>8);this.G=this.G&255|a<<8}function Ie(a){a=a.call(this,this.G>>8,this.J>>8);this.G=this.G&255|a<<8}function Je(a){a=a.call(this,this.G>>8,this.B>>8);this.G=this.G&255|a<<8}function Ke(a){a=a.call(this,this.I>>8,this.G&255);this.I=this.I&255|a<<8}function Le(a){a=a.call(this,this.I>>8,this.I&255);this.I=this.I&255|a<<8} +function Me(a){a=a.call(this,this.I>>8,this.J&255);this.I=this.I&255|a<<8}function Ne(a){a=a.call(this,this.I>>8,this.B&255);this.I=this.I&255|a<<8}function Oe(a){a=a.call(this,this.I>>8,this.G>>8);this.I=this.I&255|a<<8}function Pe(a){a=a.call(this,this.I>>8,this.I>>8);this.I=this.I&255|a<<8}function Qe(a){a=a.call(this,this.I>>8,this.J>>8);this.I=this.I&255|a<<8}function Re(a){a=a.call(this,this.I>>8,this.B>>8);this.I=this.I&255|a<<8} +function Se(a){a=a.call(this,this.J>>8,this.G&255);this.J=this.J&255|a<<8}function Te(a){a=a.call(this,this.J>>8,this.I&255);this.J=this.J&255|a<<8}function Ue(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}function Ve(a){a=a.call(this,this.J>>8,this.B&255);this.J=this.J&255|a<<8}function We(a){a=a.call(this,this.J>>8,this.G>>8);this.J=this.J&255|a<<8}function Xe(a){a=a.call(this,this.J>>8,this.I>>8);this.J=this.J&255|a<<8} +function Ye(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function Ze(a){a=a.call(this,this.J>>8,this.B>>8);this.J=this.J&255|a<<8}function $e(a){a=a.call(this,this.B>>8,this.G&255);this.B=this.B&255|a<<8}function af(a){a=a.call(this,this.B>>8,this.I&255);this.B=this.B&255|a<<8}function bf(a){a=a.call(this,this.B>>8,this.J&255);this.B=this.B&255|a<<8}function cf(a){a=a.call(this,this.B>>8,this.B&255);this.B=this.B&255|a<<8} +function df(a){a=a.call(this,this.B>>8,this.G>>8);this.B=this.B&255|a<<8}function ef(a){a=a.call(this,this.B>>8,this.I>>8);this.B=this.B&255|a<<8}function ff(a){a=a.call(this,this.B>>8,this.J>>8);this.B=this.B&255|a<<8}function gf(a){a=a.call(this,this.B>>8,this.B>>8);this.B=this.B&255|a<<8}function hf(a){this.G=a.call(this,this.G,this.G)}function jf(a){this.G=a.call(this,this.G,this.I)}function kf(a){this.G=a.call(this,this.G,this.J)}function lf(a){this.G=a.call(this,this.G,this.B)} +function mf(a){this.G=a.call(this,this.G,this.X)}function nf(a){this.G=a.call(this,this.G,this.H)}function of(a){this.G=a.call(this,this.G,this.F)}function pf(a){this.G=a.call(this,this.G,this.D)}function qf(a){this.I=a.call(this,this.I,this.G)}function rf(a){this.I=a.call(this,this.I,this.I)}function sf(a){this.I=a.call(this,this.I,this.J)}function tf(a){this.I=a.call(this,this.I,this.B)}function uf(a){this.I=a.call(this,this.I,this.X)}function vf(a){this.I=a.call(this,this.I,this.H)} +function wf(a){this.I=a.call(this,this.I,this.F)}function xf(a){this.I=a.call(this,this.I,this.D)}function yf(a){this.J=a.call(this,this.J,this.G)}function zf(a){this.J=a.call(this,this.J,this.I)}function Af(a){this.J=a.call(this,this.J,this.J)}function Bf(a){this.J=a.call(this,this.J,this.B)}function Cf(a){this.J=a.call(this,this.J,this.X)}function Df(a){this.J=a.call(this,this.J,this.H)}function Ef(a){this.J=a.call(this,this.J,this.F)}function Ff(a){this.J=a.call(this,this.J,this.D)} +function Gf(a){this.B=a.call(this,this.B,this.G)}function Hf(a){this.B=a.call(this,this.B,this.I)}function If(a){this.B=a.call(this,this.B,this.J)}function Jf(a){this.B=a.call(this,this.B,this.B)}function Kf(a){this.B=a.call(this,this.B,this.X)}function Lf(a){this.B=a.call(this,this.B,this.H)}function Mf(a){this.B=a.call(this,this.B,this.F)}function Nf(a){this.B=a.call(this,this.B,this.D)}function Of(a){this.X=a.call(this,this.X,this.G)}function Pf(a){this.X=a.call(this,this.X,this.I)} +function Qf(a){this.X=a.call(this,this.X,this.J)}function Rf(a){this.X=a.call(this,this.X,this.B)}function Sf(a){this.X=a.call(this,this.X,this.X)}function Tf(a){this.X=a.call(this,this.X,this.H)}function Uf(a){this.X=a.call(this,this.X,this.F)}function Vf(a){this.X=a.call(this,this.X,this.D)}function Wf(a){this.H=a.call(this,this.H,this.G)}function Xf(a){this.H=a.call(this,this.H,this.I)}function Yf(a){this.H=a.call(this,this.H,this.J)}function Zf(a){this.H=a.call(this,this.H,this.B)} +function $f(a){this.H=a.call(this,this.H,this.X)}function ag(a){this.H=a.call(this,this.H,this.H)}function bg(a){this.H=a.call(this,this.H,this.F)}function cg(a){this.H=a.call(this,this.H,this.D)}function dg(a){this.F=a.call(this,this.F,this.G)}function eg(a){this.F=a.call(this,this.F,this.I)}function fg(a){this.F=a.call(this,this.F,this.J)}function gg(a){this.F=a.call(this,this.F,this.B)}function hg(a){this.F=a.call(this,this.F,this.X)}function ig(a){this.F=a.call(this,this.F,this.H)} +function jg(a){this.F=a.call(this,this.F,this.F)}function kg(a){this.F=a.call(this,this.F,this.D)}function lg(a){this.D=a.call(this,this.D,this.G)}function mg(a){this.D=a.call(this,this.D,this.I)}function ng(a){this.D=a.call(this,this.D,this.J)}function og(a){this.D=a.call(this,this.D,this.B)}function pg(a){this.D=a.call(this,this.D,this.X)}function qg(a){this.D=a.call(this,this.D,this.H)}function rg(a){this.D=a.call(this,this.D,this.F)}function sg(a){this.D=a.call(this,this.D,this.D)} +var tg=[function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.G&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.G&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.G&255);this.Q(a);this.A-=this.Z},function(a){a= a.call(this,this.N(this.C,this.D),this.G&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.K()),this.G&255);this.Q(a);this.A-=this.na},function(a){a=a.call(this,this.N(this.C,this.B),this.G&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.B+this.F&65535),this.I&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.I&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F& 65535),this.I&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.I&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.I&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.D),this.I&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C,this.K()),this.I&255);this.Q(a);this.A-=this.na},function(a){a=a.call(this,this.N(this.C,this.B),this.I&255);this.Q(a);this.A-=this.Z},function(a){a= a.call(this,this.N(this.C,this.B+this.F&65535),this.J&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.B+this.D&65535),this.J&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.F&65535),this.J&255);this.Q(a);this.A-=this.ca},function(a){a=a.call(this,this.N(this.M,this.H+this.D&65535),this.J&255);this.Q(a);this.A-=this.ba},function(a){a=a.call(this,this.N(this.C,this.F),this.J&255);this.Q(a);this.A-=this.Z},function(a){a=a.call(this,this.N(this.C, @@ -141,7 +140,7 @@ this.U},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.I>>8 this.U},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.U},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.J>>8); this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()&65535),this.J>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.U},function(a){a=a.call(this,this.N(this.C,this.B+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.F+this.K()& 65535),this.B>>8);this.Q(a);this.A-=this.V},function(a){a=a.call(this,this.N(this.M,this.H+this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.U},function(a){a=a.call(this,this.N(this.C,this.F+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.D+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.M,this.H+this.K()&65535),this.B>>8);this.Q(a);this.A-=this.P},function(a){a=a.call(this,this.N(this.C,this.B+this.K()& -65535),this.B>>8);this.Q(a);this.A-=this.P},Yd,fe,ne,ve,De,Le,Te,af,Zd,ge,oe,we,Ee,Me,Ue,bf,$d,he,pe,xe,Fe,Ne,Ve,cf,ae,ie,qe,ye,Ge,Oe,We,df,be,je,re,ze,He,Pe,Xe,ef,ce,ke,se,Ae,Ie,Qe,Ye,ff,de,le,te,Be,Je,Re,Ze,gf,ee,me,ue,Ce,Ke,Se,$e,hf],vg=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); +65535),this.B>>8);this.Q(a);this.A-=this.P},Xd,ee,me,ue,Ce,Ke,Se,$e,Yd,fe,ne,ve,De,Le,Te,af,Zd,ge,oe,we,Ee,Me,Ue,bf,$d,he,pe,xe,Fe,Ne,Ve,cf,ae,ie,qe,ye,Ge,Oe,We,df,be,je,re,ze,He,Pe,Xe,ef,ce,ke,se,Ae,Ie,Qe,Ye,ff,de,le,te,Be,Je,Re,Ze,gf],N=[function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.G);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.G);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.G); this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.G);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.F),this.G);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.D),this.G);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.K()),this.G);this.R(a);this.A-=this.na},function(a){a=a.call(this,this.O(this.C,this.B),this.G);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.B+ this.F&65535),this.I);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.I);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.I);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.D&65535),this.I);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.F),this.I);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.D),this.I);this.R(a);this.A-=this.Z}, function(a){a=a.call(this,this.O(this.C,this.K()),this.I);this.R(a);this.A-=this.na},function(a){a=a.call(this,this.O(this.C,this.B),this.I);this.R(a);this.A-=this.Z},function(a){a=a.call(this,this.O(this.C,this.B+this.F&65535),this.J);this.R(a);this.A-=this.ba},function(a){a=a.call(this,this.O(this.C,this.B+this.D&65535),this.J);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+this.F&65535),this.J);this.R(a);this.A-=this.ca},function(a){a=a.call(this,this.O(this.M,this.H+ @@ -178,7 +177,7 @@ this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.D+ this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.F);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.F);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.F+this.K()&65535),this.F); this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.F);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.B+this.D+this.K()&65535),this.D);this.R(a); this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.F+this.K()&65535),this.D);this.R(a);this.A-=this.V},function(a){a=a.call(this,this.O(this.M,this.H+this.D+this.K()&65535),this.D);this.R(a);this.A-=this.U},function(a){a=a.call(this,this.O(this.C,this.F+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.C,this.D+this.K()&65535),this.D);this.R(a);this.A-=this.P},function(a){a=a.call(this,this.O(this.M,this.H+this.K()&65535),this.D);this.R(a);this.A-= -this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},jf,rf,zf,Hf,Pf,Xf,eg,mg,kf,sf,Af,If,Qf,Yf,fg,ng,lf,tf,Bf,Jf,Rf,Zf,gg,og,mf,uf,Cf,Kf,Sf,$f,hg,pg,nf,vf,Df,Lf,Tf,ag,ig,qg,of,wf,Ef,Mf,Uf,bg,jg,rg,pf,xf,Ff,Nf,Vf,cg,kg,sg,qf,yf,Gf,Of,Wf,dg,lg,tg],wg=[function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.D&65535));this.G=this.G&-256| +this.P},function(a){a=a.call(this,this.O(this.C,this.B+this.K()&65535),this.D);this.R(a);this.A-=this.P},hf,qf,yf,Gf,Of,Wf,dg,lg,jf,rf,zf,Hf,Pf,Xf,eg,mg,kf,sf,Af,If,Qf,Yf,fg,ng,lf,tf,Bf,Jf,Rf,Zf,gg,og,mf,uf,Cf,Kf,Sf,$f,hg,pg,nf,vf,Df,Lf,Tf,ag,ig,qg,of,wf,Ef,Mf,Uf,bg,jg,rg,pf,xf,Ff,Nf,Vf,cg,kg,sg],ug=[function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.F&65535));this.G=this.G&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.G&255,this.S(this.C,this.B+this.D&65535));this.G=this.G&-256| a;this.A-=this.ca},function(a){a=a.call(this,this.G&255,this.S(this.M,this.H+this.F&65535));this.G=this.G&-256|a;this.A-=this.ca},function(a){a=a.call(this,this.G&255,this.S(this.M,this.H+this.D&65535));this.G=this.G&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.G&255,this.S(this.C,this.F));this.G=this.G&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.G&255,this.S(this.C,this.D));this.G=this.G&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.G&255,this.S(this.C,this.K()));this.G= this.G&-256|a;this.A-=this.na},function(a){a=a.call(this,this.G&255,this.S(this.C,this.B));this.G=this.G&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.I&255,this.S(this.C,this.B+this.F&65535));this.I=this.I&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.I&255,this.S(this.C,this.B+this.D&65535));this.I=this.I&-256|a;this.A-=this.ca},function(a){a=a.call(this,this.I&255,this.S(this.M,this.H+this.F&65535));this.I=this.I&-256|a;this.A-=this.ca},function(a){a=a.call(this,this.I&255,this.S(this.M, this.H+this.D&65535));this.I=this.I&-256|a;this.A-=this.ba},function(a){a=a.call(this,this.I&255,this.S(this.C,this.F));this.I=this.I&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.I&255,this.S(this.C,this.D));this.I=this.I&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.I&255,this.S(this.C,this.K()));this.I=this.I&-256|a;this.A-=this.na},function(a){a=a.call(this,this.I&255,this.S(this.C,this.B));this.I=this.I&-256|a;this.A-=this.Z},function(a){a=a.call(this,this.J&255,this.S(this.C, @@ -221,7 +220,7 @@ this.P},function(a){a=a.call(this,this.G>>8,this.S(this.C,this.D+this.K()&65535) this.V},function(a){a=a.call(this,this.J>>8,this.S(this.M,this.H+this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.J>>8,this.S(this.M,this.H+this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.U},function(a){a=a.call(this,this.J>>8,this.S(this.C,this.F+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.S(this.C,this.D+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>> 8,this.S(this.M,this.H+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.J>>8,this.S(this.C,this.B+this.K()&65535));this.J=this.J&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.U},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.S(this.M,this.H+this.F+this.K()& 65535));this.B=this.B&255|a<<8;this.A-=this.V},function(a){a=a.call(this,this.B>>8,this.S(this.M,this.H+this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.U},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.F+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.S(this.C,this.D+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},function(a){a=a.call(this,this.B>>8,this.S(this.M,this.H+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P}, -function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},Yd,Zd,$d,ae,be,ce,de,ee,fe,ge,he,ie,je,ke,le,me,ne,oe,pe,qe,re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf],O=[function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.G= +function(a){a=a.call(this,this.B>>8,this.S(this.C,this.B+this.K()&65535));this.B=this.B&255|a<<8;this.A-=this.P},Xd,Yd,Zd,$d,ae,be,ce,de,ee,fe,ge,he,ie,je,ke,le,me,ne,oe,pe,qe,re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf],O=[function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.G=a.call(this,this.G,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.G= a.call(this,this.G,this.T(this.M,this.H+this.F&65535));this.A-=this.ca},function(a){this.G=a.call(this,this.G,this.T(this.M,this.H+this.D&65535));this.A-=this.ba},function(a){this.G=a.call(this,this.G,this.T(this.C,this.F));this.A-=this.Z},function(a){this.G=a.call(this,this.G,this.T(this.C,this.D));this.A-=this.Z},function(a){this.G=a.call(this,this.G,this.T(this.C,this.K()));this.A-=this.na},function(a){this.G=a.call(this,this.G,this.T(this.C,this.B));this.A-=this.Z},function(a){this.I=a.call(this, this.I,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.I=a.call(this,this.I,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.I=a.call(this,this.I,this.T(this.M,this.H+this.F&65535));this.A-=this.ca},function(a){this.I=a.call(this,this.I,this.T(this.M,this.H+this.D&65535));this.A-=this.ba},function(a){this.I=a.call(this,this.I,this.T(this.C,this.F));this.A-=this.Z},function(a){this.I=a.call(this,this.I,this.T(this.C,this.D));this.A-=this.Z},function(a){this.I= a.call(this,this.I,this.T(this.C,this.K()));this.A-=this.na},function(a){this.I=a.call(this,this.I,this.T(this.C,this.B));this.A-=this.Z},function(a){this.J=a.call(this,this.J,this.T(this.C,this.B+this.F&65535));this.A-=this.ba},function(a){this.J=a.call(this,this.J,this.T(this.C,this.B+this.D&65535));this.A-=this.ca},function(a){this.J=a.call(this,this.J,this.T(this.M,this.H+this.F&65535));this.A-=this.ca},function(a){this.J=a.call(this,this.J,this.T(this.M,this.H+this.D&65535));this.A-=this.ba}, @@ -256,7 +255,7 @@ a.call(this,this.H,this.T(this.C,this.B+this.D+this.K()&65535));this.A-=this.V}, this.H+this.K()&65535));this.A-=this.P},function(a){this.H=a.call(this,this.H,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.C,this.B+this.F+this.K()&65535));this.A-=this.U},function(a){this.F=a.call(this,this.F,this.T(this.C,this.B+this.D+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.T(this.M,this.H+this.F+this.K()&65535));this.A-=this.V},function(a){this.F=a.call(this,this.F,this.T(this.M,this.H+this.D+this.K()& 65535));this.A-=this.U},function(a){this.F=a.call(this,this.F,this.T(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.M,this.H+this.K()&65535));this.A-=this.P},function(a){this.F=a.call(this,this.F,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.B+this.F+this.K()&65535));this.A-=this.U},function(a){this.D= a.call(this,this.D,this.T(this.C,this.B+this.D+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.T(this.M,this.H+this.F+this.K()&65535));this.A-=this.V},function(a){this.D=a.call(this,this.D,this.T(this.M,this.H+this.D+this.K()&65535));this.A-=this.U},function(a){this.D=a.call(this,this.D,this.T(this.C,this.F+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.D+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.M, -this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg],xg=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.D& +this.H+this.K()&65535));this.A-=this.P},function(a){this.D=a.call(this,this.D,this.T(this.C,this.B+this.K()&65535));this.A-=this.P},hf,jf,kf,lf,mf,nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg],vg=[function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.N(this.C,this.B+this.D& 65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c=a[0].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.N(this.C, this.K()),b.call(this));this.Q(c);this.A-=this.na},function(a,b){var c=a[0].call(this,this.N(this.C,this.B),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.F&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[1].call(this,this.N(this.C,this.B+this.D&65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c=a[1].call(this,this.N(this.M,this.H+this.F&65535),b.call(this));this.Q(c);this.A-=this.ca},function(a,b){var c= a[1].call(this,this.N(this.M,this.H+this.D&65535),b.call(this));this.Q(c);this.A-=this.ba},function(a,b){var c=a[1].call(this,this.N(this.C,this.F),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.N(this.C,this.D),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.N(this.C,this.K()),b.call(this));this.Q(c);this.A-=this.na},function(a,b){var c=a[1].call(this,this.N(this.C,this.B),b.call(this));this.Q(c);this.A-=this.Z},function(a,b){var c= @@ -309,7 +308,7 @@ this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[4].call(th 255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[5].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[5].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[5].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[5].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[5].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[6].call(this,this.G&255,b.call(this)); this.G=this.G&-256|c},function(a,b){var c=a[6].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[6].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[6].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[6].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<<8},function(a,b){var c=a[6].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[6].call(this,this.J>>8,b.call(this));this.J=this.J& 255|c<<8},function(a,b){var c=a[6].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8},function(a,b){var c=a[7].call(this,this.G&255,b.call(this));this.G=this.G&-256|c},function(a,b){var c=a[7].call(this,this.I&255,b.call(this));this.I=this.I&-256|c},function(a,b){var c=a[7].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[7].call(this,this.B&255,b.call(this));this.B=this.B&-256|c},function(a,b){var c=a[7].call(this,this.G>>8,b.call(this));this.G=this.G&255|c<< -8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],yg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[0].call(this, +8},function(a,b){var c=a[7].call(this,this.I>>8,b.call(this));this.I=this.I&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.B>>8,b.call(this));this.B=this.B&255|c<<8}],wg=[function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[0].call(this, this.O(this.M,this.H+this.F&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[0].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[0].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.O(this.C,this.D),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[0].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.na},function(a,b){var c= a[0].call(this,this.O(this.C,this.B),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c);this.A-=this.ba},function(a,b){var c=a[1].call(this,this.O(this.C,this.B+this.D&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.F&65535),b.call(this));this.R(c);this.A-=this.ca},function(a,b){var c=a[1].call(this,this.O(this.M,this.H+this.D&65535),b.call(this));this.R(c); this.A-=this.ba},function(a,b){var c=a[1].call(this,this.O(this.C,this.F),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.O(this.C,this.D),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[1].call(this,this.O(this.C,this.K()),b.call(this));this.R(c);this.A-=this.na},function(a,b){var c=a[1].call(this,this.O(this.C,this.B),b.call(this));this.R(c);this.A-=this.Z},function(a,b){var c=a[2].call(this,this.O(this.C,this.B+this.F&65535),b.call(this));this.R(c); @@ -359,271 +358,271 @@ a[3].call(this,this.B,b.call(this))},function(a,b){this.X=a[3].call(this,this.X, function(a,b){this.X=a[4].call(this,this.X,b.call(this))},function(a,b){this.H=a[4].call(this,this.H,b.call(this))},function(a,b){this.F=a[4].call(this,this.F,b.call(this))},function(a,b){this.D=a[4].call(this,this.D,b.call(this))},function(a,b){this.G=a[5].call(this,this.G,b.call(this))},function(a,b){this.I=a[5].call(this,this.I,b.call(this))},function(a,b){this.J=a[5].call(this,this.J,b.call(this))},function(a,b){this.B=a[5].call(this,this.B,b.call(this))},function(a,b){this.X=a[5].call(this,this.X, b.call(this))},function(a,b){this.H=a[5].call(this,this.H,b.call(this))},function(a,b){this.F=a[5].call(this,this.F,b.call(this))},function(a,b){this.D=a[5].call(this,this.D,b.call(this))},function(a,b){this.G=a[6].call(this,this.G,b.call(this))},function(a,b){this.I=a[6].call(this,this.I,b.call(this))},function(a,b){this.J=a[6].call(this,this.J,b.call(this))},function(a,b){this.B=a[6].call(this,this.B,b.call(this))},function(a,b){this.Y|=512;this.X=a[6].call(this,this.X,b.call(this))},function(a, b){this.H=a[6].call(this,this.H,b.call(this))},function(a,b){this.F=a[6].call(this,this.F,b.call(this))},function(a,b){this.D=a[6].call(this,this.D,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.J=a[7].call(this,this.J,b.call(this))},function(a,b){this.B=a[7].call(this,this.B,b.call(this))},function(a,b){this.X=a[7].call(this,this.X,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))}, -function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],Ag=[function(){var a=this.aa();16>(a&56)&&(this.Y|=1);yg[a].call(this,ec,vd)},function(){var a=this.aa();a&16||(this.Y|=1);yg[a].call(this,zg,vd)},function(){O[this.aa()].call(this,Ud)},function(){O[this.aa()].call(this,Vd)},N,N,N,N,N,N,N,G,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N, -N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N],fc=[function(){this.A-=2+(0>this.da?0:1);return this.Be.ua},function(){this.A-=2+(0>this.da?0:1);return this.Jg.ua},function(a){this.Y|=2;this.Be.load(a);this.A-= -17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.Jg.load(a);this.A-=17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&2048!=(this.sb.kc&2560)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3)))return Cc(this),a;yc(this);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&512==(this.sb.kc&2560)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3))return Cc(this),a;yc(this);return a},M,M], -gc=[Ub,Ub,Ub,Ub,Ub,Ub,M,M],ec=gc,zg=[function(a){0>this.da?G.call(this):(Hc(this,this.da+2,this.Rc),Gc(this,this.da+4,this.Rc>>16),a=this.Ke-this.Rc,this.A-=11);return a},function(a){0>this.da?G.call(this):(Hc(this,this.da+2,this.Sc),Gc(this,this.da+4,this.Sc>>16),a=this.me-this.Sc,this.A-=12);return a},function(a){0>this.da?G.call(this):(this.Rc=F(this,this.da+2)|Fc(this,this.da+4)<<16,this.Ke=this.Rc+a,this.Y|=2,this.A-=11);return a},function(a){0>this.da?G.call(this):(this.Sc=F(this,this.da+2)| -Fc(this,this.da+4)<<16,this.me=this.Sc+a,this.Y|=2,this.A-=12);return a},function(){this.A-=2+(0>this.da?0:1);return this.ed},M,function(a){this.ed=this.ed&65520|a&-65521;this.A-=3+(0>this.da?0:3);this.ed&1&&bc(this,!0);this.Y|=2;return a},M];function Wb(){Ag[this.aa()].call(this)}function Yb(){K(this,this.X);this.A-=this.$b}function Db(){var a=this.X;K(this,this.G);K(this,this.I);K(this,this.J);K(this,this.B);K(this,a);K(this,this.H);K(this,this.F);K(this,this.D);this.A-=this.vk} -function Eb(){this.D=this.Aa();this.F=this.Aa();this.H=this.Aa();this.X+=2;this.B=this.Aa();this.J=this.Aa();this.I=this.Aa();this.G=this.Aa();this.A-=this.tk}function Fb(){O[this.aa()].call(this,Sd)}function Xb(){vg[this.aa()].call(this,Td)}function Gb(){K(this,this.K());this.A-=this.$b}function Hb(){O[this.aa()].call(this,Nd)}function Ib(){K(this,this.aa());this.A-=this.$b}function Jb(){O[this.aa()].call(this,Md)} -function Kb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Va(this.ma,this.J,this.Ca-b-1);Gc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}} -function Lb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=Va(this.ma,this.J,d)|Va(this.ma,this.J,d)<<8;Hc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}} -function Mb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Fc(this,this.bc.Jc(this.F,0));this.F=this.F+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;Xa(this.ma,this.J,d,this.Ca-b-1);a&&(J(this,-2),this.Y|=256)}} -function Nb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=F(this,this.bc.Jc(this.F,1));this.F=this.F+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;Xa(this.ma,this.J,d&255,b);Xa(this.ma,this.J,d>>8,b);a&&(J(this,-2),this.Y|=256)}}function Bg(){var a=this.L();vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Cg(){var a=this.L();vc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)} -function Dg(){var a=this.L();qc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Eg(){var a=this.L();qc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Fg(){var a=this.L();tc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Gg(){var a=this.L();tc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Hg(){var a=this.L();qc(this)||tc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db} -function Ig(){var a=this.L();qc(this)||tc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Jg(){var a=this.L();uc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Kg(){var a=this.L();uc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)}function Lg(){var a=this.L();rc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Mg(){var a=this.L();rc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)} -function Ng(){var a=this.L();!uc(this)!=!vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Og(){var a=this.L();!uc(this)==!vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Pg(){var a=this.L();tc(this)||!uc(this)!=!vc(this)?(I(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Qg(){var a=this.L();tc(this)||!uc(this)!=!vc(this)?this.A-=this.Db:(I(this,this.qa+a),this.A-=this.Cb)} -function Rg(){xg[this.aa()].call(this,xd,this.aa);this.A-=0>this.Ba?1:this.xg}function Ob(){xg[this.aa()].call(this,Gd,ud)}function Pb(){yg[this.aa()].call(this,Hd,ud)}function Sg(){var a=this.K();I(this,this.Aa());this.X=this.X+a&65535;this.A-=this.Ak}function Tg(){I(this,this.Aa());this.A-=this.xk} -function Qb(){var a=this.K(),b=this.aa()&31;this.A-=11;K(this,this.H);var c=this.X;if(0>8,c,d=sc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Bc(this):xc(this);this.A-=this.ae},function(){ug[this.aa()].call(this,Sc)},function(){vg[this.aa()].call(this,$c)},function(){wg[this.aa()].call(this,Sc)},function(){O[this.aa()].call(this,$c)},function(){this.G=this.G&-256|Sc.call(this,this.G&255,this.aa());this.A--},function(){this.G=$c.call(this,this.G,this.K());this.A--},function(){this.Y|= -20;this.C=this.M=this.bc;this.A-=this.rb},function(){var a=this.G&255,b=this.G>>8,c,d=sc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Bc(this):xc(this);this.A-=this.ae},function(){this.ha=this.G;this.G=(this.fa=this.G+1)&65535;this.W=this.G|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.I;this.I=(this.fa=this.I+1)&65535;this.W=this.I|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.J; +function(a,b){this.F=a[7].call(this,this.F,b.call(this))},function(a,b){this.D=a[7].call(this,this.D,b.call(this))}],yg=[function(){var a=this.aa();16>(a&56)&&(this.Y|=1);wg[a].call(this,dc,ud)},function(){var a=this.aa();a&16||(this.Y|=1);wg[a].call(this,xg,ud)},function(){O[this.aa()].call(this,Td)},function(){O[this.aa()].call(this,Ud)},M,M,M,M,M,M,M,F,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M, +M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M],ec=[function(){this.A-=2+(0>this.da?0:1);return this.Ce.ua},function(){this.A-=2+(0>this.da?0:1);return this.Ig.ua},function(a){this.Y|=2;this.Ce.load(a);this.A-= +17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.Ig.load(a);this.A-=17+(0>this.da?0:2);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&2048!=(this.sb.kc&2560)&&(3072==(this.sb.kc&3072)||this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3)))return Bc(this),a;xc(this);return a},function(a){this.Y|=2;this.A-=14+(0>this.da?0:2);if(0<=this.sb.load(a,!0)&&512==(this.sb.kc&2560)&&this.sb.uc>=(this.Ea.ua&3)&&this.sb.uc>=(a&3))return Bc(this),a;xc(this);return a},K,K], +fc=[Tb,Tb,Tb,Tb,Tb,Tb,K,K],dc=fc,xg=[function(a){0>this.da?F.call(this):(Gc(this,this.da+2,this.Rc),Fc(this,this.da+4,this.Rc>>16),a=this.Le-this.Rc,this.A-=11);return a},function(a){0>this.da?F.call(this):(Gc(this,this.da+2,this.Sc),Fc(this,this.da+4,this.Sc>>16),a=this.me-this.Sc,this.A-=12);return a},function(a){0>this.da?F.call(this):(this.Rc=E(this,this.da+2)|Ec(this,this.da+4)<<16,this.Le=this.Rc+a,this.Y|=2,this.A-=11);return a},function(a){0>this.da?F.call(this):(this.Sc=E(this,this.da+2)| +Ec(this,this.da+4)<<16,this.me=this.Sc+a,this.Y|=2,this.A-=12);return a},function(){this.A-=2+(0>this.da?0:1);return this.ed},K,function(a){this.ed=this.ed&65520|a&-65521;this.A-=3+(0>this.da?0:3);this.ed&1&&ac(this,!0);this.Y|=2;return a},K];function Vb(){yg[this.aa()].call(this)}function Xb(){J(this,this.X);this.A-=this.$b}function Cb(){var a=this.X;J(this,this.G);J(this,this.I);J(this,this.J);J(this,this.B);J(this,a);J(this,this.H);J(this,this.F);J(this,this.D);this.A-=this.sk} +function Db(){this.D=this.Aa();this.F=this.Aa();this.H=this.Aa();this.X+=2;this.B=this.Aa();this.J=this.Aa();this.I=this.Aa();this.G=this.Aa();this.A-=this.qk}function Eb(){O[this.aa()].call(this,Rd)}function Wb(){N[this.aa()].call(this,Sd)}function Fb(){J(this,this.K());this.A-=this.$b}function Gb(){O[this.aa()].call(this,Md)}function Hb(){J(this,this.aa());this.A-=this.$b}function Ib(){O[this.aa()].call(this,Ld)} +function Jb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Va(this.ma,this.J,this.Ca-b-1);Fc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}} +function Kb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=this.Ca-b-1,d=Va(this.ma,this.J,d)|Va(this.ma,this.J,d)<<8;Gc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}} +function Lb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=Ec(this,this.bc.Jc(this.F,0));this.F=this.F+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;Xa(this.ma,this.J,d,this.Ca-b-1);a&&(I(this,-2),this.Y|=256)}} +function Mb(){var a=1,b=0,c=5;this.pa&192&&(a=this.I,b=1,this.pa&256&&(c=4));if(a--){var d=E(this,this.bc.Jc(this.F,1));this.F=this.F+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;b=this.Ca-b-1;Xa(this.ma,this.J,d&255,b);Xa(this.ma,this.J,d>>8,b);a&&(I(this,-2),this.Y|=256)}}function zg(){var a=this.L();uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Ag(){var a=this.L();uc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)} +function Bg(){var a=this.L();pc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Cg(){var a=this.L();pc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Dg(){var a=this.L();sc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Eg(){var a=this.L();sc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Fg(){var a=this.L();pc(this)||sc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db} +function Gg(){var a=this.L();pc(this)||sc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Hg(){var a=this.L();tc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Ig(){var a=this.L();tc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)}function Jg(){var a=this.L();qc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Kg(){var a=this.L();qc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)} +function Lg(){var a=this.L();!tc(this)!=!uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Mg(){var a=this.L();!tc(this)==!uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Ng(){var a=this.L();sc(this)||!tc(this)!=!uc(this)?(H(this,this.qa+a),this.A-=this.Cb):this.A-=this.Db}function Og(){var a=this.L();sc(this)||!tc(this)!=!uc(this)?this.A-=this.Db:(H(this,this.qa+a),this.A-=this.Cb)} +function Pg(){vg[this.aa()].call(this,wd,this.aa);this.A-=0>this.Ba?1:this.wg}function Nb(){vg[this.aa()].call(this,Fd,td)}function Ob(){wg[this.aa()].call(this,Gd,td)}function Qg(){var a=this.K();H(this,this.Aa());this.X=this.X+a&65535;this.A-=this.xk}function Rg(){H(this,this.Aa());this.A-=this.uk} +function Pb(){var a=this.K(),b=this.aa()&31;this.A-=11;J(this,this.H);var c=this.X;if(0>8,c,d=rc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Ac(this):wc(this);this.A-=this.$d},function(){tg[this.aa()].call(this,Rc)},function(){N[this.aa()].call(this,Zc)},function(){ug[this.aa()].call(this,Rc)},function(){O[this.aa()].call(this,Zc)},function(){this.G=this.G&-256|Rc.call(this,this.G&255,this.aa());this.A--},function(){this.G=Zc.call(this,this.G,this.K());this.A--},function(){this.Y|= +20;this.C=this.M=this.bc;this.A-=this.rb},function(){var a=this.G&255,b=this.G>>8,c,d=rc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.G=b<<8|(this.W=a);this.$=65536;c&&(this.W|=this.$);d?Ac(this):wc(this);this.A-=this.$d},function(){this.ha=this.G;this.G=(this.fa=this.G+1)&65535;this.W=this.G|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.I;this.I=(this.fa=this.I+1)&65535;this.W=this.I|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.J; this.J=(this.fa=this.J+1)&65535;this.W=this.J|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.B;this.B=(this.fa=this.B+1)&65535;this.W=this.B|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.X;this.X=(this.fa=this.X+1)&65535;this.W=this.X|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.H;this.H=(this.fa=this.H+1)&65535;this.W=this.H|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.F;this.F=(this.fa=this.F+ 1)&65535;this.W=this.F|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.D;this.D=(this.fa=this.D+1)&65535;this.W=this.D|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.G;this.G=(this.fa=this.G-1)&65535;this.W=this.G|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.I;this.I=(this.fa=this.I-1)&65535;this.W=this.I|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.J;this.J=(this.fa=this.J-1)&65535;this.W=this.J| (this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.B;this.B=(this.fa=this.B-1)&65535;this.W=this.B|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.X;this.X=(this.fa=this.X-1)&65535;this.W=this.X|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.H;this.H=(this.fa=this.H-1)&65535;this.W=this.H|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){this.ha=this.F;this.F=(this.fa=this.F-1)&65535;this.W=this.F|(this.W&this.$?1:0)<< -16;this.$=65536;this.A-=2},function(){this.ha=this.D;this.D=(this.fa=this.D-1)&65535;this.W=this.D|(this.W&this.$?1:0)<<16;this.$=65536;this.A-=2},function(){K(this,this.G);this.A-=this.$b},function(){K(this,this.I);this.A-=this.$b},function(){K(this,this.J);this.A-=this.$b},function(){K(this,this.B);this.A-=this.$b},function(){K(this,this.X-2&65535);this.A-=this.$b},function(){K(this,this.H);this.A-=this.$b},function(){K(this,this.F);this.A-=this.$b},function(){K(this,this.D);this.A-=this.$b},function(){this.G= -this.Aa();this.A-=this.Rb},function(){this.I=this.Aa();this.A-=this.Rb},function(){this.J=this.Aa();this.A-=this.Rb},function(){this.B=this.Aa();this.A-=this.Rb},function(){this.X=this.Aa();this.A-=this.Rb},function(){this.H=this.Aa();this.A-=this.Rb},function(){this.F=this.Aa();this.A-=this.Rb},function(){this.D=this.Aa();this.A-=this.Rb},Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,function(){yg[this.aa()].call(this,yd,this.K);this.A-=0>this.Ba? -1:this.xg},Rg,function(){yg[this.aa()].call(this,yd,this.L);this.A-=0>this.Ba?1:this.xg},function(){ug[this.aa()].call(this,Kd)},function(){vg[this.aa()].call(this,Ld)},function(){wg[this.Tf=this.aa()].call(this,Wd)},function(){O[this.Tf=this.aa()].call(this,Xd)},function(){this.Y|=1;ug[this.aa()].call(this,Id)},function(){this.Y|=1;vg[this.aa()].call(this,Id)},function(){wg[this.aa()].call(this,Id)},function(){O[this.aa()].call(this,Id)},function(){var a=this.aa();switch((a&56)>>3){case 0:this.nb= -this.gb.ua;break;case 1:this.nb=this.Ea.ua;break;case 2:this.nb=this.Ub.ua;break;case 3:this.nb=this.bc.ua;break;default:N.call(this);return}this.Y|=1;vg[a].call(this,Jd)},function(){this.Y|=1;this.C=this.M=this.Qk;O[this.aa()].call(this,Pd)},function(){var a,b=this.aa(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Da){G.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break;case 6:a=this.F;break; -case 7:a=this.D}}O[b].call(this,Id);switch(c){case 0:pc(this,this.G);this.G=a;break;case 1:jc(this,this.I);this.I=a;break;case 2:oc(this,this.J);this.J=a;break;case 3:nc(this,this.B);this.B=a;break;case 4:pc(this,this.X);this.X=a;break;case 5:jc(this,this.H);this.H=a;break;case 6:oc(this,this.F);this.F=a;break;case 7:nc(this,this.D),this.D=a}},function(){this.Y|=1;yg[this.aa()].call(this,zd,this.Aa)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-=3},function(){var a= -this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Hj},function(){var a=this.K(),b=this.K();K(this,this.Ea.ua);K(this,this.qa); -$b(this,a,b);this.A-=this.Kj},function(){N.call(this)},function(){K(this,cc(this));this.A-=this.$b},function(){ac(this,this.Aa());this.A-=this.Rb},function(){var a=this.G>>8;a&1?Ac(this):wc(this);a&4?rc(this)||(this.fa^=1):rc(this)&&(this.fa^=1);a&16?Bc(this):xc(this);a&64?Cc(this):yc(this);a&128?Dc(this):uc(this)&&(this.fa^=this.$>>1|this.$>>2,this.ha^=32896);this.A-=this.mb},function(){this.G=this.G&255|(cc(this)&213)<<8;this.A-=this.mb},function(){this.G=this.G&-256|this.S(this.C,this.K());this.A-= -this.ci},function(){this.G=this.T(this.C,this.K());this.A-=this.ci},function(){var a=this.K(),b=this.G;Gc(this,this.C.Ob(a,0),b);this.A-=this.di},function(){var a=this.K(),b=this.G;Hc(this,this.C.Ob(a,1),b);this.A-=this.di},function(){var a=1,b=0,c=this.ei;this.pa&192&&(a=this.I,b=1,c=this.gi,this.pa&256||(this.A-=this.fi));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F);Gc(this,this.gb.Ob(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.pa&16?-3: --2),this.Y|=256)}},function(){var a=1,b=0,c=this.ei;this.pa&192&&(a=this.I,b=1,c=this.gi,this.pa&256||(this.A-=this.fi));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F);Hc(this,this.gb.Ob(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(J(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Ph;this.pa&192&&(a=this.I,b=1,c=this.Rh,this.pa&256||(this.A-=this.Qh));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F),f=this.N(this.gb,this.D);Sc.call(this, -e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&tc(this)==(this.pa&64)&&(J(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Ph;this.pa&192&&(a=this.I,b=1,c=this.Rh,this.pa&256||(this.A-=this.Qh));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F),f=this.O(this.gb,this.D);$c.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&tc(this)==(this.pa&64)&&(J(this,this.pa&16?-3:-2),this.Y|=256)}},function(){this.W= -this.fa=this.ha=this.G&255&this.aa();this.$=256;this.A-=this.ae},function(){this.W=this.fa=this.ha=this.G&this.K();this.$=65536;this.A-=this.ae},function(){var a=1,b=0,c=this.pi;this.pa&192&&(a=this.I,b=1,c=this.ri,this.pa&256||(this.A-=this.qi));if(a--){var d=this.G;Gc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.pi;this.pa&192&&(a=this.I,b=1,c=this.ri,this.pa&256||(this.A-=this.qi));if(a--){var d= -this.G;Hc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(J(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Xh;this.pa&192&&(a=this.I,b=1,c=this.Zh,this.pa&256||(this.A-=this.Yh));a--&&(this.G=this.G&-256|this.S(this.C,this.F),this.F=this.F+(this.Ga&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(J(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.Xh;this.pa&192&&(a=this.I,b=1,c=this.Zh,this.pa&256||(this.A-=this.Yh));a--&&(this.G=this.T(this.C, -this.F),this.F=this.F+(this.Ga&1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(J(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.ji;this.pa&192&&(a=this.I,b=1,c=this.li,this.pa&256||(this.A-=this.ki));a--&&(Sc.call(this,this.G&255,this.N(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-1:1)&65535,this.A-=c-this.bb,this.I-=b,a&&tc(this)==(this.pa&64)&&(J(this,-2),this.Y|=256))},function(){var a=1,b=0,c=this.ji;this.pa&192&&(a=this.I,b=1,c=this.li,this.pa&256||(this.A-=this.ki));a--&&($c.call(this, -this.G,this.O(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-2:2)&65535,this.A-=c-this.bb,this.I-=b,a&&tc(this)==(this.pa&64)&&(J(this,-2),this.Y|=256))},function(){this.G=this.G&-256|this.aa();this.A-=this.mb},function(){this.I=this.I&-256|this.aa();this.A-=this.mb},function(){this.J=this.J&-256|this.aa();this.A-=this.mb},function(){this.B=this.B&-256|this.aa();this.A-=this.mb},function(){this.G=this.G&255|this.aa()<<8;this.A-=this.mb},function(){this.I=this.I&255|this.aa()<<8;this.A-=this.mb},function(){this.J= -this.J&255|this.aa()<<8;this.A-=this.mb},function(){this.B=this.B&255|this.aa()<<8;this.A-=this.mb},function(){this.G=this.K();this.A-=this.mb},function(){this.I=this.K();this.A-=this.mb},function(){this.J=this.K();this.A-=this.mb},function(){this.B=this.K();this.A-=this.mb},function(){this.X=this.K();this.A-=this.mb},function(){this.H=this.K();this.A-=this.mb},function(){this.F=this.K();this.A-=this.mb},function(){this.D=this.K();this.A-=this.mb},Sg,Tg,Sg,Tg,function(){O[this.aa()].call(this,Rd)}, -function(){O[this.aa()].call(this,Qd)},function(){this.Y|=1;xg[this.aa()].call(this,Ad,this.aa)},function(){this.Y|=1;yg[this.aa()].call(this,Ad,this.K)},Ug,Vg,Ug,Vg,function(){Jc.call(this,3,null,this.ak)},function(){var a=this.aa(),b;a:{b=this.Xk[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.$=256;this.A-=this.Dj},function(){this.G=this.G&-256|(qc(this)?255:0);this.A-=2},function(){this.G= -this.G&-256|this.S(this.C,this.B+(this.G&255)&65535);this.A-=this.Ck},Wg,Wg,Wg,Wg,Wg,Wg,Wg,Wg,function(){var a=this.L();(this.I=this.I-1&65535)&&this.W&this.$-1?(I(this,this.qa+a),this.A-=this.jk):this.A-=this.$h},function(){var a=this.L();!(this.I=this.I-1&65535)||this.W&this.$-1?this.A-=this.bi:(I(this,this.qa+a),this.A-=this.ai)},function(){var a=this.L();(this.I=this.I-1&65535)?(I(this,this.qa+a),this.A-=this.ik):this.A-=this.$h},function(){var a=this.L();this.I?this.A-=this.bi:(I(this,this.qa+ -a),this.A-=this.ai)},function(){var a=this.aa();this.G=this.G&-256|Va(this.ma,a,this.Ca-2);this.A-=this.Uh},function(){var a=this.aa();this.G=Va(this.ma,a,this.Ca-1)|Va(this.ma,a+1&65535,this.Ca-2)<<8;this.A-=this.Uh},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);this.A-=this.ii},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);Xa(this.ma,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.ii},function(){var a=this.K();K(this,this.qa);I(this,this.qa+a);this.A-=this.Ij},function(){var a= -this.K();I(this,this.qa+a);this.A-=this.Vh},function(){$b(this,this.K(),this.K());this.A-=this.ek},function(){var a=this.L();I(this,this.qa+a);this.A-=this.Vh},function(){this.G=this.G&-256|Va(this.ma,this.J,this.Ca-1);this.A-=this.Th},function(){this.G=Va(this.ma,this.J,this.Ca-1)|Va(this.ma,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Th},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);this.A-=this.hi},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);Xa(this.ma,this.J+1&65535,this.G>>8,this.Ca- -1);this.A-=this.hi},Xg,Xg,function(){this.Y|=132;this.A-=this.rb},function(){this.Y|=68;this.A-=this.rb},function(){this.Va|=4;this.A-=2;this.Ga&512||gb(this)},function(){qc(this)?wc(this):Ac(this);this.A-=2},function(){this.nb=-1;xg[this.aa()].call(this,Ed,vd);0<=this.nb&&(this.G=this.nb)},function(){this.nb=-1;yg[this.aa()].call(this,Fd,vd);0<=this.nb&&(this.G=this.nb,this.J=this.Af)},function(){this.W&=~this.$;this.A-=2},function(){this.W|=this.$;this.A-=2},function(){this.Ga&=-513;this.A-=this.Gj}, -function(){this.Ga|=512;this.Y|=4;this.A-=2},function(){this.Ga&=-1025;this.A-=2},function(){this.Ga|=1024;this.A-=2},function(){xg[this.aa()].call(this,Tb,vd)},function(){yg[this.aa()].call(this,Vb,vd)}]; -function P(a){v.call(this,"ChipSet",a,P);this.Da=a.model;this.Da=void 0!==this.Da?parseInt(this.Da,10):Yg;this.Eb=0;var b=a.sw1;if(b)this.Eb=Zg(b,$g|ah.Wk);else if(b=a.fdrives||2,this.Eb|=Q.Og,b--,this.Eb|=(b&3)<=bh&&(this.Se=this.Te=2);this.hg=a.scaleTimers||!1;this.En=a.rtcDate;this.oj=!1;a.sound&&window&&"webkitAudioContext"in window&& -(this.bh=new webkitAudioContext);this.reset();this.Oa()}y(v,P);var Yg=5150,bh=5170,ch={none:0,tv:1,color:2,mono:3,ega:0},Q={Og:1},$g=12,ah={Rn:16,Nn:32,Wk:48,Ge:48,He:4};Q.ONE=0;Q.Sn=64;Q.Qn=128;Q.On=192;Q.Ge=192;Q.He=6;g=P.prototype; -g.tb=function(a,b,c,d){switch(c){case "sw1":return this.oa[c]=d,dh(this,c,d,this.Eb,{0:this.Da==Yg?"Bootable Floppy Drive":"Loop on POST",1:this.Da==Yg?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Da==Yg)return this.oa[c]=d,dh(this,c,d,this.Gd,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.oa[c]=d,!0}return!1}; -g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.Fa=a;this.ab=C(a,"Keyboard");this.Dk=Math.round(c.cd/1193181);Ua(b,this,eh);Wa(b,this,fh);this.Da=bh){this.Za=16;this.Tc=0;this.lc=16;this.Pf=0;this.Md=160;512<=oh(this)&&(this.Md|=16);3==ph(this)&&(this.Md|=64);this.Ug=3;this.Sf=0;this.Hb=Array(7);this.ne=0;this.ka||(this.ka=Array(64), -qh(this,this.En));for(a=14;46>a;a++)void 0===this.ka[a]&&(this.ka[a]=0);this.ka[20]=this.Hc&(ah.Ge|2|Q.Og|Q.Ge);this.ka[16]=rh(this,0)<<4|rh(this,1);sh(this)}}; -function qh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.Tb("CMOS date invalid ("+b+"), using "+c)):b&&a.Tb("CMOS date: "+c);a.ka[0]=c.getSeconds();a.ka[1]=0;a.ka[2]=c.getMinutes();a.ka[3]=0;a.ka[4]=c.getHours();a.ka[5]=0;a.ka[6]=c.getDay()+1;a.ka[7]=c.getDate();a.ka[8]=c.getMonth()+1;c=c.getFullYear();a.ka[9]=c%100;c/=100;a.ka[50]=c%10|c/10<<4;a.gf=-1;a.ka[10]=38;a.ka[11]=2;a.ka[12]=0;a.ka[13]=128} -function sh(a){for(var b=0,c=16;46>c;c++)b+=a.ka[c];a.ka[47]=b&255;a.ka[46]=b>>8} -g.save=function(){var a=new H(this);a.set(0,[this.Eb,this.Gd,this.Hc,this.ge]);for(var b=[],c=0;c=bh&&(a.set(5,[this.Za,this.Tc,this.lc,this.Pf,this.Md,this.Ug]),a.set(6,[this.Sf,this.Hb,this.ne,this.ka,this.gf]));return a.data()}; -g.restore=function(a){var b,c;b=a[0];this.Eb=b[0];this.Gd=b[1];this.Hc=b[2];this.ge=b[3];b=a[1];this.va=Array(this.Se);for(c=0;c>2)+1)*a.jm+32*((b?a.Gd:a.ge)&15)}function vh(a,b){var c=b?a.Eb:a.Hc;return a.Da!=Yg||c&Q.Og?((c&Q.Ge)>>Q.He)+1:0}function rh(a,b){return b>ah.He} -function dh(a,b,c,d,e){for(var f="",l=1;8>=l;l++){var k="pcjs-bitCell";l||(k+=" pcjs-bitCellLeft");f+='
'+l+"
\n"}c.innerHTML=f;b=B(c,"pcjs-bitCell");c=null;for(l=0;l>2].Ja[b&3],c,d,e)}function Eh(a,b,c){b=a.va[b>>2].Ja[b&3];b.Zf&&b.xh&&b.zg?(c&&(b.$f=c),b.ad||Kc(a,b,!0)):c&&c(!0)} -function Kc(a,b,c){c&&(b.count=b.Pb[1]<<8|b.Pb[0],b.Uk=b.mode&12,b.pj=b.Xc=!1);for(var d=!1;0<=b.count&&(c=b.zc<<16|b.ub[1]<<8|b.ub[0],4==b.Uk?(d=!0,function(c){b.xh.call(b.Zf,b.zg,-1,function(f,l){0>f&&(b.pj||(b.pj=!0),f=255);b.ad||Ra(a.ma,c,f);(d=l)&&setTimeout(function(){Hh(b)||Kc(a,b)},0)})}(c)):8==b.Uk?(c=Oa(a.ma,c),0>b.xh.call(b.Zf,b.zg,c)&&(b.Xc=!0)):b.Xc=!0),!d&&!Hh(b););} -function Hh(a){if(!a.Xc&&0<=--a.count&&(a.mode&32?(a.ub[0]--,0>a.ub[0]&&(a.ub[0]=255,a.ub[1]--,0>a.ub[1]&&(a.ub[1]=255))):(a.ub[0]++,255>3,e=a.ob[d];e.wb|=1<<(b&7);e.of=c||0;1==d&&(a.ob[0].wb|=4);Kh(a,d)}function Qh(a,b){var c=b>>3,d=a.ob[c],e=1<<(b&7);d.wb&e&&(d.wb&=~e,1!=c||d.wb||(a.ob[0].wb&=-5),Kh(a,c))} -function Ic(a,b){void 0===b&&(b=0);var c=-1,d=a.ob[b];if(d.of)c=-2,d.of--;else for(var e=d.wb&((d.yc|d.md)^255),f=d.Nd+1;;){var f=f&7,l=1<>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var l=this.Gb[c];l.Bf=f;l.mode=e;l.cj=d;l.pc=[0,0];l.Pb=[0,0];l.Xe=[0,0];l.Kc=!1;l.bf=!1;l.qe=!1;Sh(this,c);0==c&&Qh(this,0);2==c&&255==this.ob[0].md&&77==this.Mb&&(c=this.Gb[0],c.Dc[0]=c.pc[0],c.Dc[1]=c.pc[1],c.Cd=lb(this.ja,this.hg))}else Th(this,c),d=this.Gb[c],d.Xe[0]=d.Pb[0],d.Xe[1]=d.Pb[1],d.bf=!0,Sh(this,c)}};function Vh(a,b){var c=a.Gb[b],d=c.pc[1]<<8|c.pc[0];d||(d=1==c.Vd?256:65536);return d} -function Sh(a,b){var c=a.Gb[b];c.rd=32==c.Bf?1:0;c.Vd=48==c.Bf?2:1} -function Th(a,b,c){var d=a.Gb[b];if(d.qe&&(2!=b||a.Mb&1)){var e=lb(a.ja,a.hg),f=(e-d.Cd)/a.Dk|0;0>f&&(d.Cd=e,f=0);var l=Vh(a,b),k=a.Gb[b],m=k.Dc[1]<<8|k.Dc[0];m||(m=1==k.Vd?256:65536);k=m-f;0==d.mode?(0>=k&&(k=0),k||(d.Kc=!0,d.qe=!1,b||R(a,0))):4==d.mode?(d.Kc=1!=k,0>=k&&(k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0))):6==d.mode&&(k-=f,0>=k&&(d.Kc=!d.Kc,k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0)));d.Pb[0]=k&255;d.Pb[1]=k>>8;c&&(a.Cd=0)}return d} -function nb(a,b){for(var c=0;c=bh){var c=0,d=a.ja.cd,e=lb(a.ja,a.hg);if(0<=a.gf&&(c=e-a.gf,Math.floor(c/d)&&60<=++a.ka[0]&&(a.ka[0]=0,60<=++a.ka[2]&&(a.ka[2]=0,24<=++a.ka[4])))){a.ka[4]=0;a.ka[6]=a.ka[6]%7+1;var f=a.ka[9],l=ka[a.ka[8]-1];28==l&&0===f%4&&(f%100||0===f%400)&&l++;++a.ka[7]>l&&(a.ka[7]=1,12<++a.ka[8]&&(a.ka[8]=1,a.ka[9]=(a.ka[9]+1)%100))}a.gf=e-c%d}}g.Yl=function(){var a=this.Vf;this.Re&16&&(this.Mb&128?a=this.Hc:this.ab&&(a=Wh(this.ab)));return a}; -g.hn=function(a,b){this.Vf=b};g.Zl=function(){return this.Mb};g.jn=function(a,b){Xh(this,b);if(this.ab){var c=this.ab,d=b&128?!1:!0,e=b&64?!0:!1;c.nh!==e&&(c.nh=c.mj=e);c.ph!==d&&(c.ph=d)&&(c.mj?(Yh(c),c.mj=!1):Zh(c))}};function Xh(a,b){var c=!!(b&2),d=!!(a.Mb&2);a.Mb=b;c!=d&&mb(a,c)}g.$l=function(){var a=0,a=this.Da==Yg?this.Mb&4?a|this.ge&15:a|this.ge>>4&1:this.Mb&8?a|this.Hc>>4:a|this.Hc&15;this.Mb&1&&Th(this,2).Kc&&(a=this.Mb&2?a|32:a|16);return a};g.kn=function(a,b){this.Wg=b};g.am=function(){return this.Re}; -g.ln=function(a,b){this.Re=b};g.ol=function(){var a=this.Pf;this.Za&=-258;var b=this.ab&&Wh(this.ab,!0);b&&$h(this,b);return a};g.Cm=function(a,b){if(this.Za&8)switch(this.Tc){case 96:this.lc=b;this.Za=this.Za&-5|b&4;break;case 209:ai(this,b);break;default:if(this.lc&=-17,this.ab){var c=-1;switch(b){case 255:c=250,Yh(this.ab)}$h(this,c)}}this.Tc=b;this.Za&=-9};g.pl=function(){var a=this.Mb&-193;this.Mb^=16;return a};g.Dm=function(a,b){Xh(this,b)}; -g.ql=function(){var a=this.Za&255;this.Za&256&&(this.Za|=1,this.Za&=-257);return a};g.Bm=function(a,b){this.Tc=b;this.Za|=8;var c=0;240<=this.Tc&&(c=this.Tc^15,this.Tc=240);switch(this.Tc){case 192:$h(this,this.Md);break;case 173:this.lc|=16;break;case 174:this.lc&=-17;break;case 170:this.ab&&Zh(this.ab,!0);this.lc|=16;$h(this,85);ai(this,3);break;case 224:$h(this,this.lc&16?0:1);break;case 240:c&1&&Zb(this.ja)}};function $h(a,b){0<=b&&(a.Pf=b,a.Za&=-2,a.Za|=256)} -function ai(a,b){a.Ug=b;Ka(a.ma,!!(b&2));b&1||Zb(a.ja)}g.El=function(){return this.ne};g.Qm=function(a,b){this.ne=b;this.Uf=b&128?0:128};g.Fl=function(){var a=this.ne&63;if(13>=a){var b=this.ka[a];if(10>a){var c=!1;4!=a&&5!=a||this.ka[11]&2||(b=12>b?b?b:12:(b-=12)?b+128:140,c=!0);this.ka[11]&4||(c&&128=c){if(e=b,10>c){var f=!1;this.ka[11]&4||(e=10*(e>>4)+(e&15),f=!0);if(4==c||5==c)f&&12=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;d[c]=e};g.Wl=function(){return this.Sf};g.en=function(a,b){this.Sf=b};g.gn=function(a,b){this.Uf=b};function Zg(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.hb[c++]=f[b]>>16&255,this.hb[c++]=f[b]>>24&255;else this.hb=d;this.Tg=d.symbols;if(!this.hb.length){t("Empty ROM: "+a);return}if(1==this.hb.length){t(this.hb[0]);return}}catch(l){this.xa("ROM data error: "+ -l.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.hb=Array(a.length),d=0;dthis.Of?21:23,c=a.ka[b]|a.ka[b+1]<<8,c=c+(this.gd>>10);a.ka[b]=c&255;a.ka[b+1]=c>>8;sh(a)}}else t("No RAM allocated")}; -u(function(){for(var a=B(window.document,"pcjs","ram"),b=0;bthis.Ba? +1:this.wg},Pg,function(){wg[this.aa()].call(this,xd,this.L);this.A-=0>this.Ba?1:this.wg},function(){tg[this.aa()].call(this,Jd)},function(){N[this.aa()].call(this,Kd)},function(){ug[this.Tf=this.aa()].call(this,Vd)},function(){O[this.Tf=this.aa()].call(this,Wd)},function(){this.Y|=1;tg[this.aa()].call(this,Hd)},function(){this.Y|=1;N[this.aa()].call(this,Hd)},function(){ug[this.aa()].call(this,Hd)},function(){O[this.aa()].call(this,Hd)},function(){var a=this.aa();switch((a&56)>>3){case 0:this.nb= +this.gb.ua;break;case 1:this.nb=this.Ea.ua;break;case 2:this.nb=this.Ub.ua;break;case 3:this.nb=this.bc.ua;break;default:M.call(this);return}this.Y|=1;N[a].call(this,Id)},function(){this.Y|=1;this.C=this.M=this.Nk;O[this.aa()].call(this,Od)},function(){var a,b=this.aa(),c=(b&56)>>3;switch(c){case 0:a=this.G;break;case 2:a=this.J;break;case 3:a=this.B;break;default:if(80286<=this.Da){F.call(this);return}switch(c){case 1:a=this.I;break;case 4:a=this.X;break;case 5:a=this.H;break;case 6:a=this.F;break; +case 7:a=this.D}}O[b].call(this,Hd);switch(c){case 0:oc(this,this.G);this.G=a;break;case 1:ic(this,this.I);this.I=a;break;case 2:nc(this,this.J);this.J=a;break;case 3:mc(this,this.B);this.B=a;break;case 4:oc(this,this.X);this.X=a;break;case 5:ic(this,this.H);this.H=a;break;case 6:nc(this,this.F);this.F=a;break;case 7:mc(this,this.D),this.D=a}},function(){this.Y|=1;wg[this.aa()].call(this,yd,this.Aa)},function(){this.A-=3},function(){var a=this.G;this.G=this.I;this.I=a;this.A-=3},function(){var a= +this.G;this.G=this.J;this.J=a;this.A-=3},function(){var a=this.G;this.G=this.B;this.B=a;this.A-=3},function(){var a=this.G;this.G=this.X;this.X=a;this.A-=3},function(){var a=this.G;this.G=this.H;this.H=a;this.A-=3},function(){var a=this.G;this.G=this.F;this.F=a;this.A-=3},function(){var a=this.G;this.G=this.D;this.D=a;this.A-=3},function(){this.G=this.G<<24>>24&65535;this.A-=2},function(){this.J=this.G&32768?65535:0;this.A-=this.Ej},function(){var a=this.K(),b=this.K();J(this,this.Ea.ua);J(this,this.qa); +Zb(this,a,b);this.A-=this.Hj},function(){M.call(this)},function(){J(this,bc(this));this.A-=this.$b},function(){$b(this,this.Aa());this.A-=this.Rb},function(){var a=this.G>>8;a&1?zc(this):vc(this);a&4?qc(this)||(this.fa^=1):qc(this)&&(this.fa^=1);a&16?Ac(this):wc(this);a&64?Bc(this):xc(this);a&128?Cc(this):tc(this)&&(this.fa^=this.$>>1|this.$>>2,this.ha^=32896);this.A-=this.mb},function(){this.G=this.G&255|(bc(this)&213)<<8;this.A-=this.mb},function(){this.G=this.G&-256|this.S(this.C,this.K());this.A-= +this.bi},function(){this.G=this.T(this.C,this.K());this.A-=this.bi},function(){var a=this.K(),b=this.G;Fc(this,this.C.Ob(a,0),b);this.A-=this.ci},function(){var a=this.K(),b=this.G;Gc(this,this.C.Ob(a,1),b);this.A-=this.ci},function(){var a=1,b=0,c=this.di;this.pa&192&&(a=this.I,b=1,c=this.fi,this.pa&256||(this.A-=this.ei));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F);Fc(this,this.gb.Ob(this.D,0),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.pa&16?-3: +-2),this.Y|=256)}},function(){var a=1,b=0,c=this.di;this.pa&192&&(a=this.I,b=1,c=this.fi,this.pa&256||(this.A-=this.ei));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F);Gc(this,this.gb.Ob(this.D,1),e);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c;this.I-=b;a&&(I(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Oh;this.pa&192&&(a=this.I,b=1,c=this.Qh,this.pa&256||(this.A-=this.Ph));if(a--){var d=this.Ga&1024?-1:1,e=this.S(this.C,this.F),f=this.N(this.gb,this.D);Rc.call(this, +e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&sc(this)==(this.pa&64)&&(I(this,this.pa&16?-3:-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Oh;this.pa&192&&(a=this.I,b=1,c=this.Qh,this.pa&256||(this.A-=this.Ph));if(a--){var d=this.Ga&1024?-2:2,e=this.T(this.C,this.F),f=this.O(this.gb,this.D);Zc.call(this,e,f);this.F=this.F+d&65535;this.D=this.D+d&65535;this.A-=c-this.bb;this.I-=b;a&&sc(this)==(this.pa&64)&&(I(this,this.pa&16?-3:-2),this.Y|=256)}},function(){this.W= +this.fa=this.ha=this.G&255&this.aa();this.$=256;this.A-=this.$d},function(){this.W=this.fa=this.ha=this.G&this.K();this.$=65536;this.A-=this.$d},function(){var a=1,b=0,c=this.oi;this.pa&192&&(a=this.I,b=1,c=this.qi,this.pa&256||(this.A-=this.pi));if(a--){var d=this.G;Fc(this,this.gb.Ob(this.D,0),d);this.D=this.D+(this.Ga&1024?-1:1)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.oi;this.pa&192&&(a=this.I,b=1,c=this.qi,this.pa&256||(this.A-=this.pi));if(a--){var d= +this.G;Gc(this,this.gb.Ob(this.D,1),d);this.D=this.D+(this.Ga&1024?-2:2)&65535;this.A-=c;this.I-=b;a&&(I(this,-2),this.Y|=256)}},function(){var a=1,b=0,c=this.Wh;this.pa&192&&(a=this.I,b=1,c=this.Yh,this.pa&256||(this.A-=this.Xh));a--&&(this.G=this.G&-256|this.S(this.C,this.F),this.F=this.F+(this.Ga&1024?-1:1)&65535,this.A-=c,this.I-=b,a&&(I(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.Wh;this.pa&192&&(a=this.I,b=1,c=this.Yh,this.pa&256||(this.A-=this.Xh));a--&&(this.G=this.T(this.C, +this.F),this.F=this.F+(this.Ga&1024?-2:2)&65535,this.A-=c,this.I-=b,a&&(I(this,this.pa&16?-3:-2),this.Y|=256))},function(){var a=1,b=0,c=this.ii;this.pa&192&&(a=this.I,b=1,c=this.ki,this.pa&256||(this.A-=this.ji));a--&&(Rc.call(this,this.G&255,this.N(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-1:1)&65535,this.A-=c-this.bb,this.I-=b,a&&sc(this)==(this.pa&64)&&(I(this,-2),this.Y|=256))},function(){var a=1,b=0,c=this.ii;this.pa&192&&(a=this.I,b=1,c=this.ki,this.pa&256||(this.A-=this.ji));a--&&(Zc.call(this, +this.G,this.O(this.gb,this.D)),this.D=this.D+(this.Ga&1024?-2:2)&65535,this.A-=c-this.bb,this.I-=b,a&&sc(this)==(this.pa&64)&&(I(this,-2),this.Y|=256))},function(){this.G=this.G&-256|this.aa();this.A-=this.mb},function(){this.I=this.I&-256|this.aa();this.A-=this.mb},function(){this.J=this.J&-256|this.aa();this.A-=this.mb},function(){this.B=this.B&-256|this.aa();this.A-=this.mb},function(){this.G=this.G&255|this.aa()<<8;this.A-=this.mb},function(){this.I=this.I&255|this.aa()<<8;this.A-=this.mb},function(){this.J= +this.J&255|this.aa()<<8;this.A-=this.mb},function(){this.B=this.B&255|this.aa()<<8;this.A-=this.mb},function(){this.G=this.K();this.A-=this.mb},function(){this.I=this.K();this.A-=this.mb},function(){this.J=this.K();this.A-=this.mb},function(){this.B=this.K();this.A-=this.mb},function(){this.X=this.K();this.A-=this.mb},function(){this.H=this.K();this.A-=this.mb},function(){this.F=this.K();this.A-=this.mb},function(){this.D=this.K();this.A-=this.mb},Qg,Rg,Qg,Rg,function(){O[this.aa()].call(this,Qd)}, +function(){O[this.aa()].call(this,Pd)},function(){this.Y|=1;vg[this.aa()].call(this,zd,this.aa)},function(){this.Y|=1;wg[this.aa()].call(this,zd,this.K)},Sg,Tg,Sg,Tg,function(){Ic.call(this,3,null,this.Yj)},function(){var a=this.aa(),b;a:{b=this.Uk[a];if(void 0!==b)for(var c=0;c>8)*a+this.G&255;this.$=256;this.A-=this.Aj},function(){this.G=this.G&-256|(pc(this)?255:0);this.A-=2},function(){this.G= +this.G&-256|this.S(this.C,this.B+(this.G&255)&65535);this.A-=this.zk},Ug,Ug,Ug,Ug,Ug,Ug,Ug,Ug,function(){var a=this.L();(this.I=this.I-1&65535)&&this.W&this.$-1?(H(this,this.qa+a),this.A-=this.gk):this.A-=this.Zh},function(){var a=this.L();!(this.I=this.I-1&65535)||this.W&this.$-1?this.A-=this.ai:(H(this,this.qa+a),this.A-=this.$h)},function(){var a=this.L();(this.I=this.I-1&65535)?(H(this,this.qa+a),this.A-=this.fk):this.A-=this.Zh},function(){var a=this.L();this.I?this.A-=this.ai:(H(this,this.qa+ +a),this.A-=this.$h)},function(){var a=this.aa();this.G=this.G&-256|Va(this.ma,a,this.Ca-2);this.A-=this.Th},function(){var a=this.aa();this.G=Va(this.ma,a,this.Ca-1)|Va(this.ma,a+1&65535,this.Ca-2)<<8;this.A-=this.Th},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);this.A-=this.hi},function(){var a=this.aa();Xa(this.ma,a,this.G&255,this.Ca-2);Xa(this.ma,a+1&65535,this.G>>8,this.Ca-2);this.A-=this.hi},function(){var a=this.K();J(this,this.qa);H(this,this.qa+a);this.A-=this.Fj},function(){var a= +this.K();H(this,this.qa+a);this.A-=this.Uh},function(){Zb(this,this.K(),this.K());this.A-=this.bk},function(){var a=this.L();H(this,this.qa+a);this.A-=this.Uh},function(){this.G=this.G&-256|Va(this.ma,this.J,this.Ca-1);this.A-=this.Sh},function(){this.G=Va(this.ma,this.J,this.Ca-1)|Va(this.ma,this.J+1&65535,this.Ca-1)<<8;this.A-=this.Sh},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);this.A-=this.gi},function(){Xa(this.ma,this.J,this.G&255,this.Ca-1);Xa(this.ma,this.J+1&65535,this.G>>8,this.Ca- +1);this.A-=this.gi},Vg,Vg,function(){this.Y|=132;this.A-=this.rb},function(){this.Y|=68;this.A-=this.rb},function(){this.Va|=4;this.A-=2;this.Ga&512||fb(this)},function(){pc(this)?vc(this):zc(this);this.A-=2},function(){this.nb=-1;vg[this.aa()].call(this,Dd,ud);0<=this.nb&&(this.G=this.nb)},function(){this.nb=-1;wg[this.aa()].call(this,Ed,ud);0<=this.nb&&(this.G=this.nb,this.J=this.Af)},function(){this.W&=~this.$;this.A-=2},function(){this.W|=this.$;this.A-=2},function(){this.Ga&=-513;this.A-=this.Dj}, +function(){this.Ga|=512;this.Y|=4;this.A-=2},function(){this.Ga&=-1025;this.A-=2},function(){this.Ga|=1024;this.A-=2},function(){vg[this.aa()].call(this,Sb,ud)},function(){wg[this.aa()].call(this,Ub,ud)}]; +function P(a){v.call(this,"ChipSet",a,P);this.Da=a.model;this.Da=void 0!==this.Da?parseInt(this.Da,10):Wg;this.Eb=0;var b=a.sw1;if(b)this.Eb=Xg(b,Yg|Zg.Tk);else if(b=a.fdrives||2,this.Eb|=Q.Ng,b--,this.Eb|=(b&3)<=$g&&(this.Te=this.Ue=2);this.gg=a.scaleTimers||!1;this.An=a.rtcDate;this.lj=!1;a.sound&&window&&"webkitAudioContext"in window&& +(this.ah=new webkitAudioContext);this.reset();this.Oa()}y(v,P);var Wg=5150,$g=5170,ah={none:0,tv:1,color:2,mono:3,ega:0},Q={Ng:1},Yg=12,Zg={Ln:16,Hn:32,Tk:48,He:48,Ie:4};Q.ONE=0;Q.Mn=64;Q.Kn=128;Q.In=192;Q.He=192;Q.Ie=6;g=P.prototype; +g.tb=function(a,b,c,d){switch(c){case "sw1":return this.oa[c]=d,bh(this,c,d,this.Eb,{0:this.Da==Wg?"Bootable Floppy Drive":"Loop on POST",1:this.Da==Wg?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Da==Wg)return this.oa[c]=d,bh(this,c,d,this.Fd,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.oa[c]=d,!0}return!1}; +g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.Fa=a;this.ab=C(a,"Keyboard");this.Ak=Math.round(c.cd/1193181);Ua(b,this,ch);Wa(b,this,dh);this.Da<$g?(Ua(b,this,eh),Wa(b,this,fh)):(Ua(b,this,gh),Wa(b,this,hh))};g.Sb=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};g.Jb=function(a){return a&&this.save?this.save():!0}; +g.reset=function(){var a;this.Hc=this.Eb;this.ge=this.Fd;ih(this);this.va=Array(this.Te);for(a=0;a=$g){this.Za=16;this.Tc=0;this.lc=16;this.Pf=0;this.Ld=160;512<=mh(this)&&(this.Ld|=16);3==nh(this)&&(this.Ld|=64);this.Tg=3;this.Sf=0;this.Hb=Array(7);this.ne=0;this.ka||(this.ka=Array(64), +oh(this,this.An));for(a=14;46>a;a++)void 0===this.ka[a]&&(this.ka[a]=0);this.ka[20]=this.Hc&(Zg.He|2|Q.Ng|Q.He);this.ka[16]=ph(this,0)<<4|ph(this,1);qh(this)}}; +function oh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.Tb("CMOS date invalid ("+b+"), using "+c)):b&&a.Tb("CMOS date: "+c);a.ka[0]=c.getSeconds();a.ka[1]=0;a.ka[2]=c.getMinutes();a.ka[3]=0;a.ka[4]=c.getHours();a.ka[5]=0;a.ka[6]=c.getDay()+1;a.ka[7]=c.getDate();a.ka[8]=c.getMonth()+1;c=c.getFullYear();a.ka[9]=c%100;c/=100;a.ka[50]=c%10|c/10<<4;a.gf=-1;a.ka[10]=38;a.ka[11]=2;a.ka[12]=0;a.ka[13]=128} +function qh(a){for(var b=0,c=16;46>c;c++)b+=a.ka[c];a.ka[47]=b&255;a.ka[46]=b>>8} +g.save=function(){var a=new G(this);a.set(0,[this.Eb,this.Fd,this.Hc,this.ge]);for(var b=[],c=0;c=$g&&(a.set(5,[this.Za,this.Tc,this.lc,this.Pf,this.Ld,this.Tg]),a.set(6,[this.Sf,this.Hb,this.ne,this.ka,this.gf]));return a.data()}; +g.restore=function(a){var b,c;b=a[0];this.Eb=b[0];this.Fd=b[1];this.Hc=b[2];this.ge=b[3];b=a[1];this.va=Array(this.Te);for(c=0;c>2)+1)*a.hm+32*((b?a.Fd:a.ge)&15)}function th(a,b){var c=b?a.Eb:a.Hc;return a.Da!=Wg||c&Q.Ng?((c&Q.He)>>Q.Ie)+1:0}function ph(a,b){return b>Zg.Ie} +function bh(a,b,c,d,e){for(var f="",l=1;8>=l;l++){var k="pcjs-bitCell";l||(k+=" pcjs-bitCellLeft");f+='
'+l+"
\n"}c.innerHTML=f;b=B(c,"pcjs-bitCell");c=null;for(l=0;l>2].Ja[b&3],c,d,e)}function Ch(a,b,c){b=a.va[b>>2].Ja[b&3];b.Zf&&b.wh&&b.yg?(c&&(b.$f=c),b.ad||Jc(a,b,!0)):c&&c(!0)} +function Jc(a,b,c){c&&(b.count=b.Pb[1]<<8|b.Pb[0],b.Rk=b.mode&12,b.mj=b.Xc=!1);for(var d=!1;0<=b.count&&(c=b.zc<<16|b.ub[1]<<8|b.ub[0],4==b.Rk?(d=!0,function(c){b.wh.call(b.Zf,b.yg,-1,function(f,l){0>f&&(b.mj||(b.mj=!0),f=255);b.ad||Ra(a.ma,c,f);(d=l)&&setTimeout(function(){Fh(b)||Jc(a,b)},0)})}(c)):8==b.Rk?(c=Oa(a.ma,c),0>b.wh.call(b.Zf,b.yg,c)&&(b.Xc=!0)):b.Xc=!0),!d&&!Fh(b););} +function Fh(a){if(!a.Xc&&0<=--a.count&&(a.mode&32?(a.ub[0]--,0>a.ub[0]&&(a.ub[0]=255,a.ub[1]--,0>a.ub[1]&&(a.ub[1]=255))):(a.ub[0]++,255>3,e=a.ob[d];e.wb|=1<<(b&7);e.of=c||0;1==d&&(a.ob[0].wb|=4);Ih(a,d)}function Kh(a,b){var c=b>>3,d=a.ob[c],e=1<<(b&7);d.wb&e&&(d.wb&=~e,1!=c||d.wb||(a.ob[0].wb&=-5),Ih(a,c))} +function Hc(a,b){void 0===b&&(b=0);var c=-1,d=a.ob[b];if(d.of)c=-2,d.of--;else for(var e=d.wb&((d.yc|d.md)^255),f=d.Md+1;;){var f=f&7,l=1<>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var l=this.Gb[c];l.Bf=f;l.mode=e;l.aj=d;l.pc=[0,0];l.Pb=[0,0];l.Ye=[0,0];l.Kc=!1;l.cf=!1;l.qe=!1;Qh(this,c);0==c&&Kh(this,0);2==c&&255==this.ob[0].md&&77==this.Mb&&(c=this.Gb[0],c.Dc[0]=c.pc[0],c.Dc[1]=c.pc[1],c.Cd=kb(this.ja,this.gg))}else Rh(this,c),d=this.Gb[c],d.Ye[0]=d.Pb[0],d.Ye[1]=d.Pb[1],d.cf=!0,Qh(this,c)}};function Th(a,b){var c=a.Gb[b],d=c.pc[1]<<8|c.pc[0];d||(d=1==c.Ud?256:65536);return d} +function Qh(a,b){var c=a.Gb[b];c.rd=32==c.Bf?1:0;c.Ud=48==c.Bf?2:1} +function Rh(a,b,c){var d=a.Gb[b];if(d.qe&&(2!=b||a.Mb&1)){var e=kb(a.ja,a.gg),f=(e-d.Cd)/a.Ak|0;0>f&&(d.Cd=e,f=0);var l=Th(a,b),k=a.Gb[b],m=k.Dc[1]<<8|k.Dc[0];m||(m=1==k.Ud?256:65536);k=m-f;0==d.mode?(0>=k&&(k=0),k||(d.Kc=!0,d.qe=!1,b||R(a,0))):4==d.mode?(d.Kc=1!=k,0>=k&&(k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0))):6==d.mode&&(k-=f,0>=k&&(d.Kc=!d.Kc,k=l+k,0>=k&&(k=l),d.Dc[0]=k&255,d.Dc[1]=k>>8,d.Cd=e,!b&&d.Kc&&R(a,0)));d.Pb[0]=k&255;d.Pb[1]=k>>8;c&&(a.Cd=0)}return d} +function mb(a,b){for(var c=0;c=$g){var c=0,d=a.ja.cd,e=kb(a.ja,a.gg);if(0<=a.gf&&(c=e-a.gf,Math.floor(c/d)&&60<=++a.ka[0]&&(a.ka[0]=0,60<=++a.ka[2]&&(a.ka[2]=0,24<=++a.ka[4])))){a.ka[4]=0;a.ka[6]=a.ka[6]%7+1;var f=a.ka[9],l=ka[a.ka[8]-1];28==l&&0===f%4&&(f%100||0===f%400)&&l++;++a.ka[7]>l&&(a.ka[7]=1,12<++a.ka[8]&&(a.ka[8]=1,a.ka[9]=(a.ka[9]+1)%100))}a.gf=e-c%d}}g.Wl=function(){var a=this.Vf;this.Se&16&&(this.Mb&128?a=this.Hc:this.ab&&(a=Uh(this.ab)));return a}; +g.fn=function(a,b){this.Vf=b};g.Xl=function(){return this.Mb};g.gn=function(a,b){Vh(this,b);if(this.ab){var c=this.ab,d=b&128?!1:!0,e=b&64?!0:!1;c.mh!==e&&(c.mh=c.jj=e);c.oh!==d&&(c.oh=d)&&(c.jj?(Wh(c),c.jj=!1):Xh(c))}};function Vh(a,b){var c=!!(b&2),d=!!(a.Mb&2);a.Mb=b;c!=d&&lb(a,c)}g.Yl=function(){var a=0,a=this.Da==Wg?this.Mb&4?a|this.ge&15:a|this.ge>>4&1:this.Mb&8?a|this.Hc>>4:a|this.Hc&15;this.Mb&1&&Rh(this,2).Kc&&(a=this.Mb&2?a|32:a|16);return a};g.hn=function(a,b){this.Vg=b};g.Zl=function(){return this.Se}; +g.jn=function(a,b){this.Se=b};g.ml=function(){var a=this.Pf;this.Za&=-258;var b=this.ab&&Uh(this.ab,!0);b&&Yh(this,b);return a};g.Am=function(a,b){if(this.Za&8)switch(this.Tc){case 96:this.lc=b;this.Za=this.Za&-5|b&4;break;case 209:Zh(this,b);break;default:if(this.lc&=-17,this.ab){var c=-1;switch(b){case 255:c=250,Wh(this.ab)}Yh(this,c)}}this.Tc=b;this.Za&=-9};g.nl=function(){var a=this.Mb&-193;this.Mb^=16;return a};g.Bm=function(a,b){Vh(this,b)}; +g.ol=function(){var a=this.Za&255;this.Za&256&&(this.Za|=1,this.Za&=-257);return a};g.zm=function(a,b){this.Tc=b;this.Za|=8;var c=0;240<=this.Tc&&(c=this.Tc^15,this.Tc=240);switch(this.Tc){case 192:Yh(this,this.Ld);break;case 173:this.lc|=16;break;case 174:this.lc&=-17;break;case 170:this.ab&&Xh(this.ab,!0);this.lc|=16;Yh(this,85);Zh(this,3);break;case 224:Yh(this,this.lc&16?0:1);break;case 240:c&1&&Yb(this.ja)}};function Yh(a,b){0<=b&&(a.Pf=b,a.Za&=-2,a.Za|=256)} +function Zh(a,b){a.Tg=b;Ka(a.ma,!!(b&2));b&1||Yb(a.ja)}g.Cl=function(){return this.ne};g.Om=function(a,b){this.ne=b;this.Uf=b&128?0:128};g.Dl=function(){var a=this.ne&63;if(13>=a){var b=this.ka[a];if(10>a){var c=!1;4!=a&&5!=a||this.ka[11]&2||(b=12>b?b?b:12:(b-=12)?b+128:140,c=!0);this.ka[11]&4||(c&&128=c){if(e=b,10>c){var f=!1;this.ka[11]&4||(e=10*(e>>4)+(e&15),f=!0);if(4==c||5==c)f&&12=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;d[c]=e};g.Ul=function(){return this.Sf};g.cn=function(a,b){this.Sf=b};g.en=function(a,b){this.Uf=b};function Xg(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>8&255,this.hb[c++]=f[b]>>16&255,this.hb[c++]=f[b]>>24&255;else this.hb=d;this.Sg=d.symbols;if(!this.hb.length){t("Empty ROM: "+a);return}if(1==this.hb.length){t(this.hb[0]);return}}catch(l){this.xa("ROM data error: "+ +l.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.hb=Array(a.length),d=0;dthis.Of?21:23,c=a.ka[b]|a.ka[b+1]<<8,c=c+(this.gd>>10);a.ka[b]=c&255;a.ka[b+1]=c>>8;qh(a)}}else t("No RAM allocated")}; +u(function(){for(var a=B(window.document,"pcjs","ram"),b=0;ba.fc.length){if(!(!d&&!a.Sg[c]||d&&a.Sg[c])){a.Sg[c]=d;a.fc.push(b);1==a.fc.length&&a.ga&&R(a.ga,1);for(var e in hi)if(hi[e]==c){(c=a.oa["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.fc.length&&a.fc.push(255)}function mi(a,b){var c=b?a.pm:a.om;a.ja&&a.ja.Lc&&(c/=a.ja.Lc);return c}function ni(a,b){!a.ee||void 0!==b&&b==a.ee||(clearTimeout(a.Pc[a.ee]),oi(a,a.ee,!1))} -function ji(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Hk=f);240==f+224?(a.wa&=-2,c&&(a.wa|=1),f+=224,e=!1):241==f+224?(a.wa&=-5,c&&(a.wa|=4),f+=224,e=!1):242==f+224?(a.wa&=-9,c&&(a.wa|=8),f+=224,e=!1):244==f+224?(a.wa&=-17,c&&(a.wa|=16),f+=224,d=ki(a,f)):91==f?(a.wa&=-33,c&&(a.wa|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.wa&12)&&(f=254),d=c?!ki(a,f):!1):void 0!==S[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.wa&=-33,a.el||f!=a.Hk||ni(a));void 0===d&&(d=!oi(a,f,c));return d} -function ki(a,b,c){var d=!1;ni(a,b);oi(a,b,!0)&&(c?oi(a,b,!1):(c=!1,a.Pc[b]&&(clearTimeout(a.Pc[b]),c=!0),c=mi(a,c),a.Pc[a.ee=b]=setTimeout(function(a){return function(){oi(a,b,!1)}}(a),c)),d=!0);return d} -function oi(a,b,c){var d=!1;c||(a.Pc[b]=null,a.ee==b&&(a.ee=0));var e=S[b];void 0===e&&1<=b&&26>=b&&(e=S[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.wa&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.wa&17||(d=42):224==f?a.wa&18||(d=54):241==f?a.wa&4||(d=29):242==f&&(a.wa&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(Ai)];this.kg=b;this.Ya=e[2];this.cc=e[3];this.Bc=d||e[4];65536<=this.Bc&&720896<=this.Ya&&(this.cc=Math.min(this.Bc>>2,32768));this.Yb=c[0];this.hc=c[1];this.Ve=c[2];this.Ff=c[3];this.sc=c[4]&255;this.jg=c[4]>>8&255;this.Vb=c[5];this.Fh=Ai;if(5==b){this.Fh=Bi;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,this.Bc,Array(this.Bc>>2),771,0,4294967295, -0,4294967295,0,4294967295,0]);this.ud=b[0];this.Zd=b[1];this.Id=b[2];this.Mi=b[3];this.pg=b[4];this.vh=b[5];this.ve=b[6];this.Mf=b[7];this.yh=b[8];this.zh=b[9];this.ue=b[10];this.je=b[11];this.kb=b[12];d=this.Bc>>2;if((this.Ld=b[14])&&this.Ld.length>8&255)}var Y=[,,function(a){a+=this.offset;return(this.ea.kb=this.la[a])>>this.ea.xi&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.la[b]>>8:this.la[b])&255}]; -Y[16]=function(a){a+=this.offset;a=this.la[a];for(var b=this.ea.Hh&this.ea.Ih,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};Y[512]=function(a,b){var c=a+this.offset,d;d=this.la[c]&~this.ea.Ta|(b|b<<8|b<<16|b<<24)&this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[1024]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[1536]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d&=this.ea.kb;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[2560]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d|=this.ea.kb;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[3584]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.be;d^=this.ea.kb;d=d&this.ea.Ta|this.la[c]&~this.ea.Ta;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)};Y[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ea.Ta&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.la[d]&~c;c=c&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[d]!=c&&(this.la[d]=c,this.Qa=!0)}; -Y[4096]=function(a){a+=this.offset;var b=this.la[a]&~this.ea.Ta|this.ea.kb&this.ea.Ta;this.la[a]!=b&&(this.la[a]=b,this.Qa=!0)};Y[8192]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)};Y[24576]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d&this.ea.kb,d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -Y[40960]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d|this.ea.kb,d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)};Y[57344]=function(a,b){var c=a+this.offset,d=xi[b&15],d=d^this.ea.kb,d=d&this.ea.Ta|this.la[c]&~this.ea.Ta,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Qa=!0)}; -function Ei(a){var b=[];if(void 0!==a.kg){b[0]=a.Yb;b[1]=a.hc;b[2]=a.Ve;b[3]=a.Ff;b[4]=a.sc|a.jg<<8;b[5]=a.Vb;if(5==a.kg){var c=[];c[0]=a.ud;c[1]=a.Zd;c[2]=a.Id;c[3]=a.Mi;c[4]=a.pg;c[5]=a.vh;c[6]=a.ve;c[7]=a.Mf;c[8]=a.yh;c[9]=a.zh;c[10]=a.ue;c[11]=a.je;c[12]=a.kb;c[13]=a.Bc;var d;a:if(d=a.Ld){var e=0,f=[];if(void 0!==d[0])for(var l=0;2>l;l++)for(var k=l;k>1;f[e++]=m;k=n}if(f.lengtha.fc.length){if(!(!d&&!a.Rg[c]||d&&a.Rg[c])){a.Rg[c]=d;a.fc.push(b);1==a.fc.length&&a.ga&&R(a.ga,1);for(var e in fi)if(fi[e]==c){(c=a.oa["key-"+e])&&void 0!==d&&(c.style.color=d?"#ffffff":"#000000",c.style.backgroundColor=d?"#000000":"#ffffff");break}}}else 20==a.fc.length&&a.fc.push(255)}function ki(a,b){var c=b?a.nm:a.mm;a.ja&&a.ja.Lc&&(c/=a.ja.Lc);return c}function li(a,b){!a.de||void 0!==b&&b==a.de||(clearTimeout(a.Pc[a.de]),mi(a,a.de,!1))} +function hi(a,b,c){var d,e=!c,f=b.keyCode;c&&(a.Ek=f);240==f+224?(a.wa&=-2,c&&(a.wa|=1),f+=224,e=!1):241==f+224?(a.wa&=-5,c&&(a.wa|=4),f+=224,e=!1):242==f+224?(a.wa&=-9,c&&(a.wa|=8),f+=224,e=!1):244==f+224?(a.wa&=-17,c&&(a.wa|=16),f+=224,d=ii(a,f)):91==f?(a.wa&=-33,c&&(a.wa|=32),e=!1,d=!0):9==f||27==f||8==f?(8==f&&4==(a.wa&12)&&(f=254),d=c?!ii(a,f):!1):void 0!==S[f+224]?f+=224:b.altKey||b.ctrlKey?65<=f&&90>=f&&(f+=32):d=!0;e&&(a.wa&=-33,a.cl||f!=a.Ek||li(a));void 0===d&&(d=!mi(a,f,c));return d} +function ii(a,b,c){var d=!1;li(a,b);mi(a,b,!0)&&(c?mi(a,b,!1):(c=!1,a.Pc[b]&&(clearTimeout(a.Pc[b]),c=!0),c=ki(a,c),a.Pc[a.de=b]=setTimeout(function(a){return function(){mi(a,b,!1)}}(a),c)),d=!0);return d} +function mi(a,b,c){var d=!1;c||(a.Pc[b]=null,a.de==b&&(a.de=0));var e=S[b];void 0===e&&1<=b&&26>=b&&(e=S[b+64]&255|61696);if(void 0!==e){14==e&&12==(a.wa&12)&&(e=83);b=[];for(b.push(e&255|(c?0:128));e>>=8;){var d=0,f=e&255;240==f?a.wa&17||(d=42):224==f?a.wa&18||(d=54):241==f?a.wa&4||(d=29):242==f&&(a.wa&8||(d=56));d&&(c?b.unshift(d):b.push(d|128))}for(c=0;cc.length)c=[!1,0,null,null,0,Array(yi)];this.jg=b;this.Ya=e[2];this.cc=e[3];this.Bc=d||e[4];65536<=this.Bc&&720896<=this.Ya&&(this.cc=Math.min(this.Bc>>2,32768));this.Yb=c[0];this.hc=c[1];this.We=c[2];this.Ff=c[3];this.sc=c[4]&255;this.ig=c[4]>>8&255;this.Vb=c[5];this.Eh=yi;if(5==b){this.Eh=zi;b=c[6];void 0===b&&(b=[!1,0,Array(20),0,3==f?0:1,0,0,Array(5),0,0,0,Array(9),0,this.Bc,Array(this.Bc>>2),771,0,4294967295, +0,4294967295,0,4294967295,0]);this.ud=b[0];this.Yd=b[1];this.Hd=b[2];this.Li=b[3];this.og=b[4];this.uh=b[5];this.ve=b[6];this.Mf=b[7];this.xh=b[8];this.yh=b[9];this.ue=b[10];this.je=b[11];this.kb=b[12];d=this.Bc>>2;if((this.Kd=b[14])&&this.Kd.length>8&255)}var Y=[,,function(a){a+=this.offset;return(this.ea.kb=this.la[a])>>this.ea.wi&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.la[b]>>8:this.la[b])&255}]; +Y[16]=function(a){a+=this.offset;a=this.la[a];for(var b=this.ea.Gh&this.ea.Hh,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};Y[512]=function(a,b){var c=a+this.offset,d;d=this.la[c]&~this.ea.Sa|(b|b<<8|b<<16|b<<24)&this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[1024]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[1536]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d&=this.ea.kb;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[2560]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d|=this.ea.kb;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[3584]=function(a,b){var c=a+this.offset;b=b>>this.ea.Mc|b<<8-this.ea.Mc&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Bd|this.ea.ae;d^=this.ea.kb;d=d&this.ea.Sa|this.la[c]&~this.ea.Sa;d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)};Y[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ea.Sa&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.la[d]&~c;c=c&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[d]!=c&&(this.la[d]=c,this.Ua=!0)}; +Y[4096]=function(a){a+=this.offset;var b=this.la[a]&~this.ea.Sa|this.ea.kb&this.ea.Sa;this.la[a]!=b&&(this.la[a]=b,this.Ua=!0)};Y[8192]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)};Y[24576]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d&this.ea.kb,d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +Y[40960]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d|this.ea.kb,d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)};Y[57344]=function(a,b){var c=a+this.offset,d=vi[b&15],d=d^this.ea.kb,d=d&this.ea.Sa|this.la[c]&~this.ea.Sa,d=d&this.ea.Wa|this.ea.kb&~this.ea.Wa;this.la[c]!=d&&(this.la[c]=d,this.Ua=!0)}; +function Ci(a){var b=[];if(void 0!==a.jg){b[0]=a.Yb;b[1]=a.hc;b[2]=a.We;b[3]=a.Ff;b[4]=a.sc|a.ig<<8;b[5]=a.Vb;if(5==a.jg){var c=[];c[0]=a.ud;c[1]=a.Yd;c[2]=a.Hd;c[3]=a.Li;c[4]=a.og;c[5]=a.uh;c[6]=a.ve;c[7]=a.Mf;c[8]=a.xh;c[9]=a.yh;c[10]=a.ue;c[11]=a.je;c[12]=a.kb;c[13]=a.Bc;var d;a:if(d=a.Kd){var e=0,f=[];if(void 0!==d[0])for(var l=0;2>l;l++)for(var k=l;k>1;f[e++]=m;k=n}if(f.length>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),Sa(this.ma,b,c|d<<8);bb(this,!0)}};function Li(a){a.ia.pg&1?(a.Ac=a.$g,a.Nb=a.ia):(a.Ac=a.ia,a.Nb=a.Yf)}g.save=function(){var a=new H(this);a.set(0,Ei(this.$g));a.set(1,Ei(this.Yf));a.set(2,[this.zd,this.Nc,this.yd]);a.set(3,Ei(this.ia));return a.data()}; -g.restore=function(a){var b=a[2];this.zd=b[0];this.Nc=b[1];this.yd=b[2];this.za=null;this.Ac=this.$g=new yi(this,1,a[0]);this.Nb=this.Yf=new yi(this,3,a[1]);this.ia=new yi(this,5,a[3],this.Bc);this.ia.Yb&&Li(this);Mi(this);if(!Oi(this))return!1;Pi(this);return!0}; -g.xm=function(a,b,c){if(c)this.xa("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){t("Empty font ROM image: "+a);return}if(1==d.length){t(d[0]);return}if(8192==d.length)ei(this,d,[0,6144]);else{this.xa("Unrecognized font data length ("+d.length+")");return}}catch(e){this.xa("Font ROM data error: "+e.message);return}this.Oa()}}; -function Qi(a,b){if(1==b)return a.Qc[0]=W[0],a.Qc[1]=W[7],a.Qc;if(2==b){var c=a.za.Ve;if(a.za===a.ia){var d=a.ia.Id[0],c=d&7;d&16&&(c|=8);18!=a.ia.Id[1]&&(c|=32)}a.Qc[0]=W[c&15];c=c&32?vi:ui;for(d=0;deb||!ba?eb:8,id=Mh.createImageData(n.Wb,n.Xb),sa=0;256>sa;sa++){for(Qa= -0;Qa=eb-2,Pj=kc[Qa>(8<=qb&&176<=sa&&223>=sa?7:qb)?r:hd;Ti(id,Nh,Oh,Ph);L&&Ti(id,Nh+1,Oh,Ph)}Mh.putImageData(id,(sa&15)*n.Wb,(sa>>4)*n.Xb)}n.ie[x]="#"+aa(r[0])+aa(r[1])+aa(r[2]);n.Ti[x]=r;n.Pg[x]=lc;n=!0}}a.jd[b]=s;return n}function Ui(a){0a.Sd&&(a.Sd=0):a.Sd=-1} -function Pi(a){if(a.Ab){for(var b=10;15>=b;b++)if(null==a.za.Vb[b])return;var c=a.za.Vb[10],b=c&31,d=a.za.Vb[11]&31,e=a.za.Vb[9]&31,f=!1;a.za===a.ia&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Vi(a);else{c=a.za.Vb[15]+((a.za.Vb[14]&63)<<8);a.tc!=c&&(Vi(a),a.tc=c);d=d-b+1;if(a.Vk!=b||a.hj!=d)a.Vk=b,a.hj=d;a.sd=e+1;Ui(a)}}} -function Vi(a){if(0<=a.tc){if(void 0!==a.Lb){var b=a.Lb[a.tc];if(b&131072){var b=b&-131073,c=a.tc%a.lb,d=Math.floor(a.tc/a.lb);a.Ab&&a.jd[a.Ab]&&(a.pe&&Wi(a,c,d,b,a.pe),Wi(a,c,d,b));a.Lb[a.tc]=b}}a.tc=-1}} -function Xi(a){var b;a=a.za;var c=a.je[5];if(null!=c){b=2;var d=512,e=a.je[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.Mc=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}g.Fd=function(a){var b=this.za;null!=a&&b&&a!=b.Eh&&(b.Kg(a),this.ma.Kg(b.Ya,b.cc,b.Ne))}; -function Oi(a,b){var c,d=a.yd,e=a.za;if(e)if(1==e.kg)d=pi;else if(5==e.kg){var d=null,f=e.Bc>>2,l=32768f&&(d=c?13:14):c&&(d-=2));c=Xi(a)}}else e.hc&8&&(e.hc&2?(d=e.hc&16?6:5,e.hc&4||(d-=1)):(d=e.hc&1?3:1,e.hc&4&&(d-= -1)));else a.yd=null,null==d&&(d=a.Nc);if(!Ni(a,d,b))return!1;a.Fd(c);return!0} -function Ni(a,b,c){if(null!=b&&(b!=a.yd||c)){a.Zk=0;a.yd=b;b=a.za||(b==pi?a.Ac:a.Nb);if(b!=a.za||b.Ya!=a.Ya||b.cc!=a.cc){Vi(a);if(a.Ya){if(!Na(a.ma,a.Ya,a.cc))return!1;a.za&&(a.za.Yb=!1)}a.za=b;b.Yb=!0;a.Ya=b.Ya;a.cc=b.cc;if(!La(a.ma,b.Ya,b.cc,!1,b===a.ia?b:null))return!1}a.Ab=0;a.lb=a.vg;a.ac=a.Lh;a.Gh=U[pi][2];b=0;var d=U[a.yd];d&&(a.lb=d[0],a.ac=d[1],a.Gh=d[2],b=d[3]||0,a.Ab=d[4],4==a.zd&&a.za===a.ia&&3==a.Ab&&(7==a.ia.Vb[9]?a.ac=43:a.Ab=5));a.zj=a.lb*a.ac;a.sg=a.zj/a.Gh;a.ah=(a.sg<<1)+b;a.fj= -b?a.ah+b>>1:0;13<=a.yd&&(a.sg<<=1);a.jd.length&&(a.Vc=Math.floor(a.Uc/a.lb),a.Wc=Math.floor(a.td/a.ac),a.Ab?(b=a.jd[a.Ab],d=a.jd[a.Ab<<1],a.fl&&80==a.lb?d&&a.Vc>=3*d.Wb>>2&&(a.Ab<<=1,b=d):(d&&a.Vc>=d.Wb&&(a.Ab<<=1,b=d),b&&(a.Vc=b.Wb,a.Wc=b.Xb)),a.Ye=a.Ze=0,b&&(a.Ye=a.lb*b.Wb,a.Ze=a.ac*b.Xb)):(a.Vc=a.Wc=1,a.Ye=a.lb,a.Ze=a.ac),a.mg=a.Cc.createImageData(a.Ye,a.Ze),a.oe=window.document.createElement("canvas"),a.oe.width=a.Ye,a.oe.height=a.Ze,a.pe=a.oe.getContext("2d"),a.Pi=a.Qi=0,a.eh=a.Uc,a.fh=a.td, -b=a.Uc-a.lb*a.Vc,d=a.td-a.ac*a.Wc,0>1,a.eh-=b),0>1,a.fh-=d),b||d)&&(a.Cc.fillStyle=a.qb.style.backgroundColor,a.Cc.fillRect(0,0,a.Uc,a.td));!1!==c?bb(a,!0):Yi(a,!0)}return!0}function Ti(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Yi(a,b){var c;if(b){if(c=a.sg,void 0===a.Lb||a.Lb.length!=c)a.Lb=Array(c)}else{if(void 0===a.Lb)return;c=a.Lb.length}for(var d=0;d>8;d=l&15;var k=a.jd[a.Ab];k.Ie&&(d=k.Ie[d]);var m=l>>4&15;k.Ie&&(m=k.Ie[m]);e?(b*=k.Wb,c*=k.Xb,e.fillStyle=k.ie[m],e.fillRect(b,c,k.Wb,k.Xb)):(b=b*a.Vc+a.Pi,c=c*a.Wc+a.Qi,a.Cc.fillStyle=k.ie[m],a.Cc.fillRect(b,c,a.Vc,a.Wc));l&256&&(m=(f&15)*k.Wb,f=(f>>4)*k.Xb,e?e.drawImage(k.Pg[d],m,f,k.Wb,k.Xb,b,c,k.Wb,k.Xb):a.Cc.drawImage(k.Pg[d],m,f,k.Wb,k.Xb,b,c,a.Vc,a.Wc));l&512&&(f=a.Vk,l=a.hj,e?(a.sd&&a.sd!==k.Xb&&(f=Math.floor(f*k.Xb/a.sd),l=Math.floor(l*k.Xb/a.sd)), +g.reset=function(){var a=!0,b=0;this.ga&&(b=nh(this.ga));var c=!1;if(this.Da)switch(this.Da){case "ega":var c=!0,d=pi[this.Qf];d&&(b=d[0]);b||(b=4);break;case "mda":b=3;break;default:b=2}this.zd!==b&&(this.zd=b,a=!0);this.za=null;this.Ac=this.Zg=new wi(this,1);this.Nb=this.Yf=new wi(this,3);c?(this.ia=new wi(this,5,null,this.Bc),Ji(this)):this.ia=new wi;Ki(this);this.yd=null;this.Nc=3==b?ni:3;this.Rd=this.tc=-1;this.Qd=0;Li(this,this.Nc);if(this.za.Ya&&a){a=this.za.Ya+this.$g;for(b=this.za.Ya;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),Sa(this.ma,b,c|d<<8);ab(this,!0)}};function Ji(a){a.ia.og&1?(a.Ac=a.Zg,a.Nb=a.ia):(a.Ac=a.ia,a.Nb=a.Yf)}g.save=function(){var a=new G(this);a.set(0,Ci(this.Zg));a.set(1,Ci(this.Yf));a.set(2,[this.zd,this.Nc,this.yd]);a.set(3,Ci(this.ia));return a.data()}; +g.restore=function(a){var b=a[2];this.zd=b[0];this.Nc=b[1];this.yd=b[2];this.za=null;this.Ac=this.Zg=new wi(this,1,a[0]);this.Nb=this.Yf=new wi(this,3,a[1]);this.ia=new wi(this,5,a[3],this.Bc);this.ia.Yb&&Ji(this);Ki(this);if(!Mi(this))return!1;Ni(this);return!0}; +g.vm=function(a,b,c){if(c)this.xa("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){t("Empty font ROM image: "+a);return}if(1==d.length){t(d[0]);return}if(8192==d.length)ci(this,d,[0,6144]);else{this.xa("Unrecognized font data length ("+d.length+")");return}}catch(e){this.xa("Font ROM data error: "+e.message);return}this.Oa()}}; +function Oi(a,b){if(1==b)return a.Qc[0]=W[0],a.Qc[1]=W[7],a.Qc;if(2==b){var c=a.za.We;if(a.za===a.ia){var d=a.ia.Hd[0],c=d&7;d&16&&(c|=8);18!=a.ia.Hd[1]&&(c|=32)}a.Qc[0]=W[c&15];c=c&32?ti:si;for(d=0;deb||!aa?eb:8,hd=Lh.createImageData(n.Wb,n.Xb),ra=0;256>ra;ra++){for(Qa= +0;Qa=eb-2,Nj=jc[Qa>(8<=qb&&176<=ra&&223>=ra?7:qb)?r:gd;Ri(hd,Mh,Nh,Oh);L&&Ri(hd,Mh+1,Nh,Oh)}Lh.putImageData(hd,(ra&15)*n.Wb,(ra>>4)*n.Xb)}n.ie[x]="#"+ca(r[0])+ca(r[1])+ca(r[2]);n.Si[x]=r;n.Og[x]=kc;n=!0}}a.jd[b]=s;return n}function Si(a){0a.Rd&&(a.Rd=0):a.Rd=-1} +function Ni(a){if(a.Ab){for(var b=10;15>=b;b++)if(null==a.za.Vb[b])return;var c=a.za.Vb[10],b=c&31,d=a.za.Vb[11]&31,e=a.za.Vb[9]&31,f=!1;a.za===a.ia&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)Ti(a);else{c=a.za.Vb[15]+((a.za.Vb[14]&63)<<8);a.tc!=c&&(Ti(a),a.tc=c);d=d-b+1;if(a.Sk!=b||a.ej!=d)a.Sk=b,a.ej=d;a.sd=e+1;Si(a)}}} +function Ti(a){if(0<=a.tc){if(void 0!==a.Lb){var b=a.Lb[a.tc];if(b&131072){var b=b&-131073,c=a.tc%a.lb,d=Math.floor(a.tc/a.lb);a.Ab&&a.jd[a.Ab]&&(a.pe&&Ui(a,c,d,b,a.pe),Ui(a,c,d,b));a.Lb[a.tc]=b}}a.tc=-1}} +function Vi(a){var b;a=a.za;var c=a.je[5];if(null!=c){b=2;var d=512,e=a.je[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.Mc=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}g.fe=function(a){var b=this.za;null!=a&&b&&a!=b.Dh&&(b.Jg(a),this.ma.Jg(b.Ya,b.cc,b.Oe))}; +function Mi(a,b){var c,d=a.yd,e=a.za;if(e)if(1==e.jg)d=ni;else if(5==e.jg){var d=null,f=e.Bc>>2,l=32768f&&(d=c?13:14):c&&(d-=2));c=Vi(a)}}else e.hc&8&&(e.hc&2?(d=e.hc&16?6:5,e.hc&4||(d-=1)):(d=e.hc&1?3:1,e.hc&4&&(d-= +1)));else a.yd=null,null==d&&(d=a.Nc);if(!Li(a,d,b))return!1;a.fe(c);return!0} +function Li(a,b,c){if(null!=b&&(b!=a.yd||c)){a.Wk=0;a.yd=b;b=a.za||(b==ni?a.Ac:a.Nb);if(b!=a.za||b.Ya!=a.Ya||b.cc!=a.cc){Ti(a);if(a.Ya){if(!Na(a.ma,a.Ya,a.cc))return!1;a.za&&(a.za.Yb=!1)}a.za=b;b.Yb=!0;a.Ya=b.Ya;a.cc=b.cc;if(!La(a.ma,b.Ya,b.cc,!1,b===a.ia?b:null))return!1}a.Ab=0;a.lb=a.ug;a.ac=a.Kh;a.Fh=U[ni][2];b=0;var d=U[a.yd];d&&(a.lb=d[0],a.ac=d[1],a.Fh=d[2],b=d[3]||0,a.Ab=d[4],4==a.zd&&a.za===a.ia&&3==a.Ab&&(7==a.ia.Vb[9]?a.ac=43:a.Ab=5));a.wj=a.lb*a.ac;a.rg=a.wj/a.Fh;a.$g=(a.rg<<1)+b;a.cj= +b?a.$g+b>>1:0;13<=a.yd&&(a.rg<<=1);a.jd.length&&(a.Vc=Math.floor(a.Uc/a.lb),a.Wc=Math.floor(a.td/a.ac),a.Ab?(b=a.jd[a.Ab],d=a.jd[a.Ab<<1],a.dl&&80==a.lb?d&&a.Vc>=3*d.Wb>>2&&(a.Ab<<=1,b=d):(d&&a.Vc>=d.Wb&&(a.Ab<<=1,b=d),b&&(a.Vc=b.Wb,a.Wc=b.Xb)),a.Ze=a.$e=0,b&&(a.Ze=a.lb*b.Wb,a.$e=a.ac*b.Xb)):(a.Vc=a.Wc=1,a.Ze=a.lb,a.$e=a.ac),a.lg=a.Cc.createImageData(a.Ze,a.$e),a.oe=window.document.createElement("canvas"),a.oe.width=a.Ze,a.oe.height=a.$e,a.pe=a.oe.getContext("2d"),a.Oi=a.Pi=0,a.dh=a.Uc,a.eh=a.td, +b=a.Uc-a.lb*a.Vc,d=a.td-a.ac*a.Wc,0>1,a.dh-=b),0>1,a.eh-=d),b||d)&&(a.Cc.fillStyle=a.qb.style.backgroundColor,a.Cc.fillRect(0,0,a.Uc,a.td));!1!==c?ab(a,!0):Wi(a,!0)}return!0}function Ri(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Wi(a,b){var c;if(b){if(c=a.rg,void 0===a.Lb||a.Lb.length!=c)a.Lb=Array(c)}else{if(void 0===a.Lb)return;c=a.Lb.length}for(var d=0;d>8;d=l&15;var k=a.jd[a.Ab];k.Je&&(d=k.Je[d]);var m=l>>4&15;k.Je&&(m=k.Je[m]);e?(b*=k.Wb,c*=k.Xb,e.fillStyle=k.ie[m],e.fillRect(b,c,k.Wb,k.Xb)):(b=b*a.Vc+a.Oi,c=c*a.Wc+a.Pi,a.Cc.fillStyle=k.ie[m],a.Cc.fillRect(b,c,a.Vc,a.Wc));l&256&&(m=(f&15)*k.Wb,f=(f>>4)*k.Xb,e?e.drawImage(k.Og[d],m,f,k.Wb,k.Xb,b,c,k.Wb,k.Xb):a.Cc.drawImage(k.Og[d],m,f,k.Wb,k.Xb,b,c,a.Vc,a.Wc));l&512&&(f=a.Sk,l=a.ej,e?(a.sd&&a.sd!==k.Xb&&(f=Math.floor(f*k.Xb/a.sd),l=Math.floor(l*k.Xb/a.sd)), e.fillStyle=k.ie[d],e.fillRect(b,c+f,k.Wb,l)):(a.sd&&a.sd!==a.Wc&&(f=Math.floor(f*a.Wc/a.sd),l=Math.floor(l*a.Wc/a.sd)),a.Cc.fillStyle=k.ie[d],a.Cc.fillRect(b,c+f,a.Vc,l)))} -function bb(a,b){if(a.zb){var c=!1;a.za&&(a.za===a.ia?a.ia.Zd&32&&(c=!0):a.za.hc&8&&(c=!0));if(c||b){if(b)Yi(a,!0);else if(void 0===a.Lb)return;var d=!1;!(b||++a.Zk&15)&&0<=a.Sd&&(a.Sd++,d=!0);var e=0,f=a.zj,c=a.za.Ya,l=c+a.za.cc,k=(a.za.Vb[12]<<8)+a.za.Vb[13];a.Ab&&(k<<=1);var c=c+k,m=a.ah;c+m>l&&(m=l-c,0>m&&(m=0));l=c+m;if(k=!b){for(var k=a.ma,n=!0,q=c>>k.Ib;0a.tc)return;e=a.tc;f=e+1}}if(a.Ab){if(a.jd[a.Ab]){d= -0;k=a.Rd=0;m=1048575;a.za.hc&32&&(k=32768,m&=~k,a.Sd&2||(m&=-65537));for(c+=e<<1;c>8| -(s&255)<<8;r=k;var eb=16;q>=m))>>(eb-=m);Ti(a.mg,q++,x,n[hd])}q>V&&(V=q);x=ca&&(ca=x+1)}e+=2;l++;if(q>=a.lb){q=0;x+=2;if(x>a.ac)break;x==a.ac&&(x=1,e=c+a.fj)}}Lba;ba++)ca=V&2155905152, -0>ca&&(ca=-ca),ca=X[ca]||0,Ti(a.mg,k++,m,l[ca]),V<<=1;k>q&&(q=k);m=L&&(L=m+1)}e++;if(k>=a.lb&&(k=0,++m>a.ac))break}n>2),a=this.ia.Mi&-17|(this.Qf&1<e&&(e=0);e%b.Jh>b.rm&&(c|=1);e%=b.Cj;e>b.tm&&(c|=8);b.Oh=d-e;b===a.ia?(c|=b.Ff&48^48,b.ud=!1):c=(b.Ff^=9)|240;return b.Ff=c} -var Fi={948:T.prototype.Tl,949:T.prototype.Sl,952:T.prototype.Ul,954:T.prototype.Vl,980:T.prototype.Bl,981:T.prototype.Al,984:T.prototype.Cl,985:T.prototype.zl,986:T.prototype.Dl},Gi={948:T.prototype.cn,949:T.prototype.bn,952:T.prototype.dn,980:T.prototype.Om,981:T.prototype.Nm,984:T.prototype.Pm,985:T.prototype.Mm},Hi={960:T.prototype.vj,961:T.prototype.vj,962:T.prototype.em,964:T.prototype.dm,965:T.prototype.cm,970:T.prototype.Ml,972:T.prototype.Ll,974:T.prototype.Kl,975:T.prototype.Jl},Ii={954:T.prototype.Fk, -960:T.prototype.Ek,961:T.prototype.Ek,962:T.prototype.fn,964:T.prototype.nn,965:T.prototype.mn,970:T.prototype.Ym,972:T.prototype.Xm,974:T.prototype.Wm,975:T.prototype.Vm,986:T.prototype.Fk}; +function ab(a,b){if(a.zb){var c=!1;a.za&&(a.za===a.ia?a.ia.Yd&32&&(c=!0):a.za.hc&8&&(c=!0));if(c||b){if(b)Wi(a,!0);else if(void 0===a.Lb)return;var d=!1;!(b||++a.Wk&15)&&0<=a.Rd&&(a.Rd++,d=!0);var e=0,f=a.wj,c=a.za.Ya,l=c+a.za.cc,k=(a.za.Vb[12]<<8)+a.za.Vb[13];a.Ab&&(k<<=1);var c=c+k,m=a.$g;c+m>l&&(m=l-c,0>m&&(m=0));l=c+m;if(k=!b){for(var k=a.ma,n=!0,q=c>>k.Ib;0a.tc)return;e=a.tc;f=e+1}}if(a.Ab){if(a.jd[a.Ab]){d= +0;k=a.Qd=0;m=1048575;a.za.hc&32&&(k=32768,m&=~k,a.Rd&2||(m&=-65537));for(c+=e<<1;c>8| +(s&255)<<8;r=k;var eb=16;q>=m))>>(eb-=m);Ri(a.lg,q++,x,n[gd])}q>V&&(V=q);x=ba&&(ba=x+1)}e+=2;l++;if(q>=a.lb){q=0;x+=2;if(x>a.ac)break;x==a.ac&&(x=1,e=c+a.cj)}}Laa;aa++)ba=V&2155905152, +0>ba&&(ba=-ba),ba=X[ba]||0,Ri(a.lg,k++,m,l[ba]),V<<=1;k>q&&(q=k);m=L&&(L=m+1)}e++;if(k>=a.lb&&(k=0,++m>a.ac))break}n>2),a=this.ia.Li&-17|(this.Qf&1<e&&(e=0);e%b.Ih>b.pm&&(c|=1);e%=b.zj;e>b.rm&&(c|=8);b.Nh=d-e;b===a.ia?(c|=b.Ff&48^48,b.ud=!1):c=(b.Ff^=9)|240;return b.Ff=c} +var Di={948:T.prototype.Rl,949:T.prototype.Ql,952:T.prototype.Sl,954:T.prototype.Tl,980:T.prototype.zl,981:T.prototype.yl,984:T.prototype.Al,985:T.prototype.xl,986:T.prototype.Bl},Ei={948:T.prototype.an,949:T.prototype.$m,952:T.prototype.bn,980:T.prototype.Mm,981:T.prototype.Lm,984:T.prototype.Nm,985:T.prototype.Km},Fi={960:T.prototype.sj,961:T.prototype.sj,962:T.prototype.cm,964:T.prototype.bm,965:T.prototype.am,970:T.prototype.Kl,972:T.prototype.Jl,974:T.prototype.Il,975:T.prototype.Hl},Gi={954:T.prototype.Ck, +960:T.prototype.Bk,961:T.prototype.Bk,962:T.prototype.dn,964:T.prototype.ln,965:T.prototype.kn,970:T.prototype.Wm,972:T.prototype.Vm,974:T.prototype.Um,975:T.prototype.Tm,986:T.prototype.Ck}; u(function(){for(var a=B(window.document,"pcjs","video"),b=0;bMissing <canvas> support; try a new web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.setAttribute("contenteditable","true");e.setAttribute("autocapitalize","off");e.setAttribute("autocorrect","off");e.style.backgroundColor=d.screenColor; e.style.height=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=e.getContext("2d"),d=new T(d,e,f);A(d,c)}}); -function Z(a){this.sj=a.adapter;switch(this.sj){case 1:this.Ei=1016;this.pf=4;break;case 2:this.Ei=760;this.pf=3;break;default:t("Unrecognized serial adapter #"+this.sj);return}this.qd=null;v.call(this,"SerialPort",a,Z);var b=a.binding,c;a=bj;b&&(void 0===c&&(c="Panel"),(c=Ca(c,this.id))&&(b=c.oa[b])&&this.tb(null,null,a,b))}y(v,Z);var bj="buffer";g=Z.prototype;g.Xi=function(a,b){return a==this.Bh?(this.wj=b,this):null}; -g.tb=function(a,b,c,d){var e=this;switch(c){case bj:return this.oa[c]=this.qd=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),cj(e,[b]))},d.onkeypress=function(a){a=a||window.event;cj(e,[a.which||a.keyCode])},!0}return!1};g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.ga=C(a,"ChipSet");Ua(b,this,dj,this.Ei);Wa(b,this,ej,this.Ei);this.Oa()}; -g.Sb=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};g.Jb=function(a){return a&&this.save?this.save():!0};g.reset=function(){this.wd()};g.save=function(){var a=new H(this),b=0,c=[];c[b++]=this.Xg;c[b++]=this.aj;c[b++]=this.he;c[b++]=this.Rf;c[b++]=this.ld;c[b++]=this.Od;c[b++]=this.Ic;c[b++]=this.mc;c[b++]=this.Zi;c[b]=this.Je;a.set(0,c);return a.data()};g.restore=function(a){return this.wd(a[0])}; -g.wd=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Xg=a[b++];this.aj=a[b++];this.he=a[b++];this.Rf=a[b++];this.ld=a[b++];this.Od=a[b++];this.Ic=a[b++];this.mc=a[b++];this.Zi=a[b++];this.Je=a[b];return!0};function cj(a,b){a.Je=a.Je.concat(b);fj(a)}function fj(a){0>8:this.Rf};g.Ol=function(){return this.ld};g.Pl=function(){return this.Od};g.Rl=function(){return this.Ic};g.Ql=function(){return this.mc};g.Xl=function(){return this.Zi}; -g.on=function(a,b){if(this.Od&128)this.he=this.he&-256|b;else{this.aj=b;this.mc&=-97;var c;this.qd?(13!=b&&(8==b?this.qd.value=this.qd.value.slice(0,-1):(this.qd.value+=String.fromCharCode(b),this.qd.scrollTop=this.qd.scrollHeight)),c=!0):c=!1;c&&(this.mc|=96)}};g.Zm=function(a,b){this.Od&128?this.he=this.he&255|b<<8:this.Rf=b};g.$m=function(a,b){this.Od=b}; -g.an=function(a,b){var c=this.Ic;this.Ic=b;if(this.wj&&(c^b)&3){var c=this.wj,d=this.Ic,e=3==(d&3);if(e){if(!c.Yb){var f=!1;c.Ic&2||(c.reset(),f=!0);c.Ic&1||(f=!0);f&&cj(c.We,[77]);gj(c,c.qb);c.Yb=e}}else c.Yb&&(hj(c.qb),c.Yb=e);c.Ic=d}};var dj={0:Z.prototype.bm,1:Z.prototype.Nl,2:Z.prototype.Ol,3:Z.prototype.Pl,4:Z.prototype.Rl,5:Z.prototype.Ql,6:Z.prototype.Xl},ej={0:Z.prototype.on,1:Z.prototype.Zm,3:Z.prototype.$m,4:Z.prototype.an}; -u(function(){for(var a=B(window.document,"pcjs","serial"),b=0;ba.Gf||0>a.Hf)a.Gf=b.clientX,a.Hf=b.clientY;a.Ee=b.clientX-a.Gf;a.Fe=b.clientY-a.Hf;(a.Ee||a.Fe)&&jj(a);a.Gf=b.clientX;a.Hf=b.clientY}},!1),b.addEventListener("mousedown",function(b){kj(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){kj(a,b.button,!1)},!1),a.mh=!0),b.style.cursor="none")}function hj(a){a&&(a.style.cursor="auto")} -function kj(a,b,c){if(a.Yb&&a.ja&&a.ja.rc)switch(b){case 0:a.dg!=c&&(a.dg=c,jj(a));break;case 2:a.eg!=c&&(a.eg=c,jj(a))}}function jj(a){cj(a.We,[64|(a.dg?32:0)|(a.eg?16:0)|(a.Fe&192)>>4|(a.Ee&192)>>6,a.Ee&63,a.Fe&63]);a.Ee=a.Fe=0}u(function(){for(var a=B(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.ic+":"+this.Zb+":"+this.Gc+":"+this.yb,a+="&machine="+this.ea.te(),a+="&user="+this.ea.vd(),d=la()+"/api/v1/disk?"+a,this.sh=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): --1!==b.indexOf("/",b.length-1)&&(c="dir"),d=la()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.re?"":d)+"&format=json"));p(d,!0,null,this,this.um,b)}; -g.um=function(a,b,c,d){var e=null;this.se=!1;var f=0>c&&this.Fa&&!this.Fa.zb;if(this.sh)c?this.xa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Yc=!0,e=this);else if(c)this.xa('Unable to load disk "'+this.fd+'" (error '+c+")",f);else try{if(0l&&0b.indexOf("0x")&&'["'!= +function Z(a){this.pj=a.adapter;switch(this.pj){case 1:this.Di=1016;this.pf=4;break;case 2:this.Di=760;this.pf=3;break;default:t("Unrecognized serial adapter #"+this.pj);return}this.qd=null;v.call(this,"SerialPort",a,Z);var b=a.binding,c;a=$i;b&&(void 0===c&&(c="Panel"),(c=Ca(c,this.id))&&(b=c.oa[b])&&this.tb(null,null,a,b))}y(v,Z);var $i="buffer";g=Z.prototype;g.Vi=function(a,b){return a==this.Ah?(this.tj=b,this):null}; +g.tb=function(a,b,c,d){var e=this;switch(c){case $i:return this.oa[c]=this.qd=d,d.onkeydown=function(a){a=a||window.event;var b=a.charCode||a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),aj(e,[b]))},d.onkeypress=function(a){a=a||window.event;aj(e,[a.which||a.keyCode])},!0}return!1};g.gc=function(a,b,c,d){this.ma=b;this.ja=c;this.Ha=d;this.ga=C(a,"ChipSet");Ua(b,this,bj,this.Di);Wa(b,this,cj,this.Di);this.Oa()}; +g.Sb=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};g.Jb=function(a){return a&&this.save?this.save():!0};g.reset=function(){this.wd()};g.save=function(){var a=new G(this),b=0,c=[];c[b++]=this.Wg;c[b++]=this.Zi;c[b++]=this.he;c[b++]=this.Rf;c[b++]=this.ld;c[b++]=this.Nd;c[b++]=this.Ic;c[b++]=this.mc;c[b++]=this.Xi;c[b]=this.Ke;a.set(0,c);return a.data()};g.restore=function(a){return this.wd(a[0])}; +g.wd=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Wg=a[b++];this.Zi=a[b++];this.he=a[b++];this.Rf=a[b++];this.ld=a[b++];this.Nd=a[b++];this.Ic=a[b++];this.mc=a[b++];this.Xi=a[b++];this.Ke=a[b];return!0};function aj(a,b){a.Ke=a.Ke.concat(b);dj(a)}function dj(a){0>8:this.Rf};g.Ml=function(){return this.ld};g.Nl=function(){return this.Nd};g.Pl=function(){return this.Ic};g.Ol=function(){return this.mc};g.Vl=function(){return this.Xi}; +g.mn=function(a,b){if(this.Nd&128)this.he=this.he&-256|b;else{this.Zi=b;this.mc&=-97;var c;this.qd?(13!=b&&(8==b?this.qd.value=this.qd.value.slice(0,-1):(this.qd.value+=String.fromCharCode(b),this.qd.scrollTop=this.qd.scrollHeight)),c=!0):c=!1;c&&(this.mc|=96)}};g.Xm=function(a,b){this.Nd&128?this.he=this.he&255|b<<8:this.Rf=b};g.Ym=function(a,b){this.Nd=b}; +g.Zm=function(a,b){var c=this.Ic;this.Ic=b;if(this.tj&&(c^b)&3){var c=this.tj,d=this.Ic,e=3==(d&3);if(e){if(!c.Yb){var f=!1;c.Ic&2||(c.reset(),f=!0);c.Ic&1||(f=!0);f&&aj(c.Xe,[77]);ej(c,c.qb);c.Yb=e}}else c.Yb&&(fj(c.qb),c.Yb=e);c.Ic=d}};var bj={0:Z.prototype.$l,1:Z.prototype.Ll,2:Z.prototype.Ml,3:Z.prototype.Nl,4:Z.prototype.Pl,5:Z.prototype.Ol,6:Z.prototype.Vl},cj={0:Z.prototype.mn,1:Z.prototype.Xm,3:Z.prototype.Ym,4:Z.prototype.Zm}; +u(function(){for(var a=B(window.document,"pcjs","serial"),b=0;ba.Gf||0>a.Hf)a.Gf=b.clientX,a.Hf=b.clientY;a.Fe=b.clientX-a.Gf;a.Ge=b.clientY-a.Hf;(a.Fe||a.Ge)&&hj(a);a.Gf=b.clientX;a.Hf=b.clientY}},!1),b.addEventListener("mousedown",function(b){ij(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){ij(a,b.button,!1)},!1),a.lh=!0),b.style.cursor="none")}function fj(a){a&&(a.style.cursor="auto")} +function ij(a,b,c){if(a.Yb&&a.ja&&a.ja.rc)switch(b){case 0:a.cg!=c&&(a.cg=c,hj(a));break;case 2:a.dg!=c&&(a.dg=c,hj(a))}}function hj(a){aj(a.Xe,[64|(a.cg?32:0)|(a.dg?16:0)|(a.Ge&192)>>4|(a.Fe&192)>>6,a.Fe&63,a.Ge&63]);a.Fe=a.Ge=0}u(function(){for(var a=B(window.document,"pcjs","mouse"),b=0;bb.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?d=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(a="action=open&volume="+b+("&mode="+this.mode),a+="&chs="+this.ic+":"+this.Zb+":"+this.Gc+":"+this.yb,a+="&machine="+this.ea.te(),a+="&user="+this.ea.vd(),d=la()+"/api/v1/disk?"+a,this.rh=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"): +-1!==b.indexOf("/",b.length-1)&&(c="dir"),d=la()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.re?"":d)+"&format=json"));p(d,!0,null,this,this.sm,b)}; +g.sm=function(a,b,c,d){var e=null;this.se=!1;var f=0>c&&this.Fa&&!this.Fa.zb;if(this.rh)c?this.xa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.Yc=!0,e=this);else if(c)this.xa('Unable to load disk "'+this.fd+'" (error '+c+")",f);else try{if(0l&&0b.indexOf("0x")&&'["'!= b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(k.length)if(1==k.length)t(k[0]);else{for(b=a=0;b>2,q=m.pattern;void 0===q&&(q=m.pattern=0);var s=m.data;if(void 0===s){var r=m.bytes;if(void 0!==r&&r.length){for(var f=n<<2,x=r.length;xb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=l>>16&255;c[d++]=l>>24&255}return c}function tj(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} -g.write=function(a,b,c){if(this.se)return!1;if(b>2;b=(b&3)<<3;for(var l=d.length;l<=f;l++)d[l]=e;a.oc?f=a.Fc+a.oc&&(a.oc+=f-(a.Fc+a.oc)+1):(a.Fc=f,a.oc=1);d[f]=d[f]&~(255<=this.Fb.length||m>=this.Fb[k].length||n>=this.Fb[k][m].length){c="sector "+k+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.se){c="unable to modify write-protected disk";b=-1;break}e= +s;delete m.bytes}mj(m,b,c);for(f=0;fb&&(b=0);2E3>2,e=Array(d),f=0;f>2,e=a.data;a=a.pattern;for(var f=0;f>8&255;c[d++]=l>>16&255;c[d++]=l>>24&255}return c}function rj(a,b){var c=-1;if(b>2,c=(d>((b&3)<<3)&255;return c} +g.write=function(a,b,c){if(this.se)return!1;if(b>2;b=(b&3)<<3;for(var l=d.length;l<=f;l++)d[l]=e;a.oc?f=a.Fc+a.oc&&(a.oc+=f-(a.Fc+a.oc)+1):(a.Fc=f,a.oc=1);d[f]=d[f]&~(255<=this.Fb.length||m>=this.Fb[k].length||n>=this.Fb[k][m].length){c="sector "+k+":"+m+":"+n+" out of range ("+b+" changes applied)";b=-1;break}if(this.se){c="unable to modify write-protected disk";b=-1;break}e= l[f++];f=l[f++];l=e+f.length;k=this.Fb[k][m][n];for(m=k.data.length;mb&&this.xa("unable to restore disk '"+this.fd+": "+c);return b}; -function uj(a){v.call(this,"FDC",a,uj);this.dmaRead=this.gh;this.dmaWrite=this.hh;this.dmaFormat=this.$k;this.de=null;if(a.autoMount&&(this.de=a.autoMount,"string"==typeof this.de))try{this.de=eval("("+a.autoMount+")")}catch(b){t("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.de=null}this.dc=[];this.Zc();this.Oe()||this.Oa()}y(v,uj); -var vj={3:{pd:3,Ud:0,name:"SPECIFY"},4:{pd:2,Ud:1,name:"DRIVE_STATUS"},5:{pd:9,Ud:7,name:"WRITE_DATA"},6:{pd:9,Ud:7,name:"READ_DATA"},7:{pd:2,Ud:0,name:"RECALIBRATE"},8:{pd:1,Ud:2,name:"INT_STATUS"},13:{pd:6,Ud:7,name:"FORMAT"},15:{pd:3,Ud:0,name:"SEEK"}};g=uj.prototype; +function sj(a){v.call(this,"FDC",a,sj);this.dmaRead=this.fh;this.dmaWrite=this.gh;this.dmaFormat=this.Yk;this.ce=null;if(a.autoMount&&(this.ce=a.autoMount,"string"==typeof this.ce))try{this.ce=eval("("+a.autoMount+")")}catch(b){t("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.ce=null}this.dc=[];this.Zc();this.Pe()||this.Oa()}y(v,sj); +var tj={3:{pd:3,Td:0,name:"SPECIFY"},4:{pd:2,Td:1,name:"DRIVE_STATUS"},5:{pd:9,Td:7,name:"WRITE_DATA"},6:{pd:9,Td:7,name:"READ_DATA"},7:{pd:2,Td:0,name:"RECALIBRATE"},8:{pd:1,Td:2,name:"INT_STATUS"},13:{pd:6,Td:7,name:"FORMAT"},15:{pd:3,Td:0,name:"SEEK"}};g=sj.prototype; g.tb=function(a,b,c,d){switch(c){case "listDisks":return this.oa[c]=d,a=window.document.createElement("option"),a.value="?",a.innerHTML="User-defined URL...",d.appendChild(a),d.onchange=function(a,b){return function(){var c=a.oa.descDisk;if(c){var d=b.options[b.selectedIndex];if(d){var m={};if(d=d.getAttribute("data-value"))try{m=eval("({"+d+"})")}catch(n){t("FDC option error: "+(n.message||n))}d=m.desc;void 0===d&&(d="");m=m.href;void 0!==m&&(d=''+d+"");c.innerHTML= -d}}}}(this,d),!0;case "descDisk":case "listDrives":return this.oa[c]=d,d.onchange=function(a,b){return function(){var c=parseInt(b.value,10);isNaN(c)||wj(a,c)}}(this,d),!0;case "loadDrive":return this.oa[c]=d,d.onclick=function(a){return function(){var b,c=a.oa.listDisks,d=a.oa.listDrives;if(c&&d&&!isNaN(b=parseInt(d.value,10))&&0<=b&&ba.ra.restore(f)&&(e=!1);e&&a.ra&&void 0!==a.Sa&&(a.Ma=a.ra.seek(a.ib,a.La,a.Pa));return e};g.Ki=function(){for(var a=0,b=[],c=0;ca.ic&&(this.xa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.jb)),b=null);b&&(a.ra=b,a.Nk=c,a.fe=d,Dj(this,c,d,b),this.Ed|=128,this.xa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.jb),a.Yd));a.Yd&&(a.Yd=!1,--this.Qd||this.Oa());wj(this,a.jb)}; -function wj(a,b){if(0<=b&&b=this.Ua&&(this.ta&=-81,this.fb=this.Ua=0);return a}; -g.Tm=function(a,b){this.Ua=vj[c].pd){var d=!1;this.fb=0;var e,f,c=this.Ia()&31;switch(c){case 3:this.Ia("SRT");this.Ia("HLT");this.pb();break;case 4:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];this.pb();this.cb((e.Ra&4278190080)>>>24,"ST3");break;case 5:case 6:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;e.ib=this.Ia("C");this.Ia("H");e.Pa=this.Ia("R");d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Ra&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 7:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.ib=e.kd=0;e.Ra=268435488;this.pb();d=!0;break;case 8:e=this.sa[this.jb];e.La=0;this.pb();Ej(this,e);this.cb(e.ib,"PCN");break;case 13:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Ra&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 15:f=this.Ia("DS"),this.jb=f&3,e=this.sa[this.jb],e.La=f>>2&1,c=this.Ia("NCN"),e.ib+=c-e.kd,0>e.ib&&(e.ib=0),e.ib>=e.ic&&(e.ib=e.ic-1),e.kd=c,e.Ra=32,0==e.ib&&(e.Ra|=268435456),this.pb(),d=!0}0b?this.vc(a,c):c(-1,!1)};g.hh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.$k=function(a,b){return void 0!==b&&0<=b?this.Oi(a,b):-1}; -g.ih=function(a){a.Ra=72;a.ra&&(a.Ma=null,a.Ra=0,this.ga&&(Gh(this.ga,2,this,"dmaRead",a),Eh(this.ga,2)))};g.jh=function(a){a.Ra=72;a.ra&&(a.ra.se?a.Ra=576:(a.Ma=null,a.Ra=0,this.ga&&(Gh(this.ga,2,this,"dmaWrite",a),Eh(this.ga,2))))};g.ij=function(a){a.Ra=72;a.ra&&(a.Ma=null,a.Ra=0,this.ga&&(a.Td=0,a.ec=Array(4),a.Pe=!0,a.Ue=0,Gh(this.ga,2,this,"dmaFormat",a),Eh(this.ga,2),a.Pe=!1))}; -g.vc=function(a,b){var c=-1;if(!a.Ra&&a.ra){do{if(a.Ma&&0<=(c=tj(a.Ma,a.Sa++)))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Ra=1088;break}a.Sa=0;this.Me(a)}while(1)}b(c,!1)};g.xc=function(a,b){if(a.Ra||!a.ra)return-1;do{if(a.Ma&&a.ra.write(a.Ma,a.Sa++,b))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Ra=8256;b=-1;break}a.Sa=0;this.Me(a)}while(1);return b};g.Me=function(a){a.Pa++;a.Pa>=a.Gc+1&&(a.Pa=1,a.La++,a.La>=a.Zb&&(a.La=0,a.ib++))}; -g.Oi=function(a,b){if(a.Ra)return-1;a.ec[a.Td++]=b;if(a.Td==a.ec.length){a.ib=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Yi))return-1;a.Ue++}a.Ue>=a.nd&&(b=-1);return b};var zj={1012:uj.prototype.Il,1013:uj.prototype.Gl,1015:uj.prototype.Hl},Aj={1010:uj.prototype.Um,1013:uj.prototype.Tm,1015:uj.prototype.Sm};u(function(){for(var a=B(window.document,"pcjs","fdc"),b=0;b=e&&(this.yf|=(f.type&3)<<(1-e<<1))}return d}; -g.Ii=function(){var a=0,b=[];this.Xd?(b[a++]=this.Dd,b[a++]=this.Mk,b[a++]=this.Fg,b[a++]=this.Gg,b[a++]=this.Eg,b[a++]=this.Dg,b[a++]=this.zf,b[a++]=this.ta,b[a++]=this.Gi):(b[a++]=this.yf,b[a++]=this.ta,b[a++]=this.Kb,b[a++]=this.fb,b[a++]=this.Ua,b[a++]=this.Lk,b[a++]=this.Kk,b[a++]=this.Jk,b[a++]=this.cf);b[a]=this.Ki();return b}; -g.Ch=function(a,b,c,d,e){var f=0,l=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.jb=a;b.errorCode=d[f++];b.Rk=d[f++];b.re=d[f++];b.ke=d[f++];b.le=d[f++];b.La=d[f++];b.Zb=d[f++];b.Hd=d[f++];b.Pa=d[f++];b.nd=d[f++];b.Xa=d[f++];b.Wf=this.Xd?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.vd()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===Fj[this.df][b.type])b.type=this.ll;c=Fj[this.df][b.type]; -b.Gc=c[2]||17;b.yb=c[3]||512;if(e&&this.ga&&(e=this.ga,c=b.type,e.ka)){var k=e.ka[18],k=a?k&240|c:k&15|c<<4;e.ka&&(e.ka[18]=k,sh(e))}void 0===b.ra&&(b.ra=null,this.xa("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Kj(this,b);b.Sa=d[f++];b.Ma=null;b.ra&&(a=d[f],void 0!==a&&0>b.ra.restore(a)&&(l=!1),l&&void 0!==b.Sa&&(b.Ma=b.ra.seek(b.Hd,b.La,b.Pa+b.Wf)));return l};g.Ki=function(){for(var a=0,b=[],c=0;c=this.Ua&&(this.fb=this.Ua=0,this.ta&=-15);return a};g.qn=function(a,b){this.Ua=c&&(this.ta|=2,this.ta&=-2,Lj(this))};g.im=function(){var a=this.ta;this.fb=this.Na.yb){var b=this;this.vc(this.Na,function(a){0<=a?b.ga&&R(b.ga,14):(b.ta=1,b.Dd=16)},!1)}else this.ta=80;return a}; -g.Hm=function(a,b){this.Na&&this.Na.Xa>=this.Na.yb&&(0>this.xc(this.Na,b)?(this.ta=1,this.Dd=16):this.Na.Sa==this.Na.yb&&(this.Na.Xa-=this.Na.yb,this.ga&&R(this.ga,14),this.Na.Xa>=this.Na.yb||(this.ta=80)))};g.vl=function(){return this.Dd};g.Lm=function(a,b){this.Mk=b};g.wl=function(){return this.Fg};g.Jm=function(a,b){this.Fg=b};g.xl=function(){return this.Gg};g.Km=function(a,b){this.Gg=b};g.sl=function(){return this.Eg};g.Gm=function(a,b){this.Eg=b};g.rl=function(){return this.Dg}; -g.Fm=function(a,b){this.Dg=b};g.ul=function(){return this.zf};g.Im=function(a,b){this.zf=b};g.yl=function(){return this.ta};g.Em=function(a,b){this.Gi=b;this.ga&&Qh(this.ga,14);Mj(this)}; -function Mj(a){var b=!1,c=a.Gi,d=a.zf&16?1:0,e=a.zf&15,f=a.Eg|(a.Dg&3)<<8,l=a.Gg,k=a.Fg;a.Na=null;a.Dd=0;a.ta=80;(d=a.sa[d])?(d.Hd=f,d.La=e,d.Pa=l,d.Xa=k*d.yb,c=144<=c?c:c&240,d.Ma=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.vc(d,function(b){0<=b&&a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=16)},!1);break;case 48:a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Dd=1;b=!0;break;case 145:d.Zb=e+1,d.Gc=k,b=!0}b&&a.ga&&R(a.ga,14)} -function Lj(a){a.fb=0;var b=a.Ia(),c=a.Ia(),d=c&32,e=d>>5,f=c&31,l=a.Ia(),k=a.Ia(),m=l<<2&768|k,n=l&63,q=a.Ia(),s=a.Ia(),r=a.sa[e];r&&(r.Hd=m,r.La=f,r.Pa=n,r.Xa=q*r.yb);switch(b){case 3:a.pb(r?r.errorCode:4);a.cb(c);a.cb(l);a.cb(k);a.cb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ia());)r&&cb?this.vc(a,c):c(-1,!1)}; -g.hh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.al=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Sa=a.Gc+b&&(a.Pa=b,a.La++,a.La>=a.Zb&&(a.La=0,a.Hd++))}; -g.Oi=function(a,b){if(a.errorCode)return-1;a.ec[a.Td++]=b;if(a.Td==a.ec.length){a.Hd=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Yi))return-1;a.Ue++}a.Ue>=a.nd&&(b=-1);return b}; -var Hj={800:$.prototype.hm,801:$.prototype.im,802:$.prototype.gm},Gj={496:$.prototype.tl,497:$.prototype.vl,498:$.prototype.wl,499:$.prototype.xl,500:$.prototype.sl,501:$.prototype.rl,502:$.prototype.ul,503:$.prototype.yl},Jj={800:$.prototype.qn,801:$.prototype.tn,802:$.prototype.sn,803:$.prototype.rn,807:$.prototype.Bi,811:$.prototype.Bi,815:$.prototype.Bi},Ij={496:$.prototype.Hm,497:$.prototype.Lm,498:$.prototype.Jm,499:$.prototype.Km,500:$.prototype.Gm,501:$.prototype.Fm,502:$.prototype.Im,503:$.prototype.Em}; -u(function(){for(var a=B(window.document,"pcjs","hdc"),b=0;bUj){if(d.load(this.Df)){this.De=new H(this,"1.15.4","failsafe");this.De.load()&&(Yj(this,d),a=2);this.De.set("timestamp",ja());Sj(this.De);var e=this.jc&&!this.ig;if(1==a||ma("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),l=d.get("data");f&&("ok"==f?d.load(l):("error"==f&&"no machine state"!=l?(this.xa("Error: "+l),"unable to verify user"== -l&&(na(""),this.wc=null)):this.Tb(f+": "+l),Rj(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Xj(this,c?d:null)}else 2==a&&d.clear()}else Xj(this);delete this.Df;delete this.Mg}e=Aa(this.id);for(f=0;fa[1];a=a[2];this.zb=!0;this.kj||(this.Tb("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.kj=!0);this.ja&&Zj(this,this.ja,b,c,a);this.nj&&(Yj(this,b),b.clear());!c&&this.De&&(this.De.clear(),delete this.De)}; -function Yj(a,b){if(ma("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.vd(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;p("http://www.pcjs.org/api/v1/report",!0,e)}} -function ak(a,b,c){var d,e="none",f=new H(a,"1.15.4"),l=new H(a,"1.15.4","validate"),k=ja();l.set("timestamp",k);f.set("timestamp",k);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ja&&a.ja.Jb&&(c&&gb(a.ja),d=a.ja.Jb(b,c),"object"===typeof d&&f.set(a.ja.id,d),c&&(a.ja.zb=!1,!1===d&&(e=null)));for(var k=Aa(a.id),m=0;m/g;f=l.exec(a);){var k=f[2],m=p(k),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var k=q[0],s,r=/( [a-z]+=)(['"])(.*?)\2/g;s=r.exec(m);)k=0>k.indexOf(s[1])?k.replace(">",s[0]+">"):k.replace(new RegExp(s[1]+"(['\"])(.*?)\\1"),s[0]);q[0]!=k&&(n=n.replace(q[0],k))}else throw c="missing <"+f[1]+"> in "+k,Error(c); +d}}}}(this,d),!0;case "descDisk":case "listDrives":return this.oa[c]=d,d.onchange=function(a,b){return function(){var c=parseInt(b.value,10);isNaN(c)||uj(a,c)}}(this,d),!0;case "loadDrive":return this.oa[c]=d,d.onclick=function(a){return function(){var b,c=a.oa.listDisks,d=a.oa.listDrives;if(c&&d&&!isNaN(b=parseInt(d.value,10))&&0<=b&&ba.ra.restore(f)&&(e=!1);e&&a.ra&&void 0!==a.Ra&&(a.Ma=a.ra.seek(a.ib,a.La,a.Pa));return e};g.Ji=function(){for(var a=0,b=[],c=0;ca.ic&&(this.xa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.jb)),b=null);b&&(a.ra=b,a.Kk=c,a.ee=d,Bj(this,c,d,b),this.Ed|=128,this.xa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.jb),a.Xd));a.Xd&&(a.Xd=!1,--this.Pd||this.Oa());uj(this,a.jb)}; +function uj(a,b){if(0<=b&&b=this.Ta&&(this.ta&=-81,this.fb=this.Ta=0);return a}; +g.Rm=function(a,b){this.Ta=tj[c].pd){var d=!1;this.fb=0;var e,f,c=this.Ia()&31;switch(c){case 3:this.Ia("SRT");this.Ia("HLT");this.pb();break;case 4:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];this.pb();this.cb((e.Qa&4278190080)>>>24,"ST3");break;case 5:case 6:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;e.ib=this.Ia("C");this.Ia("H");e.Pa=this.Ia("R");d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Qa&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 7:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.ib=e.kd=0;e.Qa=268435488;this.pb();d=!0;break;case 8:e=this.sa[this.jb];e.La=0;this.pb();Cj(this,e);this.cb(e.ib,"PCN");break;case 13:f=this.Ia("DS");this.jb=f&3;e=this.sa[this.jb];e.La=f>>2&1;d=this.Ia("N");e.Xa=128<>>8,"ST1");this.cb((e.Qa&16711680)>>>16,"ST2");this.cb(e.ib,"C");this.cb(e.La,"H");this.cb(e.Pa,"R");this.cb(d,"N");d=!0;break;case 15:f=this.Ia("DS"),this.jb=f&3,e=this.sa[this.jb],e.La=f>>2&1,c=this.Ia("NCN"),e.ib+=c-e.kd,0>e.ib&&(e.ib=0),e.ib>=e.ic&&(e.ib=e.ic-1),e.kd=c,e.Qa=32,0==e.ib&&(e.Qa|=268435456),this.pb(),d=!0}0b?this.vc(a,c):c(-1,!1)};g.gh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.Yk=function(a,b){return void 0!==b&&0<=b?this.Ni(a,b):-1}; +g.hh=function(a){a.Qa=72;a.ra&&(a.Ma=null,a.Qa=0,this.ga&&(Eh(this.ga,2,this,"dmaRead",a),Ch(this.ga,2)))};g.ih=function(a){a.Qa=72;a.ra&&(a.ra.se?a.Qa=576:(a.Ma=null,a.Qa=0,this.ga&&(Eh(this.ga,2,this,"dmaWrite",a),Ch(this.ga,2))))};g.fj=function(a){a.Qa=72;a.ra&&(a.Ma=null,a.Qa=0,this.ga&&(a.Sd=0,a.ec=Array(4),a.Qe=!0,a.Ve=0,Eh(this.ga,2,this,"dmaFormat",a),Ch(this.ga,2),a.Qe=!1))}; +g.vc=function(a,b){var c=-1;if(!a.Qa&&a.ra){do{if(a.Ma&&0<=(c=rj(a.Ma,a.Ra++)))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Qa=1088;break}a.Ra=0;this.Ne(a)}while(1)}b(c,!1)};g.xc=function(a,b){if(a.Qa||!a.ra)return-1;do{if(a.Ma&&a.ra.write(a.Ma,a.Ra++,b))break;a.Ma=a.ra.seek(a.ib,a.La,a.Pa);if(!a.Ma){a.Qa=8256;b=-1;break}a.Ra=0;this.Ne(a)}while(1);return b};g.Ne=function(a){a.Pa++;a.Pa>=a.Gc+1&&(a.Pa=1,a.La++,a.La>=a.Zb&&(a.La=0,a.ib++))}; +g.Ni=function(a,b){if(a.Qa)return-1;a.ec[a.Sd++]=b;if(a.Sd==a.ec.length){a.ib=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Wi))return-1;a.Ve++}a.Ve>=a.nd&&(b=-1);return b};var xj={1012:sj.prototype.Gl,1013:sj.prototype.El,1015:sj.prototype.Fl},yj={1010:sj.prototype.Sm,1013:sj.prototype.Rm,1015:sj.prototype.Qm};u(function(){for(var a=B(window.document,"pcjs","fdc"),b=0;b=e&&(this.yf|=(f.type&3)<<(1-e<<1))}return d}; +g.Hi=function(){var a=0,b=[];this.Wd?(b[a++]=this.Dd,b[a++]=this.Jk,b[a++]=this.Eg,b[a++]=this.Fg,b[a++]=this.Dg,b[a++]=this.Cg,b[a++]=this.zf,b[a++]=this.ta,b[a++]=this.Fi):(b[a++]=this.yf,b[a++]=this.ta,b[a++]=this.Kb,b[a++]=this.fb,b[a++]=this.Ta,b[a++]=this.Ik,b[a++]=this.Hk,b[a++]=this.Gk,b[a++]=this.df);b[a]=this.Ji();return b}; +g.Bh=function(a,b,c,d,e){var f=0,l=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.jb=a;b.errorCode=d[f++];b.Ok=d[f++];b.re=d[f++];b.ke=d[f++];b.le=d[f++];b.La=d[f++];b.Zb=d[f++];b.Gd=d[f++];b.Pa=d[f++];b.nd=d[f++];b.Xa=d[f++];b.Wf=this.Wd?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.vd()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===Dj[this.ef][b.type])b.type=this.jl;c=Dj[this.ef][b.type]; +b.Gc=c[2]||17;b.yb=c[3]||512;if(e&&this.ga&&(e=this.ga,c=b.type,e.ka)){var k=e.ka[18],k=a?k&240|c:k&15|c<<4;e.ka&&(e.ka[18]=k,qh(e))}void 0===b.ra&&(b.ra=null,this.xa("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));Ij(this,b);b.Ra=d[f++];b.Ma=null;b.ra&&(a=d[f],void 0!==a&&0>b.ra.restore(a)&&(l=!1),l&&void 0!==b.Ra&&(b.Ma=b.ra.seek(b.Gd,b.La,b.Pa+b.Wf)));return l};g.Ji=function(){for(var a=0,b=[],c=0;c=this.Ta&&(this.fb=this.Ta=0,this.ta&=-15);return a};g.on=function(a,b){this.Ta=c&&(this.ta|=2,this.ta&=-2,Jj(this))};g.gm=function(){var a=this.ta;this.fb=this.Na.yb){var b=this;this.vc(this.Na,function(a){0<=a?b.ga&&R(b.ga,14):(b.ta=1,b.Dd=16)},!1)}else this.ta=80;return a}; +g.Fm=function(a,b){this.Na&&this.Na.Xa>=this.Na.yb&&(0>this.xc(this.Na,b)?(this.ta=1,this.Dd=16):this.Na.Ra==this.Na.yb&&(this.Na.Xa-=this.Na.yb,this.ga&&R(this.ga,14),this.Na.Xa>=this.Na.yb||(this.ta=80)))};g.tl=function(){return this.Dd};g.Jm=function(a,b){this.Jk=b};g.ul=function(){return this.Eg};g.Hm=function(a,b){this.Eg=b};g.vl=function(){return this.Fg};g.Im=function(a,b){this.Fg=b};g.ql=function(){return this.Dg};g.Em=function(a,b){this.Dg=b};g.pl=function(){return this.Cg}; +g.Dm=function(a,b){this.Cg=b};g.sl=function(){return this.zf};g.Gm=function(a,b){this.zf=b};g.wl=function(){return this.ta};g.Cm=function(a,b){this.Fi=b;this.ga&&Kh(this.ga,14);Kj(this)}; +function Kj(a){var b=!1,c=a.Fi,d=a.zf&16?1:0,e=a.zf&15,f=a.Dg|(a.Cg&3)<<8,l=a.Fg,k=a.Eg;a.Na=null;a.Dd=0;a.ta=80;(d=a.sa[d])?(d.Gd=f,d.La=e,d.Pa=l,d.Xa=k*d.yb,c=144<=c?c:c&240,d.Ma=null,d.errorCode=0,a.Na=d):c=-1;switch(c&240){case 32:a.vc(d,function(b){0<=b&&a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=16)},!1);break;case 48:a.ga?(R(a.ga,14),a.ta=136):(a.ta=1,a.Dd=4);break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Dd=1;b=!0;break;case 145:d.Zb=e+1,d.Gc=k,b=!0}b&&a.ga&&R(a.ga,14)} +function Jj(a){a.fb=0;var b=a.Ia(),c=a.Ia(),d=c&32,e=d>>5,f=c&31,l=a.Ia(),k=a.Ia(),m=l<<2&768|k,n=l&63,q=a.Ia(),s=a.Ia(),r=a.sa[e];r&&(r.Gd=m,r.La=f,r.Pa=n,r.Xa=q*r.yb);switch(b){case 3:a.pb(r?r.errorCode:4);a.cb(c);a.cb(l);a.cb(k);a.cb(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ia());)r&&cb?this.vc(a,c):c(-1,!1)}; +g.gh=function(a,b){return void 0!==b&&0<=b?this.xc(a,b):-1};g.Zk=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ra=a.Gc+b&&(a.Pa=b,a.La++,a.La>=a.Zb&&(a.La=0,a.Gd++))}; +g.Ni=function(a,b){if(a.errorCode)return-1;a.ec[a.Sd++]=b;if(a.Sd==a.ec.length){a.Gd=a.ec[0];a.La=a.ec[1];a.Pa=a.ec[2];a.Xa=128<this.xc(a,a.Wi))return-1;a.Ve++}a.Ve>=a.nd&&(b=-1);return b}; +var Fj={800:$.prototype.fm,801:$.prototype.gm,802:$.prototype.em},Ej={496:$.prototype.rl,497:$.prototype.tl,498:$.prototype.ul,499:$.prototype.vl,500:$.prototype.ql,501:$.prototype.pl,502:$.prototype.sl,503:$.prototype.wl},Hj={800:$.prototype.on,801:$.prototype.rn,802:$.prototype.qn,803:$.prototype.pn,807:$.prototype.Ai,811:$.prototype.Ai,815:$.prototype.Ai},Gj={496:$.prototype.Fm,497:$.prototype.Jm,498:$.prototype.Hm,499:$.prototype.Im,500:$.prototype.Em,501:$.prototype.Dm,502:$.prototype.Gm,503:$.prototype.Cm}; +u(function(){for(var a=B(window.document,"pcjs","hdc"),b=0;bSj){if(d.load(this.Df)){this.Ee=new G(this,"1.15.4","failsafe");this.Ee.load()&&(Wj(this,d),a=2);this.Ee.set("timestamp",ja());Qj(this.Ee);var e=this.jc&&!this.hg;if(1==a||ma("Click OK to restore previous PCjs machine state.")){if(c=d.parse()){var f=d.get("code"),l=d.get("data");f&&("ok"==f?d.load(l):("error"==f&&"no machine state"!=l?(this.xa("Error: "+l),"unable to verify user"== +l&&(na(""),this.wc=null)):this.Tb(f+": "+l),Pj(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&Vj(this,c?d:null)}else 2==a&&d.clear()}else Vj(this);delete this.Df;delete this.Lg}e=Aa(this.id);for(f=0;fa[1];a=a[2];this.zb=!0;this.hj||(this.Tb("PCjs v1.15.4\nCopyright \u00a9 2012-2014 Jeff Parsons \nLicense: GPL version 3 or later "),this.hj=!0);this.ja&&Xj(this,this.ja,b,c,a);this.kj&&(Wj(this,b),b.clear());!c&&this.Ee&&(this.Ee.clear(),delete this.Ee)}; +function Wj(a,b){if(ma("There may be a problem with PCjs.\nClick OK to send your PCjs machine state to http://www.pcjs.org.")){var c=a.vd(),d=b.toString(),e={app:"PCjs",ver:"1.15.4"};e.url=a.url;e.user=c;e.type="bug";e.data=d;p("http://www.pcjs.org/api/v1/report",!0,e)}} +function Yj(a,b,c){var d,e="none",f=new G(a,"1.15.4"),l=new G(a,"1.15.4","validate"),k=ja();l.set("timestamp",k);f.set("timestamp",k);f.set("version","1.15.4");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ja&&a.ja.Jb&&(c&&fb(a.ja),d=a.ja.Jb(b,c),"object"===typeof d&&f.set(a.ja.id,d),c&&(a.ja.zb=!1,!1===d&&(e=null)));for(var k=Aa(a.id),m=0;m/g;f=l.exec(a);){var k=f[2],m=p(k),n=m[1];if(m[0]||!n)throw c="unable to resolve XML reference: "+f[0]+" ("+m[0]+")",Error(c);if(m=f[3]){var q=n.match(new RegExp("<"+f[1]+"[^>]*>"));if(q){for(var k=q[0],s,r=/( [a-z]+=)(['"])(.*?)\2/g;s=r.exec(m);)k=0>k.indexOf(s[1])?k.replace(">",s[0]+">"):k.replace(new RegExp(s[1]+"(['\"])(.*?)\\1"),s[0]);q[0]!=k&&(n=n.replace(q[0],k))}else throw c="missing <"+f[1]+"> in "+k,Error(c); }n=n.replace(/<\?xml[^>]*>[\r\n]*/,"");a=a.replace(f[0],n);l.lastIndex=0}c&&(b&&0>b.indexOf("/")&&(b=window.location.pathname+b),a=a.replace(/(]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(b?" url=$2"+b+"$2":"")));if(0===a.indexOf("<"))window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/\s*/g,"")),f=new window.ActiveXObject("Microsoft.XMLDOM"),f.async=!1,f.loadXML(a)):f=(new window.DOMParser).parseFromString(a,"text/xml");else throw Error("unrecognized XML: "+ (255