@shlinkio/shlink-frontend-kit 0.1.2 → 0.2.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.
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { jsx as y, jsxs as P, Fragment as _e } from "react/jsx-runtime";
2
- import { faCircleNotch as Ur, faSearch as Br, faEllipsisV as kr, faSortAmountUp as Lr, faSortAmountDown as Wr } from "@fortawesome/free-solid-svg-icons";
2
+ import { faCircleNotch as Br, faSearch as kr, faEllipsisV as Lr, faSortAmountUp as Wr, faSortAmountDown as Gr } from "@fortawesome/free-solid-svg-icons";
3
3
  import { FontAwesomeIcon as Se } from "@fortawesome/react-fontawesome";
4
- import { Row as sr, Card as Be, CardHeader as Gr, CardBody as Hr, Dropdown as Vr, DropdownToggle as yr, DropdownMenu as dr, NavLink as zr, Nav as Qr, UncontrolledDropdown as qr, DropdownItem as be } from "reactstrap";
5
- import { useState as mr, useRef as vr, Children as jr, isValidElement as Jr } from "react";
6
- import { NavLink as Yr } from "react-router-dom";
7
- function hr(r) {
4
+ import { Row as dr, Card as Be, CardHeader as Hr, CardBody as Vr, Dropdown as zr, DropdownToggle as mr, DropdownMenu as vr, NavLink as Qr, Nav as qr, UncontrolledDropdown as jr, DropdownItem as be } from "reactstrap";
5
+ import { useState as ke, useRef as hr, Children as Jr, isValidElement as Yr, useCallback as Kr } from "react";
6
+ import { NavLink as Xr } from "react-router-dom";
7
+ function gr(r) {
8
8
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
9
9
  }
10
- function Kr(r) {
10
+ function Zr(r) {
11
11
  if (r.__esModule)
12
12
  return r;
13
13
  var e = r.default;
@@ -28,7 +28,7 @@ function Kr(r) {
28
28
  });
29
29
  }), t;
30
30
  }
31
- var gr = { exports: {} };
31
+ var Sr = { exports: {} };
32
32
  /*!
33
33
  Copyright (c) 2018 Jed Watson.
34
34
  Licensed under the MIT License (MIT), see
@@ -63,29 +63,29 @@ var gr = { exports: {} };
63
63
  }
64
64
  r.exports ? (t.default = t, r.exports = t) : window.classNames = t;
65
65
  })();
66
- })(gr);
67
- var Xr = gr.exports;
68
- const E = /* @__PURE__ */ hr(Xr), Zr = (r) => ({
66
+ })(Sr);
67
+ var et = Sr.exports;
68
+ const E = /* @__PURE__ */ gr(et), rt = (r) => ({
69
69
  error: "border-danger",
70
70
  default: ""
71
- })[r], et = (r) => ({
71
+ })[r], tt = (r) => ({
72
72
  error: "text-danger",
73
73
  default: "text-muted"
74
- })[r], ma = ({ className: r, children: e, loading: t = !1, type: n = "default", fullWidth: o = !1 }) => {
74
+ })[r], ha = ({ className: r, children: e, loading: t = !1, type: n = "default", fullWidth: o = !1 }) => {
75
75
  const a = E({
76
76
  "col-md-12": o,
77
77
  "col-md-10 offset-md-1": !o
78
78
  });
79
- return /* @__PURE__ */ y(sr, { className: E("g-0", r), children: /* @__PURE__ */ y("div", { className: a, children: /* @__PURE__ */ y(Be, { className: Zr(n), body: !0, children: /* @__PURE__ */ P("h3", { className: E("text-center mb-0", et(n)), children: [
80
- t && /* @__PURE__ */ y(Se, { icon: Ur, spin: !0 }),
79
+ return /* @__PURE__ */ y(dr, { className: E("g-0", r), children: /* @__PURE__ */ y("div", { className: a, children: /* @__PURE__ */ y(Be, { className: rt(n), body: !0, children: /* @__PURE__ */ P("h3", { className: E("text-center mb-0", tt(n)), children: [
80
+ t && /* @__PURE__ */ y(Se, { icon: Br, spin: !0 }),
81
81
  t && /* @__PURE__ */ y("span", { className: "ms-2", children: e ?? "Loading..." }),
82
82
  !t && e
83
83
  ] }) }) }) });
84
- }, rt = ({ title: r, children: e, bodyClassName: t, ...n }) => /* @__PURE__ */ P(Be, { ...n, children: [
85
- r && /* @__PURE__ */ y(Gr, { role: "heading", children: r }),
86
- /* @__PURE__ */ y(Hr, { className: t, children: e })
87
- ] }), va = ({ children: r, type: e, className: t, small: n = !1 }) => /* @__PURE__ */ y(sr, { className: t, children: /* @__PURE__ */ y("div", { className: E({ "col-md-10 offset-md-1": !n, "col-12": n }), children: /* @__PURE__ */ y(
88
- rt,
84
+ }, nt = ({ title: r, children: e, bodyClassName: t, ...n }) => /* @__PURE__ */ P(Be, { ...n, children: [
85
+ r && /* @__PURE__ */ y(Hr, { role: "heading", children: r }),
86
+ /* @__PURE__ */ y(Vr, { className: t, children: e })
87
+ ] }), ga = ({ children: r, type: e, className: t, small: n = !1 }) => /* @__PURE__ */ y(dr, { className: t, children: /* @__PURE__ */ y("div", { className: E({ "col-md-10 offset-md-1": !n, "col-12": n }), children: /* @__PURE__ */ y(
88
+ nt,
89
89
  {
90
90
  role: "document",
91
91
  className: E("text-center", {
@@ -99,42 +99,42 @@ const E = /* @__PURE__ */ hr(Xr), Zr = (r) => ({
99
99
  }
100
100
  ) }) });
101
101
  let fe;
102
- const tt = new Uint8Array(16);
103
- function nt() {
102
+ const at = new Uint8Array(16);
103
+ function ot() {
104
104
  if (!fe && (fe = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !fe))
105
105
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
106
- return fe(tt);
106
+ return fe(at);
107
107
  }
108
108
  const b = [];
109
109
  for (let r = 0; r < 256; ++r)
110
110
  b.push((r + 256).toString(16).slice(1));
111
- function at(r, e = 0) {
111
+ function it(r, e = 0) {
112
112
  return (b[r[e + 0]] + b[r[e + 1]] + b[r[e + 2]] + b[r[e + 3]] + "-" + b[r[e + 4]] + b[r[e + 5]] + "-" + b[r[e + 6]] + b[r[e + 7]] + "-" + b[r[e + 8]] + b[r[e + 9]] + "-" + b[r[e + 10]] + b[r[e + 11]] + b[r[e + 12]] + b[r[e + 13]] + b[r[e + 14]] + b[r[e + 15]]).toLowerCase();
113
113
  }
114
- const ot = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), qe = {
115
- randomUUID: ot
114
+ const lt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), je = {
115
+ randomUUID: lt
116
116
  };
117
- function it(r, e, t) {
118
- if (qe.randomUUID && !e && !r)
119
- return qe.randomUUID();
117
+ function ct(r, e, t) {
118
+ if (je.randomUUID && !e && !r)
119
+ return je.randomUUID();
120
120
  r = r || {};
121
- const n = r.random || (r.rng || nt)();
121
+ const n = r.random || (r.rng || ot)();
122
122
  if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, e) {
123
123
  t = t || 0;
124
124
  for (let o = 0; o < 16; ++o)
125
125
  e[t + o] = n[o];
126
126
  return e;
127
127
  }
128
- return at(n);
128
+ return it(n);
129
129
  }
130
- const lt = (r = !1) => {
131
- const [e, t] = mr(r);
130
+ const ft = (r = !1) => {
131
+ const [e, t] = ke(r);
132
132
  return [e, () => t(!e), () => t(!0), () => t(!1)];
133
- }, Sr = () => {
134
- const { current: r } = vr(`dom-${it()}`);
133
+ }, br = () => {
134
+ const { current: r } = hr(`dom-${ct()}`);
135
135
  return r;
136
- }, ha = () => vr(null), br = ({ checked: r = !1, onChange: e, className: t, children: n, type: o, inline: a = !1 }) => {
137
- const l = Sr(), i = (u) => e == null ? void 0 : e(u.target.checked, u), c = {
136
+ }, Sa = () => hr(null), Or = ({ checked: r = !1, onChange: e, className: t, children: n, type: o, inline: a = !1 }) => {
137
+ const l = br(), i = (u) => e == null ? void 0 : e(u.target.checked, u), c = {
138
138
  "form-switch": o === "switch",
139
139
  "form-checkbox": o === "checkbox"
140
140
  }, f = a ? { display: "inline-block" } : {};
@@ -142,12 +142,12 @@ const lt = (r = !1) => {
142
142
  /* @__PURE__ */ y("input", { type: "checkbox", className: "form-check-input", id: l, checked: r, onChange: i }),
143
143
  /* @__PURE__ */ y("label", { className: "form-check-label", htmlFor: l, children: n })
144
144
  ] });
145
- }, ga = (r) => /* @__PURE__ */ y(br, { type: "checkbox", ...r }), Sa = (r) => /* @__PURE__ */ y(br, { type: "switch", ...r }), ct = ({ children: r, label: e, className: t = "", labelClassName: n = "", noMargin: o = !1, id: a }) => /* @__PURE__ */ P("div", { className: `${t} ${o ? "" : "mb-3"}`, children: [
145
+ }, ba = (r) => /* @__PURE__ */ y(Or, { type: "checkbox", ...r }), Oa = (r) => /* @__PURE__ */ y(Or, { type: "switch", ...r }), ut = ({ children: r, label: e, className: t = "", labelClassName: n = "", noMargin: o = !1, id: a }) => /* @__PURE__ */ P("div", { className: `${t} ${o ? "" : "mb-3"}`, children: [
146
146
  /* @__PURE__ */ y("label", { className: `form-label ${n}`, htmlFor: a, children: e }),
147
147
  r
148
- ] }), ba = ({ children: r, value: e, onChange: t, type: n, required: o, placeholder: a, className: l, labelClassName: i }) => {
149
- const c = Sr();
150
- return /* @__PURE__ */ y(ct, { label: /* @__PURE__ */ P(_e, { children: [
148
+ ] }), wa = ({ children: r, value: e, onChange: t, type: n, required: o, placeholder: a, className: l, labelClassName: i }) => {
149
+ const c = br();
150
+ return /* @__PURE__ */ y(ut, { label: /* @__PURE__ */ P(_e, { children: [
151
151
  r,
152
152
  ":"
153
153
  ] }), className: l ?? "", labelClassName: i, id: c, children: /* @__PURE__ */ y(
@@ -163,14 +163,14 @@ const lt = (r = !1) => {
163
163
  }
164
164
  ) });
165
165
  };
166
- const ft = 500;
167
- let ue;
168
- const Oa = ({ onChange: r, className: e, large: t = !0, noBorder: n = !1, initialValue: o = "" }) => {
169
- const [a, l] = mr(o), i = () => {
170
- ue && clearTimeout(ue), ue = null;
171
- }, c = (f, u = ft) => {
172
- l(f), i(), ue = setTimeout(() => {
173
- r(f), i();
166
+ const pt = 500;
167
+ let ye;
168
+ const Je = () => {
169
+ ye && clearTimeout(ye), ye = null;
170
+ }, Aa = ({ onChange: r, className: e, large: t = !0, noBorder: n = !1, initialValue: o = "", setTimeout_: a = setTimeout }) => {
171
+ const [l, i] = ke(o), c = (f, u = pt) => {
172
+ i(f), Je(), ye = a(() => {
173
+ r(f), Je();
174
174
  }, u);
175
175
  };
176
176
  return /* @__PURE__ */ P("div", { className: E("search-field", e), children: [
@@ -183,25 +183,25 @@ const Oa = ({ onChange: r, className: e, large: t = !0, noBorder: n = !1, initia
183
183
  "search-field__input--no-border": n
184
184
  }),
185
185
  placeholder: "Search...",
186
- value: a,
186
+ value: l,
187
187
  onChange: (f) => c(f.target.value)
188
188
  }
189
189
  ),
190
- /* @__PURE__ */ y(Se, { icon: Br, className: "search-field__icon" }),
190
+ /* @__PURE__ */ y(Se, { icon: kr, className: "search-field__icon" }),
191
191
  /* @__PURE__ */ y(
192
192
  "button",
193
193
  {
194
194
  "aria-label": "Clear search",
195
195
  type: "button",
196
196
  className: "close search-field__close btn-close",
197
- hidden: a === "",
197
+ hidden: l === "",
198
198
  id: "search-field__close",
199
199
  onClick: () => c("", 0)
200
200
  }
201
201
  )
202
202
  ] });
203
203
  };
204
- const ut = ({
204
+ const st = ({
205
205
  text: r,
206
206
  disabled: e = !1,
207
207
  className: t,
@@ -213,18 +213,18 @@ const ut = ({
213
213
  inline: c,
214
214
  size: f
215
215
  }) => {
216
- const [u, d] = lt(), p = E("dropdown-btn__toggle", t, {
216
+ const [u, d] = ft(), p = E("dropdown-btn__toggle", t, {
217
217
  "btn-block": !c,
218
218
  "dropdown-btn__toggle--with-caret": !a
219
219
  }), h = { minWidth: i && `${i}px` };
220
- return /* @__PURE__ */ P(Vr, { isOpen: u, toggle: d, disabled: e, className: o, children: [
221
- /* @__PURE__ */ y(yr, { size: f, caret: !a, className: p, color: "primary", children: r }),
222
- /* @__PURE__ */ y(dr, { className: "w-100", end: l, style: h, children: n })
220
+ return /* @__PURE__ */ P(zr, { isOpen: u, toggle: d, disabled: e, className: o, children: [
221
+ /* @__PURE__ */ y(mr, { size: f, caret: !a, className: p, color: "primary", children: r }),
222
+ /* @__PURE__ */ y(vr, { className: "w-100", end: l, style: h, children: n })
223
223
  ] });
224
- }, wa = ({ children: r, minWidth: e }) => /* @__PURE__ */ y(
225
- ut,
224
+ }, Pa = ({ children: r, minWidth: e }) => /* @__PURE__ */ y(
225
+ st,
226
226
  {
227
- text: /* @__PURE__ */ y(Se, { className: "px-1", icon: kr }),
227
+ text: /* @__PURE__ */ y(Se, { className: "px-1", icon: Lr }),
228
228
  size: "sm",
229
229
  minWidth: e,
230
230
  end: !0,
@@ -233,28 +233,31 @@ const ut = ({
233
233
  children: r
234
234
  }
235
235
  );
236
- const pt = ({ children: r, ...e }) => /* @__PURE__ */ y(zr, { className: "nav-pills__nav-link", tag: Yr, ...e, children: r }), Aa = ({ children: r, fill: e = !1, className: t = "" }) => /* @__PURE__ */ y(Be, { className: `nav-pills__nav p-0 overflow-hidden ${t}`, body: !0, children: /* @__PURE__ */ y(Qr, { pills: !0, fill: e, children: jr.map(r, (n) => {
237
- if (!Jr(n) || n.type !== pt)
236
+ const yt = ({ children: r, ...e }) => /* @__PURE__ */ y(Qr, { className: "nav-pills__nav-link", tag: Xr, ...e, children: r }), Ea = ({ children: r, fill: e = !1, className: t = "" }) => /* @__PURE__ */ y(Be, { className: `nav-pills__nav p-0 overflow-hidden ${t}`, body: !0, children: /* @__PURE__ */ y(qr, { pills: !0, fill: e, children: Jr.map(r, (n) => {
237
+ if (!Yr(n) || n.type !== yt)
238
238
  throw new Error("Only NavPillItem children are allowed inside NavPills.");
239
239
  return n;
240
- }) }) }), st = (r, e, t) => r !== e ? "ASC" : t ? {
240
+ }) }) }), dt = (r, e, t) => r !== e ? "ASC" : t ? {
241
241
  ASC: "DESC",
242
242
  DESC: void 0
243
- }[t] : "ASC", Pa = (r, { field: e, dir: t }) => !e || !t ? r : r.sort((n, o) => {
243
+ }[t] : "ASC", xa = (r, { field: e, dir: t }) => !e || !t ? r : r.sort((n, o) => {
244
244
  const a = t === "ASC" ? 1 : -1, l = t === "ASC" ? -1 : 1;
245
245
  return n[e] > o[e] ? a : l;
246
- }), Ea = (r) => r.dir ? `${r.field}-${r.dir}` : void 0, xa = (r) => {
246
+ }), Na = (r) => r.dir ? `${r.field}-${r.dir}` : void 0, Ia = (r) => {
247
247
  const [e, t] = r.split("-");
248
248
  return { field: e, dir: t };
249
+ }, $a = (r) => {
250
+ const [e, t] = ke(r), n = Kr((o, a) => t({ field: o, dir: a }), []);
251
+ return [e, n];
249
252
  };
250
- function Na({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1, prefixed: a = !0 }) {
253
+ function Fa({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1, prefixed: a = !0 }) {
251
254
  const l = (i) => () => {
252
- const c = st(i, e.field, e.dir);
255
+ const c = dt(i, e.field, e.dir);
253
256
  t(c ? i : void 0, c);
254
257
  };
255
- return /* @__PURE__ */ P(qr, { children: [
258
+ return /* @__PURE__ */ P(jr, { children: [
256
259
  /* @__PURE__ */ P(
257
- yr,
260
+ mr,
258
261
  {
259
262
  caret: !0,
260
263
  color: n ? "primary" : "link",
@@ -275,7 +278,7 @@ function Na({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
275
278
  }
276
279
  ),
277
280
  /* @__PURE__ */ P(
278
- dr,
281
+ vr,
279
282
  {
280
283
  end: o,
281
284
  className: E("w-100", { "ordering-dropdown__menu--link": !n }),
@@ -285,7 +288,7 @@ function Na({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
285
288
  e.field === i && /* @__PURE__ */ y(
286
289
  Se,
287
290
  {
288
- icon: e.dir === "ASC" ? Lr : Wr,
291
+ icon: e.dir === "ASC" ? Wr : Gr,
289
292
  className: "ordering-dropdown__sort-icon"
290
293
  }
291
294
  )
@@ -297,14 +300,14 @@ function Na({ items: r, order: e, onChange: t, isButton: n = !0, right: o = !1,
297
300
  )
298
301
  ] });
299
302
  }
300
- const Ia = "#4696e5", $a = "rgba(70, 150, 229, 0.4)", Fa = "#f77f28", _a = "rgba(247, 127, 40, 0.4)", Ra = "white", Ca = "#161b22", Da = (r) => {
303
+ const _a = "#4696e5", Ra = "rgba(70, 150, 229, 0.4)", Ca = "#f77f28", Da = "rgba(247, 127, 40, 0.4)", Ta = "white", Ma = "#161b22", Ua = (r) => {
301
304
  var e;
302
305
  return (e = document.querySelector("html")) == null ? void 0 : e.setAttribute("data-theme", r);
303
- }, Ta = () => {
306
+ }, Ba = () => {
304
307
  var r;
305
308
  return ((r = document.querySelector("html")) == null ? void 0 : r.getAttribute("data-theme")) === "dark";
306
309
  };
307
- var yt = function() {
310
+ var mt = function() {
308
311
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
309
312
  return !1;
310
313
  if (typeof Symbol.iterator == "symbol")
@@ -327,16 +330,16 @@ var yt = function() {
327
330
  return !1;
328
331
  }
329
332
  return !0;
330
- }, je = typeof Symbol < "u" && Symbol, dt = yt, mt = function() {
331
- return typeof je != "function" || typeof Symbol != "function" || typeof je("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : dt();
332
- }, Je = {
333
+ }, Ye = typeof Symbol < "u" && Symbol, vt = mt, ht = function() {
334
+ return typeof Ye != "function" || typeof Symbol != "function" || typeof Ye("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : vt();
335
+ }, Ke = {
333
336
  foo: {}
334
- }, vt = Object, ht = function() {
335
- return { __proto__: Je }.foo === Je.foo && !({ __proto__: null } instanceof vt);
336
- }, gt = "Function.prototype.bind called on incompatible ", Oe = Array.prototype.slice, St = Object.prototype.toString, bt = "[object Function]", Ot = function(e) {
337
+ }, gt = Object, St = function() {
338
+ return { __proto__: Ke }.foo === Ke.foo && !({ __proto__: null } instanceof gt);
339
+ }, bt = "Function.prototype.bind called on incompatible ", Oe = Array.prototype.slice, Ot = Object.prototype.toString, wt = "[object Function]", At = function(e) {
337
340
  var t = this;
338
- if (typeof t != "function" || St.call(t) !== bt)
339
- throw new TypeError(gt + t);
341
+ if (typeof t != "function" || Ot.call(t) !== wt)
342
+ throw new TypeError(bt + t);
340
343
  for (var n = Oe.call(arguments, 1), o, a = function() {
341
344
  if (this instanceof o) {
342
345
  var u = t.apply(
@@ -357,9 +360,9 @@ var yt = function() {
357
360
  f.prototype = t.prototype, o.prototype = new f(), f.prototype = null;
358
361
  }
359
362
  return o;
360
- }, wt = Ot, ke = Function.prototype.bind || wt, At = ke, Pt = At.call(Function.call, Object.prototype.hasOwnProperty), s, Y = SyntaxError, Or = Function, J = TypeError, we = function(r) {
363
+ }, Pt = At, Le = Function.prototype.bind || Pt, Et = Le, xt = Et.call(Function.call, Object.prototype.hasOwnProperty), s, Y = SyntaxError, wr = Function, J = TypeError, we = function(r) {
361
364
  try {
362
- return Or('"use strict"; return (' + r + ").constructor;")();
365
+ return wr('"use strict"; return (' + r + ").constructor;")();
363
366
  } catch {
364
367
  }
365
368
  }, L = Object.getOwnPropertyDescriptor;
@@ -371,7 +374,7 @@ if (L)
371
374
  }
372
375
  var Ae = function() {
373
376
  throw new J();
374
- }, Et = L ? function() {
377
+ }, Nt = L ? function() {
375
378
  try {
376
379
  return arguments.callee, Ae;
377
380
  } catch {
@@ -381,9 +384,9 @@ var Ae = function() {
381
384
  return Ae;
382
385
  }
383
386
  }
384
- }() : Ae, q = mt(), xt = ht(), S = Object.getPrototypeOf || (xt ? function(r) {
387
+ }() : Ae, q = ht(), It = St(), S = Object.getPrototypeOf || (It ? function(r) {
385
388
  return r.__proto__;
386
- } : null), j = {}, Nt = typeof Uint8Array > "u" || !S ? s : S(Uint8Array), W = {
389
+ } : null), j = {}, $t = typeof Uint8Array > "u" || !S ? s : S(Uint8Array), W = {
387
390
  "%AggregateError%": typeof AggregateError > "u" ? s : AggregateError,
388
391
  "%Array%": Array,
389
392
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? s : ArrayBuffer,
@@ -411,7 +414,7 @@ var Ae = function() {
411
414
  "%Float32Array%": typeof Float32Array > "u" ? s : Float32Array,
412
415
  "%Float64Array%": typeof Float64Array > "u" ? s : Float64Array,
413
416
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? s : FinalizationRegistry,
414
- "%Function%": Or,
417
+ "%Function%": wr,
415
418
  "%GeneratorFunction%": j,
416
419
  "%Int8Array%": typeof Int8Array > "u" ? s : Int8Array,
417
420
  "%Int16Array%": typeof Int16Array > "u" ? s : Int16Array,
@@ -440,8 +443,8 @@ var Ae = function() {
440
443
  "%StringIteratorPrototype%": q && S ? S(""[Symbol.iterator]()) : s,
441
444
  "%Symbol%": q ? Symbol : s,
442
445
  "%SyntaxError%": Y,
443
- "%ThrowTypeError%": Et,
444
- "%TypedArray%": Nt,
446
+ "%ThrowTypeError%": Nt,
447
+ "%TypedArray%": $t,
445
448
  "%TypeError%": J,
446
449
  "%Uint8Array%": typeof Uint8Array > "u" ? s : Uint8Array,
447
450
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? s : Uint8ClampedArray,
@@ -456,10 +459,10 @@ if (S)
456
459
  try {
457
460
  null.error;
458
461
  } catch (r) {
459
- var It = S(S(r));
460
- W["%Error.prototype%"] = It;
462
+ var Ft = S(S(r));
463
+ W["%Error.prototype%"] = Ft;
461
464
  }
462
- var $t = function r(e) {
465
+ var _t = function r(e) {
463
466
  var t;
464
467
  if (e === "%AsyncFunction%")
465
468
  t = we("async function () {}");
@@ -475,7 +478,7 @@ var $t = function r(e) {
475
478
  o && S && (t = S(o.prototype));
476
479
  }
477
480
  return W[e] = t, t;
478
- }, Ye = {
481
+ }, Xe = {
479
482
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
480
483
  "%ArrayPrototype%": ["Array", "prototype"],
481
484
  "%ArrayProto_entries%": ["Array", "prototype", "entries"],
@@ -527,21 +530,21 @@ var $t = function r(e) {
527
530
  "%URIErrorPrototype%": ["URIError", "prototype"],
528
531
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
529
532
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
530
- }, ie = ke, me = Pt, Ft = ie.call(Function.call, Array.prototype.concat), _t = ie.call(Function.apply, Array.prototype.splice), Ke = ie.call(Function.call, String.prototype.replace), ve = ie.call(Function.call, String.prototype.slice), Rt = ie.call(Function.call, RegExp.prototype.exec), Ct = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Dt = /\\(\\)?/g, Tt = function(e) {
533
+ }, ie = Le, me = xt, Rt = ie.call(Function.call, Array.prototype.concat), Ct = ie.call(Function.apply, Array.prototype.splice), Ze = ie.call(Function.call, String.prototype.replace), ve = ie.call(Function.call, String.prototype.slice), Dt = ie.call(Function.call, RegExp.prototype.exec), Tt = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Mt = /\\(\\)?/g, Ut = function(e) {
531
534
  var t = ve(e, 0, 1), n = ve(e, -1);
532
535
  if (t === "%" && n !== "%")
533
536
  throw new Y("invalid intrinsic syntax, expected closing `%`");
534
537
  if (n === "%" && t !== "%")
535
538
  throw new Y("invalid intrinsic syntax, expected opening `%`");
536
539
  var o = [];
537
- return Ke(e, Ct, function(a, l, i, c) {
538
- o[o.length] = i ? Ke(c, Dt, "$1") : l || a;
540
+ return Ze(e, Tt, function(a, l, i, c) {
541
+ o[o.length] = i ? Ze(c, Mt, "$1") : l || a;
539
542
  }), o;
540
- }, Mt = function(e, t) {
543
+ }, Bt = function(e, t) {
541
544
  var n = e, o;
542
- if (me(Ye, n) && (o = Ye[n], n = "%" + o[0] + "%"), me(W, n)) {
545
+ if (me(Xe, n) && (o = Xe[n], n = "%" + o[0] + "%"), me(W, n)) {
543
546
  var a = W[n];
544
- if (a === j && (a = $t(n)), typeof a > "u" && !t)
547
+ if (a === j && (a = _t(n)), typeof a > "u" && !t)
545
548
  throw new J("intrinsic " + e + " exists, but is not available. Please file an issue!");
546
549
  return {
547
550
  alias: o,
@@ -550,15 +553,15 @@ var $t = function r(e) {
550
553
  };
551
554
  }
552
555
  throw new Y("intrinsic " + e + " does not exist!");
553
- }, Le = function(e, t) {
556
+ }, We = function(e, t) {
554
557
  if (typeof e != "string" || e.length === 0)
555
558
  throw new J("intrinsic name must be a non-empty string");
556
559
  if (arguments.length > 1 && typeof t != "boolean")
557
560
  throw new J('"allowMissing" argument must be a boolean');
558
- if (Rt(/^%?[^%]*%?$/, e) === null)
561
+ if (Dt(/^%?[^%]*%?$/, e) === null)
559
562
  throw new Y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
560
- var n = Tt(e), o = n.length > 0 ? n[0] : "", a = Mt("%" + o + "%", t), l = a.name, i = a.value, c = !1, f = a.alias;
561
- f && (o = f[0], _t(n, Ft([0, 1], f)));
563
+ var n = Ut(e), o = n.length > 0 ? n[0] : "", a = Bt("%" + o + "%", t), l = a.name, i = a.value, c = !1, f = a.alias;
564
+ f && (o = f[0], Ct(n, Rt([0, 1], f)));
562
565
  for (var u = 1, d = !0; u < n.length; u += 1) {
563
566
  var p = n[u], h = ve(p, 0, 1), v = ve(p, -1);
564
567
  if ((h === '"' || h === "'" || h === "`" || v === '"' || v === "'" || v === "`") && h !== v)
@@ -580,9 +583,9 @@ var $t = function r(e) {
580
583
  }
581
584
  }
582
585
  return i;
583
- }, wr = { exports: {} };
586
+ }, Ar = { exports: {} };
584
587
  (function(r) {
585
- var e = ke, t = Le, n = t("%Function.prototype.apply%"), o = t("%Function.prototype.call%"), a = t("%Reflect.apply%", !0) || e.call(o, n), l = t("%Object.getOwnPropertyDescriptor%", !0), i = t("%Object.defineProperty%", !0), c = t("%Math.max%");
588
+ var e = Le, t = We, n = t("%Function.prototype.apply%"), o = t("%Function.prototype.call%"), a = t("%Reflect.apply%", !0) || e.call(o, n), l = t("%Object.getOwnPropertyDescriptor%", !0), i = t("%Object.defineProperty%", !0), c = t("%Math.max%");
586
589
  if (i)
587
590
  try {
588
591
  i({}, "a", { value: 1 });
@@ -605,32 +608,32 @@ var $t = function r(e) {
605
608
  return a(e, n, arguments);
606
609
  };
607
610
  i ? i(r.exports, "apply", { value: f }) : r.exports.apply = f;
608
- })(wr);
609
- var Ut = wr.exports, Ar = Le, Pr = Ut, Bt = Pr(Ar("String.prototype.indexOf")), kt = function(e, t) {
610
- var n = Ar(e, !!t);
611
- return typeof n == "function" && Bt(e, ".prototype.") > -1 ? Pr(n) : n;
611
+ })(Ar);
612
+ var kt = Ar.exports, Pr = We, Er = kt, Lt = Er(Pr("String.prototype.indexOf")), Wt = function(e, t) {
613
+ var n = Pr(e, !!t);
614
+ return typeof n == "function" && Lt(e, ".prototype.") > -1 ? Er(n) : n;
612
615
  };
613
- const Lt = {}, Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
616
+ const Gt = {}, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
614
617
  __proto__: null,
615
- default: Lt
616
- }, Symbol.toStringTag, { value: "Module" })), Gt = /* @__PURE__ */ Kr(Wt);
617
- var We = typeof Map == "function" && Map.prototype, Pe = Object.getOwnPropertyDescriptor && We ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, he = We && Pe && typeof Pe.get == "function" ? Pe.get : null, Xe = We && Map.prototype.forEach, Ge = typeof Set == "function" && Set.prototype, Ee = Object.getOwnPropertyDescriptor && Ge ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ge = Ge && Ee && typeof Ee.get == "function" ? Ee.get : null, Ze = Ge && Set.prototype.forEach, Ht = typeof WeakMap == "function" && WeakMap.prototype, ne = Ht ? WeakMap.prototype.has : null, Vt = typeof WeakSet == "function" && WeakSet.prototype, ae = Vt ? WeakSet.prototype.has : null, zt = typeof WeakRef == "function" && WeakRef.prototype, er = zt ? WeakRef.prototype.deref : null, Qt = Boolean.prototype.valueOf, qt = Object.prototype.toString, jt = Function.prototype.toString, Jt = String.prototype.match, He = String.prototype.slice, M = String.prototype.replace, Yt = String.prototype.toUpperCase, rr = String.prototype.toLowerCase, Er = RegExp.prototype.test, tr = Array.prototype.concat, I = Array.prototype.join, Kt = Array.prototype.slice, nr = Math.floor, Re = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, xe = Object.getOwnPropertySymbols, Ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, K = typeof Symbol == "function" && typeof Symbol.iterator == "object", w = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === K || "symbol") ? Symbol.toStringTag : null, xr = Object.prototype.propertyIsEnumerable, ar = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
618
+ default: Gt
619
+ }, Symbol.toStringTag, { value: "Module" })), Vt = /* @__PURE__ */ Zr(Ht);
620
+ var Ge = typeof Map == "function" && Map.prototype, Pe = Object.getOwnPropertyDescriptor && Ge ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, he = Ge && Pe && typeof Pe.get == "function" ? Pe.get : null, er = Ge && Map.prototype.forEach, He = typeof Set == "function" && Set.prototype, Ee = Object.getOwnPropertyDescriptor && He ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, ge = He && Ee && typeof Ee.get == "function" ? Ee.get : null, rr = He && Set.prototype.forEach, zt = typeof WeakMap == "function" && WeakMap.prototype, ne = zt ? WeakMap.prototype.has : null, Qt = typeof WeakSet == "function" && WeakSet.prototype, ae = Qt ? WeakSet.prototype.has : null, qt = typeof WeakRef == "function" && WeakRef.prototype, tr = qt ? WeakRef.prototype.deref : null, jt = Boolean.prototype.valueOf, Jt = Object.prototype.toString, Yt = Function.prototype.toString, Kt = String.prototype.match, Ve = String.prototype.slice, M = String.prototype.replace, Xt = String.prototype.toUpperCase, nr = String.prototype.toLowerCase, xr = RegExp.prototype.test, ar = Array.prototype.concat, I = Array.prototype.join, Zt = Array.prototype.slice, or = Math.floor, Re = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, xe = Object.getOwnPropertySymbols, Ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, K = typeof Symbol == "function" && typeof Symbol.iterator == "object", w = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === K || "symbol") ? Symbol.toStringTag : null, Nr = Object.prototype.propertyIsEnumerable, ir = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
618
621
  return r.__proto__;
619
622
  } : null);
620
- function or(r, e) {
621
- if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Er.call(/e/, e))
623
+ function lr(r, e) {
624
+ if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || xr.call(/e/, e))
622
625
  return e;
623
626
  var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
624
627
  if (typeof r == "number") {
625
- var n = r < 0 ? -nr(-r) : nr(r);
628
+ var n = r < 0 ? -or(-r) : or(r);
626
629
  if (n !== r) {
627
- var o = String(n), a = He.call(e, o.length + 1);
630
+ var o = String(n), a = Ve.call(e, o.length + 1);
628
631
  return M.call(o, t, "$&_") + "." + M.call(M.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
629
632
  }
630
633
  }
631
634
  return M.call(e, t, "$&_");
632
635
  }
633
- var De = Gt, ir = De.custom, lr = Ir(ir) ? ir : null, Xt = function r(e, t, n, o) {
636
+ var De = Vt, cr = De.custom, fr = $r(cr) ? cr : null, en = function r(e, t, n, o) {
634
637
  var a = t || {};
635
638
  if (T(a, "quoteStyle") && a.quoteStyle !== "single" && a.quoteStyle !== "double")
636
639
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -651,27 +654,27 @@ var De = Gt, ir = De.custom, lr = Ir(ir) ? ir : null, Xt = function r(e, t, n, o
651
654
  if (typeof e == "boolean")
652
655
  return e ? "true" : "false";
653
656
  if (typeof e == "string")
654
- return Fr(e, a);
657
+ return _r(e, a);
655
658
  if (typeof e == "number") {
656
659
  if (e === 0)
657
660
  return 1 / 0 / e > 0 ? "0" : "-0";
658
661
  var c = String(e);
659
- return i ? or(e, c) : c;
662
+ return i ? lr(e, c) : c;
660
663
  }
661
664
  if (typeof e == "bigint") {
662
665
  var f = String(e) + "n";
663
- return i ? or(e, f) : f;
666
+ return i ? lr(e, f) : f;
664
667
  }
665
668
  var u = typeof a.depth > "u" ? 5 : a.depth;
666
669
  if (typeof n > "u" && (n = 0), n >= u && u > 0 && typeof e == "object")
667
670
  return Te(e) ? "[Array]" : "[Object]";
668
- var d = hn(a, n);
671
+ var d = Sn(a, n);
669
672
  if (typeof o > "u")
670
673
  o = [];
671
- else if ($r(o, e) >= 0)
674
+ else if (Fr(o, e) >= 0)
672
675
  return "[Circular]";
673
676
  function p(_, z, ce) {
674
- if (z && (o = Kt.call(o), o.push(z)), ce) {
677
+ if (z && (o = Zt.call(o), o.push(z)), ce) {
675
678
  var Q = {
676
679
  depth: a.depth
677
680
  };
@@ -679,96 +682,96 @@ var De = Gt, ir = De.custom, lr = Ir(ir) ? ir : null, Xt = function r(e, t, n, o
679
682
  }
680
683
  return r(_, a, n + 1, o);
681
684
  }
682
- if (typeof e == "function" && !cr(e)) {
683
- var h = cn(e), v = pe(e, p);
685
+ if (typeof e == "function" && !ur(e)) {
686
+ var h = un(e), v = ue(e, p);
684
687
  return "[Function" + (h ? ": " + h : " (anonymous)") + "]" + (v.length > 0 ? " { " + I.call(v, ", ") + " }" : "");
685
688
  }
686
- if (Ir(e)) {
689
+ if ($r(e)) {
687
690
  var A = K ? M.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Ce.call(e);
688
691
  return typeof e == "object" && !K ? te(A) : A;
689
692
  }
690
- if (dn(e)) {
691
- for (var $ = "<" + rr.call(String(e.nodeName)), m = e.attributes || [], F = 0; F < m.length; F++)
692
- $ += " " + m[F].name + "=" + Nr(Zt(m[F].value), "double", a);
693
- return $ += ">", e.childNodes && e.childNodes.length && ($ += "..."), $ += "</" + rr.call(String(e.nodeName)) + ">", $;
693
+ if (vn(e)) {
694
+ for (var $ = "<" + nr.call(String(e.nodeName)), m = e.attributes || [], F = 0; F < m.length; F++)
695
+ $ += " " + m[F].name + "=" + Ir(rn(m[F].value), "double", a);
696
+ return $ += ">", e.childNodes && e.childNodes.length && ($ += "..."), $ += "</" + nr.call(String(e.nodeName)) + ">", $;
694
697
  }
695
698
  if (Te(e)) {
696
699
  if (e.length === 0)
697
700
  return "[]";
698
- var C = pe(e, p);
699
- return d && !vn(C) ? "[" + Me(C, d) + "]" : "[ " + I.call(C, ", ") + " ]";
701
+ var C = ue(e, p);
702
+ return d && !gn(C) ? "[" + Me(C, d) + "]" : "[ " + I.call(C, ", ") + " ]";
700
703
  }
701
- if (rn(e)) {
702
- var G = pe(e, p);
703
- return !("cause" in Error.prototype) && "cause" in e && !xr.call(e, "cause") ? "{ [" + String(e) + "] " + I.call(tr.call("[cause]: " + p(e.cause), G), ", ") + " }" : G.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + I.call(G, ", ") + " }";
704
+ if (nn(e)) {
705
+ var G = ue(e, p);
706
+ return !("cause" in Error.prototype) && "cause" in e && !Nr.call(e, "cause") ? "{ [" + String(e) + "] " + I.call(ar.call("[cause]: " + p(e.cause), G), ", ") + " }" : G.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + I.call(G, ", ") + " }";
704
707
  }
705
708
  if (typeof e == "object" && l) {
706
- if (lr && typeof e[lr] == "function" && De)
709
+ if (fr && typeof e[fr] == "function" && De)
707
710
  return De(e, { depth: u - n });
708
711
  if (l !== "symbol" && typeof e.inspect == "function")
709
712
  return e.inspect();
710
713
  }
711
- if (fn(e)) {
714
+ if (pn(e)) {
712
715
  var ee = [];
713
- return Xe && Xe.call(e, function(_, z) {
716
+ return er && er.call(e, function(_, z) {
714
717
  ee.push(p(z, e, !0) + " => " + p(_, e));
715
- }), fr("Map", he.call(e), ee, d);
718
+ }), pr("Map", he.call(e), ee, d);
716
719
  }
717
- if (sn(e)) {
720
+ if (dn(e)) {
718
721
  var le = [];
719
- return Ze && Ze.call(e, function(_) {
722
+ return rr && rr.call(e, function(_) {
720
723
  le.push(p(_, e));
721
- }), fr("Set", ge.call(e), le, d);
724
+ }), pr("Set", ge.call(e), le, d);
722
725
  }
723
- if (un(e))
726
+ if (sn(e))
724
727
  return Ne("WeakMap");
725
- if (yn(e))
728
+ if (mn(e))
726
729
  return Ne("WeakSet");
727
- if (pn(e))
730
+ if (yn(e))
728
731
  return Ne("WeakRef");
729
- if (nn(e))
730
- return te(p(Number(e)));
731
732
  if (on(e))
733
+ return te(p(Number(e)));
734
+ if (cn(e))
732
735
  return te(p(Re.call(e)));
736
+ if (ln(e))
737
+ return te(jt.call(e));
733
738
  if (an(e))
734
- return te(Qt.call(e));
735
- if (tn(e))
736
739
  return te(p(String(e)));
737
- if (!en(e) && !cr(e)) {
738
- var B = pe(e, p), D = ar ? ar(e) === Object.prototype : e instanceof Object || e.constructor === Object, H = e instanceof Object ? "" : "null prototype", V = !D && w && Object(e) === e && w in e ? He.call(U(e), 8, -1) : H ? "Object" : "", re = D || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", x = re + (V || H ? "[" + I.call(tr.call([], V || [], H || []), ": ") + "] " : "");
740
+ if (!tn(e) && !ur(e)) {
741
+ var B = ue(e, p), D = ir ? ir(e) === Object.prototype : e instanceof Object || e.constructor === Object, H = e instanceof Object ? "" : "null prototype", V = !D && w && Object(e) === e && w in e ? Ve.call(U(e), 8, -1) : H ? "Object" : "", re = D || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", x = re + (V || H ? "[" + I.call(ar.call([], V || [], H || []), ": ") + "] " : "");
739
742
  return B.length === 0 ? x + "{}" : d ? x + "{" + Me(B, d) + "}" : x + "{ " + I.call(B, ", ") + " }";
740
743
  }
741
744
  return String(e);
742
745
  };
743
- function Nr(r, e, t) {
746
+ function Ir(r, e, t) {
744
747
  var n = (t.quoteStyle || e) === "double" ? '"' : "'";
745
748
  return n + r + n;
746
749
  }
747
- function Zt(r) {
750
+ function rn(r) {
748
751
  return M.call(String(r), /"/g, "&quot;");
749
752
  }
750
753
  function Te(r) {
751
754
  return U(r) === "[object Array]" && (!w || !(typeof r == "object" && w in r));
752
755
  }
753
- function en(r) {
756
+ function tn(r) {
754
757
  return U(r) === "[object Date]" && (!w || !(typeof r == "object" && w in r));
755
758
  }
756
- function cr(r) {
759
+ function ur(r) {
757
760
  return U(r) === "[object RegExp]" && (!w || !(typeof r == "object" && w in r));
758
761
  }
759
- function rn(r) {
762
+ function nn(r) {
760
763
  return U(r) === "[object Error]" && (!w || !(typeof r == "object" && w in r));
761
764
  }
762
- function tn(r) {
765
+ function an(r) {
763
766
  return U(r) === "[object String]" && (!w || !(typeof r == "object" && w in r));
764
767
  }
765
- function nn(r) {
768
+ function on(r) {
766
769
  return U(r) === "[object Number]" && (!w || !(typeof r == "object" && w in r));
767
770
  }
768
- function an(r) {
771
+ function ln(r) {
769
772
  return U(r) === "[object Boolean]" && (!w || !(typeof r == "object" && w in r));
770
773
  }
771
- function Ir(r) {
774
+ function $r(r) {
772
775
  if (K)
773
776
  return r && typeof r == "object" && r instanceof Symbol;
774
777
  if (typeof r == "symbol")
@@ -781,7 +784,7 @@ function Ir(r) {
781
784
  }
782
785
  return !1;
783
786
  }
784
- function on(r) {
787
+ function cn(r) {
785
788
  if (!r || typeof r != "object" || !Re)
786
789
  return !1;
787
790
  try {
@@ -790,22 +793,22 @@ function on(r) {
790
793
  }
791
794
  return !1;
792
795
  }
793
- var ln = Object.prototype.hasOwnProperty || function(r) {
796
+ var fn = Object.prototype.hasOwnProperty || function(r) {
794
797
  return r in this;
795
798
  };
796
799
  function T(r, e) {
797
- return ln.call(r, e);
800
+ return fn.call(r, e);
798
801
  }
799
802
  function U(r) {
800
- return qt.call(r);
803
+ return Jt.call(r);
801
804
  }
802
- function cn(r) {
805
+ function un(r) {
803
806
  if (r.name)
804
807
  return r.name;
805
- var e = Jt.call(jt.call(r), /^function\s*([\w$]+)/);
808
+ var e = Kt.call(Yt.call(r), /^function\s*([\w$]+)/);
806
809
  return e ? e[1] : null;
807
810
  }
808
- function $r(r, e) {
811
+ function Fr(r, e) {
809
812
  if (r.indexOf)
810
813
  return r.indexOf(e);
811
814
  for (var t = 0, n = r.length; t < n; t++)
@@ -813,7 +816,7 @@ function $r(r, e) {
813
816
  return t;
814
817
  return -1;
815
818
  }
816
- function fn(r) {
819
+ function pn(r) {
817
820
  if (!he || !r || typeof r != "object")
818
821
  return !1;
819
822
  try {
@@ -828,7 +831,7 @@ function fn(r) {
828
831
  }
829
832
  return !1;
830
833
  }
831
- function un(r) {
834
+ function sn(r) {
832
835
  if (!ne || !r || typeof r != "object")
833
836
  return !1;
834
837
  try {
@@ -843,16 +846,16 @@ function un(r) {
843
846
  }
844
847
  return !1;
845
848
  }
846
- function pn(r) {
847
- if (!er || !r || typeof r != "object")
849
+ function yn(r) {
850
+ if (!tr || !r || typeof r != "object")
848
851
  return !1;
849
852
  try {
850
- return er.call(r), !0;
853
+ return tr.call(r), !0;
851
854
  } catch {
852
855
  }
853
856
  return !1;
854
857
  }
855
- function sn(r) {
858
+ function dn(r) {
856
859
  if (!ge || !r || typeof r != "object")
857
860
  return !1;
858
861
  try {
@@ -867,7 +870,7 @@ function sn(r) {
867
870
  }
868
871
  return !1;
869
872
  }
870
- function yn(r) {
873
+ function mn(r) {
871
874
  if (!ae || !r || typeof r != "object")
872
875
  return !1;
873
876
  try {
@@ -882,18 +885,18 @@ function yn(r) {
882
885
  }
883
886
  return !1;
884
887
  }
885
- function dn(r) {
888
+ function vn(r) {
886
889
  return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
887
890
  }
888
- function Fr(r, e) {
891
+ function _r(r, e) {
889
892
  if (r.length > e.maxStringLength) {
890
893
  var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
891
- return Fr(He.call(r, 0, e.maxStringLength), e) + n;
894
+ return _r(Ve.call(r, 0, e.maxStringLength), e) + n;
892
895
  }
893
- var o = M.call(M.call(r, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, mn);
894
- return Nr(o, "single", e);
896
+ var o = M.call(M.call(r, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, hn);
897
+ return Ir(o, "single", e);
895
898
  }
896
- function mn(r) {
899
+ function hn(r) {
897
900
  var e = r.charCodeAt(0), t = {
898
901
  8: "b",
899
902
  9: "t",
@@ -901,7 +904,7 @@ function mn(r) {
901
904
  12: "f",
902
905
  13: "r"
903
906
  }[e];
904
- return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Yt.call(e.toString(16));
907
+ return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + Xt.call(e.toString(16));
905
908
  }
906
909
  function te(r) {
907
910
  return "Object(" + r + ")";
@@ -909,18 +912,18 @@ function te(r) {
909
912
  function Ne(r) {
910
913
  return r + " { ? }";
911
914
  }
912
- function fr(r, e, t, n) {
915
+ function pr(r, e, t, n) {
913
916
  var o = n ? Me(t, n) : I.call(t, ", ");
914
917
  return r + " (" + e + ") {" + o + "}";
915
918
  }
916
- function vn(r) {
919
+ function gn(r) {
917
920
  for (var e = 0; e < r.length; e++)
918
- if ($r(r[e], `
921
+ if (Fr(r[e], `
919
922
  `) >= 0)
920
923
  return !1;
921
924
  return !0;
922
925
  }
923
- function hn(r, e) {
926
+ function Sn(r, e) {
924
927
  var t;
925
928
  if (r.indent === " ")
926
929
  t = " ";
@@ -941,7 +944,7 @@ function Me(r, e) {
941
944
  return t + I.call(r, "," + t) + `
942
945
  ` + e.prev;
943
946
  }
944
- function pe(r, e) {
947
+ function ue(r, e) {
945
948
  var t = Te(r), n = [];
946
949
  if (t) {
947
950
  n.length = r.length;
@@ -955,69 +958,69 @@ function pe(r, e) {
955
958
  l["$" + a[i]] = a[i];
956
959
  }
957
960
  for (var c in r)
958
- T(r, c) && (t && String(Number(c)) === c && c < r.length || K && l["$" + c] instanceof Symbol || (Er.call(/[^\w$]/, c) ? n.push(e(c, r) + ": " + e(r[c], r)) : n.push(c + ": " + e(r[c], r))));
961
+ T(r, c) && (t && String(Number(c)) === c && c < r.length || K && l["$" + c] instanceof Symbol || (xr.call(/[^\w$]/, c) ? n.push(e(c, r) + ": " + e(r[c], r)) : n.push(c + ": " + e(r[c], r))));
959
962
  if (typeof xe == "function")
960
963
  for (var f = 0; f < a.length; f++)
961
- xr.call(r, a[f]) && n.push("[" + e(a[f]) + "]: " + e(r[a[f]], r));
964
+ Nr.call(r, a[f]) && n.push("[" + e(a[f]) + "]: " + e(r[a[f]], r));
962
965
  return n;
963
966
  }
964
- var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0), ye = Ve("%Map%", !0), bn = Z("WeakMap.prototype.get", !0), On = Z("WeakMap.prototype.set", !0), wn = Z("WeakMap.prototype.has", !0), An = Z("Map.prototype.get", !0), Pn = Z("Map.prototype.set", !0), En = Z("Map.prototype.has", !0), ze = function(r, e) {
967
+ var ze = We, Z = Wt, bn = en, On = ze("%TypeError%"), pe = ze("%WeakMap%", !0), se = ze("%Map%", !0), wn = Z("WeakMap.prototype.get", !0), An = Z("WeakMap.prototype.set", !0), Pn = Z("WeakMap.prototype.has", !0), En = Z("Map.prototype.get", !0), xn = Z("Map.prototype.set", !0), Nn = Z("Map.prototype.has", !0), Qe = function(r, e) {
965
968
  for (var t = r, n; (n = t.next) !== null; t = n)
966
969
  if (n.key === e)
967
970
  return t.next = n.next, n.next = r.next, r.next = n, n;
968
- }, xn = function(r, e) {
969
- var t = ze(r, e);
971
+ }, In = function(r, e) {
972
+ var t = Qe(r, e);
970
973
  return t && t.value;
971
- }, Nn = function(r, e, t) {
972
- var n = ze(r, e);
974
+ }, $n = function(r, e, t) {
975
+ var n = Qe(r, e);
973
976
  n ? n.value = t : r.next = {
974
977
  // eslint-disable-line no-param-reassign
975
978
  key: e,
976
979
  next: r.next,
977
980
  value: t
978
981
  };
979
- }, In = function(r, e) {
980
- return !!ze(r, e);
981
- }, $n = function() {
982
+ }, Fn = function(r, e) {
983
+ return !!Qe(r, e);
984
+ }, _n = function() {
982
985
  var e, t, n, o = {
983
986
  assert: function(a) {
984
987
  if (!o.has(a))
985
- throw new Sn("Side channel does not contain " + gn(a));
988
+ throw new On("Side channel does not contain " + bn(a));
986
989
  },
987
990
  get: function(a) {
988
- if (se && a && (typeof a == "object" || typeof a == "function")) {
991
+ if (pe && a && (typeof a == "object" || typeof a == "function")) {
989
992
  if (e)
990
- return bn(e, a);
991
- } else if (ye) {
993
+ return wn(e, a);
994
+ } else if (se) {
992
995
  if (t)
993
- return An(t, a);
996
+ return En(t, a);
994
997
  } else if (n)
995
- return xn(n, a);
998
+ return In(n, a);
996
999
  },
997
1000
  has: function(a) {
998
- if (se && a && (typeof a == "object" || typeof a == "function")) {
1001
+ if (pe && a && (typeof a == "object" || typeof a == "function")) {
999
1002
  if (e)
1000
- return wn(e, a);
1001
- } else if (ye) {
1003
+ return Pn(e, a);
1004
+ } else if (se) {
1002
1005
  if (t)
1003
- return En(t, a);
1006
+ return Nn(t, a);
1004
1007
  } else if (n)
1005
- return In(n, a);
1008
+ return Fn(n, a);
1006
1009
  return !1;
1007
1010
  },
1008
1011
  set: function(a, l) {
1009
- se && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new se()), On(e, a, l)) : ye ? (t || (t = new ye()), Pn(t, a, l)) : (n || (n = { key: {}, next: null }), Nn(n, a, l));
1012
+ pe && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new pe()), An(e, a, l)) : se ? (t || (t = new se()), xn(t, a, l)) : (n || (n = { key: {}, next: null }), $n(n, a, l));
1010
1013
  }
1011
1014
  };
1012
1015
  return o;
1013
- }, Fn = String.prototype.replace, _n = /%20/g, Ie = {
1016
+ }, Rn = String.prototype.replace, Cn = /%20/g, Ie = {
1014
1017
  RFC1738: "RFC1738",
1015
1018
  RFC3986: "RFC3986"
1016
- }, Qe = {
1019
+ }, qe = {
1017
1020
  default: Ie.RFC3986,
1018
1021
  formatters: {
1019
1022
  RFC1738: function(r) {
1020
- return Fn.call(r, _n, "+");
1023
+ return Rn.call(r, Cn, "+");
1021
1024
  },
1022
1025
  RFC3986: function(r) {
1023
1026
  return String(r);
@@ -1025,11 +1028,11 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1025
1028
  },
1026
1029
  RFC1738: Ie.RFC1738,
1027
1030
  RFC3986: Ie.RFC3986
1028
- }, Rn = Qe, $e = Object.prototype.hasOwnProperty, k = Array.isArray, N = function() {
1031
+ }, Dn = qe, $e = Object.prototype.hasOwnProperty, k = Array.isArray, N = function() {
1029
1032
  for (var r = [], e = 0; e < 256; ++e)
1030
1033
  r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
1031
1034
  return r;
1032
- }(), Cn = function(e) {
1035
+ }(), Tn = function(e) {
1033
1036
  for (; e.length > 1; ) {
1034
1037
  var t = e.pop(), n = t.obj[t.prop];
1035
1038
  if (k(n)) {
@@ -1038,11 +1041,11 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1038
1041
  t.obj[t.prop] = o;
1039
1042
  }
1040
1043
  }
1041
- }, _r = function(e, t) {
1044
+ }, Rr = function(e, t) {
1042
1045
  for (var n = t && t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, o = 0; o < e.length; ++o)
1043
1046
  typeof e[o] < "u" && (n[o] = e[o]);
1044
1047
  return n;
1045
- }, Dn = function r(e, t, n) {
1048
+ }, Mn = function r(e, t, n) {
1046
1049
  if (!t)
1047
1050
  return e;
1048
1051
  if (typeof t != "object") {
@@ -1057,7 +1060,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1057
1060
  if (!e || typeof e != "object")
1058
1061
  return [e].concat(t);
1059
1062
  var o = e;
1060
- return k(e) && !k(t) && (o = _r(e, n)), k(e) && k(t) ? (t.forEach(function(a, l) {
1063
+ return k(e) && !k(t) && (o = Rr(e, n)), k(e) && k(t) ? (t.forEach(function(a, l) {
1061
1064
  if ($e.call(e, l)) {
1062
1065
  var i = e[l];
1063
1066
  i && typeof i == "object" && a && typeof a == "object" ? e[l] = r(i, a, n) : e.push(a);
@@ -1067,11 +1070,11 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1067
1070
  var i = t[l];
1068
1071
  return $e.call(a, l) ? a[l] = r(a[l], i, n) : a[l] = i, a;
1069
1072
  }, o);
1070
- }, Tn = function(e, t) {
1073
+ }, Un = function(e, t) {
1071
1074
  return Object.keys(t).reduce(function(n, o) {
1072
1075
  return n[o] = t[o], n;
1073
1076
  }, e);
1074
- }, Mn = function(r, e, t) {
1077
+ }, Bn = function(r, e, t) {
1075
1078
  var n = r.replace(/\+/g, " ");
1076
1079
  if (t === "iso-8859-1")
1077
1080
  return n.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -1080,7 +1083,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1080
1083
  } catch {
1081
1084
  return n;
1082
1085
  }
1083
- }, Un = function(e, t, n, o, a) {
1086
+ }, kn = function(e, t, n, o, a) {
1084
1087
  if (e.length === 0)
1085
1088
  return e;
1086
1089
  var l = e;
@@ -1090,7 +1093,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1090
1093
  });
1091
1094
  for (var i = "", c = 0; c < l.length; ++c) {
1092
1095
  var f = l.charCodeAt(c);
1093
- if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || a === Rn.RFC1738 && (f === 40 || f === 41)) {
1096
+ if (f === 45 || f === 46 || f === 95 || f === 126 || f >= 48 && f <= 57 || f >= 65 && f <= 90 || f >= 97 && f <= 122 || a === Dn.RFC1738 && (f === 40 || f === 41)) {
1094
1097
  i += l.charAt(c);
1095
1098
  continue;
1096
1099
  }
@@ -1109,38 +1112,38 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1109
1112
  c += 1, f = 65536 + ((f & 1023) << 10 | l.charCodeAt(c) & 1023), i += N[240 | f >> 18] + N[128 | f >> 12 & 63] + N[128 | f >> 6 & 63] + N[128 | f & 63];
1110
1113
  }
1111
1114
  return i;
1112
- }, Bn = function(e) {
1115
+ }, Ln = function(e) {
1113
1116
  for (var t = [{ obj: { o: e }, prop: "o" }], n = [], o = 0; o < t.length; ++o)
1114
1117
  for (var a = t[o], l = a.obj[a.prop], i = Object.keys(l), c = 0; c < i.length; ++c) {
1115
1118
  var f = i[c], u = l[f];
1116
1119
  typeof u == "object" && u !== null && n.indexOf(u) === -1 && (t.push({ obj: l, prop: f }), n.push(u));
1117
1120
  }
1118
- return Cn(t), e;
1119
- }, kn = function(e) {
1121
+ return Tn(t), e;
1122
+ }, Wn = function(e) {
1120
1123
  return Object.prototype.toString.call(e) === "[object RegExp]";
1121
- }, Ln = function(e) {
1124
+ }, Gn = function(e) {
1122
1125
  return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
1123
- }, Wn = function(e, t) {
1126
+ }, Hn = function(e, t) {
1124
1127
  return [].concat(e, t);
1125
- }, Gn = function(e, t) {
1128
+ }, Vn = function(e, t) {
1126
1129
  if (k(e)) {
1127
1130
  for (var n = [], o = 0; o < e.length; o += 1)
1128
1131
  n.push(t(e[o]));
1129
1132
  return n;
1130
1133
  }
1131
1134
  return t(e);
1132
- }, Rr = {
1133
- arrayToObject: _r,
1134
- assign: Tn,
1135
- combine: Wn,
1136
- compact: Bn,
1137
- decode: Mn,
1138
- encode: Un,
1139
- isBuffer: Ln,
1140
- isRegExp: kn,
1141
- maybeMap: Gn,
1142
- merge: Dn
1143
- }, Cr = $n, de = Rr, oe = Qe, Hn = Object.prototype.hasOwnProperty, ur = {
1135
+ }, Cr = {
1136
+ arrayToObject: Rr,
1137
+ assign: Un,
1138
+ combine: Hn,
1139
+ compact: Ln,
1140
+ decode: Bn,
1141
+ encode: kn,
1142
+ isBuffer: Gn,
1143
+ isRegExp: Wn,
1144
+ maybeMap: Vn,
1145
+ merge: Mn
1146
+ }, Dr = _n, de = Cr, oe = qe, zn = Object.prototype.hasOwnProperty, sr = {
1144
1147
  brackets: function(e) {
1145
1148
  return e + "[]";
1146
1149
  },
@@ -1151,9 +1154,9 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1151
1154
  repeat: function(e) {
1152
1155
  return e;
1153
1156
  }
1154
- }, R = Array.isArray, Vn = Array.prototype.push, Dr = function(r, e) {
1155
- Vn.apply(r, R(e) ? e : [e]);
1156
- }, zn = Date.prototype.toISOString, pr = oe.default, O = {
1157
+ }, R = Array.isArray, Qn = Array.prototype.push, Tr = function(r, e) {
1158
+ Qn.apply(r, R(e) ? e : [e]);
1159
+ }, qn = Date.prototype.toISOString, yr = oe.default, O = {
1157
1160
  addQueryPrefix: !1,
1158
1161
  allowDots: !1,
1159
1162
  charset: "utf-8",
@@ -1162,18 +1165,18 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1162
1165
  encode: !0,
1163
1166
  encoder: de.encode,
1164
1167
  encodeValuesOnly: !1,
1165
- format: pr,
1166
- formatter: oe.formatters[pr],
1168
+ format: yr,
1169
+ formatter: oe.formatters[yr],
1167
1170
  // deprecated
1168
1171
  indices: !1,
1169
1172
  serializeDate: function(e) {
1170
- return zn.call(e);
1173
+ return qn.call(e);
1171
1174
  },
1172
1175
  skipNulls: !1,
1173
1176
  strictNullHandling: !1
1174
- }, Qn = function(e) {
1177
+ }, jn = function(e) {
1175
1178
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
1176
- }, Fe = {}, qn = function r(e, t, n, o, a, l, i, c, f, u, d, p, h, v, A, $) {
1179
+ }, Fe = {}, Jn = function r(e, t, n, o, a, l, i, c, f, u, d, p, h, v, A, $) {
1177
1180
  for (var m = e, F = $, C = 0, G = !1; (F = F.get(Fe)) !== void 0 && !G; ) {
1178
1181
  var ee = F.get(e);
1179
1182
  if (C += 1, typeof ee < "u") {
@@ -1190,7 +1193,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1190
1193
  return i && !v ? i(t, O.encoder, A, "key", p) : t;
1191
1194
  m = "";
1192
1195
  }
1193
- if (Qn(m) || de.isBuffer(m)) {
1196
+ if (jn(m) || de.isBuffer(m)) {
1194
1197
  if (i) {
1195
1198
  var le = v ? t : i(t, O.encoder, A, "key", p);
1196
1199
  return [h(le) + "=" + h(i(m, O.encoder, A, "value", p))];
@@ -1214,8 +1217,8 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1214
1217
  if (!(l && _ === null)) {
1215
1218
  var z = R(m) ? typeof n == "function" ? n(V, x) : V : V + (u ? "." + x : "[" + x + "]");
1216
1219
  $.set(e, C);
1217
- var ce = Cr();
1218
- ce.set(Fe, $), Dr(B, r(
1220
+ var ce = Dr();
1221
+ ce.set(Fe, $), Tr(B, r(
1219
1222
  _,
1220
1223
  z,
1221
1224
  n,
@@ -1236,7 +1239,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1236
1239
  }
1237
1240
  }
1238
1241
  return B;
1239
- }, jn = function(e) {
1242
+ }, Yn = function(e) {
1240
1243
  if (!e)
1241
1244
  return O;
1242
1245
  if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
@@ -1246,7 +1249,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1246
1249
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
1247
1250
  var n = oe.default;
1248
1251
  if (typeof e.format < "u") {
1249
- if (!Hn.call(oe.formatters, e.format))
1252
+ if (!zn.call(oe.formatters, e.format))
1250
1253
  throw new TypeError("Unknown format option provided.");
1251
1254
  n = e.format;
1252
1255
  }
@@ -1268,22 +1271,22 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1268
1271
  sort: typeof e.sort == "function" ? e.sort : null,
1269
1272
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : O.strictNullHandling
1270
1273
  };
1271
- }, Jn = function(r, e) {
1272
- var t = r, n = jn(e), o, a;
1274
+ }, Kn = function(r, e) {
1275
+ var t = r, n = Yn(e), o, a;
1273
1276
  typeof n.filter == "function" ? (a = n.filter, t = a("", t)) : R(n.filter) && (a = n.filter, o = a);
1274
1277
  var l = [];
1275
1278
  if (typeof t != "object" || t === null)
1276
1279
  return "";
1277
1280
  var i;
1278
- e && e.arrayFormat in ur ? i = e.arrayFormat : e && "indices" in e ? i = e.indices ? "indices" : "repeat" : i = "indices";
1279
- var c = ur[i];
1281
+ e && e.arrayFormat in sr ? i = e.arrayFormat : e && "indices" in e ? i = e.indices ? "indices" : "repeat" : i = "indices";
1282
+ var c = sr[i];
1280
1283
  if (e && "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
1281
1284
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
1282
1285
  var f = c === "comma" && e && e.commaRoundTrip;
1283
1286
  o || (o = Object.keys(t)), n.sort && o.sort(n.sort);
1284
- for (var u = Cr(), d = 0; d < o.length; ++d) {
1287
+ for (var u = Dr(), d = 0; d < o.length; ++d) {
1285
1288
  var p = o[d];
1286
- n.skipNulls && t[p] === null || Dr(l, qn(
1289
+ n.skipNulls && t[p] === null || Tr(l, Jn(
1287
1290
  t[p],
1288
1291
  p,
1289
1292
  c,
@@ -1304,7 +1307,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1304
1307
  }
1305
1308
  var h = l.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
1306
1309
  return n.charsetSentinel && (n.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), h.length > 0 ? v + h : "";
1307
- }, X = Rr, Ue = Object.prototype.hasOwnProperty, Yn = Array.isArray, g = {
1310
+ }, X = Cr, Ue = Object.prototype.hasOwnProperty, Xn = Array.isArray, g = {
1308
1311
  allowDots: !1,
1309
1312
  allowPrototypes: !1,
1310
1313
  allowSparse: !1,
@@ -1321,30 +1324,30 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1321
1324
  parseArrays: !0,
1322
1325
  plainObjects: !1,
1323
1326
  strictNullHandling: !1
1324
- }, Kn = function(r) {
1327
+ }, Zn = function(r) {
1325
1328
  return r.replace(/&#(\d+);/g, function(e, t) {
1326
1329
  return String.fromCharCode(parseInt(t, 10));
1327
1330
  });
1328
- }, Tr = function(r, e) {
1331
+ }, Mr = function(r, e) {
1329
1332
  return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
1330
- }, Xn = "utf8=%26%2310003%3B", Zn = "utf8=%E2%9C%93", ea = function(e, t) {
1333
+ }, ea = "utf8=%26%2310003%3B", ra = "utf8=%E2%9C%93", ta = function(e, t) {
1331
1334
  var n = { __proto__: null }, o = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e, a = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, l = o.split(t.delimiter, a), i = -1, c, f = t.charset;
1332
1335
  if (t.charsetSentinel)
1333
1336
  for (c = 0; c < l.length; ++c)
1334
- l[c].indexOf("utf8=") === 0 && (l[c] === Zn ? f = "utf-8" : l[c] === Xn && (f = "iso-8859-1"), i = c, c = l.length);
1337
+ l[c].indexOf("utf8=") === 0 && (l[c] === ra ? f = "utf-8" : l[c] === ea && (f = "iso-8859-1"), i = c, c = l.length);
1335
1338
  for (c = 0; c < l.length; ++c)
1336
1339
  if (c !== i) {
1337
1340
  var u = l[c], d = u.indexOf("]="), p = d === -1 ? u.indexOf("=") : d + 1, h, v;
1338
1341
  p === -1 ? (h = t.decoder(u, g.decoder, f, "key"), v = t.strictNullHandling ? null : "") : (h = t.decoder(u.slice(0, p), g.decoder, f, "key"), v = X.maybeMap(
1339
- Tr(u.slice(p + 1), t),
1342
+ Mr(u.slice(p + 1), t),
1340
1343
  function(A) {
1341
1344
  return t.decoder(A, g.decoder, f, "value");
1342
1345
  }
1343
- )), v && t.interpretNumericEntities && f === "iso-8859-1" && (v = Kn(v)), u.indexOf("[]=") > -1 && (v = Yn(v) ? [v] : v), Ue.call(n, h) ? n[h] = X.combine(n[h], v) : n[h] = v;
1346
+ )), v && t.interpretNumericEntities && f === "iso-8859-1" && (v = Zn(v)), u.indexOf("[]=") > -1 && (v = Xn(v) ? [v] : v), Ue.call(n, h) ? n[h] = X.combine(n[h], v) : n[h] = v;
1344
1347
  }
1345
1348
  return n;
1346
- }, ra = function(r, e, t, n) {
1347
- for (var o = n ? e : Tr(e, t), a = r.length - 1; a >= 0; --a) {
1349
+ }, na = function(r, e, t, n) {
1350
+ for (var o = n ? e : Mr(e, t), a = r.length - 1; a >= 0; --a) {
1348
1351
  var l, i = r[a];
1349
1352
  if (i === "[]" && t.parseArrays)
1350
1353
  l = [].concat(o);
@@ -1356,7 +1359,7 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1356
1359
  o = l;
1357
1360
  }
1358
1361
  return o;
1359
- }, ta = function(e, t, n, o) {
1362
+ }, aa = function(e, t, n, o) {
1360
1363
  if (e) {
1361
1364
  var a = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, l = /(\[[^[\]]*])/, i = /(\[[^[\]]*])/g, c = n.depth > 0 && l.exec(a), f = c ? a.slice(0, c.index) : a, u = [];
1362
1365
  if (f) {
@@ -1369,9 +1372,9 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1369
1372
  return;
1370
1373
  u.push(c[1]);
1371
1374
  }
1372
- return c && u.push("[" + a.slice(c.index) + "]"), ra(u, t, n, o);
1375
+ return c && u.push("[" + a.slice(c.index) + "]"), na(u, t, n, o);
1373
1376
  }
1374
- }, na = function(e) {
1377
+ }, oa = function(e) {
1375
1378
  if (!e)
1376
1379
  return g;
1377
1380
  if (e.decoder !== null && e.decoder !== void 0 && typeof e.decoder != "function")
@@ -1398,50 +1401,51 @@ var Ve = Le, Z = kt, gn = Xt, Sn = Ve("%TypeError%"), se = Ve("%WeakMap%", !0),
1398
1401
  plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : g.plainObjects,
1399
1402
  strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : g.strictNullHandling
1400
1403
  };
1401
- }, aa = function(r, e) {
1402
- var t = na(e);
1404
+ }, ia = function(r, e) {
1405
+ var t = oa(e);
1403
1406
  if (r === "" || r === null || typeof r > "u")
1404
1407
  return t.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
1405
- for (var n = typeof r == "string" ? ea(r, t) : r, o = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = Object.keys(n), l = 0; l < a.length; ++l) {
1406
- var i = a[l], c = ta(i, n[i], t, typeof r == "string");
1408
+ for (var n = typeof r == "string" ? ta(r, t) : r, o = t.plainObjects ? /* @__PURE__ */ Object.create(null) : {}, a = Object.keys(n), l = 0; l < a.length; ++l) {
1409
+ var i = a[l], c = aa(i, n[i], t, typeof r == "string");
1407
1410
  o = X.merge(o, c, t);
1408
1411
  }
1409
1412
  return t.allowSparse === !0 ? o : X.compact(o);
1410
- }, oa = Jn, ia = aa, la = Qe, ca = {
1411
- formats: la,
1412
- parse: ia,
1413
- stringify: oa
1413
+ }, la = Kn, ca = ia, fa = qe, ua = {
1414
+ formats: fa,
1415
+ parse: ca,
1416
+ stringify: la
1414
1417
  };
1415
- const Mr = /* @__PURE__ */ hr(ca), Ma = (r) => Mr.parse(r, { ignoreQueryPrefix: !0 }), Ua = (r) => Mr.stringify(r, { arrayFormat: "brackets" });
1418
+ const Ur = /* @__PURE__ */ gr(ua), ka = (r) => Ur.parse(r, { ignoreQueryPrefix: !0 }), La = (r) => Ur.stringify(r, { arrayFormat: "brackets" });
1416
1419
  export {
1417
- ga as Checkbox,
1418
- ut as DropdownBtn,
1419
- Fa as HIGHLIGHTED_COLOR,
1420
- _a as HIGHLIGHTED_COLOR_ALPHA,
1421
- ba as InputFormGroup,
1422
- ct as LabeledFormGroup,
1423
- Ia as MAIN_COLOR,
1424
- $a as MAIN_COLOR_ALPHA,
1425
- ma as Message,
1426
- pt as NavPillItem,
1427
- Aa as NavPills,
1428
- Na as OrderingDropdown,
1429
- Ca as PRIMARY_DARK_COLOR,
1430
- Ra as PRIMARY_LIGHT_COLOR,
1431
- va as Result,
1432
- wa as RowDropdownBtn,
1433
- Oa as SearchField,
1434
- rt as SimpleCard,
1435
- Sa as ToggleSwitch,
1436
- Da as changeThemeInMarkup,
1437
- st as determineOrderDir,
1438
- Ta as isDarkThemeEnabled,
1439
- Ea as orderToString,
1440
- Ma as parseQuery,
1441
- Pa as sortList,
1442
- xa as stringToOrder,
1443
- Ua as stringifyQuery,
1444
- Sr as useDomId,
1445
- ha as useElementRef,
1446
- lt as useToggle
1420
+ ba as Checkbox,
1421
+ st as DropdownBtn,
1422
+ Ca as HIGHLIGHTED_COLOR,
1423
+ Da as HIGHLIGHTED_COLOR_ALPHA,
1424
+ wa as InputFormGroup,
1425
+ ut as LabeledFormGroup,
1426
+ _a as MAIN_COLOR,
1427
+ Ra as MAIN_COLOR_ALPHA,
1428
+ ha as Message,
1429
+ yt as NavPillItem,
1430
+ Ea as NavPills,
1431
+ Fa as OrderingDropdown,
1432
+ Ma as PRIMARY_DARK_COLOR,
1433
+ Ta as PRIMARY_LIGHT_COLOR,
1434
+ ga as Result,
1435
+ Pa as RowDropdownBtn,
1436
+ Aa as SearchField,
1437
+ nt as SimpleCard,
1438
+ Oa as ToggleSwitch,
1439
+ Ua as changeThemeInMarkup,
1440
+ dt as determineOrderDir,
1441
+ Ba as isDarkThemeEnabled,
1442
+ Na as orderToString,
1443
+ ka as parseQuery,
1444
+ xa as sortList,
1445
+ Ia as stringToOrder,
1446
+ La as stringifyQuery,
1447
+ br as useDomId,
1448
+ Sa as useElementRef,
1449
+ $a as useOrder,
1450
+ ft as useToggle
1447
1451
  };