@pdftron/webviewer 11.8.0-20250823 → 11.8.0-20250824

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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "11.8.0-20250823",
2
+ "version": "11.8.0-20250824",
3
3
  "name": "@pdftron/webviewer",
4
4
  "main": "webviewer.min.js",
5
5
  "author": "Apryse",
@@ -2439,7 +2439,7 @@ b),2)<Math.pow(this.ba.ha.wX().radiusThreshold/n,2)};w.prototype.Uja=function(y,
2439
2439
  n=b.pageNumber,r=this.ba.Qb(n);"pageContainer"===(null===(f=y.target.parentElement)||void 0===f?void 0:f.className)||"pageContainer"===y.target.className?this.Uja(b,r,n).then(function(){h.ba.ha.Ac({pageNumber:n})}):(this.ri=null,this.ba.ha.Ac({pageNumber:n}))};w.prototype.qL=function(y){this.ri=null;this.ba.ha.Ac({pageNumber:y})};w.prototype.np=function(y){var h=this;if(this.annotation){var f=this.ba.Qb(this.annotation.PageNumber);return this.Uja(y,f,this.annotation.PageNumber).then(function(b){var n=
2440
2440
  b.x;b=b.y;h.ri&&(y.x=n,y.y=b)})}};return w}()},function(xa,va,e){var ma=e(80),oa=e(186),pa=e(137),ja=e(72),ia=e(246);xa=function(){function fa(){this.Sh=[];this.sd=-1;this.yk=[];this.ye=Array(8);this.bK=null;this.Kd="";this.og=null;this.Xq()}fa.prototype.Xq=function(){this.sd=this.Lg=-1;this.yk=[]};fa.prototype.he=function(w){return this.sd===w.sd};fa.prototype.sw=function(){return this.Sh.length};fa.prototype.Sk=function(){return this.Sh.length?this.Sh[0]:new oa.a};fa.prototype.hA=function(){return this.Sh.length?
2441
2441
  this.Sh[this.Sh.length-1]:new oa.a};fa.prototype.Vk=function(){return null==this.bK?new fa:this.bK};fa.prototype.po=function(w){void 0===w&&(w=!1);var y=new pa.a;y.Kx(this.ye);w&&y.normalize();return y};fa.prototype.xD=function(w){this.sd=w};fa.prototype.JM=function(){if(this.yk.length)return this.yk[0];var w=new ja.a,y=new ja.a,h=this.Sk(),f=this.hA(),b=Array(8),n=Array(8);h.Dm(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.Dm(f.Jq()-1,n);y.x=(n[0]+n[2]+n[4]+n[6])/4;y.y=(n[1]+n[3]+
2442
- n[5]+n[7])/4;.01>Math.abs(w.x-y.x)&&.01>Math.abs(w.y-y.y)&&this.yk.push(0);w=Math.atan2(y.y-w.y,y.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.yk.push(w);return 0};fa.prototype.Cja=function(w){this.bK=w};fa.prototype.C7=function(w){0<this.Sh.length&&this.Sh[this.Sh.length-1].hVa(w);this.Sh.push(w);var y=Object(ia.b)(this.Kd),h=Array(8);w.Pj(h);if(y)for(y=0;8>y;y++)this.ye[y]=h[y];else this.Kd+=" ",ma.a.fK(this.ye,h,!1,0);this.Kd+=w.Kd};return fa}();va.a=xa},function(xa,va,e){function ma(){return"OC8yMy8yMDI1fGY4NmUzYmZlOGQ="}
2442
+ n[5]+n[7])/4;.01>Math.abs(w.x-y.x)&&.01>Math.abs(w.y-y.y)&&this.yk.push(0);w=Math.atan2(y.y-w.y,y.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.yk.push(w);return 0};fa.prototype.Cja=function(w){this.bK=w};fa.prototype.C7=function(w){0<this.Sh.length&&this.Sh[this.Sh.length-1].hVa(w);this.Sh.push(w);var y=Object(ia.b)(this.Kd),h=Array(8);w.Pj(h);if(y)for(y=0;8>y;y++)this.ye[y]=h[y];else this.Kd+=" ",ma.a.fK(this.ye,h,!1,0);this.Kd+=w.Kd};return fa}();va.a=xa},function(xa,va,e){function ma(){return"OC8yNC8yMDI1fGY4NmUzYmZlOGQ="}
2443
2443
  function oa(){return"11.8.0"}e.d(va,"b",function(){return oa});e.d(va,"a",function(){return ma})},function(xa,va,e){function ma(fa,w){return-1<" ".concat(fa.className," ").indexOf(" ".concat(w," "))}function oa(fa,w){return 1E-6>Math.abs(fa-w)}function pa(fa,w,y){w.wwa=void 0;y.wwa=void 0;(0,eval)("str")}function ja(fa,w,y){function h(){for(;fa();)if(100<Date.now()-f&&!y){f=Date.now();setTimeout(h,0);return}w()}var f=Date.now();h()}function ia(fa,w,y){fa.qS||(fa.qS={});fa.qS[w]||(fa.qS[w]=!0,fa.addEventListener(w,
2444
2444
  y))}e.d(va,"d",function(){return ma});e.d(va,"c",function(){return oa});e.d(va,"e",function(){return pa});e.d(va,"b",function(){return ja});e.d(va,"a",function(){return ia});xa=e(1);e.n(xa);e(2)},function(xa,va,e){function ma(){return pa}function oa(ia){pa=ia}e.d(va,"a",function(){return ja});e.d(va,"c",function(){return oa});e.d(va,"b",function(){return ma});var pa,ja="rtl"},function(xa,va,e){(function(ma){function oa(ca){"function"!==typeof ca&&(ca=new Function("".concat(ca)));for(var ha=Array(arguments.length-
2445
2445
  1),z=0;z<ha.length;z++)ha[z]=arguments[z+1];n[b]={rh:ca,args:ha};x(b);return b++}function pa(ca){delete n[ca]}function ja(ca){if(r)setTimeout(ja,0,ca);else{var ha=n[ca];if(ha){r=!0;try{var z=ha.rh,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{pa(ca),r=!1}}}}function ia(){x=function(ca){ma.tfa(function(){ja(ca)})}}function fa(){if(f.postMessage&&!f.importScripts){var ca=!0,ha=f.onmessage;