2024-02-12 17:21:14 +00:00
|
|
|
$wnd.web3d.runAsyncCallback13('function l8l(){}\nfunction m8l(){}\nfunction RAk(a){this.g=a}\nfunction SAk(a){this.g=a}\nfunction TAk(a){this.g=a}\nfunction UAk(a){this.g=a}\nfunction VAk(a){this.g=a}\nfunction WAk(a){this.g=a}\nfunction XAk(a){this.g=a}\nfunction YAk(a){this.g=a}\nfunction ZAk(a){this.g=a}\nfunction awm(a){this.g=a}\nfunction cwm(a){this.g=a}\nfunction dwm(a){this.g=a}\nfunction bwm(a,b){this.g=a;this.i=b}\nfunction ewm(a,b){this.g=a;this.i=b}\nfunction QAk(a,b){this.g=a;this.i=b}\nfunction MAk(a,b){OAk(a.t,b)}\nfunction OAk(a,b){MMc(a.g,b+\'%\')}\nfunction IAk(a){!!a.n||a.o.yb.click()}\nfunction n8l(){n8l=Auc;j8l=new l8l}\nfunction o8l(){o8l=Auc;k8l=new m8l}\nfunction Yvm(a,b){if(!a.i){return}LAk(a.i,b)}\nfunction CAk(a,b){(b.g[H3m]|0)==13&&yAk(a,false)}\nfunction EAk(a){IMc(a.g,J7n);BMc(a.g,QAn);a.j=false}\nfunction DAk(a){IMc(a.g,J7n);BMc(a.g,t3m);a.j=true}\nfunction FAk(a){IMc(a.g,J7n);BMc(a.g,\'hover\')}\nfunction GAk(a){a.j||(IMc(a.g,J7n),BMc(a.g,QAn))}\nfunction HAk(a){var b;b=a.s;MSl(a.Q,\'pdf.png\',b)}\nfunction AAk(a,b){var c;c=b.yb;JAk(a,c.files.item(0))}\nfunction LAk(a,b){a.r.yb.setAttribute(Mgn,b);a.s=b}\nfunction $vm(a,b){if(b>0&&b<=a.g.numPages){a.j=b;return true}return false}\nfunction Svm(a,b){var c;c={};c[\'canvasContext\']=b;c[\'viewport\']=a;return c}\nfunction Tvm(a,b){var c;if(b.lengthComputable){c=b.loaded/b.total*100;MAk(a.i,c)}return null}\nfunction BAk(a,b){var c;c=b.dataTransfer.files;JAk(a,c.item(0));b.stopPropagation();b.preventDefault()}\nfunction Wvm(a,b){var c;c=$wnd.window.pdfjsLib.getDocument(b);c.promise.then(Buc(cwm.prototype.jj,cwm,[a]))}\nfunction zAk(a,b,c,d){var e;e=new jQj(c,null,24,24);RMc(e.yb,d,true);ngm(e.yb,qMn,new qim(e,a));EKj(b,e,b.yb);return e}\nfunction PAk(a){this.i=a;dKj.call(this);RMc(this.yb,\'progressBar\',true);this.g=new dKj;aKj(this,this.g);MMc(this.g,\'0%\')}\nfunction KAk(a){$vm(a.n,1);xAk(a);if(a.n.g.numPages==1){BMc(a.k,$On);BMc(a.u,$On);LMc(a.q,false)}else{Rxl(a.g,\'\'+a.n.j)}xRj(a.L,false)}\nfunction Vvm(a,b){var c,d,e;d=b.getViewport((e={},e[Edn]=2,e));c=b.render(Svm(d,a.getContext(n3m)));a.width=d.width;a.height=d.height;return c.promise}\nfunction _vm(a,b){var c;this.i=b;c=new $wnd.FileReader;c.onprogress=Buc(awm.prototype.gj,awm,[this]);c.addEventListener(JNn,new bwm(this,c));!!a&&c.readAsDataURL(a)}\nfunction Zvm(a){var b;if(a.j>1){$vm(a,a.j-1);b=(Ced(),yed).createElement(K4m);a.g.getPage(a.j).then(Buc(dwm.prototype.jj,dwm,[b])).then(Buc(ewm.prototype.jj,ewm,[a,b]))}}\nfunction Xvm(a){var b;if(a.j<a.g.numPages){$vm(a,a.j+1);b=(Ced(),yed).createElement(K4m);a.g.getPage(a.j).then(Buc(dwm.prototype.jj,dwm,[b])).then(Buc(ewm.prototype.jj,ewm,[a,b]))}}\nfunction Uvm(a,b){var c;a.g=b;KAk(a.i.t.i);c=(Ced(),yed).createElement(K4m);a.g.getPage(a.j).then(Buc(dwm.prototype.jj,dwm,[c])).then(Buc(ewm.prototype.jj,ewm,[a,c]));return null}\nfunction yAk(b,c){var d,e,f;try{e=Zfd((f=b.g.K.j.yb[Ymn],f==null?null:\'\'+f),10);$vm(b.n,e)||c||Rxl(b.g,\'\'+b.n.j)}catch(a){a=Stc(a);if(cf(a,192)){d=a;nyj(\'page nr not exists: \'+d.p)}else throw Ttc(a)}}\nfunction JAk(a,b){var c;RKj(a.p);CMc(a.p,\'withPdf\');a.i=new UKj;BMc(a.i,K7n);a.t=new PAk(a);QKj(a.p,a.t);c=new PTj(kom(a.Q.sb,\'PdfLoadText\'));RMc(c.yb,\'pdfDialogText\',true);RMc(c.yb,\'loadText\',true);QKj(a.i,a.t);QKj(a.i,c);QKj(a.p,a.i);a.n=new _vm(b,a)}\nfunction xAk(a){var b,c,d;RKj(a.p);BMc(a.p,\'withPdf\');d=new UKj;RMc(d.yb,\'pdfPreview\',true);a.r=new qhm(\'\');BMc(a.r,\'previewImage\');a.k=zAk(a,d,(ULj(),lLj),\'leftBtn\');QKj(d,a.r);a.u=zAk(a,d,(VLj(),mLj),\'rightBtn\');a.q=new UKj;BMc(a.q,\'pdfPageText\');a.g=new _xl(3,a.Q);Rxl(a.g,\'1\');BMc(a.g,\'curPageField\');c=new PTj(kom(a.Q.sb,GXn));QKj(a.q,c);QKj(a.q,a.g);b=new PTj(kom(a.Q.sb,\'of\')+\' \'+a.n.g.numPages);QKj(a.q,b);QKj(a.p,d);QKj(a.p,a.q);Zwl(a.g,new SAk(a));$wl(a.g,new TAk(a));UMc(a.g.K.j,new UAk(a),(unk(),unk(),tnk));UMc(a.g.K.j,new VAk(a),(yLm(),yLm(),xLm));UMc(a.g.K.j,new WAk(a),(BMm(),BMm(),AMm));UMc(a.g.K.j,new XAk(a),(yMm(),yMm(),xMm))}\nfunction NAk(a,b){var c,d,e,f,g;FRj.call(this,a,b,false,true);this.o=(c=new N2k,UMc(c,new
|