@pdftron/webviewer 11.8.0-20250826 → 11.8.0-20250827

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-20250826",
2
+ "version": "11.8.0-20250827",
3
3
  "name": "@pdftron/webviewer",
4
4
  "main": "webviewer.min.js",
5
5
  "author": "Apryse",
@@ -2443,7 +2443,7 @@ b),2)<Math.pow(this.ba.ha.xX().radiusThreshold/n,2)};w.prototype.Yja=function(y,
2443
2443
  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.Yja(b,r,n).then(function(){h.ba.ha.Ac({pageNumber:n})}):(this.ri=null,this.ba.ha.Ac({pageNumber:n}))};w.prototype.rL=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.Yja(y,f,this.annotation.PageNumber).then(function(b){var n=
2444
2444
  b.x;b=b.y;h.ri&&(y.x=n,y.y=b)})}};return w}()},function(xa,ua,e){var ma=e(80),oa=e(186),pa=e(137),ja=e(72),ia=e(247);xa=function(){function fa(){this.Sh=[];this.ud=-1;this.yk=[];this.ye=Array(8);this.cK=null;this.Kd="";this.og=null;this.Yq()}fa.prototype.Yq=function(){this.ud=this.Lg=-1;this.yk=[]};fa.prototype.he=function(w){return this.ud===w.ud};fa.prototype.tw=function(){return this.Sh.length};fa.prototype.Tk=function(){return this.Sh.length?this.Sh[0]:new oa.a};fa.prototype.kA=function(){return this.Sh.length?
2445
2445
  this.Sh[this.Sh.length-1]:new oa.a};fa.prototype.Wk=function(){return null==this.cK?new fa:this.cK};fa.prototype.so=function(w){void 0===w&&(w=!1);var y=new pa.a;y.Lx(this.ye);w&&y.normalize();return y};fa.prototype.CD=function(w){this.ud=w};fa.prototype.LM=function(){if(this.yk.length)return this.yk[0];var w=new ja.a,y=new ja.a,h=this.Tk(),f=this.kA(),b=Array(8),n=Array(8);h.Em(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.Em(f.Kq()-1,n);y.x=(n[0]+n[2]+n[4]+n[6])/4;y.y=(n[1]+n[3]+
2446
- 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.Fja=function(w){this.cK=w};fa.prototype.F7=function(w){0<this.Sh.length&&this.Sh[this.Sh.length-1].qVa(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.gK(this.ye,h,!1,0);this.Kd+=w.Kd};return fa}();ua.a=xa},function(xa,ua,e){function ma(){return"OC8yNi8yMDI1fDE2YjUxODZiMDY="}
2446
+ 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.Fja=function(w){this.cK=w};fa.prototype.F7=function(w){0<this.Sh.length&&this.Sh[this.Sh.length-1].qVa(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.gK(this.ye,h,!1,0);this.Kd+=w.Kd};return fa}();ua.a=xa},function(xa,ua,e){function ma(){return"OC8yNy8yMDI1fGM2ODUxNmY3OTQ="}
2447
2447
  function oa(){return"11.8.0"}e.d(ua,"b",function(){return oa});e.d(ua,"a",function(){return ma})},function(xa,ua,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.Cwa=void 0;y.Cwa=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.rS||(fa.rS={});fa.rS[w]||(fa.rS[w]=!0,fa.addEventListener(w,
2448
2448
  y))}e.d(ua,"d",function(){return ma});e.d(ua,"c",function(){return oa});e.d(ua,"e",function(){return pa});e.d(ua,"b",function(){return ja});e.d(ua,"a",function(){return ia});xa=e(1);e.n(xa);e(2)},function(xa,ua,e){function ma(){return pa}function oa(ia){pa=ia}e.d(ua,"a",function(){return ja});e.d(ua,"c",function(){return oa});e.d(ua,"b",function(){return ma});var pa,ja="rtl"},function(xa,ua,e){(function(ma){function oa(ca){"function"!==typeof ca&&(ca=new Function("".concat(ca)));for(var ha=Array(arguments.length-
2449
2449
  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.wfa(function(){ja(ca)})}}function fa(){if(f.postMessage&&!f.importScripts){var ca=!0,ha=f.onmessage;