@pdftron/webviewer 11.8.0-20250817 → 11.8.0-20250818

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-20250817",
2
+ "version": "11.8.0-20250818",
3
3
  "name": "@pdftron/webviewer",
4
4
  "main": "webviewer.min.js",
5
5
  "author": "Apryse",
@@ -2437,7 +2437,7 @@ a),2)<Math.pow(this.ba.ha.rX().radiusThreshold/n,2)};w.prototype.Oja=function(z,
2437
2437
  n=a.pageNumber,r=this.ba.Pb(n);"pageContainer"===(null===(e=z.target.parentElement)||void 0===e?void 0:e.className)||"pageContainer"===z.target.className?this.Oja(a,r,n).then(function(){h.ba.ha.yc({pageNumber:n})}):(this.ri=null,this.ba.ha.yc({pageNumber:n}))};w.prototype.nL=function(z){this.ri=null;this.ba.ha.yc({pageNumber:z})};w.prototype.mp=function(z){var h=this;if(this.annotation){var e=this.ba.Pb(this.annotation.PageNumber);return this.Oja(z,e,this.annotation.PageNumber).then(function(a){var n=
2438
2438
  a.x;a=a.y;h.ri&&(z.x=n,z.y=a)})}};return w}()},function(xa,va,f){var na=f(80),oa=f(186),pa=f(137),ja=f(72),ia=f(246);xa=function(){function fa(){this.Sh=[];this.sd=-1;this.xk=[];this.ye=Array(8);this.ZJ=null;this.Kd="";this.og=null;this.Wq()}fa.prototype.Wq=function(){this.sd=this.Lg=-1;this.xk=[]};fa.prototype.he=function(w){return this.sd===w.sd};fa.prototype.rw=function(){return this.Sh.length};fa.prototype.Rk=function(){return this.Sh.length?this.Sh[0]:new oa.a};fa.prototype.fA=function(){return this.Sh.length?
2439
2439
  this.Sh[this.Sh.length-1]:new oa.a};fa.prototype.Uk=function(){return null==this.ZJ?new fa:this.ZJ};fa.prototype.no=function(w){void 0===w&&(w=!1);var z=new pa.a;z.Ix(this.ye);w&&z.normalize();return z};fa.prototype.vD=function(w){this.sd=w};fa.prototype.GM=function(){if(this.xk.length)return this.xk[0];var w=new ja.a,z=new ja.a,h=this.Rk(),e=this.fA(),a=Array(8),n=Array(8);h.Bm(0,a);w.x=(a[0]+a[2]+a[4]+a[6])/4;w.y=(a[1]+a[3]+a[5]+a[7])/4;e.Bm(e.Iq()-1,n);z.x=(n[0]+n[2]+n[4]+n[6])/4;z.y=(n[1]+n[3]+
2440
- n[5]+n[7])/4;.01>Math.abs(w.x-z.x)&&.01>Math.abs(w.y-z.y)&&this.xk.push(0);w=Math.atan2(z.y-w.y,z.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.xk.push(w);return 0};fa.prototype.wja=function(w){this.ZJ=w};fa.prototype.w7=function(w){0<this.Sh.length&&this.Sh[this.Sh.length-1].UUa(w);this.Sh.push(w);var z=Object(ia.b)(this.Kd),h=Array(8);w.Oj(h);if(z)for(z=0;8>z;z++)this.ye[z]=h[z];else this.Kd+=" ",na.a.cK(this.ye,h,!1,0);this.Kd+=w.Kd};return fa}();va.a=xa},function(xa,va,f){function na(){return"OC8xNy8yMDI1fDIyOWI5NGRmMQ=="}
2440
+ n[5]+n[7])/4;.01>Math.abs(w.x-z.x)&&.01>Math.abs(w.y-z.y)&&this.xk.push(0);w=Math.atan2(z.y-w.y,z.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.xk.push(w);return 0};fa.prototype.wja=function(w){this.ZJ=w};fa.prototype.w7=function(w){0<this.Sh.length&&this.Sh[this.Sh.length-1].UUa(w);this.Sh.push(w);var z=Object(ia.b)(this.Kd),h=Array(8);w.Oj(h);if(z)for(z=0;8>z;z++)this.ye[z]=h[z];else this.Kd+=" ",na.a.cK(this.ye,h,!1,0);this.Kd+=w.Kd};return fa}();va.a=xa},function(xa,va,f){function na(){return"OC8xOC8yMDI1fDIyOWI5NGRmMQ=="}
2441
2441
  function oa(){return"11.8.0"}f.d(va,"b",function(){return oa});f.d(va,"a",function(){return na})},function(xa,va,f){function na(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,z){w.mwa=void 0;z.mwa=void 0;(0,eval)("str")}function ja(fa,w,z){function h(){for(;fa();)if(100<Date.now()-e&&!z){e=Date.now();setTimeout(h,0);return}w()}var e=Date.now();h()}function ia(fa,w,z){fa.mS||(fa.mS={});fa.mS[w]||(fa.mS[w]=!0,fa.addEventListener(w,
2442
2442
  z))}f.d(va,"d",function(){return na});f.d(va,"c",function(){return oa});f.d(va,"e",function(){return pa});f.d(va,"b",function(){return ja});f.d(va,"a",function(){return ia});xa=f(1);f.n(xa);f(2)},function(xa,va,f){function na(){return pa}function oa(ia){pa=ia}f.d(va,"a",function(){return ja});f.d(va,"c",function(){return oa});f.d(va,"b",function(){return na});var pa,ja="rtl"},function(xa,va,f){(function(na){function oa(ca){"function"!==typeof ca&&(ca=new Function("".concat(ca)));for(var ha=Array(arguments.length-
2443
2443
  1),x=0;x<ha.length;x++)ha[x]=arguments[x+1];n[a]={qh:ca,args:ha};y(a);return a++}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 x=ha.qh,ea=ha.args;switch(ea.length){case 0:x();break;case 1:x(ea[0]);break;case 2:x(ea[0],ea[1]);break;case 3:x(ea[0],ea[1],ea[2]);break;default:x.apply(void 0,ea)}}finally{pa(ca),r=!1}}}}function ia(){y=function(ca){na.nfa(function(){ja(ca)})}}function fa(){if(e.postMessage&&!e.importScripts){var ca=!0,ha=e.onmessage;