@blakesteve/roster 4.3.1 → 4.5.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/roster.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { o as I, Y as Q, K as J, p as zt, m as Sa, n as oe, q as ot, r as ct, $ as ve, s as xe, w as tr, V as It, t as jt, u as pe, v as ht, x as ye, y as Kt, z as me, A as ge, C as Os, D as Cs, E as At, G as Mi, H as de, I as Li, J as _i, L as Z, j as f, F as mt, M as Vi, N as Na, O as Pa, P as xn, Q as Bi, R as Hi, B as Ut, S as zi, U as ps, W as ss, X as Oa, Z as Wi, _ as Ui, a0 as Ge, a1 as Yi, a2 as Gi, a3 as Ki, a4 as qi } from "./Table-CJZFk__H.js";
3
- import { a5 as eg, T as rg, e as sg, a6 as ng, g as ag, a7 as og, c as ig, a as lg, b as cg, a8 as ug, a9 as dg, aa as fg, ab as pg, ac as mg, ad as gg, ae as hg } from "./Table-CJZFk__H.js";
2
+ import { o as I, Y as Q, K as J, p as zt, m as Ea, n as oe, q as ot, r as ct, $ as ve, s as xe, w as tr, V as It, t as jt, u as pe, v as ht, x as ye, y as Kt, z as me, A as ge, C as Os, D as Cs, E as At, G as Mi, H as de, I as Li, J as _i, L as Z, j as f, F as mt, M as Vi, N as Na, O as Pa, P as xn, Q as Bi, R as Hi, B as Ut, S as zi, U as ps, W as hr, X as Oa, Z as Wi, _ as Ui, a0 as Ge, a1 as Yi, a2 as Gi, a3 as Ki, a4 as qi } from "./Table-DdLQnzNl.js";
3
+ import { a5 as eg, T as rg, e as sg, a6 as ng, g as ag, a7 as og, c as ig, a as lg, b as cg, a8 as ug, a9 as dg, aa as fg, ab as pg, ac as mg, ad as gg, ae as hg } from "./Table-DdLQnzNl.js";
4
4
  import * as y from "react";
5
- import E, { useState as X, useRef as V, isValidElement as Ca, useEffect as st, useContext as at, createContext as pt, useMemo as ft, useId as dt, useCallback as tt, useSyncExternalStore as Ta, useLayoutEffect as ja, cloneElement as Xi, Fragment as xt, useReducer as Qi, createRef as Zi, forwardRef as Ra } from "react";
6
- import { c as T } from "./utils-hNxf9HpA.js";
5
+ import S, { useState as X, useRef as V, isValidElement as Ca, useEffect as st, useContext as at, createContext as pt, useMemo as ft, useId as dt, useCallback as tt, useSyncExternalStore as Ta, useLayoutEffect as ja, cloneElement as Xi, Fragment as xt, useReducer as Qi, createRef as Zi, forwardRef as Ra } from "react";
6
+ import { c as C } from "./utils-hNxf9HpA.js";
7
7
  import * as Ke from "react-dom";
8
8
  import Ji, { flushSync as he, createPortal as $a } from "react-dom";
9
9
  function Ts(t, e, r) {
@@ -51,19 +51,19 @@ function rl(t, e) {
51
51
  let qt = Q(rl), Fa = pt(null);
52
52
  function sl(t) {
53
53
  let [e, r] = X(null);
54
- return E.createElement(Fa.Provider, { value: { target: e } }, t.children, E.createElement(qt, { features: Vt.Hidden, ref: r }));
54
+ return S.createElement(Fa.Provider, { value: { target: e } }, t.children, S.createElement(qt, { features: Vt.Hidden, ref: r }));
55
55
  }
56
56
  function nl({ children: t }) {
57
57
  let e = at(Fa);
58
- if (!e) return E.createElement(E.Fragment, null, t);
58
+ if (!e) return S.createElement(S.Fragment, null, t);
59
59
  let { target: r } = e;
60
- return r ? $a(E.createElement(E.Fragment, null, t), r) : null;
60
+ return r ? $a(S.createElement(S.Fragment, null, t), r) : null;
61
61
  }
62
62
  function $s({ data: t, form: e, disabled: r, onReset: s, overrides: n }) {
63
63
  let [a, o] = X(null), i = zt();
64
64
  return st(() => {
65
65
  if (s && a) return i.addEventListener(a, "reset", s);
66
- }, [a, e, s]), E.createElement(nl, null, E.createElement(al, { setForm: o, formId: e }), Ia(t).map(([l, c]) => E.createElement(qt, { features: Vt.Hidden, ...Sa({ key: l, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: e, disabled: r, name: l, value: c, ...n }) })));
66
+ }, [a, e, s]), S.createElement(nl, null, S.createElement(al, { setForm: o, formId: e }), Ia(t).map(([l, c]) => S.createElement(qt, { features: Vt.Hidden, ...Ea({ key: l, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: e, disabled: r, name: l, value: c, ...n }) })));
67
67
  }
68
68
  function al({ setForm: t, formId: e }) {
69
69
  return st(() => {
@@ -71,7 +71,7 @@ function al({ setForm: t, formId: e }) {
71
71
  let r = document.getElementById(e);
72
72
  r && t(r);
73
73
  }
74
- }, [t, e]), e ? null : E.createElement(qt, { features: Vt.Hidden, as: "input", type: "hidden", hidden: !0, readOnly: !0, ref: (r) => {
74
+ }, [t, e]), e ? null : S.createElement(qt, { features: Vt.Hidden, as: "input", type: "hidden", hidden: !0, readOnly: !0, ref: (r) => {
75
75
  if (!r) return;
76
76
  let s = r.closest("form");
77
77
  s && t(s);
@@ -82,7 +82,7 @@ function Ie() {
82
82
  return at(Ma);
83
83
  }
84
84
  function ol({ id: t, children: e }) {
85
- return E.createElement(Ma.Provider, { value: t }, e);
85
+ return S.createElement(Ma.Provider, { value: t }, e);
86
86
  }
87
87
  function La(t) {
88
88
  return typeof t != "object" || t === null ? !1 : "nodeType" in t;
@@ -146,10 +146,10 @@ function lt(...t) {
146
146
  });
147
147
  return t.every((s) => s == null || s?.[Ba]) ? void 0 : r;
148
148
  }
149
- let jr = pt(null);
150
- jr.displayName = "DescriptionContext";
149
+ let Rr = pt(null);
150
+ Rr.displayName = "DescriptionContext";
151
151
  function za() {
152
- let t = at(jr);
152
+ let t = at(Rr);
153
153
  if (t === null) {
154
154
  let e = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
155
155
  throw Error.captureStackTrace && Error.captureStackTrace(e, za), e;
@@ -158,16 +158,16 @@ function za() {
158
158
  }
159
159
  function er() {
160
160
  var t, e;
161
- return (e = (t = at(jr)) == null ? void 0 : t.value) != null ? e : void 0;
161
+ return (e = (t = at(Rr)) == null ? void 0 : t.value) != null ? e : void 0;
162
162
  }
163
- function Rr() {
163
+ function $r() {
164
164
  let [t, e] = X([]);
165
165
  return [t.length > 0 ? t.join(" ") : void 0, ft(() => function(r) {
166
166
  let s = I((a) => (e((o) => [...o, a]), () => e((o) => {
167
167
  let i = o.slice(), l = i.indexOf(a);
168
168
  return l !== -1 && i.splice(l, 1), i;
169
169
  }))), n = ft(() => ({ register: s, slot: r.slot, name: r.name, props: r.props, value: r.value }), [s, r.slot, r.name, r.props, r.value]);
170
- return E.createElement(jr.Provider, { value: n }, r.children);
170
+ return S.createElement(Rr.Provider, { value: n }, r.children);
171
171
  }, [e])];
172
172
  }
173
173
  let fl = "p";
@@ -179,10 +179,10 @@ function pl(t, e) {
179
179
  }
180
180
  let ml = Q(pl), rr = Object.assign(ml, {});
181
181
  var Y = ((t) => (t.Space = " ", t.Enter = "Enter", t.Escape = "Escape", t.Backspace = "Backspace", t.Delete = "Delete", t.ArrowLeft = "ArrowLeft", t.ArrowUp = "ArrowUp", t.ArrowRight = "ArrowRight", t.ArrowDown = "ArrowDown", t.Home = "Home", t.End = "End", t.PageUp = "PageUp", t.PageDown = "PageDown", t.Tab = "Tab", t))(Y || {});
182
- let $r = pt(null);
183
- $r.displayName = "LabelContext";
182
+ let Ir = pt(null);
183
+ Ir.displayName = "LabelContext";
184
184
  function Is() {
185
- let t = at($r);
185
+ let t = at(Ir);
186
186
  if (t === null) {
187
187
  let e = new Error("You used a <Label /> component, but it is not inside a relevant parent.");
188
188
  throw Error.captureStackTrace && Error.captureStackTrace(e, Is), e;
@@ -191,7 +191,7 @@ function Is() {
191
191
  }
192
192
  function Ae(t) {
193
193
  var e, r, s;
194
- let n = (r = (e = at($r)) == null ? void 0 : e.value) != null ? r : void 0;
194
+ let n = (r = (e = at(Ir)) == null ? void 0 : e.value) != null ? r : void 0;
195
195
  return ((s = t?.length) != null ? s : 0) > 0 ? [n, ...t].filter(Boolean).join(" ") : n;
196
196
  }
197
197
  function sr({ inherit: t = !1 } = {}) {
@@ -201,7 +201,7 @@ function sr({ inherit: t = !1 } = {}) {
201
201
  let u = c.slice(), p = u.indexOf(l);
202
202
  return p !== -1 && u.splice(p, 1), u;
203
203
  }))), i = ft(() => ({ register: o, slot: a.slot, name: a.name, props: a.props, value: a.value }), [o, a.slot, a.name, a.props, a.value]);
204
- return E.createElement($r.Provider, { value: i }, a.children);
204
+ return S.createElement(Ir.Provider, { value: i }, a.children);
205
205
  }, [s])];
206
206
  }
207
207
  let gl = "label";
@@ -226,8 +226,8 @@ function hl(t, e) {
226
226
  }
227
227
  let bl = Q(hl), De = Object.assign(bl, {}), vl = "span";
228
228
  function xl(t, e) {
229
- let r = dt(), s = Ie(), n = oe(), { id: a = s || `headlessui-checkbox-${r}`, disabled: o = n || !1, autoFocus: i = !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, indeterminate: g = !1, tabIndex: h = 0, ...b } = t, v = js(c), [w, x] = Ts(l, u, v ?? !1), k = Ae(), S = er(), C = zt(), [P, M] = X(!1), z = I(() => {
230
- M(!0), x?.(!w), C.nextFrame(() => {
229
+ let r = dt(), s = Ie(), n = oe(), { id: a = s || `headlessui-checkbox-${r}`, disabled: o = n || !1, autoFocus: i = !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, indeterminate: g = !1, tabIndex: h = 0, ...b } = t, v = js(c), [w, x] = Ts(l, u, v ?? !1), k = Ae(), E = er(), T = zt(), [P, M] = X(!1), z = I(() => {
230
+ M(!0), x?.(!w), T.nextFrame(() => {
231
231
  M(!1);
232
232
  });
233
233
  }), N = I((A) => {
@@ -235,20 +235,20 @@ function xl(t, e) {
235
235
  A.preventDefault(), z();
236
236
  }), $ = I((A) => {
237
237
  A.key === Y.Space ? (A.preventDefault(), z()) : A.key === Y.Enter && Rs(A.currentTarget);
238
- }), L = I((A) => A.preventDefault()), { isFocusVisible: _, focusProps: R } = ve({ autoFocus: i }), { isHovered: D, hoverProps: F } = xe({ isDisabled: o }), { pressed: U, pressProps: O } = tr({ disabled: o }), j = It({ ref: e, id: a, role: "checkbox", "aria-checked": g ? "mixed" : w ? "true" : "false", "aria-labelledby": k, "aria-describedby": S, "aria-disabled": o ? !0 : void 0, indeterminate: g ? "true" : void 0, tabIndex: o ? void 0 : h, onKeyUp: o ? void 0 : $, onKeyPress: o ? void 0 : L, onClick: o ? void 0 : N }, R, F, O), H = ct({ checked: w, disabled: o, hover: D, focus: _, active: U, indeterminate: g, changing: P, autofocus: i }), nt = tt(() => {
238
+ }), L = I((A) => A.preventDefault()), { isFocusVisible: _, focusProps: R } = ve({ autoFocus: i }), { isHovered: D, hoverProps: F } = xe({ isDisabled: o }), { pressed: U, pressProps: O } = tr({ disabled: o }), j = It({ ref: e, id: a, role: "checkbox", "aria-checked": g ? "mixed" : w ? "true" : "false", "aria-labelledby": k, "aria-describedby": E, "aria-disabled": o ? !0 : void 0, indeterminate: g ? "true" : void 0, tabIndex: o ? void 0 : h, onKeyUp: o ? void 0 : $, onKeyPress: o ? void 0 : L, onClick: o ? void 0 : N }, R, F, O), H = ct({ checked: w, disabled: o, hover: D, focus: _, active: U, indeterminate: g, changing: P, autofocus: i }), nt = tt(() => {
239
239
  if (v !== void 0) return x?.(v);
240
240
  }, [x, v]), et = J();
241
- return E.createElement(E.Fragment, null, p != null && E.createElement($s, { disabled: o, data: { [p]: m || "on" }, overrides: { type: "checkbox", checked: w }, form: d, onReset: nt }), et({ ourProps: j, theirProps: b, slot: H, defaultTag: vl, name: "Checkbox" }));
241
+ return S.createElement(S.Fragment, null, p != null && S.createElement($s, { disabled: o, data: { [p]: m || "on" }, overrides: { type: "checkbox", checked: w }, form: d, onReset: nt }), et({ ourProps: j, theirProps: b, slot: H, defaultTag: vl, name: "Checkbox" }));
242
242
  }
243
243
  let yl = Q(xl), wl = pt(() => {
244
244
  });
245
245
  function As({ value: t, children: e }) {
246
- return E.createElement(wl.Provider, { value: t }, e);
246
+ return S.createElement(wl.Provider, { value: t }, e);
247
247
  }
248
248
  function kl(t, e) {
249
249
  return t !== null && e !== null && typeof t == "object" && typeof e == "object" && "id" in t && "id" in e ? t.id === e.id : t === e;
250
250
  }
251
- function El(t = kl) {
251
+ function Sl(t = kl) {
252
252
  return tt((e, r) => {
253
253
  if (typeof t == "string") {
254
254
  let s = t;
@@ -295,13 +295,13 @@ let Ya = class extends Map {
295
295
  return r === void 0 && (r = this.factory(e), this.set(e, r)), r;
296
296
  }
297
297
  };
298
- var Sl = Object.defineProperty, Nl = (t, e, r) => e in t ? Sl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Pl = (t, e, r) => (Nl(t, e + "", r), r), Ga = (t, e, r) => {
298
+ var El = Object.defineProperty, Nl = (t, e, r) => e in t ? El(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Pl = (t, e, r) => (Nl(t, e + "", r), r), Ga = (t, e, r) => {
299
299
  if (!e.has(t)) throw TypeError("Cannot " + r);
300
300
  }, Rt = (t, e, r) => (Ga(t, e, "read from private field"), r ? r.call(t) : e.get(t)), ns = (t, e, r) => {
301
301
  if (e.has(t)) throw TypeError("Cannot add the same private member more than once");
302
302
  e instanceof WeakSet ? e.add(t) : e.set(t, r);
303
303
  }, wn = (t, e, r, s) => (Ga(t, e, "write to private field"), e.set(t, r), r), Ft, Be, He;
304
- let Ir = class {
304
+ let Ar = class {
305
305
  constructor(e) {
306
306
  ns(this, Ft, {}), ns(this, Be, new Ya(() => /* @__PURE__ */ new Set())), ns(this, He, /* @__PURE__ */ new Set()), Pl(this, "disposables", jt()), wn(this, Ft, e), pe.isServer && this.disposables.microTask(() => {
307
307
  this.dispose();
@@ -361,7 +361,7 @@ function We(t) {
361
361
  e(...n), s.dispose(), s.microTask(r);
362
362
  };
363
363
  }
364
- var Ol = Object.defineProperty, Cl = (t, e, r) => e in t ? Ol(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, En = (t, e, r) => (Cl(t, typeof e != "symbol" ? e + "" : e, r), r), Fs = ((t) => (t[t.Push = 0] = "Push", t[t.Pop = 1] = "Pop", t))(Fs || {});
364
+ var Ol = Object.defineProperty, Cl = (t, e, r) => e in t ? Ol(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, Sn = (t, e, r) => (Cl(t, typeof e != "symbol" ? e + "" : e, r), r), Fs = ((t) => (t[t.Push = 0] = "Push", t[t.Pop = 1] = "Pop", t))(Fs || {});
365
365
  let Tl = { 0(t, e) {
366
366
  let r = e.id, s = t.stack, n = t.stack.indexOf(r);
367
367
  if (n !== -1) {
@@ -374,9 +374,9 @@ let Tl = { 0(t, e) {
374
374
  if (s === -1) return t;
375
375
  let n = t.stack.slice();
376
376
  return n.splice(s, 1), { ...t, stack: n };
377
- } }, jl = class qa extends Ir {
377
+ } }, jl = class qa extends Ar {
378
378
  constructor() {
379
- super(...arguments), En(this, "actions", { push: (e) => this.send({ type: 0, id: e }), pop: (e) => this.send({ type: 1, id: e }) }), En(this, "selectors", { isTop: (e, r) => e.stack[e.stack.length - 1] === r, inStack: (e, r) => e.stack.includes(r) });
379
+ super(...arguments), Sn(this, "actions", { push: (e) => this.send({ type: 0, id: e }), pop: (e) => this.send({ type: 1, id: e }) }), Sn(this, "selectors", { isTop: (e, r) => e.stack[e.stack.length - 1] === r, inStack: (e, r) => e.stack.includes(r) });
380
380
  }
381
381
  static new() {
382
382
  return new qa({ stack: [] });
@@ -386,12 +386,12 @@ let Tl = { 0(t, e) {
386
386
  }
387
387
  };
388
388
  const we = new Ya(() => jl.new());
389
- var hr = { exports: {} }, os = {};
390
- var Sn;
389
+ var br = { exports: {} }, os = {};
390
+ var En;
391
391
  function Rl() {
392
- if (Sn) return os;
393
- Sn = 1;
394
- var t = E;
392
+ if (En) return os;
393
+ En = 1;
394
+ var t = S;
395
395
  function e(l, c) {
396
396
  return l === c && (l !== 0 || 1 / l === 1 / c) || l !== l && c !== c;
397
397
  }
@@ -404,18 +404,18 @@ function Rl() {
404
404
  } else g = d.current;
405
405
  d = o(
406
406
  function() {
407
- function b(S) {
407
+ function b(E) {
408
408
  if (!v) {
409
- if (v = !0, w = S, S = p(S), m !== void 0 && g.hasValue) {
410
- var C = g.value;
411
- if (m(C, S))
412
- return x = C;
409
+ if (v = !0, w = E, E = p(E), m !== void 0 && g.hasValue) {
410
+ var T = g.value;
411
+ if (m(T, E))
412
+ return x = T;
413
413
  }
414
- return x = S;
414
+ return x = E;
415
415
  }
416
- if (C = x, r(w, S)) return C;
417
- var P = p(S);
418
- return m !== void 0 && m(C, P) ? (w = S, C) : (w = S, x = P);
416
+ if (T = x, r(w, E)) return T;
417
+ var P = p(E);
418
+ return m !== void 0 && m(T, P) ? (w = E, T) : (w = E, x = P);
419
419
  }
420
420
  var v = !1, w, x, k = u === void 0 ? null : u;
421
421
  return [
@@ -446,7 +446,7 @@ function $l() {
446
446
  return l === c && (l !== 0 || 1 / l === 1 / c) || l !== l && c !== c;
447
447
  }
448
448
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
449
- var e = E, r = typeof Object.is == "function" ? Object.is : t, s = e.useSyncExternalStore, n = e.useRef, a = e.useEffect, o = e.useMemo, i = e.useDebugValue;
449
+ var e = S, r = typeof Object.is == "function" ? Object.is : t, s = e.useSyncExternalStore, n = e.useRef, a = e.useEffect, o = e.useMemo, i = e.useDebugValue;
450
450
  is.useSyncExternalStoreWithSelector = function(l, c, u, p, m) {
451
451
  var d = n(null);
452
452
  if (d.current === null) {
@@ -455,19 +455,19 @@ function $l() {
455
455
  } else g = d.current;
456
456
  d = o(
457
457
  function() {
458
- function b(S) {
458
+ function b(E) {
459
459
  if (!v) {
460
- if (v = !0, w = S, S = p(S), m !== void 0 && g.hasValue) {
461
- var C = g.value;
462
- if (m(C, S))
463
- return x = C;
460
+ if (v = !0, w = E, E = p(E), m !== void 0 && g.hasValue) {
461
+ var T = g.value;
462
+ if (m(T, E))
463
+ return x = T;
464
464
  }
465
- return x = S;
465
+ return x = E;
466
466
  }
467
- if (C = x, r(w, S))
468
- return C;
469
- var P = p(S);
470
- return m !== void 0 && m(C, P) ? (w = S, C) : (w = S, x = P);
467
+ if (T = x, r(w, E))
468
+ return T;
469
+ var P = p(E);
470
+ return m !== void 0 && m(T, P) ? (w = E, T) : (w = E, x = P);
471
471
  }
472
472
  var v = !1, w, x, k = u === void 0 ? null : u;
473
473
  return [
@@ -493,7 +493,7 @@ function $l() {
493
493
  }
494
494
  var Pn;
495
495
  function Il() {
496
- return Pn || (Pn = 1, process.env.NODE_ENV === "production" ? hr.exports = Rl() : hr.exports = $l()), hr.exports;
496
+ return Pn || (Pn = 1, process.env.NODE_ENV === "production" ? br.exports = Rl() : br.exports = $l()), br.exports;
497
497
  }
498
498
  var Al = Il();
499
499
  function rt(t, e, r = Ka) {
@@ -542,7 +542,7 @@ function Ms(t, { allowed: e, disallowed: r } = {}) {
542
542
  return o.dispose;
543
543
  }, [s, e, r]);
544
544
  }
545
- function Ar(t, e, r) {
545
+ function Dr(t, e, r) {
546
546
  let s = Kt((n) => {
547
547
  let a = n.getBoundingClientRect();
548
548
  a.x === 0 && a.y === 0 && a.width === 0 && a.height === 0 && r();
@@ -563,10 +563,10 @@ function Ar(t, e, r) {
563
563
  return () => a.dispose();
564
564
  }, [e, s, t]);
565
565
  }
566
- let kr = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((t) => `${t}:not([tabindex='-1'])`).join(","), Fl = ["[data-autofocus]"].map((t) => `${t}:not([tabindex='-1'])`).join(",");
566
+ let Sr = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((t) => `${t}:not([tabindex='-1'])`).join(","), Fl = ["[data-autofocus]"].map((t) => `${t}:not([tabindex='-1'])`).join(",");
567
567
  var gt = ((t) => (t[t.First = 1] = "First", t[t.Previous = 2] = "Previous", t[t.Next = 4] = "Next", t[t.Last = 8] = "Last", t[t.WrapAround = 16] = "WrapAround", t[t.NoScroll = 32] = "NoScroll", t[t.AutoFocus = 64] = "AutoFocus", t))(gt || {}), Ce = ((t) => (t[t.Error = 0] = "Error", t[t.Overflow = 1] = "Overflow", t[t.Success = 2] = "Success", t[t.Underflow = 3] = "Underflow", t))(Ce || {}), Ml = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(Ml || {});
568
568
  function ar(t = document.body) {
569
- return t == null ? [] : Array.from(t.querySelectorAll(kr)).sort((e, r) => Math.sign((e.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
569
+ return t == null ? [] : Array.from(t.querySelectorAll(Sr)).sort((e, r) => Math.sign((e.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
570
570
  }
571
571
  function Ll(t = document.body) {
572
572
  return t == null ? [] : Array.from(t.querySelectorAll(Fl)).sort((e, r) => Math.sign((e.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
@@ -575,11 +575,11 @@ var or = ((t) => (t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(or |
575
575
  function ir(t, e = 0) {
576
576
  var r;
577
577
  return t === ((r = ye(t)) == null ? void 0 : r.body) ? !1 : ht(e, { 0() {
578
- return t.matches(kr);
578
+ return t.matches(Sr);
579
579
  }, 1() {
580
580
  let s = t;
581
581
  for (; s !== null; ) {
582
- if (s.matches(kr)) return !0;
582
+ if (s.matches(Sr)) return !0;
583
583
  s = s.parentElement;
584
584
  }
585
585
  return !1;
@@ -672,7 +672,7 @@ function Ja(t, e, r, s) {
672
672
  }, [t, e, s]);
673
673
  }
674
674
  const jn = 30;
675
- function Dr(t, e, r) {
675
+ function Fr(t, e, r) {
676
676
  let s = Kt(r), n = tt(function(i, l) {
677
677
  if (i.defaultPrevented) return;
678
678
  let c = l(i);
@@ -740,7 +740,7 @@ function _s(t, e, r, s) {
740
740
  return t.addEventListener(e, a, s), () => t.removeEventListener(e, a, s);
741
741
  }, [t, e, s]);
742
742
  }
743
- function Fr(t, e) {
743
+ function Mr(t, e) {
744
744
  return ft(() => {
745
745
  var r;
746
746
  if (t.type) return t.type;
@@ -860,7 +860,7 @@ function Ql(t, e, r = () => ({ containers: [] })) {
860
860
  if (!(!e || !t)) return fe.dispatch("PUSH", e, r), () => fe.dispatch("POP", e, r);
861
861
  }, [t, e]), a;
862
862
  }
863
- function Mr(t, e, r = () => [document.body]) {
863
+ function Lr(t, e, r = () => [document.body]) {
864
864
  let s = nr(t, "scroll-lock");
865
865
  Ql(s, e, (n) => {
866
866
  var a;
@@ -969,7 +969,7 @@ function Vs(t, e) {
969
969
  }
970
970
  }, [s, ...e]);
971
971
  }
972
- function Lr() {
972
+ function _r() {
973
973
  return typeof window < "u";
974
974
  }
975
975
  function Fe(t) {
@@ -984,16 +984,16 @@ function Wt(t) {
984
984
  return (e = (ro(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
985
985
  }
986
986
  function ro(t) {
987
- return Lr() ? t instanceof Node || t instanceof Tt(t).Node : !1;
987
+ return _r() ? t instanceof Node || t instanceof Tt(t).Node : !1;
988
988
  }
989
989
  function Nt(t) {
990
- return Lr() ? t instanceof Element || t instanceof Tt(t).Element : !1;
990
+ return _r() ? t instanceof Element || t instanceof Tt(t).Element : !1;
991
991
  }
992
992
  function Bt(t) {
993
- return Lr() ? t instanceof HTMLElement || t instanceof Tt(t).HTMLElement : !1;
993
+ return _r() ? t instanceof HTMLElement || t instanceof Tt(t).HTMLElement : !1;
994
994
  }
995
995
  function Fn(t) {
996
- return !Lr() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Tt(t).ShadowRoot;
996
+ return !_r() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Tt(t).ShadowRoot;
997
997
  }
998
998
  const ac = /* @__PURE__ */ new Set(["inline", "contents"]);
999
999
  function ur(t) {
@@ -1010,7 +1010,7 @@ function ic(t) {
1010
1010
  return oc.has(Fe(t));
1011
1011
  }
1012
1012
  const lc = [":popover-open", ":modal"];
1013
- function _r(t) {
1013
+ function Vr(t) {
1014
1014
  return lc.some((e) => {
1015
1015
  try {
1016
1016
  return t.matches(e);
@@ -1029,7 +1029,7 @@ function fc(t) {
1029
1029
  for (; Bt(e) && !Te(e); ) {
1030
1030
  if (Bs(e))
1031
1031
  return e;
1032
- if (_r(e))
1032
+ if (Vr(e))
1033
1033
  return null;
1034
1034
  e = ne(e);
1035
1035
  }
@@ -1045,7 +1045,7 @@ function Te(t) {
1045
1045
  function Dt(t) {
1046
1046
  return Tt(t).getComputedStyle(t);
1047
1047
  }
1048
- function Vr(t) {
1048
+ function Br(t) {
1049
1049
  return Nt(t) ? {
1050
1050
  scrollLeft: t.scrollLeft,
1051
1051
  scrollTop: t.scrollTop
@@ -1093,7 +1093,7 @@ function mc() {
1093
1093
  return r + "/" + s;
1094
1094
  }).join(" ") : navigator.userAgent;
1095
1095
  }
1096
- const gc = ["top", "right", "bottom", "left"], Qt = Math.min, Et = Math.max, Xe = Math.round, br = Math.floor, _t = (t) => ({
1096
+ const gc = ["top", "right", "bottom", "left"], Qt = Math.min, St = Math.max, Xe = Math.round, vr = Math.floor, _t = (t) => ({
1097
1097
  x: t,
1098
1098
  y: t
1099
1099
  }), hc = {
@@ -1106,7 +1106,7 @@ const gc = ["top", "right", "bottom", "left"], Qt = Math.min, Et = Math.max, Xe
1106
1106
  end: "start"
1107
1107
  };
1108
1108
  function bs(t, e, r) {
1109
- return Et(t, Qt(e, r));
1109
+ return St(t, Qt(e, r));
1110
1110
  }
1111
1111
  function Ht(t, e) {
1112
1112
  return typeof t == "function" ? t(e) : t;
@@ -1144,7 +1144,7 @@ function vs(t) {
1144
1144
  return t.replace(/start|end/g, (e) => bc[e]);
1145
1145
  }
1146
1146
  const Mn = ["left", "right"], Ln = ["right", "left"], wc = ["top", "bottom"], kc = ["bottom", "top"];
1147
- function Ec(t, e, r) {
1147
+ function Sc(t, e, r) {
1148
1148
  switch (t) {
1149
1149
  case "top":
1150
1150
  case "bottom":
@@ -1156,9 +1156,9 @@ function Ec(t, e, r) {
1156
1156
  return [];
1157
1157
  }
1158
1158
  }
1159
- function Sc(t, e, r, s) {
1159
+ function Ec(t, e, r, s) {
1160
1160
  const n = Me(t);
1161
- let a = Ec(Zt(t), r === "start", s);
1161
+ let a = Sc(Zt(t), r === "start", s);
1162
1162
  return n && (a = a.map((o) => o + "-" + n), e && (a = a.concat(a.map(vs)))), a;
1163
1163
  }
1164
1164
  function Er(t) {
@@ -1181,7 +1181,7 @@ function no(t) {
1181
1181
  left: t
1182
1182
  };
1183
1183
  }
1184
- function Sr(t) {
1184
+ function Nr(t) {
1185
1185
  const {
1186
1186
  x: e,
1187
1187
  y: r,
@@ -1263,7 +1263,7 @@ async function ao(t, e) {
1263
1263
  elementContext: p = "floating",
1264
1264
  altBoundary: m = !1,
1265
1265
  padding: d = 0
1266
- } = Ht(e, t), g = no(d), b = i[m ? p === "floating" ? "reference" : "floating" : p], v = Sr(await a.getClippingRect({
1266
+ } = Ht(e, t), g = no(d), b = i[m ? p === "floating" ? "reference" : "floating" : p], v = Nr(await a.getClippingRect({
1267
1267
  element: (r = await (a.isElement == null ? void 0 : a.isElement(b))) == null || r ? b : b.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(i.floating)),
1268
1268
  boundary: c,
1269
1269
  rootBoundary: u,
@@ -1279,17 +1279,17 @@ async function ao(t, e) {
1279
1279
  } : {
1280
1280
  x: 1,
1281
1281
  y: 1
1282
- }, S = Sr(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
1282
+ }, E = Nr(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
1283
1283
  elements: i,
1284
1284
  rect: w,
1285
1285
  offsetParent: x,
1286
1286
  strategy: l
1287
1287
  }) : w);
1288
1288
  return {
1289
- top: (v.top - S.top + g.top) / k.y,
1290
- bottom: (S.bottom - v.bottom + g.bottom) / k.y,
1291
- left: (v.left - S.left + g.left) / k.x,
1292
- right: (S.right - v.right + g.right) / k.x
1289
+ top: (v.top - E.top + g.top) / k.y,
1290
+ bottom: (E.bottom - v.bottom + g.bottom) / k.y,
1291
+ left: (v.left - E.left + g.left) / k.x,
1292
+ right: (E.right - v.right + g.right) / k.x
1293
1293
  };
1294
1294
  }
1295
1295
  const Pc = async (t, e, r) => {
@@ -1315,8 +1315,8 @@ const Pc = async (t, e, r) => {
1315
1315
  } = i[b], {
1316
1316
  x,
1317
1317
  y: k,
1318
- data: S,
1319
- reset: C
1318
+ data: E,
1319
+ reset: T
1320
1320
  } = await w({
1321
1321
  x: u,
1322
1322
  y: p,
@@ -1338,13 +1338,13 @@ const Pc = async (t, e, r) => {
1338
1338
  ...d,
1339
1339
  [v]: {
1340
1340
  ...d[v],
1341
- ...S
1341
+ ...E
1342
1342
  }
1343
- }, C && g <= 50 && (g++, typeof C == "object" && (C.placement && (m = C.placement), C.rects && (c = C.rects === !0 ? await o.getElementRects({
1343
+ }, T && g <= 50 && (g++, typeof T == "object" && (T.placement && (m = T.placement), T.rects && (c = T.rects === !0 ? await o.getElementRects({
1344
1344
  reference: t,
1345
1345
  floating: e,
1346
1346
  strategy: n
1347
- }) : C.rects), {
1347
+ }) : T.rects), {
1348
1348
  x: u,
1349
1349
  y: p
1350
1350
  } = _n(c, m, l)), b = -1);
@@ -1377,10 +1377,10 @@ const Pc = async (t, e, r) => {
1377
1377
  const p = no(u), m = {
1378
1378
  x: r,
1379
1379
  y: s
1380
- }, d = Us(n), g = Ws(d), h = await o.getDimensions(c), b = d === "y", v = b ? "top" : "left", w = b ? "bottom" : "right", x = b ? "clientHeight" : "clientWidth", k = a.reference[g] + a.reference[d] - m[d] - a.floating[g], S = m[d] - a.reference[d], C = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
1381
- let P = C ? C[x] : 0;
1382
- (!P || !await (o.isElement == null ? void 0 : o.isElement(C))) && (P = i.floating[x] || a.floating[g]);
1383
- const M = k / 2 - S / 2, z = P / 2 - h[g] / 2 - 1, N = Qt(p[v], z), $ = Qt(p[w], z), L = N, _ = P - h[g] - $, R = P / 2 - h[g] / 2 + M, D = bs(L, R, _), F = !l.arrow && Me(n) != null && R !== D && a.reference[g] / 2 - (R < L ? N : $) - h[g] / 2 < 0, U = F ? R < L ? R - L : R - _ : 0;
1380
+ }, d = Us(n), g = Ws(d), h = await o.getDimensions(c), b = d === "y", v = b ? "top" : "left", w = b ? "bottom" : "right", x = b ? "clientHeight" : "clientWidth", k = a.reference[g] + a.reference[d] - m[d] - a.floating[g], E = m[d] - a.reference[d], T = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
1381
+ let P = T ? T[x] : 0;
1382
+ (!P || !await (o.isElement == null ? void 0 : o.isElement(T))) && (P = i.floating[x] || a.floating[g]);
1383
+ const M = k / 2 - E / 2, z = P / 2 - h[g] / 2 - 1, N = Qt(p[v], z), $ = Qt(p[w], z), L = N, _ = P - h[g] - $, R = P / 2 - h[g] / 2 + M, D = bs(L, R, _), F = !l.arrow && Me(n) != null && R !== D && a.reference[g] / 2 - (R < L ? N : $) - h[g] / 2 < 0, U = F ? R < L ? R - L : R - _ : 0;
1384
1384
  return {
1385
1385
  [d]: m[d] + U,
1386
1386
  data: {
@@ -1417,9 +1417,9 @@ const Pc = async (t, e, r) => {
1417
1417
  } = Ht(t, e);
1418
1418
  if ((r = a.arrow) != null && r.alignmentOffset)
1419
1419
  return {};
1420
- const v = Zt(n), w = Mt(i), x = Zt(i) === i, k = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), S = m || (x || !h ? [Er(i)] : yc(i)), C = g !== "none";
1421
- !m && C && S.push(...Sc(i, h, g, k));
1422
- const P = [i, ...S], M = await l.detectOverflow(e, b), z = [];
1420
+ const v = Zt(n), w = Mt(i), x = Zt(i) === i, k = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = m || (x || !h ? [Er(i)] : yc(i)), T = g !== "none";
1421
+ !m && T && E.push(...Ec(i, h, g, k));
1422
+ const P = [i, ...E], M = await l.detectOverflow(e, b), z = [];
1423
1423
  let N = ((s = a.flip) == null ? void 0 : s.overflows) || [];
1424
1424
  if (u && z.push(M[v]), p) {
1425
1425
  const R = xc(n, o, k);
@@ -1449,7 +1449,7 @@ const Pc = async (t, e, r) => {
1449
1449
  case "bestFit": {
1450
1450
  var _;
1451
1451
  const U = (_ = N.filter((O) => {
1452
- if (C) {
1452
+ if (T) {
1453
1453
  const j = Mt(O.placement);
1454
1454
  return j === w || // Create a bias to the `y` side axis due to horizontal
1455
1455
  // reading directions favoring greater width.
@@ -1663,13 +1663,13 @@ const Rc = function(t) {
1663
1663
  ...h
1664
1664
  };
1665
1665
  if (l) {
1666
- const x = m === "y" ? "height" : "width", k = a.reference[m] - a.floating[x] + b.mainAxis, S = a.reference[m] + a.reference[x] - b.mainAxis;
1667
- d < k ? d = k : d > S && (d = S);
1666
+ const x = m === "y" ? "height" : "width", k = a.reference[m] - a.floating[x] + b.mainAxis, E = a.reference[m] + a.reference[x] - b.mainAxis;
1667
+ d < k ? d = k : d > E && (d = E);
1668
1668
  }
1669
1669
  if (c) {
1670
1670
  var v, w;
1671
- const x = m === "y" ? "width" : "height", k = oo.has(Zt(n)), S = a.reference[p] - a.floating[x] + (k && ((v = o.offset) == null ? void 0 : v[p]) || 0) + (k ? 0 : b.crossAxis), C = a.reference[p] + a.reference[x] + (k ? 0 : ((w = o.offset) == null ? void 0 : w[p]) || 0) - (k ? b.crossAxis : 0);
1672
- g < S ? g = S : g > C && (g = C);
1671
+ const x = m === "y" ? "width" : "height", k = oo.has(Zt(n)), E = a.reference[p] - a.floating[x] + (k && ((v = o.offset) == null ? void 0 : v[p]) || 0) + (k ? 0 : b.crossAxis), T = a.reference[p] + a.reference[x] + (k ? 0 : ((w = o.offset) == null ? void 0 : w[p]) || 0) - (k ? b.crossAxis : 0);
1672
+ g < E ? g = E : g > T && (g = T);
1673
1673
  }
1674
1674
  return {
1675
1675
  [m]: d,
@@ -1698,11 +1698,11 @@ const Rc = function(t) {
1698
1698
  } = a.floating;
1699
1699
  let b, v;
1700
1700
  p === "top" || p === "bottom" ? (b = p, v = m === (await (o.isRTL == null ? void 0 : o.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (v = p, b = m === "end" ? "top" : "bottom");
1701
- const w = h - u.top - u.bottom, x = g - u.left - u.right, k = Qt(h - u[b], w), S = Qt(g - u[v], x), C = !e.middlewareData.shift;
1702
- let P = k, M = S;
1703
- if ((r = e.middlewareData.shift) != null && r.enabled.x && (M = x), (s = e.middlewareData.shift) != null && s.enabled.y && (P = w), C && !m) {
1704
- const N = Et(u.left, 0), $ = Et(u.right, 0), L = Et(u.top, 0), _ = Et(u.bottom, 0);
1705
- d ? M = g - 2 * (N !== 0 || $ !== 0 ? N + $ : Et(u.left, u.right)) : P = h - 2 * (L !== 0 || _ !== 0 ? L + _ : Et(u.top, u.bottom));
1701
+ const w = h - u.top - u.bottom, x = g - u.left - u.right, k = Qt(h - u[b], w), E = Qt(g - u[v], x), T = !e.middlewareData.shift;
1702
+ let P = k, M = E;
1703
+ if ((r = e.middlewareData.shift) != null && r.enabled.x && (M = x), (s = e.middlewareData.shift) != null && s.enabled.y && (P = w), T && !m) {
1704
+ const N = St(u.left, 0), $ = St(u.right, 0), L = St(u.top, 0), _ = St(u.bottom, 0);
1705
+ d ? M = g - 2 * (N !== 0 || $ !== 0 ? N + $ : St(u.left, u.right)) : P = h - 2 * (L !== 0 || _ !== 0 ? L + _ : St(u.top, u.bottom));
1706
1706
  }
1707
1707
  await l({
1708
1708
  ...e,
@@ -1772,19 +1772,19 @@ function be(t, e, r, s) {
1772
1772
  l *= b.x, c *= b.y, u *= b.x, p *= b.y, l += x, c += k, g = Tt(h), h = hs(g);
1773
1773
  }
1774
1774
  }
1775
- return Sr({
1775
+ return Nr({
1776
1776
  width: u,
1777
1777
  height: p,
1778
1778
  x: l,
1779
1779
  y: c
1780
1780
  });
1781
1781
  }
1782
- function Br(t, e) {
1783
- const r = Vr(t).scrollLeft;
1782
+ function Hr(t, e) {
1783
+ const r = Br(t).scrollLeft;
1784
1784
  return e ? e.left + r : be(Wt(t)).left + r;
1785
1785
  }
1786
1786
  function co(t, e) {
1787
- const r = t.getBoundingClientRect(), s = r.left + e.scrollLeft - Br(t, r), n = r.top + e.scrollTop;
1787
+ const r = t.getBoundingClientRect(), s = r.left + e.scrollLeft - Hr(t, r), n = r.top + e.scrollTop;
1788
1788
  return {
1789
1789
  x: s,
1790
1790
  y: n
@@ -1797,7 +1797,7 @@ function Mc(t) {
1797
1797
  offsetParent: s,
1798
1798
  strategy: n
1799
1799
  } = t;
1800
- const a = n === "fixed", o = Wt(s), i = e ? _r(e.floating) : !1;
1800
+ const a = n === "fixed", o = Wt(s), i = e ? Vr(e.floating) : !1;
1801
1801
  if (s === o || i && a)
1802
1802
  return r;
1803
1803
  let l = {
@@ -1805,7 +1805,7 @@ function Mc(t) {
1805
1805
  scrollTop: 0
1806
1806
  }, c = _t(1);
1807
1807
  const u = _t(0), p = Bt(s);
1808
- if ((p || !p && !a) && ((Fe(s) !== "body" || ur(o)) && (l = Vr(s)), Bt(s))) {
1808
+ if ((p || !p && !a) && ((Fe(s) !== "body" || ur(o)) && (l = Br(s)), Bt(s))) {
1809
1809
  const d = be(s);
1810
1810
  c = Pe(s), u.x = d.x + s.clientLeft, u.y = d.y + s.clientTop;
1811
1811
  }
@@ -1821,10 +1821,10 @@ function Lc(t) {
1821
1821
  return Array.from(t.getClientRects());
1822
1822
  }
1823
1823
  function _c(t) {
1824
- const e = Wt(t), r = Vr(t), s = t.ownerDocument.body, n = Et(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), a = Et(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
1825
- let o = -r.scrollLeft + Br(t);
1824
+ const e = Wt(t), r = Br(t), s = t.ownerDocument.body, n = St(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), a = St(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
1825
+ let o = -r.scrollLeft + Hr(t);
1826
1826
  const i = -r.scrollTop;
1827
- return Dt(s).direction === "rtl" && (o += Et(e.clientWidth, s.clientWidth) - n), {
1827
+ return Dt(s).direction === "rtl" && (o += St(e.clientWidth, s.clientWidth) - n), {
1828
1828
  width: n,
1829
1829
  height: a,
1830
1830
  x: o,
@@ -1840,7 +1840,7 @@ function Vc(t, e) {
1840
1840
  const u = Hs();
1841
1841
  (!u || u && e === "fixed") && (i = n.offsetLeft, l = n.offsetTop);
1842
1842
  }
1843
- const c = Br(s);
1843
+ const c = Hr(s);
1844
1844
  if (c <= 0) {
1845
1845
  const u = s.ownerDocument, p = u.body, m = getComputedStyle(p), d = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, g = Math.abs(s.clientWidth - p.clientWidth - d);
1846
1846
  g <= Hn && (a -= g);
@@ -1879,7 +1879,7 @@ function zn(t, e, r) {
1879
1879
  height: e.height
1880
1880
  };
1881
1881
  }
1882
- return Sr(s);
1882
+ return Nr(s);
1883
1883
  }
1884
1884
  function uo(t, e) {
1885
1885
  const r = ne(t);
@@ -1905,9 +1905,9 @@ function Wc(t) {
1905
1905
  rootBoundary: s,
1906
1906
  strategy: n
1907
1907
  } = t;
1908
- const o = [...r === "clippingAncestors" ? _r(e) ? [] : zc(e, this._c) : [].concat(r), s], i = o[0], l = o.reduce((c, u) => {
1908
+ const o = [...r === "clippingAncestors" ? Vr(e) ? [] : zc(e, this._c) : [].concat(r), s], i = o[0], l = o.reduce((c, u) => {
1909
1909
  const p = zn(e, u, n);
1910
- return c.top = Et(p.top, c.top), c.right = Qt(p.right, c.right), c.bottom = Qt(p.bottom, c.bottom), c.left = Et(p.left, c.left), c;
1910
+ return c.top = St(p.top, c.top), c.right = Qt(p.right, c.right), c.bottom = Qt(p.bottom, c.bottom), c.left = St(p.left, c.left), c;
1911
1911
  }, zn(e, i, n));
1912
1912
  return {
1913
1913
  width: l.right - l.left,
@@ -1934,10 +1934,10 @@ function Yc(t, e, r) {
1934
1934
  };
1935
1935
  const l = _t(0);
1936
1936
  function c() {
1937
- l.x = Br(n);
1937
+ l.x = Hr(n);
1938
1938
  }
1939
1939
  if (s || !s && !a)
1940
- if ((Fe(e) !== "body" || ur(n)) && (i = Vr(e)), s) {
1940
+ if ((Fe(e) !== "body" || ur(n)) && (i = Br(e)), s) {
1941
1941
  const d = be(e, !0, a, e);
1942
1942
  l.x = d.x + e.clientLeft, l.y = d.y + e.clientTop;
1943
1943
  } else n && c();
@@ -1963,7 +1963,7 @@ function Wn(t, e) {
1963
1963
  }
1964
1964
  function fo(t, e) {
1965
1965
  const r = Tt(t);
1966
- if (_r(t))
1966
+ if (Vr(t))
1967
1967
  return r;
1968
1968
  if (!Bt(t)) {
1969
1969
  let n = ne(t);
@@ -2026,13 +2026,13 @@ function Xc(t, e) {
2026
2026
  } = c;
2027
2027
  if (i || e(), !m || !d)
2028
2028
  return;
2029
- const g = br(p), h = br(n.clientWidth - (u + m)), b = br(n.clientHeight - (p + d)), v = br(u), x = {
2029
+ const g = vr(p), h = vr(n.clientWidth - (u + m)), b = vr(n.clientHeight - (p + d)), v = vr(u), x = {
2030
2030
  rootMargin: -g + "px " + -h + "px " + -b + "px " + -v + "px",
2031
- threshold: Et(0, Qt(1, l)) || 1
2031
+ threshold: St(0, Qt(1, l)) || 1
2032
2032
  };
2033
2033
  let k = !0;
2034
- function S(C) {
2035
- const P = C[0].intersectionRatio;
2034
+ function E(T) {
2035
+ const P = T[0].intersectionRatio;
2036
2036
  if (P !== l) {
2037
2037
  if (!k)
2038
2038
  return o();
@@ -2043,13 +2043,13 @@ function Xc(t, e) {
2043
2043
  P === 1 && !po(c, t.getBoundingClientRect()) && o(), k = !1;
2044
2044
  }
2045
2045
  try {
2046
- r = new IntersectionObserver(S, {
2046
+ r = new IntersectionObserver(E, {
2047
2047
  ...x,
2048
2048
  // Handle <iframe>s
2049
2049
  root: n.ownerDocument
2050
2050
  });
2051
2051
  } catch {
2052
- r = new IntersectionObserver(S, x);
2052
+ r = new IntersectionObserver(E, x);
2053
2053
  }
2054
2054
  r.observe(t);
2055
2055
  }
@@ -2105,8 +2105,8 @@ const cs = ao, Qc = Rc, Zc = $c, Jc = Cc, tu = Ac, eu = Tc, Un = Oc, ru = Ic, su
2105
2105
  });
2106
2106
  };
2107
2107
  var nu = typeof document < "u", au = function() {
2108
- }, yr = nu ? ja : au;
2109
- function Nr(t, e) {
2108
+ }, wr = nu ? ja : au;
2109
+ function Pr(t, e) {
2110
2110
  if (t === e)
2111
2111
  return !0;
2112
2112
  if (typeof t != typeof e)
@@ -2118,7 +2118,7 @@ function Nr(t, e) {
2118
2118
  if (Array.isArray(t)) {
2119
2119
  if (r = t.length, r !== e.length) return !1;
2120
2120
  for (s = r; s-- !== 0; )
2121
- if (!Nr(t[s], e[s]))
2121
+ if (!Pr(t[s], e[s]))
2122
2122
  return !1;
2123
2123
  return !0;
2124
2124
  }
@@ -2129,7 +2129,7 @@ function Nr(t, e) {
2129
2129
  return !1;
2130
2130
  for (s = r; s-- !== 0; ) {
2131
2131
  const a = n[s];
2132
- if (!(a === "_owner" && t.$$typeof) && !Nr(t[a], e[a]))
2132
+ if (!(a === "_owner" && t.$$typeof) && !Pr(t[a], e[a]))
2133
2133
  return !1;
2134
2134
  }
2135
2135
  return !0;
@@ -2145,7 +2145,7 @@ function Yn(t, e) {
2145
2145
  }
2146
2146
  function us(t) {
2147
2147
  const e = y.useRef(t);
2148
- return yr(() => {
2148
+ return wr(() => {
2149
2149
  e.current = t;
2150
2150
  }), e;
2151
2151
  }
@@ -2171,20 +2171,20 @@ function ho(t) {
2171
2171
  middlewareData: {},
2172
2172
  isPositioned: !1
2173
2173
  }), [m, d] = y.useState(s);
2174
- Nr(m, s) || d(s);
2174
+ Pr(m, s) || d(s);
2175
2175
  const [g, h] = y.useState(null), [b, v] = y.useState(null), w = y.useCallback((O) => {
2176
- O !== C.current && (C.current = O, h(O));
2176
+ O !== T.current && (T.current = O, h(O));
2177
2177
  }, []), x = y.useCallback((O) => {
2178
2178
  O !== P.current && (P.current = O, v(O));
2179
- }, []), k = a || g, S = o || b, C = y.useRef(null), P = y.useRef(null), M = y.useRef(u), z = l != null, N = us(l), $ = us(n), L = us(c), _ = y.useCallback(() => {
2180
- if (!C.current || !P.current)
2179
+ }, []), k = a || g, E = o || b, T = y.useRef(null), P = y.useRef(null), M = y.useRef(u), z = l != null, N = us(l), $ = us(n), L = us(c), _ = y.useCallback(() => {
2180
+ if (!T.current || !P.current)
2181
2181
  return;
2182
2182
  const O = {
2183
2183
  placement: e,
2184
2184
  strategy: r,
2185
2185
  middleware: m
2186
2186
  };
2187
- $.current && (O.platform = $.current), su(C.current, P.current, O).then((j) => {
2187
+ $.current && (O.platform = $.current), su(T.current, P.current, O).then((j) => {
2188
2188
  const H = {
2189
2189
  ...j,
2190
2190
  // The floating element's position may be recomputed while it's closed
@@ -2193,36 +2193,36 @@ function ho(t) {
2193
2193
  // setting it to `true` when `open === false` (must be specified).
2194
2194
  isPositioned: L.current !== !1
2195
2195
  };
2196
- R.current && !Nr(M.current, H) && (M.current = H, Ke.flushSync(() => {
2196
+ R.current && !Pr(M.current, H) && (M.current = H, Ke.flushSync(() => {
2197
2197
  p(H);
2198
2198
  }));
2199
2199
  });
2200
2200
  }, [m, e, r, $, L]);
2201
- yr(() => {
2201
+ wr(() => {
2202
2202
  c === !1 && M.current.isPositioned && (M.current.isPositioned = !1, p((O) => ({
2203
2203
  ...O,
2204
2204
  isPositioned: !1
2205
2205
  })));
2206
2206
  }, [c]);
2207
2207
  const R = y.useRef(!1);
2208
- yr(() => (R.current = !0, () => {
2208
+ wr(() => (R.current = !0, () => {
2209
2209
  R.current = !1;
2210
- }), []), yr(() => {
2211
- if (k && (C.current = k), S && (P.current = S), k && S) {
2210
+ }), []), wr(() => {
2211
+ if (k && (T.current = k), E && (P.current = E), k && E) {
2212
2212
  if (N.current)
2213
- return N.current(k, S, _);
2213
+ return N.current(k, E, _);
2214
2214
  _();
2215
2215
  }
2216
- }, [k, S, _, N, z]);
2216
+ }, [k, E, _, N, z]);
2217
2217
  const D = y.useMemo(() => ({
2218
- reference: C,
2218
+ reference: T,
2219
2219
  floating: P,
2220
2220
  setReference: w,
2221
2221
  setFloating: x
2222
2222
  }), [w, x]), F = y.useMemo(() => ({
2223
2223
  reference: k,
2224
- floating: S
2225
- }), [k, S]), U = y.useMemo(() => {
2224
+ floating: E
2225
+ }), [k, E]), U = y.useMemo(() => {
2226
2226
  const O = {
2227
2227
  position: r,
2228
2228
  left: 0,
@@ -2364,8 +2364,8 @@ function vu() {
2364
2364
  const xu = /* @__PURE__ */ y.createContext(null), yu = /* @__PURE__ */ y.createContext(null), wu = () => {
2365
2365
  var t;
2366
2366
  return ((t = y.useContext(xu)) == null ? void 0 : t.id) || null;
2367
- }, ku = () => y.useContext(yu), Eu = "data-floating-ui-focusable";
2368
- function Su(t) {
2367
+ }, ku = () => y.useContext(yu), Su = "data-floating-ui-focusable";
2368
+ function Eu(t) {
2369
2369
  const {
2370
2370
  open: e = !1,
2371
2371
  onOpenChange: r,
@@ -2403,7 +2403,7 @@ function Nu(t) {
2403
2403
  t === void 0 && (t = {});
2404
2404
  const {
2405
2405
  nodeId: e
2406
- } = t, r = Su({
2406
+ } = t, r = Eu({
2407
2407
  ...t,
2408
2408
  elements: {
2409
2409
  reference: null,
@@ -2474,7 +2474,7 @@ function ds(t, e, r) {
2474
2474
  return {
2475
2475
  ...r === "floating" && {
2476
2476
  tabIndex: -1,
2477
- [Eu]: ""
2477
+ [Su]: ""
2478
2478
  },
2479
2479
  ...a,
2480
2480
  ...e.map((o) => {
@@ -2555,12 +2555,12 @@ const Ou = (t) => ({
2555
2555
  const x = {
2556
2556
  ...e,
2557
2557
  ...await Gs(-d.offsetTop - m.clientTop - p.reference.height / 2 - d.offsetHeight / 2 - a).fn(e)
2558
- }, k = await cs(Qn(x, g.scrollHeight + h + m.clientTop), u), S = await cs(x, {
2558
+ }, k = await cs(Qn(x, g.scrollHeight + h + m.clientTop), u), E = await cs(x, {
2559
2559
  ...u,
2560
2560
  elementContext: "reference"
2561
- }), C = Et(0, k.top), P = x.y + C, N = (g.scrollHeight > g.clientHeight ? ($) => $ : Xe)(Et(0, g.scrollHeight + (b && w || v ? h * 2 : 0) - C - Et(0, k.bottom)));
2562
- if (g.style.maxHeight = N + "px", g.scrollTop = C, n) {
2563
- const $ = g.offsetHeight < d.offsetHeight * Qt(i, r.current.length) - 1 || S.top >= -l || S.bottom >= -l;
2561
+ }), T = St(0, k.top), P = x.y + T, N = (g.scrollHeight > g.clientHeight ? ($) => $ : Xe)(St(0, g.scrollHeight + (b && w || v ? h * 2 : 0) - T - St(0, k.bottom)));
2562
+ if (g.style.maxHeight = N + "px", g.scrollTop = T, n) {
2563
+ const $ = g.offsetHeight < d.offsetHeight * Qt(i, r.current.length) - 1 || E.top >= -l || E.bottom >= -l;
2564
2564
  Ke.flushSync(() => n($));
2565
2565
  }
2566
2566
  return s && (s.current = await cs(Qn({
@@ -2586,9 +2586,9 @@ function Cu(t, e) {
2586
2586
  function d(h) {
2587
2587
  if (h.ctrlKey || !g || a.current == null)
2588
2588
  return;
2589
- const b = h.deltaY, v = a.current.top >= -0.5, w = a.current.bottom >= -0.5, x = g.scrollHeight - g.clientHeight, k = b < 0 ? -1 : 1, S = b < 0 ? "max" : "min";
2589
+ const b = h.deltaY, v = a.current.top >= -0.5, w = a.current.bottom >= -0.5, x = g.scrollHeight - g.clientHeight, k = b < 0 ? -1 : 1, E = b < 0 ? "max" : "min";
2590
2590
  g.scrollHeight <= g.clientHeight || (!v && b > 0 || !w && b < 0 ? (h.preventDefault(), Ke.flushSync(() => {
2591
- l((C) => C + Math[S](b, x * k));
2591
+ l((T) => T + Math[E](b, x * k));
2592
2592
  })) : /firefox/i.test(mc()) && (g.scrollTop += b));
2593
2593
  }
2594
2594
  const g = o?.current || s.floating;
@@ -2687,12 +2687,12 @@ function Js({ children: t, enabled: e = !0 }) {
2687
2687
  });
2688
2688
  } }) : null, xo({ padding: d, apply({ availableWidth: $, availableHeight: L, elements: _ }) {
2689
2689
  Object.assign(_.floating.style, { overflow: "auto", maxWidth: `${$}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${L}px)` });
2690
- } })].filter(Boolean), whileElementsMounted: mo }), [k = h, S = b] = x.placement.split("-");
2690
+ } })].filter(Boolean), whileElementsMounted: mo }), [k = h, E = b] = x.placement.split("-");
2691
2691
  h === "selection" && (k = "selection");
2692
- let C = ft(() => ({ anchor: [k, S].filter(Boolean).join(" ") }), [k, S]), P = Cu(x, { overflowRef: o, onChange: a }), { getReferenceProps: M, getFloatingProps: z } = Pu([P]), N = I(($) => {
2692
+ let T = ft(() => ({ anchor: [k, E].filter(Boolean).join(" ") }), [k, E]), P = Cu(x, { overflowRef: o, onChange: a }), { getReferenceProps: M, getFloatingProps: z } = Pu([P]), N = I(($) => {
2693
2693
  l($), v.setFloating($);
2694
2694
  });
2695
- return y.createElement(Ks.Provider, { value: s }, y.createElement(Le.Provider, { value: { setFloating: N, setReference: v.setReference, styles: w, getReferenceProps: M, getFloatingProps: z, slot: C } }, t));
2695
+ return y.createElement(Ks.Provider, { value: s }, y.createElement(Le.Provider, { value: { setFloating: N, setReference: v.setReference, styles: w, getReferenceProps: M, getFloatingProps: z, slot: T } }, t));
2696
2696
  }
2697
2697
  function Tu(t) {
2698
2698
  ot(() => {
@@ -2721,7 +2721,7 @@ function fs(t, e, r = void 0) {
2721
2721
  if (!c) return [r, null];
2722
2722
  let u = Jn(l, c);
2723
2723
  return [u, (p) => {
2724
- let m = Eo(l);
2724
+ let m = So(l);
2725
2725
  {
2726
2726
  let d = m.map((g) => window.getComputedStyle(c).getPropertyValue(g));
2727
2727
  s.requestAnimationFrame(function g() {
@@ -2749,13 +2749,13 @@ function fs(t, e, r = void 0) {
2749
2749
  if (i(l), !!c) return c(i);
2750
2750
  }, [t, e]), o;
2751
2751
  }
2752
- function Eo(t) {
2752
+ function So(t) {
2753
2753
  let e = /var\((.*)\)/.exec(t);
2754
2754
  if (e) {
2755
2755
  let r = e[1].indexOf(",");
2756
2756
  if (r === -1) return [e[1]];
2757
2757
  let s = e[1].slice(0, r).trim(), n = e[1].slice(r + 1).trim();
2758
- return n ? [s, ...Eo(n)] : [s];
2758
+ return n ? [s, ...So(n)] : [s];
2759
2759
  }
2760
2760
  return [];
2761
2761
  }
@@ -2766,25 +2766,25 @@ function Jn(t, e) {
2766
2766
  return e.removeChild(r), s;
2767
2767
  }
2768
2768
  function Ru({ children: t, freeze: e }, r) {
2769
- let s = So(e, t);
2770
- return Ca(s) ? Xi(s, { ref: r }) : E.createElement(E.Fragment, null, s);
2769
+ let s = Eo(e, t);
2770
+ return Ca(s) ? Xi(s, { ref: r }) : S.createElement(S.Fragment, null, s);
2771
2771
  }
2772
- E.forwardRef(Ru);
2773
- function So(t, e) {
2772
+ S.forwardRef(Ru);
2773
+ function Eo(t, e) {
2774
2774
  let [r, s] = X(e);
2775
2775
  return !t && r !== e && s(e), t ? r : e;
2776
2776
  }
2777
- let Hr = pt(null);
2778
- Hr.displayName = "OpenClosedContext";
2777
+ let zr = pt(null);
2778
+ zr.displayName = "OpenClosedContext";
2779
2779
  var ut = ((t) => (t[t.Open = 1] = "Open", t[t.Closed = 2] = "Closed", t[t.Closing = 4] = "Closing", t[t.Opening = 8] = "Opening", t))(ut || {});
2780
2780
  function ie() {
2781
- return at(Hr);
2781
+ return at(zr);
2782
2782
  }
2783
- function zr({ value: t, children: e }) {
2784
- return E.createElement(Hr.Provider, { value: t }, e);
2783
+ function Wr({ value: t, children: e }) {
2784
+ return S.createElement(zr.Provider, { value: t }, e);
2785
2785
  }
2786
2786
  function No({ children: t }) {
2787
- return E.createElement(Hr.Provider, { value: null }, t);
2787
+ return S.createElement(zr.Provider, { value: null }, t);
2788
2788
  }
2789
2789
  function $u(t) {
2790
2790
  function e() {
@@ -2797,7 +2797,7 @@ $u(() => {
2797
2797
  function t(e) {
2798
2798
  if (!$t(e.target) || e.target === document.body || Jt[0] === e.target) return;
2799
2799
  let r = e.target;
2800
- r = r.closest(kr), Jt.unshift(r ?? e.target), Jt = Jt.filter((s) => s != null && s.isConnected), Jt.splice(10);
2800
+ r = r.closest(Sr), Jt.unshift(r ?? e.target), Jt = Jt.filter((s) => s != null && s.isConnected), Jt.splice(10);
2801
2801
  }
2802
2802
  window.addEventListener("click", t, { capture: !0 }), window.addEventListener("mousedown", t, { capture: !0 }), window.addEventListener("focus", t, { capture: !0 }), document.body.addEventListener("click", t, { capture: !0 }), document.body.addEventListener("mousedown", t, { capture: !0 }), document.body.addEventListener("focus", t, { capture: !0 });
2803
2803
  });
@@ -2850,7 +2850,7 @@ function Au() {
2850
2850
  return at(Po);
2851
2851
  }
2852
2852
  function ta(t) {
2853
- return E.createElement(Po.Provider, { value: t.force }, t.children);
2853
+ return S.createElement(Po.Provider, { value: t.force }, t.children);
2854
2854
  }
2855
2855
  function Du(t) {
2856
2856
  let e = Au(), r = at(Co), [s, n] = X(() => {
@@ -2876,18 +2876,18 @@ let Oo = xt, Fu = Q(function(t, e) {
2876
2876
  return dr(() => {
2877
2877
  var m;
2878
2878
  l && l.childNodes.length <= 0 && ((m = l.parentElement) == null || m.removeChild(l));
2879
- }), l ? $a(E.createElement("div", { "data-headlessui-portal": "", ref: (m) => {
2879
+ }), l ? $a(S.createElement("div", { "data-headlessui-portal": "", ref: (m) => {
2880
2880
  u.dispose(), c && m && u.add(c.register(m));
2881
2881
  } }, p({ ourProps: { ref: a }, theirProps: s, slot: {}, defaultTag: Oo, name: "Portal" })), l) : null;
2882
2882
  });
2883
2883
  function Mu(t, e) {
2884
2884
  let r = lt(e), { enabled: s = !0, ownerDocument: n, ...a } = t, o = J();
2885
- return s ? E.createElement(Fu, { ...a, ownerDocument: n, ref: r }) : o({ ourProps: { ref: r }, theirProps: a, slot: {}, defaultTag: Oo, name: "Portal" });
2885
+ return s ? S.createElement(Fu, { ...a, ownerDocument: n, ref: r }) : o({ ourProps: { ref: r }, theirProps: a, slot: {}, defaultTag: Oo, name: "Portal" });
2886
2886
  }
2887
2887
  let Lu = xt, Co = pt(null);
2888
2888
  function _u(t, e) {
2889
2889
  let { target: r, ...s } = t, n = { ref: lt(e) }, a = J();
2890
- return E.createElement(Co.Provider, { value: r }, a({ ourProps: n, theirProps: s, defaultTag: Lu, name: "Popover.Group" }));
2890
+ return S.createElement(Co.Provider, { value: r }, a({ ourProps: n, theirProps: s, defaultTag: Lu, name: "Popover.Group" }));
2891
2891
  }
2892
2892
  let ys = pt(null);
2893
2893
  function To() {
@@ -2896,10 +2896,10 @@ function To() {
2896
2896
  o !== -1 && e.current.splice(o, 1), t && t.unregister(a);
2897
2897
  }), n = ft(() => ({ register: r, unregister: s, portals: e }), [r, s, e]);
2898
2898
  return [e, ft(() => function({ children: a }) {
2899
- return E.createElement(ys.Provider, { value: n }, a);
2899
+ return S.createElement(ys.Provider, { value: n }, a);
2900
2900
  }, [n])];
2901
2901
  }
2902
- let Vu = Q(Mu), jo = Q(_u), Wr = Object.assign(Vu, { Group: jo });
2902
+ let Vu = Q(Mu), jo = Q(_u), Ur = Object.assign(Vu, { Group: jo });
2903
2903
  const se = { Idle: { kind: "Idle" }, Tracked: (t) => ({ kind: "Tracked", position: t }), Moved: { kind: "Moved" } };
2904
2904
  function tn(t) {
2905
2905
  let e = t.getBoundingClientRect();
@@ -2944,9 +2944,9 @@ function $o({ defaultContainers: t = [], portals: e, mainTreeNode: r } = {}) {
2944
2944
  return { resolveContainers: s, contains: I((n) => s().some((a) => a.contains(n))) };
2945
2945
  }
2946
2946
  let Io = pt(null);
2947
- function Pr({ children: t, node: e }) {
2947
+ function Or({ children: t, node: e }) {
2948
2948
  let [r, s] = X(null), n = en(e ?? r);
2949
- return E.createElement(Io.Provider, { value: n }, t, n === null && E.createElement(qt, { features: Vt.Hidden, ref: (a) => {
2949
+ return S.createElement(Io.Provider, { value: n }, t, n === null && S.createElement(qt, { features: Vt.Hidden, ref: (a) => {
2950
2950
  var o, i;
2951
2951
  if (a) {
2952
2952
  for (let l of (i = (o = ye(a)) == null ? void 0 : o.querySelectorAll("html > *, body > *")) != null ? i : []) if (l !== document.body && l !== document.head && Gt(l) && l != null && l.contains(a)) {
@@ -2965,7 +2965,7 @@ function zu() {
2965
2965
  return "useSyncExternalStore" in y ? ((e) => e.useSyncExternalStore)(y)(() => () => {
2966
2966
  }, () => !1, () => !t) : !1;
2967
2967
  }
2968
- function Ur() {
2968
+ function Yr() {
2969
2969
  let t = zu(), [e, r] = y.useState(pe.isHandoffComplete);
2970
2970
  return e && pe.isHandoffComplete === !1 && r(!1), y.useEffect(() => {
2971
2971
  e !== !0 && r(!0);
@@ -2995,7 +2995,7 @@ let Wu = "div";
2995
2995
  var ue = ((t) => (t[t.None = 0] = "None", t[t.InitialFocus = 1] = "InitialFocus", t[t.TabLock = 2] = "TabLock", t[t.FocusLock = 4] = "FocusLock", t[t.RestoreFocus = 8] = "RestoreFocus", t[t.AutoFocus = 16] = "AutoFocus", t))(ue || {});
2996
2996
  function Uu(t, e) {
2997
2997
  let r = V(null), s = lt(r, e), { initialFocus: n, initialFocusFallback: a, containers: o, features: i = 15, ...l } = t;
2998
- Ur() || (i = 0);
2998
+ Yr() || (i = 0);
2999
2999
  let c = Xt(r.current);
3000
3000
  qu(i, { ownerDocument: c });
3001
3001
  let u = Xu(i, { ownerDocument: c, container: r, initialFocus: n, initialFocusFallback: a });
@@ -3021,7 +3021,7 @@ function Uu(t, e) {
3021
3021
  let k = w.relatedTarget;
3022
3022
  $t(k) && k.dataset.headlessuiFocusGuard !== "true" && (Do(x, k) || (h.current ? Ot(r.current, ht(p.current, { [Ct.Forwards]: () => gt.Next, [Ct.Backwards]: () => gt.Previous }) | gt.WrapAround, { relativeTo: w.target }) : $t(w.target) && Lt(w.target)));
3023
3023
  } }, v = J();
3024
- return E.createElement(E.Fragment, null, d && E.createElement(qt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: Vt.Focusable }), v({ ourProps: b, theirProps: l, defaultTag: Wu, name: "FocusTrap" }), d && E.createElement(qt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: Vt.Focusable }));
3024
+ return S.createElement(S.Fragment, null, d && S.createElement(qt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: Vt.Focusable }), v({ ourProps: b, theirProps: l, defaultTag: Wu, name: "FocusTrap" }), d && S.createElement(qt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: Vt.Focusable }));
3025
3025
  }
3026
3026
  let Yu = Q(Uu), Gu = Object.assign(Yu, { features: ue });
3027
3027
  function Ku(t = !0) {
@@ -3094,25 +3094,25 @@ function Do(t, e) {
3094
3094
  }
3095
3095
  function Fo(t) {
3096
3096
  var e;
3097
- return !!(t.enter || t.enterFrom || t.enterTo || t.leave || t.leaveFrom || t.leaveTo) || !Mi((e = t.as) != null ? e : Lo) || E.Children.count(t.children) === 1;
3097
+ return !!(t.enter || t.enterFrom || t.enterTo || t.leave || t.leaveFrom || t.leaveTo) || !Mi((e = t.as) != null ? e : Lo) || S.Children.count(t.children) === 1;
3098
3098
  }
3099
- let Yr = pt(null);
3100
- Yr.displayName = "TransitionContext";
3099
+ let Gr = pt(null);
3100
+ Gr.displayName = "TransitionContext";
3101
3101
  var Zu = ((t) => (t.Visible = "visible", t.Hidden = "hidden", t))(Zu || {});
3102
3102
  function Ju() {
3103
- let t = at(Yr);
3103
+ let t = at(Gr);
3104
3104
  if (t === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
3105
3105
  return t;
3106
3106
  }
3107
3107
  function td() {
3108
- let t = at(Gr);
3108
+ let t = at(Kr);
3109
3109
  if (t === null) throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
3110
3110
  return t;
3111
3111
  }
3112
- let Gr = pt(null);
3113
- Gr.displayName = "NestingContext";
3114
- function Kr(t) {
3115
- return "children" in t ? Kr(t.children) : t.current.filter(({ el: e }) => e.current !== null).filter(({ state: e }) => e === "visible").length > 0;
3112
+ let Kr = pt(null);
3113
+ Kr.displayName = "NestingContext";
3114
+ function qr(t) {
3115
+ return "children" in t ? qr(t.children) : t.current.filter(({ el: e }) => e.current !== null).filter(({ state: e }) => e === "visible").length > 0;
3116
3116
  }
3117
3117
  function Mo(t, e) {
3118
3118
  let r = Kt(t), s = V([]), n = rn(), a = zt(), o = I((d, g = de.Hidden) => {
@@ -3123,7 +3123,7 @@ function Mo(t, e) {
3123
3123
  s.current[h].state = "hidden";
3124
3124
  } }), a.microTask(() => {
3125
3125
  var b;
3126
- !Kr(s) && n.current && ((b = r.current) == null || b.call(r));
3126
+ !qr(s) && n.current && ((b = r.current) == null || b.call(r));
3127
3127
  }));
3128
3128
  }), i = I((d) => {
3129
3129
  let g = s.current.find(({ el: h }) => h === d);
@@ -3145,17 +3145,17 @@ function Mo(t, e) {
3145
3145
  let Lo = xt, _o = At.RenderStrategy;
3146
3146
  function ed(t, e) {
3147
3147
  var r, s;
3148
- let { transition: n = !0, beforeEnter: a, afterEnter: o, beforeLeave: i, afterLeave: l, enter: c, enterFrom: u, enterTo: p, entered: m, leave: d, leaveFrom: g, leaveTo: h, ...b } = t, [v, w] = X(null), x = V(null), k = Fo(t), S = lt(...k ? [x, e, w] : e === null ? [] : [e]), C = (r = b.unmount) == null || r ? de.Unmount : de.Hidden, { show: P, appear: M, initial: z } = Ju(), [N, $] = X(P ? "visible" : "hidden"), L = td(), { register: _, unregister: R } = L;
3148
+ let { transition: n = !0, beforeEnter: a, afterEnter: o, beforeLeave: i, afterLeave: l, enter: c, enterFrom: u, enterTo: p, entered: m, leave: d, leaveFrom: g, leaveTo: h, ...b } = t, [v, w] = X(null), x = V(null), k = Fo(t), E = lt(...k ? [x, e, w] : e === null ? [] : [e]), T = (r = b.unmount) == null || r ? de.Unmount : de.Hidden, { show: P, appear: M, initial: z } = Ju(), [N, $] = X(P ? "visible" : "hidden"), L = td(), { register: _, unregister: R } = L;
3149
3149
  ot(() => _(x), [_, x]), ot(() => {
3150
- if (C === de.Hidden && x.current) {
3150
+ if (T === de.Hidden && x.current) {
3151
3151
  if (P && N !== "visible") {
3152
3152
  $("visible");
3153
3153
  return;
3154
3154
  }
3155
3155
  return ht(N, { hidden: () => R(x), visible: () => _(x) });
3156
3156
  }
3157
- }, [N, x, _, R, P, C]);
3158
- let D = Ur();
3157
+ }, [N, x, _, R, P, T]);
3158
+ let D = Yr();
3159
3159
  ot(() => {
3160
3160
  if (k && D && N === "visible" && x.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
3161
3161
  }, [x, N, D, k]);
@@ -3171,19 +3171,19 @@ function ed(t, e) {
3171
3171
  let bt = q ? "enter" : "leave";
3172
3172
  O.current = !1, j.onStop(x, bt, (yt) => {
3173
3173
  yt === "enter" ? o?.() : yt === "leave" && l?.();
3174
- }), bt === "leave" && !Kr(j) && ($("hidden"), R(x));
3174
+ }), bt === "leave" && !qr(j) && ($("hidden"), R(x));
3175
3175
  });
3176
3176
  st(() => {
3177
3177
  k && n || (H(P), nt(P));
3178
3178
  }, [P, k, n]);
3179
- let et = !(!n || !k || !D || F), [, A] = cr(et, v, P, { start: H, end: nt }), W = Sa({ ref: S, className: ((s = Li(b.className, U && c, U && u, A.enter && c, A.enter && A.closed && u, A.enter && !A.closed && p, A.leave && d, A.leave && !A.closed && g, A.leave && A.closed && h, !A.transition && P && m)) == null ? void 0 : s.trim()) || void 0, ...lr(A) }), G = 0;
3179
+ let et = !(!n || !k || !D || F), [, A] = cr(et, v, P, { start: H, end: nt }), W = Ea({ ref: E, className: ((s = Li(b.className, U && c, U && u, A.enter && c, A.enter && A.closed && u, A.enter && !A.closed && p, A.leave && d, A.leave && !A.closed && g, A.leave && A.closed && h, !A.transition && P && m)) == null ? void 0 : s.trim()) || void 0, ...lr(A) }), G = 0;
3180
3180
  N === "visible" && (G |= ut.Open), N === "hidden" && (G |= ut.Closed), P && N === "hidden" && (G |= ut.Opening), !P && N === "visible" && (G |= ut.Closing);
3181
3181
  let B = J();
3182
- return E.createElement(Gr.Provider, { value: j }, E.createElement(zr, { value: G }, B({ ourProps: W, theirProps: b, defaultTag: Lo, features: _o, visible: N === "visible", name: "Transition.Child" })));
3182
+ return S.createElement(Kr.Provider, { value: j }, S.createElement(Wr, { value: G }, B({ ourProps: W, theirProps: b, defaultTag: Lo, features: _o, visible: N === "visible", name: "Transition.Child" })));
3183
3183
  }
3184
3184
  function rd(t, e) {
3185
3185
  let { show: r, appear: s = !1, unmount: n = !0, ...a } = t, o = V(null), i = Fo(t), l = lt(...i ? [o, e] : e === null ? [] : [e]);
3186
- Ur();
3186
+ Yr();
3187
3187
  let c = ie();
3188
3188
  if (r === void 0 && c !== null && (r = (c & ut.Open) === ut.Open), r === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
3189
3189
  let [u, p] = X(r ? "visible" : "hidden"), m = Mo(() => {
@@ -3194,20 +3194,20 @@ function rd(t, e) {
3194
3194
  }, [h, r]);
3195
3195
  let b = ft(() => ({ show: r, appear: s, initial: d }), [r, s, d]);
3196
3196
  ot(() => {
3197
- r ? p("visible") : !Kr(m) && o.current !== null && p("hidden");
3197
+ r ? p("visible") : !qr(m) && o.current !== null && p("hidden");
3198
3198
  }, [r, m]);
3199
3199
  let v = { unmount: n }, w = I(() => {
3200
- var S;
3201
- d && g(!1), (S = t.beforeEnter) == null || S.call(t);
3200
+ var E;
3201
+ d && g(!1), (E = t.beforeEnter) == null || E.call(t);
3202
3202
  }), x = I(() => {
3203
- var S;
3204
- d && g(!1), (S = t.beforeLeave) == null || S.call(t);
3203
+ var E;
3204
+ d && g(!1), (E = t.beforeLeave) == null || E.call(t);
3205
3205
  }), k = J();
3206
- return E.createElement(Gr.Provider, { value: m }, E.createElement(Yr.Provider, { value: b }, k({ ourProps: { ...v, as: xt, children: E.createElement(Vo, { ref: l, ...v, ...a, beforeEnter: w, beforeLeave: x }) }, theirProps: {}, defaultTag: xt, features: _o, visible: u === "visible", name: "Transition" })));
3206
+ return S.createElement(Kr.Provider, { value: m }, S.createElement(Gr.Provider, { value: b }, k({ ourProps: { ...v, as: xt, children: S.createElement(Vo, { ref: l, ...v, ...a, beforeEnter: w, beforeLeave: x }) }, theirProps: {}, defaultTag: xt, features: _o, visible: u === "visible", name: "Transition" })));
3207
3207
  }
3208
3208
  function sd(t, e) {
3209
- let r = at(Yr) !== null, s = ie() !== null;
3210
- return E.createElement(E.Fragment, null, !r && s ? E.createElement(ws, { ref: e, ...t }) : E.createElement(Vo, { ref: e, ...t }));
3209
+ let r = at(Gr) !== null, s = ie() !== null;
3210
+ return S.createElement(S.Fragment, null, !r && s ? S.createElement(ws, { ref: e, ...t }) : S.createElement(Vo, { ref: e, ...t }));
3211
3211
  }
3212
3212
  let ws = Q(rd), Vo = Q(ed), Ze = Q(sd), je = Object.assign(ws, { Child: Ze, Root: ws });
3213
3213
  var nd = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(nd || {}), ad = ((t) => (t[t.SetTitleId = 0] = "SetTitleId", t))(ad || {});
@@ -3215,11 +3215,11 @@ let od = { 0(t, e) {
3215
3215
  return t.titleId === e.id ? t : { ...t, titleId: e.id };
3216
3216
  } }, nn = pt(null);
3217
3217
  nn.displayName = "DialogContext";
3218
- function qr(t) {
3218
+ function Xr(t) {
3219
3219
  let e = at(nn);
3220
3220
  if (e === null) {
3221
3221
  let r = new Error(`<${t} /> is missing a parent <Dialog /> component.`);
3222
- throw Error.captureStackTrace && Error.captureStackTrace(r, qr), r;
3222
+ throw Error.captureStackTrace && Error.captureStackTrace(r, Xr), r;
3223
3223
  }
3224
3224
  return e;
3225
3225
  }
@@ -3233,11 +3233,11 @@ let ea = Q(function(t, e) {
3233
3233
  })();
3234
3234
  let d = ie();
3235
3235
  n === void 0 && d !== null && (n = (d & ut.Open) === ut.Open);
3236
- let g = V(null), h = lt(g, e), b = Xt(g.current), v = n ? 0 : 1, [w, x] = Qi(id, { titleId: null, descriptionId: null, panelRef: Zi() }), k = I(() => a(!1)), S = I((A) => x({ type: 0, id: A })), C = Ur() ? v === 0 : !1, [P, M] = To(), z = { get current() {
3236
+ let g = V(null), h = lt(g, e), b = Xt(g.current), v = n ? 0 : 1, [w, x] = Qi(id, { titleId: null, descriptionId: null, panelRef: Zi() }), k = I(() => a(!1)), E = I((A) => x({ type: 0, id: A })), T = Yr() ? v === 0 : !1, [P, M] = To(), z = { get current() {
3237
3237
  var A;
3238
3238
  return (A = w.panelRef.current) != null ? A : g.current;
3239
3239
  } }, N = en(), { resolveContainers: $ } = $o({ mainTreeNode: N, portals: P, defaultContainers: [z] }), L = d !== null ? (d & ut.Closing) === ut.Closing : !1;
3240
- Ms(c || L ? !1 : C, { allowed: I(() => {
3240
+ Ms(c || L ? !1 : T, { allowed: I(() => {
3241
3241
  var A, W;
3242
3242
  return [(W = (A = g.current) == null ? void 0 : A.closest("[data-headlessui-portal]")) != null ? W : null];
3243
3243
  }), disallowed: I(() => {
@@ -3246,18 +3246,18 @@ let ea = Q(function(t, e) {
3246
3246
  }) });
3247
3247
  let _ = we.get(null);
3248
3248
  ot(() => {
3249
- if (C) return _.actions.push(s), () => _.actions.pop(s);
3250
- }, [_, s, C]);
3249
+ if (T) return _.actions.push(s), () => _.actions.pop(s);
3250
+ }, [_, s, T]);
3251
3251
  let R = rt(_, tt((A) => _.selectors.isTop(A, s), [_, s]));
3252
- Dr(R, $, (A) => {
3252
+ Fr(R, $, (A) => {
3253
3253
  A.preventDefault(), k();
3254
3254
  }), Bu(R, b?.defaultView, (A) => {
3255
3255
  A.preventDefault(), A.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), k();
3256
- }), Mr(c || L ? !1 : C, b, $), Ar(C, g, k);
3257
- let [D, F] = Rr(), U = ft(() => [{ dialogState: v, close: k, setTitleId: S, unmount: u }, w], [v, k, S, u, w]), O = ct({ open: v === 0 }), j = { ref: h, id: s, role: i, tabIndex: -1, "aria-modal": c ? void 0 : v === 0 ? !0 : void 0, "aria-labelledby": w.titleId, "aria-describedby": D, unmount: u }, H = !Hu(), nt = ue.None;
3258
- C && !c && (nt |= ue.RestoreFocus, nt |= ue.TabLock, l && (nt |= ue.AutoFocus), H && (nt |= ue.InitialFocus));
3256
+ }), Lr(c || L ? !1 : T, b, $), Dr(T, g, k);
3257
+ let [D, F] = $r(), U = ft(() => [{ dialogState: v, close: k, setTitleId: E, unmount: u }, w], [v, k, E, u, w]), O = ct({ open: v === 0 }), j = { ref: h, id: s, role: i, tabIndex: -1, "aria-modal": c ? void 0 : v === 0 ? !0 : void 0, "aria-labelledby": w.titleId, "aria-describedby": D, unmount: u }, H = !Hu(), nt = ue.None;
3258
+ T && !c && (nt |= ue.RestoreFocus, nt |= ue.TabLock, l && (nt |= ue.AutoFocus), H && (nt |= ue.InitialFocus));
3259
3259
  let et = J();
3260
- return E.createElement(No, null, E.createElement(ta, { force: !0 }, E.createElement(Wr, null, E.createElement(nn.Provider, { value: U }, E.createElement(jo, { target: g }, E.createElement(ta, { force: !1 }, E.createElement(F, { slot: O }, E.createElement(M, null, E.createElement(Gu, { initialFocus: o, initialFocusFallback: g, containers: $, features: nt }, E.createElement(As, { value: k }, et({ ourProps: j, theirProps: p, slot: O, defaultTag: ld, features: cd, visible: v === 0, name: "Dialog" })))))))))));
3260
+ return S.createElement(No, null, S.createElement(ta, { force: !0 }, S.createElement(Ur, null, S.createElement(nn.Provider, { value: U }, S.createElement(jo, { target: g }, S.createElement(ta, { force: !1 }, S.createElement(F, { slot: O }, S.createElement(M, null, S.createElement(Gu, { initialFocus: o, initialFocusFallback: g, containers: $, features: nt }, S.createElement(As, { value: k }, et({ ourProps: j, theirProps: p, slot: O, defaultTag: ld, features: cd, visible: v === 0, name: "Dialog" })))))))))));
3261
3261
  }), ld = "div", cd = At.RenderStrategy | At.Static;
3262
3262
  function ud(t, e) {
3263
3263
  let { transition: r = !1, open: s, ...n } = t, a = ie(), o = t.hasOwnProperty("open") || a !== null, i = t.hasOwnProperty("onClose");
@@ -3266,38 +3266,38 @@ function ud(t, e) {
3266
3266
  if (!i) throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
3267
3267
  if (!a && typeof t.open != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${t.open}`);
3268
3268
  if (typeof t.onClose != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${t.onClose}`);
3269
- return (s !== void 0 || r) && !n.static ? E.createElement(Pr, null, E.createElement(je, { show: s, transition: r, unmount: n.unmount }, E.createElement(ea, { ref: e, ...n }))) : E.createElement(Pr, null, E.createElement(ea, { ref: e, open: s, ...n }));
3269
+ return (s !== void 0 || r) && !n.static ? S.createElement(Or, null, S.createElement(je, { show: s, transition: r, unmount: n.unmount }, S.createElement(ea, { ref: e, ...n }))) : S.createElement(Or, null, S.createElement(ea, { ref: e, open: s, ...n }));
3270
3270
  }
3271
3271
  let dd = "div";
3272
3272
  function fd(t, e) {
3273
- let r = dt(), { id: s = `headlessui-dialog-panel-${r}`, transition: n = !1, ...a } = t, [{ dialogState: o, unmount: i }, l] = qr("Dialog.Panel"), c = lt(e, l.panelRef), u = ct({ open: o === 0 }), p = I((b) => {
3273
+ let r = dt(), { id: s = `headlessui-dialog-panel-${r}`, transition: n = !1, ...a } = t, [{ dialogState: o, unmount: i }, l] = Xr("Dialog.Panel"), c = lt(e, l.panelRef), u = ct({ open: o === 0 }), p = I((b) => {
3274
3274
  b.stopPropagation();
3275
3275
  }), m = { ref: c, id: s, onClick: p }, d = n ? Ze : xt, g = n ? { unmount: i } : {}, h = J();
3276
- return E.createElement(d, { ...g }, h({ ourProps: m, theirProps: a, slot: u, defaultTag: dd, name: "Dialog.Panel" }));
3276
+ return S.createElement(d, { ...g }, h({ ourProps: m, theirProps: a, slot: u, defaultTag: dd, name: "Dialog.Panel" }));
3277
3277
  }
3278
3278
  let pd = "div";
3279
3279
  function md(t, e) {
3280
- let { transition: r = !1, ...s } = t, [{ dialogState: n, unmount: a }] = qr("Dialog.Backdrop"), o = ct({ open: n === 0 }), i = { ref: e, "aria-hidden": !0 }, l = r ? Ze : xt, c = r ? { unmount: a } : {}, u = J();
3281
- return E.createElement(l, { ...c }, u({ ourProps: i, theirProps: s, slot: o, defaultTag: pd, name: "Dialog.Backdrop" }));
3280
+ let { transition: r = !1, ...s } = t, [{ dialogState: n, unmount: a }] = Xr("Dialog.Backdrop"), o = ct({ open: n === 0 }), i = { ref: e, "aria-hidden": !0 }, l = r ? Ze : xt, c = r ? { unmount: a } : {}, u = J();
3281
+ return S.createElement(l, { ...c }, u({ ourProps: i, theirProps: s, slot: o, defaultTag: pd, name: "Dialog.Backdrop" }));
3282
3282
  }
3283
3283
  let gd = "h2";
3284
3284
  function hd(t, e) {
3285
- let r = dt(), { id: s = `headlessui-dialog-title-${r}`, ...n } = t, [{ dialogState: a, setTitleId: o }] = qr("Dialog.Title"), i = lt(e);
3285
+ let r = dt(), { id: s = `headlessui-dialog-title-${r}`, ...n } = t, [{ dialogState: a, setTitleId: o }] = Xr("Dialog.Title"), i = lt(e);
3286
3286
  st(() => (o(s), () => o(null)), [s, o]);
3287
3287
  let l = ct({ open: a === 0 }), c = { ref: i, id: s };
3288
3288
  return J()({ ourProps: c, theirProps: n, slot: l, defaultTag: gd, name: "Dialog.Title" });
3289
3289
  }
3290
3290
  let bd = Q(ud), Bo = Q(fd), vd = Q(md), Ho = Q(hd), xd = Object.assign(bd, { Panel: Bo, Title: Ho, Description: rr }), yd = "div";
3291
3291
  function wd(t, e) {
3292
- let r = `headlessui-control-${dt()}`, [s, n] = sr(), [a, o] = Rr(), i = oe(), { disabled: l = i || !1, ...c } = t, u = ct({ disabled: l }), p = { ref: e, disabled: l || void 0, "aria-disabled": l || void 0 }, m = J();
3293
- return E.createElement(_i, { value: l }, E.createElement(n, { value: s }, E.createElement(o, { value: a }, E.createElement(ol, { id: r }, m({ ourProps: p, theirProps: { ...c, children: E.createElement(sl, null, typeof c.children == "function" ? c.children(u) : c.children) }, slot: u, defaultTag: yd, name: "Field" })))));
3292
+ let r = `headlessui-control-${dt()}`, [s, n] = sr(), [a, o] = $r(), i = oe(), { disabled: l = i || !1, ...c } = t, u = ct({ disabled: l }), p = { ref: e, disabled: l || void 0, "aria-disabled": l || void 0 }, m = J();
3293
+ return S.createElement(_i, { value: l }, S.createElement(n, { value: s }, S.createElement(o, { value: a }, S.createElement(ol, { id: r }, m({ ourProps: p, theirProps: { ...c, children: S.createElement(sl, null, typeof c.children == "function" ? c.children(u) : c.children) }, slot: u, defaultTag: yd, name: "Field" })))));
3294
3294
  }
3295
- let Xr = Q(wd), kd = "input";
3296
- function Ed(t, e) {
3295
+ let Qr = Q(wd), kd = "input";
3296
+ function Sd(t, e) {
3297
3297
  let r = dt(), s = Ie(), n = oe(), { id: a = s || `headlessui-input-${r}`, disabled: o = n || !1, autoFocus: i = !1, invalid: l = !1, ...c } = t, u = Ae(), p = er(), { isFocused: m, focusProps: d } = ve({ autoFocus: i }), { isHovered: g, hoverProps: h } = xe({ isDisabled: o }), b = It({ ref: e, id: a, "aria-labelledby": u, "aria-describedby": p, "aria-invalid": l ? "true" : void 0, disabled: o || void 0, autoFocus: i }, d, h), v = ct({ disabled: o, invalid: l, hover: g, focus: m, autofocus: i });
3298
3298
  return J()({ ourProps: b, theirProps: c, slot: v, defaultTag: kd, name: "Input" });
3299
3299
  }
3300
- let Sd = Q(Ed), ra = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
3300
+ let Ed = Q(Sd), ra = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
3301
3301
  function sa(t) {
3302
3302
  var e, r;
3303
3303
  let s = (e = t.innerText) != null ? e : "", n = t.cloneNode(!0);
@@ -3335,7 +3335,7 @@ function zo(t) {
3335
3335
  return e.current = n, r.current = a, a;
3336
3336
  });
3337
3337
  }
3338
- var Pd = Object.defineProperty, Od = (t, e, r) => e in t ? Pd(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, na = (t, e, r) => (Od(t, typeof e != "symbol" ? e + "" : e, r), r), St = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(St || {}), re = ((t) => (t[t.Single = 0] = "Single", t[t.Multi = 1] = "Multi", t))(re || {}), wr = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(wr || {}), Wo = ((t) => (t[t.OpenListbox = 0] = "OpenListbox", t[t.CloseListbox = 1] = "CloseListbox", t[t.GoToOption = 2] = "GoToOption", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.SelectOption = 5] = "SelectOption", t[t.RegisterOptions = 6] = "RegisterOptions", t[t.UnregisterOptions = 7] = "UnregisterOptions", t[t.SetButtonElement = 8] = "SetButtonElement", t[t.SetOptionsElement = 9] = "SetOptionsElement", t[t.SortOptions = 10] = "SortOptions", t[t.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", t))(Wo || {});
3338
+ var Pd = Object.defineProperty, Od = (t, e, r) => e in t ? Pd(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, na = (t, e, r) => (Od(t, typeof e != "symbol" ? e + "" : e, r), r), Et = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(Et || {}), re = ((t) => (t[t.Single = 0] = "Single", t[t.Multi = 1] = "Multi", t))(re || {}), kr = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(kr || {}), Wo = ((t) => (t[t.OpenListbox = 0] = "OpenListbox", t[t.CloseListbox = 1] = "CloseListbox", t[t.GoToOption = 2] = "GoToOption", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.SelectOption = 5] = "SelectOption", t[t.RegisterOptions = 6] = "RegisterOptions", t[t.UnregisterOptions = 7] = "UnregisterOptions", t[t.SetButtonElement = 8] = "SetButtonElement", t[t.SetOptionsElement = 9] = "SetOptionsElement", t[t.SortOptions = 10] = "SortOptions", t[t.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", t))(Wo || {});
3339
3339
  function aa(t, e = (r) => r) {
3340
3340
  let r = t.activeOptionIndex !== null ? t.options[t.activeOptionIndex] : null, s = Ls(e(t.options.slice()), (a) => a.dataRef.current.domRef.current), n = r ? s.indexOf(r) : null;
3341
3341
  return n === -1 && (n = null), { options: s, activeOptionIndex: n };
@@ -3406,7 +3406,7 @@ let Cd = { 1(t) {
3406
3406
  return { ...t, options: r, activationTrigger: 1 };
3407
3407
  }, 8: (t, e) => t.buttonElement === e.element ? t : { ...t, buttonElement: e.element }, 9: (t, e) => t.optionsElement === e.element ? t : { ...t, optionsElement: e.element }, 10: (t) => t.pendingShouldSort ? { ...t, ...aa(t), pendingShouldSort: !1 } : t, 11(t) {
3408
3408
  return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState: se.Moved };
3409
- } }, Td = class Uo extends Ir {
3409
+ } }, Td = class Uo extends Ar {
3410
3410
  constructor(e) {
3411
3411
  super(e), na(this, "actions", { onChange: (r) => {
3412
3412
  let { onChange: s, compare: n, mode: a, value: o } = this.state.dataRef.current;
@@ -3505,10 +3505,10 @@ function Go({ id: t, __demoMode: e = !1 }) {
3505
3505
  let r = ft(() => Td.new({ id: t, __demoMode: e }), []);
3506
3506
  return dr(() => r.dispose()), r;
3507
3507
  }
3508
- let Qr = pt(null);
3509
- Qr.displayName = "ListboxDataContext";
3508
+ let Zr = pt(null);
3509
+ Zr.displayName = "ListboxDataContext";
3510
3510
  function fr(t) {
3511
- let e = at(Qr);
3511
+ let e = at(Zr);
3512
3512
  if (e === null) {
3513
3513
  let r = new Error(`<${t} /> is missing a parent <Listbox /> component.`);
3514
3514
  throw Error.captureStackTrace && Error.captureStackTrace(r, fr), r;
@@ -3519,22 +3519,22 @@ let jd = xt;
3519
3519
  function Rd(t, e) {
3520
3520
  let r = dt(), s = oe(), { value: n, defaultValue: a, form: o, name: i, onChange: l, by: c, invalid: u = !1, disabled: p = s || !1, horizontal: m = !1, multiple: d = !1, __demoMode: g = !1, ...h } = t;
3521
3521
  const b = m ? "horizontal" : "vertical";
3522
- let v = lt(e), w = js(a), [x = d ? [] : void 0, k] = Ts(n, l, w), S = Go({ id: r, __demoMode: g }), C = V({ static: !1, hold: !1 }), P = V(/* @__PURE__ */ new Map()), M = El(c), z = tt((et) => ht(N.mode, { [re.Multi]: () => x.some((A) => M(A, et)), [re.Single]: () => M(x, et) }), [x]), N = ct({ value: x, disabled: p, invalid: u, mode: d ? re.Multi : re.Single, orientation: b, onChange: k, compare: M, isSelected: z, optionsPropsRef: C, listRef: P });
3522
+ let v = lt(e), w = js(a), [x = d ? [] : void 0, k] = Ts(n, l, w), E = Go({ id: r, __demoMode: g }), T = V({ static: !1, hold: !1 }), P = V(/* @__PURE__ */ new Map()), M = Sl(c), z = tt((et) => ht(N.mode, { [re.Multi]: () => x.some((A) => M(A, et)), [re.Single]: () => M(x, et) }), [x]), N = ct({ value: x, disabled: p, invalid: u, mode: d ? re.Multi : re.Single, orientation: b, onChange: k, compare: M, isSelected: z, optionsPropsRef: T, listRef: P });
3523
3523
  ot(() => {
3524
- S.state.dataRef.current = N;
3524
+ E.state.dataRef.current = N;
3525
3525
  }, [N]);
3526
- let $ = rt(S, (et) => et.listboxState), L = we.get(null), _ = rt(L, tt((et) => L.selectors.isTop(et, r), [L, r])), [R, D] = rt(S, (et) => [et.buttonElement, et.optionsElement]);
3527
- Dr(_, [R, D], (et, A) => {
3528
- S.send({ type: Wo.CloseListbox }), ir(A, or.Loose) || (et.preventDefault(), R?.focus());
3526
+ let $ = rt(E, (et) => et.listboxState), L = we.get(null), _ = rt(L, tt((et) => L.selectors.isTop(et, r), [L, r])), [R, D] = rt(E, (et) => [et.buttonElement, et.optionsElement]);
3527
+ Fr(_, [R, D], (et, A) => {
3528
+ E.send({ type: Wo.CloseListbox }), ir(A, or.Loose) || (et.preventDefault(), R?.focus());
3529
3529
  });
3530
- let F = ct({ open: $ === St.Open, disabled: p, invalid: u, value: x }), [U, O] = sr({ inherit: !0 }), j = { ref: v }, H = tt(() => {
3530
+ let F = ct({ open: $ === Et.Open, disabled: p, invalid: u, value: x }), [U, O] = sr({ inherit: !0 }), j = { ref: v }, H = tt(() => {
3531
3531
  if (w !== void 0) return k?.(w);
3532
3532
  }, [k, w]), nt = J();
3533
- return E.createElement(O, { value: U, props: { htmlFor: R?.id }, slot: { open: $ === St.Open, disabled: p } }, E.createElement(Js, null, E.createElement(Yo.Provider, { value: S }, E.createElement(Qr.Provider, { value: N }, E.createElement(zr, { value: ht($, { [St.Open]: ut.Open, [St.Closed]: ut.Closed }) }, i != null && x != null && E.createElement($s, { disabled: p, data: { [i]: x }, form: o, onReset: H }), nt({ ourProps: j, theirProps: h, slot: F, defaultTag: jd, name: "Listbox" }))))));
3533
+ return S.createElement(O, { value: U, props: { htmlFor: R?.id }, slot: { open: $ === Et.Open, disabled: p } }, S.createElement(Js, null, S.createElement(Yo.Provider, { value: E }, S.createElement(Zr.Provider, { value: N }, S.createElement(Wr, { value: ht($, { [Et.Open]: ut.Open, [Et.Closed]: ut.Closed }) }, i != null && x != null && S.createElement($s, { disabled: p, data: { [i]: x }, form: o, onReset: H }), nt({ ourProps: j, theirProps: h, slot: F, defaultTag: jd, name: "Listbox" }))))));
3534
3534
  }
3535
3535
  let $d = "button";
3536
3536
  function Id(t, e) {
3537
- let r = dt(), s = Ie(), n = fr("Listbox.Button"), a = an("Listbox.Button"), { id: o = s || `headlessui-listbox-button-${r}`, disabled: i = n.disabled || !1, autoFocus: l = !1, ...c } = t, u = lt(e, Xs(), a.actions.setButtonElement), p = ko(), [m, d, g] = rt(a, (D) => [D.listboxState, D.buttonElement, D.optionsElement]), h = m === St.Open;
3537
+ let r = dt(), s = Ie(), n = fr("Listbox.Button"), a = an("Listbox.Button"), { id: o = s || `headlessui-listbox-button-${r}`, disabled: i = n.disabled || !1, autoFocus: l = !1, ...c } = t, u = lt(e, Xs(), a.actions.setButtonElement), p = ko(), [m, d, g] = rt(a, (D) => [D.listboxState, D.buttonElement, D.optionsElement]), h = m === Et.Open;
3538
3538
  to(h, { trigger: d, action: tt((D) => {
3539
3539
  if (d != null && d.contains(D.target)) return te.Ignore;
3540
3540
  let F = D.target.closest('[role="option"]:not([data-disabled])');
@@ -3557,21 +3557,21 @@ function Id(t, e) {
3557
3557
  D.key === Y.Space && D.preventDefault();
3558
3558
  }), w = Ua((D) => {
3559
3559
  var F;
3560
- a.state.listboxState === St.Open ? (he(() => a.actions.closeListbox()), (F = a.state.buttonElement) == null || F.focus({ preventScroll: !0 })) : (D.preventDefault(), a.actions.openListbox({ focus: K.Nothing }));
3561
- }), x = I((D) => D.preventDefault()), k = Ae([o]), S = er(), { isFocusVisible: C, focusProps: P } = ve({ autoFocus: l }), { isHovered: M, hoverProps: z } = xe({ isDisabled: i }), { pressed: N, pressProps: $ } = tr({ disabled: i }), L = ct({ open: m === St.Open, active: N || m === St.Open, disabled: i, invalid: n.invalid, value: n.value, hover: M, focus: C, autofocus: l }), _ = rt(a, (D) => D.listboxState === St.Open), R = It(p(), { ref: u, id: o, type: Fr(t, d), "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": _, "aria-labelledby": k, "aria-describedby": S, disabled: i || void 0, autoFocus: l, onKeyDown: b, onKeyUp: v, onKeyPress: x }, w, P, z, $);
3560
+ a.state.listboxState === Et.Open ? (he(() => a.actions.closeListbox()), (F = a.state.buttonElement) == null || F.focus({ preventScroll: !0 })) : (D.preventDefault(), a.actions.openListbox({ focus: K.Nothing }));
3561
+ }), x = I((D) => D.preventDefault()), k = Ae([o]), E = er(), { isFocusVisible: T, focusProps: P } = ve({ autoFocus: l }), { isHovered: M, hoverProps: z } = xe({ isDisabled: i }), { pressed: N, pressProps: $ } = tr({ disabled: i }), L = ct({ open: m === Et.Open, active: N || m === Et.Open, disabled: i, invalid: n.invalid, value: n.value, hover: M, focus: T, autofocus: l }), _ = rt(a, (D) => D.listboxState === Et.Open), R = It(p(), { ref: u, id: o, type: Mr(t, d), "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": _, "aria-labelledby": k, "aria-describedby": E, disabled: i || void 0, autoFocus: l, onKeyDown: b, onKeyUp: v, onKeyPress: x }, w, P, z, $);
3562
3562
  return J()({ ourProps: R, theirProps: c, slot: L, defaultTag: $d, name: "Listbox.Button" });
3563
3563
  }
3564
3564
  let Ko = pt(!1), Ad = "div", Dd = At.RenderStrategy | At.Static;
3565
3565
  function Fd(t, e) {
3566
3566
  let r = dt(), { id: s = `headlessui-listbox-options-${r}`, anchor: n, portal: a = !1, modal: o = !0, transition: i = !1, ...l } = t, c = qs(n), [u, p] = X(null);
3567
3567
  c && (a = !0);
3568
- let m = fr("Listbox.Options"), d = an("Listbox.Options"), [g, h, b, v] = rt(d, (B) => [B.listboxState, B.buttonElement, B.optionsElement, B.__demoMode]), w = Xt(h), x = Xt(b), k = ie(), [S, C] = cr(i, u, k !== null ? (k & ut.Open) === ut.Open : g === St.Open);
3569
- Ar(S, h, d.actions.closeListbox);
3570
- let P = v ? !1 : o && g === St.Open;
3571
- Mr(P, x);
3572
- let M = v ? !1 : o && g === St.Open;
3568
+ let m = fr("Listbox.Options"), d = an("Listbox.Options"), [g, h, b, v] = rt(d, (B) => [B.listboxState, B.buttonElement, B.optionsElement, B.__demoMode]), w = Xt(h), x = Xt(b), k = ie(), [E, T] = cr(i, u, k !== null ? (k & ut.Open) === ut.Open : g === Et.Open);
3569
+ Dr(E, h, d.actions.closeListbox);
3570
+ let P = v ? !1 : o && g === Et.Open;
3571
+ Lr(P, x);
3572
+ let M = v ? !1 : o && g === Et.Open;
3573
3573
  Ms(M, { allowed: tt(() => [h, b], [h, b]) });
3574
- let z = rt(d, d.selectors.didButtonMove) ? !1 : S, N = rt(d, d.selectors.hasFrozenValue) && !t.static, $ = So(N, m.value), L = tt((B) => m.compare($, B), [m.compare, $]), _ = rt(d, (B) => {
3574
+ let z = rt(d, d.selectors.didButtonMove) ? !1 : E, N = rt(d, d.selectors.hasFrozenValue) && !t.static, $ = Eo(N, m.value), L = tt((B) => m.compare($, B), [m.compare, $]), _ = rt(d, (B) => {
3575
3575
  var q;
3576
3576
  if (c == null || !((q = c?.to) != null && q.includes("selection"))) return null;
3577
3577
  let bt = B.options.findIndex((yt) => L(yt.dataRef.current.value));
@@ -3584,7 +3584,7 @@ function Fd(t, e) {
3584
3584
  })(), [D, F] = Zs(R), U = Qs(), O = lt(e, c ? D : null, d.actions.setOptionsElement, p), j = zt();
3585
3585
  st(() => {
3586
3586
  let B = b;
3587
- B && g === St.Open && (Cs(B) || B == null || B.focus({ preventScroll: !0 }));
3587
+ B && g === Et.Open && (Cs(B) || B == null || B.focus({ preventScroll: !0 }));
3588
3588
  }, [g, b]);
3589
3589
  let H = I((B) => {
3590
3590
  var q;
@@ -3617,8 +3617,8 @@ function Fd(t, e) {
3617
3617
  }), nt = rt(d, (B) => {
3618
3618
  var q;
3619
3619
  return (q = B.buttonElement) == null ? void 0 : q.id;
3620
- }), et = ct({ open: g === St.Open }), A = It(c ? U() : {}, { id: s, ref: O, "aria-activedescendant": rt(d, d.selectors.activeDescendantId), "aria-multiselectable": m.mode === re.Multi ? !0 : void 0, "aria-labelledby": nt, "aria-orientation": m.orientation, onKeyDown: H, role: "listbox", tabIndex: g === St.Open ? 0 : void 0, style: { ...l.style, ...F, "--button-width": Ds(S, h, !0).width }, ...lr(C) }), W = J(), G = ft(() => m.mode === re.Multi ? m : { ...m, isSelected: L }, [m, L]);
3621
- return E.createElement(Wr, { enabled: a ? t.static || S : !1, ownerDocument: w }, E.createElement(Qr.Provider, { value: G }, W({ ourProps: A, theirProps: l, slot: et, defaultTag: Ad, features: Dd, visible: z, name: "Listbox.Options" })));
3620
+ }), et = ct({ open: g === Et.Open }), A = It(c ? U() : {}, { id: s, ref: O, "aria-activedescendant": rt(d, d.selectors.activeDescendantId), "aria-multiselectable": m.mode === re.Multi ? !0 : void 0, "aria-labelledby": nt, "aria-orientation": m.orientation, onKeyDown: H, role: "listbox", tabIndex: g === Et.Open ? 0 : void 0, style: { ...l.style, ...F, "--button-width": Ds(E, h, !0).width }, ...lr(T) }), W = J(), G = ft(() => m.mode === re.Multi ? m : { ...m, isSelected: L }, [m, L]);
3621
+ return S.createElement(Ur, { enabled: a ? t.static || E : !1, ownerDocument: w }, S.createElement(Zr.Provider, { value: G }, W({ ourProps: A, theirProps: l, slot: et, defaultTag: Ad, features: Dd, visible: z, name: "Listbox.Options" })));
3622
3622
  }
3623
3623
  let Md = "div";
3624
3624
  function Ld(t, e) {
@@ -3641,20 +3641,20 @@ function Ld(t, e) {
3641
3641
  }), w = I(() => {
3642
3642
  if (n) return c.actions.goToOption({ focus: K.Nothing });
3643
3643
  c.actions.goToOption({ focus: K.Specific, id: s });
3644
- }), x = eo(), k = I((N) => x.update(N)), S = I((N) => {
3645
- x.wasMoved(N) && (n || u && c.state.activationTrigger === wr.Pointer || c.actions.goToOption({ focus: K.Specific, id: s }, wr.Pointer));
3646
- }), C = I((N) => {
3647
- x.wasMoved(N) && (n || u && c.state.activationTrigger === wr.Pointer && c.actions.goToOption({ focus: K.Nothing }));
3648
- }), P = ct({ active: u, focus: u, selected: p, disabled: n, selectedOption: p && i }), M = i ? {} : { id: s, ref: h, role: "option", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-selected": p, disabled: void 0, onClick: v, onFocus: w, onPointerEnter: k, onMouseEnter: k, onPointerMove: S, onMouseMove: S, onPointerLeave: C, onMouseLeave: C }, z = J();
3644
+ }), x = eo(), k = I((N) => x.update(N)), E = I((N) => {
3645
+ x.wasMoved(N) && (n || u && c.state.activationTrigger === kr.Pointer || c.actions.goToOption({ focus: K.Specific, id: s }, kr.Pointer));
3646
+ }), T = I((N) => {
3647
+ x.wasMoved(N) && (n || u && c.state.activationTrigger === kr.Pointer && c.actions.goToOption({ focus: K.Nothing }));
3648
+ }), P = ct({ active: u, focus: u, selected: p, disabled: n, selectedOption: p && i }), M = i ? {} : { id: s, ref: h, role: "option", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-selected": p, disabled: void 0, onClick: v, onFocus: w, onPointerEnter: k, onMouseEnter: k, onPointerMove: E, onMouseMove: E, onPointerLeave: T, onMouseLeave: T }, z = J();
3649
3649
  return !p && i ? null : z({ ourProps: M, theirProps: o, slot: P, defaultTag: Md, name: "Listbox.Option" });
3650
3650
  }
3651
3651
  let _d = xt;
3652
3652
  function Vd(t, e) {
3653
3653
  let { options: r, placeholder: s, ...n } = t, a = { ref: lt(e) }, o = fr("ListboxSelectedOption"), i = ct({}), l = o.value === void 0 || o.value === null || o.mode === re.Multi && Array.isArray(o.value) && o.value.length === 0, c = J();
3654
- return E.createElement(Ko.Provider, { value: !0 }, c({ ourProps: a, theirProps: { ...n, children: E.createElement(E.Fragment, null, s && l ? s : r) }, slot: i, defaultTag: _d, name: "ListboxSelectedOption" }));
3654
+ return S.createElement(Ko.Provider, { value: !0 }, c({ ourProps: a, theirProps: { ...n, children: S.createElement(S.Fragment, null, s && l ? s : r) }, slot: i, defaultTag: _d, name: "ListboxSelectedOption" }));
3655
3655
  }
3656
3656
  let Bd = Q(Rd), qo = Q(Id), Hd = De, Xo = Q(Fd), Qo = Q(Ld), zd = Q(Vd), Wd = Object.assign(Bd, { Button: qo, Label: Hd, Options: Xo, Option: Qo, SelectedOption: zd });
3657
- var Ud = Object.defineProperty, Yd = (t, e, r) => e in t ? Ud(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, oa = (t, e, r) => (Yd(t, typeof e != "symbol" ? e + "" : e, r), r), kt = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(kt || {}), Or = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(Or || {}), it = ((t) => (t[t.OpenMenu = 0] = "OpenMenu", t[t.CloseMenu = 1] = "CloseMenu", t[t.GoToItem = 2] = "GoToItem", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.RegisterItems = 5] = "RegisterItems", t[t.UnregisterItems = 6] = "UnregisterItems", t[t.SetButtonElement = 7] = "SetButtonElement", t[t.SetItemsElement = 8] = "SetItemsElement", t[t.SortItems = 9] = "SortItems", t[t.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", t))(it || {});
3657
+ var Ud = Object.defineProperty, Yd = (t, e, r) => e in t ? Ud(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, oa = (t, e, r) => (Yd(t, typeof e != "symbol" ? e + "" : e, r), r), kt = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(kt || {}), Cr = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(Cr || {}), it = ((t) => (t[t.OpenMenu = 0] = "OpenMenu", t[t.CloseMenu = 1] = "CloseMenu", t[t.GoToItem = 2] = "GoToItem", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.RegisterItems = 5] = "RegisterItems", t[t.UnregisterItems = 6] = "UnregisterItems", t[t.SetButtonElement = 7] = "SetButtonElement", t[t.SetItemsElement = 8] = "SetItemsElement", t[t.SortItems = 9] = "SortItems", t[t.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", t))(it || {});
3658
3658
  function ia(t, e = (r) => r) {
3659
3659
  let r = t.activeItemIndex !== null ? t.items[t.activeItemIndex] : null, s = Ls(e(t.items.slice()), (a) => a.dataRef.current.domRef.current), n = r ? s.indexOf(r) : null;
3660
3660
  return n === -1 && (n = null), { items: s, activeItemIndex: n };
@@ -3713,7 +3713,7 @@ let Gd = { 1(t) {
3713
3713
  return { ...t, items: r, activationTrigger: 1 };
3714
3714
  }, 7: (t, e) => t.buttonElement === e.element ? t : { ...t, buttonElement: e.element }, 8: (t, e) => t.itemsElement === e.element ? t : { ...t, itemsElement: e.element }, 9: (t) => t.pendingShouldSort ? { ...t, ...ia(t), pendingShouldSort: !1 } : t, 10(t) {
3715
3715
  return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState: se.Moved };
3716
- } }, Kd = class Zo extends Ir {
3716
+ } }, Kd = class Zo extends Ar {
3717
3717
  constructor(e) {
3718
3718
  super(e), oa(this, "actions", { registerItem: We(() => {
3719
3719
  let r = [], s = /* @__PURE__ */ new Set();
@@ -3777,14 +3777,14 @@ function ti({ id: t, __demoMode: e = !1 }) {
3777
3777
  let qd = xt;
3778
3778
  function Xd(t, e) {
3779
3779
  let r = dt(), { __demoMode: s = !1, ...n } = t, a = ti({ id: r, __demoMode: s }), [o, i, l] = rt(a, (b) => [b.menuState, b.itemsElement, b.buttonElement]), c = lt(e), u = we.get(null), p = rt(u, tt((b) => u.selectors.isTop(b, r), [u, r]));
3780
- Dr(p, [l, i], (b, v) => {
3780
+ Fr(p, [l, i], (b, v) => {
3781
3781
  var w;
3782
3782
  a.send({ type: it.CloseMenu }), ir(v, or.Loose) || (b.preventDefault(), (w = a.state.buttonElement) == null || w.focus());
3783
3783
  });
3784
3784
  let m = I(() => {
3785
3785
  a.send({ type: it.CloseMenu });
3786
3786
  }), d = ct({ open: o === kt.Open, close: m }), g = { ref: c }, h = J();
3787
- return E.createElement(Js, null, E.createElement(Jo.Provider, { value: a }, E.createElement(zr, { value: ht(o, { [kt.Open]: ut.Open, [kt.Closed]: ut.Closed }) }, h({ ourProps: g, theirProps: n, slot: d, defaultTag: qd, name: "Menu" }))));
3787
+ return S.createElement(Js, null, S.createElement(Jo.Provider, { value: a }, S.createElement(Wr, { value: ht(o, { [kt.Open]: ut.Open, [kt.Closed]: ut.Closed }) }, h({ ourProps: g, theirProps: n, slot: d, defaultTag: qd, name: "Menu" }))));
3788
3788
  }
3789
3789
  let Qd = "button";
3790
3790
  function Zd(t, e) {
@@ -3809,23 +3809,23 @@ function Zd(t, e) {
3809
3809
  }, [g, h]), close: tt(() => r.send({ type: it.CloseMenu }), []), select: tt((N) => N.click(), []) });
3810
3810
  let v = Ua((N) => {
3811
3811
  var $;
3812
- a || (d === kt.Open ? (he(() => r.send({ type: it.CloseMenu })), ($ = l.current) == null || $.focus({ preventScroll: !0 })) : (N.preventDefault(), r.send({ type: it.OpenMenu, focus: { focus: K.Nothing }, trigger: Or.Pointer })));
3813
- }), { isFocusVisible: w, focusProps: x } = ve({ autoFocus: o }), { isHovered: k, hoverProps: S } = xe({ isDisabled: a }), { pressed: C, pressProps: P } = tr({ disabled: a }), M = ct({ open: d === kt.Open, active: C || d === kt.Open, disabled: a, hover: k, focus: w, autofocus: o }), z = It(c(), { ref: u, id: n, type: Fr(t, l.current), "aria-haspopup": "menu", "aria-controls": h?.id, "aria-expanded": d === kt.Open, disabled: a || void 0, autoFocus: o, onKeyDown: p, onKeyUp: m }, v, x, S, P);
3812
+ a || (d === kt.Open ? (he(() => r.send({ type: it.CloseMenu })), ($ = l.current) == null || $.focus({ preventScroll: !0 })) : (N.preventDefault(), r.send({ type: it.OpenMenu, focus: { focus: K.Nothing }, trigger: Cr.Pointer })));
3813
+ }), { isFocusVisible: w, focusProps: x } = ve({ autoFocus: o }), { isHovered: k, hoverProps: E } = xe({ isDisabled: a }), { pressed: T, pressProps: P } = tr({ disabled: a }), M = ct({ open: d === kt.Open, active: T || d === kt.Open, disabled: a, hover: k, focus: w, autofocus: o }), z = It(c(), { ref: u, id: n, type: Mr(t, l.current), "aria-haspopup": "menu", "aria-controls": h?.id, "aria-expanded": d === kt.Open, disabled: a || void 0, autoFocus: o, onKeyDown: p, onKeyUp: m }, v, x, E, P);
3814
3814
  return J()({ ourProps: z, theirProps: i, slot: M, defaultTag: Qd, name: "Menu.Button" });
3815
3815
  }
3816
3816
  let Jd = "div", tf = At.RenderStrategy | At.Static;
3817
3817
  function ef(t, e) {
3818
3818
  let r = dt(), { id: s = `headlessui-menu-items-${r}`, anchor: n, portal: a = !1, modal: o = !0, transition: i = !1, ...l } = t, c = qs(n), u = on("Menu.Items"), [p, m] = Zs(c), d = Qs(), [g, h] = X(null), b = lt(e, c ? p : null, I((O) => u.send({ type: it.SetItemsElement, element: O })), h), [v, w] = rt(u, (O) => [O.menuState, O.buttonElement]), x = Xt(w), k = Xt(g);
3819
3819
  c && (a = !0);
3820
- let S = ie(), [C, P] = cr(i, g, S !== null ? (S & ut.Open) === ut.Open : v === kt.Open);
3821
- Ar(C, w, () => {
3820
+ let E = ie(), [T, P] = cr(i, g, E !== null ? (E & ut.Open) === ut.Open : v === kt.Open);
3821
+ Dr(T, w, () => {
3822
3822
  u.send({ type: it.CloseMenu });
3823
3823
  });
3824
3824
  let M = rt(u, (O) => O.__demoMode), z = M ? !1 : o && v === kt.Open;
3825
- Mr(z, k);
3825
+ Lr(z, k);
3826
3826
  let N = M ? !1 : o && v === kt.Open;
3827
3827
  Ms(N, { allowed: tt(() => [w, g], [w, g]) });
3828
- let $ = rt(u, u.selectors.didButtonMove) ? !1 : C;
3828
+ let $ = rt(u, u.selectors.didButtonMove) ? !1 : T;
3829
3829
  st(() => {
3830
3830
  let O = g;
3831
3831
  O && v === kt.Open && (Cs(O) || O.focus({ preventScroll: !0 }));
@@ -3871,8 +3871,8 @@ function ef(t, e) {
3871
3871
  }), D = ct({ open: v === kt.Open }), F = It(c ? d() : {}, { "aria-activedescendant": rt(u, u.selectors.activeDescendantId), "aria-labelledby": rt(u, (O) => {
3872
3872
  var j;
3873
3873
  return (j = O.buttonElement) == null ? void 0 : j.id;
3874
- }), id: s, onKeyDown: _, onKeyUp: R, role: "menu", tabIndex: v === kt.Open ? 0 : void 0, ref: b, style: { ...l.style, ...m, "--button-width": Ds(C, w, !0).width }, ...lr(P) }), U = J();
3875
- return E.createElement(Wr, { enabled: a ? t.static || C : !1, ownerDocument: x }, U({ ourProps: F, theirProps: l, slot: D, defaultTag: Jd, features: tf, visible: $, name: "Menu.Items" }));
3874
+ }), id: s, onKeyDown: _, onKeyUp: R, role: "menu", tabIndex: v === kt.Open ? 0 : void 0, ref: b, style: { ...l.style, ...m, "--button-width": Ds(T, w, !0).width }, ...lr(P) }), U = J();
3875
+ return S.createElement(Ur, { enabled: a ? t.static || T : !1, ownerDocument: x }, U({ ourProps: F, theirProps: l, slot: D, defaultTag: Jd, features: tf, visible: $, name: "Menu.Items" }));
3876
3876
  }
3877
3877
  let rf = xt;
3878
3878
  function sf(t, e) {
@@ -3898,16 +3898,16 @@ function sf(t, e) {
3898
3898
  if (n) return o.send({ type: it.GoToItem, focus: K.Nothing });
3899
3899
  o.send({ type: it.GoToItem, focus: K.Specific, id: s });
3900
3900
  }), b = eo(), v = I(($) => b.update($)), w = I(($) => {
3901
- b.wasMoved($) && (n || i || o.send({ type: it.GoToItem, focus: K.Specific, id: s, trigger: Or.Pointer }));
3901
+ b.wasMoved($) && (n || i || o.send({ type: it.GoToItem, focus: K.Specific, id: s, trigger: Cr.Pointer }));
3902
3902
  }), x = I(($) => {
3903
- b.wasMoved($) && (n || i && o.state.activationTrigger === Or.Pointer && o.send({ type: it.GoToItem, focus: K.Nothing }));
3904
- }), [k, S] = sr(), [C, P] = Rr(), M = ct({ active: i, focus: i, disabled: n, close: d }), z = { id: s, ref: c, role: "menuitem", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-labelledby": k, "aria-describedby": C, disabled: void 0, onClick: g, onFocus: h, onPointerEnter: v, onMouseEnter: v, onPointerMove: w, onMouseMove: w, onPointerLeave: x, onMouseLeave: x }, N = J();
3905
- return E.createElement(S, null, E.createElement(P, null, N({ ourProps: z, theirProps: a, slot: M, defaultTag: rf, name: "Menu.Item" })));
3903
+ b.wasMoved($) && (n || i && o.state.activationTrigger === Cr.Pointer && o.send({ type: it.GoToItem, focus: K.Nothing }));
3904
+ }), [k, E] = sr(), [T, P] = $r(), M = ct({ active: i, focus: i, disabled: n, close: d }), z = { id: s, ref: c, role: "menuitem", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-labelledby": k, "aria-describedby": T, disabled: void 0, onClick: g, onFocus: h, onPointerEnter: v, onMouseEnter: v, onPointerMove: w, onMouseMove: w, onPointerLeave: x, onMouseLeave: x }, N = J();
3905
+ return S.createElement(E, null, S.createElement(P, null, N({ ourProps: z, theirProps: a, slot: M, defaultTag: rf, name: "Menu.Item" })));
3906
3906
  }
3907
3907
  let nf = "div";
3908
3908
  function af(t, e) {
3909
3909
  let [r, s] = sr(), n = t, a = { ref: e, "aria-labelledby": r, role: "group" }, o = J();
3910
- return E.createElement(s, null, o({ ourProps: a, theirProps: n, slot: {}, defaultTag: nf, name: "Menu.Section" }));
3910
+ return S.createElement(s, null, o({ ourProps: a, theirProps: n, slot: {}, defaultTag: nf, name: "Menu.Section" }));
3911
3911
  }
3912
3912
  let of = "header";
3913
3913
  function lf(t, e) {
@@ -3934,7 +3934,7 @@ let xf = { 0: (t) => t.popoverState === 0 ? t : { ...t, popoverState: 0, __demoM
3934
3934
  }, 5(t, e) {
3935
3935
  return t.panelId === e.panelId ? t : { ...t, panelId: e.panelId };
3936
3936
  } };
3937
- class ln extends Ir {
3937
+ class ln extends Ar {
3938
3938
  constructor(e) {
3939
3939
  super(e), la(this, "actions", { close: () => this.send({ type: 1 }), refocusableClose: (r) => {
3940
3940
  this.actions.close();
@@ -3961,11 +3961,11 @@ class ln extends Ir {
3961
3961
  }
3962
3962
  }
3963
3963
  const si = pt(null);
3964
- function Zr(t) {
3964
+ function Jr(t) {
3965
3965
  let e = at(si);
3966
3966
  if (e === null) {
3967
3967
  let r = new Error(`<${t} /> is missing a parent <Popover /> component.`);
3968
- throw Error.captureStackTrace && Error.captureStackTrace(r, Zr), r;
3968
+ throw Error.captureStackTrace && Error.captureStackTrace(r, Jr), r;
3969
3969
  }
3970
3970
  return e;
3971
3971
  }
@@ -3978,13 +3978,13 @@ cn.displayName = "PopoverGroupContext";
3978
3978
  function ni() {
3979
3979
  return at(cn);
3980
3980
  }
3981
- let Jr = pt(null);
3982
- Jr.displayName = "PopoverPanelContext";
3981
+ let ts = pt(null);
3982
+ ts.displayName = "PopoverPanelContext";
3983
3983
  function wf() {
3984
- return at(Jr);
3984
+ return at(ts);
3985
3985
  }
3986
3986
  let kf = "div";
3987
- function Ef(t, e) {
3987
+ function Sf(t, e) {
3988
3988
  var r;
3989
3989
  let s = dt(), { __demoMode: n = !1, ...a } = t, o = yf({ id: s, __demoMode: n }), i = V(null), l = lt(e, Ha((R) => {
3990
3990
  i.current = R;
@@ -3994,7 +3994,7 @@ function Ef(t, e) {
3994
3994
  return (D = w?.isFocusWithinPopoverGroup()) != null ? D : F && (u?.contains(F) || p?.contains(F));
3995
3995
  });
3996
3996
  st(() => x?.(v), [x, v]);
3997
- let [S, C] = To(), P = en(u), M = $o({ mainTreeNode: P, portals: S, defaultContainers: [{ get current() {
3997
+ let [E, T] = To(), P = en(u), M = $o({ mainTreeNode: P, portals: E, defaultContainers: [{ get current() {
3998
3998
  return o.state.button;
3999
3999
  } }, { get current() {
4000
4000
  return o.state.panel;
@@ -4004,19 +4004,19 @@ function Ef(t, e) {
4004
4004
  R.target !== window && $t(R.target) && o.state.popoverState === vt.Open && (k() || o.state.button && o.state.panel && (M.contains(R.target) || (F = (D = o.state.beforePanelSentinel.current) == null ? void 0 : D.contains) != null && F.call(D, R.target) || (O = (U = o.state.afterPanelSentinel.current) == null ? void 0 : U.contains) != null && O.call(U, R.target) || (H = (j = o.state.afterButtonSentinel.current) == null ? void 0 : j.contains) != null && H.call(j, R.target) || o.actions.close()));
4005
4005
  }, !0);
4006
4006
  let z = c === vt.Open;
4007
- Dr(z, M.resolveContainers, (R, D) => {
4007
+ Fr(z, M.resolveContainers, (R, D) => {
4008
4008
  o.actions.close(), ir(D, or.Loose) || (R.preventDefault(), u?.focus());
4009
4009
  });
4010
4010
  let N = ct({ open: c === vt.Open, close: o.actions.refocusableClose }), $ = rt(o, tt((R) => ht(R.popoverState, { [vt.Open]: ut.Open, [vt.Closed]: ut.Closed }), [])), L = { ref: l }, _ = J();
4011
- return E.createElement(Pr, { node: P }, E.createElement(Js, null, E.createElement(Jr.Provider, { value: null }, E.createElement(si.Provider, { value: o }, E.createElement(As, { value: o.actions.refocusableClose }, E.createElement(zr, { value: $ }, E.createElement(C, null, _({ ourProps: L, theirProps: a, slot: N, defaultTag: kf, name: "Popover" }))))))));
4011
+ return S.createElement(Or, { node: P }, S.createElement(Js, null, S.createElement(ts.Provider, { value: null }, S.createElement(si.Provider, { value: o }, S.createElement(As, { value: o.actions.refocusableClose }, S.createElement(Wr, { value: $ }, S.createElement(T, null, _({ ourProps: L, theirProps: a, slot: N, defaultTag: kf, name: "Popover" }))))))));
4012
4012
  }
4013
- let Sf = "button";
4013
+ let Ef = "button";
4014
4014
  function Nf(t, e) {
4015
- let r = dt(), { id: s = `headlessui-popover-button-${r}`, disabled: n = !1, autoFocus: a = !1, ...o } = t, i = Zr("Popover.Button"), [l, c, u, p, m, d, g] = rt(i, tt((W) => [W.popoverState, i.selectors.isPortalled(W), W.button, W.buttonId, W.panel, W.panelId, W.afterButtonSentinel], [])), h = V(null), b = `headlessui-focus-sentinel-${dt()}`, v = ni(), w = v?.closeOthers, x = wf() !== null;
4015
+ let r = dt(), { id: s = `headlessui-popover-button-${r}`, disabled: n = !1, autoFocus: a = !1, ...o } = t, i = Jr("Popover.Button"), [l, c, u, p, m, d, g] = rt(i, tt((W) => [W.popoverState, i.selectors.isPortalled(W), W.button, W.buttonId, W.panel, W.panelId, W.afterButtonSentinel], [])), h = V(null), b = `headlessui-focus-sentinel-${dt()}`, v = ni(), w = v?.closeOthers, x = wf() !== null;
4016
4016
  st(() => {
4017
4017
  if (!x) return i.actions.setButtonId(s), () => i.actions.setButtonId(null);
4018
4018
  }, [x, s, i]);
4019
- let [k] = X(() => /* @__PURE__ */ Symbol()), S = lt(h, e, Xs(), I((W) => {
4019
+ let [k] = X(() => /* @__PURE__ */ Symbol()), E = lt(h, e, Xs(), I((W) => {
4020
4020
  if (!x) {
4021
4021
  if (W) i.state.buttons.current.push(k);
4022
4022
  else {
@@ -4025,7 +4025,7 @@ function Nf(t, e) {
4025
4025
  }
4026
4026
  i.state.buttons.current.length > 1 && console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."), W && i.actions.setButton(W);
4027
4027
  }
4028
- })), C = lt(h, e), P = I((W) => {
4028
+ })), T = lt(h, e), P = I((W) => {
4029
4029
  var G, B, q;
4030
4030
  if (x) {
4031
4031
  if (i.state.popoverState === vt.Closed) return;
@@ -4055,7 +4055,7 @@ function Nf(t, e) {
4055
4055
  Oe(W.currentTarget) || n || (x ? (i.actions.close(), (G = i.state.button) == null || G.focus()) : (W.preventDefault(), W.stopPropagation(), i.state.popoverState === vt.Closed ? (w?.(i.state.buttonId), i.actions.open()) : i.actions.close(), (B = i.state.button) == null || B.focus()));
4056
4056
  }), N = I((W) => {
4057
4057
  W.preventDefault(), W.stopPropagation();
4058
- }), { isFocusVisible: $, focusProps: L } = ve({ autoFocus: a }), { isHovered: _, hoverProps: R } = xe({ isDisabled: n }), { pressed: D, pressProps: F } = tr({ disabled: n }), U = l === vt.Open, O = ct({ open: U, active: D || U, disabled: n, hover: _, focus: $, autofocus: a }), j = Fr(t, u), H = x ? It({ ref: C, type: j, onKeyDown: P, onClick: z, disabled: n || void 0, autoFocus: a }, L, R, F) : It({ ref: S, id: p, type: j, "aria-expanded": l === vt.Open, "aria-controls": m ? d : void 0, disabled: n || void 0, autoFocus: a, onKeyDown: P, onKeyUp: M, onClick: z, onMouseDown: N }, L, R, F), nt = sn(), et = I(() => {
4058
+ }), { isFocusVisible: $, focusProps: L } = ve({ autoFocus: a }), { isHovered: _, hoverProps: R } = xe({ isDisabled: n }), { pressed: D, pressProps: F } = tr({ disabled: n }), U = l === vt.Open, O = ct({ open: U, active: D || U, disabled: n, hover: _, focus: $, autofocus: a }), j = Mr(t, u), H = x ? It({ ref: T, type: j, onKeyDown: P, onClick: z, disabled: n || void 0, autoFocus: a }, L, R, F) : It({ ref: E, id: p, type: j, "aria-expanded": l === vt.Open, "aria-controls": m ? d : void 0, disabled: n || void 0, autoFocus: a, onKeyDown: P, onKeyUp: M, onClick: z, onMouseDown: N }, L, R, F), nt = sn(), et = I(() => {
4059
4059
  if (!wt(i.state.panel)) return;
4060
4060
  let W = i.state.panel;
4061
4061
  function G() {
@@ -4063,11 +4063,11 @@ function Nf(t, e) {
4063
4063
  }
4064
4064
  G();
4065
4065
  }), A = J();
4066
- return E.createElement(E.Fragment, null, A({ ourProps: H, theirProps: o, slot: O, defaultTag: Sf, name: "Popover.Button" }), U && !x && c && E.createElement(qt, { id: b, ref: g, features: Vt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: et }));
4066
+ return S.createElement(S.Fragment, null, A({ ourProps: H, theirProps: o, slot: O, defaultTag: Ef, name: "Popover.Button" }), U && !x && c && S.createElement(qt, { id: b, ref: g, features: Vt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: et }));
4067
4067
  }
4068
4068
  let Pf = "div", Of = At.RenderStrategy | At.Static;
4069
4069
  function ai(t, e) {
4070
- let r = dt(), { id: s = `headlessui-popover-backdrop-${r}`, transition: n = !1, ...a } = t, o = Zr("Popover.Backdrop"), i = rt(o, tt((v) => v.popoverState, [])), [l, c] = X(null), u = lt(e, c), p = ie(), [m, d] = cr(n, l, p !== null ? (p & ut.Open) === ut.Open : i === vt.Open), g = I((v) => {
4070
+ let r = dt(), { id: s = `headlessui-popover-backdrop-${r}`, transition: n = !1, ...a } = t, o = Jr("Popover.Backdrop"), i = rt(o, tt((v) => v.popoverState, [])), [l, c] = X(null), u = lt(e, c), p = ie(), [m, d] = cr(n, l, p !== null ? (p & ut.Open) === ut.Open : i === vt.Open), g = I((v) => {
4071
4071
  if (Oe(v.currentTarget)) return v.preventDefault();
4072
4072
  o.actions.close();
4073
4073
  }), h = ct({ open: i === vt.Open }), b = { ref: u, id: s, "aria-hidden": !0, onClick: g, ...lr(d) };
@@ -4075,12 +4075,12 @@ function ai(t, e) {
4075
4075
  }
4076
4076
  let Cf = "div", Tf = At.RenderStrategy | At.Static;
4077
4077
  function jf(t, e) {
4078
- let r = dt(), { id: s = `headlessui-popover-panel-${r}`, focus: n = !1, anchor: a, portal: o = !1, modal: i = !1, transition: l = !1, ...c } = t, u = Zr("Popover.Panel"), p = rt(u, u.selectors.isPortalled), [m, d, g, h, b] = rt(u, tt((A) => [A.popoverState, A.button, A.__demoMode, A.beforePanelSentinel, A.afterPanelSentinel], [])), v = `headlessui-focus-sentinel-before-${r}`, w = `headlessui-focus-sentinel-after-${r}`, x = V(null), k = qs(a), [S, C] = Zs(k), P = Qs();
4078
+ let r = dt(), { id: s = `headlessui-popover-panel-${r}`, focus: n = !1, anchor: a, portal: o = !1, modal: i = !1, transition: l = !1, ...c } = t, u = Jr("Popover.Panel"), p = rt(u, u.selectors.isPortalled), [m, d, g, h, b] = rt(u, tt((A) => [A.popoverState, A.button, A.__demoMode, A.beforePanelSentinel, A.afterPanelSentinel], [])), v = `headlessui-focus-sentinel-before-${r}`, w = `headlessui-focus-sentinel-after-${r}`, x = V(null), k = qs(a), [E, T] = Zs(k), P = Qs();
4079
4079
  k && (o = !0);
4080
- let [M, z] = X(null), N = lt(x, e, k ? S : null, u.actions.setPanel, z), $ = Xt(d), L = Xt(x.current);
4080
+ let [M, z] = X(null), N = lt(x, e, k ? E : null, u.actions.setPanel, z), $ = Xt(d), L = Xt(x.current);
4081
4081
  ot(() => (u.actions.setPanelId(s), () => u.actions.setPanelId(null)), [s, u]);
4082
4082
  let _ = ie(), [R, D] = cr(l, M, _ !== null ? (_ & ut.Open) === ut.Open : m === vt.Open);
4083
- Ar(R, d, u.actions.close), Mr(g ? !1 : i && R, L);
4083
+ Dr(R, d, u.actions.close), Lr(g ? !1 : i && R, L);
4084
4084
  let F = I((A) => {
4085
4085
  var W;
4086
4086
  switch (A.key) {
@@ -4104,7 +4104,7 @@ function jf(t, e) {
4104
4104
  var W, G, B, q, bt;
4105
4105
  let yt = A.relatedTarget;
4106
4106
  yt && x.current && ((W = x.current) != null && W.contains(yt) || (u.actions.close(), ((B = (G = h.current) == null ? void 0 : G.contains) != null && B.call(G, yt) || (bt = (q = b.current) == null ? void 0 : q.contains) != null && bt.call(q, yt)) && yt.focus({ preventScroll: !0 })));
4107
- } : void 0, tabIndex: -1, style: { ...c.style, ...C, "--button-width": Ds(R, d, !0).width }, ...lr(D) }), j = sn(), H = I(() => {
4107
+ } : void 0, tabIndex: -1, style: { ...c.style, ...T, "--button-width": Ds(R, d, !0).width }, ...lr(D) }), j = sn(), H = I(() => {
4108
4108
  let A = x.current;
4109
4109
  if (!A) return;
4110
4110
  function W() {
@@ -4124,12 +4124,12 @@ function jf(t, e) {
4124
4124
  ht(j.current, { [Ct.Forwards]: () => {
4125
4125
  var G;
4126
4126
  if (!u.state.button) return;
4127
- let B = (G = me(u.state.button)) != null ? G : document.body, q = ar(B), bt = q.indexOf(u.state.button), yt = q.slice(0, bt + 1), Ee = [...q.slice(bt + 1), ...yt];
4128
- for (let _e of Ee.slice()) if (_e.dataset.headlessuiFocusGuard === "true" || M != null && M.contains(_e)) {
4129
- let mr = Ee.indexOf(_e);
4130
- mr !== -1 && Ee.splice(mr, 1);
4127
+ let B = (G = me(u.state.button)) != null ? G : document.body, q = ar(B), bt = q.indexOf(u.state.button), yt = q.slice(0, bt + 1), Se = [...q.slice(bt + 1), ...yt];
4128
+ for (let _e of Se.slice()) if (_e.dataset.headlessuiFocusGuard === "true" || M != null && M.contains(_e)) {
4129
+ let mr = Se.indexOf(_e);
4130
+ mr !== -1 && Se.splice(mr, 1);
4131
4131
  }
4132
- Ot(Ee, gt.First, { sorted: !1 });
4132
+ Ot(Se, gt.First, { sorted: !1 });
4133
4133
  }, [Ct.Backwards]: () => {
4134
4134
  var G;
4135
4135
  Ot(A, gt.Previous) === Ce.Error && ((G = u.state.button) == null || G.focus());
@@ -4137,7 +4137,7 @@ function jf(t, e) {
4137
4137
  }
4138
4138
  W();
4139
4139
  }), et = J();
4140
- return E.createElement(No, null, E.createElement(Jr.Provider, { value: s }, E.createElement(As, { value: u.actions.refocusableClose }, E.createElement(Wr, { enabled: o ? t.static || R : !1, ownerDocument: $ }, R && p && E.createElement(qt, { id: v, ref: h, features: Vt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: H }), et({ ourProps: O, theirProps: c, slot: U, defaultTag: Cf, features: Tf, visible: R, name: "Popover.Panel" }), R && p && E.createElement(qt, { id: w, ref: b, features: Vt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: nt })))));
4140
+ return S.createElement(No, null, S.createElement(ts.Provider, { value: s }, S.createElement(As, { value: u.actions.refocusableClose }, S.createElement(Ur, { enabled: o ? t.static || R : !1, ownerDocument: $ }, R && p && S.createElement(qt, { id: v, ref: h, features: Vt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: H }), et({ ourProps: O, theirProps: c, slot: U, defaultTag: Cf, features: Tf, visible: R, name: "Popover.Panel" }), R && p && S.createElement(qt, { id: w, ref: b, features: Vt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: nt })))));
4141
4141
  }
4142
4142
  let Rf = "div";
4143
4143
  function $f(t, e) {
@@ -4162,23 +4162,23 @@ function $f(t, e) {
4162
4162
  }), c = I((h) => {
4163
4163
  for (let b of n) b.buttonId.current !== h && b.close();
4164
4164
  }), u = ft(() => ({ registerPopover: i, unregisterPopover: o, isFocusWithinPopoverGroup: l, closeOthers: c }), [i, o, l, c]), p = ct({}), m = t, d = { ref: s }, g = J();
4165
- return E.createElement(Pr, null, E.createElement(cn.Provider, { value: u }, g({ ourProps: d, theirProps: m, slot: p, defaultTag: Rf, name: "Popover.Group" })));
4165
+ return S.createElement(Or, null, S.createElement(cn.Provider, { value: u }, g({ ourProps: d, theirProps: m, slot: p, defaultTag: Rf, name: "Popover.Group" })));
4166
4166
  }
4167
- let If = Q(Ef), Cr = Q(Nf), Af = Q(ai), Df = Q(ai), un = Q(jf), Ff = Q($f), oi = Object.assign(If, { Button: Cr, Backdrop: Df, Overlay: Af, Panel: un, Group: Ff }), dn = pt(null);
4167
+ let If = Q(Sf), Tr = Q(Nf), Af = Q(ai), Df = Q(ai), un = Q(jf), Ff = Q($f), oi = Object.assign(If, { Button: Tr, Backdrop: Df, Overlay: Af, Panel: un, Group: Ff }), dn = pt(null);
4168
4168
  dn.displayName = "GroupContext";
4169
4169
  let Mf = xt;
4170
4170
  function Lf(t) {
4171
4171
  var e;
4172
- let [r, s] = X(null), [n, a] = sr(), [o, i] = Rr(), l = ft(() => ({ switch: r, setSwitch: s }), [r, s]), c = {}, u = t, p = J();
4173
- return E.createElement(i, { name: "Switch.Description", value: o }, E.createElement(a, { name: "Switch.Label", value: n, props: { htmlFor: (e = l.switch) == null ? void 0 : e.id, onClick(m) {
4172
+ let [r, s] = X(null), [n, a] = sr(), [o, i] = $r(), l = ft(() => ({ switch: r, setSwitch: s }), [r, s]), c = {}, u = t, p = J();
4173
+ return S.createElement(i, { name: "Switch.Description", value: o }, S.createElement(a, { name: "Switch.Label", value: n, props: { htmlFor: (e = l.switch) == null ? void 0 : e.id, onClick(m) {
4174
4174
  r && (ms(m.currentTarget) && m.preventDefault(), r.click(), r.focus({ preventScroll: !0 }));
4175
- } } }, E.createElement(dn.Provider, { value: l }, p({ ourProps: c, theirProps: u, slot: {}, defaultTag: Mf, name: "Switch.Group" }))));
4175
+ } } }, S.createElement(dn.Provider, { value: l }, p({ ourProps: c, theirProps: u, slot: {}, defaultTag: Mf, name: "Switch.Group" }))));
4176
4176
  }
4177
4177
  let _f = "button";
4178
4178
  function Vf(t, e) {
4179
4179
  var r;
4180
- let s = dt(), n = Ie(), a = oe(), { id: o = n || `headlessui-switch-${s}`, disabled: i = a || !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, autoFocus: g = !1, ...h } = t, b = at(dn), [v, w] = X(null), x = V(null), k = lt(x, e, b === null ? null : b.setSwitch, w), S = js(c), [C, P] = Ts(l, u, S ?? !1), M = zt(), [z, N] = X(!1), $ = I(() => {
4181
- N(!0), P?.(!C), M.nextFrame(() => {
4180
+ let s = dt(), n = Ie(), a = oe(), { id: o = n || `headlessui-switch-${s}`, disabled: i = a || !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, autoFocus: g = !1, ...h } = t, b = at(dn), [v, w] = X(null), x = V(null), k = lt(x, e, b === null ? null : b.setSwitch, w), E = js(c), [T, P] = Ts(l, u, E ?? !1), M = zt(), [z, N] = X(!1), $ = I(() => {
4181
+ N(!0), P?.(!T), M.nextFrame(() => {
4182
4182
  N(!1);
4183
4183
  });
4184
4184
  }), L = I((q) => {
@@ -4186,10 +4186,10 @@ function Vf(t, e) {
4186
4186
  q.preventDefault(), $();
4187
4187
  }), _ = I((q) => {
4188
4188
  q.key === Y.Space ? (q.preventDefault(), $()) : q.key === Y.Enter && Rs(q.currentTarget);
4189
- }), R = I((q) => q.preventDefault()), D = Ae(), F = er(), { isFocusVisible: U, focusProps: O } = ve({ autoFocus: g }), { isHovered: j, hoverProps: H } = xe({ isDisabled: i }), { pressed: nt, pressProps: et } = tr({ disabled: i }), A = ct({ checked: C, disabled: i, hover: j, focus: U, active: nt, autofocus: g, changing: z }), W = It({ id: o, ref: k, role: "switch", type: Fr(t, v), tabIndex: t.tabIndex === -1 ? 0 : (r = t.tabIndex) != null ? r : 0, "aria-checked": C, "aria-labelledby": D, "aria-describedby": F, disabled: i || void 0, autoFocus: g, onClick: L, onKeyUp: _, onKeyPress: R }, O, H, et), G = tt(() => {
4190
- if (S !== void 0) return P?.(S);
4191
- }, [P, S]), B = J();
4192
- return E.createElement(E.Fragment, null, p != null && E.createElement($s, { disabled: i, data: { [p]: m || "on" }, overrides: { type: "checkbox", checked: C }, form: d, onReset: G }), B({ ourProps: W, theirProps: h, slot: A, defaultTag: _f, name: "Switch" }));
4189
+ }), R = I((q) => q.preventDefault()), D = Ae(), F = er(), { isFocusVisible: U, focusProps: O } = ve({ autoFocus: g }), { isHovered: j, hoverProps: H } = xe({ isDisabled: i }), { pressed: nt, pressProps: et } = tr({ disabled: i }), A = ct({ checked: T, disabled: i, hover: j, focus: U, active: nt, autofocus: g, changing: z }), W = It({ id: o, ref: k, role: "switch", type: Mr(t, v), tabIndex: t.tabIndex === -1 ? 0 : (r = t.tabIndex) != null ? r : 0, "aria-checked": T, "aria-labelledby": D, "aria-describedby": F, disabled: i || void 0, autoFocus: g, onClick: L, onKeyUp: _, onKeyPress: R }, O, H, et), G = tt(() => {
4190
+ if (E !== void 0) return P?.(E);
4191
+ }, [P, E]), B = J();
4192
+ return S.createElement(S.Fragment, null, p != null && S.createElement($s, { disabled: i, data: { [p]: m || "on" }, overrides: { type: "checkbox", checked: T }, form: d, onReset: G }), B({ ourProps: W, theirProps: h, slot: A, defaultTag: _f, name: "Switch" }));
4193
4193
  }
4194
4194
  let Bf = Q(Vf), Hf = Lf, zf = De, Wf = rr, Uf = Object.assign(Bf, { Group: Hf, Label: zf, Description: Wf }), Yf = "textarea";
4195
4195
  function Gf(t, e) {
@@ -4198,7 +4198,7 @@ function Gf(t, e) {
4198
4198
  }
4199
4199
  let Kf = Q(Gf);
4200
4200
  const qf = Z(
4201
- "rst:relative rst:inline-flex rst:items-center rst:justify-center rst:overflow-hidden rst:font-semibold rst:border rst:transition-colors rst:focus:outline-none rst:select-none rst:shrink-0 rst:shadow-sm",
4201
+ "rst:font-ui rst:relative rst:inline-flex rst:items-center rst:justify-center rst:overflow-hidden rst:font-semibold rst:border rst:transition-colors rst:focus:outline-none rst:select-none rst:shrink-0 rst:shadow-sm",
4202
4202
  {
4203
4203
  variants: {
4204
4204
  size: {
@@ -4229,7 +4229,7 @@ const qf = Z(
4229
4229
  shape: "circle"
4230
4230
  }
4231
4231
  }
4232
- ), fn = E.forwardRef(
4232
+ ), fn = S.forwardRef(
4233
4233
  ({
4234
4234
  className: t,
4235
4235
  size: e,
@@ -4245,7 +4245,7 @@ const qf = Z(
4245
4245
  "div",
4246
4246
  {
4247
4247
  ref: c,
4248
- className: T(qf({ size: e, colorScheme: r, shape: s }), t),
4248
+ className: C(qf({ size: e, colorScheme: r, shape: s }), t),
4249
4249
  ...l,
4250
4250
  children: m ? /* @__PURE__ */ f.jsx(
4251
4251
  "img",
@@ -4260,7 +4260,7 @@ const qf = Z(
4260
4260
  );
4261
4261
  return i ? /* @__PURE__ */ f.jsxs(oi, { className: "rst:relative rst:inline-flex", children: [
4262
4262
  /* @__PURE__ */ f.jsx(
4263
- Cr,
4263
+ Tr,
4264
4264
  {
4265
4265
  as: "div",
4266
4266
  className: "rst:outline-none rst:cursor-pointer rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:focus-visible:ring-offset-2 rst:rounded-full",
@@ -4271,7 +4271,7 @@ const qf = Z(
4271
4271
  un,
4272
4272
  {
4273
4273
  anchor: "bottom",
4274
- className: T(
4274
+ className: C(
4275
4275
  "rst:z-50 rst:mt-2 rst:rounded-md rst:px-3 rst:py-1.5 rst:text-xs rst:font-medium rst:shadow-xl rst:backdrop-blur-md rst:ring-1",
4276
4276
  "rst:bg-gray-900/95 rst:text-white rst:ring-black/5 rst:dark:bg-gray-100/95 rst:dark:text-gray-900 rst:dark:ring-white/20",
4277
4277
  "rst:transition rst:duration-200 rst:ease-in-out rst:data-closed:opacity-0 rst:data-closed:translate-y-1"
@@ -4284,7 +4284,7 @@ const qf = Z(
4284
4284
  );
4285
4285
  fn.displayName = "Avatar";
4286
4286
  const Xf = Z(
4287
- "rst:inline-flex rst:max-w-full rst:items-center rst:justify-center rst:font-medium rst:transition-colors rst:focus:outline-hidden rst:focus:ring-2 rst:focus:ring-ring rst:focus:ring-offset-2 rst:border",
4287
+ "rst:font-ui rst:inline-flex rst:max-w-full rst:items-center rst:justify-center rst:font-medium rst:transition-colors rst:focus:outline-hidden rst:focus:ring-2 rst:focus:ring-ring rst:focus:ring-offset-2 rst:border",
4288
4288
  {
4289
4289
  variants: {
4290
4290
  variant: {
@@ -4377,7 +4377,7 @@ const Xf = Z(
4377
4377
  "span",
4378
4378
  {
4379
4379
  ref: c,
4380
- className: T(
4380
+ className: C(
4381
4381
  Xf({ variant: e, statusBadge: r, size: s, fill: n }),
4382
4382
  t
4383
4383
  ),
@@ -4429,7 +4429,7 @@ const Qf = Z(
4429
4429
  padding: "md"
4430
4430
  }
4431
4431
  }
4432
- ), Zf = E.forwardRef(
4432
+ ), Zf = S.forwardRef(
4433
4433
  ({
4434
4434
  className: t,
4435
4435
  variant: e,
@@ -4443,13 +4443,13 @@ const Qf = Z(
4443
4443
  "div",
4444
4444
  {
4445
4445
  ref: l,
4446
- className: T(Qf({ variant: e, padding: r }), t),
4446
+ className: C(Qf({ variant: e, padding: r }), t),
4447
4447
  ...i,
4448
4448
  children: [
4449
4449
  s && /* @__PURE__ */ f.jsx(
4450
4450
  "div",
4451
4451
  {
4452
- className: T(
4452
+ className: C(
4453
4453
  "rst:absolute rst:top-0 rst:inset-x-0 rst:h-1 rst:z-10",
4454
4454
  !n && "rst:bg-orange-500"
4455
4455
  ),
@@ -4460,7 +4460,7 @@ const Qf = Z(
4460
4460
  s && /* @__PURE__ */ f.jsx(
4461
4461
  "div",
4462
4462
  {
4463
- className: T(
4463
+ className: C(
4464
4464
  "rst:absolute rst:bottom-0 rst:inset-x-0 rst:h-1 rst:z-10",
4465
4465
  !a && "rst:bg-primary-500"
4466
4466
  ),
@@ -4473,7 +4473,7 @@ const Qf = Z(
4473
4473
  );
4474
4474
  Zf.displayName = "Card";
4475
4475
  const Jf = Z(
4476
- "rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2",
4476
+ "rst:font-ui rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2",
4477
4477
  {
4478
4478
  variants: {
4479
4479
  size: {
@@ -4553,7 +4553,7 @@ const Jf = Z(
4553
4553
  className: ({
4554
4554
  checked: u,
4555
4555
  disabled: p
4556
- }) => T(
4556
+ }) => C(
4557
4557
  Jf({
4558
4558
  colorScheme: e,
4559
4559
  variant: r,
@@ -4567,7 +4567,7 @@ const Jf = Z(
4567
4567
  mt,
4568
4568
  {
4569
4569
  icon: n ? Vi : Na,
4570
- className: T(
4570
+ className: C(
4571
4571
  "rst:pointer-events-none rst:transition-opacity rst:duration-200",
4572
4572
  u || n ? "rst:opacity-100" : "rst:opacity-0",
4573
4573
  i[s]
@@ -4580,7 +4580,7 @@ const Jf = Z(
4580
4580
  );
4581
4581
  t0.displayName = "Checkbox";
4582
4582
  const e0 = Z(
4583
- "rst:group rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-3 rst:text-left rst:text-sm rst:font-medium rst:transition-all rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500/75 rst:cursor-pointer rst:z-10 rst:relative",
4583
+ "rst:font-ui rst:group rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-3 rst:text-left rst:text-sm rst:font-medium rst:transition-all rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500/75 rst:cursor-pointer rst:z-10 rst:relative",
4584
4584
  {
4585
4585
  variants: {
4586
4586
  variant: {
@@ -4626,14 +4626,14 @@ const e0 = Z(
4626
4626
  const d = !p;
4627
4627
  a === void 0 && u(d), o?.(d);
4628
4628
  };
4629
- return /* @__PURE__ */ f.jsxs("div", { className: T("rst:w-full rst:flex rst:flex-col", s), ...l, children: [
4629
+ return /* @__PURE__ */ f.jsxs("div", { className: C("rst:w-full rst:flex rst:flex-col", s), ...l, children: [
4630
4630
  /* @__PURE__ */ f.jsxs(
4631
4631
  "button",
4632
4632
  {
4633
4633
  type: "button",
4634
4634
  onClick: m,
4635
4635
  "aria-expanded": p,
4636
- className: T(
4636
+ className: C(
4637
4637
  e0({ variant: r }),
4638
4638
  // Dynamic rounding and border fix
4639
4639
  p ? "rst:rounded-t-md rst:rounded-b-none" : "rst:rounded-md",
@@ -4645,7 +4645,7 @@ const e0 = Z(
4645
4645
  /* @__PURE__ */ f.jsx(
4646
4646
  "span",
4647
4647
  {
4648
- className: T(
4648
+ className: C(
4649
4649
  "rst:ml-2 rst:flex rst:items-center rst:transition-transform rst:duration-200 rst:text-inherit",
4650
4650
  p ? "rst:rotate-180" : ""
4651
4651
  ),
@@ -4674,7 +4674,7 @@ const e0 = Z(
4674
4674
  children: /* @__PURE__ */ f.jsx(
4675
4675
  "div",
4676
4676
  {
4677
- className: T(r0({ variant: r }), "rst:rounded-b-md"),
4677
+ className: C(r0({ variant: r }), "rst:rounded-b-md"),
4678
4678
  children: e
4679
4679
  }
4680
4680
  )
@@ -4682,7 +4682,7 @@ const e0 = Z(
4682
4682
  )
4683
4683
  ] });
4684
4684
  }, n0 = Z(
4685
- "rst:flex rst:w-full rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-background rst:file:border-0 rst:file:bg-transparent rst:file:text-sm rst:file:font-medium rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-all",
4685
+ "rst:font-ui rst:flex rst:w-full rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-background rst:file:border-0 rst:file:bg-transparent rst:file:text-sm rst:file:font-medium rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-all",
4686
4686
  {
4687
4687
  variants: {
4688
4688
  variant: {
@@ -4723,7 +4723,7 @@ const e0 = Z(
4723
4723
  error: !1
4724
4724
  }
4725
4725
  }
4726
- ), ii = E.forwardRef(
4726
+ ), ii = S.forwardRef(
4727
4727
  ({
4728
4728
  className: t,
4729
4729
  type: e,
@@ -4738,11 +4738,11 @@ const e0 = Z(
4738
4738
  ...u
4739
4739
  }, p) => {
4740
4740
  const m = !!n || o;
4741
- return /* @__PURE__ */ f.jsxs(Xr, { className: T("rst:w-full rst:space-y-1.5", t), children: [
4741
+ return /* @__PURE__ */ f.jsxs(Qr, { className: C("rst:w-full rst:space-y-1.5", t), children: [
4742
4742
  r && /* @__PURE__ */ f.jsx(
4743
4743
  De,
4744
4744
  {
4745
- className: T(
4745
+ className: C(
4746
4746
  "rst:block rst:text-sm rst:font-medium rst:leading-none rst:text-left rst:mb-1.5 rst:transition-colors",
4747
4747
  "rst:text-gray-900 rst:dark:text-gray-100",
4748
4748
  "rst:peer-disabled:cursor-not-allowed rst:peer-disabled:opacity-70"
@@ -4754,7 +4754,7 @@ const e0 = Z(
4754
4754
  i && /* @__PURE__ */ f.jsx(
4755
4755
  "div",
4756
4756
  {
4757
- className: T(
4757
+ className: C(
4758
4758
  ca({ variant: a, error: m }),
4759
4759
  "rst:left-3"
4760
4760
  ),
@@ -4762,12 +4762,12 @@ const e0 = Z(
4762
4762
  }
4763
4763
  ),
4764
4764
  /* @__PURE__ */ f.jsx(
4765
- Sd,
4765
+ Ed,
4766
4766
  {
4767
4767
  ref: p,
4768
4768
  type: e,
4769
4769
  disabled: c,
4770
- className: T(
4770
+ className: C(
4771
4771
  n0({ variant: a, error: m }),
4772
4772
  i && "rst:pl-10",
4773
4773
  l && "rst:pr-10"
@@ -4778,7 +4778,7 @@ const e0 = Z(
4778
4778
  l && /* @__PURE__ */ f.jsx(
4779
4779
  "div",
4780
4780
  {
4781
- className: T(
4781
+ className: C(
4782
4782
  ca({ variant: a, error: m }),
4783
4783
  "rst:right-3"
4784
4784
  ),
@@ -4789,7 +4789,7 @@ const e0 = Z(
4789
4789
  (s || n) && /* @__PURE__ */ f.jsx(
4790
4790
  rr,
4791
4791
  {
4792
- className: T(
4792
+ className: C(
4793
4793
  "rst:text-xs rst:text-left rst:mt-1",
4794
4794
  m ? "rst:text-error-600 rst:dark:text-error-400 rst:font-medium" : "rst:text-gray-500 rst:dark:text-gray-400"
4795
4795
  ),
@@ -4827,7 +4827,7 @@ const a0 = Z(
4827
4827
  size: "md"
4828
4828
  }
4829
4829
  }
4830
- ), Se = ({
4830
+ ), Ee = ({
4831
4831
  as: t,
4832
4832
  className: e,
4833
4833
  variant: r,
@@ -4839,7 +4839,7 @@ const a0 = Z(
4839
4839
  href: l,
4840
4840
  ...c
4841
4841
  }) => {
4842
- const u = t || "a", p = a || typeof l == "string" && l.startsWith("http"), m = o ?? p, d = T(
4842
+ const u = t || "a", p = a || typeof l == "string" && l.startsWith("http"), m = o ?? p, d = C(
4843
4843
  a0({ variant: r, underline: s, size: n }),
4844
4844
  e
4845
4845
  );
@@ -4882,7 +4882,7 @@ const a0 = Z(
4882
4882
  ]
4883
4883
  }
4884
4884
  );
4885
- }, o0 = E.forwardRef(
4885
+ }, o0 = S.forwardRef(
4886
4886
  ({
4887
4887
  revealable: t = !0,
4888
4888
  defaultRevealed: e = !1,
@@ -4896,7 +4896,7 @@ const a0 = Z(
4896
4896
  errorMessage: c,
4897
4897
  ...u
4898
4898
  }, p) => {
4899
- const [m, d] = E.useState(e), g = r !== void 0, h = g ? r : m, b = () => {
4899
+ const [m, d] = S.useState(e), g = r !== void 0, h = g ? r : m, b = () => {
4900
4900
  const v = !h;
4901
4901
  g || d(v), s?.(v);
4902
4902
  };
@@ -4909,7 +4909,7 @@ const a0 = Z(
4909
4909
  variant: i,
4910
4910
  error: l,
4911
4911
  errorMessage: c,
4912
- className: T("rst:[&_input::-ms-reveal]:hidden", u.className),
4912
+ className: C("rst:[&_input::-ms-reveal]:hidden", u.className),
4913
4913
  endIcon: t ? /* @__PURE__ */ f.jsx(
4914
4914
  "button",
4915
4915
  {
@@ -4918,7 +4918,7 @@ const a0 = Z(
4918
4918
  disabled: o,
4919
4919
  "aria-label": h ? a : n,
4920
4920
  "aria-pressed": h,
4921
- className: T(
4921
+ className: C(
4922
4922
  "rst:-m-1 rst:flex rst:items-center rst:rounded rst:p-1 rst:transition-opacity",
4923
4923
  "rst:opacity-70 rst:hover:opacity-100",
4924
4924
  "rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400",
@@ -4941,7 +4941,7 @@ const a0 = Z(
4941
4941
  );
4942
4942
  o0.displayName = "PasswordInput";
4943
4943
  const i0 = Z(
4944
- "rst:inline-flex rst:items-center rst:rounded-full rst:font-medium rst:whitespace-nowrap rst:align-middle",
4944
+ "rst:font-ui rst:inline-flex rst:items-center rst:rounded-full rst:font-medium rst:whitespace-nowrap rst:align-middle",
4945
4945
  {
4946
4946
  variants: {
4947
4947
  colorScheme: {
@@ -5016,7 +5016,7 @@ const i0 = Z(
5016
5016
  variant: "soft",
5017
5017
  size: "sm"
5018
5018
  }
5019
- }), l0 = E.forwardRef(
5019
+ }), l0 = S.forwardRef(
5020
5020
  ({
5021
5021
  className: t,
5022
5022
  colorScheme: e = "neutral",
@@ -5031,7 +5031,7 @@ const i0 = Z(
5031
5031
  "span",
5032
5032
  {
5033
5033
  ref: c,
5034
- className: T(i0({ colorScheme: e, variant: r, size: s }), t),
5034
+ className: C(i0({ colorScheme: e, variant: r, size: s }), t),
5035
5035
  ...l,
5036
5036
  children: [
5037
5037
  n ? (
@@ -5041,13 +5041,13 @@ const i0 = Z(
5041
5041
  a && /* @__PURE__ */ f.jsx(
5042
5042
  "span",
5043
5043
  {
5044
- className: T(
5044
+ className: C(
5045
5045
  ua({ colorScheme: e, variant: r, size: s }),
5046
5046
  "rst:absolute rst:inset-0 rst:motion-safe:animate-ping rst:opacity-75"
5047
5047
  )
5048
5048
  }
5049
5049
  ),
5050
- /* @__PURE__ */ f.jsx("span", { className: T(ua({ colorScheme: e, variant: r, size: s }), "rst:relative") })
5050
+ /* @__PURE__ */ f.jsx("span", { className: C(ua({ colorScheme: e, variant: r, size: s }), "rst:relative") })
5051
5051
  ] })
5052
5052
  ) : o && /* @__PURE__ */ f.jsx("span", { className: "rst:inline-flex rst:shrink-0 rst:items-center", "aria-hidden": "true", children: o }),
5053
5053
  i
@@ -5080,7 +5080,7 @@ const c0 = Z(
5080
5080
  defaultVariants: { size: "xs", tone: "faint", weight: "normal" }
5081
5081
  }
5082
5082
  );
5083
- function Tr({
5083
+ function jr({
5084
5084
  as: t,
5085
5085
  className: e,
5086
5086
  size: r,
@@ -5093,13 +5093,13 @@ function Tr({
5093
5093
  return /* @__PURE__ */ f.jsx(
5094
5094
  i,
5095
5095
  {
5096
- className: T(c0({ size: r, tone: s, weight: n }), e),
5096
+ className: C(c0({ size: r, tone: s, weight: n }), e),
5097
5097
  ...o,
5098
5098
  children: a
5099
5099
  }
5100
5100
  );
5101
5101
  }
5102
- Tr.displayName = "Eyebrow";
5102
+ jr.displayName = "Eyebrow";
5103
5103
  const u0 = Z("rst:font-mono rst:text-[0.8125rem]", {
5104
5104
  variants: {
5105
5105
  colorScheme: {
@@ -5113,24 +5113,24 @@ const u0 = Z("rst:font-mono rst:text-[0.8125rem]", {
5113
5113
  }
5114
5114
  },
5115
5115
  defaultVariants: { colorScheme: "primary", surface: "none" }
5116
- }), d0 = E.forwardRef(
5116
+ }), d0 = S.forwardRef(
5117
5117
  ({ className: t, colorScheme: e, surface: r, children: s, ...n }, a) => /* @__PURE__ */ f.jsx(
5118
5118
  "code",
5119
5119
  {
5120
5120
  ref: a,
5121
- className: T(u0({ colorScheme: e, surface: r }), t),
5121
+ className: C(u0({ colorScheme: e, surface: r }), t),
5122
5122
  ...n,
5123
5123
  children: s
5124
5124
  }
5125
5125
  )
5126
5126
  );
5127
5127
  d0.displayName = "InlineCode";
5128
- const f0 = E.forwardRef(
5129
- ({ label: t, trailing: e, align: r = "start", className: s, ...n }, a) => /* @__PURE__ */ f.jsxs("div", { ref: a, className: T("rst:flex rst:items-center rst:gap-3", s), ...n, children: [
5128
+ const f0 = S.forwardRef(
5129
+ ({ label: t, trailing: e, align: r = "start", className: s, ...n }, a) => /* @__PURE__ */ f.jsxs("div", { ref: a, className: C("rst:font-ui rst:flex rst:items-center rst:gap-3", s), ...n, children: [
5130
5130
  r === "end" && /* @__PURE__ */ f.jsx("span", { role: "presentation", className: "rst:h-px rst:flex-1 rst:bg-gray-200 rst:dark:bg-gray-800" }),
5131
- /* @__PURE__ */ f.jsx(Tr, { children: t }),
5131
+ /* @__PURE__ */ f.jsx(jr, { children: t }),
5132
5132
  r === "start" && /* @__PURE__ */ f.jsx("span", { role: "presentation", className: "rst:h-px rst:flex-1 rst:bg-gray-200 rst:dark:bg-gray-800" }),
5133
- e && /* @__PURE__ */ f.jsx(Tr, { children: e })
5133
+ e && /* @__PURE__ */ f.jsx(jr, { children: e })
5134
5134
  ] })
5135
5135
  );
5136
5136
  f0.displayName = "LabeledDivider";
@@ -5154,23 +5154,23 @@ const p0 = Z(
5154
5154
  },
5155
5155
  defaultVariants: { size: "md", colorScheme: "neutral" }
5156
5156
  }
5157
- ), m0 = E.forwardRef(
5158
- ({ value: t, label: e, source: r, size: s, colorScheme: n, className: a, ...o }, i) => /* @__PURE__ */ f.jsxs("div", { ref: i, className: T("rst:flex rst:flex-col rst:gap-[3px]", a), ...o, children: [
5159
- /* @__PURE__ */ f.jsx("dd", { className: T("rst:m-0", p0({ size: s, colorScheme: n })), children: t }),
5160
- /* @__PURE__ */ f.jsx("dt", { children: /* @__PURE__ */ f.jsx(Tr, { size: "xs", children: e }) }),
5157
+ ), m0 = S.forwardRef(
5158
+ ({ value: t, label: e, source: r, size: s, colorScheme: n, className: a, ...o }, i) => /* @__PURE__ */ f.jsxs("div", { ref: i, className: C("rst:flex rst:flex-col rst:gap-[3px]", a), ...o, children: [
5159
+ /* @__PURE__ */ f.jsx("dd", { className: C("rst:m-0", p0({ size: s, colorScheme: n })), children: t }),
5160
+ /* @__PURE__ */ f.jsx("dt", { children: /* @__PURE__ */ f.jsx(jr, { size: "xs", children: e }) }),
5161
5161
  r && /* @__PURE__ */ f.jsx("span", { className: "rst:font-mono rst:text-[0.53125rem] rst:leading-none rst:tracking-[0.06em] rst:text-gray-500 rst:opacity-75 rst:dark:text-gray-400", children: r })
5162
5162
  ] })
5163
5163
  );
5164
5164
  m0.displayName = "Stat";
5165
- const g0 = "roster-theme", Es = /* @__PURE__ */ new Set();
5165
+ const g0 = "roster-theme", Ss = /* @__PURE__ */ new Set();
5166
5166
  function h0(t) {
5167
- Es.add(t);
5167
+ Ss.add(t);
5168
5168
  const e = new MutationObserver(t);
5169
5169
  return e.observe(document.documentElement, {
5170
5170
  attributes: !0,
5171
5171
  attributeFilter: ["class"]
5172
5172
  }), () => {
5173
- Es.delete(t), e.disconnect();
5173
+ Ss.delete(t), e.disconnect();
5174
5174
  };
5175
5175
  }
5176
5176
  function b0() {
@@ -5179,7 +5179,7 @@ function b0() {
5179
5179
  function v0() {
5180
5180
  return !1;
5181
5181
  }
5182
- const x0 = E.forwardRef(
5182
+ const x0 = S.forwardRef(
5183
5183
  ({
5184
5184
  storageKey: t = g0,
5185
5185
  onThemeChange: e,
@@ -5202,7 +5202,7 @@ const x0 = E.forwardRef(
5202
5202
  localStorage.setItem(t, b ? "dark" : "light");
5203
5203
  } catch {
5204
5204
  }
5205
- Es.forEach((v) => v()), e?.(b ? "dark" : "light");
5205
+ Ss.forEach((v) => v()), e?.(b ? "dark" : "light");
5206
5206
  }, [t, e]);
5207
5207
  return /* @__PURE__ */ f.jsx(
5208
5208
  Ut,
@@ -5230,7 +5230,7 @@ const x0 = E.forwardRef(
5230
5230
  );
5231
5231
  x0.displayName = "ThemeToggle";
5232
5232
  const y0 = Z(
5233
- "rst:relative rst:w-full rst:cursor-pointer rst:rounded-md rst:py-2.5 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-none rst:focus:ring-2 rst:focus:ring-primary-500 rst:dark:focus:ring-primary-400 rst:sm:leading-6",
5233
+ "rst:font-ui rst:relative rst:w-full rst:cursor-pointer rst:rounded-md rst:py-2.5 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-none rst:focus:ring-2 rst:focus:ring-primary-500 rst:dark:focus:ring-primary-400 rst:sm:leading-6",
5234
5234
  {
5235
5235
  variants: {
5236
5236
  variant: {
@@ -5262,7 +5262,7 @@ const y0 = Z(
5262
5262
  label: l
5263
5263
  }) => {
5264
5264
  const c = t.find((u) => u.value === e);
5265
- return /* @__PURE__ */ f.jsxs(Xr, { className: T("rst:flex rst:flex-col rst:gap-1.5", i), children: [
5265
+ return /* @__PURE__ */ f.jsxs(Qr, { className: C("rst:flex rst:flex-col rst:gap-1.5", i), children: [
5266
5266
  l && /* @__PURE__ */ f.jsx(De, { className: "rst:block rst:text-sm rst:font-medium rst:text-inherit rst:text-left", children: l }),
5267
5267
  /* @__PURE__ */ f.jsx(
5268
5268
  Wd,
@@ -5274,12 +5274,12 @@ const y0 = Z(
5274
5274
  /* @__PURE__ */ f.jsxs(
5275
5275
  qo,
5276
5276
  {
5277
- className: T(y0({ variant: a, error: o })),
5277
+ className: C(y0({ variant: a, error: o })),
5278
5278
  children: [
5279
5279
  /* @__PURE__ */ f.jsx(
5280
5280
  "span",
5281
5281
  {
5282
- className: T(
5282
+ className: C(
5283
5283
  "rst:block rst:truncate",
5284
5284
  !c && "rst:text-gray-500 rst:dark:text-gray-400"
5285
5285
  ),
@@ -5308,7 +5308,7 @@ const y0 = Z(
5308
5308
  Xo,
5309
5309
  {
5310
5310
  anchor: "bottom start",
5311
- className: T(
5311
+ className: C(
5312
5312
  "rst:w-(--button-width) rst:z-50 rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:text-base rst:shadow-lg rst:ring-1 rst:ring-black/5 rst:dark:ring-gray-700 rst:focus:outline-none rst:sm:text-sm",
5313
5313
  "rst:[--anchor-gap:4px]"
5314
5314
  ),
@@ -5317,7 +5317,7 @@ const y0 = Z(
5317
5317
  {
5318
5318
  value: u.value,
5319
5319
  disabled: u.disabled,
5320
- className: T(
5320
+ className: C(
5321
5321
  "rst:group rst:relative rst:cursor-default rst:select-none rst:py-2.5 rst:pl-4 rst:pr-9 rst:transition-colors",
5322
5322
  "rst:text-gray-900 rst:dark:text-gray-100",
5323
5323
  "rst:data-focus:bg-primary-100 rst:data-focus:text-primary-900",
@@ -5341,7 +5341,7 @@ const y0 = Z(
5341
5341
  )
5342
5342
  ] });
5343
5343
  }, w0 = Z(
5344
- "rst:group rst:relative rst:inline-flex rst:shrink-0 rst:cursor-pointer rst:rounded-full rst:border-2 rst:border-transparent rst:transition-colors rst:duration-200 rst:ease-in-out rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:disabled:cursor-not-allowed rst:disabled:opacity-50",
5344
+ "rst:font-ui rst:group rst:relative rst:inline-flex rst:shrink-0 rst:cursor-pointer rst:rounded-full rst:border-2 rst:border-transparent rst:transition-colors rst:duration-200 rst:ease-in-out rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:disabled:cursor-not-allowed rst:disabled:opacity-50",
5345
5345
  {
5346
5346
  variants: {
5347
5347
  variant: {
@@ -5390,17 +5390,17 @@ const y0 = Z(
5390
5390
  }) => {
5391
5391
  const c = r ? void 0 : l || "Toggle setting";
5392
5392
  return /* @__PURE__ */ f.jsxs(
5393
- Xr,
5393
+ Qr,
5394
5394
  {
5395
5395
  as: "div",
5396
- className: T("rst:flex rst:items-center rst:justify-between rst:gap-4", i),
5396
+ className: C("rst:flex rst:items-center rst:justify-between rst:gap-4", i),
5397
5397
  children: [
5398
5398
  (r || s) && /* @__PURE__ */ f.jsxs("span", { className: "rst:flex rst:flex-col", children: [
5399
5399
  r && /* @__PURE__ */ f.jsx(
5400
5400
  De,
5401
5401
  {
5402
5402
  passive: !0,
5403
- className: T(
5403
+ className: C(
5404
5404
  "rst:text-sm rst:font-medium rst:text-gray-900 rst:dark:text-gray-100",
5405
5405
  n && "rst:opacity-50"
5406
5406
  ),
@@ -5410,7 +5410,7 @@ const y0 = Z(
5410
5410
  s && /* @__PURE__ */ f.jsx(
5411
5411
  rr,
5412
5412
  {
5413
- className: T(
5413
+ className: C(
5414
5414
  "rst:text-xs rst:text-gray-500 rst:dark:text-gray-400",
5415
5415
  n && "rst:opacity-50"
5416
5416
  ),
@@ -5425,12 +5425,12 @@ const y0 = Z(
5425
5425
  onChange: e,
5426
5426
  disabled: n,
5427
5427
  "aria-label": c,
5428
- className: T(w0({ variant: o, size: a })),
5428
+ className: C(w0({ variant: o, size: a })),
5429
5429
  children: /* @__PURE__ */ f.jsx(
5430
5430
  "span",
5431
5431
  {
5432
5432
  "aria-hidden": "true",
5433
- className: T(k0({ size: a }))
5433
+ className: C(k0({ size: a }))
5434
5434
  }
5435
5435
  )
5436
5436
  }
@@ -5438,8 +5438,8 @@ const y0 = Z(
5438
5438
  ]
5439
5439
  }
5440
5440
  );
5441
- }, E0 = Z(
5442
- "rst:flex rst:w-full rst:min-h-[80px] rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-white rst:dark:ring-offset-gray-950 rst:placeholder:text-gray-400 rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-colors rst:custom-scrollbar",
5441
+ }, S0 = Z(
5442
+ "rst:font-ui rst:flex rst:w-full rst:min-h-[80px] rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-white rst:dark:ring-offset-gray-950 rst:placeholder:text-gray-400 rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-colors rst:custom-scrollbar",
5443
5443
  {
5444
5444
  variants: {
5445
5445
  variant: {
@@ -5465,7 +5465,7 @@ const y0 = Z(
5465
5465
  resize: "vertical"
5466
5466
  }
5467
5467
  }
5468
- ), S0 = E.forwardRef(
5468
+ ), E0 = S.forwardRef(
5469
5469
  ({
5470
5470
  className: t,
5471
5471
  label: e,
@@ -5478,21 +5478,21 @@ const y0 = Z(
5478
5478
  ...l
5479
5479
  }, c) => {
5480
5480
  const u = !!s || a;
5481
- return /* @__PURE__ */ f.jsxs(Xr, { className: T("rst:w-full rst:space-y-1.5", t), children: [
5481
+ return /* @__PURE__ */ f.jsxs(Qr, { className: C("rst:w-full rst:space-y-1.5", t), children: [
5482
5482
  e && /* @__PURE__ */ f.jsx(De, { className: "rst:block rst:text-sm rst:font-medium rst:leading-none rst:text-gray-900 rst:dark:text-gray-100 rst:peer-disabled:cursor-not-allowed rst:peer-disabled:opacity-70 rst:text-left", children: e }),
5483
5483
  /* @__PURE__ */ f.jsx(
5484
5484
  Kf,
5485
5485
  {
5486
5486
  ref: c,
5487
5487
  disabled: i,
5488
- className: T(E0({ variant: n, resize: o, error: u })),
5488
+ className: C(S0({ variant: n, resize: o, error: u })),
5489
5489
  ...l
5490
5490
  }
5491
5491
  ),
5492
5492
  (r || s) && /* @__PURE__ */ f.jsx(
5493
5493
  rr,
5494
5494
  {
5495
- className: T(
5495
+ className: C(
5496
5496
  "rst:text-xs rst:text-left",
5497
5497
  u ? "rst:text-error-600 rst:dark:text-error-400 rst:font-medium" : "rst:text-gray-500 rst:dark:text-gray-400"
5498
5498
  ),
@@ -5502,7 +5502,7 @@ const y0 = Z(
5502
5502
  ] });
5503
5503
  }
5504
5504
  );
5505
- S0.displayName = "Textarea";
5505
+ E0.displayName = "Textarea";
5506
5506
  function _m({
5507
5507
  items: t,
5508
5508
  maxDisplay: e = 5,
@@ -5519,7 +5519,7 @@ function _m({
5519
5519
  "div",
5520
5520
  {
5521
5521
  "data-testid": "avatar-strip",
5522
- className: T("rst:flex rst:items-center rst:gap-3", l),
5522
+ className: C("rst:font-ui rst:flex rst:items-center rst:gap-3", l),
5523
5523
  children: [
5524
5524
  n && /* @__PURE__ */ f.jsx(
5525
5525
  "button",
@@ -5547,7 +5547,7 @@ function _m({
5547
5547
  colorScheme: p.colorScheme ?? "neutral",
5548
5548
  size: "xs"
5549
5549
  }
5550
- ), d = T(
5550
+ ), d = C(
5551
5551
  "rst:relative rst:inline-flex rst:h-6 rst:w-6 rst:rounded-full rst:ring-2 rst:transition-transform rst:hover:z-10 rst:hover:scale-110",
5552
5552
  i
5553
5553
  );
@@ -5577,7 +5577,7 @@ function _m({
5577
5577
  {
5578
5578
  title: `${u} more`,
5579
5579
  "data-testid": "avatar-strip-overflow",
5580
- className: T(
5580
+ className: C(
5581
5581
  "rst:relative rst:flex rst:h-6 rst:w-6 rst:items-center rst:justify-center rst:rounded-full rst:bg-gray-500/10 rst:ring-2",
5582
5582
  i
5583
5583
  ),
@@ -5657,9 +5657,9 @@ function Vm({
5657
5657
  role: "tablist",
5658
5658
  "data-testid": "liquid-tabs",
5659
5659
  style: { background: "var(--roster-lt-bg)", borderColor: "var(--roster-lt-border)" },
5660
- className: T(
5661
- "rst:relative rst:flex rst:border",
5662
- p ? "rst:w-full rst:overflow-hidden rst:rounded-lg" : T(
5660
+ className: C(
5661
+ "rst:font-ui rst:relative rst:flex rst:border",
5662
+ p ? "rst:w-full rst:overflow-hidden rst:rounded-lg" : C(
5663
5663
  "rst:gap-1 rst:rounded-xl rst:p-1",
5664
5664
  n ? "rst:w-full" : "rst:w-fit"
5665
5665
  ),
@@ -5672,7 +5672,7 @@ function Vm({
5672
5672
  ref: i,
5673
5673
  "aria-hidden": !0,
5674
5674
  "data-testid": "liquid-tabs-pill",
5675
- className: T(
5675
+ className: C(
5676
5676
  "rst:absolute rst:rounded-lg",
5677
5677
  p ? "rst:top-0 rst:bottom-0" : "rst:top-1 rst:bottom-1"
5678
5678
  ),
@@ -5689,12 +5689,12 @@ function Vm({
5689
5689
  "data-tab-id": h.id,
5690
5690
  "data-testid": `liquid-tab-${h.id}`,
5691
5691
  onClick: () => g(h.id),
5692
- className: T(
5692
+ className: C(
5693
5693
  "rst:relative rst:z-10 rst:text-sm rst:font-medium rst:transition-colors rst:cursor-pointer",
5694
- p ? T(
5694
+ p ? C(
5695
5695
  "rst:flex-1 rst:py-2",
5696
5696
  b ? "rst:text-white" : "rst:text-(--roster-lt-text-inactive) rst:hover:text-(--roster-lt-text-hover)"
5697
- ) : T(
5697
+ ) : C(
5698
5698
  "rst:rounded-lg rst:py-1.5",
5699
5699
  n ? "rst:flex-1" : "rst:px-4",
5700
5700
  b ? "rst:text-white" : "rst:text-(--roster-lt-text-inactive) rst:hover:text-(--roster-lt-text-hover)"
@@ -5863,14 +5863,14 @@ var $0 = [
5863
5863
  function I0(t, e) {
5864
5864
  t && Ke.flushSync(() => t.dispatchEvent(e));
5865
5865
  }
5866
- function ts(t) {
5866
+ function es(t) {
5867
5867
  const e = y.useRef(t);
5868
5868
  return y.useEffect(() => {
5869
5869
  e.current = t;
5870
5870
  }), y.useMemo(() => (...r) => e.current?.(...r), []);
5871
5871
  }
5872
5872
  function A0(t, e = globalThis?.document) {
5873
- const r = ts(t);
5873
+ const r = es(t);
5874
5874
  y.useEffect(() => {
5875
5875
  const s = (n) => {
5876
5876
  n.key === "Escape" && r(n);
@@ -5878,7 +5878,7 @@ function A0(t, e = globalThis?.document) {
5878
5878
  return e.addEventListener("keydown", s, { capture: !0 }), () => e.removeEventListener("keydown", s, { capture: !0 });
5879
5879
  }, [r, e]);
5880
5880
  }
5881
- var D0 = "DismissableLayer", Ss = "dismissableLayer.update", F0 = "dismissableLayer.pointerDownOutside", M0 = "dismissableLayer.focusOutside", pa, di = y.createContext({
5881
+ var D0 = "DismissableLayer", Es = "dismissableLayer.update", F0 = "dismissableLayer.pointerDownOutside", M0 = "dismissableLayer.focusOutside", pa, di = y.createContext({
5882
5882
  layers: /* @__PURE__ */ new Set(),
5883
5883
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
5884
5884
  branches: /* @__PURE__ */ new Set()
@@ -5892,10 +5892,10 @@ var D0 = "DismissableLayer", Ss = "dismissableLayer.update", F0 = "dismissableLa
5892
5892
  onInteractOutside: o,
5893
5893
  onDismiss: i,
5894
5894
  ...l
5895
- } = t, c = y.useContext(di), [u, p] = y.useState(null), m = u?.ownerDocument ?? globalThis?.document, [, d] = y.useState({}), g = ke(e, (P) => p(P)), h = Array.from(c.layers), [b] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), v = h.indexOf(b), w = u ? h.indexOf(u) : -1, x = c.layersWithOutsidePointerEventsDisabled.size > 0, k = w >= v, S = V0((P) => {
5895
+ } = t, c = y.useContext(di), [u, p] = y.useState(null), m = u?.ownerDocument ?? globalThis?.document, [, d] = y.useState({}), g = ke(e, (P) => p(P)), h = Array.from(c.layers), [b] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), v = h.indexOf(b), w = u ? h.indexOf(u) : -1, x = c.layersWithOutsidePointerEventsDisabled.size > 0, k = w >= v, E = V0((P) => {
5896
5896
  const M = P.target, z = [...c.branches].some((N) => N.contains(M));
5897
5897
  !k || z || (n?.(P), o?.(P), P.defaultPrevented || i?.());
5898
- }, m), C = B0((P) => {
5898
+ }, m), T = B0((P) => {
5899
5899
  const M = P.target;
5900
5900
  [...c.branches].some((N) => N.contains(M)) || (a?.(P), o?.(P), P.defaultPrevented || i?.());
5901
5901
  }, m);
@@ -5910,7 +5910,7 @@ var D0 = "DismissableLayer", Ss = "dismissableLayer.update", F0 = "dismissableLa
5910
5910
  u && (c.layers.delete(u), c.layersWithOutsidePointerEventsDisabled.delete(u), ma());
5911
5911
  }, [u, c]), y.useEffect(() => {
5912
5912
  const P = () => d({});
5913
- return document.addEventListener(Ss, P), () => document.removeEventListener(Ss, P);
5913
+ return document.addEventListener(Es, P), () => document.removeEventListener(Es, P);
5914
5914
  }, []), /* @__PURE__ */ f.jsx(
5915
5915
  le.div,
5916
5916
  {
@@ -5920,11 +5920,11 @@ var D0 = "DismissableLayer", Ss = "dismissableLayer.update", F0 = "dismissableLa
5920
5920
  pointerEvents: x ? k ? "auto" : "none" : void 0,
5921
5921
  ...t.style
5922
5922
  },
5923
- onFocusCapture: Yt(t.onFocusCapture, C.onFocusCapture),
5924
- onBlurCapture: Yt(t.onBlurCapture, C.onBlurCapture),
5923
+ onFocusCapture: Yt(t.onFocusCapture, T.onFocusCapture),
5924
+ onBlurCapture: Yt(t.onBlurCapture, T.onBlurCapture),
5925
5925
  onPointerDownCapture: Yt(
5926
5926
  t.onPointerDownCapture,
5927
- S.onPointerDownCapture
5927
+ E.onPointerDownCapture
5928
5928
  )
5929
5929
  }
5930
5930
  );
@@ -5943,7 +5943,7 @@ var L0 = "DismissableLayerBranch", _0 = y.forwardRef((t, e) => {
5943
5943
  });
5944
5944
  _0.displayName = L0;
5945
5945
  function V0(t, e = globalThis?.document) {
5946
- const r = ts(t), s = y.useRef(!1), n = y.useRef(() => {
5946
+ const r = es(t), s = y.useRef(!1), n = y.useRef(() => {
5947
5947
  });
5948
5948
  return y.useEffect(() => {
5949
5949
  const a = (i) => {
@@ -5973,7 +5973,7 @@ function V0(t, e = globalThis?.document) {
5973
5973
  };
5974
5974
  }
5975
5975
  function B0(t, e = globalThis?.document) {
5976
- const r = ts(t), s = y.useRef(!1);
5976
+ const r = es(t), s = y.useRef(!1);
5977
5977
  return y.useEffect(() => {
5978
5978
  const n = (a) => {
5979
5979
  a.target && !s.current && pi(M0, r, { originalEvent: a }, {
@@ -5987,7 +5987,7 @@ function B0(t, e = globalThis?.document) {
5987
5987
  };
5988
5988
  }
5989
5989
  function ma() {
5990
- const t = new CustomEvent(Ss);
5990
+ const t = new CustomEvent(Es);
5991
5991
  document.dispatchEvent(t);
5992
5992
  }
5993
5993
  function pi(t, e, r, { discrete: s }) {
@@ -6074,7 +6074,7 @@ var mn = "PopperContent", [q0, X0] = gi(mn), wi = y.forwardRef(
6074
6074
  updatePositionStrategy: d = "optimized",
6075
6075
  onPlaced: g,
6076
6076
  ...h
6077
- } = t, b = bi(mn, r), [v, w] = y.useState(null), x = ke(e, (q) => w(q)), [k, S] = y.useState(null), C = G0(k), P = C?.width ?? 0, M = C?.height ?? 0, z = s + (a !== "center" ? "-" + a : ""), N = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, $ = Array.isArray(c) ? c : [c], L = $.length > 0, _ = {
6077
+ } = t, b = bi(mn, r), [v, w] = y.useState(null), x = ke(e, (q) => w(q)), [k, E] = y.useState(null), T = G0(k), P = T?.width ?? 0, M = T?.height ?? 0, z = s + (a !== "center" ? "-" + a : ""), N = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, $ = Array.isArray(c) ? c : [c], L = $.length > 0, _ = {
6078
6078
  padding: N,
6079
6079
  boundary: $.filter(Z0),
6080
6080
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -6100,16 +6100,16 @@ var mn = "PopperContent", [q0, X0] = gi(mn), wi = y.forwardRef(
6100
6100
  l && vo({ ..._ }),
6101
6101
  xo({
6102
6102
  ..._,
6103
- apply: ({ elements: q, rects: bt, availableWidth: yt, availableHeight: Ee }) => {
6103
+ apply: ({ elements: q, rects: bt, availableWidth: yt, availableHeight: Se }) => {
6104
6104
  const { width: _e, height: mr } = bt.reference, gr = q.floating.style;
6105
- gr.setProperty("--radix-popper-available-width", `${yt}px`), gr.setProperty("--radix-popper-available-height", `${Ee}px`), gr.setProperty("--radix-popper-anchor-width", `${_e}px`), gr.setProperty("--radix-popper-anchor-height", `${mr}px`);
6105
+ gr.setProperty("--radix-popper-available-width", `${yt}px`), gr.setProperty("--radix-popper-available-height", `${Se}px`), gr.setProperty("--radix-popper-anchor-width", `${_e}px`), gr.setProperty("--radix-popper-anchor-height", `${mr}px`);
6106
6106
  }
6107
6107
  }),
6108
6108
  k && cu({ element: k, padding: i }),
6109
6109
  J0({ arrowWidth: P, arrowHeight: M }),
6110
6110
  m && lu({ strategy: "referenceHidden", ..._ })
6111
6111
  ]
6112
- }), [j, H] = Si(F), nt = ts(g);
6112
+ }), [j, H] = Ei(F), nt = es(g);
6113
6113
  ae(() => {
6114
6114
  U && nt?.();
6115
6115
  }, [U, nt]);
@@ -6145,7 +6145,7 @@ var mn = "PopperContent", [q0, X0] = gi(mn), wi = y.forwardRef(
6145
6145
  {
6146
6146
  scope: r,
6147
6147
  placedSide: j,
6148
- onArrowChange: S,
6148
+ onArrowChange: E,
6149
6149
  arrowX: et,
6150
6150
  arrowY: A,
6151
6151
  shouldHideArrow: W,
@@ -6176,7 +6176,7 @@ var ki = "PopperArrow", Q0 = {
6176
6176
  right: "left",
6177
6177
  bottom: "top",
6178
6178
  left: "right"
6179
- }, Ei = y.forwardRef(function(e, r) {
6179
+ }, Si = y.forwardRef(function(e, r) {
6180
6180
  const { __scopePopper: s, ...n } = e, a = X0(ki, s), o = Q0[a.placedSide];
6181
6181
  return (
6182
6182
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
@@ -6221,7 +6221,7 @@ var ki = "PopperArrow", Q0 = {
6221
6221
  )
6222
6222
  );
6223
6223
  });
6224
- Ei.displayName = ki;
6224
+ Si.displayName = ki;
6225
6225
  function Z0(t) {
6226
6226
  return t !== null;
6227
6227
  }
@@ -6229,16 +6229,16 @@ var J0 = (t) => ({
6229
6229
  name: "transformOrigin",
6230
6230
  options: t,
6231
6231
  fn(e) {
6232
- const { placement: r, rects: s, middlewareData: n } = e, o = n.arrow?.centerOffset !== 0, i = o ? 0 : t.arrowWidth, l = o ? 0 : t.arrowHeight, [c, u] = Si(r), p = { start: "0%", center: "50%", end: "100%" }[u], m = (n.arrow?.x ?? 0) + i / 2, d = (n.arrow?.y ?? 0) + l / 2;
6232
+ const { placement: r, rects: s, middlewareData: n } = e, o = n.arrow?.centerOffset !== 0, i = o ? 0 : t.arrowWidth, l = o ? 0 : t.arrowHeight, [c, u] = Ei(r), p = { start: "0%", center: "50%", end: "100%" }[u], m = (n.arrow?.x ?? 0) + i / 2, d = (n.arrow?.y ?? 0) + l / 2;
6233
6233
  let g = "", h = "";
6234
6234
  return c === "bottom" ? (g = o ? p : `${m}px`, h = `${-l}px`) : c === "top" ? (g = o ? p : `${m}px`, h = `${s.floating.height + l}px`) : c === "right" ? (g = `${-l}px`, h = o ? p : `${d}px`) : c === "left" && (g = `${s.floating.width + l}px`, h = o ? p : `${d}px`), { data: { x: g, y: h } };
6235
6235
  }
6236
6236
  });
6237
- function Si(t) {
6237
+ function Ei(t) {
6238
6238
  const [e, r = "center"] = t.split("-");
6239
6239
  return [e, r];
6240
6240
  }
6241
- var tp = vi, ep = yi, rp = wi, sp = Ei, np = "Portal", Ni = y.forwardRef((t, e) => {
6241
+ var tp = vi, ep = yi, rp = wi, sp = Si, np = "Portal", Ni = y.forwardRef((t, e) => {
6242
6242
  const { container: r, ...s } = t, [n, a] = y.useState(!1);
6243
6243
  ae(() => a(!0), []);
6244
6244
  const o = r || n && globalThis?.document?.body;
@@ -6268,19 +6268,19 @@ function op(t) {
6268
6268
  }
6269
6269
  });
6270
6270
  return y.useEffect(() => {
6271
- const c = vr(s.current);
6271
+ const c = xr(s.current);
6272
6272
  a.current = i === "mounted" ? c : "none";
6273
6273
  }, [i]), ae(() => {
6274
6274
  const c = s.current, u = n.current;
6275
6275
  if (u !== t) {
6276
- const m = a.current, d = vr(c);
6276
+ const m = a.current, d = xr(c);
6277
6277
  t ? l("MOUNT") : d === "none" || c?.display === "none" ? l("UNMOUNT") : l(u && m !== d ? "ANIMATION_OUT" : "UNMOUNT"), n.current = t;
6278
6278
  }
6279
6279
  }, [t, l]), ae(() => {
6280
6280
  if (e) {
6281
6281
  let c;
6282
6282
  const u = e.ownerDocument.defaultView ?? window, p = (d) => {
6283
- const h = vr(s.current).includes(CSS.escape(d.animationName));
6283
+ const h = xr(s.current).includes(CSS.escape(d.animationName));
6284
6284
  if (d.target === e && h && (l("ANIMATION_END"), !n.current)) {
6285
6285
  const b = e.style.animationFillMode;
6286
6286
  e.style.animationFillMode = "forwards", c = u.setTimeout(() => {
@@ -6288,7 +6288,7 @@ function op(t) {
6288
6288
  });
6289
6289
  }
6290
6290
  }, m = (d) => {
6291
- d.target === e && (a.current = vr(s.current));
6291
+ d.target === e && (a.current = xr(s.current));
6292
6292
  };
6293
6293
  return e.addEventListener("animationstart", m), e.addEventListener("animationcancel", p), e.addEventListener("animationend", p), () => {
6294
6294
  u.clearTimeout(c), e.removeEventListener("animationstart", m), e.removeEventListener("animationcancel", p), e.removeEventListener("animationend", p);
@@ -6302,7 +6302,7 @@ function op(t) {
6302
6302
  }, [])
6303
6303
  };
6304
6304
  }
6305
- function vr(t) {
6305
+ function xr(t) {
6306
6306
  return t?.animationName || "none";
6307
6307
  }
6308
6308
  function ip(t) {
@@ -6379,9 +6379,9 @@ var fp = Object.freeze({
6379
6379
  )
6380
6380
  );
6381
6381
  Pi.displayName = pp;
6382
- var mp = Pi, [es] = ci("Tooltip", [
6382
+ var mp = Pi, [rs] = ci("Tooltip", [
6383
6383
  hi
6384
- ]), rs = hi(), Oi = "TooltipProvider", gp = 700, Ns = "tooltip.open", [hp, hn] = es(Oi), Ci = (t) => {
6384
+ ]), ss = hi(), Oi = "TooltipProvider", gp = 700, Ns = "tooltip.open", [hp, hn] = rs(Oi), Ci = (t) => {
6385
6385
  const {
6386
6386
  __scopeTooltip: e,
6387
6387
  delayDuration: r = gp,
@@ -6417,7 +6417,7 @@ var mp = Pi, [es] = ci("Tooltip", [
6417
6417
  );
6418
6418
  };
6419
6419
  Ci.displayName = Oi;
6420
- var Je = "Tooltip", [bp, pr] = es(Je), Ti = (t) => {
6420
+ var Je = "Tooltip", [bp, pr] = rs(Je), Ti = (t) => {
6421
6421
  const {
6422
6422
  __scopeTooltip: e,
6423
6423
  children: r,
@@ -6426,7 +6426,7 @@ var Je = "Tooltip", [bp, pr] = es(Je), Ti = (t) => {
6426
6426
  onOpenChange: a,
6427
6427
  disableHoverableContent: o,
6428
6428
  delayDuration: i
6429
- } = t, l = hn(Je, t.__scopeTooltip), c = rs(e), [u, p] = y.useState(null), m = W0(), d = y.useRef(0), g = o ?? l.disableHoverableContent, h = i ?? l.delayDuration, b = y.useRef(!1), [v, w] = cp({
6429
+ } = t, l = hn(Je, t.__scopeTooltip), c = ss(e), [u, p] = y.useState(null), m = W0(), d = y.useRef(0), g = o ?? l.disableHoverableContent, h = i ?? l.delayDuration, b = y.useRef(!1), [v, w] = cp({
6430
6430
  prop: s,
6431
6431
  defaultProp: n ?? !1,
6432
6432
  onChange: (P) => {
@@ -6435,9 +6435,9 @@ var Je = "Tooltip", [bp, pr] = es(Je), Ti = (t) => {
6435
6435
  caller: Je
6436
6436
  }), x = y.useMemo(() => v ? b.current ? "delayed-open" : "instant-open" : "closed", [v]), k = y.useCallback(() => {
6437
6437
  window.clearTimeout(d.current), d.current = 0, b.current = !1, w(!0);
6438
- }, [w]), S = y.useCallback(() => {
6438
+ }, [w]), E = y.useCallback(() => {
6439
6439
  window.clearTimeout(d.current), d.current = 0, w(!1);
6440
- }, [w]), C = y.useCallback(() => {
6440
+ }, [w]), T = y.useCallback(() => {
6441
6441
  window.clearTimeout(d.current), d.current = window.setTimeout(() => {
6442
6442
  b.current = !0, w(!0), d.current = 0;
6443
6443
  }, h);
@@ -6454,13 +6454,13 @@ var Je = "Tooltip", [bp, pr] = es(Je), Ti = (t) => {
6454
6454
  trigger: u,
6455
6455
  onTriggerChange: p,
6456
6456
  onTriggerEnter: y.useCallback(() => {
6457
- l.isOpenDelayedRef.current ? C() : k();
6458
- }, [l.isOpenDelayedRef, C, k]),
6457
+ l.isOpenDelayedRef.current ? T() : k();
6458
+ }, [l.isOpenDelayedRef, T, k]),
6459
6459
  onTriggerLeave: y.useCallback(() => {
6460
- g ? S() : (window.clearTimeout(d.current), d.current = 0);
6461
- }, [S, g]),
6460
+ g ? E() : (window.clearTimeout(d.current), d.current = 0);
6461
+ }, [E, g]),
6462
6462
  onOpen: k,
6463
- onClose: S,
6463
+ onClose: E,
6464
6464
  disableHoverableContent: g,
6465
6465
  children: r
6466
6466
  }
@@ -6469,7 +6469,7 @@ var Je = "Tooltip", [bp, pr] = es(Je), Ti = (t) => {
6469
6469
  Ti.displayName = Je;
6470
6470
  var Ps = "TooltipTrigger", ji = y.forwardRef(
6471
6471
  (t, e) => {
6472
- const { __scopeTooltip: r, ...s } = t, n = pr(Ps, r), a = hn(Ps, r), o = rs(r), i = y.useRef(null), l = ke(e, i, n.onTriggerChange), c = y.useRef(!1), u = y.useRef(!1), p = y.useCallback(() => c.current = !1, []);
6472
+ const { __scopeTooltip: r, ...s } = t, n = pr(Ps, r), a = hn(Ps, r), o = ss(r), i = y.useRef(null), l = ke(e, i, n.onTriggerChange), c = y.useRef(!1), u = y.useRef(!1), p = y.useCallback(() => c.current = !1, []);
6473
6473
  return y.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ f.jsx(ep, { asChild: !0, ...o, children: /* @__PURE__ */ f.jsx(
6474
6474
  le.button,
6475
6475
  {
@@ -6496,7 +6496,7 @@ var Ps = "TooltipTrigger", ji = y.forwardRef(
6496
6496
  }
6497
6497
  );
6498
6498
  ji.displayName = Ps;
6499
- var bn = "TooltipPortal", [vp, xp] = es(bn, {
6499
+ var bn = "TooltipPortal", [vp, xp] = rs(bn, {
6500
6500
  forceMount: void 0
6501
6501
  }), Ri = (t) => {
6502
6502
  const { __scopeTooltip: e, forceMount: r, children: s, container: n } = t, a = pr(bn, e);
@@ -6513,8 +6513,8 @@ var Re = "TooltipContent", $i = y.forwardRef(
6513
6513
  i(null), p(!1);
6514
6514
  }, [p]), d = y.useCallback(
6515
6515
  (g, h) => {
6516
- const b = g.currentTarget, v = { x: g.clientX, y: g.clientY }, w = Sp(v, b.getBoundingClientRect()), x = Np(v, w), k = Pp(h.getBoundingClientRect()), S = Cp([...x, ...k]);
6517
- i(S), p(!0);
6516
+ const b = g.currentTarget, v = { x: g.clientX, y: g.clientY }, w = Ep(v, b.getBoundingClientRect()), x = Np(v, w), k = Pp(h.getBoundingClientRect()), E = Cp([...x, ...k]);
6517
+ i(E), p(!0);
6518
6518
  },
6519
6519
  [p]
6520
6520
  );
@@ -6534,7 +6534,7 @@ var Re = "TooltipContent", $i = y.forwardRef(
6534
6534
  return document.addEventListener("pointermove", g), () => document.removeEventListener("pointermove", g);
6535
6535
  }
6536
6536
  }, [l, u, o, c, m]), /* @__PURE__ */ f.jsx(Ii, { ...t, ref: a });
6537
- }), [wp, kp] = es(Je, { isInside: !1 }), Ep = /* @__PURE__ */ C0("TooltipContent"), Ii = y.forwardRef(
6537
+ }), [wp, kp] = rs(Je, { isInside: !1 }), Sp = /* @__PURE__ */ C0("TooltipContent"), Ii = y.forwardRef(
6538
6538
  (t, e) => {
6539
6539
  const {
6540
6540
  __scopeTooltip: r,
@@ -6543,7 +6543,7 @@ var Re = "TooltipContent", $i = y.forwardRef(
6543
6543
  onEscapeKeyDown: a,
6544
6544
  onPointerDownOutside: o,
6545
6545
  ...i
6546
- } = t, l = pr(Re, r), c = rs(r), { onClose: u } = l;
6546
+ } = t, l = pr(Re, r), c = ss(r), { onClose: u } = l;
6547
6547
  return y.useEffect(() => (document.addEventListener(Ns, u), () => document.removeEventListener(Ns, u)), [u]), y.useEffect(() => {
6548
6548
  if (l.trigger) {
6549
6549
  const p = (m) => {
@@ -6576,7 +6576,7 @@ var Re = "TooltipContent", $i = y.forwardRef(
6576
6576
  "--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
6577
6577
  },
6578
6578
  children: [
6579
- /* @__PURE__ */ f.jsx(Ep, { children: s }),
6579
+ /* @__PURE__ */ f.jsx(Sp, { children: s }),
6580
6580
  /* @__PURE__ */ f.jsx(wp, { scope: r, isInside: !0, children: /* @__PURE__ */ f.jsx(mp, { id: l.contentId, role: "tooltip", children: n || s }) })
6581
6581
  ]
6582
6582
  }
@@ -6588,7 +6588,7 @@ var Re = "TooltipContent", $i = y.forwardRef(
6588
6588
  $i.displayName = Re;
6589
6589
  var Ai = "TooltipArrow", Di = y.forwardRef(
6590
6590
  (t, e) => {
6591
- const { __scopeTooltip: r, ...s } = t, n = rs(r);
6591
+ const { __scopeTooltip: r, ...s } = t, n = ss(r);
6592
6592
  return kp(
6593
6593
  Ai,
6594
6594
  r
@@ -6596,7 +6596,7 @@ var Ai = "TooltipArrow", Di = y.forwardRef(
6596
6596
  }
6597
6597
  );
6598
6598
  Di.displayName = Ai;
6599
- function Sp(t, e) {
6599
+ function Ep(t, e) {
6600
6600
  const r = Math.abs(e.top - t.y), s = Math.abs(e.bottom - t.y), n = Math.abs(e.right - t.x), a = Math.abs(e.left - t.x);
6601
6601
  switch (Math.min(r, s, n, a)) {
6602
6602
  case a:
@@ -6716,8 +6716,8 @@ function Bm({
6716
6716
  sideOffset: 8,
6717
6717
  collisionPadding: 8,
6718
6718
  "data-testid": "tooltip-content",
6719
- className: T(
6720
- "rst:z-50 rst:max-w-60 rst:rounded-lg rst:px-3 rst:py-2 rst:text-xs rst:leading-snug rst:shadow-xl",
6719
+ className: C(
6720
+ "rst:font-ui rst:z-50 rst:max-w-60 rst:rounded-lg rst:px-3 rst:py-2 rst:text-xs rst:leading-snug rst:shadow-xl",
6721
6721
  "rst:animate-in rst:fade-in-0 rst:zoom-in-95",
6722
6722
  "rst:data-[side=bottom]:slide-in-from-top-2",
6723
6723
  "rst:data-[side=top]:slide-in-from-bottom-2",
@@ -6762,13 +6762,13 @@ function Hm({
6762
6762
  return st(() => {
6763
6763
  const u = c.current;
6764
6764
  u && l(u.scrollHeight > u.clientHeight);
6765
- }, [t, e]), /* @__PURE__ */ f.jsxs("div", { className: n, children: [
6765
+ }, [t, e]), /* @__PURE__ */ f.jsxs("div", { className: C("rst:font-ui", n), children: [
6766
6766
  /* @__PURE__ */ f.jsx(
6767
6767
  "div",
6768
6768
  {
6769
6769
  ref: c,
6770
6770
  "data-testid": "collapsible-content",
6771
- className: T(!a && Fp[e], !a && "rst:overflow-hidden"),
6771
+ className: C(!a && Fp[e], !a && "rst:overflow-hidden"),
6772
6772
  style: !a && i ? {
6773
6773
  maskImage: "linear-gradient(to bottom, black 50%, transparent 100%)",
6774
6774
  WebkitMaskImage: "linear-gradient(to bottom, black 50%, transparent 100%)"
@@ -6797,12 +6797,12 @@ function zm({
6797
6797
  const n = t.reduce((o, i) => o + i.value, 0);
6798
6798
  if (n === 0) return null;
6799
6799
  const a = t.filter((o) => o.value > 0);
6800
- return /* @__PURE__ */ f.jsxs("div", { className: T("rst:flex rst:flex-col rst:gap-1.5", s), children: [
6800
+ return /* @__PURE__ */ f.jsxs("div", { className: C("rst:font-ui rst:flex rst:flex-col rst:gap-1.5", s), children: [
6801
6801
  /* @__PURE__ */ f.jsx(
6802
6802
  "div",
6803
6803
  {
6804
6804
  "data-testid": "segment-bar-track",
6805
- className: T(
6805
+ className: C(
6806
6806
  "rst:flex rst:w-full rst:overflow-hidden rst:rounded-full",
6807
6807
  e === "sm" ? "rst:h-1.5" : "rst:h-2"
6808
6808
  ),
@@ -6856,7 +6856,7 @@ function zm({
6856
6856
  ] });
6857
6857
  }
6858
6858
  const Mp = Z(
6859
- "rst:flex rst:items-start rst:gap-2.5 rst:rounded-lg rst:border-l-4 rst:px-4 rst:py-3 rst:text-sm",
6859
+ "rst:font-ui rst:flex rst:items-start rst:gap-2.5 rst:rounded-lg rst:border-l-4 rst:px-4 rst:py-3 rst:text-sm",
6860
6860
  {
6861
6861
  variants: {
6862
6862
  colorScheme: {
@@ -6865,59 +6865,119 @@ const Mp = Z(
6865
6865
  amber: "rst:border-amber-500 rst:bg-amber-50 rst:text-amber-900 rst:dark:border-amber-400 rst:dark:bg-amber-500/10 rst:dark:text-amber-200",
6866
6866
  info: "rst:border-info-500 rst:bg-info-50 rst:text-info-800 rst:dark:border-info-400 rst:dark:bg-info-500/10 rst:dark:text-info-200",
6867
6867
  primary: "rst:border-primary-500 rst:bg-primary-50 rst:text-primary-800 rst:dark:border-primary-400 rst:dark:bg-primary-500/10 rst:dark:text-primary-200",
6868
- neutral: "rst:border-gray-400 rst:bg-gray-50 rst:text-gray-800 rst:dark:border-gray-500 rst:dark:bg-gray-500/10 rst:dark:text-gray-200"
6868
+ neutral: "rst:border-gray-400 rst:bg-gray-50 rst:text-gray-800 rst:dark:border-gray-500 rst:dark:bg-gray-500/10 rst:dark:text-gray-200",
6869
+ /*
6870
+ * The fill is a wash of `currentColor` rather than a step off a ramp,
6871
+ * because there is no ramp to reach for: the color arrives from the
6872
+ * consuming page. One value serves both themes — 10% of whatever the
6873
+ * text color is reads correctly on paper and on a dark ground, where a
6874
+ * fixed tint would have to be declared twice and guessed at both times.
6875
+ */
6876
+ current: "rst:border-current rst:text-current rst:bg-current/10"
6877
+ },
6878
+ surface: {
6879
+ /* The existing flat tint, and still the default. */
6880
+ tint: "",
6881
+ /*
6882
+ * Set per scheme below: a gradient needs the color, not just a switch.
6883
+ * Each one clears the flat fill with `bg-transparent` in both themes —
6884
+ * a background-COLOR, since that is what the tint is. Clearing
6885
+ * `background-image` instead cancels the gradient itself, which is the
6886
+ * bug this shipped with for one build.
6887
+ */
6888
+ gradient: ""
6869
6889
  }
6870
6890
  },
6891
+ compoundVariants: [
6892
+ {
6893
+ surface: "gradient",
6894
+ colorScheme: "error",
6895
+ class: "rst:bg-transparent rst:dark:bg-transparent rst:bg-gradient-to-r rst:from-error-500/10 rst:to-transparent rst:dark:from-error-500/15"
6896
+ },
6897
+ {
6898
+ surface: "gradient",
6899
+ colorScheme: "success",
6900
+ class: "rst:bg-transparent rst:dark:bg-transparent rst:bg-gradient-to-r rst:from-success-500/10 rst:to-transparent rst:dark:from-success-500/15"
6901
+ },
6902
+ {
6903
+ surface: "gradient",
6904
+ colorScheme: "amber",
6905
+ class: "rst:bg-transparent rst:dark:bg-transparent rst:bg-gradient-to-r rst:from-amber-500/10 rst:to-transparent rst:dark:from-amber-500/15"
6906
+ },
6907
+ {
6908
+ surface: "gradient",
6909
+ colorScheme: "info",
6910
+ class: "rst:bg-transparent rst:dark:bg-transparent rst:bg-gradient-to-r rst:from-info-500/10 rst:to-transparent rst:dark:from-info-500/15"
6911
+ },
6912
+ {
6913
+ surface: "gradient",
6914
+ colorScheme: "primary",
6915
+ class: "rst:bg-transparent rst:dark:bg-transparent rst:bg-gradient-to-r rst:from-primary-500/10 rst:to-transparent rst:dark:from-primary-500/15"
6916
+ },
6917
+ {
6918
+ surface: "gradient",
6919
+ colorScheme: "neutral",
6920
+ class: "rst:bg-transparent rst:dark:bg-transparent rst:bg-gradient-to-r rst:from-gray-500/10 rst:to-transparent rst:dark:from-gray-500/15"
6921
+ },
6922
+ {
6923
+ surface: "gradient",
6924
+ colorScheme: "current",
6925
+ class: "rst:bg-transparent rst:dark:bg-transparent rst:bg-gradient-to-r rst:from-current/15 rst:to-transparent"
6926
+ }
6927
+ ],
6871
6928
  defaultVariants: {
6872
- colorScheme: "error"
6929
+ colorScheme: "error",
6930
+ surface: "tint"
6873
6931
  }
6874
6932
  }
6875
6933
  ), Lp = {
6876
6934
  error: Ui,
6877
6935
  success: Wi,
6878
6936
  amber: Oa,
6879
- info: ss,
6880
- primary: ss,
6881
- neutral: ss
6882
- }, _p = E.forwardRef(
6937
+ info: hr,
6938
+ primary: hr,
6939
+ neutral: hr,
6940
+ current: hr
6941
+ }, _p = S.forwardRef(
6883
6942
  ({
6884
6943
  colorScheme: t = "error",
6885
- title: e,
6886
- children: r,
6887
- icon: s,
6888
- onDismiss: n,
6889
- dismissLabel: a = "Dismiss",
6890
- className: o,
6891
- ...i
6892
- }, l) => {
6893
- const c = t === "error";
6944
+ surface: e,
6945
+ title: r,
6946
+ children: s,
6947
+ icon: n,
6948
+ onDismiss: a,
6949
+ dismissLabel: o = "Dismiss",
6950
+ className: i,
6951
+ ...l
6952
+ }, c) => {
6953
+ const u = t === "error";
6894
6954
  return /* @__PURE__ */ f.jsxs(
6895
6955
  "div",
6896
6956
  {
6897
- ref: l,
6898
- role: c ? "alert" : "status",
6899
- "aria-live": c ? "assertive" : "polite",
6900
- className: T(Mp({ colorScheme: t }), o),
6901
- ...i,
6957
+ ref: c,
6958
+ role: u ? "alert" : "status",
6959
+ "aria-live": u ? "assertive" : "polite",
6960
+ className: C(Mp({ colorScheme: t, surface: e }), i),
6961
+ ...l,
6902
6962
  children: [
6903
- s === void 0 ? /* @__PURE__ */ f.jsx(
6963
+ n === void 0 ? /* @__PURE__ */ f.jsx(
6904
6964
  mt,
6905
6965
  {
6906
6966
  icon: Lp[t ?? "error"],
6907
6967
  className: "rst:mt-0.5 rst:h-4 rst:w-4 rst:shrink-0",
6908
6968
  "aria-hidden": "true"
6909
6969
  }
6910
- ) : s,
6970
+ ) : n,
6911
6971
  /* @__PURE__ */ f.jsxs("div", { className: "rst:min-w-0 rst:flex-1", children: [
6912
- e && /* @__PURE__ */ f.jsx("p", { className: "rst:font-semibold", children: e }),
6913
- /* @__PURE__ */ f.jsx("div", { className: T("rst:min-w-0", e && "rst:mt-0.5 rst:opacity-90"), children: r })
6972
+ r && /* @__PURE__ */ f.jsx("p", { className: "rst:font-semibold", children: r }),
6973
+ /* @__PURE__ */ f.jsx("div", { className: C("rst:min-w-0", r && "rst:mt-0.5 rst:opacity-90"), children: s })
6914
6974
  ] }),
6915
- n && /* @__PURE__ */ f.jsx(
6975
+ a && /* @__PURE__ */ f.jsx(
6916
6976
  "button",
6917
6977
  {
6918
6978
  type: "button",
6919
- onClick: n,
6920
- "aria-label": a,
6979
+ onClick: a,
6980
+ "aria-label": o,
6921
6981
  className: "rst:-m-1 rst:shrink-0 rst:rounded rst:p-1 rst:opacity-60 rst:transition-opacity rst:hover:opacity-100 rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-current",
6922
6982
  children: /* @__PURE__ */ f.jsx(mt, { icon: Ge, className: "rst:h-3.5 rst:w-3.5", "aria-hidden": "true" })
6923
6983
  }
@@ -6944,7 +7004,7 @@ const Wm = ({
6944
7004
  return e ? m ? p.delete(c) : p.add(c) : (p.clear(), m || p.add(c)), p;
6945
7005
  });
6946
7006
  };
6947
- return /* @__PURE__ */ f.jsx("div", { className: T("rst:w-full rst:space-y-1", s), children: t.map((c, u) => /* @__PURE__ */ f.jsxs("div", { className: "rst:relative", children: [
7007
+ return /* @__PURE__ */ f.jsx("div", { className: C("rst:font-ui rst:w-full rst:space-y-1", s), children: t.map((c, u) => /* @__PURE__ */ f.jsxs("div", { className: "rst:relative", children: [
6948
7008
  n && u > 0 && /* @__PURE__ */ f.jsx("div", { className: "rst:mx-4 rst:h-px rst:bg-gray-200/50 rst:dark:bg-gray-700/50 rst:transition-colors rst:mb-1" }),
6949
7009
  /* @__PURE__ */ f.jsx(
6950
7010
  s0,
@@ -6973,22 +7033,22 @@ const Wm = ({
6973
7033
  }
6974
7034
  },
6975
7035
  defaultVariants: { layout: "inline", size: "sm" }
6976
- }), Bp = E.forwardRef(
7036
+ }), Bp = S.forwardRef(
6977
7037
  ({ items: t, layout: e, size: r, dividers: s = !1, className: n, ...a }, o) => /* @__PURE__ */ f.jsx(
6978
7038
  "dl",
6979
7039
  {
6980
7040
  ref: o,
6981
- className: T(Vp({ layout: e, size: r }), n),
7041
+ className: C(Vp({ layout: e, size: r }), n),
6982
7042
  ...a,
6983
7043
  children: t.map((i, l) => {
6984
7044
  const c = l === t.length - 1, u = s && !c ? "rst:border-b rst:border-gray-200 rst:pb-1.5 rst:dark:border-gray-800" : "";
6985
- return e === "stacked" ? /* @__PURE__ */ f.jsxs("div", { className: T("rst:flex rst:flex-col rst:gap-0.5", u), children: [
7045
+ return e === "stacked" ? /* @__PURE__ */ f.jsxs("div", { className: C("rst:flex rst:flex-col rst:gap-0.5", u), children: [
6986
7046
  /* @__PURE__ */ f.jsx("dt", { className: "rst:font-mono rst:uppercase rst:tracking-[0.08em] rst:text-gray-500 rst:dark:text-gray-400", children: i.term }),
6987
7047
  /* @__PURE__ */ f.jsx("dd", { className: "rst:m-0 rst:text-gray-900 rst:dark:text-gray-100", children: i.description })
6988
- ] }, l) : e === "split" ? /* @__PURE__ */ f.jsxs("div", { className: T("rst:flex rst:items-baseline rst:justify-between rst:gap-4", u), children: [
7048
+ ] }, l) : e === "split" ? /* @__PURE__ */ f.jsxs("div", { className: C("rst:flex rst:items-baseline rst:justify-between rst:gap-4", u), children: [
6989
7049
  /* @__PURE__ */ f.jsx("dt", { className: "rst:font-mono rst:uppercase rst:tracking-[0.08em] rst:text-gray-500 rst:dark:text-gray-400", children: i.term }),
6990
7050
  /* @__PURE__ */ f.jsx("dd", { className: "rst:m-0 rst:text-right rst:tabular-nums rst:text-gray-900 rst:dark:text-gray-100", children: i.description })
6991
- ] }, l) : /* @__PURE__ */ f.jsxs("div", { className: T("rst:contents", u), children: [
7051
+ ] }, l) : /* @__PURE__ */ f.jsxs("div", { className: C("rst:contents", u), children: [
6992
7052
  /* @__PURE__ */ f.jsx("dt", { className: "rst:whitespace-nowrap rst:font-mono rst:uppercase rst:tracking-[0.08em] rst:text-gray-500 rst:dark:text-gray-400", children: i.term }),
6993
7053
  /* @__PURE__ */ f.jsx("dd", { className: "rst:m-0 rst:text-gray-900 rst:dark:text-gray-100", children: i.description })
6994
7054
  ] }, l);
@@ -7024,12 +7084,12 @@ const Hp = Z("rst:my-1", {
7024
7084
  }
7025
7085
  },
7026
7086
  defaultVariants: { variant: "rule", colorScheme: "primary" }
7027
- }), zp = E.forwardRef(
7087
+ }), zp = S.forwardRef(
7028
7088
  ({ children: t, cite: e, citeUrl: r, variant: s, colorScheme: n, className: a, ...o }, i) => /* @__PURE__ */ f.jsxs(
7029
7089
  "figure",
7030
7090
  {
7031
7091
  ref: i,
7032
- className: T(Hp({ variant: s, colorScheme: n }), a),
7092
+ className: C(Hp({ variant: s, colorScheme: n }), a),
7033
7093
  ...o,
7034
7094
  children: [
7035
7095
  /* @__PURE__ */ f.jsx(
@@ -7047,7 +7107,7 @@ const Hp = Z("rst:my-1", {
7047
7107
  );
7048
7108
  zp.displayName = "Pullquote";
7049
7109
  const ga = Z(
7050
- "rst:flex rst:items-center rst:text-sm rst:font-medium rst:transition-colors",
7110
+ "rst:font-ui rst:flex rst:items-center rst:text-sm rst:font-medium rst:transition-colors",
7051
7111
  {
7052
7112
  variants: {
7053
7113
  variant: {
@@ -7071,14 +7131,14 @@ const ga = Z(
7071
7131
  className: i,
7072
7132
  ...l
7073
7133
  }) => {
7074
- const c = n ?? Se, u = e ?? /* @__PURE__ */ f.jsx("span", { className: "rst:text-gray-300 rst:dark:text-gray-600 rst:text-sm rst:transition-colors", children: "/" });
7075
- return /* @__PURE__ */ f.jsx("nav", { "aria-label": "Breadcrumb", className: T("rst:flex", i), ...l, children: /* @__PURE__ */ f.jsxs("ol", { className: "rst:flex rst:items-center rst:space-x-2", children: [
7134
+ const c = n ?? Ee, u = e ?? /* @__PURE__ */ f.jsx("span", { className: "rst:text-gray-300 rst:dark:text-gray-600 rst:text-sm rst:transition-colors", children: "/" });
7135
+ return /* @__PURE__ */ f.jsx("nav", { "aria-label": "Breadcrumb", className: C("rst:flex", i), ...l, children: /* @__PURE__ */ f.jsxs("ol", { className: "rst:flex rst:items-center rst:space-x-2", children: [
7076
7136
  r && /* @__PURE__ */ f.jsxs("li", { className: "rst:flex rst:items-center", children: [
7077
7137
  /* @__PURE__ */ f.jsx(
7078
7138
  c,
7079
7139
  {
7080
7140
  href: s,
7081
- className: T(
7141
+ className: C(
7082
7142
  ga({ variant: o }),
7083
7143
  "rst:hover:underline-none"
7084
7144
  ),
@@ -7112,7 +7172,7 @@ const ga = Z(
7112
7172
  d || !p.href ? /* @__PURE__ */ f.jsx(
7113
7173
  "span",
7114
7174
  {
7115
- className: T(
7175
+ className: C(
7116
7176
  "rst:font-semibold rst:text-sm rst:cursor-default rst:transition-colors",
7117
7177
  o === "inverse" ? "rst:text-white" : "rst:text-gray-900 rst:dark:text-gray-100",
7118
7178
  d && a,
@@ -7125,7 +7185,7 @@ const ga = Z(
7125
7185
  c,
7126
7186
  {
7127
7187
  href: p.href,
7128
- className: T(
7188
+ className: C(
7129
7189
  ga({ variant: o }),
7130
7190
  "rst:hover:underline",
7131
7191
  p.className
@@ -7138,7 +7198,7 @@ const ga = Z(
7138
7198
  })
7139
7199
  ] }) });
7140
7200
  }, Wp = Z(
7141
- "rst:relative rst:flex rst:flex-col rst:gap-4 rst:overflow-hidden rst:rounded-lg rst:border rst:p-6 rst:shadow-sm rst:transition-all rst:md:flex-row rst:md:items-center rst:md:justify-between",
7201
+ "rst:font-ui rst:relative rst:flex rst:flex-col rst:gap-4 rst:overflow-hidden rst:rounded-lg rst:border rst:p-6 rst:shadow-sm rst:transition-all rst:md:flex-row rst:md:items-center rst:md:justify-between",
7142
7202
  {
7143
7203
  variants: {
7144
7204
  variant: {
@@ -7163,7 +7223,7 @@ const ga = Z(
7163
7223
  onDismiss: a,
7164
7224
  className: o,
7165
7225
  ...i
7166
- }) => /* @__PURE__ */ f.jsxs("div", { className: T(Wp({ variant: n }), o), ...i, children: [
7226
+ }) => /* @__PURE__ */ f.jsxs("div", { className: C(Wp({ variant: n }), o), ...i, children: [
7167
7227
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:items-start rst:gap-4", children: [
7168
7228
  s && /* @__PURE__ */ f.jsx("div", { className: "rst:mt-1 rst:shrink-0 rst:text-current", children: s }),
7169
7229
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:gap-1.5 rst:w-full", children: [
@@ -7184,7 +7244,7 @@ const ga = Z(
7184
7244
  }
7185
7245
  ) })
7186
7246
  ] }), Up = Z(
7187
- "rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7247
+ "rst:font-ui rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7188
7248
  {
7189
7249
  variants: {
7190
7250
  variant: {
@@ -7204,13 +7264,13 @@ const ga = Z(
7204
7264
  variant: n,
7205
7265
  className: a,
7206
7266
  ...o
7207
- }) => /* @__PURE__ */ f.jsxs("div", { className: T(Up({ variant: n }), a), ...o, children: [
7267
+ }) => /* @__PURE__ */ f.jsxs("div", { className: C(Up({ variant: n }), a), ...o, children: [
7208
7268
  r && /* @__PURE__ */ f.jsx("div", { className: "rst:mb-4 rst:flex rst:h-12 rst:w-12 rst:items-center rst:justify-center rst:rounded-full rst:bg-gray-100 rst:text-gray-400 rst:dark:bg-gray-800 rst:dark:text-gray-500", children: /* @__PURE__ */ f.jsx("div", { className: "rst:h-6 rst:w-6 rst:[&>svg]:h-full rst:[&>svg]:w-full", children: r }) }),
7209
7269
  /* @__PURE__ */ f.jsx("h3", { className: "rst:text-lg rst:font-semibold rst:text-gray-900 rst:dark:text-gray-100", children: t }),
7210
7270
  e && /* @__PURE__ */ f.jsx("p", { className: "rst:mt-1 rst:max-w-sm rst:text-sm rst:text-gray-500 rst:dark:text-gray-400", children: e }),
7211
7271
  s && /* @__PURE__ */ f.jsx("div", { className: "rst:mt-6", children: s })
7212
7272
  ] }), Yp = Z(
7213
- "rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7273
+ "rst:font-ui rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7214
7274
  {
7215
7275
  variants: {
7216
7276
  variant: {
@@ -7231,7 +7291,7 @@ const ga = Z(
7231
7291
  variant: a,
7232
7292
  className: o,
7233
7293
  ...i
7234
- }) => /* @__PURE__ */ f.jsxs("div", { className: T(Yp({ variant: a }), o), ...i, children: [
7294
+ }) => /* @__PURE__ */ f.jsxs("div", { className: C(Yp({ variant: a }), o), ...i, children: [
7235
7295
  /* @__PURE__ */ f.jsx("div", { className: "rst:mb-4 rst:flex rst:h-12 rst:w-12 rst:items-center rst:justify-center rst:rounded-full rst:bg-error-100 rst:text-error-600 rst:dark:bg-error-500/15 rst:dark:text-error-400", children: /* @__PURE__ */ f.jsx("div", { className: "rst:h-6 rst:w-6 rst:flex rst:items-center rst:justify-center", children: n || /* @__PURE__ */ f.jsx(
7236
7296
  mt,
7237
7297
  {
@@ -7243,7 +7303,7 @@ const ga = Z(
7243
7303
  /* @__PURE__ */ f.jsx(
7244
7304
  "p",
7245
7305
  {
7246
- className: T(
7306
+ className: C(
7247
7307
  "rst:mt-2 rst:text-sm rst:leading-relaxed",
7248
7308
  a === "card" ? "rst:text-error-800/80 rst:dark:text-error-200/80" : "rst:text-gray-500 rst:dark:text-gray-400"
7249
7309
  ),
@@ -7279,7 +7339,7 @@ const ga = Z(
7279
7339
  }
7280
7340
  },
7281
7341
  defaultVariants: { state: "default" }
7282
- }), Gp = E.forwardRef(
7342
+ }), Gp = S.forwardRef(
7283
7343
  ({
7284
7344
  awayTeam: t,
7285
7345
  homeTeam: e,
@@ -7294,7 +7354,7 @@ const ga = Z(
7294
7354
  {
7295
7355
  ref: o,
7296
7356
  type: "button",
7297
- className: T(
7357
+ className: C(
7298
7358
  "rst:flex rst:items-center rst:gap-3 rst:rounded-lg rst:p-2 rst:text-left rst:transition rst:hover:bg-gray-100 rst:dark:hover:bg-slate-800",
7299
7359
  n
7300
7360
  ),
@@ -7313,7 +7373,7 @@ const ga = Z(
7313
7373
  t.accessory && /* @__PURE__ */ f.jsx(
7314
7374
  "span",
7315
7375
  {
7316
- className: T(
7376
+ className: C(
7317
7377
  "rst:text-sm rst:text-gray-800 rst:dark:text-gray-300",
7318
7378
  t.isWinner && "rst:font-bold"
7319
7379
  ),
@@ -7329,7 +7389,7 @@ const ga = Z(
7329
7389
  e.accessory && /* @__PURE__ */ f.jsx(
7330
7390
  "span",
7331
7391
  {
7332
- className: T(
7392
+ className: C(
7333
7393
  "rst:text-sm rst:text-gray-800 rst:dark:text-gray-300",
7334
7394
  e.isWinner && "rst:font-bold"
7335
7395
  ),
@@ -7354,7 +7414,7 @@ const ga = Z(
7354
7414
  );
7355
7415
  Gp.displayName = "MatchupCard";
7356
7416
  const Kp = Z(
7357
- "rst:w-full rst:z-40 rst:shadow-lg rst:backdrop-blur-md rst:transition-all",
7417
+ "rst:font-ui rst:w-full rst:z-40 rst:shadow-lg rst:backdrop-blur-md rst:transition-all",
7358
7418
  {
7359
7419
  variants: {
7360
7420
  variant: {
@@ -7389,7 +7449,7 @@ const Kp = Z(
7389
7449
  "div",
7390
7450
  {
7391
7451
  ref: c,
7392
- className: T(Kp({ variant: o, position: a }), i),
7452
+ className: C(Kp({ variant: o, position: a }), i),
7393
7453
  ...l,
7394
7454
  children: /* @__PURE__ */ f.jsxs("div", { className: "rst:container rst:mx-auto rst:p-4", children: [
7395
7455
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:justify-between rst:items-center", children: [
@@ -7675,10 +7735,10 @@ const hm = (t) => {
7675
7735
  size: "md"
7676
7736
  }
7677
7737
  }
7678
- ), xr = ({ value: t, label: e, size: r, variant: s }) => /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:items-center", children: [
7679
- /* @__PURE__ */ f.jsx("span", { className: T(bm({ size: r, variant: s })), children: String(t).padStart(2, "0") }),
7680
- /* @__PURE__ */ f.jsx("span", { className: T(vm({ size: r })), children: e })
7681
- ] }), xm = E.forwardRef(
7738
+ ), yr = ({ value: t, label: e, size: r, variant: s }) => /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:items-center", children: [
7739
+ /* @__PURE__ */ f.jsx("span", { className: C(bm({ size: r, variant: s })), children: String(t).padStart(2, "0") }),
7740
+ /* @__PURE__ */ f.jsx("span", { className: C(vm({ size: r })), children: e })
7741
+ ] }), xm = S.forwardRef(
7682
7742
  ({
7683
7743
  targetDate: t,
7684
7744
  title: e,
@@ -7693,27 +7753,27 @@ const hm = (t) => {
7693
7753
  "div",
7694
7754
  {
7695
7755
  ref: i,
7696
- className: T(
7756
+ className: C(
7697
7757
  "rst:font-bold rst:w-full rst:text-center rst:text-gray-900 rst:dark:text-gray-100",
7698
7758
  n
7699
7759
  ),
7700
7760
  ...o,
7701
- children: /* @__PURE__ */ f.jsx("h3", { className: T(ka({ size: r }), "rst:mb-0"), children: a })
7761
+ children: /* @__PURE__ */ f.jsx("h3", { className: C(ka({ size: r }), "rst:mb-0"), children: a })
7702
7762
  }
7703
7763
  ) : null : /* @__PURE__ */ f.jsxs(
7704
7764
  "div",
7705
7765
  {
7706
7766
  ref: i,
7707
- className: T(
7767
+ className: C(
7708
7768
  "rst:font-bold rst:w-full rst:text-center rst:text-gray-900 rst:dark:text-gray-100",
7709
7769
  n
7710
7770
  ),
7711
7771
  ...o,
7712
7772
  children: [
7713
- e && /* @__PURE__ */ f.jsx("h3", { className: T(ka({ size: r })), children: e }),
7773
+ e && /* @__PURE__ */ f.jsx("h3", { className: C(ka({ size: r })), children: e }),
7714
7774
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:justify-center rst:gap-4 rst:sm:gap-6 rst:md:gap-8", children: [
7715
7775
  /* @__PURE__ */ f.jsx(
7716
- xr,
7776
+ yr,
7717
7777
  {
7718
7778
  value: l,
7719
7779
  label: "Days",
@@ -7722,7 +7782,7 @@ const hm = (t) => {
7722
7782
  }
7723
7783
  ),
7724
7784
  /* @__PURE__ */ f.jsx(
7725
- xr,
7785
+ yr,
7726
7786
  {
7727
7787
  value: c,
7728
7788
  label: "Hours",
@@ -7731,7 +7791,7 @@ const hm = (t) => {
7731
7791
  }
7732
7792
  ),
7733
7793
  /* @__PURE__ */ f.jsx(
7734
- xr,
7794
+ yr,
7735
7795
  {
7736
7796
  value: u,
7737
7797
  label: "Minutes",
@@ -7740,7 +7800,7 @@ const hm = (t) => {
7740
7800
  }
7741
7801
  ),
7742
7802
  /* @__PURE__ */ f.jsx(
7743
- xr,
7803
+ yr,
7744
7804
  {
7745
7805
  value: p,
7746
7806
  label: "Seconds",
@@ -7787,7 +7847,7 @@ const ym = Z(
7787
7847
  status: "default"
7788
7848
  }
7789
7849
  }
7790
- ), wm = Z("rst:text-xl rst:font-bold rst:leading-6 rst:text-inherit"), km = Z("rst:mt-1 rst:text-sm rst:text-inherit rst:opacity-75"), Em = Z(
7850
+ ), wm = Z("rst:text-xl rst:font-bold rst:leading-6 rst:text-inherit"), km = Z("rst:mt-1 rst:text-sm rst:text-inherit rst:opacity-75"), Sm = Z(
7791
7851
  "rst:inline-flex rst:rounded-md rst:bg-transparent rst:text-inherit rst:opacity-50 rst:hover:opacity-100 rst:focus:outline-none rst:focus:ring-2 rst:focus:ring-primary-500 rst:focus:ring-offset-2 rst:transition-opacity"
7792
7852
  ), qm = ({
7793
7853
  isOpen: t,
@@ -7799,7 +7859,7 @@ const ym = Z(
7799
7859
  status: o,
7800
7860
  children: i,
7801
7861
  className: l
7802
- }) => /* @__PURE__ */ f.jsx(je, { appear: !0, show: t, as: xt, children: /* @__PURE__ */ f.jsxs(xd, { as: "div", className: "rst:relative rst:z-50", onClose: e, children: [
7862
+ }) => /* @__PURE__ */ f.jsx(je, { appear: !0, show: t, as: xt, children: /* @__PURE__ */ f.jsxs(xd, { as: "div", className: "rst:font-ui rst:relative rst:z-50", onClose: e, children: [
7803
7863
  /* @__PURE__ */ f.jsx(
7804
7864
  Ze,
7805
7865
  {
@@ -7813,7 +7873,7 @@ const ym = Z(
7813
7873
  children: /* @__PURE__ */ f.jsx(
7814
7874
  vd,
7815
7875
  {
7816
- className: T(
7876
+ className: C(
7817
7877
  "rst:fixed rst:inset-0 rst:transition-opacity",
7818
7878
  a === "glass" ? "rst:bg-slate-900/40 rst:dark:bg-black/60" : "rst:bg-slate-900/60 rst:dark:bg-black/80 rst:backdrop-blur-sm"
7819
7879
  )
@@ -7834,22 +7894,22 @@ const ym = Z(
7834
7894
  children: /* @__PURE__ */ f.jsxs(
7835
7895
  Bo,
7836
7896
  {
7837
- className: T(
7897
+ className: C(
7838
7898
  ym({ size: n, variant: a, status: o }),
7839
7899
  l
7840
7900
  ),
7841
7901
  children: [
7842
7902
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:items-start rst:justify-between", children: [
7843
7903
  /* @__PURE__ */ f.jsxs("div", { children: [
7844
- /* @__PURE__ */ f.jsx(Ho, { as: "h2", className: T(wm()), children: r }),
7845
- s && /* @__PURE__ */ f.jsx("p", { className: T(km()), children: s })
7904
+ /* @__PURE__ */ f.jsx(Ho, { as: "h2", className: C(wm()), children: r }),
7905
+ s && /* @__PURE__ */ f.jsx("p", { className: C(km()), children: s })
7846
7906
  ] }),
7847
7907
  /* @__PURE__ */ f.jsx("div", { className: "rst:ml-4 rst:flex rst:shrink-0", children: /* @__PURE__ */ f.jsx(
7848
7908
  "button",
7849
7909
  {
7850
7910
  type: "button",
7851
7911
  onClick: e,
7852
- className: T(Em()),
7912
+ className: C(Sm()),
7853
7913
  "aria-label": "Close dialog",
7854
7914
  children: /* @__PURE__ */ f.jsx(mt, { icon: Ge, className: "rst:h-5 rst:w-5" })
7855
7915
  }
@@ -7861,8 +7921,8 @@ const ym = Z(
7861
7921
  )
7862
7922
  }
7863
7923
  ) }) })
7864
- ] }) }), Sm = Z(
7865
- "rst:w-full rst:py-6 rst:mt-auto rst:transition-colors rst:duration-200",
7924
+ ] }) }), Em = Z(
7925
+ "rst:font-ui rst:w-full rst:py-6 rst:mt-auto rst:transition-colors rst:duration-200",
7866
7926
  {
7867
7927
  variants: {
7868
7928
  variant: {
@@ -7881,14 +7941,14 @@ const ym = Z(
7881
7941
  variant: "default"
7882
7942
  }
7883
7943
  }
7884
- ), Nm = E.forwardRef(
7944
+ ), Nm = S.forwardRef(
7885
7945
  ({ className: t, variant: e, companyName: r = "Ball Collaborative", links: s, routerElement: n, ...a }, o) => {
7886
7946
  const i = (/* @__PURE__ */ new Date()).getFullYear(), l = n ?? "a";
7887
7947
  return /* @__PURE__ */ f.jsx(
7888
7948
  "footer",
7889
7949
  {
7890
7950
  ref: o,
7891
- className: T(Sm({ variant: e }), t),
7951
+ className: C(Em({ variant: e }), t),
7892
7952
  ...a,
7893
7953
  children: /* @__PURE__ */ f.jsxs("div", { className: "rst:container rst:mx-auto rst:px-4 rst:flex rst:flex-col rst:items-center rst:gap-2", children: [
7894
7954
  s && s.length > 0 && /* @__PURE__ */ f.jsx("nav", { "aria-label": "Footer navigation", className: "rst:flex rst:flex-wrap rst:justify-center rst:gap-x-5 rst:gap-y-1", children: s.map((c) => /* @__PURE__ */ f.jsx(
@@ -7915,7 +7975,7 @@ const ym = Z(
7915
7975
  );
7916
7976
  Nm.displayName = "Footer";
7917
7977
  const Pm = Z(
7918
- "rst:w-full rst:z-30 rst:border-b rst:transition-colors rst:duration-200",
7978
+ "rst:font-ui rst:w-full rst:z-30 rst:border-b rst:transition-colors rst:duration-200",
7919
7979
  {
7920
7980
  variants: {
7921
7981
  variant: {
@@ -7944,9 +8004,9 @@ const Pm = Z(
7944
8004
  position: "sticky"
7945
8005
  }
7946
8006
  }
7947
- ), Ea = (t, e) => typeof t == "function" ? t({ close: e }) : t;
8007
+ ), Sa = (t, e) => typeof t == "function" ? t({ close: e }) : t;
7948
8008
  function Om(t) {
7949
- return E.useSyncExternalStore(
8009
+ return S.useSyncExternalStore(
7950
8010
  (e) => {
7951
8011
  if (!t || typeof document > "u") return () => {
7952
8012
  };
@@ -8000,8 +8060,8 @@ const Xm = ({
8000
8060
  position: w = "sticky",
8001
8061
  themeMode: x,
8002
8062
  notificationVariant: k = "error",
8003
- notificationFill: S = "solid",
8004
- ...C
8063
+ notificationFill: E = "solid",
8064
+ ...T
8005
8065
  }) => {
8006
8066
  const P = (i?.notificationCount || 0) > 0, M = typeof e == "number" ? `${e}px` : e, z = { width: M, height: M }, N = Om(x === "auto"), L = (x === "auto" ? N ? "dark" : "light" : x ?? (v === "white" || v === "default" ? "light" : "dark")) === "dark", _ = v === "slate" || v === "primary" || v === "default" && L || v === "white" && L || v === "transparent" && L, R = {
8007
8067
  brand: _ ? "rst:text-white rst:dark:text-white rst:hover:text-gray-200 rst:dark:hover:text-gray-200" : "rst:text-gray-900 rst:dark:text-gray-900 rst:hover:text-gray-600 rst:dark:hover:text-gray-600",
@@ -8013,21 +8073,21 @@ const Xm = ({
8013
8073
  oi,
8014
8074
  {
8015
8075
  as: "nav",
8016
- className: T("rst:z-50", Pm({ variant: v, position: w }), b),
8017
- ...C,
8076
+ className: C("rst:z-50", Pm({ variant: v, position: w }), b),
8077
+ ...T,
8018
8078
  children: ({ open: D, close: F }) => {
8019
- const U = Ea(m, F), O = Ea(g, F);
8079
+ const U = Sa(m, F), O = Sa(g, F);
8020
8080
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
8021
8081
  /* @__PURE__ */ f.jsxs("div", { className: "rst:container rst:mx-auto rst:flex rst:items-center rst:justify-between rst:px-4 rst:h-16", children: [
8022
8082
  /* @__PURE__ */ f.jsxs(
8023
- Se,
8083
+ Ee,
8024
8084
  {
8025
8085
  as: o,
8026
8086
  href: "/",
8027
8087
  to: "/",
8028
8088
  variant: "neutral",
8029
8089
  underline: "none",
8030
- className: T(
8090
+ className: C(
8031
8091
  "rst:flex rst:items-center rst:gap-3 rst:transition-opacity",
8032
8092
  R.brand
8033
8093
  ),
@@ -8038,7 +8098,7 @@ const Xm = ({
8038
8098
  src: t,
8039
8099
  alt: `${s} Logo`,
8040
8100
  style: z,
8041
- className: T("rst:shrink-0", r ?? "rst:rounded-md")
8101
+ className: C("rst:shrink-0", r ?? "rst:rounded-md")
8042
8102
  }
8043
8103
  ),
8044
8104
  d ?? /* @__PURE__ */ f.jsx("span", { className: "rst:text-xl rst:font-bold rst:tracking-tight", children: s })
@@ -8049,14 +8109,14 @@ const Xm = ({
8049
8109
  /* @__PURE__ */ f.jsx("div", { className: "rst:flex rst:items-center rst:gap-6", children: n.map((j) => {
8050
8110
  const H = a === j.path;
8051
8111
  return /* @__PURE__ */ f.jsxs(
8052
- Se,
8112
+ Ee,
8053
8113
  {
8054
8114
  as: o,
8055
8115
  href: j.path,
8056
8116
  to: j.path,
8057
8117
  variant: "neutral",
8058
8118
  underline: "none",
8059
- className: T(
8119
+ className: C(
8060
8120
  "rst:inline-flex rst:items-center rst:gap-1.5 rst:text-sm rst:transition-colors rst:duration-200",
8061
8121
  H ? R.linkActive : R.linkBase
8062
8122
  ),
@@ -8085,7 +8145,7 @@ const Xm = ({
8085
8145
  P && /* @__PURE__ */ f.jsx("div", { className: "rst:absolute rst:-top-1 rst:-right-2", children: /* @__PURE__ */ f.jsx(
8086
8146
  ks,
8087
8147
  {
8088
- fill: S,
8148
+ fill: E,
8089
8149
  size: "xs",
8090
8150
  statusBadge: !0,
8091
8151
  variant: k,
@@ -8112,7 +8172,7 @@ const Xm = ({
8112
8172
  colorScheme: "neutral",
8113
8173
  size: "sm",
8114
8174
  onClick: u,
8115
- className: T(
8175
+ className: C(
8116
8176
  "rst:w-full rst:justify-start rst:rounded-none rst:px-4",
8117
8177
  j && "rst:bg-gray-50 rst:dark:bg-gray-700"
8118
8178
  ),
@@ -8138,7 +8198,7 @@ const Xm = ({
8138
8198
  },
8139
8199
  role: "button",
8140
8200
  tabIndex: 0,
8141
- className: T(
8201
+ className: C(
8142
8202
  "rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-2 rst:text-sm rst:text-gray-700 rst:dark:text-gray-200 rst:cursor-pointer rst:transition-colors",
8143
8203
  j && "rst:bg-gray-50 rst:dark:bg-gray-700"
8144
8204
  ),
@@ -8151,7 +8211,7 @@ const Xm = ({
8151
8211
  mt,
8152
8212
  {
8153
8213
  icon: ps,
8154
- className: T(
8214
+ className: C(
8155
8215
  "rst:w-4 rst:transition-colors",
8156
8216
  L ? "rst:text-amber-500" : "rst:text-gray-400"
8157
8217
  )
@@ -8175,14 +8235,14 @@ const Xm = ({
8175
8235
  ) })
8176
8236
  ] }),
8177
8237
  h.length > 0 && /* @__PURE__ */ f.jsx("div", { className: "rst:py-1", children: h.map((j) => /* @__PURE__ */ f.jsx(ze, { children: ({ focus: H }) => /* @__PURE__ */ f.jsxs(
8178
- Se,
8238
+ Ee,
8179
8239
  {
8180
8240
  as: o,
8181
8241
  href: j.path,
8182
8242
  to: j.path,
8183
8243
  variant: "neutral",
8184
8244
  underline: "none",
8185
- className: T(
8245
+ className: C(
8186
8246
  "rst:flex rst:w-full rst:items-center rst:justify-between rst:gap-2 rst:px-4 rst:py-2 rst:text-sm rst:text-gray-700 rst:dark:text-gray-200 rst:transition-colors",
8187
8247
  H && "rst:bg-gray-50 rst:dark:bg-gray-700"
8188
8248
  ),
@@ -8199,7 +8259,7 @@ const Xm = ({
8199
8259
  colorScheme: "neutral",
8200
8260
  size: "sm",
8201
8261
  onClick: c,
8202
- className: T(
8262
+ className: C(
8203
8263
  "rst:w-full rst:justify-start rst:rounded-none rst:px-4",
8204
8264
  j && "rst:bg-gray-50 rst:dark:bg-gray-700"
8205
8265
  ),
@@ -8219,9 +8279,9 @@ const Xm = ({
8219
8279
  ] }) : /* @__PURE__ */ f.jsx(Ut, { size: "sm", variant: "solid", colorScheme: "primary", onClick: l, children: "Log In" }))
8220
8280
  ] }),
8221
8281
  /* @__PURE__ */ f.jsx("div", { "data-roster-hamburger": !0, className: "rst:flex rst:md:hidden", children: /* @__PURE__ */ f.jsxs(
8222
- Cr,
8282
+ Tr,
8223
8283
  {
8224
- className: T(
8284
+ className: C(
8225
8285
  "rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:focus:outline-none rst:focus:ring-2 rst:focus:ring-inset rst:focus:ring-primary-500",
8226
8286
  R.hamburger
8227
8287
  ),
@@ -8276,12 +8336,12 @@ const Xm = ({
8276
8336
  src: t,
8277
8337
  alt: s,
8278
8338
  style: z,
8279
- className: T("rst:shrink-0", r ?? "rst:rounded-md")
8339
+ className: C("rst:shrink-0", r ?? "rst:rounded-md")
8280
8340
  }
8281
8341
  ),
8282
8342
  d ?? /* @__PURE__ */ f.jsx("span", { className: "rst:font-bold rst:text-gray-900 rst:dark:text-white", children: s })
8283
8343
  ] }),
8284
- /* @__PURE__ */ f.jsx("div", { className: "rst:-mr-2", children: /* @__PURE__ */ f.jsxs(Cr, { className: "rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:text-gray-400 rst:hover:bg-gray-100 rst:dark:hover:bg-gray-700 rst:hover:text-gray-500 rst:dark:hover:text-white rst:focus:outline-none", children: [
8344
+ /* @__PURE__ */ f.jsx("div", { className: "rst:-mr-2", children: /* @__PURE__ */ f.jsxs(Tr, { className: "rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:text-gray-400 rst:hover:bg-gray-100 rst:dark:hover:bg-gray-700 rst:hover:text-gray-500 rst:dark:hover:text-white rst:focus:outline-none", children: [
8285
8345
  /* @__PURE__ */ f.jsx("span", { className: "rst:sr-only", children: "Close menu" }),
8286
8346
  /* @__PURE__ */ f.jsx(
8287
8347
  mt,
@@ -8299,7 +8359,7 @@ const Xm = ({
8299
8359
  n.map((j) => {
8300
8360
  const H = a === j.path;
8301
8361
  return /* @__PURE__ */ f.jsx(
8302
- Se,
8362
+ Ee,
8303
8363
  {
8304
8364
  as: o,
8305
8365
  href: j.path,
@@ -8307,7 +8367,7 @@ const Xm = ({
8307
8367
  onClick: () => F(),
8308
8368
  variant: "neutral",
8309
8369
  underline: "none",
8310
- className: T(
8370
+ className: C(
8311
8371
  "rst:-m-3 rst:flex rst:items-center rst:rounded-md rst:p-3 rst:transition-colors",
8312
8372
  "rst:hover:bg-gray-50 rst:dark:hover:bg-gray-700",
8313
8373
  H ? "rst:bg-gray-50 rst:dark:bg-gray-700" : "rst:text-gray-900 rst:dark:text-gray-100"
@@ -8315,7 +8375,7 @@ const Xm = ({
8315
8375
  children: /* @__PURE__ */ f.jsxs(
8316
8376
  "span",
8317
8377
  {
8318
- className: T(
8378
+ className: C(
8319
8379
  "rst:ml-3 rst:inline-flex rst:items-center rst:gap-1.5 rst:text-base rst:font-medium",
8320
8380
  H ? "rst:text-primary-600 rst:dark:text-primary-400 rst:font-bold" : "rst:text-gray-900 rst:dark:text-gray-100"
8321
8381
  ),
@@ -8334,7 +8394,7 @@ const Xm = ({
8334
8394
  h.map((j) => {
8335
8395
  const H = a === j.path;
8336
8396
  return /* @__PURE__ */ f.jsxs(
8337
- Se,
8397
+ Ee,
8338
8398
  {
8339
8399
  as: o,
8340
8400
  href: j.path,
@@ -8342,7 +8402,7 @@ const Xm = ({
8342
8402
  onClick: () => F(),
8343
8403
  variant: "neutral",
8344
8404
  underline: "none",
8345
- className: T(
8405
+ className: C(
8346
8406
  "rst:-m-3 rst:flex rst:items-center rst:rounded-md rst:p-3 rst:transition-colors",
8347
8407
  "rst:hover:bg-gray-50 rst:dark:hover:bg-gray-700",
8348
8408
  H ? "rst:bg-gray-50 rst:dark:bg-gray-700" : "rst:text-gray-900 rst:dark:text-gray-100"
@@ -8351,7 +8411,7 @@ const Xm = ({
8351
8411
  /* @__PURE__ */ f.jsx(
8352
8412
  "span",
8353
8413
  {
8354
- className: T(
8414
+ className: C(
8355
8415
  "rst:ml-3 rst:text-base rst:font-medium",
8356
8416
  H ? "rst:text-primary-600 rst:dark:text-primary-400 rst:font-bold" : "rst:text-gray-900 rst:dark:text-gray-100"
8357
8417
  ),
@@ -8392,7 +8452,7 @@ const Xm = ({
8392
8452
  endIcon: /* @__PURE__ */ f.jsx(
8393
8453
  ks,
8394
8454
  {
8395
- fill: S,
8455
+ fill: E,
8396
8456
  size: "xs",
8397
8457
  statusBadge: !0,
8398
8458
  variant: k,
@@ -8420,7 +8480,7 @@ const Xm = ({
8420
8480
  mt,
8421
8481
  {
8422
8482
  icon: ps,
8423
- className: T(
8483
+ className: C(
8424
8484
  "rst:w-5 rst:transition-colors",
8425
8485
  L ? "rst:text-amber-500" : "rst:text-gray-400"
8426
8486
  )
@@ -8532,13 +8592,13 @@ export {
8532
8592
  s0 as Disclosure,
8533
8593
  Gm as EmptyState,
8534
8594
  Km as ErrorState,
8535
- Tr as Eyebrow,
8595
+ jr as Eyebrow,
8536
8596
  Nm as Footer,
8537
8597
  d0 as InlineCode,
8538
8598
  ii as Input,
8539
8599
  Qm as KONAMI_CODE,
8540
8600
  f0 as LabeledDivider,
8541
- Se as Link,
8601
+ Ee as Link,
8542
8602
  Vm as LiquidTabs,
8543
8603
  Gp as MatchupCard,
8544
8604
  Xm as Navbar,
@@ -8558,7 +8618,7 @@ export {
8558
8618
  ig as TableHead,
8559
8619
  lg as TableHeader,
8560
8620
  cg as TableRow,
8561
- S0 as Textarea,
8621
+ E0 as Textarea,
8562
8622
  x0 as ThemeToggle,
8563
8623
  Bm as Tooltip,
8564
8624
  Kp as actionBarVariants,
@@ -8569,7 +8629,7 @@ export {
8569
8629
  ug as buttonVariants,
8570
8630
  Qf as cardVariants,
8571
8631
  Jf as checkboxVariants,
8572
- T as cn,
8632
+ C as cn,
8573
8633
  Wp as ctaVariants,
8574
8634
  Vp as descriptionListVariants,
8575
8635
  r0 as disclosureContentVariants,
@@ -8595,7 +8655,7 @@ export {
8595
8655
  mg as tableRowVariants,
8596
8656
  gg as tableVariants,
8597
8657
  hg as tableWrapperVariants,
8598
- E0 as textareaVariants,
8658
+ S0 as textareaVariants,
8599
8659
  hm as useCountdown,
8600
8660
  Zm as useKeySequence
8601
8661
  };