@wrdagency/blockout 1.0.15 → 1.0.18

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