@moises.ai/design-system 2.0.57 → 2.0.58

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.
Files changed (2) hide show
  1. package/dist/index.js +141 -141
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2,13 +2,13 @@
2
2
  import { jsx as d, jsxs as S, Fragment as ke } from "react/jsx-runtime";
3
3
  import * as a from "react";
4
4
  import X, { useState as tt, useRef as Ve, useCallback as W, useMemo as He, memo as Mr, useLayoutEffect as Js, useEffect as Zt } from "react";
5
- import { aj as kr, h as zr, f as st, ak as en, c as Qt, d as Jt, a as Ar, g as Q, al as tn, P as G, i as A, u as ge, U as rn, F as Dr, am as an, E as sn, an as nn, ao as on, ap as ln, aq as cn, ar as dn, D as un, as as mn, K as ft, at as pn, au as fn, av as K, aw as er, ax as hn, ay as gn, az as vn, aA as yn, aB as Nn, aC as Cn, aD as wn, aE as bn, aF as _n, aG as Sn, aH as $n, aI as xn, aJ as Rn, aK as En, R as Tn, aL as Pn, aM as In, aN as Br, aO as Or, aP as Vt, aQ as Ht, aR as Mn, aS as kn, aT as zn, aU as An, aV as Dn, aW as Bn, aX as On, aY as Ln, aZ as Vn, a_ as Hn, a$ as Fn, b0 as jn, b1 as Wn, b2 as Gn, b3 as Kn, b4 as Un, b5 as Yn, b6 as qn, b7 as Xn, b8 as Zn, b9 as Qn, ba as Lr, bb as Vr, bc as Hr, H as Fr, X as Jn, Y as eo, bd as to, be as ro, bf as ao, bg as so, bh as no, bi as oo, bj as tr, bk as rr, bl as lo, bm as ar, bn as sr, bo as io, bp as co, bq as uo, br as mo, bs as po, bt as fo, bu as ho, bv as go, bw as vo, bx as yo, by as No, bz as Co, e as wo, C as bo, bA as _o, bB as So, bC as $o, bD as xo, bE as Ro, bF as Eo, bG as To, bH as Po, bI as Io } from "./index-DGUxcVwY.js";
6
- import { b4 as Mo, b8 as jr, eh as ko, ei as zo, cN as Wr, h as Ct, b6 as Ao } from "./NoKickdrumIcon-LUjuSc9i.js";
5
+ import { aj as kr, h as zr, f as st, ak as en, c as Qt, d as Jt, a as Dr, g as Q, al as tn, P as G, i as D, u as ge, U as rn, F as Ar, am as an, E as sn, an as nn, ao as on, ap as ln, aq as cn, ar as dn, D as un, as as mn, K as ft, at as pn, au as fn, av as K, aw as er, ax as hn, ay as gn, az as vn, aA as yn, aB as Nn, aC as Cn, aD as wn, aE as bn, aF as _n, aG as Sn, aH as $n, aI as xn, aJ as Rn, aK as En, R as Tn, aL as Pn, aM as In, aN as Br, aO as Or, aP as Vt, aQ as Ht, aR as Mn, aS as kn, aT as zn, aU as Dn, aV as An, aW as Bn, aX as On, aY as Ln, aZ as Vn, a_ as Hn, a$ as Fn, b0 as jn, b1 as Wn, b2 as Gn, b3 as Kn, b4 as Un, b5 as Yn, b6 as qn, b7 as Xn, b8 as Zn, b9 as Qn, ba as Lr, bb as Vr, bc as Hr, H as Fr, X as Jn, Y as eo, bd as to, be as ro, bf as ao, bg as so, bh as no, bi as oo, bj as tr, bk as rr, bl as lo, bm as ar, bn as sr, bo as io, bp as co, bq as uo, br as mo, bs as po, bt as fo, bu as ho, bv as go, bw as vo, bx as yo, by as No, bz as Co, e as wo, C as bo, bA as _o, bB as So, bC as $o, bD as xo, bE as Ro, bF as Eo, bG as To, bH as Po, bI as Io } from "./index-DGUxcVwY.js";
6
+ import { b4 as Mo, b8 as jr, eh as ko, ei as zo, cN as Wr, h as Ct, b6 as Do } from "./NoKickdrumIcon-LUjuSc9i.js";
7
7
  import * as Gr from "react-dom";
8
- function Do(e) {
8
+ function Ao(e) {
9
9
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
10
10
  }
11
- var Bo = [" ", "Enter", "ArrowUp", "ArrowDown"], Oo = [" ", "Enter"], Ie = "Select", [wt, bt, Lo] = Ar(Ie), [Fe, cp] = Qt(Ie, [
11
+ var Bo = [" ", "Enter", "ArrowUp", "ArrowDown"], Oo = [" ", "Enter"], Ie = "Select", [wt, bt, Lo] = Dr(Ie), [Fe, cp] = Qt(Ie, [
12
12
  Lo,
13
13
  kr
14
14
  ]), _t = kr(), [Vo, ve] = Fe(Ie), [Ho, Fo] = Fe(Ie), Kr = (e) => {
@@ -27,17 +27,17 @@ var Bo = [" ", "Enter", "ArrowUp", "ArrowDown"], Oo = [" ", "Enter"], Ie = "Sele
27
27
  disabled: v,
28
28
  required: b,
29
29
  form: _
30
- } = e, h = _t(t), [y, w] = a.useState(null), [N, C] = a.useState(null), [g, T] = a.useState(!1), ne = zr(u), [F, ee] = st({
30
+ } = e, h = _t(t), [y, w] = a.useState(null), [N, C] = a.useState(null), [g, P] = a.useState(!1), ne = zr(u), [F, ee] = st({
31
31
  prop: s,
32
32
  defaultProp: n ?? !1,
33
33
  onChange: o,
34
34
  caller: Ie
35
- }), [ie, P] = st({
35
+ }), [ie, T] = st({
36
36
  prop: l,
37
37
  defaultProp: i,
38
38
  onChange: c,
39
39
  caller: Ie
40
- }), I = a.useRef(null), D = y ? _ || !!y.closest("form") : !0, [U, ae] = a.useState(/* @__PURE__ */ new Set()), te = Array.from(U).map((L) => L.props.value).join(";");
40
+ }), I = a.useRef(null), A = y ? _ || !!y.closest("form") : !0, [U, ae] = a.useState(/* @__PURE__ */ new Set()), te = Array.from(U).map((L) => L.props.value).join(";");
41
41
  return /* @__PURE__ */ d(en, { ...h, children: /* @__PURE__ */ S(
42
42
  Vo,
43
43
  {
@@ -48,10 +48,10 @@ var Bo = [" ", "Enter", "ArrowUp", "ArrowDown"], Oo = [" ", "Enter"], Ie = "Sele
48
48
  valueNode: N,
49
49
  onValueNodeChange: C,
50
50
  valueNodeHasChildren: g,
51
- onValueNodeHasChildrenChange: T,
51
+ onValueNodeHasChildrenChange: P,
52
52
  contentId: Jt(),
53
53
  value: ie,
54
- onValueChange: P,
54
+ onValueChange: T,
55
55
  open: F,
56
56
  onOpenChange: ee,
57
57
  dir: ne,
@@ -74,7 +74,7 @@ var Bo = [" ", "Enter", "ArrowUp", "ArrowDown"], Oo = [" ", "Enter"], Ie = "Sele
74
74
  children: r
75
75
  }
76
76
  ) }),
77
- D ? /* @__PURE__ */ S(
77
+ A ? /* @__PURE__ */ S(
78
78
  ha,
79
79
  {
80
80
  "aria-hidden": !0,
@@ -83,7 +83,7 @@ var Bo = [" ", "Enter", "ArrowUp", "ArrowDown"], Oo = [" ", "Enter"], Ie = "Sele
83
83
  name: m,
84
84
  autoComplete: p,
85
85
  value: ie,
86
- onChange: (L) => P(L.target.value),
86
+ onChange: (L) => T(L.target.value),
87
87
  disabled: v,
88
88
  form: _,
89
89
  children: [
@@ -125,15 +125,15 @@ var Ur = "SelectTrigger", Yr = a.forwardRef(
125
125
  "data-placeholder": ga(l.value) ? "" : void 0,
126
126
  ...n,
127
127
  ref: c,
128
- onClick: A(n.onClick, (h) => {
128
+ onClick: D(n.onClick, (h) => {
129
129
  h.currentTarget.focus(), m.current !== "mouse" && _(h);
130
130
  }),
131
- onPointerDown: A(n.onPointerDown, (h) => {
131
+ onPointerDown: D(n.onPointerDown, (h) => {
132
132
  m.current = h.pointerType;
133
133
  const y = h.target;
134
134
  y.hasPointerCapture(h.pointerId) && y.releasePointerCapture(h.pointerId), h.button === 0 && h.ctrlKey === !1 && h.pointerType === "mouse" && (_(h), h.preventDefault());
135
135
  }),
136
- onKeyDown: A(n.onKeyDown, (h) => {
136
+ onKeyDown: D(n.onKeyDown, (h) => {
137
137
  const y = p.current !== "";
138
138
  !(h.ctrlKey || h.altKey || h.metaKey) && h.key.length === 1 && v(h.key), !(y && h.key === " ") && Bo.includes(h.key) && (_(), h.preventDefault());
139
139
  })
@@ -206,19 +206,19 @@ var de = 10, [ea, ye] = Fe(Me), Go = "SelectContentImpl", Ko = cn("SelectContent
206
206
  avoidCollisions: y,
207
207
  //
208
208
  ...w
209
- } = e, N = ve(Me, r), [C, g] = a.useState(null), [T, ne] = a.useState(null), F = Q(t, (R) => g(R)), [ee, ie] = a.useState(null), [P, I] = a.useState(
209
+ } = e, N = ve(Me, r), [C, g] = a.useState(null), [P, ne] = a.useState(null), F = Q(t, (R) => g(R)), [ee, ie] = a.useState(null), [T, I] = a.useState(
210
210
  null
211
- ), D = bt(r), [U, ae] = a.useState(!1), te = a.useRef(!1);
211
+ ), A = bt(r), [U, ae] = a.useState(!1), te = a.useRef(!1);
212
212
  a.useEffect(() => {
213
213
  if (C) return nn(C);
214
214
  }, [C]), on();
215
215
  const L = a.useCallback(
216
216
  (R) => {
217
- const [V, ...oe] = D().map((k) => k.ref.current), [B] = oe.slice(-1), M = document.activeElement;
217
+ const [V, ...oe] = A().map((k) => k.ref.current), [B] = oe.slice(-1), M = document.activeElement;
218
218
  for (const k of R)
219
- if (k === M || (k == null || k.scrollIntoView({ block: "nearest" }), k === V && T && (T.scrollTop = 0), k === B && T && (T.scrollTop = T.scrollHeight), k == null || k.focus(), document.activeElement !== M)) return;
219
+ if (k === M || (k == null || k.scrollIntoView({ block: "nearest" }), k === V && P && (P.scrollTop = 0), k === B && P && (P.scrollTop = P.scrollHeight), k == null || k.focus(), document.activeElement !== M)) return;
220
220
  },
221
- [D, T]
221
+ [A, P]
222
222
  ), Y = a.useCallback(
223
223
  () => L([ee, C]),
224
224
  [L, ee, C]
@@ -250,7 +250,7 @@ var de = 10, [ea, ye] = Fe(Me), Go = "SelectContentImpl", Ko = cn("SelectContent
250
250
  };
251
251
  }, [q]);
252
252
  const [Et, it] = va((R) => {
253
- const V = D().filter((M) => !M.disabled), oe = V.find((M) => M.ref.current === document.activeElement), B = ya(V, R, oe);
253
+ const V = A().filter((M) => !M.disabled), oe = V.find((M) => M.ref.current === document.activeElement), B = ya(V, R, oe);
254
254
  B && setTimeout(() => B.ref.current.focus());
255
255
  }), Tt = a.useCallback(
256
256
  (R, V, oe) => {
@@ -258,7 +258,7 @@ var de = 10, [ea, ye] = Fe(Me), Go = "SelectContentImpl", Ko = cn("SelectContent
258
258
  (N.value !== void 0 && N.value === V || B) && (ie(R), B && (te.current = !0));
259
259
  },
260
260
  [N.value]
261
- ), Pt = a.useCallback(() => C == null ? void 0 : C.focus(), [C]), De = a.useCallback(
261
+ ), Pt = a.useCallback(() => C == null ? void 0 : C.focus(), [C]), Ae = a.useCallback(
262
262
  (R, V, oe) => {
263
263
  const B = !te.current && !oe;
264
264
  (N.value !== void 0 && N.value === V || B) && I(R);
@@ -281,14 +281,14 @@ var de = 10, [ea, ye] = Fe(Me), Go = "SelectContentImpl", Ko = cn("SelectContent
281
281
  {
282
282
  scope: r,
283
283
  content: C,
284
- viewport: T,
284
+ viewport: P,
285
285
  onViewportChange: ne,
286
286
  itemRefCallback: Tt,
287
287
  selectedItem: ee,
288
288
  onItemLeave: Pt,
289
- itemTextRefCallback: De,
289
+ itemTextRefCallback: Ae,
290
290
  focusSelectedItem: Y,
291
- selectedItemText: P,
291
+ selectedItemText: T,
292
292
  position: s,
293
293
  isPositioned: U,
294
294
  searchRef: Et,
@@ -300,7 +300,7 @@ var de = 10, [ea, ye] = Fe(Me), Go = "SelectContentImpl", Ko = cn("SelectContent
300
300
  onMountAutoFocus: (R) => {
301
301
  R.preventDefault();
302
302
  },
303
- onUnmountAutoFocus: A(n, (R) => {
303
+ onUnmountAutoFocus: D(n, (R) => {
304
304
  var V;
305
305
  (V = N.trigger) == null || V.focus({ preventScroll: !0 }), R.preventDefault();
306
306
  }),
@@ -333,10 +333,10 @@ var de = 10, [ea, ye] = Fe(Me), Go = "SelectContentImpl", Ko = cn("SelectContent
333
333
  outline: "none",
334
334
  ...w.style
335
335
  },
336
- onKeyDown: A(w.onKeyDown, (R) => {
336
+ onKeyDown: D(w.onKeyDown, (R) => {
337
337
  const V = R.ctrlKey || R.altKey || R.metaKey;
338
338
  if (R.key === "Tab" && R.preventDefault(), !V && R.key.length === 1 && it(R.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(R.key)) {
339
- let B = D().filter((M) => !M.disabled).map((M) => M.ref.current);
339
+ let B = A().filter((M) => !M.disabled).map((M) => M.ref.current);
340
340
  if (["ArrowUp", "End"].includes(R.key) && (B = B.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(R.key)) {
341
341
  const M = R.target, k = B.indexOf(M);
342
342
  B = B.slice(k + 1);
@@ -358,9 +358,9 @@ ta.displayName = Go;
358
358
  var Uo = "SelectItemAlignedPosition", ra = a.forwardRef((e, t) => {
359
359
  const { __scopeSelect: r, onPlaced: s, ...n } = e, o = ve(Me, r), l = ye(Me, r), [i, c] = a.useState(null), [u, m] = a.useState(null), p = Q(t, (F) => m(F)), v = bt(r), b = a.useRef(!1), _ = a.useRef(!0), { viewport: h, selectedItem: y, selectedItemText: w, focusSelectedItem: N } = l, C = a.useCallback(() => {
360
360
  if (o.trigger && o.valueNode && i && u && h && y && w) {
361
- const F = o.trigger.getBoundingClientRect(), ee = u.getBoundingClientRect(), ie = o.valueNode.getBoundingClientRect(), P = w.getBoundingClientRect();
361
+ const F = o.trigger.getBoundingClientRect(), ee = u.getBoundingClientRect(), ie = o.valueNode.getBoundingClientRect(), T = w.getBoundingClientRect();
362
362
  if (o.dir !== "rtl") {
363
- const M = P.left - ee.left, k = ie.left - M, we = F.left - k, be = F.width + we, It = Math.max(be, ee.width), Mt = window.innerWidth - de, kt = ft(k, [
363
+ const M = T.left - ee.left, k = ie.left - M, we = F.left - k, be = F.width + we, It = Math.max(be, ee.width), Mt = window.innerWidth - de, kt = ft(k, [
364
364
  de,
365
365
  // Prevents the content from going off the starting edge of the
366
366
  // viewport. It may still go off the ending edge, but this can be
@@ -371,14 +371,14 @@ var Uo = "SelectItemAlignedPosition", ra = a.forwardRef((e, t) => {
371
371
  ]);
372
372
  i.style.minWidth = be + "px", i.style.left = kt + "px";
373
373
  } else {
374
- const M = ee.right - P.right, k = window.innerWidth - ie.right - M, we = window.innerWidth - F.right - k, be = F.width + we, It = Math.max(be, ee.width), Mt = window.innerWidth - de, kt = ft(k, [
374
+ const M = ee.right - T.right, k = window.innerWidth - ie.right - M, we = window.innerWidth - F.right - k, be = F.width + we, It = Math.max(be, ee.width), Mt = window.innerWidth - de, kt = ft(k, [
375
375
  de,
376
376
  Math.max(de, Mt - It)
377
377
  ]);
378
378
  i.style.minWidth = be + "px", i.style.right = kt + "px";
379
379
  }
380
- const I = v(), D = window.innerHeight - de * 2, U = h.scrollHeight, ae = window.getComputedStyle(u), te = parseInt(ae.borderTopWidth, 10), L = parseInt(ae.paddingTop, 10), Y = parseInt(ae.borderBottomWidth, 10), q = parseInt(ae.paddingBottom, 10), ce = te + L + U + q + Y, Et = Math.min(y.offsetHeight * 5, ce), it = window.getComputedStyle(h), Tt = parseInt(it.paddingTop, 10), Pt = parseInt(it.paddingBottom, 10), De = F.top + F.height / 2 - de, ct = D - De, Ue = y.offsetHeight / 2, R = y.offsetTop + Ue, V = te + L + R, oe = ce - V;
381
- if (V <= De) {
380
+ const I = v(), A = window.innerHeight - de * 2, U = h.scrollHeight, ae = window.getComputedStyle(u), te = parseInt(ae.borderTopWidth, 10), L = parseInt(ae.paddingTop, 10), Y = parseInt(ae.borderBottomWidth, 10), q = parseInt(ae.paddingBottom, 10), ce = te + L + U + q + Y, Et = Math.min(y.offsetHeight * 5, ce), it = window.getComputedStyle(h), Tt = parseInt(it.paddingTop, 10), Pt = parseInt(it.paddingBottom, 10), Ae = F.top + F.height / 2 - de, ct = A - Ae, Ue = y.offsetHeight / 2, R = y.offsetTop + Ue, V = te + L + R, oe = ce - V;
381
+ if (V <= Ae) {
382
382
  const M = I.length > 0 && y === I[I.length - 1].ref.current;
383
383
  i.style.bottom = "0px";
384
384
  const k = u.clientHeight - h.offsetTop - h.offsetHeight, we = Math.max(
@@ -391,13 +391,13 @@ var Uo = "SelectItemAlignedPosition", ra = a.forwardRef((e, t) => {
391
391
  const M = I.length > 0 && y === I[0].ref.current;
392
392
  i.style.top = "0px";
393
393
  const we = Math.max(
394
- De,
394
+ Ae,
395
395
  te + h.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
396
396
  (M ? Tt : 0) + Ue
397
397
  ) + oe;
398
- i.style.height = we + "px", h.scrollTop = V - De + h.offsetTop;
398
+ i.style.height = we + "px", h.scrollTop = V - Ae + h.offsetTop;
399
399
  }
400
- i.style.margin = `${de}px 0`, i.style.minHeight = Et + "px", i.style.maxHeight = D + "px", s == null || s(), requestAnimationFrame(() => b.current = !0);
400
+ i.style.margin = `${de}px 0`, i.style.minHeight = Et + "px", i.style.maxHeight = A + "px", s == null || s(), requestAnimationFrame(() => b.current = !0);
401
401
  }
402
402
  }, [
403
403
  v,
@@ -412,9 +412,9 @@ var Uo = "SelectItemAlignedPosition", ra = a.forwardRef((e, t) => {
412
412
  s
413
413
  ]);
414
414
  ge(() => C(), [C]);
415
- const [g, T] = a.useState();
415
+ const [g, P] = a.useState();
416
416
  ge(() => {
417
- u && T(window.getComputedStyle(u).zIndex);
417
+ u && P(window.getComputedStyle(u).zIndex);
418
418
  }, [u]);
419
419
  const ne = a.useCallback(
420
420
  (F) => {
@@ -522,7 +522,7 @@ var [qo, nr] = Fe(Me, {}), jt = "SelectViewport", aa = a.forwardRef(
522
522
  overflow: "hidden auto",
523
523
  ...n.style
524
524
  },
525
- onScroll: A(n.onScroll, (u) => {
525
+ onScroll: D(n.onScroll, (u) => {
526
526
  const m = u.currentTarget, { contentWrapper: p, shouldExpandOnScrollRef: v } = l;
527
527
  if (v != null && v.current && p) {
528
528
  const b = Math.abs(c.current - m.scrollTop);
@@ -608,26 +608,26 @@ var ht = "SelectItem", [Qo, ia] = Fe(ht), ca = a.forwardRef(
608
608
  tabIndex: n ? void 0 : -1,
609
609
  ...l,
610
610
  ref: _,
611
- onFocus: A(l.onFocus, () => b(!0)),
612
- onBlur: A(l.onBlur, () => b(!1)),
613
- onClick: A(l.onClick, () => {
611
+ onFocus: D(l.onFocus, () => b(!0)),
612
+ onBlur: D(l.onBlur, () => b(!1)),
613
+ onClick: D(l.onClick, () => {
614
614
  y.current !== "mouse" && w();
615
615
  }),
616
- onPointerUp: A(l.onPointerUp, () => {
616
+ onPointerUp: D(l.onPointerUp, () => {
617
617
  y.current === "mouse" && w();
618
618
  }),
619
- onPointerDown: A(l.onPointerDown, (N) => {
619
+ onPointerDown: D(l.onPointerDown, (N) => {
620
620
  y.current = N.pointerType;
621
621
  }),
622
- onPointerMove: A(l.onPointerMove, (N) => {
622
+ onPointerMove: D(l.onPointerMove, (N) => {
623
623
  var C;
624
624
  y.current = N.pointerType, n ? (C = c.onItemLeave) == null || C.call(c) : y.current === "mouse" && N.currentTarget.focus({ preventScroll: !0 });
625
625
  }),
626
- onPointerLeave: A(l.onPointerLeave, (N) => {
626
+ onPointerLeave: D(l.onPointerLeave, (N) => {
627
627
  var C;
628
628
  N.currentTarget === document.activeElement && ((C = c.onItemLeave) == null || C.call(c));
629
629
  }),
630
- onKeyDown: A(l.onKeyDown, (N) => {
630
+ onKeyDown: D(l.onKeyDown, (N) => {
631
631
  var g;
632
632
  ((g = c.searchRef) == null ? void 0 : g.current) !== "" && N.key === " " || (Oo.includes(N.key) && w(), N.key === " " && N.preventDefault());
633
633
  })
@@ -731,14 +731,14 @@ var pa = a.forwardRef((e, t) => {
731
731
  ...n,
732
732
  ref: t,
733
733
  style: { flexShrink: 0, ...n.style },
734
- onPointerDown: A(n.onPointerDown, () => {
734
+ onPointerDown: D(n.onPointerDown, () => {
735
735
  l.current === null && (l.current = window.setInterval(s, 50));
736
736
  }),
737
- onPointerMove: A(n.onPointerMove, () => {
737
+ onPointerMove: D(n.onPointerMove, () => {
738
738
  var u;
739
739
  (u = o.onItemLeave) == null || u.call(o), l.current === null && (l.current = window.setInterval(s, 50));
740
740
  }),
741
- onPointerLeave: A(n.onPointerLeave, () => {
741
+ onPointerLeave: D(n.onPointerLeave, () => {
742
742
  c();
743
743
  })
744
744
  }
@@ -759,7 +759,7 @@ var Kt = "SelectArrow", rl = a.forwardRef(
759
759
  rl.displayName = Kt;
760
760
  var al = "SelectBubbleInput", ha = a.forwardRef(
761
761
  ({ __scopeSelect: e, value: t, ...r }, s) => {
762
- const n = a.useRef(null), o = Q(s, n), l = Dr(t);
762
+ const n = a.useRef(null), o = Q(s, n), l = Ar(t);
763
763
  return a.useEffect(() => {
764
764
  const i = n.current;
765
765
  if (!i) return;
@@ -817,7 +817,7 @@ var nl = Kr, ol = Yr, ll = Xr, il = Zr, cl = Qr, dl = Jr, ul = aa, ml = na, pl =
817
817
  "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
818
818
  "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
819
819
  "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
820
- }, je = "Slider", [Ut, yl, Nl] = Ar(je), [ba, dp] = Qt(je, [
820
+ }, je = "Slider", [Ut, yl, Nl] = Dr(je), [ba, dp] = Qt(je, [
821
821
  Nl
822
822
  ]), [Cl, St] = ba(je), _a = a.forwardRef(
823
823
  (e, t) => {
@@ -838,7 +838,7 @@ var nl = Kr, ol = Yr, ll = Xr, il = Zr, cl = Qr, dl = Jr, ul = aa, ml = na, pl =
838
838
  inverted: b = !1,
839
839
  form: _,
840
840
  ...h
841
- } = e, y = a.useRef(/* @__PURE__ */ new Set()), w = a.useRef(0), C = l === "horizontal" ? wl : bl, [g = [], T] = st({
841
+ } = e, y = a.useRef(/* @__PURE__ */ new Set()), w = a.useRef(0), C = l === "horizontal" ? wl : bl, [g = [], P] = st({
842
842
  prop: m,
843
843
  defaultProp: u,
844
844
  onChange: (I) => {
@@ -847,20 +847,20 @@ var nl = Kr, ol = Yr, ll = Xr, il = Zr, cl = Qr, dl = Jr, ul = aa, ml = na, pl =
847
847
  }
848
848
  }), ne = a.useRef(g);
849
849
  function F(I) {
850
- const D = Rl(g, I);
851
- P(I, D);
850
+ const A = Rl(g, I);
851
+ T(I, A);
852
852
  }
853
853
  function ee(I) {
854
- P(I, w.current);
854
+ T(I, w.current);
855
855
  }
856
856
  function ie() {
857
857
  const I = ne.current[w.current];
858
858
  g[w.current] !== I && v(g);
859
859
  }
860
- function P(I, D, { commit: U } = { commit: !1 }) {
860
+ function T(I, A, { commit: U } = { commit: !1 }) {
861
861
  const ae = Il(o), te = Ml(Math.round((I - s) / o) * o + s, ae), L = ft(te, [s, n]);
862
- T((Y = []) => {
863
- const q = $l(Y, L, D);
862
+ P((Y = []) => {
863
+ const q = $l(Y, L, A);
864
864
  if (Pl(q, c * o)) {
865
865
  w.current = q.indexOf(L);
866
866
  const ce = String(q) !== String(Y);
@@ -889,7 +889,7 @@ var nl = Kr, ol = Yr, ll = Xr, il = Zr, cl = Qr, dl = Jr, ul = aa, ml = na, pl =
889
889
  "data-disabled": i ? "" : void 0,
890
890
  ...h,
891
891
  ref: t,
892
- onPointerDown: A(h.onPointerDown, () => {
892
+ onPointerDown: D(h.onPointerDown, () => {
893
893
  i || (ne.current = g);
894
894
  }),
895
895
  min: s,
@@ -898,12 +898,12 @@ var nl = Kr, ol = Yr, ll = Xr, il = Zr, cl = Qr, dl = Jr, ul = aa, ml = na, pl =
898
898
  onSlideStart: i ? void 0 : F,
899
899
  onSlideMove: i ? void 0 : ee,
900
900
  onSlideEnd: i ? void 0 : ie,
901
- onHomeKeyDown: () => !i && P(s, 0, { commit: !0 }),
902
- onEndKeyDown: () => !i && P(n, g.length - 1, { commit: !0 }),
903
- onStepKeyDown: ({ event: I, direction: D }) => {
901
+ onHomeKeyDown: () => !i && T(s, 0, { commit: !0 }),
902
+ onEndKeyDown: () => !i && T(n, g.length - 1, { commit: !0 }),
903
+ onStepKeyDown: ({ event: I, direction: A }) => {
904
904
  if (!i) {
905
- const te = Na.includes(I.key) || I.shiftKey && Ca.includes(I.key) ? 10 : 1, L = w.current, Y = g[L], q = o * te * D;
906
- P(Y + q, L, { commit: !0 });
905
+ const te = Na.includes(I.key) || I.shiftKey && Ca.includes(I.key) ? 10 : 1, L = w.current, Y = g[L], q = o * te * A;
906
+ T(Y + q, L, { commit: !0 });
907
907
  }
908
908
  }
909
909
  }
@@ -932,7 +932,7 @@ var [Sa, $a] = ba(je, {
932
932
  ...m
933
933
  } = e, [p, v] = a.useState(null), b = Q(t, (C) => v(C)), _ = a.useRef(void 0), h = zr(n), y = h === "ltr", w = y && !o || !y && o;
934
934
  function N(C) {
935
- const g = _.current || p.getBoundingClientRect(), T = [0, g.width], F = or(T, w ? [r, s] : [s, r]);
935
+ const g = _.current || p.getBoundingClientRect(), P = [0, g.width], F = or(P, w ? [r, s] : [s, r]);
936
936
  return _.current = g, F(C - g.left);
937
937
  }
938
938
  return /* @__PURE__ */ d(
@@ -966,8 +966,8 @@ var [Sa, $a] = ba(je, {
966
966
  _.current = void 0, c == null || c();
967
967
  },
968
968
  onStepKeyDown: (C) => {
969
- const T = wa[w ? "from-left" : "from-right"].includes(C.key);
970
- u == null || u({ event: C, direction: T ? -1 : 1 });
969
+ const P = wa[w ? "from-left" : "from-right"].includes(C.key);
970
+ u == null || u({ event: C, direction: P ? -1 : 1 });
971
971
  }
972
972
  }
973
973
  )
@@ -1045,17 +1045,17 @@ var [Sa, $a] = ba(je, {
1045
1045
  {
1046
1046
  ...u,
1047
1047
  ref: t,
1048
- onKeyDown: A(e.onKeyDown, (p) => {
1048
+ onKeyDown: D(e.onKeyDown, (p) => {
1049
1049
  p.key === "Home" ? (l(p), p.preventDefault()) : p.key === "End" ? (i(p), p.preventDefault()) : Na.concat(Ca).includes(p.key) && (c(p), p.preventDefault());
1050
1050
  }),
1051
- onPointerDown: A(e.onPointerDown, (p) => {
1051
+ onPointerDown: D(e.onPointerDown, (p) => {
1052
1052
  const v = p.target;
1053
1053
  v.setPointerCapture(p.pointerId), p.preventDefault(), m.thumbs.has(v) ? v.focus() : s(p);
1054
1054
  }),
1055
- onPointerMove: A(e.onPointerMove, (p) => {
1055
+ onPointerMove: D(e.onPointerMove, (p) => {
1056
1056
  p.target.hasPointerCapture(p.pointerId) && n(p);
1057
1057
  }),
1058
- onPointerUp: A(e.onPointerUp, (p) => {
1058
+ onPointerUp: D(e.onPointerUp, (p) => {
1059
1059
  const v = p.target;
1060
1060
  v.hasPointerCapture(p.pointerId) && (v.releasePointerCapture(p.pointerId), o(p));
1061
1061
  })
@@ -1139,7 +1139,7 @@ var qt = "SliderThumb", Pa = a.forwardRef(
1139
1139
  ...o,
1140
1140
  ref: m,
1141
1141
  style: b === void 0 ? { display: "none" } : e.style,
1142
- onFocus: A(e.onFocus, () => {
1142
+ onFocus: D(e.onFocus, () => {
1143
1143
  l.valueIndexToChangeRef.current = s;
1144
1144
  })
1145
1145
  }
@@ -1161,7 +1161,7 @@ var qt = "SliderThumb", Pa = a.forwardRef(
1161
1161
  Pa.displayName = qt;
1162
1162
  var Sl = "RadioBubbleInput", Ia = a.forwardRef(
1163
1163
  ({ __scopeSlider: e, value: t, ...r }, s) => {
1164
- const n = a.useRef(null), o = Q(n, s), l = Dr(t);
1164
+ const n = a.useRef(null), o = Q(n, s), l = Ar(t);
1165
1165
  return a.useEffect(() => {
1166
1166
  const i = n.current;
1167
1167
  if (!i) return;
@@ -1226,7 +1226,7 @@ function Ml(e, t) {
1226
1226
  const r = Math.pow(10, t);
1227
1227
  return Math.round(e * r) / r;
1228
1228
  }
1229
- var ka = _a, za = Ea, Aa = Ta, Da = Pa, Ba = { exports: {} };
1229
+ var ka = _a, za = Ea, Da = Ta, Aa = Pa, Ba = { exports: {} };
1230
1230
  /*!
1231
1231
  Copyright (c) 2018 Jed Watson.
1232
1232
  Licensed under the MIT License (MIT), see
@@ -1263,7 +1263,7 @@ var ka = _a, za = Ea, Aa = Ta, Da = Pa, Ba = { exports: {} };
1263
1263
  })();
1264
1264
  })(Ba);
1265
1265
  var kl = Ba.exports;
1266
- const f = /* @__PURE__ */ Do(kl), z = { asChild: { type: "boolean" } }, Z = { width: { type: "string", className: "rt-r-w", customProperties: ["--width"], responsive: !0 }, minWidth: { type: "string", className: "rt-r-min-w", customProperties: ["--min-width"], responsive: !0 }, maxWidth: { type: "string", className: "rt-r-max-w", customProperties: ["--max-width"], responsive: !0 } }, We = { height: { type: "string", className: "rt-r-h", customProperties: ["--height"], responsive: !0 }, minHeight: { type: "string", className: "rt-r-min-h", customProperties: ["--min-height"], responsive: !0 }, maxHeight: { type: "string", className: "rt-r-max-h", customProperties: ["--max-height"], responsive: !0 } }, zl = ["1", "2", "3", "4"], Oa = { ...z, align: { type: "enum", className: "rt-r-align", values: ["start", "center"], default: "center" }, size: { type: "enum", className: "rt-r-size", values: zl, default: "3", responsive: !0 }, width: Z.width, minWidth: Z.minWidth, maxWidth: { ...Z.maxWidth, default: "600px" }, ...We }, La = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], re = { color: { type: "enum", values: La, default: void 0 } }, Ge = { color: { type: "enum", values: La, default: "" } }, J = { highContrast: { type: "boolean", className: "rt-high-contrast", default: void 0 } }, Al = ["normal", "start", "end", "both"], lr = { trim: { type: "enum", className: "rt-r-lt", values: Al, responsive: !0 } }, Dl = ["left", "center", "right"], Va = { align: { type: "enum", className: "rt-r-ta", values: Dl, responsive: !0 } }, Bl = ["wrap", "nowrap", "pretty", "balance"], ze = { wrap: { type: "enum", className: "rt-r-tw", values: Bl, responsive: !0 } }, Ae = { truncate: { type: "boolean", className: "rt-truncate" } }, Ol = ["light", "regular", "medium", "bold"], $t = { weight: { type: "enum", className: "rt-r-weight", values: Ol, responsive: !0 } }, Ll = ["h1", "h2", "h3", "h4", "h5", "h6"], Vl = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Hl = { as: { type: "enum", values: Ll, default: "h1" }, ...z, size: { type: "enum", className: "rt-r-size", values: Vl, default: "6", responsive: !0 }, ...$t, ...Va, ...lr, ...Ae, ...ze, ...re, ...J }, ir = ["initial", "xs", "sm", "md", "lg", "xl"];
1266
+ const f = /* @__PURE__ */ Ao(kl), z = { asChild: { type: "boolean" } }, Z = { width: { type: "string", className: "rt-r-w", customProperties: ["--width"], responsive: !0 }, minWidth: { type: "string", className: "rt-r-min-w", customProperties: ["--min-width"], responsive: !0 }, maxWidth: { type: "string", className: "rt-r-max-w", customProperties: ["--max-width"], responsive: !0 } }, We = { height: { type: "string", className: "rt-r-h", customProperties: ["--height"], responsive: !0 }, minHeight: { type: "string", className: "rt-r-min-h", customProperties: ["--min-height"], responsive: !0 }, maxHeight: { type: "string", className: "rt-r-max-h", customProperties: ["--max-height"], responsive: !0 } }, zl = ["1", "2", "3", "4"], Oa = { ...z, align: { type: "enum", className: "rt-r-align", values: ["start", "center"], default: "center" }, size: { type: "enum", className: "rt-r-size", values: zl, default: "3", responsive: !0 }, width: Z.width, minWidth: Z.minWidth, maxWidth: { ...Z.maxWidth, default: "600px" }, ...We }, La = ["gray", "gold", "bronze", "brown", "yellow", "amber", "orange", "tomato", "red", "ruby", "crimson", "pink", "plum", "purple", "violet", "iris", "indigo", "blue", "cyan", "teal", "jade", "green", "grass", "lime", "mint", "sky"], re = { color: { type: "enum", values: La, default: void 0 } }, Ge = { color: { type: "enum", values: La, default: "" } }, J = { highContrast: { type: "boolean", className: "rt-high-contrast", default: void 0 } }, Dl = ["normal", "start", "end", "both"], lr = { trim: { type: "enum", className: "rt-r-lt", values: Dl, responsive: !0 } }, Al = ["left", "center", "right"], Va = { align: { type: "enum", className: "rt-r-ta", values: Al, responsive: !0 } }, Bl = ["wrap", "nowrap", "pretty", "balance"], ze = { wrap: { type: "enum", className: "rt-r-tw", values: Bl, responsive: !0 } }, De = { truncate: { type: "boolean", className: "rt-truncate" } }, Ol = ["light", "regular", "medium", "bold"], $t = { weight: { type: "enum", className: "rt-r-weight", values: Ol, responsive: !0 } }, Ll = ["h1", "h2", "h3", "h4", "h5", "h6"], Vl = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Hl = { as: { type: "enum", values: Ll, default: "h1" }, ...z, size: { type: "enum", className: "rt-r-size", values: Vl, default: "6", responsive: !0 }, ...$t, ...Va, ...lr, ...De, ...ze, ...re, ...J }, ir = ["initial", "xs", "sm", "md", "lg", "xl"];
1267
1267
  function Ha(e, t) {
1268
1268
  return Object.prototype.hasOwnProperty.call(e, t);
1269
1269
  }
@@ -1361,7 +1361,7 @@ const _e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3",
1361
1361
  return a.createElement(K, { "data-accent-color": l, ...i, ref: t, className: f("rt-Heading", s) }, n ? r : a.createElement(o, null, r));
1362
1362
  });
1363
1363
  cr.displayName = "Heading";
1364
- const Wl = ["span", "div", "label", "p"], Gl = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Kl = { as: { type: "enum", values: Wl, default: "span" }, ...z, size: { type: "enum", className: "rt-r-size", values: Gl, responsive: !0 }, ...$t, ...Va, ...lr, ...Ae, ...ze, ...re, ...J }, O = a.forwardRef((e, t) => {
1364
+ const Wl = ["span", "div", "label", "p"], Gl = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Kl = { as: { type: "enum", values: Wl, default: "span" }, ...z, size: { type: "enum", className: "rt-r-size", values: Gl, responsive: !0 }, ...$t, ...Va, ...lr, ...De, ...ze, ...re, ...J }, O = a.forwardRef((e, t) => {
1365
1365
  const { children: r, className: s, asChild: n, as: o = "span", color: l, ...i } = $(e, Kl, E);
1366
1366
  return a.createElement(K, { "data-accent-color": l, ...i, ref: t, className: f("rt-Text", s) }, n ? r : a.createElement(o, null, r));
1367
1367
  });
@@ -1422,12 +1422,12 @@ const Fa = a.forwardRef((e, t) => {
1422
1422
  a.useEffect(() => w(o), [o]);
1423
1423
  const [N, C] = a.useState(l);
1424
1424
  a.useEffect(() => C(l), [l]);
1425
- const [g, T] = a.useState(i);
1426
- return a.useEffect(() => T(i), [i]), a.createElement(dr, { ...u, ref: t, isRoot: !0, hasBackground: c, appearance: m, accentColor: v, grayColor: _, panelBackground: y, radius: N, scaling: g, onAppearanceChange: p, onAccentColorChange: b, onGrayColorChange: h, onPanelBackgroundChange: w, onRadiusChange: C, onScalingChange: T });
1425
+ const [g, P] = a.useState(i);
1426
+ return a.useEffect(() => P(i), [i]), a.createElement(dr, { ...u, ref: t, isRoot: !0, hasBackground: c, appearance: m, accentColor: v, grayColor: _, panelBackground: y, radius: N, scaling: g, onAppearanceChange: p, onAccentColorChange: b, onGrayColorChange: h, onPanelBackgroundChange: w, onRadiusChange: C, onScalingChange: P });
1427
1427
  });
1428
1428
  Fa.displayName = "ThemeRoot";
1429
1429
  const dr = a.forwardRef((e, t) => {
1430
- const r = a.useContext(gt), { asChild: s, isRoot: n, hasBackground: o, appearance: l = (r == null ? void 0 : r.appearance) ?? le.appearance.default, accentColor: i = (r == null ? void 0 : r.accentColor) ?? le.accentColor.default, grayColor: c = (r == null ? void 0 : r.resolvedGrayColor) ?? le.grayColor.default, panelBackground: u = (r == null ? void 0 : r.panelBackground) ?? le.panelBackground.default, radius: m = (r == null ? void 0 : r.radius) ?? le.radius.default, scaling: p = (r == null ? void 0 : r.scaling) ?? le.scaling.default, onAppearanceChange: v = Be, onAccentColorChange: b = Be, onGrayColorChange: _ = Be, onPanelBackgroundChange: h = Be, onRadiusChange: y = Be, onScalingChange: w = Be, ...N } = e, C = s ? K : "div", g = c === "auto" ? Ul(i) : c, T = e.appearance === "light" || e.appearance === "dark", ne = o === void 0 ? n || T : o;
1430
+ const r = a.useContext(gt), { asChild: s, isRoot: n, hasBackground: o, appearance: l = (r == null ? void 0 : r.appearance) ?? le.appearance.default, accentColor: i = (r == null ? void 0 : r.accentColor) ?? le.accentColor.default, grayColor: c = (r == null ? void 0 : r.resolvedGrayColor) ?? le.grayColor.default, panelBackground: u = (r == null ? void 0 : r.panelBackground) ?? le.panelBackground.default, radius: m = (r == null ? void 0 : r.radius) ?? le.radius.default, scaling: p = (r == null ? void 0 : r.scaling) ?? le.scaling.default, onAppearanceChange: v = Be, onAccentColorChange: b = Be, onGrayColorChange: _ = Be, onPanelBackgroundChange: h = Be, onRadiusChange: y = Be, onScalingChange: w = Be, ...N } = e, C = s ? K : "div", g = c === "auto" ? Ul(i) : c, P = e.appearance === "light" || e.appearance === "dark", ne = o === void 0 ? n || P : o;
1431
1431
  return a.createElement(gt.Provider, { value: a.useMemo(() => ({ appearance: l, accentColor: i, grayColor: c, resolvedGrayColor: g, panelBackground: u, radius: m, scaling: p, onAppearanceChange: v, onAccentColorChange: b, onGrayColorChange: _, onPanelBackgroundChange: h, onRadiusChange: y, onScalingChange: w }), [l, i, c, g, u, m, p, v, b, _, h, y, w]) }, a.createElement(C, { "data-is-root-theme": n ? "true" : "false", "data-accent-color": i, "data-gray-color": g, "data-has-background": ne ? "true" : "false", "data-panel-background": u, "data-radius": m, "data-scaling": p, ref: t, ...N, className: f("radix-themes", { light: l === "light", dark: l === "dark" }, N.className) }));
1432
1432
  });
1433
1433
  dr.displayName = "ThemeImpl";
@@ -1495,7 +1495,7 @@ const mr = K, si = ["div", "span"], ni = ["none", "inline", "inline-block", "blo
1495
1495
  return a.createElement(s ? mr : n, { ...o, ref: t, className: f("rt-Box", r) });
1496
1496
  });
1497
1497
  pe.displayName = "Box";
1498
- const di = ["1", "2", "3", "4"], ui = ["classic", "solid", "soft", "surface", "outline", "ghost"], xr = { ...z, size: { type: "enum", className: "rt-r-size", values: di, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: ui, default: "solid" }, ...Ge, ...J, ...me, loading: { type: "boolean", className: "rt-loading", default: !1 } }, At = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], Za = { gap: { type: "enum | string", className: "rt-r-gap", customProperties: ["--gap"], values: At, responsive: !0 }, gapX: { type: "enum | string", className: "rt-r-cg", customProperties: ["--column-gap"], values: At, responsive: !0 }, gapY: { type: "enum | string", className: "rt-r-rg", customProperties: ["--row-gap"], values: At, responsive: !0 } }, mi = ["div", "span"], pi = ["none", "inline-flex", "flex"], fi = ["row", "column", "row-reverse", "column-reverse"], hi = ["start", "center", "end", "baseline", "stretch"], gi = ["start", "center", "end", "between"], vi = ["nowrap", "wrap", "wrap-reverse"], Qa = { as: { type: "enum", values: mi, default: "div" }, ...z, display: { type: "enum", className: "rt-r-display", values: pi, responsive: !0 }, direction: { type: "enum", className: "rt-r-fd", values: fi, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: hi, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: gi, parseValue: yi, responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: vi, responsive: !0 }, ...Za };
1498
+ const di = ["1", "2", "3", "4"], ui = ["classic", "solid", "soft", "surface", "outline", "ghost"], xr = { ...z, size: { type: "enum", className: "rt-r-size", values: di, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: ui, default: "solid" }, ...Ge, ...J, ...me, loading: { type: "boolean", className: "rt-loading", default: !1 } }, Dt = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"], Za = { gap: { type: "enum | string", className: "rt-r-gap", customProperties: ["--gap"], values: Dt, responsive: !0 }, gapX: { type: "enum | string", className: "rt-r-cg", customProperties: ["--column-gap"], values: Dt, responsive: !0 }, gapY: { type: "enum | string", className: "rt-r-rg", customProperties: ["--row-gap"], values: Dt, responsive: !0 } }, mi = ["div", "span"], pi = ["none", "inline-flex", "flex"], fi = ["row", "column", "row-reverse", "column-reverse"], hi = ["start", "center", "end", "baseline", "stretch"], gi = ["start", "center", "end", "between"], vi = ["nowrap", "wrap", "wrap-reverse"], Qa = { as: { type: "enum", values: mi, default: "div" }, ...z, display: { type: "enum", className: "rt-r-display", values: pi, responsive: !0 }, direction: { type: "enum", className: "rt-r-fd", values: fi, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: hi, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: gi, parseValue: yi, responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: vi, responsive: !0 }, ...Za };
1499
1499
  function yi(e) {
1500
1500
  return e === "between" ? "space-between" : e;
1501
1501
  }
@@ -1553,11 +1553,11 @@ const xi = ["1", "2", "3", "4", "5"], Ri = ["surface", "classic", "ghost"], Ei =
1553
1553
  return a.createElement(o, { ref: t, ...n, className: f("rt-reset", "rt-BaseCard", "rt-Card", s) });
1554
1554
  });
1555
1555
  rs.displayName = "Card";
1556
- const Ti = ["div", "span"], Pi = ["none", "inline-grid", "grid"], Ii = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Mi = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], ki = ["row", "column", "dense", "row-dense", "column-dense"], zi = ["start", "center", "end", "baseline", "stretch"], Ai = ["start", "center", "end", "between"], yt = { as: { type: "enum", values: Ti, default: "div" }, ...z, display: { type: "enum", className: "rt-r-display", values: Pi, responsive: !0 }, areas: { type: "string", className: "rt-r-gta", customProperties: ["--grid-template-areas"], responsive: !0 }, columns: { type: "enum | string", className: "rt-r-gtc", customProperties: ["--grid-template-columns"], values: Ii, parseValue: Er, responsive: !0 }, rows: { type: "enum | string", className: "rt-r-gtr", customProperties: ["--grid-template-rows"], values: Mi, parseValue: Er, responsive: !0 }, flow: { type: "enum", className: "rt-r-gaf", values: ki, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: zi, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: Ai, parseValue: Di, responsive: !0 }, ...Za };
1556
+ const Ti = ["div", "span"], Pi = ["none", "inline-grid", "grid"], Ii = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], Mi = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], ki = ["row", "column", "dense", "row-dense", "column-dense"], zi = ["start", "center", "end", "baseline", "stretch"], Di = ["start", "center", "end", "between"], yt = { as: { type: "enum", values: Ti, default: "div" }, ...z, display: { type: "enum", className: "rt-r-display", values: Pi, responsive: !0 }, areas: { type: "string", className: "rt-r-gta", customProperties: ["--grid-template-areas"], responsive: !0 }, columns: { type: "enum | string", className: "rt-r-gtc", customProperties: ["--grid-template-columns"], values: Ii, parseValue: Er, responsive: !0 }, rows: { type: "enum | string", className: "rt-r-gtr", customProperties: ["--grid-template-rows"], values: Mi, parseValue: Er, responsive: !0 }, flow: { type: "enum", className: "rt-r-gaf", values: ki, responsive: !0 }, align: { type: "enum", className: "rt-r-ai", values: zi, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: Di, parseValue: Ai, responsive: !0 }, ...Za };
1557
1557
  function Er(e) {
1558
1558
  return yt.columns.values.includes(e) ? e : e != null && e.match(/^\d+$/) ? `repeat(${e}, minmax(0, 1fr))` : e;
1559
1559
  }
1560
- function Di(e) {
1560
+ function Ai(e) {
1561
1561
  return e === "between" ? "space-between" : e;
1562
1562
  }
1563
1563
  const Bi = ["1", "2", "3"], Oi = ["classic", "surface", "soft"], Li = { size: { type: "enum", className: "rt-r-size", values: Bi, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Oi, default: "surface" }, ...re, ...J }, as = a.forwardRef((e, t) => {
@@ -1578,7 +1578,7 @@ const Hi = a.forwardRef((e, t) => {
1578
1578
  return a.createElement(Pn, { "data-accent-color": s, ...i, defaultChecked: o, checked: c, onCheckedChange: u, asChild: !1, ref: t, className: f("rt-reset", "rt-BaseCheckboxRoot", "rt-CheckboxRoot", r) }, a.createElement(In, { asChild: !0, className: "rt-BaseCheckboxIndicator rt-CheckboxIndicator" }, a.createElement(c === "indeterminate" ? ss : yr, null)));
1579
1579
  });
1580
1580
  Hi.displayName = "Checkbox";
1581
- const Fi = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], ji = ["solid", "soft", "outline", "ghost"], Wi = { ...z, size: { type: "enum", className: "rt-r-size", values: Fi, responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: ji, default: "soft" }, ...$t, ...Ge, ...J, ...Ae, ...ze }, Gi = a.forwardRef((e, t) => {
1581
+ const Fi = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], ji = ["solid", "soft", "outline", "ghost"], Wi = { ...z, size: { type: "enum", className: "rt-r-size", values: Fi, responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: ji, default: "soft" }, ...$t, ...Ge, ...J, ...De, ...ze }, Gi = a.forwardRef((e, t) => {
1582
1582
  const { asChild: r, className: s, color: n, ...o } = $(e, Wi, E), l = e.variant === "ghost" ? n || void 0 : n, i = r ? K : "code";
1583
1583
  return a.createElement(i, { "data-accent-color": l, ...o, ref: t, className: f("rt-reset", "rt-Code", s) });
1584
1584
  });
@@ -1616,7 +1616,7 @@ const is = a.forwardRef(({ children: e, ...t }, r) => a.createElement(Vn, { ...t
1616
1616
  is.displayName = "Dialog.Trigger";
1617
1617
  const cs = a.forwardRef(({ align: e, ...t }, r) => {
1618
1618
  const { align: s, ...n } = Oa, { className: o } = $({ align: e }, { align: s }), { className: l, forceMount: i, container: c, ...u } = $(t, n);
1619
- return a.createElement(zn, { container: c, forceMount: i }, a.createElement(Ne, { asChild: !0 }, a.createElement(An, { className: "rt-BaseDialogOverlay rt-DialogOverlay" }, a.createElement("div", { className: "rt-BaseDialogScroll rt-DialogScroll" }, a.createElement("div", { className: `rt-BaseDialogScrollPadding rt-DialogScrollPadding ${o}` }, a.createElement(Dn, { ...u, ref: r, className: f("rt-BaseDialogContent", "rt-DialogContent", l) }))))));
1619
+ return a.createElement(zn, { container: c, forceMount: i }, a.createElement(Ne, { asChild: !0 }, a.createElement(Dn, { className: "rt-BaseDialogOverlay rt-DialogOverlay" }, a.createElement("div", { className: "rt-BaseDialogScroll rt-DialogScroll" }, a.createElement("div", { className: `rt-BaseDialogScrollPadding rt-DialogScrollPadding ${o}` }, a.createElement(An, { ...u, ref: r, className: f("rt-BaseDialogContent", "rt-DialogContent", l) }))))));
1620
1620
  });
1621
1621
  cs.displayName = "Dialog.Content";
1622
1622
  const ds = a.forwardRef((e, t) => a.createElement(Ln, { asChild: !0 }, a.createElement(cr, { size: "5", mb: "3", trim: "start", ...e, asChild: !1, ref: t })));
@@ -1633,7 +1633,7 @@ const pp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1633
1633
  Root: ls,
1634
1634
  Title: ds,
1635
1635
  Trigger: is
1636
- }, Symbol.toStringTag, { value: "Module" })), rc = { ...z, ...Ae, ...ze }, ac = a.forwardRef((e, t) => {
1636
+ }, Symbol.toStringTag, { value: "Module" })), rc = { ...z, ...De, ...ze }, ac = a.forwardRef((e, t) => {
1637
1637
  const { asChild: r, className: s, ...n } = $(e, rc), o = r ? K : "em";
1638
1638
  return a.createElement(o, { ...n, ref: t, className: f("rt-Em", s) });
1639
1639
  });
@@ -1668,7 +1668,7 @@ const dc = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], uc = { ...z, size: { t
1668
1668
  return a.createElement(o, { ...n, ref: t, className: f("rt-reset", "rt-Kbd", s) });
1669
1669
  });
1670
1670
  mc.displayName = "Kbd";
1671
- const pc = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], fc = ["auto", "always", "hover", "none"], hc = { ...z, size: { type: "enum", className: "rt-r-size", values: pc, responsive: !0 }, ...$t, ...lr, ...Ae, ...ze, underline: { type: "enum", className: "rt-underline", values: fc, default: "auto" }, ...Ge, ...J }, gc = a.forwardRef((e, t) => {
1671
+ const pc = ["1", "2", "3", "4", "5", "6", "7", "8", "9"], fc = ["auto", "always", "hover", "none"], hc = { ...z, size: { type: "enum", className: "rt-r-size", values: pc, responsive: !0 }, ...$t, ...lr, ...De, ...ze, underline: { type: "enum", className: "rt-underline", values: fc, default: "auto" }, ...Ge, ...J }, gc = a.forwardRef((e, t) => {
1672
1672
  const { children: r, className: s, color: n, asChild: o, ...l } = $(e, hc);
1673
1673
  return a.createElement(O, { ...l, "data-accent-color": n, ref: t, asChild: !0, className: f("rt-reset", "rt-Link", s) }, o ? r : a.createElement("a", null, r));
1674
1674
  });
@@ -1698,7 +1698,7 @@ const hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1698
1698
  return a.createElement(Zn, { "data-accent-color": n, "data-radius": o, ref: t, className: f("rt-ProgressRoot", r), style: ot({ "--progress-duration": "value" in i ? void 0 : l, "--progress-value": "value" in i ? i.value : void 0, "--progress-max": "max" in i ? i.max : void 0 }, s), ...i, asChild: !1 }, a.createElement(Qn, { className: "rt-ProgressIndicator" }));
1699
1699
  });
1700
1700
  bc.displayName = "Progress";
1701
- const _c = { ...z, ...Ae, ...ze }, Sc = a.forwardRef((e, t) => {
1701
+ const _c = { ...z, ...De, ...ze }, Sc = a.forwardRef((e, t) => {
1702
1702
  const { asChild: r, className: s, ...n } = $(e, _c), o = r ? K : "q";
1703
1703
  return a.createElement(o, { ...n, ref: t, className: f("rt-Quote", s) });
1704
1704
  });
@@ -1729,12 +1729,12 @@ const gp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1729
1729
  __proto__: null,
1730
1730
  Item: Rs,
1731
1731
  Root: xs
1732
- }, Symbol.toStringTag, { value: "Module" })), Mc = ["1", "2", "3"], kc = ["classic", "surface", "soft"], zc = { size: { type: "enum", className: "rt-r-size", values: Mc, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: kc, default: "surface" }, ...re, ...J }, Ac = a.forwardRef((e, t) => {
1732
+ }, Symbol.toStringTag, { value: "Module" })), Mc = ["1", "2", "3"], kc = ["classic", "surface", "soft"], zc = { size: { type: "enum", className: "rt-r-size", values: Mc, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: kc, default: "surface" }, ...re, ...J }, Dc = a.forwardRef((e, t) => {
1733
1733
  const r = a.useRef(null), { className: s, color: n, onChange: o, onValueChange: l, ...i } = $(e, zc, E);
1734
- return a.createElement("input", { type: "radio", "data-accent-color": n, ...i, onChange: A(o, (c) => l == null ? void 0 : l(c.currentTarget.value)), ref: Fr(r, t), className: f("rt-reset", "rt-BaseRadioRoot", "rt-RadioRoot", s) });
1734
+ return a.createElement("input", { type: "radio", "data-accent-color": n, ...i, onChange: D(o, (c) => l == null ? void 0 : l(c.currentTarget.value)), ref: Fr(r, t), className: f("rt-reset", "rt-BaseRadioRoot", "rt-RadioRoot", s) });
1735
1735
  });
1736
- Ac.displayName = "Radio";
1737
- const Dc = ["1", "2", "3"], Bc = ["surface", "classic"], Oc = { disabled: { type: "boolean", className: "disabled", default: !1 }, size: { type: "enum", className: "rt-r-size", values: Dc, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Bc, default: "surface" }, ...me }, Es = a.forwardRef((e, t) => {
1736
+ Dc.displayName = "Radio";
1737
+ const Ac = ["1", "2", "3"], Bc = ["surface", "classic"], Oc = { disabled: { type: "boolean", className: "disabled", default: !1 }, size: { type: "enum", className: "rt-r-size", values: Ac, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: Bc, default: "surface" }, ...me }, Es = a.forwardRef((e, t) => {
1738
1738
  const { className: r, children: s, radius: n, value: o, defaultValue: l, onValueChange: i, ...c } = $(e, Oc, E), [u, m] = st({ prop: o, onChange: i, defaultProp: l });
1739
1739
  return a.createElement(Jn, { "data-disabled": e.disabled || void 0, "data-radius": n, ref: t, className: f("rt-SegmentedControlRoot", r), onValueChange: (p) => {
1740
1740
  p && m(p);
@@ -1790,7 +1790,7 @@ const ed = parseFloat(a.version) >= 19 || "", td = { loading: { type: "boolean",
1790
1790
  return a.createElement(l, { ref: t, "aria-hidden": !0, className: f("rt-Skeleton", s), "data-inline-skeleton": a.isValidElement(r) ? void 0 : !0, tabIndex: -1, inert: ed, ...o }, r);
1791
1791
  });
1792
1792
  rd.displayName = "Skeleton";
1793
- const ad = { ...z, ...Ae, ...ze }, sd = a.forwardRef((e, t) => {
1793
+ const ad = { ...z, ...De, ...ze }, sd = a.forwardRef((e, t) => {
1794
1794
  const { asChild: r, className: s, ...n } = $(e, ad), o = r ? K : "strong";
1795
1795
  return a.createElement(o, { ...n, ref: t, className: f("rt-Strong", s) });
1796
1796
  });
@@ -1800,7 +1800,7 @@ const nd = ["1", "2", "3"], od = ["classic", "surface", "soft"], ld = { size: {
1800
1800
  return a.createElement(to, { "data-accent-color": s, "data-radius": n, ...o, asChild: !1, ref: t, className: f("rt-reset", "rt-SwitchRoot", r) }, a.createElement(ro, { className: f("rt-SwitchThumb", { "rt-high-contrast": e.highContrast }) }));
1801
1801
  });
1802
1802
  id.displayName = "Switch";
1803
- const cd = ["1", "2"], dd = ["nowrap", "wrap", "wrap-reverse"], ud = ["start", "center", "end"], md = { size: { type: "enum", className: "rt-r-size", values: cd, default: "2", responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: dd, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: ud, responsive: !0 }, ...re, ...J }, pd = ["1", "2", "3"], fd = ["surface", "ghost"], hd = ["auto", "fixed"], Dt = { size: { type: "enum", className: "rt-r-size", values: pd, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: fd, default: "ghost" }, layout: { type: "enum", className: "rt-r-tl", values: hd, responsive: !0 } }, gd = ["start", "center", "end", "baseline"], vd = { align: { type: "enum", className: "rt-r-va", values: gd, parseValue: yd, responsive: !0 } };
1803
+ const cd = ["1", "2"], dd = ["nowrap", "wrap", "wrap-reverse"], ud = ["start", "center", "end"], md = { size: { type: "enum", className: "rt-r-size", values: cd, default: "2", responsive: !0 }, wrap: { type: "enum", className: "rt-r-fw", values: dd, responsive: !0 }, justify: { type: "enum", className: "rt-r-jc", values: ud, responsive: !0 }, ...re, ...J }, pd = ["1", "2", "3"], fd = ["surface", "ghost"], hd = ["auto", "fixed"], At = { size: { type: "enum", className: "rt-r-size", values: pd, default: "2", responsive: !0 }, variant: { type: "enum", className: "rt-variant", values: fd, default: "ghost" }, layout: { type: "enum", className: "rt-r-tl", values: hd, responsive: !0 } }, gd = ["start", "center", "end", "baseline"], vd = { align: { type: "enum", className: "rt-r-va", values: gd, parseValue: yd, responsive: !0 } };
1804
1804
  function yd(e) {
1805
1805
  return { baseline: "baseline", start: "top", center: "middle", end: "bottom" }[e];
1806
1806
  }
@@ -1808,13 +1808,13 @@ const Nd = ["start", "center", "end"], br = { justify: { type: "enum", className
1808
1808
  function Cd(e) {
1809
1809
  return { start: "left", center: "center", end: "right" }[e];
1810
1810
  }
1811
- const As = a.forwardRef((e, t) => {
1812
- const { layout: r, ...s } = Dt, { className: n, children: o, layout: l, ...i } = $(e, s, E), c = nt({ value: l, className: Dt.layout.className, propValues: Dt.layout.values });
1811
+ const Ds = a.forwardRef((e, t) => {
1812
+ const { layout: r, ...s } = At, { className: n, children: o, layout: l, ...i } = $(e, s, E), c = nt({ value: l, className: At.layout.className, propValues: At.layout.values });
1813
1813
  return a.createElement("div", { ref: t, className: f("rt-TableRoot", n), ...i }, a.createElement(os, null, a.createElement("table", { className: f("rt-TableRootTable", c) }, o)));
1814
1814
  });
1815
- As.displayName = "Table.Root";
1816
- const Ds = a.forwardRef(({ className: e, ...t }, r) => a.createElement("thead", { ...t, ref: r, className: f("rt-TableHeader", e) }));
1817
- Ds.displayName = "Table.Header";
1815
+ Ds.displayName = "Table.Root";
1816
+ const As = a.forwardRef(({ className: e, ...t }, r) => a.createElement("thead", { ...t, ref: r, className: f("rt-TableHeader", e) }));
1817
+ As.displayName = "Table.Header";
1818
1818
  const Bs = a.forwardRef(({ className: e, ...t }, r) => a.createElement("tbody", { ...t, ref: r, className: f("rt-TableBody", e) }));
1819
1819
  Bs.displayName = "Table.Body";
1820
1820
  const Os = a.forwardRef((e, t) => {
@@ -1842,8 +1842,8 @@ const vp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1842
1842
  Body: Bs,
1843
1843
  Cell: Ls,
1844
1844
  ColumnHeaderCell: Vs,
1845
- Header: Ds,
1846
- Root: As,
1845
+ Header: As,
1846
+ Root: Ds,
1847
1847
  Row: Os,
1848
1848
  RowHeaderCell: Hs
1849
1849
  }, Symbol.toStringTag, { value: "Module" })), Fs = a.forwardRef((e, t) => {
@@ -1908,13 +1908,13 @@ const Pd = { content: { type: "ReactNode", required: !0 }, width: Z.width, minWi
1908
1908
  return a.createElement(tr, { ...b }, a.createElement(rr, { asChild: !0 }, r), a.createElement(lo, { container: m, forceMount: p }, a.createElement(Ne, { asChild: !0 }, a.createElement(ar, { sideOffset: 4, collisionPadding: 10, ...v, asChild: !1, ref: t, className: f("rt-TooltipContent", s) }, a.createElement(O, { as: "p", className: "rt-TooltipText", size: "1" }, u), a.createElement(sr, { className: "rt-TooltipArrow" })))));
1909
1909
  });
1910
1910
  Ke.displayName = "Tooltip";
1911
- const Id = "_iconButton_do0d3_1", Md = "_ghost_do0d3_7", kd = "_mint_do0d3_7", zd = "_highContrast_do0d3_12", Ad = "_disabled_do0d3_17", Dd = "_red_do0d3_40", Bd = "_gray_do0d3_61", Od = "_cyan_do0d3_83", Ld = "_loading_do0d3_119", Vd = "_solid_do0d3_135", Hd = "_surface_do0d3_137", Fd = "_size1_do0d3_144", jd = "_size2_do0d3_152", Wd = "_size3_do0d3_160", Gd = "_size4_do0d3_168", Kd = "_soft_do0d3_236", Ee = {
1911
+ const Id = "_iconButton_do0d3_1", Md = "_ghost_do0d3_7", kd = "_mint_do0d3_7", zd = "_highContrast_do0d3_12", Dd = "_disabled_do0d3_17", Ad = "_red_do0d3_40", Bd = "_gray_do0d3_61", Od = "_cyan_do0d3_83", Ld = "_loading_do0d3_119", Vd = "_solid_do0d3_135", Hd = "_surface_do0d3_137", Fd = "_size1_do0d3_144", jd = "_size2_do0d3_152", Wd = "_size3_do0d3_160", Gd = "_size4_do0d3_168", Kd = "_soft_do0d3_236", Ee = {
1912
1912
  iconButton: Id,
1913
1913
  ghost: Md,
1914
1914
  mint: kd,
1915
1915
  highContrast: zd,
1916
- disabled: Ad,
1917
- red: Dd,
1916
+ disabled: Dd,
1917
+ red: Ad,
1918
1918
  gray: Bd,
1919
1919
  cyan: Od,
1920
1920
  loading: Ld,
@@ -1985,8 +1985,8 @@ const Np = ({ children: e, ...t }) => /* @__PURE__ */ d(
1985
1985
  }, Cp = ({ onChangeValue: e, volume: t, disabled: r }) => {
1986
1986
  const [s, n] = tt(!1), o = Ve(), l = Ve(0), i = W((g) => {
1987
1987
  if (g < 1e-3) return -1 / 0;
1988
- const T = 20 * Math.log10(g);
1989
- return T < -60 ? -60 : T;
1988
+ const P = 20 * Math.log10(g);
1989
+ return P < -60 ? -60 : P;
1990
1990
  }, []), c = W((g) => g === -1 / 0 || g <= -60 ? 0 : Math.pow(10, g / 20), []), u = He(() => {
1991
1991
  const g = i(t);
1992
1992
  return g === -1 / 0 ? -60 : Math.max(-60, Math.min(6, g));
@@ -2035,10 +2035,10 @@ const Np = ({ children: e, ...t }) => /* @__PURE__ */ d(
2035
2035
  onPointerUp: y,
2036
2036
  disabled: r,
2037
2037
  children: /* @__PURE__ */ S("div", { className: Te.sliderContainer, children: [
2038
- /* @__PURE__ */ d(za, { className: Te.sliderTrack, children: /* @__PURE__ */ d(Aa, { className: Te.sliderRange }) }),
2038
+ /* @__PURE__ */ d(za, { className: Te.sliderTrack, children: /* @__PURE__ */ d(Da, { className: Te.sliderRange }) }),
2039
2039
  /* @__PURE__ */ d(er, { delayDuration: 200, children: /* @__PURE__ */ S(tr, { open: s, children: [
2040
2040
  /* @__PURE__ */ d(rr, { asChild: !0, children: /* @__PURE__ */ d(
2041
- Da,
2041
+ Aa,
2042
2042
  {
2043
2043
  className: Te.sliderThumb,
2044
2044
  onPointerDown: h,
@@ -2359,7 +2359,7 @@ const bp = xt, mu = "_listCardsItem_g7rdv_1", pu = "_listCardsAvatar_g7rdv_27",
2359
2359
  seeDetailsText: p = "Details",
2360
2360
  ...v
2361
2361
  }) => {
2362
- const b = (o == null ? void 0 : o.id) || n, _ = (o == null ? void 0 : o.name) || r, h = (o == null ? void 0 : o.description) || s, y = (o == null ? void 0 : o.image) || t, w = y && (y != null && y.startsWith("url(")) ? y == null ? void 0 : y.substring(4, (y == null ? void 0 : y.length) - 1).replace(/"/g, "") : y, C = h.split(" | ").map((g, T) => T === 0 ? /* @__PURE__ */ d(
2362
+ const b = (o == null ? void 0 : o.id) || n, _ = (o == null ? void 0 : o.name) || r, h = (o == null ? void 0 : o.description) || s, y = (o == null ? void 0 : o.image) || t, w = y && (y != null && y.startsWith("url(")) ? y == null ? void 0 : y.substring(4, (y == null ? void 0 : y.length) - 1).replace(/"/g, "") : y, C = h.split(" | ").map((g, P) => P === 0 ? /* @__PURE__ */ d(
2363
2363
  O,
2364
2364
  {
2365
2365
  className: H.listCardsItemDescription,
@@ -2371,7 +2371,7 @@ const bp = xt, mu = "_listCardsItem_g7rdv_1", pu = "_listCardsAvatar_g7rdv_27",
2371
2371
  },
2372
2372
  children: g
2373
2373
  },
2374
- T
2374
+ P
2375
2375
  ) : /* @__PURE__ */ S(
2376
2376
  x,
2377
2377
  {
@@ -2401,11 +2401,11 @@ const bp = xt, mu = "_listCardsItem_g7rdv_1", pu = "_listCardsAvatar_g7rdv_27",
2401
2401
  },
2402
2402
  children: g
2403
2403
  },
2404
- T
2404
+ P
2405
2405
  )
2406
2406
  ]
2407
2407
  },
2408
- T + "flex" + g
2408
+ P + "flex" + g
2409
2409
  ));
2410
2410
  return /* @__PURE__ */ S("div", { className: H.cardWrapper, children: [
2411
2411
  /* @__PURE__ */ d(
@@ -2585,7 +2585,7 @@ const Tu = "_customCard_1dlrp_2", Pu = "_selected_1dlrp_17", Iu = "_disabled_1dl
2585
2585
  l.value
2586
2586
  )) }) });
2587
2587
  zu.displayName = "MultiSelectCards";
2588
- const Au = ({
2588
+ const Du = ({
2589
2589
  className: e,
2590
2590
  selectedType: t,
2591
2591
  size: r = "2",
@@ -2605,9 +2605,9 @@ const Au = ({
2605
2605
  children: n.map((l) => /* @__PURE__ */ d(Ts, { value: l.value, children: l.label }, l.value))
2606
2606
  }
2607
2607
  ) });
2608
- Au.displayName = "SegmentedControl";
2609
- const Du = "_button_1g5n1_1", Bu = "_size2_1g5n1_5", Ou = "_size3_1g5n1_9", Lu = "_solid_1g5n1_13", Vu = "_disabled_1g5n1_13", Hu = "_loading_1g5n1_14", Fu = "_soft_1g5n1_15", ju = "_surface_1g5n1_22", Wu = "_ghost_1g5n1_29", Gu = "_cyan_1g5n1_67", Ku = "_highContrast_1g5n1_76", Uu = "_gray_1g5n1_89", Yu = "_red_1g5n1_100", qu = "_size1_1g5n1_277", fe = {
2610
- button: Du,
2608
+ Du.displayName = "SegmentedControl";
2609
+ const Au = "_button_1g5n1_1", Bu = "_size2_1g5n1_5", Ou = "_size3_1g5n1_9", Lu = "_solid_1g5n1_13", Vu = "_disabled_1g5n1_13", Hu = "_loading_1g5n1_14", Fu = "_soft_1g5n1_15", ju = "_surface_1g5n1_22", Wu = "_ghost_1g5n1_29", Gu = "_cyan_1g5n1_67", Ku = "_highContrast_1g5n1_76", Uu = "_gray_1g5n1_89", Yu = "_red_1g5n1_100", qu = "_size1_1g5n1_277", fe = {
2610
+ button: Au,
2611
2611
  size2: Bu,
2612
2612
  size3: Ou,
2613
2613
  solid: Lu,
@@ -2777,8 +2777,8 @@ const Ze = 10, Qe = 10, Pe = 9.5, Bt = -Math.PI / 2, Ot = 0.01, Tr = -1, Pr = 1,
2777
2777
  }, [c]);
2778
2778
  Zt(() => {
2779
2779
  if (c) {
2780
- const P = document.createElement("style");
2781
- P.textContent = "* { cursor: ns-resize !important; }", document.head.appendChild(P), v.current = P, b();
2780
+ const T = document.createElement("style");
2781
+ T.textContent = "* { cursor: ns-resize !important; }", document.head.appendChild(T), v.current = T, b();
2782
2782
  } else
2783
2783
  v.current && (document.head.removeChild(v.current), v.current = null), _();
2784
2784
  return () => {
@@ -2786,47 +2786,47 @@ const Ze = 10, Qe = 10, Pe = 9.5, Bt = -Math.PI / 2, Ot = 0.01, Tr = -1, Pr = 1,
2786
2786
  };
2787
2787
  }, [c, b, _]);
2788
2788
  const h = W(
2789
- (P) => {
2790
- P.preventDefault(), P.stopPropagation();
2791
- const I = P.wheelDelta ?? -P.deltaY * 25;
2789
+ (T) => {
2790
+ T.preventDefault(), T.stopPropagation();
2791
+ const I = T.wheelDelta ?? -T.deltaY * 25;
2792
2792
  if (!I) return;
2793
- const D = Math.max(
2793
+ const A = Math.max(
2794
2794
  Tr,
2795
2795
  Math.min(Pr, t + (I > 0 ? Ot : -Ot))
2796
2796
  );
2797
- r(D);
2797
+ r(A);
2798
2798
  },
2799
2799
  [r, t]
2800
2800
  );
2801
2801
  Xe("wheel", h, n);
2802
2802
  const y = W(
2803
- (P) => {
2804
- s || (u(!0), p(P.clientY));
2803
+ (T) => {
2804
+ T.preventDefault(), !s && (u(!0), p(T.clientY));
2805
2805
  },
2806
2806
  [s]
2807
2807
  ), w = W(
2808
- (P) => {
2808
+ (T) => {
2809
2809
  if (!c) return;
2810
- const I = m - P.clientY, D = Math.max(
2810
+ const I = m - T.clientY, A = Math.max(
2811
2811
  Tr,
2812
2812
  Math.min(Pr, t + I * Ot)
2813
2813
  );
2814
- r(D), p(P.clientY);
2814
+ r(A), p(T.clientY);
2815
2815
  },
2816
2816
  [c, m, t, r]
2817
2817
  ), N = W(() => {
2818
2818
  u(!1);
2819
2819
  }, []), C = W(
2820
- (P) => {
2821
- P.detail === 2 && r(0);
2820
+ (T) => {
2821
+ T.detail === 2 && r(0);
2822
2822
  },
2823
2823
  [r]
2824
2824
  );
2825
2825
  Xe("mousedown", y, n), Xe("mousemove", w), Xe("mouseup", N), Xe("mouseleave", N);
2826
- const { arcPath: g, pointerRotation: T, arcColor: ne, pointerColor: F } = He(() => {
2827
- const P = Bt + t * Math.PI, I = Ze + Pe * Math.cos(Bt), D = Qe + Pe * Math.sin(Bt), U = Ze + Pe * Math.cos(P), ae = Qe + Pe * Math.sin(P), te = 0, L = t > 0 ? 1 : 0;
2826
+ const { arcPath: g, pointerRotation: P, arcColor: ne, pointerColor: F } = He(() => {
2827
+ const T = Bt + t * Math.PI, I = Ze + Pe * Math.cos(Bt), A = Qe + Pe * Math.sin(Bt), U = Ze + Pe * Math.cos(T), ae = Qe + Pe * Math.sin(T), te = 0, L = t > 0 ? 1 : 0;
2828
2828
  return {
2829
- arcPath: `M ${I.toFixed(3)} ${D.toFixed(3)}
2829
+ arcPath: `M ${I.toFixed(3)} ${A.toFixed(3)}
2830
2830
  A ${Pe} ${Pe} 0 ${te} ${L}
2831
2831
  ${U.toFixed(3)} ${ae.toFixed(3)}`,
2832
2832
  pointerRotation: t * 180,
@@ -2882,7 +2882,7 @@ const Ze = 10, Qe = 10, Pe = 9.5, Bt = -Math.PI / 2, Ot = 0.01, Tr = -1, Pr = 1,
2882
2882
  /* @__PURE__ */ d(
2883
2883
  "g",
2884
2884
  {
2885
- transform: `rotate(${T} ${Ze} ${Qe})`,
2885
+ transform: `rotate(${P} ${Ze} ${Qe})`,
2886
2886
  children: /* @__PURE__ */ d(
2887
2887
  "path",
2888
2888
  {
@@ -3025,7 +3025,7 @@ const um = "_sliderTrack_rsa1p_29", mm = "_sliderTrackSize1_rsa1p_39", pm = "_sl
3025
3025
  }),
3026
3026
  children: [
3027
3027
  /* @__PURE__ */ d(
3028
- Aa,
3028
+ Da,
3029
3029
  {
3030
3030
  className: f(se.sliderRange, {
3031
3031
  [se.sliderRangeAccent]: s === "accent",
@@ -3036,7 +3036,7 @@ const um = "_sliderTrack_rsa1p_29", mm = "_sliderTrackSize1_rsa1p_39", pm = "_sl
3036
3036
  }
3037
3037
  ),
3038
3038
  /* @__PURE__ */ d(
3039
- Da,
3039
+ Aa,
3040
3040
  {
3041
3041
  className: f(se.sliderThumb, {
3042
3042
  [se.sliderThumbSize1]: m === "1",
@@ -3118,7 +3118,7 @@ const Em = "_sectionExpander_t40ea_1", Tm = "_sectionExpanderHeader_t40ea_6", Pm
3118
3118
  }
3119
3119
  ),
3120
3120
  /* @__PURE__ */ d(
3121
- Ao,
3121
+ Do,
3122
3122
  {
3123
3123
  className: f(Le.sectionExpanderIcon, {
3124
3124
  [Le.expanded]: n
@@ -3138,9 +3138,9 @@ const Em = "_sectionExpander_t40ea_1", Tm = "_sectionExpanderHeader_t40ea_6", Pm
3138
3138
  );
3139
3139
  };
3140
3140
  zm.displayName = "SectionExpander";
3141
- const Am = "_contextMenuContent_1schf_5", Dm = "_contextMenuSubContent_1schf_5", Bm = "_contextMenuItem_1schf_19", Om = "_contextMenuSeparator_1schf_37", Lm = "_rightSlot_1schf_43", Vm = "_contextMenuSub_1schf_5", Hm = "_contextMenuSubTrigger_1schf_60", Fm = "_contextMenuTrigger_1schf_75", jm = "_contextMenuLabel_1schf_94", ue = {
3142
- contextMenuContent: Am,
3143
- contextMenuSubContent: Dm,
3141
+ const Dm = "_contextMenuContent_1schf_5", Am = "_contextMenuSubContent_1schf_5", Bm = "_contextMenuItem_1schf_19", Om = "_contextMenuSeparator_1schf_37", Lm = "_rightSlot_1schf_43", Vm = "_contextMenuSub_1schf_5", Hm = "_contextMenuSubTrigger_1schf_60", Fm = "_contextMenuTrigger_1schf_75", jm = "_contextMenuLabel_1schf_94", ue = {
3142
+ contextMenuContent: Dm,
3143
+ contextMenuSubContent: Am,
3144
3144
  contextMenuItem: Bm,
3145
3145
  contextMenuSeparator: Om,
3146
3146
  rightSlot: Lm,
@@ -3410,12 +3410,12 @@ export {
3410
3410
  hp as Popover,
3411
3411
  bc as Progress,
3412
3412
  Sc as Quote,
3413
- Ac as Radio,
3413
+ Dc as Radio,
3414
3414
  gp as RadioGroup,
3415
3415
  os as ScrollArea,
3416
3416
  jc as Section,
3417
3417
  zm as SectionExpander,
3418
- Au as SegmentedControl,
3418
+ Du as SegmentedControl,
3419
3419
  tm as Select,
3420
3420
  Nt as Separator,
3421
3421
  rd as Skeleton,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moises.ai/design-system",
3
- "version": "2.0.57",
3
+ "version": "2.0.58",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",