@pdftron/webviewer 11.8.0-20250830 → 11.8.0-20250901
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
|
@@ -2451,7 +2451,7 @@ h,e){var b=this,r=y.x,n=y.y;return this.ba.mI(e,r,n,[this.le]).then(function(a){
|
|
|
2451
2451
|
void 0===e?void 0:e.className)||"pageContainer"===y.target.className?this.jka(b,n,r).then(function(){h.ba.ha.Cc({pageNumber:r})}):(this.ui=null,this.ba.ha.Cc({pageNumber:r}))};w.prototype.yL=function(y){this.ui=null;this.ba.ha.Cc({pageNumber:y})};w.prototype.wp=function(y){var h=this;if(this.annotation){var e=this.ba.Qb(this.annotation.PageNumber);return this.jka(y,e,this.annotation.PageNumber).then(function(b){var r=b.x;b=b.y;h.ui&&(y.x=r,y.y=b)})}};return w}()},function(ya,ua,f){var ma=f(81),na=
|
|
2452
2452
|
f(186),oa=f(139),ja=f(72),ia=f(247);ya=function(){function ea(){this.Vh=[];this.wd=-1;this.Bk=[];this.ye=Array(8);this.jK=null;this.Kd="";this.qg=null;this.hr()}ea.prototype.hr=function(){this.wd=this.Ng=-1;this.Bk=[]};ea.prototype.he=function(w){return this.wd===w.wd};ea.prototype.Fw=function(){return this.Vh.length};ea.prototype.Vk=function(){return this.Vh.length?this.Vh[0]:new na.a};ea.prototype.sA=function(){return this.Vh.length?this.Vh[this.Vh.length-1]:new na.a};ea.prototype.Yk=function(){return null==
|
|
2453
2453
|
this.jK?new ea:this.jK};ea.prototype.Co=function(w){void 0===w&&(w=!1);var y=new oa.a;y.Ux(this.ye);w&&y.normalize();return y};ea.prototype.KD=function(w){this.wd=w};ea.prototype.VM=function(){if(this.Bk.length)return this.Bk[0];var w=new ja.a,y=new ja.a,h=this.Vk(),e=this.sA(),b=Array(8),r=Array(8);h.Jm(0,b);w.x=(b[0]+b[2]+b[4]+b[6])/4;w.y=(b[1]+b[3]+b[5]+b[7])/4;e.Jm(e.Tq()-1,r);y.x=(r[0]+r[2]+r[4]+r[6])/4;y.y=(r[1]+r[3]+r[5]+r[7])/4;.01>Math.abs(w.x-y.x)&&.01>Math.abs(w.y-y.y)&&this.Bk.push(0);
|
|
2454
|
-
w=Math.atan2(y.y-w.y,y.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.Bk.push(w);return 0};ea.prototype.Rja=function(w){this.jK=w};ea.prototype.T7=function(w){0<this.Vh.length&&this.Vh[this.Vh.length-1].QVa(w);this.Vh.push(w);var y=Object(ia.b)(this.Kd),h=Array(8);w.Tj(h);if(y)for(y=0;8>y;y++)this.ye[y]=h[y];else this.Kd+=" ",ma.a.nK(this.ye,h,!1,0);this.Kd+=w.Kd};return ea}();ua.a=ya},function(ya,ua,f){function ma(){return"
|
|
2454
|
+
w=Math.atan2(y.y-w.y,y.x-w.x);w*=180/3.1415926;0>w&&(w+=360);this.Bk.push(w);return 0};ea.prototype.Rja=function(w){this.jK=w};ea.prototype.T7=function(w){0<this.Vh.length&&this.Vh[this.Vh.length-1].QVa(w);this.Vh.push(w);var y=Object(ia.b)(this.Kd),h=Array(8);w.Tj(h);if(y)for(y=0;8>y;y++)this.ye[y]=h[y];else this.Kd+=" ",ma.a.nK(this.ye,h,!1,0);this.Kd+=w.Kd};return ea}();ua.a=ya},function(ya,ua,f){function ma(){return"OS8xLzIwMjV8MmUwMzI3NmQwYw=="}function na(){return"11.8.0"}f.d(ua,"b",function(){return na});
|
|
2455
2455
|
f.d(ua,"a",function(){return ma})},function(ya,ua,f){function ma(ea,w){return-1<" ".concat(ea.className," ").indexOf(" ".concat(w," "))}function na(ea,w){return 1E-6>Math.abs(ea-w)}function oa(ea,w,y){w.Twa=void 0;y.Twa=void 0;(0,eval)("str")}function ja(ea,w,y){function h(){for(;ea();)if(100<Date.now()-e&&!y){e=Date.now();setTimeout(h,0);return}w()}var e=Date.now();h()}function ia(ea,w,y){ea.DS||(ea.DS={});ea.DS[w]||(ea.DS[w]=!0,ea.addEventListener(w,y))}f.d(ua,"d",function(){return ma});f.d(ua,
|
|
2456
2456
|
"c",function(){return na});f.d(ua,"e",function(){return oa});f.d(ua,"b",function(){return ja});f.d(ua,"a",function(){return ia});ya=f(1);f.n(ya);f(2)},function(ya,ua,f){function ma(){return oa}function na(ia){oa=ia}f.d(ua,"a",function(){return ja});f.d(ua,"c",function(){return na});f.d(ua,"b",function(){return ma});var oa,ja="rtl"},function(ya,ua,f){(function(ma){function na(fa){"function"!==typeof fa&&(fa=new Function("".concat(fa)));for(var ha=Array(arguments.length-1),z=0;z<ha.length;z++)ha[z]=
|
|
2457
2457
|
arguments[z+1];r[b]={th:fa,args:ha};x(b);return b++}function oa(fa){delete r[fa]}function ja(fa){if(n)setTimeout(ja,0,fa);else{var ha=r[fa];if(ha){n=!0;try{var z=ha.th,ca=ha.args;switch(ca.length){case 0:z();break;case 1:z(ca[0]);break;case 2:z(ca[0],ca[1]);break;case 3:z(ca[0],ca[1],ca[2]);break;default:z.apply(void 0,ca)}}finally{oa(fa),n=!1}}}}function ia(){x=function(fa){ma.Ifa(function(){ja(fa)})}}function ea(){if(e.postMessage&&!e.importScripts){var fa=!0,ha=e.onmessage;e.onmessage=function(){fa=
|