@wrdagency/blockout 1.0.29 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,140 +1,140 @@
1
- import { u as He, e as Dt } from "../../../tag-remove-Dz-sGbyZ.js";
2
- import { f as cu, C as lu, b as du, d as mu, a as vu, T as fu, c as pu, g as bu, h as Cu, i as hu, j as gu } from "../../../tag-remove-Dz-sGbyZ.js";
3
- import { c as yt } from "../../../MAXQOH4L-BYWBWXpb.js";
4
- import { a as Pu, b as Su, C as ku, h as Fu } from "../../../MAXQOH4L-BYWBWXpb.js";
5
- import { c as C, _ as k, e as E, h as ve, a1 as Et, k as ee, A as It, m as D, n as A, o as d, r as U, f as h, a as g, s as V, V as K, U as O, W as L, l as X, q as W, b as Be, Y as _t, L as Pe, T as ie, t as Ge, a6 as je, i as _, S as Ue, ab as fe, al as ue, am as Mt, an as Se, X as We, j as wt, ao as $t, D as Rt, a0 as Vt, P as pe, ap as Lt, N as Ot } from "../../../LMDWO4NN-CpSMaD5G.js";
1
+ import { u as He, e as Tt } from "../../../tag-remove-Dz-sGbyZ.js";
2
+ import { f as ru, C as nu, b as su, d as au, a as uu, T as iu, c as cu, g as lu, h as du, i as mu, j as vu } from "../../../tag-remove-Dz-sGbyZ.js";
3
+ import { c as Nt } from "../../../MAXQOH4L-BYWBWXpb.js";
4
+ import { a as pu, b as bu, C as Cu, h as hu } from "../../../MAXQOH4L-BYWBWXpb.js";
5
+ import { c as x, _ as k, e as E, h as ve, a1 as Dt, k as ee, A as yt, m as D, n as A, o as d, r as U, f as g, a as P, s as V, V as K, U as L, W as O, l as X, q as W, b as Be, Y as Et, L as Pe, T as ie, t as Ge, a6 as je, i as _, S as Ue, ab as fe, al as ue, am as It, an as Se, X as We, j as _t, ao as Mt, D as wt, a0 as $t, P as pe, ap as Rt, N as Vt } from "../../../LMDWO4NN-CpSMaD5G.js";
6
6
  import { u as re } from "../../../F5MUBM3I-75qY3y0N.js";
7
- import { B as Nu, D as Du } from "../../../F5MUBM3I-75qY3y0N.js";
8
- import { u as At } from "../../../2RSXSRCN-BxQ_v-Je.js";
9
- import { C as Eu } from "../../../2RSXSRCN-BxQ_v-Je.js";
10
- import { a as ce, c as oe, b as le, f as te, t as qe, s as $e, i as Ht, d as Ke } from "../../../YV4JVR4I-CQnJhUSg.js";
11
- import { useRef as G, useEffect as $, useContext as ne, useCallback as z, useMemo as ze, useState as de, Fragment as Bt } from "react";
12
- import { jsx as I, jsxs as Xe, Fragment as Gt } from "react/jsx-runtime";
13
- import { a as jt, e as Ut, C as Wt, f as Je, g as Qe, h as qt } from "../../../P7GR5CS5-3RsPGPTy.js";
14
- import { d as _u } from "../../../P7GR5CS5-3RsPGPTy.js";
7
+ import { B as gu, D as Pu } from "../../../F5MUBM3I-75qY3y0N.js";
8
+ import { u as Ot } from "../../../2RSXSRCN-BxQ_v-Je.js";
9
+ import { C as ku } from "../../../2RSXSRCN-BxQ_v-Je.js";
10
+ import { a as ce, c as oe, b as le, f as te, t as qe, s as $e, i as Lt, d as Ke } from "../../../YV4JVR4I-CQnJhUSg.js";
11
+ import { useRef as G, useEffect as $, useContext as ne, useCallback as z, useMemo as ze, useState as de, Fragment as At } from "react";
12
+ import { jsx as I, jsxs as Xe, Fragment as Ht } from "react/jsx-runtime";
13
+ import { a as Bt, e as Gt, C as jt, f as Je, g as Qe, h as Ut } from "../../../P7GR5CS5-3RsPGPTy.js";
14
+ import { d as Tu } from "../../../P7GR5CS5-3RsPGPTy.js";
15
15
  import { u as se } from "../../../RZ4GPYOB-CovncfhJ.js";
16
- import { C as wu } from "../../../RZ4GPYOB-CovncfhJ.js";
17
- import { c as Ye, b as Ze, a as Kt, e as zt, f as Xt } from "../../../4CMBR7SL-DezfZPUS.js";
18
- import { u as Ru } from "../../../4CMBR7SL-DezfZPUS.js";
19
- import { u as ke, a as Fe, C as Jt, d as Qt } from "../../../S43UC3DV-HCi6u_G4.js";
16
+ import { C as Du } from "../../../RZ4GPYOB-CovncfhJ.js";
17
+ import { c as Ye, b as Ze, a as Wt, e as qt, f as Kt } from "../../../4CMBR7SL-DezfZPUS.js";
18
+ import { u as Eu } from "../../../4CMBR7SL-DezfZPUS.js";
19
+ import { u as ke, a as Fe, C as zt, d as Xt } from "../../../S43UC3DV-HCi6u_G4.js";
20
20
  import { b as et } from "../../../WMYDSCNQ-pGjWB-Pk.js";
21
- import { D as Lu, c as Ou, P as Au } from "../../../WMYDSCNQ-pGjWB-Pk.js";
22
- import { C as Bu, a as Gu } from "../../../combobox-group-hNvv1WJm.js";
23
- import { C as Uu } from "../../../JMHAJKUZ-D5KCN1Aj.js";
24
- import { t as Yt } from "../../../7PRQYBBV-91wrWGjk.js";
25
- import { C as qu } from "../../../combobox-popover-BZ_1wNrj.js";
21
+ import { D as _u, c as Mu, P as wu } from "../../../WMYDSCNQ-pGjWB-Pk.js";
22
+ import { C as Ru, a as Vu } from "../../../combobox-group-hNvv1WJm.js";
23
+ import { C as Lu } from "../../../JMHAJKUZ-D5KCN1Aj.js";
24
+ import { t as Jt } from "../../../7PRQYBBV-91wrWGjk.js";
25
+ import { C as Hu } from "../../../combobox-popover-BZ_1wNrj.js";
26
26
  import { u as tt } from "../../../J2LQO3EC-BXJIaM2U.js";
27
- import { C as zu } from "../../../J2LQO3EC-BXJIaM2U.js";
27
+ import { C as Gu } from "../../../J2LQO3EC-BXJIaM2U.js";
28
28
  import { u as ot } from "../../../TP7N7UIH-C4jXJDlO.js";
29
- import { C as Ju, S as Qu } from "../../../TP7N7UIH-C4jXJDlO.js";
29
+ import { C as Uu, S as Wu } from "../../../TP7N7UIH-C4jXJDlO.js";
30
30
  import { u as rt } from "../../../5JTVDSTH-CZ7mfyUK.js";
31
- import { C as Zu } from "../../../5JTVDSTH-CZ7mfyUK.js";
32
- import { u as nt, a as st, c as Zt, d as eo } from "../../../YORGHBM4-D_fOXG5Y.js";
33
- import { C as ti, b as oi, G as ri, e as ni } from "../../../YORGHBM4-D_fOXG5Y.js";
34
- import { C as ai } from "../../../UQQRIHDV-DEGlgATx.js";
31
+ import { C as Ku } from "../../../5JTVDSTH-CZ7mfyUK.js";
32
+ import { c as Qt, d as Yt, u as Zt, a as eo } from "../../../YORGHBM4-D_fOXG5Y.js";
33
+ import { C as Xu, b as Ju, G as Qu, e as Yu } from "../../../YORGHBM4-D_fOXG5Y.js";
34
+ import { C as ei } from "../../../UQQRIHDV-DEGlgATx.js";
35
35
  import { u as to } from "../../../6VRAQV3D-BYmT0QTl.js";
36
- import { C as ii } from "../../../6VRAQV3D-BYmT0QTl.js";
37
- import { C as li } from "../../../composite-provider-BPIeS4Cg.js";
38
- import { C as mi } from "../../../T7VMP3TM-C8D6mVva.js";
36
+ import { C as oi } from "../../../6VRAQV3D-BYmT0QTl.js";
37
+ import { C as ni } from "../../../composite-provider-BPIeS4Cg.js";
38
+ import { C as ai } from "../../../T7VMP3TM-C8D6mVva.js";
39
39
  import { F as oo, b as ro } from "../../../G7GW6PWC-Dk4hVbAk.js";
40
- import { D as fi, d as pi, P as bi, a as Ci, e as hi, R as gi, V as xi } from "../../../G7GW6PWC-Dk4hVbAk.js";
40
+ import { D as ii, d as ci, P as li, a as di, e as mi, R as vi, V as fi } from "../../../G7GW6PWC-Dk4hVbAk.js";
41
41
  import { f as no, b as so } from "../../../RS7LB2H4-COOfOq9w.js";
42
- import { g as Si, h as ki } from "../../../RS7LB2H4-COOfOq9w.js";
42
+ import { g as bi, h as Ci } from "../../../RS7LB2H4-COOfOq9w.js";
43
43
  import { u as ao, b as uo } from "../../../TIW3GMFC-BF0w2_9R.js";
44
- import { a as Ti, D as Ni, H as Di } from "../../../TIW3GMFC-BF0w2_9R.js";
44
+ import { a as xi, D as gi, H as Pi } from "../../../TIW3GMFC-BF0w2_9R.js";
45
45
  import { u as io } from "../../../BM6PGYQY-DCbkDr5N.js";
46
- import { D as Ei } from "../../../KFH4SEIX-DaQeP5D_.js";
47
- import { D as _i } from "../../../disclosure-provider-cEVysvZT.js";
48
- import { e as Z, r as ge, j as Te, g as co, u as lo } from "../../../PFRGBC2K-BdRJd-gU.js";
49
- import { m as wi } from "../../../PFRGBC2K-BdRJd-gU.js";
46
+ import { D as ki } from "../../../KFH4SEIX-DaQeP5D_.js";
47
+ import { D as Ti } from "../../../disclosure-provider-cEVysvZT.js";
48
+ import { e as Z, r as xe, j as Te, g as co, u as lo } from "../../../PFRGBC2K-BdRJd-gU.js";
49
+ import { m as Di } from "../../../PFRGBC2K-BdRJd-gU.js";
50
50
  import { d as mo } from "../../../MR26YJYP-CTh6rCwA.js";
51
- import { H as Ri, e as Vi } from "../../../MR26YJYP-CTh6rCwA.js";
52
- import { u as at } from "../../../tooltip-arrow-BVwULA6B.js";
53
- import { P as Oi, b as Ai, a as Hi, c as Bi, T as Gi, d as ji, e as Ui } from "../../../tooltip-arrow-BVwULA6B.js";
51
+ import { H as Ei, e as Ii } from "../../../MR26YJYP-CTh6rCwA.js";
52
+ import { u as nt } from "../../../tooltip-arrow-BVwULA6B.js";
53
+ import { P as Mi, b as wi, a as $i, c as Ri, T as Vi, d as Oi, e as Li } from "../../../tooltip-arrow-BVwULA6B.js";
54
54
  import { a as vo, b as fo, u as po, c as bo } from "../../../EM5CXX6A-B4ZS4Hs_.js";
55
55
  import { c as Co } from "../../../MTZPJQMC-D2i4-LA_.js";
56
- import { u as qi } from "../../../MTZPJQMC-D2i4-LA_.js";
57
- import { b as zi, a as Xi, c as Ji, M as Qi, u as Yi } from "../../../menu-button-GQO5dB3U.js";
58
- import { f as ho, g as go, h as xo, b as ut, u as Ne, i as it } from "../../../VIIRIBF3-B-djNAU9.js";
59
- import { j as ec, c as tc } from "../../../VIIRIBF3-B-djNAU9.js";
60
- import { u as Po } from "../../../select-popover-Dheunyb0.js";
61
- import { P as rc, a as nc, e as sc, d as ac, c as uc, b as ic, S as cc, f as lc } from "../../../select-popover-Dheunyb0.js";
62
- import { u as ct } from "../../../2NBKRL7C-DBbnghCe.js";
63
- import { M as mc } from "../../../2NBKRL7C-DBbnghCe.js";
64
- import { M as fc } from "../../../menu-separator-Z6pSHpX5.js";
65
- import { P as bc } from "../../../popover-provider-BJEfhgr1.js";
66
- import { c as So, e as ko, d as Fo, a as To, u as lt } from "../../../DG5U6ZEL-DB0iwihy.js";
67
- import { S as hc } from "../../../select-value-B3DYk9eV.js";
68
- import { T as xc } from "../../../tab-DejwS4C8.js";
69
- import { T as Sc } from "../../../tab-list-CndMWcVv.js";
70
- import { T as Fc } from "../../../tab-panel-DedzuWUA.js";
71
- import { T as Nc, u as Dc } from "../../../tab-provider-B0BoLfST.js";
56
+ import { u as Hi } from "../../../MTZPJQMC-D2i4-LA_.js";
57
+ import { b as Gi, a as ji, c as Ui, M as Wi, u as qi } from "../../../menu-button-GQO5dB3U.js";
58
+ import { f as ho, g as xo, h as go, b as st, u as Ne, i as at } from "../../../VIIRIBF3-B-djNAU9.js";
59
+ import { j as zi, c as Xi } from "../../../VIIRIBF3-B-djNAU9.js";
60
+ import { u as Po } from "../../../select-popover-CGgkyRb4.js";
61
+ import { P as Qi, a as Yi, g as Zi, d as ec, e as tc, f as oc, c as rc, b as nc, S as sc, h as ac } from "../../../select-popover-CGgkyRb4.js";
62
+ import { u as ut } from "../../../2NBKRL7C-DBbnghCe.js";
63
+ import { M as ic } from "../../../2NBKRL7C-DBbnghCe.js";
64
+ import { M as lc } from "../../../menu-separator-Z6pSHpX5.js";
65
+ import { P as mc } from "../../../popover-provider-BJEfhgr1.js";
66
+ import { c as So, e as ko, d as Fo, a as To, u as it } from "../../../DG5U6ZEL-DB0iwihy.js";
67
+ import { S as fc } from "../../../select-value-B3DYk9eV.js";
68
+ import { T as bc } from "../../../tab-DejwS4C8.js";
69
+ import { T as hc } from "../../../tab-list-CndMWcVv.js";
70
+ import { T as gc } from "../../../tab-panel-DedzuWUA.js";
71
+ import { T as Sc, u as kc } from "../../../tab-provider-B0BoLfST.js";
72
72
  import { u as No } from "../../../toolbar-PSaF1mdF.js";
73
- import { T as Ec } from "../../../toolbar-PSaF1mdF.js";
74
- import { u as dt } from "../../../IWEFDH56-BACkQ6dc.js";
75
- import { T as _c } from "../../../IWEFDH56-BACkQ6dc.js";
76
- import { b as Do, u as mt } from "../../../A3WPL2ZJ-24tGIJIQ.js";
73
+ import { T as Tc } from "../../../toolbar-PSaF1mdF.js";
74
+ import { u as ct } from "../../../IWEFDH56-BACkQ6dc.js";
75
+ import { T as Dc } from "../../../IWEFDH56-BACkQ6dc.js";
76
+ import { b as Do, u as lt } from "../../../A3WPL2ZJ-24tGIJIQ.js";
77
77
  import { b as yo } from "../../../5VQZOHHZ-DLX-ulBK.js";
78
- import { T as wc } from "../../../toolbar-separator-DJHiHbGj.js";
79
- import { u as Rc } from "../../../WYCIER3C-CxfgpZG_.js";
80
- import { u as Lc } from "../../../O2PQ2652-DIoegIkE.js";
81
- import { c as Ac } from "../../../UYGDZTLQ-HiDKLOW5.js";
82
- function qs(r = {}) {
83
- const e = No(r);
84
- return /* @__PURE__ */ I(Do, { value: e, children: r.children });
78
+ import { T as Ec } from "../../../toolbar-separator-DJHiHbGj.js";
79
+ import { u as _c } from "../../../WYCIER3C-CxfgpZG_.js";
80
+ import { u as wc } from "../../../O2PQ2652-DIoegIkE.js";
81
+ import { c as Rc } from "../../../UYGDZTLQ-HiDKLOW5.js";
82
+ function Gs(r = {}) {
83
+ const t = No(r);
84
+ return /* @__PURE__ */ I(Do, { value: t, children: r.children });
85
85
  }
86
86
  var Eo = "div";
87
87
  function Re(r) {
88
- ge(r);
89
- const e = Te(r);
90
- return Z(r), e;
88
+ xe(r);
89
+ const t = Te(r);
90
+ return Z(r), t;
91
91
  }
92
- var vt = C(function(e) {
93
- var o = e, { store: t } = o, n = k(o, ["store"]);
94
- const s = jt();
95
- t = t || s;
96
- const a = G(null), c = G(!1), u = (P = !1) => {
92
+ var dt = x(function(t) {
93
+ var o = t, { store: e } = o, n = k(o, ["store"]);
94
+ const s = Bt();
95
+ e = e || s;
96
+ const a = G(null), c = G(!1), u = (h = !1) => {
97
97
  const M = a.current;
98
98
  if (!M) return;
99
- ge(M);
99
+ xe(M);
100
100
  const F = Te(M);
101
101
  if (!F) {
102
102
  Z(M);
103
103
  return;
104
104
  }
105
105
  c.current = !0, queueMicrotask(() => {
106
- F.focus(), (ee(F) || F.isContentEditable) && yo(F, P);
106
+ F.focus(), (ee(F) || F.isContentEditable) && yo(F, h);
107
107
  });
108
108
  }, i = () => {
109
- const P = a.current;
110
- P && (c.current = !1, Z(P));
111
- }, m = ce(t, "renderedItems");
109
+ const h = a.current;
110
+ h && (c.current = !1, Z(h));
111
+ }, m = ce(e, "renderedItems");
112
112
  $(() => {
113
- const P = a.current;
114
- if (!P) return;
115
- !c.current && (m != null && m.length) && Z(P);
113
+ const h = a.current;
114
+ if (!h) return;
115
+ !c.current && (m != null && m.length) && Z(h);
116
116
  }, [m]);
117
- const v = n.onFocus, f = E((P) => {
118
- if (v == null || v(P), P.defaultPrevented || !t) return;
117
+ const v = n.onFocus, f = E((h) => {
118
+ if (v == null || v(h), h.defaultPrevented || !e) return;
119
119
  const M = c.current;
120
- if (ve(P)) {
120
+ if (ve(h)) {
121
121
  c.current = !1;
122
- const { baseElement: F } = t.getState(), R = F, q = R == null ? void 0 : R.querySelectorAll("[data-composite-container]");
122
+ const { baseElement: F } = e.getState(), R = F, q = R == null ? void 0 : R.querySelectorAll("[data-composite-container]");
123
123
  if (q)
124
124
  for (const N of q)
125
125
  Z(N);
126
- } else M || (c.current = !0, ge(P.currentTarget), t == null || t.setState("moves", 0));
127
- }), p = n.onBlur, l = E((P) => {
128
- p == null || p(P), !P.defaultPrevented && Et(P) && i();
129
- }), b = n.onKeyDown, x = E((P) => {
130
- if (b == null || b(P), P.defaultPrevented || P.altKey || P.ctrlKey || P.metaKey || P.shiftKey) return;
131
- const M = P.currentTarget;
132
- if (ve(P)) {
133
- if (P.key.length === 1 && P.key !== " ") {
126
+ } else M || (c.current = !0, xe(h.currentTarget), e == null || e.setState("moves", 0));
127
+ }), p = n.onBlur, l = E((h) => {
128
+ p == null || p(h), !h.defaultPrevented && Dt(h) && i();
129
+ }), b = n.onKeyDown, C = E((h) => {
130
+ if (b == null || b(h), h.defaultPrevented || h.altKey || h.ctrlKey || h.metaKey || h.shiftKey) return;
131
+ const M = h.currentTarget;
132
+ if (ve(h)) {
133
+ if (h.key.length === 1 && h.key !== " ") {
134
134
  const F = Re(M);
135
135
  if (!F) return;
136
- (ee(F) || F.isContentEditable) && (P.stopPropagation(), u());
137
- } else if (P.key === "Delete" || P.key === "Backspace") {
136
+ (ee(F) || F.isContentEditable) && (h.stopPropagation(), u());
137
+ } else if (h.key === "Delete" || h.key === "Backspace") {
138
138
  const F = Re(M);
139
139
  if (!F) return;
140
140
  if (ee(F) || F.isContentEditable) {
@@ -143,14 +143,14 @@ var vt = C(function(e) {
143
143
  M.addEventListener("input", R, { once: !0 });
144
144
  }
145
145
  }
146
- } else if (P.key === "Escape")
146
+ } else if (h.key === "Escape")
147
147
  queueMicrotask(() => M.focus());
148
- else if (P.key === "Enter") {
149
- const F = P.target;
150
- (F.tagName === "INPUT" && !It(F) || F.tagName === "TEXTAREA" || F.isContentEditable) && (P.preventDefault(), queueMicrotask(() => M.focus()));
148
+ else if (h.key === "Enter") {
149
+ const F = h.target;
150
+ (F.tagName === "INPUT" && !yt(F) || F.tagName === "TEXTAREA" || F.isContentEditable) && (h.preventDefault(), queueMicrotask(() => M.focus()));
151
151
  }
152
- }), S = n.onClick, T = E((P) => {
153
- S == null || S(P), !P.defaultPrevented && ve(P) && !P.detail && u(!0);
152
+ }), S = n.onClick, T = E((h) => {
153
+ S == null || S(h), !h.defaultPrevented && ve(h) && !h.detail && u(!0);
154
154
  });
155
155
  return n = D(d({
156
156
  "data-composite-container": ""
@@ -158,60 +158,60 @@ var vt = C(function(e) {
158
158
  ref: A(a, n.ref),
159
159
  onFocus: f,
160
160
  onBlur: l,
161
- onKeyDown: x,
161
+ onKeyDown: C,
162
162
  onClick: T
163
163
  }), U(n);
164
164
  });
165
- h(function(e) {
166
- const o = vt(e);
167
- return g(Eo, o);
165
+ g(function(t) {
166
+ const o = dt(t);
167
+ return P(Eo, o);
168
168
  });
169
- var Io = "div", _o = C(
170
- function(e) {
171
- var o = e, { store: t } = o, n = k(o, ["store"]);
172
- const s = mt();
173
- return t = t || s, n = vt(d({ store: t }, n)), n = dt(d({ store: t }, n)), n;
169
+ var Io = "div", _o = x(
170
+ function(t) {
171
+ var o = t, { store: e } = o, n = k(o, ["store"]);
172
+ const s = lt();
173
+ return e = e || s, n = dt(d({ store: e }, n)), n = ct(d({ store: e }, n)), n;
174
174
  }
175
- ), Ks = V(
176
- h(function(e) {
177
- const o = _o(e);
178
- return g(Io, o);
175
+ ), js = V(
176
+ g(function(t) {
177
+ const o = _o(t);
178
+ return P(Io, o);
179
179
  })
180
- ), Mo = "input", wo = C(
181
- function(e) {
182
- var o = e, { store: t } = o, n = k(o, ["store"]);
183
- const s = mt();
184
- return t = t || s, n = dt(d({ store: t }, n)), n;
180
+ ), Mo = "input", wo = x(
181
+ function(t) {
182
+ var o = t, { store: e } = o, n = k(o, ["store"]);
183
+ const s = lt();
184
+ return e = e || s, n = ct(d({ store: e }, n)), n;
185
185
  }
186
- ), zs = V(
187
- h(function(e) {
188
- const o = wo(e);
189
- return g(Mo, o);
186
+ ), Us = V(
187
+ g(function(t) {
188
+ const o = wo(t);
189
+ return P(Mo, o);
190
190
  })
191
191
  );
192
192
  function $o(r = {}) {
193
- var e;
194
- const o = (e = r.store) == null ? void 0 : e.getState(), t = Ye(K(L({}, r), {
195
- orientation: O(
193
+ var t;
194
+ const o = (t = r.store) == null ? void 0 : t.getState(), e = Ye(K(O({}, r), {
195
+ orientation: L(
196
196
  r.orientation,
197
197
  o == null ? void 0 : o.orientation,
198
198
  "horizontal"
199
199
  ),
200
- focusLoop: O(r.focusLoop, o == null ? void 0 : o.focusLoop, !0)
201
- })), n = L({}, t.getState()), s = oe(n, t, r.store);
202
- return L(L({}, t), s);
200
+ focusLoop: L(r.focusLoop, o == null ? void 0 : o.focusLoop, !0)
201
+ })), n = O({}, e.getState()), s = oe(n, e, r.store);
202
+ return O(O({}, e), s);
203
203
  }
204
- function Ro(r, e, o) {
205
- return Ze(r, e, o);
204
+ function Ro(r, t, o) {
205
+ return Ze(r, t, o);
206
206
  }
207
207
  function De(r = {}) {
208
- const [e, o] = le($o, r);
209
- return Ro(e, o, r);
208
+ const [t, o] = le($o, r);
209
+ return Ro(t, o, r);
210
210
  }
211
- var Vo = "div", ft = C(
212
- function(e) {
213
- var o = e, {
214
- store: t,
211
+ var Vo = "div", mt = x(
212
+ function(t) {
213
+ var o = t, {
214
+ store: e,
215
215
  composite: n = !0,
216
216
  orientation: s,
217
217
  virtualFocus: a,
@@ -226,9 +226,9 @@ var Vo = "div", ft = C(
226
226
  "rtl"
227
227
  ]);
228
228
  const m = ho();
229
- t = t || m;
229
+ e = e || m;
230
230
  const v = De({
231
- store: t,
231
+ store: e,
232
232
  orientation: s,
233
233
  virtualFocus: a,
234
234
  focusLoop: c,
@@ -238,89 +238,89 @@ var Vo = "div", ft = C(
238
238
  );
239
239
  return i = X(
240
240
  i,
241
- (p) => /* @__PURE__ */ I(go, { value: v, children: p }),
241
+ (p) => /* @__PURE__ */ I(xo, { value: v, children: p }),
242
242
  [v]
243
243
  ), n && (i = d({
244
244
  role: "menubar",
245
245
  "aria-orientation": f
246
246
  }, i)), i = rt(d({ store: v, composite: n }, i)), i;
247
247
  }
248
- ), Xs = h(function(e) {
249
- const o = ft(e);
250
- return g(Vo, o);
248
+ ), Ws = g(function(t) {
249
+ const o = mt(t);
250
+ return P(Vo, o);
251
251
  });
252
- function Lo(r = {}) {
253
- const e = De(r);
254
- return /* @__PURE__ */ I(xo, { value: e, children: r.children });
252
+ function Oo(r = {}) {
253
+ const t = De(r);
254
+ return /* @__PURE__ */ I(go, { value: t, children: r.children });
255
255
  }
256
- var Oo = "p", pt = C(function(e) {
257
- var o = e, { store: t } = o, n = k(o, ["store"]);
256
+ var Lo = "p", vt = x(function(t) {
257
+ var o = t, { store: e } = o, n = k(o, ["store"]);
258
258
  const s = ne(no), a = W(n.id);
259
259
  return Be(() => (s == null || s(a), () => s == null ? void 0 : s(void 0)), [s, a]), n = d({
260
260
  id: a
261
261
  }, n), U(n);
262
- }), Js = h(function(e) {
263
- const o = pt(e);
264
- return g(Oo, o);
265
- }), Ao = "p", bt = C(function(e) {
266
- return e = pt(e), e;
267
- }), Qs = h(function(e) {
268
- const o = bt(e);
269
- return g(Ao, o);
270
- }), Ho = "button", ye = C(
271
- function(e) {
272
- var o = e, { store: t } = o, n = k(o, ["store"]);
262
+ }), qs = g(function(t) {
263
+ const o = vt(t);
264
+ return P(Lo, o);
265
+ }), Ao = "p", ft = x(function(t) {
266
+ return t = vt(t), t;
267
+ }), Ks = g(function(t) {
268
+ const o = ft(t);
269
+ return P(Ao, o);
270
+ }), Ho = "button", ye = x(
271
+ function(t) {
272
+ var o = t, { store: e } = o, n = k(o, ["store"]);
273
273
  const s = Co();
274
- return t = t || s, n = ao(d({ store: t }, n)), n;
274
+ return e = e || s, n = ao(d({ store: e }, n)), n;
275
275
  }
276
- ), Ys = h(function(e) {
277
- const o = ye(e);
278
- return g(Ho, o);
279
- }), Bo = "h1", Ee = C(
280
- function(e) {
281
- return e = uo(e), e;
276
+ ), zs = g(function(t) {
277
+ const o = ye(t);
278
+ return P(Ho, o);
279
+ }), Bo = "h1", Ee = x(
280
+ function(t) {
281
+ return t = uo(t), t;
282
282
  }
283
- ), Zs = h(function(e) {
284
- const o = Ee(e);
285
- return g(Bo, o);
283
+ ), Xs = g(function(t) {
284
+ const o = Ee(t);
285
+ return P(Bo, o);
286
286
  });
287
287
  function Go(r = {}) {
288
- var e = _t(r, []), o;
289
- const t = (o = e.store) == null ? void 0 : o.getState(), n = Ye(K(L({}, e), {
290
- focusLoop: O(e.focusLoop, t == null ? void 0 : t.focusLoop, !0)
291
- })), s = K(L({}, n.getState()), {
292
- value: O(
293
- e.value,
294
- t == null ? void 0 : t.value,
295
- e.defaultValue,
288
+ var t = Et(r, []), o;
289
+ const e = (o = t.store) == null ? void 0 : o.getState(), n = Ye(K(O({}, t), {
290
+ focusLoop: L(t.focusLoop, e == null ? void 0 : e.focusLoop, !0)
291
+ })), s = K(O({}, n.getState()), {
292
+ value: L(
293
+ t.value,
294
+ e == null ? void 0 : e.value,
295
+ t.defaultValue,
296
296
  null
297
297
  )
298
- }), a = oe(s, n, e.store);
299
- return K(L(L({}, n), a), {
298
+ }), a = oe(s, n, t.store);
299
+ return K(O(O({}, n), a), {
300
300
  setValue: (c) => a.setState("value", c)
301
301
  });
302
302
  }
303
- function jo(r, e, o) {
304
- return r = Ze(r, e, o), te(r, o, "value", "setValue"), r;
303
+ function jo(r, t, o) {
304
+ return r = Ze(r, t, o), te(r, o, "value", "setValue"), r;
305
305
  }
306
306
  function Uo(r = {}) {
307
- const [e, o] = le(Go, r);
308
- return jo(e, o, r);
307
+ const [t, o] = le(Go, r);
308
+ return jo(t, o, r);
309
309
  }
310
310
  var me = Pe(
311
- [Wt],
312
- [Ut]
313
- ), Wo = me.useContext, qo = me.useProviderContext, Ko = me.ContextProvider, zo = me.ScopedContextProvider, Ct = "input";
314
- function Xo(r, e) {
315
- if (e !== void 0)
316
- return r != null && e != null ? e === r : !!e;
311
+ [jt],
312
+ [Gt]
313
+ ), Wo = me.useContext, qo = me.useProviderContext, Ko = me.ContextProvider, zo = me.ScopedContextProvider, pt = "input";
314
+ function Xo(r, t) {
315
+ if (t !== void 0)
316
+ return r != null && t != null ? t === r : !!t;
317
317
  }
318
- function Jo(r, e) {
319
- return r === "input" && (!e || e === "radio");
318
+ function Jo(r, t) {
319
+ return r === "input" && (!t || t === "radio");
320
320
  }
321
- var Ie = C(function(e) {
322
- var o = e, {
323
- store: t,
321
+ var Ie = x(function(t) {
322
+ var o = t, {
323
+ store: e,
324
324
  name: n,
325
325
  value: s,
326
326
  checked: a
@@ -331,30 +331,30 @@ var Ie = C(function(e) {
331
331
  "checked"
332
332
  ]);
333
333
  const u = Wo();
334
- t = t || u;
334
+ e = e || u;
335
335
  const i = W(c.id), m = G(null), v = ce(
336
- t,
336
+ e,
337
337
  (y) => a ?? Xo(s, y == null ? void 0 : y.value)
338
338
  );
339
339
  $(() => {
340
- !i || !v || (t == null ? void 0 : t.getState().activeId) === i || t == null || t.setActiveId(i);
341
- }, [t, v, i]);
342
- const f = c.onChange, p = ie(m, Ct), l = Jo(p, c.type), b = Ge(c), [x, S] = je();
340
+ !i || !v || (e == null ? void 0 : e.getState().activeId) === i || e == null || e.setActiveId(i);
341
+ }, [e, v, i]);
342
+ const f = c.onChange, p = ie(m, pt), l = Jo(p, c.type), b = Ge(c), [C, S] = je();
343
343
  $(() => {
344
344
  const y = m.current;
345
345
  y && (l || (v !== void 0 && (y.checked = v), n !== void 0 && (y.name = n), s !== void 0 && (y.value = `${s}`)));
346
- }, [x, l, v, n, s]);
346
+ }, [C, l, v, n, s]);
347
347
  const T = E((y) => {
348
348
  if (b) {
349
349
  y.preventDefault(), y.stopPropagation();
350
350
  return;
351
351
  }
352
- (t == null ? void 0 : t.getState().value) !== s && (l || (y.currentTarget.checked = !0, S()), f == null || f(y), !y.defaultPrevented && (t == null || t.setValue(s)));
353
- }), P = c.onClick, M = E((y) => {
354
- P == null || P(y), !y.defaultPrevented && (l || T(y));
352
+ (e == null ? void 0 : e.getState().value) !== s && (l || (y.currentTarget.checked = !0, S()), f == null || f(y), !y.defaultPrevented && (e == null || e.setValue(s)));
353
+ }), h = c.onClick, M = E((y) => {
354
+ h == null || h(y), !y.defaultPrevented && (l || T(y));
355
355
  }), F = c.onFocus, R = E((y) => {
356
- if (F == null || F(y), y.defaultPrevented || !l || !t) return;
357
- const { moves: q, activeId: N } = t.getState();
356
+ if (F == null || F(y), y.defaultPrevented || !l || !e) return;
357
+ const { moves: q, activeId: N } = e.getState();
358
358
  q && (i && N !== i || T(y));
359
359
  });
360
360
  return c = D(d({
@@ -368,143 +368,129 @@ var Ie = C(function(e) {
368
368
  onClick: M,
369
369
  onFocus: R
370
370
  }), c = to(d({
371
- store: t,
371
+ store: e,
372
372
  clickOnEnter: !l
373
373
  }, c)), U(d({
374
374
  name: l ? n : void 0,
375
375
  value: l ? s : void 0,
376
376
  checked: v
377
377
  }, c));
378
- }), ea = V(
379
- h(function(e) {
380
- const o = Ie(e);
381
- return g(Ct, o);
378
+ }), Js = V(
379
+ g(function(t) {
380
+ const o = Ie(t);
381
+ return P(pt, o);
382
382
  })
383
383
  );
384
- function ta(r = {}) {
385
- const e = Uo(r);
386
- return /* @__PURE__ */ I(Ko, { value: e, children: r.children });
384
+ function Qs(r = {}) {
385
+ const t = Uo(r);
386
+ return /* @__PURE__ */ I(Ko, { value: t, children: r.children });
387
387
  }
388
- var Qo = "div", Yo = C(
389
- function(e) {
390
- var o = e, { store: t } = o, n = k(o, ["store"]);
388
+ var Qo = "div", Yo = x(
389
+ function(t) {
390
+ var o = t, { store: e } = o, n = k(o, ["store"]);
391
391
  const s = qo();
392
- return t = t || s, _(
393
- t,
392
+ return e = e || s, _(
393
+ e,
394
394
  process.env.NODE_ENV !== "production" && "RadioGroup must receive a `store` prop or be wrapped in a RadioProvider component."
395
395
  ), n = X(
396
396
  n,
397
- (a) => /* @__PURE__ */ I(zo, { value: t, children: a }),
398
- [t]
397
+ (a) => /* @__PURE__ */ I(zo, { value: e, children: a }),
398
+ [e]
399
399
  ), n = d({
400
400
  role: "radiogroup"
401
- }, n), n = rt(d({ store: t }, n)), n;
401
+ }, n), n = rt(d({ store: e }, n)), n;
402
402
  }
403
- ), oa = h(function(e) {
404
- const o = Yo(e);
405
- return g(Qo, o);
406
- }), Zo = "button", er = C(
407
- function(e) {
408
- var o = e, { store: t } = o, n = k(o, ["store"]);
403
+ ), Ys = g(function(t) {
404
+ const o = Yo(t);
405
+ return P(Qo, o);
406
+ }), Zo = "button", er = x(
407
+ function(t) {
408
+ var o = t, { store: e } = o, n = k(o, ["store"]);
409
409
  const s = So();
410
- return t = t || s, n = ye(d({ store: t }, n)), n;
411
- }
412
- ), ra = h(function(e) {
413
- const o = er(e);
414
- return g(Zo, o);
415
- }), tr = "div", or = C(
416
- function(e) {
417
- return e = nt(e), e;
418
- }
419
- ), na = h(function(e) {
420
- const o = or(e);
421
- return g(tr, o);
422
- }), rr = "div", nr = C(
423
- function(e) {
424
- return e = st(e), e;
410
+ return e = e || s, n = ye(d({ store: e }, n)), n;
425
411
  }
426
- ), sa = h(function(e) {
427
- const o = nr(e);
428
- return g(rr, o);
429
- }), sr = "h1", ar = C(
430
- function(e) {
431
- const [, o] = ne(ko) || [], t = W(e.id);
432
- return Be(() => (o == null || o(t), () => o == null ? void 0 : o(void 0)), [o, t]), e = d({
433
- id: t
434
- }, e), e = Ee(e), e;
412
+ ), Zs = g(function(t) {
413
+ const o = er(t);
414
+ return P(Zo, o);
415
+ }), tr = "h1", or = x(
416
+ function(t) {
417
+ const [, o] = ne(ko) || [], e = W(t.id);
418
+ return Be(() => (o == null || o(e), () => o == null ? void 0 : o(void 0)), [o, e]), t = d({
419
+ id: e
420
+ }, t), t = Ee(t), t;
435
421
  }
436
- ), aa = h(function(e) {
437
- const o = ar(e);
438
- return g(sr, o);
439
- }), ur = "span", ir = C(
440
- function(e) {
441
- var o = e, { store: t, checked: n } = o, s = k(o, ["store", "checked"]);
422
+ ), ea = g(function(t) {
423
+ const o = or(t);
424
+ return P(tr, o);
425
+ }), rr = "span", nr = x(
426
+ function(t) {
427
+ var o = t, { store: e, checked: n } = o, s = k(o, ["store", "checked"]);
442
428
  const a = ne(Fo);
443
429
  return n = n ?? a, s = He(D(d({}, s), { checked: n })), s;
444
430
  }
445
- ), ua = h(function(e) {
446
- const o = ir(e);
447
- return g(ur, o);
448
- }), cr = "div", lr = C(
449
- function(e) {
450
- var o = e, { store: t } = o, n = k(o, ["store"]);
431
+ ), ta = g(function(t) {
432
+ const o = nr(t);
433
+ return P(rr, o);
434
+ }), sr = "div", ar = x(
435
+ function(t) {
436
+ var o = t, { store: e } = o, n = k(o, ["store"]);
451
437
  const s = To();
452
- t = t || s, _(
453
- t,
438
+ e = e || s, _(
439
+ e,
454
440
  process.env.NODE_ENV !== "production" && "SelectLabel must receive a `store` prop or be wrapped in a SelectProvider component."
455
441
  );
456
442
  const a = W(n.id), c = n.onClick, u = E((i) => {
457
443
  c == null || c(i), !i.defaultPrevented && queueMicrotask(() => {
458
- const m = t == null ? void 0 : t.getState().selectElement;
444
+ const m = e == null ? void 0 : e.getState().selectElement;
459
445
  m == null || m.focus();
460
446
  });
461
447
  });
462
448
  return n = D(d({
463
449
  id: a
464
450
  }, n), {
465
- ref: A(t.setLabelElement, n.ref),
451
+ ref: A(e.setLabelElement, n.ref),
466
452
  onClick: u,
467
453
  style: d({
468
454
  cursor: "default"
469
455
  }, n.style)
470
456
  }), U(n);
471
457
  }
472
- ), ia = V(
473
- h(function(e) {
474
- const o = lr(e);
475
- return g(cr, o);
458
+ ), oa = V(
459
+ g(function(t) {
460
+ const o = ar(t);
461
+ return P(sr, o);
476
462
  })
477
- ), dr = "div", mr = C(
478
- function(e) {
479
- var o = e, { store: t } = o, n = k(o, ["store"]);
480
- const s = lt();
481
- t = t || s, _(
482
- t,
463
+ ), ur = "div", ir = x(
464
+ function(t) {
465
+ var o = t, { store: e } = o, n = k(o, ["store"]);
466
+ const s = it();
467
+ e = e || s, _(
468
+ e,
483
469
  process.env.NODE_ENV !== "production" && "SelectRow must be wrapped in a SelectList or SelectPopover component"
484
470
  );
485
- const a = t.useState("listElement"), u = Ue(a) === "grid" ? "row" : "presentation";
486
- return n = d({ role: u }, n), n = tt(d({ store: t }, n)), n;
471
+ const a = e.useState("listElement"), u = Ue(a) === "grid" ? "row" : "presentation";
472
+ return n = d({ role: u }, n), n = tt(d({ store: e }, n)), n;
487
473
  }
488
- ), ca = h(function(e) {
489
- const o = mr(e);
490
- return g(dr, o);
491
- }), vr = "hr", fr = C(
492
- function(e) {
493
- var o = e, { store: t } = o, n = k(o, ["store"]);
494
- const s = lt();
495
- return t = t || s, n = ot(d({ store: t }, n)), n;
474
+ ), ra = g(function(t) {
475
+ const o = ir(t);
476
+ return P(ur, o);
477
+ }), cr = "hr", lr = x(
478
+ function(t) {
479
+ var o = t, { store: e } = o, n = k(o, ["store"]);
480
+ const s = it();
481
+ return e = e || s, n = ot(d({ store: e }, n)), n;
496
482
  }
497
- ), la = h(function(e) {
498
- const o = fr(e);
499
- return g(vr, o);
500
- }), pr = "div", br = C(
501
- function(e) {
502
- var o = e, { enabled: t = !1 } = o, n = k(o, ["enabled"]);
483
+ ), na = g(function(t) {
484
+ const o = lr(t);
485
+ return P(cr, o);
486
+ }), dr = "div", mr = x(
487
+ function(t) {
488
+ var o = t, { enabled: e = !1 } = o, n = k(o, ["enabled"]);
503
489
  const s = G(null);
504
490
  return n = X(
505
491
  n,
506
492
  (a) => {
507
- const c = () => t ? /* @__PURE__ */ I(
493
+ const c = () => e ? /* @__PURE__ */ I(
508
494
  oo,
509
495
  {
510
496
  onFocus: (u) => {
@@ -519,36 +505,36 @@ var Qo = "div", Yo = C(
519
505
  }
520
506
  }
521
507
  ) : null;
522
- return /* @__PURE__ */ Xe(Gt, { children: [
508
+ return /* @__PURE__ */ Xe(Ht, { children: [
523
509
  c(),
524
510
  a,
525
511
  c()
526
512
  ] });
527
513
  },
528
- [t]
514
+ [e]
529
515
  ), n = D(d({}, n), {
530
516
  ref: A(s, n.ref)
531
517
  }), U(n);
532
518
  }
533
- ), da = h(function(e) {
534
- const o = br(e);
535
- return g(pr, o);
519
+ ), sa = g(function(t) {
520
+ const o = mr(t);
521
+ return P(dr, o);
536
522
  });
537
523
  function Ve() {
538
524
  return new Promise((r) => requestAnimationFrame(() => r()));
539
525
  }
540
526
  function J(r) {
541
- return Object.keys(r).some((e) => ue(r[e]) ? J(r[e]) : !!r[e]);
527
+ return Object.keys(r).some((t) => ue(r[t]) ? J(r[t]) : !!r[t]);
542
528
  }
543
- function j(r, e, o) {
544
- var t;
545
- const [n, ...s] = Array.isArray(e) ? e : `${e}`.split(".");
546
- return n == null || !r ? o : s.length ? j(r[n], s, o) : (t = r[n]) != null ? t : o;
529
+ function j(r, t, o) {
530
+ var e;
531
+ const [n, ...s] = Array.isArray(t) ? t : `${t}`.split(".");
532
+ return n == null || !r ? o : s.length ? j(r[n], s, o) : (e = r[n]) != null ? e : o;
547
533
  }
548
- function Q(r, e, o) {
549
- const [t, ...n] = Array.isArray(e) ? e : `${e}`.split(".");
550
- if (t == null) return r;
551
- const s = t, a = Mt(s), u = (a ? r || [] : r || {})[s], i = n.length && (Array.isArray(u) || ue(u)) ? Q(u, n, o) : o;
534
+ function Q(r, t, o) {
535
+ const [e, ...n] = Array.isArray(t) ? t : `${t}`.split(".");
536
+ if (e == null) return r;
537
+ const s = e, a = It(s), u = (a ? r || [] : r || {})[s], i = n.length && (Array.isArray(u) || ue(u)) ? Q(u, n, o) : o;
552
538
  if (a) {
553
539
  const m = Number(s);
554
540
  if (r && Array.isArray(r))
@@ -560,68 +546,68 @@ function Q(r, e, o) {
560
546
  const v = [];
561
547
  return v[m] = i, v;
562
548
  }
563
- return K(L({}, r), { [s]: i });
549
+ return K(O({}, r), { [s]: i });
564
550
  }
565
- function xe(r, e) {
566
- const o = {}, t = Object.keys(r);
567
- for (const n of t) {
551
+ function ge(r, t) {
552
+ const o = {}, e = Object.keys(r);
553
+ for (const n of e) {
568
554
  const s = r[n];
569
- Array.isArray(s) ? o[n] = s.map((a) => ue(a) ? xe(a, e) : e) : ue(s) ? o[n] = xe(s, e) : o[n] = e;
555
+ Array.isArray(s) ? o[n] = s.map((a) => ue(a) ? ge(a, t) : t) : ue(s) ? o[n] = ge(s, t) : o[n] = t;
570
556
  }
571
557
  return o;
572
558
  }
573
- function ht(r, e = []) {
559
+ function bt(r, t = []) {
574
560
  return {
575
- get(t, n) {
561
+ get(e, n) {
576
562
  if (["toString", "valueOf", Symbol.toPrimitive].includes(n))
577
- return () => e.join(".");
578
- const s = [...e, n], a = s.join(".");
563
+ return () => t.join(".");
564
+ const s = [...t, n], a = s.join(".");
579
565
  if (r[a])
580
566
  return r[a];
581
- const c = new Proxy(t, ht(r, s));
567
+ const c = new Proxy(e, bt(r, s));
582
568
  return r[a] = c, c;
583
569
  }
584
570
  };
585
571
  }
586
- function Cr(r) {
572
+ function vr(r) {
587
573
  return r == null ? void 0 : r.__unstableCallbacks;
588
574
  }
589
- function hr() {
575
+ function fr() {
590
576
  const r = /* @__PURE__ */ Object.create(null);
591
- return new Proxy(/* @__PURE__ */ Object.create(null), ht(r));
577
+ return new Proxy(/* @__PURE__ */ Object.create(null), bt(r));
592
578
  }
593
- function gr(r = {}) {
594
- var e;
579
+ function pr(r = {}) {
580
+ var t;
595
581
  qe(r, r.store);
596
- const o = (e = r.store) == null ? void 0 : e.getState(), t = Kt(r), n = O(
582
+ const o = (t = r.store) == null ? void 0 : t.getState(), e = Wt(r), n = L(
597
583
  r.values,
598
584
  o == null ? void 0 : o.values,
599
585
  r.defaultValues,
600
586
  {}
601
- ), s = O(
587
+ ), s = L(
602
588
  r.errors,
603
589
  o == null ? void 0 : o.errors,
604
590
  r.defaultErrors,
605
591
  {}
606
- ), a = O(
592
+ ), a = L(
607
593
  r.touched,
608
594
  o == null ? void 0 : o.touched,
609
595
  r.defaultTouched,
610
596
  {}
611
- ), c = K(L({}, t.getState()), {
597
+ ), c = K(O({}, e.getState()), {
612
598
  values: n,
613
599
  errors: s,
614
600
  touched: a,
615
- validating: O(o == null ? void 0 : o.validating, !1),
616
- submitting: O(o == null ? void 0 : o.submitting, !1),
617
- submitSucceed: O(o == null ? void 0 : o.submitSucceed, 0),
618
- submitFailed: O(o == null ? void 0 : o.submitFailed, 0),
601
+ validating: L(o == null ? void 0 : o.validating, !1),
602
+ submitting: L(o == null ? void 0 : o.submitting, !1),
603
+ submitSucceed: L(o == null ? void 0 : o.submitSucceed, 0),
604
+ submitFailed: L(o == null ? void 0 : o.submitFailed, 0),
619
605
  valid: !J(s)
620
- }), u = oe(c, t, r.store), i = Cr(r.store), m = i == null ? void 0 : i.getState(), v = {
606
+ }), u = oe(c, e, r.store), i = vr(r.store), m = i == null ? void 0 : i.getState(), v = {
621
607
  validate: (m == null ? void 0 : m.validate) || [],
622
608
  submit: (m == null ? void 0 : m.submit) || []
623
609
  }, f = oe(v, i);
624
- $e(u, () => Ht(f)), $e(
610
+ $e(u, () => Lt(f)), $e(
625
611
  u,
626
612
  () => Ke(u, ["validating", "errors"], (l) => {
627
613
  l.validating || u.setState("valid", !J(l.errors));
@@ -638,21 +624,21 @@ function gr(r = {}) {
638
624
  u.setState("validating", !1);
639
625
  }
640
626
  };
641
- return K(L(L({}, t), u), {
642
- names: hr(),
627
+ return K(O(O({}, e), u), {
628
+ names: fr(),
643
629
  setValues: (l) => u.setState("values", l),
644
630
  getValue: (l) => j(u.getState().values, l),
645
- setValue: (l, b) => u.setState("values", (x) => {
646
- const S = j(x, l), T = fe(b, S);
647
- return T === S ? x : Q(x, l, T);
631
+ setValue: (l, b) => u.setState("values", (C) => {
632
+ const S = j(C, l), T = fe(b, S);
633
+ return T === S ? C : Q(C, l, T);
648
634
  }),
649
- pushValue: (l, b) => u.setState("values", (x) => {
650
- const S = j(x, l, []);
651
- return Q(x, l, [...S, b]);
635
+ pushValue: (l, b) => u.setState("values", (C) => {
636
+ const S = j(C, l, []);
637
+ return Q(C, l, [...S, b]);
652
638
  }),
653
- removeValue: (l, b) => u.setState("values", (x) => {
654
- const S = j(x, l, []);
655
- return Q(x, l, [
639
+ removeValue: (l, b) => u.setState("values", (C) => {
640
+ const S = j(C, l, []);
641
+ return Q(C, l, [
656
642
  ...S.slice(0, b),
657
643
  null,
658
644
  ...S.slice(b + 1)
@@ -660,31 +646,31 @@ function gr(r = {}) {
660
646
  }),
661
647
  setErrors: (l) => u.setState("errors", l),
662
648
  getError: (l) => j(u.getState().errors, l),
663
- setError: (l, b) => u.setState("errors", (x) => {
664
- const S = j(x, l), T = fe(b, S);
665
- return T === S ? x : Q(x, l, T);
649
+ setError: (l, b) => u.setState("errors", (C) => {
650
+ const S = j(C, l), T = fe(b, S);
651
+ return T === S ? C : Q(C, l, T);
666
652
  }),
667
653
  setTouched: (l) => u.setState("touched", l),
668
654
  getFieldTouched: (l) => !!j(u.getState().touched, l),
669
- setFieldTouched: (l, b) => u.setState("touched", (x) => {
670
- const S = j(x, l), T = fe(b, S);
671
- return T === S ? x : Q(x, l, T);
655
+ setFieldTouched: (l, b) => u.setState("touched", (C) => {
656
+ const S = j(C, l), T = fe(b, S);
657
+ return T === S ? C : Q(C, l, T);
672
658
  }),
673
659
  onValidate: (l) => (f.setState("validate", (b) => [...b, l]), () => {
674
660
  f.setState(
675
661
  "validate",
676
- (b) => b.filter((x) => x !== l)
662
+ (b) => b.filter((C) => C !== l)
677
663
  );
678
664
  }),
679
665
  validate: p,
680
666
  onSubmit: (l) => (f.setState("submit", (b) => [...b, l]), () => {
681
667
  f.setState(
682
668
  "submit",
683
- (b) => b.filter((x) => x !== l)
669
+ (b) => b.filter((C) => C !== l)
684
670
  );
685
671
  }),
686
672
  submit: async () => {
687
- u.setState("submitting", !0), u.setState("touched", xe(u.getState().values, !0));
673
+ u.setState("submitting", !0), u.setState("touched", ge(u.getState().values, !0));
688
674
  try {
689
675
  if (await p()) {
690
676
  const l = f.getState().submit;
@@ -707,9 +693,9 @@ function gr(r = {}) {
707
693
  __unstableCallbacks: f
708
694
  });
709
695
  }
710
- function xr(r, e, o) {
711
- r = zt(r, e, o), te(r, o, "values", "setValues"), te(r, o, "errors", "setErrors"), te(r, o, "touched", "setTouched");
712
- const t = z(
696
+ function br(r, t, o) {
697
+ r = qt(r, t, o), te(r, o, "values", "setValues"), te(r, o, "errors", "setErrors"), te(r, o, "touched", "setTouched");
698
+ const e = z(
713
699
  (a) => r.useState(() => r.getValue(a)),
714
700
  [r]
715
701
  ), n = z(
@@ -729,37 +715,37 @@ function xr(r, e, o) {
729
715
  );
730
716
  return ze(
731
717
  () => D(d({}, r), {
732
- useValue: t,
718
+ useValue: e,
733
719
  useValidate: n,
734
720
  useSubmit: s
735
721
  }),
736
722
  []
737
723
  );
738
724
  }
739
- function Pr(r = {}) {
740
- const [e, o] = le(gr, r);
741
- return xr(e, o, r);
725
+ function Cr(r = {}) {
726
+ const [t, o] = le(pr, r);
727
+ return br(t, o, r);
742
728
  }
743
729
  var _e = Pe(
744
730
  [Qe],
745
731
  [Je]
746
- ), H = _e.useContext, Sr = _e.ContextProvider, kr = _e.ScopedContextProvider, gt = "form";
747
- function Fr(r, e) {
748
- return e.some(
732
+ ), H = _e.useContext, hr = _e.ContextProvider, xr = _e.ScopedContextProvider, Ct = "form";
733
+ function gr(r, t) {
734
+ return t.some(
749
735
  (o) => o.type === "field" && o.element === r
750
736
  );
751
737
  }
752
- function Tr(r) {
738
+ function Pr(r) {
753
739
  return r.find(
754
- (e) => {
740
+ (t) => {
755
741
  var o;
756
- return e.type === "field" && ((o = e.element) == null ? void 0 : o.getAttribute("aria-invalid")) === "true";
742
+ return t.type === "field" && ((o = t.element) == null ? void 0 : o.getAttribute("aria-invalid")) === "true";
757
743
  }
758
744
  );
759
745
  }
760
- var Nr = C(function(e) {
761
- var o = e, {
762
- store: t,
746
+ var Sr = x(function(t) {
747
+ var o = t, {
748
+ store: e,
763
749
  validateOnChange: n = !0,
764
750
  validateOnBlur: s = !0,
765
751
  resetOnUnmount: a = !1,
@@ -774,38 +760,38 @@ var Nr = C(function(e) {
774
760
  "autoFocusOnSubmit"
775
761
  ]);
776
762
  const m = H();
777
- t = t || m, _(
778
- t,
763
+ e = e || m, _(
764
+ e,
779
765
  process.env.NODE_ENV !== "production" && "Form must receive a `store` prop or be wrapped in a FormProvider component."
780
766
  );
781
- const v = G(null), f = t.useState("values"), p = t.useState("submitSucceed"), l = t.useState("submitFailed"), b = t.useState("items"), x = Se(f);
767
+ const v = G(null), f = e.useState("values"), p = e.useState("submitSucceed"), l = e.useState("submitFailed"), b = e.useState("items"), C = Se(f);
782
768
  $(
783
- () => a ? t == null ? void 0 : t.reset : void 0,
784
- [a, t]
769
+ () => a ? e == null ? void 0 : e.reset : void 0,
770
+ [a, e]
785
771
  ), We(() => {
786
- n && f !== x && (t == null || t.validate());
787
- }, [n, f, x, t]), $(() => {
788
- c && p && (t == null || t.reset());
789
- }, [c, p, t]);
772
+ n && f !== C && (e == null || e.validate());
773
+ }, [n, f, C, e]), $(() => {
774
+ c && p && (e == null || e.reset());
775
+ }, [c, p, e]);
790
776
  const [S, T] = de(!1);
791
777
  $(() => {
792
778
  if (!S || !l) return;
793
- const w = Tr(b), B = w == null ? void 0 : w.element;
779
+ const w = Pr(b), B = w == null ? void 0 : w.element;
794
780
  B && (T(!1), B.focus(), ee(B) && B.select());
795
781
  }, [u, l, b]);
796
- const P = i.onSubmit, M = E((w) => {
797
- P == null || P(w), !w.defaultPrevented && (w.preventDefault(), t == null || t.submit(), u && T(!0));
782
+ const h = i.onSubmit, M = E((w) => {
783
+ h == null || h(w), !w.defaultPrevented && (w.preventDefault(), e == null || e.submit(), u && T(!0));
798
784
  }), F = i.onBlur, R = E((w) => {
799
- F == null || F(w), !w.defaultPrevented && s && t && Fr(w.target, t.getState().items) && t.validate();
785
+ F == null || F(w), !w.defaultPrevented && s && e && gr(w.target, e.getState().items) && e.validate();
800
786
  }), y = i.onReset, q = E((w) => {
801
- y == null || y(w), !w.defaultPrevented && (w.preventDefault(), t == null || t.reset());
787
+ y == null || y(w), !w.defaultPrevented && (w.preventDefault(), e == null || e.reset());
802
788
  });
803
789
  i = X(
804
790
  i,
805
- (w) => /* @__PURE__ */ I(kr, { value: t, children: w }),
806
- [t]
791
+ (w) => /* @__PURE__ */ I(xr, { value: e, children: w }),
792
+ [e]
807
793
  );
808
- const N = ie(v, gt);
794
+ const N = ie(v, Ct);
809
795
  return i = D(d({
810
796
  role: N !== "form" ? "form" : void 0,
811
797
  noValidate: !0
@@ -815,28 +801,28 @@ var Nr = C(function(e) {
815
801
  onBlur: R,
816
802
  onReset: q
817
803
  }), i;
818
- }), ma = h(function(e) {
819
- const o = Nr(e);
820
- return g(gt, o);
804
+ }), aa = g(function(t) {
805
+ const o = Sr(t);
806
+ return P(Ct, o);
821
807
  });
822
- function va(r = {}) {
823
- const e = Pr(r);
824
- return /* @__PURE__ */ I(Sr, { value: e, children: r.children });
808
+ function ua(r = {}) {
809
+ const t = Cr(r);
810
+ return /* @__PURE__ */ I(hr, { value: t, children: r.children });
825
811
  }
826
- var Dr = "input";
827
- function yr(r, e) {
812
+ var kr = "input";
813
+ function Fr(r, t) {
828
814
  const o = r.current;
829
- return o ? o.name === e ? o : o.form ? o.form.elements.namedItem(e) : Rt(o).getElementsByName(e)[0] : null;
815
+ return o ? o.name === t ? o : o.form ? o.form.elements.namedItem(t) : wt(o).getElementsByName(t)[0] : null;
830
816
  }
831
- function be(r, e, o) {
817
+ function be(r, t, o) {
832
818
  return r.useState(
833
- (t) => t.items.find((n) => n.type === o && n.name === e)
819
+ (e) => e.items.find((n) => n.type === o && n.name === t)
834
820
  );
835
821
  }
836
- var ae = C(
837
- function(e) {
838
- var o = e, {
839
- store: t,
822
+ var ae = x(
823
+ function(t) {
824
+ var o = t, {
825
+ store: e,
840
826
  name: n,
841
827
  getItem: s,
842
828
  touchOnBlur: a = !0
@@ -847,14 +833,14 @@ var ae = C(
847
833
  "touchOnBlur"
848
834
  ]);
849
835
  const u = H();
850
- t = t || u, _(
851
- t,
836
+ e = e || u, _(
837
+ e,
852
838
  process.env.NODE_ENV !== "production" && "FormControl must be wrapped in a Form component."
853
839
  );
854
840
  const i = `${n}`, m = W(c.id), v = G(null);
855
- t.useValidate(async () => {
856
- const F = yr(v, i);
857
- F && (await Promise.resolve(), "validity" in F && !F.validity.valid && (t == null || t.setError(i, F.validationMessage)));
841
+ e.useValidate(async () => {
842
+ const F = Fr(v, i);
843
+ F && (await Promise.resolve(), "validity" in F && !F.validity.valid && (e == null || e.setError(i, F.validationMessage)));
858
844
  });
859
845
  const f = z(
860
846
  (F) => {
@@ -862,67 +848,67 @@ var ae = C(
862
848
  return s ? s(R) : R;
863
849
  },
864
850
  [m, i, s]
865
- ), p = c.onBlur, l = wt(a), b = E((F) => {
866
- p == null || p(F), !F.defaultPrevented && l(F) && (t == null || t.setFieldTouched(i, !0));
867
- }), x = be(t, i, "label"), S = be(t, i, "error"), T = be(t, i, "description"), P = $t(
851
+ ), p = c.onBlur, l = _t(a), b = E((F) => {
852
+ p == null || p(F), !F.defaultPrevented && l(F) && (e == null || e.setFieldTouched(i, !0));
853
+ }), C = be(e, i, "label"), S = be(e, i, "error"), T = be(e, i, "description"), h = Mt(
868
854
  S == null ? void 0 : S.id,
869
855
  T == null ? void 0 : T.id,
870
856
  c["aria-describedby"]
871
- ), M = t.useState(
872
- () => !!(t != null && t.getError(i)) && t.getFieldTouched(i)
857
+ ), M = e.useState(
858
+ () => !!(e != null && e.getError(i)) && e.getFieldTouched(i)
873
859
  );
874
860
  return c = D(d({
875
861
  id: m,
876
- "aria-labelledby": x == null ? void 0 : x.id,
862
+ "aria-labelledby": C == null ? void 0 : C.id,
877
863
  "aria-invalid": M
878
864
  }, c), {
879
- "aria-describedby": P || void 0,
865
+ "aria-describedby": h || void 0,
880
866
  ref: A(v, c.ref),
881
867
  onBlur: b
882
- }), c = se(D(d({ store: t }, c), { name: i, getItem: f })), c;
868
+ }), c = se(D(d({ store: e }, c), { name: i, getItem: f })), c;
883
869
  }
884
- ), fa = V(
885
- h(function(e) {
886
- const o = ae(e);
887
- return g(Dr, o);
870
+ ), ia = V(
871
+ g(function(t) {
872
+ const o = ae(t);
873
+ return P(kr, o);
888
874
  })
889
875
  );
890
- function Er(r = {}) {
891
- var e;
876
+ function Tr(r = {}) {
877
+ var t;
892
878
  qe(r, r.store);
893
- const o = (e = r.store) == null ? void 0 : e.getState(), t = {
894
- value: O(
879
+ const o = (t = r.store) == null ? void 0 : t.getState(), e = {
880
+ value: L(
895
881
  r.value,
896
882
  o == null ? void 0 : o.value,
897
883
  r.defaultValue,
898
884
  !1
899
885
  )
900
- }, n = oe(t, r.store);
901
- return K(L({}, n), {
886
+ }, n = oe(e, r.store);
887
+ return K(O({}, n), {
902
888
  setValue: (s) => n.setState("value", s)
903
889
  });
904
890
  }
905
- function Ir(r, e, o) {
906
- return We(e, [o.store]), te(r, o, "value", "setValue"), r;
891
+ function Nr(r, t, o) {
892
+ return We(t, [o.store]), te(r, o, "value", "setValue"), r;
907
893
  }
908
894
  function Me(r = {}) {
909
- const [e, o] = le(Er, r);
910
- return Ir(e, o, r);
895
+ const [t, o] = le(Tr, r);
896
+ return Nr(t, o, r);
911
897
  }
912
- var xt = Pe(), _r = xt.useContext, Mr = xt.ContextProvider, Pt = "input";
913
- function Le(r, e) {
914
- e ? r.indeterminate = !0 : r.indeterminate && (r.indeterminate = !1);
898
+ var ht = Pe(), Dr = ht.useContext, yr = ht.ContextProvider, xt = "input";
899
+ function Oe(r, t) {
900
+ t ? r.indeterminate = !0 : r.indeterminate && (r.indeterminate = !1);
915
901
  }
916
- function wr(r, e) {
917
- return r === "input" && (!e || e === "checkbox");
902
+ function Er(r, t) {
903
+ return r === "input" && (!t || t === "checkbox");
918
904
  }
919
- function Oe(r) {
905
+ function Le(r) {
920
906
  return Array.isArray(r) ? r.toString() : r;
921
907
  }
922
- var we = C(
923
- function(e) {
924
- var o = e, {
925
- store: t,
908
+ var we = x(
909
+ function(t) {
910
+ var o = t, {
911
+ store: e,
926
912
  name: n,
927
913
  value: s,
928
914
  checked: a,
@@ -934,42 +920,42 @@ var we = C(
934
920
  "checked",
935
921
  "defaultChecked"
936
922
  ]);
937
- const i = _r();
938
- t = t || i;
939
- const [m, v] = de(c ?? !1), f = ce(t, (N) => {
923
+ const i = Dr();
924
+ e = e || i;
925
+ const [m, v] = de(c ?? !1), f = ce(e, (N) => {
940
926
  if (a !== void 0) return a;
941
927
  if ((N == null ? void 0 : N.value) === void 0) return m;
942
928
  if (s != null) {
943
929
  if (Array.isArray(N.value)) {
944
- const w = Oe(s);
930
+ const w = Le(s);
945
931
  return N.value.includes(w);
946
932
  }
947
933
  return N.value === s;
948
934
  }
949
935
  return Array.isArray(N.value) ? !1 : typeof N.value == "boolean" ? N.value : !1;
950
- }), p = G(null), l = ie(p, Pt), b = wr(l, u.type), x = f ? f === "mixed" : void 0, S = f === "mixed" ? !1 : f, T = Ge(u), [P, M] = je();
936
+ }), p = G(null), l = ie(p, xt), b = Er(l, u.type), C = f ? f === "mixed" : void 0, S = f === "mixed" ? !1 : f, T = Ge(u), [h, M] = je();
951
937
  $(() => {
952
938
  const N = p.current;
953
- N && (Le(N, x), !b && (N.checked = S, n !== void 0 && (N.name = n), s !== void 0 && (N.value = `${s}`)));
954
- }, [P, x, b, S, n, s]);
939
+ N && (Oe(N, C), !b && (N.checked = S, n !== void 0 && (N.name = n), s !== void 0 && (N.value = `${s}`)));
940
+ }, [h, C, b, S, n, s]);
955
941
  const F = u.onChange, R = E((N) => {
956
942
  if (T) {
957
943
  N.stopPropagation(), N.preventDefault();
958
944
  return;
959
945
  }
960
- if (Le(N.currentTarget, x), b || (N.currentTarget.checked = !N.currentTarget.checked, M()), F == null || F(N), N.defaultPrevented) return;
946
+ if (Oe(N.currentTarget, C), b || (N.currentTarget.checked = !N.currentTarget.checked, M()), F == null || F(N), N.defaultPrevented) return;
961
947
  const w = N.currentTarget.checked;
962
- v(w), t == null || t.setValue((B) => {
948
+ v(w), e == null || e.setValue((B) => {
963
949
  if (s == null) return w;
964
- const Y = Oe(s);
965
- return Array.isArray(B) ? w ? B.includes(Y) ? B : [...B, Y] : B.filter((Nt) => Nt !== Y) : B === Y ? !1 : Y;
950
+ const Y = Le(s);
951
+ return Array.isArray(B) ? w ? B.includes(Y) ? B : [...B, Y] : B.filter((Ft) => Ft !== Y) : B === Y ? !1 : Y;
966
952
  });
967
953
  }), y = u.onClick, q = E((N) => {
968
954
  y == null || y(N), !N.defaultPrevented && (b || R(N));
969
955
  });
970
956
  return u = X(
971
957
  u,
972
- (N) => /* @__PURE__ */ I(Dt.Provider, { value: S, children: N }),
958
+ (N) => /* @__PURE__ */ I(Tt.Provider, { value: S, children: N }),
973
959
  [S]
974
960
  ), u = D(d({
975
961
  role: b ? void 0 : "checkbox",
@@ -979,19 +965,19 @@ var we = C(
979
965
  ref: A(p, u.ref),
980
966
  onChange: R,
981
967
  onClick: q
982
- }), u = At(d({ clickOnEnter: !b }, u)), U(d({
968
+ }), u = Ot(d({ clickOnEnter: !b }, u)), U(d({
983
969
  name: b ? n : void 0,
984
970
  value: b ? s : void 0,
985
971
  checked: S
986
972
  }, u));
987
973
  }
988
- ), pa = h(function(e) {
989
- const o = we(e);
990
- return g(Pt, o);
991
- }), $r = "input", Rr = C(
992
- function(e) {
993
- var o = e, {
994
- store: t,
974
+ ), ca = g(function(t) {
975
+ const o = we(t);
976
+ return P(xt, o);
977
+ }), Ir = "input", _r = x(
978
+ function(t) {
979
+ var o = t, {
980
+ store: e,
995
981
  name: n,
996
982
  value: s,
997
983
  checked: a,
@@ -1004,29 +990,29 @@ var we = C(
1004
990
  "defaultChecked"
1005
991
  ]);
1006
992
  const i = H();
1007
- t = t || i, _(
1008
- t,
993
+ e = e || i, _(
994
+ e,
1009
995
  process.env.NODE_ENV !== "production" && "FormCheckbox must be wrapped in a Form component."
1010
996
  );
1011
997
  const m = `${n}`, v = Me({
1012
- value: t.useValue(m),
1013
- setValue: (f) => t == null ? void 0 : t.setValue(m, f)
998
+ value: e.useValue(m),
999
+ setValue: (f) => e == null ? void 0 : e.setValue(m, f)
1014
1000
  });
1015
1001
  return u = we(d({ store: v, value: s, checked: a }, u)), u = ae(d({
1016
- store: t,
1002
+ store: e,
1017
1003
  name: m,
1018
1004
  "aria-labelledby": void 0
1019
1005
  }, u)), u;
1020
1006
  }
1021
- ), ba = V(
1022
- h(function(e) {
1023
- const o = Rr(e);
1024
- return g($r, o);
1007
+ ), la = V(
1008
+ g(function(t) {
1009
+ const o = _r(t);
1010
+ return P(Ir, o);
1025
1011
  })
1026
- ), Vr = "div", Lr = C(
1027
- function(e) {
1028
- var o = e, {
1029
- store: t,
1012
+ ), Mr = "div", wr = x(
1013
+ function(t) {
1014
+ var o = t, {
1015
+ store: e,
1030
1016
  name: n,
1031
1017
  getItem: s
1032
1018
  } = o, a = k(o, [
@@ -1035,8 +1021,8 @@ var we = C(
1035
1021
  "getItem"
1036
1022
  ]);
1037
1023
  const c = H();
1038
- t = t || c, _(
1039
- t,
1024
+ e = e || c, _(
1025
+ e,
1040
1026
  process.env.NODE_ENV !== "production" && "FormDescription must be wrapped in a Form component."
1041
1027
  );
1042
1028
  const u = W(a.id), i = G(null), m = `${n}`, v = z(
@@ -1054,17 +1040,17 @@ var we = C(
1054
1040
  id: u
1055
1041
  }, a), {
1056
1042
  ref: A(i, a.ref)
1057
- }), a = se(D(d({ store: t }, a), { getItem: v })), a;
1043
+ }), a = se(D(d({ store: e }, a), { getItem: v })), a;
1058
1044
  }
1059
- ), Ca = V(
1060
- h(function(e) {
1061
- const o = Lr(e);
1062
- return g(Vr, o);
1045
+ ), da = V(
1046
+ g(function(t) {
1047
+ const o = wr(t);
1048
+ return P(Mr, o);
1063
1049
  })
1064
- ), Or = "div", Ar = C(
1065
- function(e) {
1066
- var o = e, {
1067
- store: t,
1050
+ ), $r = "div", Rr = x(
1051
+ function(t) {
1052
+ var o = t, {
1053
+ store: e,
1068
1054
  name: n,
1069
1055
  getItem: s
1070
1056
  } = o, a = k(o, [
@@ -1073,8 +1059,8 @@ var we = C(
1073
1059
  "getItem"
1074
1060
  ]);
1075
1061
  const c = H();
1076
- t = t || c, _(
1077
- t,
1062
+ e = e || c, _(
1063
+ e,
1078
1064
  process.env.NODE_ENV !== "production" && "FormError must be wrapped in a Form component."
1079
1065
  );
1080
1066
  const u = W(a.id), i = G(null), m = `${n}`, v = z(
@@ -1083,9 +1069,9 @@ var we = C(
1083
1069
  return s ? s(l) : l;
1084
1070
  },
1085
1071
  [u, m, s]
1086
- ), f = t.useState(() => {
1087
- const p = t == null ? void 0 : t.getError(m);
1088
- if (p != null && t != null && t.getFieldTouched(m))
1072
+ ), f = e.useState(() => {
1073
+ const p = e == null ? void 0 : e.getError(m);
1074
+ if (p != null && e != null && e.getFieldTouched(m))
1089
1075
  return p;
1090
1076
  });
1091
1077
  return a = D(d({
@@ -1094,68 +1080,68 @@ var we = C(
1094
1080
  children: f
1095
1081
  }, a), {
1096
1082
  ref: A(i, a.ref)
1097
- }), a = se(D(d({ store: t }, a), { getItem: v })), a;
1083
+ }), a = se(D(d({ store: e }, a), { getItem: v })), a;
1098
1084
  }
1099
- ), ha = V(
1100
- h(function(e) {
1101
- const o = Ar(e);
1102
- return g(Or, o);
1085
+ ), ma = V(
1086
+ g(function(t) {
1087
+ const o = Rr(t);
1088
+ return P($r, o);
1103
1089
  })
1104
- ), Hr = "input", Br = C(
1105
- function(e) {
1106
- return ae(e);
1090
+ ), Vr = "input", Or = x(
1091
+ function(t) {
1092
+ return ae(t);
1107
1093
  }
1108
- ), ga = V(
1109
- h(function(e) {
1110
- const o = Br(e);
1111
- return g(Hr, o);
1094
+ ), va = V(
1095
+ g(function(t) {
1096
+ const o = Or(t);
1097
+ return P(Vr, o);
1112
1098
  })
1113
- ), Gr = "div", jr = C(
1114
- function(e) {
1115
- var o = e, { store: t } = o, n = k(o, ["store"]);
1116
- return n = Zt(n), n;
1099
+ ), Lr = "div", Ar = x(
1100
+ function(t) {
1101
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1102
+ return n = Qt(n), n;
1117
1103
  }
1118
- ), xa = h(function(e) {
1119
- const o = jr(e);
1120
- return g(Gr, o);
1121
- }), Ur = "div", St = C(
1122
- function(e) {
1123
- var o = e, { store: t } = o, n = k(o, ["store"]);
1124
- return n = eo(n), n;
1104
+ ), fa = g(function(t) {
1105
+ const o = Ar(t);
1106
+ return P(Lr, o);
1107
+ }), Hr = "div", gt = x(
1108
+ function(t) {
1109
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1110
+ return n = Yt(n), n;
1125
1111
  }
1126
- ), Pa = h(function(e) {
1127
- const o = St(e);
1128
- return g(Ur, o);
1129
- }), Wr = "input", qr = C(
1130
- function(e) {
1131
- var o = e, { store: t, name: n } = o, s = k(o, ["store", "name"]);
1112
+ ), pa = g(function(t) {
1113
+ const o = gt(t);
1114
+ return P(Hr, o);
1115
+ }), Br = "input", Gr = x(
1116
+ function(t) {
1117
+ var o = t, { store: e, name: n } = o, s = k(o, ["store", "name"]);
1132
1118
  const a = H();
1133
- t = t || a, _(
1134
- t,
1119
+ e = e || a, _(
1120
+ e,
1135
1121
  process.env.NODE_ENV !== "production" && "FormInput must be wrapped in a Form component."
1136
1122
  );
1137
1123
  const c = `${n}`, u = s.onChange, i = E((v) => {
1138
- u == null || u(v), !v.defaultPrevented && (t == null || t.setValue(c, v.target.value));
1139
- }), m = t.useValue(c);
1124
+ u == null || u(v), !v.defaultPrevented && (e == null || e.setValue(c, v.target.value));
1125
+ }), m = e.useValue(c);
1140
1126
  return s = D(d({
1141
1127
  value: m
1142
1128
  }, s), {
1143
1129
  onChange: i
1144
- }), s = lo(s), s = ae(d({ store: t, name: c }, s)), s;
1130
+ }), s = lo(s), s = ae(d({ store: e, name: c }, s)), s;
1145
1131
  }
1146
- ), Sa = V(
1147
- h(function(e) {
1148
- const o = qr(e);
1149
- return g(Wr, o);
1132
+ ), ba = V(
1133
+ g(function(t) {
1134
+ const o = Gr(t);
1135
+ return P(Br, o);
1150
1136
  })
1151
- ), Kr = "label";
1152
- function zr(r) {
1137
+ ), jr = "label";
1138
+ function Ur(r) {
1153
1139
  return r === "input" || r === "textarea" || r === "select" || r === "meter" || r === "progress";
1154
1140
  }
1155
- var Xr = C(
1156
- function(e) {
1157
- var o = e, {
1158
- store: t,
1141
+ var Wr = x(
1142
+ function(t) {
1143
+ var o = t, {
1144
+ store: e,
1159
1145
  name: n,
1160
1146
  getItem: s
1161
1147
  } = o, a = k(o, [
@@ -1164,8 +1150,8 @@ var Xr = C(
1164
1150
  "getItem"
1165
1151
  ]);
1166
1152
  const c = H();
1167
- t = t || c, _(
1168
- t,
1153
+ e = e || c, _(
1154
+ e,
1169
1155
  process.env.NODE_ENV !== "production" && "FormLabel must be wrapped in a Form component."
1170
1156
  );
1171
1157
  const u = W(a.id), i = G(null), m = `${n}`, v = z(
@@ -1174,14 +1160,14 @@ var Xr = C(
1174
1160
  return s ? s(T) : T;
1175
1161
  },
1176
1162
  [u, m, s]
1177
- ), f = t.useState(
1163
+ ), f = e.useState(
1178
1164
  (S) => S.items.find((T) => T.type === "field" && T.name === m)
1179
- ), p = ie(f == null ? void 0 : f.element, "input"), l = zr(p), b = a.onClick, x = E((S) => {
1165
+ ), p = ie(f == null ? void 0 : f.element, "input"), l = Ur(p), b = a.onClick, C = E((S) => {
1180
1166
  if (b == null || b(S), S.defaultPrevented || l) return;
1181
1167
  const T = f == null ? void 0 : f.element;
1182
1168
  T && queueMicrotask(() => {
1183
- const P = Te(T, !0, !0);
1184
- P == null || P.focus(), (P == null ? void 0 : P.getAttribute("role")) !== "combobox" && (P == null || P.click());
1169
+ const h = Te(T, !0, !0);
1170
+ h == null || h.focus(), (h == null ? void 0 : h.getAttribute("role")) !== "combobox" && (h == null || h.click());
1185
1171
  });
1186
1172
  });
1187
1173
  return a = D(d({
@@ -1190,33 +1176,33 @@ var Xr = C(
1190
1176
  htmlFor: l ? f == null ? void 0 : f.id : void 0
1191
1177
  }, a), {
1192
1178
  ref: A(i, a.ref),
1193
- onClick: x
1179
+ onClick: C
1194
1180
  }), l || (a = D(d({}, a), {
1195
1181
  style: d({
1196
1182
  cursor: "default"
1197
1183
  }, a.style)
1198
- })), a = se(D(d({ store: t }, a), { getItem: v })), a;
1184
+ })), a = se(D(d({ store: e }, a), { getItem: v })), a;
1199
1185
  }
1200
- ), ka = V(
1201
- h(function(e) {
1202
- const o = Xr(e);
1203
- return g(Kr, o);
1186
+ ), Ca = V(
1187
+ g(function(t) {
1188
+ const o = Wr(t);
1189
+ return P(jr, o);
1204
1190
  })
1205
- ), Jr = "button";
1206
- function Qr(r, e) {
1191
+ ), qr = "button";
1192
+ function Kr(r, t) {
1207
1193
  if (!r) return [];
1208
1194
  const o = [];
1209
- for (const t of r) {
1210
- if (t.type !== "field" || !t.name.startsWith(e)) continue;
1211
- const n = t.name.replace(/(\.\d+)\..+$/, "$1"), s = new RegExp(`^${n}`);
1212
- o.some((a) => s.test(a.name)) || o.push(t);
1195
+ for (const e of r) {
1196
+ if (e.type !== "field" || !e.name.startsWith(t)) continue;
1197
+ const n = e.name.replace(/(\.\d+)\..+$/, "$1"), s = new RegExp(`^${n}`);
1198
+ o.some((a) => s.test(a.name)) || o.push(e);
1213
1199
  }
1214
1200
  return o;
1215
1201
  }
1216
- var Yr = C(
1217
- function(e) {
1218
- var o = e, {
1219
- store: t,
1202
+ var zr = x(
1203
+ function(t) {
1204
+ var o = t, {
1205
+ store: e,
1220
1206
  value: n,
1221
1207
  name: s,
1222
1208
  getItem: a,
@@ -1229,88 +1215,88 @@ var Yr = C(
1229
1215
  "autoFocusOnClick"
1230
1216
  ]);
1231
1217
  const i = H();
1232
- t = t || i, _(
1233
- t,
1218
+ e = e || i, _(
1219
+ e,
1234
1220
  process.env.NODE_ENV !== "production" && "FormPush must be wrapped in a Form component."
1235
1221
  );
1236
1222
  const m = `${s}`, [v, f] = de(!1);
1237
1223
  $(() => {
1238
- var x;
1224
+ var C;
1239
1225
  if (!v) return;
1240
- const S = Qr(t == null ? void 0 : t.getState().items, m), T = (x = S == null ? void 0 : S[S.length - 1]) == null ? void 0 : x.element;
1226
+ const S = Kr(e == null ? void 0 : e.getState().items, m), T = (C = S == null ? void 0 : S[S.length - 1]) == null ? void 0 : C.element;
1241
1227
  T && (T.focus(), f(!1));
1242
- }, [t, v, m]);
1228
+ }, [e, v, m]);
1243
1229
  const p = z(
1244
- (x) => {
1245
- const S = D(d({}, x), { type: "button", name: m });
1230
+ (C) => {
1231
+ const S = D(d({}, C), { type: "button", name: m });
1246
1232
  return a ? a(S) : S;
1247
1233
  },
1248
1234
  [m, a]
1249
- ), l = u.onClick, b = E((x) => {
1250
- l == null || l(x), !x.defaultPrevented && (t == null || t.pushValue(m, n), c && f(!0));
1235
+ ), l = u.onClick, b = E((C) => {
1236
+ l == null || l(C), !C.defaultPrevented && (e == null || e.pushValue(m, n), c && f(!0));
1251
1237
  });
1252
1238
  return u = D(d({}, u), {
1253
1239
  onClick: b
1254
- }), u = re(u), u = se(D(d({ store: t }, u), { getItem: p })), u;
1240
+ }), u = re(u), u = se(D(d({ store: e }, u), { getItem: p })), u;
1255
1241
  }
1256
- ), Fa = h(function(e) {
1257
- const o = Yr(e);
1258
- return g(Jr, o);
1259
- }), Zr = "div", en = C(
1260
- function(e) {
1261
- var o = e, { store: t } = o, n = k(o, ["store"]);
1262
- return n = d({ role: "radiogroup" }, n), n = St(n), n;
1242
+ ), ha = g(function(t) {
1243
+ const o = zr(t);
1244
+ return P(qr, o);
1245
+ }), Xr = "div", Jr = x(
1246
+ function(t) {
1247
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1248
+ return n = d({ role: "radiogroup" }, n), n = gt(n), n;
1263
1249
  }
1264
- ), Ta = h(function(e) {
1265
- const o = en(e);
1266
- return g(Zr, o);
1267
- }), tn = "input", on = C(
1268
- function(e) {
1269
- var o = e, { store: t, name: n, value: s } = o, a = k(o, ["store", "name", "value"]);
1250
+ ), xa = g(function(t) {
1251
+ const o = Jr(t);
1252
+ return P(Xr, o);
1253
+ }), Qr = "input", Yr = x(
1254
+ function(t) {
1255
+ var o = t, { store: e, name: n, value: s } = o, a = k(o, ["store", "name", "value"]);
1270
1256
  const c = H();
1271
- t = t || c, _(
1272
- t,
1257
+ e = e || c, _(
1258
+ e,
1273
1259
  process.env.NODE_ENV !== "production" && "FormRadio must be wrapped in a Form component."
1274
1260
  );
1275
1261
  const u = `${n}`, i = a.onChange, m = E((p) => {
1276
- i == null || i(p), !p.defaultPrevented && (t == null || t.setValue(u, s));
1277
- }), v = a.checked, f = t.useState(
1278
- () => v ?? (t == null ? void 0 : t.getValue(u)) === s
1262
+ i == null || i(p), !p.defaultPrevented && (e == null || e.setValue(u, s));
1263
+ }), v = a.checked, f = e.useState(
1264
+ () => v ?? (e == null ? void 0 : e.getValue(u)) === s
1279
1265
  );
1280
1266
  return a = D(d({}, a), {
1281
1267
  checked: f,
1282
1268
  onChange: m
1283
1269
  }), a = Ie(d({ value: s }, a)), a = ae(d({
1284
- store: t,
1270
+ store: e,
1285
1271
  name: u,
1286
1272
  "aria-labelledby": void 0
1287
1273
  }, a)), a;
1288
1274
  }
1289
- ), Na = V(
1290
- h(function(e) {
1291
- const o = on(e);
1292
- return g(tn, o);
1275
+ ), ga = V(
1276
+ g(function(t) {
1277
+ const o = Yr(t);
1278
+ return P(Qr, o);
1293
1279
  })
1294
- ), rn = "button";
1295
- function nn(r, e, o) {
1296
- const t = r == null ? void 0 : r.filter(
1297
- (a) => a.type === "field" && a.name.startsWith(e)
1298
- ), n = new RegExp(`^${e}\\.(\\d+)`), s = t == null ? void 0 : t.find((a) => {
1280
+ ), Zr = "button";
1281
+ function en(r, t, o) {
1282
+ const e = r == null ? void 0 : r.filter(
1283
+ (a) => a.type === "field" && a.name.startsWith(t)
1284
+ ), n = new RegExp(`^${t}\\.(\\d+)`), s = e == null ? void 0 : e.find((a) => {
1299
1285
  const c = a.name.replace(n, "$1");
1300
1286
  return Number.parseInt(c) > o;
1301
1287
  });
1302
- return s || (t == null ? void 0 : t.reverse().find((a) => {
1288
+ return s || (e == null ? void 0 : e.reverse().find((a) => {
1303
1289
  const c = a.name.replace(n, "$1");
1304
1290
  return Number.parseInt(c) < o;
1305
1291
  }));
1306
1292
  }
1307
- function sn(r, e) {
1308
- return r == null ? void 0 : r.find((o) => o.type === "button" && o.name === e);
1293
+ function tn(r, t) {
1294
+ return r == null ? void 0 : r.find((o) => o.type === "button" && o.name === t);
1309
1295
  }
1310
- var an = C(
1311
- function(e) {
1312
- var o = e, {
1313
- store: t,
1296
+ var on = x(
1297
+ function(t) {
1298
+ var o = t, {
1299
+ store: e,
1314
1300
  name: n,
1315
1301
  index: s,
1316
1302
  autoFocusOnClick: a = !0
@@ -1321,18 +1307,18 @@ var an = C(
1321
1307
  "autoFocusOnClick"
1322
1308
  ]);
1323
1309
  const u = H();
1324
- t = t || u, _(
1325
- t,
1310
+ e = e || u, _(
1311
+ e,
1326
1312
  process.env.NODE_ENV !== "production" && "FormRemove must be wrapped in a Form component."
1327
1313
  );
1328
1314
  const i = `${n}`, m = c.onClick, v = E((f) => {
1329
1315
  var p;
1330
- if (m == null || m(f), f.defaultPrevented || !t || (t.removeValue(i, s), !a)) return;
1331
- const { items: l } = t.getState(), b = nn(l, i, s), x = b == null ? void 0 : b.element;
1332
- if (x)
1333
- x.focus(), ee(x) && x.select();
1316
+ if (m == null || m(f), f.defaultPrevented || !e || (e.removeValue(i, s), !a)) return;
1317
+ const { items: l } = e.getState(), b = en(l, i, s), C = b == null ? void 0 : b.element;
1318
+ if (C)
1319
+ C.focus(), ee(C) && C.select();
1334
1320
  else {
1335
- const S = sn(l, i);
1321
+ const S = tn(l, i);
1336
1322
  (p = S == null ? void 0 : S.element) == null || p.focus();
1337
1323
  }
1338
1324
  });
@@ -1340,88 +1326,88 @@ var an = C(
1340
1326
  onClick: v
1341
1327
  }), c = re(c), c;
1342
1328
  }
1343
- ), Da = h(function(e) {
1344
- const o = an(e);
1345
- return g(rn, o);
1346
- }), un = "button", cn = C(
1347
- function(e) {
1348
- var o = e, { store: t } = o, n = k(o, ["store"]);
1329
+ ), Pa = g(function(t) {
1330
+ const o = on(t);
1331
+ return P(Zr, o);
1332
+ }), rn = "button", nn = x(
1333
+ function(t) {
1334
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1349
1335
  const s = H();
1350
- return t = t || s, _(
1351
- t,
1336
+ return e = e || s, _(
1337
+ e,
1352
1338
  process.env.NODE_ENV !== "production" && "FormReset must be wrapped in a Form component."
1353
1339
  ), n = d({
1354
1340
  type: "reset",
1355
- disabled: t.useState("submitting")
1341
+ disabled: e.useState("submitting")
1356
1342
  }, n), n = re(n), n;
1357
1343
  }
1358
- ), ya = h(function(e) {
1359
- const o = cn(e);
1360
- return g(un, o);
1361
- }), ln = "button", dn = C(
1362
- function(e) {
1363
- var o = e, { store: t, accessibleWhenDisabled: n = !0 } = o, s = k(o, ["store", "accessibleWhenDisabled"]);
1344
+ ), Sa = g(function(t) {
1345
+ const o = nn(t);
1346
+ return P(rn, o);
1347
+ }), sn = "button", an = x(
1348
+ function(t) {
1349
+ var o = t, { store: e, accessibleWhenDisabled: n = !0 } = o, s = k(o, ["store", "accessibleWhenDisabled"]);
1364
1350
  const a = H();
1365
- return t = t || a, _(
1366
- t,
1351
+ return e = e || a, _(
1352
+ e,
1367
1353
  process.env.NODE_ENV !== "production" && "FormSubmit must be wrapped in a Form component."
1368
1354
  ), s = d({
1369
1355
  type: "submit",
1370
- disabled: t.useState("submitting")
1356
+ disabled: e.useState("submitting")
1371
1357
  }, s), s = re(D(d({}, s), { accessibleWhenDisabled: n })), s;
1372
1358
  }
1373
- ), Ea = h(function(e) {
1374
- const o = dn(e);
1375
- return g(ln, o);
1359
+ ), ka = g(function(t) {
1360
+ const o = an(t);
1361
+ return P(sn, o);
1376
1362
  });
1377
- function Ia(r = {}) {
1378
- const e = mo(r);
1379
- return /* @__PURE__ */ I(vo, { value: e, children: r.children });
1363
+ function Fa(r = {}) {
1364
+ const t = mo(r);
1365
+ return /* @__PURE__ */ I(vo, { value: t, children: r.children });
1380
1366
  }
1381
- var mn = "div", vn = C(
1382
- function(e) {
1383
- var o = e, { store: t } = o, n = k(o, ["store"]);
1367
+ var un = "div", cn = x(
1368
+ function(t) {
1369
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1384
1370
  const s = fo();
1385
- return t = t || s, n = at(d({ store: t }, n)), n;
1371
+ return e = e || s, n = nt(d({ store: e }, n)), n;
1386
1372
  }
1387
- ), _a = h(function(e) {
1388
- const o = vn(e);
1389
- return g(mn, o);
1390
- }), fn = "p", kt = C(function(e) {
1391
- return e = bt(e), e;
1392
- }), Ma = h(function(e) {
1393
- const o = kt(e);
1394
- return g(fn, o);
1395
- }), pn = "button", bn = C(function(e) {
1396
- var o = e, { store: t } = o, n = k(o, ["store"]);
1373
+ ), Ta = g(function(t) {
1374
+ const o = cn(t);
1375
+ return P(un, o);
1376
+ }), ln = "p", Pt = x(function(t) {
1377
+ return t = ft(t), t;
1378
+ }), Na = g(function(t) {
1379
+ const o = Pt(t);
1380
+ return P(ln, o);
1381
+ }), dn = "button", mn = x(function(t) {
1382
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1397
1383
  const s = po();
1398
- t = t || s, _(
1399
- t,
1384
+ e = e || s, _(
1385
+ e,
1400
1386
  process.env.NODE_ENV !== "production" && "HovercardDisclosure must receive a `store` prop or be wrapped in a HovercardProvider component."
1401
1387
  );
1402
1388
  const [a, c] = de(!1);
1403
- $(() => a ? Vt("focusout", (b) => {
1404
- if (!t) return;
1405
- const x = b.relatedTarget;
1406
- if (x) {
1389
+ $(() => a ? $t("focusout", (b) => {
1390
+ if (!e) return;
1391
+ const C = b.relatedTarget;
1392
+ if (C) {
1407
1393
  const {
1408
1394
  anchorElement: S,
1409
1395
  popoverElement: T,
1410
- disclosureElement: P
1411
- } = t.getState();
1412
- if (S && pe(S, x) || T && pe(T, x) || P && pe(P, x) || x.hasAttribute("data-focus-trap")) return;
1396
+ disclosureElement: h
1397
+ } = e.getState();
1398
+ if (S && pe(S, C) || T && pe(T, C) || h && pe(h, C) || C.hasAttribute("data-focus-trap")) return;
1413
1399
  }
1414
1400
  c(!1);
1415
- }, !0) : void 0, [a, t]), $(() => Ke(t, ["anchorElement"], (l) => {
1401
+ }, !0) : void 0, [a, e]), $(() => Ke(e, ["anchorElement"], (l) => {
1416
1402
  const b = l.anchorElement;
1417
1403
  if (!b) return;
1418
- const x = new MutationObserver(() => {
1404
+ const C = new MutationObserver(() => {
1419
1405
  b.hasAttribute("data-focus-visible") && c(!0);
1420
1406
  });
1421
- return x.observe(b, { attributeFilter: ["data-focus-visible"] }), () => x.disconnect();
1422
- }), [t]);
1407
+ return C.observe(b, { attributeFilter: ["data-focus-visible"] }), () => C.disconnect();
1408
+ }), [e]);
1423
1409
  const u = n.onClick, i = E((l) => {
1424
- u == null || u(l), !l.defaultPrevented && (t == null || t.setAutoFocusOnShow(!0));
1410
+ u == null || u(l), !l.defaultPrevented && (e == null || e.setAutoFocusOnShow(!0));
1425
1411
  }), m = n.onFocus, v = E((l) => {
1426
1412
  m == null || m(l), !l.defaultPrevented && c(!0);
1427
1413
  }), { style: f } = ro();
@@ -1444,31 +1430,31 @@ var mn = "div", vn = C(
1444
1430
  }
1445
1431
  )
1446
1432
  }, n), {
1447
- ref: A(t.setDisclosureElement, n.ref),
1433
+ ref: A(e.setDisclosureElement, n.ref),
1448
1434
  onClick: i,
1449
1435
  onFocus: v
1450
- }), n = et(d({ store: t }, n)), n;
1451
- }), wa = h(function(e) {
1452
- const o = bn(e);
1453
- return g(pn, o);
1454
- }), Cn = "button", Ft = C(
1455
- function(e) {
1456
- var o = e, { store: t } = o, n = k(o, ["store"]);
1436
+ }), n = et(d({ store: e }, n)), n;
1437
+ }), Da = g(function(t) {
1438
+ const o = mn(t);
1439
+ return P(dn, o);
1440
+ }), vn = "button", St = x(
1441
+ function(t) {
1442
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1457
1443
  const s = bo();
1458
- return t = t || s, n = ye(d({ store: t }, n)), n;
1444
+ return e = e || s, n = ye(d({ store: e }, n)), n;
1459
1445
  }
1460
- ), $a = h(function(e) {
1461
- const o = Ft(e);
1462
- return g(Cn, o);
1463
- }), hn = "h1", Tt = C(
1464
- function(e) {
1465
- return e = Ee(e), e;
1446
+ ), ya = g(function(t) {
1447
+ const o = St(t);
1448
+ return P(vn, o);
1449
+ }), fn = "h1", kt = x(
1450
+ function(t) {
1451
+ return t = Ee(t), t;
1466
1452
  }
1467
- ), Ra = h(function(e) {
1468
- const o = Tt(e);
1469
- return g(hn, o);
1453
+ ), Ea = g(function(t) {
1454
+ const o = kt(t);
1455
+ return P(fn, o);
1470
1456
  });
1471
- function Va(r = {}) {
1457
+ function Ia(r = {}) {
1472
1458
  return $(() => {
1473
1459
  process.env.NODE_ENV !== "production" && console.warn(
1474
1460
  "useMenuBarStore is deprecated. Use useMenubarStore instead.",
@@ -1476,105 +1462,105 @@ function Va(r = {}) {
1476
1462
  );
1477
1463
  }, []), De(r);
1478
1464
  }
1479
- var gn = "div", xn = C(
1480
- function(e) {
1465
+ var pn = "div", bn = x(
1466
+ function(t) {
1481
1467
  return $(() => {
1482
1468
  process.env.NODE_ENV !== "production" && console.warn(
1483
1469
  "MenuBar is deprecated. Use Menubar instead.",
1484
1470
  "See https://ariakit.org/reference/menubar"
1485
1471
  );
1486
- }, []), ft(e);
1472
+ }, []), mt(t);
1487
1473
  }
1488
- ), La = h(function(e) {
1489
- const o = xn(e);
1490
- return g(gn, o);
1474
+ ), _a = g(function(t) {
1475
+ const o = bn(t);
1476
+ return P(pn, o);
1491
1477
  });
1492
- function Oa(r = {}) {
1478
+ function Ma(r = {}) {
1493
1479
  return $(() => {
1494
1480
  process.env.NODE_ENV !== "production" && console.warn(
1495
1481
  "MenuBarProvider is deprecated. Use MenubarProvider instead.",
1496
1482
  "See https://ariakit.org/reference/menubar-provider"
1497
1483
  );
1498
- }, []), /* @__PURE__ */ I(Lo, d({}, r));
1484
+ }, []), /* @__PURE__ */ I(Oo, d({}, r));
1499
1485
  }
1500
- var Pn = "div", Sn = C(
1501
- function(e) {
1502
- var o = e, { store: t } = o, n = k(o, ["store"]);
1503
- const s = ut();
1504
- return t = t || s, at(d({ store: t }, n));
1486
+ var Cn = "div", hn = x(
1487
+ function(t) {
1488
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1489
+ const s = st();
1490
+ return e = e || s, nt(d({ store: e }, n));
1505
1491
  }
1506
- ), Aa = h(function(e) {
1507
- const o = Sn(e);
1508
- return g(Pn, o);
1509
- }), kn = "span", Fn = C(
1510
- function(e) {
1511
- var o = e, { store: t } = o, n = k(o, ["store"]);
1512
- const s = ut();
1513
- return t = t || s, n = Po(d({ store: t }, n)), n;
1492
+ ), wa = g(function(t) {
1493
+ const o = hn(t);
1494
+ return P(Cn, o);
1495
+ }), xn = "span", gn = x(
1496
+ function(t) {
1497
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1498
+ const s = st();
1499
+ return e = e || s, n = Po(d({ store: e }, n)), n;
1514
1500
  }
1515
- ), Ha = h(function(e) {
1516
- const o = Fn(e);
1517
- return g(kn, o);
1518
- }), Tn = "p", Nn = C(
1519
- function(e) {
1520
- return e = kt(e), e;
1501
+ ), $a = g(function(t) {
1502
+ const o = gn(t);
1503
+ return P(xn, o);
1504
+ }), Pn = "p", Sn = x(
1505
+ function(t) {
1506
+ return t = Pt(t), t;
1521
1507
  }
1522
- ), Ba = h(function(e) {
1523
- const o = Nn(e);
1524
- return g(Tn, o);
1525
- }), Dn = "button", yn = C(
1526
- function(e) {
1527
- var o = e, { store: t } = o, n = k(o, ["store"]);
1508
+ ), Ra = g(function(t) {
1509
+ const o = Sn(t);
1510
+ return P(Pn, o);
1511
+ }), kn = "button", Fn = x(
1512
+ function(t) {
1513
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1528
1514
  const s = Ne();
1529
- return t = t || s, n = Ft(d({ store: t }, n)), n;
1515
+ return e = e || s, n = St(d({ store: e }, n)), n;
1530
1516
  }
1531
- ), Ga = h(function(e) {
1532
- const o = yn(e);
1533
- return g(Dn, o);
1534
- }), En = "div", In = C(
1535
- function(e) {
1536
- return e = nt(e), e;
1517
+ ), Va = g(function(t) {
1518
+ const o = Fn(t);
1519
+ return P(kn, o);
1520
+ }), Tn = "div", Nn = x(
1521
+ function(t) {
1522
+ return t = Zt(t), t;
1537
1523
  }
1538
- ), ja = h(function(e) {
1539
- const o = In(e);
1540
- return g(En, o);
1541
- }), _n = "div", Mn = C(
1542
- function(e) {
1543
- return e = st(e), e;
1524
+ ), Oa = g(function(t) {
1525
+ const o = Nn(t);
1526
+ return P(Tn, o);
1527
+ }), Dn = "div", yn = x(
1528
+ function(t) {
1529
+ return t = eo(t), t;
1544
1530
  }
1545
- ), Ua = h(function(e) {
1546
- const o = Mn(e);
1547
- return g(_n, o);
1548
- }), wn = "h1", $n = C(
1549
- function(e) {
1550
- return e = Tt(e), e;
1531
+ ), La = g(function(t) {
1532
+ const o = yn(t);
1533
+ return P(Dn, o);
1534
+ }), En = "h1", In = x(
1535
+ function(t) {
1536
+ return t = kt(t), t;
1551
1537
  }
1552
- ), Wa = h(function(e) {
1553
- const o = $n(e);
1554
- return g(wn, o);
1555
- }), Rn = "span", Vn = C(
1556
- function(e) {
1557
- var o = e, { store: t, checked: n } = o, s = k(o, ["store", "checked"]);
1558
- const a = ne(it);
1538
+ ), Aa = g(function(t) {
1539
+ const o = In(t);
1540
+ return P(En, o);
1541
+ }), _n = "span", Mn = x(
1542
+ function(t) {
1543
+ var o = t, { store: e, checked: n } = o, s = k(o, ["store", "checked"]);
1544
+ const a = ne(at);
1559
1545
  return n = n ?? a, s = He(D(d({}, s), { checked: n })), s;
1560
1546
  }
1561
- ), qa = h(function(e) {
1562
- const o = Vn(e);
1563
- return g(Rn, o);
1564
- }), Ln = "div";
1565
- function On(r) {
1547
+ ), Ha = g(function(t) {
1548
+ const o = Mn(t);
1549
+ return P(_n, o);
1550
+ }), wn = "div";
1551
+ function $n(r) {
1566
1552
  return Array.isArray(r) ? r.toString() : r;
1567
1553
  }
1568
- function Ce(r, e, o) {
1569
- if (e === void 0)
1554
+ function Ce(r, t, o) {
1555
+ if (t === void 0)
1570
1556
  return Array.isArray(r) ? r : !!o;
1571
- const t = On(e);
1572
- return Array.isArray(r) ? o ? r.includes(t) ? r : [...r, t] : r.filter((n) => n !== t) : o ? t : r === t ? !1 : r;
1557
+ const e = $n(t);
1558
+ return Array.isArray(r) ? o ? r.includes(e) ? r : [...r, e] : r.filter((n) => n !== e) : o ? e : r === e ? !1 : r;
1573
1559
  }
1574
- var An = C(
1575
- function(e) {
1576
- var o = e, {
1577
- store: t,
1560
+ var Rn = x(
1561
+ function(t) {
1562
+ var o = t, {
1563
+ store: e,
1578
1564
  name: n,
1579
1565
  value: s,
1580
1566
  checked: a,
@@ -1589,23 +1575,23 @@ var An = C(
1589
1575
  "hideOnClick"
1590
1576
  ]);
1591
1577
  const m = Ne();
1592
- t = t || m, _(
1593
- t,
1578
+ e = e || m, _(
1579
+ e,
1594
1580
  process.env.NODE_ENV !== "production" && "MenuItemCheckbox must be wrapped in a MenuList or Menu component"
1595
1581
  );
1596
1582
  const v = Se(c);
1597
1583
  $(() => {
1598
- t == null || t.setValue(n, (p = []) => v ? Ce(p, s, !0) : p);
1599
- }, [t, n, s, v]), $(() => {
1600
- a !== void 0 && (t == null || t.setValue(n, (p) => Ce(p, s, a)));
1601
- }, [t, n, s, a]);
1584
+ e == null || e.setValue(n, (p = []) => v ? Ce(p, s, !0) : p);
1585
+ }, [e, n, s, v]), $(() => {
1586
+ a !== void 0 && (e == null || e.setValue(n, (p) => Ce(p, s, a)));
1587
+ }, [e, n, s, a]);
1602
1588
  const f = Me({
1603
- value: t.useState((p) => p.values[n]),
1589
+ value: e.useState((p) => p.values[n]),
1604
1590
  setValue(p) {
1605
- t == null || t.setValue(n, () => {
1591
+ e == null || e.setValue(n, () => {
1606
1592
  if (a === void 0) return p;
1607
1593
  const l = Ce(p, s, a);
1608
- return !Array.isArray(l) || !Array.isArray(p) ? l : Lt(p, l) ? p : l;
1594
+ return !Array.isArray(l) || !Array.isArray(p) ? l : Rt(p, l) ? p : l;
1609
1595
  });
1610
1596
  }
1611
1597
  });
@@ -1616,21 +1602,21 @@ var An = C(
1616
1602
  name: n,
1617
1603
  value: s,
1618
1604
  checked: a
1619
- }, i)), i = ct(d({ store: t, hideOnClick: u }, i)), i;
1605
+ }, i)), i = ut(d({ store: e, hideOnClick: u }, i)), i;
1620
1606
  }
1621
- ), Ka = V(
1622
- h(function(e) {
1623
- const o = An(e);
1624
- return g(Ln, o);
1607
+ ), Ba = V(
1608
+ g(function(t) {
1609
+ const o = Rn(t);
1610
+ return P(wn, o);
1625
1611
  })
1626
- ), Hn = "div";
1627
- function he(r, e, o) {
1628
- return o === void 0 ? r : o ? e : r;
1612
+ ), Vn = "div";
1613
+ function he(r, t, o) {
1614
+ return o === void 0 ? r : o ? t : r;
1629
1615
  }
1630
- var Bn = C(
1631
- function(e) {
1632
- var o = e, {
1633
- store: t,
1616
+ var On = x(
1617
+ function(t) {
1618
+ var o = t, {
1619
+ store: e,
1634
1620
  name: n,
1635
1621
  value: s,
1636
1622
  checked: a,
@@ -1645,20 +1631,20 @@ var Bn = C(
1645
1631
  "hideOnClick"
1646
1632
  ]);
1647
1633
  const m = Ne();
1648
- t = t || m, _(
1649
- t,
1634
+ e = e || m, _(
1635
+ e,
1650
1636
  process.env.NODE_ENV !== "production" && "MenuItemRadio must be wrapped in a MenuList or Menu component"
1651
1637
  );
1652
1638
  const v = Se(i.defaultChecked);
1653
1639
  $(() => {
1654
- t == null || t.setValue(n, (p = !1) => he(p, s, v));
1655
- }, [t, n, s, v]), $(() => {
1656
- a !== void 0 && (t == null || t.setValue(n, (p) => he(p, s, a)));
1657
- }, [t, n, s, a]);
1658
- const f = t.useState((p) => p.values[n] === s);
1640
+ e == null || e.setValue(n, (p = !1) => he(p, s, v));
1641
+ }, [e, n, s, v]), $(() => {
1642
+ a !== void 0 && (e == null || e.setValue(n, (p) => he(p, s, a)));
1643
+ }, [e, n, s, a]);
1644
+ const f = e.useState((p) => p.values[n] === s);
1659
1645
  return i = X(
1660
1646
  i,
1661
- (p) => /* @__PURE__ */ I(it.Provider, { value: !!f, children: p }),
1647
+ (p) => /* @__PURE__ */ I(at.Provider, { value: !!f, children: p }),
1662
1648
  [f]
1663
1649
  ), i = d({
1664
1650
  role: "menuitemradio"
@@ -1669,39 +1655,39 @@ var Bn = C(
1669
1655
  onChange(p) {
1670
1656
  if (c == null || c(p), p.defaultPrevented) return;
1671
1657
  const l = p.currentTarget;
1672
- t == null || t.setValue(n, (b) => he(b, s, a ?? l.checked));
1658
+ e == null || e.setValue(n, (b) => he(b, s, a ?? l.checked));
1673
1659
  }
1674
- }, i)), i = ct(d({ store: t, hideOnClick: u }, i)), i;
1660
+ }, i)), i = ut(d({ store: e, hideOnClick: u }, i)), i;
1675
1661
  }
1676
- ), za = V(
1677
- h(function(e) {
1678
- const o = Bn(e);
1679
- return g(Hn, o);
1662
+ ), Ga = V(
1663
+ g(function(t) {
1664
+ const o = On(t);
1665
+ return P(Vn, o);
1680
1666
  })
1681
1667
  );
1682
- function Xa(r = {}) {
1683
- const e = Me(r);
1684
- return /* @__PURE__ */ I(Mr, { value: e, children: r.children });
1668
+ function ja(r = {}) {
1669
+ const t = Me(r);
1670
+ return /* @__PURE__ */ I(yr, { value: t, children: r.children });
1685
1671
  }
1686
- var Gn = "div", jn = C(
1687
- function(e) {
1688
- var o = e, { store: t } = o, n = k(o, ["store"]);
1689
- const s = qt();
1690
- return t = t || s, n = X(
1672
+ var Ln = "div", An = x(
1673
+ function(t) {
1674
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1675
+ const s = Ut();
1676
+ return e = e || s, n = X(
1691
1677
  n,
1692
- (a) => /* @__PURE__ */ I(Je, { value: t, children: a }),
1693
- [t]
1678
+ (a) => /* @__PURE__ */ I(Je, { value: e, children: a }),
1679
+ [e]
1694
1680
  ), U(n);
1695
1681
  }
1696
- ), Ja = h(function(e) {
1697
- const o = jn(e);
1698
- return g(Gn, o);
1682
+ ), Ua = g(function(t) {
1683
+ const o = An(t);
1684
+ return P(Ln, o);
1699
1685
  });
1700
- function Qa(r = {}) {
1701
- const e = Xt(r);
1702
- return /* @__PURE__ */ I(Qe, { value: e, children: r.children });
1686
+ function Wa(r = {}) {
1687
+ const t = Kt(r);
1688
+ return /* @__PURE__ */ I(Qe, { value: t, children: r.children });
1703
1689
  }
1704
- var Un = "button", Wn = /* @__PURE__ */ Xe(
1690
+ var Hn = "button", Bn = /* @__PURE__ */ Xe(
1705
1691
  "svg",
1706
1692
  {
1707
1693
  "aria-hidden": "true",
@@ -1720,26 +1706,26 @@ var Un = "button", Wn = /* @__PURE__ */ Xe(
1720
1706
  /* @__PURE__ */ I("line", { x1: "5", y1: "11", x2: "11", y2: "5" })
1721
1707
  ]
1722
1708
  }
1723
- ), qn = C(
1724
- function(e) {
1725
- var o = e, { store: t, hideWhenEmpty: n } = o, s = k(o, ["store", "hideWhenEmpty"]);
1709
+ ), Gn = x(
1710
+ function(t) {
1711
+ var o = t, { store: e, hideWhenEmpty: n } = o, s = k(o, ["store", "hideWhenEmpty"]);
1726
1712
  const a = ke();
1727
- t = t || a, _(
1728
- t,
1713
+ e = e || a, _(
1714
+ e,
1729
1715
  process.env.NODE_ENV !== "production" && "ComboboxCancel must receive a `store` prop or be wrapped in a ComboboxProvider component."
1730
1716
  );
1731
1717
  const c = s.onClick, u = E((v) => {
1732
- c == null || c(v), !v.defaultPrevented && (t == null || t.setValue(""), t == null || t.move(null));
1733
- }), i = t.useState((v) => {
1718
+ c == null || c(v), !v.defaultPrevented && (e == null || e.setValue(""), e == null || e.move(null));
1719
+ }), i = e.useState((v) => {
1734
1720
  var f;
1735
1721
  return (f = v.baseElement) == null ? void 0 : f.id;
1736
- }), m = t.useState((v) => v.value === "");
1722
+ }), m = e.useState((v) => v.value === "");
1737
1723
  return s = X(
1738
1724
  s,
1739
- (v) => n && m ? /* @__PURE__ */ I(Bt, {}) : v,
1725
+ (v) => n && m ? /* @__PURE__ */ I(At, {}) : v,
1740
1726
  [n, m]
1741
1727
  ), s = D(d({
1742
- children: Wn,
1728
+ children: Bn,
1743
1729
  "aria-label": "Clear input",
1744
1730
  // This aria-controls will ensure the combobox popup remains visible when
1745
1731
  // this element gets focused. This logic is done in the ComboboxPopover
@@ -1749,10 +1735,10 @@ var Un = "button", Wn = /* @__PURE__ */ Xe(
1749
1735
  onClick: u
1750
1736
  }), s = re(s), s;
1751
1737
  }
1752
- ), Ya = h(function(e) {
1753
- const o = qn(e);
1754
- return g(Un, o);
1755
- }), Kn = "button", zn = /* @__PURE__ */ I(
1738
+ ), qa = g(function(t) {
1739
+ const o = Gn(t);
1740
+ return P(Hn, o);
1741
+ }), jn = "button", Un = /* @__PURE__ */ I(
1756
1742
  "svg",
1757
1743
  {
1758
1744
  "aria-hidden": "true",
@@ -1768,74 +1754,74 @@ var Un = "button", Wn = /* @__PURE__ */ Xe(
1768
1754
  pointerEvents: "none",
1769
1755
  children: /* @__PURE__ */ I("polyline", { points: "4,6 8,10 12,6" })
1770
1756
  }
1771
- ), Xn = C(function(e) {
1772
- var o = e, { store: t } = o, n = k(o, ["store"]);
1757
+ ), Wn = x(function(t) {
1758
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1773
1759
  const s = ke();
1774
- t = t || s, _(
1775
- t,
1760
+ e = e || s, _(
1761
+ e,
1776
1762
  process.env.NODE_ENV !== "production" && "ComboboxDisclosure must receive a `store` prop or be wrapped in a ComboboxProvider component."
1777
1763
  );
1778
1764
  const a = n.onMouseDown, c = E((v) => {
1779
- a == null || a(v), v.preventDefault(), t == null || t.move(null);
1765
+ a == null || a(v), v.preventDefault(), e == null || e.move(null);
1780
1766
  }), u = n.onClick, i = E((v) => {
1781
- if (u == null || u(v), v.defaultPrevented || !t) return;
1782
- const { baseElement: f } = t.getState();
1783
- t.setDisclosureElement(f);
1784
- }), m = t.useState("open");
1767
+ if (u == null || u(v), v.defaultPrevented || !e) return;
1768
+ const { baseElement: f } = e.getState();
1769
+ e.setDisclosureElement(f);
1770
+ }), m = e.useState("open");
1785
1771
  return n = D(d({
1786
- children: zn,
1772
+ children: Un,
1787
1773
  tabIndex: -1,
1788
1774
  "aria-label": m ? "Hide popup" : "Show popup",
1789
1775
  "aria-expanded": m
1790
1776
  }, n), {
1791
1777
  onMouseDown: c,
1792
1778
  onClick: i
1793
- }), n = et(d({ store: t }, n)), n;
1794
- }), Za = h(function(e) {
1795
- const o = Xn(e);
1796
- return g(Kn, o);
1797
- }), Jn = "span";
1779
+ }), n = et(d({ store: e }, n)), n;
1780
+ }), Ka = g(function(t) {
1781
+ const o = Wn(t);
1782
+ return P(jn, o);
1783
+ }), qn = "span";
1798
1784
  function Ae(r) {
1799
- return Ot(r).toLowerCase();
1785
+ return Vt(r).toLowerCase();
1800
1786
  }
1801
- function Qn(r, e) {
1787
+ function Kn(r, t) {
1802
1788
  const o = [];
1803
- for (const t of e) {
1789
+ for (const e of t) {
1804
1790
  let n = 0;
1805
- const s = t.length;
1806
- for (; r.indexOf(t, n) !== -1; ) {
1807
- const a = r.indexOf(t, n);
1791
+ const s = e.length;
1792
+ for (; r.indexOf(e, n) !== -1; ) {
1793
+ const a = r.indexOf(e, n);
1808
1794
  a !== -1 && o.push([a, s]), n = a + 1;
1809
1795
  }
1810
1796
  }
1811
1797
  return o;
1812
1798
  }
1813
- function Yn(r) {
1814
- return r.filter(([e, o], t, n) => !n.some(
1815
- ([s, a], c) => c !== t && s <= e && s + a >= e + o
1799
+ function zn(r) {
1800
+ return r.filter(([t, o], e, n) => !n.some(
1801
+ ([s, a], c) => c !== e && s <= t && s + a >= t + o
1816
1802
  ));
1817
1803
  }
1818
- function Zn(r) {
1819
- return r.sort(([e], [o]) => e - o);
1804
+ function Xn(r) {
1805
+ return r.sort(([t], [o]) => t - o);
1820
1806
  }
1821
- function es(r, e) {
1822
- if (!r || !e) return r;
1823
- const o = Yt(e).filter(Boolean).map(Ae), t = [], n = (u, i = !1) => /* @__PURE__ */ I(
1807
+ function Jn(r, t) {
1808
+ if (!r || !t) return r;
1809
+ const o = Jt(t).filter(Boolean).map(Ae), e = [], n = (u, i = !1) => /* @__PURE__ */ I(
1824
1810
  "span",
1825
1811
  {
1826
1812
  "data-autocomplete-value": i ? "" : void 0,
1827
1813
  "data-user-value": i ? void 0 : "",
1828
1814
  children: u
1829
1815
  },
1830
- t.length
1831
- ), s = Zn(
1832
- Yn(
1816
+ e.length
1817
+ ), s = Xn(
1818
+ zn(
1833
1819
  // Convert userValues into a set to avoid duplicates
1834
- Qn(Ae(r), new Set(o))
1820
+ Kn(Ae(r), new Set(o))
1835
1821
  )
1836
1822
  );
1837
1823
  if (!s.length)
1838
- return t.push(n(r, !0)), t;
1824
+ return e.push(n(r, !0)), e;
1839
1825
  const [a] = s[0];
1840
1826
  return [
1841
1827
  r.slice(0, a),
@@ -1845,32 +1831,32 @@ function es(r, e) {
1845
1831
  return [f, l];
1846
1832
  })
1847
1833
  ].forEach((u, i) => {
1848
- u && t.push(n(u, i % 2 === 0));
1849
- }), t;
1834
+ u && e.push(n(u, i % 2 === 0));
1835
+ }), e;
1850
1836
  }
1851
- var ts = C(function(e) {
1852
- var o = e, { store: t, value: n, userValue: s } = o, a = k(o, ["store", "value", "userValue"]);
1837
+ var Qn = x(function(t) {
1838
+ var o = t, { store: e, value: n, userValue: s } = o, a = k(o, ["store", "value", "userValue"]);
1853
1839
  const c = Fe();
1854
- t = t || c;
1855
- const u = ne(Jt), i = n ?? u, m = ce(t, (f) => s ?? (f == null ? void 0 : f.value)), v = ze(() => {
1840
+ e = e || c;
1841
+ const u = ne(zt), i = n ?? u, m = ce(e, (f) => s ?? (f == null ? void 0 : f.value)), v = ze(() => {
1856
1842
  if (i)
1857
- return m ? es(i, m) : i;
1843
+ return m ? Jn(i, m) : i;
1858
1844
  }, [i, m]);
1859
1845
  return a = d({
1860
1846
  children: v
1861
1847
  }, a), U(a);
1862
- }), eu = h(function(e) {
1863
- const o = ts(e);
1864
- return g(Jn, o);
1865
- }), os = "label", rs = C(
1866
- function(e) {
1867
- var o = e, { store: t } = o, n = k(o, ["store"]);
1848
+ }), za = g(function(t) {
1849
+ const o = Qn(t);
1850
+ return P(qn, o);
1851
+ }), Yn = "label", Zn = x(
1852
+ function(t) {
1853
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1868
1854
  const s = ke();
1869
- t = t || s, _(
1870
- t,
1855
+ e = e || s, _(
1856
+ e,
1871
1857
  process.env.NODE_ENV !== "production" && "ComboboxLabel must receive a `store` prop or be wrapped in a ComboboxProvider component."
1872
1858
  );
1873
- const a = t.useState((c) => {
1859
+ const a = e.useState((c) => {
1874
1860
  var u;
1875
1861
  return (u = c.baseElement) == null ? void 0 : u.id;
1876
1862
  });
@@ -1878,58 +1864,58 @@ var ts = C(function(e) {
1878
1864
  htmlFor: a
1879
1865
  }, n), U(n);
1880
1866
  }
1881
- ), tu = V(
1882
- h(function(e) {
1883
- const o = rs(e);
1884
- return g(os, o);
1867
+ ), Xa = V(
1868
+ g(function(t) {
1869
+ const o = Zn(t);
1870
+ return P(Yn, o);
1885
1871
  })
1886
- ), ns = "div", ss = C(
1887
- function(e) {
1888
- var o = e, { store: t } = o, n = k(o, ["store"]);
1872
+ ), es = "div", ts = x(
1873
+ function(t) {
1874
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1889
1875
  const s = Fe();
1890
- t = t || s, _(
1891
- t,
1876
+ e = e || s, _(
1877
+ e,
1892
1878
  process.env.NODE_ENV !== "production" && "ComboboxRow must be wrapped in a ComboboxList or ComboboxPopover component"
1893
1879
  );
1894
- const a = t.useState("contentElement"), u = Ue(a) === "grid" ? "row" : "presentation";
1895
- return n = d({ role: u }, n), n = tt(d({ store: t }, n)), n;
1880
+ const a = e.useState("contentElement"), u = Ue(a) === "grid" ? "row" : "presentation";
1881
+ return n = d({ role: u }, n), n = tt(d({ store: e }, n)), n;
1896
1882
  }
1897
- ), ou = h(function(e) {
1898
- const o = ss(e);
1899
- return g(ns, o);
1900
- }), as = "hr", us = C(function(e) {
1901
- var o = e, { store: t } = o, n = k(o, ["store"]);
1883
+ ), Ja = g(function(t) {
1884
+ const o = ts(t);
1885
+ return P(es, o);
1886
+ }), os = "hr", rs = x(function(t) {
1887
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1902
1888
  const s = Fe();
1903
- return t = t || s, _(
1904
- t,
1889
+ return e = e || s, _(
1890
+ e,
1905
1891
  process.env.NODE_ENV !== "production" && "ComboboxSeparator must be wrapped in a ComboboxList or ComboboxPopover component."
1906
- ), n = ot(d({ store: t }, n)), n;
1907
- }), ru = h(function(e) {
1908
- const o = us(e);
1909
- return g(as, o);
1892
+ ), n = ot(d({ store: e }, n)), n;
1893
+ }), Qa = g(function(t) {
1894
+ const o = rs(t);
1895
+ return P(os, o);
1910
1896
  });
1911
- function nu({ store: r, children: e } = {}) {
1912
- const o = Qt();
1897
+ function Ya({ store: r, children: t } = {}) {
1898
+ const o = Xt();
1913
1899
  r = r || o, _(
1914
1900
  r,
1915
1901
  process.env.NODE_ENV !== "production" && "ComboboxValue must receive a `store` prop or be wrapped in a ComboboxProvider component."
1916
1902
  );
1917
- const t = r.useState("value");
1918
- return e ? e(t) : t;
1903
+ const e = r.useState("value");
1904
+ return t ? t(e) : e;
1919
1905
  }
1920
- function su(r = {}) {
1921
- const e = io(r);
1922
- return /* @__PURE__ */ I(so, { value: e, children: r.children });
1906
+ function Za(r = {}) {
1907
+ const t = io(r);
1908
+ return /* @__PURE__ */ I(so, { value: t, children: r.children });
1923
1909
  }
1924
- var is = "label", cs = C(
1925
- function(e) {
1926
- var o = e, { store: t } = o, n = k(o, ["store"]);
1927
- const s = yt();
1928
- t = t || s, _(
1929
- t,
1910
+ var ns = "label", ss = x(
1911
+ function(t) {
1912
+ var o = t, { store: e } = o, n = k(o, ["store"]);
1913
+ const s = Nt();
1914
+ e = e || s, _(
1915
+ e,
1930
1916
  process.env.NODE_ENV !== "production" && "TagListLabel must receive a `store` prop or be wrapped in a TagProvider component."
1931
1917
  );
1932
- const a = W(n.id), c = t.useState((u) => {
1918
+ const a = W(n.id), c = e.useState((u) => {
1933
1919
  var i;
1934
1920
  return (i = u.inputElement) == null ? void 0 : i.id;
1935
1921
  });
@@ -1937,197 +1923,197 @@ var is = "label", cs = C(
1937
1923
  id: a,
1938
1924
  htmlFor: c
1939
1925
  }, n), {
1940
- ref: A(t.setLabelElement, n.ref)
1926
+ ref: A(e.setLabelElement, n.ref)
1941
1927
  }), n;
1942
1928
  }
1943
- ), au = h(function(e) {
1944
- const o = cs(e);
1945
- return g(is, o);
1929
+ ), eu = g(function(t) {
1930
+ const o = ss(t);
1931
+ return P(ns, o);
1946
1932
  });
1947
1933
  export {
1948
- Nu as Button,
1949
- pa as Checkbox,
1950
- cu as CheckboxCheck,
1951
- Xa as CheckboxProvider,
1952
- Ja as Collection,
1953
- wu as CollectionItem,
1954
- Qa as CollectionProvider,
1955
- Pu as Combobox,
1956
- Ya as ComboboxCancel,
1957
- Za as ComboboxDisclosure,
1958
- Bu as ComboboxGroup,
1959
- Gu as ComboboxGroupLabel,
1960
- Uu as ComboboxItem,
1961
- lu as ComboboxItemCheck,
1962
- eu as ComboboxItemValue,
1963
- tu as ComboboxLabel,
1964
- Su as ComboboxList,
1965
- qu as ComboboxPopover,
1966
- ku as ComboboxProvider,
1967
- ou as ComboboxRow,
1968
- ru as ComboboxSeparator,
1969
- nu as ComboboxValue,
1970
- Eu as Command,
1971
- Zu as Composite,
1972
- ti as CompositeGroup,
1973
- oi as CompositeGroupLabel,
1974
- ai as CompositeHover,
1975
- ii as CompositeItem,
1976
- li as CompositeProvider,
1977
- zu as CompositeRow,
1978
- Ju as CompositeSeparator,
1979
- mi as CompositeTypeahead,
1980
- fi as Dialog,
1981
- Js as DialogDescription,
1982
- Lu as DialogDisclosure,
1983
- Ti as DialogDismiss,
1984
- Ni as DialogHeading,
1985
- su as DialogProvider,
1986
- Du as Disclosure,
1987
- Ei as DisclosureContent,
1988
- _i as DisclosureProvider,
1934
+ gu as Button,
1935
+ ca as Checkbox,
1936
+ ru as CheckboxCheck,
1937
+ ja as CheckboxProvider,
1938
+ Ua as Collection,
1939
+ Du as CollectionItem,
1940
+ Wa as CollectionProvider,
1941
+ pu as Combobox,
1942
+ qa as ComboboxCancel,
1943
+ Ka as ComboboxDisclosure,
1944
+ Ru as ComboboxGroup,
1945
+ Vu as ComboboxGroupLabel,
1946
+ Lu as ComboboxItem,
1947
+ nu as ComboboxItemCheck,
1948
+ za as ComboboxItemValue,
1949
+ Xa as ComboboxLabel,
1950
+ bu as ComboboxList,
1951
+ Hu as ComboboxPopover,
1952
+ Cu as ComboboxProvider,
1953
+ Ja as ComboboxRow,
1954
+ Qa as ComboboxSeparator,
1955
+ Ya as ComboboxValue,
1956
+ ku as Command,
1957
+ Ku as Composite,
1958
+ Xu as CompositeGroup,
1959
+ Ju as CompositeGroupLabel,
1960
+ ei as CompositeHover,
1961
+ oi as CompositeItem,
1962
+ ni as CompositeProvider,
1963
+ Gu as CompositeRow,
1964
+ Uu as CompositeSeparator,
1965
+ ai as CompositeTypeahead,
1966
+ ii as Dialog,
1967
+ qs as DialogDescription,
1968
+ _u as DialogDisclosure,
1969
+ xi as DialogDismiss,
1970
+ gi as DialogHeading,
1971
+ Za as DialogProvider,
1972
+ Pu as Disclosure,
1973
+ ki as DisclosureContent,
1974
+ Ti as DisclosureProvider,
1989
1975
  oo as FocusTrap,
1990
- da as FocusTrapRegion,
1991
- wi as Focusable,
1992
- ma as Form,
1993
- ba as FormCheckbox,
1994
- fa as FormControl,
1995
- Ca as FormDescription,
1996
- ha as FormError,
1997
- ga as FormField,
1998
- Pa as FormGroup,
1999
- xa as FormGroupLabel,
2000
- Sa as FormInput,
2001
- ka as FormLabel,
2002
- va as FormProvider,
2003
- Fa as FormPush,
2004
- Na as FormRadio,
2005
- Ta as FormRadioGroup,
2006
- Da as FormRemove,
2007
- ya as FormReset,
2008
- Ea as FormSubmit,
2009
- ri as Group,
2010
- ni as GroupLabel,
2011
- Di as Heading,
2012
- pi as HeadingLevel,
2013
- Ri as Hovercard,
2014
- Vi as HovercardAnchor,
2015
- _a as HovercardArrow,
2016
- Ma as HovercardDescription,
2017
- wa as HovercardDisclosure,
2018
- $a as HovercardDismiss,
2019
- Ra as HovercardHeading,
2020
- Ia as HovercardProvider,
2021
- zi as Menu,
2022
- Aa as MenuArrow,
2023
- La as MenuBar,
2024
- Oa as MenuBarProvider,
2025
- Xi as MenuButton,
2026
- Ha as MenuButtonArrow,
2027
- Ba as MenuDescription,
2028
- Ga as MenuDismiss,
2029
- Ua as MenuGroup,
2030
- ja as MenuGroupLabel,
2031
- Wa as MenuHeading,
2032
- mc as MenuItem,
2033
- qa as MenuItemCheck,
2034
- Ka as MenuItemCheckbox,
2035
- za as MenuItemRadio,
2036
- Ji as MenuList,
2037
- Qi as MenuProvider,
2038
- fc as MenuSeparator,
2039
- Xs as Menubar,
2040
- Lo as MenubarProvider,
2041
- bi as Popover,
2042
- Ou as PopoverAnchor,
2043
- Oi as PopoverArrow,
2044
- Qs as PopoverDescription,
2045
- Au as PopoverDisclosure,
2046
- rc as PopoverDisclosureArrow,
2047
- Ys as PopoverDismiss,
2048
- Zs as PopoverHeading,
2049
- bc as PopoverProvider,
2050
- Ci as Portal,
2051
- hi as PortalContext,
2052
- ea as Radio,
2053
- oa as RadioGroup,
2054
- ta as RadioProvider,
2055
- gi as Role,
2056
- nc as Select,
2057
- sc as SelectArrow,
2058
- ra as SelectDismiss,
2059
- sa as SelectGroup,
2060
- na as SelectGroupLabel,
2061
- aa as SelectHeading,
2062
- ac as SelectItem,
2063
- ua as SelectItemCheck,
2064
- ia as SelectLabel,
2065
- uc as SelectList,
2066
- ic as SelectPopover,
2067
- cc as SelectProvider,
2068
- ca as SelectRow,
2069
- la as SelectSeparator,
2070
- hc as SelectValue,
2071
- Qu as Separator,
2072
- xc as Tab,
2073
- Sc as TabList,
2074
- Fc as TabPanel,
2075
- Nc as TabProvider,
2076
- du as Tag,
2077
- mu as TagInput,
2078
- vu as TagList,
2079
- au as TagListLabel,
2080
- fu as TagProvider,
2081
- pu as TagRemove,
2082
- Ec as Toolbar,
2083
- Ks as ToolbarContainer,
2084
- zs as ToolbarInput,
2085
- _c as ToolbarItem,
2086
- qs as ToolbarProvider,
2087
- wc as ToolbarSeparator,
2088
- Ai as Tooltip,
2089
- Hi as TooltipAnchor,
2090
- Bi as TooltipArrow,
2091
- Gi as TooltipProvider,
2092
- xi as VisuallyHidden,
2093
- _r as useCheckboxContext,
1976
+ sa as FocusTrapRegion,
1977
+ Di as Focusable,
1978
+ aa as Form,
1979
+ la as FormCheckbox,
1980
+ ia as FormControl,
1981
+ da as FormDescription,
1982
+ ma as FormError,
1983
+ va as FormField,
1984
+ pa as FormGroup,
1985
+ fa as FormGroupLabel,
1986
+ ba as FormInput,
1987
+ Ca as FormLabel,
1988
+ ua as FormProvider,
1989
+ ha as FormPush,
1990
+ ga as FormRadio,
1991
+ xa as FormRadioGroup,
1992
+ Pa as FormRemove,
1993
+ Sa as FormReset,
1994
+ ka as FormSubmit,
1995
+ Qu as Group,
1996
+ Yu as GroupLabel,
1997
+ Pi as Heading,
1998
+ ci as HeadingLevel,
1999
+ Ei as Hovercard,
2000
+ Ii as HovercardAnchor,
2001
+ Ta as HovercardArrow,
2002
+ Na as HovercardDescription,
2003
+ Da as HovercardDisclosure,
2004
+ ya as HovercardDismiss,
2005
+ Ea as HovercardHeading,
2006
+ Fa as HovercardProvider,
2007
+ Gi as Menu,
2008
+ wa as MenuArrow,
2009
+ _a as MenuBar,
2010
+ Ma as MenuBarProvider,
2011
+ ji as MenuButton,
2012
+ $a as MenuButtonArrow,
2013
+ Ra as MenuDescription,
2014
+ Va as MenuDismiss,
2015
+ La as MenuGroup,
2016
+ Oa as MenuGroupLabel,
2017
+ Aa as MenuHeading,
2018
+ ic as MenuItem,
2019
+ Ha as MenuItemCheck,
2020
+ Ba as MenuItemCheckbox,
2021
+ Ga as MenuItemRadio,
2022
+ Ui as MenuList,
2023
+ Wi as MenuProvider,
2024
+ lc as MenuSeparator,
2025
+ Ws as Menubar,
2026
+ Oo as MenubarProvider,
2027
+ li as Popover,
2028
+ Mu as PopoverAnchor,
2029
+ Mi as PopoverArrow,
2030
+ Ks as PopoverDescription,
2031
+ wu as PopoverDisclosure,
2032
+ Qi as PopoverDisclosureArrow,
2033
+ zs as PopoverDismiss,
2034
+ Xs as PopoverHeading,
2035
+ mc as PopoverProvider,
2036
+ di as Portal,
2037
+ mi as PortalContext,
2038
+ Js as Radio,
2039
+ Ys as RadioGroup,
2040
+ Qs as RadioProvider,
2041
+ vi as Role,
2042
+ Yi as Select,
2043
+ Zi as SelectArrow,
2044
+ Zs as SelectDismiss,
2045
+ ec as SelectGroup,
2046
+ tc as SelectGroupLabel,
2047
+ ea as SelectHeading,
2048
+ oc as SelectItem,
2049
+ ta as SelectItemCheck,
2050
+ oa as SelectLabel,
2051
+ rc as SelectList,
2052
+ nc as SelectPopover,
2053
+ sc as SelectProvider,
2054
+ ra as SelectRow,
2055
+ na as SelectSeparator,
2056
+ fc as SelectValue,
2057
+ Wu as Separator,
2058
+ bc as Tab,
2059
+ hc as TabList,
2060
+ gc as TabPanel,
2061
+ Sc as TabProvider,
2062
+ su as Tag,
2063
+ au as TagInput,
2064
+ uu as TagList,
2065
+ eu as TagListLabel,
2066
+ iu as TagProvider,
2067
+ cu as TagRemove,
2068
+ Tc as Toolbar,
2069
+ js as ToolbarContainer,
2070
+ Us as ToolbarInput,
2071
+ Dc as ToolbarItem,
2072
+ Gs as ToolbarProvider,
2073
+ Ec as ToolbarSeparator,
2074
+ wi as Tooltip,
2075
+ $i as TooltipAnchor,
2076
+ Ri as TooltipArrow,
2077
+ Vi as TooltipProvider,
2078
+ fi as VisuallyHidden,
2079
+ Dr as useCheckboxContext,
2094
2080
  Me as useCheckboxStore,
2095
- _u as useCollectionContext,
2096
- Xt as useCollectionStore,
2097
- Qt as useComboboxContext,
2098
- Fu as useComboboxStore,
2099
- jt as useCompositeContext,
2100
- Ru as useCompositeStore,
2101
- Si as useDialogContext,
2081
+ Tu as useCollectionContext,
2082
+ Kt as useCollectionStore,
2083
+ Xt as useComboboxContext,
2084
+ hu as useComboboxStore,
2085
+ Bt as useCompositeContext,
2086
+ Eu as useCompositeStore,
2087
+ bi as useDialogContext,
2102
2088
  io as useDialogStore,
2103
- ki as useDisclosureContext,
2104
- Rc as useDisclosureStore,
2089
+ Ci as useDisclosureContext,
2090
+ _c as useDisclosureStore,
2105
2091
  H as useFormContext,
2106
- Pr as useFormStore,
2092
+ Cr as useFormStore,
2107
2093
  fo as useHovercardContext,
2108
2094
  mo as useHovercardStore,
2109
- ec as useMenuBarContext,
2110
- Va as useMenuBarStore,
2111
- ut as useMenuContext,
2112
- Yi as useMenuStore,
2113
- tc as useMenubarContext,
2095
+ zi as useMenuBarContext,
2096
+ Ia as useMenuBarStore,
2097
+ st as useMenuContext,
2098
+ qi as useMenuStore,
2099
+ Xi as useMenubarContext,
2114
2100
  De as useMenubarStore,
2115
- qi as usePopoverContext,
2116
- Lc as usePopoverStore,
2101
+ Hi as usePopoverContext,
2102
+ wc as usePopoverStore,
2117
2103
  Wo as useRadioContext,
2118
2104
  Uo as useRadioStore,
2119
- lt as useSelectContext,
2120
- lc as useSelectStore,
2105
+ it as useSelectContext,
2106
+ ac as useSelectStore,
2121
2107
  ce as useStoreState,
2122
- Ac as useTabContext,
2123
- Dc as useTabStore,
2124
- bu as useTag,
2125
- Cu as useTagInput,
2126
- hu as useTagList,
2127
- cs as useTagListLabel,
2128
- gu as useTagRemove,
2129
- mt as useToolbarContext,
2108
+ Rc as useTabContext,
2109
+ kc as useTabStore,
2110
+ lu as useTag,
2111
+ du as useTagInput,
2112
+ mu as useTagList,
2113
+ ss as useTagListLabel,
2114
+ vu as useTagRemove,
2115
+ lt as useToolbarContext,
2130
2116
  No as useToolbarStore,
2131
- ji as useTooltipContext,
2132
- Ui as useTooltipStore
2117
+ Oi as useTooltipContext,
2118
+ Li as useTooltipStore
2133
2119
  };