sprintify-ui 0.0.70 → 0.0.72

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,5 +1,5 @@
1
1
  import Sl from "axios";
2
- import { defineComponent as K, inject as be, resolveComponent as Se, openBlock as w, createBlock as ee, withCtx as H, createElementVNode as v, normalizeClass as q, withModifiers as Ue, renderSlot as Q, createElementBlock as A, createCommentVNode as W, toDisplayString as G, h as Ee, unref as h, computed as I, ref as V, watch as Le, Teleport as Pt, createVNode as U, Transition as We, TransitionGroup as Ur, Fragment as fe, renderList as ve, normalizeStyle as je, onMounted as ye, withDirectives as qe, vShow as lt, normalizeProps as Je, guardReactiveProps as Ze, mergeProps as at, resolveDynamicComponent as Vt, createTextVNode as ze, onBeforeUnmount as fn, cloneVNode as $l, provide as pe, watchEffect as He, nextTick as Re, onUnmounted as nt, reactive as Bl, isRef as Mt, withKeys as An, vModelText as Tn, useSlots as Cl, createStaticVNode as zr, getCurrentInstance as _l, pushScopeId as Il, popScopeId as El, createSlots as Al, vModelSelect as Sn, readonly as on } from "vue";
2
+ import { defineComponent as K, inject as be, resolveComponent as $e, openBlock as w, createBlock as ee, withCtx as H, createElementVNode as v, normalizeClass as q, withModifiers as Ue, renderSlot as Q, createElementBlock as E, createCommentVNode as G, toDisplayString as W, h as Ee, unref as h, computed as I, ref as V, watch as Ae, Teleport as Pt, createVNode as U, Transition as We, TransitionGroup as Ur, Fragment as fe, renderList as ve, normalizeStyle as je, onMounted as ye, withDirectives as qe, vShow as lt, normalizeProps as Je, guardReactiveProps as Ze, mergeProps as at, resolveDynamicComponent as Vt, createTextVNode as ze, onBeforeUnmount as fn, cloneVNode as $l, provide as pe, watchEffect as He, nextTick as Re, onUnmounted as nt, reactive as Bl, isRef as Mt, withKeys as An, vModelText as Tn, useSlots as Cl, createStaticVNode as zr, getCurrentInstance as _l, pushScopeId as Il, popScopeId as El, createSlots as Al, vModelSelect as Sn, readonly as on } from "vue";
3
3
  import { useI18n as et, createI18n as Tl } from "vue-i18n";
4
4
  import { defineStore as Xn } from "pinia";
5
5
  import br from "qs";
@@ -31,7 +31,7 @@ const ql = ["active", "href", "aria-current", "onClick"], Rl = ["href"], ln = /*
31
31
  o && await o(), r("click"), n();
32
32
  }
33
33
  return (o, a) => {
34
- const s = Se("RouterLink");
34
+ const s = $e("RouterLink");
35
35
  return e.item.to ? (w(), ee(s, {
36
36
  key: 0,
37
37
  custom: "",
@@ -49,21 +49,21 @@ const ql = ["active", "href", "aria-current", "onClick"], Rl = ["href"], ln = /*
49
49
  ], 10, ql)
50
50
  ]),
51
51
  _: 3
52
- }, 8, ["to"])) : e.item.action ? (w(), A("button", {
52
+ }, 8, ["to"])) : e.item.action ? (w(), E("button", {
53
53
  key: 1,
54
54
  type: "button",
55
55
  class: q(e.itemClass),
56
56
  onClick: a[0] || (a[0] = (i) => l(e.item.action))
57
57
  }, [
58
58
  Q(o.$slots, "default", { active: !1 })
59
- ], 2)) : e.item.href ? (w(), A("a", {
59
+ ], 2)) : e.item.href ? (w(), E("a", {
60
60
  key: 2,
61
61
  href: e.item.href,
62
62
  class: q(e.itemClass),
63
63
  onClick: a[1] || (a[1] = (i) => l())
64
64
  }, [
65
65
  Q(o.$slots, "default", { active: !1 })
66
- ], 10, Rl)) : W("", !0);
66
+ ], 10, Rl)) : G("", !0);
67
67
  };
68
68
  }
69
69
  }), Ul = K({
@@ -116,11 +116,11 @@ const ql = ["active", "href", "aria-current", "onClick"], Rl = ["href"], ln = /*
116
116
  class: "mr-3"
117
117
  };
118
118
  function Hl(e, r, n, l, o, a) {
119
- const s = Se("BaseIcon");
120
- return w(), A("div", {
119
+ const s = $e("BaseIcon");
120
+ return w(), E("div", {
121
121
  class: q(["flex w-full items-start rounded-md p-4", [e.backgroundClass, e.borderClass]])
122
122
  }, [
123
- e.showIcon ? (w(), A("div", zl, [
123
+ e.showIcon ? (w(), E("div", zl, [
124
124
  e.color == "warning" ? (w(), ee(s, {
125
125
  key: 0,
126
126
  icon: "heroicons-solid:exclamation",
@@ -137,19 +137,19 @@ function Hl(e, r, n, l, o, a) {
137
137
  key: 3,
138
138
  icon: "heroicons-solid:information-circle",
139
139
  class: q(e.iconClass)
140
- }, null, 8, ["class"])) : W("", !0)
141
- ])) : W("", !0),
140
+ }, null, 8, ["class"])) : G("", !0)
141
+ ])) : G("", !0),
142
142
  v("div", null, [
143
- e.title ? (w(), A("h3", {
143
+ e.title ? (w(), E("h3", {
144
144
  key: 0,
145
145
  class: q(["mb-1 font-medium leading-tight", [e.titleClass]])
146
- }, G(e.title), 3)) : W("", !0),
147
- e.$slots.default ? (w(), A("div", {
146
+ }, W(e.title), 3)) : G("", !0),
147
+ e.$slots.default ? (w(), E("div", {
148
148
  key: 1,
149
149
  class: q([e.textClass, "text-sm leading-tight"])
150
150
  }, [
151
151
  Q(e.$slots, "default")
152
- ], 2)) : W("", !0)
152
+ ], 2)) : G("", !0)
153
153
  ])
154
154
  ], 2);
155
155
  }
@@ -715,15 +715,15 @@ function Sa(e, r, n, l) {
715
715
  } else
716
716
  s = e.resources.slice(a).concat(e.resources.slice(0, a));
717
717
  const i = Date.now();
718
- let p = "pending", d = 0, x, g = null, E = [], L = [];
718
+ let p = "pending", d = 0, x, g = null, A = [], L = [];
719
719
  typeof l == "function" && L.push(l);
720
720
  function S() {
721
721
  g && (clearTimeout(g), g = null);
722
722
  }
723
723
  function M() {
724
- p === "pending" && (p = "aborted"), S(), E.forEach((k) => {
724
+ p === "pending" && (p = "aborted"), S(), A.forEach((k) => {
725
725
  k.status === "pending" && (k.status = "aborted");
726
- }), E = [];
726
+ }), A = [];
727
727
  }
728
728
  function y(k, $) {
729
729
  $ && (L = []), typeof k == "function" && L.push(k);
@@ -734,7 +734,7 @@ function Sa(e, r, n, l) {
734
734
  payload: r,
735
735
  status: p,
736
736
  queriesSent: d,
737
- queriesPending: E.length,
737
+ queriesPending: A.length,
738
738
  subscribe: y,
739
739
  abort: M
740
740
  };
@@ -745,13 +745,13 @@ function Sa(e, r, n, l) {
745
745
  });
746
746
  }
747
747
  function j() {
748
- E.forEach((k) => {
748
+ A.forEach((k) => {
749
749
  k.status === "pending" && (k.status = "aborted");
750
- }), E = [];
750
+ }), A = [];
751
751
  }
752
752
  function P(k, $, c) {
753
753
  const m = $ !== "success";
754
- switch (E = E.filter((f) => f !== k), p) {
754
+ switch (A = A.filter((f) => f !== k), p) {
755
755
  case "pending":
756
756
  break;
757
757
  case "failed":
@@ -766,7 +766,7 @@ function Sa(e, r, n, l) {
766
766
  return;
767
767
  }
768
768
  if (m) {
769
- x = c, E.length || (s.length ? z() : t());
769
+ x = c, A.length || (s.length ? z() : t());
770
770
  return;
771
771
  }
772
772
  if (S(), j(), !e.random) {
@@ -783,7 +783,7 @@ function Sa(e, r, n, l) {
783
783
  S();
784
784
  const k = s.shift();
785
785
  if (k === void 0) {
786
- if (E.length) {
786
+ if (A.length) {
787
787
  g = setTimeout(() => {
788
788
  S(), p === "pending" && (j(), t());
789
789
  }, e.timeout);
@@ -799,7 +799,7 @@ function Sa(e, r, n, l) {
799
799
  P($, c, m);
800
800
  }
801
801
  };
802
- E.push($), d++, g = setTimeout(z, e.rotate), n(k, r, $.callback);
802
+ A.push($), d++, g = setTimeout(z, e.rotate), n(k, r, $.callback);
803
803
  }
804
804
  return setTimeout(z), T;
805
805
  }
@@ -817,8 +817,8 @@ function to(e) {
817
817
  r,
818
818
  i,
819
819
  p,
820
- (g, E) => {
821
- l(), d && d(g, E);
820
+ (g, A) => {
821
+ l(), d && d(g, A);
822
822
  }
823
823
  );
824
824
  return n.push(x), x;
@@ -1066,7 +1066,7 @@ const La = (e, r) => {
1066
1066
  const g = o[d] || (o[d] = /* @__PURE__ */ Object.create(null));
1067
1067
  g[x] || (g[x] = []);
1068
1068
  }), l.pending.forEach((p) => {
1069
- const { provider: d, prefix: x, name: g } = p, E = bt(d, x), L = E.pendingIcons || (E.pendingIcons = /* @__PURE__ */ new Set());
1069
+ const { provider: d, prefix: x, name: g } = p, A = bt(d, x), L = A.pendingIcons || (A.pendingIcons = /* @__PURE__ */ new Set());
1070
1070
  L.has(g) || (L.add(g), o[d][x].push(g));
1071
1071
  }), a.forEach((p) => {
1072
1072
  const { provider: d, prefix: x } = p;
@@ -1214,10 +1214,10 @@ const Or = (e, r) => {
1214
1214
  let M = 0, y = r.id;
1215
1215
  return typeof y == "string" && (y = y.replace(/-/g, "_")), l.innerHTML = sa(p.body, y ? () => y + "ID" + M++ : "iconifyVue"), Ee("svg", l);
1216
1216
  }
1217
- const { body: x, width: g, height: E } = e, L = o === "mask" || (o === "bg" ? !1 : x.indexOf("currentColor") !== -1), S = Da(x, {
1217
+ const { body: x, width: g, height: A } = e, L = o === "mask" || (o === "bg" ? !1 : x.indexOf("currentColor") !== -1), S = Da(x, {
1218
1218
  ...d,
1219
1219
  width: g + "",
1220
- height: E + ""
1220
+ height: A + ""
1221
1221
  });
1222
1222
  return l.style = {
1223
1223
  ...a,
@@ -1351,7 +1351,7 @@ const Ra = {
1351
1351
  setup(e) {
1352
1352
  return (r, n) => {
1353
1353
  var l, o;
1354
- return w(), A("div", Ua, [
1354
+ return w(), E("div", Ua, [
1355
1355
  v("div", za, [
1356
1356
  v("div", {
1357
1357
  class: q(["mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10", {
@@ -1381,9 +1381,9 @@ const Ra = {
1381
1381
  ], 2),
1382
1382
  v("div", Ha, [
1383
1383
  Q(r.$slots, "default", {}, () => [
1384
- v("h3", Ka, G(e.title), 1),
1384
+ v("h3", Ka, W(e.title), 1),
1385
1385
  v("div", Ga, [
1386
- v("p", Wa, G(e.message), 1)
1386
+ v("p", Wa, W(e.message), 1)
1387
1387
  ])
1388
1388
  ])
1389
1389
  ])
@@ -1398,12 +1398,12 @@ const Ra = {
1398
1398
  "btn-success": e.color == "success"
1399
1399
  }]),
1400
1400
  onClick: n[0] || (n[0] = (a) => r.$emit("confirm"))
1401
- }, G((l = e.confirmText) != null ? l : r.$t("sui.confirm")), 3),
1401
+ }, W((l = e.confirmText) != null ? l : r.$t("sui.confirm")), 3),
1402
1402
  v("button", {
1403
1403
  type: "button",
1404
1404
  class: "btn w-full sm:mr-2 sm:w-auto",
1405
1405
  onClick: n[1] || (n[1] = (a) => r.$emit("cancel"))
1406
- }, G((o = e.cancelText) != null ? o : r.$t("sui.cancel")), 1)
1406
+ }, W((o = e.cancelText) != null ? o : r.$t("sui.cancel")), 1)
1407
1407
  ])
1408
1408
  ]);
1409
1409
  };
@@ -1509,7 +1509,7 @@ var Ya = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1509
1509
  return p(B, function(oe) {
1510
1510
  return J.push(oe);
1511
1511
  }), J;
1512
- }, E = function(B, J) {
1512
+ }, A = function(B, J) {
1513
1513
  var oe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, ie = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : document;
1514
1514
  if (oe && g(ie.querySelectorAll(J)).indexOf(B) !== -1)
1515
1515
  return B;
@@ -1582,9 +1582,9 @@ var Ya = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1582
1582
  }), o.d(l, "addScrollableSelector", function() {
1583
1583
  return ce;
1584
1584
  }), o.d(l, "removeScrollableSelector", function() {
1585
- return Be;
1585
+ return Ce;
1586
1586
  }), o.d(l, "addLockableTarget", function() {
1587
- return _e;
1587
+ return ke;
1588
1588
  }), o.d(l, "addLockableSelector", function() {
1589
1589
  return Ne;
1590
1590
  }), o.d(l, "setFillGapMethod", function() {
@@ -1626,7 +1626,7 @@ var Ya = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1626
1626
  }, f = function(B) {
1627
1627
  m.queue <= 0 && (m.scroll = !1, b(), he()), ue(B), m.queue++;
1628
1628
  }, C = function(B) {
1629
- m.queue > 0 && m.queue--, m.queue <= 0 && (m.scroll = !0, _(), $e()), se(B);
1629
+ m.queue > 0 && m.queue--, m.queue <= 0 && (m.scroll = !0, _(), Be()), se(B);
1630
1630
  }, F = function() {
1631
1631
  return m.scroll;
1632
1632
  }, re = function() {
@@ -1683,7 +1683,7 @@ var Ya = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1683
1683
  m.scrollableSelectors.push(oe);
1684
1684
  });
1685
1685
  }
1686
- }, Be = function(B) {
1686
+ }, Ce = function(B) {
1687
1687
  if (B) {
1688
1688
  var J = a(B);
1689
1689
  J.map(function(oe) {
@@ -1692,7 +1692,7 @@ var Ya = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1692
1692
  });
1693
1693
  });
1694
1694
  }
1695
- }, _e = function(B) {
1695
+ }, ke = function(B) {
1696
1696
  if (B) {
1697
1697
  var J = a(B);
1698
1698
  J.map(function(oe) {
@@ -1731,7 +1731,7 @@ Available fill gap methods: `).concat(J, "."));
1731
1731
  var J = a(B);
1732
1732
  J.map(function(oe) {
1733
1733
  p(oe, function(ie) {
1734
- s(ie) ? (ie.removeAttribute("data-scroll-lock-fill-gap"), m.scroll || ke(ie)) : d('"'.concat(ie, '" is not a Element.'));
1734
+ s(ie) ? (ie.removeAttribute("data-scroll-lock-fill-gap"), m.scroll || Se(ie)) : d('"'.concat(ie, '" is not a Element.'));
1735
1735
  });
1736
1736
  });
1737
1737
  }
@@ -1748,7 +1748,7 @@ Available fill gap methods: `).concat(J, "."));
1748
1748
  J.map(function(oe) {
1749
1749
  m.fillGapSelectors = m.fillGapSelectors.filter(function(ie) {
1750
1750
  return ie !== oe;
1751
- }), m.scroll || Ae(oe);
1751
+ }), m.scroll || Te(oe);
1752
1752
  });
1753
1753
  }
1754
1754
  }, u = function() {
@@ -1780,9 +1780,9 @@ Available fill gap methods: `).concat(J, "."));
1780
1780
  m.fillGapSelectors.map(function(B) {
1781
1781
  De(B);
1782
1782
  });
1783
- }, $e = function() {
1783
+ }, Be = function() {
1784
1784
  m.fillGapSelectors.map(function(B) {
1785
- Ae(B);
1785
+ Te(B);
1786
1786
  });
1787
1787
  }, De = function(B) {
1788
1788
  var J = document.querySelectorAll(B), oe = m.lockableSelectors.indexOf(B) !== -1;
@@ -1796,10 +1796,10 @@ Available fill gap methods: `).concat(J, "."));
1796
1796
  if (B.getAttribute("data-scroll-lock-lockable") === "" || J)
1797
1797
  oe = Y(B, !0);
1798
1798
  else {
1799
- var ie = E(B, x(m.lockableSelectors));
1799
+ var ie = A(B, x(m.lockableSelectors));
1800
1800
  oe = Y(ie, !0);
1801
1801
  }
1802
- B.getAttribute("data-scroll-lock-filled-gap") === "true" && ke(B);
1802
+ B.getAttribute("data-scroll-lock-filled-gap") === "true" && Se(B);
1803
1803
  var rt = window.getComputedStyle(B);
1804
1804
  if (B.setAttribute("data-scroll-lock-filled-gap", "true"), B.setAttribute("data-scroll-lock-current-fill-gap-method", m.fillGapMethod), m.fillGapMethod === "margin") {
1805
1805
  var ht = parseFloat(rt.marginRight);
@@ -1813,17 +1813,17 @@ Available fill gap methods: `).concat(J, "."));
1813
1813
  B.style.paddingRight = "".concat(ut + oe, "px");
1814
1814
  }
1815
1815
  }
1816
- }, Ae = function(B) {
1816
+ }, Te = function(B) {
1817
1817
  var J = document.querySelectorAll(B);
1818
1818
  p(J, function(oe) {
1819
- ke(oe);
1819
+ Se(oe);
1820
1820
  });
1821
- }, ke = function(B) {
1821
+ }, Se = function(B) {
1822
1822
  if (s(B) && B.getAttribute("data-scroll-lock-filled-gap") === "true") {
1823
1823
  var J = B.getAttribute("data-scroll-lock-current-fill-gap-method");
1824
1824
  B.removeAttribute("data-scroll-lock-filled-gap"), B.removeAttribute("data-scroll-lock-current-fill-gap-method"), J === "margin" ? B.style.marginRight = "" : J === "width" ? B.style.width = "" : J === "max-width" ? B.style.maxWidth = "" : J === "padding" && (B.style.paddingRight = "");
1825
1825
  }
1826
- }, Ce = function(B) {
1826
+ }, _e = function(B) {
1827
1827
  u();
1828
1828
  }, it = function(B) {
1829
1829
  m.scroll || (m.startTouchY = B.touches[0].clientY, m.startTouchX = B.touches[0].clientX);
@@ -1844,10 +1844,10 @@ Available fill gap methods: `).concat(J, "."));
1844
1844
  }, xl = function yr(Oe) {
1845
1845
  var kl = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1846
1846
  if (Oe) {
1847
- var kn = E(Oe, ht, !1);
1847
+ var kn = A(Oe, ht, !1);
1848
1848
  if (P(Oe))
1849
1849
  return !1;
1850
- if (kl || j(Oe) && E(Oe, ht) || L(Oe, ht)) {
1850
+ if (kl || j(Oe) && A(Oe, ht) || L(Oe, ht)) {
1851
1851
  var Ht = !1;
1852
1852
  T(Oe) && t(Oe) ? (ut.up && M(Oe) || ut.down && y(Oe)) && (Ht = !0) : M(Oe) && y(Oe) ? (ut.left && T(Oe) || ut.right && t(Oe)) && (Ht = !0) : (zt.up && M(Oe) || zt.down && y(Oe) || zt.left && T(Oe) || zt.right && t(Oe)) && (Ht = !0), Ht && (kn ? yr(kn, !0) : B.cancelable && B.preventDefault());
1853
1853
  } else
@@ -1861,7 +1861,7 @@ Available fill gap methods: `).concat(J, "."));
1861
1861
  }, yl = function(B) {
1862
1862
  m.scroll || (m.startTouchY = 0, m.startTouchX = 0);
1863
1863
  };
1864
- typeof window < "u" && window.addEventListener("resize", Ce), typeof document < "u" && (document.addEventListener("touchstart", it), document.addEventListener("touchmove", Ut, {
1864
+ typeof window < "u" && window.addEventListener("resize", _e), typeof document < "u" && (document.addEventListener("touchstart", it), document.addEventListener("touchmove", Ut, {
1865
1865
  passive: !1
1866
1866
  }), document.addEventListener("touchend", yl));
1867
1867
  var bl = {
@@ -1914,11 +1914,11 @@ Available fill gap methods: `).concat(J, "."));
1914
1914
  getPageScrollBarWidth: N,
1915
1915
  getCurrentPageScrollBarWidth: Z,
1916
1916
  addScrollableSelector: ce,
1917
- removeScrollableSelector: Be,
1917
+ removeScrollableSelector: Ce,
1918
1918
  addScrollableTarget: ue,
1919
1919
  removeScrollableTarget: se,
1920
1920
  addLockableSelector: Ne,
1921
- addLockableTarget: _e,
1921
+ addLockableTarget: ke,
1922
1922
  addFillGapSelector: Fe,
1923
1923
  removeFillGapSelector: X,
1924
1924
  addFillGapTarget: de,
@@ -1960,7 +1960,7 @@ const Ja = {
1960
1960
  i.value[d.id] = "animate-shake";
1961
1961
  });
1962
1962
  }
1963
- return Le(
1963
+ return Ae(
1964
1964
  () => l.value.length,
1965
1965
  () => {
1966
1966
  l.value.length == 0 ? fo() : co();
@@ -1978,7 +1978,7 @@ const Ja = {
1978
1978
  "leave-to-class": "opacity-0"
1979
1979
  }, {
1980
1980
  default: H(() => [
1981
- h(l).length ? (w(), A("div", Ja)) : W("", !0)
1981
+ h(l).length ? (w(), E("div", Ja)) : G("", !0)
1982
1982
  ]),
1983
1983
  _: 1
1984
1984
  }),
@@ -1993,9 +1993,9 @@ const Ja = {
1993
1993
  tag: "div"
1994
1994
  }, {
1995
1995
  default: H(() => [
1996
- (w(!0), A(fe, null, ve(h(l), (g) => {
1997
- var E;
1998
- return w(), A("div", {
1996
+ (w(!0), E(fe, null, ve(h(l), (g) => {
1997
+ var A;
1998
+ return w(), E("div", {
1999
1999
  key: g.id,
2000
2000
  "scroll-lock-target": "",
2001
2001
  class: "fixed inset-0 z-dialogs transform overflow-y-auto"
@@ -2006,7 +2006,7 @@ const Ja = {
2006
2006
  onClick: (L) => g.closeOnOutsideClick ? a(g) : p(g)
2007
2007
  }, null, 8, Xa),
2008
2008
  U(uo, {
2009
- class: q((E = h(i)[g.id]) != null ? E : ""),
2009
+ class: q((A = h(i)[g.id]) != null ? A : ""),
2010
2010
  color: g.color,
2011
2011
  title: g.title,
2012
2012
  message: g.message,
@@ -2047,7 +2047,7 @@ const Ja = {
2047
2047
  "leave-to-class": "sm:translate-y-0 sm:translate-x-4 translate-y-2 opacity-0"
2048
2048
  }, {
2049
2049
  default: H(() => [
2050
- (w(!0), A(fe, null, ve(h(n), (a) => (w(), A("div", {
2050
+ (w(!0), E(fe, null, ve(h(n), (a) => (w(), E("div", {
2051
2051
  key: a.id
2052
2052
  }, [
2053
2053
  v("div", ns, [
@@ -2068,8 +2068,8 @@ const Ja = {
2068
2068
  "text-yellow-500": a.color == "warning",
2069
2069
  "text-green-500": a.color == "success"
2070
2070
  }])
2071
- }, G(a.title), 3),
2072
- v("p", ss, G(a.text), 1)
2071
+ }, W(a.title), 3),
2072
+ v("p", ss, W(a.text), 1)
2073
2073
  ])
2074
2074
  ])
2075
2075
  ])
@@ -2084,7 +2084,7 @@ const Ja = {
2084
2084
  }), is = { class: "min-h-full" }, us = /* @__PURE__ */ K({
2085
2085
  __name: "BaseApp",
2086
2086
  setup(e) {
2087
- return (r, n) => (w(), A("div", is, [
2087
+ return (r, n) => (w(), E("div", is, [
2088
2088
  Q(r.$slots, "default"),
2089
2089
  U(po),
2090
2090
  U(mo)
@@ -2103,7 +2103,7 @@ const Ja = {
2103
2103
  }
2104
2104
  },
2105
2105
  setup(e) {
2106
- return (r, n) => (w(), A("div", {
2106
+ return (r, n) => (w(), E("div", {
2107
2107
  class: q(["relative isolate overflow-hidden rounded", [e.background]])
2108
2108
  }, [
2109
2109
  v("div", {
@@ -2153,12 +2153,12 @@ function Ke(e) {
2153
2153
  }
2154
2154
  );
2155
2155
  a && g(a);
2156
- const E = be(
2156
+ const A = be(
2157
2157
  "field:setLabelClass",
2158
2158
  (k) => {
2159
2159
  }
2160
2160
  );
2161
- s && E(s);
2161
+ s && A(s);
2162
2162
  const L = be("form:disable", () => {
2163
2163
  }), S = be("form:enable", () => {
2164
2164
  }), M = I(() => n.value ? n.value : i.value), y = I(() => r.value ? r.value : p.value), T = I(() => x(y.value)), t = I(() => l.value ? l.value : !!T.value);
@@ -2254,7 +2254,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2254
2254
  I(() => n.labelKey),
2255
2255
  I(() => n.valueKey),
2256
2256
  I(() => !1)
2257
- ), E = g.isSelected, L = g.normalizedOptions, S = g.normalizedModelValue;
2257
+ ), A = g.isSelected, L = g.normalizedOptions, S = g.normalizedModelValue;
2258
2258
  ye(() => {
2259
2259
  Gr(
2260
2260
  x.value,
@@ -2268,7 +2268,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2268
2268
  var N;
2269
2269
  return (N = y.value[Math.min(p.value, y.value.length - 1)]) != null ? N : null;
2270
2270
  });
2271
- Le(
2271
+ Ae(
2272
2272
  () => S.value,
2273
2273
  () => {
2274
2274
  var N;
@@ -2319,7 +2319,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2319
2319
  }
2320
2320
  }, $ = (N) => {
2321
2321
  const Z = M.value && M.value.value == N.value;
2322
- return E(N) ? Z ? "bg-blue-600 hover:bg-blue-700 text-white" : "bg-blue-500 hover:bg-blue-600 text-white" : Z ? "bg-slate-200 hover:bg-slate-300" : "bg-white hover:bg-slate-100";
2322
+ return A(N) ? Z ? "bg-blue-600 hover:bg-blue-700 text-white" : "bg-blue-500 hover:bg-blue-600 text-white" : Z ? "bg-slate-200 hover:bg-slate-300" : "bg-white hover:bg-slate-100";
2323
2323
  }, c = () => {
2324
2324
  var N;
2325
2325
  r("clear"), F(""), C(null), (N = d.value) == null || N.focus();
@@ -2351,7 +2351,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2351
2351
  te();
2352
2352
  },
2353
2353
  { attributes: !1, childList: !0, subtree: !0 }
2354
- ), (N, Z) => (w(), A("div", null, [
2354
+ ), (N, Z) => (w(), E("div", null, [
2355
2355
  v("div", cs, [
2356
2356
  v("div", ds, [
2357
2357
  v("input", {
@@ -2375,7 +2375,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2375
2375
  })
2376
2376
  ])
2377
2377
  ]),
2378
- h(S) && !e.disabled ? (w(), A("div", ps, [
2378
+ h(S) && !e.disabled ? (w(), E("div", ps, [
2379
2379
  v("button", {
2380
2380
  type: "button",
2381
2381
  class: "group flex h-full items-center rounded p-1.5 enabled:hover:bg-slate-100",
@@ -2386,7 +2386,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2386
2386
  class: "h-5 w-5 text-slate-500 group-hover:text-slate-700"
2387
2387
  })
2388
2388
  ])
2389
- ])) : W("", !0)
2389
+ ])) : G("", !0)
2390
2390
  ]),
2391
2391
  v("div", hs, [
2392
2392
  qe(v("div", vs, [
@@ -2396,9 +2396,9 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2396
2396
  class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
2397
2397
  }, [
2398
2398
  h(y).length == 0 ? Q(N.$slots, "empty", { key: 0 }, () => [
2399
- v("div", gs, G(N.$t("sui.nothing_found")), 1)
2400
- ]) : (w(), A("ul", ys, [
2401
- (w(!0), A(fe, null, ve(h(y), (ue) => (w(), A("li", {
2399
+ v("div", gs, W(N.$t("sui.nothing_found")), 1)
2400
+ ]) : (w(), E("ul", ys, [
2401
+ (w(!0), E(fe, null, ve(h(y), (ue) => (w(), E("li", {
2402
2402
  key: ue.value,
2403
2403
  class: "block"
2404
2404
  }, [
@@ -2411,12 +2411,12 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2411
2411
  }, [
2412
2412
  Q(N.$slots, "option", {
2413
2413
  option: ue.option,
2414
- selected: h(E)(ue),
2414
+ selected: h(A)(ue),
2415
2415
  active: h(M) && h(M).value == ue.value
2416
2416
  }, () => [
2417
2417
  v("div", {
2418
2418
  class: q(["rounded px-2 py-1 text-sm", $(ue)])
2419
- }, G(ue.label), 3)
2419
+ }, W(ue.label), 3)
2420
2420
  ])
2421
2421
  ], 40, bs)
2422
2422
  ]))), 128))
@@ -2426,15 +2426,15 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2426
2426
  ref_key: "footer",
2427
2427
  ref: Y
2428
2428
  }, [
2429
- N.$slots.footer ? (w(), A("div", ws, [
2429
+ N.$slots.footer ? (w(), E("div", ws, [
2430
2430
  Q(N.$slots, "footer", {
2431
2431
  options: h(y),
2432
2432
  keywords: h(s),
2433
2433
  hideDropdown: f
2434
2434
  })
2435
- ])) : W("", !0)
2435
+ ])) : G("", !0)
2436
2436
  ], 512),
2437
- e.loading ? (w(), A("div", xs, [
2437
+ e.loading ? (w(), E("div", xs, [
2438
2438
  v("div", ks, [
2439
2439
  U(yt, {
2440
2440
  class: "h-7 w-full",
@@ -2449,7 +2449,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2449
2449
  delay: "100ms"
2450
2450
  })
2451
2451
  ])
2452
- ])) : W("", !0)
2452
+ ])) : G("", !0)
2453
2453
  ], 512), [
2454
2454
  [lt, h(i)]
2455
2455
  ])
@@ -2515,7 +2515,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2515
2515
  p.value = 1, s.value = !1, i.value = y, l.value = !0, M();
2516
2516
  }, g = () => {
2517
2517
  a.value || S();
2518
- }, E = () => {
2518
+ }, A = () => {
2519
2519
  i.value = "", S(), r("clear");
2520
2520
  }, L = () => {
2521
2521
  s.value || (p.value++, S());
@@ -2546,7 +2546,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2546
2546
  "label-key": e.labelKey,
2547
2547
  "has-error": e.hasError,
2548
2548
  filter: () => !0,
2549
- onClear: E,
2549
+ onClear: A,
2550
2550
  onFocus: g,
2551
2551
  onTyping: x,
2552
2552
  onScrollBottom: L,
@@ -2560,7 +2560,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2560
2560
  ]),
2561
2561
  empty: H((t) => [
2562
2562
  Q(y.$slots, "empty", at(t, { firstSearch: h(a) }), () => [
2563
- h(a) ? (w(), A("div", Ss, G(y.$t("sui.nothing_found")), 1)) : W("", !0)
2563
+ h(a) ? (w(), E("div", Ss, W(y.$t("sui.nothing_found")), 1)) : G("", !0)
2564
2564
  ])
2565
2565
  ]),
2566
2566
  _: 3
@@ -2622,7 +2622,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2622
2622
  src: e.user.avatar_url,
2623
2623
  class: q([[h(n), e.detailsPosition == "left" ? "order-2" : "order-1"], "shrink-0 overflow-hidden rounded-full object-cover object-center"])
2624
2624
  }, null, 10, $s),
2625
- e.showDetails ? (w(), A("div", {
2625
+ e.showDetails ? (w(), E("div", {
2626
2626
  key: 0,
2627
2627
  class: q(["max-w-[120px] grow leading-tight", [
2628
2628
  h(l),
@@ -2633,9 +2633,9 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2633
2633
  marginRight: e.detailsPosition == "left" ? h(o) : "0"
2634
2634
  })
2635
2635
  }, [
2636
- v("div", Bs, G(e.user.full_name), 1),
2637
- v("div", Cs, G(e.user.email), 1)
2638
- ], 6)) : W("", !0)
2636
+ v("div", Bs, W(e.user.full_name), 1),
2637
+ v("div", Cs, W(e.user.email), 1)
2638
+ ], 6)) : G("", !0)
2639
2639
  ]),
2640
2640
  _: 1
2641
2641
  }, 8, ["to"]));
@@ -2673,8 +2673,8 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2673
2673
  return "1rem";
2674
2674
  }
2675
2675
  });
2676
- return (l, o) => (w(), A("div", _s, [
2677
- (w(!0), A(fe, null, ve(e.users, (a, s) => (w(), A("div", {
2676
+ return (l, o) => (w(), E("div", _s, [
2677
+ (w(!0), E(fe, null, ve(e.users, (a, s) => (w(), E("div", {
2678
2678
  key: a.email + "-" + s,
2679
2679
  role: "tooltip",
2680
2680
  class: "shrink-0",
@@ -2726,7 +2726,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2726
2726
  }
2727
2727
  return {};
2728
2728
  }), o = I(() => r.size == "base" ? "px-2.5 py-0.5 text-xs" : r.size == "lg" ? "px-3 py-0.5 text-sm" : "px-2.5 py-0.5 text-xs"), a = I(() => r.size == "base" ? "h-3 w-3 mr-1 -ml-0.5" : r.size == "lg" ? "h-4 w-4 mr-1 -ml-0.5" : "h-3 w-3 mr-1 -ml-0.5");
2729
- return (s, i) => (w(), A("span", {
2729
+ return (s, i) => (w(), E("span", {
2730
2730
  class: q(["inline-flex items-center rounded-full font-medium", [h(n), h(o)]]),
2731
2731
  style: je(h(l))
2732
2732
  }, [
@@ -2734,7 +2734,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2734
2734
  key: 0,
2735
2735
  icon: e.icon,
2736
2736
  class: q(h(a))
2737
- }, null, 8, ["icon", "class"])) : W("", !0),
2737
+ }, null, 8, ["icon", "class"])) : G("", !0),
2738
2738
  Q(s.$slots, "default")
2739
2739
  ], 6));
2740
2740
  }
@@ -2789,13 +2789,13 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2789
2789
  emits: ["update:modelValue"],
2790
2790
  setup(e, { emit: r }) {
2791
2791
  const n = e, l = xe.http, o = V(n.currentModel);
2792
- Le(
2792
+ Ae(
2793
2793
  () => n.currentModel,
2794
2794
  (s, i) => {
2795
2795
  o.value = s;
2796
2796
  },
2797
2797
  { deep: !0 }
2798
- ), Le(
2798
+ ), Ae(
2799
2799
  () => n.modelValue,
2800
2800
  (s, i) => {
2801
2801
  if (s != i && n.showRouteUrl != null) {
@@ -2848,13 +2848,13 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2848
2848
  setup(e) {
2849
2849
  const r = e, n = I(() => r.modelValue ? "text-white bg-green-500" : "text-white bg-red-500");
2850
2850
  return (l, o) => {
2851
- const a = Se("BaseIcon");
2852
- return w(), A("div", {
2851
+ const a = $e("BaseIcon");
2852
+ return w(), E("div", {
2853
2853
  class: q(["inline-flex h-5 w-5 items-center justify-center rounded-full", h(n)])
2854
2854
  }, [
2855
- e.modelValue ? (w(), A("div", Ms, [
2855
+ e.modelValue ? (w(), E("div", Ms, [
2856
2856
  U(a, { icon: "heroicons-solid:check" })
2857
- ])) : (w(), A("div", Os, [
2857
+ ])) : (w(), E("div", Os, [
2858
2858
  U(a, { icon: "heroicons-solid:x" })
2859
2859
  ]))
2860
2860
  ], 2);
@@ -2881,18 +2881,18 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2881
2881
  return r.breadcrumbs[r.breadcrumbs.length - 2];
2882
2882
  });
2883
2883
  return (l, o) => {
2884
- const a = Se("BaseIcon"), s = Se("RouterLink");
2885
- return w(), A("div", null, [
2886
- e.breadcrumbs.length > 0 ? (w(), A("nav", Fs, [
2884
+ const a = $e("BaseIcon"), s = $e("RouterLink");
2885
+ return w(), E("div", null, [
2886
+ e.breadcrumbs.length > 0 ? (w(), E("nav", Fs, [
2887
2887
  v("ol", Ds, [
2888
- (w(!0), A(fe, null, ve(e.breadcrumbs, (i, p) => (w(), A("li", { key: p }, [
2888
+ (w(!0), E(fe, null, ve(e.breadcrumbs, (i, p) => (w(), E("li", { key: p }, [
2889
2889
  v("div", Ps, [
2890
2890
  p > 0 ? (w(), ee(a, {
2891
2891
  key: 0,
2892
2892
  icon: "heroicons-solid:chevron-right",
2893
2893
  class: "h-5 w-5 flex-shrink-0 text-slate-400",
2894
2894
  "aria-hidden": "true"
2895
- })) : W("", !0),
2895
+ })) : G("", !0),
2896
2896
  U(s, {
2897
2897
  to: i.to,
2898
2898
  custom: ""
@@ -2904,13 +2904,13 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2904
2904
  { "ml-3": p > 0 },
2905
2905
  g ? "text-primary-600" : "text-slate-500 hover:text-slate-700"
2906
2906
  ]]),
2907
- onClick: Ue((E) => x(), ["prevent"])
2907
+ onClick: Ue((A) => x(), ["prevent"])
2908
2908
  }, [
2909
- i.icon ? (w(), A("span", Ns, [
2909
+ i.icon ? (w(), E("span", Ns, [
2910
2910
  U(a, {
2911
2911
  icon: i.icon
2912
2912
  }, null, 8, ["icon"])
2913
- ])) : (w(), A("span", qs, G(h(Ll)(i.label)), 1))
2913
+ ])) : (w(), E("span", qs, W(h(Ll)(i.label)), 1))
2914
2914
  ], 10, Vs)
2915
2915
  ]),
2916
2916
  _: 2
@@ -2918,7 +2918,7 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2918
2918
  ])
2919
2919
  ]))), 128))
2920
2920
  ])
2921
- ])) : W("", !0),
2921
+ ])) : G("", !0),
2922
2922
  h(n) ? (w(), ee(s, {
2923
2923
  key: 1,
2924
2924
  to: h(n).to,
@@ -2930,11 +2930,11 @@ const cs = { class: "relative" }, ds = { class: "relative" }, fs = ["value", "pl
2930
2930
  icon: "heroicons-solid:arrow-left",
2931
2931
  class: "mr-2"
2932
2932
  }),
2933
- v("span", null, G(h(n).label), 1)
2933
+ v("span", null, W(h(n).label), 1)
2934
2934
  ])
2935
2935
  ]),
2936
2936
  _: 1
2937
- }, 8, ["to"])) : W("", !0)
2937
+ }, 8, ["to"])) : G("", !0)
2938
2938
  ]);
2939
2939
  };
2940
2940
  }
@@ -2974,7 +2974,7 @@ function Ws(e, r, n, l, o, a) {
2974
2974
  }, [
2975
2975
  Q(e.$slots, "default")
2976
2976
  ], 2),
2977
- e.loading ? (w(), A("div", Hs, Gs)) : W("", !0)
2977
+ e.loading ? (w(), E("div", Hs, Gs)) : G("", !0)
2978
2978
  ]),
2979
2979
  _: 3
2980
2980
  }, 512);
@@ -3067,11 +3067,11 @@ const Qs = /* @__PURE__ */ Ve(zs, [["render", Ws]]), Ys = ["type", "disabled", "
3067
3067
  o(g);
3068
3068
  }
3069
3069
  }
3070
- return (d, x) => (w(), A("div", {
3070
+ return (d, x) => (w(), E("div", {
3071
3071
  class: "flex flex-wrap",
3072
3072
  style: je({ margin: "-" + e.spacing })
3073
3073
  }, [
3074
- (w(!0), A(fe, null, ve(h(a), (g) => (w(), A("div", {
3074
+ (w(!0), E(fe, null, ve(h(a), (g) => (w(), E("div", {
3075
3075
  key: g.value,
3076
3076
  style: je({ padding: e.spacing })
3077
3077
  }, [
@@ -3082,14 +3082,14 @@ const Qs = /* @__PURE__ */ Ve(zs, [["render", Ws]]), Ys = ["type", "disabled", "
3082
3082
  e.buttonClass,
3083
3083
  h(i)(g) ? e.buttonSelectedClass : e.buttonUnselectedClass
3084
3084
  ]),
3085
- onClick: (E) => p(g)
3085
+ onClick: (A) => p(g)
3086
3086
  }, [
3087
3087
  Q(d.$slots, "option", {
3088
3088
  selected: h(i)(g),
3089
3089
  option: g,
3090
3090
  disabled: e.disabled
3091
3091
  }, () => [
3092
- ze(G(g.label), 1)
3092
+ ze(W(g.label), 1)
3093
3093
  ])
3094
3094
  ], 10, Ys)
3095
3095
  ], 4))), 128))
@@ -3116,7 +3116,7 @@ const Qs = /* @__PURE__ */ Ve(zs, [["render", Ws]]), Ys = ["type", "disabled", "
3116
3116
  function a() {
3117
3117
  r.value = document.body.clientWidth, l.value && (n.value = l.value.offsetWidth);
3118
3118
  }
3119
- return (s, i) => (w(), A("div", {
3119
+ return (s, i) => (w(), E("div", {
3120
3120
  ref_key: "card",
3121
3121
  ref: l,
3122
3122
  class: q(["border-t border-b border-slate-300 bg-white", {
@@ -3141,7 +3141,7 @@ const Qs = /* @__PURE__ */ Ve(zs, [["render", Ws]]), Ys = ["type", "disabled", "
3141
3141
  }
3142
3142
  }), Xs = { class: "border-t border-slate-300 first:border-t-0" };
3143
3143
  function ei(e, r, n, l, o, a) {
3144
- return w(), A("div", Xs, [
3144
+ return w(), E("div", Xs, [
3145
3145
  v("div", {
3146
3146
  class: q(e.paddingClass)
3147
3147
  }, [
@@ -3181,13 +3181,13 @@ const ir = /* @__PURE__ */ Ve(Zs, [["render", ei]]), ti = {
3181
3181
  let o = r.text;
3182
3182
  return r.trim && (o = Hr(r.text)), r.removeDoubleSpaces && (o = o.replace(/ +(?= )/g, "")), o;
3183
3183
  }), l = I(() => n.value.length);
3184
- return (o, a) => (w(), A("div", null, [
3185
- e.max && (!e.min || h(l) >= e.min) ? (w(), A("div", {
3184
+ return (o, a) => (w(), E("div", null, [
3185
+ e.max && (!e.min || h(l) >= e.min) ? (w(), E("div", {
3186
3186
  key: 0,
3187
3187
  class: q({
3188
3188
  "text-red-600": h(l) > e.max
3189
3189
  })
3190
- }, G(h(l)) + "/" + G(e.max), 3)) : e.min && h(l) < e.min ? (w(), A("div", ti, G(o.$t("sui.min_x_characters", { x: e.min })) + " (" + G(h(l)) + "/" + G(e.min) + ") ", 1)) : W("", !0)
3190
+ }, W(h(l)) + "/" + W(e.max), 3)) : e.min && h(l) < e.min ? (w(), E("div", ti, W(o.$t("sui.min_x_characters", { x: e.min })) + " (" + W(h(l)) + "/" + W(e.min) + ") ", 1)) : G("", !0)
3191
3191
  ]));
3192
3192
  }
3193
3193
  }), ri = { class: "pointer-events-none absolute left-full z-[1] items-center" }, oi = { class: "ml-2 whitespace-nowrap rounded bg-slate-900 bg-opacity-80 px-3 py-2 text-xs leading-tight text-white backdrop-blur" }, li = {
@@ -3228,8 +3228,8 @@ const ir = /* @__PURE__ */ Ve(Zs, [["render", ei]]), ti = {
3228
3228
  }, 1600);
3229
3229
  }
3230
3230
  return (x, g) => {
3231
- const E = Se("BaseIcon");
3232
- return w(), A("button", {
3231
+ const A = $e("BaseIcon");
3232
+ return w(), E("button", {
3233
3233
  type: "button",
3234
3234
  class: "relative inline-flex items-center",
3235
3235
  onClick: g[0] || (g[0] = (L) => p()),
@@ -3248,13 +3248,13 @@ const ir = /* @__PURE__ */ Ve(Zs, [["render", ei]]), ti = {
3248
3248
  default: H(() => [
3249
3249
  qe(v("div", ri, [
3250
3250
  v("div", oi, [
3251
- h(l) ? (w(), A("div", li, [
3252
- U(E, {
3251
+ h(l) ? (w(), E("div", li, [
3252
+ U(A, {
3253
3253
  class: "mr-1 text-green-500",
3254
3254
  icon: "heroicons:check-circle-solid"
3255
3255
  }),
3256
- ze(" " + G(x.$t("sui.copied")), 1)
3257
- ])) : (w(), A("div", ai, G(x.$t("sui.click_to_copy")), 1))
3256
+ ze(" " + W(x.$t("sui.copied")), 1)
3257
+ ])) : (w(), E("div", ai, W(x.$t("sui.click_to_copy")), 1))
3258
3258
  ])
3259
3259
  ], 512), [
3260
3260
  [lt, h(n)]
@@ -3297,7 +3297,7 @@ const ir = /* @__PURE__ */ Ve(Zs, [["render", ei]]), ti = {
3297
3297
  }
3298
3298
  });
3299
3299
  function ui(e, r, n, l, o, a) {
3300
- return w(), A("div", {
3300
+ return w(), E("div", {
3301
3301
  class: q(["mx-auto w-full md:px-8", [e.width, { "px-4": !e.paddinglessMobile }]])
3302
3302
  }, [
3303
3303
  Q(e.$slots, "default")
@@ -3328,9 +3328,9 @@ const go = /* @__PURE__ */ Ve(ii, [["render", ui]]), qt = /* @__PURE__ */ K({
3328
3328
  const a = Math.max(1, r.maxDigit), s = r.count + "";
3329
3329
  return s.length > a ? gt("+", a + 1, "9") : s;
3330
3330
  }), l = I(() => r.size == "xs" ? "text-[10px]" : r.size == "sm" ? "text-xs" : r.size == "base" ? "text-sm" : "text-xs"), o = I(() => r.color == "danger" ? "bg-red-500 text-white" : r.color == "primary" ? "bg-primary-500 text-white" : r.color == "dark" ? "bg-slate-900 text-white" : r.color == "light" ? "bg-slate-200 text-slate-900" : "bg-white text-slate-900");
3331
- return (a, s) => (w(), A("div", {
3331
+ return (a, s) => (w(), E("div", {
3332
3332
  class: q(["inline-flex h-4 w-auto items-center justify-center rounded-full px-1.5", [h(l), h(o)]])
3333
- }, G(h(n)), 3));
3333
+ }, W(h(n)), 3));
3334
3334
  }
3335
3335
  });
3336
3336
  function Gt(e) {
@@ -3352,9 +3352,9 @@ var yo = { exports: {} };
3352
3352
  return i(d, !0);
3353
3353
  throw new Error("Cannot find module '" + d + "'");
3354
3354
  }
3355
- x = o[d] = { exports: {} }, l[d][0].call(x.exports, function(E) {
3356
- var L = l[d][1][E];
3357
- return s(L || E);
3355
+ x = o[d] = { exports: {} }, l[d][0].call(x.exports, function(A) {
3356
+ var L = l[d][1][A];
3357
+ return s(L || A);
3358
3358
  }, x, x.exports, n, l, o, a);
3359
3359
  }
3360
3360
  return o[d].exports;
@@ -3363,7 +3363,7 @@ var yo = { exports: {} };
3363
3363
  s(a[p]);
3364
3364
  return s;
3365
3365
  }({ 1: [function(n, l, o) {
3366
- (function(a, s, i, p, d, x, g, E, L) {
3366
+ (function(a, s, i, p, d, x, g, A, L) {
3367
3367
  var S = n("crypto");
3368
3368
  function M(k, $) {
3369
3369
  $ = t(k, $);
@@ -3544,7 +3544,7 @@ Use "options.replacer" or "options.ignoreUnknown"
3544
3544
  };
3545
3545
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
3546
3546
  }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(n, l, o) {
3547
- (function(a, s, i, p, d, x, g, E, L) {
3547
+ (function(a, s, i, p, d, x, g, A, L) {
3548
3548
  (function(S) {
3549
3549
  var M = typeof Uint8Array < "u" ? Uint8Array : Array, y = "+".charCodeAt(0), T = "/".charCodeAt(0), t = "0".charCodeAt(0), j = "a".charCodeAt(0), P = "A".charCodeAt(0), z = "-".charCodeAt(0), k = "_".charCodeAt(0);
3550
3550
  function $(c) {
@@ -3580,7 +3580,7 @@ Use "options.replacer" or "options.ignoreUnknown"
3580
3580
  })(o === void 0 ? this.base64js = {} : o);
3581
3581
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js", "/node_modules/gulp-browserify/node_modules/base64-js/lib");
3582
3582
  }, { buffer: 3, lYpoI2: 11 }], 3: [function(n, l, o) {
3583
- (function(a, s, y, p, d, x, g, E, L) {
3583
+ (function(a, s, y, p, d, x, g, A, L) {
3584
3584
  var S = n("base64-js"), M = n("ieee754");
3585
3585
  function y(u, b, _) {
3586
3586
  if (!(this instanceof y))
@@ -3619,8 +3619,8 @@ Use "options.replacer" or "options.ignoreUnknown"
3619
3619
  }
3620
3620
  function t(u, b, _, O) {
3621
3621
  return y._charsWritten = Ne(function(D) {
3622
- for (var R, ae, he = [], $e = 0; $e < D.length; $e++)
3623
- ae = D.charCodeAt($e), R = ae >> 8, ae = ae % 256, he.push(ae), he.push(R);
3622
+ for (var R, ae, he = [], Be = 0; Be < D.length; Be++)
3623
+ ae = D.charCodeAt(Be), R = ae >> 8, ae = ae % 256, he.push(ae), he.push(R);
3624
3624
  return he;
3625
3625
  }(b), u, _, O);
3626
3626
  }
@@ -3715,7 +3715,7 @@ Use "options.replacer" or "options.ignoreUnknown"
3715
3715
  break;
3716
3716
  case "utf8":
3717
3717
  case "utf-8":
3718
- _ = Be(u).length;
3718
+ _ = Ce(u).length;
3719
3719
  break;
3720
3720
  case "ascii":
3721
3721
  case "binary":
@@ -3723,7 +3723,7 @@ Use "options.replacer" or "options.ignoreUnknown"
3723
3723
  _ = u.length;
3724
3724
  break;
3725
3725
  case "base64":
3726
- _ = _e(u).length;
3726
+ _ = ke(u).length;
3727
3727
  break;
3728
3728
  case "ucs2":
3729
3729
  case "ucs-2":
@@ -3750,31 +3750,31 @@ list should be an Array.`), u.length === 0)
3750
3750
  }
3751
3751
  return _;
3752
3752
  }, y.prototype.write = function(u, b, _, O) {
3753
- isFinite(b) ? isFinite(_) || (O = _, _ = void 0) : ($e = O, O = b, b = _, _ = $e), b = Number(b) || 0;
3754
- var D, R, ae, he, $e = this.length - b;
3755
- switch ((!_ || $e < (_ = Number(_))) && (_ = $e), O = String(O || "utf8").toLowerCase()) {
3753
+ isFinite(b) ? isFinite(_) || (O = _, _ = void 0) : (Be = O, O = b, b = _, _ = Be), b = Number(b) || 0;
3754
+ var D, R, ae, he, Be = this.length - b;
3755
+ switch ((!_ || Be < (_ = Number(_))) && (_ = Be), O = String(O || "utf8").toLowerCase()) {
3756
3756
  case "hex":
3757
- D = function(De, Ie, Ae, ke) {
3758
- Ae = Number(Ae) || 0;
3759
- var Ce = De.length - Ae;
3760
- (!ke || Ce < (ke = Number(ke))) && (ke = Ce), X((Ce = Ie.length) % 2 == 0, "Invalid hex string"), Ce / 2 < ke && (ke = Ce / 2);
3761
- for (var it = 0; it < ke; it++) {
3757
+ D = function(De, Ie, Te, Se) {
3758
+ Te = Number(Te) || 0;
3759
+ var _e = De.length - Te;
3760
+ (!Se || _e < (Se = Number(Se))) && (Se = _e), X((_e = Ie.length) % 2 == 0, "Invalid hex string"), _e / 2 < Se && (Se = _e / 2);
3761
+ for (var it = 0; it < Se; it++) {
3762
3762
  var Ut = parseInt(Ie.substr(2 * it, 2), 16);
3763
- X(!isNaN(Ut), "Invalid hex string"), De[Ae + it] = Ut;
3763
+ X(!isNaN(Ut), "Invalid hex string"), De[Te + it] = Ut;
3764
3764
  }
3765
3765
  return y._charsWritten = 2 * it, it;
3766
3766
  }(this, u, b, _);
3767
3767
  break;
3768
3768
  case "utf8":
3769
3769
  case "utf-8":
3770
- R = this, ae = b, he = _, D = y._charsWritten = Ne(Be(u), R, ae, he);
3770
+ R = this, ae = b, he = _, D = y._charsWritten = Ne(Ce(u), R, ae, he);
3771
3771
  break;
3772
3772
  case "ascii":
3773
3773
  case "binary":
3774
3774
  D = T(this, u, b, _);
3775
3775
  break;
3776
3776
  case "base64":
3777
- R = this, ae = b, he = _, D = y._charsWritten = Ne(_e(u), R, ae, he);
3777
+ R = this, ae = b, he = _, D = y._charsWritten = Ne(ke(u), R, ae, he);
3778
3778
  break;
3779
3779
  case "ucs2":
3780
3780
  case "ucs-2":
@@ -3792,22 +3792,22 @@ list should be an Array.`), u.length === 0)
3792
3792
  return "";
3793
3793
  switch (u) {
3794
3794
  case "hex":
3795
- O = function($e, De, Ie) {
3796
- var Ae = $e.length;
3797
- (!De || De < 0) && (De = 0), (!Ie || Ie < 0 || Ae < Ie) && (Ie = Ae);
3798
- for (var ke = "", Ce = De; Ce < Ie; Ce++)
3799
- ke += ce($e[Ce]);
3800
- return ke;
3795
+ O = function(Be, De, Ie) {
3796
+ var Te = Be.length;
3797
+ (!De || De < 0) && (De = 0), (!Ie || Ie < 0 || Te < Ie) && (Ie = Te);
3798
+ for (var Se = "", _e = De; _e < Ie; _e++)
3799
+ Se += ce(Be[_e]);
3800
+ return Se;
3801
3801
  }(he, b, _);
3802
3802
  break;
3803
3803
  case "utf8":
3804
3804
  case "utf-8":
3805
- O = function($e, De, Ie) {
3806
- var Ae = "", ke = "";
3807
- Ie = Math.min($e.length, Ie);
3808
- for (var Ce = De; Ce < Ie; Ce++)
3809
- $e[Ce] <= 127 ? (Ae += le(ke) + String.fromCharCode($e[Ce]), ke = "") : ke += "%" + $e[Ce].toString(16);
3810
- return Ae + le(ke);
3805
+ O = function(Be, De, Ie) {
3806
+ var Te = "", Se = "";
3807
+ Ie = Math.min(Be.length, Ie);
3808
+ for (var _e = De; _e < Ie; _e++)
3809
+ Be[_e] <= 127 ? (Te += le(Se) + String.fromCharCode(Be[_e]), Se = "") : Se += "%" + Be[_e].toString(16);
3810
+ return Te + le(Se);
3811
3811
  }(he, b, _);
3812
3812
  break;
3813
3813
  case "ascii":
@@ -3821,10 +3821,10 @@ list should be an Array.`), u.length === 0)
3821
3821
  case "ucs-2":
3822
3822
  case "utf16le":
3823
3823
  case "utf-16le":
3824
- O = function($e, De, Ie) {
3825
- for (var Ae = $e.slice(De, Ie), ke = "", Ce = 0; Ce < Ae.length; Ce += 2)
3826
- ke += String.fromCharCode(Ae[Ce] + 256 * Ae[Ce + 1]);
3827
- return ke;
3824
+ O = function(Be, De, Ie) {
3825
+ for (var Te = Be.slice(De, Ie), Se = "", _e = 0; _e < Te.length; _e += 2)
3826
+ Se += String.fromCharCode(Te[_e] + 256 * Te[_e + 1]);
3827
+ return Se;
3828
3828
  }(he, b, _);
3829
3829
  break;
3830
3830
  default:
@@ -3949,7 +3949,7 @@ list should be an Array.`), u.length === 0)
3949
3949
  function ce(u) {
3950
3950
  return u < 16 ? "0" + u.toString(16) : u.toString(16);
3951
3951
  }
3952
- function Be(u) {
3952
+ function Ce(u) {
3953
3953
  for (var b = [], _ = 0; _ < u.length; _++) {
3954
3954
  var O = u.charCodeAt(_);
3955
3955
  if (O <= 127)
@@ -3960,7 +3960,7 @@ list should be an Array.`), u.length === 0)
3960
3960
  }
3961
3961
  return b;
3962
3962
  }
3963
- function _e(u) {
3963
+ function ke(u) {
3964
3964
  return S.toByteArray(u);
3965
3965
  }
3966
3966
  function Ne(u, b, _, O) {
@@ -3993,7 +3993,7 @@ list should be an Array.`), u.length === 0)
3993
3993
  };
3994
3994
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/buffer/index.js", "/node_modules/gulp-browserify/node_modules/buffer");
3995
3995
  }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(n, l, o) {
3996
- (function(a, s, S, p, d, x, g, E, L) {
3996
+ (function(a, s, S, p, d, x, g, A, L) {
3997
3997
  var S = n("buffer").Buffer, M = 4, y = new S(M);
3998
3998
  y.fill(0), l.exports = { hash: function(T, t, j, P) {
3999
3999
  for (var z = t(function(f, C) {
@@ -4007,7 +4007,7 @@ list should be an Array.`), u.length === 0)
4007
4007
  } };
4008
4008
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
4009
4009
  }, { buffer: 3, lYpoI2: 11 }], 5: [function(n, l, o) {
4010
- (function(a, s, S, p, d, x, g, E, L) {
4010
+ (function(a, s, S, p, d, x, g, A, L) {
4011
4011
  var S = n("buffer").Buffer, M = n("./sha"), y = n("./sha256"), T = n("./rng"), t = { sha1: M, sha256: y, md5: n("./md5") }, j = 64, P = new S(j);
4012
4012
  function z(f, C) {
4013
4013
  var F = t[f = f || "sha1"], re = [];
@@ -4016,8 +4016,8 @@ list should be an Array.`), u.length === 0)
4016
4016
  }, digest: function(Y) {
4017
4017
  var te = S.concat(re), te = C ? function(N, Z, ue) {
4018
4018
  S.isBuffer(Z) || (Z = new S(Z)), S.isBuffer(ue) || (ue = new S(ue)), Z.length > j ? Z = N(Z) : Z.length < j && (Z = S.concat([Z, P], j));
4019
- for (var se = new S(j), ce = new S(j), Be = 0; Be < j; Be++)
4020
- se[Be] = 54 ^ Z[Be], ce[Be] = 92 ^ Z[Be];
4019
+ for (var se = new S(j), ce = new S(j), Ce = 0; Ce < j; Ce++)
4020
+ se[Ce] = 54 ^ Z[Ce], ce[Ce] = 92 ^ Z[Ce];
4021
4021
  return ue = N(S.concat([se, ue])), N(S.concat([ce, ue]));
4022
4022
  }(F, C, te) : F(te);
4023
4023
  return re = null, Y ? te.toString(Y) : te;
@@ -4048,7 +4048,7 @@ list should be an Array.`), u.length === 0)
4048
4048
  m(c[$]);
4049
4049
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
4050
4050
  }, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(n, l, o) {
4051
- (function(a, s, i, p, d, x, g, E, L) {
4051
+ (function(a, s, i, p, d, x, g, A, L) {
4052
4052
  var S = n("./helpers");
4053
4053
  function M(k, $) {
4054
4054
  k[$ >> 5] |= 128 << $ % 32, k[14 + ($ + 64 >>> 9 << 4)] = $;
@@ -4082,7 +4082,7 @@ list should be an Array.`), u.length === 0)
4082
4082
  };
4083
4083
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
4084
4084
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(n, l, o) {
4085
- (function(a, s, i, p, d, x, g, E, L) {
4085
+ (function(a, s, i, p, d, x, g, A, L) {
4086
4086
  l.exports = function(S) {
4087
4087
  for (var M, y = new Array(S), T = 0; T < S; T++)
4088
4088
  (3 & T) == 0 && (M = 4294967296 * Math.random()), y[T] = M >>> ((3 & T) << 3) & 255;
@@ -4090,7 +4090,7 @@ list should be an Array.`), u.length === 0)
4090
4090
  };
4091
4091
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
4092
4092
  }, { buffer: 3, lYpoI2: 11 }], 8: [function(n, l, o) {
4093
- (function(a, s, i, p, d, x, g, E, L) {
4093
+ (function(a, s, i, p, d, x, g, A, L) {
4094
4094
  var S = n("./helpers");
4095
4095
  function M(t, j) {
4096
4096
  t[j >> 5] |= 128 << 24 - j % 32, t[15 + (j + 64 >> 9 << 4)] = j;
@@ -4115,7 +4115,7 @@ list should be an Array.`), u.length === 0)
4115
4115
  };
4116
4116
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
4117
4117
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(n, l, o) {
4118
- (function(a, s, i, p, d, x, g, E, L) {
4118
+ (function(a, s, i, p, d, x, g, A, L) {
4119
4119
  function S(j, P) {
4120
4120
  var z = (65535 & j) + (65535 & P);
4121
4121
  return (j >> 16) + (P >> 16) + (z >> 16) << 16 | 65535 & z;
@@ -4140,7 +4140,7 @@ list should be an Array.`), u.length === 0)
4140
4140
  };
4141
4141
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
4142
4142
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(n, l, o) {
4143
- (function(a, s, i, p, d, x, g, E, L) {
4143
+ (function(a, s, i, p, d, x, g, A, L) {
4144
4144
  o.read = function(S, M, y, T, C) {
4145
4145
  var j, P, z = 8 * C - T - 1, k = (1 << z) - 1, $ = k >> 1, c = -7, m = y ? C - 1 : 0, f = y ? -1 : 1, C = S[M + m];
4146
4146
  for (m += f, j = C & (1 << -c) - 1, C >>= -c, c += z; 0 < c; j = 256 * j + S[M + m], m += f, c -= 8)
@@ -4165,7 +4165,7 @@ list should be an Array.`), u.length === 0)
4165
4165
  };
4166
4166
  }).call(this, n("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, n("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/ieee754/index.js", "/node_modules/gulp-browserify/node_modules/ieee754");
4167
4167
  }, { buffer: 3, lYpoI2: 11 }], 11: [function(n, l, o) {
4168
- (function(a, s, i, p, d, x, g, E, L) {
4168
+ (function(a, s, i, p, d, x, g, A, L) {
4169
4169
  var S, M, y;
4170
4170
  function T() {
4171
4171
  }
@@ -4219,16 +4219,16 @@ function _n({ props: e, attrs: r, slots: n, slot: l, name: o }) {
4219
4219
  let { as: s, ...i } = ur(e, ["unmount", "static"]), p = (a = n.default) == null ? void 0 : a.call(n, l), d = {};
4220
4220
  if (l) {
4221
4221
  let x = !1, g = [];
4222
- for (let [E, L] of Object.entries(l))
4223
- typeof L == "boolean" && (x = !0), L === !0 && g.push(E);
4222
+ for (let [A, L] of Object.entries(l))
4223
+ typeof L == "boolean" && (x = !0), L === !0 && g.push(A);
4224
4224
  x && (d["data-headlessui-state"] = g.join(" "));
4225
4225
  }
4226
4226
  if (s === "template") {
4227
4227
  if (p = bo(p != null ? p : []), Object.keys(i).length > 0 || Object.keys(r).length > 0) {
4228
4228
  let [x, ...g] = p != null ? p : [];
4229
4229
  if (!fi(x) || g.length > 0)
4230
- throw new Error(['Passing props on "template"!', "", `The current component <${o} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(i).concat(Object.keys(r)).sort((E, L) => E.localeCompare(L)).map((E) => ` - ${E}`).join(`
4231
- `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((E) => ` - ${E}`).join(`
4230
+ throw new Error(['Passing props on "template"!', "", `The current component <${o} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(i).concat(Object.keys(r)).sort((A, L) => A.localeCompare(L)).map((A) => ` - ${A}`).join(`
4231
+ `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((A) => ` - ${A}`).join(`
4232
4232
  `)].join(`
4233
4233
  `));
4234
4234
  return $l(x, Object.assign({}, i, d));
@@ -4284,7 +4284,7 @@ function pi() {
4284
4284
  function Ye() {
4285
4285
  return pi();
4286
4286
  }
4287
- var Te = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Te || {});
4287
+ var Le = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Le || {});
4288
4288
  function hi(e) {
4289
4289
  throw new Error("Unexpected object: " + e);
4290
4290
  }
@@ -4440,7 +4440,7 @@ function un(e, r, n = !0, l = null) {
4440
4440
  if (r & 8)
4441
4441
  return s.length - 1;
4442
4442
  throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
4443
- })(), d = r & 32 ? { preventScroll: !0 } : {}, x = 0, g = s.length, E;
4443
+ })(), d = r & 32 ? { preventScroll: !0 } : {}, x = 0, g = s.length, A;
4444
4444
  do {
4445
4445
  if (x >= g || x + g <= 0)
4446
4446
  return 0;
@@ -4453,9 +4453,9 @@ function un(e, r, n = !0, l = null) {
4453
4453
  if (L >= g)
4454
4454
  return 1;
4455
4455
  }
4456
- E = s[L], E == null || E.focus(d), x += i;
4457
- } while (E !== a.activeElement);
4458
- return r & 6 && xi(E) && E.select(), E.hasAttribute("tabindex") || E.setAttribute("tabindex", "0"), 2;
4456
+ A = s[L], A == null || A.focus(d), x += i;
4457
+ } while (A !== a.activeElement);
4458
+ return r & 6 && xi(A) && A.select(), A.hasAttribute("tabindex") || A.setAttribute("tabindex", "0"), 2;
4459
4459
  }
4460
4460
  function In(e, r, n) {
4461
4461
  bn || He((l) => {
@@ -4549,7 +4549,7 @@ let Tt = Object.assign(K({ name: "FocusTrap", props: { as: { type: [Object, Stri
4549
4549
  !d || Qe(i.value, { [Rn.Forwards]: () => un(d, wt.First), [Rn.Backwards]: () => un(d, wt.Last) });
4550
4550
  }
4551
4551
  return () => {
4552
- let d = {}, x = { ref: o }, { features: g, initialFocus: E, containers: L, ...S } = e;
4552
+ let d = {}, x = { ref: o }, { features: g, initialFocus: A, containers: L, ...S } = e;
4553
4553
  return Ee(fe, [Boolean(g & 4) && Ee(cn, { as: "button", type: "button", onFocus: p, features: Dt.Focusable }), Me({ ourProps: x, theirProps: { ...r, ...S }, slot: d, attrs: r, slots: n, name: "FocusTrap" }), Boolean(g & 4) && Ee(cn, { as: "button", type: "button", onFocus: p, features: Dt.Focusable })]);
4554
4554
  };
4555
4555
  } }), { features: Eo });
@@ -4563,7 +4563,7 @@ function Ii({ ownerDocument: e }, r) {
4563
4563
  !n.value || ($t(n.value), n.value = null);
4564
4564
  }
4565
4565
  ye(() => {
4566
- Le(r, (a, s) => {
4566
+ Ae(r, (a, s) => {
4567
4567
  a !== s && (a ? l() : o());
4568
4568
  }, { immediate: !0 });
4569
4569
  }), nt(o);
@@ -4571,7 +4571,7 @@ function Ii({ ownerDocument: e }, r) {
4571
4571
  function Ei({ ownerDocument: e, container: r, initialFocus: n }, l) {
4572
4572
  let o = V(null), a = V(!1);
4573
4573
  return ye(() => a.value = !0), nt(() => a.value = !1), ye(() => {
4574
- Le([r, n, l], (s, i) => {
4574
+ Ae([r, n, l], (s, i) => {
4575
4575
  if (s.every((d, x) => (i == null ? void 0 : i[x]) === d) || !l.value)
4576
4576
  return;
4577
4577
  let p = we(r);
@@ -4579,14 +4579,14 @@ function Ei({ ownerDocument: e, container: r, initialFocus: n }, l) {
4579
4579
  var d, x;
4580
4580
  if (!a.value)
4581
4581
  return;
4582
- let g = we(n), E = (d = e.value) == null ? void 0 : d.activeElement;
4582
+ let g = we(n), A = (d = e.value) == null ? void 0 : d.activeElement;
4583
4583
  if (g) {
4584
- if (g === E) {
4585
- o.value = E;
4584
+ if (g === A) {
4585
+ o.value = A;
4586
4586
  return;
4587
4587
  }
4588
- } else if (p.contains(E)) {
4589
- o.value = E;
4588
+ } else if (p.contains(A)) {
4589
+ o.value = A;
4590
4590
  return;
4591
4591
  }
4592
4592
  g ? $t(g) : un(p, wt.First | wt.NoScroll) === So.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), o.value = (x = e.value) == null ? void 0 : x.activeElement;
@@ -4713,7 +4713,7 @@ function Di({ type: e, enabled: r, element: n, onUpdate: l }) {
4713
4713
  l == null || l(...s), o(...s);
4714
4714
  }
4715
4715
  ye(() => {
4716
- Le(r, (s, i) => {
4716
+ Ae(r, (s, i) => {
4717
4717
  s ? a(0, e, n) : i === !0 && a(1, e, n);
4718
4718
  }, { immediate: !0, flush: "sync" });
4719
4719
  }), nt(() => {
@@ -4740,7 +4740,7 @@ function jo({ slot: e = V({}), name: r = "Description", props: n = {} } = {}) {
4740
4740
  let $h = K({ name: "Description", props: { as: { type: [Object, String], default: "p" } }, setup(e, { attrs: r, slots: n }) {
4741
4741
  let l = Pi(), o = `headlessui-description-${Ye()}`;
4742
4742
  return ye(() => nt(l.register(o))), () => {
4743
- let { name: a = "Description", slot: s = V({}), props: i = {} } = l, p = e, d = { ...Object.entries(i).reduce((x, [g, E]) => Object.assign(x, { [g]: h(E) }), {}), id: o };
4743
+ let { name: a = "Description", slot: s = V({}), props: i = {} } = l, p = e, d = { ...Object.entries(i).reduce((x, [g, A]) => Object.assign(x, { [g]: h(A) }), {}), id: o };
4744
4744
  return Me({ ourProps: d, theirProps: p, slot: s.value, attrs: r, slots: n, name: a });
4745
4745
  };
4746
4746
  } });
@@ -4789,7 +4789,7 @@ let Wt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", qi = K({ name: "Dialog", inheri
4789
4789
  ye(() => {
4790
4790
  s.value = !0;
4791
4791
  });
4792
- let i = V(0), p = yn(), d = I(() => e.open === Wt && p !== null ? Qe(p.value, { [tt.Open]: !0, [tt.Closed]: !1 }) : e.open), x = V(/* @__PURE__ */ new Set()), g = V(null), E = V(null), L = I(() => pt(g));
4792
+ let i = V(0), p = yn(), d = I(() => e.open === Wt && p !== null ? Qe(p.value, { [tt.Open]: !0, [tt.Closed]: !1 }) : e.open), x = V(/* @__PURE__ */ new Set()), g = V(null), A = V(null), L = I(() => pt(g));
4793
4793
  if (o({ el: g, $el: g }), !(e.open !== Wt || p !== null))
4794
4794
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
4795
4795
  if (typeof d.value != "boolean")
@@ -4810,11 +4810,11 @@ let Wt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", qi = K({ name: "Dialog", inheri
4810
4810
  } };
4811
4811
  return pe(Hn, k), _o(() => {
4812
4812
  var $, c, m;
4813
- return [...Array.from((c = ($ = L.value) == null ? void 0 : $.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? c : []).filter((f) => !(!(f instanceof HTMLElement) || f.contains(we(E)) || k.panelRef.value && f.contains(k.panelRef.value))), (m = k.panelRef.value) != null ? m : g.value];
4813
+ return [...Array.from((c = ($ = L.value) == null ? void 0 : $.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? c : []).filter((f) => !(!(f instanceof HTMLElement) || f.contains(we(A)) || k.panelRef.value && f.contains(k.panelRef.value))), (m = k.panelRef.value) != null ? m : g.value];
4814
4814
  }, ($, c) => {
4815
4815
  k.close(), Re(() => c == null ? void 0 : c.focus());
4816
4816
  }, I(() => S.value === 0 && !y.value)), Io((a = L.value) == null ? void 0 : a.defaultView, "keydown", ($) => {
4817
- $.defaultPrevented || $.key === Te.Escape && S.value === 0 && (y.value || ($.preventDefault(), $.stopPropagation(), k.close()));
4817
+ $.defaultPrevented || $.key === Le.Escape && S.value === 0 && (y.value || ($.preventDefault(), $.stopPropagation(), k.close()));
4818
4818
  }), He(($) => {
4819
4819
  var c;
4820
4820
  if (S.value !== 0 || T)
@@ -4852,7 +4852,7 @@ let Wt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", qi = K({ name: "Dialog", inheri
4852
4852
  m.observe(c), $(() => m.disconnect());
4853
4853
  }), () => {
4854
4854
  let $ = { ...n, ref: g, id: P, role: "dialog", "aria-modal": S.value === 0 ? !0 : void 0, "aria-labelledby": z.value, "aria-describedby": j.value }, { open: c, initialFocus: m, ...f } = e, C = { open: S.value === 0 };
4855
- return Ee(Un, { force: !0 }, () => [Ee(To, () => Ee(ji, { target: g.value }, () => Ee(Un, { force: !1 }, () => Ee(Tt, { initialFocus: m, containers: x, features: M.value ? Qe(t.value, { parent: Tt.features.RestoreFocus, leaf: Tt.features.All & ~Tt.features.FocusLock }) : Tt.features.None }, () => Me({ ourProps: $, theirProps: f, slot: C, attrs: n, slots: l, visible: S.value === 0, features: _t.RenderStrategy | _t.Static, name: "Dialog" }))))), Ee(cn, { features: Dt.Hidden, ref: E })]);
4855
+ return Ee(Un, { force: !0 }, () => [Ee(To, () => Ee(ji, { target: g.value }, () => Ee(Un, { force: !1 }, () => Ee(Tt, { initialFocus: m, containers: x, features: M.value ? Qe(t.value, { parent: Tt.features.RestoreFocus, leaf: Tt.features.All & ~Tt.features.FocusLock }) : Tt.features.None }, () => Me({ ourProps: $, theirProps: f, slot: C, attrs: n, slots: l, visible: S.value === 0, features: _t.RenderStrategy | _t.Static, name: "Dialog" }))))), Ee(cn, { features: Dt.Hidden, ref: A })]);
4856
4856
  };
4857
4857
  } });
4858
4858
  K({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: r, slots: n }) {
@@ -4904,53 +4904,53 @@ function wn(e) {
4904
4904
  }
4905
4905
  let Ki = K({ name: "Menu", props: { as: { type: [Object, String], default: "template" } }, setup(e, { slots: r, attrs: n }) {
4906
4906
  let l = V(1), o = V(null), a = V(null), s = V([]), i = V(""), p = V(null), d = V(1);
4907
- function x(E = (L) => L) {
4908
- let L = p.value !== null ? s.value[p.value] : null, S = Co(E(s.value.slice()), (y) => we(y.dataRef.domRef)), M = L ? S.indexOf(L) : null;
4907
+ function x(A = (L) => L) {
4908
+ let L = p.value !== null ? s.value[p.value] : null, S = Co(A(s.value.slice()), (y) => we(y.dataRef.domRef)), M = L ? S.indexOf(L) : null;
4909
4909
  return M === -1 && (M = null), { items: S, activeItemIndex: M };
4910
4910
  }
4911
4911
  let g = { menuState: l, buttonRef: o, itemsRef: a, items: s, searchQuery: i, activeItemIndex: p, activationTrigger: d, closeMenu: () => {
4912
4912
  l.value = 1, p.value = null;
4913
- }, openMenu: () => l.value = 0, goToItem(E, L, S) {
4914
- let M = x(), y = vi(E === Ge.Specific ? { focus: Ge.Specific, id: L } : { focus: E }, { resolveItems: () => M.items, resolveActiveIndex: () => M.activeItemIndex, resolveId: (T) => T.id, resolveDisabled: (T) => T.dataRef.disabled });
4913
+ }, openMenu: () => l.value = 0, goToItem(A, L, S) {
4914
+ let M = x(), y = vi(A === Ge.Specific ? { focus: Ge.Specific, id: L } : { focus: A }, { resolveItems: () => M.items, resolveActiveIndex: () => M.activeItemIndex, resolveId: (T) => T.id, resolveDisabled: (T) => T.dataRef.disabled });
4915
4915
  i.value = "", p.value = y, d.value = S != null ? S : 1, s.value = M.items;
4916
- }, search(E) {
4916
+ }, search(A) {
4917
4917
  let L = i.value !== "" ? 0 : 1;
4918
- i.value += E.toLowerCase();
4918
+ i.value += A.toLowerCase();
4919
4919
  let S = (p.value !== null ? s.value.slice(p.value + L).concat(s.value.slice(0, p.value + L)) : s.value).find((y) => y.dataRef.textValue.startsWith(i.value) && !y.dataRef.disabled), M = S ? s.value.indexOf(S) : -1;
4920
4920
  M === -1 || M === p.value || (p.value = M, d.value = 1);
4921
4921
  }, clearSearch() {
4922
4922
  i.value = "";
4923
- }, registerItem(E, L) {
4924
- let S = x((M) => [...M, { id: E, dataRef: L }]);
4923
+ }, registerItem(A, L) {
4924
+ let S = x((M) => [...M, { id: A, dataRef: L }]);
4925
4925
  s.value = S.items, p.value = S.activeItemIndex, d.value = 1;
4926
- }, unregisterItem(E) {
4926
+ }, unregisterItem(A) {
4927
4927
  let L = x((S) => {
4928
- let M = S.findIndex((y) => y.id === E);
4928
+ let M = S.findIndex((y) => y.id === A);
4929
4929
  return M !== -1 && S.splice(M, 1), S;
4930
4930
  });
4931
4931
  s.value = L.items, p.value = L.activeItemIndex, d.value = 1;
4932
4932
  } };
4933
- return _o([o, a], (E, L) => {
4933
+ return _o([o, a], (A, L) => {
4934
4934
  var S;
4935
- g.closeMenu(), dr(L, cr.Loose) || (E.preventDefault(), (S = we(o)) == null || S.focus());
4935
+ g.closeMenu(), dr(L, cr.Loose) || (A.preventDefault(), (S = we(o)) == null || S.focus());
4936
4936
  }, I(() => l.value === 0)), pe(Fo, g), xo(I(() => Qe(l.value, { [0]: tt.Open, [1]: tt.Closed }))), () => {
4937
- let E = { open: l.value === 0, close: g.closeMenu };
4938
- return Me({ ourProps: {}, theirProps: e, slot: E, slots: r, attrs: n, name: "Menu" });
4937
+ let A = { open: l.value === 0, close: g.closeMenu };
4938
+ return Me({ ourProps: {}, theirProps: e, slot: A, slots: r, attrs: n, name: "Menu" });
4939
4939
  };
4940
4940
  } }), Gi = K({ name: "MenuButton", props: { disabled: { type: Boolean, default: !1 }, as: { type: [Object, String], default: "button" } }, setup(e, { attrs: r, slots: n, expose: l }) {
4941
4941
  let o = wn("MenuButton"), a = `headlessui-menu-button-${Ye()}`;
4942
4942
  l({ el: o.buttonRef, $el: o.buttonRef });
4943
4943
  function s(x) {
4944
4944
  switch (x.key) {
4945
- case Te.Space:
4946
- case Te.Enter:
4947
- case Te.ArrowDown:
4945
+ case Le.Space:
4946
+ case Le.Enter:
4947
+ case Le.ArrowDown:
4948
4948
  x.preventDefault(), x.stopPropagation(), o.openMenu(), Re(() => {
4949
4949
  var g;
4950
4950
  (g = we(o.itemsRef)) == null || g.focus({ preventScroll: !0 }), o.goToItem(Ge.First);
4951
4951
  });
4952
4952
  break;
4953
- case Te.ArrowUp:
4953
+ case Le.ArrowUp:
4954
4954
  x.preventDefault(), x.stopPropagation(), o.openMenu(), Re(() => {
4955
4955
  var g;
4956
4956
  (g = we(o.itemsRef)) == null || g.focus({ preventScroll: !0 }), o.goToItem(Ge.Last);
@@ -4960,7 +4960,7 @@ let Ki = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
4960
4960
  }
4961
4961
  function i(x) {
4962
4962
  switch (x.key) {
4963
- case Te.Space:
4963
+ case Le.Space:
4964
4964
  x.preventDefault();
4965
4965
  break;
4966
4966
  }
@@ -4977,8 +4977,8 @@ let Ki = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
4977
4977
  let d = ko(I(() => ({ as: e.as, type: r.type })), o.buttonRef);
4978
4978
  return () => {
4979
4979
  var x;
4980
- let g = { open: o.menuState.value === 0 }, E = { ref: o.buttonRef, id: a, type: d.value, "aria-haspopup": !0, "aria-controls": (x = we(o.itemsRef)) == null ? void 0 : x.id, "aria-expanded": e.disabled ? void 0 : o.menuState.value === 0, onKeydown: s, onKeyup: i, onClick: p };
4981
- return Me({ ourProps: E, theirProps: e, slot: g, attrs: r, slots: n, name: "MenuButton" });
4980
+ let g = { open: o.menuState.value === 0 }, A = { ref: o.buttonRef, id: a, type: d.value, "aria-haspopup": !0, "aria-controls": (x = we(o.itemsRef)) == null ? void 0 : x.id, "aria-expanded": e.disabled ? void 0 : o.menuState.value === 0, onKeydown: s, onKeyup: i, onClick: p };
4981
+ return Me({ ourProps: A, theirProps: e, slot: g, attrs: r, slots: n, name: "MenuButton" });
4982
4982
  };
4983
4983
  } }), Wi = K({ name: "MenuItems", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 } }, setup(e, { attrs: r, slots: n, expose: l }) {
4984
4984
  let o = wn("MenuItems"), a = `headlessui-menu-items-${Ye()}`, s = V(null);
@@ -4988,35 +4988,35 @@ let Ki = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
4988
4988
  g.setAttribute("role", "none");
4989
4989
  } });
4990
4990
  function i(g) {
4991
- var E;
4991
+ var A;
4992
4992
  switch (s.value && clearTimeout(s.value), g.key) {
4993
- case Te.Space:
4993
+ case Le.Space:
4994
4994
  if (o.searchQuery.value !== "")
4995
4995
  return g.preventDefault(), g.stopPropagation(), o.search(g.key);
4996
- case Te.Enter:
4996
+ case Le.Enter:
4997
4997
  if (g.preventDefault(), g.stopPropagation(), o.activeItemIndex.value !== null) {
4998
4998
  let L = o.items.value[o.activeItemIndex.value];
4999
- (E = we(L.dataRef.domRef)) == null || E.click();
4999
+ (A = we(L.dataRef.domRef)) == null || A.click();
5000
5000
  }
5001
5001
  o.closeMenu(), Bo(we(o.buttonRef));
5002
5002
  break;
5003
- case Te.ArrowDown:
5003
+ case Le.ArrowDown:
5004
5004
  return g.preventDefault(), g.stopPropagation(), o.goToItem(Ge.Next);
5005
- case Te.ArrowUp:
5005
+ case Le.ArrowUp:
5006
5006
  return g.preventDefault(), g.stopPropagation(), o.goToItem(Ge.Previous);
5007
- case Te.Home:
5008
- case Te.PageUp:
5007
+ case Le.Home:
5008
+ case Le.PageUp:
5009
5009
  return g.preventDefault(), g.stopPropagation(), o.goToItem(Ge.First);
5010
- case Te.End:
5011
- case Te.PageDown:
5010
+ case Le.End:
5011
+ case Le.PageDown:
5012
5012
  return g.preventDefault(), g.stopPropagation(), o.goToItem(Ge.Last);
5013
- case Te.Escape:
5013
+ case Le.Escape:
5014
5014
  g.preventDefault(), g.stopPropagation(), o.closeMenu(), Re(() => {
5015
5015
  var L;
5016
5016
  return (L = we(o.buttonRef)) == null ? void 0 : L.focus({ preventScroll: !0 });
5017
5017
  });
5018
5018
  break;
5019
- case Te.Tab:
5019
+ case Le.Tab:
5020
5020
  g.preventDefault(), g.stopPropagation(), o.closeMenu(), Re(() => ki(we(o.buttonRef), g.shiftKey ? wt.Previous : wt.Next));
5021
5021
  break;
5022
5022
  default:
@@ -5026,15 +5026,15 @@ let Ki = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
5026
5026
  }
5027
5027
  function p(g) {
5028
5028
  switch (g.key) {
5029
- case Te.Space:
5029
+ case Le.Space:
5030
5030
  g.preventDefault();
5031
5031
  break;
5032
5032
  }
5033
5033
  }
5034
5034
  let d = yn(), x = I(() => d !== null ? d.value === tt.Open : o.menuState.value === 0);
5035
5035
  return () => {
5036
- var g, E;
5037
- let L = { open: o.menuState.value === 0 }, S = { "aria-activedescendant": o.activeItemIndex.value === null || (g = o.items.value[o.activeItemIndex.value]) == null ? void 0 : g.id, "aria-labelledby": (E = we(o.buttonRef)) == null ? void 0 : E.id, id: a, onKeydown: i, onKeyup: p, role: "menu", tabIndex: 0, ref: o.itemsRef };
5036
+ var g, A;
5037
+ let L = { open: o.menuState.value === 0 }, S = { "aria-activedescendant": o.activeItemIndex.value === null || (g = o.items.value[o.activeItemIndex.value]) == null ? void 0 : g.id, "aria-labelledby": (A = we(o.buttonRef)) == null ? void 0 : A.id, id: a, onKeydown: i, onKeyup: p, role: "menu", tabIndex: 0, ref: o.itemsRef };
5038
5038
  return Me({ ourProps: S, theirProps: e, slot: L, attrs: r, slots: n, features: _t.RenderStrategy | _t.Static, visible: x.value, name: "MenuItems" });
5039
5039
  };
5040
5040
  } }), Bt = K({ name: "MenuItem", props: { as: { type: [Object, String], default: "template" }, disabled: { type: Boolean, default: !1 } }, setup(e, { slots: r, attrs: n, expose: l }) {
@@ -5064,12 +5064,12 @@ let Ki = K({ name: "Menu", props: { as: { type: [Object, String], default: "temp
5064
5064
  function g() {
5065
5065
  e.disabled || i.value || o.goToItem(Ge.Specific, a, 0);
5066
5066
  }
5067
- function E() {
5067
+ function A() {
5068
5068
  e.disabled || !i.value || o.goToItem(Ge.Nothing);
5069
5069
  }
5070
5070
  return () => {
5071
5071
  let { disabled: L } = e, S = { active: i.value, disabled: L, close: o.closeMenu };
5072
- return Me({ ourProps: { id: a, ref: s, role: "menuitem", tabIndex: L === !0 ? void 0 : -1, "aria-disabled": L === !0 ? !0 : void 0, onClick: d, onFocus: x, onPointermove: g, onMousemove: g, onPointerleave: E, onMouseleave: E }, theirProps: e, slot: S, attrs: n, slots: r, name: "MenuItem" });
5072
+ return Me({ ourProps: { id: a, ref: s, role: "menuitem", tabIndex: L === !0 ? void 0 : -1, "aria-disabled": L === !0 ? !0 : void 0, onClick: d, onFocus: x, onPointermove: g, onMousemove: g, onPointerleave: A, onMouseleave: A }, theirProps: e, slot: S, attrs: n, slots: r, name: "MenuItem" });
5073
5073
  };
5074
5074
  } }), Do = Symbol("LabelContext");
5075
5075
  function Po() {
@@ -5093,7 +5093,7 @@ function Qi({ slot: e = {}, name: r = "Label", props: n = {} } = {}) {
5093
5093
  let Yi = K({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 } }, setup(e, { slots: r, attrs: n }) {
5094
5094
  let l = Po(), o = `headlessui-label-${Ye()}`;
5095
5095
  return ye(() => nt(l.register(o))), () => {
5096
- let { name: a = "Label", slot: s = {}, props: i = {} } = l, { passive: p, ...d } = e, x = { ...Object.entries(i).reduce((g, [E, L]) => Object.assign(g, { [E]: h(L) }), {}), id: o };
5096
+ let { name: a = "Label", slot: s = {}, props: i = {} } = l, { passive: p, ...d } = e, x = { ...Object.entries(i).reduce((g, [A, L]) => Object.assign(g, { [A]: h(L) }), {}), id: o };
5097
5097
  return p && (delete x.onClick, delete d.onClick), Me({ ourProps: x, theirProps: d, slot: s, attrs: n, slots: r, name: a });
5098
5098
  };
5099
5099
  } }), Vo = Symbol("GroupContext"), Ji = K({ name: "SwitchGroup", props: { as: { type: [Object, String], default: "template" } }, setup(e, { slots: r, attrs: n }) {
@@ -5106,19 +5106,19 @@ let Yi = K({ name: "Label", props: { as: { type: [Object, String], default: "lab
5106
5106
  function d() {
5107
5107
  p(!i.value);
5108
5108
  }
5109
- let x = V(null), g = a === null ? x : a.switchRef, E = ko(I(() => ({ as: e.as, type: n.type })), g);
5109
+ let x = V(null), g = a === null ? x : a.switchRef, A = ko(I(() => ({ as: e.as, type: n.type })), g);
5110
5110
  o({ el: g, $el: g });
5111
5111
  function L(y) {
5112
5112
  y.preventDefault(), d();
5113
5113
  }
5114
5114
  function S(y) {
5115
- y.key === Te.Space ? (y.preventDefault(), d()) : y.key === Te.Enter && Si(y.currentTarget);
5115
+ y.key === Le.Space ? (y.preventDefault(), d()) : y.key === Le.Enter && Si(y.currentTarget);
5116
5116
  }
5117
5117
  function M(y) {
5118
5118
  y.preventDefault();
5119
5119
  }
5120
5120
  return () => {
5121
- let { name: y, value: T, ...t } = e, j = { checked: i.value }, P = { id: s, ref: g, role: "switch", type: E.value, tabIndex: 0, "aria-checked": i.value, "aria-labelledby": a == null ? void 0 : a.labelledby.value, "aria-describedby": a == null ? void 0 : a.describedby.value, onClick: L, onKeyup: S, onKeypress: M };
5121
+ let { name: y, value: T, ...t } = e, j = { checked: i.value }, P = { id: s, ref: g, role: "switch", type: A.value, tabIndex: 0, "aria-checked": i.value, "aria-labelledby": a == null ? void 0 : a.labelledby.value, "aria-describedby": a == null ? void 0 : a.describedby.value, onClick: L, onKeyup: S, onKeypress: M };
5122
5122
  return Ee(fe, [y != null && i.value != null ? Ee(cn, di({ features: Dt.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: i.value, name: y, value: T })) : null, Me({ ourProps: P, theirProps: { ...n, ...ur(t, ["modelValue", "defaultChecked"]) }, slot: j, attrs: n, slots: l, name: "Switch" })]);
5123
5123
  };
5124
5124
  } }), Xi = Yi;
@@ -5199,7 +5199,7 @@ let qo = _t.RenderStrategy, tn = K({ props: { as: { type: [Object, String], defa
5199
5199
  return () => Ee(Ro, { ...e, onBeforeEnter: () => r("beforeEnter"), onAfterEnter: () => r("afterEnter"), onBeforeLeave: () => r("beforeLeave"), onAfterLeave: () => r("afterLeave") }, l);
5200
5200
  let a = V(null), s = V("visible"), i = I(() => e.unmount ? mt.Unmount : mt.Hidden);
5201
5201
  o({ el: a, $el: a });
5202
- let { show: p, appear: d } = ou(), { register: x, unregister: g } = lu(), E = { value: !0 }, L = Ye(), S = { value: !1 }, M = No(() => {
5202
+ let { show: p, appear: d } = ou(), { register: x, unregister: g } = lu(), A = { value: !0 }, L = Ye(), S = { value: !1 }, M = No(() => {
5203
5203
  S.value || (s.value = "hidden", g(L), r("afterLeave"));
5204
5204
  });
5205
5205
  ye(() => {
@@ -5225,7 +5225,7 @@ let qo = _t.RenderStrategy, tn = K({ props: { as: { type: [Object, String], defa
5225
5225
  });
5226
5226
  });
5227
5227
  function $(c) {
5228
- let m = E.value && !d.value, f = we(a);
5228
+ let m = A.value && !d.value, f = we(a);
5229
5229
  !f || !(f instanceof HTMLElement) || m || (S.value = !0, p.value && r("beforeEnter"), p.value || r("beforeLeave"), c(p.value ? Vr(f, y, T, t, j, (C) => {
5230
5230
  S.value = !1, C === Kn.Finished && r("afterEnter");
5231
5231
  }) : Vr(f, P, z, k, j, (C) => {
@@ -5233,8 +5233,8 @@ let qo = _t.RenderStrategy, tn = K({ props: { as: { type: [Object, String], defa
5233
5233
  })));
5234
5234
  }
5235
5235
  return ye(() => {
5236
- Le([p], (c, m, f) => {
5237
- $(f), E.value = !1;
5236
+ Ae([p], (c, m, f) => {
5237
+ $(f), A.value = !1;
5238
5238
  }, { immediate: !0 });
5239
5239
  }), pe(pr, M), xo(I(() => Qe(s.value, { visible: tt.Open, hidden: tt.Closed }))), () => {
5240
5240
  let { appear: c, show: m, enter: f, enterFrom: C, enterTo: F, entered: re, leave: Y, leaveFrom: te, leaveTo: N, ...Z } = e;
@@ -5294,8 +5294,8 @@ const su = { class: "flex items-center" }, iu = {
5294
5294
  return r.active ? a += " text-primary-100" : a += " opacity-70 " + n.value, a;
5295
5295
  });
5296
5296
  return (a, s) => {
5297
- const i = Se("BaseIcon");
5298
- return w(), A("div", {
5297
+ const i = $e("BaseIcon");
5298
+ return w(), E("div", {
5299
5299
  class: q(h(l))
5300
5300
  }, [
5301
5301
  v("div", su, [
@@ -5303,16 +5303,16 @@ const su = { class: "flex items-center" }, iu = {
5303
5303
  key: 0,
5304
5304
  icon: e.icon,
5305
5305
  class: q(h(o))
5306
- }, null, 8, ["icon", "class"])) : W("", !0),
5307
- ze(" " + G(e.label), 1)
5306
+ }, null, 8, ["icon", "class"])) : G("", !0),
5307
+ ze(" " + W(e.label), 1)
5308
5308
  ]),
5309
- e.count ? (w(), A("div", iu, [
5309
+ e.count ? (w(), E("div", iu, [
5310
5310
  U(qt, {
5311
5311
  count: e.count,
5312
5312
  "max-digit": 2,
5313
5313
  color: e.active ? "white" : "primary"
5314
5314
  }, null, 8, ["count", "color"])
5315
- ])) : W("", !0)
5315
+ ])) : G("", !0)
5316
5316
  ], 2);
5317
5317
  };
5318
5318
  }
@@ -5345,7 +5345,7 @@ const su = { class: "flex items-center" }, iu = {
5345
5345
  return "origin-top-left left-0";
5346
5346
  });
5347
5347
  return (l, o) => {
5348
- const a = Se("router-link");
5348
+ const a = $e("router-link");
5349
5349
  return w(), ee(h(Ki), {
5350
5350
  as: "div",
5351
5351
  class: q(["text-left", [e.position == "custom" ? "static" : "relative"]])
@@ -5373,10 +5373,10 @@ const su = { class: "flex items-center" }, iu = {
5373
5373
  }, {
5374
5374
  default: H(() => [
5375
5375
  Q(l.$slots, "items", { items: e.items }, () => [
5376
- (w(!0), A(fe, null, ve(e.items, (i) => (w(), A(fe, {
5376
+ (w(!0), E(fe, null, ve(e.items, (i) => (w(), E(fe, {
5377
5377
  key: i.label + "link"
5378
5378
  }, [
5379
- i.line ? (w(), A("div", uu)) : i.to ? (w(), ee(a, {
5379
+ i.line ? (w(), E("div", uu)) : i.to ? (w(), ee(a, {
5380
5380
  key: 1,
5381
5381
  custom: "",
5382
5382
  to: i.to
@@ -5432,7 +5432,7 @@ const su = { class: "flex items-center" }, iu = {
5432
5432
  }, null, 8, ["label", "count", "icon", "color", "active"])
5433
5433
  ]),
5434
5434
  _: 2
5435
- }, 1032, ["onClick"])) : W("", !0)
5435
+ }, 1032, ["onClick"])) : G("", !0)
5436
5436
  ], 64))), 128))
5437
5437
  ])
5438
5438
  ]),
@@ -5472,7 +5472,7 @@ const su = { class: "flex items-center" }, iu = {
5472
5472
  emits: ["update:model-value"],
5473
5473
  setup(e, { emit: r }) {
5474
5474
  const n = e, l = V(null), o = V(n.modelValue);
5475
- Le(
5475
+ Ae(
5476
5476
  () => n.modelValue,
5477
5477
  ($) => {
5478
5478
  o.value = $;
@@ -5489,7 +5489,7 @@ const su = { class: "flex items-center" }, iu = {
5489
5489
  var $, c;
5490
5490
  p.value = (c = ($ = i.value) == null ? void 0 : $.clientWidth) != null ? c : 800, g.value = Math.floor((p.value - 96) / 56);
5491
5491
  });
5492
- const d = I(() => p.value < 600), x = I(() => n.lastPage + 1), g = V(0), E = I(() => {
5492
+ const d = I(() => p.value < 600), x = I(() => n.lastPage + 1), g = V(0), A = I(() => {
5493
5493
  const $ = n.totalVisible + 2;
5494
5494
  if ($ === 0 || isNaN(x.value) || x.value > Number.MAX_SAFE_INTEGER)
5495
5495
  return [];
@@ -5548,8 +5548,8 @@ const su = { class: "flex items-center" }, iu = {
5548
5548
  return !!(Ml($) && $ >= 1 && $ <= n.lastPage);
5549
5549
  }
5550
5550
  return ($, c) => {
5551
- const m = Se("BaseIcon");
5552
- return qe((w(), A("nav", {
5551
+ const m = $e("BaseIcon");
5552
+ return qe((w(), E("nav", {
5553
5553
  ref_key: "paginationNode",
5554
5554
  ref: i,
5555
5555
  class: "flex items-start border-t border-slate-200"
@@ -5571,7 +5571,7 @@ const su = { class: "flex items-center" }, iu = {
5571
5571
  v("div", {
5572
5572
  class: q([h(d) ? "hidden" : "-mt-px flex"])
5573
5573
  }, [
5574
- (w(!0), A(fe, null, ve(h(E), (f, C) => (w(), A("button", {
5574
+ (w(!0), E(fe, null, ve(h(A), (f, C) => (w(), E("button", {
5575
5575
  key: f + (C + ""),
5576
5576
  type: "button",
5577
5577
  class: q(["inline-flex items-center border-t-2 px-4 py-4 text-sm font-medium", [
@@ -5580,10 +5580,10 @@ const su = { class: "flex items-center" }, iu = {
5580
5580
  f != e.modelValue && L(f) ? "hover:border-slate-300 hover:text-slate-700" : ""
5581
5581
  ]]),
5582
5582
  onClick: (F) => S(f)
5583
- }, G(f), 11, mu))), 128))
5583
+ }, W(f), 11, mu))), 128))
5584
5584
  ], 2),
5585
- h(d) ? (w(), A("div", pu, [
5586
- v("span", hu, G($.$t("sui.page")), 1),
5585
+ h(d) ? (w(), E("div", pu, [
5586
+ v("span", hu, W($.$t("sui.page")), 1),
5587
5587
  qe(v("input", {
5588
5588
  "onUpdate:modelValue": c[1] || (c[1] = (f) => Mt(o) ? o.value = f : null),
5589
5589
  type: "number",
@@ -5597,8 +5597,8 @@ const su = { class: "flex items-center" }, iu = {
5597
5597
  }, null, 40, vu), [
5598
5598
  [Tn, h(o)]
5599
5599
  ]),
5600
- v("span", gu, G($.$t("sui.of")) + " " + G(e.lastPage), 1)
5601
- ])) : W("", !0),
5600
+ v("span", gu, W($.$t("sui.of")) + " " + W(e.lastPage), 1)
5601
+ ])) : G("", !0),
5602
5602
  v("div", yu, [
5603
5603
  v("button", {
5604
5604
  disabled: e.modelValue >= e.lastPage,
@@ -5612,8 +5612,8 @@ const su = { class: "flex items-center" }, iu = {
5612
5612
  ], 8, bu)
5613
5613
  ])
5614
5614
  ]),
5615
- h(d) ? W("", !0) : (w(), A("div", wu, [
5616
- v("span", xu, G($.$t("sui.go_to_page")), 1),
5615
+ h(d) ? G("", !0) : (w(), E("div", wu, [
5616
+ v("span", xu, W($.$t("sui.go_to_page")), 1),
5617
5617
  qe(v("input", {
5618
5618
  "onUpdate:modelValue": c[4] || (c[4] = (f) => Mt(l) ? l.value = f : null),
5619
5619
  type: "number",
@@ -5655,7 +5655,7 @@ function hr(e) {
5655
5655
  }
5656
5656
  function zo(e, r, n) {
5657
5657
  const l = V(!1);
5658
- Le(
5658
+ Ae(
5659
5659
  () => e.value,
5660
5660
  () => {
5661
5661
  o();
@@ -5732,7 +5732,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
5732
5732
  r
5733
5733
  ), a = Ko(), s = I(() => a.greater("sm").value ? n.maxWidth : "100%");
5734
5734
  return (i, p) => {
5735
- const d = Se("BaseIcon");
5735
+ const d = $e("BaseIcon");
5736
5736
  return w(), ee(Pt, { to: "body" }, [
5737
5737
  U(We, {
5738
5738
  name: "modal",
@@ -5821,7 +5821,13 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
5821
5821
  }, Mu = { class: "relative h-11" }, Ou = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, ju = ["placeholder"], Fu = {
5822
5822
  key: 0,
5823
5823
  class: "absolute top-0 right-0 flex h-full items-center justify-center p-1"
5824
- }, Du = { class: "hidden xs:block" }, Pu = { class: "mt-5" }, Vu = { class: "text-center text-xs text-slate-400 sm:text-right" }, Nu = { class: "mt-4" }, qu = {
5824
+ }, Du = { class: "hidden xs:block" }, Pu = {
5825
+ key: 0,
5826
+ class: "mt-5"
5827
+ }, Vu = { class: "text-center text-xs text-slate-400 sm:text-right" }, Nu = {
5828
+ key: 1,
5829
+ class: "mt-4"
5830
+ }, qu = {
5825
5831
  key: 0,
5826
5832
  class: "mb-4"
5827
5833
  }, Ru = { class: "space-y-3" }, Uu = { class: "px-4 py-5" }, zu = { class: "mb-4 font-semibold" }, Hu = { class: "space-y-3" }, Ku = {
@@ -5873,7 +5879,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
5873
5879
  var O, D;
5874
5880
  d.value = (D = (O = o.value) == null ? void 0 : O.clientWidth) != null ? D : 800;
5875
5881
  });
5876
- const x = V(!1), g = V(!0), E = V(!1), L = V(!1), S = V("");
5882
+ const x = V(!1), g = V(!0), A = V(!1), L = V(!1), S = V("");
5877
5883
  let M = "", y = "";
5878
5884
  const T = V(Pe(n.defaultQuery)), t = Cl(), j = I(() => d.value < 1024), P = I(() => t.filters !== void 0), z = V(!1), k = V(null);
5879
5885
  function $() {
@@ -5886,7 +5892,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
5886
5892
  childList: !0
5887
5893
  }), ye(() => {
5888
5894
  $();
5889
- }), Le(
5895
+ }), Ae(
5890
5896
  () => j.value,
5891
5897
  () => {
5892
5898
  Re(() => {
@@ -5938,11 +5944,16 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
5938
5944
  const D = Pe(T.value);
5939
5945
  D.page = 1, D.search = S.value, C(D);
5940
5946
  }, 350);
5941
- Le(
5947
+ Ae(
5942
5948
  () => s.query,
5943
5949
  () => {
5944
5950
  ue();
5945
5951
  }
5952
+ ), Ae(
5953
+ () => n.urlQuery,
5954
+ () => {
5955
+ se();
5956
+ }
5946
5957
  );
5947
5958
  function Z() {
5948
5959
  return xe.parseQueryString(window.location.search.replace(/^(\?)/, ""));
@@ -5954,32 +5965,32 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
5954
5965
  R != y && (y = R, T.value = D, a.value && a.value !== document.activeElement && u(), se());
5955
5966
  }
5956
5967
  function se(O = !1) {
5957
- var Ae;
5958
- const D = re.value.split(/[?#]/), R = D[0], ae = (Ae = D[1]) != null ? Ae : null, he = xe.parseQueryString(ae), $e = wr(
5968
+ var Te;
5969
+ const D = re.value.split(/[?#]/), R = D[0], ae = (Te = D[1]) != null ? Te : null, he = xe.parseQueryString(ae), Be = wr(
5959
5970
  Pe(T.value),
5960
5971
  Pe(n.urlQuery),
5961
5972
  Pe(he)
5962
- ), De = xe.formatQueryString($e), Ie = R + "?" + De;
5963
- M == Ie && !O || (g.value = !0, M = Ie, l.get(Ie).then((ke) => {
5964
- ce.value = ke.data, g.value = !1, E.value = !1, x.value = !0;
5973
+ ), De = xe.formatQueryString(Be), Ie = R + "?" + De;
5974
+ M == Ie && !O || (g.value = !0, M = Ie, l.get(Ie).then((Se) => {
5975
+ ce.value = Se.data, g.value = !1, A.value = !1, x.value = !0;
5965
5976
  }).catch(() => {
5966
- g.value = !1, E.value = !0;
5977
+ g.value = !1, A.value = !0;
5967
5978
  }));
5968
5979
  }
5969
- const ce = V(null), Be = I(() => ce.value ? Xe(ce.value) ? ce.value : ce.value.data : []), _e = I(() => {
5980
+ const ce = V(null), Ce = I(() => ce.value ? Xe(ce.value) ? ce.value : ce.value.data : []), ke = I(() => {
5970
5981
  const O = {
5971
5982
  current_page: 1,
5972
5983
  last_page: 1,
5973
5984
  per_page: 1,
5974
5985
  total: 0
5975
5986
  };
5976
- return !ce.value || Xe(ce.value) ? O : "meta" in ce.value ? ce.value.meta : {
5987
+ return !ce.value || Xe(ce.value) ? O : "meta" in ce.value ? ce.value.meta : ce.value.current_page ? {
5977
5988
  current_page: ce.value.current_page,
5978
5989
  last_page: ce.value.last_page,
5979
5990
  per_page: ce.value.per_page,
5980
5991
  total: ce.value.total
5981
- };
5982
- }), Ne = I(() => T.value.page && parseInt(T.value.page + "") ? parseInt(T.value.page + "") : 1), le = I(() => _e.value.last_page), de = I(() => {
5992
+ } : null;
5993
+ }), Ne = I(() => T.value.page && parseInt(T.value.page + "") ? parseInt(T.value.page + "") : 1), le = I(() => ke.value ? ke.value.last_page : 1), de = I(() => {
5983
5994
  var O, D;
5984
5995
  return (D = (O = T.value.sort) == null ? void 0 : O.trim().replace(/^(-)/, "")) != null ? D : "";
5985
5996
  }), me = I(() => T.value.sort && T.value.sort.length && T.value.sort[0] == "-" ? "desc" : "asc"), Fe = I(() => {
@@ -6002,8 +6013,8 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6002
6013
  scrollIntoView: X,
6003
6014
  query: T
6004
6015
  }), (O, D) => {
6005
- const R = Se("BaseIcon");
6006
- return w(), A("div", {
6016
+ const R = $e("BaseIcon");
6017
+ return w(), E("div", {
6007
6018
  ref_key: "dataIteratorNode",
6008
6019
  ref: o
6009
6020
  }, [
@@ -6016,7 +6027,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6016
6027
  class: q(["min-w-0", { "col-span-1": !h(j), "col-span-2": h(j) }])
6017
6028
  }, [
6018
6029
  v("div", Tu, [
6019
- e.searchable ? (w(), A("div", Lu, [
6030
+ e.searchable ? (w(), E("div", Lu, [
6020
6031
  v("div", Mu, [
6021
6032
  v("div", Ou, [
6022
6033
  U(R, {
@@ -6035,7 +6046,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6035
6046
  }, null, 40, ju), [
6036
6047
  [Tn, h(S)]
6037
6048
  ]),
6038
- h(S) ? (w(), A("div", Fu, [
6049
+ h(S) ? (w(), E("div", Fu, [
6039
6050
  v("button", {
6040
6051
  type: "button",
6041
6052
  class: "flex appearance-none items-center rounded p-1 hover:bg-slate-100",
@@ -6048,10 +6059,10 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6048
6059
  icon: "heroicons:x-mark"
6049
6060
  })
6050
6061
  ])
6051
- ])) : W("", !0)
6062
+ ])) : G("", !0)
6052
6063
  ])
6053
- ])) : W("", !0),
6054
- h(j) && h(P) ? (w(), A("button", {
6064
+ ])) : G("", !0),
6065
+ h(j) && h(P) ? (w(), E("button", {
6055
6066
  key: 1,
6056
6067
  class: "btn flex h-11 items-center justify-center py-1 text-base shadow-sm",
6057
6068
  type: "button",
@@ -6061,8 +6072,8 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6061
6072
  class: "h-6 w-6 text-slate-500 xs:mr-2",
6062
6073
  icon: "heroicons:adjustments-horizontal-solid"
6063
6074
  }),
6064
- v("span", Du, G(O.$t("sui.filters")), 1)
6065
- ])) : W("", !0),
6075
+ v("span", Du, W(O.$t("sui.filters")), 1)
6076
+ ])) : G("", !0),
6066
6077
  e.actions && e.actions.length ? (w(), ee(It, {
6067
6078
  key: 2,
6068
6079
  "menu-class": "w-52",
@@ -6078,12 +6089,12 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6078
6089
  ], 2)
6079
6090
  ]),
6080
6091
  _: 1
6081
- }, 8, ["items"])) : W("", !0)
6092
+ }, 8, ["items"])) : G("", !0)
6082
6093
  ]),
6083
6094
  Q(O.$slots, "default", {
6084
- items: h(Be),
6095
+ items: h(Ce),
6085
6096
  loading: h(g),
6086
- error: h(E),
6097
+ error: h(A),
6087
6098
  firstLoad: h(x),
6088
6099
  page: h(Ne),
6089
6100
  sortField: h(de),
@@ -6091,30 +6102,30 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6091
6102
  onSortChange: te,
6092
6103
  onPageChange: Y
6093
6104
  }),
6094
- v("div", Pu, [
6095
- v("p", Vu, G((h(_e).current_page - 1) * h(_e).per_page + 1) + " - " + G(O.$t("sui.pagination_detail", {
6105
+ h(ke) ? (w(), E("div", Pu, [
6106
+ v("p", Vu, W((h(ke).current_page - 1) * h(ke).per_page + 1) + " - " + W(O.$t("sui.pagination_detail", {
6096
6107
  page: Math.min(
6097
- h(_e).current_page * h(_e).per_page,
6098
- h(_e).total
6108
+ h(ke).current_page * h(ke).per_page,
6109
+ h(ke).total
6099
6110
  ),
6100
- total: h(_e).total
6111
+ total: h(ke).total
6101
6112
  })), 1)
6102
- ]),
6103
- v("div", Nu, [
6113
+ ])) : G("", !0),
6114
+ h(ke) ? (w(), E("div", Nu, [
6104
6115
  U(Uo, {
6105
6116
  "model-value": h(Ne),
6106
6117
  "last-page": h(le),
6107
6118
  "onUpdate:modelValue": Y
6108
6119
  }, null, 8, ["model-value", "last-page"])
6109
- ])
6120
+ ])) : G("", !0)
6110
6121
  ], 2),
6111
- h(j) ? W("", !0) : (w(), A("div", {
6122
+ h(j) ? G("", !0) : (w(), E("div", {
6112
6123
  key: 0,
6113
6124
  ref_key: "sidebar",
6114
6125
  ref: k
6115
6126
  }, [
6116
- Q(O.$slots, "sidebarTop", { paginationMetadata: h(_e) }),
6117
- h(P) ? (w(), A("div", qu, [
6127
+ Q(O.$slots, "sidebarTop", { paginationMetadata: h(ke) }),
6128
+ h(P) ? (w(), E("div", qu, [
6118
6129
  U(Ct, null, {
6119
6130
  default: H(() => [
6120
6131
  U(ir, { size: "sm" }, {
@@ -6132,8 +6143,8 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6132
6143
  ]),
6133
6144
  _: 3
6134
6145
  })
6135
- ])) : W("", !0),
6136
- Q(O.$slots, "sidebarBottom", { paginationMetadata: h(_e) })
6146
+ ])) : G("", !0),
6147
+ Q(O.$slots, "sidebarBottom", { paginationMetadata: h(ke) })
6137
6148
  ], 512))
6138
6149
  ], 2),
6139
6150
  h(P) ? (w(), ee(Go, {
@@ -6143,7 +6154,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6143
6154
  }, {
6144
6155
  default: H(() => [
6145
6156
  v("div", Uu, [
6146
- v("h2", zu, G(O.$t("sui.filters")), 1),
6157
+ v("h2", zu, W(O.$t("sui.filters")), 1),
6147
6158
  v("div", Hu, [
6148
6159
  Q(O.$slots, "filters", {
6149
6160
  query: h(T),
@@ -6155,12 +6166,12 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6155
6166
  v("button", {
6156
6167
  class: "btn btn-primary mt-4",
6157
6168
  onClick: D[4] || (D[4] = (ae) => L.value = !1)
6158
- }, G(O.$t("sui.apply_filters")), 1)
6169
+ }, W(O.$t("sui.apply_filters")), 1)
6159
6170
  ])
6160
6171
  ])
6161
6172
  ]),
6162
6173
  _: 3
6163
- }, 8, ["modelValue"])) : W("", !0)
6174
+ }, 8, ["modelValue"])) : G("", !0)
6164
6175
  ], 512);
6165
6176
  };
6166
6177
  }
@@ -6232,7 +6243,7 @@ const Qu = {
6232
6243
  Yu
6233
6244
  ];
6234
6245
  function Zu(e, r, n, l, o, a) {
6235
- return w(), A("svg", Qu, Ju);
6246
+ return w(), E("svg", Qu, Ju);
6236
6247
  }
6237
6248
  const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f9"]]), Xu = (e) => (Il("data-v-9ab7d17a"), e = e(), El(), e), ec = { class: "relative w-full overflow-hidden" }, tc = { class: "flex flex-col" }, nc = { class: "inline-block min-w-full align-middle" }, rc = { class: "relative min-h-[300px]" }, oc = { class: "min-w-full border-separate border-spacing-0" }, lc = {
6238
6249
  key: 0,
@@ -6328,7 +6339,7 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6328
6339
  setup(e, { expose: r, emit: n }) {
6329
6340
  const l = e, o = "disabled:bg-slate-100 disabled:border-slate-300 disabled:cursor-not-allowed border-slate-400 rounded";
6330
6341
  pe("table", _l());
6331
- const a = V([]), s = V([...l.checkedRows]), i = V(null), p = V(null), d = V(!0), x = V([]), g = V(1), E = V(null), L = V(null), S = V(0);
6342
+ const a = V([]), s = V([...l.checkedRows]), i = V(null), p = V(null), d = V(!0), x = V([]), g = V(1), A = V(null), L = V(null), S = V(0);
6332
6343
  mn(L, () => M());
6333
6344
  const M = st(() => {
6334
6345
  y();
@@ -6340,25 +6351,25 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6340
6351
  let u = t.value.length;
6341
6352
  return u += l.checkable ? 1 : 0, u += l.detailed ? 1 : 0, u;
6342
6353
  }), P = I(() => l.detailed);
6343
- Le(
6354
+ Ae(
6344
6355
  () => l.checkedRows,
6345
6356
  (u) => {
6346
6357
  s.value = [...u];
6347
6358
  },
6348
6359
  { deep: !0 }
6349
- ), Le(
6360
+ ), Ae(
6350
6361
  () => l.sortField,
6351
6362
  () => {
6352
- Be();
6363
+ Ce();
6353
6364
  }
6354
- ), Le(
6365
+ ), Ae(
6355
6366
  () => l.sortDirection,
6356
6367
  () => {
6357
- Be();
6368
+ Ce();
6358
6369
  }
6359
6370
  ), ye(() => {
6360
6371
  Re(() => {
6361
- Be();
6372
+ Ce();
6362
6373
  });
6363
6374
  });
6364
6375
  function z(u, b = !1, _ = null) {
@@ -6425,7 +6436,7 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6425
6436
  const b = l.rowKey;
6426
6437
  return !b.length || !u ? u : u[b];
6427
6438
  }
6428
- function Be() {
6439
+ function Ce() {
6429
6440
  const u = l.sortField, b = l.sortDirection, _ = T.value.filter(
6430
6441
  (O) => O.field === u
6431
6442
  )[0];
@@ -6436,9 +6447,9 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6436
6447
  return;
6437
6448
  }
6438
6449
  }
6439
- function _e(u) {
6450
+ function ke(u) {
6440
6451
  x.value.push(u);
6441
- const b = E.value;
6452
+ const b = A.value;
6442
6453
  b && b.children && Re(() => {
6443
6454
  const _ = x.value.map((D) => `[data-id="${D.newKey}"]`).join(","), O = Array.from(b.querySelectorAll(_)).map(
6444
6455
  (D) => D.getAttribute("data-id")
@@ -6464,14 +6475,14 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6464
6475
  function X() {
6465
6476
  return g.value++;
6466
6477
  }
6467
- return pe("addColumn", _e), pe("removeColumn", Ne), pe("nextSequence", X), r({
6478
+ return pe("addColumn", ke), pe("removeColumn", Ne), pe("nextSequence", X), r({
6468
6479
  newColumns: T
6469
6480
  }), (u, b) => {
6470
- const _ = Se("BaseIcon");
6471
- return w(), A("div", ec, [
6481
+ const _ = $e("BaseIcon");
6482
+ return w(), E("div", ec, [
6472
6483
  v("div", {
6473
6484
  ref_key: "slot",
6474
- ref: E,
6485
+ ref: A,
6475
6486
  style: { display: "none" }
6476
6487
  }, [
6477
6488
  Q(u.$slots, "default", {}, void 0, !0)
@@ -6484,14 +6495,14 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6484
6495
  v("div", nc, [
6485
6496
  v("div", rc, [
6486
6497
  v("table", oc, [
6487
- h(T).length ? (w(), A("thead", {
6498
+ h(T).length ? (w(), E("thead", {
6488
6499
  key: 0,
6489
6500
  ref_key: "thead",
6490
6501
  ref: L
6491
6502
  }, [
6492
6503
  v("tr", null, [
6493
- h(P) ? (w(), A("th", lc)) : W("", !0),
6494
- e.checkable && e.checkboxPosition === "left" ? (w(), A("th", ac, [
6504
+ h(P) ? (w(), E("th", lc)) : G("", !0),
6505
+ e.checkable && e.checkboxPosition === "left" ? (w(), E("th", ac, [
6495
6506
  v("div", sc, [
6496
6507
  v("input", {
6497
6508
  type: "checkbox",
@@ -6502,8 +6513,8 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6502
6513
  onChange: f
6503
6514
  }, null, 40, ic)
6504
6515
  ])
6505
- ])) : W("", !0),
6506
- (w(!0), A(fe, null, ve(h(t), (O, D) => (w(), A("th", at({
6516
+ ])) : G("", !0),
6517
+ (w(!0), E(fe, null, ve(h(t), (O, D) => (w(), E("th", at({
6507
6518
  key: O.newKey + ":" + D + "header"
6508
6519
  }, O.thAttrs && O.thAttrs(O), {
6509
6520
  style: O.style,
@@ -6517,7 +6528,7 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6517
6528
  "text-blue-600": O.sortable && h(p) === O
6518
6529
  }])
6519
6530
  }, [
6520
- v("span", cc, G(O.label), 1),
6531
+ v("span", cc, W(O.label), 1),
6521
6532
  qe(v("span", null, [
6522
6533
  U(_, {
6523
6534
  icon: "mdi:chevron-down",
@@ -6530,7 +6541,7 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6530
6541
  ])
6531
6542
  ], 2)
6532
6543
  ], 16, uc))), 128)),
6533
- e.checkable && e.checkboxPosition === "right" ? (w(), A("th", dc, [
6544
+ e.checkable && e.checkboxPosition === "right" ? (w(), E("th", dc, [
6534
6545
  v("input", {
6535
6546
  autocomplete: "off",
6536
6547
  type: "checkbox",
@@ -6539,11 +6550,11 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6539
6550
  class: q(o),
6540
6551
  onChange: f
6541
6552
  }, null, 40, fc)
6542
- ])) : W("", !0)
6553
+ ])) : G("", !0)
6543
6554
  ])
6544
- ], 512)) : W("", !0),
6555
+ ], 512)) : G("", !0),
6545
6556
  v("tbody", mc, [
6546
- h(s).length ? (w(), A("tr", pc, [
6557
+ h(s).length ? (w(), E("tr", pc, [
6547
6558
  v("td", {
6548
6559
  colspan: h(j),
6549
6560
  class: q(["sticky z-[1] p-0", [le]]),
@@ -6560,14 +6571,14 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6560
6571
  return [
6561
6572
  v("div", vc, [
6562
6573
  v("div", null, [
6563
- v("span", gc, G(u.$t("sui.x_rows_selected", {
6574
+ v("span", gc, W(u.$t("sui.x_rows_selected", {
6564
6575
  count: h(s).length
6565
6576
  })) + ".", 1),
6566
6577
  v("button", {
6567
6578
  type: "button",
6568
6579
  class: "mr-3 inline text-slate-700 underline",
6569
6580
  onClick: b[0] || (b[0] = (D) => C())
6570
- }, G(u.$t("sui.deselect_all")), 1)
6581
+ }, W(u.$t("sui.deselect_all")), 1)
6571
6582
  ]),
6572
6583
  (O = e.checkableActions) != null && O.length ? (w(), ee(It, {
6573
6584
  key: 0,
@@ -6584,15 +6595,15 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6584
6595
  ], 2)
6585
6596
  ]),
6586
6597
  _: 1
6587
- }, 8, ["items"])) : W("", !0)
6598
+ }, 8, ["items"])) : G("", !0)
6588
6599
  ])
6589
6600
  ];
6590
6601
  }, !0)
6591
6602
  ], 14, hc)
6592
- ])) : W("", !0),
6593
- (w(!0), A(fe, null, ve(e.data, (O, D) => (w(), A(fe, { key: D }, [
6603
+ ])) : G("", !0),
6604
+ (w(!0), E(fe, null, ve(e.data, (O, D) => (w(), E(fe, { key: D }, [
6594
6605
  v("tr", null, [
6595
- h(P) ? (w(), A("td", {
6606
+ h(P) ? (w(), E("td", {
6596
6607
  key: 0,
6597
6608
  class: q(["pl-3", de(D, O)]),
6598
6609
  style: { width: "36px" }
@@ -6608,10 +6619,10 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6608
6619
  key: 0,
6609
6620
  icon: "mdi:chevron-down",
6610
6621
  class: "h-5 w-5"
6611
- })) : W("", !0)
6622
+ })) : G("", !0)
6612
6623
  ], 10, yc)
6613
- ], 2)) : W("", !0),
6614
- e.checkable && e.checkboxPosition === "left" ? (w(), A("td", {
6624
+ ], 2)) : G("", !0),
6625
+ e.checkable && e.checkboxPosition === "left" ? (w(), E("td", {
6615
6626
  key: 1,
6616
6627
  class: q(["pl-3", de(D, O)])
6617
6628
  }, [
@@ -6625,8 +6636,8 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6625
6636
  onClick: (R) => re(O, D, R)
6626
6637
  }, null, 8, wc)
6627
6638
  ])
6628
- ], 2)) : W("", !0),
6629
- (w(!0), A(fe, null, ve(h(t), (R, ae) => (w(), ee(h(Gu), at({
6639
+ ], 2)) : G("", !0),
6640
+ (w(!0), E(fe, null, ve(h(t), (R, ae) => (w(), ee(h(Gu), at({
6630
6641
  key: R.newKey + D + ":" + ae
6631
6642
  }, R.tdAttrs && R.tdAttrs(O, R), {
6632
6643
  component: R,
@@ -6638,7 +6649,7 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6638
6649
  props: { row: O, column: R, index: D, colindex: ae, toggleDetails: te },
6639
6650
  onClick: (he) => Fe(O, R, D, ae, he)
6640
6651
  }), null, 16, ["component", "class", "data-label", "props", "onClick"]))), 128)),
6641
- e.checkable && e.checkboxPosition === "right" ? (w(), A("td", {
6652
+ e.checkable && e.checkboxPosition === "right" ? (w(), E("td", {
6642
6653
  key: 2,
6643
6654
  class: q(["pr-3", de(D, O)]),
6644
6655
  align: "right"
@@ -6651,11 +6662,11 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6651
6662
  class: q(o),
6652
6663
  onClick: (R) => re(O, D, R)
6653
6664
  }, null, 8, xc)
6654
- ], 2)) : W("", !0)
6665
+ ], 2)) : G("", !0)
6655
6666
  ]),
6656
6667
  U(We, { name: e.detailTransition }, {
6657
6668
  default: H(() => [
6658
- se(O) ? (w(), A("tr", {
6669
+ se(O) ? (w(), E("tr", {
6659
6670
  key: D + "detail"
6660
6671
  }, [
6661
6672
  v("td", {
@@ -6667,16 +6678,16 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6667
6678
  index: D
6668
6679
  }, void 0, !0)
6669
6680
  ], 10, kc)
6670
- ])) : W("", !0)
6681
+ ])) : G("", !0)
6671
6682
  ]),
6672
6683
  _: 2
6673
6684
  }, 1032, ["name"])
6674
6685
  ], 64))), 128)),
6675
- e.data.length == 0 ? (w(), A("tr", Sc, [
6686
+ e.data.length == 0 ? (w(), E("tr", Sc, [
6676
6687
  v("td", { colspan: h(j) }, [
6677
6688
  Q(u.$slots, "empty", {}, void 0, !0)
6678
6689
  ], 8, $c)
6679
- ])) : W("", !0)
6690
+ ])) : G("", !0)
6680
6691
  ])
6681
6692
  ]),
6682
6693
  Q(u.$slots, "loading", {}, () => [
@@ -6689,12 +6700,12 @@ const Qo = /* @__PURE__ */ Ve(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6689
6700
  "leave-to-class": "opacity-0"
6690
6701
  }, {
6691
6702
  default: H(() => [
6692
- e.loading ? (w(), A("div", Bc, [
6703
+ e.loading ? (w(), E("div", Bc, [
6693
6704
  Cc,
6694
6705
  v("div", _c, [
6695
6706
  U(Qo, { class: "h-10 w-10 text-blue-500" })
6696
6707
  ])
6697
- ])) : W("", !0)
6708
+ ])) : G("", !0)
6698
6709
  ]),
6699
6710
  _: 1
6700
6711
  })
@@ -6831,8 +6842,8 @@ const Yo = /* @__PURE__ */ Ve(Ec, [["__scopeId", "data-v-9ab7d17a"]]), Jo = K({
6831
6842
  let p = Pe(n.visibleColumns);
6832
6843
  i ? p.includes(s) || p.push(s) : p = p.filter((d) => d != s), r("update:visibleColumns", p);
6833
6844
  }
6834
- return (a, s) => (w(), A("ul", null, [
6835
- (w(!0), A(fe, null, ve(h(l), (i) => (w(), A("li", {
6845
+ return (a, s) => (w(), E("ul", null, [
6846
+ (w(!0), E(fe, null, ve(h(l), (i) => (w(), E("li", {
6836
6847
  key: i.newKey
6837
6848
  }, [
6838
6849
  v("label", null, [
@@ -6843,7 +6854,7 @@ const Yo = /* @__PURE__ */ Ve(Ec, [["__scopeId", "data-v-9ab7d17a"]]), Jo = K({
6843
6854
  value: i.newKey,
6844
6855
  onChange: (p) => o(p, i.newKey)
6845
6856
  }, null, 40, Ac),
6846
- v("span", Tc, G(i.label), 1)
6857
+ v("span", Tc, W(i.label), 1)
6847
6858
  ])
6848
6859
  ]))), 128))
6849
6860
  ]));
@@ -6856,7 +6867,7 @@ const Yo = /* @__PURE__ */ Ve(Ec, [["__scopeId", "data-v-9ab7d17a"]]), Jo = K({
6856
6867
  jc
6857
6868
  ];
6858
6869
  function Dc(e, r) {
6859
- return w(), A("svg", Oc, Fc);
6870
+ return w(), E("svg", Oc, Fc);
6860
6871
  }
6861
6872
  const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify-end text-right" }, Nc = { class: "btn btn-white bg-transparent p-2" }, qc = ["disabled", "onClick"], Rc = {
6862
6873
  key: 0,
@@ -6958,7 +6969,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
6958
6969
  function x(c) {
6959
6970
  n("cell-click", c);
6960
6971
  }
6961
- const g = (c, m) => c.can && Object.prototype.hasOwnProperty.call(c.can, m) ? c.can[m] : !0, E = (c) => g(c, "update"), L = (c) => g(c, "delete");
6972
+ const g = (c, m) => c.can && Object.prototype.hasOwnProperty.call(c.can, m) ? c.can[m] : !0, A = (c) => g(c, "update"), L = (c) => g(c, "delete");
6962
6973
  function S(c) {
6963
6974
  s.push({
6964
6975
  title: o.t("sui.delete_record") + "?",
@@ -6988,7 +6999,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
6988
6999
  localStorage.getItem(t) + ""
6989
7000
  );
6990
7001
  j && Xe(j) && j.length > 0 && (y.value = j);
6991
- const P = Le(
7002
+ const P = Ae(
6992
7003
  () => p.value,
6993
7004
  () => {
6994
7005
  p.value && p.value.newColumns.length && y.value.length == 0 && (y.value = p.value.newColumns.filter((c) => !c.optional).map((c) => c.newKey), P());
@@ -7011,7 +7022,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7011
7022
  fetch: k,
7012
7023
  query: $
7013
7024
  }), (c, m) => {
7014
- const f = Se("BaseIcon"), C = Se("router-link");
7025
+ const f = $e("BaseIcon"), C = $e("router-link");
7015
7026
  return w(), ee(Wo, {
7016
7027
  ref_key: "dataIterator",
7017
7028
  ref: d,
@@ -7072,7 +7083,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7072
7083
  e.editButton && e.editUrl ? (w(), ee(C, {
7073
7084
  key: 0,
7074
7085
  to: e.editUrl(se),
7075
- disabled: !E(se)
7086
+ disabled: !A(se)
7076
7087
  }, {
7077
7088
  default: H(() => [
7078
7089
  v("button", Nc, [
@@ -7083,8 +7094,8 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7083
7094
  ])
7084
7095
  ]),
7085
7096
  _: 2
7086
- }, 1032, ["to", "disabled"])) : W("", !0),
7087
- e.deleteButton && e.deleteUrl ? (w(), A("button", {
7097
+ }, 1032, ["to", "disabled"])) : G("", !0),
7098
+ e.deleteButton && e.deleteUrl ? (w(), E("button", {
7088
7099
  key: 1,
7089
7100
  type: "button",
7090
7101
  class: "btn btn-white bg-transparent p-2",
@@ -7095,7 +7106,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7095
7106
  icon: "heroicons:trash-solid",
7096
7107
  class: "text-slate-500"
7097
7108
  })
7098
- ], 8, qc)) : W("", !0)
7109
+ ], 8, qc)) : G("", !0)
7099
7110
  ])
7100
7111
  ]),
7101
7112
  _: 3
@@ -7108,20 +7119,20 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7108
7119
  Q(c.$slots, "checkedHeader", Je(Ze(se)))
7109
7120
  ]),
7110
7121
  empty: H(() => [
7111
- Z ? (w(), A("div", Rc, [
7122
+ Z ? (w(), E("div", Rc, [
7112
7123
  v("div", Uc, [
7113
7124
  U(f, {
7114
7125
  icon: "heroicons:x-circle",
7115
7126
  class: "h-10 w-10 text-red-600"
7116
7127
  }),
7117
- v("p", zc, G(c.$t("sui.whoops")), 1)
7128
+ v("p", zc, W(c.$t("sui.whoops")), 1)
7118
7129
  ])
7119
- ])) : ue ? (w(), A("div", Hc, [
7130
+ ])) : ue ? (w(), E("div", Hc, [
7120
7131
  v("div", Kc, [
7121
7132
  U(Pc, { class: "w-32" }),
7122
- v("p", Gc, G(c.$t("sui.nothing_found")), 1)
7133
+ v("p", Gc, W(c.$t("sui.nothing_found")), 1)
7123
7134
  ])
7124
- ])) : W("", !0)
7135
+ ])) : G("", !0)
7125
7136
  ]),
7126
7137
  _: 2
7127
7138
  }, 1032, ["data", "loading", "detailed", "has-detailed-visible", "checkable", "checkable-actions", "checked-rows", "is-row-checkable", "sort-field", "sort-direction", "max-height", "visible-columns", "onSort"])
@@ -7149,7 +7160,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7149
7160
  name: "sidebarBottom",
7150
7161
  fn: H(() => [
7151
7162
  v("div", Wc, [
7152
- v("h3", Qc, G(c.$t("sui.columns")), 1),
7163
+ v("h3", Qc, W(c.$t("sui.columns")), 1),
7153
7164
  U(Ct, null, {
7154
7165
  default: H(() => [
7155
7166
  U(ir, { size: "sm" }, {
@@ -7237,7 +7248,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7237
7248
  var S;
7238
7249
  return n.modelValue && (S = ot.fromISO(n.modelValue, { zone: "utc" }).toISODate()) != null ? S : null;
7239
7250
  });
7240
- Le(
7251
+ Ae(
7241
7252
  () => x.value,
7242
7253
  () => {
7243
7254
  n.modelValue !== x.value && o(x.value);
@@ -7271,12 +7282,12 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7271
7282
  maxDate: n.maxDate,
7272
7283
  onSelect(S) {
7273
7284
  if (!S) {
7274
- E();
7285
+ A();
7275
7286
  return;
7276
7287
  }
7277
7288
  const M = ot.fromJSDate(S);
7278
7289
  if (!M) {
7279
- E();
7290
+ A();
7280
7291
  return;
7281
7292
  }
7282
7293
  o(M.toISODate());
@@ -7285,13 +7296,13 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7285
7296
  }), fn(() => {
7286
7297
  g && g.destroy();
7287
7298
  });
7288
- function E() {
7299
+ function A() {
7289
7300
  g == null || g.clear(), o(null);
7290
7301
  }
7291
7302
  function L(S, M = !1) {
7292
7303
  return M ? S.unshift(S.pop()) : S.push(S.shift()), S;
7293
7304
  }
7294
- return (S, M) => (w(), A("div", Jc, [
7305
+ return (S, M) => (w(), E("div", Jc, [
7295
7306
  v("div", Zc, [
7296
7307
  U(h(ge), {
7297
7308
  class: "relative -top-px h-5 w-5 text-slate-400",
@@ -7308,18 +7319,18 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7308
7319
  class: q(["w-full rounded pl-10 pr-16 disabled:cursor-not-allowed disabled:text-slate-300", [h(l) ? "border-red-500" : "border-slate-300"]]),
7309
7320
  placeholder: S.$t("sui.click_or_select_date")
7310
7321
  }, null, 10, Xc),
7311
- h(x) && !e.disabled ? (w(), A("div", ed, [
7322
+ h(x) && !e.disabled ? (w(), E("div", ed, [
7312
7323
  v("button", {
7313
7324
  type: "button",
7314
7325
  class: "flex h-8 items-center rounded p-1 hover:bg-slate-200",
7315
- onClick: M[0] || (M[0] = (y) => E())
7326
+ onClick: M[0] || (M[0] = (y) => A())
7316
7327
  }, [
7317
7328
  U(h(ge), {
7318
7329
  class: "h-5 w-5 text-slate-600",
7319
7330
  icon: "heroicons:x-mark"
7320
7331
  })
7321
7332
  ])
7322
- ])) : W("", !0)
7333
+ ])) : G("", !0)
7323
7334
  ]));
7324
7335
  }
7325
7336
  }), nd = { class: "-m-0.5 flex" }, rd = { class: "w-auto p-0.5" }, od = ["disabled", "required", "placeholder"], ld = {
@@ -7388,7 +7399,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7388
7399
  month: null,
7389
7400
  day: null
7390
7401
  });
7391
- Le(
7402
+ Ae(
7392
7403
  () => n.modelValue,
7393
7404
  () => {
7394
7405
  if (n.modelValue) {
@@ -7399,20 +7410,20 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7399
7410
  { immediate: !0 }
7400
7411
  );
7401
7412
  function x() {
7402
- const S = E();
7413
+ const S = A();
7403
7414
  o(S ? S.toISODate() : null);
7404
7415
  }
7405
7416
  function g() {
7406
7417
  d.value.day = null, d.value.month = null, d.value.year = null, o(null);
7407
7418
  }
7408
- function E() {
7419
+ function A() {
7409
7420
  return !d.value.year || !d.value.month || !d.value.day ? null : ot.fromISO(
7410
7421
  gt(d.value.year + "", 4, "0") + "-" + gt(d.value.month + "", 2, "0") + "-" + gt(d.value.day + "", 2, "0"),
7411
7422
  { zone: "utc" }
7412
7423
  );
7413
7424
  }
7414
7425
  const L = I(() => p.value.length == 0 || n.disabled);
7415
- return (S, M) => (w(), A("div", null, [
7426
+ return (S, M) => (w(), E("div", null, [
7416
7427
  v("div", nd, [
7417
7428
  v("div", rd, [
7418
7429
  qe(v("select", {
@@ -7429,11 +7440,11 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7429
7440
  placeholder: S.$t("sui.year"),
7430
7441
  onChange: M[1] || (M[1] = (y) => x())
7431
7442
  }, [
7432
- v("option", ld, G(S.$t("sui.year")), 1),
7433
- (w(!0), A(fe, null, ve(h(s), (y) => (w(), A("option", {
7443
+ v("option", ld, W(S.$t("sui.year")), 1),
7444
+ (w(!0), E(fe, null, ve(h(s), (y) => (w(), E("option", {
7434
7445
  key: y,
7435
7446
  value: y
7436
- }, G(y), 9, ad))), 128))
7447
+ }, W(y), 9, ad))), 128))
7437
7448
  ], 42, od), [
7438
7449
  [Sn, h(d).year]
7439
7450
  ])
@@ -7453,11 +7464,11 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7453
7464
  placeholder: S.$t("sui.month"),
7454
7465
  onChange: M[3] || (M[3] = (y) => x())
7455
7466
  }, [
7456
- v("option", ud, G(S.$t("sui.month")), 1),
7457
- (w(!0), A(fe, null, ve(h(i), (y, T) => (w(), A("option", {
7467
+ v("option", ud, W(S.$t("sui.month")), 1),
7468
+ (w(!0), E(fe, null, ve(h(i), (y, T) => (w(), E("option", {
7458
7469
  key: y,
7459
7470
  value: T + 1
7460
- }, G(y), 9, cd))), 128))
7471
+ }, W(y), 9, cd))), 128))
7461
7472
  ], 42, id), [
7462
7473
  [Sn, h(d).month]
7463
7474
  ])
@@ -7477,11 +7488,11 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7477
7488
  placeholder: S.$t("sui.day"),
7478
7489
  onChange: M[5] || (M[5] = (y) => x())
7479
7490
  }, [
7480
- v("option", md, G(S.$t("sui.day")), 1),
7481
- (w(!0), A(fe, null, ve(h(p), (y) => (w(), A("option", {
7491
+ v("option", md, W(S.$t("sui.day")), 1),
7492
+ (w(!0), E(fe, null, ve(h(p), (y) => (w(), E("option", {
7482
7493
  key: y,
7483
7494
  value: y
7484
- }, G(y), 9, pd))), 128))
7495
+ }, W(y), 9, pd))), 128))
7485
7496
  ], 42, fd), [
7486
7497
  [Sn, h(d).day]
7487
7498
  ])
@@ -7493,7 +7504,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7493
7504
  class: "mt-1 appearance-none border-transparent bg-transparent text-sm text-slate-700 underline outline-none disabled:cursor-not-allowed disabled:opacity-50",
7494
7505
  onClick: M[6] || (M[6] = (y) => g())
7495
7506
  }, [
7496
- v("span", null, G(S.$t("sui.clear")), 1)
7507
+ v("span", null, W(S.$t("sui.clear")), 1)
7497
7508
  ], 8, hd)
7498
7509
  ]));
7499
7510
  }
@@ -7521,7 +7532,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7521
7532
  }
7522
7533
  return ye(() => {
7523
7534
  a();
7524
- }), mn(n, st(a, 50)), (s, i) => (w(), A("div", {
7535
+ }), mn(n, st(a, 50)), (s, i) => (w(), E("div", {
7525
7536
  ref_key: "item",
7526
7537
  ref: n,
7527
7538
  class: q({
@@ -7544,7 +7555,7 @@ const Pc = /* @__PURE__ */ Ve(Mc, [["render", Dc]]), Vc = { class: "flex justify
7544
7555
  }
7545
7556
  }), kd = {}, Sd = { class: "block text-sm font-medium leading-tight text-red-600" };
7546
7557
  function $d(e, r) {
7547
- return w(), A("p", Sd, [
7558
+ return w(), E("p", Sd, [
7548
7559
  Q(e.$slots, "default")
7549
7560
  ]);
7550
7561
  }
@@ -7568,11 +7579,11 @@ const Bd = /* @__PURE__ */ Ve(kd, [["render", $d]]), Cd = K({
7568
7579
  class: "text-red-600"
7569
7580
  };
7570
7581
  function Id(e, r, n, l, o, a) {
7571
- return w(), A("label", {
7582
+ return w(), E("label", {
7572
7583
  class: q(e.classes)
7573
7584
  }, [
7574
- ze(G(e.label), 1),
7575
- e.required ? (w(), A("span", _d, " *")) : W("", !0)
7585
+ ze(W(e.label), 1),
7586
+ e.required ? (w(), E("span", _d, " *")) : G("", !0)
7576
7587
  ], 2);
7577
7588
  }
7578
7589
  const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /* @__PURE__ */ K({
@@ -7617,21 +7628,21 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7617
7628
  i();
7618
7629
  }
7619
7630
  const d = I(() => r.label ? r.label : null), x = I(() => s(r.name));
7620
- return pe("field:name", on(V(r.name))), pe("field:required", on(V(r.required))), pe("field:onUpdate", p), pe("field:errorMessage", x), pe("field:setErrorType", l), pe("field:setLabelClass", a), (g, E) => (w(), A("div", { "data-name": e.name }, [
7631
+ return pe("field:name", on(V(r.name))), pe("field:required", on(V(r.required))), pe("field:onUpdate", p), pe("field:errorMessage", x), pe("field:setErrorType", l), pe("field:setLabelClass", a), (g, A) => (w(), E("div", { "data-name": e.name }, [
7621
7632
  h(d) ? (w(), ee(Zo, {
7622
7633
  key: 0,
7623
7634
  label: h(d),
7624
7635
  required: e.required,
7625
7636
  class: q(h(o))
7626
- }, null, 8, ["label", "required", "class"])) : W("", !0),
7637
+ }, null, 8, ["label", "required", "class"])) : G("", !0),
7627
7638
  Q(g.$slots, "default"),
7628
- h(x) ? (w(), A(fe, { key: 1 }, [
7639
+ h(x) ? (w(), E(fe, { key: 1 }, [
7629
7640
  h(n) == "default" ? (w(), ee(Bd, {
7630
7641
  key: 0,
7631
7642
  class: "mt-1"
7632
7643
  }, {
7633
7644
  default: H(() => [
7634
- ze(G(h(x)), 1)
7645
+ ze(W(h(x)), 1)
7635
7646
  ]),
7636
7647
  _: 1
7637
7648
  })) : h(n) == "alert" ? (w(), ee(er, {
@@ -7641,11 +7652,11 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7641
7652
  class: "mt-4"
7642
7653
  }, {
7643
7654
  default: H(() => [
7644
- ze(G(h(x)), 1)
7655
+ ze(W(h(x)), 1)
7645
7656
  ]),
7646
7657
  _: 1
7647
- })) : W("", !0)
7648
- ], 64)) : W("", !0)
7658
+ })) : G("", !0)
7659
+ ], 64)) : G("", !0)
7649
7660
  ], 8, Ed));
7650
7661
  }
7651
7662
  }), Ad = ["value", "type", "name", "step", "min", "max", "disabled", "placeholder", "required", "autocomplete", "onKeydown"], Gn = /* @__PURE__ */ K({
@@ -7724,29 +7735,29 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7724
7735
  hasError: I(() => n.hasError),
7725
7736
  emit: r
7726
7737
  });
7727
- function i(E) {
7728
- if (E === null)
7738
+ function i(A) {
7739
+ if (A === null)
7729
7740
  return null;
7730
- const L = xt(E, "target.value", null);
7741
+ const L = xt(A, "target.value", null);
7731
7742
  return Kr(L) ? L : "";
7732
7743
  }
7733
- function p(E) {
7744
+ function p(A) {
7734
7745
  if (n.preventSubmit) {
7735
- E.preventDefault();
7746
+ A.preventDefault();
7736
7747
  return;
7737
7748
  }
7738
7749
  }
7739
7750
  const d = I(() => a.value ? "border-red-500" : "border-slate-300"), x = I(() => a.value ? "bg-red-100" : "bg-slate-100"), g = I(() => a.value ? "text-red-800" : "text-slate-600");
7740
- return (E, L) => (w(), A("div", {
7751
+ return (A, L) => (w(), E("div", {
7741
7752
  class: q(["inline-flex rounded border", h(d)])
7742
7753
  }, [
7743
- e.iconLeft ? (w(), A("div", {
7754
+ e.iconLeft ? (w(), E("div", {
7744
7755
  key: 0,
7745
7756
  class: q(["flex shrink-0 items-center justify-center rounded-l border-r px-3 transition-colors", [h(d), h(x), h(g)]])
7746
7757
  }, [
7747
7758
  U(h(ge), { icon: e.iconLeft }, null, 8, ["icon"])
7748
- ], 2)) : W("", !0),
7749
- e.prefix ? (w(), A("div", {
7759
+ ], 2)) : G("", !0),
7760
+ e.prefix ? (w(), E("div", {
7750
7761
  key: 1,
7751
7762
  class: q(["flex shrink-0 items-center justify-center border-r px-4 transition-colors", [
7752
7763
  e.iconLeft ? "" : "rounded-l",
@@ -7754,7 +7765,7 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7754
7765
  h(x),
7755
7766
  h(g)
7756
7767
  ]])
7757
- }, G(e.prefix), 3)) : W("", !0),
7768
+ }, W(e.prefix), 3)) : G("", !0),
7758
7769
  v("input", {
7759
7770
  ref: "input",
7760
7771
  value: e.modelValue,
@@ -7773,10 +7784,10 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7773
7784
  autocomplete: e.autocomplete ? "on" : "off",
7774
7785
  onKeydown: An(p, ["enter"]),
7775
7786
  onInput: L[0] || (L[0] = (S) => h(s)(i(S))),
7776
- onFocus: L[1] || (L[1] = (S) => E.$emit("focus", S)),
7777
- onBlur: L[2] || (L[2] = (S) => E.$emit("blur", S))
7787
+ onFocus: L[1] || (L[1] = (S) => A.$emit("focus", S)),
7788
+ onBlur: L[2] || (L[2] = (S) => A.$emit("blur", S))
7778
7789
  }, null, 42, Ad),
7779
- e.suffix ? (w(), A("div", {
7790
+ e.suffix ? (w(), E("div", {
7780
7791
  key: 2,
7781
7792
  class: q(["flex shrink-0 items-center justify-center border-l px-4 transition-colors", [
7782
7793
  e.iconRight ? "" : "rounded-r",
@@ -7784,13 +7795,13 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7784
7795
  h(x),
7785
7796
  h(g)
7786
7797
  ]])
7787
- }, G(e.suffix), 3)) : W("", !0),
7788
- e.iconRight ? (w(), A("div", {
7798
+ }, W(e.suffix), 3)) : G("", !0),
7799
+ e.iconRight ? (w(), E("div", {
7789
7800
  key: 3,
7790
7801
  class: q(["flex shrink-0 items-center justify-center rounded-r border-l px-3 transition-colors", [h(d), h(x), h(g)]])
7791
7802
  }, [
7792
7803
  U(h(ge), { icon: e.iconRight }, null, 8, ["icon"])
7793
- ], 2)) : W("", !0)
7804
+ ], 2)) : G("", !0)
7794
7805
  ], 2));
7795
7806
  }
7796
7807
  }), Td = ["value", "type", "name", "placeholder", "disabled", "required", "rows"], Wn = /* @__PURE__ */ K({
@@ -7853,7 +7864,7 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7853
7864
  }
7854
7865
  return (p, d) => {
7855
7866
  var x;
7856
- return w(), A("textarea", {
7867
+ return w(), E("textarea", {
7857
7868
  value: (x = e.modelValue) != null ? x : void 0,
7858
7869
  type: e.type,
7859
7870
  name: h(l),
@@ -7927,26 +7938,26 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7927
7938
  V(["#10b981", "#06b6d4", "#a855f7"]);
7928
7939
  const s = I(() => n.locales ? n.locales : xe.locales), i = I(() => {
7929
7940
  let g = {};
7930
- return n.modelValue && Ol(n.modelValue) && (g = n.modelValue), Object.keys(s.value).forEach((E) => {
7931
- xt(n.modelValue, E) || (g[E] = n.defaultValue);
7941
+ return n.modelValue && Ol(n.modelValue) && (g = n.modelValue), Object.keys(s.value).forEach((A) => {
7942
+ xt(n.modelValue, A) || (g[A] = n.defaultValue);
7932
7943
  }), g;
7933
7944
  });
7934
7945
  if (!n.modelValue || Nn(i.value) !== Nn(n.modelValue)) {
7935
7946
  const g = i.value;
7936
7947
  r("update:modelValue", g);
7937
7948
  }
7938
- function p(g, E) {
7949
+ function p(g, A) {
7939
7950
  const L = i.value;
7940
- L[E] = g, r("update:modelValue", L);
7951
+ L[A] = g, r("update:modelValue", L);
7941
7952
  }
7942
7953
  function d(g) {
7943
7954
  if (!!n.label)
7944
7955
  return `${n.label} (${g})`;
7945
7956
  }
7946
7957
  const x = I(() => a(l.value));
7947
- return (g, E) => (w(), A("div", { "data-name": h(l) }, [
7958
+ return (g, A) => (w(), E("div", { "data-name": h(l) }, [
7948
7959
  v("div", Md, [
7949
- (w(!0), A(fe, null, ve(h(s), (L, S) => (w(), A("div", { key: S }, [
7960
+ (w(!0), E(fe, null, ve(h(s), (L, S) => (w(), E("div", { key: S }, [
7950
7961
  U(Xo, {
7951
7962
  name: `${h(l)}.${S}`,
7952
7963
  required: h(o),
@@ -7967,7 +7978,7 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7967
7978
  class: "w-full bg-white"
7968
7979
  }, e.componentProps, {
7969
7980
  "onUpdate:modelValue": (M) => p(M, S + "")
7970
- }), null, 16, ["model-value", "required", "name", "onUpdate:modelValue"])) : W("", !0)
7981
+ }), null, 16, ["model-value", "required", "name", "onUpdate:modelValue"])) : G("", !0)
7971
7982
  ]),
7972
7983
  _: 2
7973
7984
  }, 1032, ["name", "required", "label"])
@@ -7980,10 +7991,10 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
7980
7991
  color: "danger"
7981
7992
  }, {
7982
7993
  default: H(() => [
7983
- ze(G(h(x)), 1)
7994
+ ze(W(h(x)), 1)
7984
7995
  ]),
7985
7996
  _: 1
7986
- })) : W("", !0)
7997
+ })) : G("", !0)
7987
7998
  ], 8, Ld));
7988
7999
  }
7989
8000
  }), jd = K({
@@ -8044,7 +8055,7 @@ const Zo = /* @__PURE__ */ Ve(Cd, [["render", Id]]), Ed = ["data-name"], Xo = /*
8044
8055
  }
8045
8056
  }), Fd = ["disabled"], Dd = ["accept"];
8046
8057
  function Pd(e, r, n, l, o, a) {
8047
- return w(), A(fe, null, [
8058
+ return w(), E(fe, null, [
8048
8059
  v("button", {
8049
8060
  type: "button",
8050
8061
  class: q(e.buttonClass),
@@ -8082,7 +8093,7 @@ const el = /* @__PURE__ */ Ve(jd, [["render", Pd]]), Vd = {}, Nd = {
8082
8093
  qd
8083
8094
  ];
8084
8095
  function Ud(e, r) {
8085
- return w(), A("svg", Nd, Rd);
8096
+ return w(), E("svg", Nd, Rd);
8086
8097
  }
8087
8098
  const zd = /* @__PURE__ */ Ve(Vd, [["render", Ud]]), Hd = {
8088
8099
  key: 0,
@@ -8119,7 +8130,7 @@ const zd = /* @__PURE__ */ Ve(Vd, [["render", Ud]]), Hd = {
8119
8130
  const r = e;
8120
8131
  let n = null;
8121
8132
  const l = V(!1);
8122
- return Le(
8133
+ return Ae(
8123
8134
  () => r.modelValue,
8124
8135
  (o) => {
8125
8136
  o ? n = setTimeout(() => {
@@ -8138,7 +8149,7 @@ const zd = /* @__PURE__ */ Ve(Vd, [["render", Ud]]), Hd = {
8138
8149
  "leave-to-class": "opacity-0"
8139
8150
  }, {
8140
8151
  default: H(() => [
8141
- h(l) ? (w(), A("div", Hd, [
8152
+ h(l) ? (w(), E("div", Hd, [
8142
8153
  v("div", {
8143
8154
  class: q(["absolute h-full w-full", e.backdropClass])
8144
8155
  }, null, 2),
@@ -8148,8 +8159,8 @@ const zd = /* @__PURE__ */ Ve(Vd, [["render", Ud]]), Hd = {
8148
8159
  }, null, 8, ["class"])) : e.size == "lg" ? (w(), ee(Qo, {
8149
8160
  key: 1,
8150
8161
  class: q(e.iconClass)
8151
- }, null, 8, ["class"])) : W("", !0)
8152
- ])) : W("", !0)
8162
+ }, null, 8, ["class"])) : G("", !0)
8163
+ ])) : G("", !0)
8153
8164
  ]),
8154
8165
  _: 1
8155
8166
  }, 8, ["enter-active-class", "leave-active-class"]));
@@ -8225,9 +8236,9 @@ const zd = /* @__PURE__ */ Ve(Vd, [["render", Ud]]), Hd = {
8225
8236
  }), s.value = !1;
8226
8237
  return;
8227
8238
  }
8228
- const E = new FormData();
8229
- E.append("file", d), r("upload:start");
8230
- const S = (await l.post((x = n.url) != null ? x : xe.upload_url, E)).data;
8239
+ const A = new FormData();
8240
+ A.append("file", d), r("upload:start");
8241
+ const S = (await l.post((x = n.url) != null ? x : xe.upload_url, A)).data;
8231
8242
  S.original_file = d;
8232
8243
  const M = new FileReader();
8233
8244
  M.onload = (y) => {
@@ -8249,7 +8260,7 @@ const zd = /* @__PURE__ */ Ve(Vd, [["render", Ud]]), Hd = {
8249
8260
  function p(d) {
8250
8261
  r("upload:success", d);
8251
8262
  }
8252
- return (d, x) => (w(), A("div", Kd, [
8263
+ return (d, x) => (w(), E("div", Kd, [
8253
8264
  U(el, {
8254
8265
  "button-class": e.buttonClass,
8255
8266
  disabled: h(s) || e.disabled,
@@ -8385,8 +8396,8 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8385
8396
  },
8386
8397
  emits: ["error", "success"],
8387
8398
  setup(e, { expose: r, emit: n }) {
8388
- const l = e, o = Et(), a = et(), s = V(null), i = V(!1), p = V(!1), d = V({}), x = I(() => l.axiosInstance ? l.axiosInstance : xe.http), g = I(() => s.value), E = I(() => Object.keys(d.value).length > 0), L = I(() => {
8389
- if (!E.value)
8399
+ const l = e, o = Et(), a = et(), s = V(null), i = V(!1), p = V(!1), d = V({}), x = I(() => l.axiosInstance ? l.axiosInstance : xe.http), g = I(() => s.value), A = I(() => Object.keys(d.value).length > 0), L = I(() => {
8400
+ if (!A.value)
8390
8401
  return null;
8391
8402
  const $ = Object.keys(d.value);
8392
8403
  for (let c = 0; c < $.length; c++) {
@@ -8464,11 +8475,11 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8464
8475
  return pe("form:errors", on(d)), pe("form:getErrorMessageByName", j), pe("form:clearErrors", P), pe("form:disabled", on(p)), pe("form:enable", k), pe("form:disable", z), r({
8465
8476
  submit: M,
8466
8477
  errors: d,
8467
- hasErrors: E,
8478
+ hasErrors: A,
8468
8479
  clearErrors: P,
8469
8480
  disabled: p,
8470
8481
  loading: i
8471
- }), ($, c) => (w(), A("form", {
8482
+ }), ($, c) => (w(), E("form", {
8472
8483
  ref_key: "form",
8473
8484
  ref: s,
8474
8485
  class: "relative",
@@ -8496,7 +8507,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8496
8507
  }, null, 2),
8497
8508
  Xd
8498
8509
  ])
8499
- ]) : W("", !0)
8510
+ ]) : G("", !0)
8500
8511
  ]),
8501
8512
  _: 3
8502
8513
  })
@@ -8575,7 +8586,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8575
8586
  required: I(() => n.required),
8576
8587
  hasError: I(() => n.hasError),
8577
8588
  emit: r
8578
- }), a = et(), s = Et(), i = V(0), p = V(""), d = V(!1), x = V(null), g = V(null), E = V(0), L = V(null), S = gn(
8589
+ }), a = et(), s = Et(), i = V(0), p = V(""), d = V(!1), x = V(null), g = V(null), A = V(0), L = V(null), S = gn(
8579
8590
  I(() => n.modelValue),
8580
8591
  I(() => n.options),
8581
8592
  I(() => n.labelKey),
@@ -8593,7 +8604,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8593
8604
  });
8594
8605
  const t = I(() => {
8595
8606
  var le;
8596
- return (le = j.value[Math.min(E.value, j.value.length - 1)]) != null ? le : null;
8607
+ return (le = j.value[Math.min(A.value, j.value.length - 1)]) != null ? le : null;
8597
8608
  }), j = I(() => y.value.filter((le) => n.filter !== void 0 ? n.filter(le) : le.label ? le.label.toLowerCase().includes(p.value.toLowerCase()) : !1).filter((le) => !M(le)));
8598
8609
  function P(le) {
8599
8610
  le.forEach((de) => {
@@ -8613,7 +8624,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8613
8624
  }, 10);
8614
8625
  }, c = (le) => {
8615
8626
  var de;
8616
- E.value = 0, L.value = null, Be(xt(le, "target.value", "") + ""), (de = g.value) == null || de.scrollTo({
8627
+ A.value = 0, L.value = null, Ce(xt(le, "target.value", "") + ""), (de = g.value) == null || de.scrollTo({
8617
8628
  top: 0
8618
8629
  });
8619
8630
  }, m = (le) => {
@@ -8624,11 +8635,11 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8624
8635
  return;
8625
8636
  }
8626
8637
  if (de === "ArrowDown") {
8627
- E.value < j.value.length - 1 ? E.value++ : E.value = 0;
8638
+ A.value < j.value.length - 1 ? A.value++ : A.value = 0;
8628
8639
  return;
8629
8640
  }
8630
8641
  if (de === "ArrowUp") {
8631
- E.value > 0 ? E.value-- : E.value = Math.max(
8642
+ A.value > 0 ? A.value-- : A.value = Math.max(
8632
8643
  0,
8633
8644
  j.value.length - 1
8634
8645
  );
@@ -8656,7 +8667,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8656
8667
  });
8657
8668
  return;
8658
8669
  }
8659
- M(le) || (Z(), N([...T.value, le]), Be(""));
8670
+ M(le) || (Z(), N([...T.value, le]), Ce(""));
8660
8671
  }, Y = () => {
8661
8672
  var de, me;
8662
8673
  const le = (de = T.value[T.value.length - 1]) != null ? de : null;
@@ -8677,36 +8688,36 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8677
8688
  }, ue = () => {
8678
8689
  ce();
8679
8690
  }, se = () => {
8680
- Be("");
8691
+ Ce("");
8681
8692
  }, ce = () => {
8682
8693
  Re(() => {
8683
- E.value = Math.max(
8694
+ A.value = Math.max(
8684
8695
  0,
8685
- Math.min(E.value, j.value.length - 1)
8696
+ Math.min(A.value, j.value.length - 1)
8686
8697
  );
8687
8698
  });
8688
- }, Be = (le) => {
8699
+ }, Ce = (le) => {
8689
8700
  p.value = le, r("typing", le);
8690
- }, _e = V(null);
8701
+ }, ke = V(null);
8691
8702
  function Ne() {
8692
8703
  var de, me;
8693
- const le = (me = (de = _e.value) == null ? void 0 : de.querySelectorAll("button, a")) != null ? me : [];
8704
+ const le = (me = (de = ke.value) == null ? void 0 : de.querySelectorAll("button, a")) != null ? me : [];
8694
8705
  P(le);
8695
8706
  }
8696
8707
  return ye(() => {
8697
8708
  Ne();
8698
8709
  }), Nt(
8699
- _e,
8710
+ ke,
8700
8711
  () => {
8701
8712
  Ne();
8702
8713
  },
8703
8714
  { attributes: !1, childList: !0 }
8704
- ), (le, de) => (w(), A("div", null, [
8715
+ ), (le, de) => (w(), E("div", null, [
8705
8716
  v("div", {
8706
8717
  class: q(["min-h-[42px] rounded border p-1", [h(l) ? "border-red-600" : "border-slate-300"]])
8707
8718
  }, [
8708
8719
  v("div", tf, [
8709
- (w(!0), A(fe, null, ve(h(T), (me) => (w(), A("div", {
8720
+ (w(!0), E(fe, null, ve(h(T), (me) => (w(), E("div", {
8710
8721
  key: me.value,
8711
8722
  class: "p-0.5"
8712
8723
  }, [
@@ -8718,8 +8729,8 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8718
8729
  }, [
8719
8730
  v("div", {
8720
8731
  class: q(["py-[5px] pl-3 text-sm", [e.disabled ? "pr-3" : "pr-1"]])
8721
- }, G(me.label), 3),
8722
- e.disabled ? W("", !0) : (w(), A("button", {
8732
+ }, W(me.label), 3),
8733
+ e.disabled ? G("", !0) : (w(), E("button", {
8723
8734
  key: 0,
8724
8735
  type: "button",
8725
8736
  class: "flex shrink-0 appearance-none items-center justify-center border-0 bg-transparent pl-1 pr-3 text-xs outline-none",
@@ -8752,9 +8763,9 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8752
8763
  class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
8753
8764
  }, [
8754
8765
  h(j).length == 0 ? Q(le.$slots, "empty", { key: 0 }, () => [
8755
- v("div", sf, G(le.$t("sui.nothing_found")), 1)
8756
- ]) : (w(), A("ul", uf, [
8757
- (w(!0), A(fe, null, ve(h(j), (me) => (w(), A("li", {
8766
+ v("div", sf, W(le.$t("sui.nothing_found")), 1)
8767
+ ]) : (w(), E("ul", uf, [
8768
+ (w(!0), E(fe, null, ve(h(j), (me) => (w(), E("li", {
8758
8769
  key: me.value,
8759
8770
  class: "block"
8760
8771
  }, [
@@ -8771,7 +8782,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8771
8782
  }, () => [
8772
8783
  v("div", {
8773
8784
  class: q(["rounded px-2 py-1 text-sm", f(me)])
8774
- }, G(me.label), 3)
8785
+ }, W(me.label), 3)
8775
8786
  ])
8776
8787
  ], 40, cf)
8777
8788
  ]))), 128))
@@ -8779,13 +8790,13 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8779
8790
  ], 512),
8780
8791
  v("div", {
8781
8792
  ref_key: "footer",
8782
- ref: _e
8793
+ ref: ke
8783
8794
  }, [
8784
- le.$slots.footer ? (w(), A("div", df, [
8795
+ le.$slots.footer ? (w(), E("div", df, [
8785
8796
  Q(le.$slots, "footer", { options: h(j) })
8786
- ])) : W("", !0)
8797
+ ])) : G("", !0)
8787
8798
  ], 512),
8788
- e.loading ? (w(), A("div", ff, [
8799
+ e.loading ? (w(), E("div", ff, [
8789
8800
  v("div", mf, [
8790
8801
  U(yt, {
8791
8802
  class: "h-7 w-full",
@@ -8800,7 +8811,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8800
8811
  delay: "100ms"
8801
8812
  })
8802
8813
  ])
8803
- ])) : W("", !0)
8814
+ ])) : G("", !0)
8804
8815
  ], 512), [
8805
8816
  [lt, h(d)]
8806
8817
  ])
@@ -8860,7 +8871,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8860
8871
  p.value = 1, s.value = !1, i.value != M && (i.value = M, l.value = !0, S());
8861
8872
  }, g = () => {
8862
8873
  a.value || L();
8863
- }, E = () => {
8874
+ }, A = () => {
8864
8875
  s.value || (p.value++, L());
8865
8876
  }, L = () => {
8866
8877
  o.value || (o.value = !0, l.value = !0, a.value = !0, n.get(r.url, {
@@ -8890,7 +8901,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8890
8901
  filter: () => !0,
8891
8902
  onFocus: g,
8892
8903
  onTyping: x,
8893
- onScrollBottom: E,
8904
+ onScrollBottom: A,
8894
8905
  "onUpdate:modelValue": y[0] || (y[0] = (T) => M.$emit("update:modelValue", T))
8895
8906
  }, {
8896
8907
  option: H((T) => [
@@ -8901,7 +8912,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8901
8912
  ]),
8902
8913
  empty: H((T) => [
8903
8914
  Q(M.$slots, "empty", at(T, { firstSearch: h(a) }), () => [
8904
- h(a) ? (w(), A("div", pf, G(M.$t("sui.nothing_found")), 1)) : W("", !0)
8915
+ h(a) ? (w(), E("div", pf, W(M.$t("sui.nothing_found")), 1)) : G("", !0)
8905
8916
  ])
8906
8917
  ]),
8907
8918
  _: 3
@@ -8960,7 +8971,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8960
8971
  emits: ["update:modelValue"],
8961
8972
  setup(e, { emit: r }) {
8962
8973
  const n = e, l = V(n.currentModels);
8963
- Le(
8974
+ Ae(
8964
8975
  () => n.currentModels,
8965
8976
  (a, s) => {
8966
8977
  l.value = a;
@@ -9028,17 +9039,17 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9028
9039
  class: q(["relative flex items-center justify-center overflow-hidden", [h(a) ? "duration-100 hover:bg-slate-100" : "bg-white"]])
9029
9040
  }, {
9030
9041
  default: H(() => [
9031
- h(l) == "image" && h(a) ? (w(), A("img", {
9042
+ h(l) == "image" && h(a) ? (w(), E("img", {
9032
9043
  key: 0,
9033
9044
  src: h(a),
9034
9045
  class: "h-full w-full bg-black object-contain object-center",
9035
9046
  alt: h(n)
9036
- }, null, 8, vf)) : h(l) == "image" && "data_url" in e.media ? (w(), A("img", {
9047
+ }, null, 8, vf)) : h(l) == "image" && "data_url" in e.media ? (w(), E("img", {
9037
9048
  key: 1,
9038
9049
  src: e.media.data_url,
9039
9050
  class: "h-full w-full bg-black object-contain object-center",
9040
9051
  alt: h(n)
9041
- }, null, 8, gf)) : (w(), A("div", yf, [
9052
+ }, null, 8, gf)) : (w(), E("div", yf, [
9042
9053
  h(o) == "pdf" ? (w(), ee(h(ge), {
9043
9054
  key: 0,
9044
9055
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
@@ -9051,7 +9062,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9051
9062
  key: 2,
9052
9063
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
9053
9064
  icon: "mdi:music"
9054
- })) : (w(), A("span", bf, G(h(o)), 1))
9065
+ })) : (w(), E("span", bf, W(h(o)), 1))
9055
9066
  ]))
9056
9067
  ]),
9057
9068
  _: 1
@@ -9075,7 +9086,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9075
9086
  emits: ["remove"],
9076
9087
  setup(e) {
9077
9088
  const r = e, n = I(() => r.media.file_name), l = I(() => hr(r.media.size)), o = I(() => "url" in r.media ? r.media.url : null);
9078
- return (a, s) => (w(), A("div", wf, [
9089
+ return (a, s) => (w(), E("div", wf, [
9079
9090
  v("div", xf, [
9080
9091
  v("div", kf, [
9081
9092
  U(al, {
@@ -9090,13 +9101,13 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9090
9101
  }, {
9091
9102
  default: H(() => [
9092
9103
  v("div", Sf, [
9093
- v("p", $f, G(h(n)), 1),
9094
- v("p", Bf, G(h(l)), 1)
9104
+ v("p", $f, W(h(n)), 1),
9105
+ v("p", Bf, W(h(l)), 1)
9095
9106
  ])
9096
9107
  ]),
9097
9108
  _: 1
9098
9109
  }, 8, ["href"])),
9099
- e.showRemove ? (w(), A("div", Cf, [
9110
+ e.showRemove ? (w(), E("div", Cf, [
9100
9111
  v("button", {
9101
9112
  type: "button",
9102
9113
  class: "rounded-full bg-white p-1 text-slate-400 hover:bg-slate-100",
@@ -9107,7 +9118,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9107
9118
  class: "h-4 w-4"
9108
9119
  })
9109
9120
  ])
9110
- ])) : W("", !0)
9121
+ ])) : G("", !0)
9111
9122
  ])
9112
9123
  ]));
9113
9124
  }
@@ -9186,7 +9197,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9186
9197
  return d.value.length + (($ = (k = n.modelValue) == null ? void 0 : k.to_add.length) != null ? $ : 0) - ((m = (c = n.modelValue) == null ? void 0 : c.to_remove.length) != null ? m : 0);
9187
9198
  });
9188
9199
  T(x.value);
9189
- function E(k) {
9200
+ function A(k) {
9190
9201
  if (k == null)
9191
9202
  return;
9192
9203
  if (g.value >= n.max && n.max > 1) {
@@ -9244,8 +9255,8 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9244
9255
  r("upload:end", k), i();
9245
9256
  }
9246
9257
  return (k, $) => {
9247
- const c = Se("BaseIcon");
9248
- return w(), A("div", null, [
9258
+ const c = $e("BaseIcon");
9259
+ return w(), E("div", null, [
9249
9260
  U(nl, {
9250
9261
  "max-size": e.maxSize,
9251
9262
  disabled: e.disabled,
@@ -9257,7 +9268,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9257
9268
  "onUpload:start": P,
9258
9269
  "onUpload:end": z,
9259
9270
  "onUpload:fail": $[0] || ($[0] = (m) => k.$emit("upload:fail", m)),
9260
- "onUpload:success": E
9271
+ "onUpload:success": A
9261
9272
  }, {
9262
9273
  default: H((m) => [
9263
9274
  Q(k.$slots, "default", at(m, {
@@ -9278,10 +9289,10 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9278
9289
  class: "mx-auto mb-3 h-6 w-6 text-slate-500"
9279
9290
  }),
9280
9291
  v("div", _f, [
9281
- v("p", If, G(k.$t("sui.drop_or_click_to_upload")), 1),
9292
+ v("p", If, W(k.$t("sui.drop_or_click_to_upload")), 1),
9282
9293
  v("div", Ef, [
9283
- h(t) ? (w(), A("p", Af, G(h(t)), 1)) : W("", !0),
9284
- v("p", null, G(h(j)), 1)
9294
+ h(t) ? (w(), E("p", Af, W(h(t)), 1)) : G("", !0),
9295
+ v("p", null, W(h(j)), 1)
9285
9296
  ])
9286
9297
  ])
9287
9298
  ], 2)
@@ -9290,9 +9301,9 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9290
9301
  ]),
9291
9302
  _: 3
9292
9303
  }, 8, ["max-size", "disabled", "accept", "accepted-extensions", "url"]),
9293
- h(d).length + h(x).to_add.length ? (w(), A("div", Tf, [
9304
+ h(d).length + h(x).to_add.length ? (w(), E("div", Tf, [
9294
9305
  v("div", Lf, [
9295
- (w(!0), A(fe, null, ve(h(d), (m, f) => (w(), A("div", {
9306
+ (w(!0), E(fe, null, ve(h(d), (m, f) => (w(), E("div", {
9296
9307
  key: m.id,
9297
9308
  class: "min-w-[220px] flex-1 p-1"
9298
9309
  }, [
@@ -9302,12 +9313,12 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9302
9313
  onRemove: (C) => S(f)
9303
9314
  }, {
9304
9315
  default: H(() => [
9305
- ze(G(m.file_name), 1)
9316
+ ze(W(m.file_name), 1)
9306
9317
  ]),
9307
9318
  _: 2
9308
9319
  }, 1032, ["media", "show-remove", "onRemove"])
9309
9320
  ]))), 128)),
9310
- (w(!0), A(fe, null, ve(h(x).to_add, (m, f) => (w(), A("div", {
9321
+ (w(!0), E(fe, null, ve(h(x).to_add, (m, f) => (w(), E("div", {
9311
9322
  key: m.id,
9312
9323
  class: "min-w-[220px] flex-1 p-1"
9313
9324
  }, [
@@ -9317,13 +9328,13 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9317
9328
  onRemove: (C) => L(f)
9318
9329
  }, {
9319
9330
  default: H(() => [
9320
- ze(G(m.file_name), 1)
9331
+ ze(W(m.file_name), 1)
9321
9332
  ]),
9322
9333
  _: 2
9323
9334
  }, 1032, ["media", "show-remove", "onRemove"])
9324
9335
  ]))), 128))
9325
9336
  ])
9326
- ])) : W("", !0)
9337
+ ])) : G("", !0)
9327
9338
  ]);
9328
9339
  };
9329
9340
  }
@@ -9355,7 +9366,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9355
9366
  r
9356
9367
  );
9357
9368
  return (a, s) => {
9358
- const i = Se("BaseIcon");
9369
+ const i = $e("BaseIcon");
9359
9370
  return w(), ee(Pt, { to: "body" }, [
9360
9371
  U(We, {
9361
9372
  name: "modal",
@@ -9387,11 +9398,11 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9387
9398
  "leave-to-class": "opacity-0"
9388
9399
  }, {
9389
9400
  default: H(() => [
9390
- e.modelValue ? (w(), A("div", {
9401
+ e.modelValue ? (w(), E("div", {
9391
9402
  key: 0,
9392
9403
  class: q([e.backdropClass, "fixed inset-0 transition-opacity"]),
9393
9404
  onClick: s[0] || (s[0] = (p) => e.closeOnOutsideClick ? h(o).close() : h(o).refuseAnimation())
9394
- }, null, 2)) : W("", !0)
9405
+ }, null, 2)) : G("", !0)
9395
9406
  ]),
9396
9407
  _: 1
9397
9408
  }),
@@ -9405,14 +9416,14 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9405
9416
  "leave-to-class": "translate-y-20 opacity-0"
9406
9417
  }, {
9407
9418
  default: H(() => [
9408
- e.modelValue ? (w(), A("div", {
9419
+ e.modelValue ? (w(), E("div", {
9409
9420
  key: 0,
9410
9421
  class: q(["pb-safe relative z-[1] mx-auto block w-full rounded-t-xl bg-white sm:max-w-lg sm:rounded-xl sm:shadow-xl", [h(o).animationClasses.value]])
9411
9422
  }, [
9412
9423
  Q(a.$slots, "default", {
9413
9424
  close: h(o).close
9414
9425
  })
9415
- ], 2)) : W("", !0)
9426
+ ], 2)) : G("", !0)
9416
9427
  ]),
9417
9428
  _: 3
9418
9429
  })
@@ -9461,7 +9472,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9461
9472
  function o() {
9462
9473
  r.value = !1;
9463
9474
  }
9464
- return pe("toggleMenu", n), pe("openMenu", l), pe("closeMenu", o), (a, s) => (w(), A("nav", {
9475
+ return pe("toggleMenu", n), pe("openMenu", l), pe("closeMenu", o), (a, s) => (w(), E("nav", {
9465
9476
  class: q(["border-t-[3px] border-primary-500", [e.dark ? "bg-slate-900" : "bg-white"]])
9466
9477
  }, [
9467
9478
  U(go, { size: e.size }, {
@@ -9496,7 +9507,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9496
9507
  ]),
9497
9508
  _: 3
9498
9509
  }, 8, ["size"]),
9499
- h(r) ? (w(), A("div", {
9510
+ h(r) ? (w(), E("div", {
9500
9511
  key: 0,
9501
9512
  class: q(["absolute w-full md:hidden", [e.dark ? "bg-slate-900" : "bg-white"]])
9502
9513
  }, [
@@ -9505,7 +9516,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9505
9516
  closeMenu: o,
9506
9517
  openMenu: l
9507
9518
  })
9508
- ], 2)) : W("", !0)
9519
+ ], 2)) : G("", !0)
9509
9520
  ], 2));
9510
9521
  }
9511
9522
  }), Nf = { class: "group flex grow items-center" }, qf = {
@@ -9547,7 +9558,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9547
9558
  const o = ["w-5 h-5 shrink-0 mr-2 leading-none inline-block"];
9548
9559
  return r.active ? o.push("opacity-100") : o.push("opacity-70 group-hover:opacity-100"), o;
9549
9560
  });
9550
- return (o, a) => (w(), A("div", {
9561
+ return (o, a) => (w(), E("div", {
9551
9562
  class: q(h(n))
9552
9563
  }, [
9553
9564
  v("div", Nf, [
@@ -9555,16 +9566,16 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9555
9566
  key: 0,
9556
9567
  icon: e.icon,
9557
9568
  class: q(h(l))
9558
- }, null, 8, ["icon", "class"])) : W("", !0),
9559
- ze(" " + G(e.label), 1)
9569
+ }, null, 8, ["icon", "class"])) : G("", !0),
9570
+ ze(" " + W(e.label), 1)
9560
9571
  ]),
9561
- e.count ? (w(), A("div", qf, [
9572
+ e.count ? (w(), E("div", qf, [
9562
9573
  U(qt, {
9563
9574
  count: e.count,
9564
9575
  "max-digit": 2,
9565
9576
  color: "primary"
9566
9577
  }, null, 8, ["count"])
9567
- ])) : W("", !0)
9578
+ ])) : G("", !0)
9568
9579
  ], 2));
9569
9580
  }
9570
9581
  }), Rf = { class: "flex" }, ul = /* @__PURE__ */ K({
@@ -9585,7 +9596,7 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9585
9596
  async function l() {
9586
9597
  r("click"), n();
9587
9598
  }
9588
- return (o, a) => (w(), A("div", Rf, [
9599
+ return (o, a) => (w(), E("div", Rf, [
9589
9600
  U(ln, {
9590
9601
  item: e.item,
9591
9602
  dark: e.dark,
@@ -9625,12 +9636,12 @@ const Zd = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9625
9636
  class: "mt-2 text-sm leading-tight text-slate-500"
9626
9637
  }, Gf = { class: "mt-5 md:col-span-2 md:mt-0" };
9627
9638
  function Wf(e, r, n, l, o, a) {
9628
- return w(), A("div", {
9639
+ return w(), E("div", {
9629
9640
  class: q(["pb-8 md:grid md:grid-cols-3 md:gap-8", [e.bordered ? "mb-8 border-b border-slate-300" : ""]])
9630
9641
  }, [
9631
9642
  v("div", zf, [
9632
- v("h3", Hf, G(e.title), 1),
9633
- e.description ? (w(), A("p", Kf, G(e.description), 1)) : W("", !0)
9643
+ v("h3", Hf, W(e.title), 1),
9644
+ e.description ? (w(), E("p", Kf, W(e.description), 1)) : G("", !0)
9634
9645
  ]),
9635
9646
  v("div", Gf, [
9636
9647
  Q(e.$slots, "default")
@@ -9677,7 +9688,7 @@ const Qf = /* @__PURE__ */ Ve(Uf, [["render", Wf]]), Yf = ["value", "type", "nam
9677
9688
  const x = d.target.value + "";
9678
9689
  s(Hr(x));
9679
9690
  }
9680
- return (d, x) => (w(), A("div", {
9691
+ return (d, x) => (w(), E("div", {
9681
9692
  class: q(["flex rounded border bg-white", [
9682
9693
  e.disabled ? "cursor-not-allowed text-slate-300" : "",
9683
9694
  h(a) ? "border-red-500" : "border-slate-300"
@@ -9747,7 +9758,7 @@ const Qf = /* @__PURE__ */ Ve(Uf, [["render", Wf]]), Yf = ["value", "type", "nam
9747
9758
  });
9748
9759
  const tm = ["height", "width"], nm = ["stroke-width", "r", "cx", "cy"], rm = ["stroke-dasharray", "stroke-width", "r", "cx", "cy"], om = ["x", "y"];
9749
9760
  function lm(e, r, n, l, o, a) {
9750
- return w(), A("svg", {
9761
+ return w(), E("svg", {
9751
9762
  height: e.radius * 2,
9752
9763
  width: e.radius * 2
9753
9764
  }, [
@@ -9776,7 +9787,7 @@ function lm(e, r, n, l, o, a) {
9776
9787
  x: e.radius,
9777
9788
  y: e.radius + e.fontSize / 10,
9778
9789
  style: je({ fontSize: e.fontSize + "px", fontWeight: 600 })
9779
- }, G(Math.round(e.progress * 100)) + "% ", 13, om)
9790
+ }, W(Math.round(e.progress * 100)) + "% ", 13, om)
9780
9791
  ], 8, tm);
9781
9792
  }
9782
9793
  const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e3"]]), sm = { class: "space-y-3" }, im = ["for"], um = ["id", "name", "checked", "required", "disabled", "value", "onInput"], cm = { class: "text-sm" }, dm = /* @__PURE__ */ K({
@@ -9839,9 +9850,9 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
9839
9850
  I(() => n.valueKey),
9840
9851
  I(() => !1)
9841
9852
  );
9842
- return (p, d) => (w(), A("div", null, [
9853
+ return (p, d) => (w(), E("div", null, [
9843
9854
  v("ul", sm, [
9844
- (w(!0), A(fe, null, ve(h(s), (x) => (w(), A("li", {
9855
+ (w(!0), E(fe, null, ve(h(s), (x) => (w(), E("li", {
9845
9856
  key: x.value
9846
9857
  }, [
9847
9858
  v("label", {
@@ -9860,7 +9871,7 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
9860
9871
  onInput: (g) => h(a)(x.option)
9861
9872
  }, null, 42, um),
9862
9873
  Q(p.$slots, "option", { option: x }, () => [
9863
- v("span", cm, G(x.label), 1)
9874
+ v("span", cm, W(x.label), 1)
9864
9875
  ])
9865
9876
  ], 10, im)
9866
9877
  ]))), 128))
@@ -9899,7 +9910,7 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
9899
9910
  const i = n.value;
9900
9911
  !i || (o.value = i.scrollHeight > i.clientHeight);
9901
9912
  }
9902
- return (i, p) => (w(), A("div", null, [
9913
+ return (i, p) => (w(), E("div", null, [
9903
9914
  v("p", {
9904
9915
  ref_key: "content",
9905
9916
  ref: n,
@@ -9908,14 +9919,14 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
9908
9919
  }, [
9909
9920
  Q(i.$slots, "default")
9910
9921
  ], 4),
9911
- !h(l) && h(o) ? (w(), A("button", {
9922
+ !h(l) && h(o) ? (w(), E("button", {
9912
9923
  key: 0,
9913
9924
  type: "button",
9914
9925
  class: "mt-1 inline appearance-none border-b border-dashed border-slate-400 bg-transparent px-0.5 py-0 text-slate-900 hover:text-slate-600",
9915
9926
  onClick: p[0] || (p[0] = (d) => l.value = !0)
9916
9927
  }, [
9917
- v("span", fm, G(i.$t("sui.read_more")), 1)
9918
- ])) : W("", !0)
9928
+ v("span", fm, W(i.$t("sui.read_more")), 1)
9929
+ ])) : G("", !0)
9919
9930
  ]));
9920
9931
  }
9921
9932
  }), pm = ["value", "name", "disabled", "required"], hm = /* @__PURE__ */ K({
@@ -9957,7 +9968,7 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
9957
9968
  function g(y) {
9958
9969
  return y === void 0 || y === o;
9959
9970
  }
9960
- const E = I(() => g(n.modelValue) || !S() ? l : n.modelValue);
9971
+ const A = I(() => g(n.modelValue) || !S() ? l : n.modelValue);
9961
9972
  Nt(
9962
9973
  a,
9963
9974
  () => {
@@ -9983,10 +9994,10 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
9983
9994
  }
9984
9995
  d(T);
9985
9996
  }
9986
- return (y, T) => (w(), A("select", {
9997
+ return (y, T) => (w(), E("select", {
9987
9998
  ref_key: "select",
9988
9999
  ref: a,
9989
- value: h(E),
10000
+ value: h(A),
9990
10001
  name: h(s),
9991
10002
  disabled: e.disabled,
9992
10003
  required: h(i),
@@ -9996,15 +10007,15 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
9996
10007
  ]]),
9997
10008
  onChange: T[0] || (T[0] = (t) => M(t))
9998
10009
  }, [
9999
- h(i) ? (w(), A("option", {
10010
+ h(i) ? (w(), E("option", {
10000
10011
  key: 0,
10001
10012
  disabled: "",
10002
10013
  hidden: "",
10003
10014
  value: l
10004
- }, G(e.placeholder ? e.placeholder : y.$t("sui.select_an_option")), 1)) : (w(), A("option", {
10015
+ }, W(e.placeholder ? e.placeholder : y.$t("sui.select_an_option")), 1)) : (w(), E("option", {
10005
10016
  key: 1,
10006
10017
  value: l
10007
- }, G(e.placeholder ? e.placeholder : y.$t("sui.select_an_option")), 1)),
10018
+ }, W(e.placeholder ? e.placeholder : y.$t("sui.select_an_option")), 1)),
10008
10019
  Q(y.$slots, "default")
10009
10020
  ], 42, pm));
10010
10021
  }
@@ -10049,7 +10060,7 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
10049
10060
  setup(e) {
10050
10061
  const r = e, n = I(() => r.color == "gray" ? r.contrast == "high" ? "bg-slate-600 text-white" : "bg-slate-100 text-slate-800 border border-slate-300" : r.color == "red" ? r.contrast == "high" ? "bg-red-600 text-white" : "bg-red-100 text-red-700 border border-red-300" : r.color == "orange" ? r.contrast == "high" ? "bg-orange-500 text-white" : "bg-orange-100 text-yellow-700 border border-orange-300" : r.color == "yellow" ? r.contrast == "high" ? "bg-yellow-500 text-white" : "bg-yellow-100 text-yellow-700 border border-yellow-300" : r.color == "green" ? r.contrast == "high" ? "bg-green-600 text-white" : "bg-green-100 text-green-700 border border-green-300" : r.color == "blue" ? r.contrast == "high" ? "bg-blue-600 text-white" : "bg-blue-100 text-blue-700 border border-blue-300" : r.color == "indigo" ? r.contrast == "high" ? "bg-indigo-600 text-white" : "bg-indigo-100 text-indigo-700 border border-indigo-300" : r.color == "purple" ? r.contrast == "high" ? "bg-purple-600 text-white" : "bg-purple-100 text-purple-700 border border-purple-300" : r.color == "pink" ? r.contrast == "high" ? "bg-pink-600 text-white" : "bg-pink-100 text-pink-700 border border-pink-300" : "bg-slate-100 text-slate-700 border border-slate-300"), l = I(() => "h-4 w-4");
10051
10062
  return (o, a) => {
10052
- const s = Se("router-link");
10063
+ const s = $e("router-link");
10053
10064
  return w(), ee(Ct, { class: "flex duration-200 hover:bg-slate-50" }, {
10054
10065
  default: H(() => [
10055
10066
  U(s, { to: e.to }, {
@@ -10062,19 +10073,19 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
10062
10073
  key: 0,
10063
10074
  icon: e.icon,
10064
10075
  class: q(h(l))
10065
- }, null, 8, ["icon", "class"])) : W("", !0)
10076
+ }, null, 8, ["icon", "class"])) : G("", !0)
10066
10077
  ], 2),
10067
- v("div", gm, G(e.title), 1),
10068
- e.description ? (w(), A("div", ym, G(e.description), 1)) : W("", !0),
10069
- e.linkText ? (w(), A("div", bm, [
10070
- v("div", wm, G(e.linkText), 1),
10078
+ v("div", gm, W(e.title), 1),
10079
+ e.description ? (w(), E("div", ym, W(e.description), 1)) : G("", !0),
10080
+ e.linkText ? (w(), E("div", bm, [
10081
+ v("div", wm, W(e.linkText), 1),
10071
10082
  v("div", null, [
10072
10083
  U(h(ge), {
10073
10084
  icon: "heroicons:arrow-right-20-solid",
10074
10085
  class: "mt-px h-4 w-4"
10075
10086
  })
10076
10087
  ])
10077
- ])) : W("", !0)
10088
+ ])) : G("", !0)
10078
10089
  ])
10079
10090
  ]),
10080
10091
  _: 1
@@ -10089,7 +10100,7 @@ const am = /* @__PURE__ */ Ve(em, [["render", lm], ["__scopeId", "data-v-e5ae83e
10089
10100
  class: "relative"
10090
10101
  }, $m = /* @__PURE__ */ v("div", { class: "absolute bottom-0 left-0 h-full w-px bg-slate-300" }, null, -1), Bm = { class: "relative overflow-x-auto overflow-y-hidden" }, Cm = { class: "space-y-2" };
10091
10102
  function _m(e, r) {
10092
- return w(), A("nav", Sm, [
10103
+ return w(), E("nav", Sm, [
10093
10104
  $m,
10094
10105
  v("div", Bm, [
10095
10106
  v("div", Cm, [
@@ -10119,7 +10130,7 @@ const Im = /* @__PURE__ */ Ve(km, [["render", _m]]), Em = ["href", "disabled", "
10119
10130
  r.disabled || l();
10120
10131
  };
10121
10132
  return (l, o) => {
10122
- const a = Se("router-link");
10133
+ const a = $e("router-link");
10123
10134
  return w(), ee(a, {
10124
10135
  to: e.to,
10125
10136
  custom: ""
@@ -10189,30 +10200,30 @@ const Im = /* @__PURE__ */ Ve(km, [["render", _m]]), Em = ["href", "disabled", "
10189
10200
  }
10190
10201
  }), Lm = { class: "mb-0.5 text-base font-medium" }, Mm = { class: "text-3xl font-bold leading-tight" }, Om = { key: 0 }, jm = { class: "text-lg" }, Fm = { class: "text-base text-slate-500" };
10191
10202
  function Dm(e, r, n, l, o, a) {
10192
- const s = Se("BaseIcon");
10193
- return w(), A("div", {
10203
+ const s = $e("BaseIcon");
10204
+ return w(), E("div", {
10194
10205
  class: q(["inline-flex rounded-xl p-4", [e.centerClass]])
10195
10206
  }, [
10196
10207
  v("section", null, [
10197
- v("header", Lm, G(e.label), 1),
10208
+ v("header", Lm, W(e.label), 1),
10198
10209
  v("div", {
10199
10210
  class: q(["flex", [e.centerClass]])
10200
10211
  }, [
10201
- v("div", Mm, G(e.primaryValue), 1),
10202
- e.secondaryValue ? (w(), A("div", {
10212
+ v("div", Mm, W(e.primaryValue), 1),
10213
+ e.secondaryValue ? (w(), E("div", {
10203
10214
  key: 0,
10204
10215
  class: q(["ml-1 flex rounded-md px-1 text-lg font-bold", [e.backgroundClass, e.textClass, e.centerClass]])
10205
10216
  }, [
10206
- e.trend ? (w(), A("div", Om, [
10217
+ e.trend ? (w(), E("div", Om, [
10207
10218
  U(s, {
10208
10219
  icon: e.icon,
10209
10220
  class: q(e.iconClass)
10210
10221
  }, null, 8, ["icon", "class"])
10211
- ])) : W("", !0),
10212
- v("div", jm, G(e.secondaryValue), 1)
10213
- ], 2)) : W("", !0)
10222
+ ])) : G("", !0),
10223
+ v("div", jm, W(e.secondaryValue), 1)
10224
+ ], 2)) : G("", !0)
10214
10225
  ], 2),
10215
- v("footer", Fm, G(e.caption), 1)
10226
+ v("footer", Fm, W(e.caption), 1)
10216
10227
  ])
10217
10228
  ], 2);
10218
10229
  }
@@ -10252,7 +10263,7 @@ const Pm = /* @__PURE__ */ Ve(Tm, [["render", Dm]]), Vm = { class: "inline-flex
10252
10263
  hasError: I(() => n.hasError),
10253
10264
  emit: r
10254
10265
  }), o = I(() => n.color == "primary" ? "bg-primary-500" : n.color == "info" ? "bg-blue-500" : n.color == "danger" ? "bg-red-500" : n.color == "warning" ? "bg-yellow-500" : n.color == "success" ? "bg-green-500" : n.color == "light" ? "bg-slate-500" : "bg-slate-900"), a = I(() => n.color == "primary" ? "focus:ring-primary-500" : n.color == "info" ? "focus:ring-blue-500" : n.color == "danger" ? "focus:ring-red-500" : n.color == "warning" ? "focus:ring-yellow-500" : n.color == "success" ? "focus:ring-green-500" : n.color == "light" ? "focus:ring-slate-500" : "focus:ring-slate-900"), s = I(() => n.size == "xs" ? 12 : n.size == "sm" ? 16 : n.size == "base" ? 20 : n.size == "lg" ? 24 : n.size == "xl" ? 32 : 16), i = I(() => n.size == "xs" ? 2 : n.size == "sm" ? 2.5 : n.size == "base" || n.size == "lg" ? 3 : n.size == "xl" ? 4 : 2), p = I(() => s.value + 2 * i.value), d = I(() => 2 * s.value), x = I(() => d.value + 2 * i.value), g = I(() => n.modelValue ? i.value + d.value - s.value : i.value);
10255
- function E(L) {
10266
+ function A(L) {
10256
10267
  l(L);
10257
10268
  }
10258
10269
  return (L, S) => (w(), ee(h(Ji), null, {
@@ -10269,7 +10280,7 @@ const Pm = /* @__PURE__ */ Ve(Tm, [["render", Dm]]), Vm = { class: "inline-flex
10269
10280
  width: h(x) + "px",
10270
10281
  height: h(p) + "px"
10271
10282
  }),
10272
- "onUpdate:modelValue": E
10283
+ "onUpdate:modelValue": A
10273
10284
  }, {
10274
10285
  default: H(() => [
10275
10286
  v("span", {
@@ -10292,7 +10303,7 @@ const Pm = /* @__PURE__ */ Ve(Tm, [["render", Dm]]), Vm = { class: "inline-flex
10292
10303
  Q(L.$slots, "default")
10293
10304
  ]),
10294
10305
  _: 3
10295
- })) : W("", !0)
10306
+ })) : G("", !0)
10296
10307
  ])
10297
10308
  ]),
10298
10309
  _: 3
@@ -10329,8 +10340,8 @@ const Pm = /* @__PURE__ */ Ve(Tm, [["render", Dm]]), Vm = { class: "inline-flex
10329
10340
  }
10330
10341
  const o = I(() => n.to ? "RouterLink" : n.action ? "button" : "div"), a = I(() => n.color == "info" ? "bg-blue-500 text-white" : n.color == "success" ? "bg-green-600 text-white" : n.color == "danger" ? "bg-red-600 text-white" : n.color == "warning" ? "bg-yellow-400 text-yellow-900" : "bg-slate-900 text-white");
10331
10342
  return (s, i) => {
10332
- const p = Se("BaseIcon");
10333
- return w(), A("div", qm, [
10343
+ const p = $e("BaseIcon");
10344
+ return w(), E("div", qm, [
10334
10345
  (w(), ee(Vt(h(o)), {
10335
10346
  type: h(o) == "button" ? "button" : void 0,
10336
10347
  to: h(o) == "RouterLink" ? e.to : void 0,
@@ -10348,7 +10359,7 @@ const Pm = /* @__PURE__ */ Ve(Tm, [["render", Dm]]), Vm = { class: "inline-flex
10348
10359
  ]),
10349
10360
  _: 3
10350
10361
  }, 8, ["type", "to", "class"])),
10351
- e.closable ? (w(), A("div", Um, [
10362
+ e.closable ? (w(), E("div", Um, [
10352
10363
  v("button", {
10353
10364
  type: "button",
10354
10365
  class: "rounded-full bg-black bg-opacity-50 p-1 text-white",
@@ -10356,13 +10367,13 @@ const Pm = /* @__PURE__ */ Ve(Tm, [["render", Dm]]), Vm = { class: "inline-flex
10356
10367
  }, [
10357
10368
  U(p, { icon: "heroicons:x-mark" })
10358
10369
  ])
10359
- ])) : W("", !0)
10370
+ ])) : G("", !0)
10360
10371
  ]);
10361
10372
  };
10362
10373
  }
10363
10374
  }), zm = {}, Hm = { class: "relative" }, Km = /* @__PURE__ */ v("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1), Gm = { class: "relative overflow-x-auto overflow-y-hidden" }, Wm = { class: "flex space-x-4 text-center" };
10364
10375
  function Qm(e, r) {
10365
- return w(), A("div", Hm, [
10376
+ return w(), E("div", Hm, [
10366
10377
  Km,
10367
10378
  v("div", Gm, [
10368
10379
  v("ul", Wm, [
@@ -10389,8 +10400,8 @@ const Ym = /* @__PURE__ */ Ve(zm, [["render", Qm]]), Jm = { role: "presentation"
10389
10400
  },
10390
10401
  setup(e) {
10391
10402
  return (r, n) => {
10392
- const l = Se("router-link");
10393
- return w(), A("li", Jm, [
10403
+ const l = $e("router-link");
10404
+ return w(), E("li", Jm, [
10394
10405
  U(l, {
10395
10406
  to: e.to,
10396
10407
  custom: ""
@@ -10463,7 +10474,7 @@ const Ym = /* @__PURE__ */ Ve(zm, [["render", Qm]]), Jm = { role: "presentation"
10463
10474
  hasError: I(() => n.hasError),
10464
10475
  emit: r
10465
10476
  }), x = V(null), g = {};
10466
- function E(y) {
10477
+ function A(y) {
10467
10478
  var t;
10468
10479
  const T = (t = y.target.value) != null ? t : "";
10469
10480
  r("update:modelValue", T), r("input", y);
@@ -10477,7 +10488,7 @@ const Ym = /* @__PURE__ */ Ve(zm, [["render", Qm]]), Jm = { role: "presentation"
10477
10488
  function M(y) {
10478
10489
  r("focus", y);
10479
10490
  }
10480
- return (y, T) => (w(), A("div", {
10491
+ return (y, T) => (w(), E("div", {
10481
10492
  ref_key: "wrapper",
10482
10493
  ref: x,
10483
10494
  class: "wrapper grid",
@@ -10495,7 +10506,7 @@ const Ym = /* @__PURE__ */ Ve(zm, [["render", Qm]]), Jm = { role: "presentation"
10495
10506
  ]]),
10496
10507
  style: je({ maxHeight: e.maxHeight + "px", gridArea: o }),
10497
10508
  rows: "1",
10498
- onInput: E,
10509
+ onInput: A,
10499
10510
  onKeyup: S,
10500
10511
  onKeydown: L,
10501
10512
  onFocus: M
@@ -10510,7 +10521,7 @@ const Ym = /* @__PURE__ */ Ve(zm, [["render", Qm]]), Jm = { role: "presentation"
10510
10521
  maxHeight: e.maxHeight + "px",
10511
10522
  gridArea: o
10512
10523
  })
10513
- }, G(e.modelValue) + " " + G(" "), 7)
10524
+ }, W(e.modelValue) + " " + W(" "), 7)
10514
10525
  ], 4));
10515
10526
  }
10516
10527
  });
@@ -10531,7 +10542,7 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10531
10542
  },
10532
10543
  setup(e) {
10533
10544
  const r = e, n = I(() => r.item.color == dt.primary ? "bg-primary-600" : r.item.color == dt.danger ? "bg-red-600" : r.item.color == dt.warning ? "bg-yellow-600" : r.item.color == dt.info ? "bg-blue-500" : r.item.color == dt.grey ? "bg-slate-500" : r.item.color == dt.black ? "bg-slate-900" : r.item.color == dt.success ? "bg-green-500" : "bg-slate-500");
10534
- return (l, o) => (w(), A("div", rp, [
10545
+ return (l, o) => (w(), E("div", rp, [
10535
10546
  v("div", null, [
10536
10547
  v("span", {
10537
10548
  class: q([
@@ -10550,14 +10561,14 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10550
10561
  class: q(["flex min-w-0 flex-1 justify-between space-x-4", { "pt-1.5": !e.item.description }])
10551
10562
  }, [
10552
10563
  v("div", null, [
10553
- v("p", op, G(e.item.title), 1),
10554
- e.item.description ? (w(), A("p", lp, G(e.item.description), 1)) : W("", !0)
10564
+ v("p", op, W(e.item.title), 1),
10565
+ e.item.description ? (w(), E("p", lp, W(e.item.description), 1)) : G("", !0)
10555
10566
  ]),
10556
- e.item.date ? (w(), A("div", ap, [
10567
+ e.item.date ? (w(), E("div", ap, [
10557
10568
  v("time", {
10558
10569
  datetime: e.item.date
10559
- }, G(e.item.date), 9, sp)
10560
- ])) : W("", !0)
10570
+ }, W(e.item.date), 9, sp)
10571
+ ])) : G("", !0)
10561
10572
  ], 2)
10562
10573
  ]));
10563
10574
  }
@@ -10577,11 +10588,11 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10577
10588
  }
10578
10589
  },
10579
10590
  setup(e) {
10580
- return (r, n) => (w(), A("div", ip, [
10591
+ return (r, n) => (w(), E("div", ip, [
10581
10592
  v("ul", up, [
10582
- (w(!0), A(fe, null, ve(e.items, (l, o) => (w(), A("li", { key: o }, [
10593
+ (w(!0), E(fe, null, ve(e.items, (l, o) => (w(), E("li", { key: o }, [
10583
10594
  v("div", cp, [
10584
- o != e.items.length - 1 ? (w(), A("span", dp)) : W("", !0),
10595
+ o != e.items.length - 1 ? (w(), E("span", dp)) : G("", !0),
10585
10596
  U(cl, { item: l }, null, 8, ["item"])
10586
10597
  ])
10587
10598
  ]))), 128))
@@ -10625,9 +10636,9 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10625
10636
  },
10626
10637
  setup(e) {
10627
10638
  const r = dl(), n = I(() => r.systemAlerts);
10628
- return (l, o) => (w(), A(fe, null, [
10639
+ return (l, o) => (w(), E(fe, null, [
10629
10640
  v("div", mp, [
10630
- (w(!0), A(fe, null, ve(h(n), (a) => (w(), ee(gr, {
10641
+ (w(!0), E(fe, null, ve(h(n), (a) => (w(), ee(gr, {
10631
10642
  key: a.id,
10632
10643
  color: a.color,
10633
10644
  to: a.to,
@@ -10636,7 +10647,7 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10636
10647
  onClose: (s) => h(r).remove(a)
10637
10648
  }, {
10638
10649
  default: H(() => [
10639
- ze(G(a.message), 1)
10650
+ ze(W(a.message), 1)
10640
10651
  ]),
10641
10652
  _: 2
10642
10653
  }, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
@@ -10692,7 +10703,7 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10692
10703
  const o = ["w-5 h-5 shrink-0 mr-2 leading-none inline-block"];
10693
10704
  return r.active ? o.push("opacity-100") : o.push("opacity-70 group-hover:opacity-100"), o;
10694
10705
  });
10695
- return (o, a) => (w(), A("div", {
10706
+ return (o, a) => (w(), E("div", {
10696
10707
  class: q(h(n))
10697
10708
  }, [
10698
10709
  v("div", pp, [
@@ -10700,16 +10711,16 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10700
10711
  key: 0,
10701
10712
  icon: e.icon,
10702
10713
  class: q(h(l))
10703
- }, null, 8, ["icon", "class"])) : W("", !0),
10704
- ze(" " + G(e.label), 1)
10714
+ }, null, 8, ["icon", "class"])) : G("", !0),
10715
+ ze(" " + W(e.label), 1)
10705
10716
  ]),
10706
- e.count ? (w(), A("div", hp, [
10717
+ e.count ? (w(), E("div", hp, [
10707
10718
  U(qt, {
10708
10719
  count: e.count,
10709
10720
  "max-digit": 2,
10710
10721
  color: "primary"
10711
10722
  }, null, 8, ["count"])
10712
- ])) : W("", !0)
10723
+ ])) : G("", !0)
10713
10724
  ], 2));
10714
10725
  }
10715
10726
  }), gp = {
@@ -10738,7 +10749,7 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10738
10749
  r("click");
10739
10750
  }
10740
10751
  const o = I(() => n.item.to ? Vl({ to: n.item.to }).isActive.value : !1), a = I(() => n.actionsVisible == "always" || !n.item.to ? !0 : o.value);
10741
- return (s, i) => (w(), A("div", null, [
10752
+ return (s, i) => (w(), E("div", null, [
10742
10753
  U(ln, {
10743
10754
  item: e.item,
10744
10755
  dark: e.dark,
@@ -10756,8 +10767,8 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10756
10767
  ]),
10757
10768
  _: 1
10758
10769
  }, 8, ["item", "dark"]),
10759
- h(a) && e.item.actions && e.item.actions.length ? (w(), A("div", gp, [
10760
- (w(!0), A(fe, null, ve(e.item.actions, (p) => (w(), A("div", {
10770
+ h(a) && e.item.actions && e.item.actions.length ? (w(), E("div", gp, [
10771
+ (w(!0), E(fe, null, ve(e.item.actions, (p) => (w(), E("div", {
10761
10772
  key: p.label,
10762
10773
  class: "mb-1"
10763
10774
  }, [
@@ -10770,12 +10781,12 @@ const rp = { class: "relative flex space-x-3" }, op = { class: "text-sm leading-
10770
10781
  ]
10771
10782
  }, {
10772
10783
  default: H(() => [
10773
- ze(G(p.label), 1)
10784
+ ze(W(p.label), 1)
10774
10785
  ]),
10775
10786
  _: 2
10776
10787
  }, 1032, ["item", "dark", "item-class"])
10777
10788
  ]))), 128))
10778
- ])) : W("", !0)
10789
+ ])) : G("", !0)
10779
10790
  ]));
10780
10791
  }
10781
10792
  });
@@ -10871,28 +10882,28 @@ var ml = { exports: {} };
10871
10882
  },
10872
10883
  bg: {
10873
10884
  y: function(t) {
10874
- return ["\u0433\u043E\u0434\u0438\u043D\u0438", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][E(t)];
10885
+ return ["\u0433\u043E\u0434\u0438\u043D\u0438", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][A(t)];
10875
10886
  },
10876
10887
  mo: function(t) {
10877
- return ["\u043C\u0435\u0441\u0435\u0446\u0430", "\u043C\u0435\u0441\u0435\u0446", "\u043C\u0435\u0441\u0435\u0446\u0430"][E(t)];
10888
+ return ["\u043C\u0435\u0441\u0435\u0446\u0430", "\u043C\u0435\u0441\u0435\u0446", "\u043C\u0435\u0441\u0435\u0446\u0430"][A(t)];
10878
10889
  },
10879
10890
  w: function(t) {
10880
- return ["\u0441\u0435\u0434\u043C\u0438\u0446\u0438", "\u0441\u0435\u0434\u043C\u0438\u0446\u0430", "\u0441\u0435\u0434\u043C\u0438\u0446\u0438"][E(t)];
10891
+ return ["\u0441\u0435\u0434\u043C\u0438\u0446\u0438", "\u0441\u0435\u0434\u043C\u0438\u0446\u0430", "\u0441\u0435\u0434\u043C\u0438\u0446\u0438"][A(t)];
10881
10892
  },
10882
10893
  d: function(t) {
10883
- return ["\u0434\u043D\u0438", "\u0434\u0435\u043D", "\u0434\u043D\u0438"][E(t)];
10894
+ return ["\u0434\u043D\u0438", "\u0434\u0435\u043D", "\u0434\u043D\u0438"][A(t)];
10884
10895
  },
10885
10896
  h: function(t) {
10886
- return ["\u0447\u0430\u0441\u0430", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][E(t)];
10897
+ return ["\u0447\u0430\u0441\u0430", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][A(t)];
10887
10898
  },
10888
10899
  m: function(t) {
10889
- return ["\u043C\u0438\u043D\u0443\u0442\u0438", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u0438"][E(t)];
10900
+ return ["\u043C\u0438\u043D\u0443\u0442\u0438", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u0438"][A(t)];
10890
10901
  },
10891
10902
  s: function(t) {
10892
- return ["\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][E(t)];
10903
+ return ["\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][A(t)];
10893
10904
  },
10894
10905
  ms: function(t) {
10895
- return ["\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][E(t)];
10906
+ return ["\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][A(t)];
10896
10907
  },
10897
10908
  decimal: ","
10898
10909
  },
@@ -11695,28 +11706,28 @@ var ml = { exports: {} };
11695
11706
  },
11696
11707
  ru: {
11697
11708
  y: function(t) {
11698
- return ["\u043B\u0435\u0442", "\u0433\u043E\u0434", "\u0433\u043E\u0434\u0430"][E(t)];
11709
+ return ["\u043B\u0435\u0442", "\u0433\u043E\u0434", "\u0433\u043E\u0434\u0430"][A(t)];
11699
11710
  },
11700
11711
  mo: function(t) {
11701
- return ["\u043C\u0435\u0441\u044F\u0446\u0435\u0432", "\u043C\u0435\u0441\u044F\u0446", "\u043C\u0435\u0441\u044F\u0446\u0430"][E(t)];
11712
+ return ["\u043C\u0435\u0441\u044F\u0446\u0435\u0432", "\u043C\u0435\u0441\u044F\u0446", "\u043C\u0435\u0441\u044F\u0446\u0430"][A(t)];
11702
11713
  },
11703
11714
  w: function(t) {
11704
- return ["\u043D\u0435\u0434\u0435\u043B\u044C", "\u043D\u0435\u0434\u0435\u043B\u044F", "\u043D\u0435\u0434\u0435\u043B\u0438"][E(t)];
11715
+ return ["\u043D\u0435\u0434\u0435\u043B\u044C", "\u043D\u0435\u0434\u0435\u043B\u044F", "\u043D\u0435\u0434\u0435\u043B\u0438"][A(t)];
11705
11716
  },
11706
11717
  d: function(t) {
11707
- return ["\u0434\u043D\u0435\u0439", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u044F"][E(t)];
11718
+ return ["\u0434\u043D\u0435\u0439", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u044F"][A(t)];
11708
11719
  },
11709
11720
  h: function(t) {
11710
- return ["\u0447\u0430\u0441\u043E\u0432", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][E(t)];
11721
+ return ["\u0447\u0430\u0441\u043E\u0432", "\u0447\u0430\u0441", "\u0447\u0430\u0441\u0430"][A(t)];
11711
11722
  },
11712
11723
  m: function(t) {
11713
- return ["\u043C\u0438\u043D\u0443\u0442", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u044B"][E(t)];
11724
+ return ["\u043C\u0438\u043D\u0443\u0442", "\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442\u044B"][A(t)];
11714
11725
  },
11715
11726
  s: function(t) {
11716
- return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][E(t)];
11727
+ return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][A(t)];
11717
11728
  },
11718
11729
  ms: function(t) {
11719
- return ["\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][E(t)];
11730
+ return ["\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u044B"][A(t)];
11720
11731
  },
11721
11732
  decimal: ","
11722
11733
  },
@@ -11741,28 +11752,28 @@ var ml = { exports: {} };
11741
11752
  },
11742
11753
  sr: {
11743
11754
  y: function(t) {
11744
- return ["\u0433\u043E\u0434\u0438\u043D\u0438", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0435"][E(t)];
11755
+ return ["\u0433\u043E\u0434\u0438\u043D\u0438", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0435"][A(t)];
11745
11756
  },
11746
11757
  mo: function(t) {
11747
- return ["\u043C\u0435\u0441\u0435\u0446\u0438", "\u043C\u0435\u0441\u0435\u0446", "\u043C\u0435\u0441\u0435\u0446\u0430"][E(t)];
11758
+ return ["\u043C\u0435\u0441\u0435\u0446\u0438", "\u043C\u0435\u0441\u0435\u0446", "\u043C\u0435\u0441\u0435\u0446\u0430"][A(t)];
11748
11759
  },
11749
11760
  w: function(t) {
11750
- return ["\u043D\u0435\u0434\u0435\u0459\u0438", "\u043D\u0435\u0434\u0435\u0459\u0430", "\u043D\u0435\u0434\u0435\u0459\u0435"][E(t)];
11761
+ return ["\u043D\u0435\u0434\u0435\u0459\u0438", "\u043D\u0435\u0434\u0435\u0459\u0430", "\u043D\u0435\u0434\u0435\u0459\u0435"][A(t)];
11751
11762
  },
11752
11763
  d: function(t) {
11753
- return ["\u0434\u0430\u043D\u0438", "\u0434\u0430\u043D", "\u0434\u0430\u043D\u0430"][E(t)];
11764
+ return ["\u0434\u0430\u043D\u0438", "\u0434\u0430\u043D", "\u0434\u0430\u043D\u0430"][A(t)];
11754
11765
  },
11755
11766
  h: function(t) {
11756
- return ["\u0441\u0430\u0442\u0438", "\u0441\u0430\u0442", "\u0441\u0430\u0442\u0430"][E(t)];
11767
+ return ["\u0441\u0430\u0442\u0438", "\u0441\u0430\u0442", "\u0441\u0430\u0442\u0430"][A(t)];
11757
11768
  },
11758
11769
  m: function(t) {
11759
- return ["\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442", "\u043C\u0438\u043D\u0443\u0442\u0430"][E(t)];
11770
+ return ["\u043C\u0438\u043D\u0443\u0442\u0430", "\u043C\u0438\u043D\u0443\u0442", "\u043C\u0438\u043D\u0443\u0442\u0430"][A(t)];
11760
11771
  },
11761
11772
  s: function(t) {
11762
- return ["\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0435"][E(t)];
11773
+ return ["\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0435"][A(t)];
11763
11774
  },
11764
11775
  ms: function(t) {
11765
- return ["\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0435"][E(t)];
11776
+ return ["\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0438", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0438\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0435"][A(t)];
11766
11777
  },
11767
11778
  decimal: ","
11768
11779
  },
@@ -11820,28 +11831,28 @@ var ml = { exports: {} };
11820
11831
  },
11821
11832
  uk: {
11822
11833
  y: function(t) {
11823
- return ["\u0440\u043E\u043A\u0456\u0432", "\u0440\u0456\u043A", "\u0440\u043E\u043A\u0438"][E(t)];
11834
+ return ["\u0440\u043E\u043A\u0456\u0432", "\u0440\u0456\u043A", "\u0440\u043E\u043A\u0438"][A(t)];
11824
11835
  },
11825
11836
  mo: function(t) {
11826
- return ["\u043C\u0456\u0441\u044F\u0446\u0456\u0432", "\u043C\u0456\u0441\u044F\u0446\u044C", "\u043C\u0456\u0441\u044F\u0446\u0456"][E(t)];
11837
+ return ["\u043C\u0456\u0441\u044F\u0446\u0456\u0432", "\u043C\u0456\u0441\u044F\u0446\u044C", "\u043C\u0456\u0441\u044F\u0446\u0456"][A(t)];
11827
11838
  },
11828
11839
  w: function(t) {
11829
- return ["\u0442\u0438\u0436\u043D\u0456\u0432", "\u0442\u0438\u0436\u0434\u0435\u043D\u044C", "\u0442\u0438\u0436\u043D\u0456"][E(t)];
11840
+ return ["\u0442\u0438\u0436\u043D\u0456\u0432", "\u0442\u0438\u0436\u0434\u0435\u043D\u044C", "\u0442\u0438\u0436\u043D\u0456"][A(t)];
11830
11841
  },
11831
11842
  d: function(t) {
11832
- return ["\u0434\u043D\u0456\u0432", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u0456"][E(t)];
11843
+ return ["\u0434\u043D\u0456\u0432", "\u0434\u0435\u043D\u044C", "\u0434\u043D\u0456"][A(t)];
11833
11844
  },
11834
11845
  h: function(t) {
11835
- return ["\u0433\u043E\u0434\u0438\u043D", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][E(t)];
11846
+ return ["\u0433\u043E\u0434\u0438\u043D", "\u0433\u043E\u0434\u0438\u043D\u0430", "\u0433\u043E\u0434\u0438\u043D\u0438"][A(t)];
11836
11847
  },
11837
11848
  m: function(t) {
11838
- return ["\u0445\u0432\u0438\u043B\u0438\u043D", "\u0445\u0432\u0438\u043B\u0438\u043D\u0430", "\u0445\u0432\u0438\u043B\u0438\u043D\u0438"][E(t)];
11849
+ return ["\u0445\u0432\u0438\u043B\u0438\u043D", "\u0445\u0432\u0438\u043B\u0438\u043D\u0430", "\u0445\u0432\u0438\u043B\u0438\u043D\u0438"][A(t)];
11839
11850
  },
11840
11851
  s: function(t) {
11841
- return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][E(t)];
11852
+ return ["\u0441\u0435\u043A\u0443\u043D\u0434", "\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][A(t)];
11842
11853
  },
11843
11854
  ms: function(t) {
11844
- return ["\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][E(t)];
11855
+ return ["\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0430", "\u043C\u0456\u043B\u0456\u0441\u0435\u043A\u0443\u043D\u0434\u0438"][A(t)];
11845
11856
  },
11846
11857
  decimal: ","
11847
11858
  },
@@ -12139,7 +12150,7 @@ var ml = { exports: {} };
12139
12150
  function g(t) {
12140
12151
  return t === 1 ? 0 : Math.floor(t) !== t ? 1 : t % 10 >= 2 && t % 10 <= 4 && !(t % 100 > 10 && t % 100 < 20) ? 2 : 3;
12141
12152
  }
12142
- function E(t) {
12153
+ function A(t) {
12143
12154
  return Math.floor(t) !== t ? 2 : t % 100 >= 5 && t % 100 <= 20 || t % 10 >= 5 && t % 10 <= 9 || t % 10 === 0 ? 0 : t % 10 === 1 ? 1 : t > 1 ? 2 : 0;
12144
12155
  }
12145
12156
  function L(t) {
@@ -12197,14 +12208,14 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12197
12208
  });
12198
12209
  return fn(() => {
12199
12210
  clearInterval(o);
12200
- }), (s, i) => (w(), A("div", {
12211
+ }), (s, i) => (w(), E("div", {
12201
12212
  class: q(["px-3 py-2", [e.active ? "bg-slate-100" : ""]])
12202
12213
  }, [
12203
12214
  v("div", {
12204
12215
  class: "text-sm leading-tight text-slate-800",
12205
12216
  innerHTML: e.notification.text
12206
12217
  }, null, 8, bp),
12207
- h(a) ? (w(), A("p", wp, G(h(a)), 1)) : W("", !0)
12218
+ h(a) ? (w(), E("p", wp, W(h(a)), 1)) : G("", !0)
12208
12219
  ], 2));
12209
12220
  }
12210
12221
  }), xp = { key: 1 }, kp = /* @__PURE__ */ K({
@@ -12222,7 +12233,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12222
12233
  r("click", n.notification), o && o();
12223
12234
  }
12224
12235
  return (o, a) => {
12225
- const s = Se("router-link");
12236
+ const s = $e("router-link");
12226
12237
  return e.notification.to ? (w(), ee(s, {
12227
12238
  key: 0,
12228
12239
  custom: "",
@@ -12244,7 +12255,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12244
12255
  }, 1032, ["href", "onClick"])
12245
12256
  ]),
12246
12257
  _: 1
12247
- }, 8, ["to"])) : (w(), A("div", xp, [
12258
+ }, 8, ["to"])) : (w(), E("div", xp, [
12248
12259
  U(h(Bt), {
12249
12260
  as: "button",
12250
12261
  class: "w-full text-left",
@@ -12289,7 +12300,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12289
12300
  r("open");
12290
12301
  }
12291
12302
  return (s, i) => {
12292
- const p = Se("RouterLink");
12303
+ const p = $e("RouterLink");
12293
12304
  return w(), ee(It, {
12294
12305
  class: "inline-block",
12295
12306
  position: h(l) ? "custom" : "bottom-left",
@@ -12308,25 +12319,25 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12308
12319
  key: 0,
12309
12320
  class: "absolute top-0 right-0",
12310
12321
  count: e.notificationsConfig.items.length
12311
- }, null, 8, ["count"])) : W("", !0)
12322
+ }, null, 8, ["count"])) : G("", !0)
12312
12323
  ], 2)
12313
12324
  ]),
12314
12325
  items: H(() => [
12315
- (w(!0), A(fe, null, ve(e.notificationsConfig.items, (d) => (w(), ee(kp, {
12326
+ (w(!0), E(fe, null, ve(e.notificationsConfig.items, (d) => (w(), ee(kp, {
12316
12327
  key: d.id + "link",
12317
12328
  notification: d,
12318
12329
  onClick: o
12319
12330
  }, null, 8, ["notification"]))), 128)),
12320
- e.notificationsConfig.items.length == 0 ? (w(), A("div", Sp, [
12331
+ e.notificationsConfig.items.length == 0 ? (w(), E("div", Sp, [
12321
12332
  v("div", $p, [
12322
12333
  U(h(ge), {
12323
12334
  icon: "heroicons:inbox-stack",
12324
12335
  class: "mx-auto mb-2 h-8 w-8 text-slate-400"
12325
12336
  }),
12326
- v("p", Bp, G(s.$t("sui.notifications_empty")), 1)
12337
+ v("p", Bp, W(s.$t("sui.notifications_empty")), 1)
12327
12338
  ])
12328
- ])) : W("", !0),
12329
- e.notificationsConfig.footerTo ? (w(), A("div", Cp, [
12339
+ ])) : G("", !0),
12340
+ e.notificationsConfig.footerTo ? (w(), E("div", Cp, [
12330
12341
  U(p, {
12331
12342
  custom: "",
12332
12343
  to: e.notificationsConfig.footerTo
@@ -12338,14 +12349,14 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12338
12349
  onClick: x
12339
12350
  }, {
12340
12351
  default: H(() => [
12341
- v("div", _p, G(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : s.$t("sui.see_all_notifications")), 1)
12352
+ v("div", _p, W(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : s.$t("sui.see_all_notifications")), 1)
12342
12353
  ]),
12343
12354
  _: 2
12344
12355
  }, 1032, ["href", "onClick"])
12345
12356
  ]),
12346
12357
  _: 1
12347
12358
  }, 8, ["to"])
12348
- ])) : W("", !0)
12359
+ ])) : G("", !0)
12349
12360
  ]),
12350
12361
  _: 1
12351
12362
  }, 8, ["position", "menu-class"]);
@@ -12392,7 +12403,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12392
12403
  r("notification:open");
12393
12404
  }
12394
12405
  return (o, a) => {
12395
- const s = Se("router-link");
12406
+ const s = $e("router-link");
12396
12407
  return w(), ee(fl, { dark: e.dark }, {
12397
12408
  navbar: H(() => [
12398
12409
  v("div", Ip, [
@@ -12411,7 +12422,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12411
12422
  _: 1
12412
12423
  }),
12413
12424
  v("div", Tp, [
12414
- (w(!0), A(fe, null, ve(e.menu, (i) => (w(), ee(ul, {
12425
+ (w(!0), E(fe, null, ve(e.menu, (i) => (w(), ee(ul, {
12415
12426
  key: i.label,
12416
12427
  item: i,
12417
12428
  dark: e.dark
@@ -12426,7 +12437,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12426
12437
  "notifications-config": e.notifications,
12427
12438
  onClick: n,
12428
12439
  onOpen: l
12429
- }, null, 8, ["dark", "notifications-config"])) : W("", !0),
12440
+ }, null, 8, ["dark", "notifications-config"])) : G("", !0),
12430
12441
  U(It, {
12431
12442
  "menu-class": "w-52",
12432
12443
  class: "hidden md:block",
@@ -12449,7 +12460,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12449
12460
  ]),
12450
12461
  mobile: H(() => [
12451
12462
  v("div", Mp, [
12452
- (w(!0), A(fe, null, ve(e.menu, (i) => (w(), ee(Zn, {
12463
+ (w(!0), E(fe, null, ve(e.menu, (i) => (w(), ee(Zn, {
12453
12464
  key: i.label,
12454
12465
  item: i,
12455
12466
  dark: e.dark
@@ -12466,7 +12477,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12466
12477
  class: q(["px-3", e.dark ? "text-white" : ""])
12467
12478
  }, null, 8, ["user", "class"]),
12468
12479
  v("div", jp, [
12469
- (w(!0), A(fe, null, ve(e.userMenu, (i) => (w(), ee(Zn, {
12480
+ (w(!0), E(fe, null, ve(e.userMenu, (i) => (w(), ee(Zn, {
12470
12481
  key: i.label,
12471
12482
  item: i,
12472
12483
  dark: e.dark
@@ -12511,7 +12522,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12511
12522
  function s() {
12512
12523
  l.value = !1;
12513
12524
  }
12514
- return pe("toggleMenu", o), pe("openMenu", a), pe("closeMenu", s), (i, p) => (w(), A("div", Dp, [
12525
+ return pe("toggleMenu", o), pe("openMenu", a), pe("closeMenu", s), (i, p) => (w(), E("div", Dp, [
12515
12526
  U(h(Ro), {
12516
12527
  as: "template",
12517
12528
  show: l.value
@@ -12607,7 +12618,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12607
12618
  }, 8, ["show"]),
12608
12619
  v("div", Kp, [
12609
12620
  v("div", Gp, [
12610
- (w(!0), A(fe, null, ve(h(n), (d) => (w(), ee(gr, {
12621
+ (w(!0), E(fe, null, ve(h(n), (d) => (w(), ee(gr, {
12611
12622
  key: d.id,
12612
12623
  color: d.color,
12613
12624
  to: d.to,
@@ -12616,7 +12627,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12616
12627
  onClose: (x) => h(r).remove(d)
12617
12628
  }, {
12618
12629
  default: H(() => [
12619
- ze(G(d.message), 1)
12630
+ ze(W(d.message), 1)
12620
12631
  ]),
12621
12632
  _: 2
12622
12633
  }, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
@@ -12718,16 +12729,16 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12718
12729
  menu: H(() => [
12719
12730
  v("div", nh, [
12720
12731
  v("div", rh, [
12721
- (w(!0), A(fe, null, ve(h(l), (p) => (w(), A("div", {
12732
+ (w(!0), E(fe, null, ve(h(l), (p) => (w(), E("div", {
12722
12733
  key: p.title
12723
12734
  }, [
12724
- p.title ? (w(), A("h2", {
12735
+ p.title ? (w(), E("h2", {
12725
12736
  key: 0,
12726
12737
  class: q(["mb-3 pl-3 text-xs font-semibold uppercase tracking-widest", e.dark ? "text-slate-400" : "text-slate-500"])
12727
- }, G(p.title), 3)) : W("", !0),
12738
+ }, W(p.title), 3)) : G("", !0),
12728
12739
  v("div", null, [
12729
12740
  v("div", oh, [
12730
- (w(!0), A(fe, null, ve(p.actions, (d) => (w(), ee(Zn, {
12741
+ (w(!0), E(fe, null, ve(p.actions, (d) => (w(), ee(Zn, {
12731
12742
  key: d.label,
12732
12743
  item: d,
12733
12744
  dark: e.dark
@@ -12748,7 +12759,7 @@ const yp = ml.exports, bp = ["innerHTML"], wp = {
12748
12759
  class: "mr-1 sm:mr-2",
12749
12760
  onClick: o,
12750
12761
  onOpen: a
12751
- }, null, 8, ["notifications-config"])) : W("", !0),
12762
+ }, null, 8, ["notifications-config"])) : G("", !0),
12752
12763
  v("div", ih, [
12753
12764
  U(It, { items: e.userMenu }, {
12754
12765
  button: H(({ open: p }) => [