@gobolt/genesis 0.0.7 → 0.0.8

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 (258) hide show
  1. package/README.md +8 -2
  2. package/dist/AntdIcon-c395a1c4.js +204 -0
  3. package/dist/CheckOutlined-52d9ac25.js +29 -0
  4. package/dist/{CloseCircleFilled-ZIY-u-27.js → CloseCircleFilled-ddc51e7e.js} +11 -8
  5. package/dist/CloseOutlined-14b8bba1.js +16 -0
  6. package/dist/Compact-c39ed20d.js +179 -0
  7. package/dist/ContextIsolator-b09b2c52.js +20 -0
  8. package/dist/DownOutlined-64a4732a.js +206 -0
  9. package/dist/EllipsisOutlined-60122660.js +1115 -0
  10. package/dist/{ExclamationCircleFilled-BICVVQIg.js → ExclamationCircleFilled-23ef9812.js} +22 -16
  11. package/dist/InfoCircleFilled-c5f90c20.js +16 -0
  12. package/dist/Overflow-a570fa69.js +361 -0
  13. package/dist/RightOutlined-83515eb4.js +16 -0
  14. package/dist/SearchOutlined-a9014e08.js +16 -0
  15. package/dist/{TextArea-3MOYYuAQ.js → TextArea-20825221.js} +597 -582
  16. package/dist/{button-BNV2qdrP.js → button-fa1c119c.js} +287 -280
  17. package/dist/collapse-345bc884.js +20 -0
  18. package/dist/compact-item-b8f85aa6.js +75 -0
  19. package/dist/components/Badge/Badge.d.ts +6 -0
  20. package/dist/components/Badge/Badge.js +102 -0
  21. package/dist/components/Badge/__stories__/Badge.stories.d.ts +13 -0
  22. package/dist/components/Badge/__tests__/Badge.test.js +72 -0
  23. package/dist/components/Badge/icons/ASN.d.ts +2 -0
  24. package/dist/components/Badge/icons/ASN.js +23 -0
  25. package/dist/components/Badge/icons/Appointment.d.ts +2 -0
  26. package/dist/components/Badge/icons/Appointment.js +23 -0
  27. package/dist/components/Badge/icons/Inventory.d.ts +2 -0
  28. package/dist/components/Badge/icons/Inventory.js +23 -0
  29. package/dist/components/Badge/icons/Parcel.d.ts +2 -0
  30. package/dist/components/Badge/icons/Parcel.js +23 -0
  31. package/dist/components/Badge/icons/Product.d.ts +2 -0
  32. package/dist/components/Badge/icons/Product.js +23 -0
  33. package/dist/components/Badge/icons/Route.d.ts +2 -0
  34. package/dist/components/Badge/icons/Route.js +23 -0
  35. package/dist/components/Badge/icons/Shipment.d.ts +2 -0
  36. package/dist/components/Badge/icons/Shipment.js +23 -0
  37. package/dist/components/Badge/icons/ShoppingCart.d.ts +2 -0
  38. package/dist/components/Badge/icons/ShoppingCart.js +23 -0
  39. package/dist/components/Badge/icons/System.d.ts +2 -0
  40. package/dist/components/Badge/icons/System.js +23 -0
  41. package/dist/components/Badge/index.d.ts +2 -0
  42. package/dist/components/Badge/index.js +23 -0
  43. package/dist/components/Badge/styles.d.ts +3 -0
  44. package/dist/components/Badge/styles.js +35 -0
  45. package/dist/components/Breadcrumb/Breadcrumb.d.ts +8 -0
  46. package/dist/components/Breadcrumb/Breadcrumb.js +27 -0
  47. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +8 -0
  48. package/dist/components/Breadcrumb/Breadcrumb.types.js +1 -0
  49. package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +10 -0
  50. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +70 -0
  51. package/dist/components/Breadcrumb/index.d.ts +3 -0
  52. package/dist/components/Breadcrumb/index.js +27 -0
  53. package/dist/components/Breadcrumb/styles.d.ts +23 -0
  54. package/dist/components/Breadcrumb/styles.js +2457 -0
  55. package/dist/components/Button/Button.js +42 -0
  56. package/dist/components/Button/__tests__/Button.test.js +61 -0
  57. package/dist/components/Button/index.js +22 -0
  58. package/dist/components/{atoms/button → Button}/styles.js +30 -19
  59. package/dist/components/{atoms/checkbox → Checkbox}/Checkbox.d.ts +2 -1
  60. package/dist/components/Checkbox/Checkbox.js +70 -0
  61. package/dist/components/Checkbox/__tests__/Checkbox.test.js +64 -0
  62. package/dist/components/Checkbox/index.js +49 -0
  63. package/dist/components/{atoms/checkbox → Checkbox}/styles.d.ts +1 -3
  64. package/dist/components/{atoms/checkbox → Checkbox}/styles.js +165 -157
  65. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +72 -0
  66. package/dist/components/ErrorBoundaryFallback/index.js +51 -0
  67. package/dist/components/ErrorBoundaryFallback/styles.d.ts +3 -0
  68. package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/styles.js +38 -34
  69. package/dist/components/{molecules/form → Form}/Form.d.ts +2 -4
  70. package/dist/components/Form/Form.js +49 -0
  71. package/dist/components/Form/__stories__/FormStory.js +130 -0
  72. package/dist/components/Form/index.js +48 -0
  73. package/dist/components/{atoms/input → Input}/Input.d.ts +1 -3
  74. package/dist/components/Input/Input.js +42 -0
  75. package/dist/components/{atoms/input → Input}/__stories__/Input.stories.d.ts +5 -1
  76. package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
  77. package/dist/components/Input/__tests__/Input.test.js +69 -0
  78. package/dist/components/Input/index.js +31 -0
  79. package/dist/components/{atoms/input → Input}/styles.d.ts +2 -3
  80. package/dist/components/Input/styles.js +542 -0
  81. package/dist/components/Message/Message.d.ts +13 -0
  82. package/dist/components/Message/Message.js +105 -0
  83. package/dist/components/Message/__stories__/Message.stories.d.ts +15 -0
  84. package/dist/components/Message/__tests__/Message.test.d.ts +1 -0
  85. package/dist/components/Message/__tests__/Message.test.js +88 -0
  86. package/dist/components/Message/index.d.ts +2 -0
  87. package/dist/components/Message/index.js +50 -0
  88. package/dist/components/Message/styles.d.ts +5 -0
  89. package/dist/components/Message/styles.js +35 -0
  90. package/dist/components/Notification/Notification.d.ts +16 -0
  91. package/dist/components/Notification/Notification.js +1436 -0
  92. package/dist/components/Notification/__stories__/Notification.stories.d.ts +10 -0
  93. package/dist/components/Notification/__tests__/Notification.test.d.ts +1 -0
  94. package/dist/components/Notification/__tests__/Notification.test.js +76 -0
  95. package/dist/components/Notification/index.d.ts +2 -0
  96. package/dist/components/Notification/index.js +61 -0
  97. package/dist/components/Notification/styles.d.ts +6 -0
  98. package/dist/components/Notification/styles.js +49 -0
  99. package/dist/components/Radio/Radio.d.ts +14 -0
  100. package/dist/components/Radio/Radio.js +114 -0
  101. package/dist/components/Radio/RadioGroup.d.ts +12 -0
  102. package/dist/components/Radio/RadioGroup.js +86 -0
  103. package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +9 -0
  104. package/dist/components/Radio/__tests__/RadioGroup.test.d.ts +1 -0
  105. package/dist/components/Radio/__tests__/RadioGroup.test.js +85 -0
  106. package/dist/components/Radio/index.d.ts +2 -0
  107. package/dist/components/Radio/index.js +58 -0
  108. package/dist/components/Radio/states/RadioChecked.d.ts +2 -0
  109. package/dist/components/Radio/states/RadioChecked.js +18 -0
  110. package/dist/components/Radio/states/RadioCheckedDisabled.d.ts +2 -0
  111. package/dist/components/Radio/states/RadioCheckedDisabled.js +18 -0
  112. package/dist/components/Radio/states/RadioCheckedFocussed.d.ts +2 -0
  113. package/dist/components/Radio/states/RadioCheckedFocussed.js +30 -0
  114. package/dist/components/Radio/states/RadioCheckedHover.d.ts +2 -0
  115. package/dist/components/Radio/states/RadioCheckedHover.js +18 -0
  116. package/dist/components/Radio/states/RadioUnchecked.d.ts +2 -0
  117. package/dist/components/Radio/states/RadioUnchecked.js +15 -0
  118. package/dist/components/Radio/states/RadioUncheckedDisabled.d.ts +2 -0
  119. package/dist/components/Radio/states/RadioUncheckedDisabled.js +15 -0
  120. package/dist/components/Radio/states/RadioUncheckedFocussed.d.ts +2 -0
  121. package/dist/components/Radio/states/RadioUncheckedFocussed.js +29 -0
  122. package/dist/components/Radio/states/RadioUncheckedHover.d.ts +2 -0
  123. package/dist/components/Radio/states/RadioUncheckedHover.js +18 -0
  124. package/dist/components/{atoms/select → Select}/Select.d.ts +1 -1
  125. package/dist/components/Select/Select.js +48 -0
  126. package/dist/components/{atoms/select → Select}/__stories__/Select.stories.d.ts +3 -1
  127. package/dist/components/Select/__tests__/Select.test.d.ts +1 -0
  128. package/dist/components/Select/__tests__/Select.test.js +101 -0
  129. package/dist/components/Select/index.js +30 -0
  130. package/dist/components/{atoms/select → Select}/styles.d.ts +4 -1
  131. package/dist/components/Select/styles.js +3723 -0
  132. package/dist/components/Toast/Toast.d.ts +14 -0
  133. package/dist/components/Toast/Toast.js +48 -0
  134. package/dist/components/Toast/__stories__/Toast.stories.d.ts +15 -0
  135. package/dist/components/Toast/__tests__/Toast.test.d.ts +1 -0
  136. package/dist/components/Toast/__tests__/Toast.test.js +63 -0
  137. package/dist/components/Toast/index.d.ts +2 -0
  138. package/dist/components/Toast/index.js +48 -0
  139. package/dist/components/Toast/styles.d.ts +5 -0
  140. package/dist/components/Toast/styles.js +39 -0
  141. package/dist/components/{atoms/typography → Typography}/Typography.d.ts +2 -1
  142. package/dist/components/Typography/Typography.js +48 -0
  143. package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -0
  144. package/dist/components/Typography/__tests__/Typography.test.js +60 -0
  145. package/dist/components/Typography/index.js +48 -0
  146. package/dist/components/Typography/styles.d.ts +7 -0
  147. package/dist/components/Typography/styles.js +55 -0
  148. package/dist/components/index.d.ts +18 -14
  149. package/dist/components/index.js +70 -14
  150. package/dist/constants/index.d.ts +104 -0
  151. package/dist/constants/index.js +41 -7
  152. package/dist/{context-CZsFJmh6.js → context-3b8a39af.js} +547 -536
  153. package/dist/genesis/GenesisThemeBreakdown.js +69 -22
  154. package/dist/genesis/GenesisThemeDemo.d.ts +0 -2
  155. package/dist/genesis/GenesisThemeDemo.js +53 -4
  156. package/dist/genesis/styles.d.ts +2 -6
  157. package/dist/genesis/styles.js +1144 -2210
  158. package/dist/index-0a886e53.js +100 -0
  159. package/dist/{index-SAAXFt-P.js → index-0b9ee239.js} +347 -338
  160. package/dist/index-1a33c134.js +1389 -0
  161. package/dist/index-4003d75b.js +3748 -0
  162. package/dist/{index-D1v_7IIx.js → index-501fc13d.js} +369 -343
  163. package/dist/index-89035ea5.js +3242 -0
  164. package/dist/{index-BQO27mgE.js → index-8c8d2d0c.js} +123 -122
  165. package/dist/{index-C7kFNqp2.js → index-e2b72ca8.js} +107 -102
  166. package/dist/index.d.ts +1 -0
  167. package/dist/index.js +77 -18
  168. package/dist/{isVisible-CNQjrJPN.js → isVisible-729780f5.js} +110 -82
  169. package/dist/{magic-string.es-BkUFmFT4.js → magic-string.es-b7491176.js} +103 -56
  170. package/dist/{SearchOutlined-DuzJkIiQ.js → pickAttrs-00ba4687.js} +16 -26
  171. package/dist/presets-83ccb923.js +787 -0
  172. package/dist/providers/GenesisProvider.d.ts +5 -0
  173. package/dist/providers/GenesisProvider.js +59 -5
  174. package/dist/providers/ThemeProvider.d.ts +2 -1
  175. package/dist/providers/ThemeProvider.js +16 -11
  176. package/dist/providers/ToastProvider.d.ts +6 -0
  177. package/dist/providers/ToastProvider.js +49 -0
  178. package/dist/providers/ToastWrapper.d.ts +7 -0
  179. package/dist/providers/ToastWrapper.js +56 -0
  180. package/dist/providers/__stories__/GenesisProvider.stories.d.ts +6 -0
  181. package/dist/providers/index.d.ts +3 -2
  182. package/dist/providers/index.js +51 -4
  183. package/dist/setup-aaca7b6f.js +21158 -0
  184. package/dist/{styled-components.browser.esm-CZ1XM4o4.js → styled-components.browser.esm-02f500bc.js} +134 -72
  185. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +54 -18
  186. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +51 -15
  187. package/dist/styles/design-tokens/variables.d.ts +7 -7
  188. package/dist/styles/design-tokens/variables.js +48 -48
  189. package/dist/styles/global-styles.js +4 -3
  190. package/dist/styles/theme/genesis-theme.d.ts +3 -0
  191. package/dist/styles/theme/genesis-theme.js +402 -263
  192. package/dist/styles/theme/global-styles.js +4 -3
  193. package/dist/styles/theme/index.js +5 -4
  194. package/dist/test/setup.js +46 -2
  195. package/dist/useVariants-a0d64298.js +30 -0
  196. package/dist/utils/isAllEnglishString.js +2 -1
  197. package/package.json +34 -28
  198. package/dist/AntdIcon-Bsnbyy6g.js +0 -200
  199. package/dist/CheckOutlined-DAynWe12.js +0 -527
  200. package/dist/Compact-CJBo3f0u.js +0 -185
  201. package/dist/ContextIsolator-CGkdKtc3.js +0 -20
  202. package/dist/Form-Cylpi4M4.js +0 -1815
  203. package/dist/Overflow-CP1M4Z0s.js +0 -369
  204. package/dist/compact-item-DH13cl8A.js +0 -61
  205. package/dist/components/atoms/button/Button.js +0 -27
  206. package/dist/components/atoms/button/index.js +0 -4
  207. package/dist/components/atoms/checkbox/Checkbox.js +0 -13
  208. package/dist/components/atoms/checkbox/__tests__/Checkbox.test.js +0 -18
  209. package/dist/components/atoms/checkbox/index.js +0 -4
  210. package/dist/components/atoms/index.d.ts +0 -1
  211. package/dist/components/atoms/index.js +0 -3
  212. package/dist/components/atoms/input/Input.js +0 -12
  213. package/dist/components/atoms/input/__tests__/Input.test.js +0 -28
  214. package/dist/components/atoms/input/index.js +0 -4
  215. package/dist/components/atoms/input/styles.js +0 -415
  216. package/dist/components/atoms/select/Select.js +0 -24
  217. package/dist/components/atoms/select/__tests__/Select.test.js +0 -10735
  218. package/dist/components/atoms/select/index.js +0 -4
  219. package/dist/components/atoms/select/styles.js +0 -3868
  220. package/dist/components/atoms/typography/Typography.js +0 -44
  221. package/dist/components/atoms/typography/__tests__/Typography.test.js +0 -16
  222. package/dist/components/atoms/typography/index.js +0 -4
  223. package/dist/components/atoms/typography/styles.d.ts +0 -11
  224. package/dist/components/atoms/typography/styles.js +0 -28
  225. package/dist/components/molecules/error-boundary-fallback/ErrorBoundaryFallback.js +0 -35
  226. package/dist/components/molecules/error-boundary-fallback/index.js +0 -4
  227. package/dist/components/molecules/error-boundary-fallback/styles.d.ts +0 -1
  228. package/dist/components/molecules/form/Form.js +0 -7
  229. package/dist/components/molecules/form/__stories__/FormStory.js +0 -90
  230. package/dist/components/molecules/form/index.js +0 -4
  231. package/dist/index-3MWkSVA1.js +0 -96
  232. package/dist/index-BPtFqhcp.js +0 -19110
  233. package/dist/index-BWys7dkb.js +0 -4462
  234. package/dist/index-VDH3iLaC.js +0 -884
  235. package/dist/setup-CMYVZCPF.js +0 -33883
  236. package/dist/useVariants-CEpw6Ww6.js +0 -29
  237. /package/dist/components/{atoms/checkbox/__tests__/Checkbox.test.d.ts → Badge/__tests__/Badge.test.d.ts} +0 -0
  238. /package/dist/components/{atoms/input/__tests__/Input.test.d.ts → Breadcrumb/__tests__/Breadcrumb.test.d.ts} +0 -0
  239. /package/dist/components/{atoms/button → Button}/Button.d.ts +0 -0
  240. /package/dist/components/{atoms/button → Button}/__stories__/Button.stories.d.ts +0 -0
  241. /package/dist/components/{atoms/select/__tests__/Select.test.d.ts → Button/__tests__/Button.test.d.ts} +0 -0
  242. /package/dist/components/{atoms/button → Button}/index.d.ts +0 -0
  243. /package/dist/components/{atoms/button → Button}/styles.d.ts +0 -0
  244. /package/dist/components/{atoms/checkbox → Checkbox}/__stories__/Checkbox.stories.d.ts +0 -0
  245. /package/dist/components/{atoms/typography/__tests__/Typography.test.d.ts → Checkbox/__tests__/Checkbox.test.d.ts} +0 -0
  246. /package/dist/components/{atoms/checkbox → Checkbox}/index.d.ts +0 -0
  247. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/ErrorBoundaryFallback.d.ts +0 -0
  248. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -0
  249. /package/dist/components/{molecules/error-boundary-fallback → ErrorBoundaryFallback}/index.d.ts +0 -0
  250. /package/dist/components/{molecules/form → Form}/__stories__/Form.stories.d.ts +0 -0
  251. /package/dist/components/{molecules/form → Form}/__stories__/FormStory.d.ts +0 -0
  252. /package/dist/components/{molecules/form → Form}/index.d.ts +0 -0
  253. /package/dist/components/{atoms/input → Input}/index.d.ts +0 -0
  254. /package/dist/components/{atoms/select → Select}/index.d.ts +0 -0
  255. /package/dist/components/{atoms/typography → Typography}/__stories__/Typography.stories.d.ts +0 -0
  256. /package/dist/components/{atoms/typography → Typography}/index.d.ts +0 -0
  257. /package/dist/{presetColors-Cl8UP3Nw.js → presetColors-ccf8cb4c.js} +0 -0
  258. /package/dist/{reactNode-sKPeiqPL.js → reactNode-f4391605.js} +0 -0
@@ -0,0 +1,1115 @@
1
+ import { e as ne, f as $, c as de, a as L, h as x, _ as k, w as xe, d as qn } from "./presets-83ccb923.js";
2
+ import { a as ie, T as Qt } from "./index-1a33c134.js";
3
+ import { w as we, q as en, j as tn, s as nn, P as Yn, Q as rn, v as Me, k as Xn, _ as Jn, e as Zn, f as Qn, h as er, A as tr } from "./index-4003d75b.js";
4
+ import * as n from "react";
5
+ import Z, { forwardRef as nr, useMemo as rr, useRef as Xe, useCallback as Re, useImperativeHandle as ar } from "react";
6
+ import { F as Te } from "./Overflow-a570fa69.js";
7
+ import { i as ir, u as Je, o as Rt, t as or } from "./isVisible-729780f5.js";
8
+ import { flushSync as lr } from "react-dom";
9
+ import { A as ur } from "./AntdIcon-c395a1c4.js";
10
+ var sr = ie.ESC, cr = ie.TAB;
11
+ function fr(e) {
12
+ var r = e.visible, a = e.triggerRef, t = e.onVisibleChange, i = e.autoFocus, o = e.overlayRef, l = n.useRef(!1), u = function() {
13
+ if (r) {
14
+ var c, f;
15
+ (c = a.current) === null || c === void 0 || (f = c.focus) === null || f === void 0 || f.call(c), t == null || t(!1);
16
+ }
17
+ }, d = function() {
18
+ var c;
19
+ return (c = o.current) !== null && c !== void 0 && c.focus ? (o.current.focus(), l.current = !0, !0) : !1;
20
+ }, s = function(c) {
21
+ switch (c.keyCode) {
22
+ case sr:
23
+ u();
24
+ break;
25
+ case cr: {
26
+ var f = !1;
27
+ l.current || (f = d()), f ? c.preventDefault() : u();
28
+ break;
29
+ }
30
+ }
31
+ };
32
+ n.useEffect(function() {
33
+ return r ? (window.addEventListener("keydown", s), i && we(d, 3), function() {
34
+ window.removeEventListener("keydown", s), l.current = !1;
35
+ }) : function() {
36
+ l.current = !1;
37
+ };
38
+ }, [r]);
39
+ }
40
+ var dr = /* @__PURE__ */ nr(function(e, r) {
41
+ var a = e.overlay, t = e.arrow, i = e.prefixCls, o = rr(function() {
42
+ var u;
43
+ return typeof a == "function" ? u = a() : u = a, u;
44
+ }, [a]), l = en(r, tn(o));
45
+ return /* @__PURE__ */ Z.createElement(Z.Fragment, null, t && /* @__PURE__ */ Z.createElement("div", {
46
+ className: "".concat(i, "-arrow")
47
+ }), /* @__PURE__ */ Z.cloneElement(o, {
48
+ ref: nn(o) ? l : void 0
49
+ }));
50
+ }), Se = {
51
+ adjustX: 1,
52
+ adjustY: 1
53
+ }, Ee = [0, 0], vr = {
54
+ topLeft: {
55
+ points: ["bl", "tl"],
56
+ overflow: Se,
57
+ offset: [0, -4],
58
+ targetOffset: Ee
59
+ },
60
+ top: {
61
+ points: ["bc", "tc"],
62
+ overflow: Se,
63
+ offset: [0, -4],
64
+ targetOffset: Ee
65
+ },
66
+ topRight: {
67
+ points: ["br", "tr"],
68
+ overflow: Se,
69
+ offset: [0, -4],
70
+ targetOffset: Ee
71
+ },
72
+ bottomLeft: {
73
+ points: ["tl", "bl"],
74
+ overflow: Se,
75
+ offset: [0, 4],
76
+ targetOffset: Ee
77
+ },
78
+ bottom: {
79
+ points: ["tc", "bc"],
80
+ overflow: Se,
81
+ offset: [0, 4],
82
+ targetOffset: Ee
83
+ },
84
+ bottomRight: {
85
+ points: ["tr", "br"],
86
+ overflow: Se,
87
+ offset: [0, 4],
88
+ targetOffset: Ee
89
+ }
90
+ }, mr = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
91
+ function pr(e, r) {
92
+ var a, t = e.arrow, i = t === void 0 ? !1 : t, o = e.prefixCls, l = o === void 0 ? "rc-dropdown" : o, u = e.transitionName, d = e.animation, s = e.align, g = e.placement, c = g === void 0 ? "bottomLeft" : g, f = e.placements, b = f === void 0 ? vr : f, h = e.getPopupContainer, S = e.showAction, C = e.hideAction, I = e.overlayClassName, P = e.overlayStyle, v = e.visible, m = e.trigger, y = m === void 0 ? ["hover"] : m, p = e.autoFocus, R = e.overlay, O = e.children, E = e.onVisibleChange, W = ne(e, mr), K = Z.useState(), _ = $(K, 2), j = _[0], H = _[1], B = "visible" in e ? v : j, Y = Z.useRef(null), T = Z.useRef(null), q = Z.useRef(null);
93
+ Z.useImperativeHandle(r, function() {
94
+ return Y.current;
95
+ });
96
+ var V = function(D) {
97
+ H(D), E == null || E(D);
98
+ };
99
+ fr({
100
+ visible: B,
101
+ triggerRef: q,
102
+ onVisibleChange: V,
103
+ autoFocus: p,
104
+ overlayRef: T
105
+ });
106
+ var Q = function(D) {
107
+ var te = e.onOverlayClick;
108
+ H(!1), te && te(D);
109
+ }, oe = function() {
110
+ return /* @__PURE__ */ Z.createElement(dr, {
111
+ ref: T,
112
+ overlay: R,
113
+ prefixCls: l,
114
+ arrow: i
115
+ });
116
+ }, le = function() {
117
+ return typeof R == "function" ? oe : oe();
118
+ }, se = function() {
119
+ var D = e.minOverlayWidthMatchTrigger, te = e.alignPoint;
120
+ return "minOverlayWidthMatchTrigger" in e ? D : !te;
121
+ }, ce = function() {
122
+ var D = e.openClassName;
123
+ return D !== void 0 ? D : "".concat(l, "-open");
124
+ }, F = /* @__PURE__ */ Z.cloneElement(O, {
125
+ className: de((a = O.props) === null || a === void 0 ? void 0 : a.className, B && ce()),
126
+ ref: nn(O) ? en(q, tn(O)) : void 0
127
+ }), z = C;
128
+ return !z && y.indexOf("contextMenu") !== -1 && (z = ["click"]), /* @__PURE__ */ Z.createElement(Qt, L({
129
+ builtinPlacements: b
130
+ }, W, {
131
+ prefixCls: l,
132
+ ref: Y,
133
+ popupClassName: de(I, x({}, "".concat(l, "-show-arrow"), i)),
134
+ popupStyle: P,
135
+ action: y,
136
+ showAction: S,
137
+ hideAction: z,
138
+ popupPlacement: c,
139
+ popupAlign: s,
140
+ popupTransitionName: u,
141
+ popupAnimation: d,
142
+ popupVisible: B,
143
+ stretch: se() ? "minWidth" : "",
144
+ popup: le(),
145
+ onPopupVisibleChange: V,
146
+ onPopupClick: Q,
147
+ getPopupContainer: h
148
+ }), F);
149
+ }
150
+ const ua = /* @__PURE__ */ Z.forwardRef(pr);
151
+ var an = /* @__PURE__ */ n.createContext(null);
152
+ function on(e, r) {
153
+ return e === void 0 ? null : "".concat(e, "-").concat(r);
154
+ }
155
+ function ln(e) {
156
+ var r = n.useContext(an);
157
+ return on(r, e);
158
+ }
159
+ var gr = ["children", "locked"], ae = /* @__PURE__ */ n.createContext(null);
160
+ function hr(e, r) {
161
+ var a = k({}, e);
162
+ return Object.keys(r).forEach(function(t) {
163
+ var i = r[t];
164
+ i !== void 0 && (a[t] = i);
165
+ }), a;
166
+ }
167
+ function Ve(e) {
168
+ var r = e.children, a = e.locked, t = ne(e, gr), i = n.useContext(ae), o = Yn(function() {
169
+ return hr(i, t);
170
+ }, [i, t], function(l, u) {
171
+ return !a && (l[0] !== u[0] || !rn(l[1], u[1], !0));
172
+ });
173
+ return /* @__PURE__ */ n.createElement(ae.Provider, {
174
+ value: o
175
+ }, r);
176
+ }
177
+ var Cr = [], un = /* @__PURE__ */ n.createContext(null);
178
+ function tt() {
179
+ return n.useContext(un);
180
+ }
181
+ var sn = /* @__PURE__ */ n.createContext(Cr);
182
+ function Fe(e) {
183
+ var r = n.useContext(sn);
184
+ return n.useMemo(function() {
185
+ return e !== void 0 ? [].concat(Me(r), [e]) : r;
186
+ }, [r, e]);
187
+ }
188
+ var cn = /* @__PURE__ */ n.createContext(null), St = /* @__PURE__ */ n.createContext({});
189
+ function Gt(e) {
190
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
191
+ if (ir(e)) {
192
+ var a = e.nodeName.toLowerCase(), t = (
193
+ // Focusable element
194
+ ["input", "select", "textarea", "button"].includes(a) || // Editable element
195
+ e.isContentEditable || // Anchor with href element
196
+ a === "a" && !!e.getAttribute("href")
197
+ ), i = e.getAttribute("tabindex"), o = Number(i), l = null;
198
+ return i && !Number.isNaN(o) ? l = o : t && l === null && (l = 0), t && e.disabled && (l = null), l !== null && (l >= 0 || r && l < 0);
199
+ }
200
+ return !1;
201
+ }
202
+ function br(e) {
203
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, a = Me(e.querySelectorAll("*")).filter(function(t) {
204
+ return Gt(t, r);
205
+ });
206
+ return Gt(e, r) && a.unshift(e), a;
207
+ }
208
+ var ht = ie.LEFT, Ct = ie.RIGHT, bt = ie.UP, Ze = ie.DOWN, Qe = ie.ENTER, fn = ie.ESC, De = ie.HOME, $e = ie.END, qt = [bt, Ze, ht, Ct];
209
+ function yr(e, r, a, t) {
210
+ var i, o = "prev", l = "next", u = "children", d = "parent";
211
+ if (e === "inline" && t === Qe)
212
+ return {
213
+ inlineTrigger: !0
214
+ };
215
+ var s = x(x({}, bt, o), Ze, l), g = x(x(x(x({}, ht, a ? l : o), Ct, a ? o : l), Ze, u), Qe, u), c = x(x(x(x(x(x({}, bt, o), Ze, l), Qe, u), fn, d), ht, a ? u : d), Ct, a ? d : u), f = {
216
+ inline: s,
217
+ horizontal: g,
218
+ vertical: c,
219
+ inlineSub: s,
220
+ horizontalSub: c,
221
+ verticalSub: c
222
+ }, b = (i = f["".concat(e).concat(r ? "" : "Sub")]) === null || i === void 0 ? void 0 : i[t];
223
+ switch (b) {
224
+ case o:
225
+ return {
226
+ offset: -1,
227
+ sibling: !0
228
+ };
229
+ case l:
230
+ return {
231
+ offset: 1,
232
+ sibling: !0
233
+ };
234
+ case d:
235
+ return {
236
+ offset: -1,
237
+ sibling: !1
238
+ };
239
+ case u:
240
+ return {
241
+ offset: 1,
242
+ sibling: !1
243
+ };
244
+ default:
245
+ return null;
246
+ }
247
+ }
248
+ function Mr(e) {
249
+ for (var r = e; r; ) {
250
+ if (r.getAttribute("data-menu-list"))
251
+ return r;
252
+ r = r.parentElement;
253
+ }
254
+ return null;
255
+ }
256
+ function Ir(e, r) {
257
+ for (var a = e || document.activeElement; a; ) {
258
+ if (r.has(a))
259
+ return a;
260
+ a = a.parentElement;
261
+ }
262
+ return null;
263
+ }
264
+ function Et(e, r) {
265
+ var a = br(e, !0);
266
+ return a.filter(function(t) {
267
+ return r.has(t);
268
+ });
269
+ }
270
+ function Yt(e, r, a) {
271
+ var t = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 1;
272
+ if (!e)
273
+ return null;
274
+ var i = Et(e, r), o = i.length, l = i.findIndex(function(u) {
275
+ return a === u;
276
+ });
277
+ return t < 0 ? l === -1 ? l = o - 1 : l -= 1 : t > 0 && (l += 1), l = (l + o) % o, i[l];
278
+ }
279
+ var yt = function(r, a) {
280
+ var t = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
281
+ return r.forEach(function(l) {
282
+ var u = document.querySelector("[data-menu-id='".concat(on(a, l), "']"));
283
+ u && (t.add(u), o.set(u, l), i.set(l, u));
284
+ }), {
285
+ elements: t,
286
+ key2element: i,
287
+ element2key: o
288
+ };
289
+ };
290
+ function Rr(e, r, a, t, i, o, l, u, d, s) {
291
+ var g = n.useRef(), c = n.useRef();
292
+ c.current = r;
293
+ var f = function() {
294
+ we.cancel(g.current);
295
+ };
296
+ return n.useEffect(function() {
297
+ return function() {
298
+ f();
299
+ };
300
+ }, []), function(b) {
301
+ var h = b.which;
302
+ if ([].concat(qt, [Qe, fn, De, $e]).includes(h)) {
303
+ var S = o(), C = yt(S, t), I = C, P = I.elements, v = I.key2element, m = I.element2key, y = v.get(r), p = Ir(y, P), R = m.get(p), O = yr(e, l(R, !0).length === 1, a, h);
304
+ if (!O && h !== De && h !== $e)
305
+ return;
306
+ (qt.includes(h) || [De, $e].includes(h)) && b.preventDefault();
307
+ var E = function(T) {
308
+ if (T) {
309
+ var q = T, V = T.querySelector("a");
310
+ V != null && V.getAttribute("href") && (q = V);
311
+ var Q = m.get(T);
312
+ u(Q), f(), g.current = we(function() {
313
+ c.current === Q && q.focus();
314
+ });
315
+ }
316
+ };
317
+ if ([De, $e].includes(h) || O.sibling || !p) {
318
+ var W;
319
+ !p || e === "inline" ? W = i.current : W = Mr(p);
320
+ var K, _ = Et(W, P);
321
+ h === De ? K = _[0] : h === $e ? K = _[_.length - 1] : K = Yt(W, P, p, O.offset), E(K);
322
+ } else if (O.inlineTrigger)
323
+ d(R);
324
+ else if (O.offset > 0)
325
+ d(R, !0), f(), g.current = we(function() {
326
+ C = yt(S, t);
327
+ var Y = p.getAttribute("aria-controls"), T = document.getElementById(Y), q = Yt(T, C.elements);
328
+ E(q);
329
+ }, 5);
330
+ else if (O.offset < 0) {
331
+ var j = l(R, !0), H = j[j.length - 2], B = v.get(H);
332
+ d(H, !1), E(B);
333
+ }
334
+ }
335
+ s == null || s(b);
336
+ };
337
+ }
338
+ function Sr(e) {
339
+ Promise.resolve().then(e);
340
+ }
341
+ var wt = "__RC_UTIL_PATH_SPLIT__", Xt = function(r) {
342
+ return r.join(wt);
343
+ }, Er = function(r) {
344
+ return r.split(wt);
345
+ }, Mt = "rc-menu-more";
346
+ function wr() {
347
+ var e = n.useState({}), r = $(e, 2), a = r[1], t = Xe(/* @__PURE__ */ new Map()), i = Xe(/* @__PURE__ */ new Map()), o = n.useState([]), l = $(o, 2), u = l[0], d = l[1], s = Xe(0), g = Xe(!1), c = function() {
348
+ g.current || a({});
349
+ }, f = Re(function(v, m) {
350
+ process.env.NODE_ENV !== "production" && xe(!t.current.has(v), "Duplicated key '".concat(v, "' used in Menu by path [").concat(m.join(" > "), "]"));
351
+ var y = Xt(m);
352
+ i.current.set(y, v), t.current.set(v, y), s.current += 1;
353
+ var p = s.current;
354
+ Sr(function() {
355
+ p === s.current && c();
356
+ });
357
+ }, []), b = Re(function(v, m) {
358
+ var y = Xt(m);
359
+ i.current.delete(y), t.current.delete(v);
360
+ }, []), h = Re(function(v) {
361
+ d(v);
362
+ }, []), S = Re(function(v, m) {
363
+ var y = t.current.get(v) || "", p = Er(y);
364
+ return m && u.includes(p[0]) && p.unshift(Mt), p;
365
+ }, [u]), C = Re(function(v, m) {
366
+ return v.filter(function(y) {
367
+ return y !== void 0;
368
+ }).some(function(y) {
369
+ var p = S(y, !0);
370
+ return p.includes(m);
371
+ });
372
+ }, [S]), I = function() {
373
+ var m = Me(t.current.keys());
374
+ return u.length && m.push(Mt), m;
375
+ }, P = Re(function(v) {
376
+ var m = "".concat(t.current.get(v)).concat(wt), y = /* @__PURE__ */ new Set();
377
+ return Me(i.current.keys()).forEach(function(p) {
378
+ p.startsWith(m) && y.add(i.current.get(p));
379
+ }), y;
380
+ }, []);
381
+ return n.useEffect(function() {
382
+ return function() {
383
+ g.current = !0;
384
+ };
385
+ }, []), {
386
+ // Register
387
+ registerPath: f,
388
+ unregisterPath: b,
389
+ refreshOverflowKeys: h,
390
+ // Util
391
+ isSubPathKey: C,
392
+ getKeyPath: S,
393
+ getKeys: I,
394
+ getSubPathKeys: P
395
+ };
396
+ }
397
+ function Le(e) {
398
+ var r = n.useRef(e);
399
+ r.current = e;
400
+ var a = n.useCallback(function() {
401
+ for (var t, i = arguments.length, o = new Array(i), l = 0; l < i; l++)
402
+ o[l] = arguments[l];
403
+ return (t = r.current) === null || t === void 0 ? void 0 : t.call.apply(t, [r].concat(o));
404
+ }, []);
405
+ return e ? a : void 0;
406
+ }
407
+ var xr = Math.random().toFixed(5).toString().slice(2), Jt = 0;
408
+ function Pr(e) {
409
+ var r = Je(e, {
410
+ value: e
411
+ }), a = $(r, 2), t = a[0], i = a[1];
412
+ return n.useEffect(function() {
413
+ Jt += 1;
414
+ var o = process.env.NODE_ENV === "test" ? "test" : "".concat(xr, "-").concat(Jt);
415
+ i("rc-menu-uuid-".concat(o));
416
+ }, []), t;
417
+ }
418
+ function dn(e, r, a, t) {
419
+ var i = n.useContext(ae), o = i.activeKey, l = i.onActive, u = i.onInactive, d = {
420
+ active: o === e
421
+ };
422
+ return r || (d.onMouseEnter = function(s) {
423
+ a == null || a({
424
+ key: e,
425
+ domEvent: s
426
+ }), l(e);
427
+ }, d.onMouseLeave = function(s) {
428
+ t == null || t({
429
+ key: e,
430
+ domEvent: s
431
+ }), u(e);
432
+ }), d;
433
+ }
434
+ function vn(e) {
435
+ var r = n.useContext(ae), a = r.mode, t = r.rtl, i = r.inlineIndent;
436
+ if (a !== "inline")
437
+ return null;
438
+ var o = e;
439
+ return t ? {
440
+ paddingRight: o * i
441
+ } : {
442
+ paddingLeft: o * i
443
+ };
444
+ }
445
+ function mn(e) {
446
+ var r = e.icon, a = e.props, t = e.children, i;
447
+ return r === null || r === !1 ? null : (typeof r == "function" ? i = /* @__PURE__ */ n.createElement(r, k({}, a)) : typeof r != "boolean" && (i = r), i || t || null);
448
+ }
449
+ var Nr = ["item"];
450
+ function et(e) {
451
+ var r = e.item, a = ne(e, Nr);
452
+ return Object.defineProperty(a, "item", {
453
+ get: function() {
454
+ return xe(!1, "`info.item` is deprecated since we will move to function component that not provides React Node instance in future."), r;
455
+ }
456
+ }), a;
457
+ }
458
+ var Or = ["title", "attribute", "elementRef"], _r = ["style", "className", "eventKey", "warnKey", "disabled", "itemIcon", "children", "role", "onMouseEnter", "onMouseLeave", "onClick", "onKeyDown", "onFocus"], Kr = ["active"], Ar = /* @__PURE__ */ function(e) {
459
+ Jn(a, e);
460
+ var r = Zn(a);
461
+ function a() {
462
+ return Qn(this, a), r.apply(this, arguments);
463
+ }
464
+ return er(a, [{
465
+ key: "render",
466
+ value: function() {
467
+ var i = this.props, o = i.title, l = i.attribute, u = i.elementRef, d = ne(i, Or), s = Rt(d, ["eventKey", "popupClassName", "popupOffset", "onTitleClick"]);
468
+ return xe(!l, "`attribute` of Menu.Item is deprecated. Please pass attribute directly."), /* @__PURE__ */ n.createElement(Te.Item, L({}, l, {
469
+ title: typeof o == "string" ? o : void 0
470
+ }, s, {
471
+ ref: u
472
+ }));
473
+ }
474
+ }]), a;
475
+ }(n.Component), kr = /* @__PURE__ */ n.forwardRef(function(e, r) {
476
+ var a = e.style, t = e.className, i = e.eventKey, o = e.warnKey, l = e.disabled, u = e.itemIcon, d = e.children, s = e.role, g = e.onMouseEnter, c = e.onMouseLeave, f = e.onClick, b = e.onKeyDown, h = e.onFocus, S = ne(e, _r), C = ln(i), I = n.useContext(ae), P = I.prefixCls, v = I.onItemClick, m = I.disabled, y = I.overflowDisabled, p = I.itemIcon, R = I.selectedKeys, O = I.onActive, E = n.useContext(St), W = E._internalRenderMenuItem, K = "".concat(P, "-item"), _ = n.useRef(), j = n.useRef(), H = m || l, B = Xn(r, j), Y = Fe(i);
477
+ process.env.NODE_ENV !== "production" && o && xe(!1, "MenuItem should not leave undefined `key`.");
478
+ var T = function(G) {
479
+ return {
480
+ key: i,
481
+ // Note: For legacy code is reversed which not like other antd component
482
+ keyPath: Me(Y).reverse(),
483
+ item: _.current,
484
+ domEvent: G
485
+ };
486
+ }, q = u || p, V = dn(i, H, g, c), Q = V.active, oe = ne(V, Kr), le = R.includes(i), se = vn(Y.length), ce = function(G) {
487
+ if (!H) {
488
+ var ue = T(G);
489
+ f == null || f(et(ue)), v(ue);
490
+ }
491
+ }, F = function(G) {
492
+ if (b == null || b(G), G.which === ie.ENTER) {
493
+ var ue = T(G);
494
+ f == null || f(et(ue)), v(ue);
495
+ }
496
+ }, z = function(G) {
497
+ O(i), h == null || h(G);
498
+ }, ee = {};
499
+ e.role === "option" && (ee["aria-selected"] = le);
500
+ var D = /* @__PURE__ */ n.createElement(Ar, L({
501
+ ref: _,
502
+ elementRef: B,
503
+ role: s === null ? "none" : s || "menuitem",
504
+ tabIndex: l ? null : -1,
505
+ "data-menu-id": y && C ? null : C
506
+ }, Rt(S, ["extra"]), oe, ee, {
507
+ component: "li",
508
+ "aria-disabled": l,
509
+ style: k(k({}, se), a),
510
+ className: de(K, x(x(x({}, "".concat(K, "-active"), Q), "".concat(K, "-selected"), le), "".concat(K, "-disabled"), H), t),
511
+ onClick: ce,
512
+ onKeyDown: F,
513
+ onFocus: z
514
+ }), d, /* @__PURE__ */ n.createElement(mn, {
515
+ props: k(k({}, e), {}, {
516
+ isSelected: le
517
+ }),
518
+ icon: q
519
+ }));
520
+ return W && (D = W(D, e, {
521
+ selected: le
522
+ })), D;
523
+ });
524
+ function Dr(e, r) {
525
+ var a = e.eventKey, t = tt(), i = Fe(a);
526
+ return n.useEffect(function() {
527
+ if (t)
528
+ return t.registerPath(a, i), function() {
529
+ t.unregisterPath(a, i);
530
+ };
531
+ }, [i]), t ? null : /* @__PURE__ */ n.createElement(kr, L({}, e, {
532
+ ref: r
533
+ }));
534
+ }
535
+ const xt = /* @__PURE__ */ n.forwardRef(Dr);
536
+ var $r = ["className", "children"], Lr = function(r, a) {
537
+ var t = r.className, i = r.children, o = ne(r, $r), l = n.useContext(ae), u = l.prefixCls, d = l.mode, s = l.rtl;
538
+ return /* @__PURE__ */ n.createElement("ul", L({
539
+ className: de(u, s && "".concat(u, "-rtl"), "".concat(u, "-sub"), "".concat(u, "-").concat(d === "inline" ? "inline" : "vertical"), t),
540
+ role: "menu"
541
+ }, o, {
542
+ "data-menu-list": !0,
543
+ ref: a
544
+ }), i);
545
+ }, Pt = /* @__PURE__ */ n.forwardRef(Lr);
546
+ Pt.displayName = "SubMenuList";
547
+ function Nt(e, r) {
548
+ return or(e).map(function(a, t) {
549
+ if (/* @__PURE__ */ n.isValidElement(a)) {
550
+ var i, o, l = a.key, u = (i = (o = a.props) === null || o === void 0 ? void 0 : o.eventKey) !== null && i !== void 0 ? i : l, d = u == null;
551
+ d && (u = "tmp_key-".concat([].concat(Me(r), [t]).join("-")));
552
+ var s = {
553
+ key: u,
554
+ eventKey: u
555
+ };
556
+ return process.env.NODE_ENV !== "production" && d && (s.warnKey = !0), /* @__PURE__ */ n.cloneElement(a, s);
557
+ }
558
+ return a;
559
+ });
560
+ }
561
+ var U = {
562
+ adjustX: 1,
563
+ adjustY: 1
564
+ }, Tr = {
565
+ topLeft: {
566
+ points: ["bl", "tl"],
567
+ overflow: U
568
+ },
569
+ topRight: {
570
+ points: ["br", "tr"],
571
+ overflow: U
572
+ },
573
+ bottomLeft: {
574
+ points: ["tl", "bl"],
575
+ overflow: U
576
+ },
577
+ bottomRight: {
578
+ points: ["tr", "br"],
579
+ overflow: U
580
+ },
581
+ leftTop: {
582
+ points: ["tr", "tl"],
583
+ overflow: U
584
+ },
585
+ leftBottom: {
586
+ points: ["br", "bl"],
587
+ overflow: U
588
+ },
589
+ rightTop: {
590
+ points: ["tl", "tr"],
591
+ overflow: U
592
+ },
593
+ rightBottom: {
594
+ points: ["bl", "br"],
595
+ overflow: U
596
+ }
597
+ }, Vr = {
598
+ topLeft: {
599
+ points: ["bl", "tl"],
600
+ overflow: U
601
+ },
602
+ topRight: {
603
+ points: ["br", "tr"],
604
+ overflow: U
605
+ },
606
+ bottomLeft: {
607
+ points: ["tl", "bl"],
608
+ overflow: U
609
+ },
610
+ bottomRight: {
611
+ points: ["tr", "br"],
612
+ overflow: U
613
+ },
614
+ rightTop: {
615
+ points: ["tr", "tl"],
616
+ overflow: U
617
+ },
618
+ rightBottom: {
619
+ points: ["br", "bl"],
620
+ overflow: U
621
+ },
622
+ leftTop: {
623
+ points: ["tl", "tr"],
624
+ overflow: U
625
+ },
626
+ leftBottom: {
627
+ points: ["bl", "br"],
628
+ overflow: U
629
+ }
630
+ };
631
+ function pn(e, r, a) {
632
+ if (r)
633
+ return r;
634
+ if (a)
635
+ return a[e] || a.other;
636
+ }
637
+ var Fr = {
638
+ horizontal: "bottomLeft",
639
+ vertical: "rightTop",
640
+ "vertical-left": "rightTop",
641
+ "vertical-right": "leftTop"
642
+ };
643
+ function zr(e) {
644
+ var r = e.prefixCls, a = e.visible, t = e.children, i = e.popup, o = e.popupStyle, l = e.popupClassName, u = e.popupOffset, d = e.disabled, s = e.mode, g = e.onVisibleChange, c = n.useContext(ae), f = c.getPopupContainer, b = c.rtl, h = c.subMenuOpenDelay, S = c.subMenuCloseDelay, C = c.builtinPlacements, I = c.triggerSubMenuAction, P = c.forceSubMenuRender, v = c.rootClassName, m = c.motion, y = c.defaultMotions, p = n.useState(!1), R = $(p, 2), O = R[0], E = R[1], W = b ? k(k({}, Vr), C) : k(k({}, Tr), C), K = Fr[s], _ = pn(s, m, y), j = n.useRef(_);
645
+ s !== "inline" && (j.current = _);
646
+ var H = k(k({}, j.current), {}, {
647
+ leavedClassName: "".concat(r, "-hidden"),
648
+ removeOnLeave: !1,
649
+ motionAppear: !0
650
+ }), B = n.useRef();
651
+ return n.useEffect(function() {
652
+ return B.current = we(function() {
653
+ E(a);
654
+ }), function() {
655
+ we.cancel(B.current);
656
+ };
657
+ }, [a]), /* @__PURE__ */ n.createElement(Qt, {
658
+ prefixCls: r,
659
+ popupClassName: de("".concat(r, "-popup"), x({}, "".concat(r, "-rtl"), b), l, v),
660
+ stretch: s === "horizontal" ? "minWidth" : null,
661
+ getPopupContainer: f,
662
+ builtinPlacements: W,
663
+ popupPlacement: K,
664
+ popupVisible: O,
665
+ popup: i,
666
+ popupStyle: o,
667
+ popupAlign: u && {
668
+ offset: u
669
+ },
670
+ action: d ? [] : [I],
671
+ mouseEnterDelay: h,
672
+ mouseLeaveDelay: S,
673
+ onPopupVisibleChange: g,
674
+ forceRender: P,
675
+ popupMotion: H,
676
+ fresh: !0
677
+ }, t);
678
+ }
679
+ function Ur(e) {
680
+ var r = e.id, a = e.open, t = e.keyPath, i = e.children, o = "inline", l = n.useContext(ae), u = l.prefixCls, d = l.forceSubMenuRender, s = l.motion, g = l.defaultMotions, c = l.mode, f = n.useRef(!1);
681
+ f.current = c === o;
682
+ var b = n.useState(!f.current), h = $(b, 2), S = h[0], C = h[1], I = f.current ? a : !1;
683
+ n.useEffect(function() {
684
+ f.current && C(!1);
685
+ }, [c]);
686
+ var P = k({}, pn(o, s, g));
687
+ t.length > 1 && (P.motionAppear = !1);
688
+ var v = P.onVisibleChanged;
689
+ return P.onVisibleChanged = function(m) {
690
+ return !f.current && !m && C(!0), v == null ? void 0 : v(m);
691
+ }, S ? null : /* @__PURE__ */ n.createElement(Ve, {
692
+ mode: o,
693
+ locked: !f.current
694
+ }, /* @__PURE__ */ n.createElement(tr, L({
695
+ visible: I
696
+ }, P, {
697
+ forceRender: d,
698
+ removeOnLeave: !1,
699
+ leavedClassName: "".concat(u, "-hidden")
700
+ }), function(m) {
701
+ var y = m.className, p = m.style;
702
+ return /* @__PURE__ */ n.createElement(Pt, {
703
+ id: r,
704
+ className: y,
705
+ style: p
706
+ }, i);
707
+ }));
708
+ }
709
+ var Wr = ["style", "className", "title", "eventKey", "warnKey", "disabled", "internalPopupClose", "children", "itemIcon", "expandIcon", "popupClassName", "popupOffset", "popupStyle", "onClick", "onMouseEnter", "onMouseLeave", "onTitleClick", "onTitleMouseEnter", "onTitleMouseLeave"], jr = ["active"], Hr = /* @__PURE__ */ n.forwardRef(function(e, r) {
710
+ var a = e.style, t = e.className, i = e.title, o = e.eventKey, l = e.warnKey, u = e.disabled, d = e.internalPopupClose, s = e.children, g = e.itemIcon, c = e.expandIcon, f = e.popupClassName, b = e.popupOffset, h = e.popupStyle, S = e.onClick, C = e.onMouseEnter, I = e.onMouseLeave, P = e.onTitleClick, v = e.onTitleMouseEnter, m = e.onTitleMouseLeave, y = ne(e, Wr), p = ln(o), R = n.useContext(ae), O = R.prefixCls, E = R.mode, W = R.openKeys, K = R.disabled, _ = R.overflowDisabled, j = R.activeKey, H = R.selectedKeys, B = R.itemIcon, Y = R.expandIcon, T = R.onItemClick, q = R.onOpenChange, V = R.onActive, Q = n.useContext(St), oe = Q._internalRenderSubMenuItem, le = n.useContext(cn), se = le.isSubPathKey, ce = Fe(), F = "".concat(O, "-submenu"), z = K || u, ee = n.useRef(), D = n.useRef();
711
+ process.env.NODE_ENV !== "production" && l && xe(!1, "SubMenu should not leave undefined `key`.");
712
+ var te = g ?? B, G = c ?? Y, ue = W.includes(o), ve = !_ && ue, ze = se(H, o), Ie = dn(o, z, v, m), ge = Ie.active, at = ne(Ie, jr), it = n.useState(!1), Ue = $(it, 2), Pe = Ue[0], We = Ue[1], Ne = function(A) {
713
+ z || We(A);
714
+ }, ot = function(A) {
715
+ Ne(!0), C == null || C({
716
+ key: o,
717
+ domEvent: A
718
+ });
719
+ }, lt = function(A) {
720
+ Ne(!1), I == null || I({
721
+ key: o,
722
+ domEvent: A
723
+ });
724
+ }, Oe = n.useMemo(function() {
725
+ return ge || (E !== "inline" ? Pe || se([j], o) : !1);
726
+ }, [E, ge, j, Pe, o, se]), fe = vn(ce.length), ut = function(A) {
727
+ z || (P == null || P({
728
+ key: o,
729
+ domEvent: A
730
+ }), E === "inline" && q(o, !ue));
731
+ }, st = Le(function(re) {
732
+ S == null || S(et(re)), T(re);
733
+ }), je = function(A) {
734
+ E !== "inline" && q(o, A);
735
+ }, He = function() {
736
+ V(o);
737
+ }, _e = p && "".concat(p, "-popup"), me = /* @__PURE__ */ n.createElement("div", L({
738
+ role: "menuitem",
739
+ style: fe,
740
+ className: "".concat(F, "-title"),
741
+ tabIndex: z ? null : -1,
742
+ ref: ee,
743
+ title: typeof i == "string" ? i : null,
744
+ "data-menu-id": _ && p ? null : p,
745
+ "aria-expanded": ve,
746
+ "aria-haspopup": !0,
747
+ "aria-controls": _e,
748
+ "aria-disabled": z,
749
+ onClick: ut,
750
+ onFocus: He
751
+ }, at), i, /* @__PURE__ */ n.createElement(mn, {
752
+ icon: E !== "horizontal" ? G : void 0,
753
+ props: k(k({}, e), {}, {
754
+ isOpen: ve,
755
+ // [Legacy] Not sure why need this mark
756
+ isSubMenu: !0
757
+ })
758
+ }, /* @__PURE__ */ n.createElement("i", {
759
+ className: "".concat(F, "-arrow")
760
+ }))), he = n.useRef(E);
761
+ if (E !== "inline" && ce.length > 1 ? he.current = "vertical" : he.current = E, !_) {
762
+ var Ce = he.current;
763
+ me = /* @__PURE__ */ n.createElement(zr, {
764
+ mode: Ce,
765
+ prefixCls: F,
766
+ visible: !d && ve && E !== "inline",
767
+ popupClassName: f,
768
+ popupOffset: b,
769
+ popupStyle: h,
770
+ popup: /* @__PURE__ */ n.createElement(
771
+ Ve,
772
+ {
773
+ mode: Ce === "horizontal" ? "vertical" : Ce
774
+ },
775
+ /* @__PURE__ */ n.createElement(Pt, {
776
+ id: _e,
777
+ ref: D
778
+ }, s)
779
+ ),
780
+ disabled: z,
781
+ onVisibleChange: je
782
+ }, me);
783
+ }
784
+ var Ke = /* @__PURE__ */ n.createElement(Te.Item, L({
785
+ ref: r,
786
+ role: "none"
787
+ }, y, {
788
+ component: "li",
789
+ style: a,
790
+ className: de(F, "".concat(F, "-").concat(E), t, x(x(x(x({}, "".concat(F, "-open"), ve), "".concat(F, "-active"), Oe), "".concat(F, "-selected"), ze), "".concat(F, "-disabled"), z)),
791
+ onMouseEnter: ot,
792
+ onMouseLeave: lt
793
+ }), me, !_ && /* @__PURE__ */ n.createElement(Ur, {
794
+ id: _e,
795
+ open: ve,
796
+ keyPath: ce
797
+ }, s));
798
+ return oe && (Ke = oe(Ke, e, {
799
+ selected: ze,
800
+ active: Oe,
801
+ open: ve,
802
+ disabled: z
803
+ })), /* @__PURE__ */ n.createElement(Ve, {
804
+ onItemClick: st,
805
+ mode: E === "horizontal" ? "vertical" : E,
806
+ itemIcon: te,
807
+ expandIcon: G
808
+ }, Ke);
809
+ }), nt = /* @__PURE__ */ n.forwardRef(function(e, r) {
810
+ var a = e.eventKey, t = e.children, i = Fe(a), o = Nt(t, i), l = tt();
811
+ n.useEffect(function() {
812
+ if (l)
813
+ return l.registerPath(a, i), function() {
814
+ l.unregisterPath(a, i);
815
+ };
816
+ }, [i]);
817
+ var u;
818
+ return l ? u = o : u = /* @__PURE__ */ n.createElement(Hr, L({
819
+ ref: r
820
+ }, e), o), /* @__PURE__ */ n.createElement(sn.Provider, {
821
+ value: i
822
+ }, u);
823
+ });
824
+ process.env.NODE_ENV !== "production" && (nt.displayName = "SubMenu");
825
+ function gn(e) {
826
+ var r = e.className, a = e.style, t = n.useContext(ae), i = t.prefixCls, o = tt();
827
+ return o ? null : /* @__PURE__ */ n.createElement("li", {
828
+ role: "separator",
829
+ className: de("".concat(i, "-item-divider"), r),
830
+ style: a
831
+ });
832
+ }
833
+ var Br = ["className", "title", "eventKey", "children"], Gr = /* @__PURE__ */ n.forwardRef(function(e, r) {
834
+ var a = e.className, t = e.title;
835
+ e.eventKey;
836
+ var i = e.children, o = ne(e, Br), l = n.useContext(ae), u = l.prefixCls, d = "".concat(u, "-item-group");
837
+ return /* @__PURE__ */ n.createElement("li", L({
838
+ ref: r,
839
+ role: "presentation"
840
+ }, o, {
841
+ onClick: function(g) {
842
+ return g.stopPropagation();
843
+ },
844
+ className: de(d, a)
845
+ }), /* @__PURE__ */ n.createElement("div", {
846
+ role: "presentation",
847
+ className: "".concat(d, "-title"),
848
+ title: typeof t == "string" ? t : void 0
849
+ }, t), /* @__PURE__ */ n.createElement("ul", {
850
+ role: "group",
851
+ className: "".concat(d, "-list")
852
+ }, i));
853
+ }), Ot = /* @__PURE__ */ n.forwardRef(function(e, r) {
854
+ var a = e.eventKey, t = e.children, i = Fe(a), o = Nt(t, i), l = tt();
855
+ return l ? o : /* @__PURE__ */ n.createElement(Gr, L({
856
+ ref: r
857
+ }, Rt(e, ["warnKey"])), o);
858
+ });
859
+ process.env.NODE_ENV !== "production" && (Ot.displayName = "MenuItemGroup");
860
+ var qr = ["label", "children", "key", "type", "extra"];
861
+ function It(e, r, a) {
862
+ var t = r.item, i = r.group, o = r.submenu, l = r.divider;
863
+ return (e || []).map(function(u, d) {
864
+ if (u && qn(u) === "object") {
865
+ var s = u, g = s.label, c = s.children, f = s.key, b = s.type, h = s.extra, S = ne(s, qr), C = f ?? "tmp-".concat(d);
866
+ return c || b === "group" ? b === "group" ? /* @__PURE__ */ n.createElement(i, L({
867
+ key: C
868
+ }, S, {
869
+ title: g
870
+ }), It(c, r, a)) : /* @__PURE__ */ n.createElement(o, L({
871
+ key: C
872
+ }, S, {
873
+ title: g
874
+ }), It(c, r, a)) : b === "divider" ? /* @__PURE__ */ n.createElement(l, L({
875
+ key: C
876
+ }, S)) : /* @__PURE__ */ n.createElement(t, L({
877
+ key: C
878
+ }, S, {
879
+ extra: h
880
+ }), g, (!!h || h === 0) && /* @__PURE__ */ n.createElement("span", {
881
+ className: "".concat(a, "-item-extra")
882
+ }, h));
883
+ }
884
+ return null;
885
+ }).filter(function(u) {
886
+ return u;
887
+ });
888
+ }
889
+ function Zt(e, r, a, t, i) {
890
+ var o = e, l = k({
891
+ divider: gn,
892
+ item: xt,
893
+ group: Ot,
894
+ submenu: nt
895
+ }, t);
896
+ return r && (o = It(r, l, i)), Nt(o, a);
897
+ }
898
+ var Yr = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], ye = [], Xr = /* @__PURE__ */ n.forwardRef(function(e, r) {
899
+ var a, t = e, i = t.prefixCls, o = i === void 0 ? "rc-menu" : i, l = t.rootClassName, u = t.style, d = t.className, s = t.tabIndex, g = s === void 0 ? 0 : s, c = t.items, f = t.children, b = t.direction, h = t.id, S = t.mode, C = S === void 0 ? "vertical" : S, I = t.inlineCollapsed, P = t.disabled, v = t.disabledOverflow, m = t.subMenuOpenDelay, y = m === void 0 ? 0.1 : m, p = t.subMenuCloseDelay, R = p === void 0 ? 0.1 : p, O = t.forceSubMenuRender, E = t.defaultOpenKeys, W = t.openKeys, K = t.activeKey, _ = t.defaultActiveFirst, j = t.selectable, H = j === void 0 ? !0 : j, B = t.multiple, Y = B === void 0 ? !1 : B, T = t.defaultSelectedKeys, q = t.selectedKeys, V = t.onSelect, Q = t.onDeselect, oe = t.inlineIndent, le = oe === void 0 ? 24 : oe, se = t.motion, ce = t.defaultMotions, F = t.triggerSubMenuAction, z = F === void 0 ? "hover" : F, ee = t.builtinPlacements, D = t.itemIcon, te = t.expandIcon, G = t.overflowedIndicator, ue = G === void 0 ? "..." : G, ve = t.overflowedIndicatorPopupClassName, ze = t.getPopupContainer, Ie = t.onClick, ge = t.onOpenChange, at = t.onKeyDown, it = t.openAnimation, Ue = t.openTransitionName, Pe = t._internalRenderMenuItem, We = t._internalRenderSubMenuItem, Ne = t._internalComponents, ot = ne(t, Yr), lt = n.useMemo(function() {
900
+ return [Zt(f, c, ye, Ne, o), Zt(f, c, ye, {}, o)];
901
+ }, [f, c, Ne]), Oe = $(lt, 2), fe = Oe[0], ut = Oe[1], st = n.useState(!1), je = $(st, 2), He = je[0], _e = je[1], me = n.useRef(), he = Pr(h), Ce = b === "rtl";
902
+ process.env.NODE_ENV !== "production" && xe(!it && !Ue, "`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");
903
+ var Ke = Je(E, {
904
+ value: W,
905
+ postState: function(M) {
906
+ return M || ye;
907
+ }
908
+ }), re = $(Ke, 2), A = re[0], _t = re[1], ct = function(M) {
909
+ var w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
910
+ function X() {
911
+ _t(M), ge == null || ge(M);
912
+ }
913
+ w ? lr(X) : X();
914
+ }, Cn = n.useState(A), Kt = $(Cn, 2), bn = Kt[0], yn = Kt[1], ft = n.useRef(!1), Mn = n.useMemo(function() {
915
+ return (C === "inline" || C === "vertical") && I ? ["vertical", I] : [C, !1];
916
+ }, [C, I]), At = $(Mn, 2), Be = At[0], dt = At[1], kt = Be === "inline", In = n.useState(Be), Dt = $(In, 2), pe = Dt[0], Rn = Dt[1], Sn = n.useState(dt), $t = $(Sn, 2), En = $t[0], wn = $t[1];
917
+ n.useEffect(function() {
918
+ Rn(Be), wn(dt), ft.current && (kt ? _t(bn) : ct(ye));
919
+ }, [Be, dt]);
920
+ var xn = n.useState(0), Lt = $(xn, 2), Ge = Lt[0], Pn = Lt[1], vt = Ge >= fe.length - 1 || pe !== "horizontal" || v;
921
+ n.useEffect(function() {
922
+ kt && yn(A);
923
+ }, [A]), n.useEffect(function() {
924
+ return ft.current = !0, function() {
925
+ ft.current = !1;
926
+ };
927
+ }, []);
928
+ var be = wr(), Tt = be.registerPath, Vt = be.unregisterPath, Nn = be.refreshOverflowKeys, Ft = be.isSubPathKey, On = be.getKeyPath, zt = be.getKeys, _n = be.getSubPathKeys, Kn = n.useMemo(function() {
929
+ return {
930
+ registerPath: Tt,
931
+ unregisterPath: Vt
932
+ };
933
+ }, [Tt, Vt]), An = n.useMemo(function() {
934
+ return {
935
+ isSubPathKey: Ft
936
+ };
937
+ }, [Ft]);
938
+ n.useEffect(function() {
939
+ Nn(vt ? ye : fe.slice(Ge + 1).map(function(N) {
940
+ return N.key;
941
+ }));
942
+ }, [Ge, vt]);
943
+ var kn = Je(K || _ && ((a = fe[0]) === null || a === void 0 ? void 0 : a.key), {
944
+ value: K
945
+ }), Ut = $(kn, 2), Ae = Ut[0], mt = Ut[1], Dn = Le(function(N) {
946
+ mt(N);
947
+ }), $n = Le(function() {
948
+ mt(void 0);
949
+ });
950
+ ar(r, function() {
951
+ return {
952
+ list: me.current,
953
+ focus: function(M) {
954
+ var w, X = zt(), J = yt(X, he), Ye = J.elements, pt = J.key2element, Bn = J.element2key, Ht = Et(me.current, Ye), Bt = Ae ?? (Ht[0] ? Bn.get(Ht[0]) : (w = fe.find(function(Gn) {
955
+ return !Gn.props.disabled;
956
+ })) === null || w === void 0 ? void 0 : w.key), ke = pt.get(Bt);
957
+ if (Bt && ke) {
958
+ var gt;
959
+ ke == null || (gt = ke.focus) === null || gt === void 0 || gt.call(ke, M);
960
+ }
961
+ }
962
+ };
963
+ });
964
+ var Ln = Je(T || [], {
965
+ value: q,
966
+ // Legacy convert key to array
967
+ postState: function(M) {
968
+ return Array.isArray(M) ? M : M == null ? ye : [M];
969
+ }
970
+ }), Wt = $(Ln, 2), qe = Wt[0], Tn = Wt[1], Vn = function(M) {
971
+ if (H) {
972
+ var w = M.key, X = qe.includes(w), J;
973
+ Y ? X ? J = qe.filter(function(pt) {
974
+ return pt !== w;
975
+ }) : J = [].concat(Me(qe), [w]) : J = [w], Tn(J);
976
+ var Ye = k(k({}, M), {}, {
977
+ selectedKeys: J
978
+ });
979
+ X ? Q == null || Q(Ye) : V == null || V(Ye);
980
+ }
981
+ !Y && A.length && pe !== "inline" && ct(ye);
982
+ }, Fn = Le(function(N) {
983
+ Ie == null || Ie(et(N)), Vn(N);
984
+ }), jt = Le(function(N, M) {
985
+ var w = A.filter(function(J) {
986
+ return J !== N;
987
+ });
988
+ if (M)
989
+ w.push(N);
990
+ else if (pe !== "inline") {
991
+ var X = _n(N);
992
+ w = w.filter(function(J) {
993
+ return !X.has(J);
994
+ });
995
+ }
996
+ rn(A, w, !0) || ct(w, !0);
997
+ }), zn = function(M, w) {
998
+ var X = w ?? !A.includes(M);
999
+ jt(M, X);
1000
+ }, Un = Rr(pe, Ae, Ce, he, me, zt, On, mt, zn, at);
1001
+ n.useEffect(function() {
1002
+ _e(!0);
1003
+ }, []);
1004
+ var Wn = n.useMemo(function() {
1005
+ return {
1006
+ _internalRenderMenuItem: Pe,
1007
+ _internalRenderSubMenuItem: We
1008
+ };
1009
+ }, [Pe, We]), jn = pe !== "horizontal" || v ? fe : (
1010
+ // Need wrap for overflow dropdown that do not response for open
1011
+ fe.map(function(N, M) {
1012
+ return (
1013
+ // Always wrap provider to avoid sub node re-mount
1014
+ /* @__PURE__ */ n.createElement(Ve, {
1015
+ key: N.key,
1016
+ overflowDisabled: M > Ge
1017
+ }, N)
1018
+ );
1019
+ })
1020
+ ), Hn = /* @__PURE__ */ n.createElement(Te, L({
1021
+ id: h,
1022
+ ref: me,
1023
+ prefixCls: "".concat(o, "-overflow"),
1024
+ component: "ul",
1025
+ itemComponent: xt,
1026
+ className: de(o, "".concat(o, "-root"), "".concat(o, "-").concat(pe), d, x(x({}, "".concat(o, "-inline-collapsed"), En), "".concat(o, "-rtl"), Ce), l),
1027
+ dir: b,
1028
+ style: u,
1029
+ role: "menu",
1030
+ tabIndex: g,
1031
+ data: jn,
1032
+ renderRawItem: function(M) {
1033
+ return M;
1034
+ },
1035
+ renderRawRest: function(M) {
1036
+ var w = M.length, X = w ? fe.slice(-w) : null;
1037
+ return /* @__PURE__ */ n.createElement(nt, {
1038
+ eventKey: Mt,
1039
+ title: ue,
1040
+ disabled: vt,
1041
+ internalPopupClose: w === 0,
1042
+ popupClassName: ve
1043
+ }, X);
1044
+ },
1045
+ maxCount: pe !== "horizontal" || v ? Te.INVALIDATE : Te.RESPONSIVE,
1046
+ ssr: "full",
1047
+ "data-menu-list": !0,
1048
+ onVisibleChange: function(M) {
1049
+ Pn(M);
1050
+ },
1051
+ onKeyDown: Un
1052
+ }, ot));
1053
+ return /* @__PURE__ */ n.createElement(St.Provider, {
1054
+ value: Wn
1055
+ }, /* @__PURE__ */ n.createElement(an.Provider, {
1056
+ value: he
1057
+ }, /* @__PURE__ */ n.createElement(Ve, {
1058
+ prefixCls: o,
1059
+ rootClassName: l,
1060
+ mode: pe,
1061
+ openKeys: A,
1062
+ rtl: Ce,
1063
+ disabled: P,
1064
+ motion: He ? se : null,
1065
+ defaultMotions: He ? ce : null,
1066
+ activeKey: Ae,
1067
+ onActive: Dn,
1068
+ onInactive: $n,
1069
+ selectedKeys: qe,
1070
+ inlineIndent: le,
1071
+ subMenuOpenDelay: y,
1072
+ subMenuCloseDelay: R,
1073
+ forceSubMenuRender: O,
1074
+ builtinPlacements: ee,
1075
+ triggerSubMenuAction: z,
1076
+ getPopupContainer: ze,
1077
+ itemIcon: D,
1078
+ expandIcon: te,
1079
+ onItemClick: Fn,
1080
+ onOpenChange: jt
1081
+ }, /* @__PURE__ */ n.createElement(cn.Provider, {
1082
+ value: An
1083
+ }, Hn), /* @__PURE__ */ n.createElement("div", {
1084
+ style: {
1085
+ display: "none"
1086
+ },
1087
+ "aria-hidden": !0
1088
+ }, /* @__PURE__ */ n.createElement(un.Provider, {
1089
+ value: Kn
1090
+ }, ut)))));
1091
+ }), rt = Xr;
1092
+ rt.Item = xt;
1093
+ rt.SubMenu = nt;
1094
+ rt.ItemGroup = Ot;
1095
+ rt.Divider = gn;
1096
+ var Jr = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" };
1097
+ const Zr = Jr;
1098
+ var Qr = function(r, a) {
1099
+ return /* @__PURE__ */ n.createElement(ur, L({}, r, {
1100
+ ref: a,
1101
+ icon: Zr
1102
+ }));
1103
+ }, hn = /* @__PURE__ */ n.forwardRef(Qr);
1104
+ process.env.NODE_ENV !== "production" && (hn.displayName = "EllipsisOutlined");
1105
+ const sa = hn;
1106
+ export {
1107
+ gn as D,
1108
+ rt as E,
1109
+ xt as M,
1110
+ nt as S,
1111
+ sa as a,
1112
+ Ot as b,
1113
+ ua as c,
1114
+ Fe as u
1115
+ };