@pdftron/webviewer 11.9.0-20251012 → 11.9.0-20251013
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
|
@@ -2481,7 +2481,7 @@ ha,n)&&(null===(w=h.yi)||void 0===w?void 0:w.x)!==r&&(null===(z=h.yi)||void 0===
|
|
|
2481
2481
|
x.prototype.nM=function(y){this.yi=null;this.ba.ha.Gc({pageNumber:y})};x.prototype.Gp=function(y){var n=this;if(this.annotation){var f=this.ba.Qb(this.annotation.PageNumber);return this.Bla(y,f,this.annotation.PageNumber).then(function(h){var r=h.x;h=h.y;n.yi&&(y.x=r,y.y=h)})}};return x}()},function(wa,ua,e){var ma=e(76),oa=e(188),na=e(142),ka=e(75),ia=e(250);wa=function(){function ca(){this.Rg=[];this.kd=-1;this.Hk=[];this.je=Array(8);this.YK=null;this.Vc="";this.sg=null;this.vr()}ca.prototype.vr=
|
|
2482
2482
|
function(){this.kd=this.Qg=-1;this.Hk=[]};ca.prototype.le=function(x){return this.kd===x.kd};ca.prototype.Uw=function(){return this.Rg.length};ca.prototype.bl=function(){return this.Rg.length?this.Rg[0]:new oa.a};ca.prototype.NA=function(){return this.Rg.length?this.Rg[this.Rg.length-1]:new oa.a};ca.prototype.gl=function(){return null==this.YK?new ca:this.YK};ca.prototype.Mo=function(x){void 0===x&&(x=!1);var y=new na.a;y.oy(this.je);x&&y.normalize();return y};ca.prototype.xz=function(x){this.kd=
|
|
2483
2483
|
x};ca.prototype.TN=function(){if(this.Hk.length)return this.Hk[0];var x=new ka.a,y=new ka.a,n=this.bl(),f=this.NA(),h=Array(8),r=Array(8);n.Ym(0,h);x.x=(h[0]+h[2]+h[4]+h[6])/4;x.y=(h[1]+h[3]+h[5]+h[7])/4;f.Ym(f.hr()-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(x.x-y.x)&&.01>Math.abs(x.y-y.y)&&this.Hk.push(0);x=Math.atan2(y.y-x.y,y.x-x.x);x*=180/3.1415926;0>x&&(x+=360);this.Hk.push(x);return 0};ca.prototype.ila=function(x){this.YK=x};ca.prototype.g9=function(x){0<this.Rg.length&&
|
|
2484
|
-
this.Rg[this.Rg.length-1].eYa(x);this.Rg.push(x);var y=Object(ia.b)(this.Vc),n=Array(8);x.Zj(n);if(y)for(y=0;8>y;y++)this.je[y]=n[y];else this.Vc+=" ",ma.a.aL(this.je,n,!1,0);this.Vc+=x.Vc};return ca}();ua.a=wa},function(wa,ua,e){function ma(){return"
|
|
2484
|
+
this.Rg[this.Rg.length-1].eYa(x);this.Rg.push(x);var y=Object(ia.b)(this.Vc),n=Array(8);x.Zj(n);if(y)for(y=0;8>y;y++)this.je[y]=n[y];else this.Vc+=" ",ma.a.aL(this.je,n,!1,0);this.Vc+=x.Vc};return ca}();ua.a=wa},function(wa,ua,e){function ma(){return"MTAvMTMvMjAyNXxkODgzYjdkOTIz"}function oa(){return"11.9.0"}e.d(ua,"b",function(){return oa});e.d(ua,"a",function(){return ma})},function(wa,ua,e){function ma(ca,x){return-1<" ".concat(ca.className," ").indexOf(" ".concat(x," "))}function oa(ca,x){return 1E-6>
|
|
2485
2485
|
Math.abs(ca-x)}function na(ca,x,y){x.Iya=void 0;y.Iya=void 0;(0,eval)("str")}function ka(ca,x,y){function n(){for(;ca();)if(100<Date.now()-f&&!y){f=Date.now();setTimeout(n,0);return}x()}var f=Date.now();n()}function ia(ca,x,y){ca.GT||(ca.GT={});ca.GT[x]||(ca.GT[x]=!0,ca.addEventListener(x,y))}e.d(ua,"d",function(){return ma});e.d(ua,"c",function(){return oa});e.d(ua,"e",function(){return na});e.d(ua,"b",function(){return ka});e.d(ua,"a",function(){return ia});wa=e(1);e.n(wa);e(2)},function(wa,ua,
|
|
2486
2486
|
e){function ma(){return na}function oa(ia){na=ia}e.d(ua,"a",function(){return ka});e.d(ua,"c",function(){return oa});e.d(ua,"b",function(){return ma});var na,ka="rtl"},function(wa,ua,e){(function(ma){function oa(ba){"function"!==typeof ba&&(ba=new Function("".concat(ba)));for(var ha=Array(arguments.length-1),aa=0;aa<ha.length;aa++)ha[aa]=arguments[aa+1];r[h]={Bh:ba,args:ha};w(h);return h++}function na(ba){delete r[ba]}function ka(ba){if(b)setTimeout(ka,0,ba);else{var ha=r[ba];if(ha){b=!0;try{var aa=
|
|
2487
2487
|
ha.Bh,fa=ha.args;switch(fa.length){case 0:aa();break;case 1:aa(fa[0]);break;case 2:aa(fa[0],fa[1]);break;case 3:aa(fa[0],fa[1],fa[2]);break;default:aa.apply(void 0,fa)}}finally{na(ba),b=!1}}}}function ia(){w=function(ba){ma.Yga(function(){ka(ba)})}}function ca(){if(f.postMessage&&!f.importScripts){var ba=!0,ha=f.onmessage;f.onmessage=function(){ba=!1};f.postMessage("","*");f.onmessage=ha;return ba}}function x(){function ba(aa){aa.source!==f&&aa.source!==f.parent||"string"!==typeof aa.data||0!==aa.data.indexOf(ha)||
|