@wrdagency/blockout 1.0.5 → 1.0.7

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 (196) hide show
  1. package/dist/2NBKRL7C-CzwWfv1x.js +76 -0
  2. package/dist/2RSXSRCN-rMUAytae.js +61 -0
  3. package/dist/{4CMBR7SL-xNGezbCB.js → 4CMBR7SL-ChJnawVl.js} +132 -126
  4. package/dist/{5JTVDSTH-CIreO5bC.js → 5JTVDSTH-DcfjjEya.js} +4 -4
  5. package/dist/{5VQZOHHZ-CNzYHc1X.js → 5VQZOHHZ-BN-teS5E.js} +1 -1
  6. package/dist/{6VRAQV3D-BoLhl3hf.js → 6VRAQV3D-DK_p41oq.js} +6 -6
  7. package/dist/A3WPL2ZJ-CpUtG5Sk.js +12 -0
  8. package/dist/{BM6PGYQY-Bhr7peim.js → BM6PGYQY-CkMwDqt0.js} +2 -2
  9. package/dist/Check.es-CMkTf2It.js +38 -0
  10. package/dist/{DG5U6ZEL-C7eLVyh-.js → DG5U6ZEL-GfwW2sqh.js} +3 -3
  11. package/dist/EM5CXX6A-C74NAQPE.js +13 -0
  12. package/dist/{F5MUBM3I-_HauDyEF.js → F5MUBM3I-BbDMTUwx.js} +24 -24
  13. package/dist/{G7GW6PWC-Crp1Jn-8.js → G7GW6PWC-A0eDeXMt.js} +100 -96
  14. package/dist/IWEFDH56-CvOsIcbb.js +19 -0
  15. package/dist/{J2LQO3EC-CcHJqN0I.js → J2LQO3EC-DYtZQQv6.js} +4 -3
  16. package/dist/{KFH4SEIX-D-fCkpQv.js → KFH4SEIX-BFT9WmYk.js} +3 -3
  17. package/dist/{LMDWO4NN-DdLnHzru.js → LMDWO4NN-CIZvvtic.js} +233 -203
  18. package/dist/MAXQOH4L-DBaf8WKp.js +564 -0
  19. package/dist/MR26YJYP-DacZIkgJ.js +287 -0
  20. package/dist/MTZPJQMC-DPwZ6caC.js +13 -0
  21. package/dist/{O2PQ2652-THp22K4G.js → O2PQ2652-D2GSkoLq.js} +6 -6
  22. package/dist/P7GR5CS5-5PtDURPc.js +24 -0
  23. package/dist/{PFRGBC2K-DUhGSIey.js → PFRGBC2K-B9ko--FF.js} +34 -33
  24. package/dist/Plus.es-DJ5SuqNv.js +38 -0
  25. package/dist/RS7LB2H4-BvDKQaCt.js +18 -0
  26. package/dist/RZ4GPYOB-COPqjbOz.js +37 -0
  27. package/dist/{S43UC3DV-erT1ucAd.js → S43UC3DV-CiBKpqp8.js} +3 -3
  28. package/dist/{T7VMP3TM-C-Aesx9K.js → T7VMP3TM-C0xl-w4G.js} +21 -21
  29. package/dist/TP7N7UIH-Dc0CLLi8.js +33 -0
  30. package/dist/{UQQRIHDV-DIXH69U3.js → UQQRIHDV-BBkcyl82.js} +17 -17
  31. package/dist/UYGDZTLQ-9uAEICxv.js +13 -0
  32. package/dist/VIIRIBF3-uvnIyICw.js +31 -0
  33. package/dist/WMYDSCNQ-D4CU76mX.js +61 -0
  34. package/dist/{WYCIER3C-S-jsj0wy.js → WYCIER3C-CaoIoaX7.js} +4 -4
  35. package/dist/{YV4JVR4I-BXEaRiAN.js → YV4JVR4I-w1-dnslS.js} +47 -47
  36. package/dist/assets/index10.css +1 -1
  37. package/dist/assets/index11.css +1 -1
  38. package/dist/assets/index12.css +1 -1
  39. package/dist/assets/index13.css +1 -1
  40. package/dist/assets/index14.css +1 -1
  41. package/dist/assets/index15.css +1 -1
  42. package/dist/assets/index16.css +1 -1
  43. package/dist/assets/index17.css +1 -1
  44. package/dist/assets/index4.css +1 -1
  45. package/dist/assets/style16.css +1 -1
  46. package/dist/assets/style17.css +1 -1
  47. package/dist/assets/style18.css +1 -1
  48. package/dist/assets/style19.css +1 -1
  49. package/dist/assets/style20.css +1 -1
  50. package/dist/assets/style21.css +1 -1
  51. package/dist/assets/style22.css +1 -1
  52. package/dist/assets/style23.css +1 -1
  53. package/dist/assets/style24.css +1 -1
  54. package/dist/assets/style25.css +1 -1
  55. package/dist/assets/style26.css +1 -1
  56. package/dist/assets/style27.css +1 -0
  57. package/dist/components/breadcrumbs/index.js +5 -5
  58. package/dist/components/button/row.js +4 -4
  59. package/dist/components/controls/base-popover-control/index.js +4 -4
  60. package/dist/components/controls/card-number-control/index.js +1 -1
  61. package/dist/components/controls/date-control/index.js +1 -1
  62. package/dist/components/controls/date-control/picker.js +5 -5
  63. package/dist/components/controls/index.d.ts +1 -0
  64. package/dist/components/controls/index.js +12 -10
  65. package/dist/components/controls/list-control/item.js +34 -67
  66. package/dist/components/controls/list-control/list.js +1 -1
  67. package/dist/components/controls/recurrence-control/index.js +19 -18
  68. package/dist/components/controls/select-control/control.js +26 -37
  69. package/dist/components/controls/select-control/select.js +62 -1129
  70. package/dist/components/controls/tag-control/ariakit-experimental.d.ts +7 -0
  71. package/dist/components/controls/tag-control/ariakit-experimental.js +2308 -0
  72. package/dist/components/controls/tag-control/index.d.ts +10 -0
  73. package/dist/components/controls/tag-control/index.js +137 -0
  74. package/dist/components/controls/tag-control/props.d.ts +20 -0
  75. package/dist/components/controls/tag-control/props.js +57 -0
  76. package/dist/components/controls/text-control/index.js +1 -1
  77. package/dist/components/data-view/data/apply.js +15 -15
  78. package/dist/components/data-view/data/filter.js +14 -12
  79. package/dist/components/data-view/index.js +1 -1
  80. package/dist/components/data-view/layouts/grid/empty.js +1 -1
  81. package/dist/components/data-view/layouts/grid/group.js +9 -7
  82. package/dist/components/data-view/layouts/grid/item.js +9 -7
  83. package/dist/components/data-view/layouts/grid/root.js +1 -1
  84. package/dist/components/data-view/layouts/kanban/empty.js +1 -1
  85. package/dist/components/data-view/layouts/kanban/group.js +9 -7
  86. package/dist/components/data-view/layouts/kanban/item.js +9 -7
  87. package/dist/components/data-view/layouts/kanban/root.js +1 -1
  88. package/dist/components/data-view/layouts/list/empty.js +1 -1
  89. package/dist/components/data-view/layouts/list/group.js +9 -7
  90. package/dist/components/data-view/layouts/list/item.js +9 -7
  91. package/dist/components/data-view/layouts/list/root.js +1 -1
  92. package/dist/components/data-view/layouts/table/empty.js +9 -7
  93. package/dist/components/data-view/layouts/table/group.js +10 -8
  94. package/dist/components/data-view/layouts/table/item.js +10 -8
  95. package/dist/components/data-view/layouts/table/root.js +9 -7
  96. package/dist/components/data-view/parts/body/index.js +11 -9
  97. package/dist/components/data-view/parts/controls/index.js +9 -7
  98. package/dist/components/data-view/parts/controls/search.js +9 -7
  99. package/dist/components/data-view/parts/filters/editor.js +8 -6
  100. package/dist/components/data-view/parts/filters/index.js +1 -1
  101. package/dist/components/data-view/parts/filters/list.js +39 -73
  102. package/dist/components/data-view/parts/footer/actions.js +9 -7
  103. package/dist/components/data-view/parts/footer/index.js +9 -7
  104. package/dist/components/data-view/parts/footer/selection.js +9 -7
  105. package/dist/components/data-view/parts/view-control/index.js +23 -21
  106. package/dist/components/data-view/root.js +9 -7
  107. package/dist/components/data-view/slots/group/checkbox.js +9 -7
  108. package/dist/components/data-view/slots/group/context.js +1 -1
  109. package/dist/components/data-view/slots/group/icon.js +1 -1
  110. package/dist/components/data-view/slots/group/index.js +1 -1
  111. package/dist/components/data-view/slots/group/label.js +1 -1
  112. package/dist/components/data-view/slots/index.js +3 -3
  113. package/dist/components/data-view/slots/item/actions.js +1 -1
  114. package/dist/components/data-view/slots/item/checkbox.js +9 -7
  115. package/dist/components/data-view/slots/item/depth.js +3 -3
  116. package/dist/components/data-view/slots/item/description.js +1 -1
  117. package/dist/components/data-view/slots/item/index.js +2 -2
  118. package/dist/components/data-view/slots/item/properties.js +2 -2
  119. package/dist/components/data-view/slots/item/relations.js +3 -3
  120. package/dist/components/data-view/slots/item/tags.js +1 -1
  121. package/dist/components/data-view/slots/item/thumbnail.js +1 -1
  122. package/dist/components/data-view/slots/item/title.js +1 -1
  123. package/dist/components/data-view/slots/item/util.js +2 -2
  124. package/dist/components/data-view/slots/property/field/editable.js +8 -6
  125. package/dist/components/data-view/slots/property/field/index.js +2 -2
  126. package/dist/components/data-view/slots/property/field/static.js +1 -1
  127. package/dist/components/data-view/slots/property/index.js +1 -1
  128. package/dist/components/data-view/slots/property/label.js +1 -1
  129. package/dist/components/data-view/slots/root/checkbox.js +8 -6
  130. package/dist/components/data-view/slots/root/index.js +1 -1
  131. package/dist/components/filesystem/file.js +1 -1
  132. package/dist/components/filesystem/folder.js +29 -80
  133. package/dist/components/filesystem/list.js +1 -1
  134. package/dist/components/filesystem/root.js +1 -1
  135. package/dist/components/index.js +41 -39
  136. package/dist/components/menu/index.js +14 -13
  137. package/dist/components/menu/item.js +1 -1
  138. package/dist/components/menu/items/action.js +1 -1
  139. package/dist/components/menu/items/spacer.js +4 -16
  140. package/dist/components/menu/items/submenu.js +4 -3
  141. package/dist/components/menu/items/toggle.js +1 -1
  142. package/dist/components/pagination/index.js +1 -1
  143. package/dist/components/tabs/list.js +8 -36
  144. package/dist/components/tabs/panel.js +13 -126
  145. package/dist/components/tabs/root.js +14 -166
  146. package/dist/components/tabs/tab.js +5 -79
  147. package/dist/components/toolbar/divider.js +7 -19
  148. package/dist/components/toolbar/index.js +10 -24
  149. package/dist/components/toolbar/root.js +5 -67
  150. package/dist/components/window/index.js +2 -2
  151. package/dist/{composite-provider-R5SnRc_G.js → composite-provider-B-M1AaRb.js} +2 -2
  152. package/dist/disclosure-provider-DW9RmAuE.js +61 -0
  153. package/dist/{filter-C-ZkRgt_.js → filter-GoxwLwkT.js} +14 -12
  154. package/dist/{index-DI0cEpya.js → index-C_xrLeQq.js} +20 -18
  155. package/dist/{index-BW-2OhmK.js → index-DJ2XZnew.js} +7 -5
  156. package/dist/{index-Bj4Ga50P.js → index-DpV0obFX.js} +6 -4
  157. package/dist/index.js +87 -85
  158. package/dist/item-CYpF0or4.js +58 -0
  159. package/dist/{style-tA0yiKCL.js → match-sorter.esm-MNVE8H_6.js} +1 -1
  160. package/dist/menu-button-D0chRxS0.js +416 -0
  161. package/dist/menu-separator-Cy38O3cZ.js +16 -0
  162. package/dist/{picker-BkmBjgWA.js → picker-BAQPD-c9.js} +4 -4
  163. package/dist/popover-provider-DZV1nb7Q.js +10 -0
  164. package/dist/primitives/popover/index.js +2 -2
  165. package/dist/primitives/popover/root.js +12 -3
  166. package/dist/primitives/popover/target.js +1 -1
  167. package/dist/primitives/popover/window.js +3 -3
  168. package/dist/primitives/tooltip/index.js +10 -173
  169. package/dist/select-popover-DYAZyLp4.js +542 -0
  170. package/dist/select-value-CeoMyvpZ.js +15 -0
  171. package/dist/{sortable.esm-De3H-_AA.js → sortable.esm-BuV7eW2H.js} +4 -4
  172. package/dist/{style-C7eFpUVU.js → style-CWAa57kN.js} +1 -1
  173. package/dist/tab-DjNG1rEI.js +79 -0
  174. package/dist/tab-list-DtMnUjoy.js +33 -0
  175. package/dist/tab-panel-DdkeLgKE.js +118 -0
  176. package/dist/tab-provider-BMkHrtIK.js +158 -0
  177. package/dist/tag-remove-BVa8oSsq.js +533 -0
  178. package/dist/toolbar-B7_t1rYu.js +68 -0
  179. package/dist/toolbar-separator-DBoO5XdF.js +16 -0
  180. package/dist/tooltip-anchor-CxZWazuo.js +173 -0
  181. package/package.json +1 -1
  182. package/dist/2NBKRL7C-Cug3TzgR.js +0 -85
  183. package/dist/2RSXSRCN-Bc3g-z-i.js +0 -61
  184. package/dist/A3WPL2ZJ-D0Eh1dEB.js +0 -11
  185. package/dist/EM5CXX6A-DKxCXPnz.js +0 -14
  186. package/dist/MR26YJYP-yD1_RvCA.js +0 -283
  187. package/dist/MTZPJQMC-RLG1q394.js +0 -12
  188. package/dist/P7GR5CS5-Dub2zqTX.js +0 -22
  189. package/dist/RS7LB2H4-C0kmTjy8.js +0 -15
  190. package/dist/RZ4GPYOB-c8s_KHUk.js +0 -37
  191. package/dist/TP7N7UIH-mdk33dnV.js +0 -34
  192. package/dist/UYGDZTLQ-fOwUiOjI.js +0 -12
  193. package/dist/VIIRIBF3-DylpToFV.js +0 -18
  194. package/dist/WMYDSCNQ-D43V-JUe.js +0 -62
  195. package/dist/item-C5GtZF5t.js +0 -470
  196. package/dist/root-C7IYlG1s.js +0 -20
@@ -0,0 +1,287 @@
1
+ import { c as pe, a as he } from "./O2PQ2652-D2GSkoLq.js";
2
+ import { c as Pe, d as q, b as He, e as we } from "./YV4JVR4I-w1-dnslS.js";
3
+ import { T as B, V as _, U as D, c as oe, _ as X, i as re, a2 as Ee, L as ne, j as I, a1 as J, Z as T, a3 as Se, b as ge, l as Oe, m as k, n as se, o as y, a4 as be, M as U, e as W, f as ue, a as ie, t as Me } from "./LMDWO4NN-CIZvvtic.js";
4
+ import { u as Y, H as Te } from "./EM5CXX6A-C74NAQPE.js";
5
+ import { u as Fe, c as Ae } from "./G7GW6PWC-A0eDeXMt.js";
6
+ import { a as _e, u as ye } from "./PFRGBC2K-B9ko--FF.js";
7
+ import { useRef as R, useState as ce, useEffect as S, useContext as Re, createContext as xe, useCallback as ae } from "react";
8
+ import { jsx as K } from "react/jsx-runtime";
9
+ function Ce(r = {}) {
10
+ var s;
11
+ const t = (s = r.store) == null ? void 0 : s.getState(), e = pe(B(D({}, r), {
12
+ placement: _(
13
+ r.placement,
14
+ t == null ? void 0 : t.placement,
15
+ "bottom"
16
+ )
17
+ })), n = _(r.timeout, t == null ? void 0 : t.timeout, 500), u = B(D({}, e.getState()), {
18
+ timeout: n,
19
+ showTimeout: _(r.showTimeout, t == null ? void 0 : t.showTimeout),
20
+ hideTimeout: _(r.hideTimeout, t == null ? void 0 : t.hideTimeout),
21
+ autoFocusOnShow: _(t == null ? void 0 : t.autoFocusOnShow, !1)
22
+ }), i = Pe(u, e, r.store);
23
+ return B(D(D({}, e), i), {
24
+ setAutoFocusOnShow: (a) => i.setState("autoFocusOnShow", a)
25
+ });
26
+ }
27
+ function Ne(r, s, t) {
28
+ return q(r, t, "timeout"), q(r, t, "showTimeout"), q(r, t, "hideTimeout"), he(r, s, t);
29
+ }
30
+ function Ze(r = {}) {
31
+ const [s, t] = He(Ce, r);
32
+ return Ne(s, t, r);
33
+ }
34
+ function $(r) {
35
+ return [r.clientX, r.clientY];
36
+ }
37
+ function Q(r, s) {
38
+ const [t, e] = r;
39
+ let n = !1;
40
+ const u = s.length;
41
+ for (let i = u, a = 0, c = i - 1; a < i; c = a++) {
42
+ const [o, d] = s[a], [h, p] = s[c], [, H] = s[c === 0 ? i - 1 : c - 1] || [0, 0], v = (d - p) * (t - o) - (o - h) * (e - d);
43
+ if (p < d) {
44
+ if (e >= p && e < d) {
45
+ if (v === 0) return !0;
46
+ v > 0 && (e === p ? e > H && (n = !n) : n = !n);
47
+ }
48
+ } else if (d < p) {
49
+ if (e > d && e <= p) {
50
+ if (v === 0) return !0;
51
+ v < 0 && (e === p ? e < H && (n = !n) : n = !n);
52
+ }
53
+ } else if (e === d && (t >= h && t <= o || t >= o && t <= h))
54
+ return !0;
55
+ }
56
+ return n;
57
+ }
58
+ function De(r, s) {
59
+ const { top: t, right: e, bottom: n, left: u } = s, [i, a] = r, c = i < u ? "left" : i > e ? "right" : null, o = a < t ? "top" : a > n ? "bottom" : null;
60
+ return [c, o];
61
+ }
62
+ function ee(r, s) {
63
+ const t = r.getBoundingClientRect(), { top: e, right: n, bottom: u, left: i } = t, [a, c] = De(s, t), o = [s];
64
+ return a ? (c !== "top" && o.push([a === "left" ? i : n, e]), o.push([a === "left" ? n : i, e]), o.push([a === "left" ? n : i, u]), c !== "bottom" && o.push([a === "left" ? i : n, u])) : c === "top" ? (o.push([i, e]), o.push([i, u]), o.push([n, u]), o.push([n, e])) : (o.push([i, u]), o.push([i, e]), o.push([n, e]), o.push([n, u])), o;
65
+ }
66
+ var ke = "div";
67
+ function le(r, s, t, e) {
68
+ return _e(s) ? !0 : r ? !!(U(s, r) || t && U(t, r) || e != null && e.some((n) => le(r, n, t))) : !1;
69
+ }
70
+ function je(r) {
71
+ var s = r, {
72
+ store: t
73
+ } = s, e = X(s, [
74
+ "store"
75
+ ]);
76
+ const [n, u] = ce(!1), i = t.useState("mounted");
77
+ S(() => {
78
+ i || u(!1);
79
+ }, [i]);
80
+ const a = e.onFocus, c = W((d) => {
81
+ a == null || a(d), !d.defaultPrevented && u(!0);
82
+ }), o = R(null);
83
+ return S(() => we(t, ["anchorElement"], (d) => {
84
+ o.current = d.anchorElement;
85
+ }), []), e = k(y({
86
+ autoFocusOnHide: n,
87
+ finalFocus: o
88
+ }, e), {
89
+ onFocus: c
90
+ }), e;
91
+ }
92
+ var te = xe(null), Le = oe(
93
+ function(s) {
94
+ var t = s, {
95
+ store: e,
96
+ modal: n = !1,
97
+ portal: u = !!n,
98
+ hideOnEscape: i = !0,
99
+ hideOnHoverOutside: a = !0,
100
+ disablePointerEventsOnApproach: c = !!a
101
+ } = t, o = X(t, [
102
+ "store",
103
+ "modal",
104
+ "portal",
105
+ "hideOnEscape",
106
+ "hideOnHoverOutside",
107
+ "disablePointerEventsOnApproach"
108
+ ]);
109
+ const d = Y();
110
+ e = e || d, re(
111
+ e,
112
+ process.env.NODE_ENV !== "production" && "Hovercard must receive a `store` prop or be wrapped in a HovercardProvider component."
113
+ );
114
+ const h = R(null), [p, H] = ce([]), v = R(0), O = R(null), { portalRef: P, domReady: f } = Ee(u, o.portalRef), w = ne(), x = !!a, F = I(a), g = !!c, C = I(
115
+ c
116
+ ), j = e.useState("open"), b = e.useState("mounted");
117
+ S(() => {
118
+ if (!f || !b || !x && !g) return;
119
+ const l = h.current;
120
+ return l ? J(
121
+ T("mousemove", (m) => {
122
+ if (!e || !w()) return;
123
+ const { anchorElement: M, hideTimeout: N, timeout: me } = e.getState(), Z = O.current, [L] = m.composedPath(), V = M;
124
+ if (le(L, l, V, p)) {
125
+ O.current = L && V && U(V, L) ? $(m) : null, window.clearTimeout(v.current), v.current = 0;
126
+ return;
127
+ }
128
+ if (!v.current) {
129
+ if (Z) {
130
+ const z = $(m), ve = ee(l, Z);
131
+ if (Q(z, ve)) {
132
+ if (O.current = z, !C(m)) return;
133
+ m.preventDefault(), m.stopPropagation();
134
+ return;
135
+ }
136
+ }
137
+ F(m) && (v.current = window.setTimeout(() => {
138
+ v.current = 0, e == null || e.hide();
139
+ }, N ?? me));
140
+ }
141
+ }, !0),
142
+ () => clearTimeout(v.current)
143
+ ) : void 0;
144
+ }, [
145
+ e,
146
+ w,
147
+ f,
148
+ b,
149
+ x,
150
+ g,
151
+ p,
152
+ C,
153
+ F
154
+ ]), S(() => {
155
+ if (!f || !b || !g) return;
156
+ const l = (E) => {
157
+ const m = h.current;
158
+ if (!m) return;
159
+ const M = O.current;
160
+ if (!M) return;
161
+ const N = ee(m, M);
162
+ if (Q($(E), N)) {
163
+ if (!C(E)) return;
164
+ E.preventDefault(), E.stopPropagation();
165
+ }
166
+ };
167
+ return J(
168
+ // Note: we may need to add pointer events here in the future.
169
+ T("mouseenter", l, !0),
170
+ T("mouseover", l, !0),
171
+ T("mouseout", l, !0),
172
+ T("mouseleave", l, !0)
173
+ );
174
+ }, [f, b, g, C]), S(() => {
175
+ f && (j || e == null || e.setAutoFocusOnShow(!1));
176
+ }, [e, f, j]);
177
+ const fe = Se(j);
178
+ S(() => {
179
+ if (f)
180
+ return () => {
181
+ fe.current || e == null || e.setAutoFocusOnShow(!1);
182
+ };
183
+ }, [e, f]);
184
+ const A = Re(te);
185
+ ge(() => {
186
+ if (n || !u || !b || !f) return;
187
+ const l = h.current;
188
+ if (l)
189
+ return A == null ? void 0 : A(l);
190
+ }, [n, u, b, f]);
191
+ const G = ae(
192
+ (l) => {
193
+ H((m) => [...m, l]);
194
+ const E = A == null ? void 0 : A(l);
195
+ return () => {
196
+ H(
197
+ (m) => m.filter((M) => M !== l)
198
+ ), E == null || E();
199
+ };
200
+ },
201
+ [A]
202
+ );
203
+ o = Oe(
204
+ o,
205
+ (l) => /* @__PURE__ */ K(Te, { value: e, children: /* @__PURE__ */ K(te.Provider, { value: G, children: l }) }),
206
+ [e, G]
207
+ ), o = k(y({}, o), {
208
+ ref: se(h, o.ref)
209
+ }), o = je(y({ store: e }, o));
210
+ const de = e.useState(
211
+ (l) => n || l.autoFocusOnShow
212
+ );
213
+ return o = Fe(k(y({
214
+ store: e,
215
+ modal: n,
216
+ portal: u,
217
+ autoFocusOnShow: de
218
+ }, o), {
219
+ portalRef: P,
220
+ hideOnEscape(l) {
221
+ return be(i, l) ? !1 : (requestAnimationFrame(() => {
222
+ requestAnimationFrame(() => {
223
+ e == null || e.hide();
224
+ });
225
+ }), !0);
226
+ }
227
+ })), o;
228
+ }
229
+ ), ze = Ae(
230
+ ue(function(s) {
231
+ const t = Le(s);
232
+ return ie(ke, t);
233
+ }),
234
+ Y
235
+ ), Ve = "a", qe = oe(
236
+ function(s) {
237
+ var t = s, { store: e, showOnHover: n = !0 } = t, u = X(t, ["store", "showOnHover"]);
238
+ const i = Y();
239
+ e = e || i, re(
240
+ e,
241
+ process.env.NODE_ENV !== "production" && "HovercardAnchor must receive a `store` prop or be wrapped in a HovercardProvider component."
242
+ );
243
+ const a = Me(u), c = R(0);
244
+ S(() => () => window.clearTimeout(c.current), []), S(() => T("mouseleave", (f) => {
245
+ if (!e) return;
246
+ const { anchorElement: w } = e.getState();
247
+ w && f.target === w && (window.clearTimeout(c.current), c.current = 0);
248
+ }, !0), [e]);
249
+ const o = u.onMouseMove, d = I(n), h = ne(), p = W((P) => {
250
+ if (o == null || o(P), a || !e || P.defaultPrevented || c.current || !h() || !d(P)) return;
251
+ const f = P.currentTarget;
252
+ e.setAnchorElement(f), e.setDisclosureElement(f);
253
+ const { showTimeout: w, timeout: x } = e.getState(), F = () => {
254
+ c.current = 0, h() && (e == null || e.setAnchorElement(f), e == null || e.show(), queueMicrotask(() => {
255
+ e == null || e.setDisclosureElement(f);
256
+ }));
257
+ }, g = w ?? x;
258
+ g === 0 ? F() : c.current = window.setTimeout(F, g);
259
+ }), H = u.onClick, v = W((P) => {
260
+ H == null || H(P), e && (window.clearTimeout(c.current), c.current = 0);
261
+ }), O = ae(
262
+ (P) => {
263
+ if (!e) return;
264
+ const { anchorElement: f } = e.getState();
265
+ f != null && f.isConnected || e.setAnchorElement(P);
266
+ },
267
+ [e]
268
+ );
269
+ return u = k(y({}, u), {
270
+ ref: se(O, u.ref),
271
+ onMouseMove: p,
272
+ onClick: v
273
+ }), u = ye(u), u;
274
+ }
275
+ ), Je = ue(function(s) {
276
+ const t = qe(s);
277
+ return ie(Ve, t);
278
+ });
279
+ export {
280
+ ze as H,
281
+ Le as a,
282
+ qe as b,
283
+ Ce as c,
284
+ Ze as d,
285
+ Je as e,
286
+ Ne as u
287
+ };
@@ -0,0 +1,13 @@
1
+ import { D as e, a as r } from "./RS7LB2H4-BvDKQaCt.js";
2
+ import { I as t } from "./LMDWO4NN-CIZvvtic.js";
3
+ var o = t(
4
+ [r],
5
+ [e]
6
+ ), x = o.useContext, s = o.useScopedContext, P = o.useProviderContext, d = o.ContextProvider, n = o.ScopedContextProvider;
7
+ export {
8
+ d as P,
9
+ n as a,
10
+ P as b,
11
+ s as c,
12
+ x as u
13
+ };
@@ -1,6 +1,6 @@
1
- import { c as S, u as v } from "./BM6PGYQY-Bhr7peim.js";
2
- import { m as E, o as P, t as f, c as g, b as h, d as _ } from "./YV4JVR4I-BXEaRiAN.js";
3
- import { P as b, Q as u, R as m, S as p, T as w } from "./LMDWO4NN-DdLnHzru.js";
1
+ import { c as S, u as v } from "./BM6PGYQY-CkMwDqt0.js";
2
+ import { m as E, o as P, t as f, c as g, b as h, d as _ } from "./YV4JVR4I-w1-dnslS.js";
3
+ import { S as b, T as u, U as m, V as p, W as w } from "./LMDWO4NN-CIZvvtic.js";
4
4
  function y(t = {}) {
5
5
  var o = t, {
6
6
  popover: r
@@ -37,15 +37,15 @@ function y(t = {}) {
37
37
  render: () => a.setState("rendered", Symbol("rendered"))
38
38
  });
39
39
  }
40
- function A(t, o, r) {
40
+ function V(t, o, r) {
41
41
  return w(o, [r.popover]), _(t, r, "placement"), v(t, o, r);
42
42
  }
43
43
  function j(t = {}) {
44
44
  const [o, r] = h(y, t);
45
- return A(o, r, t);
45
+ return V(o, r, t);
46
46
  }
47
47
  export {
48
- A as a,
48
+ V as a,
49
49
  y as c,
50
50
  j as u
51
51
  };
@@ -0,0 +1,24 @@
1
+ import { I as t } from "./LMDWO4NN-CIZvvtic.js";
2
+ import { createContext as r } from "react";
3
+ var o = t(), v = o.useContext;
4
+ o.useScopedContext;
5
+ var n = o.useProviderContext, C = o.ContextProvider, a = o.ScopedContextProvider, e = t(
6
+ [C],
7
+ [a]
8
+ ), x = e.useContext, d = e.useProviderContext, c = e.ContextProvider, p = e.ScopedContextProvider, P = r(
9
+ void 0
10
+ ), m = r(
11
+ void 0
12
+ );
13
+ export {
14
+ c as C,
15
+ x as a,
16
+ m as b,
17
+ P as c,
18
+ v as d,
19
+ p as e,
20
+ a as f,
21
+ C as g,
22
+ n as h,
23
+ d as u
24
+ };
@@ -1,14 +1,14 @@
1
1
  import { createContext as st, useRef as ot, useEffect as A, useState as ut, useContext as at, useMemo as it } from "react";
2
- import { R as ct, g as E, X as ft, M as lt, Y as U, c as bt, _ as dt, Z as O, t as pt, e as F, v as vt, A as yt, G as T, h as B, $ as Ft, O as xt, o as R, m as mt, n as Et, r as At, x as gt, f as ht, a as Tt } from "./LMDWO4NN-DdLnHzru.js";
2
+ import { U as ct, g as E, X as ft, M as lt, Y as j, c as bt, _ as dt, Z as B, t as pt, e as F, v as vt, A as yt, G as T, h as O, $ as Ft, R as mt, o as R, m as xt, n as Et, r as At, x as gt, f as ht, a as Tt } from "./LMDWO4NN-CIZvvtic.js";
3
3
  var wt = st(!0), g = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";
4
4
  function Ct(t) {
5
5
  return Number.parseInt(t.getAttribute("tabindex") || "0", 10) < 0;
6
6
  }
7
- function x(t) {
7
+ function m(t) {
8
8
  return !(!t.matches(g) || !ft(t) || t.closest("[inert]"));
9
9
  }
10
- function m(t) {
11
- if (!x(t) || Ct(t)) return !1;
10
+ function x(t) {
11
+ if (!m(t) || Ct(t)) return !1;
12
12
  if (!("form" in t) || !t.form || t.checked || t.type !== "radio") return !0;
13
13
  const e = t.form.elements.namedItem(t.name);
14
14
  if (!e || !("length" in e)) return !0;
@@ -20,9 +20,9 @@ function C(t, e) {
20
20
  t.querySelectorAll(g)
21
21
  );
22
22
  e && r.unshift(t);
23
- const n = r.filter(x);
23
+ const n = r.filter(m);
24
24
  return n.forEach((o, i) => {
25
- if (U(o) && o.contentDocument) {
25
+ if (j(o) && o.contentDocument) {
26
26
  const f = o.contentDocument.body;
27
27
  n.splice(i, 1, ...C(f));
28
28
  }
@@ -31,9 +31,9 @@ function C(t, e) {
31
31
  function I(t, e, r) {
32
32
  const n = Array.from(
33
33
  t.querySelectorAll(g)
34
- ), o = n.filter(m);
35
- return e && m(t) && o.unshift(t), o.forEach((i, f) => {
36
- if (U(i) && i.contentDocument) {
34
+ ), o = n.filter(x);
35
+ return e && x(t) && o.unshift(t), o.forEach((i, f) => {
36
+ if (j(i) && i.contentDocument) {
37
37
  const a = i.contentDocument.body, l = I(
38
38
  a,
39
39
  !1,
@@ -53,7 +53,7 @@ function Wt(t, e, r) {
53
53
  }
54
54
  function It(t, e, r, n) {
55
55
  const o = E(t), i = C(t, e), f = i.indexOf(o), a = i.slice(f + 1);
56
- return a.find(m) || (r ? i.find(m) : null) || (n ? a[0] : null) || null;
56
+ return a.find(x) || (r ? i.find(x) : null) || (n ? a[0] : null) || null;
57
57
  }
58
58
  function $t(t, e) {
59
59
  return It(
@@ -65,7 +65,7 @@ function $t(t, e) {
65
65
  }
66
66
  function Dt(t, e, r, n) {
67
67
  const o = E(t), i = C(t, e).reverse(), f = i.indexOf(o);
68
- return i.slice(f + 1).find(m) || null || null || null;
68
+ return i.slice(f + 1).find(x) || null || null || null;
69
69
  }
70
70
  function Xt(t, e) {
71
71
  return Dt(
@@ -74,7 +74,7 @@ function Xt(t, e) {
74
74
  );
75
75
  }
76
76
  function Pt(t) {
77
- for (; t && !x(t); )
77
+ for (; t && !m(t); )
78
78
  t = t.closest(g);
79
79
  return t || null;
80
80
  }
@@ -93,7 +93,7 @@ function Vt(t) {
93
93
  return !r || !("id" in t) ? !1 : r === t.id ? !0 : !!t.querySelector(`#${CSS.escape(r)}`);
94
94
  }
95
95
  function St(t) {
96
- !Vt(t) && x(t) && t.focus();
96
+ !Vt(t) && m(t) && t.focus();
97
97
  }
98
98
  function kt(t) {
99
99
  var e;
@@ -145,13 +145,13 @@ function _t(t) {
145
145
  function Lt(t) {
146
146
  return "labels" in t ? t.labels : null;
147
147
  }
148
- function j(t) {
148
+ function U(t) {
149
149
  return t.tagName.toLowerCase() === "input" && t.type ? t.type === "radio" || t.type === "checkbox" : !1;
150
150
  }
151
- function Ot(t) {
151
+ function Bt(t) {
152
152
  return t ? t === "button" || t === "summary" || t === "input" || t === "select" || t === "textarea" || t === "a" : !0;
153
153
  }
154
- function Bt(t) {
154
+ function Ot(t) {
155
155
  return t ? t === "button" || t === "input" || t === "select" || t === "textarea" : !0;
156
156
  }
157
157
  function Rt(t, e, r, n, o) {
@@ -185,11 +185,11 @@ var Nt = bt(
185
185
  ]);
186
186
  const l = ot(null);
187
187
  A(() => {
188
- n && (O("mousedown", qt, !0), O("keydown", Gt, !0));
188
+ n && (B("mousedown", qt, !0), B("keydown", Gt, !0));
189
189
  }, [n]), G && A(() => {
190
190
  if (!n) return;
191
191
  const s = l.current;
192
- if (!s || !j(s)) return;
192
+ if (!s || !U(s)) return;
193
193
  const u = Lt(s);
194
194
  if (!u) return;
195
195
  const c = () => queueMicrotask(() => s.focus());
@@ -208,7 +208,7 @@ var Nt = bt(
208
208
  const s = l.current;
209
209
  if (!s || typeof IntersectionObserver > "u") return;
210
210
  const u = new IntersectionObserver(() => {
211
- x(s) || v(!1);
211
+ m(s) || v(!1);
212
212
  });
213
213
  return u.observe(s), () => u.disconnect();
214
214
  }, [n, p]);
@@ -221,7 +221,7 @@ var Nt = bt(
221
221
  ), H = w(a.onClickCapture, b), P = a.onMouseDown, Y = F((s) => {
222
222
  if (P == null || P(s), s.defaultPrevented || !n) return;
223
223
  const u = s.currentTarget;
224
- if (!G || vt(s) || !yt(u) && !j(u)) return;
224
+ if (!G || vt(s) || !yt(u) && !U(u)) return;
225
225
  let c = !1;
226
226
  const y = () => {
227
227
  c = !0;
@@ -236,12 +236,12 @@ var Nt = bt(
236
236
  const c = s.currentTarget;
237
237
  c && q(c) && (f == null || f(s), !s.defaultPrevented && (c.dataset.focusVisible = "true", v(!0)));
238
238
  }, S = a.onKeyDownCapture, Z = F((s) => {
239
- if (S == null || S(s), s.defaultPrevented || !n || p || s.metaKey || s.altKey || s.ctrlKey || !B(s)) return;
239
+ if (S == null || S(s), s.defaultPrevented || !n || p || s.metaKey || s.altKey || s.ctrlKey || !O(s)) return;
240
240
  const u = s.currentTarget;
241
241
  T(u, "focusout", () => V(s, u));
242
242
  }), k = a.onFocusCapture, z = F((s) => {
243
243
  if (k == null || k(s), s.defaultPrevented || !n) return;
244
- if (!B(s)) {
244
+ if (!O(s)) {
245
245
  v(!1);
246
246
  return;
247
247
  }
@@ -251,10 +251,10 @@ var Nt = bt(
251
251
  K == null || K(s), n && Ft(s) && (s.currentTarget.removeAttribute("data-focus-visible"), v(!1));
252
252
  }), Q = at(wt), tt = F((s) => {
253
253
  n && i && s && Q && queueMicrotask(() => {
254
- q(s) || x(s) && s.focus();
254
+ q(s) || m(s) && s.focus();
255
255
  });
256
- }), M = xt(l), et = n && Ot(M), _ = n && Bt(M), h = a.style, rt = it(() => d ? R({ pointerEvents: "none" }, h) : h, [d, h]);
257
- return a = mt(R({
256
+ }), M = mt(l), et = n && Bt(M), _ = n && Ot(M), h = a.style, rt = it(() => d ? R({ pointerEvents: "none" }, h) : h, [d, h]);
257
+ return a = xt(R({
258
258
  "data-focus-visible": n && p || void 0,
259
259
  "data-autofocus": i || void 0,
260
260
  "aria-disabled": b || void 0
@@ -280,24 +280,25 @@ var Nt = bt(
280
280
  onBlur: J
281
281
  }), At(a);
282
282
  }
283
- );
284
- ht(function(e) {
283
+ ), Jt = ht(function(e) {
285
284
  const r = Nt(e);
286
285
  return Tt(Kt, r);
287
286
  });
288
287
  export {
289
288
  wt as F,
290
289
  Vt as a,
291
- $t as b,
292
- Xt as c,
293
- Ht as d,
294
- Wt as e,
290
+ Pt as b,
291
+ $t as c,
292
+ Xt as d,
293
+ Ht as e,
295
294
  Zt as f,
296
295
  I as g,
297
296
  q as h,
298
297
  zt as i,
299
- x as j,
300
- St as k,
298
+ Wt as j,
299
+ m as k,
300
+ St as l,
301
+ Jt as m,
301
302
  Yt as r,
302
303
  Nt as u
303
304
  };
@@ -0,0 +1,38 @@
1
+ import * as e from "react";
2
+ import { w as l } from "./SSRBase.es-BUXS72ra.js";
3
+ const n = /* @__PURE__ */ new Map([
4
+ [
5
+ "bold",
6
+ /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z" }))
7
+ ],
8
+ [
9
+ "duotone",
10
+ /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
11
+ "path",
12
+ {
13
+ d: "M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",
14
+ opacity: "0.2"
15
+ }
16
+ ), /* @__PURE__ */ e.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z" }))
17
+ ],
18
+ [
19
+ "fill",
20
+ /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z" }))
21
+ ],
22
+ [
23
+ "light",
24
+ /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z" }))
25
+ ],
26
+ [
27
+ "regular",
28
+ /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z" }))
29
+ ],
30
+ [
31
+ "thin",
32
+ /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z" }))
33
+ ]
34
+ ]), r = e.forwardRef((a, t) => /* @__PURE__ */ e.createElement(l, { ref: t, ...a, weights: n }));
35
+ r.displayName = "PlusIcon";
36
+ export {
37
+ r as e
38
+ };
@@ -0,0 +1,18 @@
1
+ import { I as t } from "./LMDWO4NN-CIZvvtic.js";
2
+ import { createContext as r } from "react";
3
+ var o = t(), x = o.useContext, n = o.useProviderContext, a = o.ContextProvider, i = o.ScopedContextProvider, e = t(
4
+ [a],
5
+ [i]
6
+ ), d = e.useContext, C = e.useScopedContext, c = e.useProviderContext, u = e.ContextProvider, D = e.ScopedContextProvider, P = r(void 0), l = r(void 0);
7
+ export {
8
+ D,
9
+ u as a,
10
+ c as b,
11
+ a as c,
12
+ P as d,
13
+ l as e,
14
+ C as f,
15
+ d as g,
16
+ x as h,
17
+ n as u
18
+ };
@@ -0,0 +1,37 @@
1
+ import { d } from "./P7GR5CS5-5PtDURPc.js";
2
+ import { c as p, D as I, _, q as v, m as C, n as g, o as R, r as h, f as x, a as b } from "./LMDWO4NN-CIZvvtic.js";
3
+ import { useRef as E, useEffect as P } from "react";
4
+ var V = "div", j = p(
5
+ function(o) {
6
+ var r = o, {
7
+ store: e,
8
+ shouldRegisterItem: n = !0,
9
+ getItem: a = I,
10
+ element: u
11
+ } = r, t = _(r, [
12
+ "store",
13
+ "shouldRegisterItem",
14
+ "getItem",
15
+ // @ts-expect-error This prop may come from a collection renderer.
16
+ "element"
17
+ ]);
18
+ const c = d();
19
+ e = e || c;
20
+ const s = v(t.id), m = E(u);
21
+ return P(() => {
22
+ const i = m.current;
23
+ if (!s || !i || !n) return;
24
+ const f = a({ id: s, element: i });
25
+ return e == null ? void 0 : e.renderItem(f);
26
+ }, [s, n, a, e]), t = C(R({}, t), {
27
+ ref: g(m, t.ref)
28
+ }), h(t);
29
+ }
30
+ ), y = x(function(o) {
31
+ const r = j(o);
32
+ return b(V, r);
33
+ });
34
+ export {
35
+ y as C,
36
+ j as u
37
+ };
@@ -1,6 +1,6 @@
1
- import { P as t, a as r } from "./MTZPJQMC-RLG1q394.js";
2
- import { e as C, C as x } from "./P7GR5CS5-Dub2zqTX.js";
3
- import { I as a } from "./LMDWO4NN-DdLnHzru.js";
1
+ import { a as t, P as r } from "./MTZPJQMC-DPwZ6caC.js";
2
+ import { e as C, C as x } from "./P7GR5CS5-5PtDURPc.js";
3
+ import { I as a } from "./LMDWO4NN-CIZvvtic.js";
4
4
  import { createContext as e } from "react";
5
5
  var i = e(
6
6
  void 0