@devbonnysid/ui-kit-default 1.6.6 → 1.7.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.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as l from "react";
2
- import g9, { useState as $, useRef as P, useEffect as Y, useCallback as q, useLayoutEffect as L1, useMemo as T, createContext as J9, useContext as E9, memo as B2, useId as L9, forwardRef as x9 } from "react";
2
+ import g9, { useState as $, useRef as P, useEffect as W, useCallback as q, useLayoutEffect as L1, useMemo as T, createContext as J9, useContext as E9, memo as B2, useId as L9, forwardRef as x9 } from "react";
3
3
  import { useNavigate as R9, NavLink as M9 } from "react-router-dom";
4
4
  import { useFormContext as s2, useController as i2, FormProvider as V9 } from "react-hook-form";
5
5
  import { useTranslation as Z9 } from "react-i18next";
@@ -58,7 +58,7 @@ function I9() {
58
58
  return h.$$typeof === _ ? null : h.displayName || h.name || null;
59
59
  if (typeof h == "string") return h;
60
60
  switch (h) {
61
- case k:
61
+ case w:
62
62
  return "Fragment";
63
63
  case M:
64
64
  return "Profiler";
@@ -116,7 +116,7 @@ function I9() {
116
116
  }
117
117
  }
118
118
  function r(h) {
119
- if (h === k) return "<>";
119
+ if (h === w) return "<>";
120
120
  if (typeof h == "object" && h !== null && h.$$typeof === J)
121
121
  return "<...>";
122
122
  try {
@@ -161,7 +161,7 @@ function I9() {
161
161
  function d(h, g, H, B, n1, d1) {
162
162
  var F = H.ref;
163
163
  return h = {
164
- $$typeof: m,
164
+ $$typeof: f,
165
165
  type: h,
166
166
  key: g,
167
167
  props: H,
@@ -243,28 +243,28 @@ React keys must be passed directly to JSX without using spread:
243
243
  S(h) ? h._store && (h._store.validated = 1) : typeof h == "object" && h !== null && h.$$typeof === J && (h._payload.status === "fulfilled" ? S(h._payload.value) && h._payload.value._store && (h._payload.value._store.validated = 1) : h._store && (h._store.validated = 1));
244
244
  }
245
245
  function S(h) {
246
- return typeof h == "object" && h !== null && h.$$typeof === m;
246
+ return typeof h == "object" && h !== null && h.$$typeof === f;
247
247
  }
248
- var w = g9, m = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), U = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), J = Symbol.for("react.lazy"), K = Symbol.for("react.activity"), _ = Symbol.for("react.client.reference"), b = w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, Z = Array.isArray, y = console.createTask ? console.createTask : function() {
248
+ var k = g9, f = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), U = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), J = Symbol.for("react.lazy"), K = Symbol.for("react.activity"), _ = Symbol.for("react.client.reference"), b = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, Z = Array.isArray, y = console.createTask ? console.createTask : function() {
249
249
  return null;
250
250
  };
251
- w = {
251
+ k = {
252
252
  react_stack_bottom_frame: function(h) {
253
253
  return h();
254
254
  }
255
255
  };
256
- var I, G = {}, W = w.react_stack_bottom_frame.bind(
257
- w,
256
+ var I, G = {}, Y = k.react_stack_bottom_frame.bind(
257
+ k,
258
258
  C
259
259
  )(), c1 = y(r(C)), a1 = {};
260
- T1.Fragment = k, T1.jsx = function(h, g, H) {
260
+ T1.Fragment = w, T1.jsx = function(h, g, H) {
261
261
  var B = 1e4 > b.recentlyCreatedOwnerStacks++;
262
262
  return a(
263
263
  h,
264
264
  g,
265
265
  H,
266
266
  !1,
267
- B ? Error("react-stack-top-frame") : W,
267
+ B ? Error("react-stack-top-frame") : Y,
268
268
  B ? y(r(h)) : c1
269
269
  );
270
270
  }, T1.jsxs = function(h, g, H) {
@@ -274,7 +274,7 @@ React keys must be passed directly to JSX without using spread:
274
274
  g,
275
275
  H,
276
276
  !0,
277
- B ? Error("react-stack-top-frame") : W,
277
+ B ? Error("react-stack-top-frame") : Y,
278
278
  B ? y(r(h)) : c1
279
279
  );
280
280
  };
@@ -287,7 +287,7 @@ function N9() {
287
287
  var u = N9();
288
288
  const xn = (e, t = 0) => {
289
289
  const [n, r] = $(e), o = P(null);
290
- return Y(() => (o.current && clearTimeout(o.current), o.current = window.setTimeout(() => {
290
+ return W(() => (o.current && clearTimeout(o.current), o.current = window.setTimeout(() => {
291
291
  r(e);
292
292
  }, t), () => {
293
293
  o.current && clearTimeout(o.current);
@@ -350,12 +350,12 @@ const B9 = ({
350
350
  isPortal: C
351
351
  }) => {
352
352
  let s, i;
353
- const c = e === void 0, d = t === void 0, a = window.innerWidth, p = window.innerHeight, S = r.getBoundingClientRect(), w = o.getBoundingClientRect(), m = S.height + n, v = w.top, k = p - w.bottom;
354
- c ? k >= m ? s = "bottom" : v >= m ? s = "top" : s = "bottom" : s = e;
355
- const R = s === "top" || s === "bottom", M = R ? a - w.left : a - w.right, V = R ? w.right : w.left, U = R ? S.width : S.width + n;
353
+ const c = e === void 0, d = t === void 0, a = window.innerWidth, p = window.innerHeight, S = r.getBoundingClientRect(), k = o.getBoundingClientRect(), f = S.height + n, v = k.top, w = p - k.bottom;
354
+ c ? w >= f ? s = "bottom" : v >= f ? s = "top" : s = "bottom" : s = e;
355
+ const R = s === "top" || s === "bottom", M = R ? a - k.left : a - k.right, V = R ? k.right : k.left, U = R ? S.width : S.width + n;
356
356
  d ? M >= U ? i = "start" : V >= U ? i = "end" : i = "center" : i = t;
357
357
  let E = 0, x = 0;
358
- return R ? (s === "top" && (C ? x = w.y - S.height - n : x = -w.height - n - S.height), s === "bottom" && (C ? x = w.y + w.height + n : x = w.height + n), i === "start" && (C ? E = w.x : E = 0), i === "end" && (C ? E = w.x + w.width - S.width : E = w.width), i === "center" && (C ? E = w.x + w.width / 2 - S.width / 2 : E = w.width / 2 - S.width / 2)) : (s === "left" && (C ? E = w.y - S.width - n : E = -S.width - n), s === "right" && (C ? E = w.y + w.width + n : E = w.width + n), i === "start" && (C ? x = w.y : x = 0), i === "end" && (C ? x = w.y + w.height - S.height : x = w.height), i === "center" && (C ? x = w.y + w.height / 2 - S.height / 2 : x = w.height / 2 - S.height / 2)), x = X2(x, 0, p - S.height), E = X2(E, 0, a - S.width), {
358
+ return R ? (s === "top" && (C ? x = k.y - S.height - n : x = -k.height - n - S.height), s === "bottom" && (C ? x = k.y + k.height + n : x = k.height + n), i === "start" && (C ? E = k.x : E = 0), i === "end" && (C ? E = k.x + k.width - S.width : E = k.width), i === "center" && (C ? E = k.x + k.width / 2 - S.width / 2 : E = k.width / 2 - S.width / 2)) : (s === "left" && (C ? E = k.y - S.width - n : E = -S.width - n), s === "right" && (C ? E = k.y + k.width + n : E = k.width + n), i === "start" && (C ? x = k.y : x = 0), i === "end" && (C ? x = k.y + k.height - S.height : x = k.height), i === "center" && (C ? x = k.y + k.height / 2 - S.height / 2 : x = k.height / 2 - S.height / 2)), x = X2(x, 0, p - S.height), E = X2(E, 0, a - S.width), {
359
359
  x: E,
360
360
  y: x,
361
361
  side: s,
@@ -399,7 +399,7 @@ const B9 = ({
399
399
  else if (typeof e == "string")
400
400
  if (/^[A-Za-z0-9+/=\r\n]+$/.test(e) && e.length % 4 === 0) {
401
401
  const p = atob(e.replace(/\s+/g, "")), S = new Uint8Array(p.length);
402
- for (let w = 0; w < p.length; w++) S[w] = p.charCodeAt(w);
402
+ for (let k = 0; k < p.length; k++) S[k] = p.charCodeAt(k);
403
403
  s = new Blob([S], { type: r });
404
404
  } else
405
405
  s = new Blob([e], { type: r });
@@ -424,12 +424,12 @@ function Zn(e, t, n = 1, r = 1) {
424
424
  if (e <= o) return u1(1, e);
425
425
  const C = u1(1, n), s = u1(e - n + 1, e), i = n + 2 * r;
426
426
  if (t <= n + r) {
427
- const w = u1(1, i), m = u1(e - i + 1, e);
428
- return [...w, "…", ...m];
427
+ const k = u1(1, i), f = u1(e - i + 1, e);
428
+ return [...k, "…", ...f];
429
429
  }
430
430
  if (t >= e - n - r + 1) {
431
- const w = u1(1, i), m = u1(e - i + 1, e);
432
- return [...w, "…", ...m];
431
+ const k = u1(1, i), f = u1(e - i + 1, e);
432
+ return [...k, "…", ...f];
433
433
  }
434
434
  const c = Math.max(t - r, n + 1), d = Math.min(t + r, e - n), a = [];
435
435
  a.push(...C);
@@ -478,11 +478,11 @@ const _9 = () => {
478
478
  }, [n, s, C, s, r, o, i]);
479
479
  return L1(() => {
480
480
  if (!C.current || !s.current) return;
481
- let S = 0, w = 0;
481
+ let S = 0, k = 0;
482
482
  return S = requestAnimationFrame(() => {
483
- w = requestAnimationFrame(() => p());
483
+ k = requestAnimationFrame(() => p());
484
484
  }), () => {
485
- cancelAnimationFrame(S), cancelAnimationFrame(w);
485
+ cancelAnimationFrame(S), cancelAnimationFrame(k);
486
486
  };
487
487
  }, [p]), L1(() => (t && window.addEventListener("resize", p), () => {
488
488
  window.removeEventListener("resize", p);
@@ -510,19 +510,19 @@ function q9(e, t, n = H2) {
510
510
  let o = !1;
511
511
  const C = Array.isArray(t), i = (typeof t == "object" && t !== null ? t : void 0) || {}, c = (C ? t : void 0) || [], d = typeof t == "string" ? t : void 0;
512
512
  let a = 0;
513
- const p = (S, w) => d && S === d ? { type: "slot", test: () => !0 } : i[S] ? { type: "slot", test: (m) => i[S].test(m) } : c[w] && S === n ? { type: "slot", test: (m) => c[w].test(m) } : null;
513
+ const p = (S, k) => d && S === d ? { type: "slot", test: () => !0 } : i[S] ? { type: "slot", test: (f) => i[S].test(f) } : c[k] && S === n ? { type: "slot", test: (f) => c[k].test(f) } : null;
514
514
  for (let S = 0; S < e.length; S++) {
515
- const w = e[S];
516
- if (w === "[") {
515
+ const k = e[S];
516
+ if (k === "[") {
517
517
  o = !0;
518
518
  continue;
519
519
  }
520
- if (w === "]") {
520
+ if (k === "]") {
521
521
  o = !1;
522
522
  continue;
523
523
  }
524
- const m = p(w, a);
525
- m && a++, r.push(m ?? { type: "literal", char: w, keep: o });
524
+ const f = p(k, a);
525
+ f && a++, r.push(f ?? { type: "literal", char: k, keep: o });
526
526
  }
527
527
  return r;
528
528
  }
@@ -539,14 +539,14 @@ const M5 = ({
539
539
  if (!e) return s;
540
540
  let i = "", c = 0, d = 0, a = 0;
541
541
  for (; d < r.length && c < s.length; d++) {
542
- const S = r[d], w = s[c];
543
- S.type === "literal" ? w === S.char ? (i += w, c++) : i += S.char : S.type === "slot" && S.test(w) && (i += w, c++, a++);
542
+ const S = r[d], k = s[c];
543
+ S.type === "literal" ? k === S.char ? (i += k, c++) : i += S.char : S.type === "slot" && S.test(k) && (i += k, c++, a++);
544
544
  }
545
545
  const p = r.filter((S) => S.type === "slot").length;
546
546
  if (a === p && d < r.length)
547
547
  for (let S = d; S < r.length; S++) {
548
- const w = r[S];
549
- w.type === "literal" && (i += w.char);
548
+ const k = r[S];
549
+ k.type === "literal" && (i += k.char);
550
550
  }
551
551
  return i;
552
552
  },
@@ -574,13 +574,13 @@ const M5 = ({
574
574
  } catch {
575
575
  return;
576
576
  }
577
- }, P9 = typeof window < "u" ? L1 : Y, W9 = ({
577
+ }, P9 = typeof window < "u" ? L1 : W, W9 = ({
578
578
  key: e,
579
579
  initialValue: t,
580
580
  storage: n = D9
581
581
  }) => {
582
582
  const r = P(!0), o = P(n);
583
- Y(() => {
583
+ W(() => {
584
584
  o.current = n;
585
585
  }, [n]);
586
586
  const [C, s] = $(() => {
@@ -611,7 +611,7 @@ const M5 = ({
611
611
  } catch {
612
612
  }
613
613
  }
614
- }, [e, C]), Y(() => {
614
+ }, [e, C]), W(() => {
615
615
  if (typeof window > "u") return;
616
616
  const c = (d) => {
617
617
  const a = d;
@@ -622,12 +622,12 @@ const M5 = ({
622
622
  return window.addEventListener(w2, c), () => {
623
623
  window.removeEventListener(w2, c);
624
624
  };
625
- }, [e]), Y(() => {
625
+ }, [e]), W(() => {
626
626
  const c = o.current;
627
627
  if (!c) return;
628
628
  const d = k2(c.getItem(e));
629
629
  d !== void 0 && i(d);
630
- }, [e]), Y(() => {
630
+ }, [e]), W(() => {
631
631
  if (typeof window > "u") return;
632
632
  const c = (d) => {
633
633
  if (d.key !== e) return;
@@ -642,13 +642,13 @@ const M5 = ({
642
642
  }, [e, t]), C = q(() => {
643
643
  r.current && (window.clearInterval(r.current), r.current = 0);
644
644
  }, []);
645
- return Y(() => (n && o(), () => C()), []), { start: o, stop: C };
645
+ return W(() => (n && o(), () => C()), []), { start: o, stop: C };
646
646
  }, In = (e) => {
647
647
  const [t, n] = W9({
648
648
  key: e?.storageKey || "theme",
649
649
  initialValue: e?.initialTheme || _9()
650
650
  });
651
- return Y(() => {
651
+ return W(() => {
652
652
  typeof document < "u" && document.body.setAttribute("data-theme", t);
653
653
  }, [t]), { theme: t, setTheme: n };
654
654
  }, Y9 = "No options", Q9 = "Reset all", X9 = "Search", z9 = "Select all", $9 = "No data", e4 = "Loading data...", t4 = { itemsOnPage: "Items on page:", ofPages: "of pages:", currentItems: "Showing {{totalItems}} items from {{start}} to {{end}}" }, n4 = {
@@ -767,15 +767,15 @@ const O1 = ({
767
767
  isLoading: a,
768
768
  children: p,
769
769
  count: S,
770
- isActive: w,
771
- hint: m,
770
+ isActive: k,
771
+ hint: f,
772
772
  ref: v,
773
- to: k,
773
+ to: w,
774
774
  href: R,
775
775
  target: M = "_blank",
776
776
  ...V
777
777
  }) => {
778
- const U = R9(), E = T(() => k ?? R, [k, R]), x = T(() => x5(E || ""), [E]), L = (A) => {
778
+ const U = R9(), E = T(() => w ?? R, [w, R]), x = T(() => x5(E || ""), [E]), L = (A) => {
779
779
  t?.(A), E && (x ? window.open(E, M) : U(E));
780
780
  };
781
781
  return /* @__PURE__ */ u.jsxs(
@@ -783,7 +783,7 @@ const O1 = ({
783
783
  {
784
784
  ref: v,
785
785
  className: Q1(n, "button", s, d, {
786
- active: w,
786
+ active: k,
787
787
  fullWidth: r,
788
788
  isLoading: a
789
789
  }),
@@ -1019,17 +1019,17 @@ const p1 = O(z8), e3 = {
1019
1019
  size: a = "LARGE",
1020
1020
  onFocus: p,
1021
1021
  onBlur: S,
1022
- onKeyDown: w,
1023
- ...m
1022
+ onKeyDown: k,
1023
+ ...f
1024
1024
  }) => {
1025
- const [v, k] = $(!1), R = (J) => {
1026
- k(!0), p?.(J);
1025
+ const [v, w] = $(!1), R = (J) => {
1026
+ w(!0), p?.(J);
1027
1027
  }, M = (J) => {
1028
- k(!1), S?.(J);
1028
+ w(!1), S?.(J);
1029
1029
  }, V = (J) => J.stopPropagation(), U = () => {
1030
1030
  r || i?.(!C);
1031
1031
  }, E = (J) => {
1032
- J.key === "Enter" && U(), w?.(J);
1032
+ J.key === "Enter" && U(), k?.(J);
1033
1033
  }, x = (J) => {
1034
1034
  i?.(J.target.checked), s?.(J);
1035
1035
  }, L = T(() => /* @__PURE__ */ u.jsx(X, { type: e3[n], className: p1("icon", { hasValue: !!C }) }), [n, C]), A = T(() => {
@@ -1055,7 +1055,7 @@ const p1 = O(z8), e3 = {
1055
1055
  onBlur: M,
1056
1056
  onFocus: R,
1057
1057
  onKeyDown: E,
1058
- ...m
1058
+ ...f
1059
1059
  }
1060
1060
  )
1061
1061
  ] }) }),
@@ -1071,10 +1071,10 @@ const p1 = O(z8), e3 = {
1071
1071
  onChangeValue: s,
1072
1072
  ...i
1073
1073
  }) => {
1074
- const { control: c, clearErrors: d } = s2(), { fieldState: a, field: p } = i2({ name: e, rules: t, control: c }), S = P(C), w = (m) => {
1075
- s && s(m), p.onChange(m);
1074
+ const { control: c, clearErrors: d } = s2(), { fieldState: a, field: p } = i2({ name: e, rules: t, control: c }), S = P(C), k = (f) => {
1075
+ s && s(f), p.onChange(f);
1076
1076
  };
1077
- return Y(() => {
1077
+ return W(() => {
1078
1078
  C !== S.current && o && (d(e), S.current = C);
1079
1079
  }, [C]), /* @__PURE__ */ u.jsx(
1080
1080
  O2,
@@ -1082,7 +1082,7 @@ const p1 = O(z8), e3 = {
1082
1082
  ...p,
1083
1083
  isError: !!a?.error || n,
1084
1084
  errorText: a?.error?.message || r || "",
1085
- onChangeValue: w,
1085
+ onChangeValue: k,
1086
1086
  value: p.value,
1087
1087
  disabled: C,
1088
1088
  ...i
@@ -1250,10 +1250,10 @@ const f1 = O(j3), B3 = {
1250
1250
  prefix: a,
1251
1251
  suffix: p,
1252
1252
  hint: S,
1253
- children: w,
1254
- mask: m,
1253
+ children: k,
1254
+ mask: f,
1255
1255
  replacement: v,
1256
- replacementPlaceholder: k,
1256
+ replacementPlaceholder: w,
1257
1257
  max: R,
1258
1258
  min: M,
1259
1259
  onKeyDown: V,
@@ -1271,14 +1271,14 @@ const f1 = O(j3), B3 = {
1271
1271
  decimals: y,
1272
1272
  maxLength: I,
1273
1273
  controllerClassname: G,
1274
- decimalSeparator: W,
1274
+ decimalSeparator: Y,
1275
1275
  ref: c1,
1276
1276
  ...a1
1277
1277
  }) => {
1278
1278
  const { isHidden: h, reveal: g, hide: H } = F9(n === "password"), [B, n1] = $(!1), d1 = j ?? B3[n], F = T(
1279
1279
  () => !!(s && C || o),
1280
1280
  [s, C, o]
1281
- ), l1 = T(() => !!(c || A || p || J || K), [c, A, p, J, K]), s1 = v3({ type: n, isHidden: h }), { format: P1, clean: u9 } = x3({ type: n, mask: m, replacement: v, replacementPlaceholder: k }), { increment: p9, decrement: m9 } = g3({
1281
+ ), l1 = T(() => !!(c || A || p || J || K), [c, A, p, J, K]), s1 = v3({ type: n, isHidden: h }), { format: P1, clean: u9 } = x3({ type: n, mask: f, replacement: v, replacementPlaceholder: w }), { increment: p9, decrement: m9 } = g3({
1282
1282
  max: R,
1283
1283
  min: M,
1284
1284
  decimals: y,
@@ -1289,7 +1289,7 @@ const f1 = O(j3), B3 = {
1289
1289
  value: e,
1290
1290
  isAllowNegative: b,
1291
1291
  decimals: y,
1292
- decimalSeparator: W,
1292
+ decimalSeparator: Y,
1293
1293
  maxLength: I,
1294
1294
  isWithThousandSeparator: Z
1295
1295
  }), [
@@ -1297,7 +1297,7 @@ const f1 = O(j3), B3 = {
1297
1297
  e,
1298
1298
  b,
1299
1299
  y,
1300
- W,
1300
+ Y,
1301
1301
  I,
1302
1302
  Z
1303
1303
  ]), S9 = (r1) => {
@@ -1384,17 +1384,17 @@ const f1 = O(j3), B3 = {
1384
1384
  disabled: s,
1385
1385
  ...i
1386
1386
  }) => {
1387
- const { control: c, clearErrors: d } = s2(), { fieldState: a, field: p } = i2({ name: e, rules: t, control: c }), S = P(s), { t: w } = a2(), m = a?.error?.message || r || "", v = (k) => {
1388
- o && o(k), p.onChange(k);
1387
+ const { control: c, clearErrors: d } = s2(), { fieldState: a, field: p } = i2({ name: e, rules: t, control: c }), S = P(s), { t: k } = a2(), f = a?.error?.message || r || "", v = (w) => {
1388
+ o && o(w), p.onChange(w);
1389
1389
  };
1390
- return Y(() => {
1390
+ return W(() => {
1391
1391
  s !== S.current && C && (d(e), S.current = s);
1392
1392
  }, [s]), /* @__PURE__ */ u.jsx(
1393
1393
  N5,
1394
1394
  {
1395
1395
  ...p,
1396
1396
  isError: !!a?.error || n,
1397
- errorText: w(m),
1397
+ errorText: k(f),
1398
1398
  onChangeValue: v,
1399
1399
  value: p.value,
1400
1400
  disabled: s,
@@ -1420,14 +1420,14 @@ const f1 = O(j3), B3 = {
1420
1420
  isFullWidth: a,
1421
1421
  ...p
1422
1422
  }) => {
1423
- const S = T(() => o ?? C, [o, C]), w = T(() => s || x5(S || ""), [s, S]), m = T(() => w && M1(i) ? !0 : i, [w, i]), v = (k) => {
1424
- n && (window.location.href = `mailto:${n}`, k.preventDefault()), r?.(k);
1423
+ const S = T(() => o ?? C, [o, C]), k = T(() => s || x5(S || ""), [s, S]), f = T(() => k && M1(i) ? !0 : i, [k, i]), v = (w) => {
1424
+ n && (window.location.href = `mailto:${n}`, w.preventDefault()), r?.(w);
1425
1425
  };
1426
- return w ? /* @__PURE__ */ u.jsxs(
1426
+ return k ? /* @__PURE__ */ u.jsxs(
1427
1427
  "a",
1428
1428
  {
1429
- target: w ? "_blank" : "_self",
1430
- rel: w ? "noopener noreferrer" : "",
1429
+ target: k ? "_blank" : "_self",
1430
+ rel: k ? "noopener noreferrer" : "",
1431
1431
  href: S,
1432
1432
  className: t5("link", c, {
1433
1433
  disabled: e,
@@ -1438,7 +1438,7 @@ const f1 = O(j3), B3 = {
1438
1438
  onClick: v,
1439
1439
  children: [
1440
1440
  t,
1441
- m && /* @__PURE__ */ u.jsx(X, { size: 16, type: "open-new-window" })
1441
+ f && /* @__PURE__ */ u.jsx(X, { size: 16, type: "open-new-window" })
1442
1442
  ]
1443
1443
  }
1444
1444
  ) : /* @__PURE__ */ u.jsx(
@@ -1538,7 +1538,7 @@ const d6 = (e = "popup-root") => {
1538
1538
  };
1539
1539
  }, b2 = ({ children: e, id: t }) => {
1540
1540
  const n = P(d6(t));
1541
- return Y(() => {
1541
+ return W(() => {
1542
1542
  n.current.alreadyHas || document.body.appendChild(n.current.element);
1543
1543
  }, []), H9(e, n.current.element);
1544
1544
  }, u6 = "Popover-module__popover___rvS3X", p6 = "Popover-module__arrow___MQRkr", m6 = "Popover-module__top___rqvC6", f6 = "Popover-module__bottom___lawQw", S6 = {
@@ -1560,10 +1560,10 @@ const d6 = (e = "popup-root") => {
1560
1560
  closeOnMouseLeave: a = !1,
1561
1561
  mouseLeaveDelay: p = 120,
1562
1562
  onBlur: S,
1563
- onClick: w,
1564
- onMouseDown: m,
1563
+ onClick: k,
1564
+ onMouseDown: f,
1565
1565
  isPortal: v = !0,
1566
- referenceRef: k,
1566
+ referenceRef: w,
1567
1567
  placementSide: R,
1568
1568
  placementAlignment: M,
1569
1569
  closeOnResize: V,
@@ -1575,7 +1575,7 @@ const d6 = (e = "popup-root") => {
1575
1575
  computeOnResize: !V,
1576
1576
  computeOnScroll: !U,
1577
1577
  popoverRef: L,
1578
- referenceRef: k,
1578
+ referenceRef: w,
1579
1579
  placementSide: R,
1580
1580
  placementAlignment: M,
1581
1581
  gap: i,
@@ -1592,7 +1592,7 @@ const d6 = (e = "popup-root") => {
1592
1592
  if (!c) return;
1593
1593
  const H = g.relatedTarget;
1594
1594
  b(H) || (t(), S?.(g));
1595
- }, W = q(() => {
1595
+ }, Y = q(() => {
1596
1596
  a && (y(), !I.current && !Z.current.anchor && !Z.current.dropdown && (j.current = window.setTimeout(() => {
1597
1597
  !Z.current.anchor && !Z.current.dropdown && !I.current && t();
1598
1598
  }, p)));
@@ -1606,9 +1606,9 @@ const d6 = (e = "popup-root") => {
1606
1606
  return window.addEventListener("resize", g), window.addEventListener("scroll", H, !0), () => {
1607
1607
  window.removeEventListener("resize", g), window.removeEventListener("scroll", H, !0);
1608
1608
  };
1609
- }, [U, V, t]), Y(() => {
1609
+ }, [U, V, t]), W(() => {
1610
1610
  if (!a) return;
1611
- const g = k.current, H = L.current;
1611
+ const g = w.current, H = L.current;
1612
1612
  if (!g) return;
1613
1613
  const B = () => {
1614
1614
  Z.current.anchor = !0, y();
@@ -1627,19 +1627,19 @@ const d6 = (e = "popup-root") => {
1627
1627
  }, [
1628
1628
  a,
1629
1629
  L,
1630
- k,
1631
- W,
1630
+ w,
1631
+ Y,
1632
1632
  y,
1633
1633
  b
1634
- ]), Y(() => {
1634
+ ]), W(() => {
1635
1635
  const g = (H) => {
1636
1636
  if (!E)
1637
1637
  return;
1638
1638
  const B = H.target;
1639
- !b(B) && !k.current?.contains(B) && t();
1639
+ !b(B) && !w.current?.contains(B) && t();
1640
1640
  };
1641
1641
  return document.addEventListener("mousedown", g), () => document.removeEventListener("mousedown", g);
1642
- }, [b, t, E]), Y(() => {
1642
+ }, [b, t, E]), W(() => {
1643
1643
  const g = (H) => {
1644
1644
  if (!c)
1645
1645
  return;
@@ -1649,9 +1649,9 @@ const d6 = (e = "popup-root") => {
1649
1649
  return document.addEventListener("focusout", g, !0), () => document.removeEventListener("focusout", g, !0);
1650
1650
  }, [c, b, t]);
1651
1651
  const c1 = (g) => {
1652
- g.stopPropagation(), m?.(g);
1652
+ g.stopPropagation(), f?.(g);
1653
1653
  }, a1 = (g) => {
1654
- g.stopPropagation(), w?.(g);
1654
+ g.stopPropagation(), k?.(g);
1655
1655
  }, h = /* @__PURE__ */ u.jsx(
1656
1656
  "div",
1657
1657
  {
@@ -1669,7 +1669,7 @@ const d6 = (e = "popup-root") => {
1669
1669
  top: A?.y || 0,
1670
1670
  left: A?.x || 0,
1671
1671
  visibility: A ? "visible" : "hidden",
1672
- width: n ?? k.current?.offsetWidth,
1672
+ width: n ?? w.current?.offsetWidth,
1673
1673
  maxHeight: o
1674
1674
  },
1675
1675
  children: r
@@ -1755,11 +1755,11 @@ const g6 = "SelectList-module__hasScroll___Pdpcl", J6 = {
1755
1755
  gap: a = 0,
1756
1756
  placementSide: p,
1757
1757
  placementAlignment: S,
1758
- referenceRef: w
1758
+ referenceRef: k
1759
1759
  }) => {
1760
- const [m, v] = $(""), [k, R] = $(!1), M = !!t?.length, V = i && M, U = s && o && M, E = P(null), { t: x } = a2(), L = T(() => t?.filter(
1761
- (Z) => String(Z.label).toLowerCase().includes(m.toLowerCase())
1762
- ) || [], [t, m]), A = T(() => !M || !L.length ? /* @__PURE__ */ u.jsx("div", { className: U1("select-list-empty"), children: x("noOptions") }) : L.map((Z) => {
1760
+ const [f, v] = $(""), [w, R] = $(!1), M = !!t?.length, V = i && M, U = s && o && M, E = P(null), { t: x } = a2(), L = T(() => t?.filter(
1761
+ (Z) => String(Z.label).toLowerCase().includes(f.toLowerCase())
1762
+ ) || [], [t, f]), A = T(() => !M || !L.length ? /* @__PURE__ */ u.jsx("div", { className: U1("select-list-empty"), children: x("noOptions") }) : L.map((Z) => {
1763
1763
  const I = (Array.isArray(e) ? e : [e].filter(Boolean)).map((G) => G?.value).includes(Z.value);
1764
1764
  return /* @__PURE__ */ u.jsx(
1765
1765
  K1,
@@ -1785,13 +1785,13 @@ const g6 = "SelectList-module__hasScroll___Pdpcl", J6 = {
1785
1785
  }, j = (Z) => {
1786
1786
  Z.code === "Enter" && Z.preventDefault();
1787
1787
  };
1788
- return Y(() => {
1788
+ return W(() => {
1789
1789
  b();
1790
1790
  }, [L]), /* @__PURE__ */ u.jsxs(
1791
1791
  T5,
1792
1792
  {
1793
1793
  className: U1("select-list"),
1794
- referenceRef: w,
1794
+ referenceRef: k,
1795
1795
  gap: a,
1796
1796
  placementAlignment: S,
1797
1797
  placementSide: p,
@@ -1800,7 +1800,7 @@ const g6 = "SelectList-module__hasScroll___Pdpcl", J6 = {
1800
1800
  V && /* @__PURE__ */ u.jsx("div", { className: U1("select-list-header"), children: i && /* @__PURE__ */ u.jsx(
1801
1801
  N5,
1802
1802
  {
1803
- value: m,
1803
+ value: f,
1804
1804
  onChangeValue: v,
1805
1805
  prefix: /* @__PURE__ */ u.jsx(X, { type: "search" }),
1806
1806
  placeholder: r || x("search"),
@@ -1819,7 +1819,7 @@ const g6 = "SelectList-module__hasScroll___Pdpcl", J6 = {
1819
1819
  captionPosition: H5.LEFT
1820
1820
  }
1821
1821
  ) }),
1822
- /* @__PURE__ */ u.jsx("div", { className: U1("select-list-items", { hasScroll: k }), ref: E, children: A })
1822
+ /* @__PURE__ */ u.jsx("div", { className: U1("select-list-items", { hasScroll: w }), ref: E, children: A })
1823
1823
  ]
1824
1824
  }
1825
1825
  );
@@ -1858,10 +1858,10 @@ const o1 = O(y6), N2 = ({
1858
1858
  isLoading: a,
1859
1859
  onChange: p,
1860
1860
  searchPlaceholder: S,
1861
- options: w,
1862
- isWithSelectAll: m,
1861
+ options: k,
1862
+ isWithSelectAll: f,
1863
1863
  isWithSearch: v,
1864
- isCloseOnSelect: k = !0,
1864
+ isCloseOnSelect: w = !0,
1865
1865
  isClearable: R,
1866
1866
  isMulti: M,
1867
1867
  disabled: V
@@ -1874,7 +1874,7 @@ const o1 = O(y6), N2 = ({
1874
1874
  j.map((Z) => Z?.value).includes(b.value) ? j.filter((Z) => Z?.value !== b.value) : [...j, b]
1875
1875
  );
1876
1876
  } else
1877
- p(b), k && E.close();
1877
+ p(b), w && E.close();
1878
1878
  }, J = (b) => {
1879
1879
  M && p?.(b);
1880
1880
  }, K = T(() => {
@@ -1968,11 +1968,11 @@ const o1 = O(y6), N2 = ({
1968
1968
  {
1969
1969
  referenceRef: U,
1970
1970
  onClose: E.close,
1971
- options: w,
1971
+ options: k,
1972
1972
  disabled: L,
1973
1973
  onClickOption: A,
1974
1974
  value: s,
1975
- isWithSelectAll: m,
1975
+ isWithSelectAll: f,
1976
1976
  isWithSearch: v,
1977
1977
  isMulti: M,
1978
1978
  searchPlaceholder: S,
@@ -2001,18 +2001,18 @@ const o1 = O(y6), N2 = ({
2001
2001
  disabled: i,
2002
2002
  ...c
2003
2003
  }) => {
2004
- const { control: d, watch: a, clearErrors: p } = s2(), { fieldState: S, field: w } = i2({ name: e, rules: t, control: d }), m = o ?? a(e), v = P(i), k = (R) => {
2005
- s && s(R), w.onChange(R);
2004
+ const { control: d, watch: a, clearErrors: p } = s2(), { fieldState: S, field: k } = i2({ name: e, rules: t, control: d }), f = o ?? a(e), v = P(i), w = (R) => {
2005
+ s && s(R), k.onChange(R);
2006
2006
  };
2007
- return Y(() => {
2007
+ return W(() => {
2008
2008
  i !== v.current && C && (p(e), v.current = i);
2009
- }, [i, m]), /* @__PURE__ */ u.jsx(
2009
+ }, [i, f]), /* @__PURE__ */ u.jsx(
2010
2010
  N2,
2011
2011
  {
2012
- ...w,
2012
+ ...k,
2013
2013
  disabled: i,
2014
- value: m,
2015
- onChange: k,
2014
+ value: f,
2015
+ onChange: w,
2016
2016
  isError: !!S?.error || n,
2017
2017
  errorText: S?.error?.message || r,
2018
2018
  ...c
@@ -2179,13 +2179,13 @@ const L2 = 8, me = 24, fe = 8, C5 = me + fe, Se = ({
2179
2179
  rowKey: a,
2180
2180
  level: p = 1,
2181
2181
  parentKey: S,
2182
- rowIndex: w
2182
+ rowIndex: k
2183
2183
  }) => {
2184
- const { isOpen: m, toggle: v } = c2(), k = !!n?.children?.length, R = T(() => {
2184
+ const { isOpen: f, toggle: v } = c2(), w = !!n?.children?.length, R = T(() => {
2185
2185
  const E = n ? a(n) : "";
2186
2186
  return S ? `${S}_${E}` : E;
2187
2187
  }, [n, a, S]), M = T(() => {
2188
- if (!m || !k)
2188
+ if (!f || !w)
2189
2189
  return null;
2190
2190
  const E = n?.children?.some(
2191
2191
  (L) => !!L.children?.length
@@ -2208,11 +2208,11 @@ const L2 = 8, me = 24, fe = 8, C5 = me + fe, Se = ({
2208
2208
  C,
2209
2209
  t,
2210
2210
  n?.children,
2211
- m,
2211
+ f,
2212
2212
  p,
2213
2213
  o,
2214
2214
  a,
2215
- k
2215
+ w
2216
2216
  ]), V = q((E) => {
2217
2217
  E.stopPropagation(), v();
2218
2218
  }, []), U = T(() => {
@@ -2256,7 +2256,7 @@ const L2 = 8, me = 24, fe = 8, C5 = me + fe, Se = ({
2256
2256
  String(J.key)
2257
2257
  );
2258
2258
  let I = L2;
2259
- if (r && b && (k ? I = L2 + C5 * (p - 1) : I = L2 + C5 * p), s === "row" && n) {
2259
+ if (r && b && (w ? I = L2 + C5 * (p - 1) : I = L2 + C5 * p), s === "row" && n) {
2260
2260
  const G = typeof J.className == "function" ? J.className(n) : J.className;
2261
2261
  return /* @__PURE__ */ u.jsxs(
2262
2262
  B5,
@@ -2270,19 +2270,19 @@ const L2 = 8, me = 24, fe = 8, C5 = me + fe, Se = ({
2270
2270
  withBorder: j,
2271
2271
  withShadow: j,
2272
2272
  children: [
2273
- k && b && /* @__PURE__ */ u.jsx(
2273
+ w && b && /* @__PURE__ */ u.jsx(
2274
2274
  O1,
2275
2275
  {
2276
2276
  size: Z1.SMALL,
2277
2277
  variant: V1.TERTIARY,
2278
2278
  onClick: V,
2279
- prefix: /* @__PURE__ */ u.jsx(X, { type: "chevron", className: E2("chevron-icon", { isOpened: m }) })
2279
+ prefix: /* @__PURE__ */ u.jsx(X, { type: "chevron", className: E2("chevron-icon", { isOpened: f }) })
2280
2280
  }
2281
2281
  ),
2282
2282
  J.render ? J.render(
2283
2283
  n[J.key],
2284
2284
  n,
2285
- w ?? 0
2285
+ k ?? 0
2286
2286
  ) : n[J.key] ? String(n[J.key]) : null
2287
2287
  ]
2288
2288
  },
@@ -2301,9 +2301,9 @@ const L2 = 8, me = 24, fe = 8, C5 = me + fe, Se = ({
2301
2301
  i?.order,
2302
2302
  d,
2303
2303
  p,
2304
- k,
2304
+ w,
2305
2305
  V,
2306
- m,
2306
+ f,
2307
2307
  c
2308
2308
  ]);
2309
2309
  return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
@@ -2422,28 +2422,28 @@ const he = "Pagination-module__sticky___dd2zY", we = "Pagination-module__buttons
2422
2422
  loadingPlugText: a,
2423
2423
  sort: p,
2424
2424
  pagination: S,
2425
- withoutWrapper: w,
2426
- onRowClick: m,
2425
+ withoutWrapper: k,
2426
+ onRowClick: f,
2427
2427
  rowKey: v,
2428
- data: k,
2428
+ data: w,
2429
2429
  onReset: R
2430
2430
  }) => {
2431
- const M = P(null), [V, U] = $(!1), E = s || i, x = (C ?? (!k?.length || S && !S.totalItems)) && !E, L = s || i || C, { t: A } = a2(), J = q(
2431
+ const M = P(null), [V, U] = $(!1), E = s || i, x = (C ?? (!w?.length || S && S.totalItems === 0)) && !E, L = s || i || C, { t: A } = a2(), J = q(
2432
2432
  (y) => {
2433
2433
  p && p.onChange(String(y.key));
2434
2434
  },
2435
2435
  [p]
2436
2436
  ), K = T(() => e.map((y) => {
2437
- const I = x2(y.width), G = x2(y.minWidth), W = x2(y.maxWidth);
2438
- return !I && !G && !W ? "1fr" : `minmax(${G || I}, ${W || I || "1fr"})`;
2437
+ const I = x2(y.width), G = x2(y.minWidth), Y = x2(y.maxWidth);
2438
+ return !I && !G && !Y ? "1fr" : `minmax(${G || I}, ${Y || I || "1fr"})`;
2439
2439
  }).join(" "), [e]), _ = T(() => {
2440
- const y = k?.some(
2440
+ const y = w?.some(
2441
2441
  (I) => !!I?.children?.length
2442
2442
  );
2443
- return k?.map((I) => /* @__PURE__ */ u.jsx(
2443
+ return w?.map((I) => /* @__PURE__ */ u.jsx(
2444
2444
  o2,
2445
2445
  {
2446
- onRowClick: m,
2446
+ onRowClick: f,
2447
2447
  columns: e,
2448
2448
  item: I,
2449
2449
  hasItemsWithChildren: y,
@@ -2452,7 +2452,7 @@ const he = "Pagination-module__sticky___dd2zY", we = "Pagination-module__buttons
2452
2452
  },
2453
2453
  v(I)
2454
2454
  ));
2455
- }, [k, e, m, V, v]), b = T(() => /* @__PURE__ */ u.jsx(
2455
+ }, [w, e, f, V, v]), b = T(() => /* @__PURE__ */ u.jsx(
2456
2456
  o2,
2457
2457
  {
2458
2458
  variant: K5.HEAD_ROW,
@@ -2465,7 +2465,7 @@ const he = "Pagination-module__sticky___dd2zY", we = "Pagination-module__buttons
2465
2465
  className: w1("header-row")
2466
2466
  }
2467
2467
  ), [e, p?.value, J, V, v, L]);
2468
- Y(() => {
2468
+ W(() => {
2469
2469
  const y = () => {
2470
2470
  M.current && U(M.current.scrollWidth > M.current.clientWidth);
2471
2471
  }, I = new ResizeObserver(y);
@@ -2486,7 +2486,7 @@ const he = "Pagination-module__sticky___dd2zY", we = "Pagination-module__buttons
2486
2486
  className: w1("table-plug")
2487
2487
  }
2488
2488
  ), [c, d, A, a]);
2489
- return /* @__PURE__ */ u.jsxs("div", { className: w1("table-wrapper", { withoutWrapper: w }), children: [
2489
+ return /* @__PURE__ */ u.jsxs("div", { className: w1("table-wrapper", { withoutWrapper: k }), children: [
2490
2490
  x && j,
2491
2491
  !x && /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
2492
2492
  /* @__PURE__ */ u.jsxs("table", { className: w1("table", { showLoader: E }), style: { gridTemplateColumns: K }, ref: M, children: [
@@ -2500,45 +2500,53 @@ const he = "Pagination-module__sticky___dd2zY", we = "Pagination-module__buttons
2500
2500
  }, ye = B2(He);
2501
2501
  ye.displayName = "Table";
2502
2502
  const Fn = ({
2503
- totalItems: e,
2503
+ totalItems: e = 0,
2504
2504
  initialPageSize: t = 15,
2505
2505
  initialPage: n = 1
2506
2506
  }) => {
2507
- const [r, o] = $(n), [C, s] = $(t), i = T(() => Math.ceil(e / C), [e, C]), c = T(() => r > 1, [r]), d = T(() => r < i, [r, i]), a = q((m) => {
2508
- s(m);
2509
- }, []), p = q(
2510
- (m) => {
2511
- m >= 1 && m <= i && o(m);
2507
+ const [r, o] = $(n), [C, s] = $(t), [i, c] = $(e), d = T(() => Math.ceil(i / C), [i, C]);
2508
+ W(() => {
2509
+ c(e);
2510
+ }, [e]), W(() => {
2511
+ o((w) => w > d && d > 0 ? d : w);
2512
+ }, [d]);
2513
+ const a = T(() => r > 1, [r]), p = T(() => r < d, [r, d]), S = q((w) => {
2514
+ s(w);
2515
+ }, []), k = q(
2516
+ (w) => {
2517
+ w >= 1 && w <= d && o(w);
2512
2518
  },
2513
- [i]
2514
- ), S = q(() => {
2515
- d && o((m) => m + 1);
2516
- }, [d]), w = q(() => {
2517
- c && o((m) => m - 1);
2518
- }, [c]);
2519
+ [d]
2520
+ ), f = q(() => {
2521
+ p && o((w) => w + 1);
2522
+ }, [p]), v = q(() => {
2523
+ a && o((w) => w - 1);
2524
+ }, [a]);
2519
2525
  return T(() => ({
2520
2526
  page: r,
2521
2527
  apiPage: r - 1,
2522
2528
  pageSize: C,
2523
- totalItems: e,
2524
- totalPages: i,
2525
- hasPrevious: c,
2526
- hasNext: d,
2527
- onChangePage: p,
2528
- onChangePageSize: a,
2529
- onNextPage: S,
2530
- onPrevPage: w
2529
+ totalItems: i,
2530
+ totalPages: d,
2531
+ hasPrevious: a,
2532
+ hasNext: p,
2533
+ onChangePage: k,
2534
+ onChangePageSize: S,
2535
+ onNextPage: f,
2536
+ onPrevPage: v,
2537
+ setTotalItems: c
2531
2538
  }), [
2532
2539
  r,
2533
2540
  C,
2534
- e,
2535
2541
  i,
2536
- c,
2537
2542
  d,
2538
- p,
2539
2543
  a,
2544
+ p,
2545
+ k,
2540
2546
  S,
2541
- w
2547
+ f,
2548
+ v,
2549
+ c
2542
2550
  ]);
2543
2551
  }, qn = ({ initialSort: e }) => {
2544
2552
  const [t, n] = $(e), r = q((o) => {
@@ -2573,20 +2581,20 @@ const Fn = ({
2573
2581
  onChangeValue: a,
2574
2582
  className: p,
2575
2583
  mask: S,
2576
- replacementPlaceholder: w,
2577
- replacement: m,
2584
+ replacementPlaceholder: k,
2585
+ replacement: f,
2578
2586
  onKeyDown: v,
2579
- isAllowSpaces: k,
2587
+ isAllowSpaces: w,
2580
2588
  isResizeableVertical: R,
2581
2589
  isResizeableHorizontal: M,
2582
2590
  isTrimOnBlur: V,
2583
2591
  ...U
2584
2592
  }, E) => {
2585
- const [x, L] = $(!1), { apply: A, clean: J } = M5({ mask: S, replacement: m, replacementPlaceholder: w }), K = T(() => {
2593
+ const [x, L] = $(!1), { apply: A, clean: J } = M5({ mask: S, replacement: f, replacementPlaceholder: k }), K = T(() => {
2586
2594
  if (e)
2587
2595
  return A(e);
2588
2596
  }, [e]), _ = (y) => {
2589
- y.code === "Space" && !k && y.preventDefault(), v?.(y);
2597
+ y.code === "Space" && !w && y.preventDefault(), v?.(y);
2590
2598
  }, b = (y) => {
2591
2599
  const I = J(y.target.value);
2592
2600
  a?.(I), r?.({
@@ -2644,10 +2652,10 @@ const Dn = ({
2644
2652
  disabled: s,
2645
2653
  ...i
2646
2654
  }) => {
2647
- const { control: c, clearErrors: d } = s2(), { fieldState: a, field: p } = i2({ name: e, rules: t, control: c }), S = P(s), w = (m) => {
2648
- o && o(m), p.onChange(m);
2655
+ const { control: c, clearErrors: d } = s2(), { fieldState: a, field: p } = i2({ name: e, rules: t, control: c }), S = P(s), k = (f) => {
2656
+ o && o(f), p.onChange(f);
2649
2657
  };
2650
- return Y(() => {
2658
+ return W(() => {
2651
2659
  s !== S.current && C && (d(e), S.current = s);
2652
2660
  }, [s]), /* @__PURE__ */ u.jsx(
2653
2661
  O5,
@@ -2655,7 +2663,7 @@ const Dn = ({
2655
2663
  ...p,
2656
2664
  isError: !!a?.error || n,
2657
2665
  errorText: a?.error?.message || r || "",
2658
- onChangeValue: w,
2666
+ onChangeValue: k,
2659
2667
  value: p.value,
2660
2668
  disabled: s,
2661
2669
  ...i
@@ -2908,7 +2916,7 @@ const Lt = (e) => {
2908
2916
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
2909
2917
  typeof setImmediate == "function",
2910
2918
  e1(k1.postMessage)
2911
- ), Mt = typeof queueMicrotask < "u" ? queueMicrotask.bind(k1) : typeof process < "u" && process.nextTick || Y5, Vt = (e) => e != null && e1(e[u2]), f = {
2919
+ ), Mt = typeof queueMicrotask < "u" ? queueMicrotask.bind(k1) : typeof process < "u" && process.nextTick || Y5, Vt = (e) => e != null && e1(e[u2]), m = {
2912
2920
  isArray: b1,
2913
2921
  isArrayBuffer: F5,
2914
2922
  isBuffer: G1,
@@ -2971,7 +2979,7 @@ const Lt = (e) => {
2971
2979
  function N(e, t, n, r, o) {
2972
2980
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
2973
2981
  }
2974
- f.inherits(N, Error, {
2982
+ m.inherits(N, Error, {
2975
2983
  toJSON: function() {
2976
2984
  return {
2977
2985
  // Standard
@@ -2986,7 +2994,7 @@ f.inherits(N, Error, {
2986
2994
  columnNumber: this.columnNumber,
2987
2995
  stack: this.stack,
2988
2996
  // Axios
2989
- config: f.toJSONObject(this.config),
2997
+ config: m.toJSONObject(this.config),
2990
2998
  code: this.code,
2991
2999
  status: this.status
2992
3000
  };
@@ -3014,7 +3022,7 @@ Object.defineProperties(N, X5);
3014
3022
  Object.defineProperty(Q5, "isAxiosError", { value: !0 });
3015
3023
  N.from = (e, t, n, r, o, C) => {
3016
3024
  const s = Object.create(Q5);
3017
- f.toFlatObject(e, s, function(a) {
3025
+ m.toFlatObject(e, s, function(a) {
3018
3026
  return a !== Error.prototype;
3019
3027
  }, (d) => d !== "isAxiosError");
3020
3028
  const i = e && e.message ? e.message : "Error", c = t == null && e ? e.code : t;
@@ -3022,10 +3030,10 @@ N.from = (e, t, n, r, o, C) => {
3022
3030
  };
3023
3031
  const Zt = null;
3024
3032
  function U2(e) {
3025
- return f.isPlainObject(e) || f.isArray(e);
3033
+ return m.isPlainObject(e) || m.isArray(e);
3026
3034
  }
3027
3035
  function z5(e) {
3028
- return f.endsWith(e, "[]") ? e.slice(0, -2) : e;
3036
+ return m.endsWith(e, "[]") ? e.slice(0, -2) : e;
3029
3037
  }
3030
3038
  function a5(e, t, n) {
3031
3039
  return e ? e.concat(t).map(function(o, C) {
@@ -3033,73 +3041,73 @@ function a5(e, t, n) {
3033
3041
  }).join(n ? "." : "") : t;
3034
3042
  }
3035
3043
  function Ht(e) {
3036
- return f.isArray(e) && !e.some(U2);
3044
+ return m.isArray(e) && !e.some(U2);
3037
3045
  }
3038
- const yt = f.toFlatObject(f, {}, null, function(t) {
3046
+ const yt = m.toFlatObject(m, {}, null, function(t) {
3039
3047
  return /^is[A-Z]/.test(t);
3040
3048
  });
3041
3049
  function f2(e, t, n) {
3042
- if (!f.isObject(e))
3050
+ if (!m.isObject(e))
3043
3051
  throw new TypeError("target must be an object");
3044
- t = t || new FormData(), n = f.toFlatObject(n, {
3052
+ t = t || new FormData(), n = m.toFlatObject(n, {
3045
3053
  metaTokens: !0,
3046
3054
  dots: !1,
3047
3055
  indexes: !1
3048
- }, !1, function(v, k) {
3049
- return !f.isUndefined(k[v]);
3056
+ }, !1, function(v, w) {
3057
+ return !m.isUndefined(w[v]);
3050
3058
  });
3051
- const r = n.metaTokens, o = n.visitor || a, C = n.dots, s = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && f.isSpecCompliantForm(t);
3052
- if (!f.isFunction(o))
3059
+ const r = n.metaTokens, o = n.visitor || a, C = n.dots, s = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && m.isSpecCompliantForm(t);
3060
+ if (!m.isFunction(o))
3053
3061
  throw new TypeError("visitor must be a function");
3054
- function d(m) {
3055
- if (m === null) return "";
3056
- if (f.isDate(m))
3057
- return m.toISOString();
3058
- if (f.isBoolean(m))
3059
- return m.toString();
3060
- if (!c && f.isBlob(m))
3062
+ function d(f) {
3063
+ if (f === null) return "";
3064
+ if (m.isDate(f))
3065
+ return f.toISOString();
3066
+ if (m.isBoolean(f))
3067
+ return f.toString();
3068
+ if (!c && m.isBlob(f))
3061
3069
  throw new N("Blob is not supported. Use a Buffer instead.");
3062
- return f.isArrayBuffer(m) || f.isTypedArray(m) ? c && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
3070
+ return m.isArrayBuffer(f) || m.isTypedArray(f) ? c && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
3063
3071
  }
3064
- function a(m, v, k) {
3065
- let R = m;
3066
- if (m && !k && typeof m == "object") {
3067
- if (f.endsWith(v, "{}"))
3068
- v = r ? v : v.slice(0, -2), m = JSON.stringify(m);
3069
- else if (f.isArray(m) && Ht(m) || (f.isFileList(m) || f.endsWith(v, "[]")) && (R = f.toArray(m)))
3072
+ function a(f, v, w) {
3073
+ let R = f;
3074
+ if (f && !w && typeof f == "object") {
3075
+ if (m.endsWith(v, "{}"))
3076
+ v = r ? v : v.slice(0, -2), f = JSON.stringify(f);
3077
+ else if (m.isArray(f) && Ht(f) || (m.isFileList(f) || m.endsWith(v, "[]")) && (R = m.toArray(f)))
3070
3078
  return v = z5(v), R.forEach(function(V, U) {
3071
- !(f.isUndefined(V) || V === null) && t.append(
3079
+ !(m.isUndefined(V) || V === null) && t.append(
3072
3080
  // eslint-disable-next-line no-nested-ternary
3073
3081
  s === !0 ? a5([v], U, C) : s === null ? v : v + "[]",
3074
3082
  d(V)
3075
3083
  );
3076
3084
  }), !1;
3077
3085
  }
3078
- return U2(m) ? !0 : (t.append(a5(k, v, C), d(m)), !1);
3086
+ return U2(f) ? !0 : (t.append(a5(w, v, C), d(f)), !1);
3079
3087
  }
3080
3088
  const p = [], S = Object.assign(yt, {
3081
3089
  defaultVisitor: a,
3082
3090
  convertValue: d,
3083
3091
  isVisitable: U2
3084
3092
  });
3085
- function w(m, v) {
3086
- if (!f.isUndefined(m)) {
3087
- if (p.indexOf(m) !== -1)
3093
+ function k(f, v) {
3094
+ if (!m.isUndefined(f)) {
3095
+ if (p.indexOf(f) !== -1)
3088
3096
  throw Error("Circular reference detected in " + v.join("."));
3089
- p.push(m), f.forEach(m, function(R, M) {
3090
- (!(f.isUndefined(R) || R === null) && o.call(
3097
+ p.push(f), m.forEach(f, function(R, M) {
3098
+ (!(m.isUndefined(R) || R === null) && o.call(
3091
3099
  t,
3092
3100
  R,
3093
- f.isString(M) ? M.trim() : M,
3101
+ m.isString(M) ? M.trim() : M,
3094
3102
  v,
3095
3103
  S
3096
- )) === !0 && w(R, v ? v.concat(M) : [M]);
3104
+ )) === !0 && k(R, v ? v.concat(M) : [M]);
3097
3105
  }), p.pop();
3098
3106
  }
3099
3107
  }
3100
- if (!f.isObject(e))
3108
+ if (!m.isObject(e))
3101
3109
  throw new TypeError("data must be an object");
3102
- return w(e), t;
3110
+ return k(e), t;
3103
3111
  }
3104
3112
  function d5(e) {
3105
3113
  const t = {
@@ -3137,12 +3145,12 @@ function e9(e, t, n) {
3137
3145
  if (!t)
3138
3146
  return e;
3139
3147
  const r = n && n.encode || bt;
3140
- f.isFunction(n) && (n = {
3148
+ m.isFunction(n) && (n = {
3141
3149
  serialize: n
3142
3150
  });
3143
3151
  const o = n && n.serialize;
3144
3152
  let C;
3145
- if (o ? C = o(t, n) : C = f.isURLSearchParams(t) ? t.toString() : new F2(t, n).toString(r), C) {
3153
+ if (o ? C = o(t, n) : C = m.isURLSearchParams(t) ? t.toString() : new F2(t, n).toString(r), C) {
3146
3154
  const s = e.indexOf("#");
3147
3155
  s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + C;
3148
3156
  }
@@ -3197,7 +3205,7 @@ class u5 {
3197
3205
  * @returns {void}
3198
3206
  */
3199
3207
  forEach(t) {
3200
- f.forEach(this.handlers, function(r) {
3208
+ m.forEach(this.handlers, function(r) {
3201
3209
  r !== null && t(r);
3202
3210
  });
3203
3211
  }
@@ -3229,13 +3237,13 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Bt
3229
3237
  function Ot(e, t) {
3230
3238
  return f2(e, new z.classes.URLSearchParams(), {
3231
3239
  visitor: function(n, r, o, C) {
3232
- return z.isNode && f.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : C.defaultVisitor.apply(this, arguments);
3240
+ return z.isNode && m.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : C.defaultVisitor.apply(this, arguments);
3233
3241
  },
3234
3242
  ...t
3235
3243
  });
3236
3244
  }
3237
3245
  function _t(e) {
3238
- return f.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
3246
+ return m.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
3239
3247
  }
3240
3248
  function Gt(e) {
3241
3249
  const t = {}, n = Object.keys(e);
@@ -3251,20 +3259,20 @@ function n9(e) {
3251
3259
  let s = n[C++];
3252
3260
  if (s === "__proto__") return !0;
3253
3261
  const i = Number.isFinite(+s), c = C >= n.length;
3254
- return s = !s && f.isArray(o) ? o.length : s, c ? (f.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !i) : ((!o[s] || !f.isObject(o[s])) && (o[s] = []), t(n, r, o[s], C) && f.isArray(o[s]) && (o[s] = Gt(o[s])), !i);
3262
+ return s = !s && m.isArray(o) ? o.length : s, c ? (m.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !i) : ((!o[s] || !m.isObject(o[s])) && (o[s] = []), t(n, r, o[s], C) && m.isArray(o[s]) && (o[s] = Gt(o[s])), !i);
3255
3263
  }
3256
- if (f.isFormData(e) && f.isFunction(e.entries)) {
3264
+ if (m.isFormData(e) && m.isFunction(e.entries)) {
3257
3265
  const n = {};
3258
- return f.forEachEntry(e, (r, o) => {
3266
+ return m.forEachEntry(e, (r, o) => {
3259
3267
  t(_t(r), o, n, 0);
3260
3268
  }), n;
3261
3269
  }
3262
3270
  return null;
3263
3271
  }
3264
3272
  function Ft(e, t, n) {
3265
- if (f.isString(e))
3273
+ if (m.isString(e))
3266
3274
  try {
3267
- return (t || JSON.parse)(e), f.trim(e);
3275
+ return (t || JSON.parse)(e), m.trim(e);
3268
3276
  } catch (r) {
3269
3277
  if (r.name !== "SyntaxError")
3270
3278
  throw r;
@@ -3275,20 +3283,20 @@ const D1 = {
3275
3283
  transitional: t9,
3276
3284
  adapter: ["xhr", "http", "fetch"],
3277
3285
  transformRequest: [function(t, n) {
3278
- const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, C = f.isObject(t);
3279
- if (C && f.isHTMLForm(t) && (t = new FormData(t)), f.isFormData(t))
3286
+ const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, C = m.isObject(t);
3287
+ if (C && m.isHTMLForm(t) && (t = new FormData(t)), m.isFormData(t))
3280
3288
  return o ? JSON.stringify(n9(t)) : t;
3281
- if (f.isArrayBuffer(t) || f.isBuffer(t) || f.isStream(t) || f.isFile(t) || f.isBlob(t) || f.isReadableStream(t))
3289
+ if (m.isArrayBuffer(t) || m.isBuffer(t) || m.isStream(t) || m.isFile(t) || m.isBlob(t) || m.isReadableStream(t))
3282
3290
  return t;
3283
- if (f.isArrayBufferView(t))
3291
+ if (m.isArrayBufferView(t))
3284
3292
  return t.buffer;
3285
- if (f.isURLSearchParams(t))
3293
+ if (m.isURLSearchParams(t))
3286
3294
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
3287
3295
  let i;
3288
3296
  if (C) {
3289
3297
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
3290
3298
  return Ot(t, this.formSerializer).toString();
3291
- if ((i = f.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
3299
+ if ((i = m.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
3292
3300
  const c = this.env && this.env.FormData;
3293
3301
  return f2(
3294
3302
  i ? { "files[]": t } : t,
@@ -3301,9 +3309,9 @@ const D1 = {
3301
3309
  }],
3302
3310
  transformResponse: [function(t) {
3303
3311
  const n = this.transitional || D1.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
3304
- if (f.isResponse(t) || f.isReadableStream(t))
3312
+ if (m.isResponse(t) || m.isReadableStream(t))
3305
3313
  return t;
3306
- if (t && f.isString(t) && (r && !this.responseType || o)) {
3314
+ if (t && m.isString(t) && (r && !this.responseType || o)) {
3307
3315
  const s = !(n && n.silentJSONParsing) && o;
3308
3316
  try {
3309
3317
  return JSON.parse(t, this.parseReviver);
@@ -3337,10 +3345,10 @@ const D1 = {
3337
3345
  }
3338
3346
  }
3339
3347
  };
3340
- f.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
3348
+ m.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
3341
3349
  D1.headers[e] = {};
3342
3350
  });
3343
- const qt = f.toObjectSet([
3351
+ const qt = m.toObjectSet([
3344
3352
  "age",
3345
3353
  "authorization",
3346
3354
  "content-length",
@@ -3370,7 +3378,7 @@ function j1(e) {
3370
3378
  return e && String(e).trim().toLowerCase();
3371
3379
  }
3372
3380
  function t2(e) {
3373
- return e === !1 || e == null ? e : f.isArray(e) ? e.map(t2) : String(e);
3381
+ return e === !1 || e == null ? e : m.isArray(e) ? e.map(t2) : String(e);
3374
3382
  }
3375
3383
  function Pt(e) {
3376
3384
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -3381,12 +3389,12 @@ function Pt(e) {
3381
3389
  }
3382
3390
  const Wt = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
3383
3391
  function M2(e, t, n, r, o) {
3384
- if (f.isFunction(r))
3392
+ if (m.isFunction(r))
3385
3393
  return r.call(this, t, n);
3386
- if (o && (t = n), !!f.isString(t)) {
3387
- if (f.isString(r))
3394
+ if (o && (t = n), !!m.isString(t)) {
3395
+ if (m.isString(r))
3388
3396
  return t.indexOf(r) !== -1;
3389
- if (f.isRegExp(r))
3397
+ if (m.isRegExp(r))
3390
3398
  return r.test(t);
3391
3399
  }
3392
3400
  }
@@ -3394,7 +3402,7 @@ function Yt(e) {
3394
3402
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
3395
3403
  }
3396
3404
  function Qt(e, t) {
3397
- const n = f.toCamelCase(" " + t);
3405
+ const n = m.toCamelCase(" " + t);
3398
3406
  ["get", "set", "has"].forEach((r) => {
3399
3407
  Object.defineProperty(e, r + n, {
3400
3408
  value: function(o, C, s) {
@@ -3414,20 +3422,20 @@ let t1 = class {
3414
3422
  const a = j1(c);
3415
3423
  if (!a)
3416
3424
  throw new Error("header name must be a non-empty string");
3417
- const p = f.findKey(o, a);
3425
+ const p = m.findKey(o, a);
3418
3426
  (!p || o[p] === void 0 || d === !0 || d === void 0 && o[p] !== !1) && (o[p || c] = t2(i));
3419
3427
  }
3420
- const s = (i, c) => f.forEach(i, (d, a) => C(d, a, c));
3421
- if (f.isPlainObject(t) || t instanceof this.constructor)
3428
+ const s = (i, c) => m.forEach(i, (d, a) => C(d, a, c));
3429
+ if (m.isPlainObject(t) || t instanceof this.constructor)
3422
3430
  s(t, n);
3423
- else if (f.isString(t) && (t = t.trim()) && !Wt(t))
3431
+ else if (m.isString(t) && (t = t.trim()) && !Wt(t))
3424
3432
  s(Dt(t), n);
3425
- else if (f.isObject(t) && f.isIterable(t)) {
3433
+ else if (m.isObject(t) && m.isIterable(t)) {
3426
3434
  let i = {}, c, d;
3427
3435
  for (const a of t) {
3428
- if (!f.isArray(a))
3436
+ if (!m.isArray(a))
3429
3437
  throw TypeError("Object iterator must return a key-value pair");
3430
- i[d = a[0]] = (c = i[d]) ? f.isArray(c) ? [...c, a[1]] : [c, a[1]] : a[1];
3438
+ i[d = a[0]] = (c = i[d]) ? m.isArray(c) ? [...c, a[1]] : [c, a[1]] : a[1];
3431
3439
  }
3432
3440
  s(i, n);
3433
3441
  } else
@@ -3436,16 +3444,16 @@ let t1 = class {
3436
3444
  }
3437
3445
  get(t, n) {
3438
3446
  if (t = j1(t), t) {
3439
- const r = f.findKey(this, t);
3447
+ const r = m.findKey(this, t);
3440
3448
  if (r) {
3441
3449
  const o = this[r];
3442
3450
  if (!n)
3443
3451
  return o;
3444
3452
  if (n === !0)
3445
3453
  return Pt(o);
3446
- if (f.isFunction(n))
3454
+ if (m.isFunction(n))
3447
3455
  return n.call(this, o, r);
3448
- if (f.isRegExp(n))
3456
+ if (m.isRegExp(n))
3449
3457
  return n.exec(o);
3450
3458
  throw new TypeError("parser must be boolean|regexp|function");
3451
3459
  }
@@ -3453,7 +3461,7 @@ let t1 = class {
3453
3461
  }
3454
3462
  has(t, n) {
3455
3463
  if (t = j1(t), t) {
3456
- const r = f.findKey(this, t);
3464
+ const r = m.findKey(this, t);
3457
3465
  return !!(r && this[r] !== void 0 && (!n || M2(this, this[r], r, n)));
3458
3466
  }
3459
3467
  return !1;
@@ -3463,11 +3471,11 @@ let t1 = class {
3463
3471
  let o = !1;
3464
3472
  function C(s) {
3465
3473
  if (s = j1(s), s) {
3466
- const i = f.findKey(r, s);
3474
+ const i = m.findKey(r, s);
3467
3475
  i && (!n || M2(r, r[i], i, n)) && (delete r[i], o = !0);
3468
3476
  }
3469
3477
  }
3470
- return f.isArray(t) ? t.forEach(C) : C(t), o;
3478
+ return m.isArray(t) ? t.forEach(C) : C(t), o;
3471
3479
  }
3472
3480
  clear(t) {
3473
3481
  const n = Object.keys(this);
@@ -3480,8 +3488,8 @@ let t1 = class {
3480
3488
  }
3481
3489
  normalize(t) {
3482
3490
  const n = this, r = {};
3483
- return f.forEach(this, (o, C) => {
3484
- const s = f.findKey(r, C);
3491
+ return m.forEach(this, (o, C) => {
3492
+ const s = m.findKey(r, C);
3485
3493
  if (s) {
3486
3494
  n[s] = t2(o), delete n[C];
3487
3495
  return;
@@ -3495,8 +3503,8 @@ let t1 = class {
3495
3503
  }
3496
3504
  toJSON(t) {
3497
3505
  const n = /* @__PURE__ */ Object.create(null);
3498
- return f.forEach(this, (r, o) => {
3499
- r != null && r !== !1 && (n[o] = t && f.isArray(r) ? r.join(", ") : r);
3506
+ return m.forEach(this, (r, o) => {
3507
+ r != null && r !== !1 && (n[o] = t && m.isArray(r) ? r.join(", ") : r);
3500
3508
  }), n;
3501
3509
  }
3502
3510
  [Symbol.iterator]() {
@@ -3527,11 +3535,11 @@ let t1 = class {
3527
3535
  const i = j1(s);
3528
3536
  r[i] || (Qt(o, s), r[i] = !0);
3529
3537
  }
3530
- return f.isArray(t) ? t.forEach(C) : C(t), this;
3538
+ return m.isArray(t) ? t.forEach(C) : C(t), this;
3531
3539
  }
3532
3540
  };
3533
3541
  t1.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
3534
- f.reduceDescriptors(t1.prototype, ({ value: e }, t) => {
3542
+ m.reduceDescriptors(t1.prototype, ({ value: e }, t) => {
3535
3543
  let n = t[0].toUpperCase() + t.slice(1);
3536
3544
  return {
3537
3545
  get: () => e,
@@ -3540,11 +3548,11 @@ f.reduceDescriptors(t1.prototype, ({ value: e }, t) => {
3540
3548
  }
3541
3549
  };
3542
3550
  });
3543
- f.freezeMethods(t1);
3551
+ m.freezeMethods(t1);
3544
3552
  function V2(e, t) {
3545
3553
  const n = this || D1, r = t || n, o = t1.from(r.headers);
3546
3554
  let C = r.data;
3547
- return f.forEach(e, function(i) {
3555
+ return m.forEach(e, function(i) {
3548
3556
  C = i.call(n, C, o.normalize(), t ? t.status : void 0);
3549
3557
  }), o.normalize(), C;
3550
3558
  }
@@ -3554,7 +3562,7 @@ function r9(e) {
3554
3562
  function I1(e, t, n) {
3555
3563
  N.call(this, e ?? "canceled", N.ERR_CANCELED, t, n), this.name = "CanceledError";
3556
3564
  }
3557
- f.inherits(I1, N, {
3565
+ m.inherits(I1, N, {
3558
3566
  __CANCEL__: !0
3559
3567
  });
3560
3568
  function o9(e, t, n) {
@@ -3583,8 +3591,8 @@ function zt(e, t) {
3583
3591
  S += n[p++], p = p % e;
3584
3592
  if (o = (o + 1) % e, o === C && (C = (C + 1) % e), d - s < t)
3585
3593
  return;
3586
- const w = a && d - a;
3587
- return w ? Math.round(S * 1e3 / w) : void 0;
3594
+ const k = a && d - a;
3595
+ return k ? Math.round(S * 1e3 / k) : void 0;
3588
3596
  };
3589
3597
  }
3590
3598
  function $t(e, t) {
@@ -3625,7 +3633,7 @@ const C2 = (e, t, n = 3) => {
3625
3633
  total: e,
3626
3634
  loaded: r
3627
3635
  }), t[1]];
3628
- }, f5 = (e) => (...t) => f.asap(() => e(...t)), en = z.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, z.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
3636
+ }, f5 = (e) => (...t) => m.asap(() => e(...t)), en = z.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, z.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
3629
3637
  new URL(z.origin),
3630
3638
  z.navigator && /(msie|trident)/i.test(z.navigator.userAgent)
3631
3639
  ) : () => !0, tn = z.hasStandardBrowserEnv ? (
@@ -3634,7 +3642,7 @@ const C2 = (e, t, n = 3) => {
3634
3642
  write(e, t, n, r, o, C, s) {
3635
3643
  if (typeof document > "u") return;
3636
3644
  const i = [`${e}=${encodeURIComponent(t)}`];
3637
- f.isNumber(n) && i.push(`expires=${new Date(n).toUTCString()}`), f.isString(r) && i.push(`path=${r}`), f.isString(o) && i.push(`domain=${o}`), C === !0 && i.push("secure"), f.isString(s) && i.push(`SameSite=${s}`), document.cookie = i.join("; ");
3645
+ m.isNumber(n) && i.push(`expires=${new Date(n).toUTCString()}`), m.isString(r) && i.push(`path=${r}`), m.isString(o) && i.push(`domain=${o}`), C === !0 && i.push("secure"), m.isString(s) && i.push(`SameSite=${s}`), document.cookie = i.join("; ");
3638
3646
  },
3639
3647
  read(e) {
3640
3648
  if (typeof document > "u") return null;
@@ -3672,21 +3680,21 @@ function g1(e, t) {
3672
3680
  t = t || {};
3673
3681
  const n = {};
3674
3682
  function r(d, a, p, S) {
3675
- return f.isPlainObject(d) && f.isPlainObject(a) ? f.merge.call({ caseless: S }, d, a) : f.isPlainObject(a) ? f.merge({}, a) : f.isArray(a) ? a.slice() : a;
3683
+ return m.isPlainObject(d) && m.isPlainObject(a) ? m.merge.call({ caseless: S }, d, a) : m.isPlainObject(a) ? m.merge({}, a) : m.isArray(a) ? a.slice() : a;
3676
3684
  }
3677
3685
  function o(d, a, p, S) {
3678
- if (f.isUndefined(a)) {
3679
- if (!f.isUndefined(d))
3686
+ if (m.isUndefined(a)) {
3687
+ if (!m.isUndefined(d))
3680
3688
  return r(void 0, d, p, S);
3681
3689
  } else return r(d, a, p, S);
3682
3690
  }
3683
3691
  function C(d, a) {
3684
- if (!f.isUndefined(a))
3692
+ if (!m.isUndefined(a))
3685
3693
  return r(void 0, a);
3686
3694
  }
3687
3695
  function s(d, a) {
3688
- if (f.isUndefined(a)) {
3689
- if (!f.isUndefined(d))
3696
+ if (m.isUndefined(a)) {
3697
+ if (!m.isUndefined(d))
3690
3698
  return r(void 0, d);
3691
3699
  } else return r(void 0, a);
3692
3700
  }
@@ -3727,9 +3735,9 @@ function g1(e, t) {
3727
3735
  validateStatus: i,
3728
3736
  headers: (d, a, p) => o(S5(d), S5(a), p, !0)
3729
3737
  };
3730
- return f.forEach(Object.keys({ ...e, ...t }), function(a) {
3738
+ return m.forEach(Object.keys({ ...e, ...t }), function(a) {
3731
3739
  const p = c[a] || o, S = p(e[a], t[a], a);
3732
- f.isUndefined(S) && p !== i || (n[a] = S);
3740
+ m.isUndefined(S) && p !== i || (n[a] = S);
3733
3741
  }), n;
3734
3742
  }
3735
3743
  const C9 = (e) => {
@@ -3738,17 +3746,17 @@ const C9 = (e) => {
3738
3746
  if (t.headers = s = t1.from(s), t.url = e9(l9(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), i && s.set(
3739
3747
  "Authorization",
3740
3748
  "Basic " + btoa((i.username || "") + ":" + (i.password ? unescape(encodeURIComponent(i.password)) : ""))
3741
- ), f.isFormData(n)) {
3749
+ ), m.isFormData(n)) {
3742
3750
  if (z.hasStandardBrowserEnv || z.hasStandardBrowserWebWorkerEnv)
3743
3751
  s.setContentType(void 0);
3744
- else if (f.isFunction(n.getHeaders)) {
3752
+ else if (m.isFunction(n.getHeaders)) {
3745
3753
  const c = n.getHeaders(), d = ["content-type", "content-length"];
3746
3754
  Object.entries(c).forEach(([a, p]) => {
3747
3755
  d.includes(a.toLowerCase()) && s.set(a, p);
3748
3756
  });
3749
3757
  }
3750
3758
  }
3751
- if (z.hasStandardBrowserEnv && (r && f.isFunction(r) && (r = r(t)), r || r !== !1 && en(t.url))) {
3759
+ if (z.hasStandardBrowserEnv && (r && m.isFunction(r) && (r = r(t)), r || r !== !1 && en(t.url))) {
3752
3760
  const c = o && C && tn.read(C);
3753
3761
  c && s.set(o, c);
3754
3762
  }
@@ -3758,58 +3766,58 @@ const C9 = (e) => {
3758
3766
  const o = C9(e);
3759
3767
  let C = o.data;
3760
3768
  const s = t1.from(o.headers).normalize();
3761
- let { responseType: i, onUploadProgress: c, onDownloadProgress: d } = o, a, p, S, w, m;
3769
+ let { responseType: i, onUploadProgress: c, onDownloadProgress: d } = o, a, p, S, k, f;
3762
3770
  function v() {
3763
- w && w(), m && m(), o.cancelToken && o.cancelToken.unsubscribe(a), o.signal && o.signal.removeEventListener("abort", a);
3771
+ k && k(), f && f(), o.cancelToken && o.cancelToken.unsubscribe(a), o.signal && o.signal.removeEventListener("abort", a);
3764
3772
  }
3765
- let k = new XMLHttpRequest();
3766
- k.open(o.method.toUpperCase(), o.url, !0), k.timeout = o.timeout;
3773
+ let w = new XMLHttpRequest();
3774
+ w.open(o.method.toUpperCase(), o.url, !0), w.timeout = o.timeout;
3767
3775
  function R() {
3768
- if (!k)
3776
+ if (!w)
3769
3777
  return;
3770
3778
  const V = t1.from(
3771
- "getAllResponseHeaders" in k && k.getAllResponseHeaders()
3779
+ "getAllResponseHeaders" in w && w.getAllResponseHeaders()
3772
3780
  ), E = {
3773
- data: !i || i === "text" || i === "json" ? k.responseText : k.response,
3774
- status: k.status,
3775
- statusText: k.statusText,
3781
+ data: !i || i === "text" || i === "json" ? w.responseText : w.response,
3782
+ status: w.status,
3783
+ statusText: w.statusText,
3776
3784
  headers: V,
3777
3785
  config: e,
3778
- request: k
3786
+ request: w
3779
3787
  };
3780
3788
  o9(function(L) {
3781
3789
  n(L), v();
3782
3790
  }, function(L) {
3783
3791
  r(L), v();
3784
- }, E), k = null;
3792
+ }, E), w = null;
3785
3793
  }
3786
- "onloadend" in k ? k.onloadend = R : k.onreadystatechange = function() {
3787
- !k || k.readyState !== 4 || k.status === 0 && !(k.responseURL && k.responseURL.indexOf("file:") === 0) || setTimeout(R);
3788
- }, k.onabort = function() {
3789
- k && (r(new N("Request aborted", N.ECONNABORTED, e, k)), k = null);
3790
- }, k.onerror = function(U) {
3791
- const E = U && U.message ? U.message : "Network Error", x = new N(E, N.ERR_NETWORK, e, k);
3792
- x.event = U || null, r(x), k = null;
3793
- }, k.ontimeout = function() {
3794
+ "onloadend" in w ? w.onloadend = R : w.onreadystatechange = function() {
3795
+ !w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(R);
3796
+ }, w.onabort = function() {
3797
+ w && (r(new N("Request aborted", N.ECONNABORTED, e, w)), w = null);
3798
+ }, w.onerror = function(U) {
3799
+ const E = U && U.message ? U.message : "Network Error", x = new N(E, N.ERR_NETWORK, e, w);
3800
+ x.event = U || null, r(x), w = null;
3801
+ }, w.ontimeout = function() {
3794
3802
  let U = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
3795
3803
  const E = o.transitional || t9;
3796
3804
  o.timeoutErrorMessage && (U = o.timeoutErrorMessage), r(new N(
3797
3805
  U,
3798
3806
  E.clarifyTimeoutError ? N.ETIMEDOUT : N.ECONNABORTED,
3799
3807
  e,
3800
- k
3801
- )), k = null;
3802
- }, C === void 0 && s.setContentType(null), "setRequestHeader" in k && f.forEach(s.toJSON(), function(U, E) {
3803
- k.setRequestHeader(E, U);
3804
- }), f.isUndefined(o.withCredentials) || (k.withCredentials = !!o.withCredentials), i && i !== "json" && (k.responseType = o.responseType), d && ([S, m] = C2(d, !0), k.addEventListener("progress", S)), c && k.upload && ([p, w] = C2(c), k.upload.addEventListener("progress", p), k.upload.addEventListener("loadend", w)), (o.cancelToken || o.signal) && (a = (V) => {
3805
- k && (r(!V || V.type ? new I1(null, e, k) : V), k.abort(), k = null);
3808
+ w
3809
+ )), w = null;
3810
+ }, C === void 0 && s.setContentType(null), "setRequestHeader" in w && m.forEach(s.toJSON(), function(U, E) {
3811
+ w.setRequestHeader(E, U);
3812
+ }), m.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), i && i !== "json" && (w.responseType = o.responseType), d && ([S, f] = C2(d, !0), w.addEventListener("progress", S)), c && w.upload && ([p, k] = C2(c), w.upload.addEventListener("progress", p), w.upload.addEventListener("loadend", k)), (o.cancelToken || o.signal) && (a = (V) => {
3813
+ w && (r(!V || V.type ? new I1(null, e, w) : V), w.abort(), w = null);
3806
3814
  }, o.cancelToken && o.cancelToken.subscribe(a), o.signal && (o.signal.aborted ? a() : o.signal.addEventListener("abort", a)));
3807
3815
  const M = Xt(o.url);
3808
3816
  if (M && z.protocols.indexOf(M) === -1) {
3809
3817
  r(new N("Unsupported protocol " + M + ":", N.ERR_BAD_REQUEST, e));
3810
3818
  return;
3811
3819
  }
3812
- k.send(C || null);
3820
+ w.send(C || null);
3813
3821
  });
3814
3822
  }, Cn = (e, t) => {
3815
3823
  const { length: n } = e = e ? e.filter(Boolean) : [];
@@ -3832,7 +3840,7 @@ const C9 = (e) => {
3832
3840
  };
3833
3841
  e.forEach((d) => d.addEventListener("abort", C));
3834
3842
  const { signal: c } = r;
3835
- return c.unsubscribe = () => f.asap(i), c;
3843
+ return c.unsubscribe = () => m.asap(i), c;
3836
3844
  }
3837
3845
  }, sn = function* (e, t) {
3838
3846
  let n = e.byteLength;
@@ -3891,68 +3899,68 @@ const C9 = (e) => {
3891
3899
  }, {
3892
3900
  highWaterMark: 2
3893
3901
  });
3894
- }, w5 = 64 * 1024, { isFunction: z1 } = f, dn = (({ Request: e, Response: t }) => ({
3902
+ }, w5 = 64 * 1024, { isFunction: z1 } = m, dn = (({ Request: e, Response: t }) => ({
3895
3903
  Request: e,
3896
3904
  Response: t
3897
- }))(f.global), {
3905
+ }))(m.global), {
3898
3906
  ReadableStream: k5,
3899
3907
  TextEncoder: v5
3900
- } = f.global, g5 = (e, ...t) => {
3908
+ } = m.global, g5 = (e, ...t) => {
3901
3909
  try {
3902
3910
  return !!e(...t);
3903
3911
  } catch {
3904
3912
  return !1;
3905
3913
  }
3906
3914
  }, un = (e) => {
3907
- e = f.merge.call({
3915
+ e = m.merge.call({
3908
3916
  skipUndefined: !0
3909
3917
  }, dn, e);
3910
3918
  const { fetch: t, Request: n, Response: r } = e, o = t ? z1(t) : typeof fetch == "function", C = z1(n), s = z1(r);
3911
3919
  if (!o)
3912
3920
  return !1;
3913
- const i = o && z1(k5), c = o && (typeof v5 == "function" ? /* @__PURE__ */ ((m) => (v) => m.encode(v))(new v5()) : async (m) => new Uint8Array(await new n(m).arrayBuffer())), d = C && i && g5(() => {
3914
- let m = !1;
3921
+ const i = o && z1(k5), c = o && (typeof v5 == "function" ? /* @__PURE__ */ ((f) => (v) => f.encode(v))(new v5()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), d = C && i && g5(() => {
3922
+ let f = !1;
3915
3923
  const v = new n(z.origin, {
3916
3924
  body: new k5(),
3917
3925
  method: "POST",
3918
3926
  get duplex() {
3919
- return m = !0, "half";
3927
+ return f = !0, "half";
3920
3928
  }
3921
3929
  }).headers.has("Content-Type");
3922
- return m && !v;
3923
- }), a = s && i && g5(() => f.isReadableStream(new r("").body)), p = {
3924
- stream: a && ((m) => m.body)
3930
+ return f && !v;
3931
+ }), a = s && i && g5(() => m.isReadableStream(new r("").body)), p = {
3932
+ stream: a && ((f) => f.body)
3925
3933
  };
3926
- o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((m) => {
3927
- !p[m] && (p[m] = (v, k) => {
3928
- let R = v && v[m];
3934
+ o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
3935
+ !p[f] && (p[f] = (v, w) => {
3936
+ let R = v && v[f];
3929
3937
  if (R)
3930
3938
  return R.call(v);
3931
- throw new N(`Response type '${m}' is not supported`, N.ERR_NOT_SUPPORT, k);
3939
+ throw new N(`Response type '${f}' is not supported`, N.ERR_NOT_SUPPORT, w);
3932
3940
  });
3933
3941
  });
3934
- const S = async (m) => {
3935
- if (m == null)
3942
+ const S = async (f) => {
3943
+ if (f == null)
3936
3944
  return 0;
3937
- if (f.isBlob(m))
3938
- return m.size;
3939
- if (f.isSpecCompliantForm(m))
3945
+ if (m.isBlob(f))
3946
+ return f.size;
3947
+ if (m.isSpecCompliantForm(f))
3940
3948
  return (await new n(z.origin, {
3941
3949
  method: "POST",
3942
- body: m
3950
+ body: f
3943
3951
  }).arrayBuffer()).byteLength;
3944
- if (f.isArrayBufferView(m) || f.isArrayBuffer(m))
3945
- return m.byteLength;
3946
- if (f.isURLSearchParams(m) && (m = m + ""), f.isString(m))
3947
- return (await c(m)).byteLength;
3948
- }, w = async (m, v) => {
3949
- const k = f.toFiniteNumber(m.getContentLength());
3950
- return k ?? S(v);
3952
+ if (m.isArrayBufferView(f) || m.isArrayBuffer(f))
3953
+ return f.byteLength;
3954
+ if (m.isURLSearchParams(f) && (f = f + ""), m.isString(f))
3955
+ return (await c(f)).byteLength;
3956
+ }, k = async (f, v) => {
3957
+ const w = m.toFiniteNumber(f.getContentLength());
3958
+ return w ?? S(v);
3951
3959
  };
3952
- return async (m) => {
3960
+ return async (f) => {
3953
3961
  let {
3954
3962
  url: v,
3955
- method: k,
3963
+ method: w,
3956
3964
  data: R,
3957
3965
  signal: M,
3958
3966
  cancelToken: V,
@@ -3963,7 +3971,7 @@ const C9 = (e) => {
3963
3971
  headers: A,
3964
3972
  withCredentials: J = "same-origin",
3965
3973
  fetchOptions: K
3966
- } = C9(m), _ = t || fetch;
3974
+ } = C9(f), _ = t || fetch;
3967
3975
  L = L ? (L + "").toLowerCase() : "text";
3968
3976
  let b = Cn([M, V && V.toAbortSignal()], U), j = null;
3969
3977
  const Z = b && b.unsubscribe && (() => {
@@ -3971,13 +3979,13 @@ const C9 = (e) => {
3971
3979
  });
3972
3980
  let y;
3973
3981
  try {
3974
- if (x && d && k !== "get" && k !== "head" && (y = await w(A, R)) !== 0) {
3982
+ if (x && d && w !== "get" && w !== "head" && (y = await k(A, R)) !== 0) {
3975
3983
  let h = new n(v, {
3976
3984
  method: "POST",
3977
3985
  body: R,
3978
3986
  duplex: "half"
3979
3987
  }), g;
3980
- if (f.isFormData(R) && (g = h.headers.get("content-type")) && A.setContentType(g), h.body) {
3988
+ if (m.isFormData(R) && (g = h.headers.get("content-type")) && A.setContentType(g), h.body) {
3981
3989
  const [H, B] = m5(
3982
3990
  y,
3983
3991
  C2(f5(x))
@@ -3985,54 +3993,54 @@ const C9 = (e) => {
3985
3993
  R = h5(h.body, w5, H, B);
3986
3994
  }
3987
3995
  }
3988
- f.isString(J) || (J = J ? "include" : "omit");
3996
+ m.isString(J) || (J = J ? "include" : "omit");
3989
3997
  const I = C && "credentials" in n.prototype, G = {
3990
3998
  ...K,
3991
3999
  signal: b,
3992
- method: k.toUpperCase(),
4000
+ method: w.toUpperCase(),
3993
4001
  headers: A.normalize().toJSON(),
3994
4002
  body: R,
3995
4003
  duplex: "half",
3996
4004
  credentials: I ? J : void 0
3997
4005
  };
3998
4006
  j = C && new n(v, G);
3999
- let W = await (C ? _(j, K) : _(v, G));
4007
+ let Y = await (C ? _(j, K) : _(v, G));
4000
4008
  const c1 = a && (L === "stream" || L === "response");
4001
4009
  if (a && (E || c1 && Z)) {
4002
4010
  const h = {};
4003
4011
  ["status", "statusText", "headers"].forEach((n1) => {
4004
- h[n1] = W[n1];
4012
+ h[n1] = Y[n1];
4005
4013
  });
4006
- const g = f.toFiniteNumber(W.headers.get("content-length")), [H, B] = E && m5(
4014
+ const g = m.toFiniteNumber(Y.headers.get("content-length")), [H, B] = E && m5(
4007
4015
  g,
4008
4016
  C2(f5(E), !0)
4009
4017
  ) || [];
4010
- W = new r(
4011
- h5(W.body, w5, H, () => {
4018
+ Y = new r(
4019
+ h5(Y.body, w5, H, () => {
4012
4020
  B && B(), Z && Z();
4013
4021
  }),
4014
4022
  h
4015
4023
  );
4016
4024
  }
4017
4025
  L = L || "text";
4018
- let a1 = await p[f.findKey(p, L) || "text"](W, m);
4026
+ let a1 = await p[m.findKey(p, L) || "text"](Y, f);
4019
4027
  return !c1 && Z && Z(), await new Promise((h, g) => {
4020
4028
  o9(h, g, {
4021
4029
  data: a1,
4022
- headers: t1.from(W.headers),
4023
- status: W.status,
4024
- statusText: W.statusText,
4025
- config: m,
4030
+ headers: t1.from(Y.headers),
4031
+ status: Y.status,
4032
+ statusText: Y.statusText,
4033
+ config: f,
4026
4034
  request: j
4027
4035
  });
4028
4036
  });
4029
4037
  } catch (I) {
4030
4038
  throw Z && Z(), I && I.name === "TypeError" && /Load failed|fetch/i.test(I.message) ? Object.assign(
4031
- new N("Network Error", N.ERR_NETWORK, m, j),
4039
+ new N("Network Error", N.ERR_NETWORK, f, j),
4032
4040
  {
4033
4041
  cause: I.cause || I
4034
4042
  }
4035
- ) : N.from(I, I && I.code, m, j);
4043
+ ) : N.from(I, I && I.code, f, j);
4036
4044
  }
4037
4045
  };
4038
4046
  }, pn = /* @__PURE__ */ new Map(), s9 = (e) => {
@@ -4055,7 +4063,7 @@ const D2 = {
4055
4063
  get: s9
4056
4064
  }
4057
4065
  };
4058
- f.forEach(D2, (e, t) => {
4066
+ m.forEach(D2, (e, t) => {
4059
4067
  if (e) {
4060
4068
  try {
4061
4069
  Object.defineProperty(e, "name", { value: t });
@@ -4064,9 +4072,9 @@ f.forEach(D2, (e, t) => {
4064
4072
  Object.defineProperty(e, "adapterName", { value: t });
4065
4073
  }
4066
4074
  });
4067
- const J5 = (e) => `- ${e}`, mn = (e) => f.isFunction(e) || e === null || e === !1;
4075
+ const J5 = (e) => `- ${e}`, mn = (e) => m.isFunction(e) || e === null || e === !1;
4068
4076
  function fn(e, t) {
4069
- e = f.isArray(e) ? e : [e];
4077
+ e = m.isArray(e) ? e : [e];
4070
4078
  const { length: n } = e;
4071
4079
  let r, o;
4072
4080
  const C = {};
@@ -4075,7 +4083,7 @@ function fn(e, t) {
4075
4083
  let i;
4076
4084
  if (o = r, !mn(r) && (o = D2[(i = String(r)).toLowerCase()], o === void 0))
4077
4085
  throw new N(`Unknown adapter '${i}'`);
4078
- if (o && (f.isFunction(o) || (o = o.get(t))))
4086
+ if (o && (m.isFunction(o) || (o = o.get(t))))
4079
4087
  break;
4080
4088
  C[i || "#" + s] = o;
4081
4089
  }
@@ -4215,7 +4223,7 @@ let v1 = class {
4215
4223
  silentJSONParsing: i1.transitional(i1.boolean),
4216
4224
  forcedJSONParsing: i1.transitional(i1.boolean),
4217
4225
  clarifyTimeoutError: i1.transitional(i1.boolean)
4218
- }, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
4226
+ }, !1), o != null && (m.isFunction(o) ? n.paramsSerializer = {
4219
4227
  serialize: o
4220
4228
  } : n2.assertOptions(o, {
4221
4229
  encode: i1.function,
@@ -4224,14 +4232,14 @@ let v1 = class {
4224
4232
  baseUrl: i1.spelling("baseURL"),
4225
4233
  withXsrfToken: i1.spelling("withXSRFToken")
4226
4234
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
4227
- let s = C && f.merge(
4235
+ let s = C && m.merge(
4228
4236
  C.common,
4229
4237
  C[n.method]
4230
4238
  );
4231
- C && f.forEach(
4239
+ C && m.forEach(
4232
4240
  ["delete", "get", "head", "post", "put", "patch", "common"],
4233
- (m) => {
4234
- delete C[m];
4241
+ (f) => {
4242
+ delete C[f];
4235
4243
  }
4236
4244
  ), n.headers = t1.concat(s, C);
4237
4245
  const i = [];
@@ -4245,26 +4253,26 @@ let v1 = class {
4245
4253
  });
4246
4254
  let a, p = 0, S;
4247
4255
  if (!c) {
4248
- const m = [E5.bind(this), void 0];
4249
- for (m.unshift(...i), m.push(...d), S = m.length, a = Promise.resolve(n); p < S; )
4250
- a = a.then(m[p++], m[p++]);
4256
+ const f = [E5.bind(this), void 0];
4257
+ for (f.unshift(...i), f.push(...d), S = f.length, a = Promise.resolve(n); p < S; )
4258
+ a = a.then(f[p++], f[p++]);
4251
4259
  return a;
4252
4260
  }
4253
4261
  S = i.length;
4254
- let w = n;
4262
+ let k = n;
4255
4263
  for (; p < S; ) {
4256
- const m = i[p++], v = i[p++];
4264
+ const f = i[p++], v = i[p++];
4257
4265
  try {
4258
- w = m(w);
4259
- } catch (k) {
4260
- v.call(this, k);
4266
+ k = f(k);
4267
+ } catch (w) {
4268
+ v.call(this, w);
4261
4269
  break;
4262
4270
  }
4263
4271
  }
4264
4272
  try {
4265
- a = E5.call(this, w);
4266
- } catch (m) {
4267
- return Promise.reject(m);
4273
+ a = E5.call(this, k);
4274
+ } catch (f) {
4275
+ return Promise.reject(f);
4268
4276
  }
4269
4277
  for (p = 0, S = d.length; p < S; )
4270
4278
  a = a.then(d[p++], d[p++]);
@@ -4276,7 +4284,7 @@ let v1 = class {
4276
4284
  return e9(n, t.params, t.paramsSerializer);
4277
4285
  }
4278
4286
  };
4279
- f.forEach(["delete", "get", "head", "options"], function(t) {
4287
+ m.forEach(["delete", "get", "head", "options"], function(t) {
4280
4288
  v1.prototype[t] = function(n, r) {
4281
4289
  return this.request(g1(r || {}, {
4282
4290
  method: t,
@@ -4285,7 +4293,7 @@ f.forEach(["delete", "get", "head", "options"], function(t) {
4285
4293
  }));
4286
4294
  };
4287
4295
  });
4288
- f.forEach(["post", "put", "patch"], function(t) {
4296
+ m.forEach(["post", "put", "patch"], function(t) {
4289
4297
  function n(r) {
4290
4298
  return function(C, s, i) {
4291
4299
  return this.request(g1(i || {}, {
@@ -4379,7 +4387,7 @@ function wn(e) {
4379
4387
  };
4380
4388
  }
4381
4389
  function kn(e) {
4382
- return f.isObject(e) && e.isAxiosError === !0;
4390
+ return m.isObject(e) && e.isAxiosError === !0;
4383
4391
  }
4384
4392
  const j2 = {
4385
4393
  Continue: 100,
@@ -4457,7 +4465,7 @@ Object.entries(j2).forEach(([e, t]) => {
4457
4465
  });
4458
4466
  function d9(e) {
4459
4467
  const t = new v1(e), n = _5(v1.prototype.request, t);
4460
- return f.extend(n, v1.prototype, t, { allOwnKeys: !0 }), f.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
4468
+ return m.extend(n, v1.prototype, t, { allOwnKeys: !0 }), m.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
4461
4469
  return d9(g1(e, o));
4462
4470
  }, n;
4463
4471
  }
@@ -4477,7 +4485,7 @@ D.spread = wn;
4477
4485
  D.isAxiosError = kn;
4478
4486
  D.mergeConfig = g1;
4479
4487
  D.AxiosHeaders = t1;
4480
- D.formToJSON = (e) => n9(f.isHTMLForm(e) ? new FormData(e) : e);
4488
+ D.formToJSON = (e) => n9(m.isHTMLForm(e) ? new FormData(e) : e);
4481
4489
  D.getAdapter = i9.getAdapter;
4482
4490
  D.HttpStatusCode = j2;
4483
4491
  D.default = D;