@pdftron/webviewer 11.8.0-20250810 → 11.8.0-20250811
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2447,7 +2447,7 @@ mode:a.mode};b.bLa(e,r,ba,fa,n)&&(null===(y=b.ri)||void 0===y?void 0:y.x)!==e&&(
|
|
|
2447
2447
|
(this.ri=null,this.ba.ha.wc({pageNumber:e}))};w.prototype.gL=function(z){this.ri=null;this.ba.ha.wc({pageNumber:z})};w.prototype.lp=function(z){var n=this;if(this.annotation){var f=this.ba.Pb(this.annotation.PageNumber);return this.Dja(z,f,this.annotation.PageNumber).then(function(b){var e=b.x;b=b.y;n.ri&&(z.x=e,z.y=b)})}};return w}()},function(ya,va,h){var na=h(80),pa=h(186),oa=h(136),ja=h(72),ia=h(246);ya=function(){function ha(){this.Rh=[];this.rd=-1;this.wk=[];this.we=Array(8);this.RJ=null;this.Jd=
|
|
2448
2448
|
"";this.ng=null;this.Tq()}ha.prototype.Tq=function(){this.rd=this.Kg=-1;this.wk=[]};ha.prototype.ge=function(w){return this.rd===w.rd};ha.prototype.rw=function(){return this.Rh.length};ha.prototype.Qk=function(){return this.Rh.length?this.Rh[0]:new pa.a};ha.prototype.eA=function(){return this.Rh.length?this.Rh[this.Rh.length-1]:new pa.a};ha.prototype.Tk=function(){return null==this.RJ?new ha:this.RJ};ha.prototype.lo=function(w){void 0===w&&(w=!1);var z=new oa.a;z.Ix(this.we);w&&z.normalize();return z};
|
|
2449
2449
|
ha.prototype.qD=function(w){this.rd=w};ha.prototype.yM=function(){if(this.wk.length)return this.wk[0];var w=new ja.a,z=new ja.a,n=this.Qk(),f=this.eA(),b=Array(8),e=Array(8);n.Jj(0,b);w.x=(b[0]+b[2]+b[4]+b[6])/4;w.y=(b[1]+b[3]+b[5]+b[7])/4;f.Jj(f.Gq()-1,e);z.x=(e[0]+e[2]+e[4]+e[6])/4;z.y=(e[1]+e[3]+e[5]+e[7])/4;.01>Math.abs(w.x-z.x)&&.01>Math.abs(w.y-z.y)&&this.wk.push(0);w=Math.atan2(z.y-w.y,z.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.wk.push(w);return 0};ha.prototype.lja=function(w){this.RJ=w};
|
|
2450
|
-
ha.prototype.u7=function(w){0<this.Rh.length&&this.Rh[this.Rh.length-1].BUa(w);this.Rh.push(w);var z=Object(ia.b)(this.Jd),n=Array(8);w.Yk(n);if(z)for(z=0;8>z;z++)this.we[z]=n[z];else this.Jd+=" ",na.a.VJ(this.we,n,!1,0);this.Jd+=w.Jd};return ha}();va.a=ya},function(ya,va,h){function na(){return"
|
|
2450
|
+
ha.prototype.u7=function(w){0<this.Rh.length&&this.Rh[this.Rh.length-1].BUa(w);this.Rh.push(w);var z=Object(ia.b)(this.Jd),n=Array(8);w.Yk(n);if(z)for(z=0;8>z;z++)this.we[z]=n[z];else this.Jd+=" ",na.a.VJ(this.we,n,!1,0);this.Jd+=w.Jd};return ha}();va.a=ya},function(ya,va,h){function na(){return"OC8xMS8yMDI1fDczMzFjOGYwMQ=="}function pa(){return"11.8.0"}h.d(va,"b",function(){return pa});h.d(va,"a",function(){return na})},function(ya,va,h){function na(ha,w){return-1<" ".concat(ha.className," ").indexOf(" ".concat(w,
|
|
2451
2451
|
" "))}function pa(ha,w){return 1E-6>Math.abs(ha-w)}function oa(ha,w,z){w.Xva=void 0;z.Xva=void 0;(0,eval)("str")}function ja(ha,w,z){function n(){for(;ha();)if(100<Date.now()-f&&!z){f=Date.now();setTimeout(n,0);return}w()}var f=Date.now();n()}function ia(ha,w,z){ha.gS||(ha.gS={});ha.gS[w]||(ha.gS[w]=!0,ha.addEventListener(w,z))}h.d(va,"d",function(){return na});h.d(va,"c",function(){return pa});h.d(va,"e",function(){return oa});h.d(va,"b",function(){return ja});h.d(va,"a",function(){return ia});ya=
|
|
2452
2452
|
h(1);h.n(ya);h(2)},function(ya,va,h){function na(){return oa}function pa(ia){oa=ia}h.d(va,"a",function(){return ja});h.d(va,"c",function(){return pa});h.d(va,"b",function(){return na});var oa,ja="rtl"},function(ya,va,h){(function(na){function pa(ba){"function"!==typeof ba&&(ba=new Function("".concat(ba)));for(var fa=Array(arguments.length-1),x=0;x<fa.length;x++)fa[x]=arguments[x+1];e[b]={ph:ba,args:fa};y(b);return b++}function oa(ba){delete e[ba]}function ja(ba){if(r)setTimeout(ja,0,ba);else{var fa=
|
|
2453
2453
|
e[ba];if(fa){r=!0;try{var x=fa.ph,ca=fa.args;switch(ca.length){case 0:x();break;case 1:x(ca[0]);break;case 2:x(ca[0],ca[1]);break;case 3:x(ca[0],ca[1],ca[2]);break;default:x.apply(void 0,ca)}}finally{oa(ba),r=!1}}}}function ia(){y=function(ba){na.$ea(function(){ja(ba)})}}function ha(){if(f.postMessage&&!f.importScripts){var ba=!0,fa=f.onmessage;f.onmessage=function(){ba=!1};f.postMessage("","*");f.onmessage=fa;return ba}}function w(){function ba(x){x.source!==f&&x.source!==f.parent||"string"!==typeof x.data||
|