diff --git a/versions/pcjs/1.19.3/pc-dbg.js b/versions/pcjs/1.19.3/pc-dbg.js index 4aa5352e51..cdc62f5774 100644 --- a/versions/pcjs/1.19.3/pc-dbg.js +++ b/versions/pcjs/1.19.3/pc-dbg.js @@ -937,10 +937,10 @@ function Cl(a){if(0<=a.sa){if(void 0!==a.fa){var b=a.fa[a.sa];if(b&131072){var b function El(a){var b,c=a.O;a.oe=!1;var d=c.Qd[5];if(null!=d){b=1024;var e=0,h=c.Qd[3]&31;switch(d&3){case 0:if(h){e=32;switch(h&24){case 8:e=96;break;case 16:e=160;break;case 24:e=224}c.Rc=h&7}break;case 1:e=1;break;case 2:switch(h&24){default:e=2;break;case 8:e=98;break;case 16:e=162;break;case 24:e=226}break;case 3:a.kb==Rj&&(e=3,c.Rc=h&7)}d&8&&(b=1280);c=c.te[4];null!=c&&(c&4||(b|=4096,e|=16),d&64&&(c&8&&(b|=16384,e|=4),a.oe=!0));b|=e}return b} function Fl(a,b){var c=a.O;c&&null!=b&&b!=c.bg&&(c.Xg(b),a.ga.Xg(c.mb,c.Vb,c.qh()))} function vl(a,b){var c,d=a.Qa,e=a.O;if(e)if(e.kb==rk)d=tk;else if(5<=e.kb){var d=null,h=e.td>>2,g=32768=e.rb[18]?19:20:21:g&128?d=c?13:14:500>1);a.Va.length&&(a.Na=a.Da/a.R|0,a.Pa=a.Ma/a.Z|0,a.ma?(b=a.Va[a.ma],d=a.Va[a.ma<<1],a.zj&&80==a.R?d&&a.Na>=3*d.Fc>>2&&(a.ma<<=1,b=d):(d&&a.Na>=d.Fc&&(a.ma<<=1,b=d),b&&(a.Na=b.Fc,a.Pa=b.Gc)),a.hc=a.qc=0,b&&(a.hc=a.R*b.Fc,a.qc=a.Z*b.Gc)):(a.Na=a.Pa=1,a.hc=a.R,a.qc=a.Z),a.Fb=a.pa.createImageData(a.hc,a.qc),a.qb=window.document.createElement("canvas"),a.qb.width=a.hc,a.qb.height=a.qc,a.sb=a.qb.getContext("2d"),a.zd=a.Ad=0,a.sd=a.Da,a.vd=a.Ma,b=a.Da- -a.R*a.Na,d=a.Ma-a.Z*a.Pa,0>1,a.sd-=b),0>1,a.vd-=d),b||d)&&(a.pa.fillStyle=a.ua.style.backgroundColor,a.pa.fillRect(0,0,a.Da,a.Ma));!1!==c?Xc(a,!0):(a.lb=!1,Gl(a,!0))}return!0}function Al(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Gl(a,b){a.bb=-1;a.Ga=!1;if(b){var c=a.bf;if(void 0===a.fa||a.fa.length!=c)a.fa=Array(c)}} +143>=e.rb[18]?19:20:21:g&128||350>h?d=c?13:14:480<=h&&(d=3==a.Ja?17:18):d=c?7-d:6:d-=c?2:0);c=El(a)}}else e.Tc&8&&(e.Tc&2?(d=e.Tc&16?6:5,e.Tc&4||--d):(d=e.Tc&1?3:1,e.Tc&4&&--d));else a.Qa=null,null==d&&(d=a.Ha);if(!ul(a,d,b))return!1;Fl(a,c);return!0} +function ul(a,b,c){if(null!=b&&(b!=a.Qa||c)){a.Yg=0;a.Qa=b;a.lb=!1;b=a.O||(b==tk?a.Ba:a.ea);if(b!=a.O||b.mb!=a.mb||b.Vb!=a.Vb){Cl(a);if(a.mb){if(!Yb(a.ga,a.mb,a.Vb))return!1;a.O&&(a.O.uc=!1)}a.O=b;b.uc=!0;a.mb=b.mb;a.Vb=b.Vb;if(!Pb(a.ga,b.mb,b.Vb,3,b===a.B?b:null))return!1}a.ma=0;a.R=a.ad;a.Z=a.xd;a.Qb=a.R;a.$c=sk[tk][2];b=0;if(c=sk[a.Qa])a.R=c[0],a.Z=c[1],a.$c=c[2],b=c[3],a.ma=c[4],4!=a.Ja&&7!=a.Ja||a.O!==a.B||3!=a.ma||(7==a.B.rb[9]?a.Z=43:a.ma=a.kb);a.Ff=a.R*a.Z|0;a.bf=a.Ff/a.$c|0;a.gc=a.bf;a.rd= +0;void 0!==b&&(a.gc=(a.gc<<1)+b|0,a.rd=a.gc+b>>1);a.Va.length&&(a.Na=a.Da/a.R|0,a.Pa=a.Ma/a.Z|0,a.ma?(b=a.Va[a.ma],c=a.Va[a.ma<<1],a.zj&&80==a.R?c&&a.Na>=3*c.Fc>>2&&(a.ma<<=1,b=c):(c&&a.Na>=c.Fc&&(a.ma<<=1,b=c),b&&(a.Na=b.Fc,a.Pa=b.Gc)),a.hc=a.qc=0,b&&(a.hc=a.R*b.Fc,a.qc=a.Z*b.Gc)):(a.Na=a.Pa=1,a.hc=a.R,a.qc=a.Z),a.Fb=a.pa.createImageData(a.hc,a.qc),a.qb=window.document.createElement("canvas"),a.qb.width=a.hc,a.qb.height=a.qc,a.sb=a.qb.getContext("2d"),a.zd=a.Ad=0,a.sd=a.Da,a.vd=a.Ma,b=a.Da-a.R*a.Na, +c=a.Ma-a.Z*a.Pa,0>1,a.sd-=b),0>1,a.vd-=c),b||c)&&(a.pa.fillStyle=a.ua.style.backgroundColor,a.pa.fillRect(0,0,a.Da,a.Ma));a.lb=!1;Gl(a,!0);Xc(a)}return!0}function Al(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Gl(a,b){a.bb=-1;a.Ga=!1;if(b){var c=a.bf;if(void 0===a.fa||a.fa.length!=c)a.fa=Array(c)}} function Dl(a,b,c,d,e){var h=d&255,g=d>>8;d=g&15;var m=a.Va[a.ma];m.lf&&(d=m.lf[d]);var q=g>>4&15;m.lf&&(q=m.lf[q]);e?(b*=m.Fc,c*=m.Gc,e.fillStyle=m.ye[q],e.fillRect(b,c,m.Fc,m.Gc)):(b=b*a.Na+a.zd,c=c*a.Pa+a.Ad,a.pa.fillStyle=m.ye[q],a.pa.fillRect(b,c,a.Na,a.Pa));g&256&&(q=(h&15)*m.Fc,h=(h>>4)*m.Gc,e?e.drawImage(m.bh[d],q,h,m.Fc,m.Gc,b,c,m.Fc,m.Gc):a.pa.drawImage(m.bh[d],q,h,m.Fc,m.Gc,b,c,a.Na,a.Pa));g&512&&(h=a.Mf,g=a.ne,e?(a.gb&&a.gb!==m.Gc&&(h=h*m.Gc/a.gb|0,g=g*m.Gc/a.gb|0),e.fillStyle=m.ye[d], e.fillRect(b,c+h,m.Fc,g)):(a.gb&&a.gb!==a.Pa&&(h=h*a.Pa/a.gb|0,g=g*a.Pa/a.gb|0),a.pa.fillStyle=m.ye[d],a.pa.fillRect(b,c+h,a.Na,g)))} function Xc(a,b){if(a.oa.kc){var c=!1,d=a.O;d&&(d!==a.B?d.Tc&8&&(c=!0):d.Od&32&&(c=!0));if(c||b){if(b)Gl(a,!0);else if(void 0===a.fa)return;var e=!1;!(b||++a.Yg&15)&&0<=a.pb&&(a.pb++,e=!0);var h=0,g=a.Ff,m=a.mb,c=m,q=c+a.Vb;19<=a.Qa&&(m=c=655360,q=c+65536);if(Hl(a,d)&8||d.$e&&d.$eq&&(t=q-c,0>t&&(t=0));q= diff --git a/versions/pcjs/1.19.3/pc.js b/versions/pcjs/1.19.3/pc.js index 9a45ae85cf..8301b8d935 100644 --- a/versions/pcjs/1.19.3/pc.js +++ b/versions/pcjs/1.19.3/pc.js @@ -908,10 +908,10 @@ function Fj(a){if(0<=a.ea){if(void 0!==a.U){var b=a.U[a.ea];if(b&131072){var b=b function Hj(a){var b,c=a.I;a.Kc=!1;var d=c.wd[5];if(null!=d){b=1024;var e=0,k=c.wd[3]&31;switch(d&3){case 0:if(k){e=32;switch(k&24){case 8:e=96;break;case 16:e=160;break;case 24:e=224}c.vc=k&7}break;case 1:e=1;break;case 2:switch(k&24){default:e=2;break;case 8:e=98;break;case 16:e=162;break;case 24:e=226}break;case 3:a.ib==pi&&(e=3,c.vc=k&7)}d&8&&(b=1280);c=c.oe[4];null!=c&&(c&4||(b|=4096,e|=16),d&64&&(c&8&&(b|=16384,e|=4),a.Kc=!0));b|=e}return b} function Ij(a,b){var c=a.I;c&&null!=b&&b!=c.Pg&&(c.ug(b),a.la.ug(c.eb,c.Eb,c.Mg()))} function yj(a,b){var c,d=a.Fa,e=a.I;if(e)if(e.ib==Pi)d=Ri;else if(5<=e.ib){var d=null,k=e.Nc>>2,n=32768=e.fb[18]?19:20:21:n&128?d=c?13:14:500>1);a.ya.length&&(a.ta=a.ka/a.F|0,a.va=a.sa/a.O|0,a.L?(b=a.ya[a.L],d=a.ya[a.L<<1],a.Bd&&80==a.F?d&&a.ta>=3*d.mc>>2&&(a.L<<=1,b=d):(d&&a.ta>=d.mc&&(a.L<<=1,b=d),b&&(a.ta=b.mc,a.va=b.nc)),a.Xa=a.Ya=0,b&&(a.Xa=a.F*b.mc,a.Ya=a.O*b.nc)):(a.ta=a.va=1,a.Xa=a.F,a.Ya=a.O),a.Ta=a.Z.createImageData(a.Xa,a.Ya),a.Ia=window.document.createElement("canvas"),a.Ia.width=a.Xa,a.Ia.height=a.Ya,a.Ja=a.Ia.getContext("2d"),a.hc=a.pc=0,a.Rb=a.ka,a.Yb=a.sa,b=a.ka-a.F*a.ta,d= -a.sa-a.O*a.va,0>1,a.Rb-=b),0>1,a.Yb-=d),b||d)&&(a.Z.fillStyle=a.ga.style.backgroundColor,a.Z.fillRect(0,0,a.ka,a.sa));!1!==c?nc(a,!0):(a.Ea=!1,Jj(a,!0))}return!0}function Dj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Jj(a,b){a.Ba=-1;a.xa=!1;if(b){var c=a.Tc;if(void 0===a.U||a.U.length!=c)a.U=Array(c)}} +143>=e.fb[18]?19:20:21:n&128||350>k?d=c?13:14:480<=k&&(d=3==a.pa?17:18):d=c?7-d:6:d-=c?2:0);c=Hj(a)}}else e.zc&8&&(e.zc&2?(d=e.zc&16?6:5,e.zc&4||--d):(d=e.zc&1?3:1,e.zc&4&&--d));else a.Fa=null,null==d&&(d=a.na);if(!xj(a,d,b))return!1;Ij(a,c);return!0} +function xj(a,b,c){if(null!=b&&(b!=a.Fa||c)){a.xd=0;a.Fa=b;a.Ea=!1;b=a.I||(b==Ri?a.ia:a.R);if(b!=a.I||b.eb!=a.eb||b.Eb!=a.Eb){Fj(a);if(a.eb){if(!Bb(a.la,a.eb,a.Eb))return!1;a.I&&(a.I.Sb=!1)}a.I=b;b.Sb=!0;a.eb=b.eb;a.Eb=b.Eb;if(!vb(a.la,b.eb,b.Eb,3,b===a.B?b:null))return!1}a.L=0;a.F=a.Cb;a.O=a.fc;a.Pa=a.F;a.Bb=Qi[Ri][2];b=0;if(c=Qi[a.Fa])a.F=c[0],a.O=c[1],a.Bb=c[2],b=c[3],a.L=c[4],4!=a.pa&&7!=a.pa||a.I!==a.B||3!=a.L||(7==a.B.fb[9]?a.O=43:a.L=a.ib);a.Uc=a.F*a.O|0;a.Tc=a.Uc/a.Bb|0;a.Va=a.Tc;a.Pb=0;void 0!== +b&&(a.Va=(a.Va<<1)+b|0,a.Pb=a.Va+b>>1);a.ya.length&&(a.ta=a.ka/a.F|0,a.va=a.sa/a.O|0,a.L?(b=a.ya[a.L],c=a.ya[a.L<<1],a.Bd&&80==a.F?c&&a.ta>=3*c.mc>>2&&(a.L<<=1,b=c):(c&&a.ta>=c.mc&&(a.L<<=1,b=c),b&&(a.ta=b.mc,a.va=b.nc)),a.Xa=a.Ya=0,b&&(a.Xa=a.F*b.mc,a.Ya=a.O*b.nc)):(a.ta=a.va=1,a.Xa=a.F,a.Ya=a.O),a.Ta=a.Z.createImageData(a.Xa,a.Ya),a.Ia=window.document.createElement("canvas"),a.Ia.width=a.Xa,a.Ia.height=a.Ya,a.Ja=a.Ia.getContext("2d"),a.hc=a.pc=0,a.Rb=a.ka,a.Yb=a.sa,b=a.ka-a.F*a.ta,c=a.sa-a.O*a.va, +0>1,a.Rb-=b),0>1,a.Yb-=c),b||c)&&(a.Z.fillStyle=a.ga.style.backgroundColor,a.Z.fillRect(0,0,a.ka,a.sa));a.Ea=!1;Jj(a,!0);nc(a)}return!0}function Dj(a,b,c,d){b=(b+c*a.width)*d.length;a.data[b]=d[0];a.data[b+1]=d[1];a.data[b+2]=d[2];a.data[b+3]=d[3]}function Jj(a,b){a.Ba=-1;a.xa=!1;if(b){var c=a.Tc;if(void 0===a.U||a.U.length!=c)a.U=Array(c)}} function Gj(a,b,c,d,e){var k=d&255,n=d>>8;d=n&15;var p=a.ya[a.L];p.Be&&(d=p.Be[d]);var q=n>>4&15;p.Be&&(q=p.Be[q]);e?(b*=p.mc,c*=p.nc,e.fillStyle=p.Pd[q],e.fillRect(b,c,p.mc,p.nc)):(b=b*a.ta+a.hc,c=c*a.va+a.pc,a.Z.fillStyle=p.Pd[q],a.Z.fillRect(b,c,a.ta,a.va));n&256&&(q=(k&15)*p.mc,k=(k>>4)*p.nc,e?e.drawImage(p.Bg[d],q,k,p.mc,p.nc,b,c,p.mc,p.nc):a.Z.drawImage(p.Bg[d],q,k,p.mc,p.nc,b,c,a.ta,a.va));n&512&&(k=a.jd,n=a.Jc,e?(a.Da&&a.Da!==p.nc&&(k=k*p.nc/a.Da|0,n=n*p.nc/a.Da|0),e.fillStyle=p.Pd[d],e.fillRect(b, c+k,p.mc,n)):(a.Da&&a.Da!==a.va&&(k=k*a.va/a.Da|0,n=n*a.va/a.Da|0),a.Z.fillStyle=p.Pd[d],a.Z.fillRect(b,c+k,a.ta,n)))} function nc(a,b){if(a.ha.Zb){var c=!1,d=a.I;d&&(d!==a.B?d.zc&8&&(c=!0):d.Jd&32&&(c=!0));if(c||b){if(b)Jj(a,!0);else if(void 0===a.U)return;var e=!1;!(b||++a.xd&15)&&0<=a.Ha&&(a.Ha++,e=!0);var k=0,n=a.Uc,p=a.eb,c=p,q=c+a.Eb;19<=a.Fa&&(p=c=655360,q=c+65536);if(Kj(a,d)&8||d.ke&&d.keq&&(w=q-c,0>w&&(w=0));q=c+