@pdftron/webviewer 11.9.0-20251012 → 11.9.0-20251015
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 +1 -1
- package/public/core/19.chunk.js +7 -7
- package/public/core/22.chunk.js +7 -7
- package/public/core/AndroidContentPartRetriever.chunk.js +2 -2
- package/public/core/AzurePartRetriever.chunk.js +2 -2
- package/public/core/ExternalAnnotationMerger.chunk.js +14 -14
- package/public/core/ExternalPdfPartRetriever.chunk.js +6 -6
- package/public/core/HttpPartRetriever.chunk.js +13 -13
- package/public/core/IOSPartRetriever.chunk.js +2 -2
- package/public/core/LocalPartRetriever.chunk.js +4 -4
- package/public/core/LocalPdfPartRetriever.chunk.js +3 -3
- package/public/core/PDFInfoVersion1.chunk.js +16 -16
- package/public/core/SelectionInfoOld.chunk.js +14 -14
- package/public/core/StreamingPartRetriever.chunk.js +9 -9
- package/public/core/WebDBPartRetriever.chunk.js +2 -2
- package/public/core/WebViewerServerPartRetriever.chunk.js +43 -43
- package/public/core/WinRTPartRetriever.chunk.js +2 -2
- package/public/core/legacyOffice/WebB2XOfficeWorker.br.mem +0 -0
- package/public/core/legacyOffice/WebB2XOfficeWorker.gz.js.mem +0 -0
- package/public/core/legacyOffice/WebB2XOfficeWorker.gz.mem +0 -0
- package/public/core/legacyOffice/WebB2XOfficeWorkerWasm.br.wasm +0 -0
- package/public/core/legacyOffice/WebB2XOfficeWorkerWasm.gz.js.mem +0 -0
- package/public/core/legacyOffice/WebB2XOfficeWorkerWasm.gz.wasm +0 -0
- package/public/core/office/WebOfficeWorker.br.mem +0 -0
- package/public/core/office/WebOfficeWorker.gz.js.mem +0 -0
- package/public/core/office/WebOfficeWorker.gz.mem +0 -0
- package/public/core/office/WebOfficeWorkerWasm.br.wasm +0 -0
- package/public/core/office/WebOfficeWorkerWasm.gz.js.mem +0 -0
- package/public/core/office/WebOfficeWorkerWasm.gz.wasm +0 -0
- package/public/core/officeEditor/OfficeEditorWorkerWasm.br.wasm +0 -0
- package/public/core/pdf/WasmThread.js +38 -37
- package/public/core/pikaday.chunk.js +33 -33
- package/public/core/vendors.ascii85.chunk.js +6 -6
- package/public/core/vendors.pako.chunk.js +81 -81
- package/public/core/webviewer-core.min.js +4800 -4789
- package/public/ui/chunks/chunk.25.js +3 -3
- package/public/ui/chunks/chunk.26.js +1 -1
- package/public/ui/chunks/chunk.27.js +1 -1
- package/public/ui/chunks/chunk.28.js +1 -1
- package/public/ui/chunks/chunk.51.js +1 -1
- package/public/ui/chunks/chunk.51.js.map +1 -1
- package/public/ui/chunks/chunk.65.js +1 -1
- package/public/ui/chunks/chunk.66.js +1 -1
- package/public/ui/chunks/chunk.72.js +1 -1
- package/public/ui/chunks/chunk.73.js +1 -1
- package/public/ui/webviewer-ui.min.js +3 -3
- package/public/ui/webviewer-ui.min.js.map +1 -1
- package/types.d.ts +17 -1
package/package.json
CHANGED
package/public/core/19.chunk.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{681:function(wa){(function(){wa.exports={
|
|
3
|
-
b)return r.clientHeight+h<r.scrollHeight;if("X"===b)return r.clientWidth+h<r.scrollWidth}function oa(r,b){r=
|
|
4
|
-
|
|
5
|
-
Date.now,h=RegExp("MSIE |Trident/|Edge/").test(
|
|
6
|
-
typeof r?r:0,void 0!==r.top?r.top:void 0!==b?b:0):ia.call(
|
|
7
|
-
typeof b?this.scrollLeft:~~b,"undefined"===typeof r?this.scrollTop:~~r)};
|
|
8
|
-
r.host;var b=r.getBoundingClientRect(),a=this.getBoundingClientRect();r!==
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{681:function(wa){(function(){wa.exports={Ma:function(){function ua(r,b){this.scrollLeft=r;this.scrollTop=b}function e(r){if(null===r||"object"!==typeof r||void 0===r.behavior||"auto"===r.behavior||"instant"===r.behavior)return!0;if("object"===typeof r&&"smooth"===r.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+r.behavior+" is not a valid value for enumeration ScrollBehavior.");}function ma(r,b){if("Y"===
|
|
3
|
+
b)return r.clientHeight+h<r.scrollHeight;if("X"===b)return r.clientWidth+h<r.scrollWidth}function oa(r,b){r=ba.getComputedStyle(r,null)["overflow"+b];return"auto"===r||"scroll"===r}function na(r){var b=ma(r,"Y")&&oa(r,"Y");r=ma(r,"X")&&oa(r,"X");return b||r}function ja(r){var b=(f()-r.startTime)/468;var a=.5*(1-Math.cos(Math.PI*(1<b?1:b)));b=r.hs+(r.x-r.hs)*a;a=r.fJ+(r.y-r.fJ)*a;r.method.call(r.cR,b,a);b===r.x&&a===r.y||ba.requestAnimationFrame(ja.bind(ba,r))}function ia(r,b,a){var w=f();if(r===y.body){var z=
|
|
4
|
+
ba;var aa=ba.scrollX||ba.pageXOffset;r=ba.scrollY||ba.pageYOffset;var ha=n.scroll}else z=r,aa=r.scrollLeft,r=r.scrollTop,ha=ua;ja({cR:z,method:ha,startTime:w,hs:aa,fJ:r,x:b,y:a})}var ba=window,y=document;if(!("scrollBehavior"in y.documentElement.style&&!0!==ba.q4a)){var x=ba.HTMLElement||ba.Element,n={scroll:ba.scroll||ba.scrollTo,scrollBy:ba.scrollBy,mba:x.prototype.scroll||ua,scrollIntoView:x.prototype.scrollIntoView},f=ba.performance&&ba.performance.now?ba.performance.now.bind(ba.performance):
|
|
5
|
+
Date.now,h=RegExp("MSIE |Trident/|Edge/").test(ba.navigator.userAgent)?1:0;ba.scroll=ba.scrollTo=function(r,b){void 0!==r&&(!0===e(r)?n.scroll.call(ba,void 0!==r.left?r.left:"object"!==typeof r?r:ba.scrollX||ba.pageXOffset,void 0!==r.top?r.top:void 0!==b?b:ba.scrollY||ba.pageYOffset):ia.call(ba,y.body,void 0!==r.left?~~r.left:ba.scrollX||ba.pageXOffset,void 0!==r.top?~~r.top:ba.scrollY||ba.pageYOffset))};ba.scrollBy=function(r,b){void 0!==r&&(e(r)?n.scrollBy.call(ba,void 0!==r.left?r.left:"object"!==
|
|
6
|
+
typeof r?r:0,void 0!==r.top?r.top:void 0!==b?b:0):ia.call(ba,y.body,~~r.left+(ba.scrollX||ba.pageXOffset),~~r.top+(ba.scrollY||ba.pageYOffset)))};x.prototype.scroll=x.prototype.scrollTo=function(r,b){if(void 0!==r)if(!0===e(r)){if("number"===typeof r&&void 0===b)throw new SyntaxError("Value could not be converted");n.mba.call(this,void 0!==r.left?~~r.left:"object"!==typeof r?~~r:this.scrollLeft,void 0!==r.top?~~r.top:void 0!==b?~~b:this.scrollTop)}else b=r.left,r=r.top,ia.call(this,this,"undefined"===
|
|
7
|
+
typeof b?this.scrollLeft:~~b,"undefined"===typeof r?this.scrollTop:~~r)};x.prototype.scrollBy=function(r,b){void 0!==r&&(!0===e(r)?n.mba.call(this,void 0!==r.left?~~r.left+this.scrollLeft:~~r+this.scrollLeft,void 0!==r.top?~~r.top+this.scrollTop:~~b+this.scrollTop):this.scroll({left:~~r.left+this.scrollLeft,top:~~r.top+this.scrollTop,behavior:r.behavior}))};x.prototype.scrollIntoView=function(r){if(!0===e(r))n.scrollIntoView.call(this,void 0===r?!0:r);else{for(r=this;r!==y.body&&!1===na(r);)r=r.parentNode||
|
|
8
|
+
r.host;var b=r.getBoundingClientRect(),a=this.getBoundingClientRect();r!==y.body?(ia.call(this,r,r.scrollLeft+a.left-b.left,r.scrollTop+a.top-b.top),"fixed"!==ba.getComputedStyle(r).position&&ba.scrollBy({left:b.left,top:b.top,behavior:"smooth"})):ba.scrollBy({left:a.left,top:a.top,behavior:"smooth"})}}}}}})()}}]);}).call(this || window)
|
package/public/core/22.chunk.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[22],{683:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(7),na=e(2);wa=e(49);var
|
|
3
|
-
break;case "delete":f="<delete><id>".concat(f.aId,"</id></delete>"),this.
|
|
4
|
-
function(x,
|
|
5
|
-
dId:
|
|
6
|
-
null);this.connection&&this.connection.
|
|
7
|
-
case 1:b=ea.aa();"delete"!==f&&(a=(new DOMParser).parseFromString(b,"text/xml"),w=new XMLSerializer);for(z=0;z<n.length;z++)
|
|
8
|
-
r.annots.push({at:"modify",aId:
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[22],{683:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(7),na=e(2);wa=e(49);var ja=e(38),ia=e(21);e=function(){function ba(){this.init()}ba.prototype.init=function(){this.Tya=!1;this.nh=this.yq=this.connection=null;this.Uk={};this.fa=this.pS=null};ba.prototype.cD=function(y){for(var x=this,n=0;n<y.length;++n){var f=y[n];switch(f.at){case "create":this.Uk[f.author]||(this.Uk[f.author]=f.aName);this.ZLa(f);break;case "modify":this.fa.lu(f.xfdf).then(function(h){x.fa.Ib(h[0])});
|
|
3
|
+
break;case "delete":f="<delete><id>".concat(f.aId,"</id></delete>"),this.fa.lu(f)}}};ba.prototype.ZLa=function(y){var x=this;this.fa.lu(y.xfdf).then(function(n){n=n[0];n.authorId=y.author;x.fa.Ib(n);x.fa.trigger(oa.d.UPDATE_ANNOTATION_PERMISSION,[n])})};ba.prototype.LKa=function(y,x,n){this.yq&&this.yq(y,x,n)};ba.prototype.preloadAnnotations=function(y){this.addEventListener("webViewerServerAnnotationsEnabled",this.LKa.bind(this,y,"add",{imported:!1}),{once:!0})};ba.prototype.initiateCollaboration=
|
|
4
|
+
function(y,x,n){var f=this;if(y){f.nh=x;f.fa=n.ka();n.addEventListener(oa.i.DOCUMENT_UNLOADED,function(){f.disableCollaboration()});f.e2a(y);var h=new XMLHttpRequest;h.addEventListener("load",function(){if(200===h.status&&0<h.responseText.length)try{var r=JSON.parse(h.responseText);f.connection=exports.da.Q3a(Object(ja.l)(f.nh,"blackbox/"),"annot");f.pS=r.id;f.Uk[r.id]=r.user_name;f.fa.R2(r.id);f.connection.i8a(function(b){b.t&&b.t.startsWith("a_")&&b.data&&f.cD(b.data)},function(){f.connection.send({t:"a_retrieve",
|
|
5
|
+
dId:y});f.trigger(ba.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[f.Uk[r.id],f.pS])},function(){f.disableCollaboration()})}catch(b){Object(na.g)(b.message)}});h.open("GET",Object(ja.l)(this.nh,"demo/SessionInfo.jsp"));h.withCredentials=!0;h.send();f.Tya=!0;f.fa.Nka(function(r){return f.Uk[r.Author]||r.Author})}else Object(na.g)("Document ID required for collaboration")};ba.prototype.disableCollaboration=function(){this.yq&&(this.fa.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.yq),this.yq=
|
|
6
|
+
null);this.connection&&this.connection.Dw();this.fa&&this.fa.R2("Guest");this.init();this.trigger(ba.Events.WEBVIEWER_SERVER_ANNOTATIONS_DISABLED)};ba.prototype.e2a=function(y){var x=this;this.yq&&this.fa.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.yq);this.yq=function(n,f,h){return Object(ma.c)(this,void 0,void 0,function(){var r,b,a,w,z,aa,ha,ca,fa;return Object(ma.e)(this,function(ea){switch(ea.label){case 0:if(h.imported)return[2];r={t:"a_".concat(f),dId:y,annots:[]};return[4,x.fa.xba()];
|
|
7
|
+
case 1:b=ea.aa();"delete"!==f&&(a=(new DOMParser).parseFromString(b,"text/xml"),w=new XMLSerializer);for(z=0;z<n.length;z++)aa=n[z],ca=ha=void 0,"add"===f?(ha=a.querySelector('[name="'.concat(aa.Id,'"]')),ca=w.serializeToString(ha),fa=null,aa.InReplyTo&&(fa=x.fa.Jf(aa.InReplyTo).authorId||"default"),r.annots.push({at:"create",aId:aa.Id,author:x.pS,aName:x.Uk[x.pS],parent:fa,xfdf:"<add>".concat(ca,"</add>")})):"modify"===f?(ha=a.querySelector('[name="'.concat(aa.Id,'"]')),ca=w.serializeToString(ha),
|
|
8
|
+
r.annots.push({at:"modify",aId:aa.Id,xfdf:"<modify>".concat(ca,"</modify>")})):"delete"===f&&r.annots.push({at:"delete",aId:aa.Id});0<r.annots.length&&x.connection.send(r);return[2]}})})}.bind(x);this.fa.addEventListener(ia.a.Events.ANNOTATION_CHANGED,this.yq)};ba.Events={WEBVIEWER_SERVER_ANNOTATIONS_ENABLED:"webViewerServerAnnotationsEnabled",WEBVIEWER_SERVER_ANNOTATIONS_DISABLED:"webViewerServerAnnotationsDisabled"};return ba}();Object(wa.b)(e);ua["default"]=e}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{667:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(393);wa=e(663);e=e(585);var na=window,
|
|
3
|
-
wa=function(ia){function
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{667:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(393);wa=e(663);e=e(585);var na=window,ja=function(ia){function ba(y,x){var n=ia.call(this,y,x)||this;n.url=y;n.range=x;n.request=new XMLHttpRequest;n.request.open("GET",n.url,!0);na.Uint8Array&&(n.request.responseType="arraybuffer");n.request.setRequestHeader("X-Requested-With","XMLHttpRequest");n.status=oa.a.NOT_STARTED;return n}Object(ma.d)(ba,ia);return ba}(wa.ByteRangeRequest);
|
|
3
|
+
wa=function(ia){function ba(y,x,n,f){y=ia.call(this,y,x,n,f)||this;y.nI=ja;return y}Object(ma.d)(ba,ia);ba.prototype.hF=function(y,x){return"".concat(y,"/bytes=").concat(x.start,",").concat(x.stop?x.stop:"")};return ba}(wa["default"]);Object(e.a)(wa);Object(e.b)(wa);ua["default"]=wa}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[3],{669:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(238);wa=e(663);e=e(585);wa=function(na){function
|
|
3
|
-
ia)})};return
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[3],{669:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(238);wa=e(663);e=e(585);wa=function(na){function ja(ia,ba,y,x){return na.call(this,ia,ba,y,x)||this}Object(ma.d)(ja,na);ja.prototype.Sca=function(){return{start:this.Dba-oa.a,stop:this.Dba}};ja.prototype.EB=function(ia){var ba=this;this.wu(this.url,{start:0,stop:1},function(y,x,n){if(y)return ia(y);y=n.request.getResponseHeader("Content-Range");ba.Dba=y.split("/")[1];na.prototype.EB.call(ba,
|
|
3
|
+
ia)})};return ja}(wa["default"]);Object(e.a)(wa);Object(e.b)(wa);ua["default"]=wa}}]);}).call(this || window)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[4],{680:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(702),na=e(703),
|
|
3
|
-
|
|
4
|
-
[2];b=new DOMParser;a=b.parseFromString(
|
|
5
|
-
function(
|
|
6
|
-
this,n=this.
|
|
7
|
-
"xfdf > fields","fields");
|
|
8
|
-
this.
|
|
9
|
-
ia.prototype.
|
|
10
|
-
return n};return ia}();ua["default"]=wa},691:function(wa,ua){wa=function(){function e(){}e.prototype.
|
|
11
|
-
{};this.
|
|
12
|
-
function(ma,oa){oa.forEach(function(na){var
|
|
13
|
-
10),
|
|
14
|
-
this,
|
|
15
|
-
Object(ma.d)(na,oa);na.prototype.parse=function(){return this.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[4],{680:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(702),na=e(703),ja;(function(ia){ia[ia.EXTERNAL_XFDF_NOT_REQUESTED=0]="EXTERNAL_XFDF_NOT_REQUESTED";ia[ia.EXTERNAL_XFDF_NOT_AVAILABLE=1]="EXTERNAL_XFDF_NOT_AVAILABLE";ia[ia.EXTERNAL_XFDF_AVAILABLE=2]="EXTERNAL_XFDF_AVAILABLE"})(ja||(ja={}));wa=function(){function ia(ba){this.ba=ba;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED}ia.prototype.zKa=function(){var ba=this;return function(y,
|
|
3
|
+
x,n){return Object(ma.c)(ba,void 0,void 0,function(){var f,h,r,b,a,w,z,aa=this,ha;return Object(ma.e)(this,function(ca){switch(ca.label){case 0:if(this.state!==ja.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];f=this.ba.getDocument().MA();return[4,this.xHa(f)];case 1:h=ca.aa(),r=this.mAa(h),this.mX=null!==(ha=null===r||void 0===r?void 0:r.parse())&&void 0!==ha?ha:null,this.state=null===this.mX?ja.EXTERNAL_XFDF_NOT_AVAILABLE:ja.EXTERNAL_XFDF_AVAILABLE,ca.label=2;case 2:if(this.state===ja.EXTERNAL_XFDF_NOT_AVAILABLE)return n(y),
|
|
4
|
+
[2];b=new DOMParser;a=b.parseFromString(y,"text/xml");x.forEach(function(fa){aa.merge(a,aa.mX,fa-1)});w=new XMLSerializer;z=w.serializeToString(a);n(z);return[2]}})})}};ia.prototype.U2=function(ba){this.xHa=ba};ia.prototype.cg=function(){this.mX=void 0;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED};ia.prototype.mAa=function(ba){return ba?Array.isArray(ba)?new oa.a(ba):"string"!==typeof ba?null:(new DOMParser).parseFromString(ba,"text/xml").querySelector("xfdf > add")?new oa.a(ba):new na.a(ba):null};ia.prototype.merge=
|
|
5
|
+
function(ba,y,x){var n=this;0===x&&(this.BPa(ba,y.Yv),this.EPa(ba,y.QW));var f=y.ea[x];f&&(this.GPa(ba,f.Qv),this.IPa(ba,f.Pna,y.Pt),this.HPa(ba,f.page,x),this.DPa(ba,f.Haa));f=this.ba.Fb();if(x===f-1){var h=y.Pt;Object.keys(h).forEach(function(r){h[r].sZ||n.Iga(ba,r,h[r])})}};ia.prototype.BPa=function(ba,y){null!==y&&(ba=this.FE(ba),this.Zx(ba,"calculation-order",y))};ia.prototype.EPa=function(ba,y){null!==y&&(ba=this.FE(ba),this.Zx(ba,"document-actions",y))};ia.prototype.GPa=function(ba,y){var x=
|
|
6
|
+
this,n=this.EE(ba.querySelector("xfdf"),"annots");Object.keys(y).forEach(function(f){x.Zx(n,'[name="'.concat(f,'"]'),y[f])})};ia.prototype.IPa=function(ba,y,x){var n=this;if(0!==y.length){var f=this.FE(ba);y.forEach(function(h){var r=h.getAttribute("field"),b=x[r];b&&(n.Iga(ba,r,b),n.Zx(f,"null",h))})}};ia.prototype.Iga=function(ba,y,x){var n=this.FE(ba),f=n.querySelector('ffield[name="'.concat(y,'"]'));null!==x.vN&&null===f&&this.Zx(n,'ffield[name="'.concat(y,'"]'),x.vN);ba=this.EE(ba.querySelector("xfdf"),
|
|
7
|
+
"xfdf > fields","fields");y=y.split(".");this.C1(ba,y,0,x.value);x.sZ=!0};ia.prototype.HPa=function(ba,y,x){null!==y&&(ba=this.FE(ba),ba=this.EE(ba,"pages"),this.Zx(ba,'[number="'.concat(x+1,'"]'),y))};ia.prototype.DPa=function(ba,y){Object.keys(y).forEach(function(x){(x=ba.querySelector('annots [name="'.concat(x,'"]')))&&x.parentElement.removeChild(x)})};ia.prototype.C1=function(ba,y,x,n){if(x===y.length)y=document.createElementNS("","value"),y.textContent=n,this.Zx(ba,"value",y);else{var f=y[x];
|
|
8
|
+
this.EE(ba,'[name="'.concat(f,'"]'),"field").setAttribute("name",f);ba=ba.querySelectorAll('[name="'.concat(f,'"]'));1===ba.length?this.C1(ba[0],y,x+1,n):(f=this.AFa(ba),this.C1(x===y.length-1?f:this.r0a(ba,f),y,x+1,n))}};ia.prototype.AFa=function(ba){for(var y=null,x=0;x<ba.length;x++){var n=ba[x];if(0===n.childElementCount||1===n.childElementCount&&"value"===n.children[0].tagName){y=n;break}}return y};ia.prototype.r0a=function(ba,y){for(var x=0;x<ba.length;x++)if(ba[x]!==y)return ba[x];return null};
|
|
9
|
+
ia.prototype.Zx=function(ba,y,x){y=ba.querySelector(y);null!==y&&ba.removeChild(y);ba.appendChild(x)};ia.prototype.FE=function(ba){var y=ba.querySelector("pdf-info");if(null!==y)return y;y=this.EE(ba.querySelector("xfdf"),"pdf-info");y.setAttribute("xmlns","http://www.pdftron.com/pdfinfo");y.setAttribute("version","2");y.setAttribute("import-version","4");return y};ia.prototype.EE=function(ba,y,x){var n=ba.querySelector(y);if(null!==n)return n;n=document.createElementNS("",x||y);ba.appendChild(n);
|
|
10
|
+
return n};return ia}();ua["default"]=wa},691:function(wa,ua){wa=function(){function e(){}e.prototype.mL=function(ma){var oa={Yv:null,QW:null,Pt:{},ea:{}};ma=(new DOMParser).parseFromString(ma,"text/xml");oa.Yv=ma.querySelector("pdf-info calculation-order");oa.QW=ma.querySelector("pdf-info document-actions");oa.Pt=this.FRa(ma);oa.ea=this.TRa(ma);return oa};e.prototype.FRa=function(ma){var oa=ma.querySelector("fields");ma=ma.querySelectorAll("pdf-info > ffield");if(null===oa&&null===ma)return{};var na=
|
|
11
|
+
{};this.Lva(na,oa);this.Jva(na,ma);return na};e.prototype.Lva=function(ma,oa){if(null!==oa&&oa.children){for(var na=[],ja=0;ja<oa.children.length;ja++){var ia=oa.children[ja];na.push({name:ia.getAttribute("name"),element:ia})}for(;0!==na.length;)for(oa=na.shift(),ja=0;ja<oa.element.children.length;ja++)ia=oa.element.children[ja],"value"===ia.tagName?ma[oa.name]={value:ia.textContent,vN:null,sZ:!1}:ia.children&&na.push({name:"".concat(oa.name,".").concat(ia.getAttribute("name")),element:ia})}};e.prototype.Jva=
|
|
12
|
+
function(ma,oa){oa.forEach(function(na){var ja=na.getAttribute("name");ma[ja]?ma[ja].vN=na:ma[ja]={value:null,vN:na,sZ:!1}})};e.prototype.TRa=function(ma){var oa=this,na={};ma.querySelectorAll("pdf-info widget").forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10)-1;oa.bP(na,ia);na[ia].Pna.push(ja)});ma.querySelectorAll("pdf-info page").forEach(function(ja){var ia=parseInt(ja.getAttribute("number"),10)-1;oa.bP(na,ia);na[ia].page=ja});this.hda(ma).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),
|
|
13
|
+
10),ba=ja.getAttribute("name");oa.bP(na,ia);na[ia].Qv[ba]=ja});this.Lca(ma).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10);ja=ja.textContent;oa.bP(na,ia);na[ia].Haa[ja]=!0});return na};e.prototype.bP=function(ma,oa){ma[oa]||(ma[oa]={Qv:{},Haa:{},Pna:[],page:null})};return e}();ua.a=wa},702:function(wa,ua,e){var ma=e(0),oa=e(1);e.n(oa);wa=function(na){function ja(ia){var ba=na.call(this)||this;ba.XEa=Array.isArray(ia)?ia:[ia];return ba}Object(ma.d)(ja,na);ja.prototype.parse=function(){var ia=
|
|
14
|
+
this,ba={Yv:null,QW:null,Pt:{},ea:{}};this.XEa.forEach(function(y){ba=Object(oa.merge)(ba,ia.mL(y))});return ba};ja.prototype.hda=function(ia){var ba=[];ia.querySelectorAll("add > *").forEach(function(y){ba.push(y)});ia.querySelectorAll("modify > *").forEach(function(y){ba.push(y)});return ba};ja.prototype.Lca=function(ia){return ia.querySelectorAll("delete > *")};return ja}(e(691).a);ua.a=wa},703:function(wa,ua,e){var ma=e(0);wa=function(oa){function na(ja){var ia=oa.call(this)||this;ia.YEa=ja;return ia}
|
|
15
|
+
Object(ma.d)(na,oa);na.prototype.parse=function(){return this.mL(this.YEa)};na.prototype.hda=function(ja){return ja.querySelectorAll("annots > *")};na.prototype.Lca=function(){return[]};return na}(e(691).a);ua.a=wa}}]);}).call(this || window)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[5],{670:function(wa,ua,e){e.r(ua);var ma=e(0);wa=e(49);var oa=e(267),na=e(585),
|
|
3
|
-
|
|
4
|
-
this.status&&(r||0!==this.status))return[3,10];n.trigger(
|
|
5
|
-
if(!n.
|
|
6
|
-
[2]}})})},!1);f.onprogress=function(b){n.trigger(
|
|
7
|
-
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[5],{670:function(wa,ua,e){e.r(ua);var ma=e(0);wa=e(49);var oa=e(267),na=e(585),ja=e(332),ia=window;e=function(){function ba(y,x){this.ufa=function(n){n=n.split(".");return n[n.length-1].match(/(jpg|jpeg|png|gif)$/i)};x=x||{};this.url=y;this.filename=x.filename||y;this.bg=x.customHeaders;this.N1a=!!x.useDownloader;this.withCredentials=!!x.withCredentials}ba.prototype.rR=function(y){this.bg=y};ba.prototype.getCustomHeaders=function(){return this.bg};
|
|
3
|
+
ba.prototype.getFileData=function(y){var x=this,n=this,f=new XMLHttpRequest,h=0===this.url.indexOf("blob:")?"blob":"arraybuffer";f.open("GET",this.url,!0);f.withCredentials=this.withCredentials;f.responseType=h;this.bg&&Object.keys(this.bg).forEach(function(b){f.setRequestHeader(b,x.bg[b])});var r=/^https?:/i.test(this.url);f.addEventListener("load",function(b){return Object(ma.c)(this,void 0,void 0,function(){var a,w,z,aa,ha,ca;return Object(ma.e)(this,function(fa){switch(fa.label){case 0:if(200!==
|
|
4
|
+
this.status&&(r||0!==this.status))return[3,10];n.trigger(ba.Events.DOCUMENT_LOADING_PROGRESS,[b.loaded,b.loaded]);if("blob"!==this.responseType)return[3,4];a=this.response;return n.ufa(n.filename)?[4,Object(ja.b)(a)]:[3,2];case 1:return w=fa.aa(),n.fileSize=w.byteLength,y(new Uint8Array(w)),[3,3];case 2:z=new FileReader,z.onload=function(ea){ea=new Uint8Array(ea.target.result);n.fileSize=ea.length;y(ea)},z.readAsArrayBuffer(a),fa.label=3;case 3:return[3,9];case 4:fa.Sb.push([4,8,,9]);aa=new Uint8Array(this.response);
|
|
5
|
+
if(!n.ufa(n.filename))return[3,6];a=new Blob([aa.buffer]);return[4,Object(ja.b)(a)];case 5:return w=fa.aa(),n.fileSize=w.byteLength,y(new Uint8Array(w)),[3,7];case 6:n.fileSize=aa.length,y(aa),fa.label=7;case 7:return[3,9];case 8:return fa.aa(),n.trigger(ba.Events.ERROR,["pdfLoad","Out of memory"]),[3,9];case 9:return[3,11];case 10:ha=b.currentTarget,ca=Object(oa.b)(ha),n.trigger(ba.Events.ERROR,["pdfLoad","".concat(this.status," ").concat(ha.statusText),ca]),fa.label=11;case 11:return n.HJ=null,
|
|
6
|
+
[2]}})})},!1);f.onprogress=function(b){n.trigger(ba.Events.DOCUMENT_LOADING_PROGRESS,[b.loaded,0<b.total?b.total:0])};f.addEventListener("error",function(){n.trigger(ba.Events.ERROR,["pdfLoad","Network failure"]);n.HJ=null},!1);f.send();this.HJ=f};ba.prototype.getFile=function(){var y=this;return new Promise(function(x){ia.da.isJSWorker&&x(y.url);if(y.N1a){var n=Object(ma.a)({url:y.url},y.bg?{customHeaders:y.bg}:{});x(n)}x(null)})};ba.prototype.abort=function(){this.HJ&&(this.HJ.abort(),this.HJ=null)};
|
|
7
|
+
ba.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress",ERROR:"error"};return ba}();Object(wa.b)(e);Object(na.a)(e);Object(na.b)(e);ua["default"]=e}}]);}).call(this || window)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{663:function(wa,ua,e){e.r(ua);e.d(ua,"ByteRangeRequest",function(){return w});var ma=e(0),oa=e(1);e.n(oa);var na=e(2),
|
|
3
|
-
fa;this.withCredentials=ea;this
|
|
4
|
-
this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=
|
|
5
|
-
|
|
6
|
-
function(ha){var
|
|
7
|
-
"_=").concat(fa.start,",").concat(Object(oa.isUndefined)(fa.stop)?"":fa.stop)}return
|
|
8
|
-
null;ea={url:
|
|
9
|
-
1))}};ha.prototype.
|
|
10
|
-
qa.start," but is ").concat(ta.length));fa.ff.
|
|
11
|
-
function(
|
|
12
|
-
0===qa.
|
|
13
|
-
this.
|
|
14
|
-
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{663:function(wa,ua,e){e.r(ua);e.d(ua,"ByteRangeRequest",function(){return w});var ma=e(0),oa=e(1);e.n(oa);var na=e(2),ja=e(238);wa=e(141);var ia=e(394),ba=e(114),y=e(110),x=e(393),n=e(267);e=e(585);var f=[],h=[],r=window,b=function(){return function(){this.Vr=1}}(),a;(function(aa){aa[aa.UNSENT=0]="UNSENT";aa[aa.DONE=4]="DONE"})(a||(a={}));var w=function(){function aa(ha,ca,fa,ea){var pa=this;this.url=ha;this.range=ca;this.bg=
|
|
3
|
+
fa;this.withCredentials=ea;this.hsa=a;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);r.Uint8Array&&(this.request.responseType="arraybuffer");ea&&(this.request.withCredentials=ea);z.DISABLE_RANGE_HEADER||(Object(oa.isUndefined)(ca.stop)?this.request.setRequestHeader("Range","bytes=".concat(ca.start)):this.request.setRequestHeader("Range",["bytes=",ca.start,"-",ca.stop-1].join("")));fa&&Object.keys(fa).forEach(function(ka){pa.request.setRequestHeader(ka,fa[ka])});this.request.overrideMimeType?
|
|
4
|
+
this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}aa.prototype.start=function(ha){var ca=this,fa=this.request;fa.onreadystatechange=function(){if(ca.aborted)return ca.status=x.a.ABORTED,ha({code:x.a.ABORTED});if(this.readyState===ca.hsa.DONE){ca.mO();var ea=0===window.document.URL.indexOf("file:///");200===fa.status||206===fa.status||ea&&0===fa.status?(ea=r.Cda(this),ca.P3(ea,ha)):(ca.status=
|
|
5
|
+
x.a.ERROR,ha({code:ca.status,status:ca.status}))}};this.request.send(null);this.status=x.a.STARTED};aa.prototype.P3=function(ha,ca){this.status=x.a.SUCCESS;if(ca)return ca(!1,ha)};aa.prototype.abort=function(){this.mO();this.aborted=!0;this.request.abort()};aa.prototype.mO=function(){var ha=Object(n.c)(this.url,this.range,h);-1!==ha&&h.splice(ha,1);if(0<f.length){ha=f.shift();var ca=new aa(ha.url,ha.range,this.bg,this.withCredentials);ha.request=ca;h.push(ha);ca.start(Object(n.d)(ha))}};aa.prototype.extend=
|
|
6
|
+
function(ha){var ca=Object.assign({},this,ha.prototype);ca.constructor=ha;return ca};return aa}(),z=function(aa){function ha(ca,fa,ea,pa,ka){ea=aa.call(this,ca,ea,pa)||this;ea.Cn={};ea.$L=fa;ea.url=ca;ea.DISABLE_RANGE_HEADER=!1;ea.nI=w;ea.B5=3;ea.bg=ka||{};return ea}Object(ma.d)(ha,aa);ha.prototype.hF=function(ca,fa,ea){var pa=-1===ca.indexOf("?")?"?":"&";switch(ea){case !1:case y.a.NEVER_CACHE:ca="".concat(ca+pa,"_=").concat(Object(oa.uniqueId)());break;case !0:case y.a.CACHE:ca="".concat(ca+pa,
|
|
7
|
+
"_=").concat(fa.start,",").concat(Object(oa.isUndefined)(fa.stop)?"":fa.stop)}return ca};ha.prototype.laa=function(ca,fa,ea,pa){void 0===ea&&(ea={});return new this.nI(ca,fa,ea,pa)};ha.prototype.EEa=function(ca,fa,ea,pa,ka){for(var la=0;la<f.length;la++)if(Object(oa.isEqual)(f[la].range,fa)&&Object(oa.isEqual)(f[la].url,ca))return f[la].Tj.push(pa),f[la].VP++,null;for(la=0;la<h.length;la++)if(Object(oa.isEqual)(h[la].range,fa)&&Object(oa.isEqual)(h[la].url,ca))return h[la].Tj.push(pa),h[la].VP++,
|
|
8
|
+
null;ea={url:ca,range:fa,$L:ea,Tj:[pa],VP:1};if(0===f.length&&h.length<this.B5)return h.push(ea),ea.request=this.laa(ca,fa,ka,this.withCredentials),ea;f.push(ea);return null};ha.prototype.wu=function(ca,fa,ea){var pa=this.hF(ca,fa,this.$L);(ca=this.EEa(pa,fa,this.$L,ea,this.bg))&&ca.request.start(Object(n.d)(ca));return function(){var ka=Object(n.c)(pa,fa,h);if(-1!==ka){var la=--h[ka].VP;0===la&&h[ka].request&&h[ka].request.abort()}else ka=Object(n.c)(pa,fa,f),-1!==ka&&(la=--f[ka].VP,0===la&&f.splice(ka,
|
|
9
|
+
1))}};ha.prototype.Sca=function(){return{start:-ja.a}};ha.prototype.SKa=function(){var ca=-(ja.a+ja.e);return{start:ca-ja.d,end:ca}};ha.prototype.EB=function(ca){var fa=this;this.iM=!0;var ea=ja.a;this.wu(this.url,this.Sca(),function(pa,ka,la){function ra(){var qa=fa.ff.Nca();fa.wu(fa.url,qa,function(sa,ta){if(sa)return Object(na.j)("Error loading central directory: ".concat(sa)),ca(sa);ta=Object(ba.a)(ta);if(ta.length!==qa.stop-qa.start)return ca("Invalid XOD file: Zip central directory data is wrong size! Should be ".concat(qa.stop-
|
|
10
|
+
qa.start," but is ").concat(ta.length));fa.ff.bja(ta);fa.NV=!0;fa.iM=!1;return ca(!1)})}if(pa)return Object(na.j)("Error loading end header: ".concat(pa)),ca(pa,ka,la);ka=Object(ba.a)(ka);if(ka.length!==ea)return ca("Invalid XOD file: Zip end header data is wrong size!");try{fa.ff=new ia.a(ka)}catch(qa){return ca(qa)}fa.ff.zOa?fa.wu(fa.url,fa.SKa(),function(qa,sa){if(qa)return Object(na.j)("Error loading zip64 header: ".concat(qa)),ca(qa);sa=Object(ba.a)(sa);fa.ff.hPa(sa);ra()}):ra()})};ha.prototype.wda=
|
|
11
|
+
function(ca){ca(Object.keys(this.ff.Qt))};ha.prototype.F1=function(ca,fa){var ea=this;if(this.ff.R$(ca)){var pa=this.ff.aG(ca);if(pa in this.Cn){var ka=this.qk[ca];ka.Xz=this.Cn[pa];ka.Xz.Vr++;ka.cancel=ka.Xz.cancel}else{var la=this.ff.DHa(ca),ra=this.wu(this.url,la,function(sa,ta){sa?(Object(na.j)('Error loading part "'.concat(ca,'": ').concat(sa)),ea.wu(ea.url,la,function(va,xa){if(va)return fa(va,ca);ea.fja(xa,la,pa,ca,fa)})):ea.fja(ta,la,pa,ca,fa)}),qa=this.qk[ca];qa&&(qa.yma=!0,qa.cancel=function(){qa.Xz.Vr--;
|
|
12
|
+
0===qa.Xz.Vr&&(ra(),delete ea.Cn[pa])},this.Cn[pa]=new b(pa),qa.Xz=this.Cn[pa],qa.Xz.cancel=qa.cancel)}}else delete this.qk[ca],fa(Error('File not found: "'.concat(ca,'"')),ca)};ha.prototype.fja=function(ca,fa,ea,pa,ka){if(ca.length!==fa.stop-fa.start)ka(Error("Part data is wrong size!"),pa);else{do{if(!this.Cn[ea])return;pa=this.Cn[ea].Vr;for(var la=fa.$x.length,ra=0;ra<la;++ra){var qa=fa.$x[ra];ka(!1,qa.Wx,ca["string"===typeof ca?"substring":"subarray"](qa.start,qa.stop),this.ff.hfa(qa.Wx));qa.Wx in
|
|
13
|
+
this.qk&&delete this.qk[qa.Wx]}}while(pa!==this.Cn[ea].Vr);delete this.Cn[ea]}};ha.DISABLE_RANGE_HEADER=!1;ha.B5=3;return ha}(wa.a);(function(aa){function ha(ca,fa,ea){var pa=aa.call(this)||this,ka;for(ka in ca)pa[ka]=ca[ka];pa.z7a=ca;pa.startOffset=fa;pa.endOffset=ea;pa.laa=function(la,ra,qa,sa){Object(oa.isUndefined)(ra.stop)?(ra.start+=pa.endOffset,ra.stop=pa.endOffset):(ra.start+=pa.startOffset,ra.stop+=pa.startOffset);la=pa.hF(pa.url,ra,pa.$L);return new ca.nI(la,ra,qa,sa)};return pa}Object(ma.d)(ha,
|
|
14
|
+
aa);return ha})(z);Object(e.a)(z);Object(e.b)(z);ua["default"]=z}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[6],{671:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(393);wa=e(663);e(38);e=e(585);var na=function(
|
|
3
|
-
return ia}(wa.ByteRangeRequest);wa=function(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[6],{671:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(393);wa=e(663);e(38);e=e(585);var na=function(ja){function ia(ba,y){var x=ja.call(this,ba,y)||this;x.url=ba;x.range=y;x.status=oa.a.NOT_STARTED;return x}Object(ma.d)(ia,ja);ia.prototype.start=function(){var ba=document.createElement("IFRAME");ba.setAttribute("src",this.url);document.documentElement.appendChild(ba);ba.parentNode.removeChild(ba);this.status=oa.a.STARTED;this.mO()};
|
|
3
|
+
return ia}(wa.ByteRangeRequest);wa=function(ja){function ia(ba,y,x,n){ba=ja.call(this,ba,y,x,n)||this;ba.nI=na;return ba}Object(ma.d)(ia,ja);ia.prototype.hF=function(ba,y){return"".concat(ba,"#").concat(y.start,"&").concat(y.stop?y.stop:"")};return ia}(wa["default"]);Object(e.a)(wa);Object(e.b)(wa);ua["default"]=wa}}]);}).call(this || window)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{665:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(2),na=e(238);wa=e(141);var
|
|
3
|
-
n,f){var h=this,r=new FileReader;r.onloadend=function(b){if(0<h.
|
|
4
|
-
h.
|
|
5
|
-
n.ff.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{665:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(2),na=e(238);wa=e(141);var ja=e(394);e=e(585);var ia=window;wa=function(ba){function y(x,n,f){n=ba.call(this,x,n,f)||this;if(x.name&&"xod"!==x.name.toLowerCase().split(".").pop())throw Error("Not an XOD file");if(!ia.FileReader||!ia.File||!ia.Blob)throw Error("File API is not supported in this browser");n.file=x;n.mM=[];n.oW=0;return n}Object(ma.d)(y,ba);y.prototype.T_=function(x,
|
|
3
|
+
n,f){var h=this,r=new FileReader;r.onloadend=function(b){if(0<h.mM.length){var a=h.mM.shift();a.HTa.readAsBinaryString(a.file)}else h.oW--;if(r.error){b=r.error;if(b.code===b.ABORT_ERR){Object(oa.j)("Request for chunk ".concat(n.start,"-").concat(n.stop," was aborted"));return}return f(b)}if(b=r.content||b.target.result)return f(!1,b);Object(oa.j)("No data was returned from FileReader.")};n&&(x=(x.slice||x.webkitSlice||x.mozSlice||x.V5a).call(x,n.start,n.stop));0===h.mM.length&&50>h.oW?(r.readAsBinaryString(x),
|
|
4
|
+
h.oW++):h.mM.push({HTa:r,file:x});return function(){r.abort()}};y.prototype.EB=function(x){var n=this;n.iM=!0;var f=na.a;n.T_(n.file,{start:-f,stop:n.file.size},function(h,r){if(h)return Object(oa.j)("Error loading end header: %s ".concat(h)),x(h);if(r.length!==f)throw Error("Zip end header data is wrong size!");n.ff=new ja.a(r);var b=n.ff.Nca();n.T_(n.file,b,function(a,w){if(a)return Object(oa.j)("Error loading central directory: %s ".concat(a)),x(a);if(w.length!==b.stop-b.start)throw Error("Zip central directory data is wrong size!");
|
|
5
|
+
n.ff.bja(w);n.NV=!0;n.iM=!1;return x(!1)})})};y.prototype.F1=function(x,n){var f=this,h=f.qk[x];if(f.ff.R$(x)){var r=f.ff.bG(x),b=f.T_(f.file,r,function(a,w){delete f.qk[x];if(a)return Object(oa.j)('Error loading part "%s": %s, '.concat(x,", ").concat(a)),n(a);if(w.length!==r.stop-r.start)throw Error("Part data is wrong size!");n(!1,x,w,f.ff.hfa(x))});h.yma=!0;h.cancel=b}else n(Error('File not found: "'.concat(x,'"')),x)};return y}(wa.a);Object(e.a)(wa);Object(e.b)(wa);ua["default"]=wa}}]);}).call(this || window)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{666:function(wa,ua,e){e.r(ua);var ma=e(0);wa=e(49);var oa=e(585),na=e(332),
|
|
3
|
-
[4,Object(na.b)(
|
|
4
|
-
n.readAsArrayBuffer(this.file)};
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{666:function(wa,ua,e){e.r(ua);var ma=e(0);wa=e(49);var oa=e(585),na=e(332),ja=e(28),ia=window;e=function(){function ba(y){var x=this;this.CNa=function(n){return n&&("image"===n.type.split("/")[0].toLowerCase()||n.name&&!!n.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=y;this.TNa=new Promise(function(n){return Object(ma.c)(x,void 0,void 0,function(){var f;return Object(ma.e)(this,function(h){switch(h.label){case 0:return this.CNa(this.file)?
|
|
3
|
+
[4,Object(na.b)(y)]:[3,2];case 1:f=h.aa(),this.file=ja.r?new Blob([f],{type:y.type}):new File([f],null===y||void 0===y?void 0:y.name,{type:y.type}),h.label=2;case 2:return n(!0),[2]}})})})}ba.prototype.getFileData=function(y){var x=this,n=new FileReader;n.onload=function(f){x.trigger(ba.Events.DOCUMENT_LOADING_PROGRESS,[f.loaded,f.loaded]);y(new Uint8Array(f.target.result))};n.onprogress=function(f){f.lengthComputable&&x.trigger(ba.Events.DOCUMENT_LOADING_PROGRESS,[f.loaded,0<f.total?f.total:0])};
|
|
4
|
+
n.readAsArrayBuffer(this.file)};ba.prototype.getFile=function(){return Object(ma.c)(this,void 0,Promise,function(){return Object(ma.e)(this,function(y){switch(y.label){case 0:return[4,this.TNa];case 1:return y.aa(),ia.da.isJSWorker?[2,this.file.path]:[2,this.file]}})})};ba.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress"};return ba}();Object(wa.b)(e);Object(oa.a)(e);Object(oa.b)(e);ua["default"]=e}}]);}).call(this || window)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{677:function(wa,ua,e){function ma(fa){fa.ib();fa.advance();var ea=fa.current.textContent;fa.Mb();return ea}function oa(fa){var ea=[];for(fa.ib();fa.advance();){var pa=fa.qb();"field"===pa?ea.push(String(fa.
|
|
3
|
-
javascript:fa.current.textContent};case "uri":return{name:"URI",uri:fa.
|
|
4
|
-
0});ea=ea.za({x:fa.
|
|
5
|
-
"POST",exclude:na(fa.
|
|
6
|
-
{name:"Hide",hide:na(fa.
|
|
7
|
-
|
|
8
|
-
ea+ra*ra)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(fa.ib();fa.advance();)switch(
|
|
9
|
-
return ea}function n(fa,ea){var pa=fa.
|
|
10
|
-
return new window.da.Annotations.xa.Tb(pa,
|
|
11
|
-
new a.a.RadioButtonWidgetAnnotation(fa,ea):new a.a.CheckButtonWidgetAnnotation(fa,ea);case "Sig":return new a.a.SignatureWidgetAnnotation(fa,ea);default:Object(r.j)("Unrecognised field type: ".concat(fa.type))}return null}function h(fa,ea,pa,
|
|
12
|
-
[];for(fa.ib();fa.advance();){var
|
|
13
|
-
backgroundColor:[],fieldName:fa.
|
|
14
|
-
break;case "border":
|
|
15
|
-
"appearance"===Aa){Aa=
|
|
16
|
-
|
|
17
|
-
function(){fa.Mb();pa({calculationOrder:qa,widgets:la,fields:ra,documentActions:sa,pages:ta,custom:[]})},
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[9],{677:function(wa,ua,e){function ma(fa){fa.ib();fa.advance();var ea=fa.current.textContent;fa.Mb();return ea}function oa(fa){var ea=[];for(fa.ib();fa.advance();){var pa=fa.qb();"field"===pa?ea.push(String(fa.ja("name"))):Object(r.j)("unrecognised field list element: ".concat(pa))}fa.Mb();return ea}function na(fa,ea){return ea?"false"!==fa:"true"===fa}function ja(fa,ea){var pa=fa.qb();switch(pa){case "javascript":return{name:"JavaScript",
|
|
3
|
+
javascript:fa.current.textContent};case "uri":return{name:"URI",uri:fa.ja("uri")};case "goto":pa=null;fa.ib();if(fa.advance()){var ka=fa.ja("fit");pa={page:fa.ja("page"),fit:ka};if("0"===pa.page)Object(r.j)("null page encountered in dest");else switch(ea=ea(Number(pa.page)),ka){case "Fit":case "FitB":break;case "FitH":case "FitBH":pa.top=ea.za({x:0,y:fa.ja("top")||0}).y;break;case "FitV":case "FitBV":pa.left=ea.za({x:fa.ja("left")||0,y:0}).x;break;case "FitR":ka=ea.za({x:fa.ja("left")||0,y:fa.ja("top")||
|
|
4
|
+
0});ea=ea.za({x:fa.ja("right")||0,y:fa.ja("bottom")||0});ea=new w.d(ka.x,ka.y,ea.x,ea.y);pa.top=ea.y1;pa.left=ea.x1;pa.bottom=ea.y2;pa.right=ea.x2;break;case "XYZ":ka=ea.za({x:fa.ja("left")||0,y:fa.ja("top")||0});pa.top=ka.y;pa.left=ka.x;pa.zoom=fa.ja("zoom")||0;break;default:Object(r.j)("unknown dest fit: ".concat(ka))}pa={name:"GoTo",dest:pa}}else Object(r.j)("missing dest in GoTo action");fa.Mb();return pa;case "submit-form":pa={name:"SubmitForm",url:fa.ja("url"),format:fa.ja("format"),method:fa.ja("method")||
|
|
5
|
+
"POST",exclude:na(fa.ja("exclude"),!1)};ea=fa.ja("flags");pa.flags=ea?ea.split(" "):[];for(fa.ib();fa.advance();)switch(ea=fa.qb(),ea){case "fields":pa.fields=oa(fa);break;default:Object(r.j)("unrecognised submit-form child: ".concat(ea))}fa.Mb();return pa;case "reset-form":pa={name:"ResetForm",exclude:na(fa.ja("exclude"),!1)};for(fa.ib();fa.advance();)switch(ea=fa.qb(),ea){case "fields":pa.fields=oa(fa);break;default:Object(r.j)("unrecognised reset-form child: ".concat(ea))}fa.Mb();return pa;case "hide":pa=
|
|
6
|
+
{name:"Hide",hide:na(fa.ja("hide"),!0)};for(fa.ib();fa.advance();)switch(ea=fa.qb(),ea){case "fields":pa.fields=oa(fa);break;default:Object(r.j)("unrecognised hide child: ".concat(ea))}fa.Mb();return pa;case "named":return{name:"Named",action:fa.ja("name")};default:Object(r.j)("Encountered unexpected action type: ".concat(pa))}return null}function ia(fa,ea,pa){var ka={};for(fa.ib();fa.advance();){var la=fa.qb();switch(la){case "action":la=fa.ja("trigger");if(ea?-1!==ea.indexOf(la):1){ka[la]=[];for(fa.ib();fa.advance();){var ra=
|
|
7
|
+
ja(fa,pa);Object(b.isNull)(ra)||ka[la].push(ra)}fa.Mb()}else Object(r.j)("encountered unexpected trigger on field: ".concat(la));break;default:Object(r.j)("encountered unknown action child: ".concat(la))}}fa.Mb();return ka}function ba(fa){return new z.a(fa.ja("r")||0,fa.ja("g")||0,fa.ja("b")||0,fa.ja("a")||1)}function y(fa,ea){var pa=fa.ja("name"),ka=fa.ja("type")||"Type1",la=fa.ja("size"),ra=ea.za({x:0,y:0});la=ea.za({x:Number(la),y:0});ea=ra.x-la.x;ra=ra.y-la.y;pa={name:pa,type:ka,size:Math.sqrt(ea*
|
|
8
|
+
ea+ra*ra)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(fa.ib();fa.advance();)switch(ka=fa.qb(),ka){case "stroke-color":pa.strokeColor=ba(fa);break;case "fill-color":pa.fillColor=ba(fa);break;default:Object(r.j)("unrecognised font child: ".concat(ka))}fa.Mb();return pa}function x(fa){var ea=[];for(fa.ib();fa.advance();){var pa=fa.qb();switch(pa){case "option":pa=ea;var ka=pa.push;var la=fa;la={value:la.ja("value"),displayValue:la.ja("display-value")||void 0};ka.call(pa,la);break;default:Object(r.j)("unrecognised options child: ".concat(pa))}}fa.Mb();
|
|
9
|
+
return ea}function n(fa,ea){var pa=fa.ja("name"),ka={type:fa.ja("type"),quadding:fa.ja("quadding")||"Left-justified",maxLen:fa.ja("max-len")||-1},la=fa.ja("flags");Object(b.isString)(la)&&(ka.flags=la.split(" "));for(fa.ib();fa.advance();)switch(la=fa.qb(),la){case "actions":ka.actions=ia(fa,["C","F","K","V"],function(){return ea});break;case "default-value":ka.defaultValue=ma(fa);break;case "font":ka.font=y(fa,ea);break;case "options":ka.options=x(fa);break;default:Object(r.j)("unknown field child: ".concat(la))}fa.Mb();
|
|
10
|
+
return new window.da.Annotations.xa.Tb(pa,ka)}function f(fa,ea){switch(fa.type){case "Tx":try{if(Object(ha.c)(fa.actions))return new a.a.DatePickerWidgetAnnotation(fa,ea)}catch(pa){Object(r.j)(pa)}return new a.a.TextWidgetAnnotation(fa,ea);case "Ch":return fa.flags.get(ca.WidgetFlags.COMBO)?new a.a.ChoiceWidgetAnnotation(fa,ea):new a.a.ListWidgetAnnotation(fa,ea);case "Btn":return fa.flags.get(ca.WidgetFlags.PUSH_BUTTON)?new a.a.PushButtonWidgetAnnotation(fa,ea):fa.flags.get(ca.WidgetFlags.RADIO)?
|
|
11
|
+
new a.a.RadioButtonWidgetAnnotation(fa,ea):new a.a.CheckButtonWidgetAnnotation(fa,ea);case "Sig":return new a.a.SignatureWidgetAnnotation(fa,ea);default:Object(r.j)("Unrecognised field type: ".concat(fa.type))}return null}function h(fa,ea,pa,ka){var la=[],ra={};fa.ib();var qa=[],sa={},ta=[];Object(aa.a)(function(){if(fa.advance()){var va=fa.qb();switch(va){case "calculation-order":qa="calculation-order"===fa.qb()?oa(fa):[];break;case "document-actions":sa=ia(fa,["Init","Open"],ea);break;case "pages":va=
|
|
12
|
+
[];for(fa.ib();fa.advance();){var xa=fa.qb();switch(xa){case "page":xa=va;var za=xa.push,Aa=fa,Ga=ea,Ca={number:Aa.ja("number")};for(Aa.ib();Aa.advance();){var Ea=Aa.qb();switch(Ea){case "actions":Ca.actions=ia(Aa,["O","C"],Ga);break;default:Object(r.j)("unrecognised page child: ".concat(Ea))}}Aa.Mb();za.call(xa,Ca);break;default:Object(r.j)("unrecognised page child: ".concat(xa))}}fa.Mb();ta=va;break;case "field":xa=n(fa,ea(1));ra[xa.name]=xa;break;case "widget":va={border:{style:"Solid",width:1},
|
|
13
|
+
backgroundColor:[],fieldName:fa.ja("field"),page:fa.ja("page"),index:fa.ja("index")||0,rotation:fa.ja("rotation")||0,flags:[],isImporting:!0};(xa=fa.ja("appearance"))&&(va.appearance=xa);(xa=fa.ja("flags"))&&(va.flags=xa.split(" "));for(fa.ib();fa.advance();)switch(xa=fa.qb(),xa){case "rect":za=fa;Aa=ea(Number(va.page));xa=Aa.za({x:za.ja("x1")||0,y:za.ja("y1")||0});za=Aa.za({x:za.ja("x2")||0,y:za.ja("y2")||0});xa=new w.d(xa.x,xa.y,za.x,za.y);xa.normalize();va.rect={x1:xa.x1,y1:xa.y1,x2:xa.x2,y2:xa.y2};
|
|
14
|
+
break;case "border":xa=fa;za={style:xa.ja("style")||"Solid",width:xa.ja("width")||1,color:[0,0,0]};for(xa.ib();xa.advance();)switch(Aa=xa.qb(),Aa){case "color":za.color=ba(xa);break;default:Object(r.j)("unrecognised border child: ".concat(Aa))}xa.Mb();va.border=za;break;case "background-color":va.backgroundColor=ba(fa);break;case "actions":va.actions=ia(fa,"E X D U Fo Bl PO PC PV PI".split(" "),ea);break;case "appearances":xa=fa;za=Object(ha.b)(va,"appearances");for(xa.ib();xa.advance();)if(Aa=xa.qb(),
|
|
15
|
+
"appearance"===Aa){Aa=xa.ja("name");Ga=Object(ha.b)(za,Aa);Aa=xa;for(Aa.ib();Aa.advance();)switch(Ca=Aa.qb(),Ca){case "Normal":Object(ha.b)(Ga,"Normal").data=Aa.current.textContent;break;default:Object(r.j)("unexpected appearance state: ",Ca)}Aa.Mb()}else Object(r.j)("unexpected appearances child: ".concat(Aa));xa.Mb();break;case "extra":xa=fa;za=ea;Aa={};for(xa.ib();xa.advance();)switch(Ga=xa.qb(),Ga){case "font":Aa.font=y(xa,za(1));break;default:Object(r.j)("unrecognised extra child: ".concat(Ga))}xa.Mb();
|
|
16
|
+
xa=Aa;xa.font&&(va.font=xa.font);break;case "captions":za=fa;xa={};(Aa=za.ja("Normal"))&&(xa.Normal=Aa);(Aa=za.ja("Rollover"))&&(xa.Rollover=Aa);(za=za.ja("Down"))&&(xa.Down=za);va.captions=xa;break;default:Object(r.j)("unrecognised widget child: ".concat(xa))}fa.Mb();(xa=ra[va.fieldName])?(va=f(xa,va),la.push(va)):Object(r.j)("ignoring widget with no corresponding field data: ".concat(va.fieldName));break;default:Object(r.j)("Unknown element encountered in PDFInfo: ".concat(va))}return!0}return!1},
|
|
17
|
+
function(){fa.Mb();pa({calculationOrder:qa,widgets:la,fields:ra,documentActions:sa,pages:ta,custom:[]})},ka)}e.r(ua);e.d(ua,"parse",function(){return h});var r=e(2),b=e(1);e.n(b);var a=e(182),w=e(4),z=e(12),aa=e(28),ha=e(135),ca=e(18)}}]);}).call(this || window)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{682:function(wa,ua,e){e.r(ua);var ma=e(692),oa=e(179),na=e(68),
|
|
3
|
-
n?(
|
|
4
|
-
for(var n=
|
|
5
|
-
default:
|
|
6
|
-
f=z,this.
|
|
7
|
-
function(){return{m_Struct:this.Hd,m_Str:this.sc,m_Offsets:this.Cg,m_Quads:this.
|
|
8
|
-
function(){return Math.abs(this.
|
|
9
|
-
2+0],ia.y1=this.
|
|
10
|
-
f;
|
|
11
|
-
function(){this.
|
|
12
|
-
|
|
13
|
-
x
|
|
14
|
-
n;ia[6]=
|
|
15
|
-
r);
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{682:function(wa,ua,e){e.r(ua);var ma=e(692),oa=e(179),na=e(68),ja=e(102);wa=function(){function ia(){this.mc=this.Cg=this.sc=this.Hd=null;this.dh=!1}ia.prototype.clear=function(){Object(na.b)(this.Hd);this.sc="";Object(na.b)(this.Cg);Object(na.b)(this.mc);this.dh=!1};ia.prototype.wr=function(){this.Hd=[];this.Cg=[];this.mc=[];this.dh=!1};ia.prototype.SK=function(ba){for(var y="",x=0,n,f,h;x<ba.length;)n=ba.charCodeAt(x),9===
|
|
3
|
+
n?(y+=String.fromCharCode(10),x++):128>n?(y+=String.fromCharCode(n),x++):191<n&&224>n?(f=ba.charCodeAt(x+1),y+=String.fromCharCode((n&31)<<6|f&63),x+=2):(f=ba.charCodeAt(x+1),h=ba.charCodeAt(x+2),y+=String.fromCharCode((n&15)<<12|(f&63)<<6|h&63),x+=3);return y};ia.prototype.initData=function(ba){this.Hd=[];this.Cg=[];this.mc=[];this.dh=!1;try{var y=new ja.a(ba);this.sc="";y.ib();if(!y.advance())return;var x=y.current.textContent;this.sc=x=this.SK(x);Object(na.b)(this.Cg);y.advance();x=y.current.textContent;
|
|
4
|
+
for(var n=x.split(","),f=Object(oa.a)(n);f.Fr();){var h=f.current;try{var r=parseInt(h.trim(),10);this.Cg.push(r)}catch(ca){}}Object(na.b)(this.Hd);y.advance();x=y.current.textContent;n=x.split(",");for(var b=Object(oa.a)(n);b.Fr();){h=b.current;try{r=parseFloat(h.trim()),this.Hd.push(r)}catch(ca){}}Object(na.b)(this.mc);y.advance();x=y.current.textContent;n=x.split(",");ba=[];y=[];x=0;for(var a=Object(oa.a)(n);a.Fr();){h=a.current;switch(h){case "Q":x=1;break;case "R":x=2;break;case "S":x=3;break;
|
|
5
|
+
default:x=0}if(x)ba.push(0),y.push(x);else try{r=parseFloat(h.trim()),ba.push(r),y.push(x)}catch(ca){return}}x=0;var w=ba.length;f=a=h=n=void 0;for(var z=b=0,aa=0;aa<w;){var ha=y[aa];if(0<ha)x=ha,++aa,3===x&&(b=ba[aa],z=ba[aa+1],aa+=2);else if(1===x)for(r=0;8>r;++r)this.mc.push(ba[aa++]);else 2===x?(n=ba[aa++],h=ba[aa++],a=ba[aa++],f=ba[aa++],this.mc.push(n),this.mc.push(h),this.mc.push(a),this.mc.push(h),this.mc.push(a),this.mc.push(f),this.mc.push(n),this.mc.push(f)):3===x&&(n=ba[aa++],h=b,a=ba[aa++],
|
|
6
|
+
f=z,this.mc.push(n),this.mc.push(h),this.mc.push(a),this.mc.push(h),this.mc.push(a),this.mc.push(f),this.mc.push(n),this.mc.push(f))}}catch(ca){return}this.sc.length&&this.sc.length===this.Cg.length&&8*this.sc.length===this.mc.length&&(this.dh=!0)};ia.prototype.ready=function(){return this.dh};ia.prototype.dG=function(){var ba=new ma.a;if(!this.Hd.length)return ba.en(this.Hd,-1,this.sc,this.mc,0),ba;ba.en(this.Hd,1,this.sc,this.mc,1);return ba};ia.prototype.$g=function(){return this.mc};ia.prototype.getData=
|
|
7
|
+
function(){return{m_Struct:this.Hd,m_Str:this.sc,m_Offsets:this.Cg,m_Quads:this.mc,m_Ready:this.dh}};return ia}();ua["default"]=wa},692:function(wa,ua,e){var ma=e(122),oa=e(75),na=e(704);wa=function(){function ja(){this.Qg=0;this.sg=this.Vc=this.Mi=null;this.kd=0;this.Ik=null}ja.prototype.wr=function(){this.Qg=-1;this.kd=0;this.Ik=[]};ja.prototype.en=function(ia,ba,y,x,n){this.Qg=ba;this.kd=n;this.Ik=[];this.Mi=ia;this.Vc=y;this.sg=x};ja.prototype.me=function(ia){return this.Qg===ia.Qg};ja.prototype.Ww=
|
|
8
|
+
function(){return Math.abs(this.Mi[this.Qg])};ja.prototype.Cx=function(){return 0<this.Mi[this.Qg]};ja.prototype.bl=function(){var ia=this.Cx()?6:10,ba=new na.a;ba.en(this.Mi,this.Qg+ia,this.Qg,this.Vc,this.sg,1);return ba};ja.prototype.gl=function(){var ia=this.Qg+parseInt(this.Mi[this.Qg+1],10);if(ia>=this.Mi.length)return ia=new ja,ia.en(this.Mi,-1,this.Vc,this.sg,0),ia;var ba=new ja;ba.en(this.Mi,ia,this.Vc,this.sg,this.kd+1);return ba};ja.prototype.getBBox=function(ia){if(this.Cx())ia.x1=this.Mi[this.Qg+
|
|
9
|
+
2+0],ia.y1=this.Mi[this.Qg+2+1],ia.x2=this.Mi[this.Qg+2+2],ia.y2=this.Mi[this.Qg+2+3];else{for(var ba=1.79769E308,y=ma.a.MIN,x=1.79769E308,n=ma.a.MIN,f=0;4>f;++f){var h=this.Mi[this.Qg+2+2*f],r=this.Mi[this.Qg+2+2*f+1];ba=Math.min(ba,h);y=Math.max(y,h);x=Math.min(x,r);n=Math.max(n,r)}ia.x1=ba;ia.y1=x;ia.x2=y;ia.y2=n}};ja.prototype.YN=function(){if(this.Ik.length)return this.Ik[0];var ia=new oa.a,ba=new oa.a,y=new na.a;y.wr();var x=this.bl(),n=new na.a;n.wr();for(var f=this.bl();!f.me(y);f=f.hl())n=
|
|
10
|
+
f;y=Array(8);f=Array(8);x.Zm(0,y);ia.x=(y[0]+y[2]+y[4]+y[6])/4;ia.y=(y[1]+y[3]+y[5]+y[7])/4;n.Zm(n.jr()-1,f);ba.x=(f[0]+f[2]+f[4]+f[6])/4;ba.y=(f[1]+f[3]+f[5]+f[7])/4;.01>Math.abs(ia.x-ba.x)&&.01>Math.abs(ia.y-ba.y)&&this.Ik.push(0);ia=Math.atan2(ba.y-ia.y,ba.x-ia.x);ia*=180/3.1415926;0>ia&&(ia+=360);this.Ik.push(ia);return 0};return ja}();ua.a=wa},704:function(wa,ua,e){var ma=e(692),oa=e(142),na=e(122);wa=function(){function ja(){this.mq=this.uf=0;this.sg=this.Vc=this.Hd=null;this.kd=0}ja.prototype.wr=
|
|
11
|
+
function(){this.mq=this.uf=-1;this.kd=0};ja.prototype.en=function(ia,ba,y,x,n,f){this.uf=ba;this.mq=y;this.Hd=ia;this.Vc=x;this.sg=n;this.kd=f};ja.prototype.me=function(ia){return this.uf===ia.uf};ja.prototype.jr=function(){return parseInt(this.Hd[this.uf],10)};ja.prototype.ck=function(){return parseInt(this.Hd[this.uf+2],10)};ja.prototype.dk=function(){return parseInt(this.Hd[this.uf+1],10)};ja.prototype.Cx=function(){return 0<this.Hd[this.mq]};ja.prototype.$Ia=function(){return Math.abs(this.Hd[this.mq])};
|
|
12
|
+
ja.prototype.hl=function(){var ia=this.Cx(),ba=ia?5:11;if(this.uf>=this.mq+(ia?6:10)+(this.$Ia()-1)*ba)return ba=new ja,ba.en(this.Hd,-1,-1,this.Vc,this.sg,0),ba;ia=new ja;ia.en(this.Hd,this.uf+ba,this.mq,this.Vc,this.sg,this.kd+1);return ia};ja.prototype.OHa=function(ia){var ba=this.jr();return 0>ia||ia>=ba?-1:parseInt(this.Hd[this.uf+1],10)+ia};ja.prototype.Zm=function(ia,ba){ia=this.OHa(ia);if(!(0>ia)){var y=new ma.a;y.en(this.Hd,this.mq,this.Vc,this.sg,0);if(y.Cx()){var x=new oa.a;y.getBBox(x);
|
|
13
|
+
y=x.y1<x.y2?x.y1:x.y2;x=x.y1>x.y2?x.y1:x.y2;ia*=8;ba[0]=this.sg[ia];ba[1]=y;ba[2]=this.sg[ia+2];ba[3]=ba[1];ba[4]=this.sg[ia+4];ba[5]=x;ba[6]=this.sg[ia+6];ba[7]=ba[5]}else for(ia*=8,y=0;8>y;++y)ba[y]=this.sg[ia+y]}};ja.prototype.ak=function(ia){var ba=new ma.a;ba.en(this.Hd,this.mq,this.Vc,this.sg,0);if(ba.Cx()){var y=this.Hd[this.uf+3],x=this.Hd[this.uf+4];if(y>x){var n=y;y=x;x=n}n=new oa.a;ba.getBBox(n);ba=n.y1<n.y2?n.y1:n.y2;n=n.y1>n.y2?n.y1:n.y2;ia[0]=y;ia[1]=ba;ia[2]=x;ia[3]=ba;ia[4]=x;ia[5]=
|
|
14
|
+
n;ia[6]=y;ia[7]=n}else for(y=this.uf+3,x=0;8>x;++x)ia[x]=this.Hd[y+x]};ja.prototype.getBBox=function(ia){var ba=new ma.a;ba.en(this.Hd,this.mq,this.Vc,this.sg,0);if(ba.Cx()){var y=this.Hd[this.uf+3],x=this.Hd[this.uf+4];if(y>x){var n=y;y=x;x=n}n=new oa.a;ba.getBBox(n);ba=n.y1<n.y2?n.y1:n.y2;n=n.y1>n.y2?n.y1:n.y2;ia[0]=y;ia[1]=ba;ia[2]=x;ia[3]=n}else{y=1.79769E308;x=na.a.MIN;ba=1.79769E308;n=na.a.MIN;for(var f=this.uf+3,h=0;4>h;++h){var r=this.Hd[f+2*h],b=this.Hd[f+2*h+1];y=Math.min(y,r);x=Math.max(x,
|
|
15
|
+
r);ba=Math.min(ba,b);n=Math.max(n,b)}ia[0]=y;ia[1]=ba;ia[2]=x;ia[3]=n}};return ja}();ua.a=wa}}]);}).call(this || window)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{672:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(1);e.n(oa);var na=e(2),
|
|
3
|
-
"XMLHttpRequest");this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=
|
|
4
|
-
fa&&0===ha.status;if(ha.readyState!==
|
|
5
|
-
this.trigger(b.Events.DONE);else return w=Math.min(this.
|
|
6
|
-
{DONE:"done",DATA:"data",ABORTED:"aborted"};return b}();Object(wa.b)(f);var h;(function(b){b[b.LOCAL_HEADER=0]="LOCAL_HEADER";b[b.FILE=1]="FILE";b[b.CENTRAL_DIR=2]="CENTRAL_DIR"})(h||(h={}));var r=function(b){function a(){var w=b.call(this)||this;w.buffer="";w.state=h.LOCAL_HEADER;w.
|
|
7
|
-
|
|
8
|
-
return!1};a.Events={HEADER:"header",FILE:"file"};return a}(
|
|
9
|
-
w(ha),ha;}});this.stream.addEventListener(f.Events.DONE,function(
|
|
10
|
-
w.forEach(function(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{672:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(1);e.n(oa);var na=e(2),ja=e(238);wa=e(49);var ia=e(141),ba=e(394),y=e(110),x=e(393);e=e(585);var n=window,f=function(){function b(a,w,z){var aa=-1===a.indexOf("?")?"?":"&";switch(w){case y.a.NEVER_CACHE:this.url="".concat(a+aa,"_=").concat(Object(oa.uniqueId)());break;default:this.url=a}this.bg=z;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);this.request.setRequestHeader("X-Requested-With",
|
|
3
|
+
"XMLHttpRequest");this.request.overrideMimeType?this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=x.a.NOT_STARTED}b.prototype.start=function(a,w){var z=this,aa=this,ha=this.request,ca;aa.nH=0;a&&Object.keys(a).forEach(function(fa){z.request.setRequestHeader(fa,a[fa])});w&&(this.request.withCredentials=w);this.BQ=setInterval(function(){var fa=0===window.document.URL.indexOf("file:///");fa=200===ha.status||
|
|
4
|
+
fa&&0===ha.status;if(ha.readyState!==x.b.DONE||fa){try{ha.responseText}catch(ea){return}aa.nH<ha.responseText.length&&(ca=aa.nTa())&&aa.trigger(b.Events.DATA,[ca]);0===ha.readyState&&(clearInterval(aa.BQ),aa.trigger(b.Events.DONE))}else clearInterval(aa.BQ),aa.trigger(b.Events.DONE,["Error received return status ".concat(ha.status)])},1E3);this.request.send(null);this.status=x.a.STARTED};b.prototype.nTa=function(){var a=this.request,w=a.responseText;if(0!==w.length)if(this.nH===w.length)clearInterval(this.BQ),
|
|
5
|
+
this.trigger(b.Events.DONE);else return w=Math.min(this.nH+3E6,w.length),a=n.Cda(a,this.nH,!0,w),this.nH=w,a};b.prototype.abort=function(){clearInterval(this.BQ);var a=this;this.request.onreadystatechange=function(){Object(na.j)("StreamingRequest aborted");a.status=x.a.ABORTED;return a.trigger(b.Events.ABORTED)};this.request.abort()};b.prototype.finish=function(){var a=this;this.request.onreadystatechange=function(){a.status=x.a.SUCCESS;return a.trigger(b.Events.DONE)};this.request.abort()};b.Events=
|
|
6
|
+
{DONE:"done",DATA:"data",ABORTED:"aborted"};return b}();Object(wa.b)(f);var h;(function(b){b[b.LOCAL_HEADER=0]="LOCAL_HEADER";b[b.FILE=1]="FILE";b[b.CENTRAL_DIR=2]="CENTRAL_DIR"})(h||(h={}));var r=function(b){function a(){var w=b.call(this)||this;w.buffer="";w.state=h.LOCAL_HEADER;w.F3=4;w.Cr=null;w.QB=ja.c;w.Qt={};return w}Object(ma.d)(a,b);a.prototype.USa=function(w){var z;for(w=this.buffer+w;w.length>=this.QB;)switch(this.state){case h.LOCAL_HEADER:this.Cr=z=this.rTa(w.slice(0,this.QB));if(z.EC!==
|
|
7
|
+
ja.g)throw Error("Wrong signature in local header: ".concat(z.EC));w=w.slice(this.QB);this.state=h.FILE;this.QB=z.xV+z.Mx+z.DF+this.F3;this.trigger(a.Events.HEADER,[z]);break;case h.FILE:this.Cr.name=w.slice(0,this.Cr.Mx);this.Qt[this.Cr.name]=this.Cr;z=this.QB-this.F3;var aa=w.slice(this.Cr.Mx+this.Cr.DF,z);this.trigger(a.Events.FILE,[this.Cr.name,aa,this.Cr.$V]);w=w.slice(z);if(w.slice(0,this.F3)===ja.h)this.state=h.LOCAL_HEADER,this.QB=ja.c;else return this.state=h.CENTRAL_DIR,!0}this.buffer=w;
|
|
8
|
+
return!1};a.Events={HEADER:"header",FILE:"file"};return a}(ba.a);Object(wa.b)(r);wa=function(b){function a(w,z,aa,ha,ca){aa=b.call(this,w,aa,ha)||this;aa.url=w;aa.stream=new f(w,z);aa.ff=new r;aa.wia=window.createPromiseCapability();aa.mja={};aa.bg=ca;return aa}Object(ma.d)(a,b);a.prototype.yI=function(w){var z=this;this.request([this.Yn,this.Xp,this.Xn]);this.stream.addEventListener(f.Events.DATA,function(aa){try{if(z.ff.USa(aa))return z.stream.finish()}catch(ha){throw z.stream.abort(),z.Hw(ha),
|
|
9
|
+
w(ha),ha;}});this.stream.addEventListener(f.Events.DONE,function(aa){z.lSa=!0;z.wia.resolve();aa&&(z.Hw(aa),w(aa))});this.ff.addEventListener(r.Events.HEADER,Object(oa.bind)(this.lja,this));this.ff.addEventListener(r.Events.FILE,Object(oa.bind)(this.JTa,this));return this.stream.start(this.bg,this.withCredentials)};a.prototype.wda=function(w){var z=this;this.wia.promise.then(function(){w(Object.keys(z.ff.Qt))})};a.prototype.Lu=function(){return!0};a.prototype.request=function(w){var z=this;this.lSa&&
|
|
10
|
+
w.forEach(function(aa){z.mja[aa]||z.M0a(aa)})};a.prototype.lja=function(){};a.prototype.abort=function(){this.stream&&this.stream.abort()};a.prototype.M0a=function(w){this.trigger(ia.a.Events.PART_READY,[{Rb:w,error:"Requested part not found",Jm:!1,Ui:!1}])};a.prototype.JTa=function(w,z,aa){this.mja[w]=!0;this.trigger(ia.a.Events.PART_READY,[{Rb:w,data:z,Jm:!1,Ui:!1,error:null,Me:aa}])};return a}(ia.a);Object(e.a)(wa);Object(e.b)(wa);ua["default"]=wa}}]);}).call(this || window)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Notice * This file contains works from many authors under various (but compatible) licenses. Please see core.txt for more information. **/
|
|
2
|
-
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{675:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(1);e.n(oa);wa=e(141);e=e(585);wa=function(na){function
|
|
3
|
-
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{675:function(wa,ua,e){e.r(ua);var ma=e(0),oa=e(1);e.n(oa);wa=e(141);e=e(585);wa=function(na){function ja(ia,ba,y){ba=na.call(this,ia,ba,y)||this;ba.db=ia;return ba}Object(ma.d)(ja,na);ja.prototype.request=function(ia){var ba=this;Object(oa.each)(ia,function(y){ba.db.get(y,function(x,n,f){return x?ba.trigger("partReady.partRetriever",{Rb:y,error:x}):ba.trigger("partReady.partRetriever",{Rb:y,data:n,Jm:!1,Ui:!1,error:null,Me:f})})})};
|
|
3
|
+
ja.prototype.EB=function(ia){ia()};return ja}(wa.a);Object(e.a)(wa);Object(e.b)(wa);ua["default"]=wa}}]);}).call(this || window)
|