(function(){var k,aa,l,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]};function p(a,b){var c="";void 0===b?b=8:8<b&&(b=8);if(null==a||isNaN(a))for(;0<b--;)c="?"+c;else for(;0<b--;){var d=a&15,d=d+(0<=d&&9>=d?48:55),c=String.fromCharCode(d)+c;a>>=4}return c}function ca(a){return p(a,2)}function da(a,b){return void 0!==b?p(b,4)+":"+p(a,4):p(a)}
function ea(a,b){var c=a,d=a.lastIndexOf("/");0<=d&&(c=a.substr(d+1));d=c.indexOf("&");0<d&&(c=c.substr(0,d));b&&(d=c.lastIndexOf("."),0<d&&(c=c.substring(0,d)));return c}function fa(a){var b="",c=a.lastIndexOf(".");0<=c&&(b=a.substr(c+1).toLowerCase());return b}var ga={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};function ha(a){return a.replace(/[&<>"']/g,function(a){return ga[a]})}var ia=Date.now||function(){return+new Date};
function ja(){function a(a){return(10>a?"0":"")+a}var b=new Date;return b.getFullYear()+"-"+a(b.getMonth()+1)+"-"+a(b.getDate())+" "+a(b.getHours())+":"+a(b.getMinutes())+":"+a(b.getSeconds())}var ka=[31,28,31,30,31,30,31,31,30,31,30,31];
function la(a,b,c,d,e,f){b=!!b;var g=0,h=null,m=ea(a),n=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");b&&(n.onreadystatechange=function(){4===n.readyState&&(h=n.responseText,200==n.status||!n.status&&h.length&&"file:"==(window?window.location.protocol:"file:")||(g=n.status||-1),e&&(d?e.call(d,m,h,g,f):e(m,h,g,f)))});if(c){var r="",s;for(s in c)c.hasOwnProperty(s)&&(r&&(r+="&"),r+=s+"="+encodeURIComponent(c[s]));r=r.replace(/%20/g,"+");n.open("POST",
a,b);n.setRequestHeader("Content-type","application/x-www-form-urlencoded");n.send(r)}else n.open("GET",a,b),n.send();a=[];b||(h=n.responseText,200!=n.status&&(g=n.status||-1),e&&(d?e.call(d,m,h,g,f):e(m,h,g,f)),a=[g,h]);return a}function ma(){return"http://"+(window?window.location.host:"www.pcjs.org")}function q(a){window&&window.alert(a)}function na(a){var b=!1;window&&(b=window.confirm(a));return b}var oa=null;
function pa(){if(null==oa){var a=!1;if(window)try{window.localStorage.setItem("PCjs.localStorage","PCjs.localStorage"),a="PCjs.localStorage"==window.localStorage.getItem("PCjs.localStorage"),window.localStorage.removeItem("PCjs.localStorage")}catch(b){a=!1}oa=a}return oa}function qa(a){var b;if(window)try{b=window.localStorage.getItem(a)}catch(c){}return b}function ra(a,b){try{return window.localStorage.setItem(a,b),!0}catch(c){}return!1}
function sa(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 ta={init:[],show:[],exit:[]},ua=!1,va=!0;function wa(a,b){if(window){var c=window[a];window[a]="function"!==typeof c?b:function(){c&&c();b()}}}function za(a){ta.init.push(a)}
function Aa(a){if(va)try{for(var b=0;b<a.length;b++)a[b]()}catch(c){q("An unexpected exception occurred:\n\n"+c.message+"\n\nPlease send this information to support@pcjs.org. Thanks.")}}function Ba(a){!va&&a?(va=!0,ua&&Ca("init")):va=a}function Ca(a){ta[a]&&Aa(ta[a])}wa("onload",function(){ua=!0;Aa(ta.init)});wa("onpageshow",function(){Aa(ta.show)});wa(sa("Opera")||sa("iOS")?"onunload":"onbeforeunload",function(){Aa(ta.exit)});
function u(a,b,c){this.type=a;b||(b={id:"",name:""});this.id=b.id;this.name=b.name;this.Mj=b.comment;this.vo=b;void 0===this.id&&(this.id="");b=this.id.indexOf(".");0<b?(this.ek=this.id.substr(0,b),this.ei=this.id.substr(b+1)):this.ei=this.id;this[a]=c;this.ma={Og:!1,Ec:!1,Rh:!1,Pb:!1,Wc:!1};this.$h=null;this.ma.Wc=!1;this.sa={};this.Wa=null;Da[Da.length]=this}var Ea=void 0,Fa={};
if(window){Ea||(Ea=window.location.search.substr(1));for(var Ga,Ha=/\+/g,Ia=/([^&=]+)=?([^&]*)/g;Ga=Ia.exec(Ea);)Fa[decodeURIComponent(Ga[1].replace(Ha," "))]=decodeURIComponent(Ga[2].replace(Ha," "))}function Ja(a){function b(){}if(window){if(!a)throw new TypeError;if(Object.create)return Object.create(a);var c=typeof a;if("object"!==c&&"function"!==c)throw new TypeError;}b.prototype=a;return new b}function v(a,b){b.prototype=Ja(a.prototype)}var Da=[];
function Ka(a){var b,c=[];a&&(a=0<(b=a.indexOf("."))?a.substr(0,b+1):"");for(b=0;b<Da.length;b++){var d=Da[b];a&&d.id.indexOf(a)||c.push(d)}return c}function La(a,b){if(void 0!==a){var c;b&&0<(c=b.indexOf("."))&&(a=b.substr(0,c+1)+a);for(c=0;c<Da.length;c++)if(Da[c].id===a)return Da[c]}return null}
function Ma(a,b){var c;if(void 0!==a){var d;b&&(b=0<(d=b.indexOf("."))?b.substr(0,d+1):"");for(d=0;d<Da.length;d++)if(c)c==Da[d]&&(c=null);else if(!(a!=Da[d].type||b&&Da[d].id.indexOf(b)))return Da[d]}return null}function x(a){var b=null;if(a=a.getAttribute("data-value"))try{b=eval("({"+a+"})")}catch(c){q(c.message+" ("+a+")")}return b}window&&!window.document.ELEMENT_NODE&&(window.document.ELEMENT_NODE=1);
function Na(a,b){for(var c=y(b.parentNode,"pcjs-control"),d=0;d<c.length;d++)for(var e=c[d].childNodes,f=0;f<e.length;f++){var g=e[f];if(g.nodeType===window.document.ELEMENT_NODE){var h=g.getAttribute("class");if(h)for(var m=h.split(" "),n=0;n<m.length;n++)switch(h=m[n],h){case "pcjs-binding":(h=x(g))&&h.binding&&a.Gb(h.type,h.binding,g),n=m.length}}}}
function y(a,b,c){c&&(b+="-"+c+"-object");if(a.getElementsByClassName)return a.getElementsByClassName(b);var d;c=[];a=a.getElementsByTagName("*");var e=new RegExp("(^| )"+b+"( |$)");b=0;for(d=a.length;b<d;b++)e.test(a[b].className)&&c.push(a[b]);return c}
u.prototype={toString:function(){return this.name?this.name:this.id||this.type},Gb:function(a,b,c){switch(b){case "clear":return this.sa[b]||(this.sa[b]=c,c.onclick=function(a){return function(){a.sa.print&&(a.sa.print.value="")}}(this)),!0;case "print":return this.sa[b]||(this.Lh=this.sa[b]=c,c.value="",this.ic=function(a){return function(b,c){8192<a.value.length&&(a.value=a.value.substr(a.value.length-4096));a.value+=(void 0!==c?c+": ":"")+(b||"")+"\n";a.scrollTop=a.scrollHeight}}(c),this.Aa=function(a,
b,c){this.ic(a,"notice",c)}),!0;default:return!1}},log:function(){},ic:function(){},status:function(a){this.ic(this.ei+": "+a)},Aa:function(a,b){b||q(a)},ac:function(){return this.ma.Pb=!0},$b:function(a,b){b&&(this.ma.Pb=!1);return!0},hc:function(){return!1}};function Oa(a,b){if(a.ma.Rh)return a.ma.Ec&&(a.ma.Ec=!1),a.ma.Rh=!1;if(a.ma.Wc)return a.ic(a.toString()+" error"),!1;a.ma.Ec=b;return a.ma.Ec}
function z(a,b){if(!a.ma.Wc&&(a.ma.Og=!1!==b,a.ma.Og)){a.name&&a.log("ready");var c=a.$h;a.$h=null;c&&c()}}function Pa(a,b){b&&(a.ma.Og?b():a.$h=b);return a.ma.Og}function Qa(a,b){a.ma.Wc=!0;a.Aa("Fatal error: "+b)}function Ra(a){u.call(this,"Panel",a,Ra)}v(u,Ra);Ra.prototype.Gb=function(a,b,c){return this.Ta&&this.Ta.Gb(a,b,c)||this.ka&&this.ka.Gb(a,b,c)||this.Ha&&this.Ha.Gb(a,b,c)?!0:u.prototype.Gb.call(this,a,b,c)};Ra.prototype.xc=function(a,b,c,d){this.Ta=a;this.ka=c;this.Wa=d;this.Ha=Sa(a,"Keyboard")};
Ra.prototype.ac=function(a,b){b||Ta();return!0};Ra.prototype.$b=function(){return!0};function Ta(){for(var a=!1,b=y(window.document,"pcjs","panel"),c=0;c<b.length;c++){var d=b[c],e=x(d),f=La(e.id);f||(a=!0,f=new Ra(e));Na(f,d);a&&z(f)}}za(Ta);
function Ua(a,b,c){u.call(this,"Bus",a,Ua);this.ka=b;this.Wa=c;this.Df=a.buswidth||20;this.Bh=this.tc=(1<<this.Df)-1;this.xb=20>=this.Df?12:14;this.Cc=1<<this.xb;this.Jj=this.Cc>>2;this.Sa=this.Cc-1;this.zg=(this.Bh+this.Cc)/this.Cc|0;this.jd=this.zg-1;this.kg=[];this.lg=[];this.gi();z(this)}v(u,Ua);k=Ua.prototype;k.gi=function(){this.za=Array(this.zg);for(var a=0;a<this.zg;a++)this.za[a]=new Va(a*this.Cc);this.ka.gi(this.za,this.Bh,this.xb,this.Sa,this.jd);this.ka.be=this.tc};
k.reset=function(){Ya(this,!0)};k.ac=function(a,b){b||this.reset();return!0};function Za(a,b,c,d,e){if(!(b&a.Sa||!c||c&a.Sa)){for(var f=b>>a.xb;0<c&&f<a.za.length;){var g=a.za[f];if(void 0!==g&&g.size)return $a(1,b,c);b=f*a.Cc;a.za[f++]=new Va(b,a.Cc,d,e);c-=a.Cc}return!0}return $a(2,b,c)}function Ya(a,b){if(void 0!==b&&20<a.Df){var c=a.tc&-1048577|(b?1048576:0);c!=a.tc&&(a.tc=c,a.ka&&(a.ka.be=c))}}
k.rh=function(a,b,c){if(!(a&this.Sa||!b||b&this.Sa)){for(var d=a>>this.xb;0<b;){var e=this.za[d];if(!e.ea)return $a(5,a,b);e.ye(c);b-=this.Cc;d++}return!0}return $a(3,a,b)};function ab(a,b,c){if(!(b&a.Sa||!c||c&a.Sa)){for(var d=b>>a.xb;0<c;)b=d*a.Cc,a.za[d++]=new Va(b),c-=a.Cc;return!0}return $a(4,b,c)}k.pd=function(a){return this.za[(a&this.tc)>>this.xb].jc(a&this.Sa)};function bb(a,b){return a.za[(b&a.tc)>>a.xb].ij(b&a.Sa)}
k.pa=function(a){var b=a&this.Sa;a=(a&this.tc)>>this.xb;return b!=this.Sa?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.jd].jc(0)<<8};function cb(a,b){var c=b&a.Sa,d=(b&a.tc)>>a.xb;return c!=a.Sa?a.za[d].wo(c):a.za[d++].ij(c)|a.za[d&a.jd].ij(0)<<8}k.ze=function(a,b){this.za[(a&this.tc)>>this.xb].lc(a&this.Sa,b&255)};k.Oa=function(a,b){var c=a&this.Sa,d=(a&this.tc)>>this.xb;c!=this.Sa?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.jd].lc(0,b>>8&255))};
function db(a,b,c){var d=b&a.Sa;b=(b&a.tc)>>a.xb;d!=a.Sa?a.za[b].Go(d,c&65535):(a.za[b++].qj(d,c&255),a.za[b&a.jd].qj(0,c>>8&255))}function eb(a){for(var b=0,c=[],d=0;d<a.zg;d++){var e=a.za[d];if(e.nb||e.Qj){c[b++]=d;var f=c,g=b++;a:if(e=e.save()){for(var h=0,m=0,n=[];h<e.length;){for(var r=e[h],s=h+1;s<e.length&&e[s]===r;)s++;n[m++]=s-h;n[m++]=r;h=s}if(n.length<e.length){e=n;break a}}f[g]=e}}c[b]=a.Bh==a.tc;return c}
function fb(a,b,c,d){void 0===d&&(d=0);for(var e in c){e=parseInt(e,10);var f=a,g=e+d,h=b,m=c[e];if(void 0!==m)for(var n=e+d;n<=g;n++)void 0!==f.kg[n]?q("Input port "+p(n,4)+" registered by "+f.kg[n][0].id+", ignoring "+h.id):f.kg[n]=[h,m,!1,!1]}}function gb(a,b,c){var d=255;a=a.kg[b];void 0!==a&&a[1]&&(d=a[1].call(a[0],b,c));return d}
function hb(a,b,c,d){void 0===d&&(d=0);for(var e in c){e=parseInt(e,10);var f=a,g=e+d,h=b,m=c[e];if(void 0!==m)for(var n=e+d;n<=g;n++)void 0!==f.lg[n]?q("Output port "+p(n,4)+" registered by "+f.lg[n][0].id+", ignoring "+h.id):f.lg[n]=[h,m,!1,!1]}}function ib(a,b,c,d){a=a.lg[b];void 0!==a&&a[1]&&a[1].call(a[0],b,c,d)}function $a(a,b,c){q("Memory block error ("+a+","+p(b)+","+p(c)+")");return!1}
function Va(a,b,c,d){this.Ql=b||0;this.qa=null;this.offset=0;this.Wj=c;this.ea=null;this.nb=this.Qj=!1;if(b)if(d)this.ea=d,a=[d.ce,a-d.Xa],this.qa=a[0],this.offset=a[1],this.ye(d.of);else{this.qa=Array(b>>2);for(d=0;d<this.qa.length;d++)this.qa[d]=0;this.ye(jb)}else this.ye()}function kb(){return 0}var lb;lb=function(){};
var jb=[function(a){return this.qa[a>>2]>>>((a&3)<<3)&255},function(a){var b=a>>2;a=(a&3)<<3;var c=this.qa[b]>>>a;return 24>a?c&65535:c&255|(this.qa[b+1]&255)<<8},function(a,b){var c=a>>2,d=(a&3)<<3;this.qa[c]=this.qa[c]&~(255<<d)|b<<d;this.nb=!0},function(a,b){var c=a>>2,d=(a&3)<<3;24>d?this.qa[c]=this.qa[c]&~(65535<<d)|b<<d:(this.qa[c]=this.qa[c]&16777215|b<<24,c++,this.qa[c]=this.qa[c]&4294967040|b>>8);this.nb=!0}];
Va.prototype={save:function(){return this.ea?null:this.qa},restore:function(a){return this.ea?null==a:a&&this.Ql==a.length<<2?(this.qa=a,this.nb=!0):!1},ye:function(a,b){a||(a=[]);void 0===b&&(b=!0);var c=a;this.jc=c[0]||kb;this.rl=c[1]||kb;b&&(this.ij=c[0]||kb,this.wo=c[1]||kb);c=a;this.lc=!this.Wj&&c[2]||lb;this.Fl=!this.Wj&&c[3]||lb;b&&(this.qj=c[2]||lb,this.Go=c[3]||lb)}};
function mb(a,b){u.call(this,"CPU",a,mb);var c=a.cycles||b,d=a.multiplier||1;this.ba={};this.ba.Zc=c;this.ba.Od=d;this.ba.Ug=Math.round(this.ba.Zc/1E4)/100;this.ba.$e=this.ba.Ug*this.ba.Od;this.ma.Pb=!1;this.ma.Hb=!1;this.ma.Zj=!1;this.ma.Qh=a.autoStart;this.ma.Rj=!1;c=Fa.autostart;void 0!==c&&(this.ma.Qh="true"==c?!0:"false"==c?!1:null);this.ma.Jg=!1;this.ba.Yg=this.ba.bf=0;this.ba.Zg=a.csStart;this.ba.Ef=a.csInterval;this.ba.Ff=a.csStop;var e=this;this.xn=function(){nb(e)};z(this)}v(u,mb);k=mb.prototype;
k.xc=function(a,b,c,d){this.ra=b;this.Wa=d;this.Ta=a;var e=Sa(a,"Video");e&&(this.yf=function(){ob(e)},this.dd=function(){e.dd()});this.la=Sa(a,"ChipSet");z(this)};k.reset=function(){};k.save=function(){return null};k.restore=function(){return!1};k.ac=function(a,b){if(!b){if(a&&this.restore){pb(this);if(!this.restore(a))return!1;qb(this)}else this.reset();this.ic("No debugger detected")}this.ma.Pb=!0;!rb(this)&&this.Wa&&this.Wa.Zp();this.yf();this.Qe();return!0};
k.$b=function(a){this.ma.Pb=!1;return a&&this.save?this.save():!0};function rb(a){return!0===a.ma.Qh||null===a.ma.Qh&&void 0===a.sa.run?(nb(a),!0):!1}k.bk=function(){return 0};function qb(a){void 0===a.ba.Zg&&(a.ba.Zg=0);void 0===a.ba.Ef&&(a.ba.Ef=-1);void 0===a.ba.Ff&&(a.ba.Ff=-1);a.ma.Jg=0<=a.ba.Zg&&0<a.ba.Ef;a.ma.Jg&&(a.ba.Yg=0,a.ba.bf=a.ba.Zg-a.ve)}
function A(a,b,c,d){a.sa[b]&&(void 0===d&&(d=4),void 0===c&&(Qa(a,"Register "+b+" is invalid"),B(a)),c=!a.ma.Hb||a.ma.Rj?p(c,d):"----".substr(0,d),a.sa[b].textContent!=c&&(a.sa[b].textContent=c))}k.Qe=function(){};k.yf=function(){};k.dd=function(){};
k.Gb=function(a,b,c){var d=this;a=!1;switch(b){case "run":this.sa[b]=c;c.onclick=function(){d.ma.Hb?B(d,!0):nb(d,!0)};a=!0;break;case "reset":this.sa[b]=c;c.onclick=function(){d.Ta&&sb(d.Ta)};a=!0;break;case "speed":this.sa[b]=c;a=!0;break;case "setSpeed":this.sa[b]=c,c.onclick=function(){tb(d,d.ba.Od<<1,!0)},c.textContent=this.ba.$e.toFixed(2)+"Mhz",a=!0}return a};function ub(a,b){if(a.ma.Hb){var c=a.A-b;a.A-=c;a.Yc-=c}}function vb(a,b,c){a.ve+=b;c&&(a.Yc=a.A=0)}
function wb(a,b){var c=30;60>c&&(c=60);2>c&&(c=2);var d=1;b&&1<a.ba.Od&&a.ba.Md&&(d=a.ba.Md/a.ba.Ug);a.ba.ik=Math.round(1E3/30);a.ba.sn=Math.floor(a.ba.Zc/c*d);a.ba.ni=Math.floor(a.ba.Zc/30*d);a.ba.mk=Math.floor(a.ba.Zc/60*d);a.ba.lk=Math.floor(a.ba.Zc/2*d);b||(a.ba.If=a.ba.ni,a.ba.Hf=a.ba.mk,a.ba.Gf=a.ba.lk);a.ba.oi=0}function C(a,b){var c=a.ve+a.Sd+a.Yc-a.A;b&&1<a.ba.Od&&a.ba.Md>a.ba.Ug&&(c=Math.round(c/a.ba.Od));return c}function pb(a){a.ba.Md=0;a.ve=a.Sd=a.Yc=a.A=0;qb(a);tb(a,1)}
function tb(a,b,c){if(void 0!==b){0.8>a.ba.Md/a.ba.$e&&(b=1);a.ba.Od=b;b=a.ba.Ug*a.ba.Od;if(a.ba.$e!=b){a.ba.$e=b;b=a.ba.$e.toFixed(2)+"Mhz";var d=a.sa.setSpeed;d&&(d.textContent=b);a.ic("target speed: "+b)}c&&a.dd()}vb(a,a.Sd);a.Sd=0;a.ba.af=ia();a.ba.se=0;wb(a)}
function nb(a,b){if(Oa(a,!0)){if(!a.ma.Hb){tb(a);a.Ta&&a.Ta.start(a.ba.af,C(a));a.ma.Hb=!0;a.ma.Zj=!0;a.la&&xb(a.la);var c=a.sa.run;c&&(c.textContent="Halt");a.Qe(!0);b&&a.dd()}a.ba.oi>=a.ba.Zc&&wb(a,!0);a.ba.Jf=0;a.ba.Wg=ia();a.ba.se&&(c=a.ba.Wg-a.ba.se,c>a.ba.ik&&(a.ba.af+=c,a.ba.af>a.ba.Wg&&(a.ba.af=a.ba.Wg)));try{do{var d=a.ma.Jg?1:a.ba.sn;if(a.la){yb(a.la);var e=a.la,c=d,f=e.Kb[0];if(f.pe){var g=(C(e.ka,e.Jd)-f.sd)/e.gh|0,h=Ab(e,0)-g;6==f.mode&&(h-=g);var m=h*e.gh|0;6==f.mode&&(m>>=1);c>m&&(c=
m)}var d=c,n=a.la,c=d;if(n.ja&&n.ja[11]&64){var r=n.df-C(n.ka,n.Jd);0<r&&c>r&&(c=r)}d=c}a.Cl(d);var s=a.Yc-a.A;a.Sd+=s;a.ba.Jf+=s;vb(a,0,!0);var c=a,t=s;if(c.ma.Jg){var w=!1;c.ba.Yg=c.ba.Yg+c.bk()|0;c.ba.bf-=t;0>=c.ba.bf&&(c.ba.bf+=c.ba.Ef,w=!0);0<=c.ba.Ff&&c.ba.Ff<=C(c)&&(c.ba.Ef=c.ba.Ff=-1,qb(c),B(c),w=!0);w&&c.ic(C(c)+" cycles: checksum="+p(c.ba.Yg))}a.ba.Hf-=s;0>=a.ba.Hf&&(a.ba.Hf+=a.ba.mk,a.yf());a.ba.Gf-=s;0>=a.ba.Gf&&(a.ba.Gf+=a.ba.lk,a.Qe());a.ba.If-=s;if(0>=a.ba.If){a.ba.If+=a.ba.ni;break}}while(a.ma.Hb)}catch(D){B(a);
a.yf();a.Qe();a.Ta&&a.Ta.stop(ia(),C(a));Oa(a,!1);Qa(a,D.message);return}d=setTimeout;e=a.xn;a.ba.se=ia();f=a.ba.ik;a.ba.Jf&&(f=Math.round(f*a.ba.Jf/a.ba.ni));f-=a.ba.se-a.ba.Wg;if(g=a.ba.se-a.ba.af)a.ba.Md=Math.round(a.Sd/(10*g))/100,864E5<=g&&(a.ve=0,a.la&&yb(a.la,!0),tb(a));if(0>f||a.ba.Md<a.ba.$e)f=0;a.ba.oi+=a.ba.Jf;a.ba.se+=f;d(e,f)}else a.yf(),a.Qe(),a.Ta&&a.Ta.stop(ia(),C(a))}k.Cl=function(){return 0};
function B(a,b){a.ma.Ec&&(a.ma.Rh=!0);a.Yc-=a.A;a.A=0;vb(a,a.Sd);a.Sd=0;if(a.ma.Hb){a.ma.Hb=!1;a.la&&xb(a.la);var c=a.sa.run;c&&(c.textContent="Run")}a.ma.zf=b}
var Bb=[1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,
0,0,1,1,0,1,0,0,1];function Cb(a,b,c,d){this.ka=a;this.Wa=a.Wa;this.id=b;this.ph=c||"";this.La=this.Ba=0;this.Rc=65535;this.lb=0;this.yd=-4;this.pc=this.$a=0;this.Dj=this.id==Db?Array(32):[];this.Sh=null;this.Qg=!1;Eb(this,d)}var Db=1;function Fb(a){this.Ba=a;return this.La=a<<4}function Gb(a,b){var c,d,e=this.ka;a&4?(c=e.Xd.La,d=c+e.Xd.Rc):(c=e.Kc,d=e.Ke);if(!b||c){c+=a&65528;if(c+7<=d)return b||(e.A-=15),Hb(this,c,a,b);b||E.call(e,13,a)}return-4}
function Ib(a){var b=this.ka;a=b.Lc+(a<<2);b.ua=b.pa(a);this.Ba=b.pa(a+2);b.Ea&=-769;return this.La=this.Ba<<4}function Jb(a){var b=this.ka;a<<=3;var c=b.Lc+a;if(c+7<=b.Le)return Hb(this,c,a);E.call(b,13,a|3,!0);return-4}function Kb(a){return this.La+a}function Lb(a){return this.La+a}function Mb(a,b,c){return a+b<=this.Rc?this.La+a:Nb.call(this,0,0,c)}function Ob(a,b,c){return a+b>this.Rc?this.La+a:Nb.call(this,0,0,c)}function Nb(a,b,c){c||E.call(this.ka,13,0);return-4}
function Pb(a,b,c){return a+b<=this.Rc?this.La+a:Qb.call(this,0,0,c)}function Sb(a,b,c){return a+b>this.Rc?this.La+a:Qb.call(this,0,0,c)}function Qb(a,b,c){c||E.call(this.ka,13,0);return-4}
function Tb(a,b){var c=this.ka,d=c.kb.La,e=this.$a,f=c.kb.Ba;if(!b){if(768!=c.kb.type)return E.call(c,10,a,!0),!1;c.Oa(c.kb.yd+4,c.kb.lb&-769|256)}if(-4==c.kb.load(a))return!1;var g=c.kb.La;if(b){if(768==c.kb.type)return E.call(c,13,a,!0),!1;c.Oa(c.kb.yd+4,c.kb.lb|=768);c.kb.type=768}c.Oa(d+14,c.ua);c.Oa(d+16,Ub(c));c.Oa(d+18,c.H);c.Oa(d+20,c.J);c.Oa(d+22,c.K);c.Oa(d+24,c.C);c.Oa(d+26,c.X);c.Oa(d+28,c.I);c.Oa(d+30,c.G);c.Oa(d+32,c.F);c.Oa(d+34,c.Ua.Ba);c.Oa(d+36,c.ya.Ba);c.Oa(d+38,c.jb.Ba);c.Oa(d+
40,c.tb.Ba);var d=38,h=26;Vb(c,c.pa(g+16)|(b?16384:0));c.H=c.pa(g+18);c.J=c.pa(g+20);c.K=c.pa(g+22);c.C=c.pa(g+24);c.I=c.pa(g+28);c.G=c.pa(g+30);c.F=c.pa(g+32);c.Ua.load(c.pa(g+34));c.tb.load(c.pa(g+40));Wb(c,c.pa(g+14),c.pa(g+36));this.$a<e&&(h=(this.$a<<2)+2,d=h+2);c.X=c.pa(g+h);c.jb.load(c.pa(g+d));c.Xd.load(c.pa(g+42));b&&c.Oa(g+0,f);c.kc|=8;return!0}function Xb(a,b,c){var d=a.ka,e=d.pa(b+2),f=d.pa(b+0)|(e&255)<<16,d=d.pa(b+4);a.Ba=c;a.La=f;a.Rc=d;a.lb=e&65280;a.yd=b;Eb(a)}
function Hb(a,b,c,d){for(var e=a.ka,f=e.pa(b+0),g=e.pa(b+4),h=g&7936,m=e.pa(b+2)|(g&255)<<16,n=c&65528;;){var r;if(a.id==Db){a.Qg=!1;var n=a.Sh,s,t,w=c&3,D=(g&24576)>>13;if(6144<=h){w=c&3;if(w>a.$a){if(!1!==n&&!(D==a.$a||g&1024&&D<=a.$a)){m=-4;break}s=e.Ja();e.jb.load(e.Ja());e.X=s;a.Qg=!0}s=!1}else if(1024==h)s=!0,t=-1,r=c,w<a.$a&&(w=a.$a);else if(1536==h)s=!0,t=-17153,r=c|1;else if(1792==h)s=!0,t=-16641,r=c|1;else if(1280==h){if(!Tb.call(a,m&65535,!0)){m=-4;break}return a.La}if(s){b=m&65535;if(w<=
D){d=a.$a;if(-4==a.load(b,!0)){m=-4;break}e.ua=f;if(a.$a<d){if(!0!==n){m=-4;break}s=e.X;f=0;for(g&=31;g--;)a.Dj[f++]=e.pa(e.jb.Dc(s,1)),s+=2;g=e.kb.La;d=(a.$a<<2)+2;n=d+2;r=e.X;b=e.jb.Ba;e.X=e.pa(g+d);e.jb.load(e.pa(g+n));F(e,b);for(F(e,r);f;)F(e,a.Dj[--f]);a.Qg=!0}e.Ea&=t;return a.La}d||E.call(e,13,r,!0);m=-4;break}else if(!1!==s){d||E.call(e,13,c,!0);m=-4;break}}else if(2==a.id){if(n&&(4096>h||2048==(h&2560))){d||E.call(e,13,c,!!g);m=-4;break}}else if(3==a.id){if(!n||4096>h||2048==(h&2560)){d||
E.call(e,13,c,!0);m=-4;break}}else if(4==a.id){if(!n||256!=h&&768!=h){d||E.call(e,10,c,!0);m=-4;break}}else if(6==a.id&&!(g&4096)&&768<h){m=-4;break}a.Ba=c;a.La=m;a.Rc=f;a.lb=g;a.type=h;a.yd=b;Eb(a);break}return m}Cb.prototype.save=function(){return[this.Ba,this.La,this.Rc,this.lb,this.id,this.ph,this.$a,this.pc,this.yd]};
Cb.prototype.restore=function(a){"number"==typeof a?this.load(a):(this.Ba=a[0],this.La=a[1],this.Rc=a[2],this.lb=a[3],this.id=a[4],this.ph=a[5],this.$a=a[6],this.pc=a[7],this.yd=a[8])};
function Eb(a,b){void 0===b&&(b=!!(a.ka.kc&1));if(b){a.load=Gb;a.hk=Jb;a.Dc=Mb;a.Yb=Pb;if(a.lb&4096){6144==(a.lb&6656)&&(a.Yb=Nb);if(a.lb&2048||!(a.lb&512))a.Yb=Qb;1024==(a.lb&3072)&&(a.Dc==Mb&&(a.Dc=Ob),a.Yb==Pb&&(a.Yb=Sb))}a.$a=a.Ba&3;a.pc=(a.lb&24576)>>13}else a.load=Fb,a.hk=Ib,a.Dc=Kb,a.Yb=Lb,a.Rc=65535,a.$a=a.pc=0,a.yd=-4}
function Yb(a){this.Ia=a.model||8088;var b=0;switch(this.Ia){default:case 8088:b=4772727;break;case 80286:b=6E6}mb.call(this,a,b);this.wj=61442;this.hg=1792;this.gg=4;this.ef=255;this.B=80286<=this.Ia?Zb:$b;this.Va=ac.slice();this.Ml=bc.slice();this.Nl=cc.slice();this.zj=dc;80186<=this.Ia&&(this.ef=31,this.Va[15]=G,this.Va[96]=ec,this.Va[97]=fc,this.Va[98]=gc,this.Va[99]=G,this.Va[100]=G,this.Va[101]=G,this.Va[102]=G,this.Va[103]=G,this.Va[104]=hc,this.Va[105]=ic,this.Va[106]=jc,this.Va[107]=kc,this.Va[108]=
lc,this.Va[109]=mc,this.Va[110]=nc,this.Va[111]=oc,this.Va[192]=pc,this.Va[193]=qc,this.Va[200]=rc,this.Va[201]=sc,this.Va[241]=tc,this.Ml[7]=uc,this.Nl[7]=uc,80286<=this.Ia&&(this.wj=2,this.hg|=28672,this.gg=0,this.Va[15]=vc,this.Va[99]=wc,this.Va[84]=xc));this.jg=[];this.yj=[];this.Yc=this.Bg=0;this.ma.zf=this.ma.am=!1;this.za=[];this.be=this.xb=this.Sa=this.jd=0;this.T=this.hm;this.U=this.im;this.O=this.ln;this.P=this.mn;this.R=this.Do;this.S=this.Eo;yc(this)}v(mb,Yb);
var $b={dj:4,aa:5,ta:6,fa:7,ga:8,Q:9,V:11,W:12,te:4,ok:60,pk:83,Rb:3,vb:9,fc:16,dh:1,tk:19,vk:28,xk:16,wk:21,uk:37,rk:2,xi:9,sk:5,qk:33,zi:10,yi:8,Pf:3,Of:15,Lk:51,Mk:1,Nk:2,Ok:4,Kk:32,Ai:15,Qk:15,Sb:16,Tb:4,Sk:11,Rk:18,Pk:24,Eb:4,Tk:2,Bi:16,Uk:17,Gi:18,Vk:19,Fi:5,Hi:6,$k:2,Zk:8,Xk:9,Yk:10,Wk:10,Ii:10,Ji:10,zk:80,Bk:144,yk:86,Ak:154,Dk:101,Fk:165,Ck:107,Ek:171,bl:70,dl:113,al:76,cl:124,Hk:80,Jk:128,Gk:86,Ik:134,Rf:3,Qf:16,Oi:10,Ni:8,el:51,gc:8,fl:17,gl:36,qc:11,hl:16,Sf:10,Rd:2,ui:18,vi:7,wi:15,Ci:12,
Di:7,Ei:11,Ki:18,Li:7,Mi:15,Pi:15,Qi:7,Ri:13,Vi:11,Wi:7,Xi:8,il:8,ll:12,jl:18,kl:17,ml:15,Ti:8,Si:20,Ui:2,$i:3,Tf:9,Zi:5,Yi:11,bj:4,aj:17,nl:11},Zb={dj:0,aa:0,ta:0,fa:0,ga:0,Q:0,V:1,W:1,te:3,ok:14,pk:16,Rb:2,vb:7,fc:7,dh:0,tk:7,vk:13,xk:7,wk:11,uk:16,rk:3,xi:6,sk:2,qk:13,zi:5,yi:5,Pf:2,Of:7,Lk:23,Mk:0,Nk:1,Ok:3,Kk:17,Ai:7,Qk:11,Sb:7,Tb:3,Sk:7,Rk:11,Pk:15,Eb:2,Tk:3,Bi:7,Uk:8,Gi:8,Vk:8,Fi:4,Hi:4,$k:2,Zk:3,Xk:5,Yk:2,Wk:3,Ii:5,Ji:3,zk:14,Bk:22,yk:17,Ak:25,Dk:17,Fk:25,Ck:20,Ek:28,bl:13,dl:21,al:16,cl:24,
Hk:13,Jk:21,Gk:16,Ik:24,Rf:2,Qf:7,Oi:5,Ni:5,el:19,gc:5,fl:5,gl:17,qc:3,hl:5,Sf:3,Rd:0,ui:8,vi:5,wi:9,Ci:5,Di:5,Ei:4,Ki:5,Li:5,Mi:4,Pi:7,Qi:5,Ri:8,Vi:3,Wi:4,Xi:3,il:11,ll:11,jl:15,kl:15,ml:7,Ti:5,Si:8,Ui:0,$i:2,Tf:6,Zi:3,Yi:6,bj:3,aj:5,nl:5};k=Yb.prototype;k.gi=function(a,b,c,d,e){this.za=a;this.be=b;this.xb=c;this.Sa=d;this.jd=e};k.reset=function(){this.ma.Hb&&B(this);yc(this);pb(this);this.ma.Wc=!1};
function yc(a){a.H=0;a.C=0;a.J=0;a.K=0;a.X=0;a.I=0;a.G=0;a.F=0;a.kc=65520;a.Lc=0;a.Le=1023;a.cf=0;a.bh=-1;a.ya=new Cb(a,Db,"CS");a.tb=new Cb(a,2,"DS");a.Ua=new Cb(a,2,"ES");a.jb=new Cb(a,3,"SS");a.Al=new Cb(a,0,"NULL");Wb(a,0,65535);80286<=a.Ia&&(a.Kc=0,a.Ke=65535,a.Xd=new Cb(a,5,"LDT",!0),a.kb=new Cb(a,4,"TSS",!0),a.Ib=new Cb(a,6,"VER",!0),Wb(a,65520,61440),a.ya.La=16711680);Vb(a,0);zc(a);a.ob=0;a.Fb=a.$f=-1;a.ug=0;a.ha=a.Ka=-4;a.D=a.tb;a.N=a.jb;a.Z=a.wa=0}
k.bk=function(){var a=this.H+this.C+this.J+this.K+this.X+this.I+this.G+this.F|0;return a=a+this.ua+this.ya.Ba+this.tb.Ba+this.jb.Ba+this.Ua.Ba+Ub(this)|0};function Ac(a,b,c,d){void 0!==d&&(void 0===a.jg[b]&&(a.jg[b]=[]),a.jg[b].push([c,d]))}function Dc(a,b){var c=a.yj[b];null!=c&&(c(--a.Bg),delete a.yj[b])}function zc(a,b){void 0===b&&(b=!!(a.kc&1));b||a.hc("returning to real-mode");a.zj=b?Ec:dc;Eb(a.ya,b);Eb(a.tb,b);Eb(a.jb,b);Eb(a.Ua,b)}
k.save=function(){var a=new H(this);a.set(0,[this.H,this.C,this.J,this.K,this.X,this.I,this.G,this.F,this.cf]);a.set(1,[this.ua,this.ya.save(),this.tb.save(),this.jb.save(),this.Ua.save(),null!=this.Kc?[this.kc,this.Kc,this.Ke,this.Lc,this.Le,this.Xd.save(),this.kb.save(),this.cf]:null,Ub(this)]);a.set(2,[this.D.ph,this.N.ph,this.Z,this.wa,this.ob,this.ha,this.Ka]);a.set(3,[0,this.ve,this.ba.Od]);a.set(4,eb(this.ra));return a.data()};
k.restore=function(a){var b;b=a[0];this.H=b[0];this.C=b[1];this.J=b[2];this.K=b[3];this.X=b[4];this.I=b[5];this.G=b[6];this.F=b[7];this.cf=b[8]||0;b=a[1];this.ya.restore(b[1]);this.tb.restore(b[2]);this.jb.restore(b[3]);this.Ua.restore(b[4]);var c=b[5];c&&c.length&&(this.kc=c[0],this.Kc=c[1],this.Ke=c[2],this.Lc=c[3],this.Le=c[4],this.Xd.restore(c[5]),this.kb.restore(c[6]),this.cf=c[7],zc(this));Vb(this,b[6]);I(this,b[0]);b=a[2];this.D=null!=b[0]&&Fc(this,b[0])||this.tb;this.N=null!=b[1]&&Fc(this,
b[1])||this.jb;this.Z=b[2];this.wa=b[3];this.ob=b[4];this.ha=b[5];this.Ka=b[6];b=a[3];this.ve=b[1];tb(this,b[2]);a:{b=this.ra;a=a[4];for(c=0;c<a.length-1;c+=2){var d=a[c],e=a[c+1];if(e&&e.length<b.Jj){for(var f=0,g=Array(b.Jj),h=0;h<e.length-1;)for(var m=e[h++],n=e[h++];m--;)g[f++]=n;e=g}f=b.za[d];if(!f||!f.restore(e)){q("Unable to restore memory block "+d);b=!1;break a}}void 0!==a[c]&&Ya(b,a[c]);b=!0}return b};
function Fc(a,b){switch(b){case "CS":return a.ya;case "DS":return a.tb;case "SS":return a.jb;case "ES":return a.Ua;case "NULL":return a.Al;default:return[0,b,0,0,""]}}function Gc(a,b){a.Da=a.ya.load(b)+a.ua;a.Z|=a.gg}function Hc(a,b){a.tb.load(b);a.Z|=a.gg}function Ic(a,b){a.jb.load(b);a.Z|=4}function Jc(a,b){a.Ua.load(b);a.Z|=a.gg}function I(a,b){a.Da=a.ya.La+(a.ua=b&65535)}function Wb(a,b,c,d){a.ya.Sh=d;a.ua=b;b=a.ya.load(c);return-4!=b?(a.Da=b+a.ua,a.ya.Qg):null}
function J(a,b){a.Da=a.ya.La+(a.ua=a.ua+b&65535)}function Kc(a){return a.Y&a.ca?1:0}function Lc(a){return Bb[a.ia&255]?4:0}function Mc(a){return(a.ia^a.na)&16?16:0}function Nc(a){return a.Y&a.ca-1?0:64}function Oc(a){return a.ia&a.ca>>1?128:0}function Pc(a){return(a.ia^a.na^a.ia>>1)&a.ca>>1?2048:0}function Qc(a){a.Y&=~a.ca}function Rc(a){a.na=a.ia&16|a.na&-17}function Sc(a){a.Y|=a.ca-1}function Tc(a){a.ia&=~a.ca;a.na=a.ia&32896|a.na&-32897}function Uc(a){a.Y|=a.ca}
function Vc(a){a.na=~(a.ia&16)&16|a.na&-17}function Wc(a){a.Y&=~(a.ca-1)}function Xc(a){Oc(a)||(a.ia^=a.ca>>1|a.ca>>2,a.na^=32896)}function Yc(a){a.ia|=a.ca;a.na=a.ia&32896|a.na&-32897}function Ub(a){return a.Ea&-2262|Kc(a)|Lc(a)|Mc(a)|Nc(a)|Oc(a)|Pc(a)}
function Vb(a,b,c){a.ca=256;a.Y=a.ia=a.na=0;b&1&&Uc(a);b&4||(a.ia|=1);b&16&&(a.na|=16);b&64||Sc(a);b&128&&Xc(a);b&2048&&Yc(a);a.kc&1||(b&=-61441);void 0===c&&(c=a.ya.$a);c?b=b&-12289|a.Ea&12288:a.cf=(b&12288)>>12;c>a.cf&&(b=b&-513|a.Ea&512);a.Ea=a.Ea&~a.hg|b&a.hg|a.wj;a.Ea&256&&(a.ob|=2,a.Z|=4)}
k.Gb=function(a,b,c){var d=!1;switch(b){case "AX":case "BX":case "CX":case "DX":case "SP":case "BP":case "SI":case "DI":case "CS":case "DS":case "SS":case "ES":case "IP":case "PC":case "PS":case "C":case "P":case "A":case "Z":case "S":case "T":case "I":case "D":case "V":this.sa[b]=c;d=!0;break;default:d=mb.prototype.Gb.call(this,a,b,c)}return d};k.pd=function(a){return this.za[(a&this.be)>>this.xb].jc(a&this.Sa)};
k.pa=function(a){var b=a&this.Sa;a=(a&this.be)>>this.xb;this.A-=this.B.dj;return b!=this.Sa?this.za[a].rl(b):this.za[a++].jc(b)|this.za[a&this.jd].jc(0)<<8};k.ze=function(a,b){this.za[(a&this.be)>>this.xb].lc(a&this.Sa,b&255)};k.Oa=function(a,b){var c=a&this.Sa,d=(a&this.be)>>this.xb;this.A-=this.B.dj;c!=this.Sa?this.za[d].Fl(c,b&65535):(this.za[d++].lc(c,b&255),this.za[d&this.jd].lc(0,b>>8&255))};k.hm=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.pd(this.ha)};
k.im=function(a,b){this.cg=a;this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.ln=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,0);return this.Z&1?0:this.pd(this.ha)};k.mn=function(a,b){this.cg=a;this.Ka=this.ha=a.Dc(this.Wf=b,1);return this.Z&1?0:this.pa(this.ha)};k.Do=function(a){this.Z&2||this.ze(this.cg.Yb(this.Wf,0),a)};k.Eo=function(a){this.Z&2||this.Oa(this.cg.Yb(this.Wf,1),a)};k.da=function(){var a=this.pd(this.Da);this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a};
k.M=function(){var a=this.pd(this.Da)<<24>>24;this.Da=this.ya.La+(this.ua=this.ua+1&65535);return a&65535};k.L=function(){var a=this.pa(this.Da);this.Da=this.ya.La+(this.ua=this.ua+2&65535);return a};k.Ja=function(){var a=this.X;this.X=this.X+2&65535;return this.pa(this.jb.Dc(a,1))};function F(a,b){var c=a.X=a.X-2&65535;a.Oa(a.jb.Yb(c,1),b)}
k.Qe=function(a){if(a||!this.ma.Hb||this.ma.Rj)A(this,"AX",this.H),A(this,"BX",this.C),A(this,"CX",this.J),A(this,"DX",this.K),A(this,"SP",this.X),A(this,"BP",this.I),A(this,"SI",this.G),A(this,"DI",this.F),A(this,"CS",this.ya.Ba),A(this,"DS",this.tb.Ba),A(this,"SS",this.jb.Ba),A(this,"ES",this.Ua.Ba),A(this,"IP",this.ua),a=Ub(this),A(this,"PS",a),A(this,"C",a&1?1:0,1),A(this,"P",a&4?1:0,1),A(this,"A",a&16?1:0,1),A(this,"Z",a&64?1:0,1),A(this,"S",a&128?1:0,1),A(this,"T",a&256?1:0,1),A(this,"I",a&
512?1:0,1),A(this,"D",a&1024?1:0,1),A(this,"V",a&2048?1:0,1);if(a=this.sa.speed)a.textContent=this.ma.Hb&&this.ba.Md?this.ba.Md.toFixed(2)+"Mhz":"Stopped"};
k.Cl=function(a){this.ma.zf=!0;this.ma.am=!1;this.ma.Zj=!1;this.Yc=this.A=a;this.la&&!a&&yb(this.la);a||(this.Z|=4);do{if(a=this.Z&240)this.wa|=a;else if(this.Xf=this.Da,this.ha=this.Ka=-4,this.D=this.tb,this.N=this.jb,this.wa=this.Z&256,this.ob){a:{if(!(this.Z&4))if(this.ob&1&&this.Ea&512){if(a=Zc(this.la),-1<=a&&(this.ob&=-2,0<=a)){this.ob&=-5;$c.call(this,a,null,11);break a}}else if(this.ob&2){this.ob&=-3;$c.call(this,1,null,11);break a}if(a=this.ob&8){a=this.la;for(var b=!1,c=0;c<a.bb;c++)for(var d=
a.bb[c],e=0;e<d.zb.length;e++){var f=d.zb[e];f.rd||(ad(a,f),f.rd||(b=!0))}a=!b}a&&(this.ob&=-9)}if(this.ob&4){this.Z=this.A=0;break}}this.Z=0;this.Va[this.da()].call(this)}while(0<this.A);return this.ma.zf?this.Yc-this.A:void 0===this.ma.zf?0:-1};za(function(){for(var a=y(window.document,"pcjs","cpu"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new Yb(d);Na(d,c)}});function bd(a,b){this.na=a^b;this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=a+b)&255}
function cd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a|b)&255}function dd(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return this.Y&255}function ed(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return this.Y&255}
function fd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a&b)&255}function gd(a,b){this.na=a^b;this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=a-b)&255}function hd(a,b){this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a^b)&255}
function id(a,b){this.na=a^b;this.ca=256;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.xi:this.B.vb;this.Z|=2;return a}function jd(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=a+b)&65535}function kd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a|b)&65535}
function ld(a,b){this.na=a^b;this.Y=this.ia=a+b+(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return this.Y&65535}function md(a,b){this.na=a^b;this.Y=this.ia=a-b-(this.Y&this.ca?1:0);this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return this.Y&65535}function nd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a&b)&65535}
function od(a,b){this.na=a^b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=a-b)&65535}function pd(a,b){this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.vb:this.B.fc;return(this.Y=this.ia=this.na=a^b)&65535}function qd(a,b){this.na=a^b;this.ca=65536;this.Y=this.ia=a-b;this.A-=0>this.Ka?0>this.ha?this.B.Rb:this.B.xi:this.B.vb;this.Z|=2;return a}function rd(a,b){this.Y=this.Y&this.ca-1|(a&b?this.ca:0);(a^a>>1)&b>>1?Yc(this):Tc(this)}
function sd(){this.A-=0>this.ha?2:this.B.ml;return 1}function td(){var a=this.J&this.ef;this.A-=(0>this.ha?this.B.Ti:this.B.Si)+(a<<this.B.Ui);return a}function ud(){var a=this.da();this.A-=(0>this.ha?this.B.Ti:this.B.Si)+(a<<this.B.Ui);return a}function vd(){return null}function wd(a){E.call(this,13,0);return a}function uc(a){G.call(this);return a}function K(a){M.call(this);return a}
var xd=[bd,cd,dd,ed,fd,gd,hd,id],yd=[jd,kd,ld,md,nd,od,pd,qd],zd=[function(a,b){this.A-=0>this.Ka?this.B.gc:this.B.fl;return b},wd,wd,wd,wd,wd,wd,wd],Cd=[function(a,b){this.A-=0>this.Ka?this.B.Yk:this.B.Wk;return b},K,K,K,K,K,K,K],Dd=[function(a,b){var c=a;if(b){var d,e=b&7;e?c=(d=a<<e|a>>8-e)&255:d=a<<8;rd.call(this,d,256)}return c},function(a,b){var c=a;if(b){var d,c=b&7,c=d=(a>>c|a<<8-c)&255;d&128&&(d|=256);rd.call(this,d,256)}return c},function(a,b){var c=a;if(b){var d;(d=(b&this.ef)%9)?(d=a<<
d|(this.Y&this.ca?1:0)<<d-1|a>>9-d,c=d&255):d=a|(this.Y&this.ca?1:0)<<8;rd.call(this,d,256)}return c},function(a,b){var c=a;b&&(c=(b&this.ef)%9,c=a>>c|(this.Y&this.ca?1:0)<<8-c|a<<9-c,rd.call(this,c,256),c&=255);return c},function(a,b){var c=a;b&&(c=8<b?this.Y=this.ia=0:(this.Y=this.ia=a<<b)&255,this.na=0,this.ca=256);return c},function(a,b){if(b){var c=8<b?0:a>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.na=a^this.Y;this.ca=256;a=this.Y}return a&255},K,function(a,b){if(b){8<b&&
(b=9);var c=a<<24>>24>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|256:this.Y&-257;this.na=a^this.Y;this.ca=256;a=this.Y}return a&255}],Ed=[function(a,b){var c=a;if(b){var d,e=b&15;e?c=(d=a<<e|a>>16-e)&65535:d=a<<16;rd.call(this,d,65536)}return c},function(a,b){var c=a;if(b){var d,c=b&15,c=d=(a>>c|a<<16-c)&65535;d&32768&&(d|=65536);rd.call(this,d,65536)}return c},function(a,b){var c=a;if(b){var d;(d=(b&this.ef)%17)?(d=a<<d|(this.Y&this.ca?1:0)<<d-1|a>>17-d,c=d&65535):d=a|(this.Y&this.ca?1:0)<<16;rd.call(this,
d,65536)}return c},function(a,b){var c=a;b&&(c=(b&this.ef)%17,c=a>>c|(this.Y&this.ca?1:0)<<16-c|a<<17-c,rd.call(this,c,65536),c&=65535);return c},function(a,b){var c=a;b&&(c=16<b?this.Y=this.ia=0:(this.Y=this.ia=a<<b)&65535,this.na=0,this.ca=65536);return c},function(a,b){if(b){var c=16<b?0:a>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|65536:this.Y&-65537;this.na=a^this.Y;this.ca=65536;a=this.Y}return a&65535},K,function(a,b){if(b){16<b&&(b=17);var c=a<<16>>16>>b-1;this.Y=this.ia=c>>1;this.Y=c&1?this.Y|
65536:this.Y&-65537;this.na=a^this.Y;this.ca=65536;a=this.Y}return a&65535}],Gd=[function(a,b){b=this.da();this.Y=this.ia=this.na=a&b;this.ca=256;this.A-=0>this.ha?this.B.Zi:this.B.Yi;this.Z|=2;return a},K,function(a){this.A-=0>this.ha?this.B.Rf:this.B.Qf;return a^255},function(a,b){b=0;this.na=a^b;this.ca=256;this.A-=0>this.ha?this.B.Rf:this.B.Qf;return(this.Y=this.ia=b-a)&255},function(a){this.H=this.Fb=(this.Y=(this.H&255)*a)&65535;this.na=this.ia=this.Y;this.ca=256;this.H&65280?(Uc(this),Yc(this)):
(Qc(this),Tc(this));this.A-=0>this.ha?this.B.bl:this.B.al;this.Z|=2;return a},function(a){var b=(this.H<<24>>24)*(a<<24>>24);this.H=this.Fb=b&65535;this.Y=this.na=this.ia=b;this.ca=256;127<b||-128>b?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.Hk:this.B.Gk;this.Z|=2;return a},function(a){if(!a)return Fd.call(this),a;var b=this.H/a;if(255<b)return Fd.call(this),a;this.Fb=this.H=b&255|(this.H%a&255)<<8;this.ia=this.na=this.Y=b|256;this.ca=256;this.A-=0>this.ha?this.B.zk:this.B.yk;
this.Z|=2;return a},function(a){if(!a)return Fd.call(this),a;var b=(this.H<<16>>16)/(a<<24>>24);if(b>b<<24>>24&65535)return Fd.call(this),a;this.Fb=this.H=b&255|((this.H<<16>>16)%(a<<24>>24)&255)<<8;this.ia=this.na=this.Y=b|256;this.ca=256;this.A-=0>this.ha?this.B.Dk:this.B.Ck;this.Z|=2;return a}],Hd=[function(a,b){b=this.L();this.Y=this.ia=this.na=a&b;this.ca=65536;this.A-=0>this.ha?this.B.Zi:this.B.Yi;this.Z|=2;return a},K,function(a){this.A-=0>this.ha?this.B.Rf:this.B.Qf;return a^65535},function(a,
b){b=0;this.na=a^b;this.ca=65536;this.A-=0>this.ha?this.B.Rf:this.B.Qf;return(this.Y=this.ia=b-a)&65535},function(a){this.Fb=this.H=(this.Y=this.H*a)&65535;this.$f=this.K=this.Y>>16&65535;this.na=this.ia=this.Y;this.ca=65536;this.K?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?this.B.dl:this.B.cl;this.Z|=2;return a},function(a){var b=(this.H<<16>>16)*(a<<16>>16);this.H=this.Fb=b&65535;this.K=this.$f=b>>16&65535;this.Y=this.na=this.ia=b;this.ca=65536;32767<b||-32768>b?(Uc(this),Yc(this)):
(Qc(this),Tc(this));this.A-=0>this.ha?this.B.Jk:this.B.Ik;this.Z|=2;return a},function(a,b){if(!a)return Fd.call(this),a;b=this.H+65536*this.K;var c=Math.floor(b/a);if(65536<=c)return Fd.call(this),a;this.Fb=this.H=c&65535;this.$f=this.K=b%a&65535;this.ia=this.na=this.Y=c|65536;this.ca=65536;this.A-=0>this.ha?this.B.Bk:this.B.Ak;this.Z|=2;return a},function(a,b){if(!a)return Fd.call(this),a;var c=a<<16>>16;b=this.K<<16|this.H;var d=Math.floor(b/c);if(d!=(d&65535)<<16>>16)return Fd.call(this),a;this.Fb=
this.H=d&65535;this.$f=this.K=b%c&65535;this.ia=this.na=this.Y=d|65536;this.ca=65536;this.A-=0>this.ha?this.B.Fk:this.B.Ek;this.Z|=2;return a}],bc=[function(a){this.na=a;a=(this.ia=a+1)&255;this.Y=a|(this.Y&this.ca?1:0)<<8;this.ca=256;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},function(a){this.na=a;a=(this.ia=a-1)&255;this.Y=a|(this.Y&this.ca?1:0)<<8;this.ca=256;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},K,K,K,K,K,K],cc=[function(a){this.na=a;a=(this.ia=a+1)&65535;this.Y=a|(this.Y&this.ca?
1:0)<<16;this.ca=65536;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},function(a){this.na=a;a=(this.ia=a-1)&65535;this.Y=a|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=0>this.ha?this.B.Pf:this.B.Of;return a},function(a){F(this,this.ua);I(this,a);this.A-=0>this.ha?this.B.xk:this.B.wk;this.Z|=2;return a},function(a){if(0>this.ha)return K.call(this,a);Id.call(this,a,this.pa(this.ha+2));this.A-=this.B.uk;this.Z|=2;return a},function(a){I(this,a);this.A-=0>this.ha?this.B.Sk:this.B.Rk;this.Z|=2;return a},
function(a){if(0>this.ha)return K.call(this,a);Wb(this,a,this.pa(this.ha+2));this.Bg&&Dc(this,this.Da);this.A-=this.B.Pk;this.Z|=2;return a},function(a){var b=a;this.Z&512&&(a=a-2&65535,80286>this.Ia&&(b=a));F(this,b);this.A-=0>this.ha?this.B.qc:this.B.hl;this.Z|=2;return a},wd];function Jd(a,b){this.A-=0>this.Ka?0>this.ha?this.B.$k:this.B.Zk:this.B.Xk;return b}function Kd(){return Jd.call(this,0,this.Fb)}
function Ld(a,b){this.Y=this.ia=this.na=a&b;this.ca=256;this.A-=0>this.Ka?0>this.ha?this.B.$i:this.B.Tf:this.B.Tf;this.Z|=2;return a}function Md(a,b){this.Y=this.ia=this.na=a&b;this.ca=65536;this.A-=0>this.Ka?0>this.ha?this.B.$i:this.B.Tf:this.B.Tf;this.Z|=2;return a}function Nd(a,b){var c=(b<<16>>16)*(this.da()<<24>>24);this.Y=this.na=this.ia=c;this.ca=256;32767<c||-32768>c?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?21:24;return c&65535}
function Od(a,b){var c=(b<<16>>16)*(this.L()<<16>>16);this.Y=this.na=this.ia=c;this.ca=65536;32767<c||-32768>c?(Uc(this),Yc(this)):(Qc(this),Tc(this));this.A-=0>this.ha?21:24;return c&65535}function Pd(a){return a}function Qd(a){if(0>this.ha)return M.call(this),a;this.A-=this.B.Tk;return this.ha}function Rd(a,b){if(0>this.ha)return M.call(this),a;Hc(this,this.pa(this.ha+2));this.A-=this.B.Bi;return b}
function Sd(a,b){if(0>this.ha)return M.call(this),a;Jc(this,this.pa(this.ha+2));this.A-=this.B.Bi;return b}function Td(a){if(0>this.ha)return G.call(this),a;var b=a<<16>>16,c=this.pa(this.ha)<<16>>16,d=this.pa(this.ha+2)<<16>>16;this.A-=this.B.qk;if(b<c||b>d)I(this,this.Xf-this.ya.La),$c.call(this,5,null,0);this.Z|=2;return a}function Ud(a,b){this.A-=10+(0>this.ha?0:1);if((a&3)<(b&3))return a=a&-4|b&3,Wc(this),a;Sc(this);return a}
function Vd(a,b){this.A-=14+(0>this.ha?0:2);if(-4!=this.Ib.load(b,!0)&&this.Ib.pc>=this.ya.$a&&this.Ib.pc>=(b&3))return Wc(this),this.Ib.lb&65280;Sc(this);return a}function Wd(a,b){this.A-=14+(0>this.ha?0:2);if(b&65528&&-4!=this.Ib.load(b,!0)&&(7168==(this.Ib.lb&7168)||this.Ib.pc>=this.ya.$a)&&this.Ib.pc>=(b&3))return Wc(this),this.Ib.Rc;Sc(this);return a}
function Xd(a,b){if(0>this.ha){switch(this.ug&7){case 0:this.H=this.H&-256|a;break;case 1:this.J=this.J&-256|a;break;case 2:this.K=this.K&-256|a;break;case 3:this.C=this.C&-256|a;break;case 4:this.H=this.H&255|a<<8;break;case 5:this.J=this.J&255|a<<8;break;case 6:this.K=this.K&255|a<<8;break;case 7:this.C=this.C&255|a<<8}this.A-=this.B.bj}else this.Ka=this.ha,this.R(a),this.A-=this.B.aj;return b}
function Yd(a,b){if(0>this.ha){switch(this.ug&7){case 0:this.H=a;break;case 1:this.J=a;break;case 2:this.K=a;break;case 3:this.C=a;break;case 4:this.X=a;break;case 5:this.I=a;break;case 6:this.G=a;break;case 7:this.F=a}this.A-=this.B.bj}else this.Ka=this.ha,this.S(a),this.A-=this.B.aj;return b}function Zd(a){a|=this.kc&1;this.kc=this.kc&65520|a&-65521;this.kc&1&&zc(this,!0)}function Id(a,b){var c=this.ya.Ba,d=this.ua;null!=Wb(this,a,b,!0)&&(F(this,c),F(this,d))}
function $d(a){var b=this.Ja(),c=this.Ja();a&&(this.X=this.X+a&65535);Wb(this,b,c,!1)&&(a&&(this.X=this.X+a&65535),this.tb.Ba&65528&&this.tb.pc<this.ya.$a&&7168!=(this.tb.lb&7168)&&this.tb.load(0),this.Ua.Ba&65528&&this.Ua.pc<this.ya.$a&&7168!=(this.Ua.lb&7168)&&this.Ua.load(0));2==a&&this.Bg&&Dc(this,this.Da)}
function $c(a,b,c){this.A-=this.B.Lk+c;this.ya.Sh=!0;c=Ub(this);var d=this.ya.Ba,e=this.ua;a=this.ya.hk(a);-4!=a&&(this.Da=a+this.ua,F(this,c),F(this,d),F(this,e),null!=b&&F(this,b),this.bh=-1)}function Fd(){I(this,this.Xf-this.ya.La);$c.call(this,0,null,2)}
function E(a,b,c){if(this.ma.zf){var d=!1;if(80186<=this.Ia)if(0>this.bh)I(this,this.Xf-this.ya.La),d=!0;else if(8!=this.bh)b=0,a=8,d=!0;else{ae.call(this,-1,0,c);yc(this);return}ae.call(this,a,b,c)&&(d=!1);d&&$c.call(this,this.bh=a,b,0);this.Z&=-4}else this.hc("Fault "+ca(a)+" blocked by Debugger",536870912),I(this,this.Xf-this.ya.La)}
function ae(a,b,c){var d=32,e=bb(this.ra,this.Da);204==e&&(c=!1,d|=1);983040<=this.Da&&1048575>=this.Da&&(c=!1);c&&(a=(c?"\n":"")+"Fault "+ca(a)+(null!=b?" ("+p(b,4)+")":"")+" on opcode 0x"+ca(e)+" at "+da(this.ua,this.ya.Ba)+" (%"+p(this.Da,6)+")",b=this.ma.Hb,this.hc(a,d)?c&&(c=b,B(this.Wa)):(this.Aa(a),B(this)));return c}function G(){E.call(this,6);B(this)}function M(){I(this,this.Xf-this.ya.La);Qa(this,"Undefined opcode 0x"+ca(bb(this.ra,this.Da))+" at "+da(this.ua,this.ya.Ba));B(this)}
function be(a){a=a.call(this,this.H&255,this.H&255);this.H=this.H&-256|a}function ce(a){a=a.call(this,this.H&255,this.J&255);this.H=this.H&-256|a}function de(a){a=a.call(this,this.H&255,this.K&255);this.H=this.H&-256|a}function ee(a){a=a.call(this,this.H&255,this.C&255);this.H=this.H&-256|a}function fe(a){a=a.call(this,this.H&255,this.H>>8);this.H=this.H&-256|a}function ge(a){a=a.call(this,this.H&255,this.J>>8);this.H=this.H&-256|a}
function he(a){a=a.call(this,this.H&255,this.K>>8);this.H=this.H&-256|a}function ie(a){a=a.call(this,this.H&255,this.C>>8);this.H=this.H&-256|a}function je(a){a=a.call(this,this.J&255,this.H&255);this.J=this.J&-256|a}function ke(a){a=a.call(this,this.J&255,this.J&255);this.J=this.J&-256|a}function le(a){a=a.call(this,this.J&255,this.K&255);this.J=this.J&-256|a}function me(a){a=a.call(this,this.J&255,this.C&255);this.J=this.J&-256|a}
function ne(a){a=a.call(this,this.J&255,this.H>>8);this.J=this.J&-256|a}function oe(a){a=a.call(this,this.J&255,this.J>>8);this.J=this.J&-256|a}function pe(a){a=a.call(this,this.J&255,this.K>>8);this.J=this.J&-256|a}function qe(a){a=a.call(this,this.J&255,this.C>>8);this.J=this.J&-256|a}function re(a){a=a.call(this,this.K&255,this.H&255);this.K=this.K&-256|a}function se(a){a=a.call(this,this.K&255,this.J&255);this.K=this.K&-256|a}
function te(a){a=a.call(this,this.K&255,this.K&255);this.K=this.K&-256|a}function ue(a){a=a.call(this,this.K&255,this.C&255);this.K=this.K&-256|a}function ve(a){a=a.call(this,this.K&255,this.H>>8);this.K=this.K&-256|a}function we(a){a=a.call(this,this.K&255,this.J>>8);this.K=this.K&-256|a}function xe(a){a=a.call(this,this.K&255,this.K>>8);this.K=this.K&-256|a}function ye(a){a=a.call(this,this.K&255,this.C>>8);this.K=this.K&-256|a}
function ze(a){a=a.call(this,this.C&255,this.H&255);this.C=this.C&-256|a}function Ae(a){a=a.call(this,this.C&255,this.J&255);this.C=this.C&-256|a}function Be(a){a=a.call(this,this.C&255,this.K&255);this.C=this.C&-256|a}function Ce(a){a=a.call(this,this.C&255,this.C&255);this.C=this.C&-256|a}function De(a){a=a.call(this,this.C&255,this.H>>8);this.C=this.C&-256|a}function Ee(a){a=a.call(this,this.C&255,this.J>>8);this.C=this.C&-256|a}
function Fe(a){a=a.call(this,this.C&255,this.K>>8);this.C=this.C&-256|a}function Ge(a){a=a.call(this,this.C&255,this.C>>8);this.C=this.C&-256|a}function He(a){a=a.call(this,this.H>>8,this.H&255);this.H=this.H&255|a<<8}function Ie(a){a=a.call(this,this.H>>8,this.J&255);this.H=this.H&255|a<<8}function Je(a){a=a.call(this,this.H>>8,this.K&255);this.H=this.H&255|a<<8}function Ke(a){a=a.call(this,this.H>>8,this.C&255);this.H=this.H&255|a<<8}
function Le(a){a=a.call(this,this.H>>8,this.H>>8);this.H=this.H&255|a<<8}function Me(a){a=a.call(this,this.H>>8,this.J>>8);this.H=this.H&255|a<<8}function Ne(a){a=a.call(this,this.H>>8,this.K>>8);this.H=this.H&255|a<<8}function Oe(a){a=a.call(this,this.H>>8,this.C>>8);this.H=this.H&255|a<<8}function Pe(a){a=a.call(this,this.J>>8,this.H&255);this.J=this.J&255|a<<8}function Qe(a){a=a.call(this,this.J>>8,this.J&255);this.J=this.J&255|a<<8}
function Re(a){a=a.call(this,this.J>>8,this.K&255);this.J=this.J&255|a<<8}function Se(a){a=a.call(this,this.J>>8,this.C&255);this.J=this.J&255|a<<8}function Te(a){a=a.call(this,this.J>>8,this.H>>8);this.J=this.J&255|a<<8}function Ue(a){a=a.call(this,this.J>>8,this.J>>8);this.J=this.J&255|a<<8}function Ve(a){a=a.call(this,this.J>>8,this.K>>8);this.J=this.J&255|a<<8}function We(a){a=a.call(this,this.J>>8,this.C>>8);this.J=this.J&255|a<<8}
function Xe(a){a=a.call(this,this.K>>8,this.H&255);this.K=this.K&255|a<<8}function Ye(a){a=a.call(this,this.K>>8,this.J&255);this.K=this.K&255|a<<8}function Ze(a){a=a.call(this,this.K>>8,this.K&255);this.K=this.K&255|a<<8}function $e(a){a=a.call(this,this.K>>8,this.C&255);this.K=this.K&255|a<<8}function af(a){a=a.call(this,this.K>>8,this.H>>8);this.K=this.K&255|a<<8}function bf(a){a=a.call(this,this.K>>8,this.J>>8);this.K=this.K&255|a<<8}
function cf(a){a=a.call(this,this.K>>8,this.K>>8);this.K=this.K&255|a<<8}function df(a){a=a.call(this,this.K>>8,this.C>>8);this.K=this.K&255|a<<8}function ef(a){a=a.call(this,this.C>>8,this.H&255);this.C=this.C&255|a<<8}function ff(a){a=a.call(this,this.C>>8,this.J&255);this.C=this.C&255|a<<8}function gf(a){a=a.call(this,this.C>>8,this.K&255);this.C=this.C&255|a<<8}function hf(a){a=a.call(this,this.C>>8,this.C&255);this.C=this.C&255|a<<8}
function jf(a){a=a.call(this,this.C>>8,this.H>>8);this.C=this.C&255|a<<8}function kf(a){a=a.call(this,this.C>>8,this.J>>8);this.C=this.C&255|a<<8}function lf(a){a=a.call(this,this.C>>8,this.K>>8);this.C=this.C&255|a<<8}function mf(a){a=a.call(this,this.C>>8,this.C>>8);this.C=this.C&255|a<<8}function nf(a){this.H=a.call(this,this.H,this.H)}function of(a){this.H=a.call(this,this.H,this.J)}function pf(a){this.H=a.call(this,this.H,this.K)}function qf(a){this.H=a.call(this,this.H,this.C)}
function rf(a){this.H=a.call(this,this.H,this.X)}function sf(a){this.H=a.call(this,this.H,this.I)}function tf(a){this.H=a.call(this,this.H,this.G)}function uf(a){this.H=a.call(this,this.H,this.F)}function vf(a){this.J=a.call(this,this.J,this.H)}function wf(a){this.J=a.call(this,this.J,this.J)}function xf(a){this.J=a.call(this,this.J,this.K)}function yf(a){this.J=a.call(this,this.J,this.C)}function zf(a){this.J=a.call(this,this.J,this.X)}function Af(a){this.J=a.call(this,this.J,this.I)}
function Bf(a){this.J=a.call(this,this.J,this.G)}function Cf(a){this.J=a.call(this,this.J,this.F)}function Df(a){this.K=a.call(this,this.K,this.H)}function Ef(a){this.K=a.call(this,this.K,this.J)}function Ff(a){this.K=a.call(this,this.K,this.K)}function Gf(a){this.K=a.call(this,this.K,this.C)}function Hf(a){this.K=a.call(this,this.K,this.X)}function If(a){this.K=a.call(this,this.K,this.I)}function Jf(a){this.K=a.call(this,this.K,this.G)}function Kf(a){this.K=a.call(this,this.K,this.F)}
function Lf(a){this.C=a.call(this,this.C,this.H)}function Mf(a){this.C=a.call(this,this.C,this.J)}function Nf(a){this.C=a.call(this,this.C,this.K)}function Of(a){this.C=a.call(this,this.C,this.C)}function Pf(a){this.C=a.call(this,this.C,this.X)}function Qf(a){this.C=a.call(this,this.C,this.I)}function Rf(a){this.C=a.call(this,this.C,this.G)}function Sf(a){this.C=a.call(this,this.C,this.F)}function Tf(a){this.X=a.call(this,this.X,this.H)}function Uf(a){this.X=a.call(this,this.X,this.J)}
function Vf(a){this.X=a.call(this,this.X,this.K)}function Wf(a){this.X=a.call(this,this.X,this.C)}function Xf(a){this.X=a.call(this,this.X,this.X)}function Yf(a){this.X=a.call(this,this.X,this.I)}function Zf(a){this.X=a.call(this,this.X,this.G)}function $f(a){this.X=a.call(this,this.X,this.F)}function ag(a){this.I=a.call(this,this.I,this.H)}function bg(a){this.I=a.call(this,this.I,this.J)}function cg(a){this.I=a.call(this,this.I,this.K)}function dg(a){this.I=a.call(this,this.I,this.C)}
function eg(a){this.I=a.call(this,this.I,this.X)}function fg(a){this.I=a.call(this,this.I,this.I)}function gg(a){this.I=a.call(this,this.I,this.G)}function hg(a){this.I=a.call(this,this.I,this.F)}function ig(a){this.G=a.call(this,this.G,this.H)}function jg(a){this.G=a.call(this,this.G,this.J)}function kg(a){this.G=a.call(this,this.G,this.K)}function lg(a){this.G=a.call(this,this.G,this.C)}function mg(a){this.G=a.call(this,this.G,this.X)}function ng(a){this.G=a.call(this,this.G,this.I)}
function og(a){this.G=a.call(this,this.G,this.G)}function pg(a){this.G=a.call(this,this.G,this.F)}function qg(a){this.F=a.call(this,this.F,this.H)}function rg(a){this.F=a.call(this,this.F,this.J)}function sg(a){this.F=a.call(this,this.F,this.K)}function tg(a){this.F=a.call(this,this.F,this.C)}function ug(a){this.F=a.call(this,this.F,this.X)}function vg(a){this.F=a.call(this,this.F,this.I)}function wg(a){this.F=a.call(this,this.F,this.G)}function xg(a){this.F=a.call(this,this.F,this.F)}
var yg=[function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.H&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.H&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.H&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.H&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.H&255);this.R(a);this.A-=this.B.aa},
function(a){a=a.call(this,this.O(this.D,this.F),this.H&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.H&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.H&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.J&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.J&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,
this.I+this.G&65535),this.J&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.J&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.J&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.J&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.J&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.J&255);this.R(a);
this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.K&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.K&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.K&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.K&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.K&255);this.R(a);this.A-=
this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.K&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.K&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.K&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.C&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.C&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,
this.O(this.N,this.I+this.G&65535),this.C&255);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.C&255);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.C&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.C&255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.C&255);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.C&
255);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.H>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.H>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.H>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.H>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.H>>8);this.R(a);
this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.H>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.H>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.H>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.J>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.J>>8);this.R(a);this.A-=this.B.ga},function(a){a=
a.call(this,this.O(this.N,this.I+this.G&65535),this.J>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.J>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.J>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.J>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.J>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),
this.J>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.K>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.K>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.G&65535),this.K>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.K>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.K>>8);
this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.K>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.K>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),this.K>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G&65535),this.C>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.C+this.F&65535),this.C>>8);this.R(a);this.A-=this.B.ga},function(a){a=
a.call(this,this.O(this.N,this.I+this.G&65535),this.C>>8);this.R(a);this.A-=this.B.ga},function(a){a=a.call(this,this.O(this.N,this.I+this.F&65535),this.C>>8);this.R(a);this.A-=this.B.fa},function(a){a=a.call(this,this.O(this.D,this.G),this.C>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.F),this.C>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.L()),this.C>>8);this.R(a);this.A-=this.B.ta},function(a){a=a.call(this,this.O(this.D,this.C),
this.C>>8);this.R(a);this.A-=this.B.aa},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,
this.O(this.D,this.G+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.V},function(a){a=
a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.J&255);this.R(a);
this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&
65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,
this.C+this.M()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.V},
function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.H>>8);this.R(a);
this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&
65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,
this.I+this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,
this.O(this.D,this.C+this.M()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.K>>8);this.R(a);this.A-=
this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.M()&65535),this.C>>8);this.R(a);
this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.M()&
65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.M()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,
this.I+this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=
a.call(this,this.O(this.D,this.C+this.L()&65535),this.H&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.J&255);
this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.J&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&
65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,
this.O(this.D,this.F+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.K&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.W},
function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.C&255);
this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.C&255);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+
this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.H>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,
this.C+this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=
a.call(this,this.O(this.D,this.F+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.J>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.W},
function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.K>>8);this.R(a);
this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.K>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.C+this.F+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.W},function(a){a=a.call(this,this.O(this.N,this.I+this.F+
this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.V},function(a){a=a.call(this,this.O(this.D,this.G+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.F+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.N,this.I+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},function(a){a=a.call(this,this.O(this.D,this.C+this.L()&65535),this.C>>8);this.R(a);this.A-=this.B.Q},be,je,re,ze,He,Pe,Xe,ef,ce,ke,se,Ae,Ie,
Qe,Ye,ff,de,le,te,Be,Je,Re,Ze,gf,ee,me,ue,Ce,Ke,Se,$e,hf,fe,ne,ve,De,Le,Te,af,jf,ge,oe,we,Ee,Me,Ue,bf,kf,he,pe,xe,Fe,Ne,Ve,cf,lf,ie,qe,ye,Ge,Oe,We,df,mf],zg=[function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.H);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.H);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.H);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&
65535),this.H);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.H);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.H);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.H);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.H);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.J);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,
this.P(this.D,this.C+this.F&65535),this.J);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.J);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.J);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.J);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.J);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.J);this.S(a);
this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.J);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.K);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.K);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.K);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.K);this.S(a);this.A-=this.B.fa},function(a){a=
a.call(this,this.P(this.D,this.G),this.K);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.K);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.K);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.K);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.C);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.C);this.S(a);
this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.C);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.C);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.C);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.C);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.C);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,
this.C),this.C);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.X);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.X);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.X);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.X);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.X);this.S(a);
this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.X);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.X);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.X);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.I);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.I);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,
this.I+this.G&65535),this.I);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.I);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.I);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.I);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.I);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.I);this.S(a);this.A-=this.B.aa},function(a){a=
a.call(this,this.P(this.D,this.C+this.G&65535),this.G);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.G);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.G);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.G);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.G);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,
this.F),this.G);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.G);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.G);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G&65535),this.F);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.C+this.F&65535),this.F);this.S(a);this.A-=this.B.ga},function(a){a=a.call(this,this.P(this.N,this.I+this.G&65535),this.F);this.S(a);this.A-=this.B.ga},
function(a){a=a.call(this,this.P(this.N,this.I+this.F&65535),this.F);this.S(a);this.A-=this.B.fa},function(a){a=a.call(this,this.P(this.D,this.G),this.F);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.F),this.F);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.L()),this.F);this.S(a);this.A-=this.B.ta},function(a){a=a.call(this,this.P(this.D,this.C),this.F);this.S(a);this.A-=this.B.aa},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&
65535),this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+
this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,
this.I+this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,
this.C+this.M()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,
this.P(this.D,this.G+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,
this.P(this.D,this.C+this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=
a.call(this,this.P(this.N,this.I+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.X);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.X);this.S(a);this.A-=this.B.W},
function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.X);this.S(a);this.A-=this.B.Q},
function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.I);this.S(a);
this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.G);this.S(a);
this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.G);this.S(a);
this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.M()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.M()&65535),
this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.M()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),
this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.H);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.H);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&
65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.H);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+
this.L()&65535),this.J);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+
this.L()&65535),this.J);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,
this.P(this.D,this.G+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.K);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,
this.P(this.D,this.C+this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=
a.call(this,this.P(this.N,this.I+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.C);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.X);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.X);this.S(a);this.A-=this.B.W},
function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.X);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.X);this.S(a);this.A-=this.B.Q},
function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.I);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.I);this.S(a);
this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.I);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.G);this.S(a);
this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),this.G);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.G);this.S(a);
this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.G);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.C+this.F+this.L()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.W},function(a){a=a.call(this,this.P(this.N,this.I+this.F+this.L()&65535),
this.F);this.S(a);this.A-=this.B.V},function(a){a=a.call(this,this.P(this.D,this.G+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.F+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.N,this.I+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},function(a){a=a.call(this,this.P(this.D,this.C+this.L()&65535),this.F);this.S(a);this.A-=this.B.Q},nf,vf,Df,Lf,Tf,ag,ig,qg,of,wf,Ef,Mf,Uf,bg,jg,rg,pf,xf,Ff,Nf,Vf,cg,kg,
sg,qf,yf,Gf,Of,Wf,dg,lg,tg,rf,zf,Hf,Pf,Xf,eg,mg,ug,sf,Af,If,Qf,Yf,fg,ng,vg,tf,Bf,Jf,Rf,Zf,gg,og,wg,uf,Cf,Kf,Sf,$f,hg,pg,xg],Ag=[function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.G&65535));this.H=this.H&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.F&65535));this.H=this.H&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.G&65535));this.H=this.H&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.H&255,
this.T(this.N,this.I+this.F&65535));this.H=this.H&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.G));this.H=this.H&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.F));this.H=this.H&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.L()));this.H=this.H&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C));this.H=this.H&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,
this.J&255,this.T(this.D,this.C+this.G&65535));this.J=this.J&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.F&65535));this.J=this.J&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.G&65535));this.J=this.J&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.F&65535));this.J=this.J&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.G));this.J=this.J&-256|
a;this.A-=this.B.aa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.F));this.J=this.J&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.J&255,this.T(this.D,this.L()));this.J=this.J&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C));this.J=this.J&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.G&65535));this.K=this.K&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.F&
65535));this.K=this.K&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.G&65535));this.K=this.K&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.F&65535));this.K=this.K&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.G));this.K=this.K&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.K&255,this.T(this.D,this.F));this.K=this.K&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.K&
255,this.T(this.D,this.L()));this.K=this.K&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C));this.K=this.K&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.G&65535));this.C=this.C&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.F&65535));this.C=this.C&-256|a;this.A-=this.B.ga},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.G&65535));this.C=this.C&-256|a;this.A-=this.B.ga},
function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.F&65535));this.C=this.C&-256|a;this.A-=this.B.fa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.G));this.C=this.C&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.F));this.C=this.C&-256|a;this.A-=this.B.aa},function(a){a=a.call(this,this.C&255,this.T(this.D,this.L()));this.C=this.C&-256|a;this.A-=this.B.ta},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C));this.C=this.C&-256|a;this.A-=
this.B.aa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.G&65535));this.H=this.H&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.F&65535));this.H=this.H&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.G&65535));this.H=this.H&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.F&65535));this.H=this.H&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.H>>
8,this.T(this.D,this.G));this.H=this.H&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.F));this.H=this.H&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.L()));this.H=this.H&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C));this.H=this.H&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.G&65535));this.J=this.J&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,
this.J>>8,this.T(this.D,this.C+this.F&65535));this.J=this.J&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.G&65535));this.J=this.J&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.F&65535));this.J=this.J&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.G));this.J=this.J&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.F));this.J=this.J&255|a<<8;this.A-=
this.B.aa},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.L()));this.J=this.J&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C));this.J=this.J&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.G&65535));this.K=this.K&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.F&65535));this.K=this.K&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.G&
65535));this.K=this.K&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.F&65535));this.K=this.K&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.G));this.K=this.K&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.F));this.K=this.K&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.L()));this.K=this.K&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.K>>
8,this.T(this.D,this.C));this.K=this.K&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.G&65535));this.C=this.C&255|a<<8;this.A-=this.B.fa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.F&65535));this.C=this.C&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.G&65535));this.C=this.C&255|a<<8;this.A-=this.B.ga},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.F&65535));this.C=this.C&255|a<<
8;this.A-=this.B.fa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.G));this.C=this.C&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.F));this.C=this.C&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.L()));this.C=this.C&255|a<<8;this.A-=this.B.ta},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C));this.C=this.C&255|a<<8;this.A-=this.B.aa},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.G+this.M()&
65535));this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.G+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.G+this.M()&65535));this.H=this.H&-256|
a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.F+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.M()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this,
this.J&255,this.T(this.D,this.C+this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.J&255,this.T(this.D,this.G+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,
this.F+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.M()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.F+this.M()&65535));this.K=
this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.F+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.G+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.F+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},
function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.M()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&
255,this.T(this.N,this.I+this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.G+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.F+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.M()&
65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.M()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.H=this.H&255|
a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.G+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.F+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=
a.call(this,this.H>>8,this.T(this.D,this.C+this.M()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>
8,this.T(this.N,this.I+this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.G+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.F+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.M()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.M()&65535));
this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.F+this.M()&65535));this.K=this.K&
255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.G+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.F+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.M()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=
a.call(this,this.C>>8,this.T(this.D,this.C+this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>>
8,this.T(this.D,this.G+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.F+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.M()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.G+this.L()&65535));
this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.G+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.H&255,this.T(this.D,this.G+this.L()&65535));this.H=this.H&-256|a;this.A-=
this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.F+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.N,this.I+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H&255,this.T(this.D,this.C+this.L()&65535));this.H=this.H&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.J&
255,this.T(this.D,this.C+this.F+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.F+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.J&255,this.T(this.D,this.G+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.F+
this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.N,this.I+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.J&255,this.T(this.D,this.C+this.L()&65535));this.J=this.J&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.F+this.L()&65535));this.K=this.K&
-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.K&255,this.T(this.N,this.I+this.F+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.K&255,this.T(this.D,this.G+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.F+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=
a.call(this,this.K&255,this.T(this.N,this.I+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.K&255,this.T(this.D,this.C+this.L()&65535));this.K=this.K&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.T(this.N,
this.I+this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.W},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.V},function(a){a=a.call(this,this.C&255,this.T(this.D,this.G+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.F+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.N,this.I+this.L()&65535));this.C=
this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.C&255,this.T(this.D,this.C+this.L()&65535));this.C=this.C&-256|a;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-=
this.B.W},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.G+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.D,this.F+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.H>>8,this.T(this.N,this.I+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,
this.H>>8,this.T(this.D,this.C+this.L()&65535));this.H=this.H&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.J>>8,this.T(this.N,
this.I+this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.G+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.F+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.N,this.I+this.L()&65535));this.J=this.J&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.J>>8,this.T(this.D,this.C+this.L()&65535));this.J=this.J&
255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-=
this.B.V},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.G+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.F+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.N,this.I+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.K>>8,this.T(this.D,this.C+this.L()&65535));this.K=this.K&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>
8,this.T(this.D,this.C+this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.W},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.V},function(a){a=a.call(this,this.C>>8,this.T(this.D,
this.G+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.F+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.N,this.I+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},function(a){a=a.call(this,this.C>>8,this.T(this.D,this.C+this.L()&65535));this.C=this.C&255|a<<8;this.A-=this.B.Q},be,ce,de,ee,fe,ge,he,ie,je,ke,le,me,ne,oe,pe,qe,re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,
Ge,He,Ie,Je,Ke,Le,Me,Ne,Oe,Pe,Qe,Re,Se,Te,Ue,Ve,We,Xe,Ye,Ze,$e,af,bf,cf,df,ef,ff,gf,hf,jf,kf,lf,mf],N=[function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.H=a.call(this,
this.H,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.J=a.call(this,
this.J,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.J=a.call(this,this.J,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.K=a.call(this,
this.K,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.K=a.call(this,this.K,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.K=a.call(this,this.K,this.U(this.D,this.F));this.A-=this.B.aa},
function(a){this.K=a.call(this,this.K,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.F&
65535));this.A-=this.B.fa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.C=a.call(this,this.C,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+
this.F&65535));this.A-=this.B.ga},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.X=a.call(this,this.X,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.X=a.call(this,this.X,this.U(this.D,
this.C));this.A-=this.B.aa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.I=a.call(this,
this.I,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.I=a.call(this,this.I,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.G=
a.call(this,this.G,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.G=a.call(this,this.G,this.U(this.D,this.L()));this.A-=this.B.ta},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.G&65535));this.A-=this.B.fa},function(a){this.F=
a.call(this,this.F,this.U(this.D,this.C+this.F&65535));this.A-=this.B.ga},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.G&65535));this.A-=this.B.ga},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.F&65535));this.A-=this.B.fa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.G));this.A-=this.B.aa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.F));this.A-=this.B.aa},function(a){this.F=a.call(this,this.F,this.U(this.D,this.L()));this.A-=this.B.ta},
function(a){this.F=a.call(this,this.F,this.U(this.D,this.C));this.A-=this.B.aa},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.H=
a.call(this,this.H,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D,
this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.M()&
65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.F+this.M()&65535));
this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.C=
a.call(this,this.C,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.C=a.call(this,this.C,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,
this.C,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.X=a.call(this,this.X,this.U(this.N,
this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.G+this.M()&65535));
this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},
function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.G=
a.call(this,this.G,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.F+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,
this.C+this.G+this.M()&65535));this.A-=this.B.V},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.F+this.M()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.G+this.M()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.F+this.M()&65535));this.A-=this.B.V},function(a){this.F=a.call(this,this.F,this.U(this.D,this.G+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.F+
this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.M()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.M()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.G+this.L()&65535));
this.A-=this.B.W},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.H=a.call(this,this.H,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.H=a.call(this,this.H,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.J=
a.call(this,this.J,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.J=a.call(this,this.J,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,
this.J,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.J=a.call(this,this.J,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N,
this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.K=a.call(this,this.K,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.K=a.call(this,this.K,this.U(this.D,this.C+this.L()&65535));
this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.C=a.call(this,this.C,this.U(this.D,this.G+this.L()&65535));this.A-=
this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.C=a.call(this,this.C,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.X=
a.call(this,this.X,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.X=a.call(this,this.X,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.X=a.call(this,this.X,
this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.I=a.call(this,this.I,this.U(this.D,
this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.I=a.call(this,this.I,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.F+this.L()&65535));
this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.G=a.call(this,this.G,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.G=a.call(this,this.G,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},
function(a){this.G=a.call(this,this.G,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.G+this.L()&65535));this.A-=this.B.V},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.F+this.L()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.G+this.L()&65535));this.A-=this.B.W},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.F+this.L()&65535));this.A-=this.B.V},function(a){this.F=
a.call(this,this.F,this.U(this.D,this.G+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.F+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.N,this.I+this.L()&65535));this.A-=this.B.Q},function(a){this.F=a.call(this,this.F,this.U(this.D,this.C+this.L()&65535));this.A-=this.B.Q},nf,of,pf,qf,rf,sf,tf,uf,vf,wf,xf,yf,zf,Af,Bf,Cf,Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,fg,gg,hg,
ig,jg,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,vg,wg,xg],Bg=[function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},
function(a,b){var c=a[0].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[0].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=
this.B.fa},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[1].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.O(this.D,this.F),
b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[1].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this,
this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,
b){var c=a[2].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));
this.R(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[3].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.G&65535),
b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=
a[4].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[4].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},
function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);
this.A-=this.B.ta},function(a,b){var c=a[5].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.O(this.N,
this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[6].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,
this.O(this.D,this.C+this.G&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.F&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.G&65535),b.call(this));this.R(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F&65535),b.call(this));this.R(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.O(this.D,this.G),b.call(this));this.R(c);this.A-=
this.B.aa},function(a,b){var c=a[7].call(this,this.O(this.D,this.F),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.O(this.D,this.L()),b.call(this));this.R(c);this.A-=this.B.ta},function(a,b){var c=a[7].call(this,this.O(this.D,this.C),b.call(this));this.R(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F+this.M()&
65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);
this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=
a[1].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+
this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));
this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,
b){var c=a[2].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,
this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));
this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=
this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,
this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.G+
this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);
this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,
b){var c=a[6].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D,
this.C+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D,this.G+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.F+this.M()&65535),b.call(this));
this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.M()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,
b){var c=a[0].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.N,
this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));
this.R(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,
b){var c=a[1].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,
this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));
this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=
this.B.V},function(a,b){var c=a[3].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,
this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.O(this.D,this.G+
this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);
this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,
b){var c=a[5].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D,
this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));
this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.N,this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,
b){var c=a[7].call(this,this.O(this.N,this.I+this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.O(this.N,this.I+this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.O(this.D,this.G+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.F+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.N,
this.I+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.O(this.D,this.C+this.L()&65535),b.call(this));this.R(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[0].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[0].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[0].call(this,this.C&255,b.call(this));this.C=this.C&-256|
c},function(a,b){var c=a[0].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[0].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[0].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[0].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[1].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[1].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,
b){var c=a[1].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[1].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[1].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[1].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[1].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[1].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=
a[2].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[2].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[2].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[2].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[2].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[2].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[2].call(this,
this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[2].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[3].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[3].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[3].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[3].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[3].call(this,this.H>>
8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[3].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[3].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[3].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[4].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[4].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[4].call(this,this.K&255,b.call(this));
this.K=this.K&-256|c},function(a,b){var c=a[4].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[4].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[4].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[4].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[4].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[5].call(this,this.H&255,b.call(this));this.H=
this.H&-256|c},function(a,b){var c=a[5].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[5].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[5].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[5].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[5].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[5].call(this,this.K>>8,b.call(this));this.K=this.K&255|
c<<8},function(a,b){var c=a[5].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[6].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[6].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[6].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=a[6].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[6].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,
b){var c=a[6].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[6].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[6].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8},function(a,b){var c=a[7].call(this,this.H&255,b.call(this));this.H=this.H&-256|c},function(a,b){var c=a[7].call(this,this.J&255,b.call(this));this.J=this.J&-256|c},function(a,b){var c=a[7].call(this,this.K&255,b.call(this));this.K=this.K&-256|c},function(a,b){var c=
a[7].call(this,this.C&255,b.call(this));this.C=this.C&-256|c},function(a,b){var c=a[7].call(this,this.H>>8,b.call(this));this.H=this.H&255|c<<8},function(a,b){var c=a[7].call(this,this.J>>8,b.call(this));this.J=this.J&255|c<<8},function(a,b){var c=a[7].call(this,this.K>>8,b.call(this));this.K=this.K&255|c<<8},function(a,b){var c=a[7].call(this,this.C>>8,b.call(this));this.C=this.C&255|c<<8}],Cg=[function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=
this.B.fa},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[0].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.P(this.D,this.F),
b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[0].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this,
this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[1].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[1].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,
b){var c=a[1].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));
this.S(c);this.A-=this.B.fa},function(a,b){var c=a[2].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[2].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[2].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.G&65535),
b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[3].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=
a[3].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[3].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[3].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},
function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[4].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[4].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);
this.A-=this.B.ta},function(a,b){var c=a[4].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[5].call(this,this.P(this.N,
this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[5].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[5].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[5].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,
this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[6].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=
this.B.aa},function(a,b){var c=a[6].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[6].call(this,this.P(this.D,this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[6].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F&65535),b.call(this));
this.S(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G&65535),b.call(this));this.S(c);this.A-=this.B.ga},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.F&65535),b.call(this));this.S(c);this.A-=this.B.fa},function(a,b){var c=a[7].call(this,this.P(this.D,this.G),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.P(this.D,this.F),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[7].call(this,this.P(this.D,
this.L()),b.call(this));this.S(c);this.A-=this.B.ta},function(a,b){var c=a[7].call(this,this.P(this.D,this.C),b.call(this));this.S(c);this.A-=this.B.aa},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=
this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,
this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F+
this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=
this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,
b){var c=a[2].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+
this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));
this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,
b){var c=a[4].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,
this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F+this.M()&65535),
b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=
this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,
this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.M()&65535),
b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G+this.M()&65535),b.call(this));this.S(c);
this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.G+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.F+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=
a[7].call(this,this.P(this.D,this.C+this.M()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[0].call(this,this.P(this.N,
this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[0].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[0].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);
this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},
function(a,b){var c=a[1].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[1].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,
this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[2].call(this,this.P(this.D,this.G+this.L()&65535),
b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[2].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},
function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[3].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,
this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[3].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.F+this.L()&65535),
b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[4].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=
this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[4].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,
this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[5].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.N,this.I+this.L()&65535),
b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[5].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);
this.A-=this.B.W},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[6].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[6].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=
a[6].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.W},function(a,b){var c=a[7].call(this,this.P(this.N,
this.I+this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.V},function(a,b){var c=a[7].call(this,this.P(this.D,this.G+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.F+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.N,this.I+this.L()&65535),b.call(this));this.S(c);this.A-=this.B.Q},function(a,b){var c=a[7].call(this,this.P(this.D,this.C+this.L()&65535),b.call(this));this.S(c);
this.A-=this.B.Q},function(a,b){this.H=a[0].call(this,this.H,b.call(this))},function(a,b){this.J=a[0].call(this,this.J,b.call(this))},function(a,b){this.K=a[0].call(this,this.K,b.call(this))},function(a,b){this.C=a[0].call(this,this.C,b.call(this))},function(a,b){this.X=a[0].call(this,this.X,b.call(this))},function(a,b){this.I=a[0].call(this,this.I,b.call(this))},function(a,b){this.G=a[0].call(this,this.G,b.call(this))},function(a,b){this.F=a[0].call(this,this.F,b.call(this))},function(a,b){this.H=
a[1].call(this,this.H,b.call(this))},function(a,b){this.J=a[1].call(this,this.J,b.call(this))},function(a,b){this.K=a[1].call(this,this.K,b.call(this))},function(a,b){this.C=a[1].call(this,this.C,b.call(this))},function(a,b){this.X=a[1].call(this,this.X,b.call(this))},function(a,b){this.I=a[1].call(this,this.I,b.call(this))},function(a,b){this.G=a[1].call(this,this.G,b.call(this))},function(a,b){this.F=a[1].call(this,this.F,b.call(this))},function(a,b){this.H=a[2].call(this,this.H,b.call(this))},
function(a,b){this.J=a[2].call(this,this.J,b.call(this))},function(a,b){this.K=a[2].call(this,this.K,b.call(this))},function(a,b){this.C=a[2].call(this,this.C,b.call(this))},function(a,b){this.X=a[2].call(this,this.X,b.call(this))},function(a,b){this.I=a[2].call(this,this.I,b.call(this))},function(a,b){this.G=a[2].call(this,this.G,b.call(this))},function(a,b){this.F=a[2].call(this,this.F,b.call(this))},function(a,b){this.H=a[3].call(this,this.H,b.call(this))},function(a,b){this.J=a[3].call(this,this.J,
b.call(this))},function(a,b){this.K=a[3].call(this,this.K,b.call(this))},function(a,b){this.C=a[3].call(this,this.C,b.call(this))},function(a,b){this.X=a[3].call(this,this.X,b.call(this))},function(a,b){this.I=a[3].call(this,this.I,b.call(this))},function(a,b){this.G=a[3].call(this,this.G,b.call(this))},function(a,b){this.F=a[3].call(this,this.F,b.call(this))},function(a,b){this.H=a[4].call(this,this.H,b.call(this))},function(a,b){this.J=a[4].call(this,this.J,b.call(this))},function(a,b){this.K=a[4].call(this,
this.K,b.call(this))},function(a,b){this.C=a[4].call(this,this.C,b.call(this))},function(a,b){this.X=a[4].call(this,this.X,b.call(this))},function(a,b){this.I=a[4].call(this,this.I,b.call(this))},function(a,b){this.G=a[4].call(this,this.G,b.call(this))},function(a,b){this.F=a[4].call(this,this.F,b.call(this))},function(a,b){this.H=a[5].call(this,this.H,b.call(this))},function(a,b){this.J=a[5].call(this,this.J,b.call(this))},function(a,b){this.K=a[5].call(this,this.K,b.call(this))},function(a,b){this.C=
a[5].call(this,this.C,b.call(this))},function(a,b){this.X=a[5].call(this,this.X,b.call(this))},function(a,b){this.I=a[5].call(this,this.I,b.call(this))},function(a,b){this.G=a[5].call(this,this.G,b.call(this))},function(a,b){this.F=a[5].call(this,this.F,b.call(this))},function(a,b){this.H=a[6].call(this,this.H,b.call(this))},function(a,b){this.J=a[6].call(this,this.J,b.call(this))},function(a,b){this.K=a[6].call(this,this.K,b.call(this))},function(a,b){this.C=a[6].call(this,this.C,b.call(this))},
function(a,b){this.X=a[6].call(this,this.X,b.call(this))},function(a,b){this.I=a[6].call(this,this.I,b.call(this))},function(a,b){this.G=a[6].call(this,this.G,b.call(this))},function(a,b){this.F=a[6].call(this,this.F,b.call(this))},function(a,b){this.H=a[7].call(this,this.H,b.call(this))},function(a,b){this.J=a[7].call(this,this.J,b.call(this))},function(a,b){this.K=a[7].call(this,this.K,b.call(this))},function(a,b){this.C=a[7].call(this,this.C,b.call(this))},function(a,b){this.X=a[7].call(this,this.X,
b.call(this))},function(a,b){this.I=a[7].call(this,this.I,b.call(this))},function(a,b){this.G=a[7].call(this,this.G,b.call(this))},function(a,b){this.F=a[7].call(this,this.F,b.call(this))}];function vc(){Dg[this.da()].call(this)}function xc(){F(this,this.X);this.A-=this.B.qc}function ec(){var a=this.X;F(this,this.H);F(this,this.J);F(this,this.K);F(this,this.C);F(this,a);F(this,this.I);F(this,this.G);F(this,this.F);this.A-=this.B.gl}
function fc(){this.F=this.Ja();this.G=this.Ja();this.I=this.Ja();this.X+=2;this.C=this.Ja();this.K=this.Ja();this.J=this.Ja();this.H=this.Ja();this.A-=this.B.el}function gc(){N[this.da()].call(this,Td)}function wc(){zg[this.da()].call(this,Ud)}function hc(){F(this,this.L());this.A-=this.B.qc}function ic(){N[this.da()].call(this,Od)}function jc(){F(this,this.da());this.A-=this.B.qc}function kc(){N[this.da()].call(this,Nd)}
function lc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=gb(this.ra,this.K,this.Da-b-1);this.ze(this.Ua.Yb(this.F,0),d);this.F=this.F+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}}
function mc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.Da-b-1,e=gb(this.ra,this.K,d),d=e|=gb(this.ra,this.K,d)<<8;this.Oa(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}}
function nc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.pd(this.tb.Dc(this.G,0));this.G=this.G+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;ib(this.ra,this.K,d,this.Da-b-1);a&&(J(this,-2),this.Z|=256)}}
function oc(){var a=1,b=0,c=5;this.wa&192&&(a=this.J,b=1,this.wa&256&&(c=4));if(a--){var d=this.pa(this.tb.Dc(this.G,1));this.G=this.G+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;b=this.Da-b-1;ib(this.ra,this.K,d&255,b);ib(this.ra,this.K,d>>8,b);a&&(J(this,-2),this.Z|=256)}}function Eg(){var a=this.M();Pc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Fg(){var a=this.M();Pc(this)?this.A-=this.B.Tb:(I(this,this.ua+a),this.A-=this.B.Sb)}
function Gg(){var a=this.M();Kc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Hg(){var a=this.M();Kc(this)?this.A-=this.B.Tb:(I(this,this.ua+a),this.A-=this.B.Sb)}function Ig(){var a=this.M();Nc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Jg(){var a=this.M();Nc(this)?this.A-=this.B.Tb:(I(this,this.ua+a),this.A-=this.B.Sb)}function Kg(){var a=this.M();Kc(this)||Nc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}
function Lg(){var a=this.M();Kc(this)||Nc(this)?this.A-=this.B.Tb:(I(this,this.ua+a),this.A-=this.B.Sb)}function Mg(){var a=this.M();Oc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Ng(){var a=this.M();Oc(this)?this.A-=this.B.Tb:(I(this,this.ua+a),this.A-=this.B.Sb)}function Og(){var a=this.M();Lc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Pg(){var a=this.M();Lc(this)?this.A-=this.B.Tb:(I(this,this.ua+a),this.A-=this.B.Sb)}
function Qg(){var a=this.M();!Oc(this)!=!Pc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Rg(){var a=this.M();!Oc(this)==!Pc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Sg(){var a=this.M();Nc(this)||!Oc(this)!=!Pc(this)?(I(this,this.ua+a),this.A-=this.B.Sb):this.A-=this.B.Tb}function Tg(){var a=this.M();Nc(this)||!Oc(this)!=!Pc(this)?this.A-=this.B.Tb:(I(this,this.ua+a),this.A-=this.B.Sb)}
function Ug(){Bg[this.da()].call(this,xd,this.da);this.A-=0>this.Ka?1:this.B.dh}function pc(){Bg[this.da()].call(this,Dd,ud)}function qc(){Cg[this.da()].call(this,Ed,ud)}function Vg(){var a=this.L();I(this,this.Ja());this.X=this.X+a&65535;this.A-=this.B.ll}function Wg(){I(this,this.Ja());this.A-=this.B.il}
function rc(){var a=this.L(),b=this.da()&31;this.A-=11;F(this,this.I);var c=this.X;if(0<b){for(this.A-=(b<<2)+(1<b?1:0);--b;)this.I=this.I-2&65535,F(this,this.pa(this.jb.Dc(this.I,1)));F(this,c)}this.I=c;this.X=this.X-a&65535}function sc(){this.X=this.I;this.I=this.Ja();this.A-=5}function Xg(){$d.call(this,this.L());this.A-=this.B.kl}function Yg(){$d.call(this,0);this.A-=this.B.jl}function Zg(){N[this.da()].call(this,Pd);this.A-=8}function $g(){this.Z|=36;this.A-=this.B.Rd}
function tc(){M.call(this)}
var ac=[function(){var a=this.da();yg[a].call(this,bd)},function(){zg[this.da()].call(this,jd)},function(){Ag[this.da()].call(this,bd)},function(){N[this.da()].call(this,jd)},function(){this.H=this.H&-256|bd.call(this,this.H&255,this.da());this.A--},function(){this.H=jd.call(this,this.H,this.L());this.A--},function(){F(this,this.Ua.Ba);this.A-=this.B.Sf},function(){Jc(this,this.Ja());this.A-=this.B.gc},function(){yg[this.da()].call(this,cd)},function(){zg[this.da()].call(this,kd)},function(){Ag[this.da()].call(this,
cd)},function(){N[this.da()].call(this,kd)},function(){this.H=this.H&-256|cd.call(this,this.H&255,this.da());this.A--},function(){this.H=kd.call(this,this.H,this.L());this.A--},function(){F(this,this.ya.Ba);this.A-=this.B.Sf},function(){Gc(this,this.Ja());this.A-=this.B.gc},function(){yg[this.da()].call(this,dd)},function(){zg[this.da()].call(this,ld)},function(){Ag[this.da()].call(this,dd)},function(){N[this.da()].call(this,ld)},function(){this.H=this.H&-256|dd.call(this,this.H&255,this.da());this.A--},
function(){this.H=ld.call(this,this.H,this.L());this.A--},function(){F(this,this.jb.Ba);this.A-=this.B.Sf},function(){Ic(this,this.Ja());this.A-=this.B.gc},function(){yg[this.da()].call(this,ed)},function(){zg[this.da()].call(this,md)},function(){Ag[this.da()].call(this,ed)},function(){N[this.da()].call(this,md)},function(){this.H=this.H&-256|ed.call(this,this.H&255,this.da());this.A--},function(){this.H=md.call(this,this.H,this.L());this.A--},function(){F(this,this.tb.Ba);this.A-=this.B.Sf},function(){Hc(this,
this.Ja());this.A-=this.B.gc},function(){yg[this.da()].call(this,fd)},function(){zg[this.da()].call(this,nd)},function(){Ag[this.da()].call(this,fd)},function(){N[this.da()].call(this,nd)},function(){this.H=this.H&-256|fd.call(this,this.H&255,this.da());this.A--},function(){this.H=nd.call(this,this.H,this.L());this.A--},function(){this.Z|=20;this.D=this.N=this.Ua;this.A-=this.B.Rd},function(){var a=this.H&255,b=Mc(this),c=this.Y&this.ca;if(9<(a&15)||b)a+=6,b=!0;if(159<a||c)a+=96,c=!0;this.H=this.H&
-256|(this.Y=this.ia=a&255);this.ca=65536;c&&(this.Y|=this.ca);b?Vc(this):Rc(this);this.A-=this.B.te},function(){yg[this.da()].call(this,gd)},function(){zg[this.da()].call(this,od)},function(){Ag[this.da()].call(this,gd)},function(){N[this.da()].call(this,od)},function(){this.H=this.H&-256|gd.call(this,this.H&255,this.da());this.A--},function(){this.H=od.call(this,this.H,this.L());this.A--},function(){this.Z|=20;this.D=this.N=this.ya;this.A-=this.B.Rd},function(){var a=this.H&255,b=Mc(this),c=this.Y&
this.ca;if(9<(a&15)||b)a-=6,b=!0;if(159<a||c)a-=96,c=!0;this.H=this.H&-256|(this.Y=this.ia=a&255);this.ca=65536;c&&(this.Y|=this.ca);b?Vc(this):Rc(this);this.A-=this.B.te},function(){yg[this.da()].call(this,hd)},function(){zg[this.da()].call(this,pd)},function(){Ag[this.da()].call(this,hd)},function(){N[this.da()].call(this,pd)},function(){this.H=this.H&-256|hd.call(this,this.H&255,this.da());this.A--},function(){this.H=pd.call(this,this.H,this.L());this.A--},function(){this.Z|=20;this.D=this.N=this.jb;
this.A-=this.B.Rd},function(){var a=this.H&255,b=this.H>>8,c,d=Mc(this);9<(a&15)||d?(a=a+6&15,b=b+1&255,c=d=!0):c=d=!1;this.H=b<<8|(this.Y=a);this.ca=65536;c&&(this.Y|=this.ca);d?Vc(this):Rc(this);this.A-=this.B.te},function(){yg[this.da()].call(this,id)},function(){zg[this.da()].call(this,qd)},function(){Ag[this.da()].call(this,id)},function(){N[this.da()].call(this,qd)},function(){this.H=this.H&-256|id.call(this,this.H&255,this.da());this.A--},function(){this.H=qd.call(this,this.H,this.L());this.A--},
function(){this.Z|=20;this.D=this.N=this.tb;this.A-=this.B.Rd},function(){var a=this.H&255,b=this.H>>8,c,d=Mc(this);9<(a&15)||d?(a=a-6&15,b=b-1&255,c=d=!0):c=d=!1;this.H=b<<8|(this.Y=a);this.ca=65536;c&&(this.Y|=this.ca);d?Vc(this):Rc(this);this.A-=this.B.te},function(){this.na=this.H;this.H=(this.ia=this.H+1)&65535;this.Y=this.H|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.J;this.J=(this.ia=this.J+1)&65535;this.Y=this.J|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=
2},function(){this.na=this.K;this.K=(this.ia=this.K+1)&65535;this.Y=this.K|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.C;this.C=(this.ia=this.C+1)&65535;this.Y=this.C|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.X;this.X=(this.ia=this.X+1)&65535;this.Y=this.X|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.I;this.I=(this.ia=this.I+1)&65535;this.Y=this.I|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=
this.G;this.G=(this.ia=this.G+1)&65535;this.Y=this.G|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.F;this.F=(this.ia=this.F+1)&65535;this.Y=this.F|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.H;this.H=(this.ia=this.H-1)&65535;this.Y=this.H|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.J;this.J=(this.ia=this.J-1)&65535;this.Y=this.J|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.K;this.K=
(this.ia=this.K-1)&65535;this.Y=this.K|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.C;this.C=(this.ia=this.C-1)&65535;this.Y=this.C|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.X;this.X=(this.ia=this.X-1)&65535;this.Y=this.X|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.I;this.I=(this.ia=this.I-1)&65535;this.Y=this.I|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.G;this.G=(this.ia=this.G-
1)&65535;this.Y=this.G|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){this.na=this.F;this.F=(this.ia=this.F-1)&65535;this.Y=this.F|(this.Y&this.ca?1:0)<<16;this.ca=65536;this.A-=2},function(){F(this,this.H);this.A-=this.B.qc},function(){F(this,this.J);this.A-=this.B.qc},function(){F(this,this.K);this.A-=this.B.qc},function(){F(this,this.C);this.A-=this.B.qc},function(){F(this,this.X-2&65535);this.A-=this.B.qc},function(){F(this,this.I);this.A-=this.B.qc},function(){F(this,this.G);this.A-=
this.B.qc},function(){F(this,this.F);this.A-=this.B.qc},function(){this.H=this.Ja();this.A-=this.B.gc},function(){this.J=this.Ja();this.A-=this.B.gc},function(){this.K=this.Ja();this.A-=this.B.gc},function(){this.C=this.Ja();this.A-=this.B.gc},function(){this.X=this.Ja();this.A-=this.B.gc},function(){this.I=this.Ja();this.A-=this.B.gc},function(){this.G=this.Ja();this.A-=this.B.gc},function(){this.F=this.Ja();this.A-=this.B.gc},Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,
Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Ug,function(){Cg[this.da()].call(this,yd,this.L);this.A-=0>this.Ka?1:this.B.dh},Ug,function(){Cg[this.da()].call(this,yd,this.M);this.A-=0>this.Ka?1:this.B.dh},function(){yg[this.da()].call(this,Ld)},function(){zg[this.da()].call(this,Md)},function(){Ag[this.ug=this.da()].call(this,Xd)},function(){N[this.ug=this.da()].call(this,Yd)},function(){this.Z|=1;yg[this.da()].call(this,Jd)},function(){this.Z|=1;zg[this.da()].call(this,Jd)},function(){Ag[this.da()].call(this,Jd)},
function(){N[this.da()].call(this,Jd)},function(){var a=this.da();switch((a&56)>>3){case 0:this.Fb=this.Ua.Ba;break;case 1:this.Fb=this.ya.Ba;break;case 2:this.Fb=this.jb.Ba;break;case 3:this.Fb=this.tb.Ba;break;default:M.call(this);return}this.Z|=1;zg[a].call(this,Kd)},function(){this.Z|=1;this.D=this.N=this.Al;N[this.da()].call(this,Qd)},function(){var a,b=this.da(),c=(b&56)>>3;switch(c){case 0:a=this.H;break;case 2:a=this.K;break;case 3:a=this.C;break;default:if(80286<=this.Ia){G.call(this);return}switch(c){case 1:a=
this.J;break;case 4:a=this.X;break;case 5:a=this.I;break;case 6:a=this.G;break;case 7:a=this.F}}N[b].call(this,Jd);switch(c){case 0:Jc(this,this.H);this.H=a;break;case 1:Gc(this,this.J);this.J=a;break;case 2:Ic(this,this.K);this.K=a;break;case 3:Hc(this,this.C);this.C=a;break;case 4:Jc(this,this.X);this.X=a;break;case 5:Gc(this,this.I);this.I=a;break;case 6:Ic(this,this.G);this.G=a;break;case 7:Hc(this,this.F),this.F=a}},function(){this.Z|=1;Cg[this.da()].call(this,zd,this.Ja)},function(){this.A-=
3},function(){var a=this.H;this.H=this.J;this.J=a;this.A-=3},function(){var a=this.H;this.H=this.K;this.K=a;this.A-=3},function(){var a=this.H;this.H=this.C;this.C=a;this.A-=3},function(){var a=this.H;this.H=this.X;this.X=a;this.A-=3},function(){var a=this.H;this.H=this.I;this.I=a;this.A-=3},function(){var a=this.H;this.H=this.G;this.G=a;this.A-=3},function(){var a=this.H;this.H=this.F;this.F=a;this.A-=3},function(){this.H=this.H<<24>>24&65535;this.A-=2},function(){this.K=this.H&32768?65535:0;this.A-=
this.B.sk},function(){Id.call(this,this.L(),this.L());this.A-=this.B.vk},function(){this.hc("WAIT not implemented",1);this.A--},function(){F(this,Ub(this));this.A-=this.B.qc},function(){Vb(this,this.Ja());this.A-=this.B.gc},function(){var a=this.H>>8;a&1?Uc(this):Qc(this);a&4?Lc(this)||(this.ia^=1):Lc(this)&&(this.ia^=1);a&16?Vc(this):Rc(this);a&64?Wc(this):Sc(this);a&128?Xc(this):Oc(this)&&(this.ia^=this.ca>>1|this.ca>>2,this.na^=32896);this.A-=this.B.Eb},function(){this.H=this.H&255|(Ub(this)&213)<<
8;this.A-=this.B.Eb},function(){this.H=this.H&-256|this.T(this.D,this.L());this.A-=this.B.Ii},function(){this.H=this.U(this.D,this.L());this.A-=this.B.Ii},function(){var a=this.L(),b=this.H;this.ze(this.D.Yb(a,0),b);this.A-=this.B.Ji},function(){var a=this.L(),b=this.H;this.Oa(this.D.Yb(a,1),b);this.A-=this.B.Ji},function(){var a=1,b=0,c=this.B.Ki;this.wa&192&&(a=this.J,b=1,c=this.B.Mi,this.wa&256||(this.A-=this.B.Li));if(a--){var d=this.Ea&1024?-1:1,e=this.T(this.D,this.G);this.ze(this.Ua.Yb(this.F,
0),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Ki;this.wa&192&&(a=this.J,b=1,c=this.B.Mi,this.wa&256||(this.A-=this.B.Li));if(a--){var d=this.Ea&1024?-2:2,e=this.U(this.D,this.G);this.Oa(this.Ua.Yb(this.F,1),e);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c;this.J-=b;a&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.ui;this.wa&192&&(a=this.J,b=1,c=this.B.wi,this.wa&256||
(this.A-=this.B.vi));if(a--){var d=this.Ea&1024?-1:1,e=this.T(this.D,this.G),f=this.O(this.Ua,this.F);id.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+d&65535;this.A-=c-this.B.vb;this.J-=b;a&&Nc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.ui;this.wa&192&&(a=this.J,b=1,c=this.B.wi,this.wa&256||(this.A-=this.B.vi));if(a--){var d=this.Ea&1024?-2:2,e=this.U(this.D,this.G),f=this.P(this.Ua,this.F);qd.call(this,e,f);this.G=this.G+d&65535;this.F=this.F+
d&65535;this.A-=c-this.B.vb;this.J-=b;a&&Nc(this)==(this.wa&64)&&(J(this,this.wa&16?-3:-2),this.Z|=256)}},function(){this.Y=this.ia=this.na=this.H&255&this.da();this.ca=256;this.A-=this.B.te},function(){this.Y=this.ia=this.na=this.H&this.L();this.ca=65536;this.A-=this.B.te},function(){var a=1,b=0,c=this.B.Vi;this.wa&192&&(a=this.J,b=1,c=this.B.Xi,this.wa&256||(this.A-=this.B.Wi));if(a--){var d=this.H;this.ze(this.Ua.Yb(this.F,0),d);this.F=this.F+(this.Ea&1024?-1:1)&65535;this.A-=c;this.J-=b;a&&(J(this,
-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Vi;this.wa&192&&(a=this.J,b=1,c=this.B.Xi,this.wa&256||(this.A-=this.B.Wi));if(a--){var d=this.H;this.Oa(this.Ua.Yb(this.F,1),d);this.F=this.F+(this.Ea&1024?-2:2)&65535;this.A-=c;this.J-=b;a&&(J(this,-2),this.Z|=256)}},function(){var a=1,b=0,c=this.B.Ci;this.wa&192&&(a=this.J,b=1,c=this.B.Ei,this.wa&256||(this.A-=this.B.Di));a--&&(this.H=this.H&-256|this.T(this.D,this.G),this.G=this.G+(this.Ea&1024?-1:1)&65535,this.A-=c,this.J-=b,a&&(J(this,this.wa&
16?-3:-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Ci;this.wa&192&&(a=this.J,b=1,c=this.B.Ei,this.wa&256||(this.A-=this.B.Di));a--&&(this.H=this.U(this.D,this.G),this.G=this.G+(this.Ea&1024?-2:2)&65535,this.A-=c,this.J-=b,a&&(J(this,this.wa&16?-3:-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Pi;this.wa&192&&(a=this.J,b=1,c=this.B.Ri,this.wa&256||(this.A-=this.B.Qi));a--&&(id.call(this,this.H&255,this.O(this.Ua,this.F)),this.F=this.F+(this.Ea&1024?-1:1)&65535,this.A-=c-this.B.vb,this.J-=
b,a&&Nc(this)==(this.wa&64)&&(J(this,-2),this.Z|=256))},function(){var a=1,b=0,c=this.B.Pi;this.wa&192&&(a=this.J,b=1,c=this.B.Ri,this.wa&256||(this.A-=this.B.Qi));a--&&(qd.call(this,this.H,this.P(this.Ua,this.F)),this.F=this.F+(this.Ea&1024?-2:2)&65535,this.A-=c-this.B.vb,this.J-=b,a&&Nc(this)==(this.wa&64)&&(J(this,-2),this.Z|=256))},function(){this.H=this.H&-256|this.da();this.A-=this.B.Eb},function(){this.J=this.J&-256|this.da();this.A-=this.B.Eb},function(){this.K=this.K&-256|this.da();this.A-=
this.B.Eb},function(){this.C=this.C&-256|this.da();this.A-=this.B.Eb},function(){this.H=this.H&255|this.da()<<8;this.A-=this.B.Eb},function(){this.J=this.J&255|this.da()<<8;this.A-=this.B.Eb},function(){this.K=this.K&255|this.da()<<8;this.A-=this.B.Eb},function(){this.C=this.C&255|this.da()<<8;this.A-=this.B.Eb},function(){this.H=this.L();this.A-=this.B.Eb},function(){this.J=this.L();this.A-=this.B.Eb},function(){this.K=this.L();this.A-=this.B.Eb},function(){this.C=this.L();this.A-=this.B.Eb},function(){this.X=
this.L();this.A-=this.B.Eb},function(){this.I=this.L();this.A-=this.B.Eb},function(){this.G=this.L();this.A-=this.B.Eb},function(){this.F=this.L();this.A-=this.B.Eb},Vg,Wg,Vg,Wg,function(){N[this.da()].call(this,Sd)},function(){N[this.da()].call(this,Rd)},function(){this.Z|=1;Bg[this.da()].call(this,Cd,this.da)},function(){this.Z|=1;Cg[this.da()].call(this,Cd,this.L)},Xg,Yg,Xg,Yg,function(){$c.call(this,3,null,this.B.Mk)},function(){var a=this.da(),b;a:{b=this.jg[a];if(void 0!==b)for(var c=0;c<b.length;c++)if(!b[c][1].call(b[c][0],
this.Da)){b=!1;break a}b=!0}b?$c.call(this,a,null,0):this.A--},function(){Pc(this)?$c.call(this,4,null,this.B.Nk):this.A-=this.B.Ok},function(){this.A-=this.B.Kk;if(this.kc&1&&this.Ea&16384){var a=this.pa(this.kb.La+0);Tb.call(this.ya,a,!1)}else{var a=this.ya.$a,b=this.Ja(),c=this.Ja(),d=this.Ja();null!=Wb(this,b,c,!1)&&(Vb(this,d,a),this.Bg&&Dc(this,this.Da))}},function(){Bg[this.da()].call(this,Dd,sd)},function(){Cg[this.da()].call(this,Ed,sd)},function(){Bg[this.da()].call(this,Dd,td)},function(){Cg[this.da()].call(this,
Ed,td)},function(){var a=this.da(),b=this.H&255;this.H=(b/a&255)<<8|b%a;this.ca=256;this.Y=this.ia=b;this.A-=this.B.pk},function(){var a=this.da();this.Y=this.ia=this.H=(this.H>>8)*a+this.H&255;this.ca=256;this.A-=this.B.ok},function(){this.H=this.H&-256|(Kc(this)?255:0);this.A-=2},function(){this.H=this.H&-256|this.T(this.D,this.C+(this.H&255)&65535);this.A-=this.B.nl},Zg,Zg,Zg,Zg,Zg,Zg,Zg,Zg,function(){var a=this.M();(this.J=this.J-1&65535)&&this.Y&this.ca-1?(I(this,this.ua+a),this.A-=this.B.Vk):
this.A-=this.B.Fi},function(){var a=this.M();!(this.J=this.J-1&65535)||this.Y&this.ca-1?this.A-=this.B.Hi:(I(this,this.ua+a),this.A-=this.B.Gi)},function(){var a=this.M();(this.J=this.J-1&65535)?(I(this,this.ua+a),this.A-=this.B.Uk):this.A-=this.B.Fi},function(){var a=this.M();this.J?this.A-=this.B.Hi:(I(this,this.ua+a),this.A-=this.B.Gi)},function(){var a=this.da();this.H=this.H&-256|gb(this.ra,a,this.Da-2);this.A-=this.B.zi},function(){var a=this.da();this.H=gb(this.ra,a,this.Da-2);this.H|=gb(this.ra,
a+1&65535,this.Da-2)<<8;this.A-=this.B.zi},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);this.A-=this.B.Oi},function(){var a=this.da();ib(this.ra,a,this.H&255,this.Da-2);ib(this.ra,a+1&65535,this.H>>8,this.Da-2);this.A-=this.B.Oi},function(){var a=this.L();F(this,this.ua);I(this,this.ua+a);this.A-=this.B.tk},function(){var a=this.L();I(this,this.ua+a);this.A-=this.B.Ai},function(){Wb(this,this.L(),this.L());this.A-=this.B.Qk},function(){var a=this.M();I(this,this.ua+a);this.A-=this.B.Ai},
function(){this.H=this.H&-256|gb(this.ra,this.K,this.Da-1);this.A-=this.B.yi},function(){this.H=gb(this.ra,this.K,this.Da-1);this.H|=gb(this.ra,this.K+1&65535,this.Da-1)<<8;this.A-=this.B.yi},function(){ib(this.ra,this.K,this.H&255,this.Da-1);this.A-=this.B.Ni},function(){ib(this.ra,this.K,this.H&255,this.Da-1);ib(this.ra,this.K+1&65535,this.H>>8,this.Da-1);this.A-=this.B.Ni},$g,$g,function(){this.Z|=132;this.A-=this.B.Rd},function(){this.Z|=68;this.A-=this.B.Rd},function(){this.ob|=4;this.A-=2;this.Ea&
512||B(this)},function(){Kc(this)?Qc(this):Uc(this);this.A-=2},function(){this.Fb=-1;Bg[this.da()].call(this,Gd,vd);0<=this.Fb&&(this.H=this.Fb)},function(){this.Fb=-1;Cg[this.da()].call(this,Hd,vd);0<=this.Fb&&(this.H=this.Fb,this.K=this.$f)},function(){this.Y&=~this.ca;this.A-=2},function(){this.Y|=this.ca;this.A-=2},function(){this.Ea&=-513;this.A-=this.B.rk},function(){this.Ea|=512;this.Z|=4;this.A-=2},function(){this.Ea&=-1025;this.A-=2},function(){this.Ea|=1024;this.A-=2},function(){Bg[this.da()].call(this,
bc,vd)},function(){Cg[this.da()].call(this,cc,vd)}],Dg=[function(){var a=this.da();16>(a&56)&&(this.Z|=1);Cg[a].call(this,this.zj,vd)},function(){var a=this.da();a&16||(this.Z|=1);Cg[a].call(this,ah,vd)},function(){N[this.da()].call(this,Vd)},function(){N[this.da()].call(this,Wd)},M,function(){this.ya.$a?E.call(this,13,0,!0):(Zd.call(this,this.pa(2054)),this.F=this.pa(2086),this.G=this.pa(2088),this.I=this.pa(2090),this.X=this.pa(2092),this.C=this.pa(2094),this.K=this.pa(2096),this.J=this.pa(2098),
this.H=this.pa(2100),Xb(this.Ua,2102,this.pa(2084)),Xb(this.ya,2108,this.pa(2082)),Xb(this.jb,2114,this.pa(2080)),Xb(this.tb,2120,this.pa(2078)),Vb(this,this.pa(2072)),I(this,this.pa(2074)),this.Kc=this.pa(2126)|this.pa(2128)<<16,this.Ke=this.Kc+this.pa(2130),Xb(this.Xd,2132,this.pa(2076)),this.Lc=this.pa(2138)|this.pa(2140)<<16,this.Le=this.Lc+this.pa(2142),Xb(this.kb,2144,this.pa(2070)),this.A-=195)},function(){this.ya.$a?E.call(this,13,0,!0):(this.kc&=-9,this.A-=2)},M,M,M,M,G,M,M,M,M,M,M,M,M,M,
M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M,M],Ec=[function(){this.A-=2+(0>this.ha?
0:1);return this.Xd.Ba},function(){this.A-=2+(0>this.ha?0:1);return this.kb.Ba},function(a){this.Z|=2;this.Xd.load(a);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;-4!=this.kb.load(a)&&(this.Oa(this.kb.yd+4,this.kb.lb|=512),this.kb.type=768);this.A-=17+(0>this.ha?0:2);return a},function(a){this.Z|=2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Ib.load(a,!0)&&2048!=(this.Ib.lb&2560)&&(this.Ib.pc>=this.ya.$a&&this.Ib.pc>=(a&3)||7168==(this.Ib.lb&7168)))return Wc(this),a;Sc(this);return a},function(a){this.Z|=
2;this.A-=14+(0>this.ha?0:2);if(-4!=this.Ib.load(a,!0)&&512==(this.Ib.lb&2560)&&this.Ib.pc>=this.ya.$a&&this.Ib.pc>=(a&3))return Wc(this),a;Sc(this);return a},K,K],dc=[uc,uc,uc,uc,uc,uc,K,K],ah=[function(a){0>this.ha?G.call(this):(a=this.Ke-this.Kc,this.Oa(this.ha+2,this.Kc),this.Oa(this.ha+4,65280|this.Kc>>16),this.A-=11);return a},function(a){0>this.ha?G.call(this):(a=this.Le-this.Lc,this.Oa(this.ha+2,this.Lc),this.Oa(this.ha+4,65280|this.Lc>>16),this.A-=12);return a},function(a){0>this.ha?G.call(this):
(this.Kc=this.pa(this.ha+2)|this.pd(this.ha+4)<<16,this.Ke=this.Kc+a,this.Z|=2,this.A-=11);return a},function(a){0>this.ha?G.call(this):(this.Lc=this.pa(this.ha+2)|this.pd(this.ha+4)<<16,this.Le=this.Lc+a,this.Z|=2,this.A-=12);return a},function(){this.A-=2+(0>this.ha?0:1);return this.kc},K,function(a){Zd.call(this,a);this.A-=0>this.ha?3:6;this.Z|=2;return a},K];
function O(a){u.call(this,"ChipSet",a,O);this.Ia=(this.Ia=a.model)?parseInt(this.Ia,10):bh;this.Ub=0;var b=a.sw1;if(b)this.Ub=ch(b,dh|eh.Kl);else{this.wd=[360,360];(b=a.floppies)&&b.length&&(this.wd=b);if(b=this.wd.length)this.Ub|=fh.vh,b--,this.Ub|=(b&3)<<fh.kf;if(b=a.monitor||(this.Ia<gh?"mono":"ega"),void 0!==hh[b])this.Ub|=hh[b]<<eh.kf}this.Yd=ch(a.sw2||"11110000",0);this.kn=this.Ia==bh?16:64;this.Ag=this.sf=1;this.Ia>=gh&&(this.Ag=this.sf=2);this.Jd=a.scaleTimers||!1;this.Co=a.rtcDate;this.Yj=
!1;a.sound&&window&&"webkitAudioContext"in window&&(this.Kh=new window.webkitAudioContext);this.reset(!0);z(this)}v(u,O);var bh=5150,gh=5170,hh={none:0,tv:1,color:2,mono:3,ega:0},fh={vh:1,ONE:0,tp:64,rp:128,Ro:192,jf:192,kf:6},dh=12,eh={sp:16,Jo:32,Kl:48,jf:48,kf:4};k=O.prototype;
k.Gb=function(a,b,c){switch(b){case "sw1":return this.sa[b]=c,ih(this,b,c,this.Ub,{0:this.Ia==bh?"Bootable Floppy Drive":"Loop on POST",1:this.Ia==bh?"Reserved":"Coprocessor",2:"Base Memory Size",4:"Monitor Type",6:"Number of Floppy Drives"}),!0;case "sw2":if(this.Ia==bh)return this.sa[b]=c,ih(this,b,c,this.Yd,{0:"Expansion Memory Size",4:"Reserved"}),!0;break;case "swdesc":return this.sa[b]=c,!0}return!1};
k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Ta=a;this.Ha=Sa(a,"Keyboard");this.gh=c.ba.Zc/1193181;fb(b,this,jh);hb(b,this,kh);this.Ia<gh?(fb(b,this,lh),hb(b,this,mh)):(fb(b,this,nh),hb(b,this,oh))};k.ac=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};k.$b=function(a){return a&&this.save?this.save():!0};
k.reset=function(a){var b;this.Sc=this.Ub;this.Ce=this.Yd;ph(this);this.bb=Array(this.Ag);for(b=0;b<this.Ag;b++)qh(this,b);this.Wb=Array(this.sf);rh(this,0,32);1<this.sf&&rh(this,1,160);this.Hh=null;this.Kb=Array(3);for(b=0;b<this.Kb.length;b++)sh(this,b);this.rf=this.Fh=this.uc=this.wg=null;this.vg=0;if(this.Ia>=gh){this.mb=16;this.hd=0;this.gd=16;this.qg=0;this.de=160;512<=th(this)&&(this.de|=16);3==uh(this)&&(this.de|=64);this.Ch=3;this.tg=0;this.Xb=Array(7);this.Me=0;a&&(this.ja=Array(64));vh(this,
this.Co);for(a=21;24>=a;a++)this.ja[a]=0;for(a=14;46>a;a++)void 0===this.ja[a]&&(this.ja[a]=0);this.ja[20]=this.Sc&(eh.jf|2|fh.vh|fh.jf);this.ja[16]=wh(this,0)<<4|wh(this,1);xh(this)}};
function vh(a,b){var c=b?new Date(b):new Date;"[object Date]"!==Object.prototype.toString.call(c)||isNaN(c.getTime())?(c=new Date,a.ic("CMOS date invalid ("+b+"), using "+c)):b&&a.ic("CMOS date: "+c);a.ja[0]=c.getSeconds();a.ja[1]=0;a.ja[2]=c.getMinutes();a.ja[3]=0;a.ja[4]=c.getHours();a.ja[5]=0;a.ja[6]=c.getDay()+1;a.ja[7]=c.getDate();a.ja[8]=c.getMonth()+1;c=c.getFullYear();a.ja[9]=c%100;c/=100;a.ja[50]=c%10|c/10<<4;a.ja[10]=38;a.ja[11]=2;a.ja[12]=0;a.ja[13]=128;a.Uf=a.df=0;a.ol=a.eh=null}
function yh(a){var b;void 0===b&&(b=a.eh);a.df=C(a.ka,a.Jd)+b;a.ja[11]&64&&ub(a.ka,b)}function xh(a){for(var b=0,c=16;46>c;c++)b+=a.ja[c];a.ja[47]=b&255;a.ja[46]=b>>8}
k.save=function(){var a=new H(this);a.set(0,[this.Ub,this.Yd,this.Sc,this.Ce]);for(var b=[],c=0;c<this.bb;c++){for(var d=this.bb[c],e=d,f=[],g=0;g<e.zb.length;g++){var h=e.zb[g];f[g]=[h.rd,h.og,h.Zb,h.Ya,h.Za,h.mode,h.xg,h.xo,h.zo]}b[c]=[d.Cd,d.Dh,d.Gj,d.Bb,f]}a.set(1,[b]);b=[];for(c=0;c<this.Wb.length;c++)d=this.Wb[c],b[c]=[d.Kf,d.Jc,d.td,d.Tc,d.Mb,d.Ac,d.ee,d.qf];a.set(2,[b]);b=[];for(c=0;c<this.Kb.length;c++)d=this.Kb[c],b[c]=[d.Zb,d.wc,d.Za,d.le,d.Ij,d.mode,d.oh,d.Fd,d.ke,d.Xc,d.Bf,d.pe,d.sd];
a.set(3,[this.Hh,b]);a.set(4,[this.wg,this.uc,this.Fh,this.rf,this.vg]);this.Ia>=gh&&(a.set(5,[this.mb,this.hd,this.gd,this.qg,this.de,this.Ch]),a.set(6,[this.tg,this.Xb,this.Me,this.ja,this.Uf,this.df]));return a.data()};
k.restore=function(a){var b,c;b=a[0];this.Ub=b[0];this.Yd=b[1];this.Sc=b[2];this.Ce=b[3];b=a[1];for(c=0;c<this.Ag;c++)qh(this,c,1==b.length?b[0][c]:b);b=a[2];for(c=0;c<this.sf;c++)rh(this,c,0===c?32:160,b[0][c]);b=a[3];this.Hh=b[0];for(c=0;c<this.Kb.length;c++)sh(this,c,b[1][c]);b=a[4];this.wg=b[0];this.uc=b[1];this.Fh=b[2];this.rf=b[3];this.vg=b[4];if(b=a[5])this.mb=b[0],this.hd=b[1],this.gd=b[2],this.qg=b[3],this.de=b[4],this.Ch=b[5];if(b=a[6])this.tg=b[0],this.Xb=b[1],this.Me=b[2],this.ja=b[3],
this.Uf=b[4],this.df=b[5],vh(this);return!0};var zh=[0,null,null,0,Array(4)];function qh(a,b,c){var d=a.bb[b];d||(d={zb:Array(4)});c=c&&5==c.length?c:zh;d.Cd=c[0];d.Dh=c[1];d.Gj=c[2];d.Bb=c[3];d.qn=b<<2;for(var e=0;e<d.zb.length;e++)Ah(d,e,c[4][e]);a.bb[b]=d}var Bh=[!0,[0,0],[0,0],[0,0],[0,0]];
function Ah(a,b,c){var d=a.zb[b];d||(d={og:[0,0],Zb:[0,0],Ya:[0,0],Za:[0,0]});c=c&&8==c.length?c:Bh;d.rd=c[0];d.og[0]=c[1][0];d.og[1]=c[1][1];d.Zb[0]=c[2][0];d.Zb[1]=c[2][1];d.Ya[0]=c[3][0];d.Ya[1]=c[3][1];d.Za[0]=c[4][0];d.Za[1]=c[4][1];d.mode=c[5];d.xg=c[6];d.ea=a;d.dk=b;Ch(d,c[8],c[9]);a.zb[b]=d}function Ch(a,b,c,d){"string"==typeof b&&(b=La(b));b&&(a.Fg=null,a.xo=b.id,a.zo=c,a.Eg=b,a.ai=b[c],a.hh=d)}var Dh=[0,Array(4)];
function rh(a,b,c,d){var e=a.Wb[b];e||(e={Jc:[null,null,null,null]});d=d&&8==d.length?d:Dh;e.port=c;e.Rp=b<<3;e.Kf=d[0];e.Jc[0]=d[1][0];e.Jc[1]=d[1][1];e.Jc[2]=d[1][2];e.Jc[3]=d[1][3];e.td=d[2];e.Tc=d[3];e.Mb=d[4];e.Ac=d[5];e.ee=d[6];e.qf=d[7];a.Wb[b]=e}var Eh=[[0,0],[0,0],[0,0],[0,0]];
function sh(a,b,c){var d=a.Kb[b];d||(d={Zb:[0,0],wc:[0,0],Za:[0,0],le:[0,0]});c=c&&13==c.length?c:Eh;d.Zb[0]=c[0][0];d.Zb[1]=c[0][1];d.wc[0]=c[1][0];d.wc[1]=c[1][1];d.Za[0]=c[2][0];d.Za[1]=c[2][1];d.le[0]=c[3][0];d.le[1]=c[3][1];d.Ij=c[4];d.mode=c[5];d.oh=c[6];d.Fd=c[7];d.ke=c[8];d.Xc=c[9];d.Bf=c[10];d.pe=c[11];d.sd=c[12];a.Kb[b]=d}function th(a,b){return((((b?a.Ub:a.Sc)&12)>>2)+1)*a.kn+32*((b?a.Yd:a.Ce)&15)}function Fh(a,b){var c=b?a.Ub:a.Sc;return a.Ia!=bh||c&fh.vh?((c&fh.jf)>>fh.kf)+1:0}
function wh(a,b){if(b<Fh(a)){if(!a.wd)return 1;if(b<a.wd.length)switch(a.wd[b]){case 160:case 180:case 320:case 360:return 1;case 720:return 3;case 1200:return 2;case 1440:return 4}}return 0}function uh(a,b){return((b?a.Ub:a.Sc)&eh.jf)>>eh.kf}
function ih(a,b,c,d,e){for(var f="",g=1;8>=g;g++){var h="pcjs-bitCell";g||(h+=" pcjs-bitCellLeft");f+='<div id="'+(b+"-"+g)+'" class="'+h+'" data-value="0">'+g+"</div>\n"}c.innerHTML=f;b=y(c,"pcjs-bitCell");c=null;for(g=0;g<b.length;g++)null!=e&&null!=e[g]&&(c=e[g]),c&&b[g].setAttribute("title",c),Gh(b[g],d&1<<g?!1:!0),b[g].onclick=function(a,b){return function(){var c="1"!=b.getAttribute("data-value");Gh(b,c);var d=b.getAttribute("id").split("-"),e=1<<parseInt(d[1],10)-1;switch(d[0]){case "sw1":a.Ub=
a.Ub&~e|(c?0:e);break;case "sw2":a.Yd=a.Yd&~e|(c?0:e)}ph(a)}}(a,b[g])}function Gh(a,b){a.setAttribute("data-value",b?"1":"0");a.style.color=b?"#ffffff":"#000000";a.style.backgroundColor=b?"#000000":"#ffffff"}function ph(a){var b=a.sa.swdesc,c={0:"Enhanced Color",1:"TV",2:"Color",3:"Monochrome"};if(null!=b){var d;d=""+(th(a,!0)+"Kb");d+=", "+c[uh(a,!0)]+" Monitor";d+=", "+Fh(a,!0)+" Floppy Drives";if(null!=a.Sc&&a.Sc!=a.Ub||null!=a.Ce&&a.Ce!=a.Yd)d+=" (Reset required)";b.textContent=d}}
function Hh(a,b,c){a=a.bb[b];var d=a.zb[c],e=d.Ya[a.Bb];a.Bb^=1;b||0!=c||a.Bb||(d.Ya[0]++,255<d.Ya[0]&&(d.Ya[0]=0,d.Ya[1]++,255<d.Ya[1]&&(d.Ya[1]=0)));return e}function Ih(a,b,c,d){a=a.bb[b];c=a.zb[c];c.Ya[a.Bb]=c.og[a.Bb]=d;a.Bb^=1}function Jh(a,b,c){a=a.bb[b];var d=a.zb[c],e=d.Za[a.Bb];a.Bb^=1;b||0!=c||a.Bb||(d.Za[0]--,0>d.Za[0]&&(d.Za[0]=255,d.Za[1]--,0>d.Za[1]&&(d.Za[1]=255)));return e}function Kh(a,b,c,d){a=a.bb[b];c=a.zb[c];c.Za[a.Bb]=c.Zb[a.Bb]=d;a.Bb^=1}
function Lh(a,b){var c=a.bb[b],d=c.Cd|1;c.Cd&=-16;return d}function Mh(a,b,c){a=a.bb[b];b=c&3;a.Cd=a.Cd&~(16<<b)|(c&4)<<b+2;a.Gj=c}function Nh(a,b,c){b=a.bb[b];var d=c&3,e=b.zb[d];e.rd=!!(c&4);e.rd||Oh(a,b.qn+d)}function Ph(a,b){for(var c=a.bb[b],d=0;d<c.zb.length;d++)Ah(c,d)}function Qh(a,b,c){return a.bb[b].zb[c].xg}function Rh(a,b,c,d){a.bb[b].zb[c].xg=d}function Sh(a,b,c,d,e){Ch(a.bb[b>>2].zb[b&3],c,d,e)}
function Oh(a,b,c){b=a.bb[b>>2].zb[b&3];b.Eg&&b.ai&&b.hh?(c&&(b.Fg=c),b.rd||ad(a,b,!0)):c&&c(!0)}function ad(a,b,c){c&&(b.count=b.Za[1]<<8|b.Za[0],b.Gl=b.mode&12,b.ak=b.Wc=!1);for(var d=!1;0<=b.count&&(c=b.xg<<16|b.Ya[1]<<8|b.Ya[0],4==b.Gl?(d=!0,function(c){b.ai.call(b.Eg,b.hh,-1,function(f,g){0>f&&(b.ak||(b.ak=!0),f=255);b.rd||a.ra.ze(c,f);(d=g)&&setTimeout(function(){Th(b)||ad(a,b)},0)})}(c)):8==b.Gl?(c=a.ra.pd(c),0>b.ai.call(b.Eg,b.hh,c)&&(b.Wc=!0)):b.Wc=!0),!d&&!Th(b););}
function Th(a){if(!a.Wc&&0<=--a.count&&(a.mode&32?(a.Ya[0]--,0>a.Ya[0]&&(a.Ya[0]=255,a.Ya[1]--,0>a.Ya[1]&&(a.Ya[1]=255))):(a.Ya[0]++,255<a.Ya[0]&&(a.Ya[0]=0,a.Ya[1]++,255<a.Ya[1]&&(a.Ya[1]=0))),!a.rd))return!1;var b=a.ea;b.Cd=b.Cd&~(16<<a.dk)|1<<a.dk;a.mode&16||(a.rd=!0,a.Eg=a.hh=null);a.Fg&&(a.Fg(!a.Wc),a.Fg=null);return!0}function Uh(a,b){var c=0,d=a.Wb[b];if(null!=d.qf)switch(d.qf&3){case 2:c=d.Mb;break;case 3:c=d.Ac}return c}
function Vh(a,b,c){var d=a.Wb[b];if(c&16)d.td=0,d.Jc[d.td++]=c,d.Tc=0,d.ee=7,d.Mb=d.Ac=0,d.qf=10;else if(c&8)c&100&&(a.Aa("PIC"+b+"(0x"+ca(d.port)+"): unsupported OCW3 command: "+ca(c)),B(a.ka)),d.qf=c;else{var e=c&224;if(e&32){var f,g=0;if(96==(e&96))g=1<<(c&7);else for(f=d.ee+1;;){f&=7;var h=1<<f;if(d.Ac&h){g=h;break}if(f++==d.ee)break}d.Ac&g&&(d.Ac&=~g,Wh(a));e&128&&(a.Aa("PIC"+b+"(0x"+ca(d.port)+"): unsupported OCW2 rotate command: "+ca(c)),B(a.ka))}else 192==e?d.ee=c&7:(a.Aa("PIC"+b+"(0x"+ca(d.port)+
"): unsupported OCW2 automatic EOI command: "+ca(c)),B(a.ka))}}function Xh(a,b,c){var d=a.Wb[b];d.td<d.Jc.length?(d.Jc[d.td++]=c,2==d.td&&d.Jc[0]&2&&d.td++,3!=d.td||d.Jc[0]&1||d.td++):(d.Tc=c,d=a.ka,d.Z|=4,Wh(a,b||253!=c?0:6))}function Yh(a,b,c){var d=a.Wb[b>>3];b=1<<(b&7);d.Mb&b||(d.Mb|=b,d.Kf=c||0,Wh(a))}function Zh(a,b){var c=a.Wb[b>>3],d=1<<(b&7);c.Mb&d&&(c.Mb&=~d,Wh(a))}
function Wh(a,b){var c,d=-1;1<a.sf&&(c=a.Wb[1],d=~(c.Ac|c.Tc)&c.Mb);c=a.Wb[0];0<=d&&(c.Mb=d?c.Mb|4:c.Mb&-5);var d=~(c.Ac|c.Tc)&c.Mb,e=a.ka;e.la&&(e.ob=d?e.ob|1:e.ob&-2);d&&b&&(c.Kf=b)}function Zc(a,b){void 0===b&&(b=0);var c=-1,d=a.Wb[b];if(d.Kf)c=-2,d.Kf--;else for(var e=d.Mb&((d.Ac|d.Tc)^255),f=d.ee+1;;){var f=f&7,g=1<<f;if(e&g){c=b||2!=f?d.Jc[1]+f:Zc(a,1);0<=c&&(d.Ac|=g,d.Mb&=~g);break}if(f++==d.ee)break}return c}
function $h(a,b){var c=a.Kb[b];c.Fd==c.ke&&ai(a,b);if(c.Bf)return c.le[c.Fd++];bi(a,b);return c.Za[c.Fd++]}function gi(a,b,c){var d=a.Kb[b];d.Fd==d.ke&&ai(a,b);d.Zb[d.Fd++]=c;d.Fd==d.ke&&(d.pe&&0!=d.mode&&8!=d.mode||(d.Bf=!1,d.Za[0]=d.wc[0]=d.Zb[0],d.Za[1]=d.wc[1]=d.Zb[1],d.sd=C(a.ka,a.Jd),d.pe=!0,d.Xc=0!=d.mode,0==b&&(Zh(a,0),c=hi(a,0)*a.gh|0,6==d.mode&&(c>>=1),ub(a.ka,c))),2==b&&xb(a))}k=O.prototype;k.dn=function(){return null};
k.qo=function(a,b){this.Hh=b;var c=(b&192)>>6;if(3!=c){var d=b&1,e=b&14,f=b&48;if(f){var g=this.Kb[c];g.oh=f;g.mode=e;g.Ij=d;g.Zb=[0,0];g.Za=[0,0];g.le=[0,0];g.Xc=!1;g.Bf=!1;g.pe=!1;ai(this,c);0==c&&Zh(this,0);2==c&&255==this.Wb[0].Tc&&77==this.uc&&(c=this.Kb[0],c.wc[0]=c.Zb[0],c.wc[1]=c.Zb[1],c.sd=C(this.ka,this.Jd))}else bi(this,c),d=this.Kb[c],d.le[0]=d.Za[0],d.le[1]=d.Za[1],d.Bf=!0,ai(this,c)}};function hi(a,b){var c=a.Kb[b],d=c.Zb[1]<<8|c.Zb[0];d||(d=1==c.ke?256:65536);return d}
function Ab(a,b){var c=a.Kb[b],d=c.wc[1]<<8|c.wc[0];d||(d=1==c.ke?256:65536);return d}function ai(a,b){var c=a.Kb[b];c.Fd=32==c.oh?1:0;c.ke=48==c.oh?2:1}
function bi(a,b,c){var d=a.Kb[b];if(d.pe&&(2!=b||a.uc&1)){var e=C(a.ka,a.Jd),f=(e-d.sd)/a.gh|0;0>f&&(d.sd=e,f=0);var g=hi(a,b),h=Ab(a,b)-f;0==d.mode?(0>=h&&(h=0),h||(d.Xc=!0,d.pe=!1,b||Yh(a,0))):4==d.mode?(d.Xc=1!=h,0>=h&&(h=g+h,0>=h&&(h=g),d.wc[0]=h&255,d.wc[1]=h>>8,d.sd=e,!b&&d.Xc&&Yh(a,0))):6==d.mode&&(h-=f,0>=h&&(d.Xc=!d.Xc,h=g+h,0>=h&&(h=g),d.wc[0]=h&255,d.wc[1]=h>>8,d.sd=e,!b&&d.Xc&&Yh(a,0)));d.Za[0]=h&255;d.Za[1]=h>>8;c&&(a.sd=0)}return d}
function yb(a,b){for(var c=0;c<a.Kb.length;c++)bi(a,c,b);if(a.Ia>=gh){var c=a.ka.ba.Zc,d=C(a.ka,a.Jd);null==a.eh&&(a.Uf=C(a.ka,a.Jd),a.ol=1024,a.eh=Math.floor(a.ka.ba.Zc/a.ol),yh(a));d>=a.df&&(a.ja[12]|=64,a.ja[11]&64&&(a.ja[12]|=128,Yh(a,8)),a.df=d+a.eh);a.ja[0]==a.ja[1]&&a.ja[2]==a.ja[3]&&a.ja[4]==a.ja[5]&&(a.ja[12]|=32,a.ja[11]&32&&(a.ja[12]|=128,Yh(a,8)));var e=d-a.Uf,f=Math.floor(e/c);if(f&&!(a.ja[11]&128)){for(;f--;)if(60<=++a.ja[0]&&(a.ja[0]=0,60<=++a.ja[2]&&(a.ja[2]=0,24<=++a.ja[4]))){a.ja[4]=
0;a.ja[6]=a.ja[6]%7+1;var g;g=a.ja[9];var h=ka[a.ja[8]-1];28==h&&0===g%4&&(g%100||0===g%400)&&h++;g=h;++a.ja[7]>g&&(a.ja[7]=1,12<++a.ja[8]&&(a.ja[8]=1,a.ja[9]=(a.ja[9]+1)%100))}a.ja[12]|=16;a.ja[11]&16&&(a.ja[12]|=128,Yh(a,8))}a.Uf=d-e%c}}k.Wm=function(){var a=this.wg;if(this.rf&16)if(this.uc&128)a=this.Sc;else if(this.Ha){var a=this.Ha,b=0;a.Lb.length&&(b=a.Lb[0]);a=b}return a};k.jo=function(a,b){this.wg=b};k.Xm=function(){return this.uc};
k.ko=function(a,b){ii(this,b);this.Ha&&ji(this.Ha,b&128?!1:!0,b&64?!0:!1)};function ii(a,b){var c=!!(b&2),d=!!(a.uc&2);a.uc=b;c!=d&&xb(a,c)}k.Ym=function(){var a=0,a=this.Ia==bh?this.uc&4?a|this.Ce&15:a|this.Ce>>4&1:this.uc&8?a|this.Sc>>4:a|this.Sc&15;this.uc&1&&bi(this,2).Xc&&(a=this.uc&2?a|32:a|16);return a};k.lo=function(a,b){this.Fh=b};k.Zm=function(){return this.rf};k.mo=function(a,b){this.rf=b};k.mm=function(){var a=this.qg;this.mb&=-258;this.Ha&&ki(this.Ha);return a};
k.zn=function(a,b){if(this.mb&8)switch(this.hd){case 96:li(this,b);break;case 209:mi(this,b);break;default:if(li(this,this.gd&-17),this.Ha){var c=-1;switch(b){case 255:c=250,ni(this.Ha)}oi(this,c)}}this.hd=b;this.mb&=-9};k.nm=function(){return this.uc&-209|(C(this.ka)&64?16:0)};k.An=function(a,b){ii(this,b)};k.om=function(){var a=this.mb&255;this.mb&256&&(this.mb|=1,this.mb&=-257);return a};
k.yn=function(a,b){this.hd=b;this.mb|=8;var c=0;240<=this.hd&&(c=this.hd^15,this.hd=240);switch(this.hd){case 192:oi(this,this.de);break;case 173:li(this,this.gd|16);break;case 174:li(this,this.gd&-17);this.Ha&&ki(this.Ha);break;case 170:this.Ha&&(this.Ha.Lb=[]);li(this,this.gd|16);oi(this,85);mi(this,3);break;case 224:oi(this,this.gd&16?0:1);break;case 240:c&1&&yc(this.ka)}};function li(a,b){a.gd=b;a.mb=a.mb&-5|b&4;a.Ha&&ji(a.Ha,!!(b&8),!(b&16))}
function oi(a,b){0<=b&&(a.qg=b,a.mb&=-2,a.mb|=256)}function mi(a,b){a.Ch=b;Ya(a.ra,!!(b&2));b&1||yc(a.ka)}function pi(a,b){a.Ia<gh?Yh(a,1,4):a.gd&16||a.mb&257||(oi(a,b),qi(a.Ha),Yh(a,1,120))}k.Cm=function(){return this.Me};k.On=function(a,b){this.Me=b;this.vg=b&128?0:128};
k.Dm=function(a,b){var c=this.Me&63,d;if(13>=c)if(d=this.ja[c],10>c){var e=!1;4!=c&&5!=c||this.ja[11]&2||(d=12>d?d?d:12:(d-=12)?d+128:140,e=!0);this.ja[11]&4||(e&&128<d&&(d-=48),d=d%10|d/10<<4)}else 10==c&&(this.ja[c]^=128);else d=this.ja[c];null!=b&&12==c&&(this.ja[c]&=15,d&128&&Zh(this,8),d&64&&this.ja[11]&64&&yh(this));return d};
k.Pn=function(a,b){var c=this.Me&63,d=b^this.ja[c],e;if(13>=c){if(e=b,10>c){var f=!1;this.ja[11]&4||(e=10*(e>>4)+(e&15),f=!0);if(4==c||5==c)f&&23<e&&(e+=48),this.ja[11]&2||(12>=e?e=12==e?0:e:(e-=116,e=24==e?12:e))}}else e=b;this.ja[c]=e;11==c&&d&64&&b&64&&yh(this)};k.Um=function(){return this.tg};k.fo=function(a,b){this.tg=b};k.io=function(a,b){this.vg=b};k.Qn=function(){};k.Rn=function(){};
function ch(a,b){if(void 0===a)return b;for(var c=0,d=1,e=0;e<a.length;e++)"0"==a.charAt(e)&&(c|=d),d<<=1;return c}function xb(a,b){if(a.Kh){void 0!==b?a.Yj=b:b=a.Yj&&a.ka&&a.ka.ma.Hb;var c=Math.round(1193181/hi(a,2));if(20>c||2E4<c)b=!1;b?a.ed?a.ed.frequency.value=c:(a.ed=a.Kh.createOscillator(),a.ed.type=1,a.ed.connect(a.Kh.destination),a.ed.frequency.value=c,a.ed.noteOn(0)):a.ed&&(a.ed.noteOff(0),a.ed.disconnect(),delete a.ed)}else b&&a.hc("BEEP",4194304)}
var jh={0:function(){return Hh(this,0,0)},1:function(){return Jh(this,0,0)},2:function(){return Hh(this,0,1)},3:function(){return Jh(this,0,1)},4:function(){return Hh(this,0,2)},5:function(){return Jh(this,0,2)},6:function(){return Hh(this,0,3)},7:function(){return Jh(this,0,3)},8:function(){return Lh(this,0)},32:function(){return Uh(this,0)},33:function(){return this.Wb[0].Tc},64:function(){return $h(this,0)},65:function(){return $h(this,1)},66:function(){return $h(this,2)},67:O.prototype.dn,129:function(){return Qh(this,
0,2)},130:function(){return Qh(this,0,3)},131:function(){return Qh(this,0,1)},135:function(){return Qh(this,0,0)}},lh={96:O.prototype.Wm,97:O.prototype.Xm,98:O.prototype.Ym,99:O.prototype.Zm},nh={96:O.prototype.mm,97:O.prototype.nm,100:O.prototype.om,112:O.prototype.Cm,113:O.prototype.Dm,128:O.prototype.Um,132:function(){return this.Xb[0]},133:function(){return this.Xb[1]},134:function(){return this.Xb[2]},136:function(){return this.Xb[3]},137:function(){return Qh(this,1,2)},138:function(){return Qh(this,
1,3)},139:function(){return Qh(this,1,1)},140:function(){return this.Xb[4]},141:function(){return this.Xb[5]},142:function(){return this.Xb[6]},143:function(){return Qh(this,1,0)},160:function(){return Uh(this,1)},161:function(){return this.Wb[1].Tc},192:function(){return Hh(this,1,0)},194:function(){return Jh(this,1,0)},196:function(){return Hh(this,1,1)},198:function(){return Jh(this,1,1)},200:function(){return Hh(this,1,2)},202:function(){return Jh(this,1,2)},204:function(){return Hh(this,1,3)},
206:function(){return Jh(this,1,3)},208:function(){return Lh(this,1)}},kh={0:function(a,b){Ih(this,0,0,b)},1:function(a,b){Kh(this,0,0,b)},2:function(a,b){Ih(this,0,1,b)},3:function(a,b){Kh(this,0,1,b)},4:function(a,b){Ih(this,0,2,b)},5:function(a,b){Kh(this,0,2,b)},6:function(a,b){Ih(this,0,3,b)},7:function(a,b){Kh(this,0,3,b)},8:function(a,b){this.bb[0].Dh=b},9:function(a,b){Mh(this,0,b)},10:function(a,b){Nh(this,0,b)},11:function(a,b){this.bb[0].zb[b&3].mode=b},12:function(){this.bb[0].Bb=0},13:function(){Ph(this,
0)},32:function(a,b){Vh(this,0,b)},33:function(a,b){Xh(this,0,b)},64:function(a,b){gi(this,0,b)},65:function(a,b){gi(this,1,b)},66:function(a,b){gi(this,2,b)},67:O.prototype.qo,129:function(a,b){Rh(this,0,2,b)},130:function(a,b){Rh(this,0,3,b)},131:function(a,b){Rh(this,0,1,b)},135:function(a,b){Rh(this,0,0,b)}},mh={96:O.prototype.jo,97:O.prototype.ko,98:O.prototype.lo,99:O.prototype.mo,160:O.prototype.io},oh={96:O.prototype.zn,97:O.prototype.An,100:O.prototype.yn,112:O.prototype.On,113:O.prototype.Pn,
128:O.prototype.fo,132:function(a,b){this.Xb[0]=b},133:function(a,b){this.Xb[1]=b},134:function(a,b){this.Xb[2]=b},136:function(a,b){this.Xb[3]=b},137:function(a,b){Rh(this,1,2,b)},138:function(a,b){Rh(this,1,3,b)},139:function(a,b){Rh(this,1,1,b)},140:function(a,b){this.Xb[4]=b},141:function(a,b){this.Xb[5]=b},142:function(a,b){this.Xb[6]=b},143:function(a,b){Rh(this,1,0,b)},160:function(a,b){Vh(this,1,b)},161:function(a,b){Xh(this,1,b)},192:function(a,b){Ih(this,1,0,b)},194:function(a,b){Kh(this,
1,0,b)},196:function(a,b){Ih(this,1,1,b)},198:function(a,b){Kh(this,1,1,b)},200:function(a,b){Ih(this,1,2,b)},202:function(a,b){Kh(this,1,2,b)},204:function(a,b){Ih(this,1,3,b)},206:function(a,b){Kh(this,1,3,b)},208:function(a,b){this.bb[1].Dh=b},210:function(a,b){Mh(this,1,b)},212:function(a,b){Nh(this,1,b)},214:function(a,b){this.bb[1].zb[b&3].mode=b},216:function(){this.bb[1].Bb=0},218:function(){Ph(this,1)},240:O.prototype.Qn,241:O.prototype.Rn};
za(function(){for(var a=y(window.document,"pcjs","chipset"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new O(d);Na(d,c);ph(d)}});function ri(a){u.call(this,"ROM",a,ri);this.Ab=null;this.Bj=a.addr;this.sh=a.size;this.Ol=a.alias;this.ag=a.file;this.yo=ea(this.ag);this.fk=a.notify;if(this.ag){a=this.ag;var b=fa(this.yo);"json"!=b&&"hex"!=b&&(a=ma()+"/api/v1/dump?file="+this.ag+"&format=bytes&decimal=true");la(a,!0,null,this,ri.prototype.un)}}v(u,ri);
ri.prototype.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;si(this)};ri.prototype.ac=function(){this.Ah&&(this.Wa&&this.Wa.Cp(this.Bj,this.sh,this.Ah),delete this.Ah);return!0};ri.prototype.$b=function(){return!0};
ri.prototype.un=function(a,b,c){if(c)this.Aa("Unable to load system ROM (error "+c+")");else{if("["==b.charAt(0)||"{"==b.charAt(0))try{var d=eval("("+b+")"),e=d.bytes,f=d.data;if(e)this.Ab=e;else if(f)for(this.Ab=Array(4*f.length),c=b=0;b<f.length;b++)this.Ab[c++]=f[b]&255,this.Ab[c++]=f[b]>>8&255,this.Ab[c++]=f[b]>>16&255,this.Ab[c++]=f[b]>>24&255;else this.Ab=d;this.Ah=d.symbols;if(!this.Ab.length){q("Empty ROM: "+a);return}if(1==this.Ab.length){q(this.Ab[0]);return}}catch(g){this.Aa("ROM data error: "+
g.message);return}else for(a=b.replace(/\n/gm," ").replace(/ +$/,"").split(" "),this.Ab=Array(a.length),d=0;d<a.length;d++)this.Ab[d]=parseInt(a[d],16);si(this)}};function si(a){if(!Pa(a))if(!a.ag)z(a);else if(a.Ab&&a.ra){if(a.Ab.length!=a.sh)Qa(a,"ROM size (0x"+p(a.Ab.length)+") does not match specified size (0x"+p(a.sh)+")");else if(ti(a,a.Bj)&&ti(a,a.Ol)){if(a.fk){var b=La(a.fk,a.id);b&&("ega"==b.Ia&&ui(b,a.Ab,[8752,12640],8),z(b))}delete a.Ab}z(a)}}
function ti(a,b){if(null==b)return!0;if(Za(a.ra,b,a.sh,!0)){for(var c=0;c<a.Ab.length;c++){var d=a.ra,e=b+c;d.za[(e&d.tc)>>d.xb].qj(e&d.Sa,a.Ab[c]&255)}return!0}return!1}za(function(){for(var a=y(window.document,"pcjs","rom"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new ri(d);Na(d,c)}});function vi(a){u.call(this,"RAM",a,vi);this.pg=a.addr;this.ud=a.size;this.fm=a.test;this.cm=!!this.ud;this.Gg=!1}v(u,vi);vi.prototype.xc=function(a,b,c){this.ra=b;this.ka=c;this.la=Sa(a,"ChipSet");z(this)};
vi.prototype.ac=function(a,b){b||this.reset();return!0};vi.prototype.$b=function(){return!0};
vi.prototype.reset=function(){if(!this.pg&&!this.cm&&this.la){var a=1024*th(this.la);this.ud&&a!=this.ud&&(ab(this.ra,this.pg,this.ud),this.Gg=!1);this.ud=a}!this.Gg&&this.ud&&Za(this.ra,this.pg,this.ud)&&(this.Gg=!0,this.status(Math.floor(this.ud/1024)+"Kb"));if(this.Gg){if(this.fm||db(this.ra,1138,4660),this.la&&(a=this.la,a.ja)){var b=1048576>this.pg?21:23,c=a.ja[b]|a.ja[b+1]<<8,c=c+(this.ud>>10);a.ja[b]=c&255;a.ja[b+1]=c>>8;xh(a)}}else q("No RAM allocated")};
za(function(){for(var a=y(window.document,"pcjs","ram"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new vi(d);Na(d,c)}});function wi(a){u.call(this,"Keyboard",a,wi);this.Vj=sa("Mobi");this.dm=sa("MSIE");this.hc("mobile keyboard support: "+(this.Vj?"true":"false"));this.Kj=0;this.Lg=!0;this.$j=this.Sj=!1;this.Vb=[];this.on=500;this.pn=100;this.nn=50;z(this)}v(u,wi);
var P={Ko:1,Lo:3,Mo:26," ":32,"!":33,'"':34,"#":35,$:36,"%":37,"&":38,"'":39,"(":40,")":41,"*":42,"+":43,",":44,"-":45,".":46,"/":47,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,":":58,";":59,"<":60,"=":61,">":62,"?":63,"@":64,Ho:65,Io:66,uj:67,Il:68,E:69,Po:70,So:71,vj:72,Uo:73,Vo:74,Wo:75,Xo:76,Yo:77,wh:78,$o:79,ap:80,cp:81,xj:82,gp:83,qp:84,up:85,vp:86,wp:87,yp:88,zp:89,Ap:90,"[":91,"\\":92,"]":93,"^":94,_:95,"`":96,Bp:97,Dp:98,Fp:99,Gp:100,Hp:101,Ip:102,Jp:103,Kp:104,Lp:105,Mp:106,Np:107,
Op:108,Pp:109,Qp:110,Sp:111,Tp:112,Up:113,Vp:114,Wp:115,Xp:116,Yp:117,$p:118,aq:119,x:120,y:121,z:122,"{":123,"|":124,"}":125,"~":126},xi={};xi[186]=P[";"];xi[187]=P["="];xi[188]=P[","];xi[189]=P["-"];xi[190]=P["."];xi[191]=P["/"];xi[192]=P["`"];xi[219]=P["["];xi[220]=P["\\"];xi[221]=P["]"];xi[222]=P["'"];xi[173]=P["-"];var S={};S[P["1"]]=P["!"];S[P["2"]]=P["@"];S[P["3"]]=P["#"];S[P["4"]]=P.$;S[P["5"]]=P["%"];S[P["6"]]=P["^"];S[P["7"]]=P["&"];S[P["8"]]=P["*"];S[P["9"]]=P["("];S[P["0"]]=P[")"];
S[186]=P[":"];S[187]=P["+"];S[188]=P["<"];S[189]=P._;S[190]=P[">"];S[191]=P["?"];S[192]=P["~"];S[219]=P["{"];S[220]=P["|"];S[221]=P["}"];S[222]=P['"'];S[173]=P._;S[61]=P["+"];S[59]=P[":"];
var yi={3016:1,1016:2,1017:8,1018:32,1091:128,1093:64,1224:128,1020:512,1144:1024,1145:2048},zi={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,CTRL_C:4003,CTRL_BREAK:4008,CTRL_ALT_DEL:4046},Ai={esc:1027,1:P["1"],2:P["2"],3:P["3"],4:P["4"],5:P["5"],6:P["6"],7:P["7"],8:P["8"],9:P["9"],0:P["0"],"-":P["-"],"=":P["="],bs:1008,tab:1009,q:81,w:87,e:69,r:82,t:84,y:89,u:85,i:73,o:79,p:80,"[":P["["],"]":P["]"],enter:13,
ctrl:1017,a:65,s:83,d:68,f:70,g:71,h:72,j:74,k:75,l:76,";":P[";"],quote:P["'"],"`":P["`"],shift:1016,"\\":P["\\"],z:90,x:88,c:67,v:86,b:66,n:78,m:77,",":P[","],".":P["."],"/":P["/"],"right-shift":3016,prtsc:1044,alt:1018,space:P[" "],"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},Bi={"caps-lock":512,"num-lock":1024,"scroll-lock":2048},T={1027:1};T[P["1"]]=2;T[P["!"]]=10754;T[P["2"]]=3;T[P["@"]]=10755;T[P["3"]]=4;T[P["#"]]=10756;T[P["4"]]=5;T[P.$]=10757;T[P["5"]]=6;T[P["%"]]=10758;T[P["6"]]=7;T[P["^"]]=10759;T[P["7"]]=8;T[P["&"]]=10760;T[P["8"]]=9;T[P["*"]]=10761;T[P["9"]]=10;T[P["("]]=10762;T[P["0"]]=11;T[P[")"]]=10763;T[P["-"]]=12;T[P._]=10764;T[P["="]]=13;T[P["+"]]=10765;T[1008]=14;T[1009]=15;T[113]=16;
T[81]=10768;T[119]=17;T[87]=10769;T[101]=18;T[69]=10770;T[114]=19;T[82]=10771;T[116]=20;T[84]=10772;T[121]=21;T[89]=10773;T[117]=22;T[85]=10774;T[105]=23;T[73]=10775;T[111]=24;T[79]=10776;T[112]=25;T[80]=10777;T[P["["]]=26;T[P["{"]]=10778;T[P["]"]]=27;T[P["}"]]=10779;T[13]=28;T[1017]=29;T[97]=30;T[65]=10782;T[115]=31;T[83]=10783;T[100]=32;T[68]=10784;T[102]=33;T[70]=10785;T[103]=34;T[71]=10786;T[104]=35;T[72]=10787;T[106]=36;T[74]=10788;T[107]=37;T[75]=10789;T[108]=38;T[76]=10790;T[P[";"]]=39;
T[P[":"]]=10791;T[P["'"]]=40;T[P['"']]=10792;T[P["`"]]=41;T[P["~"]]=10793;T[1016]=42;T[P["\\"]]=43;T[P["|"]]=10795;T[122]=44;T[90]=10796;T[120]=45;T[88]=10797;T[99]=46;T[67]=10798;T[118]=47;T[86]=10799;T[98]=48;T[66]=10800;T[110]=49;T[78]=10801;T[109]=50;T[77]=10802;T[P[","]]=51;T[P["<"]]=10803;T[P["."]]=52;T[P[">"]]=10804;T[P["/"]]=53;T[P["?"]]=10805;T[3016]=54;T[1044]=55;T[1018]=56;T[P[" "]]=57;T[1020]=58;T[1112]=59;T[1113]=60;T[1114]=61;T[1115]=62;T[1116]=63;T[1117]=64;T[1118]=65;T[1119]=66;
T[1120]=67;T[1121]=68;T[1144]=69;T[1145]=70;T[1036]=71;T[1038]=72;T[1033]=73;T[1109]=74;T[1037]=75;T[1101]=76;T[1039]=77;T[1107]=78;T[1035]=79;T[1040]=80;T[1034]=81;T[1045]=82;T[1046]=83;T[1122]=87;T[1123]=88;T[1091]=91;T[1093]=93;T[1224]=91;T[4003]=7470;T[4008]=7494;T[4046]=3677523;k=wi.prototype;
k.Gb=function(a,b,c){var d=this,e=a+"-"+b;if(void 0===this.sa[e])switch(b){case "kbd":return this.sa[e]=c,c.onkeydown=function(a){return Ci(d,a,!0)},c.onkeypress=function(a){a=a||window.event;a=a.which||a.keyCode;var b=!T[a]||!!(d.Ob&128);b||Di(d,a,!0);return b},c.onkeyup=function(a){return Ci(d,a,!1)},!0;case "caps-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.dd();Di(d,1020,!0)},!0;case "num-lock":return this.sa[e]=c,c.onclick=function(){d.ka&&d.ka.dd();Di(d,1144,!0)},!0;case "scroll-lock":return this.sa[e]=
c,c.onclick=function(){d.ka&&d.ka.dd();Di(d,1145,!0)},!0;default:var f=b.toUpperCase().replace(/-/g,"_");if(void 0!==zi[f]&&"button"==a)return this.sa[e]=c,c.onclick=function(a,b,c){return function(){a.ka&&a.ka.dd();Ei(a,c,!0);Di(a,c,!0)}}(this,f,zi[f]),!0;if(void 0!==Ai[b])return this.Kj++,this.sa[e]=c,a=function(a,b,c){return function(){Di(a,c)}}(this,b,Ai[b]),b=function(a,b,c){return function(){Fi(a,c)}}(this,b,Ai[b]),"ontouchstart"in window?(c.ontouchstart=a,c.ontouchend=b):(c.onmousedown=a,c.onmouseup=
c.onmouseout=b),!0}return!1};function Gi(a,b,c){if(a.Kj){for(var d in S)if(b==S[d]){b=parseInt(d,10);(d=xi[d])&&(b=d);break}for(var e in Ai)if((d=Ai[e]==b)||(d=b,97<=d&&122>=d&&(d-=32),d=Ai[e]==d),d){(a=a.sa["key-"+e])&&void 0!==c&&(a.style.color=c?"#ffffff":"#000000",a.style.backgroundColor=c?"#000000":"#ffffff");break}}}k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.la=Sa(a,"ChipSet")};function ni(a,b){a.hc("keyboard reset",32896);a.Lb=[170];b&&a.la&&pi(a.la,a.Lb[0])}
function ji(a,b,c){a.Uh!==c&&(a.Uh=a.Xh=c);a.Kg!==b&&(a.Kg=b)&&!a.Xh&&qi(a,!0);a.Kg&&a.Xh&&(ni(a,!0),a.Xh=!1)}function ki(a){var b=0;a.Lb.length&&(b=a.Lb[0],a.la&&pi(a.la,b))}function qi(a,b){0<a.Lb.length&&(a.Lb.shift(),b&&a.Lb.length&&a.la&&pi(a.la,a.Lb[0]))}k.ac=function(a,b){return!b&&(this.reset(),a&&this.restore&&!this.restore(a))?!1:!0};k.$b=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.Ld();this.Ob=this.Vc=0;this.Lb=[]};
k.save=function(){var a=new H(this);a.set(0,this.oj());return a.data()};k.restore=function(a){return this.Ld(a[0])};k.Ld=function(a){var b=0;void 0===a&&(a=[]);this.Uh=a[b++];this.Kg=a[b];return!0};k.oj=function(){var a=0,b=[];b[a++]=this.Uh;b[a]=this.Kg;return b};
function Ei(a,b,c,d){if(T[b]){var e=Math.floor(b/1E3)&2;if(b=yi[b]||0){!e||b&85||(b>>=1);if(b&3584){if(!1===d)return!0;d=null}null==d?d=!((c?a.Vc:a.Ob)&b):d||b&255&&(b=255);if(c){a.Vc&=~b;d&&(a.Vc|=b);c=b;var f,g;for(g in Bi)d="led-"+g,e=Bi[g],c&&c!=e||!(f=a.sa[d])||(f.style.backgroundColor=a.Vc&e?"#00ff00":"#000000")}else a.Ob&=~b,d&&(a.Ob|=b);return!0}}return!1}
function Di(a,b,c){if(T[b]&&a.ka&&a.ka.ma.Hb){yi[b]&&a.Vb.length&&0<a.Vb[0].bd&&(a.Vb[0].bd=0);for(var d,e=0;e<a.Vb.length;e++)if(d=a.Vb[e],d.Ae==b){if(!c||0<=d.bd){e=-1;break}0<e&&(0<a.Vb[0].bd&&(a.Vb[0].bd=0),a.Vb.splice(e,1));break}0>e||(e==a.Vb.length&&(d={},d.Ae=b,d.Ob=a.Ob,Gi(a,b,!0),e++),0<e&&a.Vb.splice(0,0,d),d.Af=!0,d.bd=c?-1:yi[b]?0:1,Hi(a,d))}}
function Fi(a,b,c){if(!T[b]||!(c||a.ka&&a.ka.ma.Hb))return!1;for(var d=!1,e=0;e<a.Vb.length;e++){var f=a.Vb[e];if(f.Ae==b||f.Ae==S[b]){a.Vb.splice(e,1);f.Dl&&clearTimeout(f.Dl);f.Af&&!c&&Ii(a,f.Ae,!1);Gi(a,b,!1);d=!0;break}}!a.Vb.length&&a.$j&&(Ei(a,1020),a.$j=!1);return d}
function Hi(a,b){if(a.ka&&a.ka.ma.Hb){if(Ii(a,b.Ae,b.Af),b.bd){var c;if(0>b.bd){if(!b.Af){Fi(a,b.Ae);return}b.Af=!1;c=a.nn}else c=1==b.bd++?a.on:a.pn;b.Dl=setTimeout(function(a){return function(){Hi(a,b)}}(a),c)}}else Fi(a,b.Ae,!0)}function Ji(a,b,c){var d=b;if(65<=b&&90>=b)!(a.Ob&515)==c&&(d=b+32);else if(97<=b&&122>=b)!!(a.Ob&515)==c&&(d=b-32);else if(!!(a.Ob&3)==c){if(a=S[b])d=a}else if(a=xi[b])d=a;return d}k.ih=function(a){this.Lg=a;a||(this.Ob&=-256)};
function Ci(a,b,c){var d=!0,e=!1,f=!1,g=b.keyCode,h=Ji(a,g,!0);a.Sj&&h==P["`"]&&(g=h=27);if(T[g+1E3])if(h+=1E3,2==b.location&&(h+=2E3),Ei(a,h,!1,c)){if(20==g||144==g||145==g)a.dm||(c=e=!0);if(!(c||91!=g&&93!=g))for(var m=0;m<a.Vb.length;m++){var n=a.Vb[m];n.Af=!1;0<n.bd&&(n.bd=0)}}else 8==g&&8==(a.Ob&40)&&(h=4008),d=!1;else if(T[h]&&a.Ob&60&&(d=!1),d&&c||a.Ob&192)f=!0;d||b.preventDefault();f||a.Vj&&d||(c?Di(a,h,e):Fi(a,h)||(b=Ji(a,g,!1),b!=h&&Fi(a,b)));return d}
function Ii(a,b,c){Ei(a,b,!0,c);var d=T[b]||T[b+1E3];if(void 0!==d){14==d&&40==(a.Ob&40)&&(d=83);var e=[],f=d&255;e.push(f|(c?0:128));for(b=65<=b&&90>=b||97<=b&&122>=b;d>>>=8;){var g=0,h=d&255;224==f||225==f?e.push(f|(c?0:128)):(42==h?a.Vc&3||a.Vc&512&&b||(g=h):29==h?a.Vc&12||(g=h):56==h?a.Vc&48||(g=h):e.push(f|(c?0:128)),g&&(c?e.unshift(g):e.push(g|128)))}for(c=0;c<e.length;c++)d=a,f=e[c],d.Lb&&(20>d.Lb.length?(d.Lb.push(f),1==d.Lb.length&&d.la&&pi(d.la,f)):(20==d.Lb.length&&d.Lb.push(255),d.hc("scan code buffer overflow")))}}
za(function(){for(var a=y(window.document,"pcjs","keyboard"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new wi(d);Na(d,c)}});
function U(a,b,c,d){u.call(this,"Video",a,U);this.Ia=a.model;this.Nc=0;"ega"==this.Ia&&(this.yl=a.switches,this.Nc=a.memory||0);this.ad=a.mode;if(void 0===this.ad||void 0===V[this.ad])this.ad=Ki;this.$g=a.charCols;this.pi=a.charRows;if(void 0===this.$g||void 0===this.pi)this.$g=V[this.ad][0],this.pi=V[this.ad][1];this.ld=a.screenWidth;this.Hd=a.screenHeight;this.em=a.scale;this.bm=12<=Math.round(this.ld/this.$g);this.gm=a.touchScreen;this.tf=b;this.Oc=c;this.Ga=(this.Fo=d)||b||null;this.Nd=null;this.$l=
a.autoLock;this.Xa=this.Jb=0;this.xd=[];this.fd=Array(16);this.Lg=!1;var e=this;this.Ga&&(this.Ga.onfocus=function(){return e.ih(!0)},this.Ga.onblur=function(){return e.ih(!1)},this.Ga.Ze=this.Ga.requestPointerLock||this.Ga.mozRequestPointerLock||this.Ga.webkitRequestPointerLock,this.Ga.El=this.Ga.exitPointerLock||this.Ga.mozExitPointerLock||this.Ga.webkitExitPointerLock,b=function(){e.Vf(document.pointerLockElement===e.Ga||document.mozPointerLockElement===e.Ga||document.webkitPointerLockElement===
e.Ga)},"onpointerlockchange"in document?document.addEventListener("pointerlockchange",b,!1):"onmozpointerlockchange"in document?document.addEventListener("mozpointerlockchange",b,!1):"onwebkitpointerlockchange"in document&&document.addEventListener("webkitpointerlockchange",b,!1));if(a=a.fontROM)"json"!=fa(a)&&(a=ma()+"/api/v1/dump?file="+a+"&format=bytes"),la(a,!0,null,this,this.vn)}v(u,U);
var Li={2:{si:15700,ri:208,fj:85,gj:96},3:{si:18432,ri:364,fj:85,gj:96},4:{si:21850,ri:364,fj:85,gj:96}},Mi={6:[1,3,!0],7:[2,3,!0],8:[6,3,!0],9:[4,3,!0],10:[3,1,!0],11:[3,2,!0],0:[1,3,!1],1:[2,3,!1],2:[6,3,!1],3:[4,3,!1],4:[3,1,!1],5:[3,2,!1]},Ki=7,V=[,[40,25,1,0,3],,[80,25,1,0,3],[320,200,8,192],,[640,200,16,192]];V[Ki]=[80,25,1,0,1];V[13]=[320,200,16];V[14]=[640,200,16];V[15]=[640,350,16];V[16]=[640,350,16];V[0]=V[1];V[2]=V[3];V[5]=V[4];var Ni=Array(5);Ni[0]=[0,0,0,255];Ni[1]=[127,192,127,255];
Ni[2]=[127,192,127,255];Ni[3]=[127,255,127,255];Ni[4]=[127,255,127,255];var Oi=[0,1,2,2,2,2,2,2,0,3,4,4,4,4,4,4],W=Array(16);W[0]=[0,0,0,255];W[1]=[0,0,170,255];W[2]=[0,170,0,255];W[3]=[0,170,170,255];W[4]=[170,0,0,255];W[5]=[170,0,170,255];W[6]=[170,85,0,255];W[7]=[170,170,170,255];W[8]=[85,85,85,255];W[9]=[85,85,255,255];W[10]=[85,255,85,255];W[11]=[85,255,255,255];W[12]=[255,85,85,255];W[13]=[255,85,255,255];W[14]=[255,255,85,255];W[15]=[255,255,255,255];
var Pi=[2,4,6],Qi=[3,5,7],Ri=[0,1,2,3,4,5,20,7,56,57,58,59,60,61,62,63],Si=[0,255,65280,65535,16711680,16711935,16776960,16777215,4278190080,4278190335,4278255360,4278255615,4294901760,4294902015,4294967040,4294967295],X=[0];X[128]=1;X[32768]=2;X[32896]=3;X[8388608]=4;X[8388736]=5;X[8421376]=6;X[8421504]=7;X[2147483648]=8;X[2147483776]=9;X[2147516416]=10;X[2147516544]=11;X[2155872256]=12;X[2155872384]=13;X[2155905024]=14;X[2155905152]=15;
function Ti(a,b,c,d){if(void 0!==b&&(!c||c.length)){var e=Ui[b],f=a.Qd||e[5];if(!c||6>c.length)c=[!1,0,null,null,0,Array(Vi)];this.Sg=b;this.Xa=e[2];this.Jb=e[3];this.Nc=d||e[4];65536<=this.Nc&&720896<=this.Xa&&(this.Jb=Math.min(this.Nc>>2,32768));this.Pc=c[0];this.yc=c[1];this.uf=c[2];this.dg=c[3];this.Fc=c[4]&255;this.Rg=c[4]>>8&255;this.mc=c[5];this.ii=Vi;if(5==b){this.ii=Wi;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.Xa,this.Jb,this.Nc],Array(this.Nc>>
2),771,0,4294967295,0,4294967295,0,4294967295,0,0,0]);this.Id=b[0];this.re=b[1];this.$d=b[2];this.pj=b[3];this.Vg=b[4];this.Zh=b[5];this.Ye=b[6];this.mg=b[7];this.bi=b[8];this.ci=b[9];this.Xe=b[10];this.He=b[11];this.Cb=b[12];d=b[13];"number"==typeof d&&(d=[this.Xa,this.Jb,d]);this.Xa=d[0];this.Jb=d[1];d=this.Nc>>2;if((this.ce=b[14])&&this.ce.length<d){for(var e=this.ce,g=0,h=Array(d),m=0;m<e.length-1;){for(var n=e[m++],r=e[m++];n--;)h[g]=r,g+=2;g==d&&(g=1)}this.ce=h}this.rh(b[15]);this.cj=b[16];
this.hb=b[17];this.$c=b[18];this.pb=b[19];this.fh=b[20];this.Td=b[21];this.ue=b[22];this.ki=b[23];this.li=b[24]}f=Li[f]||Li[3];this.mi=a.ka.ba.Zc/f.si|0;this.rn=this.mi*f.fj/100|0;this.nk=this.mi*f.ri;this.tn=this.nk*f.gj/100|0;this.ti=null==c[7]?0:c[7]}}var Vi=18,Wi=25;function Xi(a){return this.jc(a)|this.jc(a+1)<<8}function Yi(a,b){this.lc(a,b&255);this.lc(a+1,b>>8&255)}
var Y=[,,function(a){a+=this.offset;return(this.ea.Cb=this.qa[a])>>this.ea.cj&255},function(a){a+=this.offset;var b=a&-2;return(a&1?this.qa[b]>>8:this.qa[b])&255}];Y[16]=function(a){a+=this.offset;a=this.qa[a];for(var b=this.ea.ki&this.ea.li,c=0,d=128;d;)(a&b)==b&&(c|=d),b>>>=1,d>>=1;return c};Y[512]=function(a,b){var c=a+this.offset,d;d=this.qa[c]&~this.ea.hb|(b|b<<8|b<<16|b<<24)&this.ea.hb;d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};
Y[1024]=function(a,b){var c=a+this.offset;b=b>>this.ea.$c|b<<8-this.ea.$c&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Td|this.ea.ue;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};
Y[1536]=function(a,b){var c=a+this.offset;b=b>>this.ea.$c|b<<8-this.ea.$c&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Td|this.ea.ue;d&=this.ea.Cb;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};
Y[2560]=function(a,b){var c=a+this.offset;b=b>>this.ea.$c|b<<8-this.ea.$c&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Td|this.ea.ue;d|=this.ea.Cb;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};
Y[3584]=function(a,b){var c=a+this.offset;b=b>>this.ea.$c|b<<8-this.ea.$c&255;var d;d=(b|b<<8|b<<16|b<<24)&this.ea.Td|this.ea.ue;d^=this.ea.Cb;d=d&this.ea.hb|this.qa[c]&~this.ea.hb;d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};Y[768]=function(a,b){a+=this.offset;var c,d=a&-2;c=this.ea.hb&(d==a?16711935:4278255360);c=(b|b<<8|b<<16|b<<24)&c|this.qa[d]&~c;c=c&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[d]!=c&&(this.qa[d]=c,this.nb=!0)};
Y[4096]=function(a){a+=this.offset;var b=this.qa[a]&~this.ea.hb|this.ea.Cb&this.ea.hb;this.qa[a]!=b&&(this.qa[a]=b,this.nb=!0)};Y[8192]=function(a,b){var c=a+this.offset,d=Si[b&15],d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};Y[24576]=function(a,b){var c=a+this.offset,d=Si[b&15],d=d&this.ea.Cb,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};
Y[40960]=function(a,b){var c=a+this.offset,d=Si[b&15],d=d|this.ea.Cb,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};Y[57344]=function(a,b){var c=a+this.offset,d=Si[b&15],d=d^this.ea.Cb,d=d&this.ea.hb|this.qa[c]&~this.ea.hb,d=d&this.ea.pb|this.ea.Cb&~this.ea.pb;this.qa[c]!=d&&(this.qa[c]=d,this.nb=!0)};
function Zi(a){var b=[];if(void 0!==a.Sg){b[0]=a.Pc;b[1]=a.yc;b[2]=a.uf;b[3]=a.dg;b[4]=a.Fc|a.Rg<<8;b[5]=a.mc;if(5==a.Sg){var c=[];c[0]=a.Id;c[1]=a.re;c[2]=a.$d;c[3]=a.pj;c[4]=a.Vg;c[5]=a.Zh;c[6]=a.Ye;c[7]=a.mg;c[8]=a.bi;c[9]=a.ci;c[10]=a.Xe;c[11]=a.He;c[12]=a.Cb;c[13]=[a.Xa,a.Jb,a.Nc];var d;a:if(d=a.ce){var e=0,f=[];if(void 0!==d[0])for(var g=0;2>g;g++)for(var h=g;h<d.length;){for(var m=d[h],n=h+2;n<d.length&&d[n]===m;)n+=2;f[e++]=n-h>>1;f[e++]=m;h=n}if(f.length<d.length){d=f;break a}}c[14]=d;c[15]=
a.hi;c[16]=a.cj;c[17]=a.hb;c[18]=a.$c;c[19]=a.pb;c[20]=a.fh;c[21]=a.Td;c[22]=a.ue;c[23]=a.ki;c[24]=a.li;b[6]=c}b[7]=a.ti}return b}Ti.prototype.rh=function(a){if(null!=a&&a!=this.hi){var b=a&255,c=Y[b];c||b&1&&(c=Y[1]);var b=a&65280,d=Y[b];d||b&256&&(d=Y[256]);this.of||(this.of=[null,Xi,null,Yi]);this.of[0]=c;this.of[2]=d;this.hi=a}};var Ui=[,["MDA",948,720896,4096,0,3],,["CGA",980,753664,16384,0,2],,["EGA",980,753664,16384,65536,4]];k=U.prototype;
k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;fb(b,this,$i);hb(b,this,aj);"ega"==this.Ia&&(fb(b,this,bj),hb(b,this,cj));if((this.Ha=Sa(a,"Keyboard"))&&this.tf){for(var e in this.sa)0<e.indexOf("lock")&&this.Ha.Gb("led",e,this.sa[e]);this.Ha.Gb(this.Fo?"textarea":"canvas","kbd",this.Ga)}this.rg=9;(this.la=Sa(a,"ChipSet"))&&this.yl&&(this.rg=ch(this.yl,this.rg));this.Ha&&this.gm&&dj(this)};
k.Gb=function(a,b,c){var d=this;if(!this.sa[b])switch(this.sa[b]=c,b){case "lockPointer":return this.Ao=c.textContent,this.Ga&&this.Ga.Ze?c.onclick=function(){d.Ze(!0)}:c.parentNode.removeChild(c),!0;case "refresh":return c.onclick=function(){ob(d,!0)},!0}return!1};k.dd=function(){this.Ga&&this.Ga.focus()};k.Ze=function(a){var b=!1;this.Ga&&(a?this.Ga.Ze&&(this.Ga.Ze(),this.Nd.Vf(!0),b=!0):this.Ga.El&&(this.Ga.El(),this.Nd.Vf(!1),b=!0),this.dd());return b};
k.Vf=function(a){this.Nd&&(this.Nd.Vf(a),this.Ha&&(this.Ha.Sj=a));var b=this.sa.lockPointer;b&&(b.textContent=a?"Press Esc to Unlock Pointer":this.Ao)};function dj(a){var b=a.Ga;b&&!a.Th&&(b.addEventListener("touchstart",function(b){ej(a,b)},!1),b.addEventListener("touchmove",function(b){ej(a,b)},!0),b.addEventListener("touchend",function(){},!1),a.Th=!0)}k.ih=function(a){this.Lg=a;this.Ha&&this.Ha.ih(a)};
function ej(a,b){a.Lg&&b.preventDefault();var c=0,d=0,e=a.tf;do isNaN(e.offsetLeft)||(c+=e.offsetLeft,d+=e.offsetTop);while(e=e.offsetParent);var f=a.ld/a.tf.offsetWidth,e=a.Hd/a.tf.offsetHeight,g,h;b.targetTouches?(g=b.targetTouches[0].pageX,h=b.targetTouches[0].pageY):(g=b.pageX,h=b.pageY);c=(g-c)*f/(a.ld/3)|0;d=(h-d)*e/(a.Hd/3)|0;1!=d?d?Di(a.Ha,1040,!0):Di(a.Ha,1038,!0):1!=c&&(c?Di(a.Ha,1039,!0):Di(a.Ha,1037,!0))}
k.ac=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};k.$b=function(a){return a&&this.save?this.save():!0};
k.reset=function(){var a=!0,b=0;this.la&&(b=uh(this.la));var c=!1;if(this.Ia)switch(this.Ia){case "ega":var c=!0,d=Mi[this.rg];d&&(b=d[0]);b||(b=4);break;case "mda":b=3;break;default:b=2}this.Qd!==b&&(this.Qd=b,a=!0);this.Fa=null;this.Mc=this.Ih=new Ti(this,1);this.ec=this.Dg=new Ti(this,3);c?(this.oa=new Ti(this,5,null,this.Nc),fj(this)):this.oa=new Ti;gj(this);this.Pd=null;this.ad=3==b?Ki:3;this.ie=this.Gc=-1;this.he=0;hj(this,this.ad);if(this.Fa.Xa&&a){a=this.Fa.Xa+this.Jh;for(b=this.Fa.Xa;b<a;b+=
2)d=Math.floor(65536*Math.random()),4==this.Qd?(c=b>>1&255,d=d>>8&-129,d>>4==(d&15)&&(d^=15)):(c=d&255,d=(d&256?7:112)|8&d>>8),db(this.ra,b,c|d<<8);ob(this,!0)}};function fj(a){a.oa.Vg&1?(a.Mc=a.Ih,a.ec=a.oa):(a.Mc=a.oa,a.ec=a.Dg)}k.save=function(){var a=new H(this);a.set(0,Zi(this.Ih));a.set(1,Zi(this.Dg));a.set(2,[this.Qd,this.ad,this.Pd]);a.set(3,Zi(this.oa));return a.data()};
k.restore=function(a){var b=a[2];this.Qd=b[0];this.ad=b[1];this.Pd=b[2];this.Fa=null;this.Mc=this.Ih=new Ti(this,1,a[0]);this.ec=this.Dg=new Ti(this,3,a[1]);this.oa=new Ti(this,5,a[3],this.Nc);this.oa.Pc&&fj(this);gj(this);if(!ij(this))return!1;jj(this);return!0};
k.vn=function(a,b,c){if(c)this.Aa("Unable to load font ROM image (error "+c+")");else{try{var d=eval("("+b+")");if(!d.length){q("Empty font ROM image: "+a);return}if(1==d.length){q(d[0]);return}if(8192==d.length)ui(this,d,[0,6144]);else{this.Aa("Unrecognized font data length ("+d.length+")");return}}catch(e){this.Aa("Font ROM data error: "+e.message);return}z(this)}};
function kj(a,b){if(1==b)return a.fd[0]=W[0],a.fd[1]=W[7],a.fd;if(2==b){var c=a.Fa.uf;if(a.Fa===a.oa){var d=a.oa.$d[0],c=d&7;d&16&&(c|=8);18!=a.oa.$d[1]&&(c|=32)}a.fd[0]=W[c&15];c=c&32?Qi:Pi;for(d=0;d<c.length;d++)a.fd[d+1]=W[c[d]];return a.fd}if(a.ec===a.Dg)return W;c=null!=a.oa.$d[15]?a.oa.$d:Ri;for(d=0;d<a.fd.length;d++){var e=c[d]||0;a.fd[d]=[(e&4?170:0)|(e&32?85:0),(e&2?170:0)|(e&16?85:0),(e&1?170:0)|(e&8?85:0),255]}return a.fd}function ui(a,b,c,d){a.ng=b;a.zh=c;a.me=d}
function gj(a){var b=!1;if(window&&a.ng){var c=a.me?0:2048,d=a.me?a.me:9;lj(a,1,a.zh[0],c,d,14,a.ng,Ni,Oi)&&(b=!0);c=kj(a);d=a.me?a.me:8;lj(a,3,a.zh[1],0,d,8,a.ng,c)&&(b=!0);a.me&&lj(a,5,a.zh[0],0,a.me,14,a.ng,c)&&(b=!0)}return b}function lj(a,b,c,d,e,f,g,h,m){var n=!1;mj(a,b,c,d,e,f,g,h,m)&&(n=!0);a.bm&&mj(a,b<<1,c,d,e,f,g,h,m)&&(n=!0);return n}
function mj(a,b,c,d,e,f,g,h,m){var n=!1,r=b&1?0:1,s=a.xd[b];s||(s={nc:e<<r,oc:f<<r,Ge:Array(h.length),Aj:h.slice(),lf:m,xh:Array(h.length)});for(m=0;m<h.length;m++){var t=h[m],w=s.Ge[m]?s.Aj[m]:[];if(t[0]!==w[0]||t[1]!==w[1]||t[2]!==w[2]){var n=s,w=m,D=r,Q=c,L=d,R=e,xa=f,Wa=g,Rb=[0,0,0,0],Bc=window.document.createElement("canvas");Bc.width=n.nc<<4;Bc.height=n.oc<<4;for(var ci=Bc.getContext("2d"),ya=void 0,zb=void 0,Xa=void 0,Cc=8>xa||!L?xa:8,Ad=ci.createImageData(n.nc,n.oc),ya=0;256>ya;ya++){for(Xa=
0;Xa<xa;Xa++)for(var nk=n.lf&&w&1&&Xa>=xa-2,ok=Wa[Xa<Cc?Q+ya*Cc+Xa:L+ya*Cc+Xa-Cc],Bd=0;Bd<=D;Bd++)for(zb=0;zb<R;zb++){var di=zb<<D,ei=(Xa<<D)+Bd,fi=nk||ok&128>>(8<=zb&&176<=ya&&223>=ya?7:zb)?t:Rb;nj(Ad,di,ei,fi);D&&nj(Ad,di+1,ei,fi)}ci.putImageData(Ad,(ya&15)*n.nc,(ya>>4)*n.oc)}n.Ge[w]="#"+ca(t[0])+ca(t[1])+ca(t[2]);n.Aj[w]=t;n.xh[w]=Bc;n=!0}}a.xd[b]=s;return n}function oj(a){0<a.he||0<=a.Gc?0>a.ie&&(a.ie=0):a.ie=-1}
function jj(a){if(a.Qb){for(var b=10;15>=b;b++)if(null==a.Fa.mc[b])return;var c=a.Fa.mc[10],b=c&31,d=a.Fa.mc[11]&31,e=a.Fa.mc[9]&31,f=!1;a.Fa===a.oa&&(f=!0,7!=e||4!=b||d||(d=7));if(c&32||b>d&&!f||b>e)pj(a);else{c=a.Fa.mc[15]+((a.Fa.mc[14]&63)<<8);a.Gc!=c&&(pj(a),a.Gc=c);d=d-b+1;if(a.Hl!=b||a.Nj!=d)a.Hl=b,a.Nj=d;a.Gd=e+1;oj(a)}}}
function pj(a){if(0<=a.Gc){if(void 0!==a.dc){var b=a.dc[a.Gc];if(b&131072){var b=b&-131073,c=a.Gc%a.Db,d=Math.floor(a.Gc/a.Db);a.Qb&&a.xd[a.Qb]&&(a.Pe&&qj(a,c,d,b,a.Pe),qj(a,c,d,b));a.dc[a.Gc]=b}}a.Gc=-1}}
function rj(a){var b;a=a.Fa;var c=a.He[5];if(null!=c){b=2;var d=512,e=a.He[3]&31;switch(c&3){case 0:if(e){d=1024;switch(e&24){case 8:d=1536;break;case 16:d=2560;break;case 24:d=3584}a.$c=e&7}break;case 1:d=4096;break;case 2:switch(e&24){default:d=8192;break;case 8:d=24576;break;case 16:d=40960;break;case 24:d=57344}}c&8&&(b=16);c&16&&(b|=1,d|=256);b|=d}return b}k.ye=function(a){var b=this.Fa;null!=a&&b&&a!=b.hi&&(b.rh(a),this.ra.rh(b.Xa,b.Jb,b.of))};
function ij(a,b){var c,d=a.Pd,e=a.Fa;if(e)if(1==e.Sg)d=Ki;else if(5==e.Sg){var d=null,f=e.Nc>>2,g=32768<f?32768:f,h=e.He[6];if(null!=h){switch(h&12){case 0:e.Xa=655360;e.Jb=f;d=255;break;case 4:e.Xa=655360;e.Jb=f;d=3==a.Qd?15:16;break;case 8:e.Xa=720896;e.Jb=g;d=Ki;break;case 12:e.Xa=753664,e.Jb=g,d=3==a.Qd?2:3}c=e.mg[1]&8;f=e.mc[6]|(e.mc[7]&1)<<8;255!=d&&(h&1?753664==e.Xa?d=c?7-d:6:350>f&&(d=c?13:14):c&&(d-=2));c=rj(a)}}else e.yc&8&&(e.yc&2?(d=e.yc&16?6:5,e.yc&4||(d-=1)):(d=e.yc&1?3:1,e.yc&4&&(d-=
1)));else a.Pd=null,null==d&&(d=a.ad);if(!hj(a,d,b))return!1;a.ye(c);return!0}
function hj(a,b,c){if(null!=b&&(b!=a.Pd||c)){a.Pl=0;a.Pd=b;b=a.Fa||(b==Ki?a.Mc:a.ec);if(b!=a.Fa||b.Xa!=a.Xa||b.Jb!=a.Jb){pj(a);if(a.Xa){if(!ab(a.ra,a.Xa,a.Jb))return!1;a.Fa&&(a.Fa.Pc=!1)}a.Fa=b;b.Pc=!0;a.Xa=b.Xa;a.Jb=b.Jb;if(!Za(a.ra,b.Xa,b.Jb,!1,b===a.oa?b:null))return!1}a.Qb=0;a.Db=a.$g;a.rc=a.pi;a.ji=V[Ki][2];b=0;var d=V[a.Pd];d&&(a.Db=d[0],a.rc=d[1],a.ji=d[2],b=d[3]||0,a.Qb=d[4],4==a.Qd&&a.Fa===a.oa&&3==a.Qb&&(7==a.oa.mc[9]?a.rc=43:a.Qb=5));a.kk=a.Db*a.rc;a.Xg=a.kk/a.ji;a.Jh=(a.Xg<<1)+b;a.Lj=
b?a.Jh+b>>1:0;13<=a.Pd&&(a.Xg<<=1);a.xd.length&&(a.md=Math.floor(a.ld/a.Db),a.nd=Math.floor(a.Hd/a.rc),a.Qb?(b=a.xd[a.Qb],d=a.xd[a.Qb<<1],a.em&&80==a.Db?d&&a.md>=3*d.nc>>2&&(a.Qb<<=1,b=d):(d&&a.md>=d.nc&&(a.Qb<<=1,b=d),b&&(a.md=b.nc,a.nd=b.oc)),a.wf=a.xf=0,b&&(a.wf=a.Db*b.nc,a.xf=a.rc*b.oc)):(a.md=a.nd=1,a.wf=a.Db,a.xf=a.rc),a.Tg=a.Oc.createImageData(a.wf,a.xf),a.Ne=window.document.createElement("canvas"),a.Ne.width=a.wf,a.Ne.height=a.xf,a.Pe=a.Ne.getContext("2d"),a.sj=a.tj=0,a.Mh=a.ld,a.Nh=a.Hd,
b=a.ld-a.Db*a.md,d=a.Hd-a.rc*a.nd,0<b&&(a.sj=b>>1,a.Mh-=b),0<d&&(a.tj=d>>1,a.Nh-=d),b||d)&&(a.Oc.fillStyle=a.tf.style.backgroundColor,a.Oc.fillRect(0,0,a.ld,a.Hd));!1!==c?ob(a,!0):sj(a,!0)}return!0}function nj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b+0]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function sj(a,b){var c;if(b){if(c=a.Xg,void 0===a.dc||a.dc.length!=c)a.dc=Array(c)}else{if(void 0===a.dc)return;c=a.dc.length}for(var d=0;d<c;d++)a.dc[d]=-1;a.he=-1}
function qj(a,b,c,d,e){var f=d&255,g=d>>8;d=g&15;var h=a.xd[a.Qb];h.lf&&(d=h.lf[d]);var m=g>>4&15;h.lf&&(m=h.lf[m]);e?(b*=h.nc,c*=h.oc,e.fillStyle=h.Ge[m],e.fillRect(b,c,h.nc,h.oc)):(b=b*a.md+a.sj,c=c*a.nd+a.tj,a.Oc.fillStyle=h.Ge[m],a.Oc.fillRect(b,c,a.md,a.nd));g&256&&(m=(f&15)*h.nc,f=(f>>4)*h.oc,e?e.drawImage(h.xh[d],m,f,h.nc,h.oc,b,c,h.nc,h.oc):a.Oc.drawImage(h.xh[d],m,f,h.nc,h.oc,b,c,a.md,a.nd));g&512&&(f=a.Hl,g=a.Nj,e?(a.Gd&&a.Gd!==h.oc&&(f=Math.floor(f*h.oc/a.Gd),g=Math.floor(g*h.oc/a.Gd)),
e.fillStyle=h.Ge[d],e.fillRect(b,c+f,h.nc,g)):(a.Gd&&a.Gd!==a.nd&&(f=Math.floor(f*a.nd/a.Gd),g=Math.floor(g*a.nd/a.Gd)),a.Oc.fillStyle=h.Ge[d],a.Oc.fillRect(b,c+f,a.md,g)))}
function ob(a,b){if(a.ma.Pb){var c=!1;a.Fa&&(a.Fa===a.oa?a.oa.re&32&&(c=!0):a.Fa.yc&8&&(c=!0));if(c||b){if(b)sj(a,!0);else if(void 0===a.dc)return;var d=!1;!(b||++a.Pl&15)&&0<=a.ie&&(a.ie++,d=!0);var e=0,f=a.kk,c=a.Fa.Xa,g=c+a.Fa.Jb,h=(a.Fa.mc[12]<<8)+a.Fa.mc[13];a.Qb&&(h<<=1);var c=c+h,m=a.Jh;c+m>g&&(m=g-c,0>m&&(m=0));g=c+m;if(h=!b){for(var h=a.ra,n=!0,r=c>>h.xb;0<m&&r<h.za.length;)h.za[r].nb&&(h.za[r].nb=n=!1,h.za[r].Qj=!0),m-=h.Cc,r++;h=n}if(h){if(!d)return;if(!a.he){if(0>a.Gc)return;e=a.Gc;f=
e+1}}if(a.Qb){if(a.xd[a.Qb]){d=0;h=a.he=0;m=1048575;a.Fa.yc&32&&(h=32768,m&=~h,a.ie&2||(m&=-65537));for(c+=e<<1;c<g&&e<f;)n=cb(a.ra,c),n|=65536,n&h&&(a.he++,n&=m),e==a.Gc&&(n|=a.ie&1?131072:0),r=a.dc[e],r!=n&&(qj(a,e%a.Db,Math.floor(e/a.Db),n,a.Pe),a.dc[e]=n,d++),c+=2,e++;d&&a.Pe&&a.Oc.drawImage(a.Ne,0,0,a.wf,a.xf,a.sj,a.tj,a.Mh,a.Nh);oj(a)}}else if(a.Lj){for(var f=g,s,t,e=c,g=a.he=0,d=a.ji,h=16==d?65536:196608,m=16==d?1:2,n=kj(a,m),w=r=0,D=a.Db,Q=0,L=a.rc,R=0;e<f;){s=cb(a.ra,e);t=a.dc[g];if(t===
s)r+=d;else{a.dc[g]=s;s=s>>8|(s&255)<<8;t=h;var xa=16;r<D&&(D=r);for(var Wa=0;Wa<d;Wa++){var Rb=(s&(t>>=m))>>(xa-=m);nj(a.Tg,r++,w,n[Rb])}r>Q&&(Q=r);w<L&&(L=w);w>=R&&(R=w+1)}e+=2;g++;if(r>=a.Db){r=0;w+=2;if(w>a.rc)break;w==a.rc&&(w=1,e=c+a.Lj)}}D<a.Db&&(a.Pe.putImageData(a.Tg,0,0,D,L,Q-D,R-L),a.Oc.drawImage(a.Ne,0,0,a.Db,a.rc,0,0,a.ld,a.Hd))}else{f=g;e=a.he=0;g=kj(a);d=a.Fa.ce;m=h=0;n=a.Db;r=0;w=a.rc;for(D=0;c<f;){Q=c++-a.Xa;Q=d[Q];L=a.dc[e];if(L===Q)h+=8;else{a.dc[e]=Q;h<n&&(n=h);for(L=0;8>L;L++)R=
Q&2155905152,0>R&&(R+=4294967296),R=X[R]||0,nj(a.Tg,h++,m,g[R]),Q<<=1;h>r&&(r=h);m<w&&(w=m);m>=D&&(D=m+1)}e++;if(h>=a.Db&&(h=0,++m>a.rc))break}n<a.Db&&(a.Pe.putImageData(a.Tg,0,0,n,w,r-n,D-w),a.Oc.drawImage(a.Ne,0,0,a.Db,a.rc,0,0,a.ld,a.Hd))}}}}k.Rm=function(){return this.Mc.Fc};k.co=function(a,b){var c=this.Mc;c.Rg=c.Fc;c.Fc=b&31};k.Qm=function(){return tj(this.Mc)};k.bo=function(a,b){uj(this,this.Mc,b)};k.Sm=function(){return this.Mc.yc};k.eo=function(a,b){this.Mc.yc=b;ij(this,!1)};
k.Tm=function(){return vj(this,this.Mc)};k.ql=function(a,b){this.oa.Zh=this.oa.Zh&-4|b&3};k.gk=function(){var a=this.oa.Id?this.oa.$d[this.oa.re&31]:this.oa.re;this.oa.Id=!this.oa.Id;return a};k.pl=function(a,b){var c=this.oa.re&32;if(this.oa.Id){var d=this.oa.re&31;if(16<=d||!c)this.oa.$d[d]=b;this.oa.Id=!1}else this.oa.re=b,this.oa.Id=!0,b&32&&!c&&gj(this)&&ob(this,!0)};k.cn=function(){var a=3-((this.oa.Vg&12)>>2),a=this.oa.pj&-17|(this.rg&1<<a)<<4-a;return this.oa.pj=a};
k.ho=function(a,b){this.oa.Vg=b;fj(this)};k.bn=function(){return this.oa.Ye};k.oo=function(a,b){this.oa.Ye=b};k.an=function(){return this.oa.mg[this.oa.Ye]};k.no=function(a,b){this.oa.mg[this.oa.Ye]=b;2==this.oa.Ye&&(this.oa.hb=Si[b&15])};k.Jm=function(){return this.oa.bi};k.Xn=function(a,b){this.oa.bi=b};k.Km=function(){return this.oa.ci};k.Yn=function(a,b){this.oa.ci=b};k.Im=function(){return this.oa.Xe};k.Wn=function(a,b){this.oa.Xe=b};k.Hm=function(){return this.oa.He[this.oa.Xe]};
k.Vn=function(a,b){this.oa.He[this.oa.Xe]=b;switch(this.oa.Xe){case 0:this.oa.fh=Si[b&15];this.oa.ue=this.oa.fh&~this.oa.Td;break;case 1:this.oa.Td=~Si[b&15];this.oa.ue=this.oa.fh&~this.oa.Td;break;case 2:this.oa.ki=Si[b&15]&2155905152;break;case 3:case 5:this.ye(rj(this));break;case 4:this.oa.cj=(b&3)<<3;break;case 6:ij(this,!1);break;case 7:this.oa.li=Si[b&15^15]&2155905152;break;case 8:this.oa.pb=b|b<<8|b<<16|b<<24}};k.zm=function(){return this.ec.Fc};
k.Mn=function(a,b){var c=this.ec;c.Rg=c.Fc;c.Fc=b&31};k.ym=function(){return tj(this.ec)};k.Ln=function(a,b){uj(this,this.ec,b)};k.Am=function(){return this.ec.yc};k.Nn=function(a,b){this.ec.yc=b;ij(this,!1)};k.xm=function(){return this.ec.uf};k.Kn=function(a,b){this.ec.uf!==b&&(this.ec.uf=b,sj(this,!1))};k.Bm=function(){return vj(this,this.ec)};function tj(a){var b;a.Fc<a.ii&&(b=a.mc[a.Fc]);return b}function uj(a,b,c){b.Fc<b.ii&&(b.mc[b.Fc]=c,9==b.Fc&&8!=b.Rg&&ij(a,!0),jj(a))}
function vj(a,b){var c=0,d=C(a.ka),e=d-b.ti;0>e&&(e=0);e%b.mi>b.rn&&(c|=1);e%=b.nk;e>b.tn&&(c|=8);b.ti=d-e;b===a.oa?(c|=b.dg&48^48,b.Id=!1):c=(b.dg^=9)|240;return b.dg=c}
var $i={948:U.prototype.Rm,949:U.prototype.Qm,952:U.prototype.Sm,954:U.prototype.Tm,980:U.prototype.zm,981:U.prototype.ym,984:U.prototype.Am,985:U.prototype.xm,986:U.prototype.Bm},aj={948:U.prototype.co,949:U.prototype.bo,952:U.prototype.eo,980:U.prototype.Mn,981:U.prototype.Ln,984:U.prototype.Nn,985:U.prototype.Kn},bj={960:U.prototype.gk,961:U.prototype.gk,962:U.prototype.cn,964:U.prototype.bn,965:U.prototype.an,970:U.prototype.Km,972:U.prototype.Jm,974:U.prototype.Im,975:U.prototype.Hm},cj={954:U.prototype.ql,
960:U.prototype.pl,961:U.prototype.pl,962:U.prototype.ho,964:U.prototype.oo,965:U.prototype.no,970:U.prototype.Yn,972:U.prototype.Xn,974:U.prototype.Wn,975:U.prototype.Vn,986:U.prototype.ql};
za(function(){for(var a=y(window.document,"pcjs","video"),b=0;b<a.length;b++){var c=a[b],d=x(c),e=window.document.createElement("canvas");if(void 0===e){c.innerHTML="<br/>Missing &lt;canvas&gt; support; try a new 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=c.style.height="auto";0<=(window?window.navigator.userAgent:"").indexOf("MSIE")&&(e.style.height=(c.clientWidth*
d.screenHeight/d.screenWidth|0)+"px",c.onresize=function(a,b,c,d){return function(){b.style.height=(a.clientWidth*d/c|0)+"px"}}(c,e,d.screenWidth,d.screenHeight));c.appendChild(e);var f=window.document.createElement("textarea");f.setAttribute("style","position:absolute; left:0; top:0; width:100%; height:100%; opacity:0; border:0; padding:0; line-height:0;");sa("iOS")&&(f.setAttribute("autocapitalize","off"),f.setAttribute("autocorrect","off"));c.style.clear="both";c.style.position="relative";c.appendChild(f);
var g=e.getContext("2d"),d=new U(d,e,g,f);Na(d,c)}});function Z(a){this.ck=a.adapter;switch(this.ck){case 1:this.hj=1016;this.Nf=4;break;case 2:this.hj=760;this.Nf=3;break;default:q("Unrecognized serial adapter #"+this.ck);return}this.Ed=null;u.call(this,"SerialPort",a,Z);var b=a.binding,c;a=wj;b&&(void 0===c&&(c="Panel"),(c=Ma(c,this.id))&&(b=c.sa[b])&&this.Gb(null,a,b))}v(u,Z);var wj="buffer";k=Z.prototype;k.Cj=function(a,b){return a==this.ei?(this.Nd=b,this):null};
k.Gb=function(a,b,c){var d=this;switch(b){case wj:return this.sa[b]=this.Ed=c,c.onkeydown=function(a){a=a||window.event;var b=a.keyCode;8===b&&(a.preventDefault&&a.preventDefault(),xj(d,[b]))},c.onkeypress=function(a){a=a||window.event;xj(d,[a.which||a.keyCode])},!0}return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.la=Sa(a,"ChipSet");fb(b,this,yj,this.hj);hb(b,this,zj,this.hj);z(this)};k.ac=function(a,b){if(!b)if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};
k.$b=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.Ld()};k.save=function(){var a=new H(this),b=0,c=[];c[b++]=this.Gh;c[b++]=this.Hj;c[b++]=this.De;c[b++]=this.sg;c[b++]=this.Ad;c[b++]=this.fe;c[b++]=this.Uc;c[b++]=this.Bc;c[b++]=this.Fj;c[b]=this.mf;a.set(0,c);return a.data()};k.restore=function(a){return this.Ld(a[0])};
k.Ld=function(a){var b=0;void 0===a&&(a=[0,0,384,0,1,0,0,96,48,[]]);this.Gh=a[b++];this.Hj=a[b++];this.De=a[b++];this.sg=a[b++];this.Ad=a[b++];this.fe=a[b++];this.Uc=a[b++];this.Bc=a[b++];this.Fj=a[b++];this.mf=a[b];return!0};function xj(a,b){a.mf=a.mf.concat(b);Aj(a)}function Aj(a){0<a.mf.length&&!(a.Bc&1)&&(a.Gh=a.mf.shift(),a.Bc|=1);var b=-1;a.Bc&1&&a.sg&1&&(b=4);0<=b?(a.Ad&=-8,a.Ad|=b,a.la&&a.Nf&&Yh(a.la,a.Nf)):(a.Ad|=1,a.la&&a.Nf&&Zh(a.la,a.Nf))}
k.$m=function(){var a=this.fe&128?this.De&255:this.Gh;this.Bc&=-2;Aj(this);return a};k.Lm=function(){return this.fe&128?this.De>>8:this.sg};k.Mm=function(){return this.Ad};k.Nm=function(){return this.fe};k.Pm=function(){return this.Uc};k.Om=function(){return this.Bc};k.Vm=function(){return this.Fj};
k.po=function(a,b){if(this.fe&128)this.De=this.De&-256|b;else{this.Hj=b;this.Bc&=-97;var c;this.Ed?(13!=b&&(8==b?this.Ed.value=this.Ed.value.slice(0,-1):(this.Ed.value+=String.fromCharCode(b),this.Ed.scrollTop=this.Ed.scrollHeight)),c=!0):c=!1;c&&(this.Bc|=96)}};k.Zn=function(a,b){this.fe&128?this.De=this.De&255|b<<8:this.sg=b};k.$n=function(a,b){this.fe=b};
k.ao=function(a,b){var c=this.Uc;this.Uc=b;if(this.Nd&&(c^b)&3){var c=this.Nd,d=this.Uc,e=3==(d&3);if(e){if(!c.Pc){var f=!1;c.Uc&2||(c.reset(),c.hc("serial mouse reset"),f=!0);c.Uc&1||(c.hc("serial mouse ID requested"),f=!0);f&&(xj(c.vf,[77,77]),c.hc("serial mouse ID sent"));Bj(c,c.Ga);c.setActive(e)}}else c.Pc&&(c.hc("serial mouse inactive"),Cj(c.Ga),c.setActive(e));c.Uc=d}};
var yj={0:Z.prototype.$m,1:Z.prototype.Lm,2:Z.prototype.Mm,3:Z.prototype.Nm,4:Z.prototype.Pm,5:Z.prototype.Om,6:Z.prototype.Vm},zj={0:Z.prototype.po,1:Z.prototype.Zn,3:Z.prototype.$n,4:Z.prototype.ao};za(function(){for(var a=y(window.document,"pcjs","serial"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new Z(d);Na(d,c)}});function Dj(a){u.call(this,"Mouse",a,Dj);if(this.di=a.serial)this.kj="SerialPort";this.setActive(!1);this.Mg=!1;z(this)}v(u,Dj);k=Dj.prototype;
k.xc=function(a,b,c,d){this.Ta=a;this.ra=b;this.ka=c;this.Wa=d;this.uh=Sa(this.Ta,"Video")};k.setActive=function(a){this.Pc=a};k.ac=function(a,b){if(!b){if(!a||!this.restore)this.reset();else if(!this.restore(a))return!1;if(this.kj&&!this.vf){for(var c=null;(c=Sa(this.Ta,this.kj,c))&&(!c.Cj||!(this.vf=c.Cj(this.di,this))););this.vf?this.uh&&(c=this.uh,c.Nd=this,this.Ga=c.Ga):q(this.id+": "+this.kj+" "+this.di+" unavailable")}this.Pc?Bj(this,this.Ga):Cj(this.Ga)}return!0};
k.$b=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.Ld()};k.save=function(){var a=new H(this);a.set(0,this.oj());return a.data()};k.restore=function(a){return this.Ld(a[0])};k.Ld=function(a){var b=0;void 0===a&&(a=[!1,-1,-1,0,0,!1,!1,0]);this.setActive(a[b++]);this.eg=a[b++];this.fg=a[b++];this.Ee=a[b++];this.Fe=a[b++];this.Hg=a[b++];this.Ig=a[b++];this.Uc=a[b];return!0};
k.oj=function(){var a=0,b=[];b[a++]=this.Pc;b[a++]=this.eg;b[a++]=this.fg;b[a++]=this.Ee;b[a++]=this.Fe;b[a++]=this.Hg;b[a++]=this.Ig;b[a]=this.Uc;return b};k.Vf=function(a){this.Mg=a};
function Bj(a,b){b&&(a.Th||(b.addEventListener("mousemove",function(b){if(a.Pc&&a.ka&&a.ka.ma.Hb){if(0>a.eg||0>a.fg)a.eg=b.clientX,a.fg=b.clientY;a.Mg?(a.Ee=b.movementX||b.mozMovementX||b.webkitMovementX||0,a.Fe=b.movementY||b.mozMovementY||b.webkitMovementY||0):(a.Ee=b.clientX-a.eg,a.Fe=b.clientY-a.fg);(a.Ee||a.Fe)&&Ej(a);a.eg=b.clientX;a.fg=b.clientY}},!1),b.addEventListener("mousedown",function(b){Fj(a,b.button,!0)},!1),b.addEventListener("mouseup",function(b){Fj(a,b.button,!1)},!1),a.Th=!0),b.style.cursor=
"none")}function Cj(a){a&&(a.style.cursor="auto")}function Fj(a,b,c){if(a.Pc&&a.ka&&a.ka.ma.Hb){var d;!(d=!1!==a.Mg)&&(d=a.uh)&&(d=a.uh,d=d.$l?d.Ze(!0):!1);d||(a.Mg=null);switch(b){case 0:a.Hg!=c&&(a.Hg=c,Ej(a));break;case 2:a.Ig!=c&&(a.Ig=c,Ej(a))}}}function Ej(a){xj(a.vf,[64|(a.Hg?32:0)|(a.Ig?16:0)|(a.Fe&192)>>4|(a.Ee&192)>>6,a.Ee&63,a.Fe&63]);a.Ee=a.Fe=0}za(function(){for(var a=y(window.document,"pcjs","mouse"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new Dj(d);Na(d,c)}});
function Gj(a,b,c){u.call(this,"Disk",{id:a.ek+".disk"+ ++Hj},Gj);this.ea=a;this.Ta=a.Ta;this.Wa=a.Wa;this.Qa=b;this.cd=b.name;this.Te=b.Te;this.Ng=this.od=!1;this.create(c,b.rb,b.sb,b.wb,b.gb);this.ae=[];this.ig=[];this.vd=null;this.jk=0;this.Yh=!1;z(this)}var Hj=0;v(u,Gj);k=Gj.prototype;k.xc=function(a,b,c,d){this.Wa=d};k.ac=function(a,b){b||!this.Ng||this.od||(z(this,!1),this.load(this.cd,this.we,null,this.Xl,this));return!0};k.Xl=function(){z(this,!0)};
k.$b=function(a,b){if(this.od){var c,d=0;if(this.Yh&&!na("Disk writes are still in progress, shut down anyway?"))return!1;for(;c=Ij(this,!1);)if(d=c[0]){this.ea.Aa('Unable to save "'+this.cd+'" (error '+d+")");break}b&&this.od&&(c="action=close&volume="+this.we,c+="&machine="+this.ea.Ve(),c+="&user="+this.ea.Kd(),la(ma()+"/api/v1/disk?"+c,!0),this.od=!1);!d&&a&&this.ea.Aa(this.cd+" saved")}return!0};
k.create=function(a,b,c,d,e){this.mode=a;this.rb=b;this.sb=c;this.wb=d;this.gb=e;this.cb=[];if("preload"!=this.mode){a=Array(this.rb);for(b=0;b<a.length;b++){c=Array(this.sb);for(d=0;d<c.length;d++){e=Array(this.wb);for(var f=1;f<=e.length;f++)e[f-1]=Jj(null,b,d,f,this.gb,"local"==this.mode?0:null);c[d]=e}a[b]=c}this.cb=a}this.Re=null};
k.load=function(a,b,c,d,e){var f=b;if(!this.qe)if(this.cd=a,this.we=b,this.qe=d,this.Rl=e||this.ea,c){var g=this,h=new FileReader;h.onload=function(){var a=h.result,b,c=a?a.byteLength:0,d=ba[c];if(d){g.rb=d[0];g.sb=d[1];g.wb=d[2];g.gb=512;b=g.gb>>2;var e=d=0,a=new DataView(a,0,c);g.cb=Array(g.rb);for(c=0;c<g.cb.length;c++)for(var f=g.cb[c]=Array(g.sb),D=0;D<f.length;D++)for(var Q=f[D]=Array(g.wb),L=0;L<Q.length;L++){for(var R=Jj(null,c,D,L+1,g.gb,0),xa=R.data,Wa=0;Wa<b;Wa++,e+=4)var Rb=xa[Wa]=a.getInt32(e,
!0),d=d+Rb&4294967295;R.vc=b;Q[L]=R}g.Re=d;b=g}else g.Aa("Unrecognized diskette format ("+c+" bytes)");g.qe&&(g.qe.call(g.ea,g.Qa,b,g.cd,g.we),g.qe=null)};h.readAsArrayBuffer(c)}else 0>b.indexOf("/api/v1/dump")&&(a=fa(b),"json"==a?f=encodeURI(b):"demandrw"==this.mode||"demandro"==this.mode?(f=Kj(this,b),this.Ng=!0):(c="path",d="&mbhd=10",!b.indexOf("http:")||!b.indexOf("ftp:")||0<="dsk ima img 360 720 12 144".split(" ").indexOf(a)?(c="disk",d="&mbhd=0"):-1!==b.indexOf("/",b.length-1)&&(c="dir"),f=
ma()+"/api/v1/dump?"+c+"="+encodeURIComponent(b)+(this.Te?"":d)+"&format=json")),la(f,!0,null,this,this.Vl,b)};
k.Vl=function(a,b,c,d){var e=null;this.Ue=!1;var f=0>c&&this.Ta&&!this.Ta.ma.Pb;if(this.Ng)c?this.ea.Aa('Unable to connect to disk "'+d+'" (error '+c+": "+b+")",f):(this.od=!0,e=this);else if(c)this.ea.Aa('Unable to load disk "'+this.cd+'" (error '+c+")",f);else try{if(0<ea(a,!0).toLowerCase().indexOf("-readonly"))this.Ue=!0;else{var g=b.indexOf("\n");0<g&&1024>g&&0<b.substring(0,g).indexOf("write-protected")&&(this.Ue=!0)}var h;h="<"==b.substr(0,1)?["Missing disk image: "+this.cd]:0>b.indexOf("0x")&&
'["'!=b.substr(0,2)?JSON.parse(b.replace(/([a-z]+):/gm,'"$1":').replace(/\/\/[^\n]*/gm,"")):eval("("+b+")");if(h.length)if(1==h.length)q(h[0]);else{this.rb=h.length;this.sb=h[0].length;this.wb=h[0][0].length;var m=h[0][0][0];this.gb=m&&m.length||512;for(b=a=0;b<this.rb;b++)for(c=0;c<this.sb;c++)for(d=0;d<this.wb;d++)if(m=h[b][c][d]){var n=m.length;void 0===n&&(n=m.length=512);var n=n>>2,r=m.pattern;void 0===r&&(r=m.pattern=0);var s=m.data;if(void 0===s){var t=m.bytes;if(void 0!==t&&t.length){for(var f=
n<<2,w=t.length;w<f;w++)t[w]=r;this.fill(m,t,0)}else s=[],r=m.pattern=r|r<<8|r<<16|r<<24,m.data=s;delete m.bytes}Jj(m,b,c);for(f=0;f<s.length;f++)a=a+s[f]&4294967295}this.cb=h;this.Re=a;e=this}else q("Empty disk image: "+this.cd)}catch(D){q("Disk image error: "+D.message)}this.qe&&(this.qe.call(this.Rl,this.Qa,e,this.cd,this.we),this.qe=null)};function Jj(a,b,c,d,e,f){a||(a={sector:d,length:e,data:[],pattern:f});a.jm=b;a.lm=c;a.Qc=a.vc=0;a.nb=!1;return a}
function Kj(a,b){var c;c="action=open&volume="+b+("&mode="+a.mode);c+="&chs="+a.rb+":"+a.sb+":"+a.wb+":"+a.gb;c+="&machine="+a.ea.Ve();c+="&user="+a.ea.Kd();return ma()+"/api/v1/disk?"+c}function Lj(a,b,c,d,e,f,g){if(a.od){var h;h="action=read&volume="+a.we;h+="&chs="+a.rb+":"+a.sb+":"+a.wb+":"+a.gb;h=h+("&addr="+b+":"+c+":"+d+":"+e)+("&machine="+a.ea.Ve());h+="&user="+a.ea.Kd();la(ma()+"/api/v1/disk?"+h,f,null,a,a.Yl,[b,c,d,e,f,g])}else g&&g(-1,!1)}
k.Yl=function(a,b,c,d){var e=!1;a=d[0];var f=d[1],g=d[2],h=d[3];if(!c){b=JSON.parse(b);for(e=0;h--;){var m=this.seek(a,f,g,!0);if(!m)break;this.fill(m,b,e);e+=m.length;g++}e=d[4]}(d=d[5])&&d(c,e)};k.Zl=function(a,b,c,d){a=d[0];b=d[1];var e=d[2],f=d[3];d=d[4];this.Yh=!1;if(0<=a&&a<this.cb.length&&0<=b&&b<this.cb[a].length)for(e-=1;0<f--&&0<=e&&e<this.cb[a][b].length;e++){var g=this.cb[a][b][e];c?Mj(this,g,!1):g.nb||(g.Qc=g.vc=0)}d&&Nj(this)};
function Mj(a,b,c){b.nb=!0;var d=a.ae.indexOf(b);0<=d&&(a.ae.splice(d,1),a.ig.splice(d,1));a.ae.push(b);a.ig.push(ia());c&&Nj(a)}function Nj(a){if(a.ae.length){var b=a.ig[0]+2E3;a.vd&&a.jk<b&&(clearTimeout(a.vd),a.vd=null);if(!a.vd){var c=ia(),b=b-c;0>b&&(b=0);2E3<b&&(b=2E3);a.vd=setTimeout(function(){Ij(a,!0)},b);a.jk=c+b}}else a.vd&&(clearTimeout(a.vd),a.vd=null)}
function Ij(a,b){b&&(a.vd=null);var c=a.ae[0];if(c){for(var d=c.jm,e=c.lm,c=c.sector,f=0,g=[],h=c-1;h<a.cb[d][e].length;h++){var m=a.cb[d][e][h];if(!m.nb)break;var n=a.ae.indexOf(m);a.ae.splice(n,1);a.ig.splice(n,1);g=g.concat(Oj(m));m.nb=!1;f++}a.od?(h={},a.Yh=!0,h.action="write",h.volume=a.we,h.chs=a.rb+":"+a.sb+":"+a.wb+":"+a.gb,h.addr=d+":"+e+":"+c+":"+f,h.machine=a.ea.Ve(),h.user=a.ea.Kd(),h.data=JSON.stringify(g),d=la(ma()+"/api/v1/disk",b,h,a,a.Zl,[d,e,c,f,b])):d=!1;return b||d}return!1}
k.info=function(){return this.cb.length?[this.cb.length,this.cb[0].length,this.cb[0][0].length,this.cb[0][0][0].length]:[0,0,0,0]};
k.seek=function(a,b,c,d,e){var f=null,g=this.Qa,h=this.cb[a];if(h){var m=h[b];if(!m&&g.Eh&&b<g.sb)for(m=h[b]=Array(g.Bd),h=0;h<m.length;h++)m[h]=Jj(null,a,b,h+1,g.qb,0);if(m){for(h=0;h<m.length;h++)if(m[h]&&m[h].sector==c){f=m[h];if(null===f.pattern)if(d)f.pattern=0;else{for(d=1;++h<m.length;)null===m[h].pattern&&d++;Lj(this,a,b,c,d,null!=e,function(a,b){a&&(f=null);e&&e(f,b)});return e?null:f}break}!f&&g.Eh&&9==g.eb&&(f=m[h]=Jj(null,a,b,g.eb,g.qb,0))}}e&&e(f,!1);return f};
k.fill=function(a,b,c){for(var d=a.length>>2,e=Array(d),f=0;f<d;f++)e[f]=b[c]|b[c+1]<<8|b[c+2]<<16|b[c+3]<<24,c+=4;a.data=e};function Oj(a){var b=a.length,c=Array(b),d=0,b=b>>2,e=a.data;a=a.pattern;for(var f=0;f<b;f++){var g=f<e.length?e[f]:a;c[d++]=g&255;c[d++]=g>>8&255;c[d++]=g>>16&255;c[d++]=g>>24&255}return c}function Pj(a,b){var c=-1;if(a&&b<a.length)var c=a.data,d=b>>2,c=(d<c.length?c[d]:a.pattern)>>((b&3)<<3)&255;return c}
k.write=function(a,b,c){if(this.Ue)return!1;if(b<a.length){if(c!=Pj(a,b)){var d=a.data,e=a.pattern,f=b>>2;b=(b&3)<<3;for(var g=d.length;g<=f;g++)d[g]=e;a.vc?f<a.Qc?(a.vc+=a.Qc-f,a.Qc=f):f>=a.Qc+a.vc&&(a.vc+=f-(a.Qc+a.vc)+1):(a.Qc=f,a.vc=1);d[f]=d[f]&~(255<<b)|c<<b;this.od&&Mj(this,a,!0)}return!0}return null};
k.save=function(){var a=0,b=[];b[a++]=[this.we,this.Re,this.rb,this.sb,this.wb,this.gb];if(!this.od&&!this.Ue)for(var c=this.cb,d=0;d<c.length;d++)for(var e=0;e<c[d].length;e++)for(var f=0;f<c[d][e].length;f++){var g=c[d][e][f];if(g&&g.vc){for(var h=[],m=0,n=g.Qc,r=g.Qc+g.vc;n<r;)h[m++]=g.data[n++];b[a++]=[d,e,f,g.Qc,h]}}return b};
k.restore=function(a){var b=0,c="unsupported restore format";if(a&&0<a.length){var d=0,e=a[d++];e&&2<=e.length&&(!this.cb.length&&6<=e.length?this.create("local",e[2],e[3],e[4],e[5]):null!=e[1]&&null!=this.Re&&e[1]!=this.Re&&(c="original checksum ("+e[1]+") differs from current checksum ("+this.Re+")",b=-1));for(this.cb.length||(b=-1);d<a.length&&0<=b;){var f=0,g=a[d++],h=g[f++],m=g[f++],n=g[f++];if(h>=this.cb.length||m>=this.cb[h].length||n>=this.cb[h][m].length){c="sector (CHS="+h+":"+m+":"+n+") out of range ("+
b+" changes applied)";b=-1;break}if(this.Ue){c="unable to modify write-protected disk";b=-1;break}e=g[f++];f=g[f++];g=e+f.length;if(h=this.cb[h][m][n]){for(m=h.data.length;m<e;)h.data[m++]=h.pattern;m=0;h.Qc=e;for(h.vc=f.length;e<g;)h.data[e++]=f[m++];b++}}}0>b&&this.ea.Aa("unable to restore disk '"+this.cd+": "+c);return b};
function Qj(a){u.call(this,"FDC",a,Qj);this.dmaRead=this.Oh;this.dmaWrite=this.Ph;this.dmaFormat=this.Sl;this.je=null;if(a.autoMount&&(this.je=a.autoMount,"string"==typeof this.je))try{this.je=eval("("+a.autoMount+")")}catch(b){q("FDC auto-mount error: "+b.message+" ("+a.autoMount+")"),this.je=null}this.sc=[];this.Uj=!sa("Mobi")&&window&&"FileReader"in window}v(u,Qj);l={};aa={};
var Rj={3:{kd:3,Dd:0,name:aa.lp},4:{kd:2,Dd:1,name:aa.jp},5:{kd:9,Dd:7,name:aa.xp},6:{kd:9,Dd:7,name:aa.dp},7:{kd:2,Dd:0,name:aa.fp},8:{kd:1,Dd:2,name:aa.kp},10:{kd:2,Dd:7,name:aa.ep},13:{kd:6,Dd:7,name:aa.Qo},15:{kd:3,Dd:0,name:aa.ip}};k=Qj.prototype;
k.Gb=function(a,b,c){var d=this;switch(b){case "listDisks":return this.sa[b]=c,c.onchange=function(){var a=d.sa.descDisk,b=c.options[c.selectedIndex];if(a&&b){var g={};if(b=b.getAttribute("data-value"))try{g=eval("({"+b+"})")}catch(h){q("FDC option error: "+h.message)}b=g.desc;void 0===b&&(b="");g=g.href;void 0!==g&&(b='<a href="'+g+'" target="_blank">'+b+"</a>");a.innerHTML=b}},!0;case "descDisk":case "listDrives":return this.sa[b]=c,c.onchange=function(){var a;a=c.value;var b=10,g;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 h=a.charAt(a.length-1).toLowerCase();"h"==h?(b=16,h=null):"."==h&&(b=10,h=null);null===h&&(a=a.substr(0,a.length-1))}var m,h=a;(b&&10!=b?16==b?null!==h.match(/^[0-9a-f]+$/i):1:null!==h.match(/^[0-9]+$/))&&!isNaN(m=parseInt(a,b))&&(g=m)}a=g;null!=a&&Sj(d,a)},!0;case "loadDrive":return this.sa[b]=c,c.onclick=function(){var a=d.sa.listDisks;a&&Tj(d,a.options[a.selectedIndex].text,a.value)},!0;case "mountDrive":return this.Uj?
(this.sa[b]=c,c.addEventListener("change",function(){var a=c.children[0];a.children[1].disabled=!a.children[0].files.length}),c.onsubmit=function(a){if(a=a.currentTarget[1].files[0]){var b=a.name;Tj(d,ea(b,!0),b,a)}return!1}):c.parentNode.removeChild(c),!0}return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Ta=a;this.la=Sa(a,"ChipSet");this.qd();fb(b,this,Uj);hb(b,this,Vj);this.Uj&&Wj(this,"Local Disk","?");Wj(this,"Remote Disk","??");this.pf()||z(this)};
k.ac=function(a,b){if(!b){if(!a||!this.restore){if(this.reset(),this.Ta.Wh){this.sc=[];for(var c=0;c<this.Ca.length;c++)Xj(this,c,!0);this.pf(!0)}}else if(!this.restore(a))return!1;if(c=this.sa.listDrives){for(;c.firstChild;)c.removeChild(c.firstChild);c.textContent="";for(var d=0;d<this.qi;d++){var e=window.document.createElement("option");e.value=d;e.textContent=String.fromCharCode(65+d)+":";c.appendChild(e)}0<this.qi&&(c.value="0",Sj(this,0))}}return!0};
k.$b=function(a){return a&&this.save?this.save():!0};k.reset=function(){this.qd()};k.save=function(){var a=new H(this);a.set(0,this.lj());return a.data()};k.restore=function(a){return this.qd(a[0])};
k.qd=function(a){var b=0,c,d=!0;void 0===a&&(a=[0,0,128,Array(9),0,0,0,[]]);this.fb=a[b++];b++;this.xa=a[b++];this.cc=a[b++];this.yb=a[b++];this.ib=a[b++];this.gf=a[b++];var e=a[b++];c=a[b++];null!=c&&(this.sc=c);void 0===this.Ca&&(this.qi=4,this.la&&(this.qi=Fh(this.la)),this.Ca=Array(4));for(c=0;c<this.Ca.length;c++){var f=this.Ca[c];if(void 0===f){var f=this.Ca[c]={},g;if(this.la)a:{g=this.la;if(c<Fh(g)){if(!g.wd){g=360;break a}if(c<g.wd.length){g=g.wd[c];break a}}g=0}else g=0;switch(g){case 160:case 180:f.sb=
1;default:f.rb=40;f.wb=9;break;case 720:f.rb=80;f.wb=9;break;case 1200:f.rb=80;f.wb=15;break;case 1440:f.rb=80,f.wb=18}}this.fi(f,c,e[c])||(d=!1)}this.Vd=a[b++]||0;this.sl=a[b]||0;return d};k.lj=function(){var a=0,b=[];b[a++]=this.fb;b[a++]=0;b[a++]=this.xa;b[a++]=this.cc;b[a++]=this.yb;b[a++]=this.ib;b[a++]=this.gf;b[a++]=this.nj();for(var c=a++,d=0;d<this.Ca.length;d++){var e=this.Ca[d];e.va&&Yj(this,e.xe,e.va)}b[c]=this.sc;b[a++]=this.Vd;b[a]=this.sl;return b};
k.fi=function(a,b,c){var d=0,e=!0;a.fb=b;a.Ec=a.Se=!1;void 0===c&&(c=[192,!0,0,2,0]);"boolean"==typeof c[1]&&(c[1]=["Floppy Drive",a.rb||40,a.sb||c[3],a.wb||9,a.gb||512,c[1],a.ah,a.Lf,a.Mf]);a.ab=c[d++];var f=c[d++];a.name=f[0];a.rb=f[1];a.sb=f[2];a.wb=f[3];a.gb=f[4];a.Te=f[5];(a.ah=f[6])?(a.Lf=f[7],a.Mf=f[8]):(a.ah=a.rb,a.Lf=a.sb,a.Mf=a.wb);a.Pa=c[d++];a.zd=c[d++];a.ub=c[d++];a.zd=100<=a.zd?a.zd-100:a.zd-a.ub;a.eb=c[d++];a.Bd=c[d++];a.qb=c[d++];a.Ra=c[d++];a.Na=null;a.va||(a.xe="");var g=c[d++];
102==g&&(g=!1);"boolean"==typeof g?(f=c[d++],c=c[d],g?(d=this.Ca[b],Xj(this,b,!0,!0),d.Se=!0,b=new Gj(this,d,"preload"),this.Oj(d,b,f,c,!0)):Zj(this,b,f,c,!0)?a.va&&c&&ak(this,f,c,a.va):z(this,!1)):void 0!==g&&a.va&&0>a.va.restore(g)&&(e=!1);e&&a.va&&void 0!==a.Ra&&(a.Na=a.va.seek(a.ub,a.Pa,a.eb));return e};k.nj=function(){for(var a=0,b=[],c=0;c<this.Ca.length;c++)b[a++]=this.mj(this.Ca[c]);return b};
k.mj=function(a){var b=0,c=[];c[b++]=a.ab;c[b++]=[a.name,a.rb,a.sb,a.wb,a.gb,a.Te,a.ah,a.Lf,a.Mf];c[b++]=a.Pa;c[b++]=a.zd+100;c[b++]=a.ub;c[b++]=a.eb;c[b++]=a.Bd;c[b++]=a.qb;c[b++]=a.Ra;c[b++]=a.Se;c[b++]=a.xl;c[b]=a.xe;return c};k.pf=function(a){a||(this.ge=0);if(this.je)for(var b in this.je){var c=this.je[b];if(c.name&&c.path){var d=b.charCodeAt(0)-65;if(0<=d&&d<this.Ca.length){!Zj(this,d,c.name,c.path,!0)&&a&&z(this,!1);continue}}this.Aa("Unrecognized auto-mount specification for drive "+b)}return!!this.ge};
function Tj(a,b,c,d){var e,f=a.sa.listDrives;if(f&&!isNaN(e=parseInt(f.value,10))&&0<=e&&e<a.Ca.length)if(c)if("?"==c)a.Aa('Use "Choose File" and "Load" to select and load a local disk.');else{if("??"==c){c=window.prompt("Enter the URL of a remote disk image.","")||"";if(!c)return;b=ea(c);a.ic("Attempting to load "+c+' as "'+b+'"')}for(a.ic("loading disk "+c+"...");Zj(a,e,b,c,!1,d)&&window.confirm("Click OK to reload the original disk.\n(WARNING: All disk changes will be discarded)");){for(var f=
a,g=c,h=void 0,h=0;h<f.sc.length;h++)if(f.sc[h][1]==g){f.sc.splice(h,1);break}Xj(a,e,!1,!0)}}else Xj(a,e);else a.Aa("Nothing to load")}function Zj(a,b,c,d,e,f){var g=a.Ca[b];if(d&&g.xe!=d){Xj(a,b,e,!0);if(g.Ec)return a.Aa("Drive "+b+" busy"),!0;g.Ec=!0;e&&(g.oe=!0,a.ge++);g.Se=!!f;(new Gj(a,g,"preload")).load(c,d,f,a.Oj);return!1}return!0}
k.Oj=function(a,b,c,d,e){var f;a.Ec=!1;b&&(f=b.info(),b&&f[0]>a.rb||f[1]>a.sb)&&(this.Aa('Diskette "'+c+'" too large for drive '+String.fromCharCode(65+a.fb)),b=null);b?(a.va=b,a.xl=c,a.xe=d,ak(this,c,d,b),f=b.info(),this.Vd|=128,this.Aa('Mounted diskette "'+c+'" in drive '+String.fromCharCode(65+a.fb),a.oe||e),a.ah=f[0],a.Lf=f[1],a.Mf=f[2]):a.Se=!1;a.oe&&(a.oe=!1,--this.ge||z(this));Sj(this,a.fb)};
function Wj(a,b,c){if(a=a.sa.listDisks){for(var d=0;d<a.options.length;d++)if(a.options[d].value==c)return;d=window.document.createElement("option");d.value=c;d.textContent=b;a.appendChild(d)}}function Sj(a,b){if(0<=b&&b<a.Ca.length){var c=a.Ca[b],d=a.sa.listDisks,e=a.sa.listDrives;if(d&&e&&(e=parseInt(e.value,10),c=c.Se?"?":c.xe,!isNaN(e)&&e==b)){for(e=0;e<d.options.length;e++)if(d.options[e].value==c){d.selectedIndex!=e&&(d.selectedIndex=e);break}e==d.options.length&&(d.selectedIndex=0)}}}
function Xj(a,b,c,d){var e=a.Ca[b];e.va&&(Yj(a,e.xe,e.va),e.xl="",e.xe="",e.va=null,e.Se=!1,a.Vd|=128,d||a.Aa("Drive "+String.fromCharCode(65+b)+" unloaded",c),c||d||Sj(a,b))}function ak(a,b,c,d){var e;for(e=0;e<a.sc.length;e++)if(a.sc[e][1]==c){d.restore(a.sc[e][2]);return}a.sc[e]=[b,c,[]]}function Yj(a,b,c){var d;for(d=0;d<a.sc.length;d++)if(a.sc[d][1]==b){a.sc[d][2]=c.save();break}}k.Un=function(a,b){b&4?this.gf&4||this.gf&8&&this.la&&Yh(this.la,6):this.qd();this.gf=b};k.Gm=function(){return this.xa};
k.Em=function(){var a=0;this.yb<this.ib&&(a=this.cc[this.yb]);this.gf&8&&this.la&&Zh(this.la,6);++this.yb>=this.ib&&(this.xa&=-81,this.yb=this.ib=0);return a};
k.Tn=function(a,b){this.ib<this.cc.length&&(this.cc[this.ib++]=b);var c=this.cc[0]&31;if(void 0!==Rj[c]&&this.ib>=Rj[c].kd){var d=!1;this.yb=0;var c=this.Ma(),e,f,g,h,m,n=c&31;switch(n){case 3:this.Ma(l.mp);this.Ma(l.To);this.Nb();break;case 4:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];this.Nb();this.bc((e.ab&4278190080)>>>24,l.pp);break;case 5:case 6:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];e.Pa=d;f=e.ub=this.Ma(l.uj);g=this.Ma(l.vj);h=e.eb=this.Ma(l.xj);m=this.Ma(l.wh);e.qb=128<<
m;e.Bd=this.Ma(l.Oo);this.Ma(l.Jl);this.Ma(l.No);6==n?(n=e,n.ab=72,n.va&&(n.Na=null,n.ab=0,this.la&&(Sh(this.la,2,this,"dmaRead",n),Oh(this.la,2)))):(n=e,n.ab=72,n.va&&(n.va.Ue?n.ab=576:(n.Na=null,n.ab=0,this.la&&(Sh(this.la,2,this,"dmaWrite",n),Oh(this.la,2)))));bk(this,e,c,d,f,g,h,m);d=!0;break;case 7:f=this.Ma(l.hf);this.fb=f&3;e=this.Ca[this.fb];e.ub=e.zd=0;e.ab=268435488;this.Nb();d=!0;break;case 8:e=this.Ca[this.fb];e.Pa=0;this.Nb();this.bc(e.fb|e.Pa<<2|e.ab&255,l.Ll);this.bc(e.ub,l.bp);this.fb=
this.fb+1&3;break;case 10:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.ub;g=e.Pa=d;h=e.eb=1;m=0;e.ab=0;e.va&&(e.Na=e.va.seek(e.ub,e.Pa,e.eb))?m=e.Na.length:e.ab=72;bk(this,e,c,d,f,g,h,m);d=!0;break;case 13:f=this.Ma(l.hf);d=f>>2&1;this.fb=f&3;e=this.Ca[this.fb];f=e.ub;g=e.Pa=d;h=1;m=this.Ma(l.wh);e.qb=128<<m;e.Bd=this.Ma(l.hp);this.Ma(l.Jl);e.Ej=this.Ma(l.Il);n=e;n.ab=72;n.va&&(n.Na=null,n.ab=0,this.la&&(n.Oe=0,n.zc=Array(4),n.Eh=!0,n.Cg=0,Sh(this.la,2,this,"dmaFormat",n),Oh(this.la,
2),n.Eh=!1));bk(this,e,c,d,f,g,h,m);d=!0;break;case 15:f=this.Ma(l.hf),this.fb=f&3,e=this.Ca[this.fb],e.Pa=f>>2&1,f=this.Ma(l.Zo),e.ub+=f-e.zd,0>e.ub&&(e.ub=0),e.ub>=e.rb&&(e.ub=e.rb-1),e.zd=f,e.ab=32,e.ub||(e.ab|=268435456),this.Nb(),d=!0}0<this.ib&&(this.xa|=80);this.gf&8&&(!e||e.ab&8||!d||this.la&&Yh(this.la,6))}};k.Fm=function(){var a=this.Vd;this.Vd&=-129;return a};k.Sn=function(a,b){this.sl=b};
function bk(a,b,c,d,e,f,g,h){a.Nb();a.bc(b.fb|b.Pa<<2|b.ab&255,l.Ll);a.bc((b.ab&65280)>>>8,l.np);a.bc((b.ab&16711680)>>>16,l.op);var m=0;if(e!=b.ub||f!=b.Pa)m=g=1;c&128&&(f^=m,d||(m=0));a.bc(e+m,l.uj);a.bc(f,l.vj);a.bc(g,l.xj);a.bc(h,l.wh)}k.Ma=function(){var a=this.cc[this.yb];this.yb++;return a};k.Nb=function(){this.yb=this.ib=0};k.bc=function(a){this.cc[this.ib++]=a};k.Oh=function(a,b,c){void 0===b||0>b?this.jc(a,c):c(-1,!1)};k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1};
k.Sl=function(a,b){return void 0!==b&&0<=b?this.rj(a,b):-1};k.jc=function(a,b){var c=-1,d=null,e=0;if(!a.ab&&a.va){do{if(a.Na&&(e=a.Ra,0<=(c=Pj(a.Na,a.Ra++)))){d=a.Na;break}a.Na=a.va.seek(a.ub,a.Pa,a.eb);if(!a.Na){a.ab=1088;break}a.Ra=0;this.nf(a)}while(1)}b(c,!1,d,e)};k.lc=function(a,b){if(a.ab||!a.va)return-1;do{if(a.Na&&a.va.write(a.Na,a.Ra++,b))break;a.Na=a.va.seek(a.ub,a.Pa,a.eb);if(!a.Na){a.ab=8256;b=-1;break}a.Ra=0;this.nf(a)}while(1);return b};
k.nf=function(a){a.eb++;a.eb>=a.Mf+1&&(a.eb=1,a.Pa++,a.Pa>=a.Lf&&(a.Pa=0,a.ub++))};k.rj=function(a,b){if(a.ab)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.ub=a.zc[0];a.Pa=a.zc[1];a.eb=a.zc[2];a.qb=128<<a.zc[3];for(var c=a.Oe=0;c<a.qb;c++)if(0>this.lc(a,a.Ej))return-1;a.Cg++}a.Cg>=a.Bd&&(b=-1);return b};var Uj={1012:Qj.prototype.Gm,1013:Qj.prototype.Em,1015:Qj.prototype.Fm},Vj={1010:Qj.prototype.Un,1013:Qj.prototype.Tn,1015:Qj.prototype.Sn};
za(function(){for(var a=y(window.document,"pcjs","fdc"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new Qj(d);Na(d,c)}});function $(a){u.call(this,"HDC",a,$);this.dmaRead=this.Oh;this.dmaWrite=this.Ph;this.dmaWriteBuffer=this.Tl;this.dmaWriteFormat=this.Ul;this.yh=[];if(a.drives)try{this.yh=eval("("+a.drives+")")}catch(b){q("HDC drive configuration error: "+b.message+" ("+a.drives+")")}this.Cf=(this.ne="at"==a.type)?1:0;this.km=this.ne?2:3}v(u,$);
var ck=[{0:[306,2],1:[375,8],2:[306,6],3:[306,4]},{1:[306,4],2:[615,4],3:[615,6],4:[940,8],5:[940,6],6:[615,4],7:[462,8],8:[733,5],9:[900,15],10:[820,3],11:[855,5],12:[855,7],13:[306,8],14:[733,7]}];k=$.prototype;k.Gb=function(){return!1};k.xc=function(a,b,c,d){this.ra=b;this.ka=c;this.Wa=d;this.Ta=a;this.la=Sa(a,"ChipSet");fb(b,this,this.ne?dk:ek);hb(b,this,this.ne?fk:gk);Ac(c,19,this,this.hn);Ac(c,64,this,this.jn);this.reset();this.pf()||z(this)};
k.ac=function(a,b){if(!b)if(!a||!this.restore)this.qd(),this.Ta.Wh&&this.pf(!0);else if(!this.restore(a))return!1;return!0};k.$b=function(a){return a&&this.save?this.save():!0};k.Ve=function(){return this.Ta?this.Ta.Ve():""};k.Kd=function(){return this.Ta?this.Ta.Kd():""};k.reset=function(){this.qd(null,!0)};k.save=function(){var a=new H(this);a.set(0,this.lj());return a.data()};k.restore=function(a){return this.qd(a[0])};
k.qd=function(a,b){var c=0,d=!0;if(this.ne)null==a&&(a=[0,0,0,0,0,0,0,0,64,0]),this.Ud=a[c++],this.wl=a[c++],this.Wd=a[c++],this.nh=a[c++],this.lh=a[c++],this.kh=a[c++],this.ff=a[c++],this.xa=a[c++],this.jj=a[c++],this.mh=a[c++];else{null==a&&(a=[0,0,Array(14),0,0]);this.Zf=a[c++];this.xa=a[c++];this.cc=a[c++];this.yb=a[c++];this.ib=a[c++];this.vl=a[c++];this.ul=a[c++];this.tl=a[c++];var e=a[c++];void 0!==e?this.We=e:void 0===this.We&&(this.We=-1)}void 0===this.Ca&&(this.Ca=Array(this.yh.length));
c=a[c];void 0===c&&(c=[]);for(e=0;e<this.Ca.length;e++){void 0===this.Ca[e]&&(this.Ca[e]={});var f=this.Ca[e];this.fi(e,f,this.yh[e],c[e],b)||(d=!1);null!=this.Zf&&1>=e&&(this.Zf|=(f.type&3)<<(1-e<<1))}return d};
k.lj=function(){var a=0,b=[];this.ne?(b[a++]=this.Ud,b[a++]=this.wl,b[a++]=this.Wd,b[a++]=this.nh,b[a++]=this.lh,b[a++]=this.kh,b[a++]=this.ff,b[a++]=this.xa,b[a++]=this.jj,b[a++]=this.mh):(b[a++]=this.Zf,b[a++]=this.xa,b[a++]=this.cc,b[a++]=this.yb,b[a++]=this.ib,b[a++]=this.vl,b[a++]=this.ul,b[a++]=this.tl,b[a++]=this.We);b[a]=this.nj();return b};
k.fi=function(a,b,c,d,e){var f=0,g=!0;void 0===d&&(d=[0,0,!1,Array(8)]);b.fb=a;b.errorCode=d[f++];b.Bl=d[f++];b.Te=d[f++];b.Ie=d[f++];b.Je=d[f++];b.Pa=d[f++];b.sb=d[f++];b.Zd=d[f++];b.eb=d[f++];b.Bd=d[f++];b.qb=d[f++];b.yg=this.ne?0:1;b.name=c.name;void 0===b.name&&(b.name="Hard Drive");b.path=c.path;b.mode=c.mode||(b.path?"preload":"local");"demandro"!=b.mode&&"demandrw"!=b.mode||this.Kd()||(b.mode="local");b.type=c.type;if(void 0===b.type||void 0===ck[this.Cf][b.type])b.type=this.km;c=ck[this.Cf][b.type];
b.wb=c[2]||17;b.gb=c[3]||512;if(e&&this.la&&(e=this.la,c=b.type,e.ja)){var h=e.ja[18],h=a?h&240|c:h&15|c<<4;e.ja&&(e.ja[18]=h,xh(e))}void 0===b.va&&(b.va=null,this.Aa("Type "+b.type+' "'+b.name+'" is fixed disk '+a,!0));hk(this,b);b.Ra=d[f++];b.Na=null;b.va&&(a=d[f],void 0!==a&&0>b.va.restore(a)&&(g=!1),g&&void 0!==b.Ra&&(b.Na=b.va.seek(b.Zd,b.Pa,b.eb+b.yg)));return g};k.nj=function(){for(var a=0,b=[],c=0;c<this.Ca.length;c++)b[a++]=this.mj(this.Ca[c]);return b};
k.mj=function(a){var b=0,c=[];c[b++]=a.errorCode;c[b++]=a.Bl;c[b++]=a.Te;c[b++]=a.Ie;c[b++]=a.Je;c[b++]=a.Pa;c[b++]=a.sb;c[b++]=a.Zd;c[b++]=a.eb;c[b++]=a.Bd;c[b++]=a.qb;c[b++]=a.Ra;c[b]=a.va?a.va.save():null;return c};
function hk(a,b,c){if(b){var d=0,e=0;null==c&&((d=b.Ie[2])?e=b.Ie[0]<<8|b.Ie[1]:c=b.type);null==c||d||(d=ck[a.Cf][c][1],e=ck[a.Cf][c][0]);d&&((c=ck[a.Cf][b.type])&&e!=c[0]&&d!=c[1]&&a.Aa("Warning: drive parameters ("+e+","+d+") do not match drive type "+b.type+" ("+c[0]+","+c[1]+")"),b.rb=e,b.sb=d,null==b.va&&(b.va=new Gj(a,b,b.mode)))}}
k.pf=function(a){a||(this.ge=0);for(var b=0;b<this.Ca.length;b++){var c=this.Ca[b];if(c.name&&c.path){if(!(a&&c.va&&c.va.Ng)){var d;d=c.name;var c=c.path,e=this.Ca[b];e.Ec?(this.Aa("Drive "+b+" busy"),d=!0):(e.Ec=!0,e.oe=!0,this.ge++,(e.va||new Gj(this,e,e.mode)).load(d,c,null,this.Wl),d=!1);!d&&a&&z(this,!1)}}else a&&void 0!==c.type&&(c.va=null,hk(this,c,c.type))}return!!this.ge};
k.Wl=function(a,b,c){a.Ec=!1;(a.va=b)&&this.Aa('Mounted disk "'+c+'" in drive '+String.fromCharCode(67+a.fb),a.oe);a.oe&&(a.oe=!1,--this.ge||z(this))};k.fn=function(){var a=0;this.yb<this.ib&&(a=this.cc[this.yb]);this.la&&Zh(this.la,5);this.xa&=-33;++this.yb>=this.ib&&(this.yb=this.ib=0,this.xa&=-15);return a};k.ro=function(a,b){this.ib<this.cc.length&&(this.cc[this.ib++]=b);var c=12!=this.cc[0]?6:this.cc.length;6==this.ib&&(this.xa&=-2);this.ib>=c&&(this.xa|=2,this.xa&=-2,ik(this))};
k.gn=function(){var a=this.xa;this.yb<this.ib&&(this.xa|=1);return a};k.uo=function(a,b){this.vl=b;this.la&&Zh(this.la,5);this.qd()};k.en=function(){return this.Zf};k.to=function(a,b){this.ul=b;this.xa=13};k.so=function(a,b){this.tl=b};k.ej=function(){};
k.rm=function(){var a=-1;if(this.Qa){var b=this,a=this.jc(this.Qa,function(){});1!=this.Qa.Ra&&this.Qa.Ra==this.Qa.gb&&(this.Qa.qb-=this.Qa.gb,this.Wd=this.Wd-1&255,this.Qa.qb>=this.Qa.gb?(b.xa=136,this.jc(this.Qa,function(a){0<=a?(jk(b),b.xa=80):(b.xa=1,b.Ud=16)},!1)):this.xa=80)}return a};
k.En=function(a,b){this.Qa&&this.Qa.qb>=this.Qa.gb&&(0>this.lc(this.Qa,b)?(this.xa=1,this.Ud=16):1!=this.Qa.Ra&&this.Qa.Ra==this.Qa.gb&&(this.Qa.qb-=this.Qa.gb,this.Wd=this.Wd-1&255,jk(this),this.xa=80,this.Qa.qb>=this.Qa.gb&&(this.xa|=8)))};k.tm=function(){return this.Ud};k.Jn=function(a,b){this.wl=b};k.um=function(){return this.Wd};k.Hn=function(a,b){this.Wd=b};k.vm=function(){return this.nh};k.In=function(a,b){this.nh=b};k.qm=function(){return this.lh};k.Dn=function(a,b){this.lh=b};k.pm=function(){return this.kh};
k.Cn=function(a,b){this.kh=b};k.sm=function(){return this.ff};k.Fn=function(a,b){this.ff=b;this.xa=this.Ca[this.ff&16?1:0]?this.xa|64:this.xa&-65};k.wm=function(){return this.xa};k.Bn=function(a,b){this.jj=b;this.la&&Zh(this.la,14);kk(this)};k.Gn=function(a,b){this.mh&4&&!(b&4)&&(this.Ud=1);this.mh=b};
function kk(a){var b=!1,c=a.jj,d=a.ff&16?1:0,e=a.ff&15,f=a.lh|(a.kh&3)<<8,g=a.nh,h=a.Wd||256;a.Qa=null;a.Ud=0;a.xa=80;(d=a.Ca[d])?(d.Zd=f,d.Pa=e,d.eb=g,d.qb=h*d.gb,c=144<=c?c:c&240,d.Na=null,d.Ra=0,d.errorCode=0,a.Qa=d):c=-1;switch(c&240){case 32:a.xa=136;a.jc(d,function(b){0<=b&&a.la?(jk(a),a.xa=80):(a.xa=1,a.Ud=16)},!1);break;case 48:a.xa=8;break;case 16:b=!0;break;case 64:b=!0;break;case 144:a.Ud=1;b=!0;break;case 145:d.sb=e+1,d.wb=h,b=!0}b&&jk(a)}
function jk(a){!a.la||a.mh&2||Yh(a.la,14,120)}
function ik(a){a.yb=0;var b=a.Ma(),c=a.Ma(),d=c&32,e=d>>5,f=c&31,g=a.Ma(),h=a.Ma(),m=g<<2&768|h,n=g&63,r=a.Ma(),s=a.Ma(),t=a.Ca[e];t&&(t.Zd=m,t.Pa=f,t.eb=n,t.qb=r*t.gb);switch(b){case 3:a.Nb(t?t.errorCode:4);a.bc(c);a.bc(g);a.bc(h);a.bc(0|d);b=-1;break;case 12:for(c=0;0<=(b=a.Ma());)t&&c<t.Ie.length&&(t.Ie[c++]=b);t&&hk(a,t);b=0;t||a.We!=e||(a.We=-1,b=2);a.Nb(b|d);b=-1;break;case 224:case 228:a.Nb(0|d),b=-1}if(0<=b)switch(void 0===t?b=-1:(t.errorCode=0,t.Bl=0),b){case 0:a.Nb(0|d);break;case 1:t.Ep=
s;a.Nb(0|d);break;case 5:a.Nb(0|d);break;case 8:lk(a,t,function(b){a.Nb(b|d)});break;case 10:mk(a,t,function(b){a.Nb(b|d)});break;case 15:pk(a,t,function(b){a.Nb(b|d)});break;default:a.Nb(2|d)}}k.Ma=function(){var a=-1;this.yb<this.ib&&(a=this.cc[this.yb++]);return a};k.Nb=function(a){this.yb=this.ib=0;void 0!==a&&this.bc(a);this.la&&Yh(this.la,5);this.xa|=32};k.bc=function(a){this.cc[this.ib++]=a};k.Oh=function(a,b,c){void 0===b||0>b?this.jc(a,c):c(-1,!1)};
k.Ph=function(a,b){return void 0!==b&&0<=b?this.lc(a,b):-1};k.Tl=function(a,b){var c;void 0!==b&&0<=b?(c=b,a.Ra<a.Je.length?a.Je[a.Ra++]=c:(a.errorCode=20,c=-1)):c=-1;return c};k.Ul=function(a,b){return void 0!==b&&0<=b?this.rj(a,b):-1};function lk(a,b,c){b.errorCode=4;if(b.va&&(b.Na=null,a.la)){b.errorCode=0;Sh(a.la,3,a,"dmaRead",b);Oh(a.la,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)});return}c(b.errorCode?2:0)}
function mk(a,b,c){b.errorCode=4;if(b.va&&(b.Na=null,a.la)){b.errorCode=0;Sh(a.la,3,a,"dmaWrite",b);Oh(a.la,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 pk(a,b,c){b.errorCode=4;b.Je&&b.Je.length==b.qb||(b.Je=Array(b.qb));b.Ra=0;a.la?(b.errorCode=0,Sh(a.la,3,a,"dmaWriteBuffer",b),Oh(a.la,3,function(a){a||0!=b.errorCode||(b.errorCode=4);c(b.errorCode?2:0)})):c(b.errorCode?2:0)}
k.jc=function(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.Na&&(f=a.Ra,d=Pj(a.Na,a.Ra),a.Ra+=g,0<=d))return e=a.Na,b&&b(d,!1,e,f),d;if(b){var h=this;if(a.va)return a.va.seek(a.Zd,a.Pa,a.eb+a.yg,!1,function(c,n){(a.Na=c)?(e=c,f=a.Ra=0,h.nf(a),d=Pj(a.Na,a.Ra),a.Ra+=g):a.errorCode=20;b(d,n,e,f)}),d;a.errorCode=20;b(d,!1,e,f)}return d};
k.lc=function(a,b){if(a.errorCode)return-1;do{if(a.Na&&a.va.write(a.Na,a.Ra++,b))break;a.va&&a.va.seek(a.Zd,a.Pa,a.eb+a.yg,!0,function(b){a.Na=b});if(!a.Na){a.errorCode=20;b=-1;break}a.Ra=0;this.nf(a)}while(1);return b};k.nf=function(a){a.eb++;var b=1-a.yg;a.eb>=a.wb+b&&(a.eb=b,a.Pa++,a.Pa>=a.sb&&(a.Pa=0,a.Zd++))};
k.rj=function(a,b){if(a.errorCode)return-1;a.zc[a.Oe++]=b;if(a.Oe==a.zc.length){a.Zd=a.zc[0];a.Pa=a.zc[1];a.eb=a.zc[2];a.qb=128<<a.zc[3];for(var c=a.Oe=0;c<a.qb;c++)if(0>this.lc(a,a.Ej))return-1;a.Cg++}a.Cg>=a.Bd&&(b=-1);return b};k.hn=function(){var a=this.ka.K&255;!(this.ka.H>>8)&&128<a&&(this.We=a-128);return!0};k.jn=function(){var a;(a=this.ka.H>>8)||(a=!this.la)||(a=!(this.la.Wb[0].Tc&64));return a?!0:!1};
var ek={800:$.prototype.fn,801:$.prototype.gn,802:$.prototype.en},dk={496:$.prototype.rm,497:$.prototype.tm,498:$.prototype.um,499:$.prototype.vm,500:$.prototype.qm,501:$.prototype.pm,502:$.prototype.sm,503:$.prototype.wm},gk={800:$.prototype.ro,801:$.prototype.uo,802:$.prototype.to,803:$.prototype.so,807:$.prototype.ej,811:$.prototype.ej,815:$.prototype.ej},fk={496:$.prototype.En,497:$.prototype.Jn,498:$.prototype.Hn,499:$.prototype.In,500:$.prototype.Dn,501:$.prototype.Cn,502:$.prototype.Fn,503:$.prototype.Bn,
1014:$.prototype.Gn};za(function(){for(var a=y(window.document,"pcjs","hdc"),b=0;b<a.length;b++){var c=a[b],d=x(c),d=new $(d);Na(d,c)}});function H(a,b,c){this.id=a.id;this.key=qk(a,b,c);this.Wa=a.Wa;rk(this,a.vo)}function qk(a,b,c){a=a.id;if(b){var d=b.indexOf(".");0<d&&(a+=".v"+b.substr(0,d))}c&&(a+="."+c);return a}
H.prototype={set:function(a,b){try{this[this.id][a]=b}catch(c){}},get:function(a){return this[this.id][a]||null},value:function(){return this[this.id]},data:function(){return this[this.id]},load:function(a){return a?(this[this.id]=a,this.Vh=!0):this.Vh?!0:pa()&&(a=qa(this.key))?(this[this.id]=a,this.Vh=!0):!1},parse:function(){var a=!0;try{this[this.id]=JSON.parse(this[this.id])}catch(b){q(b.message||b),a=!1}return a},toString:function(){var a=this[this.id];return"string"==typeof a?a:JSON.stringify(a)},
clear:function(a){rk(this);var b=[];try{for(var c=0,d=window.localStorage.length;c<d;c++)b.push(window.localStorage.key(c))}catch(e){}for(c=0;c<b.length;c++)if((d=b[c])&&(a||d.substr(0,this.key.length)==this.key)){try{window.localStorage.removeItem(d)}catch(f){}b.splice(c,1);c=0}},hc:function(){}};function rk(a,b){a[a.id]={};b&&a.set("parms",b);a.Vh=!1}
function sk(a){var b=!0;if(pa()){var c=JSON.stringify(a[a.id]);ra(a.key,c)||(q("Unable to store "+c.length+" bytes in browser local storage"),b=!1)}return b}
function tk(a,b,c){u.call(this,"Computer",a,tk);this.ma.Pb=!1;this.Df=a.buswidth;this.Hc=uk;this.bg=null;this.Pg=!1;this.url=b?b.url:null;this.Bo=(Math.random()+0.1).toString(36).substr(2,12);this.Ic=vk(this);if(this.ka=Ma("CPU",this.id)){this.Wa=Ma("Debugger",this.id);this.ra=new Ua({id:this.ek+".bus",buswidth:this.Df},this.ka,this.Wa);var d,e=Ka(this.id);if((this.Yf=Ma("Panel",this.id))&&this.Yf.Lh)for(b=0;b<e.length;b++)d=e[b],d.Aa=this.Yf.Aa,d.ic=this.Yf.ic,d.Lh=this.Yf.Lh;for(b=0;b<e.length;b++)d=
e[b],d.xc&&d.xc(this,this.ra,this.ka,this.Wa);b=null;d=a.resume;void 0!==d&&(1<d.length?b=this.qh=d:this.Hc=parseInt(d,10));var f;if(a=Fa&&Fa.state||(f=!0,a.state))b=this.zl=a,f||(this.Pg=!0,this.Hc=uk),this.Hc&&(this.th=new H(this,"1.16.5"),this.th.load()?b=null:delete this.th);!b&&this.Hc&&(f=null,this.Ic&&(f=ma()+"/api/v1/user?req=load&user="+this.Ic+"&state="+qk(this,"1.16.5")),b=f)&&(this.Pg=!0);b?la(b,!0,null,this,this.wn):z(this);c||wk(this,this.jh)}else q("Unable to find CPU component")}
v(u,tk);var uk=0;k=tk.prototype;k.Ve=function(){return this.Bo};k.Kd=function(){return this.Ic?this.Ic:""};k.wn=function(a,b,c){c?(this.qh=null,this.Pg=!1,this.Aa("Unable to load machine state from server (error "+c+(b?": "+(String.prototype.trim?b.trim():b.replace(/^\s+|\s+$/g,"")):"")+")")):this.bg=b;z(this)};function wk(a,b,c){for(var d=Ka(a.id),e=0;e<=d.length;e++){var f=e<d.length?d[e]:a;if(!Pa(f)){Pa(f,function(){wk(a,b,c)});return}}b.call(a,c)}
function xk(a,b){var c=new H(a,"1.16.5","validate");if(c.load()&&c.parse()){var d=c.get("timestamp"),e=b?b.get("timestamp"):"unknown";d!=e&&(a.Aa("Machine state may be out-of-date\n("+d+" vs. "+e+")\nCheck your browser's local storage limits"),b||c.clear())}}
k.jh=function(a){void 0===a&&(a=this.Hc||(this.bg?1:uk));var b=!1,c=!1;this.Xj=!1;var d=this.th||new H(this,"1.16.5");if(-1==a)b=!0;else if(a>uk){if(d.load(this.bg)){this.Be=new H(this,"1.16.5","failsafe");this.Be.load()&&(yk(this,d),a=2,rk(this.Be));this.Be.set("timestamp",ja());sk(this.Be);var e=this.Hc&&!this.Pg;if(1==a||na("Click OK to restore the previous PCjs machine state, or CANCEL to reset the machine.")){if(c=d.parse()){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==
f&&"no machine state"!=g?(this.Aa("Error: "+g),"unable to verify user"==g&&(ra("user",""),this.Ic=null)):this.ic(f+": "+g),rk(d),d.load()?(c=d.parse(),e=!0):c=!1))}e&&xk(this,c?d:null)}else 2==a&&d.clear()}else xk(this);delete this.bg;delete this.th}e=Ka(this.id);for(f=0;f<e.length;f++)g=e[f],g!==this&&g!=this.ka&&(c=zk(this,g,d,b,c));b=[d,a,c];-1!=a?wk(this,this.Pj,b):this.Pj(b)};
function zk(a,b,c,d,e){if(!b.ma.Pb){b.ma.Pb=!0;if(b.ac){var f=null;e&&((f=c.get(b.id))||(f=c.get(b.id.replace(/[a-z0-9]\./i,"."))));"string"===typeof f&&(f=null);!b.ac(f,d)&&f&&(q("Unable to restore state for "+b.type),a.zl&&!a.bg?(c.clear(),a.Hc=uk,window&&window.location.reload()):a.Xj=!0,b.ac(null),e=!1)}if(!d&&b.Mj)for(a=b.Mj.split("|"),c=0;c<a.length;c++)b.status(a[c])}return e}
k.Pj=function(a){var b=a[0],c=0>a[1];a=a[2];this.ma.Pb=!0;this.Tj||(this.ic("PCjs v1.16.5\nCopyright \u00a9 2012-2015 Jeff Parsons <Jeff@pcjs.org>\nLicense: GPL version 3 or later <http://gnu.org/licenses/gpl.html>"),this.Tj=!0);this.ka&&zk(this,this.ka,b,c,a);this.Xj&&(yk(this,b),b.clear());!c&&this.Be&&(this.Be.clear(),delete this.Be)};
function yk(a,b){if(na("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.Kd(),d=b.toString(),e={app:"PCjs",ver:"1.16.5"};e.url=a.url;e.user=c;e.type="bug";e.data=d;la("http://www.pcjs.org/api/v1/report",!0,e)}}
function Ak(a,b,c){var d,e="none",f=new H(a,"1.16.5"),g=new H(a,"1.16.5","validate"),h=ja();g.set("timestamp",h);f.set("timestamp",h);f.set("version","1.16.5");f.set("url",window?window.location.href:null);f.set("browser",window?window.navigator.userAgent:"");a.ka&&a.ka.$b&&(c&&B(a.ka),d=a.ka.$b(b,c),"object"===typeof d&&f.set(a.ka.id,d),c&&(a.ka.ma.Pb=!1,!1===d&&(e=null)));for(var h=Ka(a.id),m=0;m<h.length;m++){var n=h[m];n.ma.Pb&&(n.$b&&(d=n.$b(b,c),"object"===typeof d&&f.set(n.id,d)),c&&(n.ma.Pb=
!1,!1===d&&(e=null)))}e&&(c?(h=d=!1,b?(a.Ic&&Bk(a,a.Ic,f.toString()),sk(g)&&sk(f)||(e=null,d=h=!0)):a.Hc&&(d=!0,h=3==a.Hc),d&&f.clear(h)):e=f.toString());c&&(a.ma.Pb=!1);return e}k.reset=function(){this.ra&&this.ra.reset&&(this.hc("Resetting "+this.ra.type),this.ra.reset());for(var a=Ka(this.id),b=0;b<a.length;b++){var c=a[b];c!==this&&c!==this.ra&&c.reset&&(this.hc("Resetting "+c.type),c.reset())}};
k.start=function(a,b){for(var c=Ka(this.id),d=0;d<c.length;d++){var e=c[d];"CPU"!=e.type&&e!==this&&e.start&&e.start(a,b)}};k.stop=function(a,b){for(var c=Ka(this.id),d=0;d<c.length;d++){var e=c[d];"CPU"!=e.type&&e!==this&&e.stop&&e.stop(a,b)}};
k.Gb=function(a,b,c){var d=this;switch(b){case "save":return this.sa[b]=c,c.onclick=function(){var a=vk(d,!0);if(a){var b=!(!d.Hc||d.qh),c=Ak(d,b);b?Bk(d,a,c):d.Aa("Resume disabled, machine state not saved")}},!0;case "reset":return this.sa[b]=c,c.onclick=function(){sb(d)},!0}return!1};
function vk(a,b){var c=a.Ic;c||(c=qa("user"),void 0!==c?!c&&b&&(c=null,window&&(c=window.prompt("To save machine states on the pcjs.org server, you need a user ID (email support@pcjs.org).\n\nOnce you have an ID, enter it below.","")),c&&((c=Ck(a,c))||a.Aa("Your user ID has not been approved."))):b&&a.Aa("Browser local storage is not available"));return c}
function Ck(a,b){a.Ic=null;var c=la(ma()+"/api/v1/user?req=verify&user="+b),d=c[1];if(!c[0]&&d)try{c=eval("("+d+")"),c.code&&"ok"==c.code&&(ra("user",c.data),a.Ic=c.data)}catch(e){q(e.message+" ("+d+")")}return a.Ic}
function Bk(a,b,c){if(c){var d={req:"store"};d.user=b;d.state=qk(a,"1.16.5");d.data=c;b=la(ma()+"/api/v1/user",!1,d);d=b[1];if(b[0]){if(d){var e=d.indexOf("\n");0<e&&(d=d.substr(0,e));d.indexOf("Error: ")||(d=d.substr(7))}d='{"code":'+b[0]+',"data":"'+d+'"}'}b=JSON.parse(d);b&&"ok"==b.code?a.Aa("Machine state saved to server"):c&&(c=b&&b.data||"unable to save machine state",c="error"==b.code?"Error: "+c:"Error "+b.code+": "+c,a.Aa(c),ra("user",""),a.Ic=null)}}
function sb(a){if(a.Hc&&!a.qh){var b=na("Click OK to save changes to this PCjs machine.\n\nWARNING: If you CANCEL, all disk changes will be discarded.");Ak(a,b,!0);!b&&a.zl?window&&window.location.reload():(b||(a.Wh=!0),a.jh(uk),a.Wh=!1)}else a.reset(),a.ka&&rb(a.ka)}function Sa(a,b,c){a=Ka(a.id);for(var d=0;d<a.length;d++){var e=a[d];if(c)c==e&&(c=null);else if(e.type==b)return e}return null}
za(function(){for(var a=y(window.document,"pcjs-machine"),b=0;b<a.length;b++)for(var c=a[b],d=x(c),c=y(c,"pcjs","computer"),e=0;e<c.length;e++){var f=c[e],g=x(f),g=new tk(g,d,!0);Na(g,f);wk(g,g.jh)}});ta.show.push(function(){for(var a=y(window.document,"pcjs","computer"),b=0;b<a.length;b++){var c=x(a[b]);(c=Ma("Computer",c.id))&&c.Tj&&!c.ma.Pb&&c.jh(-1)}});
ta.exit.push(function(){for(var a=y(window.document,"pcjs","computer"),b=0;b<a.length;b++){var c=x(a[b]);(c=Ma("Computer",c.id))&&c.ma.Pb&&Ak(c,!(!c.Hc||c.qh),!0)}});var Dk=0;function Ek(a,b,c,d,e,f){e("Loading "+a+"...");la(a,!0,null,null,function(g,h,m){m?(h||(h="unable to load "+a+" ("+m+")"),f(h,null)):Fk(h,a,b,c,d,e,f)})}
function Fk(a,b,c,d,e,f,g){function h(a,f){if(f)g(f,null);else{if(c){var h=b;h&&0>h.indexOf("/")&&(h=window.location.pathname+h);a=a.replace(/(<machine[^>]*\sid=)(['"]).*?\2/,"$1$2"+c+"$2"+(d?" state=$2"+d+"$2":"")+(h?" url=$2"+h+"$2":""))}h=null;if("<"==a.charAt(0))try{window.ActiveXObject||"ActiveXObject"in window?(e||(a=a.replace(/<!DOCTYPE(.|[\r\n])*]>\s*/g,"")),h=new window.ActiveXObject("Microsoft.XMLDOM"),h.async=!1,h.loadXML(a)):h=(new window.DOMParser).parseFromString(a,"text/xml")}catch(s){h=
null,a=s.message}else a="unrecognized XML: "+(255<a.length?a.substr(0,255)+"...":a);g(a,h)}}a?e?Gk(a,f,h):h(a,null):g("no data"+(b?" for file: "+b:""),null)}
function Gk(a,b,c){var d;if(d=/<([a-z]+)\s+ref="(.*?)"(.*?)\/>/g.exec(a)){var e=d[2];b("Loading "+e+"...");la(e,!0,null,null,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 m=h[0],n,r=/( [a-z]+=)(['"])(.*?)\2/g;n=r.exec(f);)m=0>m.indexOf(n[1])?m.replace(">",n[0]+">"):m.replace(new RegExp(n[1]+"(['\"])(.*?)\\1"),n[0]);h[0]!=m&&(g=g.replace(h[0],m))}else{c(a,"missing <"+d[1]+"> in "+e);return}g=g.replace(/<\?xml[^>]*>[\r\n]*/,
"");a=a.replace(d[0],g);Gk(a,b,c)}})}else c(a,null)}
function Hk(a,b,c,d){function e(a){if(void 0===h){var b=g&&y(g,"machine-warning");h=b&&b[0]||g}h&&(h.innerHTML=ha(a))}function f(a){e("Error: "+a);m&&(--Dk||Ba(!0));m=!1}var g,h,m=!0;Dk++;try{if(g=window.document.getElementById(a)){c||(c="/versions/pcjs/1.16.5/components.xsl");var n=function(a,d){if(d){var h=function(a,h){if(h)if(h)if(e("Processing "+b+"..."),window.ActiveXObject||"ActiveXObject"in window){var m=d.transformNode(h);m?(g.outerHTML=m,--Dk||Ba(!0)):f("transformNodeToObject failed")}else window.document.implementation&&
window.document.implementation.createDocument?(m=new XSLTProcessor,m.importStylesheet(h),(m=m.transformToFragment(d,window.document))?(g.parentNode.replaceChild(m,g),--Dk||Ba(!0)):f("transformToFragment failed")):f("unable to transform XML: unsupported browser");else f("failed to load XSL file: "+c);else f(a)};d?Ek(c,null,null,!1,e,h):f("failed to load XML file: "+b)}else f(a)};"<"!=b.charAt(0)?Ek(b,a,d,!0,e,n):Fk(b,null,a,d,!1,e,n)}else f("failed to find machine element: "+a)}catch(r){f(r.message)}return m}
window.embedPC=function(a,b,c,d){Ba(!1);return Hk(a,b,c,d)};window.enableEvents=Ba;window.sendEvent=Ca;})();
