diff --git a/versions/c1pjs/1.21.3/c1p-dbg.js b/versions/c1pjs/1.21.3/c1p-dbg.js new file mode 100644 index 0000000000..766ccb84f4 --- /dev/null +++ b/versions/c1pjs/1.21.3/c1p-dbg.js @@ -0,0 +1,165 @@ +(function(){var f;function p(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function q(a){return"0x"+p(a,2)}function r(a){return"0x"+p(a,4)}function aa(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0":">",'"':""","'":"'"};function da(a){return a.replace(/[&<>"']/g,function(a){return ca[a]})}var ea=Date.now||function(){return+new Date}; +function t(a,b){var c=0,d=null;if("object"==typeof resources&&(d=resources[a]))b&&b(a,d,c);else{var e=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");e.onreadystatechange=function(){4===e.readyState&&(d=e.responseText,200==e.status||!e.status&&d.length&&"file:"==(window?window.location.protocol:"file:")||(c=e.status||-1),b&&b(a,d,c))};e.open("GET",a,!0);e.send()}}function u(a){window&&window.alert(a)} +function v(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 fa(a,b,c){function d(){--a;0<=a&&(b()||(a=0));0za(a.P,b,c,d,e)&&(a.oa>b&&(a.oa=b),a.pa=a.P[d][0]&&b<=a.P[d][1]&&a.P[d][3].call(a.P[d][2],b,c)}function N(a,b,c,d,e){0>za(a.K,b,c,d,e)&&(a.da>b&&(a.da=b),a.ia=a.K[d][0]&&b<=a.K[d][1]&&a.K[d][3].call(a.K[d][2],b,c)}function za(a,b,c,d,e){for(var g=0;ga.Ra&&a.ta&&(d=a.ta);d>a.Ma&&2>a.speed&&(d=a.Ma);a.kb=Math.round(1E3/30);a.ja=Math.floor(1E6/c*d);a.ra=Math.floor(1E6/30*d);a.Xa=Math.floor(1E6/a.Ja*d);a.Wa=Math.floor(1E6/a.Ia*d);b||(a.R=a.ra,a.Z=a.Xa,a.V=a.Wa);a.Aa=0} +function Fa(a){var b=ea(),c=a.kb;a.$&&(c=Math.round(c*a.$/a.ra));c=c-(b-a.lb);if(b=b-a.Oa)a.ta=Math.round(a.U/(100*b))/10,864E5<=b&&M(a);0>c?c=0:1==a.speed?a.ta<=a.Ma&&(c=0):2==a.speed&&(c=0);a.Aa+=a.$;return c} +f.va=function(){if(I(this,!0)){this.C.ma||(M(this),this.J&&this.J.start(),this.C.ma=!0,this.H.run&&(this.H.run.innerHTML="Halt"),this.ca());1E6<=this.Aa&&Ca(this,!0);this.$=0;this.lb=ea();try{do{this.step(this.ja);var a=this.L-this.D;this.U+=a;this.$+=a;this.L=this.D=0;this.Z-=this.ja;0>=this.Z&&(this.Z+=this.Xa,this.hb());this.V-=this.ja;0>=this.V&&(this.V+=this.Wa,Da(this));this.R-=this.ja;if(0>=this.R){this.R+=this.ra;break}}while(this.C.ma)}catch(b){this.aa();this.update();I(this,!1);sa(this, +b.stack||b.message);return}setTimeout(function(a){return function(){a.va()}}(this),Fa(this))}else this.update(),this.J&&this.J.stop(this.Oa,this.U)}; +f.step=function(a){var b=!0;this.b=this.g=-1;var c;if(c=a&&this.u)c=this.u,c=0=d.xa.length&&(d.La=0));d=!!g}if(d){b=void 0;this.aa();break}this.f++;this.o[a].call(this);if(0<=this.b){this.b>=this.oa&&this.b<=this.pa&&Aa(this,this.b,this.f);if(d=c)d=this.u,e=!1,Ga(d,this.b,d.wa,"read")&&(e=!0),d=!!e;if(d){b=!1;this.aa(); +break}this.b=-1}else if(0<=this.g){this.g>=this.da&&this.g<=this.ia&&Ba(this,this.g,this.f);if(d=c){d=this.u;var e=this.g,g=this.a[this.g],h=!1;(g&255)!=g&&(d.l("invalid value at "+r(e)+": "+g),h=!0);Ga(d,e,d.ya,"write")&&(h=!0);d=!!h}if(d){b=!1;this.aa();break}this.g=-1}this.D-=this.fb[a]}while(0>1)&128?64:0),b=b|(a.i&128?128:0);return a.B&60|b} +function Ja(a){a.B|=8;a.o[97]=a.Yb;a.o[101]=a.$b;a.o[105]=a.Xb;a.o[109]=a.Ub;a.o[113]=a.Zb;a.o[117]=a.ac;a.o[121]=a.Wb;a.o[125]=a.Vb;a.o[225]=a.ne;a.o[229]=a.pe;a.o[233]=a.me;a.o[237]=a.je;a.o[241]=a.oe;a.o[245]=a.qe;a.o[249]=a.le;a.o[253]=a.ke}function Ka(a){a.B&=-9;a.o[97]=a.xb;a.o[101]=a.zb;a.o[105]=a.wb;a.o[109]=a.tb;a.o[113]=a.yb;a.o[117]=a.Ab;a.o[121]=a.vb;a.o[125]=a.ub;a.o[225]=a.Fb;a.o[229]=a.Hb;a.o[233]=a.Eb;a.o[237]=a.Bb;a.o[241]=a.Gb;a.o[245]=a.Ib;a.o[249]=a.Db;a.o[253]=a.Cb} +function P(a,b,c){var d=a.c&256?1:0,e=(b&15)+(c&15)+d;10<=e&&(e=e+6&15|16);e+=(b&240)+(c&240);a.A=b^c;a.v=e;a.i=e&255;160<=e&&(e+=96);512<=e&&(e-=256);a.c=e;a.j=b+c+d&255;a.D--;return e&255}function Q(a,b,c){var d=a.c&256?0:1,e=(b&15)-(c&15)-d;0>e&&(e=(e-6&15)-16);e+=(b&240)-(c&240);0>e&&(e-=96);a.i=a.j=(a.c=b-c-d)&255;a.A=b^c;a.v=a.c;a.c^=256;a.D--;return e&255}function wa(a){a.h=0;a.w=0;a.F=0;a.G=256;a.B=0;a.i=0;a.j=0;a.A=0;a.v=0;a.c=0;a.f=0;a.b=-1;a.g=-1;a.ta=0;a.U=a.L=a.D=0} +f.wc=function(){this.f++;this.a[this.G--]=this.f>>8;this.G|=256;this.a[this.G--]=this.f&255;this.G|=256;this.B|=16;this.B=Ea(this);this.a[this.G--]=this.B;this.G|=256;this.B&=239;this.b=65534;this.f=this.a[this.b]|this.a[this.b+1]<<8};f.Qd=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.i=this.j=this.h|=this.a[this.b]};f.Sd=function(){this.b=this.a[this.f++];this.i=this.j=this.h|=this.a[this.b]}; +f.mc=function(){this.g=this.a[this.f++];this.c=this.a[this.g]<<1;this.i=this.j=this.a[this.g]=this.c&255};f.Vd=function(){this.B=Ea(this);this.a[this.G--]=this.B;this.G|=256};f.Pd=function(){this.b=this.f++;this.i=this.j=this.h|=this.a[this.b]};f.lc=function(){this.c=this.h<<1;this.i=this.j=this.h=this.c&255};f.Md=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.h|=this.a[this.b]}; +f.jc=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.c=this.a[this.g]<<1;this.i=this.j=this.a[this.g]=this.c&255};f.vc=function(){this.f+=(this.i&128?0:(this.D--,this.a[this.f]<<24>>24))+1};f.Rd=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.i=this.j=this.h|=this.a[this.b]};f.Td=function(){this.b=this.a[this.f++]+this.w&255;this.i=this.j=this.h|=this.a[this.b]}; +f.nc=function(){this.g=this.a[this.f++]+this.w&255;this.c=this.a[this.g]<<1;this.i=this.j=this.a[this.g]=this.c&255};f.zc=function(){this.c=0};f.Od=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.i=this.j=this.h|=this.a[this.b]};f.Nd=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.h|=this.a[this.b]};f.kc=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.c=this.a[this.g]<<1;this.i=this.j=this.a[this.g]=this.c&255}; +f.nd=function(){this.b=this.f++;this.a[this.G--]=this.f>>8;this.G|=256;this.a[this.G--]=this.f&255;this.G|=256;this.f=this.a[this.b]|this.a[this.b+1]<<8};f.fc=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.i=this.j=this.h&=this.a[this.b]};f.sc=function(){this.b=this.a[this.f++];this.j=this.h&this.a[this.b];this.i=this.i&127|this.a[this.b]&128;this.v=0;this.A=this.a[this.b]&64?128:0};f.hc=function(){this.b=this.a[this.f++];this.i=this.j=this.h&=this.a[this.b]}; +f.ae=function(){this.g=this.a[this.f++];this.c=this.c&65280|this.a[this.g];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.i=this.j=this.a[this.g]=this.c&255};f.Xd=function(){this.G=this.G+1&255|256;this.B=this.a[this.G];this.c=this.B&1?256:0;this.j=this.B&2?0:1;this.i=this.B&128;this.v=0;this.A=this.B&64?128:0};f.ec=function(){this.b=this.f++;this.i=this.j=this.h&=this.a[this.b]}; +f.$d=function(){this.c=this.c&65280|this.h;this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.i=this.j=this.h=this.c&255};f.rc=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.j=this.h&this.a[this.b];this.i=this.i&127|this.a[this.b]&128;this.v=0;this.A=this.a[this.b]&64?128:0};f.bc=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.h&=this.a[this.b]}; +f.Yd=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.c=this.c&65280|this.a[this.g];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.i=this.j=this.a[this.g]=this.c&255};f.tc=function(){this.f+=(this.i&128?(this.D--,this.a[this.f]<<24>>24):0)+1};f.gc=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.i=this.j=this.h&=this.a[this.b]};f.ic=function(){this.b=this.a[this.f++]+this.w&255;this.i=this.j=this.h&=this.a[this.b]}; +f.be=function(){this.g=this.a[this.f++]+this.w&255;this.c=this.c&65280|this.a[this.g];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.i=this.j=this.a[this.g]=this.c&255};f.re=function(){this.c=256};f.dc=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.i=this.j=this.h&=this.a[this.b]};f.cc=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.h&=this.a[this.b]}; +f.Zd=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.c=this.c&65280|this.a[this.g];this.c<<=1;this.c=this.c&65534|(this.c&512?1:0);this.i=this.j=this.a[this.g]=this.c&255};f.he=function(){this.G=this.G+1&255|256;this.B=this.a[this.G];this.c=this.B&1?256:0;this.j=this.B&2?0:1;this.i=this.B&128;this.v=0;this.A=this.B&64?128:0;this.G=this.G+2&255|256;this.f=this.a[this.G-1|256]|this.a[this.G]<<8}; +f.ad=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.i=this.j=this.h^=this.a[this.b]};f.cd=function(){this.b=this.a[this.f++];this.i=this.j=this.h^=this.a[this.b]};f.Jd=function(){this.g=this.a[this.f++];this.c=this.c&65279|(this.a[this.g]&1?256:0);this.a[this.g]=(this.c=this.c&65280|this.a[this.g]>>1)&255;this.i=this.j=this.c&255};f.Ud=function(){this.a[this.G--]=this.h;this.G|=256};f.$c=function(){this.b=this.f++;this.i=this.j=this.h^=this.a[this.b]}; +f.Id=function(){this.c=this.c&65279|(this.h&1?256:0);this.h=(this.c=this.c&65280|this.h>>1)&255;this.i=this.j=this.c&255};f.md=function(){this.b=this.f;this.f=this.a[this.b]|this.a[this.b+1]<<8};f.Xc=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.h^=this.a[this.b]};f.Gd=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.c=this.c&65279|(this.a[this.g]&1?256:0);this.a[this.g]=(this.c=this.c&65280|this.a[this.g]>>1)&255;this.i=this.j=this.c&255}; +f.xc=function(){this.f+=((this.v&255^this.A^this.v>>1)&128?0:(this.D--,this.a[this.f]<<24>>24))+1};f.bd=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.i=this.j=this.h^=this.a[this.b]};f.dd=function(){this.b=this.a[this.f++]+this.w&255;this.i=this.j=this.h^=this.a[this.b]};f.Kd=function(){this.g=this.a[this.f++]+this.w&255;this.c=this.c&65279|(this.a[this.g]&1?256:0);this.a[this.g]=(this.c=this.c&65280|this.a[this.g]>>1)&255;this.i=this.j=this.c&255}; +f.Bc=function(){this.B&=251};f.Zc=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.i=this.j=this.h^=this.a[this.b]};f.Yc=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.h^=this.a[this.b]};f.Hd=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.c=this.c&65279|(this.a[this.g]&1?256:0);this.a[this.g]=(this.c=this.c&65280|this.a[this.g]>>1)&255;this.i=this.j=this.c&255}; +f.ie=function(){this.G=this.G+2&255|256;this.f=(this.a[this.G-1|256]|this.a[this.G]<<8)+1};f.xb=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255};f.Yb=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.h=P(this,this.h,this.a[this.b])}; +f.zb=function(){this.b=this.a[this.f++];this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255};f.$b=function(){this.b=this.a[this.f++];this.h=P(this,this.h,this.a[this.b])};f.fe=function(){this.g=this.a[this.f++];this.c=this.c&65280|this.a[this.g];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.i=this.j=this.a[this.g]=this.c&255};f.Wd=function(){this.G=this.G+1&255|256;this.i=this.j=this.h=this.a[this.G]}; +f.wb=function(){this.b=this.f++;this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255};f.Xb=function(){this.b=this.f++;this.h=P(this,this.h,this.a[this.b])};f.ee=function(){this.c=this.c&65280|this.h;this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.i=this.j=this.h=this.c&255};f.ld=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.f=this.a[this.b]|this.a[this.b+1]<<8}; +f.tb=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255};f.Ub=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.h=P(this,this.h,this.a[this.b])};f.ce=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.c=this.c&65280|this.a[this.g];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.i=this.j=this.a[this.g]=this.c&255}; +f.yc=function(){this.f+=((this.v&255^this.A^this.v>>1)&128?(this.D--,this.a[this.f]<<24>>24):0)+1};f.yb=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255};f.Zb=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.h=P(this,this.h,this.a[this.b])}; +f.Ab=function(){this.b=this.a[this.f++]+this.w&255;this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255};f.ac=function(){this.b=this.a[this.f++]+this.w&255;this.h=P(this,this.h,this.a[this.b])};f.ge=function(){this.g=this.a[this.f++]+this.w&255;this.c=this.c&65280|this.a[this.g];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.i=this.j=this.a[this.g]=this.c&255};f.te=function(){this.B|=4}; +f.vb=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255};f.Wb=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.h=P(this,this.h,this.a[this.b])};f.ub=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.c=this.h+this.a[this.b]+(this.c&256?1:0);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255}; +f.Vb=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.h=P(this,this.h,this.a[this.b])};f.de=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.c=this.c&65280|this.a[this.g];this.c=this.c&65023|(this.c&1?512:0);this.c>>=1;this.i=this.j=this.a[this.g]=this.c&255};f.xe=function(){this.g=this.a[this.f++]+this.w&255;this.g=this.a[this.g]|this.a[this.g+1]<<8;this.a[this.g]=this.h};f.Fe=function(){this.g=this.a[this.f++];this.a[this.g]=this.F}; +f.ze=function(){this.g=this.a[this.f++];this.a[this.g]=this.h};f.Ce=function(){this.g=this.a[this.f++];this.a[this.g]=this.w};f.Wc=function(){this.i=this.j=this.F=this.F-1&255};f.Le=function(){this.i=this.j=this.h=this.w};f.Ee=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.a[this.g]=this.F};f.ue=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.a[this.g]=this.h};f.Be=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.a[this.g]=this.w}; +f.oc=function(){this.f+=(this.c&256?0:(this.D--,this.a[this.f]<<24>>24))+1};f.ye=function(){this.g=this.a[this.f++];this.g=(this.a[this.g]|this.a[this.g+1]<<8)+this.F;this.a[this.g]=this.h};f.Ge=function(){this.g=this.a[this.f++]+this.w&255;this.a[this.g]=this.F};f.Ae=function(){this.g=this.a[this.f++]+this.w&255;this.a[this.g]=this.h};f.De=function(){this.g=this.a[this.f++]+this.F&255;this.a[this.g]=this.w};f.Ne=function(){this.i=this.j=this.h=this.F}; +f.we=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.a[this.g]=this.h};f.Me=function(){this.G=this.w|256};f.ve=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.a[this.g]=this.h};f.Dd=function(){this.b=this.f++;this.i=this.j=this.F=this.a[this.b]};f.sd=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.i=this.j=this.h=this.a[this.b]};f.yd=function(){this.b=this.f++;this.i=this.j=this.w=this.a[this.b]}; +f.Ed=function(){this.b=this.a[this.f++];this.i=this.j=this.F=this.a[this.b]};f.ud=function(){this.b=this.a[this.f++];this.i=this.j=this.h=this.a[this.b]};f.zd=function(){this.b=this.a[this.f++];this.i=this.j=this.w=this.a[this.b]};f.Je=function(){this.i=this.j=this.F=this.h};f.rd=function(){this.b=this.f++;this.i=this.j=this.h=this.a[this.b]};f.Ie=function(){this.i=this.j=this.w=this.h};f.Bd=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.F=this.a[this.b]}; +f.od=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.h=this.a[this.b]};f.wd=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.w=this.a[this.b]};f.pc=function(){this.f+=(this.c&256?(this.D--,this.a[this.f]<<24>>24):0)+1};f.td=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.i=this.j=this.h=this.a[this.b]};f.Fd=function(){this.b=this.a[this.f++]+this.w&255;this.i=this.j=this.F=this.a[this.b]}; +f.vd=function(){this.b=this.a[this.f++]+this.w&255;this.i=this.j=this.h=this.a[this.b]};f.Ad=function(){this.b=this.a[this.f++]+this.F&255;this.i=this.j=this.w=this.a[this.b]};f.Cc=function(){this.A=this.v=0};f.qd=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.i=this.j=this.h=this.a[this.b]};f.Ke=function(){this.i=this.j=this.w=this.G&255};f.Cd=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.F=this.a[this.b]}; +f.pd=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.h=this.a[this.b]};f.xd=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.i=this.j=this.w=this.a[this.b]};f.Pc=function(){this.b=this.f++;this.i=this.j=this.c=this.F-this.a[this.b];this.c^=256};f.Hc=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256}; +f.Qc=function(){this.b=this.a[this.f++];this.i=this.j=this.c=this.F-this.a[this.b];this.c^=256};f.Jc=function(){this.b=this.a[this.f++];this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256};f.Tc=function(){this.g=this.a[this.f++];this.i=this.j=this.a[this.g]=this.a[this.g]-1&255};f.kd=function(){this.i=this.j=this.F=this.F+1&255};f.Gc=function(){this.b=this.f++;this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256};f.Vc=function(){this.i=this.j=this.w=this.w-1&255}; +f.Oc=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.c=this.F-this.a[this.b];this.c^=256};f.Dc=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256};f.Rc=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.a[this.g]=this.a[this.g]-1&255};f.uc=function(){this.f+=(this.j&255?(this.D--,this.a[this.f]<<24>>24):0)+1}; +f.Ic=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256};f.Kc=function(){this.b=this.a[this.f++]+this.w&255;this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256};f.Uc=function(){this.g=this.a[this.f++]+this.w&255;this.i=this.j=this.a[this.g]=this.a[this.g]-1&255};f.Ac=function(){Ka(this)}; +f.Fc=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256};f.Ec=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.c=this.h-this.a[this.b];this.c^=256};f.Sc=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.a[this.g]=this.a[this.g]-1&255};f.Mc=function(){this.b=this.f++;this.i=this.j=this.c=this.w-this.a[this.b];this.c^=256}; +f.Fb=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.ne=function(){this.b=this.a[this.f++]+this.w&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.h=Q(this,this.h,this.a[this.b])};f.Nc=function(){this.b=this.a[this.f++];this.i=this.j=this.c=this.w-this.a[this.b];this.c^=256}; +f.Hb=function(){this.b=this.a[this.f++];this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.pe=function(){this.b=this.a[this.f++];this.h=Q(this,this.h,this.a[this.b])};f.gd=function(){this.g=this.a[this.f++];this.i=this.j=this.a[this.g]=this.a[this.g]+1&255};f.jd=function(){this.i=this.j=this.w=this.w+1&255}; +f.Eb=function(){this.b=this.f++;this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.me=function(){this.b=this.f++;this.h=Q(this,this.h,this.a[this.b])};f.Ld=function(){};f.Lc=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.c=this.w-this.a[this.b];this.c^=256}; +f.Bb=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.je=function(){this.b=this.a[this.f++]|this.a[this.f++]<<8;this.h=Q(this,this.h,this.a[this.b])};f.ed=function(){this.g=this.a[this.f++]|this.a[this.f++]<<8;this.i=this.j=this.a[this.g]=this.a[this.g]+1&255};f.qc=function(){this.f+=(this.j&255?0:(this.D--,this.a[this.f]<<24>>24))+1}; +f.Gb=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.oe=function(){this.b=this.a[this.f++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.F;this.h=Q(this,this.h,this.a[this.b])}; +f.Ib=function(){this.b=this.a[this.f++]+this.w&255;this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.qe=function(){this.b=this.a[this.f++]+this.w&255;this.h=Q(this,this.h,this.a[this.b])};f.hd=function(){this.g=this.a[this.f++]+this.w&255;this.i=this.j=this.a[this.g]=this.a[this.g]+1&255};f.se=function(){Ja(this)}; +f.Db=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.le=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.F;this.h=Q(this,this.h,this.a[this.b])}; +f.Cb=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.c=this.h-this.a[this.b]-(this.c&256?0:1);this.A=this.h^this.a[this.b];this.v=this.c;this.i=this.j=this.h=this.c&255;this.c^=256};f.ke=function(){this.b=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.h=Q(this,this.h,this.a[this.b])};f.fd=function(){this.g=(this.a[this.f++]|this.a[this.f++]<<8)+this.w;this.i=this.j=this.a[this.g]=this.a[this.g]+1&255}; +f.He=function(){var a;a=this.a[this.f++];switch(a){case 0:this.l("HALT");this.aa();break;case 1:a=this.f;for(var b="";a=c&&(c+=32);a.B=a.B.substr(1);Qa(a,c)}0=b&&(b+=32),Sa(a,b),T(a,b,!0,0)&&(a.s.speed==a.s.eb?T(a,b,!1,1):(c=!1,a.v[b]&&(clearTimeout(a.v[b]),c=!0),c=Ra(a,c),a.v[a.A=b]=setTimeout(function(a){return function(){T(a,b,!1,3)}}(a),c),a.u&&H(a.u,a.u.za)&&a.u.message("keyPressSimulate("+q(b)+"): setTimeout()")),c=!0));a.u&&H(a.u,a.u.za)&&a.u.message("keyPressSimulate("+q(b)+"): "+(c?"true":"false"));return c} +function T(a,b,c,d){var e=!1;c||(a.v[b]=null,a.A==b&&(a.A=0));var g=0,h=a.b[b];void 0===h&&(1<=b&&26>=b&&(b+=64,g=a.L),h=a.b[b]);void 0!==h&&(b=h>>12,e=h>>8&15,g||(g=h&255),c?(a.o[b]|=1<b||8192<=b));b&&(b=a.P.shift(),void 0!==b&&(a.ja=b),a.V=0,a.qa=d);for(b=d=0;8>b;b++)a.oa&1<d[g][0]&&(h=d[g][0]),k=a.V&&(d-=a.V,dMissing <canvas> support. Please try a newer web browser.";break}e.setAttribute("class","c1pjs-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="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 g=new Image,h=e.getContext("2d"),e=new Va(d,e,h,g);g.onload=function(a){return function(){a.X()}}(e,d.charSet);g.src=d.charSet;F(e,c)}}); +function Ya(a){A.call(this,"C1PSerialPort",a);this.C.M=!1;this.O=a.demo;this.reset()}C(Ya);f=Ya.prototype;f.reset=function(){if(2!=this.g){this.v=this.B=0;var a=1;if(this.rb){var b=this.rb.match(/\d+/);null!==b&&(a=parseInt(b[0],10))}this.o='10 PRINT "HELLO OSI #'+a+'"\n';this.g=this.A=0}};f.start=function(){this.b&&this.O&&(U(this.b," C\n\n",3E3),setTimeout(function(a){return function(){a.g=1;U(a.b,"LOAD\n")}}(this),12E3));this.O=!1}; +f.T=function(a,b,c){var d=this;switch(b){case "listSerial":return this.H[b]=c,!0;case "loadSerial":return this.H[b]=c,c.onclick=function(){d.H.listSerial&&t(d.H.listSerial.value,function(a,b,c){Za(d,a,b,c)})},!0;case "mountSerial":return!v("Mobi")&&window&&"FileReader"in window?(this.H[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){var b=a.currentTarget[1].files[0],c=new FileReader;c.onload=function(){Za(d, +b.name,c.result.toString(),0)};c.readAsText(b);return!1}):c.parentNode.removeChild(c),!0}return!1};f.ba=function(a,b,c,d){this.a=a;this.D=b;this.L=c-b+1;this.K=this.D+this.L;if(this.s=d)ya(d,b,c,this,this.S),N(d,b,c,this,this.W);this.X()};f.ha=function(a,b){a&&!this.C.M&&(this.C.M=!0,this.J=b,this.b=L(b,"keyboard"),this.u=L(b,"debugger"))}; +function Za(a,b,c,d){c?(a.o=c,a.A=0,a.g=0,a.J&&a.b&&a.s.C.ma?(a.l("auto-loading "+b),a.s.ca(),"."!=a.o.charAt(0)?(a.g=1,U(a.b,"NEW\nLOAD\n")):(a.g=2,a.J.reset(!0),U(a.b,"ML"))):a.l(b+" ready to load")):a.l(b+" load error ("+d+")")}f.S=function(a,b){void 0!==b&&(a&1?$a(this):this.o&&!this.A&&$a(this))};f.W=function(a,b){void 0!==b&&this.u&&S(this.u,this,a,b,this.u.Qb,!0)}; +function $a(a){if(void 0!==a.o){a.B=0;a.v=0;if(a.A=--d.Fa&&(0=d.sb&&(d.na=d.sb),0>d.na&&(d.na=0),d.Fa=20, +a.o.update(a.o.I|128),db(a))}this.I=c;a.D.I&4&&V(a,2,this)}}(a)};a.D={I:0,read:function(){},update:function(a){return function(c){void 0!==c&&(this.I=c&-193);V(a,3,this);a.A.update();a.L.update()}}(a)};a.P={I:0,read:function(){},update:function(a){return function(c){void 0!==c&&(3==(c&3)&&(a.v.I=14),this.I=c);a.v.update()}}(a)};a.v={I:14,read:function(){},update:function(a){return function(c){void 0===c&&(c=a.v.I);c&=-2;0<=a.b&&0<=a.g[a.b].Ea&&(c|=1);this.I=c;V(a,16,this)}}(a)};a.O={I:0,read:function(a){return function(){eb(a)}}(a), +update:function(a){return function(c){void 0!==c&&(this.I=c);V(a,17,this)}}(a)};a.R={I:0,read:function(){},update:function(){return function(){}}(a)}}f.T=function(a,b,c){switch(b){case "listDisk":return this.H[b]=c,!0;case "loadDisk":return this.H[b]=c,c.onclick=function(a){return function(){if(a.H.listDisk){var b=a.H.listDisk.value,c=b;".json"!=b.substr(b.length-5)&&(c="http://"+window.location.host+"/api/v1/dump?disk="+b);a.l("loading "+aa(b)+"...");t(c,function(b,c,e){fb(a,b,c,e)})}}}(this),!0}return!1}; +f.ba=function(a,b,c,d){this.a=a;this.J=b;if(this.s=d)ya(d,b,c,this,this.S),N(d,b,c,this,this.W);this.X()};f.ha=function(a,b){a&&!this.C.M&&(this.C.M=!0,this.u=L(b,"debugger"))}; +function fb(a,b,c,d){if(d)a.l("disk load error ("+d+")");else{d=[];a.l("mounting "+b+"...");try{if(d=eval("("+c+")"),d.length)if(d[0].length){var e=d[0];if(void 0===e[0].trackNum)a.l("data error: "+e[0]);else if(a.g[0]){for(c=0;c>8&255);a.push(b&255)}function gb(a,b,c){b=b[c];if(void 0===b)throw Error("missing signature: "+c);for(c=0;cb?b&=3:32>b&&(b&=17);switch(b){case 0:a=a.B.I&4?a.o:a.K;break;case 1:a=a.B;break;case 2:a=a.D.I&4?a.A:a.L;break;case 3:a=a.D;break;case 16:a=c?a.P:a.v;break;case 17:a=a.O;break;default:a=a.R}return a}f.S=function(a,b){if(void 0!==b){var c=ib(this,a-this.J,!1);this.u&&S(this.u,this,a,b,this.u.Ha,!1,c.Jb);c.read()}}; +f.W=function(a,b){if(void 0!==b){var c=this.s.S(a),d=ib(this,a-this.J,!0);if(this.u&&H(this.u,this.u.Ha|this.u.pb)&&(S(this.u,this,a,b,this.u.Ha,!0,d.Jb),d.Ob))for(var e=128,g=d.I^c;g&&e;)g&e&&this.u.message(" changed "+d.Jb+"."+d.Ob[e]+" to "+(c&e?"1":"0")),e>>=1;d.update(c)}};function cb(a,b,c){var d=-1;void 0!==b&&void 0!==c&&(d=0,c&32||(d|=2),a.o.I&64||(d|=1));a.b!=d&&(a.b=d,a.v.update())}function db(a){0<=a.b&&(a.g[a.b].Ea=-1,a.O.update(255),a.v.update())} +function eb(a){var b=null;if(0<=a.b){var b=a.g[a.b],c=b.Va[b.na];void 0!==c&&(0<=b.Ea&&b.Ea>24)} +f.S=function(a){var b;a>=this.O&&a=this.Ga?this.l("invalid address: "+r(a)):(this.a[this.O+a]=b&255,Ba(this.s,a),this.s.update())};function rb(a,b){X(a.sa,b,void 0)||a.sa.push(b);return!0}function X(a,b,c){for(var d=!1,e=0;eh&&(m+=" ;'"+String.fromCharCode(h)+"'")}if(e==a.s.bb&& +(hl?m+=String.fromCharCode(h):16==l&&(m+="\u2026"),l++;m+='"'}m&&(d+=" "+m);c&&(d=(d+" ").substr(0,30),d+=";"+c.toString());a.$=b;return d} +function Y(a,b){var c=a.ua;if(void 0!==b){var d=16;"$"==b.charAt(0)?b=b.substr(1):"0x"==b.substr(0,2)?b=b.substr(2):"."==b.charAt(b.length-1)&&(d=10,b=b.substr(0,b.length-1));c=parseInt(b,d);isNaN(c)&&(a.l("invalid base-"+d+" address: "+b),c=void 0)}void 0!==c&&(c=a.Ga)&&(a.l("address out of range: "+p(c)),c=void 0);return c} +function ub(a,b){if("?"==b)a.l("\nfrequency commands:"),a.l("clear\tclear all frequency counts");else{var c=0,d;if(a.B)if("clear"==b){for(d=0;da.Pb.indexOf(k)&&(e=a.N);e==a.ob&&27!=k&&(e=a.N)}else a.l("unknown operand: "+l),k=-1;if(0<=k){m=-1;for(h=0;hm)m=h;else{a.l("too many instruction matches (both "+q(m)+" and "+q(h)+")");m=-2;break}if(0<=m){if(d.push(m),void 0!==e)if(g=a.fa[m][1],l=l.match(/[0-9A-F]+/),null!==l)for(l=parseInt(l[0],16),1==g&&e==a.ea&&(l-=c+2,-128>l||127>>=8;else g&&a.l("instruction missing "+g+" bytes")}else a.l("unknown instruction: "+g+" "+l+"")}}e=d;if(e.length){for(c=0;ck&&em?String.fromCharCode(m):".",e++;a.l(p(h,4)+" "+g+l)}a.ua=e}break;case "e":e=c[1];if(void 0===e)a.l("missing address");else if(e=Y(a,e),void 0!==e)for(d=2;dd.length&&(a.l("note: only "+ +d.length+" available"),g=d.length);void 0!==l&&(a.mb=0,a.l(g+" instructions earlier:"));l=a.mb?a.mb:1;c-=g;for(0>c&&(c=d.length-1);e&&c!=a.La;){h=d[c];if(0>h)break;a.l(tb(a,h,l++));++c==d.length&&(c=0);e--;g--}a.Tb=g;a.mb=l}10==e&&a.l("no history available");break;case "r":ob(a,c);break;case "s":a.S(a.s.f)==a.s.Qa?(sb(a,a.s.f+3),a.Da=!0,a.va()||a.s.ca()):vb(a);break;case "t":vb(a,c[1]);break;case "u":nb(a,c[1],c[2],8);break;case "?":case "help":a.l("\ncommands:\n?\thelp\na [#]\tassemble\nb [#]\tbreakpoint\nd [#]\tdump memory\ne [#]\tedit memory\nf\tdump frequencies\ng [#]\trun to [#]\nh\thalt\no\toptions\np [#]\tdump history\nr\tdump/edit registers\ns\tstep over instruction\nt [#]\tstep instruction(s)\nu [#]\tunassemble"); +a.l("note: frequency and history commands operate only when breakpoints are set");break;default:a.l("unknown command: "+b)}}}x(function(){for(var a=G(document,"c1pjs","debugger"),b=0;b");b&&b.ha(!0,a)} +x(function(){for(var a=G(document,"c1pjs","computer"),b=0;b');return}}if(void 0===h){u(' definition must appear first in the specification'); +break}if(e=ra("debugger",d.id))g["debugger"]=[e],e.ba&&e.ba(h,k,l,g.cpu[0]);k=new Z(d,g);if(l=ra("panel",d.id))if(g.panel=[l],l.gb){e=d.id;d=void 0;g=[];e&&(e=0<(d=e.indexOf("."))?e.substr(0,d+1):"");for(d=0;dk.indexOf("/")&&"/"==window.location.pathname.slice(-1)&&(k=window.location.pathname+k);d?"}"==d.slice(-1)?(d=d.slice(0,-1),1]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" parms='"+d+"'":"")+(k?' url="'+k+'"':""))}k=null;if("<"==a.charAt(0))try{e||(a=a.replace(/\s*/g, +"")),window.ActiveXObject||"ActiveXObject"in window?(k=new window.ActiveXObject("Microsoft.XMLDOM"),k.async=!1,k.loadXML(a)):k=(new window.DOMParser).parseFromString(a,"text/xml")}catch(y){k=null,a=y.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");t(e,function(g,h,k){if(k||!h)c(a,"unable to resolve XML reference: "+d[0]+" ("+k+")");else{if(g=d[3])if(k=h.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var l=k[0],m,n=/( [a-z]+=)(['"])(.*?)\2/g;m=n.exec(g);)l=0>l.indexOf(m[1])?l.replace(">",m[0]+">"):l.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);k[0]!=l&&(h=h.replace(k[0],l))}else{c(a,"missing <"+d[1]+"> in "+e);return}h=h.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],h);Bb(a,b,c)}})}else c(a,null)} +function Cb(a,b,c){function d(a){if(void 0===h){var b=g&&G(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=da(a))}function e(a){d("Error: "+a);k&&(--xb||z(!0));k=!1}var g,h,k=!0;xb++;D[a]={};try{if(g=document.getElementById(a)){var l;if("object"==typeof resources&&(l=resources.css)){var m=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css";n.styleSheet?n.styleSheet.cssText=l:n.appendChild(document.createTextNode(l));m.appendChild(n)}c||(c= +"/versions/c1pjs/1.21.3/components.xsl");l=function(h,k){k?yb(c,null,null,!1,d,function(h,l){if(l)if(D[a]&&c&&(D[a][c]=h),d("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=k.transformNode(l);m?(g.outerHTML=m,--xb||z(!0)):e("transformNodeToObject failed")}else document.implementation&&document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(l),(m=m.transformToFragment(k,document))?g.parentNode?(g.parentNode.replaceChild(m,g),--xb||z(!0)):e("invalid machine element: "+ +a):e("transformToFragment failed")):e("unable to transform XML: unsupported browser");else e(h)}):e(h)};"<"!=b.charAt(0)?yb(b,a,void 0,!0,d,l):Ab(b,null,a,void 0,!1,d,l)}else e("missing machine element: "+a)}catch(y){e(y.message)}return k}window.embedC1P=function(a,b,c){z(!1);return Cb(a,b,c)};window.enableEvents=z;window.sendEvent=la;})(); diff --git a/versions/c1pjs/1.21.3/c1p.js b/versions/c1pjs/1.21.3/c1p.js new file mode 100644 index 0000000000..4c55166cf3 --- /dev/null +++ b/versions/c1pjs/1.21.3/c1p.js @@ -0,0 +1,125 @@ +(function(){var e;function p(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function aa(a){var b=a,c=a.lastIndexOf("/");0<=c&&(b=a.substr(c+1));c=b.indexOf("&");0":">",'"':""","'":"'"}; +function da(a){return a.replace(/[&<>"']/g,function(a){return ca[a]})}var q=Date.now||function(){return+new Date}; +function r(a,b){var c=0,d=null;if("object"==typeof resources&&(d=resources[a]))b&&b(a,d,c);else{var f=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");f.onreadystatechange=function(){4===f.readyState&&(d=f.responseText,200==f.status||!f.status&&d.length&&"file:"==(window?window.location.protocol:"file:")||(c=f.status||-1),b&&b(a,d,c))};f.open("GET",a,!0);f.send()}}function t(a){window&&window.alert(a)} +function v(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 w={init:[],show:[],exit:[]},ea=!1,x=!0;function fa(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function y(a){w.init.push(a)} +function z(a){if(x)try{for(var b=0;bua(a.O,b,c,d,f)&&(a.ja>b&&(a.ja=b),a.kaua(a.K,b,c,d,f)&&(a.Y>b&&(a.Y=b),a.caa.ia&&a.ba&&(d=a.ba);d>a.ea&&2>a.speed&&(d=a.ea);a.eb=Math.round(1E3/30);a.fa=Math.floor(1E6/c*d);a.la=Math.floor(1E6/30*d);a.Ga=Math.floor(1E6/a.oa*d);a.Fa=Math.floor(1E6/a.na*d);b||(a.R=a.la,a.U=a.Ga,a.T=a.Fa);a.ma=0}function ya(a){1E6<=a.ma&&va(a,!0);a.V=0;a.fb=q()} +function za(a){var b=q(),c=a.eb;a.V&&(c=Math.round(c*a.V/a.la));c=c-(b-a.fb);if(b=b-a.Ea)a.ba=Math.round(a.S/(100*b))/10,864E5<=b&&ra(a);0>c?c=0:1==a.speed?a.ba<=a.ea&&(c=0):2==a.speed&&(c=0);a.ma+=a.V;return c} +function N(a){if(ma(a,!0)){a.u.Z||(ra(a),a.I&&a.I.start(),a.u.Z=!0,a.A.run&&(a.A.run.innerHTML="Halt"),a.da());ya(a);try{do{a.step(a.fa);var b=a.L-a.G;a.S+=b;a.V+=b;a.L=a.G=0;a.U-=a.fa;0>=a.U&&(a.U+=a.Ga,a.za());a.T-=a.fa;0>=a.T&&(a.T+=a.Fa,wa(a));a.R-=a.fa;if(0>=a.R){a.R+=a.la;break}}while(a.u.Z)}catch(c){M(a);a.update();ma(a,!1);na(a,c.stack||c.message);return}setTimeout(function(a){return function(){N(a)}}(a),za(a))}else a.update(),a.I&&a.I.stop(a.Ea,a.S)} +e.step=function(a){this.b=this.j=-1;this.L=this.G=a;do{a=this.a[this.c];this.c++;this.v[a].call(this);if(0<=this.b){if(this.b>=this.ja&&this.b<=this.ka)for(var b=this.b,c=this.c,d=0;d=this.O[d][0]&&b<=this.O[d][1]&&this.O[d][3].call(this.O[d][2],b,c);this.b=-1}else if(0<=this.j){if(this.j>=this.Y&&this.j<=this.ca)for(b=this.j,c=this.c,d=0;d=this.K[d][0]&&b<=this.K[d][1]&&this.K[d][3].call(this.K[d][2],b,c);this.j=-1}this.G-=this.bb[a]}while(0>1)&128?64:0),b=b|(a.h&128?128:0);return a.B&60|b} +function Q(a,b,c){var d=a.f&256?1:0,f=(b&15)+(c&15)+d;10<=f&&(f=f+6&15|16);f+=(b&240)+(c&240);a.C=b^c;a.w=f;a.h=f&255;160<=f&&(f+=96);512<=f&&(f-=256);a.f=f;a.i=b+c+d&255;a.G--;return f&255}function R(a,b,c){var d=a.f&256?0:1,f=(b&15)-(c&15)-d;0>f&&(f=(f-6&15)-16);f+=(b&240)-(c&240);0>f&&(f-=96);a.h=a.i=(a.f=b-c-d)&255;a.C=b^c;a.w=a.f;a.f^=256;a.G--;return f&255}function qa(a){a.g=0;a.m=0;a.s=0;a.o=256;a.B=0;a.h=0;a.i=0;a.C=0;a.w=0;a.f=0;a.c=0;a.b=-1;a.j=-1;a.ba=0;a.S=a.L=a.G=0} +e.Jb=function(){this.c++;this.a[this.o--]=this.c>>8;this.o|=256;this.a[this.o--]=this.c&255;this.o|=256;this.B|=16;this.B=xa(this);this.a[this.o--]=this.B;this.o|=256;this.B&=239;this.b=65534;this.c=this.a[this.b]|this.a[this.b+1]<<8};e.bd=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.h=this.i=this.g|=this.a[this.b]};e.dd=function(){this.b=this.a[this.c++];this.h=this.i=this.g|=this.a[this.b]}; +e.zb=function(){this.j=this.a[this.c++];this.f=this.a[this.j]<<1;this.h=this.i=this.a[this.j]=this.f&255};e.gd=function(){this.B=xa(this);this.a[this.o--]=this.B;this.o|=256};e.ad=function(){this.b=this.c++;this.h=this.i=this.g|=this.a[this.b]};e.yb=function(){this.f=this.g<<1;this.h=this.i=this.g=this.f&255};e.Yc=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.g|=this.a[this.b]}; +e.wb=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.f=this.a[this.j]<<1;this.h=this.i=this.a[this.j]=this.f&255};e.Ib=function(){this.c+=(this.h&128?0:(this.G--,this.a[this.c]<<24>>24))+1};e.cd=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.h=this.i=this.g|=this.a[this.b]};e.ed=function(){this.b=this.a[this.c++]+this.m&255;this.h=this.i=this.g|=this.a[this.b]}; +e.Ab=function(){this.j=this.a[this.c++]+this.m&255;this.f=this.a[this.j]<<1;this.h=this.i=this.a[this.j]=this.f&255};e.Mb=function(){this.f=0};e.$c=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.h=this.i=this.g|=this.a[this.b]};e.Zc=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.g|=this.a[this.b]};e.xb=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.f=this.a[this.j]<<1;this.h=this.i=this.a[this.j]=this.f&255}; +e.zc=function(){this.b=this.c++;this.a[this.o--]=this.c>>8;this.o|=256;this.a[this.o--]=this.c&255;this.o|=256;this.c=this.a[this.b]|this.a[this.b+1]<<8};e.sb=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.h=this.i=this.g&=this.a[this.b]};e.Fb=function(){this.b=this.a[this.c++];this.i=this.g&this.a[this.b];this.h=this.h&127|this.a[this.b]&128;this.w=0;this.C=this.a[this.b]&64?128:0};e.ub=function(){this.b=this.a[this.c++];this.h=this.i=this.g&=this.a[this.b]}; +e.nd=function(){this.j=this.a[this.c++];this.f=this.f&65280|this.a[this.j];this.f<<=1;this.f=this.f&65534|(this.f&512?1:0);this.h=this.i=this.a[this.j]=this.f&255};e.jd=function(){this.o=this.o+1&255|256;this.B=this.a[this.o];this.f=this.B&1?256:0;this.i=this.B&2?0:1;this.h=this.B&128;this.w=0;this.C=this.B&64?128:0};e.rb=function(){this.b=this.c++;this.h=this.i=this.g&=this.a[this.b]}; +e.md=function(){this.f=this.f&65280|this.g;this.f<<=1;this.f=this.f&65534|(this.f&512?1:0);this.h=this.i=this.g=this.f&255};e.Eb=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.i=this.g&this.a[this.b];this.h=this.h&127|this.a[this.b]&128;this.w=0;this.C=this.a[this.b]&64?128:0};e.ob=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.g&=this.a[this.b]}; +e.kd=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.f=this.f&65280|this.a[this.j];this.f<<=1;this.f=this.f&65534|(this.f&512?1:0);this.h=this.i=this.a[this.j]=this.f&255};e.Gb=function(){this.c+=(this.h&128?(this.G--,this.a[this.c]<<24>>24):0)+1};e.tb=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.h=this.i=this.g&=this.a[this.b]};e.vb=function(){this.b=this.a[this.c++]+this.m&255;this.h=this.i=this.g&=this.a[this.b]}; +e.od=function(){this.j=this.a[this.c++]+this.m&255;this.f=this.f&65280|this.a[this.j];this.f<<=1;this.f=this.f&65534|(this.f&512?1:0);this.h=this.i=this.a[this.j]=this.f&255};e.Ed=function(){this.f=256};e.qb=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.h=this.i=this.g&=this.a[this.b]};e.pb=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.g&=this.a[this.b]}; +e.ld=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.f=this.f&65280|this.a[this.j];this.f<<=1;this.f=this.f&65534|(this.f&512?1:0);this.h=this.i=this.a[this.j]=this.f&255};e.ud=function(){this.o=this.o+1&255|256;this.B=this.a[this.o];this.f=this.B&1?256:0;this.i=this.B&2?0:1;this.h=this.B&128;this.w=0;this.C=this.B&64?128:0;this.o=this.o+2&255|256;this.c=this.a[this.o-1|256]|this.a[this.o]<<8}; +e.nc=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.h=this.i=this.g^=this.a[this.b]};e.pc=function(){this.b=this.a[this.c++];this.h=this.i=this.g^=this.a[this.b]};e.Vc=function(){this.j=this.a[this.c++];this.f=this.f&65279|(this.a[this.j]&1?256:0);this.a[this.j]=(this.f=this.f&65280|this.a[this.j]>>1)&255;this.h=this.i=this.f&255};e.fd=function(){this.a[this.o--]=this.g;this.o|=256};e.mc=function(){this.b=this.c++;this.h=this.i=this.g^=this.a[this.b]}; +e.Uc=function(){this.f=this.f&65279|(this.g&1?256:0);this.g=(this.f=this.f&65280|this.g>>1)&255;this.h=this.i=this.f&255};e.yc=function(){this.b=this.c;this.c=this.a[this.b]|this.a[this.b+1]<<8};e.jc=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.g^=this.a[this.b]};e.Sc=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.f=this.f&65279|(this.a[this.j]&1?256:0);this.a[this.j]=(this.f=this.f&65280|this.a[this.j]>>1)&255;this.h=this.i=this.f&255}; +e.Kb=function(){this.c+=((this.w&255^this.C^this.w>>1)&128?0:(this.G--,this.a[this.c]<<24>>24))+1};e.oc=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.h=this.i=this.g^=this.a[this.b]};e.qc=function(){this.b=this.a[this.c++]+this.m&255;this.h=this.i=this.g^=this.a[this.b]};e.Wc=function(){this.j=this.a[this.c++]+this.m&255;this.f=this.f&65279|(this.a[this.j]&1?256:0);this.a[this.j]=(this.f=this.f&65280|this.a[this.j]>>1)&255;this.h=this.i=this.f&255}; +e.Ob=function(){this.B&=251};e.lc=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.h=this.i=this.g^=this.a[this.b]};e.kc=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.g^=this.a[this.b]};e.Tc=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.f=this.f&65279|(this.a[this.j]&1?256:0);this.a[this.j]=(this.f=this.f&65280|this.a[this.j]>>1)&255;this.h=this.i=this.f&255}; +e.vd=function(){this.o=this.o+2&255|256;this.c=(this.a[this.o-1|256]|this.a[this.o]<<8)+1};e.Na=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255};e.kb=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.g=Q(this,this.g,this.a[this.b])}; +e.Pa=function(){this.b=this.a[this.c++];this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255};e.mb=function(){this.b=this.a[this.c++];this.g=Q(this,this.g,this.a[this.b])};e.sd=function(){this.j=this.a[this.c++];this.f=this.f&65280|this.a[this.j];this.f=this.f&65023|(this.f&1?512:0);this.f>>=1;this.h=this.i=this.a[this.j]=this.f&255};e.hd=function(){this.o=this.o+1&255|256;this.h=this.i=this.g=this.a[this.o]}; +e.Ma=function(){this.b=this.c++;this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255};e.jb=function(){this.b=this.c++;this.g=Q(this,this.g,this.a[this.b])};e.rd=function(){this.f=this.f&65280|this.g;this.f=this.f&65023|(this.f&1?512:0);this.f>>=1;this.h=this.i=this.g=this.f&255};e.xc=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.c=this.a[this.b]|this.a[this.b+1]<<8}; +e.Ja=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255};e.gb=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.g=Q(this,this.g,this.a[this.b])};e.pd=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.f=this.f&65280|this.a[this.j];this.f=this.f&65023|(this.f&1?512:0);this.f>>=1;this.h=this.i=this.a[this.j]=this.f&255}; +e.Lb=function(){this.c+=((this.w&255^this.C^this.w>>1)&128?(this.G--,this.a[this.c]<<24>>24):0)+1};e.Oa=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255};e.lb=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.g=Q(this,this.g,this.a[this.b])}; +e.Qa=function(){this.b=this.a[this.c++]+this.m&255;this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255};e.nb=function(){this.b=this.a[this.c++]+this.m&255;this.g=Q(this,this.g,this.a[this.b])};e.td=function(){this.j=this.a[this.c++]+this.m&255;this.f=this.f&65280|this.a[this.j];this.f=this.f&65023|(this.f&1?512:0);this.f>>=1;this.h=this.i=this.a[this.j]=this.f&255};e.Gd=function(){this.B|=4}; +e.La=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255};e.ib=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.g=Q(this,this.g,this.a[this.b])};e.Ka=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.f=this.g+this.a[this.b]+(this.f&256?1:0);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255}; +e.hb=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.g=Q(this,this.g,this.a[this.b])};e.qd=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.f=this.f&65280|this.a[this.j];this.f=this.f&65023|(this.f&1?512:0);this.f>>=1;this.h=this.i=this.a[this.j]=this.f&255};e.Kd=function(){this.j=this.a[this.c++]+this.m&255;this.j=this.a[this.j]|this.a[this.j+1]<<8;this.a[this.j]=this.g};e.Sd=function(){this.j=this.a[this.c++];this.a[this.j]=this.s}; +e.Md=function(){this.j=this.a[this.c++];this.a[this.j]=this.g};e.Pd=function(){this.j=this.a[this.c++];this.a[this.j]=this.m};e.ic=function(){this.h=this.i=this.s=this.s-1&255};e.Yd=function(){this.h=this.i=this.g=this.m};e.Rd=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.a[this.j]=this.s};e.Hd=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.a[this.j]=this.g};e.Od=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.a[this.j]=this.m}; +e.Bb=function(){this.c+=(this.f&256?0:(this.G--,this.a[this.c]<<24>>24))+1};e.Ld=function(){this.j=this.a[this.c++];this.j=(this.a[this.j]|this.a[this.j+1]<<8)+this.s;this.a[this.j]=this.g};e.Td=function(){this.j=this.a[this.c++]+this.m&255;this.a[this.j]=this.s};e.Nd=function(){this.j=this.a[this.c++]+this.m&255;this.a[this.j]=this.g};e.Qd=function(){this.j=this.a[this.c++]+this.s&255;this.a[this.j]=this.m};e.$d=function(){this.h=this.i=this.g=this.s}; +e.Jd=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.a[this.j]=this.g};e.Zd=function(){this.o=this.m|256};e.Id=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.a[this.j]=this.g};e.Pc=function(){this.b=this.c++;this.h=this.i=this.s=this.a[this.b]};e.Ec=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.h=this.i=this.g=this.a[this.b]};e.Kc=function(){this.b=this.c++;this.h=this.i=this.m=this.a[this.b]}; +e.Qc=function(){this.b=this.a[this.c++];this.h=this.i=this.s=this.a[this.b]};e.Gc=function(){this.b=this.a[this.c++];this.h=this.i=this.g=this.a[this.b]};e.Lc=function(){this.b=this.a[this.c++];this.h=this.i=this.m=this.a[this.b]};e.Wd=function(){this.h=this.i=this.s=this.g};e.Dc=function(){this.b=this.c++;this.h=this.i=this.g=this.a[this.b]};e.Vd=function(){this.h=this.i=this.m=this.g};e.Nc=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.s=this.a[this.b]}; +e.Ac=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.g=this.a[this.b]};e.Ic=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.m=this.a[this.b]};e.Cb=function(){this.c+=(this.f&256?(this.G--,this.a[this.c]<<24>>24):0)+1};e.Fc=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.h=this.i=this.g=this.a[this.b]};e.Rc=function(){this.b=this.a[this.c++]+this.m&255;this.h=this.i=this.s=this.a[this.b]}; +e.Hc=function(){this.b=this.a[this.c++]+this.m&255;this.h=this.i=this.g=this.a[this.b]};e.Mc=function(){this.b=this.a[this.c++]+this.s&255;this.h=this.i=this.m=this.a[this.b]};e.Pb=function(){this.C=this.w=0};e.Cc=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.h=this.i=this.g=this.a[this.b]};e.Xd=function(){this.h=this.i=this.m=this.o&255};e.Oc=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.s=this.a[this.b]}; +e.Bc=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.g=this.a[this.b]};e.Jc=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.h=this.i=this.m=this.a[this.b]};e.bc=function(){this.b=this.c++;this.h=this.i=this.f=this.s-this.a[this.b];this.f^=256};e.Ub=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256}; +e.cc=function(){this.b=this.a[this.c++];this.h=this.i=this.f=this.s-this.a[this.b];this.f^=256};e.Wb=function(){this.b=this.a[this.c++];this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256};e.fc=function(){this.j=this.a[this.c++];this.h=this.i=this.a[this.j]=this.a[this.j]-1&255};e.wc=function(){this.h=this.i=this.s=this.s+1&255};e.Tb=function(){this.b=this.c++;this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256};e.hc=function(){this.h=this.i=this.m=this.m-1&255}; +e.ac=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.f=this.s-this.a[this.b];this.f^=256};e.Qb=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256};e.dc=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.a[this.j]=this.a[this.j]-1&255};e.Hb=function(){this.c+=(this.i&255?(this.G--,this.a[this.c]<<24>>24):0)+1}; +e.Vb=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256};e.Xb=function(){this.b=this.a[this.c++]+this.m&255;this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256};e.gc=function(){this.j=this.a[this.c++]+this.m&255;this.h=this.i=this.a[this.j]=this.a[this.j]-1&255}; +e.Nb=function(){this.B&=-9;this.v[97]=this.Na;this.v[101]=this.Pa;this.v[105]=this.Ma;this.v[109]=this.Ja;this.v[113]=this.Oa;this.v[117]=this.Qa;this.v[121]=this.La;this.v[125]=this.Ka;this.v[225]=this.Va;this.v[229]=this.Xa;this.v[233]=this.Ua;this.v[237]=this.Ra;this.v[241]=this.Wa;this.v[245]=this.Ya;this.v[249]=this.Ta;this.v[253]=this.Sa};e.Sb=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256}; +e.Rb=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.f=this.g-this.a[this.b];this.f^=256};e.ec=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.a[this.j]=this.a[this.j]-1&255};e.Zb=function(){this.b=this.c++;this.h=this.i=this.f=this.m-this.a[this.b];this.f^=256}; +e.Va=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.Ad=function(){this.b=this.a[this.c++]+this.m&255;this.b=this.a[this.b]|this.a[this.b+1]<<8;this.g=R(this,this.g,this.a[this.b])};e.$b=function(){this.b=this.a[this.c++];this.h=this.i=this.f=this.m-this.a[this.b];this.f^=256}; +e.Xa=function(){this.b=this.a[this.c++];this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.Cd=function(){this.b=this.a[this.c++];this.g=R(this,this.g,this.a[this.b])};e.tc=function(){this.j=this.a[this.c++];this.h=this.i=this.a[this.j]=this.a[this.j]+1&255};e.vc=function(){this.h=this.i=this.m=this.m+1&255}; +e.Ua=function(){this.b=this.c++;this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.zd=function(){this.b=this.c++;this.g=R(this,this.g,this.a[this.b])};e.Xc=function(){};e.Yb=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.f=this.m-this.a[this.b];this.f^=256}; +e.Ra=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.wd=function(){this.b=this.a[this.c++]|this.a[this.c++]<<8;this.g=R(this,this.g,this.a[this.b])};e.rc=function(){this.j=this.a[this.c++]|this.a[this.c++]<<8;this.h=this.i=this.a[this.j]=this.a[this.j]+1&255};e.Db=function(){this.c+=(this.i&255?0:(this.G--,this.a[this.c]<<24>>24))+1}; +e.Wa=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.Bd=function(){this.b=this.a[this.c++];this.b=(this.a[this.b]|this.a[this.b+1]<<8)+this.s;this.g=R(this,this.g,this.a[this.b])}; +e.Ya=function(){this.b=this.a[this.c++]+this.m&255;this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.Dd=function(){this.b=this.a[this.c++]+this.m&255;this.g=R(this,this.g,this.a[this.b])};e.uc=function(){this.j=this.a[this.c++]+this.m&255;this.h=this.i=this.a[this.j]=this.a[this.j]+1&255}; +e.Fd=function(){this.B|=8;this.v[97]=this.kb;this.v[101]=this.mb;this.v[105]=this.jb;this.v[109]=this.gb;this.v[113]=this.lb;this.v[117]=this.nb;this.v[121]=this.ib;this.v[125]=this.hb;this.v[225]=this.Ad;this.v[229]=this.Cd;this.v[233]=this.zd;this.v[237]=this.wd;this.v[241]=this.Bd;this.v[245]=this.Dd;this.v[249]=this.yd;this.v[253]=this.xd}; +e.Ta=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.yd=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.s;this.g=R(this,this.g,this.a[this.b])}; +e.Sa=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.f=this.g-this.a[this.b]-(this.f&256?0:1);this.C=this.g^this.a[this.b];this.w=this.f;this.h=this.i=this.g=this.f&255;this.f^=256};e.xd=function(){this.b=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.g=R(this,this.g,this.a[this.b])};e.sc=function(){this.j=(this.a[this.c++]|this.a[this.c++]<<8)+this.m;this.h=this.i=this.a[this.j]=this.a[this.j]+1&255}; +e.Ud=function(){var a;a=this.a[this.c++];switch(a){case 0:this.F("HALT");M(this);break;case 1:a=this.c;for(var b="";a=c&&(c+=32);a.j=a.j.substr(1);T(a,c)}0=b&&(b+=32),Ha(a,b),U(a,b,!0,0)&&(a.f.speed==a.f.Ba?U(a,b,!1,1):(c=!1,a.h[b]&&(clearTimeout(a.h[b]),c=!0),c=Ga(a,c),a.h[a.i=b]=setTimeout(function(a){return function(){U(a,b,!1,3)}}(a),c)),c=!0));return c} +function U(a,b,c,d){var f=!1;c||(a.h[b]=null,a.i==b&&(a.i=0));var g=0,k=a.b[b];void 0===k&&(1<=b&&26>=b&&(b+=64,g=a.v),k=a.b[b]);void 0!==k&&(b=k>>12,f=k>>8&15,g||(g=k&255),c?(a.g[b]|=1<b||8192<=b));b&&(b=a.w.shift(),void 0!==b&&(a.R=b),a.C=0,a.V=d);for(b=d=0;8>b;b++)a.S&1<d[g][0]&&(k=d[g][0]),h=a.I&&(d-=a.I,dMissing <canvas> support. Please try a newer web browser.";break}f.setAttribute("class","c1pjs-canvas");f.setAttribute("width",d.screenWidth);f.setAttribute("height",d.screenHeight);f.setAttribute("contenteditable","true");f.setAttribute("autocapitalize","off");f.setAttribute("autocorrect","off");f.style.backgroundColor=d.screenColor; +f.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(f.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,f,d.screenWidth,d.screenHeight));c.appendChild(f);var g=new Image,k=f.getContext("2d"),f=new Ka(d,f,k,g);g.onload=function(a){return function(){a.N()}}(f,d.charSet);g.src=d.charSet;H(f,c)}}); +function Na(a){B.call(this,"C1PSerialPort",a);this.u.H=!1;this.s=a.demo;this.reset()}D(Na);e=Na.prototype;e.reset=function(){if(2!=this.c){this.h=this.j=0;var a=1;if(this.Da){var b=this.Da.match(/\d+/);null!==b&&(a=parseInt(b[0],10))}this.g='10 PRINT "HELLO OSI #'+a+'"\n';this.c=this.i=0}};e.start=function(){this.b&&this.s&&(V(this.b," C\n\n",3E3),setTimeout(function(a){return function(){a.c=1;V(a.b,"LOAD\n")}}(this),12E3));this.s=!1}; +e.J=function(a,b,c){var d=this;switch(b){case "listSerial":return this.A[b]=c,!0;case "loadSerial":return this.A[b]=c,c.onclick=function(){d.A.listSerial&&r(d.A.listSerial.value,function(a,b,c){Oa(d,a,b,c)})},!0;case "mountSerial":return!v("Mobi")&&window&&"FileReader"in window?(this.A[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){var b=a.currentTarget[1].files[0],c=new FileReader;c.onload=function(){Oa(d, +b.name,c.result.toString(),0)};c.readAsText(b);return!1}):c.parentNode.removeChild(c),!0}return!1};e.X=function(a,b,c,d){this.a=a;this.m=b;this.v=c-b+1;this.o=this.m+this.v;if(this.f=d)ta(d,b,c,this,this.W),O(d,b,c,this,this.P);this.N()};e.$=function(a,b){a&&!this.u.H&&(this.u.H=!0,this.I=b,this.b=L(b,"keyboard"))}; +function Oa(a,b,c,d){c?(a.g=c,a.i=0,a.c=0,a.I&&a.b&&a.f.u.Z?(a.F("auto-loading "+b),a.f.da(),"."!=a.g.charAt(0)?(a.c=1,V(a.b,"NEW\nLOAD\n")):(a.c=2,a.I.reset(!0),V(a.b,"ML"))):a.F(b+" ready to load")):a.F(b+" load error ("+d+")")}e.W=function(a,b){void 0!==b&&(a&1?Pa(this):this.g&&!this.i&&Pa(this))};e.P=function(){}; +function Pa(a){if(void 0!==a.g){a.j=0;a.h=0;if(a.i=--d.ha&&(0=d.Ia&&(d.aa=d.Ia),0>d.aa&&(d.aa=0),d.ha=20,a.g.update(a.g.D|128),Ta(a))}this.D=c;a.m.D&4&&W(a,2,this)}}(a)};a.m={D:0,read:function(){}, +update:function(a){return function(c){void 0!==c&&(this.D=c&-193);W(a,3,this);a.i.update();a.w.update()}}(a)};a.B={D:0,read:function(){},update:function(a){return function(c){void 0!==c&&(3==(c&3)&&(a.h.D=14),this.D=c);a.h.update()}}(a)};a.h={D:14,read:function(){},update:function(a){return function(c){void 0===c&&(c=a.h.D);c&=-2;0<=a.b&&0<=a.c[a.b].ga&&(c|=1);this.D=c;W(a,16,this)}}(a)};a.o={D:0,read:function(a){return function(){Ua(a)}}(a),update:function(a){return function(c){void 0!==c&&(this.D= +c);W(a,17,this)}}(a)};a.C={D:0,read:function(){},update:function(){return function(){}}(a)}}e.J=function(a,b,c){switch(b){case "listDisk":return this.A[b]=c,!0;case "loadDisk":return this.A[b]=c,c.onclick=function(a){return function(){if(a.A.listDisk){var b=a.A.listDisk.value,c=b;".json"!=b.substr(b.length-5)&&(c="http://"+window.location.host+"/api/v1/dump?disk="+b);a.F("loading "+aa(b)+"...");r(c,function(b,c,f){Va(a,b,c,f)})}}}(this),!0}return!1}; +e.X=function(a,b,c,d){this.a=a;this.s=b;if(this.f=d)ta(d,b,c,this,this.W),O(d,b,c,this,this.P);this.N()};e.$=function(a){a&&!this.u.H&&(this.u.H=!0)}; +function Va(a,b,c,d){if(d)a.F("disk load error ("+d+")");else{d=[];a.F("mounting "+b+"...");try{if(d=eval("("+c+")"),d.length)if(d[0].length){var f=d[0];if(void 0===f[0].trackNum)a.F("data error: "+f[0]);else if(a.c[0]){for(c=0;c>8&255);a.push(b&255)}function Wa(a,b,c){b=b[c];if(void 0===b)throw Error("missing signature: "+c);for(c=0;cb?b&=3:32>b&&(b&=17);switch(b){case 0:a=a.j.D&4?a.g:a.v;break;case 1:a=a.j;break;case 2:a=a.m.D&4?a.i:a.w;break;case 3:a=a.m;break;case 16:a=c?a.B:a.h;break;case 17:a=a.o;break;default:a=a.C}return a}e.W=function(a,b){void 0!==b&&Ya(this,a-this.s,!1).read()};e.P=function(a,b){if(void 0!==b){var c=this.f.W(a);Ya(this,a-this.s,!0).update(c)}};function Sa(a,b,c){var d=-1;void 0!==b&&void 0!==c&&(d=0,c&32||(d|=2),a.g.D&64||(d|=1));a.b!=d&&(a.b=d,a.h.update())} +function Ta(a){0<=a.b&&(a.c[a.b].ga=-1,a.o.update(255),a.h.update())}function Ua(a){var b=null;if(0<=a.b){var b=a.c[a.b],c=b.ua[b.aa];void 0!==c&&(0<=b.ga&&b.ga");b&&b.$(!0,a)} +y(function(){for(var a=I(document,"c1pjs","computer"),b=0;b');return}}if(void 0===k){t(' definition must appear first in the specification'); +break}if(f=F("debugger",d.id))g["debugger"]=[f],f.X&&f.X(k,h,l,g.cpu[0]);h=new Y(d,g);if(l=F("panel",d.id))if(g.panel=[l],l.ya){f=d.id;d=void 0;g=[];f&&(f=0<(d=f.indexOf("."))?f.substr(0,d+1):"");for(d=0;dh.indexOf("/")&&"/"==window.location.pathname.slice(-1)&&(h=window.location.pathname+h);d?"}"==d.slice(-1)?(d=d.slice(0,-1),1]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" parms='"+d+"'":"")+(h?' url="'+h+'"':""))}h=null;if("<"==a.charAt(0))try{f||(a=a.replace(/\s*/g, +"")),window.ActiveXObject||"ActiveXObject"in window?(h=new window.ActiveXObject("Microsoft.XMLDOM"),h.async=!1,h.loadXML(a)):h=(new window.DOMParser).parseFromString(a,"text/xml")}catch(u){h=null,a=u.message}else a="unrecognized XML: "+(255/g.exec(a)){var f=d[2];b("Loading "+f+"...");r(f,function(g,k,h){if(h||!k)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(g=d[3])if(h=k.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var l=h[0],m,n=/( [a-z]+=)(['"])(.*?)\2/g;m=n.exec(g);)l=0>l.indexOf(m[1])?l.replace(">",m[0]+">"):l.replace(new RegExp(m[1]+"(['\"])(.*?)\\1"),m[0]);h[0]!=l&&(k=k.replace(h[0],l))}else{c(a,"missing <"+d[1]+"> in "+f);return}k=k.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],k);bb(a,b,c)}})}else c(a,null)} +function db(a,b,c){function d(a){if(void 0===k){var b=g&&I(g,"machine-warning");k=b&&b[0]||g}k&&(k.innerHTML=da(a))}function f(a){d("Error: "+a);h&&(--Z||A(!0));h=!1}var g,k,h=!0;Z++;E[a]={};try{if(g=document.getElementById(a)){var l;if("object"==typeof resources&&(l=resources.css)){var m=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css";n.styleSheet?n.styleSheet.cssText=l:n.appendChild(document.createTextNode(l));m.appendChild(n)}c||(c="/versions/c1pjs/1.21.3/components.xsl"); +l=function(h,k){k?$a(c,null,null,!1,d,function(h,l){if(l)if(E[a]&&c&&(E[a][c]=h),d("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=k.transformNode(l);m?(g.outerHTML=m,--Z||A(!0)):f("transformNodeToObject failed")}else document.implementation&&document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(l),(m=m.transformToFragment(k,document))?g.parentNode?(g.parentNode.replaceChild(m,g),--Z||A(!0)):f("invalid machine element: "+a):f("transformToFragment failed")): +f("unable to transform XML: unsupported browser");else f(h)}):f(h)};"<"!=b.charAt(0)?$a(b,a,void 0,!0,d,l):ab(b,null,a,void 0,!1,d,l)}else f("missing machine element: "+a)}catch(u){f(u.message)}return h}window.embedC1P=function(a,b,c){A(!1);return db(a,b,c)};window.enableEvents=A;window.sendEvent=ga;})(); diff --git a/versions/c1pjs/1.21.3/common.css b/versions/c1pjs/1.21.3/common.css new file mode 100644 index 0000000000..48999bc286 --- /dev/null +++ b/versions/c1pjs/1.21.3/common.css @@ -0,0 +1,262 @@ +@CHARSET "UTF-8"; +/** + @author Jeff Parsons (@jeffpar) + @website http://www.pcjs.org/ + @created 2013-05-05 + @modified 2014-02-23 + @license http://www.gnu.org/licenses/gpl.html + */ +body { + margin: 0; + background: #202020; +} +h1, h2 { + margin-top: 0; + color: #cccccc; +} +h1, h2, h3, h4 { + word-wrap: break-word; +} + +h4 a { + color: #cccccc !important; +} +p { + line-height: 1.5em; +} +img { + max-width: 100%; +} +a img { + vertical-align: bottom; +} +pre, code { + color: #000000; + background-color: #cccccc; + font-family: Monaco, Consolas, "Lucida Console", monospace; + font-size: 12px; +} +pre { + margin: 1em 2em; + padding: 1em; + border-radius: 5px; + overflow: auto; +} +code { + padding: 1px; +} +pre a, code a { + color: #006400 !important; +} +.common { + width: 100%; + margin: 0 auto; + color: #cccccc; +} +.common a { + + color: #7fc07f; + text-decoration: none; +} +.common hr { + border-color: #808080; +} +.common a:hover { + text-decoration: underline; +} +.common, .machine { + font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; + font-size: 15px; +} +.machine { + margin: 15px; + overflow: hidden; +} +.c1pjs { + overflow: visible; +} +.machine-placeholder { + text-align: center; + font-weight: bold; +} +.common-top { + background: #202020; + font-size: small; +} +.common-top-left { + float: left; + width: 60%; +} +.common-top-left ul { + line-height: 1.5em; + list-style-type: none; + margin: 0; + padding: 1em 1em 1em 9px; + overflow: hidden; +} +.common-top-left ul li { + display: block; + float: left; +} +.common-top-left ul li a { + border-right: 1px solid #6f6f6f; + padding: 2px 6px 2px 6px; +} +.common-top-left ul li:last-child a { + border-right: none; +} +.common-top-right { + float: right; + width: 40%; +} +.common-top-right p { + float: right; + margin: 0; + padding: 1em; +} +.common-middle { + clear: both; + padding: 1px 1em 1px 1em; + background: #404040; +} +.common-sidebar { + float: left; + font-size: small; + width: 140px; + padding-bottom: 20px; + overflow: hidden; + white-space: nowrap; + word-wrap: break-word; +} +.common-list { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list li { + + padding-bottom: 7px; +} +.common-list-data { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list-data li { + line-height: 1.5em; +} +.common-list-data-items, .common-list-data-subitems { + font-size: x-small; + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 2em; +} +.common-list-data-items li, .common-list-data-subitems li { + padding-bottom: 0; +} +.common-main { + margin-left: 150px; + +} +.common-image-gallery { + margin: 0 auto; + text-align: center; +} +.common-image-gallery:after { + content: ''; + display: block; +} +.common-image-frame { + display: inline-block; + margin: 8px; + text-align: center; +} +.common-image-link { + padding: 5px; + border: 1px solid black; + border-radius: 5px; + background-color: #FAEBD7; +} +.common-image-label { + font-size: x-small; +} +.common-bottom { + clear: both; + padding-top: 1em; +} +.common-bottom:after { + content: ''; + display: block; + clear: both; +} +.common-reference { + float: left; + font-size: x-small; +} +.common-reference a { + text-decoration: none; +} +.common-copyright { + float: right; + font-size: x-small; +} +.common-copyright a { + text-decoration: none; +} +.md-list { +} +.md-list li { + line-height: 1.5em; + margin-bottom: 1em; +} +.md-list li p { + padding-left: 2em; +} +.md-list-compact { +} +.md-list-compact li { + margin-bottom: 0; +} +.md-list-none { + list-style-type: none; + padding-left: 2em; +} +.md-list-none li { + margin-bottom: 0; +} +@media screen and (max-width: 900px) { + + .common-sidebar { + width: 100%; + white-space: normal; + } + .common-list { + padding-left: 0; + } + .common-list-data { + padding-left: 0; + } + .common-sidebar h4, .common-list li, .common-list-data li, .common-list-data-items li { + width: 130px; + float: left; + overflow: hidden; + vertical-align: top; + padding-right: 1em; + margin-top: 0; + } + .common-list-data-subitems { + display: none; + } + .common-main { + clear: both; + margin-left: 0; + padding-left: 0; + padding-right: 0; + } + .md-list-none { + padding-left: 1em; + } +} diff --git a/versions/c1pjs/1.21.3/common.xsl b/versions/c1pjs/1.21.3/common.xsl new file mode 100644 index 0000000000..364af3389c --- /dev/null +++ b/versions/c1pjs/1.21.3/common.xsl @@ -0,0 +1,59 @@ + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+

Powered by JavaScript and GitHub

+
+
+
+ + +
+

+ +
+
+ +
diff --git a/versions/c1pjs/1.21.3/components.css b/versions/c1pjs/1.21.3/components.css new file mode 100644 index 0000000000..6044356750 --- /dev/null +++ b/versions/c1pjs/1.21.3/components.css @@ -0,0 +1,108 @@ +@CHARSET "UTF-8"; + + +*:not(input,textarea) { + -webkit-user-select: none; +} +.c1pjs-embed { +} +.c1pjs-embed:after { + clear:both; +} +.c1pjs-machine { +} +.c1pjs-name { + clear: both; + font-weight: bold; + padding-bottom: 4px; +} +.c1pjs-canvas { + width: 100%; + height: auto; +} +.c1pjs-container { + color: #000000; + position: relative; +} +.c1pjs-label { + font-size: small; + line-height: 19px; + vertical-align: middle; + float: left; + font-family: "Lucida Console", monospace; +} +.c1pjs-control textarea { + font-family: Monaco, monospace; + font-size: x-small; +} +.c1pjs-fieldset { + border: none; + margin: 0; + padding: 0; +} +.c1pjs-flag { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; +} +.c1pjs-register { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; + border: 1px solid black; +} +.c1pjs-switches { + float: left; +} +.c1pjs-bitBucket { + float: left; + width: 19px; + height: 38px; +} +.c1pjs-bitCell { + float: left; + width: 19px; + height: 19px; + margin-right: -1px; + margin-bottom: -1px; + border: 1px solid black; + text-align: center; + line-height: 19px; +} +.c1pjs-bitCellLeft { + border-left: 1px solid black; +} +.c1pjs-bitLabel { + font-size: xx-small; + text-align: center; +} +.c1pjs-description, .c1pjs-status { + font-size: small; + line-height: 2em; +} +.c1pjs-key { + border: 1px solid black; + font-size: x-small; + text-align: center; + position: absolute; + height: 34px; + line-height: 34px; +} +.c1pjs-reference { + float: left; + font-size: x-small; +} +.c1pjs-reference a { + text-decoration: none; +} +.c1pjs-copyright { + float: right; + font-size: x-small; +} +.c1pjs-copyright a { + text-decoration: none; +} diff --git a/versions/c1pjs/1.21.3/components.xsl b/versions/c1pjs/1.21.3/components.xsl new file mode 100644 index 0000000000..5b55626348 --- /dev/null +++ b/versions/c1pjs/1.21.3/components.xsl @@ -0,0 +1,575 @@ + + + + + + + + + + + c1p + c1pjs + 1.21.3 + www.pcjs.org + + + + + + + + + + + + + + + + + + + + + + +
+ + + + js + , + + +
+
+ + + + + + + + + + + + + , + + + + + + + + + + + + .machine + . + + + + + + + + + + + + + + border:1px solid black;border-radius:10px; + border:; + + + + + + left:; + + + + + + top:; + + + + + + + + width:; + width:auto;max-width:; + + + + + + + + height:; + + + + + + padding:; + + padding-top:; + padding-right:; + padding-bottom:; + padding-left:; + + + + + + float:left; + float:right; + margin:0 auto; + position:; + position:absolute; + + + + + overflow:auto;width:100%; + background-color:; + + + + - -component + +
+ + + + + + +
+ +
+
+ +
+ +
+
+ +
+ + +
[XML]
+ +
+ +
+
+
+
+ + + + + text-align:center; + + + +

+
+ + +
+
+ + + + type:'' + + + binding:'' + + + + border:1px solid black; + border:; + + + + + + width:; + + + + + + height:; + + + + + + left:; + + + + + + top:; + + + + + + position:absolute; + float:left; + float:right; + margin:0 auto; + ; + float:left; + + + + + + + + +
+ + + font-size:; + + + + + -label + + + width:; + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+
+
+ +
+
+ +

+
+ +
+
+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + null + + + + + + ,autoStart: + + + + + + + + + + + + + + + 600 + + + + + keyboard + ,model: + + + + + + + + + + + + + + + false + + + + + serial + ,demo: + + + + + + + + + + + + + + disk + + + + + + + + + + + + + + + 0 + + + + + + + + + + + rom + ,size:,image:'' + + + + + + + + + + + + + + + 0 + + + + + ram + ,size: + + + + + + + + + + + + + + + 600 + + + + + + 256 + + + + + + 224 + + + + + + 32 + + + + + + 32 + + + + + + 0 + + + + + + 0 + + + + + + + + + + + + black + + + + + video + ,model:,screenWidth:,screenHeight:,charCols:,charRows:,charWidth:,charHeight:,charSet:'',screenColor:'' + + + + + + + + + + + + + + debugger + + + + + + + + + + + + + + panel + + + + + + + + + + + + + [ + {} + , + ] + + + + computer + ,modules: + + + + + type:'',refID:'',start:,end: + + +
diff --git a/versions/c1pjs/1.21.3/document.css b/versions/c1pjs/1.21.3/document.css new file mode 100644 index 0000000000..7072b406e4 --- /dev/null +++ b/versions/c1pjs/1.21.3/document.css @@ -0,0 +1,162 @@ +@CHARSET "UTF-8"; + +.page { + margin: 2% 2%; + padding: 2% 2%; + min-width: 30em; + overflow: auto; + font-size: large; + font-family: Helvetica, Arial, sans-serif; + background: #303030; + color: #ccc; + +} +.page-header { +} +.page-header-title { + text-align: center; + +} +.page a { + color: #7fc07f; + text-decoration: none; +} +a.footlink, a.paralink { + text-decoration: none; +} +a.footlink:link, a.paralink:link { + color: blue; +} +a.footlink:visited, a.paralink:visited { + color: blue; +} +.galleryitem { + float: left; + width: 200px; +} +.item { + float: left; + width: 2em; + text-indent: 1em; +} +.list { + margin-left: 3em; + text-indent: 0; + text-align: justify; +} +ul { + list-style: none; +} +div.pnumber { + float: left; + width: 2em; + text-indent: 1em; +} +div.pitem { + margin-left: 10em; +} +p.indent, .justified p { + text-indent: 2em; + text-align: justify; + line-height: 1.5em; +} +p.noindent { + text-indent: 0; + text-align: justify; +} +p.center, .center { + text-align: center; +} +li.para { + margin-top: 1em; + margin-bottom: 1em; +} +.left { + text-align: left; +} +.right { + text-align: right; +} +blockquote.tag { + font-size: small; + font-family: Monaco, Fixed, monospace; + margin-top: 0; + margin-bottom: 0; +} +.blockquote { + padding-left: 1em; + text-indent: 0; + text-align: justify; +} +.italics { + font-style: italic; +} +.medium { + font-size: medium; +} +.small { + font-size: x-small; +} +.smallcaps { + font-variant: small-caps; +} +.strike { + text-decoration: line-through; +} +.summation, .bracelist { + display: inline-block; + position: relative; + vertical-align: middle; + text-align: center; + margin-bottom: 0.5ex; + text-indent: 0; +} +.bracelist-symbol { + font-size: 3em; + vertical-align: -40%; +} +.summation .summation-lower, .summation .summation-upper, .bracelist-item { + display: block; + font-size: 75%; + text-align: center; +} +.summation .summation-upper { + margin-bottom: 0; + margin-left: 0.8ex; + font-style: italic; +} +.summation .summation-lower{ + margin-bottom: -0.6ex; + font-style: italic; +} +.summation .summation-symbol { + font-size: 2em; +} +p sup { + vertical-align: baseline; + position: relative; + bottom: .5em; + font-size: small; +} +p sub { + vertical-align: baseline; + position: relative; + bottom: -.5em; + font-size: small; +} +.footnote { + font-size: medium; + text-indent: 1em; + text-align: justify; + margin-top: .5em; +} +.image-right { + float: right; + margin-left: 1em; + margin-top: 1em; + margin-bottom: 1em; +} +.image-caption { + font-size: small; + text-align: center; +} \ No newline at end of file diff --git a/versions/c1pjs/1.21.3/document.xsl b/versions/c1pjs/1.21.3/document.xsl new file mode 100644 index 0000000000..0ca07ff122 --- /dev/null +++ b/versions/c1pjs/1.21.3/document.xsl @@ -0,0 +1,452 @@ + + + + + +]> + + + + + + + + + +

+
+ + + + + + + +

+
+ +

+
+
+
+ + + + + + +
+
+ + +
+ +   + + +
+
+ +
+
+ + + + + + + + + + + + + + + + +

+
+ + +

+
+ + +

+
+ + +
+
+ + +
+
+ + + + + + + + + + + + + + +
+
+ + +
+
+ + +
  • +
    + + +
    image
    +
    + + +
    +
    + + + + +
    {.}
    +
    + +
    {.}
    +
    +
    +
    + + + + + + + + + + < + > + + + + × + + ÷ + σ + + + + + + + + + + + + { + + + + + + + + + + [] + + + + +
    + +
    +
    + + + , and + + + + + MDY + + + + + + + + + + + + + + + + + + + + January + February + March + April + May + June + July + August + September + October + November + December + + + , + + + + + +

    + +
    +
    + + +
    + {.}
    +
    +
    +
    + + + +

    Timeline

    +
    + +

    +
    +
    + +
    +
    + + + + + + + + + +

    +
    + +
    +
    +
    + + + +

    People

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + +

    +
      + +
    +
    + + + + + + + + + + +
  • + +
  • +
    + + + +

    +
    +

    + +

    +
    +
    + + + + false + + + + + + [Original] + + + + + + + + + + [] + + +
    by
    + + +
    + [Source: + + + + + + + ] +
    +
    +
    + + + +

    Resources

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + + +

    +
    +
      + +
    +
    + + +
  • +
    + + + +

    +
    +
    + +
    +
    + + + +

    +
    + +
    + + + +

    +
    +
      + +
    +
    + + + + + +
      + +
    +
    + + + + +
  • +
    + +
  • +
    + +
  • +
    +
    +
    + + +
  • +
    + + + + + + + + + + +
    + < ="" + + ></> + ></> + /> + +
    +
    + +
    diff --git a/versions/c1pjs/1.21.3/machine.xsl b/versions/c1pjs/1.21.3/machine.xsl new file mode 100644 index 0000000000..cc88e202ef --- /dev/null +++ b/versions/c1pjs/1.21.3/machine.xsl @@ -0,0 +1,49 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    +
    + + + + js + , + +
    +
    + +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/c1pjs/1.21.3/manifest.xsl b/versions/c1pjs/1.21.3/manifest.xsl new file mode 100644 index 0000000000..113a48acf0 --- /dev/null +++ b/versions/c1pjs/1.21.3/manifest.xsl @@ -0,0 +1,247 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Document Manifest

    +
    +
      + + + + None + + + + + + + + + + + + + + + + +
    +
    +
    +

    + +
    +
    +
    + + +
    + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Software Manifest

    +
    +
      + + + + None + + + + + Unknown + + + + + None + + + + + None + + + + + + + + + + + + + UpdatedReleased + + Unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + +

    No default machine specified for '' in manifest.xml

    +
    + +
    +
    +
    + + + + -dbg + + + + + + +
    + + + + + Unknown + +
  • +
      + + + + + + + + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + +
        + +
      • + + + + + + +
      • +
        +
      +
      +
    • +
      + + + + + + + + +
    +
  • +
    +
    + +
    diff --git a/versions/c1pjs/1.21.3/outline.xsl b/versions/c1pjs/1.21.3/outline.xsl new file mode 100644 index 0000000000..5dff79deb7 --- /dev/null +++ b/versions/c1pjs/1.21.3/outline.xsl @@ -0,0 +1,47 @@ + + + + +]> + + + + + + + + + + + + + + + + + + <xsl:value-of select="title"/><xsl:text> | </xsl:text><xsl:value-of select="$SITEHOST"/> + + + + + +
    +
    + +
    +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/pcjs/1.21.3/common.css b/versions/pcjs/1.21.3/common.css new file mode 100644 index 0000000000..48999bc286 --- /dev/null +++ b/versions/pcjs/1.21.3/common.css @@ -0,0 +1,262 @@ +@CHARSET "UTF-8"; +/** + @author Jeff Parsons (@jeffpar) + @website http://www.pcjs.org/ + @created 2013-05-05 + @modified 2014-02-23 + @license http://www.gnu.org/licenses/gpl.html + */ +body { + margin: 0; + background: #202020; +} +h1, h2 { + margin-top: 0; + color: #cccccc; +} +h1, h2, h3, h4 { + word-wrap: break-word; +} + +h4 a { + color: #cccccc !important; +} +p { + line-height: 1.5em; +} +img { + max-width: 100%; +} +a img { + vertical-align: bottom; +} +pre, code { + color: #000000; + background-color: #cccccc; + font-family: Monaco, Consolas, "Lucida Console", monospace; + font-size: 12px; +} +pre { + margin: 1em 2em; + padding: 1em; + border-radius: 5px; + overflow: auto; +} +code { + padding: 1px; +} +pre a, code a { + color: #006400 !important; +} +.common { + width: 100%; + margin: 0 auto; + color: #cccccc; +} +.common a { + + color: #7fc07f; + text-decoration: none; +} +.common hr { + border-color: #808080; +} +.common a:hover { + text-decoration: underline; +} +.common, .machine { + font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; + font-size: 15px; +} +.machine { + margin: 15px; + overflow: hidden; +} +.c1pjs { + overflow: visible; +} +.machine-placeholder { + text-align: center; + font-weight: bold; +} +.common-top { + background: #202020; + font-size: small; +} +.common-top-left { + float: left; + width: 60%; +} +.common-top-left ul { + line-height: 1.5em; + list-style-type: none; + margin: 0; + padding: 1em 1em 1em 9px; + overflow: hidden; +} +.common-top-left ul li { + display: block; + float: left; +} +.common-top-left ul li a { + border-right: 1px solid #6f6f6f; + padding: 2px 6px 2px 6px; +} +.common-top-left ul li:last-child a { + border-right: none; +} +.common-top-right { + float: right; + width: 40%; +} +.common-top-right p { + float: right; + margin: 0; + padding: 1em; +} +.common-middle { + clear: both; + padding: 1px 1em 1px 1em; + background: #404040; +} +.common-sidebar { + float: left; + font-size: small; + width: 140px; + padding-bottom: 20px; + overflow: hidden; + white-space: nowrap; + word-wrap: break-word; +} +.common-list { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list li { + + padding-bottom: 7px; +} +.common-list-data { + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 0; +} +.common-list-data li { + line-height: 1.5em; +} +.common-list-data-items, .common-list-data-subitems { + font-size: x-small; + list-style-type: none; + margin-top: 0; + margin-bottom: 0; + padding-left: 2em; +} +.common-list-data-items li, .common-list-data-subitems li { + padding-bottom: 0; +} +.common-main { + margin-left: 150px; + +} +.common-image-gallery { + margin: 0 auto; + text-align: center; +} +.common-image-gallery:after { + content: ''; + display: block; +} +.common-image-frame { + display: inline-block; + margin: 8px; + text-align: center; +} +.common-image-link { + padding: 5px; + border: 1px solid black; + border-radius: 5px; + background-color: #FAEBD7; +} +.common-image-label { + font-size: x-small; +} +.common-bottom { + clear: both; + padding-top: 1em; +} +.common-bottom:after { + content: ''; + display: block; + clear: both; +} +.common-reference { + float: left; + font-size: x-small; +} +.common-reference a { + text-decoration: none; +} +.common-copyright { + float: right; + font-size: x-small; +} +.common-copyright a { + text-decoration: none; +} +.md-list { +} +.md-list li { + line-height: 1.5em; + margin-bottom: 1em; +} +.md-list li p { + padding-left: 2em; +} +.md-list-compact { +} +.md-list-compact li { + margin-bottom: 0; +} +.md-list-none { + list-style-type: none; + padding-left: 2em; +} +.md-list-none li { + margin-bottom: 0; +} +@media screen and (max-width: 900px) { + + .common-sidebar { + width: 100%; + white-space: normal; + } + .common-list { + padding-left: 0; + } + .common-list-data { + padding-left: 0; + } + .common-sidebar h4, .common-list li, .common-list-data li, .common-list-data-items li { + width: 130px; + float: left; + overflow: hidden; + vertical-align: top; + padding-right: 1em; + margin-top: 0; + } + .common-list-data-subitems { + display: none; + } + .common-main { + clear: both; + margin-left: 0; + padding-left: 0; + padding-right: 0; + } + .md-list-none { + padding-left: 1em; + } +} diff --git a/versions/pcjs/1.21.3/common.xsl b/versions/pcjs/1.21.3/common.xsl new file mode 100644 index 0000000000..ee4382d9cb --- /dev/null +++ b/versions/pcjs/1.21.3/common.xsl @@ -0,0 +1,59 @@ + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +

    Powered by JavaScript and GitHub

    +
    +
    +
    + + +
    +

    + +
    +
    + +
    diff --git a/versions/pcjs/1.21.3/components.css b/versions/pcjs/1.21.3/components.css new file mode 100644 index 0000000000..b0e03456cd --- /dev/null +++ b/versions/pcjs/1.21.3/components.css @@ -0,0 +1,148 @@ +@CHARSET "UTF-8"; + + +*:not(input,textarea) { + -webkit-user-select: none; +} +.pcjs-embed { +} +.pcjs-embed:after { + clear:both; +} +.pcjs-machine { +} +.pcjs-name, .pcjs-menu { + clear: both; + font-weight: bold; + padding-bottom: 4px; +} +.pcjs-menu { + float: left; +} +.pcjs-canvas { + width: 100%; + height: auto; +} +.pcjs-container { + color: #000000; + position: relative; +} +.pcjs-label { + font-size: small; + line-height: 19px; + vertical-align: middle; + float: left; + font-family: "Lucida Console", monospace; +} +.pcjs-control textarea { + font-family: Monaco, monospace; + font-size: x-small; +} +.pcjs-fieldset { + border: none; + margin: 0; + padding: 0; +} +.pcjs-flag { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; +} +.pcjs-register { + font-family: "Lucida Console", monospace; + font-size: small; + text-align: center; + line-height: 19px; + vertical-align: middle; + border: 1px solid black; +} +.pcjs-switches { + float: left; +} +.pcjs-bitBucket { + float: left; + width: 19px; + height: 38px; +} +.pcjs-bitCell { + float: left; + width: 19px; + height: 19px; + margin-right: -1px; + margin-bottom: -1px; + border: 1px solid black; + text-align: center; + line-height: 19px; +} +.pcjs-bitCellLeft { + border-left: 1px solid black; +} +.pcjs-bitLabel { + font-size: xx-small; + text-align: center; +} +.pcjs-description, .pcjs-status { + font-size: x-small; + line-height: 2em; +} +.pcjs-key { + border: 1px solid black; + font-size: x-small; + text-align: center; + position: absolute; + height: 34px; + line-height: 34px; + background-color: #ffffff; +} +.pcjs-led { + float: left; + width: 8px; + height: 8px; + margin: 4px; + border: 1px solid black; + text-align: center; + line-height: 19px; + background-color: #000000; +} +.pcjs-video-object { + clear: both; + height: auto; + position: relative; + line-height: 0; +} +.pcjs-video-object textarea { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: 0; + border: 0; + padding: 0; + line-height: 0; +} +.pcjs-reference { + float: left; + font-size: x-small; +} +.pcjs-reference a { + text-decoration: none; +} +.pcjs-copyright { + float: right; + font-size: x-small; +} +.pcjs-copyright a { + text-decoration: none; +} + +@media screen and (max-width: 900px) { + .pcjs-textarea { + width: 100% !important; + } + .pcjs-registers { + width: 100% !important; + } +} diff --git a/versions/pcjs/1.21.3/components.xsl b/versions/pcjs/1.21.3/components.xsl new file mode 100644 index 0000000000..ba32c742d7 --- /dev/null +++ b/versions/pcjs/1.21.3/components.xsl @@ -0,0 +1,1117 @@ + + + + + + + + + + + pc + pcjs + 1.21.3 + www.pcjs.org + + + + + + + + + + + + + + + + + /devices/pc/machine/5150/mda/64kb/machine.xml + + + + + + + + + + + + + + + + + + + + + + + + + + float: + +
    + + + + + + + + + + js + + + "" + + + + + +
    +
    + + + + + + + + + + + + + + + , + + + + + + + + + + + + + .machine + . + . + + + + + + + + + + + + + + + + + + + + ,comment:'' + + + + + + border:1px solid black;border-radius:15px; + border:; + + + + + + left:; + + + + + + top:; + + + + + + + + width:; + width:auto;max-width:; + + + + + + + + height:; + + + + + + padding:; + + padding-top:; + padding-right:; + padding-bottom:; + padding-left:; + + + + + + float:left; + float:right; + margin:0 auto;clear:both; + position:; + position:relative; + + + + + overflow:auto;width:100%; + background-color:; + + + + - -component + +
    + + + + + + +
    + + + + + + + +
    +
    + +
    + +
    +
    + + + + +
    + + +
    [XML]
    + +
    + + +
    +
    +
    +
    + + + + + text-align:center; + + + +

    +
    + + +
    +
    + + + + + + +
    +
    + + + + type:'' + + + binding:'' + + + value:'' + + + + border:1px solid black; + border:; + + + + + + width:; + + + + + + height:; + + + + + + left:; + + + + + + top:; + + + + + + padding:; + + padding-top:; + padding-right:; + padding-bottom:; + padding-left:; + + + + + + float:left; + float:right; + margin:0 auto; + position:; + position:relative; + float:left; + + + + + + + + + + + + + + + + + + +
    + + + font-size:; + + + + + -label + + + + width:; + width:; + + + + + + + + text-align:right; + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    + + +
    +
    +
    + +
    +
    + +
    +
    + + + + +
    +
    + +
    +
    +
    + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + desc:'' + + ,href:'' + + + + + + + + + + + + + + + desc:'' + + ,href:'' + + + + + + + + ; + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + + + + desc:'' + + ,href:'' + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8088 + + + + + + + + + + + + 0 + + + + + + 0 + + + + + + 1 + + + + + + + null + + + + + + + -1 + + + + + + + -1 + + + + + + + -1 + + + + + + ,model:,stepping:'',fpu:,cycles:,multiplier:,autoStart:,csStart:,csInterval:,csStop: + + + + + + + + + + + + + + + 8087 + + + + + + + + + + + + ,model:,stepping:'' + + + + + + + + + + + + + + + 5150 + + + + + + + + + + + + + + + + + + true + + + + + + false + + + + + + {} + + + + + + + + + + + + + + + + + chipset + ,model:'',scaleTimers:,sw1:'',sw2:'',sound:,floppies:,monitor:'',rtcDate:'' + + + + + + + + + + + + + + + + + + + + keyboard + ,model:'' + + + + + + + + + + + + + + + 0 + + + + + + + + + + + parallel + ,adapter:,binding:'' + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 0 + + + + + + + 0 + + + + + serial + ,adapter:,binding:'',tabSize:,charBOL: + + + + + + + + + + + + + + + + + + + + mouse + ,serial:'' + + + + + + + + + + + + + + + + + + + + + + + + fdc + ,autoMount:'' + + + + + + + + + + + + + + + + + + + + + xt + + + + + hdc + ,drives:'',type:'' + + + + + + + + + + + + + + + 0 + + + + + + 0 + + + + + + null + + + + + + + + + + + + + + + + + rom + ,addr:,size:,alias:,file:'',notify:'' + + + + + + + + + + + + + + + 0 + + + + + + 0 + + + + + + true + + + + + ram + ,addr:,size:,test: + + + + + + + + + + + + + + + + + + + + + null + + + + + + + 256 + + + + + + + 224 + + + + + + 0 + + + + + + + + + + + + false + + + + + + + 80 + + + + + + + 25 + + + + + + + + + + + + + + + black + + + + + + + + + + + + + + false + + + + + video + ,model:'',mode:,screenWidth:,screenHeight:,memory:,switches:'',scale:,charCols:,charRows:,fontROM:'',screenColor:'',touchScreen:'',autoLock: + + + + + + + + + + + + + + + + + + + + + + + + + + debugger + ,commands:'',messages:'' + + + + + + + + + + + + + + panel + + + + + + + + + + + + + + + + + + + + + true + + + + + + + 20 + + + + + + 0 + + + + + + + + + + + + computer + ,autoPower:,busWidth:,resume:,state:'' + + + +
    diff --git a/versions/pcjs/1.21.3/document.css b/versions/pcjs/1.21.3/document.css new file mode 100644 index 0000000000..7072b406e4 --- /dev/null +++ b/versions/pcjs/1.21.3/document.css @@ -0,0 +1,162 @@ +@CHARSET "UTF-8"; + +.page { + margin: 2% 2%; + padding: 2% 2%; + min-width: 30em; + overflow: auto; + font-size: large; + font-family: Helvetica, Arial, sans-serif; + background: #303030; + color: #ccc; + +} +.page-header { +} +.page-header-title { + text-align: center; + +} +.page a { + color: #7fc07f; + text-decoration: none; +} +a.footlink, a.paralink { + text-decoration: none; +} +a.footlink:link, a.paralink:link { + color: blue; +} +a.footlink:visited, a.paralink:visited { + color: blue; +} +.galleryitem { + float: left; + width: 200px; +} +.item { + float: left; + width: 2em; + text-indent: 1em; +} +.list { + margin-left: 3em; + text-indent: 0; + text-align: justify; +} +ul { + list-style: none; +} +div.pnumber { + float: left; + width: 2em; + text-indent: 1em; +} +div.pitem { + margin-left: 10em; +} +p.indent, .justified p { + text-indent: 2em; + text-align: justify; + line-height: 1.5em; +} +p.noindent { + text-indent: 0; + text-align: justify; +} +p.center, .center { + text-align: center; +} +li.para { + margin-top: 1em; + margin-bottom: 1em; +} +.left { + text-align: left; +} +.right { + text-align: right; +} +blockquote.tag { + font-size: small; + font-family: Monaco, Fixed, monospace; + margin-top: 0; + margin-bottom: 0; +} +.blockquote { + padding-left: 1em; + text-indent: 0; + text-align: justify; +} +.italics { + font-style: italic; +} +.medium { + font-size: medium; +} +.small { + font-size: x-small; +} +.smallcaps { + font-variant: small-caps; +} +.strike { + text-decoration: line-through; +} +.summation, .bracelist { + display: inline-block; + position: relative; + vertical-align: middle; + text-align: center; + margin-bottom: 0.5ex; + text-indent: 0; +} +.bracelist-symbol { + font-size: 3em; + vertical-align: -40%; +} +.summation .summation-lower, .summation .summation-upper, .bracelist-item { + display: block; + font-size: 75%; + text-align: center; +} +.summation .summation-upper { + margin-bottom: 0; + margin-left: 0.8ex; + font-style: italic; +} +.summation .summation-lower{ + margin-bottom: -0.6ex; + font-style: italic; +} +.summation .summation-symbol { + font-size: 2em; +} +p sup { + vertical-align: baseline; + position: relative; + bottom: .5em; + font-size: small; +} +p sub { + vertical-align: baseline; + position: relative; + bottom: -.5em; + font-size: small; +} +.footnote { + font-size: medium; + text-indent: 1em; + text-align: justify; + margin-top: .5em; +} +.image-right { + float: right; + margin-left: 1em; + margin-top: 1em; + margin-bottom: 1em; +} +.image-caption { + font-size: small; + text-align: center; +} \ No newline at end of file diff --git a/versions/pcjs/1.21.3/document.xsl b/versions/pcjs/1.21.3/document.xsl new file mode 100644 index 0000000000..4e06b91d9b --- /dev/null +++ b/versions/pcjs/1.21.3/document.xsl @@ -0,0 +1,452 @@ + + + + + +]> + + + + + + + + + +

    +
    + + + + + + + +

    +
    + +

    +
    +
    +
    + + + + + + +
    +
    + + +
    + +   + + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + +

    +
    + + +

    +
    + + +

    +
    + + +
    +
    + + +
    +
    + + + + + + + + + + + + + + +
    +
    + + +
    +
    + + +
  • +
    + + +
    image
    +
    + + +
    +
    + + + + +
    {.}
    +
    + +
    {.}
    +
    +
    +
    + + + + + + + + + + < + > + + + + × + + ÷ + σ + + + + + + + + + + + + { + + + + + + + + + + [] + + + + +
    + +
    +
    + + + , and + + + + + MDY + + + + + + + + + + + + + + + + + + + + January + February + March + April + May + June + July + August + September + October + November + December + + + , + + + + + +

    + +
    +
    + + +
    + {.}
    +
    +
    +
    + + + +

    Timeline

    +
    + +

    +
    +
    + +
    +
    + + + + + + + + + +

    +
    + +
    +
    +
    + + + +

    People

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + +

    +
      + +
    +
    + + + + + + + + + + +
  • + +
  • +
    + + + +

    +
    +

    + +

    +
    +
    + + + + false + + + + + + [Original] + + + + + + + + + + [] + + +
    by
    + + +
    + [Source: + + + + + + + ] +
    +
    +
    + + + +

    Resources

    +
    + +

    +
    +
    + +
    +
    + + +

    + +
    + + + +

    +
    +
      + +
    +
    + + +
  • +
    + + + +

    +
    +
    + +
    +
    + + + +

    +
    + +
    + + + +

    +
    +
      + +
    +
    + + + + + +
      + +
    +
    + + + + +
  • +
    + +
  • +
    + +
  • +
    +
    +
    + + +
  • +
    + + + + + + + + + + +
    + < ="" + + ></> + ></> + /> + +
    +
    + +
    diff --git a/versions/pcjs/1.21.3/machine.xsl b/versions/pcjs/1.21.3/machine.xsl new file mode 100644 index 0000000000..732079bfbe --- /dev/null +++ b/versions/pcjs/1.21.3/machine.xsl @@ -0,0 +1,49 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    +
    + + + + js + , + +
    +
    + +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/pcjs/1.21.3/manifest.xsl b/versions/pcjs/1.21.3/manifest.xsl new file mode 100644 index 0000000000..bfa8573370 --- /dev/null +++ b/versions/pcjs/1.21.3/manifest.xsl @@ -0,0 +1,247 @@ + + + + +]> + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Document Manifest

    +
    +
      + + + + None + + + + + + + + + + + + + + + + +
    +
    +
    +

    + +
    +
    +
    + + +
    + + + + + + + + + + + <xsl:value-of select="$SITEHOST"/> + + + + +
    + +
    +

    Software Manifest

    +
    +
      + + + + None + + + + + Unknown + + + + + None + + + + + None + + + + + + + + + + + + + UpdatedReleased + + Unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + +

    No default machine specified for '' in manifest.xml

    +
    + +
    +
    +
    + + + + -dbg + + + + + + +
    + + + + + Unknown + +
  • +
      + + + + + + + + +
    • + + + + + + + + + + + + + + + + + + + + + + + + + +
        + +
      • + + + + + + +
      • +
        +
      +
      +
    • +
      + + + + + + + + +
    +
  • +
    +
    + +
    diff --git a/versions/pcjs/1.21.3/outline.xsl b/versions/pcjs/1.21.3/outline.xsl new file mode 100644 index 0000000000..2026a704ca --- /dev/null +++ b/versions/pcjs/1.21.3/outline.xsl @@ -0,0 +1,47 @@ + + + + +]> + + + + + + + + + + + + + + + + + + <xsl:value-of select="title"/><xsl:text> | </xsl:text><xsl:value-of select="$SITEHOST"/> + + + + + +
    +
    + +
    +
    + + + + -dbg + + + + + + +
    + +
    diff --git a/versions/pcjs/1.21.3/pc-dbg.js b/versions/pcjs/1.21.3/pc-dbg.js new file mode 100644 index 0000000000..a59073e48c --- /dev/null +++ b/versions/pcjs/1.21.3/pc-dbg.js @@ -0,0 +1,813 @@ +(function(){var m,aa,ba={163840:[40,1,8],184320:[40,1,9],327680:[40,2,8],368640:[40,2,9],737280:[80,2,9],1228800:[80,2,15],1474560:[80,2,18],2949120:[80,2,36],21368320:[615,4,17]}; +function ca(a,b){var c;if(a){b||(b=16);if("$"==a.charAt(0))b=16,a=a.substr(1);else if("0x"==a.substr(0,2))b=16,a=a.substr(2);else{var d=a.charAt(a.length-1).toLowerCase();"h"==d?(b=16,d=null):"."==d&&(b=10,d=null);null==d&&(a=a.substr(0,a.length-1))}var e,d=a,f=b;(f&&10!=f?16==f?null!==d.match(/^[0-9a-f]+$/i):2==f&&null!==d.match(/^[01]+$/i):null!==d.match(/^[0-9]+$/))&&!isNaN(e=parseInt(a,b))&&(c=e|0)}return c} +function da(a,b){var c="";void 0===b?b=32:32>=1;return c}function ea(a,b){var c="";if(!b||4>=8;return c}function r(a,b){var c="";void 0===b?b=8:8=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function t(a){return"0x"+r(a,2)} +function u(a){return"0x"+r(a,4)}function fa(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));d=c.indexOf("&");0":">",'"':""","'":"'"};function la(a){return a.replace(/[&<>"']/g,function(a){return ka[a]})} +function ma(a,b,c){return c?(" "+a).slice(-b):(a+" ").slice(0,b)}function na(a){return String.prototype.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function oa(a,b,c){var d=0,e=a.length,f=0;for(void 0===c&&(c=function(a,b){return a>b?1:a>1,h;h=c(b,a[g]);0a?"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 ra=[31,28,31,30,31,30,31,31,30,31,30,31];function sa(a,b){var c=0,d=1,e;for(e in a){if(d>=arguments.length)break;var f=a[e],g=arguments[d++],c=c&~f.mh|g<>a.shift} +function ua(a,b){var c;if(Array.prototype.indexOf)return a.indexOf(b,c);c=c||0;0>c&&(c+=a.length);0>c&&(c=0);for(var d=a.length;c=this.x&&a=this.y&&b=c>>2);d?(b=new Bb(a.x,a.y,a.ad,a.A*b/c|0),a.y+=b.A,a.A-=b.A):(b=new Bb(a.x,a.y,a.ad*b/c|0,a.A),a.x+=b.ad,a.ad-=b.ad);return b}m=zb.prototype; +m.Rb=function(a,b,c,d){return this.da&&this.da.Rb(a,b,c,d)||this.F&&this.F.Rb(a,b,c,d)||this.B&&this.B.Rb(a,b,c,d)||this.ha&&this.ha.Rb(a,b,c,d)?!0:this.parent.Rb.call(this,a,b,c,d)};m.Ic=function(a,b,c,d){this.da=a;this.ea=b;this.F=c;this.ha=d;this.B=Eb(a,"Keyboard")};m.kc=function(a,b){b||Fb();return!0};m.jc=function(){return!0};m.ge=function(a,b){a.button||(this.fa=b?0:-1,Gb(this,a,b))};m.Hf=function(a){Gb(this,a)}; +function Gb(a,b,c){var d=1280/null.offsetWidth,e=720/null.offsetHeight,f=null.getBoundingClientRect(),d=(b.clientX-f.left)*d|0;b=(b.clientY-f.top)*e|0;null==c&&(a.fa||(a.fa=Math.abs(a.L-d)>Math.abs(a.V-b)?1:2),1==a.fa?b=a.V:2==a.fa&&(d=a.L));a.L=d;a.V=b;if(0<=d&&1280>d&&0<=b&&720>b){a:{c=d;if(960>c&&a.A&&a.A.Ne)for(f=0;fd&&(f=d);c=f;break a}c=-1}if(-1!==c&&(c&=-16,c!=a.Ba)){b=c;if(a.context&&a.ia&&a.ka){e=a.ia.width;a.ka.fillStyle="black";a.ka.fillRect(0,360,e,360);Ib(a,378,a.ia,a.ka);a.pa=a.Ea.width/24|0;if(null==b)Jb(a,"Mouse over memory to dump");else for(Jb(a,"0x"+r(b),null,0,1),f=1;16>=f;f++){d="";for(g=1;8>=g;g++){var h;h=a.ea;var k=b++;h=h.sa[(k&h.Gb)>>>h.La].pe(k&h.A,k);Jb(a,r(h,2),null,1);d+=32<=h&&128>h?String.fromCharCode(h):"."}Jb(a,d,null,0,1)}a.context.drawImage(a.ia,0,360,e,360,a.pb,a.tb,a.Pa,a.bb)}a.Ba= +c}}}m.pd=function(){};function Kb(a,b,c,d){a.A.Af[a.A.Bi++]={Rk:b,Qd:c,type:d};return sa(Hb,b,c,0,d)}function Ib(a,b,c,d){var e,f=null.style.color,g=a.Na=10;a.C=g;a.U=b;a.W=a.wa=18;e||(e=a.ua||a.wa+"px Monaco, Lucida Console, Courier New");a.ga=a.ua=e;c&&(a.Ea=c);d&&(a.N=d,a.Fa=f||"white")} +function Jb(a,b,c,d,e){a.N.font=a.ga;a.N.fillStyle=a.Fa;a.N.fillText(b,a.C,a.U);a.C+=a.pa;null!=c&&(16!=a.Vb?b=c.toString():(b=8>a.Ka?"0x":"",b+=r(c,a.Ka)),a.N.fillText(b,a.C,a.U),a.C+=a.pa);d&&(a.C+=a.pa*d);e&&(a.C=a.Na,a.U+=(a.W+2)*(e||1))}function Fb(){for(var a=!1,b=nb(document,"pcjs","panel"),c=0;c=this.N?12:24>=this.N?14:15;this.Ob=1<>2;this.A=this.Ob-1;this.U=this.W/this.Ob|0;this.ea=this.U-1;this.B=[];this.C=[];this.da=this.V=!1;this.Y=[];this.fa=[];a=new B;Mb(a,this.ha);this.sa=Array(this.U);for(b=0;b>>a.La;0a.Ob?a.Ob:c;if(g&&g.size){if(g.type==d&&g.controller==e){if(b+c<=g.Da)return g.Le+=g.Da-b,g.Da=b,!0;if(b>=g.Da+g.Le){k=g.size-(b-h);k>c&&(k=c);g.Le=b-g.Da+k;c-=k;b=h+a.Ob;continue}}return Ub(a,1,b,c)}g=a.sa[f];b=new B(b,k,a.Ob,d,e);Mb(b,a.ha,g);a.sa[f++]=b;b=h+a.Ob;c-=k}return 0>=c?(Vb(a.F),!0):Ub(a,2,b,c)} +function Rb(a,b){if(32==a.N)b?a.L&&(Wb(a,1048576,1048576,a.L),a.L=null):a.L||(a.L=Xb(a,1048576,1048576),Wb(a,1048576,1048576,Xb(a,0,1048576)));else if(20>>this.La;0>>a.La;0>>=a.La;0>>a.La;0>>this.La].lc(a&this.A,a)}; +m.na=function(a){var b=a&this.A,c=(a&this.Gb)>>>this.La;return b!=this.A?this.sa[c].pf(b,a):this.sa[c++].lc(b,a)|this.sa[c&this.ea].lc(0,a+1)<<8};function ec(a,b){var c=b&a.A,d=(b&a.Gb)>>>a.La;return c!=a.A?a.sa[d].cg(c,b):a.sa[d++].pe(c,b)|a.sa[d&a.ea].pe(0,b+1)<<8}m.oa=function(a){var b=a&this.A,c=(a&this.Gb)>>>this.La;if(b>>this.La].vc(a&this.A,b&255,a)};m.ib=function(a,b){var c=a&this.A,d=(a&this.Gb)>>>this.La;c!=this.A?this.sa[d].wf(c,b&65535,a):(this.sa[d++].vc(c,b&255,a),this.sa[d&this.ea].vc(0,b>>8&255,a+1))};function fc(a,b,c){var d=b&a.A,e=(b&a.Gb)>>>a.La;d!=a.A?a.sa[e].pi(d,c&65535,b):(a.sa[e++].uf(d,c&255,b),a.sa[e&a.ea].uf(0,c>>8&255,b+1))} +m.mb=function(a,b){var c=a&this.A,d=(a&this.Gb)>>>this.La;if(c>>=8};m.Ti=function(){return null};function gc(a,b){if(void 0===b)return a.da=!a.da,a.da;void 0===a.B[b]&&(a.B[b]=[null,!1]);a.B[b][1]=!a.B[b][1];return a.B[b][1]} +function hc(a,b,c,d){void 0===d&&(d=0);for(var e in c){var f=a,g=+e+d,h=c[e].bind(b);if(void 0!==h)for(var k=+e+d;k<=g;k++)void 0!==f.B[k]?w("Input port "+u(k)+" already registered"):f.B[k]=[h,!1]}}function ic(a,b,c,d){for(var e=0,f=0;0>>=f)&k;if(void 0!==g){if(g[0])g[0](b,k,e);a.ha&&a.V!=g[1]&&nc(a.ha,b,k)}else a.ha&&(ob(a.ha,a,b,k,e),a.V&&nc(a.ha,b,k));f+=h<<3;b+=h;c-=h}}function Ub(a,b,c,d,e){b="Memory block error ("+b+": "+r(c)+","+r(d)+")";e?a.ha?a.ha.message(b):a.log(b):w(b);return!1}var oc;if(vb){var pc=new ArrayBuffer(2);(new DataView(pc)).setUint16(0,256,!0);oc=256===(new Uint16Array(pc))[0]}else oc=!1;var ac=oc; +function B(a,b,c,d,e,f){this.id=qc+=2;this.ca=null;this.C=0;this.Da=a;this.Le=b;this.size=c||0;this.type=d||vc;this.N=d==$b;this.controller=null;this.F=f;Mb(this);this.Va=this.Oi=!1;if(c)if(e)this.controller=e,a=e.Si(a),this.ca=a[0],this.C=a[1],Yb(this,e.gh());else if(vb)this.L=new ArrayBuffer(c),this.qa=new DataView(this.L,0,c),this.Xa=new Uint8Array(this.L,0,c),this.ce=new Uint16Array(this.L,0,c>>1),this.ca=new Int32Array(this.L,0,c>>2),Yb(this,ac?bc:cc);else{this.ca=Array(c>>2);for(e=0;e>8&65280|a>>>24);return a} +B.prototype={constructor:B,parent:null,hh:function(a){this.Da=a},save:function(){var a,b;if(this.controller)a=null;else if(vb)for(a=Array(this.size>>2),b=0;b>8,c)},U:function(a,b, +c){this.vc(a++,b&255,c++);this.vc(a++,b>>8&255,c++);this.vc(a++,b>>16&255,c++);this.vc(a,b>>>24,c)},Fa:function(a){return this.ca[a>>2]>>>((a&3)<<3)&255},qb:function(a){var b=a>>2;a=(a&3)<<3;var c=this.ca[b]>>a;return 24>a?c&65535:c&255|(this.ca[b+1]&255)<<8},Za:function(a){var b=a>>2;a=(a&3)<<3;var c=this.ca[b];a&&(c=c>>>a|this.ca[b+1]<<32-a);return c},dc:function(a,b){var c=a>>2,d=(a&3)<<3;this.ca[c]=this.ca[c]&~(255<>2,d=(a&3)<<3;24>d?this.ca[c]=this.ca[c]& +~(65535<>8);this.Va=!0},Xc:function(a,b){var c=a>>2,d=(a&3)<<3;if(d){var e=-1<>>32-d}else this.ca[c]=b;this.Va=!0},Ea:function(a,b){this.ha&&null!=this.Da&&Cc(this.ha,this.Da+a)||this.F&&Dc(this.F,b,1,!1);return this.pe(a,b)},pb:function(a,b){this.ha&&null!=this.Da&&Cc(this.ha,this.Da+a,2)||this.F&&Dc(this.F,b,2,!1);return this.cg(a,b)},Pa:function(a,b){this.ha&& +null!=this.Da&&Cc(this.ha,this.Da+a,4)||this.F&&Dc(this.F,b,4,!1);return this.ii(a,b)},Yb:function(a,b,c){this.ha&&null!=this.Da&&Ec(this.ha,this.Da+a)||this.F&&Dc(this.F,c,1,!0);this.N?this.da(a,b,c):this.uf(a,b,c)},sd:function(a,b,c){this.ha&&null!=this.Da&&Ec(this.ha,this.Da+a,2)||this.F&&Dc(this.F,c,2,!0);this.N?this.da(a,b,c):this.pi(a,b,c)},Wc:function(a,b,c){this.ha&&null!=this.Da&&Ec(this.ha,this.Da+a,4)||this.F&&Dc(this.F,c,4,!0);this.N?this.da(a,b,c):this.ua(a,b,c)},Ja:function(a,b){this.zb.ca[this.A]|= +this.ea;this.Ab.ca[this.B]|=this.ea;return this.Bd.lc(a,b)},Ib:function(a,b){this.zb.ca[this.A]|=this.ea;this.Ab.ca[this.B]|=this.ea;return this.Bd.pf(a,b)},eb:function(a,b){this.zb.ca[this.A]|=this.ea;this.Ab.ca[this.B]|=this.ea;return this.Bd.Kd(a,b)},Uc:function(a,b,c){this.zb.ca[this.A]|=this.ea;this.Ab.ca[this.B]|=this.V;this.Bd.vc(a,b,c)},Fd:function(a,b,c){this.zb.ca[this.A]|=this.ea;this.Ab.ca[this.B]|=this.V;this.Bd.wf(a,b,c)},jd:function(a,b,c){this.zb.ca[this.A]|=this.ea;this.Ab.ca[this.B]|= +this.V;this.Bd.vf(a,b,c)},Ka:function(a,b){return Fc(this.F,b,!1).lc(a,b)},Kb:function(a,b){return Fc(this.F,b,!1).pf(a,b)},fb:function(a,b){return Fc(this.F,b,!1).Kd(a,b)},be:function(a,b,c){Fc(this.F,c,!0).vc(a,b,c)},Gd:function(a,b,c){Fc(this.F,c,!0).wf(a,b,c)},se:function(a,b,c){Fc(this.F,c,!0).vf(a,b,c)},Ba:function(a){return this.Xa[a]},Y:function(a){return this.Xa[a]},Ia:function(a){this.zb.ca[this.A]|=32;this.Ab.ca[this.B]|=32;this.lc=this.Y;return this.Xa[a]},Vb:function(a){return this.qa.getUint16(a, +!0)},pa:function(a){return a&1?this.Xa[a]|this.Xa[a+1]<<8:this.ce[a>>1]},tb:function(a){this.zb.ca[this.A]|=32;this.Ab.ca[this.B]|=32;this.pf=this.pa;return a&1?this.Xa[a]|this.Xa[a+1]<<8:this.ce[a>>1]},Na:function(a){return this.qa.getInt32(a,!0)},ga:function(a){return a&3?this.Xa[a]|this.Xa[a+1]<<8|this.Xa[a+2]<<16|this.Xa[a+3]<<24:this.ca[a>>2]},bb:function(a){this.zb.ca[this.A]|=32;this.Ab.ca[this.B]|=32;this.Kd=this.ga;return a&3?this.Xa[a]|this.Xa[a+1]<<8|this.Xa[a+2]<<16|this.Xa[a+3]<<24:this.ca[a>> +2]},Sb:function(a,b){this.Xa[a]=b;this.Va=!0},ra:function(a,b){this.Xa[a]=b;this.Va=!0},oc:function(a,b){this.Xa[a]=b;this.zb.ca[this.A]|=32;this.Ab.ca[this.B]|=96;this.vc=this.ra;this.Bd.Va=!0},qd:function(a,b){this.qa.setUint16(a,b,!0);this.Va=!0},za:function(a,b){a&1?(this.Xa[a]=b,this.Xa[a+1]=b>>8):this.ce[a>>1]=b;this.Va=!0},Ed:function(a,b){a&1?(this.Xa[a]=b,this.Xa[a+1]=b>>8):this.ce[a>>1]=b;this.zb.ca[this.A]|=32;this.Ab.ca[this.B]|=96;this.wf=this.za;this.Bd.Va=!0},Vc:function(a,b){this.qa.setInt32(a, +b,!0);this.Va=!0},wa:function(a,b){a&3?(this.Xa[a]=b,this.Xa[a+1]=b>>8,this.Xa[a+2]=b>>16,this.Xa[a+3]=b>>24):this.ca[a>>2]=b;this.Va=!0},hd:function(a,b){a&3?(this.Xa[a]=b,this.Xa[a+1]=b>>8,this.Xa[a+2]=b>>16,this.Xa[a+3]=b>>24):this.ca[a>>2]=b;this.zb.ca[this.A]|=32;this.Ab.ca[this.B]|=96;this.vf=this.wa;this.Bd.Va=!0}};function Mb(a,b,c){a.ha=b;a.Re=a.Se=0;c&&(c.F&&(a.F=c.F),(a.Re=c.Re)&&zc(a,Ac,!1),(a.Se=c.Se)&&Bc(a,Ac,!1))} +function Gc(a,b){b?0===--a.Se&&(a.vc=a.N?a.da:a.uf,a.wf=a.N?a.W:a.pi,a.vf=a.N?a.U:a.ua):0===--a.Re&&(a.lc=a.pe,a.pf=a.cg,a.Kd=a.ii)}function Bc(a,b,c){c&&a.Se||(a.vc=!a.N&&b[3]||a.da,a.wf=!a.N&&b[4]||a.W,a.vf=!a.N&&b[5]||a.U);if(c||void 0===c)a.uf=b[3]||a.da,a.pi=b[4]||a.W,a.ua=b[5]||a.U}function zc(a,b,c){c&&a.Re||(a.lc=b[0]||a.ia,a.pf=b[1]||a.ka,a.Kd=b[2]||a.fa);if(c||void 0===c)a.pe=b[0]||a.ia,a.cg=b[1]||a.ka,a.ii=b[2]||a.fa} +function Yb(a,b,c){b||(b=5==a.type?Hc:6==a.type?Ic:Jc);zc(a,b,c);Bc(a,b,c)}var Jc=[],dc=[B.prototype.Fa,B.prototype.qb,B.prototype.Za,B.prototype.dc,B.prototype.td,B.prototype.Xc],Ac=[B.prototype.Ea,B.prototype.pb,B.prototype.Pa,B.prototype.Yb,B.prototype.sd,B.prototype.Wc],Ic=[B.prototype.Ja,B.prototype.Ib,B.prototype.eb,B.prototype.Uc,B.prototype.Fd,B.prototype.jd],Hc=[B.prototype.Ka,B.prototype.Kb,B.prototype.fb,B.prototype.be,B.prototype.Gd,B.prototype.se]; +if(vb)var cc=[B.prototype.Ba,B.prototype.Vb,B.prototype.Na,B.prototype.Sb,B.prototype.qd,B.prototype.Vc],bc=[B.prototype.Y,B.prototype.pa,B.prototype.ga,B.prototype.ra,B.prototype.za,B.prototype.wa],Kc=[B.prototype.Ia,B.prototype.tb,B.prototype.bb,B.prototype.oc,B.prototype.Ed,B.prototype.hd]; +function Lc(a,b){Ua.call(this,"CPU",a,Lc,1);var c=a.cycles||b,d=a.multiplier||1;this.X={};this.X.Hd=c;this.X.Ud=d;this.X.tg=Math.round(this.X.Hd/1E4)/100;this.X.De=this.X.tg*this.X.Ud;this.la.Jb=!1;this.la.eh=!1;this.la.Li=a.autoStart;this.la.Pi=!1;this.la.We=!1;this.X.If=this.X.gf=0;this.X.Jf=a.csStart;this.X.ff=a.csInterval;this.X.hf=a.csStop;this.hd=[];this.ri=this.Ie.bind(this);sb(this)}db(Lc);var Mc=["power","reset"];m=Lc.prototype; +m.Ic=function(a,b,c,d){this.da=a;this.ea=b;this.ha=d;for(b=0;b=a.X.gf&&(a.X.gf+=a.X.ff,c=!0);0<=a.X.hf&&a.X.hf<=Wc(a)&&(a.X.ff=a.X.hf=-1,Qc(a),a.Xb(),c=!0);c&&a.O(Wc(a)+" cycles: checksum="+r(a.X.If))}}m.pd=function(){this.da&&this.da.Xd&&this.da.Xd.pd()}; +function Xc(a,b){for(var c=0;c>>d.La;f=f+g-1>>>d.La;e.$g=0;for(e.Qd=0;h<=f;)g=d.sa[h],e.$g+=g.size,g.size&&(e.Rg.push(sa(Hb,h,0,0,g.type)),e.Qd++),h++;c.A=e;c.za=c.A.Qd*c.ea.Ob/691200;d=0;c.A.Bi=0;c.A.Af||(c.A.Af=[]);var e=-1,h=0,k=-1;for(f=0;f>1),k=g.y+(g.A>>1),l=g.A,g.ad>1,h.U+=(h.W>>1)-2,Jb(h,e),h.ra&&(h.N.restore(),h.ra=!1)}}else Jb(c,"This space intentionally left blank");c.context.drawImage(c.Y,0,0,c.Y.width,c.Y.height,c.qb,c.Ib,c.Za,c.eb);c.Ja=!1}} +m.Tc=function(a){if(this.hd.length){var b=0,c=0;a&&window&&(b=window.scrollX,c=window.scrollY);this.hd[0].Tc();a&&window&&window.scrollTo(b,c)}}; +m.Rb=function(a,b,c){var d=this;a=!1;switch(b){case "power":case "reset":this.qa[b]=c;a=!0;break;case "run":this.qa[b]=c;c.onclick=function(){var a;if(a=d.da)if(a=d.da,a.la.ec)a=!0;else{var b=null,c,h=gb(a.id);for(c=0;cc&&(c=60);2>c&&(c=2);var d=1;b&&1a.X.tg&&(c=Math.round(c/a.X.Ud));return c}function Oc(a){a.X.me=0;a.dc=a.Kb=a.eb=a.A=0;Qc(a);Zc(a,1)} +function Zc(a,b,c){var d=!1;if(void 0!==b){.8>a.X.me/a.X.De?b=1:d=!0;a.X.Ud=b;b=a.X.tg*a.X.Ud;if(a.X.De!=b){a.X.De=b;b=a.X.De.toFixed(2)+"Mhz";var e=a.qa.setSpeed;e&&(e.textContent=b);a.O("target speed: "+b)}c&&a.Tc()}ad(a,a.Kb);a.Kb=0;a.X.ef=pa();a.X.Ee=0;bd(a);return d} +m.Ie=function(a){if(pb(this,!0)){if(!this.la.Jb){Zc(this);this.da&&this.da.start(this.X.ef,Wc(this));this.la.Jb=!0;this.la.eh=!0;this.N&&cd(this.N);var b=this.qa.run;b&&(b.textContent="Halt");this.pd(!0);a&&this.Tc(!0)}this.X.sh>=this.X.Hd&&bd(this,!0);this.X.Mf=0;this.X.ug=pa();this.X.Ee&&(a=this.X.ug-this.X.Ee,a>this.X.Yi&&(this.X.ef+=a,this.X.ef>this.X.ug&&(this.X.ef=this.X.ug)));try{do{var c=this.la.We?1:this.X.km;if(this.N){dd(this.N);var d=this.N;a=c;var e=d.L[0];if(e.ye){var f=(Wc(d.F,d.ra)- +e.xd)/d.tb|0,g=ed(d,0)-f;6==e.mode&&(g-=f);var h=g*d.tb|0;6==e.mode&&(h>>=1);a>h&&(a=h)}var c=a,k=this.N;a=c;if(k.A&&k.A[11]&64){var l=k.Ba-Wc(k.F,k.ra);0l&&(a=l)}c=a}try{this.tf(c)}catch(q){if("number"!=typeof q)throw q;}var n=this.eb-this.A;this.Kb+=n;this.X.Mf+=n;ad(this,0,!0);Vc(this,n);this.X.Lf-=n;0>=this.X.Lf&&(this.X.Lf+=this.X.$i,Xc(this));this.X.Kf-=n;0>=this.X.Kf&&(this.X.Kf+=this.X.Zi,this.pd());this.X.jf-=n;if(0>=this.X.jf){this.X.jf+=this.X.rh;break}}while(this.la.Jb)}catch(q){this.Xb(); +Tc(this);this.da&&this.da.stop(pa(),Wc(this));pb(this,!1);ub(this,q.stack||q.message);return}c=setTimeout;d=this.ri;this.X.Ee=pa();e=this.X.Yi;this.X.Mf&&(e=Math.round(e*this.X.Mf/this.X.rh));e-=this.X.Ee-this.X.ug;if(f=this.X.Ee-this.X.ef)this.X.me=Math.round(this.Kb/(10*f))/100,864E5<=f&&(this.dc=0,this.N&&dd(this.N,!0),Zc(this));if(0>e||this.X.methis.id&&C.call(e,b&&3==this.id?10:13,a&65532)}return-1};m.gm=function(a){var b=this.F;a=b.Lc+(a<<2);var c=b.na(a);b.ba&=-769;return this.load(b.na(a+2))+c|0}; +m.fm=function(a){var b=this.F;a<<=3;var c=b.Lc+a|0;if(7<=(b.Pd-c|0))return this.C=!0,a=id(this,c,a),-1!==a&&(a+=this.Wf),a;C.call(b,13,a|2);return-1};m.Ei=function(a){return this.Aa+a|0};m.Gi=function(a){return this.Aa+a|0};m.Di=function(a,b){return(a>>>0)+b<=this.ac?this.Aa+a|0:this.ng()};m.Jk=function(a,b){return(a>>>0)+b>this.ac?this.Aa+a|0:this.ng()};m.ng=function(){C.call(this.F,13,0);return-1};m.Fi=function(a,b){return(a>>>0)+b<=this.ac?this.Aa+a|0:this.og()}; +m.Kk=function(a,b){return(a>>>0)+b>this.ac?this.Aa+a|0:this.og()};m.og=function(){C.call(this.F,13,0);return-1};function jd(a,b,c,d,e){a.Z=b;a.Aa=d;a.Ta=e;a.ac=(e>>>0)+1;a.xb=c;a.type=c&7936;a.ext=c>>16&192;a.Zb=(b&4?a.F.Cc.Aa:a.F.Ec)+(b&65528)|0;4>a.id&&gd(a,!0)}function kd(a,b,c){var d=a.F,e=d.na(b+2),f=d.na(b)|(e&255)<<16,d=d.na(b+4);a.Z=c;a.Aa=f;a.Ta=d;a.ac=(d>>>0)+1;a.xb=e;a.type=e&7936;a.ext=0;a.Zb=b;4>a.id&&gd(a,!0)} +function id(a,b,c,d){var e=a.F;if(!d&&c===a.A.Z)return a.Z=c,a.Aa=a.A.Aa,a.Ta=a.A.Ta,a.ac=(a.A.Ta>>>0)+1,a.xb=a.A.xb,a.type=a.A.type,a.ext=a.A.ext,a.Zb=a.A.Zb,a.A.Z=-1,gd(a,!0,!0,!1),a.Aa;a.A.Z=-1;var f=e.na(b+0),g=e.na(b+4),h=g&7936,k=e.na(b+2)|(g&255)<<16,l=e.na(b+6),n=c&65528;if(80386<=e.ja){var q=f,k=k|(l&65280)<<16,f=f|(l&15)<<16;l&128&&(f=f<<12|4095)}switch(a.id){case 1:var p=a.C;a.af=!1;if(p&&1==c&&a.B.length){var A=a.B[a.Wf-1];if(A&&!A())return-1}var F=c&3,v=(g&24576)>>13,A=-1,E,H;n||b>=e.Ec&& +b=a.Mb&&(F>a.Mb&&(A=D(e),ld(e,D(e),!0),G(e,A),a.af=!0),A=0);else{if(256==h||2304==h)return md(a,c,p)?a.Aa:-1;if(1024==h)A=2,H=0,Fh||2048==(h&2560))return C.call(e,13,c&65532),-1;if(!(g&32768))return C.call(e,11,c&65532),-1}break;case 3:if(!n||4096>h||512!=(h&2560))return C.call(e,13,c&65532),-1;if(!(g&32768))return C.call(e,12,c&65532),-1; +break;case 4:p=h&-513;if(!n||256!=p&&2304!=p)return C.call(e,13,c&65532),-1;2304==p&&(a.ui=k+e.na(k+100+2)|0,a.Fk=k+a.Ta|0);break;case 6:if(!(h&4096)&&768>>0)+1,a.xb=g,a.type=h,a.ext=l,a.Zb=b,gd(a,!0,!0,!1));return k} +function md(a,b,c){var d=a.F,e=a.Mb,f=d.Sa.Z,g=d.Sa.Aa;if(!c){if(!(d.Sa.type&512))return C.call(d,13,b&65532),!1;d.ib(d.Sa.Zb+4,d.Sa.xb&=-513)}if(-1===d.Sa.load(b))return!1;var h=d.Sa.Aa;if(!1!==c){if(d.Sa.type&512)return C.call(d,13,b&65532),!1;d.ib(d.Sa.Zb+4,d.Sa.xb|=512)}d.Sa.type=d.Sa.type&-513|d.Sa.xb&512;256==d.Sa.type||768==d.Sa.type?(d.ib(g+14,K(d)),d.ib(g+16,yd(d)),d.ib(g+18,d.G),d.ib(g+20,d.I),d.ib(g+22,d.M),d.ib(g+24,d.H),d.ib(g+26,I(d)),d.ib(g+28,d.P),d.ib(g+30,d.K),d.ib(g+32,d.J),d.ib(g+ +34,d.Wa.Z),d.ib(g+36,d.va.Z),d.ib(g+38,d.ta.Z),d.ib(g+40,d.wb.Z),d.Cc.load(d.na(h+42)),zd(d,d.na(h+16)|(c?16384:0)),d.G=d.na(h+18),d.I=d.na(h+20),d.M=d.na(h+22),d.H=d.na(h+24),d.P=d.na(h+28),d.K=d.na(h+30),d.J=d.na(h+32),d.Wa.load(d.na(h+34)),d.wb.load(d.na(h+40)),Ad(d,d.na(h+14),d.na(h+36)),b=38,g=26,a.Mb>>0)+1)}; +function gd(a,b,c,d){void 0===c&&(c=!!(a.F.Ya&1));a.cd=!1;if(c)if(a.load=a.sg,a.Xi=a.fm,a.qc=a.Di,a.rc=a.Fi,void 0===d&&(d=!!(a.F.ba&131072)),d)a.load=a.L,a.qc=a.ea,a.rc=a.qa,a.Mb=a.Gc=3,a.aa=a.Nc=2,a.R=a.Ca=65535,a.Ta=65535,a.ac=a.Ta+1,a.Nc=a.aa,a.Zb=-1,a.af=!1;else{if(!(a.Z&-4))a.qc=a.ng,a.rc=a.og;else if(a.type&4096){6144==(a.type&6656)&&(a.qc=a.ng);if(a.type&2048||!(a.type&512))a.rc=a.og;1024==(a.type&3072)&&(a.qc==a.Di&&(a.qc=a.Jk),a.rc==a.Fi&&(a.rc=a.Kk),a.cd=!0);b&&6>a.id&&a.Z&-4&&-1!==a.Zb&& +(c=a.Zb+5,d=a.F.Qa(c),d&1||a.F.tc(c,d|1))}b&&(a.Mb=a.Z&3,a.Gc=(a.xb&24576)>>13,80386>a.F.ja||!(a.ext&64)?(a.aa=2,a.R=65535):(a.aa=4,a.R=-1),a.Nc=a.aa,a.Ca=a.R)}else a.load=a.lh,a.Xi=a.gm,a.qc=a.Ei,a.rc=a.Gi,a.Mb=a.Gc=0,a.Zb=-1,a.af=!1} +function Cd(a){this.ja=a.model||8088;var b=a.stepping;this.Uc=this.ja+(b?ca(b,16):0);b=0;switch(this.ja){default:b=4772727;break;case 80286:b=6E6;break;case 80386:b=16E6}Lc.call(this,a,b);this.ag=61442;this.oc=1792;this.Yf=28672;this.Ed=4;this.ra=255;this.B=80286<=this.ja?xb:wb;this.W=Dd;this.gg=Ed;this.hg=Fd;this.Ng=Gd;if(80186<=this.ja&&(this.W=Dd.slice(),this.gg=Ed.slice(),this.hg=Fd.slice(),this.ra=31,this.W[15]=Hd,this.W[96]=Id,this.W[97]=Jd,this.W[98]=Kd,this.W[99]=Hd,this.W[100]=Hd,this.W[101]= +Hd,this.W[102]=Hd,this.W[103]=Hd,this.W[104]=Ld,this.W[105]=Md,this.W[106]=Nd,this.W[107]=Od,this.W[108]=Pd,this.W[109]=Qd,this.W[110]=Rd,this.W[111]=Sd,this.W[192]=Wd,this.W[193]=Xd,this.W[200]=Yd,this.W[201]=Zd,this.W[241]=ee,this.gg[7]=fe,this.hg[7]=fe,80286<=this.ja)){this.ag=2;this.oc|=28672;this.Ed=0;this.W[15]=ge;this.Yb=he.slice();for(a=0;a=this.Uc&&(this.Yb[166]=pe,this.Yb[167]=qe)}}this.ie=[];this.je=[];this.le=0;Oc(this);this.la.Sd=this.la.Ni=!1;this.Pg=0;this.kd=this.sa=[];this.La=this.Ob=this.Fa=this.Fd=this.jd=this.Gb=this.tb=0;re(this)}db(Cd,Lc);function se(a,b,c,d){Gc((d?a.kd:a.sa)[b>>>a.La],c);d&&Vb(a)} +function te(a){var b;if(a.sa===a.kd){a.sa=Array(a.Fd);a.ke=new B(null,0,0,5,null,a);Mb(a.ke,a.ha);for(b=0;ba.ze&&(a.bg[a.ze++]=d);a.sa[b]=a.ke}a.Gd=[]}function Vb(a){a.Ya&-2147483648&&te(a)} +function Fc(a,b,c,d){var e=(b&-4194304)>>>20,f=a.kd[(a.Md+e&a.Gb)>>>a.La],g=f.Kd(e);if(!(g&1))return d||ue.call(a,b,!1,c),a.qd;if(!(g&4)&&3==a.pa)return d||ue.call(a,b,!0,c),a.qd;var h=(b&4190208)>>>10,g=a.kd[((g&-4096)+h&a.Gb)>>>a.La],k=g.Kd(h);if(!(k&1))return d||ue.call(a,b,!1,c),a.qd;if(!(k&4)&&3==a.pa)return d||ue.call(a,b,!0,c),a.qd;c=a.kd[((k&-4096)+(b&4095)&a.Gb)>>>a.La];if(d)return c;d=b>>>a.La;k=a.sa[d];b=b&-4096;var l;0>2;b.Ab=g;b.B=h>>2;vb&&ac&&c.ca&&!c.controller&&!c.Re&&!c.Se?(b.Xa=c.Xa,b.ce=c.ce,b.ca=c.ca,Yb(b,Kc)):(b.ea=c?yc(32):0,b.V=c?yc(96):0,Yb(b,Ic));Mb(b,a.ha,k);a.sa[d]=b;a.Gd.push(d);return b}function ve(a){a.sa!==a.kd&&(a.sa=a.kd,a.ke=null,a.Gd=null,a.qd=null)}m=Cd.prototype;m.reset=function(){this.la.Jb&&this.Xb();re(this);Oc(this);this.la.ud=!1}; +function we(a,b){var c;switch(b){case 0:c=a.G;break;case 1:c=a.I;break;case 2:c=a.M;break;case 3:c=a.H;break;case 4:c=I(a);break;case 5:c=a.P;break;case 6:c=a.K;break;case 7:c=a.J}return c}function xe(a,b,c){switch(b){case 0:a.G=c;break;case 1:a.I=c;break;case 2:a.M=c;break;case 3:a.H=c;break;case 4:G(a,c);break;case 5:a.P=c;break;case 6:a.K=c;break;case 7:a.J=c}} +function re(a){a.G=0;a.H=0;a.I=0;a.M=0;a.fb=0;a.P=0;a.K=0;a.J=0;a.bb=!1;a.ia=a.wa=0;a.Y=0;a.Og=0;a.L=0;a.Ya=65520;a.Lc=0;a.Pd=1023;a.ba=a.Pa=0;a.Wc=a.td=a.Vc=a.Xc=0;a.pb=-1;a.Sb=a.qb=-1;a.oe=a.U=-1;a.va=new fd(a,1,"CS");a.wb=new fd(a,2,"DS");a.Wa=new fd(a,2,"ES");a.ta=new fd(a,3,"SS");G(a,0);ld(a,0);if(80386<=a.ja){switch(a.Uc){case 80562:case 80563:a.M=771;break;case 80578:a.M=772;break;case 80594:a.M=773;break;case 80595:case 80596:a.M=776}a.Ya=16;a.ji=0;a.qe=0;a.Md=0;a.Ja=[0,0,0,0,null,null,0, +0];a.Ce=[null,null,null,null,null,null,0,0];a.Pb=new fd(a,2,"FS");a.Qb=new fd(a,2,"GS");ve(a)}a.of=new fd(a,0,"NULL");a.ka=a.wb;a.Ka=a.ta;a.S=a.Ha=0;a.D=a.C=-1;a.bc=a.of;a.ua=0;if(80286>a.ja)Ad(a,0,65535);else{a.Ec=0;a.zd=65535;a.Cc=new fd(a,5,"LDT",!0);a.Sa=new fd(a,4,"TSS",!0);a.Ea=new fd(a,6,"VER",!0);Ad(a,65520,61440);var b,c=K(a);b=a.va;var d=-65536;80386>b.F.ja&&(d&=16777215);b=b.Aa=d;a.Ga=b+c|0;a.nf=(b>>>0)+(a.va.Ta>>>0)+1}zd(a,0);nd(a)} +function ye(a){2==a.Nc?(a.fc=a.na,a.Na=ze,a.Za=Ae,a.Ib=Be,2==a.aa?(a.V=Ce,a.fa=De,a.za=Ee):(a.V=Fe,a.fa=Ge,a.za=Je)):(a.fc=a.oa,a.Na=Ke,a.Za=Le,a.Ib=Me,2==a.aa?(a.V=Ne,a.fa=Oe,a.za=Pe):(a.V=Qe,a.fa=Re,a.za=af))}function td(a,b){a.aa!=b&&(a.Ha|=1024,a.aa=b,a.R=2==b?65535:-1,bf(a))}function bf(a){2==a.aa?(a.Ia=32768,a.ub=a.na,a.uc=a.ib,2==a.Nc?(a.V=Ce,a.fa=De,a.za=Ee):(a.V=Ne,a.fa=Oe,a.za=Pe)):(a.Ia=-2147483648,a.ub=a.oa,a.uc=a.mb,2==a.Nc?(a.V=Fe,a.fa=Ge,a.za=Je):(a.V=Qe,a.fa=Re,a.za=af))} +function cf(a){a.Nc=a.va.Nc;a.Ca=a.va.Ca;ye(a);a.aa=a.va.aa;a.R=a.va.R;bf(a);a.Ha&=-3073}m.Ri=function(){var a=this.G+this.H+this.I+this.M+I(this)+this.P+this.K+this.J|0;return a=a+K(this)+this.va.Z+this.wb.Z+this.ta.Z+this.Wa.Z+yd(this)|0};function df(a,b,c){void 0===a.ie[b]&&(a.ie[b]=[]);a.ie[b].push(c)}function ef(a,b,c){void 0!==c&&(null==a.je[b]&&a.le++,a.je[b]=c)}function ff(a,b){var c=a.je[b];null!=c&&(c(--a.le),delete a.je[b])} +function gf(a,b){for(var c=a.Ja[7],d=c>>16,e=0;4>e;e++){if(c&3){var f=!!(d&1),g=a.Ja[e],g=g&~(d>>2&3);b?a.sa[g>>>a.La].Od(g&a.Fa,f,a):Gc(a.sa[g>>>a.La],f)}c>>=2;d>>=4}}function Dc(a,b,c,d){if(!(a.S&8192)&&a.Ja[7]&255){c--;var e=a.Ja[7],f=e>>16;d=d?1:0==d?3:0;for(var g=0;4>g;g++){if(e&3&&(f&3)==d){var h=f>>2;if(b+c>=a.Ja[g]&&b<=a.Ja[g]+h){a.Ja[6]|=1<>=2;f>>=4}}} +function nd(a,b,c){void 0===b&&(b=!!(a.Ya&1));void 0===c&&(c=!!(a.ba&131072));a.Ng=b&&!c?hf:Gd;gd(a.va,!1,b,c);gd(a.wb,!1,b,c);gd(a.ta,!1,b,c);gd(a.Wa,!1,b,c);80386<=a.ja&&(gd(a.Pb,!1,b,c),gd(a.Qb,!1,b,c));cf(a)} +m.save=function(){var a=new jf(this);N(a,0,[this.G,this.H,this.I,this.M,I(this),this.P,this.K,this.J]);var b=K(this),c=this.va.save(),d=this.wb.save(),e=this.ta.save(),f=this.Wa.save(),g;null!=this.Ec?(g=[this.Ya,this.Ec,this.zd,this.Lc,this.Pd,this.Cc.save(),this.Sa.save(),this.Pa],80386<=this.ja&&(g.push(this.ji),g.push(this.qe),g.push(this.Md),g.push(this.Ja),g.push(this.Ce))):g=null;b=[b,c,d,e,f,g,yd(this)];80386<=this.ja&&(b.push(this.Pb.save()),b.push(this.Qb.save()));N(a,1,b);N(a,2,[this.ka.nc, +this.Ka.nc,this.S,this.Ha,this.ua,this.D,this.C]);N(a,3,[0,this.dc,this.X.Ud]);b=this.ea;c=!!(this.Ya&-2147483648);d=0;e=[];(f=!b.L&&b.wg==b.Gb)||Rb(b,!0);for(g=0;g>>0)+(a.va.Ta>>>0)+1;a.pa=a.va.Mb;cf(a)}function Ad(a,b,c,d){var e=a.va;e.Wf=b;e.C=d;b=e.load(c);return-1!==b?(mf(a,b+(a.va.Wf&a.va.R)),a.va.af):null} +function nf(a,b){var c=(a.Ga>>>0)+b;c>a.nf&&(8088>=a.ja||a.va.Ta==a.va.Ca?c=a.va.Aa+(c-a.nf&a.R):C.call(a,13,0));return c|0}function of(a){a.Ga=a.oe}function I(a){return a.fb&~a.ta.Ca|a.ga-a.ta.Aa}function G(a,b){a.fb=b;a.ga=a.ta.Aa+(b&a.ta.Ca)|0}function pf(a,b,c,d,e,f){if(63!=(e&63)&&e!=a.resultType){var g=(e^a.resultType)&a.resultType;g&&(g&1&&qf(a),g&2&&rf(a),g&4&&sf(a),g&8&&tf(a),g&16&&uf(a),g&32&&vf(a))}f?(a.Wc=d,a.Vc=b):(a.Wc=b,a.Vc=d);a.td=c;a.Xc=d;a.resultType=e} +function wf(a,b,c,d,e){a.resultType=c|26;a.Xc=b;d?xf(a):yf(a);e?zf(a):Af(a);return b}function Bf(a,b,c,d){c&d?xf(a):yf(a);(b^c)&d?zf(a):Af(a)}function Cf(a){return qf(a)?1:0}function qf(a){a.resultType&1&&(a.ba&=-2,(a.Wc^(a.Wc^a.td)&(a.td^a.Vc))&a.resultType&-2147450752&&(a.ba|=1),a.resultType&=-2);return a.ba&1}function rf(a){a.resultType&2&&(a.ba&=-5,38505>>((a.Xc^a.Xc>>4)&15)&1&&(a.ba|=4),a.resultType&=-3);return a.ba&4} +function sf(a){a.resultType&4&&(a.ba&=-17,(a.Vc^a.Wc^a.td)&16&&(a.ba|=16),a.resultType&=-5);return a.ba&16}function tf(a){a.resultType&8&&(a.ba&=-65,a.Xc&((a.resultType&-2147450752)-1|a.resultType&-2147450752)||(a.ba|=64),a.resultType&=-9);return a.ba&64}function uf(a){a.resultType&16&&(a.ba&=-129,a.Xc&a.resultType&-2147450752&&(a.ba|=128),a.resultType&=-17);return a.ba&128} +function vf(a){a.resultType&32&&(a.ba&=-2049,(a.Wc^a.Vc)&(a.td^a.Vc)&a.resultType&-2147450752&&(a.ba|=2048),a.resultType&=-33);return a.ba&2048}function yf(a){a.resultType&=-2;a.ba&=-2}function Df(a){a.resultType&=-5;a.ba&=-17}function Ef(a){a.resultType&=-9;a.ba&=-65}function Af(a){a.resultType&=-33;a.ba&=-2049}function xf(a){a.resultType&=-2;a.ba|=1}function Ff(a){a.resultType&=-5;a.ba|=16}function Gf(a){a.resultType&=-9;a.ba|=64}function zf(a){a.resultType&=-33;a.ba|=2048} +function yd(a){return a.ba&-2262|qf(a)|rf(a)|sf(a)|tf(a)|uf(a)|vf(a)}function Hf(a,b){b=b|a.Ya&1|65520;a.Ya=a.Ya&-65536|b&65535;a.Ya&1&&nd(a,!0)}function zd(a,b,c){a.Ya&1||(b&=~a.Yf);void 0===c&&(c=a.pa);c?b=b&-12289|a.ba&12288:a.Pa=(b&12288)>>12;c>a.Pa&&(b=b&-513|a.ba&512);a.resultType=128;a.ba=a.ba&~(a.oc|2261)|b&(a.oc|2261)|a.ag;a.ba&256&&(a.ua|=2,a.S|=4)} +function If(a,b,c,d){var e=0;if(a.Ya&1&&(a.pa>a.Pa||a.ba&131072)&&a.Sa.ui)for(var f=a.Sa.ui+(b>>>3),e=(1<>>=8,f++;return e?(z(a,256)&&y(a,"checkIOPM("+u(b)+","+c+","+(d?"input":"output")+"): trapped",!0,!0),C.call(a,13,0),!1):!0} +m.Rb=function(a,b,c){var d=!1;switch(b){case "EAX":case "EBX":case "ECX":case "EDX":case "ESP":case "EBP":case "ESI":case "EDI":case "EIP":case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "IP":case "PC":case "CS":case "DS":case "SS":case "ES":case "FS":case "GS":case "CR0":case "CR2":case "CR3":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.qa[b]=c;this.Pg++;d=!0;break;default:d=this.parent.Rb.call(this,a,b,c)}return d}; +function Jf(a,b,c,d){var e=(d?a.kd:a.sa)[(b&a.tb)>>>a.La];e&&5==e.type&&(e=Fc(a,b,!1,!0));if(e){var f=b&a.Fa;if(!c||1==c)return e.pe(f,b);if(2==c)return f>>this.La].lc(a&this.Fa,a)}; +m.na=function(a){var b=a&this.Fa,c=(a&this.tb)>>>this.La;this.A-=this.B.Dg;if(b>>this.La;if(b>>this.La].vc(a&this.Fa,b&255,a)}; +m.ib=function(a,b){var c=a&this.Fa,d=(a&this.tb)>>>this.La;this.A-=this.B.Dg;c>8&255,a+1))};m.mb=function(a,b){var c=a&this.Fa,d=(a&this.tb)>>>this.La;this.A-=this.B.Dg;if(c>>=8}}; +function Kf(a,b,c){a.bc=b;a.Ba=c&a.Ca;a.D=b.qc(a.Ba,1);return a.S&1?0:a.Qa(a.D)}function Q(a,b){return Kf(a,a.ka,b)}function Lf(a,b){return Kf(a,a.Ka,b)}function Mf(a,b,c){a.bc=b;a.Ba=c&a.Ca;a.D=b.qc(a.Ba,a.aa);return a.S&1?0:a.ub(a.D)}function R(a,b){a.bc=a.ka;a.Ba=b&a.Ca;a.D=a.bc.qc(a.Ba,2);return a.S&1?0:a.na(a.D)}function Nf(a,b){a.bc=a.Ka;a.Ba=b&a.Ca;a.D=a.bc.qc(a.Ba,2);return a.S&1?0:a.na(a.D)}function S(a,b){a.bc=a.ka;a.Ba=b&a.Ca;a.D=a.bc.qc(a.Ba,4);return a.S&1?0:a.oa(a.D)} +function Of(a,b){a.bc=a.Ka;a.Ba=b&a.Ca;a.D=a.bc.qc(a.Ba,4);return a.S&1?0:a.oa(a.D)}function Pf(a,b){a.S&2||a.tc(a.bc.rc(a.Ba,1),b)}function Qf(a,b){a.S&2||a.ib(a.bc.rc(a.Ba,2),b)}function Rf(a,b){a.S&2||a.mb(a.bc.rc(a.Ba,4),b)}function ud(a,b,c){return a.ub(b.qc(c,a.aa))}m.xa=function(){var a=nf(this,1),b=this.Qa(this.Ga);this.Ga=a;return b};function Sf(a){var b=nf(a,2),c=a.na(a.Ga);a.Ga=b;return c}function T(a){var b=nf(a,a.Nc),c=a.fc(a.Ga);a.Ga=b;return c} +m.Ma=function(){var a=nf(this,this.aa),b=this.ub(this.Ga);this.Ga=a;return b};m.T=function(){var a=nf(this,1),b=this.Qa(this.Ga)<<24>>24;this.Ga=a;return b};function D(a){var b=a.ub(a.ga);a.ga=a.ga+a.aa|0;var c=a.Kg-a.ga|0;0>c&&0<=(a.Kg^a.ga)&&(8088>=a.ja||!a.ta.cd&&a.ta.Ta==a.ta.Ca||a.ta.cd&&!a.ta.Ta?G(a,a.ga-a.ta.Aa&a.ta.Ca):-1>c&&C.call(a,12,0));return b} +function vd(a,b,c,d){c=a.ga-c|0;0>(c-a.sd|0)&&0<=(a.sd^c)&&(8088>=a.ja||!a.ta.cd&&a.ta.Ta==a.ta.Ca||a.ta.cd&&!a.ta.Ta?(G(a,c-a.ta.Aa&a.ta.Ca),c=a.ga):C.call(a,12,0));switch(d){case 1:a.tc(c,b);break;case 2:a.ib(c,b);break;case 4:a.mb(c,b)}a.ga=c}function J(a,b){var c=a.ga-a.aa|0;0>(c-a.sd|0)&&0<=(a.sd^c)&&(8088>=a.ja||!a.ta.cd&&a.ta.Ta==a.ta.Ca||a.ta.cd&&!a.ta.Ta?(G(a,c-a.ta.Aa&a.ta.Ca),c=a.ga):C.call(a,12,0));a.uc(c,b);a.ga=c} +function Tf(a,b,c){var d=4;1==b.length&&(d=1,c=c?1:0);if(80386>a.ja)2this.ja?0:1,e=0;2>e;e++){switch(d){case 0:if(this.ua&1&&this.ba&512){var f=Vf(this.N);if(-1<=f&&(this.ua&=-2,0<=f)){this.ua&=-5;Wf.call(this, +f);d=!0;break a}}break;case 1:if(this.ua&2){this.ua&=-3;80386<=this.ja&&(this.Ja[6]|=16384);Wf.call(this,1);d=!0;break a}}d=1-d}d=!1}if(d&&!a){this.O("interrupt dispatched");this.S=0;break}if(this.ua&4){this.S=this.A=0;break}}if(b){if(Xf(this.ha,this.Ga,c)){this.Xb();break}c=1}this.S=0;this.W[this.xa()].call(this)}while(0>11;bg(this);cg(this,a[b++]);for(c=0;c=dg&&eg(a,13))}function bg(a){a.ma&=-129;a.ma&~a.mc&63&&(a.ma|=128);if(a.ma&128&&!(a.mc&128))return a=a.N,a.ja>=dg?fg(a,13):a.Fa&0||Wf.call(a.F,2),!0;a=a.N;a.ja>=dg&&eg(a,13);return!1}function gg(a,b){80387<=a.ja||(b&=-65);a.ma|=b;return bg(a)} +function $f(a){return a.ma|a.B<<11}function hg(a,b){return isFinite(b)?!0:!gg(a,Infinity===b?8:16)}function ig(a,b,c){var d=null;null!=b&&null!=c&&(d=b+c,hg(a,d)||(d=null));return d}function jg(a,b,c){var d=null;null!=b&&null!=c&&(d=b-c,hg(a,d)||(d=null));return d}function kg(a,b,c){var d=null;null!=b&&null!=c&&(d=b*c,hg(a,d)||(d=null));return d}function lg(a,b,c){var d=null;null==b||null==c||!c&&gg(a,2)||(d=b/c,hg(a,d)||(d=null));return d} +function mg(a,b,c){if(null!=b&&null!=c){var d=0;isNaN(b)||isNaN(c)?d=17664:(b-=c,0>b?d=256:0===b&&(d=16384));a.ma=a.ma&-18177|d;return!0}return!1}function ng(a,b,c){if(null==b)return null;var d=a.mc&3072;0==d?(d=Math.round(b),.5===d-b&&d%2&&d--):d=1024==d||3072==d&&0=c){if(gg(a,1))return null;d=-c}else if(d<-c){if(gg(a,1))return null;d=-c}a.da[0]=d|0;2147483648d&&(a.da[1]=-1))}return d} +function og(a,b){var c=3;if(a.C&1<=c;c<<=1)3!=(b&3)&&(a.C|=c),b>>=2}function zg(a){var b=a.B+0&7;return a.C&1<>16}function Eg(a){return a.F.oa(a.F.D)}function Fg(a){a.ua[0]=a.F.oa(a.F.D);return a.pa[0]}function Gg(a){a.da[0]=a.F.oa(a.F.D);a.da[1]=a.F.oa(a.F.D+4);return a.W[0]} +function Hg(a){a.ea[0]=a.F.oa(a.F.D);a.ea[1]=a.F.oa(a.F.D+4);a.ea[2]=a.F.na(a.F.D+8);return a.ea}m.oi=function(){this.F.mb(this.F.D,this.da[0])};m.nk=function(){this.F.mb(this.F.D,this.da[0]);this.F.mb(this.F.D+4,this.da[1])};m.qk=Yf.prototype.oi;m.pk=Yf.prototype.nk;function Ig(a){a.F.mb(a.F.D,a.ea[0]);a.F.mb(a.F.D+4,a.ea[1]);a.F.ib(a.F.D+8,a.ea[2])} +function Jg(a,b){var c=b[1],d=(b[2]&32768)>>4,e=b[2]&32767,f=b[0]>>>11|c<<21,c=c>>11&1048575;32767==e?e=2047:e&&(e+=-15360,0>=e&&(e=2047,f=c=0));a.da[0]=f;a.da[1]=c|(d|e)<<20;return a.W[0]}function Cg(a,b,c){var d=c>>20&2047,e=2147483648|(c&1048575)<<11|b>>>21;2047==d?d=32767:d?d+=15360:e&=2147483647;a.ea[0]=b<<11;a.ea[1]=e;a.ea[2]=c>>16&32768|d;return a.ea}function Kg(a,b){for(var c=0,d=1;b--;)c+=(a&15)*d,d*=10,a>>=4;return c}function Lg(a,b){for(var c=0,d=0;b--;)c|=a%10<>11;bg(a);cg(a,d.ub(b+=d.aa));!(d.Ya&1)||d.ba&131072?(a.V=d.ub(b+=d.aa),c=d.ub(b+=d.aa),a.ia=c&2047,a.V|=(c&-4096)<<4,a.fa=-1,a.U=d.ub(b+=d.aa),a.U|=(d.ub(b+=d.aa)&-4096)<<4,a.ga=-1):(a.V=d.ub(b+=d.aa),c=d.ub(b+=d.aa),a.fa=c&65535,a.ia=c>>16&2047,a.U=d.ub(b+=d.aa),a.ga=d.ub(b+=d.aa)&65535);return b+d.aa} +function Pg(a,b){var c=a.F;c.uc(b,a.mc);c.uc(b+=c.aa,$f(a));c.uc(b+=c.aa,ag(a));if(!(c.Ya&1)||c.ba&131072){var d=(a.fa<<4)+a.V;c.uc(b+=c.aa,d);c.uc(b+=c.aa,d>>4&-4096|a.ia);d=(a.ga<<4)+a.U;c.uc(b+=c.aa,d);c.uc(b+=c.aa,d>>4&-4096)}else c.uc(b+=c.aa,a.V),c.uc(b+=c.aa,a.fa|a.ia<<16),c.uc(b+=c.aa,a.U),c.uc(b+=c.aa,a.ga);return b+c.aa}var Qg=Math.log(10)/Math.LN2,Rg=Math.LOG2E,Sg=Math.PI,Tg=Math.log(2)/Math.LN10,Ug=Math.LN2,Vg=Math.pow(2,63);function Wg(){this.ma&=-32896;bg(this)} +function Xg(){mg(this,U(this,0),U(this,this.A))}function Yg(){mg(this,U(this,0),U(this,this.A))&&Mg(this)}function Zg(){Yg.call(this)}function $g(){V(this,0,lg(this,U(this,0),Fg(this)))}function ah(){this.C&=~(1<>20&2047)-1023),this.da[1]=(this.da[1]|1072693248)&-1073741825,Ng(this,this.W[0]))},102:function(){this.B=this.B-1&7;this.ma&=-513},103:function(){this.B=this.B+1&7;this.ma&=-513},112:function(){V(this,0,U(this,0)%U(this,1))},113:function(){V(this,1, +U(this,1)*Math.log(U(this,0)+1)/Math.LN2)&&Mg(this)},114:function(){var a=U(this,0),b=null;if(0<=a||!gg(this,1))b=Math.sqrt(a),hg(this,b)||(b=null);V(this,0,b)},116:function(){V(this,0,ng(this,U(this,0),Vg))},117:function(){var a=U(this,0),b=U(this,1);null!=a&&null!=b&&V(this,0,a*Math.pow(2,0>>0);Ng(this,a)},6:function(){var a=ng(this,Mg(this));null!=a&&(this.ea[0]= +Lg(a,8),this.ea[1]=Lg(a/1E8,8),this.ea[2]=Lg(a/1E16,2),0>a&&(this.ea[2]|=32768),Ig(this))},7:function(){null!=ng(this,U(this,0),Vg)&&(this.nk(),Mg(this))},48:function(){ah.call(this);Mg(this)},49:nh,50:ih,51:ih,52:lh}},ph=[Wg,bh,ch,dh,eh,fh,jh,gh,kh,lh];Qa(function(){for(var a=nb(document,"pcjs","fpu"),b=0;b>16,c=c<<16>>16,d=d<<16>>16);this.A-=this.B.cj;(bd)&&C.call(this,5);this.S|=2;return a}function yh(a,b){var c=0;if(b){Ef(this);for(var d=1;d&this.R;){if(b&d){a=c;break}d<<=1;c++}}else Gf(this);this.A-=11+3*c;return a}function zh(a,b){var c=0;if(b){Ef(this);for(var d=2==this.aa?15:31,e=1<>>=1;c++;d--}}else Gf(this);this.A-=11+3*c;return a} +function Ah(a,b){a&1<<(b&(2==this.aa?15:31))?xf(this):yf(this);this.A-=-1===this.D?3:6;this.S|=2;return a}function Bh(a,b){var c=1<<(b&(2==this.aa?15:31));a&c?xf(this):yf(this);this.A-=-1===this.D?6:8;return a^c}function Ch(a,b){var c=1<<(b&(2==this.aa?15:31));a&c?xf(this):yf(this);this.A-=-1===this.D?6:8;return a&~c}function Dh(a,b){var c=1<<(b&(2==this.aa?15:31));a&c?xf(this):yf(this);this.A-=-1===this.D?6:8;return a|c} +function Eh(a,b){if(-1===this.D)return Ah.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=Mf(this,this.bc,this.Ba+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?xf(this):yf(this);this.A-=6;this.S|=2;return a}function Fh(a,b){if(-1===this.D)return Bh.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=Mf(this,this.bc,this.Ba+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?xf(this):yf(this);this.A-=8;return a^b} +function Gh(a,b){if(-1===this.D)return Ch.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=Mf(this,this.bc,this.Ba+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?xf(this):yf(this);this.A-=8;return a&~b}function Hh(a,b){if(-1===this.D)return Dh.call(this,a,b);var c=this.aa<<3;if(b>=c||b<-c)a=Mf(this,this.bc,this.Ba+(b>>(2==this.aa?4:5))*this.aa);b=1<<(b&(2==this.aa?15:31));a&b?xf(this):yf(this);this.A-=8;return a|b} +function Ih(a,b){pf(this,a,b,a-b|0,191,!0);this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.zh:this.B.Wb;this.S|=2;return a}function Jh(a,b){pf(this,a,b,a-b|0,this.Ia|63,!0);this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.zh:this.B.Wb;this.S|=2;return a} +function Kh(a){if(this.Vb){var b=this.Vb,c=this.Og,d=this.L,e=d>>3&7;b.A=d&7;var f=(3>(d>>6&3)?0:48)+e;(217==c||219==c)&&52<=f&&(f=e<<4|b.A);if(e=oh[c][f]){if(0>ph.indexOf(e)){var f=b.F,g=f.oe;8087==b.ja&&(f.Ha&16&&g++,f.Ha&32&&g++);b.fa=f.va.Z;b.V=g-f.va.Aa;-1!==f.D&&(b.ga=f.bc.Z,b.U=f.D-f.bc.Aa);b.ia=(c&7)<<8|d}e.call(b)}}this.A-=-1===this.D?2:8;return a}function Lh(a){if(80186>this.ja)return Mh.call(this,a);C.call(this,13,0);return a}function fe(a){C.call(this,6);return a} +function Mh(a){ie.call(this);return a}function Nh(a,b){var c=Oh.call(this,this.T(),b);80386>this.ja&&(this.A-=12);return c}function Ph(a,b){var c;a=this.Ma();c=2==this.aa?Oh.call(this,a,b):Qh.call(this,a,b);80386>this.ja&&(this.A-=12);return c}function Rh(a,b){var c=!1;0>b&&(b=-b|0,c=!c);0>a&&(a=-a|0,c=!c);Sh.call(this,a,b);c&&(this.ia=~this.ia+1|0,this.wa=~this.wa+(this.ia?0:1)|0)} +function Oh(a,b){var c=(a<<16>>16)*(b<<16>>16)|0;32767c?(xf(this),zf(this)):(yf(this),Af(this));this.A-=-1===this.D?9:12;return c&65535}function Qh(a,b){Rh.call(this,a,b);this.wa!=this.ia>>31?(xf(this),zf(this)):(yf(this),Af(this));this.A-=-1===this.D?9:12;return this.ia}function Th(a,b){this.A-=14+(-1===this.D?0:2);Ef(this);-1!==this.Ea.load(b)&&this.Ea.Gc>=this.pa&&this.Ea.Gc>=(b&3)&&(Gf(this),a=this.Ea.xb&-256,2=this.pa)&&this.Ea.Gc>=(b&3))return Gf(this),this.Ea.Ta;Ef(this);return a}function $h(a,b){if(-1===this.D)return ie.call(this),a;ld(this,this.na(this.D+this.aa));this.A-=this.B.lf;return b} +function ai(a,b){this.A-=-1===this.C?-1===this.D?this.B.Mj:this.B.Lj:this.B.Jj;return b}function bi(a,b){switch(this.L>>3&7){case 4:this.Y=this.G;break;case 5:this.Y=this.I;break;case 6:this.Y=this.M;break;case 7:this.Y=this.H}return b}function ci(a,b){return b} +function di(a,b){var c=this.L>>3&7;switch(c){case 0:this.Y=this.G;break;case 2:this.Y=this.M;break;case 3:this.Y=this.H;break;default:if(80286==this.ja||80386==this.ja&&4!=c&&5!=c){C.call(this,6);break}switch(c){case 1:this.Y=this.I;break;case 4:this.Y=I(this);break;case 5:this.Y=this.P;break;case 6:this.Y=this.K;break;case 7:this.Y=this.J}}return ai.call(this,0,b)} +function ei(a,b){switch(this.L>>3&7){case 0:b=this.Wa.Z;break;case 1:b=this.va.Z;break;case 2:b=this.ta.Z;break;case 3:b=this.wb.Z;break;case 4:if(80386<=this.ja){b=this.Pb.Z;break}C.call(this,6);b=a;break;case 5:if(80386<=this.ja){b=this.Qb.Z;break}default:C.call(this,6),b=a}-1!==this.C&&td(this,2);return ai.call(this,0,b)} +function Sh(a,b){if(a&-65536||b&-65536){var c=b&65535,d=b>>>16,e=a&65535,f=a>>>16,g=c*e,e=(g>>>16)+d*e,h=e>>>16,e=(e&65535)+c*f;this.ia=e<<16|g&65535;this.wa=h+((e>>>16)+d*f)|0}else this.ia=a*b|0,this.wa=0}function fi(a,b){this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return wf(this,a|b,128)}function gi(a,b){this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return wf(this,a|b,this.Ia)&this.R} +function Ai(a,b){var c=a-b-Cf(this)|0;pf(this,a,b,c,191,!0);this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return c&255}function Bi(a,b){var c=a-b-Cf(this)|0;pf(this,a,b,c,this.Ia|63,!0);this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return c&this.R}function Ci(){return vf(this)?1:0}function Di(){return qf(this)?1:0}function Ei(){return qf(this)?0:1}function Fi(){return tf(this)?1:0}function Gi(){return tf(this)?0:1}function Hi(){return qf(this)||tf(this)?1:0} +function Ii(){return qf(this)||tf(this)?0:1}function Ji(){return uf(this)?1:0}function Ki(){return uf(this)?0:1}function Li(){return rf(this)?1:0}function Mi(){return rf(this)?0:1}function Ni(){return!uf(this)!=!vf(this)?1:0}function Oi(){return!uf(this)!=!vf(this)?0:1}function Pi(){return tf(this)||!uf(this)!=!vf(this)?1:0}function Qi(){return tf(this)||!uf(this)!=!vf(this)?0:1}function Ri(a,b){return Si.call(this,a,b,this.xa())}function Ti(a,b){return Ui.call(this,a,b,this.xa())} +function Vi(a,b){return Si.call(this,a,b,this.I&31)}function Wi(a,b){return Ui.call(this,a,b,this.I&31)}function Xi(a,b){return Yi.call(this,a,b,this.xa())}function Zi(a,b){return $i.call(this,a,b,this.xa())}function aj(a,b){return Yi.call(this,a,b,this.I&31)}function bj(a,b){return $i.call(this,a,b,this.I&31)}function cj(a,b){var c=a-b|0;pf(this,a,b,c,191,!0);this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return c&255} +function dj(a,b){var c=a-b|0;pf(this,a,b,c,this.Ia|63,!0);this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return c&this.R}function ej(a,b){wf(this,a&b,128);this.A-=-1===this.C?-1===this.D?this.B.ai:this.B.Tf:this.B.Tf;this.S|=2;return a}function fj(a,b){wf(this,a&b,this.Ia);this.A-=-1===this.C?-1===this.D?this.B.ai:this.B.Tf:this.B.Tf;this.S|=2;return a}function gj(a,b){var c=this.G&this.R,d=(1<<(this.I&31))-1;return a&~(d<>(this.G&this.R)&(1<<(this.I&31))-1&this.R}function ij(a,b){if(-1===this.D){switch(this.L&7){case 0:this.G=this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.M=this.M&-256|a;break;case 3:this.H=this.H&-256|a;break;case 4:this.G=this.G&-65281|a<<8;break;case 5:this.I=this.I&-65281|a<<8;break;case 6:this.M=this.M&-65281|a<<8;break;case 7:this.H=this.H&-65281|a<<8}this.A-=this.B.ci}else this.C=this.D,Pf(this,a),this.A-=this.B.bi;return b} +function jj(a,b){if(-1===this.D){switch(this.L&7){case 0:this.G=this.G&~this.R|a;break;case 1:this.I=this.I&~this.R|a;break;case 2:this.M=this.M&~this.R|a;break;case 3:this.H=this.H&~this.R|a;break;case 4:G(this,I(this)&~this.R|a);break;case 5:this.P=this.H&~this.R|a;break;case 6:this.K=this.K&~this.R|a;break;case 7:this.J=this.J&~this.R|a}this.A-=this.B.ci}else this.C=this.D,this.S&2||this.uc(this.bc.rc(this.Ba,this.aa),a),this.A-=this.B.bi;return b} +function kj(a,b){var c=a^b;wf(this,c,128);this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return c}function lj(a,b){this.A-=-1===this.C?-1===this.D?this.B.zc:this.B.Wb:this.B.Mc;return wf(this,a^b,this.Ia)&this.R}function mj(a,b){var c=a[1]-b[1];c||(c=a[0]-b[0]);return c}function nj(a){var b=a-1|0;pf(this,a,1,b,this.Ia|62,!0);this.A-=2;return a&~this.R|b&this.R} +function oj(a,b,c){c>>>=0;if(!c||c<=b>>>0)return!1;var d=0,e=1;c=[c>>>0,0];for(a=[a>>>0,b>>>0];0>>=0,b[1]++);e+=e}do 0<=mj(a,c)&&(b=a,f=c,b[0]-=f[0],b[1]-=f[1],0>b[0]&&(b[0]>>>=0,b[1]--),d+=e),b=c,b[0]>>>=1,b[1]&1&&(b[0]=(b[0]|2147483648)>>>0),b[1]>>>=1,e/=2;while(1<=e);this.ia=d;this.wa=a[0];return!0}function pj(a){var b=a+1|0;pf(this,a,1,b,this.Ia|62);this.A-=2;return a&~this.R|b&this.R} +function qj(a){this.Ya=a;nd(this);this.Ya&-2147483648?te(this):ve(this)}function Bd(a){this.Md=a;Vb(this)}function rj(a){this.S|=1;this.Za.call(this,a);this.A-=-1===this.D?4:5}function Si(a,b,c){if(c){16>>16-c)&65535;wf(this,a,32768,d&32768)}return a}function Ui(a,b,c){if(c){var d=a<>>32-c;wf(this,a,-2147483648,d&-2147483648)}return a} +function Yi(a,b,c){if(c){16>>c-1;a=(d>>>1|b<<16-c)&65535;wf(this,a,32768,d&1)}return a}function $i(a,b,c){if(c){var d=a>>>c-1;a=d>>>1|b<<32-c;wf(this,a,-2147483648,d&1)}return a}function sj(){this.A-=-1===this.D?2:this.B.Zj;return 1}function tj(){var a=this.I&255;this.A-=(-1===this.D?this.B.Uh:this.B.Th)+(a<this.pb?(-1!=this.Sb&&(this.Sb!==this.va.Z&&(this.va.Mb=this.Sb&3,lf(this,this.Sb)),this.Sb=-1),this.oe!==this.Ga&&mf(this,this.oe),-1!=this.qb&&(this.qb!==this.ta.Z&&ld(this,this.qb),this.qb=-1),-1!==this.U&&(this.U!==this.ga&&G(this,this.fb&~this.ta.Ca|this.U-this.ta.Aa),this.U=-1)):8!=this.pb?(b=0,a=8):(b=0,a=-1,re(this),e=d=!1)):mf(this,this.oe);var f=a,g=b,h=32,k=Jf(this,this.Ga);204!=k||this.Pd||(d=!1);this.ba&131072&&(6==f&&99== +k||13==f&&205==k)&&(d=!1);!1===d&&(h|=1);983040<=this.Ga&&1048575>=this.Ga&&(d=!1);z(this,h|-2147483648)&&(d=!0);if(z(this,h)||d){var l=this.la.Jb,f="Fault "+t(f)+(null!=g?" ("+u(g)+")":"")+" on opcode "+t(k);d&&l&&(f+=" (blocked)");this.ha?(y(this,f,d||h,!0),d&&(d=l,this.ha.Xb())):(this.Oa(f),this.Xb())}if(d&&e)throw-1;if(e)throw this.pb=a,yj.call(this,a,b,c),this.oe=this.Ga,this.S=1==a?this.S|8192:this.S|4096,a;} +function ue(a,b,c){this.qe=a;a=0;b&&(a|=1);c&&(a|=2);3==this.pa&&(a|=4);C.call(this,14,a)}function Aj(a){var b=a.xb&7680;a.Z&65528&&(6144==b||7168==b||7168>b&&a.Gc>8&255;break;case 197:c=this.I>>8&255;break;case 198:c=this.M>>8&255;break;case 199:c=this.H>>8&255;break;default:c=0}var d=this.L>>3&7;switch(d){case 0:b=this.G&255;break;case 1:b=this.I&255;break;case 2:b=this.M&255;break;case 3:b=this.H&255;break;case 4:b=this.G>>8&255;break;case 5:b=this.I>>8&255;break;case 6:b=this.M>>8&255;break;case 7:b=this.H>>8&255;break;default:b=0}a=a.call(this,b,c);switch(d){case 0:this.G=this.G& +-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.M=this.M&-256|a;break;case 3:this.H=this.H&-256|a;break;case 4:this.G=this.G&-65281|a<<8;break;case 5:this.I=this.I&-65281|a<<8;break;case 6:this.M=this.M&-65281|a<<8;break;case 7:this.H=this.H&-65281|a<<8}} +function Ae(a){var b,c,d=(this.L=this.xa())&199;switch(d){case 0:b=Q(this,this.H+this.K);this.C=this.D;break;case 1:b=Q(this,this.H+this.J);this.C=this.D;break;case 2:b=Lf(this,this.P+this.K);this.C=this.D;break;case 3:b=Lf(this,this.P+this.J);this.C=this.D;break;case 4:b=Q(this,this.K);this.C=this.D;break;case 5:b=Q(this,this.J);this.C=this.D;break;case 6:b=Q(this,T(this));this.C=this.D;break;case 7:b=Q(this,this.H);this.C=this.D;break;case 64:b=Q(this,this.H+this.K+this.T());this.C=this.D;break; +case 65:b=Q(this,this.H+this.J+this.T());this.C=this.D;break;case 66:b=Lf(this,this.P+this.K+this.T());this.C=this.D;break;case 67:b=Lf(this,this.P+this.J+this.T());this.C=this.D;break;case 68:b=Q(this,this.K+this.T());this.C=this.D;break;case 69:b=Q(this,this.J+this.T());this.C=this.D;break;case 70:b=Lf(this,this.P+this.T());this.C=this.D;break;case 71:b=Q(this,this.H+this.T());this.C=this.D;break;case 128:b=Q(this,this.H+this.K+T(this));this.C=this.D;break;case 129:b=Q(this,this.H+this.J+T(this)); +this.C=this.D;break;case 130:b=Lf(this,this.P+this.K+T(this));this.C=this.D;break;case 131:b=Lf(this,this.P+this.J+T(this));this.C=this.D;break;case 132:b=Q(this,this.K+T(this));this.C=this.D;break;case 133:b=Q(this,this.J+T(this));this.C=this.D;break;case 134:b=Lf(this,this.P+T(this));this.C=this.D;break;case 135:b=Q(this,this.H+T(this));this.C=this.D;break;case 192:b=this.G&255;break;case 193:b=this.I&255;break;case 194:b=this.M&255;break;case 195:b=this.H&255;break;case 196:b=this.G>>8&255;break; +case 197:b=this.I>>8&255;break;case 198:b=this.M>>8&255;break;case 199:b=this.H>>8&255;break;default:b=0}switch(this.L>>3&7){case 0:c=this.G&255;break;case 1:c=this.I&255;break;case 2:c=this.M&255;break;case 3:c=this.H&255;break;case 4:c=this.G>>8&255;break;case 5:c=this.I>>8&255;break;case 6:c=this.M>>8&255;break;case 7:c=this.H>>8&255;break;default:c=0}a=a.call(this,b,c);switch(d){case 0:case 3:Pf(this,a);this.A-=this.B.ed;break;case 1:case 2:Pf(this,a);this.A-=this.B.fd;break;case 4:case 5:case 7:Pf(this, +a);this.A-=this.B.Jc;break;case 6:Pf(this,a);this.A-=this.B.Id;break;case 64:case 67:case 128:case 131:Pf(this,a);this.A-=this.B.gc;break;case 65:case 66:case 129:case 130:Pf(this,a);this.A-=this.B.hc;break;case 68:case 69:case 70:case 71:case 132:case 133:case 134:case 135:Pf(this,a);this.A-=this.B.hb;break;case 192:this.G=this.G&-256|a;break;case 193:this.I=this.I&-256|a;break;case 194:this.M=this.M&-256|a;break;case 195:this.H=this.H&-256|a;break;case 196:this.G=this.G&-65281|a<<8;break;case 197:this.I= +this.I&-65281|a<<8;break;case 198:this.M=this.M&-65281|a<<8;break;case 199:this.H=this.H&-65281|a<<8}} +function Be(a,b){var c,d=(this.L=this.xa())&199;switch(d){case 0:c=Q(this,this.H+this.K);this.C=this.D;break;case 1:c=Q(this,this.H+this.J);this.C=this.D;break;case 2:c=Lf(this,this.P+this.K);this.C=this.D;break;case 3:c=Lf(this,this.P+this.J);this.C=this.D;break;case 4:c=Q(this,this.K);this.C=this.D;break;case 5:c=Q(this,this.J);this.C=this.D;break;case 6:c=Q(this,T(this));this.C=this.D;break;case 7:c=Q(this,this.H);this.C=this.D;break;case 64:c=Q(this,this.H+this.K+this.T());this.C=this.D;break; +case 65:c=Q(this,this.H+this.J+this.T());this.C=this.D;break;case 66:c=Lf(this,this.P+this.K+this.T());this.C=this.D;break;case 67:c=Lf(this,this.P+this.J+this.T());this.C=this.D;break;case 68:c=Q(this,this.K+this.T());this.C=this.D;break;case 69:c=Q(this,this.J+this.T());this.C=this.D;break;case 70:c=Lf(this,this.P+this.T());this.C=this.D;break;case 71:c=Q(this,this.H+this.T());this.C=this.D;break;case 128:c=Q(this,this.H+this.K+T(this));this.C=this.D;break;case 129:c=Q(this,this.H+this.J+T(this)); +this.C=this.D;break;case 130:c=Lf(this,this.P+this.K+T(this));this.C=this.D;break;case 131:c=Lf(this,this.P+this.J+T(this));this.C=this.D;break;case 132:c=Q(this,this.K+T(this));this.C=this.D;break;case 133:c=Q(this,this.J+T(this));this.C=this.D;break;case 134:c=Lf(this,this.P+T(this));this.C=this.D;break;case 135:c=Q(this,this.H+T(this));this.C=this.D;break;case 192:c=this.G&255;break;case 193:c=this.I&255;break;case 194:c=this.M&255;break;case 195:c=this.H&255;break;case 196:c=this.G>>8&255;break; +case 197:c=this.I>>8&255;break;case 198:c=this.M>>8&255;break;case 199:c=this.H>>8&255;break;default:c=0}c=a[this.L>>3&7].call(this,c,b.call(this));switch(d){case 0:case 3:Pf(this,c);this.A-=this.B.ed;break;case 1:case 2:Pf(this,c);this.A-=this.B.fd;break;case 4:case 5:case 7:Pf(this,c);this.A-=this.B.Jc;break;case 6:Pf(this,c);this.A-=this.B.Id;break;case 64:case 67:case 128:case 131:Pf(this,c);this.A-=this.B.gc;break;case 65:case 66:case 129:case 130:Pf(this,c);this.A-=this.B.hc;break;case 68:case 69:case 70:case 71:case 132:case 133:case 134:case 135:Pf(this, +c);this.A-=this.B.hb;break;case 192:this.G=this.G&-256|c;break;case 193:this.I=this.I&-256|c;break;case 194:this.M=this.M&-256|c;break;case 195:this.H=this.H&-256|c;break;case 196:this.G=this.G&-65281|c<<8;break;case 197:this.I=this.I&-65281|c<<8;break;case 198:this.M=this.M&-65281|c<<8;break;case 199:this.H=this.H&-65281|c<<8}} +function Ce(a){var b,c;switch((this.L=this.xa())&199){case 0:c=R(this,this.H+this.K);this.A-=this.B.ed;break;case 1:c=R(this,this.H+this.J);this.A-=this.B.fd;break;case 2:c=Nf(this,this.P+this.K);this.A-=this.B.fd;break;case 3:c=Nf(this,this.P+this.J);this.A-=this.B.ed;break;case 4:c=R(this,this.K);this.A-=this.B.Jc;break;case 5:c=R(this,this.J);this.A-=this.B.Jc;break;case 6:c=R(this,T(this));this.A-=this.B.Id;break;case 7:c=R(this,this.H);this.A-=this.B.Jc;break;case 64:c=R(this,this.H+this.K+this.T()); +this.A-=this.B.gc;break;case 65:c=R(this,this.H+this.J+this.T());this.A-=this.B.hc;break;case 66:c=Nf(this,this.P+this.K+this.T());this.A-=this.B.hc;break;case 67:c=Nf(this,this.P+this.J+this.T());this.A-=this.B.gc;break;case 68:c=R(this,this.K+this.T());this.A-=this.B.hb;break;case 69:c=R(this,this.J+this.T());this.A-=this.B.hb;break;case 70:c=Nf(this,this.P+this.T());this.A-=this.B.hb;break;case 71:c=R(this,this.H+this.T());this.A-=this.B.hb;break;case 128:c=R(this,this.H+this.K+T(this));this.A-= +this.B.gc;break;case 129:c=R(this,this.H+this.J+T(this));this.A-=this.B.hc;break;case 130:c=Nf(this,this.P+this.K+T(this));this.A-=this.B.hc;break;case 131:c=Nf(this,this.P+this.J+T(this));this.A-=this.B.gc;break;case 132:c=R(this,this.K+T(this));this.A-=this.B.hb;break;case 133:c=R(this,this.J+T(this));this.A-=this.B.hb;break;case 134:c=Nf(this,this.P+T(this));this.A-=this.B.hb;break;case 135:c=R(this,this.H+T(this));this.A-=this.B.hb;break;case 192:c=this.G&65535;break;case 193:c=this.I&65535;break; +case 194:c=this.M&65535;break;case 195:c=this.H&65535;break;case 196:c=I(this)&65535;break;case 197:c=this.P&65535;break;case 198:c=this.K&65535;break;case 199:c=this.J&65535;break;default:c=0}var d=this.L>>3&7;switch(d){case 0:b=this.G&65535;break;case 1:b=this.I&65535;break;case 2:b=this.M&65535;break;case 3:b=this.H&65535;break;case 4:b=I(this)&65535;break;case 5:b=this.P&65535;break;case 6:b=this.K&65535;break;case 7:b=this.J&65535;break;default:b=0}a=a.call(this,b,c);switch(d){case 0:this.G= +this.G&-65536|a;break;case 1:this.I=this.I&-65536|a;break;case 2:this.M=this.M&-65536|a;break;case 3:this.H=this.H&-65536|a;break;case 4:G(this,I(this)&-65536|a);break;case 5:this.P=this.P&-65536|a;break;case 6:this.K=this.K&-65536|a;break;case 7:this.J=this.J&-65536|a}} +function De(a){var b,c,d=(this.L=this.xa())&199;switch(d){case 0:b=R(this,this.H+this.K);this.C=this.D;break;case 1:b=R(this,this.H+this.J);this.C=this.D;break;case 2:b=Nf(this,this.P+this.K);this.C=this.D;break;case 3:b=Nf(this,this.P+this.J);this.C=this.D;break;case 4:b=R(this,this.K);this.C=this.D;break;case 5:b=R(this,this.J);this.C=this.D;break;case 6:b=R(this,T(this));this.C=this.D;break;case 7:b=R(this,this.H);this.C=this.D;break;case 64:b=R(this,this.H+this.K+this.T());this.C=this.D;break; +case 65:b=R(this,this.H+this.J+this.T());this.C=this.D;break;case 66:b=Nf(this,this.P+this.K+this.T());this.C=this.D;break;case 67:b=Nf(this,this.P+this.J+this.T());this.C=this.D;break;case 68:b=R(this,this.K+this.T());this.C=this.D;break;case 69:b=R(this,this.J+this.T());this.C=this.D;break;case 70:b=Nf(this,this.P+this.T());this.C=this.D;break;case 71:b=R(this,this.H+this.T());this.C=this.D;break;case 128:b=R(this,this.H+this.K+T(this));this.C=this.D;break;case 129:b=R(this,this.H+this.J+T(this)); +this.C=this.D;break;case 130:b=Nf(this,this.P+this.K+T(this));this.C=this.D;break;case 131:b=Nf(this,this.P+this.J+T(this));this.C=this.D;break;case 132:b=R(this,this.K+T(this));this.C=this.D;break;case 133:b=R(this,this.J+T(this));this.C=this.D;break;case 134:b=Nf(this,this.P+T(this));this.C=this.D;break;case 135:b=R(this,this.H+T(this));this.C=this.D;break;case 192:b=this.G&65535;break;case 193:b=this.I&65535;break;case 194:b=this.M&65535;break;case 195:b=this.H&65535;break;case 196:b=I(this)&65535; +break;case 197:b=this.P&65535;break;case 198:b=this.K&65535;break;case 199:b=this.J&65535;break;default:b=0}switch(this.L>>3&7){case 0:c=this.G&65535;break;case 1:c=this.I&65535;break;case 2:c=this.M&65535;break;case 3:c=this.H&65535;break;case 4:c=I(this)&65535;break;case 5:c=this.P&65535;break;case 6:c=this.K&65535;break;case 7:c=this.J&65535;break;default:c=0}a=a.call(this,b,c);switch(d){case 0:case 3:Qf(this,a);this.A-=this.B.ed;break;case 1:case 2:Qf(this,a);this.A-=this.B.fd;break;case 4:case 5:case 7:Qf(this, +a);this.A-=this.B.Jc;break;case 6:Qf(this,a);this.A-=this.B.Id;break;case 64:case 67:case 128:case 131:Qf(this,a);this.A-=this.B.gc;break;case 65:case 66:case 129:case 130:Qf(this,a);this.A-=this.B.hc;break;case 68:case 69:case 70:case 71:case 132:case 133:case 134:case 135:Qf(this,a);this.A-=this.B.hb;break;case 192:this.G=this.G&-65536|a;break;case 193:this.I=this.I&-65536|a;break;case 194:this.M=this.M&-65536|a;break;case 195:this.H=this.H&-65536|a;break;case 196:G(this,I(this)&-65536|a);break; +case 197:this.P=this.P&-65536|a;break;case 198:this.K=this.K&-65536|a;break;case 199:this.J=this.J&-65536|a}} +function Ee(a,b){var c,d=(this.L=this.xa())&199;switch(d){case 0:c=R(this,this.H+this.K);this.C=this.D;break;case 1:c=R(this,this.H+this.J);this.C=this.D;break;case 2:c=Nf(this,this.P+this.K);this.C=this.D;break;case 3:c=Nf(this,this.P+this.J);this.C=this.D;break;case 4:c=R(this,this.K);this.C=this.D;break;case 5:c=R(this,this.J);this.C=this.D;break;case 6:c=R(this,T(this));this.C=this.D;break;case 7:c=R(this,this.H);this.C=this.D;break;case 64:c=R(this,this.H+this.K+this.T());this.C=this.D;break; +case 65:c=R(this,this.H+this.J+this.T());this.C=this.D;break;case 66:c=Nf(this,this.P+this.K+this.T());this.C=this.D;break;case 67:c=Nf(this,this.P+this.J+this.T());this.C=this.D;break;case 68:c=R(this,this.K+this.T());this.C=this.D;break;case 69:c=R(this,this.J+this.T());this.C=this.D;break;case 70:c=Nf(this,this.P+this.T());this.C=this.D;break;case 71:c=R(this,this.H+this.T());this.C=this.D;break;case 128:c=R(this,this.H+this.K+T(this));this.C=this.D;break;case 129:c=R(this,this.H+this.J+T(this)); +this.C=this.D;break;case 130:c=Nf(this,this.P+this.K+T(this));this.C=this.D;break;case 131:c=Nf(this,this.P+this.J+T(this));this.C=this.D;break;case 132:c=R(this,this.K+T(this));this.C=this.D;break;case 133:c=R(this,this.J+T(this));this.C=this.D;break;case 134:c=Nf(this,this.P+T(this));this.C=this.D;break;case 135:c=R(this,this.H+T(this));this.C=this.D;break;case 192:c=this.G&65535;break;case 193:c=this.I&65535;break;case 194:c=this.M&65535;break;case 195:c=this.H&65535;break;case 196:c=I(this)&65535; +break;case 197:c=this.P&65535;break;case 198:c=this.K&65535;break;case 199:c=this.J&65535;break;default:c=0}c=a[this.L>>3&7].call(this,c,b.call(this));switch(d){case 0:case 3:Qf(this,c);this.A-=this.B.ed;break;case 1:case 2:Qf(this,c);this.A-=this.B.fd;break;case 4:case 5:case 7:Qf(this,c);this.A-=this.B.Jc;break;case 6:Qf(this,c);this.A-=this.B.Id;break;case 64:case 67:case 128:case 131:Qf(this,c);this.A-=this.B.gc;break;case 65:case 66:case 129:case 130:Qf(this,c);this.A-=this.B.hc;break;case 68:case 69:case 70:case 71:case 132:case 133:case 134:case 135:Qf(this, +c);this.A-=this.B.hb;break;case 192:this.G=this.G&-65536|c;break;case 193:this.I=this.I&-65536|c;break;case 194:this.M=this.M&-65536|c;break;case 195:this.H=this.H&-65536|c;break;case 196:G(this,I(this)&-65536|c);break;case 197:this.P=this.P&-65536|c;break;case 198:this.K=this.K&-65536|c;break;case 199:this.J=this.J&-65536|c}} +function Fe(a){var b,c;switch((this.L=this.xa())&199){case 0:c=S(this,this.H+this.K);this.A-=this.B.ed;break;case 1:c=S(this,this.H+this.J);this.A-=this.B.fd;break;case 2:c=Of(this,this.P+this.K);this.A-=this.B.fd;break;case 3:c=Of(this,this.P+this.J);this.A-=this.B.ed;break;case 4:c=S(this,this.K);this.A-=this.B.Jc;break;case 5:c=S(this,this.J);this.A-=this.B.Jc;break;case 6:c=S(this,T(this));this.A-=this.B.Id;break;case 7:c=S(this,this.H);this.A-=this.B.Jc;break;case 64:c=S(this,this.H+this.K+this.T()); +this.A-=this.B.gc;break;case 65:c=S(this,this.H+this.J+this.T());this.A-=this.B.hc;break;case 66:c=Of(this,this.P+this.K+this.T());this.A-=this.B.hc;break;case 67:c=Of(this,this.P+this.J+this.T());this.A-=this.B.gc;break;case 68:c=S(this,this.K+this.T());this.A-=this.B.hb;break;case 69:c=S(this,this.J+this.T());this.A-=this.B.hb;break;case 70:c=Of(this,this.P+this.T());this.A-=this.B.hb;break;case 71:c=S(this,this.H+this.T());this.A-=this.B.hb;break;case 128:c=S(this,this.H+this.K+T(this));this.A-= +this.B.gc;break;case 129:c=S(this,this.H+this.J+T(this));this.A-=this.B.hc;break;case 130:c=Of(this,this.P+this.K+T(this));this.A-=this.B.hc;break;case 131:c=Of(this,this.P+this.J+T(this));this.A-=this.B.gc;break;case 132:c=S(this,this.K+T(this));this.A-=this.B.hb;break;case 133:c=S(this,this.J+T(this));this.A-=this.B.hb;break;case 134:c=Of(this,this.P+T(this));this.A-=this.B.hb;break;case 135:c=S(this,this.H+T(this));this.A-=this.B.hb;break;case 192:c=this.G;break;case 193:c=this.I;break;case 194:c= +this.M;break;case 195:c=this.H;break;case 196:c=I(this);break;case 197:c=this.P;break;case 198:c=this.K;break;case 199:c=this.J;break;default:c=0}var d=this.L>>3&7;switch(d){case 0:b=this.G;break;case 1:b=this.I;break;case 2:b=this.M;break;case 3:b=this.H;break;case 4:b=I(this);break;case 5:b=this.P;break;case 6:b=this.K;break;case 7:b=this.J;break;default:b=0}a=a.call(this,b,c);switch(d){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.M=a;break;case 3:this.H=a;break;case 4:G(this,a);break; +case 5:this.P=a;break;case 6:this.K=a;break;case 7:this.J=a}} +function Ge(a){var b,c,d=(this.L=this.xa())&199;switch(d){case 0:b=S(this,this.H+this.K);this.C=this.D;break;case 1:b=S(this,this.H+this.J);this.C=this.D;break;case 2:b=Of(this,this.P+this.K);this.C=this.D;break;case 3:b=Of(this,this.P+this.J);this.C=this.D;break;case 4:b=S(this,this.K);this.C=this.D;break;case 5:b=S(this,this.J);this.C=this.D;break;case 6:b=S(this,T(this));this.C=this.D;break;case 7:b=S(this,this.H);this.C=this.D;break;case 64:b=S(this,this.H+this.K+this.T());this.C=this.D;break; +case 65:b=S(this,this.H+this.J+this.T());this.C=this.D;break;case 66:b=Of(this,this.P+this.K+this.T());this.C=this.D;break;case 67:b=Of(this,this.P+this.J+this.T());this.C=this.D;break;case 68:b=S(this,this.K+this.T());this.C=this.D;break;case 69:b=S(this,this.J+this.T());this.C=this.D;break;case 70:b=Of(this,this.P+this.T());this.C=this.D;break;case 71:b=S(this,this.H+this.T());this.C=this.D;break;case 128:b=S(this,this.H+this.K+T(this));this.C=this.D;break;case 129:b=S(this,this.H+this.J+T(this)); +this.C=this.D;break;case 130:b=Of(this,this.P+this.K+T(this));this.C=this.D;break;case 131:b=Of(this,this.P+this.J+T(this));this.C=this.D;break;case 132:b=S(this,this.K+T(this));this.C=this.D;break;case 133:b=S(this,this.J+T(this));this.C=this.D;break;case 134:b=Of(this,this.P+T(this));this.C=this.D;break;case 135:b=S(this,this.H+T(this));this.C=this.D;break;case 192:b=this.G;break;case 193:b=this.I;break;case 194:b=this.M;break;case 195:b=this.H;break;case 196:b=I(this);break;case 197:b=this.P;break; +case 198:b=this.K;break;case 199:b=this.J;break;default:b=0}switch(this.L>>3&7){case 0:c=this.G;break;case 1:c=this.I;break;case 2:c=this.M;break;case 3:c=this.H;break;case 4:c=I(this);break;case 5:c=this.P;break;case 6:c=this.K;break;case 7:c=this.J;break;default:c=0}a=a.call(this,b,c);switch(d){case 0:case 3:Rf(this,a);this.A-=this.B.ed;break;case 1:case 2:Rf(this,a);this.A-=this.B.fd;break;case 4:case 5:case 7:Rf(this,a);this.A-=this.B.Jc;break;case 6:Rf(this,a);this.A-=this.B.Id;break;case 64:case 67:case 128:case 131:Rf(this, +a);this.A-=this.B.gc;break;case 65:case 66:case 129:case 130:Rf(this,a);this.A-=this.B.hc;break;case 68:case 69:case 70:case 71:case 132:case 133:case 134:case 135:Rf(this,a);this.A-=this.B.hb;break;case 192:this.G=a;break;case 193:this.I=a;break;case 194:this.M=a;break;case 195:this.H=a;break;case 196:G(this,a);break;case 197:this.P=a;break;case 198:this.K=a;break;case 199:this.J=a}} +function Je(a,b){var c,d=(this.L=this.xa())&199;switch(d){case 0:c=S(this,this.H+this.K);this.C=this.D;break;case 1:c=S(this,this.H+this.J);this.C=this.D;break;case 2:c=Of(this,this.P+this.K);this.C=this.D;break;case 3:c=Of(this,this.P+this.J);this.C=this.D;break;case 4:c=S(this,this.K);this.C=this.D;break;case 5:c=S(this,this.J);this.C=this.D;break;case 6:c=S(this,T(this));this.C=this.D;break;case 7:c=S(this,this.H);this.C=this.D;break;case 64:c=S(this,this.H+this.K+this.T());this.C=this.D;break; +case 65:c=S(this,this.H+this.J+this.T());this.C=this.D;break;case 66:c=Of(this,this.P+this.K+this.T());this.C=this.D;break;case 67:c=Of(this,this.P+this.J+this.T());this.C=this.D;break;case 68:c=S(this,this.K+this.T());this.C=this.D;break;case 69:c=S(this,this.J+this.T());this.C=this.D;break;case 70:c=Of(this,this.P+this.T());this.C=this.D;break;case 71:c=S(this,this.H+this.T());this.C=this.D;break;case 128:c=S(this,this.H+this.K+T(this));this.C=this.D;break;case 129:c=S(this,this.H+this.J+T(this)); +this.C=this.D;break;case 130:c=Of(this,this.P+this.K+T(this));this.C=this.D;break;case 131:c=Of(this,this.P+this.J+T(this));this.C=this.D;break;case 132:c=S(this,this.K+T(this));this.C=this.D;break;case 133:c=S(this,this.J+T(this));this.C=this.D;break;case 134:c=Of(this,this.P+T(this));this.C=this.D;break;case 135:c=S(this,this.H+T(this));this.C=this.D;break;case 192:c=this.G;break;case 193:c=this.I;break;case 194:c=this.M;break;case 195:c=this.H;break;case 196:c=I(this);break;case 197:c=this.P;break; +case 198:c=this.K;break;case 199:c=this.J}c=a[this.L>>3&7].call(this,c,b.call(this));switch(d){case 0:case 3:Rf(this,c);this.A-=this.B.ed;break;case 1:case 2:Rf(this,c);this.A-=this.B.fd;break;case 4:case 5:case 7:Rf(this,c);this.A-=this.B.Jc;break;case 6:Rf(this,c);this.A-=this.B.Id;break;case 64:case 67:case 128:case 131:Rf(this,c);this.A-=this.B.gc;break;case 65:case 66:case 129:case 130:Rf(this,c);this.A-=this.B.hc;break;case 68:case 69:case 70:case 71:case 132:case 133:case 134:case 135:Rf(this, +c);this.A-=this.B.hb;break;case 192:this.G=c;break;case 193:this.I=c;break;case 194:this.M=c;break;case 195:this.H=c;break;case 196:G(this,c);break;case 197:this.P=c;break;case 198:this.K=c;break;case 199:this.J=c}} +function Ke(a){var b,c;switch((this.L=this.xa())&199){case 0:c=Q(this,this.G);break;case 1:c=Q(this,this.I);break;case 2:c=Q(this,this.M);break;case 3:c=Q(this,this.H);break;case 4:c=Q(this,Cj.call(this,0));break;case 5:c=Q(this,T(this));break;case 6:c=Q(this,this.K);break;case 7:c=Q(this,this.J);break;case 64:c=Q(this,this.G+this.T());break;case 65:c=Q(this,this.I+this.T());break;case 66:c=Q(this,this.M+this.T());break;case 67:c=Q(this,this.H+this.T());break;case 68:c=Q(this,Cj.call(this,1)+this.T()); +break;case 69:c=Lf(this,this.P+this.T());break;case 70:c=Q(this,this.K+this.T());break;case 71:c=Q(this,this.J+this.T());break;case 128:c=Q(this,this.G+T(this));break;case 129:c=Q(this,this.I+T(this));break;case 130:c=Q(this,this.M+T(this));break;case 131:c=Q(this,this.H+T(this));break;case 132:c=Q(this,Cj.call(this,2)+T(this));break;case 133:c=Lf(this,this.P+T(this));break;case 134:c=Q(this,this.K+T(this));break;case 135:c=Q(this,this.J+T(this));break;case 192:c=this.G&255;break;case 193:c=this.I& +255;break;case 194:c=this.M&255;break;case 195:c=this.H&255;break;case 196:c=this.G>>8&255;break;case 197:c=this.I>>8&255;break;case 198:c=this.M>>8&255;break;case 199:c=this.H>>8&255;break;default:c=0}var d=this.L>>3&7;switch(d){case 0:b=this.G&255;break;case 1:b=this.I&255;break;case 2:b=this.M&255;break;case 3:b=this.H&255;break;case 4:b=this.G>>8&255;break;case 5:b=this.I>>8&255;break;case 6:b=this.M>>8&255;break;case 7:b=this.H>>8&255;break;default:b=0}a=a.call(this,b,c);switch(d){case 0:this.G= +this.G&-256|a;break;case 1:this.I=this.I&-256|a;break;case 2:this.M=this.M&-256|a;break;case 3:this.H=this.H&-256|a;break;case 4:this.G=this.G&-65281|a<<8;break;case 5:this.I=this.I&-65281|a<<8;break;case 6:this.M=this.M&-65281|a<<8;break;case 7:this.H=this.H&-65281|a<<8}} +function Le(a){var b,c,d=(this.L=this.xa())&199;switch(d){case 0:b=Q(this,this.G);this.C=this.D;break;case 1:b=Q(this,this.I);this.C=this.D;break;case 2:b=Q(this,this.M);this.C=this.D;break;case 3:b=Q(this,this.H);this.C=this.D;break;case 4:b=Q(this,Cj.call(this,0));this.C=this.D;break;case 5:b=Q(this,T(this));this.C=this.D;break;case 6:b=Q(this,this.K);this.C=this.D;break;case 7:b=Q(this,this.J);this.C=this.D;break;case 64:b=Q(this,this.G+this.T());this.C=this.D;break;case 65:b=Q(this,this.I+this.T()); +this.C=this.D;break;case 66:b=Q(this,this.M+this.T());this.C=this.D;break;case 67:b=Q(this,this.H+this.T());this.C=this.D;break;case 68:b=Q(this,Cj.call(this,1)+this.T());this.C=this.D;break;case 69:b=Lf(this,this.P+this.T());this.C=this.D;break;case 70:b=Q(this,this.K+this.T());this.C=this.D;break;case 71:b=Q(this,this.J+this.T());this.C=this.D;break;case 128:b=Q(this,this.G+T(this));this.C=this.D;break;case 129:b=Q(this,this.I+T(this));this.C=this.D;break;case 130:b=Q(this,this.M+T(this));this.C= +this.D;break;case 131:b=Q(this,this.H+T(this));this.C=this.D;break;case 132:b=Q(this,Cj.call(this,2)+T(this));this.C=this.D;break;case 133:b=Lf(this,this.P+T(this));this.C=this.D;break;case 134:b=Q(this,this.K+T(this));this.C=this.D;break;case 135:b=Q(this,this.J+T(this));this.C=this.D;break;case 192:b=this.G&255;break;case 193:b=this.I&255;break;case 194:b=this.M&255;break;case 195:b=this.H&255;break;case 196:b=this.G>>8&255;break;case 197:b=this.I>>8&255;break;case 198:b=this.M>>8&255;break;case 199:b= +this.H>>8&255;break;default:b=0}switch(this.L>>3&7){case 0:c=this.G&255;break;case 1:c=this.I&255;break;case 2:c=this.M&255;break;case 3:c=this.H&255;break;case 4:c=this.G>>8&255;break;case 5:c=this.I>>8&255;break;case 6:c=this.M>>8&255;break;case 7:c=this.H>>8&255;break;default:c=0}a=a.call(this,b,c);switch(d){case 192:this.G=this.G&-256|a;break;case 193:this.I=this.I&-256|a;break;case 194:this.M=this.M&-256|a;break;case 195:this.H=this.H&-256|a;break;case 196:this.G=this.G&-65281|a<<8;break;case 197:this.I= +this.I&-65281|a<<8;break;case 198:this.M=this.M&-65281|a<<8;break;case 199:this.H=this.H&-65281|a<<8;break;default:Pf(this,a)}} +function Me(a,b){var c,d=(this.L=this.xa())&199;switch(d){case 0:c=Q(this,this.G);this.C=this.D;break;case 1:c=Q(this,this.I);this.C=this.D;break;case 2:c=Q(this,this.M);this.C=this.D;break;case 3:c=Q(this,this.H);this.C=this.D;break;case 4:c=Q(this,Cj.call(this,0));this.C=this.D;break;case 5:c=Q(this,T(this));this.C=this.D;break;case 6:c=Q(this,this.K);this.C=this.D;break;case 7:c=Q(this,this.J);this.C=this.D;break;case 64:c=Q(this,this.G+this.T());this.C=this.D;break;case 65:c=Q(this,this.I+this.T()); +this.C=this.D;break;case 66:c=Q(this,this.M+this.T());this.C=this.D;break;case 67:c=Q(this,this.H+this.T());this.C=this.D;break;case 68:c=Q(this,Cj.call(this,1)+this.T());this.C=this.D;break;case 69:c=Lf(this,this.P+this.T());this.C=this.D;break;case 70:c=Q(this,this.K+this.T());this.C=this.D;break;case 71:c=Q(this,this.J+this.T());this.C=this.D;break;case 128:c=Q(this,this.G+T(this));this.C=this.D;break;case 129:c=Q(this,this.I+T(this));this.C=this.D;break;case 130:c=Q(this,this.M+T(this));this.C= +this.D;break;case 131:c=Q(this,this.H+T(this));this.C=this.D;break;case 132:c=Q(this,Cj.call(this,2)+T(this));this.C=this.D;break;case 133:c=Lf(this,this.P+T(this));this.C=this.D;break;case 134:c=Q(this,this.K+T(this));this.C=this.D;break;case 135:c=Q(this,this.J+T(this));this.C=this.D;break;case 192:c=this.G&255;break;case 193:c=this.I&255;break;case 194:c=this.M&255;break;case 195:c=this.H&255;break;case 196:c=this.G>>8&255;break;case 197:c=this.I>>8&255;break;case 198:c=this.M>>8&255;break;case 199:c= +this.H>>8&255;break;default:c=0}c=a[this.L>>3&7].call(this,c,b.call(this));switch(d){case 192:this.G=this.G&-256|c;break;case 193:this.I=this.I&-256|c;break;case 194:this.M=this.M&-256|c;break;case 195:this.H=this.H&-256|c;break;case 196:this.G=this.G&-65281|c<<8;break;case 197:this.I=this.I&-65281|c<<8;break;case 198:this.M=this.M&-65281|c<<8;break;case 199:this.H=this.H&-65281|c<<8;break;default:Pf(this,c)}} +function Ne(a){var b,c;switch((this.L=this.xa())&199){case 0:c=R(this,this.G);break;case 1:c=R(this,this.I);break;case 2:c=R(this,this.M);break;case 3:c=R(this,this.H);break;case 4:c=R(this,Cj.call(this,0));break;case 5:c=R(this,T(this));break;case 6:c=R(this,this.K);break;case 7:c=R(this,this.J);break;case 64:c=R(this,this.G+this.T());break;case 65:c=R(this,this.I+this.T());break;case 66:c=R(this,this.M+this.T());break;case 67:c=R(this,this.H+this.T());break;case 68:c=R(this,Cj.call(this,1)+this.T()); +break;case 69:c=Nf(this,this.P+this.T());break;case 70:c=R(this,this.K+this.T());break;case 71:c=R(this,this.J+this.T());break;case 128:c=R(this,this.G+T(this));break;case 129:c=R(this,this.I+T(this));break;case 130:c=R(this,this.M+T(this));break;case 131:c=R(this,this.H+T(this));break;case 132:c=R(this,Cj.call(this,2)+T(this));break;case 133:c=Nf(this,this.P+T(this));break;case 134:c=R(this,this.K+T(this));break;case 135:c=R(this,this.J+T(this));break;case 192:c=this.G&65535;break;case 193:c=this.I& +65535;break;case 194:c=this.M&65535;break;case 195:c=this.H&65535;break;case 196:c=I(this)&65535;break;case 197:c=this.P&65535;break;case 198:c=this.K&65535;break;case 199:c=this.J&65535;break;default:c=0}var d=this.L>>3&7;switch(d){case 0:b=this.G&65535;break;case 1:b=this.I&65535;break;case 2:b=this.M&65535;break;case 3:b=this.H&65535;break;case 4:b=I(this)&65535;break;case 5:b=this.P&65535;break;case 6:b=this.K&65535;break;case 7:b=this.J&65535;break;default:b=0}a=a.call(this,b,c);switch(d){case 0:this.G= +this.G&-65536|a;break;case 1:this.I=this.I&-65536|a;break;case 2:this.M=this.M&-65536|a;break;case 3:this.H=this.H&-65536|a;break;case 4:G(this,I(this)&-65536|a);break;case 5:this.P=this.P&-65536|a;break;case 6:this.K=this.K&-65536|a;break;case 7:this.J=this.J&-65536|a}} +function Oe(a){var b,c,d=(this.L=this.xa())&199;switch(d){case 0:b=R(this,this.G);this.C=this.D;break;case 1:b=R(this,this.I);this.C=this.D;break;case 2:b=R(this,this.M);this.C=this.D;break;case 3:b=R(this,this.H);this.C=this.D;break;case 4:b=R(this,Cj.call(this,0));this.C=this.D;break;case 5:b=R(this,T(this));this.C=this.D;break;case 6:b=R(this,this.K);this.C=this.D;break;case 7:b=R(this,this.J);this.C=this.D;break;case 64:b=R(this,this.G+this.T());this.C=this.D;break;case 65:b=R(this,this.I+this.T()); +this.C=this.D;break;case 66:b=R(this,this.M+this.T());this.C=this.D;break;case 67:b=R(this,this.H+this.T());this.C=this.D;break;case 68:b=R(this,Cj.call(this,1)+this.T());this.C=this.D;break;case 69:b=Nf(this,this.P+this.T());this.C=this.D;break;case 70:b=R(this,this.K+this.T());this.C=this.D;break;case 71:b=R(this,this.J+this.T());this.C=this.D;break;case 128:b=R(this,this.G+T(this));this.C=this.D;break;case 129:b=R(this,this.I+T(this));this.C=this.D;break;case 130:b=R(this,this.M+T(this));this.C= +this.D;break;case 131:b=R(this,this.H+T(this));this.C=this.D;break;case 132:b=R(this,Cj.call(this,2)+T(this));this.C=this.D;break;case 133:b=Nf(this,this.P+T(this));this.C=this.D;break;case 134:b=R(this,this.K+T(this));this.C=this.D;break;case 135:b=R(this,this.J+T(this));this.C=this.D;break;case 192:b=this.G&65535;break;case 193:b=this.I&65535;break;case 194:b=this.M&65535;break;case 195:b=this.H&65535;break;case 196:b=I(this)&65535;break;case 197:b=this.P&65535;break;case 198:b=this.K&65535;break; +case 199:b=this.J&65535;break;default:b=0}switch(this.L>>3&7){case 0:c=this.G&65535;break;case 1:c=this.I&65535;break;case 2:c=this.M&65535;break;case 3:c=this.H&65535;break;case 4:c=I(this)&65535;break;case 5:c=this.P&65535;break;case 6:c=this.K&65535;break;case 7:c=this.J&65535;break;default:c=0}a=a.call(this,b,c);switch(d){case 192:this.G=this.G&-65536|a;break;case 193:this.I=this.I&-65536|a;break;case 194:this.M=this.M&-65536|a;break;case 195:this.H=this.H&-65536|a;break;case 196:G(this,I(this)& +-65536|a);break;case 197:this.P=this.P&-65536|a;break;case 198:this.K=this.K&-65536|a;break;case 199:this.J=this.J&-65536|a;break;default:Qf(this,a)}} +function Pe(a,b){var c,d=(this.L=this.xa())&199;switch(d){case 0:c=R(this,this.G);this.C=this.D;break;case 1:c=R(this,this.I);this.C=this.D;break;case 2:c=R(this,this.M);this.C=this.D;break;case 3:c=R(this,this.H);this.C=this.D;break;case 4:c=R(this,Cj.call(this,0));this.C=this.D;break;case 5:c=R(this,T(this));this.C=this.D;break;case 6:c=R(this,this.K);this.C=this.D;break;case 7:c=R(this,this.J);this.C=this.D;break;case 64:c=R(this,this.G+this.T());this.C=this.D;break;case 65:c=R(this,this.I+this.T()); +this.C=this.D;break;case 66:c=R(this,this.M+this.T());this.C=this.D;break;case 67:c=R(this,this.H+this.T());this.C=this.D;break;case 68:c=R(this,Cj.call(this,1)+this.T());this.C=this.D;break;case 69:c=Nf(this,this.P+this.T());this.C=this.D;break;case 70:c=R(this,this.K+this.T());this.C=this.D;break;case 71:c=R(this,this.J+this.T());this.C=this.D;break;case 128:c=R(this,this.G+T(this));this.C=this.D;break;case 129:c=R(this,this.I+T(this));this.C=this.D;break;case 130:c=R(this,this.M+T(this));this.C= +this.D;break;case 131:c=R(this,this.H+T(this));this.C=this.D;break;case 132:c=R(this,Cj.call(this,2)+T(this));this.C=this.D;break;case 133:c=Nf(this,this.P+T(this));this.C=this.D;break;case 134:c=R(this,this.K+T(this));this.C=this.D;break;case 135:c=R(this,this.J+T(this));this.C=this.D;break;case 192:c=this.G&65535;break;case 193:c=this.I&65535;break;case 194:c=this.M&65535;break;case 195:c=this.H&65535;break;case 196:c=I(this)&65535;break;case 197:c=this.P&65535;break;case 198:c=this.K&65535;break; +case 199:c=this.J&65535;break;default:c=0}c=a[this.L>>3&7].call(this,c,b.call(this));switch(d){case 192:this.G=this.G&-65536|c;break;case 193:this.I=this.I&-65536|c;break;case 194:this.M=this.M&-65536|c;break;case 195:this.H=this.H&-65536|c;break;case 196:G(this,I(this)&-65536|c);break;case 197:this.P=this.P&-65536|c;break;case 198:this.K=this.K&-65536|c;break;case 199:this.J=this.J&-65536|c;break;default:Qf(this,c)}} +function Qe(a){var b,c;switch((this.L=this.xa())&199){case 0:c=S(this,this.G);break;case 1:c=S(this,this.I);break;case 2:c=S(this,this.M);break;case 3:c=S(this,this.H);break;case 4:c=S(this,Cj.call(this,0));break;case 5:c=S(this,T(this));break;case 6:c=S(this,this.K);break;case 7:c=S(this,this.J);break;case 64:c=S(this,this.G+this.T());break;case 65:c=S(this,this.I+this.T());break;case 66:c=S(this,this.M+this.T());break;case 67:c=S(this,this.H+this.T());break;case 68:c=S(this,Cj.call(this,1)+this.T()); +break;case 69:c=Of(this,this.P+this.T());break;case 70:c=S(this,this.K+this.T());break;case 71:c=S(this,this.J+this.T());break;case 128:c=S(this,this.G+T(this));break;case 129:c=S(this,this.I+T(this));break;case 130:c=S(this,this.M+T(this));break;case 131:c=S(this,this.H+T(this));break;case 132:c=S(this,Cj.call(this,2)+T(this));break;case 133:c=Of(this,this.P+T(this));break;case 134:c=S(this,this.K+T(this));break;case 135:c=S(this,this.J+T(this));break;case 192:c=this.G;break;case 193:c=this.I;break; +case 194:c=this.M;break;case 195:c=this.H;break;case 196:c=I(this);break;case 197:c=this.P;break;case 198:c=this.K;break;case 199:c=this.J;break;default:c=0}var d=this.L>>3&7;switch(d){case 0:b=this.G;break;case 1:b=this.I;break;case 2:b=this.M;break;case 3:b=this.H;break;case 4:b=I(this);break;case 5:b=this.P;break;case 6:b=this.K;break;case 7:b=this.J;break;default:b=0}a=a.call(this,b,c);switch(d){case 0:this.G=a;break;case 1:this.I=a;break;case 2:this.M=a;break;case 3:this.H=a;break;case 4:G(this, +a);break;case 5:this.P=a;break;case 6:this.K=a;break;case 7:this.J=a}} +function Re(a){var b,c,d=(this.L=this.xa())&199;switch(d){case 0:b=S(this,this.G);this.C=this.D;break;case 1:b=S(this,this.I);this.C=this.D;break;case 2:b=S(this,this.M);this.C=this.D;break;case 3:b=S(this,this.H);this.C=this.D;break;case 4:b=S(this,Cj.call(this,0));this.C=this.D;break;case 5:b=S(this,T(this));this.C=this.D;break;case 6:b=S(this,this.K);this.C=this.D;break;case 7:b=S(this,this.J);this.C=this.D;break;case 64:b=S(this,this.G+this.T());this.C=this.D;break;case 65:b=S(this,this.I+this.T()); +this.C=this.D;break;case 66:b=S(this,this.M+this.T());this.C=this.D;break;case 67:b=S(this,this.H+this.T());this.C=this.D;break;case 68:b=S(this,Cj.call(this,1)+this.T());this.C=this.D;break;case 69:b=Of(this,this.P+this.T());this.C=this.D;break;case 70:b=S(this,this.K+this.T());this.C=this.D;break;case 71:b=S(this,this.J+this.T());this.C=this.D;break;case 128:b=S(this,this.G+T(this));this.C=this.D;break;case 129:b=S(this,this.I+T(this));this.C=this.D;break;case 130:b=S(this,this.M+T(this));this.C= +this.D;break;case 131:b=S(this,this.H+T(this));this.C=this.D;break;case 132:b=S(this,Cj.call(this,2)+T(this));this.C=this.D;break;case 133:b=Of(this,this.P+T(this));this.C=this.D;break;case 134:b=S(this,this.K+T(this));this.C=this.D;break;case 135:b=S(this,this.J+T(this));this.C=this.D;break;case 192:b=this.G;break;case 193:b=this.I;break;case 194:b=this.M;break;case 195:b=this.H;break;case 196:b=I(this);break;case 197:b=this.P;break;case 198:b=this.K;break;case 199:b=this.J;break;default:b=0}switch(this.L>> +3&7){case 0:c=this.G;break;case 1:c=this.I;break;case 2:c=this.M;break;case 3:c=this.H;break;case 4:c=I(this);break;case 5:c=this.P;break;case 6:c=this.K;break;case 7:c=this.J;break;default:c=0}a=a.call(this,b,c);switch(d){case 192:this.G=a;break;case 193:this.I=a;break;case 194:this.M=a;break;case 195:this.H=a;break;case 196:G(this,a);break;case 197:this.P=a;break;case 198:this.K=a;break;case 199:this.J=a;break;default:Rf(this,a)}} +function af(a,b){var c,d=(this.L=this.xa())&199;switch(d){case 0:c=S(this,this.G);this.C=this.D;break;case 1:c=S(this,this.I);this.C=this.D;break;case 2:c=S(this,this.M);this.C=this.D;break;case 3:c=S(this,this.H);this.C=this.D;break;case 4:c=S(this,Cj.call(this,0));this.C=this.D;break;case 5:c=S(this,T(this));this.C=this.D;break;case 6:c=S(this,this.K);this.C=this.D;break;case 7:c=S(this,this.J);this.C=this.D;break;case 64:c=S(this,this.G+this.T());this.C=this.D;break;case 65:c=S(this,this.I+this.T()); +this.C=this.D;break;case 66:c=S(this,this.M+this.T());this.C=this.D;break;case 67:c=S(this,this.H+this.T());this.C=this.D;break;case 68:c=S(this,Cj.call(this,1)+this.T());this.C=this.D;break;case 69:c=Of(this,this.P+this.T());this.C=this.D;break;case 70:c=S(this,this.K+this.T());this.C=this.D;break;case 71:c=S(this,this.J+this.T());this.C=this.D;break;case 128:c=S(this,this.G+T(this));this.C=this.D;break;case 129:c=S(this,this.I+T(this));this.C=this.D;break;case 130:c=S(this,this.M+T(this));this.C= +this.D;break;case 131:c=S(this,this.H+T(this));this.C=this.D;break;case 132:c=S(this,Cj.call(this,2)+T(this));this.C=this.D;break;case 133:c=Of(this,this.P+T(this));this.C=this.D;break;case 134:c=S(this,this.K+T(this));this.C=this.D;break;case 135:c=S(this,this.J+T(this));this.C=this.D;break;case 192:c=this.G;break;case 193:c=this.I;break;case 194:c=this.M;break;case 195:c=this.H;break;case 196:c=I(this);break;case 197:c=this.P;break;case 198:c=this.K;break;case 199:c=this.J;break;default:c=0}c=a[this.L>> +3&7].call(this,c,b.call(this));switch(d){case 192:this.G=c;break;case 193:this.I=c;break;case 194:this.M=c;break;case 195:this.H=c;break;case 196:G(this,c);break;case 197:this.P=c;break;case 198:this.K=c;break;case 199:this.J=c;break;default:Rf(this,c)}} +function Cj(a){var b=this.xa(),c=b>>6,d,e;switch(b>>3&7){case 0:d=this.G;break;case 1:d=this.I;break;case 2:d=this.M;break;case 3:d=this.H;break;case 4:d=0;break;case 5:d=this.P;break;case 6:d=this.K;break;case 7:d=this.J}switch(b&7){case 0:e=this.G;break;case 1:e=this.I;break;case 2:e=this.M;break;case 3:e=this.H;break;case 4:e=I(this);this.ka=this.Ka;break;case 5:a?(e=this.P,this.ka=this.Ka):e=T(this);break;case 6:e=this.K;break;case 7:e=this.J}return(d<>8&255;9<(c&15)||sf(this)?(c+=6,80286<=this.ja&&255>8&255;9<(c&15)||sf(this)?(c=c-6&15,d=d-1&255,a=b=1):a=b=0;this.G=this.G&-65536|d<<8|c;a?xf(this):yf(this);b?Ff(this):Df(this);this.A-=this.B.Fe},function(){this.G=pj.call(this,this.G)},function(){this.I=pj.call(this,this.I)},function(){this.M=pj.call(this,this.M)},function(){this.H=pj.call(this,this.H)},function(){G(this,pj.call(this,I(this)))},function(){this.P= +pj.call(this,this.P)},function(){this.K=pj.call(this,this.K)},function(){this.J=pj.call(this,this.J)},function(){this.G=nj.call(this,this.G)},function(){this.I=nj.call(this,this.I)},function(){this.M=nj.call(this,this.M)},function(){this.H=nj.call(this,this.H)},function(){G(this,nj.call(this,I(this)))},function(){this.P=nj.call(this,this.P)},function(){this.K=nj.call(this,this.K)},function(){this.J=nj.call(this,this.J)},function(){J(this,this.G&this.R);this.A-=this.B.Rc},function(){J(this,this.I& +this.R);this.A-=this.B.Rc},function(){J(this,this.M&this.R);this.A-=this.B.Rc},function(){J(this,this.H&this.R);this.A-=this.B.Rc},function(){J(this,I(this)-2&65535);this.A-=this.B.Rc},function(){J(this,this.P&this.R);this.A-=this.B.Rc},function(){J(this,this.K&this.R);this.A-=this.B.Rc},function(){J(this,this.J&this.R);this.A-=this.B.Rc},function(){this.G=this.G&~this.R|D(this);this.A-=this.B.Ac},function(){this.I=this.I&~this.R|D(this);this.A-=this.B.Ac},function(){this.M=this.M&~this.R|D(this); +this.A-=this.B.Ac},function(){this.H=this.H&~this.R|D(this);this.A-=this.B.Ac},function(){G(this,I(this)&~this.R|D(this));this.A-=this.B.Ac},function(){this.P=this.P&~this.R|D(this);this.A-=this.B.Ac},function(){this.K=this.K&~this.R|D(this);this.A-=this.B.Ac},function(){this.J=this.J&~this.R|D(this);this.A-=this.B.Ac},Dj,Ej,Fj,Gj,Hj,Ij,Jj,Kj,Lj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Dj,Ej,Fj,Gj,Hj,Ij,Jj,Kj,Lj,Mj,Nj,Oj,Pj,Qj,Rj,Sj,Tj,function(){this.za.call(this,ik,this.Ma);this.A-=-1===this.C?1:this.B.Cg},Tj,function(){this.za.call(this, +ik,this.T);this.A-=-1===this.C?1:this.B.Cg},function(){this.Za.call(this,ej)},function(){this.fa.call(this,fj)},function(){this.Na.call(this,ij)},function(){this.V.call(this,jj)},Vj,Wj,Xj,Yj,function(){this.S|=1;this.fa.call(this,ei)},function(){this.S|=1;this.ka=this.Ka=this.of;this.V.call(this,Vh)},function(){var a;this.V.call(this,di);switch(this.L>>3&7){case 0:a=this.G;this.G=this.Y;xd(this,a);break;case 1:a=this.I;this.I=this.Y;lf(this,a);break;case 2:a=this.M;this.M=this.Y;ld(this,a);break; +case 3:a=this.H;this.H=this.Y;wd(this,a);break;case 4:a=I(this);G(this,this.Y);80386<=this.ja?this.Pb.load(a):xd(this,a);break;case 5:a=this.P;this.P=this.Y;80386<=this.ja?this.Qb.load(a):lf(this,a);break;case 6:a=this.K;this.K=this.Y;ld(this,a);break;case 7:a=this.J,this.J=this.Y,wd(this,a)}},function(){this.S|=1;this.U=this.ga;this.Y=D(this);this.za.call(this,jk,wj);this.U=-1},function(){this.A-=3},function(){var a=this.G;this.G=this.G&~this.R|this.I&this.R;this.I=this.I&~this.R|a&this.R;this.A-= +3},function(){var a=this.G;this.G=this.G&~this.R|this.M&this.R;this.M=this.M&~this.R|a&this.R;this.A-=3},function(){var a=this.G;this.G=this.G&~this.R|this.H&this.R;this.H=this.H&~this.R|a&this.R;this.A-=3},function(){var a=this.G,b=I(this);this.G=this.G&~this.R|b&this.R;G(this,b&~this.R|a&this.R);this.A-=3},function(){var a=this.G;this.G=this.G&~this.R|this.P&this.R;this.P=this.P&~this.R|a&this.R;this.A-=3},function(){var a=this.G;this.G=this.G&~this.R|this.K&this.R;this.K=this.K&~this.R|a&this.R; +this.A-=3},function(){var a=this.G;this.G=this.G&~this.R|this.J&this.R;this.J=this.J&~this.R|a&this.R;this.A-=3},function(){this.G=2==this.aa?this.G&-65536|this.G<<24>>24&65535:this.G<<16>>16;this.A-=2},function(){this.M=2==this.aa?this.M&-65536|(this.G&32768?65535:0):this.G&-2147483648?-1:0;this.A-=this.B.ej},function(){xj.call(this,this.Ma(),Sf(this));this.A-=this.B.hj},function(){this.A-=3},function(){var a=yd(this);a&131072&&3>this.Pa?C.call(this,13,0):(J(this,a&-196609),this.A-=this.B.Rc)},function(){if(this.ba& +131072&&3>this.Pa)C.call(this,13,0);else{var a=D(this),a=a&65535|this.ba&-65536;zd(this,a);this.A-=this.B.Ac}},function(){var a=this.G>>8&255;a&1?xf(this):yf(this);a&4?(this.resultType&=-3,this.ba|=4):(this.resultType&=-3,this.ba&=-5);a&16?Ff(this):Df(this);a&64?Gf(this):Ef(this);a&128?(this.resultType&=-17,this.ba|=128):(this.resultType&=-17,this.ba&=-129);this.A-=this.B.ic},function(){this.G=this.G&-65281|(yd(this)&213)<<8;this.A-=this.B.ic},function(){var a=this.G&-256,b;b=T(this);b=this.Qa(this.ka.qc(b, +1));this.G=a|b;this.A-=this.B.Jh},function(){this.G=this.G&~this.R|ud(this,this.ka,T(this));this.A-=this.B.Jh},function(){var a=T(this),b=this.G;this.tc(this.ka.rc(a,1),b);this.A-=this.B.Kh},function(){var a=T(this),b=this.G;this.uc(this.ka.rc(a,this.aa),b);this.A-=this.B.Kh},function(){var a=1,b=0,c=this.Ca,d=this.B.Lh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Nh,this.Ha&256||(this.A-=this.B.Mh));if(a--){var e=this.Qa(this.ka.qc(this.K&c,1));this.tc(this.Wa.rc(this.J&c,1),e);e=this.ba&1024?-1:1;this.K= +this.K&~c|this.K+e&c;this.J=this.J&~c|this.J+e&c;this.A-=d;this.I=this.I&~c|this.I-b&c;a&&(of(this),this.S|=256)}},function(){var a=1,b=0,c=this.Ca,d=this.B.Lh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Nh,this.Ha&256||(this.A-=this.B.Mh));if(a--){var e=ud(this,this.ka,this.K&c);this.uc(this.Wa.rc(this.J&c,this.aa),e);e=this.ba&1024?-this.aa:this.aa;this.K=this.K&~c|this.K+e&c;this.J=this.J&~c|this.J+e&c;this.A-=d;this.I=this.I&~c|this.I-b&c;a&&(of(this),this.S|=256)}},function(){var a=1,b=0,c=this.Ca, +d=this.B.wh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.yh,this.Ha&256||(this.A-=this.B.xh));if(a--){var e=Kf(this,this.ka,this.K),f=Kf(this,this.Wa,this.J);this.C=this.D;Ih.call(this,e,f);e=this.ba&1024?-1:1;this.K=this.K&~c|this.K+e&c;this.J=this.J&~c|this.J+e&c;this.I=this.I&~c|this.I-b&c;this.A-=d-this.B.Wb;a&&tf(this)==(this.Ha&64)&&(of(this),this.S|=256)}},function(){var a=1,b=0,c=this.Ca,d=this.B.wh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.yh,this.Ha&256||(this.A-=this.B.xh));if(a--){var e=Mf(this, +this.ka,this.K&c),f=Mf(this,this.Wa,this.J&c);this.C=this.D;Jh.call(this,e,f);e=this.ba&1024?-this.aa:this.aa;this.K=this.K&~c|this.K+e&c;this.J=this.J&~c|this.J+e&c;this.I=this.I&~c|this.I-b&c;this.A-=d-this.B.Wb;a&&tf(this)==(this.Ha&64)&&(of(this),this.S|=256)}},function(){wf(this,this.G&this.xa(),128);this.A-=this.B.Fe},function(){wf(this,this.G&this.Ma(),this.Ia);this.A-=this.B.Fe},function(){var a=1,b=0,c=this.Ca,d=this.B.Wh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Yh,this.Ha&256||(this.A-=this.B.Xh)); +if(a--){var e=this.G;this.tc(this.Wa.rc(this.J&c,1),e);this.I=this.I&~c|this.I-b&c;80546<=this.Uc&&80564>=this.Uc&&!(this.Ha&2048)!=(103!=this.Qa(this.Ga))&&(c^=-65536);this.J=this.J&~c|this.J+(this.ba&1024?-1:1)&c;this.A-=d;a&&(of(this),this.S|=256)}},function(){var a=1,b=0,c=this.Ca,d=this.B.Wh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Yh,this.Ha&256||(this.A-=this.B.Xh));if(a--){var e=this.G;this.uc(this.Wa.rc(this.J&c,this.aa),e);this.J=this.J&~c|this.J+(this.ba&1024?-this.aa:this.aa)&c;this.I=this.I& +~c|this.I-b&c;this.A-=d;a&&(of(this),this.S|=256)}},function(){var a=1,b=0,c=this.Ca,d=this.B.Dh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Fh,this.Ha&256||(this.A-=this.B.Eh));if(a--){var e=this.Qa(this.ka.qc(this.K&c,1));this.G=this.G&-256|e;this.K=this.K&~c|this.K+(this.ba&1024?-1:1)&c;this.I=this.I&~c|this.I-b&c;this.A-=d;a&&(of(this),this.S|=256)}},function(){var a=1,b=0,c=this.Ca,d=this.B.Dh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Fh,this.Ha&256||(this.A-=this.B.Eh));if(a--){var e=ud(this,this.ka, +this.K&c);this.G=this.G&~this.R|e;this.K=this.K&~c|this.K+(this.ba&1024?-this.aa:this.aa)&c;this.I=this.I&~c|this.I-b&c;this.A-=d;a&&(of(this),this.S|=256)}},function(){var a=1,b=0,c=this.Ca,d=this.B.Qh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Sh,this.Ha&256||(this.A-=this.B.Rh));if(a--){var e=this.G&255,f=Kf(this,this.Wa,this.J);this.C=this.D;Ih.call(this,e,f);this.J=this.J&~c|this.J+(this.ba&1024?-1:1)&c;this.I=this.I&~c|this.I-b&c;this.A-=d-this.B.Wb;a&&tf(this)==(this.Ha&64)&&(of(this),this.S|=256)}}, +function(){var a=1,b=0,c=this.Ca,d=this.B.Qh;this.Ha&192&&(a=this.I&c,b=1,d=this.B.Sh,this.Ha&256||(this.A-=this.B.Rh));if(a--){var e=this.G&this.R,f=Mf(this,this.Wa,this.J&c);this.C=this.D;Jh.call(this,e,f);this.J=this.J&~c|this.J+(this.ba&1024?-this.aa:this.aa)&c;this.I=this.I&~c|this.I-b&c;this.A-=d-this.B.Wb;a&&tf(this)==(this.Ha&64)&&(of(this),this.S|=256)}},function(){this.G=this.G&-256|this.xa();this.A-=this.B.ic},function(){this.I=this.I&-256|this.xa();this.A-=this.B.ic},function(){this.M= +this.M&-256|this.xa();this.A-=this.B.ic},function(){this.H=this.H&-256|this.xa();this.A-=this.B.ic},function(){this.G=this.G&-65281|this.xa()<<8;this.A-=this.B.ic},function(){this.I=this.I&-65281|this.xa()<<8;this.A-=this.B.ic},function(){this.M=this.M&-65281|this.xa()<<8;this.A-=this.B.ic},function(){this.H=this.H&-65281|this.xa()<<8;this.A-=this.B.ic},function(){this.G=this.G&~this.R|this.Ma();this.A-=this.B.ic},function(){this.I=this.I&~this.R|this.Ma();this.A-=this.B.ic},function(){this.M=this.M& +~this.R|this.Ma();this.A-=this.B.ic},function(){this.H=this.H&~this.R|this.Ma();this.A-=this.B.ic},function(){G(this,I(this)&~this.R|this.Ma());this.A-=this.B.ic},function(){this.P=this.P&~this.R|this.Ma();this.A-=this.B.ic},function(){this.K=this.K&~this.R|this.Ma();this.A-=this.B.ic},function(){this.J=this.J&~this.R|this.Ma();this.A-=this.B.ic},ck,dk,ck,dk,function(){this.V.call(this,Wh)},function(){this.V.call(this,Uh)},function(){this.S|=1;this.Ib.call(this,kk,this.xa)},function(){this.S|=1;this.za.call(this, +kk,this.Ma)},ek,fk,ek,fk,function(){if(this.ba&131072&&3>this.Pa)C.call(this,13,0);else{var a=this.B.yj;this.pb=-1;yj.call(this,3,null,a)}},function(){var a=this.xa();if(this.ba&131072&&3>this.Pa)C.call(this,13,0);else{var b;a:{b=this.ie[a];if(void 0!==b)for(var c=0;cthis.Pa)C.call(this,13,0);else{var a=this.B.zj; +this.pb=-1;yj.call(this,4,null,a)}else this.A-=this.B.Aj},function(){if(this.ba&131072&&3>this.Pa)C.call(this,13,0);else{this.qb=this.ta.Z;this.U=this.ga;this.A-=this.B.wj;if(this.Ya&1&&this.ba&16384){var a=this.na(this.Sa.Aa+0);md(this.va,a,!1)}else{var a=this.pa,b=D(this),c=D(this),d=D(this);if(this.ba&131072)d=d&131071|this.ba&-131072;else if(d&131072){var e=D(this),f=D(this),g=D(this),h=D(this),k=D(this),l=D(this);nd(this,!0,!0);ld(this,f);G(this,e);xd(this,g);wd(this,h);this.Pb.load(k);this.Qb.load(l)}null!= +Ad(this,b,c,!1)&&(zd(this,d,a),this.le&&ff(this,this.Ga))}this.qb=this.U=-1}},function(){this.Ib.call(this,Zj,sj)},function(){this.za.call(this,2==this.aa?ak:bk,sj)},function(){this.Ib.call(this,Zj,tj)},function(){this.za.call(this,2==this.aa?ak:bk,tj)},function(){var a=this.xa();if(a){var b=this.G&255;this.G=this.G&-65536|b/a<<8|b%a;wf(this,this.G,128);this.A-=this.B.bj}else Bj.call(this)},function(){var a=this.G&255,b=(this.G>>8&255)*this.xa()|0,c=a+b|0;this.G=this.G&-65536|c&255;pf(this,a,b,c, +191);this.A-=this.B.aj},function(){this.G=this.G&-256|(qf(this)?255:0);this.A-=2},function(){this.G=this.G&-256|Kf(this,this.ka,this.H+(this.G&255));this.A-=this.B.$j},function(){gk.call(this,216)},function(){gk.call(this,217)},function(){gk.call(this,218)},function(){gk.call(this,219)},function(){gk.call(this,220)},function(){gk.call(this,221)},function(){gk.call(this,222)},function(){gk.call(this,223)},function(){var a=this.T(),b=this.I-1&this.Ca;this.I=this.I&~this.Ca|b;b&&!tf(this)?(O(this,K(this)+ +a),this.A-=this.B.Hj):this.A-=this.B.Gh},function(){var a=this.T(),b=this.I-1&this.Ca;this.I=this.I&~this.Ca|b;b&&tf(this)?(O(this,K(this)+a),this.A-=this.B.Hh):this.A-=this.B.Ih},function(){var a=this.T(),b=this.I-1&this.Ca;this.I=this.I&~this.Ca|b;b?(O(this,K(this)+a),this.A-=this.B.Gj):this.A-=this.B.Gh},function(){var a=this.T();this.I&this.Ca?this.A-=this.B.Ih:(O(this,K(this)+a),this.A-=this.B.Hh)},function(){var a=this.xa();If(this,a,1,!0)&&(this.G=this.G&-256|ic(this.ea,a,1,this.Ga-2)&255, +this.A-=this.B.Bh)},function(){var a=this.xa();If(this,a,this.aa,!0)&&(this.G=this.G&~this.R|ic(this.ea,a,this.aa,this.Ga-2)&this.R,this.A-=this.B.Bh)},function(){var a=this.xa();If(this,a,1,!1)&&(mc(this.ea,a,1,this.G&255,this.Ga-2),this.A-=this.B.Ph)},function(){var a=this.xa();If(this,a,this.aa,!1)&&(mc(this.ea,a,this.aa,this.G&this.R,this.Ga-2),this.A-=this.B.Ph)},function(){var a=this.Ma(),b=K(this),a=b+a;J(this,b);O(this,a);this.A-=this.B.fj},function(){var a=this.Ma();O(this,K(this)+a);this.A-= +this.B.Ch},function(){Ad(this,this.Ma(),Sf(this));this.A-=this.B.Cj},function(){var a=this.T();O(this,K(this)+a);this.A-=this.B.Ch},function(){var a=this.M&65535;If(this,a,1,!0)&&(this.G=this.G&-256|ic(this.ea,a,1,this.Ga-1)&255,this.A-=this.B.Ah)},function(){var a=this.M&65535;If(this,a,this.aa,!0)&&(this.G=this.G&~this.R|ic(this.ea,a,this.aa,this.Ga-1)&this.R,this.A-=this.B.Ah)},function(){var a=this.M&65535;If(this,a,1,!1)&&(mc(this.ea,a,1,this.G&255,this.Ga-1),this.A-=this.B.Oh)},function(){var a= +this.M&65535;If(this,a,2,!1)&&(mc(this.ea,a,this.aa,this.G&this.R,this.Ga-1),this.A-=this.B.Oh)},hk,hk,function(){this.S|=132;this.A-=this.B.nd},function(){this.S|=68;this.A-=this.B.nd},function(){this.ba&131072?C.call(this,13,0):(this.ua|=4,this.A-=2,this.ha&&z(this,-2147483648)?(of(this),this.ha.Xb()):this.ba&512||(this.ha&&of(this),this.Xb()))},function(){qf(this)?yf(this):xf(this);this.A-=2},function(){this.bb=!1;this.Ib.call(this,mk,vj);this.bb&&(this.G=this.G&~this.R|this.ia&this.R)},function(){this.bb= +!1;this.za.call(this,nk,vj);this.bb&&(this.G=this.G&~this.R|this.ia&this.R,this.M=this.M&~this.R|this.wa&this.R)},function(){yf(this);this.A-=2},function(){xf(this);this.A-=2},function(){this.pa>this.Pa?C.call(this,13,0):(this.ba&=-513,this.A-=this.B.dj)},function(){this.pa>this.Pa?C.call(this,13,0):(this.ba|=512,this.S|=4,this.A-=2)},function(){this.ba&=-1025;this.A-=2},function(){this.ba|=1024;this.A-=2},function(){this.Ib.call(this,Ed,vj)},function(){this.za.call(this,Fd,vj)}],Uj=[sh,fi,qh,Ai, +uh,cj,kj,Ih],ik=[th,gi,rh,Bi,vh,dj,lj,Jh],jk=[function(a,b){this.A-=-1===this.C?this.B.Ac:this.B.Sj;return b},Lh,Lh,Lh,Lh,Lh,Lh,Lh],kk=[function(a,b){this.A-=-1===this.C?this.B.Kj:this.B.Ij;return b},Mh,Mh,Mh,Mh,Mh,Mh,Mh],Zj=[function(a,b){var c=a,d=b&this.ra;if(d){var e;(d&=7)?(e=a<>8-d)&255):e=a<<7;Bf(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.ra;if(d){var e;(d&=7)?(e=a<<8-d,c=(a>>>d|e)&255):e=a;Bf(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.ra;if(d){var e= +Cf(this);(d%=9)?(c=(a<>9-d)&255,e=a<>d|e<<8-d|a<<9-d)&255,e=a<<8-d):e<<=7;Bf(this,c,e,128)}return c},function(a,b){var c=a,d=b&this.ra;if(d){var e=0;8>>c-1,a=c>>>1&255,wf(this,a,128,c&1,a&128));return a},Mh,function(a,b){var c=b&this.ra;c&&(9>24>>c-1, +a=c>>1&255,wf(this,a,128,c&1));return a}],ak=[function(a,b){var c=a,d=b&this.ra;if(d){var e;(d&=15)?(e=a<>16-d)&65535):e=a<<15;Bf(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.ra;if(d){var e;(d&=15)?(e=a<<16-d,c=(a>>>d|e)&65535):e=a;Bf(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.ra;if(d){var e=Cf(this);(d%=17)?(c=(a<>17-d)&65535,e=a<>d|e<< +16-d|a<<17-d)&65535,e=a<<16-d):e<<=15;Bf(this,c,e,32768)}return c},function(a,b){var c=a,d=b&this.ra;if(d){var e=0;16>>c-1,a=c>>>1&65535,wf(this,a,32768,c&1,a&32768));return a},Mh,function(a,b){var c=b&this.ra;c&&(17>16>>c-1,a=c>>1&65535,wf(this,a,32768,c&1));return a}],bk=[function(a,b){var c=a,d=b&this.ra;d&&(c=a<>>32-d,Bf(this,c,a<>>d|e;Bf(this,c,e,-2147483648)}return c},function(a,b){var c=a,d=b&this.ra;d&&(c=Cf(this),c=a<>>32-d>>>1,Bf(this,c,a<>>d|c<<32-d|a<<32-d<<1,Bf(this,c,a<<32-d,-2147483648));return c},function(a,b){var c=a,d=b&this.ra;d&&(d=a<>> +c-1,a=c>>>1,wf(this,a,-2147483648,c&1,a&-2147483648));return a},Mh,function(a,b){var c=b&this.ra;c&&(c=a>>c-1,a=c>>1,wf(this,a,-2147483648,c&1));return a}],mk=[function(a,b){b=this.xa();wf(this,a&b,128);this.A-=-1===this.D?this.B.$h:this.B.Zh;this.S|=2;return a},Mh,function(a){this.A-=-1===this.D?this.B.Sf:this.B.Rf;return a^255},function(a){var b=-a|0;pf(this,0,a,b,191,!0);this.A-=-1===this.D?this.B.Sf:this.B.Rf;return b&255},function(a){this.ia=(this.G&255)*a&65535;this.ia&65280?(xf(this),zf(this)): +(yf(this),Af(this));this.bb=!0;this.A-=-1===this.D?this.B.Oj:this.B.Nj;this.S|=2;return a},function(a){var b=(this.G<<24>>24)*(a<<24>>24)|0;this.ia=b&65535;127b?(xf(this),zf(this)):(yf(this),Af(this));this.bb=!0;this.A-=-1===this.D?this.B.tj:this.B.sj;this.S|=2;return a},function(a,b){if(!a)return Bj.call(this),a;var c=(b=this.G&65535)/a;if(255>24,d=(b=this.G<<16>>16)/c|0;if(d!=d<<24>>24||8086==this.ja&&-128==d)return Bj.call(this),a;this.ia=d&255|(b%c&255)<<8;this.bb=!0;this.A-=-1===this.D?this.B.pj:this.B.oj;this.S|=2;return a}],nk=[function(a,b){b=this.Ma();wf(this,a&b,this.Ia);this.A-=-1===this.D?this.B.$h:this.B.Zh;this.S|=2;return a},Mh,function(a){this.A-=-1===this.D?this.B.Sf:this.B.Rf;return a^this.R},function(a){var b=-a|0;pf(this,0,a,b,this.Ia|63,!0);this.A-=-1===this.D?this.B.Sf:this.B.Rf;return b&this.R},function(a, +b){if(2==this.aa){b=this.G&65535;var c=b*a|0;this.ia=c&65535;this.wa=c>>16&65535}else Sh.call(this,a,this.G),80563==this.Uc&&68657152==this.G&&129==a&&(this.wa=0);this.wa?(xf(this),zf(this)):(yf(this),Af(this));this.bb=!0;this.A-=-1===this.D?this.B.Qj:this.B.Pj;this.S|=2;return a},function(a,b){var c;2==this.aa?(b=this.G&65535,c=(b<<16>>16)*(a<<16>>16)|0,this.ia=c&65535,this.wa=c>>16&65535,c=32767c):(Rh.call(this,a,this.G),c=this.wa!=this.ia>>31);c?(xf(this),zf(this)):(yf(this),Af(this)); +this.bb=!0;this.A-=-1===this.D?this.B.vj:this.B.uj;this.S|=2;return a},function(a,b){if(2==this.aa){if(!a)return Bj.call(this),a;b=65536*(this.M&65535)+(this.G&65535);var c=b/a;if(65536<=c)return Bj.call(this),a;this.ia=c&65535;this.wa=b%a&65535}else{if(!oj.call(this,this.G,this.M,a))return Bj.call(this),a;this.ia|=0;this.wa|=0}this.bb=!0;this.A-=-1===this.D?this.B.nj:this.B.mj;this.S|=2;return a},function(a,b){if(2==this.aa){if(!a)return Bj.call(this),a;var c=a<<16>>16,d=(b=this.M<<16|this.G&65535)/ +c|0;if(d!=d<<16>>16||8086==this.ja&&-32768==d)return Bj.call(this),a;this.ia=d&65535;this.wa=b%c&65535}else{var c=this.G,d=this.M,e=a,f=0,g=0;0>e&&(e=-e|0,f=1-f);0>d&&(c=-c|0,d=~d+(c?0:1)|0,g=1,f=1-f);!oj.call(this,c,d,e)||this.ia>2147483647+f||this.wa>2147483647+g?c=!1:(f&&(this.ia=-this.ia),g&&(this.wa=-this.wa),c=!0);if(!c)return Bj.call(this),a;this.ia|=0;this.wa|=0}this.bb=!0;this.A-=-1===this.D?this.B.rj:this.B.qj;this.S|=2;return a}],Ed=[function(a){var b=a+1|0;pf(this,a,1,b,190);this.A-=-1=== +this.D?this.B.Qf:this.B.Pf;return b&255},function(a){var b=a-1|0;pf(this,a,1,b,190,!0);this.A-=-1===this.D?this.B.Qf:this.B.Pf;return b&255},Mh,Mh,Mh,Mh,Mh,Mh],Fd=[function(a){var b=a+1|0;pf(this,a,1,b,this.Ia|62);this.A-=-1===this.D?this.B.Qf:this.B.Pf;return b&this.R},function(a){var b=a-1|0;pf(this,a,1,b,this.Ia|62,!0);this.A-=-1===this.D?this.B.Qf:this.B.Pf;return b&this.R},function(a){J(this,K(this));O(this,a);this.A-=-1===this.D?this.B.jj:this.B.ij;this.S|=2;return a},function(a){if(-1===this.D)return Mh.call(this, +a);this.U=this.ga;xj.call(this,a,this.na(this.D+this.aa));this.A-=this.B.gj;this.S|=2;this.U=-1;return a},function(a){O(this,a);this.A-=-1===this.D?this.B.Ej:this.B.Dj;this.S|=2;return a},function(a){if(-1===this.D)return Mh.call(this,a);Ad(this,a,this.na(this.D+this.aa));this.A-=this.B.Bj;this.S|=2;return a},function(a){var b=a;this.S&512&&(a=a-2&65535,80286>this.ja&&(b=a));J(this,b);this.A-=-1===this.D?this.B.Rc:this.B.Uj;this.S|=2;return a},Mh]; +function pe(){this.V.call(this,hj);this.A-=-1===this.D?6:13}function qe(){this.fa.call(this,gj);this.A-=-1===this.D?12:19}var he=Array(256);he[0]=function(){16>(this.Qa(this.Ga)&56)&&(this.S|=1);this.za.call(this,this.Ng,vj)};he[1]=function(){this.Qa(this.Ga)&16||(this.S|=1);this.za.call(this,ok,vj)};he[2]=function(){!(this.Ya&1)||this.ba&131072?C.call(this,6):this.V.call(this,Th)};he[3]=function(){!(this.Ya&1)||this.ba&131072?C.call(this,6):this.V.call(this,Zh)}; +he[5]=function(){this.pa?C.call(this,13,0,0,!0):(Hf(this,this.na(2054)),this.J=this.na(2086),this.K=this.na(2088),this.P=this.na(2090),this.H=this.na(2094),this.M=this.na(2096),this.I=this.na(2098),this.G=this.na(2100),kd(this.Wa,2102,this.na(2084)),kd(this.va,2108,this.na(2082)),kd(this.ta,2114,this.na(2080)),kd(this.wb,2120,this.na(2078)),zd(this,this.na(2072)),O(this,this.na(2074)),G(this,this.na(2092)),this.Ec=this.na(2126)|this.Qa(2128)<<16,this.zd=this.Ec+this.na(2130),this.Lc=this.na(2138)| +this.Qa(2140)<<16,this.Pd=this.Lc+this.na(2142),kd(this.Cc,2132,this.na(2076)),kd(this.Sa,2144,this.na(2070)),this.A-=195)};he[6]=function(){this.pa?C.call(this,13,0):(this.Ya&=-9,this.A-=2)};he[11]=Hd;he[166]=Hd;he[255]=Hd;var M=[];M[5]=Hd; +M[7]=function(){if(this.pa)C.call(this,13,0,0,!0);else{var a=this.Wa.qc(this.J&this.Ca,204);if(-1!==a){qj.call(this,this.oa(a));var b=this.oa(a+168),c=(b&24576)>>13;zd(this,this.oa(a+4),c);this.Ec=this.oa(a+112);this.zd=this.Ec+this.oa(a+116);this.Lc=this.oa(a+100);this.Pd=this.Lc+this.oa(a+104);jd(this.Cc,this.oa(a+56),this.oa(a+120),this.oa(a+124),this.oa(a+128));jd(this.Sa,this.oa(a+52),this.oa(a+84),this.oa(a+88),this.oa(a+92));this.J=this.oa(a+12);this.K=this.oa(a+16);this.P=this.oa(a+20);this.H= +this.oa(a+28);this.M=this.oa(a+32);this.I=this.oa(a+36);this.G=this.oa(a+40);jd(this.Qb,this.oa(a+60),this.oa(a+132),this.oa(a+136),this.oa(a+140));jd(this.Pb,this.oa(a+64),this.oa(a+144),this.oa(a+148),this.oa(a+152));jd(this.wb,this.oa(a+68),this.oa(a+156),this.oa(a+160),this.oa(a+164));jd(this.ta,this.oa(a+72),b,this.oa(a+172),this.oa(a+176));jd(this.va,this.oa(a+76),this.oa(a+180),this.oa(a+184),this.oa(a+188));jd(this.Wa,this.oa(a+80),this.oa(a+192),this.oa(a+196),this.oa(a+200));O(this,this.oa(a+ +8));G(this,this.oa(a+24))}this.A-=122<<(a&3?1:0)}};M[16]=Vj;M[17]=Wj;M[18]=Xj;M[19]=Yj;M[32]=function(){if(this.pa)C.call(this,13,0);else{var a,b=this.xa();switch((b&56)>>3){case 0:a=this.Ya;break;case 2:a=this.qe;break;case 3:a=this.Md;break;default:ie.call(this);return}xe(this,b&7,a);this.A-=6}};M[33]=function(){if(this.pa)C.call(this,13,0);else{var a=this.xa(),b=(a&56)>>3;4==b||5==b?ie.call(this):(xe(this,a&7,this.Ja[b]),this.A-=22)}}; +M[34]=function(){if(this.pa)C.call(this,13,0);else{var a=this.xa(),b=we(this,a&7);switch((a&56)>>3){case 0:qj.call(this,b);this.A-=10;break;case 2:this.qe=b;this.A-=4;break;case 3:Bd.call(this,b);this.A-=5;break;default:ie.call(this)}}};M[35]=function(){if(this.pa)C.call(this,13,0);else{var a=this.xa(),b=(a&56)>>3;4==b||5==b?ie.call(this):(a=we(this,a&7),a!=this.Ja[b]&&(gf(this,!1),this.Ja[b]=a,gf(this,!0)),this.A-=4>b?22:14)}}; +M[36]=function(){if(this.pa)C.call(this,13,0);else{var a=this.xa(),b=(a&56)>>3;6>b?ie.call(this):(xe(this,a&7,this.Ce[b]),this.A-=12)}};M[38]=function(){if(this.pa)C.call(this,13,0);else{var a=this.xa(),b=(a&56)>>3;6>b?ie.call(this):(this.Ce[b]=we(this,a&7),this.A-=12)}};M[128]=function(){var a=this.Ma();vf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[129]=function(){var a=this.Ma();vf(this)?this.A-=this.B.ab:(O(this,K(this)+a),this.A-=this.B.$a)}; +M[130]=function(){var a=this.Ma();qf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[131]=function(){var a=this.Ma();qf(this)?this.A-=this.B.ab:(O(this,K(this)+a),this.A-=this.B.$a)};M[132]=function(){var a=this.Ma();tf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[133]=function(){var a=this.Ma();tf(this)?this.A-=this.B.ab:(O(this,K(this)+a),this.A-=this.B.$a)};M[134]=function(){var a=this.Ma();qf(this)||tf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab}; +M[135]=function(){var a=this.Ma();qf(this)||tf(this)?this.A-=this.B.ab:(O(this,K(this)+a),this.A-=this.B.$a)};M[136]=function(){var a=this.Ma();uf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[137]=function(){var a=this.Ma();uf(this)?this.A-=this.B.ab:(O(this,K(this)+a),this.A-=this.B.$a)};M[138]=function(){var a=this.Ma();rf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[139]=function(){var a=this.Ma();rf(this)?this.A-=this.B.ab:(O(this,K(this)+a),this.A-=this.B.$a)}; +M[140]=function(){var a=this.Ma();!uf(this)!=!vf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[141]=function(){var a=this.Ma();!uf(this)==!vf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[142]=function(){var a=this.Ma();tf(this)||!uf(this)!=!vf(this)?(O(this,K(this)+a),this.A-=this.B.$a):this.A-=this.B.ab};M[143]=function(){var a=this.Ma();tf(this)||!uf(this)!=!vf(this)?this.A-=this.B.ab:(O(this,K(this)+a),this.A-=this.B.$a)};M[144]=function(){rj.call(this,Ci)}; +M[145]=function(){rj.call(this,Ci)};M[146]=function(){rj.call(this,Di)};M[147]=function(){rj.call(this,Ei)};M[148]=function(){rj.call(this,Fi)};M[149]=function(){rj.call(this,Gi)};M[150]=function(){rj.call(this,Hi)};M[151]=function(){rj.call(this,Ii)};M[152]=function(){rj.call(this,Ji)};M[153]=function(){rj.call(this,Ki)};M[154]=function(){rj.call(this,Li)};M[155]=function(){rj.call(this,Mi)};M[156]=function(){rj.call(this,Ni)};M[157]=function(){rj.call(this,Oi)};M[158]=function(){rj.call(this,Pi)}; +M[159]=function(){rj.call(this,Qi)};M[160]=function(){vd(this,this.Pb.Z,this.aa,2);this.A-=this.B.Ge};M[161]=function(){this.U=this.ga;var a=D(this);this.Pb.load(a);this.A-=this.B.Ac;this.U=-1};M[163]=function(){this.fa.call(this,Eh);-1!==this.D&&(this.A-=6)};M[164]=function(){this.fa.call(this,2==this.aa?Ri:Ti);this.A-=-1===this.D?3:7};M[165]=function(){this.fa.call(this,2==this.aa?Vi:Wi);this.A-=-1===this.D?3:7};M[168]=function(){vd(this,this.Qb.Z,this.aa,2);this.A-=this.B.Ge}; +M[169]=function(){this.U=this.ga;var a=D(this);this.Qb.load(a);this.A-=this.B.Ac;this.U=-1};M[171]=function(){this.fa.call(this,Hh);-1!==this.D&&(this.A-=5)};M[172]=function(){this.fa.call(this,2==this.aa?Xi:Zi);this.A-=-1===this.D?3:7};M[173]=function(){this.fa.call(this,2==this.aa?aj:bj);this.A-=-1===this.D?3:7};M[175]=function(){this.V.call(this,2==this.aa?Oh:Qh)};M[178]=function(){this.V.call(this,$h)};M[179]=function(){this.fa.call(this,Gh);-1!==this.D&&(this.A-=5)}; +M[180]=function(){this.V.call(this,Xh)};M[181]=function(){this.V.call(this,Yh)}; +M[182]=function(){this.Na.call(this,bi);switch(this.L>>3&7){case 0:this.G=this.G&~this.R|this.G&255;break;case 1:this.I=this.I&~this.R|this.I&255;break;case 2:this.M=this.M&~this.R|this.M&255;break;case 3:this.H=this.H&~this.R|this.H&255;break;case 4:this.fb=this.fb&~this.R|this.G>>8&255;this.G=this.Y;break;case 5:this.P=this.P&~this.R|this.I>>8&255;this.I=this.Y;break;case 6:this.K=this.K&~this.R|this.M>>8&255;this.M=this.Y;break;case 7:this.J=this.J&~this.R|this.H>>8&255,this.H=this.Y}this.A-=-1=== +this.D?3:6};M[183]=function(){td(this,2);this.V.call(this,ci);switch(this.L>>3&7){case 0:this.G=this.G&65535;break;case 1:this.I=this.I&65535;break;case 2:this.M=this.M&65535;break;case 3:this.H=this.H&65535;break;case 4:this.fb=this.fb&65535;break;case 5:this.P=this.P&65535;break;case 6:this.K=this.K&65535;break;case 7:this.J=this.J&65535}this.A-=-1===this.D?3:6};M[186]=function(){this.za.call(this,pk,this.xa)};M[187]=function(){this.fa.call(this,Fh);-1!==this.D&&(this.A-=5)}; +M[188]=function(){this.V.call(this,yh)};M[189]=function(){this.V.call(this,zh)}; +M[190]=function(){this.Na.call(this,bi);switch(this.L>>3&7){case 0:this.G=this.G&~this.R|(this.G&255)<<24>>24&this.R;break;case 1:this.I=this.I&~this.R|(this.I&255)<<24>>24&this.R;break;case 2:this.M=this.M&~this.R|(this.M&255)<<24>>24&this.R;break;case 3:this.H=this.H&~this.R|(this.H&255)<<24>>24&this.R;break;case 4:this.fb=this.fb&~this.R|this.G<<16>>24&this.R;this.G=this.Y;break;case 5:this.P=this.P&~this.R|this.I<<16>>24&this.R;this.I=this.Y;break;case 6:this.K=this.K&~this.R|this.M<<16>>24&this.R; +this.M=this.Y;break;case 7:this.J=this.J&~this.R|this.H<<16>>24&this.R,this.H=this.Y}this.A-=-1===this.D?3:6};M[191]=function(){td(this,2);this.V.call(this,ci);switch(this.L>>3&7){case 0:this.G=this.G<<16>>16;break;case 1:this.I=this.I<<16>>16;break;case 2:this.M=this.M<<16>>16;break;case 3:this.H=this.H<<16>>16;break;case 4:this.fb=this.fb<<16>>16;break;case 5:this.P=this.P<<16>>16;break;case 6:this.K=this.K<<16>>16;break;case 7:this.J=this.J<<16>>16}this.A-=-1===this.D?3:6}; +var hf=[function(){this.A-=2+(-1===this.D?0:1);return this.Cc.Z},function(){this.A-=2+(-1===this.D?0:1);return this.Sa.Z},function(a){this.S|=2;this.Cc.load(a);this.A-=17+(-1===this.D?0:2);return a},function(a){this.S|=2;-1!==this.Sa.load(a)&&(this.ib(this.Sa.Zb+4,this.Sa.xb|=512),this.Sa.type|=512);this.A-=17+(-1===this.D?0:2);return a},function(a){this.S|=2;this.A-=14+(-1===this.D?0:2);if(-1!==this.Ea.load(a)&&2048!=(this.Ea.xb&2560)&&(this.Ea.Gc>=this.pa&&this.Ea.Gc>=(a&3)||7168==(this.Ea.xb&7168)))return Gf(this), +a;Ef(this);return a},function(a){this.S|=2;this.A-=14+(-1===this.D?0:2);if(-1!==this.Ea.load(a)&&512==(this.Ea.xb&2560)&&this.Ea.Gc>=this.pa&&this.Ea.Gc>=(a&3))return Gf(this),a;Ef(this);return a},Mh,Mh],Gd=[fe,fe,fe,fe,fe,fe,Mh,Mh],ok=[function(a){if(-1===this.D)C.call(this,6);else{a=this.zd-this.Ec;var b=this.Ec;80286==this.ja?b|=-16777216:80386<=this.ja&&2!=this.aa&&(a|=b<<16);this.mb(this.D+2,b);this.A-=11}return a},function(a){if(-1===this.D)C.call(this,6);else{a=this.Pd-this.Lc;var b=this.Lc; +80286==this.ja?b|=-16777216:80386<=this.ja&&2!=this.aa&&(a|=b<<16);this.mb(this.D+2,b);this.A-=12}return a},function(a){-1===this.D||this.ba&131072?C.call(this,6):(this.Ec=this.oa(this.D+2)&(this.R|this.R<<8),a&=65535,this.zd=this.Ec+a,this.S|=2,this.A-=11);return a},function(a){-1===this.D||this.ba&131072?C.call(this,6):(this.Lc=this.oa(this.D+2)&(this.R|this.R<<8),a&=65535,this.Pd=this.Lc+a,this.S|=2,this.A-=12);return a},function(){this.A-=2+(-1===this.D?0:1);return this.Ya},Mh,function(a){this.ba& +131072?C.call(this,6):(Hf(this,a),this.A-=-1===this.D?3:6,this.S|=2);return a},Mh],pk=[Mh,Mh,Mh,Mh,Ah,Dh,Ch,Bh]; +function qk(a){Ua.call(this,"ChipSet",a,qk,32768);var b=a.model;b&&!rk[b]&&w("Unrecognized ChipSet model: "+b);this.ja=b&&rk[b]||sk;this.V=0;if(b=a[tk])this.V=uk(b,vk|wk.Ck);else{this.pa=[360,360];(b=a.floppies)&&b.length&&(this.pa=b);if(b=this.pa.length)this.V|=xk.Qg,b--,this.V|=(b&3)<=dg&&(this.pb=this.Ja=2);this.ra=a.scaleTimers|| +!1;this.oc=a.rtcDate;this.Sb=!1;a.sound&&(this.Kb=this.Ka=null,window&&(this.Kb=window.AudioContext||window.webkitAudioContext),this.Kb&&(this.Ka=new this.Kb));this.reset(!0);sb(this)}db(qk);var Ak=5150,sk=5150.9,dg=5170,rk={5150:Ak,5160:5160,5170:dg,att6300:5160.101,mpc1600:5150.101,z150:5160.15,compaq:5150.102,other:sk,deskpro386:5180},tk="sw1",zk="sw2",Bk={};Bk[Ak]={0:"Bootable Floppy Drive",1:"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"};Bk[5160]={}; +Bk[5160][0]="Loop on Post";Bk[5160][1]=Bk[Ak][1];Bk[5160][2]=Bk[Ak][2];Bk[5160][4]=Bk[Ak][4];Bk[5160][6]=Bk[Ak][6];Bk[5160.101]={0:"Total RAM",4:"Coprocessor",5:"Serial Interface"};var Ck={};Ck[Ak]={0:"Expansion Memory Size",4:"Reserved"};Ck[5160.101]={0:"Floppy Type",1:"Fast Startup",2:"HDU",4:"Monitor Type",6:"Number of Floppy Drives"};var yk={none:0,tv:1,color:2,mono:3,ega:0,vga:0},xk={Qg:1,ONE:0,ao:64,Zn:128,En:192,xf:192,yf:6},vk=12,wk={$n:16,xn:32,Ck:48,xf:48,yf:4};m=qk.prototype; +m.Rb=function(a,b,c){switch(b){case tk:return this.qa[b]=c,Dk(this,b,this.V,Bk[this.ja]),!0;case zk:if((this.ja|0)==Ak||5160.101==this.ja)return this.qa[b]=c,Dk(this,b,this.ua,Ck[this.ja]),!0;break;case "swdesc":return this.qa[b]=c,!0}return!1}; +m.Ic=function(a,b,c,d){this.ea=b;this.F=c;this.ha=d;this.da=a;if(this.Vb=Eb(a,"FPU"))this.V|=2;this.B=Eb(a,"Keyboard");this.tb=c.X.Hd/1193181;hc(b,this,Ek);lc(b,this,Fk);this.jab;b++){var c=13>=b?Qk(e,b):e.A[b];a&&(a+="\n");a+="CMOS["+t(b)+"]: "+t(c)}e.ha.O(a)})}df(c,26,this.am.bind(this))}; +m.kc=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};m.jc=function(a){return a?this.save():!0}; +m.reset=function(a){var b;this.Y=this.V;this.ka=this.ua;Rk(this,tk,this.Y);Rk(this,zk,this.ka);Sk(this);this.N=Array(this.pb);for(b=0;b=dg){this.C=16;this.ga=0;this.fa=16;this.Pa=0;this.ia=160;512<=Wk(this)&&(this.ia|=16);3==Xk(this)&& +(this.ia|=64);5180==(this.ja|0)&&(this.ia|=12);this.Za=3;this.za=Array(8);this.wa=0;a&&(this.A=Array(64));Yk(this,this.oc);for(a=21;24>=a;a++)this.A[a]=0;for(a=14;46>a;a++)void 0===this.A[a]&&(this.A[a]=0);this.A[20]=this.Y&(wk.xf|2|xk.Qg|xk.xf);this.A[16]=Zk(this,0)<<4|Zk(this,1);$k(this)}}; +function Yk(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.O("CMOS date invalid ("+b+"), using "+c)):b&&a.O("CMOS date: "+c);a.A[0]=c.getSeconds();a.A[1]=0;a.A[2]=c.getMinutes();a.A[3]=0;a.A[4]=c.getHours();a.A[5]=0;a.A[6]=c.getDay()+1;a.A[7]=c.getDate();a.A[8]=c.getMonth()+1;c=c.getFullYear();a.A[9]=c%100;c/=100;a.A[50]=c%10|c/10<<4;a.A[10]=38;a.A[11]=2;a.A[12]=0;a.A[13]=128;a.Na=a.Ba=0;a.Yb=a.qb=null} +function Qk(a,b){var c=a.A[b];if(10>b){var d=!1;4!=b&&5!=b||a.A[11]&2||(12>c?c=c?c:12:c=(c-=12)?c+128:140,d=!0);a.A[11]&4||(d&&128c;c++)b+=a.A[c];a.A[47]=b&255;a.A[46]=b>>8} +m.save=function(){var a=new jf(this);N(a,0,[this.V,this.ua,this.Y,this.ka]);for(var b=[],c=0;c=dg&&(N(a,5,[this.C,this.ga,this.fa,this.Pa,this.ia,this.Za]),N(a,6,[this.za[7],this.za,this.wa,this.A,this.Na,this.Ba]));return a.data()}; +m.restore=function(a){var b,c;b=a[0];this.V=b[0];this.ua=b[1];this.Y=b[2];this.ka=b[3];b=a[1];for(c=0;c>2)+1)*a.dc+32*((b?a.ua:a.ka)&15)} +function hl(a,b){var c=b?a.V:a.Y;return(a.ja|0)!=Ak||c&xk.Qg?((c&xk.xf)>>xk.yf)+1:0}function Zk(a,b){if(b>wk.yf} +function Dk(a,b,c,d){for(var e="",f=a.qa[b],g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");e+='
    '+g+"
    \n"}f.innerHTML=e;Rk(a,b,c,d)} +function Rk(a,b,c,d){if(b=a.qa[b]){b=nb(b,"pcjs-bitCell");for(var e=0;eg.Bb[0]&&(g.Bb[0]=255,g.Bb[1]--,0>g.Bb[1]&&(g.Bb[1]=255)));return h}function ml(a,b,c,d,e,f){var g=a.N[b];z(a,768)&&x(a,d,e,f,"DMA"+b+".CHANNEL"+c+".COUNT["+g.Lb+"]",null,!0);a=g.Dc[c];a.Bb[g.Lb]=a.Fc[g.Lb]=e;g.Lb^=1}function nl(a,b,c,d){var e=a.N[b],f=e.$b|1;e.$b&=-16;z(a,768)&&x(a,c,null,d,"DMA"+b+".STATUS",f,!0);return f} +function ol(a,b,c,d,e){var f=a.N[b];z(a,768)&&x(a,c,d,e,"DMA"+b+".REQ",null,!0);a=d&3;f.$b=f.$b&~(16<>2].Dc[b&3],c,d,e)}function ql(a,b,c){b=a.N[b>>2].Dc[b&3];b.pg&&b.fh&&b.Eg?(c&&(b.done=c),b.Be||zl(a,b,!0)):c&&c(!0)} +function zl(a,b,c){c&&(b.count=b.Bb[1]<<8|b.Bb[0],b.type=b.mode&12,b.Qi=b.ud=!1);for(var d=!1;0<=b.count&&(c=b.kg<<16|b.Eb[1]<<8|b.Eb[0],4==b.type?(d=!0,function(c){b.fh.call(b.pg,b.Eg,-1,function(f,g){0>f&&(b.Qi||(b.Qi=!0),f=255);b.Be||a.ea.tc(c,f);(d=g)&&setTimeout(function(){Al(b)||zl(a,b)},0)})}(c)):8==b.type?(c=a.ea.Qa(c),0>b.fh.call(b.pg,b.Eg,c)&&(b.ud=!0)):0!=b.type&&(b.ud=!0)),!d&&!Al(b););} +function Al(a){if(!a.ud&&0<=--a.count&&(a.mode&32?(a.Eb[0]--,0>a.Eb[0]&&(a.Eb[0]=255,a.Eb[1]--,0>a.Eb[1]&&(a.Eb[1]=255))):(a.Eb[0]++,255>3];b=1<<(b&7);d.pc&b||(d.pc|=b,d.kf=c||0,Dl(a))}function eg(a,b){var c=a.wc[b>>3],d=1<<(b&7);c.pc&d&&(c.pc&=~d,Dl(a))}function Dl(a,b){var c,d=-1;1>=1),$c(a.F,e))),0==b&&2==c&&cd(a))}function Kl(a,b,c,d){x(a,c,null,d,"PIT"+b+".CTRL",null,2048);return b?a.eb:a.bb} +function Ll(a,b,c,d,e){x(a,c,d,e,"PIT"+b+".CTRL",null,2048);e=0;c=d&192;b?(e=3,a.eb=d):a.bb=d;if(192==c){if(!(d&16))for(c=0;2>=c;c++)if(d&2<=c;c++)d&2<>=6;var f=d&1,g=d&14;d&=48;if(0==d)Ml(a,e+c);else{e=e+c;var h=a.L[e];h.eg=d;h.mode=g;h.Zg=f;h.Fc=[0,0];h.Bb=[0,0];h.we=[0,0];h.vd=!1;h.Xe=!1;h.ye=!1;h.bf=!1;Hl(a,e);0==b&&0==c&&eg(a,0);0==b&&2==c&&255==a.wc[0].Ad&& +77==a.W&&(b=a.L[0],b.$c[0]=b.Fc[0],b.$c[1]=b.Fc[1],b.xd=Wc(a.F,a.ra))}}}function Jl(a,b){var c=a.L[b],d=c.Fc[1]<<8|c.Fc[0];d||(d=1==c.md?256:65536);return d}function ed(a,b){var c=a.L[b],d=c.$c[1]<<8|c.$c[0];d||(d=1==c.md?256:65536);return d}function Ml(a,b){Pk(a,b);var c=a.L[b];c.we[0]=c.Bb[0];c.we[1]=c.Bb[1];c.Xe=!0;Hl(a,b)}function Hl(a,b){var c=a.L[b];c.Dd=32==c.eg?1:0;c.md=48==c.eg?2:1} +function Pk(a,b,c){var d=a.L[b];if(d.ye&&(2!=b||a.W&1)){var e=Wc(a.F,a.ra),f=(e-d.xd)/a.tb|0;0>f&&(d.xd=e,f=0);var g=Jl(a,b),h=ed(a,b)-f;0==d.mode?(0>=h&&(h=0),h||(d.vd=!0,d.ye=!1,b||fg(a,0))):4==d.mode?(d.vd=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.$c[0]=h&255,d.$c[1]=h>>8&255,d.xd=e,!b&&d.vd&&fg(a,0))):6==d.mode&&(h-=f,0>=h&&(d.vd=!d.vd,h=g+h,0>=h&&(h=g),d.$c[0]=h&255,d.$c[1]=h>>8&255,d.xd=e,!b&&d.vd&&fg(a,0)));d.Bb[0]=h&255;d.Bb[1]=h>>8&255;c&&(a.xd=0)}return d} +function dd(a,b){for(var c=0;c=dg){var c=a.F.X.Hd,d=Wc(a.F,a.ra);null==a.qb&&(a.Na=Wc(a.F,a.ra),a.Yb=1024,a.qb=Math.floor(a.F.X.Hd/a.Yb),al(a));d>=a.Ba&&(a.A[12]|=64,a.A[11]&64&&(a.A[12]|=128,fg(a,8)),a.Ba=d+a.qb);a.A[0]==a.A[1]&&a.A[2]==a.A[3]&&a.A[4]==a.A[5]&&(a.A[12]|=32,a.A[11]&32&&(a.A[12]|=128,fg(a,8)));var e=d-a.Na,f=Math.floor(e/c);if(f&&!(a.A[11]&128)){for(;f--;)if(60<=++a.A[0]&&(a.A[0]=0,60<=++a.A[2]&&(a.A[2]=0,24<=++a.A[4]))){a.A[4]=0;a.A[6]=a.A[6]%7+1; +var g;g=a.A[9];var h=ra[a.A[8]-1];28==h&&0===g%4&&(g%100||0===g%400)&&h++;g=h;++a.A[7]>g&&(a.A[7]=1,12<++a.A[8]&&(a.A[8]=1,a.A[9]=(a.A[9]+1)%100))}a.A[12]|=16;a.A[11]&16&&(a.A[12]|=128,fg(a,8))}a.Na=d-e%c}}m=qk.prototype;m.Kl=function(a,b){var c=this.fb;this.Ia&16&&(this.W&128?c=this.Y:this.B&&(c=Nl(this.B)));x(this,a,null,b,"PPI_A",c);return c};m.dn=function(a,b,c){x(this,a,b,c,"PPI_A");this.fb=b};m.Ll=function(a,b){var c=this.W;x(this,a,null,b,"PPI_B",c);return c}; +m.en=function(a,b,c){x(this,a,b,c,"PPI_B");Ol(this,b)};function Ol(a,b){var c=!!(b&2),d=!!(a.W&2);a.W=b;a.B&&Pl(a.B,!(b&128),!!(b&64));c!=d&&cd(a,c)}m.Ml=function(a,b){var c=0,c=(this.ja|0)==Ak?this.W&4?c|this.ka&15:c|this.ka>>4&1:this.W&8?c|this.Y>>4:c|this.Y&15;this.W&1&&Pk(this,2).vd&&(c=this.W&2?c|32:c|16);x(this,a,null,b,"PPI_C",c,32896);return c};m.fn=function(a,b,c){x(this,a,b,c,"PPI_C");this.Ib=b};m.Nl=function(a,b){var c=this.Ia;x(this,a,null,b,"PPI_CTRL",c);return c}; +m.gn=function(a,b,c){x(this,a,b,c,"PPI_CTRL");this.Ia=b};m.Xk=function(a,b){var c=this.B?Nl(this.B):0;x(this,a,null,b,"8041_KBD",c);this.Ea&=-2;return c};m.pm=function(a,b,c){x(this,a,b,c,"8041_KBD")};m.Wk=function(a,b){var c=this.W;x(this,a,null,b,"8041_CTRL",c);return c};m.om=function(a,b,c){x(this,a,b,c,"8041_CTRL");Ol(this,b)};m.Yk=function(a,b){var c=this.Ea;x(this,a,null,b,"8041_STATUS",c);return c}; +m.Zk=function(a,b){var c=this.Pa;x(this,a,null,b,"8042_OUTBUFF",c,16384);this.C&=-258;this.B&&Ql(this.B);return c}; +m.rm=function(a,b,c){x(this,a,b,c,"8042_INBUF.DATA",null,16384);if(this.C&8)switch(this.ga){case 96:Rl(this,b);break;case 209:Sl(this,b);break;default:if(Rl(this,this.fa&-17),this.B){a=this.B;c=b;var d=-1;z(a)&&y(a,"sendCmd("+t(c)+")");switch(a.da||c){case 255:d=250;Tl(a);break;case 243:a.da&&(c=0);Ul(a,250);a.da=c;break;case 237:a.da&&(c=0);Ul(a,250);a.da=c;break;default:y(a,"sendCmd(): unrecognized command")}Vl(this,d)}}this.ga=b;this.C&=-9}; +m.$k=function(a,b){var c=this.W&-209|(Wc(this.F)&64?16:0);x(this,a,null,b,"8042_RWREG",c,16384);return c};m.sm=function(a,b,c){x(this,a,b,c,"8042_RWREG",null,16384);Ol(this,b)};m.al=function(a,b){x(this,a,null,b,"8042_STATUS",this.C,16384);var c=this.C&255;this.C&256&&(this.C|=1,this.C&=-257);return c}; +m.qm=function(a,b,c){x(this,a,b,c,"8042_INBUFF.CMD",null,16384);this.ga=b;this.C|=8;a=0;240<=this.ga&&(a=this.ga^15,this.ga=240);switch(this.ga){case 32:Vl(this,this.fa);break;case 173:Rl(this,this.fa|16);break;case 174:Rl(this,this.fa&-17);this.B&&Ql(this.B);break;case 170:this.B&&(a=this.B,a.A=[],z(a)&&y(a,"scan codes flushed"));Rl(this,this.fa|16);Vl(this,85);Sl(this,3);break;case 171:Vl(this,0);break;case 192:Vl(this,this.ia);break;case 208:Vl(this,this.Za);break;case 224:Vl(this,this.fa&16?0: +1);break;case 240:a&1&&re(this.F)}};function Rl(a,b){a.fa=b;a.C=a.C&-5|b&4;a.B&&Pl(a.B,!!(b&8),!(b&16))}function Vl(a,b,c){0<=b&&(a.Pa=b,c?a.C|=1:(a.C&=-2,a.C|=256))}function Sl(a,b){a.Za=b;Rb(a.ea,!!(b&2));b&1||re(a.F)}function Wl(a,b){a.ja=c?Qk(this,c):this.A[c];z(this,4352)&&x(this,a,null,b,"CMOS.DATA["+t(c)+"]",d,!0);null!=b&&12==c&&(this.A[c]&=15,d&128&&eg(this,8),d&64&&this.A[11]&64&&al(this));return d}; +m.Hm=function(a,b,c){var d=this.wa&63;z(this,4352)&&x(this,a,b,c,"CMOS.DATA["+t(d)+"]",null,!0);a=b^this.A[d];if(13>=d){if(c=b,10>d){var e=!1;this.A[11]&4||(c=10*(c>>4)+(c&15),e=!0);if(4==d||5==d)e&&23=c?c=12==c?0:c:(c-=116,c=24==c?12:c))}}else c=b;this.A[d]=c;11==d&&a&64&&b&64&&al(this)};m.gk=function(a,b,c){x(this,a,b,c,"NMI");this.Fa=b};m.Rm=function(a,b,c){x(this,a,b,c,"FPU.CLEAR")};m.Sm=function(a,b,c){x(this,a,b,c,"FPU.RESET");this.Vb&&Zf(this.Vb)}; +m.am=function(a){if(z(this,16)&&lk(this.ha,26,a)){var b=this.F.G>>8;ef(this.F,a,function(a,d){return function(e){d=Wc(a.F)-d;var f,g=a.F.M&255,h=a.F.M>>8,k=a.F.M&255,l=a.F.M>>8;if(2==b||3==b)f=" CH(hour)="+u(h)+" CL(min)="+t(g)+" DH(sec)="+t(l);else if(4==b||5==b)f=" CX(year)="+u(a.F.I)+" DH(month)="+t(l)+" DL(day)="+t(k);g=a.ha;h=d;g.message("INT "+t(26)+": C="+(qf(g.F)?1:0)+(f||"")+" (cycles="+h+(e?",level="+(e+1):"")+")")}}(this,Wc(this.F)))}return!0}; +function uk(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;ec||2E4>>4,0,this.da,this.C,this.Nd),delete this.Nd);return!0};Zl.prototype.jc=function(){return!0}; +function $l(a,b,c,d){if(d)a.Oa("Unable to load system ROM (error "+d+": "+b+")");else{fb(a.se,b,c);if("["==c.charAt(0)||"{"==c.charAt(0))try{var e=eval("("+c+")"),f=e.bytes,g=e.data;if(f)a.A=f;else if(g)for(a.A=Array(4*g.length),d=c=0;c>8&255,a.A[d++]=g[c]>>16&255,a.A[d++]=g[c]>>24&255;else a.A=e;a.Nd=e.symbols;if(!a.A.length){w("Empty ROM: "+b);return}if(1==a.A.length){w(a.A[0]);return}}catch(h){a.Oa("ROM data error: "+h.message);return}else for(b=c.replace(/\n/gm, +" ").replace(/ +$/,"").split(" "),a.A=Array(b.length),e=0;e>>d.La].uf(e&d.A,a.A[c]&255,e)}b=!0}else b=!1;if(b){b=[];"number"==typeof a.N?b.push(a.N):null!=a.N&&a.N.length&&(b=a.N);for(c=0;cthis.B?21:23,c=a.A[b]|a.A[b+1]<<8,c=c+(this.A>>10);a.A[b]=c&255;a.A[b+ +1]=c>>8;$k(a)}}else w("No RAM allocated")};m.save=function(){var a=new jf(this);this.controller&&N(a,0,this.controller.save());return a.data()};m.restore=function(a){return this.controller?this.controller.restore(a[0]):!0};function fm(a){this.N=a;this.C=hm;this.ha=im;this.B=jm;this.A=null}var gm=-2134900736,hm=65535,im=2575,jm=2,km=[null,0],lm=[function(a){return this.controller.Qa(a)},null,null,function(a,b){this.controller.tc(a,b)},null,null];m=fm.prototype;m.save=function(){return[this.C,this.B]}; +m.restore=function(a){this.tc(0,a[0]&255);this.tc(2,a[1]&255);return!0};m.Qa=function(a){var b=255;2>a?b=a&1?this.ha>>8:this.ha&255:4>a&&(b=a&1?this.B>>8:this.B&255);return b};m.tc=function(a,b){if(a)2==a&&(this.B=this.B&-256|b);else if(b!=(this.C&255)){var c=this.N.ea;if(b&1)this.A&&(Wb(c,917504,131072,this.A),this.A=null);else{this.A||(this.A=Xb(c,917504,131072));var d=Xb(c,16646144,131072);Wb(c,917504,131072,d,b&2?1:$b)}this.C=this.C&-256|b}};m.Si=function(){return km};m.gh=function(){return lm}; +Qa(function(){for(var a=nb(document,"pcjs","ram"),b=0;b":62,"?":63,"@":64,un:65,vn:66,wn:67,Bn:68,E:69,Cn:70,Fn:71,Gn:72,Hn:73,In:74,Jn:75,Kn:76,Ln:77,Mn:78,Nn:79,On:80,Q:81,Pn:82,Tn:83,Yn:84,bo:85,co:86,eo:87,ho:88,io:89,jo:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,ko:97,lo:98,no:99,d:100,e:101,oo:102,po:103,qo:104, +ro:105,so:106,k:107,to:108,uo:109,n:110,wo:111,p:112,q:113,r:114,xo:115,t:116,zo:117,Ao:118,Bo:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},pm={};pm[186]=X[";"];pm[187]=X["="];pm[188]=X[","];pm[189]=X["-"];pm[190]=X["."];pm[191]=X["/"];pm[192]=X["`"];pm[219]=X["["];pm[220]=X["\\"];pm[221]=X["]"];pm[222]=X["'"];pm[173]=X["-"];var qm={};qm[X["1"]]=X["!"];qm[X["2"]]=X["@"];qm[X["3"]]=X["#"];qm[X["4"]]=X.$;qm[X["5"]]=X["%"];qm[X["6"]]=X["^"];qm[X["7"]]=X["&"];qm[X["8"]]=X["*"];qm[X["9"]]=X["("]; +qm[X["0"]]=X[")"];qm[186]=X[":"];qm[187]=X["+"];qm[188]=X["<"];qm[189]=X._;qm[190]=X[">"];qm[191]=X["?"];qm[192]=X["~"];qm[219]=X["{"];qm[220]=X["|"];qm[221]=X["}"];qm[222]=X['"'];qm[173]=X._;qm[61]=X["+"];qm[59]=X[":"]; +var rm={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},sm={TAB:1009,ESC:1027,F1:1112,F2:1113,F3:1114,F4:1115,F5:1116,F6:1117,F7:1118,F8:1119,F9:1120,F10:1121,LEFT:1037,UP:1038,RIGHT:1039,DOWN:1040,SYSREQ:4027,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046,CTRL_ALT_INS:4045,CTRL_ALT_ENTER:4013},tm={esc:1027,1:X["1"],2:X["2"],3:X["3"],4:X["4"],5:X["5"],6:X["6"],7:X["7"],8:X["8"],9:X["9"],0:X["0"],"-":X["-"],"=":X["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89, +u:85,i:73,o:79,p:80,"[":X["["],"]":X["]"],enter:13,ctrl:1017,a:65,s:83,d:68,f:70,g:71,h:72,j:74,k:75,l:76,";":X[";"],quote:X["'"],"`":X["`"],shift:1016,"\\":X["\\"],z:90,x:88,c:67,v:86,b:66,n:78,m:77,",":X[","],".":X["."],"/":X["/"],"right-shift":3016,prtsc:1044,alt:1018,space:1032,"caps-lock":1020,f1:1112,f2:1113,f3:1114,f4:1115,f5:1116,f6:1117,f7:1118,f8:1119,f9:1120,f10:1121,"num-lock":1144,"scroll-lock":1145,"num-home":1036,"num-up":1038,"num-pgup":1033,"num-sub":1109,"num-left":1037,"num-center":1101, +"num-right":1039,"num-add":1107,"num-end":1035,"num-down":1040,"num-pgdn":1034,"num-ins":1045,"num-del":1046,sysreq:84},um={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},Y={1027:1};Y[X["1"]]=2;Y[X["!"]]=10754;Y[X["2"]]=3;Y[X["@"]]=10755;Y[X["3"]]=4;Y[X["#"]]=10756;Y[X["4"]]=5;Y[X.$]=10757;Y[X["5"]]=6;Y[X["%"]]=10758;Y[X["6"]]=7;Y[X["^"]]=10759;Y[X["7"]]=8;Y[X["&"]]=10760;Y[X["8"]]=9;Y[X["*"]]=10761;Y[X["9"]]=10;Y[X["("]]=10762;Y[X["0"]]=11;Y[X[")"]]=10763;Y[X["-"]]=12;Y[X._]=10764; +Y[X["="]]=13;Y[X["+"]]=10765;Y[1008]=14;Y[1009]=15;Y[113]=16;Y[81]=10768;Y[119]=17;Y[87]=10769;Y[101]=18;Y[69]=10770;Y[114]=19;Y[82]=10771;Y[116]=20;Y[84]=10772;Y[121]=21;Y[89]=10773;Y[117]=22;Y[85]=10774;Y[105]=23;Y[73]=10775;Y[111]=24;Y[79]=10776;Y[112]=25;Y[80]=10777;Y[X["["]]=26;Y[X["{"]]=10778;Y[X["]"]]=27;Y[X["}"]]=10779;Y[13]=28;Y[1017]=29;Y[97]=30;Y[65]=10782;Y[115]=31;Y[83]=10783;Y[100]=32;Y[68]=10784;Y[102]=33;Y[70]=10785;Y[103]=34;Y[71]=10786;Y[104]=35;Y[72]=10787;Y[106]=36;Y[74]=10788; +Y[107]=37;Y[75]=10789;Y[108]=38;Y[76]=10790;Y[X[";"]]=39;Y[X[":"]]=10791;Y[X["'"]]=40;Y[X['"']]=10792;Y[X["`"]]=41;Y[X["~"]]=10793;Y[1016]=42;Y[X["\\"]]=43;Y[X["|"]]=10795;Y[122]=44;Y[90]=10796;Y[120]=45;Y[88]=10797;Y[99]=46;Y[67]=10798;Y[118]=47;Y[86]=10799;Y[98]=48;Y[66]=10800;Y[110]=49;Y[78]=10801;Y[109]=50;Y[77]=10802;Y[X[","]]=51;Y[X["<"]]=10803;Y[X["."]]=52;Y[X[">"]]=10804;Y[X["/"]]=53;Y[X["?"]]=10805;Y[3016]=54;Y[1044]=55;Y[1018]=56;Y[1032]=57;Y[1020]=58;Y[1112]=59;Y[1113]=60;Y[1114]=61; +Y[1115]=62;Y[1116]=63;Y[1117]=64;Y[1118]=65;Y[1119]=66;Y[1120]=67;Y[1121]=68;Y[1144]=69;Y[1145]=70;Y[1036]=71;Y[1038]=72;Y[1033]=73;Y[1109]=74;Y[1037]=75;Y[1101]=76;Y[1039]=77;Y[1107]=78;Y[1035]=79;Y[1040]=80;Y[1034]=81;Y[1045]=82;Y[1046]=83;Y[4027]=84;Y[1122]=87;Y[1123]=88;Y[1091]=91;Y[1093]=93;Y[1224]=91;Y[4003]=7470;Y[4008]=7494;Y[4046]=3677523;Y[4045]=3677522;Y[4013]=3677468;m=mm.prototype; +m.Rb=function(a,b,c,d){var e=this,f=a+"-"+b;if(void 0===this.qa[f])switch(b){case "kbd":return c.onkeydown=function(a){return vm(e,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;e.L="";var b=!Y[a]||!!(e.yc&128);b||wm(e,a,!0);return b},c.onkeyup=function(a){return vm(e,a,!1)},!0;case "caps-lock":return this.qa[f]=c,c.onclick=function(){e.F&&e.F.Tc();wm(e,1020,!0)},!0;case "num-lock":return this.qa[f]=c,c.onclick=function(){e.F&&e.F.Tc();wm(e,1144,!0)},!0;case "scroll-lock":return this.qa[f]= +c,c.onclick=function(){e.F&&e.F.Tc();wm(e,1145,!0)},!0;default:var g=b.toUpperCase().replace(/-/g,"_");if(void 0!==sm[g]&&"button"==a)return this.qa[f]=c,c.onclick=function(a,b,c){return function(){a.F&&a.F.Tc();xm(a,c,!0);wm(a,c,!0)}}(this,g,sm[g]),!0;if(void 0!==tm[b])return this.fa++,this.qa[f]=c,a=function(a,b,c){return function(){wm(a,c)}}(this,b,tm[b]),b=function(a,b,c){return function(){ym(a,c)}}(this,b,tm[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup= +c.onmouseout=b),!0;if(d)return this.qa[f]=c,c.onclick=function(){e.F&&e.F.Tc();d&&!e.L&&(e.L=d,zm(e,300))},!0}return!1};function Am(a,b,c){if(a.fa){for(var d in qm)if(b==qm[d]){b=+d;(d=pm[d])&&(b=d);break}for(var e in tm)if((d=tm[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=tm[e]==d),d){(a=a.qa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}}m.Ic=function(a,b,c,d){this.ea=b;this.F=c;this.ha=d;this.N=Eb(a,"ChipSet")}; +function nm(a,b){var c=0;a.ja=null;b&&(a.ja=b.toUpperCase(),c=om.indexOf(a.ja),0>c&&(c=0));b=om[c];a.pa=parseInt(b.substr(2),10)}function Tl(a){y(a,"keyboard reset",65792);a.A=[];Ul(a,170)}function Pl(a,b,c){a.W!==c&&(a.W=a.Y=c)&&(a.V=!0);a.U!==b&&(a.U=b)&&!a.Y&&Xl(a,!0);a.U&&a.Y&&(Tl(a),a.Y=!1)}function Ul(a,b){a.N&&(a.A.unshift(b),a.V=!0,Wl(a.N,b))}function Ql(a){var b=0;a.A.length&&a.V&&(b=a.A[0],a.N&&Wl(a.N,b));z(a)&&y(a,b?"scan code "+t(b)+" available":"no scan codes available")} +function Nl(a){var b=0;a.A.length&&(b=a.A[0]);z(a)&&y(a,"scan code "+t(b)+" delivered");return b}function Xl(a,b){0>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.C:a.yc)&b):d||b&255&&(b=255);if(c){a.C&=~b;d&&(a.C|=b);c=b;var f,g;for(g in um)d="led-"+g,e=um[g],c&&c!=e||!(f=a.qa[d])||(f.style.backgroundColor=a.C&e?"#00ff00":"#000000")}else a.yc&=~b,d&&(a.yc|=b);return!0}}return!1} +function wm(a,b,c){if(Y[b]&&a.F&&a.F.la.Jb){rm[b]&&a.B.length&&0e||(e==a.B.length&&(d={},d.Ke=b,d.yc=a.yc,Am(a,b,!0),e++),0b.Jd){if(!b.Ef){ym(a,b.Ke);return}b.Ef=!1;c=a.ra}else c=1==b.Jd++?500:100;b.rk=setTimeout(function(a){return function(){Cm(a,b)}}(a),c)}} +function Em(a,b,c){var d=b;if(65<=b&&90>=b)!(a.yc&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.yc&515)==c&&(d=b-32);else if(!!(a.yc&3)==c){if(a=qm[b])d=a}else if(a=pm[b])d=a;return d}m.Fg=function(a){a||(this.yc&=-256)}; +function vm(a,b,c){var d=!0,e=!1,f=!1,g=b.keyCode,h=Em(a,g,!0);a.bh&&h==X["`"]&&(g=h=27);if(Y[g+1E3])if(h+=1E3,2==b.location&&(h+=2E3),xm(a,h,!1,c)){if(20==g||144==g||145==g)a.ka||(c=e=!0);if(!(c||91!=g&&93!=g))for(var k=0;k=b||97<=b&&122>=b;e>>>=8;){var g=0,h=e&255;224==f||225==f?d.push(f|(c?0:128)):(42==h?a.C&3||a.C&512&&b||(g=h):29==h?a.C&12||(g=h):56==h?a.C&48||(g=h):d.push(f|(c?0:128)),g&&(c?d.unshift(g):d.push(g|128)))}for(c=0;ce.A.length?(z(e)&&y(e,"scan code "+t(f)+" buffered"),e.A.push(f),1== +e.A.length&&e.N&&Wl(e.N,f)):(20==e.A.length&&e.A.push(255),y(e,"scan code buffer overflow")));d=!0}return d}Qa(function(){for(var a=nb(document,"pcjs","keyboard"),b=0;bc.length)c=[!1,0,null,null,0,Array(5>b?Wm:Xm)];this.ha=a.ha;this.type=e[0];this.port=e[1];this.kb=b;this.nb=e[2];this.cc=e[3];this.Cd=d||e[4];65536<=this.Cd&&720896<=this.nb&&(this.cc=Math.min(this.Cd>>2,32768));this.Hc=c[0];this.gd=c[1];this.qf=c[2];this.ma=c[3];this.Bc=c[4]&255;this.Ig=c[4]>>8&255;this.sb=c[5];this.nh=Wm;this.jg=Ym;if(5<=b){this.nh=Xm;this.jg=Zm;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.nb,this.cc,this.Cd],Array(this.Cd>>2),-2147478512,0,-1,0,-1,0,-1,0,0,0,0,1,255,0,0,0,Array(256)]);this.Ve=b[0];this.Ld=b[1];this.Sc=b[2];this.Tg=$m;this.Lg=b[3];this.sf=b[4];this.dg=b[5];this.$d=b[6];this.He=b[7];this.Vg=an;this.hk=b[8];this.ik=b[9];this.Zd=b[10];this.Yd=b[11];this.Ug=bn;this.Fb=b[12];d=b[13];"number"==typeof d&&(d=[this.nb,this.cc,d]);this.nb=d[0];this.cc=d[1];d=this.Cd>>2;if((this.rd=b[14])&&this.rd.length>this.controller.di&255};dn[17408]=function(a){return(this.controller.Fb=this.ca[(a&-4)+this.C])>>((a&3)<<3)&255};dn[5120]=function(a){a+=this.C;var b=this.controller.Fb=this.ca[a&-2];return(a&1?b>>8:b)&255};dn[1280]=function(a){a+=this.C;a=this.controller.Fb=this.ca[a];for(var b=this.controller.ph,c=this.controller.oh&b,d=0,e=128;e;)(a&b)==c&&(d|=e),c>>>=1,b>>>=1,e>>=1;return d}; +dn[0]=function(a,b){var c=a+this.C,d;d=(b|b<<8|b<<16|b<<24)&this.controller.Wd|this.controller.ne;d=d&this.controller.Nb|this.controller.Fb&~this.controller.Nb;d=d&this.controller.rb|this.ca[c]&~this.controller.rb;this.ca[c]!=d&&(this.ca[c]=d,this.Va=!0)}; +dn[32]=function(a,b){var c=a+this.C;b=b>>this.controller.dd|b<<8-this.controller.dd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Wd|this.controller.ne;d=d&this.controller.Nb|this.controller.Fb&~this.controller.Nb;d=d&this.controller.rb|this.ca[c]&~this.controller.rb;this.ca[c]!=d&&(this.ca[c]=d,this.Va=!0)}; +dn[96]=function(a,b){var c=a+this.C;b=b>>this.controller.dd|b<<8-this.controller.dd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Wd|this.controller.ne;d&=this.controller.Fb;d=d&this.controller.Nb|this.controller.Fb&~this.controller.Nb;d=d&this.controller.rb|this.ca[c]&~this.controller.rb;this.ca[c]!=d&&(this.ca[c]=d,this.Va=!0)}; +dn[160]=function(a,b){var c=a+this.C;b=b>>this.controller.dd|b<<8-this.controller.dd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Wd|this.controller.ne;d|=this.controller.Fb;d=d&this.controller.Nb|this.controller.Fb&~this.controller.Nb;d=d&this.controller.rb|this.ca[c]&~this.controller.rb;this.ca[c]!=d&&(this.ca[c]=d,this.Va=!0)}; +dn[224]=function(a,b){var c=a+this.C;b=b>>this.controller.dd|b<<8-this.controller.dd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Wd|this.controller.ne;d^=this.controller.Fb;d=d&this.controller.Nb|this.controller.Fb&~this.controller.Nb;d=d&this.controller.rb|this.ca[c]&~this.controller.rb;this.ca[c]!=d&&(this.ca[c]=d,this.Va=!0)};dn[4]=function(a,b){var c=(a&-4)+this.C,d=(a&3)<<3,d=b<>this.controller.dd|b<<8-this.controller.dd&255;var d;d=(b|b<<8|b<<16|b<<24)&this.controller.Nb;d=this.controller.Uf&d|this.controller.Fb&~d;d=d&this.controller.rb|this.ca[c]&~this.controller.rb;this.ca[c]!=d&&(this.ca[c]=d,this.Va=!0)}; +function en(a){var b=[];if(void 0!==a.kb){b[0]=a.Hc;b[1]=a.gd;b[2]=a.qf;b[3]=a.ma;b[4]=a.Bc|a.Ig<<8;b[5]=a.sb;if(5<=a.kb){var c=[];c[0]=a.Ve;c[1]=a.Ld;c[2]=a.Sc;c[3]=a.Lg;c[4]=a.sf;c[5]=a.dg;c[6]=a.$d;c[7]=a.He;c[8]=a.hk;c[9]=a.ik;c[10]=a.Zd;c[11]=a.Yd;c[12]=a.Fb;c[13]=[a.nb,a.cc,a.Cd];var d;a:if(d=a.rd){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h>1;f[e++]=k;h=l}if(f.length>3;for(c=0;c=d&&(A=d,q=!0);break;case "p":0<= +d&&3>=d&&(F=d);break;case "w":d=b.nb&&(f-=b.nb);a="";for(c=0;cF?r(H):da(H>>(F<<3),8));q&&(f+=v-A);a&&(a+="\n");a+=E}a&&b.ha.O(a);b.B=f}else b.ha.O("no buffer")}else e.ha.O("BIOSMODE: "+t(e.Ia)),b=e.C,fn(b,"CRTC",b.Bc,b.sb,b.jg),5<=b.kb&&(fn(b," GRC",b.Zd,b.Yd,b.Ug),fn(b," SEQ",b.$d,b.He,b.Vg),fn(b," ATC",b.Ld,b.Sc,b.Tg),fn(b," ATCINDX", +b.Ld),b.ha.O(" ATCDATA: "+b.Ve),fn(b," FEAT",b.dg),fn(b," MISC",b.sf),fn(b," STATUS0",b.Lg)),fn(b," STATUS1",b.ma),1!=b.kb&&3!=b.kb||fn(b," MODEREG",b.gd),3==b.kb&&fn(b," COLOR",b.qf),5<=b.kb&&(b.ha.O(" LATCHES: 0x"+r(b.Fb)),b.ha.O(" ACCESS: "+u(b.vg)),b.ha.O("Use 'dump video [addr]' to dump video memory"));else e.ha.O("no active video card")})}if((this.B=Eb(a,"Keyboard"))&&this.pa){for(var f in this.qa)0c&&(a=Math.round(c/b*100)+"%")}this.nf?(this.pa.style.width=a,this.pa.style.width=a,this.pa.style.display="block",this.pa.style.margin="auto"):(this.ga.style.width=a,this.ga.style.height="auto");this.ga.style.backgroundColor="black";this.ga.Ue();a=!0}this.Tc()}return a}; +function Im(a,b){!b&&a.ga&&(a.nf?a.pa.style.width=a.pa.style.height="":a.ga.style.width=a.ga.style.height="");y(a,"notifyFullScreen("+b+")",!0);a.B&&(a.B.bh=b)}m.Ae=function(a){var b=!1;this.da&&(a?this.da.Ae&&(this.da.Ae(),this.V&&this.V.Vf(!0),b=!0):this.da.sk&&(this.da.sk(),this.V&&this.V.Vf(!1),b=!0),this.Tc());return b};m.Vf=function(a){this.V&&(this.V.Vf(a),this.B&&(this.B.bh=a));var b=this.qa.lockPointer;b&&(b.textContent=a?"Press Esc to Unlock Pointer":this.vk)}; +function pn(a,b){var c=a.da;c&&!a.je&&(c.addEventListener("touchstart",function(b){qn(a,b,!0)},!1),c.addEventListener("touchmove",function(b){qn(a,b)},!0),c.addEventListener("touchend",function(b){qn(a,b,!1)},!1),a.je=b,a.dc=a.oc=a.gg=-1,a.Gd=!1,a.Xc=null,a.Fd=!1,a.tn=function(){a.Fd=!0;a.V.ge(rn,!0)})}m.Fg=function(a){this.B&&this.B.Fg(a)}; +function qn(a,b,c){var d,e,f=0,g=0;e=a.pa;do isNaN(e.offsetLeft)||(f+=e.offsetLeft,g+=e.offsetTop);while(e=e.offsetParent);var h=a.ua/a.pa.offsetWidth,k=a.Ea/a.pa.offsetHeight;b.targetTouches&&b.targetTouches.length?(d=b.targetTouches[0].pageX,e=b.targetTouches[0].pageY):(d=b.pageX,e=b.pageY);d=(d-f)*h;e=(e-g)*k;if(1==a.je)d=d/(a.ua/3)|0,e=e/(a.Ea/3)|0,1!=e?e?wm(a.B,1040,!0):wm(a.B,1038,!0):1!=d&&(d?wm(a.B,1039,!0):wm(a.B,1037,!0));else if(a.V){g=a.Gd;f=b.timeStamp-a.gg;!0===c?(a.Gd=500f){a.V.ge(rn,!0);a.V.ge(rn,!1);return}}if(c||0>a.dc||0>a.oc)a.dc=d,a.oc=e;c=Math.round(d-a.dc);b=Math.round(e-a.oc);a.dc=d;a.oc=e;a.V.Hf(c,b,a.dc,a.oc)}}m.kc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};m.jc=function(a){return a?this.save():!0}; +m.reset=function(){var a=!0,b=0;this.N&&(b=Xk(this.N));this.ja||(this.kb=3==b?1:3);this.wa=3;switch(this.kb){case dm:b=7;break;case 5:var c=Lm[this.Vc];c&&(b=c[0]);b||(b=4);break;case 1:b=3;this.wa=7;break;default:b=2}this.za!==b&&(this.za=b,a=!0);this.C=null;this.ra=this.qd=new Um(this,1);this.Y=this.Wc=new Um(this,3);5>this.kb?this.A=new Um:(this.A=new Um(this,this.kb,null,this.Cd),sn(this));tn(this);this.Ia=null;this.bb=this.ka=-1;this.Pa=0;un(this,this.wa);if(this.C.nb&&a){a=this.C.nb+this.Kb; +for(b=this.C.nb;b>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8);fc(this.ea,b,c|d<<8)}Yc(this,!0)}};function sn(a){a.A.sf&1?(a.ra=a.qd,a.Y=a.A):(a.ra=a.A,a.Y=a.Wc)}m.save=function(){var a=new jf(this);N(a,0,en(this.qd));N(a,1,en(this.Wc));N(a,2,[this.za,this.wa,this.Ia]);N(a,3,en(this.A));return a.data()}; +m.restore=function(a){var b=a[2];this.za=b[0];this.wa=b[1];this.Ia=b[2];this.C=null;this.ra=this.qd=new Um(this,1,a[0]);this.Y=this.Wc=new Um(this,3,a[1]);this.A=new Um(this,this.kb,a[3],this.Cd);this.A.Hc&&sn(this);tn(this);if(!vn(this))return!1;wn(this);return!0}; +function Jm(a,b,c,d){if(d)a.Oa("Unable to load font ROM (error "+d+": "+b+")");else{fb(a.se,b,c);try{var e=eval("("+c+")"),f=e.bytes||e;if(!f.length){w("Empty font ROM: "+b);return}if(1==f.length){w(f[0]);return}if(8192==f.length)cm(a,f,[6144,0]);else if(2048==f.length)cm(a,f,[0]);else{a.Oa("Unrecognized font data length ("+f.length+")");return}}catch(g){a.Oa("Font ROM data error: "+g.message);return}(a.ia||a.ha)&&sb(a)}} +function xn(a,b){if(1==b)return a.Ba[0]=Om[0],a.Ba[1]=Om[7],a.Ba;if(2==b){var c=a.C.qf;if(a.C===a.A){var d=a.A.Sc[0],c=d&7;d&16&&(c|=8);18!=a.A.Sc[1]&&(c|=32)}a.Ba[0]=Om[c&15];c=c&32?Qm:Pm;for(d=0;df;f++)g=d[f]||0,h=g<<2&252,k=g>>4&252,g=g>>10&252,a.Ba[f]=[h,k,g,255];else{var l=d&&d[255];e=null!=c.Sc[15]?c.Sc:Rm;for(f=0;16>f;f++)g=e[f]&63,l?(g|= +(c.Sc[20]&12)<<4,c.Sc[16]&128&&(g&=-49,g|=(c.Sc[20]&3)<<4),g=d[g],h=g<<2&252,k=g>>4&252,g=g>>10&252):(h=(g&4?170:0)|(g&32?85:0),k=(g&2?170:0)|(g&16?85:0),g=(g&1?170:0)|(g&8?85:0)),a.Ba[f]=[h,k,g,255]}a.pb=!0}return a.Ba}function cm(a,b,c,d){a.Uc=b;a.Ib=c;a.Vb=d} +function tn(a,b){var c=!1;if(window&&a.Uc&&(!b||a.U)){var d=0,e=a.Vb?a.Vb:8,f=xn(a);null!=a.Ib[0]&&yn(a,3,a.Ib[0],d,e,8,a.Uc,f)&&(c=!0);d=a.Vb?0:2048;e=a.Vb?a.Vb:9;null!=a.Ib[1]&&(yn(a,1,a.Ib[1],d,e,14,a.Uc,Mm,Nm)&&(c=!0),a.Vb&&yn(a,a.kb,a.Ib[1],0,a.Vb,14,a.Uc,f)&&(c=!0))}return c}function yn(a,b,c,d,e,f,g,h,k){var l=!1;null!=c&&(zn(a,b,c,d,e,f,g,h,k)&&(l=!0),a.Pg&&zn(a,b<<1,c,d,e,f,g,h,k)&&(l=!0));return l} +function zn(a,b,c,d,e,f,g,h,k){var l=!1,n=b&1?0:1,q=a.Na[b],p=16>h.length?h.length:16;q||(q={Pc:e<W||!H?W:8,va=ia.createImageData(l.Pc,l.Qc),Ga=0;256>Ga;Ga++){for(Aa= +0;Aa=W-2,Pc=P[Aa>(8<=Wa&&192<=Ga&&223>=Ga?7:Wa)?A:ab;An(va,He,Vd,Ie);v&&An(va,He+1,Vd,Ie)}ia.putImageData(va,(Ga&15)*l.Pc,(Ga>>4)*l.Qc)}l.Me[F]="#"+r(A[0],2)+r(A[1],2)+r(A[2],2);l.ti[F]=A;l.Sg[F]=ha;l=!0}}a.Na[b]=q;return l}function Bn(a){0a.bb&&(a.bb=0):a.bb=-1} +function wn(a){if(a.U){for(var b=10;15>=b;b++)if(null==a.C.sb[b])return;var c=a.C.sb[10],b=c&31,d=a.C.sb[11]&31,e=a.C.sb[9]&31,f=!1;a.C===a.A&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)$n(a);else{c=a.C.sb[15]+((a.C.sb[14]&63)<<8);a.ka!=c&&($n(a),a.ka=c);d=d-b+1;if(a.hg!=b||a.ze!=d)a.hg=b,a.ze=d;a.Za=e+1;Bn(a)}}} +function $n(a){if(0<=a.ka){if(void 0!==a.fa){var b=a.fa[a.ka];if(b&131072){var b=b&-131073,c=a.ka%a.L,d=a.ka/a.L|0;a.U&&a.Na[a.U]&&(a.fb&&ao(a,c,d,b,a.fb),ao(a,c,d,b));a.fa[a.ka]=b}}a.ka=-1}} +function bo(a){var b,c=a.C;a.Ce=!1;var d=c.Yd[5];if(null!=d){b=1024;var e=0,f=c.Yd[3]&31;switch(d&3){case 0:if(f){e=32;switch(f&24){case 8:e=96;break;case 16:e=160;break;case 24:e=224}c.dd=f&7}break;case 1:e=1;break;case 2:switch(f&24){default:e=2;break;case 8:e=98;break;case 16:e=162;break;case 24:e=226}break;case 3:a.kb==dm&&(e=3,c.dd=f&7)}d&8&&(b=1280);c=c.He[4];null!=c&&(c&4||(b|=4096,e|=16),d&64&&(c&8&&(b|=16384,e|=4),a.Ce=!0));b|=e}return b} +function co(a,b){var c=a.C;return c&&null!=b&&b!=c.vg?(c.Mg(b),a.ea.Mg(c.nb,c.cc,c.gh(),!0),!0):!1} +function vn(a,b){var c,d=a.Ia,e=a.C;if(e)if(1==e.kb)d=7;else if(5<=e.kb){var d=null,f=e.Cd>>2,g=32768=e.sb[18]?19:20:21:k&128||350>g?d=f?13:14:480<=g&&(d=3==a.za?17:18):d=f?7-d:6:d-=f?2:0);c=bo(a)}}else e.gd&8&&(e.gd&2?(d=e.gd&16?6:5,e.gd&4||--d):(d=e.gd&1?3:1,e.gd&4&&--d));else a.Ia=null,null==d&&(d=a.wa);if(!un(a,d,b))return!1;co(a,c);return!0} +function un(a,b,c){if(null!=b&&(b!=a.Ia||c)){a.Ng=0;a.Ia=b;a.pb=!1;b=a.C||(7==b?a.ra:a.Y);if(b!=a.C||b.nb!=a.nb||b.cc!=a.cc){$n(a);if(a.nb){if(!Zb(a.ea,a.nb,a.cc))return!1;a.C&&(a.C.Hc=!1)}a.C=b;b.Hc=!0;a.nb=b.nb;a.cc=b.cc;if(!Tb(a.ea,b.nb,b.cc,3,b===a.A?b:null))return!1}a:{a.U=0;a.L=a.jd;a.W=a.ie;a.tb=a.L;a.hd=Gm[7][2];b=0;if(c=Gm[a.Ia])a.L=c[0],a.W=c[1],a.hd=c[2],b=c[3],a.U=c[4],4!=a.za&&7!=a.za||a.C!==a.A||3!=a.U||(7==a.A.sb[9]?a.W=43:a.U=a.kb);a.Yf=a.L*a.W|0;a.of=a.Yf/a.hd|0;a.Kb=a.of;a.sd=0; +void 0!==b&&(a.Kb=(a.Kb<<1)+b|0,a.sd=a.Kb+b>>1);if(a.Na.length){a.Ja=a.ua/a.L|0;a.Ka=a.Ea/a.W|0;if(a.U){b=a.Na[a.U];if(!b)break a;c=a.Na[a.U<<1];a.ri&&80==a.L?c&&a.Ja>=3*c.Pc>>2&&(a.U<<=1,b=c):(c&&a.Ja>=c.Pc&&(a.U<<=1,b=c),b&&(a.Ja=b.Pc,a.Ka=b.Qc));a.Sb=a.Yb=0;b&&(a.Sb=a.L*b.Pc,a.Yb=a.W*b.Qc)}else a.Ja=a.Ka=1,a.Sb=a.L,a.Yb=a.W;a.qb=a.ia.createImageData(a.Sb,a.Yb);a.eb=document.createElement("canvas");a.eb.width=a.Sb;a.eb.height=a.Yb;a.fb=a.eb.getContext("2d");a.ke=a.le=0;a.td=a.ua;a.Ed=a.Ea;b=a.ua- +a.L*a.Ja;c=a.Ea-a.W*a.Ka;0>1,a.td-=b);0>1,a.Ed-=c);if(b||c)a.ia.fillStyle=a.pa.style.backgroundColor,a.ia.fillRect(0,0,a.ua,a.Ea)}}eo(a,!0);Yc(a)}return!0}function An(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function fo(a){a.Pa=-1;a.Fa=!1;var b=a.of;if(void 0===a.fa||a.fa.length!=b)a.fa=Array(b)}function eo(a,b){b||(a.pb=!1);fo(a)} +function ao(a,b,c,d,e){var f=d&255,g=d>>8;d=g&15;var h=a.Na[a.U];h.zf&&(d=h.zf[d]);var k=g>>4&15;h.zf&&(k=h.zf[k]);e?(b*=h.Pc,c*=h.Qc,e.fillStyle=h.Me[k],e.fillRect(b,c,h.Pc,h.Qc)):(b=b*a.Ja+a.ke,c=c*a.Ka+a.le,a.ia.fillStyle=h.Me[k],a.ia.fillRect(b,c,a.Ja,a.Ka));g&256&&(k=(f&15)*h.Pc,f=(f>>4)*h.Qc,e?e.drawImage(h.Sg[d],k,f,h.Pc,h.Qc,b,c,h.Pc,h.Qc):a.ia.drawImage(h.Sg[d],k,f,h.Pc,h.Qc,b,c,a.Ja,a.Ka));g&512&&(f=a.hg,g=a.ze,e?(a.Za&&a.Za!==h.Qc&&(f=f*h.Qc/a.Za|0,g=g*h.Qc/a.Za|0),e.fillStyle=h.Me[d], +e.fillRect(b,c+f,h.Pc,g)):(a.Za&&a.Za!==a.Ka&&(f=f*a.Ka/a.Za|0,g=g*a.Ka/a.Za|0),a.ia.fillStyle=h.Me[d],a.ia.fillRect(b,c+f,a.Ja,g)))} +function Yc(a,b){if(a.la.ec){var c=!1,d=a.C;d&&(d!==a.A?d.gd&8&&(c=!0):d.Ld&32&&(c=!0));if(c||b){if(b)fo(a);else if(void 0===a.fa)return;var e=!1;!(b||++a.Ng&15)&&0<=a.bb&&(a.bb++,e=!0);var f=0,g=a.Yf,h=a.nb,c=h,k=c+a.cc;19<=a.Ia&&(h=c=655360,k=c+65536);if(go(a,d)&8||d.mf&&d.mf=a.Ia&&(l<<=1));c+l>k&&(l=k-c,0> +l&&(l=0));k=c+l;if(d=!b&&a.Fa){for(var d=a.ea,n=!0,q=c>>>d.La;0a.ka)return;f=a.ka;g=f+1}}if(a.U){if(a.Na[a.U]){e=0;h=a.Pa=0;d=1048575;l=a.C.gd&32;5<=a.kb&&(l=a.C.Sc[16]&8);l&&(h=32768,d&=~h,a.bb&2||(d&=-65537));for(c+=f<<1;c>8|(p&255)<<8;var H=h,L=16;n>=d))>>(L-=d);An(a.qb,n++,q,l[P])}n>F&&(F=n);q=E&&(E=q+1)}k+=2;f++;if(n>=a.L){n=0;q+=2;if(q>a.W)break;q==a.W&&(q=1,k=c+a.sd)}}a.Fa=!0;Aa.L?a.tb-a.L-p>>3:0;c>=8;l>A&&(A=l);n=v&&(v=n+1)}c+=E;if(l>=a.L){l=0;if(++n>a.W)break;c+=H}}p||(a.Fa=!0);qa.L?a.tb-a.L-v>>3:0;cH&&(L=H)):(p<<=v,L-=v,a.Fa=!1):(a.Fa&&p===a.fa[f]?(d+=L,L=0):a.fa[f]=p,f++);if(L){dq&&(q=d);l=F&&(F=l+1)}if(d>=a.L){d=0;if(++l>a.W)break;c+=E}}v||(a.Fa=!0);nd&&(b.vh=d,d=-d|0);d%b.qh>b.jm&&(c|=1);d%b.th>b.lm&&(c|=9);b.ei=d/b.th|0;return c}m.Gl=function(a,b){return ho(this,this.ra,a,b)};m.an=function(a,b,c){var d=this.ra;d.Ig=d.Bc;d.Bc=b&31;x(this,a,b,c,"CRTC.INDX")};m.Fl=function(a,b){return io(this,this.ra,a,b)};m.$m=function(a,b,c){jo(this,this.ra,a,b,c)};m.Hl=function(a,b){return ko(this,this.ra,b)};m.bn=function(a,b,c){a=this.ra;x(this,a.port+4,b,c,"MODE");a.gd=b;vn(this,!1)}; +m.Il=function(a,b){return lo(this,this.ra,b)};m.fk=function(a,b,c){this.A.dg=this.A.dg&-4|b&3;x(this,a,b,c,"FEAT")};m.fl=function(a,b){var c=this.A.Ld;b&&!z(this)||x(this,960,null,b,"ATC.INDX",c);return c};m.Dk=function(a,b){var c=this.A.Sc[this.A.Ld&31];b&&!z(this)||x(this,960,null,b,"ATC."+this.A.Tg[this.A.Ld&31],c);return c}; +m.ek=function(a,b,c){var d=this.A,e=d.Ld&32;if(d.Ve){d.Ve=!1;var f=d.Ld&31;if(16<=f||!e)c&&!z(this)||x(this,a,b,c,"ATC."+d.Tg[f]),d.Sc[f]=b,eo(this,!1)}else d.Ld=b,x(this,a,b,c,"ATC.INDX"),d.Ve=!0,b&32&&!e&&tn(this,!0)&&Yc(this,!0),d.Xf=(d.sb[12]<<8)+d.sb[13]|0,d.mf=0};m.Sl=function(a,b){var c=0;if(5==this.kb)c=3-((this.A.sf&12)>>2),c=(this.Vc&1<>this.A.Kc&63;b&&!z(this)||x(this,969,null,b,"DAC.DATA["+t(this.A.od)+"]["+t(this.A.Kc)+"]",c);this.A.Kc+=6;12Missing <canvas> support. Please try a newer web browser.";break}e.setAttribute("class","pcjs-canvas");e.setAttribute("width",d.screenWidth);e.setAttribute("height",d.screenHeight);e.style.backgroundColor=d.screenColor;e.style.height="auto";0<=ya().indexOf("MSIE")&&(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.onresize());c.appendChild(e);var f=document.createElement("textarea");Ha("iOS")&&(f.setAttribute("autocapitalize","off"),f.setAttribute("autocorrect","off"));c.appendChild(f);var g=e.getContext("2d"),d=new Z(d,e,g,f,c);mb(d,c)}}); +function mo(a){this.V=a.adapter;switch(this.V){case 1:this.L=956;this.C=7;break;case 2:this.L=888;this.C=7;break;case 3:this.L=632;this.C=5;break;default:w("Unrecognized parallel adapter #"+this.V);return}this.A=this.B=null;Ua.call(this,"ParallelPort",a,mo,4194304);a=a.binding;"console"==a?this.B="":lb(this,a,no)}db(mo);var no="buffer";m=mo.prototype;m.Rb=function(a,b,c){switch(b){case no:return this.qa[b]=this.A=c,!0}return!1}; +m.Ic=function(a,b,c,d){this.ea=b;this.F=c;this.ha=d;this.N=Eb(a,"ChipSet");hc(b,this,oo,this.L);lc(b,this,po,this.L);sb(this)};m.kc=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};m.jc=function(a){return a?this.save():!0};m.reset=function(){qo(this)};m.save=function(){var a=new jf(this),b=0,c=[];c[b++]=this.da;c[b++]=this.$b;c[b]=this.Bf;N(a,0,c);return a.data()};m.restore=function(a){return qo(this,a[0])}; +function qo(a,b){var c=0;void 0===b&&(b=[0,0,0]);a.da=b[c++];a.$b=b[c++];a.Bf=b[c];return!0}m.ul=function(a,b){var c=this.da;x(this,a,null,b,"DATA",c);return c};m.Rl=function(a,b){var c=this.$b;x(this,a,null,b,"STAT",c);return c};m.ql=function(a,b){var c=this.Bf;x(this,a,null,b,"CTRL",c);return c}; +m.Nm=function(a,b,c){x(this,a,b,c,"DATA");this.da=b;this.$b|=64;if(this.A)8==b?this.A.value=this.A.value.slice(0,-1):(this.A.value+=String.fromCharCode(b),this.A.scrollTop=this.A.scrollHeight),a=!0;else if(null!=this.B){if(10==b||1024<=this.B.length)this.O(this.B),this.B="";10!=b&&(this.B+=String.fromCharCode(b));a=!0}else a=!1;a&&(this.$b&=-65);ro(this)};m.Im=function(a,b,c){x(this,a,b,c,"CTRL");this.Bf=b;ro(this)};function ro(a){a.N&&a.C&&(a.Bf&16&&!(a.$b&64)?fg(a.N,a.C):eg(a.N,a.C))} +var oo={0:mo.prototype.ul,1:mo.prototype.Rl,2:mo.prototype.ql},po={0:mo.prototype.Nm,2:mo.prototype.Im};Qa(function(){for(var a=nb(document,"pcjs","parallel"),b=0;b=b)a.preventDefault&&a.preventDefault(),64>8:this.ia;x(this,a,null,b,this.B&128?"DLM":"IER",c);return c};m.Bl=function(a,b){var c=this.da;x(this,a,null,b,"IIR",c);return c}; +m.Cl=function(a,b){var c=this.B;x(this,a,null,b,"LCR",c);return c};m.El=function(a,b){var c=this.C;x(this,a,null,b,"MCR",c);return c};m.Dl=function(a,b){var c=this.A;x(this,a,null,b,"LSR",c);return c};m.Jl=function(a,b){var c=this.ua;x(this,a,null,b,"MSR",c);return c}; +m.kn=function(a,b,c){x(this,a,b,c,this.B&128?"DLL":"THR");if(this.B&128)this.Y=this.Y&-256|b;else{this.wa=b;this.A&=-97;if(this.L)13==b?this.W=0:8==b?(this.L.value=this.L.value.slice(0,-1),0a.L||0>a.V)a.L=b.clientX,a.V=b.clientY;a.ga?(c=b.movementX||b.mozMovementX||b.webkitMovementX||0,d=b.movementY||b.mozMovementY||b.webkitMovementY||0):(c=b.clientX-a.L,d=b.clientY-a.V);a.L=b.clientX;a.V=b.clientY;a.Hf(c,d,a.L,a.V)}} +m.ge=function(a,b){if(this.Hc&&this.F&&this.F.la.Jb){var c="mouse button"+a+" "+(b?"dn":"up");switch(a){case rn:if(this.Y!=b){this.Y=b;Fo(this,c);return}break;case 2:if(this.fa!=b){this.fa=b;Fo(this,c);return}}y(this,c+": ignored")}};m.Hf=function(a,b,c,d){this.Hc&&this.F&&this.F.la.Jb&&(a||b)&&(this.U=a,this.W=b,Fo(this,null,c,d))}; +function Fo(a,b,c,d){var e=64|(a.Y?32:0)|(a.fa?16:0)|(a.W&192)>>4|(a.U&192)>>6,f=a.U&63,g=a.W&63;z(a,8388608)&&y(a,(b?b+": ":"")+(void 0!==d?"mouse ("+c+","+d+"): ":"")+"serial packet ["+t(e)+","+t(f)+","+t(g)+"]",0,!0);uo(a.N,[e,f,g]);a.U=a.W=0}Qa(function(){for(var a=nb(document,"pcjs","mouse"),b=0;b>9]);if(f){if(e+c<=f.length)return Yo(a.ya,f,e,c);for(e=d=0;c--;)d|=Wo(a,b++,1)<=e.fi&&a<=e.bk){d=a-=e.fi;var f,g;for(g in e.te){var h=e.te[g],k=a-h[0];if(!k){c=this.fg+"!"+h[1];break}b&&0>2;var e=d=0,a=new DataView(a,0,c);g.A=Array(g.Cb);for(c=0;cb.indexOf("/api/v1/dump")&&(a=ga(b),"json"==a||"gz"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=cp(this,b),this.qg=!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"):ja(b,"/")&& +(c="dir"),f=xa()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.$e?"":d)+"&format=json"));return!!wa(f,null,!0,function(a,b,c){dp(g,a,b,c)})}; +function dp(a,b,c,d){var e=null;a.cf=!1;var f=0>d&&a.da&&!a.da.la.ec;if(a.qg)d?a.controller.Oa('Unable to connect to disk "'+a.V+'" (error '+d+": "+c+")",f):(a.N=!0,ep(a),e=a);else if(d)a.controller.Oa('Unable to load disk "'+a.ea+'" (error '+d+": "+b+")",f);else{fb(a.controller.se,b,c);try{if(0g&&0c.indexOf("0x")&&'["'!=c.substr(0,2)?JSON.parse(c.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+c+")");if(h.length)if(1==h.length)w(h[0]);else{a.Cb=h.length;a.vb=h[0].length;a.lb=h[0][0].length;var k=h[0][0][0];a.Ua=k&&k.length||512;for(d=c=0;d>2,n=k.pattern;void 0===n&&(n=k.pattern=0);var q=k.data;if(void 0===q){var p=k.bytes;if(void 0!==p&&p.length){for(var A= +l<<2,F=p.length;Fb;b++){if(128==Yo(a,e,c+0,1)){d.Zf=Yo(a,e,c+8,4);(e=Xo(a,d.Zf))&&(f=!0);break}c+=16}if(!f)return}d.Gf||(d.Gf=Yo(a,e,19,2)||Yo(a,e,32,4),d.Ff=Yo(a,e,14,2),d.kh=d.Ff+Yo(a,e,22,2)*Yo(a,e,16,1),d.uh=Yo(a,e,17,2),d.xg=Yo(a,e,13,1));d.ih=d.kh+((32*d.uh+(d.Ua-1))/d.Ua|0);d.im=(d.Gf-d.ih)/d.xg|0;d.zg=4084>=d.im?12:16;d.Tk=12==d.zg?4086:65526;b=[];for(e=d.kh;e>8;f+=2;if(k)for(;l--;)Wo(d,f,1),254>=k?(n=k,q=Wo(d,f+1),f+=3):(n=Wo(d,f+3,1),q=Wo(d,f+4),f+=6),d.yd[n]&&(d.yd[n].te[h]=[q]),d.A[h]=[n,q],h++;else h+=l}(g=Zo(e,To,c))&&$o(e,g+c);g=Zo(e,Uo,c);h=Zo(e,Ro,c);g&&h&&$o(e,g,g+h)}}}} +function hp(a,b,c,d,e){var f,g=a.C.length,h=b.Ua/32|0;b.yo=d+"\\";for(var k=0;kF)break;for(var v=p.ih+(F-2)*p.xg,E=0;E>3,1),d?e=16==b.zg?e<<8:c&7?e<<4:(e&15)<<8:c&7&&(e>>=4));return e} +function Xo(a,b){var c=a.vb*a.lb,d=b/c|0;return dg)break;e|=g<=f)break;e+=String.fromCharCode(f)}return e}function bp(a,b,c,d,e,f){a||(a={sector:d,length:e,data:[],pattern:f});a.Uk=b;a.Vk=c;a.wd=a.Zc=0;a.Va=!1;return a} +function cp(a,b){var c;c="action=open&volume="+b+("&mode="+a.mode);c+="&chs="+a.Cb+":"+a.vb+":"+a.lb+":"+a.Ua;c+="&machine="+a.controller.df();c+="&user="+a.controller.he();return xa()+"/api/v1/disk?"+c} +function jp(a,b,c,d,e,f,g){if(a.N){var h;h="action=read&volume="+a.V;h+="&chs="+a.Cb+":"+a.vb+":"+a.lb+":"+a.Ua;h=h+("&addr="+b+":"+c+":"+d+":"+e)+("&machine="+a.controller.df());h+="&user="+a.controller.he();wa(xa()+"/api/v1/disk?"+h,null,f,function(h,l,n){h=[b,c,d,e,f,g];var q=!1,p=h[0],A=h[1],F=h[2],v=h[3];if(!n){l=JSON.parse(l);for(q=0;v--;){var E=a.seek(p,A,F,!0);if(!E)break;fp(E,l,q);q+=E.length;F++}q=h[4]}(h=h[5])&&h(n,q)})}else g&&g(-1,!1)} +function kp(a,b,c,d,e,f,g){if(a.N){var h={};a.ga=!0;h.action="write";h.volume=a.V;h.chs=a.Cb+":"+a.vb+":"+a.lb+":"+a.Ua;h.addr=b+":"+c+":"+d+":"+e;h.machine=a.controller.df();h.user=a.controller.he();h.data=JSON.stringify(f);wa(xa()+"/api/v1/disk",h,g,function(f,h,n){var q=[b,c,d,e,g];f=q[0];h=q[1];var p=q[2],A=q[3],q=q[4];a.ga=!1;if(0<=f&&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}m.read=function(a,b){var c=-1;if(a&&b>2,c=(d>((b&3)<<3)&255;return c}; +m.write=function(a,b,c){if(this.cf)return!1;if(b>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.Zc?f=a.wd+a.Zc&&(a.Zc+=f-(a.wd+a.Zc)+1):(a.wd=f,a.Zc=1);d[f]=d[f]&~(255<=this.A.length||k>=this.A[h].length||l>=this.A[h][k].length){c="sector (CHS="+h+":"+k+":"+l+") out of range ("+ +b+" changes applied)";b=-1;break}if(this.cf){c="unable to modify write-protected disk";b=-1;break}e=g[f++];f=g[f++];g=e+f.length;if(h=this.A[h][k][l]){for(k=h.data.length;kb?-2!=b&&this.controller.Oa("Unable to restore disk '"+this.ea+": "+c):ep(this);return b}; +m.toJSON=function(){var a;a=0;for(var b;b=Xo(this,a++);)op(b);a=JSON.stringify(this.A,function(a,b){return"file"==a?void 0:b});a=a.replace(/,"length":512/gm,"").replace(/,"pattern":0/gm,"");a=a.replace(/"(sector|length|data|pattern)":/gm,"$1:");a=a.replace(/,"[^"]*":([0-9]+|true|false)/gm,"");a=a.replace(/(sector|length|data|pattern):/gm,'"$1":');return a=a.replace(/([\]}]),/gm,"$1,\n")}; +function op(a){var b=a.data,c=b.length;if(c<<2==a.length){for(var d=c-1,e=b[d],f=0;d--&&b[d]===e;)f++;f++&&(b.length=c-f,a.pattern=e)}}function pp(a){Ua.call(this,"FDC",a,pp,524288);this.dmaRead=this.xk;this.dmaWrite=this.yk;this.dmaFormat=this.Mk;this.U=a.autoMount||null;this.B=[];this.ga=!Ha("Mobi")&&window&&"FileReader"in window}db(pp);aa={}; +var qp={3:{Rd:3,fe:0,name:aa.Xn},4:{Rd:2,fe:1,name:aa.Vn},5:{Rd:9,fe:7,name:aa.fo},6:{Rd:9,fe:7,name:aa.Qn},7:{Rd:2,fe:0,name:aa.Sn},8:{Rd:1,fe:2,name:aa.Wn},10:{Rd:2,fe:7,name:aa.Rn},13:{Rd:6,fe:7,name:aa.Dn},15:{Rd:3,fe:0,name:aa.Un}};m=pp.prototype; +m.Rb=function(a,b,c){var d=this;switch(b){case "listDisks":return this.qa[b]=c,c.onchange=function(){var a=d.qa.descDisk,b=c.options[c.selectedIndex];if(a&&b){var g={};if(b=b.getAttribute("data-value"))try{g=eval("("+b+")")}catch(h){w("FDC option error: "+h.message)}b=g.desc;void 0===b&&(b="");g=g.href;void 0!==g&&(b=''+b+"");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.qa[b]=c,c.onchange=function(){var a=ca(c.value,10);null!=a&&rp(d,a)},!0; +case "loadDrive":return this.qa[b]=c,c.onclick=function(){var a=d.qa.listDisks;a&&sp(d,a.options[a.selectedIndex].text,a.value)},!0;case "saveDrive":if(!this.ga){c.parentNode.removeChild(c);break}this.qa[b]=c;c.onclick=function(){var a=d.qa.listDrives;if(a&&a.options&&d.A)if(a=ca(a.value,10),a=d.A[a])if(a.ya){for(var b=a.ya,c="",h=0,k;k=Xo(b,h++);)for(var l=0,n=k.length;lg.ya.restore(p)&&(h=!1);h&&g.ya&&void 0!==g.cb&&(g.ob=g.ya.seek(g.Tb,g.jb,g.yb));h||(e=!1)}a.W=b[c++]||0;a.mc=b[c]||0;return e}m.Hi=function(a){var b;a=this.A[a];if(void 0!==a){b={};for(var c in a)b[c]=a[c]}return b}; +m.lk=function(a,b,c){if(a.ya){var d=a.ya.info(),e=d[2],f=d[1]*e;if(b+c<=d[0]*f)return a.Tb=Math.floor(b/f),b%=f,a.jb=Math.floor(b/e),a.yb=b%e+1,a.Hb=c*d[3],a.Db=0,!0}return!1}; +function xp(a,b){b||(a.fa=0);if(a.U)for(var c in a.U){var d=a.U[c],e=d.path,f;if(!(f=d.name))a:{if((f=a.qa.listDisks)&&f.options)for(var g=0;ga.Cb||f[1]>a.vb)&&(this.Oa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.gb)),b=null);b?(a.ya=b,a.kk=c,a.Je=d,Bp(this,c,d,b),f=b.info(),this.W|=128,this.Oa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.gb),a.xe||e),a.yg=f[0],a.Nf=f[1],a.Of=f[2]):a.Ye=!1;a.xe&&(a.xe=!1,--this.fa||sb(this));rp(this,a.gb)}; +function wp(a,b,c){if((a=a.qa.listDisks)&&a.options){for(var d=0;d=this.C&&(this.ma&=-81,this.L=this.C=0);return c}; +m.Pm=function(a,b,c){z(this)&&x(this,a,b,c,"DATA["+this.C+"]");this.C=qp[a].Rd){b=!1;this.L=0;a=Cp(this);var d,e,f,g,h=a&31;switch(h){case 3:Cp(this);Cp(this);Dp(this);break;case 4:c=Cp(this);this.gb=c&3;d=this.A[this.gb];Dp(this);Ep(this,(d.Db&-16777216)>>>24);break;case 5:case 6:c=Cp(this);b=c>>2&1;this.gb=c&3;d=this.A[this.gb];d.jb=b;c=d.Tb=Cp(this);e=Cp(this);f=d.yb=Cp(this);g=Cp(this);d.Hb=128<>2&1;this.gb=c&3;d= +this.A[this.gb];c=d.Tb;e=d.jb=b;f=d.yb=1;g=0;d.Db=0;d.ya&&(d.ob=d.ya.seek(d.Tb,d.jb,d.yb))?g=d.ob.length>>8:d.Db=72;Fp(this,d,a,b,c,e,f,g);b=!0;break;case 13:c=Cp(this);b=c>>2&1;this.gb=c&3;d=this.A[this.gb];c=d.Tb;e=d.jb=b;f=1;g=Cp(this);d.Hb=128<>2&1,c=Cp(this),d.Tb+=c-d.de,0>d.Tb&&(d.Tb=0),d.Tb>=d.Cb&&(d.Tb=d.Cb-1),d.de=c,d.Db=32,d.Tb||(d.Db|=268435456),Dp(this),b=!0}0>>8);Ep(a,(b.Db&16711680)>>>16);var k=0;if(e!=b.Tb||f!=b.jb)k=g=1;c&128&&(f^=k,d||(k=0));Ep(a,e+k);Ep(a,f);Ep(a,g);Ep(a,h)}function Cp(a){var b=a.V[a.L];a.L++;return b}function Dp(a){a.L=a.C=0}function Ep(a,b){a.V[a.C++]=b} +m.xk=function(a,b,c){if(void 0===b||0>b){b=-1;var d=null,e=0;if(!a.Db&&a.ya){do{if(a.ob&&(e=a.cb,0<=(b=a.ya.read(a.ob,a.cb++)))){d=a.ob;break}a.ob=a.ya.seek(a.Tb,a.jb,a.yb);if(!a.ob){a.Db=1088;break}a.cb=0;Gp(a)}while(1)}c(b,!1,d,e)}else c(-1,!1)};m.yk=function(a,b){return void 0!==b&&0<=b?Hp(a,b):-1}; +m.Mk=function(a,b){var c;if(void 0!==b&&0<=b)a:if(c=b,a.Db)c=-1;else{a.ld[a.Te++]=c;if(a.Te==a.ld.length){a.Tb=a.ld[0];a.jb=a.ld[1];a.yb=a.ld[2];a.Hb=128<Hp(a,a.yi)){c=-1;break a}a.mg++}a.mg>=a.ee&&(c=-1)}else c=-1;return c};function Hp(a,b){if(a.Db||!a.ya)return-1;do{if(a.ob&&a.ya.write(a.ob,a.cb++,b))break;a.ob=a.ya.seek(a.Tb,a.jb,a.yb);if(!a.ob){a.Db=8256;b=-1;break}a.cb=0;Gp(a)}while(1);return b} +function Gp(a){a.yb++;a.yb>=a.Of+1&&(a.yb=1,a.jb++,a.jb>=a.Nf&&(a.jb=0,a.Tb++))}var up={1012:pp.prototype.xl,1013:pp.prototype.vl,1015:pp.prototype.wl},vp={1010:pp.prototype.Qm,1013:pp.prototype.Pm,1015:pp.prototype.Om};Qa(function(){for(var a=nb(document,"pcjs","fdc"),b=0;bk.ya.restore(g)&&(A=!1),A&&void 0!==k.cb&&(k.ob=k.ya.seek(k.ae,k.jb,k.yb+ +k.lg)));A||(e=!1);null!=a.pa&&1>=d&&(a.pa|=(f.type&3)<<(1-d<<1))}0<=a.gb&&(a.B=a.A[a.gb]);return e}m.Hi=function(a){var b;a=this.A[a];if(void 0!==a){b={};for(var c in a)b[c]=a[c]}return b}; +function Rp(a,b,c){if(b){var d=0,e=0;null==c&&((d=b.Oe[2])?e=b.Oe[0]<<8|b.Oe[1]:c=b.type);null==c||d||(d=Kp[a.U][c][1],e=Kp[a.U][c][0]);d&&((c=Kp[a.U][b.type])&&e!=c[0]&&d!=c[1]&&a.Oa("Warning: drive parameters ("+e+","+d+") do not match drive type "+b.type+" ("+c[0]+","+c[1]+")"),b.Cb=e,b.vb=d,null==b.ya&&(b.ya=new Go(a,b,b.mode)))}} +m.lk=function(a,b,c){if(a.ya){var d=a.ya.info(),e=d[0];if(e){var f=d[2],g=d[1]*f;if(b+c<=e*g)return a.ae=Math.floor(b/g),b%=g,a.jb=Math.floor(b/f),a.yb=b%f,a.Hb=c*d[3],a.errorCode=0,!0}}return!1}; +function Pp(a,b){b||(a.fa=0);for(var c=0;c=this.C&&(this.L=this.C=0,this.ma&=-15);return c};m.nn=function(a,b,c){x(this,a,b,c,"DATA["+this.C+"]");this.C=a&&(this.ma|=2,this.ma&=-2,Sp(this))};m.Yl=function(a,b){var c=this.ma;x(this,a,null,b,"STATUS",c);this.L=a.B.Ua?(a.ma=128,Up(a.B,function(b){0<=b?(Vp(a),a.N&&5180==a.N.ja&&(a.ma=0),a.ma|=88):(a.ma=1,a.W=16)},!1)):a.ma=80));return d}m.Bk=function(a,b){return Tp(this,a,b)|Tp(this,a,b)<<8}; +function Wp(a,b,c,d){if(a.B&&a.B.Hb>=a.B.Ua)if(0>Xp(a.B,c))a.ma=1,a.W=16;else if(1==a.B.cb||a.B.cb==a.B.Ua)z(a,1048832)&&x(a,b,c,d,"DATA["+a.B.cb+"]"),1=a.B.Ua&&(a.ma|=8))}m.wm=function(a,b,c){Wp(this,a,b&255,c);Wp(this,a,b>>8&255,c)};m.el=function(a,b){var c=this.W;x(this,a,null,b,"ERROR",c);return c};m.Bm=function(a,b,c){x(this,a,b,c,"WPREC");this.Pa=b};m.gl=function(a,b){var c=this.Y;x(this,a,null,b,"SECCNT",c);return c}; +m.zm=function(a,b,c){x(this,a,b,c,"SECCNT");this.Y=b};m.hl=function(a,b){var c=this.Ba;x(this,a,null,b,"SECNUM",c);return c};m.Am=function(a,b,c){x(this,a,b,c,"SECNUM");this.Ba=b};m.cl=function(a,b){var c=this.za;x(this,a,null,b,"CYLLO",c);return c};m.vm=function(a,b,c){x(this,a,b,c,"CYLLO");this.za=b};m.bl=function(a,b){var c=this.wa;x(this,a,null,b,"CYLHI",c);return c};m.um=function(a,b,c){x(this,a,b,c,"CYLHI");this.wa=b};m.dl=function(a,b){var c=this.ra;x(this,a,null,b,"DRVHD",c);return c}; +m.xm=function(a,b,c){x(this,a,b,c,"DRVHD");this.ra=b;this.ma=this.A[this.ra&16?1:0]?this.ma|80:this.ma&-65};m.il=function(a,b){var c=this.ma;x(this,a,null,b,"STATUS",c);this.ma&64&&(this.ma&=-129);return c};m.tm=function(a,b,c){x(this,a,b,c,"COMMAND");this.Ea=b;this.N&&eg(this.N,14);Yp(this)};m.ym=function(a,b,c){x(this,a,b,c,"FDR");this.ga&4&&!(b&4)&&(this.W=1);this.ga=b}; +function Yp(a){var b=!1,c=a.Ea,d=a.ra&16?1:0,e=a.ra&15,f=a.za|(a.wa&3)<<8,g=a.Ba,h=a.Y||256;a.gb=-1;a.B=null;a.W=0;a.ma=80;var k=a.A[d];k?(k.ae=f,k.jb=e,k.yb=g,k.Hb=h*k.Ua,c=144<=c?c:c&240,k.ob=null,k.cb=0,k.errorCode=0,a.gb=d,a.B=k):c=-1;switch(c&240){case 16:b=!0;break;case 32:a.ma=128;Up(k,function(b){0<=b&&a.N?(Vp(a),a.ma=88):(a.ma=1,a.W=16)},!1);break;case 48:a.ma=8;break;case 64:b=!0;break;case 112:b=!0;break;case 144:a.W=1;b=!0;break;case 145:k.vb=e+1,k.lb=h,b=!0}b&&Vp(a)} +function Vp(a){!a.N||a.ga&2||fg(a.N,14,120)} +function Sp(a){a.L=0;var b=Zp(a),c=Zp(a),d=c&32,e=d>>5,f=c&31,g=Zp(a),h=Zp(a),k=g<<2&768|h,l=g&63,n=Zp(a),q=Zp(a),p=a.A[e];p&&(p.ae=k,p.jb=f,p.yb=l,p.Hb=n*p.Ua);switch(b){case 3:$p(a,p?p.errorCode:4);aq(a,c);aq(a,g);aq(a,h);aq(a,0|d);b=-1;break;case 12:for(c=0;0<=(b=Zp(a));)p&&cb?Up(a,c):c(-1,!1)};m.Ak=function(a,b){return void 0!==b&&0<=b?Xp(a,b):-1}; +m.Nk=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.cbXp(a,a.yi)){c=-1;break a}a.mg++}a.mg>=a.ee&&(c=-1)}else c=-1;return c}; +function bq(a,b,c){b.errorCode=4;if(b.ya&&(b.ob=null,a.N)){b.errorCode=0;yl(a.N,3,a,"dmaRead",b);ql(a.N,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)});return}c(b.errorCode?2:0)}function cq(a,b,c){b.errorCode=4;if(b.ya&&(b.ob=null,a.N)){b.errorCode=0;yl(a.N,3,a,"dmaWrite",b);ql(a.N,3,function(a){a||(0==b.errorCode&&(b.errorCode=4),20==b.errorCode&&(b.errorCode=0));c(b.errorCode?2:0)});return}c(b.errorCode?2:0)} +function dq(a,b,c){b.errorCode=4;b.Pe&&b.Pe.length==b.Hb||(b.Pe=Array(b.Hb));b.cb=0;a.N?(b.errorCode=0,yl(a.N,3,a,"dmaWriteBuffer",b),ql(a.N,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)})):c(b.errorCode?2:0)} +function Up(a,b,c){var d=-1,e=null,f=0;if(a.errorCode)return b&&b(d,!1,e,f),d;var g=!1!==c?1:0;if(a.ob&&(f=a.cb,d=a.ya.read(a.ob,a.cb),a.cb+=g,0<=d))return e=a.ob,b&&b(d,!1,e,f),d;if(b){if(a.ya)return a.ya.seek(a.ae,a.jb,a.yb+a.lg,!1,function(c,k){(a.ob=c)?(e=c,f=a.cb=0,eq(a),d=a.ya.read(a.ob,a.cb),a.cb+=g):a.errorCode=20;b(d,k,e,f)}),d;a.errorCode=20;b(d,!1,e,f)}return d} +function Xp(a,b){if(a.errorCode)return-1;do{if(a.ob&&a.ya.write(a.ob,a.cb++,b))break;a.ya&&a.ya.seek(a.ae,a.jb,a.yb+a.lg,!0,function(b){a.ob=b});if(!a.ob){a.errorCode=20;b=-1;break}a.cb=0;eq(a)}while(1);return b}function eq(a){a.yb++;var b=1-a.lg;a.yb>=a.lb+b&&(a.yb=b,a.jb++,a.jb>=a.vb&&(a.jb=0,a.ae++))}m.Zl=function(){var a=this.F.M&255;!(this.F.G>>8)&&128>8||!this.N)||(a=!(this.N.wc[0].Ad&64));return a?!0:!1}; +var Mp={800:Ip.prototype.Xl,801:Ip.prototype.Yl,802:Ip.prototype.Wl},Lp={496:Ip.prototype.Bk,497:Ip.prototype.el,498:Ip.prototype.gl,499:Ip.prototype.hl,500:Ip.prototype.cl,501:Ip.prototype.bl,502:Ip.prototype.dl,503:Ip.prototype.il},Op={800:Ip.prototype.nn,801:Ip.prototype.qn,802:Ip.prototype.pn,803:Ip.prototype.on,807:Ip.prototype.gi,811:Ip.prototype.gi,815:Ip.prototype.gi},Np={496:Ip.prototype.wm,497:Ip.prototype.Bm,498:Ip.prototype.zm,499:Ip.prototype.Am,500:Ip.prototype.vm,501:Ip.prototype.um, +502:Ip.prototype.xm,503:Ip.prototype.tm,1014:Ip.prototype.ym};Qa(function(){for(var a=nb(document,"pcjs","hdc"),b=0;b>2;this.Ca=b.wg;this.Sb=new fd(this.F,7,"DBG");this.Ia=xq;80186<=this.F.ja&&(this.Ia=xq.slice(),this.Ia[15]=vq,80286<=this.F.ja&&(this.Ia[15]=wq,80386<=this.F.ja&&(this.Ja=8)));Ok(this,64,function(a){Bq(d,d.F.kd,a[0])});Ok(this,4,function(a){if(a=a[0]){var b=Cq(d,a);if(void 0===b)d.O("invalid selector: "+a);else if(a=Dq(d, +b,2),d.O("dumpSel("+u(a?a.Z:b)+"): %"+r(a?a.Zb:null,d.Ba)),a){var c,b=!1;if(a.type&4096)a.type&2048?(c="code"+(a.type&512?",readable":",execonly"),a.type&1024&&(c+=",conforming")):(c="data"+(a.type&512?",writable":",readonly"),a.type&1024&&(c+=",expdown")),a.type&256&&(c+=",accessed");else{var h=Eq[a.type];h&&(c=h[0],b=h[1])}!c||a.xb&32768||(c+=",not present");d.O((b?"seg="+u(a.Aa&65535)+" off="+u(a.Ta):"base="+r(a.Aa,d.Ba)+" limit="+Fq(a.Ta))+" type="+t(a.type>>8)+" ("+c+") ext="+u(a.ext&-65296)+ +" dpl="+t(a.Gc))}}else d.O("no selector")});Ok(this,134217728,function(a){var b;(a=a[0])&&(b=Cq(d,a));if(void 0===b)d.O("invalid MCB");else for(d.O("dumpMCB("+u(b)+")");b;){a=gq(d,0,b);var c=d.Qa(a,1),h=d.na(a,2),k=d.na(a,5);if(77!=c&&90!=c)break;d.O(Gq(0,b)+": '"+String.fromCharCode(c)+"' PID="+u(h)+" LEN="+u(k)+' "'+Hq(d,a,8)+'"');b+=1+k}});Ok(this,128,function(a){Bq(d,d.F.sa,a[0],d.F.sa!==d.F.kd)});Ok(this,8,function(a){a:{if(a=a[0]){var b=Cq(d,a);if(void 0===b){d.O("invalid task selector: "+a); +break a}a=Dq(d,b,2)}else a=d.F.Sa;d.O("dumpTSS("+u(a?a.Z:b)+"): %"+r(a?a.Aa:null,d.Ba));if(a){var b="",c=a.type&-513,h=256==c?4:8,k=256==c?Iq:Jq,l,n,q,p;for(p in k)l=k[p],n=a.Aa+l,q=Jf(d.F,n,2),2304==c&&(q|=Jf(d.F,n+2,2)<<16),b&&(b+="\n"),b+=u(l)+" "+ma(p+":",11)+r(q,h);if(2304==c)for(p=0,l=q>>>16;lp;)n=a.Aa+l,q=Jf(d.F,n,2),b+="\n"+u(l)+" ports "+u(p)+"-"+u(p+15)+": "+ea(q,2),p+=16,l+=2;d.O(b)}}});this.C=null;this.pb=0;this.bb=!1;df(this.F,48,this.bm.bind(this));df(this.F,65,this.cm.bind(this)); +this.ka=null;df(this.F,104,this.dm.bind(this));sb(this)};function Kq(a,b,c,d,e,f){b=Hq(a,b);var g=Dq(a,d),g=g?g.Ta+1:0,h=(e?"_CODE":"_DATA")+r(c,2);f&&z(a,128)&&a.message(b+" "+(e?"code":"data")+"("+r(c,4)+")=#"+r(d,4)+" len "+r(g));e=Lq(a,b,c);e[b+h]=0;bm(a,b,c,d,0,null,g,e)} +function Mq(a,b,c,d){var e=a.na(b,2),f=a.na(b,2),g=a.oa(b,4),h=a.oa(b,4),k=gq(a,a.oa(b,4),a.na(b,2));b=gq(a,a.oa(b,4),a.na(b,2));b=Hq(a,b).toUpperCase();var k=Hq(a,k).toUpperCase(),l=(c?"_CODE":"_DATA")+r(e,2);d&&z(a,128)&&a.message((b==k?"":b+"!")+k+" "+(c?"code":"data")+"("+r(e,4)+")="+r(f,4)+":"+r(g)+" len "+r(h));c=Lq(a,k,e);c[k+l]=g;bm(a,k,e,f,g,null,h,c)}function Nq(a,b,c){c=Hq(a,c).toUpperCase();Oq(a,c,b)} +m.bm=function(){var a=this.F;if(null!=this.C&&2752554==a.G){var b=a.M&65535,c=a.K&65535,d=gq(this,I(a)+12,a.ta.Z);switch(this.oa(d)){case 336:Mq(this,gq(this,a.H,b),!c,!!this.C)}}return!0}; +m.cm=function(a){var b=this.F,c=b.G&65535,d=b.H&65535,e=b.I&65535,f=b.M&65535,g=b.K&65535,h=b.J&65535,k=b.Wa.Z;if(null==this.C)return 79==c&&ef(b,a,function(a){return function(){62342!=(b.G&65535)?(b.G=b.G&-65536|62342,y(a,"INT 0x41 handling enabled",128),a.C=!0):(y(a,"INT 0x41 monitoring enabled",128),a.C=!1)}}(this)),!0;switch(c){case 79:this.C&&(b.G=b.G&-65536|62342,y(this,"INT 0x41 handling enabled",128));break;case 80:Kq(this,gq(this,h,k),d+1,e,!(g&1),!!this.C);break;case 82:Oq(this,null,d); +break;case 127:this.C&&(b.G=b.G&-65536|(this.bb?0:1));break;case 131:this.C&&(a=gq(this,b.M,e),this.pb++?(this.O("TRAPFAULT failed"),Pq(this,this.A,a,!0,!0),this.pb=0,this.Xb()):(this.O("INT 0x41 TRAPFAULT: fault="+u(d)+" error="+("0x"+r(b.K))+" addr="+Qq(a)),this.Od(this.A,a,!0),iq(this,!0)));break;case 141:this.C&&(b.G=b.G&-65536|1);break;case 336:Mq(this,gq(this,b.H,f),!g,!!this.C);break;case 338:Nq(this,d,gq(this,b.J,f))}this.bb=!1;return!this.C}; +m.dm=function(a){var b=this.F,c=b.G&255,d=b.G>>8&255,e=b.H&65535,f=b.I&65535,g=b.M&65535,h=b.J&65535,k=b.Wa.Z;if(null==this.ka){if(67==d){if(609437257==b.oa((b.va.Z<<4)+10)||1111835735==b.oa((b.va.Z<<4)+95))return!0;ef(b,a,function(a){return function(){62342!=(b.G&65535)?(b.G=b.G&-65536|62342,y(a,"INT 0x68 handling enabled",128),a.C=a.ka=!0):(y(a,"INT 0x68 monitoring enabled",128),a.ka=!1)}}(this))}return!0}switch(d){case 67:this.ka&&(b.G=b.G&-65536|62342);break;case 68:this.ka&&(a=hd(b.va,this.Ik.bind(this)))&& +(b.J=a[0],xd(b,a[1]));break;case 72:Oq(this,null,e);break;case 80:32==c?Kq(this,gq(this,h,k),0,f,!0,!!this.ka):128>c?Kq(this,gq(this,h,k),e+1,c&64?g:f,!(c&1),!!this.ka):Mq(this,gq(this,h,k),!(c&1),!!this.ka),this.ka&&(b.G=b.G&-256|1)}return!this.ka};m.Ik=function(){var a=this.F;5==(a.G&255)&&(a.I=a.K=0,a.G=a.G&-256|1);return!1}; +m.Rb=function(a,b,c){var d=this;switch(b){case "debugInput":return this.Ka=this.qa[b]=c,c.onkeydown=function(a){var b;if(13==a.keyCode)b=c.value,c.value="",kq(d,b,!0);else if(27==a.keyCode)c.value=b="";else if(38==a.keyCode?d.U>>0)+1;a.xb=f;a.type=g;a.ext=k;a.Zb=d;gd(a,!0,!0,!1)}}return a}m.fc=function(a,b,c){var d=a&&a.Da;if(null==d&&(d=-1,a)){var e=Dq(this,a.Z,a.type);e&&(b=a.Ra||0,c=c||1,d=e=-1===e.Zb||e.cd&&(b>>>0)+c>e.ac||!e.cd&&(b>>>0)+c<=e.ac?e.Aa+b|0:-1,a.Da=d)}return d};m.Qa=function(a,b){var c=255,d=this.fc(a,!1,1);-1!==d&&(c=Jf(this.F,d,1,5==a.type)|0,b&&Sq(this,a,b));return c}; +m.ub=function(a,b){return a.Ub?this.oa(a,b?4:0):this.na(a,b?2:0)};m.na=function(a,b){var c=65535,d=this.fc(a,!1,2);-1!==d&&(c=Jf(this.F,d,2,5==a.type),b&&Sq(this,a,b));return c};m.oa=function(a,b){var c=-1,d=this.fc(a,!1,4);-1!==d&&(c=Jf(this.F,d,4,5==a.type),b&&Sq(this,a,b));return c};m.tc=function(a,b,c){var d=this.fc(a,!0,1);if(-1!==d){if(5!=a.type)this.F.tc(d,b);else{var e=this.ea;e.sa[(d&e.Gb)>>>e.La].uf(d&e.A,b&255,d)}c&&Sq(this,a,c);Tc(this.F,!0)}}; +m.ib=function(a,b,c){var d=this.fc(a,!0,2);-1!==d&&(5!=a.type?this.F.ib(d,b):fc(this.ea,d,b),c&&Sq(this,a,c),Tc(this.F,!0))};function gq(a,b,c,d,e,f,g){return Tq(a,{},b,c,d,e,f,g)}function Tq(a,b,c,d,e,f,g,h){b.Ra=c||0;b.Z=d;b.Da=e;b.type=f||(Rq(a)?2:1);b.Ub=null!=g?g:a.F&&4==a.F.va.aa;b.sc=null!=h?h:a.F&&4==a.F.va.Nc;b.Td=!1;return b}function Uq(a){return[a.Ra,a.Z,a.Da,a.Td,a.Ub,a.sc,a.Qe,a.Sd]}function Vq(a){return{Ra:a[0],Z:a[1],Da:a[2],Td:a[3],Ub:a[4],sc:a[5],Qe:a[6],Sd:a[7]}} +function Wq(a,b,c){if(null!=b.Z&&(a=Dq(a,b.Z,b.type))){var d=b.Ra&a.Ca;if(!a.cd){if(d>>>0>=a.ac)return!1}else if(d>>>0f?null!=h?(g=Zq(a,b,void 0),f=null):(f=Zq(a,b,void 0),null==f&&(g=null)):(h=Zq(a,b.substring(0,f),void 0),g=Zq(a,b.substring(f+1),void 0),f=null)}null!=g&&(e=gq(a,g,h,f,c),d||Wq(a,e,!0)||(a.O("invalid offset: "+Qq(e)),e=null));return e}function $q(a,b,c){c&&(c=c.match(/(['"])(.*?)\1/))&&(b.Ek=ar(a,b.jk=c[2]))}function Sq(a,b,c){c=c||1;null!=b.Da&&(b.Da+=c);null!=b.Z&&(b.Ra+=c,Wq(a,b)||(b.Ra=0,b.Da=null))}function Gq(a,b,c){return null!=b?r(b,4)+":"+r(a,a&-65536||c?8:4):r(a)} +function Qq(a){var b;switch(a.type){case 1:case 3:b="&";break;case 2:b="#";break;case 4:b="%";break;case 5:b="%%";break;default:b=a.Z?"":"%"}return 4<=a.type||null==a.Z?b+r(a.Da):b+Gq(a.Ra,a.Z,a.sc)}function Hq(a,b,c){var d="";for(c=c||256;d.length>>a.F.La;g=1}a.O("blockid "+(d?"linear ":"physical")+" blockaddr used size type");a.O("-------- --------- ---------- ------ ------ ----");c=-1;for(var h=0;g--;)(d=b[f])&&5==d.type&&(d=Fc(a.F,e,!1,!0)),d.type==c?h++||a.O("..."):(c=d.type,h=wc[c],6==c&&(d=d.Bd,h+=" -> "+wc[d.type]),d&&a.O(r(d.id)+" %"+r(f<c&&(c=ua(sq,a.substr(b,2))));return c} +function dr(a,b){var c=0,d=er(a,b);if(void 0!==d)switch(b){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:c=2;break;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 22:case 16:case 17:case 18:case 19:case 20:case 21:c=4;break;case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 56:c=8;break;case 23:c=a.Ja}return c?r(d,c):"??"} +function er(a,b){var c;if(0<=b){var d=a.F;switch(b){case 0:c=d.G&255;break;case 1:c=d.I&255;break;case 2:c=d.M&255;break;case 3:c=d.H&255;break;case 4:c=d.G>>8&255;break;case 5:c=d.I>>8&255;break;case 6:c=d.M>>8&255;break;case 7:c=d.H>>8&255;break;case 8:c=d.G&65535;break;case 9:c=d.I&65535;break;case 10:c=d.M&65535;break;case 11:c=d.H&65535;break;case 12:c=I(d)&65535;break;case 13:c=d.P&65535;break;case 14:c=d.K&65535;break;case 15:c=d.J&65535;break;case 22:c=K(d)&65535;break;case 23:c=yd(d);break; +case 16:c=d.Wa.Z;break;case 17:c=d.va.Z;break;case 18:c=d.ta.Z;break;case 19:c=d.wb.Z;break;default:if(80286==a.F.ja)32==b&&(c=d.Ya);else if(80386<=a.F.ja)switch(b){case 24:c=d.G;break;case 25:c=d.I;break;case 26:c=d.M;break;case 27:c=d.H;break;case 28:c=I(d);break;case 29:c=d.P;break;case 30:c=d.K;break;case 31:c=d.J;break;case 32:c=d.Ya;break;case 33:c=d.ji;break;case 34:c=d.qe;break;case 35:c=d.Md;break;case 20:c=d.Pb.Z;break;case 21:c=d.Qb.Z;break;case 56:c=K(d)}}}return c} +function fr(a,b){b=Yq(a,b);for(var c=0,d,e;0<=(c=b.indexOf("@",c));)e=cr(b,c+1),0<=e&&(b=b.substr(0,c)+dr(a,e)+b.substr(c+1+sq[e].length)),c++;for(c=0;0<=(c=b.indexOf("#",c));)e=b.substr(c+1,2),d=ca(e,16),null!=d&&32<=d&&128>d?(d=e+" '"+String.fromCharCode(d)+"'",b=b.replace("#"+e,d),c+=d.length):c++;for(c=0;0<=(c=b.indexOf("$",c));)e=b.substr(c+1,9),(d=Xq(a,e))?(d=e+' "'+Hq(a,d)+'"',b=b.replace("$"+e,d),c+=d.length):c++;for(c=0;0<=(c=b.indexOf("^",c));)e=b.substr(c+1,9),(d=Xq(a,e))?(Sq(a,d),d=e+ +' "'+Hq(a,d,11)+'"',b=b.replace("^"+e,d),c+=d.length):c++;return b}m=fq.prototype;m.message=function(a,b){b&&(a+=" at "+Qq(gq(this,K(this.F),this.F.va.Z))+" (%"+r(this.F.Ga)+")");if(!this.Pa||a!=this.Pa)if(this.Pa=a,this.xc&-2147483648&&(this.Xb(),a+=" (cpu halted)"),this.O(a),this.F){var c=this.F;c.X.jf=0;c.eb-=c.A;c.A=0;Tc(c)}}; +function lk(a,b,c,d){var e,f;if(!d&&(d=z(a,1)&&0>mq.indexOf(b),!d)){var g=lq[b];g&&(d=z(a,g)?!0:524288==g&&z(a,g=1048576))}d&&(e=a.F.G>>8&255,f=a.F.M&255,33==b&&11==e||524288==g&&128<=f||1048576==g&&128>f)&&(d=!1);d&&((g=(g=yb[b])&&g[e]||"")&&(g=" "+fr(a,g)),a.message("INT "+t(b)+": AH="+t(e)+" at "+Gq(c-2-a.F.va.Aa,a.F.va.Z)+g));return d} +function ob(a,b,c,d,e,f,g,h){h|=256;if(null==e||(a.xc&h)==h)h=null,null!=e&&(h=a.F.va.Z,e-=a.F.va.Aa),a.message(b.be+"."+(null!=d?"outPort":"inPort")+"("+u(c)+","+(f?f:"unknown")+(null!=d?","+t(d):"")+")"+(null!=g?": "+t(g):"")+(null!=e?" at "+Gq(e,h):""))}m.hh=function(){this.O("Type ? for help with PCjs Debugger commands");this.pd();if(this.fb){var a=this.fb;this.fb=null;kq(this,a)}}; +function iq(a,b){var c;if(Uf(a)){if(!a.ia||!a.ia.length){a.ia=Array(1E3);for(c=0;c>>f.La].Od(e&f.Fa,a==this.ga);g&&Vb(f)}}d&&(a.push(b),c?(null!=b.Da&&(b.Z=null),b.Td=!0):(lr(this,a,a.length-1,"set"),iq(this)));return d}; +function Pq(a,b,c,d,e){for(var f=!1,g=mr(a,a.fc(c)),h=1;h>3&7,A=(3>(g>>6&3)?0:48)+p;(217==f||219==f)&&52<=A&&(A=p<<4|g&7);(p=zq[f])&&(q=p[A]);q&&(n=pq,k=q,l=k[0])}l>=n.length&&(g=a.Qa(b,1),k=Aq[l-n.length][g>>3&7],l=k[0]);n=n[l];p=k.length-1;q="";b.Ub&&(18==l? +n="CWDE":28==l?n="CDQ":104<=l&&107>=l&&(n+="D"));if(164<=f&&167>=f||170<=f&&175>=f)p=0,b.Ub&&"W"==n.slice(-1)&&(n=n.slice(0,-1)+"D");for(var f=null,A=!0,F=1;F<=p;F++){var v,E;v="";E=k[F];if(void 0!==E){null==f&&(f=E>>14);80==l&&(2==f?q="[%800]":3==f&&(q="ES:["+(b.sc?"E":"")+"DI]"));var H=E&15;if(0!=H)if(8==H)A=!1;else{var L=E&240;if(128<=L)if(0>g&&(g=a.Qa(b,1)),160>L){v=a;var W=p,H=b,P="",ab=g>>6,ha=g&7;if(3>ab){var ia=void 0,L=0==n.indexOf("FI");if(!ab&&(!H.sc&&6==ha||H.sc&&5==ha))ab=2;else{if(H.sc)if(4!= +ha)ha+=8;else{var P=v,ia=ab,Ga=H,Wa=P.Qa(Ga,1),Aa=Wa>>6,Sb=Wa>>3&7,Wa=Wa&7,va="";if(ia||5!=Wa)va=tq[Wa+8];4!=Sb&&(va&&(va+="+"),va+=tq[Sb+8],Aa&&(va+="*"+(1<>24,P+="-"+r(-ia,2)):P+="+"+r(ia,2)):2==ab&&(P&&(P+="+"),H.sc?(ia=v.oa(H,4),P+=r(ia)):(ia=v.na(H,2),P+=r(ia,4)));P="["+P+"]";if(1==W){v="";E&=15;4==E&&(E=H.Ub?5:3);switch(E){case 7:v="FAR";break;case 1:v="BYTE";break;case 3:if(L){v="INT16"; +break}v="WORD";break;case 5:v="DWORD";break;case 11:if(L){v="INT32";break}case 11:v="REAL32";break;case 12:if(L){v="INT64";break}case 12:v="REAL64";break;case 13:v="REAL80";break;case 14:v="BCD80"}v&&(P=v+" "+P)}}else P=qr(v,ha,E,H);v=P}else v=160==L?qr(a,g&7,E,b):qr(a,g>>3&7,E,b);else if(16==L)v="1";else if(0==L){v=a;H=E;L=b;E=" ";switch(H&15){case 1:H&12288&&(E=r(v.Qa(L,1),2));break;case 2:E=r(v.Qa(L,1)<<24>>24,L.Ub?8:4);break;case 4:if(L.Ub){E=r(v.oa(L,4));break}case 3:E=r(v.na(L,2),4);break;case 7:L= +gq(v,v.ub(L,!0),v.na(L,2),null,L.type,L.Ub,L.sc);E=Qq(L);v=rr(v,L);v[0]&&(E+=" ("+v[0]+")");break;default:E="imm("+u(H)+")"}v=E}else 32==L?(b.sc?(v=8,E=a.oa(b,4)):(v=4,E=a.na(b,2)),v="["+r(E,v)+"]"):48==L?(v=1==H?a.Qa(b,1)<<24>>24:a.ub(b,!0),E=b.Ra+v&(b.Ub?-1:65535),v=r(E,b.Ub?8:4),E=rr(a,gq(a,E,b.Z)),E[0]&&(v+=" ("+E[0]+")")):96==L?v=9==H?"ST":10==H?"ST("+(g&7)+")":qr(a,(E&3840)>>8,E,b):112==L?v=qr(a,(E&3840)>>8,192,b):64==L?v="DS:[SI]":80==L&&(v="ES:[DI]");if(!v||!v.length){q="INVALID";break}0< +q.length&&(q+=",");q+=v||"???"}}}g="";k=Qq(e)+" ";if(-1!==e.Da&&-1!==b.Da){do if(g+=r(a.Qa(e,1),2),null==e.Da)break;while(e.Da!=b.Da)}k+=ma(g,e.sc?24:16);k+=ma(n,8);q&&(k+=" "+q);a.F.jaa.F.ja)return"??";b+=16}else if(208==e)b+=32;else if(224==e)b+=40;else if(240==e)b+=48;else if(a=c&15,3<=a&&(8>b&&(b+=8),5==a||4==a&&d.Ub))b+=16;return sq[b]} +function tr(a,b){var c;switch(b){case "V":c=vf(a.F);break;case "D":c=a.F.ba&1024;break;case "I":c=a.F.ba&512;break;case "T":c=a.F.ba&256;break;case "S":c=uf(a.F);break;case "Z":c=tf(a.F);break;case "A":c=sf(a.F);break;case "P":c=rf(a.F);break;case "C":c=qf(a.F);break;default:c=0}return b+(c?"1":"0")+" "}function Fq(a){return r(a,a&-65536?8:4)}function ur(a,b){8<=b&&15>=b&&4a.F.ja&&(d="\n"+d,c+=e,e="");c+="\n"+vr(a,a.F.va,b)+" ";80386<=a.F.ja&&(e+="\n",c+=vr(a,a.F.Pb,b)+" "+vr(a,a.F.Qb,b)+"\n");c+=wr(a,"LD",a.F.Cc.Z,a.F.Cc.Aa,a.F.Cc.Aa+a.F.Cc.Ta)+" "+wr(a,"GD",null,a.F.Ec,a.F.zd)+" "+wr(a,"ID", +null,a.F.Lc,a.F.Pd)+" ";c=c+(d+" "+e)+ur(a,32);80386<=a.F.ja&&(c+=ur(a,34)+ur(a,35))}else 80386<=a.F.ja&&(c+=vr(a,a.F.Pb,b)+" "+vr(a,a.F.Qb,b)+" ");return c+=ur(a,23)+tr(a,"V")+tr(a,"D")+tr(a,"I")+tr(a,"T")+tr(a,"S")+tr(a,"Z")+tr(a,"A")+tr(a,"P")+tr(a,"C")}var yr={"||":0,"&&":1,"|":2,"^":3,"&":4,"!=":5,"==":5,">=":6,">":6,"<=":6,"<":6,">>>":7,">>":7,"<<":7,"-":8,"+":8,"%":9,"/":9,"*":9}; +function zr(a,b,c){for(c=c||-1;c--&&b.length;){var d=b.pop();if(2>a.length)return!1;var e=a.pop(),f=a.pop();switch(d){case "*":d=f*e;break;case "/":if(!e)return!1;d=f/e;break;case "%":if(!e)return!1;d=f%e;break;case "+":d=f+e;break;case "-":d=f-e;break;case "<<":d=f<>":d=f>>e;break;case ">>>":d=f>>>e;break;case "<":d=f":d=f>e?1:0;break;case ">=":d=f>=e?1:0;break;case "==":d=f==e?1:0;break;case "!=":d=f!=e?1:0;break;case "&":d=f&e;break; +case "^":d=f^e;break;case "|":d=f|e;break;case "&&":d=f&&e?1:0;break;case "||":d=f||e?1:0;break;default:return!1}a.push(d|0)}return!0} +function Zq(a,b,c){var d;if(b){b=Yq(a,b);for(var e=0,f=!1,g=b,h=[],k=[],l=b.split(/(\|\||&&|\||^|&|!=|==|>=|>>>|>>|>|<=|<<|<|-|\+|%|\/|\*)/);eb[0]?1:a[0]>>0,n],v=oa(A,p,a.qb);0>v&&A.splice(-(v+1),0,p)}F&&(q.a=F.replace(/''/g,'"'))}a.B.push({fg:b,mm:c,Z:d,Ra:e,Da:f,em:g,Nd:h,si:l})} +function Oq(a,b,c){for(var d=0;d>>0,f=a.fc(b)>>>0,g=0;g>>0,n=h.Da;null!=n&&(n>>>=0);var q=h.em;48==k&&(k=40);if(k==b.Z&&e>=l&&e=n&&fc?(a.O("out of data at address "+Qq(b)),n=!0):(a.tc(b,c,1),l++)})})(a,g);a.O(l+" bytes read at "+ +c)}else a.O("sector "+e+" request out of range");else a.O("drive "+d+" not loaded");else a.O("invalid drive: "+d)}else a.O("disk controller not present")}}else a.O("list/load commands:"),a.O("\tl [address] [drive #] [sector #] [# sectors]")} +function hr(a,b){var c;if(b&&"?"==b[1])a.O("register commands:"),a.O("\tr\tdump registers"),a.Vb&&a.O("\trfp\tdump floating-point registers"),a.O("\trp\tdump all registers"),a.O("\trx [#]\tset flag or register x to [#]");else{var d;null==c&&(c=!0);if(null!=b&&1g;g++){var h=c,e=null;if(g=a.Ja&&(k=null), +k){case "AL":a.F.G=a.F.G&-256|h&255;break;case "AH":a.F.G=a.F.G&-65281|h<<8&255;break;case "AX":a.F.G=a.F.G&-65536|h&65535;break;case "BL":a.F.H=a.F.H&-256|h&255;break;case "BH":a.F.H=a.F.H&-65281|h<<8&255;break;case "BX":a.F.H=a.F.H&-65536|h&65535;break;case "CL":a.F.I=a.F.I&-256|h&255;break;case "CH":a.F.I=a.F.I&-65281|h<<8&255;break;case "CX":a.F.I=a.F.I&-65536|h&65535;break;case "DL":a.F.M=a.F.M&-256|h&255;break;case "DH":a.F.M=a.F.M&-65281|h<<8&255;break;case "DX":a.F.M=a.F.M&-65536|h&65535; +break;case "SP":G(a.F,I(a.F)&-65536|h&65535);break;case "BP":a.F.P=a.F.P&-65536|h&65535;break;case "SI":a.F.K=a.F.K&-65536|h&65535;break;case "DI":a.F.J=a.F.J&-65536|h&65535;break;case "DS":wd(a.F,h);break;case "ES":xd(a.F,h);break;case "SS":ld(a.F,h);break;case "CS":lf(a.F,h);a.Y=gq(a,K(a.F),a.F.va.Z);break;case "IP":case "EIP":O(a.F,h);a.Y=gq(a,K(a.F),a.F.va.Z);break;case "PC":case "PS":zd(a.F,h);break;case "C":h?xf(a.F):yf(a.F);break;case "P":h?(e=a.F,e.resultType&=-3,e.ba|=4):(e=a.F,e.resultType&= +-3,e.ba&=-5);break;case "A":h?Ff(a.F):Df(a.F);break;case "Z":h?Gf(a.F):Ef(a.F);break;case "S":h?(e=a.F,e.resultType&=-17,e.ba|=128):(e=a.F,e.resultType&=-17,e.ba&=-129);break;case "I":h?(e=a.F,e.ba|=512):(e=a.F,e.ba&=-513);break;case "D":h?(e=a.F,e.ba|=1024):(e=a.F,e.ba&=-1025);break;case "V":h?zf(a.F):Af(a.F);break;default:var l=!0;if(80286<=a.F.ja)switch(l=!1,k){case "MS":Hf(a.F,h);break;case "TR":-1===a.F.Sa.load(h)&&(g=!1);break;default:if(l=!0,80386<=a.F.ja)switch(l=!1,k){case "EAX":a.F.G=h; +break;case "EBX":a.F.H=h;break;case "ECX":a.F.I=h;break;case "EDX":a.F.M=h;break;case "ESP":G(a.F,h);break;case "EBP":a.F.P=h;break;case "ESI":a.F.K=h;break;case "EDI":a.F.J=h;break;case "FS":a.F.Pb.load(h);break;case "GS":a.F.Qb.load(h);break;case "CR0":a.F.Ya=h;qj.call(a.F,h);break;case "CR2":a.F.qe=h;break;case "CR3":a.F.Md=h;Bd.call(a.F,h);break;default:l=!0}}if(l){a.O("unknown register: "+e);return}}if(!g){a.O("invalid value: "+f);return}Tc(a.F);a.O("updated registers:")}}a.O(xr(a,d));c&&(a.Y= +gq(a,K(a.F),a.F.va.Z),ir(a,Qq(a.Y)))}}function Ir(a,b){b=na(b);var c=b.match(/^(['"])(.*?)\1$/);c?a.O(fr(a,c[2])):Zq(a,b,!0)}function Jr(a,b,c){for(var d=null,e=b.Ra,f=e,g=1;6>=g&&e;g++){if(2h[0].indexOf("+"))){var l=h[0]+":";h[2]&&(l+=" "+h[2]);a.O(l)}h[3]&&(g=h[3],f=null);f=pr(a,b,g,f);b.Sd||d||d++;a.O(f);a.Y=b;e-=b.Da-k;c++}}} +function ar(a,b,c,d){if(c)if(b){0>a.U&&a.L.length&&(a.U=0);if(0>a.U||b!=a.L[a.U])a.L.splice(0,0,b),a.U=0;a.U--}else b=a.L[a.U+1];a=[];if(b){b=b.toLowerCase().replace(/""/g,"'");c=0;var e=null;d=d||";";for(var f=0;f<=b.length;f++){var g=b.charAt(f);if('"'==g||"'"==g)e?g==e&&(e=null):e=g;else if(g==d&&!e||!g)a.push(na(b.substring(c,f))),c=f+1}}return a} +function or(a,b,c){var d=!0;try{if(!b.length||"end"==b)a.Ea&&(a.O("ended assemble at "+Qq(a.ua)),a.Y=a.ua,a.Ea=!1),b="";else if(!c){var e=">> ";a.F.Ya&1&&(e=a.F.ba&131072?"-- ":"## ");a.O(e+b)}var f=b.charAt(0);if('"'==f||"'"==f)return!0;a.Pa=null;if(tb(a)&&0n||"z">>20;Ca.vi=a.F.Md+Ca.ck;Ca.zb=ae.sa[(Ca.vi&ae.Gb)>>>ae.La];Ca.Vi=Ca.zb.Kd(Ca.ck);Ca.dk=(Se&4190208)>>>10;Ca.wi=(Ca.Vi&-4096)+Ca.dk;Ca.Ab=ae.sa[(Ca.wi&ae.Gb)>>>ae.La];Ca.Wi=Ca.Ab.Kd(Ca.dk);Ca.Gk=(Ca.Wi&-4096)+(Se&4095)}if($d=Ca){a.O("linear PDE addr PDE PTE addr PTE physical");a.O("--------- ---------- -------- ---------- -------- ----------");var od="%"+r(Se),od=od+(" %%"+br($d.vi,$d.Vi)),od=od+(" %%"+br($d.wi,$d.Wi,!0)), +od=od+(" %%"+r($d.Gk));a.O(od)}else a.O("unsupported operation")}}else a.O("missing address")}else{if("d"==ha){if("disk"==ia){P[0]="l";P[1]="json";Hr(a,P);break a}for(ab in uq)if(P[1]==ab){var Cn=a.Za[ab];Cn?(P.shift(),P.shift(),Cn(P)):a.O("no dump registered for "+ia);break a}ia||(ha=a.oc||"db")}else a.oc=ha;if("dh"==ha){var Dn=ia,En=Ga,Fn="",Gn=0,rb=a.Fa,rc=a.ia;if(rc.length){var Cb=+Dn||a.Kb,be=+En||10;isNaN(Cb)?Cb=be:Fn="more ";Cb>rc.length&&(a.O("note: only "+rc.length+" available"),Cb=rc.length); +rb-=Cb;0>rb&&(null==rc[rc.length-1].Z?(Cb=rb+Cb,rb=0):rb+=rc.length);var ii=[];"call"==En&&(be=1E5,ii=["CALL"]);for(void 0!==Dn&&a.O(Cb+" instructions earlier:");0=rc.length&&(rb=0);a.Kb=Cb;Gn++;be--}}Gn||(a.O("no "+Fn+"history available"),a.Kb=void 0)}else if("di"==ha){P.shift(); +var ji=P[0];if(ji){var Ue=Cq(a,ji);if(void 0===Ue||0>Ue||255>> +0,65536>4||1,li="dd"==ha?4:"dw"==ha?2:1,Ln=0;Lnoi;oi++){var sg=a.Qa(ce,1),rg=rg|sg<<(mi++<<3);mi==li&&(Ve+=r(rg,2*li),Ve+=1==li?7==oi?"-":" ":" ",rg=mi=0);ni+=32<=sg&&128>sg?String.fromCharCode(sg):"."}qd&&(qd+="\n");qd+=ia+" "+Ve+" "+ni}qd&&a.O(qd);a.tb=ce}}}}}break;case "e":if("else"==g[0])break;var tg=1,Mn=255,Nn=a.Qa,On=a.tc;"ew"==g[0]&&(tg=2,Mn=65535,Nn=a.na,On=a.ib);var Pn=tg<<1,Qn=g[1]; +if(null==Qn)a.O("edit memory commands:"),a.O("\teb [a] [...] edit bytes at address a"),a.O("\tew [a] [...] edit words at address a");else{var ug=Xq(a,Qn);if(ug)for(var vg=2;vgui;){for(var sc=null,ls=256;Rc.Ra>>>0>>0;){Ye.Ra=a.ub(Rc,!0);if(null==Rc.Da||!ls--)break;Ye.Z=Sn;if(sc=Jr(a,Ye))break;Ye.Z=a.ub(Rc);if(sc=Jr(a,Ye,!0)){Sn=a.ub(Rc,!0);0Tr){if(d.load(this.U)){this.N=new jf(this,Vr,"failsafe");this.N.load()&&(Zr(this,d),a=2,Nr(this.N));N(this.N,"timestamp",qa());Or(this.N);var e=this.A&&!this.L;if(1==a||za("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=Pr(d)){var f=Qr(d,"code"),g=Qr(d,"data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!= +g?(this.Oa("Error: "+g),"unable to verify user"==g&&(Fa("user",""),this.B=null)):this.O(f+": "+g),Nr(d),d.load()?(c=Pr(d),e=!0):c=!1))}e&&Yr(this,c?d:null)}else 2==a&&d.clear()}else Yr(this);delete this.U;delete this.W}e=gb(this.id);for(f=0;fa[1];a=a[2];this.la.ec=!0;var d=this.qa.power;d&&(d.textContent="Shutdown");this.ga||(this.O("PCjs v"+Vr+"\nCopyright \u00a9 2012-2016 Jeff Parsons \nLicense: GPL version 3 or later "),this.ga=!0);this.F&&($r(this,this.F,b,c,a),Uc(this.F));this.ia&&(Zr(this,b),b.clear());!c&&this.N&&(this.N.clear(),delete this.N);this.C=0}; +function Zr(a,b){if(za("There may be a problem with your PCjs machine.\n\nTo help us diagnose it, click OK to send this PCjs machine state to http://www.pcjs.org.")){var c=a.ra,d=a.he(),e=b.toString(),f={app:"PCjs"};f.ver=Vr;f.url=c;f.user=d;f.type="bug";f.data=e;wa("http://www.pcjs.org/api/v1/report",f,!0)}} +function Lr(a,b,c){var d,e="none";if(a.C)return null;a.C--;var f=new jf(a,Vr),g=new jf(a,Vr,"validate"),h=qa();N(g,"timestamp",h);N(f,"timestamp",h);N(f,"version","1.21.3");N(f,"url",window?window.location.href:null);N(f,"browser",ya());a.F&&a.F.jc&&(c&&a.F.Xb(),d=a.F.jc(b,c),"object"===typeof d&&N(f,a.F.id,d),c&&(a.F.la.ec=!1,!1===d&&(e=null)));for(var h=gb(a.id),k=0;kh.indexOf("/")&&"/"==window.location.pathname.slice(-1)&&(h=window.location.pathname+h);d?"}"==d.slice(-1)?(d=d.slice(0,-1),1]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" parms='"+d+"'":"")+(h?' url="'+h+'"':""))}h=null;if("<"==a.charAt(0))try{e||(a=a.replace(/\s*/g, +"")),window.ActiveXObject||"ActiveXObject"in window?(h=new window.ActiveXObject("Microsoft.XMLDOM"),h.async=!1,h.loadXML(a)):h=(new window.DOMParser).parseFromString(a,"text/xml")}catch(q){h=null,a=q.message}else a="unrecognized XML: "+(255/g.exec(a)){var e=d[2];b("Loading "+e+"...");wa(e,null,!0,function(f,g,h){if(h||!g)c(a,"unable to resolve XML reference: "+d[0]+" ("+h+")");else{if(f=d[3])if(h=g.match(new RegExp("<"+d[1]+"[^>]*>"))){for(var k=h[0],l,n=/( [a-z]+=)(['"])(.*?)\2/g;l=n.exec(f);)k=0>k.indexOf(l[1])?k.replace(">",l[0]+">"):k.replace(new RegExp(l[1]+"(['\"])(.*?)\\1"),l[0]);h[0]!=k&&(g=g.replace(h[0],k))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/, +"");a=a.replace(d[0],g);qs(a,b,c)}})}else c(a,null)} +function rs(a,b,c,d){function e(a){if(void 0===h){var b=g&&nb(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=la(a))}function f(a){e("Error: "+a);k&&(--cs||Sa(!0));k=!1}var g,h,k=!0;cs++;eb[a]={};try{if(g=document.getElementById(a)){var l;if("object"==typeof resources&&(l=resources.css)){var n=document.head||document.getElementsByTagName("head")[0],q=document.createElement("style");q.type="text/css";q.styleSheet?q.styleSheet.cssText=l:q.appendChild(document.createTextNode(l));n.appendChild(q)}c|| +(c="/versions/pcjs/1.21.3/components.xsl");l=function(d,h){h?ds(c,null,null,!1,e,function(d,k){if(k)if(fb(a,c,d),e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var l=h.transformNode(k);l?(g.outerHTML=l,--cs||Sa(!0)):f("transformNodeToObject failed")}else document.implementation&&document.implementation.createDocument?(l=new XSLTProcessor,l.importStylesheet(k),(l=l.transformToFragment(h,document))?g.parentNode?(g.parentNode.replaceChild(l,g),--cs||Sa(!0)):f("invalid machine element: "+ +a):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f(d)}):f(d)};"<"!=b.charAt(0)?ds(b,a,d,!0,e,l):ps(b,null,a,d,!1,e,l)}else f("missing machine element: "+a)}catch(p){f(p.message)}return k}window.embedPC=function(a,b,c,d){Sa(!1);return rs(a,b,c,d)};window.enableEvents=Sa;window.sendEvent=Ta; +function ss(a,b,c,d){if(!c&&b){d.push(b);a=eb[d[0]];b=null;for(var e in a)if(ja(e,"components.xsl")){b=e.replace(".xsl",".css");break}b?wa(b,null,!0,function(a,b){ts(b,d)}):ts(null,d)}else w("Error ("+c+") requesting "+a)} +function ts(a,b){var c,d,e,f=b[0],g=b[1];c=b[4];c=c.match(/^(\s*\(function\(\)\{)([\s\S]*)(}\)\(\);\s*)$/);var h=eb[f],k={},l;for(l in h){var n=h[l],q=ga(l);if("xml"==q){for(q=/[ \t]*]*path=(['"])(.*?)\1.*?<\/disk>\n?/g;d=q.exec(h[l]);){var p=d[2];p&&(h[p]||(n=n.replace(d[0],"")))}d=l=fa(l)}else"xsl"==q&&(e=l=fa(l));k[l]=n}a&&(k[l="css"]=a);b[2]&&(k[l="parms"]=b[2]);b[3]&&(k[l="state"]=b[3]);d&&e?(l=JSON.stringify(k),g+=".js",c=c[1]+"var resources="+l+";"+c[2]+c[3],c=c.replace(/\u00A9/g, +"©"),c=Ia(c,"javascript",!1,g),c=c+(', copy it to your web server as "'+g+'", and then add the following to your web page:\n\n')+('
    \n'),c+="...\n",c+='