@pdftron/webviewer 11.8.0-20251105 → 11.8.0-20251106
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
|
@@ -2476,7 +2476,7 @@ ha,h)&&(null===(r=f.yi)||void 0===r?void 0:r.x)!==w&&(null===(z=f.yi)||void 0===
|
|
|
2476
2476
|
x.prototype.eM=function(y){this.yi=null;this.ba.ha.Gc({pageNumber:y})};x.prototype.Ep=function(y){var h=this;if(this.annotation){var e=this.ba.Qb(this.annotation.PageNumber);return this.nla(y,e,this.annotation.PageNumber).then(function(f){var w=f.x;f=f.y;h.yi&&(y.x=w,y.y=f)})}};return x}()},function(wa,ua,b){var la=b(75),na=b(188),oa=b(141),ka=b(74),ia=b(249);wa=function(){function ea(){this.Rg=[];this.kd=-1;this.Gk=[];this.je=Array(8);this.PK=null;this.Vc="";this.sg=null;this.sr()}ea.prototype.sr=
|
|
2477
2477
|
function(){this.kd=this.Qg=-1;this.Gk=[]};ea.prototype.le=function(x){return this.kd===x.kd};ea.prototype.Sw=function(){return this.Rg.length};ea.prototype.$k=function(){return this.Rg.length?this.Rg[0]:new na.a};ea.prototype.IA=function(){return this.Rg.length?this.Rg[this.Rg.length-1]:new na.a};ea.prototype.dl=function(){return null==this.PK?new ea:this.PK};ea.prototype.Ko=function(x){void 0===x&&(x=!1);var y=new oa.a;y.ky(this.je);x&&y.normalize();return y};ea.prototype.sz=function(x){this.kd=
|
|
2478
2478
|
x};ea.prototype.FN=function(){if(this.Gk.length)return this.Gk[0];var x=new ka.a,y=new ka.a,h=this.$k(),e=this.IA(),f=Array(8),w=Array(8);h.Vm(0,f);x.x=(f[0]+f[2]+f[4]+f[6])/4;x.y=(f[1]+f[3]+f[5]+f[7])/4;e.Vm(e.fr()-1,w);y.x=(w[0]+w[2]+w[4]+w[6])/4;y.y=(w[1]+w[3]+w[5]+w[7])/4;.01>Math.abs(x.x-y.x)&&.01>Math.abs(x.y-y.y)&&this.Gk.push(0);x=Math.atan2(y.y-x.y,y.x-x.x);x*=180/3.1415926;0>x&&(x+=360);this.Gk.push(x);return 0};ea.prototype.Vka=function(x){this.PK=x};ea.prototype.S8=function(x){0<this.Rg.length&&
|
|
2479
|
-
this.Rg[this.Rg.length-1].QXa(x);this.Rg.push(x);var y=Object(ia.b)(this.Vc),h=Array(8);x.Yj(h);if(y)for(y=0;8>y;y++)this.je[y]=h[y];else this.Vc+=" ",la.a.SK(this.je,h,!1,0);this.Vc+=x.Vc};return ea}();ua.a=wa},function(wa,ua,b){function la(){return"
|
|
2479
|
+
this.Rg[this.Rg.length-1].QXa(x);this.Rg.push(x);var y=Object(ia.b)(this.Vc),h=Array(8);x.Yj(h);if(y)for(y=0;8>y;y++)this.je[y]=h[y];else this.Vc+=" ",la.a.SK(this.je,h,!1,0);this.Vc+=x.Vc};return ea}();ua.a=wa},function(wa,ua,b){function la(){return"MTEvNy8yMDI1fGRlYzI4ZWNlNjY="}function na(){return"11.8.0"}b.d(ua,"b",function(){return na});b.d(ua,"a",function(){return la})},function(wa,ua,b){function la(ea,x){return-1<" ".concat(ea.className," ").indexOf(" ".concat(x," "))}function na(ea,x){return 1E-6>
|
|
2480
2480
|
Math.abs(ea-x)}function oa(ea,x,y){x.tya=void 0;y.tya=void 0;(0,eval)("str")}function ka(ea,x,y){function h(){for(;ea();)if(100<Date.now()-e&&!y){e=Date.now();setTimeout(h,0);return}x()}var e=Date.now();h()}function ia(ea,x,y){ea.rT||(ea.rT={});ea.rT[x]||(ea.rT[x]=!0,ea.addEventListener(x,y))}b.d(ua,"d",function(){return la});b.d(ua,"c",function(){return na});b.d(ua,"e",function(){return oa});b.d(ua,"b",function(){return ka});b.d(ua,"a",function(){return ia});wa=b(1);b.n(wa);b(2)},function(wa,ua,
|
|
2481
2481
|
b){function la(){return oa}function na(ia){oa=ia}b.d(ua,"a",function(){return ka});b.d(ua,"c",function(){return na});b.d(ua,"b",function(){return la});var oa,ka="rtl"},function(wa,ua,b){(function(la){function na(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];w[f]={Ah:ba,args:ha};r(f);return f++}function oa(ba){delete w[ba]}function ka(ba){if(n)setTimeout(ka,0,ba);else{var ha=w[ba];if(ha){n=!0;try{var aa=
|
|
2482
2482
|
ha.Ah,ca=ha.args;switch(ca.length){case 0:aa();break;case 1:aa(ca[0]);break;case 2:aa(ca[0],ca[1]);break;case 3:aa(ca[0],ca[1],ca[2]);break;default:aa.apply(void 0,ca)}}finally{oa(ba),n=!1}}}}function ia(){r=function(ba){la.Lga(function(){ka(ba)})}}function ea(){if(e.postMessage&&!e.importScripts){var ba=!0,ha=e.onmessage;e.onmessage=function(){ba=!1};e.postMessage("","*");e.onmessage=ha;return ba}}function x(){function ba(aa){aa.source!==e&&aa.source!==e.parent||"string"!==typeof aa.data||0!==aa.data.indexOf(ha)||
|