@getflip/swirl-components 0.355.1 → 0.357.0

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.
@@ -22,7 +22,10 @@ export class SwirlShellNavigationItem {
22
22
  });
23
23
  const isLink = Boolean(this.href);
24
24
  const Tag = isLink ? "a" : "button";
25
- return (h(Host, { key: 'f089bb17f113b6e18553aff029c0a14eb2e01c95' }, h("swirl-tooltip", { key: '710d11a1d076602d365e15dce9664e3eb6ea2515', active: this.hideLabel, content: this.label, delay: 100, position: "right", positioning: "fixed" }, h(Tag, { key: '35095f78c77c3f3072f11caaa14c62a3cac135c6', class: tagClassNames, href: this.href, target: this.target, type: isLink ? undefined : "button" }, h("span", { key: '68a0cd8c24aeba2ad864e1663f71edefa2175a39', class: "shell-navigation-item__icon" }, h("slot", { key: '2ce4efaba0b97fbad66f77751a37f73c54555369', name: "icon" })), !this.hideLabel ? (h("span", { class: labelClassNames }, this.label)) : (h("swirl-visually-hidden", null, h("span", { class: labelClassNames }, this.label))), this.badgeLabel !== undefined && this.badgeLabel !== null && (h("swirl-badge", { key: '4ab8b9efe50c56f0e79b44731352a3efbfd228a5', "aria-label": this.badgeLabel, class: classnames("shell-navigation-item__badge", {
25
+ const tooltipContent = this.description
26
+ ? `${this.label} ${this.description}`
27
+ : this.label;
28
+ return (h(Host, { key: 'c5fe604eba70c09f532850d9547ac77e63907b68' }, h("swirl-tooltip", { key: '9189209fec8308e2c7ded881cc09735e4bb7de01', active: this.hideLabel, content: tooltipContent, delay: 100, position: "right", positioning: "fixed" }, h(Tag, { key: 'dfc5ee51c08a90d6d0299e897a148d97b76ebe86', class: tagClassNames, href: this.href, target: this.target, type: isLink ? undefined : "button" }, h("span", { key: '44b87e21631ded76bd2f4baa1223a13adc9d4dfa', class: "shell-navigation-item__icon" }, h("slot", { key: '4f81888c8feaa9b613dd35ac959e17a2c154f25b', name: "icon" })), !this.hideLabel ? (this.tiled ? (h("span", { class: labelClassNames }, this.label)) : (h("div", { class: "shell-navigation-item__text-wrapper" }, h("span", { class: labelClassNames }, this.label), this.description && (h("span", { class: "shell-navigation-item__description" }, this.description))))) : (h("swirl-visually-hidden", null, h("span", { class: labelClassNames }, this.label))), this.badgeLabel !== undefined && this.badgeLabel !== null && (h("swirl-badge", { key: '2640130ad0d30190f9c682bbc84e81edf0bf010a', "aria-label": this.badgeLabel, class: classnames("shell-navigation-item__badge", {
26
29
  "shell-navigation-item__badge--dot": this.badgeLabel === "",
27
30
  }), label: this.badgeLabel, size: "xs", variant: this.badgeLabel === "" ? "dot" : "default" }))))));
28
31
  }
@@ -200,6 +203,25 @@ export class SwirlShellNavigationItem {
200
203
  "setter": false,
201
204
  "reflect": false
202
205
  },
206
+ "description": {
207
+ "type": "string",
208
+ "attribute": "description",
209
+ "mutable": false,
210
+ "complexType": {
211
+ "original": "string",
212
+ "resolved": "string",
213
+ "references": {}
214
+ },
215
+ "required": false,
216
+ "optional": true,
217
+ "docs": {
218
+ "tags": [],
219
+ "text": ""
220
+ },
221
+ "getter": false,
222
+ "setter": false,
223
+ "reflect": false
224
+ },
203
225
  "target": {
204
226
  "type": "string",
205
227
  "attribute": "target",
@@ -12,6 +12,10 @@
12
12
  var(--s-border-highlight);
13
13
  }
14
14
 
15
+ .table--show-empty-state .table__empty-row {
16
+ display: flex;
17
+ }
18
+
15
19
  .table__container {
16
20
  position: relative;
17
21
  overflow: auto;
@@ -40,7 +44,7 @@
40
44
  }
41
45
 
42
46
  .table__empty-row {
43
- display: flex;
47
+ display: none;
44
48
  }
45
49
 
46
50
  .table__empty-row-cell {
@@ -482,9 +482,10 @@ export class SwirlTable {
482
482
  render() {
483
483
  const hasEmptyStateSlotAssignment = Boolean(this.el.querySelector('[slot="empty"]'));
484
484
  const className = classNames("table", {
485
+ "table--show-empty-state": this.empty && !this.loading,
485
486
  "table--keyboard-move": this.movingViaKeyboard,
486
487
  });
487
- return (h(Host, { key: 'd09c8462d08878a85fcb6acc09b1abd3842ddf59' }, h("div", { key: '1a58d897b032ba1d956145a4a3f463deaef25954', class: className }, this.enableDragDrop && (h("swirl-visually-hidden", { key: '2a4a97c04b0c1eab141d0061b2f5318f0ef2eb06' }, h("span", { key: 'fd1d908a5a8dc07de46fb250e8f80d3e7c664deb', "aria-live": "assertive" }, this.liveRegionText))), h("div", { key: 'b6b760bcb1868eb5046e78ba1a1ecb544c591e44', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, h("div", { key: 'e0d3bbd9884b5b276e26ed9a8d77f2673f7641f4', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (h("swirl-visually-hidden", { key: 'a3b3450f652f06b546085319a835385f24c4290d' }, h("div", { key: 'b0a14cb4fc8cff4802ea0ca8c7bfd409703add52', id: "caption" }, this.caption))), h("div", { key: '69f5cc1e7341cc35cf3277f9d040dd4bb7440a63', role: "rowgroup" }, h("div", { key: '078e55799fb188c98bba3555f974c908d0f8d567', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, h("slot", { key: '1b43e8d83fc7046714655c386bc6b987ac2c6a28', name: "columns" }))), h("div", { key: '74dc59b7f3e19ce121dc637bd7e6456298132238', class: "table__body", ref: (el) => (this.bodyEl = el) }, h("slot", { key: '0ff61dfa4cff198fb2c8fd44304cdc57cead2440', name: "rows" }), this.empty && (h("div", { key: 'e326641b5168d3020e06b24ca51114764a7cdbb9', class: "table__empty-row", role: "row" }, h("div", { key: 'd215ae8668e684f5cfee230bd175db40014a9484', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, h("slot", { key: 'efae0b8038adf50ff2f5320acc7328edfae22190', name: "empty" }), !hasEmptyStateSlotAssignment && (h("swirl-text", { key: '4b97b4c843a430e3712cdfe464b0a54a36b075a4', align: "center", size: "sm" }, this.emptyStateLabel)))))))))));
488
+ return (h(Host, { key: 'f5c344a15674ad1a32d0f58882a13f46185b6c28' }, h("div", { key: '287affe302aa233c638278e98aac146e81e74086', class: className }, this.enableDragDrop && (h("swirl-visually-hidden", { key: '4a4666f2d51aafa12c9767c2e038c21a04a4be53' }, h("span", { key: '04db94534a029407c8ebd4e114b6dfaa82c1de36', "aria-live": "assertive" }, this.liveRegionText))), h("div", { key: '521c1a678cab430fde8b6e18143e8dea943194fc', class: "table__container", onFocusin: this.onFocus, onFocusout: this.onBlur, onKeyDown: this.onKeyDown, onScroll: this.onScroll, ref: (el) => (this.container = el), tabIndex: -1 }, h("div", { key: '1721adbfe74d8b350ce2ff041b2528f72c03ff00', "aria-describedby": Boolean(this.caption) ? "caption" : undefined, "aria-label": this.label, role: "table", class: "table__table" }, this.caption && (h("swirl-visually-hidden", { key: 'fc927a6a89c01ea7abf1c40032467e69908684c9' }, h("div", { key: '6d4f0705f4cf7cc18714f67f2ac15b0de90e6d9a', id: "caption" }, this.caption))), h("div", { key: '0dc1eddf5c43b151af494806ba03382a74fd839d', role: "rowgroup" }, h("div", { key: 'e968a7e039269ebb339b1420aacad2f59edfb0f3', class: "table__header", ref: (el) => (this.headerEl = el), role: "row" }, h("slot", { key: '3510faa35ce12b79c9c419e12dca2d4a236ee83a', name: "columns" }))), h("div", { key: '9a2eab4323e49f4a139ed7aa020dc222407d440c', class: "table__body", ref: (el) => (this.bodyEl = el) }, h("slot", { key: '5d399986bf2341f13140321b3c8c74607481a2c4', name: "rows" }), h("div", { key: 'bc225af38fe3831dfde9b460a0c7f0346fdefc5e', class: "table__empty-row", role: "row" }, h("div", { key: 'eff4ed0717bb25630ca9cf3c2a09d133f090e25a', "aria-colspan": this.getColumns().length, class: "table__empty-row-cell", role: "cell" }, h("slot", { key: 'e25cb30ff92f814a03ff57e0b30a7b9b24b90402', name: "empty" }), !hasEmptyStateSlotAssignment && (h("swirl-text", { key: '3d410085dc98d3b14c5b38a6e66fb60ac0352a71', align: "center", size: "sm" }, this.emptyStateLabel))))))))));
488
489
  }
489
490
  static get is() { return "swirl-table"; }
490
491
  static get encapsulation() { return "scoped"; }
@@ -614,6 +615,25 @@ export class SwirlTable {
614
615
  "getter": false,
615
616
  "setter": false,
616
617
  "reflect": false
618
+ },
619
+ "loading": {
620
+ "type": "boolean",
621
+ "attribute": "loading",
622
+ "mutable": false,
623
+ "complexType": {
624
+ "original": "boolean",
625
+ "resolved": "boolean",
626
+ "references": {}
627
+ },
628
+ "required": false,
629
+ "optional": true,
630
+ "docs": {
631
+ "tags": [],
632
+ "text": ""
633
+ },
634
+ "getter": false,
635
+ "setter": false,
636
+ "reflect": false
617
637
  }
618
638
  };
619
639
  }
@@ -22,4 +22,4 @@
22
22
  /**
23
23
  * pdfjsVersion = 5.3.31
24
24
  * pdfjsBuild = 47ad820d9
25
- */var e={34:(e,t,r)=>{var a=r(4901);e.exports=function(e){return"object"==typeof e?null!==e:a(e)}},81:(e,t,r)=>{var a=r(9565),n=r(9306),i=r(8551),s=r(6823),o=r(851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(n(r))return i(a(r,e));throw new c(s(e)+" is not iterable")}},116:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("find",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{find:function find(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},283:(e,t,r)=>{var a=r(9504),n=r(9039),i=r(4901),s=r(9297),o=r(3724),c=r(350).CONFIGURABLE,l=r(3706),h=r(1181),u=h.enforce,d=h.get,f=String,g=Object.defineProperty,p=a("".slice),m=a("".replace),b=a([].join),y=o&&!n((function(){return 8!==g((function(){}),"length",{value:8}).length})),w=String(String).split("String"),x=e.exports=function(e,t,r){"Symbol("===p(f(t),0,7)&&(t="["+m(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]");r&&r.getter&&(t="get "+t);r&&r.setter&&(t="set "+t);(!s(e,"name")||c&&e.name!==t)&&(o?g(e,"name",{value:t,configurable:!0}):e.name=t);y&&r&&s(r,"arity")&&e.length!==r.arity&&g(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?o&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=u(e);s(a,"source")||(a.source=b(w,"string"==typeof t?t:""));return e};Function.prototype.toString=x((function toString(){return i(this)&&d(this).source||l(this)}),"toString")},350:(e,t,r)=>{var a=r(3724),n=r(9297),i=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,o=n(i,"name"),c=o&&"something"===function something(){}.name,l=o&&(!a||a&&s(i,"name").configurable);e.exports={EXISTS:o,PROPER:c,CONFIGURABLE:l}},397:(e,t,r)=>{var a=r(7751);e.exports=a("document","documentElement")},421:e=>{e.exports={}},507:(e,t,r)=>{var a=r(9565);e.exports=function(e,t,r){for(var n,i,s=r?e:e.iterator,o=e.next;!(n=a(o,s)).done;)if(void 0!==(i=t(n.value)))return i}},531:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(8646),l=r(9462),h=r(9539),u=r(6395),d=r(4549),f=!u&&d("flatMap",TypeError),g=l((function(){for(var e,t,r=this.iterator,a=this.mapper;;){if(t=this.inner)try{if(!(e=s(n(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){h(r,"throw",e)}e=s(n(this.next,r));if(this.done=!!e.done)return;try{this.inner=c(a(e.value,this.counter++),!1)}catch(e){h(r,"throw",e)}}}));a({target:"Iterator",proto:!0,real:!0,forced:u||f},{flatMap:function flatMap(e){s(this);try{i(e)}catch(e){h(this,"throw",e)}return f?n(f,this,e):new g(o(this),{mapper:e,inner:null})}})},616:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},655:(e,t,r)=>{var a=r(6955),n=String;e.exports=function(e){if("Symbol"===a(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},679:(e,t,r)=>{var a=r(1625),n=TypeError;e.exports=function(e,t){if(a(t,e))return e;throw new n("Incorrect invocation")}},741:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var a=+e;return(a>0?r:t)(a)}},757:(e,t,r)=>{var a=r(7751),n=r(4901),i=r(1625),s=r(7040),o=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return n(t)&&i(t.prototype,o(e))}},851:(e,t,r)=>{var a=r(6955),n=r(5966),i=r(4117),s=r(6269),o=r(8227)("iterator");e.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[a(e)]}},944:e=>{var t=TypeError;e.exports=function(e){var r=e&&e.alphabet;if(void 0===r||"base64"===r||"base64url"===r)return r||"base64";throw new t("Incorrect `alphabet` option")}},1072:(e,t,r)=>{var a=r(1828),n=r(8727);e.exports=Object.keys||function keys(e){return a(e,n)}},1103:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1148:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("every",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{every:function every(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return!i(t,(function(t,a){if(!e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1181:(e,t,r)=>{var a,n,i,s=r(8622),o=r(4576),c=r(34),l=r(6699),h=r(9297),u=r(7629),d=r(6119),f=r(421),g="Object already initialized",p=o.TypeError,m=o.WeakMap;if(s||u.state){var b=u.state||(u.state=new m);b.get=b.get;b.has=b.has;b.set=b.set;a=function(e,t){if(b.has(e))throw new p(g);t.facade=e;b.set(e,t);return t};n=function(e){return b.get(e)||{}};i=function(e){return b.has(e)}}else{var y=d("state");f[y]=!0;a=function(e,t){if(h(e,y))throw new p(g);t.facade=e;l(e,y,t);return t};n=function(e){return h(e,y)?e[y]:{}};i=function(e){return h(e,y)}}e.exports={set:a,get:n,has:i,enforce:function(e){return i(e)?n(e):a(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}},1291:(e,t,r)=>{var a=r(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:a(t)}},1548:(e,t,r)=>{var a=r(4576),n=r(9039),i=r(9519),s=r(4215),o=a.structuredClone;e.exports=!!o&&!n((function(){if("DENO"===s&&i>92||"NODE"===s&&i>94||"BROWSER"===s&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},1549:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9143),s=r(4154),o=n.Uint8Array,c=!o||!o.prototype.setFromBase64||!function(){var e=new o([255,255,255,255,255]);try{e.setFromBase64("MjYyZg===")}catch(t){return 50===e[0]&&54===e[1]&&50===e[2]&&255===e[3]&&255===e[4]}}();o&&a({target:"Uint8Array",proto:!0,forced:c},{setFromBase64:function setFromBase64(e){s(this);var t=i(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},1625:(e,t,r)=>{var a=r(9504);e.exports=a({}.isPrototypeOf)},1689:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(8745),s=r(7680),o=r(6043),c=r(9306),l=r(1103),h=n.Promise,u=!1;a({target:"Promise",stat:!0,forced:!h||!h.try||l((function(){h.try((function(e){u=8===e}),8)})).error||!u},{try:function(e){var t=arguments.length>1?s(arguments,1):[],r=o.f(this),a=l((function(){return i(c(e),void 0,t)}));(a.error?r.reject:r.resolve)(a.value);return r.promise}})},1698:(e,t,r)=>{var a=r(6518),n=r(4204);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("union")},{union:n})},1701:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(9462),l=r(6319),h=r(9539),u=r(4549),d=r(6395),f=!d&&u("map",TypeError),g=c((function(){var e=this.iterator,t=s(n(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)}));a({target:"Iterator",proto:!0,real:!0,forced:d||f},{map:function map(e){s(this);try{i(e)}catch(e){h(this,"throw",e)}return f?n(f,this,e):new g(o(this),{mapper:e})}})},1767:e=>{e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1806:(e,t,r)=>{var a=r(6518),n=r(8551),i=r(2652),s=r(1767),o=[].push;a({target:"Iterator",proto:!0,real:!0},{toArray:function toArray(){var e=[];i(s(n(this)),o,{that:e,IS_RECORD:!0});return e}})},1828:(e,t,r)=>{var a=r(9504),n=r(9297),i=r(5397),s=r(9617).indexOf,o=r(421),c=a([].push);e.exports=function(e,t){var r,a=i(e),l=0,h=[];for(r in a)!n(o,r)&&n(a,r)&&c(h,r);for(;t.length>l;)n(a,r=t[l++])&&(~s(h,r)||c(h,r));return h}},2106:(e,t,r)=>{var a=r(283),n=r(4913);e.exports=function(e,t,r){r.get&&a(r.get,t,{getter:!0});r.set&&a(r.set,t,{setter:!0});return n.f(e,t,r)}},2140:(e,t,r)=>{var a={};a[r(8227)("toStringTag")]="z";e.exports="[object z]"===String(a)},2195:(e,t,r)=>{var a=r(9504),n=a({}.toString),i=a("".slice);e.exports=function(e){return i(n(e),8,-1)}},2211:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},2303:(e,t,r)=>{var a=r(4576),n=r(9504),i=a.Uint8Array,s=a.SyntaxError,o=a.parseInt,c=Math.min,l=/[^\da-f]/i,h=n(l.exec),u=n("".slice);e.exports=function(e,t){var r=e.length;if(r%2!=0)throw new s("String should be an even number of characters");for(var a=t?c(t.length,r/2):r/2,n=t||new i(a),d=0,f=0;f<a;){var g=u(e,d,d+=2);if(h(l,g))throw new s("String should only contain hex characters");n[f++]=o(g,16)}return{bytes:n,read:d}}},2360:(e,t,r)=>{var a,n=r(8551),i=r(6801),s=r(8727),o=r(421),c=r(397),l=r(4055),h=r(6119),u="prototype",d="script",f=h("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(""));e.close();var t=e.parentWindow.Object;e=null;return t},NullProtoObject=function(){try{a=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&a?NullProtoObjectViaActiveX(a):function(){var e,t=l("iframe"),r="java"+d+":";t.style.display="none";c.appendChild(t);t.src=String(r);(e=t.contentWindow.document).open();e.write(scriptTag("document.F=Object"));e.close();return e.F}():NullProtoObjectViaActiveX(a);for(var e=s.length;e--;)delete NullProtoObject[u][s[e]];return NullProtoObject()};o[f]=!0;e.exports=Object.create||function create(e,t){var r;if(null!==e){EmptyConstructor[u]=n(e);r=new EmptyConstructor;EmptyConstructor[u]=null;r[f]=e}else r=NullProtoObject();return void 0===t?r:i.f(r,t)}},2475:(e,t,r)=>{var a=r(6518),n=r(8527);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:n})},2489:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(9462),l=r(6319),h=r(6395),u=r(9539),d=r(4549),f=!h&&d("filter",TypeError),g=c((function(){for(var e,t,r=this.iterator,a=this.predicate,i=this.next;;){e=s(n(i,r));if(this.done=!!e.done)return;t=e.value;if(l(r,a,[t,this.counter++],!0))return t}}));a({target:"Iterator",proto:!0,real:!0,forced:h||f},{filter:function filter(e){s(this);try{i(e)}catch(e){u(this,"throw",e)}return f?n(f,this,e):new g(o(this),{predicate:e})}})},2529:e=>{e.exports=function(e,t){return{value:e,done:t}}},2603:(e,t,r)=>{var a=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:a(e)}},2652:(e,t,r)=>{var a=r(6080),n=r(9565),i=r(8551),s=r(6823),o=r(4209),c=r(6198),l=r(1625),h=r(81),u=r(851),d=r(9539),f=TypeError,Result=function(e,t){this.stopped=e;this.result=t},g=Result.prototype;e.exports=function(e,t,r){var p,m,b,y,w,x,S,k=r&&r.that,C=!(!r||!r.AS_ENTRIES),v=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),M=a(t,k),stop=function(e){p&&d(p,"normal",e);return new Result(!0,e)},callFn=function(e){if(C){i(e);return T?M(e[0],e[1],stop):M(e[0],e[1])}return T?M(e,stop):M(e)};if(v)p=e.iterator;else if(O)p=e;else{if(!(m=u(e)))throw new f(s(e)+" is not iterable");if(o(m)){for(b=0,y=c(e);y>b;b++)if((w=callFn(e[b]))&&l(g,w))return w;return new Result(!1)}p=h(e,m)}x=v?e.next:p.next;for(;!(S=n(x,p)).done;){try{w=callFn(S.value)}catch(e){d(p,"throw",e)}if("object"==typeof w&&w&&l(g,w))return w}return new Result(!1)}},2777:(e,t,r)=>{var a=r(9565),n=r(34),i=r(757),s=r(5966),o=r(4270),c=r(8227),l=TypeError,h=c("toPrimitive");e.exports=function(e,t){if(!n(e)||i(e))return e;var r,c=s(e,h);if(c){void 0===t&&(t="default");r=a(c,e,t);if(!n(r)||i(r))return r;throw new l("Can't convert object to primitive value")}void 0===t&&(t="number");return o(e,t)}},2787:(e,t,r)=>{var a=r(9297),n=r(4901),i=r(8981),s=r(6119),o=r(2211),c=s("IE_PROTO"),l=Object,h=l.prototype;e.exports=o?l.getPrototypeOf:function(e){var t=i(e);if(a(t,c))return t[c];var r=t.constructor;return n(r)&&t instanceof r?r.prototype:t instanceof l?h:null}},2796:(e,t,r)=>{var a=r(9039),n=r(4901),i=/#|\.prototype\./,isForced=function(e,t){var r=o[s(e)];return r===l||r!==c&&(n(t)?a(t):!!t)},s=isForced.normalize=function(e){return String(e).replace(i,".").toLowerCase()},o=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},2804:e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",a=t+"-_",inverse=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:inverse(r),i2cUrl:a,c2iUrl:inverse(a)}},2812:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},2839:(e,t,r)=>{var a=r(4576).navigator,n=a&&a.userAgent;e.exports=n?String(n):""},2967:(e,t,r)=>{var a=r(6706),n=r(34),i=r(7750),s=r(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=a(Object.prototype,"__proto__","set"))(r,[]);t=r instanceof Array}catch(e){}return function setPrototypeOf(r,a){i(r);s(a);if(!n(r))return r;t?e(r,a):r.__proto__=a;return r}}():void 0)},3167:(e,t,r)=>{var a=r(4901),n=r(34),i=r(2967);e.exports=function(e,t,r){var s,o;i&&a(s=t.constructor)&&s!==r&&n(o=s.prototype)&&o!==r.prototype&&i(e,o);return e}},3238:(e,t,r)=>{var a=r(4576),n=r(7811),i=r(7394),s=a.DataView;e.exports=function(e){if(!n||0!==i(e))return!1;try{new s(e);return!1}catch(e){return!0}}},3392:(e,t,r)=>{var a=r(9504),n=0,i=Math.random(),s=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}},3440:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(9286),s=r(5170),o=r(3789),c=r(8469),l=r(507),h=n.has,u=n.remove;e.exports=function difference(e){var t=a(this),r=o(e),n=i(t);s(t)<=r.size?c(t,(function(e){r.includes(e)&&u(n,e)})):l(r.getIterator(),(function(e){h(t,e)&&u(n,e)}));return n}},3463:e=>{var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},3506:(e,t,r)=>{var a=r(3925),n=String,i=TypeError;e.exports=function(e){if(a(e))return e;throw new i("Can't set "+n(e)+" as a prototype")}},3579:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("some",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{some:function some(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3611:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(2106),s=r(3724),o=TypeError,c=Object.defineProperty,l=n.self!==n;try{if(s){var h=Object.getOwnPropertyDescriptor(n,"self");!l&&h&&h.get&&h.enumerable||i(n,"self",{get:function self(){return n},set:function self(e){if(this!==n)throw new o("Illegal invocation");c(n,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else a({global:!0,simple:!0,forced:l},{self:n})}catch(e){}},3650:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(9286),s=r(3789),o=r(507),c=n.add,l=n.has,h=n.remove;e.exports=function symmetricDifference(e){var t=a(this),r=s(e).getIterator(),n=i(t);o(r,(function(e){l(t,e)?h(n,e):c(n,e)}));return n}},3706:(e,t,r)=>{var a=r(9504),n=r(4901),i=r(7629),s=a(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)});e.exports=i.inspectSource},3717:(e,t)=>{t.f=Object.getOwnPropertySymbols},3724:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3789:(e,t,r)=>{var a=r(9306),n=r(8551),i=r(9565),s=r(1291),o=r(1767),c="Invalid size",l=RangeError,h=TypeError,u=Math.max,SetRecord=function(e,t){this.set=e;this.size=u(t,0);this.has=a(e.has);this.keys=a(e.keys)};SetRecord.prototype={getIterator:function(){return o(n(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}};e.exports=function(e){n(e);var t=+e.size;if(t!=t)throw new h(c);var r=s(t);if(r<0)throw new l(c);return new SetRecord(e,r)}},3838:(e,t,r)=>{var a=r(7080),n=r(5170),i=r(8469),s=r(3789);e.exports=function isSubsetOf(e){var t=a(this),r=s(e);return!(n(t)>r.size)&&!1!==i(t,(function(e){if(!r.includes(e))return!1}),!0)}},3853:(e,t,r)=>{var a=r(6518),n=r(4449);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:n})},3925:(e,t,r)=>{var a=r(34);e.exports=function(e){return a(e)||null===e}},3972:(e,t,r)=>{var a=r(34),n=String,i=TypeError;e.exports=function(e){if(void 0===e||a(e))return e;throw new i(n(e)+" is not an object or undefined")}},4055:(e,t,r)=>{var a=r(4576),n=r(34),i=a.document,s=n(i)&&n(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},4114:(e,t,r)=>{var a=r(6518),n=r(8981),i=r(6198),s=r(4527),o=r(6837);a({target:"Array",proto:!0,arity:1,forced:r(9039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=n(this),r=i(t),a=arguments.length;o(r+a);for(var c=0;c<a;c++){t[r]=arguments[c];r++}s(t,r);return r}})},4117:e=>{e.exports=function(e){return null==e}},4154:(e,t,r)=>{var a=r(6955),n=TypeError;e.exports=function(e){if("Uint8Array"===a(e))return e;throw new n("Argument is not an Uint8Array")}},4204:(e,t,r)=>{var a=r(7080),n=r(4402).add,i=r(9286),s=r(3789),o=r(507);e.exports=function union(e){var t=a(this),r=s(e).getIterator(),c=i(t);o(r,(function(e){n(c,e)}));return c}},4209:(e,t,r)=>{var a=r(8227),n=r(6269),i=a("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}},4215:(e,t,r)=>{var a=r(4576),n=r(2839),i=r(2195),userAgentStartsWith=function(e){return n.slice(0,e.length)===e};e.exports=userAgentStartsWith("Bun/")?"BUN":userAgentStartsWith("Cloudflare-Workers")?"CLOUDFLARE":userAgentStartsWith("Deno/")?"DENO":userAgentStartsWith("Node.js/")?"NODE":a.Bun&&"string"==typeof Bun.version?"BUN":a.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(a.process)?"NODE":a.window&&a.document?"BROWSER":"REST"},4270:(e,t,r)=>{var a=r(9565),n=r(4901),i=r(34),s=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&n(r=e.toString)&&!i(o=a(r,e)))return o;if(n(r=e.valueOf)&&!i(o=a(r,e)))return o;if("string"!==t&&n(r=e.toString)&&!i(o=a(r,e)))return o;throw new s("Can't convert object to primitive value")}},4376:(e,t,r)=>{var a=r(2195);e.exports=Array.isArray||function isArray(e){return"Array"===a(e)}},4402:(e,t,r)=>{var a=r(9504),n=Set.prototype;e.exports={Set,add:a(n.add),has:a(n.has),remove:a(n.delete),proto:n}},4449:(e,t,r)=>{var a=r(7080),n=r(4402).has,i=r(5170),s=r(3789),o=r(8469),c=r(507),l=r(9539);e.exports=function isDisjointFrom(e){var t=a(this),r=s(e);if(i(t)<=r.size)return!1!==o(t,(function(e){if(r.includes(e))return!1}),!0);var h=r.getIterator();return!1!==c(h,(function(e){if(n(t,e))return l(h,"normal",!1)}))}},4483:(e,t,r)=>{var a,n,i,s,o=r(4576),c=r(9429),l=r(1548),h=o.structuredClone,u=o.ArrayBuffer,d=o.MessageChannel,f=!1;if(l)f=function(e){h(e,{transfer:[e]})};else if(u)try{d||(a=c("worker_threads"))&&(d=a.MessageChannel);if(d){n=new d;i=new u(2);s=function(e){n.port1.postMessage(null,[e])};if(2===i.byteLength){s(i);0===i.byteLength&&(f=s)}}}catch(e){}e.exports=f},4495:(e,t,r)=>{var a=r(9519),n=r(9039),i=r(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},4527:(e,t,r)=>{var a=r(3724),n=r(4376),i=TypeError,s=Object.getOwnPropertyDescriptor,o=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(n(e)&&!s(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4549:(e,t,r)=>{var a=r(4576);e.exports=function(e,t){var r=a.Iterator,n=r&&r.prototype,i=n&&n[e],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return i}},4576:function(e){var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4603:(e,t,r)=>{var a=r(6840),n=r(9504),i=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=n(c.append),h=n(c.delete),u=n(c.forEach),d=n([].push),f=new o("a=1&a=2&b=3");f.delete("a",1);f.delete("b",void 0);f+""!="a=2"&&a(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var a=[];u(this,(function(e,t){d(a,{key:t,value:e})}));s(t,1);for(var n,o=i(e),c=i(r),f=0,g=0,p=!1,m=a.length;f<m;){n=a[f++];if(p||n.key===o){p=!0;h(this,n.key)}else g++}for(;g<m;)(n=a[g++]).key===o&&n.value===c||l(this,n.key,n.value)}),{enumerable:!0,unsafe:!0})},4628:(e,t,r)=>{var a=r(6518),n=r(6043);a({target:"Promise",stat:!0},{withResolvers:function withResolvers(){var e=n.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},4659:(e,t,r)=>{var a=r(3724),n=r(4913),i=r(6980);e.exports=function(e,t,r){a?n.f(e,t,i(0,r)):e[t]=r}},4901:e=>{var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},4913:(e,t,r)=>{var a=r(3724),n=r(5917),i=r(8686),s=r(8551),o=r(6969),c=TypeError,l=Object.defineProperty,h=Object.getOwnPropertyDescriptor,u="enumerable",d="configurable",f="writable";t.f=a?i?function defineProperty(e,t,r){s(e);t=o(t);s(r);if("function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var a=h(e,t);if(a&&a[f]){e[t]=r.value;r={configurable:d in r?r[d]:a[d],enumerable:u in r?r[u]:a[u],writable:!1}}}return l(e,t,r)}:l:function defineProperty(e,t,r){s(e);t=o(t);s(r);if(n)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");"value"in r&&(e[t]=r.value);return e}},4916:(e,t,r)=>{var a=r(7751),createSetLike=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},createSetLikeWithInfinitySize=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var r=a("Set");try{(new r)[e](createSetLike(0));try{(new r)[e](createSetLike(-1));return!1}catch(a){if(!t)return!0;try{(new r)[e](createSetLikeWithInfinitySize(-1/0));return!1}catch(a){var n=new r;n.add(1);n.add(2);return t(n[e](createSetLikeWithInfinitySize(1/0)))}}}catch(e){return!1}}},4979:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(7751),s=r(6980),o=r(4913).f,c=r(9297),l=r(679),h=r(3167),u=r(2603),d=r(5002),f=r(8574),g=r(3724),p=r(6395),m="DOMException",b=i("Error"),y=i(m),w=function DOMException(){l(this,x);var e=arguments.length,t=u(e<1?void 0:arguments[0]),r=u(e<2?void 0:arguments[1],"Error"),a=new y(t,r),n=new b(t);n.name=m;o(a,"stack",s(1,f(n.stack,1)));h(a,this,w);return a},x=w.prototype=y.prototype,S="stack"in new b(m),k="stack"in new y(1,2),C=y&&g&&Object.getOwnPropertyDescriptor(n,m),v=!(!C||C.writable&&C.configurable),O=S&&!v&&!k;a({global:!0,constructor:!0,forced:p||O},{DOMException:O?w:y});var T=i(m),M=T.prototype;if(M.constructor!==T){p||o(M,"constructor",s(1,T));for(var D in d)if(c(d,D)){var R=d[D],E=R.s;c(T,E)||o(T,E,s(6,R.c))}}},5002:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},5024:(e,t,r)=>{var a=r(6518),n=r(3650);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("symmetricDifference")},{symmetricDifference:n})},5031:(e,t,r)=>{var a=r(7751),n=r(9504),i=r(8480),s=r(3717),o=r(8551),c=n([].concat);e.exports=a("Reflect","ownKeys")||function ownKeys(e){var t=i.f(o(e)),r=s.f;return r?c(t,r(e)):t}},5169:(e,t,r)=>{var a=r(3238),n=TypeError;e.exports=function(e){if(a(e))throw new n("ArrayBuffer is detached");return e}},5170:(e,t,r)=>{var a=r(6706),n=r(4402);e.exports=a(n.proto,"size","get")||function(e){return e.size}},5370:(e,t,r)=>{var a=r(6198);e.exports=function(e,t,r){for(var n=0,i=arguments.length>2?r:a(t),s=new e(i);i>n;)s[n]=t[n++];return s}},5397:(e,t,r)=>{var a=r(7055),n=r(7750);e.exports=function(e){return a(n(e))}},5610:(e,t,r)=>{var a=r(1291),n=Math.max,i=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):i(r,t)}},5623:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9504),s=r(4154),o=r(5169),c=i(1..toString);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{toHex:function toHex(){s(this);o(this.buffer);for(var e="",t=0,r=this.length;t<r;t++){var a=c(this[t],16);e+=1===a.length?"0"+a:a}return e}})},5636:(e,t,r)=>{var a=r(4576),n=r(9504),i=r(6706),s=r(7696),o=r(5169),c=r(7394),l=r(4483),h=r(1548),u=a.structuredClone,d=a.ArrayBuffer,f=a.DataView,g=Math.min,p=d.prototype,m=f.prototype,b=n(p.slice),y=i(p,"resizable","get"),w=i(p,"maxByteLength","get"),x=n(m.getInt8),S=n(m.setInt8);e.exports=(h||l)&&function(e,t,r){var a,n=c(e),i=void 0===t?n:s(t),p=!y||!y(e);o(e);if(h){e=u(e,{transfer:[e]});if(n===i&&(r||p))return e}if(n>=i&&(!r||p))a=b(e,0,i);else{var m=r&&!p&&w?{maxByteLength:w(e)}:void 0;a=new d(i,m);for(var k=new f(e),C=new f(a),v=g(i,n),O=0;O<v;O++)S(C,O,x(k,O))}h||l(e);return a}},5745:(e,t,r)=>{var a=r(7629);e.exports=function(e,t){return a[e]||(a[e]=t||{})}},5781:(e,t,r)=>{var a=r(6518),n=r(7751),i=r(2812),s=r(655),o=r(7416),c=n("URL");a({target:"URL",stat:!0,forced:!o},{parse:function parse(e){var t=i(arguments.length,1),r=s(e),a=t<2||void 0===arguments[1]?void 0:s(arguments[1]);try{return new c(r,a)}catch(e){return null}}})},5876:(e,t,r)=>{var a=r(6518),n=r(3838);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSubsetOf",(function(e){return e}))},{isSubsetOf:n})},5917:(e,t,r)=>{var a=r(3724),n=r(9039),i=r(4055);e.exports=!a&&!n((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5966:(e,t,r)=>{var a=r(9306),n=r(4117);e.exports=function(e,t){var r=e[t];return n(r)?void 0:a(r)}},6043:(e,t,r)=>{var a=r(9306),n=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,a){if(void 0!==t||void 0!==r)throw new n("Bad Promise constructor");t=e;r=a}));this.resolve=a(t);this.reject=a(r)};e.exports.f=function(e){return new PromiseCapability(e)}},6080:(e,t,r)=>{var a=r(7476),n=r(9306),i=r(616),s=a(a.bind);e.exports=function(e,t){n(e);return void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},6119:(e,t,r)=>{var a=r(5745),n=r(3392),i=a("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},6193:(e,t,r)=>{var a=r(4215);e.exports="NODE"===a},6198:(e,t,r)=>{var a=r(8014);e.exports=function(e){return a(e.length)}},6269:e=>{e.exports={}},6279:(e,t,r)=>{var a=r(6840);e.exports=function(e,t,r){for(var n in t)a(e,n,t[n],r);return e}},6319:(e,t,r)=>{var a=r(8551),n=r(9539);e.exports=function(e,t,r,i){try{return i?t(a(r)[0],r[1]):t(r)}catch(t){n(e,"throw",t)}}},6395:e=>{e.exports=!1},6518:(e,t,r)=>{var a=r(4576),n=r(7347).f,i=r(6699),s=r(6840),o=r(9433),c=r(7740),l=r(2796);e.exports=function(e,t){var r,h,u,d,f,g=e.target,p=e.global,m=e.stat;if(r=p?a:m?a[g]||o(g,{}):a[g]&&a[g].prototype)for(h in t){d=t[h];u=e.dontCallGetSet?(f=n(r,h))&&f.value:r[h];if(!l(p?h:g+(m?".":"#")+h,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(e.sham||u&&u.sham)&&i(d,"sham",!0);s(r,h,d,e)}}},6573:(e,t,r)=>{var a=r(3724),n=r(2106),i=r(3238),s=ArrayBuffer.prototype;a&&!("detached"in s)&&n(s,"detached",{configurable:!0,get:function detached(){return i(this)}})},6699:(e,t,r)=>{var a=r(3724),n=r(4913),i=r(6980);e.exports=a?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){e[t]=r;return e}},6706:(e,t,r)=>{var a=r(9504),n=r(9306);e.exports=function(e,t,r){try{return a(n(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},6801:(e,t,r)=>{var a=r(3724),n=r(8686),i=r(4913),s=r(8551),o=r(5397),c=r(1072);t.f=a&&!n?Object.defineProperties:function defineProperties(e,t){s(e);for(var r,a=o(t),n=c(t),l=n.length,h=0;l>h;)i.f(e,r=n[h++],a[r]);return e}},6823:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6837:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},6840:(e,t,r)=>{var a=r(4901),n=r(4913),i=r(283),s=r(9433);e.exports=function(e,t,r,o){o||(o={});var c=o.enumerable,l=void 0!==o.name?o.name:t;a(r)&&i(r,l,o);if(o.global)c?e[t]=r:s(t,r);else{try{o.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:n.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},6955:(e,t,r)=>{var a=r(2140),n=r(4901),i=r(2195),s=r(8227)("toStringTag"),o=Object,c="Arguments"===i(function(){return arguments}());e.exports=a?i:function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=o(e),s))?r:c?i(t):"Object"===(a=i(t))&&n(t.callee)?"Arguments":a}},6969:(e,t,r)=>{var a=r(2777),n=r(757);e.exports=function(e){var t=a(e,"string");return n(t)?t:t+""}},6980:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7040:(e,t,r)=>{var a=r(4495);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(e,t,r)=>{var a=r(9504),n=r(9039),i=r(2195),s=Object,o=a("".split);e.exports=n((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?o(e,""):s(e)}:s},7080:(e,t,r)=>{var a=r(4402).has;e.exports=function(e){a(e);return e}},7347:(e,t,r)=>{var a=r(3724),n=r(9565),i=r(8773),s=r(6980),o=r(5397),c=r(6969),l=r(9297),h=r(5917),u=Object.getOwnPropertyDescriptor;t.f=a?u:function getOwnPropertyDescriptor(e,t){e=o(e);t=c(t);if(h)try{return u(e,t)}catch(e){}if(l(e,t))return s(!n(i.f,e,t),e[t])}},7394:(e,t,r)=>{var a=r(4576),n=r(6706),i=r(2195),s=a.ArrayBuffer,o=a.TypeError;e.exports=s&&n(s.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new o("ArrayBuffer expected");return e.byteLength}},7416:(e,t,r)=>{var a=r(9039),n=r(8227),i=r(3724),s=r(6395),o=n("iterator");e.exports=!a((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),a="";e.pathname="c%20d";t.forEach((function(e,r){t.delete("b");a+=r+e}));r.delete("a",2);r.delete("b",void 0);return s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==a||"x"!==new URL("https://x",void 0).host}))},7476:(e,t,r)=>{var a=r(2195),n=r(9504);e.exports=function(e){if("Function"===a(e))return n(e)}},7566:(e,t,r)=>{var a=r(6840),n=r(9504),i=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=n(c.getAll),h=n(c.has),u=new o("a=1");!u.has("a",2)&&u.has("a",void 0)||a(c,"has",(function has(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var a=l(this,e);s(t,1);for(var n=i(r),o=0;o<a.length;)if(a[o++]===n)return!0;return!1}),{enumerable:!0,unsafe:!0})},7588:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("forEach",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{forEach:function forEach(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;i(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},7629:(e,t,r)=>{var a=r(6395),n=r(4576),i=r(9433),s="__core-js_shared__",o=e.exports=n[s]||i(s,{});(o.versions||(o.versions=[])).push({version:"3.42.0",mode:a?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7642:(e,t,r)=>{var a=r(6518),n=r(3440);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("difference",(function(e){return 0===e.size}))},{difference:n})},7657:(e,t,r)=>{var a,n,i,s=r(9039),o=r(4901),c=r(34),l=r(2360),h=r(2787),u=r(6840),d=r(8227),f=r(6395),g=d("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(n=h(h(i)))!==Object.prototype&&(a=n):p=!0);!c(a)||s((function(){var e={};return a[g].call(e)!==e}))?a={}:f&&(a=l(a));o(a[g])||u(a,g,(function(){return this}));e.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:p}},7680:(e,t,r)=>{var a=r(9504);e.exports=a([].slice)},7696:(e,t,r)=>{var a=r(1291),n=r(8014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=a(e),r=n(t);if(t!==r)throw new i("Wrong length or index");return r}},7740:(e,t,r)=>{var a=r(9297),n=r(5031),i=r(7347),s=r(4913);e.exports=function(e,t,r){for(var o=n(t),c=s.f,l=i.f,h=0;h<o.length;h++){var u=o[h];a(e,u)||r&&a(r,u)||c(e,u,l(t,u))}}},7750:(e,t,r)=>{var a=r(4117),n=TypeError;e.exports=function(e){if(a(e))throw new n("Can't call method on "+e);return e}},7751:(e,t,r)=>{var a=r(4576),n=r(4901);e.exports=function(e,t){return arguments.length<2?(r=a[e],n(r)?r:void 0):a[e]&&a[e][t];var r}},7811:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7936:(e,t,r)=>{var a=r(6518),n=r(5636);n&&a({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function transferToFixedLength(){return n(this,arguments.length?arguments[0]:void 0,!1)}})},7979:(e,t,r)=>{var a=r(8551);e.exports=function(){var e=a(this),t="";e.hasIndices&&(t+="d");e.global&&(t+="g");e.ignoreCase&&(t+="i");e.multiline&&(t+="m");e.dotAll&&(t+="s");e.unicode&&(t+="u");e.unicodeSets&&(t+="v");e.sticky&&(t+="y");return t}},8004:(e,t,r)=>{var a=r(6518),n=r(9039),i=r(8750);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||n((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},8014:(e,t,r)=>{var a=r(1291),n=Math.min;e.exports=function(e){var t=a(e);return t>0?n(t,9007199254740991):0}},8100:(e,t,r)=>{var a=r(6518),n=r(5636);n&&a({target:"ArrayBuffer",proto:!0},{transfer:function transfer(){return n(this,arguments.length?arguments[0]:void 0,!0)}})},8111:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(679),s=r(8551),o=r(4901),c=r(2787),l=r(2106),h=r(4659),u=r(9039),d=r(9297),f=r(8227),g=r(7657).IteratorPrototype,p=r(3724),m=r(6395),b="constructor",y="Iterator",w=f("toStringTag"),x=TypeError,S=n[y],k=m||!o(S)||S.prototype!==g||!u((function(){S({})})),C=function Iterator(){i(this,g);if(c(this)===g)throw new x("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){p?l(g,e,{configurable:!0,get:function(){return t},set:function(t){s(this);if(this===g)throw new x("You can't redefine this property");d(this,e)?this[e]=t:h(this,e,t)}}):g[e]=t};d(g,w)||defineIteratorPrototypeAccessor(w,y);!k&&d(g,b)&&g[b]!==Object||defineIteratorPrototypeAccessor(b,C);C.prototype=g;a({global:!0,constructor:!0,forced:k},{Iterator:C})},8227:(e,t,r)=>{var a=r(4576),n=r(5745),i=r(9297),s=r(3392),o=r(4495),c=r(7040),l=a.Symbol,h=n("wks"),u=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){i(h,e)||(h[e]=o&&i(l,e)?l[e]:u("Symbol."+e));return h[e]}},8237:(e,t,r)=>{var a=r(6518),n=r(2652),i=r(9306),s=r(8551),o=r(1767),c=r(9539),l=r(4549),h=r(8745),u=r(9039),d=TypeError,f=u((function(){[].keys().reduce((function(){}),void 0)})),g=!f&&l("reduce",d);a({target:"Iterator",proto:!0,real:!0,forced:f||g},{reduce:function reduce(e){s(this);try{i(e)}catch(e){c(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(g)return h(g,this,t?[e]:[e,r]);var a=o(this),l=0;n(a,(function(a){if(t){t=!1;r=a}else r=e(r,a,l);l++}),{IS_RECORD:!0});if(t)throw new d("Reduce of empty iterator with no initial value");return r}})},8469:(e,t,r)=>{var a=r(9504),n=r(507),i=r(4402),s=i.Set,o=i.proto,c=a(o.forEach),l=a(o.keys),h=l(new s).next;e.exports=function(e,t,r){return r?n({iterator:l(e),next:h},t):c(e,t)}},8480:(e,t,r)=>{var a=r(1828),n=r(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return a(e,n)}},8527:(e,t,r)=>{var a=r(7080),n=r(4402).has,i=r(5170),s=r(3789),o=r(507),c=r(9539);e.exports=function isSupersetOf(e){var t=a(this),r=s(e);if(i(t)<r.size)return!1;var l=r.getIterator();return!1!==o(l,(function(e){if(!n(t,e))return c(l,"normal",!1)}))}},8551:(e,t,r)=>{var a=r(34),n=String,i=TypeError;e.exports=function(e){if(a(e))return e;throw new i(n(e)+" is not an object")}},8574:(e,t,r)=>{var a=r(9504),n=Error,i=a("".replace),s=String(new n("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,c=o.test(s);e.exports=function(e,t){if(c&&"string"==typeof e&&!n.prepareStackTrace)for(;t--;)e=i(e,o,"");return e}},8622:(e,t,r)=>{var a=r(4576),n=r(4901),i=a.WeakMap;e.exports=n(i)&&/native code/.test(String(i))},8646:(e,t,r)=>{var a=r(9565),n=r(8551),i=r(1767),s=r(851);e.exports=function(e,t){t&&"string"==typeof e||n(e);var r=s(e);return i(n(void 0!==r?a(r,e):e))}},8686:(e,t,r)=>{var a=r(3724),n=r(9039);e.exports=a&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8721:(e,t,r)=>{var a=r(3724),n=r(9504),i=r(2106),s=URLSearchParams.prototype,o=n(s.forEach);a&&!("size"in s)&&i(s,"size",{get:function size(){var e=0;o(this,(function(){e++}));return e},configurable:!0,enumerable:!0})},8727:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(e,t,r)=>{var a=r(616),n=Function.prototype,i=n.apply,s=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(a?s.bind(i):function(){return s.apply(i,arguments)})},8750:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(5170),s=r(3789),o=r(8469),c=r(507),l=n.Set,h=n.add,u=n.has;e.exports=function intersection(e){var t=a(this),r=s(e),n=new l;i(t)>r.size?c(r.getIterator(),(function(e){u(t,e)&&h(n,e)})):o(t,(function(e){r.includes(e)&&h(n,e)}));return n}},8773:(e,t)=>{var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!r.call({1:2},1);t.f=n?function propertyIsEnumerable(e){var t=a(this,e);return!!t&&t.enumerable}:r},8981:(e,t,r)=>{var a=r(7750),n=Object;e.exports=function(e){return n(a(e))}},9039:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},9143:(e,t,r)=>{var a=r(4576),n=r(9504),i=r(3972),s=r(3463),o=r(9297),c=r(2804),l=r(944),h=r(5169),u=c.c2i,d=c.c2iUrl,f=a.SyntaxError,g=a.TypeError,p=n("".charAt),skipAsciiWhitespace=function(e,t){for(var r=e.length;t<r;t++){var a=p(e,t);if(" "!==a&&"\t"!==a&&"\n"!==a&&"\f"!==a&&"\r"!==a)break}return t},decodeBase64Chunk=function(e,t,r){var a=e.length;a<4&&(e+=2===a?"AA":"A");var n=(t[p(e,0)]<<18)+(t[p(e,1)]<<12)+(t[p(e,2)]<<6)+t[p(e,3)],i=[n>>16&255,n>>8&255,255&n];if(2===a){if(r&&0!==i[1])throw new f("Extra bits");return[i[0]]}if(3===a){if(r&&0!==i[2])throw new f("Extra bits");return[i[0],i[1]]}return i},writeBytes=function(e,t,r){for(var a=t.length,n=0;n<a;n++)e[r+n]=t[n];return r+a};e.exports=function(e,t,r,a){s(e);i(t);var n="base64"===l(t)?u:d,c=t?t.lastChunkHandling:void 0;void 0===c&&(c="loose");if("loose"!==c&&"strict"!==c&&"stop-before-partial"!==c)throw new g("Incorrect `lastChunkHandling` option");r&&h(r.buffer);var m=r||[],b=0,y=0,w="",x=0;if(a)for(;;){if((x=skipAsciiWhitespace(e,x))===e.length){if(w.length>0){if("stop-before-partial"===c)break;if("loose"!==c)throw new f("Missing padding");if(1===w.length)throw new f("Malformed padding: exactly one additional character");b=writeBytes(m,decodeBase64Chunk(w,n,!1),b)}y=e.length;break}var S=p(e,x);++x;if("="===S){if(w.length<2)throw new f("Padding is too early");x=skipAsciiWhitespace(e,x);if(2===w.length){if(x===e.length){if("stop-before-partial"===c)break;throw new f("Malformed padding: only one =")}if("="===p(e,x)){++x;x=skipAsciiWhitespace(e,x)}}if(x<e.length)throw new f("Unexpected character after padding");b=writeBytes(m,decodeBase64Chunk(w,n,"strict"===c),b);y=e.length;break}if(!o(n,S))throw new f("Unexpected character");var k=a-b;if(1===k&&2===w.length||2===k&&3===w.length)break;if(4===(w+=S).length){b=writeBytes(m,decodeBase64Chunk(w,n,!1),b);w="";y=x;if(b===a)break}}return{bytes:m,read:y,written:b}}},9286:(e,t,r)=>{var a=r(4402),n=r(8469),i=a.Set,s=a.add;e.exports=function(e){var t=new i;n(e,(function(e){s(t,e)}));return t}},9297:(e,t,r)=>{var a=r(9504),n=r(8981),i=a({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return i(n(e),t)}},9306:(e,t,r)=>{var a=r(4901),n=r(6823),i=TypeError;e.exports=function(e){if(a(e))return e;throw new i(n(e)+" is not a function")}},9429:(e,t,r)=>{var a=r(4576),n=r(6193);e.exports=function(e){if(n){try{return a.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},9432:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(5370),s=r(9143),o=n.Uint8Array;o&&a({target:"Uint8Array",stat:!0},{fromBase64:function fromBase64(e){var t=s(e,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return i(o,t.bytes)}})},9433:(e,t,r)=>{var a=r(4576),n=Object.defineProperty;e.exports=function(e,t){try{n(a,e,{value:t,configurable:!0,writable:!0})}catch(r){a[e]=t}return t}},9462:(e,t,r)=>{var a=r(9565),n=r(2360),i=r(6699),s=r(6279),o=r(8227),c=r(1181),l=r(5966),h=r(7657).IteratorPrototype,u=r(2529),d=r(9539),f=o("toStringTag"),g="IteratorHelper",p="WrapForValidIterator",m=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?p:g);return s(n(h),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return u(void 0,!0);try{var a=r.nextHandler();return r.returnHandlerResult?a:u(a,r.done)}catch(e){r.done=!0;throw e}},return:function(){var r=t(this),n=r.iterator;r.done=!0;if(e){var i=l(n,"return");return i?a(i,n):u(void 0,!0)}if(r.inner)try{d(r.inner.iterator,"normal")}catch(e){return d(n,"throw",e)}n&&d(n,"normal");return u(void 0,!0)}})},b=createIteratorProxyPrototype(!0),y=createIteratorProxyPrototype(!1);i(y,f,"Iterator Helper");e.exports=function(e,t,r){var a=function Iterator(a,n){if(n){n.iterator=a.iterator;n.next=a.next}else n=a;n.type=t?p:g;n.returnHandlerResult=!!r;n.nextHandler=e;n.counter=0;n.done=!1;m(this,n)};a.prototype=t?b:y;return a}},9479:(e,t,r)=>{var a=r(4576),n=r(3724),i=r(2106),s=r(7979),o=r(9039),c=a.RegExp,l=c.prototype;n&&o((function(){var e=!0;try{c(".","d")}catch(t){e=!1}var t={},r="",a=e?"dgimsy":"gimsy",addGetter=function(e,a){Object.defineProperty(t,e,{get:function(){r+=a;return!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};e&&(n.hasIndices="d");for(var i in n)addGetter(i,n[i]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==a||r!==a}))&&i(l,"flags",{configurable:!0,get:s})},9504:(e,t,r)=>{var a=r(616),n=Function.prototype,i=n.call,s=a&&n.bind.bind(i,i);e.exports=a?s:function(e){return function(){return i.apply(e,arguments)}}},9519:(e,t,r)=>{var a,n,i=r(4576),s=r(2839),o=i.process,c=i.Deno,l=o&&o.versions||c&&c.version,h=l&&l.v8;h&&(n=(a=h.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1]));!n&&s&&(!(a=s.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=s.match(/Chrome\/(\d+)/))&&(n=+a[1]);e.exports=n},9539:(e,t,r)=>{var a=r(9565),n=r(8551),i=r(5966);e.exports=function(e,t,r){var s,o;n(e);try{if(!(s=i(e,"return"))){if("throw"===t)throw r;return r}s=a(s,e)}catch(e){o=!0;s=e}if("throw"===t)throw r;if(o)throw s;n(s);return r}},9565:(e,t,r)=>{var a=r(616),n=Function.prototype.call;e.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},9617:(e,t,r)=>{var a=r(5397),n=r(5610),i=r(6198),createMethod=function(e){return function(t,r,s){var o=a(t),c=i(o);if(0===c)return!e&&-1;var l,h=n(s,c);if(e&&r!=r){for(;c>h;)if((l=o[h++])!=l)return!0}else for(;c>h;h++)if((e||h in o)&&o[h]===r)return e||h||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},9631:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9504),s=r(3972),o=r(4154),c=r(5169),l=r(2804),h=r(944),u=l.i2c,d=l.i2cUrl,f=i("".charAt);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{toBase64:function toBase64(){var e=o(this),t=arguments.length?s(arguments[0]):void 0,r="base64"===h(t)?u:d,a=!!t&&!!t.omitPadding;c(this.buffer);for(var n,i="",l=0,g=e.length,at=function(e){return f(r,n>>6*e&63)};l+2<g;l+=3){n=(e[l]<<16)+(e[l+1]<<8)+e[l+2];i+=at(3)+at(2)+at(1)+at(0)}if(l+2===g){n=(e[l]<<16)+(e[l+1]<<8);i+=at(3)+at(2)+at(1)+(a?"":"=")}else if(l+1===g){n=e[l]<<16;i+=at(3)+at(2)+(a?"":"==")}return i}})},9797:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(3463),s=r(4154),o=r(5169),c=r(2303);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{setFromHex:function setFromHex(e){s(this);i(e);o(this.buffer);var t=c(e,this).read;return{read:t,written:t/2}}})}},t={};function __webpack_require__(r){var a=t[r];if(void 0!==a)return a.exports;var n=t[r]={exports:{}};e[r].call(n.exports,n,n.exports,__webpack_require__);return n.exports}__webpack_require__(4114),__webpack_require__(6573),__webpack_require__(8100),__webpack_require__(7936),__webpack_require__(8111),__webpack_require__(1701),__webpack_require__(3579),__webpack_require__(4628),__webpack_require__(7642),__webpack_require__(8004),__webpack_require__(3853),__webpack_require__(5876),__webpack_require__(2475),__webpack_require__(5024),__webpack_require__(1698),__webpack_require__(1549),__webpack_require__(9797),__webpack_require__(9631),__webpack_require__(5623),__webpack_require__(3611),__webpack_require__(8237),__webpack_require__(1689),__webpack_require__(9432),__webpack_require__(4979),__webpack_require__(5781);const r=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),a=[.001,0,0,.001,0,0],n=1.35,i=.35,s=.25925925925925924,o=1,c=2,l=4,h=8,u=16,d=64,f=128,g=256,p="pdfjs_internal_editor_",m=3,b=9,y=13,w=15,x=101,S={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},k=0,C=4,v=1,O=2,T=3,M=1,D=2,R=3,E=4,N=5,_=6,L=7,j=8,U=9,q=10,X=11,H=12,W=13,z=14,$=15,G=16,V=17,K=20,J="Group",Y="R",Z=1,Q=2,ee=4,te=16,re=32,ae=128,ne=512,ie=1,se=2,oe=4096,ce=8192,le=32768,he=65536,ue=131072,de=1048576,fe=2097152,ge=8388608,pe=16777216,me=1,be=2,ye=3,we=4,xe=5,Se={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},Ae={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},ke={O:"PageOpen",C:"PageClose"},Ce=1,ve=5,Fe=1,Ie=2,Oe=3,Te=4,Me=5,De=6,Be=7,Re=8,Ee=9,Ne=10,Pe=11,_e=12,Le=13,je=14,Ue=15,qe=16,Xe=17,He=18,We=19,ze=20,$e=21,Ge=22,Ve=23,Ke=24,Je=25,Ye=26,Ze=27,Qe=28,et=29,tt=30,rt=31,nt=32,it=33,st=34,ot=35,ct=36,lt=37,ht=38,ut=39,dt=40,ft=41,gt=42,pt=43,mt=44,bt=45,yt=46,wt=47,xt=48,St=49,At=50,kt=51,Ct=52,vt=53,Ft=54,It=55,Ot=56,Tt=57,Mt=58,Dt=59,Bt=60,Rt=61,Et=62,Nt=63,Pt=64,_t=65,Lt=66,jt=67,Ut=68,qt=69,Xt=70,Ht=71,Wt=72,zt=73,$t=74,Gt=75,Vt=76,Kt=77,Jt=80,Yt=81,Zt=83,Qt=84,er=85,tr=86,rr=87,ar=88,nr=89,ir=90,sr=91,or=92,cr=93,lr=94,hr=0,ur=1,dr=2,fr=3,gr=1,pr=2;let mr=Ce;function getVerbosityLevel(){return mr}function info(e){mr>=ve&&console.log(`Info: ${e}`)}function warn(e){mr>=Ce&&console.log(`Warning: ${e}`)}function unreachable(e){throw new Error(e)}function assert(e,t){e||unreachable(t)}function createValidAbsoluteUrl(e,t=null,r=null){if(!e)return null;if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t?.length>=2&&(e=`http://${e}`)}if(r.tryConvertEncoding)try{e=stringToUTF8String(e)}catch{}}const a=t?URL.parse(e,t):URL.parse(e);return function _isValidProtocol(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(a)?a:null}function shadow(e,t,r,a=!1){Object.defineProperty(e,t,{value:r,enumerable:!a,configurable:!0,writable:!1});return r}const br=function BaseExceptionClosure(){function BaseException(e,t){this.message=e;this.name=t}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();class PasswordException extends br{constructor(e,t){super(e,"PasswordException");this.code=t}}class UnknownErrorException extends br{constructor(e,t){super(e,"UnknownErrorException");this.details=t}}class InvalidPDFException extends br{constructor(e){super(e,"InvalidPDFException")}}class ResponseException extends br{constructor(e,t,r){super(e,"ResponseException");this.status=t;this.missing=r}}class FormatError extends br{constructor(e){super(e,"FormatError")}}class AbortException extends br{constructor(e){super(e,"AbortException")}}function bytesToString(e){"object"==typeof e&&void 0!==e?.length||unreachable("Invalid argument for bytesToString");const t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);const a=[];for(let n=0;n<t;n+=r){const i=Math.min(n+r,t),s=e.subarray(n,i);a.push(String.fromCharCode.apply(null,s))}return a.join("")}function stringToBytes(e){"string"!=typeof e&&unreachable("Invalid argument for stringToBytes");const t=e.length,r=new Uint8Array(t);for(let a=0;a<t;++a)r[a]=255&e.charCodeAt(a);return r}function string32(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function objectSize(e){return Object.keys(e).length}class FeatureTest{static get isLittleEndian(){return shadow(this,"isLittleEndian",function isLittleEndian(){const e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]}())}static get isEvalSupported(){return shadow(this,"isEvalSupported",function isEvalSupported(){try{new Function("");return!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return shadow(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get isImageDecoderSupported(){return shadow(this,"isImageDecoderSupported","undefined"!=typeof ImageDecoder)}static get platform(){const{platform:e,userAgent:t}=navigator;return shadow(this,"platform",{isAndroid:t.includes("Android"),isLinux:e.includes("Linux"),isMac:e.includes("Mac"),isWindows:e.includes("Win"),isFirefox:t.includes("Firefox")})}static get isCSSRoundSupported(){return shadow(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const yr=Array.from(Array(256).keys(),(e=>e.toString(16).padStart(2,"0")));class Util{static makeHexColor(e,t,r){return`#${yr[e]}${yr[t]}${yr[r]}`}static scaleMinMax(e,t){let r;if(e[0]){if(e[0]<0){r=t[0];t[0]=t[2];t[2]=r}t[0]*=e[0];t[2]*=e[0];if(e[3]<0){r=t[1];t[1]=t[3];t[3]=r}t[1]*=e[3];t[3]*=e[3]}else{r=t[0];t[0]=t[1];t[1]=r;r=t[2];t[2]=t[3];t[3]=r;if(e[1]<0){r=t[1];t[1]=t[3];t[3]=r}t[1]*=e[1];t[3]*=e[1];if(e[2]<0){r=t[0];t[0]=t[2];t[2]=r}t[0]*=e[2];t[2]*=e[2]}t[0]+=e[4];t[1]+=e[5];t[2]+=e[4];t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t,r=0){const a=e[r],n=e[r+1];e[r]=a*t[0]+n*t[2]+t[4];e[r+1]=a*t[1]+n*t[3]+t[5]}static applyTransformToBezier(e,t,r=0){const a=t[0],n=t[1],i=t[2],s=t[3],o=t[4],c=t[5];for(let t=0;t<6;t+=2){const l=e[r+t],h=e[r+t+1];e[r+t]=l*a+h*i+o;e[r+t+1]=l*n+h*s+c}}static applyInverseTransform(e,t){const r=e[0],a=e[1],n=t[0]*t[3]-t[1]*t[2];e[0]=(r*t[3]-a*t[2]+t[2]*t[5]-t[4]*t[3])/n;e[1]=(-r*t[1]+a*t[0]+t[4]*t[1]-t[5]*t[0])/n}static axialAlignedBoundingBox(e,t,r){const a=t[0],n=t[1],i=t[2],s=t[3],o=t[4],c=t[5],l=e[0],h=e[1],u=e[2],d=e[3];let f=a*l+o,g=f,p=a*u+o,m=p,b=s*h+c,y=b,w=s*d+c,x=w;if(0!==n||0!==i){const e=n*l,t=n*u,r=i*h,a=i*d;f+=r;m+=r;p+=a;g+=a;b+=e;x+=e;w+=t;y+=t}r[0]=Math.min(r[0],f,p,g,m);r[1]=Math.min(r[1],b,w,y,x);r[2]=Math.max(r[2],f,p,g,m);r[3]=Math.max(r[3],b,w,y,x)}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e,t){const r=e[0],a=e[1],n=e[2],i=e[3],s=r**2+a**2,o=r*n+a*i,c=n**2+i**2,l=(s+c)/2,h=Math.sqrt(l**2-(s*c-o**2));t[0]=Math.sqrt(l+h||1);t[1]=Math.sqrt(l-h||1)}static normalizeRect(e){const t=e.slice(0);if(e[0]>e[2]){t[0]=e[2];t[2]=e[0]}if(e[1]>e[3]){t[1]=e[3];t[3]=e[1]}return t}static intersect(e,t){const r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),a=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>a)return null;const n=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),i=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return n>i?null:[r,n,a,i]}static pointBoundingBox(e,t,r){r[0]=Math.min(r[0],e);r[1]=Math.min(r[1],t);r[2]=Math.max(r[2],e);r[3]=Math.max(r[3],t)}static rectBoundingBox(e,t,r,a,n){n[0]=Math.min(n[0],e,r);n[1]=Math.min(n[1],t,a);n[2]=Math.max(n[2],e,r);n[3]=Math.max(n[3],t,a)}static#e(e,t,r,a,n,i,s,o,c,l){if(c<=0||c>=1)return;const h=1-c,u=c*c,d=u*c,f=h*(h*(h*e+3*c*t)+3*u*r)+d*a,g=h*(h*(h*n+3*c*i)+3*u*s)+d*o;l[0]=Math.min(l[0],f);l[1]=Math.min(l[1],g);l[2]=Math.max(l[2],f);l[3]=Math.max(l[3],g)}static#t(e,t,r,a,n,i,s,o,c,l,h,u){if(Math.abs(c)<1e-12){Math.abs(l)>=1e-12&&this.#e(e,t,r,a,n,i,s,o,-h/l,u);return}const d=l**2-4*h*c;if(d<0)return;const f=Math.sqrt(d),g=2*c;this.#e(e,t,r,a,n,i,s,o,(-l+f)/g,u);this.#e(e,t,r,a,n,i,s,o,(-l-f)/g,u)}static bezierBoundingBox(e,t,r,a,n,i,s,o,c){c[0]=Math.min(c[0],e,s);c[1]=Math.min(c[1],t,o);c[2]=Math.max(c[2],e,s);c[3]=Math.max(c[3],t,o);this.#t(e,r,n,s,t,a,i,o,3*(3*(r-n)-e+s),6*(e-2*r+n),3*(r-e),c);this.#t(e,r,n,s,t,a,i,o,3*(3*(a-i)-t+o),6*(t-2*a+i),3*(a-t),c)}}const wr=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function stringToPDFString(e,t=!1){if(e[0]>="ï"){let r;if("þ"===e[0]&&"ÿ"===e[1]){r="utf-16be";e.length%2==1&&(e=e.slice(0,-1))}else if("ÿ"===e[0]&&"þ"===e[1]){r="utf-16le";e.length%2==1&&(e=e.slice(0,-1))}else"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(r="utf-8");if(r)try{const a=new TextDecoder(r,{fatal:!0}),n=stringToBytes(e),i=a.decode(n);return t||!i.includes("")?i:i.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g,"")}catch(e){warn(`stringToPDFString: "${e}".`)}}const r=[];for(let a=0,n=e.length;a<n;a++){const i=e.charCodeAt(a);if(!t&&27===i){for(;++a<n&&27!==e.charCodeAt(a););continue}const s=wr[i];r.push(s?String.fromCharCode(s):e.charAt(a))}return r.join("")}function stringToUTF8String(e){return decodeURIComponent(escape(e))}function utf8StringToString(e){return unescape(encodeURIComponent(e))}function isArrayEqual(e,t){if(e.length!==t.length)return!1;for(let r=0,a=e.length;r<a;r++)if(e[r]!==t[r])return!1;return!0}function getModificationDate(e=new Date){return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")}let xr=null,Sr=null;function MathClamp(e,t,r){return Math.min(Math.max(e,t),r)}function toHexUtil(e){return Uint8Array.prototype.toHex?e.toHex():Array.from(e,(e=>yr[e])).join("")}"function"!=typeof Math.sumPrecise&&(Math.sumPrecise=function(e){return e.reduce(((e,t)=>e+t),0)});"function"!=typeof AbortSignal.any&&(AbortSignal.any=function(e){const t=new AbortController,{signal:r}=t;for(const a of e)if(a.aborted){t.abort(a.reason);return r}for(const a of e)a.addEventListener("abort",(()=>{t.abort(a.reason)}),{signal:r});return r});__webpack_require__(1148);const Ar=Symbol("CIRCULAR_REF"),kr=Symbol("EOF");let Cr=Object.create(null),vr=Object.create(null),Fr=Object.create(null);class Name{constructor(e){this.name=e}static get(e){return vr[e]||=new Name(e)}}class Cmd{constructor(e){this.cmd=e}static get(e){return Cr[e]||=new Cmd(e)}}const Ir=function nonSerializableClosure(){return Ir};class Dict{constructor(e=null){this._map=new Map;this.xref=e;this.objId=null;this.suppressEncryption=!1;this.__nonSerializable__=Ir}assignXref(e){this.xref=e}get size(){return this._map.size}get(e,t,r){let a=this._map.get(e);if(void 0===a&&void 0!==t){a=this._map.get(t);void 0===a&&void 0!==r&&(a=this._map.get(r))}return a instanceof Ref&&this.xref?this.xref.fetch(a,this.suppressEncryption):a}async getAsync(e,t,r){let a=this._map.get(e);if(void 0===a&&void 0!==t){a=this._map.get(t);void 0===a&&void 0!==r&&(a=this._map.get(r))}return a instanceof Ref&&this.xref?this.xref.fetchAsync(a,this.suppressEncryption):a}getArray(e,t,r){let a=this._map.get(e);if(void 0===a&&void 0!==t){a=this._map.get(t);void 0===a&&void 0!==r&&(a=this._map.get(r))}a instanceof Ref&&this.xref&&(a=this.xref.fetch(a,this.suppressEncryption));if(Array.isArray(a)){a=a.slice();for(let e=0,t=a.length;e<t;e++)a[e]instanceof Ref&&this.xref&&(a[e]=this.xref.fetch(a[e],this.suppressEncryption))}return a}getRaw(e){return this._map.get(e)}getKeys(){return[...this._map.keys()]}getRawValues(){return[...this._map.values()]}set(e,t){this._map.set(e,t)}has(e){return this._map.has(e)}*[Symbol.iterator](){for(const[e,t]of this._map)yield[e,t instanceof Ref&&this.xref?this.xref.fetch(t,this.suppressEncryption):t]}static get empty(){const e=new Dict(null);e.set=(e,t)=>{unreachable("Should not call `set` on the empty dictionary.")};return shadow(this,"empty",e)}static merge({xref:e,dictArray:t,mergeSubDicts:r=!1}){const a=new Dict(e),n=new Map;for(const e of t)if(e instanceof Dict)for(const[t,a]of e._map){let e=n.get(t);if(void 0===e){e=[];n.set(t,e)}else if(!(r&&a instanceof Dict))continue;e.push(a)}for(const[t,r]of n){if(1===r.length||!(r[0]instanceof Dict)){a._map.set(t,r[0]);continue}const n=new Dict(e);for(const e of r)for(const[t,r]of e._map)n._map.has(t)||n._map.set(t,r);n.size>0&&a._map.set(t,n)}n.clear();return a.size>0?a:Dict.empty}clone(){const e=new Dict(this.xref);for(const t of this.getKeys())e.set(t,this.getRaw(t));return e}delete(e){delete this._map[e]}}class Ref{constructor(e,t){this.num=e;this.gen=t}toString(){return 0===this.gen?`${this.num}R`:`${this.num}R${this.gen}`}static fromString(e){const t=Fr[e];if(t)return t;const r=/^(\d+)R(\d*)$/.exec(e);return r&&"0"!==r[1]?Fr[e]=new Ref(parseInt(r[1]),r[2]?parseInt(r[2]):0):null}static get(e,t){const r=0===t?`${e}R`:`${e}R${t}`;return Fr[r]||=new Ref(e,t)}}class RefSet{constructor(e=null){this._set=new Set(e?._set)}has(e){return this._set.has(e.toString())}put(e){this._set.add(e.toString())}remove(e){this._set.delete(e.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}class RefSetCache{constructor(){this._map=new Map}get size(){return this._map.size}get(e){return this._map.get(e.toString())}has(e){return this._map.has(e.toString())}put(e,t){this._map.set(e.toString(),t)}putAlias(e,t){this._map.set(e.toString(),this.get(t))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}*values(){yield*this._map.values()}*items(){for(const[e,t]of this._map)yield[Ref.fromString(e),t]}}function isName(e,t){return e instanceof Name&&(void 0===t||e.name===t)}function isCmd(e,t){return e instanceof Cmd&&(void 0===t||e.cmd===t)}function isDict(e,t){return e instanceof Dict&&(void 0===t||isName(e.get("Type"),t))}function isRefsEqual(e,t){return e.num===t.num&&e.gen===t.gen}class BaseStream{get length(){unreachable("Abstract getter `length` accessed")}get isEmpty(){unreachable("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return shadow(this,"isDataLoaded",!0)}getByte(){unreachable("Abstract method `getByte` called")}getBytes(e){unreachable("Abstract method `getBytes` called")}async getImageData(e,t){return this.getBytes(e,t)}async asyncGetBytes(){unreachable("Abstract method `asyncGetBytes` called")}get isAsync(){return!1}get isAsyncDecoder(){return!1}get canAsyncDecodeImageFromBuffer(){return!1}async getTransferableImage(){return null}peekByte(){const e=this.getByte();-1!==e&&this.pos--;return e}peekBytes(e){const t=this.getBytes(e);this.pos-=t.length;return t}getUint16(){const e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}getByteRange(e,t){unreachable("Abstract method `getByteRange` called")}getString(e){return bytesToString(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){unreachable("Abstract method `reset` called")}moveStart(){unreachable("Abstract method `moveStart` called")}makeSubStream(e,t,r=null){unreachable("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}const Or=/^[1-9]\.\d$/,Tr=2**31-1,Mr=[1,0,0,1,0,0],Dr=["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"],Rr=["ExtGState","Font","Properties","XObject"];function getLookupTableFactory(e){let t;return function(){if(e){t=Object.create(null);e(t);e=null}return t}}class MissingDataException extends br{constructor(e,t){super(`Missing data [${e}, ${t})`,"MissingDataException");this.begin=e;this.end=t}}class ParserEOFException extends br{constructor(e){super(e,"ParserEOFException")}}class XRefEntryException extends br{constructor(e){super(e,"XRefEntryException")}}class XRefParseException extends br{constructor(e){super(e,"XRefParseException")}}function arrayBuffersToBytes(e){const t=e.length;if(0===t)return new Uint8Array(0);if(1===t)return new Uint8Array(e[0]);let r=0;for(let a=0;a<t;a++)r+=e[a].byteLength;const a=new Uint8Array(r);let n=0;for(let r=0;r<t;r++){const t=new Uint8Array(e[r]);a.set(t,n);n+=t.byteLength}return a}async function fetchBinaryData(e){const t=await fetch(e);if(!t.ok)throw new Error(`Failed to fetch file "${e}" with "${t.statusText}".`);return new Uint8Array(await t.arrayBuffer())}function getInheritableProperty({dict:e,key:t,getArray:r=!1,stopWhenFound:a=!0}){let n;const i=new RefSet;for(;e instanceof Dict&&(!e.objId||!i.has(e.objId));){e.objId&&i.put(e.objId);const s=r?e.getArray(t):e.get(t);if(void 0!==s){if(a)return s;(n||=[]).push(s)}e=e.get("Parent")}return n}const Er=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function toRomanNumerals(e,t=!1){assert(Number.isInteger(e)&&e>0,"The number should be a positive integer.");const r="M".repeat(e/1e3|0)+Er[e%1e3/100|0]+Er[10+(e%100/10|0)]+Er[20+e%10];return t?r.toLowerCase():r}function log2(e){return e>0?Math.ceil(Math.log2(e)):0}function readInt8(e,t){return e[t]<<24>>24}function readInt16(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function readUint16(e,t){return e[t]<<8|e[t+1]}function readUint32(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function isWhiteSpace(e){return 32===e||9===e||13===e||10===e}function isNumberArray(e,t){return Array.isArray(e)?(null===t||e.length===t)&&e.every((e=>"number"==typeof e)):ArrayBuffer.isView(e)&&!(e instanceof BigInt64Array||e instanceof BigUint64Array)&&(null===t||e.length===t)}function lookupMatrix(e,t){return isNumberArray(e,6)?e:t}function lookupRect(e,t){return isNumberArray(e,4)?e:t}function lookupNormalRect(e,t){return isNumberArray(e,4)?Util.normalizeRect(e):t}function parseXFAPath(e){const t=/(.+)\[(\d+)\]$/;return e.split(".").map((e=>{const r=e.match(t);return r?{name:r[1],pos:parseInt(r[2],10)}:{name:e,pos:0}}))}function escapePDFName(e){const t=[];let r=0;for(let a=0,n=e.length;a<n;a++){const n=e.charCodeAt(a);if(n<33||n>126||35===n||40===n||41===n||60===n||62===n||91===n||93===n||123===n||125===n||47===n||37===n){r<a&&t.push(e.substring(r,a));t.push(`#${n.toString(16)}`);r=a+1}}if(0===t.length)return e;r<e.length&&t.push(e.substring(r,e.length));return t.join("")}function escapeString(e){return e.replaceAll(/([()\\\n\r])/g,(e=>"\n"===e?"\\n":"\r"===e?"\\r":`\\${e}`))}function _collectJS(e,t,r,a){if(!e)return;let n=null;if(e instanceof Ref){if(a.has(e))return;n=e;a.put(n);e=t.fetch(e)}if(Array.isArray(e))for(const n of e)_collectJS(n,t,r,a);else if(e instanceof Dict){if(isName(e.get("S"),"JavaScript")){const t=e.get("JS");let a;t instanceof BaseStream?a=t.getString():"string"==typeof t&&(a=t);a&&=stringToPDFString(a,!0).replaceAll("\0","");a&&r.push(a)}_collectJS(e.getRaw("Next"),t,r,a)}n&&a.remove(n)}function collectActions(e,t,r){const a=Object.create(null),n=getInheritableProperty({dict:t,key:"AA",stopWhenFound:!1});if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(i instanceof Dict)for(const t of i.getKeys()){const n=r[t];if(!n)continue;const s=[];_collectJS(i.getRaw(t),e,s,new RefSet);s.length>0&&(a[n]=s)}}if(t.has("A")){const r=[];_collectJS(t.get("A"),e,r,new RefSet);r.length>0&&(a.Action=r)}return objectSize(a)>0?a:null}const Nr={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"};function*codePointIter(e){for(let t=0,r=e.length;t<r;t++){const r=e.codePointAt(t);r>55295&&(r<57344||r>65533)&&t++;yield r}}function encodeToXmlString(e){const t=[];let r=0;for(let a=0,n=e.length;a<n;a++){const n=e.codePointAt(a);if(32<=n&&n<=126){const i=Nr[n];if(i){r<a&&t.push(e.substring(r,a));t.push(i);r=a+1}}else{r<a&&t.push(e.substring(r,a));t.push(`&#x${n.toString(16).toUpperCase()};`);n>55295&&(n<57344||n>65533)&&a++;r=a+1}}if(0===t.length)return e;r<e.length&&t.push(e.substring(r,e.length));return t.join("")}function validateFontName(e,t=!1){const r=/^("|').*("|')$/.exec(e);if(r&&r[1]===r[2]){if(new RegExp(`[^\\\\]${r[1]}`).test(e.slice(1,-1))){t&&warn(`FontFamily contains unescaped ${r[1]}: ${e}.`);return!1}}else for(const r of e.split(/[ \t]+/))if(/^(\d|(-(\d|-)))/.test(r)||!/^[\w-\\]+$/.test(r)){t&&warn(`FontFamily contains invalid <custom-ident>: ${e}.`);return!1}return!0}function validateCSSFont(e){const t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:r,fontWeight:a,italicAngle:n}=e;if(!validateFontName(r,!0))return!1;const i=a?a.toString():"";e.fontWeight=t.has(i)?i:"400";const s=parseFloat(n);e.italicAngle=isNaN(s)||s<-90||s>90?"14":n.toString();return!0}function recoverJsURL(e){const t=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(e);return t?.[2]?{url:t[2],newWindow:"app.launchURL"===t[1]&&"true"===t[3]}:null}function numberToString(e){if(Number.isInteger(e))return e.toString();const t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)}function getNewAnnotationsMap(e){if(!e)return null;const t=new Map;for(const[r,a]of e){if(!r.startsWith(p))continue;let e=t.get(a.pageIndex);if(!e){e=[];t.set(a.pageIndex,e)}e.push(a)}return t.size>0?t:null}function stringToAsciiOrUTF16BE(e){return function isAscii(e){return/^[\x00-\x7F]*$/.test(e)}(e)?e:stringToUTF16String(e,!0)}function stringToUTF16HexString(e){const t=[];for(let r=0,a=e.length;r<a;r++){const a=e.charCodeAt(r);t.push(yr[a>>8&255],yr[255&a])}return t.join("")}function stringToUTF16String(e,t=!1){const r=[];t&&r.push("þÿ");for(let t=0,a=e.length;t<a;t++){const a=e.charCodeAt(t);r.push(String.fromCharCode(a>>8&255),String.fromCharCode(255&a))}return r.join("")}function getRotationMatrix(e,t,r){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,r];case 270:return[0,-1,1,0,0,r];default:throw new Error("Invalid rotation")}}function getSizeInBytes(e){return Math.ceil(Math.ceil(Math.log2(1+e))/8)}__webpack_require__(4603),__webpack_require__(7566),__webpack_require__(8721);class QCMS{static#r=null;static _memory=null;static _mustAddAlpha=!1;static _destBuffer=null;static _destOffset=0;static _destLength=0;static _cssColor="";static _makeHexColor=null;static get _memoryArray(){const e=this.#r;return e?.byteLength?e:this.#r=new Uint8Array(this._memory.buffer)}}let Pr;const _r="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&_r.decode();let Lr=null;function getUint8ArrayMemory0(){null!==Lr&&0!==Lr.byteLength||(Lr=new Uint8Array(Pr.memory.buffer));return Lr}let jr=0;function passArray8ToWasm0(e,t){const r=t(1*e.length,1)>>>0;getUint8ArrayMemory0().set(e,r/1);jr=e.length;return r}const Ur=Object.freeze({RGB8:0,0:"RGB8",RGBA8:1,1:"RGBA8",BGRA8:2,2:"BGRA8",Gray8:3,3:"Gray8",GrayA8:4,4:"GrayA8",CMYK:5,5:"CMYK"}),qr=Object.freeze({Perceptual:0,0:"Perceptual",RelativeColorimetric:1,1:"RelativeColorimetric",Saturation:2,2:"Saturation",AbsoluteColorimetric:3,3:"AbsoluteColorimetric"});function __wbg_get_imports(){const e={wbg:{}};e.wbg.__wbg_copyresult_b08ee7d273f295dd=function(e,t){!function copy_result(e,t){const{_mustAddAlpha:r,_destBuffer:a,_destOffset:n,_destLength:i,_memoryArray:s}=QCMS;if(t!==i)if(r)for(let r=e,i=e+t,o=n;r<i;r+=3,o+=4){a[o]=s[r];a[o+1]=s[r+1];a[o+2]=s[r+2];a[o+3]=255}else for(let r=e,i=e+t,o=n;r<i;r+=3,o+=4){a[o]=s[r];a[o+1]=s[r+1];a[o+2]=s[r+2]}else a.set(s.subarray(e,e+t),n)}(e>>>0,t>>>0)};e.wbg.__wbg_copyrgb_d60ce17bb05d9b67=function(e){!function copy_rgb(e){const{_destBuffer:t,_destOffset:r,_memoryArray:a}=QCMS;t[r]=a[e];t[r+1]=a[e+1];t[r+2]=a[e+2]}(e>>>0)};e.wbg.__wbg_makecssRGB_893bf0cd9fdb302d=function(e){!function make_cssRGB(e){const{_memoryArray:t}=QCMS;QCMS._cssColor=QCMS._makeHexColor(t[e],t[e+1],t[e+2])}(e>>>0)};e.wbg.__wbindgen_init_externref_table=function(){const e=Pr.__wbindgen_export_0,t=e.grow(4);e.set(0,void 0);e.set(t+0,void 0);e.set(t+1,null);e.set(t+2,!0);e.set(t+3,!1)};e.wbg.__wbindgen_throw=function(e,t){throw new Error(function getStringFromWasm0(e,t){e>>>=0;return _r.decode(getUint8ArrayMemory0().subarray(e,e+t))}(e,t))};return e}function __wbg_finalize_init(e,t){Pr=e.exports;__wbg_init.__wbindgen_wasm_module=t;Lr=null;Pr.__wbindgen_start();return Pr}async function __wbg_init(e){if(void 0!==Pr)return Pr;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const t=__wbg_get_imports();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:r,module:a}=await async function __wbg_load(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}(await e,t);return __wbg_finalize_init(r,a)}class ColorSpace{static#a=new Uint8ClampedArray(3);constructor(e,t){this.name=e;this.numComps=t}getRgb(e,t,r=new Uint8ClampedArray(3)){this.getRgbItem(e,t,r,0);return r}getRgbHex(e,t){const r=this.getRgb(e,t,ColorSpace.#a);return Util.makeHexColor(r[0],r[1],r[2])}getRgbItem(e,t,r,a){unreachable("Should not call ColorSpace.getRgbItem")}getRgbBuffer(e,t,r,a,n,i,s){unreachable("Should not call ColorSpace.getRgbBuffer")}getOutputLength(e,t){unreachable("Should not call ColorSpace.getOutputLength")}isPassthrough(e){return!1}isDefaultDecode(e,t){return ColorSpace.isDefaultDecode(e,this.numComps)}fillRgb(e,t,r,a,n,i,s,o,c){const l=t*r;let h=null;const u=1<<s,d=r!==n||t!==a;if(this.isPassthrough(s))h=o;else if(1===this.numComps&&l>u&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){const t=s<=8?new Uint8Array(u):new Uint16Array(u);for(let e=0;e<u;e++)t[e]=e;const r=new Uint8ClampedArray(3*u);this.getRgbBuffer(t,0,u,r,0,s,0);if(d){h=new Uint8Array(3*l);let e=0;for(let t=0;t<l;++t){const a=3*o[t];h[e++]=r[a];h[e++]=r[a+1];h[e++]=r[a+2]}}else{let t=0;for(let a=0;a<l;++a){const n=3*o[a];e[t++]=r[n];e[t++]=r[n+1];e[t++]=r[n+2];t+=c}}}else if(d){h=new Uint8ClampedArray(3*l);this.getRgbBuffer(o,0,l,h,0,s,0)}else this.getRgbBuffer(o,0,a*i,e,0,s,c);if(h)if(d)!function resizeRgbImage(e,t,r,a,n,i,s){s=1!==s?0:s;const o=r/n,c=a/i;let l,h=0;const u=new Uint16Array(n),d=3*r;for(let e=0;e<n;e++)u[e]=3*Math.floor(e*o);for(let r=0;r<i;r++){const a=Math.floor(r*c)*d;for(let r=0;r<n;r++){l=a+u[r];t[h++]=e[l++];t[h++]=e[l++];t[h++]=e[l++];h+=s}}}(h,e,t,r,a,n,c);else{let t=0,r=0;for(let n=0,s=a*i;n<s;n++){e[t++]=h[r++];e[t++]=h[r++];e[t++]=h[r++];t+=c}}}get usesZeroToOneRange(){return shadow(this,"usesZeroToOneRange",!0)}static isDefaultDecode(e,t){if(!Array.isArray(e))return!0;if(2*t!==e.length){warn("The decode map is not the correct length");return!0}for(let t=0,r=e.length;t<r;t+=2)if(0!==e[t]||1!==e[t+1])return!1;return!0}}class AlternateCS extends ColorSpace{constructor(e,t,r){super("Alternate",e);this.base=t;this.tintFn=r;this.tmpBuf=new Float32Array(t.numComps)}getRgbItem(e,t,r,a){const n=this.tmpBuf;this.tintFn(e,t,n,0);this.base.getRgbItem(n,0,r,a)}getRgbBuffer(e,t,r,a,n,i,s){const o=this.tintFn,c=this.base,l=1/((1<<i)-1),h=c.numComps,u=c.usesZeroToOneRange,d=(c.isPassthrough(8)||!u)&&0===s;let f=d?n:0;const g=d?a:new Uint8ClampedArray(h*r),p=this.numComps,m=new Float32Array(p),b=new Float32Array(h);let y,w;for(y=0;y<r;y++){for(w=0;w<p;w++)m[w]=e[t++]*l;o(m,0,b,0);if(u)for(w=0;w<h;w++)g[f++]=255*b[w];else{c.getRgbItem(b,0,g,f);f+=h}}d||c.getRgbBuffer(g,0,r,a,n,8,s)}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}class PatternCS extends ColorSpace{constructor(e){super("Pattern",null);this.base=e}isDefaultDecode(e,t){unreachable("Should not call PatternCS.isDefaultDecode")}}class IndexedCS extends ColorSpace{constructor(e,t,r){super("Indexed",1);this.base=e;this.highVal=t;const a=e.numComps*(t+1);this.lookup=new Uint8Array(a);if(r instanceof BaseStream){const e=r.getBytes(a);this.lookup.set(e)}else{if("string"!=typeof r)throw new FormatError(`IndexedCS - unrecognized lookup table: ${r}`);for(let e=0;e<a;++e)this.lookup[e]=255&r.charCodeAt(e)}}getRgbItem(e,t,r,a){const{base:n,highVal:i,lookup:s}=this,o=MathClamp(Math.round(e[t]),0,i)*n.numComps;n.getRgbBuffer(s,o,1,r,a,8,0)}getRgbBuffer(e,t,r,a,n,i,s){const{base:o,highVal:c,lookup:l}=this,{numComps:h}=o,u=o.getOutputLength(h,s);for(let i=0;i<r;++i){const r=MathClamp(Math.round(e[t++]),0,c)*h;o.getRgbBuffer(l,r,1,a,n,8,s);n+=u}}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}isDefaultDecode(e,t){if(!Array.isArray(e))return!0;if(2!==e.length){warn("Decode map length is not correct");return!0}if(!Number.isInteger(t)||t<1){warn("Bits per component is not correct");return!0}return 0===e[0]&&e[1]===(1<<t)-1}}class DeviceGrayCS extends ColorSpace{constructor(){super("DeviceGray",1)}getRgbItem(e,t,r,a){const n=255*e[t];r[a]=r[a+1]=r[a+2]=n}getRgbBuffer(e,t,r,a,n,i,s){const o=255/((1<<i)-1);let c=t,l=n;for(let t=0;t<r;++t){const t=o*e[c++];a[l++]=t;a[l++]=t;a[l++]=t;l+=s}}getOutputLength(e,t){return e*(3+t)}}class DeviceRgbCS extends ColorSpace{constructor(){super("DeviceRGB",3)}getRgbItem(e,t,r,a){r[a]=255*e[t];r[a+1]=255*e[t+1];r[a+2]=255*e[t+2]}getRgbBuffer(e,t,r,a,n,i,s){if(8===i&&0===s){a.set(e.subarray(t,t+3*r),n);return}const o=255/((1<<i)-1);let c=t,l=n;for(let t=0;t<r;++t){a[l++]=o*e[c++];a[l++]=o*e[c++];a[l++]=o*e[c++];l+=s}}getOutputLength(e,t){return e*(3+t)/3|0}isPassthrough(e){return 8===e}}class DeviceRgbaCS extends ColorSpace{constructor(){super("DeviceRGBA",4)}getOutputLength(e,t){return 4*e}isPassthrough(e){return 8===e}fillRgb(e,t,r,a,n,i,s,o,c){r!==n||t!==a?function resizeRgbaImage(e,t,r,a,n,i,s){const o=r/n,c=a/i;let l=0;const h=new Uint16Array(n);if(1===s){for(let e=0;e<n;e++)h[e]=Math.floor(e*o);const a=new Uint32Array(e.buffer),s=new Uint32Array(t.buffer),u=FeatureTest.isLittleEndian?16777215:4294967040;for(let e=0;e<i;e++){const t=a.subarray(Math.floor(e*c)*r);for(let e=0;e<n;e++)s[l++]|=t[h[e]]&u}}else{const a=4,s=r*a;for(let e=0;e<n;e++)h[e]=Math.floor(e*o)*a;for(let r=0;r<i;r++){const a=e.subarray(Math.floor(r*c)*s);for(let e=0;e<n;e++){const r=h[e];t[l++]=a[r];t[l++]=a[r+1];t[l++]=a[r+2]}}}}(o,e,t,r,a,n,c):function copyRgbaImage(e,t,r){if(1===r){const r=new Uint32Array(e.buffer),a=new Uint32Array(t.buffer),n=FeatureTest.isLittleEndian?16777215:4294967040;for(let e=0,t=r.length;e<t;e++)a[e]|=r[e]&n}else{let r=0;for(let a=0,n=e.length;a<n;a+=4){t[r++]=e[a];t[r++]=e[a+1];t[r++]=e[a+2]}}}(o,e,c)}}class DeviceCmykCS extends ColorSpace{constructor(){super("DeviceCMYK",4)}#n(e,t,r,a,n){const i=e[t]*r,s=e[t+1]*r,o=e[t+2]*r,c=e[t+3]*r;a[n]=255+i*(-4.387332384609988*i+54.48615194189176*s+18.82290502165302*o+212.25662451639585*c-285.2331026137004)+s*(1.7149763477362134*s-5.6096736904047315*o+-17.873870861415444*c-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*c+17.5119270841813)+c*(-21.86122147463605*c-189.48180835922747);a[n+1]=255+i*(8.841041422036149*i+60.118027045597366*s+6.871425592049007*o+31.159100130055922*c-79.2970844816548)+s*(-15.310361306967817*s+17.575251261109482*o+131.35250912493976*c-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*c-24.86741582555878)+c*(-20.737325471181034*c-187.80453709719578);a[n+2]=255+i*(.8842522430003296*i+8.078677503112928*s+30.89978309703729*o-.23883238689178934*c-14.183576799673286)+s*(10.49593273432072*s+63.02378494754052*o+50.606957656360734*c-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*c-193.58209356861505)+c*(-22.33816807309886*c-180.12613974708367)}getRgbItem(e,t,r,a){this.#n(e,t,1,r,a)}getRgbBuffer(e,t,r,a,n,i,s){const o=1/((1<<i)-1);for(let i=0;i<r;i++){this.#n(e,t,o,a,n);t+=4;n+=3+s}}getOutputLength(e,t){return e/4*(3+t)|0}}class CalGrayCS extends ColorSpace{constructor(e,t,r){super("CalGray",1);if(!e)throw new FormatError("WhitePoint missing - required for color space CalGray");[this.XW,this.YW,this.ZW]=e;[this.XB,this.YB,this.ZB]=t||[0,0,0];this.G=r||1;if(this.XW<0||this.ZW<0||1!==this.YW)throw new FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);if(this.XB<0||this.YB<0||this.ZB<0){info(`Invalid BlackPoint for ${this.name}, falling back to default.`);this.XB=this.YB=this.ZB=0}0===this.XB&&0===this.YB&&0===this.ZB||warn(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ZB: ${this.ZB}, only default values are supported.`);if(this.G<1){info(`Invalid Gamma: ${this.G} for ${this.name}, falling back to default.`);this.G=1}}#n(e,t,r,a,n){const i=(e[t]*n)**this.G,s=this.YW*i,o=Math.max(295.8*s**.3333333333333333-40.8,0);r[a]=o;r[a+1]=o;r[a+2]=o}getRgbItem(e,t,r,a){this.#n(e,t,r,a,1)}getRgbBuffer(e,t,r,a,n,i,s){const o=1/((1<<i)-1);for(let i=0;i<r;++i){this.#n(e,t,a,n,o);t+=1;n+=3+s}}getOutputLength(e,t){return e*(3+t)}}class CalRGBCS extends ColorSpace{static#i=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]);static#s=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]);static#o=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]);static#c=new Float32Array([1,1,1]);static#l=new Float32Array(3);static#h=new Float32Array(3);static#u=new Float32Array(3);static#d=(24/116)**3/8;constructor(e,t,r,a){super("CalRGB",3);if(!e)throw new FormatError("WhitePoint missing - required for color space CalRGB");const[n,i,s]=this.whitePoint=e,[o,c,l]=this.blackPoint=t||new Float32Array(3);[this.GR,this.GG,this.GB]=r||new Float32Array([1,1,1]);[this.MXA,this.MYA,this.MZA,this.MXB,this.MYB,this.MZB,this.MXC,this.MYC,this.MZC]=a||new Float32Array([1,0,0,0,1,0,0,0,1]);if(n<0||s<0||1!==i)throw new FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);if(o<0||c<0||l<0){info(`Invalid BlackPoint for ${this.name} [${o}, ${c}, ${l}], falling back to default.`);this.blackPoint=new Float32Array(3)}if(this.GR<0||this.GG<0||this.GB<0){info(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`);this.GR=this.GG=this.GB=1}}#f(e,t,r){r[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2];r[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2];r[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}#g(e,t,r){r[0]=1*t[0]/e[0];r[1]=1*t[1]/e[1];r[2]=1*t[2]/e[2]}#p(e,t,r){r[0]=.95047*t[0]/e[0];r[1]=1*t[1]/e[1];r[2]=1.08883*t[2]/e[2]}#m(e){return e<=.0031308?MathClamp(12.92*e,0,1):e>=.99554525?1:MathClamp(1.055*e**(1/2.4)-.055,0,1)}#b(e){return e<0?-this.#b(-e):e>8?((e+16)/116)**3:e*CalRGBCS.#d}#y(e,t,r){if(0===e[0]&&0===e[1]&&0===e[2]){r[0]=t[0];r[1]=t[1];r[2]=t[2];return}const a=this.#b(0),n=(1-a)/(1-this.#b(e[0])),i=1-n,s=(1-a)/(1-this.#b(e[1])),o=1-s,c=(1-a)/(1-this.#b(e[2])),l=1-c;r[0]=t[0]*n+i;r[1]=t[1]*s+o;r[2]=t[2]*c+l}#w(e,t,r){if(1===e[0]&&1===e[2]){r[0]=t[0];r[1]=t[1];r[2]=t[2];return}const a=r;this.#f(CalRGBCS.#i,t,a);const n=CalRGBCS.#l;this.#g(e,a,n);this.#f(CalRGBCS.#s,n,r)}#x(e,t,r){const a=r;this.#f(CalRGBCS.#i,t,a);const n=CalRGBCS.#l;this.#p(e,a,n);this.#f(CalRGBCS.#s,n,r)}#n(e,t,r,a,n){const i=MathClamp(e[t]*n,0,1),s=MathClamp(e[t+1]*n,0,1),o=MathClamp(e[t+2]*n,0,1),c=1===i?1:i**this.GR,l=1===s?1:s**this.GG,h=1===o?1:o**this.GB,u=this.MXA*c+this.MXB*l+this.MXC*h,d=this.MYA*c+this.MYB*l+this.MYC*h,f=this.MZA*c+this.MZB*l+this.MZC*h,g=CalRGBCS.#h;g[0]=u;g[1]=d;g[2]=f;const p=CalRGBCS.#u;this.#w(this.whitePoint,g,p);const m=CalRGBCS.#h;this.#y(this.blackPoint,p,m);const b=CalRGBCS.#u;this.#x(CalRGBCS.#c,m,b);const y=CalRGBCS.#h;this.#f(CalRGBCS.#o,b,y);r[a]=255*this.#m(y[0]);r[a+1]=255*this.#m(y[1]);r[a+2]=255*this.#m(y[2])}getRgbItem(e,t,r,a){this.#n(e,t,r,a,1)}getRgbBuffer(e,t,r,a,n,i,s){const o=1/((1<<i)-1);for(let i=0;i<r;++i){this.#n(e,t,a,n,o);t+=3;n+=3+s}}getOutputLength(e,t){return e*(3+t)/3|0}}class LabCS extends ColorSpace{constructor(e,t,r){super("Lab",3);if(!e)throw new FormatError("WhitePoint missing - required for color space Lab");[this.XW,this.YW,this.ZW]=e;[this.amin,this.amax,this.bmin,this.bmax]=r||[-100,100,-100,100];[this.XB,this.YB,this.ZB]=t||[0,0,0];if(this.XW<0||this.ZW<0||1!==this.YW)throw new FormatError("Invalid WhitePoint components, no fallback available");if(this.XB<0||this.YB<0||this.ZB<0){info("Invalid BlackPoint, falling back to default");this.XB=this.YB=this.ZB=0}if(this.amin>this.amax||this.bmin>this.bmax){info("Invalid Range, falling back to defaults");this.amin=-100;this.amax=100;this.bmin=-100;this.bmax=100}}#S(e){return e>=6/29?e**3:108/841*(e-4/29)}#A(e,t,r,a){return r+e*(a-r)/t}#n(e,t,r,a,n){let i=e[t],s=e[t+1],o=e[t+2];if(!1!==r){i=this.#A(i,r,0,100);s=this.#A(s,r,this.amin,this.amax);o=this.#A(o,r,this.bmin,this.bmax)}s>this.amax?s=this.amax:s<this.amin&&(s=this.amin);o>this.bmax?o=this.bmax:o<this.bmin&&(o=this.bmin);const c=(i+16)/116,l=c+s/500,h=c-o/200,u=this.XW*this.#S(l),d=this.YW*this.#S(c),f=this.ZW*this.#S(h);let g,p,m;if(this.ZW<1){g=3.1339*u+-1.617*d+-.4906*f;p=-.9785*u+1.916*d+.0333*f;m=.072*u+-.229*d+1.4057*f}else{g=3.2406*u+-1.5372*d+-.4986*f;p=-.9689*u+1.8758*d+.0415*f;m=.0557*u+-.204*d+1.057*f}a[n]=255*Math.sqrt(g);a[n+1]=255*Math.sqrt(p);a[n+2]=255*Math.sqrt(m)}getRgbItem(e,t,r,a){this.#n(e,t,!1,r,a)}getRgbBuffer(e,t,r,a,n,i,s){const o=(1<<i)-1;for(let i=0;i<r;i++){this.#n(e,t,o,a,n);t+=3;n+=3+s}}getOutputLength(e,t){return e*(3+t)/3|0}isDefaultDecode(e,t){return!0}get usesZeroToOneRange(){return shadow(this,"usesZeroToOneRange",!1)}}function fetchSync(e){const t=new XMLHttpRequest;t.open("GET",e,!1);t.responseType="arraybuffer";t.send(null);return t.response}class IccColorSpace extends ColorSpace{#k;#C;static#v=!0;static#F=null;static#I=new FinalizationRegistry((e=>{!function qcms_drop_transformer(e){Pr.qcms_drop_transformer(e)}(e)}));constructor(e,t,r){if(!IccColorSpace.isUsable)throw new Error("No ICC color space support");super(t,r);let a;switch(r){case 1:a=Ur.Gray8;this.#C=(e,t,r)=>function qcms_convert_one(e,t,r){Pr.qcms_convert_one(e,t,r)}(this.#k,255*e[t],r);break;case 3:a=Ur.RGB8;this.#C=(e,t,r)=>function qcms_convert_three(e,t,r,a,n){Pr.qcms_convert_three(e,t,r,a,n)}(this.#k,255*e[t],255*e[t+1],255*e[t+2],r);break;case 4:a=Ur.CMYK;this.#C=(e,t,r)=>function qcms_convert_four(e,t,r,a,n,i){Pr.qcms_convert_four(e,t,r,a,n,i)}(this.#k,255*e[t],255*e[t+1],255*e[t+2],255*e[t+3],r);break;default:throw new Error(`Unsupported number of components: ${r}`)}this.#k=function qcms_transformer_from_memory(e,t,r){const a=passArray8ToWasm0(e,Pr.__wbindgen_malloc),n=jr;return Pr.qcms_transformer_from_memory(a,n,t,r)>>>0}(e,a,qr.Perceptual);if(!this.#k)throw new Error("Failed to create ICC color space");IccColorSpace.#I.register(this,this.#k)}getRgbHex(e,t){this.#C(e,t,!0);return QCMS._cssColor}getRgbItem(e,t,r,a){QCMS._destBuffer=r;QCMS._destOffset=a;QCMS._destLength=3;this.#C(e,t,!1);QCMS._destBuffer=null}getRgbBuffer(e,t,r,a,n,i,s){e=e.subarray(t,t+r*this.numComps);if(8!==i){const t=255/((1<<i)-1);for(let r=0,a=e.length;r<a;r++)e[r]*=t}QCMS._mustAddAlpha=s&&a.buffer===e.buffer;QCMS._destBuffer=a;QCMS._destOffset=n;QCMS._destLength=r*(3+s);!function qcms_convert_array(e,t){const r=passArray8ToWasm0(t,Pr.__wbindgen_malloc),a=jr;Pr.qcms_convert_array(e,r,a)}(this.#k,e);QCMS._mustAddAlpha=!1;QCMS._destBuffer=null}getOutputLength(e,t){return e/this.numComps*(3+t)|0}static setOptions({useWasm:e,useWorkerFetch:t,wasmUrl:r}){if(t){this.#v=e;this.#F=r}else this.#v=!1}static get isUsable(){let e=!1;if(this.#v)if(this.#F)try{this._module=function initSync(e){if(void 0!==Pr)return Pr;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module:e}=e):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const t=__wbg_get_imports();e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));return __wbg_finalize_init(new WebAssembly.Instance(e,t),e)}({module:fetchSync(`${this.#F}qcms_bg.wasm`)});e=!!this._module;QCMS._memory=this._module.memory;QCMS._makeHexColor=Util.makeHexColor}catch(e){warn(`ICCBased color space: "${e}".`)}else warn("No ICC color space support due to missing `wasmUrl` API option");return shadow(this,"isUsable",e)}}class CmykICCBasedCS extends IccColorSpace{static#O;constructor(){super(new Uint8Array(fetchSync(`${CmykICCBasedCS.#O}CGATS001Compat-v2-micro.icc`)),"DeviceCMYK",4)}static setOptions({iccUrl:e}){this.#O=e}static get isUsable(){let e=!1;IccColorSpace.isUsable&&(this.#O?e=!0:warn("No CMYK ICC profile support due to missing `iccUrl` API option"));return shadow(this,"isUsable",e)}}class Stream extends BaseStream{constructor(e,t,r,a){super();this.bytes=e instanceof Uint8Array?e:new Uint8Array(e);this.start=t||0;this.pos=this.start;this.end=t+r||this.bytes.length;this.dict=a}get length(){return this.end-this.start}get isEmpty(){return 0===this.length}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(e){const t=this.bytes,r=this.pos,a=this.end;if(!e)return t.subarray(r,a);let n=r+e;n>a&&(n=a);this.pos=n;return t.subarray(r,n)}getByteRange(e,t){e<0&&(e=0);t>this.end&&(t=this.end);return this.bytes.subarray(e,t)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(e,t,r=null){return new Stream(this.bytes.buffer,e,t,r)}}class StringStream extends Stream{constructor(e){super(stringToBytes(e))}}class NullStream extends Stream{constructor(){super(new Uint8Array(0))}}class ChunkedStream extends Stream{constructor(e,t,r){super(new Uint8Array(e),0,e,null);this.chunkSize=t;this._loadedChunks=new Set;this.numChunks=Math.ceil(e/t);this.manager=r;this.progressiveDataLength=0;this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){const e=[];for(let t=0,r=this.numChunks;t<r;++t)this._loadedChunks.has(t)||e.push(t);return e}get numChunksLoaded(){return this._loadedChunks.size}get isDataLoaded(){return this.numChunksLoaded===this.numChunks}onReceiveData(e,t){const r=this.chunkSize;if(e%r!=0)throw new Error(`Bad begin offset: ${e}`);const a=e+t.byteLength;if(a%r!=0&&a!==this.bytes.length)throw new Error(`Bad end offset: ${a}`);this.bytes.set(new Uint8Array(t),e);const n=Math.floor(e/r),i=Math.floor((a-1)/r)+1;for(let e=n;e<i;++e)this._loadedChunks.add(e)}onReceiveProgressiveData(e){let t=this.progressiveDataLength;const r=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(e),t);t+=e.byteLength;this.progressiveDataLength=t;const a=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize);for(let e=r;e<a;++e)this._loadedChunks.add(e)}ensureByte(e){if(e<this.progressiveDataLength)return;const t=Math.floor(e/this.chunkSize);if(!(t>this.numChunks)&&t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new MissingDataException(e,e+1);this.lastSuccessfu
25
+ */var e={34:(e,t,r)=>{var a=r(4901);e.exports=function(e){return"object"==typeof e?null!==e:a(e)}},81:(e,t,r)=>{var a=r(9565),n=r(9306),i=r(8551),s=r(6823),o=r(851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?o(e):t;if(n(r))return i(a(r,e));throw new c(s(e)+" is not iterable")}},116:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("find",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{find:function find(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},283:(e,t,r)=>{var a=r(9504),n=r(9039),i=r(4901),s=r(9297),o=r(3724),c=r(350).CONFIGURABLE,l=r(3706),h=r(1181),u=h.enforce,d=h.get,f=String,g=Object.defineProperty,p=a("".slice),m=a("".replace),b=a([].join),y=o&&!n((function(){return 8!==g((function(){}),"length",{value:8}).length})),w=String(String).split("String"),x=e.exports=function(e,t,r){"Symbol("===p(f(t),0,7)&&(t="["+m(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]");r&&r.getter&&(t="get "+t);r&&r.setter&&(t="set "+t);(!s(e,"name")||c&&e.name!==t)&&(o?g(e,"name",{value:t,configurable:!0}):e.name=t);y&&r&&s(r,"arity")&&e.length!==r.arity&&g(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?o&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=u(e);s(a,"source")||(a.source=b(w,"string"==typeof t?t:""));return e};Function.prototype.toString=x((function toString(){return i(this)&&d(this).source||l(this)}),"toString")},350:(e,t,r)=>{var a=r(3724),n=r(9297),i=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,o=n(i,"name"),c=o&&"something"===function something(){}.name,l=o&&(!a||a&&s(i,"name").configurable);e.exports={EXISTS:o,PROPER:c,CONFIGURABLE:l}},397:(e,t,r)=>{var a=r(7751);e.exports=a("document","documentElement")},421:e=>{e.exports={}},507:(e,t,r)=>{var a=r(9565);e.exports=function(e,t,r){for(var n,i,s=r?e:e.iterator,o=e.next;!(n=a(o,s)).done;)if(void 0!==(i=t(n.value)))return i}},531:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(8646),l=r(9462),h=r(9539),u=r(6395),d=r(4549),f=!u&&d("flatMap",TypeError),g=l((function(){for(var e,t,r=this.iterator,a=this.mapper;;){if(t=this.inner)try{if(!(e=s(n(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){h(r,"throw",e)}e=s(n(this.next,r));if(this.done=!!e.done)return;try{this.inner=c(a(e.value,this.counter++),!1)}catch(e){h(r,"throw",e)}}}));a({target:"Iterator",proto:!0,real:!0,forced:u||f},{flatMap:function flatMap(e){s(this);try{i(e)}catch(e){h(this,"throw",e)}return f?n(f,this,e):new g(o(this),{mapper:e,inner:null})}})},616:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},655:(e,t,r)=>{var a=r(6955),n=String;e.exports=function(e){if("Symbol"===a(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}},679:(e,t,r)=>{var a=r(1625),n=TypeError;e.exports=function(e,t){if(a(t,e))return e;throw new n("Incorrect invocation")}},741:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var a=+e;return(a>0?r:t)(a)}},757:(e,t,r)=>{var a=r(7751),n=r(4901),i=r(1625),s=r(7040),o=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return n(t)&&i(t.prototype,o(e))}},851:(e,t,r)=>{var a=r(6955),n=r(5966),i=r(4117),s=r(6269),o=r(8227)("iterator");e.exports=function(e){if(!i(e))return n(e,o)||n(e,"@@iterator")||s[a(e)]}},944:e=>{var t=TypeError;e.exports=function(e){var r=e&&e.alphabet;if(void 0===r||"base64"===r||"base64url"===r)return r||"base64";throw new t("Incorrect `alphabet` option")}},1072:(e,t,r)=>{var a=r(1828),n=r(8727);e.exports=Object.keys||function keys(e){return a(e,n)}},1103:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},1148:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("every",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{every:function every(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return!i(t,(function(t,a){if(!e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1181:(e,t,r)=>{var a,n,i,s=r(8622),o=r(4576),c=r(34),l=r(6699),h=r(9297),u=r(7629),d=r(6119),f=r(421),g="Object already initialized",p=o.TypeError,m=o.WeakMap;if(s||u.state){var b=u.state||(u.state=new m);b.get=b.get;b.has=b.has;b.set=b.set;a=function(e,t){if(b.has(e))throw new p(g);t.facade=e;b.set(e,t);return t};n=function(e){return b.get(e)||{}};i=function(e){return b.has(e)}}else{var y=d("state");f[y]=!0;a=function(e,t){if(h(e,y))throw new p(g);t.facade=e;l(e,y,t);return t};n=function(e){return h(e,y)?e[y]:{}};i=function(e){return h(e,y)}}e.exports={set:a,get:n,has:i,enforce:function(e){return i(e)?n(e):a(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=n(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}},1291:(e,t,r)=>{var a=r(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:a(t)}},1548:(e,t,r)=>{var a=r(4576),n=r(9039),i=r(9519),s=r(4215),o=a.structuredClone;e.exports=!!o&&!n((function(){if("DENO"===s&&i>92||"NODE"===s&&i>94||"BROWSER"===s&&i>97)return!1;var e=new ArrayBuffer(8),t=o(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},1549:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9143),s=r(4154),o=n.Uint8Array,c=!o||!o.prototype.setFromBase64||!function(){var e=new o([255,255,255,255,255]);try{e.setFromBase64("MjYyZg===")}catch(t){return 50===e[0]&&54===e[1]&&50===e[2]&&255===e[3]&&255===e[4]}}();o&&a({target:"Uint8Array",proto:!0,forced:c},{setFromBase64:function setFromBase64(e){s(this);var t=i(e,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},1625:(e,t,r)=>{var a=r(9504);e.exports=a({}.isPrototypeOf)},1689:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(8745),s=r(7680),o=r(6043),c=r(9306),l=r(1103),h=n.Promise,u=!1;a({target:"Promise",stat:!0,forced:!h||!h.try||l((function(){h.try((function(e){u=8===e}),8)})).error||!u},{try:function(e){var t=arguments.length>1?s(arguments,1):[],r=o.f(this),a=l((function(){return i(c(e),void 0,t)}));(a.error?r.reject:r.resolve)(a.value);return r.promise}})},1698:(e,t,r)=>{var a=r(6518),n=r(4204);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("union")},{union:n})},1701:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(9462),l=r(6319),h=r(9539),u=r(4549),d=r(6395),f=!d&&u("map",TypeError),g=c((function(){var e=this.iterator,t=s(n(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)}));a({target:"Iterator",proto:!0,real:!0,forced:d||f},{map:function map(e){s(this);try{i(e)}catch(e){h(this,"throw",e)}return f?n(f,this,e):new g(o(this),{mapper:e})}})},1767:e=>{e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1806:(e,t,r)=>{var a=r(6518),n=r(8551),i=r(2652),s=r(1767),o=[].push;a({target:"Iterator",proto:!0,real:!0},{toArray:function toArray(){var e=[];i(s(n(this)),o,{that:e,IS_RECORD:!0});return e}})},1828:(e,t,r)=>{var a=r(9504),n=r(9297),i=r(5397),s=r(9617).indexOf,o=r(421),c=a([].push);e.exports=function(e,t){var r,a=i(e),l=0,h=[];for(r in a)!n(o,r)&&n(a,r)&&c(h,r);for(;t.length>l;)n(a,r=t[l++])&&(~s(h,r)||c(h,r));return h}},2106:(e,t,r)=>{var a=r(283),n=r(4913);e.exports=function(e,t,r){r.get&&a(r.get,t,{getter:!0});r.set&&a(r.set,t,{setter:!0});return n.f(e,t,r)}},2140:(e,t,r)=>{var a={};a[r(8227)("toStringTag")]="z";e.exports="[object z]"===String(a)},2195:(e,t,r)=>{var a=r(9504),n=a({}.toString),i=a("".slice);e.exports=function(e){return i(n(e),8,-1)}},2211:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},2303:(e,t,r)=>{var a=r(4576),n=r(9504),i=a.Uint8Array,s=a.SyntaxError,o=a.parseInt,c=Math.min,l=/[^\da-f]/i,h=n(l.exec),u=n("".slice);e.exports=function(e,t){var r=e.length;if(r%2!=0)throw new s("String should be an even number of characters");for(var a=t?c(t.length,r/2):r/2,n=t||new i(a),d=0,f=0;f<a;){var g=u(e,d,d+=2);if(h(l,g))throw new s("String should only contain hex characters");n[f++]=o(g,16)}return{bytes:n,read:d}}},2360:(e,t,r)=>{var a,n=r(8551),i=r(6801),s=r(8727),o=r(421),c=r(397),l=r(4055),h=r(6119),u="prototype",d="script",f=h("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(""));e.close();var t=e.parentWindow.Object;e=null;return t},NullProtoObject=function(){try{a=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&a?NullProtoObjectViaActiveX(a):function(){var e,t=l("iframe"),r="java"+d+":";t.style.display="none";c.appendChild(t);t.src=String(r);(e=t.contentWindow.document).open();e.write(scriptTag("document.F=Object"));e.close();return e.F}():NullProtoObjectViaActiveX(a);for(var e=s.length;e--;)delete NullProtoObject[u][s[e]];return NullProtoObject()};o[f]=!0;e.exports=Object.create||function create(e,t){var r;if(null!==e){EmptyConstructor[u]=n(e);r=new EmptyConstructor;EmptyConstructor[u]=null;r[f]=e}else r=NullProtoObject();return void 0===t?r:i.f(r,t)}},2475:(e,t,r)=>{var a=r(6518),n=r(8527);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:n})},2489:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(9306),s=r(8551),o=r(1767),c=r(9462),l=r(6319),h=r(6395),u=r(9539),d=r(4549),f=!h&&d("filter",TypeError),g=c((function(){for(var e,t,r=this.iterator,a=this.predicate,i=this.next;;){e=s(n(i,r));if(this.done=!!e.done)return;t=e.value;if(l(r,a,[t,this.counter++],!0))return t}}));a({target:"Iterator",proto:!0,real:!0,forced:h||f},{filter:function filter(e){s(this);try{i(e)}catch(e){u(this,"throw",e)}return f?n(f,this,e):new g(o(this),{predicate:e})}})},2529:e=>{e.exports=function(e,t){return{value:e,done:t}}},2603:(e,t,r)=>{var a=r(655);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:a(e)}},2652:(e,t,r)=>{var a=r(6080),n=r(9565),i=r(8551),s=r(6823),o=r(4209),c=r(6198),l=r(1625),h=r(81),u=r(851),d=r(9539),f=TypeError,Result=function(e,t){this.stopped=e;this.result=t},g=Result.prototype;e.exports=function(e,t,r){var p,m,b,y,w,x,S,k=r&&r.that,C=!(!r||!r.AS_ENTRIES),v=!(!r||!r.IS_RECORD),O=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),M=a(t,k),stop=function(e){p&&d(p,"normal",e);return new Result(!0,e)},callFn=function(e){if(C){i(e);return T?M(e[0],e[1],stop):M(e[0],e[1])}return T?M(e,stop):M(e)};if(v)p=e.iterator;else if(O)p=e;else{if(!(m=u(e)))throw new f(s(e)+" is not iterable");if(o(m)){for(b=0,y=c(e);y>b;b++)if((w=callFn(e[b]))&&l(g,w))return w;return new Result(!1)}p=h(e,m)}x=v?e.next:p.next;for(;!(S=n(x,p)).done;){try{w=callFn(S.value)}catch(e){d(p,"throw",e)}if("object"==typeof w&&w&&l(g,w))return w}return new Result(!1)}},2777:(e,t,r)=>{var a=r(9565),n=r(34),i=r(757),s=r(5966),o=r(4270),c=r(8227),l=TypeError,h=c("toPrimitive");e.exports=function(e,t){if(!n(e)||i(e))return e;var r,c=s(e,h);if(c){void 0===t&&(t="default");r=a(c,e,t);if(!n(r)||i(r))return r;throw new l("Can't convert object to primitive value")}void 0===t&&(t="number");return o(e,t)}},2787:(e,t,r)=>{var a=r(9297),n=r(4901),i=r(8981),s=r(6119),o=r(2211),c=s("IE_PROTO"),l=Object,h=l.prototype;e.exports=o?l.getPrototypeOf:function(e){var t=i(e);if(a(t,c))return t[c];var r=t.constructor;return n(r)&&t instanceof r?r.prototype:t instanceof l?h:null}},2796:(e,t,r)=>{var a=r(9039),n=r(4901),i=/#|\.prototype\./,isForced=function(e,t){var r=o[s(e)];return r===l||r!==c&&(n(t)?a(t):!!t)},s=isForced.normalize=function(e){return String(e).replace(i,".").toLowerCase()},o=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},2804:e=>{var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t+"+/",a=t+"-_",inverse=function(e){for(var t={},r=0;r<64;r++)t[e.charAt(r)]=r;return t};e.exports={i2c:r,c2i:inverse(r),i2cUrl:a,c2iUrl:inverse(a)}},2812:e=>{var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},2839:(e,t,r)=>{var a=r(4576).navigator,n=a&&a.userAgent;e.exports=n?String(n):""},2967:(e,t,r)=>{var a=r(6706),n=r(34),i=r(7750),s=r(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=a(Object.prototype,"__proto__","set"))(r,[]);t=r instanceof Array}catch(e){}return function setPrototypeOf(r,a){i(r);s(a);if(!n(r))return r;t?e(r,a):r.__proto__=a;return r}}():void 0)},3167:(e,t,r)=>{var a=r(4901),n=r(34),i=r(2967);e.exports=function(e,t,r){var s,o;i&&a(s=t.constructor)&&s!==r&&n(o=s.prototype)&&o!==r.prototype&&i(e,o);return e}},3238:(e,t,r)=>{var a=r(4576),n=r(7811),i=r(7394),s=a.DataView;e.exports=function(e){if(!n||0!==i(e))return!1;try{new s(e);return!1}catch(e){return!0}}},3392:(e,t,r)=>{var a=r(9504),n=0,i=Math.random(),s=a(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}},3440:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(9286),s=r(5170),o=r(3789),c=r(8469),l=r(507),h=n.has,u=n.remove;e.exports=function difference(e){var t=a(this),r=o(e),n=i(t);s(t)<=r.size?c(t,(function(e){r.includes(e)&&u(n,e)})):l(r.getIterator(),(function(e){h(t,e)&&u(n,e)}));return n}},3463:e=>{var t=TypeError;e.exports=function(e){if("string"==typeof e)return e;throw new t("Argument is not a string")}},3506:(e,t,r)=>{var a=r(3925),n=String,i=TypeError;e.exports=function(e){if(a(e))return e;throw new i("Can't set "+n(e)+" as a prototype")}},3579:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("some",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{some:function some(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;return i(t,(function(t,a){if(e(t,r++))return a()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3611:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(2106),s=r(3724),o=TypeError,c=Object.defineProperty,l=n.self!==n;try{if(s){var h=Object.getOwnPropertyDescriptor(n,"self");!l&&h&&h.get&&h.enumerable||i(n,"self",{get:function self(){return n},set:function self(e){if(this!==n)throw new o("Illegal invocation");c(n,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else a({global:!0,simple:!0,forced:l},{self:n})}catch(e){}},3650:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(9286),s=r(3789),o=r(507),c=n.add,l=n.has,h=n.remove;e.exports=function symmetricDifference(e){var t=a(this),r=s(e).getIterator(),n=i(t);o(r,(function(e){l(t,e)?h(n,e):c(n,e)}));return n}},3706:(e,t,r)=>{var a=r(9504),n=r(4901),i=r(7629),s=a(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)});e.exports=i.inspectSource},3717:(e,t)=>{t.f=Object.getOwnPropertySymbols},3724:(e,t,r)=>{var a=r(9039);e.exports=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3789:(e,t,r)=>{var a=r(9306),n=r(8551),i=r(9565),s=r(1291),o=r(1767),c="Invalid size",l=RangeError,h=TypeError,u=Math.max,SetRecord=function(e,t){this.set=e;this.size=u(t,0);this.has=a(e.has);this.keys=a(e.keys)};SetRecord.prototype={getIterator:function(){return o(n(i(this.keys,this.set)))},includes:function(e){return i(this.has,this.set,e)}};e.exports=function(e){n(e);var t=+e.size;if(t!=t)throw new h(c);var r=s(t);if(r<0)throw new l(c);return new SetRecord(e,r)}},3838:(e,t,r)=>{var a=r(7080),n=r(5170),i=r(8469),s=r(3789);e.exports=function isSubsetOf(e){var t=a(this),r=s(e);return!(n(t)>r.size)&&!1!==i(t,(function(e){if(!r.includes(e))return!1}),!0)}},3853:(e,t,r)=>{var a=r(6518),n=r(4449);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:n})},3925:(e,t,r)=>{var a=r(34);e.exports=function(e){return a(e)||null===e}},3972:(e,t,r)=>{var a=r(34),n=String,i=TypeError;e.exports=function(e){if(void 0===e||a(e))return e;throw new i(n(e)+" is not an object or undefined")}},4055:(e,t,r)=>{var a=r(4576),n=r(34),i=a.document,s=n(i)&&n(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},4114:(e,t,r)=>{var a=r(6518),n=r(8981),i=r(6198),s=r(4527),o=r(6837);a({target:"Array",proto:!0,arity:1,forced:r(9039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=n(this),r=i(t),a=arguments.length;o(r+a);for(var c=0;c<a;c++){t[r]=arguments[c];r++}s(t,r);return r}})},4117:e=>{e.exports=function(e){return null==e}},4154:(e,t,r)=>{var a=r(6955),n=TypeError;e.exports=function(e){if("Uint8Array"===a(e))return e;throw new n("Argument is not an Uint8Array")}},4204:(e,t,r)=>{var a=r(7080),n=r(4402).add,i=r(9286),s=r(3789),o=r(507);e.exports=function union(e){var t=a(this),r=s(e).getIterator(),c=i(t);o(r,(function(e){n(c,e)}));return c}},4209:(e,t,r)=>{var a=r(8227),n=r(6269),i=a("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}},4215:(e,t,r)=>{var a=r(4576),n=r(2839),i=r(2195),userAgentStartsWith=function(e){return n.slice(0,e.length)===e};e.exports=userAgentStartsWith("Bun/")?"BUN":userAgentStartsWith("Cloudflare-Workers")?"CLOUDFLARE":userAgentStartsWith("Deno/")?"DENO":userAgentStartsWith("Node.js/")?"NODE":a.Bun&&"string"==typeof Bun.version?"BUN":a.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(a.process)?"NODE":a.window&&a.document?"BROWSER":"REST"},4270:(e,t,r)=>{var a=r(9565),n=r(4901),i=r(34),s=TypeError;e.exports=function(e,t){var r,o;if("string"===t&&n(r=e.toString)&&!i(o=a(r,e)))return o;if(n(r=e.valueOf)&&!i(o=a(r,e)))return o;if("string"!==t&&n(r=e.toString)&&!i(o=a(r,e)))return o;throw new s("Can't convert object to primitive value")}},4376:(e,t,r)=>{var a=r(2195);e.exports=Array.isArray||function isArray(e){return"Array"===a(e)}},4402:(e,t,r)=>{var a=r(9504),n=Set.prototype;e.exports={Set,add:a(n.add),has:a(n.has),remove:a(n.delete),proto:n}},4449:(e,t,r)=>{var a=r(7080),n=r(4402).has,i=r(5170),s=r(3789),o=r(8469),c=r(507),l=r(9539);e.exports=function isDisjointFrom(e){var t=a(this),r=s(e);if(i(t)<=r.size)return!1!==o(t,(function(e){if(r.includes(e))return!1}),!0);var h=r.getIterator();return!1!==c(h,(function(e){if(n(t,e))return l(h,"normal",!1)}))}},4483:(e,t,r)=>{var a,n,i,s,o=r(4576),c=r(9429),l=r(1548),h=o.structuredClone,u=o.ArrayBuffer,d=o.MessageChannel,f=!1;if(l)f=function(e){h(e,{transfer:[e]})};else if(u)try{d||(a=c("worker_threads"))&&(d=a.MessageChannel);if(d){n=new d;i=new u(2);s=function(e){n.port1.postMessage(null,[e])};if(2===i.byteLength){s(i);0===i.byteLength&&(f=s)}}}catch(e){}e.exports=f},4495:(e,t,r)=>{var a=r(9519),n=r(9039),i=r(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},4527:(e,t,r)=>{var a=r(3724),n=r(4376),i=TypeError,s=Object.getOwnPropertyDescriptor,o=a&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=o?function(e,t){if(n(e)&&!s(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4549:(e,t,r)=>{var a=r(4576);e.exports=function(e,t){var r=a.Iterator,n=r&&r.prototype,i=n&&n[e],s=!1;if(i)try{i.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return i}},4576:function(e){var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||check("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4603:(e,t,r)=>{var a=r(6840),n=r(9504),i=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=n(c.append),h=n(c.delete),u=n(c.forEach),d=n([].push),f=new o("a=1&a=2&b=3");f.delete("a",1);f.delete("b",void 0);f+""!="a=2"&&a(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var a=[];u(this,(function(e,t){d(a,{key:t,value:e})}));s(t,1);for(var n,o=i(e),c=i(r),f=0,g=0,p=!1,m=a.length;f<m;){n=a[f++];if(p||n.key===o){p=!0;h(this,n.key)}else g++}for(;g<m;)(n=a[g++]).key===o&&n.value===c||l(this,n.key,n.value)}),{enumerable:!0,unsafe:!0})},4628:(e,t,r)=>{var a=r(6518),n=r(6043);a({target:"Promise",stat:!0},{withResolvers:function withResolvers(){var e=n.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}})},4659:(e,t,r)=>{var a=r(3724),n=r(4913),i=r(6980);e.exports=function(e,t,r){a?n.f(e,t,i(0,r)):e[t]=r}},4901:e=>{var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},4913:(e,t,r)=>{var a=r(3724),n=r(5917),i=r(8686),s=r(8551),o=r(6969),c=TypeError,l=Object.defineProperty,h=Object.getOwnPropertyDescriptor,u="enumerable",d="configurable",f="writable";t.f=a?i?function defineProperty(e,t,r){s(e);t=o(t);s(r);if("function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var a=h(e,t);if(a&&a[f]){e[t]=r.value;r={configurable:d in r?r[d]:a[d],enumerable:u in r?r[u]:a[u],writable:!1}}}return l(e,t,r)}:l:function defineProperty(e,t,r){s(e);t=o(t);s(r);if(n)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");"value"in r&&(e[t]=r.value);return e}},4916:(e,t,r)=>{var a=r(7751),createSetLike=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},createSetLikeWithInfinitySize=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var r=a("Set");try{(new r)[e](createSetLike(0));try{(new r)[e](createSetLike(-1));return!1}catch(a){if(!t)return!0;try{(new r)[e](createSetLikeWithInfinitySize(-1/0));return!1}catch(a){var n=new r;n.add(1);n.add(2);return t(n[e](createSetLikeWithInfinitySize(1/0)))}}}catch(e){return!1}}},4979:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(7751),s=r(6980),o=r(4913).f,c=r(9297),l=r(679),h=r(3167),u=r(2603),d=r(5002),f=r(8574),g=r(3724),p=r(6395),m="DOMException",b=i("Error"),y=i(m),w=function DOMException(){l(this,x);var e=arguments.length,t=u(e<1?void 0:arguments[0]),r=u(e<2?void 0:arguments[1],"Error"),a=new y(t,r),n=new b(t);n.name=m;o(a,"stack",s(1,f(n.stack,1)));h(a,this,w);return a},x=w.prototype=y.prototype,S="stack"in new b(m),k="stack"in new y(1,2),C=y&&g&&Object.getOwnPropertyDescriptor(n,m),v=!(!C||C.writable&&C.configurable),O=S&&!v&&!k;a({global:!0,constructor:!0,forced:p||O},{DOMException:O?w:y});var T=i(m),M=T.prototype;if(M.constructor!==T){p||o(M,"constructor",s(1,T));for(var D in d)if(c(d,D)){var R=d[D],E=R.s;c(T,E)||o(T,E,s(6,R.c))}}},5002:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},5024:(e,t,r)=>{var a=r(6518),n=r(3650);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("symmetricDifference")},{symmetricDifference:n})},5031:(e,t,r)=>{var a=r(7751),n=r(9504),i=r(8480),s=r(3717),o=r(8551),c=n([].concat);e.exports=a("Reflect","ownKeys")||function ownKeys(e){var t=i.f(o(e)),r=s.f;return r?c(t,r(e)):t}},5169:(e,t,r)=>{var a=r(3238),n=TypeError;e.exports=function(e){if(a(e))throw new n("ArrayBuffer is detached");return e}},5170:(e,t,r)=>{var a=r(6706),n=r(4402);e.exports=a(n.proto,"size","get")||function(e){return e.size}},5370:(e,t,r)=>{var a=r(6198);e.exports=function(e,t,r){for(var n=0,i=arguments.length>2?r:a(t),s=new e(i);i>n;)s[n]=t[n++];return s}},5397:(e,t,r)=>{var a=r(7055),n=r(7750);e.exports=function(e){return a(n(e))}},5610:(e,t,r)=>{var a=r(1291),n=Math.max,i=Math.min;e.exports=function(e,t){var r=a(e);return r<0?n(r+t,0):i(r,t)}},5623:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9504),s=r(4154),o=r(5169),c=i(1..toString);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{toHex:function toHex(){s(this);o(this.buffer);for(var e="",t=0,r=this.length;t<r;t++){var a=c(this[t],16);e+=1===a.length?"0"+a:a}return e}})},5636:(e,t,r)=>{var a=r(4576),n=r(9504),i=r(6706),s=r(7696),o=r(5169),c=r(7394),l=r(4483),h=r(1548),u=a.structuredClone,d=a.ArrayBuffer,f=a.DataView,g=Math.min,p=d.prototype,m=f.prototype,b=n(p.slice),y=i(p,"resizable","get"),w=i(p,"maxByteLength","get"),x=n(m.getInt8),S=n(m.setInt8);e.exports=(h||l)&&function(e,t,r){var a,n=c(e),i=void 0===t?n:s(t),p=!y||!y(e);o(e);if(h){e=u(e,{transfer:[e]});if(n===i&&(r||p))return e}if(n>=i&&(!r||p))a=b(e,0,i);else{var m=r&&!p&&w?{maxByteLength:w(e)}:void 0;a=new d(i,m);for(var k=new f(e),C=new f(a),v=g(i,n),O=0;O<v;O++)S(C,O,x(k,O))}h||l(e);return a}},5745:(e,t,r)=>{var a=r(7629);e.exports=function(e,t){return a[e]||(a[e]=t||{})}},5781:(e,t,r)=>{var a=r(6518),n=r(7751),i=r(2812),s=r(655),o=r(7416),c=n("URL");a({target:"URL",stat:!0,forced:!o},{parse:function parse(e){var t=i(arguments.length,1),r=s(e),a=t<2||void 0===arguments[1]?void 0:s(arguments[1]);try{return new c(r,a)}catch(e){return null}}})},5876:(e,t,r)=>{var a=r(6518),n=r(3838);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("isSubsetOf",(function(e){return e}))},{isSubsetOf:n})},5917:(e,t,r)=>{var a=r(3724),n=r(9039),i=r(4055);e.exports=!a&&!n((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5966:(e,t,r)=>{var a=r(9306),n=r(4117);e.exports=function(e,t){var r=e[t];return n(r)?void 0:a(r)}},6043:(e,t,r)=>{var a=r(9306),n=TypeError,PromiseCapability=function(e){var t,r;this.promise=new e((function(e,a){if(void 0!==t||void 0!==r)throw new n("Bad Promise constructor");t=e;r=a}));this.resolve=a(t);this.reject=a(r)};e.exports.f=function(e){return new PromiseCapability(e)}},6080:(e,t,r)=>{var a=r(7476),n=r(9306),i=r(616),s=a(a.bind);e.exports=function(e,t){n(e);return void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},6119:(e,t,r)=>{var a=r(5745),n=r(3392),i=a("keys");e.exports=function(e){return i[e]||(i[e]=n(e))}},6193:(e,t,r)=>{var a=r(4215);e.exports="NODE"===a},6198:(e,t,r)=>{var a=r(8014);e.exports=function(e){return a(e.length)}},6269:e=>{e.exports={}},6279:(e,t,r)=>{var a=r(6840);e.exports=function(e,t,r){for(var n in t)a(e,n,t[n],r);return e}},6319:(e,t,r)=>{var a=r(8551),n=r(9539);e.exports=function(e,t,r,i){try{return i?t(a(r)[0],r[1]):t(r)}catch(t){n(e,"throw",t)}}},6395:e=>{e.exports=!1},6518:(e,t,r)=>{var a=r(4576),n=r(7347).f,i=r(6699),s=r(6840),o=r(9433),c=r(7740),l=r(2796);e.exports=function(e,t){var r,h,u,d,f,g=e.target,p=e.global,m=e.stat;if(r=p?a:m?a[g]||o(g,{}):a[g]&&a[g].prototype)for(h in t){d=t[h];u=e.dontCallGetSet?(f=n(r,h))&&f.value:r[h];if(!l(p?h:g+(m?".":"#")+h,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(e.sham||u&&u.sham)&&i(d,"sham",!0);s(r,h,d,e)}}},6573:(e,t,r)=>{var a=r(3724),n=r(2106),i=r(3238),s=ArrayBuffer.prototype;a&&!("detached"in s)&&n(s,"detached",{configurable:!0,get:function detached(){return i(this)}})},6699:(e,t,r)=>{var a=r(3724),n=r(4913),i=r(6980);e.exports=a?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){e[t]=r;return e}},6706:(e,t,r)=>{var a=r(9504),n=r(9306);e.exports=function(e,t,r){try{return a(n(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},6801:(e,t,r)=>{var a=r(3724),n=r(8686),i=r(4913),s=r(8551),o=r(5397),c=r(1072);t.f=a&&!n?Object.defineProperties:function defineProperties(e,t){s(e);for(var r,a=o(t),n=c(t),l=n.length,h=0;l>h;)i.f(e,r=n[h++],a[r]);return e}},6823:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6837:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},6840:(e,t,r)=>{var a=r(4901),n=r(4913),i=r(283),s=r(9433);e.exports=function(e,t,r,o){o||(o={});var c=o.enumerable,l=void 0!==o.name?o.name:t;a(r)&&i(r,l,o);if(o.global)c?e[t]=r:s(t,r);else{try{o.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:n.f(e,t,{value:r,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},6955:(e,t,r)=>{var a=r(2140),n=r(4901),i=r(2195),s=r(8227)("toStringTag"),o=Object,c="Arguments"===i(function(){return arguments}());e.exports=a?i:function(e){var t,r,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=o(e),s))?r:c?i(t):"Object"===(a=i(t))&&n(t.callee)?"Arguments":a}},6969:(e,t,r)=>{var a=r(2777),n=r(757);e.exports=function(e){var t=a(e,"string");return n(t)?t:t+""}},6980:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7040:(e,t,r)=>{var a=r(4495);e.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(e,t,r)=>{var a=r(9504),n=r(9039),i=r(2195),s=Object,o=a("".split);e.exports=n((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?o(e,""):s(e)}:s},7080:(e,t,r)=>{var a=r(4402).has;e.exports=function(e){a(e);return e}},7347:(e,t,r)=>{var a=r(3724),n=r(9565),i=r(8773),s=r(6980),o=r(5397),c=r(6969),l=r(9297),h=r(5917),u=Object.getOwnPropertyDescriptor;t.f=a?u:function getOwnPropertyDescriptor(e,t){e=o(e);t=c(t);if(h)try{return u(e,t)}catch(e){}if(l(e,t))return s(!n(i.f,e,t),e[t])}},7394:(e,t,r)=>{var a=r(4576),n=r(6706),i=r(2195),s=a.ArrayBuffer,o=a.TypeError;e.exports=s&&n(s.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==i(e))throw new o("ArrayBuffer expected");return e.byteLength}},7416:(e,t,r)=>{var a=r(9039),n=r(8227),i=r(3724),s=r(6395),o=n("iterator");e.exports=!a((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),a="";e.pathname="c%20d";t.forEach((function(e,r){t.delete("b");a+=r+e}));r.delete("a",2);r.delete("b",void 0);return s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==a||"x"!==new URL("https://x",void 0).host}))},7476:(e,t,r)=>{var a=r(2195),n=r(9504);e.exports=function(e){if("Function"===a(e))return n(e)}},7566:(e,t,r)=>{var a=r(6840),n=r(9504),i=r(655),s=r(2812),o=URLSearchParams,c=o.prototype,l=n(c.getAll),h=n(c.has),u=new o("a=1");!u.has("a",2)&&u.has("a",void 0)||a(c,"has",(function has(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return h(this,e);var a=l(this,e);s(t,1);for(var n=i(r),o=0;o<a.length;)if(a[o++]===n)return!0;return!1}),{enumerable:!0,unsafe:!0})},7588:(e,t,r)=>{var a=r(6518),n=r(9565),i=r(2652),s=r(9306),o=r(8551),c=r(1767),l=r(9539),h=r(4549)("forEach",TypeError);a({target:"Iterator",proto:!0,real:!0,forced:h},{forEach:function forEach(e){o(this);try{s(e)}catch(e){l(this,"throw",e)}if(h)return n(h,this,e);var t=c(this),r=0;i(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},7629:(e,t,r)=>{var a=r(6395),n=r(4576),i=r(9433),s="__core-js_shared__",o=e.exports=n[s]||i(s,{});(o.versions||(o.versions=[])).push({version:"3.42.0",mode:a?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7642:(e,t,r)=>{var a=r(6518),n=r(3440);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("difference",(function(e){return 0===e.size}))},{difference:n})},7657:(e,t,r)=>{var a,n,i,s=r(9039),o=r(4901),c=r(34),l=r(2360),h=r(2787),u=r(6840),d=r(8227),f=r(6395),g=d("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(n=h(h(i)))!==Object.prototype&&(a=n):p=!0);!c(a)||s((function(){var e={};return a[g].call(e)!==e}))?a={}:f&&(a=l(a));o(a[g])||u(a,g,(function(){return this}));e.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:p}},7680:(e,t,r)=>{var a=r(9504);e.exports=a([].slice)},7696:(e,t,r)=>{var a=r(1291),n=r(8014),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=a(e),r=n(t);if(t!==r)throw new i("Wrong length or index");return r}},7740:(e,t,r)=>{var a=r(9297),n=r(5031),i=r(7347),s=r(4913);e.exports=function(e,t,r){for(var o=n(t),c=s.f,l=i.f,h=0;h<o.length;h++){var u=o[h];a(e,u)||r&&a(r,u)||c(e,u,l(t,u))}}},7750:(e,t,r)=>{var a=r(4117),n=TypeError;e.exports=function(e){if(a(e))throw new n("Can't call method on "+e);return e}},7751:(e,t,r)=>{var a=r(4576),n=r(4901);e.exports=function(e,t){return arguments.length<2?(r=a[e],n(r)?r:void 0):a[e]&&a[e][t];var r}},7811:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7936:(e,t,r)=>{var a=r(6518),n=r(5636);n&&a({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function transferToFixedLength(){return n(this,arguments.length?arguments[0]:void 0,!1)}})},7979:(e,t,r)=>{var a=r(8551);e.exports=function(){var e=a(this),t="";e.hasIndices&&(t+="d");e.global&&(t+="g");e.ignoreCase&&(t+="i");e.multiline&&(t+="m");e.dotAll&&(t+="s");e.unicode&&(t+="u");e.unicodeSets&&(t+="v");e.sticky&&(t+="y");return t}},8004:(e,t,r)=>{var a=r(6518),n=r(9039),i=r(8750);a({target:"Set",proto:!0,real:!0,forced:!r(4916)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||n((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:i})},8014:(e,t,r)=>{var a=r(1291),n=Math.min;e.exports=function(e){var t=a(e);return t>0?n(t,9007199254740991):0}},8100:(e,t,r)=>{var a=r(6518),n=r(5636);n&&a({target:"ArrayBuffer",proto:!0},{transfer:function transfer(){return n(this,arguments.length?arguments[0]:void 0,!0)}})},8111:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(679),s=r(8551),o=r(4901),c=r(2787),l=r(2106),h=r(4659),u=r(9039),d=r(9297),f=r(8227),g=r(7657).IteratorPrototype,p=r(3724),m=r(6395),b="constructor",y="Iterator",w=f("toStringTag"),x=TypeError,S=n[y],k=m||!o(S)||S.prototype!==g||!u((function(){S({})})),C=function Iterator(){i(this,g);if(c(this)===g)throw new x("Abstract class Iterator not directly constructable")},defineIteratorPrototypeAccessor=function(e,t){p?l(g,e,{configurable:!0,get:function(){return t},set:function(t){s(this);if(this===g)throw new x("You can't redefine this property");d(this,e)?this[e]=t:h(this,e,t)}}):g[e]=t};d(g,w)||defineIteratorPrototypeAccessor(w,y);!k&&d(g,b)&&g[b]!==Object||defineIteratorPrototypeAccessor(b,C);C.prototype=g;a({global:!0,constructor:!0,forced:k},{Iterator:C})},8227:(e,t,r)=>{var a=r(4576),n=r(5745),i=r(9297),s=r(3392),o=r(4495),c=r(7040),l=a.Symbol,h=n("wks"),u=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){i(h,e)||(h[e]=o&&i(l,e)?l[e]:u("Symbol."+e));return h[e]}},8237:(e,t,r)=>{var a=r(6518),n=r(2652),i=r(9306),s=r(8551),o=r(1767),c=r(9539),l=r(4549),h=r(8745),u=r(9039),d=TypeError,f=u((function(){[].keys().reduce((function(){}),void 0)})),g=!f&&l("reduce",d);a({target:"Iterator",proto:!0,real:!0,forced:f||g},{reduce:function reduce(e){s(this);try{i(e)}catch(e){c(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(g)return h(g,this,t?[e]:[e,r]);var a=o(this),l=0;n(a,(function(a){if(t){t=!1;r=a}else r=e(r,a,l);l++}),{IS_RECORD:!0});if(t)throw new d("Reduce of empty iterator with no initial value");return r}})},8469:(e,t,r)=>{var a=r(9504),n=r(507),i=r(4402),s=i.Set,o=i.proto,c=a(o.forEach),l=a(o.keys),h=l(new s).next;e.exports=function(e,t,r){return r?n({iterator:l(e),next:h},t):c(e,t)}},8480:(e,t,r)=>{var a=r(1828),n=r(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return a(e,n)}},8527:(e,t,r)=>{var a=r(7080),n=r(4402).has,i=r(5170),s=r(3789),o=r(507),c=r(9539);e.exports=function isSupersetOf(e){var t=a(this),r=s(e);if(i(t)<r.size)return!1;var l=r.getIterator();return!1!==o(l,(function(e){if(!n(t,e))return c(l,"normal",!1)}))}},8551:(e,t,r)=>{var a=r(34),n=String,i=TypeError;e.exports=function(e){if(a(e))return e;throw new i(n(e)+" is not an object")}},8574:(e,t,r)=>{var a=r(9504),n=Error,i=a("".replace),s=String(new n("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,c=o.test(s);e.exports=function(e,t){if(c&&"string"==typeof e&&!n.prepareStackTrace)for(;t--;)e=i(e,o,"");return e}},8622:(e,t,r)=>{var a=r(4576),n=r(4901),i=a.WeakMap;e.exports=n(i)&&/native code/.test(String(i))},8646:(e,t,r)=>{var a=r(9565),n=r(8551),i=r(1767),s=r(851);e.exports=function(e,t){t&&"string"==typeof e||n(e);var r=s(e);return i(n(void 0!==r?a(r,e):e))}},8686:(e,t,r)=>{var a=r(3724),n=r(9039);e.exports=a&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8721:(e,t,r)=>{var a=r(3724),n=r(9504),i=r(2106),s=URLSearchParams.prototype,o=n(s.forEach);a&&!("size"in s)&&i(s,"size",{get:function size(){var e=0;o(this,(function(){e++}));return e},configurable:!0,enumerable:!0})},8727:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(e,t,r)=>{var a=r(616),n=Function.prototype,i=n.apply,s=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(a?s.bind(i):function(){return s.apply(i,arguments)})},8750:(e,t,r)=>{var a=r(7080),n=r(4402),i=r(5170),s=r(3789),o=r(8469),c=r(507),l=n.Set,h=n.add,u=n.has;e.exports=function intersection(e){var t=a(this),r=s(e),n=new l;i(t)>r.size?c(r.getIterator(),(function(e){u(t,e)&&h(n,e)})):o(t,(function(e){r.includes(e)&&h(n,e)}));return n}},8773:(e,t)=>{var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!r.call({1:2},1);t.f=n?function propertyIsEnumerable(e){var t=a(this,e);return!!t&&t.enumerable}:r},8981:(e,t,r)=>{var a=r(7750),n=Object;e.exports=function(e){return n(a(e))}},9039:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},9143:(e,t,r)=>{var a=r(4576),n=r(9504),i=r(3972),s=r(3463),o=r(9297),c=r(2804),l=r(944),h=r(5169),u=c.c2i,d=c.c2iUrl,f=a.SyntaxError,g=a.TypeError,p=n("".charAt),skipAsciiWhitespace=function(e,t){for(var r=e.length;t<r;t++){var a=p(e,t);if(" "!==a&&"\t"!==a&&"\n"!==a&&"\f"!==a&&"\r"!==a)break}return t},decodeBase64Chunk=function(e,t,r){var a=e.length;a<4&&(e+=2===a?"AA":"A");var n=(t[p(e,0)]<<18)+(t[p(e,1)]<<12)+(t[p(e,2)]<<6)+t[p(e,3)],i=[n>>16&255,n>>8&255,255&n];if(2===a){if(r&&0!==i[1])throw new f("Extra bits");return[i[0]]}if(3===a){if(r&&0!==i[2])throw new f("Extra bits");return[i[0],i[1]]}return i},writeBytes=function(e,t,r){for(var a=t.length,n=0;n<a;n++)e[r+n]=t[n];return r+a};e.exports=function(e,t,r,a){s(e);i(t);var n="base64"===l(t)?u:d,c=t?t.lastChunkHandling:void 0;void 0===c&&(c="loose");if("loose"!==c&&"strict"!==c&&"stop-before-partial"!==c)throw new g("Incorrect `lastChunkHandling` option");r&&h(r.buffer);var m=r||[],b=0,y=0,w="",x=0;if(a)for(;;){if((x=skipAsciiWhitespace(e,x))===e.length){if(w.length>0){if("stop-before-partial"===c)break;if("loose"!==c)throw new f("Missing padding");if(1===w.length)throw new f("Malformed padding: exactly one additional character");b=writeBytes(m,decodeBase64Chunk(w,n,!1),b)}y=e.length;break}var S=p(e,x);++x;if("="===S){if(w.length<2)throw new f("Padding is too early");x=skipAsciiWhitespace(e,x);if(2===w.length){if(x===e.length){if("stop-before-partial"===c)break;throw new f("Malformed padding: only one =")}if("="===p(e,x)){++x;x=skipAsciiWhitespace(e,x)}}if(x<e.length)throw new f("Unexpected character after padding");b=writeBytes(m,decodeBase64Chunk(w,n,"strict"===c),b);y=e.length;break}if(!o(n,S))throw new f("Unexpected character");var k=a-b;if(1===k&&2===w.length||2===k&&3===w.length)break;if(4===(w+=S).length){b=writeBytes(m,decodeBase64Chunk(w,n,!1),b);w="";y=x;if(b===a)break}}return{bytes:m,read:y,written:b}}},9286:(e,t,r)=>{var a=r(4402),n=r(8469),i=a.Set,s=a.add;e.exports=function(e){var t=new i;n(e,(function(e){s(t,e)}));return t}},9297:(e,t,r)=>{var a=r(9504),n=r(8981),i=a({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return i(n(e),t)}},9306:(e,t,r)=>{var a=r(4901),n=r(6823),i=TypeError;e.exports=function(e){if(a(e))return e;throw new i(n(e)+" is not a function")}},9429:(e,t,r)=>{var a=r(4576),n=r(6193);e.exports=function(e){if(n){try{return a.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},9432:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(5370),s=r(9143),o=n.Uint8Array;o&&a({target:"Uint8Array",stat:!0},{fromBase64:function fromBase64(e){var t=s(e,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return i(o,t.bytes)}})},9433:(e,t,r)=>{var a=r(4576),n=Object.defineProperty;e.exports=function(e,t){try{n(a,e,{value:t,configurable:!0,writable:!0})}catch(r){a[e]=t}return t}},9462:(e,t,r)=>{var a=r(9565),n=r(2360),i=r(6699),s=r(6279),o=r(8227),c=r(1181),l=r(5966),h=r(7657).IteratorPrototype,u=r(2529),d=r(9539),f=o("toStringTag"),g="IteratorHelper",p="WrapForValidIterator",m=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?p:g);return s(n(h),{next:function next(){var r=t(this);if(e)return r.nextHandler();if(r.done)return u(void 0,!0);try{var a=r.nextHandler();return r.returnHandlerResult?a:u(a,r.done)}catch(e){r.done=!0;throw e}},return:function(){var r=t(this),n=r.iterator;r.done=!0;if(e){var i=l(n,"return");return i?a(i,n):u(void 0,!0)}if(r.inner)try{d(r.inner.iterator,"normal")}catch(e){return d(n,"throw",e)}n&&d(n,"normal");return u(void 0,!0)}})},b=createIteratorProxyPrototype(!0),y=createIteratorProxyPrototype(!1);i(y,f,"Iterator Helper");e.exports=function(e,t,r){var a=function Iterator(a,n){if(n){n.iterator=a.iterator;n.next=a.next}else n=a;n.type=t?p:g;n.returnHandlerResult=!!r;n.nextHandler=e;n.counter=0;n.done=!1;m(this,n)};a.prototype=t?b:y;return a}},9479:(e,t,r)=>{var a=r(4576),n=r(3724),i=r(2106),s=r(7979),o=r(9039),c=a.RegExp,l=c.prototype;n&&o((function(){var e=!0;try{c(".","d")}catch(t){e=!1}var t={},r="",a=e?"dgimsy":"gimsy",addGetter=function(e,a){Object.defineProperty(t,e,{get:function(){r+=a;return!0}})},n={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};e&&(n.hasIndices="d");for(var i in n)addGetter(i,n[i]);return Object.getOwnPropertyDescriptor(l,"flags").get.call(t)!==a||r!==a}))&&i(l,"flags",{configurable:!0,get:s})},9504:(e,t,r)=>{var a=r(616),n=Function.prototype,i=n.call,s=a&&n.bind.bind(i,i);e.exports=a?s:function(e){return function(){return i.apply(e,arguments)}}},9519:(e,t,r)=>{var a,n,i=r(4576),s=r(2839),o=i.process,c=i.Deno,l=o&&o.versions||c&&c.version,h=l&&l.v8;h&&(n=(a=h.split("."))[0]>0&&a[0]<4?1:+(a[0]+a[1]));!n&&s&&(!(a=s.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=s.match(/Chrome\/(\d+)/))&&(n=+a[1]);e.exports=n},9539:(e,t,r)=>{var a=r(9565),n=r(8551),i=r(5966);e.exports=function(e,t,r){var s,o;n(e);try{if(!(s=i(e,"return"))){if("throw"===t)throw r;return r}s=a(s,e)}catch(e){o=!0;s=e}if("throw"===t)throw r;if(o)throw s;n(s);return r}},9565:(e,t,r)=>{var a=r(616),n=Function.prototype.call;e.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},9617:(e,t,r)=>{var a=r(5397),n=r(5610),i=r(6198),createMethod=function(e){return function(t,r,s){var o=a(t),c=i(o);if(0===c)return!e&&-1;var l,h=n(s,c);if(e&&r!=r){for(;c>h;)if((l=o[h++])!=l)return!0}else for(;c>h;h++)if((e||h in o)&&o[h]===r)return e||h||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},9631:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(9504),s=r(3972),o=r(4154),c=r(5169),l=r(2804),h=r(944),u=l.i2c,d=l.i2cUrl,f=i("".charAt);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{toBase64:function toBase64(){var e=o(this),t=arguments.length?s(arguments[0]):void 0,r="base64"===h(t)?u:d,a=!!t&&!!t.omitPadding;c(this.buffer);for(var n,i="",l=0,g=e.length,at=function(e){return f(r,n>>6*e&63)};l+2<g;l+=3){n=(e[l]<<16)+(e[l+1]<<8)+e[l+2];i+=at(3)+at(2)+at(1)+at(0)}if(l+2===g){n=(e[l]<<16)+(e[l+1]<<8);i+=at(3)+at(2)+at(1)+(a?"":"=")}else if(l+1===g){n=e[l]<<16;i+=at(3)+at(2)+(a?"":"==")}return i}})},9797:(e,t,r)=>{var a=r(6518),n=r(4576),i=r(3463),s=r(4154),o=r(5169),c=r(2303);n.Uint8Array&&a({target:"Uint8Array",proto:!0},{setFromHex:function setFromHex(e){s(this);i(e);o(this.buffer);var t=c(e,this).read;return{read:t,written:t/2}}})}},t={};function __webpack_require__(r){var a=t[r];if(void 0!==a)return a.exports;var n=t[r]={exports:{}};e[r].call(n.exports,n,n.exports,__webpack_require__);return n.exports}__webpack_require__(4114),__webpack_require__(6573),__webpack_require__(8100),__webpack_require__(7936),__webpack_require__(8111),__webpack_require__(1701),__webpack_require__(3579),__webpack_require__(4628),__webpack_require__(7642),__webpack_require__(8004),__webpack_require__(3853),__webpack_require__(5876),__webpack_require__(2475),__webpack_require__(5024),__webpack_require__(1698),__webpack_require__(1549),__webpack_require__(9797),__webpack_require__(9631),__webpack_require__(5623),__webpack_require__(3611),__webpack_require__(8237),__webpack_require__(1689),__webpack_require__(9432),__webpack_require__(4979),__webpack_require__(5781);const r=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type),a=[.001,0,0,.001,0,0],n=1.35,i=.35,s=.25925925925925924,o=1,c=2,l=4,h=8,u=16,d=64,f=128,g=256,p="pdfjs_internal_editor_",m=3,b=9,y=13,w=15,x=101,S={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},k=0,C=4,v=1,O=2,T=3,M=1,D=2,R=3,E=4,N=5,_=6,L=7,j=8,U=9,q=10,X=11,H=12,W=13,z=14,$=15,G=16,V=17,K=20,J="Group",Y="R",Z=1,Q=2,ee=4,te=16,re=32,ae=128,ne=512,ie=1,se=2,oe=4096,ce=8192,le=32768,he=65536,ue=131072,de=1048576,fe=2097152,ge=8388608,pe=16777216,me=1,be=2,ye=3,we=4,xe=5,Se={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},Ae={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},ke={O:"PageOpen",C:"PageClose"},Ce=1,ve=5,Fe=1,Ie=2,Oe=3,Te=4,Me=5,De=6,Be=7,Re=8,Ee=9,Ne=10,Pe=11,_e=12,Le=13,je=14,Ue=15,qe=16,Xe=17,He=18,We=19,ze=20,$e=21,Ge=22,Ve=23,Ke=24,Je=25,Ye=26,Ze=27,Qe=28,et=29,tt=30,rt=31,nt=32,it=33,st=34,ot=35,ct=36,lt=37,ht=38,ut=39,dt=40,ft=41,gt=42,pt=43,mt=44,bt=45,yt=46,wt=47,xt=48,St=49,At=50,kt=51,Ct=52,vt=53,Ft=54,It=55,Ot=56,Tt=57,Mt=58,Dt=59,Bt=60,Rt=61,Et=62,Nt=63,Pt=64,_t=65,Lt=66,jt=67,Ut=68,qt=69,Xt=70,Ht=71,Wt=72,zt=73,$t=74,Gt=75,Vt=76,Kt=77,Jt=80,Yt=81,Zt=83,Qt=84,er=85,tr=86,rr=87,ar=88,nr=89,ir=90,sr=91,or=92,cr=93,lr=94,hr=0,ur=1,dr=2,fr=3,gr=1,pr=2;let mr=Ce;function getVerbosityLevel(){return mr}function info(e){mr>=ve&&console.log(`Info: ${e}`)}function warn(e){mr>=Ce&&console.log(`Warning: ${e}`)}function unreachable(e){throw new Error(e)}function assert(e,t){e||unreachable(t)}function createValidAbsoluteUrl(e,t=null,r=null){if(!e)return null;if(r&&"string"==typeof e){if(r.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t?.length>=2&&(e=`http://${e}`)}if(r.tryConvertEncoding)try{e=stringToUTF8String(e)}catch{}}const a=t?URL.parse(e,t):URL.parse(e);return function _isValidProtocol(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(a)?a:null}function shadow(e,t,r,a=!1){Object.defineProperty(e,t,{value:r,enumerable:!a,configurable:!0,writable:!1});return r}const br=function BaseExceptionClosure(){function BaseException(e,t){this.message=e;this.name=t}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();class PasswordException extends br{constructor(e,t){super(e,"PasswordException");this.code=t}}class UnknownErrorException extends br{constructor(e,t){super(e,"UnknownErrorException");this.details=t}}class InvalidPDFException extends br{constructor(e){super(e,"InvalidPDFException")}}class ResponseException extends br{constructor(e,t,r){super(e,"ResponseException");this.status=t;this.missing=r}}class FormatError extends br{constructor(e){super(e,"FormatError")}}class AbortException extends br{constructor(e){super(e,"AbortException")}}function bytesToString(e){"object"==typeof e&&void 0!==e?.length||unreachable("Invalid argument for bytesToString");const t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);const a=[];for(let n=0;n<t;n+=r){const i=Math.min(n+r,t),s=e.subarray(n,i);a.push(String.fromCharCode.apply(null,s))}return a.join("")}function stringToBytes(e){"string"!=typeof e&&unreachable("Invalid argument for stringToBytes");const t=e.length,r=new Uint8Array(t);for(let a=0;a<t;++a)r[a]=255&e.charCodeAt(a);return r}function string32(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function objectSize(e){return Object.keys(e).length}class FeatureTest{static get isLittleEndian(){return shadow(this,"isLittleEndian",function isLittleEndian(){const e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]}())}static get isEvalSupported(){return shadow(this,"isEvalSupported",function isEvalSupported(){try{new Function("");return!0}catch{return!1}}())}static get isOffscreenCanvasSupported(){return shadow(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get isImageDecoderSupported(){return shadow(this,"isImageDecoderSupported","undefined"!=typeof ImageDecoder)}static get platform(){const{platform:e,userAgent:t}=navigator;return shadow(this,"platform",{isAndroid:t.includes("Android"),isLinux:e.includes("Linux"),isMac:e.includes("Mac"),isWindows:e.includes("Win"),isFirefox:t.includes("Firefox")})}static get isCSSRoundSupported(){return shadow(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const yr=Array.from(Array(256).keys(),(e=>e.toString(16).padStart(2,"0")));class Util{static makeHexColor(e,t,r){return`#${yr[e]}${yr[t]}${yr[r]}`}static scaleMinMax(e,t){let r;if(e[0]){if(e[0]<0){r=t[0];t[0]=t[2];t[2]=r}t[0]*=e[0];t[2]*=e[0];if(e[3]<0){r=t[1];t[1]=t[3];t[3]=r}t[1]*=e[3];t[3]*=e[3]}else{r=t[0];t[0]=t[1];t[1]=r;r=t[2];t[2]=t[3];t[3]=r;if(e[1]<0){r=t[1];t[1]=t[3];t[3]=r}t[1]*=e[1];t[3]*=e[1];if(e[2]<0){r=t[0];t[0]=t[2];t[2]=r}t[0]*=e[2];t[2]*=e[2]}t[0]+=e[4];t[1]+=e[5];t[2]+=e[4];t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t,r=0){const a=e[r],n=e[r+1];e[r]=a*t[0]+n*t[2]+t[4];e[r+1]=a*t[1]+n*t[3]+t[5]}static applyTransformToBezier(e,t,r=0){const a=t[0],n=t[1],i=t[2],s=t[3],o=t[4],c=t[5];for(let t=0;t<6;t+=2){const l=e[r+t],h=e[r+t+1];e[r+t]=l*a+h*i+o;e[r+t+1]=l*n+h*s+c}}static applyInverseTransform(e,t){const r=e[0],a=e[1],n=t[0]*t[3]-t[1]*t[2];e[0]=(r*t[3]-a*t[2]+t[2]*t[5]-t[4]*t[3])/n;e[1]=(-r*t[1]+a*t[0]+t[4]*t[1]-t[5]*t[0])/n}static axialAlignedBoundingBox(e,t,r){const a=t[0],n=t[1],i=t[2],s=t[3],o=t[4],c=t[5],l=e[0],h=e[1],u=e[2],d=e[3];let f=a*l+o,g=f,p=a*u+o,m=p,b=s*h+c,y=b,w=s*d+c,x=w;if(0!==n||0!==i){const e=n*l,t=n*u,r=i*h,a=i*d;f+=r;m+=r;p+=a;g+=a;b+=e;x+=e;w+=t;y+=t}r[0]=Math.min(r[0],f,p,g,m);r[1]=Math.min(r[1],b,w,y,x);r[2]=Math.max(r[2],f,p,g,m);r[3]=Math.max(r[3],b,w,y,x)}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e,t){const r=e[0],a=e[1],n=e[2],i=e[3],s=r**2+a**2,o=r*n+a*i,c=n**2+i**2,l=(s+c)/2,h=Math.sqrt(l**2-(s*c-o**2));t[0]=Math.sqrt(l+h||1);t[1]=Math.sqrt(l-h||1)}static normalizeRect(e){const t=e.slice(0);if(e[0]>e[2]){t[0]=e[2];t[2]=e[0]}if(e[1]>e[3]){t[1]=e[3];t[3]=e[1]}return t}static intersect(e,t){const r=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),a=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(r>a)return null;const n=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),i=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return n>i?null:[r,n,a,i]}static pointBoundingBox(e,t,r){r[0]=Math.min(r[0],e);r[1]=Math.min(r[1],t);r[2]=Math.max(r[2],e);r[3]=Math.max(r[3],t)}static rectBoundingBox(e,t,r,a,n){n[0]=Math.min(n[0],e,r);n[1]=Math.min(n[1],t,a);n[2]=Math.max(n[2],e,r);n[3]=Math.max(n[3],t,a)}static#e(e,t,r,a,n,i,s,o,c,l){if(c<=0||c>=1)return;const h=1-c,u=c*c,d=u*c,f=h*(h*(h*e+3*c*t)+3*u*r)+d*a,g=h*(h*(h*n+3*c*i)+3*u*s)+d*o;l[0]=Math.min(l[0],f);l[1]=Math.min(l[1],g);l[2]=Math.max(l[2],f);l[3]=Math.max(l[3],g)}static#t(e,t,r,a,n,i,s,o,c,l,h,u){if(Math.abs(c)<1e-12){Math.abs(l)>=1e-12&&this.#e(e,t,r,a,n,i,s,o,-h/l,u);return}const d=l**2-4*h*c;if(d<0)return;const f=Math.sqrt(d),g=2*c;this.#e(e,t,r,a,n,i,s,o,(-l+f)/g,u);this.#e(e,t,r,a,n,i,s,o,(-l-f)/g,u)}static bezierBoundingBox(e,t,r,a,n,i,s,o,c){c[0]=Math.min(c[0],e,s);c[1]=Math.min(c[1],t,o);c[2]=Math.max(c[2],e,s);c[3]=Math.max(c[3],t,o);this.#t(e,r,n,s,t,a,i,o,3*(3*(r-n)-e+s),6*(e-2*r+n),3*(r-e),c);this.#t(e,r,n,s,t,a,i,o,3*(3*(a-i)-t+o),6*(t-2*a+i),3*(a-t),c)}}const wr=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function stringToPDFString(e,t=!1){if(e[0]>="ï"){let r;if("þ"===e[0]&&"ÿ"===e[1]){r="utf-16be";e.length%2==1&&(e=e.slice(0,-1))}else if("ÿ"===e[0]&&"þ"===e[1]){r="utf-16le";e.length%2==1&&(e=e.slice(0,-1))}else"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(r="utf-8");if(r)try{const a=new TextDecoder(r,{fatal:!0}),n=stringToBytes(e),i=a.decode(n);return t||!i.includes("")?i:i.replaceAll(/\x1b[^\x1b]*(?:\x1b|$)/g,"")}catch(e){warn(`stringToPDFString: "${e}".`)}}const r=[];for(let a=0,n=e.length;a<n;a++){const i=e.charCodeAt(a);if(!t&&27===i){for(;++a<n&&27!==e.charCodeAt(a););continue}const s=wr[i];r.push(s?String.fromCharCode(s):e.charAt(a))}return r.join("")}function stringToUTF8String(e){return decodeURIComponent(escape(e))}function utf8StringToString(e){return unescape(encodeURIComponent(e))}function isArrayEqual(e,t){if(e.length!==t.length)return!1;for(let r=0,a=e.length;r<a;r++)if(e[r]!==t[r])return!1;return!0}function getModificationDate(e=new Date){return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")}let xr=null,Sr=null;function MathClamp(e,t,r){return Math.min(Math.max(e,t),r)}function toHexUtil(e){return Uint8Array.prototype.toHex?e.toHex():Array.from(e,(e=>yr[e])).join("")}"function"!=typeof Math.sumPrecise&&(Math.sumPrecise=function(e){return e.reduce(((e,t)=>e+t),0)});"function"!=typeof AbortSignal.any&&(AbortSignal.any=function(e){const t=new AbortController,{signal:r}=t;for(const a of e)if(a.aborted){t.abort(a.reason);return r}for(const a of e)a.addEventListener("abort",(()=>{t.abort(a.reason)}),{signal:r});return r});__webpack_require__(1148);const Ar=Symbol("CIRCULAR_REF"),kr=Symbol("EOF");let Cr=Object.create(null),vr=Object.create(null),Fr=Object.create(null);class Name{constructor(e){this.name=e}static get(e){return vr[e]||=new Name(e)}}class Cmd{constructor(e){this.cmd=e}static get(e){return Cr[e]||=new Cmd(e)}}const Ir=function nonSerializableClosure(){return Ir};class Dict{constructor(e=null){this._map=new Map;this.xref=e;this.objId=null;this.suppressEncryption=!1;this.__nonSerializable__=Ir}assignXref(e){this.xref=e}get size(){return this._map.size}get(e,t,r){let a=this._map.get(e);if(void 0===a&&void 0!==t){a=this._map.get(t);void 0===a&&void 0!==r&&(a=this._map.get(r))}return a instanceof Ref&&this.xref?this.xref.fetch(a,this.suppressEncryption):a}async getAsync(e,t,r){let a=this._map.get(e);if(void 0===a&&void 0!==t){a=this._map.get(t);void 0===a&&void 0!==r&&(a=this._map.get(r))}return a instanceof Ref&&this.xref?this.xref.fetchAsync(a,this.suppressEncryption):a}getArray(e,t,r){let a=this._map.get(e);if(void 0===a&&void 0!==t){a=this._map.get(t);void 0===a&&void 0!==r&&(a=this._map.get(r))}a instanceof Ref&&this.xref&&(a=this.xref.fetch(a,this.suppressEncryption));if(Array.isArray(a)){a=a.slice();for(let e=0,t=a.length;e<t;e++)a[e]instanceof Ref&&this.xref&&(a[e]=this.xref.fetch(a[e],this.suppressEncryption))}return a}getRaw(e){return this._map.get(e)}getKeys(){return[...this._map.keys()]}getRawValues(){return[...this._map.values()]}set(e,t){this._map.set(e,t)}has(e){return this._map.has(e)}*[Symbol.iterator](){for(const[e,t]of this._map)yield[e,t instanceof Ref&&this.xref?this.xref.fetch(t,this.suppressEncryption):t]}static get empty(){const e=new Dict(null);e.set=(e,t)=>{unreachable("Should not call `set` on the empty dictionary.")};return shadow(this,"empty",e)}static merge({xref:e,dictArray:t,mergeSubDicts:r=!1}){const a=new Dict(e),n=new Map;for(const e of t)if(e instanceof Dict)for(const[t,a]of e._map){let e=n.get(t);if(void 0===e){e=[];n.set(t,e)}else if(!(r&&a instanceof Dict))continue;e.push(a)}for(const[t,r]of n){if(1===r.length||!(r[0]instanceof Dict)){a._map.set(t,r[0]);continue}const n=new Dict(e);for(const e of r)for(const[t,r]of e._map)n._map.has(t)||n._map.set(t,r);n.size>0&&a._map.set(t,n)}n.clear();return a.size>0?a:Dict.empty}clone(){const e=new Dict(this.xref);for(const t of this.getKeys())e.set(t,this.getRaw(t));return e}delete(e){delete this._map[e]}}class Ref{constructor(e,t){this.num=e;this.gen=t}toString(){return 0===this.gen?`${this.num}R`:`${this.num}R${this.gen}`}static fromString(e){const t=Fr[e];if(t)return t;const r=/^(\d+)R(\d*)$/.exec(e);return r&&"0"!==r[1]?Fr[e]=new Ref(parseInt(r[1]),r[2]?parseInt(r[2]):0):null}static get(e,t){const r=0===t?`${e}R`:`${e}R${t}`;return Fr[r]||=new Ref(e,t)}}class RefSet{constructor(e=null){this._set=new Set(e?._set)}has(e){return this._set.has(e.toString())}put(e){this._set.add(e.toString())}remove(e){this._set.delete(e.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}class RefSetCache{constructor(){this._map=new Map}get size(){return this._map.size}get(e){return this._map.get(e.toString())}has(e){return this._map.has(e.toString())}put(e,t){this._map.set(e.toString(),t)}putAlias(e,t){this._map.set(e.toString(),this.get(t))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}*values(){yield*this._map.values()}*items(){for(const[e,t]of this._map)yield[Ref.fromString(e),t]}}function isName(e,t){return e instanceof Name&&(void 0===t||e.name===t)}function isCmd(e,t){return e instanceof Cmd&&(void 0===t||e.cmd===t)}function isDict(e,t){return e instanceof Dict&&(void 0===t||isName(e.get("Type"),t))}function isRefsEqual(e,t){return e.num===t.num&&e.gen===t.gen}class BaseStream{get length(){unreachable("Abstract getter `length` accessed")}get isEmpty(){unreachable("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return shadow(this,"isDataLoaded",!0)}getByte(){unreachable("Abstract method `getByte` called")}getBytes(e){unreachable("Abstract method `getBytes` called")}async getImageData(e,t){return this.getBytes(e,t)}async asyncGetBytes(){unreachable("Abstract method `asyncGetBytes` called")}get isAsync(){return!1}get isAsyncDecoder(){return!1}get canAsyncDecodeImageFromBuffer(){return!1}async getTransferableImage(){return null}peekByte(){const e=this.getByte();-1!==e&&this.pos--;return e}peekBytes(e){const t=this.getBytes(e);this.pos-=t.length;return t}getUint16(){const e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}getInt32(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}getByteRange(e,t){unreachable("Abstract method `getByteRange` called")}getString(e){return bytesToString(this.getBytes(e))}skip(e){this.pos+=e||1}reset(){unreachable("Abstract method `reset` called")}moveStart(){unreachable("Abstract method `moveStart` called")}makeSubStream(e,t,r=null){unreachable("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}const Or=/^[1-9]\.\d$/,Tr=2**31-1,Mr=[1,0,0,1,0,0],Dr=["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"],Rr=["ExtGState","Font","Properties","XObject"];function getLookupTableFactory(e){let t;return function(){if(e){t=Object.create(null);e(t);e=null}return t}}class MissingDataException extends br{constructor(e,t){super(`Missing data [${e}, ${t})`,"MissingDataException");this.begin=e;this.end=t}}class ParserEOFException extends br{constructor(e){super(e,"ParserEOFException")}}class XRefEntryException extends br{constructor(e){super(e,"XRefEntryException")}}class XRefParseException extends br{constructor(e){super(e,"XRefParseException")}}function arrayBuffersToBytes(e){const t=e.length;if(0===t)return new Uint8Array(0);if(1===t)return new Uint8Array(e[0]);let r=0;for(let a=0;a<t;a++)r+=e[a].byteLength;const a=new Uint8Array(r);let n=0;for(let r=0;r<t;r++){const t=new Uint8Array(e[r]);a.set(t,n);n+=t.byteLength}return a}async function fetchBinaryData(e){const t=await fetch(e);if(!t.ok)throw new Error(`Failed to fetch file "${e}" with "${t.statusText}".`);return new Uint8Array(await t.arrayBuffer())}function getInheritableProperty({dict:e,key:t,getArray:r=!1,stopWhenFound:a=!0}){let n;const i=new RefSet;for(;e instanceof Dict&&(!e.objId||!i.has(e.objId));){e.objId&&i.put(e.objId);const s=r?e.getArray(t):e.get(t);if(void 0!==s){if(a)return s;(n||=[]).push(s)}e=e.get("Parent")}return n}const Er=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function toRomanNumerals(e,t=!1){assert(Number.isInteger(e)&&e>0,"The number should be a positive integer.");const r="M".repeat(e/1e3|0)+Er[e%1e3/100|0]+Er[10+(e%100/10|0)]+Er[20+e%10];return t?r.toLowerCase():r}function log2(e){return e>0?Math.ceil(Math.log2(e)):0}function readInt8(e,t){return e[t]<<24>>24}function readInt16(e,t){return(e[t]<<24|e[t+1]<<16)>>16}function readUint16(e,t){return e[t]<<8|e[t+1]}function readUint32(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function isWhiteSpace(e){return 32===e||9===e||13===e||10===e}function isNumberArray(e,t){return Array.isArray(e)?(null===t||e.length===t)&&e.every((e=>"number"==typeof e)):ArrayBuffer.isView(e)&&!(e instanceof BigInt64Array||e instanceof BigUint64Array)&&(null===t||e.length===t)}function lookupMatrix(e,t){return isNumberArray(e,6)?e:t}function lookupRect(e,t){return isNumberArray(e,4)?e:t}function lookupNormalRect(e,t){return isNumberArray(e,4)?Util.normalizeRect(e):t}function parseXFAPath(e){const t=/(.+)\[(\d+)\]$/;return e.split(".").map((e=>{const r=e.match(t);return r?{name:r[1],pos:parseInt(r[2],10)}:{name:e,pos:0}}))}function escapePDFName(e){const t=[];let r=0;for(let a=0,n=e.length;a<n;a++){const n=e.charCodeAt(a);if(n<33||n>126||35===n||40===n||41===n||60===n||62===n||91===n||93===n||123===n||125===n||47===n||37===n){r<a&&t.push(e.substring(r,a));t.push(`#${n.toString(16)}`);r=a+1}}if(0===t.length)return e;r<e.length&&t.push(e.substring(r,e.length));return t.join("")}function escapeString(e){return e.replaceAll(/([()\\\n\r])/g,(e=>"\n"===e?"\\n":"\r"===e?"\\r":`\\${e}`))}function _collectJS(e,t,r,a){if(!e)return;let n=null;if(e instanceof Ref){if(a.has(e))return;n=e;a.put(n);e=t.fetch(e)}if(Array.isArray(e))for(const n of e)_collectJS(n,t,r,a);else if(e instanceof Dict){if(isName(e.get("S"),"JavaScript")){const t=e.get("JS");let a;t instanceof BaseStream?a=t.getString():"string"==typeof t&&(a=t);a&&=stringToPDFString(a,!0).replaceAll("\0","");a&&r.push(a)}_collectJS(e.getRaw("Next"),t,r,a)}n&&a.remove(n)}function collectActions(e,t,r){const a=Object.create(null),n=getInheritableProperty({dict:t,key:"AA",stopWhenFound:!1});if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(i instanceof Dict)for(const t of i.getKeys()){const n=r[t];if(!n)continue;const s=[];_collectJS(i.getRaw(t),e,s,new RefSet);s.length>0&&(a[n]=s)}}if(t.has("A")){const r=[];_collectJS(t.get("A"),e,r,new RefSet);r.length>0&&(a.Action=r)}return objectSize(a)>0?a:null}const Nr={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"};function*codePointIter(e){for(let t=0,r=e.length;t<r;t++){const r=e.codePointAt(t);r>55295&&(r<57344||r>65533)&&t++;yield r}}function encodeToXmlString(e){const t=[];let r=0;for(let a=0,n=e.length;a<n;a++){const n=e.codePointAt(a);if(32<=n&&n<=126){const i=Nr[n];if(i){r<a&&t.push(e.substring(r,a));t.push(i);r=a+1}}else{r<a&&t.push(e.substring(r,a));t.push(`&#x${n.toString(16).toUpperCase()};`);n>55295&&(n<57344||n>65533)&&a++;r=a+1}}if(0===t.length)return e;r<e.length&&t.push(e.substring(r,e.length));return t.join("")}function validateFontName(e,t=!1){const r=/^("|').*("|')$/.exec(e);if(r&&r[1]===r[2]){if(new RegExp(`[^\\\\]${r[1]}`).test(e.slice(1,-1))){t&&warn(`FontFamily contains unescaped ${r[1]}: ${e}.`);return!1}}else for(const r of e.split(/[ \t]+/))if(/^(\d|(-(\d|-)))/.test(r)||!/^[\w-\\]+$/.test(r)){t&&warn(`FontFamily contains invalid <custom-ident>: ${e}.`);return!1}return!0}function validateCSSFont(e){const t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),{fontFamily:r,fontWeight:a,italicAngle:n}=e;if(!validateFontName(r,!0))return!1;const i=a?a.toString():"";e.fontWeight=t.has(i)?i:"400";const s=parseFloat(n);e.italicAngle=isNaN(s)||s<-90||s>90?"14":n.toString();return!0}function recoverJsURL(e){const t=new RegExp("^\\s*("+["app.launchURL","window.open","xfa.host.gotoURL"].join("|").replaceAll(".","\\.")+")\\((?:'|\")([^'\"]*)(?:'|\")(?:,\\s*(\\w+)\\)|\\))","i").exec(e);return t?.[2]?{url:t[2],newWindow:"app.launchURL"===t[1]&&"true"===t[3]}:null}function numberToString(e){if(Number.isInteger(e))return e.toString();const t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)}function getNewAnnotationsMap(e){if(!e)return null;const t=new Map;for(const[r,a]of e){if(!r.startsWith(p))continue;let e=t.get(a.pageIndex);if(!e){e=[];t.set(a.pageIndex,e)}e.push(a)}return t.size>0?t:null}function stringToAsciiOrUTF16BE(e){return function isAscii(e){return/^[\x00-\x7F]*$/.test(e)}(e)?e:stringToUTF16String(e,!0)}function stringToUTF16HexString(e){const t=[];for(let r=0,a=e.length;r<a;r++){const a=e.charCodeAt(r);t.push(yr[a>>8&255],yr[255&a])}return t.join("")}function stringToUTF16String(e,t=!1){const r=[];t&&r.push("þÿ");for(let t=0,a=e.length;t<a;t++){const a=e.charCodeAt(t);r.push(String.fromCharCode(a>>8&255),String.fromCharCode(255&a))}return r.join("")}function getRotationMatrix(e,t,r){switch(e){case 90:return[0,1,-1,0,t,0];case 180:return[-1,0,0,-1,t,r];case 270:return[0,-1,1,0,0,r];default:throw new Error("Invalid rotation")}}function getSizeInBytes(e){return Math.ceil(Math.ceil(Math.log2(1+e))/8)}__webpack_require__(4603),__webpack_require__(7566),__webpack_require__(8721);class QCMS{static#r=null;static _memory=null;static _mustAddAlpha=!1;static _destBuffer=null;static _destOffset=0;static _destLength=0;static _cssColor="";static _makeHexColor=null;static get _memoryArray(){const e=this.#r;return e?.byteLength?e:this.#r=new Uint8Array(this._memory.buffer)}}let Pr;const _r="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&_r.decode();let Lr=null;function getUint8ArrayMemory0(){null!==Lr&&0!==Lr.byteLength||(Lr=new Uint8Array(Pr.memory.buffer));return Lr}let jr=0;function passArray8ToWasm0(e,t){const r=t(1*e.length,1)>>>0;getUint8ArrayMemory0().set(e,r/1);jr=e.length;return r}const Ur=Object.freeze({RGB8:0,0:"RGB8",RGBA8:1,1:"RGBA8",BGRA8:2,2:"BGRA8",Gray8:3,3:"Gray8",GrayA8:4,4:"GrayA8",CMYK:5,5:"CMYK"}),qr=Object.freeze({Perceptual:0,0:"Perceptual",RelativeColorimetric:1,1:"RelativeColorimetric",Saturation:2,2:"Saturation",AbsoluteColorimetric:3,3:"AbsoluteColorimetric"});function __wbg_get_imports(){const e={wbg:{}};e.wbg.__wbg_copyresult_b08ee7d273f295dd=function(e,t){!function copy_result(e,t){const{_mustAddAlpha:r,_destBuffer:a,_destOffset:n,_destLength:i,_memoryArray:s}=QCMS;if(t!==i)if(r)for(let r=e,i=e+t,o=n;r<i;r+=3,o+=4){a[o]=s[r];a[o+1]=s[r+1];a[o+2]=s[r+2];a[o+3]=255}else for(let r=e,i=e+t,o=n;r<i;r+=3,o+=4){a[o]=s[r];a[o+1]=s[r+1];a[o+2]=s[r+2]}else a.set(s.subarray(e,e+t),n)}(e>>>0,t>>>0)};e.wbg.__wbg_copyrgb_d60ce17bb05d9b67=function(e){!function copy_rgb(e){const{_destBuffer:t,_destOffset:r,_memoryArray:a}=QCMS;t[r]=a[e];t[r+1]=a[e+1];t[r+2]=a[e+2]}(e>>>0)};e.wbg.__wbg_makecssRGB_893bf0cd9fdb302d=function(e){!function make_cssRGB(e){const{_memoryArray:t}=QCMS;QCMS._cssColor=QCMS._makeHexColor(t[e],t[e+1],t[e+2])}(e>>>0)};e.wbg.__wbindgen_init_externref_table=function(){const e=Pr.__wbindgen_export_0,t=e.grow(4);e.set(0,void 0);e.set(t+0,void 0);e.set(t+1,null);e.set(t+2,!0);e.set(t+3,!1)};e.wbg.__wbindgen_throw=function(e,t){throw new Error(function getStringFromWasm0(e,t){e>>>=0;return _r.decode(getUint8ArrayMemory0().subarray(e,e+t))}(e,t))};return e}function __wbg_finalize_init(e,t){Pr=e.exports;__wbg_init.__wbindgen_wasm_module=t;Lr=null;Pr.__wbindgen_start();return Pr}async function __wbg_init(e){if(void 0!==Pr)return Pr;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const t=__wbg_get_imports();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:r,module:a}=await async function __wbg_load(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}(await e,t);return __wbg_finalize_init(r,a)}class ColorSpace{static#a=new Uint8ClampedArray(3);constructor(e,t){this.name=e;this.numComps=t}getRgb(e,t,r=new Uint8ClampedArray(3)){this.getRgbItem(e,t,r,0);return r}getRgbHex(e,t){const r=this.getRgb(e,t,ColorSpace.#a);return Util.makeHexColor(r[0],r[1],r[2])}getRgbItem(e,t,r,a){unreachable("Should not call ColorSpace.getRgbItem")}getRgbBuffer(e,t,r,a,n,i,s){unreachable("Should not call ColorSpace.getRgbBuffer")}getOutputLength(e,t){unreachable("Should not call ColorSpace.getOutputLength")}isPassthrough(e){return!1}isDefaultDecode(e,t){return ColorSpace.isDefaultDecode(e,this.numComps)}fillRgb(e,t,r,a,n,i,s,o,c){const l=t*r;let h=null;const u=1<<s,d=r!==n||t!==a;if(this.isPassthrough(s))h=o;else if(1===this.numComps&&l>u&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){const t=s<=8?new Uint8Array(u):new Uint16Array(u);for(let e=0;e<u;e++)t[e]=e;const r=new Uint8ClampedArray(3*u);this.getRgbBuffer(t,0,u,r,0,s,0);if(d){h=new Uint8Array(3*l);let e=0;for(let t=0;t<l;++t){const a=3*o[t];h[e++]=r[a];h[e++]=r[a+1];h[e++]=r[a+2]}}else{let t=0;for(let a=0;a<l;++a){const n=3*o[a];e[t++]=r[n];e[t++]=r[n+1];e[t++]=r[n+2];t+=c}}}else if(d){h=new Uint8ClampedArray(3*l);this.getRgbBuffer(o,0,l,h,0,s,0)}else this.getRgbBuffer(o,0,a*i,e,0,s,c);if(h)if(d)!function resizeRgbImage(e,t,r,a,n,i,s){s=1!==s?0:s;const o=r/n,c=a/i;let l,h=0;const u=new Uint16Array(n),d=3*r;for(let e=0;e<n;e++)u[e]=3*Math.floor(e*o);for(let r=0;r<i;r++){const a=Math.floor(r*c)*d;for(let r=0;r<n;r++){l=a+u[r];t[h++]=e[l++];t[h++]=e[l++];t[h++]=e[l++];h+=s}}}(h,e,t,r,a,n,c);else{let t=0,r=0;for(let n=0,s=a*i;n<s;n++){e[t++]=h[r++];e[t++]=h[r++];e[t++]=h[r++];t+=c}}}get usesZeroToOneRange(){return shadow(this,"usesZeroToOneRange",!0)}static isDefaultDecode(e,t){if(!Array.isArray(e))return!0;if(2*t!==e.length){warn("The decode map is not the correct length");return!0}for(let t=0,r=e.length;t<r;t+=2)if(0!==e[t]||1!==e[t+1])return!1;return!0}}class AlternateCS extends ColorSpace{constructor(e,t,r){super("Alternate",e);this.base=t;this.tintFn=r;this.tmpBuf=new Float32Array(t.numComps)}getRgbItem(e,t,r,a){const n=this.tmpBuf;this.tintFn(e,t,n,0);this.base.getRgbItem(n,0,r,a)}getRgbBuffer(e,t,r,a,n,i,s){const o=this.tintFn,c=this.base,l=1/((1<<i)-1),h=c.numComps,u=c.usesZeroToOneRange,d=(c.isPassthrough(8)||!u)&&0===s;let f=d?n:0;const g=d?a:new Uint8ClampedArray(h*r),p=this.numComps,m=new Float32Array(p),b=new Float32Array(h);let y,w;for(y=0;y<r;y++){for(w=0;w<p;w++)m[w]=e[t++]*l;o(m,0,b,0);if(u)for(w=0;w<h;w++)g[f++]=255*b[w];else{c.getRgbItem(b,0,g,f);f+=h}}d||c.getRgbBuffer(g,0,r,a,n,8,s)}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}class PatternCS extends ColorSpace{constructor(e){super("Pattern",null);this.base=e}isDefaultDecode(e,t){unreachable("Should not call PatternCS.isDefaultDecode")}}class IndexedCS extends ColorSpace{constructor(e,t,r){super("Indexed",1);this.base=e;this.highVal=t;const a=e.numComps*(t+1);this.lookup=new Uint8Array(a);if(r instanceof BaseStream){const e=r.getBytes(a);this.lookup.set(e)}else{if("string"!=typeof r)throw new FormatError(`IndexedCS - unrecognized lookup table: ${r}`);for(let e=0;e<a;++e)this.lookup[e]=255&r.charCodeAt(e)}}getRgbItem(e,t,r,a){const{base:n,highVal:i,lookup:s}=this,o=MathClamp(Math.round(e[t]),0,i)*n.numComps;n.getRgbBuffer(s,o,1,r,a,8,0)}getRgbBuffer(e,t,r,a,n,i,s){const{base:o,highVal:c,lookup:l}=this,{numComps:h}=o,u=o.getOutputLength(h,s);for(let i=0;i<r;++i){const r=MathClamp(Math.round(e[t++]),0,c)*h;o.getRgbBuffer(l,r,1,a,n,8,s);n+=u}}getOutputLength(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}isDefaultDecode(e,t){if(!Array.isArray(e))return!0;if(2!==e.length){warn("Decode map length is not correct");return!0}if(!Number.isInteger(t)||t<1){warn("Bits per component is not correct");return!0}return 0===e[0]&&e[1]===(1<<t)-1}}class DeviceGrayCS extends ColorSpace{constructor(){super("DeviceGray",1)}getRgbItem(e,t,r,a){const n=255*e[t];r[a]=r[a+1]=r[a+2]=n}getRgbBuffer(e,t,r,a,n,i,s){const o=255/((1<<i)-1);let c=t,l=n;for(let t=0;t<r;++t){const t=o*e[c++];a[l++]=t;a[l++]=t;a[l++]=t;l+=s}}getOutputLength(e,t){return e*(3+t)}}class DeviceRgbCS extends ColorSpace{constructor(){super("DeviceRGB",3)}getRgbItem(e,t,r,a){r[a]=255*e[t];r[a+1]=255*e[t+1];r[a+2]=255*e[t+2]}getRgbBuffer(e,t,r,a,n,i,s){if(8===i&&0===s){a.set(e.subarray(t,t+3*r),n);return}const o=255/((1<<i)-1);let c=t,l=n;for(let t=0;t<r;++t){a[l++]=o*e[c++];a[l++]=o*e[c++];a[l++]=o*e[c++];l+=s}}getOutputLength(e,t){return e*(3+t)/3|0}isPassthrough(e){return 8===e}}class DeviceRgbaCS extends ColorSpace{constructor(){super("DeviceRGBA",4)}getOutputLength(e,t){return 4*e}isPassthrough(e){return 8===e}fillRgb(e,t,r,a,n,i,s,o,c){r!==n||t!==a?function resizeRgbaImage(e,t,r,a,n,i,s){const o=r/n,c=a/i;let l=0;const h=new Uint16Array(n);if(1===s){for(let e=0;e<n;e++)h[e]=Math.floor(e*o);const a=new Uint32Array(e.buffer),s=new Uint32Array(t.buffer),u=FeatureTest.isLittleEndian?16777215:4294967040;for(let e=0;e<i;e++){const t=a.subarray(Math.floor(e*c)*r);for(let e=0;e<n;e++)s[l++]|=t[h[e]]&u}}else{const a=4,s=r*a;for(let e=0;e<n;e++)h[e]=Math.floor(e*o)*a;for(let r=0;r<i;r++){const a=e.subarray(Math.floor(r*c)*s);for(let e=0;e<n;e++){const r=h[e];t[l++]=a[r];t[l++]=a[r+1];t[l++]=a[r+2]}}}}(o,e,t,r,a,n,c):function copyRgbaImage(e,t,r){if(1===r){const r=new Uint32Array(e.buffer),a=new Uint32Array(t.buffer),n=FeatureTest.isLittleEndian?16777215:4294967040;for(let e=0,t=r.length;e<t;e++)a[e]|=r[e]&n}else{let r=0;for(let a=0,n=e.length;a<n;a+=4){t[r++]=e[a];t[r++]=e[a+1];t[r++]=e[a+2]}}}(o,e,c)}}class DeviceCmykCS extends ColorSpace{constructor(){super("DeviceCMYK",4)}#n(e,t,r,a,n){const i=e[t]*r,s=e[t+1]*r,o=e[t+2]*r,c=e[t+3]*r;a[n]=255+i*(-4.387332384609988*i+54.48615194189176*s+18.82290502165302*o+212.25662451639585*c-285.2331026137004)+s*(1.7149763477362134*s-5.6096736904047315*o+-17.873870861415444*c-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*c+17.5119270841813)+c*(-21.86122147463605*c-189.48180835922747);a[n+1]=255+i*(8.841041422036149*i+60.118027045597366*s+6.871425592049007*o+31.159100130055922*c-79.2970844816548)+s*(-15.310361306967817*s+17.575251261109482*o+131.35250912493976*c-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*c-24.86741582555878)+c*(-20.737325471181034*c-187.80453709719578);a[n+2]=255+i*(.8842522430003296*i+8.078677503112928*s+30.89978309703729*o-.23883238689178934*c-14.183576799673286)+s*(10.49593273432072*s+63.02378494754052*o+50.606957656360734*c-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*c-193.58209356861505)+c*(-22.33816807309886*c-180.12613974708367)}getRgbItem(e,t,r,a){this.#n(e,t,1,r,a)}getRgbBuffer(e,t,r,a,n,i,s){const o=1/((1<<i)-1);for(let i=0;i<r;i++){this.#n(e,t,o,a,n);t+=4;n+=3+s}}getOutputLength(e,t){return e/4*(3+t)|0}}class CalGrayCS extends ColorSpace{constructor(e,t,r){super("CalGray",1);if(!e)throw new FormatError("WhitePoint missing - required for color space CalGray");[this.XW,this.YW,this.ZW]=e;[this.XB,this.YB,this.ZB]=t||[0,0,0];this.G=r||1;if(this.XW<0||this.ZW<0||1!==this.YW)throw new FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);if(this.XB<0||this.YB<0||this.ZB<0){info(`Invalid BlackPoint for ${this.name}, falling back to default.`);this.XB=this.YB=this.ZB=0}0===this.XB&&0===this.YB&&0===this.ZB||warn(`${this.name}, BlackPoint: XB: ${this.XB}, YB: ${this.YB}, ZB: ${this.ZB}, only default values are supported.`);if(this.G<1){info(`Invalid Gamma: ${this.G} for ${this.name}, falling back to default.`);this.G=1}}#n(e,t,r,a,n){const i=(e[t]*n)**this.G,s=this.YW*i,o=Math.max(295.8*s**.3333333333333333-40.8,0);r[a]=o;r[a+1]=o;r[a+2]=o}getRgbItem(e,t,r,a){this.#n(e,t,r,a,1)}getRgbBuffer(e,t,r,a,n,i,s){const o=1/((1<<i)-1);for(let i=0;i<r;++i){this.#n(e,t,a,n,o);t+=1;n+=3+s}}getOutputLength(e,t){return e*(3+t)}}class CalRGBCS extends ColorSpace{static#i=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]);static#s=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]);static#o=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]);static#c=new Float32Array([1,1,1]);static#l=new Float32Array(3);static#h=new Float32Array(3);static#u=new Float32Array(3);static#d=(24/116)**3/8;constructor(e,t,r,a){super("CalRGB",3);if(!e)throw new FormatError("WhitePoint missing - required for color space CalRGB");const[n,i,s]=this.whitePoint=e,[o,c,l]=this.blackPoint=t||new Float32Array(3);[this.GR,this.GG,this.GB]=r||new Float32Array([1,1,1]);[this.MXA,this.MYA,this.MZA,this.MXB,this.MYB,this.MZB,this.MXC,this.MYC,this.MZC]=a||new Float32Array([1,0,0,0,1,0,0,0,1]);if(n<0||s<0||1!==i)throw new FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);if(o<0||c<0||l<0){info(`Invalid BlackPoint for ${this.name} [${o}, ${c}, ${l}], falling back to default.`);this.blackPoint=new Float32Array(3)}if(this.GR<0||this.GG<0||this.GB<0){info(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`);this.GR=this.GG=this.GB=1}}#f(e,t,r){r[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2];r[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2];r[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}#g(e,t,r){r[0]=1*t[0]/e[0];r[1]=1*t[1]/e[1];r[2]=1*t[2]/e[2]}#p(e,t,r){r[0]=.95047*t[0]/e[0];r[1]=1*t[1]/e[1];r[2]=1.08883*t[2]/e[2]}#m(e){return e<=.0031308?MathClamp(12.92*e,0,1):e>=.99554525?1:MathClamp(1.055*e**(1/2.4)-.055,0,1)}#b(e){return e<0?-this.#b(-e):e>8?((e+16)/116)**3:e*CalRGBCS.#d}#y(e,t,r){if(0===e[0]&&0===e[1]&&0===e[2]){r[0]=t[0];r[1]=t[1];r[2]=t[2];return}const a=this.#b(0),n=(1-a)/(1-this.#b(e[0])),i=1-n,s=(1-a)/(1-this.#b(e[1])),o=1-s,c=(1-a)/(1-this.#b(e[2])),l=1-c;r[0]=t[0]*n+i;r[1]=t[1]*s+o;r[2]=t[2]*c+l}#w(e,t,r){if(1===e[0]&&1===e[2]){r[0]=t[0];r[1]=t[1];r[2]=t[2];return}const a=r;this.#f(CalRGBCS.#i,t,a);const n=CalRGBCS.#l;this.#g(e,a,n);this.#f(CalRGBCS.#s,n,r)}#x(e,t,r){const a=r;this.#f(CalRGBCS.#i,t,a);const n=CalRGBCS.#l;this.#p(e,a,n);this.#f(CalRGBCS.#s,n,r)}#n(e,t,r,a,n){const i=MathClamp(e[t]*n,0,1),s=MathClamp(e[t+1]*n,0,1),o=MathClamp(e[t+2]*n,0,1),c=1===i?1:i**this.GR,l=1===s?1:s**this.GG,h=1===o?1:o**this.GB,u=this.MXA*c+this.MXB*l+this.MXC*h,d=this.MYA*c+this.MYB*l+this.MYC*h,f=this.MZA*c+this.MZB*l+this.MZC*h,g=CalRGBCS.#h;g[0]=u;g[1]=d;g[2]=f;const p=CalRGBCS.#u;this.#w(this.whitePoint,g,p);const m=CalRGBCS.#h;this.#y(this.blackPoint,p,m);const b=CalRGBCS.#u;this.#x(CalRGBCS.#c,m,b);const y=CalRGBCS.#h;this.#f(CalRGBCS.#o,b,y);r[a]=255*this.#m(y[0]);r[a+1]=255*this.#m(y[1]);r[a+2]=255*this.#m(y[2])}getRgbItem(e,t,r,a){this.#n(e,t,r,a,1)}getRgbBuffer(e,t,r,a,n,i,s){const o=1/((1<<i)-1);for(let i=0;i<r;++i){this.#n(e,t,a,n,o);t+=3;n+=3+s}}getOutputLength(e,t){return e*(3+t)/3|0}}class LabCS extends ColorSpace{constructor(e,t,r){super("Lab",3);if(!e)throw new FormatError("WhitePoint missing - required for color space Lab");[this.XW,this.YW,this.ZW]=e;[this.amin,this.amax,this.bmin,this.bmax]=r||[-100,100,-100,100];[this.XB,this.YB,this.ZB]=t||[0,0,0];if(this.XW<0||this.ZW<0||1!==this.YW)throw new FormatError("Invalid WhitePoint components, no fallback available");if(this.XB<0||this.YB<0||this.ZB<0){info("Invalid BlackPoint, falling back to default");this.XB=this.YB=this.ZB=0}if(this.amin>this.amax||this.bmin>this.bmax){info("Invalid Range, falling back to defaults");this.amin=-100;this.amax=100;this.bmin=-100;this.bmax=100}}#S(e){return e>=6/29?e**3:108/841*(e-4/29)}#A(e,t,r,a){return r+e*(a-r)/t}#n(e,t,r,a,n){let i=e[t],s=e[t+1],o=e[t+2];if(!1!==r){i=this.#A(i,r,0,100);s=this.#A(s,r,this.amin,this.amax);o=this.#A(o,r,this.bmin,this.bmax)}s>this.amax?s=this.amax:s<this.amin&&(s=this.amin);o>this.bmax?o=this.bmax:o<this.bmin&&(o=this.bmin);const c=(i+16)/116,l=c+s/500,h=c-o/200,u=this.XW*this.#S(l),d=this.YW*this.#S(c),f=this.ZW*this.#S(h);let g,p,m;if(this.ZW<1){g=3.1339*u+-1.617*d+-.4906*f;p=-.9785*u+1.916*d+.0333*f;m=.072*u+-.229*d+1.4057*f}else{g=3.2406*u+-1.5372*d+-.4986*f;p=-.9689*u+1.8758*d+.0415*f;m=.0557*u+-.204*d+1.057*f}a[n]=255*Math.sqrt(g);a[n+1]=255*Math.sqrt(p);a[n+2]=255*Math.sqrt(m)}getRgbItem(e,t,r,a){this.#n(e,t,!1,r,a)}getRgbBuffer(e,t,r,a,n,i,s){const o=(1<<i)-1;for(let i=0;i<r;i++){this.#n(e,t,o,a,n);t+=3;n+=3+s}}getOutputLength(e,t){return e*(3+t)/3|0}isDefaultDecode(e,t){return!0}get usesZeroToOneRange(){return shadow(this,"usesZeroToOneRange",!1)}}function fetchSync(e){const t=new XMLHttpRequest;t.open("GET",e,!1);t.responseType="arraybuffer";t.send(null);return t.response}class IccColorSpace extends ColorSpace{#k;#C;static#v=!0;static#F=null;static#I=new FinalizationRegistry((e=>{!function qcms_drop_transformer(e){Pr.qcms_drop_transformer(e)}(e)}));constructor(e,t,r){if(!IccColorSpace.isUsable)throw new Error("No ICC color space support");super(t,r);let a;switch(r){case 1:a=Ur.Gray8;this.#C=(e,t,r)=>function qcms_convert_one(e,t,r){Pr.qcms_convert_one(e,t,r)}(this.#k,255*e[t],r);break;case 3:a=Ur.RGB8;this.#C=(e,t,r)=>function qcms_convert_three(e,t,r,a,n){Pr.qcms_convert_three(e,t,r,a,n)}(this.#k,255*e[t],255*e[t+1],255*e[t+2],r);break;case 4:a=Ur.CMYK;this.#C=(e,t,r)=>function qcms_convert_four(e,t,r,a,n,i){Pr.qcms_convert_four(e,t,r,a,n,i)}(this.#k,255*e[t],255*e[t+1],255*e[t+2],255*e[t+3],r);break;default:throw new Error(`Unsupported number of components: ${r}`)}this.#k=function qcms_transformer_from_memory(e,t,r){const a=passArray8ToWasm0(e,Pr.__wbindgen_malloc),n=jr;return Pr.qcms_transformer_from_memory(a,n,t,r)>>>0}(e,a,qr.Perceptual);