@blakesteve/roster 2.0.0 → 2.1.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,6 +1,6 @@
1
1
  "use client";
2
2
  import * as j from "react";
3
- import $, { useRef as Y, useCallback as ie, useEffect as me, useState as ae, useMemo as ye, useLayoutEffect as Ko, useContext as fe, createContext as Ce, forwardRef as qo, isValidElement as Xo, cloneElement as zl, createElement as cf, Fragment as Ie, useId as xe, useSyncExternalStore as df, useReducer as ff, createRef as gf } from "react";
3
+ import C, { useRef as Y, useCallback as ie, useEffect as me, useState as ae, useMemo as ye, useLayoutEffect as Ko, useContext as fe, createContext as Ce, forwardRef as qo, isValidElement as Xo, cloneElement as zl, createElement as cf, Fragment as Ie, useId as xe, useSyncExternalStore as df, useReducer as ff, createRef as gf } from "react";
4
4
  import * as Bn from "react-dom";
5
5
  import { flushSync as rr, createPortal as Hl } from "react-dom";
6
6
  var Sn = { exports: {} }, Or = {};
@@ -36,17 +36,17 @@ function pf() {
36
36
  return E.$$typeof === O ? null : E.displayName || E.name || null;
37
37
  if (typeof E == "string") return E;
38
38
  switch (E) {
39
- case v:
39
+ case h:
40
40
  return "Fragment";
41
41
  case x:
42
42
  return "Profiler";
43
43
  case b:
44
44
  return "StrictMode";
45
- case C:
45
+ case P:
46
46
  return "Suspense";
47
- case I:
47
+ case F:
48
48
  return "SuspenseList";
49
- case P:
49
+ case I:
50
50
  return "Activity";
51
51
  }
52
52
  if (typeof E == "object")
@@ -62,7 +62,7 @@ function pf() {
62
62
  case w:
63
63
  var L = E.render;
64
64
  return E = E.displayName, E || (E = L.displayName || L.name || "", E = E !== "" ? "ForwardRef(" + E + ")" : "ForwardRef"), E;
65
- case F:
65
+ case R:
66
66
  return L = E.displayName || null, L !== null ? L : e(E.type) || "Memo";
67
67
  case W:
68
68
  L = E._payload, E = E._init;
@@ -85,8 +85,8 @@ function pf() {
85
85
  }
86
86
  if (L) {
87
87
  L = console;
88
- var R = L.error, A = typeof Symbol == "function" && Symbol.toStringTag && E[Symbol.toStringTag] || E.constructor.name || "Object";
89
- return R.call(
88
+ var $ = L.error, A = typeof Symbol == "function" && Symbol.toStringTag && E[Symbol.toStringTag] || E.constructor.name || "Object";
89
+ return $.call(
90
90
  L,
91
91
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
92
92
  A
@@ -94,7 +94,7 @@ function pf() {
94
94
  }
95
95
  }
96
96
  function n(E) {
97
- if (E === v) return "<>";
97
+ if (E === h) return "<>";
98
98
  if (typeof E == "object" && E !== null && E.$$typeof === W)
99
99
  return "<...>";
100
100
  try {
@@ -119,14 +119,14 @@ function pf() {
119
119
  return E.key !== void 0;
120
120
  }
121
121
  function s(E, L) {
122
- function R() {
122
+ function $() {
123
123
  B || (B = !0, console.error(
124
124
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
125
125
  L
126
126
  ));
127
127
  }
128
- R.isReactWarning = !0, Object.defineProperty(E, "key", {
129
- get: R,
128
+ $.isReactWarning = !0, Object.defineProperty(E, "key", {
129
+ get: $,
130
130
  configurable: !0
131
131
  });
132
132
  }
@@ -136,13 +136,13 @@ function pf() {
136
136
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
137
137
  )), E = this.props.ref, E !== void 0 ? E : null;
138
138
  }
139
- function u(E, L, R, A, Q, G) {
140
- var D = R.ref;
139
+ function u(E, L, $, A, Q, G) {
140
+ var D = $.ref;
141
141
  return E = {
142
142
  $$typeof: m,
143
143
  type: E,
144
144
  key: L,
145
- props: R,
145
+ props: $,
146
146
  _owner: A
147
147
  }, (D !== void 0 ? D : null) !== null ? Object.defineProperty(E, "ref", {
148
148
  enumerable: !1,
@@ -169,7 +169,7 @@ function pf() {
169
169
  value: G
170
170
  }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
171
171
  }
172
- function c(E, L, R, A, Q, G) {
172
+ function c(E, L, $, A, Q, G) {
173
173
  var D = L.children;
174
174
  if (D !== void 0)
175
175
  if (A)
@@ -200,18 +200,18 @@ React keys must be passed directly to JSX without using spread:
200
200
  D
201
201
  ), re[D + A] = !0);
202
202
  }
203
- if (D = null, R !== void 0 && (r(R), D = "" + R), i(L) && (r(L.key), D = "" + L.key), "key" in L) {
204
- R = {};
203
+ if (D = null, $ !== void 0 && (r($), D = "" + $), i(L) && (r(L.key), D = "" + L.key), "key" in L) {
204
+ $ = {};
205
205
  for (var Se in L)
206
- Se !== "key" && (R[Se] = L[Se]);
207
- } else R = L;
206
+ Se !== "key" && ($[Se] = L[Se]);
207
+ } else $ = L;
208
208
  return D && s(
209
- R,
209
+ $,
210
210
  typeof E == "function" ? E.displayName || E.name || "Unknown" : E
211
211
  ), u(
212
212
  E,
213
213
  D,
214
- R,
214
+ $,
215
215
  a(),
216
216
  Q,
217
217
  G
@@ -223,7 +223,7 @@ React keys must be passed directly to JSX without using spread:
223
223
  function g(E) {
224
224
  return typeof E == "object" && E !== null && E.$$typeof === m;
225
225
  }
226
- var d = $, m = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), v = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), S = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), I = /* @__PURE__ */ Symbol.for("react.suspense_list"), F = /* @__PURE__ */ Symbol.for("react.memo"), W = /* @__PURE__ */ Symbol.for("react.lazy"), P = /* @__PURE__ */ Symbol.for("react.activity"), O = /* @__PURE__ */ Symbol.for("react.client.reference"), K = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, M = Array.isArray, V = console.createTask ? console.createTask : function() {
226
+ var d = C, m = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), x = /* @__PURE__ */ Symbol.for("react.profiler"), y = /* @__PURE__ */ Symbol.for("react.consumer"), S = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), P = /* @__PURE__ */ Symbol.for("react.suspense"), F = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), W = /* @__PURE__ */ Symbol.for("react.lazy"), I = /* @__PURE__ */ Symbol.for("react.activity"), O = /* @__PURE__ */ Symbol.for("react.client.reference"), K = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, X = Object.prototype.hasOwnProperty, M = Array.isArray, V = console.createTask ? console.createTask : function() {
227
227
  return null;
228
228
  };
229
229
  d = {
@@ -235,22 +235,22 @@ React keys must be passed directly to JSX without using spread:
235
235
  d,
236
236
  o
237
237
  )(), U = V(n(o)), re = {};
238
- _r.Fragment = v, _r.jsx = function(E, L, R) {
238
+ _r.Fragment = h, _r.jsx = function(E, L, $) {
239
239
  var A = 1e4 > K.recentlyCreatedOwnerStacks++;
240
240
  return c(
241
241
  E,
242
242
  L,
243
- R,
243
+ $,
244
244
  !1,
245
245
  A ? Error("react-stack-top-frame") : k,
246
246
  A ? V(n(E)) : U
247
247
  );
248
- }, _r.jsxs = function(E, L, R) {
248
+ }, _r.jsxs = function(E, L, $) {
249
249
  var A = 1e4 > K.recentlyCreatedOwnerStacks++;
250
250
  return c(
251
251
  E,
252
252
  L,
253
- R,
253
+ $,
254
254
  !0,
255
255
  A ? Error("react-stack-top-frame") : k,
256
256
  A ? V(n(E)) : U
@@ -262,8 +262,8 @@ var Ji;
262
262
  function hf() {
263
263
  return Ji || (Ji = 1, process.env.NODE_ENV === "production" ? Sn.exports = mf() : Sn.exports = pf()), Sn.exports;
264
264
  }
265
- var h = hf();
266
- const vf = typeof document < "u" ? $.useLayoutEffect : () => {
265
+ var v = hf();
266
+ const vf = typeof document < "u" ? C.useLayoutEffect : () => {
267
267
  }, Gt = (e) => {
268
268
  var t;
269
269
  return (t = e?.ownerDocument) !== null && t !== void 0 ? t : document;
@@ -627,11 +627,11 @@ function zf(e) {
627
627
  let m = f.currentTarget;
628
628
  i(g, "focus", (p) => {
629
629
  if (o.current.isFocusWithin && !Pt(m, p.target)) {
630
- let v = new g.defaultView.FocusEvent("blur", {
630
+ let h = new g.defaultView.FocusEvent("blur", {
631
631
  relatedTarget: p.target
632
632
  });
633
- Af(v, m);
634
- let b = Kl(v);
633
+ Af(h, m);
634
+ let b = Kl(h);
635
635
  l(b);
636
636
  }
637
637
  }, {
@@ -682,8 +682,8 @@ function Bt(e) {
682
682
  }).current;
683
683
  me(Hf, []);
684
684
  let { addGlobalListener: l, removeAllGlobalListeners: u } = Yl(), { hoverProps: c, triggerHoverEnd: f } = ye(() => {
685
- let g = (p, v) => {
686
- if (s.pointerType = v, a || v === "touch" || s.isHovered || !Pt(p.currentTarget, p.target)) return;
685
+ let g = (p, h) => {
686
+ if (s.pointerType = h, a || h === "touch" || s.isHovered || !Pt(p.currentTarget, p.target)) return;
687
687
  s.isHovered = !0;
688
688
  let b = p.currentTarget;
689
689
  s.target = b, l(Gt(p.target), "pointerover", (x) => {
@@ -693,14 +693,14 @@ function Bt(e) {
693
693
  }), t && t({
694
694
  type: "hoverstart",
695
695
  target: b,
696
- pointerType: v
696
+ pointerType: h
697
697
  }), r && r(!0), i(!0);
698
- }, d = (p, v) => {
698
+ }, d = (p, h) => {
699
699
  let b = s.target;
700
- s.pointerType = "", s.target = null, !(v === "touch" || !s.isHovered || !b) && (s.isHovered = !1, u(), n && n({
700
+ s.pointerType = "", s.target = null, !(h === "touch" || !s.isHovered || !b) && (s.isHovered = !1, u(), n && n({
701
701
  type: "hoverend",
702
702
  target: b,
703
- pointerType: v
703
+ pointerType: h
704
704
  }), r && r(!1), i(!1));
705
705
  }, m = {};
706
706
  return typeof PointerEvent < "u" ? (m.onPointerEnter = (p) => {
@@ -869,7 +869,7 @@ function lt(e) {
869
869
  }
870
870
  let T = function(e) {
871
871
  let t = lt(e);
872
- return $.useCallback((...r) => t.current(...r), [t]);
872
+ return C.useCallback((...r) => t.current(...r), [t]);
873
873
  };
874
874
  function Uf(e) {
875
875
  let t = e.width / 2, r = e.height / 2;
@@ -905,7 +905,7 @@ function St() {
905
905
  return fe(eu);
906
906
  }
907
907
  function Kf({ value: e, children: t }) {
908
- return $.createElement(eu.Provider, { value: e }, t);
908
+ return C.createElement(eu.Provider, { value: e }, t);
909
909
  }
910
910
  function vo(...e) {
911
911
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
@@ -948,7 +948,7 @@ function $n(e, t = {}, r, n, a) {
948
948
  let f = {};
949
949
  if (t) {
950
950
  let g = !1, d = [];
951
- for (let [m, p] of Object.entries(t)) typeof p == "boolean" && (g = !0), p === !0 && d.push(m.replace(/([A-Z])/g, (v) => `-${v.toLowerCase()}`));
951
+ for (let [m, p] of Object.entries(t)) typeof p == "boolean" && (g = !0), p === !0 && d.push(m.replace(/([A-Z])/g, (h) => `-${h.toLowerCase()}`));
952
952
  if (g) {
953
953
  f["data-headlessui-state"] = d.join(" ");
954
954
  for (let m of d) f[`data-${m}`] = "";
@@ -960,9 +960,9 @@ function $n(e, t = {}, r, n, a) {
960
960
  `)].join(`
961
961
  `));
962
962
  } else {
963
- let g = c.props, d = g?.className, m = typeof d == "function" ? (...b) => vo(d(...b), l.className) : vo(d, l.className), p = m ? { className: m } : {}, v = tu(c.props, $t(La(l, ["ref"])));
964
- for (let b in f) b in v && delete f[b];
965
- return zl(c, Object.assign({}, v, f, u, { ref: a(Qf(c), u.ref) }, p));
963
+ let g = c.props, d = g?.className, m = typeof d == "function" ? (...b) => vo(d(...b), l.className) : vo(d, l.className), p = m ? { className: m } : {}, h = tu(c.props, $t(La(l, ["ref"])));
964
+ for (let b in f) b in h && delete f[b];
965
+ return zl(c, Object.assign({}, h, f, u, { ref: a(Qf(c), u.ref) }, p));
966
966
  }
967
967
  return cf(o, Object.assign({}, La(l, ["ref"]), !Hr(o) && u, !Hr(o) && f), c);
968
968
  }
@@ -1023,7 +1023,7 @@ function La(e, t = []) {
1023
1023
  return r;
1024
1024
  }
1025
1025
  function Qf(e) {
1026
- return $.version.split(".")[0] >= "19" ? e.props.ref : e.ref;
1026
+ return C.version.split(".")[0] >= "19" ? e.props.ref : e.ref;
1027
1027
  }
1028
1028
  function Hr(e) {
1029
1029
  return e === Ie || e === /* @__PURE__ */ Symbol.for("react.fragment");
@@ -1083,19 +1083,19 @@ function og(e, t) {
1083
1083
  let bt = le(og), ou = Ce(null);
1084
1084
  function ig(e) {
1085
1085
  let [t, r] = ae(null);
1086
- return $.createElement(ou.Provider, { value: { target: t } }, e.children, $.createElement(bt, { features: ut.Hidden, ref: r }));
1086
+ return C.createElement(ou.Provider, { value: { target: t } }, e.children, C.createElement(bt, { features: ut.Hidden, ref: r }));
1087
1087
  }
1088
1088
  function sg({ children: e }) {
1089
1089
  let t = fe(ou);
1090
- if (!t) return $.createElement($.Fragment, null, e);
1090
+ if (!t) return C.createElement(C.Fragment, null, e);
1091
1091
  let { target: r } = t;
1092
- return r ? Hl($.createElement($.Fragment, null, e), r) : null;
1092
+ return r ? Hl(C.createElement(C.Fragment, null, e), r) : null;
1093
1093
  }
1094
1094
  function ai({ data: e, form: t, disabled: r, onReset: n, overrides: a }) {
1095
1095
  let [o, i] = ae(null), s = rt();
1096
1096
  return me(() => {
1097
1097
  if (n && o) return s.addEventListener(o, "reset", n);
1098
- }, [o, t, n]), $.createElement(sg, null, $.createElement(lg, { setForm: i, formId: t }), ru(e).map(([l, u]) => $.createElement(bt, { features: ut.Hidden, ...$t({ key: l, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: t, disabled: r, name: l, value: u, ...a }) })));
1098
+ }, [o, t, n]), C.createElement(sg, null, C.createElement(lg, { setForm: i, formId: t }), ru(e).map(([l, u]) => C.createElement(bt, { features: ut.Hidden, ...$t({ key: l, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: t, disabled: r, name: l, value: u, ...a }) })));
1099
1099
  }
1100
1100
  function lg({ setForm: e, formId: t }) {
1101
1101
  return me(() => {
@@ -1103,7 +1103,7 @@ function lg({ setForm: e, formId: t }) {
1103
1103
  let r = document.getElementById(t);
1104
1104
  r && e(r);
1105
1105
  }
1106
- }, [e, t]), t ? null : $.createElement(bt, { features: ut.Hidden, as: "input", type: "hidden", hidden: !0, readOnly: !0, ref: (r) => {
1106
+ }, [e, t]), t ? null : C.createElement(bt, { features: ut.Hidden, as: "input", type: "hidden", hidden: !0, readOnly: !0, ref: (r) => {
1107
1107
  if (!r) return;
1108
1108
  let n = r.closest("form");
1109
1109
  n && e(n);
@@ -1114,7 +1114,7 @@ function Sr() {
1114
1114
  return fe(iu);
1115
1115
  }
1116
1116
  function ug({ id: e, children: t }) {
1117
- return $.createElement(iu.Provider, { value: e }, t);
1117
+ return C.createElement(iu.Provider, { value: e }, t);
1118
1118
  }
1119
1119
  function su(e) {
1120
1120
  return typeof e != "object" || e === null ? !1 : "nodeType" in e;
@@ -1199,7 +1199,7 @@ function la() {
1199
1199
  let s = i.slice(), l = s.indexOf(o);
1200
1200
  return l !== -1 && s.splice(l, 1), s;
1201
1201
  }))), a = ye(() => ({ register: n, slot: r.slot, name: r.name, props: r.props, value: r.value }), [n, r.slot, r.name, r.props, r.value]);
1202
- return $.createElement(sa.Provider, { value: a }, r.children);
1202
+ return C.createElement(sa.Provider, { value: a }, r.children);
1203
1203
  }, [t])];
1204
1204
  }
1205
1205
  let pg = "p";
@@ -1233,7 +1233,7 @@ function un({ inherit: e = !1 } = {}) {
1233
1233
  let c = u.slice(), f = c.indexOf(l);
1234
1234
  return f !== -1 && c.splice(f, 1), c;
1235
1235
  }))), s = ye(() => ({ register: i, slot: o.slot, name: o.name, props: o.props, value: o.value }), [i, o.slot, o.name, o.props, o.value]);
1236
- return $.createElement(ua.Provider, { value: s }, o.children);
1236
+ return C.createElement(ua.Provider, { value: s }, o.children);
1237
1237
  }, [n])];
1238
1238
  }
1239
1239
  let bg = "label";
@@ -1242,9 +1242,9 @@ function yg(e, t) {
1242
1242
  let n = xe(), a = oi(), o = Sr(), i = St(), { id: s = `headlessui-label-${n}`, htmlFor: l = o ?? ((r = a.props) == null ? void 0 : r.htmlFor), passive: u = !1, ...c } = e, f = be(t);
1243
1243
  ge(() => a.register(s), [s, a.register]);
1244
1244
  let g = T((p) => {
1245
- let v = p.currentTarget;
1246
- if (!(p.target !== p.currentTarget && gg(p.target)) && (bo(v) && p.preventDefault(), a.props && "onClick" in a.props && typeof a.props.onClick == "function" && a.props.onClick(p), bo(v))) {
1247
- let b = document.getElementById(v.htmlFor);
1245
+ let h = p.currentTarget;
1246
+ if (!(p.target !== p.currentTarget && gg(p.target)) && (bo(h) && p.preventDefault(), a.props && "onClick" in a.props && typeof a.props.onClick == "function" && a.props.onClick(p), bo(h))) {
1247
+ let b = document.getElementById(h.htmlFor);
1248
1248
  if (b) {
1249
1249
  let x = b.getAttribute("disabled");
1250
1250
  if (x === "true" || x === "") return;
@@ -1258,24 +1258,24 @@ function yg(e, t) {
1258
1258
  }
1259
1259
  let xg = le(yg), Cr = Object.assign(xg, {}), wg = "span";
1260
1260
  function kg(e, t) {
1261
- let r = xe(), n = Sr(), a = St(), { id: o = n || `headlessui-checkbox-${r}`, disabled: i = a || !1, autoFocus: s = !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, indeterminate: m = !1, tabIndex: p = 0, ...v } = e, b = ri(u), [x, y] = ti(l, c, b ?? !1), S = Er(), w = sn(), C = rt(), [I, F] = ae(!1), W = T(() => {
1262
- F(!0), y?.(!x), C.nextFrame(() => {
1263
- F(!1);
1261
+ let r = xe(), n = Sr(), a = St(), { id: o = n || `headlessui-checkbox-${r}`, disabled: i = a || !1, autoFocus: s = !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, indeterminate: m = !1, tabIndex: p = 0, ...h } = e, b = ri(u), [x, y] = ti(l, c, b ?? !1), S = Er(), w = sn(), P = rt(), [F, R] = ae(!1), W = T(() => {
1262
+ R(!0), y?.(!x), P.nextFrame(() => {
1263
+ R(!1);
1264
1264
  });
1265
- }), P = T((R) => {
1266
- if (hr(R.currentTarget)) return R.preventDefault();
1267
- R.preventDefault(), W();
1268
- }), O = T((R) => {
1269
- R.key === te.Space ? (R.preventDefault(), W()) : R.key === te.Enter && ni(R.currentTarget);
1270
- }), K = T((R) => R.preventDefault()), { isFocusVisible: X, focusProps: M } = Wt({ autoFocus: s }), { isHovered: V, hoverProps: B } = Bt({ isDisabled: i }), { pressed: J, pressProps: k } = kr({ disabled: i }), U = qe({ ref: t, id: o, role: "checkbox", "aria-checked": m ? "mixed" : x ? "true" : "false", "aria-labelledby": S, "aria-describedby": w, "aria-disabled": i ? !0 : void 0, indeterminate: m ? "true" : void 0, tabIndex: i ? void 0 : p, onKeyUp: i ? void 0 : O, onKeyPress: i ? void 0 : K, onClick: i ? void 0 : P }, M, B, k), re = ve({ checked: x, disabled: i, hover: V, focus: X, active: J, indeterminate: m, changing: I, autofocus: s }), E = ie(() => {
1265
+ }), I = T(($) => {
1266
+ if (hr($.currentTarget)) return $.preventDefault();
1267
+ $.preventDefault(), W();
1268
+ }), O = T(($) => {
1269
+ $.key === te.Space ? ($.preventDefault(), W()) : $.key === te.Enter && ni($.currentTarget);
1270
+ }), K = T(($) => $.preventDefault()), { isFocusVisible: X, focusProps: M } = Wt({ autoFocus: s }), { isHovered: V, hoverProps: B } = Bt({ isDisabled: i }), { pressed: J, pressProps: k } = kr({ disabled: i }), U = qe({ ref: t, id: o, role: "checkbox", "aria-checked": m ? "mixed" : x ? "true" : "false", "aria-labelledby": S, "aria-describedby": w, "aria-disabled": i ? !0 : void 0, indeterminate: m ? "true" : void 0, tabIndex: i ? void 0 : p, onKeyUp: i ? void 0 : O, onKeyPress: i ? void 0 : K, onClick: i ? void 0 : I }, M, B, k), re = ve({ checked: x, disabled: i, hover: V, focus: X, active: J, indeterminate: m, changing: F, autofocus: s }), E = ie(() => {
1271
1271
  if (b !== void 0) return y?.(b);
1272
1272
  }, [y, b]), L = ue();
1273
- return $.createElement($.Fragment, null, f != null && $.createElement(ai, { disabled: i, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: x }, form: d, onReset: E }), L({ ourProps: U, theirProps: v, slot: re, defaultTag: wg, name: "Checkbox" }));
1273
+ return C.createElement(C.Fragment, null, f != null && C.createElement(ai, { disabled: i, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: x }, form: d, onReset: E }), L({ ourProps: U, theirProps: h, slot: re, defaultTag: wg, name: "Checkbox" }));
1274
1274
  }
1275
1275
  let Sg = le(kg), Eg = Ce(() => {
1276
1276
  });
1277
1277
  function ii({ value: e, children: t }) {
1278
- return $.createElement(Eg.Provider, { value: e }, t);
1278
+ return C.createElement(Eg.Provider, { value: e }, t);
1279
1279
  }
1280
1280
  function Cg(e, t) {
1281
1281
  return e !== null && t !== null && typeof e == "object" && typeof t == "object" && "id" in e && "id" in t ? e.id === t.id : e === t;
@@ -1423,7 +1423,7 @@ var ns;
1423
1423
  function _g() {
1424
1424
  if (ns) return za;
1425
1425
  ns = 1;
1426
- var e = $;
1426
+ var e = C;
1427
1427
  function t(l, u) {
1428
1428
  return l === u && (l !== 0 || 1 / l === 1 / u) || l !== l && u !== u;
1429
1429
  }
@@ -1436,26 +1436,26 @@ function _g() {
1436
1436
  } else m = d.current;
1437
1437
  d = i(
1438
1438
  function() {
1439
- function v(w) {
1439
+ function h(w) {
1440
1440
  if (!b) {
1441
1441
  if (b = !0, x = w, w = f(w), g !== void 0 && m.hasValue) {
1442
- var C = m.value;
1443
- if (g(C, w))
1444
- return y = C;
1442
+ var P = m.value;
1443
+ if (g(P, w))
1444
+ return y = P;
1445
1445
  }
1446
1446
  return y = w;
1447
1447
  }
1448
- if (C = y, r(x, w)) return C;
1449
- var I = f(w);
1450
- return g !== void 0 && g(C, I) ? (x = w, C) : (x = w, y = I);
1448
+ if (P = y, r(x, w)) return P;
1449
+ var F = f(w);
1450
+ return g !== void 0 && g(P, F) ? (x = w, P) : (x = w, y = F);
1451
1451
  }
1452
1452
  var b = !1, x, y, S = c === void 0 ? null : c;
1453
1453
  return [
1454
1454
  function() {
1455
- return v(u());
1455
+ return h(u());
1456
1456
  },
1457
1457
  S === null ? void 0 : function() {
1458
- return v(S());
1458
+ return h(S());
1459
1459
  }
1460
1460
  ];
1461
1461
  },
@@ -1478,7 +1478,7 @@ function Tg() {
1478
1478
  return l === u && (l !== 0 || 1 / l === 1 / u) || l !== l && u !== u;
1479
1479
  }
1480
1480
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1481
- var t = $, r = typeof Object.is == "function" ? Object.is : e, n = t.useSyncExternalStore, a = t.useRef, o = t.useEffect, i = t.useMemo, s = t.useDebugValue;
1481
+ var t = C, r = typeof Object.is == "function" ? Object.is : e, n = t.useSyncExternalStore, a = t.useRef, o = t.useEffect, i = t.useMemo, s = t.useDebugValue;
1482
1482
  Ha.useSyncExternalStoreWithSelector = function(l, u, c, f, g) {
1483
1483
  var d = a(null);
1484
1484
  if (d.current === null) {
@@ -1487,27 +1487,27 @@ function Tg() {
1487
1487
  } else m = d.current;
1488
1488
  d = i(
1489
1489
  function() {
1490
- function v(w) {
1490
+ function h(w) {
1491
1491
  if (!b) {
1492
1492
  if (b = !0, x = w, w = f(w), g !== void 0 && m.hasValue) {
1493
- var C = m.value;
1494
- if (g(C, w))
1495
- return y = C;
1493
+ var P = m.value;
1494
+ if (g(P, w))
1495
+ return y = P;
1496
1496
  }
1497
1497
  return y = w;
1498
1498
  }
1499
- if (C = y, r(x, w))
1500
- return C;
1501
- var I = f(w);
1502
- return g !== void 0 && g(C, I) ? (x = w, C) : (x = w, y = I);
1499
+ if (P = y, r(x, w))
1500
+ return P;
1501
+ var F = f(w);
1502
+ return g !== void 0 && g(P, F) ? (x = w, P) : (x = w, y = F);
1503
1503
  }
1504
1504
  var b = !1, x, y, S = c === void 0 ? null : c;
1505
1505
  return [
1506
1506
  function() {
1507
- return v(u());
1507
+ return h(u());
1508
1508
  },
1509
1509
  S === null ? void 0 : function() {
1510
- return v(S());
1510
+ return h(S());
1511
1511
  }
1512
1512
  ];
1513
1513
  },
@@ -2295,8 +2295,8 @@ async function Iu(e, t) {
2295
2295
  elementContext: f = "floating",
2296
2296
  altBoundary: g = !1,
2297
2297
  padding: d = 0
2298
- } = Rr(t, e), m = Pm(d), v = s[g ? f === "floating" ? "reference" : "floating" : f], b = qn(await o.getClippingRect({
2299
- element: (r = await (o.isElement == null ? void 0 : o.isElement(v))) == null || r ? v : v.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
2298
+ } = Rr(t, e), m = Pm(d), h = s[g ? f === "floating" ? "reference" : "floating" : f], b = qn(await o.getClippingRect({
2299
+ element: (r = await (o.isElement == null ? void 0 : o.isElement(h))) == null || r ? h : h.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
2300
2300
  boundary: u,
2301
2301
  rootBoundary: c,
2302
2302
  strategy: l
@@ -2339,16 +2339,16 @@ const Fm = async (e, t, r) => {
2339
2339
  x: c,
2340
2340
  y: f
2341
2341
  } = ys(u, n, l), g = n, d = {}, m = 0;
2342
- for (let v = 0; v < s.length; v++) {
2342
+ for (let h = 0; h < s.length; h++) {
2343
2343
  var p;
2344
2344
  const {
2345
2345
  name: b,
2346
2346
  fn: x
2347
- } = s[v], {
2347
+ } = s[h], {
2348
2348
  x: y,
2349
2349
  y: S,
2350
2350
  data: w,
2351
- reset: C
2351
+ reset: P
2352
2352
  } = await x({
2353
2353
  x: c,
2354
2354
  y: f,
@@ -2372,14 +2372,14 @@ const Fm = async (e, t, r) => {
2372
2372
  ...d[b],
2373
2373
  ...w
2374
2374
  }
2375
- }, C && m <= 50 && (m++, typeof C == "object" && (C.placement && (g = C.placement), C.rects && (u = C.rects === !0 ? await i.getElementRects({
2375
+ }, P && m <= 50 && (m++, typeof P == "object" && (P.placement && (g = P.placement), P.rects && (u = P.rects === !0 ? await i.getElementRects({
2376
2376
  reference: e,
2377
2377
  floating: t,
2378
2378
  strategy: a
2379
- }) : C.rects), {
2379
+ }) : P.rects), {
2380
2380
  x: c,
2381
2381
  y: f
2382
- } = ys(u, g, l)), v = -1);
2382
+ } = ys(u, g, l)), h = -1);
2383
2383
  }
2384
2384
  return {
2385
2385
  x: c,
@@ -2408,43 +2408,43 @@ const Fm = async (e, t, r) => {
2408
2408
  fallbackStrategy: d = "bestFit",
2409
2409
  fallbackAxisSideDirection: m = "none",
2410
2410
  flipAlignment: p = !0,
2411
- ...v
2411
+ ...h
2412
2412
  } = Rr(e, t);
2413
2413
  if ((r = o.arrow) != null && r.alignmentOffset)
2414
2414
  return {};
2415
- const b = Lt(a), x = ht(s), y = Lt(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), w = g || (y || !p ? [Kn(s)] : km(s)), C = m !== "none";
2416
- !g && C && w.push(...$m(s, p, m, S));
2417
- const I = [s, ...w], F = await l.detectOverflow(t, v), W = [];
2418
- let P = ((n = o.flip) == null ? void 0 : n.overflows) || [];
2419
- if (c && W.push(F[b]), f) {
2415
+ const b = Lt(a), x = ht(s), y = Lt(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), w = g || (y || !p ? [Kn(s)] : km(s)), P = m !== "none";
2416
+ !g && P && w.push(...$m(s, p, m, S));
2417
+ const F = [s, ...w], R = await l.detectOverflow(t, h), W = [];
2418
+ let I = ((n = o.flip) == null ? void 0 : n.overflows) || [];
2419
+ if (c && W.push(R[b]), f) {
2420
2420
  const M = wm(a, i, S);
2421
- W.push(F[M[0]], F[M[1]]);
2421
+ W.push(R[M[0]], R[M[1]]);
2422
2422
  }
2423
- if (P = [...P, {
2423
+ if (I = [...I, {
2424
2424
  placement: a,
2425
2425
  overflows: W
2426
2426
  }], !W.every((M) => M <= 0)) {
2427
2427
  var O, K;
2428
- const M = (((O = o.flip) == null ? void 0 : O.index) || 0) + 1, V = I[M];
2428
+ const M = (((O = o.flip) == null ? void 0 : O.index) || 0) + 1, V = F[M];
2429
2429
  if (V && (!(f === "alignment" ? x !== ht(V) : !1) || // We leave the current main axis only if every placement on that axis
2430
2430
  // overflows the main axis.
2431
- P.every((k) => ht(k.placement) === x ? k.overflows[0] > 0 : !0)))
2431
+ I.every((k) => ht(k.placement) === x ? k.overflows[0] > 0 : !0)))
2432
2432
  return {
2433
2433
  data: {
2434
2434
  index: M,
2435
- overflows: P
2435
+ overflows: I
2436
2436
  },
2437
2437
  reset: {
2438
2438
  placement: V
2439
2439
  }
2440
2440
  };
2441
- let B = (K = P.filter((J) => J.overflows[0] <= 0).sort((J, k) => J.overflows[1] - k.overflows[1])[0]) == null ? void 0 : K.placement;
2441
+ let B = (K = I.filter((J) => J.overflows[0] <= 0).sort((J, k) => J.overflows[1] - k.overflows[1])[0]) == null ? void 0 : K.placement;
2442
2442
  if (!B)
2443
2443
  switch (d) {
2444
2444
  case "bestFit": {
2445
2445
  var X;
2446
- const J = (X = P.filter((k) => {
2447
- if (C) {
2446
+ const J = (X = I.filter((k) => {
2447
+ if (P) {
2448
2448
  const U = ht(k.placement);
2449
2449
  return U === x || // Create a bias to the `y` side axis due to horizontal
2450
2450
  // reading directions favoring greater width.
@@ -2558,16 +2558,16 @@ const Om = function(e) {
2558
2558
  const b = g === "y" ? "top" : "left", x = g === "y" ? "bottom" : "right", y = p + f[b], S = p - f[x];
2559
2559
  p = hs(y, p, S);
2560
2560
  }
2561
- const v = l.fn({
2561
+ const h = l.fn({
2562
2562
  ...t,
2563
2563
  [d]: m,
2564
2564
  [g]: p
2565
2565
  });
2566
2566
  return {
2567
- ...v,
2567
+ ...h,
2568
2568
  data: {
2569
- x: v.x - r,
2570
- y: v.y - n,
2569
+ x: h.x - r,
2570
+ y: h.y - n,
2571
2571
  enabled: {
2572
2572
  [d]: i,
2573
2573
  [g]: s
@@ -2595,18 +2595,18 @@ const Om = function(e) {
2595
2595
  width: m,
2596
2596
  height: p
2597
2597
  } = o.floating;
2598
- let v, b;
2599
- f === "top" || f === "bottom" ? (v = f, b = g === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (b = f, v = g === "end" ? "top" : "bottom");
2600
- const x = p - c.top - c.bottom, y = m - c.left - c.right, S = ar(p - c[v], x), w = ar(m - c[b], y), C = !t.middlewareData.shift;
2601
- let I = S, F = w;
2602
- if ((r = t.middlewareData.shift) != null && r.enabled.x && (F = y), (n = t.middlewareData.shift) != null && n.enabled.y && (I = x), C && !g) {
2603
- const P = Te(c.left, 0), O = Te(c.right, 0), K = Te(c.top, 0), X = Te(c.bottom, 0);
2604
- d ? F = m - 2 * (P !== 0 || O !== 0 ? P + O : Te(c.left, c.right)) : I = p - 2 * (K !== 0 || X !== 0 ? K + X : Te(c.top, c.bottom));
2598
+ let h, b;
2599
+ f === "top" || f === "bottom" ? (h = f, b = g === (await (i.isRTL == null ? void 0 : i.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (b = f, h = g === "end" ? "top" : "bottom");
2600
+ const x = p - c.top - c.bottom, y = m - c.left - c.right, S = ar(p - c[h], x), w = ar(m - c[b], y), P = !t.middlewareData.shift;
2601
+ let F = S, R = w;
2602
+ if ((r = t.middlewareData.shift) != null && r.enabled.x && (R = y), (n = t.middlewareData.shift) != null && n.enabled.y && (F = x), P && !g) {
2603
+ const I = Te(c.left, 0), O = Te(c.right, 0), K = Te(c.top, 0), X = Te(c.bottom, 0);
2604
+ d ? R = m - 2 * (I !== 0 || O !== 0 ? I + O : Te(c.left, c.right)) : F = p - 2 * (K !== 0 || X !== 0 ? K + X : Te(c.top, c.bottom));
2605
2605
  }
2606
2606
  await l({
2607
2607
  ...t,
2608
- availableWidth: F,
2609
- availableHeight: I
2608
+ availableWidth: R,
2609
+ availableHeight: F
2610
2610
  });
2611
2611
  const W = await i.getDimensions(s.floating);
2612
2612
  return m !== W.width || p !== W.height ? {
@@ -2667,8 +2667,8 @@ function or(e, t, r, n) {
2667
2667
  const g = He(o), d = n && je(n) ? He(n) : n;
2668
2668
  let m = g, p = xo(m);
2669
2669
  for (; p && n && d !== m; ) {
2670
- const v = mr(p), b = p.getBoundingClientRect(), x = et(p), y = b.left + (p.clientLeft + parseFloat(x.paddingLeft)) * v.x, S = b.top + (p.clientTop + parseFloat(x.paddingTop)) * v.y;
2671
- l *= v.x, u *= v.y, c *= v.x, f *= v.y, l += y, u += S, m = He(p), p = xo(m);
2670
+ const h = mr(p), b = p.getBoundingClientRect(), x = et(p), y = b.left + (p.clientLeft + parseFloat(x.paddingLeft)) * h.x, S = b.top + (p.clientTop + parseFloat(x.paddingTop)) * h.y;
2671
+ l *= h.x, u *= h.y, c *= h.x, f *= h.y, l += y, u += S, m = He(p), p = xo(m);
2672
2672
  }
2673
2673
  }
2674
2674
  return qn({
@@ -2925,21 +2925,21 @@ function Jm(e, t) {
2925
2925
  } = u;
2926
2926
  if (s || t(), !g || !d)
2927
2927
  return;
2928
- const m = Pn(f), p = Pn(a.clientWidth - (c + g)), v = Pn(a.clientHeight - (f + d)), b = Pn(c), y = {
2929
- rootMargin: -m + "px " + -p + "px " + -v + "px " + -b + "px",
2928
+ const m = Pn(f), p = Pn(a.clientWidth - (c + g)), h = Pn(a.clientHeight - (f + d)), b = Pn(c), y = {
2929
+ rootMargin: -m + "px " + -p + "px " + -h + "px " + -b + "px",
2930
2930
  threshold: Te(0, ar(1, l)) || 1
2931
2931
  };
2932
2932
  let S = !0;
2933
- function w(C) {
2934
- const I = C[0].intersectionRatio;
2935
- if (I !== l) {
2933
+ function w(P) {
2934
+ const F = P[0].intersectionRatio;
2935
+ if (F !== l) {
2936
2936
  if (!S)
2937
2937
  return i();
2938
- I ? i(!1, I) : n = setTimeout(() => {
2938
+ F ? i(!1, F) : n = setTimeout(() => {
2939
2939
  i(!1, 1e-7);
2940
2940
  }, 1e3);
2941
2941
  }
2942
- I === 1 && !Mu(u, e.getBoundingClientRect()) && i(), S = !1;
2942
+ F === 1 && !Mu(u, e.getBoundingClientRect()) && i(), S = !1;
2943
2943
  }
2944
2944
  try {
2945
2945
  r = new IntersectionObserver(w, {
@@ -2978,10 +2978,10 @@ function Qm(e, t, r, n) {
2978
2978
  })), r();
2979
2979
  }), u && !l && d.observe(u), d.observe(t));
2980
2980
  let m, p = l ? or(e) : null;
2981
- l && v();
2982
- function v() {
2981
+ l && h();
2982
+ function h() {
2983
2983
  const b = or(e);
2984
- p && !Mu(p, b) && r(), p = b, m = requestAnimationFrame(v);
2984
+ p && !Mu(p, b) && r(), p = b, m = requestAnimationFrame(h);
2985
2985
  }
2986
2986
  return r(), () => {
2987
2987
  var b;
@@ -3071,19 +3071,19 @@ function ip(e) {
3071
3071
  isPositioned: !1
3072
3072
  }), [g, d] = j.useState(n);
3073
3073
  Xn(g, n) || d(n);
3074
- const [m, p] = j.useState(null), [v, b] = j.useState(null), x = j.useCallback((k) => {
3075
- k !== C.current && (C.current = k, p(k));
3074
+ const [m, p] = j.useState(null), [h, b] = j.useState(null), x = j.useCallback((k) => {
3075
+ k !== P.current && (P.current = k, p(k));
3076
3076
  }, []), y = j.useCallback((k) => {
3077
- k !== I.current && (I.current = k, b(k));
3078
- }, []), S = o || m, w = i || v, C = j.useRef(null), I = j.useRef(null), F = j.useRef(c), W = l != null, P = Wa(l), O = Wa(a), K = Wa(u), X = j.useCallback(() => {
3079
- if (!C.current || !I.current)
3077
+ k !== F.current && (F.current = k, b(k));
3078
+ }, []), S = o || m, w = i || h, P = j.useRef(null), F = j.useRef(null), R = j.useRef(c), W = l != null, I = Wa(l), O = Wa(a), K = Wa(u), X = j.useCallback(() => {
3079
+ if (!P.current || !F.current)
3080
3080
  return;
3081
3081
  const k = {
3082
3082
  placement: t,
3083
3083
  strategy: r,
3084
3084
  middleware: g
3085
3085
  };
3086
- O.current && (k.platform = O.current), np(C.current, I.current, k).then((U) => {
3086
+ O.current && (k.platform = O.current), np(P.current, F.current, k).then((U) => {
3087
3087
  const re = {
3088
3088
  ...U,
3089
3089
  // The floating element's position may be recomputed while it's closed
@@ -3092,13 +3092,13 @@ function ip(e) {
3092
3092
  // setting it to `true` when `open === false` (must be specified).
3093
3093
  isPositioned: K.current !== !1
3094
3094
  };
3095
- M.current && !Xn(F.current, re) && (F.current = re, Bn.flushSync(() => {
3095
+ M.current && !Xn(R.current, re) && (R.current = re, Bn.flushSync(() => {
3096
3096
  f(re);
3097
3097
  }));
3098
3098
  });
3099
3099
  }, [g, t, r, O, K]);
3100
3100
  jn(() => {
3101
- u === !1 && F.current.isPositioned && (F.current.isPositioned = !1, f((k) => ({
3101
+ u === !1 && R.current.isPositioned && (R.current.isPositioned = !1, f((k) => ({
3102
3102
  ...k,
3103
3103
  isPositioned: !1
3104
3104
  })));
@@ -3107,15 +3107,15 @@ function ip(e) {
3107
3107
  jn(() => (M.current = !0, () => {
3108
3108
  M.current = !1;
3109
3109
  }), []), jn(() => {
3110
- if (S && (C.current = S), w && (I.current = w), S && w) {
3111
- if (P.current)
3112
- return P.current(S, w, X);
3110
+ if (S && (P.current = S), w && (F.current = w), S && w) {
3111
+ if (I.current)
3112
+ return I.current(S, w, X);
3113
3113
  X();
3114
3114
  }
3115
- }, [S, w, X, P, W]);
3115
+ }, [S, w, X, I, W]);
3116
3116
  const V = j.useMemo(() => ({
3117
- reference: C,
3118
- floating: I,
3117
+ reference: P,
3118
+ floating: F,
3119
3119
  setReference: x,
3120
3120
  setFloating: y
3121
3121
  }), [x, y]), B = j.useMemo(() => ({
@@ -3302,7 +3302,7 @@ function Cp(e) {
3302
3302
  // `null` to support `positionReference` + an unstable `reference`
3303
3303
  // callback ref.
3304
3304
  y !== null && !je(y)) && d.refs.setReference(y);
3305
- }, [d.refs]), v = j.useMemo(() => ({
3305
+ }, [d.refs]), h = j.useMemo(() => ({
3306
3306
  ...d.refs,
3307
3307
  setReference: p,
3308
3308
  setPositionReference: m,
@@ -3313,10 +3313,10 @@ function Cp(e) {
3313
3313
  }), [d.elements, c]), x = j.useMemo(() => ({
3314
3314
  ...d,
3315
3315
  ...n,
3316
- refs: v,
3316
+ refs: h,
3317
3317
  elements: b,
3318
3318
  nodeId: t
3319
- }), [d, v, b, t, n]);
3319
+ }), [d, h, b, t, n]);
3320
3320
  return ko(() => {
3321
3321
  n.dataRef.current.floatingContext = x;
3322
3322
  const y = g?.nodesRef.current.find((S) => S.id === t);
@@ -3324,9 +3324,9 @@ function Cp(e) {
3324
3324
  }), j.useMemo(() => ({
3325
3325
  ...d,
3326
3326
  context: x,
3327
- refs: v,
3327
+ refs: h,
3328
3328
  elements: b
3329
- }), [d, v, b, x]);
3329
+ }), [d, h, b, x]);
3330
3330
  }
3331
3331
  const $s = "active", Rs = "selected";
3332
3332
  function Ua(e, t, r) {
@@ -3358,7 +3358,7 @@ function Ua(e, t, r) {
3358
3358
  (f = n.get(u)) == null || f.push(c), i[u] = function() {
3359
3359
  for (var g, d = arguments.length, m = new Array(d), p = 0; p < d; p++)
3360
3360
  m[p] = arguments[p];
3361
- return (g = n.get(u)) == null ? void 0 : g.map((v) => v(...m)).find((v) => v !== void 0);
3361
+ return (g = n.get(u)) == null ? void 0 : g.map((h) => h(...m)).find((h) => h !== void 0);
3362
3362
  };
3363
3363
  }
3364
3364
  } else
@@ -3418,7 +3418,7 @@ const Rp = (e) => ({
3418
3418
  elements: {
3419
3419
  floating: g
3420
3420
  }
3421
- } = t, d = r.current[i], m = u?.current || g, p = g.clientTop || m.clientTop, v = g.clientTop !== 0, b = m.clientTop !== 0, x = g === m;
3421
+ } = t, d = r.current[i], m = u?.current || g, p = g.clientTop || m.clientTop, h = g.clientTop !== 0, b = m.clientTop !== 0, x = g === m;
3422
3422
  if (process.env.NODE_ENV !== "production" && (t.placement.startsWith("bottom") || hp('`placement` side must be "bottom" when using the `inner`', "middleware.")), !d)
3423
3423
  return {};
3424
3424
  const y = {
@@ -3427,16 +3427,16 @@ const Rp = (e) => ({
3427
3427
  }, S = await Ba(Ps(y, m.scrollHeight + p + g.clientTop), c), w = await Ba(y, {
3428
3428
  ...c,
3429
3429
  elementContext: "reference"
3430
- }), C = Te(0, S.top), I = y.y + C, P = (m.scrollHeight > m.clientHeight ? (O) => O : en)(Te(0, m.scrollHeight + (v && x || b ? p * 2 : 0) - C - Te(0, S.bottom)));
3431
- if (m.style.maxHeight = P + "px", m.scrollTop = C, a) {
3430
+ }), P = Te(0, S.top), F = y.y + P, I = (m.scrollHeight > m.clientHeight ? (O) => O : en)(Te(0, m.scrollHeight + (h && x || b ? p * 2 : 0) - P - Te(0, S.bottom)));
3431
+ if (m.style.maxHeight = I + "px", m.scrollTop = P, a) {
3432
3432
  const O = m.offsetHeight < d.offsetHeight * ar(s, r.current.length) - 1 || w.top >= -l || w.bottom >= -l;
3433
3433
  Bn.flushSync(() => a(O));
3434
3434
  }
3435
3435
  return n && (n.current = await Ba(Ps({
3436
3436
  ...y,
3437
- y: I
3437
+ y: F
3438
3438
  }, m.offsetHeight + p + g.clientTop), c)), {
3439
- y: I
3439
+ y: F
3440
3440
  };
3441
3441
  }
3442
3442
  });
@@ -3455,10 +3455,10 @@ function Pp(e, t) {
3455
3455
  function d(p) {
3456
3456
  if (p.ctrlKey || !m || o.current == null)
3457
3457
  return;
3458
- const v = p.deltaY, b = o.current.top >= -0.5, x = o.current.bottom >= -0.5, y = m.scrollHeight - m.clientHeight, S = v < 0 ? -1 : 1, w = v < 0 ? "max" : "min";
3459
- m.scrollHeight <= m.clientHeight || (!b && v > 0 || !x && v < 0 ? (p.preventDefault(), Bn.flushSync(() => {
3460
- l((C) => C + Math[w](v, y * S));
3461
- })) : /firefox/i.test(vm()) && (m.scrollTop += v));
3458
+ const h = p.deltaY, b = o.current.top >= -0.5, x = o.current.bottom >= -0.5, y = m.scrollHeight - m.clientHeight, S = h < 0 ? -1 : 1, w = h < 0 ? "max" : "min";
3459
+ m.scrollHeight <= m.clientHeight || (!b && h > 0 || !x && h < 0 ? (p.preventDefault(), Bn.flushSync(() => {
3460
+ l((P) => P + Math[w](h, y * S));
3461
+ })) : /firefox/i.test(vm()) && (m.scrollTop += h));
3462
3462
  }
3463
3463
  const m = i?.current || n.floating;
3464
3464
  if (r && m)
@@ -3532,21 +3532,21 @@ let Fs = 4;
3532
3532
  function wi({ children: e, enabled: t = !0 }) {
3533
3533
  let [r, n] = ae(null), [a, o] = ae(0), i = Y(null), [s, l] = ae(null);
3534
3534
  Fp(s);
3535
- let u = t && r !== null && s !== null, { to: c = "bottom", gap: f = 0, offset: g = 0, padding: d = 0, inner: m } = Ip(r, s), [p, v = "center"] = c.split(" ");
3535
+ let u = t && r !== null && s !== null, { to: c = "bottom", gap: f = 0, offset: g = 0, padding: d = 0, inner: m } = Ip(r, s), [p, h = "center"] = c.split(" ");
3536
3536
  ge(() => {
3537
3537
  u && o(0);
3538
3538
  }, [u]);
3539
- let { refs: b, floatingStyles: x, context: y } = Cp({ open: u, placement: p === "selection" ? v === "center" ? "bottom" : `bottom-${v}` : v === "center" ? `${p}` : `${p}-${v}`, strategy: "absolute", transform: !1, middleware: [Lu({ mainAxis: p === "selection" ? 0 : f, crossAxis: g }), sp({ padding: d }), p !== "selection" && lp({ padding: d }), p === "selection" && m ? Rp({ ...m, padding: d, overflowRef: i, offset: a, minItemsVisible: Fs, referenceOverflowThreshold: d, onFallbackChange(O) {
3539
+ let { refs: b, floatingStyles: x, context: y } = Cp({ open: u, placement: p === "selection" ? h === "center" ? "bottom" : `bottom-${h}` : h === "center" ? `${p}` : `${p}-${h}`, strategy: "absolute", transform: !1, middleware: [Lu({ mainAxis: p === "selection" ? 0 : f, crossAxis: g }), sp({ padding: d }), p !== "selection" && lp({ padding: d }), p === "selection" && m ? Rp({ ...m, padding: d, overflowRef: i, offset: a, minItemsVisible: Fs, referenceOverflowThreshold: d, onFallbackChange(O) {
3540
3540
  var K, X;
3541
3541
  if (!O) return;
3542
3542
  let M = y.elements.floating;
3543
3543
  if (!M) return;
3544
3544
  let V = parseFloat(getComputedStyle(M).scrollPaddingBottom) || 0, B = Math.min(Fs, M.childElementCount), J = 0, k = 0;
3545
3545
  for (let U of (X = (K = y.elements.floating) == null ? void 0 : K.childNodes) != null ? X : []) if (Ne(U)) {
3546
- let re = U.offsetTop, E = re + U.clientHeight + V, L = M.scrollTop, R = L + M.clientHeight;
3547
- if (re >= L && E <= R) B--;
3546
+ let re = U.offsetTop, E = re + U.clientHeight + V, L = M.scrollTop, $ = L + M.clientHeight;
3547
+ if (re >= L && E <= $) B--;
3548
3548
  else {
3549
- k = Math.max(0, Math.min(E, R) - Math.max(re, L)), J = U.clientHeight;
3549
+ k = Math.max(0, Math.min(E, $) - Math.max(re, L)), J = U.clientHeight;
3550
3550
  break;
3551
3551
  }
3552
3552
  }
@@ -3556,12 +3556,12 @@ function wi({ children: e, enabled: t = !0 }) {
3556
3556
  });
3557
3557
  } }) : null, up({ padding: d, apply({ availableWidth: O, availableHeight: K, elements: X }) {
3558
3558
  Object.assign(X.floating.style, { overflow: "auto", maxWidth: `${O}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${K}px)` });
3559
- } })].filter(Boolean), whileElementsMounted: Qm }), [S = p, w = v] = y.placement.split("-");
3559
+ } })].filter(Boolean), whileElementsMounted: Qm }), [S = p, w = h] = y.placement.split("-");
3560
3560
  p === "selection" && (S = "selection");
3561
- let C = ye(() => ({ anchor: [S, w].filter(Boolean).join(" ") }), [S, w]), I = Pp(y, { overflowRef: i, onChange: o }), { getReferenceProps: F, getFloatingProps: W } = $p([I]), P = T((O) => {
3561
+ let P = ye(() => ({ anchor: [S, w].filter(Boolean).join(" ") }), [S, w]), F = Pp(y, { overflowRef: i, onChange: o }), { getReferenceProps: R, getFloatingProps: W } = $p([F]), I = T((O) => {
3562
3562
  l(O), b.setFloating(O);
3563
3563
  });
3564
- return j.createElement(hi.Provider, { value: n }, j.createElement(Pr.Provider, { value: { setFloating: P, setReference: b.setReference, styles: x, getReferenceProps: F, getFloatingProps: W, slot: C } }, e));
3564
+ return j.createElement(hi.Provider, { value: n }, j.createElement(Pr.Provider, { value: { setFloating: I, setReference: b.setReference, styles: x, getReferenceProps: R, getFloatingProps: W, slot: P } }, e));
3565
3565
  }
3566
3566
  function Fp(e) {
3567
3567
  ge(() => {
@@ -3604,8 +3604,8 @@ function Ya(e, t, r = void 0) {
3604
3604
  }
3605
3605
  }
3606
3606
  if (!p) return;
3607
- let v = Is(l, u);
3608
- c !== v && (f(v), c = v);
3607
+ let h = Is(l, u);
3608
+ c !== h && (f(h), c = h);
3609
3609
  });
3610
3610
  }
3611
3611
  return n.dispose;
@@ -3636,9 +3636,9 @@ function Is(e, t) {
3636
3636
  }
3637
3637
  function Np({ children: e, freeze: t }, r) {
3638
3638
  let n = Gu(t, e);
3639
- return Xo(n) ? zl(n, { ref: r }) : $.createElement($.Fragment, null, n);
3639
+ return Xo(n) ? zl(n, { ref: r }) : C.createElement(C.Fragment, null, n);
3640
3640
  }
3641
- $.forwardRef(Np);
3641
+ C.forwardRef(Np);
3642
3642
  function Gu(e, t) {
3643
3643
  let [r, n] = ae(t);
3644
3644
  return !e && r !== t && n(t), e ? r : t;
@@ -3650,10 +3650,10 @@ function Yt() {
3650
3650
  return fe(ya);
3651
3651
  }
3652
3652
  function xa({ value: e, children: t }) {
3653
- return $.createElement(ya.Provider, { value: e }, t);
3653
+ return C.createElement(ya.Provider, { value: e }, t);
3654
3654
  }
3655
3655
  function Bu({ children: e }) {
3656
- return $.createElement(ya.Provider, { value: null }, e);
3656
+ return C.createElement(ya.Provider, { value: null }, e);
3657
3657
  }
3658
3658
  function Ap(e) {
3659
3659
  function t() {
@@ -3719,7 +3719,7 @@ function _p() {
3719
3719
  return fe(Wu);
3720
3720
  }
3721
3721
  function Ns(e) {
3722
- return $.createElement(Wu.Provider, { value: e.force }, e.children);
3722
+ return C.createElement(Wu.Provider, { value: e.force }, e.children);
3723
3723
  }
3724
3724
  function Tp(e) {
3725
3725
  let t = _p(), r = fe(Yu), [n, a] = ae(() => {
@@ -3745,18 +3745,18 @@ let Uu = Ie, Mp = le(function(e, t) {
3745
3745
  return bn(() => {
3746
3746
  var g;
3747
3747
  l && l.childNodes.length <= 0 && ((g = l.parentElement) == null || g.removeChild(l));
3748
- }), l ? Hl($.createElement("div", { "data-headlessui-portal": "", ref: (g) => {
3748
+ }), l ? Hl(C.createElement("div", { "data-headlessui-portal": "", ref: (g) => {
3749
3749
  c.dispose(), u && g && c.add(u.register(g));
3750
3750
  } }, f({ ourProps: { ref: o }, theirProps: n, slot: {}, defaultTag: Uu, name: "Portal" })), l) : null;
3751
3751
  });
3752
3752
  function jp(e, t) {
3753
3753
  let r = be(t), { enabled: n = !0, ownerDocument: a, ...o } = e, i = ue();
3754
- return n ? $.createElement(Mp, { ...o, ownerDocument: a, ref: r }) : i({ ourProps: { ref: r }, theirProps: o, slot: {}, defaultTag: Uu, name: "Portal" });
3754
+ return n ? C.createElement(Mp, { ...o, ownerDocument: a, ref: r }) : i({ ourProps: { ref: r }, theirProps: o, slot: {}, defaultTag: Uu, name: "Portal" });
3755
3755
  }
3756
3756
  let Lp = Ie, Yu = Ce(null);
3757
3757
  function Dp(e, t) {
3758
3758
  let { target: r, ...n } = e, a = { ref: be(t) }, o = ue();
3759
- return $.createElement(Yu.Provider, { value: r }, o({ ourProps: a, theirProps: n, defaultTag: Lp, name: "Popover.Group" }));
3759
+ return C.createElement(Yu.Provider, { value: r }, o({ ourProps: a, theirProps: n, defaultTag: Lp, name: "Popover.Group" }));
3760
3760
  }
3761
3761
  let So = Ce(null);
3762
3762
  function Ku() {
@@ -3765,7 +3765,7 @@ function Ku() {
3765
3765
  i !== -1 && t.current.splice(i, 1), e && e.unregister(o);
3766
3766
  }), a = ye(() => ({ register: r, unregister: n, portals: t }), [r, n, t]);
3767
3767
  return [t, ye(() => function({ children: o }) {
3768
- return $.createElement(So.Provider, { value: a }, o);
3768
+ return C.createElement(So.Provider, { value: a }, o);
3769
3769
  }, [a])];
3770
3770
  }
3771
3771
  let Vp = le(jp), qu = le(Dp), wa = Object.assign(Vp, { Group: qu });
@@ -3815,7 +3815,7 @@ function Ju({ defaultContainers: e = [], portals: t, mainTreeNode: r } = {}) {
3815
3815
  let Qu = Ce(null);
3816
3816
  function Jn({ children: e, node: t }) {
3817
3817
  let [r, n] = ae(null), a = Si(t ?? r);
3818
- return $.createElement(Qu.Provider, { value: a }, e, a === null && $.createElement(bt, { features: ut.Hidden, ref: (o) => {
3818
+ return C.createElement(Qu.Provider, { value: a }, e, a === null && C.createElement(bt, { features: ut.Hidden, ref: (o) => {
3819
3819
  var i, s;
3820
3820
  if (o) {
3821
3821
  for (let l of (s = (i = Ut(o)) == null ? void 0 : i.querySelectorAll("html > *, body > *")) != null ? s : []) if (l !== document.body && l !== document.head && vt(l) && l != null && l.contains(o)) {
@@ -3879,7 +3879,7 @@ function Wp(e, t) {
3879
3879
  Ve(y, Re.Last, { skipElements: [x.relatedTarget, o] });
3880
3880
  } });
3881
3881
  });
3882
- }), d = cn(!!(s & 2), "focus-trap#tab-lock"), m = rt(), p = Y(!1), v = { ref: n, onKeyDown(x) {
3882
+ }), d = cn(!!(s & 2), "focus-trap#tab-lock"), m = rt(), p = Y(!1), h = { ref: n, onKeyDown(x) {
3883
3883
  x.key == "Tab" && (p.current = !0, m.requestAnimationFrame(() => {
3884
3884
  p.current = !1;
3885
3885
  }));
@@ -3890,7 +3890,7 @@ function Wp(e, t) {
3890
3890
  let S = x.relatedTarget;
3891
3891
  Je(S) && S.dataset.headlessuiFocusGuard !== "true" && (ec(y, S) || (p.current ? Ve(r.current, $e(f.current, { [ze.Forwards]: () => Re.Next, [ze.Backwards]: () => Re.Previous }) | Re.WrapAround, { relativeTo: x.target }) : Je(x.target) && it(x.target)));
3892
3892
  } }, b = ue();
3893
- return $.createElement($.Fragment, null, d && $.createElement(bt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: g, features: ut.Focusable }), b({ ourProps: v, theirProps: l, defaultTag: Bp, name: "FocusTrap" }), d && $.createElement(bt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: g, features: ut.Focusable }));
3893
+ return C.createElement(C.Fragment, null, d && C.createElement(bt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: g, features: ut.Focusable }), b({ ourProps: h, theirProps: l, defaultTag: Bp, name: "FocusTrap" }), d && C.createElement(bt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: g, features: ut.Focusable }));
3894
3894
  }
3895
3895
  let Up = le(Wp), Yp = Object.assign(Up, { features: Qt });
3896
3896
  function Kp(e = !0) {
@@ -3963,7 +3963,7 @@ function ec(e, t) {
3963
3963
  }
3964
3964
  function tc(e) {
3965
3965
  var t;
3966
- return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || !Hr((t = e.as) != null ? t : nc) || $.Children.count(e.children) === 1;
3966
+ return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || !Hr((t = e.as) != null ? t : nc) || C.Children.count(e.children) === 1;
3967
3967
  }
3968
3968
  let Sa = Ce(null);
3969
3969
  Sa.displayName = "TransitionContext";
@@ -3985,28 +3985,28 @@ function Ca(e) {
3985
3985
  }
3986
3986
  function rc(e, t) {
3987
3987
  let r = lt(e), n = Y([]), a = Ei(), o = rt(), i = T((d, m = Ft.Hidden) => {
3988
- let p = n.current.findIndex(({ el: v }) => v === d);
3988
+ let p = n.current.findIndex(({ el: h }) => h === d);
3989
3989
  p !== -1 && ($e(m, { [Ft.Unmount]() {
3990
3990
  n.current.splice(p, 1);
3991
3991
  }, [Ft.Hidden]() {
3992
3992
  n.current[p].state = "hidden";
3993
3993
  } }), o.microTask(() => {
3994
- var v;
3995
- !Ca(n) && a.current && ((v = r.current) == null || v.call(r));
3994
+ var h;
3995
+ !Ca(n) && a.current && ((h = r.current) == null || h.call(r));
3996
3996
  }));
3997
3997
  }), s = T((d) => {
3998
3998
  let m = n.current.find(({ el: p }) => p === d);
3999
3999
  return m ? m.state !== "visible" && (m.state = "visible") : n.current.push({ el: d, state: "visible" }), () => i(d, Ft.Unmount);
4000
4000
  }), l = Y([]), u = Y(Promise.resolve()), c = Y({ enter: [], leave: [] }), f = T((d, m, p) => {
4001
- l.current.splice(0), t && (t.chains.current[m] = t.chains.current[m].filter(([v]) => v !== d)), t?.chains.current[m].push([d, new Promise((v) => {
4002
- l.current.push(v);
4003
- })]), t?.chains.current[m].push([d, new Promise((v) => {
4004
- Promise.all(c.current[m].map(([b, x]) => x)).then(() => v());
4001
+ l.current.splice(0), t && (t.chains.current[m] = t.chains.current[m].filter(([h]) => h !== d)), t?.chains.current[m].push([d, new Promise((h) => {
4002
+ l.current.push(h);
4003
+ })]), t?.chains.current[m].push([d, new Promise((h) => {
4004
+ Promise.all(c.current[m].map(([b, x]) => x)).then(() => h());
4005
4005
  })]), m === "enter" ? u.current = u.current.then(() => t?.wait.current).then(() => p(m)) : p(m);
4006
4006
  }), g = T((d, m, p) => {
4007
- Promise.all(c.current[m].splice(0).map(([v, b]) => b)).then(() => {
4008
- var v;
4009
- (v = l.current.shift()) == null || v();
4007
+ Promise.all(c.current[m].splice(0).map(([h, b]) => b)).then(() => {
4008
+ var h;
4009
+ (h = l.current.shift()) == null || h();
4010
4010
  }).then(() => p(m));
4011
4011
  });
4012
4012
  return ye(() => ({ children: n, register: s, unregister: i, onStart: f, onStop: g, wait: u, chains: c }), [s, i, n, f, g, c, u]);
@@ -4014,21 +4014,21 @@ function rc(e, t) {
4014
4014
  let nc = Ie, ac = Ke.RenderStrategy;
4015
4015
  function t0(e, t) {
4016
4016
  var r, n;
4017
- let { transition: a = !0, beforeEnter: o, afterEnter: i, beforeLeave: s, afterLeave: l, enter: u, enterFrom: c, enterTo: f, entered: g, leave: d, leaveFrom: m, leaveTo: p, ...v } = e, [b, x] = ae(null), y = Y(null), S = tc(e), w = be(...S ? [y, t, x] : t === null ? [] : [t]), C = (r = v.unmount) == null || r ? Ft.Unmount : Ft.Hidden, { show: I, appear: F, initial: W } = Zp(), [P, O] = ae(I ? "visible" : "hidden"), K = e0(), { register: X, unregister: M } = K;
4017
+ let { transition: a = !0, beforeEnter: o, afterEnter: i, beforeLeave: s, afterLeave: l, enter: u, enterFrom: c, enterTo: f, entered: g, leave: d, leaveFrom: m, leaveTo: p, ...h } = e, [b, x] = ae(null), y = Y(null), S = tc(e), w = be(...S ? [y, t, x] : t === null ? [] : [t]), P = (r = h.unmount) == null || r ? Ft.Unmount : Ft.Hidden, { show: F, appear: R, initial: W } = Zp(), [I, O] = ae(F ? "visible" : "hidden"), K = e0(), { register: X, unregister: M } = K;
4018
4018
  ge(() => X(y), [X, y]), ge(() => {
4019
- if (C === Ft.Hidden && y.current) {
4020
- if (I && P !== "visible") {
4019
+ if (P === Ft.Hidden && y.current) {
4020
+ if (F && I !== "visible") {
4021
4021
  O("visible");
4022
4022
  return;
4023
4023
  }
4024
- return $e(P, { hidden: () => M(y), visible: () => X(y) });
4024
+ return $e(I, { hidden: () => M(y), visible: () => X(y) });
4025
4025
  }
4026
- }, [P, y, X, M, I, C]);
4026
+ }, [I, y, X, M, F, P]);
4027
4027
  let V = ka();
4028
4028
  ge(() => {
4029
- if (S && V && P === "visible" && y.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
4030
- }, [y, P, V, S]);
4031
- let B = W && !F, J = F && I && W, k = Y(!1), U = rc(() => {
4029
+ if (S && V && I === "visible" && y.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
4030
+ }, [y, I, V, S]);
4031
+ let B = W && !R, J = R && F && W, k = Y(!1), U = rc(() => {
4032
4032
  k.current || (O("hidden"), M(y));
4033
4033
  }, K), re = T((D) => {
4034
4034
  k.current = !0;
@@ -4043,12 +4043,12 @@ function t0(e, t) {
4043
4043
  }), pe === "leave" && !Ca(U) && (O("hidden"), M(y));
4044
4044
  });
4045
4045
  me(() => {
4046
- S && a || (re(I), E(I));
4047
- }, [I, S, a]);
4048
- let L = !(!a || !S || !V || B), [, R] = pn(L, b, I, { start: re, end: E }), A = $t({ ref: w, className: ((n = vo(v.className, J && u, J && c, R.enter && u, R.enter && R.closed && c, R.enter && !R.closed && f, R.leave && d, R.leave && !R.closed && m, R.leave && R.closed && p, !R.transition && I && g)) == null ? void 0 : n.trim()) || void 0, ...mn(R) }), Q = 0;
4049
- P === "visible" && (Q |= we.Open), P === "hidden" && (Q |= we.Closed), I && P === "hidden" && (Q |= we.Opening), !I && P === "visible" && (Q |= we.Closing);
4046
+ S && a || (re(F), E(F));
4047
+ }, [F, S, a]);
4048
+ let L = !(!a || !S || !V || B), [, $] = pn(L, b, F, { start: re, end: E }), A = $t({ ref: w, className: ((n = vo(h.className, J && u, J && c, $.enter && u, $.enter && $.closed && c, $.enter && !$.closed && f, $.leave && d, $.leave && !$.closed && m, $.leave && $.closed && p, !$.transition && F && g)) == null ? void 0 : n.trim()) || void 0, ...mn($) }), Q = 0;
4049
+ I === "visible" && (Q |= we.Open), I === "hidden" && (Q |= we.Closed), F && I === "hidden" && (Q |= we.Opening), !F && I === "visible" && (Q |= we.Closing);
4050
4050
  let G = ue();
4051
- return $.createElement(Ea.Provider, { value: U }, $.createElement(xa, { value: Q }, G({ ourProps: A, theirProps: v, defaultTag: nc, features: ac, visible: P === "visible", name: "Transition.Child" })));
4051
+ return C.createElement(Ea.Provider, { value: U }, C.createElement(xa, { value: Q }, G({ ourProps: A, theirProps: h, defaultTag: nc, features: ac, visible: I === "visible", name: "Transition.Child" })));
4052
4052
  }
4053
4053
  function r0(e, t) {
4054
4054
  let { show: r, appear: n = !1, unmount: a = !0, ...o } = e, i = Y(null), s = tc(e), l = be(...s ? [i, t] : t === null ? [] : [t]);
@@ -4061,7 +4061,7 @@ function r0(e, t) {
4061
4061
  ge(() => {
4062
4062
  d !== !1 && p.current[p.current.length - 1] !== r && (p.current.push(r), m(!1));
4063
4063
  }, [p, r]);
4064
- let v = ye(() => ({ show: r, appear: n, initial: d }), [r, n, d]);
4064
+ let h = ye(() => ({ show: r, appear: n, initial: d }), [r, n, d]);
4065
4065
  ge(() => {
4066
4066
  r ? f("visible") : !Ca(g) && i.current !== null && f("hidden");
4067
4067
  }, [r, g]);
@@ -4072,11 +4072,11 @@ function r0(e, t) {
4072
4072
  var w;
4073
4073
  d && m(!1), (w = e.beforeLeave) == null || w.call(e);
4074
4074
  }), S = ue();
4075
- return $.createElement(Ea.Provider, { value: g }, $.createElement(Sa.Provider, { value: v }, S({ ourProps: { ...b, as: Ie, children: $.createElement(oc, { ref: l, ...b, ...o, beforeEnter: x, beforeLeave: y }) }, theirProps: {}, defaultTag: Ie, features: ac, visible: c === "visible", name: "Transition" })));
4075
+ return C.createElement(Ea.Provider, { value: g }, C.createElement(Sa.Provider, { value: h }, S({ ourProps: { ...b, as: Ie, children: C.createElement(oc, { ref: l, ...b, ...o, beforeEnter: x, beforeLeave: y }) }, theirProps: {}, defaultTag: Ie, features: ac, visible: c === "visible", name: "Transition" })));
4076
4076
  }
4077
4077
  function n0(e, t) {
4078
4078
  let r = fe(Sa) !== null, n = Yt() !== null;
4079
- return $.createElement($.Fragment, null, !r && n ? $.createElement(Eo, { ref: t, ...e }) : $.createElement(oc, { ref: t, ...e }));
4079
+ return C.createElement(C.Fragment, null, !r && n ? C.createElement(Eo, { ref: t, ...e }) : C.createElement(oc, { ref: t, ...e }));
4080
4080
  }
4081
4081
  let Eo = le(r0), oc = le(t0), rn = le(n0), yr = Object.assign(Eo, { Child: rn, Root: Eo });
4082
4082
  var a0 = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(a0 || {}), o0 = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(o0 || {});
@@ -4102,31 +4102,31 @@ let As = le(function(e, t) {
4102
4102
  })();
4103
4103
  let d = Yt();
4104
4104
  a === void 0 && d !== null && (a = (d & we.Open) === we.Open);
4105
- let m = Y(null), p = be(m, t), v = yt(m.current), b = a ? 0 : 1, [x, y] = ff(s0, { titleId: null, descriptionId: null, panelRef: gf() }), S = T(() => o(!1)), w = T((R) => y({ type: 0, id: R })), C = ka() ? b === 0 : !1, [I, F] = Ku(), W = { get current() {
4106
- var R;
4107
- return (R = x.panelRef.current) != null ? R : m.current;
4108
- } }, P = Si(), { resolveContainers: O } = Ju({ mainTreeNode: P, portals: I, defaultContainers: [W] }), K = d !== null ? (d & we.Closing) === we.Closing : !1;
4109
- ui(u || K ? !1 : C, { allowed: T(() => {
4110
- var R, A;
4111
- return [(A = (R = m.current) == null ? void 0 : R.closest("[data-headlessui-portal]")) != null ? A : null];
4105
+ let m = Y(null), p = be(m, t), h = yt(m.current), b = a ? 0 : 1, [x, y] = ff(s0, { titleId: null, descriptionId: null, panelRef: gf() }), S = T(() => o(!1)), w = T(($) => y({ type: 0, id: $ })), P = ka() ? b === 0 : !1, [F, R] = Ku(), W = { get current() {
4106
+ var $;
4107
+ return ($ = x.panelRef.current) != null ? $ : m.current;
4108
+ } }, I = Si(), { resolveContainers: O } = Ju({ mainTreeNode: I, portals: F, defaultContainers: [W] }), K = d !== null ? (d & we.Closing) === we.Closing : !1;
4109
+ ui(u || K ? !1 : P, { allowed: T(() => {
4110
+ var $, A;
4111
+ return [(A = ($ = m.current) == null ? void 0 : $.closest("[data-headlessui-portal]")) != null ? A : null];
4112
4112
  }), disallowed: T(() => {
4113
- var R;
4114
- return [(R = P?.closest("body > *:not(#headlessui-portal-root)")) != null ? R : null];
4113
+ var $;
4114
+ return [($ = I?.closest("body > *:not(#headlessui-portal-root)")) != null ? $ : null];
4115
4115
  }) });
4116
4116
  let X = lr.get(null);
4117
4117
  ge(() => {
4118
- if (C) return X.actions.push(n), () => X.actions.pop(n);
4119
- }, [X, n, C]);
4120
- let M = de(X, ie((R) => X.selectors.isTop(R, n), [X, n]));
4121
- fa(M, O, (R) => {
4122
- R.preventDefault(), S();
4123
- }), zp(M, v?.defaultView, (R) => {
4124
- R.preventDefault(), R.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), S();
4125
- }), ma(u || K ? !1 : C, v, O), da(C, m, S);
4118
+ if (P) return X.actions.push(n), () => X.actions.pop(n);
4119
+ }, [X, n, P]);
4120
+ let M = de(X, ie(($) => X.selectors.isTop($, n), [X, n]));
4121
+ fa(M, O, ($) => {
4122
+ $.preventDefault(), S();
4123
+ }), zp(M, h?.defaultView, ($) => {
4124
+ $.preventDefault(), $.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), S();
4125
+ }), ma(u || K ? !1 : P, h, O), da(P, m, S);
4126
4126
  let [V, B] = la(), J = ye(() => [{ dialogState: b, close: S, setTitleId: w, unmount: c }, x], [b, S, w, c, x]), k = ve({ open: b === 0 }), U = { ref: p, id: n, role: s, tabIndex: -1, "aria-modal": u ? void 0 : b === 0 ? !0 : void 0, "aria-labelledby": x.titleId, "aria-describedby": V, unmount: c }, re = !Hp(), E = Qt.None;
4127
- C && !u && (E |= Qt.RestoreFocus, E |= Qt.TabLock, l && (E |= Qt.AutoFocus), re && (E |= Qt.InitialFocus));
4127
+ P && !u && (E |= Qt.RestoreFocus, E |= Qt.TabLock, l && (E |= Qt.AutoFocus), re && (E |= Qt.InitialFocus));
4128
4128
  let L = ue();
4129
- return $.createElement(Bu, null, $.createElement(Ns, { force: !0 }, $.createElement(wa, null, $.createElement($i.Provider, { value: J }, $.createElement(qu, { target: m }, $.createElement(Ns, { force: !1 }, $.createElement(B, { slot: k }, $.createElement(F, null, $.createElement(Yp, { initialFocus: i, initialFocusFallback: m, containers: O, features: E }, $.createElement(ii, { value: S }, L({ ourProps: U, theirProps: f, slot: k, defaultTag: l0, features: u0, visible: b === 0, name: "Dialog" })))))))))));
4129
+ return C.createElement(Bu, null, C.createElement(Ns, { force: !0 }, C.createElement(wa, null, C.createElement($i.Provider, { value: J }, C.createElement(qu, { target: m }, C.createElement(Ns, { force: !1 }, C.createElement(B, { slot: k }, C.createElement(R, null, C.createElement(Yp, { initialFocus: i, initialFocusFallback: m, containers: O, features: E }, C.createElement(ii, { value: S }, L({ ourProps: U, theirProps: f, slot: k, defaultTag: l0, features: u0, visible: b === 0, name: "Dialog" })))))))))));
4130
4130
  }), l0 = "div", u0 = Ke.RenderStrategy | Ke.Static;
4131
4131
  function c0(e, t) {
4132
4132
  let { transition: r = !1, open: n, ...a } = e, o = Yt(), i = e.hasOwnProperty("open") || o !== null, s = e.hasOwnProperty("onClose");
@@ -4135,19 +4135,19 @@ function c0(e, t) {
4135
4135
  if (!s) throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
4136
4136
  if (!o && typeof e.open != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);
4137
4137
  if (typeof e.onClose != "function") throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);
4138
- return (n !== void 0 || r) && !a.static ? $.createElement(Jn, null, $.createElement(yr, { show: n, transition: r, unmount: a.unmount }, $.createElement(As, { ref: t, ...a }))) : $.createElement(Jn, null, $.createElement(As, { ref: t, open: n, ...a }));
4138
+ return (n !== void 0 || r) && !a.static ? C.createElement(Jn, null, C.createElement(yr, { show: n, transition: r, unmount: a.unmount }, C.createElement(As, { ref: t, ...a }))) : C.createElement(Jn, null, C.createElement(As, { ref: t, open: n, ...a }));
4139
4139
  }
4140
4140
  let d0 = "div";
4141
4141
  function f0(e, t) {
4142
- let r = xe(), { id: n = `headlessui-dialog-panel-${r}`, transition: a = !1, ...o } = e, [{ dialogState: i, unmount: s }, l] = $a("Dialog.Panel"), u = be(t, l.panelRef), c = ve({ open: i === 0 }), f = T((v) => {
4143
- v.stopPropagation();
4142
+ let r = xe(), { id: n = `headlessui-dialog-panel-${r}`, transition: a = !1, ...o } = e, [{ dialogState: i, unmount: s }, l] = $a("Dialog.Panel"), u = be(t, l.panelRef), c = ve({ open: i === 0 }), f = T((h) => {
4143
+ h.stopPropagation();
4144
4144
  }), g = { ref: u, id: n, onClick: f }, d = a ? rn : Ie, m = a ? { unmount: s } : {}, p = ue();
4145
- return $.createElement(d, { ...m }, p({ ourProps: g, theirProps: o, slot: c, defaultTag: d0, name: "Dialog.Panel" }));
4145
+ return C.createElement(d, { ...m }, p({ ourProps: g, theirProps: o, slot: c, defaultTag: d0, name: "Dialog.Panel" }));
4146
4146
  }
4147
4147
  let g0 = "div";
4148
4148
  function m0(e, t) {
4149
4149
  let { transition: r = !1, ...n } = e, [{ dialogState: a, unmount: o }] = $a("Dialog.Backdrop"), i = ve({ open: a === 0 }), s = { ref: t, "aria-hidden": !0 }, l = r ? rn : Ie, u = r ? { unmount: o } : {}, c = ue();
4150
- return $.createElement(l, { ...u }, c({ ourProps: s, theirProps: n, slot: i, defaultTag: g0, name: "Dialog.Backdrop" }));
4150
+ return C.createElement(l, { ...u }, c({ ourProps: s, theirProps: n, slot: i, defaultTag: g0, name: "Dialog.Backdrop" }));
4151
4151
  }
4152
4152
  let p0 = "h2";
4153
4153
  function h0(e, t) {
@@ -4159,12 +4159,12 @@ function h0(e, t) {
4159
4159
  let v0 = le(c0), ic = le(f0), b0 = le(m0), sc = le(h0), y0 = Object.assign(v0, { Panel: ic, Title: sc, Description: ln }), x0 = "div";
4160
4160
  function w0(e, t) {
4161
4161
  let r = `headlessui-control-${xe()}`, [n, a] = un(), [o, i] = la(), s = St(), { disabled: l = s || !1, ...u } = e, c = ve({ disabled: l }), f = { ref: t, disabled: l || void 0, "aria-disabled": l || void 0 }, g = ue();
4162
- return $.createElement(Kf, { value: l }, $.createElement(a, { value: n }, $.createElement(i, { value: o }, $.createElement(ug, { id: r }, g({ ourProps: f, theirProps: { ...u, children: $.createElement(ig, null, typeof u.children == "function" ? u.children(c) : u.children) }, slot: c, defaultTag: x0, name: "Field" })))));
4162
+ return C.createElement(Kf, { value: l }, C.createElement(a, { value: n }, C.createElement(i, { value: o }, C.createElement(ug, { id: r }, g({ ourProps: f, theirProps: { ...u, children: C.createElement(ig, null, typeof u.children == "function" ? u.children(c) : u.children) }, slot: c, defaultTag: x0, name: "Field" })))));
4163
4163
  }
4164
4164
  let Ra = le(w0), k0 = "input";
4165
4165
  function S0(e, t) {
4166
- let r = xe(), n = Sr(), a = St(), { id: o = n || `headlessui-input-${r}`, disabled: i = a || !1, autoFocus: s = !1, invalid: l = !1, ...u } = e, c = Er(), f = sn(), { isFocused: g, focusProps: d } = Wt({ autoFocus: s }), { isHovered: m, hoverProps: p } = Bt({ isDisabled: i }), v = qe({ ref: t, id: o, "aria-labelledby": c, "aria-describedby": f, "aria-invalid": l ? "true" : void 0, disabled: i || void 0, autoFocus: s }, d, p), b = ve({ disabled: i, invalid: l, hover: m, focus: g, autofocus: s });
4167
- return ue()({ ourProps: v, theirProps: u, slot: b, defaultTag: k0, name: "Input" });
4166
+ let r = xe(), n = Sr(), a = St(), { id: o = n || `headlessui-input-${r}`, disabled: i = a || !1, autoFocus: s = !1, invalid: l = !1, ...u } = e, c = Er(), f = sn(), { isFocused: g, focusProps: d } = Wt({ autoFocus: s }), { isHovered: m, hoverProps: p } = Bt({ isDisabled: i }), h = qe({ ref: t, id: o, "aria-labelledby": c, "aria-describedby": f, "aria-invalid": l ? "true" : void 0, disabled: i || void 0, autoFocus: s }, d, p), b = ve({ disabled: i, invalid: l, hover: m, focus: g, autofocus: s });
4167
+ return ue()({ ourProps: h, theirProps: u, slot: b, defaultTag: k0, name: "Input" });
4168
4168
  }
4169
4169
  let E0 = le(S0), Os = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
4170
4170
  function _s(e) {
@@ -4387,19 +4387,19 @@ function yn(e) {
4387
4387
  let I0 = Ie;
4388
4388
  function N0(e, t) {
4389
4389
  let r = xe(), n = St(), { value: a, defaultValue: o, form: i, name: s, onChange: l, by: u, invalid: c = !1, disabled: f = n || !1, horizontal: g = !1, multiple: d = !1, __demoMode: m = !1, ...p } = e;
4390
- const v = g ? "horizontal" : "vertical";
4391
- let b = be(t), x = ri(o), [y = d ? [] : void 0, S] = ti(a, l, x), w = fc({ id: r, __demoMode: m }), C = Y({ static: !1, hold: !1 }), I = Y(/* @__PURE__ */ new Map()), F = $g(u), W = ie((L) => $e(P.mode, { [At.Multi]: () => y.some((R) => F(R, L)), [At.Single]: () => F(y, L) }), [y]), P = ve({ value: y, disabled: f, invalid: c, mode: d ? At.Multi : At.Single, orientation: v, onChange: S, compare: F, isSelected: W, optionsPropsRef: C, listRef: I });
4390
+ const h = g ? "horizontal" : "vertical";
4391
+ let b = be(t), x = ri(o), [y = d ? [] : void 0, S] = ti(a, l, x), w = fc({ id: r, __demoMode: m }), P = Y({ static: !1, hold: !1 }), F = Y(/* @__PURE__ */ new Map()), R = $g(u), W = ie((L) => $e(I.mode, { [At.Multi]: () => y.some(($) => R($, L)), [At.Single]: () => R(y, L) }), [y]), I = ve({ value: y, disabled: f, invalid: c, mode: d ? At.Multi : At.Single, orientation: h, onChange: S, compare: R, isSelected: W, optionsPropsRef: P, listRef: F });
4392
4392
  ge(() => {
4393
- w.state.dataRef.current = P;
4394
- }, [P]);
4393
+ w.state.dataRef.current = I;
4394
+ }, [I]);
4395
4395
  let O = de(w, (L) => L.listboxState), K = lr.get(null), X = de(K, ie((L) => K.selectors.isTop(L, r), [K, r])), [M, V] = de(w, (L) => [L.buttonElement, L.optionsElement]);
4396
- fa(X, [M, V], (L, R) => {
4397
- w.send({ type: uc.CloseListbox }), gn(R, fn.Loose) || (L.preventDefault(), M?.focus());
4396
+ fa(X, [M, V], (L, $) => {
4397
+ w.send({ type: uc.CloseListbox }), gn($, fn.Loose) || (L.preventDefault(), M?.focus());
4398
4398
  });
4399
4399
  let B = ve({ open: O === Me.Open, disabled: f, invalid: c, value: y }), [J, k] = un({ inherit: !0 }), U = { ref: b }, re = ie(() => {
4400
4400
  if (x !== void 0) return S?.(x);
4401
4401
  }, [S, x]), E = ue();
4402
- return $.createElement(k, { value: J, props: { htmlFor: M?.id }, slot: { open: O === Me.Open, disabled: f } }, $.createElement(wi, null, $.createElement(dc.Provider, { value: w }, $.createElement(Pa.Provider, { value: P }, $.createElement(xa, { value: $e(O, { [Me.Open]: we.Open, [Me.Closed]: we.Closed }) }, s != null && y != null && $.createElement(ai, { disabled: f, data: { [s]: y }, form: i, onReset: re }), E({ ourProps: U, theirProps: p, slot: B, defaultTag: I0, name: "Listbox" }))))));
4402
+ return C.createElement(k, { value: J, props: { htmlFor: M?.id }, slot: { open: O === Me.Open, disabled: f } }, C.createElement(wi, null, C.createElement(dc.Provider, { value: w }, C.createElement(Pa.Provider, { value: I }, C.createElement(xa, { value: $e(O, { [Me.Open]: we.Open, [Me.Closed]: we.Closed }) }, s != null && y != null && C.createElement(ai, { disabled: f, data: { [s]: y }, form: i, onReset: re }), E({ ourProps: U, theirProps: p, slot: B, defaultTag: I0, name: "Listbox" }))))));
4403
4403
  }
4404
4404
  let A0 = "button";
4405
4405
  function O0(e, t) {
@@ -4409,7 +4409,7 @@ function O0(e, t) {
4409
4409
  let B = V.target.closest('[role="option"]:not([data-disabled])');
4410
4410
  return Ne(B) ? It.Select(B) : m != null && m.contains(V.target) ? It.Ignore : It.Close;
4411
4411
  }, [d, m]), close: o.actions.closeListbox, select: o.actions.selectActiveOption });
4412
- let v = T((V) => {
4412
+ let h = T((V) => {
4413
4413
  switch (V.key) {
4414
4414
  case te.Enter:
4415
4415
  ni(V.currentTarget);
@@ -4427,20 +4427,20 @@ function O0(e, t) {
4427
4427
  }), x = mu((V) => {
4428
4428
  var B;
4429
4429
  o.state.listboxState === Me.Open ? (rr(() => o.actions.closeListbox()), (B = o.state.buttonElement) == null || B.focus({ preventScroll: !0 })) : (V.preventDefault(), o.actions.openListbox({ focus: oe.Nothing }));
4430
- }), y = T((V) => V.preventDefault()), S = Er([i]), w = sn(), { isFocusVisible: C, focusProps: I } = Wt({ autoFocus: l }), { isHovered: F, hoverProps: W } = Bt({ isDisabled: s }), { pressed: P, pressProps: O } = kr({ disabled: s }), K = ve({ open: g === Me.Open, active: P || g === Me.Open, disabled: s, invalid: a.invalid, value: a.value, hover: F, focus: C, autofocus: l }), X = de(o, (V) => V.listboxState === Me.Open), M = qe(f(), { ref: c, id: i, type: ga(e, d), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": X, "aria-labelledby": S, "aria-describedby": w, disabled: s || void 0, autoFocus: l, onKeyDown: v, onKeyUp: b, onKeyPress: y }, x, I, W, O);
4430
+ }), y = T((V) => V.preventDefault()), S = Er([i]), w = sn(), { isFocusVisible: P, focusProps: F } = Wt({ autoFocus: l }), { isHovered: R, hoverProps: W } = Bt({ isDisabled: s }), { pressed: I, pressProps: O } = kr({ disabled: s }), K = ve({ open: g === Me.Open, active: I || g === Me.Open, disabled: s, invalid: a.invalid, value: a.value, hover: R, focus: P, autofocus: l }), X = de(o, (V) => V.listboxState === Me.Open), M = qe(f(), { ref: c, id: i, type: ga(e, d), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": X, "aria-labelledby": S, "aria-describedby": w, disabled: s || void 0, autoFocus: l, onKeyDown: h, onKeyUp: b, onKeyPress: y }, x, F, W, O);
4431
4431
  return ue()({ ourProps: M, theirProps: u, slot: K, defaultTag: A0, name: "Listbox.Button" });
4432
4432
  }
4433
4433
  let gc = Ce(!1), _0 = "div", T0 = Ke.RenderStrategy | Ke.Static;
4434
4434
  function M0(e, t) {
4435
4435
  let r = xe(), { id: n = `headlessui-listbox-options-${r}`, anchor: a, portal: o = !1, modal: i = !0, transition: s = !1, ...l } = e, u = vi(a), [c, f] = ae(null);
4436
4436
  u && (o = !0);
4437
- let g = yn("Listbox.Options"), d = Ri("Listbox.Options"), [m, p, v, b] = de(d, (G) => [G.listboxState, G.buttonElement, G.optionsElement, G.__demoMode]), x = yt(p), y = yt(v), S = Yt(), [w, C] = pn(s, c, S !== null ? (S & we.Open) === we.Open : m === Me.Open);
4437
+ let g = yn("Listbox.Options"), d = Ri("Listbox.Options"), [m, p, h, b] = de(d, (G) => [G.listboxState, G.buttonElement, G.optionsElement, G.__demoMode]), x = yt(p), y = yt(h), S = Yt(), [w, P] = pn(s, c, S !== null ? (S & we.Open) === we.Open : m === Me.Open);
4438
4438
  da(w, p, d.actions.closeListbox);
4439
- let I = b ? !1 : i && m === Me.Open;
4440
- ma(I, y);
4441
4439
  let F = b ? !1 : i && m === Me.Open;
4442
- ui(F, { allowed: ie(() => [p, v], [p, v]) });
4443
- let W = de(d, d.selectors.didButtonMove) ? !1 : w, P = de(d, d.selectors.hasFrozenValue) && !e.static, O = Gu(P, g.value), K = ie((G) => g.compare(O, G), [g.compare, O]), X = de(d, (G) => {
4440
+ ma(F, y);
4441
+ let R = b ? !1 : i && m === Me.Open;
4442
+ ui(R, { allowed: ie(() => [p, h], [p, h]) });
4443
+ let W = de(d, d.selectors.didButtonMove) ? !1 : w, I = de(d, d.selectors.hasFrozenValue) && !e.static, O = Gu(I, g.value), K = ie((G) => g.compare(O, G), [g.compare, O]), X = de(d, (G) => {
4444
4444
  var D;
4445
4445
  if (u == null || !((D = u?.to) != null && D.includes("selection"))) return null;
4446
4446
  let pe = G.options.findIndex((Se) => K(Se.dataRef.current.value));
@@ -4452,9 +4452,9 @@ function M0(e, t) {
4452
4452
  return { ...u, inner: { listRef: { current: G }, index: X } };
4453
4453
  })(), [V, B] = xi(M), J = yi(), k = be(t, u ? V : null, d.actions.setOptionsElement, f), U = rt();
4454
4454
  me(() => {
4455
- let G = v;
4455
+ let G = h;
4456
4456
  G && m === Me.Open && (ei(G) || G == null || G.focus({ preventScroll: !0 }));
4457
- }, [m, v]);
4457
+ }, [m, h]);
4458
4458
  let re = T((G) => {
4459
4459
  var D;
4460
4460
  switch (U.dispose(), G.key) {
@@ -4486,41 +4486,41 @@ function M0(e, t) {
4486
4486
  }), E = de(d, (G) => {
4487
4487
  var D;
4488
4488
  return (D = G.buttonElement) == null ? void 0 : D.id;
4489
- }), L = ve({ open: m === Me.Open }), R = qe(u ? J() : {}, { id: n, ref: k, "aria-activedescendant": de(d, d.selectors.activeDescendantId), "aria-multiselectable": g.mode === At.Multi ? !0 : void 0, "aria-labelledby": E, "aria-orientation": g.orientation, onKeyDown: re, role: "listbox", tabIndex: m === Me.Open ? 0 : void 0, style: { ...l.style, ...B, "--button-width": si(w, p, !0).width }, ...mn(C) }), A = ue(), Q = ye(() => g.mode === At.Multi ? g : { ...g, isSelected: K }, [g, K]);
4490
- return $.createElement(wa, { enabled: o ? e.static || w : !1, ownerDocument: x }, $.createElement(Pa.Provider, { value: Q }, A({ ourProps: R, theirProps: l, slot: L, defaultTag: _0, features: T0, visible: W, name: "Listbox.Options" })));
4489
+ }), L = ve({ open: m === Me.Open }), $ = qe(u ? J() : {}, { id: n, ref: k, "aria-activedescendant": de(d, d.selectors.activeDescendantId), "aria-multiselectable": g.mode === At.Multi ? !0 : void 0, "aria-labelledby": E, "aria-orientation": g.orientation, onKeyDown: re, role: "listbox", tabIndex: m === Me.Open ? 0 : void 0, style: { ...l.style, ...B, "--button-width": si(w, p, !0).width }, ...mn(P) }), A = ue(), Q = ye(() => g.mode === At.Multi ? g : { ...g, isSelected: K }, [g, K]);
4490
+ return C.createElement(wa, { enabled: o ? e.static || w : !1, ownerDocument: x }, C.createElement(Pa.Provider, { value: Q }, A({ ourProps: $, theirProps: l, slot: L, defaultTag: _0, features: T0, visible: W, name: "Listbox.Options" })));
4491
4491
  }
4492
4492
  let j0 = "div";
4493
4493
  function L0(e, t) {
4494
- let r = xe(), { id: n = `headlessui-listbox-option-${r}`, disabled: a = !1, value: o, ...i } = e, s = fe(gc) === !0, l = yn("Listbox.Option"), u = Ri("Listbox.Option"), c = de(u, (P) => u.selectors.isActive(P, n)), f = l.isSelected(o), g = Y(null), d = lc(g), m = lt({ disabled: a, value: o, domRef: g, get textValue() {
4494
+ let r = xe(), { id: n = `headlessui-listbox-option-${r}`, disabled: a = !1, value: o, ...i } = e, s = fe(gc) === !0, l = yn("Listbox.Option"), u = Ri("Listbox.Option"), c = de(u, (I) => u.selectors.isActive(I, n)), f = l.isSelected(o), g = Y(null), d = lc(g), m = lt({ disabled: a, value: o, domRef: g, get textValue() {
4495
4495
  return d();
4496
- } }), p = be(t, g, (P) => {
4497
- P ? l.listRef.current.set(n, P) : l.listRef.current.delete(n);
4498
- }), v = de(u, (P) => u.selectors.shouldScrollIntoView(P, n));
4496
+ } }), p = be(t, g, (I) => {
4497
+ I ? l.listRef.current.set(n, I) : l.listRef.current.delete(n);
4498
+ }), h = de(u, (I) => u.selectors.shouldScrollIntoView(I, n));
4499
4499
  ge(() => {
4500
- if (v) return Le().requestAnimationFrame(() => {
4501
- var P, O;
4502
- (O = (P = g.current) == null ? void 0 : P.scrollIntoView) == null || O.call(P, { block: "nearest" });
4500
+ if (h) return Le().requestAnimationFrame(() => {
4501
+ var I, O;
4502
+ (O = (I = g.current) == null ? void 0 : I.scrollIntoView) == null || O.call(I, { block: "nearest" });
4503
4503
  });
4504
- }, [v, g]), ge(() => {
4504
+ }, [h, g]), ge(() => {
4505
4505
  if (!s) return u.actions.registerOption(n, m), () => u.actions.unregisterOption(n);
4506
4506
  }, [m, n, s]);
4507
- let b = T((P) => {
4508
- if (a) return P.preventDefault();
4507
+ let b = T((I) => {
4508
+ if (a) return I.preventDefault();
4509
4509
  u.actions.selectOption(o);
4510
4510
  }), x = T(() => {
4511
4511
  if (a) return u.actions.goToOption({ focus: oe.Nothing });
4512
4512
  u.actions.goToOption({ focus: oe.Specific, id: n });
4513
- }), y = Eu(), S = T((P) => y.update(P)), w = T((P) => {
4514
- y.wasMoved(P) && (a || c && u.state.activationTrigger === Ln.Pointer || u.actions.goToOption({ focus: oe.Specific, id: n }, Ln.Pointer));
4515
- }), C = T((P) => {
4516
- y.wasMoved(P) && (a || c && u.state.activationTrigger === Ln.Pointer && u.actions.goToOption({ focus: oe.Nothing }));
4517
- }), I = ve({ active: c, focus: c, selected: f, disabled: a, selectedOption: f && s }), F = s ? {} : { id: n, ref: p, role: "option", tabIndex: a === !0 ? void 0 : -1, "aria-disabled": a === !0 ? !0 : void 0, "aria-selected": f, disabled: void 0, onClick: b, onFocus: x, onPointerEnter: S, onMouseEnter: S, onPointerMove: w, onMouseMove: w, onPointerLeave: C, onMouseLeave: C }, W = ue();
4518
- return !f && s ? null : W({ ourProps: F, theirProps: i, slot: I, defaultTag: j0, name: "Listbox.Option" });
4513
+ }), y = Eu(), S = T((I) => y.update(I)), w = T((I) => {
4514
+ y.wasMoved(I) && (a || c && u.state.activationTrigger === Ln.Pointer || u.actions.goToOption({ focus: oe.Specific, id: n }, Ln.Pointer));
4515
+ }), P = T((I) => {
4516
+ y.wasMoved(I) && (a || c && u.state.activationTrigger === Ln.Pointer && u.actions.goToOption({ focus: oe.Nothing }));
4517
+ }), F = ve({ active: c, focus: c, selected: f, disabled: a, selectedOption: f && s }), R = s ? {} : { id: n, ref: p, role: "option", tabIndex: a === !0 ? void 0 : -1, "aria-disabled": a === !0 ? !0 : void 0, "aria-selected": f, disabled: void 0, onClick: b, onFocus: x, onPointerEnter: S, onMouseEnter: S, onPointerMove: w, onMouseMove: w, onPointerLeave: P, onMouseLeave: P }, W = ue();
4518
+ return !f && s ? null : W({ ourProps: R, theirProps: i, slot: F, defaultTag: j0, name: "Listbox.Option" });
4519
4519
  }
4520
4520
  let D0 = Ie;
4521
4521
  function V0(e, t) {
4522
4522
  let { options: r, placeholder: n, ...a } = e, o = { ref: be(t) }, i = yn("ListboxSelectedOption"), s = ve({}), l = i.value === void 0 || i.value === null || i.mode === At.Multi && Array.isArray(i.value) && i.value.length === 0, u = ue();
4523
- return $.createElement(gc.Provider, { value: !0 }, u({ ourProps: o, theirProps: { ...a, children: $.createElement($.Fragment, null, n && l ? n : r) }, slot: s, defaultTag: D0, name: "ListboxSelectedOption" }));
4523
+ return C.createElement(gc.Provider, { value: !0 }, u({ ourProps: o, theirProps: { ...a, children: C.createElement(C.Fragment, null, n && l ? n : r) }, slot: s, defaultTag: D0, name: "ListboxSelectedOption" }));
4524
4524
  }
4525
4525
  let z0 = le(N0), mc = le(O0), H0 = Cr, pc = le(M0), hc = le(L0), G0 = le(V0), B0 = Object.assign(z0, { Button: mc, Label: H0, Options: pc, Option: hc, SelectedOption: G0 });
4526
4526
  var W0 = Object.defineProperty, U0 = (e, t, r) => t in e ? W0(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, js = (e, t, r) => (U0(e, typeof t != "symbol" ? t + "" : t, r), r), _e = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(_e || {}), Qn = ((e) => (e[e.Pointer = 0] = "Pointer", e[e.Other = 1] = "Other", e))(Qn || {}), he = ((e) => (e[e.OpenMenu = 0] = "OpenMenu", e[e.CloseMenu = 1] = "CloseMenu", e[e.GoToItem = 2] = "GoToItem", e[e.Search = 3] = "Search", e[e.ClearSearch = 4] = "ClearSearch", e[e.RegisterItems = 5] = "RegisterItems", e[e.UnregisterItems = 6] = "UnregisterItems", e[e.SetButtonElement = 7] = "SetButtonElement", e[e.SetItemsElement = 8] = "SetItemsElement", e[e.SortItems = 9] = "SortItems", e[e.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", e))(he || {});
@@ -4645,56 +4645,56 @@ function yc({ id: e, __demoMode: t = !1 }) {
4645
4645
  }
4646
4646
  let q0 = Ie;
4647
4647
  function X0(e, t) {
4648
- let r = xe(), { __demoMode: n = !1, ...a } = e, o = yc({ id: r, __demoMode: n }), [i, s, l] = de(o, (v) => [v.menuState, v.itemsElement, v.buttonElement]), u = be(t), c = lr.get(null), f = de(c, ie((v) => c.selectors.isTop(v, r), [c, r]));
4649
- fa(f, [l, s], (v, b) => {
4648
+ let r = xe(), { __demoMode: n = !1, ...a } = e, o = yc({ id: r, __demoMode: n }), [i, s, l] = de(o, (h) => [h.menuState, h.itemsElement, h.buttonElement]), u = be(t), c = lr.get(null), f = de(c, ie((h) => c.selectors.isTop(h, r), [c, r]));
4649
+ fa(f, [l, s], (h, b) => {
4650
4650
  var x;
4651
- o.send({ type: he.CloseMenu }), gn(b, fn.Loose) || (v.preventDefault(), (x = o.state.buttonElement) == null || x.focus());
4651
+ o.send({ type: he.CloseMenu }), gn(b, fn.Loose) || (h.preventDefault(), (x = o.state.buttonElement) == null || x.focus());
4652
4652
  });
4653
4653
  let g = T(() => {
4654
4654
  o.send({ type: he.CloseMenu });
4655
4655
  }), d = ve({ open: i === _e.Open, close: g }), m = { ref: u }, p = ue();
4656
- return $.createElement(wi, null, $.createElement(bc.Provider, { value: o }, $.createElement(xa, { value: $e(i, { [_e.Open]: we.Open, [_e.Closed]: we.Closed }) }, p({ ourProps: m, theirProps: a, slot: d, defaultTag: q0, name: "Menu" }))));
4656
+ return C.createElement(wi, null, C.createElement(bc.Provider, { value: o }, C.createElement(xa, { value: $e(i, { [_e.Open]: we.Open, [_e.Closed]: we.Closed }) }, p({ ourProps: m, theirProps: a, slot: d, defaultTag: q0, name: "Menu" }))));
4657
4657
  }
4658
4658
  let J0 = "button";
4659
4659
  function Q0(e, t) {
4660
- let r = Pi("Menu.Button"), n = xe(), { id: a = `headlessui-menu-button-${n}`, disabled: o = !1, autoFocus: i = !1, ...s } = e, l = Y(null), u = zu(), c = be(t, l, bi(), T((P) => r.send({ type: he.SetButtonElement, element: P }))), f = T((P) => {
4661
- switch (P.key) {
4660
+ let r = Pi("Menu.Button"), n = xe(), { id: a = `headlessui-menu-button-${n}`, disabled: o = !1, autoFocus: i = !1, ...s } = e, l = Y(null), u = zu(), c = be(t, l, bi(), T((I) => r.send({ type: he.SetButtonElement, element: I }))), f = T((I) => {
4661
+ switch (I.key) {
4662
4662
  case te.Space:
4663
4663
  case te.Enter:
4664
4664
  case te.ArrowDown:
4665
- P.preventDefault(), P.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: oe.First } });
4665
+ I.preventDefault(), I.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: oe.First } });
4666
4666
  break;
4667
4667
  case te.ArrowUp:
4668
- P.preventDefault(), P.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: oe.Last } });
4668
+ I.preventDefault(), I.stopPropagation(), r.send({ type: he.OpenMenu, focus: { focus: oe.Last } });
4669
4669
  break;
4670
4670
  }
4671
- }), g = T((P) => {
4672
- P.key === te.Space && P.preventDefault();
4673
- }), [d, m, p] = de(r, (P) => [P.menuState, P.buttonElement, P.itemsElement]), v = d === _e.Open;
4674
- Su(v, { trigger: m, action: ie((P) => {
4675
- if (m != null && m.contains(P.target)) return It.Ignore;
4676
- let O = P.target.closest('[role="menuitem"]:not([data-disabled])');
4677
- return Ne(O) ? It.Select(O) : p != null && p.contains(P.target) ? It.Ignore : It.Close;
4678
- }, [m, p]), close: ie(() => r.send({ type: he.CloseMenu }), []), select: ie((P) => P.click(), []) });
4679
- let b = mu((P) => {
4671
+ }), g = T((I) => {
4672
+ I.key === te.Space && I.preventDefault();
4673
+ }), [d, m, p] = de(r, (I) => [I.menuState, I.buttonElement, I.itemsElement]), h = d === _e.Open;
4674
+ Su(h, { trigger: m, action: ie((I) => {
4675
+ if (m != null && m.contains(I.target)) return It.Ignore;
4676
+ let O = I.target.closest('[role="menuitem"]:not([data-disabled])');
4677
+ return Ne(O) ? It.Select(O) : p != null && p.contains(I.target) ? It.Ignore : It.Close;
4678
+ }, [m, p]), close: ie(() => r.send({ type: he.CloseMenu }), []), select: ie((I) => I.click(), []) });
4679
+ let b = mu((I) => {
4680
4680
  var O;
4681
- o || (d === _e.Open ? (rr(() => r.send({ type: he.CloseMenu })), (O = l.current) == null || O.focus({ preventScroll: !0 })) : (P.preventDefault(), r.send({ type: he.OpenMenu, focus: { focus: oe.Nothing }, trigger: Qn.Pointer })));
4682
- }), { isFocusVisible: x, focusProps: y } = Wt({ autoFocus: i }), { isHovered: S, hoverProps: w } = Bt({ isDisabled: o }), { pressed: C, pressProps: I } = kr({ disabled: o }), F = ve({ open: d === _e.Open, active: C || d === _e.Open, disabled: o, hover: S, focus: x, autofocus: i }), W = qe(u(), { ref: c, id: a, type: ga(e, l.current), "aria-haspopup": "menu", "aria-controls": p?.id, "aria-expanded": d === _e.Open, disabled: o || void 0, autoFocus: i, onKeyDown: f, onKeyUp: g }, b, y, w, I);
4683
- return ue()({ ourProps: W, theirProps: s, slot: F, defaultTag: J0, name: "Menu.Button" });
4681
+ o || (d === _e.Open ? (rr(() => r.send({ type: he.CloseMenu })), (O = l.current) == null || O.focus({ preventScroll: !0 })) : (I.preventDefault(), r.send({ type: he.OpenMenu, focus: { focus: oe.Nothing }, trigger: Qn.Pointer })));
4682
+ }), { isFocusVisible: x, focusProps: y } = Wt({ autoFocus: i }), { isHovered: S, hoverProps: w } = Bt({ isDisabled: o }), { pressed: P, pressProps: F } = kr({ disabled: o }), R = ve({ open: d === _e.Open, active: P || d === _e.Open, disabled: o, hover: S, focus: x, autofocus: i }), W = qe(u(), { ref: c, id: a, type: ga(e, l.current), "aria-haspopup": "menu", "aria-controls": p?.id, "aria-expanded": d === _e.Open, disabled: o || void 0, autoFocus: i, onKeyDown: f, onKeyUp: g }, b, y, w, F);
4683
+ return ue()({ ourProps: W, theirProps: s, slot: R, defaultTag: J0, name: "Menu.Button" });
4684
4684
  }
4685
4685
  let Z0 = "div", eh = Ke.RenderStrategy | Ke.Static;
4686
4686
  function th(e, t) {
4687
- let r = xe(), { id: n = `headlessui-menu-items-${r}`, anchor: a, portal: o = !1, modal: i = !0, transition: s = !1, ...l } = e, u = vi(a), c = Pi("Menu.Items"), [f, g] = xi(u), d = yi(), [m, p] = ae(null), v = be(t, u ? f : null, T((k) => c.send({ type: he.SetItemsElement, element: k })), p), [b, x] = de(c, (k) => [k.menuState, k.buttonElement]), y = yt(x), S = yt(m);
4687
+ let r = xe(), { id: n = `headlessui-menu-items-${r}`, anchor: a, portal: o = !1, modal: i = !0, transition: s = !1, ...l } = e, u = vi(a), c = Pi("Menu.Items"), [f, g] = xi(u), d = yi(), [m, p] = ae(null), h = be(t, u ? f : null, T((k) => c.send({ type: he.SetItemsElement, element: k })), p), [b, x] = de(c, (k) => [k.menuState, k.buttonElement]), y = yt(x), S = yt(m);
4688
4688
  u && (o = !0);
4689
- let w = Yt(), [C, I] = pn(s, m, w !== null ? (w & we.Open) === we.Open : b === _e.Open);
4690
- da(C, x, () => {
4689
+ let w = Yt(), [P, F] = pn(s, m, w !== null ? (w & we.Open) === we.Open : b === _e.Open);
4690
+ da(P, x, () => {
4691
4691
  c.send({ type: he.CloseMenu });
4692
4692
  });
4693
- let F = de(c, (k) => k.__demoMode), W = F ? !1 : i && b === _e.Open;
4693
+ let R = de(c, (k) => k.__demoMode), W = R ? !1 : i && b === _e.Open;
4694
4694
  ma(W, S);
4695
- let P = F ? !1 : i && b === _e.Open;
4696
- ui(P, { allowed: ie(() => [x, m], [x, m]) });
4697
- let O = de(c, c.selectors.didButtonMove) ? !1 : C;
4695
+ let I = R ? !1 : i && b === _e.Open;
4696
+ ui(I, { allowed: ie(() => [x, m], [x, m]) });
4697
+ let O = de(c, c.selectors.didButtonMove) ? !1 : P;
4698
4698
  me(() => {
4699
4699
  let k = m;
4700
4700
  k && b === _e.Open && (ei(k) || k.focus({ preventScroll: !0 }));
@@ -4740,8 +4740,8 @@ function th(e, t) {
4740
4740
  }), V = ve({ open: b === _e.Open }), B = qe(u ? d() : {}, { "aria-activedescendant": de(c, c.selectors.activeDescendantId), "aria-labelledby": de(c, (k) => {
4741
4741
  var U;
4742
4742
  return (U = k.buttonElement) == null ? void 0 : U.id;
4743
- }), id: n, onKeyDown: X, onKeyUp: M, role: "menu", tabIndex: b === _e.Open ? 0 : void 0, ref: v, style: { ...l.style, ...g, "--button-width": si(C, x, !0).width }, ...mn(I) }), J = ue();
4744
- return $.createElement(wa, { enabled: o ? e.static || C : !1, ownerDocument: y }, J({ ourProps: B, theirProps: l, slot: V, defaultTag: Z0, features: eh, visible: O, name: "Menu.Items" }));
4743
+ }), id: n, onKeyDown: X, onKeyUp: M, role: "menu", tabIndex: b === _e.Open ? 0 : void 0, ref: h, style: { ...l.style, ...g, "--button-width": si(P, x, !0).width }, ...mn(F) }), J = ue();
4744
+ return C.createElement(wa, { enabled: o ? e.static || P : !1, ownerDocument: y }, J({ ourProps: B, theirProps: l, slot: V, defaultTag: Z0, features: eh, visible: O, name: "Menu.Items" }));
4745
4745
  }
4746
4746
  let rh = Ie;
4747
4747
  function nh(e, t) {
@@ -4766,17 +4766,17 @@ function nh(e, t) {
4766
4766
  }), p = T(() => {
4767
4767
  if (a) return i.send({ type: he.GoToItem, focus: oe.Nothing });
4768
4768
  i.send({ type: he.GoToItem, focus: oe.Specific, id: n });
4769
- }), v = Eu(), b = T((O) => v.update(O)), x = T((O) => {
4770
- v.wasMoved(O) && (a || s || i.send({ type: he.GoToItem, focus: oe.Specific, id: n, trigger: Qn.Pointer }));
4769
+ }), h = Eu(), b = T((O) => h.update(O)), x = T((O) => {
4770
+ h.wasMoved(O) && (a || s || i.send({ type: he.GoToItem, focus: oe.Specific, id: n, trigger: Qn.Pointer }));
4771
4771
  }), y = T((O) => {
4772
- v.wasMoved(O) && (a || s && i.state.activationTrigger === Qn.Pointer && i.send({ type: he.GoToItem, focus: oe.Nothing }));
4773
- }), [S, w] = un(), [C, I] = la(), F = ve({ active: s, focus: s, disabled: a, close: d }), W = { id: n, ref: u, role: "menuitem", tabIndex: a === !0 ? void 0 : -1, "aria-disabled": a === !0 ? !0 : void 0, "aria-labelledby": S, "aria-describedby": C, disabled: void 0, onClick: m, onFocus: p, onPointerEnter: b, onMouseEnter: b, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, P = ue();
4774
- return $.createElement(w, null, $.createElement(I, null, P({ ourProps: W, theirProps: o, slot: F, defaultTag: rh, name: "Menu.Item" })));
4772
+ h.wasMoved(O) && (a || s && i.state.activationTrigger === Qn.Pointer && i.send({ type: he.GoToItem, focus: oe.Nothing }));
4773
+ }), [S, w] = un(), [P, F] = la(), R = ve({ active: s, focus: s, disabled: a, close: d }), W = { id: n, ref: u, role: "menuitem", tabIndex: a === !0 ? void 0 : -1, "aria-disabled": a === !0 ? !0 : void 0, "aria-labelledby": S, "aria-describedby": P, disabled: void 0, onClick: m, onFocus: p, onPointerEnter: b, onMouseEnter: b, onPointerMove: x, onMouseMove: x, onPointerLeave: y, onMouseLeave: y }, I = ue();
4774
+ return C.createElement(w, null, C.createElement(F, null, I({ ourProps: W, theirProps: o, slot: R, defaultTag: rh, name: "Menu.Item" })));
4775
4775
  }
4776
4776
  let ah = "div";
4777
4777
  function oh(e, t) {
4778
4778
  let [r, n] = un(), a = e, o = { ref: t, "aria-labelledby": r, role: "group" }, i = ue();
4779
- return $.createElement(n, null, i({ ourProps: o, theirProps: a, slot: {}, defaultTag: ah, name: "Menu.Section" }));
4779
+ return C.createElement(n, null, i({ ourProps: o, theirProps: a, slot: {}, defaultTag: ah, name: "Menu.Section" }));
4780
4780
  }
4781
4781
  let ih = "header";
4782
4782
  function sh(e, t) {
@@ -4856,31 +4856,31 @@ function Sh(e, t) {
4856
4856
  var r;
4857
4857
  let n = xe(), { __demoMode: a = !1, ...o } = e, i = xh({ id: n, __demoMode: a }), s = Y(null), l = be(t, du((M) => {
4858
4858
  s.current = M;
4859
- })), [u, c, f, g, d] = de(i, ie((M) => [M.popoverState, M.button, M.panel, M.buttonId, M.panelId], [])), m = Ug((r = s.current) != null ? r : c), p = lt(g), v = lt(d), b = ye(() => ({ buttonId: p, panelId: v, close: i.actions.close }), [p, v, i]), x = Ec(), y = x?.registerPopover, S = T(() => {
4859
+ })), [u, c, f, g, d] = de(i, ie((M) => [M.popoverState, M.button, M.panel, M.buttonId, M.panelId], [])), m = Ug((r = s.current) != null ? r : c), p = lt(g), h = lt(d), b = ye(() => ({ buttonId: p, panelId: h, close: i.actions.close }), [p, h, i]), x = Ec(), y = x?.registerPopover, S = T(() => {
4860
4860
  var M, V;
4861
4861
  let B = Mt((M = s.current) != null ? M : c);
4862
4862
  return (V = x?.isFocusWithinPopoverGroup()) != null ? V : B && (c?.contains(B) || f?.contains(B));
4863
4863
  });
4864
4864
  me(() => y?.(b), [y, b]);
4865
- let [w, C] = Ku(), I = Si(c), F = Ju({ mainTreeNode: I, portals: w, defaultContainers: [{ get current() {
4865
+ let [w, P] = Ku(), F = Si(c), R = Ju({ mainTreeNode: F, portals: w, defaultContainers: [{ get current() {
4866
4866
  return i.state.button;
4867
4867
  } }, { get current() {
4868
4868
  return i.state.panel;
4869
4869
  } }] });
4870
4870
  di(m, "focus", (M) => {
4871
4871
  var V, B, J, k, U, re;
4872
- M.target !== window && Je(M.target) && i.state.popoverState === Pe.Open && (S() || i.state.button && i.state.panel && (F.contains(M.target) || (B = (V = i.state.beforePanelSentinel.current) == null ? void 0 : V.contains) != null && B.call(V, M.target) || (k = (J = i.state.afterPanelSentinel.current) == null ? void 0 : J.contains) != null && k.call(J, M.target) || (re = (U = i.state.afterButtonSentinel.current) == null ? void 0 : U.contains) != null && re.call(U, M.target) || i.actions.close()));
4872
+ M.target !== window && Je(M.target) && i.state.popoverState === Pe.Open && (S() || i.state.button && i.state.panel && (R.contains(M.target) || (B = (V = i.state.beforePanelSentinel.current) == null ? void 0 : V.contains) != null && B.call(V, M.target) || (k = (J = i.state.afterPanelSentinel.current) == null ? void 0 : J.contains) != null && k.call(J, M.target) || (re = (U = i.state.afterButtonSentinel.current) == null ? void 0 : U.contains) != null && re.call(U, M.target) || i.actions.close()));
4873
4873
  }, !0);
4874
4874
  let W = u === Pe.Open;
4875
- fa(W, F.resolveContainers, (M, V) => {
4875
+ fa(W, R.resolveContainers, (M, V) => {
4876
4876
  i.actions.close(), gn(V, fn.Loose) || (M.preventDefault(), c?.focus());
4877
4877
  });
4878
- let P = ve({ open: u === Pe.Open, close: i.actions.refocusableClose }), O = de(i, ie((M) => $e(M.popoverState, { [Pe.Open]: we.Open, [Pe.Closed]: we.Closed }), [])), K = { ref: l }, X = ue();
4879
- return $.createElement(Jn, { node: I }, $.createElement(wi, null, $.createElement(Ia.Provider, { value: null }, $.createElement(Sc.Provider, { value: i }, $.createElement(ii, { value: i.actions.refocusableClose }, $.createElement(xa, { value: O }, $.createElement(C, null, X({ ourProps: K, theirProps: o, slot: P, defaultTag: kh, name: "Popover" }))))))));
4878
+ let I = ve({ open: u === Pe.Open, close: i.actions.refocusableClose }), O = de(i, ie((M) => $e(M.popoverState, { [Pe.Open]: we.Open, [Pe.Closed]: we.Closed }), [])), K = { ref: l }, X = ue();
4879
+ return C.createElement(Jn, { node: F }, C.createElement(wi, null, C.createElement(Ia.Provider, { value: null }, C.createElement(Sc.Provider, { value: i }, C.createElement(ii, { value: i.actions.refocusableClose }, C.createElement(xa, { value: O }, C.createElement(P, null, X({ ourProps: K, theirProps: o, slot: I, defaultTag: kh, name: "Popover" }))))))));
4880
4880
  }
4881
4881
  let Eh = "button";
4882
4882
  function Ch(e, t) {
4883
- let r = xe(), { id: n = `headlessui-popover-button-${r}`, disabled: a = !1, autoFocus: o = !1, ...i } = e, s = Fa("Popover.Button"), [l, u, c, f, g, d, m] = de(s, ie((A) => [A.popoverState, s.selectors.isPortalled(A), A.button, A.buttonId, A.panel, A.panelId, A.afterButtonSentinel], [])), p = Y(null), v = `headlessui-focus-sentinel-${xe()}`, b = Ec(), x = b?.closeOthers, y = wh() !== null;
4883
+ let r = xe(), { id: n = `headlessui-popover-button-${r}`, disabled: a = !1, autoFocus: o = !1, ...i } = e, s = Fa("Popover.Button"), [l, u, c, f, g, d, m] = de(s, ie((A) => [A.popoverState, s.selectors.isPortalled(A), A.button, A.buttonId, A.panel, A.panelId, A.afterButtonSentinel], [])), p = Y(null), h = `headlessui-focus-sentinel-${xe()}`, b = Ec(), x = b?.closeOthers, y = wh() !== null;
4884
4884
  me(() => {
4885
4885
  if (!y) return s.actions.setButtonId(n), () => s.actions.setButtonId(null);
4886
4886
  }, [y, n, s]);
@@ -4893,7 +4893,7 @@ function Ch(e, t) {
4893
4893
  }
4894
4894
  s.state.buttons.current.length > 1 && console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."), A && s.actions.setButton(A);
4895
4895
  }
4896
- })), C = be(p, t), I = T((A) => {
4896
+ })), P = be(p, t), F = T((A) => {
4897
4897
  var Q, G, D;
4898
4898
  if (y) {
4899
4899
  if (s.state.popoverState === Pe.Closed) return;
@@ -4916,69 +4916,69 @@ function Ch(e, t) {
4916
4916
  A.preventDefault(), A.stopPropagation(), s.actions.close();
4917
4917
  break;
4918
4918
  }
4919
- }), F = T((A) => {
4919
+ }), R = T((A) => {
4920
4920
  y || A.key === te.Space && A.preventDefault();
4921
4921
  }), W = T((A) => {
4922
4922
  var Q, G;
4923
4923
  hr(A.currentTarget) || a || (y ? (s.actions.close(), (Q = s.state.button) == null || Q.focus()) : (A.preventDefault(), A.stopPropagation(), s.state.popoverState === Pe.Closed ? (x?.(s.state.buttonId), s.actions.open()) : s.actions.close(), (G = s.state.button) == null || G.focus()));
4924
- }), P = T((A) => {
4924
+ }), I = T((A) => {
4925
4925
  A.preventDefault(), A.stopPropagation();
4926
- }), { isFocusVisible: O, focusProps: K } = Wt({ autoFocus: o }), { isHovered: X, hoverProps: M } = Bt({ isDisabled: a }), { pressed: V, pressProps: B } = kr({ disabled: a }), J = l === Pe.Open, k = ve({ open: J, active: V || J, disabled: a, hover: X, focus: O, autofocus: o }), U = ga(e, c), re = qe(y ? { ref: C, type: U, onKeyDown: I, onClick: W, disabled: a || void 0, autoFocus: o } : { ref: w, id: f, type: U, "aria-expanded": l === Pe.Open, "aria-controls": g ? d : void 0, disabled: a || void 0, autoFocus: o, onKeyDown: I, onKeyUp: F, onClick: W, onMouseDown: P }, K, M, B), E = Ci(), L = T(() => {
4926
+ }), { isFocusVisible: O, focusProps: K } = Wt({ autoFocus: o }), { isHovered: X, hoverProps: M } = Bt({ isDisabled: a }), { pressed: V, pressProps: B } = kr({ disabled: a }), J = l === Pe.Open, k = ve({ open: J, active: V || J, disabled: a, hover: X, focus: O, autofocus: o }), U = ga(e, c), re = qe(y ? { ref: P, type: U, onKeyDown: F, onClick: W, disabled: a || void 0, autoFocus: o } : { ref: w, id: f, type: U, "aria-expanded": l === Pe.Open, "aria-controls": g ? d : void 0, disabled: a || void 0, autoFocus: o, onKeyDown: F, onKeyUp: R, onClick: W, onMouseDown: I }, K, M, B), E = Ci(), L = T(() => {
4927
4927
  if (!Ne(s.state.panel)) return;
4928
4928
  let A = s.state.panel;
4929
4929
  function Q() {
4930
4930
  $e(E.current, { [ze.Forwards]: () => Ve(A, Re.First), [ze.Backwards]: () => Ve(A, Re.Last) }) === vr.Error && Ve(dn(Tt(s.state.button)).filter((G) => G.dataset.headlessuiFocusGuard !== "true"), $e(E.current, { [ze.Forwards]: Re.Next, [ze.Backwards]: Re.Previous }), { relativeTo: s.state.button });
4931
4931
  }
4932
4932
  Q();
4933
- }), R = ue();
4934
- return $.createElement($.Fragment, null, R({ ourProps: re, theirProps: i, slot: k, defaultTag: Eh, name: "Popover.Button" }), J && !y && u && $.createElement(bt, { id: v, ref: m, features: ut.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: L }));
4933
+ }), $ = ue();
4934
+ return C.createElement(C.Fragment, null, $({ ourProps: re, theirProps: i, slot: k, defaultTag: Eh, name: "Popover.Button" }), J && !y && u && C.createElement(bt, { id: h, ref: m, features: ut.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: L }));
4935
4935
  }
4936
4936
  let $h = "div", Rh = Ke.RenderStrategy | Ke.Static;
4937
4937
  function Cc(e, t) {
4938
4938
  let r = xe(), { id: n = `headlessui-popover-backdrop-${r}`, transition: a = !1, ...o } = e, i = Fa("Popover.Backdrop"), s = de(i, ie((b) => b.popoverState, [])), [l, u] = ae(null), c = be(t, u), f = Yt(), [g, d] = pn(a, l, f !== null ? (f & we.Open) === we.Open : s === Pe.Open), m = T((b) => {
4939
4939
  if (hr(b.currentTarget)) return b.preventDefault();
4940
4940
  i.actions.close();
4941
- }), p = ve({ open: s === Pe.Open }), v = { ref: c, id: n, "aria-hidden": !0, onClick: m, ...mn(d) };
4942
- return ue()({ ourProps: v, theirProps: o, slot: p, defaultTag: $h, features: Rh, visible: g, name: "Popover.Backdrop" });
4941
+ }), p = ve({ open: s === Pe.Open }), h = { ref: c, id: n, "aria-hidden": !0, onClick: m, ...mn(d) };
4942
+ return ue()({ ourProps: h, theirProps: o, slot: p, defaultTag: $h, features: Rh, visible: g, name: "Popover.Backdrop" });
4943
4943
  }
4944
4944
  let Ph = "div", Fh = Ke.RenderStrategy | Ke.Static;
4945
4945
  function Ih(e, t) {
4946
- let r = xe(), { id: n = `headlessui-popover-panel-${r}`, focus: a = !1, anchor: o, portal: i = !1, modal: s = !1, transition: l = !1, ...u } = e, c = Fa("Popover.Panel"), f = de(c, c.selectors.isPortalled), [g, d, m, p, v] = de(c, ie((R) => [R.popoverState, R.button, R.__demoMode, R.beforePanelSentinel, R.afterPanelSentinel], [])), b = `headlessui-focus-sentinel-before-${r}`, x = `headlessui-focus-sentinel-after-${r}`, y = Y(null), S = vi(o), [w, C] = xi(S), I = yi();
4946
+ let r = xe(), { id: n = `headlessui-popover-panel-${r}`, focus: a = !1, anchor: o, portal: i = !1, modal: s = !1, transition: l = !1, ...u } = e, c = Fa("Popover.Panel"), f = de(c, c.selectors.isPortalled), [g, d, m, p, h] = de(c, ie(($) => [$.popoverState, $.button, $.__demoMode, $.beforePanelSentinel, $.afterPanelSentinel], [])), b = `headlessui-focus-sentinel-before-${r}`, x = `headlessui-focus-sentinel-after-${r}`, y = Y(null), S = vi(o), [w, P] = xi(S), F = yi();
4947
4947
  S && (i = !0);
4948
- let [F, W] = ae(null), P = be(y, t, S ? w : null, c.actions.setPanel, W), O = yt(d), K = yt(y.current);
4948
+ let [R, W] = ae(null), I = be(y, t, S ? w : null, c.actions.setPanel, W), O = yt(d), K = yt(y.current);
4949
4949
  ge(() => (c.actions.setPanelId(n), () => c.actions.setPanelId(null)), [n, c]);
4950
- let X = Yt(), [M, V] = pn(l, F, X !== null ? (X & we.Open) === we.Open : g === Pe.Open);
4950
+ let X = Yt(), [M, V] = pn(l, R, X !== null ? (X & we.Open) === we.Open : g === Pe.Open);
4951
4951
  da(M, d, c.actions.close), ma(m ? !1 : s && M, K);
4952
- let B = T((R) => {
4952
+ let B = T(($) => {
4953
4953
  var A;
4954
- switch (R.key) {
4954
+ switch ($.key) {
4955
4955
  case te.Escape:
4956
4956
  if (c.state.popoverState !== Pe.Open || !y.current) return;
4957
4957
  let Q = Mt(y.current);
4958
4958
  if (Q && !y.current.contains(Q)) return;
4959
- R.preventDefault(), R.stopPropagation(), c.actions.close(), (A = c.state.button) == null || A.focus();
4959
+ $.preventDefault(), $.stopPropagation(), c.actions.close(), (A = c.state.button) == null || A.focus();
4960
4960
  break;
4961
4961
  }
4962
4962
  });
4963
4963
  me(() => {
4964
- var R;
4965
- e.static || g === Pe.Closed && ((R = e.unmount) == null || R) && c.actions.setPanel(null);
4964
+ var $;
4965
+ e.static || g === Pe.Closed && (($ = e.unmount) == null || $) && c.actions.setPanel(null);
4966
4966
  }, [g, e.unmount, e.static, c]), me(() => {
4967
4967
  if (m || !a || g !== Pe.Open || !y.current) return;
4968
- let R = Mt(y.current);
4969
- y.current.contains(R) || Ve(y.current, Re.First);
4968
+ let $ = Mt(y.current);
4969
+ y.current.contains($) || Ve(y.current, Re.First);
4970
4970
  }, [m, a, y.current, g]);
4971
- let J = ve({ open: g === Pe.Open, close: c.actions.refocusableClose }), k = qe(S ? I() : {}, { ref: P, id: n, onKeyDown: B, onBlur: a && g === Pe.Open ? (R) => {
4971
+ let J = ve({ open: g === Pe.Open, close: c.actions.refocusableClose }), k = qe(S ? F() : {}, { ref: I, id: n, onKeyDown: B, onBlur: a && g === Pe.Open ? ($) => {
4972
4972
  var A, Q, G, D, pe;
4973
- let Se = R.relatedTarget;
4974
- Se && y.current && ((A = y.current) != null && A.contains(Se) || (c.actions.close(), ((G = (Q = p.current) == null ? void 0 : Q.contains) != null && G.call(Q, Se) || (pe = (D = v.current) == null ? void 0 : D.contains) != null && pe.call(D, Se)) && Se.focus({ preventScroll: !0 })));
4975
- } : void 0, tabIndex: -1, style: { ...u.style, ...C, "--button-width": si(M, d, !0).width }, ...mn(V) }), U = Ci(), re = T(() => {
4976
- let R = y.current;
4977
- if (!R) return;
4973
+ let Se = $.relatedTarget;
4974
+ Se && y.current && ((A = y.current) != null && A.contains(Se) || (c.actions.close(), ((G = (Q = p.current) == null ? void 0 : Q.contains) != null && G.call(Q, Se) || (pe = (D = h.current) == null ? void 0 : D.contains) != null && pe.call(D, Se)) && Se.focus({ preventScroll: !0 })));
4975
+ } : void 0, tabIndex: -1, style: { ...u.style, ...P, "--button-width": si(M, d, !0).width }, ...mn(V) }), U = Ci(), re = T(() => {
4976
+ let $ = y.current;
4977
+ if (!$) return;
4978
4978
  function A() {
4979
4979
  $e(U.current, { [ze.Forwards]: () => {
4980
4980
  var Q;
4981
- Ve(R, Re.First) === vr.Error && ((Q = c.state.afterPanelSentinel.current) == null || Q.focus());
4981
+ Ve($, Re.First) === vr.Error && ((Q = c.state.afterPanelSentinel.current) == null || Q.focus());
4982
4982
  }, [ze.Backwards]: () => {
4983
4983
  var Q;
4984
4984
  (Q = c.state.button) == null || Q.focus({ preventScroll: !0 });
@@ -4986,51 +4986,51 @@ function Ih(e, t) {
4986
4986
  }
4987
4987
  A();
4988
4988
  }), E = T(() => {
4989
- let R = y.current;
4990
- if (!R) return;
4989
+ let $ = y.current;
4990
+ if (!$) return;
4991
4991
  function A() {
4992
4992
  $e(U.current, { [ze.Forwards]: () => {
4993
4993
  var Q;
4994
4994
  if (!c.state.button) return;
4995
4995
  let G = (Q = Tt(c.state.button)) != null ? Q : document.body, D = dn(G), pe = D.indexOf(c.state.button), Se = D.slice(0, pe + 1), Xe = [...D.slice(pe + 1), ...Se];
4996
- for (let qt of Xe.slice()) if (qt.dataset.headlessuiFocusGuard === "true" || F != null && F.contains(qt)) {
4996
+ for (let qt of Xe.slice()) if (qt.dataset.headlessuiFocusGuard === "true" || R != null && R.contains(qt)) {
4997
4997
  let Xt = Xe.indexOf(qt);
4998
4998
  Xt !== -1 && Xe.splice(Xt, 1);
4999
4999
  }
5000
5000
  Ve(Xe, Re.First, { sorted: !1 });
5001
5001
  }, [ze.Backwards]: () => {
5002
5002
  var Q;
5003
- Ve(R, Re.Previous) === vr.Error && ((Q = c.state.button) == null || Q.focus());
5003
+ Ve($, Re.Previous) === vr.Error && ((Q = c.state.button) == null || Q.focus());
5004
5004
  } });
5005
5005
  }
5006
5006
  A();
5007
5007
  }), L = ue();
5008
- return $.createElement(Bu, null, $.createElement(Ia.Provider, { value: n }, $.createElement(ii, { value: c.actions.refocusableClose }, $.createElement(wa, { enabled: i ? e.static || M : !1, ownerDocument: O }, M && f && $.createElement(bt, { id: b, ref: p, features: ut.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: re }), L({ ourProps: k, theirProps: u, slot: J, defaultTag: Ph, features: Fh, visible: M, name: "Popover.Panel" }), M && f && $.createElement(bt, { id: x, ref: v, features: ut.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: E })))));
5008
+ return C.createElement(Bu, null, C.createElement(Ia.Provider, { value: n }, C.createElement(ii, { value: c.actions.refocusableClose }, C.createElement(wa, { enabled: i ? e.static || M : !1, ownerDocument: O }, M && f && C.createElement(bt, { id: b, ref: p, features: ut.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: re }), L({ ourProps: k, theirProps: u, slot: J, defaultTag: Ph, features: Fh, visible: M, name: "Popover.Panel" }), M && f && C.createElement(bt, { id: x, ref: h, features: ut.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: E })))));
5009
5009
  }
5010
5010
  let Nh = "div";
5011
5011
  function Ah(e, t) {
5012
5012
  let r = Y(null), n = be(r, t), [a, o] = ae([]), i = T((p) => {
5013
- o((v) => {
5014
- let b = v.indexOf(p);
5013
+ o((h) => {
5014
+ let b = h.indexOf(p);
5015
5015
  if (b !== -1) {
5016
- let x = v.slice();
5016
+ let x = h.slice();
5017
5017
  return x.splice(b, 1), x;
5018
5018
  }
5019
- return v;
5019
+ return h;
5020
5020
  });
5021
- }), s = T((p) => (o((v) => [...v, p]), () => i(p))), l = T(() => {
5021
+ }), s = T((p) => (o((h) => [...h, p]), () => i(p))), l = T(() => {
5022
5022
  var p;
5023
- let v = Tt(r.current);
5024
- if (!v) return !1;
5023
+ let h = Tt(r.current);
5024
+ if (!h) return !1;
5025
5025
  let b = Mt(r.current);
5026
5026
  return (p = r.current) != null && p.contains(b) ? !0 : a.some((x) => {
5027
5027
  var y, S;
5028
- return ((y = v.getElementById(x.buttonId.current)) == null ? void 0 : y.contains(b)) || ((S = v.getElementById(x.panelId.current)) == null ? void 0 : S.contains(b));
5028
+ return ((y = h.getElementById(x.buttonId.current)) == null ? void 0 : y.contains(b)) || ((S = h.getElementById(x.panelId.current)) == null ? void 0 : S.contains(b));
5029
5029
  });
5030
5030
  }), u = T((p) => {
5031
- for (let v of a) v.buttonId.current !== p && v.close();
5031
+ for (let h of a) h.buttonId.current !== p && h.close();
5032
5032
  }), c = ye(() => ({ registerPopover: s, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: u }), [s, i, l, u]), f = ve({}), g = e, d = { ref: n }, m = ue();
5033
- return $.createElement(Jn, null, $.createElement(Fi.Provider, { value: c }, m({ ourProps: d, theirProps: g, slot: f, defaultTag: Nh, name: "Popover.Group" })));
5033
+ return C.createElement(Jn, null, C.createElement(Fi.Provider, { value: c }, m({ ourProps: d, theirProps: g, slot: f, defaultTag: Nh, name: "Popover.Group" })));
5034
5034
  }
5035
5035
  let Oh = le(Sh), Zn = le(Ch), _h = le(Cc), Th = le(Cc), Ii = le(Ih), Mh = le(Ah), $c = Object.assign(Oh, { Button: Zn, Backdrop: Th, Overlay: _h, Panel: Ii, Group: Mh }), Ni = Ce(null);
5036
5036
  Ni.displayName = "GroupContext";
@@ -5038,31 +5038,31 @@ let jh = Ie;
5038
5038
  function Lh(e) {
5039
5039
  var t;
5040
5040
  let [r, n] = ae(null), [a, o] = un(), [i, s] = la(), l = ye(() => ({ switch: r, setSwitch: n }), [r, n]), u = {}, c = e, f = ue();
5041
- return $.createElement(s, { name: "Switch.Description", value: i }, $.createElement(o, { name: "Switch.Label", value: a, props: { htmlFor: (t = l.switch) == null ? void 0 : t.id, onClick(g) {
5041
+ return C.createElement(s, { name: "Switch.Description", value: i }, C.createElement(o, { name: "Switch.Label", value: a, props: { htmlFor: (t = l.switch) == null ? void 0 : t.id, onClick(g) {
5042
5042
  r && (bo(g.currentTarget) && g.preventDefault(), r.click(), r.focus({ preventScroll: !0 }));
5043
- } } }, $.createElement(Ni.Provider, { value: l }, f({ ourProps: u, theirProps: c, slot: {}, defaultTag: jh, name: "Switch.Group" }))));
5043
+ } } }, C.createElement(Ni.Provider, { value: l }, f({ ourProps: u, theirProps: c, slot: {}, defaultTag: jh, name: "Switch.Group" }))));
5044
5044
  }
5045
5045
  let Dh = "button";
5046
5046
  function Vh(e, t) {
5047
5047
  var r;
5048
- let n = xe(), a = Sr(), o = St(), { id: i = a || `headlessui-switch-${n}`, disabled: s = o || !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, autoFocus: m = !1, ...p } = e, v = fe(Ni), [b, x] = ae(null), y = Y(null), S = be(y, t, v === null ? null : v.setSwitch, x), w = ri(u), [C, I] = ti(l, c, w ?? !1), F = rt(), [W, P] = ae(!1), O = T(() => {
5049
- P(!0), I?.(!C), F.nextFrame(() => {
5050
- P(!1);
5048
+ let n = xe(), a = Sr(), o = St(), { id: i = a || `headlessui-switch-${n}`, disabled: s = o || !1, checked: l, defaultChecked: u, onChange: c, name: f, value: g, form: d, autoFocus: m = !1, ...p } = e, h = fe(Ni), [b, x] = ae(null), y = Y(null), S = be(y, t, h === null ? null : h.setSwitch, x), w = ri(u), [P, F] = ti(l, c, w ?? !1), R = rt(), [W, I] = ae(!1), O = T(() => {
5049
+ I(!0), F?.(!P), R.nextFrame(() => {
5050
+ I(!1);
5051
5051
  });
5052
5052
  }), K = T((D) => {
5053
5053
  if (hr(D.currentTarget)) return D.preventDefault();
5054
5054
  D.preventDefault(), O();
5055
5055
  }), X = T((D) => {
5056
5056
  D.key === te.Space ? (D.preventDefault(), O()) : D.key === te.Enter && ni(D.currentTarget);
5057
- }), M = T((D) => D.preventDefault()), V = Er(), B = sn(), { isFocusVisible: J, focusProps: k } = Wt({ autoFocus: m }), { isHovered: U, hoverProps: re } = Bt({ isDisabled: s }), { pressed: E, pressProps: L } = kr({ disabled: s }), R = ve({ checked: C, disabled: s, hover: U, focus: J, active: E, autofocus: m, changing: W }), A = qe({ id: i, ref: S, role: "switch", type: ga(e, b), tabIndex: e.tabIndex === -1 ? 0 : (r = e.tabIndex) != null ? r : 0, "aria-checked": C, "aria-labelledby": V, "aria-describedby": B, disabled: s || void 0, autoFocus: m, onClick: K, onKeyUp: X, onKeyPress: M }, k, re, L), Q = ie(() => {
5058
- if (w !== void 0) return I?.(w);
5059
- }, [I, w]), G = ue();
5060
- return $.createElement($.Fragment, null, f != null && $.createElement(ai, { disabled: s, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: C }, form: d, onReset: Q }), G({ ourProps: A, theirProps: p, slot: R, defaultTag: Dh, name: "Switch" }));
5057
+ }), M = T((D) => D.preventDefault()), V = Er(), B = sn(), { isFocusVisible: J, focusProps: k } = Wt({ autoFocus: m }), { isHovered: U, hoverProps: re } = Bt({ isDisabled: s }), { pressed: E, pressProps: L } = kr({ disabled: s }), $ = ve({ checked: P, disabled: s, hover: U, focus: J, active: E, autofocus: m, changing: W }), A = qe({ id: i, ref: S, role: "switch", type: ga(e, b), tabIndex: e.tabIndex === -1 ? 0 : (r = e.tabIndex) != null ? r : 0, "aria-checked": P, "aria-labelledby": V, "aria-describedby": B, disabled: s || void 0, autoFocus: m, onClick: K, onKeyUp: X, onKeyPress: M }, k, re, L), Q = ie(() => {
5058
+ if (w !== void 0) return F?.(w);
5059
+ }, [F, w]), G = ue();
5060
+ return C.createElement(C.Fragment, null, f != null && C.createElement(ai, { disabled: s, data: { [f]: g || "on" }, overrides: { type: "checkbox", checked: P }, form: d, onReset: Q }), G({ ourProps: A, theirProps: p, slot: $, defaultTag: Dh, name: "Switch" }));
5061
5061
  }
5062
5062
  let zh = le(Vh), Hh = Lh, Gh = Cr, Bh = ln, Wh = Object.assign(zh, { Group: Hh, Label: Gh, Description: Bh }), Uh = "textarea";
5063
5063
  function Yh(e, t) {
5064
- let r = xe(), n = Sr(), a = St(), { id: o = n || `headlessui-textarea-${r}`, disabled: i = a || !1, autoFocus: s = !1, invalid: l = !1, ...u } = e, c = Er(), f = sn(), { isFocused: g, focusProps: d } = Wt({ autoFocus: s }), { isHovered: m, hoverProps: p } = Bt({ isDisabled: i }), v = qe({ ref: t, id: o, "aria-labelledby": c, "aria-describedby": f, "aria-invalid": l ? "true" : void 0, disabled: i || void 0, autoFocus: s }, d, p), b = ve({ disabled: i, invalid: l, hover: m, focus: g, autofocus: s });
5065
- return ue()({ ourProps: v, theirProps: u, slot: b, defaultTag: Uh, name: "Textarea" });
5064
+ let r = xe(), n = Sr(), a = St(), { id: o = n || `headlessui-textarea-${r}`, disabled: i = a || !1, autoFocus: s = !1, invalid: l = !1, ...u } = e, c = Er(), f = sn(), { isFocused: g, focusProps: d } = Wt({ autoFocus: s }), { isHovered: m, hoverProps: p } = Bt({ isDisabled: i }), h = qe({ ref: t, id: o, "aria-labelledby": c, "aria-describedby": f, "aria-invalid": l ? "true" : void 0, disabled: i || void 0, autoFocus: s }, d, p), b = ve({ disabled: i, invalid: l, hover: m, focus: g, autofocus: s });
5065
+ return ue()({ ourProps: h, theirProps: u, slot: b, defaultTag: Uh, name: "Textarea" });
5066
5066
  }
5067
5067
  let Kh = le(Yh);
5068
5068
  const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, ce = (e, t) => (r) => {
@@ -5079,14 +5079,14 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5079
5079
  }, {}), l = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((u, c) => {
5080
5080
  let { class: f, className: g, ...d } = c;
5081
5081
  return Object.entries(d).every((m) => {
5082
- let [p, v] = m;
5083
- return Array.isArray(v) ? v.includes({
5082
+ let [p, h] = m;
5083
+ return Array.isArray(h) ? h.includes({
5084
5084
  ...o,
5085
5085
  ...s
5086
5086
  }[p]) : {
5087
5087
  ...o,
5088
5088
  ...s
5089
- }[p] === v;
5089
+ }[p] === h;
5090
5090
  }) ? [
5091
5091
  ...u,
5092
5092
  f,
@@ -5241,18 +5241,18 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5241
5241
  let i = 0, s = 0, l = 0, u;
5242
5242
  const c = a.length;
5243
5243
  for (let p = 0; p < c; p++) {
5244
- const v = a[p];
5244
+ const h = a[p];
5245
5245
  if (i === 0 && s === 0) {
5246
- if (v === Gs) {
5246
+ if (h === Gs) {
5247
5247
  o.push(a.slice(l, p)), l = p + 1;
5248
5248
  continue;
5249
5249
  }
5250
- if (v === "/") {
5250
+ if (h === "/") {
5251
5251
  u = p;
5252
5252
  continue;
5253
5253
  }
5254
5254
  }
5255
- v === "[" ? i++ : v === "]" ? i-- : v === "(" ? s++ : v === ")" && s--;
5255
+ h === "[" ? i++ : h === "]" ? i-- : h === "(" ? s++ : h === ")" && s--;
5256
5256
  }
5257
5257
  const f = o.length === 0 ? a : a.slice(l);
5258
5258
  let g = f, d = !1;
@@ -5316,9 +5316,9 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5316
5316
  l = c + (l.length > 0 ? " " + l : l);
5317
5317
  continue;
5318
5318
  }
5319
- let v = !!p, b = n(v ? m.substring(0, p) : m);
5319
+ let h = !!p, b = n(h ? m.substring(0, p) : m);
5320
5320
  if (!b) {
5321
- if (!v) {
5321
+ if (!h) {
5322
5322
  l = c + (l.length > 0 ? " " + l : l);
5323
5323
  continue;
5324
5324
  }
@@ -5326,16 +5326,16 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5326
5326
  l = c + (l.length > 0 ? " " + l : l);
5327
5327
  continue;
5328
5328
  }
5329
- v = !1;
5329
+ h = !1;
5330
5330
  }
5331
5331
  const x = g.length === 0 ? "" : g.length === 1 ? g[0] : o(g).join(":"), y = d ? x + Co : x, S = y + b;
5332
5332
  if (i.indexOf(S) > -1)
5333
5333
  continue;
5334
5334
  i.push(S);
5335
- const w = a(b, v);
5336
- for (let C = 0; C < w.length; ++C) {
5337
- const I = w[C];
5338
- i.push(y + I);
5335
+ const w = a(b, h);
5336
+ for (let P = 0; P < w.length; ++P) {
5337
+ const F = w[P];
5338
+ i.push(y + F);
5339
5339
  }
5340
5340
  l = c + (l.length > 0 ? " " + l : l);
5341
5341
  }
@@ -5380,7 +5380,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5380
5380
  const n = Ac.exec(e);
5381
5381
  return n ? n[1] ? t(n[1]) : r : !1;
5382
5382
  }, _c = (e) => e === "position" || e === "percentage", Tc = (e) => e === "image" || e === "url", Mc = (e) => e === "length" || e === "size" || e === "bg-size", jc = (e) => e === "length", Ov = (e) => e === "number", _v = (e) => e === "family-name", Lc = (e) => e === "shadow", Tv = () => {
5383
- const e = Fe("color"), t = Fe("font"), r = Fe("text"), n = Fe("font-weight"), a = Fe("tracking"), o = Fe("leading"), i = Fe("breakpoint"), s = Fe("container"), l = Fe("spacing"), u = Fe("radius"), c = Fe("shadow"), f = Fe("inset-shadow"), g = Fe("text-shadow"), d = Fe("drop-shadow"), m = Fe("blur"), p = Fe("perspective"), v = Fe("aspect"), b = Fe("ease"), x = Fe("animate"), y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
5383
+ const e = Fe("color"), t = Fe("font"), r = Fe("text"), n = Fe("font-weight"), a = Fe("tracking"), o = Fe("leading"), i = Fe("breakpoint"), s = Fe("container"), l = Fe("spacing"), u = Fe("radius"), c = Fe("shadow"), f = Fe("inset-shadow"), g = Fe("text-shadow"), d = Fe("drop-shadow"), m = Fe("blur"), p = Fe("perspective"), h = Fe("aspect"), b = Fe("ease"), x = Fe("animate"), y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
5384
5384
  "center",
5385
5385
  "top",
5386
5386
  "bottom",
@@ -5398,15 +5398,15 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5398
5398
  "bottom-left",
5399
5399
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
5400
5400
  "left-bottom"
5401
- ], w = () => [...S(), H, z], C = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], F = () => [H, z, l], W = () => [ur, "full", "auto", ...F()], P = () => [Ct, "none", "subgrid", H, z], O = () => ["auto", {
5401
+ ], w = () => [...S(), H, z], P = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], R = () => [H, z, l], W = () => [ur, "full", "auto", ...R()], I = () => [Ct, "none", "subgrid", H, z], O = () => ["auto", {
5402
5402
  span: ["full", Ct, H, z]
5403
- }, Ct, H, z], K = () => [Ct, "auto", H, z], X = () => ["auto", "min", "max", "fr", H, z], M = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], V = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...F()], J = () => [ur, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...F()], k = () => [e, H, z], U = () => [...S(), Us, Ws, {
5403
+ }, Ct, H, z], K = () => [Ct, "auto", H, z], X = () => ["auto", "min", "max", "fr", H, z], M = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], V = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...R()], J = () => [ur, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], k = () => [e, H, z], U = () => [...S(), Us, Ws, {
5404
5404
  position: [H, z]
5405
5405
  }], re = () => ["no-repeat", {
5406
5406
  repeat: ["", "x", "y", "space", "round"]
5407
5407
  }], E = () => ["auto", "cover", "contain", Nv, Pv, {
5408
5408
  size: [H, z]
5409
- }], L = () => [Ka, Tr, Jt], R = () => [
5409
+ }], L = () => [Ka, Tr, Jt], $ = () => [
5410
5410
  // Deprecated since Tailwind CSS v4.0.0
5411
5411
  "",
5412
5412
  "none",
@@ -5421,7 +5421,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5421
5421
  m,
5422
5422
  H,
5423
5423
  z
5424
- ], Se = () => ["none", se, H, z], Xe = () => ["none", se, H, z], qt = () => [se, H, z], Xt = () => [ur, "full", ...F()];
5424
+ ], Se = () => ["none", se, H, z], Xe = () => ["none", se, H, z], qt = () => [se, H, z], Xt = () => [ur, "full", ...R()];
5425
5425
  return {
5426
5426
  cacheSize: 500,
5427
5427
  theme: {
@@ -5454,7 +5454,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5454
5454
  * @see https://tailwindcss.com/docs/aspect-ratio
5455
5455
  */
5456
5456
  aspect: [{
5457
- aspect: ["auto", "square", ur, z, H, v]
5457
+ aspect: ["auto", "square", ur, z, H, h]
5458
5458
  }],
5459
5459
  /**
5460
5460
  * Container
@@ -5552,42 +5552,42 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5552
5552
  * @see https://tailwindcss.com/docs/overflow
5553
5553
  */
5554
5554
  overflow: [{
5555
- overflow: C()
5555
+ overflow: P()
5556
5556
  }],
5557
5557
  /**
5558
5558
  * Overflow X
5559
5559
  * @see https://tailwindcss.com/docs/overflow
5560
5560
  */
5561
5561
  "overflow-x": [{
5562
- "overflow-x": C()
5562
+ "overflow-x": P()
5563
5563
  }],
5564
5564
  /**
5565
5565
  * Overflow Y
5566
5566
  * @see https://tailwindcss.com/docs/overflow
5567
5567
  */
5568
5568
  "overflow-y": [{
5569
- "overflow-y": C()
5569
+ "overflow-y": P()
5570
5570
  }],
5571
5571
  /**
5572
5572
  * Overscroll Behavior
5573
5573
  * @see https://tailwindcss.com/docs/overscroll-behavior
5574
5574
  */
5575
5575
  overscroll: [{
5576
- overscroll: I()
5576
+ overscroll: F()
5577
5577
  }],
5578
5578
  /**
5579
5579
  * Overscroll Behavior X
5580
5580
  * @see https://tailwindcss.com/docs/overscroll-behavior
5581
5581
  */
5582
5582
  "overscroll-x": [{
5583
- "overscroll-x": I()
5583
+ "overscroll-x": F()
5584
5584
  }],
5585
5585
  /**
5586
5586
  * Overscroll Behavior Y
5587
5587
  * @see https://tailwindcss.com/docs/overscroll-behavior
5588
5588
  */
5589
5589
  "overscroll-y": [{
5590
- "overscroll-y": I()
5590
+ "overscroll-y": F()
5591
5591
  }],
5592
5592
  /**
5593
5593
  * Position
@@ -5677,7 +5677,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5677
5677
  * @see https://tailwindcss.com/docs/flex-basis
5678
5678
  */
5679
5679
  basis: [{
5680
- basis: [ur, "full", "auto", s, ...F()]
5680
+ basis: [ur, "full", "auto", s, ...R()]
5681
5681
  }],
5682
5682
  /**
5683
5683
  * Flex Direction
@@ -5726,7 +5726,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5726
5726
  * @see https://tailwindcss.com/docs/grid-template-columns
5727
5727
  */
5728
5728
  "grid-cols": [{
5729
- "grid-cols": P()
5729
+ "grid-cols": I()
5730
5730
  }],
5731
5731
  /**
5732
5732
  * Grid Column Start / End
@@ -5754,7 +5754,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5754
5754
  * @see https://tailwindcss.com/docs/grid-template-rows
5755
5755
  */
5756
5756
  "grid-rows": [{
5757
- "grid-rows": P()
5757
+ "grid-rows": I()
5758
5758
  }],
5759
5759
  /**
5760
5760
  * Grid Row Start / End
@@ -5803,21 +5803,21 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5803
5803
  * @see https://tailwindcss.com/docs/gap
5804
5804
  */
5805
5805
  gap: [{
5806
- gap: F()
5806
+ gap: R()
5807
5807
  }],
5808
5808
  /**
5809
5809
  * Gap X
5810
5810
  * @see https://tailwindcss.com/docs/gap
5811
5811
  */
5812
5812
  "gap-x": [{
5813
- "gap-x": F()
5813
+ "gap-x": R()
5814
5814
  }],
5815
5815
  /**
5816
5816
  * Gap Y
5817
5817
  * @see https://tailwindcss.com/docs/gap
5818
5818
  */
5819
5819
  "gap-y": [{
5820
- "gap-y": F()
5820
+ "gap-y": R()
5821
5821
  }],
5822
5822
  /**
5823
5823
  * Justify Content
@@ -5892,63 +5892,63 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
5892
5892
  * @see https://tailwindcss.com/docs/padding
5893
5893
  */
5894
5894
  p: [{
5895
- p: F()
5895
+ p: R()
5896
5896
  }],
5897
5897
  /**
5898
5898
  * Padding X
5899
5899
  * @see https://tailwindcss.com/docs/padding
5900
5900
  */
5901
5901
  px: [{
5902
- px: F()
5902
+ px: R()
5903
5903
  }],
5904
5904
  /**
5905
5905
  * Padding Y
5906
5906
  * @see https://tailwindcss.com/docs/padding
5907
5907
  */
5908
5908
  py: [{
5909
- py: F()
5909
+ py: R()
5910
5910
  }],
5911
5911
  /**
5912
5912
  * Padding Start
5913
5913
  * @see https://tailwindcss.com/docs/padding
5914
5914
  */
5915
5915
  ps: [{
5916
- ps: F()
5916
+ ps: R()
5917
5917
  }],
5918
5918
  /**
5919
5919
  * Padding End
5920
5920
  * @see https://tailwindcss.com/docs/padding
5921
5921
  */
5922
5922
  pe: [{
5923
- pe: F()
5923
+ pe: R()
5924
5924
  }],
5925
5925
  /**
5926
5926
  * Padding Top
5927
5927
  * @see https://tailwindcss.com/docs/padding
5928
5928
  */
5929
5929
  pt: [{
5930
- pt: F()
5930
+ pt: R()
5931
5931
  }],
5932
5932
  /**
5933
5933
  * Padding Right
5934
5934
  * @see https://tailwindcss.com/docs/padding
5935
5935
  */
5936
5936
  pr: [{
5937
- pr: F()
5937
+ pr: R()
5938
5938
  }],
5939
5939
  /**
5940
5940
  * Padding Bottom
5941
5941
  * @see https://tailwindcss.com/docs/padding
5942
5942
  */
5943
5943
  pb: [{
5944
- pb: F()
5944
+ pb: R()
5945
5945
  }],
5946
5946
  /**
5947
5947
  * Padding Left
5948
5948
  * @see https://tailwindcss.com/docs/padding
5949
5949
  */
5950
5950
  pl: [{
5951
- pl: F()
5951
+ pl: R()
5952
5952
  }],
5953
5953
  /**
5954
5954
  * Margin
@@ -6018,7 +6018,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
6018
6018
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
6019
6019
  */
6020
6020
  "space-x": [{
6021
- "space-x": F()
6021
+ "space-x": R()
6022
6022
  }],
6023
6023
  /**
6024
6024
  * Space Between X Reverse
@@ -6030,7 +6030,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
6030
6030
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
6031
6031
  */
6032
6032
  "space-y": [{
6033
- "space-y": F()
6033
+ "space-y": R()
6034
6034
  }],
6035
6035
  /**
6036
6036
  * Space Between Y Reverse
@@ -6199,7 +6199,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
6199
6199
  leading: [
6200
6200
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
6201
6201
  o,
6202
- ...F()
6202
+ ...R()
6203
6203
  ]
6204
6204
  }],
6205
6205
  /**
@@ -6300,7 +6300,7 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
6300
6300
  * @see https://tailwindcss.com/docs/text-indent
6301
6301
  */
6302
6302
  indent: [{
6303
- indent: F()
6303
+ indent: R()
6304
6304
  }],
6305
6305
  /**
6306
6306
  * Vertical Alignment
@@ -6459,105 +6459,105 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
6459
6459
  * @see https://tailwindcss.com/docs/border-radius
6460
6460
  */
6461
6461
  rounded: [{
6462
- rounded: R()
6462
+ rounded: $()
6463
6463
  }],
6464
6464
  /**
6465
6465
  * Border Radius Start
6466
6466
  * @see https://tailwindcss.com/docs/border-radius
6467
6467
  */
6468
6468
  "rounded-s": [{
6469
- "rounded-s": R()
6469
+ "rounded-s": $()
6470
6470
  }],
6471
6471
  /**
6472
6472
  * Border Radius End
6473
6473
  * @see https://tailwindcss.com/docs/border-radius
6474
6474
  */
6475
6475
  "rounded-e": [{
6476
- "rounded-e": R()
6476
+ "rounded-e": $()
6477
6477
  }],
6478
6478
  /**
6479
6479
  * Border Radius Top
6480
6480
  * @see https://tailwindcss.com/docs/border-radius
6481
6481
  */
6482
6482
  "rounded-t": [{
6483
- "rounded-t": R()
6483
+ "rounded-t": $()
6484
6484
  }],
6485
6485
  /**
6486
6486
  * Border Radius Right
6487
6487
  * @see https://tailwindcss.com/docs/border-radius
6488
6488
  */
6489
6489
  "rounded-r": [{
6490
- "rounded-r": R()
6490
+ "rounded-r": $()
6491
6491
  }],
6492
6492
  /**
6493
6493
  * Border Radius Bottom
6494
6494
  * @see https://tailwindcss.com/docs/border-radius
6495
6495
  */
6496
6496
  "rounded-b": [{
6497
- "rounded-b": R()
6497
+ "rounded-b": $()
6498
6498
  }],
6499
6499
  /**
6500
6500
  * Border Radius Left
6501
6501
  * @see https://tailwindcss.com/docs/border-radius
6502
6502
  */
6503
6503
  "rounded-l": [{
6504
- "rounded-l": R()
6504
+ "rounded-l": $()
6505
6505
  }],
6506
6506
  /**
6507
6507
  * Border Radius Start Start
6508
6508
  * @see https://tailwindcss.com/docs/border-radius
6509
6509
  */
6510
6510
  "rounded-ss": [{
6511
- "rounded-ss": R()
6511
+ "rounded-ss": $()
6512
6512
  }],
6513
6513
  /**
6514
6514
  * Border Radius Start End
6515
6515
  * @see https://tailwindcss.com/docs/border-radius
6516
6516
  */
6517
6517
  "rounded-se": [{
6518
- "rounded-se": R()
6518
+ "rounded-se": $()
6519
6519
  }],
6520
6520
  /**
6521
6521
  * Border Radius End End
6522
6522
  * @see https://tailwindcss.com/docs/border-radius
6523
6523
  */
6524
6524
  "rounded-ee": [{
6525
- "rounded-ee": R()
6525
+ "rounded-ee": $()
6526
6526
  }],
6527
6527
  /**
6528
6528
  * Border Radius End Start
6529
6529
  * @see https://tailwindcss.com/docs/border-radius
6530
6530
  */
6531
6531
  "rounded-es": [{
6532
- "rounded-es": R()
6532
+ "rounded-es": $()
6533
6533
  }],
6534
6534
  /**
6535
6535
  * Border Radius Top Left
6536
6536
  * @see https://tailwindcss.com/docs/border-radius
6537
6537
  */
6538
6538
  "rounded-tl": [{
6539
- "rounded-tl": R()
6539
+ "rounded-tl": $()
6540
6540
  }],
6541
6541
  /**
6542
6542
  * Border Radius Top Right
6543
6543
  * @see https://tailwindcss.com/docs/border-radius
6544
6544
  */
6545
6545
  "rounded-tr": [{
6546
- "rounded-tr": R()
6546
+ "rounded-tr": $()
6547
6547
  }],
6548
6548
  /**
6549
6549
  * Border Radius Bottom Right
6550
6550
  * @see https://tailwindcss.com/docs/border-radius
6551
6551
  */
6552
6552
  "rounded-br": [{
6553
- "rounded-br": R()
6553
+ "rounded-br": $()
6554
6554
  }],
6555
6555
  /**
6556
6556
  * Border Radius Bottom Left
6557
6557
  * @see https://tailwindcss.com/docs/border-radius
6558
6558
  */
6559
6559
  "rounded-bl": [{
6560
- "rounded-bl": R()
6560
+ "rounded-bl": $()
6561
6561
  }],
6562
6562
  /**
6563
6563
  * Border Width
@@ -7264,21 +7264,21 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
7264
7264
  * @see https://tailwindcss.com/docs/border-spacing
7265
7265
  */
7266
7266
  "border-spacing": [{
7267
- "border-spacing": F()
7267
+ "border-spacing": R()
7268
7268
  }],
7269
7269
  /**
7270
7270
  * Border Spacing X
7271
7271
  * @see https://tailwindcss.com/docs/border-spacing
7272
7272
  */
7273
7273
  "border-spacing-x": [{
7274
- "border-spacing-x": F()
7274
+ "border-spacing-x": R()
7275
7275
  }],
7276
7276
  /**
7277
7277
  * Border Spacing Y
7278
7278
  * @see https://tailwindcss.com/docs/border-spacing
7279
7279
  */
7280
7280
  "border-spacing-y": [{
7281
- "border-spacing-y": F()
7281
+ "border-spacing-y": R()
7282
7282
  }],
7283
7283
  /**
7284
7284
  * Table Layout
@@ -7570,126 +7570,126 @@ const Vs = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, zs = Wl, c
7570
7570
  * @see https://tailwindcss.com/docs/scroll-margin
7571
7571
  */
7572
7572
  "scroll-m": [{
7573
- "scroll-m": F()
7573
+ "scroll-m": R()
7574
7574
  }],
7575
7575
  /**
7576
7576
  * Scroll Margin X
7577
7577
  * @see https://tailwindcss.com/docs/scroll-margin
7578
7578
  */
7579
7579
  "scroll-mx": [{
7580
- "scroll-mx": F()
7580
+ "scroll-mx": R()
7581
7581
  }],
7582
7582
  /**
7583
7583
  * Scroll Margin Y
7584
7584
  * @see https://tailwindcss.com/docs/scroll-margin
7585
7585
  */
7586
7586
  "scroll-my": [{
7587
- "scroll-my": F()
7587
+ "scroll-my": R()
7588
7588
  }],
7589
7589
  /**
7590
7590
  * Scroll Margin Start
7591
7591
  * @see https://tailwindcss.com/docs/scroll-margin
7592
7592
  */
7593
7593
  "scroll-ms": [{
7594
- "scroll-ms": F()
7594
+ "scroll-ms": R()
7595
7595
  }],
7596
7596
  /**
7597
7597
  * Scroll Margin End
7598
7598
  * @see https://tailwindcss.com/docs/scroll-margin
7599
7599
  */
7600
7600
  "scroll-me": [{
7601
- "scroll-me": F()
7601
+ "scroll-me": R()
7602
7602
  }],
7603
7603
  /**
7604
7604
  * Scroll Margin Top
7605
7605
  * @see https://tailwindcss.com/docs/scroll-margin
7606
7606
  */
7607
7607
  "scroll-mt": [{
7608
- "scroll-mt": F()
7608
+ "scroll-mt": R()
7609
7609
  }],
7610
7610
  /**
7611
7611
  * Scroll Margin Right
7612
7612
  * @see https://tailwindcss.com/docs/scroll-margin
7613
7613
  */
7614
7614
  "scroll-mr": [{
7615
- "scroll-mr": F()
7615
+ "scroll-mr": R()
7616
7616
  }],
7617
7617
  /**
7618
7618
  * Scroll Margin Bottom
7619
7619
  * @see https://tailwindcss.com/docs/scroll-margin
7620
7620
  */
7621
7621
  "scroll-mb": [{
7622
- "scroll-mb": F()
7622
+ "scroll-mb": R()
7623
7623
  }],
7624
7624
  /**
7625
7625
  * Scroll Margin Left
7626
7626
  * @see https://tailwindcss.com/docs/scroll-margin
7627
7627
  */
7628
7628
  "scroll-ml": [{
7629
- "scroll-ml": F()
7629
+ "scroll-ml": R()
7630
7630
  }],
7631
7631
  /**
7632
7632
  * Scroll Padding
7633
7633
  * @see https://tailwindcss.com/docs/scroll-padding
7634
7634
  */
7635
7635
  "scroll-p": [{
7636
- "scroll-p": F()
7636
+ "scroll-p": R()
7637
7637
  }],
7638
7638
  /**
7639
7639
  * Scroll Padding X
7640
7640
  * @see https://tailwindcss.com/docs/scroll-padding
7641
7641
  */
7642
7642
  "scroll-px": [{
7643
- "scroll-px": F()
7643
+ "scroll-px": R()
7644
7644
  }],
7645
7645
  /**
7646
7646
  * Scroll Padding Y
7647
7647
  * @see https://tailwindcss.com/docs/scroll-padding
7648
7648
  */
7649
7649
  "scroll-py": [{
7650
- "scroll-py": F()
7650
+ "scroll-py": R()
7651
7651
  }],
7652
7652
  /**
7653
7653
  * Scroll Padding Start
7654
7654
  * @see https://tailwindcss.com/docs/scroll-padding
7655
7655
  */
7656
7656
  "scroll-ps": [{
7657
- "scroll-ps": F()
7657
+ "scroll-ps": R()
7658
7658
  }],
7659
7659
  /**
7660
7660
  * Scroll Padding End
7661
7661
  * @see https://tailwindcss.com/docs/scroll-padding
7662
7662
  */
7663
7663
  "scroll-pe": [{
7664
- "scroll-pe": F()
7664
+ "scroll-pe": R()
7665
7665
  }],
7666
7666
  /**
7667
7667
  * Scroll Padding Top
7668
7668
  * @see https://tailwindcss.com/docs/scroll-padding
7669
7669
  */
7670
7670
  "scroll-pt": [{
7671
- "scroll-pt": F()
7671
+ "scroll-pt": R()
7672
7672
  }],
7673
7673
  /**
7674
7674
  * Scroll Padding Right
7675
7675
  * @see https://tailwindcss.com/docs/scroll-padding
7676
7676
  */
7677
7677
  "scroll-pr": [{
7678
- "scroll-pr": F()
7678
+ "scroll-pr": R()
7679
7679
  }],
7680
7680
  /**
7681
7681
  * Scroll Padding Bottom
7682
7682
  * @see https://tailwindcss.com/docs/scroll-padding
7683
7683
  */
7684
7684
  "scroll-pb": [{
7685
- "scroll-pb": F()
7685
+ "scroll-pb": R()
7686
7686
  }],
7687
7687
  /**
7688
7688
  * Scroll Padding Left
7689
7689
  * @see https://tailwindcss.com/docs/scroll-padding
7690
7690
  */
7691
7691
  "scroll-pl": [{
7692
- "scroll-pl": F()
7692
+ "scroll-pl": R()
7693
7693
  }],
7694
7694
  /**
7695
7695
  * Scroll Snap Align
@@ -7885,7 +7885,7 @@ const jv = ce(
7885
7885
  shape: "circle"
7886
7886
  }
7887
7887
  }
7888
- ), Dc = $.forwardRef(
7888
+ ), Dc = C.forwardRef(
7889
7889
  ({
7890
7890
  className: e,
7891
7891
  size: t,
@@ -7897,13 +7897,13 @@ const jv = ce(
7897
7897
  title: s,
7898
7898
  ...l
7899
7899
  }, u) => {
7900
- const [c, f] = ae(!1), g = o && !c, d = /* @__PURE__ */ h.jsx(
7900
+ const [c, f] = ae(!1), g = o && !c, d = /* @__PURE__ */ v.jsx(
7901
7901
  "div",
7902
7902
  {
7903
7903
  ref: u,
7904
7904
  className: _(jv({ size: t, colorScheme: r, shape: n }), e),
7905
7905
  ...l,
7906
- children: g ? /* @__PURE__ */ h.jsx(
7906
+ children: g ? /* @__PURE__ */ v.jsx(
7907
7907
  "img",
7908
7908
  {
7909
7909
  src: o,
@@ -7911,11 +7911,11 @@ const jv = ce(
7911
7911
  className: "h-full w-full object-cover",
7912
7912
  onError: () => f(!0)
7913
7913
  }
7914
- ) : /* @__PURE__ */ h.jsx("span", { className: "leading-none uppercase", children: a?.slice(0, 2) })
7914
+ ) : /* @__PURE__ */ v.jsx("span", { className: "leading-none uppercase", children: a?.slice(0, 2) })
7915
7915
  }
7916
7916
  );
7917
- return s ? /* @__PURE__ */ h.jsxs($c, { className: "relative inline-flex", children: [
7918
- /* @__PURE__ */ h.jsx(
7917
+ return s ? /* @__PURE__ */ v.jsxs($c, { className: "relative inline-flex", children: [
7918
+ /* @__PURE__ */ v.jsx(
7919
7919
  Zn,
7920
7920
  {
7921
7921
  as: "div",
@@ -7923,7 +7923,7 @@ const jv = ce(
7923
7923
  children: d
7924
7924
  }
7925
7925
  ),
7926
- /* @__PURE__ */ h.jsx(
7926
+ /* @__PURE__ */ v.jsx(
7927
7927
  Ii,
7928
7928
  {
7929
7929
  anchor: "bottom",
@@ -8029,7 +8029,7 @@ const Lv = ce(
8029
8029
  rightIcon: i,
8030
8030
  children: s,
8031
8031
  ...l
8032
- }, u) => /* @__PURE__ */ h.jsxs(
8032
+ }, u) => /* @__PURE__ */ v.jsxs(
8033
8033
  "span",
8034
8034
  {
8035
8035
  ref: u,
@@ -8039,9 +8039,9 @@ const Lv = ce(
8039
8039
  ),
8040
8040
  ...l,
8041
8041
  children: [
8042
- o && /* @__PURE__ */ h.jsx("span", { className: "flex shrink-0 items-center justify-center opacity-70", children: o }),
8043
- /* @__PURE__ */ h.jsx("span", { className: "truncate min-w-0", children: s }),
8044
- i && /* @__PURE__ */ h.jsx("span", { className: "flex shrink-0 items-center justify-center opacity-70", children: i })
8042
+ o && /* @__PURE__ */ v.jsx("span", { className: "flex shrink-0 items-center justify-center opacity-70", children: o }),
8043
+ /* @__PURE__ */ v.jsx("span", { className: "truncate min-w-0", children: s }),
8044
+ i && /* @__PURE__ */ v.jsx("span", { className: "flex shrink-0 items-center justify-center opacity-70", children: i })
8045
8045
  ]
8046
8046
  }
8047
8047
  )
@@ -8082,7 +8082,7 @@ const Dv = ce("animate-spin rounded-full transition-colors", {
8082
8082
  size: t,
8083
8083
  animation: r,
8084
8084
  className: n
8085
- }) => /* @__PURE__ */ h.jsx(
8085
+ }) => /* @__PURE__ */ v.jsx(
8086
8086
  "div",
8087
8087
  {
8088
8088
  className: _(Dv({ variant: e, size: t, animation: r }), n),
@@ -8172,7 +8172,7 @@ const Dv = ce("animate-spin rounded-full transition-colors", {
8172
8172
  size: "default"
8173
8173
  }
8174
8174
  }
8175
- ), Ye = $.forwardRef(
8175
+ ), Ye = C.forwardRef(
8176
8176
  ({
8177
8177
  className: e,
8178
8178
  colorScheme: t,
@@ -8186,7 +8186,7 @@ const Dv = ce("animate-spin rounded-full transition-colors", {
8186
8186
  ...u
8187
8187
  }, c) => {
8188
8188
  const f = s || a;
8189
- return /* @__PURE__ */ h.jsxs(
8189
+ return /* @__PURE__ */ v.jsxs(
8190
8190
  rg,
8191
8191
  {
8192
8192
  className: _(
@@ -8197,10 +8197,10 @@ const Dv = ce("animate-spin rounded-full transition-colors", {
8197
8197
  disabled: f,
8198
8198
  ...u,
8199
8199
  children: [
8200
- a && /* @__PURE__ */ h.jsx("span", { className: "mr-2 flex shrink-0 items-center", children: /* @__PURE__ */ h.jsx(Vv, { size: "sm", variant: "current" }) }),
8201
- !a && o && /* @__PURE__ */ h.jsx("span", { className: "mr-2 inline-flex shrink-0 items-center", children: o }),
8200
+ a && /* @__PURE__ */ v.jsx("span", { className: "mr-2 flex shrink-0 items-center", children: /* @__PURE__ */ v.jsx(Vv, { size: "sm", variant: "current" }) }),
8201
+ !a && o && /* @__PURE__ */ v.jsx("span", { className: "mr-2 inline-flex shrink-0 items-center", children: o }),
8202
8202
  l,
8203
- !a && i && /* @__PURE__ */ h.jsx("span", { className: "ml-2 inline-flex shrink-0 items-center", children: i })
8203
+ !a && i && /* @__PURE__ */ v.jsx("span", { className: "ml-2 inline-flex shrink-0 items-center", children: i })
8204
8204
  ]
8205
8205
  }
8206
8206
  );
@@ -8239,7 +8239,7 @@ const Hv = ce(
8239
8239
  padding: "md"
8240
8240
  }
8241
8241
  }
8242
- ), Gv = $.forwardRef(
8242
+ ), Gv = C.forwardRef(
8243
8243
  ({
8244
8244
  className: e,
8245
8245
  variant: t,
@@ -8249,14 +8249,14 @@ const Hv = ce(
8249
8249
  brandColorBottom: o,
8250
8250
  children: i,
8251
8251
  ...s
8252
- }, l) => /* @__PURE__ */ h.jsxs(
8252
+ }, l) => /* @__PURE__ */ v.jsxs(
8253
8253
  "div",
8254
8254
  {
8255
8255
  ref: l,
8256
8256
  className: _(Hv({ variant: t, padding: r }), e),
8257
8257
  ...s,
8258
8258
  children: [
8259
- n && /* @__PURE__ */ h.jsx(
8259
+ n && /* @__PURE__ */ v.jsx(
8260
8260
  "div",
8261
8261
  {
8262
8262
  className: _(
@@ -8266,8 +8266,8 @@ const Hv = ce(
8266
8266
  style: a ? { backgroundColor: a } : void 0
8267
8267
  }
8268
8268
  ),
8269
- /* @__PURE__ */ h.jsx("div", { className: "relative z-0", children: i }),
8270
- n && /* @__PURE__ */ h.jsx(
8269
+ /* @__PURE__ */ v.jsx("div", { className: "relative z-0", children: i }),
8270
+ n && /* @__PURE__ */ v.jsx(
8271
8271
  "div",
8272
8272
  {
8273
8273
  className: _(
@@ -10126,8 +10126,8 @@ var lx = cd.filter(function(e) {
10126
10126
  function cx(e) {
10127
10127
  var t = e.values, r = e.family, n = e.canonical, a = e.givenPrefix, o = a === void 0 ? "" : a, i = e.styles, s = i === void 0 ? {} : i, l = e.config, u = l === void 0 ? {} : l, c = r === xn, f = t.includes("fa-duotone") || t.includes("fad"), g = u.familyDefault === "duotone", d = n.prefix === "fad" || n.prefix === "fa-duotone";
10128
10128
  if (!c && (f || g || d) && (n.prefix = "fad"), (t.includes("fa-brands") || t.includes("fab")) && (n.prefix = "fab"), !n.prefix && lx.includes(r)) {
10129
- var m = Object.keys(s).find(function(v) {
10130
- return ux.includes(v);
10129
+ var m = Object.keys(s).find(function(h) {
10130
+ return ux.includes(h);
10131
10131
  });
10132
10132
  if (m || u.autoFetchSvg) {
10133
10133
  var p = Cb.get(r).defaultShortPrefixId;
@@ -10341,7 +10341,7 @@ function Hi(e) {
10341
10341
  return u.classes.indexOf(w) === -1;
10342
10342
  }).filter(function(w) {
10343
10343
  return w !== "" || !!w;
10344
- }).concat(u.classes).join(" "), v = {
10344
+ }).concat(u.classes).join(" "), h = {
10345
10345
  children: [],
10346
10346
  attributes: N(N({}, u.attributes), {}, {
10347
10347
  "data-prefix": a,
@@ -10351,8 +10351,8 @@ function Hi(e) {
10351
10351
  viewBox: "0 0 ".concat(d, " ").concat(m)
10352
10352
  })
10353
10353
  };
10354
- !xx(u.attributes) && !u.attributes["aria-hidden"] && (v.attributes["aria-hidden"] = "true"), f && (v.attributes[ir] = "");
10355
- var b = N(N({}, v), {}, {
10354
+ !xx(u.attributes) && !u.attributes["aria-hidden"] && (h.attributes["aria-hidden"] = "true"), f && (h.attributes[ir] = "");
10355
+ var b = N(N({}, h), {}, {
10356
10356
  prefix: a,
10357
10357
  iconName: o,
10358
10358
  main: r,
@@ -10725,7 +10725,7 @@ function Dx(e) {
10725
10725
  };
10726
10726
  }
10727
10727
  var Vx = function(t) {
10728
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.transform, a = n === void 0 ? at : n, o = r.symbol, i = o === void 0 ? !1 : o, s = r.mask, l = s === void 0 ? null : s, u = r.maskId, c = u === void 0 ? null : u, f = r.classes, g = f === void 0 ? [] : f, d = r.attributes, m = d === void 0 ? {} : d, p = r.styles, v = p === void 0 ? {} : p;
10728
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = r.transform, a = n === void 0 ? at : n, o = r.symbol, i = o === void 0 ? !1 : o, s = r.mask, l = s === void 0 ? null : s, u = r.maskId, c = u === void 0 ? null : u, f = r.classes, g = f === void 0 ? [] : f, d = r.attributes, m = d === void 0 ? {} : d, p = r.styles, h = p === void 0 ? {} : p;
10729
10729
  if (t) {
10730
10730
  var b = t.prefix, x = t.iconName, y = t.icon;
10731
10731
  return Ta(N({
@@ -10751,7 +10751,7 @@ var Vx = function(t) {
10751
10751
  maskId: c,
10752
10752
  extra: {
10753
10753
  attributes: m,
10754
- styles: v,
10754
+ styles: h,
10755
10755
  classes: g
10756
10756
  }
10757
10757
  });
@@ -10784,11 +10784,11 @@ var Vx = function(t) {
10784
10784
  height: 512,
10785
10785
  icon: {}
10786
10786
  })]).then(function(d) {
10787
- var m = Na(d, 2), p = m[0], v = m[1];
10787
+ var m = Na(d, 2), p = m[0], h = m[1];
10788
10788
  f([r, Hi({
10789
10789
  icons: {
10790
10790
  main: p,
10791
- mask: v
10791
+ mask: h
10792
10792
  },
10793
10793
  prefix: o,
10794
10794
  iconName: a,
@@ -10939,32 +10939,32 @@ function bl(e, t) {
10939
10939
  return new Promise(function(n, a) {
10940
10940
  if (e.getAttribute(r) !== null)
10941
10941
  return n();
10942
- var o = Nr(e.children), i = o.filter(function(C) {
10943
- return C.getAttribute(Io) === t;
10942
+ var o = Nr(e.children), i = o.filter(function(P) {
10943
+ return P.getAttribute(Io) === t;
10944
10944
  })[0], s = Dt.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), u = l.match(jy), c = s.getPropertyValue("font-weight"), f = s.getPropertyValue("content");
10945
10945
  if (i && !u)
10946
10946
  return e.removeChild(i), n();
10947
10947
  if (u && f !== "none" && f !== "") {
10948
- var g = s.getPropertyValue("content"), d = Kx(l, c), m = Ux(g), p = u[0].startsWith("FontAwesome"), v = Yx(s), b = zi(d, m), x = b;
10948
+ var g = s.getPropertyValue("content"), d = Kx(l, c), m = Ux(g), p = u[0].startsWith("FontAwesome"), h = Yx(s), b = zi(d, m), x = b;
10949
10949
  if (p) {
10950
10950
  var y = ax(m);
10951
10951
  y.iconName && y.prefix && (b = y.iconName, d = y.prefix);
10952
10952
  }
10953
- if (b && !v && (!i || i.getAttribute(Ti) !== d || i.getAttribute(Mi) !== x)) {
10953
+ if (b && !h && (!i || i.getAttribute(Ti) !== d || i.getAttribute(Mi) !== x)) {
10954
10954
  e.setAttribute(r, x), i && e.removeChild(i);
10955
10955
  var S = Tx(), w = S.extra;
10956
- w.attributes[Io] = t, Lo(b, d).then(function(C) {
10957
- var I = Hi(N(N({}, S), {}, {
10956
+ w.attributes[Io] = t, Lo(b, d).then(function(P) {
10957
+ var F = Hi(N(N({}, S), {}, {
10958
10958
  icons: {
10959
- main: C,
10959
+ main: P,
10960
10960
  mask: _d()
10961
10961
  },
10962
10962
  prefix: d,
10963
10963
  iconName: x,
10964
10964
  extra: w,
10965
10965
  watchable: !0
10966
- })), F = ke.createElementNS("http://www.w3.org/2000/svg", "svg");
10967
- t === "::before" ? e.insertBefore(F, e.firstChild) : e.appendChild(F), F.outerHTML = I.map(function(W) {
10966
+ })), R = ke.createElementNS("http://www.w3.org/2000/svg", "svg");
10967
+ t === "::before" ? e.insertBefore(R, e.firstChild) : e.appendChild(R), R.outerHTML = F.map(function(W) {
10968
10968
  return kn(W);
10969
10969
  }).join(`
10970
10970
  `), e.removeAttribute(r), n();
@@ -11064,12 +11064,12 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
11064
11064
  } catch {
11065
11065
  }
11066
11066
  }
11067
- return new Promise(function(p, v) {
11067
+ return new Promise(function(p, h) {
11068
11068
  var b = Nr(r).filter(Xx).map(qx), x = Gi.begin("searchPseudoElements");
11069
11069
  Dd(), Promise.all(b).then(function() {
11070
11070
  x(), Vo(), p();
11071
11071
  }).catch(function() {
11072
- x(), Vo(), v();
11072
+ x(), Vo(), h();
11073
11073
  });
11074
11074
  });
11075
11075
  }
@@ -11239,7 +11239,7 @@ var n1 = {
11239
11239
  })
11240
11240
  }, p = c.children ? {
11241
11241
  children: c.children.map(kl)
11242
- } : {}, v = {
11242
+ } : {}, h = {
11243
11243
  tag: "g",
11244
11244
  attributes: N({}, d.inner),
11245
11245
  children: [kl(N({
@@ -11249,7 +11249,7 @@ var n1 = {
11249
11249
  }, b = {
11250
11250
  tag: "g",
11251
11251
  attributes: N({}, d.outer),
11252
- children: [v]
11252
+ children: [h]
11253
11253
  }, x = "mask-".concat(s || rl()), y = "clip-".concat(s || rl()), S = {
11254
11254
  tag: "mask",
11255
11255
  attributes: N(N({}, ro), {}, {
@@ -11443,7 +11443,7 @@ function Bd(e, t, r = {}) {
11443
11443
  } = r;
11444
11444
  return i && (o.style = o.style ? { ...o.style, ...i } : i), s && (o.role = s), l && (o["aria-label"] = l, o["aria-hidden"] = "false"), e(t.tag, { ...o, ...u }, ...n);
11445
11445
  }
11446
- var f1 = Bd.bind(null, $.createElement), Sl = (e, t) => {
11446
+ var f1 = Bd.bind(null, C.createElement), Sl = (e, t) => {
11447
11447
  const r = xe();
11448
11448
  return e || (t ? r : void 0);
11449
11449
  }, g1 = class {
@@ -11554,13 +11554,13 @@ function x1(e) {
11554
11554
  flip: d,
11555
11555
  size: m,
11556
11556
  rotation: p,
11557
- pull: v,
11557
+ pull: h,
11558
11558
  swapOpacity: b,
11559
11559
  rotateBy: x,
11560
11560
  widthAuto: y,
11561
11561
  className: S
11562
11562
  } = e, w = [];
11563
- return S && w.push(...S.split(" ")), t && w.push(gt.beat), r && w.push(gt.fade), n && w.push(gt.beatFade), a && w.push(gt.bounce), o && w.push(gt.shake), i && w.push(gt.spin), l && w.push(gt.spinReverse), s && w.push(gt.spinPulse), u && w.push(gt.pulse), c && w.push(mt.fixedWidth), f && w.push(mt.inverse), g && w.push(mt.border), d === !0 && w.push(mt.flip), (d === "horizontal" || d === "both") && w.push(mt.flipHorizontal), (d === "vertical" || d === "both") && w.push(mt.flipVertical), m != null && w.push(b1[m]), p != null && p !== 0 && w.push(v1[p]), v != null && w.push(h1[v]), b && w.push(mt.swapOpacity), p1 ? (x && w.push(mt.rotateBy), y && w.push(mt.widthAuto), (an.cssPrefix || an.familyPrefix || Yr) === Yr ? w : (
11563
+ return S && w.push(...S.split(" ")), t && w.push(gt.beat), r && w.push(gt.fade), n && w.push(gt.beatFade), a && w.push(gt.bounce), o && w.push(gt.shake), i && w.push(gt.spin), l && w.push(gt.spinReverse), s && w.push(gt.spinPulse), u && w.push(gt.pulse), c && w.push(mt.fixedWidth), f && w.push(mt.inverse), g && w.push(mt.border), d === !0 && w.push(mt.flip), (d === "horizontal" || d === "both") && w.push(mt.flipHorizontal), (d === "vertical" || d === "both") && w.push(mt.flipVertical), m != null && w.push(b1[m]), p != null && p !== 0 && w.push(v1[p]), h != null && w.push(h1[h]), b && w.push(mt.swapOpacity), p1 ? (x && w.push(mt.rotateBy), y && w.push(mt.widthAuto), (an.cssPrefix || an.familyPrefix || Yr) === Yr ? w : (
11564
11564
  // TODO: see if we can achieve custom prefix support without iterating
11565
11565
  // eslint-disable-next-line unicorn/no-array-callback-reference
11566
11566
  w.map(y1)
@@ -11603,7 +11603,7 @@ var Cl = new g1("FontAwesomeIcon"), Wd = {
11603
11603
  transform: void 0,
11604
11604
  swapOpacity: !1,
11605
11605
  widthAuto: !1
11606
- }, S1 = new Set(Object.keys(Wd)), Ee = $.forwardRef((e, t) => {
11606
+ }, S1 = new Set(Object.keys(Wd)), Ee = C.forwardRef((e, t) => {
11607
11607
  const r = { ...Wd, ...e }, {
11608
11608
  icon: n,
11609
11609
  mask: a,
@@ -11615,7 +11615,7 @@ var Cl = new g1("FontAwesomeIcon"), Wd = {
11615
11615
  } = r, c = Sl(l, !!a), f = Sl(s, !!i), g = El(n);
11616
11616
  if (!g)
11617
11617
  return Cl.error("Icon lookup is undefined", n), null;
11618
- const d = x1(r), m = typeof u == "string" ? Hd.transform(u) : u, p = El(a), v = s1(g, {
11618
+ const d = x1(r), m = typeof u == "string" ? Hd.transform(u) : u, p = El(a), h = s1(g, {
11619
11619
  ...d.length > 0 && { classes: d },
11620
11620
  ...m && { transform: m },
11621
11621
  ...p && { mask: p },
@@ -11624,9 +11624,9 @@ var Cl = new g1("FontAwesomeIcon"), Wd = {
11624
11624
  titleId: f,
11625
11625
  maskId: c
11626
11626
  });
11627
- if (!v)
11627
+ if (!h)
11628
11628
  return Cl.error("Could not find icon", g), null;
11629
- const { abstract: b } = v, x = { ref: t };
11629
+ const { abstract: b } = h, x = { ref: t };
11630
11630
  for (const y of k1(r))
11631
11631
  S1.has(y) || (x[y] = r[y]);
11632
11632
  return f1(b[0], x);
@@ -11774,7 +11774,7 @@ const L1 = ce(
11774
11774
  };
11775
11775
  return me(() => {
11776
11776
  a && l.current && l.current.setAttribute("aria-checked", "mixed");
11777
- }, [a, o.checked]), /* @__PURE__ */ h.jsx(
11777
+ }, [a, o.checked]), /* @__PURE__ */ v.jsx(
11778
11778
  Sg,
11779
11779
  {
11780
11780
  ref: u,
@@ -11792,7 +11792,7 @@ const L1 = ce(
11792
11792
  f || o.disabled ? "opacity-50" : "cursor-pointer",
11793
11793
  e
11794
11794
  ),
11795
- children: ({ checked: c }) => /* @__PURE__ */ h.jsx(
11795
+ children: ({ checked: c }) => /* @__PURE__ */ v.jsx(
11796
11796
  Ee,
11797
11797
  {
11798
11798
  icon: a ? E1 : Ud,
@@ -11855,8 +11855,8 @@ const V1 = ce(
11855
11855
  const d = !f;
11856
11856
  o === void 0 && c(d), i?.(d);
11857
11857
  };
11858
- return /* @__PURE__ */ h.jsxs("div", { className: _("w-full flex flex-col", n), ...l, children: [
11859
- /* @__PURE__ */ h.jsxs(
11858
+ return /* @__PURE__ */ v.jsxs("div", { className: _("w-full flex flex-col", n), ...l, children: [
11859
+ /* @__PURE__ */ v.jsxs(
11860
11860
  "button",
11861
11861
  {
11862
11862
  type: "button",
@@ -11870,15 +11870,15 @@ const V1 = ce(
11870
11870
  f && r === "outline" && "border-b-transparent dark:border-b-transparent"
11871
11871
  ),
11872
11872
  children: [
11873
- /* @__PURE__ */ h.jsx("span", { className: "flex-1 text-left text-inherit", children: e }),
11874
- /* @__PURE__ */ h.jsx(
11873
+ /* @__PURE__ */ v.jsx("span", { className: "flex-1 text-left text-inherit", children: e }),
11874
+ /* @__PURE__ */ v.jsx(
11875
11875
  "span",
11876
11876
  {
11877
11877
  className: _(
11878
11878
  "ml-2 flex items-center transition-transform duration-200 text-inherit",
11879
11879
  f ? "rotate-180" : ""
11880
11880
  ),
11881
- children: s || /* @__PURE__ */ h.jsx(
11881
+ children: s || /* @__PURE__ */ v.jsx(
11882
11882
  Ee,
11883
11883
  {
11884
11884
  icon: Yd,
@@ -11890,7 +11890,7 @@ const V1 = ce(
11890
11890
  ]
11891
11891
  }
11892
11892
  ),
11893
- /* @__PURE__ */ h.jsx(
11893
+ /* @__PURE__ */ v.jsx(
11894
11894
  yr,
11895
11895
  {
11896
11896
  show: f,
@@ -11900,7 +11900,7 @@ const V1 = ce(
11900
11900
  leave: "transition duration-75 ease-out",
11901
11901
  leaveFrom: "transform scale-100 opacity-100",
11902
11902
  leaveTo: "transform scale-95 opacity-0",
11903
- children: /* @__PURE__ */ h.jsx(
11903
+ children: /* @__PURE__ */ v.jsx(
11904
11904
  "div",
11905
11905
  {
11906
11906
  className: _(z1({ variant: r }), "rounded-b-md"),
@@ -11952,7 +11952,7 @@ const V1 = ce(
11952
11952
  error: !1
11953
11953
  }
11954
11954
  }
11955
- ), B1 = $.forwardRef(
11955
+ ), B1 = C.forwardRef(
11956
11956
  ({
11957
11957
  className: e,
11958
11958
  type: t,
@@ -11967,8 +11967,8 @@ const V1 = ce(
11967
11967
  ...c
11968
11968
  }, f) => {
11969
11969
  const g = !!a || i;
11970
- return /* @__PURE__ */ h.jsxs(Ra, { className: _("w-full space-y-1.5", e), children: [
11971
- r && /* @__PURE__ */ h.jsx(
11970
+ return /* @__PURE__ */ v.jsxs(Ra, { className: _("w-full space-y-1.5", e), children: [
11971
+ r && /* @__PURE__ */ v.jsx(
11972
11972
  Cr,
11973
11973
  {
11974
11974
  className: _(
@@ -11979,8 +11979,8 @@ const V1 = ce(
11979
11979
  children: r
11980
11980
  }
11981
11981
  ),
11982
- /* @__PURE__ */ h.jsxs("div", { className: "relative", children: [
11983
- s && /* @__PURE__ */ h.jsx(
11982
+ /* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
11983
+ s && /* @__PURE__ */ v.jsx(
11984
11984
  "div",
11985
11985
  {
11986
11986
  className: _(
@@ -11990,7 +11990,7 @@ const V1 = ce(
11990
11990
  children: s
11991
11991
  }
11992
11992
  ),
11993
- /* @__PURE__ */ h.jsx(
11993
+ /* @__PURE__ */ v.jsx(
11994
11994
  E0,
11995
11995
  {
11996
11996
  ref: f,
@@ -12004,7 +12004,7 @@ const V1 = ce(
12004
12004
  ...c
12005
12005
  }
12006
12006
  ),
12007
- l && /* @__PURE__ */ h.jsx(
12007
+ l && /* @__PURE__ */ v.jsx(
12008
12008
  "div",
12009
12009
  {
12010
12010
  className: _(
@@ -12015,7 +12015,7 @@ const V1 = ce(
12015
12015
  }
12016
12016
  )
12017
12017
  ] }),
12018
- (n || a) && /* @__PURE__ */ h.jsx(
12018
+ (n || a) && /* @__PURE__ */ v.jsx(
12019
12019
  ln,
12020
12020
  {
12021
12021
  className: _(
@@ -12072,7 +12072,7 @@ const W1 = ce(
12072
12072
  W1({ variant: r, underline: n, size: a }),
12073
12073
  t
12074
12074
  );
12075
- return f ? /* @__PURE__ */ h.jsxs(
12075
+ return f ? /* @__PURE__ */ v.jsxs(
12076
12076
  "a",
12077
12077
  {
12078
12078
  href: l,
@@ -12082,7 +12082,7 @@ const W1 = ce(
12082
12082
  ...u,
12083
12083
  children: [
12084
12084
  s,
12085
- g && /* @__PURE__ */ h.jsx(
12085
+ g && /* @__PURE__ */ v.jsx(
12086
12086
  Ee,
12087
12087
  {
12088
12088
  icon: $l,
@@ -12092,7 +12092,7 @@ const W1 = ce(
12092
12092
  )
12093
12093
  ]
12094
12094
  }
12095
- ) : /* @__PURE__ */ h.jsxs(
12095
+ ) : /* @__PURE__ */ v.jsxs(
12096
12096
  c,
12097
12097
  {
12098
12098
  className: d,
@@ -12100,7 +12100,7 @@ const W1 = ce(
12100
12100
  ...u,
12101
12101
  children: [
12102
12102
  s,
12103
- g && /* @__PURE__ */ h.jsx(
12103
+ g && /* @__PURE__ */ v.jsx(
12104
12104
  Ee,
12105
12105
  {
12106
12106
  icon: $l,
@@ -12144,21 +12144,21 @@ const W1 = ce(
12144
12144
  label: l
12145
12145
  }) => {
12146
12146
  const u = e.find((c) => c.value === t);
12147
- return /* @__PURE__ */ h.jsxs(Ra, { className: _("flex flex-col gap-1.5", s), children: [
12148
- l && /* @__PURE__ */ h.jsx(Cr, { className: "block text-sm font-medium text-inherit text-left", children: l }),
12149
- /* @__PURE__ */ h.jsx(
12147
+ return /* @__PURE__ */ v.jsxs(Ra, { className: _("flex flex-col gap-1.5", s), children: [
12148
+ l && /* @__PURE__ */ v.jsx(Cr, { className: "block text-sm font-medium text-inherit text-left", children: l }),
12149
+ /* @__PURE__ */ v.jsx(
12150
12150
  B0,
12151
12151
  {
12152
12152
  value: t ?? void 0,
12153
12153
  onChange: r,
12154
12154
  disabled: a,
12155
- children: /* @__PURE__ */ h.jsxs("div", { className: "relative", children: [
12156
- /* @__PURE__ */ h.jsxs(
12155
+ children: /* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
12156
+ /* @__PURE__ */ v.jsxs(
12157
12157
  mc,
12158
12158
  {
12159
12159
  className: _(U1({ variant: o, error: i })),
12160
12160
  children: [
12161
- /* @__PURE__ */ h.jsx(
12161
+ /* @__PURE__ */ v.jsx(
12162
12162
  "span",
12163
12163
  {
12164
12164
  className: _(
@@ -12168,7 +12168,7 @@ const W1 = ce(
12168
12168
  children: u ? u.label : n
12169
12169
  }
12170
12170
  ),
12171
- /* @__PURE__ */ h.jsx("span", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3", children: /* @__PURE__ */ h.jsx(
12171
+ /* @__PURE__ */ v.jsx("span", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3", children: /* @__PURE__ */ v.jsx(
12172
12172
  Ee,
12173
12173
  {
12174
12174
  icon: Yd,
@@ -12179,14 +12179,14 @@ const W1 = ce(
12179
12179
  ]
12180
12180
  }
12181
12181
  ),
12182
- /* @__PURE__ */ h.jsx(
12182
+ /* @__PURE__ */ v.jsx(
12183
12183
  yr,
12184
12184
  {
12185
12185
  as: Ie,
12186
12186
  leave: "transition ease-in duration-100",
12187
12187
  leaveFrom: "opacity-100",
12188
12188
  leaveTo: "opacity-0",
12189
- children: /* @__PURE__ */ h.jsx(
12189
+ children: /* @__PURE__ */ v.jsx(
12190
12190
  pc,
12191
12191
  {
12192
12192
  anchor: "bottom start",
@@ -12194,7 +12194,7 @@ const W1 = ce(
12194
12194
  "w-(--button-width) z-50 rounded-md bg-white dark:bg-gray-800 py-1 text-base shadow-lg ring-1 ring-black/5 dark:ring-gray-700 focus:outline-none sm:text-sm",
12195
12195
  "[--anchor-gap:4px]"
12196
12196
  ),
12197
- children: e.map((c) => /* @__PURE__ */ h.jsxs(
12197
+ children: e.map((c) => /* @__PURE__ */ v.jsxs(
12198
12198
  hc,
12199
12199
  {
12200
12200
  value: c.value,
@@ -12208,8 +12208,8 @@ const W1 = ce(
12208
12208
  "data-disabled:opacity-50 data-disabled:cursor-not-allowed"
12209
12209
  ),
12210
12210
  children: [
12211
- /* @__PURE__ */ h.jsx("span", { className: "block truncate font-normal group-data-selected:font-semibold", children: c.label }),
12212
- /* @__PURE__ */ h.jsx("span", { className: "absolute inset-y-0 right-0 hidden items-center pr-4 text-primary-600 dark:text-primary-400 group-data-selected:flex", children: /* @__PURE__ */ h.jsx(Ee, { icon: Ud, className: "h-3.5 w-3.5" }) })
12211
+ /* @__PURE__ */ v.jsx("span", { className: "block truncate font-normal group-data-selected:font-semibold", children: c.label }),
12212
+ /* @__PURE__ */ v.jsx("span", { className: "absolute inset-y-0 right-0 hidden items-center pr-4 text-primary-600 dark:text-primary-400 group-data-selected:flex", children: /* @__PURE__ */ v.jsx(Ee, { icon: Ud, className: "h-3.5 w-3.5" }) })
12213
12213
  ]
12214
12214
  },
12215
12215
  c.value
@@ -12271,14 +12271,14 @@ const W1 = ce(
12271
12271
  ariaLabel: l
12272
12272
  }) => {
12273
12273
  const u = r ? void 0 : l || "Toggle setting";
12274
- return /* @__PURE__ */ h.jsxs(
12274
+ return /* @__PURE__ */ v.jsxs(
12275
12275
  Ra,
12276
12276
  {
12277
12277
  as: "div",
12278
12278
  className: _("flex items-center justify-between gap-4", s),
12279
12279
  children: [
12280
- (r || n) && /* @__PURE__ */ h.jsxs("span", { className: "flex flex-col", children: [
12281
- r && /* @__PURE__ */ h.jsx(
12280
+ (r || n) && /* @__PURE__ */ v.jsxs("span", { className: "flex flex-col", children: [
12281
+ r && /* @__PURE__ */ v.jsx(
12282
12282
  Cr,
12283
12283
  {
12284
12284
  passive: !0,
@@ -12289,7 +12289,7 @@ const W1 = ce(
12289
12289
  children: r
12290
12290
  }
12291
12291
  ),
12292
- n && /* @__PURE__ */ h.jsx(
12292
+ n && /* @__PURE__ */ v.jsx(
12293
12293
  ln,
12294
12294
  {
12295
12295
  className: _(
@@ -12300,7 +12300,7 @@ const W1 = ce(
12300
12300
  }
12301
12301
  )
12302
12302
  ] }),
12303
- /* @__PURE__ */ h.jsx(
12303
+ /* @__PURE__ */ v.jsx(
12304
12304
  Wh,
12305
12305
  {
12306
12306
  checked: e,
@@ -12308,7 +12308,7 @@ const W1 = ce(
12308
12308
  disabled: a,
12309
12309
  "aria-label": u,
12310
12310
  className: _(Y1({ variant: i, size: o })),
12311
- children: /* @__PURE__ */ h.jsx(
12311
+ children: /* @__PURE__ */ v.jsx(
12312
12312
  "span",
12313
12313
  {
12314
12314
  "aria-hidden": "true",
@@ -12347,7 +12347,7 @@ const W1 = ce(
12347
12347
  resize: "vertical"
12348
12348
  }
12349
12349
  }
12350
- ), X1 = $.forwardRef(
12350
+ ), X1 = C.forwardRef(
12351
12351
  ({
12352
12352
  className: e,
12353
12353
  label: t,
@@ -12360,9 +12360,9 @@ const W1 = ce(
12360
12360
  ...l
12361
12361
  }, u) => {
12362
12362
  const c = !!n || o;
12363
- return /* @__PURE__ */ h.jsxs(Ra, { className: _("w-full space-y-1.5", e), children: [
12364
- t && /* @__PURE__ */ h.jsx(Cr, { className: "block text-sm font-medium leading-none text-gray-900 dark:text-gray-100 peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-left", children: t }),
12365
- /* @__PURE__ */ h.jsx(
12363
+ return /* @__PURE__ */ v.jsxs(Ra, { className: _("w-full space-y-1.5", e), children: [
12364
+ t && /* @__PURE__ */ v.jsx(Cr, { className: "block text-sm font-medium leading-none text-gray-900 dark:text-gray-100 peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-left", children: t }),
12365
+ /* @__PURE__ */ v.jsx(
12366
12366
  Kh,
12367
12367
  {
12368
12368
  ref: u,
@@ -12371,7 +12371,7 @@ const W1 = ce(
12371
12371
  ...l
12372
12372
  }
12373
12373
  ),
12374
- (r || n) && /* @__PURE__ */ h.jsx(
12374
+ (r || n) && /* @__PURE__ */ v.jsx(
12375
12375
  ln,
12376
12376
  {
12377
12377
  className: _(
@@ -12401,9 +12401,9 @@ const zk = ({
12401
12401
  return t ? g ? f.delete(u) : f.add(u) : (f.clear(), g || f.add(u)), f;
12402
12402
  });
12403
12403
  };
12404
- return /* @__PURE__ */ h.jsx("div", { className: _("w-full space-y-1", n), children: e.map((u, c) => /* @__PURE__ */ h.jsxs("div", { className: "relative", children: [
12405
- a && c > 0 && /* @__PURE__ */ h.jsx("div", { className: "mx-4 h-px bg-gray-200/50 dark:bg-gray-700/50 transition-colors mb-1" }),
12406
- /* @__PURE__ */ h.jsx(
12404
+ return /* @__PURE__ */ v.jsx("div", { className: _("w-full space-y-1", n), children: e.map((u, c) => /* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
12405
+ a && c > 0 && /* @__PURE__ */ v.jsx("div", { className: "mx-4 h-px bg-gray-200/50 dark:bg-gray-700/50 transition-colors mb-1" }),
12406
+ /* @__PURE__ */ v.jsx(
12407
12407
  H1,
12408
12408
  {
12409
12409
  title: u.title,
@@ -12436,10 +12436,10 @@ const zk = ({
12436
12436
  className: a,
12437
12437
  ...o
12438
12438
  }) => {
12439
- const i = t ?? /* @__PURE__ */ h.jsx("span", { className: "text-gray-300 dark:text-gray-600 text-sm transition-colors", children: "/" });
12440
- return /* @__PURE__ */ h.jsx("nav", { "aria-label": "Breadcrumb", className: _("flex", a), ...o, children: /* @__PURE__ */ h.jsxs("ol", { className: "flex items-center space-x-2", children: [
12441
- r && /* @__PURE__ */ h.jsxs("li", { className: "flex items-center", children: [
12442
- /* @__PURE__ */ h.jsx(
12439
+ const i = t ?? /* @__PURE__ */ v.jsx("span", { className: "text-gray-300 dark:text-gray-600 text-sm transition-colors", children: "/" });
12440
+ return /* @__PURE__ */ v.jsx("nav", { "aria-label": "Breadcrumb", className: _("flex", a), ...o, children: /* @__PURE__ */ v.jsxs("ol", { className: "flex items-center space-x-2", children: [
12441
+ r && /* @__PURE__ */ v.jsxs("li", { className: "flex items-center", children: [
12442
+ /* @__PURE__ */ v.jsx(
12443
12443
  Kr,
12444
12444
  {
12445
12445
  href: "/",
@@ -12448,10 +12448,10 @@ const zk = ({
12448
12448
  "hover:underline-none"
12449
12449
  ),
12450
12450
  "aria-label": "Home",
12451
- children: /* @__PURE__ */ h.jsx(Ee, { icon: I1, className: "h-4 w-4" })
12451
+ children: /* @__PURE__ */ v.jsx(Ee, { icon: I1, className: "h-4 w-4" })
12452
12452
  }
12453
12453
  ),
12454
- /* @__PURE__ */ h.jsx(
12454
+ /* @__PURE__ */ v.jsx(
12455
12455
  "span",
12456
12456
  {
12457
12457
  className: "ml-2 flex select-none items-center",
@@ -12462,8 +12462,8 @@ const zk = ({
12462
12462
  ] }),
12463
12463
  e.map((s, l) => {
12464
12464
  const u = l === e.length - 1;
12465
- return /* @__PURE__ */ h.jsxs("li", { className: "flex items-center", children: [
12466
- l > 0 && /* @__PURE__ */ h.jsx(
12465
+ return /* @__PURE__ */ v.jsxs("li", { className: "flex items-center", children: [
12466
+ l > 0 && /* @__PURE__ */ v.jsx(
12467
12467
  "span",
12468
12468
  {
12469
12469
  className: "mr-2 flex select-none items-center",
@@ -12471,7 +12471,7 @@ const zk = ({
12471
12471
  children: i
12472
12472
  }
12473
12473
  ),
12474
- u ? /* @__PURE__ */ h.jsx(
12474
+ u ? /* @__PURE__ */ v.jsx(
12475
12475
  "span",
12476
12476
  {
12477
12477
  className: _(
@@ -12481,7 +12481,7 @@ const zk = ({
12481
12481
  "aria-current": "page",
12482
12482
  children: s.label
12483
12483
  }
12484
- ) : /* @__PURE__ */ h.jsx(
12484
+ ) : /* @__PURE__ */ v.jsx(
12485
12485
  Kr,
12486
12486
  {
12487
12487
  href: s.href,
@@ -12521,16 +12521,16 @@ const zk = ({
12521
12521
  onDismiss: o,
12522
12522
  className: i,
12523
12523
  ...s
12524
- }) => /* @__PURE__ */ h.jsxs("div", { className: _(J1({ variant: a }), i), ...s, children: [
12525
- /* @__PURE__ */ h.jsxs("div", { className: "flex items-start gap-4", children: [
12526
- n && /* @__PURE__ */ h.jsx("div", { className: "mt-1 shrink-0 text-current", children: n }),
12527
- /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col gap-1.5 w-full", children: [
12528
- /* @__PURE__ */ h.jsx("h3", { className: "text-lg font-bold leading-tight tracking-tight text-current", children: e }),
12529
- t && /* @__PURE__ */ h.jsx("div", { className: "max-w-prose text-sm leading-relaxed text-current opacity-90 dark:opacity-80", children: t })
12524
+ }) => /* @__PURE__ */ v.jsxs("div", { className: _(J1({ variant: a }), i), ...s, children: [
12525
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-start gap-4", children: [
12526
+ n && /* @__PURE__ */ v.jsx("div", { className: "mt-1 shrink-0 text-current", children: n }),
12527
+ /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-1.5 w-full", children: [
12528
+ /* @__PURE__ */ v.jsx("h3", { className: "text-lg font-bold leading-tight tracking-tight text-current", children: e }),
12529
+ t && /* @__PURE__ */ v.jsx("div", { className: "max-w-prose text-sm leading-relaxed text-current opacity-90 dark:opacity-80", children: t })
12530
12530
  ] })
12531
12531
  ] }),
12532
- r && /* @__PURE__ */ h.jsx("div", { className: "shrink-0 pt-2 md:pt-0", children: r }),
12533
- o && /* @__PURE__ */ h.jsx("div", { className: "absolute right-2 top-2", children: /* @__PURE__ */ h.jsx(
12532
+ r && /* @__PURE__ */ v.jsx("div", { className: "shrink-0 pt-2 md:pt-0", children: r }),
12533
+ o && /* @__PURE__ */ v.jsx("div", { className: "absolute right-2 top-2", children: /* @__PURE__ */ v.jsx(
12534
12534
  Ye,
12535
12535
  {
12536
12536
  variant: "ghost",
@@ -12538,7 +12538,7 @@ const zk = ({
12538
12538
  className: "h-8 w-8 rounded-full p-0 opacity-60 hover:opacity-100 dark:hover:bg-black/20",
12539
12539
  onClick: o,
12540
12540
  "aria-label": "Dismiss",
12541
- children: /* @__PURE__ */ h.jsx(Ee, { icon: aa, className: "h-4 w-4" })
12541
+ children: /* @__PURE__ */ v.jsx(Ee, { icon: aa, className: "h-4 w-4" })
12542
12542
  }
12543
12543
  ) })
12544
12544
  ] }), Q1 = ce(
@@ -12562,11 +12562,11 @@ const zk = ({
12562
12562
  variant: a,
12563
12563
  className: o,
12564
12564
  ...i
12565
- }) => /* @__PURE__ */ h.jsxs("div", { className: _(Q1({ variant: a }), o), ...i, children: [
12566
- r && /* @__PURE__ */ h.jsx("div", { className: "mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-gray-100 text-gray-400", children: /* @__PURE__ */ h.jsx("div", { className: "h-6 w-6 [&>svg]:h-full [&>svg]:w-full", children: r }) }),
12567
- /* @__PURE__ */ h.jsx("h3", { className: "text-lg font-semibold text-gray-900", children: e }),
12568
- t && /* @__PURE__ */ h.jsx("p", { className: "mt-1 max-w-sm text-sm text-gray-500", children: t }),
12569
- n && /* @__PURE__ */ h.jsx("div", { className: "mt-6", children: n })
12565
+ }) => /* @__PURE__ */ v.jsxs("div", { className: _(Q1({ variant: a }), o), ...i, children: [
12566
+ r && /* @__PURE__ */ v.jsx("div", { className: "mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-gray-100 text-gray-400", children: /* @__PURE__ */ v.jsx("div", { className: "h-6 w-6 [&>svg]:h-full [&>svg]:w-full", children: r }) }),
12567
+ /* @__PURE__ */ v.jsx("h3", { className: "text-lg font-semibold text-gray-900", children: e }),
12568
+ t && /* @__PURE__ */ v.jsx("p", { className: "mt-1 max-w-sm text-sm text-gray-500", children: t }),
12569
+ n && /* @__PURE__ */ v.jsx("div", { className: "mt-6", children: n })
12570
12570
  ] }), Z1 = ce(
12571
12571
  "flex flex-col items-center justify-center text-center p-8 rounded-lg transition-colors",
12572
12572
  {
@@ -12589,16 +12589,16 @@ const zk = ({
12589
12589
  variant: o,
12590
12590
  className: i,
12591
12591
  ...s
12592
- }) => /* @__PURE__ */ h.jsxs("div", { className: _(Z1({ variant: o }), i), ...s, children: [
12593
- /* @__PURE__ */ h.jsx("div", { className: "mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-error-100 text-error-600", children: /* @__PURE__ */ h.jsx("div", { className: "h-6 w-6 flex items-center justify-center", children: a || /* @__PURE__ */ h.jsx(
12592
+ }) => /* @__PURE__ */ v.jsxs("div", { className: _(Z1({ variant: o }), i), ...s, children: [
12593
+ /* @__PURE__ */ v.jsx("div", { className: "mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-error-100 text-error-600", children: /* @__PURE__ */ v.jsx("div", { className: "h-6 w-6 flex items-center justify-center", children: a || /* @__PURE__ */ v.jsx(
12594
12594
  Ee,
12595
12595
  {
12596
12596
  icon: A1,
12597
12597
  className: "h-full w-full"
12598
12598
  }
12599
12599
  ) }) }),
12600
- /* @__PURE__ */ h.jsx("h3", { className: "text-lg font-bold tracking-tight", children: e }),
12601
- /* @__PURE__ */ h.jsx(
12600
+ /* @__PURE__ */ v.jsx("h3", { className: "text-lg font-bold tracking-tight", children: e }),
12601
+ /* @__PURE__ */ v.jsx(
12602
12602
  "p",
12603
12603
  {
12604
12604
  className: _(
@@ -12608,7 +12608,7 @@ const zk = ({
12608
12608
  children: t
12609
12609
  }
12610
12610
  ),
12611
- /* @__PURE__ */ h.jsx("div", { className: "mt-6", children: n || (r ? /* @__PURE__ */ h.jsx(
12611
+ /* @__PURE__ */ v.jsx("div", { className: "mt-6", children: n || (r ? /* @__PURE__ */ v.jsx(
12612
12612
  Ye,
12613
12613
  {
12614
12614
  onClick: r,
@@ -12637,7 +12637,7 @@ const zk = ({
12637
12637
  }
12638
12638
  },
12639
12639
  defaultVariants: { state: "default" }
12640
- }), ew = $.forwardRef(
12640
+ }), ew = C.forwardRef(
12641
12641
  ({
12642
12642
  awayTeam: e,
12643
12643
  homeTeam: t,
@@ -12647,7 +12647,7 @@ const zk = ({
12647
12647
  ...o
12648
12648
  }, i) => {
12649
12649
  const s = (c) => r ? n ? "tie" : c.isWinner ? "winner" : "loser" : "default", l = s(e), u = s(t);
12650
- return /* @__PURE__ */ h.jsxs(
12650
+ return /* @__PURE__ */ v.jsxs(
12651
12651
  "button",
12652
12652
  {
12653
12653
  ref: i,
@@ -12658,8 +12658,8 @@ const zk = ({
12658
12658
  ),
12659
12659
  ...o,
12660
12660
  children: [
12661
- /* @__PURE__ */ h.jsxs("div", { className: Nl({ state: l }), children: [
12662
- /* @__PURE__ */ h.jsx("div", { className: "relative", children: /* @__PURE__ */ h.jsx(
12661
+ /* @__PURE__ */ v.jsxs("div", { className: Nl({ state: l }), children: [
12662
+ /* @__PURE__ */ v.jsx("div", { className: "relative", children: /* @__PURE__ */ v.jsx(
12663
12663
  "img",
12664
12664
  {
12665
12665
  src: e.logoSrc,
@@ -12667,8 +12667,8 @@ const zk = ({
12667
12667
  className: Al({ state: l })
12668
12668
  }
12669
12669
  ) }),
12670
- /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col items-end", children: [
12671
- e.accessory && /* @__PURE__ */ h.jsx(
12670
+ /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col items-end", children: [
12671
+ e.accessory && /* @__PURE__ */ v.jsx(
12672
12672
  "span",
12673
12673
  {
12674
12674
  className: _(
@@ -12678,13 +12678,13 @@ const zk = ({
12678
12678
  children: e.accessory
12679
12679
  }
12680
12680
  ),
12681
- r && e.score !== void 0 && /* @__PURE__ */ h.jsx("span", { className: "text-xs font-mono font-semibold text-gray-900 dark:text-white", children: e.score })
12681
+ r && e.score !== void 0 && /* @__PURE__ */ v.jsx("span", { className: "text-xs font-mono font-semibold text-gray-900 dark:text-white", children: e.score })
12682
12682
  ] })
12683
12683
  ] }),
12684
- /* @__PURE__ */ h.jsx("span", { className: "text-xs font-medium text-gray-500 self-center px-1", children: r ? "-" : "@" }),
12685
- /* @__PURE__ */ h.jsxs("div", { className: Nl({ state: u }), children: [
12686
- /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col items-start", children: [
12687
- t.accessory && /* @__PURE__ */ h.jsx(
12684
+ /* @__PURE__ */ v.jsx("span", { className: "text-xs font-medium text-gray-500 self-center px-1", children: r ? "-" : "@" }),
12685
+ /* @__PURE__ */ v.jsxs("div", { className: Nl({ state: u }), children: [
12686
+ /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col items-start", children: [
12687
+ t.accessory && /* @__PURE__ */ v.jsx(
12688
12688
  "span",
12689
12689
  {
12690
12690
  className: _(
@@ -12694,9 +12694,9 @@ const zk = ({
12694
12694
  children: t.accessory
12695
12695
  }
12696
12696
  ),
12697
- r && t.score !== void 0 && /* @__PURE__ */ h.jsx("span", { className: "text-xs font-mono font-semibold text-gray-900 dark:text-white", children: t.score })
12697
+ r && t.score !== void 0 && /* @__PURE__ */ v.jsx("span", { className: "text-xs font-mono font-semibold text-gray-900 dark:text-white", children: t.score })
12698
12698
  ] }),
12699
- /* @__PURE__ */ h.jsx("div", { className: "relative", children: /* @__PURE__ */ h.jsx(
12699
+ /* @__PURE__ */ v.jsx("div", { className: "relative", children: /* @__PURE__ */ v.jsx(
12700
12700
  "img",
12701
12701
  {
12702
12702
  src: t.logoSrc,
@@ -12743,22 +12743,22 @@ const tw = ce(
12743
12743
  variant: i,
12744
12744
  className: s,
12745
12745
  ...l
12746
- }, u) => /* @__PURE__ */ h.jsx(
12746
+ }, u) => /* @__PURE__ */ v.jsx(
12747
12747
  "div",
12748
12748
  {
12749
12749
  ref: u,
12750
12750
  className: _(tw({ variant: i, position: o }), s),
12751
12751
  ...l,
12752
- children: /* @__PURE__ */ h.jsxs("div", { className: "container mx-auto p-4", children: [
12753
- /* @__PURE__ */ h.jsxs("div", { className: "flex justify-between items-center", children: [
12754
- /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center gap-x-4 gap-y-2", children: [
12755
- e && /* @__PURE__ */ h.jsx("span", { className: "font-semibold text-lg", children: e }),
12756
- r && /* @__PURE__ */ h.jsx("div", { className: "max-w-44 sm:max-w-max mr-2", children: r })
12752
+ children: /* @__PURE__ */ v.jsxs("div", { className: "container mx-auto p-4", children: [
12753
+ /* @__PURE__ */ v.jsxs("div", { className: "flex justify-between items-center", children: [
12754
+ /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col sm:flex-row sm:items-center gap-x-4 gap-y-2", children: [
12755
+ e && /* @__PURE__ */ v.jsx("span", { className: "font-semibold text-lg", children: e }),
12756
+ r && /* @__PURE__ */ v.jsx("div", { className: "max-w-44 sm:max-w-max mr-2", children: r })
12757
12757
  ] }),
12758
- n && /* @__PURE__ */ h.jsx("div", { className: "flex gap-2", children: n })
12758
+ n && /* @__PURE__ */ v.jsx("div", { className: "flex gap-2", children: n })
12759
12759
  ] }),
12760
- t && /* @__PURE__ */ h.jsx("div", { className: "text-sm opacity-80 mt-1 font-medium", children: t }),
12761
- a && /* @__PURE__ */ h.jsx("div", { className: "flex flex-wrap items-center mt-4 pt-4 border-t border-black/10 dark:border-white/10 gap-y-2", children: a })
12760
+ t && /* @__PURE__ */ v.jsx("div", { className: "text-sm opacity-80 mt-1 font-medium", children: t }),
12761
+ a && /* @__PURE__ */ v.jsx("div", { className: "flex flex-wrap items-center mt-4 pt-4 border-t border-black/10 dark:border-white/10 gap-y-2", children: a })
12762
12762
  ] })
12763
12763
  }
12764
12764
  )
@@ -13034,10 +13034,10 @@ const Sw = (e) => {
13034
13034
  size: "md"
13035
13035
  }
13036
13036
  }
13037
- ), On = ({ value: e, label: t, size: r, variant: n }) => /* @__PURE__ */ h.jsxs("div", { className: "flex flex-col items-center", children: [
13038
- /* @__PURE__ */ h.jsx("span", { className: _(Ew({ size: r, variant: n })), children: String(e).padStart(2, "0") }),
13039
- /* @__PURE__ */ h.jsx("span", { className: _(Cw({ size: r })), children: t })
13040
- ] }), $w = $.forwardRef(
13037
+ ), On = ({ value: e, label: t, size: r, variant: n }) => /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col items-center", children: [
13038
+ /* @__PURE__ */ v.jsx("span", { className: _(Ew({ size: r, variant: n })), children: String(e).padStart(2, "0") }),
13039
+ /* @__PURE__ */ v.jsx("span", { className: _(Cw({ size: r })), children: t })
13040
+ ] }), $w = C.forwardRef(
13041
13041
  ({
13042
13042
  targetDate: e,
13043
13043
  title: t,
@@ -13048,7 +13048,7 @@ const Sw = (e) => {
13048
13048
  ...i
13049
13049
  }, s) => {
13050
13050
  const { days: l, hours: u, minutes: c, seconds: f, isFinished: g } = Sw(e);
13051
- return g ? o ? /* @__PURE__ */ h.jsx(
13051
+ return g ? o ? /* @__PURE__ */ v.jsx(
13052
13052
  "div",
13053
13053
  {
13054
13054
  ref: s,
@@ -13057,9 +13057,9 @@ const Sw = (e) => {
13057
13057
  a
13058
13058
  ),
13059
13059
  ...i,
13060
- children: /* @__PURE__ */ h.jsx("h3", { className: _(jl({ size: r }), "mb-0"), children: o })
13060
+ children: /* @__PURE__ */ v.jsx("h3", { className: _(jl({ size: r }), "mb-0"), children: o })
13061
13061
  }
13062
- ) : null : /* @__PURE__ */ h.jsxs(
13062
+ ) : null : /* @__PURE__ */ v.jsxs(
13063
13063
  "div",
13064
13064
  {
13065
13065
  ref: s,
@@ -13069,9 +13069,9 @@ const Sw = (e) => {
13069
13069
  ),
13070
13070
  ...i,
13071
13071
  children: [
13072
- t && /* @__PURE__ */ h.jsx("h3", { className: _(jl({ size: r })), children: t }),
13073
- /* @__PURE__ */ h.jsxs("div", { className: "flex justify-center gap-4 sm:gap-6 md:gap-8", children: [
13074
- /* @__PURE__ */ h.jsx(
13072
+ t && /* @__PURE__ */ v.jsx("h3", { className: _(jl({ size: r })), children: t }),
13073
+ /* @__PURE__ */ v.jsxs("div", { className: "flex justify-center gap-4 sm:gap-6 md:gap-8", children: [
13074
+ /* @__PURE__ */ v.jsx(
13075
13075
  On,
13076
13076
  {
13077
13077
  value: l,
@@ -13080,7 +13080,7 @@ const Sw = (e) => {
13080
13080
  variant: n
13081
13081
  }
13082
13082
  ),
13083
- /* @__PURE__ */ h.jsx(
13083
+ /* @__PURE__ */ v.jsx(
13084
13084
  On,
13085
13085
  {
13086
13086
  value: u,
@@ -13089,7 +13089,7 @@ const Sw = (e) => {
13089
13089
  variant: n
13090
13090
  }
13091
13091
  ),
13092
- /* @__PURE__ */ h.jsx(
13092
+ /* @__PURE__ */ v.jsx(
13093
13093
  On,
13094
13094
  {
13095
13095
  value: c,
@@ -13098,7 +13098,7 @@ const Sw = (e) => {
13098
13098
  variant: n
13099
13099
  }
13100
13100
  ),
13101
- /* @__PURE__ */ h.jsx(
13101
+ /* @__PURE__ */ v.jsx(
13102
13102
  On,
13103
13103
  {
13104
13104
  value: f,
@@ -13158,8 +13158,8 @@ const Rw = ce(
13158
13158
  status: i,
13159
13159
  children: s,
13160
13160
  className: l
13161
- }) => /* @__PURE__ */ h.jsx(yr, { appear: !0, show: e, as: Ie, children: /* @__PURE__ */ h.jsxs(y0, { as: "div", className: "relative z-50", onClose: t, children: [
13162
- /* @__PURE__ */ h.jsx(
13161
+ }) => /* @__PURE__ */ v.jsx(yr, { appear: !0, show: e, as: Ie, children: /* @__PURE__ */ v.jsxs(y0, { as: "div", className: "relative z-50", onClose: t, children: [
13162
+ /* @__PURE__ */ v.jsx(
13163
13163
  rn,
13164
13164
  {
13165
13165
  as: Ie,
@@ -13169,7 +13169,7 @@ const Rw = ce(
13169
13169
  leave: "ease-in duration-200",
13170
13170
  leaveFrom: "opacity-100",
13171
13171
  leaveTo: "opacity-0",
13172
- children: /* @__PURE__ */ h.jsx(
13172
+ children: /* @__PURE__ */ v.jsx(
13173
13173
  b0,
13174
13174
  {
13175
13175
  className: _(
@@ -13180,7 +13180,7 @@ const Rw = ce(
13180
13180
  )
13181
13181
  }
13182
13182
  ),
13183
- /* @__PURE__ */ h.jsx("div", { className: "fixed inset-0 overflow-y-auto", children: /* @__PURE__ */ h.jsx("div", { className: "flex min-h-full items-center justify-center p-4 text-center", children: /* @__PURE__ */ h.jsx(
13183
+ /* @__PURE__ */ v.jsx("div", { className: "fixed inset-0 overflow-y-auto", children: /* @__PURE__ */ v.jsx("div", { className: "flex min-h-full items-center justify-center p-4 text-center", children: /* @__PURE__ */ v.jsx(
13184
13184
  rn,
13185
13185
  {
13186
13186
  as: Ie,
@@ -13190,7 +13190,7 @@ const Rw = ce(
13190
13190
  leave: "ease-in duration-200",
13191
13191
  leaveFrom: "opacity-100 scale-100",
13192
13192
  leaveTo: "opacity-0 scale-95",
13193
- children: /* @__PURE__ */ h.jsxs(
13193
+ children: /* @__PURE__ */ v.jsxs(
13194
13194
  ic,
13195
13195
  {
13196
13196
  className: _(
@@ -13198,23 +13198,23 @@ const Rw = ce(
13198
13198
  l
13199
13199
  ),
13200
13200
  children: [
13201
- /* @__PURE__ */ h.jsxs("div", { className: "flex items-start justify-between", children: [
13202
- /* @__PURE__ */ h.jsxs("div", { children: [
13203
- /* @__PURE__ */ h.jsx(sc, { as: "h2", className: _(Pw()), children: r }),
13204
- n && /* @__PURE__ */ h.jsx("p", { className: _(Fw()), children: n })
13201
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-start justify-between", children: [
13202
+ /* @__PURE__ */ v.jsxs("div", { children: [
13203
+ /* @__PURE__ */ v.jsx(sc, { as: "h2", className: _(Pw()), children: r }),
13204
+ n && /* @__PURE__ */ v.jsx("p", { className: _(Fw()), children: n })
13205
13205
  ] }),
13206
- /* @__PURE__ */ h.jsx("div", { className: "ml-4 flex shrink-0", children: /* @__PURE__ */ h.jsx(
13206
+ /* @__PURE__ */ v.jsx("div", { className: "ml-4 flex shrink-0", children: /* @__PURE__ */ v.jsx(
13207
13207
  "button",
13208
13208
  {
13209
13209
  type: "button",
13210
13210
  onClick: t,
13211
13211
  className: _(Iw()),
13212
13212
  "aria-label": "Close dialog",
13213
- children: /* @__PURE__ */ h.jsx(Ee, { icon: aa, className: "h-5 w-5" })
13213
+ children: /* @__PURE__ */ v.jsx(Ee, { icon: aa, className: "h-5 w-5" })
13214
13214
  }
13215
13215
  ) })
13216
13216
  ] }),
13217
- /* @__PURE__ */ h.jsx("div", { className: "mt-6", children: s })
13217
+ /* @__PURE__ */ v.jsx("div", { className: "mt-6", children: s })
13218
13218
  ]
13219
13219
  }
13220
13220
  )
@@ -13237,16 +13237,16 @@ const Rw = ce(
13237
13237
  variant: "default"
13238
13238
  }
13239
13239
  }
13240
- ), Aw = $.forwardRef(
13240
+ ), Aw = C.forwardRef(
13241
13241
  ({ className: e, variant: t, companyName: r = "Ball Collaborative", ...n }, a) => {
13242
13242
  const o = (/* @__PURE__ */ new Date()).getFullYear();
13243
- return /* @__PURE__ */ h.jsx(
13243
+ return /* @__PURE__ */ v.jsx(
13244
13244
  "footer",
13245
13245
  {
13246
13246
  ref: a,
13247
13247
  className: _(Nw({ variant: t }), e),
13248
13248
  ...n,
13249
- children: /* @__PURE__ */ h.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ h.jsxs("p", { className: "text-center text-sm font-medium text-inherit", children: [
13249
+ children: /* @__PURE__ */ v.jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ v.jsxs("p", { className: "text-center text-sm font-medium text-inherit", children: [
13250
13250
  "© ",
13251
13251
  o,
13252
13252
  " ",
@@ -13295,28 +13295,29 @@ const Ow = ce(
13295
13295
  onLogout: i,
13296
13296
  onInboxClick: s,
13297
13297
  onThemeToggle: l,
13298
- className: u,
13299
- variant: c = "default",
13300
- position: f = "sticky",
13301
- themeMode: g,
13302
- notificationVariant: d = "error",
13303
- ...m
13298
+ actions: u,
13299
+ className: c,
13300
+ variant: f = "default",
13301
+ position: g = "sticky",
13302
+ themeMode: d,
13303
+ notificationVariant: m = "error",
13304
+ ...p
13304
13305
  }) => {
13305
- const p = (o?.notificationCount || 0) > 0, b = (g ?? (c === "white" || c === "default" ? "light" : "dark")) === "dark", x = c === "slate" || c === "primary" || c === "default" && b || c === "white" && b || c === "transparent" && b, y = {
13306
- brand: x ? "text-white dark:text-white hover:text-gray-200 dark:hover:text-gray-200" : "text-gray-900 dark:text-gray-900 hover:text-gray-600 dark:hover:text-gray-600",
13307
- linkBase: x ? "text-gray-300 dark:text-gray-300 hover:text-white dark:hover:text-white" : "text-gray-600 dark:text-gray-600 hover:text-gray-900 dark:hover:text-gray-900",
13308
- linkActive: x ? "text-primary-400 dark:text-primary-400 font-semibold hover:text-primary-300 dark:hover:text-primary-300" : "text-primary-600 dark:text-primary-600 font-semibold hover:text-primary-700 dark:hover:text-primary-700",
13309
- hamburger: x ? "text-gray-300 dark:text-gray-300 hover:bg-white/10 dark:hover:bg-white/10 hover:text-white dark:hover:text-white" : "text-gray-500 dark:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-100 hover:text-gray-700 dark:hover:text-gray-700"
13306
+ const h = (o?.notificationCount || 0) > 0, x = (d ?? (f === "white" || f === "default" ? "light" : "dark")) === "dark", y = f === "slate" || f === "primary" || f === "default" && x || f === "white" && x || f === "transparent" && x, S = {
13307
+ brand: y ? "text-white dark:text-white hover:text-gray-200 dark:hover:text-gray-200" : "text-gray-900 dark:text-gray-900 hover:text-gray-600 dark:hover:text-gray-600",
13308
+ linkBase: y ? "text-gray-300 dark:text-gray-300 hover:text-white dark:hover:text-white" : "text-gray-600 dark:text-gray-600 hover:text-gray-900 dark:hover:text-gray-900",
13309
+ linkActive: y ? "text-primary-400 dark:text-primary-400 font-semibold hover:text-primary-300 dark:hover:text-primary-300" : "text-primary-600 dark:text-primary-600 font-semibold hover:text-primary-700 dark:hover:text-primary-700",
13310
+ hamburger: y ? "text-gray-300 dark:text-gray-300 hover:bg-white/10 dark:hover:bg-white/10 hover:text-white dark:hover:text-white" : "text-gray-500 dark:text-gray-500 hover:bg-gray-100 dark:hover:bg-gray-100 hover:text-gray-700 dark:hover:text-gray-700"
13310
13311
  };
13311
- return /* @__PURE__ */ h.jsx(
13312
+ return /* @__PURE__ */ v.jsx(
13312
13313
  $c,
13313
13314
  {
13314
13315
  as: "nav",
13315
- className: _("z-50", Ow({ variant: c, position: f }), u),
13316
- ...m,
13317
- children: ({ open: S, close: w }) => /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
13318
- /* @__PURE__ */ h.jsxs("div", { className: "container mx-auto flex items-center justify-between px-4 h-16", children: [
13319
- /* @__PURE__ */ h.jsxs(
13316
+ className: _("z-50", Ow({ variant: f, position: g }), c),
13317
+ ...p,
13318
+ children: ({ open: w, close: P }) => /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
13319
+ /* @__PURE__ */ v.jsxs("div", { className: "container mx-auto flex items-center justify-between px-4 h-16", children: [
13320
+ /* @__PURE__ */ v.jsxs(
13320
13321
  Kr,
13321
13322
  {
13322
13323
  as: a,
@@ -13326,10 +13327,10 @@ const Ow = ce(
13326
13327
  underline: "none",
13327
13328
  className: _(
13328
13329
  "flex items-center gap-3 transition-opacity",
13329
- y.brand
13330
+ S.brand
13330
13331
  ),
13331
13332
  children: [
13332
- /* @__PURE__ */ h.jsx(
13333
+ /* @__PURE__ */ v.jsx(
13333
13334
  "img",
13334
13335
  {
13335
13336
  src: e,
@@ -13337,34 +13338,34 @@ const Ow = ce(
13337
13338
  className: "h-8 w-8 rounded-md"
13338
13339
  }
13339
13340
  ),
13340
- /* @__PURE__ */ h.jsx("span", { className: "text-xl font-bold tracking-tight", children: t })
13341
+ /* @__PURE__ */ v.jsx("span", { className: "text-xl font-bold tracking-tight", children: t })
13341
13342
  ]
13342
13343
  }
13343
13344
  ),
13344
- /* @__PURE__ */ h.jsxs("div", { className: "hidden md:flex items-center gap-8", children: [
13345
- /* @__PURE__ */ h.jsx("div", { className: "flex items-center gap-6", children: r.map((C) => {
13346
- const I = n === C.path;
13347
- return /* @__PURE__ */ h.jsx(
13345
+ /* @__PURE__ */ v.jsxs("div", { className: "hidden md:flex items-center gap-8", children: [
13346
+ /* @__PURE__ */ v.jsx("div", { className: "flex items-center gap-6", children: r.map((F) => {
13347
+ const R = n === F.path;
13348
+ return /* @__PURE__ */ v.jsx(
13348
13349
  Kr,
13349
13350
  {
13350
13351
  as: a,
13351
- href: C.path,
13352
- to: C.path,
13352
+ href: F.path,
13353
+ to: F.path,
13353
13354
  variant: "neutral",
13354
13355
  underline: "none",
13355
13356
  className: _(
13356
13357
  "text-sm transition-colors duration-200",
13357
- I ? y.linkActive : y.linkBase
13358
+ R ? S.linkActive : S.linkBase
13358
13359
  ),
13359
- children: C.label
13360
+ children: F.label
13360
13361
  },
13361
- C.path
13362
+ F.path
13362
13363
  );
13363
13364
  }) }),
13364
- o ? /* @__PURE__ */ h.jsxs(mh, { as: "div", className: "relative ml-2", children: [
13365
- /* @__PURE__ */ h.jsxs(xc, { className: "relative flex rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 ring-offset-transparent", children: [
13366
- /* @__PURE__ */ h.jsx("span", { className: "sr-only", children: "Open user menu" }),
13367
- /* @__PURE__ */ h.jsx(
13365
+ u ?? (o ? /* @__PURE__ */ v.jsxs(mh, { as: "div", className: "relative ml-2", children: [
13366
+ /* @__PURE__ */ v.jsxs(xc, { className: "relative flex rounded-full text-sm focus:outline-none focus:ring-2 focus:ring-primary-500 focus:ring-offset-2 ring-offset-transparent", children: [
13367
+ /* @__PURE__ */ v.jsx("span", { className: "sr-only", children: "Open user menu" }),
13368
+ /* @__PURE__ */ v.jsx(
13368
13369
  Dc,
13369
13370
  {
13370
13371
  initials: o.initials,
@@ -13374,18 +13375,18 @@ const Ow = ce(
13374
13375
  colorScheme: "primary"
13375
13376
  }
13376
13377
  ),
13377
- p && /* @__PURE__ */ h.jsx("div", { className: "absolute -top-1 -right-2", children: /* @__PURE__ */ h.jsx(
13378
+ h && /* @__PURE__ */ v.jsx("div", { className: "absolute -top-1 -right-2", children: /* @__PURE__ */ v.jsx(
13378
13379
  $o,
13379
13380
  {
13380
13381
  fill: "solid",
13381
13382
  size: "xs",
13382
13383
  statusBadge: !0,
13383
- variant: d,
13384
+ variant: m,
13384
13385
  children: o.notificationCount
13385
13386
  }
13386
13387
  ) })
13387
13388
  ] }),
13388
- /* @__PURE__ */ h.jsx(
13389
+ /* @__PURE__ */ v.jsx(
13389
13390
  yr,
13390
13391
  {
13391
13392
  as: Ie,
@@ -13395,9 +13396,9 @@ const Ow = ce(
13395
13396
  leave: "transition ease-in duration-75",
13396
13397
  leaveFrom: "transform opacity-100 scale-100",
13397
13398
  leaveTo: "transform opacity-0 scale-95",
13398
- children: /* @__PURE__ */ h.jsxs(wc, { className: "absolute right-0 z-50 mt-2 w-48 origin-top-right rounded-md bg-white dark:bg-gray-800 py-1 shadow-lg ring-1 ring-black/5 dark:ring-white/10 focus:outline-none divide-y divide-gray-100 dark:divide-gray-700", children: [
13399
- /* @__PURE__ */ h.jsxs("div", { className: "py-1", children: [
13400
- p && /* @__PURE__ */ h.jsx(Dn, { children: ({ focus: C }) => /* @__PURE__ */ h.jsxs(
13399
+ children: /* @__PURE__ */ v.jsxs(wc, { className: "absolute right-0 z-50 mt-2 w-48 origin-top-right rounded-md bg-white dark:bg-gray-800 py-1 shadow-lg ring-1 ring-black/5 dark:ring-white/10 focus:outline-none divide-y divide-gray-100 dark:divide-gray-700", children: [
13400
+ /* @__PURE__ */ v.jsxs("div", { className: "py-1", children: [
13401
+ h && s && /* @__PURE__ */ v.jsx(Dn, { children: ({ focus: F }) => /* @__PURE__ */ v.jsxs(
13401
13402
  Ye,
13402
13403
  {
13403
13404
  variant: "ghost",
@@ -13406,9 +13407,9 @@ const Ow = ce(
13406
13407
  onClick: s,
13407
13408
  className: _(
13408
13409
  "w-full justify-start rounded-none px-4",
13409
- C && "bg-gray-50 dark:bg-gray-700"
13410
+ F && "bg-gray-50 dark:bg-gray-700"
13410
13411
  ),
13411
- startIcon: /* @__PURE__ */ h.jsx(
13412
+ startIcon: /* @__PURE__ */ v.jsx(
13412
13413
  Ee,
13413
13414
  {
13414
13415
  icon: N1,
@@ -13422,39 +13423,39 @@ const Ow = ce(
13422
13423
  ]
13423
13424
  }
13424
13425
  ) }),
13425
- l && /* @__PURE__ */ h.jsx(Dn, { children: ({ focus: C }) => /* @__PURE__ */ h.jsxs(
13426
+ l && /* @__PURE__ */ v.jsx(Dn, { children: ({ focus: F }) => /* @__PURE__ */ v.jsxs(
13426
13427
  "div",
13427
13428
  {
13428
- onClick: (I) => {
13429
- I.preventDefault(), l();
13429
+ onClick: (R) => {
13430
+ R.preventDefault(), l();
13430
13431
  },
13431
13432
  role: "button",
13432
13433
  tabIndex: 0,
13433
13434
  className: _(
13434
13435
  "flex w-full items-center justify-between px-4 py-2 text-sm text-gray-700 dark:text-gray-200 cursor-pointer transition-colors",
13435
- C && "bg-gray-50 dark:bg-gray-700"
13436
+ F && "bg-gray-50 dark:bg-gray-700"
13436
13437
  ),
13437
- onKeyDown: (I) => {
13438
- (I.key === "Enter" || I.key === " ") && (I.preventDefault(), l());
13438
+ onKeyDown: (R) => {
13439
+ (R.key === "Enter" || R.key === " ") && (R.preventDefault(), l());
13439
13440
  },
13440
13441
  children: [
13441
- /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-2", children: [
13442
- /* @__PURE__ */ h.jsx(
13442
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-2", children: [
13443
+ /* @__PURE__ */ v.jsx(
13443
13444
  Ee,
13444
13445
  {
13445
13446
  icon: Rl,
13446
13447
  className: _(
13447
13448
  "w-4 transition-colors",
13448
- b ? "text-amber-500" : "text-gray-400"
13449
+ x ? "text-amber-500" : "text-gray-400"
13449
13450
  )
13450
13451
  }
13451
13452
  ),
13452
- /* @__PURE__ */ h.jsx("span", { className: "font-medium", children: "Dark Mode" })
13453
+ /* @__PURE__ */ v.jsx("span", { className: "font-medium", children: "Dark Mode" })
13453
13454
  ] }),
13454
- /* @__PURE__ */ h.jsx(
13455
+ /* @__PURE__ */ v.jsx(
13455
13456
  Fl,
13456
13457
  {
13457
- checked: b,
13458
+ checked: x,
13458
13459
  onChange: () => {
13459
13460
  },
13460
13461
  size: "xs",
@@ -13466,7 +13467,7 @@ const Ow = ce(
13466
13467
  }
13467
13468
  ) })
13468
13469
  ] }),
13469
- /* @__PURE__ */ h.jsx("div", { className: "py-1", children: /* @__PURE__ */ h.jsx(Dn, { children: ({ focus: C }) => /* @__PURE__ */ h.jsx(
13470
+ i && /* @__PURE__ */ v.jsx("div", { className: "py-1", children: /* @__PURE__ */ v.jsx(Dn, { children: ({ focus: F }) => /* @__PURE__ */ v.jsx(
13470
13471
  Ye,
13471
13472
  {
13472
13473
  variant: "ghost",
@@ -13475,9 +13476,9 @@ const Ow = ce(
13475
13476
  onClick: i,
13476
13477
  className: _(
13477
13478
  "w-full justify-start rounded-none px-4",
13478
- C && "bg-gray-50 dark:bg-gray-700"
13479
+ F && "bg-gray-50 dark:bg-gray-700"
13479
13480
  ),
13480
- startIcon: /* @__PURE__ */ h.jsx(
13481
+ startIcon: /* @__PURE__ */ v.jsx(
13481
13482
  Ee,
13482
13483
  {
13483
13484
  icon: P1,
@@ -13490,26 +13491,26 @@ const Ow = ce(
13490
13491
  ] })
13491
13492
  }
13492
13493
  )
13493
- ] }) : /* @__PURE__ */ h.jsx(Ye, { size: "sm", variant: "solid", colorScheme: "primary", children: "Log In" })
13494
+ ] }) : /* @__PURE__ */ v.jsx(Ye, { size: "sm", variant: "solid", colorScheme: "primary", children: "Log In" }))
13494
13495
  ] }),
13495
- /* @__PURE__ */ h.jsx("div", { className: "flex md:hidden", children: /* @__PURE__ */ h.jsxs(
13496
+ /* @__PURE__ */ v.jsx("div", { className: "flex md:hidden", children: /* @__PURE__ */ v.jsxs(
13496
13497
  Zn,
13497
13498
  {
13498
13499
  className: _(
13499
13500
  "inline-flex items-center justify-center rounded-md p-2 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary-500",
13500
- y.hamburger
13501
+ S.hamburger
13501
13502
  ),
13502
13503
  children: [
13503
- /* @__PURE__ */ h.jsx("span", { className: "sr-only", children: "Open main menu" }),
13504
- S ? /* @__PURE__ */ h.jsx(
13504
+ /* @__PURE__ */ v.jsx("span", { className: "sr-only", children: "Open main menu" }),
13505
+ w ? /* @__PURE__ */ v.jsx(
13505
13506
  Ee,
13506
13507
  {
13507
13508
  icon: aa,
13508
13509
  className: "block h-6 w-6",
13509
13510
  "aria-hidden": "true"
13510
13511
  }
13511
- ) : /* @__PURE__ */ h.jsxs("div", { className: "relative", children: [
13512
- /* @__PURE__ */ h.jsx(
13512
+ ) : /* @__PURE__ */ v.jsxs("div", { className: "relative", children: [
13513
+ /* @__PURE__ */ v.jsx(
13513
13514
  Ee,
13514
13515
  {
13515
13516
  icon: M1,
@@ -13517,13 +13518,13 @@ const Ow = ce(
13517
13518
  "aria-hidden": "true"
13518
13519
  }
13519
13520
  ),
13520
- p && /* @__PURE__ */ h.jsx("span", { className: "absolute top-0 right-0 block h-2.5 w-2.5 rounded-full bg-error-500 ring-2 ring-transparent transform translate-x-1/4 -translate-y-1/4" })
13521
+ h && /* @__PURE__ */ v.jsx("span", { className: "absolute top-0 right-0 block h-2.5 w-2.5 rounded-full bg-error-500 ring-2 ring-transparent transform translate-x-1/4 -translate-y-1/4" })
13521
13522
  ] })
13522
13523
  ]
13523
13524
  }
13524
13525
  ) })
13525
13526
  ] }),
13526
- /* @__PURE__ */ h.jsx(
13527
+ /* @__PURE__ */ v.jsx(
13527
13528
  yr,
13528
13529
  {
13529
13530
  as: Ie,
@@ -13533,16 +13534,16 @@ const Ow = ce(
13533
13534
  leave: "duration-100 ease-in",
13534
13535
  leaveFrom: "opacity-100 scale-100",
13535
13536
  leaveTo: "opacity-0 scale-95",
13536
- children: /* @__PURE__ */ h.jsx(
13537
+ children: /* @__PURE__ */ v.jsx(
13537
13538
  Ii,
13538
13539
  {
13539
13540
  focus: !0,
13540
13541
  className: "absolute top-0 inset-x-0 z-50 origin-top-right transform p-2 transition md:hidden",
13541
- children: /* @__PURE__ */ h.jsxs("div", { className: "rounded-lg shadow-lg ring-1 ring-black/5 dark:ring-white/10 divide-y divide-gray-100 dark:divide-gray-700 bg-white dark:bg-gray-800", children: [
13542
- /* @__PURE__ */ h.jsxs("div", { className: "px-5 pt-5 pb-6", children: [
13543
- /* @__PURE__ */ h.jsxs("div", { className: "flex items-center justify-between", children: [
13544
- /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-3", children: [
13545
- /* @__PURE__ */ h.jsx(
13542
+ children: /* @__PURE__ */ v.jsxs("div", { className: "rounded-lg shadow-lg ring-1 ring-black/5 dark:ring-white/10 divide-y divide-gray-100 dark:divide-gray-700 bg-white dark:bg-gray-800", children: [
13543
+ /* @__PURE__ */ v.jsxs("div", { className: "px-5 pt-5 pb-6", children: [
13544
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-center justify-between", children: [
13545
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-3", children: [
13546
+ /* @__PURE__ */ v.jsx(
13546
13547
  "img",
13547
13548
  {
13548
13549
  src: e,
@@ -13550,11 +13551,11 @@ const Ow = ce(
13550
13551
  className: "h-8 w-8 rounded-md"
13551
13552
  }
13552
13553
  ),
13553
- /* @__PURE__ */ h.jsx("span", { className: "font-bold text-gray-900 dark:text-white", children: t })
13554
+ /* @__PURE__ */ v.jsx("span", { className: "font-bold text-gray-900 dark:text-white", children: t })
13554
13555
  ] }),
13555
- /* @__PURE__ */ h.jsx("div", { className: "-mr-2", children: /* @__PURE__ */ h.jsxs(Zn, { className: "inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-500 dark:hover:text-white focus:outline-none", children: [
13556
- /* @__PURE__ */ h.jsx("span", { className: "sr-only", children: "Close menu" }),
13557
- /* @__PURE__ */ h.jsx(
13556
+ /* @__PURE__ */ v.jsx("div", { className: "-mr-2", children: /* @__PURE__ */ v.jsxs(Zn, { className: "inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 hover:text-gray-500 dark:hover:text-white focus:outline-none", children: [
13557
+ /* @__PURE__ */ v.jsx("span", { className: "sr-only", children: "Close menu" }),
13558
+ /* @__PURE__ */ v.jsx(
13558
13559
  Ee,
13559
13560
  {
13560
13561
  icon: aa,
@@ -13564,90 +13565,90 @@ const Ow = ce(
13564
13565
  )
13565
13566
  ] }) })
13566
13567
  ] }),
13567
- /* @__PURE__ */ h.jsx("div", { className: "mt-6", children: /* @__PURE__ */ h.jsx("nav", { className: "grid gap-y-4", children: r.map((C) => {
13568
- const I = n === C.path;
13569
- return /* @__PURE__ */ h.jsx(
13568
+ /* @__PURE__ */ v.jsx("div", { className: "mt-6", children: /* @__PURE__ */ v.jsx("nav", { className: "grid gap-y-4", children: r.map((F) => {
13569
+ const R = n === F.path;
13570
+ return /* @__PURE__ */ v.jsx(
13570
13571
  Kr,
13571
13572
  {
13572
13573
  as: a,
13573
- href: C.path,
13574
- to: C.path,
13575
- onClick: () => w(),
13574
+ href: F.path,
13575
+ to: F.path,
13576
+ onClick: () => P(),
13576
13577
  variant: "neutral",
13577
13578
  underline: "none",
13578
13579
  className: _(
13579
13580
  "-m-3 flex items-center rounded-md p-3 transition-colors",
13580
13581
  "hover:bg-gray-50 dark:hover:bg-gray-700",
13581
- I ? "bg-gray-50 dark:bg-gray-700" : "text-gray-900 dark:text-gray-100"
13582
+ R ? "bg-gray-50 dark:bg-gray-700" : "text-gray-900 dark:text-gray-100"
13582
13583
  ),
13583
- children: /* @__PURE__ */ h.jsx(
13584
+ children: /* @__PURE__ */ v.jsx(
13584
13585
  "span",
13585
13586
  {
13586
13587
  className: _(
13587
13588
  "ml-3 text-base font-medium",
13588
- I ? "text-primary-600 dark:text-primary-400 font-bold" : "text-gray-900 dark:text-gray-100"
13589
+ R ? "text-primary-600 dark:text-primary-400 font-bold" : "text-gray-900 dark:text-gray-100"
13589
13590
  ),
13590
- children: C.label
13591
+ children: F.label
13591
13592
  }
13592
13593
  )
13593
13594
  },
13594
- C.path
13595
+ F.path
13595
13596
  );
13596
13597
  }) }) })
13597
13598
  ] }),
13598
- o && /* @__PURE__ */ h.jsxs("div", { className: "py-6 px-5 space-y-4", children: [
13599
- p && /* @__PURE__ */ h.jsx(
13599
+ (o || u) && /* @__PURE__ */ v.jsx("div", { className: "py-6 px-5 space-y-4", children: u || /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
13600
+ h && s && /* @__PURE__ */ v.jsx(
13600
13601
  Ye,
13601
13602
  {
13602
13603
  variant: "ghost",
13603
13604
  colorScheme: "neutral",
13604
13605
  onClick: () => {
13605
- s(), w();
13606
+ s?.(), P();
13606
13607
  },
13607
13608
  className: "w-full justify-between px-4 text-base font-medium hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-900 dark:text-gray-100",
13608
- endIcon: /* @__PURE__ */ h.jsx(
13609
+ endIcon: /* @__PURE__ */ v.jsx(
13609
13610
  $o,
13610
13611
  {
13611
13612
  fill: "solid",
13612
13613
  size: "xs",
13613
13614
  statusBadge: !0,
13614
- variant: d,
13615
- children: o.notificationCount
13615
+ variant: m,
13616
+ children: o?.notificationCount
13616
13617
  }
13617
13618
  ),
13618
13619
  children: "Pending Invitations"
13619
13620
  }
13620
13621
  ),
13621
- l && /* @__PURE__ */ h.jsxs(
13622
+ l && /* @__PURE__ */ v.jsxs(
13622
13623
  "div",
13623
13624
  {
13624
- onClick: (C) => {
13625
- C.preventDefault(), l();
13625
+ onClick: (F) => {
13626
+ F.preventDefault(), l();
13626
13627
  },
13627
13628
  role: "button",
13628
13629
  tabIndex: 0,
13629
- onKeyDown: (C) => {
13630
- (C.key === "Enter" || C.key === " ") && (C.preventDefault(), l());
13630
+ onKeyDown: (F) => {
13631
+ (F.key === "Enter" || F.key === " ") && (F.preventDefault(), l());
13631
13632
  },
13632
13633
  className: "flex w-full items-center justify-between rounded-md px-4 py-2 text-base transition-colors cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-900 dark:text-gray-100",
13633
13634
  children: [
13634
- /* @__PURE__ */ h.jsxs("div", { className: "flex items-center gap-3 font-medium", children: [
13635
- /* @__PURE__ */ h.jsx(
13635
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-3 font-medium", children: [
13636
+ /* @__PURE__ */ v.jsx(
13636
13637
  Ee,
13637
13638
  {
13638
13639
  icon: Rl,
13639
13640
  className: _(
13640
13641
  "w-5 transition-colors",
13641
- b ? "text-amber-500" : "text-gray-400"
13642
+ x ? "text-amber-500" : "text-gray-400"
13642
13643
  )
13643
13644
  }
13644
13645
  ),
13645
- /* @__PURE__ */ h.jsx("span", { children: "Dark Mode" })
13646
+ /* @__PURE__ */ v.jsx("span", { children: "Dark Mode" })
13646
13647
  ] }),
13647
- /* @__PURE__ */ h.jsx(
13648
+ /* @__PURE__ */ v.jsx(
13648
13649
  Fl,
13649
13650
  {
13650
- checked: b,
13651
+ checked: x,
13651
13652
  onChange: () => {
13652
13653
  },
13653
13654
  size: "sm",
@@ -13658,19 +13659,19 @@ const Ow = ce(
13658
13659
  ]
13659
13660
  }
13660
13661
  ),
13661
- /* @__PURE__ */ h.jsx(
13662
+ i && /* @__PURE__ */ v.jsx(
13662
13663
  Ye,
13663
13664
  {
13664
13665
  variant: "outline",
13665
13666
  colorScheme: "error",
13666
13667
  className: "w-full justify-center",
13667
13668
  onClick: () => {
13668
- i(), w();
13669
+ i?.(), P();
13669
13670
  },
13670
13671
  children: "Log Out"
13671
13672
  }
13672
13673
  )
13673
- ] })
13674
+ ] }) })
13674
13675
  ] })
13675
13676
  }
13676
13677
  )
@@ -13797,7 +13798,7 @@ const Ow = ce(
13797
13798
  size: r = "md",
13798
13799
  hoverable: n = !1,
13799
13800
  ...a
13800
- }, o) => /* @__PURE__ */ h.jsx(Ar.Provider, { value: { variant: t, size: r, hoverable: n }, children: /* @__PURE__ */ h.jsx("div", { className: _(_w({ variant: t })), children: /* @__PURE__ */ h.jsx(
13801
+ }, o) => /* @__PURE__ */ v.jsx(Ar.Provider, { value: { variant: t, size: r, hoverable: n }, children: /* @__PURE__ */ v.jsx("div", { className: _(_w({ variant: t })), children: /* @__PURE__ */ v.jsx(
13801
13802
  "table",
13802
13803
  {
13803
13804
  ref: o,
@@ -13809,7 +13810,7 @@ const Ow = ce(
13809
13810
  Xd.displayName = "Table";
13810
13811
  const Jd = j.forwardRef(({ className: e, ...t }, r) => {
13811
13812
  const { variant: n } = j.useContext(Ar);
13812
- return /* @__PURE__ */ h.jsx(
13813
+ return /* @__PURE__ */ v.jsx(
13813
13814
  "thead",
13814
13815
  {
13815
13816
  ref: r,
@@ -13819,7 +13820,7 @@ const Jd = j.forwardRef(({ className: e, ...t }, r) => {
13819
13820
  );
13820
13821
  });
13821
13822
  Jd.displayName = "TableHeader";
13822
- const Qd = j.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ h.jsx(
13823
+ const Qd = j.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ v.jsx(
13823
13824
  "tbody",
13824
13825
  {
13825
13826
  ref: r,
@@ -13830,7 +13831,7 @@ const Qd = j.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ h.jsx(
13830
13831
  Qd.displayName = "TableBody";
13831
13832
  const Dw = j.forwardRef(({ className: e, ...t }, r) => {
13832
13833
  const { variant: n } = j.useContext(Ar);
13833
- return /* @__PURE__ */ h.jsx(
13834
+ return /* @__PURE__ */ v.jsx(
13834
13835
  "tfoot",
13835
13836
  {
13836
13837
  ref: r,
@@ -13846,7 +13847,7 @@ const Dw = j.forwardRef(({ className: e, ...t }, r) => {
13846
13847
  Dw.displayName = "TableFooter";
13847
13848
  const Gn = j.forwardRef(({ className: e, ...t }, r) => {
13848
13849
  const { variant: n, hoverable: a } = j.useContext(Ar);
13849
- return /* @__PURE__ */ h.jsx(
13850
+ return /* @__PURE__ */ v.jsx(
13850
13851
  "tr",
13851
13852
  {
13852
13853
  ref: r,
@@ -13858,7 +13859,7 @@ const Gn = j.forwardRef(({ className: e, ...t }, r) => {
13858
13859
  Gn.displayName = "TableRow";
13859
13860
  const Zd = j.forwardRef(({ className: e, ...t }, r) => {
13860
13861
  const { variant: n, size: a } = j.useContext(Ar);
13861
- return /* @__PURE__ */ h.jsx(
13862
+ return /* @__PURE__ */ v.jsx(
13862
13863
  "th",
13863
13864
  {
13864
13865
  ref: r,
@@ -13870,7 +13871,7 @@ const Zd = j.forwardRef(({ className: e, ...t }, r) => {
13870
13871
  Zd.displayName = "TableHead";
13871
13872
  const Ho = j.forwardRef(({ className: e, ...t }, r) => {
13872
13873
  const { variant: n, size: a } = j.useContext(Ar);
13873
- return /* @__PURE__ */ h.jsx(
13874
+ return /* @__PURE__ */ v.jsx(
13874
13875
  "td",
13875
13876
  {
13876
13877
  ref: r,
@@ -13880,7 +13881,7 @@ const Ho = j.forwardRef(({ className: e, ...t }, r) => {
13880
13881
  );
13881
13882
  });
13882
13883
  Ho.displayName = "TableCell";
13883
- const Vw = j.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ h.jsx(
13884
+ const Vw = j.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ v.jsx(
13884
13885
  "caption",
13885
13886
  {
13886
13887
  ref: r,
@@ -14089,22 +14090,22 @@ function _n(e, t, r, n) {
14089
14090
  id: [n, `${d}`].filter(Boolean).join("_"),
14090
14091
  headers: []
14091
14092
  }, p = [];
14092
- g.forEach((v) => {
14093
- const b = [...p].reverse()[0], x = v.column.depth === m.depth;
14093
+ g.forEach((h) => {
14094
+ const b = [...p].reverse()[0], x = h.column.depth === m.depth;
14094
14095
  let y, S = !1;
14095
- if (x && v.column.parent ? y = v.column.parent : (y = v.column, S = !0), b && b?.column === y)
14096
- b.subHeaders.push(v);
14096
+ if (x && h.column.parent ? y = h.column.parent : (y = h.column, S = !0), b && b?.column === y)
14097
+ b.subHeaders.push(h);
14097
14098
  else {
14098
14099
  const w = Ll(r, y, {
14099
- id: [n, d, y.id, v?.id].filter(Boolean).join("_"),
14100
+ id: [n, d, y.id, h?.id].filter(Boolean).join("_"),
14100
14101
  isPlaceholder: S,
14101
- placeholderId: S ? `${p.filter((C) => C.column === y).length}` : void 0,
14102
+ placeholderId: S ? `${p.filter((P) => P.column === y).length}` : void 0,
14102
14103
  depth: d,
14103
14104
  index: p.length
14104
14105
  });
14105
- w.subHeaders.push(v), p.push(w);
14106
+ w.subHeaders.push(h), p.push(w);
14106
14107
  }
14107
- m.headers.push(v), v.headerGroup = m;
14108
+ m.headers.push(h), h.headerGroup = m;
14108
14109
  }), l.push(m), d > 0 && u(p, d - 1);
14109
14110
  }, c = t.map((g, d) => Ll(r, g, {
14110
14111
  depth: i,
@@ -14112,7 +14113,7 @@ function _n(e, t, r, n) {
14112
14113
  }));
14113
14114
  u(c, i - 1), l.reverse();
14114
14115
  const f = (g) => g.filter((m) => m.column.getIsVisible()).map((m) => {
14115
- let p = 0, v = 0, b = [0];
14116
+ let p = 0, h = 0, b = [0];
14116
14117
  m.subHeaders && m.subHeaders.length ? (b = [], f(m.subHeaders).forEach((y) => {
14117
14118
  let {
14118
14119
  colSpan: S,
@@ -14121,9 +14122,9 @@ function _n(e, t, r, n) {
14121
14122
  p += S, b.push(w);
14122
14123
  })) : p = 1;
14123
14124
  const x = Math.min(...b);
14124
- return v = v + x, m.colSpan = p, m.rowSpan = v, {
14125
+ return h = h + x, m.colSpan = p, m.rowSpan = h, {
14125
14126
  colSpan: p,
14126
- rowSpan: v
14127
+ rowSpan: h
14127
14128
  };
14128
14129
  });
14129
14130
  return f((a = (o = l[0]) == null ? void 0 : o.headers) != null ? a : []), l;
@@ -14631,14 +14632,14 @@ const Tn = {
14631
14632
  const i = e.getSize(), s = e ? e.getLeafHeaders().map((b) => [b.column.id, b.column.getSize()]) : [[n.id, n.getSize()]], l = io(o) ? Math.round(o.touches[0].clientX) : o.clientX, u = {}, c = (b, x) => {
14632
14633
  typeof x == "number" && (t.setColumnSizingInfo((y) => {
14633
14634
  var S, w;
14634
- const C = t.options.columnResizeDirection === "rtl" ? -1 : 1, I = (x - ((S = y?.startOffset) != null ? S : 0)) * C, F = Math.max(I / ((w = y?.startSize) != null ? w : 0), -0.999999);
14635
+ const P = t.options.columnResizeDirection === "rtl" ? -1 : 1, F = (x - ((S = y?.startOffset) != null ? S : 0)) * P, R = Math.max(F / ((w = y?.startSize) != null ? w : 0), -0.999999);
14635
14636
  return y.columnSizingStart.forEach((W) => {
14636
- let [P, O] = W;
14637
- u[P] = Math.round(Math.max(O + O * F, 0) * 100) / 100;
14637
+ let [I, O] = W;
14638
+ u[I] = Math.round(Math.max(O + O * R, 0) * 100) / 100;
14638
14639
  }), {
14639
14640
  ...y,
14640
- deltaOffset: I,
14641
- deltaPercentage: F
14641
+ deltaOffset: F,
14642
+ deltaPercentage: R
14642
14643
  };
14643
14644
  }), (t.options.columnResizeMode === "onChange" || b === "end") && t.setColumnSizing((y) => ({
14644
14645
  ...y,
@@ -14665,10 +14666,10 @@ const Tn = {
14665
14666
  var x;
14666
14667
  d?.removeEventListener("touchmove", p.moveHandler), d?.removeEventListener("touchend", p.upHandler), b.cancelable && (b.preventDefault(), b.stopPropagation()), g((x = b.touches[0]) == null ? void 0 : x.clientX);
14667
14668
  }
14668
- }, v = ck() ? {
14669
+ }, h = ck() ? {
14669
14670
  passive: !1
14670
14671
  } : !1;
14671
- io(o) ? (d?.addEventListener("touchmove", p.moveHandler, v), d?.addEventListener("touchend", p.upHandler, v)) : (d?.addEventListener("mousemove", m.moveHandler, v), d?.addEventListener("mouseup", m.upHandler, v)), t.setColumnSizingInfo((b) => ({
14672
+ io(o) ? (d?.addEventListener("touchmove", p.moveHandler, h), d?.addEventListener("touchend", p.upHandler, h)) : (d?.addEventListener("mousemove", m.moveHandler, h), d?.addEventListener("mouseup", m.upHandler, h)), t.setColumnSizingInfo((b) => ({
14672
14673
  ...b,
14673
14674
  startOffset: l,
14674
14675
  startSize: i,
@@ -15458,8 +15459,8 @@ function $k(e) {
15458
15459
  },
15459
15460
  // footer: props => props.header.column.id,
15460
15461
  cell: (m) => {
15461
- var p, v;
15462
- return (p = (v = m.renderValue()) == null || v.toString == null ? void 0 : v.toString()) != null ? p : null;
15462
+ var p, h;
15463
+ return (p = (h = m.renderValue()) == null || h.toString == null ? void 0 : h.toString()) != null ? p : null;
15463
15464
  },
15464
15465
  ...a._features.reduce((m, p) => Object.assign(m, p.getDefaultColumnDef == null ? void 0 : p.getDefaultColumnDef()), {}),
15465
15466
  ...g
@@ -15467,10 +15468,10 @@ function $k(e) {
15467
15468
  }, ee(e, "debugColumns", "_getDefaultColumnDef")),
15468
15469
  _getColumnDefs: () => a.options.columns,
15469
15470
  getAllColumns: Z(() => [a._getColumnDefs()], (g) => {
15470
- const d = function(m, p, v) {
15471
- return v === void 0 && (v = 0), m.map((b) => {
15472
- const x = Bw(a, b, v, p), y = b;
15473
- return x.columns = y.columns ? d(y.columns, x, v + 1) : [], x;
15471
+ const d = function(m, p, h) {
15472
+ return h === void 0 && (h = 0), m.map((b) => {
15473
+ const x = Bw(a, b, h, p), y = b;
15474
+ return x.columns = y.columns ? d(y.columns, x, h + 1) : [], x;
15474
15475
  });
15475
15476
  };
15476
15477
  return d(g);
@@ -15579,14 +15580,14 @@ function Ik() {
15579
15580
  return u.sort((c, f) => {
15580
15581
  for (let d = 0; d < o.length; d += 1) {
15581
15582
  var g;
15582
- const m = o[d], p = i[m.id], v = p.sortUndefined, b = (g = m?.desc) != null ? g : !1;
15583
+ const m = o[d], p = i[m.id], h = p.sortUndefined, b = (g = m?.desc) != null ? g : !1;
15583
15584
  let x = 0;
15584
- if (v) {
15585
- const y = c.getValue(m.id), S = f.getValue(m.id), w = y === void 0, C = S === void 0;
15586
- if (w || C) {
15587
- if (v === "first") return w ? -1 : 1;
15588
- if (v === "last") return w ? 1 : -1;
15589
- x = w && C ? 0 : w ? v : -v;
15585
+ if (h) {
15586
+ const y = c.getValue(m.id), S = f.getValue(m.id), w = y === void 0, P = S === void 0;
15587
+ if (w || P) {
15588
+ if (h === "first") return w ? -1 : 1;
15589
+ if (h === "last") return w ? 1 : -1;
15590
+ x = w && P ? 0 : w ? h : -h;
15590
15591
  }
15591
15592
  }
15592
15593
  if (x === 0 && (x = p.sortingFn(c, f, m.id)), x !== 0)
@@ -15672,8 +15673,8 @@ function Kk({
15672
15673
  }
15673
15674
  }
15674
15675
  });
15675
- return /* @__PURE__ */ h.jsxs("div", { className: _("flex flex-col gap-4", r), children: [
15676
- /* @__PURE__ */ h.jsxs(
15676
+ return /* @__PURE__ */ v.jsxs("div", { className: _("flex flex-col gap-4", r), children: [
15677
+ /* @__PURE__ */ v.jsxs(
15677
15678
  Xd,
15678
15679
  {
15679
15680
  variant: o,
@@ -15681,7 +15682,7 @@ function Kk({
15681
15682
  hoverable: s,
15682
15683
  className: n,
15683
15684
  children: [
15684
- /* @__PURE__ */ h.jsx(Jd, { children: c.getHeaderGroups().map((f) => /* @__PURE__ */ h.jsx(Gn, { children: f.headers.map((g) => /* @__PURE__ */ h.jsx(Zd, { children: g.isPlaceholder ? null : /* @__PURE__ */ h.jsxs(
15685
+ /* @__PURE__ */ v.jsx(Jd, { children: c.getHeaderGroups().map((f) => /* @__PURE__ */ v.jsx(Gn, { children: f.headers.map((g) => /* @__PURE__ */ v.jsx(Zd, { children: g.isPlaceholder ? null : /* @__PURE__ */ v.jsxs(
15685
15686
  "div",
15686
15687
  {
15687
15688
  className: _(
@@ -15694,18 +15695,18 @@ function Kk({
15694
15695
  g.column.columnDef.header,
15695
15696
  g.getContext()
15696
15697
  ),
15697
- g.column.getCanSort() && /* @__PURE__ */ h.jsx("span", { className: "w-4 flex justify-center text-primary-500", children: g.column.getIsSorted() === "asc" ? /* @__PURE__ */ h.jsx(Ee, { icon: O1 }) : g.column.getIsSorted() === "desc" ? /* @__PURE__ */ h.jsx(Ee, { icon: _1 }) : null })
15698
+ g.column.getCanSort() && /* @__PURE__ */ v.jsx("span", { className: "w-4 flex justify-center text-primary-500", children: g.column.getIsSorted() === "asc" ? /* @__PURE__ */ v.jsx(Ee, { icon: O1 }) : g.column.getIsSorted() === "desc" ? /* @__PURE__ */ v.jsx(Ee, { icon: _1 }) : null })
15698
15699
  ]
15699
15700
  }
15700
15701
  ) }, g.id)) }, f.id)) }),
15701
- /* @__PURE__ */ h.jsx(Qd, { children: c.getRowModel().rows?.length ? c.getRowModel().rows.map((f) => /* @__PURE__ */ h.jsx(
15702
+ /* @__PURE__ */ v.jsx(Qd, { children: c.getRowModel().rows?.length ? c.getRowModel().rows.map((f) => /* @__PURE__ */ v.jsx(
15702
15703
  Gn,
15703
15704
  {
15704
15705
  "data-state": f.getIsSelected() && "selected",
15705
- children: f.getVisibleCells().map((g) => /* @__PURE__ */ h.jsx(Ho, { children: Vl(g.column.columnDef.cell, g.getContext()) }, g.id))
15706
+ children: f.getVisibleCells().map((g) => /* @__PURE__ */ v.jsx(Ho, { children: Vl(g.column.columnDef.cell, g.getContext()) }, g.id))
15706
15707
  },
15707
15708
  f.id
15708
- )) : /* @__PURE__ */ h.jsx(Gn, { children: /* @__PURE__ */ h.jsx(
15709
+ )) : /* @__PURE__ */ v.jsx(Gn, { children: /* @__PURE__ */ v.jsx(
15709
15710
  Ho,
15710
15711
  {
15711
15712
  colSpan: e.length,
@@ -15716,7 +15717,7 @@ function Kk({
15716
15717
  ]
15717
15718
  }
15718
15719
  ),
15719
- /* @__PURE__ */ h.jsxs(
15720
+ /* @__PURE__ */ v.jsxs(
15720
15721
  "div",
15721
15722
  {
15722
15723
  className: _(
@@ -15724,17 +15725,17 @@ function Kk({
15724
15725
  a
15725
15726
  ),
15726
15727
  children: [
15727
- /* @__PURE__ */ h.jsxs("div", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: [
15728
+ /* @__PURE__ */ v.jsxs("div", { className: "text-sm font-medium text-gray-500 dark:text-gray-400", children: [
15728
15729
  "Page",
15729
15730
  " ",
15730
- /* @__PURE__ */ h.jsx("strong", { className: "text-gray-900 dark:text-gray-100", children: c.getState().pagination.pageIndex + 1 }),
15731
+ /* @__PURE__ */ v.jsx("strong", { className: "text-gray-900 dark:text-gray-100", children: c.getState().pagination.pageIndex + 1 }),
15731
15732
  " ",
15732
15733
  "of",
15733
15734
  " ",
15734
- /* @__PURE__ */ h.jsx("strong", { className: "text-gray-900 dark:text-gray-100", children: c.getPageCount() })
15735
+ /* @__PURE__ */ v.jsx("strong", { className: "text-gray-900 dark:text-gray-100", children: c.getPageCount() })
15735
15736
  ] }),
15736
- /* @__PURE__ */ h.jsxs("div", { className: "flex items-center space-x-2", children: [
15737
- /* @__PURE__ */ h.jsx(
15737
+ /* @__PURE__ */ v.jsxs("div", { className: "flex items-center space-x-2", children: [
15738
+ /* @__PURE__ */ v.jsx(
15738
15739
  Ye,
15739
15740
  {
15740
15741
  variant: "outline",
@@ -15743,10 +15744,10 @@ function Kk({
15743
15744
  onClick: () => c.setPageIndex(0),
15744
15745
  disabled: !c.getCanPreviousPage(),
15745
15746
  "aria-label": "Go to first page",
15746
- children: /* @__PURE__ */ h.jsx(Ee, { icon: j1 })
15747
+ children: /* @__PURE__ */ v.jsx(Ee, { icon: j1 })
15747
15748
  }
15748
15749
  ),
15749
- /* @__PURE__ */ h.jsx(
15750
+ /* @__PURE__ */ v.jsx(
15750
15751
  Ye,
15751
15752
  {
15752
15753
  variant: "outline",
@@ -15755,10 +15756,10 @@ function Kk({
15755
15756
  onClick: () => c.previousPage(),
15756
15757
  disabled: !c.getCanPreviousPage(),
15757
15758
  "aria-label": "Go to previous page",
15758
- children: /* @__PURE__ */ h.jsx(Ee, { icon: $1 })
15759
+ children: /* @__PURE__ */ v.jsx(Ee, { icon: $1 })
15759
15760
  }
15760
15761
  ),
15761
- /* @__PURE__ */ h.jsx(
15762
+ /* @__PURE__ */ v.jsx(
15762
15763
  Ye,
15763
15764
  {
15764
15765
  variant: "outline",
@@ -15767,10 +15768,10 @@ function Kk({
15767
15768
  onClick: () => c.nextPage(),
15768
15769
  disabled: !c.getCanNextPage(),
15769
15770
  "aria-label": "Go to next page",
15770
- children: /* @__PURE__ */ h.jsx(Ee, { icon: R1 })
15771
+ children: /* @__PURE__ */ v.jsx(Ee, { icon: R1 })
15771
15772
  }
15772
15773
  ),
15773
- /* @__PURE__ */ h.jsx(
15774
+ /* @__PURE__ */ v.jsx(
15774
15775
  Ye,
15775
15776
  {
15776
15777
  variant: "outline",
@@ -15779,7 +15780,7 @@ function Kk({
15779
15780
  onClick: () => c.setPageIndex(c.getPageCount() - 1),
15780
15781
  disabled: !c.getCanNextPage(),
15781
15782
  "aria-label": "Go to last page",
15782
- children: /* @__PURE__ */ h.jsx(Ee, { icon: T1 })
15783
+ children: /* @__PURE__ */ v.jsx(Ee, { icon: T1 })
15783
15784
  }
15784
15785
  )
15785
15786
  ] })