@sozialhelden/ui 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,6 +3,30 @@ import oe, { useState as Vo, useRef as Rs, useCallback as Xd, useEffect as Ro, u
3
3
  import * as Vn from "react-dom";
4
4
  import Sa from "react-dom";
5
5
  import { ArrowLeft as Zd, ArrowRight as Jd, CheckIcon as vr, XIcon as Qd, CircleIcon as Ca, ChevronRightIcon as ef, ChevronDownIcon as hr, ChevronUpIcon as tf } from "lucide-react";
6
+ function Ps(e, t) {
7
+ if (typeof e == "function")
8
+ return e(t);
9
+ e != null && (e.current = t);
10
+ }
11
+ function Zt(...e) {
12
+ return (t) => {
13
+ let n = !1;
14
+ const o = e.map((r) => {
15
+ const s = Ps(r, t);
16
+ return !n && typeof s == "function" && (n = !0), s;
17
+ });
18
+ if (n)
19
+ return () => {
20
+ for (let r = 0; r < o.length; r++) {
21
+ const s = o[r];
22
+ typeof s == "function" ? s() : Ps(e[r], null);
23
+ }
24
+ };
25
+ };
26
+ }
27
+ function W(...e) {
28
+ return l.useCallback(Zt(...e), e);
29
+ }
6
30
  var pn = { exports: {} }, Ot = {};
7
31
  /**
8
32
  * @license React
@@ -13,10 +37,10 @@ var pn = { exports: {} }, Ot = {};
13
37
  * This source code is licensed under the MIT license found in the
14
38
  * LICENSE file in the root directory of this source tree.
15
39
  */
16
- var Ps;
40
+ var _s;
17
41
  function nf() {
18
- if (Ps) return Ot;
19
- Ps = 1;
42
+ if (_s) return Ot;
43
+ _s = 1;
20
44
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
21
45
  function n(o, r, s) {
22
46
  var a = null;
@@ -45,9 +69,9 @@ var Dt = {};
45
69
  * This source code is licensed under the MIT license found in the
46
70
  * LICENSE file in the root directory of this source tree.
47
71
  */
48
- var _s;
72
+ var As;
49
73
  function of() {
50
- return _s || (_s = 1, process.env.NODE_ENV !== "production" && (function() {
74
+ return As || (As = 1, process.env.NODE_ENV !== "production" && (function() {
51
75
  function e(_) {
52
76
  if (_ == null) return null;
53
77
  if (typeof _ == "function")
@@ -278,31 +302,132 @@ React keys must be passed directly to JSX without using spread:
278
302
  };
279
303
  })()), Dt;
280
304
  }
281
- var As;
305
+ var Ts;
282
306
  function rf() {
283
- return As || (As = 1, process.env.NODE_ENV === "production" ? pn.exports = nf() : pn.exports = of()), pn.exports;
307
+ return Ts || (Ts = 1, process.env.NODE_ENV === "production" ? pn.exports = nf() : pn.exports = of()), pn.exports;
284
308
  }
285
309
  var d = rf();
286
- function Ea(e) {
310
+ // @__NO_SIDE_EFFECTS__
311
+ function Ge(e) {
312
+ const t = /* @__PURE__ */ sf(e), n = l.forwardRef((o, r) => {
313
+ const { children: s, ...a } = o, i = l.Children.toArray(s), c = i.find(af);
314
+ if (c) {
315
+ const u = c.props.children, f = i.map((p) => p === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : p);
316
+ return /* @__PURE__ */ d.jsx(t, { ...a, ref: r, children: l.isValidElement(u) ? l.cloneElement(u, void 0, f) : null });
317
+ }
318
+ return /* @__PURE__ */ d.jsx(t, { ...a, ref: r, children: s });
319
+ });
320
+ return n.displayName = `${e}.Slot`, n;
321
+ }
322
+ var xr = /* @__PURE__ */ Ge("Slot");
323
+ // @__NO_SIDE_EFFECTS__
324
+ function sf(e) {
325
+ const t = l.forwardRef((n, o) => {
326
+ const { children: r, ...s } = n;
327
+ if (l.isValidElement(r)) {
328
+ const a = lf(r), i = cf(s, r.props);
329
+ return r.type !== l.Fragment && (i.ref = o ? Zt(o, a) : a), l.cloneElement(r, i);
330
+ }
331
+ return l.Children.count(r) > 1 ? l.Children.only(null) : null;
332
+ });
333
+ return t.displayName = `${e}.SlotClone`, t;
334
+ }
335
+ var Ea = Symbol("radix.slottable");
336
+ // @__NO_SIDE_EFFECTS__
337
+ function Ra(e) {
338
+ const t = ({ children: n }) => /* @__PURE__ */ d.jsx(d.Fragment, { children: n });
339
+ return t.displayName = `${e}.Slottable`, t.__radixId = Ea, t;
340
+ }
341
+ function af(e) {
342
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Ea;
343
+ }
344
+ function cf(e, t) {
345
+ const n = { ...t };
346
+ for (const o in t) {
347
+ const r = e[o], s = t[o];
348
+ /^on[A-Z]/.test(o) ? r && s ? n[o] = (...i) => {
349
+ const c = s(...i);
350
+ return r(...i), c;
351
+ } : r && (n[o] = r) : o === "style" ? n[o] = { ...r, ...s } : o === "className" && (n[o] = [r, s].filter(Boolean).join(" "));
352
+ }
353
+ return { ...e, ...n };
354
+ }
355
+ function lf(e) {
356
+ let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
357
+ return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
358
+ }
359
+ var uf = [
360
+ "a",
361
+ "button",
362
+ "div",
363
+ "form",
364
+ "h2",
365
+ "h3",
366
+ "img",
367
+ "input",
368
+ "label",
369
+ "li",
370
+ "nav",
371
+ "ol",
372
+ "p",
373
+ "select",
374
+ "span",
375
+ "svg",
376
+ "ul"
377
+ ], L = uf.reduce((e, t) => {
378
+ const n = /* @__PURE__ */ Ge(`Primitive.${t}`), o = l.forwardRef((r, s) => {
379
+ const { asChild: a, ...i } = r, c = a ? n : t;
380
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ d.jsx(c, { ...i, ref: s });
381
+ });
382
+ return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
383
+ }, {});
384
+ function _n(e, t) {
385
+ e && Vn.flushSync(() => e.dispatchEvent(t));
386
+ }
387
+ var Pa = Object.freeze({
388
+ // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
389
+ position: "absolute",
390
+ border: 0,
391
+ width: 1,
392
+ height: 1,
393
+ padding: 0,
394
+ margin: -1,
395
+ overflow: "hidden",
396
+ clip: "rect(0, 0, 0, 0)",
397
+ whiteSpace: "nowrap",
398
+ wordWrap: "normal"
399
+ }), df = "VisuallyHidden", _a = l.forwardRef(
400
+ (e, t) => /* @__PURE__ */ d.jsx(
401
+ L.span,
402
+ {
403
+ ...e,
404
+ ref: t,
405
+ style: { ...Pa, ...e.style }
406
+ }
407
+ )
408
+ );
409
+ _a.displayName = df;
410
+ var Aa = _a;
411
+ function Ta(e) {
287
412
  var t, n, o = "";
288
413
  if (typeof e == "string" || typeof e == "number") o += e;
289
414
  else if (typeof e == "object") if (Array.isArray(e)) {
290
415
  var r = e.length;
291
- for (t = 0; t < r; t++) e[t] && (n = Ea(e[t])) && (o && (o += " "), o += n);
416
+ for (t = 0; t < r; t++) e[t] && (n = Ta(e[t])) && (o && (o += " "), o += n);
292
417
  } else for (n in e) e[n] && (o && (o += " "), o += n);
293
418
  return o;
294
419
  }
295
- function Ra() {
296
- for (var e, t, n = 0, o = "", r = arguments.length; n < r; n++) (e = arguments[n]) && (t = Ea(e)) && (o && (o += " "), o += t);
420
+ function Na() {
421
+ for (var e, t, n = 0, o = "", r = arguments.length; n < r; n++) (e = arguments[n]) && (t = Ta(e)) && (o && (o += " "), o += t);
297
422
  return o;
298
423
  }
299
- const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, Bn = (e, t) => (n) => {
424
+ const Ns = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ms = Na, Bn = (e, t) => (n) => {
300
425
  var o;
301
- if (t?.variants == null) return Ns(e, n?.class, n?.className);
426
+ if (t?.variants == null) return Ms(e, n?.class, n?.className);
302
427
  const { variants: r, defaultVariants: s } = t, a = Object.keys(r).map((u) => {
303
428
  const f = n?.[u], p = s?.[u];
304
429
  if (f === null) return null;
305
- const m = Ts(f) || Ts(p);
430
+ const m = Ns(f) || Ns(p);
306
431
  return r[u][m];
307
432
  }), i = n && Object.entries(n).reduce((u, f) => {
308
433
  let [p, m] = f;
@@ -324,41 +449,41 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
324
449
  m
325
450
  ] : u;
326
451
  }, []);
327
- return Ns(e, a, c, n?.class, n?.className);
328
- }, xr = "-", sf = (e) => {
329
- const t = cf(e), {
452
+ return Ms(e, a, c, n?.class, n?.className);
453
+ }, br = "-", ff = (e) => {
454
+ const t = mf(e), {
330
455
  conflictingClassGroups: n,
331
456
  conflictingClassGroupModifiers: o
332
457
  } = e;
333
458
  return {
334
459
  getClassGroupId: (a) => {
335
- const i = a.split(xr);
336
- return i[0] === "" && i.length !== 1 && i.shift(), Pa(i, t) || af(a);
460
+ const i = a.split(br);
461
+ return i[0] === "" && i.length !== 1 && i.shift(), Ma(i, t) || pf(a);
337
462
  },
338
463
  getConflictingClassGroupIds: (a, i) => {
339
464
  const c = n[a] || [];
340
465
  return i && o[a] ? [...c, ...o[a]] : c;
341
466
  }
342
467
  };
343
- }, Pa = (e, t) => {
468
+ }, Ma = (e, t) => {
344
469
  if (e.length === 0)
345
470
  return t.classGroupId;
346
- const n = e[0], o = t.nextPart.get(n), r = o ? Pa(e.slice(1), o) : void 0;
471
+ const n = e[0], o = t.nextPart.get(n), r = o ? Ma(e.slice(1), o) : void 0;
347
472
  if (r)
348
473
  return r;
349
474
  if (t.validators.length === 0)
350
475
  return;
351
- const s = e.join(xr);
476
+ const s = e.join(br);
352
477
  return t.validators.find(({
353
478
  validator: a
354
479
  }) => a(s))?.classGroupId;
355
- }, Ms = /^\[(.+)\]$/, af = (e) => {
356
- if (Ms.test(e)) {
357
- const t = Ms.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
480
+ }, Is = /^\[(.+)\]$/, pf = (e) => {
481
+ if (Is.test(e)) {
482
+ const t = Is.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
358
483
  if (n)
359
484
  return "arbitrary.." + n;
360
485
  }
361
- }, cf = (e) => {
486
+ }, mf = (e) => {
362
487
  const {
363
488
  theme: t,
364
489
  classGroups: n
@@ -372,12 +497,12 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
372
497
  }, Bo = (e, t, n, o) => {
373
498
  e.forEach((r) => {
374
499
  if (typeof r == "string") {
375
- const s = r === "" ? t : Is(t, r);
500
+ const s = r === "" ? t : ks(t, r);
376
501
  s.classGroupId = n;
377
502
  return;
378
503
  }
379
504
  if (typeof r == "function") {
380
- if (lf(r)) {
505
+ if (gf(r)) {
381
506
  Bo(r(o), t, n, o);
382
507
  return;
383
508
  }
@@ -388,18 +513,18 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
388
513
  return;
389
514
  }
390
515
  Object.entries(r).forEach(([s, a]) => {
391
- Bo(a, Is(t, s), n, o);
516
+ Bo(a, ks(t, s), n, o);
392
517
  });
393
518
  });
394
- }, Is = (e, t) => {
519
+ }, ks = (e, t) => {
395
520
  let n = e;
396
- return t.split(xr).forEach((o) => {
521
+ return t.split(br).forEach((o) => {
397
522
  n.nextPart.has(o) || n.nextPart.set(o, {
398
523
  nextPart: /* @__PURE__ */ new Map(),
399
524
  validators: []
400
525
  }), n = n.nextPart.get(o);
401
526
  }), n;
402
- }, lf = (e) => e.isThemeGetter, uf = (e) => {
527
+ }, gf = (e) => e.isThemeGetter, vf = (e) => {
403
528
  if (e < 1)
404
529
  return {
405
530
  get: () => {
@@ -423,7 +548,7 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
423
548
  n.has(s) ? n.set(s, a) : r(s, a);
424
549
  }
425
550
  };
426
- }, Ho = "!", Go = ":", df = Go.length, ff = (e) => {
551
+ }, Ho = "!", Go = ":", hf = Go.length, xf = (e) => {
427
552
  const {
428
553
  prefix: t,
429
554
  experimentalParseClassName: n
@@ -435,7 +560,7 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
435
560
  let g = r[h];
436
561
  if (a === 0 && i === 0) {
437
562
  if (g === Go) {
438
- s.push(r.slice(c, h)), c = h + df;
563
+ s.push(r.slice(c, h)), c = h + hf;
439
564
  continue;
440
565
  }
441
566
  if (g === "/") {
@@ -445,7 +570,7 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
445
570
  }
446
571
  g === "[" ? a++ : g === "]" ? a-- : g === "(" ? i++ : g === ")" && i--;
447
572
  }
448
- const f = s.length === 0 ? r : r.substring(c), p = pf(f), m = p !== f, v = u && u > c ? u - c : void 0;
573
+ const f = s.length === 0 ? r : r.substring(c), p = bf(f), m = p !== f, v = u && u > c ? u - c : void 0;
449
574
  return {
450
575
  modifiers: s,
451
576
  hasImportantModifier: m,
@@ -471,7 +596,7 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
471
596
  });
472
597
  }
473
598
  return o;
474
- }, pf = (e) => e.endsWith(Ho) ? e.substring(0, e.length - 1) : e.startsWith(Ho) ? e.substring(1) : e, mf = (e) => {
599
+ }, bf = (e) => e.endsWith(Ho) ? e.substring(0, e.length - 1) : e.startsWith(Ho) ? e.substring(1) : e, wf = (e) => {
475
600
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
476
601
  return (o) => {
477
602
  if (o.length <= 1)
@@ -482,18 +607,18 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
482
607
  a[0] === "[" || t[a] ? (r.push(...s.sort(), a), s = []) : s.push(a);
483
608
  }), r.push(...s.sort()), r;
484
609
  };
485
- }, gf = (e) => ({
486
- cache: uf(e.cacheSize),
487
- parseClassName: ff(e),
488
- sortModifiers: mf(e),
489
- ...sf(e)
490
- }), vf = /\s+/, hf = (e, t) => {
610
+ }, yf = (e) => ({
611
+ cache: vf(e.cacheSize),
612
+ parseClassName: xf(e),
613
+ sortModifiers: wf(e),
614
+ ...ff(e)
615
+ }), Sf = /\s+/, Cf = (e, t) => {
491
616
  const {
492
617
  parseClassName: n,
493
618
  getClassGroupId: o,
494
619
  getConflictingClassGroupIds: r,
495
620
  sortModifiers: s
496
- } = t, a = [], i = e.trim().split(vf);
621
+ } = t, a = [], i = e.trim().split(Sf);
497
622
  let c = "";
498
623
  for (let u = i.length - 1; u >= 0; u -= 1) {
499
624
  const f = i[u], {
@@ -532,52 +657,52 @@ const Ts = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ns = Ra, B
532
657
  }
533
658
  return c;
534
659
  };
535
- function xf() {
660
+ function Ef() {
536
661
  let e = 0, t, n, o = "";
537
662
  for (; e < arguments.length; )
538
- (t = arguments[e++]) && (n = _a(t)) && (o && (o += " "), o += n);
663
+ (t = arguments[e++]) && (n = Ia(t)) && (o && (o += " "), o += n);
539
664
  return o;
540
665
  }
541
- const _a = (e) => {
666
+ const Ia = (e) => {
542
667
  if (typeof e == "string")
543
668
  return e;
544
669
  let t, n = "";
545
670
  for (let o = 0; o < e.length; o++)
546
- e[o] && (t = _a(e[o])) && (n && (n += " "), n += t);
671
+ e[o] && (t = Ia(e[o])) && (n && (n += " "), n += t);
547
672
  return n;
548
673
  };
549
- function bf(e, ...t) {
674
+ function Rf(e, ...t) {
550
675
  let n, o, r, s = a;
551
676
  function a(c) {
552
677
  const u = t.reduce((f, p) => p(f), e());
553
- return n = gf(u), o = n.cache.get, r = n.cache.set, s = i, i(c);
678
+ return n = yf(u), o = n.cache.get, r = n.cache.set, s = i, i(c);
554
679
  }
555
680
  function i(c) {
556
681
  const u = o(c);
557
682
  if (u)
558
683
  return u;
559
- const f = hf(c, n);
684
+ const f = Cf(c, n);
560
685
  return r(c, f), f;
561
686
  }
562
687
  return function() {
563
- return s(xf.apply(null, arguments));
688
+ return s(Ef.apply(null, arguments));
564
689
  };
565
690
  }
566
691
  const pe = (e) => {
567
692
  const t = (n) => n[e] || [];
568
693
  return t.isThemeGetter = !0, t;
569
- }, Aa = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ta = /^\((?:(\w[\w-]*):)?(.+)\)$/i, wf = /^\d+\/\d+$/, yf = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Sf = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Cf = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ef = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Rf = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ft = (e) => wf.test(e), te = (e) => !!e && !Number.isNaN(Number(e)), Ve = (e) => !!e && Number.isInteger(Number(e)), Po = (e) => e.endsWith("%") && te(e.slice(0, -1)), je = (e) => yf.test(e), Pf = () => !0, _f = (e) => (
694
+ }, ka = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Oa = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Pf = /^\d+\/\d+$/, _f = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Af = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Tf = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Nf = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Mf = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ft = (e) => Pf.test(e), te = (e) => !!e && !Number.isNaN(Number(e)), Ve = (e) => !!e && Number.isInteger(Number(e)), Po = (e) => e.endsWith("%") && te(e.slice(0, -1)), je = (e) => _f.test(e), If = () => !0, kf = (e) => (
570
695
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
571
696
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
572
697
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
573
- Sf.test(e) && !Cf.test(e)
574
- ), Na = () => !1, Af = (e) => Ef.test(e), Tf = (e) => Rf.test(e), Nf = (e) => !z(e) && !V(e), Mf = (e) => Et(e, ka, Na), z = (e) => Aa.test(e), et = (e) => Et(e, Oa, _f), _o = (e) => Et(e, jf, te), ks = (e) => Et(e, Ma, Na), If = (e) => Et(e, Ia, Tf), mn = (e) => Et(e, Da, Af), V = (e) => Ta.test(e), jt = (e) => Rt(e, Oa), kf = (e) => Rt(e, Lf), Os = (e) => Rt(e, Ma), Of = (e) => Rt(e, ka), Df = (e) => Rt(e, Ia), gn = (e) => Rt(e, Da, !0), Et = (e, t, n) => {
575
- const o = Aa.exec(e);
698
+ Af.test(e) && !Tf.test(e)
699
+ ), Da = () => !1, Of = (e) => Nf.test(e), Df = (e) => Mf.test(e), jf = (e) => !z(e) && !V(e), Lf = (e) => Et(e, Fa, Da), z = (e) => ka.test(e), et = (e) => Et(e, $a, kf), _o = (e) => Et(e, Bf, te), Os = (e) => Et(e, ja, Da), Ff = (e) => Et(e, La, Df), mn = (e) => Et(e, za, Of), V = (e) => Oa.test(e), jt = (e) => Rt(e, $a), $f = (e) => Rt(e, Hf), Ds = (e) => Rt(e, ja), zf = (e) => Rt(e, Fa), Vf = (e) => Rt(e, La), gn = (e) => Rt(e, za, !0), Et = (e, t, n) => {
700
+ const o = ka.exec(e);
576
701
  return o ? o[1] ? t(o[1]) : n(o[2]) : !1;
577
702
  }, Rt = (e, t, n = !1) => {
578
- const o = Ta.exec(e);
703
+ const o = Oa.exec(e);
579
704
  return o ? o[1] ? t(o[1]) : n : !1;
580
- }, Ma = (e) => e === "position" || e === "percentage", Ia = (e) => e === "image" || e === "url", ka = (e) => e === "length" || e === "size" || e === "bg-size", Oa = (e) => e === "length", jf = (e) => e === "number", Lf = (e) => e === "family-name", Da = (e) => e === "shadow", Ff = () => {
705
+ }, ja = (e) => e === "position" || e === "percentage", La = (e) => e === "image" || e === "url", Fa = (e) => e === "length" || e === "size" || e === "bg-size", $a = (e) => e === "length", Bf = (e) => e === "number", Hf = (e) => e === "family-name", za = (e) => e === "shadow", Gf = () => {
581
706
  const e = pe("color"), t = pe("font"), n = pe("text"), o = pe("font-weight"), r = pe("tracking"), s = pe("leading"), a = pe("breakpoint"), i = pe("container"), c = pe("spacing"), u = pe("radius"), f = pe("shadow"), p = pe("inset-shadow"), m = pe("text-shadow"), v = pe("drop-shadow"), h = pe("blur"), g = pe("perspective"), x = pe("aspect"), b = pe("ease"), w = pe("animate"), y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
582
707
  "center",
583
708
  "top",
@@ -598,11 +723,11 @@ const pe = (e) => {
598
723
  "left-bottom"
599
724
  ], C = () => [...S(), V, z], P = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], E = () => [V, z, c], T = () => [ft, "full", "auto", ...E()], I = () => [Ve, "none", "subgrid", V, z], k = () => ["auto", {
600
725
  span: ["full", Ve, V, z]
601
- }, Ve, V, z], B = () => [Ve, "auto", V, z], Y = () => ["auto", "min", "max", "fr", V, z], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], X = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...E()], G = () => [ft, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], A = () => [e, V, z], O = () => [...S(), Os, ks, {
726
+ }, Ve, V, z], B = () => [Ve, "auto", V, z], Y = () => ["auto", "min", "max", "fr", V, z], U = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], X = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...E()], G = () => [ft, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], A = () => [e, V, z], O = () => [...S(), Ds, Os, {
602
727
  position: [V, z]
603
728
  }], _ = () => ["no-repeat", {
604
729
  repeat: ["", "x", "y", "space", "round"]
605
- }], $ = () => ["auto", "cover", "contain", Of, Mf, {
730
+ }], $ = () => ["auto", "cover", "contain", zf, Lf, {
606
731
  size: [V, z]
607
732
  }], J = () => [Po, jt, et], q = () => [
608
733
  // Deprecated since Tailwind CSS v4.0.0
@@ -612,7 +737,7 @@ const pe = (e) => {
612
737
  u,
613
738
  V,
614
739
  z
615
- ], Q = () => ["", te, jt, et], re = () => ["solid", "dashed", "dotted", "double"], ae = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [te, Po, Os, ks], H = () => [
740
+ ], Q = () => ["", te, jt, et], re = () => ["solid", "dashed", "dotted", "double"], ae = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [te, Po, Ds, Os], H = () => [
616
741
  // Deprecated since Tailwind CSS v4.0.0
617
742
  "",
618
743
  "none",
@@ -627,11 +752,11 @@ const pe = (e) => {
627
752
  aspect: ["video"],
628
753
  blur: [je],
629
754
  breakpoint: [je],
630
- color: [Pf],
755
+ color: [If],
631
756
  container: [je],
632
757
  "drop-shadow": [je],
633
758
  ease: ["in", "out", "in-out"],
634
- font: [Nf],
759
+ font: [jf],
635
760
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
636
761
  "inset-shadow": [je],
637
762
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -1343,7 +1468,7 @@ const pe = (e) => {
1343
1468
  * @see https://tailwindcss.com/docs/font-family
1344
1469
  */
1345
1470
  "font-family": [{
1346
- font: [kf, z, t]
1471
+ font: [$f, z, t]
1347
1472
  }],
1348
1473
  /**
1349
1474
  * Font Variant Numeric
@@ -1598,7 +1723,7 @@ const pe = (e) => {
1598
1723
  }, Ve, V, z],
1599
1724
  radial: ["", V, z],
1600
1725
  conic: [Ve, V, z]
1601
- }, Df, If]
1726
+ }, Vf, Ff]
1602
1727
  }],
1603
1728
  /**
1604
1729
  * Background Color
@@ -3047,11 +3172,11 @@ const pe = (e) => {
3047
3172
  },
3048
3173
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3049
3174
  };
3050
- }, $f = /* @__PURE__ */ bf(Ff);
3175
+ }, Uf = /* @__PURE__ */ Rf(Gf);
3051
3176
  function j(...e) {
3052
- return $f(Ra(e));
3177
+ return Uf(Na(e));
3053
3178
  }
3054
- const zf = Bn(
3179
+ const Wf = Bn(
3055
3180
  "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
3056
3181
  {
3057
3182
  variants: {
@@ -3075,7 +3200,7 @@ function Wy({
3075
3200
  {
3076
3201
  "data-slot": "alert",
3077
3202
  role: "alert",
3078
- className: j(zf({ variant: t }), e),
3203
+ className: j(Wf({ variant: t }), e),
3079
3204
  ...n
3080
3205
  }
3081
3206
  );
@@ -3109,7 +3234,7 @@ function Yy({
3109
3234
  }
3110
3235
  );
3111
3236
  }
3112
- function Vf(e, t) {
3237
+ function Kf(e, t) {
3113
3238
  const n = l.createContext(t), o = (s) => {
3114
3239
  const { children: a, ...i } = s, c = l.useMemo(() => i, Object.values(i));
3115
3240
  return /* @__PURE__ */ d.jsx(n.Provider, { value: c, children: a });
@@ -3151,9 +3276,9 @@ function de(e, t = []) {
3151
3276
  );
3152
3277
  };
3153
3278
  };
3154
- return r.scopeName = e, [o, Bf(r, ...t)];
3279
+ return r.scopeName = e, [o, Yf(r, ...t)];
3155
3280
  }
3156
- function Bf(...e) {
3281
+ function Yf(...e) {
3157
3282
  const t = e[0];
3158
3283
  if (e.length === 1) return t;
3159
3284
  const n = () => {
@@ -3171,30 +3296,6 @@ function Bf(...e) {
3171
3296
  };
3172
3297
  return n.scopeName = t.scopeName, n;
3173
3298
  }
3174
- function Ds(e, t) {
3175
- if (typeof e == "function")
3176
- return e(t);
3177
- e != null && (e.current = t);
3178
- }
3179
- function Zt(...e) {
3180
- return (t) => {
3181
- let n = !1;
3182
- const o = e.map((r) => {
3183
- const s = Ds(r, t);
3184
- return !n && typeof s == "function" && (n = !0), s;
3185
- });
3186
- if (n)
3187
- return () => {
3188
- for (let r = 0; r < o.length; r++) {
3189
- const s = o[r];
3190
- typeof s == "function" ? s() : Ds(e[r], null);
3191
- }
3192
- };
3193
- };
3194
- }
3195
- function W(...e) {
3196
- return l.useCallback(Zt(...e), e);
3197
- }
3198
3299
  function N(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
3199
3300
  return function(r) {
3200
3301
  if (e?.(r), n === !1 || !r.defaultPrevented)
@@ -3202,15 +3303,15 @@ function N(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
3202
3303
  };
3203
3304
  }
3204
3305
  var ce = globalThis?.document ? l.useLayoutEffect : () => {
3205
- }, Hf = l[" useId ".trim().toString()] || (() => {
3206
- }), Gf = 0;
3306
+ }, Xf = l[" useId ".trim().toString()] || (() => {
3307
+ }), qf = 0;
3207
3308
  function me(e) {
3208
- const [t, n] = l.useState(Hf());
3309
+ const [t, n] = l.useState(Xf());
3209
3310
  return ce(() => {
3210
- n((o) => o ?? String(Gf++));
3311
+ n((o) => o ?? String(qf++));
3211
3312
  }, [e]), e || (t ? `radix-${t}` : "");
3212
3313
  }
3213
- var Uf = l[" useInsertionEffect ".trim().toString()] || ce;
3314
+ var Zf = l[" useInsertionEffect ".trim().toString()] || ce;
3214
3315
  function ve({
3215
3316
  prop: e,
3216
3317
  defaultProp: t,
@@ -3218,7 +3319,7 @@ function ve({
3218
3319
  },
3219
3320
  caller: o
3220
3321
  }) {
3221
- const [r, s, a] = Wf({
3322
+ const [r, s, a] = Jf({
3222
3323
  defaultProp: t,
3223
3324
  onChange: n
3224
3325
  }), i = e !== void 0, c = i ? e : r;
@@ -3234,7 +3335,7 @@ function ve({
3234
3335
  const u = l.useCallback(
3235
3336
  (f) => {
3236
3337
  if (i) {
3237
- const p = Kf(f) ? f(e) : f;
3338
+ const p = Qf(f) ? f(e) : f;
3238
3339
  p !== e && a.current?.(p);
3239
3340
  } else
3240
3341
  s(f);
@@ -3243,104 +3344,27 @@ function ve({
3243
3344
  );
3244
3345
  return [c, u];
3245
3346
  }
3246
- function Wf({
3347
+ function Jf({
3247
3348
  defaultProp: e,
3248
3349
  onChange: t
3249
3350
  }) {
3250
3351
  const [n, o] = l.useState(e), r = l.useRef(n), s = l.useRef(t);
3251
- return Uf(() => {
3352
+ return Zf(() => {
3252
3353
  s.current = t;
3253
3354
  }, [t]), l.useEffect(() => {
3254
3355
  r.current !== n && (s.current?.(n), r.current = n);
3255
3356
  }, [n, r]), [n, o, s];
3256
3357
  }
3257
- function Kf(e) {
3358
+ function Qf(e) {
3258
3359
  return typeof e == "function";
3259
3360
  }
3260
- // @__NO_SIDE_EFFECTS__
3261
- function Ge(e) {
3262
- const t = /* @__PURE__ */ Yf(e), n = l.forwardRef((o, r) => {
3263
- const { children: s, ...a } = o, i = l.Children.toArray(s), c = i.find(Xf);
3264
- if (c) {
3265
- const u = c.props.children, f = i.map((p) => p === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : p);
3266
- return /* @__PURE__ */ d.jsx(t, { ...a, ref: r, children: l.isValidElement(u) ? l.cloneElement(u, void 0, f) : null });
3267
- }
3268
- return /* @__PURE__ */ d.jsx(t, { ...a, ref: r, children: s });
3269
- });
3270
- return n.displayName = `${e}.Slot`, n;
3271
- }
3272
- var br = /* @__PURE__ */ Ge("Slot");
3273
- // @__NO_SIDE_EFFECTS__
3274
- function Yf(e) {
3275
- const t = l.forwardRef((n, o) => {
3276
- const { children: r, ...s } = n;
3277
- if (l.isValidElement(r)) {
3278
- const a = Zf(r), i = qf(s, r.props);
3279
- return r.type !== l.Fragment && (i.ref = o ? Zt(o, a) : a), l.cloneElement(r, i);
3280
- }
3281
- return l.Children.count(r) > 1 ? l.Children.only(null) : null;
3282
- });
3283
- return t.displayName = `${e}.SlotClone`, t;
3284
- }
3285
- var ja = Symbol("radix.slottable");
3286
- // @__NO_SIDE_EFFECTS__
3287
- function La(e) {
3288
- const t = ({ children: n }) => /* @__PURE__ */ d.jsx(d.Fragment, { children: n });
3289
- return t.displayName = `${e}.Slottable`, t.__radixId = ja, t;
3290
- }
3291
- function Xf(e) {
3292
- return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ja;
3293
- }
3294
- function qf(e, t) {
3295
- const n = { ...t };
3296
- for (const o in t) {
3297
- const r = e[o], s = t[o];
3298
- /^on[A-Z]/.test(o) ? r && s ? n[o] = (...i) => {
3299
- const c = s(...i);
3300
- return r(...i), c;
3301
- } : r && (n[o] = r) : o === "style" ? n[o] = { ...r, ...s } : o === "className" && (n[o] = [r, s].filter(Boolean).join(" "));
3302
- }
3303
- return { ...e, ...n };
3304
- }
3305
- function Zf(e) {
3306
- let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
3307
- return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
3308
- }
3309
- var Jf = [
3310
- "a",
3311
- "button",
3312
- "div",
3313
- "form",
3314
- "h2",
3315
- "h3",
3316
- "img",
3317
- "input",
3318
- "label",
3319
- "li",
3320
- "nav",
3321
- "ol",
3322
- "p",
3323
- "select",
3324
- "span",
3325
- "svg",
3326
- "ul"
3327
- ], L = Jf.reduce((e, t) => {
3328
- const n = /* @__PURE__ */ Ge(`Primitive.${t}`), o = l.forwardRef((r, s) => {
3329
- const { asChild: a, ...i } = r, c = a ? n : t;
3330
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ d.jsx(c, { ...i, ref: s });
3331
- });
3332
- return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
3333
- }, {});
3334
- function _n(e, t) {
3335
- e && Vn.flushSync(() => e.dispatchEvent(t));
3336
- }
3337
3361
  function ie(e) {
3338
3362
  const t = l.useRef(e);
3339
3363
  return l.useEffect(() => {
3340
3364
  t.current = e;
3341
3365
  }), l.useMemo(() => (...n) => t.current?.(...n), []);
3342
3366
  }
3343
- function Qf(e, t = globalThis?.document) {
3367
+ function ep(e, t = globalThis?.document) {
3344
3368
  const n = ie(e);
3345
3369
  l.useEffect(() => {
3346
3370
  const o = (r) => {
@@ -3349,7 +3373,7 @@ function Qf(e, t = globalThis?.document) {
3349
3373
  return t.addEventListener("keydown", o, { capture: !0 }), () => t.removeEventListener("keydown", o, { capture: !0 });
3350
3374
  }, [n, t]);
3351
3375
  }
3352
- var ep = "DismissableLayer", Uo = "dismissableLayer.update", tp = "dismissableLayer.pointerDownOutside", np = "dismissableLayer.focusOutside", js, Fa = l.createContext({
3376
+ var tp = "DismissableLayer", Uo = "dismissableLayer.update", np = "dismissableLayer.pointerDownOutside", op = "dismissableLayer.focusOutside", js, Va = l.createContext({
3353
3377
  layers: /* @__PURE__ */ new Set(),
3354
3378
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
3355
3379
  branches: /* @__PURE__ */ new Set()
@@ -3363,14 +3387,14 @@ var ep = "DismissableLayer", Uo = "dismissableLayer.update", tp = "dismissableLa
3363
3387
  onInteractOutside: a,
3364
3388
  onDismiss: i,
3365
3389
  ...c
3366
- } = e, u = l.useContext(Fa), [f, p] = l.useState(null), m = f?.ownerDocument ?? globalThis?.document, [, v] = l.useState({}), h = W(t, (R) => p(R)), g = Array.from(u.layers), [x] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), b = g.indexOf(x), w = f ? g.indexOf(f) : -1, y = u.layersWithOutsidePointerEventsDisabled.size > 0, S = w >= b, C = sp((R) => {
3390
+ } = e, u = l.useContext(Va), [f, p] = l.useState(null), m = f?.ownerDocument ?? globalThis?.document, [, v] = l.useState({}), h = W(t, (R) => p(R)), g = Array.from(u.layers), [x] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), b = g.indexOf(x), w = f ? g.indexOf(f) : -1, y = u.layersWithOutsidePointerEventsDisabled.size > 0, S = w >= b, C = ap((R) => {
3367
3391
  const E = R.target, T = [...u.branches].some((I) => I.contains(E));
3368
3392
  !S || T || (r?.(R), a?.(R), R.defaultPrevented || i?.());
3369
- }, m), P = ap((R) => {
3393
+ }, m), P = ip((R) => {
3370
3394
  const E = R.target;
3371
3395
  [...u.branches].some((I) => I.contains(E)) || (s?.(R), a?.(R), R.defaultPrevented || i?.());
3372
3396
  }, m);
3373
- return Qf((R) => {
3397
+ return ep((R) => {
3374
3398
  w === u.layers.size - 1 && (o?.(R), !R.defaultPrevented && i && (R.preventDefault(), i()));
3375
3399
  }, m), l.useEffect(() => {
3376
3400
  if (f)
@@ -3401,9 +3425,9 @@ var ep = "DismissableLayer", Uo = "dismissableLayer.update", tp = "dismissableLa
3401
3425
  );
3402
3426
  }
3403
3427
  );
3404
- it.displayName = ep;
3405
- var op = "DismissableLayerBranch", rp = l.forwardRef((e, t) => {
3406
- const n = l.useContext(Fa), o = l.useRef(null), r = W(t, o);
3428
+ it.displayName = tp;
3429
+ var rp = "DismissableLayerBranch", sp = l.forwardRef((e, t) => {
3430
+ const n = l.useContext(Va), o = l.useRef(null), r = W(t, o);
3407
3431
  return l.useEffect(() => {
3408
3432
  const s = o.current;
3409
3433
  if (s)
@@ -3412,16 +3436,16 @@ var op = "DismissableLayerBranch", rp = l.forwardRef((e, t) => {
3412
3436
  };
3413
3437
  }, [n.branches]), /* @__PURE__ */ d.jsx(L.div, { ...e, ref: r });
3414
3438
  });
3415
- rp.displayName = op;
3416
- function sp(e, t = globalThis?.document) {
3439
+ sp.displayName = rp;
3440
+ function ap(e, t = globalThis?.document) {
3417
3441
  const n = ie(e), o = l.useRef(!1), r = l.useRef(() => {
3418
3442
  });
3419
3443
  return l.useEffect(() => {
3420
3444
  const s = (i) => {
3421
3445
  if (i.target && !o.current) {
3422
3446
  let c = function() {
3423
- $a(
3424
- tp,
3447
+ Ba(
3448
+ np,
3425
3449
  n,
3426
3450
  u,
3427
3451
  { discrete: !0 }
@@ -3443,11 +3467,11 @@ function sp(e, t = globalThis?.document) {
3443
3467
  onPointerDownCapture: () => o.current = !0
3444
3468
  };
3445
3469
  }
3446
- function ap(e, t = globalThis?.document) {
3470
+ function ip(e, t = globalThis?.document) {
3447
3471
  const n = ie(e), o = l.useRef(!1);
3448
3472
  return l.useEffect(() => {
3449
3473
  const r = (s) => {
3450
- s.target && !o.current && $a(np, n, { originalEvent: s }, {
3474
+ s.target && !o.current && Ba(op, n, { originalEvent: s }, {
3451
3475
  discrete: !1
3452
3476
  });
3453
3477
  };
@@ -3461,11 +3485,11 @@ function Ls() {
3461
3485
  const e = new CustomEvent(Uo);
3462
3486
  document.dispatchEvent(e);
3463
3487
  }
3464
- function $a(e, t, n, { discrete: o }) {
3488
+ function Ba(e, t, n, { discrete: o }) {
3465
3489
  const r = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
3466
3490
  t && r.addEventListener(e, t, { once: !0 }), o ? _n(r, s) : r.dispatchEvent(s);
3467
3491
  }
3468
- var Ao = "focusScope.autoFocusOnMount", To = "focusScope.autoFocusOnUnmount", Fs = { bubbles: !1, cancelable: !0 }, ip = "FocusScope", Jt = l.forwardRef((e, t) => {
3492
+ var Ao = "focusScope.autoFocusOnMount", To = "focusScope.autoFocusOnUnmount", Fs = { bubbles: !1, cancelable: !0 }, cp = "FocusScope", Jt = l.forwardRef((e, t) => {
3469
3493
  const {
3470
3494
  loop: n = !1,
3471
3495
  trapped: o = !1,
@@ -3508,7 +3532,7 @@ var Ao = "focusScope.autoFocusOnMount", To = "focusScope.autoFocusOnUnmount", Fs
3508
3532
  const g = document.activeElement;
3509
3533
  if (!i.contains(g)) {
3510
3534
  const b = new CustomEvent(Ao, Fs);
3511
- i.addEventListener(Ao, u), i.dispatchEvent(b), b.defaultPrevented || (cp(pp(za(i)), { select: !0 }), document.activeElement === g && Be(i));
3535
+ i.addEventListener(Ao, u), i.dispatchEvent(b), b.defaultPrevented || (lp(mp(Ha(i)), { select: !0 }), document.activeElement === g && Be(i));
3512
3536
  }
3513
3537
  return () => {
3514
3538
  i.removeEventListener(Ao, u), setTimeout(() => {
@@ -3523,7 +3547,7 @@ var Ao = "focusScope.autoFocusOnMount", To = "focusScope.autoFocusOnUnmount", Fs
3523
3547
  if (!n && !o || v.paused) return;
3524
3548
  const x = g.key === "Tab" && !g.altKey && !g.ctrlKey && !g.metaKey, b = document.activeElement;
3525
3549
  if (x && b) {
3526
- const w = g.currentTarget, [y, S] = lp(w);
3550
+ const w = g.currentTarget, [y, S] = up(w);
3527
3551
  y && S ? !g.shiftKey && b === S ? (g.preventDefault(), n && Be(y, { select: !0 })) : g.shiftKey && b === y && (g.preventDefault(), n && Be(S, { select: !0 })) : b === w && g.preventDefault();
3528
3552
  }
3529
3553
  },
@@ -3531,17 +3555,17 @@ var Ao = "focusScope.autoFocusOnMount", To = "focusScope.autoFocusOnUnmount", Fs
3531
3555
  );
3532
3556
  return /* @__PURE__ */ d.jsx(L.div, { tabIndex: -1, ...a, ref: m, onKeyDown: h });
3533
3557
  });
3534
- Jt.displayName = ip;
3535
- function cp(e, { select: t = !1 } = {}) {
3558
+ Jt.displayName = cp;
3559
+ function lp(e, { select: t = !1 } = {}) {
3536
3560
  const n = document.activeElement;
3537
3561
  for (const o of e)
3538
3562
  if (Be(o, { select: t }), document.activeElement !== n) return;
3539
3563
  }
3540
- function lp(e) {
3541
- const t = za(e), n = $s(t, e), o = $s(t.reverse(), e);
3564
+ function up(e) {
3565
+ const t = Ha(e), n = $s(t, e), o = $s(t.reverse(), e);
3542
3566
  return [n, o];
3543
3567
  }
3544
- function za(e) {
3568
+ function Ha(e) {
3545
3569
  const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
3546
3570
  acceptNode: (o) => {
3547
3571
  const r = o.tagName === "INPUT" && o.type === "hidden";
@@ -3553,9 +3577,9 @@ function za(e) {
3553
3577
  }
3554
3578
  function $s(e, t) {
3555
3579
  for (const n of e)
3556
- if (!up(n, { upTo: t })) return n;
3580
+ if (!dp(n, { upTo: t })) return n;
3557
3581
  }
3558
- function up(e, { upTo: t }) {
3582
+ function dp(e, { upTo: t }) {
3559
3583
  if (getComputedStyle(e).visibility === "hidden") return !0;
3560
3584
  for (; e; ) {
3561
3585
  if (t !== void 0 && e === t) return !1;
@@ -3564,17 +3588,17 @@ function up(e, { upTo: t }) {
3564
3588
  }
3565
3589
  return !1;
3566
3590
  }
3567
- function dp(e) {
3591
+ function fp(e) {
3568
3592
  return e instanceof HTMLInputElement && "select" in e;
3569
3593
  }
3570
3594
  function Be(e, { select: t = !1 } = {}) {
3571
3595
  if (e && e.focus) {
3572
3596
  const n = document.activeElement;
3573
- e.focus({ preventScroll: !0 }), e !== n && dp(e) && t && e.select();
3597
+ e.focus({ preventScroll: !0 }), e !== n && fp(e) && t && e.select();
3574
3598
  }
3575
3599
  }
3576
- var zs = fp();
3577
- function fp() {
3600
+ var zs = pp();
3601
+ function pp() {
3578
3602
  let e = [];
3579
3603
  return {
3580
3604
  add(t) {
@@ -3590,26 +3614,26 @@ function Vs(e, t) {
3590
3614
  const n = [...e], o = n.indexOf(t);
3591
3615
  return o !== -1 && n.splice(o, 1), n;
3592
3616
  }
3593
- function pp(e) {
3617
+ function mp(e) {
3594
3618
  return e.filter((t) => t.tagName !== "A");
3595
3619
  }
3596
- var mp = "Portal", Pt = l.forwardRef((e, t) => {
3620
+ var gp = "Portal", Pt = l.forwardRef((e, t) => {
3597
3621
  const { container: n, ...o } = e, [r, s] = l.useState(!1);
3598
3622
  ce(() => s(!0), []);
3599
3623
  const a = n || r && globalThis?.document?.body;
3600
3624
  return a ? Sa.createPortal(/* @__PURE__ */ d.jsx(L.div, { ...o, ref: t }), a) : null;
3601
3625
  });
3602
- Pt.displayName = mp;
3603
- function gp(e, t) {
3626
+ Pt.displayName = gp;
3627
+ function vp(e, t) {
3604
3628
  return l.useReducer((n, o) => t[n][o] ?? n, e);
3605
3629
  }
3606
3630
  var ue = (e) => {
3607
- const { present: t, children: n } = e, o = vp(t), r = typeof n == "function" ? n({ present: o.isPresent }) : l.Children.only(n), s = W(o.ref, hp(r));
3631
+ const { present: t, children: n } = e, o = hp(t), r = typeof n == "function" ? n({ present: o.isPresent }) : l.Children.only(n), s = W(o.ref, xp(r));
3608
3632
  return typeof n == "function" || o.isPresent ? l.cloneElement(r, { ref: s }) : null;
3609
3633
  };
3610
3634
  ue.displayName = "Presence";
3611
- function vp(e) {
3612
- const [t, n] = l.useState(), o = l.useRef(null), r = l.useRef(e), s = l.useRef("none"), a = e ? "mounted" : "unmounted", [i, c] = gp(a, {
3635
+ function hp(e) {
3636
+ const [t, n] = l.useState(), o = l.useRef(null), r = l.useRef(e), s = l.useRef("none"), a = e ? "mounted" : "unmounted", [i, c] = vp(a, {
3613
3637
  mounted: {
3614
3638
  UNMOUNT: "unmounted",
3615
3639
  ANIMATION_OUT: "unmountSuspended"
@@ -3660,7 +3684,7 @@ function vp(e) {
3660
3684
  function vn(e) {
3661
3685
  return e?.animationName || "none";
3662
3686
  }
3663
- function hp(e) {
3687
+ function xp(e) {
3664
3688
  let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
3665
3689
  return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
3666
3690
  }
@@ -3686,7 +3710,7 @@ var Ne = function() {
3686
3710
  return t;
3687
3711
  }, Ne.apply(this, arguments);
3688
3712
  };
3689
- function Va(e, t) {
3713
+ function Ga(e, t) {
3690
3714
  var n = {};
3691
3715
  for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
3692
3716
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -3694,16 +3718,16 @@ function Va(e, t) {
3694
3718
  t.indexOf(o[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[r]) && (n[o[r]] = e[o[r]]);
3695
3719
  return n;
3696
3720
  }
3697
- function xp(e, t, n) {
3721
+ function bp(e, t, n) {
3698
3722
  if (n || arguments.length === 2) for (var o = 0, r = t.length, s; o < r; o++)
3699
3723
  (s || !(o in t)) && (s || (s = Array.prototype.slice.call(t, 0, o)), s[o] = t[o]);
3700
3724
  return e.concat(s || Array.prototype.slice.call(t));
3701
3725
  }
3702
- var Cn = "right-scroll-bar-position", En = "width-before-scroll-bar", bp = "with-scroll-bars-hidden", wp = "--removed-body-scroll-bar-size";
3726
+ var Cn = "right-scroll-bar-position", En = "width-before-scroll-bar", wp = "with-scroll-bars-hidden", yp = "--removed-body-scroll-bar-size";
3703
3727
  function Mo(e, t) {
3704
3728
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
3705
3729
  }
3706
- function yp(e, t) {
3730
+ function Sp(e, t) {
3707
3731
  var n = Vo(function() {
3708
3732
  return {
3709
3733
  // value
@@ -3724,14 +3748,14 @@ function yp(e, t) {
3724
3748
  })[0];
3725
3749
  return n.callback = t, n.facade;
3726
3750
  }
3727
- var Sp = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Hs = /* @__PURE__ */ new WeakMap();
3728
- function Cp(e, t) {
3729
- var n = yp(null, function(o) {
3751
+ var Cp = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Hs = /* @__PURE__ */ new WeakMap();
3752
+ function Ep(e, t) {
3753
+ var n = Sp(null, function(o) {
3730
3754
  return e.forEach(function(r) {
3731
3755
  return Mo(r, o);
3732
3756
  });
3733
3757
  });
3734
- return Sp(function() {
3758
+ return Cp(function() {
3735
3759
  var o = Hs.get(n);
3736
3760
  if (o) {
3737
3761
  var r = new Set(o), s = new Set(e), a = n.current;
@@ -3744,11 +3768,11 @@ function Cp(e, t) {
3744
3768
  Hs.set(n, e);
3745
3769
  }, [e]), n;
3746
3770
  }
3747
- function Ep(e) {
3771
+ function Rp(e) {
3748
3772
  return e;
3749
3773
  }
3750
- function Rp(e, t) {
3751
- t === void 0 && (t = Ep);
3774
+ function Pp(e, t) {
3775
+ t === void 0 && (t = Rp);
3752
3776
  var n = [], o = !1, r = {
3753
3777
  read: function() {
3754
3778
  if (o)
@@ -3802,13 +3826,13 @@ function Rp(e, t) {
3802
3826
  };
3803
3827
  return r;
3804
3828
  }
3805
- function Pp(e) {
3829
+ function _p(e) {
3806
3830
  e === void 0 && (e = {});
3807
- var t = Rp(null);
3831
+ var t = Pp(null);
3808
3832
  return t.options = Ne({ async: !0, ssr: !1 }, e), t;
3809
3833
  }
3810
- var Ba = function(e) {
3811
- var t = e.sideCar, n = Va(e, ["sideCar"]);
3834
+ var Ua = function(e) {
3835
+ var t = e.sideCar, n = Ga(e, ["sideCar"]);
3812
3836
  if (!t)
3813
3837
  throw new Error("Sidecar: please provide `sideCar` property to import the right car");
3814
3838
  var o = t.read();
@@ -3816,21 +3840,21 @@ var Ba = function(e) {
3816
3840
  throw new Error("Sidecar medium not found");
3817
3841
  return l.createElement(o, Ne({}, n));
3818
3842
  };
3819
- Ba.isSideCarExport = !0;
3820
- function _p(e, t) {
3821
- return e.useMedium(t), Ba;
3843
+ Ua.isSideCarExport = !0;
3844
+ function Ap(e, t) {
3845
+ return e.useMedium(t), Ua;
3822
3846
  }
3823
- var Ha = Pp(), Io = function() {
3847
+ var Wa = _p(), Io = function() {
3824
3848
  }, Gn = l.forwardRef(function(e, t) {
3825
3849
  var n = l.useRef(null), o = l.useState({
3826
3850
  onScrollCapture: Io,
3827
3851
  onWheelCapture: Io,
3828
3852
  onTouchMoveCapture: Io
3829
- }), r = o[0], s = o[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, f = e.enabled, p = e.shards, m = e.sideCar, v = e.noRelative, h = e.noIsolation, g = e.inert, x = e.allowPinchZoom, b = e.as, w = b === void 0 ? "div" : b, y = e.gapMode, S = Va(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = m, P = Cp([n, t]), R = Ne(Ne({}, S), r);
3853
+ }), r = o[0], s = o[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, f = e.enabled, p = e.shards, m = e.sideCar, v = e.noRelative, h = e.noIsolation, g = e.inert, x = e.allowPinchZoom, b = e.as, w = b === void 0 ? "div" : b, y = e.gapMode, S = Ga(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = m, P = Ep([n, t]), R = Ne(Ne({}, S), r);
3830
3854
  return l.createElement(
3831
3855
  l.Fragment,
3832
3856
  null,
3833
- f && l.createElement(C, { sideCar: Ha, removeScrollBar: u, shards: p, noRelative: v, noIsolation: h, inert: g, setCallbacks: s, allowPinchZoom: !!x, lockRef: n, gapMode: y }),
3857
+ f && l.createElement(C, { sideCar: Wa, removeScrollBar: u, shards: p, noRelative: v, noIsolation: h, inert: g, setCallbacks: s, allowPinchZoom: !!x, lockRef: n, gapMode: y }),
3834
3858
  a ? l.cloneElement(l.Children.only(i), Ne(Ne({}, R), { ref: P })) : l.createElement(w, Ne({}, R, { className: c, ref: P }), i)
3835
3859
  );
3836
3860
  });
@@ -3843,37 +3867,37 @@ Gn.classNames = {
3843
3867
  fullWidth: En,
3844
3868
  zeroRight: Cn
3845
3869
  };
3846
- var Ap = function() {
3870
+ var Tp = function() {
3847
3871
  if (typeof __webpack_nonce__ < "u")
3848
3872
  return __webpack_nonce__;
3849
3873
  };
3850
- function Tp() {
3874
+ function Np() {
3851
3875
  if (!document)
3852
3876
  return null;
3853
3877
  var e = document.createElement("style");
3854
3878
  e.type = "text/css";
3855
- var t = Ap();
3879
+ var t = Tp();
3856
3880
  return t && e.setAttribute("nonce", t), e;
3857
3881
  }
3858
- function Np(e, t) {
3882
+ function Mp(e, t) {
3859
3883
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
3860
3884
  }
3861
- function Mp(e) {
3885
+ function Ip(e) {
3862
3886
  var t = document.head || document.getElementsByTagName("head")[0];
3863
3887
  t.appendChild(e);
3864
3888
  }
3865
- var Ip = function() {
3889
+ var kp = function() {
3866
3890
  var e = 0, t = null;
3867
3891
  return {
3868
3892
  add: function(n) {
3869
- e == 0 && (t = Tp()) && (Np(t, n), Mp(t)), e++;
3893
+ e == 0 && (t = Np()) && (Mp(t, n), Ip(t)), e++;
3870
3894
  },
3871
3895
  remove: function() {
3872
3896
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
3873
3897
  }
3874
3898
  };
3875
- }, kp = function() {
3876
- var e = Ip();
3899
+ }, Op = function() {
3900
+ var e = kp();
3877
3901
  return function(t, n) {
3878
3902
  l.useEffect(function() {
3879
3903
  return e.add(t), function() {
@@ -3881,36 +3905,36 @@ var Ip = function() {
3881
3905
  };
3882
3906
  }, [t && n]);
3883
3907
  };
3884
- }, Ga = function() {
3885
- var e = kp(), t = function(n) {
3908
+ }, Ka = function() {
3909
+ var e = Op(), t = function(n) {
3886
3910
  var o = n.styles, r = n.dynamic;
3887
3911
  return e(o, r), null;
3888
3912
  };
3889
3913
  return t;
3890
- }, Op = {
3914
+ }, Dp = {
3891
3915
  left: 0,
3892
3916
  top: 0,
3893
3917
  right: 0,
3894
3918
  gap: 0
3895
3919
  }, ko = function(e) {
3896
3920
  return parseInt(e || "", 10) || 0;
3897
- }, Dp = function(e) {
3921
+ }, jp = function(e) {
3898
3922
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], o = t[e === "padding" ? "paddingTop" : "marginTop"], r = t[e === "padding" ? "paddingRight" : "marginRight"];
3899
3923
  return [ko(n), ko(o), ko(r)];
3900
- }, jp = function(e) {
3924
+ }, Lp = function(e) {
3901
3925
  if (e === void 0 && (e = "margin"), typeof window > "u")
3902
- return Op;
3903
- var t = Dp(e), n = document.documentElement.clientWidth, o = window.innerWidth;
3926
+ return Dp;
3927
+ var t = jp(e), n = document.documentElement.clientWidth, o = window.innerWidth;
3904
3928
  return {
3905
3929
  left: t[0],
3906
3930
  top: t[1],
3907
3931
  right: t[2],
3908
3932
  gap: Math.max(0, o - n + t[2] - t[0])
3909
3933
  };
3910
- }, Lp = Ga(), vt = "data-scroll-locked", Fp = function(e, t, n, o) {
3934
+ }, Fp = Ka(), vt = "data-scroll-locked", $p = function(e, t, n, o) {
3911
3935
  var r = e.left, s = e.top, a = e.right, i = e.gap;
3912
3936
  return n === void 0 && (n = "margin"), `
3913
- .`.concat(bp, ` {
3937
+ .`.concat(wp, ` {
3914
3938
  overflow: hidden `).concat(o, `;
3915
3939
  padding-right: `).concat(i, "px ").concat(o, `;
3916
3940
  }
@@ -3948,26 +3972,26 @@ var Ip = function() {
3948
3972
  }
3949
3973
 
3950
3974
  body[`).concat(vt, `] {
3951
- `).concat(wp, ": ").concat(i, `px;
3975
+ `).concat(yp, ": ").concat(i, `px;
3952
3976
  }
3953
3977
  `);
3954
3978
  }, Gs = function() {
3955
3979
  var e = parseInt(document.body.getAttribute(vt) || "0", 10);
3956
3980
  return isFinite(e) ? e : 0;
3957
- }, $p = function() {
3981
+ }, zp = function() {
3958
3982
  l.useEffect(function() {
3959
3983
  return document.body.setAttribute(vt, (Gs() + 1).toString()), function() {
3960
3984
  var e = Gs() - 1;
3961
3985
  e <= 0 ? document.body.removeAttribute(vt) : document.body.setAttribute(vt, e.toString());
3962
3986
  };
3963
3987
  }, []);
3964
- }, zp = function(e) {
3988
+ }, Vp = function(e) {
3965
3989
  var t = e.noRelative, n = e.noImportant, o = e.gapMode, r = o === void 0 ? "margin" : o;
3966
- $p();
3990
+ zp();
3967
3991
  var s = l.useMemo(function() {
3968
- return jp(r);
3992
+ return Lp(r);
3969
3993
  }, [r]);
3970
- return l.createElement(Lp, { styles: Fp(s, !t, r, n ? "" : "!important") });
3994
+ return l.createElement(Fp, { styles: $p(s, !t, r, n ? "" : "!important") });
3971
3995
  }, Wo = !1;
3972
3996
  if (typeof window < "u")
3973
3997
  try {
@@ -3980,61 +4004,61 @@ if (typeof window < "u")
3980
4004
  } catch {
3981
4005
  Wo = !1;
3982
4006
  }
3983
- var pt = Wo ? { passive: !1 } : !1, Vp = function(e) {
4007
+ var pt = Wo ? { passive: !1 } : !1, Bp = function(e) {
3984
4008
  return e.tagName === "TEXTAREA";
3985
- }, Ua = function(e, t) {
4009
+ }, Ya = function(e, t) {
3986
4010
  if (!(e instanceof Element))
3987
4011
  return !1;
3988
4012
  var n = window.getComputedStyle(e);
3989
4013
  return (
3990
4014
  // not-not-scrollable
3991
4015
  n[t] !== "hidden" && // contains scroll inside self
3992
- !(n.overflowY === n.overflowX && !Vp(e) && n[t] === "visible")
4016
+ !(n.overflowY === n.overflowX && !Bp(e) && n[t] === "visible")
3993
4017
  );
3994
- }, Bp = function(e) {
3995
- return Ua(e, "overflowY");
3996
4018
  }, Hp = function(e) {
3997
- return Ua(e, "overflowX");
4019
+ return Ya(e, "overflowY");
4020
+ }, Gp = function(e) {
4021
+ return Ya(e, "overflowX");
3998
4022
  }, Us = function(e, t) {
3999
4023
  var n = t.ownerDocument, o = t;
4000
4024
  do {
4001
4025
  typeof ShadowRoot < "u" && o instanceof ShadowRoot && (o = o.host);
4002
- var r = Wa(e, o);
4026
+ var r = Xa(e, o);
4003
4027
  if (r) {
4004
- var s = Ka(e, o), a = s[1], i = s[2];
4028
+ var s = qa(e, o), a = s[1], i = s[2];
4005
4029
  if (a > i)
4006
4030
  return !0;
4007
4031
  }
4008
4032
  o = o.parentNode;
4009
4033
  } while (o && o !== n.body);
4010
4034
  return !1;
4011
- }, Gp = function(e) {
4035
+ }, Up = function(e) {
4012
4036
  var t = e.scrollTop, n = e.scrollHeight, o = e.clientHeight;
4013
4037
  return [
4014
4038
  t,
4015
4039
  n,
4016
4040
  o
4017
4041
  ];
4018
- }, Up = function(e) {
4042
+ }, Wp = function(e) {
4019
4043
  var t = e.scrollLeft, n = e.scrollWidth, o = e.clientWidth;
4020
4044
  return [
4021
4045
  t,
4022
4046
  n,
4023
4047
  o
4024
4048
  ];
4025
- }, Wa = function(e, t) {
4026
- return e === "v" ? Bp(t) : Hp(t);
4027
- }, Ka = function(e, t) {
4028
- return e === "v" ? Gp(t) : Up(t);
4029
- }, Wp = function(e, t) {
4049
+ }, Xa = function(e, t) {
4050
+ return e === "v" ? Hp(t) : Gp(t);
4051
+ }, qa = function(e, t) {
4052
+ return e === "v" ? Up(t) : Wp(t);
4053
+ }, Kp = function(e, t) {
4030
4054
  return e === "h" && t === "rtl" ? -1 : 1;
4031
- }, Kp = function(e, t, n, o, r) {
4032
- var s = Wp(e, window.getComputedStyle(t).direction), a = s * o, i = n.target, c = t.contains(i), u = !1, f = a > 0, p = 0, m = 0;
4055
+ }, Yp = function(e, t, n, o, r) {
4056
+ var s = Kp(e, window.getComputedStyle(t).direction), a = s * o, i = n.target, c = t.contains(i), u = !1, f = a > 0, p = 0, m = 0;
4033
4057
  do {
4034
4058
  if (!i)
4035
4059
  break;
4036
- var v = Ka(e, i), h = v[0], g = v[1], x = v[2], b = g - x - s * h;
4037
- (h || b) && Wa(e, i) && (p += b, m += h);
4060
+ var v = qa(e, i), h = v[0], g = v[1], x = v[2], b = g - x - s * h;
4061
+ (h || b) && Xa(e, i) && (p += b, m += h);
4038
4062
  var w = i.parentNode;
4039
4063
  i = w && w.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? w.host : w;
4040
4064
  } while (
@@ -4049,22 +4073,22 @@ var pt = Wo ? { passive: !1 } : !1, Vp = function(e) {
4049
4073
  return [e.deltaX, e.deltaY];
4050
4074
  }, Ks = function(e) {
4051
4075
  return e && "current" in e ? e.current : e;
4052
- }, Yp = function(e, t) {
4076
+ }, Xp = function(e, t) {
4053
4077
  return e[0] === t[0] && e[1] === t[1];
4054
- }, Xp = function(e) {
4078
+ }, qp = function(e) {
4055
4079
  return `
4056
4080
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
4057
4081
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
4058
4082
  `);
4059
- }, qp = 0, mt = [];
4060
- function Zp(e) {
4061
- var t = l.useRef([]), n = l.useRef([0, 0]), o = l.useRef(), r = l.useState(qp++)[0], s = l.useState(Ga)[0], a = l.useRef(e);
4083
+ }, Zp = 0, mt = [];
4084
+ function Jp(e) {
4085
+ var t = l.useRef([]), n = l.useRef([0, 0]), o = l.useRef(), r = l.useState(Zp++)[0], s = l.useState(Ka)[0], a = l.useRef(e);
4062
4086
  l.useEffect(function() {
4063
4087
  a.current = e;
4064
4088
  }, [e]), l.useEffect(function() {
4065
4089
  if (e.inert) {
4066
4090
  document.body.classList.add("block-interactivity-".concat(r));
4067
- var g = xp([e.lockRef.current], (e.shards || []).map(Ks), !0).filter(Boolean);
4091
+ var g = bp([e.lockRef.current], (e.shards || []).map(Ks), !0).filter(Boolean);
4068
4092
  return g.forEach(function(x) {
4069
4093
  return x.classList.add("allow-interactivity-".concat(r));
4070
4094
  }), function() {
@@ -4088,12 +4112,12 @@ function Zp(e) {
4088
4112
  if (!o.current && "changedTouches" in g && (y || S) && (o.current = C), !C)
4089
4113
  return !0;
4090
4114
  var T = o.current || C;
4091
- return Kp(T, x, g, T === "h" ? y : S);
4115
+ return Yp(T, x, g, T === "h" ? y : S);
4092
4116
  }, []), c = l.useCallback(function(g) {
4093
4117
  var x = g;
4094
4118
  if (!(!mt.length || mt[mt.length - 1] !== s)) {
4095
4119
  var b = "deltaY" in x ? Ws(x) : xn(x), w = t.current.filter(function(C) {
4096
- return C.name === x.type && (C.target === x.target || x.target === C.shadowParent) && Yp(C.delta, b);
4120
+ return C.name === x.type && (C.target === x.target || x.target === C.shadowParent) && Xp(C.delta, b);
4097
4121
  })[0];
4098
4122
  if (w && w.should) {
4099
4123
  x.cancelable && x.preventDefault();
@@ -4107,7 +4131,7 @@ function Zp(e) {
4107
4131
  }
4108
4132
  }
4109
4133
  }, []), u = l.useCallback(function(g, x, b, w) {
4110
- var y = { name: g, delta: x, target: b, should: w, shadowParent: Jp(b) };
4134
+ var y = { name: g, delta: x, target: b, should: w, shadowParent: Qp(b) };
4111
4135
  t.current.push(y), setTimeout(function() {
4112
4136
  t.current = t.current.filter(function(S) {
4113
4137
  return S !== y;
@@ -4135,38 +4159,38 @@ function Zp(e) {
4135
4159
  return l.createElement(
4136
4160
  l.Fragment,
4137
4161
  null,
4138
- h ? l.createElement(s, { styles: Xp(r) }) : null,
4139
- v ? l.createElement(zp, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
4162
+ h ? l.createElement(s, { styles: qp(r) }) : null,
4163
+ v ? l.createElement(Vp, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
4140
4164
  );
4141
4165
  }
4142
- function Jp(e) {
4166
+ function Qp(e) {
4143
4167
  for (var t = null; e !== null; )
4144
4168
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
4145
4169
  return t;
4146
4170
  }
4147
- const Qp = _p(Ha, Zp);
4171
+ const em = Ap(Wa, Jp);
4148
4172
  var Qt = l.forwardRef(function(e, t) {
4149
- return l.createElement(Gn, Ne({}, e, { ref: t, sideCar: Qp }));
4173
+ return l.createElement(Gn, Ne({}, e, { ref: t, sideCar: em }));
4150
4174
  });
4151
4175
  Qt.classNames = Gn.classNames;
4152
- var em = function(e) {
4176
+ var tm = function(e) {
4153
4177
  if (typeof document > "u")
4154
4178
  return null;
4155
4179
  var t = Array.isArray(e) ? e[0] : e;
4156
4180
  return t.ownerDocument.body;
4157
- }, gt = /* @__PURE__ */ new WeakMap(), bn = /* @__PURE__ */ new WeakMap(), wn = {}, Oo = 0, Ya = function(e) {
4158
- return e && (e.host || Ya(e.parentNode));
4159
- }, tm = function(e, t) {
4181
+ }, gt = /* @__PURE__ */ new WeakMap(), bn = /* @__PURE__ */ new WeakMap(), wn = {}, Oo = 0, Za = function(e) {
4182
+ return e && (e.host || Za(e.parentNode));
4183
+ }, nm = function(e, t) {
4160
4184
  return t.map(function(n) {
4161
4185
  if (e.contains(n))
4162
4186
  return n;
4163
- var o = Ya(n);
4187
+ var o = Za(n);
4164
4188
  return o && e.contains(o) ? o : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
4165
4189
  }).filter(function(n) {
4166
4190
  return !!n;
4167
4191
  });
4168
- }, nm = function(e, t, n, o) {
4169
- var r = tm(t, Array.isArray(e) ? e : [e]);
4192
+ }, om = function(e, t, n, o) {
4193
+ var r = nm(t, Array.isArray(e) ? e : [e]);
4170
4194
  wn[n] || (wn[n] = /* @__PURE__ */ new WeakMap());
4171
4195
  var s = wn[n], a = [], i = /* @__PURE__ */ new Set(), c = new Set(r), u = function(p) {
4172
4196
  !p || i.has(p) || (i.add(p), u(p.parentNode));
@@ -4193,11 +4217,11 @@ var em = function(e) {
4193
4217
  };
4194
4218
  }, Un = function(e, t, n) {
4195
4219
  n === void 0 && (n = "data-aria-hidden");
4196
- var o = Array.from(Array.isArray(e) ? e : [e]), r = em(e);
4197
- return r ? (o.push.apply(o, Array.from(r.querySelectorAll("[aria-live], script"))), nm(o, r, n, "aria-hidden")) : function() {
4220
+ var o = Array.from(Array.isArray(e) ? e : [e]), r = tm(e);
4221
+ return r ? (o.push.apply(o, Array.from(r.querySelectorAll("[aria-live], script"))), om(o, r, n, "aria-hidden")) : function() {
4198
4222
  return null;
4199
4223
  };
4200
- }, Wn = "Dialog", [Xa, qa] = de(Wn), [om, Te] = Xa(Wn), Za = (e) => {
4224
+ }, Wn = "Dialog", [Ja, Qa] = de(Wn), [rm, Te] = Ja(Wn), ei = (e) => {
4201
4225
  const {
4202
4226
  __scopeDialog: t,
4203
4227
  children: n,
@@ -4212,7 +4236,7 @@ var em = function(e) {
4212
4236
  caller: Wn
4213
4237
  });
4214
4238
  return /* @__PURE__ */ d.jsx(
4215
- om,
4239
+ rm,
4216
4240
  {
4217
4241
  scope: t,
4218
4242
  triggerRef: i,
@@ -4228,10 +4252,10 @@ var em = function(e) {
4228
4252
  }
4229
4253
  );
4230
4254
  };
4231
- Za.displayName = Wn;
4232
- var Ja = "DialogTrigger", Qa = l.forwardRef(
4255
+ ei.displayName = Wn;
4256
+ var ti = "DialogTrigger", ni = l.forwardRef(
4233
4257
  (e, t) => {
4234
- const { __scopeDialog: n, ...o } = e, r = Te(Ja, n), s = W(t, r.triggerRef);
4258
+ const { __scopeDialog: n, ...o } = e, r = Te(ti, n), s = W(t, r.triggerRef);
4235
4259
  return /* @__PURE__ */ d.jsx(
4236
4260
  L.button,
4237
4261
  {
@@ -4247,28 +4271,28 @@ var Ja = "DialogTrigger", Qa = l.forwardRef(
4247
4271
  );
4248
4272
  }
4249
4273
  );
4250
- Qa.displayName = Ja;
4251
- var wr = "DialogPortal", [rm, ei] = Xa(wr, {
4274
+ ni.displayName = ti;
4275
+ var wr = "DialogPortal", [sm, oi] = Ja(wr, {
4252
4276
  forceMount: void 0
4253
- }), ti = (e) => {
4277
+ }), ri = (e) => {
4254
4278
  const { __scopeDialog: t, forceMount: n, children: o, container: r } = e, s = Te(wr, t);
4255
- return /* @__PURE__ */ d.jsx(rm, { scope: t, forceMount: n, children: l.Children.map(o, (a) => /* @__PURE__ */ d.jsx(ue, { present: n || s.open, children: /* @__PURE__ */ d.jsx(Pt, { asChild: !0, container: r, children: a }) })) });
4279
+ return /* @__PURE__ */ d.jsx(sm, { scope: t, forceMount: n, children: l.Children.map(o, (a) => /* @__PURE__ */ d.jsx(ue, { present: n || s.open, children: /* @__PURE__ */ d.jsx(Pt, { asChild: !0, container: r, children: a }) })) });
4256
4280
  };
4257
- ti.displayName = wr;
4258
- var An = "DialogOverlay", ni = l.forwardRef(
4281
+ ri.displayName = wr;
4282
+ var An = "DialogOverlay", si = l.forwardRef(
4259
4283
  (e, t) => {
4260
- const n = ei(An, e.__scopeDialog), { forceMount: o = n.forceMount, ...r } = e, s = Te(An, e.__scopeDialog);
4261
- return s.modal ? /* @__PURE__ */ d.jsx(ue, { present: o || s.open, children: /* @__PURE__ */ d.jsx(am, { ...r, ref: t }) }) : null;
4284
+ const n = oi(An, e.__scopeDialog), { forceMount: o = n.forceMount, ...r } = e, s = Te(An, e.__scopeDialog);
4285
+ return s.modal ? /* @__PURE__ */ d.jsx(ue, { present: o || s.open, children: /* @__PURE__ */ d.jsx(im, { ...r, ref: t }) }) : null;
4262
4286
  }
4263
4287
  );
4264
- ni.displayName = An;
4265
- var sm = /* @__PURE__ */ Ge("DialogOverlay.RemoveScroll"), am = l.forwardRef(
4288
+ si.displayName = An;
4289
+ var am = /* @__PURE__ */ Ge("DialogOverlay.RemoveScroll"), im = l.forwardRef(
4266
4290
  (e, t) => {
4267
4291
  const { __scopeDialog: n, ...o } = e, r = Te(An, n);
4268
4292
  return (
4269
4293
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
4270
4294
  // ie. when `Overlay` and `Content` are siblings
4271
- /* @__PURE__ */ d.jsx(Qt, { as: sm, allowPinchZoom: !0, shards: [r.contentRef], children: /* @__PURE__ */ d.jsx(
4295
+ /* @__PURE__ */ d.jsx(Qt, { as: am, allowPinchZoom: !0, shards: [r.contentRef], children: /* @__PURE__ */ d.jsx(
4272
4296
  L.div,
4273
4297
  {
4274
4298
  "data-state": Sr(r.open),
@@ -4279,21 +4303,21 @@ var sm = /* @__PURE__ */ Ge("DialogOverlay.RemoveScroll"), am = l.forwardRef(
4279
4303
  ) })
4280
4304
  );
4281
4305
  }
4282
- ), tt = "DialogContent", oi = l.forwardRef(
4306
+ ), tt = "DialogContent", ai = l.forwardRef(
4283
4307
  (e, t) => {
4284
- const n = ei(tt, e.__scopeDialog), { forceMount: o = n.forceMount, ...r } = e, s = Te(tt, e.__scopeDialog);
4285
- return /* @__PURE__ */ d.jsx(ue, { present: o || s.open, children: s.modal ? /* @__PURE__ */ d.jsx(im, { ...r, ref: t }) : /* @__PURE__ */ d.jsx(cm, { ...r, ref: t }) });
4308
+ const n = oi(tt, e.__scopeDialog), { forceMount: o = n.forceMount, ...r } = e, s = Te(tt, e.__scopeDialog);
4309
+ return /* @__PURE__ */ d.jsx(ue, { present: o || s.open, children: s.modal ? /* @__PURE__ */ d.jsx(cm, { ...r, ref: t }) : /* @__PURE__ */ d.jsx(lm, { ...r, ref: t }) });
4286
4310
  }
4287
4311
  );
4288
- oi.displayName = tt;
4289
- var im = l.forwardRef(
4312
+ ai.displayName = tt;
4313
+ var cm = l.forwardRef(
4290
4314
  (e, t) => {
4291
4315
  const n = Te(tt, e.__scopeDialog), o = l.useRef(null), r = W(t, n.contentRef, o);
4292
4316
  return l.useEffect(() => {
4293
4317
  const s = o.current;
4294
4318
  if (s) return Un(s);
4295
4319
  }, []), /* @__PURE__ */ d.jsx(
4296
- ri,
4320
+ ii,
4297
4321
  {
4298
4322
  ...e,
4299
4323
  ref: r,
@@ -4313,11 +4337,11 @@ var im = l.forwardRef(
4313
4337
  }
4314
4338
  );
4315
4339
  }
4316
- ), cm = l.forwardRef(
4340
+ ), lm = l.forwardRef(
4317
4341
  (e, t) => {
4318
4342
  const n = Te(tt, e.__scopeDialog), o = l.useRef(!1), r = l.useRef(!1);
4319
4343
  return /* @__PURE__ */ d.jsx(
4320
- ri,
4344
+ ii,
4321
4345
  {
4322
4346
  ...e,
4323
4347
  ref: t,
@@ -4334,7 +4358,7 @@ var im = l.forwardRef(
4334
4358
  }
4335
4359
  );
4336
4360
  }
4337
- ), ri = l.forwardRef(
4361
+ ), ii = l.forwardRef(
4338
4362
  (e, t) => {
4339
4363
  const { __scopeDialog: n, trapFocus: o, onOpenAutoFocus: r, onCloseAutoFocus: s, ...a } = e, i = Te(tt, n), c = l.useRef(null), u = W(t, c);
4340
4364
  return Hn(), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
@@ -4362,28 +4386,28 @@ var im = l.forwardRef(
4362
4386
  }
4363
4387
  ),
4364
4388
  /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
4365
- /* @__PURE__ */ d.jsx(um, { titleId: i.titleId }),
4366
- /* @__PURE__ */ d.jsx(fm, { contentRef: c, descriptionId: i.descriptionId })
4389
+ /* @__PURE__ */ d.jsx(dm, { titleId: i.titleId }),
4390
+ /* @__PURE__ */ d.jsx(pm, { contentRef: c, descriptionId: i.descriptionId })
4367
4391
  ] })
4368
4392
  ] });
4369
4393
  }
4370
- ), yr = "DialogTitle", si = l.forwardRef(
4394
+ ), yr = "DialogTitle", ci = l.forwardRef(
4371
4395
  (e, t) => {
4372
4396
  const { __scopeDialog: n, ...o } = e, r = Te(yr, n);
4373
4397
  return /* @__PURE__ */ d.jsx(L.h2, { id: r.titleId, ...o, ref: t });
4374
4398
  }
4375
4399
  );
4376
- si.displayName = yr;
4377
- var ai = "DialogDescription", ii = l.forwardRef(
4400
+ ci.displayName = yr;
4401
+ var li = "DialogDescription", ui = l.forwardRef(
4378
4402
  (e, t) => {
4379
- const { __scopeDialog: n, ...o } = e, r = Te(ai, n);
4403
+ const { __scopeDialog: n, ...o } = e, r = Te(li, n);
4380
4404
  return /* @__PURE__ */ d.jsx(L.p, { id: r.descriptionId, ...o, ref: t });
4381
4405
  }
4382
4406
  );
4383
- ii.displayName = ai;
4384
- var ci = "DialogClose", li = l.forwardRef(
4407
+ ui.displayName = li;
4408
+ var di = "DialogClose", fi = l.forwardRef(
4385
4409
  (e, t) => {
4386
- const { __scopeDialog: n, ...o } = e, r = Te(ci, n);
4410
+ const { __scopeDialog: n, ...o } = e, r = Te(di, n);
4387
4411
  return /* @__PURE__ */ d.jsx(
4388
4412
  L.button,
4389
4413
  {
@@ -4395,16 +4419,16 @@ var ci = "DialogClose", li = l.forwardRef(
4395
4419
  );
4396
4420
  }
4397
4421
  );
4398
- li.displayName = ci;
4422
+ fi.displayName = di;
4399
4423
  function Sr(e) {
4400
4424
  return e ? "open" : "closed";
4401
4425
  }
4402
- var ui = "DialogTitleWarning", [lm, di] = Vf(ui, {
4426
+ var pi = "DialogTitleWarning", [um, mi] = Kf(pi, {
4403
4427
  contentName: tt,
4404
4428
  titleName: yr,
4405
4429
  docsSlug: "dialog"
4406
- }), um = ({ titleId: e }) => {
4407
- const t = di(ui), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
4430
+ }), dm = ({ titleId: e }) => {
4431
+ const t = mi(pi), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
4408
4432
 
4409
4433
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4410
4434
 
@@ -4412,49 +4436,49 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
4412
4436
  return l.useEffect(() => {
4413
4437
  e && (document.getElementById(e) || console.error(n));
4414
4438
  }, [n, e]), null;
4415
- }, dm = "DialogDescriptionWarning", fm = ({ contentRef: e, descriptionId: t }) => {
4416
- const o = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${di(dm).contentName}}.`;
4439
+ }, fm = "DialogDescriptionWarning", pm = ({ contentRef: e, descriptionId: t }) => {
4440
+ const o = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${mi(fm).contentName}}.`;
4417
4441
  return l.useEffect(() => {
4418
4442
  const r = e.current?.getAttribute("aria-describedby");
4419
4443
  t && r && (document.getElementById(t) || console.warn(o));
4420
4444
  }, [o, e, t]), null;
4421
- }, fi = Za, pi = Qa, mi = ti, gi = ni, vi = oi, hi = si, xi = ii, Kn = li, bi = "AlertDialog", [pm, Xy] = de(bi, [
4422
- qa
4423
- ]), $e = qa(), wi = (e) => {
4445
+ }, gi = ei, vi = ni, hi = ri, xi = si, bi = ai, wi = ci, yi = ui, Kn = fi, Si = "AlertDialog", [mm, Xy] = de(Si, [
4446
+ Qa
4447
+ ]), $e = Qa(), Ci = (e) => {
4424
4448
  const { __scopeAlertDialog: t, ...n } = e, o = $e(t);
4425
- return /* @__PURE__ */ d.jsx(fi, { ...o, ...n, modal: !0 });
4449
+ return /* @__PURE__ */ d.jsx(gi, { ...o, ...n, modal: !0 });
4426
4450
  };
4427
- wi.displayName = bi;
4428
- var mm = "AlertDialogTrigger", yi = l.forwardRef(
4451
+ Ci.displayName = Si;
4452
+ var gm = "AlertDialogTrigger", Ei = l.forwardRef(
4429
4453
  (e, t) => {
4430
4454
  const { __scopeAlertDialog: n, ...o } = e, r = $e(n);
4431
- return /* @__PURE__ */ d.jsx(pi, { ...r, ...o, ref: t });
4455
+ return /* @__PURE__ */ d.jsx(vi, { ...r, ...o, ref: t });
4432
4456
  }
4433
4457
  );
4434
- yi.displayName = mm;
4435
- var gm = "AlertDialogPortal", Si = (e) => {
4458
+ Ei.displayName = gm;
4459
+ var vm = "AlertDialogPortal", Ri = (e) => {
4436
4460
  const { __scopeAlertDialog: t, ...n } = e, o = $e(t);
4437
- return /* @__PURE__ */ d.jsx(mi, { ...o, ...n });
4461
+ return /* @__PURE__ */ d.jsx(hi, { ...o, ...n });
4438
4462
  };
4439
- Si.displayName = gm;
4440
- var vm = "AlertDialogOverlay", Ci = l.forwardRef(
4463
+ Ri.displayName = vm;
4464
+ var hm = "AlertDialogOverlay", Pi = l.forwardRef(
4441
4465
  (e, t) => {
4442
4466
  const { __scopeAlertDialog: n, ...o } = e, r = $e(n);
4443
- return /* @__PURE__ */ d.jsx(gi, { ...r, ...o, ref: t });
4467
+ return /* @__PURE__ */ d.jsx(xi, { ...r, ...o, ref: t });
4444
4468
  }
4445
4469
  );
4446
- Ci.displayName = vm;
4447
- var ht = "AlertDialogContent", [hm, xm] = pm(ht), bm = /* @__PURE__ */ La("AlertDialogContent"), Ei = l.forwardRef(
4470
+ Pi.displayName = hm;
4471
+ var ht = "AlertDialogContent", [xm, bm] = mm(ht), wm = /* @__PURE__ */ Ra("AlertDialogContent"), _i = l.forwardRef(
4448
4472
  (e, t) => {
4449
4473
  const { __scopeAlertDialog: n, children: o, ...r } = e, s = $e(n), a = l.useRef(null), i = W(t, a), c = l.useRef(null);
4450
4474
  return /* @__PURE__ */ d.jsx(
4451
- lm,
4475
+ um,
4452
4476
  {
4453
4477
  contentName: ht,
4454
- titleName: Ri,
4478
+ titleName: Ai,
4455
4479
  docsSlug: "alert-dialog",
4456
- children: /* @__PURE__ */ d.jsx(hm, { scope: n, cancelRef: c, children: /* @__PURE__ */ d.jsxs(
4457
- vi,
4480
+ children: /* @__PURE__ */ d.jsx(xm, { scope: n, cancelRef: c, children: /* @__PURE__ */ d.jsxs(
4481
+ bi,
4458
4482
  {
4459
4483
  role: "alertdialog",
4460
4484
  ...s,
@@ -4466,8 +4490,8 @@ var ht = "AlertDialogContent", [hm, xm] = pm(ht), bm = /* @__PURE__ */ La("Alert
4466
4490
  onPointerDownOutside: (u) => u.preventDefault(),
4467
4491
  onInteractOutside: (u) => u.preventDefault(),
4468
4492
  children: [
4469
- /* @__PURE__ */ d.jsx(bm, { children: o }),
4470
- /* @__PURE__ */ d.jsx(ym, { contentRef: a })
4493
+ /* @__PURE__ */ d.jsx(wm, { children: o }),
4494
+ /* @__PURE__ */ d.jsx(Sm, { contentRef: a })
4471
4495
  ]
4472
4496
  }
4473
4497
  ) })
@@ -4475,37 +4499,37 @@ var ht = "AlertDialogContent", [hm, xm] = pm(ht), bm = /* @__PURE__ */ La("Alert
4475
4499
  );
4476
4500
  }
4477
4501
  );
4478
- Ei.displayName = ht;
4479
- var Ri = "AlertDialogTitle", Pi = l.forwardRef(
4502
+ _i.displayName = ht;
4503
+ var Ai = "AlertDialogTitle", Ti = l.forwardRef(
4480
4504
  (e, t) => {
4481
4505
  const { __scopeAlertDialog: n, ...o } = e, r = $e(n);
4482
- return /* @__PURE__ */ d.jsx(hi, { ...r, ...o, ref: t });
4506
+ return /* @__PURE__ */ d.jsx(wi, { ...r, ...o, ref: t });
4483
4507
  }
4484
4508
  );
4485
- Pi.displayName = Ri;
4486
- var _i = "AlertDialogDescription", Ai = l.forwardRef((e, t) => {
4509
+ Ti.displayName = Ai;
4510
+ var Ni = "AlertDialogDescription", Mi = l.forwardRef((e, t) => {
4487
4511
  const { __scopeAlertDialog: n, ...o } = e, r = $e(n);
4488
- return /* @__PURE__ */ d.jsx(xi, { ...r, ...o, ref: t });
4512
+ return /* @__PURE__ */ d.jsx(yi, { ...r, ...o, ref: t });
4489
4513
  });
4490
- Ai.displayName = _i;
4491
- var wm = "AlertDialogAction", Ti = l.forwardRef(
4514
+ Mi.displayName = Ni;
4515
+ var ym = "AlertDialogAction", Ii = l.forwardRef(
4492
4516
  (e, t) => {
4493
4517
  const { __scopeAlertDialog: n, ...o } = e, r = $e(n);
4494
4518
  return /* @__PURE__ */ d.jsx(Kn, { ...r, ...o, ref: t });
4495
4519
  }
4496
4520
  );
4497
- Ti.displayName = wm;
4498
- var Ni = "AlertDialogCancel", Mi = l.forwardRef(
4521
+ Ii.displayName = ym;
4522
+ var ki = "AlertDialogCancel", Oi = l.forwardRef(
4499
4523
  (e, t) => {
4500
- const { __scopeAlertDialog: n, ...o } = e, { cancelRef: r } = xm(Ni, n), s = $e(n), a = W(t, r);
4524
+ const { __scopeAlertDialog: n, ...o } = e, { cancelRef: r } = bm(ki, n), s = $e(n), a = W(t, r);
4501
4525
  return /* @__PURE__ */ d.jsx(Kn, { ...s, ...o, ref: a });
4502
4526
  }
4503
4527
  );
4504
- Mi.displayName = Ni;
4505
- var ym = ({ contentRef: e }) => {
4528
+ Oi.displayName = ki;
4529
+ var Sm = ({ contentRef: e }) => {
4506
4530
  const t = `\`${ht}\` requires a description for the component to be accessible for screen reader users.
4507
4531
 
4508
- You can add a description to the \`${ht}\` by passing a \`${_i}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4532
+ You can add a description to the \`${ht}\` by passing a \`${Ni}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4509
4533
 
4510
4534
  Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${ht}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
4511
4535
 
@@ -4515,7 +4539,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
4515
4539
  e.current?.getAttribute("aria-describedby")
4516
4540
  ) || console.warn(t);
4517
4541
  }, [t, e]), null;
4518
- }, Sm = wi, Cm = yi, Em = Si, Rm = Ci, Pm = Ei, _m = Ti, Am = Mi, Tm = Pi, Nm = Ai;
4542
+ }, Cm = Ci, Em = Ei, Rm = Ri, Pm = Pi, _m = _i, Am = Ii, Tm = Oi, Nm = Ti, Mm = Mi;
4519
4543
  const Cr = Bn(
4520
4544
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
4521
4545
  {
@@ -4541,14 +4565,14 @@ const Cr = Bn(
4541
4565
  }
4542
4566
  }
4543
4567
  );
4544
- function Ii({
4568
+ function Di({
4545
4569
  className: e,
4546
4570
  variant: t,
4547
4571
  size: n,
4548
4572
  asChild: o = !1,
4549
4573
  ...r
4550
4574
  }) {
4551
- const s = o ? br : "button";
4575
+ const s = o ? xr : "button";
4552
4576
  return /* @__PURE__ */ d.jsx(
4553
4577
  s,
4554
4578
  {
@@ -4561,24 +4585,24 @@ function Ii({
4561
4585
  function qy({
4562
4586
  ...e
4563
4587
  }) {
4564
- return /* @__PURE__ */ d.jsx(Sm, { "data-slot": "alert-dialog", ...e });
4588
+ return /* @__PURE__ */ d.jsx(Cm, { "data-slot": "alert-dialog", ...e });
4565
4589
  }
4566
4590
  function Zy({
4567
4591
  ...e
4568
4592
  }) {
4569
- return /* @__PURE__ */ d.jsx(Cm, { "data-slot": "alert-dialog-trigger", ...e });
4593
+ return /* @__PURE__ */ d.jsx(Em, { "data-slot": "alert-dialog-trigger", ...e });
4570
4594
  }
4571
- function Mm({
4595
+ function Im({
4572
4596
  ...e
4573
4597
  }) {
4574
- return /* @__PURE__ */ d.jsx(Em, { "data-slot": "alert-dialog-portal", ...e });
4598
+ return /* @__PURE__ */ d.jsx(Rm, { "data-slot": "alert-dialog-portal", ...e });
4575
4599
  }
4576
- function Im({
4600
+ function km({
4577
4601
  className: e,
4578
4602
  ...t
4579
4603
  }) {
4580
4604
  return /* @__PURE__ */ d.jsx(
4581
- Rm,
4605
+ Pm,
4582
4606
  {
4583
4607
  "data-slot": "alert-dialog-overlay",
4584
4608
  className: j(
@@ -4593,10 +4617,10 @@ function Jy({
4593
4617
  className: e,
4594
4618
  ...t
4595
4619
  }) {
4596
- return /* @__PURE__ */ d.jsxs(Mm, { children: [
4597
- /* @__PURE__ */ d.jsx(Im, {}),
4620
+ return /* @__PURE__ */ d.jsxs(Im, { children: [
4621
+ /* @__PURE__ */ d.jsx(km, {}),
4598
4622
  /* @__PURE__ */ d.jsx(
4599
- Pm,
4623
+ _m,
4600
4624
  {
4601
4625
  "data-slot": "alert-dialog-content",
4602
4626
  className: j(
@@ -4642,7 +4666,7 @@ function tS({
4642
4666
  ...t
4643
4667
  }) {
4644
4668
  return /* @__PURE__ */ d.jsx(
4645
- Tm,
4669
+ Nm,
4646
4670
  {
4647
4671
  "data-slot": "alert-dialog-title",
4648
4672
  className: j("text-lg font-semibold", e),
@@ -4655,7 +4679,7 @@ function nS({
4655
4679
  ...t
4656
4680
  }) {
4657
4681
  return /* @__PURE__ */ d.jsx(
4658
- Nm,
4682
+ Mm,
4659
4683
  {
4660
4684
  "data-slot": "alert-dialog-description",
4661
4685
  className: j("text-muted-foreground text-sm", e),
@@ -4668,7 +4692,7 @@ function oS({
4668
4692
  ...t
4669
4693
  }) {
4670
4694
  return /* @__PURE__ */ d.jsx(
4671
- _m,
4695
+ Am,
4672
4696
  {
4673
4697
  className: j(Cr(), e),
4674
4698
  ...t
@@ -4680,7 +4704,7 @@ function rS({
4680
4704
  ...t
4681
4705
  }) {
4682
4706
  return /* @__PURE__ */ d.jsx(
4683
- Am,
4707
+ Tm,
4684
4708
  {
4685
4709
  className: j(Cr({ variant: "outline" }), e),
4686
4710
  ...t
@@ -4698,7 +4722,7 @@ var yn = { exports: {} }, Do = {};
4698
4722
  * LICENSE file in the root directory of this source tree.
4699
4723
  */
4700
4724
  var Ys;
4701
- function km() {
4725
+ function Om() {
4702
4726
  if (Ys) return Do;
4703
4727
  Ys = 1;
4704
4728
  var e = oe;
@@ -4749,7 +4773,7 @@ var jo = {};
4749
4773
  * LICENSE file in the root directory of this source tree.
4750
4774
  */
4751
4775
  var Xs;
4752
- function Om() {
4776
+ function Dm() {
4753
4777
  return Xs || (Xs = 1, process.env.NODE_ENV !== "production" && (function() {
4754
4778
  function e(v, h) {
4755
4779
  return v === h && (v !== 0 || 1 / v === 1 / h) || v !== v && h !== h;
@@ -4802,26 +4826,26 @@ function Om() {
4802
4826
  })()), jo;
4803
4827
  }
4804
4828
  var qs;
4805
- function Dm() {
4806
- return qs || (qs = 1, process.env.NODE_ENV === "production" ? yn.exports = km() : yn.exports = Om()), yn.exports;
4829
+ function jm() {
4830
+ return qs || (qs = 1, process.env.NODE_ENV === "production" ? yn.exports = Om() : yn.exports = Dm()), yn.exports;
4807
4831
  }
4808
- var jm = Dm();
4809
- function Lm() {
4810
- return jm.useSyncExternalStore(
4811
- Fm,
4832
+ var Lm = jm();
4833
+ function Fm() {
4834
+ return Lm.useSyncExternalStore(
4835
+ $m,
4812
4836
  () => !0,
4813
4837
  () => !1
4814
4838
  );
4815
4839
  }
4816
- function Fm() {
4840
+ function $m() {
4817
4841
  return () => {
4818
4842
  };
4819
4843
  }
4820
- var Er = "Avatar", [$m, sS] = de(Er), [zm, ki] = $m(Er), Oi = l.forwardRef(
4844
+ var Er = "Avatar", [zm, sS] = de(Er), [Vm, ji] = zm(Er), Li = l.forwardRef(
4821
4845
  (e, t) => {
4822
4846
  const { __scopeAvatar: n, ...o } = e, [r, s] = l.useState("idle");
4823
4847
  return /* @__PURE__ */ d.jsx(
4824
- zm,
4848
+ Vm,
4825
4849
  {
4826
4850
  scope: n,
4827
4851
  imageLoadingStatus: r,
@@ -4831,11 +4855,11 @@ var Er = "Avatar", [$m, sS] = de(Er), [zm, ki] = $m(Er), Oi = l.forwardRef(
4831
4855
  );
4832
4856
  }
4833
4857
  );
4834
- Oi.displayName = Er;
4835
- var Di = "AvatarImage", ji = l.forwardRef(
4858
+ Li.displayName = Er;
4859
+ var Fi = "AvatarImage", $i = l.forwardRef(
4836
4860
  (e, t) => {
4837
4861
  const { __scopeAvatar: n, src: o, onLoadingStatusChange: r = () => {
4838
- }, ...s } = e, a = ki(Di, n), i = Vm(o, s), c = ie((u) => {
4862
+ }, ...s } = e, a = ji(Fi, n), i = Bm(o, s), c = ie((u) => {
4839
4863
  r(u), a.onImageLoadingStatusChange(u);
4840
4864
  });
4841
4865
  return ce(() => {
@@ -4843,10 +4867,10 @@ var Di = "AvatarImage", ji = l.forwardRef(
4843
4867
  }, [i, c]), i === "loaded" ? /* @__PURE__ */ d.jsx(L.img, { ...s, ref: t, src: o }) : null;
4844
4868
  }
4845
4869
  );
4846
- ji.displayName = Di;
4847
- var Li = "AvatarFallback", Fi = l.forwardRef(
4870
+ $i.displayName = Fi;
4871
+ var zi = "AvatarFallback", Vi = l.forwardRef(
4848
4872
  (e, t) => {
4849
- const { __scopeAvatar: n, delayMs: o, ...r } = e, s = ki(Li, n), [a, i] = l.useState(o === void 0);
4873
+ const { __scopeAvatar: n, delayMs: o, ...r } = e, s = ji(zi, n), [a, i] = l.useState(o === void 0);
4850
4874
  return l.useEffect(() => {
4851
4875
  if (o !== void 0) {
4852
4876
  const c = window.setTimeout(() => i(!0), o);
@@ -4855,12 +4879,12 @@ var Li = "AvatarFallback", Fi = l.forwardRef(
4855
4879
  }, [o]), a && s.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ d.jsx(L.span, { ...r, ref: t }) : null;
4856
4880
  }
4857
4881
  );
4858
- Fi.displayName = Li;
4882
+ Vi.displayName = zi;
4859
4883
  function Zs(e, t) {
4860
4884
  return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
4861
4885
  }
4862
- function Vm(e, { referrerPolicy: t, crossOrigin: n }) {
4863
- const o = Lm(), r = l.useRef(null), s = o ? (r.current || (r.current = new window.Image()), r.current) : null, [a, i] = l.useState(
4886
+ function Bm(e, { referrerPolicy: t, crossOrigin: n }) {
4887
+ const o = Fm(), r = l.useRef(null), s = o ? (r.current || (r.current = new window.Image()), r.current) : null, [a, i] = l.useState(
4864
4888
  () => Zs(s, e)
4865
4889
  );
4866
4890
  return ce(() => {
@@ -4876,13 +4900,13 @@ function Vm(e, { referrerPolicy: t, crossOrigin: n }) {
4876
4900
  };
4877
4901
  }, [s, n, t]), a;
4878
4902
  }
4879
- var Bm = Oi, Hm = ji, Gm = Fi;
4903
+ var Hm = Li, Gm = $i, Um = Vi;
4880
4904
  function aS({
4881
4905
  className: e,
4882
4906
  ...t
4883
4907
  }) {
4884
4908
  return /* @__PURE__ */ d.jsx(
4885
- Bm,
4909
+ Hm,
4886
4910
  {
4887
4911
  "data-slot": "avatar",
4888
4912
  className: j(
@@ -4898,7 +4922,7 @@ function iS({
4898
4922
  ...t
4899
4923
  }) {
4900
4924
  return /* @__PURE__ */ d.jsx(
4901
- Hm,
4925
+ Gm,
4902
4926
  {
4903
4927
  "data-slot": "avatar-image",
4904
4928
  className: j("aspect-square size-full", e),
@@ -4911,7 +4935,7 @@ function cS({
4911
4935
  ...t
4912
4936
  }) {
4913
4937
  return /* @__PURE__ */ d.jsx(
4914
- Gm,
4938
+ Um,
4915
4939
  {
4916
4940
  "data-slot": "avatar-fallback",
4917
4941
  className: j(
@@ -4922,7 +4946,7 @@ function cS({
4922
4946
  }
4923
4947
  );
4924
4948
  }
4925
- const Um = Bn(
4949
+ const Wm = Bn(
4926
4950
  "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
4927
4951
  {
4928
4952
  variants: {
@@ -4944,12 +4968,12 @@ function lS({
4944
4968
  asChild: n = !1,
4945
4969
  ...o
4946
4970
  }) {
4947
- const r = n ? br : "span";
4971
+ const r = n ? xr : "span";
4948
4972
  return /* @__PURE__ */ d.jsx(
4949
4973
  r,
4950
4974
  {
4951
4975
  "data-slot": "badge",
4952
- className: j(Um({ variant: t }), e),
4976
+ className: j(Wm({ variant: t }), e),
4953
4977
  ...o
4954
4978
  }
4955
4979
  );
@@ -5033,13 +5057,13 @@ function vS({ className: e, ...t }) {
5033
5057
  }
5034
5058
  );
5035
5059
  }
5036
- function Wm(e) {
5060
+ function Km(e) {
5037
5061
  return Object.prototype.toString.call(e) === "[object Object]";
5038
5062
  }
5039
5063
  function Js(e) {
5040
- return Wm(e) || Array.isArray(e);
5064
+ return Km(e) || Array.isArray(e);
5041
5065
  }
5042
- function Km() {
5066
+ function Ym() {
5043
5067
  return !!(typeof window < "u" && window.document && window.document.createElement);
5044
5068
  }
5045
5069
  function Rr(e, t) {
@@ -5054,7 +5078,7 @@ function Rr(e, t) {
5054
5078
  function Qs(e) {
5055
5079
  return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
5056
5080
  }
5057
- function Ym(e, t) {
5081
+ function Xm(e, t) {
5058
5082
  if (e.length !== t.length) return !1;
5059
5083
  const n = Qs(e), o = Qs(t);
5060
5084
  return n.every((r, s) => {
@@ -5083,12 +5107,12 @@ function _r(e) {
5083
5107
  function Vt(e, t) {
5084
5108
  return le(e - t);
5085
5109
  }
5086
- function Xm(e, t) {
5110
+ function qm(e, t) {
5087
5111
  if (e === 0 || t === 0 || le(e) <= le(t)) return 0;
5088
5112
  const n = Vt(le(e), le(t));
5089
5113
  return le(n / e);
5090
5114
  }
5091
- function qm(e) {
5115
+ function Zm(e) {
5092
5116
  return Math.round(e * 100) / 100;
5093
5117
  }
5094
5118
  function Bt(e) {
@@ -5109,16 +5133,16 @@ function ta(e, t = 0) {
5109
5133
  function Ht(e) {
5110
5134
  return Object.keys(e);
5111
5135
  }
5112
- function $i(e, t) {
5136
+ function Bi(e, t) {
5113
5137
  return [e, t].reduce((n, o) => (Ht(o).forEach((r) => {
5114
5138
  const s = n[r], a = o[r], i = ea(s) && ea(a);
5115
- n[r] = i ? $i(s, a) : a;
5139
+ n[r] = i ? Bi(s, a) : a;
5116
5140
  }), n), {});
5117
5141
  }
5118
5142
  function Yo(e, t) {
5119
5143
  return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
5120
5144
  }
5121
- function Zm(e, t) {
5145
+ function Jm(e, t) {
5122
5146
  const n = {
5123
5147
  start: o,
5124
5148
  center: r,
@@ -5163,7 +5187,7 @@ function Gt() {
5163
5187
  };
5164
5188
  return o;
5165
5189
  }
5166
- function Jm(e, t, n, o) {
5190
+ function Qm(e, t, n, o) {
5167
5191
  const r = Gt(), s = 1e3 / 60;
5168
5192
  let a = null, i = 0, c = 0;
5169
5193
  function u() {
@@ -5201,7 +5225,7 @@ function Jm(e, t, n, o) {
5201
5225
  render: o
5202
5226
  };
5203
5227
  }
5204
- function Qm(e, t) {
5228
+ function eg(e, t) {
5205
5229
  const n = t === "rtl", o = e === "y", r = o ? "y" : "x", s = o ? "x" : "y", a = !o && n ? -1 : 1, i = f(), c = p();
5206
5230
  function u(h) {
5207
5231
  const {
@@ -5256,7 +5280,7 @@ function nt(e = 0, t = 0) {
5256
5280
  removeOffset: i
5257
5281
  };
5258
5282
  }
5259
- function zi(e, t, n) {
5283
+ function Hi(e, t, n) {
5260
5284
  const {
5261
5285
  constrain: o
5262
5286
  } = nt(0, e), r = e + 1;
@@ -5274,7 +5298,7 @@ function zi(e, t, n) {
5274
5298
  return f().set(i() + m);
5275
5299
  }
5276
5300
  function f() {
5277
- return zi(e, i(), n);
5301
+ return Hi(e, i(), n);
5278
5302
  }
5279
5303
  const p = {
5280
5304
  get: i,
@@ -5284,7 +5308,7 @@ function zi(e, t, n) {
5284
5308
  };
5285
5309
  return p;
5286
5310
  }
5287
- function eg(e, t, n, o, r, s, a, i, c, u, f, p, m, v, h, g, x, b, w) {
5311
+ function tg(e, t, n, o, r, s, a, i, c, u, f, p, m, v, h, g, x, b, w) {
5288
5312
  const {
5289
5313
  cross: y,
5290
5314
  direction: S
@@ -5339,7 +5363,7 @@ function eg(e, t, n, o, r, s, a, i, c, u, f, p, m, v, h, g, x, b, w) {
5339
5363
  he > g && (A = !0), u.useFriction(0.3).useDuration(0.75), i.start(), r.add(S(Je)), D.preventDefault();
5340
5364
  }
5341
5365
  function H(D) {
5342
- const se = f.byDistance(0, !1).index !== p.get(), fe = s.pointerUp(D) * Q(), he = re(S(fe), se), be = Xm(fe, he), Je = B - 10 * be, ze = b + be / 50;
5366
+ const se = f.byDistance(0, !1).index !== p.get(), fe = s.pointerUp(D) * Q(), he = re(S(fe), se), be = qm(fe, he), Je = B - 10 * be, ze = b + be / 50;
5343
5367
  G = !1, F = !1, E.clear(), u.useDuration(Je).useFriction(ze), c.distance(he, !h), O = !1, m.emit("pointerUp");
5344
5368
  }
5345
5369
  function ne(D) {
@@ -5354,7 +5378,7 @@ function eg(e, t, n, o, r, s, a, i, c, u, f, p, m, v, h, g, x, b, w) {
5354
5378
  pointerDown: Z
5355
5379
  };
5356
5380
  }
5357
- function tg(e, t) {
5381
+ function ng(e, t) {
5358
5382
  let o, r;
5359
5383
  function s(p) {
5360
5384
  return p.timeStamp;
@@ -5382,7 +5406,7 @@ function tg(e, t) {
5382
5406
  readPoint: a
5383
5407
  };
5384
5408
  }
5385
- function ng() {
5409
+ function og() {
5386
5410
  function e(n) {
5387
5411
  const {
5388
5412
  offsetTop: o,
@@ -5403,7 +5427,7 @@ function ng() {
5403
5427
  measure: e
5404
5428
  };
5405
5429
  }
5406
- function og(e) {
5430
+ function rg(e) {
5407
5431
  function t(o) {
5408
5432
  return e * (o / 100);
5409
5433
  }
@@ -5411,7 +5435,7 @@ function og(e) {
5411
5435
  measure: t
5412
5436
  };
5413
5437
  }
5414
- function rg(e, t, n, o, r, s, a) {
5438
+ function sg(e, t, n, o, r, s, a) {
5415
5439
  const i = [e].concat(o);
5416
5440
  let c, u, f = [], p = !1;
5417
5441
  function m(x) {
@@ -5444,7 +5468,7 @@ function rg(e, t, n, o, r, s, a) {
5444
5468
  destroy: h
5445
5469
  };
5446
5470
  }
5447
- function sg(e, t, n, o, r, s) {
5471
+ function ag(e, t, n, o, r, s) {
5448
5472
  let a = 0, i = 0, c = r, u = s, f = e.get(), p = 0;
5449
5473
  function m() {
5450
5474
  const P = o.get() - e.get(), R = !c;
@@ -5489,7 +5513,7 @@ function sg(e, t, n, o, r, s) {
5489
5513
  };
5490
5514
  return C;
5491
5515
  }
5492
- function ag(e, t, n, o, r) {
5516
+ function ig(e, t, n, o, r) {
5493
5517
  const s = r.measure(10), a = r.measure(50), i = nt(0.1, 0.99);
5494
5518
  let c = !1;
5495
5519
  function u() {
@@ -5509,7 +5533,7 @@ function ag(e, t, n, o, r) {
5509
5533
  toggleActive: p
5510
5534
  };
5511
5535
  }
5512
- function ig(e, t, n, o, r) {
5536
+ function cg(e, t, n, o, r) {
5513
5537
  const s = nt(-t + e, 0), a = p(), i = f(), c = m();
5514
5538
  function u(h, g) {
5515
5539
  return Vt(h, g) <= 1;
@@ -5541,13 +5565,13 @@ function ig(e, t, n, o, r) {
5541
5565
  scrollContainLimit: i
5542
5566
  };
5543
5567
  }
5544
- function cg(e, t, n) {
5568
+ function lg(e, t, n) {
5545
5569
  const o = t[0], r = n ? o - e : Pe(t);
5546
5570
  return {
5547
5571
  limit: nt(r, o)
5548
5572
  };
5549
5573
  }
5550
- function lg(e, t, n, o) {
5574
+ function ug(e, t, n, o) {
5551
5575
  const s = t.min + 0.1, a = t.max + 0.1, {
5552
5576
  reachedMin: i,
5553
5577
  reachedMax: c
@@ -5564,7 +5588,7 @@ function lg(e, t, n, o) {
5564
5588
  loop: f
5565
5589
  };
5566
5590
  }
5567
- function ug(e) {
5591
+ function dg(e) {
5568
5592
  const {
5569
5593
  max: t,
5570
5594
  length: n
@@ -5577,7 +5601,7 @@ function ug(e) {
5577
5601
  get: o
5578
5602
  };
5579
5603
  }
5580
- function dg(e, t, n, o, r) {
5604
+ function fg(e, t, n, o, r) {
5581
5605
  const {
5582
5606
  startEdge: s,
5583
5607
  endEdge: a
@@ -5598,7 +5622,7 @@ function dg(e, t, n, o, r) {
5598
5622
  snapsAligned: f
5599
5623
  };
5600
5624
  }
5601
- function fg(e, t, n, o, r, s) {
5625
+ function pg(e, t, n, o, r, s) {
5602
5626
  const {
5603
5627
  groupSlides: a
5604
5628
  } = r, {
@@ -5624,7 +5648,7 @@ function fg(e, t, n, o, r, s) {
5624
5648
  slideRegistry: u
5625
5649
  };
5626
5650
  }
5627
- function pg(e, t, n, o, r) {
5651
+ function mg(e, t, n, o, r) {
5628
5652
  const {
5629
5653
  reachedAny: s,
5630
5654
  removeOffset: a,
@@ -5680,7 +5704,7 @@ function pg(e, t, n, o, r) {
5680
5704
  shortcut: f
5681
5705
  };
5682
5706
  }
5683
- function mg(e, t, n, o, r, s, a) {
5707
+ function gg(e, t, n, o, r, s, a) {
5684
5708
  function i(p) {
5685
5709
  const m = p.distance, v = p.index !== t.get();
5686
5710
  s.add(m), m && (o.duration() ? e.start() : (e.update(), e.render(1), e.update())), v && (n.set(t.get()), t.set(p.index), a.emit("select"));
@@ -5698,7 +5722,7 @@ function mg(e, t, n, o, r, s, a) {
5698
5722
  index: u
5699
5723
  };
5700
5724
  }
5701
- function gg(e, t, n, o, r, s, a, i) {
5725
+ function vg(e, t, n, o, r, s, a, i) {
5702
5726
  const c = {
5703
5727
  passive: !0,
5704
5728
  capture: !0
@@ -5749,7 +5773,7 @@ function Lt(e) {
5749
5773
  subtract: s
5750
5774
  };
5751
5775
  }
5752
- function Vi(e, t) {
5776
+ function Gi(e, t) {
5753
5777
  const n = e.scroll === "x" ? a : i, o = t.style;
5754
5778
  let r = null, s = !1;
5755
5779
  function a(m) {
@@ -5760,7 +5784,7 @@ function Vi(e, t) {
5760
5784
  }
5761
5785
  function c(m) {
5762
5786
  if (s) return;
5763
- const v = qm(e.direction(m));
5787
+ const v = Zm(e.direction(m));
5764
5788
  v !== r && (o.transform = n(v), r = v);
5765
5789
  }
5766
5790
  function u(m) {
@@ -5775,7 +5799,7 @@ function Vi(e, t) {
5775
5799
  toggleActive: u
5776
5800
  };
5777
5801
  }
5778
- function vg(e, t, n, o, r, s, a, i, c) {
5802
+ function hg(e, t, n, o, r, s, a, i, c) {
5779
5803
  const f = Bt(r), p = Bt(r).reverse(), m = b().concat(w());
5780
5804
  function v(R, E) {
5781
5805
  return R.reduce((T, I) => T - r[I], E);
@@ -5797,7 +5821,7 @@ function vg(e, t, n, o, r, s, a, i, c) {
5797
5821
  index: k,
5798
5822
  loopPoint: X,
5799
5823
  slideLocation: Lt(-1),
5800
- translate: Vi(e, c[k]),
5824
+ translate: Gi(e, c[k]),
5801
5825
  target: () => i.get() > X ? B : Y
5802
5826
  };
5803
5827
  });
@@ -5838,7 +5862,7 @@ function vg(e, t, n, o, r, s, a, i, c) {
5838
5862
  loopPoints: m
5839
5863
  };
5840
5864
  }
5841
- function hg(e, t, n) {
5865
+ function xg(e, t, n) {
5842
5866
  let o, r = !1;
5843
5867
  function s(c) {
5844
5868
  if (!n) return;
@@ -5863,7 +5887,7 @@ function hg(e, t, n) {
5863
5887
  destroy: a
5864
5888
  };
5865
5889
  }
5866
- function xg(e, t, n, o) {
5890
+ function bg(e, t, n, o) {
5867
5891
  const r = {};
5868
5892
  let s = null, a = null, i, c = !1;
5869
5893
  function u() {
@@ -5900,7 +5924,7 @@ function xg(e, t, n, o) {
5900
5924
  get: m
5901
5925
  };
5902
5926
  }
5903
- function bg(e, t, n, o, r, s) {
5927
+ function wg(e, t, n, o, r, s) {
5904
5928
  const {
5905
5929
  measureSize: a,
5906
5930
  startEdge: i,
@@ -5929,7 +5953,7 @@ function bg(e, t, n, o, r, s) {
5929
5953
  endGap: p
5930
5954
  };
5931
5955
  }
5932
- function wg(e, t, n, o, r, s, a, i, c) {
5956
+ function yg(e, t, n, o, r, s, a, i, c) {
5933
5957
  const {
5934
5958
  startEdge: u,
5935
5959
  endEdge: f,
@@ -5954,7 +5978,7 @@ function wg(e, t, n, o, r, s, a, i, c) {
5954
5978
  groupSlides: g
5955
5979
  };
5956
5980
  }
5957
- function yg(e, t, n, o, r, s, a) {
5981
+ function Sg(e, t, n, o, r, s, a) {
5958
5982
  const {
5959
5983
  align: i,
5960
5984
  axis: c,
@@ -5972,20 +5996,20 @@ function yg(e, t, n, o, r, s, a) {
5972
5996
  watchSlides: S,
5973
5997
  watchDrag: C,
5974
5998
  watchFocus: P
5975
- } = s, R = 2, E = ng(), T = E.measure(t), I = n.map(E.measure), k = Qm(c, u), B = k.measureSize(T), Y = og(B), U = Zm(i, B), X = !p && !!w, F = p || !!w, {
5999
+ } = s, R = 2, E = og(), T = E.measure(t), I = n.map(E.measure), k = eg(c, u), B = k.measureSize(T), Y = rg(B), U = Jm(i, B), X = !p && !!w, F = p || !!w, {
5976
6000
  slideSizes: G,
5977
6001
  slideSizesWithGaps: A,
5978
6002
  startGap: O,
5979
6003
  endGap: _
5980
- } = bg(k, T, I, n, F, r), $ = wg(k, B, x, p, T, I, O, _, R), {
6004
+ } = wg(k, T, I, n, F, r), $ = yg(k, B, x, p, T, I, O, _, R), {
5981
6005
  snaps: J,
5982
6006
  snapsAligned: q
5983
- } = dg(k, U, T, I, $), Q = -Pe(J) + Pe(A), {
6007
+ } = fg(k, U, T, I, $), Q = -Pe(J) + Pe(A), {
5984
6008
  snapsContained: re,
5985
6009
  scrollContainLimit: ae
5986
- } = ig(B, Q, q, w, R), M = X ? re : q, {
6010
+ } = cg(B, Q, q, w, R), M = X ? re : q, {
5987
6011
  limit: H
5988
- } = cg(Q, M, p), ne = zi(en(M), f, p), Z = ne.clone(), K = Bt(n), D = ({
6012
+ } = lg(Q, M, p), ne = Hi(en(M), f, p), Z = ne.clone(), K = Bt(n), D = ({
5989
6013
  dragHandler: dt,
5990
6014
  scrollBody: Co,
5991
6015
  scrollBounds: Eo,
@@ -6014,9 +6038,9 @@ function yg(e, t, n, o, r, s, a) {
6014
6038
  Es && Ud.stop();
6015
6039
  const Yd = Eo.get() * ys + Vd.get() * (1 - ys);
6016
6040
  fn.set(Yd), ws && (Bd.loop(dt.direction()), Hd.loop()), Co.to(fn.get()), Es && bs.emit("settle"), Cs || bs.emit("scroll");
6017
- }, se = Jm(o, r, () => D(So), (dt) => ee(So, dt)), fe = 0.68, he = M[ne.get()], be = Lt(he), Je = Lt(he), ze = Lt(he), Qe = Lt(he), kt = sg(be, ze, Je, Qe, m, fe), wo = pg(p, M, Q, H, Qe), yo = mg(se, ne, Z, kt, wo, Qe, a), vs = ug(H), hs = Gt(), $d = xg(t, n, a, g), {
6041
+ }, se = Qm(o, r, () => D(So), (dt) => ee(So, dt)), fe = 0.68, he = M[ne.get()], be = Lt(he), Je = Lt(he), ze = Lt(he), Qe = Lt(he), kt = ag(be, ze, Je, Qe, m, fe), wo = mg(p, M, Q, H, Qe), yo = gg(se, ne, Z, kt, wo, Qe, a), vs = dg(H), hs = Gt(), $d = bg(t, n, a, g), {
6018
6042
  slideRegistry: xs
6019
- } = fg(X, w, M, ae, $, K), zd = gg(e, n, xs, yo, kt, hs, a, P), So = {
6043
+ } = pg(X, w, M, ae, $, K), zd = vg(e, n, xs, yo, kt, hs, a, P), So = {
6020
6044
  ownerDocument: o,
6021
6045
  ownerWindow: r,
6022
6046
  eventHandler: a,
@@ -6024,7 +6048,7 @@ function yg(e, t, n, o, r, s, a) {
6024
6048
  slideRects: I,
6025
6049
  animation: se,
6026
6050
  axis: k,
6027
- dragHandler: eg(k, e, o, r, Qe, tg(k, r), be, se, yo, kt, wo, ne, a, Y, v, h, b, fe, C),
6051
+ dragHandler: tg(k, e, o, r, Qe, ng(k, r), be, se, yo, kt, wo, ne, a, Y, v, h, b, fe, C),
6028
6052
  eventStore: hs,
6029
6053
  percentOfView: Y,
6030
6054
  index: ne,
@@ -6034,28 +6058,28 @@ function yg(e, t, n, o, r, s, a) {
6034
6058
  offsetLocation: ze,
6035
6059
  previousLocation: Je,
6036
6060
  options: s,
6037
- resizeHandler: rg(t, a, r, n, k, y, E),
6061
+ resizeHandler: sg(t, a, r, n, k, y, E),
6038
6062
  scrollBody: kt,
6039
- scrollBounds: ag(H, ze, Qe, kt, Y),
6040
- scrollLooper: lg(Q, H, ze, [be, ze, Je, Qe]),
6063
+ scrollBounds: ig(H, ze, Qe, kt, Y),
6064
+ scrollLooper: ug(Q, H, ze, [be, ze, Je, Qe]),
6041
6065
  scrollProgress: vs,
6042
6066
  scrollSnapList: M.map(vs.get),
6043
6067
  scrollSnaps: M,
6044
6068
  scrollTarget: wo,
6045
6069
  scrollTo: yo,
6046
- slideLooper: vg(k, B, Q, G, A, J, M, ze, n),
6070
+ slideLooper: hg(k, B, Q, G, A, J, M, ze, n),
6047
6071
  slideFocus: zd,
6048
- slidesHandler: hg(t, a, S),
6072
+ slidesHandler: xg(t, a, S),
6049
6073
  slidesInView: $d,
6050
6074
  slideIndexes: K,
6051
6075
  slideRegistry: xs,
6052
6076
  slidesToScroll: $,
6053
6077
  target: Qe,
6054
- translate: Vi(k, t)
6078
+ translate: Gi(k, t)
6055
6079
  };
6056
6080
  return So;
6057
6081
  }
6058
- function Sg() {
6082
+ function Cg() {
6059
6083
  let e = {}, t;
6060
6084
  function n(u) {
6061
6085
  t = u;
@@ -6084,7 +6108,7 @@ function Sg() {
6084
6108
  };
6085
6109
  return c;
6086
6110
  }
6087
- const Cg = {
6111
+ const Eg = {
6088
6112
  align: "center",
6089
6113
  axis: "x",
6090
6114
  container: null,
@@ -6106,9 +6130,9 @@ const Cg = {
6106
6130
  watchSlides: !0,
6107
6131
  watchFocus: !0
6108
6132
  };
6109
- function Eg(e) {
6133
+ function Rg(e) {
6110
6134
  function t(s, a) {
6111
- return $i(s, a || {});
6135
+ return Bi(s, a || {});
6112
6136
  }
6113
6137
  function n(s) {
6114
6138
  const a = s.breakpoints || {}, i = Ht(a).filter((c) => e.matchMedia(c).matches).map((c) => a[c]).reduce((c, u) => t(c, u), {});
@@ -6123,7 +6147,7 @@ function Eg(e) {
6123
6147
  optionsMediaQueries: o
6124
6148
  };
6125
6149
  }
6126
- function Rg(e) {
6150
+ function Pg(e) {
6127
6151
  let t = [];
6128
6152
  function n(s, a) {
6129
6153
  return t = a.filter(({
@@ -6141,7 +6165,7 @@ function Rg(e) {
6141
6165
  };
6142
6166
  }
6143
6167
  function Tn(e, t, n) {
6144
- const o = e.ownerDocument, r = o.defaultView, s = Eg(r), a = Rg(s), i = Gt(), c = Sg(), {
6168
+ const o = e.ownerDocument, r = o.defaultView, s = Rg(r), a = Pg(s), i = Gt(), c = Cg(), {
6145
6169
  mergeOptions: u,
6146
6170
  optionsAtMedia: f,
6147
6171
  optionsMediaQueries: p
@@ -6150,7 +6174,7 @@ function Tn(e, t, n) {
6150
6174
  off: v,
6151
6175
  emit: h
6152
6176
  } = c, g = k;
6153
- let x = !1, b, w = u(Cg, Tn.globalOptions), y = u(w), S = [], C, P, R;
6177
+ let x = !1, b, w = u(Eg, Tn.globalOptions), y = u(w), S = [], C, P, R;
6154
6178
  function E() {
6155
6179
  const {
6156
6180
  container: K,
@@ -6161,7 +6185,7 @@ function Tn(e, t, n) {
6161
6185
  R = [].slice.call(se || P.children);
6162
6186
  }
6163
6187
  function T(K) {
6164
- const D = yg(e, P, R, o, r, K, c);
6188
+ const D = Sg(e, P, R, o, r, K, c);
6165
6189
  if (K.loop && !D.slideLooper.canLoop()) {
6166
6190
  const ee = Object.assign({}, K, {
6167
6191
  loop: !1
@@ -6270,9 +6294,9 @@ function Tr(e = {}, t = []) {
6270
6294
  return Ro(() => {
6271
6295
  Rr(n.current, e) || (n.current = e, c());
6272
6296
  }, [e, c]), Ro(() => {
6273
- Ym(o.current, t) || (o.current = t, c());
6297
+ Xm(o.current, t) || (o.current = t, c());
6274
6298
  }, [t, c]), Ro(() => {
6275
- if (Km() && a) {
6299
+ if (Ym() && a) {
6276
6300
  Tn.globalOptions = Tr.globalOptions;
6277
6301
  const u = Tn(a, n.current, o.current);
6278
6302
  return s(u), () => u.destroy();
@@ -6281,9 +6305,9 @@ function Tr(e = {}, t = []) {
6281
6305
  }, [a, s]), [i, r];
6282
6306
  }
6283
6307
  Tr.globalOptions = void 0;
6284
- const Bi = l.createContext(null);
6308
+ const Ui = l.createContext(null);
6285
6309
  function Xn() {
6286
- const e = l.useContext(Bi);
6310
+ const e = l.useContext(Ui);
6287
6311
  if (!e)
6288
6312
  throw new Error("useCarousel must be used within a <Carousel />");
6289
6313
  return e;
@@ -6323,7 +6347,7 @@ function hS({
6323
6347
  c?.off("select", v);
6324
6348
  };
6325
6349
  }, [c, v]), /* @__PURE__ */ d.jsx(
6326
- Bi.Provider,
6350
+ Ui.Provider,
6327
6351
  {
6328
6352
  value: {
6329
6353
  carouselRef: i,
@@ -6397,7 +6421,7 @@ function wS({
6397
6421
  }) {
6398
6422
  const { orientation: r, scrollPrev: s, canScrollPrev: a } = Xn();
6399
6423
  return /* @__PURE__ */ d.jsxs(
6400
- Ii,
6424
+ Di,
6401
6425
  {
6402
6426
  "data-slot": "carousel-previous",
6403
6427
  variant: t,
@@ -6425,7 +6449,7 @@ function yS({
6425
6449
  }) {
6426
6450
  const { orientation: r, scrollNext: s, canScrollNext: a } = Xn();
6427
6451
  return /* @__PURE__ */ d.jsxs(
6428
- Ii,
6452
+ Di,
6429
6453
  {
6430
6454
  "data-slot": "carousel-next",
6431
6455
  variant: t,
@@ -6471,8 +6495,8 @@ function tn(e) {
6471
6495
  n(void 0);
6472
6496
  }, [e]), t;
6473
6497
  }
6474
- var qn = "Checkbox", [Pg, SS] = de(qn), [_g, Nr] = Pg(qn);
6475
- function Ag(e) {
6498
+ var qn = "Checkbox", [_g, SS] = de(qn), [Ag, Nr] = _g(qn);
6499
+ function Tg(e) {
6476
6500
  const {
6477
6501
  __scopeCheckbox: t,
6478
6502
  checked: n,
@@ -6511,15 +6535,15 @@ function Ag(e) {
6511
6535
  setBubbleInput: b
6512
6536
  };
6513
6537
  return /* @__PURE__ */ d.jsx(
6514
- _g,
6538
+ Ag,
6515
6539
  {
6516
6540
  scope: t,
6517
6541
  ...S,
6518
- children: Tg(p) ? p(S) : o
6542
+ children: Ng(p) ? p(S) : o
6519
6543
  }
6520
6544
  );
6521
6545
  }
6522
- var Hi = "CheckboxTrigger", Gi = l.forwardRef(
6546
+ var Wi = "CheckboxTrigger", Ki = l.forwardRef(
6523
6547
  ({ __scopeCheckbox: e, onKeyDown: t, onClick: n, ...o }, r) => {
6524
6548
  const {
6525
6549
  control: s,
@@ -6532,7 +6556,7 @@ var Hi = "CheckboxTrigger", Gi = l.forwardRef(
6532
6556
  hasConsumerStoppedPropagationRef: m,
6533
6557
  isFormControl: v,
6534
6558
  bubbleInput: h
6535
- } = Nr(Hi, e), g = W(r, f), x = l.useRef(c);
6559
+ } = Nr(Wi, e), g = W(r, f), x = l.useRef(c);
6536
6560
  return l.useEffect(() => {
6537
6561
  const b = s?.form;
6538
6562
  if (b) {
@@ -6546,7 +6570,7 @@ var Hi = "CheckboxTrigger", Gi = l.forwardRef(
6546
6570
  role: "checkbox",
6547
6571
  "aria-checked": He(c) ? "mixed" : c,
6548
6572
  "aria-required": u,
6549
- "data-state": qi(c),
6573
+ "data-state": Qi(c),
6550
6574
  "data-disabled": i ? "" : void 0,
6551
6575
  disabled: i,
6552
6576
  value: a,
@@ -6562,8 +6586,8 @@ var Hi = "CheckboxTrigger", Gi = l.forwardRef(
6562
6586
  );
6563
6587
  }
6564
6588
  );
6565
- Gi.displayName = Hi;
6566
- var Ui = l.forwardRef(
6589
+ Ki.displayName = Wi;
6590
+ var Yi = l.forwardRef(
6567
6591
  (e, t) => {
6568
6592
  const {
6569
6593
  __scopeCheckbox: n,
@@ -6578,7 +6602,7 @@ var Ui = l.forwardRef(
6578
6602
  ...p
6579
6603
  } = e;
6580
6604
  return /* @__PURE__ */ d.jsx(
6581
- Ag,
6605
+ Tg,
6582
6606
  {
6583
6607
  __scopeCheckbox: n,
6584
6608
  checked: r,
@@ -6591,7 +6615,7 @@ var Ui = l.forwardRef(
6591
6615
  value: c,
6592
6616
  internal_do_not_use_render: ({ isFormControl: m }) => /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
6593
6617
  /* @__PURE__ */ d.jsx(
6594
- Gi,
6618
+ Ki,
6595
6619
  {
6596
6620
  ...p,
6597
6621
  ref: t,
@@ -6599,7 +6623,7 @@ var Ui = l.forwardRef(
6599
6623
  }
6600
6624
  ),
6601
6625
  m && /* @__PURE__ */ d.jsx(
6602
- Xi,
6626
+ Ji,
6603
6627
  {
6604
6628
  __scopeCheckbox: n
6605
6629
  }
@@ -6609,10 +6633,10 @@ var Ui = l.forwardRef(
6609
6633
  );
6610
6634
  }
6611
6635
  );
6612
- Ui.displayName = qn;
6613
- var Wi = "CheckboxIndicator", Ki = l.forwardRef(
6636
+ Yi.displayName = qn;
6637
+ var Xi = "CheckboxIndicator", qi = l.forwardRef(
6614
6638
  (e, t) => {
6615
- const { __scopeCheckbox: n, forceMount: o, ...r } = e, s = Nr(Wi, n);
6639
+ const { __scopeCheckbox: n, forceMount: o, ...r } = e, s = Nr(Xi, n);
6616
6640
  return /* @__PURE__ */ d.jsx(
6617
6641
  ue,
6618
6642
  {
@@ -6620,7 +6644,7 @@ var Wi = "CheckboxIndicator", Ki = l.forwardRef(
6620
6644
  children: /* @__PURE__ */ d.jsx(
6621
6645
  L.span,
6622
6646
  {
6623
- "data-state": qi(s.checked),
6647
+ "data-state": Qi(s.checked),
6624
6648
  "data-disabled": s.disabled ? "" : void 0,
6625
6649
  ...r,
6626
6650
  ref: t,
@@ -6631,8 +6655,8 @@ var Wi = "CheckboxIndicator", Ki = l.forwardRef(
6631
6655
  );
6632
6656
  }
6633
6657
  );
6634
- Ki.displayName = Wi;
6635
- var Yi = "CheckboxBubbleInput", Xi = l.forwardRef(
6658
+ qi.displayName = Xi;
6659
+ var Zi = "CheckboxBubbleInput", Ji = l.forwardRef(
6636
6660
  ({ __scopeCheckbox: e, ...t }, n) => {
6637
6661
  const {
6638
6662
  control: o,
@@ -6646,7 +6670,7 @@ var Yi = "CheckboxBubbleInput", Xi = l.forwardRef(
6646
6670
  form: p,
6647
6671
  bubbleInput: m,
6648
6672
  setBubbleInput: v
6649
- } = Nr(Yi, e), h = W(n, v), g = _t(s), x = tn(o);
6673
+ } = Nr(Zi, e), h = W(n, v), g = _t(s), x = tn(o);
6650
6674
  l.useEffect(() => {
6651
6675
  const w = m;
6652
6676
  if (!w) return;
@@ -6690,14 +6714,14 @@ var Yi = "CheckboxBubbleInput", Xi = l.forwardRef(
6690
6714
  );
6691
6715
  }
6692
6716
  );
6693
- Xi.displayName = Yi;
6694
- function Tg(e) {
6717
+ Ji.displayName = Zi;
6718
+ function Ng(e) {
6695
6719
  return typeof e == "function";
6696
6720
  }
6697
6721
  function He(e) {
6698
6722
  return e === "indeterminate";
6699
6723
  }
6700
- function qi(e) {
6724
+ function Qi(e) {
6701
6725
  return He(e) ? "indeterminate" : e ? "checked" : "unchecked";
6702
6726
  }
6703
6727
  function CS({
@@ -6705,7 +6729,7 @@ function CS({
6705
6729
  ...t
6706
6730
  }) {
6707
6731
  return /* @__PURE__ */ d.jsx(
6708
- Ui,
6732
+ Yi,
6709
6733
  {
6710
6734
  "data-slot": "checkbox",
6711
6735
  className: j(
@@ -6714,7 +6738,7 @@ function CS({
6714
6738
  ),
6715
6739
  ...t,
6716
6740
  children: /* @__PURE__ */ d.jsx(
6717
- Ki,
6741
+ qi,
6718
6742
  {
6719
6743
  "data-slot": "checkbox-indicator",
6720
6744
  className: "flex items-center justify-center text-current transition-none",
@@ -6724,7 +6748,7 @@ function CS({
6724
6748
  }
6725
6749
  );
6726
6750
  }
6727
- var Zn = "Collapsible", [Ng, ES] = de(Zn), [Mg, Mr] = Ng(Zn), Zi = l.forwardRef(
6751
+ var Zn = "Collapsible", [Mg, ES] = de(Zn), [Ig, Mr] = Mg(Zn), ec = l.forwardRef(
6728
6752
  (e, t) => {
6729
6753
  const {
6730
6754
  __scopeCollapsible: n,
@@ -6740,7 +6764,7 @@ var Zn = "Collapsible", [Ng, ES] = de(Zn), [Mg, Mr] = Ng(Zn), Zi = l.forwardRef(
6740
6764
  caller: Zn
6741
6765
  });
6742
6766
  return /* @__PURE__ */ d.jsx(
6743
- Mg,
6767
+ Ig,
6744
6768
  {
6745
6769
  scope: n,
6746
6770
  disabled: s,
@@ -6760,10 +6784,10 @@ var Zn = "Collapsible", [Ng, ES] = de(Zn), [Mg, Mr] = Ng(Zn), Zi = l.forwardRef(
6760
6784
  );
6761
6785
  }
6762
6786
  );
6763
- Zi.displayName = Zn;
6764
- var Ji = "CollapsibleTrigger", Qi = l.forwardRef(
6787
+ ec.displayName = Zn;
6788
+ var tc = "CollapsibleTrigger", nc = l.forwardRef(
6765
6789
  (e, t) => {
6766
- const { __scopeCollapsible: n, ...o } = e, r = Mr(Ji, n);
6790
+ const { __scopeCollapsible: n, ...o } = e, r = Mr(tc, n);
6767
6791
  return /* @__PURE__ */ d.jsx(
6768
6792
  L.button,
6769
6793
  {
@@ -6780,15 +6804,15 @@ var Ji = "CollapsibleTrigger", Qi = l.forwardRef(
6780
6804
  );
6781
6805
  }
6782
6806
  );
6783
- Qi.displayName = Ji;
6784
- var Ir = "CollapsibleContent", ec = l.forwardRef(
6807
+ nc.displayName = tc;
6808
+ var Ir = "CollapsibleContent", oc = l.forwardRef(
6785
6809
  (e, t) => {
6786
6810
  const { forceMount: n, ...o } = e, r = Mr(Ir, e.__scopeCollapsible);
6787
- return /* @__PURE__ */ d.jsx(ue, { present: n || r.open, children: ({ present: s }) => /* @__PURE__ */ d.jsx(Ig, { ...o, ref: t, present: s }) });
6811
+ return /* @__PURE__ */ d.jsx(ue, { present: n || r.open, children: ({ present: s }) => /* @__PURE__ */ d.jsx(kg, { ...o, ref: t, present: s }) });
6788
6812
  }
6789
6813
  );
6790
- ec.displayName = Ir;
6791
- var Ig = l.forwardRef((e, t) => {
6814
+ oc.displayName = Ir;
6815
+ var kg = l.forwardRef((e, t) => {
6792
6816
  const { __scopeCollapsible: n, present: o, children: r, ...s } = e, a = Mr(Ir, n), [i, c] = l.useState(o), u = l.useRef(null), f = W(t, u), p = l.useRef(0), m = p.current, v = l.useRef(0), h = v.current, g = a.open || i, x = l.useRef(g), b = l.useRef(void 0);
6793
6817
  return l.useEffect(() => {
6794
6818
  const w = requestAnimationFrame(() => x.current = !1);
@@ -6824,17 +6848,17 @@ var Ig = l.forwardRef((e, t) => {
6824
6848
  function kr(e) {
6825
6849
  return e ? "open" : "closed";
6826
6850
  }
6827
- var kg = Zi;
6851
+ var Og = ec;
6828
6852
  function RS({
6829
6853
  ...e
6830
6854
  }) {
6831
- return /* @__PURE__ */ d.jsx(kg, { "data-slot": "collapsible", ...e });
6855
+ return /* @__PURE__ */ d.jsx(Og, { "data-slot": "collapsible", ...e });
6832
6856
  }
6833
6857
  function PS({
6834
6858
  ...e
6835
6859
  }) {
6836
6860
  return /* @__PURE__ */ d.jsx(
6837
- Qi,
6861
+ nc,
6838
6862
  {
6839
6863
  "data-slot": "collapsible-trigger",
6840
6864
  ...e
@@ -6845,7 +6869,7 @@ function _S({
6845
6869
  ...e
6846
6870
  }) {
6847
6871
  return /* @__PURE__ */ d.jsx(
6848
- ec,
6872
+ oc,
6849
6873
  {
6850
6874
  "data-slot": "collapsible-content",
6851
6875
  ...e
@@ -6855,29 +6879,29 @@ function _S({
6855
6879
  function AS({
6856
6880
  ...e
6857
6881
  }) {
6858
- return /* @__PURE__ */ d.jsx(fi, { "data-slot": "dialog", ...e });
6882
+ return /* @__PURE__ */ d.jsx(gi, { "data-slot": "dialog", ...e });
6859
6883
  }
6860
6884
  function TS({
6861
6885
  ...e
6862
6886
  }) {
6863
- return /* @__PURE__ */ d.jsx(pi, { "data-slot": "dialog-trigger", ...e });
6887
+ return /* @__PURE__ */ d.jsx(vi, { "data-slot": "dialog-trigger", ...e });
6864
6888
  }
6865
- function Og({
6889
+ function Dg({
6866
6890
  ...e
6867
6891
  }) {
6868
- return /* @__PURE__ */ d.jsx(mi, { "data-slot": "dialog-portal", ...e });
6892
+ return /* @__PURE__ */ d.jsx(hi, { "data-slot": "dialog-portal", ...e });
6869
6893
  }
6870
6894
  function NS({
6871
6895
  ...e
6872
6896
  }) {
6873
6897
  return /* @__PURE__ */ d.jsx(Kn, { "data-slot": "dialog-close", ...e });
6874
6898
  }
6875
- function Dg({
6899
+ function jg({
6876
6900
  className: e,
6877
6901
  ...t
6878
6902
  }) {
6879
6903
  return /* @__PURE__ */ d.jsx(
6880
- gi,
6904
+ xi,
6881
6905
  {
6882
6906
  "data-slot": "dialog-overlay",
6883
6907
  className: j(
@@ -6894,10 +6918,10 @@ function MS({
6894
6918
  showCloseButton: n = !0,
6895
6919
  ...o
6896
6920
  }) {
6897
- return /* @__PURE__ */ d.jsxs(Og, { "data-slot": "dialog-portal", children: [
6898
- /* @__PURE__ */ d.jsx(Dg, {}),
6921
+ return /* @__PURE__ */ d.jsxs(Dg, { "data-slot": "dialog-portal", children: [
6922
+ /* @__PURE__ */ d.jsx(jg, {}),
6899
6923
  /* @__PURE__ */ d.jsxs(
6900
- vi,
6924
+ bi,
6901
6925
  {
6902
6926
  "data-slot": "dialog-content",
6903
6927
  className: j(
@@ -6951,7 +6975,7 @@ function OS({
6951
6975
  ...t
6952
6976
  }) {
6953
6977
  return /* @__PURE__ */ d.jsx(
6954
- hi,
6978
+ wi,
6955
6979
  {
6956
6980
  "data-slot": "dialog-title",
6957
6981
  className: j("text-lg leading-none font-semibold", e),
@@ -6964,7 +6988,7 @@ function DS({
6964
6988
  ...t
6965
6989
  }) {
6966
6990
  return /* @__PURE__ */ d.jsx(
6967
- xi,
6991
+ yi,
6968
6992
  {
6969
6993
  "data-slot": "dialog-description",
6970
6994
  className: j("text-muted-foreground text-sm", e),
@@ -7012,20 +7036,20 @@ function At(e) {
7012
7036
  o
7013
7037
  ];
7014
7038
  }
7015
- var jg = l.createContext(void 0);
7039
+ var Lg = l.createContext(void 0);
7016
7040
  function ct(e) {
7017
- const t = l.useContext(jg);
7041
+ const t = l.useContext(Lg);
7018
7042
  return e || t || "ltr";
7019
7043
  }
7020
- const Lg = ["top", "right", "bottom", "left"], Ue = Math.min, we = Math.max, Nn = Math.round, Sn = Math.floor, Ie = (e) => ({
7044
+ const Fg = ["top", "right", "bottom", "left"], Ue = Math.min, we = Math.max, Nn = Math.round, Sn = Math.floor, Ie = (e) => ({
7021
7045
  x: e,
7022
7046
  y: e
7023
- }), Fg = {
7047
+ }), $g = {
7024
7048
  left: "right",
7025
7049
  right: "left",
7026
7050
  bottom: "top",
7027
7051
  top: "bottom"
7028
- }, $g = {
7052
+ }, zg = {
7029
7053
  start: "end",
7030
7054
  end: "start"
7031
7055
  };
@@ -7047,48 +7071,48 @@ function Or(e) {
7047
7071
  function Dr(e) {
7048
7072
  return e === "y" ? "height" : "width";
7049
7073
  }
7050
- const zg = /* @__PURE__ */ new Set(["top", "bottom"]);
7074
+ const Vg = /* @__PURE__ */ new Set(["top", "bottom"]);
7051
7075
  function Me(e) {
7052
- return zg.has(Fe(e)) ? "y" : "x";
7076
+ return Vg.has(Fe(e)) ? "y" : "x";
7053
7077
  }
7054
7078
  function jr(e) {
7055
7079
  return Or(Me(e));
7056
7080
  }
7057
- function Vg(e, t, n) {
7081
+ function Bg(e, t, n) {
7058
7082
  n === void 0 && (n = !1);
7059
7083
  const o = Tt(e), r = jr(e), s = Dr(r);
7060
7084
  let a = r === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
7061
7085
  return t.reference[s] > t.floating[s] && (a = Mn(a)), [a, Mn(a)];
7062
7086
  }
7063
- function Bg(e) {
7087
+ function Hg(e) {
7064
7088
  const t = Mn(e);
7065
7089
  return [qo(e), t, qo(t)];
7066
7090
  }
7067
7091
  function qo(e) {
7068
- return e.replace(/start|end/g, (t) => $g[t]);
7092
+ return e.replace(/start|end/g, (t) => zg[t]);
7069
7093
  }
7070
- const na = ["left", "right"], oa = ["right", "left"], Hg = ["top", "bottom"], Gg = ["bottom", "top"];
7071
- function Ug(e, t, n) {
7094
+ const na = ["left", "right"], oa = ["right", "left"], Gg = ["top", "bottom"], Ug = ["bottom", "top"];
7095
+ function Wg(e, t, n) {
7072
7096
  switch (e) {
7073
7097
  case "top":
7074
7098
  case "bottom":
7075
7099
  return n ? t ? oa : na : t ? na : oa;
7076
7100
  case "left":
7077
7101
  case "right":
7078
- return t ? Hg : Gg;
7102
+ return t ? Gg : Ug;
7079
7103
  default:
7080
7104
  return [];
7081
7105
  }
7082
7106
  }
7083
- function Wg(e, t, n, o) {
7107
+ function Kg(e, t, n, o) {
7084
7108
  const r = Tt(e);
7085
- let s = Ug(Fe(e), n === "start", o);
7109
+ let s = Wg(Fe(e), n === "start", o);
7086
7110
  return r && (s = s.map((a) => a + "-" + r), t && (s = s.concat(s.map(qo)))), s;
7087
7111
  }
7088
7112
  function Mn(e) {
7089
- return e.replace(/left|right|bottom|top/g, (t) => Fg[t]);
7113
+ return e.replace(/left|right|bottom|top/g, (t) => $g[t]);
7090
7114
  }
7091
- function Kg(e) {
7115
+ function Yg(e) {
7092
7116
  return {
7093
7117
  top: 0,
7094
7118
  right: 0,
@@ -7097,8 +7121,8 @@ function Kg(e) {
7097
7121
  ...e
7098
7122
  };
7099
7123
  }
7100
- function tc(e) {
7101
- return typeof e != "number" ? Kg(e) : {
7124
+ function rc(e) {
7125
+ return typeof e != "number" ? Yg(e) : {
7102
7126
  top: e,
7103
7127
  right: e,
7104
7128
  bottom: e,
@@ -7171,7 +7195,7 @@ function ra(e, t, n) {
7171
7195
  }
7172
7196
  return v;
7173
7197
  }
7174
- const Yg = async (e, t, n) => {
7198
+ const Xg = async (e, t, n) => {
7175
7199
  const {
7176
7200
  placement: o = "bottom",
7177
7201
  strategy: r = "absolute",
@@ -7248,7 +7272,7 @@ async function Ut(e, t) {
7248
7272
  elementContext: p = "floating",
7249
7273
  altBoundary: m = !1,
7250
7274
  padding: v = 0
7251
- } = Le(t, e), h = tc(v), x = i[m ? p === "floating" ? "reference" : "floating" : p], b = In(await s.getClippingRect({
7275
+ } = Le(t, e), h = rc(v), x = i[m ? p === "floating" ? "reference" : "floating" : p], b = In(await s.getClippingRect({
7252
7276
  element: (n = await (s.isElement == null ? void 0 : s.isElement(x))) == null || n ? x : x.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
7253
7277
  boundary: u,
7254
7278
  rootBoundary: f,
@@ -7277,7 +7301,7 @@ async function Ut(e, t) {
7277
7301
  right: (C.right - b.right + h.right) / S.x
7278
7302
  };
7279
7303
  }
7280
- const Xg = (e) => ({
7304
+ const qg = (e) => ({
7281
7305
  name: "arrow",
7282
7306
  options: e,
7283
7307
  async fn(t) {
@@ -7295,7 +7319,7 @@ const Xg = (e) => ({
7295
7319
  } = Le(e, t) || {};
7296
7320
  if (u == null)
7297
7321
  return {};
7298
- const p = tc(f), m = {
7322
+ const p = rc(f), m = {
7299
7323
  x: n,
7300
7324
  y: o
7301
7325
  }, v = jr(r), h = Dr(v), g = await a.getDimensions(u), x = v === "y", b = x ? "top" : "left", w = x ? "bottom" : "right", y = x ? "clientHeight" : "clientWidth", S = s.reference[h] + s.reference[v] - m[v] - s.floating[h], C = m[v] - s.reference[v], P = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
@@ -7314,7 +7338,7 @@ const Xg = (e) => ({
7314
7338
  reset: F
7315
7339
  };
7316
7340
  }
7317
- }), qg = function(e) {
7341
+ }), Zg = function(e) {
7318
7342
  return e === void 0 && (e = {}), {
7319
7343
  name: "flip",
7320
7344
  options: e,
@@ -7338,12 +7362,12 @@ const Xg = (e) => ({
7338
7362
  } = Le(e, t);
7339
7363
  if ((n = s.arrow) != null && n.alignmentOffset)
7340
7364
  return {};
7341
- const b = Fe(r), w = Me(i), y = Fe(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), C = m || (y || !g ? [Mn(i)] : Bg(i)), P = h !== "none";
7342
- !m && P && C.push(...Wg(i, g, h, S));
7365
+ const b = Fe(r), w = Me(i), y = Fe(i) === i, S = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), C = m || (y || !g ? [Mn(i)] : Hg(i)), P = h !== "none";
7366
+ !m && P && C.push(...Kg(i, g, h, S));
7343
7367
  const R = [i, ...C], E = await Ut(t, x), T = [];
7344
7368
  let I = ((o = s.flip) == null ? void 0 : o.overflows) || [];
7345
7369
  if (f && T.push(E[b]), p) {
7346
- const U = Vg(r, a, S);
7370
+ const U = Bg(r, a, S);
7347
7371
  T.push(E[U[0]], E[U[1]]);
7348
7372
  }
7349
7373
  if (I = [...I, {
@@ -7405,9 +7429,9 @@ function sa(e, t) {
7405
7429
  };
7406
7430
  }
7407
7431
  function aa(e) {
7408
- return Lg.some((t) => e[t] >= 0);
7432
+ return Fg.some((t) => e[t] >= 0);
7409
7433
  }
7410
- const Zg = function(e) {
7434
+ const Jg = function(e) {
7411
7435
  return e === void 0 && (e = {}), {
7412
7436
  name: "hide",
7413
7437
  options: e,
@@ -7448,13 +7472,13 @@ const Zg = function(e) {
7448
7472
  }
7449
7473
  }
7450
7474
  };
7451
- }, nc = /* @__PURE__ */ new Set(["left", "top"]);
7452
- async function Jg(e, t) {
7475
+ }, sc = /* @__PURE__ */ new Set(["left", "top"]);
7476
+ async function Qg(e, t) {
7453
7477
  const {
7454
7478
  placement: n,
7455
7479
  platform: o,
7456
7480
  elements: r
7457
- } = e, s = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), a = Fe(n), i = Tt(n), c = Me(n) === "y", u = nc.has(a) ? -1 : 1, f = s && c ? -1 : 1, p = Le(t, e);
7481
+ } = e, s = await (o.isRTL == null ? void 0 : o.isRTL(r.floating)), a = Fe(n), i = Tt(n), c = Me(n) === "y", u = sc.has(a) ? -1 : 1, f = s && c ? -1 : 1, p = Le(t, e);
7458
7482
  let {
7459
7483
  mainAxis: m,
7460
7484
  crossAxis: v,
@@ -7476,7 +7500,7 @@ async function Jg(e, t) {
7476
7500
  y: v * f
7477
7501
  };
7478
7502
  }
7479
- const Qg = function(e) {
7503
+ const ev = function(e) {
7480
7504
  return e === void 0 && (e = 0), {
7481
7505
  name: "offset",
7482
7506
  options: e,
@@ -7487,7 +7511,7 @@ const Qg = function(e) {
7487
7511
  y: s,
7488
7512
  placement: a,
7489
7513
  middlewareData: i
7490
- } = t, c = await Jg(t, e);
7514
+ } = t, c = await Qg(t, e);
7491
7515
  return a === ((n = i.offset) == null ? void 0 : n.placement) && (o = i.arrow) != null && o.alignmentOffset ? {} : {
7492
7516
  x: r + c.x,
7493
7517
  y: s + c.y,
@@ -7498,7 +7522,7 @@ const Qg = function(e) {
7498
7522
  };
7499
7523
  }
7500
7524
  };
7501
- }, ev = function(e) {
7525
+ }, tv = function(e) {
7502
7526
  return e === void 0 && (e = {}), {
7503
7527
  name: "shift",
7504
7528
  options: e,
@@ -7554,7 +7578,7 @@ const Qg = function(e) {
7554
7578
  };
7555
7579
  }
7556
7580
  };
7557
- }, tv = function(e) {
7581
+ }, nv = function(e) {
7558
7582
  return e === void 0 && (e = {}), {
7559
7583
  options: e,
7560
7584
  fn(t) {
@@ -7587,7 +7611,7 @@ const Qg = function(e) {
7587
7611
  }
7588
7612
  if (u) {
7589
7613
  var b, w;
7590
- const y = m === "y" ? "width" : "height", S = nc.has(Fe(r)), C = s.reference[p] - s.floating[y] + (S && ((b = a.offset) == null ? void 0 : b[p]) || 0) + (S ? 0 : x.crossAxis), P = s.reference[p] + s.reference[y] + (S ? 0 : ((w = a.offset) == null ? void 0 : w[p]) || 0) - (S ? x.crossAxis : 0);
7614
+ const y = m === "y" ? "width" : "height", S = sc.has(Fe(r)), C = s.reference[p] - s.floating[y] + (S && ((b = a.offset) == null ? void 0 : b[p]) || 0) + (S ? 0 : x.crossAxis), P = s.reference[p] + s.reference[y] + (S ? 0 : ((w = a.offset) == null ? void 0 : w[p]) || 0) - (S ? x.crossAxis : 0);
7591
7615
  h < C ? h = C : h > P && (h = P);
7592
7616
  }
7593
7617
  return {
@@ -7596,7 +7620,7 @@ const Qg = function(e) {
7596
7620
  };
7597
7621
  }
7598
7622
  };
7599
- }, nv = function(e) {
7623
+ }, ov = function(e) {
7600
7624
  return e === void 0 && (e = {}), {
7601
7625
  name: "size",
7602
7626
  options: e,
@@ -7641,7 +7665,7 @@ function Jn() {
7641
7665
  return typeof window < "u";
7642
7666
  }
7643
7667
  function Nt(e) {
7644
- return oc(e) ? (e.nodeName || "").toLowerCase() : "#document";
7668
+ return ac(e) ? (e.nodeName || "").toLowerCase() : "#document";
7645
7669
  }
7646
7670
  function ye(e) {
7647
7671
  var t;
@@ -7649,9 +7673,9 @@ function ye(e) {
7649
7673
  }
7650
7674
  function Oe(e) {
7651
7675
  var t;
7652
- return (t = (oc(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
7676
+ return (t = (ac(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
7653
7677
  }
7654
- function oc(e) {
7678
+ function ac(e) {
7655
7679
  return Jn() ? e instanceof Node || e instanceof ye(e).Node : !1;
7656
7680
  }
7657
7681
  function _e(e) {
@@ -7663,7 +7687,7 @@ function ke(e) {
7663
7687
  function ia(e) {
7664
7688
  return !Jn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ye(e).ShadowRoot;
7665
7689
  }
7666
- const ov = /* @__PURE__ */ new Set(["inline", "contents"]);
7690
+ const rv = /* @__PURE__ */ new Set(["inline", "contents"]);
7667
7691
  function nn(e) {
7668
7692
  const {
7669
7693
  overflow: t,
@@ -7671,15 +7695,15 @@ function nn(e) {
7671
7695
  overflowY: o,
7672
7696
  display: r
7673
7697
  } = Ae(e);
7674
- return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !ov.has(r);
7698
+ return /auto|scroll|overlay|hidden|clip/.test(t + o + n) && !rv.has(r);
7675
7699
  }
7676
- const rv = /* @__PURE__ */ new Set(["table", "td", "th"]);
7677
- function sv(e) {
7678
- return rv.has(Nt(e));
7700
+ const sv = /* @__PURE__ */ new Set(["table", "td", "th"]);
7701
+ function av(e) {
7702
+ return sv.has(Nt(e));
7679
7703
  }
7680
- const av = [":popover-open", ":modal"];
7704
+ const iv = [":popover-open", ":modal"];
7681
7705
  function Qn(e) {
7682
- return av.some((t) => {
7706
+ return iv.some((t) => {
7683
7707
  try {
7684
7708
  return e.matches(t);
7685
7709
  } catch {
@@ -7687,12 +7711,12 @@ function Qn(e) {
7687
7711
  }
7688
7712
  });
7689
7713
  }
7690
- const iv = ["transform", "translate", "scale", "rotate", "perspective"], cv = ["transform", "translate", "scale", "rotate", "perspective", "filter"], lv = ["paint", "layout", "strict", "content"];
7714
+ const cv = ["transform", "translate", "scale", "rotate", "perspective"], lv = ["transform", "translate", "scale", "rotate", "perspective", "filter"], uv = ["paint", "layout", "strict", "content"];
7691
7715
  function Lr(e) {
7692
7716
  const t = Fr(), n = _e(e) ? Ae(e) : e;
7693
- return iv.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || cv.some((o) => (n.willChange || "").includes(o)) || lv.some((o) => (n.contain || "").includes(o));
7717
+ return cv.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || lv.some((o) => (n.willChange || "").includes(o)) || uv.some((o) => (n.contain || "").includes(o));
7694
7718
  }
7695
- function uv(e) {
7719
+ function dv(e) {
7696
7720
  let t = We(e);
7697
7721
  for (; ke(t) && !bt(t); ) {
7698
7722
  if (Lr(t))
@@ -7706,9 +7730,9 @@ function uv(e) {
7706
7730
  function Fr() {
7707
7731
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
7708
7732
  }
7709
- const dv = /* @__PURE__ */ new Set(["html", "body", "#document"]);
7733
+ const fv = /* @__PURE__ */ new Set(["html", "body", "#document"]);
7710
7734
  function bt(e) {
7711
- return dv.has(Nt(e));
7735
+ return fv.has(Nt(e));
7712
7736
  }
7713
7737
  function Ae(e) {
7714
7738
  return ye(e).getComputedStyle(e);
@@ -7734,14 +7758,14 @@ function We(e) {
7734
7758
  );
7735
7759
  return ia(t) ? t.host : t;
7736
7760
  }
7737
- function rc(e) {
7761
+ function ic(e) {
7738
7762
  const t = We(e);
7739
- return bt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ke(t) && nn(t) ? t : rc(t);
7763
+ return bt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ke(t) && nn(t) ? t : ic(t);
7740
7764
  }
7741
7765
  function Wt(e, t, n) {
7742
7766
  var o;
7743
7767
  t === void 0 && (t = []), n === void 0 && (n = !0);
7744
- const r = rc(e), s = r === ((o = e.ownerDocument) == null ? void 0 : o.body), a = ye(r);
7768
+ const r = ic(e), s = r === ((o = e.ownerDocument) == null ? void 0 : o.body), a = ye(r);
7745
7769
  if (s) {
7746
7770
  const i = Zo(a);
7747
7771
  return t.concat(a, a.visualViewport || [], nn(r) ? r : [], i && n ? Wt(i) : []);
@@ -7751,7 +7775,7 @@ function Wt(e, t, n) {
7751
7775
  function Zo(e) {
7752
7776
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
7753
7777
  }
7754
- function sc(e) {
7778
+ function cc(e) {
7755
7779
  const t = Ae(e);
7756
7780
  let n = parseFloat(t.width) || 0, o = parseFloat(t.height) || 0;
7757
7781
  const r = ke(e), s = r ? e.offsetWidth : n, a = r ? e.offsetHeight : o, i = Nn(n) !== s || Nn(o) !== a;
@@ -7772,22 +7796,22 @@ function xt(e) {
7772
7796
  width: o,
7773
7797
  height: r,
7774
7798
  $: s
7775
- } = sc(t);
7799
+ } = cc(t);
7776
7800
  let a = (s ? Nn(n.width) : n.width) / o, i = (s ? Nn(n.height) : n.height) / r;
7777
7801
  return (!a || !Number.isFinite(a)) && (a = 1), (!i || !Number.isFinite(i)) && (i = 1), {
7778
7802
  x: a,
7779
7803
  y: i
7780
7804
  };
7781
7805
  }
7782
- const fv = /* @__PURE__ */ Ie(0);
7783
- function ac(e) {
7806
+ const pv = /* @__PURE__ */ Ie(0);
7807
+ function lc(e) {
7784
7808
  const t = ye(e);
7785
- return !Fr() || !t.visualViewport ? fv : {
7809
+ return !Fr() || !t.visualViewport ? pv : {
7786
7810
  x: t.visualViewport.offsetLeft,
7787
7811
  y: t.visualViewport.offsetTop
7788
7812
  };
7789
7813
  }
7790
- function pv(e, t, n) {
7814
+ function mv(e, t, n) {
7791
7815
  return t === void 0 && (t = !1), !n || t && n !== ye(e) ? !1 : t;
7792
7816
  }
7793
7817
  function ot(e, t, n, o) {
@@ -7795,7 +7819,7 @@ function ot(e, t, n, o) {
7795
7819
  const r = e.getBoundingClientRect(), s = $r(e);
7796
7820
  let a = Ie(1);
7797
7821
  t && (o ? _e(o) && (a = xt(o)) : a = xt(e));
7798
- const i = pv(s, n, o) ? ac(s) : Ie(0);
7822
+ const i = mv(s, n, o) ? lc(s) : Ie(0);
7799
7823
  let c = (r.left + i.x) / a.x, u = (r.top + i.y) / a.y, f = r.width / a.x, p = r.height / a.y;
7800
7824
  if (s) {
7801
7825
  const m = ye(s), v = o && _e(o) ? ye(o) : o;
@@ -7816,7 +7840,7 @@ function zr(e, t) {
7816
7840
  const n = eo(e).scrollLeft;
7817
7841
  return t ? t.left + n : ot(Oe(e)).left + n;
7818
7842
  }
7819
- function ic(e, t, n) {
7843
+ function uc(e, t, n) {
7820
7844
  n === void 0 && (n = !1);
7821
7845
  const o = e.getBoundingClientRect(), r = o.left + t.scrollLeft - (n ? 0 : (
7822
7846
  // RTL <body> scrollbar.
@@ -7827,7 +7851,7 @@ function ic(e, t, n) {
7827
7851
  y: s
7828
7852
  };
7829
7853
  }
7830
- function mv(e) {
7854
+ function gv(e) {
7831
7855
  let {
7832
7856
  elements: t,
7833
7857
  rect: n,
@@ -7846,7 +7870,7 @@ function mv(e) {
7846
7870
  const v = ot(o);
7847
7871
  u = xt(o), f.x = v.x + o.clientLeft, f.y = v.y + o.clientTop;
7848
7872
  }
7849
- const m = a && !p && !s ? ic(a, c, !0) : Ie(0);
7873
+ const m = a && !p && !s ? uc(a, c, !0) : Ie(0);
7850
7874
  return {
7851
7875
  width: n.width * u.x,
7852
7876
  height: n.height * u.y,
@@ -7854,10 +7878,10 @@ function mv(e) {
7854
7878
  y: n.y * u.y - c.scrollTop * u.y + f.y + m.y
7855
7879
  };
7856
7880
  }
7857
- function gv(e) {
7881
+ function vv(e) {
7858
7882
  return Array.from(e.getClientRects());
7859
7883
  }
7860
- function vv(e) {
7884
+ function hv(e) {
7861
7885
  const t = Oe(e), n = eo(e), o = e.ownerDocument.body, r = we(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), s = we(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
7862
7886
  let a = -n.scrollLeft + zr(e);
7863
7887
  const i = -n.scrollTop;
@@ -7868,7 +7892,7 @@ function vv(e) {
7868
7892
  y: i
7869
7893
  };
7870
7894
  }
7871
- function hv(e, t) {
7895
+ function xv(e, t) {
7872
7896
  const n = ye(e), o = Oe(e), r = n.visualViewport;
7873
7897
  let s = o.clientWidth, a = o.clientHeight, i = 0, c = 0;
7874
7898
  if (r) {
@@ -7883,8 +7907,8 @@ function hv(e, t) {
7883
7907
  y: c
7884
7908
  };
7885
7909
  }
7886
- const xv = /* @__PURE__ */ new Set(["absolute", "fixed"]);
7887
- function bv(e, t) {
7910
+ const bv = /* @__PURE__ */ new Set(["absolute", "fixed"]);
7911
+ function wv(e, t) {
7888
7912
  const n = ot(e, !0, t === "fixed"), o = n.top + e.clientTop, r = n.left + e.clientLeft, s = ke(e) ? xt(e) : Ie(1), a = e.clientWidth * s.x, i = e.clientHeight * s.y, c = r * s.x, u = o * s.y;
7889
7913
  return {
7890
7914
  width: a,
@@ -7896,13 +7920,13 @@ function bv(e, t) {
7896
7920
  function ca(e, t, n) {
7897
7921
  let o;
7898
7922
  if (t === "viewport")
7899
- o = hv(e, n);
7923
+ o = xv(e, n);
7900
7924
  else if (t === "document")
7901
- o = vv(Oe(e));
7925
+ o = hv(Oe(e));
7902
7926
  else if (_e(t))
7903
- o = bv(t, n);
7927
+ o = wv(t, n);
7904
7928
  else {
7905
- const r = ac(e);
7929
+ const r = lc(e);
7906
7930
  o = {
7907
7931
  x: t.x - r.x,
7908
7932
  y: t.y - r.y,
@@ -7912,11 +7936,11 @@ function ca(e, t, n) {
7912
7936
  }
7913
7937
  return In(o);
7914
7938
  }
7915
- function cc(e, t) {
7939
+ function dc(e, t) {
7916
7940
  const n = We(e);
7917
- return n === t || !_e(n) || bt(n) ? !1 : Ae(n).position === "fixed" || cc(n, t);
7941
+ return n === t || !_e(n) || bt(n) ? !1 : Ae(n).position === "fixed" || dc(n, t);
7918
7942
  }
7919
- function wv(e, t) {
7943
+ function yv(e, t) {
7920
7944
  const n = t.get(e);
7921
7945
  if (n)
7922
7946
  return n;
@@ -7925,18 +7949,18 @@ function wv(e, t) {
7925
7949
  let a = s ? We(e) : e;
7926
7950
  for (; _e(a) && !bt(a); ) {
7927
7951
  const i = Ae(a), c = Lr(a);
7928
- !c && i.position === "fixed" && (r = null), (s ? !c && !r : !c && i.position === "static" && !!r && xv.has(r.position) || nn(a) && !c && cc(e, a)) ? o = o.filter((f) => f !== a) : r = i, a = We(a);
7952
+ !c && i.position === "fixed" && (r = null), (s ? !c && !r : !c && i.position === "static" && !!r && bv.has(r.position) || nn(a) && !c && dc(e, a)) ? o = o.filter((f) => f !== a) : r = i, a = We(a);
7929
7953
  }
7930
7954
  return t.set(e, o), o;
7931
7955
  }
7932
- function yv(e) {
7956
+ function Sv(e) {
7933
7957
  let {
7934
7958
  element: t,
7935
7959
  boundary: n,
7936
7960
  rootBoundary: o,
7937
7961
  strategy: r
7938
7962
  } = e;
7939
- const a = [...n === "clippingAncestors" ? Qn(t) ? [] : wv(t, this._c) : [].concat(n), o], i = a[0], c = a.reduce((u, f) => {
7963
+ const a = [...n === "clippingAncestors" ? Qn(t) ? [] : yv(t, this._c) : [].concat(n), o], i = a[0], c = a.reduce((u, f) => {
7940
7964
  const p = ca(t, f, r);
7941
7965
  return u.top = we(p.top, u.top), u.right = Ue(p.right, u.right), u.bottom = Ue(p.bottom, u.bottom), u.left = we(p.left, u.left), u;
7942
7966
  }, ca(t, i, r));
@@ -7947,17 +7971,17 @@ function yv(e) {
7947
7971
  y: c.top
7948
7972
  };
7949
7973
  }
7950
- function Sv(e) {
7974
+ function Cv(e) {
7951
7975
  const {
7952
7976
  width: t,
7953
7977
  height: n
7954
- } = sc(e);
7978
+ } = cc(e);
7955
7979
  return {
7956
7980
  width: t,
7957
7981
  height: n
7958
7982
  };
7959
7983
  }
7960
- function Cv(e, t, n) {
7984
+ function Ev(e, t, n) {
7961
7985
  const o = ke(t), r = Oe(t), s = n === "fixed", a = ot(e, !0, s, t);
7962
7986
  let i = {
7963
7987
  scrollLeft: 0,
@@ -7973,7 +7997,7 @@ function Cv(e, t, n) {
7973
7997
  c.x = v.x + t.clientLeft, c.y = v.y + t.clientTop;
7974
7998
  } else r && u();
7975
7999
  s && !o && r && u();
7976
- const f = r && !o && !s ? ic(r, i) : Ie(0), p = a.left + i.scrollLeft - c.x - f.x, m = a.top + i.scrollTop - c.y - f.y;
8000
+ const f = r && !o && !s ? uc(r, i) : Ie(0), p = a.left + i.scrollLeft - c.x - f.x, m = a.top + i.scrollTop - c.y - f.y;
7977
8001
  return {
7978
8002
  x: p,
7979
8003
  y: m,
@@ -7992,7 +8016,7 @@ function la(e, t) {
7992
8016
  let n = e.offsetParent;
7993
8017
  return Oe(e) === n && (n = n.ownerDocument.body), n;
7994
8018
  }
7995
- function lc(e, t) {
8019
+ function fc(e, t) {
7996
8020
  const n = ye(e);
7997
8021
  if (Qn(e))
7998
8022
  return n;
@@ -8006,14 +8030,14 @@ function lc(e, t) {
8006
8030
  return n;
8007
8031
  }
8008
8032
  let o = la(e, t);
8009
- for (; o && sv(o) && Lo(o); )
8033
+ for (; o && av(o) && Lo(o); )
8010
8034
  o = la(o, t);
8011
- return o && bt(o) && Lo(o) && !Lr(o) ? n : o || uv(e) || n;
8035
+ return o && bt(o) && Lo(o) && !Lr(o) ? n : o || dv(e) || n;
8012
8036
  }
8013
- const Ev = async function(e) {
8014
- const t = this.getOffsetParent || lc, n = this.getDimensions, o = await n(e.floating);
8037
+ const Rv = async function(e) {
8038
+ const t = this.getOffsetParent || fc, n = this.getDimensions, o = await n(e.floating);
8015
8039
  return {
8016
- reference: Cv(e.reference, await t(e.floating), e.strategy),
8040
+ reference: Ev(e.reference, await t(e.floating), e.strategy),
8017
8041
  floating: {
8018
8042
  x: 0,
8019
8043
  y: 0,
@@ -8022,25 +8046,25 @@ const Ev = async function(e) {
8022
8046
  }
8023
8047
  };
8024
8048
  };
8025
- function Rv(e) {
8049
+ function Pv(e) {
8026
8050
  return Ae(e).direction === "rtl";
8027
8051
  }
8028
- const Pv = {
8029
- convertOffsetParentRelativeRectToViewportRelativeRect: mv,
8052
+ const _v = {
8053
+ convertOffsetParentRelativeRectToViewportRelativeRect: gv,
8030
8054
  getDocumentElement: Oe,
8031
- getClippingRect: yv,
8032
- getOffsetParent: lc,
8033
- getElementRects: Ev,
8034
- getClientRects: gv,
8035
- getDimensions: Sv,
8055
+ getClippingRect: Sv,
8056
+ getOffsetParent: fc,
8057
+ getElementRects: Rv,
8058
+ getClientRects: vv,
8059
+ getDimensions: Cv,
8036
8060
  getScale: xt,
8037
8061
  isElement: _e,
8038
- isRTL: Rv
8062
+ isRTL: Pv
8039
8063
  };
8040
- function uc(e, t) {
8064
+ function pc(e, t) {
8041
8065
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
8042
8066
  }
8043
- function _v(e, t) {
8067
+ function Av(e, t) {
8044
8068
  let n = null, o;
8045
8069
  const r = Oe(e);
8046
8070
  function s() {
@@ -8071,7 +8095,7 @@ function _v(e, t) {
8071
8095
  a(!1, 1e-7);
8072
8096
  }, 1e3);
8073
8097
  }
8074
- R === 1 && !uc(u, e.getBoundingClientRect()) && a(), S = !1;
8098
+ R === 1 && !pc(u, e.getBoundingClientRect()) && a(), S = !1;
8075
8099
  }
8076
8100
  try {
8077
8101
  n = new IntersectionObserver(C, {
@@ -8086,7 +8110,7 @@ function _v(e, t) {
8086
8110
  }
8087
8111
  return a(!0), s;
8088
8112
  }
8089
- function Av(e, t, n, o) {
8113
+ function Tv(e, t, n, o) {
8090
8114
  o === void 0 && (o = {});
8091
8115
  const {
8092
8116
  ancestorScroll: r = !0,
@@ -8100,7 +8124,7 @@ function Av(e, t, n, o) {
8100
8124
  passive: !0
8101
8125
  }), s && b.addEventListener("resize", n);
8102
8126
  });
8103
- const p = u && i ? _v(u, n) : null;
8127
+ const p = u && i ? Av(u, n) : null;
8104
8128
  let m = -1, v = null;
8105
8129
  a && (v = new ResizeObserver((b) => {
8106
8130
  let [w] = b;
@@ -8113,7 +8137,7 @@ function Av(e, t, n, o) {
8113
8137
  c && x();
8114
8138
  function x() {
8115
8139
  const b = ot(e);
8116
- g && !uc(g, b) && n(), g = b, h = requestAnimationFrame(x);
8140
+ g && !pc(g, b) && n(), g = b, h = requestAnimationFrame(x);
8117
8141
  }
8118
8142
  return n(), () => {
8119
8143
  var b;
@@ -8122,21 +8146,21 @@ function Av(e, t, n, o) {
8122
8146
  }), p?.(), (b = v) == null || b.disconnect(), v = null, c && cancelAnimationFrame(h);
8123
8147
  };
8124
8148
  }
8125
- const Tv = Qg, Nv = ev, Mv = qg, Iv = nv, kv = Zg, ua = Xg, Ov = tv, Dv = (e, t, n) => {
8149
+ const Nv = ev, Mv = tv, Iv = Zg, kv = ov, Ov = Jg, ua = qg, Dv = nv, jv = (e, t, n) => {
8126
8150
  const o = /* @__PURE__ */ new Map(), r = {
8127
- platform: Pv,
8151
+ platform: _v,
8128
8152
  ...n
8129
8153
  }, s = {
8130
8154
  ...r.platform,
8131
8155
  _c: o
8132
8156
  };
8133
- return Yg(e, t, {
8157
+ return Xg(e, t, {
8134
8158
  ...r,
8135
8159
  platform: s
8136
8160
  });
8137
8161
  };
8138
- var jv = typeof document < "u", Lv = function() {
8139
- }, Rn = jv ? qd : Lv;
8162
+ var Lv = typeof document < "u", Fv = function() {
8163
+ }, Rn = Lv ? qd : Fv;
8140
8164
  function kn(e, t) {
8141
8165
  if (e === t)
8142
8166
  return !0;
@@ -8167,11 +8191,11 @@ function kn(e, t) {
8167
8191
  }
8168
8192
  return e !== e && t !== t;
8169
8193
  }
8170
- function dc(e) {
8194
+ function mc(e) {
8171
8195
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
8172
8196
  }
8173
8197
  function da(e, t) {
8174
- const n = dc(e);
8198
+ const n = mc(e);
8175
8199
  return Math.round(t * n) / n;
8176
8200
  }
8177
8201
  function Fo(e) {
@@ -8180,7 +8204,7 @@ function Fo(e) {
8180
8204
  t.current = e;
8181
8205
  }), t;
8182
8206
  }
8183
- function Fv(e) {
8207
+ function $v(e) {
8184
8208
  e === void 0 && (e = {});
8185
8209
  const {
8186
8210
  placement: t = "bottom",
@@ -8215,7 +8239,7 @@ function Fv(e) {
8215
8239
  strategy: n,
8216
8240
  middleware: m
8217
8241
  };
8218
- k.current && (A.platform = k.current), Dv(P.current, R.current, A).then((O) => {
8242
+ k.current && (A.platform = k.current), jv(P.current, R.current, A).then((O) => {
8219
8243
  const _ = {
8220
8244
  ...O,
8221
8245
  // The floating element's position may be recomputed while it's closed
@@ -8265,7 +8289,7 @@ function Fv(e) {
8265
8289
  return i ? {
8266
8290
  ...A,
8267
8291
  transform: "translate(" + O + "px, " + _ + "px)",
8268
- ...dc(F.floating) >= 1.5 && {
8292
+ ...mc(F.floating) >= 1.5 && {
8269
8293
  willChange: "transform"
8270
8294
  }
8271
8295
  } : {
@@ -8282,7 +8306,7 @@ function Fv(e) {
8282
8306
  floatingStyles: G
8283
8307
  }), [f, Y, X, F, G]);
8284
8308
  }
8285
- const $v = (e) => {
8309
+ const zv = (e) => {
8286
8310
  function t(n) {
8287
8311
  return {}.hasOwnProperty.call(n, "current");
8288
8312
  }
@@ -8303,17 +8327,14 @@ const $v = (e) => {
8303
8327
  }).fn(n) : {};
8304
8328
  }
8305
8329
  };
8306
- }, zv = (e, t) => ({
8307
- ...Tv(e),
8308
- options: [e, t]
8309
- }), Vv = (e, t) => ({
8330
+ }, Vv = (e, t) => ({
8310
8331
  ...Nv(e),
8311
8332
  options: [e, t]
8312
8333
  }), Bv = (e, t) => ({
8313
- ...Ov(e),
8334
+ ...Mv(e),
8314
8335
  options: [e, t]
8315
8336
  }), Hv = (e, t) => ({
8316
- ...Mv(e),
8337
+ ...Dv(e),
8317
8338
  options: [e, t]
8318
8339
  }), Gv = (e, t) => ({
8319
8340
  ...Iv(e),
@@ -8322,10 +8343,13 @@ const $v = (e) => {
8322
8343
  ...kv(e),
8323
8344
  options: [e, t]
8324
8345
  }), Wv = (e, t) => ({
8325
- ...$v(e),
8346
+ ...Ov(e),
8347
+ options: [e, t]
8348
+ }), Kv = (e, t) => ({
8349
+ ...zv(e),
8326
8350
  options: [e, t]
8327
8351
  });
8328
- var Kv = "Arrow", fc = l.forwardRef((e, t) => {
8352
+ var Yv = "Arrow", gc = l.forwardRef((e, t) => {
8329
8353
  const { children: n, width: o = 10, height: r = 5, ...s } = e;
8330
8354
  return /* @__PURE__ */ d.jsx(
8331
8355
  L.svg,
@@ -8340,23 +8364,23 @@ var Kv = "Arrow", fc = l.forwardRef((e, t) => {
8340
8364
  }
8341
8365
  );
8342
8366
  });
8343
- fc.displayName = Kv;
8344
- var Yv = fc, Vr = "Popper", [pc, Ke] = de(Vr), [Xv, mc] = pc(Vr), gc = (e) => {
8367
+ gc.displayName = Yv;
8368
+ var Xv = gc, Vr = "Popper", [vc, Ke] = de(Vr), [qv, hc] = vc(Vr), xc = (e) => {
8345
8369
  const { __scopePopper: t, children: n } = e, [o, r] = l.useState(null);
8346
- return /* @__PURE__ */ d.jsx(Xv, { scope: t, anchor: o, onAnchorChange: r, children: n });
8370
+ return /* @__PURE__ */ d.jsx(qv, { scope: t, anchor: o, onAnchorChange: r, children: n });
8347
8371
  };
8348
- gc.displayName = Vr;
8349
- var vc = "PopperAnchor", hc = l.forwardRef(
8372
+ xc.displayName = Vr;
8373
+ var bc = "PopperAnchor", wc = l.forwardRef(
8350
8374
  (e, t) => {
8351
- const { __scopePopper: n, virtualRef: o, ...r } = e, s = mc(vc, n), a = l.useRef(null), i = W(t, a), c = l.useRef(null);
8375
+ const { __scopePopper: n, virtualRef: o, ...r } = e, s = hc(bc, n), a = l.useRef(null), i = W(t, a), c = l.useRef(null);
8352
8376
  return l.useEffect(() => {
8353
8377
  const u = c.current;
8354
8378
  c.current = o?.current || a.current, u !== c.current && s.onAnchorChange(c.current);
8355
8379
  }), o ? null : /* @__PURE__ */ d.jsx(L.div, { ...r, ref: i });
8356
8380
  }
8357
8381
  );
8358
- hc.displayName = vc;
8359
- var Br = "PopperContent", [qv, Zv] = pc(Br), xc = l.forwardRef(
8382
+ wc.displayName = bc;
8383
+ var Br = "PopperContent", [Zv, Jv] = vc(Br), yc = l.forwardRef(
8360
8384
  (e, t) => {
8361
8385
  const {
8362
8386
  __scopePopper: n,
@@ -8373,42 +8397,42 @@ var Br = "PopperContent", [qv, Zv] = pc(Br), xc = l.forwardRef(
8373
8397
  updatePositionStrategy: v = "optimized",
8374
8398
  onPlaced: h,
8375
8399
  ...g
8376
- } = e, x = mc(Br, n), [b, w] = l.useState(null), y = W(t, (M) => w(M)), [S, C] = l.useState(null), P = tn(S), R = P?.width ?? 0, E = P?.height ?? 0, T = o + (s !== "center" ? "-" + s : ""), I = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, k = Array.isArray(u) ? u : [u], B = k.length > 0, Y = {
8400
+ } = e, x = hc(Br, n), [b, w] = l.useState(null), y = W(t, (M) => w(M)), [S, C] = l.useState(null), P = tn(S), R = P?.width ?? 0, E = P?.height ?? 0, T = o + (s !== "center" ? "-" + s : ""), I = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, k = Array.isArray(u) ? u : [u], B = k.length > 0, Y = {
8377
8401
  padding: I,
8378
- boundary: k.filter(Qv),
8402
+ boundary: k.filter(eh),
8379
8403
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
8380
8404
  altBoundary: B
8381
- }, { refs: U, floatingStyles: X, placement: F, isPositioned: G, middlewareData: A } = Fv({
8405
+ }, { refs: U, floatingStyles: X, placement: F, isPositioned: G, middlewareData: A } = $v({
8382
8406
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
8383
8407
  strategy: "fixed",
8384
8408
  placement: T,
8385
- whileElementsMounted: (...M) => Av(...M, {
8409
+ whileElementsMounted: (...M) => Tv(...M, {
8386
8410
  animationFrame: v === "always"
8387
8411
  }),
8388
8412
  elements: {
8389
8413
  reference: x.anchor
8390
8414
  },
8391
8415
  middleware: [
8392
- zv({ mainAxis: r + E, alignmentAxis: a }),
8393
- c && Vv({
8416
+ Vv({ mainAxis: r + E, alignmentAxis: a }),
8417
+ c && Bv({
8394
8418
  mainAxis: !0,
8395
8419
  crossAxis: !1,
8396
- limiter: p === "partial" ? Bv() : void 0,
8420
+ limiter: p === "partial" ? Hv() : void 0,
8397
8421
  ...Y
8398
8422
  }),
8399
- c && Hv({ ...Y }),
8400
- Gv({
8423
+ c && Gv({ ...Y }),
8424
+ Uv({
8401
8425
  ...Y,
8402
8426
  apply: ({ elements: M, rects: H, availableWidth: ne, availableHeight: Z }) => {
8403
8427
  const { width: K, height: D } = H.reference, ee = M.floating.style;
8404
8428
  ee.setProperty("--radix-popper-available-width", `${ne}px`), ee.setProperty("--radix-popper-available-height", `${Z}px`), ee.setProperty("--radix-popper-anchor-width", `${K}px`), ee.setProperty("--radix-popper-anchor-height", `${D}px`);
8405
8429
  }
8406
8430
  }),
8407
- S && Wv({ element: S, padding: i }),
8408
- eh({ arrowWidth: R, arrowHeight: E }),
8409
- m && Uv({ strategy: "referenceHidden", ...Y })
8431
+ S && Kv({ element: S, padding: i }),
8432
+ th({ arrowWidth: R, arrowHeight: E }),
8433
+ m && Wv({ strategy: "referenceHidden", ...Y })
8410
8434
  ]
8411
- }), [O, _] = yc(F), $ = ie(h);
8435
+ }), [O, _] = Ec(F), $ = ie(h);
8412
8436
  ce(() => {
8413
8437
  G && $?.();
8414
8438
  }, [G, $]);
@@ -8440,7 +8464,7 @@ var Br = "PopperContent", [qv, Zv] = pc(Br), xc = l.forwardRef(
8440
8464
  },
8441
8465
  dir: e.dir,
8442
8466
  children: /* @__PURE__ */ d.jsx(
8443
- qv,
8467
+ Zv,
8444
8468
  {
8445
8469
  scope: n,
8446
8470
  placedSide: O,
@@ -8469,14 +8493,14 @@ var Br = "PopperContent", [qv, Zv] = pc(Br), xc = l.forwardRef(
8469
8493
  );
8470
8494
  }
8471
8495
  );
8472
- xc.displayName = Br;
8473
- var bc = "PopperArrow", Jv = {
8496
+ yc.displayName = Br;
8497
+ var Sc = "PopperArrow", Qv = {
8474
8498
  top: "bottom",
8475
8499
  right: "left",
8476
8500
  bottom: "top",
8477
8501
  left: "right"
8478
- }, wc = l.forwardRef(function(t, n) {
8479
- const { __scopePopper: o, ...r } = t, s = Zv(bc, o), a = Jv[s.placedSide];
8502
+ }, Cc = l.forwardRef(function(t, n) {
8503
+ const { __scopePopper: o, ...r } = t, s = Jv(Sc, o), a = Qv[s.placedSide];
8480
8504
  return (
8481
8505
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
8482
8506
  // doesn't report size as we'd expect on SVG elements.
@@ -8505,7 +8529,7 @@ var bc = "PopperArrow", Jv = {
8505
8529
  visibility: s.shouldHideArrow ? "hidden" : void 0
8506
8530
  },
8507
8531
  children: /* @__PURE__ */ d.jsx(
8508
- Yv,
8532
+ Xv,
8509
8533
  {
8510
8534
  ...r,
8511
8535
  ref: n,
@@ -8520,31 +8544,31 @@ var bc = "PopperArrow", Jv = {
8520
8544
  )
8521
8545
  );
8522
8546
  });
8523
- wc.displayName = bc;
8524
- function Qv(e) {
8547
+ Cc.displayName = Sc;
8548
+ function eh(e) {
8525
8549
  return e !== null;
8526
8550
  }
8527
- var eh = (e) => ({
8551
+ var th = (e) => ({
8528
8552
  name: "transformOrigin",
8529
8553
  options: e,
8530
8554
  fn(t) {
8531
- const { placement: n, rects: o, middlewareData: r } = t, a = r.arrow?.centerOffset !== 0, i = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [u, f] = yc(n), p = { start: "0%", center: "50%", end: "100%" }[f], m = (r.arrow?.x ?? 0) + i / 2, v = (r.arrow?.y ?? 0) + c / 2;
8555
+ const { placement: n, rects: o, middlewareData: r } = t, a = r.arrow?.centerOffset !== 0, i = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [u, f] = Ec(n), p = { start: "0%", center: "50%", end: "100%" }[f], m = (r.arrow?.x ?? 0) + i / 2, v = (r.arrow?.y ?? 0) + c / 2;
8532
8556
  let h = "", g = "";
8533
8557
  return u === "bottom" ? (h = a ? p : `${m}px`, g = `${-c}px`) : u === "top" ? (h = a ? p : `${m}px`, g = `${o.floating.height + c}px`) : u === "right" ? (h = `${-c}px`, g = a ? p : `${v}px`) : u === "left" && (h = `${o.floating.width + c}px`, g = a ? p : `${v}px`), { data: { x: h, y: g } };
8534
8558
  }
8535
8559
  });
8536
- function yc(e) {
8560
+ function Ec(e) {
8537
8561
  const [t, n = "center"] = e.split("-");
8538
8562
  return [t, n];
8539
8563
  }
8540
- var on = gc, rn = hc, to = xc, no = wc, $o = "rovingFocusGroup.onEntryFocus", th = { bubbles: !1, cancelable: !0 }, sn = "RovingFocusGroup", [Jo, Sc, nh] = At(sn), [oh, oo] = de(
8564
+ var on = xc, rn = wc, to = yc, no = Cc, $o = "rovingFocusGroup.onEntryFocus", nh = { bubbles: !1, cancelable: !0 }, sn = "RovingFocusGroup", [Jo, Rc, oh] = At(sn), [rh, oo] = de(
8541
8565
  sn,
8542
- [nh]
8543
- ), [rh, sh] = oh(sn), Cc = l.forwardRef(
8544
- (e, t) => /* @__PURE__ */ d.jsx(Jo.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(Jo.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(ah, { ...e, ref: t }) }) })
8566
+ [oh]
8567
+ ), [sh, ah] = rh(sn), Pc = l.forwardRef(
8568
+ (e, t) => /* @__PURE__ */ d.jsx(Jo.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(Jo.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(ih, { ...e, ref: t }) }) })
8545
8569
  );
8546
- Cc.displayName = sn;
8547
- var ah = l.forwardRef((e, t) => {
8570
+ Pc.displayName = sn;
8571
+ var ih = l.forwardRef((e, t) => {
8548
8572
  const {
8549
8573
  __scopeRovingFocusGroup: n,
8550
8574
  orientation: o,
@@ -8561,13 +8585,13 @@ var ah = l.forwardRef((e, t) => {
8561
8585
  defaultProp: i ?? null,
8562
8586
  onChange: c,
8563
8587
  caller: sn
8564
- }), [b, w] = l.useState(!1), y = ie(u), S = Sc(n), C = l.useRef(!1), [P, R] = l.useState(0);
8588
+ }), [b, w] = l.useState(!1), y = ie(u), S = Rc(n), C = l.useRef(!1), [P, R] = l.useState(0);
8565
8589
  return l.useEffect(() => {
8566
8590
  const E = m.current;
8567
8591
  if (E)
8568
8592
  return E.addEventListener($o, y), () => E.removeEventListener($o, y);
8569
8593
  }, [y]), /* @__PURE__ */ d.jsx(
8570
- rh,
8594
+ sh,
8571
8595
  {
8572
8596
  scope: n,
8573
8597
  orientation: o,
@@ -8601,12 +8625,12 @@ var ah = l.forwardRef((e, t) => {
8601
8625
  onFocus: N(e.onFocus, (E) => {
8602
8626
  const T = !C.current;
8603
8627
  if (E.target === E.currentTarget && T && !b) {
8604
- const I = new CustomEvent($o, th);
8628
+ const I = new CustomEvent($o, nh);
8605
8629
  if (E.currentTarget.dispatchEvent(I), !I.defaultPrevented) {
8606
8630
  const k = S().filter((F) => F.focusable), B = k.find((F) => F.active), Y = k.find((F) => F.id === g), X = [B, Y, ...k].filter(
8607
8631
  Boolean
8608
8632
  ).map((F) => F.ref.current);
8609
- Pc(X, f);
8633
+ Tc(X, f);
8610
8634
  }
8611
8635
  }
8612
8636
  C.current = !1;
@@ -8616,7 +8640,7 @@ var ah = l.forwardRef((e, t) => {
8616
8640
  )
8617
8641
  }
8618
8642
  );
8619
- }), Ec = "RovingFocusGroupItem", Rc = l.forwardRef(
8643
+ }), _c = "RovingFocusGroupItem", Ac = l.forwardRef(
8620
8644
  (e, t) => {
8621
8645
  const {
8622
8646
  __scopeRovingFocusGroup: n,
@@ -8625,7 +8649,7 @@ var ah = l.forwardRef((e, t) => {
8625
8649
  tabStopId: s,
8626
8650
  children: a,
8627
8651
  ...i
8628
- } = e, c = me(), u = s || c, f = sh(Ec, n), p = f.currentTabStopId === u, m = Sc(n), { onFocusableItemAdd: v, onFocusableItemRemove: h, currentTabStopId: g } = f;
8652
+ } = e, c = me(), u = s || c, f = ah(_c, n), p = f.currentTabStopId === u, m = Rc(n), { onFocusableItemAdd: v, onFocusableItemRemove: h, currentTabStopId: g } = f;
8629
8653
  return l.useEffect(() => {
8630
8654
  if (o)
8631
8655
  return v(), () => h();
@@ -8653,7 +8677,7 @@ var ah = l.forwardRef((e, t) => {
8653
8677
  return;
8654
8678
  }
8655
8679
  if (x.target !== x.currentTarget) return;
8656
- const b = lh(x, f.orientation, f.dir);
8680
+ const b = uh(x, f.orientation, f.dir);
8657
8681
  if (b !== void 0) {
8658
8682
  if (x.metaKey || x.ctrlKey || x.altKey || x.shiftKey) return;
8659
8683
  x.preventDefault();
@@ -8662,9 +8686,9 @@ var ah = l.forwardRef((e, t) => {
8662
8686
  else if (b === "prev" || b === "next") {
8663
8687
  b === "prev" && y.reverse();
8664
8688
  const S = y.indexOf(x.currentTarget);
8665
- y = f.loop ? uh(y, S + 1) : y.slice(S + 1);
8689
+ y = f.loop ? dh(y, S + 1) : y.slice(S + 1);
8666
8690
  }
8667
- setTimeout(() => Pc(y));
8691
+ setTimeout(() => Tc(y));
8668
8692
  }
8669
8693
  }),
8670
8694
  children: typeof a == "function" ? a({ isCurrentTabStop: p, hasTabStop: g != null }) : a
@@ -8674,8 +8698,8 @@ var ah = l.forwardRef((e, t) => {
8674
8698
  );
8675
8699
  }
8676
8700
  );
8677
- Rc.displayName = Ec;
8678
- var ih = {
8701
+ Ac.displayName = _c;
8702
+ var ch = {
8679
8703
  ArrowLeft: "prev",
8680
8704
  ArrowUp: "prev",
8681
8705
  ArrowRight: "next",
@@ -8685,33 +8709,33 @@ var ih = {
8685
8709
  PageDown: "last",
8686
8710
  End: "last"
8687
8711
  };
8688
- function ch(e, t) {
8712
+ function lh(e, t) {
8689
8713
  return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
8690
8714
  }
8691
- function lh(e, t, n) {
8692
- const o = ch(e.key, n);
8715
+ function uh(e, t, n) {
8716
+ const o = lh(e.key, n);
8693
8717
  if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o)))
8694
- return ih[o];
8718
+ return ch[o];
8695
8719
  }
8696
- function Pc(e, t = !1) {
8720
+ function Tc(e, t = !1) {
8697
8721
  const n = document.activeElement;
8698
8722
  for (const o of e)
8699
8723
  if (o === n || (o.focus({ preventScroll: t }), document.activeElement !== n)) return;
8700
8724
  }
8701
- function uh(e, t) {
8725
+ function dh(e, t) {
8702
8726
  return e.map((n, o) => e[(t + o) % e.length]);
8703
8727
  }
8704
- var _c = Cc, Ac = Rc, Qo = ["Enter", " "], dh = ["ArrowDown", "PageUp", "Home"], Tc = ["ArrowUp", "PageDown", "End"], fh = [...dh, ...Tc], ph = {
8728
+ var Nc = Pc, Mc = Ac, Qo = ["Enter", " "], fh = ["ArrowDown", "PageUp", "Home"], Ic = ["ArrowUp", "PageDown", "End"], ph = [...fh, ...Ic], mh = {
8705
8729
  ltr: [...Qo, "ArrowRight"],
8706
8730
  rtl: [...Qo, "ArrowLeft"]
8707
- }, mh = {
8731
+ }, gh = {
8708
8732
  ltr: ["ArrowLeft"],
8709
8733
  rtl: ["ArrowRight"]
8710
- }, an = "Menu", [Kt, gh, vh] = At(an), [lt, Nc] = de(an, [
8711
- vh,
8734
+ }, an = "Menu", [Kt, vh, hh] = At(an), [lt, kc] = de(an, [
8735
+ hh,
8712
8736
  Ke,
8713
8737
  oo
8714
- ]), cn = Ke(), Mc = oo(), [Ic, Ye] = lt(an), [hh, ln] = lt(an), kc = (e) => {
8738
+ ]), cn = Ke(), Oc = oo(), [Dc, Ye] = lt(an), [xh, ln] = lt(an), jc = (e) => {
8715
8739
  const { __scopeMenu: t, open: n = !1, children: o, dir: r, onOpenChange: s, modal: a = !0 } = e, i = cn(t), [c, u] = l.useState(null), f = l.useRef(!1), p = ie(s), m = ct(r);
8716
8740
  return l.useEffect(() => {
8717
8741
  const v = () => {
@@ -8721,7 +8745,7 @@ var _c = Cc, Ac = Rc, Qo = ["Enter", " "], dh = ["ArrowDown", "PageUp", "Home"],
8721
8745
  document.removeEventListener("keydown", v, { capture: !0 }), document.removeEventListener("pointerdown", h, { capture: !0 }), document.removeEventListener("pointermove", h, { capture: !0 });
8722
8746
  };
8723
8747
  }, []), /* @__PURE__ */ d.jsx(on, { ...i, children: /* @__PURE__ */ d.jsx(
8724
- Ic,
8748
+ Dc,
8725
8749
  {
8726
8750
  scope: t,
8727
8751
  open: n,
@@ -8729,7 +8753,7 @@ var _c = Cc, Ac = Rc, Qo = ["Enter", " "], dh = ["ArrowDown", "PageUp", "Home"],
8729
8753
  content: c,
8730
8754
  onContentChange: u,
8731
8755
  children: /* @__PURE__ */ d.jsx(
8732
- hh,
8756
+ xh,
8733
8757
  {
8734
8758
  scope: t,
8735
8759
  onClose: l.useCallback(() => p(!1), [p]),
@@ -8742,27 +8766,27 @@ var _c = Cc, Ac = Rc, Qo = ["Enter", " "], dh = ["ArrowDown", "PageUp", "Home"],
8742
8766
  }
8743
8767
  ) });
8744
8768
  };
8745
- kc.displayName = an;
8746
- var xh = "MenuAnchor", Hr = l.forwardRef(
8769
+ jc.displayName = an;
8770
+ var bh = "MenuAnchor", Hr = l.forwardRef(
8747
8771
  (e, t) => {
8748
8772
  const { __scopeMenu: n, ...o } = e, r = cn(n);
8749
8773
  return /* @__PURE__ */ d.jsx(rn, { ...r, ...o, ref: t });
8750
8774
  }
8751
8775
  );
8752
- Hr.displayName = xh;
8753
- var Gr = "MenuPortal", [bh, Oc] = lt(Gr, {
8776
+ Hr.displayName = bh;
8777
+ var Gr = "MenuPortal", [wh, Lc] = lt(Gr, {
8754
8778
  forceMount: void 0
8755
- }), Dc = (e) => {
8779
+ }), Fc = (e) => {
8756
8780
  const { __scopeMenu: t, forceMount: n, children: o, container: r } = e, s = Ye(Gr, t);
8757
- return /* @__PURE__ */ d.jsx(bh, { scope: t, forceMount: n, children: /* @__PURE__ */ d.jsx(ue, { present: n || s.open, children: /* @__PURE__ */ d.jsx(Pt, { asChild: !0, container: r, children: o }) }) });
8781
+ return /* @__PURE__ */ d.jsx(wh, { scope: t, forceMount: n, children: /* @__PURE__ */ d.jsx(ue, { present: n || s.open, children: /* @__PURE__ */ d.jsx(Pt, { asChild: !0, container: r, children: o }) }) });
8758
8782
  };
8759
- Dc.displayName = Gr;
8760
- var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8783
+ Fc.displayName = Gr;
8784
+ var Se = "MenuContent", [yh, Ur] = lt(Se), $c = l.forwardRef(
8761
8785
  (e, t) => {
8762
- const n = Oc(Se, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, s = Ye(Se, e.__scopeMenu), a = ln(Se, e.__scopeMenu);
8763
- return /* @__PURE__ */ d.jsx(Kt.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ d.jsx(ue, { present: o || s.open, children: /* @__PURE__ */ d.jsx(Kt.Slot, { scope: e.__scopeMenu, children: a.modal ? /* @__PURE__ */ d.jsx(yh, { ...r, ref: t }) : /* @__PURE__ */ d.jsx(Sh, { ...r, ref: t }) }) }) });
8786
+ const n = Lc(Se, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, s = Ye(Se, e.__scopeMenu), a = ln(Se, e.__scopeMenu);
8787
+ return /* @__PURE__ */ d.jsx(Kt.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ d.jsx(ue, { present: o || s.open, children: /* @__PURE__ */ d.jsx(Kt.Slot, { scope: e.__scopeMenu, children: a.modal ? /* @__PURE__ */ d.jsx(Sh, { ...r, ref: t }) : /* @__PURE__ */ d.jsx(Ch, { ...r, ref: t }) }) }) });
8764
8788
  }
8765
- ), yh = l.forwardRef(
8789
+ ), Sh = l.forwardRef(
8766
8790
  (e, t) => {
8767
8791
  const n = Ye(Se, e.__scopeMenu), o = l.useRef(null), r = W(t, o);
8768
8792
  return l.useEffect(() => {
@@ -8785,7 +8809,7 @@ var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8785
8809
  }
8786
8810
  );
8787
8811
  }
8788
- ), Sh = l.forwardRef((e, t) => {
8812
+ ), Ch = l.forwardRef((e, t) => {
8789
8813
  const n = Ye(Se, e.__scopeMenu);
8790
8814
  return /* @__PURE__ */ d.jsx(
8791
8815
  Wr,
@@ -8798,7 +8822,7 @@ var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8798
8822
  onDismiss: () => n.onOpenChange(!1)
8799
8823
  }
8800
8824
  );
8801
- }), Ch = /* @__PURE__ */ Ge("MenuContent.ScrollLock"), Wr = l.forwardRef(
8825
+ }), Eh = /* @__PURE__ */ Ge("MenuContent.ScrollLock"), Wr = l.forwardRef(
8802
8826
  (e, t) => {
8803
8827
  const {
8804
8828
  __scopeMenu: n,
@@ -8815,16 +8839,16 @@ var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8815
8839
  onDismiss: v,
8816
8840
  disableOutsideScroll: h,
8817
8841
  ...g
8818
- } = e, x = Ye(Se, n), b = ln(Se, n), w = cn(n), y = Mc(n), S = gh(n), [C, P] = l.useState(null), R = l.useRef(null), E = W(t, R, x.onContentChange), T = l.useRef(0), I = l.useRef(""), k = l.useRef(0), B = l.useRef(null), Y = l.useRef("right"), U = l.useRef(0), X = h ? Qt : l.Fragment, F = h ? { as: Ch, allowPinchZoom: !0 } : void 0, G = (O) => {
8819
- const _ = I.current + O, $ = S().filter((M) => !M.disabled), J = document.activeElement, q = $.find((M) => M.ref.current === J)?.textValue, Q = $.map((M) => M.textValue), re = Dh(Q, _, q), ae = $.find((M) => M.textValue === re)?.ref.current;
8842
+ } = e, x = Ye(Se, n), b = ln(Se, n), w = cn(n), y = Oc(n), S = vh(n), [C, P] = l.useState(null), R = l.useRef(null), E = W(t, R, x.onContentChange), T = l.useRef(0), I = l.useRef(""), k = l.useRef(0), B = l.useRef(null), Y = l.useRef("right"), U = l.useRef(0), X = h ? Qt : l.Fragment, F = h ? { as: Eh, allowPinchZoom: !0 } : void 0, G = (O) => {
8843
+ const _ = I.current + O, $ = S().filter((M) => !M.disabled), J = document.activeElement, q = $.find((M) => M.ref.current === J)?.textValue, Q = $.map((M) => M.textValue), re = jh(Q, _, q), ae = $.find((M) => M.textValue === re)?.ref.current;
8820
8844
  (function M(H) {
8821
8845
  I.current = H, window.clearTimeout(T.current), H !== "" && (T.current = window.setTimeout(() => M(""), 1e3));
8822
8846
  })(_), ae && setTimeout(() => ae.focus());
8823
8847
  };
8824
8848
  l.useEffect(() => () => window.clearTimeout(T.current), []), Hn();
8825
- const A = l.useCallback((O) => Y.current === B.current?.side && Lh(O, B.current?.area), []);
8849
+ const A = l.useCallback((O) => Y.current === B.current?.side && Fh(O, B.current?.area), []);
8826
8850
  return /* @__PURE__ */ d.jsx(
8827
- wh,
8851
+ yh,
8828
8852
  {
8829
8853
  scope: n,
8830
8854
  searchRef: I,
@@ -8870,7 +8894,7 @@ var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8870
8894
  onInteractOutside: m,
8871
8895
  onDismiss: v,
8872
8896
  children: /* @__PURE__ */ d.jsx(
8873
- _c,
8897
+ Nc,
8874
8898
  {
8875
8899
  asChild: !0,
8876
8900
  ...y,
@@ -8888,7 +8912,7 @@ var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8888
8912
  {
8889
8913
  role: "menu",
8890
8914
  "aria-orientation": "vertical",
8891
- "data-state": Qc(x.open),
8915
+ "data-state": nl(x.open),
8892
8916
  "data-radix-menu-content": "",
8893
8917
  dir: b.dir,
8894
8918
  ...w,
@@ -8899,10 +8923,10 @@ var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8899
8923
  const $ = O.target.closest("[data-radix-menu-content]") === O.currentTarget, J = O.ctrlKey || O.altKey || O.metaKey, q = O.key.length === 1;
8900
8924
  $ && (O.key === "Tab" && O.preventDefault(), !J && q && G(O.key));
8901
8925
  const Q = R.current;
8902
- if (O.target !== Q || !fh.includes(O.key)) return;
8926
+ if (O.target !== Q || !ph.includes(O.key)) return;
8903
8927
  O.preventDefault();
8904
8928
  const ae = S().filter((M) => !M.disabled).map((M) => M.ref.current);
8905
- Tc.includes(O.key) && ae.reverse(), kh(ae);
8929
+ Ic.includes(O.key) && ae.reverse(), Oh(ae);
8906
8930
  }),
8907
8931
  onBlur: N(e.onBlur, (O) => {
8908
8932
  O.currentTarget.contains(O.target) || (window.clearTimeout(T.current), I.current = "");
@@ -8929,21 +8953,21 @@ var Se = "MenuContent", [wh, Ur] = lt(Se), jc = l.forwardRef(
8929
8953
  );
8930
8954
  }
8931
8955
  );
8932
- jc.displayName = Se;
8933
- var Eh = "MenuGroup", Kr = l.forwardRef(
8956
+ $c.displayName = Se;
8957
+ var Rh = "MenuGroup", Kr = l.forwardRef(
8934
8958
  (e, t) => {
8935
8959
  const { __scopeMenu: n, ...o } = e;
8936
8960
  return /* @__PURE__ */ d.jsx(L.div, { role: "group", ...o, ref: t });
8937
8961
  }
8938
8962
  );
8939
- Kr.displayName = Eh;
8940
- var Rh = "MenuLabel", Lc = l.forwardRef(
8963
+ Kr.displayName = Rh;
8964
+ var Ph = "MenuLabel", zc = l.forwardRef(
8941
8965
  (e, t) => {
8942
8966
  const { __scopeMenu: n, ...o } = e;
8943
8967
  return /* @__PURE__ */ d.jsx(L.div, { ...o, ref: t });
8944
8968
  }
8945
8969
  );
8946
- Lc.displayName = Rh;
8970
+ zc.displayName = Ph;
8947
8971
  var On = "MenuItem", fa = "menu.itemSelect", ro = l.forwardRef(
8948
8972
  (e, t) => {
8949
8973
  const { disabled: n = !1, onSelect: o, ...r } = e, s = l.useRef(null), a = ln(On, e.__scopeMenu), i = Ur(On, e.__scopeMenu), c = W(t, s), u = l.useRef(!1), f = () => {
@@ -8954,7 +8978,7 @@ var On = "MenuItem", fa = "menu.itemSelect", ro = l.forwardRef(
8954
8978
  }
8955
8979
  };
8956
8980
  return /* @__PURE__ */ d.jsx(
8957
- Fc,
8981
+ Vc,
8958
8982
  {
8959
8983
  ...r,
8960
8984
  ref: c,
@@ -8975,9 +8999,9 @@ var On = "MenuItem", fa = "menu.itemSelect", ro = l.forwardRef(
8975
8999
  }
8976
9000
  );
8977
9001
  ro.displayName = On;
8978
- var Fc = l.forwardRef(
9002
+ var Vc = l.forwardRef(
8979
9003
  (e, t) => {
8980
- const { __scopeMenu: n, disabled: o = !1, textValue: r, ...s } = e, a = Ur(On, n), i = Mc(n), c = l.useRef(null), u = W(t, c), [f, p] = l.useState(!1), [m, v] = l.useState("");
9004
+ const { __scopeMenu: n, disabled: o = !1, textValue: r, ...s } = e, a = Ur(On, n), i = Oc(n), c = l.useRef(null), u = W(t, c), [f, p] = l.useState(!1), [m, v] = l.useState("");
8981
9005
  return l.useEffect(() => {
8982
9006
  const h = c.current;
8983
9007
  h && v((h.textContent ?? "").trim());
@@ -8987,7 +9011,7 @@ var Fc = l.forwardRef(
8987
9011
  scope: n,
8988
9012
  disabled: o,
8989
9013
  textValue: r ?? m,
8990
- children: /* @__PURE__ */ d.jsx(Ac, { asChild: !0, ...i, focusable: !o, children: /* @__PURE__ */ d.jsx(
9014
+ children: /* @__PURE__ */ d.jsx(Mc, { asChild: !0, ...i, focusable: !o, children: /* @__PURE__ */ d.jsx(
8991
9015
  L.div,
8992
9016
  {
8993
9017
  role: "menuitem",
@@ -9013,10 +9037,10 @@ var Fc = l.forwardRef(
9013
9037
  }
9014
9038
  );
9015
9039
  }
9016
- ), Ph = "MenuCheckboxItem", $c = l.forwardRef(
9040
+ ), _h = "MenuCheckboxItem", Bc = l.forwardRef(
9017
9041
  (e, t) => {
9018
9042
  const { checked: n = !1, onCheckedChange: o, ...r } = e;
9019
- return /* @__PURE__ */ d.jsx(Gc, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ d.jsx(
9043
+ return /* @__PURE__ */ d.jsx(Kc, { scope: e.__scopeMenu, checked: n, children: /* @__PURE__ */ d.jsx(
9020
9044
  ro,
9021
9045
  {
9022
9046
  role: "menuitemcheckbox",
@@ -9033,22 +9057,22 @@ var Fc = l.forwardRef(
9033
9057
  ) });
9034
9058
  }
9035
9059
  );
9036
- $c.displayName = Ph;
9037
- var zc = "MenuRadioGroup", [_h, Ah] = lt(
9038
- zc,
9060
+ Bc.displayName = _h;
9061
+ var Hc = "MenuRadioGroup", [Ah, Th] = lt(
9062
+ Hc,
9039
9063
  { value: void 0, onValueChange: () => {
9040
9064
  } }
9041
- ), Vc = l.forwardRef(
9065
+ ), Gc = l.forwardRef(
9042
9066
  (e, t) => {
9043
9067
  const { value: n, onValueChange: o, ...r } = e, s = ie(o);
9044
- return /* @__PURE__ */ d.jsx(_h, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ d.jsx(Kr, { ...r, ref: t }) });
9068
+ return /* @__PURE__ */ d.jsx(Ah, { scope: e.__scopeMenu, value: n, onValueChange: s, children: /* @__PURE__ */ d.jsx(Kr, { ...r, ref: t }) });
9045
9069
  }
9046
9070
  );
9047
- Vc.displayName = zc;
9048
- var Bc = "MenuRadioItem", Hc = l.forwardRef(
9071
+ Gc.displayName = Hc;
9072
+ var Uc = "MenuRadioItem", Wc = l.forwardRef(
9049
9073
  (e, t) => {
9050
- const { value: n, ...o } = e, r = Ah(Bc, e.__scopeMenu), s = n === r.value;
9051
- return /* @__PURE__ */ d.jsx(Gc, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ d.jsx(
9074
+ const { value: n, ...o } = e, r = Th(Uc, e.__scopeMenu), s = n === r.value;
9075
+ return /* @__PURE__ */ d.jsx(Kc, { scope: e.__scopeMenu, checked: s, children: /* @__PURE__ */ d.jsx(
9052
9076
  ro,
9053
9077
  {
9054
9078
  role: "menuitemradio",
@@ -9065,13 +9089,13 @@ var Bc = "MenuRadioItem", Hc = l.forwardRef(
9065
9089
  ) });
9066
9090
  }
9067
9091
  );
9068
- Hc.displayName = Bc;
9069
- var Yr = "MenuItemIndicator", [Gc, Th] = lt(
9092
+ Wc.displayName = Uc;
9093
+ var Yr = "MenuItemIndicator", [Kc, Nh] = lt(
9070
9094
  Yr,
9071
9095
  { checked: !1 }
9072
- ), Uc = l.forwardRef(
9096
+ ), Yc = l.forwardRef(
9073
9097
  (e, t) => {
9074
- const { __scopeMenu: n, forceMount: o, ...r } = e, s = Th(Yr, n);
9098
+ const { __scopeMenu: n, forceMount: o, ...r } = e, s = Nh(Yr, n);
9075
9099
  return /* @__PURE__ */ d.jsx(
9076
9100
  ue,
9077
9101
  {
@@ -9088,8 +9112,8 @@ var Yr = "MenuItemIndicator", [Gc, Th] = lt(
9088
9112
  );
9089
9113
  }
9090
9114
  );
9091
- Uc.displayName = Yr;
9092
- var Nh = "MenuSeparator", Wc = l.forwardRef(
9115
+ Yc.displayName = Yr;
9116
+ var Mh = "MenuSeparator", Xc = l.forwardRef(
9093
9117
  (e, t) => {
9094
9118
  const { __scopeMenu: n, ...o } = e;
9095
9119
  return /* @__PURE__ */ d.jsx(
@@ -9103,18 +9127,18 @@ var Nh = "MenuSeparator", Wc = l.forwardRef(
9103
9127
  );
9104
9128
  }
9105
9129
  );
9106
- Wc.displayName = Nh;
9107
- var Mh = "MenuArrow", Kc = l.forwardRef(
9130
+ Xc.displayName = Mh;
9131
+ var Ih = "MenuArrow", qc = l.forwardRef(
9108
9132
  (e, t) => {
9109
9133
  const { __scopeMenu: n, ...o } = e, r = cn(n);
9110
9134
  return /* @__PURE__ */ d.jsx(no, { ...r, ...o, ref: t });
9111
9135
  }
9112
9136
  );
9113
- Kc.displayName = Mh;
9114
- var Xr = "MenuSub", [Ih, Yc] = lt(Xr), Xc = (e) => {
9137
+ qc.displayName = Ih;
9138
+ var Xr = "MenuSub", [kh, Zc] = lt(Xr), Jc = (e) => {
9115
9139
  const { __scopeMenu: t, children: n, open: o = !1, onOpenChange: r } = e, s = Ye(Xr, t), a = cn(t), [i, c] = l.useState(null), [u, f] = l.useState(null), p = ie(r);
9116
9140
  return l.useEffect(() => (s.open === !1 && p(!1), () => p(!1)), [s.open, p]), /* @__PURE__ */ d.jsx(on, { ...a, children: /* @__PURE__ */ d.jsx(
9117
- Ic,
9141
+ Dc,
9118
9142
  {
9119
9143
  scope: t,
9120
9144
  open: o,
@@ -9122,7 +9146,7 @@ var Xr = "MenuSub", [Ih, Yc] = lt(Xr), Xc = (e) => {
9122
9146
  content: u,
9123
9147
  onContentChange: f,
9124
9148
  children: /* @__PURE__ */ d.jsx(
9125
- Ih,
9149
+ kh,
9126
9150
  {
9127
9151
  scope: t,
9128
9152
  contentId: me(),
@@ -9135,10 +9159,10 @@ var Xr = "MenuSub", [Ih, Yc] = lt(Xr), Xc = (e) => {
9135
9159
  }
9136
9160
  ) });
9137
9161
  };
9138
- Xc.displayName = Xr;
9139
- var Ft = "MenuSubTrigger", qc = l.forwardRef(
9162
+ Jc.displayName = Xr;
9163
+ var Ft = "MenuSubTrigger", Qc = l.forwardRef(
9140
9164
  (e, t) => {
9141
- const n = Ye(Ft, e.__scopeMenu), o = ln(Ft, e.__scopeMenu), r = Yc(Ft, e.__scopeMenu), s = Ur(Ft, e.__scopeMenu), a = l.useRef(null), { pointerGraceTimerRef: i, onPointerGraceIntentChange: c } = s, u = { __scopeMenu: e.__scopeMenu }, f = l.useCallback(() => {
9165
+ const n = Ye(Ft, e.__scopeMenu), o = ln(Ft, e.__scopeMenu), r = Zc(Ft, e.__scopeMenu), s = Ur(Ft, e.__scopeMenu), a = l.useRef(null), { pointerGraceTimerRef: i, onPointerGraceIntentChange: c } = s, u = { __scopeMenu: e.__scopeMenu }, f = l.useCallback(() => {
9142
9166
  a.current && window.clearTimeout(a.current), a.current = null;
9143
9167
  }, []);
9144
9168
  return l.useEffect(() => f, [f]), l.useEffect(() => {
@@ -9147,13 +9171,13 @@ var Ft = "MenuSubTrigger", qc = l.forwardRef(
9147
9171
  window.clearTimeout(p), c(null);
9148
9172
  };
9149
9173
  }, [i, c]), /* @__PURE__ */ d.jsx(Hr, { asChild: !0, ...u, children: /* @__PURE__ */ d.jsx(
9150
- Fc,
9174
+ Vc,
9151
9175
  {
9152
9176
  id: r.triggerId,
9153
9177
  "aria-haspopup": "menu",
9154
9178
  "aria-expanded": n.open,
9155
9179
  "aria-controls": r.contentId,
9156
- "data-state": Qc(n.open),
9180
+ "data-state": nl(n.open),
9157
9181
  ...e,
9158
9182
  ref: Zt(t, r.onTriggerChange),
9159
9183
  onClick: (p) => {
@@ -9197,16 +9221,16 @@ var Ft = "MenuSubTrigger", qc = l.forwardRef(
9197
9221
  ),
9198
9222
  onKeyDown: N(e.onKeyDown, (p) => {
9199
9223
  const m = s.searchRef.current !== "";
9200
- e.disabled || m && p.key === " " || ph[o.dir].includes(p.key) && (n.onOpenChange(!0), n.content?.focus(), p.preventDefault());
9224
+ e.disabled || m && p.key === " " || mh[o.dir].includes(p.key) && (n.onOpenChange(!0), n.content?.focus(), p.preventDefault());
9201
9225
  })
9202
9226
  }
9203
9227
  ) });
9204
9228
  }
9205
9229
  );
9206
- qc.displayName = Ft;
9207
- var Zc = "MenuSubContent", Jc = l.forwardRef(
9230
+ Qc.displayName = Ft;
9231
+ var el = "MenuSubContent", tl = l.forwardRef(
9208
9232
  (e, t) => {
9209
- const n = Oc(Se, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, s = Ye(Se, e.__scopeMenu), a = ln(Se, e.__scopeMenu), i = Yc(Zc, e.__scopeMenu), c = l.useRef(null), u = W(t, c);
9233
+ const n = Lc(Se, e.__scopeMenu), { forceMount: o = n.forceMount, ...r } = e, s = Ye(Se, e.__scopeMenu), a = ln(Se, e.__scopeMenu), i = Zc(el, e.__scopeMenu), c = l.useRef(null), u = W(t, c);
9210
9234
  return /* @__PURE__ */ d.jsx(Kt.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ d.jsx(ue, { present: o || s.open, children: /* @__PURE__ */ d.jsx(Kt.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ d.jsx(
9211
9235
  Wr,
9212
9236
  {
@@ -9230,15 +9254,15 @@ var Zc = "MenuSubContent", Jc = l.forwardRef(
9230
9254
  a.onClose(), f.preventDefault();
9231
9255
  }),
9232
9256
  onKeyDown: N(e.onKeyDown, (f) => {
9233
- const p = f.currentTarget.contains(f.target), m = mh[a.dir].includes(f.key);
9257
+ const p = f.currentTarget.contains(f.target), m = gh[a.dir].includes(f.key);
9234
9258
  p && m && (s.onOpenChange(!1), i.trigger?.focus(), f.preventDefault());
9235
9259
  })
9236
9260
  }
9237
9261
  ) }) }) });
9238
9262
  }
9239
9263
  );
9240
- Jc.displayName = Zc;
9241
- function Qc(e) {
9264
+ tl.displayName = el;
9265
+ function nl(e) {
9242
9266
  return e ? "open" : "closed";
9243
9267
  }
9244
9268
  function Dn(e) {
@@ -9247,24 +9271,24 @@ function Dn(e) {
9247
9271
  function qr(e) {
9248
9272
  return Dn(e) ? "indeterminate" : e ? "checked" : "unchecked";
9249
9273
  }
9250
- function kh(e) {
9274
+ function Oh(e) {
9251
9275
  const t = document.activeElement;
9252
9276
  for (const n of e)
9253
9277
  if (n === t || (n.focus(), document.activeElement !== t)) return;
9254
9278
  }
9255
- function Oh(e, t) {
9279
+ function Dh(e, t) {
9256
9280
  return e.map((n, o) => e[(t + o) % e.length]);
9257
9281
  }
9258
- function Dh(e, t, n) {
9282
+ function jh(e, t, n) {
9259
9283
  const r = t.length > 1 && Array.from(t).every((u) => u === t[0]) ? t[0] : t, s = n ? e.indexOf(n) : -1;
9260
- let a = Oh(e, Math.max(s, 0));
9284
+ let a = Dh(e, Math.max(s, 0));
9261
9285
  r.length === 1 && (a = a.filter((u) => u !== n));
9262
9286
  const c = a.find(
9263
9287
  (u) => u.toLowerCase().startsWith(r.toLowerCase())
9264
9288
  );
9265
9289
  return c !== n ? c : void 0;
9266
9290
  }
9267
- function jh(e, t) {
9291
+ function Lh(e, t) {
9268
9292
  const { x: n, y: o } = e;
9269
9293
  let r = !1;
9270
9294
  for (let s = 0, a = t.length - 1; s < t.length; a = s++) {
@@ -9273,18 +9297,18 @@ function jh(e, t) {
9273
9297
  }
9274
9298
  return r;
9275
9299
  }
9276
- function Lh(e, t) {
9300
+ function Fh(e, t) {
9277
9301
  if (!t) return !1;
9278
9302
  const n = { x: e.clientX, y: e.clientY };
9279
- return jh(n, t);
9303
+ return Lh(n, t);
9280
9304
  }
9281
9305
  function Yt(e) {
9282
9306
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
9283
9307
  }
9284
- var Fh = kc, $h = Hr, zh = Dc, Vh = jc, Bh = Kr, Hh = Lc, Gh = ro, Uh = $c, Wh = Vc, Kh = Hc, Yh = Uc, Xh = Wc, qh = Kc, Zh = Xc, Jh = qc, Qh = Jc, so = "DropdownMenu", [ex, jS] = de(
9308
+ var $h = jc, zh = Hr, Vh = Fc, Bh = $c, Hh = Kr, Gh = zc, Uh = ro, Wh = Bc, Kh = Gc, Yh = Wc, Xh = Yc, qh = Xc, Zh = qc, Jh = Jc, Qh = Qc, ex = tl, so = "DropdownMenu", [tx, jS] = de(
9285
9309
  so,
9286
- [Nc]
9287
- ), ge = Nc(), [tx, el] = ex(so), tl = (e) => {
9310
+ [kc]
9311
+ ), ge = kc(), [nx, ol] = tx(so), rl = (e) => {
9288
9312
  const {
9289
9313
  __scopeDropdownMenu: t,
9290
9314
  children: n,
@@ -9300,7 +9324,7 @@ var Fh = kc, $h = Hr, zh = Dc, Vh = jc, Bh = Kr, Hh = Lc, Gh = ro, Uh = $c, Wh =
9300
9324
  caller: so
9301
9325
  });
9302
9326
  return /* @__PURE__ */ d.jsx(
9303
- tx,
9327
+ nx,
9304
9328
  {
9305
9329
  scope: t,
9306
9330
  triggerId: me(),
@@ -9310,15 +9334,15 @@ var Fh = kc, $h = Hr, zh = Dc, Vh = jc, Bh = Kr, Hh = Lc, Gh = ro, Uh = $c, Wh =
9310
9334
  onOpenChange: p,
9311
9335
  onOpenToggle: l.useCallback(() => p((m) => !m), [p]),
9312
9336
  modal: i,
9313
- children: /* @__PURE__ */ d.jsx(Fh, { ...c, open: f, onOpenChange: p, dir: o, modal: i, children: n })
9337
+ children: /* @__PURE__ */ d.jsx($h, { ...c, open: f, onOpenChange: p, dir: o, modal: i, children: n })
9314
9338
  }
9315
9339
  );
9316
9340
  };
9317
- tl.displayName = so;
9318
- var nl = "DropdownMenuTrigger", ol = l.forwardRef(
9341
+ rl.displayName = so;
9342
+ var sl = "DropdownMenuTrigger", al = l.forwardRef(
9319
9343
  (e, t) => {
9320
- const { __scopeDropdownMenu: n, disabled: o = !1, ...r } = e, s = el(nl, n), a = ge(n);
9321
- return /* @__PURE__ */ d.jsx($h, { asChild: !0, ...a, children: /* @__PURE__ */ d.jsx(
9344
+ const { __scopeDropdownMenu: n, disabled: o = !1, ...r } = e, s = ol(sl, n), a = ge(n);
9345
+ return /* @__PURE__ */ d.jsx(zh, { asChild: !0, ...a, children: /* @__PURE__ */ d.jsx(
9322
9346
  L.button,
9323
9347
  {
9324
9348
  type: "button",
@@ -9341,17 +9365,17 @@ var nl = "DropdownMenuTrigger", ol = l.forwardRef(
9341
9365
  ) });
9342
9366
  }
9343
9367
  );
9344
- ol.displayName = nl;
9345
- var nx = "DropdownMenuPortal", rl = (e) => {
9368
+ al.displayName = sl;
9369
+ var ox = "DropdownMenuPortal", il = (e) => {
9346
9370
  const { __scopeDropdownMenu: t, ...n } = e, o = ge(t);
9347
- return /* @__PURE__ */ d.jsx(zh, { ...o, ...n });
9371
+ return /* @__PURE__ */ d.jsx(Vh, { ...o, ...n });
9348
9372
  };
9349
- rl.displayName = nx;
9350
- var sl = "DropdownMenuContent", al = l.forwardRef(
9373
+ il.displayName = ox;
9374
+ var cl = "DropdownMenuContent", ll = l.forwardRef(
9351
9375
  (e, t) => {
9352
- const { __scopeDropdownMenu: n, ...o } = e, r = el(sl, n), s = ge(n), a = l.useRef(!1);
9376
+ const { __scopeDropdownMenu: n, ...o } = e, r = ol(cl, n), s = ge(n), a = l.useRef(!1);
9353
9377
  return /* @__PURE__ */ d.jsx(
9354
- Vh,
9378
+ Bh,
9355
9379
  {
9356
9380
  id: r.contentId,
9357
9381
  "aria-labelledby": r.triggerId,
@@ -9377,77 +9401,77 @@ var sl = "DropdownMenuContent", al = l.forwardRef(
9377
9401
  );
9378
9402
  }
9379
9403
  );
9380
- al.displayName = sl;
9381
- var ox = "DropdownMenuGroup", il = l.forwardRef(
9404
+ ll.displayName = cl;
9405
+ var rx = "DropdownMenuGroup", ul = l.forwardRef(
9382
9406
  (e, t) => {
9383
9407
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9384
- return /* @__PURE__ */ d.jsx(Bh, { ...r, ...o, ref: t });
9408
+ return /* @__PURE__ */ d.jsx(Hh, { ...r, ...o, ref: t });
9385
9409
  }
9386
9410
  );
9387
- il.displayName = ox;
9388
- var rx = "DropdownMenuLabel", cl = l.forwardRef(
9411
+ ul.displayName = rx;
9412
+ var sx = "DropdownMenuLabel", dl = l.forwardRef(
9389
9413
  (e, t) => {
9390
9414
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9391
- return /* @__PURE__ */ d.jsx(Hh, { ...r, ...o, ref: t });
9415
+ return /* @__PURE__ */ d.jsx(Gh, { ...r, ...o, ref: t });
9392
9416
  }
9393
9417
  );
9394
- cl.displayName = rx;
9395
- var sx = "DropdownMenuItem", ll = l.forwardRef(
9418
+ dl.displayName = sx;
9419
+ var ax = "DropdownMenuItem", fl = l.forwardRef(
9396
9420
  (e, t) => {
9397
9421
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9398
- return /* @__PURE__ */ d.jsx(Gh, { ...r, ...o, ref: t });
9422
+ return /* @__PURE__ */ d.jsx(Uh, { ...r, ...o, ref: t });
9399
9423
  }
9400
9424
  );
9401
- ll.displayName = sx;
9402
- var ax = "DropdownMenuCheckboxItem", ul = l.forwardRef((e, t) => {
9403
- const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9404
- return /* @__PURE__ */ d.jsx(Uh, { ...r, ...o, ref: t });
9405
- });
9406
- ul.displayName = ax;
9407
- var ix = "DropdownMenuRadioGroup", dl = l.forwardRef((e, t) => {
9425
+ fl.displayName = ax;
9426
+ var ix = "DropdownMenuCheckboxItem", pl = l.forwardRef((e, t) => {
9408
9427
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9409
9428
  return /* @__PURE__ */ d.jsx(Wh, { ...r, ...o, ref: t });
9410
9429
  });
9411
- dl.displayName = ix;
9412
- var cx = "DropdownMenuRadioItem", fl = l.forwardRef((e, t) => {
9430
+ pl.displayName = ix;
9431
+ var cx = "DropdownMenuRadioGroup", ml = l.forwardRef((e, t) => {
9413
9432
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9414
9433
  return /* @__PURE__ */ d.jsx(Kh, { ...r, ...o, ref: t });
9415
9434
  });
9416
- fl.displayName = cx;
9417
- var lx = "DropdownMenuItemIndicator", pl = l.forwardRef((e, t) => {
9435
+ ml.displayName = cx;
9436
+ var lx = "DropdownMenuRadioItem", gl = l.forwardRef((e, t) => {
9418
9437
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9419
9438
  return /* @__PURE__ */ d.jsx(Yh, { ...r, ...o, ref: t });
9420
9439
  });
9421
- pl.displayName = lx;
9422
- var ux = "DropdownMenuSeparator", ml = l.forwardRef((e, t) => {
9440
+ gl.displayName = lx;
9441
+ var ux = "DropdownMenuItemIndicator", vl = l.forwardRef((e, t) => {
9423
9442
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9424
9443
  return /* @__PURE__ */ d.jsx(Xh, { ...r, ...o, ref: t });
9425
9444
  });
9426
- ml.displayName = ux;
9427
- var dx = "DropdownMenuArrow", fx = l.forwardRef(
9445
+ vl.displayName = ux;
9446
+ var dx = "DropdownMenuSeparator", hl = l.forwardRef((e, t) => {
9447
+ const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9448
+ return /* @__PURE__ */ d.jsx(qh, { ...r, ...o, ref: t });
9449
+ });
9450
+ hl.displayName = dx;
9451
+ var fx = "DropdownMenuArrow", px = l.forwardRef(
9428
9452
  (e, t) => {
9429
9453
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9430
- return /* @__PURE__ */ d.jsx(qh, { ...r, ...o, ref: t });
9454
+ return /* @__PURE__ */ d.jsx(Zh, { ...r, ...o, ref: t });
9431
9455
  }
9432
9456
  );
9433
- fx.displayName = dx;
9434
- var px = (e) => {
9457
+ px.displayName = fx;
9458
+ var mx = (e) => {
9435
9459
  const { __scopeDropdownMenu: t, children: n, open: o, onOpenChange: r, defaultOpen: s } = e, a = ge(t), [i, c] = ve({
9436
9460
  prop: o,
9437
9461
  defaultProp: s ?? !1,
9438
9462
  onChange: r,
9439
9463
  caller: "DropdownMenuSub"
9440
9464
  });
9441
- return /* @__PURE__ */ d.jsx(Zh, { ...a, open: i, onOpenChange: c, children: n });
9442
- }, mx = "DropdownMenuSubTrigger", gl = l.forwardRef((e, t) => {
9465
+ return /* @__PURE__ */ d.jsx(Jh, { ...a, open: i, onOpenChange: c, children: n });
9466
+ }, gx = "DropdownMenuSubTrigger", xl = l.forwardRef((e, t) => {
9443
9467
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9444
- return /* @__PURE__ */ d.jsx(Jh, { ...r, ...o, ref: t });
9468
+ return /* @__PURE__ */ d.jsx(Qh, { ...r, ...o, ref: t });
9445
9469
  });
9446
- gl.displayName = mx;
9447
- var gx = "DropdownMenuSubContent", vl = l.forwardRef((e, t) => {
9470
+ xl.displayName = gx;
9471
+ var vx = "DropdownMenuSubContent", bl = l.forwardRef((e, t) => {
9448
9472
  const { __scopeDropdownMenu: n, ...o } = e, r = ge(n);
9449
9473
  return /* @__PURE__ */ d.jsx(
9450
- Qh,
9474
+ ex,
9451
9475
  {
9452
9476
  ...r,
9453
9477
  ...o,
@@ -9463,23 +9487,23 @@ var gx = "DropdownMenuSubContent", vl = l.forwardRef((e, t) => {
9463
9487
  }
9464
9488
  );
9465
9489
  });
9466
- vl.displayName = gx;
9467
- var vx = tl, hx = ol, hl = rl, xx = al, bx = il, wx = cl, yx = ll, Sx = ul, Cx = dl, Ex = fl, xl = pl, Rx = ml, Px = px, _x = gl, Ax = vl;
9490
+ bl.displayName = vx;
9491
+ var hx = rl, xx = al, wl = il, bx = ll, wx = ul, yx = dl, Sx = fl, Cx = pl, Ex = ml, Rx = gl, yl = vl, Px = hl, _x = mx, Ax = xl, Tx = bl;
9468
9492
  function LS({
9469
9493
  ...e
9470
9494
  }) {
9471
- return /* @__PURE__ */ d.jsx(vx, { "data-slot": "dropdown-menu", ...e });
9495
+ return /* @__PURE__ */ d.jsx(hx, { "data-slot": "dropdown-menu", ...e });
9472
9496
  }
9473
9497
  function FS({
9474
9498
  ...e
9475
9499
  }) {
9476
- return /* @__PURE__ */ d.jsx(hl, { "data-slot": "dropdown-menu-portal", ...e });
9500
+ return /* @__PURE__ */ d.jsx(wl, { "data-slot": "dropdown-menu-portal", ...e });
9477
9501
  }
9478
9502
  function $S({
9479
9503
  ...e
9480
9504
  }) {
9481
9505
  return /* @__PURE__ */ d.jsx(
9482
- hx,
9506
+ xx,
9483
9507
  {
9484
9508
  "data-slot": "dropdown-menu-trigger",
9485
9509
  ...e
@@ -9491,8 +9515,8 @@ function zS({
9491
9515
  sideOffset: t = 4,
9492
9516
  ...n
9493
9517
  }) {
9494
- return /* @__PURE__ */ d.jsx(hl, { children: /* @__PURE__ */ d.jsx(
9495
- xx,
9518
+ return /* @__PURE__ */ d.jsx(wl, { children: /* @__PURE__ */ d.jsx(
9519
+ bx,
9496
9520
  {
9497
9521
  "data-slot": "dropdown-menu-content",
9498
9522
  sideOffset: t,
@@ -9507,7 +9531,7 @@ function zS({
9507
9531
  function VS({
9508
9532
  ...e
9509
9533
  }) {
9510
- return /* @__PURE__ */ d.jsx(bx, { "data-slot": "dropdown-menu-group", ...e });
9534
+ return /* @__PURE__ */ d.jsx(wx, { "data-slot": "dropdown-menu-group", ...e });
9511
9535
  }
9512
9536
  function BS({
9513
9537
  className: e,
@@ -9516,7 +9540,7 @@ function BS({
9516
9540
  ...o
9517
9541
  }) {
9518
9542
  return /* @__PURE__ */ d.jsx(
9519
- yx,
9543
+ Sx,
9520
9544
  {
9521
9545
  "data-slot": "dropdown-menu-item",
9522
9546
  "data-inset": t,
@@ -9536,7 +9560,7 @@ function HS({
9536
9560
  ...o
9537
9561
  }) {
9538
9562
  return /* @__PURE__ */ d.jsxs(
9539
- Sx,
9563
+ Cx,
9540
9564
  {
9541
9565
  "data-slot": "dropdown-menu-checkbox-item",
9542
9566
  className: j(
@@ -9546,7 +9570,7 @@ function HS({
9546
9570
  checked: n,
9547
9571
  ...o,
9548
9572
  children: [
9549
- /* @__PURE__ */ d.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ d.jsx(xl, { children: /* @__PURE__ */ d.jsx(vr, { className: "size-4" }) }) }),
9573
+ /* @__PURE__ */ d.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ d.jsx(yl, { children: /* @__PURE__ */ d.jsx(vr, { className: "size-4" }) }) }),
9550
9574
  t
9551
9575
  ]
9552
9576
  }
@@ -9556,7 +9580,7 @@ function GS({
9556
9580
  ...e
9557
9581
  }) {
9558
9582
  return /* @__PURE__ */ d.jsx(
9559
- Cx,
9583
+ Ex,
9560
9584
  {
9561
9585
  "data-slot": "dropdown-menu-radio-group",
9562
9586
  ...e
@@ -9569,7 +9593,7 @@ function US({
9569
9593
  ...n
9570
9594
  }) {
9571
9595
  return /* @__PURE__ */ d.jsxs(
9572
- Ex,
9596
+ Rx,
9573
9597
  {
9574
9598
  "data-slot": "dropdown-menu-radio-item",
9575
9599
  className: j(
@@ -9578,7 +9602,7 @@ function US({
9578
9602
  ),
9579
9603
  ...n,
9580
9604
  children: [
9581
- /* @__PURE__ */ d.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ d.jsx(xl, { children: /* @__PURE__ */ d.jsx(Ca, { className: "size-2 fill-current" }) }) }),
9605
+ /* @__PURE__ */ d.jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ d.jsx(yl, { children: /* @__PURE__ */ d.jsx(Ca, { className: "size-2 fill-current" }) }) }),
9582
9606
  t
9583
9607
  ]
9584
9608
  }
@@ -9590,7 +9614,7 @@ function WS({
9590
9614
  ...n
9591
9615
  }) {
9592
9616
  return /* @__PURE__ */ d.jsx(
9593
- wx,
9617
+ yx,
9594
9618
  {
9595
9619
  "data-slot": "dropdown-menu-label",
9596
9620
  "data-inset": t,
@@ -9607,7 +9631,7 @@ function KS({
9607
9631
  ...t
9608
9632
  }) {
9609
9633
  return /* @__PURE__ */ d.jsx(
9610
- Rx,
9634
+ Px,
9611
9635
  {
9612
9636
  "data-slot": "dropdown-menu-separator",
9613
9637
  className: j("bg-border -mx-1 my-1 h-px", e),
@@ -9634,7 +9658,7 @@ function YS({
9634
9658
  function XS({
9635
9659
  ...e
9636
9660
  }) {
9637
- return /* @__PURE__ */ d.jsx(Px, { "data-slot": "dropdown-menu-sub", ...e });
9661
+ return /* @__PURE__ */ d.jsx(_x, { "data-slot": "dropdown-menu-sub", ...e });
9638
9662
  }
9639
9663
  function qS({
9640
9664
  className: e,
@@ -9643,7 +9667,7 @@ function qS({
9643
9667
  ...o
9644
9668
  }) {
9645
9669
  return /* @__PURE__ */ d.jsxs(
9646
- _x,
9670
+ Ax,
9647
9671
  {
9648
9672
  "data-slot": "dropdown-menu-sub-trigger",
9649
9673
  "data-inset": t,
@@ -9664,7 +9688,7 @@ function ZS({
9664
9688
  ...t
9665
9689
  }) {
9666
9690
  return /* @__PURE__ */ d.jsx(
9667
- Ax,
9691
+ Tx,
9668
9692
  {
9669
9693
  "data-slot": "dropdown-menu-sub-content",
9670
9694
  className: j(
@@ -9675,35 +9699,35 @@ function ZS({
9675
9699
  }
9676
9700
  );
9677
9701
  }
9678
- var Tx = (e) => e.type === "checkbox", $t = (e) => e instanceof Date, Zr = (e) => e == null;
9679
- const bl = (e) => typeof e == "object";
9680
- var rt = (e) => !Zr(e) && !Array.isArray(e) && bl(e) && !$t(e), Nx = (e) => rt(e) && e.target ? Tx(e.target) ? e.target.checked : e.target.value : e, Mx = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Ix = (e, t) => e.has(Mx(t)), kx = (e) => {
9702
+ var Nx = (e) => e.type === "checkbox", $t = (e) => e instanceof Date, Zr = (e) => e == null;
9703
+ const Sl = (e) => typeof e == "object";
9704
+ var rt = (e) => !Zr(e) && !Array.isArray(e) && Sl(e) && !$t(e), Mx = (e) => rt(e) && e.target ? Nx(e.target) ? e.target.checked : e.target.value : e, Ix = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, kx = (e, t) => e.has(Ix(t)), Ox = (e) => {
9681
9705
  const t = e.constructor && e.constructor.prototype;
9682
9706
  return rt(t) && t.hasOwnProperty("isPrototypeOf");
9683
- }, Ox = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
9684
- function wl(e) {
9707
+ }, Dx = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
9708
+ function Cl(e) {
9685
9709
  let t;
9686
9710
  const n = Array.isArray(e), o = typeof FileList < "u" ? e instanceof FileList : !1;
9687
9711
  if (e instanceof Date)
9688
9712
  t = new Date(e);
9689
- else if (!(Ox && (e instanceof Blob || o)) && (n || rt(e)))
9690
- if (t = n ? [] : Object.create(Object.getPrototypeOf(e)), !n && !kx(e))
9713
+ else if (!(Dx && (e instanceof Blob || o)) && (n || rt(e)))
9714
+ if (t = n ? [] : Object.create(Object.getPrototypeOf(e)), !n && !Ox(e))
9691
9715
  t = e;
9692
9716
  else
9693
9717
  for (const r in e)
9694
- e.hasOwnProperty(r) && (t[r] = wl(e[r]));
9718
+ e.hasOwnProperty(r) && (t[r] = Cl(e[r]));
9695
9719
  else
9696
9720
  return e;
9697
9721
  return t;
9698
9722
  }
9699
- var yl = (e) => /^\w*$/.test(e), er = (e) => e === void 0, Dx = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Sl = (e) => Dx(e.replace(/["|']|\]/g, "").split(/\.|\[/)), xe = (e, t, n) => {
9723
+ var El = (e) => /^\w*$/.test(e), er = (e) => e === void 0, jx = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Rl = (e) => jx(e.replace(/["|']|\]/g, "").split(/\.|\[/)), xe = (e, t, n) => {
9700
9724
  if (!t || !rt(e))
9701
9725
  return n;
9702
- const o = (yl(t) ? [t] : Sl(t)).reduce((r, s) => Zr(r) ? r : r[s], e);
9726
+ const o = (El(t) ? [t] : Rl(t)).reduce((r, s) => Zr(r) ? r : r[s], e);
9703
9727
  return er(o) || o === e ? er(e[t]) ? n : e[t] : o;
9704
9728
  }, zo = (e) => typeof e == "boolean", pa = (e, t, n) => {
9705
9729
  let o = -1;
9706
- const r = yl(t) ? [t] : Sl(t), s = r.length, a = s - 1;
9730
+ const r = El(t) ? [t] : Rl(t), s = r.length, a = s - 1;
9707
9731
  for (; ++o < s; ) {
9708
9732
  const i = r[o];
9709
9733
  let c = n;
@@ -9723,11 +9747,11 @@ const ma = {
9723
9747
  all: "all"
9724
9748
  }, Jr = oe.createContext(null);
9725
9749
  Jr.displayName = "HookFormContext";
9726
- const ao = () => oe.useContext(Jr), jx = (e) => {
9750
+ const ao = () => oe.useContext(Jr), Lx = (e) => {
9727
9751
  const { children: t, ...n } = e;
9728
9752
  return oe.createElement(Jr.Provider, { value: n }, t);
9729
9753
  };
9730
- var Lx = (e, t, n, o = !0) => {
9754
+ var Fx = (e, t, n, o = !0) => {
9731
9755
  const r = {
9732
9756
  defaultValues: t._defaultValues
9733
9757
  };
@@ -9740,8 +9764,8 @@ var Lx = (e, t, n, o = !0) => {
9740
9764
  });
9741
9765
  return r;
9742
9766
  };
9743
- const Cl = typeof window < "u" ? oe.useLayoutEffect : oe.useEffect;
9744
- function El(e) {
9767
+ const Pl = typeof window < "u" ? oe.useLayoutEffect : oe.useEffect;
9768
+ function _l(e) {
9745
9769
  const t = ao(), { control: n = t.control, disabled: o, name: r, exact: s } = e || {}, [a, i] = oe.useState(n._formState), c = oe.useRef({
9746
9770
  isDirty: !1,
9747
9771
  isLoading: !1,
@@ -9752,7 +9776,7 @@ function El(e) {
9752
9776
  isValid: !1,
9753
9777
  errors: !1
9754
9778
  });
9755
- return Cl(() => n._subscribe({
9779
+ return Pl(() => n._subscribe({
9756
9780
  name: r,
9757
9781
  formState: c.current,
9758
9782
  exact: s,
@@ -9764,10 +9788,10 @@ function El(e) {
9764
9788
  }
9765
9789
  }), [r, o, s]), oe.useEffect(() => {
9766
9790
  c.current.isValid && n._setValid(!0);
9767
- }, [n]), oe.useMemo(() => Lx(a, n, c.current, !1), [a, n]);
9791
+ }, [n]), oe.useMemo(() => Fx(a, n, c.current, !1), [a, n]);
9768
9792
  }
9769
- var Fx = (e) => typeof e == "string", $x = (e, t, n, o, r) => Fx(e) ? xe(n, e, r) : Array.isArray(e) ? e.map((s) => xe(n, s)) : n, va = (e) => Zr(e) || !bl(e);
9770
- function Rl(e, t, n = /* @__PURE__ */ new WeakSet()) {
9793
+ var $x = (e) => typeof e == "string", zx = (e, t, n, o, r) => $x(e) ? xe(n, e, r) : Array.isArray(e) ? e.map((s) => xe(n, s)) : n, va = (e) => Zr(e) || !Sl(e);
9794
+ function Al(e, t, n = /* @__PURE__ */ new WeakSet()) {
9771
9795
  if (va(e) || va(t))
9772
9796
  return e === t;
9773
9797
  if ($t(e) && $t(t))
@@ -9784,17 +9808,17 @@ function Rl(e, t, n = /* @__PURE__ */ new WeakSet()) {
9784
9808
  return !1;
9785
9809
  if (s !== "ref") {
9786
9810
  const i = t[s];
9787
- if ($t(a) && $t(i) || rt(a) && rt(i) || Array.isArray(a) && Array.isArray(i) ? !Rl(a, i, n) : a !== i)
9811
+ if ($t(a) && $t(i) || rt(a) && rt(i) || Array.isArray(a) && Array.isArray(i) ? !Al(a, i, n) : a !== i)
9788
9812
  return !1;
9789
9813
  }
9790
9814
  }
9791
9815
  return !0;
9792
9816
  }
9793
- function zx(e) {
9817
+ function Vx(e) {
9794
9818
  const t = ao(), { control: n = t.control, name: o, defaultValue: r, disabled: s, exact: a, compute: i } = e || {}, c = oe.useRef(r), u = oe.useRef(i), f = oe.useRef(void 0);
9795
9819
  u.current = i;
9796
9820
  const p = oe.useMemo(() => n._getWatch(o, c.current), [n, o]), [m, v] = oe.useState(u.current ? u.current(p) : p);
9797
- return Cl(() => n._subscribe({
9821
+ return Pl(() => n._subscribe({
9798
9822
  name: o,
9799
9823
  formState: {
9800
9824
  values: !0
@@ -9802,23 +9826,23 @@ function zx(e) {
9802
9826
  exact: a,
9803
9827
  callback: (h) => {
9804
9828
  if (!s) {
9805
- const g = $x(o, n._names, h.values || n._formValues, !1, c.current);
9829
+ const g = zx(o, n._names, h.values || n._formValues, !1, c.current);
9806
9830
  if (u.current) {
9807
9831
  const x = u.current(g);
9808
- Rl(x, f.current) || (v(x), f.current = x);
9832
+ Al(x, f.current) || (v(x), f.current = x);
9809
9833
  } else
9810
9834
  v(g);
9811
9835
  }
9812
9836
  }
9813
9837
  }), [n, s, o, a]), oe.useEffect(() => n._removeUnmounted()), m;
9814
9838
  }
9815
- function Vx(e) {
9816
- const t = ao(), { name: n, disabled: o, control: r = t.control, shouldUnregister: s, defaultValue: a } = e, i = Ix(r._names.array, n), c = oe.useMemo(() => xe(r._formValues, n, xe(r._defaultValues, n, a)), [r, n, a]), u = zx({
9839
+ function Bx(e) {
9840
+ const t = ao(), { name: n, disabled: o, control: r = t.control, shouldUnregister: s, defaultValue: a } = e, i = kx(r._names.array, n), c = oe.useMemo(() => xe(r._formValues, n, xe(r._defaultValues, n, a)), [r, n, a]), u = Vx({
9817
9841
  control: r,
9818
9842
  name: n,
9819
9843
  defaultValue: c,
9820
9844
  exact: !0
9821
- }), f = El({
9845
+ }), f = _l({
9822
9846
  control: r,
9823
9847
  name: n,
9824
9848
  exact: !0
@@ -9851,7 +9875,7 @@ function Vx(e) {
9851
9875
  }
9852
9876
  }), [f, n]), h = oe.useCallback((w) => m.current.onChange({
9853
9877
  target: {
9854
- value: Nx(w),
9878
+ value: Mx(w),
9855
9879
  name: n
9856
9880
  },
9857
9881
  type: ma.CHANGE
@@ -9888,7 +9912,7 @@ function Vx(e) {
9888
9912
  P && P._f && (P._f.mount = C);
9889
9913
  };
9890
9914
  if (y(n, !0), w) {
9891
- const S = wl(xe(r._options.defaultValues, n));
9915
+ const S = Cl(xe(r._options.defaultValues, n));
9892
9916
  pa(r._defaultValues, n, S), er(xe(r._formValues, n)) && pa(r._formValues, n, S);
9893
9917
  }
9894
9918
  return !i && r.register(n), () => {
@@ -9905,8 +9929,8 @@ function Vx(e) {
9905
9929
  fieldState: v
9906
9930
  }), [b, f, v]);
9907
9931
  }
9908
- const Bx = (e) => e.render(Vx(e));
9909
- var Hx = "Label", Pl = l.forwardRef((e, t) => /* @__PURE__ */ d.jsx(
9932
+ const Hx = (e) => e.render(Bx(e));
9933
+ var Gx = "Label", Tl = l.forwardRef((e, t) => /* @__PURE__ */ d.jsx(
9910
9934
  L.label,
9911
9935
  {
9912
9936
  ...e,
@@ -9916,14 +9940,14 @@ var Hx = "Label", Pl = l.forwardRef((e, t) => /* @__PURE__ */ d.jsx(
9916
9940
  }
9917
9941
  }
9918
9942
  ));
9919
- Pl.displayName = Hx;
9920
- var Gx = Pl;
9921
- function Ux({
9943
+ Tl.displayName = Gx;
9944
+ var Ux = Tl;
9945
+ function Wx({
9922
9946
  className: e,
9923
9947
  ...t
9924
9948
  }) {
9925
9949
  return /* @__PURE__ */ d.jsx(
9926
- Gx,
9950
+ Ux,
9927
9951
  {
9928
9952
  "data-slot": "label",
9929
9953
  className: j(
@@ -9934,12 +9958,12 @@ function Ux({
9934
9958
  }
9935
9959
  );
9936
9960
  }
9937
- const JS = jx, _l = l.createContext(
9961
+ const JS = Lx, Nl = l.createContext(
9938
9962
  {}
9939
9963
  ), QS = ({
9940
9964
  ...e
9941
- }) => /* @__PURE__ */ d.jsx(_l.Provider, { value: { name: e.name }, children: /* @__PURE__ */ d.jsx(Bx, { ...e }) }), io = () => {
9942
- const e = l.useContext(_l), t = l.useContext(Al), { getFieldState: n } = ao(), o = El({ name: e.name }), r = n(e.name, o);
9965
+ }) => /* @__PURE__ */ d.jsx(Nl.Provider, { value: { name: e.name }, children: /* @__PURE__ */ d.jsx(Hx, { ...e }) }), io = () => {
9966
+ const e = l.useContext(Nl), t = l.useContext(Ml), { getFieldState: n } = ao(), o = _l({ name: e.name }), r = n(e.name, o);
9943
9967
  if (!e)
9944
9968
  throw new Error("useFormField should be used within <FormField>");
9945
9969
  const { id: s } = t;
@@ -9951,12 +9975,12 @@ const JS = jx, _l = l.createContext(
9951
9975
  formMessageId: `${s}-form-item-message`,
9952
9976
  ...r
9953
9977
  };
9954
- }, Al = l.createContext(
9978
+ }, Ml = l.createContext(
9955
9979
  {}
9956
9980
  );
9957
9981
  function eC({ className: e, ...t }) {
9958
9982
  const n = l.useId();
9959
- return /* @__PURE__ */ d.jsx(Al.Provider, { value: { id: n }, children: /* @__PURE__ */ d.jsx(
9983
+ return /* @__PURE__ */ d.jsx(Ml.Provider, { value: { id: n }, children: /* @__PURE__ */ d.jsx(
9960
9984
  "div",
9961
9985
  {
9962
9986
  "data-slot": "form-item",
@@ -9971,7 +9995,7 @@ function tC({
9971
9995
  }) {
9972
9996
  const { error: n, formItemId: o } = io();
9973
9997
  return /* @__PURE__ */ d.jsx(
9974
- Ux,
9998
+ Wx,
9975
9999
  {
9976
10000
  "data-slot": "form-label",
9977
10001
  "data-error": !!n,
@@ -9984,7 +10008,7 @@ function tC({
9984
10008
  function nC({ ...e }) {
9985
10009
  const { error: t, formItemId: n, formDescriptionId: o, formMessageId: r } = io();
9986
10010
  return /* @__PURE__ */ d.jsx(
9987
- br,
10011
+ xr,
9988
10012
  {
9989
10013
  "data-slot": "form-control",
9990
10014
  id: n,
@@ -10035,30 +10059,7 @@ function sC({ className: e, type: t, ...n }) {
10035
10059
  }
10036
10060
  );
10037
10061
  }
10038
- var Tl = Object.freeze({
10039
- // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
10040
- position: "absolute",
10041
- border: 0,
10042
- width: 1,
10043
- height: 1,
10044
- padding: 0,
10045
- margin: -1,
10046
- overflow: "hidden",
10047
- clip: "rect(0, 0, 0, 0)",
10048
- whiteSpace: "nowrap",
10049
- wordWrap: "normal"
10050
- }), Wx = "VisuallyHidden", Nl = l.forwardRef(
10051
- (e, t) => /* @__PURE__ */ d.jsx(
10052
- L.span,
10053
- {
10054
- ...e,
10055
- ref: t,
10056
- style: { ...Tl, ...e.style }
10057
- }
10058
- )
10059
- );
10060
- Nl.displayName = Wx;
10061
- var Ml = Nl, ut = "NavigationMenu", [Qr, Il, Kx] = At(ut), [tr, Yx, Xx] = At(ut), [es, aC] = de(
10062
+ var ut = "NavigationMenu", [Qr, Il, Kx] = At(ut), [tr, Yx, Xx] = At(ut), [es, aC] = de(
10062
10063
  ut,
10063
10064
  [Kx, Xx]
10064
10065
  ), [qx, Ce] = es(ut), [Zx, Jx] = es(ut), kl = l.forwardRef(
@@ -10297,7 +10298,7 @@ var or = "NavigationMenuTrigger", zl = l.forwardRef((e, t) => {
10297
10298
  ) }) }),
10298
10299
  v && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
10299
10300
  /* @__PURE__ */ d.jsx(
10300
- Ml,
10301
+ Aa,
10301
10302
  {
10302
10303
  "aria-hidden": !0,
10303
10304
  tabIndex: 0,
@@ -11259,7 +11260,7 @@ var Gb = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], lo = "RadioGroup",
11259
11260
  value: g,
11260
11261
  onValueChange: x,
11261
11262
  children: /* @__PURE__ */ d.jsx(
11262
- _c,
11263
+ Nc,
11263
11264
  {
11264
11265
  asChild: !0,
11265
11266
  ...v,
@@ -11296,7 +11297,7 @@ var wu = "RadioGroupItem", yu = l.forwardRef(
11296
11297
  document.removeEventListener("keydown", v), document.removeEventListener("keyup", h);
11297
11298
  };
11298
11299
  }, []), /* @__PURE__ */ d.jsx(
11299
- Ac,
11300
+ Mc,
11300
11301
  {
11301
11302
  asChild: !0,
11302
11303
  ...i,
@@ -12689,7 +12690,7 @@ var Mw = "SelectBubbleInput", id = l.forwardRef(
12689
12690
  L.select,
12690
12691
  {
12691
12692
  ...n,
12692
- style: { ...Tl, ...n.style },
12693
+ style: { ...Pa, ...n.style },
12693
12694
  ref: s,
12694
12695
  defaultValue: t
12695
12696
  }
@@ -13670,7 +13671,7 @@ var Ct = "TooltipContent", Dd = l.forwardRef(
13670
13671
  return document.addEventListener("pointermove", h), () => document.removeEventListener("pointermove", h);
13671
13672
  }
13672
13673
  }, [c, f, a, u, m]), /* @__PURE__ */ d.jsx(jd, { ...e, ref: s });
13673
- }), [_y, Ay] = xo(qt, { isInside: !1 }), Ty = /* @__PURE__ */ La("TooltipContent"), jd = l.forwardRef(
13674
+ }), [_y, Ay] = xo(qt, { isInside: !1 }), Ty = /* @__PURE__ */ Ra("TooltipContent"), jd = l.forwardRef(
13674
13675
  (e, t) => {
13675
13676
  const {
13676
13677
  __scopeTooltip: n,
@@ -13713,7 +13714,7 @@ var Ct = "TooltipContent", Dd = l.forwardRef(
13713
13714
  },
13714
13715
  children: [
13715
13716
  /* @__PURE__ */ d.jsx(Ty, { children: o }),
13716
- /* @__PURE__ */ d.jsx(_y, { scope: n, isInside: !0, children: /* @__PURE__ */ d.jsx(Ml, { id: c.contentId, role: "tooltip", children: r || o }) })
13717
+ /* @__PURE__ */ d.jsx(_y, { scope: n, isInside: !0, children: /* @__PURE__ */ d.jsx(Aa, { id: c.contentId, role: "tooltip", children: r || o }) })
13717
13718
  ]
13718
13719
  }
13719
13720
  )
@@ -13881,8 +13882,8 @@ export {
13881
13882
  nS as AlertDialogDescription,
13882
13883
  eS as AlertDialogFooter,
13883
13884
  Qy as AlertDialogHeader,
13884
- Im as AlertDialogOverlay,
13885
- Mm as AlertDialogPortal,
13885
+ km as AlertDialogOverlay,
13886
+ Im as AlertDialogPortal,
13886
13887
  tS as AlertDialogTitle,
13887
13888
  Zy as AlertDialogTrigger,
13888
13889
  Ky as AlertTitle,
@@ -13890,7 +13891,7 @@ export {
13890
13891
  cS as AvatarFallback,
13891
13892
  iS as AvatarImage,
13892
13893
  lS as Badge,
13893
- Ii as Button,
13894
+ Di as Button,
13894
13895
  uS as Card,
13895
13896
  mS as CardAction,
13896
13897
  gS as CardContent,
@@ -13913,8 +13914,8 @@ export {
13913
13914
  DS as DialogDescription,
13914
13915
  kS as DialogFooter,
13915
13916
  IS as DialogHeader,
13916
- Dg as DialogOverlay,
13917
- Og as DialogPortal,
13917
+ jg as DialogOverlay,
13918
+ Dg as DialogPortal,
13918
13919
  OS as DialogTitle,
13919
13920
  TS as DialogTrigger,
13920
13921
  LS as DropdownMenu,
@@ -13940,7 +13941,7 @@ export {
13940
13941
  tC as FormLabel,
13941
13942
  rC as FormMessage,
13942
13943
  sC as Input,
13943
- Ux as Label,
13944
+ Wx as Label,
13944
13945
  iC as NavigationMenu,
13945
13946
  dC as NavigationMenuContent,
13946
13947
  pC as NavigationMenuIndicator,
@@ -13956,6 +13957,7 @@ export {
13956
13957
  wC as Progress,
13957
13958
  SC as RadioGroup,
13958
13959
  CC as RadioGroupItem,
13960
+ Aa as Root,
13959
13961
  RC as ScrollArea,
13960
13962
  fw as ScrollBar,
13961
13963
  _C as Select,
@@ -13976,7 +13978,9 @@ export {
13976
13978
  GC as TooltipContent,
13977
13979
  By as TooltipProvider,
13978
13980
  HC as TooltipTrigger,
13979
- Um as badgeVariants,
13981
+ Pa as VISUALLY_HIDDEN_STYLES,
13982
+ _a as VisuallyHidden,
13983
+ Wm as badgeVariants,
13980
13984
  Cr as buttonVariants,
13981
13985
  vb as navigationMenuTriggerStyle,
13982
13986
  io as useFormField