@qodo/design-system 0.18.0 → 0.18.2

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.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as d from "react";
2
2
  import F, { forwardRef as Ie, createElement as ln, useLayoutEffect as Wi, useState as Te, createContext as ca, useContext as da, useRef as be, useEffect as ut, useMemo as cn, memo as Nm, isValidElement as Tm, Children as _m, cloneElement as Am, useId as Im, useCallback as Se } from "react";
3
- import * as kn from "react-dom";
3
+ import * as Rn from "react-dom";
4
4
  import Mm, { flushSync as ua } from "react-dom";
5
- const nR = {
5
+ const nk = {
6
6
  primary: {
7
7
  50: "#eff6ff",
8
8
  100: "#dbeafe",
@@ -27,19 +27,19 @@ const nR = {
27
27
  500: "#ef4444",
28
28
  600: "#dc2626"
29
29
  }
30
- }, oR = {
30
+ }, ok = {
31
31
  xs: "0.25rem",
32
32
  sm: "0.5rem",
33
33
  md: "1rem",
34
34
  lg: "1.5rem",
35
35
  xl: "2rem",
36
36
  "2xl": "3rem"
37
- }, aR = {
37
+ }, ak = {
38
38
  sm: "0.25rem",
39
39
  md: "0.375rem",
40
40
  lg: "0.5rem",
41
41
  xl: "0.75rem"
42
- }, sR = {
42
+ }, sk = {
43
43
  fontFamily: {
44
44
  sans: ["Inter", "system-ui", "sans-serif"],
45
45
  mono: ["JetBrains Mono", "monospace"]
@@ -63,10 +63,10 @@ var Hr = { exports: {} }, pr = {};
63
63
  * This source code is licensed under the MIT license found in the
64
64
  * LICENSE file in the root directory of this source tree.
65
65
  */
66
- var ks;
66
+ var Rs;
67
67
  function Om() {
68
- if (ks) return pr;
69
- ks = 1;
68
+ if (Rs) return pr;
69
+ Rs = 1;
70
70
  var e = F, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
71
71
  function i(l, c, u) {
72
72
  var f, p = {}, g = null, m = null;
@@ -87,9 +87,9 @@ var mr = {};
87
87
  * This source code is licensed under the MIT license found in the
88
88
  * LICENSE file in the root directory of this source tree.
89
89
  */
90
- var Rs;
90
+ var ks;
91
91
  function Dm() {
92
- return Rs || (Rs = 1, process.env.NODE_ENV !== "production" && (function() {
92
+ return ks || (ks = 1, process.env.NODE_ENV !== "production" && (function() {
93
93
  var e = F, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), b = Symbol.iterator, v = "@@iterator";
94
94
  function x(w) {
95
95
  if (w === null || typeof w != "object")
@@ -115,10 +115,10 @@ function Dm() {
115
115
  fe.unshift("Warning: " + D), Function.prototype.apply.call(console[w], console, fe);
116
116
  }
117
117
  }
118
- var S = !1, k = !1, P = !1, N = !1, j = !1, V;
118
+ var S = !1, R = !1, P = !1, N = !1, j = !1, V;
119
119
  V = Symbol.for("react.module.reference");
120
120
  function H(w) {
121
- return !!(typeof w == "string" || typeof w == "function" || w === n || w === a || j || w === o || w === u || w === f || N || w === m || S || k || P || typeof w == "object" && w !== null && (w.$$typeof === g || w.$$typeof === p || w.$$typeof === i || w.$$typeof === l || w.$$typeof === c || // This needs to include all possible module reference object
121
+ return !!(typeof w == "string" || typeof w == "function" || w === n || w === a || j || w === o || w === u || w === f || N || w === m || S || R || P || typeof w == "object" && w !== null && (w.$$typeof === g || w.$$typeof === p || w.$$typeof === i || w.$$typeof === l || w.$$typeof === c || // This needs to include all possible module reference object
122
122
  // types supported by any Flight configuration anywhere since
123
123
  // we don't know which Flight build this will end up being used
124
124
  // with.
@@ -328,10 +328,10 @@ function Dm() {
328
328
  } finally {
329
329
  ee = !1, $.current = fe, z(), Error.prepareStackTrace = ue;
330
330
  }
331
- var Gt = w ? w.displayName || w.name : "", Rt = Gt ? K(Gt) : "";
332
- return typeof w == "function" && oe.set(w, Rt), Rt;
331
+ var Gt = w ? w.displayName || w.name : "", kt = Gt ? K(Gt) : "";
332
+ return typeof w == "function" && oe.set(w, kt), kt;
333
333
  }
334
- function Re(w, D, U) {
334
+ function ke(w, D, U) {
335
335
  return ie(w, !1);
336
336
  }
337
337
  function Oe(w) {
@@ -354,7 +354,7 @@ function Dm() {
354
354
  if (typeof w == "object")
355
355
  switch (w.$$typeof) {
356
356
  case c:
357
- return Re(w.render);
357
+ return ke(w.render);
358
358
  case p:
359
359
  return Ue(w.type, D, U);
360
360
  case g: {
@@ -651,17 +651,17 @@ Check the top-level render call using <` + U + ">.");
651
651
  Cs(De, w);
652
652
  }
653
653
  if (Le.call(D, "key")) {
654
- var Rt = Q(w), Pe = Object.keys(D).filter(function(Pm) {
654
+ var kt = Q(w), Pe = Object.keys(D).filter(function(Pm) {
655
655
  return Pm !== "key";
656
656
  }), go = Pe.length > 0 ? "{key: someKey, " + Pe.join(": ..., ") + ": ...}" : "{key: someKey}";
657
- if (!Ss[Rt + go]) {
657
+ if (!Ss[kt + go]) {
658
658
  var jm = Pe.length > 0 ? "{" + Pe.join(": ..., ") + ": ...}" : "{}";
659
659
  h(`A props object containing a "key" prop is being spread into JSX:
660
660
  let props = %s;
661
661
  <%s {...props} />
662
662
  React keys must be passed directly to JSX without using spread:
663
663
  let props = %s;
664
- <%s key={someKey} {...props} />`, go, Rt, jm, Rt), Ss[Rt + go] = !0;
664
+ <%s key={someKey} {...props} />`, go, kt, jm, kt), Ss[kt + go] = !0;
665
665
  }
666
666
  }
667
667
  return w === n ? Cm(he) : wm(he), he;
@@ -673,8 +673,8 @@ React keys must be passed directly to JSX without using spread:
673
673
  function Em(w, D, U) {
674
674
  return Es(w, D, U, !1);
675
675
  }
676
- var km = Em, Rm = Sm;
677
- mr.Fragment = n, mr.jsx = km, mr.jsxs = Rm;
676
+ var Rm = Em, km = Sm;
677
+ mr.Fragment = n, mr.jsx = Rm, mr.jsxs = km;
678
678
  })()), mr;
679
679
  }
680
680
  var js;
@@ -695,7 +695,7 @@ function qi() {
695
695
  for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = zi(e)) && (n && (n += " "), n += t);
696
696
  return n;
697
697
  }
698
- const Ps = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = qi, Rn = (e, t) => (r) => {
698
+ const Ps = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = qi, kn = (e, t) => (r) => {
699
699
  var n;
700
700
  if ((t == null ? void 0 : t.variants) == null) return Ns(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
701
701
  const { variants: o, defaultVariants: a } = t, i = Object.keys(o).map((u) => {
@@ -923,9 +923,9 @@ const Ps = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = qi, R
923
923
  if (i.includes(S))
924
924
  continue;
925
925
  i.push(S);
926
- const k = o(y, x);
927
- for (let P = 0; P < k.length; ++P) {
928
- const N = k[P];
926
+ const R = o(y, x);
927
+ for (let P = 0; P < R.length; ++P) {
928
+ const N = R[P];
929
929
  i.push(C + N);
930
930
  }
931
931
  c = f + (c.length > 0 ? " " + c : c);
@@ -996,7 +996,7 @@ const xe = (e) => {
996
996
  "bottom-left",
997
997
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
998
998
  "left-bottom"
999
- ], k = () => [...S(), X, Y], P = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], j = () => [X, Y, c], V = () => [Wt, "full", "auto", ...j()], H = () => [lt, "none", "subgrid", X, Y], re = () => ["auto", {
999
+ ], R = () => [...S(), X, Y], P = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], j = () => [X, Y, c], V = () => [Wt, "full", "auto", ...j()], H = () => [lt, "none", "subgrid", X, Y], re = () => ["auto", {
1000
1000
  span: ["full", lt, X, Y]
1001
1001
  }, lt, X, Y], te = () => [lt, "auto", X, Y], Q = () => ["auto", "min", "max", "fr", X, Y], W = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], A = () => ["auto", ...j()], M = () => [Wt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...j()], E = () => [e, X, Y], I = () => [...S(), Is, As, {
1002
1002
  position: [X, Y]
@@ -1143,7 +1143,7 @@ const xe = (e) => {
1143
1143
  * @see https://tailwindcss.com/docs/object-position
1144
1144
  */
1145
1145
  "object-position": [{
1146
- object: k()
1146
+ object: R()
1147
1147
  }],
1148
1148
  /**
1149
1149
  * Overflow
@@ -2959,7 +2959,7 @@ const xe = (e) => {
2959
2959
  * @see https://tailwindcss.com/docs/perspective-origin
2960
2960
  */
2961
2961
  "perspective-origin": [{
2962
- "perspective-origin": k()
2962
+ "perspective-origin": R()
2963
2963
  }],
2964
2964
  /**
2965
2965
  * Rotate
@@ -3055,7 +3055,7 @@ const xe = (e) => {
3055
3055
  * @see https://tailwindcss.com/docs/transform-origin
3056
3056
  */
3057
3057
  "transform-origin": [{
3058
- origin: k()
3058
+ origin: R()
3059
3059
  }],
3060
3060
  /**
3061
3061
  * Transform Style
@@ -3448,7 +3448,7 @@ const xe = (e) => {
3448
3448
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3449
3449
  };
3450
3450
  }, hg = /* @__PURE__ */ Zm(vg);
3451
- function R(...e) {
3451
+ function k(...e) {
3452
3452
  return hg(qi(e));
3453
3453
  }
3454
3454
  function xg(e, t, r) {
@@ -3558,14 +3558,14 @@ const Eg = [
3558
3558
  ["path", { d: "M17 20V4", key: "1ejh1v" }],
3559
3559
  ["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
3560
3560
  ["path", { d: "M7 4v16", key: "1glfcx" }]
3561
- ], kg = ge("arrow-up-down", Eg);
3561
+ ], Rg = ge("arrow-up-down", Eg);
3562
3562
  /**
3563
3563
  * @license lucide-react v0.525.0 - ISC
3564
3564
  *
3565
3565
  * This source code is licensed under the ISC license.
3566
3566
  * See the LICENSE file in the root directory of this source tree.
3567
3567
  */
3568
- const Rg = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], ar = ge("check", Rg);
3568
+ const kg = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], ar = ge("check", kg);
3569
3569
  /**
3570
3570
  * @license lucide-react v0.525.0 - ISC
3571
3571
  *
@@ -3761,7 +3761,7 @@ const ov = [
3761
3761
  const sv = [
3762
3762
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
3763
3763
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
3764
- ], Pn = ge("x", sv), il = Rn(
3764
+ ], Pn = ge("x", sv), il = kn(
3765
3765
  "qodo qodo-button inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none cursor-pointer",
3766
3766
  {
3767
3767
  variants: {
@@ -3790,7 +3790,7 @@ const sv = [
3790
3790
  ({ className: e, variant: t, size: r, loading: n, children: o, disabled: a, ...i }, l) => /* @__PURE__ */ s.jsxs(
3791
3791
  "button",
3792
3792
  {
3793
- className: R(il({ variant: t, size: r, className: e })),
3793
+ className: k(il({ variant: t, size: r, className: e })),
3794
3794
  ref: l,
3795
3795
  disabled: a || n,
3796
3796
  ...i,
@@ -3802,7 +3802,7 @@ const sv = [
3802
3802
  )
3803
3803
  );
3804
3804
  ft.displayName = "Button";
3805
- const iv = Rn(
3805
+ const iv = kn(
3806
3806
  "qodo qodo-input file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground border-input-neutral-idle flex h-9 w-full min-w-0 rounded-md border bg-fill-input-neutral-idle px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-purple-muted-700 disabled:border-purple-muted-500 disabled:text-purple-muted-400 read-only:bg-purple-muted-700 read-only:border-purple-muted-400 read-only:cursor-default read-only:text-purple-muted-200 md:text-sm dark:border-input-neutral-idle dark:bg-fill-input-neutral-idle dark:text-foreground dark:placeholder:text-muted-foreground",
3807
3807
  {
3808
3808
  variants: {
@@ -3827,7 +3827,7 @@ const iv = Rn(
3827
3827
  type: r,
3828
3828
  "data-slot": "input",
3829
3829
  "aria-invalid": n || void 0,
3830
- className: R(iv({ variant: t, className: e })),
3830
+ className: k(iv({ variant: t, className: e })),
3831
3831
  ...o
3832
3832
  }
3833
3833
  )
@@ -3998,8 +3998,8 @@ function Tn(e) {
3998
3998
  u.displayName = l;
3999
3999
  const f = e + "CollectionItemSlot", p = "data-radix-collection-item", g = /* @__PURE__ */ pt(f), m = F.forwardRef(
4000
4000
  (v, x) => {
4001
- const { scope: y, children: h, ...C } = v, S = F.useRef(null), k = ae(x, S), P = a(f, y);
4002
- return F.useEffect(() => (P.itemMap.set(S, { ref: S, ...C }), () => void P.itemMap.delete(S))), /* @__PURE__ */ s.jsx(g, { [p]: "", ref: k, children: h });
4001
+ const { scope: y, children: h, ...C } = v, S = F.useRef(null), R = ae(x, S), P = a(f, y);
4002
+ return F.useEffect(() => (P.itemMap.set(S, { ref: S, ...C }), () => void P.itemMap.delete(S))), /* @__PURE__ */ s.jsx(g, { [p]: "", ref: R, children: h });
4003
4003
  }
4004
4004
  );
4005
4005
  m.displayName = f;
@@ -4051,7 +4051,7 @@ var hv = [
4051
4051
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
4052
4052
  }, {});
4053
4053
  function cl(e, t) {
4054
- e && kn.flushSync(() => e.dispatchEvent(t));
4054
+ e && Rn.flushSync(() => e.dispatchEvent(t));
4055
4055
  }
4056
4056
  function Ve(e) {
4057
4057
  const t = d.useRef(e);
@@ -4085,10 +4085,10 @@ var bv = "DismissableLayer", Vo = "dismissableLayer.update", yv = "dismissableLa
4085
4085
  onInteractOutside: i,
4086
4086
  onDismiss: l,
4087
4087
  ...c
4088
- } = e, u = d.useContext(dl), [f, p] = d.useState(null), g = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = d.useState({}), b = ae(t, (N) => p(N)), v = Array.from(u.layers), [x] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), y = v.indexOf(x), h = f ? v.indexOf(f) : -1, C = u.layersWithOutsidePointerEventsDisabled.size > 0, S = h >= y, k = Ev((N) => {
4088
+ } = e, u = d.useContext(dl), [f, p] = d.useState(null), g = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = d.useState({}), b = ae(t, (N) => p(N)), v = Array.from(u.layers), [x] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), y = v.indexOf(x), h = f ? v.indexOf(f) : -1, C = u.layersWithOutsidePointerEventsDisabled.size > 0, S = h >= y, R = Ev((N) => {
4089
4089
  const j = N.target, V = [...u.branches].some((H) => H.contains(j));
4090
4090
  !S || V || (o == null || o(N), i == null || i(N), N.defaultPrevented || l == null || l());
4091
- }, g), P = kv((N) => {
4091
+ }, g), P = Rv((N) => {
4092
4092
  const j = N.target;
4093
4093
  [...u.branches].some((H) => H.contains(j)) || (a == null || a(N), i == null || i(N), N.defaultPrevented || l == null || l());
4094
4094
  }, g);
@@ -4117,7 +4117,7 @@ var bv = "DismissableLayer", Vo = "dismissableLayer.update", yv = "dismissableLa
4117
4117
  onBlurCapture: L(e.onBlurCapture, P.onBlurCapture),
4118
4118
  onPointerDownCapture: L(
4119
4119
  e.onPointerDownCapture,
4120
- k.onPointerDownCapture
4120
+ R.onPointerDownCapture
4121
4121
  )
4122
4122
  }
4123
4123
  );
@@ -4165,7 +4165,7 @@ function Ev(e, t = globalThis == null ? void 0 : globalThis.document) {
4165
4165
  onPointerDownCapture: () => n.current = !0
4166
4166
  };
4167
4167
  }
4168
- function kv(e, t = globalThis == null ? void 0 : globalThis.document) {
4168
+ function Rv(e, t = globalThis == null ? void 0 : globalThis.document) {
4169
4169
  const r = Ve(e), n = d.useRef(!1);
4170
4170
  return d.useEffect(() => {
4171
4171
  const o = (a) => {
@@ -4200,7 +4200,7 @@ function Fs() {
4200
4200
  const e = document.createElement("span");
4201
4201
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
4202
4202
  }
4203
- var bo = "focusScope.autoFocusOnMount", yo = "focusScope.autoFocusOnUnmount", Vs = { bubbles: !1, cancelable: !0 }, Rv = "FocusScope", _r = d.forwardRef((e, t) => {
4203
+ var bo = "focusScope.autoFocusOnMount", yo = "focusScope.autoFocusOnUnmount", Vs = { bubbles: !1, cancelable: !0 }, kv = "FocusScope", _r = d.forwardRef((e, t) => {
4204
4204
  const {
4205
4205
  loop: r = !1,
4206
4206
  trapped: n = !1,
@@ -4228,8 +4228,8 @@ var bo = "focusScope.autoFocusOnMount", yo = "focusScope.autoFocusOnUnmount", Vs
4228
4228
  S !== null && (l.contains(S) || ct(p.current, { select: !0 }));
4229
4229
  }, y = function(C) {
4230
4230
  if (document.activeElement === document.body)
4231
- for (const k of C)
4232
- k.removedNodes.length > 0 && ct(l);
4231
+ for (const R of C)
4232
+ R.removedNodes.length > 0 && ct(l);
4233
4233
  };
4234
4234
  document.addEventListener("focusin", v), document.addEventListener("focusout", x);
4235
4235
  const h = new MutationObserver(y);
@@ -4266,7 +4266,7 @@ var bo = "focusScope.autoFocusOnMount", yo = "focusScope.autoFocusOnUnmount", Vs
4266
4266
  );
4267
4267
  return /* @__PURE__ */ s.jsx(q.div, { tabIndex: -1, ...i, ref: g, onKeyDown: b });
4268
4268
  });
4269
- _r.displayName = Rv;
4269
+ _r.displayName = kv;
4270
4270
  function jv(e, { select: t = !1 } = {}) {
4271
4271
  const r = document.activeElement;
4272
4272
  for (const n of e)
@@ -4515,7 +4515,7 @@ const Uv = async (e, t, r) => {
4515
4515
  x: h,
4516
4516
  y: C,
4517
4517
  data: S,
4518
- reset: k
4518
+ reset: R
4519
4519
  } = await y({
4520
4520
  x: f,
4521
4521
  y: p,
@@ -4536,11 +4536,11 @@ const Uv = async (e, t, r) => {
4536
4536
  ...m[x],
4537
4537
  ...S
4538
4538
  }
4539
- }, k && b <= 50 && (b++, typeof k == "object" && (k.placement && (g = k.placement), k.rects && (u = k.rects === !0 ? await i.getElementRects({
4539
+ }, R && b <= 50 && (b++, typeof R == "object" && (R.placement && (g = R.placement), R.rects && (u = R.rects === !0 ? await i.getElementRects({
4540
4540
  reference: e,
4541
4541
  floating: t,
4542
4542
  strategy: o
4543
- }) : k.rects), {
4543
+ }) : R.rects), {
4544
4544
  x: f,
4545
4545
  y: p
4546
4546
  } = Us(u, g, c)), v = -1);
@@ -4553,7 +4553,7 @@ const Uv = async (e, t, r) => {
4553
4553
  middlewareData: m
4554
4554
  };
4555
4555
  };
4556
- async function kr(e, t) {
4556
+ async function Rr(e, t) {
4557
4557
  var r;
4558
4558
  t === void 0 && (t = {});
4559
4559
  const {
@@ -4585,17 +4585,17 @@ async function kr(e, t) {
4585
4585
  } : {
4586
4586
  x: 1,
4587
4587
  y: 1
4588
- }, k = fn(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
4588
+ }, R = fn(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
4589
4589
  elements: l,
4590
4590
  rect: h,
4591
4591
  offsetParent: C,
4592
4592
  strategy: c
4593
4593
  }) : h);
4594
4594
  return {
4595
- top: (y.top - k.top + b.top) / S.y,
4596
- bottom: (k.bottom - y.bottom + b.bottom) / S.y,
4597
- left: (y.left - k.left + b.left) / S.x,
4598
- right: (k.right - y.right + b.right) / S.x
4595
+ top: (y.top - R.top + b.top) / S.y,
4596
+ bottom: (R.bottom - y.bottom + b.bottom) / S.y,
4597
+ left: (y.left - R.left + b.left) / S.x,
4598
+ right: (R.right - y.right + b.right) / S.x
4599
4599
  };
4600
4600
  }
4601
4601
  const Hv = (e) => ({
@@ -4619,10 +4619,10 @@ const Hv = (e) => ({
4619
4619
  const p = pl(f), g = {
4620
4620
  x: r,
4621
4621
  y: n
4622
- }, m = ga(o), b = ma(m), v = await i.getDimensions(u), x = m === "y", y = x ? "top" : "left", h = x ? "bottom" : "right", C = x ? "clientHeight" : "clientWidth", S = a.reference[b] + a.reference[m] - g[m] - a.floating[b], k = g[m] - a.reference[m], P = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
4622
+ }, m = ga(o), b = ma(m), v = await i.getDimensions(u), x = m === "y", y = x ? "top" : "left", h = x ? "bottom" : "right", C = x ? "clientHeight" : "clientWidth", S = a.reference[b] + a.reference[m] - g[m] - a.floating[b], R = g[m] - a.reference[m], P = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
4623
4623
  let N = P ? P[C] : 0;
4624
4624
  (!N || !await (i.isElement == null ? void 0 : i.isElement(P))) && (N = l.floating[C] || a.floating[b]);
4625
- const j = S / 2 - k / 2, V = N / 2 - v[b] / 2 - 1, H = mt(p[y], V), re = mt(p[h], V), te = H, Q = N - v[b] - re, W = N / 2 - v[b] / 2 + j, O = Bo(te, W, Q), A = !c.arrow && ir(o) != null && W !== O && a.reference[b] / 2 - (W < te ? H : re) - v[b] / 2 < 0, M = A ? W < te ? W - te : W - Q : 0;
4625
+ const j = S / 2 - R / 2, V = N / 2 - v[b] / 2 - 1, H = mt(p[y], V), re = mt(p[h], V), te = H, Q = N - v[b] - re, W = N / 2 - v[b] / 2 + j, O = Bo(te, W, Q), A = !c.arrow && ir(o) != null && W !== O && a.reference[b] / 2 - (W < te ? H : re) - v[b] / 2 < 0, M = A ? W < te ? W - te : W - Q : 0;
4626
4626
  return {
4627
4627
  [m]: g[m] + M,
4628
4628
  data: {
@@ -4659,9 +4659,9 @@ const Hv = (e) => ({
4659
4659
  } = ot(e, t);
4660
4660
  if ((r = a.arrow) != null && r.alignmentOffset)
4661
4661
  return {};
4662
- const y = at(o), h = Xe(l), C = at(l) === l, S = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), k = g || (C || !v ? [un(l)] : Vv(l)), P = b !== "none";
4663
- !g && P && k.push(...zv(l, v, b, S));
4664
- const N = [l, ...k], j = await kr(t, x), V = [];
4662
+ const y = at(o), h = Xe(l), C = at(l) === l, S = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), R = g || (C || !v ? [un(l)] : Vv(l)), P = b !== "none";
4663
+ !g && P && R.push(...zv(l, v, b, S));
4664
+ const N = [l, ...R], j = await Rr(t, x), V = [];
4665
4665
  let H = ((n = a.flip) == null ? void 0 : n.overflows) || [];
4666
4666
  if (f && V.push(j[y]), p) {
4667
4667
  const W = Fv(o, i, S);
@@ -4741,7 +4741,7 @@ const Yv = function(e) {
4741
4741
  } = ot(e, t);
4742
4742
  switch (n) {
4743
4743
  case "referenceHidden": {
4744
- const a = await kr(t, {
4744
+ const a = await Rr(t, {
4745
4745
  ...o,
4746
4746
  elementContext: "reference"
4747
4747
  }), i = Hs(a, r.reference);
@@ -4753,7 +4753,7 @@ const Yv = function(e) {
4753
4753
  };
4754
4754
  }
4755
4755
  case "escaped": {
4756
- const a = await kr(t, {
4756
+ const a = await Rr(t, {
4757
4757
  ...o,
4758
4758
  altBoundary: !0
4759
4759
  }), i = Hs(a, r.floating);
@@ -4847,7 +4847,7 @@ const Zv = function(e) {
4847
4847
  } = ot(e, t), u = {
4848
4848
  x: r,
4849
4849
  y: n
4850
- }, f = await kr(t, c), p = Xe(at(o)), g = pa(p);
4850
+ }, f = await Rr(t, c), p = Xe(at(o)), g = pa(p);
4851
4851
  let m = u[g], b = u[p];
4852
4852
  if (a) {
4853
4853
  const x = g === "y" ? "top" : "left", y = g === "y" ? "bottom" : "right", h = m + f[x], C = m - f[y];
@@ -4903,13 +4903,13 @@ const Zv = function(e) {
4903
4903
  ...v
4904
4904
  };
4905
4905
  if (c) {
4906
- const C = g === "y" ? "height" : "width", S = a.reference[g] - a.floating[C] + x.mainAxis, k = a.reference[g] + a.reference[C] - x.mainAxis;
4907
- m < S ? m = S : m > k && (m = k);
4906
+ const C = g === "y" ? "height" : "width", S = a.reference[g] - a.floating[C] + x.mainAxis, R = a.reference[g] + a.reference[C] - x.mainAxis;
4907
+ m < S ? m = S : m > R && (m = R);
4908
4908
  }
4909
4909
  if (u) {
4910
4910
  var y, h;
4911
- const C = g === "y" ? "width" : "height", S = ml.has(at(o)), k = a.reference[p] - a.floating[C] + (S && ((y = i.offset) == null ? void 0 : y[p]) || 0) + (S ? 0 : x.crossAxis), P = a.reference[p] + a.reference[C] + (S ? 0 : ((h = i.offset) == null ? void 0 : h[p]) || 0) - (S ? x.crossAxis : 0);
4912
- b < k ? b = k : b > P && (b = P);
4911
+ const C = g === "y" ? "width" : "height", S = ml.has(at(o)), R = a.reference[p] - a.floating[C] + (S && ((y = i.offset) == null ? void 0 : y[p]) || 0) + (S ? 0 : x.crossAxis), P = a.reference[p] + a.reference[C] + (S ? 0 : ((h = i.offset) == null ? void 0 : h[p]) || 0) - (S ? x.crossAxis : 0);
4912
+ b < R ? b = R : b > P && (b = P);
4913
4913
  }
4914
4914
  return {
4915
4915
  [g]: m,
@@ -4932,14 +4932,14 @@ const Zv = function(e) {
4932
4932
  apply: c = () => {
4933
4933
  },
4934
4934
  ...u
4935
- } = ot(e, t), f = await kr(t, u), p = at(o), g = ir(o), m = Xe(o) === "y", {
4935
+ } = ot(e, t), f = await Rr(t, u), p = at(o), g = ir(o), m = Xe(o) === "y", {
4936
4936
  width: b,
4937
4937
  height: v
4938
4938
  } = a.floating;
4939
4939
  let x, y;
4940
4940
  p === "top" || p === "bottom" ? (x = p, y = g === (await (i.isRTL == null ? void 0 : i.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (y = p, x = g === "end" ? "top" : "bottom");
4941
- const h = v - f.top - f.bottom, C = b - f.left - f.right, S = mt(v - f[x], h), k = mt(b - f[y], C), P = !t.middlewareData.shift;
4942
- let N = S, j = k;
4941
+ const h = v - f.top - f.bottom, C = b - f.left - f.right, S = mt(v - f[x], h), R = mt(b - f[y], C), P = !t.middlewareData.shift;
4942
+ let N = S, j = R;
4943
4943
  if ((r = t.middlewareData.shift) != null && r.enabled.x && (j = C), (n = t.middlewareData.shift) != null && n.enabled.y && (N = h), P && !g) {
4944
4944
  const H = _e(f.left, 0), re = _e(f.right, 0), te = _e(f.top, 0), Q = _e(f.bottom, 0);
4945
4945
  m ? j = b - 2 * (H !== 0 || re !== 0 ? H + re : _e(f.left, f.right)) : N = v - 2 * (te !== 0 || Q !== 0 ? te + Q : _e(f.top, f.bottom));
@@ -5059,15 +5059,15 @@ function vl(e) {
5059
5059
  const t = gt(e);
5060
5060
  return er(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : Je(t) && Ar(t) ? t : vl(t);
5061
5061
  }
5062
- function Rr(e, t, r) {
5062
+ function kr(e, t, r) {
5063
5063
  var n;
5064
5064
  t === void 0 && (t = []), r === void 0 && (r = !0);
5065
5065
  const o = vl(e), a = o === ((n = e.ownerDocument) == null ? void 0 : n.body), i = Ae(o);
5066
5066
  if (a) {
5067
5067
  const l = Wo(i);
5068
- return t.concat(i, i.visualViewport || [], Ar(o) ? o : [], l && r ? Rr(l) : []);
5068
+ return t.concat(i, i.visualViewport || [], Ar(o) ? o : [], l && r ? kr(l) : []);
5069
5069
  }
5070
- return t.concat(o, Rr(o, [], r));
5070
+ return t.concat(o, kr(o, [], r));
5071
5071
  }
5072
5072
  function Wo(e) {
5073
5073
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
@@ -5243,7 +5243,7 @@ function xh(e, t) {
5243
5243
  const r = t.get(e);
5244
5244
  if (r)
5245
5245
  return r;
5246
- let n = Rr(e, [], !1).filter((l) => Be(l) && lr(l) !== "body"), o = null;
5246
+ let n = kr(e, [], !1).filter((l) => Be(l) && lr(l) !== "body"), o = null;
5247
5247
  const a = Ge(e).position === "fixed";
5248
5248
  let i = a ? gt(e) : e;
5249
5249
  for (; Be(i) && !er(i); ) {
@@ -5363,7 +5363,7 @@ const Eh = {
5363
5363
  function Cl(e, t) {
5364
5364
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
5365
5365
  }
5366
- function kh(e, t) {
5366
+ function Rh(e, t) {
5367
5367
  let r = null, n;
5368
5368
  const o = Qe(e);
5369
5369
  function a() {
@@ -5385,7 +5385,7 @@ function kh(e, t) {
5385
5385
  threshold: _e(0, mt(1, c)) || 1
5386
5386
  };
5387
5387
  let S = !0;
5388
- function k(P) {
5388
+ function R(P) {
5389
5389
  const N = P[0].intersectionRatio;
5390
5390
  if (N !== c) {
5391
5391
  if (!S)
@@ -5397,19 +5397,19 @@ function kh(e, t) {
5397
5397
  N === 1 && !Cl(u, e.getBoundingClientRect()) && i(), S = !1;
5398
5398
  }
5399
5399
  try {
5400
- r = new IntersectionObserver(k, {
5400
+ r = new IntersectionObserver(R, {
5401
5401
  ...C,
5402
5402
  // Handle <iframe>s
5403
5403
  root: o.ownerDocument
5404
5404
  });
5405
5405
  } catch {
5406
- r = new IntersectionObserver(k, C);
5406
+ r = new IntersectionObserver(R, C);
5407
5407
  }
5408
5408
  r.observe(e);
5409
5409
  }
5410
5410
  return i(!0), a;
5411
5411
  }
5412
- function Rh(e, t, r, n) {
5412
+ function kh(e, t, r, n) {
5413
5413
  n === void 0 && (n = {});
5414
5414
  const {
5415
5415
  ancestorScroll: o = !0,
@@ -5417,13 +5417,13 @@ function Rh(e, t, r, n) {
5417
5417
  elementResize: i = typeof ResizeObserver == "function",
5418
5418
  layoutShift: l = typeof IntersectionObserver == "function",
5419
5419
  animationFrame: c = !1
5420
- } = n, u = xa(e), f = o || a ? [...u ? Rr(u) : [], ...Rr(t)] : [];
5420
+ } = n, u = xa(e), f = o || a ? [...u ? kr(u) : [], ...kr(t)] : [];
5421
5421
  f.forEach((y) => {
5422
5422
  o && y.addEventListener("scroll", r, {
5423
5423
  passive: !0
5424
5424
  }), a && y.addEventListener("resize", r);
5425
5425
  });
5426
- const p = u && l ? kh(u, r) : null;
5426
+ const p = u && l ? Rh(u, r) : null;
5427
5427
  let g = -1, m = null;
5428
5428
  i && (m = new ResizeObserver((y) => {
5429
5429
  let [h] = y;
@@ -5530,7 +5530,7 @@ function Dh(e) {
5530
5530
  E !== P.current && (P.current = E, v(E));
5531
5531
  }, []), C = d.useCallback((E) => {
5532
5532
  E !== N.current && (N.current = E, y(E));
5533
- }, []), S = a || b, k = i || x, P = d.useRef(null), N = d.useRef(null), j = d.useRef(f), V = c != null, H = Co(c), re = Co(o), te = Co(u), Q = d.useCallback(() => {
5533
+ }, []), S = a || b, R = i || x, P = d.useRef(null), N = d.useRef(null), j = d.useRef(f), V = c != null, H = Co(c), re = Co(o), te = Co(u), Q = d.useCallback(() => {
5534
5534
  if (!P.current || !N.current)
5535
5535
  return;
5536
5536
  const E = {
@@ -5547,7 +5547,7 @@ function Dh(e) {
5547
5547
  // setting it to `true` when `open === false` (must be specified).
5548
5548
  isPositioned: te.current !== !1
5549
5549
  };
5550
- W.current && !pn(j.current, B) && (j.current = B, kn.flushSync(() => {
5550
+ W.current && !pn(j.current, B) && (j.current = B, Rn.flushSync(() => {
5551
5551
  p(B);
5552
5552
  }));
5553
5553
  });
@@ -5562,12 +5562,12 @@ function Dh(e) {
5562
5562
  nn(() => (W.current = !0, () => {
5563
5563
  W.current = !1;
5564
5564
  }), []), nn(() => {
5565
- if (S && (P.current = S), k && (N.current = k), S && k) {
5565
+ if (S && (P.current = S), R && (N.current = R), S && R) {
5566
5566
  if (H.current)
5567
- return H.current(S, k, Q);
5567
+ return H.current(S, R, Q);
5568
5568
  Q();
5569
5569
  }
5570
- }, [S, k, Q, H, V]);
5570
+ }, [S, R, Q, H, V]);
5571
5571
  const O = d.useMemo(() => ({
5572
5572
  reference: P,
5573
5573
  floating: N,
@@ -5575,8 +5575,8 @@ function Dh(e) {
5575
5575
  setFloating: C
5576
5576
  }), [h, C]), A = d.useMemo(() => ({
5577
5577
  reference: S,
5578
- floating: k
5579
- }), [S, k]), M = d.useMemo(() => {
5578
+ floating: R
5579
+ }), [S, R]), M = d.useMemo(() => {
5580
5580
  const E = {
5581
5581
  position: r,
5582
5582
  left: 0,
@@ -5687,14 +5687,14 @@ function Dn(e) {
5687
5687
  r(void 0);
5688
5688
  }, [e]), t;
5689
5689
  }
5690
- var ba = "Popper", [kl, ht] = we(ba), [Hh, Rl] = kl(ba), jl = (e) => {
5690
+ var ba = "Popper", [Rl, ht] = we(ba), [Hh, kl] = Rl(ba), jl = (e) => {
5691
5691
  const { __scopePopper: t, children: r } = e, [n, o] = d.useState(null);
5692
5692
  return /* @__PURE__ */ s.jsx(Hh, { scope: t, anchor: n, onAnchorChange: o, children: r });
5693
5693
  };
5694
5694
  jl.displayName = ba;
5695
5695
  var Pl = "PopperAnchor", Nl = d.forwardRef(
5696
5696
  (e, t) => {
5697
- const { __scopePopper: r, virtualRef: n, ...o } = e, a = Rl(Pl, r), i = d.useRef(null), l = ae(t, i), c = d.useRef(null);
5697
+ const { __scopePopper: r, virtualRef: n, ...o } = e, a = kl(Pl, r), i = d.useRef(null), l = ae(t, i), c = d.useRef(null);
5698
5698
  return d.useEffect(() => {
5699
5699
  const u = c.current;
5700
5700
  c.current = (n == null ? void 0 : n.current) || i.current, u !== c.current && a.onAnchorChange(c.current);
@@ -5702,7 +5702,7 @@ var Pl = "PopperAnchor", Nl = d.forwardRef(
5702
5702
  }
5703
5703
  );
5704
5704
  Nl.displayName = Pl;
5705
- var ya = "PopperContent", [Kh, Yh] = kl(ya), Tl = d.forwardRef(
5705
+ var ya = "PopperContent", [Kh, Yh] = Rl(ya), Tl = d.forwardRef(
5706
5706
  (e, t) => {
5707
5707
  var _, K, ee, oe, ce, ie;
5708
5708
  const {
@@ -5720,7 +5720,7 @@ var ya = "PopperContent", [Kh, Yh] = kl(ya), Tl = d.forwardRef(
5720
5720
  updatePositionStrategy: m = "optimized",
5721
5721
  onPlaced: b,
5722
5722
  ...v
5723
- } = e, x = Rl(ya, r), [y, h] = d.useState(null), C = ae(t, (Re) => h(Re)), [S, k] = d.useState(null), P = Dn(S), N = (P == null ? void 0 : P.width) ?? 0, j = (P == null ? void 0 : P.height) ?? 0, V = n + (a !== "center" ? "-" + a : ""), H = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, re = Array.isArray(u) ? u : [u], te = re.length > 0, Q = {
5723
+ } = e, x = kl(ya, r), [y, h] = d.useState(null), C = ae(t, (ke) => h(ke)), [S, R] = d.useState(null), P = Dn(S), N = (P == null ? void 0 : P.width) ?? 0, j = (P == null ? void 0 : P.height) ?? 0, V = n + (a !== "center" ? "-" + a : ""), H = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, re = Array.isArray(u) ? u : [u], te = re.length > 0, Q = {
5724
5724
  padding: H,
5725
5725
  boundary: re.filter(Zh),
5726
5726
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -5729,7 +5729,7 @@ var ya = "PopperContent", [Kh, Yh] = kl(ya), Tl = d.forwardRef(
5729
5729
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
5730
5730
  strategy: "fixed",
5731
5731
  placement: V,
5732
- whileElementsMounted: (...Re) => Rh(...Re, {
5732
+ whileElementsMounted: (...ke) => kh(...ke, {
5733
5733
  animationFrame: m === "always"
5734
5734
  }),
5735
5735
  elements: {
@@ -5746,8 +5746,8 @@ var ya = "PopperContent", [Kh, Yh] = kl(ya), Tl = d.forwardRef(
5746
5746
  c && Bh({ ...Q }),
5747
5747
  Gh({
5748
5748
  ...Q,
5749
- apply: ({ elements: Re, rects: Oe, availableWidth: Ue, availableHeight: Le }) => {
5750
- const { width: it, height: Ur } = Oe.reference, tt = Re.floating.style;
5749
+ apply: ({ elements: ke, rects: Oe, availableWidth: Ue, availableHeight: Le }) => {
5750
+ const { width: it, height: Ur } = Oe.reference, tt = ke.floating.style;
5751
5751
  tt.setProperty("--radix-popper-available-width", `${Ue}px`), tt.setProperty("--radix-popper-available-height", `${Le}px`), tt.setProperty("--radix-popper-anchor-width", `${it}px`), tt.setProperty("--radix-popper-anchor-height", `${Ur}px`);
5752
5752
  }
5753
5753
  }),
@@ -5791,7 +5791,7 @@ var ya = "PopperContent", [Kh, Yh] = kl(ya), Tl = d.forwardRef(
5791
5791
  {
5792
5792
  scope: r,
5793
5793
  placedSide: I,
5794
- onArrowChange: k,
5794
+ onArrowChange: R,
5795
5795
  arrowX: T,
5796
5796
  arrowY: G,
5797
5797
  shouldHideArrow: Z,
@@ -6160,17 +6160,17 @@ Ll.isSideCarExport = !0;
6160
6160
  function hx(e, t) {
6161
6161
  return e.useMedium(t), Ll;
6162
6162
  }
6163
- var Fl = vx(), ko = function() {
6163
+ var Fl = vx(), Ro = function() {
6164
6164
  }, Bn = d.forwardRef(function(e, t) {
6165
6165
  var r = d.useRef(null), n = d.useState({
6166
- onScrollCapture: ko,
6167
- onWheelCapture: ko,
6168
- onTouchMoveCapture: ko
6169
- }), o = n[0], a = n[1], i = e.forwardProps, l = e.children, c = e.className, u = e.removeScrollBar, f = e.enabled, p = e.shards, g = e.sideCar, m = e.noRelative, b = e.noIsolation, v = e.inert, x = e.allowPinchZoom, y = e.as, h = y === void 0 ? "div" : y, C = e.gapMode, S = $l(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), k = g, P = px([r, t]), N = Ye(Ye({}, S), o);
6166
+ onScrollCapture: Ro,
6167
+ onWheelCapture: Ro,
6168
+ onTouchMoveCapture: Ro
6169
+ }), o = n[0], a = n[1], i = e.forwardProps, l = e.children, c = e.className, u = e.removeScrollBar, f = e.enabled, p = e.shards, g = e.sideCar, m = e.noRelative, b = e.noIsolation, v = e.inert, x = e.allowPinchZoom, y = e.as, h = y === void 0 ? "div" : y, C = e.gapMode, S = $l(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), R = g, P = px([r, t]), N = Ye(Ye({}, S), o);
6170
6170
  return d.createElement(
6171
6171
  d.Fragment,
6172
6172
  null,
6173
- f && d.createElement(k, { sideCar: Fl, removeScrollBar: u, shards: p, noRelative: m, noIsolation: b, inert: v, setCallbacks: a, allowPinchZoom: !!x, lockRef: r, gapMode: C }),
6173
+ f && d.createElement(R, { sideCar: Fl, removeScrollBar: u, shards: p, noRelative: m, noIsolation: b, inert: v, setCallbacks: a, allowPinchZoom: !!x, lockRef: r, gapMode: C }),
6174
6174
  i ? d.cloneElement(d.Children.only(l), Ye(Ye({}, N), { ref: P })) : d.createElement(h, Ye({}, N, { className: c, ref: P }), l)
6175
6175
  );
6176
6176
  });
@@ -6232,15 +6232,15 @@ var Cx = function() {
6232
6232
  top: 0,
6233
6233
  right: 0,
6234
6234
  gap: 0
6235
- }, Ro = function(e) {
6235
+ }, ko = function(e) {
6236
6236
  return parseInt(e || "", 10) || 0;
6237
- }, kx = function(e) {
6238
- var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
6239
- return [Ro(r), Ro(n), Ro(o)];
6240
6237
  }, Rx = function(e) {
6238
+ var t = window.getComputedStyle(document.body), r = t[e === "padding" ? "paddingLeft" : "marginLeft"], n = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
6239
+ return [ko(r), ko(n), ko(o)];
6240
+ }, kx = function(e) {
6241
6241
  if (e === void 0 && (e = "margin"), typeof window > "u")
6242
6242
  return Ex;
6243
- var t = kx(e), r = document.documentElement.clientWidth, n = window.innerWidth;
6243
+ var t = Rx(e), r = document.documentElement.clientWidth, n = window.innerWidth;
6244
6244
  return {
6245
6245
  left: t[0],
6246
6246
  top: t[1],
@@ -6305,7 +6305,7 @@ var Cx = function() {
6305
6305
  var t = e.noRelative, r = e.noImportant, n = e.gapMode, o = n === void 0 ? "margin" : n;
6306
6306
  Nx();
6307
6307
  var a = d.useMemo(function() {
6308
- return Rx(o);
6308
+ return kx(o);
6309
6309
  }, [o]);
6310
6310
  return d.createElement(jx, { styles: Px(a, !t, o, r ? "" : "!important") });
6311
6311
  }, zo = !1;
@@ -6417,31 +6417,31 @@ function Bx(e) {
6417
6417
  var l = d.useCallback(function(v, x) {
6418
6418
  if ("touches" in v && v.touches.length === 2 || v.type === "wheel" && v.ctrlKey)
6419
6419
  return !i.current.allowPinchZoom;
6420
- var y = en(v), h = r.current, C = "deltaX" in v ? v.deltaX : h[0] - y[0], S = "deltaY" in v ? v.deltaY : h[1] - y[1], k, P = v.target, N = Math.abs(C) > Math.abs(S) ? "h" : "v";
6420
+ var y = en(v), h = r.current, C = "deltaX" in v ? v.deltaX : h[0] - y[0], S = "deltaY" in v ? v.deltaY : h[1] - y[1], R, P = v.target, N = Math.abs(C) > Math.abs(S) ? "h" : "v";
6421
6421
  if ("touches" in v && N === "h" && P.type === "range")
6422
6422
  return !1;
6423
6423
  var j = ni(N, P);
6424
6424
  if (!j)
6425
6425
  return !0;
6426
- if (j ? k = N : (k = N === "v" ? "h" : "v", j = ni(N, P)), !j)
6426
+ if (j ? R = N : (R = N === "v" ? "h" : "v", j = ni(N, P)), !j)
6427
6427
  return !1;
6428
- if (!n.current && "changedTouches" in v && (C || S) && (n.current = k), !k)
6428
+ if (!n.current && "changedTouches" in v && (C || S) && (n.current = R), !R)
6429
6429
  return !0;
6430
- var V = n.current || k;
6430
+ var V = n.current || R;
6431
6431
  return $x(V, x, v, V === "h" ? C : S);
6432
6432
  }, []), c = d.useCallback(function(v) {
6433
6433
  var x = v;
6434
6434
  if (!(!Ut.length || Ut[Ut.length - 1] !== a)) {
6435
- var y = "deltaY" in x ? oi(x) : en(x), h = t.current.filter(function(k) {
6436
- return k.name === x.type && (k.target === x.target || x.target === k.shadowParent) && Lx(k.delta, y);
6435
+ var y = "deltaY" in x ? oi(x) : en(x), h = t.current.filter(function(R) {
6436
+ return R.name === x.type && (R.target === x.target || x.target === R.shadowParent) && Lx(R.delta, y);
6437
6437
  })[0];
6438
6438
  if (h && h.should) {
6439
6439
  x.cancelable && x.preventDefault();
6440
6440
  return;
6441
6441
  }
6442
6442
  if (!h) {
6443
- var C = (i.current.shards || []).map(ai).filter(Boolean).filter(function(k) {
6444
- return k.contains(x.target);
6443
+ var C = (i.current.shards || []).map(ai).filter(Boolean).filter(function(R) {
6444
+ return R.contains(x.target);
6445
6445
  }), S = C.length > 0 ? l(x, C[0]) : !i.current.noIsolation;
6446
6446
  S && x.cancelable && x.preventDefault();
6447
6447
  }
@@ -6489,7 +6489,7 @@ var Or = d.forwardRef(function(e, t) {
6489
6489
  return d.createElement(Bn, Ye({}, e, { ref: t, sideCar: Wx }));
6490
6490
  });
6491
6491
  Or.classNames = Bn.classNames;
6492
- var zx = [" ", "Enter", "ArrowUp", "ArrowDown"], qx = [" ", "Enter"], _t = "Select", [Gn, Wn, Ux] = Tn(_t), [dr, iR] = we(_t, [
6492
+ var zx = [" ", "Enter", "ArrowUp", "ArrowDown"], qx = [" ", "Enter"], _t = "Select", [Gn, Wn, Ux] = Tn(_t), [dr, ik] = we(_t, [
6493
6493
  Ux,
6494
6494
  ht
6495
6495
  ]), zn = ht(), [Hx, xt] = dr(_t), [Kx, Yx] = dr(_t), zl = (e) => {
@@ -6508,7 +6508,7 @@ var zx = [" ", "Enter", "ArrowUp", "ArrowDown"], qx = [" ", "Enter"], _t = "Sele
6508
6508
  disabled: g,
6509
6509
  required: m,
6510
6510
  form: b
6511
- } = e, v = zn(t), [x, y] = d.useState(null), [h, C] = d.useState(null), [S, k] = d.useState(!1), P = Dt(u), [N, j] = ye({
6511
+ } = e, v = zn(t), [x, y] = d.useState(null), [h, C] = d.useState(null), [S, R] = d.useState(!1), P = Dt(u), [N, j] = ye({
6512
6512
  prop: n,
6513
6513
  defaultProp: o ?? !1,
6514
6514
  onChange: a,
@@ -6529,7 +6529,7 @@ var zx = [" ", "Enter", "ArrowUp", "ArrowDown"], qx = [" ", "Enter"], _t = "Sele
6529
6529
  valueNode: h,
6530
6530
  onValueNodeChange: C,
6531
6531
  valueNodeHasChildren: S,
6532
- onValueNodeHasChildrenChange: k,
6532
+ onValueNodeHasChildrenChange: R,
6533
6533
  contentId: me(),
6534
6534
  value: V,
6535
6535
  onValueChange: H,
@@ -6656,7 +6656,7 @@ var At = "SelectContent", Zl = d.forwardRef(
6656
6656
  o(new DocumentFragment());
6657
6657
  }, []), !r.open) {
6658
6658
  const a = n;
6659
- return a ? kn.createPortal(
6659
+ return a ? Rn.createPortal(
6660
6660
  /* @__PURE__ */ s.jsx(Jl, { scope: e.__scopeSelect, children: /* @__PURE__ */ s.jsx(Gn.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ s.jsx("div", { children: e.children }) }) }),
6661
6661
  a
6662
6662
  ) : null;
@@ -6687,7 +6687,7 @@ var Fe = 10, [Jl, bt] = dr(At), Jx = "SelectContentImpl", Qx = /* @__PURE__ */ p
6687
6687
  avoidCollisions: x,
6688
6688
  //
6689
6689
  ...y
6690
- } = e, h = xt(At, r), [C, S] = d.useState(null), [k, P] = d.useState(null), N = ae(t, (_) => S(_)), [j, V] = d.useState(null), [H, re] = d.useState(
6690
+ } = e, h = xt(At, r), [C, S] = d.useState(null), [R, P] = d.useState(null), N = ae(t, (_) => S(_)), [j, V] = d.useState(null), [H, re] = d.useState(
6691
6691
  null
6692
6692
  ), te = Wn(r), [Q, W] = d.useState(!1), O = d.useRef(!1);
6693
6693
  d.useEffect(() => {
@@ -6697,9 +6697,9 @@ var Fe = 10, [Jl, bt] = dr(At), Jx = "SelectContentImpl", Qx = /* @__PURE__ */ p
6697
6697
  (_) => {
6698
6698
  const [K, ...ee] = te().map((ie) => ie.ref.current), [oe] = ee.slice(-1), ce = document.activeElement;
6699
6699
  for (const ie of _)
6700
- if (ie === ce || (ie == null || ie.scrollIntoView({ block: "nearest" }), ie === K && k && (k.scrollTop = 0), ie === oe && k && (k.scrollTop = k.scrollHeight), ie == null || ie.focus(), document.activeElement !== ce)) return;
6700
+ if (ie === ce || (ie == null || ie.scrollIntoView({ block: "nearest" }), ie === K && R && (R.scrollTop = 0), ie === oe && R && (R.scrollTop = R.scrollHeight), ie == null || ie.focus(), document.activeElement !== ce)) return;
6701
6701
  },
6702
- [te, k]
6702
+ [te, R]
6703
6703
  ), M = d.useCallback(
6704
6704
  () => A([j, C]),
6705
6705
  [A, j, C]
@@ -6762,7 +6762,7 @@ var Fe = 10, [Jl, bt] = dr(At), Jx = "SelectContentImpl", Qx = /* @__PURE__ */ p
6762
6762
  {
6763
6763
  scope: r,
6764
6764
  content: C,
6765
- viewport: k,
6765
+ viewport: R,
6766
6766
  onViewportChange: P,
6767
6767
  itemRefCallback: T,
6768
6768
  selectedItem: j,
@@ -6841,7 +6841,7 @@ var eb = "SelectItemAlignedPosition", ec = d.forwardRef((e, t) => {
6841
6841
  if (a.trigger && a.valueNode && l && u && v && x && y) {
6842
6842
  const N = a.trigger.getBoundingClientRect(), j = u.getBoundingClientRect(), V = a.valueNode.getBoundingClientRect(), H = y.getBoundingClientRect();
6843
6843
  if (a.dir !== "rtl") {
6844
- const ce = H.left - j.left, ie = V.left - ce, Re = N.left - ie, Oe = N.width + Re, Ue = Math.max(Oe, j.width), Le = window.innerWidth - Fe, it = Os(ie, [
6844
+ const ce = H.left - j.left, ie = V.left - ce, ke = N.left - ie, Oe = N.width + ke, Ue = Math.max(Oe, j.width), Le = window.innerWidth - Fe, it = Os(ie, [
6845
6845
  Fe,
6846
6846
  // Prevents the content from going off the starting edge of the
6847
6847
  // viewport. It may still go off the ending edge, but this can be
@@ -6852,7 +6852,7 @@ var eb = "SelectItemAlignedPosition", ec = d.forwardRef((e, t) => {
6852
6852
  ]);
6853
6853
  l.style.minWidth = Oe + "px", l.style.left = it + "px";
6854
6854
  } else {
6855
- const ce = j.right - H.right, ie = window.innerWidth - V.right - ce, Re = window.innerWidth - N.right - ie, Oe = N.width + Re, Ue = Math.max(Oe, j.width), Le = window.innerWidth - Fe, it = Os(ie, [
6855
+ const ce = j.right - H.right, ie = window.innerWidth - V.right - ce, ke = window.innerWidth - N.right - ie, Oe = N.width + ke, Ue = Math.max(Oe, j.width), Le = window.innerWidth - Fe, it = Os(ie, [
6856
6856
  Fe,
6857
6857
  Math.max(Fe, Le - Ue)
6858
6858
  ]);
@@ -6862,21 +6862,21 @@ var eb = "SelectItemAlignedPosition", ec = d.forwardRef((e, t) => {
6862
6862
  if (K <= Z) {
6863
6863
  const ce = re.length > 0 && x === re[re.length - 1].ref.current;
6864
6864
  l.style.bottom = "0px";
6865
- const ie = u.clientHeight - v.offsetTop - v.offsetHeight, Re = Math.max(
6865
+ const ie = u.clientHeight - v.offsetTop - v.offsetHeight, ke = Math.max(
6866
6866
  z,
6867
6867
  $ + // viewport might have padding bottom, include it to avoid a scrollable viewport
6868
6868
  (ce ? G : 0) + ie + M
6869
- ), Oe = K + Re;
6869
+ ), Oe = K + ke;
6870
6870
  l.style.height = Oe + "px";
6871
6871
  } else {
6872
6872
  const ce = re.length > 0 && x === re[0].ref.current;
6873
6873
  l.style.top = "0px";
6874
- const Re = Math.max(
6874
+ const ke = Math.max(
6875
6875
  Z,
6876
6876
  O + v.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
6877
6877
  (ce ? T : 0) + $
6878
6878
  ) + ee;
6879
- l.style.height = Re + "px", v.scrollTop = K - Z + v.offsetTop;
6879
+ l.style.height = ke + "px", v.scrollTop = K - Z + v.offsetTop;
6880
6880
  }
6881
6881
  l.style.margin = `${Fe}px 0`, l.style.minHeight = B + "px", l.style.maxHeight = te + "px", n == null || n(), requestAnimationFrame(() => m.current = !0);
6882
6882
  }
@@ -6893,9 +6893,9 @@ var eb = "SelectItemAlignedPosition", ec = d.forwardRef((e, t) => {
6893
6893
  n
6894
6894
  ]);
6895
6895
  Ce(() => C(), [C]);
6896
- const [S, k] = d.useState();
6896
+ const [S, R] = d.useState();
6897
6897
  Ce(() => {
6898
- u && k(window.getComputedStyle(u).zIndex);
6898
+ u && R(window.getComputedStyle(u).zIndex);
6899
6899
  }, [u]);
6900
6900
  const P = d.useCallback(
6901
6901
  (N) => {
@@ -7137,7 +7137,7 @@ var xr = "SelectItemText", lc = d.forwardRef(
7137
7137
  ), { onNativeOptionAdd: v, onNativeOptionRemove: x } = u;
7138
7138
  return Ce(() => (v(b), () => x(b)), [v, x, b]), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
7139
7139
  /* @__PURE__ */ s.jsx(q.span, { id: c.textId, ...a, ref: g }),
7140
- c.isSelected && i.valueNode && !i.valueNodeHasChildren ? kn.createPortal(a.children, i.valueNode) : null
7140
+ c.isSelected && i.valueNode && !i.valueNodeHasChildren ? Rn.createPortal(a.children, i.valueNode) : null
7141
7141
  ] });
7142
7142
  }
7143
7143
  );
@@ -7293,8 +7293,8 @@ function xc(e, t, r) {
7293
7293
  function cb(e, t) {
7294
7294
  return e.map((r, n) => e[(t + n) % e.length]);
7295
7295
  }
7296
- var db = zl, bc = Ul, ub = Kl, fb = Yl, pb = Xl, yc = Zl, mb = tc, gb = nc, wc = ac, Cc = ic, vb = lc, hb = dc, Sc = uc, Ec = fc, kc = mc;
7297
- const lR = db, cR = gb, dR = ub, xb = d.forwardRef(({ className: e, children: t, readOnly: r, ...n }, o) => {
7296
+ var db = zl, bc = Ul, ub = Kl, fb = Yl, pb = Xl, yc = Zl, mb = tc, gb = nc, wc = ac, Cc = ic, vb = lc, hb = dc, Sc = uc, Ec = fc, Rc = mc;
7297
+ const lk = db, ck = gb, dk = ub, xb = d.forwardRef(({ className: e, children: t, readOnly: r, ...n }, o) => {
7298
7298
  const a = (i) => {
7299
7299
  r && i.preventDefault();
7300
7300
  };
@@ -7306,8 +7306,8 @@ const lR = db, cR = gb, dR = ub, xb = d.forwardRef(({ className: e, children: t,
7306
7306
  disabled: n.disabled,
7307
7307
  onPointerDown: n.disabled ? n.onPointerDown : a,
7308
7308
  tabIndex: r ? 0 : void 0,
7309
- className: R(
7310
- R(
7309
+ className: k(
7310
+ k(
7311
7311
  "qodo qodo-select-trigger flex h-9 w-full min-w-0 items-center justify-between",
7312
7312
  "rounded-md border bg-purple-muted-700 border-purple-muted-500",
7313
7313
  "text-sm data-[placeholder]:text-muted-foreground [&:not([data-placeholder])]:text-purple-muted-300 md:text-sm selection:bg-primary selection:text-primary-foreground",
@@ -7328,11 +7328,11 @@ const lR = db, cR = gb, dR = ub, xb = d.forwardRef(({ className: e, children: t,
7328
7328
  );
7329
7329
  });
7330
7330
  xb.displayName = bc.displayName;
7331
- const Rc = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
7331
+ const kc = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
7332
7332
  Sc,
7333
7333
  {
7334
7334
  ref: r,
7335
- className: R(
7335
+ className: k(
7336
7336
  "qodo qodo-select-scroll-up-button flex cursor-default items-center justify-center py-1",
7337
7337
  e
7338
7338
  ),
@@ -7340,12 +7340,12 @@ const Rc = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
7340
7340
  children: /* @__PURE__ */ s.jsx(Ag, { className: "h-4 w-4" })
7341
7341
  }
7342
7342
  ));
7343
- Rc.displayName = Sc.displayName;
7343
+ kc.displayName = Sc.displayName;
7344
7344
  const jc = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
7345
7345
  Ec,
7346
7346
  {
7347
7347
  ref: r,
7348
- className: R(
7348
+ className: k(
7349
7349
  "qodo qodo-select-scroll-down-button flex cursor-default items-center justify-center py-1",
7350
7350
  e
7351
7351
  ),
@@ -7359,7 +7359,7 @@ const bb = d.forwardRef(
7359
7359
  yc,
7360
7360
  {
7361
7361
  ref: a,
7362
- className: R(
7362
+ className: k(
7363
7363
  "qodo qodo-select-content relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-purple-muted-600 border-purple-muted-500 text-purple-muted-300 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
7364
7364
  r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
7365
7365
  e
@@ -7367,11 +7367,11 @@ const bb = d.forwardRef(
7367
7367
  position: r,
7368
7368
  ...o,
7369
7369
  children: [
7370
- /* @__PURE__ */ s.jsx(Rc, {}),
7370
+ /* @__PURE__ */ s.jsx(kc, {}),
7371
7371
  /* @__PURE__ */ s.jsx(
7372
7372
  mb,
7373
7373
  {
7374
- className: R(
7374
+ className: k(
7375
7375
  "p-1",
7376
7376
  r === "popper" && "h-[var(--radix-select-trigger-height)] w-[var(--radix-select-trigger-width)]"
7377
7377
  ),
@@ -7388,7 +7388,7 @@ const yb = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
7388
7388
  wc,
7389
7389
  {
7390
7390
  ref: r,
7391
- className: R(
7391
+ className: k(
7392
7392
  "qodo qodo-select-label py-1.5 pl-8 pr-2 text-sm font-semibold",
7393
7393
  e
7394
7394
  ),
@@ -7401,8 +7401,8 @@ const wb = d.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
7401
7401
  {
7402
7402
  ref: n,
7403
7403
  title: r.value,
7404
- className: R(
7405
- R(
7404
+ className: k(
7405
+ k(
7406
7406
  "qodo qodo-select-item relative w-full cursor-default select-none rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none",
7407
7407
  "focus:bg-purple-muted-500 focus:text-purple-100 text-purple-100",
7408
7408
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
@@ -7419,23 +7419,23 @@ const wb = d.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
7419
7419
  ));
7420
7420
  wb.displayName = Cc.displayName;
7421
7421
  const Cb = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
7422
- kc,
7422
+ Rc,
7423
7423
  {
7424
7424
  ref: r,
7425
- className: R(
7425
+ className: k(
7426
7426
  "qodo qodo-select-separator -mx-1 my-1 h-px bg-muted",
7427
7427
  e
7428
7428
  ),
7429
7429
  ...t
7430
7430
  }
7431
7431
  ));
7432
- Cb.displayName = kc.displayName;
7433
- var si = 1, Sb = 0.9, Eb = 0.8, kb = 0.17, jo = 0.1, Po = 0.999, Rb = 0.9999, jb = 0.99, Pb = /[\\\/_+.#"@\[\(\{&]/, Nb = /[\\\/_+.#"@\[\(\{&]/g, Tb = /[\s-]/, Pc = /[\s-]/g;
7432
+ Cb.displayName = Rc.displayName;
7433
+ var si = 1, Sb = 0.9, Eb = 0.8, Rb = 0.17, jo = 0.1, Po = 0.999, kb = 0.9999, jb = 0.99, Pb = /[\\\/_+.#"@\[\(\{&]/, Nb = /[\\\/_+.#"@\[\(\{&]/g, Tb = /[\s-]/, Pc = /[\s-]/g;
7434
7434
  function Xo(e, t, r, n, o, a, i) {
7435
7435
  if (a === t.length) return o === e.length ? si : jb;
7436
7436
  var l = `${o},${a}`;
7437
7437
  if (i[l] !== void 0) return i[l];
7438
- for (var c = n.charAt(a), u = r.indexOf(c, o), f = 0, p, g, m, b; u >= 0; ) p = Xo(e, t, r, n, u + 1, a + 1, i), p > f && (u === o ? p *= si : Pb.test(e.charAt(u - 1)) ? (p *= Eb, m = e.slice(o, u - 1).match(Nb), m && o > 0 && (p *= Math.pow(Po, m.length))) : Tb.test(e.charAt(u - 1)) ? (p *= Sb, b = e.slice(o, u - 1).match(Pc), b && o > 0 && (p *= Math.pow(Po, b.length))) : (p *= kb, o > 0 && (p *= Math.pow(Po, u - o))), e.charAt(u) !== t.charAt(a) && (p *= Rb)), (p < jo && r.charAt(u - 1) === n.charAt(a + 1) || n.charAt(a + 1) === n.charAt(a) && r.charAt(u - 1) !== n.charAt(a)) && (g = Xo(e, t, r, n, u + 1, a + 2, i), g * jo > p && (p = g * jo)), p > f && (f = p), u = r.indexOf(c, u + 1);
7438
+ for (var c = n.charAt(a), u = r.indexOf(c, o), f = 0, p, g, m, b; u >= 0; ) p = Xo(e, t, r, n, u + 1, a + 1, i), p > f && (u === o ? p *= si : Pb.test(e.charAt(u - 1)) ? (p *= Eb, m = e.slice(o, u - 1).match(Nb), m && o > 0 && (p *= Math.pow(Po, m.length))) : Tb.test(e.charAt(u - 1)) ? (p *= Sb, b = e.slice(o, u - 1).match(Pc), b && o > 0 && (p *= Math.pow(Po, b.length))) : (p *= Rb, o > 0 && (p *= Math.pow(Po, u - o))), e.charAt(u) !== t.charAt(a) && (p *= kb)), (p < jo && r.charAt(u - 1) === n.charAt(a + 1) || n.charAt(a + 1) === n.charAt(a) && r.charAt(u - 1) !== n.charAt(a)) && (g = Xo(e, t, r, n, u + 1, a + 2, i), g * jo > p && (p = g * jo)), p > f && (f = p), u = r.indexOf(c, u + 1);
7439
7439
  return i[l] = f, f;
7440
7440
  }
7441
7441
  function ii(e) {
@@ -7509,7 +7509,7 @@ function Mb(e) {
7509
7509
  let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
7510
7510
  return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
7511
7511
  }
7512
- var qn = "Dialog", [Nc, uR] = we(qn), [Ob, We] = Nc(qn), Tc = (e) => {
7512
+ var qn = "Dialog", [Nc, uk] = we(qn), [Ob, We] = Nc(qn), Tc = (e) => {
7513
7513
  const {
7514
7514
  __scopeDialog: t,
7515
7515
  children: r,
@@ -7714,7 +7714,7 @@ Gc.displayName = Bc;
7714
7714
  function Ea(e) {
7715
7715
  return e ? "open" : "closed";
7716
7716
  }
7717
- var Wc = "DialogTitleWarning", [fR, zc] = lv(Wc, {
7717
+ var Wc = "DialogTitleWarning", [fk, zc] = lv(Wc, {
7718
7718
  contentName: It,
7719
7719
  titleName: Sa,
7720
7720
  docsSlug: "dialog"
@@ -7734,11 +7734,11 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7734
7734
  const o = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
7735
7735
  t && o && (document.getElementById(t) || console.warn(n));
7736
7736
  }, [n, e, t]), null;
7737
- }, qc = Tc, zb = Ac, Uc = Mc, Hc = Oc, Kc = Dc, qb = Lc, Ub = Vc, Yc = Gc, vr = '[cmdk-group=""]', No = '[cmdk-group-items=""]', Hb = '[cmdk-group-heading=""]', Xc = '[cmdk-item=""]', li = `${Xc}:not([aria-disabled="true"])`, Zo = "cmdk-item-select", Kt = "data-value", Kb = (e, t, r) => _b(e, t, r), Zc = d.createContext(void 0), Dr = () => d.useContext(Zc), Jc = d.createContext(void 0), ka = () => d.useContext(Jc), Qc = d.createContext(void 0), ed = d.forwardRef((e, t) => {
7737
+ }, qc = Tc, zb = Ac, Uc = Mc, Hc = Oc, Kc = Dc, qb = Lc, Ub = Vc, Yc = Gc, vr = '[cmdk-group=""]', No = '[cmdk-group-items=""]', Hb = '[cmdk-group-heading=""]', Xc = '[cmdk-item=""]', li = `${Xc}:not([aria-disabled="true"])`, Zo = "cmdk-item-select", Kt = "data-value", Kb = (e, t, r) => _b(e, t, r), Zc = d.createContext(void 0), Dr = () => d.useContext(Zc), Jc = d.createContext(void 0), Ra = () => d.useContext(Jc), Qc = d.createContext(void 0), ed = d.forwardRef((e, t) => {
7738
7738
  let r = Yt(() => {
7739
7739
  var T, G;
7740
7740
  return { search: "", value: (G = (T = e.value) != null ? T : e.defaultValue) != null ? G : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
7741
- }), n = Yt(() => /* @__PURE__ */ new Set()), o = Yt(() => /* @__PURE__ */ new Map()), a = Yt(() => /* @__PURE__ */ new Map()), i = Yt(() => /* @__PURE__ */ new Set()), l = td(e), { label: c, children: u, value: f, onValueChange: p, filter: g, shouldFilter: m, loop: b, disablePointerSelection: v = !1, vimBindings: x = !0, ...y } = e, h = me(), C = me(), S = me(), k = d.useRef(null), P = ay();
7741
+ }), n = Yt(() => /* @__PURE__ */ new Set()), o = Yt(() => /* @__PURE__ */ new Map()), a = Yt(() => /* @__PURE__ */ new Map()), i = Yt(() => /* @__PURE__ */ new Set()), l = td(e), { label: c, children: u, value: f, onValueChange: p, filter: g, shouldFilter: m, loop: b, disablePointerSelection: v = !1, vimBindings: x = !0, ...y } = e, h = me(), C = me(), S = me(), R = d.useRef(null), P = ay();
7742
7742
  Mt(() => {
7743
7743
  if (f !== void 0) {
7744
7744
  let T = f.trim();
@@ -7784,7 +7784,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7784
7784
  });
7785
7785
  }), group: (T) => (o.current.has(T) || o.current.set(T, /* @__PURE__ */ new Set()), () => {
7786
7786
  a.current.delete(T), o.current.delete(T);
7787
- }), filter: () => l.current.shouldFilter, label: c || e["aria-label"], getDisablePointerSelection: () => l.current.disablePointerSelection, listId: h, inputId: S, labelId: C, listInnerRef: k }), []);
7787
+ }), filter: () => l.current.shouldFilter, label: c || e["aria-label"], getDisablePointerSelection: () => l.current.disablePointerSelection, listId: h, inputId: S, labelId: C, listInnerRef: R }), []);
7788
7788
  function V(T, G) {
7789
7789
  var Z, z;
7790
7790
  let $ = (z = (Z = l.current) == null ? void 0 : Z.filter) != null ? z : Kb;
@@ -7800,7 +7800,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7800
7800
  _ = Math.max(ee, _);
7801
7801
  }), G.push([z, _]);
7802
7802
  });
7803
- let Z = k.current;
7803
+ let Z = R.current;
7804
7804
  O().sort((z, $) => {
7805
7805
  var _, K;
7806
7806
  let ee = z.getAttribute("id"), oe = $.getAttribute("id");
@@ -7810,7 +7810,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7810
7810
  $ ? $.appendChild(z.parentElement === $ ? z : z.closest(`${No} > *`)) : Z.appendChild(z.parentElement === Z ? z : z.closest(`${No} > *`));
7811
7811
  }), G.sort((z, $) => $[1] - z[1]).forEach((z) => {
7812
7812
  var $;
7813
- let _ = ($ = k.current) == null ? void 0 : $.querySelector(`${vr}[${Kt}="${encodeURIComponent(z[0])}"]`);
7813
+ let _ = ($ = R.current) == null ? void 0 : $.querySelector(`${vr}[${Kt}="${encodeURIComponent(z[0])}"]`);
7814
7814
  _ == null || _.parentElement.appendChild(_);
7815
7815
  });
7816
7816
  }
@@ -7843,11 +7843,11 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7843
7843
  }
7844
7844
  function W() {
7845
7845
  var T;
7846
- return (T = k.current) == null ? void 0 : T.querySelector(`${Xc}[aria-selected="true"]`);
7846
+ return (T = R.current) == null ? void 0 : T.querySelector(`${Xc}[aria-selected="true"]`);
7847
7847
  }
7848
7848
  function O() {
7849
7849
  var T;
7850
- return Array.from(((T = k.current) == null ? void 0 : T.querySelectorAll(li)) || []);
7850
+ return Array.from(((T = R.current) == null ? void 0 : T.querySelectorAll(li)) || []);
7851
7851
  }
7852
7852
  function A(T) {
7853
7853
  let G = O()[T];
@@ -7915,7 +7915,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7915
7915
  Mt(() => {
7916
7916
  if (!u) return l.item(o, i == null ? void 0 : i.id);
7917
7917
  }, [u]);
7918
- let f = rd(o, a, [e.value, e.children, a], e.keywords), p = ka(), g = vt((P) => P.value && P.value === f.current), m = vt((P) => u || l.filter() === !1 ? !0 : P.search ? P.filtered.items.get(o) > 0 : !0);
7918
+ let f = rd(o, a, [e.value, e.children, a], e.keywords), p = Ra(), g = vt((P) => P.value && P.value === f.current), m = vt((P) => u || l.filter() === !1 ? !0 : P.search ? P.filtered.items.get(o) > 0 : !0);
7919
7919
  d.useEffect(() => {
7920
7920
  let P = a.current;
7921
7921
  if (!(!P || e.disabled)) return P.addEventListener(Zo, b), () => P.removeEventListener(Zo, b);
@@ -7928,8 +7928,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7928
7928
  p.setState("value", f.current, !0);
7929
7929
  }
7930
7930
  if (!m) return null;
7931
- let { disabled: x, value: y, onSelect: h, forceMount: C, keywords: S, ...k } = e;
7932
- return d.createElement(q.div, { ref: nt(a, t), ...k, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!x, "aria-selected": !!g, "data-disabled": !!x, "data-selected": !!g, onPointerMove: x || l.getDisablePointerSelection() ? void 0 : v, onClick: x ? void 0 : b }, e.children);
7931
+ let { disabled: x, value: y, onSelect: h, forceMount: C, keywords: S, ...R } = e;
7932
+ return d.createElement(q.div, { ref: nt(a, t), ...R, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!x, "aria-selected": !!g, "data-disabled": !!x, "data-selected": !!g, onPointerMove: x || l.getDisablePointerSelection() ? void 0 : v, onClick: x ? void 0 : b }, e.children);
7933
7933
  }), Xb = d.forwardRef((e, t) => {
7934
7934
  let { heading: r, children: n, forceMount: o, ...a } = e, i = me(), l = d.useRef(null), c = d.useRef(null), u = me(), f = Dr(), p = vt((m) => o || f.filter() === !1 ? !0 : m.search ? m.filtered.groups.has(i) : !0);
7935
7935
  Mt(() => f.group(i), []), rd(i, l, [e.value, e.heading, c]);
@@ -7939,7 +7939,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7939
7939
  let { alwaysRender: r, ...n } = e, o = d.useRef(null), a = vt((i) => !i.search);
7940
7940
  return !r && !a ? null : d.createElement(q.div, { ref: nt(o, t), ...n, "cmdk-separator": "", role: "separator" });
7941
7941
  }), Jb = d.forwardRef((e, t) => {
7942
- let { onValueChange: r, ...n } = e, o = e.value != null, a = ka(), i = vt((u) => u.search), l = vt((u) => u.selectedItemId), c = Dr();
7942
+ let { onValueChange: r, ...n } = e, o = e.value != null, a = Ra(), i = vt((u) => u.search), l = vt((u) => u.selectedItemId), c = Dr();
7943
7943
  return d.useEffect(() => {
7944
7944
  e.value != null && a.setState("search", e.value);
7945
7945
  }, [e.value]), d.createElement(q.input, { ref: t, ...n, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": c.listId, "aria-labelledby": c.labelId, "aria-activedescendant": l, id: c.inputId, type: "text", value: o ? e.value : i, onChange: (u) => {
@@ -7993,7 +7993,7 @@ function Yt(e) {
7993
7993
  return t.current === void 0 && (t.current = e()), t;
7994
7994
  }
7995
7995
  function vt(e) {
7996
- let t = ka(), r = () => e(t.snapshot());
7996
+ let t = Ra(), r = () => e(t.snapshot());
7997
7997
  return d.useSyncExternalStore(t.subscribe, r, r);
7998
7998
  }
7999
7999
  function rd(e, t, r, n = []) {
@@ -8026,12 +8026,12 @@ function Un({ asChild: e, children: t }, r) {
8026
8026
  return e && d.isValidElement(t) ? d.cloneElement(sy(t), { ref: t.ref }, r(t.props.children)) : r(t);
8027
8027
  }
8028
8028
  var iy = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
8029
- function pR({
8029
+ function pk({
8030
8030
  ...e
8031
8031
  }) {
8032
8032
  return /* @__PURE__ */ s.jsx(qc, { "data-slot": "dialog", ...e });
8033
8033
  }
8034
- function mR({
8034
+ function mk({
8035
8035
  ...e
8036
8036
  }) {
8037
8037
  return /* @__PURE__ */ s.jsx(zb, { "data-slot": "dialog-trigger", ...e });
@@ -8041,7 +8041,7 @@ function ly({
8041
8041
  }) {
8042
8042
  return /* @__PURE__ */ s.jsx(Uc, { "data-slot": "dialog-portal", ...e });
8043
8043
  }
8044
- function gR({
8044
+ function gk({
8045
8045
  ...e
8046
8046
  }) {
8047
8047
  return /* @__PURE__ */ s.jsx(Yc, { "data-slot": "dialog-close", ...e });
@@ -8054,7 +8054,7 @@ function cy({
8054
8054
  Hc,
8055
8055
  {
8056
8056
  "data-slot": "dialog-overlay",
8057
- className: R(
8057
+ className: k(
8058
8058
  "qodo qodo-dialog-overlay,",
8059
8059
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",
8060
8060
  e
@@ -8063,7 +8063,7 @@ function cy({
8063
8063
  }
8064
8064
  );
8065
8065
  }
8066
- function vR({
8066
+ function vk({
8067
8067
  className: e,
8068
8068
  children: t,
8069
8069
  showCloseButton: r = !0,
@@ -8075,7 +8075,7 @@ function vR({
8075
8075
  Kc,
8076
8076
  {
8077
8077
  "data-slot": "dialog-content",
8078
- className: R(
8078
+ className: k(
8079
8079
  "qodo qodo-dialog-content bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg dark:bg-background dark:border-border",
8080
8080
  e
8081
8081
  ),
@@ -8098,12 +8098,12 @@ function vR({
8098
8098
  )
8099
8099
  ] });
8100
8100
  }
8101
- function hR({ className: e, ...t }) {
8101
+ function hk({ className: e, ...t }) {
8102
8102
  return /* @__PURE__ */ s.jsx(
8103
8103
  "div",
8104
8104
  {
8105
8105
  "data-slot": "dialog-header",
8106
- className: R(
8106
+ className: k(
8107
8107
  "qodo qodo-dialog-header flex flex-col gap-2 text-center sm:text-left",
8108
8108
  e
8109
8109
  ),
@@ -8111,12 +8111,12 @@ function hR({ className: e, ...t }) {
8111
8111
  }
8112
8112
  );
8113
8113
  }
8114
- function xR({ className: e, ...t }) {
8114
+ function xk({ className: e, ...t }) {
8115
8115
  return /* @__PURE__ */ s.jsx(
8116
8116
  "div",
8117
8117
  {
8118
8118
  "data-slot": "dialog-footer",
8119
- className: R(
8119
+ className: k(
8120
8120
  "qodo qodo-dialog-footer flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
8121
8121
  e
8122
8122
  ),
@@ -8124,7 +8124,7 @@ function xR({ className: e, ...t }) {
8124
8124
  }
8125
8125
  );
8126
8126
  }
8127
- function bR({
8127
+ function bk({
8128
8128
  className: e,
8129
8129
  ...t
8130
8130
  }) {
@@ -8132,7 +8132,7 @@ function bR({
8132
8132
  qb,
8133
8133
  {
8134
8134
  "data-slot": "dialog-title",
8135
- className: R(
8135
+ className: k(
8136
8136
  "qodo qodo-dialog-title text-lg leading-none font-semibold",
8137
8137
  e
8138
8138
  ),
@@ -8140,7 +8140,7 @@ function bR({
8140
8140
  }
8141
8141
  );
8142
8142
  }
8143
- function yR({
8143
+ function yk({
8144
8144
  className: e,
8145
8145
  ...t
8146
8146
  }) {
@@ -8148,7 +8148,7 @@ function yR({
8148
8148
  Ub,
8149
8149
  {
8150
8150
  "data-slot": "dialog-description",
8151
- className: R(
8151
+ className: k(
8152
8152
  "qodo qodo-dialog-description text-muted-foreground text-sm dark:text-muted-foreground",
8153
8153
  e
8154
8154
  ),
@@ -8164,7 +8164,7 @@ function nd({
8164
8164
  $t,
8165
8165
  {
8166
8166
  "data-slot": "command",
8167
- className: R(
8167
+ className: k(
8168
8168
  "qodo qodo-command bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
8169
8169
  e
8170
8170
  ),
@@ -8180,7 +8180,7 @@ function od({
8180
8180
  "div",
8181
8181
  {
8182
8182
  "data-slot": "command-input-wrapper",
8183
- className: R(
8183
+ className: k(
8184
8184
  "qodo qodo-command-input-wrapper",
8185
8185
  "flex h-9 items-center gap-2 border-b border-[var(--border-panel-neutral)] px-3 text-purple-muted-300"
8186
8186
  ),
@@ -8190,7 +8190,7 @@ function od({
8190
8190
  $t.Input,
8191
8191
  {
8192
8192
  "data-slot": "command-input",
8193
- className: R(
8193
+ className: k(
8194
8194
  "qodo qodo-command-input",
8195
8195
  "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
8196
8196
  e
@@ -8210,7 +8210,7 @@ function ad({
8210
8210
  $t.List,
8211
8211
  {
8212
8212
  "data-slot": "command-list",
8213
- className: R(
8213
+ className: k(
8214
8214
  "qodo qodo-command-list max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
8215
8215
  e
8216
8216
  ),
@@ -8225,7 +8225,7 @@ function sd({
8225
8225
  $t.Empty,
8226
8226
  {
8227
8227
  "data-slot": "command-empty",
8228
- className: R(
8228
+ className: k(
8229
8229
  "qodo qodo-command-empty",
8230
8230
  "py-6 text-center text-sm text-purple-muted-300"
8231
8231
  ),
@@ -8241,7 +8241,7 @@ function dy({
8241
8241
  $t.Loading,
8242
8242
  {
8243
8243
  "data-slot": "command-loading",
8244
- className: R(
8244
+ className: k(
8245
8245
  "qodo qodo-command-loading",
8246
8246
  "py-6 text-center text-sm text-purple-muted-300",
8247
8247
  e
@@ -8258,7 +8258,7 @@ function id({
8258
8258
  $t.Group,
8259
8259
  {
8260
8260
  "data-slot": "command-group",
8261
- className: R(
8261
+ className: k(
8262
8262
  "qodo qodo-command-group",
8263
8263
  "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
8264
8264
  e
@@ -8275,7 +8275,7 @@ function ld({
8275
8275
  $t.Item,
8276
8276
  {
8277
8277
  "data-slot": "command-item",
8278
- className: R(
8278
+ className: k(
8279
8279
  "qodo qodo-command-item",
8280
8280
  "data-[selected=true]:bg-purple-muted-500 data-[selected=true]:text-purple-100 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
8281
8281
  e
@@ -8284,7 +8284,7 @@ function ld({
8284
8284
  }
8285
8285
  );
8286
8286
  }
8287
- var Hn = "Popover", [cd, wR] = we(Hn, [
8287
+ var Hn = "Popover", [cd, wk] = we(Hn, [
8288
8288
  ht
8289
8289
  ]), $r = ht(), [uy, yt] = cd(Hn), dd = (e) => {
8290
8290
  const {
@@ -8344,13 +8344,13 @@ var fd = "PopoverTrigger", pd = d.forwardRef(
8344
8344
  }
8345
8345
  );
8346
8346
  pd.displayName = fd;
8347
- var Ra = "PopoverPortal", [py, my] = cd(Ra, {
8347
+ var ka = "PopoverPortal", [py, my] = cd(ka, {
8348
8348
  forceMount: void 0
8349
8349
  }), md = (e) => {
8350
- const { __scopePopover: t, forceMount: r, children: n, container: o } = e, a = yt(Ra, t);
8350
+ const { __scopePopover: t, forceMount: r, children: n, container: o } = e, a = yt(ka, t);
8351
8351
  return /* @__PURE__ */ s.jsx(py, { scope: t, forceMount: r, children: /* @__PURE__ */ s.jsx(Ee, { present: r || a.open, children: /* @__PURE__ */ s.jsx(cr, { asChild: !0, container: o, children: n }) }) });
8352
8352
  };
8353
- md.displayName = Ra;
8353
+ md.displayName = ka;
8354
8354
  var tr = "PopoverContent", gd = d.forwardRef(
8355
8355
  (e, t) => {
8356
8356
  const r = my(tr, e.__scopePopover), { forceMount: n = r.forceMount, ...o } = e, a = yt(tr, e.__scopePopover);
@@ -8518,7 +8518,7 @@ function Na({
8518
8518
  "data-slot": "popover-content",
8519
8519
  align: t,
8520
8520
  sideOffset: r,
8521
- className: R(
8521
+ className: k(
8522
8522
  "qodo qodo-popover-content bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
8523
8523
  e
8524
8524
  ),
@@ -8543,24 +8543,24 @@ const bd = d.forwardRef(
8543
8543
  loadingText: g = "Loading...",
8544
8544
  ...m
8545
8545
  }, b) => {
8546
- const [v, x] = d.useState(!1), [y, h] = d.useState(""), [C, S] = d.useState(0), k = d.useRef(null), P = e.find((j) => j.value === t), N = (j) => {
8546
+ const [v, x] = d.useState(!1), [y, h] = d.useState(""), [C, S] = d.useState(0), R = d.useRef(null), P = e.find((j) => j.value === t), N = (j) => {
8547
8547
  h(j), f == null || f(j);
8548
8548
  };
8549
8549
  return d.useEffect(() => {
8550
- k.current && S(k.current.offsetWidth);
8550
+ R.current && S(R.current.offsetWidth);
8551
8551
  }, []), /* @__PURE__ */ s.jsxs(ja, { open: l ? !1 : v, onOpenChange: x, children: [
8552
8552
  /* @__PURE__ */ s.jsx(Pa, { asChild: !0, children: /* @__PURE__ */ s.jsxs(
8553
8553
  ft,
8554
8554
  {
8555
8555
  ref: (j) => {
8556
- typeof b == "function" ? b(j) : b && (b.current = j), k.current = j;
8556
+ typeof b == "function" ? b(j) : b && (b.current = j), R.current = j;
8557
8557
  },
8558
8558
  variant: "outline",
8559
8559
  role: "combobox",
8560
8560
  "aria-expanded": v,
8561
8561
  "aria-invalid": c || void 0,
8562
8562
  "data-readonly": l || void 0,
8563
- className: R(
8563
+ className: k(
8564
8564
  "qodo qodo-combobox w-full h-9 px-3 py-1 justify-between rounded-md",
8565
8565
  "border border-purple-muted-500 bg-purple-muted-700 hover:bg-purple-muted-700",
8566
8566
  "text-sm md:text-sm text-purple-muted-300 hover:text-purple-muted-300 focus:text-purple-muted-300 active:text-purple-muted-300 selection:bg-primary selection:text-primary-foreground",
@@ -8612,7 +8612,7 @@ const bd = d.forwardRef(
8612
8612
  value: j.value,
8613
8613
  keywords: [j.label],
8614
8614
  disabled: j.disabled,
8615
- className: R(
8615
+ className: k(
8616
8616
  "text-purple-100 hover:bg-purple-muted-500",
8617
8617
  "focus:bg-purple-muted-500 focus:text-purple-100",
8618
8618
  {
@@ -8628,7 +8628,7 @@ const bd = d.forwardRef(
8628
8628
  /* @__PURE__ */ s.jsx(
8629
8629
  ar,
8630
8630
  {
8631
- className: R("mr-2 h-4 w-4", {
8631
+ className: k("mr-2 h-4 w-4", {
8632
8632
  "opacity-100": V,
8633
8633
  "opacity-0": !V
8634
8634
  })
@@ -8650,7 +8650,7 @@ const bd = d.forwardRef(
8650
8650
  }
8651
8651
  );
8652
8652
  bd.displayName = "Combobox";
8653
- const ky = Rn(
8653
+ const Ry = kn(
8654
8654
  "qodo qodo-badge inline-flex items-center dark:font-normal border transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 font-light gap-1",
8655
8655
  {
8656
8656
  variants: {
@@ -8692,12 +8692,12 @@ function jr({
8692
8692
  {
8693
8693
  "aria-disabled": n,
8694
8694
  "aria-active": o,
8695
- className: R(ky({ variant: t, size: r }), e),
8695
+ className: k(Ry({ variant: t, size: r }), e),
8696
8696
  ...a
8697
8697
  }
8698
8698
  );
8699
8699
  }
8700
- function Ry({
8700
+ function ky({
8701
8701
  className: e,
8702
8702
  ...t
8703
8703
  }) {
@@ -8705,7 +8705,7 @@ function Ry({
8705
8705
  "div",
8706
8706
  {
8707
8707
  "data-slot": "card",
8708
- className: R(
8708
+ className: k(
8709
8709
  "qodo qodo-card bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm dark:bg-card dark:text-card-foreground dark:border-border",
8710
8710
  e
8711
8711
  ),
@@ -8718,7 +8718,7 @@ function jy({ className: e, ...t }) {
8718
8718
  "div",
8719
8719
  {
8720
8720
  "data-slot": "card-header",
8721
- className: R(
8721
+ className: k(
8722
8722
  "qodo qodo-card-header @container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
8723
8723
  e
8724
8724
  ),
@@ -8731,7 +8731,7 @@ function Py({ className: e, ...t }) {
8731
8731
  "div",
8732
8732
  {
8733
8733
  "data-slot": "card-title",
8734
- className: R(
8734
+ className: k(
8735
8735
  "qodo qodo-card-title leading-none font-semibold",
8736
8736
  e
8737
8737
  ),
@@ -8744,7 +8744,7 @@ function Ny({ className: e, ...t }) {
8744
8744
  "div",
8745
8745
  {
8746
8746
  "data-slot": "card-description",
8747
- className: R(
8747
+ className: k(
8748
8748
  "qodo qodo-card-description text-muted-foreground text-sm dark:text-muted-foreground",
8749
8749
  e
8750
8750
  ),
@@ -8752,12 +8752,12 @@ function Ny({ className: e, ...t }) {
8752
8752
  }
8753
8753
  );
8754
8754
  }
8755
- function CR({ className: e, ...t }) {
8755
+ function Ck({ className: e, ...t }) {
8756
8756
  return /* @__PURE__ */ s.jsx(
8757
8757
  "div",
8758
8758
  {
8759
8759
  "data-slot": "card-action",
8760
- className: R(
8760
+ className: k(
8761
8761
  "qodo qodo-card-action col-start-2 row-span-2 row-start-1 self-start justify-self-end",
8762
8762
  e
8763
8763
  ),
@@ -8770,17 +8770,17 @@ function Ty({ className: e, ...t }) {
8770
8770
  "div",
8771
8771
  {
8772
8772
  "data-slot": "card-content",
8773
- className: R("qodo qodo-card-content px-6", e),
8773
+ className: k("qodo qodo-card-content px-6", e),
8774
8774
  ...t
8775
8775
  }
8776
8776
  );
8777
8777
  }
8778
- function SR({ className: e, ...t }) {
8778
+ function Sk({ className: e, ...t }) {
8779
8779
  return /* @__PURE__ */ s.jsx(
8780
8780
  "div",
8781
8781
  {
8782
8782
  "data-slot": "card-footer",
8783
- className: R(
8783
+ className: k(
8784
8784
  "qodo qodo-card-footer flex items-center px-6 [.border-t]:pt-6",
8785
8785
  e
8786
8786
  ),
@@ -8788,7 +8788,7 @@ function SR({ className: e, ...t }) {
8788
8788
  }
8789
8789
  );
8790
8790
  }
8791
- var Ta = "Progress", _a = 100, [_y, ER] = we(Ta), [Ay, Iy] = _y(Ta), yd = d.forwardRef(
8791
+ var Ta = "Progress", _a = 100, [_y, Ek] = we(Ta), [Ay, Iy] = _y(Ta), yd = d.forwardRef(
8792
8792
  (e, t) => {
8793
8793
  const {
8794
8794
  __scopeProgress: r,
@@ -8862,7 +8862,7 @@ function Dy(e, t) {
8862
8862
  Defaulting to \`null\`.`;
8863
8863
  }
8864
8864
  var $y = yd, Ly = Cd;
8865
- function kR({
8865
+ function Rk({
8866
8866
  className: e,
8867
8867
  value: t,
8868
8868
  ...r
@@ -8871,7 +8871,7 @@ function kR({
8871
8871
  $y,
8872
8872
  {
8873
8873
  "data-slot": "progress",
8874
- className: R(
8874
+ className: k(
8875
8875
  "qodo qodo-progress bg-primary/20 relative h-2 w-full overflow-hidden rounded-full dark:bg-primary/20",
8876
8876
  e
8877
8877
  ),
@@ -8894,7 +8894,7 @@ function Fy({
8894
8894
  return /* @__PURE__ */ s.jsx(
8895
8895
  "div",
8896
8896
  {
8897
- className: R(
8897
+ className: k(
8898
8898
  "qodo qodo-skeleton animate-pulse rounded-md bg-neutral-900/10 dark:bg-neutral-50/10",
8899
8899
  e
8900
8900
  ),
@@ -8902,7 +8902,7 @@ function Fy({
8902
8902
  }
8903
8903
  );
8904
8904
  }
8905
- var Kn = "Switch", [Vy, RR] = we(Kn), [By, Gy] = Vy(Kn), Ed = d.forwardRef(
8905
+ var Kn = "Switch", [Vy, kk] = we(Kn), [By, Gy] = Vy(Kn), Ed = d.forwardRef(
8906
8906
  (e, t) => {
8907
8907
  const {
8908
8908
  __scopeSwitch: r,
@@ -8958,9 +8958,9 @@ var Kn = "Switch", [Vy, RR] = we(Kn), [By, Gy] = Vy(Kn), Ed = d.forwardRef(
8958
8958
  }
8959
8959
  );
8960
8960
  Ed.displayName = Kn;
8961
- var kd = "SwitchThumb", Rd = d.forwardRef(
8961
+ var Rd = "SwitchThumb", kd = d.forwardRef(
8962
8962
  (e, t) => {
8963
- const { __scopeSwitch: r, ...n } = e, o = Gy(kd, r);
8963
+ const { __scopeSwitch: r, ...n } = e, o = Gy(Rd, r);
8964
8964
  return /* @__PURE__ */ s.jsx(
8965
8965
  q.span,
8966
8966
  {
@@ -8972,7 +8972,7 @@ var kd = "SwitchThumb", Rd = d.forwardRef(
8972
8972
  );
8973
8973
  }
8974
8974
  );
8975
- Rd.displayName = kd;
8975
+ kd.displayName = Rd;
8976
8976
  var Wy = "SwitchBubbleInput", jd = d.forwardRef(
8977
8977
  ({
8978
8978
  __scopeSwitch: e,
@@ -9018,8 +9018,8 @@ jd.displayName = Wy;
9018
9018
  function Pd(e) {
9019
9019
  return e ? "checked" : "unchecked";
9020
9020
  }
9021
- var zy = Ed, qy = Rd;
9022
- function jR({
9021
+ var zy = Ed, qy = kd;
9022
+ function jk({
9023
9023
  className: e,
9024
9024
  ...t
9025
9025
  }) {
@@ -9027,7 +9027,7 @@ function jR({
9027
9027
  zy,
9028
9028
  {
9029
9029
  "data-slot": "switch",
9030
- className: R(
9030
+ className: k(
9031
9031
  "qodo qodo-switch peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 dark:data-[state=checked]:bg-primary dark:data-[state=unchecked]:bg-input",
9032
9032
  e
9033
9033
  ),
@@ -9036,7 +9036,7 @@ function jR({
9036
9036
  qy,
9037
9037
  {
9038
9038
  "data-slot": "switch-thumb",
9039
- className: R(
9039
+ className: k(
9040
9040
  "bg-background pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground"
9041
9041
  )
9042
9042
  }
@@ -9068,7 +9068,7 @@ var Nd = "Toggle", Aa = d.forwardRef((e, t) => {
9068
9068
  });
9069
9069
  Aa.displayName = Nd;
9070
9070
  var Uy = Aa;
9071
- const Td = Rn(
9071
+ const Td = kn(
9072
9072
  "qodo qodo-toggle inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium text-foreground hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap dark:text-foreground dark:hover:bg-muted dark:hover:text-muted-foreground dark:data-[state=on]:bg-accent dark:data-[state=on]:text-accent-foreground",
9073
9073
  {
9074
9074
  variants: {
@@ -9088,7 +9088,7 @@ const Td = Rn(
9088
9088
  }
9089
9089
  }
9090
9090
  );
9091
- function PR({
9091
+ function Pk({
9092
9092
  className: e,
9093
9093
  variant: t,
9094
9094
  size: r,
@@ -9098,7 +9098,7 @@ function PR({
9098
9098
  Uy,
9099
9099
  {
9100
9100
  "data-slot": "toggle",
9101
- className: R(Td({ variant: t, size: r, className: e })),
9101
+ className: k(Td({ variant: t, size: r, className: e })),
9102
9102
  ...n
9103
9103
  }
9104
9104
  );
@@ -9127,7 +9127,7 @@ var Jy = d.forwardRef((e, t) => {
9127
9127
  defaultProp: l ?? null,
9128
9128
  onChange: c,
9129
9129
  caller: Lr
9130
- }), [y, h] = d.useState(!1), C = Ve(u), S = _d(r), k = d.useRef(!1), [P, N] = d.useState(0);
9130
+ }), [y, h] = d.useState(!1), C = Ve(u), S = _d(r), R = d.useRef(!1), [P, N] = d.useState(0);
9131
9131
  return d.useEffect(() => {
9132
9132
  const j = g.current;
9133
9133
  if (j)
@@ -9162,10 +9162,10 @@ var Jy = d.forwardRef((e, t) => {
9162
9162
  ref: m,
9163
9163
  style: { outline: "none", ...e.style },
9164
9164
  onMouseDown: L(e.onMouseDown, () => {
9165
- k.current = !0;
9165
+ R.current = !0;
9166
9166
  }),
9167
9167
  onFocus: L(e.onFocus, (j) => {
9168
- const V = !k.current;
9168
+ const V = !R.current;
9169
9169
  if (j.target === j.currentTarget && V && !y) {
9170
9170
  const H = new CustomEvent(To, Hy);
9171
9171
  if (j.currentTarget.dispatchEvent(H), !H.defaultPrevented) {
@@ -9175,7 +9175,7 @@ var Jy = d.forwardRef((e, t) => {
9175
9175
  Od(O, f);
9176
9176
  }
9177
9177
  }
9178
- k.current = !1;
9178
+ R.current = !1;
9179
9179
  }),
9180
9180
  onBlur: L(e.onBlur, () => h(!1))
9181
9181
  }
@@ -9267,7 +9267,7 @@ function Od(e, t = !1) {
9267
9267
  function rw(e, t) {
9268
9268
  return e.map((r, n) => e[(t + n) % e.length]);
9269
9269
  }
9270
- var Yn = Ad, Xn = Md, Ct = "ToggleGroup", [Dd, NR] = we(Ct, [
9270
+ var Yn = Ad, Xn = Md, Ct = "ToggleGroup", [Dd, Nk] = we(Ct, [
9271
9271
  wt
9272
9272
  ]), $d = wt(), Ia = F.forwardRef((e, t) => {
9273
9273
  const { type: r, ...n } = e;
@@ -9398,7 +9398,7 @@ const Gd = d.createContext({
9398
9398
  size: "default",
9399
9399
  variant: "default"
9400
9400
  });
9401
- function TR({
9401
+ function Tk({
9402
9402
  className: e,
9403
9403
  variant: t,
9404
9404
  size: r,
@@ -9411,7 +9411,7 @@ function TR({
9411
9411
  "data-slot": "toggle-group",
9412
9412
  "data-variant": t,
9413
9413
  "data-size": r,
9414
- className: R(
9414
+ className: k(
9415
9415
  "qodo qodo-toggle-group group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs dark:data-[variant=outline]:shadow-xs",
9416
9416
  e
9417
9417
  ),
@@ -9420,7 +9420,7 @@ function TR({
9420
9420
  }
9421
9421
  );
9422
9422
  }
9423
- function _R({
9423
+ function _k({
9424
9424
  className: e,
9425
9425
  children: t,
9426
9426
  variant: r,
@@ -9434,7 +9434,7 @@ function _R({
9434
9434
  "data-slot": "toggle-group-item",
9435
9435
  "data-variant": a.variant || r,
9436
9436
  "data-size": a.size || n,
9437
- className: R(
9437
+ className: k(
9438
9438
  Td({
9439
9439
  variant: a.variant || r,
9440
9440
  size: a.size || n
@@ -9547,7 +9547,7 @@ var uw = d.forwardRef((e, t) => {
9547
9547
  function Da(e) {
9548
9548
  return e ? "open" : "closed";
9549
9549
  }
9550
- var fw = zd, pw = Ud, mw = Hd, ze = "Accordion", gw = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [$a, vw, hw] = Tn(ze), [Jn, AR] = we(ze, [
9550
+ var fw = zd, pw = Ud, mw = Hd, ze = "Accordion", gw = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [$a, vw, hw] = Tn(ze), [Jn, Ak] = we(ze, [
9551
9551
  hw,
9552
9552
  Wd
9553
9553
  ]), La = Wd(), Kd = F.forwardRef(
@@ -9627,7 +9627,7 @@ var [Yd, xw] = Jn(ze), [Xd, bw] = Jn(
9627
9627
  if (x === -1) return;
9628
9628
  m.preventDefault();
9629
9629
  let h = x;
9630
- const C = 0, S = y - 1, k = () => {
9630
+ const C = 0, S = y - 1, R = () => {
9631
9631
  h = x + 1, h > S && (h = C);
9632
9632
  }, P = () => {
9633
9633
  h = x - 1, h < C && (h = S);
@@ -9640,13 +9640,13 @@ var [Yd, xw] = Jn(ze), [Xd, bw] = Jn(
9640
9640
  h = S;
9641
9641
  break;
9642
9642
  case "ArrowRight":
9643
- a === "horizontal" && (p ? k() : P());
9643
+ a === "horizontal" && (p ? R() : P());
9644
9644
  break;
9645
9645
  case "ArrowDown":
9646
- a === "vertical" && k();
9646
+ a === "vertical" && R();
9647
9647
  break;
9648
9648
  case "ArrowLeft":
9649
- a === "horizontal" && (p ? P() : k());
9649
+ a === "horizontal" && (p ? P() : R());
9650
9650
  break;
9651
9651
  case "ArrowUp":
9652
9652
  a === "vertical" && P();
@@ -9762,39 +9762,39 @@ nu.displayName = ru;
9762
9762
  function ou(e) {
9763
9763
  return e ? "open" : "closed";
9764
9764
  }
9765
- var Ew = Kd, kw = Jd, Rw = eu, jw = tu, Pw = nu;
9766
- function IR({
9765
+ var Ew = Kd, Rw = Jd, kw = eu, jw = tu, Pw = nu;
9766
+ function Ik({
9767
9767
  ...e
9768
9768
  }) {
9769
9769
  return /* @__PURE__ */ s.jsx(Ew, { "data-slot": "accordion", ...e });
9770
9770
  }
9771
- function MR({
9771
+ function Mk({
9772
9772
  className: e,
9773
9773
  ...t
9774
9774
  }) {
9775
9775
  return /* @__PURE__ */ s.jsx(
9776
- kw,
9776
+ Rw,
9777
9777
  {
9778
9778
  "data-slot": "accordion-item",
9779
- className: R(
9780
- "qodo qodo-accordion-item border-b last:border-b-0 dark:border-border",
9779
+ className: k(
9780
+ "qodo qodo-accordion-item border-b border-[var(--border-interactive-neutral-idle)] text-[var(--text-interactive-neutral-idle)] text-base font-medium leading-6 hover:text-[var(--text-interactive-neutral-hover)]",
9781
9781
  e
9782
9782
  ),
9783
9783
  ...t
9784
9784
  }
9785
9785
  );
9786
9786
  }
9787
- function OR({
9787
+ function Ok({
9788
9788
  className: e,
9789
9789
  children: t,
9790
9790
  ...r
9791
9791
  }) {
9792
- return /* @__PURE__ */ s.jsx(Rw, { className: "flex", children: /* @__PURE__ */ s.jsxs(
9792
+ return /* @__PURE__ */ s.jsx(kw, { className: "flex", children: /* @__PURE__ */ s.jsxs(
9793
9793
  jw,
9794
9794
  {
9795
9795
  "data-slot": "accordion-trigger",
9796
- className: R(
9797
- "qodo qodo-accordion-trigger focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium text-foreground transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180 dark:text-foreground dark:focus-visible:border-ring dark:focus-visible:ring-ring/50",
9796
+ className: k(
9797
+ "qodo qodo-accordion-trigger focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none text-text-interactive-neutral-idle focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180 dark:focus-visible:border-ring dark:focus-visible:ring-ring/50 cursor-pointer hover:text-[var(--text-interactive-neutral-hover)]",
9798
9798
  e
9799
9799
  ),
9800
9800
  ...r,
@@ -9805,7 +9805,7 @@ function OR({
9805
9805
  }
9806
9806
  ) });
9807
9807
  }
9808
- function DR({
9808
+ function Dk({
9809
9809
  className: e,
9810
9810
  children: t,
9811
9811
  ...r
@@ -9814,16 +9814,25 @@ function DR({
9814
9814
  Pw,
9815
9815
  {
9816
9816
  "data-slot": "accordion-content",
9817
- className: R(
9817
+ className: k(
9818
9818
  "qodo qodo-accordion-content",
9819
9819
  "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-foreground dark:text-foreground"
9820
9820
  ),
9821
9821
  ...r,
9822
- children: /* @__PURE__ */ s.jsx("div", { className: R("pt-0 pb-4", e), children: t })
9822
+ children: /* @__PURE__ */ s.jsx(
9823
+ "div",
9824
+ {
9825
+ className: k(
9826
+ "pt-0 pb-4 text-text-interactive-neutral-idle font-normal text-sm",
9827
+ e
9828
+ ),
9829
+ children: t
9830
+ }
9831
+ )
9823
9832
  }
9824
9833
  );
9825
9834
  }
9826
- var eo = "Tabs", [Nw, $R] = we(eo, [
9835
+ var eo = "Tabs", [Nw, $k] = we(eo, [
9827
9836
  wt
9828
9837
  ]), au = wt(), [Tw, Va] = Nw(eo), su = d.forwardRef(
9829
9838
  (e, t) => {
@@ -9966,7 +9975,7 @@ function mu(e, t) {
9966
9975
  return `${e}-content-${t}`;
9967
9976
  }
9968
9977
  var _w = su, Aw = lu, Iw = du, Mw = fu;
9969
- function LR({
9978
+ function Lk({
9970
9979
  className: e,
9971
9980
  ...t
9972
9981
  }) {
@@ -9974,12 +9983,12 @@ function LR({
9974
9983
  _w,
9975
9984
  {
9976
9985
  "data-slot": "tabs",
9977
- className: R("qodo qodo-tabs flex flex-col gap-2", e),
9986
+ className: k("qodo qodo-tabs flex flex-col gap-2", e),
9978
9987
  ...t
9979
9988
  }
9980
9989
  );
9981
9990
  }
9982
- function FR({
9991
+ function Fk({
9983
9992
  className: e,
9984
9993
  ...t
9985
9994
  }) {
@@ -9987,7 +9996,7 @@ function FR({
9987
9996
  Aw,
9988
9997
  {
9989
9998
  "data-slot": "tabs-list",
9990
- className: R(
9999
+ className: k(
9991
10000
  "inline-flex w-full items-end justify-start gap-4",
9992
10001
  e
9993
10002
  ),
@@ -9995,7 +10004,7 @@ function FR({
9995
10004
  }
9996
10005
  );
9997
10006
  }
9998
- function VR({
10007
+ function Vk({
9999
10008
  className: e,
10000
10009
  ...t
10001
10010
  }) {
@@ -10003,7 +10012,7 @@ function VR({
10003
10012
  Iw,
10004
10013
  {
10005
10014
  "data-slot": "tabs-trigger",
10006
- className: R(
10015
+ className: k(
10007
10016
  "text-[var(--text-interactive-neutral-idle)] hover:text-[var(--text-interactive-neutral-hover)] data-[state=active]:text-[var(--text-interactive-emphasis-active)] focus-visible:ring-ring/50 focus-visible:outline-ring inline-flex items-center justify-center gap-1.5 border-b border-transparent py-4 text-xs font-normal whitespace-nowrap transition-[color,border-color] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed data-[state=active]:border-[var(--color-purple-400)] relative -mb-px tracking-[0.01em] leading-[150%] cursor-pointer [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
10008
10017
  e
10009
10018
  ),
@@ -10011,7 +10020,7 @@ function VR({
10011
10020
  }
10012
10021
  );
10013
10022
  }
10014
- function BR({
10023
+ function Bk({
10015
10024
  className: e,
10016
10025
  ...t
10017
10026
  }) {
@@ -10019,7 +10028,7 @@ function BR({
10019
10028
  Mw,
10020
10029
  {
10021
10030
  "data-slot": "tabs-content",
10022
- className: R("flex-1 outline-none", e),
10031
+ className: k("flex-1 outline-none", e),
10023
10032
  ...t
10024
10033
  }
10025
10034
  );
@@ -10232,9 +10241,9 @@ function Hw(e) {
10232
10241
  ...p.current.rules,
10233
10242
  ..._o(p.current.disabled) ? { disabled: p.current.disabled } : {}
10234
10243
  });
10235
- const C = (S, k) => {
10244
+ const C = (S, R) => {
10236
10245
  const P = Ne(o._fields, S);
10237
- P && P._f && (P._f.mount = k);
10246
+ P && P._f && (P._f.mount = R);
10238
10247
  };
10239
10248
  if (C(r, !0), h) {
10240
10249
  const S = vu(Ne(o._options.defaultValues, r));
@@ -10345,15 +10354,15 @@ function r0(e, t) {
10345
10354
  }
10346
10355
  return (t === "string" ? String : Number)(e);
10347
10356
  }
10348
- function ku(e) {
10357
+ function Ru(e) {
10349
10358
  return e && e.map((t, r) => /* @__PURE__ */ F.createElement(t.tag, yn({
10350
10359
  key: r
10351
- }, t.attr), ku(t.child)));
10360
+ }, t.attr), Ru(t.child)));
10352
10361
  }
10353
- function Ru(e) {
10362
+ function ku(e) {
10354
10363
  return (t) => /* @__PURE__ */ F.createElement(n0, bn({
10355
10364
  attr: yn({}, e.attr)
10356
- }, t), ku(e.child));
10365
+ }, t), Ru(e.child));
10357
10366
  }
10358
10367
  function n0(e) {
10359
10368
  var t = (r) => {
@@ -10379,7 +10388,7 @@ function n0(e) {
10379
10388
  return vi !== void 0 ? /* @__PURE__ */ F.createElement(vi.Consumer, null, (r) => t(r)) : t(Eu);
10380
10389
  }
10381
10390
  function o0(e) {
10382
- return Ru({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: { id: "Circle_Info" }, child: [{ tag: "g", attr: {}, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { d: "M11.5,15a.5.5,0,0,0,1,0h0V10.981a.5.5,0,0,0-1,0Z" }, child: [] }, { tag: "circle", attr: { cx: "12", cy: "8.999", r: "0.5" }, child: [] }] }, { tag: "path", attr: { d: "M12,2.065A9.934,9.934,0,1,1,2.066,12,9.945,9.945,0,0,1,12,2.065Zm0,18.867A8.934,8.934,0,1,0,3.066,12,8.944,8.944,0,0,0,12,20.932Z" }, child: [] }] }] }] })(e);
10391
+ return ku({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: { id: "Circle_Info" }, child: [{ tag: "g", attr: {}, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { d: "M11.5,15a.5.5,0,0,0,1,0h0V10.981a.5.5,0,0,0-1,0Z" }, child: [] }, { tag: "circle", attr: { cx: "12", cy: "8.999", r: "0.5" }, child: [] }] }, { tag: "path", attr: { d: "M12,2.065A9.934,9.934,0,1,1,2.066,12,9.945,9.945,0,0,1,12,2.065Zm0,18.867A8.934,8.934,0,1,0,3.066,12,8.944,8.944,0,0,0,12,20.932Z" }, child: [] }] }] }] })(e);
10383
10392
  }
10384
10393
  var a0 = "Label", ju = d.forwardRef((e, t) => /* @__PURE__ */ s.jsx(
10385
10394
  q.label,
@@ -10402,7 +10411,7 @@ function Wa({
10402
10411
  s0,
10403
10412
  {
10404
10413
  "data-slot": "label",
10405
- className: R(
10414
+ className: k(
10406
10415
  "qodo qodo-label flex items-center text-purple-muted-300 gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
10407
10416
  e
10408
10417
  ),
@@ -10436,7 +10445,7 @@ function l0({ className: e, ...t }) {
10436
10445
  "div",
10437
10446
  {
10438
10447
  "data-slot": "form-item",
10439
- className: R("qodo qodo-form-item grid gap-2", e),
10448
+ className: k("qodo qodo-form-item grid gap-2", e),
10440
10449
  ...t
10441
10450
  }
10442
10451
  ) });
@@ -10450,7 +10459,7 @@ function c0({
10450
10459
  Wa,
10451
10460
  {
10452
10461
  "data-slot": "form-label",
10453
- className: R(
10462
+ className: k(
10454
10463
  "data-[error=true]:text-destructive font-normal text-sm",
10455
10464
  e
10456
10465
  ),
@@ -10479,7 +10488,7 @@ function u0({ className: e, ...t }) {
10479
10488
  {
10480
10489
  "data-slot": "form-description",
10481
10490
  id: r,
10482
- className: R("text-purple-muted-300 text-sm", e),
10491
+ className: k("text-purple-muted-300 text-sm", e),
10483
10492
  ...t
10484
10493
  }
10485
10494
  );
@@ -10491,13 +10500,13 @@ function f0({ className: e, ...t }) {
10491
10500
  {
10492
10501
  "data-slot": "form-message",
10493
10502
  id: n,
10494
- className: R("text-destructive text-sm", e),
10503
+ className: k("text-destructive text-sm", e),
10495
10504
  ...t,
10496
10505
  children: o
10497
10506
  }
10498
10507
  ) : null;
10499
10508
  }
10500
- var [ro, GR] = we("Tooltip", [
10509
+ var [ro, Gk] = we("Tooltip", [
10501
10510
  ht
10502
10511
  ]), no = ht(), Tu = "TooltipProvider", p0 = 700, ta = "tooltip.open", [m0, za] = ro(Tu), _u = (e) => {
10503
10512
  const {
@@ -10553,7 +10562,7 @@ var Pr = "Tooltip", [g0, Fr] = ro(Pr), Au = (e) => {
10553
10562
  caller: Pr
10554
10563
  }), C = d.useMemo(() => y ? x.current ? "delayed-open" : "instant-open" : "closed", [y]), S = d.useCallback(() => {
10555
10564
  window.clearTimeout(m.current), m.current = 0, x.current = !1, h(!0);
10556
- }, [h]), k = d.useCallback(() => {
10565
+ }, [h]), R = d.useCallback(() => {
10557
10566
  window.clearTimeout(m.current), m.current = 0, h(!1);
10558
10567
  }, [h]), P = d.useCallback(() => {
10559
10568
  window.clearTimeout(m.current), m.current = window.setTimeout(() => {
@@ -10575,10 +10584,10 @@ var Pr = "Tooltip", [g0, Fr] = ro(Pr), Au = (e) => {
10575
10584
  c.isOpenDelayedRef.current ? P() : S();
10576
10585
  }, [c.isOpenDelayedRef, P, S]),
10577
10586
  onTriggerLeave: d.useCallback(() => {
10578
- b ? k() : (window.clearTimeout(m.current), m.current = 0);
10579
- }, [k, b]),
10587
+ b ? R() : (window.clearTimeout(m.current), m.current = 0);
10588
+ }, [R, b]),
10580
10589
  onOpen: S,
10581
- onClose: k,
10590
+ onClose: R,
10582
10591
  disableHoverableContent: b,
10583
10592
  children: r
10584
10593
  }
@@ -10631,8 +10640,8 @@ var rr = "TooltipContent", Ou = d.forwardRef(
10631
10640
  l(null), p(!1);
10632
10641
  }, [p]), m = d.useCallback(
10633
10642
  (b, v) => {
10634
- const x = b.currentTarget, y = { x: b.clientX, y: b.clientY }, h = C0(y, x.getBoundingClientRect()), C = S0(y, h), S = E0(v.getBoundingClientRect()), k = R0([...C, ...S]);
10635
- l(k), p(!0);
10643
+ const x = b.currentTarget, y = { x: b.clientX, y: b.clientY }, h = C0(y, x.getBoundingClientRect()), C = S0(y, h), S = E0(v.getBoundingClientRect()), R = k0([...C, ...S]);
10644
+ l(R), p(!0);
10636
10645
  },
10637
10646
  [p]
10638
10647
  );
@@ -10646,7 +10655,7 @@ var rr = "TooltipContent", Ou = d.forwardRef(
10646
10655
  }, [c, f, m, g]), d.useEffect(() => {
10647
10656
  if (i) {
10648
10657
  const b = (v) => {
10649
- const x = v.target, y = { x: v.clientX, y: v.clientY }, h = (c == null ? void 0 : c.contains(x)) || (f == null ? void 0 : f.contains(x)), C = !k0(y, i);
10658
+ const x = v.target, y = { x: v.clientX, y: v.clientY }, h = (c == null ? void 0 : c.contains(x)) || (f == null ? void 0 : f.contains(x)), C = !R0(y, i);
10650
10659
  h ? g() : C && (g(), u());
10651
10660
  };
10652
10661
  return document.addEventListener("pointermove", b), () => document.removeEventListener("pointermove", b);
@@ -10769,7 +10778,7 @@ function E0(e) {
10769
10778
  { x: o, y: n }
10770
10779
  ];
10771
10780
  }
10772
- function k0(e, t) {
10781
+ function R0(e, t) {
10773
10782
  const { x: r, y: n } = e;
10774
10783
  let o = !1;
10775
10784
  for (let a = 0, i = t.length - 1; a < t.length; i = a++) {
@@ -10778,7 +10787,7 @@ function k0(e, t) {
10778
10787
  }
10779
10788
  return o;
10780
10789
  }
10781
- function R0(e) {
10790
+ function k0(e) {
10782
10791
  const t = e.slice();
10783
10792
  return t.sort((r, n) => r.x < n.x ? -1 : r.x > n.x ? 1 : r.y < n.y ? -1 : r.y > n.y ? 1 : 0), j0(t);
10784
10793
  }
@@ -10843,7 +10852,7 @@ function Gu({
10843
10852
  {
10844
10853
  "data-slot": "tooltip-content",
10845
10854
  sideOffset: t,
10846
- className: R(
10855
+ className: k(
10847
10856
  "qodo qodo-tooltip-content bg-purple-muted-700 border border-purple-muted-600 text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
10848
10857
  e,
10849
10858
  { "py-2.5": n }
@@ -11032,7 +11041,7 @@ Hu.displayName = B0;
11032
11041
  function Ku(e) {
11033
11042
  return e ? "checked" : "unchecked";
11034
11043
  }
11035
- var G0 = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], oo = "RadioGroup", [W0, WR] = we(oo, [
11044
+ var G0 = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], oo = "RadioGroup", [W0, Wk] = we(oo, [
11036
11045
  wt,
11037
11046
  Wu
11038
11047
  ]), Yu = wt(), Xu = Wu(), [z0, q0] = W0(oo), Zu = d.forwardRef(
@@ -11152,7 +11161,7 @@ function X0({
11152
11161
  "data-slot": "radio-group",
11153
11162
  "data-readonly": r || void 0,
11154
11163
  disabled: n.disabled || r,
11155
- className: R("qodo qodo-radio-group grid gap-3 group", e),
11164
+ className: k("qodo qodo-radio-group grid gap-3 group", e),
11156
11165
  ...n
11157
11166
  }
11158
11167
  );
@@ -11165,7 +11174,7 @@ function Z0({
11165
11174
  K0,
11166
11175
  {
11167
11176
  "data-slot": "radio-group-item",
11168
- className: R(
11177
+ className: k(
11169
11178
  "qodo qodo-radio-group-item cursor-pointer border-[var(--border-input-neutral-idle)] bg-[var(--fill-input-neutral-idle)] focus-visible:border-ring focus-visible:ring-ring/50",
11170
11179
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
11171
11180
  "aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px]",
@@ -11205,7 +11214,7 @@ const tf = F.forwardRef((e, t) => {
11205
11214
  i || (p == null || p({
11206
11215
  target: { value: v }
11207
11216
  }), o == null || o(v));
11208
- }, b = R(
11217
+ }, b = k(
11209
11218
  "qodo qodo-custom-radio-group",
11210
11219
  "flex",
11211
11220
  {
@@ -11238,11 +11247,11 @@ const Ha = ({
11238
11247
  labelClassName: n,
11239
11248
  descriptionClassName: o,
11240
11249
  labelWrapperClassName: a
11241
- }) => /* @__PURE__ */ s.jsxs("div", { className: R("flex flex-col gap-2", a), children: [
11250
+ }) => /* @__PURE__ */ s.jsxs("div", { className: k("flex flex-col gap-2", a), children: [
11242
11251
  e && /* @__PURE__ */ s.jsx(
11243
11252
  "div",
11244
11253
  {
11245
- className: R(
11254
+ className: k(
11246
11255
  "text-[var(--text-bg-neutral-mid)] font-normal text-sm",
11247
11256
  "group-has-[button:disabled]/radio-item:opacity-70",
11248
11257
  "group-has-[button:disabled]/checkbox-item:opacity-70",
@@ -11257,7 +11266,7 @@ const Ha = ({
11257
11266
  t && /* @__PURE__ */ s.jsx(
11258
11267
  "div",
11259
11268
  {
11260
- className: R(
11269
+ className: k(
11261
11270
  "text-sm text-[var(--text-bg-neutral-mild)] font-normal",
11262
11271
  o
11263
11272
  ),
@@ -11283,12 +11292,12 @@ const rf = ({
11283
11292
  Wa,
11284
11293
  {
11285
11294
  htmlFor: f,
11286
- className: R(
11295
+ className: k(
11287
11296
  "group/radio-item flex items-start p-4 rounded-lg gap-2 transition-all duration-200",
11288
11297
  "font-normal leading-5 cursor-pointer",
11289
11298
  "has-[button:disabled]:cursor-not-allowed has-[button:disabled]:hover:bg-transparent",
11290
11299
  {
11291
- "cursor-pointer hover:bg-muted/50": !t,
11300
+ "cursor-pointer": !t,
11292
11301
  "!cursor-not-allowed hover:!bg-transparent": t,
11293
11302
  "border border-destructive": r
11294
11303
  },
@@ -11320,12 +11329,12 @@ const rf = ({
11320
11329
  );
11321
11330
  };
11322
11331
  rf.displayName = "RadioGroupItemComponent";
11323
- const J0 = Lt(tf), Q0 = (e) => /* @__PURE__ */ s.jsx("hr", { className: "w-full h-px border-[var(--base-sidebar-border)]", ...e }), eC = ({ children: e, description: t, className: r }) => /* @__PURE__ */ s.jsxs("div", { className: R("space-y-1", r), children: [
11332
+ const J0 = Lt(tf), Q0 = (e) => /* @__PURE__ */ s.jsx("hr", { className: "w-full h-px border-[var(--base-sidebar-border)]", ...e }), eC = ({ children: e, description: t, className: r }) => /* @__PURE__ */ s.jsxs("div", { className: k("space-y-1", r), children: [
11324
11333
  /* @__PURE__ */ s.jsx("h2", { className: "flex items-center gap-2.5 text-2xl text-white", children: e }),
11325
11334
  t && /* @__PURE__ */ s.jsx("span", { className: "text-sm text-purple-muted-300", children: t })
11326
11335
  ] }), nf = F.forwardRef(
11327
11336
  ({ direction: e = "horizontal", className: t, ...r }, n) => {
11328
- const o = R(
11337
+ const o = k(
11329
11338
  "flex flex-row gap-6",
11330
11339
  {
11331
11340
  "flex-col": e === "vertical"
@@ -11346,7 +11355,7 @@ function tC({
11346
11355
  {
11347
11356
  "data-slot": "textarea",
11348
11357
  rows: t,
11349
- className: R(
11358
+ className: k(
11350
11359
  "qodo qodo-textarea border-input px-3 py-2 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20",
11351
11360
  "dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex min-h-16 w-full rounded-md border bg-transparent",
11352
11361
  "placeholder:text-purple-muted-400 text-purple-muted-300 shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] selection:bg-primary selection:text-primary-foreground disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-purple-muted-700 disabled:border-purple-muted-500 disabled:text-purple-muted-400 read-only:bg-purple-muted-700 read-only:border-purple-muted-400 read-only:cursor-default read-only:text-purple-muted-200 md:text-sm",
@@ -11365,7 +11374,7 @@ const rC = F.forwardRef(
11365
11374
  {
11366
11375
  ...r,
11367
11376
  ref: n,
11368
- className: R(
11377
+ className: k(
11369
11378
  {
11370
11379
  "font-plex-mono text-sm leading-relaxed rounded dark:bg-fill-input-neutral-idle px-3 py-2 border-0": e === "code"
11371
11380
  },
@@ -11387,7 +11396,7 @@ const rC = F.forwardRef(
11387
11396
  variant: a,
11388
11397
  disabled: n,
11389
11398
  size: "sm",
11390
- className: R(
11399
+ className: k(
11391
11400
  "flex items-center gap-1 px-2 py-0.5",
11392
11401
  "font-normal whitespace-nowrap",
11393
11402
  o
@@ -11424,7 +11433,7 @@ const rC = F.forwardRef(
11424
11433
  "div",
11425
11434
  {
11426
11435
  onClick: r,
11427
- className: R(
11436
+ className: k(
11428
11437
  "bg-transparent hover:bg-purple-muted-800 rounded-sm py-1 px-2",
11429
11438
  a
11430
11439
  ),
@@ -11488,7 +11497,7 @@ const rC = F.forwardRef(
11488
11497
  onResetTags: C = () => {
11489
11498
  }
11490
11499
  }) => {
11491
- const [S, k] = Te(""), [P, N] = Te(!1), j = be(null), V = be(null), H = be(null), [re, te] = Te();
11500
+ const [S, R] = Te(""), [P, N] = Te(!1), j = be(null), V = be(null), H = be(null), [re, te] = Te();
11492
11501
  ut(() => {
11493
11502
  V.current && te(V.current.offsetWidth);
11494
11503
  }, []);
@@ -11503,7 +11512,7 @@ const rC = F.forwardRef(
11503
11512
  x == null || x([]), C();
11504
11513
  }, M = ($) => {
11505
11514
  const _ = $.target.value;
11506
- k(_), N(!0);
11515
+ R(_), N(!0);
11507
11516
  }, E = () => {
11508
11517
  const $ = S.trim().toLowerCase();
11509
11518
  if (!$) return [];
@@ -11517,13 +11526,13 @@ const rC = F.forwardRef(
11517
11526
  const _ = I($);
11518
11527
  if (!_) return;
11519
11528
  if (e.some((ee) => ee.id === _)) {
11520
- k(""), N(!1);
11529
+ R(""), N(!1);
11521
11530
  return;
11522
11531
  }
11523
11532
  const K = o.find(
11524
11533
  (ee) => ee.id === _ || I(ee.label) === _
11525
11534
  );
11526
- K ? W(K) : a && W({ id: _, label: _ }), k(""), N(!1);
11535
+ K ? W(K) : a && W({ id: _, label: _ }), R(""), N(!1);
11527
11536
  }, J = ($) => {
11528
11537
  const _ = $.key === Ao.BACKSPACE && !S && e.length > 0, K = $.key === Ao.ENTER && S, ee = $.key === Ao.ESCAPE;
11529
11538
  K ? ($.preventDefault(), B(), H.current && (H.current.scrollLeft = H.current.scrollWidth)) : _ ? O(e[e.length - 1].id) : ee && N(!1);
@@ -11541,7 +11550,7 @@ const rC = F.forwardRef(
11541
11550
  children: /* @__PURE__ */ s.jsx(
11542
11551
  "div",
11543
11552
  {
11544
- className: R(
11553
+ className: k(
11545
11554
  "max-h-[200px] overflow-y-auto flex flex-col gap-1 p-1",
11546
11555
  u
11547
11556
  ),
@@ -11557,7 +11566,7 @@ const rC = F.forwardRef(
11557
11566
  tagVariant: t,
11558
11567
  onClick: () => {
11559
11568
  var _;
11560
- W($), k(""), N(!1), (_ = j.current) == null || _.focus();
11569
+ W($), R(""), N(!1), (_ = j.current) == null || _.focus();
11561
11570
  }
11562
11571
  },
11563
11572
  $.id
@@ -11584,13 +11593,13 @@ const rC = F.forwardRef(
11584
11593
  onClick: A
11585
11594
  }
11586
11595
  );
11587
- return /* @__PURE__ */ s.jsx("div", { className: R("w-full", c), children: /* @__PURE__ */ s.jsxs(ja, { open: P && !l, onOpenChange: N, modal: !1, children: [
11596
+ return /* @__PURE__ */ s.jsx("div", { className: k("w-full", c), children: /* @__PURE__ */ s.jsxs(ja, { open: P && !l, onOpenChange: N, modal: !1, children: [
11588
11597
  /* @__PURE__ */ s.jsx(Pa, { className: "w-full", children: /* @__PURE__ */ s.jsxs(
11589
11598
  "div",
11590
11599
  {
11591
11600
  ref: V,
11592
11601
  tabIndex: -1,
11593
- className: R(
11602
+ className: k(
11594
11603
  "flex items-center gap-2 border border-[var(--border-tag-neutral-idle)] bg-purple-muted-800 py-0.5 px-3 rounded-md scrollbar-thin",
11595
11604
  { "opacity-60": l }
11596
11605
  ),
@@ -11619,7 +11628,7 @@ const rC = F.forwardRef(
11619
11628
  onKeyDown: J,
11620
11629
  placeholder: r,
11621
11630
  disabled: l || Q,
11622
- className: R(
11631
+ className: k(
11623
11632
  "m-0 h-6.5 flex-1 min-w-[6rem] border-0 bg-transparent dark:bg-transparent p-0 shadow-none focus-visible:outline-none focus-visible:ring-0 font-normal text-xs",
11624
11633
  "placeholder:text-[var(--text-input-neutral-placeholder)] dark:placeholder:text-[var(--text-input-neutral-placeholder)] placeholder:text-xs"
11625
11634
  )
@@ -11701,11 +11710,11 @@ var Io = St["__core-js_shared__"], wi = (function() {
11701
11710
  function SC(e) {
11702
11711
  return !!wi && wi in e;
11703
11712
  }
11704
- var EC = Function.prototype, kC = EC.toString;
11713
+ var EC = Function.prototype, RC = EC.toString;
11705
11714
  function Ft(e) {
11706
11715
  if (e != null) {
11707
11716
  try {
11708
- return kC.call(e);
11717
+ return RC.call(e);
11709
11718
  } catch {
11710
11719
  }
11711
11720
  try {
@@ -11715,8 +11724,8 @@ function Ft(e) {
11715
11724
  }
11716
11725
  return "";
11717
11726
  }
11718
- var RC = /[\\^$.*+?()[\]{}|]/g, jC = /^\[object .+?Constructor\]$/, PC = Function.prototype, NC = Object.prototype, TC = PC.toString, _C = NC.hasOwnProperty, AC = RegExp(
11719
- "^" + TC.call(_C).replace(RC, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
11727
+ var kC = /[\\^$.*+?()[\]{}|]/g, jC = /^\[object .+?Constructor\]$/, PC = Function.prototype, NC = Object.prototype, TC = PC.toString, _C = NC.hasOwnProperty, AC = RegExp(
11728
+ "^" + TC.call(_C).replace(kC, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
11720
11729
  );
11721
11730
  function IC(e) {
11722
11731
  if (!lf(e) || SC(e))
@@ -11766,13 +11775,13 @@ function h1(e) {
11766
11775
  return e(t);
11767
11776
  };
11768
11777
  }
11769
- var mf = typeof exports == "object" && exports && !exports.nodeType && exports, Er = mf && typeof module == "object" && module && !module.nodeType && module, x1 = Er && Er.exports === mf, Mo = x1 && af.process, ki = (function() {
11778
+ var mf = typeof exports == "object" && exports && !exports.nodeType && exports, Er = mf && typeof module == "object" && module && !module.nodeType && module, x1 = Er && Er.exports === mf, Mo = x1 && af.process, Ri = (function() {
11770
11779
  try {
11771
11780
  var e = Er && Er.require && Er.require("util").types;
11772
11781
  return e || Mo && Mo.binding && Mo.binding("util");
11773
11782
  } catch {
11774
11783
  }
11775
- })(), Ri = ki && ki.isTypedArray, b1 = Ri ? h1(Ri) : v1;
11784
+ })(), ki = Ri && Ri.isTypedArray, b1 = ki ? h1(ki) : v1;
11776
11785
  function y1(e, t) {
11777
11786
  return function(r) {
11778
11787
  return e(t(r));
@@ -11787,12 +11796,12 @@ function E1(e) {
11787
11796
  S1.call(e, r) && r != "constructor" && t.push(r);
11788
11797
  return t;
11789
11798
  }
11790
- var oa = Br(St, "Map"), aa = Br(St, "DataView"), sa = Br(St, "Promise"), ia = Br(St, "Set"), ji = "[object Map]", k1 = "[object Object]", Pi = "[object Promise]", Ni = "[object Set]", Ti = "[object WeakMap]", _i = "[object DataView]", R1 = Ft(aa), j1 = Ft(oa), P1 = Ft(sa), N1 = Ft(ia), T1 = Ft(na), Pt = Vr;
11799
+ var oa = Br(St, "Map"), aa = Br(St, "DataView"), sa = Br(St, "Promise"), ia = Br(St, "Set"), ji = "[object Map]", R1 = "[object Object]", Pi = "[object Promise]", Ni = "[object Set]", Ti = "[object WeakMap]", _i = "[object DataView]", k1 = Ft(aa), j1 = Ft(oa), P1 = Ft(sa), N1 = Ft(ia), T1 = Ft(na), Pt = Vr;
11791
11800
  (aa && Pt(new aa(new ArrayBuffer(1))) != _i || oa && Pt(new oa()) != ji || sa && Pt(sa.resolve()) != Pi || ia && Pt(new ia()) != Ni || na && Pt(new na()) != Ti) && (Pt = function(e) {
11792
- var t = Vr(e), r = t == k1 ? e.constructor : void 0, n = r ? Ft(r) : "";
11801
+ var t = Vr(e), r = t == R1 ? e.constructor : void 0, n = r ? Ft(r) : "";
11793
11802
  if (n)
11794
11803
  switch (n) {
11795
- case R1:
11804
+ case k1:
11796
11805
  return _i;
11797
11806
  case j1:
11798
11807
  return ji;
@@ -11893,7 +11902,7 @@ function xf({
11893
11902
  }, v = () => p ? /* @__PURE__ */ s.jsx(Vg, { className: "w-2 h-2 flex-shrink-0 transition-opacity text-[var(--text-interactive-neutral-idle)]" }) : /* @__PURE__ */ s.jsx(
11894
11903
  ar,
11895
11904
  {
11896
- className: R(
11905
+ className: k(
11897
11906
  "h-4 w-4 flex-shrink-0 transition-opacity text-[var(--text-interactive-neutral-idle)] opacity-0",
11898
11907
  { "opacity-100": g }
11899
11908
  )
@@ -11914,7 +11923,7 @@ function xf({
11914
11923
  }, y = () => /* @__PURE__ */ s.jsxs(
11915
11924
  "div",
11916
11925
  {
11917
- className: R("flex items-center w-full gap-2 flex-row", {
11926
+ className: k("flex items-center w-full gap-2 flex-row", {
11918
11927
  "flex-row-reverse": a === bi.LTR
11919
11928
  }),
11920
11929
  style: { paddingLeft: c },
@@ -11934,7 +11943,7 @@ function xf({
11934
11943
  {
11935
11944
  disabled: e.disabled || o,
11936
11945
  onSelect: () => r(e.value, i),
11937
- className: R(
11946
+ className: k(
11938
11947
  "text-[var(--text-interactive-neutral-idle)] hover:text-[var(--text-interactive-neutral-hover)]! cursor-pointer disabled:cursor-not-allowed",
11939
11948
  "focus:text-[var(--text-interactive-neutral-active)] data-[selected=true]:text-[var(--text-interactive-neutral-hover)]!",
11940
11949
  {
@@ -11965,18 +11974,18 @@ function G1({
11965
11974
  dir: b = "ltr",
11966
11975
  ...v
11967
11976
  }) {
11968
- const [x, y] = Te(0), [h, C] = Te(!1), S = be(null), k = o === xi.MULTIPLE, [P, N] = Te(
11969
- e !== void 0 ? e : k ? [] : ""
11977
+ const [x, y] = Te(0), [h, C] = Te(!1), S = be(null), R = o === xi.MULTIPLE, [P, N] = Te(
11978
+ e !== void 0 ? e : R ? [] : ""
11970
11979
  ), j = D1(P), V = new Set(j);
11971
11980
  ut(() => {
11972
11981
  S.current && y(S.current.offsetWidth);
11973
11982
  }, [P]);
11974
11983
  const H = $1(t), re = L1(t);
11975
11984
  ut(() => {
11976
- e !== void 0 && N(k ? e || [] : e || "");
11977
- }, [e, k]);
11985
+ e !== void 0 && N(R ? e || [] : e || "");
11986
+ }, [e, R]);
11978
11987
  function te(M, E) {
11979
- if (!k) {
11988
+ if (!R) {
11980
11989
  N(M), r == null || r(M), C(!1);
11981
11990
  return;
11982
11991
  }
@@ -12005,7 +12014,7 @@ function G1({
12005
12014
  {
12006
12015
  variant: p,
12007
12016
  size: "md",
12008
- className: R("text-purple-muted-300", f),
12017
+ className: k("text-purple-muted-300", f),
12009
12018
  children: a
12010
12019
  }
12011
12020
  ) : M.map((I) => {
@@ -12015,7 +12024,7 @@ function G1({
12015
12024
  {
12016
12025
  variant: p,
12017
12026
  size: "md",
12018
- className: R("text-[var(--text-bg-neutral-mid)]", f),
12027
+ className: k("text-[var(--text-bg-neutral-mid)]", f),
12019
12028
  children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-1", children: [
12020
12029
  B && /* @__PURE__ */ s.jsx("div", { className: "flex-shrink-0", children: B }),
12021
12030
  /* @__PURE__ */ s.jsx("span", { children: J })
@@ -12038,7 +12047,7 @@ function G1({
12038
12047
  /* @__PURE__ */ s.jsx(Pa, { asChild: !0, disabled: n, children: /* @__PURE__ */ s.jsxs(
12039
12048
  "div",
12040
12049
  {
12041
- className: R(
12050
+ className: k(
12042
12051
  "flex items-center gap-1.5 justify-between py-1 px-3 w-[100%] border border-[var(--border-interactive-neutral-idle)] bg-[var(--fill-input-neutral-idle)] rounded-sm scrollbar-thin",
12043
12052
  "aria-invalid:!border-destructive aria-invalid:!ring-destructive/20 dark:aria-invalid:!ring-destructive/40",
12044
12053
  {
@@ -12054,7 +12063,7 @@ function G1({
12054
12063
  /* @__PURE__ */ s.jsx(
12055
12064
  "div",
12056
12065
  {
12057
- className: R(
12066
+ className: k(
12058
12067
  "flex justify-start text-start w-[100%] whitespace-nowrap overflow-x-auto gap-1.5",
12059
12068
  c
12060
12069
  ),
@@ -12130,11 +12139,11 @@ const W1 = Lt(bf), yf = F.forwardRef((e, t) => {
12130
12139
  fr(r) ? n : r
12131
12140
  ), b = c === "horizontal", v = r !== void 0 ? r : g, x = (C, S) => {
12132
12141
  if (i) return;
12133
- const k = S ? [...v, C] : v.filter((P) => P !== C);
12134
- r === void 0 && m(k), u == null || u({
12135
- target: { value: k }
12136
- }), o == null || o(k);
12137
- }, y = R(
12142
+ const R = S ? [...v, C] : v.filter((P) => P !== C);
12143
+ r === void 0 && m(R), u == null || u({
12144
+ target: { value: R }
12145
+ }), o == null || o(R);
12146
+ }, y = k(
12138
12147
  "qodo qodo-custom-checkbox-group",
12139
12148
  "flex",
12140
12149
  {
@@ -12146,7 +12155,7 @@ const W1 = Lt(bf), yf = F.forwardRef((e, t) => {
12146
12155
  if (!F.isValidElement(C)) return C;
12147
12156
  const S = C.props.name;
12148
12157
  if (!S) return C;
12149
- const k = C.props.disabled, P = i || a || k;
12158
+ const R = C.props.disabled, P = i || a || R;
12150
12159
  return F.cloneElement(C, {
12151
12160
  checked: v.includes(S),
12152
12161
  onCheckedChange: (N) => x(S, N),
@@ -12157,7 +12166,7 @@ const W1 = Lt(bf), yf = F.forwardRef((e, t) => {
12157
12166
  return /* @__PURE__ */ s.jsx("div", { ref: t, className: y, ...p, children: h() });
12158
12167
  });
12159
12168
  yf.displayName = "CheckboxGroupComponent";
12160
- var so = "Checkbox", [z1, zR] = we(so), [q1, Ja] = z1(so);
12169
+ var so = "Checkbox", [z1, zk] = we(so), [q1, Ja] = z1(so);
12161
12170
  function U1(e) {
12162
12171
  const {
12163
12172
  __scopeCheckbox: t,
@@ -12285,7 +12294,7 @@ var Qa = d.forwardRef(
12285
12294
  }
12286
12295
  ),
12287
12296
  g && /* @__PURE__ */ s.jsx(
12288
- Rf,
12297
+ kf,
12289
12298
  {
12290
12299
  __scopeCheckbox: r
12291
12300
  }
@@ -12318,7 +12327,7 @@ var Sf = "CheckboxIndicator", Ef = d.forwardRef(
12318
12327
  }
12319
12328
  );
12320
12329
  Ef.displayName = Sf;
12321
- var kf = "CheckboxBubbleInput", Rf = d.forwardRef(
12330
+ var Rf = "CheckboxBubbleInput", kf = d.forwardRef(
12322
12331
  ({ __scopeCheckbox: e, ...t }, r) => {
12323
12332
  const {
12324
12333
  control: n,
@@ -12332,17 +12341,17 @@ var kf = "CheckboxBubbleInput", Rf = d.forwardRef(
12332
12341
  form: p,
12333
12342
  bubbleInput: g,
12334
12343
  setBubbleInput: m
12335
- } = Ja(kf, e), b = ae(r, m), v = Fn(a), x = Dn(n);
12344
+ } = Ja(Rf, e), b = ae(r, m), v = Fn(a), x = Dn(n);
12336
12345
  d.useEffect(() => {
12337
12346
  const h = g;
12338
12347
  if (!h) return;
12339
- const C = window.HTMLInputElement.prototype, k = Object.getOwnPropertyDescriptor(
12348
+ const C = window.HTMLInputElement.prototype, R = Object.getOwnPropertyDescriptor(
12340
12349
  C,
12341
12350
  "checked"
12342
12351
  ).set, P = !o.current;
12343
- if (v !== a && k) {
12352
+ if (v !== a && R) {
12344
12353
  const N = new Event("click", { bubbles: P });
12345
- h.indeterminate = dt(a), k.call(h, dt(a) ? !1 : a), h.dispatchEvent(N);
12354
+ h.indeterminate = dt(a), R.call(h, dt(a) ? !1 : a), h.dispatchEvent(N);
12346
12355
  }
12347
12356
  }, [g, v, a, o]);
12348
12357
  const y = d.useRef(dt(a) ? !1 : a);
@@ -12376,7 +12385,7 @@ var kf = "CheckboxBubbleInput", Rf = d.forwardRef(
12376
12385
  );
12377
12386
  }
12378
12387
  );
12379
- Rf.displayName = kf;
12388
+ kf.displayName = Rf;
12380
12389
  function H1(e) {
12381
12390
  return typeof e == "function";
12382
12391
  }
@@ -12390,7 +12399,7 @@ const Pf = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
12390
12399
  Qa,
12391
12400
  {
12392
12401
  ref: r,
12393
- className: R(
12402
+ className: k(
12394
12403
  "h-4 w-4 shrink-0 rounded-xs shadow disabled:cursor-not-allowed bg-[var(--fill-input-neutral-idle)] border border-[var(--border-input-neutral-idle)] hover:border-[var(--border-input-neutral-hover)] hover:bg-[var(--fill-input-neutral-hover)] ",
12395
12404
  "active:border-[var(--border-input-neutral-active)] active:bg-[var(--fill-input-neutral-active)] disabled:border-[var(--border-input-neutral-disabled)] disabled:bg-[var(--fill-input-neutral-disabled)] ",
12396
12405
  "hover:disabled:border-[var(--border-input-neutral-disabled)] hover:disabled:bg-[var(--fill-input-neutral-disabled)] ",
@@ -12401,7 +12410,7 @@ const Pf = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
12401
12410
  children: /* @__PURE__ */ s.jsx(
12402
12411
  Ef,
12403
12412
  {
12404
- className: R("flex items-center justify-center text-current"),
12413
+ className: k("flex items-center justify-center text-current"),
12405
12414
  children: t.checked === "indeterminate" ? /* @__PURE__ */ s.jsx(Xg, { className: "h-4 w-4 stroke-[var(--icon-input-emphasis-idle)]" }) : /* @__PURE__ */ s.jsx(ar, { className: "h-4 w-4 stroke-[var(--icon-input-emphasis-idle)]" })
12406
12415
  }
12407
12416
  )
@@ -12425,12 +12434,12 @@ const Nf = ({
12425
12434
  Wa,
12426
12435
  {
12427
12436
  htmlFor: r,
12428
- className: R(
12437
+ className: k(
12429
12438
  "group/checkbox-item flex items-start p-4 rounded-lg gap-2 transition-all duration-200",
12430
12439
  "font-normal text-purple-muted-200 dark:text-purple-muted-200 leading-5",
12431
12440
  {
12432
- "cursor-pointer hover:bg-muted/50": !e,
12433
- "cursor-not-allowed hover:bg-transparent": e,
12441
+ "cursor-pointer": !e,
12442
+ "cursor-not-allowed": e,
12434
12443
  "border border-destructive": t
12435
12444
  },
12436
12445
  p
@@ -12443,7 +12452,7 @@ const Nf = ({
12443
12452
  disabled: e || t,
12444
12453
  checked: n,
12445
12454
  onCheckedChange: o,
12446
- className: R("mt-0.5", f)
12455
+ className: k("mt-0.5", f)
12447
12456
  }
12448
12457
  ),
12449
12458
  /* @__PURE__ */ s.jsx(
@@ -12472,7 +12481,7 @@ const K1 = Lt(
12472
12481
  onSubmit: a = () => {
12473
12482
  },
12474
12483
  ...i
12475
- } = e, { handleSubmit: l } = o, c = R("qodo qodo-form", "flex flex-col gap-6", t);
12484
+ } = e, { handleSubmit: l } = o, c = k("qodo qodo-form", "flex flex-col gap-6", t);
12476
12485
  return /* @__PURE__ */ s.jsx(Kw, { methods: o, disabled: r, readOnly: n, children: /* @__PURE__ */ s.jsx("form", { className: c, onSubmit: l(a), ...i }) });
12477
12486
  };
12478
12487
  Me.Button = Xw;
@@ -12691,7 +12700,7 @@ function ES(e) {
12691
12700
  }
12692
12701
  };
12693
12702
  }
12694
- var kS = (e, t) => {
12703
+ var RS = (e, t) => {
12695
12704
  const r = be(!1), n = be(!1);
12696
12705
  ut(() => {
12697
12706
  if (r.current && n.current) return t();
@@ -12700,7 +12709,7 @@ var kS = (e, t) => {
12700
12709
  r.current = !1;
12701
12710
  }), []);
12702
12711
  };
12703
- function RS(e, t = {}) {
12712
+ function kS(e, t = {}) {
12704
12713
  var re, te, Q, W;
12705
12714
  const r = cn(() => {
12706
12715
  const { id: O, ids: A, getRootNode: M } = t;
@@ -12716,7 +12725,7 @@ function RS(e, t = {}) {
12716
12725
  return c;
12717
12726
  },
12718
12727
  getComputed() {
12719
- return k;
12728
+ return R;
12720
12729
  },
12721
12730
  getRefs() {
12722
12731
  return v;
@@ -12767,9 +12776,9 @@ function RS(e, t = {}) {
12767
12776
  send: H,
12768
12777
  action: y,
12769
12778
  guard: h,
12770
- track: kS,
12779
+ track: RS,
12771
12780
  refs: v,
12772
- computed: k,
12781
+ computed: R,
12773
12782
  flush: Oi,
12774
12783
  scope: r,
12775
12784
  choose: S
@@ -12802,7 +12811,7 @@ function RS(e, t = {}) {
12802
12811
  }, S = (O) => Y1(O).find((A) => {
12803
12812
  let M = !A.guard;
12804
12813
  return sn(A.guard) ? M = !!h(A.guard) : yr(A.guard) && (M = A.guard(x())), M;
12805
- }), k = (O) => {
12814
+ }), R = (O) => {
12806
12815
  uS(e.computed, () => "[zag-js] No computed object found on machine");
12807
12816
  const A = e.computed[O];
12808
12817
  return A({
@@ -12811,7 +12820,7 @@ function RS(e, t = {}) {
12811
12820
  prop: a,
12812
12821
  refs: v,
12813
12822
  scope: r,
12814
- computed: k
12823
+ computed: R
12815
12824
  });
12816
12825
  }, P = Cn(() => ({
12817
12826
  defaultValue: e.initialState({ prop: a }),
@@ -12871,7 +12880,7 @@ function RS(e, t = {}) {
12871
12880
  prop: a,
12872
12881
  scope: r,
12873
12882
  refs: v,
12874
- computed: k,
12883
+ computed: R,
12875
12884
  event: m(),
12876
12885
  getStatus: () => j.current
12877
12886
  };
@@ -12993,7 +13002,7 @@ const [MS, rs] = Gr({
12993
13002
  return /* @__PURE__ */ s.jsx(et.div, { ...o, ref: t });
12994
13003
  });
12995
13004
  Lf.displayName = "StepsIndicator";
12996
- const [OS, qR] = Gr({
13005
+ const [OS, qk] = Gr({
12997
13006
  name: "StepsItemContext",
12998
13007
  hookName: "useStepsItemContext",
12999
13008
  providerName: "<StepsItem />"
@@ -13309,7 +13318,7 @@ SS()([
13309
13318
  "step",
13310
13319
  "defaultStep"
13311
13320
  ]);
13312
- const [UR, zS] = Gr({
13321
+ const [Uk, zS] = Gr({
13313
13322
  name: "EnvironmentContext",
13314
13323
  hookName: "useEnvironmentContext",
13315
13324
  providerName: "<EnvironmentProvider />",
@@ -13319,7 +13328,7 @@ const [UR, zS] = Gr({
13319
13328
  getDocument: () => document,
13320
13329
  getWindow: () => window
13321
13330
  }
13322
- }), [HR, qS] = Gr({
13331
+ }), [Hk, qS] = Gr({
13323
13332
  name: "LocaleContext",
13324
13333
  hookName: "useLocaleContext",
13325
13334
  providerName: "<LocaleProvider />",
@@ -13332,7 +13341,7 @@ function US(e) {
13332
13341
  dir: n,
13333
13342
  getRootNode: r,
13334
13343
  ...e
13335
- }, a = RS(GS, o);
13344
+ }, a = kS(GS, o);
13336
13345
  return BS(a, PS);
13337
13346
  }
13338
13347
  const Wf = Ie((e, t) => {
@@ -13361,7 +13370,7 @@ const qf = Ie((e, t) => {
13361
13370
  });
13362
13371
  qf.displayName = "StepsTrigger";
13363
13372
  function HS(e) {
13364
- return Ru({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M20 6 9 17l-5-5" }, child: [] }] })(e);
13373
+ return ku({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M20 6 9 17l-5-5" }, child: [] }] })(e);
13365
13374
  }
13366
13375
  const Uf = ca(void 0), KS = ({ children: e, step: t }) => /* @__PURE__ */ s.jsx(Uf.Provider, { value: { step: t }, children: e }), Hf = () => {
13367
13376
  const e = da(Uf);
@@ -13373,7 +13382,7 @@ const Uf = ca(void 0), KS = ({ children: e, step: t }) => /* @__PURE__ */ s.jsx(
13373
13382
  step: t,
13374
13383
  ...r
13375
13384
  }) => {
13376
- const n = R(
13385
+ const n = k(
13377
13386
  "qodo qodo-steps",
13378
13387
  "flex flex-col gap-4",
13379
13388
  e
@@ -13383,19 +13392,19 @@ const Uf = ca(void 0), KS = ({ children: e, step: t }) => /* @__PURE__ */ s.jsx(
13383
13392
  className: e,
13384
13393
  ...t
13385
13394
  }) => {
13386
- const r = R("flex flex-row gap-4", e);
13395
+ const r = k("flex flex-row gap-4", e);
13387
13396
  return /* @__PURE__ */ s.jsx(Vf, { className: r, ...t });
13388
13397
  }, ZS = ({
13389
13398
  className: e,
13390
13399
  ...t
13391
13400
  }) => {
13392
- const r = R("flex flex-row items-center gap-4", e);
13401
+ const r = k("flex flex-row items-center gap-4", e);
13393
13402
  return /* @__PURE__ */ s.jsx(Ff, { className: r, ...t });
13394
13403
  }, JS = ({
13395
13404
  className: e,
13396
13405
  ...t
13397
13406
  }) => {
13398
- const r = R(
13407
+ const r = k(
13399
13408
  "flex flex-row items-center gap-4 text-purple-muted-100 text-sm",
13400
13409
  e
13401
13410
  );
@@ -13405,13 +13414,13 @@ const Uf = ca(void 0), KS = ({ children: e, step: t }) => /* @__PURE__ */ s.jsx(
13405
13414
  className: t,
13406
13415
  ...r
13407
13416
  }) => {
13408
- const { step: n } = Hf(), o = e === n, a = e < n, i = R(
13417
+ const { step: n } = Hf(), o = e === n, a = e < n, i = k(
13409
13418
  "flex items-center justify-center w-8 h-8 rounded-full text-white",
13410
13419
  a && "bg-green-700",
13411
13420
  o && "bg-green-600",
13412
13421
  !a && !o && "bg-purple-muted-500",
13413
13422
  t
13414
- ), l = R({
13423
+ ), l = k({
13415
13424
  "text-white": o,
13416
13425
  "text-purple-muted-300": !a && e !== n
13417
13426
  });
@@ -13421,7 +13430,7 @@ const Uf = ca(void 0), KS = ({ children: e, step: t }) => /* @__PURE__ */ s.jsx(
13421
13430
  className: t,
13422
13431
  ...r
13423
13432
  }) => {
13424
- const { step: n } = Hf(), o = e < n, a = R(
13433
+ const { step: n } = Hf(), o = e < n, a = k(
13425
13434
  "min-w-12 h-px",
13426
13435
  o ? "bg-green-400" : "bg-gray-400",
13427
13436
  t
@@ -13431,19 +13440,19 @@ const Uf = ca(void 0), KS = ({ children: e, step: t }) => /* @__PURE__ */ s.jsx(
13431
13440
  className: e,
13432
13441
  ...t
13433
13442
  }) => {
13434
- const r = R(e);
13443
+ const r = k(e);
13435
13444
  return /* @__PURE__ */ s.jsx($f, { className: r, ...t });
13436
13445
  }, rE = ({
13437
13446
  className: e,
13438
13447
  ...t
13439
13448
  }) => {
13440
- const r = R(e);
13449
+ const r = k(e);
13441
13450
  return /* @__PURE__ */ s.jsx(Df, { className: r, ...t });
13442
13451
  }, nE = ({
13443
13452
  className: e,
13444
13453
  ...t
13445
13454
  }) => {
13446
- const r = R(
13455
+ const r = k(
13447
13456
  "bg-primary text-white px-4 py-2 rounded-md",
13448
13457
  e
13449
13458
  );
@@ -13452,12 +13461,12 @@ const Uf = ca(void 0), KS = ({ children: e, step: t }) => /* @__PURE__ */ s.jsx(
13452
13461
  className: e,
13453
13462
  ...t
13454
13463
  }) => {
13455
- const r = R(
13464
+ const r = k(
13456
13465
  "bg-primary text-white px-4 py-2 rounded-md",
13457
13466
  e
13458
13467
  );
13459
13468
  return /* @__PURE__ */ s.jsx(Bf, { className: r, ...t });
13460
- }, KR = {
13469
+ }, Kk = {
13461
13470
  Root: YS,
13462
13471
  List: XS,
13463
13472
  Item: ZS,
@@ -13506,7 +13515,7 @@ function iE(e) {
13506
13515
  const Kf = d.forwardRef(({ className: e, wrapperClassName: t, ...r }, n) => /* @__PURE__ */ s.jsx(
13507
13516
  "div",
13508
13517
  {
13509
- className: R(
13518
+ className: k(
13510
13519
  "max-h-[100%] min-h-0 overflow-auto rounded-lg border border-purple-muted-600",
13511
13520
  t
13512
13521
  ),
@@ -13514,7 +13523,7 @@ const Kf = d.forwardRef(({ className: e, wrapperClassName: t, ...r }, n) => /* @
13514
13523
  "table",
13515
13524
  {
13516
13525
  ref: n,
13517
- className: R("w-full caption-bottom text-sm", e),
13526
+ className: k("w-full caption-bottom text-sm", e),
13518
13527
  ...r
13519
13528
  }
13520
13529
  )
@@ -13525,7 +13534,7 @@ const Yf = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13525
13534
  "thead",
13526
13535
  {
13527
13536
  ref: r,
13528
- className: R(
13537
+ className: k(
13529
13538
  "sticky top-0 z-10 b-0 [&>tr]:hover:bg-transparent",
13530
13539
  e
13531
13540
  ),
@@ -13537,7 +13546,7 @@ const Xf = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13537
13546
  "tbody",
13538
13547
  {
13539
13548
  ref: r,
13540
- className: R(
13549
+ className: k(
13541
13550
  "[&_tr:last-child]:border-0 [&_tr:first-child]:border-top-0",
13542
13551
  e
13543
13552
  ),
@@ -13549,7 +13558,7 @@ const lE = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13549
13558
  "tfoot",
13550
13559
  {
13551
13560
  ref: r,
13552
- className: R(
13561
+ className: k(
13553
13562
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
13554
13563
  e
13555
13564
  ),
@@ -13561,7 +13570,7 @@ const Nt = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13561
13570
  "tr",
13562
13571
  {
13563
13572
  ref: r,
13564
- className: R(
13573
+ className: k(
13565
13574
  "border-b border-purple-muted-600 transition-colors hover:bg-muted/50 data-[state=selected]:bg-purple-muted-600/30",
13566
13575
  e,
13567
13576
  { "cursor-pointer hover:bg-purple-muted-600/20": !!t.onClick }
@@ -13574,7 +13583,7 @@ const Zf = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13574
13583
  "th",
13575
13584
  {
13576
13585
  ref: r,
13577
- className: R(
13586
+ className: k(
13578
13587
  "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
13579
13588
  e
13580
13589
  ),
@@ -13586,7 +13595,7 @@ const Zt = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13586
13595
  "td",
13587
13596
  {
13588
13597
  ref: r,
13589
- className: R("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
13598
+ className: k("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
13590
13599
  ...t
13591
13600
  }
13592
13601
  ));
@@ -13595,7 +13604,7 @@ const cE = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13595
13604
  "caption",
13596
13605
  {
13597
13606
  ref: r,
13598
- className: R("mt-4 text-sm text-muted-foreground", e),
13607
+ className: k("mt-4 text-sm text-muted-foreground", e),
13599
13608
  ...t
13600
13609
  }
13601
13610
  ));
@@ -13863,7 +13872,7 @@ const dE = ({ title: e = "No results" }) => /* @__PURE__ */ s.jsx("div", { class
13863
13872
  {
13864
13873
  role: "navigation",
13865
13874
  "aria-label": "pagination",
13866
- className: R(
13875
+ className: k(
13867
13876
  "qodo qodo-pagination mx-auto flex w-full justify-center",
13868
13877
  e
13869
13878
  ),
@@ -13875,12 +13884,12 @@ const Qf = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
13875
13884
  "ul",
13876
13885
  {
13877
13886
  ref: r,
13878
- className: R("flex flex-row items-center gap-1", e),
13887
+ className: k("flex flex-row items-center gap-1", e),
13879
13888
  ...t
13880
13889
  }
13881
13890
  ));
13882
13891
  Qf.displayName = "PaginationContent";
13883
- const Cr = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx("li", { ref: r, className: R("", e), ...t }));
13892
+ const Cr = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx("li", { ref: r, className: k("", e), ...t }));
13884
13893
  Cr.displayName = "PaginationItem";
13885
13894
  const ep = ({
13886
13895
  className: e,
@@ -13891,7 +13900,7 @@ const ep = ({
13891
13900
  "a",
13892
13901
  {
13893
13902
  "aria-current": t ? "page" : void 0,
13894
- className: R(
13903
+ className: k(
13895
13904
  il({
13896
13905
  variant: t ? "outline" : "ghost",
13897
13906
  size: r
@@ -13909,7 +13918,7 @@ const tp = ({
13909
13918
  "span",
13910
13919
  {
13911
13920
  "aria-hidden": !0,
13912
- className: R("flex h-9 w-9 items-center justify-center", e),
13921
+ className: k("flex h-9 w-9 items-center justify-center", e),
13913
13922
  ...t,
13914
13923
  children: [
13915
13924
  /* @__PURE__ */ s.jsx(ol, { className: "h-4 w-4" }),
@@ -13929,19 +13938,19 @@ const pE = ({
13929
13938
  const i = cn(() => {
13930
13939
  const m = "text-purple-muted-300 dark:text-purple-muted-300", b = "hover:bg-purple-muted-600 hover:text-purple-muted-300 dark:hover:bg-purple-muted-600 dark:hover:text-purple-muted-300", v = "bg-purple-muted-600 text-purple-muted-300 dark:bg-purple-muted-600 dark:text-purple-muted-300", x = "border-none flex items-center justify-center w-8 h-8", y = "pointer-events-none opacity-50 cursor-not-allowed";
13931
13940
  return {
13932
- previous: R(
13941
+ previous: k(
13933
13942
  n === 1 || t ? "pointer-events-none opacity-50" : "cursor-pointer",
13934
13943
  x,
13935
13944
  m,
13936
13945
  t && y
13937
13946
  ),
13938
- next: R(
13947
+ next: k(
13939
13948
  n === r || t ? "pointer-events-none opacity-50" : "cursor-pointer",
13940
13949
  x,
13941
13950
  m,
13942
13951
  t && y
13943
13952
  ),
13944
- link: (h) => R(
13953
+ link: (h) => k(
13945
13954
  x,
13946
13955
  t ? "cursor-not-allowed" : "cursor-pointer",
13947
13956
  m,
@@ -14041,7 +14050,7 @@ const pE = ({
14041
14050
  }, mE = 150, Fi = (e, t) => {
14042
14051
  const r = t.columnDef.minSize, n = t.columnDef.maxSize, o = {};
14043
14052
  return e !== mE && (o.width = `${e}px`), r !== void 0 && (o.minWidth = `${r}px`), n !== void 0 && (o.maxWidth = `${n}px`), o;
14044
- }, YR = ({
14053
+ }, Yk = ({
14045
14054
  table: e,
14046
14055
  emptyStateComponent: t,
14047
14056
  noResultsComponent: r,
@@ -14056,7 +14065,7 @@ const pE = ({
14056
14065
  loadingRowsCount: p = 8,
14057
14066
  activeRowId: g
14058
14067
  }) => {
14059
- const m = e.getVisibleFlatColumns().length, b = e.options.manualPagination && e.options.onPaginationChange, v = e.getRowModel().rows.length === 0, x = e.getCoreRowModel().rows.length === 0 && !o, y = !o && (a || x || v), h = "hover:bg-transparent cursor-default", C = () => e.getHeaderGroups().map((k) => /* @__PURE__ */ s.jsx(Nt, { children: k.headers.map((P) => /* @__PURE__ */ s.jsx(
14068
+ const m = e.getVisibleFlatColumns().length, b = e.options.manualPagination && e.options.onPaginationChange, v = e.getRowModel().rows.length === 0, x = e.getCoreRowModel().rows.length === 0 && !o, y = !o && (a || x || v), h = "hover:bg-transparent cursor-default", C = () => e.getHeaderGroups().map((R) => /* @__PURE__ */ s.jsx(Nt, { children: R.headers.map((P) => /* @__PURE__ */ s.jsx(
14060
14069
  Zf,
14061
14070
  {
14062
14071
  className: "text-[#A1A1AA]",
@@ -14064,7 +14073,7 @@ const pE = ({
14064
14073
  children: P.isPlaceholder ? void 0 : $i(P.column.columnDef.header, P.getContext())
14065
14074
  },
14066
14075
  P.id
14067
- )) }, k.id)), S = () => o ? /* @__PURE__ */ s.jsx(
14076
+ )) }, R.id)), S = () => o ? /* @__PURE__ */ s.jsx(
14068
14077
  uE,
14069
14078
  {
14070
14079
  rowsCount: p,
@@ -14082,15 +14091,15 @@ const pE = ({
14082
14091
  title: l,
14083
14092
  description: c
14084
14093
  }
14085
- ) }) }) : v ? /* @__PURE__ */ s.jsx(Nt, { className: h, children: /* @__PURE__ */ s.jsx(Zt, { colSpan: m, children: (r == null ? void 0 : r()) || /* @__PURE__ */ s.jsx(dE, { title: u }) }) }) : e.getRowModel().rows.map((k) => {
14094
+ ) }) }) : v ? /* @__PURE__ */ s.jsx(Nt, { className: h, children: /* @__PURE__ */ s.jsx(Zt, { colSpan: m, children: (r == null ? void 0 : r()) || /* @__PURE__ */ s.jsx(dE, { title: u }) }) }) : e.getRowModel().rows.map((R) => {
14086
14095
  var j;
14087
- const P = (j = k.original) == null ? void 0 : j.id, N = k.getIsSelected() || !!g && g === P;
14096
+ const P = (j = R.original) == null ? void 0 : j.id, N = R.getIsSelected() || !!g && g === P;
14088
14097
  return /* @__PURE__ */ s.jsx(
14089
14098
  Nt,
14090
14099
  {
14091
14100
  "data-state": N ? "selected" : void 0,
14092
- onClick: () => i == null ? void 0 : i(k.original),
14093
- children: k.getVisibleCells().map((V) => /* @__PURE__ */ s.jsx(
14101
+ onClick: () => i == null ? void 0 : i(R.original),
14102
+ children: R.getVisibleCells().map((V) => /* @__PURE__ */ s.jsx(
14094
14103
  Zt,
14095
14104
  {
14096
14105
  className: "text-[#FAFAFA] whitespace-nowrap",
@@ -14100,15 +14109,15 @@ const pE = ({
14100
14109
  V.id
14101
14110
  ))
14102
14111
  },
14103
- k.id
14112
+ R.id
14104
14113
  );
14105
14114
  });
14106
- return /* @__PURE__ */ s.jsxs("div", { className: R("qodo qodo-table", "flex flex-col h-full w-full"), children: [
14115
+ return /* @__PURE__ */ s.jsxs("div", { className: k("qodo qodo-table", "flex flex-col h-full w-full"), children: [
14107
14116
  /* @__PURE__ */ s.jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ s.jsxs(
14108
14117
  Kf,
14109
14118
  {
14110
14119
  wrapperClassName: f,
14111
- className: R({
14120
+ className: k({
14112
14121
  "h-[100%]": y
14113
14122
  }),
14114
14123
  children: [
@@ -14122,10 +14131,10 @@ const pE = ({
14122
14131
  }, Vi = (e) => {
14123
14132
  const { children: t, ...r } = e, n = t && t !== 0 ? t : "-";
14124
14133
  return /* @__PURE__ */ s.jsx("div", { ...r, children: n });
14125
- }, XR = (e) => {
14134
+ }, Xk = (e) => {
14126
14135
  const { variant: t, children: r } = e, n = r || t;
14127
14136
  return /* @__PURE__ */ s.jsx(jr, { ...e, children: n });
14128
- }, ZR = (e) => {
14137
+ }, Zk = (e) => {
14129
14138
  const { children: t, ...r } = e;
14130
14139
  if (typeof t != "number")
14131
14140
  return console.error("NumberCell must be a number"), /* @__PURE__ */ s.jsx(Vi, { ...r, children: "-" });
@@ -14133,7 +14142,7 @@ const pE = ({
14133
14142
  notation: n
14134
14143
  }).format(t);
14135
14144
  return /* @__PURE__ */ s.jsx(Vi, { ...r, children: o });
14136
- }, JR = ({
14145
+ }, Jk = ({
14137
14146
  column: e,
14138
14147
  children: t,
14139
14148
  tooltipContent: r
@@ -14161,9 +14170,9 @@ const pE = ({
14161
14170
  children: [
14162
14171
  i,
14163
14172
  /* @__PURE__ */ s.jsx(
14164
- kg,
14173
+ Rg,
14165
14174
  {
14166
- className: R("ml-2 h-4 w-4", {
14175
+ className: k("ml-2 h-4 w-4", {
14167
14176
  invisible: !n
14168
14177
  })
14169
14178
  }
@@ -14231,9 +14240,9 @@ lp.displayName = os;
14231
14240
  var $e = "MenuContent", [EE, as] = Vt($e), cp = d.forwardRef(
14232
14241
  (e, t) => {
14233
14242
  const r = ip($e, e.__scopeMenu), { forceMount: n = r.forceMount, ...o } = e, a = Et($e, e.__scopeMenu), i = qr($e, e.__scopeMenu);
14234
- return /* @__PURE__ */ s.jsx(Nr.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s.jsx(Ee, { present: n || a.open, children: /* @__PURE__ */ s.jsx(Nr.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ s.jsx(kE, { ...o, ref: t }) : /* @__PURE__ */ s.jsx(RE, { ...o, ref: t }) }) }) });
14243
+ return /* @__PURE__ */ s.jsx(Nr.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s.jsx(Ee, { present: n || a.open, children: /* @__PURE__ */ s.jsx(Nr.Slot, { scope: e.__scopeMenu, children: i.modal ? /* @__PURE__ */ s.jsx(RE, { ...o, ref: t }) : /* @__PURE__ */ s.jsx(kE, { ...o, ref: t }) }) }) });
14235
14244
  }
14236
- ), kE = d.forwardRef(
14245
+ ), RE = d.forwardRef(
14237
14246
  (e, t) => {
14238
14247
  const r = Et($e, e.__scopeMenu), n = d.useRef(null), o = ae(t, n);
14239
14248
  return d.useEffect(() => {
@@ -14256,7 +14265,7 @@ var $e = "MenuContent", [EE, as] = Vt($e), cp = d.forwardRef(
14256
14265
  }
14257
14266
  );
14258
14267
  }
14259
- ), RE = d.forwardRef((e, t) => {
14268
+ ), kE = d.forwardRef((e, t) => {
14260
14269
  const r = Et($e, e.__scopeMenu);
14261
14270
  return /* @__PURE__ */ s.jsx(
14262
14271
  ss,
@@ -14286,7 +14295,7 @@ var $e = "MenuContent", [EE, as] = Vt($e), cp = d.forwardRef(
14286
14295
  onDismiss: m,
14287
14296
  disableOutsideScroll: b,
14288
14297
  ...v
14289
- } = e, x = Et($e, r), y = qr($e, r), h = zr(r), C = op(r), S = bE(r), [k, P] = d.useState(null), N = d.useRef(null), j = ae(t, N, x.onContentChange), V = d.useRef(0), H = d.useRef(""), re = d.useRef(0), te = d.useRef(null), Q = d.useRef("right"), W = d.useRef(0), O = b ? Or : d.Fragment, A = b ? { as: jE, allowPinchZoom: !0 } : void 0, M = (I) => {
14298
+ } = e, x = Et($e, r), y = qr($e, r), h = zr(r), C = op(r), S = bE(r), [R, P] = d.useState(null), N = d.useRef(null), j = ae(t, N, x.onContentChange), V = d.useRef(0), H = d.useRef(""), re = d.useRef(0), te = d.useRef(null), Q = d.useRef("right"), W = d.useRef(0), O = b ? Or : d.Fragment, A = b ? { as: jE, allowPinchZoom: !0 } : void 0, M = (I) => {
14290
14299
  var _, K;
14291
14300
  const B = H.current + I, J = S().filter((ee) => !ee.disabled), T = document.activeElement, G = (_ = J.find((ee) => ee.ref.current === T)) == null ? void 0 : _.textValue, Z = J.map((ee) => ee.textValue), z = FE(Z, B, G), $ = (K = J.find((ee) => ee.textValue === z)) == null ? void 0 : K.ref.current;
14292
14301
  (function ee(oe) {
@@ -14354,7 +14363,7 @@ var $e = "MenuContent", [EE, as] = Vt($e), cp = d.forwardRef(
14354
14363
  dir: y.dir,
14355
14364
  orientation: "vertical",
14356
14365
  loop: n,
14357
- currentTabStopId: k,
14366
+ currentTabStopId: R,
14358
14367
  onCurrentTabStopIdChange: P,
14359
14368
  onEntryFocus: L(c, (I) => {
14360
14369
  y.isUsingKeyboardRef.current || I.preventDefault();
@@ -14365,7 +14374,7 @@ var $e = "MenuContent", [EE, as] = Vt($e), cp = d.forwardRef(
14365
14374
  {
14366
14375
  role: "menu",
14367
14376
  "aria-orientation": "vertical",
14368
- "data-state": Rp(x.open),
14377
+ "data-state": kp(x.open),
14369
14378
  "data-radix-menu-content": "",
14370
14379
  dir: y.dir,
14371
14380
  ...h,
@@ -14635,7 +14644,7 @@ var Sr = "MenuSubTrigger", Sp = d.forwardRef(
14635
14644
  "aria-haspopup": "menu",
14636
14645
  "aria-expanded": r.open,
14637
14646
  "aria-controls": o.contentId,
14638
- "data-state": Rp(r.open),
14647
+ "data-state": kp(r.open),
14639
14648
  ...e,
14640
14649
  ref: nt(t, o.onTriggerChange),
14641
14650
  onClick: (p) => {
@@ -14689,7 +14698,7 @@ var Sr = "MenuSubTrigger", Sp = d.forwardRef(
14689
14698
  }
14690
14699
  );
14691
14700
  Sp.displayName = Sr;
14692
- var Ep = "MenuSubContent", kp = d.forwardRef(
14701
+ var Ep = "MenuSubContent", Rp = d.forwardRef(
14693
14702
  (e, t) => {
14694
14703
  const r = ip($e, e.__scopeMenu), { forceMount: n = r.forceMount, ...o } = e, a = Et($e, e.__scopeMenu), i = qr($e, e.__scopeMenu), l = wp(Ep, e.__scopeMenu), c = d.useRef(null), u = ae(t, c);
14695
14704
  return /* @__PURE__ */ s.jsx(Nr.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s.jsx(Ee, { present: n || a.open, children: /* @__PURE__ */ s.jsx(Nr.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ s.jsx(
@@ -14724,8 +14733,8 @@ var Ep = "MenuSubContent", kp = d.forwardRef(
14724
14733
  ) }) }) });
14725
14734
  }
14726
14735
  );
14727
- kp.displayName = Ep;
14728
- function Rp(e) {
14736
+ Rp.displayName = Ep;
14737
+ function kp(e) {
14729
14738
  return e ? "open" : "closed";
14730
14739
  }
14731
14740
  function En(e) {
@@ -14768,10 +14777,10 @@ function BE(e, t) {
14768
14777
  function Tr(e) {
14769
14778
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
14770
14779
  }
14771
- var GE = sp, WE = ns, zE = lp, qE = cp, UE = is, HE = dp, KE = lo, YE = fp, XE = mp, ZE = vp, JE = xp, QE = bp, ek = yp, tk = Cp, rk = Sp, nk = kp, co = "DropdownMenu", [ok, QR] = we(
14780
+ var GE = sp, WE = ns, zE = lp, qE = cp, UE = is, HE = dp, KE = lo, YE = fp, XE = mp, ZE = vp, JE = xp, QE = bp, eR = yp, tR = Cp, rR = Sp, nR = Rp, co = "DropdownMenu", [oR, Qk] = we(
14772
14781
  co,
14773
14782
  [np]
14774
- ), ke = np(), [ak, jp] = ok(co), Pp = (e) => {
14783
+ ), Re = np(), [aR, jp] = oR(co), Pp = (e) => {
14775
14784
  const {
14776
14785
  __scopeDropdownMenu: t,
14777
14786
  children: r,
@@ -14780,14 +14789,14 @@ var GE = sp, WE = ns, zE = lp, qE = cp, UE = is, HE = dp, KE = lo, YE = fp, XE =
14780
14789
  defaultOpen: a,
14781
14790
  onOpenChange: i,
14782
14791
  modal: l = !0
14783
- } = e, c = ke(t), u = d.useRef(null), [f, p] = ye({
14792
+ } = e, c = Re(t), u = d.useRef(null), [f, p] = ye({
14784
14793
  prop: o,
14785
14794
  defaultProp: a ?? !1,
14786
14795
  onChange: i,
14787
14796
  caller: co
14788
14797
  });
14789
14798
  return /* @__PURE__ */ s.jsx(
14790
- ak,
14799
+ aR,
14791
14800
  {
14792
14801
  scope: t,
14793
14802
  triggerId: me(),
@@ -14804,7 +14813,7 @@ var GE = sp, WE = ns, zE = lp, qE = cp, UE = is, HE = dp, KE = lo, YE = fp, XE =
14804
14813
  Pp.displayName = co;
14805
14814
  var Np = "DropdownMenuTrigger", Tp = d.forwardRef(
14806
14815
  (e, t) => {
14807
- const { __scopeDropdownMenu: r, disabled: n = !1, ...o } = e, a = jp(Np, r), i = ke(r);
14816
+ const { __scopeDropdownMenu: r, disabled: n = !1, ...o } = e, a = jp(Np, r), i = Re(r);
14808
14817
  return /* @__PURE__ */ s.jsx(WE, { asChild: !0, ...i, children: /* @__PURE__ */ s.jsx(
14809
14818
  q.button,
14810
14819
  {
@@ -14829,14 +14838,14 @@ var Np = "DropdownMenuTrigger", Tp = d.forwardRef(
14829
14838
  }
14830
14839
  );
14831
14840
  Tp.displayName = Np;
14832
- var sk = "DropdownMenuPortal", _p = (e) => {
14833
- const { __scopeDropdownMenu: t, ...r } = e, n = ke(t);
14841
+ var sR = "DropdownMenuPortal", _p = (e) => {
14842
+ const { __scopeDropdownMenu: t, ...r } = e, n = Re(t);
14834
14843
  return /* @__PURE__ */ s.jsx(zE, { ...n, ...r });
14835
14844
  };
14836
- _p.displayName = sk;
14845
+ _p.displayName = sR;
14837
14846
  var Ap = "DropdownMenuContent", Ip = d.forwardRef(
14838
14847
  (e, t) => {
14839
- const { __scopeDropdownMenu: r, ...n } = e, o = jp(Ap, r), a = ke(r), i = d.useRef(!1);
14848
+ const { __scopeDropdownMenu: r, ...n } = e, o = jp(Ap, r), a = Re(r), i = d.useRef(!1);
14840
14849
  return /* @__PURE__ */ s.jsx(
14841
14850
  qE,
14842
14851
  {
@@ -14866,76 +14875,76 @@ var Ap = "DropdownMenuContent", Ip = d.forwardRef(
14866
14875
  }
14867
14876
  );
14868
14877
  Ip.displayName = Ap;
14869
- var ik = "DropdownMenuGroup", Mp = d.forwardRef(
14878
+ var iR = "DropdownMenuGroup", Mp = d.forwardRef(
14870
14879
  (e, t) => {
14871
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14880
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14872
14881
  return /* @__PURE__ */ s.jsx(UE, { ...o, ...n, ref: t });
14873
14882
  }
14874
14883
  );
14875
- Mp.displayName = ik;
14876
- var lk = "DropdownMenuLabel", Op = d.forwardRef(
14884
+ Mp.displayName = iR;
14885
+ var lR = "DropdownMenuLabel", Op = d.forwardRef(
14877
14886
  (e, t) => {
14878
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14887
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14879
14888
  return /* @__PURE__ */ s.jsx(HE, { ...o, ...n, ref: t });
14880
14889
  }
14881
14890
  );
14882
- Op.displayName = lk;
14883
- var ck = "DropdownMenuItem", Dp = d.forwardRef(
14891
+ Op.displayName = lR;
14892
+ var cR = "DropdownMenuItem", Dp = d.forwardRef(
14884
14893
  (e, t) => {
14885
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14894
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14886
14895
  return /* @__PURE__ */ s.jsx(KE, { ...o, ...n, ref: t });
14887
14896
  }
14888
14897
  );
14889
- Dp.displayName = ck;
14890
- var dk = "DropdownMenuCheckboxItem", $p = d.forwardRef((e, t) => {
14891
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14898
+ Dp.displayName = cR;
14899
+ var dR = "DropdownMenuCheckboxItem", $p = d.forwardRef((e, t) => {
14900
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14892
14901
  return /* @__PURE__ */ s.jsx(YE, { ...o, ...n, ref: t });
14893
14902
  });
14894
- $p.displayName = dk;
14895
- var uk = "DropdownMenuRadioGroup", Lp = d.forwardRef((e, t) => {
14896
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14903
+ $p.displayName = dR;
14904
+ var uR = "DropdownMenuRadioGroup", Lp = d.forwardRef((e, t) => {
14905
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14897
14906
  return /* @__PURE__ */ s.jsx(XE, { ...o, ...n, ref: t });
14898
14907
  });
14899
- Lp.displayName = uk;
14900
- var fk = "DropdownMenuRadioItem", Fp = d.forwardRef((e, t) => {
14901
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14908
+ Lp.displayName = uR;
14909
+ var fR = "DropdownMenuRadioItem", Fp = d.forwardRef((e, t) => {
14910
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14902
14911
  return /* @__PURE__ */ s.jsx(ZE, { ...o, ...n, ref: t });
14903
14912
  });
14904
- Fp.displayName = fk;
14905
- var pk = "DropdownMenuItemIndicator", Vp = d.forwardRef((e, t) => {
14906
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14913
+ Fp.displayName = fR;
14914
+ var pR = "DropdownMenuItemIndicator", Vp = d.forwardRef((e, t) => {
14915
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14907
14916
  return /* @__PURE__ */ s.jsx(JE, { ...o, ...n, ref: t });
14908
14917
  });
14909
- Vp.displayName = pk;
14910
- var mk = "DropdownMenuSeparator", Bp = d.forwardRef((e, t) => {
14911
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14918
+ Vp.displayName = pR;
14919
+ var mR = "DropdownMenuSeparator", Bp = d.forwardRef((e, t) => {
14920
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14912
14921
  return /* @__PURE__ */ s.jsx(QE, { ...o, ...n, ref: t });
14913
14922
  });
14914
- Bp.displayName = mk;
14915
- var gk = "DropdownMenuArrow", vk = d.forwardRef(
14923
+ Bp.displayName = mR;
14924
+ var gR = "DropdownMenuArrow", vR = d.forwardRef(
14916
14925
  (e, t) => {
14917
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14918
- return /* @__PURE__ */ s.jsx(ek, { ...o, ...n, ref: t });
14926
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14927
+ return /* @__PURE__ */ s.jsx(eR, { ...o, ...n, ref: t });
14919
14928
  }
14920
14929
  );
14921
- vk.displayName = gk;
14922
- var hk = (e) => {
14923
- const { __scopeDropdownMenu: t, children: r, open: n, onOpenChange: o, defaultOpen: a } = e, i = ke(t), [l, c] = ye({
14930
+ vR.displayName = gR;
14931
+ var hR = (e) => {
14932
+ const { __scopeDropdownMenu: t, children: r, open: n, onOpenChange: o, defaultOpen: a } = e, i = Re(t), [l, c] = ye({
14924
14933
  prop: n,
14925
14934
  defaultProp: a ?? !1,
14926
14935
  onChange: o,
14927
14936
  caller: "DropdownMenuSub"
14928
14937
  });
14929
- return /* @__PURE__ */ s.jsx(tk, { ...i, open: l, onOpenChange: c, children: r });
14930
- }, xk = "DropdownMenuSubTrigger", Gp = d.forwardRef((e, t) => {
14931
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14932
- return /* @__PURE__ */ s.jsx(rk, { ...o, ...n, ref: t });
14938
+ return /* @__PURE__ */ s.jsx(tR, { ...i, open: l, onOpenChange: c, children: r });
14939
+ }, xR = "DropdownMenuSubTrigger", Gp = d.forwardRef((e, t) => {
14940
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14941
+ return /* @__PURE__ */ s.jsx(rR, { ...o, ...n, ref: t });
14933
14942
  });
14934
- Gp.displayName = xk;
14935
- var bk = "DropdownMenuSubContent", Wp = d.forwardRef((e, t) => {
14936
- const { __scopeDropdownMenu: r, ...n } = e, o = ke(r);
14943
+ Gp.displayName = xR;
14944
+ var bR = "DropdownMenuSubContent", Wp = d.forwardRef((e, t) => {
14945
+ const { __scopeDropdownMenu: r, ...n } = e, o = Re(r);
14937
14946
  return /* @__PURE__ */ s.jsx(
14938
- nk,
14947
+ nR,
14939
14948
  {
14940
14949
  ...o,
14941
14950
  ...n,
@@ -14951,13 +14960,13 @@ var bk = "DropdownMenuSubContent", Wp = d.forwardRef((e, t) => {
14951
14960
  }
14952
14961
  );
14953
14962
  });
14954
- Wp.displayName = bk;
14955
- var yk = Pp, wk = Tp, zp = _p, qp = Ip, Ck = Mp, Up = Op, Hp = Dp, Kp = $p, Sk = Lp, Yp = Fp, Xp = Vp, Zp = Bp, Ek = hk, Jp = Gp, Qp = Wp;
14956
- const kk = yk, Rk = wk, jk = Ck, Pk = zp, Nk = Ek, Tk = Sk, em = d.forwardRef(({ className: e, inset: t, children: r, ...n }, o) => /* @__PURE__ */ s.jsxs(
14963
+ Wp.displayName = bR;
14964
+ var yR = Pp, wR = Tp, zp = _p, qp = Ip, CR = Mp, Up = Op, Hp = Dp, Kp = $p, SR = Lp, Yp = Fp, Xp = Vp, Zp = Bp, ER = hR, Jp = Gp, Qp = Wp;
14965
+ const RR = yR, kR = wR, jR = CR, PR = zp, NR = ER, TR = SR, em = d.forwardRef(({ className: e, inset: t, children: r, ...n }, o) => /* @__PURE__ */ s.jsxs(
14957
14966
  Jp,
14958
14967
  {
14959
14968
  ref: o,
14960
- className: R(
14969
+ className: k(
14961
14970
  "qodo qodo-dropdown-menu-sub-trigger flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none hover:text-[var(--text-interactive-neutral-hover)] hover:bg-[var(--fill-interactive-neutral-hover)] active:bg-[var(--fill-interactive-emphasis-active)] [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
14962
14971
  t && "pl-8",
14963
14972
  e
@@ -14974,7 +14983,7 @@ const tm = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
14974
14983
  Qp,
14975
14984
  {
14976
14985
  ref: r,
14977
- className: R(
14986
+ className: k(
14978
14987
  "z-50 min-w-[8rem] overflow-hidden cursor-pointer rounded-sm border shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
14979
14988
  "text-[var(--text-interactive-neutral-idle)] bg-[var(--fill-interactive-neutral-idle)] border-[var(--border-interactive-neutral-idle)] px-1 py-1",
14980
14989
  e
@@ -14988,7 +14997,7 @@ const rm = d.forwardRef(({ className: e, sideOffset: t = 4, ...r }, n) => /* @__
14988
14997
  {
14989
14998
  ref: n,
14990
14999
  sideOffset: t,
14991
- className: R(
15000
+ className: k(
14992
15001
  "qodo qodo-dropdown-menu-content z-50 min-w-[8rem] overflow-hidden rounded-sm border text-[var(--text-interactive-neutral-idle)] bg-[var(--fill-interactive-neutral-idle)] border-[var(--border-interactive-neutral-idle)] px-1 py-1 ",
14993
15002
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 [&_svg]:text-inherit dark:[&_svg]:text-inherit",
14994
15003
  e
@@ -15001,7 +15010,7 @@ const us = d.forwardRef(({ className: e, inset: t, ...r }, n) => /* @__PURE__ */
15001
15010
  Hp,
15002
15011
  {
15003
15012
  ref: n,
15004
- className: R(
15013
+ className: k(
15005
15014
  "w-full qodo qodo-dropdown-menu-item relative flex select-none items-center gap-2 rounded-xs px-2 py-1.5 text-sm outline-none transition-colors focus:bg-[var(--fill-interactive-neutral-hover)] active:bg-[var(--fill-interactive-emphasis-active)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0 focus:text-[var(--text-interactive-neutral-hover)] active:text-[var(--text-interactive-emphasis-active)] cursor-pointer data-[disabled]:cursor-default",
15006
15015
  t && "pl-8",
15007
15016
  e
@@ -15014,7 +15023,7 @@ const nm = d.forwardRef(({ className: e, children: t, checked: r, ...n }, o) =>
15014
15023
  Kp,
15015
15024
  {
15016
15025
  ref: o,
15017
- className: R(
15026
+ className: k(
15018
15027
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:text-[var(--text-interactive-neutral-hover)] active:text-[var(--text-interactive-emphasis-active)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-[var(--fill-interactive-neutral-hover)] active:bg-[var(--fill-interactive-emphasis-active)] data-[disabled]:cursor-default",
15019
15028
  e
15020
15029
  ),
@@ -15031,7 +15040,7 @@ const om = d.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
15031
15040
  Yp,
15032
15041
  {
15033
15042
  ref: n,
15034
- className: R(
15043
+ className: k(
15035
15044
  "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-[var(--fill-interactive-neutral-hover)] active:bg-[var(--fill-interactive-emphasis-active)] data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:text-[var(--text-interactive-neutral-hover)] active:text-[var(--text-interactive-emphasis-active)] data-[disabled]:cursor-default",
15036
15045
  e
15037
15046
  ),
@@ -15047,7 +15056,7 @@ const fs = d.forwardRef(({ className: e, inset: t, ...r }, n) => /* @__PURE__ */
15047
15056
  Up,
15048
15057
  {
15049
15058
  ref: n,
15050
- className: R(
15059
+ className: k(
15051
15060
  "px-2 py-1.5 text-sm font-semibold",
15052
15061
  t && "pl-8",
15053
15062
  e
@@ -15056,22 +15065,22 @@ const fs = d.forwardRef(({ className: e, inset: t, ...r }, n) => /* @__PURE__ */
15056
15065
  }
15057
15066
  ));
15058
15067
  fs.displayName = Up.displayName;
15059
- const kt = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
15068
+ const Rt = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ s.jsx(
15060
15069
  Zp,
15061
15070
  {
15062
15071
  ref: r,
15063
- className: R("-mx-1 my-1 h-px bg-purple-muted-500", e),
15072
+ className: k("-mx-1 my-1 h-px bg-purple-muted-500", e),
15064
15073
  ...t
15065
15074
  }
15066
15075
  ));
15067
- kt.displayName = Zp.displayName;
15076
+ Rt.displayName = Zp.displayName;
15068
15077
  const am = ({
15069
15078
  className: e,
15070
15079
  ...t
15071
15080
  }) => /* @__PURE__ */ s.jsx(
15072
15081
  "span",
15073
15082
  {
15074
- className: R(
15083
+ className: k(
15075
15084
  "ml-auto text-xs tracking-widest [&>svg]:size-4 self-end",
15076
15085
  e
15077
15086
  ),
@@ -15079,7 +15088,7 @@ const am = ({
15079
15088
  }
15080
15089
  );
15081
15090
  am.displayName = "DropdownMenuEndAndornment";
15082
- const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15091
+ const _R = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15083
15092
  om,
15084
15093
  {
15085
15094
  className: "m-0 rounded-none gap-2 pl-3 pr-9 py-1.5",
@@ -15091,19 +15100,19 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15091
15100
  e.label
15092
15101
  ]
15093
15102
  }
15094
- ), Ak = ({
15103
+ ), AR = ({
15095
15104
  radioGroupItem: e
15096
15105
  }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
15097
15106
  /* @__PURE__ */ s.jsx(
15098
- Tk,
15107
+ TR,
15099
15108
  {
15100
15109
  value: e.value,
15101
15110
  onValueChange: e.onValueChange,
15102
- children: e.radioItems.map((t, r) => /* @__PURE__ */ s.jsx(_k, { radioItem: t }, `item-${r}`))
15111
+ children: e.radioItems.map((t, r) => /* @__PURE__ */ s.jsx(_R, { radioItem: t }, `item-${r}`))
15103
15112
  }
15104
15113
  ),
15105
- e.separator && /* @__PURE__ */ s.jsx(kt, {})
15106
- ] }), Ik = ({ actionItem: e }) => /* @__PURE__ */ s.jsxs("div", { className: "w-full [&>button]:w-full", children: [
15114
+ e.separator && /* @__PURE__ */ s.jsx(Rt, {})
15115
+ ] }), IR = ({ actionItem: e }) => /* @__PURE__ */ s.jsxs("div", { className: "w-full [&>button]:w-full", children: [
15107
15116
  /* @__PURE__ */ s.jsx(
15108
15117
  io,
15109
15118
  {
@@ -15128,8 +15137,8 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15128
15137
  )
15129
15138
  }
15130
15139
  ),
15131
- e.separator && /* @__PURE__ */ s.jsx(kt, {})
15132
- ] }), Mk = ({ checkboxItem: e }) => /* @__PURE__ */ s.jsxs(
15140
+ e.separator && /* @__PURE__ */ s.jsx(Rt, {})
15141
+ ] }), MR = ({ checkboxItem: e }) => /* @__PURE__ */ s.jsxs(
15133
15142
  nm,
15134
15143
  {
15135
15144
  className: "gap-2 m-0 rounded-none py-1.5 pl-3 pr-9 outline-none",
@@ -15142,15 +15151,15 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15142
15151
  e.label
15143
15152
  ]
15144
15153
  }
15145
- ), Ok = ({
15154
+ ), OR = ({
15146
15155
  checkboxGroupItem: e
15147
15156
  }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
15148
- /* @__PURE__ */ s.jsx(jk, { children: e.checkboxes.map((t, r) => /* @__PURE__ */ s.jsx(Mk, { checkboxItem: t }, `item-${r}`)) }),
15149
- e.separator && /* @__PURE__ */ s.jsx(kt, {})
15150
- ] }), Dk = ({
15157
+ /* @__PURE__ */ s.jsx(jR, { children: e.checkboxes.map((t, r) => /* @__PURE__ */ s.jsx(MR, { checkboxItem: t }, `item-${r}`)) }),
15158
+ e.separator && /* @__PURE__ */ s.jsx(Rt, {})
15159
+ ] }), DR = ({
15151
15160
  subMenuItem: e
15152
15161
  }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
15153
- /* @__PURE__ */ s.jsxs(Nk, { children: [
15162
+ /* @__PURE__ */ s.jsxs(NR, { children: [
15154
15163
  /* @__PURE__ */ s.jsxs(
15155
15164
  em,
15156
15165
  {
@@ -15162,44 +15171,44 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15162
15171
  ]
15163
15172
  }
15164
15173
  ),
15165
- /* @__PURE__ */ s.jsx(Pk, { children: /* @__PURE__ */ s.jsx(tm, { children: e.subItems.map(
15174
+ /* @__PURE__ */ s.jsx(PR, { children: /* @__PURE__ */ s.jsx(tm, { children: e.subItems.map(
15166
15175
  (t, r) => sm(t, r)
15167
15176
  ) }) })
15168
15177
  ] }),
15169
- e.separator && /* @__PURE__ */ s.jsx(kt, {})
15170
- ] }), $k = ({ menuItem: e }) => /* @__PURE__ */ s.jsx(fs, { className: "text-purple-muted-300 px-3 font-normal", children: e.label }), Lk = () => /* @__PURE__ */ s.jsx(kt, {}), sm = (e, t) => {
15178
+ e.separator && /* @__PURE__ */ s.jsx(Rt, {})
15179
+ ] }), $R = ({ menuItem: e }) => /* @__PURE__ */ s.jsx(fs, { className: "text-purple-muted-300 px-3 font-normal", children: e.label }), LR = () => /* @__PURE__ */ s.jsx(Rt, {}), sm = (e, t) => {
15171
15180
  switch (e.type) {
15172
15181
  case "ActionMenuItem":
15173
- return /* @__PURE__ */ s.jsx(Ik, { actionItem: e }, `item-${t}`);
15182
+ return /* @__PURE__ */ s.jsx(IR, { actionItem: e }, `item-${t}`);
15174
15183
  case "CheckboxGroup":
15175
- return /* @__PURE__ */ s.jsx(Ok, { checkboxGroupItem: e }, `item-${t}`);
15184
+ return /* @__PURE__ */ s.jsx(OR, { checkboxGroupItem: e }, `item-${t}`);
15176
15185
  case "RadioGroup":
15177
- return /* @__PURE__ */ s.jsx(Ak, { radioGroupItem: e }, `item-${t}`);
15186
+ return /* @__PURE__ */ s.jsx(AR, { radioGroupItem: e }, `item-${t}`);
15178
15187
  case "SubMenuItem":
15179
- return /* @__PURE__ */ s.jsx(Dk, { subMenuItem: e }, `item-${t}`);
15188
+ return /* @__PURE__ */ s.jsx(DR, { subMenuItem: e }, `item-${t}`);
15180
15189
  case "MenuLabel":
15181
- return /* @__PURE__ */ s.jsx($k, { menuItem: e }, `item-${t}`);
15190
+ return /* @__PURE__ */ s.jsx($R, { menuItem: e }, `item-${t}`);
15182
15191
  case "Separator":
15183
- return /* @__PURE__ */ s.jsx(Lk, {}, `item-${t}`);
15192
+ return /* @__PURE__ */ s.jsx(LR, {}, `item-${t}`);
15184
15193
  default:
15185
15194
  return null;
15186
15195
  }
15187
- }, Fk = {
15196
+ }, FR = {
15188
15197
  s: "min-w-[140px]",
15189
15198
  m: "min-w-[249px]",
15190
15199
  l: "min-w-[257px]"
15191
- }, Vk = ({ header: e }) => /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col gap-1", children: [
15200
+ }, VR = ({ header: e }) => /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col gap-1", children: [
15192
15201
  /* @__PURE__ */ s.jsx("span", { className: "text-purple-muted-300", children: e.title }),
15193
15202
  /* @__PURE__ */ s.jsx("span", { children: e.label })
15194
- ] }), Bk = ({
15203
+ ] }), BR = ({
15195
15204
  header: e
15196
15205
  }) => e ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
15197
- /* @__PURE__ */ s.jsx(fs, { className: "text-purple-100 font-normal px-3", children: e.type === "MenuTitleHeader" && /* @__PURE__ */ s.jsx(Vk, { header: e }) }),
15198
- /* @__PURE__ */ s.jsx(kt, { className: "bg-purple-muted-500" })
15199
- ] }) : null, Gk = ({
15206
+ /* @__PURE__ */ s.jsx(fs, { className: "text-purple-100 font-normal px-3", children: e.type === "MenuTitleHeader" && /* @__PURE__ */ s.jsx(VR, { header: e }) }),
15207
+ /* @__PURE__ */ s.jsx(Rt, { className: "bg-purple-muted-500" })
15208
+ ] }) : null, GR = ({
15200
15209
  footer: e
15201
15210
  }) => e ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
15202
- /* @__PURE__ */ s.jsx(kt, { className: "bg-purple-muted-500" }),
15211
+ /* @__PURE__ */ s.jsx(Rt, { className: "bg-purple-muted-500" }),
15203
15212
  /* @__PURE__ */ s.jsxs(
15204
15213
  us,
15205
15214
  {
@@ -15212,7 +15221,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15212
15221
  ]
15213
15222
  }
15214
15223
  )
15215
- ] }) : null, Wk = ({
15224
+ ] }) : null, WR = ({
15216
15225
  menuItems: e,
15217
15226
  header: t,
15218
15227
  footer: r,
@@ -15225,16 +15234,16 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15225
15234
  className: u = ""
15226
15235
  }) => {
15227
15236
  const f = xg(
15228
- Fk,
15237
+ FR,
15229
15238
  {
15230
15239
  [o]: o,
15231
15240
  className: u
15232
15241
  },
15233
15242
  !1
15234
15243
  );
15235
- return /* @__PURE__ */ s.jsx("div", { className: R("qodo qodo-dropdown"), children: /* @__PURE__ */ s.jsxs(kk, { modal: l, children: [
15244
+ return /* @__PURE__ */ s.jsx("div", { className: k("qodo qodo-dropdown"), children: /* @__PURE__ */ s.jsxs(RR, { modal: l, children: [
15236
15245
  /* @__PURE__ */ s.jsx(
15237
- Rk,
15246
+ kR,
15238
15247
  {
15239
15248
  asChild: a,
15240
15249
  className: "select-none outline-none flex items-center",
@@ -15249,14 +15258,14 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15249
15258
  align: "end",
15250
15259
  className: f,
15251
15260
  children: [
15252
- /* @__PURE__ */ s.jsx(Bk, { header: t }),
15261
+ /* @__PURE__ */ s.jsx(BR, { header: t }),
15253
15262
  e.filter((p) => !p.isHidden).map((p, g) => sm(p, g)),
15254
- /* @__PURE__ */ s.jsx(Gk, { footer: r })
15263
+ /* @__PURE__ */ s.jsx(GR, { footer: r })
15255
15264
  ]
15256
15265
  }
15257
15266
  )
15258
15267
  ] }) });
15259
- }, zk = ({
15268
+ }, zR = ({
15260
15269
  triggerAriaLabel: e = "Open actions menu",
15261
15270
  className: t,
15262
15271
  ...r
@@ -15266,13 +15275,13 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15266
15275
  variant: "ghost",
15267
15276
  size: "icon",
15268
15277
  "aria-label": e,
15269
- className: R("flex items-center justify-center h-4 w-4", t),
15278
+ className: k("flex items-center justify-center h-4 w-4", t),
15270
15279
  ...r,
15271
15280
  children: /* @__PURE__ */ s.jsx(ol, { className: "h-4 w-4" })
15272
15281
  }
15273
15282
  ), ej = ({
15274
15283
  menuItems: e = [],
15275
- triggerElement: t = zk,
15284
+ triggerElement: t = zR,
15276
15285
  triggerProps: r = {},
15277
15286
  className: n,
15278
15287
  size: o = "s",
@@ -15280,12 +15289,12 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15280
15289
  side: i = "bottom",
15281
15290
  modal: l = !1
15282
15291
  }) => /* @__PURE__ */ s.jsx("div", { className: n, onClick: (c) => c.stopPropagation(), children: /* @__PURE__ */ s.jsx(
15283
- Wk,
15292
+ WR,
15284
15293
  {
15285
15294
  triggerElement: /* @__PURE__ */ s.jsx(
15286
15295
  t,
15287
15296
  {
15288
- className: R(
15297
+ className: k(
15289
15298
  "flex items-center justify-center",
15290
15299
  r == null ? void 0 : r.className
15291
15300
  ),
@@ -15299,7 +15308,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15299
15308
  modal: l,
15300
15309
  disabled: r == null ? void 0 : r.disabled
15301
15310
  }
15302
- ) }), qk = {
15311
+ ) }), qR = {
15303
15312
  // Password Manager Blocking (all valid data attributes)
15304
15313
  "data-lpignore": "true",
15305
15314
  "data-1p-ignore": "true",
@@ -15323,52 +15332,52 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15323
15332
  disableFilterIcon: o = !0,
15324
15333
  ...a
15325
15334
  }) => {
15326
- const i = r === Gi.LARGE ? "pl-12 py-3 pr-4 h-[45px]" : "pl-9 py-1.5 pr-2 h-[33px]", l = R(
15335
+ const i = r === Gi.LARGE ? "pl-12 py-3 pr-4 h-[45px]" : "pl-9 py-1.5 pr-2 h-[33px]", l = k(
15327
15336
  "absolute top-1/2 h-4 w-4 -translate-y-1/2",
15328
15337
  n ? "text-purple-muted-600" : "text-purple-muted-400"
15329
- ), c = R(
15338
+ ), c = k(
15330
15339
  "text-purple-muted-200 dark:border-purple-muted-600 dark:text-purple-muted-200 dark:bg-[#1C1C1C] dark:placeholder:text-purple-muted-400 pl-9",
15331
15340
  { "pr-9": !o }
15332
15341
  );
15333
15342
  return /* @__PURE__ */ s.jsxs(
15334
15343
  "div",
15335
15344
  {
15336
- className: R("qodo qodo-search-input", "relative", e),
15345
+ className: k("qodo qodo-search-input", "relative", e),
15337
15346
  children: [
15338
- /* @__PURE__ */ s.jsx(sl, { className: R(l, "left-3") }),
15347
+ /* @__PURE__ */ s.jsx(sl, { className: k(l, "left-3") }),
15339
15348
  /* @__PURE__ */ s.jsx(
15340
15349
  Nn,
15341
15350
  {
15342
- className: R(i, c, t),
15351
+ className: k(i, c, t),
15343
15352
  disabled: n,
15344
15353
  ...a,
15345
- ...qk
15354
+ ...qR
15346
15355
  }
15347
15356
  ),
15348
- !o && /* @__PURE__ */ s.jsx(qg, { className: R(l, "right-3") })
15357
+ !o && /* @__PURE__ */ s.jsx(qg, { className: k(l, "right-3") })
15349
15358
  ]
15350
15359
  }
15351
15360
  );
15352
- }, Uk = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Hk = (e) => e.split(/[,\s]+/).map((t) => t.trim()).filter(Boolean), Kk = (e, t) => {
15361
+ }, UR = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, HR = (e) => e.split(/[,\s]+/).map((t) => t.trim()).filter(Boolean), KR = (e, t) => {
15353
15362
  var n;
15354
15363
  if (!(t != null && t.length)) return !0;
15355
15364
  const r = (n = e.split("@")[1]) == null ? void 0 : n.toLowerCase();
15356
15365
  return t.some(
15357
15366
  (o) => r === o.toLowerCase()
15358
15367
  );
15359
- }, Yk = (e, t) => e.map((r) => {
15360
- const n = Uk.test(r), o = n ? Kk(r, t == null ? void 0 : t.domains) : void 0;
15368
+ }, YR = (e, t) => e.map((r) => {
15369
+ const n = UR.test(r), o = n ? KR(r, t == null ? void 0 : t.domains) : void 0;
15361
15370
  return {
15362
15371
  email: r,
15363
15372
  isValid: n && o !== !1,
15364
15373
  isDomainValid: o
15365
15374
  };
15366
- }), Xk = (e, t, r) => {
15367
- const n = Yk(e, r), o = [...t];
15375
+ }), XR = (e, t, r) => {
15376
+ const n = YR(e, r), o = [...t];
15368
15377
  for (const a of n)
15369
15378
  o.some((l) => l.email === a.email) || o.push(a);
15370
15379
  return o;
15371
- }, Zk = ({
15380
+ }, ZR = ({
15372
15381
  onChange: e = () => {
15373
15382
  },
15374
15383
  organization: t
@@ -15385,10 +15394,10 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15385
15394
  [o]
15386
15395
  ), i = Se(
15387
15396
  (u) => {
15388
- const f = Hk(u);
15397
+ const f = HR(u);
15389
15398
  if (f.length === 0)
15390
15399
  return;
15391
- const p = Xk(f, r, t);
15400
+ const p = XR(f, r, t);
15392
15401
  a(p);
15393
15402
  },
15394
15403
  [r, a, t]
@@ -15411,7 +15420,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15411
15420
  clearAll: l,
15412
15421
  notify: o
15413
15422
  };
15414
- }, Jk = (e) => {
15423
+ }, JR = (e) => {
15415
15424
  const {
15416
15425
  draft: t,
15417
15426
  setDraft: r,
@@ -15448,7 +15457,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15448
15457
  }
15449
15458
  [",", ";", " "].includes(f.key) && (f.preventDefault(), t.trim() && (n(t), r("")));
15450
15459
  };
15451
- }, Qk = ({ email: e, isValid: t, onRemove: r }) => {
15460
+ }, QR = ({ email: e, isValid: t, onRemove: r }) => {
15452
15461
  const n = (o) => {
15453
15462
  o.stopPropagation(), r(e);
15454
15463
  };
@@ -15472,7 +15481,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15472
15481
  ]
15473
15482
  }
15474
15483
  );
15475
- }, eR = ({
15484
+ }, ek = ({
15476
15485
  hasContent: e,
15477
15486
  onClearAll: t,
15478
15487
  emails: r,
@@ -15562,7 +15571,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15562
15571
  invalidEmailError: c = "Invalid email",
15563
15572
  invalidDomainError: u = "Email domain is not allowed"
15564
15573
  }) => {
15565
- const f = be(null), p = be(null), [g, m] = Te(""), [b, v] = Te(!1), { emails: x, setEmails: y, addTokens: h, removeToken: C, clearAll: S, notify: k } = Zk({ onChange: e, organization: o }), P = Jk({
15574
+ const f = be(null), p = be(null), [g, m] = Te(""), [b, v] = Te(!1), { emails: x, setEmails: y, addTokens: h, removeToken: C, clearAll: S, notify: R } = ZR({ onChange: e, organization: o }), P = JR({
15566
15575
  draft: g,
15567
15576
  setDraft: m,
15568
15577
  addTokens: h,
@@ -15571,7 +15580,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15571
15580
  clearAll: S,
15572
15581
  emails: x,
15573
15582
  setEmails: y,
15574
- notify: k
15583
+ notify: R
15575
15584
  }), N = () => {
15576
15585
  var J;
15577
15586
  const B = ((J = o == null ? void 0 : o.domains) == null ? void 0 : J[0]) || "example.com";
@@ -15601,16 +15610,16 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15601
15610
  J && ((T = f.current) != null && T.contains(J)) || g.trim() && (h(g), m(""));
15602
15611
  },
15603
15612
  [g, h]
15604
- ), W = x.length > 0, O = !W && g.length === 0, A = W || g.length > 0, M = R(
15613
+ ), W = x.length > 0, O = !W && g.length === 0, A = W || g.length > 0, M = k(
15605
15614
  "bg-transparent text-sm outline-none border-0 p-0 h-6 shadow-none focus-visible:ring-0 whitespace-nowrap text-purple-muted-200 placeholder:text-purple-muted-400",
15606
15615
  W ? "flex-none shrink-0 overflow-x-auto overflow-y-hidden no-scrollbar" : "flex-1 !min-w-full overflow-hidden",
15607
15616
  { "opacity-50 cursor-not-allowed": t },
15608
15617
  a
15609
- ), E = R(
15618
+ ), E = k(
15610
15619
  "inline-flex items-center gap-1 no-scrollbar",
15611
15620
  W ? "w-max" : "w-full",
15612
15621
  i
15613
- ), I = R(
15622
+ ), I = k(
15614
15623
  "qodo qodo-email-chips-input",
15615
15624
  "relative w-full max-w-full min-w-0 overflow-hidden rounded-md border pl-9 pr-14 py-2 pl-9 pr-14 py-2 focus-within:ring-1 border-purple-muted-500 dark:bg-purple-muted-800 focus-within:ring-purple-muted-400",
15616
15625
  l
@@ -15632,7 +15641,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15632
15641
  /* @__PURE__ */ s.jsx("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-purple-muted-400", children: /* @__PURE__ */ s.jsx(Kg, { className: "w-4 h-4" }) }),
15633
15642
  /* @__PURE__ */ s.jsx("div", { className: "w-full text-start max-w-full min-w-0 overflow-x-auto overflow-y-hidden no-scrollbar", children: /* @__PURE__ */ s.jsxs("div", { className: E, children: [
15634
15643
  x.map((B, J) => /* @__PURE__ */ s.jsx(
15635
- Qk,
15644
+ QR,
15636
15645
  {
15637
15646
  email: B.email,
15638
15647
  isValid: B.isValid,
@@ -15656,7 +15665,7 @@ const _k = ({ radioItem: e }) => /* @__PURE__ */ s.jsxs(
15656
15665
  )
15657
15666
  ] }) }),
15658
15667
  /* @__PURE__ */ s.jsx(
15659
- eR,
15668
+ ek,
15660
15669
  {
15661
15670
  hasContent: A,
15662
15671
  onClearAll: S,
@@ -15687,20 +15696,20 @@ function nj({
15687
15696
  icon: c,
15688
15697
  iconClassName: u
15689
15698
  }) {
15690
- const f = R(
15699
+ const f = k(
15691
15700
  "px-6 py-4 gap-1 flex flex-row items-center gap-4",
15692
15701
  "border-[var(--border-panel-neutral)] rounded-md fill-[var(--fill-panel-neutral)]",
15693
15702
  { "px-4": !!c },
15694
15703
  l
15695
- ), p = R(
15704
+ ), p = k(
15696
15705
  "p-0 m-0 text-xs",
15697
15706
  "text-[var(--color-text-bg-neutral-mild)] dark:text-[var(--color-text-bg-neutral-mild)] font-normal",
15698
15707
  o
15699
- ), g = R(
15708
+ ), g = k(
15700
15709
  "w-8 h-8 flex items-center justify-center",
15701
15710
  "bg-purple-muted-600 rounded-full p-2.5",
15702
15711
  u
15703
- ), m = R(
15712
+ ), m = k(
15704
15713
  "text-xl font-medium p-0 m-0 leading-5",
15705
15714
  {
15706
15715
  "text-muted-foreground dark:text-white": i === rn.DEFAULT,
@@ -15709,7 +15718,7 @@ function nj({
15709
15718
  },
15710
15719
  a
15711
15720
  );
15712
- return /* @__PURE__ */ s.jsxs(Ry, { className: f, children: [
15721
+ return /* @__PURE__ */ s.jsxs(ky, { className: f, children: [
15713
15722
  c && /* @__PURE__ */ s.jsx("div", { className: g, children: c }),
15714
15723
  /* @__PURE__ */ s.jsxs("div", { className: "flex flex-col gap-1 w-full", children: [
15715
15724
  /* @__PURE__ */ s.jsx(jy, { className: "m-0 p-0 gap-0", children: /* @__PURE__ */ s.jsx(Py, { className: p, children: e }) }),
@@ -15722,76 +15731,76 @@ function nj({
15722
15731
  ] });
15723
15732
  }
15724
15733
  export {
15725
- IR as Accordion,
15726
- DR as AccordionContent,
15727
- MR as AccordionItem,
15728
- OR as AccordionTrigger,
15734
+ Ik as Accordion,
15735
+ Dk as AccordionContent,
15736
+ Mk as AccordionItem,
15737
+ Ok as AccordionTrigger,
15729
15738
  ej as ActionsCell,
15730
15739
  jr as Badge,
15731
- XR as BadgeCell,
15740
+ Xk as BadgeCell,
15732
15741
  Vi as BaseCell,
15733
15742
  ft as Button,
15734
- Ry as Card,
15735
- CR as CardAction,
15743
+ ky as Card,
15744
+ Ck as CardAction,
15736
15745
  Ty as CardContent,
15737
15746
  Ny as CardDescription,
15738
- SR as CardFooter,
15747
+ Sk as CardFooter,
15739
15748
  jy as CardHeader,
15740
15749
  Py as CardTitle,
15741
15750
  Nf as Checkbox,
15742
15751
  yf as CheckboxGroup,
15743
15752
  xg as ClassHelper,
15744
15753
  bd as Combobox,
15745
- pR as Dialog,
15746
- gR as DialogClose,
15747
- vR as DialogContent,
15748
- yR as DialogDescription,
15749
- xR as DialogFooter,
15750
- hR as DialogHeader,
15754
+ pk as Dialog,
15755
+ gk as DialogClose,
15756
+ vk as DialogContent,
15757
+ yk as DialogDescription,
15758
+ xk as DialogFooter,
15759
+ hk as DialogHeader,
15751
15760
  cy as DialogOverlay,
15752
15761
  ly as DialogPortal,
15753
- bR as DialogTitle,
15754
- mR as DialogTrigger,
15755
- Wk as Dropdown,
15762
+ bk as DialogTitle,
15763
+ mk as DialogTrigger,
15764
+ WR as Dropdown,
15756
15765
  rj as EmailChipsInput,
15757
15766
  Me as Form,
15758
15767
  Kw as FormProvider,
15759
15768
  Nn as Input,
15760
15769
  nj as InsightCard,
15761
- ZR as NumberCell,
15762
- kR as Progress,
15770
+ Zk as NumberCell,
15771
+ Rk as Progress,
15763
15772
  tf as RadioGroup,
15764
15773
  rf as RadioGroupItem,
15765
15774
  tj as SearchInput,
15766
- lR as Select,
15775
+ lk as Select,
15767
15776
  bb as SelectContent,
15768
- cR as SelectGroup,
15777
+ ck as SelectGroup,
15769
15778
  wb as SelectItem,
15770
15779
  yb as SelectLabel,
15771
15780
  jc as SelectScrollDownButton,
15772
- Rc as SelectScrollUpButton,
15781
+ kc as SelectScrollUpButton,
15773
15782
  Cb as SelectSeparator,
15774
15783
  xb as SelectTrigger,
15775
- dR as SelectValue,
15784
+ dk as SelectValue,
15776
15785
  Fy as Skeleton,
15777
- JR as SortableHeaderCell,
15778
- KR as Steps,
15779
- jR as Switch,
15780
- YR as Table,
15781
- LR as Tabs,
15782
- BR as TabsContent,
15783
- FR as TabsList,
15784
- VR as TabsTrigger,
15786
+ Jk as SortableHeaderCell,
15787
+ Kk as Steps,
15788
+ jk as Switch,
15789
+ Yk as Table,
15790
+ Lk as Tabs,
15791
+ Bk as TabsContent,
15792
+ Fk as TabsList,
15793
+ Vk as TabsTrigger,
15785
15794
  aC as TagsInput,
15786
- PR as Toggle,
15787
- TR as ToggleGroup,
15788
- _R as ToggleGroupItem,
15795
+ Pk as Toggle,
15796
+ Tk as ToggleGroup,
15797
+ _k as ToggleGroupItem,
15789
15798
  io as Tooltip,
15790
- aR as borderRadius,
15791
- R as cn,
15792
- nR as colors,
15793
- oR as spacing,
15794
- sR as typography,
15799
+ ak as borderRadius,
15800
+ k as cn,
15801
+ nk as colors,
15802
+ ok as spacing,
15803
+ sk as typography,
15795
15804
  Yw as useFormContext
15796
15805
  };
15797
15806
  //# sourceMappingURL=index.esm.js.map