@pdftron/webviewer 11.8.0-20250903 → 11.8.0-20250904
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 +2 -2
- 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 +1 -1
- package/public/core/ExternalAnnotationMerger.chunk.js +14 -14
- package/public/core/ExternalPdfPartRetriever.chunk.js +5 -5
- package/public/core/HttpPartRetriever.chunk.js +12 -12
- 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 +6 -6
- 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/officeEditor/OfficeEditorWorkerWasm.br.js.mem +0 -0
- package/public/core/officeEditor/OfficeEditorWorkerWasm.br.wasm +0 -0
- package/public/core/officeEditor/OfficeEditorWorkerWasm.gz.js.mem +0 -0
- package/public/core/officeEditor/OfficeEditorWorkerWasm.gz.wasm +0 -0
- package/public/core/pikaday.chunk.js +15 -15
- package/public/core/vendors.ascii85.chunk.js +6 -6
- package/public/core/vendors.pako.chunk.js +75 -75
- package/public/core/webviewer-core.min.js +4230 -4220
- package/public/ui/webviewer-ui.min.js +1 -1
- package/public/ui/webviewer-ui.min.js.map +1 -1
- package/types.d.ts +53 -9
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "11.8.0-
|
|
2
|
+
"version": "11.8.0-20250904",
|
|
3
3
|
"name": "@pdftron/webviewer",
|
|
4
4
|
"main": "webviewer.min.js",
|
|
5
5
|
"author": "Apryse",
|
|
6
|
-
"homepage": "https://docs.apryse.com/
|
|
6
|
+
"homepage": "https://docs.apryse.com/web/guides",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"PDF SDK",
|
|
9
9
|
"WebViewer",
|
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],{674:function(xa){(function(){xa.exports={Pa:function(){function ua(r,
|
|
3
|
-
|
|
4
|
-
ea;var fa=ea.scrollX||ea.pageXOffset;r=ea.scrollY||ea.pageYOffset;var ha=
|
|
5
|
-
Date.now,b=RegExp("MSIE |Trident/|Edge/").test(ea.navigator.userAgent)?1:0;ea.scroll=ea.scrollTo=function(r,
|
|
6
|
-
typeof r?r:0,void 0!==r.top?r.top:void 0!==
|
|
7
|
-
typeof
|
|
8
|
-
r.host;var
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[19],{674:function(xa){(function(){xa.exports={Pa:function(){function ua(r,h){this.scrollLeft=r;this.scrollTop=h}function f(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,h){if("Y"===
|
|
3
|
+
h)return r.clientHeight+b<r.scrollHeight;if("X"===h)return r.clientWidth+b<r.scrollWidth}function na(r,h){r=ea.getComputedStyle(r,null)["overflow"+h];return"auto"===r||"scroll"===r}function oa(r){var h=ma(r,"Y")&&na(r,"Y");r=ma(r,"X")&&na(r,"X");return h||r}function ja(r){var h=(e()-r.startTime)/468;var a=.5*(1-Math.cos(Math.PI*(1<h?1:h)));h=r.Vr+(r.x-r.Vr)*a;a=r.wI+(r.y-r.wI)*a;r.method.call(r.sQ,h,a);h===r.x&&a===r.y||ea.requestAnimationFrame(ja.bind(ea,r))}function ia(r,h,a){var x=e();if(r===w.body){var ba=
|
|
4
|
+
ea;var fa=ea.scrollX||ea.pageXOffset;r=ea.scrollY||ea.pageYOffset;var ha=n.scroll}else ba=r,fa=r.scrollLeft,r=r.scrollTop,ha=ua;ja({sQ:ba,method:ha,startTime:x,Vr:fa,wI:r,x:h,y:a})}var ea=window,w=document;if(!("scrollBehavior"in w.documentElement.style&&!0!==ea.F2a)){var z=ea.HTMLElement||ea.Element,n={scroll:ea.scroll||ea.scrollTo,scrollBy:ea.scrollBy,paa:z.prototype.scroll||ua,scrollIntoView:z.prototype.scrollIntoView},e=ea.performance&&ea.performance.now?ea.performance.now.bind(ea.performance):
|
|
5
|
+
Date.now,b=RegExp("MSIE |Trident/|Edge/").test(ea.navigator.userAgent)?1:0;ea.scroll=ea.scrollTo=function(r,h){void 0!==r&&(!0===f(r)?n.scroll.call(ea,void 0!==r.left?r.left:"object"!==typeof r?r:ea.scrollX||ea.pageXOffset,void 0!==r.top?r.top:void 0!==h?h:ea.scrollY||ea.pageYOffset):ia.call(ea,w.body,void 0!==r.left?~~r.left:ea.scrollX||ea.pageXOffset,void 0!==r.top?~~r.top:ea.scrollY||ea.pageYOffset))};ea.scrollBy=function(r,h){void 0!==r&&(f(r)?n.scrollBy.call(ea,void 0!==r.left?r.left:"object"!==
|
|
6
|
+
typeof r?r:0,void 0!==r.top?r.top:void 0!==h?h:0):ia.call(ea,w.body,~~r.left+(ea.scrollX||ea.pageXOffset),~~r.top+(ea.scrollY||ea.pageYOffset)))};z.prototype.scroll=z.prototype.scrollTo=function(r,h){if(void 0!==r)if(!0===f(r)){if("number"===typeof r&&void 0===h)throw new SyntaxError("Value could not be converted");n.paa.call(this,void 0!==r.left?~~r.left:"object"!==typeof r?~~r:this.scrollLeft,void 0!==r.top?~~r.top:void 0!==h?~~h:this.scrollTop)}else h=r.left,r=r.top,ia.call(this,this,"undefined"===
|
|
7
|
+
typeof h?this.scrollLeft:~~h,"undefined"===typeof r?this.scrollTop:~~r)};z.prototype.scrollBy=function(r,h){void 0!==r&&(!0===f(r)?n.paa.call(this,void 0!==r.left?~~r.left+this.scrollLeft:~~r+this.scrollLeft,void 0!==r.top?~~r.top+this.scrollTop:~~h+this.scrollTop):this.scroll({left:~~r.left+this.scrollLeft,top:~~r.top+this.scrollTop,behavior:r.behavior}))};z.prototype.scrollIntoView=function(r){if(!0===f(r))n.scrollIntoView.call(this,void 0===r?!0:r);else{for(r=this;r!==w.body&&!1===oa(r);)r=r.parentNode||
|
|
8
|
+
r.host;var h=r.getBoundingClientRect(),a=this.getBoundingClientRect();r!==w.body?(ia.call(this,r,r.scrollLeft+a.left-h.left,r.scrollTop+a.top-h.top),"fixed"!==ea.getComputedStyle(r).position&&ea.scrollBy({left:h.left,top:h.top,behavior:"smooth"})):ea.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],{676:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(7),oa=f(2);xa=f(53);var ja=f(37),ia=f(20);f=function(){function ea(){this.init()}ea.prototype.init=function(){this.
|
|
3
|
-
break;case "delete":e="<delete><id>".concat(e.aId,"</id></delete>"),this.ha.Tt(e)}}};ea.prototype.
|
|
4
|
-
function(w,
|
|
5
|
-
dId:w});e.trigger(ea.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[e.lm[r.id],e.
|
|
6
|
-
null);this.connection&&this.connection.mw();this.ha&&this.ha.
|
|
7
|
-
case 1:
|
|
8
|
-
r.annots.push({at:"modify",aId:fa.Id,xfdf:"<modify>".concat(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[22],{676:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(7),oa=f(2);xa=f(53);var ja=f(37),ia=f(20);f=function(){function ea(){this.init()}ea.prototype.init=function(){this.Jxa=!1;this.fh=this.nq=this.connection=null;this.lm={};this.ha=this.AR=null};ea.prototype.BC=function(w){for(var z=this,n=0;n<w.length;++n){var e=w[n];switch(e.at){case "create":this.lm[e.author]||(this.lm[e.author]=e.aName);this.DKa(e);break;case "modify":this.ha.Tt(e.xfdf).then(function(b){z.ha.Hb(b[0])});
|
|
3
|
+
break;case "delete":e="<delete><id>".concat(e.aId,"</id></delete>"),this.ha.Tt(e)}}};ea.prototype.DKa=function(w){var z=this;this.ha.Tt(w.xfdf).then(function(n){n=n[0];n.authorId=w.author;z.ha.Hb(n);z.ha.trigger(na.d.UPDATE_ANNOTATION_PERMISSION,[n])})};ea.prototype.nJa=function(w,z,n){this.nq&&this.nq(w,z,n)};ea.prototype.preloadAnnotations=function(w){this.addEventListener("webViewerServerAnnotationsEnabled",this.nJa.bind(this,w,"add",{imported:!1}),{once:!0})};ea.prototype.initiateCollaboration=
|
|
4
|
+
function(w,z,n){var e=this;if(w){e.fh=z;e.ha=n.ia();n.addEventListener(na.i.DOCUMENT_UNLOADED,function(){e.disableCollaboration()});e.r0a(w);var b=new XMLHttpRequest;b.addEventListener("load",function(){if(200===b.status&&0<b.responseText.length)try{var r=JSON.parse(b.responseText);e.connection=exports.da.e2a(Object(ja.l)(e.fh,"blackbox/"),"annot");e.AR=r.id;e.lm[r.id]=r.user_name;e.ha.S1(r.id);e.connection.c6a(function(h){h.t&&h.t.startsWith("a_")&&h.data&&e.BC(h.data)},function(){e.connection.send({t:"a_retrieve",
|
|
5
|
+
dId:w});e.trigger(ea.Events.WEBVIEWER_SERVER_ANNOTATIONS_ENABLED,[e.lm[r.id],e.AR])},function(){e.disableCollaboration()})}catch(h){Object(oa.g)(h.message)}});b.open("GET",Object(ja.l)(this.fh,"demo/SessionInfo.jsp"));b.withCredentials=!0;b.send();e.Jxa=!0;e.ha.Lja(function(r){return e.lm[r.Author]||r.Author})}else Object(oa.g)("Document ID required for collaboration")};ea.prototype.disableCollaboration=function(){this.nq&&(this.ha.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.nq),this.nq=
|
|
6
|
+
null);this.connection&&this.connection.mw();this.ha&&this.ha.S1("Guest");this.init();this.trigger(ea.Events.WEBVIEWER_SERVER_ANNOTATIONS_DISABLED)};ea.prototype.r0a=function(w){var z=this;this.nq&&this.ha.removeEventListener(ia.a.Events.ANNOTATION_CHANGED,this.nq);this.nq=function(n,e,b){return Object(ma.c)(this,void 0,void 0,function(){var r,h,a,x,ba,fa,ha,y,ca;return Object(ma.e)(this,function(aa){switch(aa.label){case 0:if(b.imported)return[2];r={t:"a_".concat(e),dId:w,annots:[]};return[4,z.ha.Baa()];
|
|
7
|
+
case 1:h=aa.aa();"delete"!==e&&(a=(new DOMParser).parseFromString(h,"text/xml"),x=new XMLSerializer);for(ba=0;ba<n.length;ba++)fa=n[ba],y=ha=void 0,"add"===e?(ha=a.querySelector('[name="'.concat(fa.Id,'"]')),y=x.serializeToString(ha),ca=null,fa.InReplyTo&&(ca=z.ha.Gf(fa.InReplyTo).authorId||"default"),r.annots.push({at:"create",aId:fa.Id,author:z.AR,aName:z.lm[z.AR],parent:ca,xfdf:"<add>".concat(y,"</add>")})):"modify"===e?(ha=a.querySelector('[name="'.concat(fa.Id,'"]')),y=x.serializeToString(ha),
|
|
8
|
+
r.annots.push({at:"modify",aId:fa.Id,xfdf:"<modify>".concat(y,"</modify>")})):"delete"===e&&r.annots.push({at:"delete",aId:fa.Id});0<r.annots.length&&z.connection.send(r);return[2]}})})}.bind(z);this.ha.addEventListener(ia.a.Events.ANNOTATION_CHANGED,this.nq)};ea.Events={WEBVIEWER_SERVER_ANNOTATIONS_ENABLED:"webViewerServerAnnotationsEnabled",WEBVIEWER_SERVER_ANNOTATIONS_DISABLED:"webViewerServerAnnotationsDisabled"};return ea}();Object(xa.a)(f);ua["default"]=f}}]);}).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],{660:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(389);xa=f(656);f=f(579);var oa=window,ja=function(ia){function ea(w,
|
|
3
|
-
xa=function(ia){function ea(w,
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[1],{660:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(389);xa=f(656);f=f(579);var oa=window,ja=function(ia){function ea(w,z){var n=ia.call(this,w,z)||this;n.url=w;n.range=z;n.request=new XMLHttpRequest;n.request.open("GET",n.url,!0);oa.Uint8Array&&(n.request.responseType="arraybuffer");n.request.setRequestHeader("X-Requested-With","XMLHttpRequest");n.status=na.a.NOT_STARTED;return n}Object(ma.d)(ea,ia);return ea}(xa.ByteRangeRequest);
|
|
3
|
+
xa=function(ia){function ea(w,z,n,e){w=ia.call(this,w,z,n,e)||this;w.GH=ja;return w}Object(ma.d)(ea,ia);ea.prototype.EE=function(w,z){return"".concat(w,"/bytes=").concat(z.start,",").concat(z.stop?z.stop:"")};return ea}(xa["default"]);Object(f.a)(xa);Object(f.b)(xa);ua["default"]=xa}}]);}).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],{662:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(235);xa=f(656);f=f(579);xa=function(oa){function ja(ia,ea,w,
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[3],{662:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(235);xa=f(656);f=f(579);xa=function(oa){function ja(ia,ea,w,z){return oa.call(this,ia,ea,w,z)||this}Object(ma.d)(ja,oa);ja.prototype.Wba=function(){return{start:this.Gaa-na.a,stop:this.Gaa}};ja.prototype.hB=function(ia){var ea=this;this.du(this.url,{start:0,stop:1},function(w,z,n){if(w)return ia(w);w=n.request.getResponseHeader("Content-Range");ea.Gaa=w.split("/")[1];oa.prototype.hB.call(ea,
|
|
3
3
|
ia)})};return ja}(xa["default"]);Object(f.a)(xa);Object(f.b)(xa);ua["default"]=xa}}]);}).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],{673:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(695),oa=f(696),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={}));xa=function(){function ia(ea){this.ba=ea;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED}ia.prototype.
|
|
3
|
-
|
|
4
|
-
[2];
|
|
5
|
-
ia.prototype.merge=function(ea,w,
|
|
6
|
-
w){var
|
|
7
|
-
"xfdf > fields","fields");w=w.split(".");this.
|
|
8
|
-
this
|
|
9
|
-
ia.prototype.
|
|
10
|
-
return
|
|
11
|
-
{};this.
|
|
12
|
-
function(ma,na){na.forEach(function(oa){var ja=oa.getAttribute("name");ma[ja]?ma[ja].
|
|
13
|
-
10),ea=ja.getAttribute("name");na.
|
|
14
|
-
this,ea={Jv:null,
|
|
15
|
-
Object(ma.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[4],{673:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(695),oa=f(696),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={}));xa=function(){function ia(ea){this.ba=ea;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED}ia.prototype.cJa=function(){var ea=this;return function(w,
|
|
3
|
+
z,n){return Object(ma.c)(ea,void 0,void 0,function(){var e,b,r,h,a,x,ba,fa=this,ha;return Object(ma.e)(this,function(y){switch(y.label){case 0:if(this.state!==ja.EXTERNAL_XFDF_NOT_REQUESTED)return[3,2];e=this.ba.getDocument().Dw();return[4,this.eGa(e)];case 1:b=y.aa(),r=this.cza(b),this.zW=null!==(ha=null===r||void 0===r?void 0:r.parse())&&void 0!==ha?ha:null,this.state=null===this.zW?ja.EXTERNAL_XFDF_NOT_AVAILABLE:ja.EXTERNAL_XFDF_AVAILABLE,y.label=2;case 2:if(this.state===ja.EXTERNAL_XFDF_NOT_AVAILABLE)return n(w),
|
|
4
|
+
[2];h=new DOMParser;a=h.parseFromString(w,"text/xml");z.forEach(function(ca){fa.merge(a,fa.zW,ca-1)});x=new XMLSerializer;ba=x.serializeToString(a);n(ba);return[2]}})})}};ia.prototype.V1=function(ea){this.eGa=ea};ia.prototype.$f=function(){this.zW=void 0;this.state=ja.EXTERNAL_XFDF_NOT_REQUESTED};ia.prototype.cza=function(ea){return ea?Array.isArray(ea)?new na.a(ea):"string"!==typeof ea?null:(new DOMParser).parseFromString(ea,"text/xml").querySelector("xfdf > add")?new na.a(ea):new oa.a(ea):null};
|
|
5
|
+
ia.prototype.merge=function(ea,w,z){var n=this;0===z&&(this.aOa(ea,w.Jv),this.dOa(ea,w.dW));var e=w.ea[z];e&&(this.eOa(ea,e.Bv),this.gOa(ea,e.Lma,w.yt),this.fOa(ea,e.page,z),this.cOa(ea,e.M$));e=this.ba.Eb();if(z===e-1){var b=w.yt;Object.keys(b).forEach(function(r){b[r].BY||n.Lfa(ea,r,b[r])})}};ia.prototype.aOa=function(ea,w){null!==w&&(ea=this.bE(ea),this.Ix(ea,"calculation-order",w))};ia.prototype.dOa=function(ea,w){null!==w&&(ea=this.bE(ea),this.Ix(ea,"document-actions",w))};ia.prototype.eOa=function(ea,
|
|
6
|
+
w){var z=this,n=this.aE(ea.querySelector("xfdf"),"annots");Object.keys(w).forEach(function(e){z.Ix(n,'[name="'.concat(e,'"]'),w[e])})};ia.prototype.gOa=function(ea,w,z){var n=this;if(0!==w.length){var e=this.bE(ea);w.forEach(function(b){var r=b.getAttribute("field"),h=z[r];h&&(n.Lfa(ea,r,h),n.Ix(e,"null",b))})}};ia.prototype.Lfa=function(ea,w,z){var n=this.bE(ea),e=n.querySelector('ffield[name="'.concat(w,'"]'));null!==z.DM&&null===e&&this.Ix(n,'ffield[name="'.concat(w,'"]'),z.DM);ea=this.aE(ea.querySelector("xfdf"),
|
|
7
|
+
"xfdf > fields","fields");w=w.split(".");this.D0(ea,w,0,z.value);z.BY=!0};ia.prototype.fOa=function(ea,w,z){null!==w&&(ea=this.bE(ea),ea=this.aE(ea,"pages"),this.Ix(ea,'[number="'.concat(z+1,'"]'),w))};ia.prototype.cOa=function(ea,w){Object.keys(w).forEach(function(z){(z=ea.querySelector('annots [name="'.concat(z,'"]')))&&z.parentElement.removeChild(z)})};ia.prototype.D0=function(ea,w,z,n){if(z===w.length)w=document.createElementNS("","value"),w.textContent=n,this.Ix(ea,"value",w);else{var e=w[z];
|
|
8
|
+
this.aE(ea,'[name="'.concat(e,'"]'),"field").setAttribute("name",e);ea=ea.querySelectorAll('[name="'.concat(e,'"]'));1===ea.length?this.D0(ea[0],w,z+1,n):(e=this.iEa(ea),this.D0(z===w.length-1?e:this.HZa(ea,e),w,z+1,n))}};ia.prototype.iEa=function(ea){for(var w=null,z=0;z<ea.length;z++){var n=ea[z];if(0===n.childElementCount||1===n.childElementCount&&"value"===n.children[0].tagName){w=n;break}}return w};ia.prototype.HZa=function(ea,w){for(var z=0;z<ea.length;z++)if(ea[z]!==w)return ea[z];return null};
|
|
9
|
+
ia.prototype.Ix=function(ea,w,z){w=ea.querySelector(w);null!==w&&ea.removeChild(w);ea.appendChild(z)};ia.prototype.bE=function(ea){var w=ea.querySelector("pdf-info");if(null!==w)return w;w=this.aE(ea.querySelector("xfdf"),"pdf-info");w.setAttribute("xmlns","http://www.pdftron.com/pdfinfo");w.setAttribute("version","2");w.setAttribute("import-version","4");return w};ia.prototype.aE=function(ea,w,z){var n=ea.querySelector(w);if(null!==n)return n;n=document.createElementNS("",z||w);ea.appendChild(n);
|
|
10
|
+
return n};return ia}();ua["default"]=xa},684:function(xa,ua){xa=function(){function f(){}f.prototype.AK=function(ma){var na={Jv:null,dW:null,yt:{},ea:{}};ma=(new DOMParser).parseFromString(ma,"text/xml");na.Jv=ma.querySelector("pdf-info calculation-order");na.dW=ma.querySelector("pdf-info document-actions");na.yt=this.dQa(ma);na.ea=this.rQa(ma);return na};f.prototype.dQa=function(ma){var na=ma.querySelector("fields");ma=ma.querySelectorAll("pdf-info > ffield");if(null===na&&null===ma)return{};var oa=
|
|
11
|
+
{};this.Bua(oa,na);this.zua(oa,ma);return oa};f.prototype.Bua=function(ma,na){if(null!==na&&na.children){for(var oa=[],ja=0;ja<na.children.length;ja++){var ia=na.children[ja];oa.push({name:ia.getAttribute("name"),element:ia})}for(;0!==oa.length;)for(na=oa.shift(),ja=0;ja<na.element.children.length;ja++)ia=na.element.children[ja],"value"===ia.tagName?ma[na.name]={value:ia.textContent,DM:null,BY:!1}:ia.children&&oa.push({name:"".concat(na.name,".").concat(ia.getAttribute("name")),element:ia})}};f.prototype.zua=
|
|
12
|
+
function(ma,na){na.forEach(function(oa){var ja=oa.getAttribute("name");ma[ja]?ma[ja].DM=oa:ma[ja]={value:null,DM:oa,BY:!1}})};f.prototype.rQa=function(ma){var na=this,oa={};ma.querySelectorAll("pdf-info widget").forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10)-1;na.oO(oa,ia);oa[ia].Lma.push(ja)});ma.querySelectorAll("pdf-info page").forEach(function(ja){var ia=parseInt(ja.getAttribute("number"),10)-1;na.oO(oa,ia);oa[ia].page=ja});this.lca(ma).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),
|
|
13
|
+
10),ea=ja.getAttribute("name");na.oO(oa,ia);oa[ia].Bv[ea]=ja});this.Pba(ma).forEach(function(ja){var ia=parseInt(ja.getAttribute("page"),10);ja=ja.textContent;na.oO(oa,ia);oa[ia].M$[ja]=!0});return oa};f.prototype.oO=function(ma,na){ma[na]||(ma[na]={Bv:{},M$:{},Lma:[],page:null})};return f}();ua.a=xa},695:function(xa,ua,f){var ma=f(0),na=f(1);f.n(na);xa=function(oa){function ja(ia){var ea=oa.call(this)||this;ea.IDa=Array.isArray(ia)?ia:[ia];return ea}Object(ma.d)(ja,oa);ja.prototype.parse=function(){var ia=
|
|
14
|
+
this,ea={Jv:null,dW:null,yt:{},ea:{}};this.IDa.forEach(function(w){ea=Object(na.merge)(ea,ia.AK(w))});return ea};ja.prototype.lca=function(ia){var ea=[];ia.querySelectorAll("add > *").forEach(function(w){ea.push(w)});ia.querySelectorAll("modify > *").forEach(function(w){ea.push(w)});return ea};ja.prototype.Pba=function(ia){return ia.querySelectorAll("delete > *")};return ja}(f(684).a);ua.a=xa},696:function(xa,ua,f){var ma=f(0);xa=function(na){function oa(ja){var ia=na.call(this)||this;ia.JDa=ja;return ia}
|
|
15
|
+
Object(ma.d)(oa,na);oa.prototype.parse=function(){return this.AK(this.JDa)};oa.prototype.lca=function(ja){return ja.querySelectorAll("annots > *")};oa.prototype.Pba=function(){return[]};return oa}(f(684).a);ua.a=xa}}]);}).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],{663:function(xa,ua,f){f.r(ua);var ma=f(0);xa=f(53);var na=f(265),oa=f(579),ja=f(329),ia=window;f=function(){function ea(w,
|
|
3
|
-
ea.prototype.getFileData=function(w){var
|
|
4
|
-
this.status&&(r||0!==this.status))return[3,10];
|
|
5
|
-
if(!
|
|
6
|
-
!1);e.onprogress=function(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[5],{663:function(xa,ua,f){f.r(ua);var ma=f(0);xa=f(53);var na=f(265),oa=f(579),ja=f(329),ia=window;f=function(){function ea(w,z){this.yea=function(n){n=n.split(".");return n[n.length-1].match(/(jpg|jpeg|png|gif)$/i)};z=z||{};this.url=w;this.filename=z.filename||w;this.Zf=z.customHeaders;this.a0a=!!z.useDownloader;this.withCredentials=!!z.withCredentials}ea.prototype.FQ=function(w){this.Zf=w};ea.prototype.getCustomHeaders=function(){return this.Zf};
|
|
3
|
+
ea.prototype.getFileData=function(w){var z=this,n=this,e=new XMLHttpRequest,b=0===this.url.indexOf("blob:")?"blob":"arraybuffer";e.open("GET",this.url,!0);e.withCredentials=this.withCredentials;e.responseType=b;this.Zf&&Object.keys(this.Zf).forEach(function(h){e.setRequestHeader(h,z.Zf[h])});var r=/^https?:/i.test(this.url);e.addEventListener("load",function(h){return Object(ma.c)(this,void 0,void 0,function(){var a,x,ba,fa,ha,y;return Object(ma.e)(this,function(ca){switch(ca.label){case 0:if(200!==
|
|
4
|
+
this.status&&(r||0!==this.status))return[3,10];n.trigger(ea.Events.DOCUMENT_LOADING_PROGRESS,[h.loaded,h.loaded]);if("blob"!==this.responseType)return[3,4];a=this.response;return n.yea(n.filename)?[4,Object(ja.b)(a)]:[3,2];case 1:return x=ca.aa(),n.fileSize=x.byteLength,w(new Uint8Array(x)),[3,3];case 2:ba=new FileReader,ba.onload=function(aa){aa=new Uint8Array(aa.target.result);n.fileSize=aa.length;w(aa)},ba.readAsArrayBuffer(a),ca.label=3;case 3:return[3,9];case 4:ca.Sb.push([4,8,,9]);fa=new Uint8Array(this.response);
|
|
5
|
+
if(!n.yea(n.filename))return[3,6];a=new Blob([fa.buffer]);return[4,Object(ja.b)(a)];case 5:return x=ca.aa(),n.fileSize=x.byteLength,w(new Uint8Array(x)),[3,7];case 6:n.fileSize=fa.length,w(fa),ca.label=7;case 7:return[3,9];case 8:return ca.aa(),n.trigger(ea.Events.ERROR,["pdfLoad","Out of memory"]),[3,9];case 9:return[3,11];case 10:ha=h.currentTarget,y=Object(na.b)(ha),n.trigger(ea.Events.ERROR,["pdfLoad","".concat(this.status," ").concat(ha.statusText),y]),ca.label=11;case 11:return n.$I=null,[2]}})})},
|
|
6
|
+
!1);e.onprogress=function(h){n.trigger(ea.Events.DOCUMENT_LOADING_PROGRESS,[h.loaded,0<h.total?h.total:0])};e.addEventListener("error",function(){n.trigger(ea.Events.ERROR,["pdfLoad","Network failure"]);n.$I=null},!1);e.send();this.$I=e};ea.prototype.getFile=function(){var w=this;return new Promise(function(z){ia.da.isJSWorker&&z(w.url);if(w.a0a){var n=Object(ma.a)({url:w.url},w.Zf?{customHeaders:w.Zf}:{});z(n)}z(null)})};ea.prototype.abort=function(){this.$I&&(this.$I.abort(),this.$I=null)};ea.Events=
|
|
7
7
|
{DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress",ERROR:"error"};return ea}();Object(xa.a)(f);Object(oa.a)(f);Object(oa.b)(f);ua["default"]=f}}]);}).call(this || window)
|
|
@@ -1,13 +1,13 @@
|
|
|
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],{656:function(xa,ua,f){f.r(ua);f.d(ua,"ByteRangeRequest",function(){return x});var ma=f(0),na=f(1);f.n(na);var oa=f(2),ja=f(235);xa=f(138);var ia=f(390),ea=f(115),w=f(109),
|
|
3
|
-
this.withCredentials=aa;this.Zqa=a;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);r.Uint8Array&&(this.request.responseType="arraybuffer");aa&&(this.request.withCredentials=aa);ba.DISABLE_RANGE_HEADER||(Object(na.isUndefined)(
|
|
4
|
-
this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=
|
|
5
|
-
ha({code:
|
|
6
|
-
Object.assign({},this,ha.prototype);
|
|
7
|
-
"":ca.stop)}return
|
|
8
|
-
aa.request=this.q$(
|
|
9
|
-
ja.e);return{start:
|
|
10
|
-
ca.
|
|
11
|
-
ca){var aa=this;if(this.cf.W9(
|
|
12
|
-
qa.
|
|
13
|
-
ha.DISABLE_RANGE_HEADER=!1;ha.F4=3;return ha}(xa.a);(function(fa){function ha(
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[0],{656:function(xa,ua,f){f.r(ua);f.d(ua,"ByteRangeRequest",function(){return x});var ma=f(0),na=f(1);f.n(na);var oa=f(2),ja=f(235);xa=f(138);var ia=f(390),ea=f(115),w=f(109),z=f(389),n=f(265);f=f(579);var e=[],b=[],r=window,h=function(){return function(){this.Kr=1}}(),a;(function(fa){fa[fa.UNSENT=0]="UNSENT";fa[fa.DONE=4]="DONE"})(a||(a={}));var x=function(){function fa(ha,y,ca,aa){var pa=this;this.url=ha;this.range=y;this.Zf=ca;
|
|
3
|
+
this.withCredentials=aa;this.Zqa=a;this.request=new XMLHttpRequest;this.request.open("GET",this.url,!0);r.Uint8Array&&(this.request.responseType="arraybuffer");aa&&(this.request.withCredentials=aa);ba.DISABLE_RANGE_HEADER||(Object(na.isUndefined)(y.stop)?this.request.setRequestHeader("Range","bytes=".concat(y.start)):this.request.setRequestHeader("Range",["bytes=",y.start,"-",y.stop-1].join("")));ca&&Object.keys(ca).forEach(function(ka){pa.request.setRequestHeader(ka,ca[ka])});this.request.overrideMimeType?
|
|
4
|
+
this.request.overrideMimeType("text/plain; charset=x-user-defined"):this.request.setRequestHeader("Accept-Charset","x-user-defined");this.status=z.a.NOT_STARTED}fa.prototype.start=function(ha){var y=this,ca=this.request;ca.onreadystatechange=function(){if(y.aborted)return y.status=z.a.ABORTED,ha({code:z.a.ABORTED});if(this.readyState===y.Zqa.DONE){y.tN();var aa=0===window.document.URL.indexOf("file:///");200===ca.status||206===ca.status||aa&&0===ca.status?(aa=r.Hca(this),y.Q2(aa,ha)):(y.status=z.a.ERROR,
|
|
5
|
+
ha({code:y.status,status:y.status}))}};this.request.send(null);this.status=z.a.STARTED};fa.prototype.Q2=function(ha,y){this.status=z.a.SUCCESS;if(y)return y(!1,ha)};fa.prototype.abort=function(){this.tN();this.aborted=!0;this.request.abort()};fa.prototype.tN=function(){var ha=Object(n.c)(this.url,this.range,b);-1!==ha&&b.splice(ha,1);if(0<e.length){ha=e.shift();var y=new fa(ha.url,ha.range,this.Zf,this.withCredentials);ha.request=y;b.push(ha);y.start(Object(n.d)(ha))}};fa.prototype.extend=function(ha){var y=
|
|
6
|
+
Object.assign({},this,ha.prototype);y.constructor=ha;return y};return fa}(),ba=function(fa){function ha(y,ca,aa,pa,ka){aa=fa.call(this,y,aa,pa)||this;aa.qn={};aa.lL=ca;aa.url=y;aa.DISABLE_RANGE_HEADER=!1;aa.GH=x;aa.F4=3;aa.Zf=ka||{};return aa}Object(ma.d)(ha,fa);ha.prototype.EE=function(y,ca,aa){var pa=-1===y.indexOf("?")?"?":"&";switch(aa){case !1:case w.a.NEVER_CACHE:y="".concat(y+pa,"_=").concat(Object(na.uniqueId)());break;case !0:case w.a.CACHE:y="".concat(y+pa,"_=").concat(ca.start,",").concat(Object(na.isUndefined)(ca.stop)?
|
|
7
|
+
"":ca.stop)}return y};ha.prototype.q$=function(y,ca,aa,pa){void 0===aa&&(aa={});return new this.GH(y,ca,aa,pa)};ha.prototype.rDa=function(y,ca,aa,pa,ka){for(var la=0;la<e.length;la++)if(Object(na.isEqual)(e[la].range,ca)&&Object(na.isEqual)(e[la].url,y))return e[la].Oj.push(pa),e[la].gP++,null;for(la=0;la<b.length;la++)if(Object(na.isEqual)(b[la].range,ca)&&Object(na.isEqual)(b[la].url,y))return b[la].Oj.push(pa),b[la].gP++,null;aa={url:y,range:ca,lL:aa,Oj:[pa],gP:1};if(0===e.length&&b.length<this.F4)return b.push(aa),
|
|
8
|
+
aa.request=this.q$(y,ca,ka,this.withCredentials),aa;e.push(aa);return null};ha.prototype.du=function(y,ca,aa){var pa=this.EE(y,ca,this.lL);(y=this.rDa(pa,ca,this.lL,aa,this.Zf))&&y.request.start(Object(n.d)(y));return function(){var ka=Object(n.c)(pa,ca,b);if(-1!==ka){var la=--b[ka].gP;0===la&&b[ka].request&&b[ka].request.abort()}else ka=Object(n.c)(pa,ca,e),-1!==ka&&(la=--e[ka].gP,0===la&&e.splice(ka,1))}};ha.prototype.Wba=function(){return{start:-ja.a}};ha.prototype.uJa=function(){var y=-(ja.a+
|
|
9
|
+
ja.e);return{start:y-ja.d,end:y}};ha.prototype.hB=function(y){var ca=this;this.uL=!0;var aa=ja.a;this.du(this.url,this.Wba(),function(pa,ka,la){function ra(){var qa=ca.cf.Rba();ca.du(ca.url,qa,function(sa,ta){if(sa)return Object(oa.j)("Error loading central directory: ".concat(sa)),y(sa);ta=Object(ea.a)(ta);if(ta.length!==qa.stop-qa.start)return y("Invalid XOD file: Zip central directory data is wrong size! Should be ".concat(qa.stop-qa.start," but is ").concat(ta.length));ca.cf.aia(ta);ca.bV=!0;
|
|
10
|
+
ca.uL=!1;return y(!1)})}if(pa)return Object(oa.j)("Error loading end header: ".concat(pa)),y(pa,ka,la);ka=Object(ea.a)(ka);if(ka.length!==aa)return y("Invalid XOD file: Zip end header data is wrong size!");try{ca.cf=new ia.a(ka)}catch(qa){return y(qa)}ca.cf.aNa?ca.du(ca.url,ca.uJa(),function(qa,sa){if(qa)return Object(oa.j)("Error loading zip64 header: ".concat(qa)),y(qa);sa=Object(ea.a)(sa);ca.cf.INa(sa);ra()}):ra()})};ha.prototype.Bca=function(y){y(Object.keys(this.cf.zt))};ha.prototype.G0=function(y,
|
|
11
|
+
ca){var aa=this;if(this.cf.W9(y)){var pa=this.cf.vF(y);if(pa in this.qn){var ka=this.jk[y];ka.Cz=this.qn[pa];ka.Cz.Kr++;ka.cancel=ka.Cz.cancel}else{var la=this.cf.kGa(y),ra=this.du(this.url,la,function(sa,ta){sa?(Object(oa.j)('Error loading part "'.concat(y,'": ').concat(sa)),aa.du(aa.url,la,function(va,za){if(va)return ca(va,y);aa.eia(za,la,pa,y,ca)})):aa.eia(ta,la,pa,y,ca)}),qa=this.jk[y];qa&&(qa.xla=!0,qa.cancel=function(){qa.Cz.Kr--;0===qa.Cz.Kr&&(ra(),delete aa.qn[pa])},this.qn[pa]=new h(pa),
|
|
12
|
+
qa.Cz=this.qn[pa],qa.Cz.cancel=qa.cancel)}}else delete this.jk[y],ca(Error('File not found: "'.concat(y,'"')),y)};ha.prototype.eia=function(y,ca,aa,pa,ka){if(y.length!==ca.stop-ca.start)ka(Error("Part data is wrong size!"),pa);else{do{if(!this.qn[aa])return;pa=this.qn[aa].Kr;for(var la=ca.Jx.length,ra=0;ra<la;++ra){var qa=ca.Jx[ra];ka(!1,qa.Fx,y["string"===typeof y?"substring":"subarray"](qa.start,qa.stop),this.cf.mea(qa.Fx));qa.Fx in this.jk&&delete this.jk[qa.Fx]}}while(pa!==this.qn[aa].Kr);delete this.qn[aa]}};
|
|
13
|
+
ha.DISABLE_RANGE_HEADER=!1;ha.F4=3;return ha}(xa.a);(function(fa){function ha(y,ca,aa){var pa=fa.call(this)||this,ka;for(ka in y)pa[ka]=y[ka];pa.v5a=y;pa.startOffset=ca;pa.endOffset=aa;pa.q$=function(la,ra,qa,sa){Object(na.isUndefined)(ra.stop)?(ra.start+=pa.endOffset,ra.stop=pa.endOffset):(ra.start+=pa.startOffset,ra.stop+=pa.startOffset);la=pa.EE(pa.url,ra,pa.lL);return new y.GH(la,ra,qa,sa)};return pa}Object(ma.d)(ha,fa);return ha})(ba);Object(f.a)(ba);Object(f.b)(ba);ua["default"]=ba}}]);}).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],{664:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(389);xa=f(656);f(37);f=f(579);var oa=function(ja){function ia(ea,w){var
|
|
3
|
-
return ia}(xa.ByteRangeRequest);xa=function(ja){function ia(ea,w,
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[6],{664:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(389);xa=f(656);f(37);f=f(579);var oa=function(ja){function ia(ea,w){var z=ja.call(this,ea,w)||this;z.url=ea;z.range=w;z.status=na.a.NOT_STARTED;return z}Object(ma.d)(ia,ja);ia.prototype.start=function(){var ea=document.createElement("IFRAME");ea.setAttribute("src",this.url);document.documentElement.appendChild(ea);ea.parentNode.removeChild(ea);this.status=na.a.STARTED;this.tN()};
|
|
3
|
+
return ia}(xa.ByteRangeRequest);xa=function(ja){function ia(ea,w,z,n){ea=ja.call(this,ea,w,z,n)||this;ea.GH=oa;return ea}Object(ma.d)(ia,ja);ia.prototype.EE=function(ea,w){return"".concat(ea,"#").concat(w.start,"&").concat(w.stop?w.stop:"")};return ia}(xa["default"]);Object(f.a)(xa);Object(f.b)(xa);ua["default"]=xa}}]);}).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],{658:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(2),oa=f(235);xa=f(138);var ja=f(390);f=f(579);var ia=window;xa=function(ea){function w(
|
|
3
|
-
|
|
4
|
-
b.
|
|
5
|
-
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[7],{658:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(2),oa=f(235);xa=f(138);var ja=f(390);f=f(579);var ia=window;xa=function(ea){function w(z,n,e){n=ea.call(this,z,n,e)||this;if(z.name&&"xod"!==z.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=z;n.yL=[];n.EV=0;return n}Object(ma.d)(w,ea);w.prototype.$Z=function(z,
|
|
3
|
+
n,e){var b=this,r=new FileReader;r.onloadend=function(h){if(0<b.yL.length){var a=b.yL.shift();a.cSa.readAsBinaryString(a.file)}else b.EV--;if(r.error){h=r.error;if(h.code===h.ABORT_ERR){Object(na.j)("Request for chunk ".concat(n.start,"-").concat(n.stop," was aborted"));return}return e(h)}if(h=r.content||h.target.result)return e(!1,h);Object(na.j)("No data was returned from FileReader.")};n&&(z=(z.slice||z.webkitSlice||z.mozSlice||z.g4a).call(z,n.start,n.stop));0===b.yL.length&&50>b.EV?(r.readAsBinaryString(z),
|
|
4
|
+
b.EV++):b.yL.push({cSa:r,file:z});return function(){r.abort()}};w.prototype.hB=function(z){var n=this;n.uL=!0;var e=oa.a;n.$Z(n.file,{start:-e,stop:n.file.size},function(b,r){if(b)return Object(na.j)("Error loading end header: %s ".concat(b)),z(b);if(r.length!==e)throw Error("Zip end header data is wrong size!");n.cf=new ja.a(r);var h=n.cf.Rba();n.$Z(n.file,h,function(a,x){if(a)return Object(na.j)("Error loading central directory: %s ".concat(a)),z(a);if(x.length!==h.stop-h.start)throw Error("Zip central directory data is wrong size!");
|
|
5
|
+
n.cf.aia(x);n.bV=!0;n.uL=!1;return z(!1)})})};w.prototype.G0=function(z,n){var e=this,b=e.jk[z];if(e.cf.W9(z)){var r=e.cf.wF(z),h=e.$Z(e.file,r,function(a,x){delete e.jk[z];if(a)return Object(na.j)('Error loading part "%s": %s, '.concat(z,", ").concat(a)),n(a);if(x.length!==r.stop-r.start)throw Error("Part data is wrong size!");n(!1,z,x,e.cf.mea(z))});b.xla=!0;b.cancel=h}else n(Error('File not found: "'.concat(z,'"')),z)};return w}(xa.a);Object(f.a)(xa);Object(f.b)(xa);ua["default"]=xa}}]);}).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],{659:function(xa,ua,f){f.r(ua);var ma=f(0);xa=f(53);var na=f(579),oa=f(329),ja=f(27),ia=window;f=function(){function ea(w){var
|
|
3
|
-
[4,Object(oa.b)(w)]:[3,2];case 1:e=b.aa(),this.file=ja.r?new Blob([e],{type:w.type}):new File([e],null===w||void 0===w?void 0:w.name,{type:w.type}),b.label=2;case 2:return
|
|
4
|
-
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[8],{659:function(xa,ua,f){f.r(ua);var ma=f(0);xa=f(53);var na=f(579),oa=f(329),ja=f(27),ia=window;f=function(){function ea(w){var z=this;this.eMa=function(n){return n&&("image"===n.type.split("/")[0].toLowerCase()||n.name&&!!n.name.match(/.(jpg|jpeg|png|gif)$/i))};this.file=w;this.xMa=new Promise(function(n){return Object(ma.c)(z,void 0,void 0,function(){var e;return Object(ma.e)(this,function(b){switch(b.label){case 0:return this.eMa(this.file)?
|
|
3
|
+
[4,Object(oa.b)(w)]:[3,2];case 1:e=b.aa(),this.file=ja.r?new Blob([e],{type:w.type}):new File([e],null===w||void 0===w?void 0:w.name,{type:w.type}),b.label=2;case 2:return n(!0),[2]}})})})}ea.prototype.getFileData=function(w){var z=this,n=new FileReader;n.onload=function(e){z.trigger(ea.Events.DOCUMENT_LOADING_PROGRESS,[e.loaded,e.loaded]);w(new Uint8Array(e.target.result))};n.onprogress=function(e){e.lengthComputable&&z.trigger(ea.Events.DOCUMENT_LOADING_PROGRESS,[e.loaded,0<e.total?e.total:0])};
|
|
4
|
+
n.readAsArrayBuffer(this.file)};ea.prototype.getFile=function(){return Object(ma.c)(this,void 0,Promise,function(){return Object(ma.e)(this,function(w){switch(w.label){case 0:return[4,this.xMa];case 1:return w.aa(),ia.da.isJSWorker?[2,this.file.path]:[2,this.file]}})})};ea.Events={DOCUMENT_LOADING_PROGRESS:"documentLoadingProgress"};return ea}();Object(xa.a)(f);Object(na.a)(f);Object(na.b)(f);ua["default"]=f}}]);}).call(this || window)
|
|
@@ -4,14 +4,14 @@ javascript:ca.current.textContent};case "uri":return{name:"URI",uri:ca.ka("uri")
|
|
|
4
4
|
0});aa=aa.Ba({x:ca.ka("right")||0,y:ca.ka("bottom")||0});aa=new x.d(ka.x,ka.y,aa.x,aa.y);pa.top=aa.y1;pa.left=aa.x1;pa.bottom=aa.y2;pa.right=aa.x2;break;case "XYZ":ka=aa.Ba({x:ca.ka("left")||0,y:ca.ka("top")||0});pa.top=ka.y;pa.left=ka.x;pa.zoom=ca.ka("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");ca.Lb();return pa;case "submit-form":pa={name:"SubmitForm",url:ca.ka("url"),format:ca.ka("format"),method:ca.ka("method")||
|
|
5
5
|
"POST",exclude:oa(ca.ka("exclude"),!1)};aa=ca.ka("flags");pa.flags=aa?aa.split(" "):[];for(ca.jb();ca.advance();)switch(aa=ca.qb(),aa){case "fields":pa.fields=na(ca);break;default:Object(r.j)("unrecognised submit-form child: ".concat(aa))}ca.Lb();return pa;case "reset-form":pa={name:"ResetForm",exclude:oa(ca.ka("exclude"),!1)};for(ca.jb();ca.advance();)switch(aa=ca.qb(),aa){case "fields":pa.fields=na(ca);break;default:Object(r.j)("unrecognised reset-form child: ".concat(aa))}ca.Lb();return pa;case "hide":pa=
|
|
6
6
|
{name:"Hide",hide:oa(ca.ka("hide"),!0)};for(ca.jb();ca.advance();)switch(aa=ca.qb(),aa){case "fields":pa.fields=na(ca);break;default:Object(r.j)("unrecognised hide child: ".concat(aa))}ca.Lb();return pa;case "named":return{name:"Named",action:ca.ka("name")};default:Object(r.j)("Encountered unexpected action type: ".concat(pa))}return null}function ia(ca,aa,pa){var ka={};for(ca.jb();ca.advance();){var la=ca.qb();switch(la){case "action":la=ca.ka("trigger");if(aa?-1!==aa.indexOf(la):1){ka[la]=[];for(ca.jb();ca.advance();){var ra=
|
|
7
|
-
ja(ca,pa);Object(
|
|
8
|
-
aa+ra*ra)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(ca.jb();ca.advance();)switch(ka=ca.qb(),ka){case "stroke-color":pa.strokeColor=ea(ca);break;case "fill-color":pa.fillColor=ea(ca);break;default:Object(r.j)("unrecognised font child: ".concat(ka))}ca.Lb();return pa}function
|
|
9
|
-
return aa}function
|
|
10
|
-
return new window.da.Annotations.la.xa(pa,ka)}function e(ca,aa){switch(ca.type){case "Tx":try{if(Object(ha.c)(ca.actions))return new a.a.DatePickerWidgetAnnotation(ca,aa)}catch(pa){Object(r.j)(pa)}return new a.a.TextWidgetAnnotation(ca,aa);case "Ch":return ca.flags.get(
|
|
7
|
+
ja(ca,pa);Object(h.isNull)(ra)||ka[la].push(ra)}ca.Lb()}else Object(r.j)("encountered unexpected trigger on field: ".concat(la));break;default:Object(r.j)("encountered unknown action child: ".concat(la))}}ca.Lb();return ka}function ea(ca){return new ba.a(ca.ka("r")||0,ca.ka("g")||0,ca.ka("b")||0,ca.ka("a")||1)}function w(ca,aa){var pa=ca.ka("name"),ka=ca.ka("type")||"Type1",la=ca.ka("size"),ra=aa.Ba({x:0,y:0});la=aa.Ba({x:Number(la),y:0});aa=ra.x-la.x;ra=ra.y-la.y;pa={name:pa,type:ka,size:Math.sqrt(aa*
|
|
8
|
+
aa+ra*ra)||0,strokeColor:[0,0,0],fillColor:[0,0,0]};for(ca.jb();ca.advance();)switch(ka=ca.qb(),ka){case "stroke-color":pa.strokeColor=ea(ca);break;case "fill-color":pa.fillColor=ea(ca);break;default:Object(r.j)("unrecognised font child: ".concat(ka))}ca.Lb();return pa}function z(ca){var aa=[];for(ca.jb();ca.advance();){var pa=ca.qb();switch(pa){case "option":pa=aa;var ka=pa.push;var la=ca;la={value:la.ka("value"),displayValue:la.ka("display-value")||void 0};ka.call(pa,la);break;default:Object(r.j)("unrecognised options child: ".concat(pa))}}ca.Lb();
|
|
9
|
+
return aa}function n(ca,aa){var pa=ca.ka("name"),ka={type:ca.ka("type"),quadding:ca.ka("quadding")||"Left-justified",maxLen:ca.ka("max-len")||-1},la=ca.ka("flags");Object(h.isString)(la)&&(ka.flags=la.split(" "));for(ca.jb();ca.advance();)switch(la=ca.qb(),la){case "actions":ka.actions=ia(ca,["C","F","K","V"],function(){return aa});break;case "default-value":ka.defaultValue=ma(ca);break;case "font":ka.font=w(ca,aa);break;case "options":ka.options=z(ca);break;default:Object(r.j)("unknown field child: ".concat(la))}ca.Lb();
|
|
10
|
+
return new window.da.Annotations.la.xa(pa,ka)}function e(ca,aa){switch(ca.type){case "Tx":try{if(Object(ha.c)(ca.actions))return new a.a.DatePickerWidgetAnnotation(ca,aa)}catch(pa){Object(r.j)(pa)}return new a.a.TextWidgetAnnotation(ca,aa);case "Ch":return ca.flags.get(y.WidgetFlags.COMBO)?new a.a.ChoiceWidgetAnnotation(ca,aa):new a.a.ListWidgetAnnotation(ca,aa);case "Btn":return ca.flags.get(y.WidgetFlags.PUSH_BUTTON)?new a.a.PushButtonWidgetAnnotation(ca,aa):ca.flags.get(y.WidgetFlags.RADIO)?new a.a.RadioButtonWidgetAnnotation(ca,
|
|
11
11
|
aa):new a.a.CheckButtonWidgetAnnotation(ca,aa);case "Sig":return new a.a.SignatureWidgetAnnotation(ca,aa);default:Object(r.j)("Unrecognised field type: ".concat(ca.type))}return null}function b(ca,aa,pa,ka){var la=[],ra={};ca.jb();var qa=[],sa={},ta=[];Object(fa.a)(function(){if(ca.advance()){var va=ca.qb();switch(va){case "calculation-order":qa="calculation-order"===ca.qb()?na(ca):[];break;case "document-actions":sa=ia(ca,["Init","Open"],aa);break;case "pages":va=[];for(ca.jb();ca.advance();){var za=
|
|
12
|
-
ca.qb();switch(za){case "page":za=va;var Ba=za.push,Da=ca,Ha=aa,Ea={number:Da.ka("number")};for(Da.jb();Da.advance();){var Fa=Da.qb();switch(Fa){case "actions":Ea.actions=ia(Da,["O","C"],Ha);break;default:Object(r.j)("unrecognised page child: ".concat(Fa))}}Da.Lb();Ba.call(za,Ea);break;default:Object(r.j)("unrecognised page child: ".concat(za))}}ca.Lb();ta=va;break;case "field":za=
|
|
12
|
+
ca.qb();switch(za){case "page":za=va;var Ba=za.push,Da=ca,Ha=aa,Ea={number:Da.ka("number")};for(Da.jb();Da.advance();){var Fa=Da.qb();switch(Fa){case "actions":Ea.actions=ia(Da,["O","C"],Ha);break;default:Object(r.j)("unrecognised page child: ".concat(Fa))}}Da.Lb();Ba.call(za,Ea);break;default:Object(r.j)("unrecognised page child: ".concat(za))}}ca.Lb();ta=va;break;case "field":za=n(ca,aa(1));ra[za.name]=za;break;case "widget":va={border:{style:"Solid",width:1},backgroundColor:[],fieldName:ca.ka("field"),
|
|
13
13
|
page:ca.ka("page"),index:ca.ka("index")||0,rotation:ca.ka("rotation")||0,flags:[],isImporting:!0};(za=ca.ka("appearance"))&&(va.appearance=za);(za=ca.ka("flags"))&&(va.flags=za.split(" "));for(ca.jb();ca.advance();)switch(za=ca.qb(),za){case "rect":Ba=ca;Da=aa(Number(va.page));za=Da.Ba({x:Ba.ka("x1")||0,y:Ba.ka("y1")||0});Ba=Da.Ba({x:Ba.ka("x2")||0,y:Ba.ka("y2")||0});za=new x.d(za.x,za.y,Ba.x,Ba.y);za.normalize();va.rect={x1:za.x1,y1:za.y1,x2:za.x2,y2:za.y2};break;case "border":za=ca;Ba={style:za.ka("style")||
|
|
14
14
|
"Solid",width:za.ka("width")||1,color:[0,0,0]};for(za.jb();za.advance();)switch(Da=za.qb(),Da){case "color":Ba.color=ea(za);break;default:Object(r.j)("unrecognised border child: ".concat(Da))}za.Lb();va.border=Ba;break;case "background-color":va.backgroundColor=ea(ca);break;case "actions":va.actions=ia(ca,"E X D U Fo Bl PO PC PV PI".split(" "),aa);break;case "appearances":za=ca;Ba=Object(ha.b)(va,"appearances");for(za.jb();za.advance();)if(Da=za.qb(),"appearance"===Da){Da=za.ka("name");Ha=Object(ha.b)(Ba,
|
|
15
15
|
Da);Da=za;for(Da.jb();Da.advance();)switch(Ea=Da.qb(),Ea){case "Normal":Object(ha.b)(Ha,"Normal").data=Da.current.textContent;break;default:Object(r.j)("unexpected appearance state: ",Ea)}Da.Lb()}else Object(r.j)("unexpected appearances child: ".concat(Da));za.Lb();break;case "extra":za=ca;Ba=aa;Da={};for(za.jb();za.advance();)switch(Ha=za.qb(),Ha){case "font":Da.font=w(za,Ba(1));break;default:Object(r.j)("unrecognised extra child: ".concat(Ha))}za.Lb();za=Da;za.font&&(va.font=za.font);break;case "captions":Ba=
|
|
16
16
|
ca;za={};(Da=Ba.ka("Normal"))&&(za.Normal=Da);(Da=Ba.ka("Rollover"))&&(za.Rollover=Da);(Ba=Ba.ka("Down"))&&(za.Down=Ba);va.captions=za;break;default:Object(r.j)("unrecognised widget child: ".concat(za))}ca.Lb();(za=ra[va.fieldName])?(va=e(za,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},function(){ca.Lb();pa({calculationOrder:qa,widgets:la,fields:ra,
|
|
17
|
-
documentActions:sa,pages:ta,custom:[]})},ka)}f.r(ua);f.d(ua,"parse",function(){return b});var r=f(2),
|
|
17
|
+
documentActions:sa,pages:ta,custom:[]})},ka)}f.r(ua);f.d(ua,"parse",function(){return b});var r=f(2),h=f(1);f.n(h);var a=f(180),x=f(4),ba=f(11),fa=f(27),ha=f(132),y=f(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],{675:function(xa,ua,f){f.r(ua);var ma=f(685),na=f(177),oa=f(68),ja=f(101);xa=function(){function ia(){this.
|
|
3
|
-
|
|
4
|
-
for(var
|
|
5
|
-
default:
|
|
6
|
-
e=ba,this.
|
|
7
|
-
function(){return{m_Struct:this.Fd,m_Str:this.
|
|
8
|
-
function(){return Math.abs(this.Hi[this.Ng])};ja.prototype.
|
|
9
|
-
2+0],ia.y1=this.Hi[this.Ng+2+1],ia.x2=this.Hi[this.Ng+2+2],ia.y2=this.Hi[this.Ng+2+3];else{for(var ea=1.79769E308,w=ma.a.MIN,
|
|
10
|
-
e;w=Array(8);e=Array(8);
|
|
11
|
-
function(){this.Zp=this.qf=-1;this.wd=0};ja.prototype.Rm=function(ia,ea,w,
|
|
12
|
-
ja.prototype.al=function(){var ia=this.
|
|
13
|
-
w=
|
|
14
|
-
|
|
15
|
-
r);ea=Math.min(ea,
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[10],{675:function(xa,ua,f){f.r(ua);var ma=f(685),na=f(177),oa=f(68),ja=f(101);xa=function(){function ia(){this.kc=this.zg=this.yc=this.Fd=null;this.Xg=!1}ia.prototype.clear=function(){Object(oa.b)(this.Fd);this.yc="";Object(oa.b)(this.zg);Object(oa.b)(this.kc);this.Xg=!1};ia.prototype.jr=function(){this.Fd=[];this.zg=[];this.kc=[];this.Xg=!1};ia.prototype.gK=function(ea){for(var w="",z=0,n,e,b;z<ea.length;)n=ea.charCodeAt(z),9===
|
|
3
|
+
n?(w+=String.fromCharCode(10),z++):128>n?(w+=String.fromCharCode(n),z++):191<n&&224>n?(e=ea.charCodeAt(z+1),w+=String.fromCharCode((n&31)<<6|e&63),z+=2):(e=ea.charCodeAt(z+1),b=ea.charCodeAt(z+2),w+=String.fromCharCode((n&15)<<12|(e&63)<<6|b&63),z+=3);return w};ia.prototype.initData=function(ea){this.Fd=[];this.zg=[];this.kc=[];this.Xg=!1;try{var w=new ja.a(ea);this.yc="";w.jb();if(!w.advance())return;var z=w.current.textContent;this.yc=z=this.gK(z);Object(oa.b)(this.zg);w.advance();z=w.current.textContent;
|
|
4
|
+
for(var n=z.split(","),e=Object(na.a)(n);e.ur();){var b=e.current;try{var r=parseInt(b.trim(),10);this.zg.push(r)}catch(y){}}Object(oa.b)(this.Fd);w.advance();z=w.current.textContent;n=z.split(",");for(var h=Object(na.a)(n);h.ur();){b=h.current;try{r=parseFloat(b.trim()),this.Fd.push(r)}catch(y){}}Object(oa.b)(this.kc);w.advance();z=w.current.textContent;n=z.split(",");ea=[];w=[];z=0;for(var a=Object(na.a)(n);a.ur();){b=a.current;switch(b){case "Q":z=1;break;case "R":z=2;break;case "S":z=3;break;
|
|
5
|
+
default:z=0}if(z)ea.push(0),w.push(z);else try{r=parseFloat(b.trim()),ea.push(r),w.push(z)}catch(y){return}}z=0;var x=ea.length;e=a=b=n=void 0;for(var ba=h=0,fa=0;fa<x;){var ha=w[fa];if(0<ha)z=ha,++fa,3===z&&(h=ea[fa],ba=ea[fa+1],fa+=2);else if(1===z)for(r=0;8>r;++r)this.kc.push(ea[fa++]);else 2===z?(n=ea[fa++],b=ea[fa++],a=ea[fa++],e=ea[fa++],this.kc.push(n),this.kc.push(b),this.kc.push(a),this.kc.push(b),this.kc.push(a),this.kc.push(e),this.kc.push(n),this.kc.push(e)):3===z&&(n=ea[fa++],b=h,a=ea[fa++],
|
|
6
|
+
e=ba,this.kc.push(n),this.kc.push(b),this.kc.push(a),this.kc.push(b),this.kc.push(a),this.kc.push(e),this.kc.push(n),this.kc.push(e))}}catch(y){return}this.yc.length&&this.yc.length===this.zg.length&&8*this.yc.length===this.kc.length&&(this.Xg=!0)};ia.prototype.ready=function(){return this.Xg};ia.prototype.yF=function(){var ea=new ma.a;if(!this.Fd.length)return ea.Rm(this.Fd,-1,this.yc,this.kc,0),ea;ea.Rm(this.Fd,1,this.yc,this.kc,1);return ea};ia.prototype.Dh=function(){return this.kc};ia.prototype.getData=
|
|
7
|
+
function(){return{m_Struct:this.Fd,m_Str:this.yc,m_Offsets:this.zg,m_Quads:this.kc,m_Ready:this.Xg}};return ia}();ua["default"]=xa},685:function(xa,ua,f){var ma=f(140),na=f(73),oa=f(697);xa=function(){function ja(){this.Ng=0;this.qg=this.Kd=this.Hi=null;this.wd=0;this.Dk=null}ja.prototype.jr=function(){this.Ng=-1;this.wd=0;this.Dk=[]};ja.prototype.Rm=function(ia,ea,w,z,n){this.Ng=ea;this.wd=n;this.Dk=[];this.Hi=ia;this.Kd=w;this.qg=z};ja.prototype.he=function(ia){return this.Ng===ia.Ng};ja.prototype.Hw=
|
|
8
|
+
function(){return Math.abs(this.Hi[this.Ng])};ja.prototype.kx=function(){return 0<this.Hi[this.Ng]};ja.prototype.Xk=function(){var ia=this.kx()?6:10,ea=new oa.a;ea.Rm(this.Hi,this.Ng+ia,this.Ng,this.Kd,this.qg,1);return ea};ja.prototype.$k=function(){var ia=this.Ng+parseInt(this.Hi[this.Ng+1],10);if(ia>=this.Hi.length)return ia=new ja,ia.Rm(this.Hi,-1,this.Kd,this.qg,0),ia;var ea=new ja;ea.Rm(this.Hi,ia,this.Kd,this.qg,this.wd+1);return ea};ja.prototype.getBBox=function(ia){if(this.kx())ia.x1=this.Hi[this.Ng+
|
|
9
|
+
2+0],ia.y1=this.Hi[this.Ng+2+1],ia.x2=this.Hi[this.Ng+2+2],ia.y2=this.Hi[this.Ng+2+3];else{for(var ea=1.79769E308,w=ma.a.MIN,z=1.79769E308,n=ma.a.MIN,e=0;4>e;++e){var b=this.Hi[this.Ng+2+2*e],r=this.Hi[this.Ng+2+2*e+1];ea=Math.min(ea,b);w=Math.max(w,b);z=Math.min(z,r);n=Math.max(n,r)}ia.x1=ea;ia.y1=z;ia.x2=w;ia.y2=n}};ja.prototype.cN=function(){if(this.Dk.length)return this.Dk[0];var ia=new na.a,ea=new na.a,w=new oa.a;w.jr();var z=this.Xk(),n=new oa.a;n.jr();for(var e=this.Xk();!e.he(w);e=e.al())n=
|
|
10
|
+
e;w=Array(8);e=Array(8);z.Km(0,w);ia.x=(w[0]+w[2]+w[4]+w[6])/4;ia.y=(w[1]+w[3]+w[5]+w[7])/4;n.Km(n.Vq()-1,e);ea.x=(e[0]+e[2]+e[4]+e[6])/4;ea.y=(e[1]+e[3]+e[5]+e[7])/4;.01>Math.abs(ia.x-ea.x)&&.01>Math.abs(ia.y-ea.y)&&this.Dk.push(0);ia=Math.atan2(ea.y-ia.y,ea.x-ia.x);ia*=180/3.1415926;0>ia&&(ia+=360);this.Dk.push(ia);return 0};return ja}();ua.a=xa},697:function(xa,ua,f){var ma=f(685),na=f(139),oa=f(140);xa=function(){function ja(){this.Zp=this.qf=0;this.qg=this.Kd=this.Fd=null;this.wd=0}ja.prototype.jr=
|
|
11
|
+
function(){this.Zp=this.qf=-1;this.wd=0};ja.prototype.Rm=function(ia,ea,w,z,n,e){this.qf=ea;this.Zp=w;this.Fd=ia;this.Kd=z;this.qg=n;this.wd=e};ja.prototype.he=function(ia){return this.qf===ia.qf};ja.prototype.Vq=function(){return parseInt(this.Fd[this.qf],10)};ja.prototype.Xj=function(){return parseInt(this.Fd[this.qf+2],10)};ja.prototype.Yj=function(){return parseInt(this.Fd[this.qf+1],10)};ja.prototype.kx=function(){return 0<this.Fd[this.Zp]};ja.prototype.EHa=function(){return Math.abs(this.Fd[this.Zp])};
|
|
12
|
+
ja.prototype.al=function(){var ia=this.kx(),ea=ia?5:11;if(this.qf>=this.Zp+(ia?6:10)+(this.EHa()-1)*ea)return ea=new ja,ea.Rm(this.Fd,-1,-1,this.Kd,this.qg,0),ea;ia=new ja;ia.Rm(this.Fd,this.qf+ea,this.Zp,this.Kd,this.qg,this.wd+1);return ia};ja.prototype.vGa=function(ia){var ea=this.Vq();return 0>ia||ia>=ea?-1:parseInt(this.Fd[this.qf+1],10)+ia};ja.prototype.Km=function(ia,ea){ia=this.vGa(ia);if(!(0>ia)){var w=new ma.a;w.Rm(this.Fd,this.Zp,this.Kd,this.qg,0);if(w.kx()){var z=new na.a;w.getBBox(z);
|
|
13
|
+
w=z.y1<z.y2?z.y1:z.y2;z=z.y1>z.y2?z.y1:z.y2;ia*=8;ea[0]=this.qg[ia];ea[1]=w;ea[2]=this.qg[ia+2];ea[3]=ea[1];ea[4]=this.qg[ia+4];ea[5]=z;ea[6]=this.qg[ia+6];ea[7]=ea[5]}else for(ia*=8,w=0;8>w;++w)ea[w]=this.qg[ia+w]}};ja.prototype.Vj=function(ia){var ea=new ma.a;ea.Rm(this.Fd,this.Zp,this.Kd,this.qg,0);if(ea.kx()){var w=this.Fd[this.qf+3],z=this.Fd[this.qf+4];if(w>z){var n=w;w=z;z=n}n=new na.a;ea.getBBox(n);ea=n.y1<n.y2?n.y1:n.y2;n=n.y1>n.y2?n.y1:n.y2;ia[0]=w;ia[1]=ea;ia[2]=z;ia[3]=ea;ia[4]=z;ia[5]=
|
|
14
|
+
n;ia[6]=w;ia[7]=n}else for(w=this.qf+3,z=0;8>z;++z)ia[z]=this.Fd[w+z]};ja.prototype.getBBox=function(ia){var ea=new ma.a;ea.Rm(this.Fd,this.Zp,this.Kd,this.qg,0);if(ea.kx()){var w=this.Fd[this.qf+3],z=this.Fd[this.qf+4];if(w>z){var n=w;w=z;z=n}n=new na.a;ea.getBBox(n);ea=n.y1<n.y2?n.y1:n.y2;n=n.y1>n.y2?n.y1:n.y2;ia[0]=w;ia[1]=ea;ia[2]=z;ia[3]=n}else{w=1.79769E308;z=oa.a.MIN;ea=1.79769E308;n=oa.a.MIN;for(var e=this.qf+3,b=0;4>b;++b){var r=this.Fd[e+2*b],h=this.Fd[e+2*b+1];w=Math.min(w,r);z=Math.max(z,
|
|
15
|
+
r);ea=Math.min(ea,h);n=Math.max(n,h)}ia[0]=w;ia[1]=ea;ia[2]=z;ia[3]=n}};return ja}();ua.a=xa}}]);}).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],{665:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(1);f.n(na);var oa=f(2),ja=f(235);xa=f(53);var ia=f(138),ea=f(390),w=f(109),
|
|
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
|
-
ca&&0===ha.status;if(ha.readyState!==
|
|
5
|
-
this.trigger(
|
|
6
|
-
{DONE:"done",DATA:"data",ABORTED:"aborted"};return
|
|
7
|
-
ja.g)throw Error("Wrong signature in local header: ".concat(ba.
|
|
8
|
-
x;return!1};a.Events={HEADER:"header",FILE:"file"};return a}(ea.a);Object(xa.a)(r);xa=function(
|
|
9
|
-
x(ha),ha;}});this.stream.addEventListener(e.Events.DONE,function(fa){ba.
|
|
10
|
-
this.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[11],{665:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(1);f.n(na);var oa=f(2),ja=f(235);xa=f(53);var ia=f(138),ea=f(390),w=f(109),z=f(389);f=f(579);var n=window,e=function(){function h(a,x,ba){var fa=-1===a.indexOf("?")?"?":"&";switch(x){case w.a.NEVER_CACHE:this.url="".concat(a+fa,"_=").concat(Object(na.uniqueId)());break;default:this.url=a}this.Zf=ba;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=z.a.NOT_STARTED}h.prototype.start=function(a,x){var ba=this,fa=this,ha=this.request,y;fa.EG=0;a&&Object.keys(a).forEach(function(ca){ba.request.setRequestHeader(ca,a[ca])});x&&(this.request.withCredentials=x);this.PP=setInterval(function(){var ca=0===window.document.URL.indexOf("file:///");ca=200===ha.status||
|
|
4
|
+
ca&&0===ha.status;if(ha.readyState!==z.b.DONE||ca){try{ha.responseText}catch(aa){return}fa.EG<ha.responseText.length&&(y=fa.JRa())&&fa.trigger(h.Events.DATA,[y]);0===ha.readyState&&(clearInterval(fa.PP),fa.trigger(h.Events.DONE))}else clearInterval(fa.PP),fa.trigger(h.Events.DONE,["Error received return status ".concat(ha.status)])},1E3);this.request.send(null);this.status=z.a.STARTED};h.prototype.JRa=function(){var a=this.request,x=a.responseText;if(0!==x.length)if(this.EG===x.length)clearInterval(this.PP),
|
|
5
|
+
this.trigger(h.Events.DONE);else return x=Math.min(this.EG+3E6,x.length),a=n.Hca(a,this.EG,!0,x),this.EG=x,a};h.prototype.abort=function(){clearInterval(this.PP);var a=this;this.request.onreadystatechange=function(){Object(oa.j)("StreamingRequest aborted");a.status=z.a.ABORTED;return a.trigger(h.Events.ABORTED)};this.request.abort()};h.prototype.finish=function(){var a=this;this.request.onreadystatechange=function(){a.status=z.a.SUCCESS;return a.trigger(h.Events.DONE)};this.request.abort()};h.Events=
|
|
6
|
+
{DONE:"done",DATA:"data",ABORTED:"aborted"};return h}();Object(xa.a)(e);var b;(function(h){h[h.LOCAL_HEADER=0]="LOCAL_HEADER";h[h.FILE=1]="FILE";h[h.CENTRAL_DIR=2]="CENTRAL_DIR"})(b||(b={}));var r=function(h){function a(){var x=h.call(this)||this;x.buffer="";x.state=b.LOCAL_HEADER;x.G2=4;x.qr=null;x.oB=ja.c;x.zt={};return x}Object(ma.d)(a,h);a.prototype.rRa=function(x){var ba;for(x=this.buffer+x;x.length>=this.oB;)switch(this.state){case b.LOCAL_HEADER:this.qr=ba=this.NRa(x.slice(0,this.oB));if(ba.dC!==
|
|
7
|
+
ja.g)throw Error("Wrong signature in local header: ".concat(ba.dC));x=x.slice(this.oB);this.state=b.FILE;this.oB=ba.MU+ba.vx+ba.ZE+this.G2;this.trigger(a.Events.HEADER,[ba]);break;case b.FILE:this.qr.name=x.slice(0,this.qr.vx);this.zt[this.qr.name]=this.qr;ba=this.oB-this.G2;var fa=x.slice(this.qr.vx+this.qr.ZE,ba);this.trigger(a.Events.FILE,[this.qr.name,fa,this.qr.oV]);x=x.slice(ba);if(x.slice(0,this.G2)===ja.h)this.state=b.LOCAL_HEADER,this.oB=ja.c;else return this.state=b.CENTRAL_DIR,!0}this.buffer=
|
|
8
|
+
x;return!1};a.Events={HEADER:"header",FILE:"file"};return a}(ea.a);Object(xa.a)(r);xa=function(h){function a(x,ba,fa,ha,y){fa=h.call(this,x,fa,ha)||this;fa.url=x;fa.stream=new e(x,ba);fa.cf=new r;fa.wha=window.createPromiseCapability();fa.kia={};fa.Zf=y;return fa}Object(ma.d)(a,h);a.prototype.QH=function(x){var ba=this;this.request([this.Nn,this.Lp,this.Mn]);this.stream.addEventListener(e.Events.DATA,function(fa){try{if(ba.cf.rRa(fa))return ba.stream.finish()}catch(ha){throw ba.stream.abort(),ba.qw(ha),
|
|
9
|
+
x(ha),ha;}});this.stream.addEventListener(e.Events.DONE,function(fa){ba.KQa=!0;ba.wha.resolve();fa&&(ba.qw(fa),x(fa))});this.cf.addEventListener(r.Events.HEADER,Object(na.bind)(this.jia,this));this.cf.addEventListener(r.Events.FILE,Object(na.bind)(this.dSa,this));return this.stream.start(this.Zf,this.withCredentials)};a.prototype.Bca=function(x){var ba=this;this.wha.promise.then(function(){x(Object.keys(ba.cf.zt))})};a.prototype.tu=function(){return!0};a.prototype.request=function(x){var ba=this;
|
|
10
|
+
this.KQa&&x.forEach(function(fa){ba.kia[fa]||ba.a_a(fa)})};a.prototype.jia=function(){};a.prototype.abort=function(){this.stream&&this.stream.abort()};a.prototype.a_a=function(x){this.trigger(ia.a.Events.PART_READY,[{Rb:x,error:"Requested part not found",wm:!1,Pi:!1}])};a.prototype.dSa=function(x,ba,fa){this.kia[x]=!0;this.trigger(ia.a.Events.PART_READY,[{Rb:x,data:ba,wm:!1,Pi:!1,error:null,Le:fa}])};return a}(ia.a);Object(f.a)(xa);Object(f.b)(xa);ua["default"]=xa}}]);}).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],{668:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(1);f.n(na);xa=f(138);f=f(579);xa=function(oa){function ja(ia,ea,w){ea=oa.call(this,ia,ea,w)||this;ea.db=ia;return ea}Object(ma.
|
|
3
|
-
ja.prototype.
|
|
2
|
+
(function(){(window.wpCoreControlsBundle=window.wpCoreControlsBundle||[]).push([[12],{668:function(xa,ua,f){f.r(ua);var ma=f(0),na=f(1);f.n(na);xa=f(138);f=f(579);xa=function(oa){function ja(ia,ea,w){ea=oa.call(this,ia,ea,w)||this;ea.db=ia;return ea}Object(ma.d)(ja,oa);ja.prototype.request=function(ia){var ea=this;Object(na.each)(ia,function(w){ea.db.get(w,function(z,n,e){return z?ea.trigger("partReady.partRetriever",{Rb:w,error:z}):ea.trigger("partReady.partRetriever",{Rb:w,data:n,wm:!1,Pi:!1,error:null,Le:e})})})};
|
|
3
|
+
ja.prototype.hB=function(ia){ia()};return ja}(xa.a);Object(f.a)(xa);Object(f.b)(xa);ua["default"]=xa}}]);}).call(this || window)
|