@pdftron/webviewer 11.9.0-20250921 → 11.9.0-20250922
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
|
@@ -2475,7 +2475,7 @@ e),2)+Math.pow(Math.abs(f-h),2)<Math.pow(this.ba.ha.vY().radiusThreshold/w,2)};x
|
|
|
2475
2475
|
this,e,h=this.ba.UA(y),w=h.pageNumber,n=this.ba.Qb(w);"pageContainer"===(null===(e=y.target.parentElement)||void 0===e?void 0:e.className)||"pageContainer"===y.target.className?this.ila(h,n,w).then(function(){f.ba.ha.Gc({pageNumber:w})}):(this.yi=null,this.ba.ha.Gc({pageNumber:w}))};x.prototype.ZL=function(y){this.yi=null;this.ba.ha.Gc({pageNumber:y})};x.prototype.Dp=function(y){var f=this;if(this.annotation){var e=this.ba.Qb(this.annotation.PageNumber);return this.ila(y,e,this.annotation.PageNumber).then(function(h){var w=
|
|
2476
2476
|
h.x;h=h.y;f.yi&&(y.x=w,y.y=h)})}};return x}()},function(wa,ua,b){var ma=b(79),oa=b(188),na=b(141),ja=b(74),ia=b(249);wa=function(){function fa(){this.Rg=[];this.kd=-1;this.Gk=[];this.je=Array(8);this.JK=null;this.Vc="";this.sg=null;this.rr()}fa.prototype.rr=function(){this.kd=this.Qg=-1;this.Gk=[]};fa.prototype.le=function(x){return this.kd===x.kd};fa.prototype.Sw=function(){return this.Rg.length};fa.prototype.al=function(){return this.Rg.length?this.Rg[0]:new oa.a};fa.prototype.IA=function(){return this.Rg.length?
|
|
2477
2477
|
this.Rg[this.Rg.length-1]:new oa.a};fa.prototype.fl=function(){return null==this.JK?new fa:this.JK};fa.prototype.Ko=function(x){void 0===x&&(x=!1);var y=new na.a;y.ky(this.je);x&&y.normalize();return y};fa.prototype.uz=function(x){this.kd=x};fa.prototype.wN=function(){if(this.Gk.length)return this.Gk[0];var x=new ja.a,y=new ja.a,f=this.al(),e=this.IA(),h=Array(8),w=Array(8);f.Um(0,h);x.x=(h[0]+h[2]+h[4]+h[6])/4;x.y=(h[1]+h[3]+h[5]+h[7])/4;e.Um(e.dr()-1,w);y.x=(w[0]+w[2]+w[4]+w[6])/4;y.y=(w[1]+w[3]+
|
|
2478
|
-
w[5]+w[7])/4;.01>Math.abs(x.x-y.x)&&.01>Math.abs(x.y-y.y)&&this.Gk.push(0);x=Math.atan2(y.y-x.y,y.x-x.x);x*=180/3.1415926;0>x&&(x+=360);this.Gk.push(x);return 0};fa.prototype.Qka=function(x){this.JK=x};fa.prototype.L8=function(x){0<this.Rg.length&&this.Rg[this.Rg.length-1].JXa(x);this.Rg.push(x);var y=Object(ia.b)(this.Vc),f=Array(8);x.Yj(f);if(y)for(y=0;8>y;y++)this.je[y]=f[y];else this.Vc+=" ",ma.a.MK(this.je,f,!1,0);this.Vc+=x.Vc};return fa}();ua.a=wa},function(wa,ua,b){function ma(){return"
|
|
2478
|
+
w[5]+w[7])/4;.01>Math.abs(x.x-y.x)&&.01>Math.abs(x.y-y.y)&&this.Gk.push(0);x=Math.atan2(y.y-x.y,y.x-x.x);x*=180/3.1415926;0>x&&(x+=360);this.Gk.push(x);return 0};fa.prototype.Qka=function(x){this.JK=x};fa.prototype.L8=function(x){0<this.Rg.length&&this.Rg[this.Rg.length-1].JXa(x);this.Rg.push(x);var y=Object(ia.b)(this.Vc),f=Array(8);x.Yj(f);if(y)for(y=0;8>y;y++)this.je[y]=f[y];else this.Vc+=" ",ma.a.MK(this.je,f,!1,0);this.Vc+=x.Vc};return fa}();ua.a=wa},function(wa,ua,b){function ma(){return"OS8yMi8yMDI1fDI1ZDgyN2RiZjA="}
|
|
2479
2479
|
function oa(){return"11.9.0"}b.d(ua,"b",function(){return oa});b.d(ua,"a",function(){return ma})},function(wa,ua,b){function ma(fa,x){return-1<" ".concat(fa.className," ").indexOf(" ".concat(x," "))}function oa(fa,x){return 1E-6>Math.abs(fa-x)}function na(fa,x,y){x.oya=void 0;y.oya=void 0;(0,eval)("str")}function ja(fa,x,y){function f(){for(;fa();)if(100<Date.now()-e&&!y){e=Date.now();setTimeout(f,0);return}x()}var e=Date.now();f()}function ia(fa,x,y){fa.lT||(fa.lT={});fa.lT[x]||(fa.lT[x]=!0,fa.addEventListener(x,
|
|
2480
2480
|
y))}b.d(ua,"d",function(){return ma});b.d(ua,"c",function(){return oa});b.d(ua,"e",function(){return na});b.d(ua,"b",function(){return ja});b.d(ua,"a",function(){return ia});wa=b(1);b.n(wa);b(2)},function(wa,ua,b){function ma(){return na}function oa(ia){na=ia}b.d(ua,"a",function(){return ja});b.d(ua,"c",function(){return oa});b.d(ua,"b",function(){return ma});var na,ja="rtl"},function(wa,ua,b){(function(ma){function oa(ca){"function"!==typeof ca&&(ca=new Function("".concat(ca)));for(var ha=Array(arguments.length-
|
|
2481
2481
|
1),z=0;z<ha.length;z++)ha[z]=arguments[z+1];w[h]={zh:ca,args:ha};r(h);return h++}function na(ca){delete w[ca]}function ja(ca){if(n)setTimeout(ja,0,ca);else{var ha=w[ca];if(ha){n=!0;try{var z=ha.zh,ea=ha.args;switch(ea.length){case 0:z();break;case 1:z(ea[0]);break;case 2:z(ea[0],ea[1]);break;case 3:z(ea[0],ea[1],ea[2]);break;default:z.apply(void 0,ea)}}finally{na(ca),n=!1}}}}function ia(){r=function(ca){ma.Gga(function(){ja(ca)})}}function fa(){if(e.postMessage&&!e.importScripts){var ca=!0,ha=e.onmessage;
|