trely-ui-kit 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as c, jsxs as E, Fragment as ze } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
- import Ce, { forwardRef as ce, useState as Ke, useEffect as ho, Children as mo, isValidElement as go, createElement as vo, useRef as Nt, useId as Ye, useImperativeHandle as vn, useLayoutEffect as Li } from "react";
3
+ import ye, { forwardRef as ce, useState as Ke, useEffect as ho, Children as mo, isValidElement as go, createElement as vo, useRef as Nt, useId as qe, useImperativeHandle as vn, useLayoutEffect as Li } from "react";
4
4
  import * as It from "react-dom";
5
5
  import ki from "react-dom";
6
6
  import './index.css';function Co(e) {
@@ -26,7 +26,7 @@ const Ni = "_avatar_1h8d2_1", Ii = "_xs_1h8d2_12", Pi = "_s_1h8d2_18", Ai = "_m_
26
26
  xxl: Oi,
27
27
  image: Di,
28
28
  initials: $i
29
- }, Bi = ce(
29
+ }, Fi = ce(
30
30
  ({ src: e, firstName: t, lastName: n, size: o = "m", alt: r, className: i = "", ...s }, a) => {
31
31
  const [u, d] = Ke(!1);
32
32
  ho(() => {
@@ -48,9 +48,9 @@ const Ni = "_avatar_1h8d2_1", Ii = "_xs_1h8d2_12", Pi = "_s_1h8d2_18", Ai = "_m_
48
48
  ) : /* @__PURE__ */ c("span", { className: ut.initials, children: v }) });
49
49
  }
50
50
  );
51
- Bi.displayName = "Avatar";
52
- const Fi = "_icon_1cxib_1", Wi = {
53
- icon: Fi
51
+ Fi.displayName = "Avatar";
52
+ const Bi = "_icon_1cxib_1", Wi = {
53
+ icon: Bi
54
54
  }, $n = {
55
55
  XS: 12,
56
56
  S: 16,
@@ -370,17 +370,17 @@ const Ki = (e) => /* @__PURE__ */ E(P, { ...e, children: [
370
370
  /* @__PURE__ */ c("path", { d: "M10 17L5 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
371
371
  ] });
372
372
  Ki.displayName = "LongArrowLeftIcon";
373
- const qi = (e) => /* @__PURE__ */ E(P, { ...e, children: [
373
+ const Yi = (e) => /* @__PURE__ */ E(P, { ...e, children: [
374
374
  /* @__PURE__ */ c("path", { d: "M19 12H5", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
375
375
  /* @__PURE__ */ c("path", { d: "M14 17L19 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
376
376
  /* @__PURE__ */ c("path", { d: "M14 7L19 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
377
377
  ] });
378
- qi.displayName = "LongArrowRightIcon";
379
- const Yi = (e) => /* @__PURE__ */ E(P, { ...e, children: [
378
+ Yi.displayName = "LongArrowRightIcon";
379
+ const qi = (e) => /* @__PURE__ */ E(P, { ...e, children: [
380
380
  /* @__PURE__ */ c("path", { d: "M12 7V17", strokeWidth: "1.5", strokeLinecap: "round" }),
381
381
  /* @__PURE__ */ c("path", { d: "M7 12H17", strokeWidth: "1.5", strokeLinecap: "round" })
382
382
  ] });
383
- Yi.displayName = "PlusIcon";
383
+ qi.displayName = "PlusIcon";
384
384
  const Xi = (e) => /* @__PURE__ */ c(P, { ...e, children: /* @__PURE__ */ c(
385
385
  "path",
386
386
  {
@@ -896,7 +896,7 @@ const Cs = "_root_1737m_1", ys = "_list_1737m_6", ws = "_breadcrumb_1737m_14", _
896
896
  }) }) })
897
897
  );
898
898
  Es.displayName = "Breadcrumbs";
899
- function Bn(e, t) {
899
+ function Fn(e, t) {
900
900
  if (typeof e == "function")
901
901
  return e(t);
902
902
  e != null && (e.current = t);
@@ -905,14 +905,14 @@ function Xe(...e) {
905
905
  return (t) => {
906
906
  let n = !1;
907
907
  const o = e.map((r) => {
908
- const i = Bn(r, t);
908
+ const i = Fn(r, t);
909
909
  return !n && typeof i == "function" && (n = !0), i;
910
910
  });
911
911
  if (n)
912
912
  return () => {
913
913
  for (let r = 0; r < o.length; r++) {
914
914
  const i = o[r];
915
- typeof i == "function" ? i() : Bn(e[r], null);
915
+ typeof i == "function" ? i() : Fn(e[r], null);
916
916
  }
917
917
  };
918
918
  };
@@ -973,13 +973,13 @@ function Ms(e) {
973
973
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
974
974
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
975
975
  }
976
- const Ts = "_button_8pv9u_1", Os = "_xs_8pv9u_20", Ds = "_icon_8pv9u_26", $s = "_s_8pv9u_30", Bs = "_m_8pv9u_40", Fs = "_l_8pv9u_50", Ws = "_gold_8pv9u_60", Hs = "_main_8pv9u_60", Vs = "_secondary_8pv9u_73", js = "_tertiary_8pv9u_86", Us = "_green_8pv9u_101", Zs = "_error_8pv9u_142", Gs = "_content_8pv9u_183", zs = "_loading_8pv9u_190", Ks = "_loader_8pv9u_194", qs = "_spin_8pv9u_1", Se = {
976
+ const Ts = "_button_8pv9u_1", Os = "_xs_8pv9u_20", Ds = "_icon_8pv9u_26", $s = "_s_8pv9u_30", Fs = "_m_8pv9u_40", Bs = "_l_8pv9u_50", Ws = "_gold_8pv9u_60", Hs = "_main_8pv9u_60", Vs = "_secondary_8pv9u_73", js = "_tertiary_8pv9u_86", Us = "_green_8pv9u_101", Zs = "_error_8pv9u_142", Gs = "_content_8pv9u_183", zs = "_loading_8pv9u_190", Ks = "_loader_8pv9u_194", Ys = "_spin_8pv9u_1", Se = {
977
977
  button: Ts,
978
978
  xs: Os,
979
979
  icon: Ds,
980
980
  s: $s,
981
- m: Bs,
982
- l: Fs,
981
+ m: Fs,
982
+ l: Bs,
983
983
  gold: Ws,
984
984
  main: Hs,
985
985
  secondary: Vs,
@@ -989,8 +989,8 @@ const Ts = "_button_8pv9u_1", Os = "_xs_8pv9u_20", Ds = "_icon_8pv9u_26", $s = "
989
989
  content: Gs,
990
990
  loading: zs,
991
991
  loader: Ks,
992
- spin: qs
993
- }, Ys = ce(
992
+ spin: Ys
993
+ }, qs = ce(
994
994
  ({
995
995
  color: e = "gold",
996
996
  variant: t = "main",
@@ -1031,14 +1031,14 @@ const Ts = "_button_8pv9u_1", Os = "_xs_8pv9u_20", Ds = "_icon_8pv9u_26", $s = "
1031
1031
  ] });
1032
1032
  }
1033
1033
  );
1034
- Ys.displayName = "Button";
1035
- const Xs = "_button_yyut6_1", Qs = "_white_yyut6_21", Js = "_black_yyut6_35", Fn = {
1034
+ qs.displayName = "Button";
1035
+ const Xs = "_button_yyut6_1", Qs = "_white_yyut6_21", Js = "_black_yyut6_35", Bn = {
1036
1036
  button: Xs,
1037
1037
  white: Qs,
1038
1038
  black: Js
1039
1039
  }, At = ce(
1040
1040
  ({ variant: e = "white", asChild: t = !1, className: n = "", type: o = "button", children: r, ...i }, s) => {
1041
- const a = t ? Cn : "button", u = A(Fn.button, Fn[e], n);
1041
+ const a = t ? Cn : "button", u = A(Bn.button, Bn[e], n);
1042
1042
  return /* @__PURE__ */ c(a, { ref: s, className: u, ...t ? {} : {
1043
1043
  type: o
1044
1044
  }, ...i, children: r });
@@ -1113,16 +1113,16 @@ function ta(...e) {
1113
1113
  };
1114
1114
  return n.scopeName = t.scopeName, n;
1115
1115
  }
1116
- var Y = globalThis?.document ? l.useLayoutEffect : () => {
1116
+ var q = globalThis?.document ? l.useLayoutEffect : () => {
1117
1117
  }, na = l[" useId ".trim().toString()] || (() => {
1118
1118
  }), oa = 0;
1119
1119
  function Oe(e) {
1120
1120
  const [t, n] = l.useState(na());
1121
- return Y(() => {
1121
+ return q(() => {
1122
1122
  n((o) => o ?? String(oa++));
1123
1123
  }, [e]), e || (t ? `radix-${t}` : "");
1124
1124
  }
1125
- var ra = l[" useInsertionEffect ".trim().toString()] || Y;
1125
+ var ra = l[" useInsertionEffect ".trim().toString()] || q;
1126
1126
  function rt({
1127
1127
  prop: e,
1128
1128
  defaultProp: t,
@@ -1230,7 +1230,7 @@ var pa = [
1230
1230
  "span",
1231
1231
  "svg",
1232
1232
  "ul"
1233
- ], F = pa.reduce((e, t) => {
1233
+ ], B = pa.reduce((e, t) => {
1234
1234
  const n = /* @__PURE__ */ aa(`Primitive.${t}`), o = l.forwardRef((r, i) => {
1235
1235
  const { asChild: s, ...a } = r, u = s ? n : t;
1236
1236
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ c(u, { ...a, ref: i });
@@ -1289,7 +1289,7 @@ var ga = "DismissableLayer", sn = "dismissableLayer.update", va = "dismissableLa
1289
1289
  const S = () => g({});
1290
1290
  return document.addEventListener(sn, S), () => document.removeEventListener(sn, S);
1291
1291
  }, []), /* @__PURE__ */ c(
1292
- F.div,
1292
+ B.div,
1293
1293
  {
1294
1294
  ...u,
1295
1295
  ref: y,
@@ -1316,7 +1316,7 @@ var ya = "DismissableLayerBranch", wa = l.forwardRef((e, t) => {
1316
1316
  return n.branches.add(i), () => {
1317
1317
  n.branches.delete(i);
1318
1318
  };
1319
- }, [n.branches]), /* @__PURE__ */ c(F.div, { ...e, ref: r });
1319
+ }, [n.branches]), /* @__PURE__ */ c(B.div, { ...e, ref: r });
1320
1320
  });
1321
1321
  wa.displayName = ya;
1322
1322
  function _a(e, t = globalThis?.document) {
@@ -1435,7 +1435,7 @@ var zt = "focusScope.autoFocusOnMount", Kt = "focusScope.autoFocusOnUnmount", Vn
1435
1435
  },
1436
1436
  [n, o, g.paused]
1437
1437
  );
1438
- return /* @__PURE__ */ c(F.div, { tabIndex: -1, ...s, ref: v, onKeyDown: y });
1438
+ return /* @__PURE__ */ c(B.div, { tabIndex: -1, ...s, ref: v, onKeyDown: y });
1439
1439
  });
1440
1440
  wn.displayName = xa;
1441
1441
  function Sa(e, { select: t = !1 } = {}) {
@@ -1501,9 +1501,9 @@ function Na(e) {
1501
1501
  }
1502
1502
  var Ia = "Portal", _n = l.forwardRef((e, t) => {
1503
1503
  const { container: n, ...o } = e, [r, i] = l.useState(!1);
1504
- Y(() => i(!0), []);
1504
+ q(() => i(!0), []);
1505
1505
  const s = n || r && globalThis?.document?.body;
1506
- return s ? ki.createPortal(/* @__PURE__ */ c(F.div, { ...o, ref: t }), s) : null;
1506
+ return s ? ki.createPortal(/* @__PURE__ */ c(B.div, { ...o, ref: t }), s) : null;
1507
1507
  });
1508
1508
  _n.displayName = Ia;
1509
1509
  function Pa(e, t) {
@@ -1531,13 +1531,13 @@ function Aa(e) {
1531
1531
  return l.useEffect(() => {
1532
1532
  const d = dt(o.current);
1533
1533
  i.current = a === "mounted" ? d : "none";
1534
- }, [a]), Y(() => {
1534
+ }, [a]), q(() => {
1535
1535
  const d = o.current, f = r.current;
1536
1536
  if (f !== e) {
1537
1537
  const v = i.current, g = dt(d);
1538
1538
  e ? u("MOUNT") : g === "none" || d?.display === "none" ? u("UNMOUNT") : u(f && v !== g ? "ANIMATION_OUT" : "UNMOUNT"), r.current = e;
1539
1539
  }
1540
- }, [e, u]), Y(() => {
1540
+ }, [e, u]), q(() => {
1541
1541
  if (t) {
1542
1542
  let d;
1543
1543
  const f = t.ownerDocument.defaultView ?? window, h = (g) => {
@@ -1570,12 +1570,12 @@ function Ma(e) {
1570
1570
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
1571
1571
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
1572
1572
  }
1573
- var qt = 0;
1573
+ var Yt = 0;
1574
1574
  function Mo() {
1575
1575
  l.useEffect(() => {
1576
1576
  const e = document.querySelectorAll("[data-radix-focus-guard]");
1577
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? Gn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Gn()), qt++, () => {
1578
- qt === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), qt--;
1577
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? Gn()), document.body.insertAdjacentElement("beforeend", e[1] ?? Gn()), Yt++, () => {
1578
+ Yt === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Yt--;
1579
1579
  };
1580
1580
  }, []);
1581
1581
  }
@@ -1606,7 +1606,7 @@ function Ta(e, t, n) {
1606
1606
  return e.concat(i || Array.prototype.slice.call(t));
1607
1607
  }
1608
1608
  var yt = "right-scroll-bar-position", wt = "width-before-scroll-bar", Oa = "with-scroll-bars-hidden", Da = "--removed-body-scroll-bar-size";
1609
- function Yt(e, t) {
1609
+ function qt(e, t) {
1610
1610
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
1611
1611
  }
1612
1612
  function $a(e, t) {
@@ -1630,21 +1630,21 @@ function $a(e, t) {
1630
1630
  })[0];
1631
1631
  return n.callback = t, n.facade;
1632
1632
  }
1633
- var Ba = typeof window < "u" ? l.useLayoutEffect : l.useEffect, zn = /* @__PURE__ */ new WeakMap();
1634
- function Fa(e, t) {
1633
+ var Fa = typeof window < "u" ? l.useLayoutEffect : l.useEffect, zn = /* @__PURE__ */ new WeakMap();
1634
+ function Ba(e, t) {
1635
1635
  var n = $a(null, function(o) {
1636
1636
  return e.forEach(function(r) {
1637
- return Yt(r, o);
1637
+ return qt(r, o);
1638
1638
  });
1639
1639
  });
1640
- return Ba(function() {
1640
+ return Fa(function() {
1641
1641
  var o = zn.get(n);
1642
1642
  if (o) {
1643
1643
  var r = new Set(o), i = new Set(e), s = n.current;
1644
1644
  r.forEach(function(a) {
1645
- i.has(a) || Yt(a, null);
1645
+ i.has(a) || qt(a, null);
1646
1646
  }), i.forEach(function(a) {
1647
- r.has(a) || Yt(a, s);
1647
+ r.has(a) || qt(a, s);
1648
1648
  });
1649
1649
  }
1650
1650
  zn.set(n, e);
@@ -1732,7 +1732,7 @@ var Do = Va(), Xt = function() {
1732
1732
  onScrollCapture: Xt,
1733
1733
  onWheelCapture: Xt,
1734
1734
  onTouchMoveCapture: Xt
1735
- }), r = o[0], i = o[1], s = e.forwardProps, a = e.children, u = e.className, d = e.removeScrollBar, f = e.enabled, h = e.shards, v = e.sideCar, g = e.noRelative, y = e.noIsolation, p = e.inert, m = e.allowPinchZoom, w = e.as, C = w === void 0 ? "div" : w, _ = e.gapMode, b = To(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = v, L = Fa([n, t]), S = de(de({}, b), r);
1735
+ }), r = o[0], i = o[1], s = e.forwardProps, a = e.children, u = e.className, d = e.removeScrollBar, f = e.enabled, h = e.shards, v = e.sideCar, g = e.noRelative, y = e.noIsolation, p = e.inert, m = e.allowPinchZoom, w = e.as, C = w === void 0 ? "div" : w, _ = e.gapMode, b = To(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = v, L = Ba([n, t]), S = de(de({}, b), r);
1736
1736
  return l.createElement(
1737
1737
  l.Fragment,
1738
1738
  null,
@@ -1778,7 +1778,7 @@ var Ka = function() {
1778
1778
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
1779
1779
  }
1780
1780
  };
1781
- }, qa = function() {
1781
+ }, Ya = function() {
1782
1782
  var e = Ka();
1783
1783
  return function(t, n) {
1784
1784
  l.useEffect(function() {
@@ -1788,12 +1788,12 @@ var Ka = function() {
1788
1788
  }, [t && n]);
1789
1789
  };
1790
1790
  }, $o = function() {
1791
- var e = qa(), t = function(n) {
1791
+ var e = Ya(), t = function(n) {
1792
1792
  var o = n.styles, r = n.dynamic;
1793
1793
  return e(o, r), null;
1794
1794
  };
1795
1795
  return t;
1796
- }, Ya = {
1796
+ }, qa = {
1797
1797
  left: 0,
1798
1798
  top: 0,
1799
1799
  right: 0,
@@ -1805,7 +1805,7 @@ var Ka = function() {
1805
1805
  return [Qt(n), Qt(o), Qt(r)];
1806
1806
  }, Qa = function(e) {
1807
1807
  if (e === void 0 && (e = "margin"), typeof window > "u")
1808
- return Ya;
1808
+ return qa;
1809
1809
  var t = Xa(e), n = document.documentElement.clientWidth, o = window.innerWidth;
1810
1810
  return {
1811
1811
  left: t[0],
@@ -1888,7 +1888,7 @@ if (typeof window < "u")
1888
1888
  }
1889
1889
  var Ve = an ? { passive: !1 } : !1, oc = function(e) {
1890
1890
  return e.tagName === "TEXTAREA";
1891
- }, Bo = function(e, t) {
1891
+ }, Fo = function(e, t) {
1892
1892
  if (!(e instanceof Element))
1893
1893
  return !1;
1894
1894
  var n = window.getComputedStyle(e);
@@ -1898,14 +1898,14 @@ var Ve = an ? { passive: !1 } : !1, oc = function(e) {
1898
1898
  !(n.overflowY === n.overflowX && !oc(e) && n[t] === "visible")
1899
1899
  );
1900
1900
  }, rc = function(e) {
1901
- return Bo(e, "overflowY");
1901
+ return Fo(e, "overflowY");
1902
1902
  }, ic = function(e) {
1903
- return Bo(e, "overflowX");
1904
- }, qn = function(e, t) {
1903
+ return Fo(e, "overflowX");
1904
+ }, Yn = function(e, t) {
1905
1905
  var n = t.ownerDocument, o = t;
1906
1906
  do {
1907
1907
  typeof ShadowRoot < "u" && o instanceof ShadowRoot && (o = o.host);
1908
- var r = Fo(e, o);
1908
+ var r = Bo(e, o);
1909
1909
  if (r) {
1910
1910
  var i = Wo(e, o), s = i[1], a = i[2];
1911
1911
  if (s > a)
@@ -1928,7 +1928,7 @@ var Ve = an ? { passive: !1 } : !1, oc = function(e) {
1928
1928
  n,
1929
1929
  o
1930
1930
  ];
1931
- }, Fo = function(e, t) {
1931
+ }, Bo = function(e, t) {
1932
1932
  return e === "v" ? rc(t) : ic(t);
1933
1933
  }, Wo = function(e, t) {
1934
1934
  return e === "v" ? sc(t) : ac(t);
@@ -1940,7 +1940,7 @@ var Ve = an ? { passive: !1 } : !1, oc = function(e) {
1940
1940
  if (!a)
1941
1941
  break;
1942
1942
  var g = Wo(e, a), y = g[0], p = g[1], m = g[2], w = p - m - i * y;
1943
- (y || w) && Fo(e, a) && (h += w, v += y);
1943
+ (y || w) && Bo(e, a) && (h += w, v += y);
1944
1944
  var C = a.parentNode;
1945
1945
  a = C && C.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? C.host : C;
1946
1946
  } while (
@@ -1951,7 +1951,7 @@ var Ve = an ? { passive: !1 } : !1, oc = function(e) {
1951
1951
  return (f && Math.abs(h) < 1 || !f && Math.abs(v) < 1) && (d = !0), d;
1952
1952
  }, pt = function(e) {
1953
1953
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
1954
- }, Yn = function(e) {
1954
+ }, qn = function(e) {
1955
1955
  return [e.deltaX, e.deltaY];
1956
1956
  }, Xn = function(e) {
1957
1957
  return e && "current" in e ? e.current : e;
@@ -1986,10 +1986,10 @@ function pc(e) {
1986
1986
  var w = pt(p), C = n.current, _ = "deltaX" in p ? p.deltaX : C[0] - w[0], b = "deltaY" in p ? p.deltaY : C[1] - w[1], x, L = p.target, S = Math.abs(_) > Math.abs(b) ? "h" : "v";
1987
1987
  if ("touches" in p && S === "h" && L.type === "range")
1988
1988
  return !1;
1989
- var R = qn(S, L);
1989
+ var R = Yn(S, L);
1990
1990
  if (!R)
1991
1991
  return !0;
1992
- if (R ? x = S : (x = S === "v" ? "h" : "v", R = qn(S, L)), !R)
1992
+ if (R ? x = S : (x = S === "v" ? "h" : "v", R = Yn(S, L)), !R)
1993
1993
  return !1;
1994
1994
  if (!o.current && "changedTouches" in p && (_ || b) && (o.current = x), !x)
1995
1995
  return !0;
@@ -1998,7 +1998,7 @@ function pc(e) {
1998
1998
  }, []), u = l.useCallback(function(p) {
1999
1999
  var m = p;
2000
2000
  if (!(!je.length || je[je.length - 1] !== i)) {
2001
- var w = "deltaY" in m ? Yn(m) : pt(m), C = t.current.filter(function(x) {
2001
+ var w = "deltaY" in m ? qn(m) : pt(m), C = t.current.filter(function(x) {
2002
2002
  return x.name === m.type && (x.target === m.target || m.target === x.shadowParent) && uc(x.delta, w);
2003
2003
  })[0];
2004
2004
  if (C && C.should) {
@@ -2022,7 +2022,7 @@ function pc(e) {
2022
2022
  }, []), f = l.useCallback(function(p) {
2023
2023
  n.current = pt(p), o.current = void 0;
2024
2024
  }, []), h = l.useCallback(function(p) {
2025
- d(p.type, Yn(p), p.target, a(p, e.lockRef.current));
2025
+ d(p.type, qn(p), p.target, a(p, e.lockRef.current));
2026
2026
  }, []), v = l.useCallback(function(p) {
2027
2027
  d(p.type, pt(p), p.target, a(p, e.lockRef.current));
2028
2028
  }, []);
@@ -2183,7 +2183,7 @@ var Zo = "DialogTrigger", Go = l.forwardRef(
2183
2183
  (e, t) => {
2184
2184
  const { __scopeDialog: n, ...o } = e, r = le(Zo, n), i = Z(t, r.triggerRef);
2185
2185
  return /* @__PURE__ */ c(
2186
- F.button,
2186
+ B.button,
2187
2187
  {
2188
2188
  type: "button",
2189
2189
  "aria-haspopup": "dialog",
@@ -2205,13 +2205,13 @@ var xn = "DialogPortal", [Rc, zo] = jo(xn, {
2205
2205
  return /* @__PURE__ */ c(Rc, { scope: t, forceMount: n, children: l.Children.map(o, (s) => /* @__PURE__ */ c(at, { present: n || i.open, children: /* @__PURE__ */ c(_n, { asChild: !0, container: r, children: s }) })) });
2206
2206
  };
2207
2207
  Ko.displayName = xn;
2208
- var xt = "DialogOverlay", qo = l.forwardRef(
2208
+ var xt = "DialogOverlay", Yo = l.forwardRef(
2209
2209
  (e, t) => {
2210
2210
  const n = zo(xt, e.__scopeDialog), { forceMount: o = n.forceMount, ...r } = e, i = le(xt, e.__scopeDialog);
2211
2211
  return i.modal ? /* @__PURE__ */ c(at, { present: o || i.open, children: /* @__PURE__ */ c(kc, { ...r, ref: t }) }) : null;
2212
2212
  }
2213
2213
  );
2214
- qo.displayName = xt;
2214
+ Yo.displayName = xt;
2215
2215
  var Lc = /* @__PURE__ */ yc("DialogOverlay.RemoveScroll"), kc = l.forwardRef(
2216
2216
  (e, t) => {
2217
2217
  const { __scopeDialog: n, ...o } = e, r = le(xt, n);
@@ -2219,7 +2219,7 @@ var Lc = /* @__PURE__ */ yc("DialogOverlay.RemoveScroll"), kc = l.forwardRef(
2219
2219
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
2220
2220
  // ie. when `Overlay` and `Content` are siblings
2221
2221
  /* @__PURE__ */ c(bn, { as: Lc, allowPinchZoom: !0, shards: [r.contentRef], children: /* @__PURE__ */ c(
2222
- F.div,
2222
+ B.div,
2223
2223
  {
2224
2224
  "data-state": En(r.open),
2225
2225
  ...o,
@@ -2229,13 +2229,13 @@ var Lc = /* @__PURE__ */ yc("DialogOverlay.RemoveScroll"), kc = l.forwardRef(
2229
2229
  ) })
2230
2230
  );
2231
2231
  }
2232
- ), De = "DialogContent", Yo = l.forwardRef(
2232
+ ), De = "DialogContent", qo = l.forwardRef(
2233
2233
  (e, t) => {
2234
2234
  const n = zo(De, e.__scopeDialog), { forceMount: o = n.forceMount, ...r } = e, i = le(De, e.__scopeDialog);
2235
2235
  return /* @__PURE__ */ c(at, { present: o || i.open, children: i.modal ? /* @__PURE__ */ c(Nc, { ...r, ref: t }) : /* @__PURE__ */ c(Ic, { ...r, ref: t }) });
2236
2236
  }
2237
2237
  );
2238
- Yo.displayName = De;
2238
+ qo.displayName = De;
2239
2239
  var Nc = l.forwardRef(
2240
2240
  (e, t) => {
2241
2241
  const n = le(De, e.__scopeDialog), o = l.useRef(null), r = Z(t, n.contentRef, o);
@@ -2320,14 +2320,14 @@ var Nc = l.forwardRef(
2320
2320
  ), Sn = "DialogTitle", Qo = l.forwardRef(
2321
2321
  (e, t) => {
2322
2322
  const { __scopeDialog: n, ...o } = e, r = le(Sn, n);
2323
- return /* @__PURE__ */ c(F.h2, { id: r.titleId, ...o, ref: t });
2323
+ return /* @__PURE__ */ c(B.h2, { id: r.titleId, ...o, ref: t });
2324
2324
  }
2325
2325
  );
2326
2326
  Qo.displayName = Sn;
2327
2327
  var Jo = "DialogDescription", er = l.forwardRef(
2328
2328
  (e, t) => {
2329
2329
  const { __scopeDialog: n, ...o } = e, r = le(Jo, n);
2330
- return /* @__PURE__ */ c(F.p, { id: r.descriptionId, ...o, ref: t });
2330
+ return /* @__PURE__ */ c(B.p, { id: r.descriptionId, ...o, ref: t });
2331
2331
  }
2332
2332
  );
2333
2333
  er.displayName = Jo;
@@ -2335,7 +2335,7 @@ var tr = "DialogClose", nr = l.forwardRef(
2335
2335
  (e, t) => {
2336
2336
  const { __scopeDialog: n, ...o } = e, r = le(tr, n);
2337
2337
  return /* @__PURE__ */ c(
2338
- F.button,
2338
+ B.button,
2339
2339
  {
2340
2340
  type: "button",
2341
2341
  ...o,
@@ -2368,14 +2368,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
2368
2368
  const r = e.current?.getAttribute("aria-describedby");
2369
2369
  t && r && (document.getElementById(t) || console.warn(o));
2370
2370
  }, [o, e, t]), null;
2371
- }, ir = Uo, sr = Go, ar = Ko, cr = qo, lr = Yo, ur = Qo, dr = er, Ot = nr;
2372
- const Tc = "_overlay_1i5fg_29", Oc = "_drawer_1i5fg_38", Dc = "_right_1i5fg_59", $c = "_left_1i5fg_69", Bc = "_header_1i5fg_118", Fc = "_heading_1i5fg_133", Wc = "_centered_1i5fg_145", Hc = "_description_1i5fg_154", Vc = "_scrollableContainer_1i5fg_174", jc = "_closeButton_1i5fg_201", Uc = "_footer_1i5fg_225", re = {
2371
+ }, ir = Uo, sr = Go, ar = Ko, cr = Yo, lr = qo, ur = Qo, dr = er, Ot = nr;
2372
+ const Tc = "_overlay_1i5fg_29", Oc = "_drawer_1i5fg_38", Dc = "_right_1i5fg_59", $c = "_left_1i5fg_69", Fc = "_header_1i5fg_118", Bc = "_heading_1i5fg_133", Wc = "_centered_1i5fg_145", Hc = "_description_1i5fg_154", Vc = "_scrollableContainer_1i5fg_174", jc = "_closeButton_1i5fg_201", Uc = "_footer_1i5fg_225", re = {
2373
2373
  overlay: Tc,
2374
2374
  drawer: Oc,
2375
2375
  right: Dc,
2376
2376
  left: $c,
2377
- header: Bc,
2378
- heading: Fc,
2377
+ header: Fc,
2378
+ heading: Bc,
2379
2379
  centered: Wc,
2380
2380
  description: Hc,
2381
2381
  scrollableContainer: Vc,
@@ -2452,10 +2452,10 @@ function r0({ children: e, className: t = "", ...n }) {
2452
2452
  return /* @__PURE__ */ c("div", { className: A(re.footer, t), ...n, children: e });
2453
2453
  }
2454
2454
  Zc.displayName = "Drawer";
2455
- const Kc = "_link_gxfgk_1", qc = "_active_gxfgk_11", Yc = "_xs_gxfgk_16", Xc = "_s_gxfgk_21", Qc = "_m_gxfgk_26", Jc = "_primary_gxfgk_37", el = "_secondary_gxfgk_46", gt = {
2455
+ const Kc = "_link_gxfgk_1", Yc = "_active_gxfgk_11", qc = "_xs_gxfgk_16", Xc = "_s_gxfgk_21", Qc = "_m_gxfgk_26", Jc = "_primary_gxfgk_37", el = "_secondary_gxfgk_46", gt = {
2456
2456
  link: Kc,
2457
- active: qc,
2458
- xs: Yc,
2457
+ active: Yc,
2458
+ xs: qc,
2459
2459
  s: Xc,
2460
2460
  m: Qc,
2461
2461
  primary: Jc,
@@ -2484,7 +2484,7 @@ const Kc = "_link_gxfgk_1", qc = "_active_gxfgk_11", Yc = "_xs_gxfgk_16", Xc = "
2484
2484
  return t ? /* @__PURE__ */ c("a", { href: e, target: "_blank", rel: "noopener noreferrer", className: f, ...d, children: s }) : n || !u ? /* @__PURE__ */ c("a", { href: e, className: f, ...d, children: s }) : /* @__PURE__ */ c(u, { href: e, className: f, ...d, children: s });
2485
2485
  };
2486
2486
  fr.displayName = "Link";
2487
- const tl = "_footer_19j1m_1", nl = "_privacyLink_19j1m_4", ol = "_wrapper_19j1m_8", rl = "_logo_19j1m_18", il = "_top_19j1m_23", sl = "_topLeft_19j1m_45", al = "_description_19j1m_51", cl = "_rightContainer_19j1m_68", ll = "_bottom_19j1m_88", ul = "_bottomLeft_19j1m_109", dl = "_copyright_19j1m_126", fl = "_bottomRight_19j1m_133", pl = "_supportText_19j1m_150", hl = "_socialButtons_19j1m_157", ml = "_socialButton_19j1m_157", gl = "_tgIcon_19j1m_169", q = {
2487
+ const tl = "_footer_19j1m_1", nl = "_privacyLink_19j1m_4", ol = "_wrapper_19j1m_8", rl = "_logo_19j1m_18", il = "_top_19j1m_23", sl = "_topLeft_19j1m_45", al = "_description_19j1m_51", cl = "_rightContainer_19j1m_68", ll = "_bottom_19j1m_88", ul = "_bottomLeft_19j1m_109", dl = "_copyright_19j1m_126", fl = "_bottomRight_19j1m_133", pl = "_supportText_19j1m_150", hl = "_socialButtons_19j1m_157", ml = "_socialButton_19j1m_157", gl = "_tgIcon_19j1m_169", Y = {
2488
2488
  footer: tl,
2489
2489
  privacyLink: nl,
2490
2490
  wrapper: ol,
@@ -2506,7 +2506,7 @@ const tl = "_footer_19j1m_1", nl = "_privacyLink_19j1m_4", ol = "_wrapper_19j1m_
2506
2506
  socialLinks: [
2507
2507
  {
2508
2508
  href: "https://t.me/trely_channel",
2509
- icon: /* @__PURE__ */ c(Lo, { className: q.tgIcon }),
2509
+ icon: /* @__PURE__ */ c(Lo, { className: Y.tgIcon }),
2510
2510
  ariaLabel: "Telegram"
2511
2511
  },
2512
2512
  {
@@ -2528,32 +2528,32 @@ function vl({
2528
2528
  socialLinks: u = Qn.socialLinks,
2529
2529
  className: d
2530
2530
  }) {
2531
- return /* @__PURE__ */ c("footer", { className: A(q.footer, d), children: /* @__PURE__ */ E("div", { className: q.wrapper, children: [
2532
- /* @__PURE__ */ E("div", { className: q.top, children: [
2533
- /* @__PURE__ */ E("div", { className: q.topLeft, children: [
2534
- n ? /* @__PURE__ */ c(n, { href: t, className: q.logo, children: e }) : /* @__PURE__ */ c("a", { href: t, className: q.logo, children: e }),
2535
- /* @__PURE__ */ c("p", { className: q.description, children: o })
2531
+ return /* @__PURE__ */ c("footer", { className: A(Y.footer, d), children: /* @__PURE__ */ E("div", { className: Y.wrapper, children: [
2532
+ /* @__PURE__ */ E("div", { className: Y.top, children: [
2533
+ /* @__PURE__ */ E("div", { className: Y.topLeft, children: [
2534
+ n ? /* @__PURE__ */ c(n, { href: t, className: Y.logo, children: e }) : /* @__PURE__ */ c("a", { href: t, className: Y.logo, children: e }),
2535
+ /* @__PURE__ */ c("p", { className: Y.description, children: o })
2536
2536
  ] }),
2537
- /* @__PURE__ */ c("div", { className: q.rightContainer, children: r })
2537
+ /* @__PURE__ */ c("div", { className: Y.rightContainer, children: r })
2538
2538
  ] }),
2539
- /* @__PURE__ */ E("div", { className: q.bottom, children: [
2540
- /* @__PURE__ */ E("div", { className: q.bottomLeft, children: [
2541
- /* @__PURE__ */ c("span", { className: q.copyright, children: i }),
2539
+ /* @__PURE__ */ E("div", { className: Y.bottom, children: [
2540
+ /* @__PURE__ */ E("div", { className: Y.bottomLeft, children: [
2541
+ /* @__PURE__ */ c("span", { className: Y.copyright, children: i }),
2542
2542
  /* @__PURE__ */ c(
2543
2543
  fr,
2544
2544
  {
2545
2545
  href: s.href,
2546
2546
  variant: "secondary",
2547
2547
  size: "xs",
2548
- className: q.privacyLink,
2548
+ className: Y.privacyLink,
2549
2549
  component: s.component,
2550
2550
  children: s.label
2551
2551
  }
2552
2552
  )
2553
2553
  ] }),
2554
- /* @__PURE__ */ E("div", { className: q.bottomRight, children: [
2555
- /* @__PURE__ */ c("p", { className: q.supportText, children: a }),
2556
- /* @__PURE__ */ c("div", { className: q.socialButtons, children: u.map((f, h) => /* @__PURE__ */ c(At, { variant: "black", asChild: !0, className: q.socialButton, children: /* @__PURE__ */ c(
2554
+ /* @__PURE__ */ E("div", { className: Y.bottomRight, children: [
2555
+ /* @__PURE__ */ c("p", { className: Y.supportText, children: a }),
2556
+ /* @__PURE__ */ c("div", { className: Y.socialButtons, children: u.map((f, h) => /* @__PURE__ */ c(At, { variant: "black", asChild: !0, className: Y.socialButton, children: /* @__PURE__ */ c(
2557
2557
  "a",
2558
2558
  {
2559
2559
  href: f.href,
@@ -2568,7 +2568,7 @@ function vl({
2568
2568
  ] }) });
2569
2569
  }
2570
2570
  vl.displayName = "Footer";
2571
- const Cl = "_heading_1xaq4_1", yl = "_xxs_1xaq4_5", wl = "_xs_1xaq4_10", _l = "_s_1xaq4_21", bl = "_m_1xaq4_32", xl = "_l_1xaq4_48", Sl = "_dark_1xaq4_53", El = "_light_1xaq4_57", en = {
2571
+ const Cl = "_heading_c76kt_1", yl = "_xxs_c76kt_5", wl = "_xs_c76kt_10", _l = "_s_c76kt_21", bl = "_m_c76kt_32", xl = "_l_c76kt_48", Sl = "_dark_c76kt_59", El = "_light_c76kt_63", en = {
2572
2572
  heading: Cl,
2573
2573
  xxs: yl,
2574
2574
  xs: wl,
@@ -2589,7 +2589,7 @@ const Cl = "_heading_1xaq4_1", yl = "_xxs_1xaq4_5", wl = "_xs_1xaq4_10", _l = "_
2589
2589
  return vo(e, { className: s, ...i }, r);
2590
2590
  };
2591
2591
  Rl.displayName = "Heading";
2592
- const Ll = "_container_rd81k_1", kl = "_label_rd81k_7", Nl = "_previewGrid_rd81k_15", Il = "_previewItem_rd81k_21", Pl = "_deleteButton_rd81k_29", Al = "_previewImage_rd81k_33", Ml = "_uploadButton_rd81k_68", Tl = "_uploadButtonText_rd81k_94", Ol = "_error_rd81k_103", ge = {
2592
+ const Ll = "_container_rd81k_1", kl = "_label_rd81k_7", Nl = "_previewGrid_rd81k_15", Il = "_previewItem_rd81k_21", Pl = "_deleteButton_rd81k_29", Al = "_previewImage_rd81k_33", Ml = "_uploadButton_rd81k_68", Tl = "_uploadButtonText_rd81k_94", Ol = "_error_rd81k_103", ve = {
2593
2593
  container: Ll,
2594
2594
  label: kl,
2595
2595
  previewGrid: Nl,
@@ -2599,7 +2599,7 @@ const Ll = "_container_rd81k_1", kl = "_label_rd81k_7", Nl = "_previewGrid_rd81k
2599
2599
  uploadButton: Ml,
2600
2600
  uploadButtonText: Tl,
2601
2601
  error: Ol
2602
- }, Dl = Ce.forwardRef(
2602
+ }, Dl = ye.forwardRef(
2603
2603
  ({
2604
2604
  value: e = [],
2605
2605
  onChange: t,
@@ -2611,7 +2611,7 @@ const Ll = "_container_rd81k_1", kl = "_label_rd81k_7", Nl = "_previewGrid_rd81k
2611
2611
  className: a
2612
2612
  }, u) => {
2613
2613
  const d = Nt(null), [f, h] = Ke([]);
2614
- Ce.useEffect(() => {
2614
+ ye.useEffect(() => {
2615
2615
  const w = e.map((C) => URL.createObjectURL(C));
2616
2616
  return h(w), () => {
2617
2617
  w.forEach((C) => URL.revokeObjectURL(C));
@@ -2632,15 +2632,15 @@ const Ll = "_container_rd81k_1", kl = "_label_rd81k_7", Nl = "_previewGrid_rd81k
2632
2632
  t?.(C);
2633
2633
  }
2634
2634
  }, p = e.length > 0, m = e.length < r;
2635
- return /* @__PURE__ */ E("div", { ref: u, className: A(ge.container, a), children: [
2636
- n && /* @__PURE__ */ c("label", { className: ge.label, children: n }),
2637
- p && /* @__PURE__ */ c("div", { className: ge.previewGrid, children: e.map((w, C) => /* @__PURE__ */ E("div", { className: ge.previewItem, children: [
2635
+ return /* @__PURE__ */ E("div", { ref: u, className: A(ve.container, a), children: [
2636
+ n && /* @__PURE__ */ c("label", { className: ve.label, children: n }),
2637
+ p && /* @__PURE__ */ c("div", { className: ve.previewGrid, children: e.map((w, C) => /* @__PURE__ */ E("div", { className: ve.previewItem, children: [
2638
2638
  /* @__PURE__ */ c(
2639
2639
  "img",
2640
2640
  {
2641
2641
  src: f[C],
2642
2642
  alt: w.name,
2643
- className: A(ge.previewImage, "globalPreviewImage")
2643
+ className: A(ve.previewImage, "globalPreviewImage")
2644
2644
  }
2645
2645
  ),
2646
2646
  /* @__PURE__ */ c(
@@ -2648,7 +2648,7 @@ const Ll = "_container_rd81k_1", kl = "_label_rd81k_7", Nl = "_previewGrid_rd81k
2648
2648
  {
2649
2649
  type: "button",
2650
2650
  onClick: () => y(C),
2651
- className: ge.deleteButton,
2651
+ className: ve.deleteButton,
2652
2652
  disabled: s,
2653
2653
  "aria-label": "Delete photo",
2654
2654
  children: /* @__PURE__ */ c(bo, {})
@@ -2673,24 +2673,24 @@ const Ll = "_container_rd81k_1", kl = "_label_rd81k_7", Nl = "_previewGrid_rd81k
2673
2673
  {
2674
2674
  type: "button",
2675
2675
  onClick: v,
2676
- className: ge.uploadButton,
2676
+ className: ve.uploadButton,
2677
2677
  disabled: s,
2678
2678
  children: [
2679
2679
  /* @__PURE__ */ c(Eo, {}),
2680
- n && /* @__PURE__ */ c("span", { className: ge.uploadButtonText, children: n })
2680
+ n && /* @__PURE__ */ c("span", { className: ve.uploadButtonText, children: n })
2681
2681
  ]
2682
2682
  }
2683
2683
  )
2684
2684
  ] }),
2685
- o && /* @__PURE__ */ c("span", { className: ge.error, children: o })
2685
+ o && /* @__PURE__ */ c("span", { className: ve.error, children: o })
2686
2686
  ] });
2687
2687
  }
2688
2688
  );
2689
2689
  Dl.displayName = "ImagesUpload";
2690
- const $l = "_wrapper_1a52j_1", Bl = "_label_1a52j_8", Fl = "_container_1a52j_16", Wl = "_input_1a52j_21", Hl = "_uploadBox_1a52j_25", Vl = "_hasPreview_1a52j_46", jl = "_error_1a52j_49", Ul = "_placeholder_1a52j_54", Zl = "_icon_1a52j_62", Gl = "_placeholderText_1a52j_75", zl = "_preview_1a52j_83", Kl = "_previewImage_1a52j_91", ql = "_errorText_1a52j_98", ee = {
2690
+ const $l = "_wrapper_1a52j_1", Fl = "_label_1a52j_8", Bl = "_container_1a52j_16", Wl = "_input_1a52j_21", Hl = "_uploadBox_1a52j_25", Vl = "_hasPreview_1a52j_46", jl = "_error_1a52j_49", Ul = "_placeholder_1a52j_54", Zl = "_icon_1a52j_62", Gl = "_placeholderText_1a52j_75", zl = "_preview_1a52j_83", Kl = "_previewImage_1a52j_91", Yl = "_errorText_1a52j_98", ee = {
2691
2691
  wrapper: $l,
2692
- label: Bl,
2693
- container: Fl,
2692
+ label: Fl,
2693
+ container: Bl,
2694
2694
  input: Wl,
2695
2695
  uploadBox: Hl,
2696
2696
  hasPreview: Vl,
@@ -2700,10 +2700,10 @@ const $l = "_wrapper_1a52j_1", Bl = "_label_1a52j_8", Fl = "_container_1a52j_16"
2700
2700
  placeholderText: Gl,
2701
2701
  preview: zl,
2702
2702
  previewImage: Kl,
2703
- errorText: ql
2704
- }, Yl = ce(
2703
+ errorText: Yl
2704
+ }, ql = ce(
2705
2705
  ({ label: e, error: t, icon: n, placeholderText: o, preview: r, className: i = "", disabled: s, onChange: a, ...u }, d) => {
2706
- const f = Ye(), h = Nt(null), [v, g] = Ke(r || null);
2706
+ const f = qe(), h = Nt(null), [v, g] = Ke(r || null);
2707
2707
  vn(d, () => h.current);
2708
2708
  const y = (w) => {
2709
2709
  const C = w.target.files?.[0];
@@ -2752,7 +2752,7 @@ const $l = "_wrapper_1a52j_1", Bl = "_label_1a52j_8", Fl = "_container_1a52j_16"
2752
2752
  ] });
2753
2753
  }
2754
2754
  );
2755
- Yl.displayName = "ImageUpload";
2755
+ ql.displayName = "ImageUpload";
2756
2756
  const Xl = "_wrapper_bxyot_1", Ql = "_label_bxyot_9", Jl = "_container_bxyot_17", e1 = "_input_bxyot_23", t1 = "_error_bxyot_57", n1 = "_hasUnit_bxyot_61", o1 = "_hasUnitAndClear_bxyot_64", r1 = "_hasPasswordToggle_bxyot_67", i1 = "_hasPasswordAndClear_bxyot_70", s1 = "_hasPasswordAndUnit_bxyot_73", a1 = "_hasAll_bxyot_76", c1 = "_unit_bxyot_80", l1 = "_clearButton_bxyot_94", u1 = "_passwordToggle_bxyot_129", d1 = "_errorText_bxyot_171", Q = {
2757
2757
  wrapper: Xl,
2758
2758
  label: Ql,
@@ -2785,7 +2785,7 @@ const Xl = "_wrapper_bxyot_1", Ql = "_label_bxyot_9", Jl = "_container_bxyot_17"
2785
2785
  type: h,
2786
2786
  ...v
2787
2787
  }, g) => {
2788
- const y = Ye(), p = Nt(null), [m, w] = Ke(!1);
2788
+ const y = qe(), p = Nt(null), [m, w] = Ke(!1);
2789
2789
  vn(g, () => p.current);
2790
2790
  const C = u !== void 0, [_, b] = Ke(() => C ? u : d || "");
2791
2791
  ho(() => {
@@ -2858,7 +2858,7 @@ const Xl = "_wrapper_bxyot_1", Ql = "_label_bxyot_9", Jl = "_container_bxyot_17"
2858
2858
  }
2859
2859
  );
2860
2860
  f1.displayName = "Input";
2861
- const p1 = "_overlay_1drti_1", h1 = "_modal_1drti_18", m1 = "_header_1drti_57", g1 = "_heading_1drti_73", v1 = "_centered_1drti_85", C1 = "_description_1drti_94", y1 = "_scrollableContainer_1drti_109", w1 = "_closeButton_1drti_135", ye = {
2861
+ const p1 = "_overlay_11xnv_29", h1 = "_modal_11xnv_38", m1 = "_header_11xnv_108", g1 = "_heading_11xnv_123", v1 = "_centered_11xnv_135", C1 = "_description_11xnv_139", y1 = "_scrollableContainer_11xnv_159", w1 = "_closeButton_11xnv_186", fe = {
2862
2862
  overlay: p1,
2863
2863
  modal: h1,
2864
2864
  header: m1,
@@ -2883,11 +2883,11 @@ function c0({
2883
2883
  } else
2884
2884
  s.push(a);
2885
2885
  }), /* @__PURE__ */ E(ar, { children: [
2886
- /* @__PURE__ */ c(cr, { className: ye.overlay }),
2887
- /* @__PURE__ */ E(lr, { className: A(ye.modal, o), ...r, children: [
2888
- i.length > 0 && /* @__PURE__ */ c("div", { className: ye.header, children: i }),
2889
- /* @__PURE__ */ c("div", { className: A(ye.scrollableContainer, n), children: s }),
2890
- t && /* @__PURE__ */ c(Ot, { asChild: !0, "aria-label": "Close", children: /* @__PURE__ */ c(At, { className: ye.closeButton, children: /* @__PURE__ */ c(Pt, {}) }) })
2886
+ /* @__PURE__ */ c(cr, { className: fe.overlay }),
2887
+ /* @__PURE__ */ E(lr, { className: A(fe.modal, o), ...r, children: [
2888
+ i.length > 0 && /* @__PURE__ */ c("div", { className: fe.header, children: i }),
2889
+ /* @__PURE__ */ c("div", { className: A(fe.scrollableContainer, n), children: s }),
2890
+ t && /* @__PURE__ */ c(Ot, { asChild: !0, "aria-label": "Close", children: /* @__PURE__ */ c(At, { className: fe.closeButton, children: /* @__PURE__ */ c(Pt, {}) }) })
2891
2891
  ] })
2892
2892
  ] });
2893
2893
  }
@@ -2900,7 +2900,7 @@ function _1({
2900
2900
  return /* @__PURE__ */ c(
2901
2901
  ur,
2902
2902
  {
2903
- className: A(ye.heading, { [ye.centered]: t }, n),
2903
+ className: A(fe.heading, { [fe.centered]: t }, n),
2904
2904
  ...o,
2905
2905
  children: e
2906
2906
  }
@@ -2915,12 +2915,15 @@ function b1({
2915
2915
  return /* @__PURE__ */ c(
2916
2916
  dr,
2917
2917
  {
2918
- className: A(ye.description, { [ye.centered]: t }, n),
2918
+ className: A(fe.description, { [fe.centered]: t }, n),
2919
2919
  ...o,
2920
2920
  children: e
2921
2921
  }
2922
2922
  );
2923
2923
  }
2924
+ function l0({ children: e, className: t = "", ...n }) {
2925
+ return /* @__PURE__ */ c("div", { className: A(fe.footer, t), ...n, children: e });
2926
+ }
2924
2927
  // @__NO_SIDE_EFFECTS__
2925
2928
  function Jn(e) {
2926
2929
  const t = /* @__PURE__ */ x1(e), n = l.forwardRef((o, r) => {
@@ -2969,27 +2972,27 @@ function pr(e) {
2969
2972
  t,
2970
2973
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
2971
2974
  ), s = (p) => {
2972
- const { scope: m, children: w } = p, C = Ce.useRef(null), _ = Ce.useRef(/* @__PURE__ */ new Map()).current;
2975
+ const { scope: m, children: w } = p, C = ye.useRef(null), _ = ye.useRef(/* @__PURE__ */ new Map()).current;
2973
2976
  return /* @__PURE__ */ c(r, { scope: m, itemMap: _, collectionRef: C, children: w });
2974
2977
  };
2975
2978
  s.displayName = t;
2976
- const a = e + "CollectionSlot", u = /* @__PURE__ */ Jn(a), d = Ce.forwardRef(
2979
+ const a = e + "CollectionSlot", u = /* @__PURE__ */ Jn(a), d = ye.forwardRef(
2977
2980
  (p, m) => {
2978
2981
  const { scope: w, children: C } = p, _ = i(a, w), b = Z(m, _.collectionRef);
2979
2982
  return /* @__PURE__ */ c(u, { ref: b, children: C });
2980
2983
  }
2981
2984
  );
2982
2985
  d.displayName = a;
2983
- const f = e + "CollectionItemSlot", h = "data-radix-collection-item", v = /* @__PURE__ */ Jn(f), g = Ce.forwardRef(
2986
+ const f = e + "CollectionItemSlot", h = "data-radix-collection-item", v = /* @__PURE__ */ Jn(f), g = ye.forwardRef(
2984
2987
  (p, m) => {
2985
- const { scope: w, children: C, ..._ } = p, b = Ce.useRef(null), x = Z(m, b), L = i(f, w);
2986
- return Ce.useEffect(() => (L.itemMap.set(b, { ref: b, ..._ }), () => void L.itemMap.delete(b))), /* @__PURE__ */ c(v, { [h]: "", ref: x, children: C });
2988
+ const { scope: w, children: C, ..._ } = p, b = ye.useRef(null), x = Z(m, b), L = i(f, w);
2989
+ return ye.useEffect(() => (L.itemMap.set(b, { ref: b, ..._ }), () => void L.itemMap.delete(b))), /* @__PURE__ */ c(v, { [h]: "", ref: x, children: C });
2987
2990
  }
2988
2991
  );
2989
2992
  g.displayName = f;
2990
2993
  function y(p) {
2991
2994
  const m = i(e + "CollectionConsumer", p);
2992
- return Ce.useCallback(() => {
2995
+ return ye.useCallback(() => {
2993
2996
  const C = m.collectionRef.current;
2994
2997
  if (!C) return [];
2995
2998
  const _ = Array.from(C.querySelectorAll(`[${h}]`));
@@ -3060,7 +3063,7 @@ var T1 = l.forwardRef((e, t) => {
3060
3063
  []
3061
3064
  ),
3062
3065
  children: /* @__PURE__ */ c(
3063
- F.div,
3066
+ B.div,
3064
3067
  {
3065
3068
  tabIndex: w || L === 0 ? -1 : 0,
3066
3069
  "data-orientation": o,
@@ -3109,7 +3112,7 @@ var T1 = l.forwardRef((e, t) => {
3109
3112
  focusable: o,
3110
3113
  active: r,
3111
3114
  children: /* @__PURE__ */ c(
3112
- F.span,
3115
+ B.span,
3113
3116
  {
3114
3117
  tabIndex: h ? 0 : -1,
3115
3118
  "data-orientation": f.orientation,
@@ -3134,7 +3137,7 @@ var T1 = l.forwardRef((e, t) => {
3134
3137
  else if (w === "prev" || w === "next") {
3135
3138
  w === "prev" && _.reverse();
3136
3139
  const b = _.indexOf(m.currentTarget);
3137
- _ = f.loop ? B1(_, b + 1) : _.slice(b + 1);
3140
+ _ = f.loop ? F1(_, b + 1) : _.slice(b + 1);
3138
3141
  }
3139
3142
  setTimeout(() => yr(_));
3140
3143
  }
@@ -3170,13 +3173,13 @@ function yr(e, t = !1) {
3170
3173
  for (const o of e)
3171
3174
  if (o === n || (o.focus({ preventScroll: t }), document.activeElement !== n)) return;
3172
3175
  }
3173
- function B1(e, t) {
3176
+ function F1(e, t) {
3174
3177
  return e.map((n, o) => e[(t + o) % e.length]);
3175
3178
  }
3176
- var F1 = gr, W1 = Cr;
3179
+ var B1 = gr, W1 = Cr;
3177
3180
  function wr(e) {
3178
3181
  const [t, n] = l.useState(void 0);
3179
- return Y(() => {
3182
+ return q(() => {
3180
3183
  if (e) {
3181
3184
  n({ width: e.offsetWidth, height: e.offsetHeight });
3182
3185
  const o = new ResizeObserver((r) => {
@@ -3215,7 +3218,7 @@ var Ln = "Radio", [H1, br] = We(Ln), [V1, j1] = H1(Ln), xr = l.forwardRef(
3215
3218
  } = e, [h, v] = l.useState(null), g = Z(t, (m) => v(m)), y = l.useRef(!1), p = h ? d || !!h.closest("form") : !0;
3216
3219
  return /* @__PURE__ */ E(V1, { scope: n, checked: r, disabled: s, children: [
3217
3220
  /* @__PURE__ */ c(
3218
- F.button,
3221
+ B.button,
3219
3222
  {
3220
3223
  type: "button",
3221
3224
  role: "radio",
@@ -3253,7 +3256,7 @@ var Sr = "RadioIndicator", Er = l.forwardRef(
3253
3256
  (e, t) => {
3254
3257
  const { __scopeRadio: n, forceMount: o, ...r } = e, i = j1(Sr, n);
3255
3258
  return /* @__PURE__ */ c(at, { present: o || i.checked, children: /* @__PURE__ */ c(
3256
- F.span,
3259
+ B.span,
3257
3260
  {
3258
3261
  "data-state": Lr(i.checked),
3259
3262
  "data-disabled": i.disabled ? "" : void 0,
@@ -3285,7 +3288,7 @@ var U1 = "RadioBubbleInput", Rr = l.forwardRef(
3285
3288
  g.call(f, n), f.dispatchEvent(y);
3286
3289
  }
3287
3290
  }, [u, n, o]), /* @__PURE__ */ c(
3288
- F.input,
3291
+ B.input,
3289
3292
  {
3290
3293
  type: "radio",
3291
3294
  "aria-hidden": !0,
@@ -3342,7 +3345,7 @@ var Z1 = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Dt = "RadioGroup",
3342
3345
  value: p,
3343
3346
  onValueChange: m,
3344
3347
  children: /* @__PURE__ */ c(
3345
- F1,
3348
+ B1,
3346
3349
  {
3347
3350
  asChild: !0,
3348
3351
  ...g,
@@ -3350,7 +3353,7 @@ var Z1 = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Dt = "RadioGroup",
3350
3353
  dir: y,
3351
3354
  loop: f,
3352
3355
  children: /* @__PURE__ */ c(
3353
- F.div,
3356
+ B.div,
3354
3357
  {
3355
3358
  role: "radiogroup",
3356
3359
  "aria-required": s,
@@ -3409,14 +3412,14 @@ var Pr = "RadioGroupItem", Ar = l.forwardRef(
3409
3412
  }
3410
3413
  );
3411
3414
  Ar.displayName = Pr;
3412
- var q1 = "RadioGroupIndicator", Mr = l.forwardRef(
3415
+ var Y1 = "RadioGroupIndicator", Mr = l.forwardRef(
3413
3416
  (e, t) => {
3414
3417
  const { __scopeRadioGroup: n, ...o } = e, r = Nr(n);
3415
3418
  return /* @__PURE__ */ c(Er, { ...r, ...o, ref: t });
3416
3419
  }
3417
3420
  );
3418
- Mr.displayName = q1;
3419
- var Y1 = Ir, X1 = Ar, eo = Mr;
3421
+ Mr.displayName = Y1;
3422
+ var q1 = Ir, X1 = Ar, eo = Mr;
3420
3423
  const Q1 = "_root_13g3l_1", J1 = "_label_13g3l_7", eu = "_group_13g3l_15", tu = "_item_13g3l_21", nu = "_radio_13g3l_27", ou = "_square_13g3l_51", ru = "_indicator_13g3l_81", iu = "_itemLabel_13g3l_92", su = "_errorText_13g3l_104", au = "_checkIcon_13g3l_125", ue = {
3421
3424
  root: Q1,
3422
3425
  label: J1,
@@ -3430,7 +3433,7 @@ const Q1 = "_root_13g3l_1", J1 = "_label_13g3l_7", eu = "_group_13g3l_15", tu =
3430
3433
  checkIcon: au
3431
3434
  }, Tr = ce(
3432
3435
  ({ label: e, className: t, variant: n = "circle", ...o }, r) => {
3433
- const i = Ye();
3436
+ const i = qe();
3434
3437
  return /* @__PURE__ */ E("div", { className: A(ue.item, t), children: [
3435
3438
  /* @__PURE__ */ c(
3436
3439
  X1,
@@ -3449,11 +3452,11 @@ const Q1 = "_root_13g3l_1", J1 = "_label_13g3l_7", eu = "_group_13g3l_15", tu =
3449
3452
  Tr.displayName = "Radio";
3450
3453
  const cu = ce(
3451
3454
  ({ options: e, error: t, label: n, className: o, onChange: r, variant: i, ...s }, a) => {
3452
- const u = Ye();
3455
+ const u = qe();
3453
3456
  return /* @__PURE__ */ E("div", { className: A(ue.root, o), children: [
3454
3457
  n && /* @__PURE__ */ c("label", { htmlFor: u, className: ue.label, children: n }),
3455
3458
  /* @__PURE__ */ c(
3456
- Y1,
3459
+ q1,
3457
3460
  {
3458
3461
  ref: a,
3459
3462
  className: ue.group,
@@ -3480,7 +3483,7 @@ const lu = "_container_493c2_1", uu = "_withoutPadding_493c2_6", vt = {
3480
3483
  container: lu,
3481
3484
  withoutPadding: uu
3482
3485
  };
3483
- function l0({
3486
+ function u0({
3484
3487
  children: e,
3485
3488
  paddingSize: t = "md",
3486
3489
  className: n
@@ -3504,7 +3507,7 @@ function l0({
3504
3507
  function to(e, [t, n]) {
3505
3508
  return Math.min(n, Math.max(t, e));
3506
3509
  }
3507
- const du = ["top", "right", "bottom", "left"], Le = Math.min, te = Math.max, St = Math.round, Ct = Math.floor, pe = (e) => ({
3510
+ const du = ["top", "right", "bottom", "left"], Le = Math.min, te = Math.max, St = Math.round, Ct = Math.floor, he = (e) => ({
3508
3511
  x: e,
3509
3512
  y: e
3510
3513
  }), fu = {
@@ -3535,11 +3538,11 @@ function Nn(e) {
3535
3538
  return e === "y" ? "height" : "width";
3536
3539
  }
3537
3540
  const hu = /* @__PURE__ */ new Set(["top", "bottom"]);
3538
- function fe(e) {
3541
+ function pe(e) {
3539
3542
  return hu.has(_e(e)) ? "y" : "x";
3540
3543
  }
3541
3544
  function In(e) {
3542
- return kn(fe(e));
3545
+ return kn(pe(e));
3543
3546
  }
3544
3547
  function mu(e, t, n) {
3545
3548
  n === void 0 && (n = !1);
@@ -3615,7 +3618,7 @@ function ro(e, t, n) {
3615
3618
  reference: o,
3616
3619
  floating: r
3617
3620
  } = e;
3618
- const i = fe(t), s = In(t), a = Nn(s), u = _e(t), d = i === "y", f = o.x + o.width / 2 - r.width / 2, h = o.y + o.height / 2 - r.height / 2, v = o[a] / 2 - r[a] / 2;
3621
+ const i = pe(t), s = In(t), a = Nn(s), u = _e(t), d = i === "y", f = o.x + o.width / 2 - r.width / 2, h = o.y + o.height / 2 - r.height / 2, v = o[a] / 2 - r[a] / 2;
3619
3622
  let g;
3620
3623
  switch (u) {
3621
3624
  case "top":
@@ -3788,12 +3791,12 @@ const xu = (e) => ({
3788
3791
  }, g = In(r), y = Nn(g), p = await s.getDimensions(d), m = g === "y", w = m ? "top" : "left", C = m ? "bottom" : "right", _ = m ? "clientHeight" : "clientWidth", b = i.reference[y] + i.reference[g] - v[g] - i.floating[y], x = v[g] - i.reference[g], L = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
3789
3792
  let S = L ? L[_] : 0;
3790
3793
  (!S || !await (s.isElement == null ? void 0 : s.isElement(L))) && (S = a.floating[_] || i.floating[y]);
3791
- const R = b / 2 - x / 2, O = S / 2 - p[y] / 2 - 1, M = Le(h[w], O), W = Le(h[C], O), D = M, $ = S - p[y] - W, B = S / 2 - p[y] / 2 + R, V = ln(D, B, $), I = !u.arrow && Qe(r) != null && B !== V && i.reference[y] / 2 - (B < D ? M : W) - p[y] / 2 < 0, H = I ? B < D ? B - D : B - $ : 0;
3794
+ const R = b / 2 - x / 2, O = S / 2 - p[y] / 2 - 1, M = Le(h[w], O), W = Le(h[C], O), D = M, $ = S - p[y] - W, F = S / 2 - p[y] / 2 + R, V = ln(D, F, $), I = !u.arrow && Qe(r) != null && F !== V && i.reference[y] / 2 - (F < D ? M : W) - p[y] / 2 < 0, H = I ? F < D ? F - D : F - $ : 0;
3792
3795
  return {
3793
3796
  [g]: v[g] + H,
3794
3797
  data: {
3795
3798
  [g]: V,
3796
- centerOffset: B - V - H,
3799
+ centerOffset: F - V - H,
3797
3800
  ...I && {
3798
3801
  alignmentOffset: H
3799
3802
  }
@@ -3825,26 +3828,26 @@ const xu = (e) => ({
3825
3828
  } = we(e, t);
3826
3829
  if ((n = i.arrow) != null && n.alignmentOffset)
3827
3830
  return {};
3828
- const w = _e(r), C = fe(a), _ = _e(a) === a, b = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), x = v || (_ || !p ? [Et(a)] : gu(a)), L = y !== "none";
3831
+ const w = _e(r), C = pe(a), _ = _e(a) === a, b = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), x = v || (_ || !p ? [Et(a)] : gu(a)), L = y !== "none";
3829
3832
  !v && L && x.push(...wu(a, p, y, b));
3830
3833
  const S = [a, ...x], R = await it(t, m), O = [];
3831
3834
  let M = ((o = i.flip) == null ? void 0 : o.overflows) || [];
3832
3835
  if (f && O.push(R[w]), h) {
3833
- const B = mu(r, s, b);
3834
- O.push(R[B[0]], R[B[1]]);
3836
+ const F = mu(r, s, b);
3837
+ O.push(R[F[0]], R[F[1]]);
3835
3838
  }
3836
3839
  if (M = [...M, {
3837
3840
  placement: r,
3838
3841
  overflows: O
3839
- }], !O.every((B) => B <= 0)) {
3842
+ }], !O.every((F) => F <= 0)) {
3840
3843
  var W, D;
3841
- const B = (((W = i.flip) == null ? void 0 : W.index) || 0) + 1, V = S[B];
3842
- if (V && (!(h === "alignment" ? C !== fe(V) : !1) || // We leave the current main axis only if every placement on that axis
3844
+ const F = (((W = i.flip) == null ? void 0 : W.index) || 0) + 1, V = S[F];
3845
+ if (V && (!(h === "alignment" ? C !== pe(V) : !1) || // We leave the current main axis only if every placement on that axis
3843
3846
  // overflows the main axis.
3844
- M.every((N) => fe(N.placement) === C ? N.overflows[0] > 0 : !0)))
3847
+ M.every((N) => pe(N.placement) === C ? N.overflows[0] > 0 : !0)))
3845
3848
  return {
3846
3849
  data: {
3847
- index: B,
3850
+ index: F,
3848
3851
  overflows: M
3849
3852
  },
3850
3853
  reset: {
@@ -3858,7 +3861,7 @@ const xu = (e) => ({
3858
3861
  var $;
3859
3862
  const H = ($ = M.filter((N) => {
3860
3863
  if (L) {
3861
- const j = fe(N.placement);
3864
+ const j = pe(N.placement);
3862
3865
  return j === C || // Create a bias to the `y` side axis due to horizontal
3863
3866
  // reading directions favoring greater width.
3864
3867
  j === "y";
@@ -3941,7 +3944,7 @@ async function Ru(e, t) {
3941
3944
  placement: n,
3942
3945
  platform: o,
3943
3946
  elements: r
3944
- } = e, i = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), s = _e(n), a = Qe(n), u = fe(n) === "y", d = Dr.has(s) ? -1 : 1, f = i && u ? -1 : 1, h = we(t, e);
3947
+ } = e, i = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), s = _e(n), a = Qe(n), u = pe(n) === "y", d = Dr.has(s) ? -1 : 1, f = i && u ? -1 : 1, h = we(t, e);
3945
3948
  let {
3946
3949
  mainAxis: v,
3947
3950
  crossAxis: g,
@@ -4013,7 +4016,7 @@ const Lu = function(e) {
4013
4016
  } = we(e, t), d = {
4014
4017
  x: n,
4015
4018
  y: o
4016
- }, f = await it(t, u), h = fe(_e(r)), v = kn(h);
4019
+ }, f = await it(t, u), h = pe(_e(r)), v = kn(h);
4017
4020
  let g = d[v], y = d[h];
4018
4021
  if (i) {
4019
4022
  const m = v === "y" ? "top" : "left", w = v === "y" ? "bottom" : "right", C = g + f[m], _ = g - f[w];
@@ -4058,7 +4061,7 @@ const Lu = function(e) {
4058
4061
  } = we(e, t), f = {
4059
4062
  x: n,
4060
4063
  y: o
4061
- }, h = fe(r), v = kn(h);
4064
+ }, h = pe(r), v = kn(h);
4062
4065
  let g = f[v], y = f[h];
4063
4066
  const p = we(a, t), m = typeof p == "number" ? {
4064
4067
  mainAxis: p,
@@ -4098,7 +4101,7 @@ const Lu = function(e) {
4098
4101
  apply: u = () => {
4099
4102
  },
4100
4103
  ...d
4101
- } = we(e, t), f = await it(t, d), h = _e(r), v = Qe(r), g = fe(r) === "y", {
4104
+ } = we(e, t), f = await it(t, d), h = _e(r), v = Qe(r), g = pe(r) === "y", {
4102
4105
  width: y,
4103
4106
  height: p
4104
4107
  } = i.floating;
@@ -4134,7 +4137,7 @@ function ne(e) {
4134
4137
  var t;
4135
4138
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
4136
4139
  }
4137
- function me(e) {
4140
+ function ge(e) {
4138
4141
  var t;
4139
4142
  return (t = ($r(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
4140
4143
  }
@@ -4144,7 +4147,7 @@ function $r(e) {
4144
4147
  function se(e) {
4145
4148
  return $t() ? e instanceof Element || e instanceof ne(e).Element : !1;
4146
4149
  }
4147
- function he(e) {
4150
+ function me(e) {
4148
4151
  return $t() ? e instanceof HTMLElement || e instanceof ne(e).HTMLElement : !1;
4149
4152
  }
4150
4153
  function ao(e) {
@@ -4165,7 +4168,7 @@ function Mu(e) {
4165
4168
  return Au.has(Je(e));
4166
4169
  }
4167
4170
  const Tu = [":popover-open", ":modal"];
4168
- function Bt(e) {
4171
+ function Ft(e) {
4169
4172
  return Tu.some((t) => {
4170
4173
  try {
4171
4174
  return e.matches(t);
@@ -4179,12 +4182,12 @@ function Pn(e) {
4179
4182
  const t = An(), n = se(e) ? ae(e) : e;
4180
4183
  return Ou.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || Du.some((o) => (n.willChange || "").includes(o)) || $u.some((o) => (n.contain || "").includes(o));
4181
4184
  }
4182
- function Bu(e) {
4185
+ function Fu(e) {
4183
4186
  let t = ke(e);
4184
- for (; he(t) && !qe(t); ) {
4187
+ for (; me(t) && !Ye(t); ) {
4185
4188
  if (Pn(t))
4186
4189
  return t;
4187
- if (Bt(t))
4190
+ if (Ft(t))
4188
4191
  return null;
4189
4192
  t = ke(t);
4190
4193
  }
@@ -4193,14 +4196,14 @@ function Bu(e) {
4193
4196
  function An() {
4194
4197
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4195
4198
  }
4196
- const Fu = /* @__PURE__ */ new Set(["html", "body", "#document"]);
4197
- function qe(e) {
4198
- return Fu.has(Je(e));
4199
+ const Bu = /* @__PURE__ */ new Set(["html", "body", "#document"]);
4200
+ function Ye(e) {
4201
+ return Bu.has(Je(e));
4199
4202
  }
4200
4203
  function ae(e) {
4201
4204
  return ne(e).getComputedStyle(e);
4202
4205
  }
4203
- function Ft(e) {
4206
+ function Bt(e) {
4204
4207
  return se(e) ? {
4205
4208
  scrollLeft: e.scrollLeft,
4206
4209
  scrollTop: e.scrollTop
@@ -4217,18 +4220,18 @@ function ke(e) {
4217
4220
  e.assignedSlot || // DOM Element detected.
4218
4221
  e.parentNode || // ShadowRoot detected.
4219
4222
  ao(e) && e.host || // Fallback.
4220
- me(e)
4223
+ ge(e)
4221
4224
  );
4222
4225
  return ao(t) ? t.host : t;
4223
4226
  }
4224
- function Br(e) {
4227
+ function Fr(e) {
4225
4228
  const t = ke(e);
4226
- return qe(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : he(t) && lt(t) ? t : Br(t);
4229
+ return Ye(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : me(t) && lt(t) ? t : Fr(t);
4227
4230
  }
4228
4231
  function st(e, t, n) {
4229
4232
  var o;
4230
4233
  t === void 0 && (t = []), n === void 0 && (n = !0);
4231
- const r = Br(e), i = r === ((o = e.ownerDocument) == null ? void 0 : o.body), s = ne(r);
4234
+ const r = Fr(e), i = r === ((o = e.ownerDocument) == null ? void 0 : o.body), s = ne(r);
4232
4235
  if (i) {
4233
4236
  const a = dn(s);
4234
4237
  return t.concat(s, s.visualViewport || [], lt(r) ? r : [], a && n ? st(a) : []);
@@ -4238,10 +4241,10 @@ function st(e, t, n) {
4238
4241
  function dn(e) {
4239
4242
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
4240
4243
  }
4241
- function Fr(e) {
4244
+ function Br(e) {
4242
4245
  const t = ae(e);
4243
4246
  let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
4244
- const r = he(e), i = r ? e.offsetWidth : n, s = r ? e.offsetHeight : o, a = St(n) !== i || St(o) !== s;
4247
+ const r = me(e), i = r ? e.offsetWidth : n, s = r ? e.offsetHeight : o, a = St(n) !== i || St(o) !== s;
4245
4248
  return a && (n = i, o = s), {
4246
4249
  width: n,
4247
4250
  height: o,
@@ -4253,20 +4256,20 @@ function Mn(e) {
4253
4256
  }
4254
4257
  function Ge(e) {
4255
4258
  const t = Mn(e);
4256
- if (!he(t))
4257
- return pe(1);
4259
+ if (!me(t))
4260
+ return he(1);
4258
4261
  const n = t.getBoundingClientRect(), {
4259
4262
  width: o,
4260
4263
  height: r,
4261
4264
  $: i
4262
- } = Fr(t);
4265
+ } = Br(t);
4263
4266
  let s = (i ? St(n.width) : n.width) / o, a = (i ? St(n.height) : n.height) / r;
4264
4267
  return (!s || !Number.isFinite(s)) && (s = 1), (!a || !Number.isFinite(a)) && (a = 1), {
4265
4268
  x: s,
4266
4269
  y: a
4267
4270
  };
4268
4271
  }
4269
- const Wu = /* @__PURE__ */ pe(0);
4272
+ const Wu = /* @__PURE__ */ he(0);
4270
4273
  function Wr(e) {
4271
4274
  const t = ne(e);
4272
4275
  return !An() || !t.visualViewport ? Wu : {
@@ -4280,9 +4283,9 @@ function Hu(e, t, n) {
4280
4283
  function $e(e, t, n, o) {
4281
4284
  t === void 0 && (t = !1), n === void 0 && (n = !1);
4282
4285
  const r = e.getBoundingClientRect(), i = Mn(e);
4283
- let s = pe(1);
4286
+ let s = he(1);
4284
4287
  t && (o ? se(o) && (s = Ge(o)) : s = Ge(e));
4285
- const a = Hu(i, n, o) ? Wr(i) : pe(0);
4288
+ const a = Hu(i, n, o) ? Wr(i) : he(0);
4286
4289
  let u = (r.left + a.x) / s.x, d = (r.top + a.y) / s.y, f = r.width / s.x, h = r.height / s.y;
4287
4290
  if (i) {
4288
4291
  const v = ne(i), g = o && se(o) ? ne(o) : o;
@@ -4300,8 +4303,8 @@ function $e(e, t, n, o) {
4300
4303
  });
4301
4304
  }
4302
4305
  function Wt(e, t) {
4303
- const n = Ft(e).scrollLeft;
4304
- return t ? t.left + n : $e(me(e)).left + n;
4306
+ const n = Bt(e).scrollLeft;
4307
+ return t ? t.left + n : $e(ge(e)).left + n;
4305
4308
  }
4306
4309
  function Hr(e, t) {
4307
4310
  const n = e.getBoundingClientRect(), o = n.left + t.scrollLeft - Wt(e, n), r = n.top + t.scrollTop;
@@ -4317,19 +4320,19 @@ function Vu(e) {
4317
4320
  offsetParent: o,
4318
4321
  strategy: r
4319
4322
  } = e;
4320
- const i = r === "fixed", s = me(o), a = t ? Bt(t.floating) : !1;
4323
+ const i = r === "fixed", s = ge(o), a = t ? Ft(t.floating) : !1;
4321
4324
  if (o === s || a && i)
4322
4325
  return n;
4323
4326
  let u = {
4324
4327
  scrollLeft: 0,
4325
4328
  scrollTop: 0
4326
- }, d = pe(1);
4327
- const f = pe(0), h = he(o);
4328
- if ((h || !h && !i) && ((Je(o) !== "body" || lt(s)) && (u = Ft(o)), he(o))) {
4329
+ }, d = he(1);
4330
+ const f = he(0), h = me(o);
4331
+ if ((h || !h && !i) && ((Je(o) !== "body" || lt(s)) && (u = Bt(o)), me(o))) {
4329
4332
  const g = $e(o);
4330
4333
  d = Ge(o), f.x = g.x + o.clientLeft, f.y = g.y + o.clientTop;
4331
4334
  }
4332
- const v = s && !h && !i ? Hr(s, u) : pe(0);
4335
+ const v = s && !h && !i ? Hr(s, u) : he(0);
4333
4336
  return {
4334
4337
  width: n.width * d.x,
4335
4338
  height: n.height * d.y,
@@ -4341,7 +4344,7 @@ function ju(e) {
4341
4344
  return Array.from(e.getClientRects());
4342
4345
  }
4343
4346
  function Uu(e) {
4344
- const t = me(e), n = Ft(e), o = e.ownerDocument.body, r = te(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), i = te(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
4347
+ const t = ge(e), n = Bt(e), o = e.ownerDocument.body, r = te(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), i = te(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
4345
4348
  let s = -n.scrollLeft + Wt(e);
4346
4349
  const a = -n.scrollTop;
4347
4350
  return ae(o).direction === "rtl" && (s += te(t.clientWidth, o.clientWidth) - r), {
@@ -4353,7 +4356,7 @@ function Uu(e) {
4353
4356
  }
4354
4357
  const co = 25;
4355
4358
  function Zu(e, t) {
4356
- const n = ne(e), o = me(e), r = n.visualViewport;
4359
+ const n = ne(e), o = ge(e), r = n.visualViewport;
4357
4360
  let i = o.clientWidth, s = o.clientHeight, a = 0, u = 0;
4358
4361
  if (r) {
4359
4362
  i = r.width, s = r.height;
@@ -4374,7 +4377,7 @@ function Zu(e, t) {
4374
4377
  }
4375
4378
  const Gu = /* @__PURE__ */ new Set(["absolute", "fixed"]);
4376
4379
  function zu(e, t) {
4377
- const n = $e(e, !0, t === "fixed"), o = n.top + e.clientTop, r = n.left + e.clientLeft, i = he(e) ? Ge(e) : pe(1), s = e.clientWidth * i.x, a = e.clientHeight * i.y, u = r * i.x, d = o * i.y;
4380
+ const n = $e(e, !0, t === "fixed"), o = n.top + e.clientTop, r = n.left + e.clientLeft, i = me(e) ? Ge(e) : he(1), s = e.clientWidth * i.x, a = e.clientHeight * i.y, u = r * i.x, d = o * i.y;
4378
4381
  return {
4379
4382
  width: s,
4380
4383
  height: a,
@@ -4387,7 +4390,7 @@ function lo(e, t, n) {
4387
4390
  if (t === "viewport")
4388
4391
  o = Zu(e, n);
4389
4392
  else if (t === "document")
4390
- o = Uu(me(e));
4393
+ o = Uu(ge(e));
4391
4394
  else if (se(t))
4392
4395
  o = zu(t, n);
4393
4396
  else {
@@ -4403,7 +4406,7 @@ function lo(e, t, n) {
4403
4406
  }
4404
4407
  function Vr(e, t) {
4405
4408
  const n = ke(e);
4406
- return n === t || !se(n) || qe(n) ? !1 : ae(n).position === "fixed" || Vr(n, t);
4409
+ return n === t || !se(n) || Ye(n) ? !1 : ae(n).position === "fixed" || Vr(n, t);
4407
4410
  }
4408
4411
  function Ku(e, t) {
4409
4412
  const n = t.get(e);
@@ -4412,20 +4415,20 @@ function Ku(e, t) {
4412
4415
  let o = st(e, [], !1).filter((a) => se(a) && Je(a) !== "body"), r = null;
4413
4416
  const i = ae(e).position === "fixed";
4414
4417
  let s = i ? ke(e) : e;
4415
- for (; se(s) && !qe(s); ) {
4418
+ for (; se(s) && !Ye(s); ) {
4416
4419
  const a = ae(s), u = Pn(s);
4417
4420
  !u && a.position === "fixed" && (r = null), (i ? !u && !r : !u && a.position === "static" && !!r && Gu.has(r.position) || lt(s) && !u && Vr(e, s)) ? o = o.filter((f) => f !== s) : r = a, s = ke(s);
4418
4421
  }
4419
4422
  return t.set(e, o), o;
4420
4423
  }
4421
- function qu(e) {
4424
+ function Yu(e) {
4422
4425
  let {
4423
4426
  element: t,
4424
4427
  boundary: n,
4425
4428
  rootBoundary: o,
4426
4429
  strategy: r
4427
4430
  } = e;
4428
- const s = [...n === "clippingAncestors" ? Bt(t) ? [] : Ku(t, this._c) : [].concat(n), o], a = s[0], u = s.reduce((d, f) => {
4431
+ const s = [...n === "clippingAncestors" ? Ft(t) ? [] : Ku(t, this._c) : [].concat(n), o], a = s[0], u = s.reduce((d, f) => {
4429
4432
  const h = lo(t, f, r);
4430
4433
  return d.top = te(h.top, d.top), d.right = Le(h.right, d.right), d.bottom = Le(h.bottom, d.bottom), d.left = te(h.left, d.left), d;
4431
4434
  }, lo(t, a, r));
@@ -4436,33 +4439,33 @@ function qu(e) {
4436
4439
  y: u.top
4437
4440
  };
4438
4441
  }
4439
- function Yu(e) {
4442
+ function qu(e) {
4440
4443
  const {
4441
4444
  width: t,
4442
4445
  height: n
4443
- } = Fr(e);
4446
+ } = Br(e);
4444
4447
  return {
4445
4448
  width: t,
4446
4449
  height: n
4447
4450
  };
4448
4451
  }
4449
4452
  function Xu(e, t, n) {
4450
- const o = he(t), r = me(t), i = n === "fixed", s = $e(e, !0, i, t);
4453
+ const o = me(t), r = ge(t), i = n === "fixed", s = $e(e, !0, i, t);
4451
4454
  let a = {
4452
4455
  scrollLeft: 0,
4453
4456
  scrollTop: 0
4454
4457
  };
4455
- const u = pe(0);
4458
+ const u = he(0);
4456
4459
  function d() {
4457
4460
  u.x = Wt(r);
4458
4461
  }
4459
4462
  if (o || !o && !i)
4460
- if ((Je(t) !== "body" || lt(r)) && (a = Ft(t)), o) {
4463
+ if ((Je(t) !== "body" || lt(r)) && (a = Bt(t)), o) {
4461
4464
  const g = $e(t, !0, i, t);
4462
4465
  u.x = g.x + t.clientLeft, u.y = g.y + t.clientTop;
4463
4466
  } else r && d();
4464
4467
  i && !o && r && d();
4465
- const f = r && !o && !i ? Hr(r, a) : pe(0), h = s.left + a.scrollLeft - u.x - f.x, v = s.top + a.scrollTop - u.y - f.y;
4468
+ const f = r && !o && !i ? Hr(r, a) : he(0), h = s.left + a.scrollLeft - u.x - f.x, v = s.top + a.scrollTop - u.y - f.y;
4466
4469
  return {
4467
4470
  x: h,
4468
4471
  y: v,
@@ -4474,20 +4477,20 @@ function nn(e) {
4474
4477
  return ae(e).position === "static";
4475
4478
  }
4476
4479
  function uo(e, t) {
4477
- if (!he(e) || ae(e).position === "fixed")
4480
+ if (!me(e) || ae(e).position === "fixed")
4478
4481
  return null;
4479
4482
  if (t)
4480
4483
  return t(e);
4481
4484
  let n = e.offsetParent;
4482
- return me(e) === n && (n = n.ownerDocument.body), n;
4485
+ return ge(e) === n && (n = n.ownerDocument.body), n;
4483
4486
  }
4484
4487
  function jr(e, t) {
4485
4488
  const n = ne(e);
4486
- if (Bt(e))
4489
+ if (Ft(e))
4487
4490
  return n;
4488
- if (!he(e)) {
4491
+ if (!me(e)) {
4489
4492
  let r = ke(e);
4490
- for (; r && !qe(r); ) {
4493
+ for (; r && !Ye(r); ) {
4491
4494
  if (se(r) && !nn(r))
4492
4495
  return r;
4493
4496
  r = ke(r);
@@ -4497,7 +4500,7 @@ function jr(e, t) {
4497
4500
  let o = uo(e, t);
4498
4501
  for (; o && Mu(o) && nn(o); )
4499
4502
  o = uo(o, t);
4500
- return o && qe(o) && nn(o) && !Pn(o) ? n : o || Bu(e) || n;
4503
+ return o && Ye(o) && nn(o) && !Pn(o) ? n : o || Fu(e) || n;
4501
4504
  }
4502
4505
  const Qu = async function(e) {
4503
4506
  const t = this.getOffsetParent || jr, n = this.getDimensions, o = await n(e.floating);
@@ -4516,12 +4519,12 @@ function Ju(e) {
4516
4519
  }
4517
4520
  const ed = {
4518
4521
  convertOffsetParentRelativeRectToViewportRelativeRect: Vu,
4519
- getDocumentElement: me,
4520
- getClippingRect: qu,
4522
+ getDocumentElement: ge,
4523
+ getClippingRect: Yu,
4521
4524
  getOffsetParent: jr,
4522
4525
  getElementRects: Qu,
4523
4526
  getClientRects: ju,
4524
- getDimensions: Yu,
4527
+ getDimensions: qu,
4525
4528
  getScale: Ge,
4526
4529
  isElement: se,
4527
4530
  isRTL: Ju
@@ -4531,7 +4534,7 @@ function Ur(e, t) {
4531
4534
  }
4532
4535
  function td(e, t) {
4533
4536
  let n = null, o;
4534
- const r = me(e);
4537
+ const r = ge(e);
4535
4538
  function i() {
4536
4539
  var a;
4537
4540
  clearTimeout(o), (a = n) == null || a.disconnect(), n = null;
@@ -4713,7 +4716,7 @@ function fd(e) {
4713
4716
  // setting it to `true` when `open === false` (must be specified).
4714
4717
  isPositioned: D.current !== !1
4715
4718
  };
4716
- B.current && !Lt(R.current, J) && (R.current = J, It.flushSync(() => {
4719
+ F.current && !Lt(R.current, J) && (R.current = J, It.flushSync(() => {
4717
4720
  h(J);
4718
4721
  }));
4719
4722
  });
@@ -4724,9 +4727,9 @@ function fd(e) {
4724
4727
  isPositioned: !1
4725
4728
  })));
4726
4729
  }, [d]);
4727
- const B = l.useRef(!1);
4728
- _t(() => (B.current = !0, () => {
4729
- B.current = !1;
4730
+ const F = l.useRef(!1);
4731
+ _t(() => (F.current = !0, () => {
4732
+ F.current = !1;
4730
4733
  }), []), _t(() => {
4731
4734
  if (b && (L.current = b), x && (S.current = x), b && x) {
4732
4735
  if (M.current)
@@ -4817,7 +4820,7 @@ const pd = (e) => {
4817
4820
  var _d = "Arrow", Gr = l.forwardRef((e, t) => {
4818
4821
  const { children: n, width: o = 10, height: r = 5, ...i } = e;
4819
4822
  return /* @__PURE__ */ c(
4820
- F.svg,
4823
+ B.svg,
4821
4824
  {
4822
4825
  ...i,
4823
4826
  ref: t,
@@ -4830,18 +4833,18 @@ var _d = "Arrow", Gr = l.forwardRef((e, t) => {
4830
4833
  );
4831
4834
  });
4832
4835
  Gr.displayName = _d;
4833
- var bd = Gr, Tn = "Popper", [zr, Kr] = We(Tn), [xd, qr] = zr(Tn), Yr = (e) => {
4836
+ var bd = Gr, Tn = "Popper", [zr, Kr] = We(Tn), [xd, Yr] = zr(Tn), qr = (e) => {
4834
4837
  const { __scopePopper: t, children: n } = e, [o, r] = l.useState(null);
4835
4838
  return /* @__PURE__ */ c(xd, { scope: t, anchor: o, onAnchorChange: r, children: n });
4836
4839
  };
4837
- Yr.displayName = Tn;
4840
+ qr.displayName = Tn;
4838
4841
  var Xr = "PopperAnchor", Qr = l.forwardRef(
4839
4842
  (e, t) => {
4840
- const { __scopePopper: n, virtualRef: o, ...r } = e, i = qr(Xr, n), s = l.useRef(null), a = Z(t, s), u = l.useRef(null);
4843
+ const { __scopePopper: n, virtualRef: o, ...r } = e, i = Yr(Xr, n), s = l.useRef(null), a = Z(t, s), u = l.useRef(null);
4841
4844
  return l.useEffect(() => {
4842
4845
  const d = u.current;
4843
4846
  u.current = o?.current || s.current, d !== u.current && i.onAnchorChange(u.current);
4844
- }), o ? null : /* @__PURE__ */ c(F.div, { ...r, ref: a });
4847
+ }), o ? null : /* @__PURE__ */ c(B.div, { ...r, ref: a });
4845
4848
  }
4846
4849
  );
4847
4850
  Qr.displayName = Xr;
@@ -4862,12 +4865,12 @@ var On = "PopperContent", [Sd, Ed] = zr(On), Jr = l.forwardRef(
4862
4865
  updatePositionStrategy: g = "optimized",
4863
4866
  onPlaced: y,
4864
4867
  ...p
4865
- } = e, m = qr(On, n), [w, C] = l.useState(null), _ = Z(t, (k) => C(k)), [b, x] = l.useState(null), L = wr(b), S = L?.width ?? 0, R = L?.height ?? 0, O = o + (i !== "center" ? "-" + i : ""), M = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, W = Array.isArray(d) ? d : [d], D = W.length > 0, $ = {
4868
+ } = e, m = Yr(On, n), [w, C] = l.useState(null), _ = Z(t, (k) => C(k)), [b, x] = l.useState(null), L = wr(b), S = L?.width ?? 0, R = L?.height ?? 0, O = o + (i !== "center" ? "-" + i : ""), M = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, W = Array.isArray(d) ? d : [d], D = W.length > 0, $ = {
4866
4869
  padding: M,
4867
4870
  boundary: W.filter(Ld),
4868
4871
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
4869
4872
  altBoundary: D
4870
- }, { refs: B, floatingStyles: V, placement: I, isPositioned: H, middlewareData: N } = fd({
4873
+ }, { refs: F, floatingStyles: V, placement: I, isPositioned: H, middlewareData: N } = fd({
4871
4874
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
4872
4875
  strategy: "fixed",
4873
4876
  placement: O,
@@ -4898,16 +4901,16 @@ var On = "PopperContent", [Sd, Ed] = zr(On), Jr = l.forwardRef(
4898
4901
  v && yd({ strategy: "referenceHidden", ...$ })
4899
4902
  ]
4900
4903
  }), [j, J] = ni(I), Pe = Re(y);
4901
- Y(() => {
4904
+ q(() => {
4902
4905
  H && Pe?.();
4903
4906
  }, [H, Pe]);
4904
4907
  const tt = N.arrow?.x, nt = N.arrow?.y, be = N.arrow?.centerOffset !== 0, [He, Ae] = l.useState();
4905
- return Y(() => {
4908
+ return q(() => {
4906
4909
  w && Ae(window.getComputedStyle(w).zIndex);
4907
4910
  }, [w]), /* @__PURE__ */ c(
4908
4911
  "div",
4909
4912
  {
4910
- ref: B.setFloating,
4913
+ ref: F.setFloating,
4911
4914
  "data-radix-popper-content-wrapper": "",
4912
4915
  style: {
4913
4916
  ...V,
@@ -4938,7 +4941,7 @@ var On = "PopperContent", [Sd, Ed] = zr(On), Jr = l.forwardRef(
4938
4941
  arrowY: nt,
4939
4942
  shouldHideArrow: be,
4940
4943
  children: /* @__PURE__ */ c(
4941
- F.div,
4944
+ B.div,
4942
4945
  {
4943
4946
  "data-side": j,
4944
4947
  "data-align": J,
@@ -5026,7 +5029,7 @@ function ni(e) {
5026
5029
  const [t, n = "center"] = e.split("-");
5027
5030
  return [t, n];
5028
5031
  }
5029
- var Nd = Yr, Id = Qr, Pd = Jr, Ad = ti;
5032
+ var Nd = qr, Id = Qr, Pd = Jr, Ad = ti;
5030
5033
  // @__NO_SIDE_EFFECTS__
5031
5034
  function Md(e) {
5032
5035
  const t = /* @__PURE__ */ Td(e), n = l.forwardRef((o, r) => {
@@ -5044,7 +5047,7 @@ function Td(e) {
5044
5047
  const t = l.forwardRef((n, o) => {
5045
5048
  const { children: r, ...i } = n;
5046
5049
  if (l.isValidElement(r)) {
5047
- const s = Bd(r), a = $d(i, r.props);
5050
+ const s = Fd(r), a = $d(i, r.props);
5048
5051
  return r.type !== l.Fragment && (a.ref = o ? Xe(o, s) : s), l.cloneElement(r, a);
5049
5052
  }
5050
5053
  return l.Children.count(r) > 1 ? l.Children.only(null) : null;
@@ -5066,7 +5069,7 @@ function $d(e, t) {
5066
5069
  }
5067
5070
  return { ...e, ...n };
5068
5071
  }
5069
- function Bd(e) {
5072
+ function Fd(e) {
5070
5073
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
5071
5074
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
5072
5075
  }
@@ -5082,9 +5085,9 @@ var oi = Object.freeze({
5082
5085
  clip: "rect(0, 0, 0, 0)",
5083
5086
  whiteSpace: "nowrap",
5084
5087
  wordWrap: "normal"
5085
- }), Fd = "VisuallyHidden", Wd = l.forwardRef(
5088
+ }), Bd = "VisuallyHidden", Wd = l.forwardRef(
5086
5089
  (e, t) => /* @__PURE__ */ c(
5087
- F.span,
5090
+ B.span,
5088
5091
  {
5089
5092
  ...e,
5090
5093
  ref: t,
@@ -5092,11 +5095,11 @@ var oi = Object.freeze({
5092
5095
  }
5093
5096
  )
5094
5097
  );
5095
- Wd.displayName = Fd;
5096
- var Hd = [" ", "Enter", "ArrowUp", "ArrowDown"], Vd = [" ", "Enter"], Be = "Select", [Ht, Vt, jd] = pr(Be), [et] = We(Be, [
5098
+ Wd.displayName = Bd;
5099
+ var Hd = [" ", "Enter", "ArrowUp", "ArrowDown"], Vd = [" ", "Enter"], Fe = "Select", [Ht, Vt, jd] = pr(Fe), [et] = We(Fe, [
5097
5100
  jd,
5098
5101
  Kr
5099
- ]), jt = Kr(), [Ud, Ne] = et(Be), [Zd, Gd] = et(Be), ri = (e) => {
5102
+ ]), jt = Kr(), [Ud, Ne] = et(Fe), [Zd, Gd] = et(Fe), ri = (e) => {
5100
5103
  const {
5101
5104
  __scopeSelect: t,
5102
5105
  children: n,
@@ -5116,13 +5119,13 @@ var Hd = [" ", "Enter", "ArrowUp", "ArrowDown"], Vd = [" ", "Enter"], Be = "Sele
5116
5119
  prop: o,
5117
5120
  defaultProp: r ?? !1,
5118
5121
  onChange: i,
5119
- caller: Be
5122
+ caller: Fe
5120
5123
  }), [O, M] = rt({
5121
5124
  prop: s,
5122
5125
  defaultProp: a,
5123
5126
  onChange: u,
5124
- caller: Be
5125
- }), W = l.useRef(null), D = m ? y || !!m.closest("form") : !0, [$, B] = l.useState(/* @__PURE__ */ new Set()), V = Array.from($).map((I) => I.props.value).join(";");
5127
+ caller: Fe
5128
+ }), W = l.useRef(null), D = m ? y || !!m.closest("form") : !0, [$, F] = l.useState(/* @__PURE__ */ new Set()), V = Array.from($).map((I) => I.props.value).join(";");
5126
5129
  return /* @__PURE__ */ c(Nd, { ...p, children: /* @__PURE__ */ E(
5127
5130
  Ud,
5128
5131
  {
@@ -5148,10 +5151,10 @@ var Hd = [" ", "Enter", "ArrowUp", "ArrowDown"], Vd = [" ", "Enter"], Be = "Sele
5148
5151
  {
5149
5152
  scope: e.__scopeSelect,
5150
5153
  onNativeOptionAdd: l.useCallback((I) => {
5151
- B((H) => new Set(H).add(I));
5154
+ F((H) => new Set(H).add(I));
5152
5155
  }, []),
5153
5156
  onNativeOptionRemove: l.useCallback((I) => {
5154
- B((H) => {
5157
+ F((H) => {
5155
5158
  const N = new Set(H);
5156
5159
  return N.delete(I), N;
5157
5160
  });
@@ -5182,7 +5185,7 @@ var Hd = [" ", "Enter", "ArrowUp", "ArrowDown"], Vd = [" ", "Enter"], Be = "Sele
5182
5185
  }
5183
5186
  ) });
5184
5187
  };
5185
- ri.displayName = Be;
5188
+ ri.displayName = Fe;
5186
5189
  var ii = "SelectTrigger", si = l.forwardRef(
5187
5190
  (e, t) => {
5188
5191
  const { __scopeSelect: n, disabled: o = !1, ...r } = e, i = jt(n), s = Ne(ii, n), a = s.disabled || o, u = Z(t, s.onTriggerChange), d = Vt(n), f = l.useRef("touch"), [h, v, g] = Ei((p) => {
@@ -5195,7 +5198,7 @@ var ii = "SelectTrigger", si = l.forwardRef(
5195
5198
  });
5196
5199
  };
5197
5200
  return /* @__PURE__ */ c(Id, { asChild: !0, ...i, children: /* @__PURE__ */ c(
5198
- F.button,
5201
+ B.button,
5199
5202
  {
5200
5203
  type: "button",
5201
5204
  role: "combobox",
@@ -5230,10 +5233,10 @@ si.displayName = ii;
5230
5233
  var ai = "SelectValue", ci = l.forwardRef(
5231
5234
  (e, t) => {
5232
5235
  const { __scopeSelect: n, className: o, style: r, children: i, placeholder: s = "", ...a } = e, u = Ne(ai, n), { onValueNodeHasChildrenChange: d } = u, f = i !== void 0, h = Z(t, u.onValueNodeChange);
5233
- return Y(() => {
5236
+ return q(() => {
5234
5237
  d(f);
5235
5238
  }, [d, f]), /* @__PURE__ */ c(
5236
- F.span,
5239
+ B.span,
5237
5240
  {
5238
5241
  ...a,
5239
5242
  ref: h,
@@ -5247,16 +5250,16 @@ ci.displayName = ai;
5247
5250
  var zd = "SelectIcon", li = l.forwardRef(
5248
5251
  (e, t) => {
5249
5252
  const { __scopeSelect: n, children: o, ...r } = e;
5250
- return /* @__PURE__ */ c(F.span, { "aria-hidden": !0, ...r, ref: t, children: o || "▼" });
5253
+ return /* @__PURE__ */ c(B.span, { "aria-hidden": !0, ...r, ref: t, children: o || "▼" });
5251
5254
  }
5252
5255
  );
5253
5256
  li.displayName = zd;
5254
5257
  var Kd = "SelectPortal", ui = (e) => /* @__PURE__ */ c(_n, { asChild: !0, ...e });
5255
5258
  ui.displayName = Kd;
5256
- var Fe = "SelectContent", di = l.forwardRef(
5259
+ var Be = "SelectContent", di = l.forwardRef(
5257
5260
  (e, t) => {
5258
- const n = Ne(Fe, e.__scopeSelect), [o, r] = l.useState();
5259
- if (Y(() => {
5261
+ const n = Ne(Be, e.__scopeSelect), [o, r] = l.useState();
5262
+ if (q(() => {
5260
5263
  r(new DocumentFragment());
5261
5264
  }, []), !n.open) {
5262
5265
  const i = o;
@@ -5268,8 +5271,8 @@ var Fe = "SelectContent", di = l.forwardRef(
5268
5271
  return /* @__PURE__ */ c(pi, { ...e, ref: t });
5269
5272
  }
5270
5273
  );
5271
- di.displayName = Fe;
5272
- var ie = 10, [fi, Ie] = et(Fe), qd = "SelectContentImpl", Yd = /* @__PURE__ */ Md("SelectContent.RemoveScroll"), pi = l.forwardRef(
5274
+ di.displayName = Be;
5275
+ var ie = 10, [fi, Ie] = et(Be), Yd = "SelectContentImpl", qd = /* @__PURE__ */ Md("SelectContent.RemoveScroll"), pi = l.forwardRef(
5273
5276
  (e, t) => {
5274
5277
  const {
5275
5278
  __scopeSelect: n,
@@ -5291,9 +5294,9 @@ var ie = 10, [fi, Ie] = et(Fe), qd = "SelectContentImpl", Yd = /* @__PURE__ */ M
5291
5294
  avoidCollisions: m,
5292
5295
  //
5293
5296
  ...w
5294
- } = e, C = Ne(Fe, n), [_, b] = l.useState(null), [x, L] = l.useState(null), S = Z(t, (k) => b(k)), [R, O] = l.useState(null), [M, W] = l.useState(
5297
+ } = e, C = Ne(Be, n), [_, b] = l.useState(null), [x, L] = l.useState(null), S = Z(t, (k) => b(k)), [R, O] = l.useState(null), [M, W] = l.useState(
5295
5298
  null
5296
- ), D = Vt(n), [$, B] = l.useState(!1), V = l.useRef(!1);
5299
+ ), D = Vt(n), [$, F] = l.useState(!1), V = l.useRef(!1);
5297
5300
  l.useEffect(() => {
5298
5301
  if (_) return Vo(_);
5299
5302
  }, [_]), Mo();
@@ -5376,7 +5379,7 @@ var ie = 10, [fi, Ie] = et(Fe), qd = "SelectContentImpl", Yd = /* @__PURE__ */ M
5376
5379
  position: o,
5377
5380
  isPositioned: $,
5378
5381
  searchRef: J,
5379
- children: /* @__PURE__ */ c(bn, { as: Yd, allowPinchZoom: !0, children: /* @__PURE__ */ c(
5382
+ children: /* @__PURE__ */ c(bn, { as: qd, allowPinchZoom: !0, children: /* @__PURE__ */ c(
5380
5383
  wn,
5381
5384
  {
5382
5385
  asChild: !0,
@@ -5406,7 +5409,7 @@ var ie = 10, [fi, Ie] = et(Fe), qd = "SelectContentImpl", Yd = /* @__PURE__ */ M
5406
5409
  onContextMenu: (k) => k.preventDefault(),
5407
5410
  ...w,
5408
5411
  ...Ae,
5409
- onPlaced: () => B(!0),
5412
+ onPlaced: () => F(!0),
5410
5413
  ref: S,
5411
5414
  style: {
5412
5415
  // flex layout so we can place the scroll buttons properly
@@ -5437,9 +5440,9 @@ var ie = 10, [fi, Ie] = et(Fe), qd = "SelectContentImpl", Yd = /* @__PURE__ */ M
5437
5440
  );
5438
5441
  }
5439
5442
  );
5440
- pi.displayName = qd;
5443
+ pi.displayName = Yd;
5441
5444
  var Xd = "SelectItemAlignedPosition", hi = l.forwardRef((e, t) => {
5442
- const { __scopeSelect: n, onPlaced: o, ...r } = e, i = Ne(Fe, n), s = Ie(Fe, n), [a, u] = l.useState(null), [d, f] = l.useState(null), h = Z(t, (S) => f(S)), v = Vt(n), g = l.useRef(!1), y = l.useRef(!0), { viewport: p, selectedItem: m, selectedItemText: w, focusSelectedItem: C } = s, _ = l.useCallback(() => {
5445
+ const { __scopeSelect: n, onPlaced: o, ...r } = e, i = Ne(Be, n), s = Ie(Be, n), [a, u] = l.useState(null), [d, f] = l.useState(null), h = Z(t, (S) => f(S)), v = Vt(n), g = l.useRef(!1), y = l.useRef(!0), { viewport: p, selectedItem: m, selectedItemText: w, focusSelectedItem: C } = s, _ = l.useCallback(() => {
5443
5446
  if (i.trigger && i.valueNode && a && d && p && m && w) {
5444
5447
  const S = i.trigger.getBoundingClientRect(), R = d.getBoundingClientRect(), O = i.valueNode.getBoundingClientRect(), M = w.getBoundingClientRect();
5445
5448
  if (i.dir !== "rtl") {
@@ -5460,7 +5463,7 @@ var Xd = "SelectItemAlignedPosition", hi = l.forwardRef((e, t) => {
5460
5463
  ]);
5461
5464
  a.style.minWidth = Me + "px", a.style.right = Gt + "px";
5462
5465
  }
5463
- const W = v(), D = window.innerHeight - ie * 2, $ = p.scrollHeight, B = window.getComputedStyle(d), V = parseInt(B.borderTopWidth, 10), I = parseInt(B.paddingTop, 10), H = parseInt(B.borderBottomWidth, 10), N = parseInt(B.paddingBottom, 10), j = V + I + $ + N + H, J = Math.min(m.offsetHeight * 5, j), Pe = window.getComputedStyle(p), tt = parseInt(Pe.paddingTop, 10), nt = parseInt(Pe.paddingBottom, 10), be = S.top + S.height / 2 - ie, He = D - be, Ae = m.offsetHeight / 2, k = m.offsetTop + Ae, z = V + I + k, X = j - z;
5466
+ const W = v(), D = window.innerHeight - ie * 2, $ = p.scrollHeight, F = window.getComputedStyle(d), V = parseInt(F.borderTopWidth, 10), I = parseInt(F.paddingTop, 10), H = parseInt(F.borderBottomWidth, 10), N = parseInt(F.paddingBottom, 10), j = V + I + $ + N + H, J = Math.min(m.offsetHeight * 5, j), Pe = window.getComputedStyle(p), tt = parseInt(Pe.paddingTop, 10), nt = parseInt(Pe.paddingBottom, 10), be = S.top + S.height / 2 - ie, He = D - be, Ae = m.offsetHeight / 2, k = m.offsetTop + Ae, z = V + I + k, X = j - z;
5464
5467
  if (z <= be) {
5465
5468
  const G = W.length > 0 && m === W[W.length - 1].ref.current;
5466
5469
  a.style.bottom = "0px";
@@ -5494,9 +5497,9 @@ var Xd = "SelectItemAlignedPosition", hi = l.forwardRef((e, t) => {
5494
5497
  i.dir,
5495
5498
  o
5496
5499
  ]);
5497
- Y(() => _(), [_]);
5500
+ q(() => _(), [_]);
5498
5501
  const [b, x] = l.useState();
5499
- Y(() => {
5502
+ q(() => {
5500
5503
  d && x(window.getComputedStyle(d).zIndex);
5501
5504
  }, [d]);
5502
5505
  const L = l.useCallback(
@@ -5523,7 +5526,7 @@ var Xd = "SelectItemAlignedPosition", hi = l.forwardRef((e, t) => {
5523
5526
  zIndex: b
5524
5527
  },
5525
5528
  children: /* @__PURE__ */ c(
5526
- F.div,
5529
+ B.div,
5527
5530
  {
5528
5531
  ...r,
5529
5532
  ref: h,
@@ -5572,7 +5575,7 @@ var Qd = "SelectPopperPosition", fn = l.forwardRef((e, t) => {
5572
5575
  );
5573
5576
  });
5574
5577
  fn.displayName = Qd;
5575
- var [Jd, Dn] = et(Fe, {}), pn = "SelectViewport", mi = l.forwardRef(
5578
+ var [Jd, Dn] = et(Be, {}), pn = "SelectViewport", mi = l.forwardRef(
5576
5579
  (e, t) => {
5577
5580
  const { __scopeSelect: n, nonce: o, ...r } = e, i = Ie(pn, n), s = Dn(pn, n), a = Z(t, i.onViewportChange), u = l.useRef(0);
5578
5581
  return /* @__PURE__ */ E(ze, { children: [
@@ -5586,7 +5589,7 @@ var [Jd, Dn] = et(Fe, {}), pn = "SelectViewport", mi = l.forwardRef(
5586
5589
  }
5587
5590
  ),
5588
5591
  /* @__PURE__ */ c(Ht.Slot, { scope: n, children: /* @__PURE__ */ c(
5589
- F.div,
5592
+ B.div,
5590
5593
  {
5591
5594
  "data-radix-select-viewport": "",
5592
5595
  role: "presentation",
@@ -5628,14 +5631,14 @@ mi.displayName = pn;
5628
5631
  var gi = "SelectGroup", [ef, tf] = et(gi), nf = l.forwardRef(
5629
5632
  (e, t) => {
5630
5633
  const { __scopeSelect: n, ...o } = e, r = Oe();
5631
- return /* @__PURE__ */ c(ef, { scope: n, id: r, children: /* @__PURE__ */ c(F.div, { role: "group", "aria-labelledby": r, ...o, ref: t }) });
5634
+ return /* @__PURE__ */ c(ef, { scope: n, id: r, children: /* @__PURE__ */ c(B.div, { role: "group", "aria-labelledby": r, ...o, ref: t }) });
5632
5635
  }
5633
5636
  );
5634
5637
  nf.displayName = gi;
5635
5638
  var vi = "SelectLabel", of = l.forwardRef(
5636
5639
  (e, t) => {
5637
5640
  const { __scopeSelect: n, ...o } = e, r = tf(vi, n);
5638
- return /* @__PURE__ */ c(F.div, { id: r.id, ...o, ref: t });
5641
+ return /* @__PURE__ */ c(B.div, { id: r.id, ...o, ref: t });
5639
5642
  }
5640
5643
  );
5641
5644
  of.displayName = vi;
@@ -5676,7 +5679,7 @@ var kt = "SelectItem", [rf, Ci] = et(kt), yi = l.forwardRef(
5676
5679
  disabled: r,
5677
5680
  textValue: f,
5678
5681
  children: /* @__PURE__ */ c(
5679
- F.div,
5682
+ B.div,
5680
5683
  {
5681
5684
  role: "option",
5682
5685
  "aria-labelledby": p,
@@ -5728,8 +5731,8 @@ var ot = "SelectItemText", wi = l.forwardRef(
5728
5731
  () => /* @__PURE__ */ c("option", { value: u.value, disabled: u.disabled, children: g }, u.value),
5729
5732
  [u.disabled, u.value, g]
5730
5733
  ), { onNativeOptionAdd: p, onNativeOptionRemove: m } = d;
5731
- return Y(() => (p(y), () => m(y)), [p, m, y]), /* @__PURE__ */ E(ze, { children: [
5732
- /* @__PURE__ */ c(F.span, { id: u.textId, ...i, ref: v }),
5734
+ return q(() => (p(y), () => m(y)), [p, m, y]), /* @__PURE__ */ E(ze, { children: [
5735
+ /* @__PURE__ */ c(B.span, { id: u.textId, ...i, ref: v }),
5733
5736
  u.isSelected && s.valueNode && !s.valueNodeHasChildren ? It.createPortal(i.children, s.valueNode) : null
5734
5737
  ] });
5735
5738
  }
@@ -5738,13 +5741,13 @@ wi.displayName = ot;
5738
5741
  var _i = "SelectItemIndicator", sf = l.forwardRef(
5739
5742
  (e, t) => {
5740
5743
  const { __scopeSelect: n, ...o } = e;
5741
- return Ci(_i, n).isSelected ? /* @__PURE__ */ c(F.span, { "aria-hidden": !0, ...o, ref: t }) : null;
5744
+ return Ci(_i, n).isSelected ? /* @__PURE__ */ c(B.span, { "aria-hidden": !0, ...o, ref: t }) : null;
5742
5745
  }
5743
5746
  );
5744
5747
  sf.displayName = _i;
5745
5748
  var hn = "SelectScrollUpButton", af = l.forwardRef((e, t) => {
5746
5749
  const n = Ie(hn, e.__scopeSelect), o = Dn(hn, e.__scopeSelect), [r, i] = l.useState(!1), s = Z(t, o.onScrollButtonChange);
5747
- return Y(() => {
5750
+ return q(() => {
5748
5751
  if (n.viewport && n.isPositioned) {
5749
5752
  let a = function() {
5750
5753
  const d = u.scrollTop > 0;
@@ -5768,7 +5771,7 @@ var hn = "SelectScrollUpButton", af = l.forwardRef((e, t) => {
5768
5771
  af.displayName = hn;
5769
5772
  var mn = "SelectScrollDownButton", cf = l.forwardRef((e, t) => {
5770
5773
  const n = Ie(mn, e.__scopeSelect), o = Dn(mn, e.__scopeSelect), [r, i] = l.useState(!1), s = Z(t, o.onScrollButtonChange);
5771
- return Y(() => {
5774
+ return q(() => {
5772
5775
  if (n.viewport && n.isPositioned) {
5773
5776
  let a = function() {
5774
5777
  const d = u.scrollHeight - u.clientHeight, f = Math.ceil(u.scrollTop) < d;
@@ -5794,10 +5797,10 @@ var bi = l.forwardRef((e, t) => {
5794
5797
  const { __scopeSelect: n, onAutoScroll: o, ...r } = e, i = Ie("SelectScrollButton", n), s = l.useRef(null), a = Vt(n), u = l.useCallback(() => {
5795
5798
  s.current !== null && (window.clearInterval(s.current), s.current = null);
5796
5799
  }, []);
5797
- return l.useEffect(() => () => u(), [u]), Y(() => {
5800
+ return l.useEffect(() => () => u(), [u]), q(() => {
5798
5801
  a().find((f) => f.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
5799
5802
  }, [a]), /* @__PURE__ */ c(
5800
- F.div,
5803
+ B.div,
5801
5804
  {
5802
5805
  "aria-hidden": !0,
5803
5806
  ...r,
@@ -5817,7 +5820,7 @@ var bi = l.forwardRef((e, t) => {
5817
5820
  }), lf = "SelectSeparator", uf = l.forwardRef(
5818
5821
  (e, t) => {
5819
5822
  const { __scopeSelect: n, ...o } = e;
5820
- return /* @__PURE__ */ c(F.div, { "aria-hidden": !0, ...o, ref: t });
5823
+ return /* @__PURE__ */ c(B.div, { "aria-hidden": !0, ...o, ref: t });
5821
5824
  }
5822
5825
  );
5823
5826
  uf.displayName = lf;
@@ -5843,7 +5846,7 @@ var ff = "SelectBubbleInput", xi = l.forwardRef(
5843
5846
  f.call(a, t), a.dispatchEvent(h);
5844
5847
  }
5845
5848
  }, [s, t]), /* @__PURE__ */ c(
5846
- F.select,
5849
+ B.select,
5847
5850
  {
5848
5851
  ...n,
5849
5852
  style: { ...oi, ...n.style },
@@ -5884,7 +5887,7 @@ function pf(e, t) {
5884
5887
  return e.map((n, o) => e[(t + o) % e.length]);
5885
5888
  }
5886
5889
  var hf = ri, mf = si, gf = ci, vf = li, Cf = ui, yf = di, wf = mi, _f = yi, bf = wi;
5887
- const xf = "_root_1qyg8_1", Sf = "_label_1qyg8_8", Ef = "_trigger_1qyg8_16", Rf = "_error_1qyg8_46", Lf = "_icon_1qyg8_51", kf = "_content_1qyg8_58", Nf = "_viewport_1qyg8_71", If = "_item_1qyg8_75", Pf = "_errorText_1qyg8_99", ve = {
5890
+ const xf = "_root_1qyg8_1", Sf = "_label_1qyg8_8", Ef = "_trigger_1qyg8_16", Rf = "_error_1qyg8_46", Lf = "_icon_1qyg8_51", kf = "_content_1qyg8_58", Nf = "_viewport_1qyg8_71", If = "_item_1qyg8_75", Pf = "_errorText_1qyg8_99", Ce = {
5888
5891
  root: xf,
5889
5892
  label: Sf,
5890
5893
  trigger: Ef,
@@ -5896,35 +5899,35 @@ const xf = "_root_1qyg8_1", Sf = "_label_1qyg8_8", Ef = "_trigger_1qyg8_16", Rf
5896
5899
  errorText: Pf
5897
5900
  }, Af = ce(
5898
5901
  ({ data: e, placeholder: t, label: n, error: o, className: r, value: i, onChange: s, ...a }, u) => {
5899
- const d = Ye();
5900
- return /* @__PURE__ */ E("div", { className: A(ve.root, r), children: [
5901
- n && /* @__PURE__ */ c("label", { htmlFor: d, className: ve.label, children: n }),
5902
+ const d = qe();
5903
+ return /* @__PURE__ */ E("div", { className: A(Ce.root, r), children: [
5904
+ n && /* @__PURE__ */ c("label", { htmlFor: d, className: Ce.label, children: n }),
5902
5905
  /* @__PURE__ */ E(hf, { value: i, onValueChange: s, ...a, children: [
5903
5906
  /* @__PURE__ */ E(
5904
5907
  mf,
5905
5908
  {
5906
5909
  ref: u,
5907
5910
  id: d,
5908
- className: A(ve.trigger, {
5909
- [ve.error]: !!o
5911
+ className: A(Ce.trigger, {
5912
+ [Ce.error]: !!o
5910
5913
  }),
5911
5914
  children: [
5912
5915
  /* @__PURE__ */ c(gf, { placeholder: t }),
5913
- /* @__PURE__ */ c(vf, { asChild: !0, children: /* @__PURE__ */ c(yo, { className: ve.icon }) })
5916
+ /* @__PURE__ */ c(vf, { asChild: !0, children: /* @__PURE__ */ c(yo, { className: Ce.icon }) })
5914
5917
  ]
5915
5918
  }
5916
5919
  ),
5917
- /* @__PURE__ */ c(Cf, { children: /* @__PURE__ */ c(yf, { className: ve.content, position: "popper", sideOffset: 4, children: /* @__PURE__ */ c(wf, { className: ve.viewport, children: e.map((f) => /* @__PURE__ */ c(
5920
+ /* @__PURE__ */ c(Cf, { children: /* @__PURE__ */ c(yf, { className: Ce.content, position: "popper", sideOffset: 4, children: /* @__PURE__ */ c(wf, { className: Ce.viewport, children: e.map((f) => /* @__PURE__ */ c(
5918
5921
  _f,
5919
5922
  {
5920
5923
  value: f.value,
5921
- className: ve.item,
5924
+ className: Ce.item,
5922
5925
  children: /* @__PURE__ */ c(bf, { children: f.label })
5923
5926
  },
5924
5927
  f.value
5925
5928
  )) }) }) })
5926
5929
  ] }),
5927
- o && /* @__PURE__ */ c("div", { className: ve.errorText, children: o })
5930
+ o && /* @__PURE__ */ c("div", { className: Ce.errorText, children: o })
5928
5931
  ] });
5929
5932
  }
5930
5933
  );
@@ -5935,7 +5938,7 @@ const Mf = "_text_18ys9_1", Tf = "_s_18ys9_5", Of = "_m_18ys9_10", Df = "_dark_1
5935
5938
  m: Of,
5936
5939
  dark: Df,
5937
5940
  light: $f
5938
- }, Bf = ({
5941
+ }, Ff = ({
5939
5942
  component: e = "p",
5940
5943
  size: t = "m",
5941
5944
  color: n = "dark",
@@ -5946,9 +5949,9 @@ const Mf = "_text_18ys9_1", Tf = "_s_18ys9_5", Of = "_m_18ys9_10", Df = "_dark_1
5946
5949
  const s = A(rn.text, rn[t], rn[n], o);
5947
5950
  return vo(e, { className: s, ...i }, r);
5948
5951
  };
5949
- Bf.displayName = "Text";
5950
- const Ff = "_wrapper_122rz_1", Wf = "_label_122rz_9", Hf = "_container_122rz_17", Vf = "_textarea_122rz_23", jf = "_error_122rz_59", Uf = "_s_122rz_63", Zf = "_m_122rz_66", Gf = "_errorText_122rz_70", Te = {
5951
- wrapper: Ff,
5952
+ Ff.displayName = "Text";
5953
+ const Bf = "_wrapper_122rz_1", Wf = "_label_122rz_9", Hf = "_container_122rz_17", Vf = "_textarea_122rz_23", jf = "_error_122rz_59", Uf = "_s_122rz_63", Zf = "_m_122rz_66", Gf = "_errorText_122rz_70", Te = {
5954
+ wrapper: Bf,
5952
5955
  label: Wf,
5953
5956
  container: Hf,
5954
5957
  textarea: Vf,
@@ -5958,7 +5961,7 @@ const Ff = "_wrapper_122rz_1", Wf = "_label_122rz_9", Hf = "_container_122rz_17"
5958
5961
  errorText: Gf
5959
5962
  }, zf = ce(
5960
5963
  ({ label: e, error: t, className: n = "", disabled: o, value: r, defaultValue: i, onChange: s, size: a = "m", ...u }, d) => {
5961
- const f = Ye(), h = Nt(null);
5964
+ const f = qe(), h = Nt(null);
5962
5965
  vn(d, () => h.current);
5963
5966
  const v = r !== void 0, g = (m) => {
5964
5967
  s?.(m);
@@ -5985,15 +5988,15 @@ const Ff = "_wrapper_122rz_1", Wf = "_label_122rz_9", Hf = "_container_122rz_17"
5985
5988
  }
5986
5989
  );
5987
5990
  zf.displayName = "Textarea";
5988
- const Kf = "_button_1hm1n_1", qf = {
5991
+ const Kf = "_button_1hm1n_1", Yf = {
5989
5992
  button: Kf
5990
- }, Yf = ce(
5993
+ }, qf = ce(
5991
5994
  ({ asChild: e = !1, className: t, ...n }, o) => {
5992
- const r = e ? Cn : "button", i = A(qf.button, t);
5995
+ const r = e ? Cn : "button", i = A(Yf.button, t);
5993
5996
  return /* @__PURE__ */ c(r, { ref: o, className: i, ...n });
5994
5997
  }
5995
5998
  );
5996
- Yf.displayName = "UnstyledButton";
5999
+ qf.displayName = "UnstyledButton";
5997
6000
  export {
5998
6001
  Eo as AddIcon,
5999
6002
  Hi as AddMediaIcon,
@@ -6002,10 +6005,10 @@ export {
6002
6005
  Vi as ArrowLeftIcon,
6003
6006
  wo as ArrowRightIcon,
6004
6007
  ji as ArrowUpIcon,
6005
- Bi as Avatar,
6008
+ Fi as Avatar,
6006
6009
  ts as BackPhotoIcon,
6007
6010
  Es as Breadcrumbs,
6008
- Ys as Button,
6011
+ qs as Button,
6009
6012
  ns as CalendarIcon,
6010
6013
  _o as CheckmarkIcon,
6011
6014
  os as CircleAddIcon,
@@ -6034,36 +6037,37 @@ export {
6034
6037
  cs as GoogleIcon,
6035
6038
  Rl as Heading,
6036
6039
  P as Icon,
6037
- Yl as ImageUpload,
6040
+ ql as ImageUpload,
6038
6041
  Dl as ImagesUpload,
6039
6042
  f1 as Input,
6040
6043
  fr as Link,
6041
6044
  ls as LogOutIcon,
6042
6045
  Ro as LogoIcon,
6043
6046
  Ki as LongArrowLeftIcon,
6044
- qi as LongArrowRightIcon,
6047
+ Yi as LongArrowRightIcon,
6045
6048
  i0 as Modal,
6046
6049
  a0 as ModalClose,
6047
6050
  c0 as ModalContent,
6048
6051
  b1 as ModalDescription,
6052
+ l0 as ModalFooter,
6049
6053
  _1 as ModalTitle,
6050
6054
  s0 as ModalTrigger,
6051
6055
  us as MsgIcon,
6052
6056
  ds as PersonalcardIcon,
6053
- Yi as PlusIcon,
6057
+ qi as PlusIcon,
6054
6058
  cu as RadioGroup,
6055
6059
  Xi as RegenerateIcon,
6056
6060
  fs as ReverseIcon,
6057
6061
  Qi as SearchIcon,
6058
- l0 as SectionContainer,
6062
+ u0 as SectionContainer,
6059
6063
  Af as Select,
6060
6064
  ps as StarIcon,
6061
- Bf as Text,
6065
+ Ff as Text,
6062
6066
  zf as Textarea,
6063
6067
  Lo as Tg2Icon,
6064
6068
  hs as TgIcon,
6065
6069
  Ji as TimeIcon,
6066
- Yf as UnstyledButton,
6070
+ qf as UnstyledButton,
6067
6071
  ms as UserIcon,
6068
6072
  gs as VkIcon,
6069
6073
  vs as WatchIcon,