@moises.ai/design-system 4.15.1 → 4.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  import * as a from "react";
2
2
  import j from "react";
3
- import { R as Vo, u as Te, C as _r, P as F, a as te, b as wr, T as Ir, c as se, d as Go, e as Pe, f as ne, g as B, h as Ee, i as N, A as Tr, j as Ar, k as Sr, G as xr, I as Nr, l as Pr, L as Fr, m as Or, n as ct, o as Dr, p as kr, q as Lr, S as Vr, r as Gr, s as Kr, t as $r, v as Fe, w as Br, x as pe, y as zr, z as Oe, B as Ao, D as jr, E as ie, F as Hr, H as Ur, J as Wr, K as Ko, M as $o, N as qr, O as Yr, Q as Zr, U as Bo } from "./index-Dwaw5zqT.js";
4
- import { V as Ni, W as Pi, X as Fi, Y as Oi, Z as Di, _ as ki, $ as Li, a0 as Vi, a1 as Gi, a2 as Ki, a3 as $i, a4 as Bi, a5 as zi, a6 as ji, a7 as Hi, a8 as Ui, a9 as Wi, aa as qi, ab as Yi, ac as Zi, ad as Xi, ae as Ji, af as Qi } from "./index-Dwaw5zqT.js";
3
+ import { a7 as Vo, bu as Te, l as wr, a0 as F, bs as te, a8 as _r, aD as Ir, aV as se, aS as Go, aT as Pe, bp as ne, bo as B, bq as Ee, aQ as N, e as Tr, i as Ar, p as Sr, H as xr, L as Nr, O as Pr, P as Fr, ar as Or, a9 as ct, T as Dr, a4 as kr, a5 as Lr, au as Vr, aw as Gr, ax as Kr, ay as $r, K as Fe, b as Br, aZ as pe, aW as zr, $ as Oe, b0 as Ao, B as jr, bn as ie, bv as Hr, aR as Ur, aP as Wr, aa as Ko, bt as $o, aU as qr, ah as Yr, M as Zr, a$ as Bo } from "./index-f-eJMg6F.js";
4
+ import { b2 as Ni, b3 as Pi, b4 as Fi, b5 as Oi, b6 as Di, w as ki, b7 as Li, bm as Vi, E as Gi, b8 as Ki, b9 as $i, ba as Bi, bb as zi, bc as ji, bd as Hi, be as Ui, bf as Wi, bg as qi, bh as Yi, bi as Zi, bj as Xi, bk as Qi, bl as Ji } from "./index-f-eJMg6F.js";
5
5
  import { jsxs as je, Fragment as Ae, jsx as s } from "react/jsx-runtime";
6
6
  import Xr, { flushSync as de } from "react-dom";
7
- var Jr = "AccessibleIcon", lt = ({ children: e, label: t }) => {
7
+ var Qr = "AccessibleIcon", lt = ({ children: e, label: t }) => {
8
8
  const o = a.Children.only(e);
9
9
  return /* @__PURE__ */ je(Ae, { children: [
10
10
  a.cloneElement(o, {
@@ -16,12 +16,12 @@ var Jr = "AccessibleIcon", lt = ({ children: e, label: t }) => {
16
16
  /* @__PURE__ */ s(Vo, { children: t })
17
17
  ] });
18
18
  };
19
- lt.displayName = Jr;
20
- var Qr = lt;
19
+ lt.displayName = Qr;
20
+ var Jr = lt;
21
21
  const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22
22
  __proto__: null,
23
23
  AccessibleIcon: lt,
24
- Root: Qr
24
+ Root: Jr
25
25
  }, Symbol.toStringTag, { value: "Module" }));
26
26
  var So = a[" useEffectEvent ".trim().toString()], xo = a[" useInsertionEffect ".trim().toString()];
27
27
  function zo(e) {
@@ -112,17 +112,17 @@ var [jo, nn] = De(Z), [Ho, an] = De(
112
112
  const { __scopeAccordion: o, disabled: r, dir: n, orientation: i = "vertical", ...c } = e, u = j.useRef(null), l = B(u, t), p = tn(o), h = Ee(n) === "ltr", C = N(e.onKeyDown, (y) => {
113
113
  var P;
114
114
  if (!en.includes(y.key)) return;
115
- const g = y.target, b = p().filter((w) => {
115
+ const g = y.target, b = p().filter((_) => {
116
116
  var m;
117
- return !((m = w.ref.current) != null && m.disabled);
118
- }), _ = b.findIndex((w) => w.ref.current === g), R = b.length;
119
- if (_ === -1) return;
117
+ return !((m = _.ref.current) != null && m.disabled);
118
+ }), w = b.findIndex((_) => _.ref.current === g), R = b.length;
119
+ if (w === -1) return;
120
120
  y.preventDefault();
121
- let f = _;
121
+ let f = w;
122
122
  const v = 0, M = R - 1, I = () => {
123
- f = _ + 1, f > M && (f = v);
123
+ f = w + 1, f > M && (f = v);
124
124
  }, x = () => {
125
- f = _ - 1, f < v && (f = M);
125
+ f = w - 1, f < v && (f = M);
126
126
  };
127
127
  switch (y.key) {
128
128
  case "Home":
@@ -177,7 +177,7 @@ var [jo, nn] = De(Z), [Ho, an] = De(
177
177
  disabled: d,
178
178
  triggerId: l,
179
179
  children: /* @__PURE__ */ s(
180
- wr,
180
+ _r,
181
181
  {
182
182
  "data-orientation": i.orientation,
183
183
  "data-state": Yo(p),
@@ -233,7 +233,7 @@ var qo = "AccordionContent", bt = j.forwardRef(
233
233
  (e, t) => {
234
234
  const { __scopeAccordion: o, ...r } = e, n = ke(Z, o), i = pt(qo, o), c = dt(o);
235
235
  return /* @__PURE__ */ s(
236
- _r,
236
+ wr,
237
237
  {
238
238
  role: "region",
239
239
  "aria-labelledby": i.triggerId,
@@ -309,7 +309,7 @@ var [ht, hn] = se("Form"), Ct = "Form", [Cn, ve] = ht(Ct), [yn, Zo] = ht(Ct), yt
309
309
  ...A,
310
310
  [m]: [...A[m] ?? [], E]
311
311
  }));
312
- }, []), _ = a.useCallback((m, E) => {
312
+ }, []), w = a.useCallback((m, E) => {
313
313
  y((A) => ({
314
314
  ...A,
315
315
  [m]: (A[m] ?? []).filter(
@@ -334,7 +334,7 @@ var [ht, hn] = se("Form"), Ct = "Form", [Cn, ve] = ht(Ct), [yn, Zo] = ht(Ct), yt
334
334
  const D = new Set(A[m]);
335
335
  return D.delete(E), { ...A, [m]: D };
336
336
  });
337
- }, []), w = a.useCallback(
337
+ }, []), _ = a.useCallback(
338
338
  (m) => Array.from(I[m] ?? []).join(" ") || void 0,
339
339
  [I]
340
340
  );
@@ -346,7 +346,7 @@ var [ht, hn] = se("Form"), Ct = "Form", [Cn, ve] = ht(Ct), [yn, Zo] = ht(Ct), yt
346
346
  onFieldValidityChange: d,
347
347
  getFieldCustomMatcherEntries: g,
348
348
  onFieldCustomMatcherEntryAdd: b,
349
- onFieldCustomMatcherEntryRemove: _,
349
+ onFieldCustomMatcherEntryRemove: w,
350
350
  getFieldCustomErrors: v,
351
351
  onFieldCustomErrorsChange: M,
352
352
  onFieldValiditionClear: h,
@@ -356,7 +356,7 @@ var [ht, hn] = se("Form"), Ct = "Form", [Cn, ve] = ht(Ct), [yn, Zo] = ht(Ct), yt
356
356
  scope: o,
357
357
  onFieldMessageIdAdd: O,
358
358
  onFieldMessageIdRemove: P,
359
- getFieldDescription: w,
359
+ getFieldDescription: _,
360
360
  children: /* @__PURE__ */ s(
361
361
  F.form,
362
362
  {
@@ -410,11 +410,11 @@ var Ue = "FormLabel", Mt = a.forwardRef(
410
410
  }
411
411
  );
412
412
  Mt.displayName = Ue;
413
- var we = "FormControl", _t = a.forwardRef(
413
+ var _e = "FormControl", wt = a.forwardRef(
414
414
  (e, t) => {
415
- const { __scopeForm: o, ...r } = e, n = ve(we, o), i = Ve(we, o), c = Zo(we, o), u = a.useRef(null), l = B(t, u), p = r.name || i.name, d = r.id || i.id, h = n.getFieldCustomMatcherEntries(p), { onFieldValidityChange: C, onFieldCustomErrorsChange: y, onFieldValiditionClear: g } = n, b = a.useCallback(
415
+ const { __scopeForm: o, ...r } = e, n = ve(_e, o), i = Ve(_e, o), c = Zo(_e, o), u = a.useRef(null), l = B(t, u), p = r.name || i.name, d = r.id || i.id, h = n.getFieldCustomMatcherEntries(p), { onFieldValidityChange: C, onFieldCustomErrorsChange: y, onFieldValiditionClear: g } = n, b = a.useCallback(
416
416
  async (f) => {
417
- if (Jo(f.validity)) {
417
+ if (Qo(f.validity)) {
418
418
  const A = ze(f.validity);
419
419
  C(p, A);
420
420
  return;
@@ -423,10 +423,10 @@ var we = "FormControl", _t = a.forwardRef(
423
423
  h.forEach((A) => {
424
424
  Sn(A, M) ? x.push(A) : xn(A) && I.push(A);
425
425
  });
426
- const O = I.map(({ id: A, match: D }) => [A, D(...M)]), P = Object.fromEntries(O), w = Object.values(P).some(Boolean), m = w;
426
+ const O = I.map(({ id: A, match: D }) => [A, D(...M)]), P = Object.fromEntries(O), _ = Object.values(P).some(Boolean), m = _;
427
427
  f.setCustomValidity(m ? ye : "");
428
428
  const E = ze(f.validity);
429
- if (C(p, E), y(p, P), !w && x.length > 0) {
429
+ if (C(p, E), y(p, P), !_ && x.length > 0) {
430
430
  const A = x.map(
431
431
  ({ id: oe, match: me }) => me(...M).then((Y) => [oe, Y])
432
432
  ), D = await Promise.all(A), k = Object.fromEntries(D), q = Object.values(k).some(Boolean);
@@ -444,7 +444,7 @@ var we = "FormControl", _t = a.forwardRef(
444
444
  return f.addEventListener("change", v), () => f.removeEventListener("change", v);
445
445
  }
446
446
  }, [b]);
447
- const _ = a.useCallback(() => {
447
+ const w = a.useCallback(() => {
448
448
  const f = u.current;
449
449
  f && (f.setCustomValidity(""), g(p));
450
450
  }, [p, g]);
@@ -452,8 +452,8 @@ var we = "FormControl", _t = a.forwardRef(
452
452
  var v;
453
453
  const f = (v = u.current) == null ? void 0 : v.form;
454
454
  if (f)
455
- return f.addEventListener("reset", _), () => f.removeEventListener("reset", _);
456
- }, [_]), a.useEffect(() => {
455
+ return f.addEventListener("reset", w), () => f.removeEventListener("reset", w);
456
+ }, [w]), a.useEffect(() => {
457
457
  const f = u.current, v = f == null ? void 0 : f.closest("form");
458
458
  if (v && i.serverInvalid) {
459
459
  const M = Xo(v);
@@ -478,13 +478,13 @@ var we = "FormControl", _t = a.forwardRef(
478
478
  b(v);
479
479
  }),
480
480
  onChange: N(e.onChange, (f) => {
481
- _();
481
+ w();
482
482
  })
483
483
  }
484
484
  );
485
485
  }
486
486
  );
487
- _t.displayName = we;
487
+ wt.displayName = _e;
488
488
  var ye = "This value is not valid", Rn = {
489
489
  badInput: ye,
490
490
  patternMismatch: "This value does not match the required pattern",
@@ -496,24 +496,24 @@ var ye = "This value is not valid", Rn = {
496
496
  typeMismatch: "This value does not match the required type",
497
497
  valid: void 0,
498
498
  valueMissing: "This value is missing"
499
- }, Re = "FormMessage", wt = a.forwardRef(
499
+ }, Re = "FormMessage", _t = a.forwardRef(
500
500
  (e, t) => {
501
501
  const { match: o, name: r, ...n } = e, i = Ve(Re, e.__scopeForm), c = r ?? i.name;
502
- return o === void 0 ? /* @__PURE__ */ s(It, { ...n, ref: t, name: c, children: e.children || ye }) : typeof o == "function" ? /* @__PURE__ */ s(_n, { match: o, ...n, ref: t, name: c }) : /* @__PURE__ */ s(Mn, { match: o, ...n, ref: t, name: c });
502
+ return o === void 0 ? /* @__PURE__ */ s(It, { ...n, ref: t, name: c, children: e.children || ye }) : typeof o == "function" ? /* @__PURE__ */ s(wn, { match: o, ...n, ref: t, name: c }) : /* @__PURE__ */ s(Mn, { match: o, ...n, ref: t, name: c });
503
503
  }
504
504
  );
505
- wt.displayName = Re;
505
+ _t.displayName = Re;
506
506
  var Mn = a.forwardRef(
507
507
  (e, t) => {
508
508
  const { match: o, forceMatch: r = !1, name: n, children: i, ...c } = e, l = ve(Re, c.__scopeForm).getFieldValidity(n);
509
509
  return r || (l == null ? void 0 : l[o]) ? /* @__PURE__ */ s(It, { ref: t, ...c, name: n, children: i ?? Rn[o] }) : null;
510
510
  }
511
- ), _n = a.forwardRef(
511
+ ), wn = a.forwardRef(
512
512
  (e, t) => {
513
513
  const { match: o, forceMatch: r = !1, name: n, id: i, children: c, ...u } = e, l = ve(Re, u.__scopeForm), p = a.useRef(null), d = B(t, p), h = te(), C = i ?? h, y = a.useMemo(() => ({ id: C, match: o }), [C, o]), { onFieldCustomMatcherEntryAdd: g, onFieldCustomMatcherEntryRemove: b } = l;
514
514
  a.useEffect(() => (g(n, y), () => b(n, y.id)), [y, n, g, b]);
515
- const _ = l.getFieldValidity(n), f = l.getFieldCustomErrors(n)[C];
516
- return r || _ && !Jo(_) && f ? /* @__PURE__ */ s(It, { id: C, ref: d, ...u, name: n, children: c ?? ye }) : null;
515
+ const w = l.getFieldValidity(n), f = l.getFieldCustomErrors(n)[C];
516
+ return r || w && !Qo(w) && f ? /* @__PURE__ */ s(It, { id: C, ref: d, ...u, name: n, children: c ?? ye }) : null;
517
517
  }
518
518
  ), It = a.forwardRef(
519
519
  (e, t) => {
@@ -525,13 +525,13 @@ var Mn = a.forwardRef(
525
525
  return /* @__PURE__ */ s(Ae, { children: r(u) });
526
526
  };
527
527
  Tt.displayName = We;
528
- var wn = "FormSubmit", At = a.forwardRef(
528
+ var _n = "FormSubmit", At = a.forwardRef(
529
529
  (e, t) => {
530
530
  const { __scopeForm: o, ...r } = e;
531
531
  return /* @__PURE__ */ s(F.button, { type: "submit", ...r, ref: t });
532
532
  }
533
533
  );
534
- At.displayName = wn;
534
+ At.displayName = _n;
535
535
  function ze(e) {
536
536
  const t = {};
537
537
  for (const o in e)
@@ -560,7 +560,7 @@ function xn(e) {
560
560
  function Nn(e, t) {
561
561
  return e(...t) instanceof Promise;
562
562
  }
563
- function Jo(e) {
563
+ function Qo(e) {
564
564
  let t = !1;
565
565
  for (const o in e) {
566
566
  const r = o;
@@ -577,16 +577,16 @@ function St(e, t) {
577
577
  function xt(e, t) {
578
578
  if ((e == null ? void 0 : e.valid) === !1 || t) return !0;
579
579
  }
580
- var Pn = yt, Fn = Rt, On = Mt, Dn = _t, kn = wt, Ln = Tt, Vn = At;
580
+ var Pn = yt, Fn = Rt, On = Mt, Dn = wt, kn = _t, Ln = Tt, Vn = At;
581
581
  const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
582
582
  __proto__: null,
583
583
  Control: Dn,
584
584
  Field: Fn,
585
585
  Form: yt,
586
- FormControl: _t,
586
+ FormControl: wt,
587
587
  FormField: Rt,
588
588
  FormLabel: Mt,
589
- FormMessage: wt,
589
+ FormMessage: _t,
590
590
  FormSubmit: At,
591
591
  FormValidityState: Tt,
592
592
  Label: On,
@@ -596,10 +596,10 @@ const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
596
596
  ValidityState: Ln,
597
597
  createFormScope: hn
598
598
  }, Symbol.toStringTag, { value: "Module" }));
599
- var Me = "Menubar", [qe, Gn, Kn] = Pe(Me), [Qo, $n] = se(Me, [
599
+ var Me = "Menubar", [qe, Gn, Kn] = Pe(Me), [Jo, $n] = se(Me, [
600
600
  Kn,
601
601
  pe
602
- ]), $ = zr(), er = pe(), [Bn, Nt] = Qo(Me), Pt = a.forwardRef(
602
+ ]), $ = zr(), er = pe(), [Bn, Nt] = Jo(Me), Pt = a.forwardRef(
603
603
  (e, t) => {
604
604
  const {
605
605
  __scopeMenubar: o,
@@ -629,7 +629,7 @@ var Me = "Menubar", [qe, Gn, Kn] = Pe(Me), [Qo, $n] = se(Me, [
629
629
  onMenuClose: a.useCallback(() => C(""), [C]),
630
630
  onMenuToggle: a.useCallback(
631
631
  (b) => {
632
- C((_) => _ ? "" : b), g(b);
632
+ C((w) => w ? "" : b), g(b);
633
633
  },
634
634
  [C]
635
635
  ),
@@ -653,7 +653,7 @@ var Me = "Menubar", [qe, Gn, Kn] = Pe(Me), [Qo, $n] = se(Me, [
653
653
  }
654
654
  );
655
655
  Pt.displayName = Me;
656
- var Ft = "MenubarMenu", [zn, tr] = Qo(Ft), Ot = (e) => {
656
+ var Ft = "MenubarMenu", [zn, tr] = Jo(Ft), Ot = (e) => {
657
657
  const { __scopeMenubar: t, value: o, ...r } = e, n = te(), i = o || n || "LEGACY_REACT_AUTO_VALUE", c = Nt(Ft, t), u = $(t), l = a.useRef(null), p = a.useRef(!1), d = c.value === i;
658
658
  return a.useEffect(() => {
659
659
  d || (p.current = !1);
@@ -838,20 +838,20 @@ var Xn = "MenubarItemIndicator", jt = a.forwardRef((e, t) => {
838
838
  return /* @__PURE__ */ s(Pr, { ...n, ...r, ref: t });
839
839
  });
840
840
  jt.displayName = Xn;
841
- var Jn = "MenubarSeparator", Ht = a.forwardRef(
841
+ var Qn = "MenubarSeparator", Ht = a.forwardRef(
842
842
  (e, t) => {
843
843
  const { __scopeMenubar: o, ...r } = e, n = $(o);
844
844
  return /* @__PURE__ */ s(Vr, { ...n, ...r, ref: t });
845
845
  }
846
846
  );
847
- Ht.displayName = Jn;
848
- var Qn = "MenubarArrow", Ut = a.forwardRef(
847
+ Ht.displayName = Qn;
848
+ var Jn = "MenubarArrow", Ut = a.forwardRef(
849
849
  (e, t) => {
850
850
  const { __scopeMenubar: o, ...r } = e, n = $(o);
851
851
  return /* @__PURE__ */ s(Tr, { ...n, ...r, ref: t });
852
852
  }
853
853
  );
854
- Ut.displayName = Qn;
854
+ Ut.displayName = Jn;
855
855
  var or = "MenubarSub", Wt = (e) => {
856
856
  const { __scopeMenubar: t, children: o, open: r, onOpenChange: n, defaultOpen: i } = e, c = $(t), [u, l] = ne({
857
857
  prop: r,
@@ -945,7 +945,7 @@ const Mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
945
945
  var ce = "NavigationMenu", [Zt, rr, ya] = Pe(ce), [Xe, Ea, Ra] = Pe(ce), [Xt, Ma] = se(
946
946
  ce,
947
947
  [ya, Ra]
948
- ), [_a, U] = Xt(ce), [wa, Ia] = Xt(ce), Jt = a.forwardRef(
948
+ ), [wa, U] = Xt(ce), [_a, Ia] = Xt(ce), Qt = a.forwardRef(
949
949
  (e, t) => {
950
950
  const {
951
951
  __scopeNavigationMenu: o,
@@ -957,34 +957,34 @@ var ce = "NavigationMenu", [Zt, rr, ya] = Pe(ce), [Xe, Ea, Ra] = Pe(ce), [Xt, Ma
957
957
  orientation: l = "horizontal",
958
958
  dir: p,
959
959
  ...d
960
- } = e, [h, C] = a.useState(null), y = B(t, (w) => C(w)), g = Ee(p), b = a.useRef(0), _ = a.useRef(0), R = a.useRef(0), [f, v] = a.useState(!0), [M, I] = ne({
960
+ } = e, [h, C] = a.useState(null), y = B(t, (_) => C(_)), g = Ee(p), b = a.useRef(0), w = a.useRef(0), R = a.useRef(0), [f, v] = a.useState(!0), [M, I] = ne({
961
961
  prop: r,
962
- onChange: (w) => {
963
- const m = w !== "", E = u > 0;
962
+ onChange: (_) => {
963
+ const m = _ !== "", E = u > 0;
964
964
  m ? (window.clearTimeout(R.current), E && v(!1)) : (window.clearTimeout(R.current), R.current = window.setTimeout(
965
965
  () => v(!0),
966
966
  u
967
- )), n == null || n(w);
967
+ )), n == null || n(_);
968
968
  },
969
969
  defaultProp: i ?? "",
970
970
  caller: ce
971
971
  }), x = a.useCallback(() => {
972
- window.clearTimeout(_.current), _.current = window.setTimeout(() => I(""), 150);
972
+ window.clearTimeout(w.current), w.current = window.setTimeout(() => I(""), 150);
973
973
  }, [I]), O = a.useCallback(
974
- (w) => {
975
- window.clearTimeout(_.current), I(w);
974
+ (_) => {
975
+ window.clearTimeout(w.current), I(_);
976
976
  },
977
977
  [I]
978
978
  ), P = a.useCallback(
979
- (w) => {
980
- M === w ? window.clearTimeout(_.current) : b.current = window.setTimeout(() => {
981
- window.clearTimeout(_.current), I(w);
979
+ (_) => {
980
+ M === _ ? window.clearTimeout(w.current) : b.current = window.setTimeout(() => {
981
+ window.clearTimeout(w.current), I(_);
982
982
  }, c);
983
983
  },
984
984
  [M, I, c]
985
985
  );
986
986
  return a.useEffect(() => () => {
987
- window.clearTimeout(b.current), window.clearTimeout(_.current), window.clearTimeout(R.current);
987
+ window.clearTimeout(b.current), window.clearTimeout(w.current), window.clearTimeout(R.current);
988
988
  }, []), /* @__PURE__ */ s(
989
989
  nr,
990
990
  {
@@ -994,16 +994,16 @@ var ce = "NavigationMenu", [Zt, rr, ya] = Pe(ce), [Xe, Ea, Ra] = Pe(ce), [Xt, Ma
994
994
  dir: g,
995
995
  orientation: l,
996
996
  rootNavigationMenu: h,
997
- onTriggerEnter: (w) => {
998
- window.clearTimeout(b.current), f ? P(w) : O(w);
997
+ onTriggerEnter: (_) => {
998
+ window.clearTimeout(b.current), f ? P(_) : O(_);
999
999
  },
1000
1000
  onTriggerLeave: () => {
1001
1001
  window.clearTimeout(b.current), x();
1002
1002
  },
1003
- onContentEnter: () => window.clearTimeout(_.current),
1003
+ onContentEnter: () => window.clearTimeout(w.current),
1004
1004
  onContentLeave: x,
1005
- onItemSelect: (w) => {
1006
- I((m) => m === w ? "" : w);
1005
+ onItemSelect: (_) => {
1006
+ I((m) => m === _ ? "" : _);
1007
1007
  },
1008
1008
  onItemDismiss: () => I(""),
1009
1009
  children: /* @__PURE__ */ s(
@@ -1020,8 +1020,8 @@ var ce = "NavigationMenu", [Zt, rr, ya] = Pe(ce), [Xe, Ea, Ra] = Pe(ce), [Xt, Ma
1020
1020
  );
1021
1021
  }
1022
1022
  );
1023
- Jt.displayName = ce;
1024
- var Je = "NavigationMenuSub", Qt = a.forwardRef(
1023
+ Qt.displayName = ce;
1024
+ var Qe = "NavigationMenuSub", Jt = a.forwardRef(
1025
1025
  (e, t) => {
1026
1026
  const {
1027
1027
  __scopeNavigationMenu: o,
@@ -1030,11 +1030,11 @@ var Je = "NavigationMenuSub", Qt = a.forwardRef(
1030
1030
  defaultValue: i,
1031
1031
  orientation: c = "horizontal",
1032
1032
  ...u
1033
- } = e, l = U(Je, o), [p, d] = ne({
1033
+ } = e, l = U(Qe, o), [p, d] = ne({
1034
1034
  prop: r,
1035
1035
  onChange: n,
1036
1036
  defaultProp: i ?? "",
1037
- caller: Je
1037
+ caller: Qe
1038
1038
  });
1039
1039
  return /* @__PURE__ */ s(
1040
1040
  nr,
@@ -1053,7 +1053,7 @@ var Je = "NavigationMenuSub", Qt = a.forwardRef(
1053
1053
  );
1054
1054
  }
1055
1055
  );
1056
- Qt.displayName = Je;
1056
+ Jt.displayName = Qe;
1057
1057
  var nr = (e) => {
1058
1058
  const {
1059
1059
  scope: t,
@@ -1069,9 +1069,9 @@ var nr = (e) => {
1069
1069
  onTriggerLeave: h,
1070
1070
  onContentEnter: C,
1071
1071
  onContentLeave: y
1072
- } = e, [g, b] = a.useState(null), [_, R] = a.useState(/* @__PURE__ */ new Map()), [f, v] = a.useState(null);
1072
+ } = e, [g, b] = a.useState(null), [w, R] = a.useState(/* @__PURE__ */ new Map()), [f, v] = a.useState(null);
1073
1073
  return /* @__PURE__ */ s(
1074
- _a,
1074
+ wa,
1075
1075
  {
1076
1076
  scope: t,
1077
1077
  isRootMenu: o,
@@ -1097,7 +1097,7 @@ var nr = (e) => {
1097
1097
  onViewportContentRemove: a.useCallback((M) => {
1098
1098
  R((I) => I.has(M) ? (I.delete(M), new Map(I)) : I);
1099
1099
  }, []),
1100
- children: /* @__PURE__ */ s(Zt.Provider, { scope: t, children: /* @__PURE__ */ s(wa, { scope: t, items: _, children: c }) })
1100
+ children: /* @__PURE__ */ s(Zt.Provider, { scope: t, children: /* @__PURE__ */ s(_a, { scope: t, items: w, children: c }) })
1101
1101
  }
1102
1102
  );
1103
1103
  }, ar = "NavigationMenuList", eo = a.forwardRef(
@@ -1141,8 +1141,8 @@ var ir = "NavigationMenuItem", [Ta, sr] = Xt(ir), to = a.forwardRef(
1141
1141
  }
1142
1142
  );
1143
1143
  to.displayName = ir;
1144
- var Qe = "NavigationMenuTrigger", oo = a.forwardRef((e, t) => {
1145
- const { __scopeNavigationMenu: o, disabled: r, ...n } = e, i = U(Qe, e.__scopeNavigationMenu), c = sr(Qe, e.__scopeNavigationMenu), u = a.useRef(null), l = B(u, c.triggerRef, t), p = dr(i.baseId, c.value), d = fr(i.baseId, c.value), h = a.useRef(!1), C = a.useRef(!1), y = c.value === i.value;
1144
+ var Je = "NavigationMenuTrigger", oo = a.forwardRef((e, t) => {
1145
+ const { __scopeNavigationMenu: o, disabled: r, ...n } = e, i = U(Je, e.__scopeNavigationMenu), c = sr(Je, e.__scopeNavigationMenu), u = a.useRef(null), l = B(u, c.triggerRef, t), p = dr(i.baseId, c.value), d = fr(i.baseId, c.value), h = a.useRef(!1), C = a.useRef(!1), y = c.value === i.value;
1146
1146
  return /* @__PURE__ */ je(Ae, { children: [
1147
1147
  /* @__PURE__ */ s(Zt.ItemSlot, { scope: o, value: c.value, children: /* @__PURE__ */ s(ur, { asChild: !0, children: /* @__PURE__ */ s(
1148
1148
  F.button,
@@ -1174,8 +1174,8 @@ var Qe = "NavigationMenuTrigger", oo = a.forwardRef((e, t) => {
1174
1174
  i.onItemSelect(c.value), C.current = y;
1175
1175
  }),
1176
1176
  onKeyDown: N(e.onKeyDown, (g) => {
1177
- const _ = { horizontal: "ArrowDown", vertical: i.dir === "rtl" ? "ArrowLeft" : "ArrowRight" }[i.orientation];
1178
- y && g.key === _ && (c.onEntryKeyDown(), g.preventDefault());
1177
+ const w = { horizontal: "ArrowDown", vertical: i.dir === "rtl" ? "ArrowLeft" : "ArrowRight" }[i.orientation];
1178
+ y && g.key === w && (c.onEntryKeyDown(), g.preventDefault());
1179
1179
  })
1180
1180
  }
1181
1181
  ) }) }),
@@ -1187,7 +1187,7 @@ var Qe = "NavigationMenuTrigger", oo = a.forwardRef((e, t) => {
1187
1187
  tabIndex: 0,
1188
1188
  ref: c.focusProxyRef,
1189
1189
  onFocus: (g) => {
1190
- const b = c.contentRef.current, _ = g.relatedTarget, R = _ === u.current, f = b == null ? void 0 : b.contains(_);
1190
+ const b = c.contentRef.current, w = g.relatedTarget, R = w === u.current, f = b == null ? void 0 : b.contains(w);
1191
1191
  (R || !f) && c.onFocusProxyEnter(R ? "start" : "end");
1192
1192
  }
1193
1193
  }
@@ -1196,7 +1196,7 @@ var Qe = "NavigationMenuTrigger", oo = a.forwardRef((e, t) => {
1196
1196
  ] })
1197
1197
  ] });
1198
1198
  });
1199
- oo.displayName = Qe;
1199
+ oo.displayName = Je;
1200
1200
  var Aa = "NavigationMenuLink", No = "navigationMenu.linkSelect", ro = a.forwardRef(
1201
1201
  (e, t) => {
1202
1202
  const { __scopeNavigationMenu: o, active: r, onSelect: n, ...i } = e;
@@ -1243,7 +1243,7 @@ var Sa = a.forwardRef((e, t) => {
1243
1243
  ), [l, p] = a.useState(null), d = n.orientation === "horizontal", h = !!n.value;
1244
1244
  a.useEffect(() => {
1245
1245
  var b;
1246
- const g = (b = i().find((_) => _.value === n.value)) == null ? void 0 : b.ref.current;
1246
+ const g = (b = i().find((w) => w.value === n.value)) == null ? void 0 : b.ref.current;
1247
1247
  g && u(g);
1248
1248
  }, [i, n.value]);
1249
1249
  const C = () => {
@@ -1323,7 +1323,7 @@ var xa = a.forwardRef((e, t) => {
1323
1323
  onRootContentClose: u,
1324
1324
  onContentFocusOutside: l,
1325
1325
  ...p
1326
- } = e, d = U(fe, o), h = a.useRef(null), C = B(h, t), y = dr(d.baseId, r), g = fr(d.baseId, r), b = rr(o), _ = a.useRef(null), { onItemDismiss: R } = d;
1326
+ } = e, d = U(fe, o), h = a.useRef(null), C = B(h, t), y = dr(d.baseId, r), g = fr(d.baseId, r), b = rr(o), w = a.useRef(null), { onItemDismiss: R } = d;
1327
1327
  a.useEffect(() => {
1328
1328
  const v = h.current;
1329
1329
  if (d.isRootMenu && v) {
@@ -1338,15 +1338,15 @@ var xa = a.forwardRef((e, t) => {
1338
1338
  const M = b().map((m) => m.value);
1339
1339
  d.dir === "rtl" && M.reverse();
1340
1340
  const I = M.indexOf(d.value), x = M.indexOf(d.previousValue), O = r === d.value, P = x === M.indexOf(r);
1341
- if (!O && !P) return _.current;
1342
- const w = (() => {
1341
+ if (!O && !P) return w.current;
1342
+ const _ = (() => {
1343
1343
  if (I !== x) {
1344
1344
  if (O && x !== -1) return I > x ? "from-end" : "from-start";
1345
1345
  if (P && I !== -1) return I > x ? "to-start" : "to-end";
1346
1346
  }
1347
1347
  return null;
1348
1348
  })();
1349
- return _.current = w, w;
1349
+ return w.current = _, _;
1350
1350
  }, [d.previousValue, d.value, d.dir, b, r]);
1351
1351
  return /* @__PURE__ */ s(lr, { asChild: !0, children: /* @__PURE__ */ s(
1352
1352
  jr,
@@ -1375,8 +1375,8 @@ var xa = a.forwardRef((e, t) => {
1375
1375
  onPointerDownOutside: N(e.onPointerDownOutside, (v) => {
1376
1376
  var O;
1377
1377
  const M = v.target, I = b().some((P) => {
1378
- var w;
1379
- return (w = P.ref.current) == null ? void 0 : w.contains(M);
1378
+ var _;
1379
+ return (_ = P.ref.current) == null ? void 0 : _.contains(M);
1380
1380
  }), x = d.isRootMenu && ((O = d.viewport) == null ? void 0 : O.contains(M));
1381
1381
  (I || x || !d.isRootMenu) && v.preventDefault();
1382
1382
  }),
@@ -1384,7 +1384,7 @@ var xa = a.forwardRef((e, t) => {
1384
1384
  var x;
1385
1385
  const M = v.altKey || v.ctrlKey || v.metaKey;
1386
1386
  if (v.key === "Tab" && !M) {
1387
- const O = et(v.currentTarget), P = document.activeElement, w = O.findIndex((A) => A === P), E = v.shiftKey ? O.slice(0, w).reverse() : O.slice(w + 1, O.length);
1387
+ const O = et(v.currentTarget), P = document.activeElement, _ = O.findIndex((A) => A === P), E = v.shiftKey ? O.slice(0, _).reverse() : O.slice(_ + 1, O.length);
1388
1388
  lo(E) ? v.preventDefault() : (x = i.current) == null || x.focus();
1389
1389
  }
1390
1390
  }),
@@ -1512,21 +1512,21 @@ function fr(e, t) {
1512
1512
  function xe(e) {
1513
1513
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
1514
1514
  }
1515
- var Da = Jt, ka = Qt, La = eo, Va = to, Ga = oo, Ka = ro, $a = ao, Ba = io, za = co;
1516
- const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1515
+ var Da = Qt, ka = Jt, La = eo, Va = to, Ga = oo, Ka = ro, $a = ao, Ba = io, za = co;
1516
+ const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1517
1517
  __proto__: null,
1518
1518
  Content: Ba,
1519
1519
  Indicator: $a,
1520
1520
  Item: Va,
1521
1521
  Link: Ka,
1522
1522
  List: La,
1523
- NavigationMenu: Jt,
1523
+ NavigationMenu: Qt,
1524
1524
  NavigationMenuContent: io,
1525
1525
  NavigationMenuIndicator: ao,
1526
1526
  NavigationMenuItem: to,
1527
1527
  NavigationMenuLink: ro,
1528
1528
  NavigationMenuList: eo,
1529
- NavigationMenuSub: Qt,
1529
+ NavigationMenuSub: Jt,
1530
1530
  NavigationMenuTrigger: oo,
1531
1531
  NavigationMenuViewport: co,
1532
1532
  Root: Da,
@@ -1575,7 +1575,7 @@ var Ne = {
1575
1575
  form: y,
1576
1576
  name: g,
1577
1577
  placeholder: b,
1578
- type: _ = "text",
1578
+ type: w = "text",
1579
1579
  // TODO: Change default to vertical when inputs use vertical writing mode
1580
1580
  orientation: R = "horizontal",
1581
1581
  dir: f,
@@ -1584,7 +1584,7 @@ var Ne = {
1584
1584
  ...I
1585
1585
  }, x) {
1586
1586
  var be;
1587
- const O = pr(t), P = Ee(f), w = Ua(), [m] = w, E = Ne[v] ? Ne[v] : null, A = a.useCallback(
1587
+ const O = pr(t), P = Ee(f), _ = Ua(), [m] = _, E = Ne[v] ? Ne[v] : null, A = a.useCallback(
1588
1588
  (S) => {
1589
1589
  if (Array.isArray(S) ? S = S.map(ko).join("") : S = ko(S), E) {
1590
1590
  const V = new RegExp(E.regexp);
@@ -1602,11 +1602,11 @@ var Ne = {
1602
1602
  [n]
1603
1603
  )
1604
1604
  }), q = zo((S) => {
1605
- var V, he, Eo, Ro, Mo, _o, wo, Io, To;
1605
+ var V, he, Eo, Ro, Mo, wo, _o, Io, To;
1606
1606
  switch (S.type) {
1607
1607
  case "SET_CHAR": {
1608
- const { index: Q, char: z } = S, H = (V = m.at(Q)) == null ? void 0 : V.element;
1609
- if (k[Q] === z) {
1608
+ const { index: J, char: z } = S, H = (V = m.at(J)) == null ? void 0 : V.element;
1609
+ if (k[J] === z) {
1610
1610
  const re = H && ((he = m.from(H, 1)) == null ? void 0 : he.element);
1611
1611
  ee(re);
1612
1612
  return;
@@ -1620,13 +1620,13 @@ var Ne = {
1620
1620
  }
1621
1621
  if (k.length >= m.size) {
1622
1622
  const re = [...k];
1623
- re[Q] = z, de(() => W(re));
1624
- const _e = H && ((Eo = m.from(H, 1)) == null ? void 0 : Eo.element);
1625
- ee(_e);
1623
+ re[J] = z, de(() => W(re));
1624
+ const we = H && ((Eo = m.from(H, 1)) == null ? void 0 : Eo.element);
1625
+ ee(we);
1626
1626
  return;
1627
1627
  }
1628
1628
  const ue = [...k];
1629
- ue[Q] = z;
1629
+ ue[J] = z;
1630
1630
  const Be = (Ro = m.at(-1)) == null ? void 0 : Ro.element;
1631
1631
  if (de(() => W(ue)), H !== Be) {
1632
1632
  const re = H && ((Mo = m.from(H, 1)) == null ? void 0 : Mo.element);
@@ -1636,10 +1636,10 @@ var Ne = {
1636
1636
  return;
1637
1637
  }
1638
1638
  case "CLEAR_CHAR": {
1639
- const { index: Q, reason: z } = S;
1640
- if (!k[Q])
1639
+ const { index: J, reason: z } = S;
1640
+ if (!k[J])
1641
1641
  return;
1642
- const H = k.filter((re, _e) => _e !== Q), ue = (_o = m.at(Q)) == null ? void 0 : _o.element, Be = ue && ((wo = m.from(ue, -1)) == null ? void 0 : wo.element);
1642
+ const H = k.filter((re, we) => we !== J), ue = (wo = m.at(J)) == null ? void 0 : wo.element, Be = ue && ((_o = m.from(ue, -1)) == null ? void 0 : _o.element);
1643
1643
  de(() => W(H)), z === "Backspace" ? ee(Be) : (z === "Delete" || z === "Cut") && ee(ue);
1644
1644
  return;
1645
1645
  }
@@ -1650,7 +1650,7 @@ var Ne = {
1650
1650
  return;
1651
1651
  }
1652
1652
  case "PASTE": {
1653
- const { value: Q } = S, z = A(Q);
1653
+ const { value: J } = S, z = A(J);
1654
1654
  if (!z)
1655
1655
  return;
1656
1656
  de(() => W(z)), ee((To = m.at(z.length - 1)) == null ? void 0 : To.element);
@@ -1686,7 +1686,7 @@ var Ne = {
1686
1686
  const S = K.current;
1687
1687
  K.current = G, S !== G && i && k.every((V) => V !== "") && k.length === L && (l == null || l(k.join("")), T());
1688
1688
  }, [T, i, G, L, l, k]);
1689
- const J = $o();
1689
+ const Q = $o();
1690
1690
  return /* @__PURE__ */ s(
1691
1691
  qa,
1692
1692
  {
@@ -1700,15 +1700,15 @@ var Ne = {
1700
1700
  form: y,
1701
1701
  name: g,
1702
1702
  placeholder: b,
1703
- type: _,
1703
+ type: w,
1704
1704
  hiddenInputRef: oe,
1705
1705
  userActionRef: me,
1706
1706
  dispatch: q,
1707
1707
  validationType: v,
1708
1708
  orientation: R,
1709
- isHydrated: J,
1709
+ isHydrated: Q,
1710
1710
  sanitizeValue: A,
1711
- children: /* @__PURE__ */ s(ot.Provider, { scope: t, state: w, children: /* @__PURE__ */ s(ot.Slot, { scope: t, children: /* @__PURE__ */ s(
1711
+ children: /* @__PURE__ */ s(ot.Provider, { scope: t, state: _, children: /* @__PURE__ */ s(ot.Slot, { scope: t, children: /* @__PURE__ */ s(
1712
1712
  ct,
1713
1713
  {
1714
1714
  asChild: !0,
@@ -1776,11 +1776,11 @@ var Ne = {
1776
1776
  name: y,
1777
1777
  placeholder: g,
1778
1778
  type: b,
1779
- ..._
1779
+ ...w
1780
1780
  } = n, R = vr(
1781
1781
  "OneTimePasswordFieldInput",
1782
1782
  t
1783
- ), { dispatch: f, userActionRef: v, validationType: M, isHydrated: I } = R, x = ja(t), O = pr(t), P = a.useRef(null), [w, m] = a.useState(null), E = r ?? (w ? x.indexOf(w) : -1), A = r != null || I;
1783
+ ), { dispatch: f, userActionRef: v, validationType: M, isHydrated: I } = R, x = ja(t), O = pr(t), P = a.useRef(null), [_, m] = a.useState(null), E = r ?? (_ ? x.indexOf(_) : -1), A = r != null || I;
1784
1784
  let D;
1785
1785
  A && R.placeholder && R.value.length === 0 && (D = R.placeholder[E]);
1786
1786
  const k = B(i, P, m), W = R.value[E] ?? "", q = a.useRef(null);
@@ -1816,7 +1816,7 @@ var Ne = {
1816
1816
  placeholder: D,
1817
1817
  "data-radix-otp-input": "",
1818
1818
  "data-radix-index": E,
1819
- ..._,
1819
+ ...w,
1820
1820
  onFocus: N(n.onFocus, (T) => {
1821
1821
  T.currentTarget.select();
1822
1822
  }),
@@ -1854,8 +1854,8 @@ var Ne = {
1854
1854
  if (G === "") {
1855
1855
  let L = "Backspace";
1856
1856
  if (Za(T.nativeEvent)) {
1857
- const J = T.nativeEvent.inputType;
1858
- J === "deleteContentBackward" ? L = "Backspace" : J === "deleteByCut" && (L = "Cut");
1857
+ const Q = T.nativeEvent.inputType;
1858
+ Q === "deleteContentBackward" ? L = "Backspace" : Q === "deleteByCut" && (L = "Cut");
1859
1859
  }
1860
1860
  f({ type: "CLEAR_CHAR", index: E, reason: L });
1861
1861
  } else
@@ -1906,22 +1906,22 @@ var Ne = {
1906
1906
  }
1907
1907
  default:
1908
1908
  if (T.currentTarget.value === T.key) {
1909
- const J = T.currentTarget;
1910
- T.preventDefault(), ee((G = x.from(J, 1)) == null ? void 0 : G.element);
1909
+ const Q = T.currentTarget;
1910
+ T.preventDefault(), ee((G = x.from(Q, 1)) == null ? void 0 : G.element);
1911
1911
  return;
1912
1912
  } else if (
1913
1913
  // input already has a value, but...
1914
1914
  T.currentTarget.value && // the value is not selected
1915
1915
  !(T.currentTarget.selectionStart === 0 && T.currentTarget.selectionEnd != null && T.currentTarget.selectionEnd > 0)
1916
1916
  ) {
1917
- const J = T.key;
1917
+ const Q = T.key;
1918
1918
  if (T.key.length > 1 || T.key === " ")
1919
1919
  return;
1920
1920
  {
1921
1921
  const be = (K = x.from(T.currentTarget, 1)) == null ? void 0 : K.element, S = (L = x.at(-1)) == null ? void 0 : L.element;
1922
- be !== S && T.currentTarget !== S && (T.currentTarget.selectionStart === 0 ? f({ type: "SET_CHAR", char: J, index: E, event: T }) : f({
1922
+ be !== S && T.currentTarget !== S && (T.currentTarget.selectionStart === 0 ? f({ type: "SET_CHAR", char: Q, index: E, event: T }) : f({
1923
1923
  type: "SET_CHAR",
1924
- char: J,
1924
+ char: Q,
1925
1925
  index: E + 1,
1926
1926
  event: T
1927
1927
  }), v.current = {
@@ -1963,7 +1963,7 @@ function ee(e) {
1963
1963
  function Za(e) {
1964
1964
  return e.type === "input";
1965
1965
  }
1966
- const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1966
+ const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1967
1967
  __proto__: null,
1968
1968
  HiddenInput: Oo,
1969
1969
  Input: Do,
@@ -1972,7 +1972,7 @@ const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1972
1972
  OneTimePasswordFieldInput: Do,
1973
1973
  Root: Fo
1974
1974
  }, Symbol.toStringTag, { value: "Module" }));
1975
- var ae = "PasswordToggleField", [Xa] = se(ae), [Ja, Ge] = Xa(ae), Ce = {
1975
+ var ae = "PasswordToggleField", [Xa] = se(ae), [Qa, Ge] = Xa(ae), Ce = {
1976
1976
  clickTriggered: !1,
1977
1977
  selectionStart: null,
1978
1978
  selectionEnd: null
@@ -1981,7 +1981,7 @@ var ae = "PasswordToggleField", [Xa] = se(ae), [Ja, Ge] = Xa(ae), Ce = {
1981
1981
  ...t
1982
1982
  }) => {
1983
1983
  const r = `${te(t.id)}-input`, [n, i] = a.useState(r), c = n ?? r, u = a.useCallback(
1984
- (_) => i(_ != null ? String(_) : null),
1984
+ (w) => i(w != null ? String(w) : null),
1985
1985
  []
1986
1986
  ), { visible: l, defaultVisible: p, onVisiblityChange: d, children: h } = t, [C = !1, y] = ne({
1987
1987
  caller: ae,
@@ -1990,7 +1990,7 @@ var ae = "PasswordToggleField", [Xa] = se(ae), [Ja, Ge] = Xa(ae), Ce = {
1990
1990
  onChange: d
1991
1991
  }), g = a.useRef(null), b = a.useRef(Ce);
1992
1992
  return /* @__PURE__ */ s(
1993
- Ja,
1993
+ Qa,
1994
1994
  {
1995
1995
  scope: e,
1996
1996
  inputId: c,
@@ -2022,21 +2022,21 @@ var mr = ae + "Input", nt = a.forwardRef(
2022
2022
  const g = l.current, b = g == null ? void 0 : g.form;
2023
2023
  if (!b)
2024
2024
  return;
2025
- const _ = new AbortController();
2025
+ const w = new AbortController();
2026
2026
  return b.addEventListener(
2027
2027
  "reset",
2028
2028
  (R) => {
2029
2029
  R.defaultPrevented || y(!1);
2030
2030
  },
2031
- { signal: _.signal }
2031
+ { signal: w.signal }
2032
2032
  ), b.addEventListener(
2033
2033
  "submit",
2034
2034
  () => {
2035
2035
  y(!1);
2036
2036
  },
2037
- { signal: _.signal }
2037
+ { signal: w.signal }
2038
2038
  ), () => {
2039
- _.abort();
2039
+ w.abort();
2040
2040
  };
2041
2041
  }, [l, y]), /* @__PURE__ */ s(
2042
2042
  F.input,
@@ -2049,8 +2049,8 @@ var mr = ae + "Input", nt = a.forwardRef(
2049
2049
  spellCheck: r,
2050
2050
  type: u ? "text" : "password",
2051
2051
  onBlur: N(i.onBlur, (g) => {
2052
- const { selectionStart: b, selectionEnd: _ } = g.currentTarget;
2053
- C.current.selectionStart = b, C.current.selectionEnd = _;
2052
+ const { selectionStart: b, selectionEnd: w } = g.currentTarget;
2053
+ C.current.selectionStart = b, C.current.selectionEnd = w;
2054
2054
  })
2055
2055
  }
2056
2056
  );
@@ -2072,7 +2072,7 @@ var gr = ae + "Toggle", at = a.forwardRef(
2072
2072
  tabIndex: d,
2073
2073
  ...h
2074
2074
  }, C) => {
2075
- const { setVisible: y, visible: g, inputRef: b, inputId: _, focusState: R } = Ge(
2075
+ const { setVisible: y, visible: g, inputRef: b, inputId: w, focusState: R } = Ge(
2076
2076
  gr,
2077
2077
  e
2078
2078
  ), [f, v] = a.useState(void 0), M = a.useRef(null), I = B(C, M), x = $o();
@@ -2082,9 +2082,9 @@ var gr = ae + "Toggle", at = a.forwardRef(
2082
2082
  v(void 0);
2083
2083
  return;
2084
2084
  }
2085
- const w = g ? "Hide password" : "Show password";
2085
+ const _ = g ? "Hide password" : "Show password";
2086
2086
  function m(A) {
2087
- v(A || void 0 ? void 0 : w);
2087
+ v(A || void 0 ? void 0 : _);
2088
2088
  }
2089
2089
  m(P.textContent);
2090
2090
  const E = new MutationObserver((A) => {
@@ -2098,13 +2098,13 @@ var gr = ae + "Toggle", at = a.forwardRef(
2098
2098
  };
2099
2099
  }, [g, u]);
2100
2100
  const O = u || f;
2101
- return x ? l ?? (l = _) : (p ?? (p = !0), d ?? (d = -1)), a.useEffect(() => {
2101
+ return x ? l ?? (l = w) : (p ?? (p = !0), d ?? (d = -1)), a.useEffect(() => {
2102
2102
  var A, D;
2103
2103
  let P = () => {
2104
2104
  };
2105
- const w = ((D = (A = M.current) == null ? void 0 : A.ownerDocument) == null ? void 0 : D.defaultView) || window, m = () => R.current.clickTriggered = !1, E = () => P = Qa(w, m);
2106
- return w.addEventListener("pointerup", E), () => {
2107
- P(), w.removeEventListener("pointerup", E);
2105
+ const _ = ((D = (A = M.current) == null ? void 0 : A.ownerDocument) == null ? void 0 : D.defaultView) || window, m = () => R.current.clickTriggered = !1, E = () => P = Ja(_, m);
2106
+ return _.addEventListener("pointerup", E), () => {
2107
+ P(), _.removeEventListener("pointerup", E);
2108
2108
  };
2109
2109
  }, [R]), /* @__PURE__ */ s(
2110
2110
  F.button,
@@ -2113,7 +2113,7 @@ var gr = ae + "Toggle", at = a.forwardRef(
2113
2113
  "aria-hidden": p,
2114
2114
  "aria-label": O,
2115
2115
  ref: I,
2116
- id: _,
2116
+ id: w,
2117
2117
  ...h,
2118
2118
  onPointerDown: N(o, () => {
2119
2119
  R.current.clickTriggered = !0;
@@ -2127,13 +2127,13 @@ var gr = ae + "Toggle", at = a.forwardRef(
2127
2127
  return;
2128
2128
  }
2129
2129
  if (de(() => {
2130
- y((w) => !w);
2130
+ y((_) => !_);
2131
2131
  }), R.current.clickTriggered) {
2132
- const w = b.current;
2133
- if (w) {
2132
+ const _ = b.current;
2133
+ if (_) {
2134
2134
  const { selectionStart: m, selectionEnd: E } = R.current;
2135
- w.focus(), (m !== null || E !== null) && requestAnimationFrame(() => {
2136
- w.ownerDocument.activeElement === w && (w.selectionStart = m, w.selectionEnd = E);
2135
+ _.focus(), (m !== null || E !== null) && requestAnimationFrame(() => {
2136
+ _.ownerDocument.activeElement === _ && (_.selectionStart = m, _.selectionEnd = E);
2137
2137
  });
2138
2138
  }
2139
2139
  }
@@ -2180,7 +2180,7 @@ var hr = ae + "Icon", st = a.forwardRef(
2180
2180
  }
2181
2181
  );
2182
2182
  st.displayName = hr;
2183
- function Qa(e, t, o) {
2183
+ function Ja(e, t, o) {
2184
2184
  if (e.requestIdleCallback) {
2185
2185
  const i = e.requestIdleCallback(t, o);
2186
2186
  return () => {
@@ -2352,7 +2352,7 @@ export {
2352
2352
  Ki as HoverCard,
2353
2353
  Ei as Label,
2354
2354
  Mi as Menubar,
2355
- _i as NavigationMenu,
2355
+ wi as NavigationMenu,
2356
2356
  $i as Popover,
2357
2357
  Bi as Portal,
2358
2358
  zi as Progress,
@@ -2366,8 +2366,8 @@ export {
2366
2366
  Zi as Toggle,
2367
2367
  Xi as ToggleGroup,
2368
2368
  Ai as Toolbar,
2369
- Ji as Tooltip,
2370
- Qi as VisuallyHidden,
2371
- wi as unstable_OneTimePasswordField,
2369
+ Qi as Tooltip,
2370
+ Ji as VisuallyHidden,
2371
+ _i as unstable_OneTimePasswordField,
2372
2372
  Ii as unstable_PasswordToggleField
2373
2373
  };