@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
@@ -1,40 +1,50 @@
1
1
  import * as l from "react";
2
- import { isValidElement as z, useLayoutEffect as k, useEffect as h, useMemo as F, useRef as x, useCallback as j, useState as y, useReducer as q } from "react";
2
+ import { isValidElement as Y, useLayoutEffect as q, useEffect as h, useMemo as V, useRef as x, useCallback as F, useState as y, useReducer as z } from "react";
3
3
  import { jsx as v } from "react/jsx-runtime";
4
- var G = Object.defineProperty, J = Object.defineProperties, Q = Object.getOwnPropertyDescriptors, b = Object.getOwnPropertySymbols, $ = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable, M = (t, e, n) => e in t ? G(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, c = (t, e) => {
4
+ var G = Object.defineProperty, J = Object.defineProperties, Q = Object.getOwnPropertyDescriptors, P = Object.getOwnPropertySymbols, B = Object.prototype.hasOwnProperty, $ = Object.prototype.propertyIsEnumerable, M = (t, e, n) => e in t ? G(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, c = (t, e) => {
5
5
  for (var n in e || (e = {}))
6
- $.call(e, n) && M(t, n, e[n]);
7
- if (b)
8
- for (var n of b(e))
9
- B.call(e, n) && M(t, n, e[n]);
6
+ B.call(e, n) && M(t, n, e[n]);
7
+ if (P)
8
+ for (var n of P(e))
9
+ $.call(e, n) && M(t, n, e[n]);
10
10
  return t;
11
11
  }, p = (t, e) => J(t, Q(e)), Z = (t, e) => {
12
12
  var n = {};
13
13
  for (var r in t)
14
- $.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
15
- if (t != null && b)
16
- for (var r of b(t))
17
- e.indexOf(r) < 0 && B.call(t, r) && (n[r] = t[r]);
14
+ B.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
15
+ if (t != null && P)
16
+ for (var r of P(t))
17
+ e.indexOf(r) < 0 && $.call(t, r) && (n[r] = t[r]);
18
18
  return n;
19
- }, tt = Object.defineProperty, et = Object.defineProperties, nt = Object.getOwnPropertyDescriptors, O = Object.getOwnPropertySymbols, W = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable, I = (t, e, n) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, X = (t, e) => {
19
+ }, tt = Object.defineProperty, et = Object.defineProperties, nt = Object.getOwnPropertyDescriptors, O = Object.getOwnPropertySymbols, W = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable, I = (t, e, n) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, U = (t, e) => {
20
20
  for (var n in e || (e = {}))
21
21
  W.call(e, n) && I(t, n, e[n]);
22
22
  if (O)
23
23
  for (var n of O(e))
24
- U.call(e, n) && I(t, n, e[n]);
24
+ K.call(e, n) && I(t, n, e[n]);
25
25
  return t;
26
- }, rt = (t, e) => et(t, nt(e)), bt = (t, e) => {
26
+ }, rt = (t, e) => et(t, nt(e)), Pt = (t, e) => {
27
27
  var n = {};
28
28
  for (var r in t)
29
29
  W.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
30
30
  if (t != null && O)
31
31
  for (var r of O(t))
32
- e.indexOf(r) < 0 && U.call(t, r) && (n[r] = t[r]);
32
+ e.indexOf(r) < 0 && K.call(t, r) && (n[r] = t[r]);
33
33
  return n;
34
34
  };
35
35
  function Ot(...t) {
36
36
  }
37
37
  function Rt(t, e) {
38
+ if (t === e) return !0;
39
+ if (!t || !e || typeof t != "object" || typeof e != "object") return !1;
40
+ const n = Object.keys(t), r = Object.keys(e), { length: o } = n;
41
+ if (r.length !== o) return !1;
42
+ for (const i of n)
43
+ if (t[i] !== e[i])
44
+ return !1;
45
+ return !0;
46
+ }
47
+ function xt(t, e) {
38
48
  if (ot(t)) {
39
49
  const n = it(e) ? e() : e;
40
50
  return t(n);
@@ -47,65 +57,74 @@ function ot(t) {
47
57
  function it(t) {
48
58
  return typeof t == "function";
49
59
  }
60
+ function St(t) {
61
+ return typeof t == "object" && t != null;
62
+ }
63
+ function Nt(t) {
64
+ return typeof t == "number" ? Math.floor(t) === t : String(Math.floor(Number(t))) === t;
65
+ }
50
66
  function S(t, e) {
51
67
  return typeof Object.hasOwn == "function" ? Object.hasOwn(t, e) : Object.prototype.hasOwnProperty.call(t, e);
52
68
  }
53
- function xt(...t) {
69
+ function Tt(...t) {
54
70
  return (...e) => {
55
71
  for (const n of t)
56
72
  typeof n == "function" && n(...e);
57
73
  };
58
74
  }
59
- function St(t) {
75
+ function Ct(...t) {
76
+ return t.filter(Boolean).join(" ") || void 0;
77
+ }
78
+ function Mt(t) {
60
79
  return t.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
61
80
  }
62
- function Nt(t, e) {
63
- const n = X({}, t);
81
+ function It(t, e) {
82
+ const n = U({}, t);
64
83
  for (const r of e)
65
84
  S(n, r) && delete n[r];
66
85
  return n;
67
86
  }
68
- function Ct(t, e) {
87
+ function jt(t, e) {
69
88
  const n = {};
70
89
  for (const r of e)
71
90
  S(t, r) && (n[r] = t[r]);
72
91
  return n;
73
92
  }
74
- function Tt(t) {
93
+ function Dt(t) {
75
94
  return t;
76
95
  }
77
- function Mt(t, e) {
96
+ function Lt(t, e) {
78
97
  if (!t)
79
98
  throw typeof e != "string" ? new Error("Invariant failed") : new Error(e);
80
99
  }
81
- function It(t) {
100
+ function At(t) {
82
101
  return Object.keys(t);
83
102
  }
84
- function Dt(t, ...e) {
103
+ function Vt(t, ...e) {
85
104
  const n = typeof t == "function" ? t(...e) : t;
86
105
  return n == null ? !1 : !n;
87
106
  }
88
- function Lt(t) {
107
+ function Ft(t) {
89
108
  return t.disabled || t["aria-disabled"] === !0 || t["aria-disabled"] === "true";
90
109
  }
91
- function At(t) {
110
+ function Bt(t) {
92
111
  const e = {};
93
112
  for (const n in t)
94
113
  t[n] !== void 0 && (e[n] = t[n]);
95
114
  return e;
96
115
  }
97
- function Vt(...t) {
116
+ function $t(...t) {
98
117
  for (const e of t)
99
118
  if (e !== void 0) return e;
100
119
  }
101
- function st(t, e) {
120
+ function ut(t, e) {
102
121
  typeof t == "function" ? t(e) : t && (t.current = e);
103
122
  }
104
- function ut(t) {
105
- return !t || !z(t) ? !1 : "ref" in t.props || "ref" in t;
123
+ function st(t) {
124
+ return !t || !Y(t) ? !1 : "ref" in t.props || "ref" in t;
106
125
  }
107
126
  function at(t) {
108
- return ut(t) ? c({}, t.props).ref || t.ref : null;
127
+ return st(t) ? c({}, t.props).ref || t.ref : null;
109
128
  }
110
129
  function ct(t, e) {
111
130
  const n = c({}, t);
@@ -125,8 +144,8 @@ function ct(t, e) {
125
144
  if (typeof o == "function" && r.startsWith("on")) {
126
145
  const i = t[r];
127
146
  if (typeof i == "function") {
128
- n[r] = (...s) => {
129
- o(...s), i(...s);
147
+ n[r] = (...u) => {
148
+ o(...u), i(...u);
130
149
  };
131
150
  continue;
132
151
  }
@@ -143,7 +162,7 @@ function ft() {
143
162
  function _(t) {
144
163
  return t ? "self" in t ? t.document : t.ownerDocument || document : document;
145
164
  }
146
- function Ft(t) {
165
+ function Wt(t) {
147
166
  return t ? "self" in t ? t.self : _(t).defaultView || window : self;
148
167
  }
149
168
  function lt(t, e = !1) {
@@ -171,7 +190,7 @@ function R(t, e) {
171
190
  function dt(t) {
172
191
  return t.tagName === "IFRAME";
173
192
  }
174
- function jt(t) {
193
+ function Kt(t) {
175
194
  const e = t.tagName.toLowerCase();
176
195
  return e === "button" ? !0 : e === "input" && t.type ? pt.indexOf(t.type) !== -1 : !1;
177
196
  }
@@ -183,7 +202,7 @@ var pt = [
183
202
  "reset",
184
203
  "submit"
185
204
  ];
186
- function $t(t) {
205
+ function Ut(t) {
187
206
  if (typeof t.checkVisibility == "function")
188
207
  return t.checkVisibility();
189
208
  const e = t;
@@ -197,10 +216,10 @@ function N(t) {
197
216
  return !1;
198
217
  }
199
218
  }
200
- function Bt(t) {
219
+ function Xt(t) {
201
220
  return t.isContentEditable || N(t);
202
221
  }
203
- function Wt(t) {
222
+ function kt(t) {
204
223
  if (N(t))
205
224
  return t.value;
206
225
  if (t.isContentEditable) {
@@ -209,7 +228,7 @@ function Wt(t) {
209
228
  }
210
229
  return "";
211
230
  }
212
- function Ut(t) {
231
+ function Ht(t) {
213
232
  let e = 0, n = 0;
214
233
  if (N(t))
215
234
  e = t.selectionStart || 0, n = t.selectionEnd || 0;
@@ -226,7 +245,7 @@ function vt(t, e) {
226
245
  const n = ["dialog", "menu", "listbox", "tree", "grid"], r = t == null ? void 0 : t.getAttribute("role");
227
246
  return r && n.indexOf(r) !== -1 ? r : e;
228
247
  }
229
- function Xt(t, e) {
248
+ function Yt(t, e) {
230
249
  var n;
231
250
  const r = {
232
251
  menu: "menuitem",
@@ -235,7 +254,7 @@ function Xt(t, e) {
235
254
  }, o = vt(t);
236
255
  return o && (n = r[o]) != null ? n : e;
237
256
  }
238
- function gt(t) {
257
+ function mt(t) {
239
258
  if (!t) return null;
240
259
  const e = (n) => n === "auto" || n === "scroll";
241
260
  if (t.clientHeight && t.scrollHeight > t.clientHeight) {
@@ -245,94 +264,99 @@ function gt(t) {
245
264
  const { overflowX: n } = getComputedStyle(t);
246
265
  if (e(n)) return t;
247
266
  }
248
- return gt(t.parentElement) || document.scrollingElement || document.body;
267
+ return mt(t.parentElement) || document.scrollingElement || document.body;
249
268
  }
250
- function Ht(t, ...e) {
269
+ function qt(t, ...e) {
251
270
  /text|search|password|tel|url/i.test(t.type) && t.setSelectionRange(...e);
252
271
  }
253
- function Kt(t, e) {
272
+ function zt(t, e) {
254
273
  const n = t.map((o, i) => [i, o]);
255
274
  let r = !1;
256
- return n.sort(([o, i], [s, a]) => {
257
- const f = e(i), u = e(a);
258
- return f === u || !f || !u ? 0 : mt(f, u) ? (o > s && (r = !0), -1) : (o < s && (r = !0), 1);
275
+ return n.sort(([o, i], [u, a]) => {
276
+ const f = e(i), s = e(a);
277
+ return f === s || !f || !s ? 0 : gt(f, s) ? (o > u && (r = !0), -1) : (o < u && (r = !0), 1);
259
278
  }), r ? n.map(([o, i]) => i) : t;
260
279
  }
261
- function mt(t, e) {
280
+ function gt(t, e) {
262
281
  return !!(e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_PRECEDING);
263
282
  }
264
283
  function yt() {
265
284
  return E && !!navigator.maxTouchPoints;
266
285
  }
267
- function H() {
286
+ function X() {
268
287
  return E ? /mac|iphone|ipad|ipod/i.test(navigator.platform) : !1;
269
288
  }
270
- function Yt() {
271
- return E && H() && /apple/i.test(navigator.vendor);
289
+ function Gt() {
290
+ return E && X() && /apple/i.test(navigator.vendor);
272
291
  }
273
- function zt() {
292
+ function Jt() {
274
293
  return E && /firefox\//i.test(navigator.userAgent);
275
294
  }
276
- function kt() {
295
+ function Qt() {
277
296
  return E && navigator.platform.startsWith("Mac") && !yt();
278
297
  }
279
- function qt(t) {
298
+ function Zt(t) {
280
299
  return !!(t.currentTarget && !R(t.currentTarget, t.target));
281
300
  }
282
- function Gt(t) {
301
+ function te(t) {
283
302
  return t.target === t.currentTarget;
284
303
  }
285
- function Jt(t) {
304
+ function ee(t) {
286
305
  const e = t.currentTarget;
287
306
  if (!e) return !1;
288
- const n = H();
307
+ const n = X();
289
308
  if (n && !t.metaKey || !n && !t.ctrlKey) return !1;
290
309
  const r = e.tagName.toLowerCase();
291
310
  return r === "a" || r === "button" && e.type === "submit" || r === "input" && e.type === "submit";
292
311
  }
293
- function Qt(t) {
312
+ function ne(t) {
294
313
  const e = t.currentTarget;
295
314
  if (!e) return !1;
296
315
  const n = e.tagName.toLowerCase();
297
316
  return t.altKey ? n === "a" || n === "button" && e.type === "submit" || n === "input" && e.type === "submit" : !1;
298
317
  }
299
- function Zt(t, e, n) {
318
+ function re(t, e, n) {
300
319
  const r = new Event(e, n);
301
320
  return t.dispatchEvent(r);
302
321
  }
303
- function te(t, e) {
304
- const n = new FocusEvent("blur", e), r = t.dispatchEvent(n), o = rt(X({}, e), { bubbles: !0 });
322
+ function oe(t, e) {
323
+ const n = new FocusEvent("blur", e), r = t.dispatchEvent(n), o = rt(U({}, e), { bubbles: !0 });
305
324
  return t.dispatchEvent(new FocusEvent("focusout", o)), r;
306
325
  }
307
- function ee(t, e, n) {
326
+ function ie(t, e, n) {
308
327
  const r = new KeyboardEvent(e, n);
309
328
  return t.dispatchEvent(r);
310
329
  }
311
- function ne(t, e) {
330
+ function ue(t, e) {
312
331
  const n = new MouseEvent("click", e);
313
332
  return t.dispatchEvent(n);
314
333
  }
315
- function re(t, e) {
334
+ function se(t, e) {
316
335
  const n = e || t.currentTarget, r = t.relatedTarget;
317
336
  return !r || !R(n, r);
318
337
  }
319
- function oe(t, e, n, r) {
338
+ function ae(t) {
339
+ const e = "nativeEvent" in t ? t.nativeEvent : t;
340
+ if (e && "inputType" in e && typeof e.inputType == "string")
341
+ return e.inputType;
342
+ }
343
+ function ce(t, e, n, r) {
320
344
  const i = ((a) => {
321
345
  const f = requestAnimationFrame(a);
322
346
  return () => cancelAnimationFrame(f);
323
347
  })(() => {
324
- t.removeEventListener(e, s, !0), n();
325
- }), s = () => {
348
+ t.removeEventListener(e, u, !0), n();
349
+ }), u = () => {
326
350
  i(), n();
327
351
  };
328
- return t.addEventListener(e, s, { once: !0, capture: !0 }), i;
352
+ return t.addEventListener(e, u, { once: !0, capture: !0 }), i;
329
353
  }
330
- function g(t, e, n, r = window) {
354
+ function m(t, e, n, r = window) {
331
355
  const o = [];
332
356
  try {
333
357
  r.document.addEventListener(t, e, n);
334
- for (const s of Array.from(r.frames))
335
- o.push(g(t, e, n, s));
358
+ for (const u of Array.from(r.frames))
359
+ o.push(m(t, e, n, u));
336
360
  } catch {
337
361
  }
338
362
  return () => {
@@ -340,37 +364,37 @@ function g(t, e, n, r = window) {
340
364
  r.document.removeEventListener(t, e, n);
341
365
  } catch {
342
366
  }
343
- for (const s of o)
344
- s();
367
+ for (const u of o)
368
+ u();
345
369
  };
346
370
  }
347
- var C = c({}, l), D = C.useId;
348
- C.useDeferredValue;
349
- var L = C.useInsertionEffect, m = E ? k : h;
371
+ var T = c({}, l), j = T.useId;
372
+ T.useDeferredValue;
373
+ var D = T.useInsertionEffect, g = E ? q : h;
350
374
  function Et(t) {
351
375
  const [e] = y(t);
352
376
  return e;
353
377
  }
354
- function ie(t) {
378
+ function fe(t) {
355
379
  const e = x(t);
356
- return m(() => {
380
+ return g(() => {
357
381
  e.current = t;
358
382
  }), e;
359
383
  }
360
- function K(t) {
384
+ function k(t) {
361
385
  const e = x(() => {
362
386
  throw new Error("Cannot call an event handler while rendering.");
363
387
  });
364
- return L ? L(() => {
388
+ return D ? D(() => {
365
389
  e.current = t;
366
- }) : e.current = t, j((...n) => {
390
+ }) : e.current = t, F((...n) => {
367
391
  var r;
368
392
  return (r = e.current) == null ? void 0 : r.call(e, ...n);
369
393
  }, []);
370
394
  }
371
- function se(t) {
395
+ function le(t) {
372
396
  const [e, n] = y(null);
373
- return m(() => {
397
+ return g(() => {
374
398
  if (e == null || !t) return;
375
399
  let r = null;
376
400
  return t((o) => (r = o, e)), () => {
@@ -378,50 +402,50 @@ function se(t) {
378
402
  };
379
403
  }, [e, t]), [e, n];
380
404
  }
381
- function Y(...t) {
382
- return F(() => {
405
+ function H(...t) {
406
+ return V(() => {
383
407
  if (t.some(Boolean))
384
408
  return (e) => {
385
409
  for (const n of t)
386
- st(n, e);
410
+ ut(n, e);
387
411
  };
388
412
  }, t);
389
413
  }
390
- function ue(t) {
391
- if (D) {
392
- const r = D();
414
+ function de(t) {
415
+ if (j) {
416
+ const r = j();
393
417
  return t || r;
394
418
  }
395
419
  const [e, n] = y(t);
396
- return m(() => {
420
+ return g(() => {
397
421
  if (t || e) return;
398
422
  const r = Math.random().toString(36).slice(2, 8);
399
423
  n(`id-${r}`);
400
424
  }, [t, e]), t || e;
401
425
  }
402
- function ae(t, e) {
426
+ function pe(t, e) {
403
427
  const n = (i) => {
404
428
  if (typeof i == "string")
405
429
  return i;
406
430
  }, [r, o] = y(() => n(e));
407
- return m(() => {
431
+ return g(() => {
408
432
  const i = t && "current" in t ? t.current : t;
409
433
  o((i == null ? void 0 : i.tagName.toLowerCase()) || n(e));
410
434
  }, [t, e]), r;
411
435
  }
412
- function ce(t, e, n) {
436
+ function ve(t, e, n) {
413
437
  const r = Et(n), [o, i] = y(r);
414
438
  return h(() => {
415
- const s = t && "current" in t ? t.current : t;
416
- if (!s) return;
439
+ const u = t && "current" in t ? t.current : t;
440
+ if (!u) return;
417
441
  const a = () => {
418
- const u = s.getAttribute(e);
419
- i(u ?? r);
442
+ const s = u.getAttribute(e);
443
+ i(s ?? r);
420
444
  }, f = new MutationObserver(a);
421
- return f.observe(s, { attributeFilter: [e] }), a(), () => f.disconnect();
445
+ return f.observe(u, { attributeFilter: [e] }), a(), () => f.disconnect();
422
446
  }, [t, e, r]), o;
423
447
  }
424
- function fe(t, e) {
448
+ function me(t, e) {
425
449
  const n = x(!1);
426
450
  h(() => {
427
451
  if (n.current)
@@ -434,177 +458,183 @@ function fe(t, e) {
434
458
  []
435
459
  );
436
460
  }
437
- function le(t, e) {
461
+ function ge(t, e) {
438
462
  const n = x(!1);
439
- m(() => {
463
+ g(() => {
440
464
  if (n.current)
441
465
  return t();
442
466
  n.current = !0;
443
- }, e), m(
467
+ }, e), g(
444
468
  () => () => {
445
469
  n.current = !1;
446
470
  },
447
471
  []
448
472
  );
449
473
  }
450
- function de() {
451
- return q(() => [], []);
474
+ function ye() {
475
+ return z(() => [], []);
452
476
  }
453
- function pe(t) {
454
- return K(
477
+ function Ee(t) {
478
+ return k(
455
479
  typeof t == "function" ? t : () => t
456
480
  );
457
481
  }
458
- function ve(t, e, n = []) {
459
- const r = j(
482
+ function we(t, e, n = []) {
483
+ const r = F(
460
484
  (o) => (t.wrapElement && (o = t.wrapElement(o)), e(o)),
461
485
  [...n, t.wrapElement]
462
486
  );
463
487
  return p(c({}, t), { wrapElement: r });
464
488
  }
465
- function ge(t = !1, e) {
489
+ function he(t = !1, e) {
466
490
  const [n, r] = y(null);
467
- return { portalRef: Y(r, e), portalNode: n, domReady: !t || n };
491
+ return { portalRef: H(r, e), portalNode: n, domReady: !t || n };
468
492
  }
469
- function me(t, e, n) {
470
- const r = t.onLoadedMetadataCapture, o = F(() => Object.assign(() => {
493
+ function _e(t, e, n) {
494
+ const r = t.onLoadedMetadataCapture, o = V(() => Object.assign(() => {
471
495
  }, p(c({}, r), { [e]: n })), [r, e, n]);
472
496
  return [r == null ? void 0 : r[e], { onLoadedMetadataCapture: o }];
473
497
  }
474
- function ye() {
498
+ function be() {
475
499
  return h(() => {
476
- g("mousemove", ht, !0), g("mousedown", P, !0), g("mouseup", P, !0), g("keydown", P, !0), g("scroll", P, !0);
477
- }, []), K(() => T);
500
+ m("mousemove", ht, !0), m("mousedown", b, !0), m("mouseup", b, !0), m("keydown", b, !0), m("scroll", b, !0);
501
+ }, []), k(() => C);
478
502
  }
479
- var T = !1, A = 0, V = 0;
503
+ var C = !1, L = 0, A = 0;
480
504
  function wt(t) {
481
- const e = t.movementX || t.screenX - A, n = t.movementY || t.screenY - V;
482
- return A = t.screenX, V = t.screenY, e || n || process.env.NODE_ENV === "test";
505
+ const e = t.movementX || t.screenX - L, n = t.movementY || t.screenY - A;
506
+ return L = t.screenX, A = t.screenY, e || n || process.env.NODE_ENV === "test";
483
507
  }
484
508
  function ht(t) {
485
- wt(t) && (T = !0);
509
+ wt(t) && (C = !0);
486
510
  }
487
- function P() {
488
- T = !1;
511
+ function b() {
512
+ C = !1;
489
513
  }
490
- function Ee(t) {
514
+ function Pe(t) {
491
515
  const e = l.forwardRef((n, r) => t(p(c({}, n), { ref: r })));
492
516
  return e.displayName = t.displayName || t.name, e;
493
517
  }
494
- function we(t, e) {
518
+ function Oe(t, e) {
495
519
  return l.memo(t, e);
496
520
  }
497
- function he(t, e) {
498
- const n = e, { wrapElement: r, render: o } = n, i = Z(n, ["wrapElement", "render"]), s = Y(e.ref, at(o));
521
+ function Re(t, e) {
522
+ const n = e, { wrapElement: r, render: o } = n, i = Z(n, ["wrapElement", "render"]), u = H(e.ref, at(o));
499
523
  let a;
500
524
  if (l.isValidElement(o)) {
501
- const f = p(c({}, o.props), { ref: s });
525
+ const f = p(c({}, o.props), { ref: u });
502
526
  a = l.cloneElement(o, ct(i, f));
503
527
  } else o ? a = o(i) : a = /* @__PURE__ */ v(t, c({}, i));
504
528
  return r ? r(a) : a;
505
529
  }
506
- function _e(t) {
530
+ function xe(t) {
507
531
  const e = (n = {}) => t(n);
508
532
  return e.displayName = t.name, e;
509
533
  }
510
- function Pe(t = [], e = []) {
511
- const n = l.createContext(void 0), r = l.createContext(void 0), o = () => l.useContext(n), i = (u = !1) => {
534
+ function Se(t = [], e = []) {
535
+ const n = l.createContext(void 0), r = l.createContext(void 0), o = () => l.useContext(n), i = (s = !1) => {
512
536
  const d = l.useContext(r), w = o();
513
- return u ? d : d || w;
514
- }, s = () => {
515
- const u = l.useContext(r), d = o();
516
- if (!(u && u === d))
537
+ return s ? d : d || w;
538
+ }, u = () => {
539
+ const s = l.useContext(r), d = o();
540
+ if (!(s && s === d))
517
541
  return d;
518
- }, a = (u) => t.reduceRight(
519
- (d, w) => /* @__PURE__ */ v(w, p(c({}, u), { children: d })),
520
- /* @__PURE__ */ v(n.Provider, c({}, u))
542
+ }, a = (s) => t.reduceRight(
543
+ (d, w) => /* @__PURE__ */ v(w, p(c({}, s), { children: d })),
544
+ /* @__PURE__ */ v(n.Provider, c({}, s))
521
545
  );
522
546
  return {
523
547
  context: n,
524
548
  scopedContext: r,
525
549
  useContext: o,
526
550
  useScopedContext: i,
527
- useProviderContext: s,
551
+ useProviderContext: u,
528
552
  ContextProvider: a,
529
- ScopedContextProvider: (u) => /* @__PURE__ */ v(a, p(c({}, u), { children: e.reduceRight(
530
- (d, w) => /* @__PURE__ */ v(w, p(c({}, u), { children: d })),
531
- /* @__PURE__ */ v(r.Provider, c({}, u))
553
+ ScopedContextProvider: (s) => /* @__PURE__ */ v(a, p(c({}, s), { children: e.reduceRight(
554
+ (d, w) => /* @__PURE__ */ v(w, p(c({}, s), { children: d })),
555
+ /* @__PURE__ */ v(r.Provider, c({}, s))
532
556
  ) }))
533
557
  };
534
558
  }
535
559
  export {
536
- re as $,
537
- jt as A,
538
- gt as B,
560
+ se as $,
561
+ Kt as A,
562
+ mt as B,
539
563
  _ as C,
540
- Tt as D,
541
- me as E,
542
- zt as F,
543
- oe as G,
544
- ne as H,
545
- Pe as I,
546
- Kt as J,
547
- St as K,
548
- ye as L,
564
+ Dt as D,
565
+ _e as E,
566
+ Jt as F,
567
+ ce as G,
568
+ ue as H,
569
+ Se as I,
570
+ zt as J,
571
+ Mt as K,
572
+ be as L,
549
573
  R as M,
550
574
  S as N,
551
- ae as O,
552
- bt as P,
553
- rt as Q,
554
- X as R,
555
- Vt as S,
556
- fe as T,
557
- Qt as U,
558
- Jt as V,
559
- Xt as W,
560
- $t as X,
575
+ ne as O,
576
+ ee as P,
577
+ Yt as Q,
578
+ pe as R,
579
+ Pt as S,
580
+ rt as T,
581
+ U,
582
+ $t as V,
583
+ me as W,
584
+ Ut as X,
561
585
  dt as Y,
562
- g as Z,
586
+ m as Z,
563
587
  Z as _,
564
- he as a,
588
+ Re as a,
565
589
  vt as a0,
566
- xt as a1,
567
- ge as a2,
568
- ie as a3,
569
- Dt as a4,
570
- Rt as a5,
571
- Zt as a6,
572
- Nt as a7,
573
- Ct as a8,
574
- It as a9,
575
- Ot as aa,
576
- ce as ab,
577
- yt as ac,
578
- de as ad,
579
- le as ae,
580
- Ht as af,
581
- st as ag,
582
- Ft as ah,
583
- H as ai,
584
- kt as aj,
585
- m as b,
586
- _e as c,
587
- te as d,
588
- K as e,
589
- Ee as f,
590
+ Tt as a1,
591
+ he as a2,
592
+ fe as a3,
593
+ Vt as a4,
594
+ xt as a5,
595
+ re as a6,
596
+ yt as a7,
597
+ ye as a8,
598
+ ge as a9,
599
+ qt as aa,
600
+ Ot as ab,
601
+ ve as ac,
602
+ It as ad,
603
+ jt as ae,
604
+ At as af,
605
+ X as ag,
606
+ ae as ah,
607
+ ut as ai,
608
+ Wt as aj,
609
+ Qt as ak,
610
+ St as al,
611
+ Nt as am,
612
+ Et as an,
613
+ Ct as ao,
614
+ Rt as ap,
615
+ g as b,
616
+ xe as c,
617
+ oe as d,
618
+ k as e,
619
+ Pe as f,
590
620
  lt as g,
591
- Gt as h,
592
- Mt as i,
593
- pe as j,
621
+ te as h,
622
+ Lt as i,
623
+ Ee as j,
594
624
  N as k,
595
- ve as l,
625
+ we as l,
596
626
  p as m,
597
- Y as n,
627
+ H as n,
598
628
  c as o,
599
- ee as p,
600
- ue as q,
601
- At as r,
602
- we as s,
603
- Lt as t,
604
- se as u,
605
- qt as v,
606
- Bt as w,
607
- Yt as x,
608
- Ut as y,
609
- Wt as z
629
+ ie as p,
630
+ de as q,
631
+ Bt as r,
632
+ Oe as s,
633
+ Ft as t,
634
+ le as u,
635
+ Zt as v,
636
+ Xt as w,
637
+ Gt as x,
638
+ Ht as y,
639
+ kt as z
610
640
  };