ui-mathilde-web 0.1.41 → 0.2.1

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.
@@ -1,7 +1,7 @@
1
1
  var Dy = Object.defineProperty;
2
2
  var My = (t, e, r) => e in t ? Dy(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var Q = (t, e, r) => My(t, typeof e != "symbol" ? e + "" : e, r);
4
- import Cy, { jsx as b, jsxs as K, Fragment as Vt } from "react/jsx-runtime";
4
+ import Cy, { jsx as b, jsxs as G, Fragment as Vt } from "react/jsx-runtime";
5
5
  import * as W from "react";
6
6
  import ee, { createContext as ut, useContext as rt, useState as me, useMemo as io, Children as Jn, cloneElement as bs, forwardRef as Oe, createElement as hr, isValidElement as Ey, PureComponent as Py, useRef as Kt, useImperativeHandle as Gh, useEffect as gt, useLayoutEffect as lc, useCallback as kn, useId as $n, Fragment as Kh } from "react";
7
7
  import * as Ty from "react-dom";
@@ -27,7 +27,7 @@ const Ny = "button-module__mth-btn-gray__l3gnX", Iy = "button-module__mth-btn-bl
27
27
  iconSize: l = 20
28
28
  }) => {
29
29
  const c = (d) => d ? typeof d == "string" ? /* @__PURE__ */ b("img", { src: d, alt: "icon", width: l, height: l }) : /* @__PURE__ */ b(d, { size: l }) : null;
30
- return /* @__PURE__ */ b("div", { className: `${r ? Ii["mth-btn-full"] : ""}`, children: /* @__PURE__ */ K(
30
+ return /* @__PURE__ */ b("div", { className: `${r ? Ii["mth-btn-full"] : ""}`, children: /* @__PURE__ */ G(
31
31
  "button",
32
32
  {
33
33
  type: i,
@@ -49,7 +49,7 @@ const Ny = "button-module__mth-btn-gray__l3gnX", Iy = "button-module__mth-btn-bl
49
49
  value: e,
50
50
  checked: r,
51
51
  onChange: n
52
- }) => /* @__PURE__ */ K("label", { className: ys["checkbox-container"], children: [
52
+ }) => /* @__PURE__ */ G("label", { className: ys["checkbox-container"], children: [
53
53
  /* @__PURE__ */ b(
54
54
  "input",
55
55
  {
@@ -3968,7 +3968,7 @@ const cg = ({
3968
3968
  ...a
3969
3969
  }) => {
3970
3970
  const { arrowIcon: i, flush: s, isOpen: o, setOpen: l } = lg(), c = () => typeof l < "u" && l(), d = te(ue().accordion.title, n);
3971
- return /* @__PURE__ */ K(
3971
+ return /* @__PURE__ */ G(
3972
3972
  "button",
3973
3973
  {
3974
3974
  className: Y(d.base, d.flush[s ? "on" : "off"], d.open[o ? "on" : "off"], r),
@@ -4043,7 +4043,7 @@ const gg = ({
4043
4043
  ...a
4044
4044
  }) => {
4045
4045
  const i = te(ue().avatar.groupCounter, r);
4046
- return /* @__PURE__ */ K("a", { href: e, className: Y(i.base, t), ...a, children: [
4046
+ return /* @__PURE__ */ G("a", { href: e, className: Y(i.base, t), ...a, children: [
4047
4047
  "+",
4048
4048
  n
4049
4049
  ] });
@@ -4077,8 +4077,8 @@ const mg = ({
4077
4077
  className: Y(m, g.root.img.on),
4078
4078
  "data-testid": "flowbite-avatar-img"
4079
4079
  };
4080
- return /* @__PURE__ */ K("div", { className: Y(g.root.base, n), "data-testid": "flowbite-avatar", ...h, children: [
4081
- /* @__PURE__ */ K("div", { className: "relative", children: [
4080
+ return /* @__PURE__ */ G("div", { className: Y(g.root.base, n), "data-testid": "flowbite-avatar", ...h, children: [
4081
+ /* @__PURE__ */ G("div", { className: "relative", children: [
4082
4082
  i ? typeof i == "string" ? /* @__PURE__ */ b("img", { alt: t, src: i, ...p }) : i({ alt: t, ...p }) : s ? /* @__PURE__ */ b(
4083
4083
  "div",
4084
4084
  {
@@ -4134,7 +4134,7 @@ const pg = ({
4134
4134
  theme: s = {},
4135
4135
  ...o
4136
4136
  }) => {
4137
- const l = te(ue().badge, s), c = () => /* @__PURE__ */ K(
4137
+ const l = te(ue().badge, s), c = () => /* @__PURE__ */ G(
4138
4138
  "span",
4139
4139
  {
4140
4140
  className: Y(
@@ -4164,7 +4164,7 @@ const bg = ({
4164
4164
  ...i
4165
4165
  }) => {
4166
4166
  const s = te(ue().spinner, a);
4167
- return /* @__PURE__ */ b("span", { role: "status", ...i, children: /* @__PURE__ */ K(
4167
+ return /* @__PURE__ */ b("span", { role: "status", ...i, children: /* @__PURE__ */ G(
4168
4168
  "svg",
4169
4169
  {
4170
4170
  fill: "none",
@@ -4273,7 +4273,7 @@ const xg = Oe(
4273
4273
  i && v.inner.isProcessingPadding[g],
4274
4274
  v.inner.position[h]
4275
4275
  ),
4276
- children: /* @__PURE__ */ K(Vt, { children: [
4276
+ children: /* @__PURE__ */ G(Vt, { children: [
4277
4277
  i && /* @__PURE__ */ b("span", { className: Y(v.spinnerSlot, v.spinnerLeftPosition[g]), children: o || /* @__PURE__ */ b(bg, { size: g }) }),
4278
4278
  typeof t < "u" ? t : /* @__PURE__ */ b("span", { "data-testid": "flowbite-button-label", className: Y(v.label), children: i ? s : d })
4279
4279
  ] })
@@ -4299,9 +4299,9 @@ Object.assign(_g, {
4299
4299
  const Og = Oe(
4300
4300
  ({ children: t, className: e, href: r, icon: n, theme: a = {}, ...i }, s) => {
4301
4301
  const o = typeof r < "u", l = o ? "a" : "span", c = te(ue().breadcrumb.item, a);
4302
- return /* @__PURE__ */ K("li", { className: Y(c.base, e), ...i, children: [
4302
+ return /* @__PURE__ */ G("li", { className: Y(c.base, e), ...i, children: [
4303
4303
  /* @__PURE__ */ b(tg, { "aria-hidden": !0, className: c.chevron, "data-testid": "flowbite-breadcrumb-separator" }),
4304
- /* @__PURE__ */ K(
4304
+ /* @__PURE__ */ G(
4305
4305
  l,
4306
4306
  {
4307
4307
  ref: s,
@@ -4605,10 +4605,10 @@ const ri = Oe(
4605
4605
  ...d
4606
4606
  }, u) => {
4607
4607
  const f = te(ue().textInput, l);
4608
- return /* @__PURE__ */ K(Vt, { children: [
4609
- /* @__PURE__ */ K("div", { className: Y(f.base, e), children: [
4608
+ return /* @__PURE__ */ G(Vt, { children: [
4609
+ /* @__PURE__ */ G("div", { className: Y(f.base, e), children: [
4610
4610
  t && /* @__PURE__ */ b("span", { className: f.addon, children: t }),
4611
- /* @__PURE__ */ K("div", { className: f.field.base, children: [
4611
+ /* @__PURE__ */ G("div", { className: f.field.base, children: [
4612
4612
  a && /* @__PURE__ */ b("div", { className: f.field.icon.base, children: /* @__PURE__ */ b(a, { className: f.field.icon.svg }) }),
4613
4613
  i && /* @__PURE__ */ b("div", { "data-testid": "right-icon", className: f.field.rightIcon.base, children: /* @__PURE__ */ b(i, { className: f.field.rightIcon.svg }) }),
4614
4614
  /* @__PURE__ */ b(
@@ -4702,7 +4702,7 @@ const bi = (t, e, r) => {
4702
4702
  changeSelectedDate: o,
4703
4703
  language: l
4704
4704
  } = so(), c = te(e.views.days, t), d = $x(l, r), u = Lx(i, r);
4705
- return /* @__PURE__ */ K(Vt, { children: [
4705
+ return /* @__PURE__ */ G(Vt, { children: [
4706
4706
  /* @__PURE__ */ b("div", { className: c.header.base, children: d.map((f, h) => /* @__PURE__ */ b("span", { className: c.header.title, children: f }, h)) }),
4707
4707
  /* @__PURE__ */ b("div", { className: c.items.base, children: [...Array(42)].map((f, h) => {
4708
4708
  const g = hc(u, h), m = Ya(l, g, { day: "numeric" }), p = oo(s, g), w = !bi(g, n, a);
@@ -4916,7 +4916,7 @@ const bi = (t, e, r) => {
4916
4916
  setSelectedDate: M,
4917
4917
  changeSelectedDate: _
4918
4918
  },
4919
- children: /* @__PURE__ */ K("div", { className: Y(x.root.base, h), children: [
4919
+ children: /* @__PURE__ */ G("div", { className: Y(x.root.base, h), children: [
4920
4920
  !r && /* @__PURE__ */ b(
4921
4921
  ri,
4922
4922
  {
@@ -4931,10 +4931,10 @@ const bi = (t, e, r) => {
4931
4931
  ...p
4932
4932
  }
4933
4933
  ),
4934
- (k || r) && /* @__PURE__ */ b("div", { ref: F, className: Y(x.popup.root.base, r && x.popup.root.inline), children: /* @__PURE__ */ K("div", { className: x.popup.root.inner, children: [
4935
- /* @__PURE__ */ K("div", { className: x.popup.header.base, children: [
4934
+ (k || r) && /* @__PURE__ */ b("div", { ref: F, className: Y(x.popup.root.base, r && x.popup.root.inline), children: /* @__PURE__ */ G("div", { className: x.popup.root.inner, children: [
4935
+ /* @__PURE__ */ G("div", { className: x.popup.header.base, children: [
4936
4936
  t && /* @__PURE__ */ b("div", { className: x.popup.header.title, children: t }),
4937
- /* @__PURE__ */ K("div", { className: x.popup.header.selectors.base, children: [
4937
+ /* @__PURE__ */ G("div", { className: x.popup.header.selectors.base, children: [
4938
4938
  /* @__PURE__ */ b(
4939
4939
  "button",
4940
4940
  {
@@ -4974,7 +4974,7 @@ const bi = (t, e, r) => {
4974
4974
  ] })
4975
4975
  ] }),
4976
4976
  /* @__PURE__ */ b("div", { className: x.popup.view.base, children: E(y) }),
4977
- (a || s) && /* @__PURE__ */ K("div", { className: x.popup.footer.base, children: [
4977
+ (a || s) && /* @__PURE__ */ G("div", { className: x.popup.footer.base, children: [
4978
4978
  s && /* @__PURE__ */ b(
4979
4979
  "button",
4980
4980
  {
@@ -7321,9 +7321,9 @@ function lm(t) {
7321
7321
  }
7322
7322
  return m.on("openchange", N), () => {
7323
7323
  m.off("openchange", N);
7324
- const D = or(j), $ = Ge(x, D) || T && Cn(T.nodesRef.current, h).some((G) => {
7324
+ const D = or(j), $ = Ge(x, D) || T && Cn(T.nodesRef.current, h).some((K) => {
7325
7325
  var J;
7326
- return Ge((J = G.context) == null ? void 0 : J.elements.floating, D);
7326
+ return Ge((J = K.context) == null ? void 0 : J.elements.floating, D);
7327
7327
  });
7328
7328
  ($ || I.openEvent && ["click", "mousedown"].includes(I.openEvent.type)) && f.domReference.current && Jo(f.domReference.current);
7329
7329
  const q = cu();
@@ -7911,7 +7911,7 @@ function W1(t, e) {
7911
7911
  dense: C = !1
7912
7912
  } = e;
7913
7913
  process.env.NODE_ENV !== "production" && (f && (h || console.warn(["Floating UI: `useListNavigation` looping must be enabled to allow", "escaping."].join(" ")), p || console.warn(["Floating UI: `useListNavigation` must be virtual to allow", "escaping."].join(" "))), y === "vertical" && O > 1 && console.warn(["Floating UI: In grid list navigation mode (`cols` > 1), the", '`orientation` should be either "horizontal" or "both".'].join(" ")));
7914
- const z = mo(), F = xi(), _ = lr(c), S = W.useRef(w), E = W.useRef(u ?? -1), L = W.useRef(null), H = W.useRef(!0), U = W.useRef(_), Z = W.useRef(!!s), R = W.useRef(!1), j = W.useRef(!1), A = pr(v), I = pr(r), N = pr(P), [D, $] = W.useState(), [X, q] = W.useState(), G = lr(function(B, ae, re) {
7914
+ const z = mo(), F = xi(), _ = lr(c), S = W.useRef(w), E = W.useRef(u ?? -1), L = W.useRef(null), H = W.useRef(!0), U = W.useRef(_), Z = W.useRef(!!s), R = W.useRef(!1), j = W.useRef(!1), A = pr(v), I = pr(r), N = pr(P), [D, $] = W.useState(), [X, q] = W.useState(), K = lr(function(B, ae, re) {
7915
7915
  re === void 0 && (re = !1);
7916
7916
  const le = B.current[ae.current];
7917
7917
  le && (p ? ($(le.id), F == null || F.events.emit("virtualfocus", le), M && (M.current = le)) : Cr(le, {
@@ -7946,15 +7946,15 @@ function W1(t, e) {
7946
7946
  if (l == null) {
7947
7947
  if (R.current = !1, u != null)
7948
7948
  return;
7949
- if (Z.current && (E.current = -1, G(o, E)), !Z.current && S.current && (L.current != null || S.current === !0 && L.current == null)) {
7949
+ if (Z.current && (E.current = -1, K(o, E)), !Z.current && S.current && (L.current != null || S.current === !0 && L.current == null)) {
7950
7950
  let B = 0;
7951
7951
  const ae = () => {
7952
7952
  o.current[0] == null ? (B < 2 && (B ? requestAnimationFrame : queueMicrotask)(ae), B++) : (E.current = L.current == null || rl(L.current, y, m) || g ? Go(o, A.current) : ru(o, A.current), L.current = null, _(E.current));
7953
7953
  };
7954
7954
  ae();
7955
7955
  }
7956
- } else Va(o, l) || (E.current = l, G(o, E, j.current), j.current = !1);
7957
- }, [d, r, s, l, u, g, o, y, m, _, G, A]), Re(() => {
7956
+ } else Va(o, l) || (E.current = l, K(o, E, j.current), j.current = !1);
7957
+ }, [d, r, s, l, u, g, o, y, m, _, K, A]), Re(() => {
7958
7958
  var B;
7959
7959
  if (!d || s || !F || p || !Z.current)
7960
7960
  return;
@@ -8008,13 +8008,13 @@ function W1(t, e) {
8008
8008
  let {
8009
8009
  pointerType: le
8010
8010
  } = re;
8011
- !H.current || le === "touch" || (E.current = -1, G(o, E), _(null), p || Cr(a.floating.current, {
8011
+ !H.current || le === "touch" || (E.current = -1, K(o, E), _(null), p || Cr(a.floating.current, {
8012
8012
  preventScroll: !0
8013
8013
  }));
8014
8014
  }
8015
8015
  }
8016
8016
  };
8017
- }, [r, a, G, x, o, _, p]);
8017
+ }, [r, a, K, x, o, _, p]);
8018
8018
  return W.useMemo(() => {
8019
8019
  if (!d)
8020
8020
  return {};
@@ -8365,22 +8365,22 @@ function H1(t) {
8365
8365
  break;
8366
8366
  }
8367
8367
  function $(X) {
8368
- let [q, G] = X;
8368
+ let [q, K] = X;
8369
8369
  switch (E) {
8370
8370
  case "top": {
8371
- const J = [Z ? q + e / 2 : L ? q + e * 4 : q - e * 4, G + e + 1], ne = [Z ? q - e / 2 : L ? q + e * 4 : q - e * 4, G + e + 1], B = [[S.left, L || Z ? S.bottom - e : S.top], [S.right, L ? Z ? S.bottom - e : S.top : S.bottom - e]];
8371
+ const J = [Z ? q + e / 2 : L ? q + e * 4 : q - e * 4, K + e + 1], ne = [Z ? q - e / 2 : L ? q + e * 4 : q - e * 4, K + e + 1], B = [[S.left, L || Z ? S.bottom - e : S.top], [S.right, L ? Z ? S.bottom - e : S.top : S.bottom - e]];
8372
8372
  return [J, ne, ...B];
8373
8373
  }
8374
8374
  case "bottom": {
8375
- const J = [Z ? q + e / 2 : L ? q + e * 4 : q - e * 4, G - e], ne = [Z ? q - e / 2 : L ? q + e * 4 : q - e * 4, G - e], B = [[S.left, L || Z ? S.top + e : S.bottom], [S.right, L ? Z ? S.top + e : S.bottom : S.top + e]];
8375
+ const J = [Z ? q + e / 2 : L ? q + e * 4 : q - e * 4, K - e], ne = [Z ? q - e / 2 : L ? q + e * 4 : q - e * 4, K - e], B = [[S.left, L || Z ? S.top + e : S.bottom], [S.right, L ? Z ? S.top + e : S.bottom : S.top + e]];
8376
8376
  return [J, ne, ...B];
8377
8377
  }
8378
8378
  case "left": {
8379
- const J = [q + e + 1, R ? G + e / 2 : H ? G + e * 4 : G - e * 4], ne = [q + e + 1, R ? G - e / 2 : H ? G + e * 4 : G - e * 4];
8379
+ const J = [q + e + 1, R ? K + e / 2 : H ? K + e * 4 : K - e * 4], ne = [q + e + 1, R ? K - e / 2 : H ? K + e * 4 : K - e * 4];
8380
8380
  return [...[[H || R ? S.right - e : S.left, S.top], [H ? R ? S.right - e : S.left : S.right - e, S.bottom]], J, ne];
8381
8381
  }
8382
8382
  case "right": {
8383
- const J = [q - e, R ? G + e / 2 : H ? G + e * 4 : G - e * 4], ne = [q - e, R ? G - e / 2 : H ? G + e * 4 : G - e * 4], B = [[H || R ? S.left + e : S.right, S.top], [H ? R ? S.left + e : S.right : S.left + e, S.bottom]];
8383
+ const J = [q - e, R ? K + e / 2 : H ? K + e * 4 : K - e * 4], ne = [q - e, R ? K - e / 2 : H ? K + e * 4 : K - e * 4], B = [[H || R ? S.left + e : S.right, S.top], [H ? R ? S.left + e : S.right : S.left + e, S.bottom]];
8384
8384
  return [J, ne, ...B];
8385
8385
  }
8386
8386
  }
@@ -8449,14 +8449,14 @@ const Cc = ({ className: t, theme: e = {}, ...r }) => {
8449
8449
  return /* @__PURE__ */ b("div", { className: Y(a, t), ...r });
8450
8450
  }, bm = ({ children: t, className: e, theme: r = {}, ...n }) => {
8451
8451
  const { theme: a } = Mc(), i = r.header ?? a.floating.header;
8452
- return /* @__PURE__ */ K(Vt, { children: [
8452
+ return /* @__PURE__ */ G(Vt, { children: [
8453
8453
  /* @__PURE__ */ b("div", { className: Y(i, e), ...n, children: t }),
8454
8454
  /* @__PURE__ */ b(Cc, {})
8455
8455
  ] });
8456
8456
  }, Ec = Oe(
8457
8457
  ({ children: t, className: e, icon: r, onClick: n, theme: a = {}, ...i }, s) => {
8458
8458
  const { ref: o, index: l } = g1({ label: typeof t == "string" ? t : void 0 }), c = em([s, o]), { theme: d, activeIndex: u, dismissOnClick: f, getItemProps: h, handleSelect: g } = Mc(), m = u === l, p = te(d.floating.item, a), w = i;
8459
- return /* @__PURE__ */ b("li", { role: "menuitem", className: p.container, children: /* @__PURE__ */ K(
8459
+ return /* @__PURE__ */ b("li", { role: "menuitem", className: p.container, children: /* @__PURE__ */ G(
8460
8460
  uc,
8461
8461
  {
8462
8462
  ref: c,
@@ -8546,8 +8546,8 @@ const U1 = {
8546
8546
  const [R] = k.split("-");
8547
8547
  return U1[R] ?? eg;
8548
8548
  }, [k]);
8549
- return /* @__PURE__ */ K(pm.Provider, { value: { theme: p, activeIndex: l, dismissOnClick: r, getItemProps: U, handleSelect: T }, children: [
8550
- /* @__PURE__ */ K(
8549
+ return /* @__PURE__ */ G(pm.Provider, { value: { theme: p, activeIndex: l, dismissOnClick: r, getItemProps: U, handleSelect: T }, children: [
8550
+ /* @__PURE__ */ G(
8551
8551
  X1,
8552
8552
  {
8553
8553
  ...M,
@@ -8597,7 +8597,7 @@ const G1 = Object.assign(ym, {
8597
8597
  }), vm = Oe(
8598
8598
  ({ className: t, color: e = "gray", helperText: r, sizing: n = "md", theme: a = {}, ...i }, s) => {
8599
8599
  const o = te(ue().fileInput, a);
8600
- return /* @__PURE__ */ K(Vt, { children: [
8600
+ return /* @__PURE__ */ G(Vt, { children: [
8601
8601
  /* @__PURE__ */ b("div", { className: Y(o.root.base, t), children: /* @__PURE__ */ b("div", { className: o.field.base, children: /* @__PURE__ */ b(
8602
8602
  "input",
8603
8603
  {
@@ -8629,8 +8629,8 @@ const K1 = Oe(
8629
8629
  ...l
8630
8630
  }, c) => {
8631
8631
  const d = $n(), u = te(ue().floatingLabel, s);
8632
- return /* @__PURE__ */ K("div", { children: [
8633
- /* @__PURE__ */ K("div", { className: Y("relative", a === "standard" ? "z-0" : ""), children: [
8632
+ return /* @__PURE__ */ G("div", { children: [
8633
+ /* @__PURE__ */ G("div", { className: Y("relative", a === "standard" ? "z-0" : ""), children: [
8634
8634
  /* @__PURE__ */ b(
8635
8635
  "input",
8636
8636
  {
@@ -8670,7 +8670,7 @@ const xm = ({
8670
8670
  ...o
8671
8671
  }) => {
8672
8672
  const l = te(ue().footer.brand, s);
8673
- return /* @__PURE__ */ b("div", { children: n ? /* @__PURE__ */ K("a", { "data-testid": "flowbite-footer-brand", href: n, className: Y(l.base, e), ...o, children: [
8673
+ return /* @__PURE__ */ b("div", { children: n ? /* @__PURE__ */ G("a", { "data-testid": "flowbite-footer-brand", href: n, className: Y(l.base, e), ...o, children: [
8674
8674
  /* @__PURE__ */ b("img", { alt: t, src: i, className: l.img }),
8675
8675
  /* @__PURE__ */ b("span", { "data-testid": "flowbite-footer-brand-span", className: l.span, children: a }),
8676
8676
  r
@@ -8693,7 +8693,7 @@ const xm = ({
8693
8693
  ...i
8694
8694
  }) => {
8695
8695
  const s = te(ue().footer.copyright, n);
8696
- return /* @__PURE__ */ K("div", { "data-testid": "flowbite-footer-copyright", className: Y(s.base, e), ...i, children: [
8696
+ return /* @__PURE__ */ G("div", { "data-testid": "flowbite-footer-copyright", className: Y(s.base, e), ...i, children: [
8697
8697
  "© ",
8698
8698
  a,
8699
8699
  r ? /* @__PURE__ */ b("a", { href: r, className: s.href, children: t }) : /* @__PURE__ */ b("span", { "data-testid": "flowbite-footer-copyright-span", className: s.span, children: t })
@@ -8808,7 +8808,7 @@ const Cm = ({
8808
8808
  Cm.displayName = "Label";
8809
8809
  const Em = ({ children: t, className: e, icon: r, theme: n = {}, ...a }) => {
8810
8810
  const i = te(ue().list.item, n);
8811
- return /* @__PURE__ */ K("li", { className: Y(i.withIcon[r ? "on" : "off"], e), ...a, children: [
8811
+ return /* @__PURE__ */ G("li", { className: Y(i.withIcon[r ? "on" : "off"], e), ...a, children: [
8812
8812
  r && /* @__PURE__ */ b(r, { className: Y(i.icon) }),
8813
8813
  t
8814
8814
  ] });
@@ -8854,7 +8854,7 @@ const Tm = ({
8854
8854
  ...l
8855
8855
  }) => {
8856
8856
  const c = te(ue().listGroup.item, s), d = typeof n < "u", u = d ? "a" : "button";
8857
- return /* @__PURE__ */ b("li", { className: Y(c.base, r), children: /* @__PURE__ */ K(
8857
+ return /* @__PURE__ */ b("li", { className: Y(c.base, r), children: /* @__PURE__ */ G(
8858
8858
  u,
8859
8859
  {
8860
8860
  href: n,
@@ -8905,7 +8905,7 @@ const Im = ({ children: t, className: e, theme: r = {}, ...n }) => {
8905
8905
  ...i
8906
8906
  }) => {
8907
8907
  const s = $n(), o = a || s, { theme: l, popup: c, onClose: d, setHeaderId: u } = Pc(), f = te(l.header, n);
8908
- return lc(() => (u(o), () => u(void 0)), [o, u]), /* @__PURE__ */ K("div", { className: Y(f.base, c && f.popup, r), ...i, children: [
8908
+ return lc(() => (u(o), () => u(void 0)), [o, u]), /* @__PURE__ */ G("div", { className: Y(f.base, c && f.popup, r), ...i, children: [
8909
8909
  /* @__PURE__ */ b(t, { id: o, className: f.title, children: e }),
8910
8910
  /* @__PURE__ */ b("button", { "aria-label": "Close", className: f.close.base, type: "button", onClick: d, children: /* @__PURE__ */ b(iv, { "aria-hidden": !0, className: f.close.icon }) })
8911
8911
  ] });
@@ -9025,7 +9025,7 @@ const Wm = ({
9025
9025
  ...n
9026
9026
  }) => {
9027
9027
  const { theme: a, isOpen: i, setIsOpen: s } = bo(), o = te(a.toggle, r);
9028
- return /* @__PURE__ */ K(
9028
+ return /* @__PURE__ */ G(
9029
9029
  "button",
9030
9030
  {
9031
9031
  "data-testid": "flowbite-navbar-toggle",
@@ -9137,8 +9137,8 @@ const Ym = ({
9137
9137
  }, m = () => {
9138
9138
  a(Math.max(e - 1, 1));
9139
9139
  };
9140
- return /* @__PURE__ */ K("nav", { className: Y(u.base, t), ...d, children: [
9141
- r === "table" && /* @__PURE__ */ K("div", { className: u.layout.table.base, children: [
9140
+ return /* @__PURE__ */ G("nav", { className: Y(u.base, t), ...d, children: [
9141
+ r === "table" && /* @__PURE__ */ G("div", { className: u.layout.table.base, children: [
9142
9142
  "Showing ",
9143
9143
  /* @__PURE__ */ b("span", { className: u.layout.table.span, children: h }),
9144
9144
  " to ",
@@ -9147,8 +9147,8 @@ const Ym = ({
9147
9147
  /* @__PURE__ */ b("span", { className: u.layout.table.span, children: c }),
9148
9148
  " Entries"
9149
9149
  ] }),
9150
- /* @__PURE__ */ K("ul", { className: u.pages.base, children: [
9151
- /* @__PURE__ */ b("li", { children: /* @__PURE__ */ K(
9150
+ /* @__PURE__ */ G("ul", { className: u.pages.base, children: [
9151
+ /* @__PURE__ */ b("li", { children: /* @__PURE__ */ G(
9152
9152
  Fl,
9153
9153
  {
9154
9154
  className: Y(u.pages.previous.base, o && u.pages.showIcon),
@@ -9166,7 +9166,7 @@ const Ym = ({
9166
9166
  onClick: () => a(p),
9167
9167
  children: p
9168
9168
  }) }, p)),
9169
- /* @__PURE__ */ b("li", { children: /* @__PURE__ */ K(
9169
+ /* @__PURE__ */ b("li", { children: /* @__PURE__ */ G(
9170
9170
  Fl,
9171
9171
  {
9172
9172
  className: Y(u.pages.next.base, o && u.pages.showIcon),
@@ -9215,7 +9215,7 @@ const Vm = ({
9215
9215
  ...a
9216
9216
  }) => {
9217
9217
  const i = te(ue().ratingAdvanced, n);
9218
- return /* @__PURE__ */ K("div", { className: Y(i.base, e), ...a, children: [
9218
+ return /* @__PURE__ */ G("div", { className: Y(i.base, e), ...a, children: [
9219
9219
  /* @__PURE__ */ b("span", { className: i.label, children: t }),
9220
9220
  /* @__PURE__ */ b("div", { className: i.progress.base, children: /* @__PURE__ */ b(
9221
9221
  "div",
@@ -9275,9 +9275,9 @@ const tk = Oe(
9275
9275
  ...c
9276
9276
  }, d) => {
9277
9277
  const u = te(ue().select, l);
9278
- return /* @__PURE__ */ K("div", { className: Y(u.base, r), children: [
9278
+ return /* @__PURE__ */ G("div", { className: Y(u.base, r), children: [
9279
9279
  t && /* @__PURE__ */ b("span", { className: u.addon, children: t }),
9280
- /* @__PURE__ */ K("div", { className: u.field.base, children: [
9280
+ /* @__PURE__ */ G("div", { className: u.field.base, children: [
9281
9281
  i && /* @__PURE__ */ b("div", { className: u.field.icon.base, children: /* @__PURE__ */ b(i, { className: u.field.icon.svg }) }),
9282
9282
  /* @__PURE__ */ b(
9283
9283
  "select",
@@ -9336,7 +9336,7 @@ const rk = ({
9336
9336
  return gt(() => {
9337
9337
  if (x.reference.current && x.floating.current && f)
9338
9338
  return Xg(x.reference.current, x.floating.current, v);
9339
- }, [f, x.floating, x.reference, v]), /* @__PURE__ */ K(Vt, { children: [
9339
+ }, [f, x.floating, x.reference, v]), /* @__PURE__ */ G(Vt, { children: [
9340
9340
  /* @__PURE__ */ b(
9341
9341
  "div",
9342
9342
  {
@@ -9347,7 +9347,7 @@ const rk = ({
9347
9347
  children: r
9348
9348
  }
9349
9349
  ),
9350
- /* @__PURE__ */ K(
9350
+ /* @__PURE__ */ G(
9351
9351
  "div",
9352
9352
  {
9353
9353
  ref: x.setFloating,
@@ -9451,8 +9451,8 @@ const Km = ({
9451
9451
  ...l
9452
9452
  }) => {
9453
9453
  const c = $n(), [d, u] = me(s), { theme: f, isCollapsed: h } = va(), g = te(f.collapse, o);
9454
- return gt(() => u(s), [s]), /* @__PURE__ */ K(({ children: p }) => /* @__PURE__ */ b("li", { children: h && !d ? /* @__PURE__ */ b(Rc, { content: n, placement: "right", children: p }) : p }), { children: [
9455
- /* @__PURE__ */ K(
9454
+ return gt(() => u(s), [s]), /* @__PURE__ */ G(({ children: p }) => /* @__PURE__ */ b("li", { children: h && !d ? /* @__PURE__ */ b(Rc, { content: n, placement: "right", children: p }) : p }), { children: [
9455
+ /* @__PURE__ */ G(
9456
9456
  "button",
9457
9457
  {
9458
9458
  id: `flowbite-sidebar-collapse-${c}`,
@@ -9470,7 +9470,7 @@ const Km = ({
9470
9470
  className: Y(g.icon.base, g.icon.open[d ? "on" : "off"])
9471
9471
  }
9472
9472
  ),
9473
- h ? /* @__PURE__ */ b("span", { className: "sr-only", children: n }) : /* @__PURE__ */ K(Vt, { children: [
9473
+ h ? /* @__PURE__ */ b("span", { className: "sr-only", children: n }) : /* @__PURE__ */ G(Vt, { children: [
9474
9474
  /* @__PURE__ */ b("span", { "data-testid": "flowbite-sidebar-collapse-label", className: g.label.base, children: n }),
9475
9475
  i ? i(g, d) : /* @__PURE__ */ b(
9476
9476
  a,
@@ -9536,7 +9536,7 @@ const ak = ({ id: t, theme: e, isCollapsed: r, tooltipChildren: n, children: a,
9536
9536
  }, c) => {
9537
9537
  var m, p, w, x;
9538
9538
  const d = $n(), { theme: u, isCollapsed: f } = va(), { isInsideCollapse: h } = nk(), g = te(u.item, o);
9539
- return /* @__PURE__ */ b(ak, { theme: g, className: g.listItem, id: d, isCollapsed: f, tooltipChildren: r, children: /* @__PURE__ */ K(
9539
+ return /* @__PURE__ */ b(ak, { theme: g, className: g.listItem, id: d, isCollapsed: f, tooltipChildren: r, children: /* @__PURE__ */ G(
9540
9540
  e,
9541
9541
  {
9542
9542
  "aria-labelledby": `flowbite-sidebar-item-${d}`,
@@ -9591,7 +9591,7 @@ const r0 = ({
9591
9591
  ...s
9592
9592
  }) => {
9593
9593
  const o = $n(), { theme: l, isCollapsed: c } = va(), d = te(l.logo, i);
9594
- return /* @__PURE__ */ K(
9594
+ return /* @__PURE__ */ G(
9595
9595
  "a",
9596
9596
  {
9597
9597
  "aria-labelledby": `flowbite-sidebar-logo-${o}`,
@@ -9704,7 +9704,7 @@ u0.displayName = "Table.Row";
9704
9704
  const f0 = Oe(
9705
9705
  ({ children: t, className: e, striped: r, hoverable: n, theme: a = {}, ...i }, s) => {
9706
9706
  const o = te(ue().table, a);
9707
- return /* @__PURE__ */ b("div", { "data-testid": "table-element", className: Y(o.root.wrapper), children: /* @__PURE__ */ K(i0.Provider, { value: { theme: o, striped: r, hoverable: n }, children: [
9707
+ return /* @__PURE__ */ b("div", { "data-testid": "table-element", className: Y(o.root.wrapper), children: /* @__PURE__ */ G(i0.Provider, { value: { theme: o, striped: r, hoverable: n }, children: [
9708
9708
  /* @__PURE__ */ b("div", { className: Y(o.root.shadow, e) }),
9709
9709
  /* @__PURE__ */ b("table", { className: Y(o.root.base, e), ...i, ref: s, children: t })
9710
9710
  ] }) });
@@ -9744,7 +9744,7 @@ const g0 = Oe(
9744
9744
  (v = d.current[h]) == null || v.focus();
9745
9745
  }, [h]), Gh(s, () => ({
9746
9746
  setActiveTab: m
9747
- })), /* @__PURE__ */ K("div", { className: Y(o.base, e), children: [
9747
+ })), /* @__PURE__ */ G("div", { className: Y(o.base, e), children: [
9748
9748
  /* @__PURE__ */ b(
9749
9749
  "div",
9750
9750
  {
@@ -9752,7 +9752,7 @@ const g0 = Oe(
9752
9752
  role: "tablist",
9753
9753
  className: Y(o.tablist.base, o.tablist.styles[n], e),
9754
9754
  ...i,
9755
- children: c.map((v, y) => /* @__PURE__ */ K(
9755
+ children: c.map((v, y) => /* @__PURE__ */ G(
9756
9756
  "button",
9757
9757
  {
9758
9758
  type: "button",
@@ -9804,7 +9804,7 @@ Object.assign(g0, {
9804
9804
  const ok = Oe(
9805
9805
  ({ className: t, color: e = "gray", helperText: r, shadow: n, theme: a = {}, ...i }, s) => {
9806
9806
  const o = te(ue().textarea, a);
9807
- return /* @__PURE__ */ K(Vt, { children: [
9807
+ return /* @__PURE__ */ G(Vt, { children: [
9808
9808
  /* @__PURE__ */ b(
9809
9809
  "textarea",
9810
9810
  {
@@ -9869,7 +9869,7 @@ const x0 = ({
9869
9869
  ...a
9870
9870
  }) => {
9871
9871
  const { horizontal: i } = Fc(), { theme: s } = v0(), o = te(s.point, n);
9872
- return /* @__PURE__ */ K(
9872
+ return /* @__PURE__ */ G(
9873
9873
  "div",
9874
9874
  {
9875
9875
  "data-testid": "timeline-point",
@@ -10014,9 +10014,9 @@ const dk = Oe(
10014
10014
  }, m = (p) => {
10015
10015
  p.code == "Enter" && p.preventDefault();
10016
10016
  };
10017
- return /* @__PURE__ */ K(Vt, { children: [
10017
+ return /* @__PURE__ */ G(Vt, { children: [
10018
10018
  s && t ? /* @__PURE__ */ b("input", { ref: d, checked: t, hidden: !0, name: s, readOnly: !0, type: "checkbox", className: "sr-only" }) : null,
10019
- /* @__PURE__ */ K(
10019
+ /* @__PURE__ */ G(
10020
10020
  "button",
10021
10021
  {
10022
10022
  "aria-checked": t,
@@ -10070,7 +10070,7 @@ const uk = Oe(
10070
10070
  maxLength: s,
10071
10071
  onChange: o,
10072
10072
  ...l
10073
- }, c) => /* @__PURE__ */ K("div", { className: "mb-5", children: [
10073
+ }, c) => /* @__PURE__ */ G("div", { className: "mb-5", children: [
10074
10074
  r && /* @__PURE__ */ b("label", { className: " mb-1 block font-semibold", children: r }),
10075
10075
  t === !0 ? /* @__PURE__ */ b(
10076
10076
  ri,
@@ -10111,7 +10111,7 @@ const fk = {
10111
10111
  const [a, i] = me(!1), s = () => {
10112
10112
  i(!a);
10113
10113
  };
10114
- return /* @__PURE__ */ b("div", { className: "mb-5", children: /* @__PURE__ */ K("div", { className: "relative inline-block w-full", children: [
10114
+ return /* @__PURE__ */ b("div", { className: "mb-5", children: /* @__PURE__ */ G("div", { className: "relative inline-block w-full", children: [
10115
10115
  /* @__PURE__ */ b(
10116
10116
  "input",
10117
10117
  {
@@ -10143,12 +10143,12 @@ const fk = {
10143
10143
  type: n
10144
10144
  }) => {
10145
10145
  const a = (r - t) / (e - t) * 100, i = Math.min(Math.max(a, 0), 100), s = () => i < 10 ? "left-0" : i > 90 ? "right-0" : "left-1/2 transform -translate-x-1/2";
10146
- return /* @__PURE__ */ K("div", { className: "w-full p-1", children: [
10147
- /* @__PURE__ */ K("div", { className: "flex justify-between text-xs text-gray-400 mb-2", children: [
10146
+ return /* @__PURE__ */ G("div", { className: "w-full p-1", children: [
10147
+ /* @__PURE__ */ G("div", { className: "mb-2 flex justify-between text-xs text-gray-400", children: [
10148
10148
  /* @__PURE__ */ b("span", { children: t.toLocaleString() }),
10149
10149
  /* @__PURE__ */ b("span", { children: e.toLocaleString() })
10150
10150
  ] }),
10151
- /* @__PURE__ */ K("div", { className: "relative h-1.5 w-full bg-gray-200 rounded-full mb-5", children: [
10151
+ /* @__PURE__ */ G("div", { className: "relative mb-5 h-1 w-full rounded-full bg-gray-200", children: [
10152
10152
  /* @__PURE__ */ b(
10153
10153
  "div",
10154
10154
  {
@@ -10156,7 +10156,7 @@ const fk = {
10156
10156
  style: { width: `${i}%` }
10157
10157
  }
10158
10158
  ),
10159
- /* @__PURE__ */ K(
10159
+ /* @__PURE__ */ G(
10160
10160
  "div",
10161
10161
  {
10162
10162
  className: "absolute top-1/2 transform -translate-y-1/2 -translate-x-1/2",
@@ -10165,10 +10165,10 @@ const fk = {
10165
10165
  /* @__PURE__ */ b(
10166
10166
  "div",
10167
10167
  {
10168
- className: `${xu.mth_progress_bar_thumb} w-3 h-3 rounded-full shadow-lg`
10168
+ className: `${xu.mth_progress_bar_thumb} w-2 h-2 rounded-full shadow-lg`
10169
10169
  }
10170
10170
  ),
10171
- /* @__PURE__ */ K(
10171
+ /* @__PURE__ */ G(
10172
10172
  "div",
10173
10173
  {
10174
10174
  className: `absolute top-full mt-2 text-xs font-medium text-black whitespace-nowrap ${s()}`,
@@ -10185,9 +10185,9 @@ const fk = {
10185
10185
  ] })
10186
10186
  ] });
10187
10187
  }, pk = Oe(
10188
- ({ options: t, label: e, error: r, value: n, onChange: a, ...i }, s) => /* @__PURE__ */ K("div", { className: "mb-5", children: [
10188
+ ({ options: t, label: e, error: r, value: n, onChange: a, ...i }, s) => /* @__PURE__ */ G("div", { className: "mb-5", children: [
10189
10189
  e && /* @__PURE__ */ b("label", { className: "mb-1 block font-semibold", children: e }),
10190
- /* @__PURE__ */ K(
10190
+ /* @__PURE__ */ G(
10191
10191
  "select",
10192
10192
  {
10193
10193
  ref: s,
@@ -10221,7 +10221,7 @@ const bk = "card-module__mth_card_indicator__lfgp3", E0 = {
10221
10221
  maximumFractionDigits: 2,
10222
10222
  minimumFractionDigits: 0
10223
10223
  }).format(c);
10224
- return /* @__PURE__ */ K("div", { className: `${E0.mth_card_indicator} flex flex-col border bg-white px-3.5 py-4`, children: [
10224
+ return /* @__PURE__ */ G("div", { className: `${E0.mth_card_indicator} flex flex-col border bg-white px-3.5 py-4`, children: [
10225
10225
  /* @__PURE__ */ b("div", { className: "flex justify-end", children: /* @__PURE__ */ b(
10226
10226
  Rn,
10227
10227
  {
@@ -10233,7 +10233,7 @@ const bk = "card-module__mth_card_indicator__lfgp3", E0 = {
10233
10233
  }
10234
10234
  ) }),
10235
10235
  /* @__PURE__ */ b("h2", { className: "mt-2 font-bold mth_card_indicator_title", id: `mth_card_indicator_${r}_title`, children: r.toUpperCase() }),
10236
- /* @__PURE__ */ K("small", { className: "text-2xl font-extrabold mth_card_indicator_number", children: [
10236
+ /* @__PURE__ */ G("small", { className: "text-2xl font-extrabold mth_card_indicator_number", children: [
10237
10237
  l(e),
10238
10238
  " ",
10239
10239
  s === "percentage" ? "%" : ""
@@ -16703,7 +16703,7 @@ function qS(t) {
16703
16703
  return Fe({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm52.7 283.3L256 278.6l-52.7 52.7c-6.2 6.2-16.4 6.2-22.6 0-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3l52.7-52.7-52.7-52.7c-3.1-3.1-4.7-7.2-4.7-11.3 0-4.1 1.6-8.2 4.7-11.3 6.2-6.2 16.4-6.2 22.6 0l52.7 52.7 52.7-52.7c6.2-6.2 16.4-6.2 22.6 0 6.2 6.2 6.2 16.4 0 22.6L278.6 256l52.7 52.7c6.2 6.2 6.2 16.4 0 22.6-6.2 6.3-16.4 6.3-22.6 0z" }, child: [] }] })(t);
16704
16704
  }
16705
16705
  const US = Oe(
16706
- ({ isOpen: t, onClose: e, children: r, width: n = "auto" }, a) => t ? /* @__PURE__ */ b("div", { className: fl.overlay, children: /* @__PURE__ */ K("div", { ref: a, className: fl.modal, style: { width: n }, children: [
16706
+ ({ isOpen: t, onClose: e, children: r, width: n = "auto" }, a) => t ? /* @__PURE__ */ b("div", { className: fl.overlay, children: /* @__PURE__ */ G("div", { ref: a, className: fl.modal, style: { width: n }, children: [
16707
16707
  /* @__PURE__ */ b("button", { onClick: e, className: fl.closeButton, children: /* @__PURE__ */ b(qS, {}) }),
16708
16708
  r
16709
16709
  ] }) }) : null
@@ -19366,8 +19366,8 @@ function c2(t) {
19366
19366
  var $ = v.find(function(X) {
19367
19367
  var q = P.get(X);
19368
19368
  if (q)
19369
- return q.slice(0, D).every(function(G) {
19370
- return G;
19369
+ return q.slice(0, D).every(function(K) {
19370
+ return K;
19371
19371
  });
19372
19372
  });
19373
19373
  if ($)
@@ -19494,7 +19494,7 @@ function v2(t) {
19494
19494
  var _, S = v === "y" ? St : Dt, E = v === "y" ? Bt : Ht, L = v === "y" ? "height" : "width", H = O[v], U = H + p[S], Z = H - p[E], R = h ? -M[L] / 2 : 0, j = x === da ? P[L] : M[L], A = x === da ? -M[L] : -P[L], I = e.elements.arrow, N = h && I ? od(I) : {
19495
19495
  width: 0,
19496
19496
  height: 0
19497
- }, D = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zp(), $ = D[S], X = D[E], q = Za(0, P[L], N[L]), G = k ? P[L] / 2 - R - q - $ - C.mainAxis : j - q - $ - C.mainAxis, J = k ? -P[L] / 2 + R + q + X + C.mainAxis : A + q + X + C.mainAxis, ne = e.elements.arrow && Si(e.elements.arrow), B = ne ? v === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, ae = (_ = z == null ? void 0 : z[v]) != null ? _ : 0, re = H + G - ae - B, le = H + J - ae, fe = Za(h ? qs(U, re) : U, H, h ? Tn(Z, le) : Z);
19497
+ }, D = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zp(), $ = D[S], X = D[E], q = Za(0, P[L], N[L]), K = k ? P[L] / 2 - R - q - $ - C.mainAxis : j - q - $ - C.mainAxis, J = k ? -P[L] / 2 + R + q + X + C.mainAxis : A + q + X + C.mainAxis, ne = e.elements.arrow && Si(e.elements.arrow), B = ne ? v === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, ae = (_ = z == null ? void 0 : z[v]) != null ? _ : 0, re = H + K - ae - B, le = H + J - ae, fe = Za(h ? qs(U, re) : U, H, h ? Tn(Z, le) : Z);
19498
19498
  O[v] = fe, F[v] = fe - H;
19499
19499
  }
19500
19500
  if (o) {
@@ -19904,7 +19904,7 @@ var I2 = [JM, b2, QM, zM, m2, d2, x2, UM, f2], A2 = /* @__PURE__ */ N2({
19904
19904
  level: O,
19905
19905
  buttonRef: D,
19906
19906
  contentRef: $
19907
- }).popperInstance, G = ee.useCallback(function() {
19907
+ }).popperInstance, K = ee.useCallback(function() {
19908
19908
  var fe, de = $.current;
19909
19909
  if (de) {
19910
19910
  var ie = (fe = de == null ? void 0 : de.querySelector(".".concat(ve.subMenuContent, " > ul"))) === null || fe === void 0 ? void 0 : fe.clientHeight;
@@ -19919,11 +19919,11 @@ var I2 = [JM, b2, QM, zM, m2, d2, x2, UM, f2], A2 = /* @__PURE__ */ N2({
19919
19919
  de.style.overflow = "hidden", de.style.height = "".concat(ie, "px"), de.offsetHeight, de.style.height = "0px";
19920
19920
  }
19921
19921
  }, ne = function() {
19922
- O === 0 && M || (typeof d > "u" ? (clearTimeout(Number(X.current)), H ? J() : G(), x == null || x(!H), U(!H)) : x == null || x(!d));
19922
+ O === 0 && M || (typeof d > "u" ? (clearTimeout(Number(X.current)), H ? J() : K(), x == null || x(!H), U(!H)) : x == null || x(!d));
19923
19923
  };
19924
19924
  ee.useEffect(function() {
19925
- !(O === 0 && M) && typeof d < "u" && I && (clearTimeout(Number(X.current)), d ? G() : J());
19926
- }, [M, G, i, O, x, d]);
19925
+ !(O === 0 && M) && typeof d < "u" && I && (clearTimeout(Number(X.current)), d ? K() : J());
19926
+ }, [M, K, i, O, x, d]);
19927
19927
  var B = function(fe) {
19928
19928
  k == null || k(fe), ne();
19929
19929
  }, ae = function(fe) {
@@ -20082,7 +20082,7 @@ var wh, z2 = it.li(kh || (kh = pt([`
20082
20082
  const Up = Oe(
20083
20083
  (t, e) => {
20084
20084
  const { imageUrl: r, icon: n, title: a, description: i } = t;
20085
- return /* @__PURE__ */ K("div", { className: `${E0.Card} border px-3.5 py-7`, ref: e, children: [
20085
+ return /* @__PURE__ */ G("div", { className: `${E0.Card} border px-3.5 py-7`, ref: e, children: [
20086
20086
  r ? /* @__PURE__ */ b(
20087
20087
  Rn,
20088
20088
  {
@@ -20129,7 +20129,7 @@ const RI = ({
20129
20129
  onClick: () => z(_, E),
20130
20130
  className: "mx-auto mb-1 rounded-md",
20131
20131
  rootStyles: O(S, L),
20132
- children: S ? _.label : /* @__PURE__ */ K("div", { className: "flex w-full items-center justify-between", children: [
20132
+ children: S ? _.label : /* @__PURE__ */ G("div", { className: "flex w-full items-center justify-between", children: [
20133
20133
  /* @__PURE__ */ b("span", { children: _.label }),
20134
20134
  _.subMenuSection && /* @__PURE__ */ b(
20135
20135
  VS,
@@ -20141,7 +20141,7 @@ const RI = ({
20141
20141
  },
20142
20142
  _.id
20143
20143
  );
20144
- }, M = (_) => _.map((S) => /* @__PURE__ */ K("div", { children: [
20144
+ }, M = (_) => _.map((S) => /* @__PURE__ */ G("div", { children: [
20145
20145
  P(S),
20146
20146
  S.subMenuSection && h.has(S.id) && /* @__PURE__ */ b("div", { className: "ml-4 space-y-1 mb-2", children: S.subMenuSection.items.map(
20147
20147
  (E) => P(E, !0, S.id)
@@ -20158,14 +20158,14 @@ const RI = ({
20158
20158
  }, F = (_) => {
20159
20159
  _.action ? _.action() : _.href && (_.target === "_blank" ? window.open(_.href, "_blank") : window.location.href = _.href);
20160
20160
  };
20161
- return /* @__PURE__ */ b("div", { className: `fixed left-0 top-0 z-40 my-1 mx-2 ${l}`, children: /* @__PURE__ */ K(
20161
+ return /* @__PURE__ */ b("div", { className: `fixed left-0 top-0 z-40 my-1 mx-2 ${l}`, children: /* @__PURE__ */ G(
20162
20162
  "div",
20163
20163
  {
20164
20164
  className: "flex flex-col",
20165
20165
  onMouseEnter: T,
20166
20166
  onMouseLeave: C,
20167
20167
  children: [
20168
- /* @__PURE__ */ K(
20168
+ /* @__PURE__ */ G(
20169
20169
  bM,
20170
20170
  {
20171
20171
  collapsed: c,
@@ -20194,8 +20194,8 @@ const RI = ({
20194
20194
  height: c ? e.height.collapsed : e.height.expanded
20195
20195
  }
20196
20196
  ) }) }),
20197
- /* @__PURE__ */ K("div", { className: "flex flex-col h-full", children: [
20198
- /* @__PURE__ */ K(xM, { className: "flex-1 mx-2 relative", children: [
20197
+ /* @__PURE__ */ G("div", { className: "flex h-full flex-col", children: [
20198
+ /* @__PURE__ */ G(xM, { className: "mx-2 flex-1 relative", children: [
20199
20199
  /* @__PURE__ */ b("div", { className: "flex flex-col", children: M(k) }),
20200
20200
  /* @__PURE__ */ b("div", { className: ` ${h.size === 0 ? "absolute bottom-0" : ""} w-full`, children: M(v) })
20201
20201
  ] }),
@@ -20242,7 +20242,7 @@ const RI = ({
20242
20242
  width: "40%",
20243
20243
  isOpen: u === "campaigns",
20244
20244
  onClose: () => f(null),
20245
- children: /* @__PURE__ */ K("div", { className: "flex flex-col px-10 pb-5", children: [
20245
+ children: /* @__PURE__ */ G("div", { className: "flex flex-col px-10 pb-5", children: [
20246
20246
  /* @__PURE__ */ b("h2", { className: "mb-3 text-center font-bold", children: "Selecciona el tipo de campaña que quieres crear" }),
20247
20247
  /* @__PURE__ */ b("div", { className: "flex", children: n.map((_) => /* @__PURE__ */ b(
20248
20248
  "div",
@@ -20281,8 +20281,8 @@ const V2 = ({
20281
20281
  totalPages: e,
20282
20282
  onPageChange: r,
20283
20283
  value: n
20284
- }) => /* @__PURE__ */ K("div", { className: "flex items-center justify-center gap-4", children: [
20285
- /* @__PURE__ */ K("span", { className: "text-base text-gray-700", children: [
20284
+ }) => /* @__PURE__ */ G("div", { className: "flex items-center justify-center gap-4", children: [
20285
+ /* @__PURE__ */ G("span", { className: "text-base text-gray-700", children: [
20286
20286
  "Ver  ",
20287
20287
  /* @__PURE__ */ b(
20288
20288
  "input",
@@ -20309,7 +20309,7 @@ const V2 = ({
20309
20309
  )
20310
20310
  }
20311
20311
  ),
20312
- /* @__PURE__ */ K("span", { className: "text-sm text-gray-700", children: [
20312
+ /* @__PURE__ */ G("span", { className: "text-sm text-gray-700", children: [
20313
20313
  t,
20314
20314
  " DE ",
20315
20315
  e
@@ -20338,8 +20338,8 @@ function X2({
20338
20338
  onChange: n
20339
20339
  }) {
20340
20340
  const [a, i] = me(e);
20341
- return /* @__PURE__ */ K("div", { className: "flex items-center gap-2", children: [
20342
- /* @__PURE__ */ K(
20341
+ return /* @__PURE__ */ G("div", { className: "flex items-center gap-2", children: [
20342
+ /* @__PURE__ */ G(
20343
20343
  "label",
20344
20344
  {
20345
20345
  className: `inline-flex items-center ${r ? "cursor-not-allowed opacity-60" : "cursor-pointer"}`,
@@ -20430,7 +20430,7 @@ const NI = ({
20430
20430
  const E = S[_.relation];
20431
20431
  if (_.isToggle) {
20432
20432
  const L = !!E;
20433
- return /* @__PURE__ */ K("div", { className: "flex items-center gap-2", children: [
20433
+ return /* @__PURE__ */ G("div", { className: "flex items-center gap-2", children: [
20434
20434
  /* @__PURE__ */ b(
20435
20435
  X2,
20436
20436
  {
@@ -20455,7 +20455,7 @@ const NI = ({
20455
20455
  }
20456
20456
  return E ?? "";
20457
20457
  };
20458
- return /* @__PURE__ */ K("div", { className: "w-full", children: [
20458
+ return /* @__PURE__ */ G("div", { className: "w-full", children: [
20459
20459
  /* @__PURE__ */ b("div", { className: "mb-4 flex items-center justify-between", children: a && /* @__PURE__ */ b("h2", { className: "text-base font-bold", children: a }) }),
20460
20460
  /* @__PURE__ */ b("div", { className: "flex", children: r && /* @__PURE__ */ b("div", { className: "w-1/2", children: /* @__PURE__ */ b(
20461
20461
  ri,
@@ -20466,9 +20466,9 @@ const NI = ({
20466
20466
  onChange: (_) => g(_.target.value)
20467
20467
  }
20468
20468
  ) }) }),
20469
- /* @__PURE__ */ K("div", { className: "mt-0", children: [
20470
- /* @__PURE__ */ b("div", { className: "overflow-x-auto", children: /* @__PURE__ */ K(Hr, { children: [
20471
- /* @__PURE__ */ K(
20469
+ /* @__PURE__ */ G("div", { className: "mt-0", children: [
20470
+ /* @__PURE__ */ b("div", { className: "overflow-x-auto", children: /* @__PURE__ */ G(Hr, { children: [
20471
+ /* @__PURE__ */ G(
20472
20472
  Hr.Head,
20473
20473
  {
20474
20474
  className: `mth_head_table ${i}`,
@@ -20494,7 +20494,7 @@ const NI = ({
20494
20494
  {
20495
20495
  className: "cursor-pointer text-xs",
20496
20496
  onClick: () => _.sortable !== !1 && z(_.relation),
20497
- children: /* @__PURE__ */ K("div", { className: "flex items-center", children: [
20497
+ children: /* @__PURE__ */ G("div", { className: "flex items-center", children: [
20498
20498
  _.header,
20499
20499
  _.sortable !== !1 && /* @__PURE__ */ b("span", { children: (w == null ? void 0 : w.key) === _.relation ? w.direction === "desc" ? /* @__PURE__ */ b(Ml, { className: "size-4" }) : /* @__PURE__ */ b(Jh, { className: "size-4" }) : /* @__PURE__ */ b(Ml, { className: "size-4 opacity-50" }) })
20500
20500
  ] })
@@ -20504,7 +20504,7 @@ const NI = ({
20504
20504
  ]
20505
20505
  }
20506
20506
  ),
20507
- /* @__PURE__ */ b(Hr.Body, { className: `divide-y text-xs md:text-base lg:text-base mth_body_table ${s}`, children: y.map((_) => /* @__PURE__ */ K(
20507
+ /* @__PURE__ */ b(Hr.Body, { className: `divide-y text-xs md:text-base lg:text-base mth_body_table ${s}`, children: y.map((_) => /* @__PURE__ */ G(
20508
20508
  Hr.Row,
20509
20509
  {
20510
20510
  className: "bg-white dark:border-gray-700 dark:bg-gray-800",
@@ -20548,7 +20548,7 @@ const NI = ({
20548
20548
  }, _h = {
20549
20549
  "m-image-container": "layoutOutside-module__m-image-container__sCvFu",
20550
20550
  "m-image": "layoutOutside-module__m-image__kZHyH"
20551
- }, II = () => /* @__PURE__ */ K("div", { className: "mt-32", children: [
20551
+ }, II = () => /* @__PURE__ */ G("div", { className: "mt-32", children: [
20552
20552
  /* @__PURE__ */ b(
20553
20553
  Rn,
20554
20554
  {
@@ -20579,7 +20579,7 @@ const NI = ({
20579
20579
  const i = () => {
20580
20580
  e || t(), r(!1);
20581
20581
  };
20582
- return /* @__PURE__ */ b("div", { className: "mb-5", children: /* @__PURE__ */ K("label", { className: ys["checkbox-container"], children: [
20582
+ return /* @__PURE__ */ b("div", { className: "mb-5", children: /* @__PURE__ */ G("label", { className: ys["checkbox-container"], children: [
20583
20583
  /* @__PURE__ */ b(
20584
20584
  "input",
20585
20585
  {
@@ -20613,7 +20613,7 @@ const NI = ({
20613
20613
  { key: "hasUpperCase", text: "Debe tener minimo una letra mayuscula" },
20614
20614
  { key: "hasLowerCase", text: "Debe tener minimo una letra minuscula" },
20615
20615
  { key: "hasSpecialChar", text: "Debe tener minimo un caracter especial" }
20616
- ].map(({ key: n, text: a }) => /* @__PURE__ */ K("li", { className: "flex items-center", children: [
20616
+ ].map(({ key: n, text: a }) => /* @__PURE__ */ G("li", { className: "flex items-center", children: [
20617
20617
  /* @__PURE__ */ b(e, { isValid: t[n] }),
20618
20618
  a
20619
20619
  ] }, n)) });
@@ -20651,8 +20651,8 @@ const NI = ({
20651
20651
  setConfirmPassword: a,
20652
20652
  validations: i
20653
20653
  } = K2();
20654
- return /* @__PURE__ */ K(Vt, { children: [
20655
- /* @__PURE__ */ K("div", { className: "block", children: [
20654
+ return /* @__PURE__ */ G(Vt, { children: [
20655
+ /* @__PURE__ */ G("div", { className: "block", children: [
20656
20656
  /* @__PURE__ */ b(
20657
20657
  vu,
20658
20658
  {
@@ -20666,7 +20666,7 @@ const NI = ({
20666
20666
  ),
20667
20667
  t.errors.password && t.touched.password && /* @__PURE__ */ b("div", { className: "my-2 text-sm text-red-500", children: String(t.errors.password) })
20668
20668
  ] }),
20669
- /* @__PURE__ */ K("div", { className: "block", children: [
20669
+ /* @__PURE__ */ G("div", { className: "block", children: [
20670
20670
  /* @__PURE__ */ b(
20671
20671
  vu,
20672
20672
  {
@@ -20689,15 +20689,15 @@ const NI = ({
20689
20689
  );
20690
20690
  }, a = (i, s = 0) => /* @__PURE__ */ b("ul", { className: "list-none space-y-2", children: i.map((o) => {
20691
20691
  const l = o.subItems && o.subItems.length > 0, c = e.includes(o.id);
20692
- return /* @__PURE__ */ K(
20692
+ return /* @__PURE__ */ G(
20693
20693
  "li",
20694
20694
  {
20695
20695
  className: `
20696
20696
  ${s > 0 ? "ml-7" : ""}
20697
20697
  `,
20698
20698
  children: [
20699
- /* @__PURE__ */ K("div", { className: "flex items-center gap-2 py-1", children: [
20700
- /* @__PURE__ */ K("div", { className: "flex min-w-[48px] items-center gap-1", children: [
20699
+ /* @__PURE__ */ G("div", { className: "flex items-center gap-2 py-1", children: [
20700
+ /* @__PURE__ */ G("div", { className: "flex min-w-[48px] items-center gap-1", children: [
20701
20701
  l && /* @__PURE__ */ b(
20702
20702
  "button",
20703
20703
  {
@@ -20791,7 +20791,7 @@ const NI = ({
20791
20791
  },
20792
20792
  [e, r, n, t]
20793
20793
  );
20794
- return /* @__PURE__ */ b("div", { className: "flex w-full items-center justify-center", children: /* @__PURE__ */ K(
20794
+ return /* @__PURE__ */ b("div", { className: "flex w-full items-center justify-center", children: /* @__PURE__ */ G(
20795
20795
  Cm,
20796
20796
  {
20797
20797
  htmlFor: "dropzone-file",
@@ -20800,7 +20800,7 @@ const NI = ({
20800
20800
  onDragLeave: d,
20801
20801
  onDrop: u,
20802
20802
  children: [
20803
- /* @__PURE__ */ K("div", { className: "flex w-2/4 items-center justify-center pb-6 pt-5", children: [
20803
+ /* @__PURE__ */ G("div", { className: "flex w-2/4 items-center justify-center pb-6 pt-5", children: [
20804
20804
  /* @__PURE__ */ b(
20805
20805
  Rn,
20806
20806
  {
@@ -20811,8 +20811,8 @@ const NI = ({
20811
20811
  height: 74
20812
20812
  }
20813
20813
  ),
20814
- /* @__PURE__ */ K("div", { className: "flex flex-col", children: [
20815
- /* @__PURE__ */ K("p", { className: "mb-2 text-sm font-light text-gray-400 dark:text-gray-400", children: [
20814
+ /* @__PURE__ */ G("div", { className: "flex flex-col", children: [
20815
+ /* @__PURE__ */ G("p", { className: "mb-2 text-sm font-light text-gray-400 dark:text-gray-400", children: [
20816
20816
  /* @__PURE__ */ b("span", { className: "font-bold text-gray-500", children: "Arrastra" }),
20817
20817
  " el feed de datos de tu campaña o",
20818
20818
  " ",
@@ -20820,7 +20820,7 @@ const NI = ({
20820
20820
  " ",
20821
20821
  a
20822
20822
  ] }),
20823
- /* @__PURE__ */ K("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: [
20823
+ /* @__PURE__ */ G("p", { className: "text-xs text-gray-500 dark:text-gray-400", children: [
20824
20824
  /* @__PURE__ */ b("span", { className: "font-semibold", children: "Tipos permitidos:" }),
20825
20825
  " ",
20826
20826
  l(),
@@ -20853,12 +20853,12 @@ function Q2(t) {
20853
20853
  const Z2 = (t) => {
20854
20854
  const e = Math.floor(Math.log(t) / Math.log(1024)), r = ["Bytes", "KB", "MB", "GB", "TB"];
20855
20855
  return `${(t / Math.pow(1024, e)).toFixed(2)} ${r[e]}`;
20856
- }, WI = ({ files: t, onDelete: e }) => /* @__PURE__ */ b("div", { className: "mt-4", children: /* @__PURE__ */ b("ul", { className: "list-disc", children: t.map((r, n) => /* @__PURE__ */ K(
20856
+ }, WI = ({ files: t, onDelete: e }) => /* @__PURE__ */ b("div", { className: "mt-4", children: /* @__PURE__ */ b("ul", { className: "list-disc", children: t.map((r, n) => /* @__PURE__ */ G(
20857
20857
  "div",
20858
20858
  {
20859
20859
  className: "mb-5 flex w-full items-center justify-between rounded-lg border-2 border-dashed border-gray-300 bg-gray-50 p-4 hover:bg-gray-100 dark:border-gray-600 dark:bg-gray-700 dark:hover:border-gray-500 dark:hover:bg-gray-600",
20860
20860
  children: [
20861
- /* @__PURE__ */ K("div", { className: "flex items-center", children: [
20861
+ /* @__PURE__ */ G("div", { className: "flex items-center", children: [
20862
20862
  /* @__PURE__ */ b(
20863
20863
  Rn,
20864
20864
  {
@@ -20870,7 +20870,7 @@ const Z2 = (t) => {
20870
20870
  ),
20871
20871
  /* @__PURE__ */ b("li", { className: "text-base font-semibold text-gray-700", children: r.name })
20872
20872
  ] }),
20873
- /* @__PURE__ */ K("div", { className: "mx-4 flex items-center", children: [
20873
+ /* @__PURE__ */ G("div", { className: "mx-4 flex items-center", children: [
20874
20874
  /* @__PURE__ */ b("span", { className: "flex text-sm", children: Z2(r.size) }),
20875
20875
  /* @__PURE__ */ b(
20876
20876
  Q2,
@@ -20883,7 +20883,7 @@ const Z2 = (t) => {
20883
20883
  ]
20884
20884
  },
20885
20885
  n
20886
- )) }) }), zI = ({ description: t = "" }) => /* @__PURE__ */ K("div", { className: "flex flex-col items-center justify-center", children: [
20886
+ )) }) }), zI = ({ description: t = "" }) => /* @__PURE__ */ G("div", { className: "flex flex-col items-center justify-center", children: [
20887
20887
  /* @__PURE__ */ b(
20888
20888
  "img",
20889
20889
  {
@@ -20920,8 +20920,8 @@ function jI({
20920
20920
  const w = p.target.value;
20921
20921
  d(w), l == null || l(w);
20922
20922
  }, h = (m = t.find((p) => p.id === c)) == null ? void 0 : m.content;
20923
- return /* @__PURE__ */ K("div", { className: `${e} tabs-container`, children: [
20924
- /* @__PURE__ */ K("div", { className: "mb-4 sm:hidden", children: [
20923
+ return /* @__PURE__ */ G("div", { className: `${e} tabs-container`, children: [
20924
+ /* @__PURE__ */ G("div", { className: "mb-4 sm:hidden", children: [
20925
20925
  /* @__PURE__ */ b("label", { htmlFor: "tabs-select", className: "sr-only", children: "Selecciona una pestaña" }),
20926
20926
  /* @__PURE__ */ b(
20927
20927
  "select",
@@ -20936,7 +20936,7 @@ function jI({
20936
20936
  ] }),
20937
20937
  /* @__PURE__ */ b("ul", { className: `${r} hidden text-sm font-medium text-center text-gray-500 rounded-lg shadow-sm sm:flex dark:divide-gray-700 dark:text-gray-400`, children: t.map((p) => {
20938
20938
  const w = c === p.id, x = () => w && a ? a : !w && i ? i : {};
20939
- return /* @__PURE__ */ b("li", { className: "w-full focus-within:z-10", children: /* @__PURE__ */ K(
20939
+ return /* @__PURE__ */ b("li", { className: "w-full focus-within:z-10", children: /* @__PURE__ */ G(
20940
20940
  "button",
20941
20941
  {
20942
20942
  onClick: () => u(p.id),
@@ -21108,7 +21108,7 @@ function rC() {
21108
21108
  function q(B) {
21109
21109
  return v(B) === r;
21110
21110
  }
21111
- function G(B) {
21111
+ function K(B) {
21112
21112
  return v(B) === i;
21113
21113
  }
21114
21114
  function J(B) {
@@ -21117,7 +21117,7 @@ function rC() {
21117
21117
  function ne(B) {
21118
21118
  return v(B) === u;
21119
21119
  }
21120
- ke.AsyncMode = y, ke.ConcurrentMode = O, ke.ContextConsumer = P, ke.ContextProvider = M, ke.Element = T, ke.ForwardRef = C, ke.Fragment = z, ke.Lazy = F, ke.Memo = _, ke.Portal = S, ke.Profiler = E, ke.StrictMode = L, ke.Suspense = H, ke.isAsyncMode = Z, ke.isConcurrentMode = R, ke.isContextConsumer = j, ke.isContextProvider = A, ke.isElement = I, ke.isForwardRef = N, ke.isFragment = D, ke.isLazy = $, ke.isMemo = X, ke.isPortal = q, ke.isProfiler = G, ke.isStrictMode = J, ke.isSuspense = ne, ke.isValidElementType = k, ke.typeOf = v;
21120
+ ke.AsyncMode = y, ke.ConcurrentMode = O, ke.ContextConsumer = P, ke.ContextProvider = M, ke.Element = T, ke.ForwardRef = C, ke.Fragment = z, ke.Lazy = F, ke.Memo = _, ke.Portal = S, ke.Profiler = E, ke.StrictMode = L, ke.Suspense = H, ke.isAsyncMode = Z, ke.isConcurrentMode = R, ke.isContextConsumer = j, ke.isContextProvider = A, ke.isElement = I, ke.isForwardRef = N, ke.isFragment = D, ke.isLazy = $, ke.isMemo = X, ke.isPortal = q, ke.isProfiler = K, ke.isStrictMode = J, ke.isSuspense = ne, ke.isValidElementType = k, ke.typeOf = v;
21121
21121
  }()), ke;
21122
21122
  }
21123
21123
  var Ch;
@@ -21290,7 +21290,7 @@ function iC() {
21290
21290
  function p(R) {
21291
21291
  if (process.env.NODE_ENV !== "production")
21292
21292
  var j = {}, A = 0;
21293
- function I(D, $, X, q, G, J, ne) {
21293
+ function I(D, $, X, q, K, J, ne) {
21294
21294
  if (q = q || f, J = J || X, ne !== r) {
21295
21295
  if (l) {
21296
21296
  var B = new Error(
@@ -21305,15 +21305,15 @@ function iC() {
21305
21305
  ), j[ae] = !0, A++);
21306
21306
  }
21307
21307
  }
21308
- return $[X] == null ? D ? $[X] === null ? new m("The " + G + " `" + J + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new m("The " + G + " `" + J + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : R($, X, q, G, J);
21308
+ return $[X] == null ? D ? $[X] === null ? new m("The " + K + " `" + J + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new m("The " + K + " `" + J + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : R($, X, q, K, J);
21309
21309
  }
21310
21310
  var N = I.bind(null, !1);
21311
21311
  return N.isRequired = I.bind(null, !0), N;
21312
21312
  }
21313
21313
  function w(R) {
21314
21314
  function j(A, I, N, D, $, X) {
21315
- var q = A[I], G = L(q);
21316
- if (G !== R) {
21315
+ var q = A[I], K = L(q);
21316
+ if (K !== R) {
21317
21317
  var J = H(q);
21318
21318
  return new m(
21319
21319
  "Invalid " + D + " `" + $ + "` of type " + ("`" + J + "` supplied to `" + N + "`, expected ") + ("`" + R + "`."),
@@ -21336,8 +21336,8 @@ function iC() {
21336
21336
  var q = L(X);
21337
21337
  return new m("Invalid " + D + " `" + $ + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected an array."));
21338
21338
  }
21339
- for (var G = 0; G < X.length; G++) {
21340
- var J = R(X, G, N, D, $ + "[" + G + "]", r);
21339
+ for (var K = 0; K < X.length; K++) {
21340
+ var J = R(X, K, N, D, $ + "[" + K + "]", r);
21341
21341
  if (J instanceof Error)
21342
21342
  return J;
21343
21343
  }
@@ -21386,11 +21386,11 @@ function iC() {
21386
21386
  for (var X = A[I], q = 0; q < R.length; q++)
21387
21387
  if (g(X, R[q]))
21388
21388
  return null;
21389
- var G = JSON.stringify(R, function(ne, B) {
21389
+ var K = JSON.stringify(R, function(ne, B) {
21390
21390
  var ae = H(B);
21391
21391
  return ae === "symbol" ? String(B) : B;
21392
21392
  });
21393
- return new m("Invalid " + D + " `" + $ + "` of value `" + String(X) + "` " + ("supplied to `" + N + "`, expected one of " + G + "."));
21393
+ return new m("Invalid " + D + " `" + $ + "` of value `" + String(X) + "` " + ("supplied to `" + N + "`, expected one of " + K + "."));
21394
21394
  }
21395
21395
  return p(j);
21396
21396
  }
@@ -21401,9 +21401,9 @@ function iC() {
21401
21401
  var X = A[I], q = L(X);
21402
21402
  if (q !== "object")
21403
21403
  return new m("Invalid " + D + " `" + $ + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected an object."));
21404
- for (var G in X)
21405
- if (n(X, G)) {
21406
- var J = R(X, G, N, D, $ + "." + G, r);
21404
+ for (var K in X)
21405
+ if (n(X, K)) {
21406
+ var J = R(X, K, N, D, $ + "." + K, r);
21407
21407
  if (J instanceof Error)
21408
21408
  return J;
21409
21409
  }
@@ -21422,13 +21422,13 @@ function iC() {
21422
21422
  ), s;
21423
21423
  }
21424
21424
  function I(N, D, $, X, q) {
21425
- for (var G = [], J = 0; J < R.length; J++) {
21425
+ for (var K = [], J = 0; J < R.length; J++) {
21426
21426
  var ne = R[J], B = ne(N, D, $, X, q, r);
21427
21427
  if (B == null)
21428
21428
  return null;
21429
- B.data && n(B.data, "expectedType") && G.push(B.data.expectedType);
21429
+ B.data && n(B.data, "expectedType") && K.push(B.data.expectedType);
21430
21430
  }
21431
- var ae = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
21431
+ var ae = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
21432
21432
  return new m("Invalid " + X + " `" + q + "` supplied to " + ("`" + $ + "`" + ae + "."));
21433
21433
  }
21434
21434
  return p(I);
@@ -21449,11 +21449,11 @@ function iC() {
21449
21449
  var X = A[I], q = L(X);
21450
21450
  if (q !== "object")
21451
21451
  return new m("Invalid " + D + " `" + $ + "` of type `" + q + "` " + ("supplied to `" + N + "`, expected `object`."));
21452
- for (var G in R) {
21453
- var J = R[G];
21452
+ for (var K in R) {
21453
+ var J = R[K];
21454
21454
  if (typeof J != "function")
21455
- return z(N, D, $, G, H(J));
21456
- var ne = J(X, G, N, D, $ + "." + G, r);
21455
+ return z(N, D, $, K, H(J));
21456
+ var ne = J(X, K, N, D, $ + "." + K, r);
21457
21457
  if (ne)
21458
21458
  return ne;
21459
21459
  }
@@ -21466,8 +21466,8 @@ function iC() {
21466
21466
  var X = A[I], q = L(X);
21467
21467
  if (q !== "object")
21468
21468
  return new m("Invalid " + D + " `" + $ + "` of type `" + q + "` " + ("supplied to `" + N + "`, expected `object`."));
21469
- var G = e({}, A[I], R);
21470
- for (var J in G) {
21469
+ var K = e({}, A[I], R);
21470
+ for (var J in K) {
21471
21471
  var ne = R[J];
21472
21472
  if (n(R, J) && typeof ne != "function")
21473
21473
  return z(N, D, $, J, H(ne));
@@ -26824,12 +26824,12 @@ var uy = {};
26824
26824
  var N = I.props.axis, D = I.scrollParent;
26825
26825
  return D === window ? window[O[N]] : D[v[N]];
26826
26826
  }, R = function(I, N) {
26827
- var D = I.length, $ = I.minSize, X = I.type, q = N.from, G = N.size, J = N.itemsPerRow;
26828
- G = Math.max(G, $);
26829
- var ne = G % J;
26830
- return ne && (G += J - ne), G > D && (G = D), q = X === "simple" || !q ? 0 : Math.max(Math.min(q, D - G), 0), (ne = q % J) && (q -= ne, G += ne), q === N.from && G === N.size ? N : p(p({}, N), {}, {
26827
+ var D = I.length, $ = I.minSize, X = I.type, q = N.from, K = N.size, J = N.itemsPerRow;
26828
+ K = Math.max(K, $);
26829
+ var ne = K % J;
26830
+ return ne && (K += J - ne), K > D && (K = D), q = X === "simple" || !q ? 0 : Math.max(Math.min(q, D - K), 0), (ne = q % J) && (q -= ne, K += ne), q === N.from && K === N.size ? N : p(p({}, N), {}, {
26831
26831
  from: q,
26832
- size: G
26832
+ size: K
26833
26833
  });
26834
26834
  }, j = e.default = /* @__PURE__ */ function(A) {
26835
26835
  function I(N) {
@@ -26892,7 +26892,7 @@ var uy = {};
26892
26892
  // always return document.documentElement[scrollKey] as 0, so take
26893
26893
  // whichever has a value.
26894
26894
  document.body[X] || document.documentElement[X]
26895
- ) : D[X], G = this.getScrollSize() - this.props.scrollParentViewportSizeGetter(this), J = Math.max(0, Math.min(q, G)), ne = this.getEl();
26895
+ ) : D[X], K = this.getScrollSize() - this.props.scrollParentViewportSizeGetter(this), J = Math.max(0, Math.min(q, K)), ne = this.getEl();
26896
26896
  return this.cachedScrollPosition = this.getOffset(D) + J - this.getOffset(ne), this.cachedScrollPosition;
26897
26897
  }
26898
26898
  }, {
@@ -26905,8 +26905,8 @@ var uy = {};
26905
26905
  }, {
26906
26906
  key: "getScrollSize",
26907
26907
  value: function() {
26908
- var D = this.scrollParent, $ = document, X = $.body, q = $.documentElement, G = C[this.props.axis];
26909
- return D === window ? Math.max(X[G], q[G]) : D[G];
26908
+ var D = this.scrollParent, $ = document, X = $.body, q = $.documentElement, K = C[this.props.axis];
26909
+ return D === window ? Math.max(X[K], q[K]) : D[K];
26910
26910
  }
26911
26911
  }, {
26912
26912
  key: "hasDeterminateSize",
@@ -26926,22 +26926,22 @@ var uy = {};
26926
26926
  }, {
26927
26927
  key: "getItemSizeAndItemsPerRow",
26928
26928
  value: function() {
26929
- var D = this.props, $ = D.axis, X = D.useStaticSize, q = this.state, G = q.itemSize, J = q.itemsPerRow;
26930
- if (X && G && J)
26929
+ var D = this.props, $ = D.axis, X = D.useStaticSize, q = this.state, K = q.itemSize, J = q.itemsPerRow;
26930
+ if (X && K && J)
26931
26931
  return {
26932
- itemSize: G,
26932
+ itemSize: K,
26933
26933
  itemsPerRow: J
26934
26934
  };
26935
26935
  var ne = this.items.children;
26936
26936
  if (!ne.length) return {};
26937
- var B = ne[0], ae = B[P[$]], re = Math.abs(ae - G);
26938
- if ((isNaN(re) || re >= 1) && (G = ae), !G) return {};
26937
+ var B = ne[0], ae = B[P[$]], re = Math.abs(ae - K);
26938
+ if ((isNaN(re) || re >= 1) && (K = ae), !K) return {};
26939
26939
  var le = M[$], fe = B[le];
26940
26940
  J = 1;
26941
26941
  for (var de = ne[J]; de && de[le] === fe; de = ne[J])
26942
26942
  ++J;
26943
26943
  return {
26944
- itemSize: G,
26944
+ itemSize: K,
26945
26945
  itemsPerRow: J
26946
26946
  };
26947
26947
  }
@@ -26977,12 +26977,12 @@ var uy = {};
26977
26977
  }, {
26978
26978
  key: "updateSimpleFrame",
26979
26979
  value: function(D) {
26980
- var $ = this.getStartAndEnd(), X = $.end, q = this.items.children, G = 0;
26980
+ var $ = this.getStartAndEnd(), X = $.end, q = this.items.children, K = 0;
26981
26981
  if (q.length) {
26982
26982
  var J = this.props.axis, ne = q[0], B = q[q.length - 1];
26983
- G = this.getOffset(B) + B[P[J]] - this.getOffset(ne);
26983
+ K = this.getOffset(B) + B[P[J]] - this.getOffset(ne);
26984
26984
  }
26985
- if (G > X) return D();
26985
+ if (K > X) return D();
26986
26986
  var ae = this.props, re = ae.pageSize, le = ae.length, fe = Math.min(this.state.size + re, le);
26987
26987
  this.maybeSetState({
26988
26988
  size: fe
@@ -26992,7 +26992,7 @@ var uy = {};
26992
26992
  key: "updateVariableFrame",
26993
26993
  value: function(D) {
26994
26994
  this.props.itemSizeGetter || this.cacheSizes();
26995
- for (var $ = this.getStartAndEnd(), X = $.start, q = $.end, G = this.props, J = G.length, ne = G.pageSize, B = 0, ae = 0, re = 0, le = J - 1; ae < le; ) {
26995
+ for (var $ = this.getStartAndEnd(), X = $.start, q = $.end, K = this.props, J = K.length, ne = K.pageSize, B = 0, ae = 0, re = 0, le = J - 1; ae < le; ) {
26996
26996
  var fe = this.getSizeOfItem(ae);
26997
26997
  if (fe == null || B + fe > X) break;
26998
26998
  B += fe, ++ae;
@@ -27016,7 +27016,7 @@ var uy = {};
27016
27016
  value: function(D) {
27017
27017
  var $ = this.getItemSizeAndItemsPerRow(), X = $.itemSize, q = $.itemsPerRow;
27018
27018
  if (!X || !q) return D();
27019
- var G = this.getStartAndEnd(), J = G.start, ne = G.end, B = R(this.props, {
27019
+ var K = this.getStartAndEnd(), J = K.start, ne = K.end, B = R(this.props, {
27020
27020
  from: Math.floor(J / X) * q,
27021
27021
  size: (Math.ceil((ne - J) / X) + 1) * q,
27022
27022
  itemsPerRow: q
@@ -27033,9 +27033,9 @@ var uy = {};
27033
27033
  value: function(D) {
27034
27034
  var $ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
27035
27035
  if ($[D] != null) return $[D];
27036
- var X = this.state, q = X.itemSize, G = X.itemsPerRow;
27036
+ var X = this.state, q = X.itemSize, K = X.itemsPerRow;
27037
27037
  if (q)
27038
- return $[D] = Math.floor(D / G) * q;
27038
+ return $[D] = Math.floor(D / K) * q;
27039
27039
  for (var J = D; J > 0 && $[--J] == null; ) ;
27040
27040
  for (var ne = $[J] || 0, B = J; B < D; ++B) {
27041
27041
  $[B] = ne;
@@ -27048,19 +27048,19 @@ var uy = {};
27048
27048
  }, {
27049
27049
  key: "cacheSizes",
27050
27050
  value: function() {
27051
- for (var D = this.cache, $ = this.state.from, X = this.items.children, q = P[this.props.axis], G = 0, J = X.length; G < J; ++G)
27052
- D[$ + G] = X[G][q];
27051
+ for (var D = this.cache, $ = this.state.from, X = this.items.children, q = P[this.props.axis], K = 0, J = X.length; K < J; ++K)
27052
+ D[$ + K] = X[K][q];
27053
27053
  }
27054
27054
  }, {
27055
27055
  key: "getSizeOfItem",
27056
27056
  value: function(D) {
27057
- var $ = this.cache, X = this.items, q = this.props, G = q.axis, J = q.itemSizeGetter, ne = q.itemSizeEstimator, B = q.type, ae = this.state, re = ae.from, le = ae.itemSize, fe = ae.size;
27057
+ var $ = this.cache, X = this.items, q = this.props, K = q.axis, J = q.itemSizeGetter, ne = q.itemSizeEstimator, B = q.type, ae = this.state, re = ae.from, le = ae.itemSize, fe = ae.size;
27058
27058
  if (le) return le;
27059
27059
  if (J) return J(D);
27060
27060
  if (D in $) return $[D];
27061
27061
  if (B === "simple" && D >= re && D < re + fe && X) {
27062
27062
  var de = X.children[D - re];
27063
- if (de) return de[P[G]];
27063
+ if (de) return de[P[K]];
27064
27064
  }
27065
27065
  if (ne) return ne(D, $);
27066
27066
  }
@@ -27072,23 +27072,23 @@ var uy = {};
27072
27072
  }, {
27073
27073
  key: "scrollAround",
27074
27074
  value: function(D) {
27075
- var $ = this.getScrollPosition(), X = this.getSpaceBefore(D), q = X - this.props.scrollParentViewportSizeGetter(this) + this.getSizeOfItem(D), G = Math.min(q, X), J = Math.max(q, X);
27076
- if ($ <= G) return this.setScroll(G);
27075
+ var $ = this.getScrollPosition(), X = this.getSpaceBefore(D), q = X - this.props.scrollParentViewportSizeGetter(this) + this.getSizeOfItem(D), K = Math.min(q, X), J = Math.max(q, X);
27076
+ if ($ <= K) return this.setScroll(K);
27077
27077
  if ($ > J) return this.setScroll(J);
27078
27078
  }
27079
27079
  }, {
27080
27080
  key: "getVisibleRange",
27081
27081
  value: function() {
27082
- for (var D = this.state, $ = D.from, X = D.size, q = this.getStartAndEnd(0), G = q.start, J = q.end, ne = {}, B, ae, re = $; re < $ + X; ++re) {
27082
+ for (var D = this.state, $ = D.from, X = D.size, q = this.getStartAndEnd(0), K = q.start, J = q.end, ne = {}, B, ae, re = $; re < $ + X; ++re) {
27083
27083
  var le = this.getSpaceBefore(re, ne), fe = le + this.getSizeOfItem(re);
27084
- B == null && fe > G && (B = re), B != null && le < J && (ae = re);
27084
+ B == null && fe > K && (B = re), B != null && le < J && (ae = re);
27085
27085
  }
27086
27086
  return [B, ae];
27087
27087
  }
27088
27088
  }, {
27089
27089
  key: "renderItems",
27090
27090
  value: function() {
27091
- for (var D = this, $ = this.props, X = $.itemRenderer, q = $.itemsRenderer, G = this.state, J = G.from, ne = G.size, B = [], ae = 0; ae < ne; ++ae) B.push(X(J + ae, ae));
27091
+ for (var D = this, $ = this.props, X = $.itemRenderer, q = $.itemsRenderer, K = this.state, J = K.from, ne = K.size, B = [], ae = 0; ae < ne; ++ae) B.push(X(J + ae, ae));
27092
27092
  return q(B, function(re) {
27093
27093
  return D.items = re;
27094
27094
  });
@@ -27096,8 +27096,8 @@ var uy = {};
27096
27096
  }, {
27097
27097
  key: "render",
27098
27098
  value: function() {
27099
- var D = this, $ = this.props, X = $.axis, q = $.length, G = $.type, J = $.useTranslate3d, ne = this.state, B = ne.from, ae = ne.itemsPerRow, re = this.renderItems();
27100
- if (G === "simple") return re;
27099
+ var D = this, $ = this.props, X = $.axis, q = $.length, K = $.type, J = $.useTranslate3d, ne = this.state, B = ne.from, ae = ne.itemsPerRow, re = this.renderItems();
27100
+ if (K === "simple") return re;
27101
27101
  var le = {
27102
27102
  position: "relative"
27103
27103
  }, fe = {}, de = Math.ceil(q / ae) * ae, ie = this.getSpaceBefore(de, fe);
@@ -29330,8 +29330,8 @@ const jN = {
29330
29330
  }) => {
29331
29331
  const [i, s] = me([
29332
29332
  {
29333
- startDate: /* @__PURE__ */ new Date(),
29334
- endDate: Yt(/* @__PURE__ */ new Date(), 6),
29333
+ startDate: Yt(/* @__PURE__ */ new Date(), -6),
29334
+ endDate: /* @__PURE__ */ new Date(),
29335
29335
  key: "selection"
29336
29336
  }
29337
29337
  ]), [o, l] = me(!1), [c, d] = me({}), u = Kt(null), f = Kt(null), h = a ?? yI, g = t ? [{ ...t, key: "selection" }] : i;
@@ -29359,7 +29359,7 @@ const jN = {
29359
29359
  u.current && !u.current.contains(v.target) && f.current && !f.current.contains(v.target) && l(!1);
29360
29360
  };
29361
29361
  return document.addEventListener("mousedown", k), () => document.removeEventListener("mousedown", k);
29362
- }, [o]), /* @__PURE__ */ K("div", { className: Sr["date-container"], children: [
29362
+ }, [o]), /* @__PURE__ */ G("div", { className: Sr["date-container"], children: [
29363
29363
  /* @__PURE__ */ b(
29364
29364
  "input",
29365
29365
  {
@@ -29371,14 +29371,14 @@ const jN = {
29371
29371
  className: Sr["date-input"]
29372
29372
  }
29373
29373
  ),
29374
- o && /* @__PURE__ */ K(
29374
+ o && /* @__PURE__ */ G(
29375
29375
  "div",
29376
29376
  {
29377
29377
  ref: u,
29378
29378
  className: Sr["date-popup"],
29379
29379
  style: c,
29380
29380
  children: [
29381
- /* @__PURE__ */ K("div", { className: Sr["date-menu"], children: [
29381
+ /* @__PURE__ */ G("div", { className: Sr["date-menu"], children: [
29382
29382
  h.map((k, v) => /* @__PURE__ */ b(
29383
29383
  "div",
29384
29384
  {
@@ -29434,7 +29434,7 @@ const jN = {
29434
29434
  "ball-container": "loader-module__ball-container__qDvi5",
29435
29435
  ball: wI
29436
29436
  }, VI = function() {
29437
- return /* @__PURE__ */ b("div", { className: bn["loader-wrapper"], children: /* @__PURE__ */ b("div", { className: bn.container, children: /* @__PURE__ */ K("div", { className: bn["mathilde-loading"], children: [
29437
+ return /* @__PURE__ */ b("div", { className: bn["loader-wrapper"], children: /* @__PURE__ */ b("div", { className: bn.container, children: /* @__PURE__ */ G("div", { className: bn["mathilde-loading"], children: [
29438
29438
  /* @__PURE__ */ b(
29439
29439
  "img",
29440
29440
  {
@@ -29474,7 +29474,7 @@ const jN = {
29474
29474
  k.value || k.label
29475
29475
  )), w = () => /* @__PURE__ */ b("div", { className: `grid min-w-[200px] gap-2 p-2 ${o === 1 ? "grid-cols-1" : o === 2 ? "grid-cols-2" : o === 3 ? "grid-cols-3" : o === 4 ? "grid-cols-4" : "grid-cols-2"}`, children: r.map((v) => {
29476
29476
  const y = v.value || v.label, O = h.includes(y);
29477
- return /* @__PURE__ */ K(
29477
+ return /* @__PURE__ */ G(
29478
29478
  "label",
29479
29479
  {
29480
29480
  className: "flex cursor-pointer items-center gap-2 rounded p-2 hover:bg-gray-100",
@@ -29486,10 +29486,10 @@ const jN = {
29486
29486
  checked: O,
29487
29487
  onChange: (P) => m(y, P.target.checked),
29488
29488
  disabled: v.disabled,
29489
- className: "size-4 rounded border-gray-300 bg-gray-100 text-blue-600 focus:ring-blue-500"
29489
+ className: "size-3 rounded border-gray-300 bg-gray-100 text-blue-600 focus:ring-blue-500"
29490
29490
  }
29491
29491
  ),
29492
- /* @__PURE__ */ b("span", { className: `text-sm ${v.disabled ? "text-gray-400" : "text-gray-700"}`, children: v.label })
29492
+ /* @__PURE__ */ b("span", { className: `text-xs ${v.disabled ? "text-gray-400" : "text-black"}`, children: v.label })
29493
29493
  ]
29494
29494
  },
29495
29495
  y
@@ -29507,7 +29507,7 @@ const jN = {
29507
29507
  className: a,
29508
29508
  style: i,
29509
29509
  type: "button",
29510
- children: /* @__PURE__ */ K("span", { className: "flex items-center gap-2", children: [
29510
+ children: /* @__PURE__ */ G("span", { className: "flex items-center gap-2", children: [
29511
29511
  x(u),
29512
29512
  t,
29513
29513
  d && x(cc)
@@ -29518,6 +29518,15 @@ const jN = {
29518
29518
  children: s === "simple" ? p() : w()
29519
29519
  }
29520
29520
  ) });
29521
+ }, UI = function({ steps: t }) {
29522
+ return /* @__PURE__ */ b("ol", { className: "relative border-s-2 border-[#191960] text-gray-500 dark:border-gray-700 dark:text-gray-400", children: t.map((e, r) => {
29523
+ const n = r === t.length - 1, a = e.status === "completed";
29524
+ return /* @__PURE__ */ G("li", { className: `ms-4 ${n ? "" : "mb-8"}`, children: [
29525
+ /* @__PURE__ */ b("span", { className: `absolute -start-2 mt-1 flex size-3.5 items-center justify-center rounded-full ring-4 ring-white dark:ring-gray-900 ${a ? "bg-[#191960]" : "bg-[#C0D4FF]"}` }),
29526
+ /* @__PURE__ */ b("h3", { className: `mt-0 p-0 font-medium leading-tight
29527
+ ${a ? "text-black" : "text-gray-600"}`, children: e.title })
29528
+ ] }, e.title);
29529
+ }) });
29521
29530
  };
29522
29531
  export {
29523
29532
  DI as ButtonFormat,
@@ -29542,6 +29551,7 @@ export {
29542
29551
  pk as SelectForm,
29543
29552
  RI as SidebarPro,
29544
29553
  zI as Spinner,
29554
+ UI as Stepper,
29545
29555
  NI as TableComponent,
29546
29556
  LI as TableOfContents,
29547
29557
  jI as TabsComponent,