@gobolt/genesis 0.7.3 → 0.8.1

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 (197) hide show
  1. package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +9 -0
  2. package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
  3. package/dist/components/Badge/__stories__/Badge.stories.d.ts +17 -0
  4. package/dist/components/Badge/__tests__/Badge.test.d.ts +1 -0
  5. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +23 -0
  6. package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +9 -0
  7. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.d.ts +1 -0
  8. package/dist/components/Button/__stories__/Button.stories.d.ts +12 -0
  9. package/dist/components/Button/__stories__/IconButton.stories.d.ts +8 -0
  10. package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +8 -0
  11. package/dist/components/Button/__tests__/Button.test.d.ts +1 -0
  12. package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
  13. package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
  14. package/dist/components/Chat/__stories__/Chat.stories.d.ts +19 -0
  15. package/dist/components/Checkbox/__stories__/Checkbox.stories.d.ts +7 -0
  16. package/dist/components/Checkbox/__tests__/Checkbox.test.d.ts +1 -0
  17. package/dist/components/Dashboard/Dashboard.d.ts +5 -0
  18. package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +13 -0
  19. package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +6 -0
  20. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
  21. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
  22. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +12 -0
  23. package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
  24. package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
  25. package/dist/components/Dashboard/index.d.ts +2 -0
  26. package/dist/components/Dashboard/styles.d.ts +13 -0
  27. package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +9 -0
  28. package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  29. package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +10 -0
  30. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
  31. package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +7 -0
  32. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
  33. package/dist/components/ErrorBoundary/styles.d.ts +13 -0
  34. package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +7 -0
  35. package/dist/components/Filters/Filter.d.ts +23 -0
  36. package/dist/components/Filters/FilterRow.d.ts +8 -0
  37. package/dist/components/Filters/Filters.d.ts +8 -0
  38. package/dist/components/Filters/__stories__/Filters.stories.d.ts +7 -0
  39. package/dist/components/Filters/__stories__/mock.d.ts +5 -0
  40. package/dist/components/Filters/__tests__/Filters.test.d.ts +1 -0
  41. package/dist/components/Filters/index.d.ts +2 -0
  42. package/dist/components/Filters/styles.d.ts +28 -0
  43. package/dist/components/Form/Form.d.ts +1 -1
  44. package/dist/components/Form/__stories__/Form.stories.d.ts +6 -0
  45. package/dist/components/Form/__stories__/FormStory.d.ts +1 -0
  46. package/dist/components/Form/__tests__/form.test.d.ts +1 -0
  47. package/dist/components/GlobalHeader/__stories__/GlobalHeader.stories.d.ts +11 -0
  48. package/dist/components/GlobalHeader/__tests__/GlobalHeader.test.d.ts +1 -0
  49. package/dist/components/GlobalHeader/styles.d.ts +15 -0
  50. package/dist/components/Glyph/Glyph.d.ts +3 -0
  51. package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +6 -0
  52. package/dist/components/Glyph/custom/__stories__/UnitNumber.stories.d.ts +7 -0
  53. package/dist/components/Glyph/index.d.ts +4 -0
  54. package/dist/components/Glyph/styles.d.ts +13 -0
  55. package/dist/components/Input/__stories__/Input.stories.d.ts +12 -0
  56. package/dist/components/Input/__tests__/Input.test.d.ts +1 -0
  57. package/dist/components/InputAddon/__stories__/InputAdd.stories.d.ts +10 -0
  58. package/dist/components/Insights/BarChart/__stories__/BarChart.stories.d.ts +8 -0
  59. package/dist/components/Insights/BarChart/__stories__/BarChart.vehicle-insights.stories.d.ts +12 -0
  60. package/dist/components/Insights/BarChart/__tests__/BarChart.test.d.ts +1 -0
  61. package/dist/components/Insights/DonutChart/__stories__/DonutChart.stories.d.ts +8 -0
  62. package/dist/components/Insights/DonutChart/__tests__/DonutChart.test.d.ts +1 -0
  63. package/dist/components/Insights/LineChart/__stories__/LineChart.stories.d.ts +6 -0
  64. package/dist/components/Insights/LineChart/__tests__/LineChart.test.d.ts +1 -0
  65. package/dist/components/Insights/__stories__/InsightsDrawer.stories.d.ts +12 -0
  66. package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
  67. package/dist/components/Layout/MainLayout/MainLayout.d.ts +9 -0
  68. package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +8 -0
  69. package/dist/components/Layout/MainLayout/index.d.ts +2 -0
  70. package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
  71. package/dist/components/Layout/__stories__/Layout.stories.d.ts +6 -0
  72. package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
  73. package/dist/components/Message/__stories__/Message.stories.d.ts +15 -0
  74. package/dist/components/Message/__tests__/Message.test.d.ts +1 -0
  75. package/dist/components/NavBar/NavBar.d.ts +30 -0
  76. package/dist/components/NavBar/NavItem.d.ts +15 -0
  77. package/dist/components/NavBar/NavMenu.d.ts +7 -0
  78. package/dist/components/NavBar/__stories__/AppLayout.stories.d.ts +10 -0
  79. package/dist/components/NavBar/__stories__/NavBar.stories.d.ts +15 -0
  80. package/dist/components/NavBar/__stories__/NavItem.stories.d.ts +16 -0
  81. package/dist/components/NavBar/__stories__/fixtures.d.ts +8 -0
  82. package/dist/components/NavBar/__tests__/NavBar.test.d.ts +1 -0
  83. package/dist/components/NavBar/index.d.ts +2 -0
  84. package/dist/components/NavBar/styles.d.ts +33 -0
  85. package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +12 -0
  86. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
  87. package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
  88. package/dist/components/Notification/__stories__/Notification.stories.d.ts +10 -0
  89. package/dist/components/Notification/__tests__/Notification.test.d.ts +1 -0
  90. package/dist/components/OverflowMenu/__stories__/OverflowMenu.stories.d.ts +8 -0
  91. package/dist/components/OverflowMenu/__tests__/OverflowMenu.test.d.ts +0 -0
  92. package/dist/components/OverflowMenuItem/__stories__/OverflowMenuItem.stories.d.ts +7 -0
  93. package/dist/components/Popover/__stories__/Popover.stories.d.ts +6 -0
  94. package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
  95. package/dist/components/Progress/__stories__/Progress.stories.d.ts +18 -0
  96. package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
  97. package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +8 -0
  98. package/dist/components/Radio/__tests__/RadioGroup.test.d.ts +1 -0
  99. package/dist/components/Row/__stories__/Row.stories.d.ts +12 -0
  100. package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
  101. package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +8 -0
  102. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
  103. package/dist/components/Select/__stories__/Select.stories.d.ts +11 -0
  104. package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +8 -0
  105. package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
  106. package/dist/components/SidePanel/SidePanel.d.ts +30 -0
  107. package/dist/components/SidePanel/__stories__/SidePanel.stories.d.ts +18 -0
  108. package/dist/components/SidePanel/__tests__/SidePanel.test.d.ts +1 -0
  109. package/dist/components/SidePanel/index.d.ts +2 -0
  110. package/dist/components/SidePanel/styles.d.ts +8 -0
  111. package/dist/components/Stories/position-checker.d.ts +6 -0
  112. package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
  113. package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
  114. package/dist/components/Table/InfiniteScrollTable/__stories__/SpaceX.stories.d.ts +6 -0
  115. package/dist/components/Table/InfiniteScrollTable/__stories__/TableInfiniteScroll.stories.d.ts +13 -0
  116. package/dist/components/Table/InfiniteScrollTable/__stories__/api.d.ts +7 -0
  117. package/dist/components/Table/InfiniteScrollTable/__stories__/exampleConfig.d.ts +26 -0
  118. package/dist/components/Table/InfiniteScrollTable/__stories__/spacexConfig.d.ts +2 -0
  119. package/dist/components/Table/InfiniteScrollTable/types.d.ts +88 -0
  120. package/dist/components/Table/TableControls/__stories__/CustomPaginationStandalone.stories.d.ts +9 -0
  121. package/dist/components/Table/TableControls/__stories__/PaginationNumber.stories.d.ts +7 -0
  122. package/dist/components/Table/TableControls/__stories__/TableControls.stories.d.ts +8 -0
  123. package/dist/components/Table/TableControls/__tests__/CustomPagination.test.d.ts +1 -0
  124. package/dist/components/Table/TableControls/__tests__/TableControls.test.d.ts +1 -0
  125. package/dist/components/Table/TableControls/styles.d.ts +13 -0
  126. package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +5 -0
  127. package/dist/components/Table/__stories__/Table.stories.d.ts +10 -0
  128. package/dist/components/Table/__tests__/table.test.d.ts +1 -0
  129. package/dist/components/TableWithControls/__stories__/InfiniteScrollSelectRowsStory.d.ts +1 -0
  130. package/dist/components/TableWithControls/__stories__/InfiniteScrollStory.d.ts +13 -0
  131. package/dist/components/TableWithControls/__stories__/PaginationStory.d.ts +6 -0
  132. package/dist/components/TableWithControls/__stories__/TablePage.stories.d.ts +6 -0
  133. package/dist/components/TableWithControls/__stories__/TableWithControls.stories.d.ts +13 -0
  134. package/dist/components/TableWithControls/__tests__/TableWithControls.test.d.ts +1 -0
  135. package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +9 -0
  136. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
  137. package/dist/components/Tag/__stories__/Tag.stories.d.ts +10 -0
  138. package/dist/components/Tile/__stories__/Tile.stories.d.ts +6 -0
  139. package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
  140. package/dist/components/TileLog/TileLog.d.ts +10 -0
  141. package/dist/components/TileLog/__stories__/TileLog.stories.d.ts +22 -0
  142. package/dist/components/TileLog/index.d.ts +2 -0
  143. package/dist/components/TileLog/styles.d.ts +15 -0
  144. package/dist/components/Toast/__stories__/Toast.stories.d.ts +15 -0
  145. package/dist/components/Toast/__tests__/Toast.test.d.ts +1 -0
  146. package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +8 -0
  147. package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  148. package/dist/components/Typography/Typography.d.ts +2 -1
  149. package/dist/components/Typography/__stories__/Typography.stories.d.ts +15 -0
  150. package/dist/components/Typography/__tests__/Typography.test.d.ts +1 -0
  151. package/dist/components/UtilityButton/UtilityButton.d.ts +1 -2
  152. package/dist/components/index.d.ts +6 -0
  153. package/dist/genesis/ComponentOverview.stories.d.ts +6 -0
  154. package/dist/genesis/GenesisThemeBreakdown.d.ts +3 -0
  155. package/dist/genesis/GenesisThemeDemo.d.ts +4 -0
  156. package/dist/genesis/GenesisThemeDemo.stories.d.ts +6 -0
  157. package/dist/genesis/Lab.stories.d.ts +5 -0
  158. package/dist/genesis/stories.d.ts +4 -0
  159. package/dist/genesis/styles.d.ts +11 -0
  160. package/dist/index.cjs +2257 -446
  161. package/dist/index.js +2196 -385
  162. package/dist/interface/address.d.ts +10 -0
  163. package/dist/interface/appointment.d.ts +56 -0
  164. package/dist/interface/appointmentV2.d.ts +64 -0
  165. package/dist/interface/appointmentsState.d.ts +20 -0
  166. package/dist/interface/common.d.ts +2 -0
  167. package/dist/interface/completionData.d.ts +18 -0
  168. package/dist/interface/deliveryPartner.d.ts +24 -0
  169. package/dist/interface/organization.d.ts +9 -0
  170. package/dist/interface/pagination.d.ts +8 -0
  171. package/dist/interface/roles.d.ts +9 -0
  172. package/dist/interface/route.d.ts +72 -0
  173. package/dist/interface/routeAnalysis.d.ts +107 -0
  174. package/dist/interface/routeAutomationJob.d.ts +94 -0
  175. package/dist/interface/routeAutomationLog.d.ts +9 -0
  176. package/dist/interface/routeEvent.d.ts +55 -0
  177. package/dist/interface/serviceArea.d.ts +17 -0
  178. package/dist/interface/util.d.ts +3 -0
  179. package/dist/interface/vehicle.d.ts +119 -0
  180. package/dist/interface/workOrder.d.ts +22 -0
  181. package/dist/providers/__stories__/GenesisProvider.stories.d.ts +5 -0
  182. package/dist/setupTests.d.ts +1 -0
  183. package/dist/styles/design-tokens/border-tokens/BorderTokenList.d.ts +1 -0
  184. package/dist/styles/design-tokens/border-tokens/BorderTokens.stories.d.ts +5 -0
  185. package/dist/styles/design-tokens/color-tokens/ColorTokens.stories.d.ts +6 -0
  186. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -0
  187. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +5 -0
  188. package/dist/styles/design-tokens/typography-tokens/TypographyTokens.stories.d.ts +7 -0
  189. package/dist/styles/design-tokens/variables.d.ts +706 -0
  190. package/dist/styles/theme/genesis-theme.types.d.ts +263 -0
  191. package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
  192. package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +5 -0
  193. package/dist/test/setup.d.ts +3 -0
  194. package/dist/test/setup.types.d.ts +6 -0
  195. package/dist/types/events.d.ts +21 -0
  196. package/dist/utils/simple-markdown.d.ts +4 -0
  197. package/package.json +2 -1
package/dist/index.js CHANGED
@@ -1,18 +1,13 @@
1
1
  import styled, { useTheme as useTheme$1, keyframes, ThemeProvider, createGlobalStyle } from "styled-components";
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
- import React__default, { isValidElement, version as version$2, useContext as useContext$1, createContext as createContext$1, useRef, useLayoutEffect as useLayoutEffect$2, useEffect, forwardRef, useState, useMemo as useMemo$1, Children, useCallback, useImperativeHandle, cloneElement as cloneElement$1, useSyncExternalStore } from "react";
4
+ import React__default, { isValidElement, version as version$2, useContext as useContext$1, createContext as createContext$1, useRef, useLayoutEffect as useLayoutEffect$2, useEffect, forwardRef, useState, useMemo as useMemo$1, Children, useCallback, useImperativeHandle, cloneElement as cloneElement$1, useSyncExternalStore, createElement } from "react";
5
5
  import * as ReactDOM from "react-dom";
6
6
  import ReactDOM__default, { createPortal, unstable_batchedUpdates, flushSync } from "react-dom";
7
7
  function getDefaultExportFromCjs(x2) {
8
8
  return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
9
9
  }
10
10
  var classnames = { exports: {} };
11
- /*!
12
- Copyright (c) 2018 Jed Watson.
13
- Licensed under the MIT License (MIT), see
14
- http://jedwatson.github.io/classnames
15
- */
16
11
  var hasRequiredClassnames;
17
12
  function requireClassnames() {
18
13
  if (hasRequiredClassnames) return classnames.exports;
@@ -89,9 +84,9 @@ function _typeof(o2) {
89
84
  return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
90
85
  }, _typeof(o2);
91
86
  }
92
- var REACT_ELEMENT_TYPE_18 = Symbol.for("react.element");
93
- var REACT_ELEMENT_TYPE_19 = Symbol.for("react.transitional.element");
94
- var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
87
+ var REACT_ELEMENT_TYPE_18 = /* @__PURE__ */ Symbol.for("react.element");
88
+ var REACT_ELEMENT_TYPE_19 = /* @__PURE__ */ Symbol.for("react.transitional.element");
89
+ var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
95
90
  function isFragment$1(object4) {
96
91
  return (
97
92
  // Base object type
@@ -228,21 +223,12 @@ function findDOMNode(node2) {
228
223
  }
229
224
  var reactIs = { exports: {} };
230
225
  var reactIs_production_min = {};
231
- /**
232
- * @license React
233
- * react-is.production.min.js
234
- *
235
- * Copyright (c) Facebook, Inc. and its affiliates.
236
- *
237
- * This source code is licensed under the MIT license found in the
238
- * LICENSE file in the root directory of this source tree.
239
- */
240
226
  var hasRequiredReactIs_production_min;
241
227
  function requireReactIs_production_min() {
242
228
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
243
229
  hasRequiredReactIs_production_min = 1;
244
- var b = Symbol.for("react.element"), c = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), e3 = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), h = Symbol.for("react.context"), k = Symbol.for("react.server_context"), l2 = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), n2 = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), t2 = Symbol.for("react.offscreen"), u;
245
- u = Symbol.for("react.module.reference");
230
+ var b = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), e3 = /* @__PURE__ */ Symbol.for("react.strict_mode"), f = /* @__PURE__ */ Symbol.for("react.profiler"), g = /* @__PURE__ */ Symbol.for("react.provider"), h = /* @__PURE__ */ Symbol.for("react.context"), k = /* @__PURE__ */ Symbol.for("react.server_context"), l2 = /* @__PURE__ */ Symbol.for("react.forward_ref"), m = /* @__PURE__ */ Symbol.for("react.suspense"), n2 = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), q = /* @__PURE__ */ Symbol.for("react.lazy"), t2 = /* @__PURE__ */ Symbol.for("react.offscreen"), u;
231
+ u = /* @__PURE__ */ Symbol.for("react.module.reference");
246
232
  function v(a) {
247
233
  if ("object" === typeof a && null !== a) {
248
234
  var r2 = a.$$typeof;
@@ -334,35 +320,26 @@ function requireReactIs_production_min() {
334
320
  return reactIs_production_min;
335
321
  }
336
322
  var reactIs_development = {};
337
- /**
338
- * @license React
339
- * react-is.development.js
340
- *
341
- * Copyright (c) Facebook, Inc. and its affiliates.
342
- *
343
- * This source code is licensed under the MIT license found in the
344
- * LICENSE file in the root directory of this source tree.
345
- */
346
323
  var hasRequiredReactIs_development;
347
324
  function requireReactIs_development() {
348
325
  if (hasRequiredReactIs_development) return reactIs_development;
349
326
  hasRequiredReactIs_development = 1;
350
327
  if (process.env.NODE_ENV !== "production") {
351
328
  (function() {
352
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
353
- var REACT_PORTAL_TYPE = Symbol.for("react.portal");
354
- var REACT_FRAGMENT_TYPE2 = Symbol.for("react.fragment");
355
- var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
356
- var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
357
- var REACT_PROVIDER_TYPE = Symbol.for("react.provider");
358
- var REACT_CONTEXT_TYPE = Symbol.for("react.context");
359
- var REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context");
360
- var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
361
- var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
362
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list");
363
- var REACT_MEMO_TYPE = Symbol.for("react.memo");
364
- var REACT_LAZY_TYPE = Symbol.for("react.lazy");
365
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
329
+ var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.element");
330
+ var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
331
+ var REACT_FRAGMENT_TYPE2 = /* @__PURE__ */ Symbol.for("react.fragment");
332
+ var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
333
+ var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
334
+ var REACT_PROVIDER_TYPE = /* @__PURE__ */ Symbol.for("react.provider");
335
+ var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
336
+ var REACT_SERVER_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.server_context");
337
+ var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
338
+ var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
339
+ var REACT_SUSPENSE_LIST_TYPE = /* @__PURE__ */ Symbol.for("react.suspense_list");
340
+ var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
341
+ var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy");
342
+ var REACT_OFFSCREEN_TYPE = /* @__PURE__ */ Symbol.for("react.offscreen");
366
343
  var enableScopeAPI = false;
367
344
  var enableCacheElement = false;
368
345
  var enableTransitionTracing = false;
@@ -370,7 +347,7 @@ function requireReactIs_development() {
370
347
  var enableDebugTracing = false;
371
348
  var REACT_MODULE_REFERENCE;
372
349
  {
373
- REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
350
+ REACT_MODULE_REFERENCE = /* @__PURE__ */ Symbol.for("react.module.reference");
374
351
  }
375
352
  function isValidElementType(type4) {
376
353
  if (typeof type4 === "string" || typeof type4 === "function") {
@@ -5276,7 +5253,7 @@ function getAlphaColor(frontColor, backgroundColor) {
5276
5253
  a: 1
5277
5254
  }).toRgbString();
5278
5255
  }
5279
- var __rest$_ = function(s, e3) {
5256
+ var __rest$$ = function(s, e3) {
5280
5257
  var t2 = {};
5281
5258
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
5282
5259
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -5287,7 +5264,7 @@ var __rest$_ = function(s, e3) {
5287
5264
  function formatToken(derivativeToken) {
5288
5265
  const {
5289
5266
  override
5290
- } = derivativeToken, restToken = __rest$_(derivativeToken, ["override"]);
5267
+ } = derivativeToken, restToken = __rest$$(derivativeToken, ["override"]);
5291
5268
  const overrideTokens = Object.assign({}, override);
5292
5269
  Object.keys(seedToken).forEach((token2) => {
5293
5270
  delete overrideTokens[token2];
@@ -5441,7 +5418,7 @@ function formatToken(derivativeToken) {
5441
5418
  }), overrideTokens);
5442
5419
  return aliasToken;
5443
5420
  }
5444
- var __rest$Z = function(s, e3) {
5421
+ var __rest$_ = function(s, e3) {
5445
5422
  var t2 = {};
5446
5423
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
5447
5424
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -5491,7 +5468,7 @@ const getComputedToken2 = (originToken, overrideToken, theme) => {
5491
5468
  const derivativeToken = theme.getDerivativeToken(originToken);
5492
5469
  const {
5493
5470
  override
5494
- } = overrideToken, components2 = __rest$Z(overrideToken, ["override"]);
5471
+ } = overrideToken, components2 = __rest$_(overrideToken, ["override"]);
5495
5472
  let mergedDerivativeToken = Object.assign(Object.assign({}, derivativeToken), {
5496
5473
  override
5497
5474
  });
@@ -5500,7 +5477,7 @@ const getComputedToken2 = (originToken, overrideToken, theme) => {
5500
5477
  Object.entries(components2).forEach(([key, value2]) => {
5501
5478
  const {
5502
5479
  theme: componentTheme
5503
- } = value2, componentTokens = __rest$Z(value2, ["theme"]);
5480
+ } = value2, componentTokens = __rest$_(value2, ["theme"]);
5504
5481
  let mergedComponentToken = componentTokens;
5505
5482
  if (componentTheme) {
5506
5483
  mergedComponentToken = getComputedToken2(Object.assign(Object.assign({}, mergedDerivativeToken), componentTokens), {
@@ -5791,10 +5768,10 @@ function useTheme(theme, parentTheme, config) {
5791
5768
  return !isEqual(prevTheme, nextTheme, true);
5792
5769
  }));
5793
5770
  }
5794
- var _excluded$S = ["children"];
5771
+ var _excluded$T = ["children"];
5795
5772
  var Context$1 = /* @__PURE__ */ React.createContext({});
5796
5773
  function MotionProvider(_ref) {
5797
- var children2 = _ref.children, props = _objectWithoutProperties$1(_ref, _excluded$S);
5774
+ var children2 = _ref.children, props = _objectWithoutProperties$1(_ref, _excluded$T);
5798
5775
  return /* @__PURE__ */ React.createElement(Context$1.Provider, {
5799
5776
  value: props
5800
5777
  }, children2);
@@ -6313,7 +6290,7 @@ function diffKeys() {
6313
6290
  });
6314
6291
  return list2;
6315
6292
  }
6316
- var _excluded$R = ["component", "children", "onVisibleChanged", "onAllRemoved"], _excluded2$9 = ["status"];
6293
+ var _excluded$S = ["component", "children", "onVisibleChanged", "onAllRemoved"], _excluded2$9 = ["status"];
6317
6294
  var MOTION_PROP_NAMES = ["eventProps", "visible", "children", "motionName", "motionAppear", "motionEnter", "motionLeave", "motionLeaveImmediately", "motionDeadline", "removeOnLeave", "leavedClassName", "onAppearPrepare", "onAppearStart", "onAppearActive", "onAppearEnd", "onEnterStart", "onEnterActive", "onEnterEnd", "onLeaveStart", "onLeaveActive", "onLeaveEnd"];
6318
6295
  function genCSSMotionList(transitionSupport) {
6319
6296
  var CSSMotion$1 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : CSSMotion;
@@ -6361,7 +6338,7 @@ function genCSSMotionList(transitionSupport) {
6361
6338
  var keyEntities = this.state.keyEntities;
6362
6339
  var _this$props = this.props, component = _this$props.component, children2 = _this$props.children, _onVisibleChanged = _this$props.onVisibleChanged;
6363
6340
  _this$props.onAllRemoved;
6364
- var restProps = _objectWithoutProperties$1(_this$props, _excluded$R);
6341
+ var restProps = _objectWithoutProperties$1(_this$props, _excluded$S);
6365
6342
  var Component = component || React.Fragment;
6366
6343
  var motionProps = {};
6367
6344
  MOTION_PROP_NAMES.forEach(function(prop) {
@@ -6455,7 +6432,7 @@ if (process.env.NODE_ENV !== "production") {
6455
6432
  PropWarning.displayName = "PropWarning";
6456
6433
  }
6457
6434
  const PropWarning$1 = process.env.NODE_ENV !== "production" ? PropWarning : () => null;
6458
- var __rest$Y = function(s, e3) {
6435
+ var __rest$Z = function(s, e3) {
6459
6436
  var t2 = {};
6460
6437
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
6461
6438
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -6500,7 +6477,7 @@ const ProviderChildren = (props) => {
6500
6477
  children: children2,
6501
6478
  csp: customCsp,
6502
6479
  autoInsertSpaceInButton,
6503
- alert,
6480
+ alert: alert2,
6504
6481
  anchor,
6505
6482
  form,
6506
6483
  locale: locale2,
@@ -6600,7 +6577,7 @@ const ProviderChildren = (props) => {
6600
6577
  const baseConfig = {
6601
6578
  csp,
6602
6579
  autoInsertSpaceInButton,
6603
- alert,
6580
+ alert: alert2,
6604
6581
  anchor,
6605
6582
  locale: locale2 || legacyLocale,
6606
6583
  direction,
@@ -6742,7 +6719,7 @@ const ProviderChildren = (props) => {
6742
6719
  token: token2,
6743
6720
  components: components2,
6744
6721
  cssVar
6745
- } = _a, rest = __rest$Y(_a, ["algorithm", "token", "components", "cssVar"]);
6722
+ } = _a, rest = __rest$Z(_a, ["algorithm", "token", "components", "cssVar"]);
6746
6723
  const themeObj = algorithm && (!Array.isArray(algorithm) || algorithm.length > 0) ? createTheme(algorithm) : defaultTheme;
6747
6724
  const parsedComponents = {};
6748
6725
  Object.entries(components2 || {}).forEach(([componentName, componentToken]) => {
@@ -6889,7 +6866,7 @@ var useInsertStyles = function useInsertStyles2(eleRef) {
6889
6866
  });
6890
6867
  }, []);
6891
6868
  };
6892
- var _excluded$Q = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"];
6869
+ var _excluded$R = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"];
6893
6870
  var twoToneColorPalette = {
6894
6871
  primaryColor: "#333",
6895
6872
  secondaryColor: "#E6E6E6",
@@ -6905,7 +6882,7 @@ function getTwoToneColors() {
6905
6882
  return _objectSpread2({}, twoToneColorPalette);
6906
6883
  }
6907
6884
  var IconBase$1 = function IconBase(props) {
6908
- var icon = props.icon, className = props.className, onClick = props.onClick, style2 = props.style, primaryColor = props.primaryColor, secondaryColor = props.secondaryColor, restProps = _objectWithoutProperties$1(props, _excluded$Q);
6885
+ var icon = props.icon, className = props.className, onClick = props.onClick, style2 = props.style, primaryColor = props.primaryColor, secondaryColor = props.secondaryColor, restProps = _objectWithoutProperties$1(props, _excluded$R);
6909
6886
  var svgRef = React.useRef();
6910
6887
  var colors2 = twoToneColorPalette;
6911
6888
  if (primaryColor) {
@@ -6955,10 +6932,10 @@ function getTwoToneColor() {
6955
6932
  }
6956
6933
  return [colors2.primaryColor, colors2.secondaryColor];
6957
6934
  }
6958
- var _excluded$P = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
6935
+ var _excluded$Q = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
6959
6936
  setTwoToneColor(blue.primary);
6960
6937
  var Icon$3 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
6961
- var className = props.className, icon = props.icon, spin = props.spin, rotate = props.rotate, tabIndex = props.tabIndex, onClick = props.onClick, twoToneColor = props.twoToneColor, restProps = _objectWithoutProperties$1(props, _excluded$P);
6938
+ var className = props.className, icon = props.icon, spin = props.spin, rotate = props.rotate, tabIndex = props.tabIndex, onClick = props.onClick, twoToneColor = props.twoToneColor, restProps = _objectWithoutProperties$1(props, _excluded$Q);
6962
6939
  var _React$useContext = React.useContext(IconContext$1), _React$useContext$pre = _React$useContext.prefixCls, prefixCls = _React$useContext$pre === void 0 ? "anticon" : _React$useContext$pre, rootClassName = _React$useContext.rootClassName;
6963
6940
  var classString = classNames(rootClassName, prefixCls, _defineProperty$1(_defineProperty$1({}, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), "".concat(prefixCls, "-spin"), !!spin || icon.name === "loading"), className);
6964
6941
  var iconTabIndex = tabIndex;
@@ -7256,7 +7233,7 @@ const genActionStyle = (token2) => {
7256
7233
  }
7257
7234
  };
7258
7235
  };
7259
- const prepareComponentToken$p = (token2) => {
7236
+ const prepareComponentToken$q = (token2) => {
7260
7237
  const paddingHorizontal = 12;
7261
7238
  return {
7262
7239
  withDescriptionIconSize: token2.fontSizeHeading3,
@@ -7264,8 +7241,8 @@ const prepareComponentToken$p = (token2) => {
7264
7241
  withDescriptionPadding: `${token2.paddingMD}px ${token2.paddingContentHorizontalLG}px`
7265
7242
  };
7266
7243
  };
7267
- const useStyle$v = genStyleHooks("Alert", (token2) => [genBaseStyle$9(token2), genTypeStyle(token2), genActionStyle(token2)], prepareComponentToken$p);
7268
- var __rest$X = function(s, e3) {
7244
+ const useStyle$w = genStyleHooks("Alert", (token2) => [genBaseStyle$9(token2), genTypeStyle(token2), genActionStyle(token2)], prepareComponentToken$q);
7245
+ var __rest$Y = function(s, e3) {
7269
7246
  var t2 = {};
7270
7247
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
7271
7248
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -7332,7 +7309,7 @@ const Alert$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
7332
7309
  closeIcon,
7333
7310
  action,
7334
7311
  id: id2
7335
- } = props, otherProps = __rest$X(props, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "id"]);
7312
+ } = props, otherProps = __rest$Y(props, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "id"]);
7336
7313
  const [closed, setClosed] = React.useState(false);
7337
7314
  if (process.env.NODE_ENV !== "production") {
7338
7315
  const warning3 = devUseWarning("Alert");
@@ -7351,7 +7328,7 @@ const Alert$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
7351
7328
  style: contextStyle
7352
7329
  } = useComponentConfig("alert");
7353
7330
  const prefixCls = getPrefixCls("alert", customizePrefixCls);
7354
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$v(prefixCls);
7331
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$w(prefixCls);
7355
7332
  const handleClose = (e3) => {
7356
7333
  var _a;
7357
7334
  setClosed(true);
@@ -7407,7 +7384,7 @@ const Alert$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
7407
7384
  if (typeof merged === "object") {
7408
7385
  const {
7409
7386
  closeIcon: _
7410
- } = merged, ariaProps = __rest$X(merged, ["closeIcon"]);
7387
+ } = merged, ariaProps = __rest$Y(merged, ["closeIcon"]);
7411
7388
  return ariaProps;
7412
7389
  }
7413
7390
  return {};
@@ -7898,7 +7875,6 @@ function _regeneratorDefine(e3, r2, n2, t2) {
7898
7875
  }, _regeneratorDefine(e3, r2, n2, t2);
7899
7876
  }
7900
7877
  function _regenerator() {
7901
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
7902
7878
  var e3, t2, r2 = "function" == typeof Symbol ? Symbol : {}, n2 = r2.iterator || "@@iterator", o2 = r2.toStringTag || "@@toStringTag";
7903
7879
  function i(r3, n3, o3, i2) {
7904
7880
  var c2 = n3 && n3.prototype instanceof Generator ? n3 : Generator, u2 = Object.create(c2.prototype);
@@ -8314,7 +8290,7 @@ const genWaveStyle = (token2) => {
8314
8290
  }
8315
8291
  };
8316
8292
  };
8317
- const useStyle$u = genComponentStyleHook("Wave", genWaveStyle);
8293
+ const useStyle$v = genComponentStyleHook("Wave", genWaveStyle);
8318
8294
  const TARGET_CLS = `${defaultPrefixCls}-wave-target`;
8319
8295
  function isValidWaveColor(color2) {
8320
8296
  return color2 && color2 !== "#fff" && color2 !== "#ffffff" && color2 !== "rgb(255, 255, 255)" && color2 !== "rgba(255, 255, 255, 1)" && !/rgba\((?:\d*, ){3}0\)/.test(color2) && // any transparent rgba color
@@ -8492,7 +8468,7 @@ const Wave = (props) => {
8492
8468
  } = useContext$1(ConfigContext);
8493
8469
  const containerRef = useRef(null);
8494
8470
  const prefixCls = getPrefixCls("wave");
8495
- const [, hashId] = useStyle$u(prefixCls);
8471
+ const [, hashId] = useStyle$v(prefixCls);
8496
8472
  const showWave = useWave(containerRef, classNames(prefixCls, hashId), component);
8497
8473
  React__default.useEffect(() => {
8498
8474
  const node2 = containerRef.current;
@@ -8620,7 +8596,7 @@ const genSpaceGapStyle = (token2) => {
8620
8596
  }
8621
8597
  };
8622
8598
  };
8623
- const useStyle$t = genStyleHooks("Space", (token2) => {
8599
+ const useStyle$u = genStyleHooks("Space", (token2) => {
8624
8600
  const spaceToken = merge$1(token2, {
8625
8601
  spaceGapSmallSize: token2.paddingXS,
8626
8602
  spaceGapMiddleSize: token2.padding,
@@ -8632,7 +8608,7 @@ const useStyle$t = genStyleHooks("Space", (token2) => {
8632
8608
  // https://github.com/ant-design/ant-design/issues/40315
8633
8609
  resetStyle: false
8634
8610
  });
8635
- var __rest$W = function(s, e3) {
8611
+ var __rest$X = function(s, e3) {
8636
8612
  var t2 = {};
8637
8613
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
8638
8614
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -8676,7 +8652,7 @@ const NoCompactStyle = (props) => {
8676
8652
  const CompactItem = (props) => {
8677
8653
  const {
8678
8654
  children: children2
8679
- } = props, others = __rest$W(props, ["children"]);
8655
+ } = props, others = __rest$X(props, ["children"]);
8680
8656
  return /* @__PURE__ */ React.createElement(SpaceCompactItemContext.Provider, {
8681
8657
  value: React.useMemo(() => others, [others])
8682
8658
  }, children2);
@@ -8694,10 +8670,10 @@ const Compact$1 = (props) => {
8694
8670
  className,
8695
8671
  rootClassName,
8696
8672
  children: children2
8697
- } = props, restProps = __rest$W(props, ["size", "direction", "block", "prefixCls", "className", "rootClassName", "children"]);
8673
+ } = props, restProps = __rest$X(props, ["size", "direction", "block", "prefixCls", "className", "rootClassName", "children"]);
8698
8674
  const mergedSize = useSize((ctx) => size !== null && size !== void 0 ? size : ctx);
8699
8675
  const prefixCls = getPrefixCls("space-compact", customizePrefixCls);
8700
- const [wrapCSSVar, hashId] = useStyle$t(prefixCls);
8676
+ const [wrapCSSVar, hashId] = useStyle$u(prefixCls);
8701
8677
  const clx = classNames(prefixCls, hashId, {
8702
8678
  [`${prefixCls}-rtl`]: directionConfig === "rtl",
8703
8679
  [`${prefixCls}-block`]: block,
@@ -8722,7 +8698,7 @@ const Compact$1 = (props) => {
8722
8698
  className: clx
8723
8699
  }, restProps), nodes));
8724
8700
  };
8725
- var __rest$V = function(s, e3) {
8701
+ var __rest$W = function(s, e3) {
8726
8702
  var t2 = {};
8727
8703
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
8728
8704
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -8740,7 +8716,7 @@ const ButtonGroup = (props) => {
8740
8716
  prefixCls: customizePrefixCls,
8741
8717
  size,
8742
8718
  className
8743
- } = props, others = __rest$V(props, ["prefixCls", "size", "className"]);
8719
+ } = props, others = __rest$W(props, ["prefixCls", "size", "className"]);
8744
8720
  const prefixCls = getPrefixCls("btn-group", customizePrefixCls);
8745
8721
  const [, , hashId] = useToken();
8746
8722
  const sizeCls = React.useMemo(() => {
@@ -8975,7 +8951,7 @@ const genGroupStyle$2 = (token2) => {
8975
8951
  ]
8976
8952
  };
8977
8953
  };
8978
- var _excluded$O = ["b"], _excluded2$8 = ["v"];
8954
+ var _excluded$P = ["b"], _excluded2$8 = ["v"];
8979
8955
  var getRoundNumber = function getRoundNumber2(value2) {
8980
8956
  return Math.round(Number(value2 || 0));
8981
8957
  };
@@ -8984,7 +8960,7 @@ var convertHsb2Hsv = function convertHsb2Hsv2(color2) {
8984
8960
  return color2;
8985
8961
  }
8986
8962
  if (color2 && _typeof(color2) === "object" && "h" in color2 && "b" in color2) {
8987
- var _ref = color2, b = _ref.b, resets = _objectWithoutProperties$1(_ref, _excluded$O);
8963
+ var _ref = color2, b = _ref.b, resets = _objectWithoutProperties$1(_ref, _excluded$P);
8988
8964
  return _objectSpread2(_objectSpread2({}, resets), {}, {
8989
8965
  v: b
8990
8966
  });
@@ -10130,7 +10106,7 @@ const prepareToken$2 = (token2) => {
10130
10106
  });
10131
10107
  return buttonToken;
10132
10108
  };
10133
- const prepareComponentToken$o = (token2) => {
10109
+ const prepareComponentToken$p = (token2) => {
10134
10110
  var _a, _b, _c, _d, _e, _f;
10135
10111
  const contentFontSize = (_a = token2.contentFontSize) !== null && _a !== void 0 ? _a : token2.fontSize;
10136
10112
  const contentFontSizeSM = (_b = token2.contentFontSizeSM) !== null && _b !== void 0 ? _b : token2.fontSize;
@@ -10637,7 +10613,7 @@ const genBlockButtonStyle = (token2) => {
10637
10613
  }
10638
10614
  };
10639
10615
  };
10640
- const useStyle$s = genStyleHooks("Button", (token2) => {
10616
+ const useStyle$t = genStyleHooks("Button", (token2) => {
10641
10617
  const buttonToken = prepareToken$2(token2);
10642
10618
  return [
10643
10619
  // Shared
@@ -10655,7 +10631,7 @@ const useStyle$s = genStyleHooks("Button", (token2) => {
10655
10631
  // Button Group
10656
10632
  genGroupStyle$2(buttonToken)
10657
10633
  ];
10658
- }, prepareComponentToken$o, {
10634
+ }, prepareComponentToken$p, {
10659
10635
  unitless: {
10660
10636
  fontWeight: true,
10661
10637
  contentLineHeight: true,
@@ -10803,8 +10779,8 @@ const Compact = genSubStyleComponent(["Button", "compact"], (token2) => {
10803
10779
  genCompactItemVerticalStyle(buttonToken),
10804
10780
  genButtonCompactStyle(buttonToken)
10805
10781
  ];
10806
- }, prepareComponentToken$o);
10807
- var __rest$U = function(s, e3) {
10782
+ }, prepareComponentToken$p);
10783
+ var __rest$V = function(s, e3) {
10808
10784
  var t2 = {};
10809
10785
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
10810
10786
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -10860,7 +10836,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React__default.forwardRef((prop
10860
10836
  style: customStyle = {},
10861
10837
  autoInsertSpace,
10862
10838
  autoFocus
10863
- } = props, rest = __rest$U(props, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]);
10839
+ } = props, rest = __rest$V(props, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]);
10864
10840
  const mergedType = type4 || "default";
10865
10841
  const {
10866
10842
  button: button2
@@ -10895,7 +10871,7 @@ const InternalCompoundedButton = /* @__PURE__ */ React__default.forwardRef((prop
10895
10871
  } = useComponentConfig("button");
10896
10872
  const mergedInsertSpace = (_a = autoInsertSpace !== null && autoInsertSpace !== void 0 ? autoInsertSpace : contextAutoInsertSpace) !== null && _a !== void 0 ? _a : true;
10897
10873
  const prefixCls = getPrefixCls("btn", customizePrefixCls);
10898
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$s(prefixCls);
10874
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$t(prefixCls);
10899
10875
  const disabled2 = useContext$1(DisabledContext);
10900
10876
  const mergedDisabled = customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled2;
10901
10877
  const groupSize = useContext$1(GroupSizeContext);
@@ -11502,19 +11478,19 @@ function _wrapNativeSuper(t2) {
11502
11478
  if ("function" != typeof t3) throw new TypeError("Super expression must either be null or a function");
11503
11479
  if (void 0 !== r2) {
11504
11480
  if (r2.has(t3)) return r2.get(t3);
11505
- r2.set(t3, Wrapper);
11481
+ r2.set(t3, Wrapper2);
11506
11482
  }
11507
- function Wrapper() {
11483
+ function Wrapper2() {
11508
11484
  return _construct(t3, arguments, _getPrototypeOf(this).constructor);
11509
11485
  }
11510
- return Wrapper.prototype = Object.create(t3.prototype, {
11486
+ return Wrapper2.prototype = Object.create(t3.prototype, {
11511
11487
  constructor: {
11512
- value: Wrapper,
11488
+ value: Wrapper2,
11513
11489
  enumerable: false,
11514
11490
  writable: true,
11515
11491
  configurable: true
11516
11492
  }
11517
- }), _setPrototypeOf(Wrapper, t3);
11493
+ }), _setPrototypeOf(Wrapper2, t3);
11518
11494
  }, _wrapNativeSuper(t2);
11519
11495
  }
11520
11496
  var formatRegExp = /%[sdj%]/g;
@@ -12832,7 +12808,7 @@ function move(array4, moveIndex, toIndex) {
12832
12808
  }
12833
12809
  return array4;
12834
12810
  }
12835
- var _excluded$N = ["name"];
12811
+ var _excluded$O = ["name"];
12836
12812
  var EMPTY_ERRORS = [];
12837
12813
  function requireUpdate(shouldUpdate, prev2, next2, prevValue, nextValue, info) {
12838
12814
  if (typeof shouldUpdate === "function") {
@@ -13279,7 +13255,7 @@ _defineProperty$1(Field, "defaultProps", {
13279
13255
  });
13280
13256
  function WrapperField(_ref6) {
13281
13257
  var _restProps$isListFiel;
13282
- var name2 = _ref6.name, restProps = _objectWithoutProperties$1(_ref6, _excluded$N);
13258
+ var name2 = _ref6.name, restProps = _objectWithoutProperties$1(_ref6, _excluded$O);
13283
13259
  var fieldContext = React.useContext(Context);
13284
13260
  var listContext = React.useContext(ListContext);
13285
13261
  var namePath = name2 !== void 0 ? getNamePath(name2) : void 0;
@@ -13511,7 +13487,7 @@ var NameMap = /* @__PURE__ */ (function() {
13511
13487
  }]);
13512
13488
  return NameMap2;
13513
13489
  })();
13514
- var _excluded$M = ["name"];
13490
+ var _excluded$N = ["name"];
13515
13491
  var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate) {
13516
13492
  var _this = this;
13517
13493
  _classCallCheck(this, FormStore2);
@@ -13913,7 +13889,7 @@ var FormStore = /* @__PURE__ */ _createClass(function FormStore2(forceRootUpdate
13913
13889
  var prevStore = _this.store;
13914
13890
  var namePathList = [];
13915
13891
  fields.forEach(function(fieldData) {
13916
- var name2 = fieldData.name, data = _objectWithoutProperties$1(fieldData, _excluded$M);
13892
+ var name2 = fieldData.name, data = _objectWithoutProperties$1(fieldData, _excluded$N);
13917
13893
  var namePath = getNamePath(name2);
13918
13894
  namePathList.push(namePath);
13919
13895
  if ("value" in data) {
@@ -14319,9 +14295,9 @@ var FormProvider$1 = function FormProvider(_ref) {
14319
14295
  })
14320
14296
  }, children2);
14321
14297
  };
14322
- var _excluded$L = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed", "clearOnDestroy"];
14298
+ var _excluded$M = ["name", "initialValues", "fields", "form", "preserve", "children", "component", "validateMessages", "validateTrigger", "onValuesChange", "onFieldsChange", "onFinish", "onFinishFailed", "clearOnDestroy"];
14323
14299
  var Form$4 = function Form(_ref, ref) {
14324
- var name2 = _ref.name, initialValues = _ref.initialValues, fields = _ref.fields, form = _ref.form, preserve2 = _ref.preserve, children2 = _ref.children, _ref$component = _ref.component, Component = _ref$component === void 0 ? "form" : _ref$component, validateMessages = _ref.validateMessages, _ref$validateTrigger = _ref.validateTrigger, validateTrigger = _ref$validateTrigger === void 0 ? "onChange" : _ref$validateTrigger, onValuesChange = _ref.onValuesChange, _onFieldsChange = _ref.onFieldsChange, _onFinish = _ref.onFinish, onFinishFailed = _ref.onFinishFailed, clearOnDestroy = _ref.clearOnDestroy, restProps = _objectWithoutProperties$1(_ref, _excluded$L);
14300
+ var name2 = _ref.name, initialValues = _ref.initialValues, fields = _ref.fields, form = _ref.form, preserve2 = _ref.preserve, children2 = _ref.children, _ref$component = _ref.component, Component = _ref$component === void 0 ? "form" : _ref$component, validateMessages = _ref.validateMessages, _ref$validateTrigger = _ref.validateTrigger, validateTrigger = _ref$validateTrigger === void 0 ? "onChange" : _ref$validateTrigger, onValuesChange = _ref.onValuesChange, _onFieldsChange = _ref.onFieldsChange, _onFinish = _ref.onFinish, onFinishFailed = _ref.onFinishFailed, clearOnDestroy = _ref.clearOnDestroy, restProps = _objectWithoutProperties$1(_ref, _excluded$M);
14325
14301
  var nativeElementRef = React.useRef(null);
14326
14302
  var formContext = React.useContext(FormContext$1);
14327
14303
  var _useForm = useForm$1(form), _useForm2 = _slicedToArray(_useForm, 1), formInstance = _useForm2[0];
@@ -14567,6 +14543,93 @@ function mergeProps$1(...items) {
14567
14543
  });
14568
14544
  return ret;
14569
14545
  }
14546
+ function pickClosable(context) {
14547
+ if (!context) {
14548
+ return void 0;
14549
+ }
14550
+ const {
14551
+ closable,
14552
+ closeIcon
14553
+ } = context;
14554
+ return {
14555
+ closable,
14556
+ closeIcon
14557
+ };
14558
+ }
14559
+ function useClosableConfig(closableCollection) {
14560
+ const {
14561
+ closable,
14562
+ closeIcon
14563
+ } = closableCollection || {};
14564
+ return React__default.useMemo(() => {
14565
+ if (
14566
+ // If `closable`, whatever rest be should be true
14567
+ !closable && (closable === false || closeIcon === false || closeIcon === null)
14568
+ ) {
14569
+ return false;
14570
+ }
14571
+ if (closable === void 0 && closeIcon === void 0) {
14572
+ return null;
14573
+ }
14574
+ let closableConfig = {
14575
+ closeIcon: typeof closeIcon !== "boolean" && closeIcon !== null ? closeIcon : void 0
14576
+ };
14577
+ if (closable && typeof closable === "object") {
14578
+ closableConfig = Object.assign(Object.assign({}, closableConfig), closable);
14579
+ }
14580
+ return closableConfig;
14581
+ }, [closable, closeIcon]);
14582
+ }
14583
+ const EmptyFallbackCloseCollection = {};
14584
+ function useClosable(propCloseCollection, contextCloseCollection, fallbackCloseCollection = EmptyFallbackCloseCollection) {
14585
+ const propCloseConfig = useClosableConfig(propCloseCollection);
14586
+ const contextCloseConfig = useClosableConfig(contextCloseCollection);
14587
+ const [contextLocale] = useLocale$1("global", localeValues.global);
14588
+ const closeBtnIsDisabled = typeof propCloseConfig !== "boolean" ? !!(propCloseConfig === null || propCloseConfig === void 0 ? void 0 : propCloseConfig.disabled) : false;
14589
+ const mergedFallbackCloseCollection = React__default.useMemo(() => Object.assign({
14590
+ closeIcon: /* @__PURE__ */ React__default.createElement(RefIcon$D, null)
14591
+ }, fallbackCloseCollection), [fallbackCloseCollection]);
14592
+ const mergedClosableConfig = React__default.useMemo(() => {
14593
+ if (propCloseConfig === false) {
14594
+ return false;
14595
+ }
14596
+ if (propCloseConfig) {
14597
+ return mergeProps$1(mergedFallbackCloseCollection, contextCloseConfig, propCloseConfig);
14598
+ }
14599
+ if (contextCloseConfig === false) {
14600
+ return false;
14601
+ }
14602
+ if (contextCloseConfig) {
14603
+ return mergeProps$1(mergedFallbackCloseCollection, contextCloseConfig);
14604
+ }
14605
+ return !mergedFallbackCloseCollection.closable ? false : mergedFallbackCloseCollection;
14606
+ }, [propCloseConfig, contextCloseConfig, mergedFallbackCloseCollection]);
14607
+ return React__default.useMemo(() => {
14608
+ var _a, _b;
14609
+ if (mergedClosableConfig === false) {
14610
+ return [false, null, closeBtnIsDisabled, {}];
14611
+ }
14612
+ const {
14613
+ closeIconRender
14614
+ } = mergedFallbackCloseCollection;
14615
+ const {
14616
+ closeIcon
14617
+ } = mergedClosableConfig;
14618
+ let mergedCloseIcon = closeIcon;
14619
+ const ariaOrDataProps = pickAttrs(mergedClosableConfig, true);
14620
+ if (mergedCloseIcon !== null && mergedCloseIcon !== void 0) {
14621
+ if (closeIconRender) {
14622
+ mergedCloseIcon = closeIconRender(closeIcon);
14623
+ }
14624
+ mergedCloseIcon = /* @__PURE__ */ React__default.isValidElement(mergedCloseIcon) ? /* @__PURE__ */ React__default.cloneElement(mergedCloseIcon, Object.assign(Object.assign(Object.assign({}, mergedCloseIcon.props), {
14625
+ "aria-label": (_b = (_a = mergedCloseIcon.props) === null || _a === void 0 ? void 0 : _a["aria-label"]) !== null && _b !== void 0 ? _b : contextLocale.close
14626
+ }), ariaOrDataProps)) : /* @__PURE__ */ React__default.createElement("span", Object.assign({
14627
+ "aria-label": contextLocale.close
14628
+ }, ariaOrDataProps), mergedCloseIcon);
14629
+ }
14630
+ return [true, mergedCloseIcon, closeBtnIsDisabled, ariaOrDataProps];
14631
+ }, [mergedClosableConfig, mergedFallbackCloseCollection]);
14632
+ }
14570
14633
  var isStyleNameSupport = function isStyleNameSupport2(styleName) {
14571
14634
  if (canUseDom() && window.document.documentElement) {
14572
14635
  var styleNameList = Array.isArray(styleName) ? styleName : [styleName];
@@ -14885,7 +14948,7 @@ const genBaseStyle$8 = (token2) => {
14885
14948
  }
14886
14949
  };
14887
14950
  };
14888
- const prepareComponentToken$n = (token2) => {
14951
+ const prepareComponentToken$o = (token2) => {
14889
14952
  const {
14890
14953
  colorFillContent,
14891
14954
  colorFill
@@ -14903,7 +14966,7 @@ const prepareComponentToken$n = (token2) => {
14903
14966
  paragraphLiHeight: token2.controlHeight / 2
14904
14967
  };
14905
14968
  };
14906
- const useStyle$r = genStyleHooks("Skeleton", (token2) => {
14969
+ const useStyle$s = genStyleHooks("Skeleton", (token2) => {
14907
14970
  const {
14908
14971
  componentCls,
14909
14972
  calc
@@ -14922,7 +14985,7 @@ const useStyle$r = genStyleHooks("Skeleton", (token2) => {
14922
14985
  skeletonLoadingMotionDuration: "1.4s"
14923
14986
  });
14924
14987
  return genBaseStyle$8(skeletonToken);
14925
- }, prepareComponentToken$n, {
14988
+ }, prepareComponentToken$o, {
14926
14989
  deprecatedTokens: [["color", "gradientFromColor"], ["colorGradientEnd", "gradientToColor"]]
14927
14990
  });
14928
14991
  const SkeletonAvatar = (props) => {
@@ -14938,7 +15001,7 @@ const SkeletonAvatar = (props) => {
14938
15001
  getPrefixCls
14939
15002
  } = React.useContext(ConfigContext);
14940
15003
  const prefixCls = getPrefixCls("skeleton", customizePrefixCls);
14941
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$r(prefixCls);
15004
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$s(prefixCls);
14942
15005
  const otherProps = omit(props, ["prefixCls", "className"]);
14943
15006
  const cls = classNames(prefixCls, `${prefixCls}-element`, {
14944
15007
  [`${prefixCls}-active`]: active
@@ -14964,7 +15027,7 @@ const SkeletonButton = (props) => {
14964
15027
  getPrefixCls
14965
15028
  } = React.useContext(ConfigContext);
14966
15029
  const prefixCls = getPrefixCls("skeleton", customizePrefixCls);
14967
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$r(prefixCls);
15030
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$s(prefixCls);
14968
15031
  const otherProps = omit(props, ["prefixCls"]);
14969
15032
  const cls = classNames(prefixCls, `${prefixCls}-element`, {
14970
15033
  [`${prefixCls}-active`]: active,
@@ -14990,7 +15053,7 @@ const SkeletonImage = (props) => {
14990
15053
  getPrefixCls
14991
15054
  } = React.useContext(ConfigContext);
14992
15055
  const prefixCls = getPrefixCls("skeleton", customizePrefixCls);
14993
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$r(prefixCls);
15056
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$s(prefixCls);
14994
15057
  const cls = classNames(prefixCls, `${prefixCls}-element`, {
14995
15058
  [`${prefixCls}-active`]: active
14996
15059
  }, className, rootClassName, hashId, cssVarCls);
@@ -15021,7 +15084,7 @@ const SkeletonInput = (props) => {
15021
15084
  getPrefixCls
15022
15085
  } = React.useContext(ConfigContext);
15023
15086
  const prefixCls = getPrefixCls("skeleton", customizePrefixCls);
15024
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$r(prefixCls);
15087
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$s(prefixCls);
15025
15088
  const otherProps = omit(props, ["prefixCls"]);
15026
15089
  const cls = classNames(prefixCls, `${prefixCls}-element`, {
15027
15090
  [`${prefixCls}-active`]: active,
@@ -15047,7 +15110,7 @@ const SkeletonNode = (props) => {
15047
15110
  getPrefixCls
15048
15111
  } = React.useContext(ConfigContext);
15049
15112
  const prefixCls = getPrefixCls("skeleton", customizePrefixCls);
15050
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$r(prefixCls);
15113
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$s(prefixCls);
15051
15114
  const cls = classNames(prefixCls, `${prefixCls}-element`, {
15052
15115
  [`${prefixCls}-active`]: active
15053
15116
  }, hashId, className, rootClassName, cssVarCls);
@@ -15172,7 +15235,7 @@ const Skeleton$1 = (props) => {
15172
15235
  style: contextStyle
15173
15236
  } = useComponentConfig("skeleton");
15174
15237
  const prefixCls = getPrefixCls("skeleton", customizePrefixCls);
15175
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$r(prefixCls);
15238
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$s(prefixCls);
15176
15239
  if (loading || !("loading" in props)) {
15177
15240
  const hasAvatar = !!avatar;
15178
15241
  const hasTitle = !!title;
@@ -15227,6 +15290,26 @@ Skeleton$1.Node = SkeletonNode;
15227
15290
  if (process.env.NODE_ENV !== "production") {
15228
15291
  Skeleton$1.displayName = "Skeleton";
15229
15292
  }
15293
+ function voidFunc() {
15294
+ }
15295
+ const WatermarkContext = /* @__PURE__ */ React.createContext({
15296
+ add: voidFunc,
15297
+ remove: voidFunc
15298
+ });
15299
+ function usePanelRef(panelSelector) {
15300
+ const watermark = React.useContext(WatermarkContext);
15301
+ const panelEleRef = React.useRef(null);
15302
+ const panelRef = useEvent((ele) => {
15303
+ if (ele) {
15304
+ const innerContentEle = ele;
15305
+ watermark.add(innerContentEle);
15306
+ panelEleRef.current = innerContentEle;
15307
+ } else {
15308
+ watermark.remove(panelEleRef.current);
15309
+ }
15310
+ });
15311
+ return panelRef;
15312
+ }
15230
15313
  const genGridRowStyle = (token2) => {
15231
15314
  const {
15232
15315
  componentCls
@@ -15633,10 +15716,10 @@ function isValidateOpenKey(currentKeyCode) {
15633
15716
  ].includes(currentKeyCode)
15634
15717
  );
15635
15718
  }
15636
- var _excluded$K = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"];
15719
+ var _excluded$L = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"];
15637
15720
  var UNDEFINED = void 0;
15638
15721
  function InternalItem(props, ref) {
15639
- var prefixCls = props.prefixCls, invalidate = props.invalidate, item = props.item, renderItem2 = props.renderItem, responsive = props.responsive, responsiveDisabled = props.responsiveDisabled, registerSize = props.registerSize, itemKey2 = props.itemKey, className = props.className, style2 = props.style, children2 = props.children, display = props.display, order2 = props.order, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, restProps = _objectWithoutProperties$1(props, _excluded$K);
15722
+ var prefixCls = props.prefixCls, invalidate = props.invalidate, item = props.item, renderItem2 = props.renderItem, responsive = props.responsive, responsiveDisabled = props.responsiveDisabled, registerSize = props.registerSize, itemKey2 = props.itemKey, className = props.className, style2 = props.style, children2 = props.children, display = props.display, order2 = props.order, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, restProps = _objectWithoutProperties$1(props, _excluded$L);
15640
15723
  var mergedHidden = responsive && !display;
15641
15724
  function internalRegisterSize(width) {
15642
15725
  registerSize(itemKey2, width);
@@ -15722,11 +15805,11 @@ function useEffectState(notifyEffectUpdate, defaultValue) {
15722
15805
  return [stateValue, setEffectVal];
15723
15806
  }
15724
15807
  var OverflowContext = /* @__PURE__ */ React__default.createContext(null);
15725
- var _excluded$J = ["component"], _excluded2$7 = ["className"], _excluded3$1 = ["className"];
15808
+ var _excluded$K = ["component"], _excluded2$7 = ["className"], _excluded3$1 = ["className"];
15726
15809
  var InternalRawItem = function InternalRawItem2(props, ref) {
15727
15810
  var context = React.useContext(OverflowContext);
15728
15811
  if (!context) {
15729
- var _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, _restProps = _objectWithoutProperties$1(props, _excluded$J);
15812
+ var _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, _restProps = _objectWithoutProperties$1(props, _excluded$K);
15730
15813
  return /* @__PURE__ */ React.createElement(Component, _extends$1({}, _restProps, {
15731
15814
  ref
15732
15815
  }));
@@ -15742,14 +15825,14 @@ var InternalRawItem = function InternalRawItem2(props, ref) {
15742
15825
  };
15743
15826
  var RawItem = /* @__PURE__ */ React.forwardRef(InternalRawItem);
15744
15827
  RawItem.displayName = "RawItem";
15745
- var _excluded$I = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"];
15828
+ var _excluded$J = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"];
15746
15829
  var RESPONSIVE = "responsive";
15747
15830
  var INVALIDATE = "invalidate";
15748
15831
  function defaultRenderRest(omittedItems) {
15749
15832
  return "+ ".concat(omittedItems.length, " ...");
15750
15833
  }
15751
15834
  function Overflow(props, ref) {
15752
- var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-overflow" : _props$prefixCls, _props$data = props.data, data = _props$data === void 0 ? [] : _props$data, renderItem2 = props.renderItem, renderRawItem = props.renderRawItem, itemKey2 = props.itemKey, _props$itemWidth = props.itemWidth, itemWidth = _props$itemWidth === void 0 ? 10 : _props$itemWidth, ssr = props.ssr, style2 = props.style, className = props.className, maxCount = props.maxCount, renderRest = props.renderRest, renderRawRest = props.renderRawRest, suffix = props.suffix, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, itemComponent = props.itemComponent, onVisibleChange = props.onVisibleChange, restProps = _objectWithoutProperties$1(props, _excluded$I);
15835
+ var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-overflow" : _props$prefixCls, _props$data = props.data, data = _props$data === void 0 ? [] : _props$data, renderItem2 = props.renderItem, renderRawItem = props.renderRawItem, itemKey2 = props.itemKey, _props$itemWidth = props.itemWidth, itemWidth = _props$itemWidth === void 0 ? 10 : _props$itemWidth, ssr = props.ssr, style2 = props.style, className = props.className, maxCount = props.maxCount, renderRest = props.renderRest, renderRawRest = props.renderRawRest, suffix = props.suffix, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, itemComponent = props.itemComponent, onVisibleChange = props.onVisibleChange, restProps = _objectWithoutProperties$1(props, _excluded$J);
15753
15836
  var fullySSR = ssr === "full";
15754
15837
  var notifyEffectUpdate = useBatcher();
15755
15838
  var _useEffectState = useEffectState(notifyEffectUpdate, null), _useEffectState2 = _slicedToArray(_useEffectState, 2), containerWidth = _useEffectState2[0], setContainerWidth = _useEffectState2[1];
@@ -15964,9 +16047,9 @@ function composeProps(originProps, patchProps, isAll) {
15964
16047
  });
15965
16048
  return composedProps;
15966
16049
  }
15967
- var _excluded$H = ["prefixCls", "id", "inputElement", "autoFocus", "autoComplete", "editable", "activeDescendantId", "value", "open", "attrs"];
16050
+ var _excluded$I = ["prefixCls", "id", "inputElement", "autoFocus", "autoComplete", "editable", "activeDescendantId", "value", "open", "attrs"];
15968
16051
  var Input$6 = function Input(props, ref) {
15969
- var prefixCls = props.prefixCls, id2 = props.id, inputElement = props.inputElement, autoFocus = props.autoFocus, autoComplete = props.autoComplete, editable = props.editable, activeDescendantId = props.activeDescendantId, value2 = props.value, open = props.open, attrs = props.attrs, restProps = _objectWithoutProperties$1(props, _excluded$H);
16052
+ var prefixCls = props.prefixCls, id2 = props.id, inputElement = props.inputElement, autoFocus = props.autoFocus, autoComplete = props.autoComplete, editable = props.editable, activeDescendantId = props.activeDescendantId, value2 = props.value, open = props.open, attrs = props.attrs, restProps = _objectWithoutProperties$1(props, _excluded$I);
15970
16053
  var inputNode = inputElement || /* @__PURE__ */ React.createElement("input", null);
15971
16054
  var _inputNode = inputNode, originRef = _inputNode.ref, originProps = _inputNode.props;
15972
16055
  warning$3(!("maxLength" in inputNode.props), "Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled.");
@@ -17163,11 +17246,11 @@ function useWinClick(open, clickToHide, targetEle, popupEle, mask, maskClosable,
17163
17246
  }
17164
17247
  return onPopupPointerDown;
17165
17248
  }
17166
- var _excluded$G = ["prefixCls", "children", "action", "showAction", "hideAction", "popupVisible", "defaultPopupVisible", "onPopupVisibleChange", "afterPopupVisibleChange", "mouseEnterDelay", "mouseLeaveDelay", "focusDelay", "blurDelay", "mask", "maskClosable", "getPopupContainer", "forceRender", "autoDestroy", "destroyPopupOnHide", "popup", "popupClassName", "popupStyle", "popupPlacement", "builtinPlacements", "popupAlign", "zIndex", "stretch", "getPopupClassNameFromAlign", "fresh", "alignPoint", "onPopupClick", "onPopupAlign", "arrow", "popupMotion", "maskMotion", "popupTransitionName", "popupAnimation", "maskTransitionName", "maskAnimation", "className", "getTriggerDOMNode"];
17249
+ var _excluded$H = ["prefixCls", "children", "action", "showAction", "hideAction", "popupVisible", "defaultPopupVisible", "onPopupVisibleChange", "afterPopupVisibleChange", "mouseEnterDelay", "mouseLeaveDelay", "focusDelay", "blurDelay", "mask", "maskClosable", "getPopupContainer", "forceRender", "autoDestroy", "destroyPopupOnHide", "popup", "popupClassName", "popupStyle", "popupPlacement", "builtinPlacements", "popupAlign", "zIndex", "stretch", "getPopupClassNameFromAlign", "fresh", "alignPoint", "onPopupClick", "onPopupAlign", "arrow", "popupMotion", "maskMotion", "popupTransitionName", "popupAnimation", "maskTransitionName", "maskAnimation", "className", "getTriggerDOMNode"];
17167
17250
  function generateTrigger() {
17168
17251
  var PortalComponent = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Portal;
17169
17252
  var Trigger2 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
17170
- var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-trigger-popup" : _props$prefixCls, children2 = props.children, _props$action = props.action, action = _props$action === void 0 ? "hover" : _props$action, showAction = props.showAction, hideAction = props.hideAction, popupVisible = props.popupVisible, defaultPopupVisible = props.defaultPopupVisible, onPopupVisibleChange = props.onPopupVisibleChange, afterPopupVisibleChange = props.afterPopupVisibleChange, mouseEnterDelay = props.mouseEnterDelay, _props$mouseLeaveDela = props.mouseLeaveDelay, mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, focusDelay = props.focusDelay, blurDelay = props.blurDelay, mask = props.mask, _props$maskClosable = props.maskClosable, maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable, getPopupContainer = props.getPopupContainer, forceRender = props.forceRender, autoDestroy = props.autoDestroy, destroyPopupOnHide = props.destroyPopupOnHide, popup = props.popup, popupClassName = props.popupClassName, popupStyle = props.popupStyle, popupPlacement = props.popupPlacement, _props$builtinPlaceme = props.builtinPlacements, builtinPlacements = _props$builtinPlaceme === void 0 ? {} : _props$builtinPlaceme, popupAlign = props.popupAlign, zIndex = props.zIndex, stretch = props.stretch, getPopupClassNameFromAlign = props.getPopupClassNameFromAlign, fresh = props.fresh, alignPoint = props.alignPoint, onPopupClick = props.onPopupClick, onPopupAlign = props.onPopupAlign, arrow = props.arrow, popupMotion = props.popupMotion, maskMotion = props.maskMotion, popupTransitionName = props.popupTransitionName, popupAnimation = props.popupAnimation, maskTransitionName = props.maskTransitionName, maskAnimation = props.maskAnimation, className = props.className, getTriggerDOMNode = props.getTriggerDOMNode, restProps = _objectWithoutProperties$1(props, _excluded$G);
17253
+ var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-trigger-popup" : _props$prefixCls, children2 = props.children, _props$action = props.action, action = _props$action === void 0 ? "hover" : _props$action, showAction = props.showAction, hideAction = props.hideAction, popupVisible = props.popupVisible, defaultPopupVisible = props.defaultPopupVisible, onPopupVisibleChange = props.onPopupVisibleChange, afterPopupVisibleChange = props.afterPopupVisibleChange, mouseEnterDelay = props.mouseEnterDelay, _props$mouseLeaveDela = props.mouseLeaveDelay, mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, focusDelay = props.focusDelay, blurDelay = props.blurDelay, mask = props.mask, _props$maskClosable = props.maskClosable, maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable, getPopupContainer = props.getPopupContainer, forceRender = props.forceRender, autoDestroy = props.autoDestroy, destroyPopupOnHide = props.destroyPopupOnHide, popup = props.popup, popupClassName = props.popupClassName, popupStyle = props.popupStyle, popupPlacement = props.popupPlacement, _props$builtinPlaceme = props.builtinPlacements, builtinPlacements = _props$builtinPlaceme === void 0 ? {} : _props$builtinPlaceme, popupAlign = props.popupAlign, zIndex = props.zIndex, stretch = props.stretch, getPopupClassNameFromAlign = props.getPopupClassNameFromAlign, fresh = props.fresh, alignPoint = props.alignPoint, onPopupClick = props.onPopupClick, onPopupAlign = props.onPopupAlign, arrow = props.arrow, popupMotion = props.popupMotion, maskMotion = props.maskMotion, popupTransitionName = props.popupTransitionName, popupAnimation = props.popupAnimation, maskTransitionName = props.maskTransitionName, maskAnimation = props.maskAnimation, className = props.className, getTriggerDOMNode = props.getTriggerDOMNode, restProps = _objectWithoutProperties$1(props, _excluded$H);
17171
17254
  var mergedAutoDestroy = autoDestroy || destroyPopupOnHide || false;
17172
17255
  var _React$useState = React.useState(false), _React$useState2 = _slicedToArray(_React$useState, 2), mobile = _React$useState2[0], setMobile = _React$useState2[1];
17173
17256
  useLayoutEffect$1(function() {
@@ -17489,7 +17572,7 @@ function generateTrigger() {
17489
17572
  return Trigger2;
17490
17573
  }
17491
17574
  const Trigger = generateTrigger(Portal);
17492
- var _excluded$F = ["prefixCls", "disabled", "visible", "children", "popupElement", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "direction", "placement", "builtinPlacements", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "getPopupContainer", "empty", "getTriggerDOMNode", "onPopupVisibleChange", "onPopupMouseEnter"];
17575
+ var _excluded$G = ["prefixCls", "disabled", "visible", "children", "popupElement", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "direction", "placement", "builtinPlacements", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "getPopupContainer", "empty", "getTriggerDOMNode", "onPopupVisibleChange", "onPopupMouseEnter"];
17493
17576
  var getBuiltInPlacements$1 = function getBuiltInPlacements(dropdownMatchSelectWidth) {
17494
17577
  var adjustX = dropdownMatchSelectWidth === true ? 0 : 1;
17495
17578
  return {
@@ -17534,7 +17617,7 @@ var getBuiltInPlacements$1 = function getBuiltInPlacements(dropdownMatchSelectWi
17534
17617
  var SelectTrigger$1 = function SelectTrigger(props, ref) {
17535
17618
  var prefixCls = props.prefixCls;
17536
17619
  props.disabled;
17537
- var visible = props.visible, children2 = props.children, popupElement = props.popupElement, animation = props.animation, transitionName = props.transitionName, dropdownStyle = props.dropdownStyle, dropdownClassName = props.dropdownClassName, _props$direction = props.direction, direction = _props$direction === void 0 ? "ltr" : _props$direction, placement = props.placement, builtinPlacements = props.builtinPlacements, dropdownMatchSelectWidth = props.dropdownMatchSelectWidth, dropdownRender = props.dropdownRender, dropdownAlign = props.dropdownAlign, getPopupContainer = props.getPopupContainer, empty2 = props.empty, getTriggerDOMNode = props.getTriggerDOMNode, onPopupVisibleChange = props.onPopupVisibleChange, onPopupMouseEnter = props.onPopupMouseEnter, restProps = _objectWithoutProperties$1(props, _excluded$F);
17620
+ var visible = props.visible, children2 = props.children, popupElement = props.popupElement, animation = props.animation, transitionName = props.transitionName, dropdownStyle = props.dropdownStyle, dropdownClassName = props.dropdownClassName, _props$direction = props.direction, direction = _props$direction === void 0 ? "ltr" : _props$direction, placement = props.placement, builtinPlacements = props.builtinPlacements, dropdownMatchSelectWidth = props.dropdownMatchSelectWidth, dropdownRender = props.dropdownRender, dropdownAlign = props.dropdownAlign, getPopupContainer = props.getPopupContainer, empty2 = props.empty, getTriggerDOMNode = props.getTriggerDOMNode, onPopupVisibleChange = props.onPopupVisibleChange, onPopupMouseEnter = props.onPopupMouseEnter, restProps = _objectWithoutProperties$1(props, _excluded$G);
17538
17621
  var dropdownPrefixCls = "".concat(prefixCls, "-dropdown");
17539
17622
  var popupNode = popupElement;
17540
17623
  if (dropdownRender) {
@@ -17710,14 +17793,14 @@ function Polite(props) {
17710
17793
  return ["number", "string"].includes(_typeof(label)) ? label : value2;
17711
17794
  }).join(", ")), values.length > MAX_COUNT ? ", ..." : null);
17712
17795
  }
17713
- var _excluded$E = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction", "omitDomProps", "displayValues", "onDisplayValuesChange", "emptyOptions", "notFoundContent", "onClear", "mode", "disabled", "loading", "getInputElement", "getRawInputElement", "open", "defaultOpen", "onDropdownVisibleChange", "activeValue", "onActiveValueChange", "activeDescendantId", "searchValue", "autoClearSearchValue", "onSearch", "onSearchSplit", "tokenSeparators", "allowClear", "prefix", "suffixIcon", "clearIcon", "OptionList", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "placement", "builtinPlacements", "getPopupContainer", "showAction", "onFocus", "onBlur", "onKeyUp", "onKeyDown", "onMouseDown"];
17796
+ var _excluded$F = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction", "omitDomProps", "displayValues", "onDisplayValuesChange", "emptyOptions", "notFoundContent", "onClear", "mode", "disabled", "loading", "getInputElement", "getRawInputElement", "open", "defaultOpen", "onDropdownVisibleChange", "activeValue", "onActiveValueChange", "activeDescendantId", "searchValue", "autoClearSearchValue", "onSearch", "onSearchSplit", "tokenSeparators", "allowClear", "prefix", "suffixIcon", "clearIcon", "OptionList", "animation", "transitionName", "dropdownStyle", "dropdownClassName", "dropdownMatchSelectWidth", "dropdownRender", "dropdownAlign", "placement", "builtinPlacements", "getPopupContainer", "showAction", "onFocus", "onBlur", "onKeyUp", "onKeyDown", "onMouseDown"];
17714
17797
  var DEFAULT_OMIT_PROPS = ["value", "onChange", "removeIcon", "placeholder", "autoFocus", "maxTagCount", "maxTagTextLength", "maxTagPlaceholder", "choiceTransitionName", "onInputKeyDown", "onPopupScroll", "tabIndex"];
17715
17798
  var isMultiple = function isMultiple2(mode) {
17716
17799
  return mode === "tags" || mode === "multiple";
17717
17800
  };
17718
17801
  var BaseSelect = /* @__PURE__ */ React.forwardRef(function(props, ref) {
17719
17802
  var _customizeRawInputEle;
17720
- var id2 = props.id, prefixCls = props.prefixCls, className = props.className, showSearch = props.showSearch, tagRender = props.tagRender, direction = props.direction, omitDomProps = props.omitDomProps, displayValues = props.displayValues, onDisplayValuesChange = props.onDisplayValuesChange, emptyOptions2 = props.emptyOptions, _props$notFoundConten = props.notFoundContent, notFoundContent = _props$notFoundConten === void 0 ? "Not Found" : _props$notFoundConten, onClear = props.onClear, mode = props.mode, disabled2 = props.disabled, loading = props.loading, getInputElement = props.getInputElement, getRawInputElement = props.getRawInputElement, open = props.open, defaultOpen = props.defaultOpen, onDropdownVisibleChange = props.onDropdownVisibleChange, activeValue = props.activeValue, onActiveValueChange = props.onActiveValueChange, activeDescendantId = props.activeDescendantId, searchValue = props.searchValue, autoClearSearchValue = props.autoClearSearchValue, onSearch = props.onSearch, onSearchSplit = props.onSearchSplit, tokenSeparators = props.tokenSeparators, allowClear = props.allowClear, prefix = props.prefix, suffixIcon = props.suffixIcon, clearIcon = props.clearIcon, OptionList3 = props.OptionList, animation = props.animation, transitionName = props.transitionName, dropdownStyle = props.dropdownStyle, dropdownClassName = props.dropdownClassName, dropdownMatchSelectWidth = props.dropdownMatchSelectWidth, dropdownRender = props.dropdownRender, dropdownAlign = props.dropdownAlign, placement = props.placement, builtinPlacements = props.builtinPlacements, getPopupContainer = props.getPopupContainer, _props$showAction = props.showAction, showAction = _props$showAction === void 0 ? [] : _props$showAction, onFocus = props.onFocus, onBlur = props.onBlur, onKeyUp = props.onKeyUp, onKeyDown2 = props.onKeyDown, onMouseDown = props.onMouseDown, restProps = _objectWithoutProperties$1(props, _excluded$E);
17803
+ var id2 = props.id, prefixCls = props.prefixCls, className = props.className, showSearch = props.showSearch, tagRender = props.tagRender, direction = props.direction, omitDomProps = props.omitDomProps, displayValues = props.displayValues, onDisplayValuesChange = props.onDisplayValuesChange, emptyOptions2 = props.emptyOptions, _props$notFoundConten = props.notFoundContent, notFoundContent = _props$notFoundConten === void 0 ? "Not Found" : _props$notFoundConten, onClear = props.onClear, mode = props.mode, disabled2 = props.disabled, loading = props.loading, getInputElement = props.getInputElement, getRawInputElement = props.getRawInputElement, open = props.open, defaultOpen = props.defaultOpen, onDropdownVisibleChange = props.onDropdownVisibleChange, activeValue = props.activeValue, onActiveValueChange = props.onActiveValueChange, activeDescendantId = props.activeDescendantId, searchValue = props.searchValue, autoClearSearchValue = props.autoClearSearchValue, onSearch = props.onSearch, onSearchSplit = props.onSearchSplit, tokenSeparators = props.tokenSeparators, allowClear = props.allowClear, prefix = props.prefix, suffixIcon = props.suffixIcon, clearIcon = props.clearIcon, OptionList3 = props.OptionList, animation = props.animation, transitionName = props.transitionName, dropdownStyle = props.dropdownStyle, dropdownClassName = props.dropdownClassName, dropdownMatchSelectWidth = props.dropdownMatchSelectWidth, dropdownRender = props.dropdownRender, dropdownAlign = props.dropdownAlign, placement = props.placement, builtinPlacements = props.builtinPlacements, getPopupContainer = props.getPopupContainer, _props$showAction = props.showAction, showAction = _props$showAction === void 0 ? [] : _props$showAction, onFocus = props.onFocus, onBlur = props.onBlur, onKeyUp = props.onKeyUp, onKeyDown2 = props.onKeyDown, onMouseDown = props.onMouseDown, restProps = _objectWithoutProperties$1(props, _excluded$F);
17721
17804
  var multiple = isMultiple(mode);
17722
17805
  var mergedShowSearch = (showSearch !== void 0 ? showSearch : multiple) || mode === "combobox";
17723
17806
  var domProps = _objectSpread2({}, restProps);
@@ -18915,14 +18998,14 @@ function getSpinSize() {
18915
18998
  baseSize = Math.max(baseSize, MIN_SIZE);
18916
18999
  return Math.floor(baseSize);
18917
19000
  }
18918
- var _excluded$D = ["prefixCls", "className", "height", "itemHeight", "fullHeight", "style", "data", "children", "itemKey", "virtual", "direction", "scrollWidth", "component", "onScroll", "onVirtualScroll", "onVisibleChange", "innerProps", "extraRender", "styles", "showScrollBar"];
19001
+ var _excluded$E = ["prefixCls", "className", "height", "itemHeight", "fullHeight", "style", "data", "children", "itemKey", "virtual", "direction", "scrollWidth", "component", "onScroll", "onVirtualScroll", "onVisibleChange", "innerProps", "extraRender", "styles", "showScrollBar"];
18919
19002
  var EMPTY_DATA$1 = [];
18920
19003
  var ScrollStyle = {
18921
19004
  overflowY: "auto",
18922
19005
  overflowAnchor: "none"
18923
19006
  };
18924
19007
  function RawList(props, ref) {
18925
- var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-virtual-list" : _props$prefixCls, className = props.className, height = props.height, itemHeight = props.itemHeight, _props$fullHeight = props.fullHeight, fullHeight = _props$fullHeight === void 0 ? true : _props$fullHeight, style2 = props.style, data = props.data, children2 = props.children, itemKey2 = props.itemKey, virtual = props.virtual, direction = props.direction, scrollWidth = props.scrollWidth, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, onScroll = props.onScroll, onVirtualScroll = props.onVirtualScroll, onVisibleChange = props.onVisibleChange, innerProps = props.innerProps, extraRender = props.extraRender, styles = props.styles, _props$showScrollBar = props.showScrollBar, showScrollBar = _props$showScrollBar === void 0 ? "optional" : _props$showScrollBar, restProps = _objectWithoutProperties$1(props, _excluded$D);
19008
+ var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-virtual-list" : _props$prefixCls, className = props.className, height = props.height, itemHeight = props.itemHeight, _props$fullHeight = props.fullHeight, fullHeight = _props$fullHeight === void 0 ? true : _props$fullHeight, style2 = props.style, data = props.data, children2 = props.children, itemKey2 = props.itemKey, virtual = props.virtual, direction = props.direction, scrollWidth = props.scrollWidth, _props$component = props.component, Component = _props$component === void 0 ? "div" : _props$component, onScroll = props.onScroll, onVirtualScroll = props.onVirtualScroll, onVisibleChange = props.onVisibleChange, innerProps = props.innerProps, extraRender = props.extraRender, styles = props.styles, _props$showScrollBar = props.showScrollBar, showScrollBar = _props$showScrollBar === void 0 ? "optional" : _props$showScrollBar, restProps = _objectWithoutProperties$1(props, _excluded$E);
18926
19009
  var getKey2 = React.useCallback(function(item) {
18927
19010
  if (typeof itemKey2 === "function") {
18928
19011
  return itemKey2(item);
@@ -19321,7 +19404,7 @@ List.displayName = "List";
19321
19404
  function isPlatformMac() {
19322
19405
  return /(mac\sos|macintosh)/i.test(navigator.appVersion);
19323
19406
  }
19324
- var _excluded$C = ["disabled", "title", "children", "style", "className"];
19407
+ var _excluded$D = ["disabled", "title", "children", "style", "className"];
19325
19408
  function isTitleType(content2) {
19326
19409
  return typeof content2 === "string" || typeof content2 === "number";
19327
19410
  }
@@ -19556,7 +19639,7 @@ var OptionList = function OptionList2(_, ref) {
19556
19639
  }
19557
19640
  var disabled2 = data.disabled, title = data.title;
19558
19641
  data.children;
19559
- var style2 = data.style, className = data.className, otherProps = _objectWithoutProperties$1(data, _excluded$C);
19642
+ var style2 = data.style, className = data.className, otherProps = _objectWithoutProperties$1(data, _excluded$D);
19560
19643
  var passedProps = omit(otherProps, omitFieldNameList);
19561
19644
  var selected = isSelected(value2);
19562
19645
  var mergedDisabled = disabled2 || !selected && overMaxCount;
@@ -19702,9 +19785,9 @@ function useId$1(id2) {
19702
19785
  }, []);
19703
19786
  return id2 || innerId;
19704
19787
  }
19705
- var _excluded$B = ["children", "value"], _excluded2$6 = ["children"];
19788
+ var _excluded$C = ["children", "value"], _excluded2$6 = ["children"];
19706
19789
  function convertNodeToOption(node2) {
19707
- var _ref = node2, key = _ref.key, _ref$props = _ref.props, children2 = _ref$props.children, value2 = _ref$props.value, restProps = _objectWithoutProperties$1(_ref$props, _excluded$B);
19790
+ var _ref = node2, key = _ref.key, _ref$props = _ref.props, children2 = _ref$props.children, value2 = _ref$props.value, restProps = _objectWithoutProperties$1(_ref$props, _excluded$C);
19708
19791
  return _objectSpread2({
19709
19792
  key,
19710
19793
  value: value2 !== void 0 ? value2 : key,
@@ -19859,13 +19942,13 @@ function warningNullOptions(options, fieldNames) {
19859
19942
  recursiveOptions(options);
19860
19943
  }
19861
19944
  }
19862
- var _excluded$A = ["id", "mode", "prefixCls", "backfill", "fieldNames", "inputValue", "searchValue", "onSearch", "autoClearSearchValue", "onSelect", "onDeselect", "dropdownMatchSelectWidth", "filterOption", "filterSort", "optionFilterProp", "optionLabelProp", "options", "optionRender", "children", "defaultActiveFirstOption", "menuItemSelectedIcon", "virtual", "direction", "listHeight", "listItemHeight", "labelRender", "value", "defaultValue", "labelInValue", "onChange", "maxCount"];
19945
+ var _excluded$B = ["id", "mode", "prefixCls", "backfill", "fieldNames", "inputValue", "searchValue", "onSearch", "autoClearSearchValue", "onSelect", "onDeselect", "dropdownMatchSelectWidth", "filterOption", "filterSort", "optionFilterProp", "optionLabelProp", "options", "optionRender", "children", "defaultActiveFirstOption", "menuItemSelectedIcon", "virtual", "direction", "listHeight", "listItemHeight", "labelRender", "value", "defaultValue", "labelInValue", "onChange", "maxCount"];
19863
19946
  var OMIT_DOM_PROPS = ["inputValue"];
19864
19947
  function isRawValue(value2) {
19865
19948
  return !value2 || _typeof(value2) !== "object";
19866
19949
  }
19867
19950
  var Select$2 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
19868
- var id2 = props.id, mode = props.mode, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-select" : _props$prefixCls, backfill = props.backfill, fieldNames = props.fieldNames, inputValue = props.inputValue, searchValue = props.searchValue, onSearch = props.onSearch, _props$autoClearSearc = props.autoClearSearchValue, autoClearSearchValue = _props$autoClearSearc === void 0 ? true : _props$autoClearSearc, onSelect = props.onSelect, onDeselect = props.onDeselect, _props$dropdownMatchS = props.dropdownMatchSelectWidth, dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? true : _props$dropdownMatchS, filterOption = props.filterOption, filterSort = props.filterSort, optionFilterProp = props.optionFilterProp, optionLabelProp = props.optionLabelProp, options = props.options, optionRender = props.optionRender, children2 = props.children, defaultActiveFirstOption = props.defaultActiveFirstOption, menuItemSelectedIcon = props.menuItemSelectedIcon, virtual = props.virtual, direction = props.direction, _props$listHeight = props.listHeight, listHeight = _props$listHeight === void 0 ? 200 : _props$listHeight, _props$listItemHeight = props.listItemHeight, listItemHeight = _props$listItemHeight === void 0 ? 20 : _props$listItemHeight, labelRender = props.labelRender, value2 = props.value, defaultValue = props.defaultValue, labelInValue = props.labelInValue, onChange = props.onChange, maxCount = props.maxCount, restProps = _objectWithoutProperties$1(props, _excluded$A);
19951
+ var id2 = props.id, mode = props.mode, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-select" : _props$prefixCls, backfill = props.backfill, fieldNames = props.fieldNames, inputValue = props.inputValue, searchValue = props.searchValue, onSearch = props.onSearch, _props$autoClearSearc = props.autoClearSearchValue, autoClearSearchValue = _props$autoClearSearc === void 0 ? true : _props$autoClearSearc, onSelect = props.onSelect, onDeselect = props.onDeselect, _props$dropdownMatchS = props.dropdownMatchSelectWidth, dropdownMatchSelectWidth = _props$dropdownMatchS === void 0 ? true : _props$dropdownMatchS, filterOption = props.filterOption, filterSort = props.filterSort, optionFilterProp = props.optionFilterProp, optionLabelProp = props.optionLabelProp, options = props.options, optionRender = props.optionRender, children2 = props.children, defaultActiveFirstOption = props.defaultActiveFirstOption, menuItemSelectedIcon = props.menuItemSelectedIcon, virtual = props.virtual, direction = props.direction, _props$listHeight = props.listHeight, listHeight = _props$listHeight === void 0 ? 200 : _props$listHeight, _props$listItemHeight = props.listItemHeight, listItemHeight = _props$listItemHeight === void 0 ? 20 : _props$listItemHeight, labelRender = props.labelRender, value2 = props.value, defaultValue = props.defaultValue, labelInValue = props.labelInValue, onChange = props.onChange, maxCount = props.maxCount, restProps = _objectWithoutProperties$1(props, _excluded$B);
19869
19952
  var mergedId = useId$1(id2);
19870
19953
  var multiple = isMultiple(mode);
19871
19954
  var childrenAsData = !!(!options && children2);
@@ -20370,7 +20453,7 @@ const genSharedEmptyStyle = (token2) => {
20370
20453
  }
20371
20454
  };
20372
20455
  };
20373
- const useStyle$q = genStyleHooks("Empty", (token2) => {
20456
+ const useStyle$r = genStyleHooks("Empty", (token2) => {
20374
20457
  const {
20375
20458
  componentCls,
20376
20459
  controlHeightLG,
@@ -20384,7 +20467,7 @@ const useStyle$q = genStyleHooks("Empty", (token2) => {
20384
20467
  });
20385
20468
  return genSharedEmptyStyle(emptyToken);
20386
20469
  });
20387
- var __rest$T = function(s, e3) {
20470
+ var __rest$U = function(s, e3) {
20388
20471
  var t2 = {};
20389
20472
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
20390
20473
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -20407,7 +20490,7 @@ const Empty = (props) => {
20407
20490
  style: style2,
20408
20491
  classNames: emptyClassNames,
20409
20492
  styles
20410
- } = props, restProps = __rest$T(props, ["className", "rootClassName", "prefixCls", "image", "description", "children", "imageStyle", "style", "classNames", "styles"]);
20493
+ } = props, restProps = __rest$U(props, ["className", "rootClassName", "prefixCls", "image", "description", "children", "imageStyle", "style", "classNames", "styles"]);
20411
20494
  const {
20412
20495
  getPrefixCls,
20413
20496
  direction,
@@ -20418,7 +20501,7 @@ const Empty = (props) => {
20418
20501
  image: contextImage
20419
20502
  } = useComponentConfig("empty");
20420
20503
  const prefixCls = getPrefixCls("empty", customizePrefixCls);
20421
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$q(prefixCls);
20504
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$r(prefixCls);
20422
20505
  const [locale2] = useLocale$1("Empty");
20423
20506
  const des = typeof description !== "undefined" ? description : locale2 === null || locale2 === void 0 ? void 0 : locale2.description;
20424
20507
  const alt = typeof des === "string" ? des : "empty";
@@ -21117,7 +21200,7 @@ function genSingleStyle(token2) {
21117
21200
  }), "lg")
21118
21201
  ];
21119
21202
  }
21120
- const prepareComponentToken$m = (token2) => {
21203
+ const prepareComponentToken$n = (token2) => {
21121
21204
  const {
21122
21205
  fontSize,
21123
21206
  lineHeight,
@@ -21623,7 +21706,7 @@ const useSelectStyle = genStyleHooks("Select", (token2, {
21623
21706
  selectHeight: token2.controlHeight
21624
21707
  });
21625
21708
  return [genSelectStyle(selectToken), genVariantsStyle$1(selectToken)];
21626
- }, prepareComponentToken$m, {
21709
+ }, prepareComponentToken$n, {
21627
21710
  unitless: {
21628
21711
  optionLineHeight: true,
21629
21712
  optionSelectedFontWeight: true
@@ -21744,7 +21827,7 @@ function usePopupRender(renderFn) {
21744
21827
  function useShowArrow(suffixIcon, showArrow) {
21745
21828
  return showArrow !== void 0 ? showArrow : suffixIcon !== null;
21746
21829
  }
21747
- var __rest$S = function(s, e3) {
21830
+ var __rest$T = function(s, e3) {
21748
21831
  var t2 = {};
21749
21832
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
21750
21833
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -21788,7 +21871,7 @@ const InternalSelect = (props, ref) => {
21788
21871
  onOpenChange,
21789
21872
  styles,
21790
21873
  classNames: classNames$1
21791
- } = props, rest = __rest$S(props, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear", "variant", "dropdownStyle", "transitionName", "tagRender", "maxCount", "prefix", "dropdownRender", "popupRender", "onDropdownVisibleChange", "onOpenChange", "styles", "classNames"]);
21874
+ } = props, rest = __rest$T(props, ["prefixCls", "bordered", "className", "rootClassName", "getPopupContainer", "popupClassName", "dropdownClassName", "listHeight", "placement", "listItemHeight", "size", "disabled", "notFoundContent", "status", "builtinPlacements", "dropdownMatchSelectWidth", "popupMatchSelectWidth", "direction", "style", "allowClear", "variant", "dropdownStyle", "transitionName", "tagRender", "maxCount", "prefix", "dropdownRender", "popupRender", "onDropdownVisibleChange", "onOpenChange", "styles", "classNames"]);
21792
21875
  const {
21793
21876
  getPopupContainer: getContextPopupContainer,
21794
21877
  getPrefixCls,
@@ -21947,11 +22030,11 @@ if (process.env.NODE_ENV !== "production") {
21947
22030
  InternalSelect.displayName = "Select";
21948
22031
  }
21949
22032
  const Select$1 = /* @__PURE__ */ React.forwardRef(InternalSelect);
21950
- const PurePanel$5 = genPurePanel(Select$1, "dropdownAlign");
22033
+ const PurePanel$6 = genPurePanel(Select$1, "dropdownAlign");
21951
22034
  Select$1.SECRET_COMBOBOX_MODE_DO_NOT_USE = SECRET_COMBOBOX_MODE_DO_NOT_USE;
21952
22035
  Select$1.Option = Option;
21953
22036
  Select$1.OptGroup = OptGroup;
21954
- Select$1._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$5;
22037
+ Select$1._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$6;
21955
22038
  if (process.env.NODE_ENV !== "production") {
21956
22039
  Select$1.displayName = "Select";
21957
22040
  }
@@ -22172,7 +22255,7 @@ const genGroupStyle$1 = (token2) => {
22172
22255
  }
22173
22256
  };
22174
22257
  };
22175
- const prepareComponentToken$l = (token2) => {
22258
+ const prepareComponentToken$m = (token2) => {
22176
22259
  const {
22177
22260
  controlHeight,
22178
22261
  controlHeightLG,
@@ -22200,7 +22283,7 @@ const prepareComponentToken$l = (token2) => {
22200
22283
  groupBorderColor: colorBorderBg
22201
22284
  };
22202
22285
  };
22203
- const useStyle$p = genStyleHooks("Avatar", (token2) => {
22286
+ const useStyle$q = genStyleHooks("Avatar", (token2) => {
22204
22287
  const {
22205
22288
  colorTextLightSolid,
22206
22289
  colorTextPlaceholder
@@ -22210,8 +22293,8 @@ const useStyle$p = genStyleHooks("Avatar", (token2) => {
22210
22293
  avatarColor: colorTextLightSolid
22211
22294
  });
22212
22295
  return [genBaseStyle$6(avatarToken), genGroupStyle$1(avatarToken)];
22213
- }, prepareComponentToken$l);
22214
- var __rest$R = function(s, e3) {
22296
+ }, prepareComponentToken$m);
22297
+ var __rest$S = function(s, e3) {
22215
22298
  var t2 = {};
22216
22299
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
22217
22300
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -22236,7 +22319,7 @@ const Avatar$3 = /* @__PURE__ */ React.forwardRef((props, ref) => {
22236
22319
  crossOrigin,
22237
22320
  gap = 4,
22238
22321
  onError
22239
- } = props, others = __rest$R(props, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "style", "alt", "draggable", "children", "crossOrigin", "gap", "onError"]);
22322
+ } = props, others = __rest$S(props, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "style", "alt", "draggable", "children", "crossOrigin", "gap", "onError"]);
22240
22323
  const [scale, setScale] = React.useState(1);
22241
22324
  const [mounted, setMounted] = React.useState(false);
22242
22325
  const [isImgExist, setIsImgExist] = React.useState(true);
@@ -22298,7 +22381,7 @@ const Avatar$3 = /* @__PURE__ */ React.forwardRef((props, ref) => {
22298
22381
  }
22299
22382
  const prefixCls = getPrefixCls("avatar", customizePrefixCls);
22300
22383
  const rootCls = useCSSVarCls(prefixCls);
22301
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$p(prefixCls, rootCls);
22384
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$q(prefixCls, rootCls);
22302
22385
  const sizeCls = classNames({
22303
22386
  [`${prefixCls}-lg`]: size === "large",
22304
22387
  [`${prefixCls}-sm`]: size === "small"
@@ -22461,11 +22544,11 @@ var placements$2 = {
22461
22544
  targetOffset: targetOffset$1
22462
22545
  }
22463
22546
  };
22464
- var _excluded$z = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"];
22547
+ var _excluded$A = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"];
22465
22548
  var Tooltip$3 = function Tooltip(props, ref) {
22466
22549
  var overlayClassName = props.overlayClassName, _props$trigger = props.trigger, trigger = _props$trigger === void 0 ? ["hover"] : _props$trigger, _props$mouseEnterDela = props.mouseEnterDelay, mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0 : _props$mouseEnterDela, _props$mouseLeaveDela = props.mouseLeaveDelay, mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela, overlayStyle = props.overlayStyle, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-tooltip" : _props$prefixCls, children2 = props.children, onVisibleChange = props.onVisibleChange, afterVisibleChange = props.afterVisibleChange, transitionName = props.transitionName, animation = props.animation, motion2 = props.motion, _props$placement = props.placement, placement = _props$placement === void 0 ? "right" : _props$placement, _props$align = props.align, align = _props$align === void 0 ? {} : _props$align, _props$destroyTooltip = props.destroyTooltipOnHide, destroyTooltipOnHide = _props$destroyTooltip === void 0 ? false : _props$destroyTooltip, defaultVisible = props.defaultVisible, getTooltipContainer = props.getTooltipContainer, overlayInnerStyle = props.overlayInnerStyle;
22467
22550
  props.arrowContent;
22468
- var overlay = props.overlay, id2 = props.id, _props$showArrow = props.showArrow, showArrow = _props$showArrow === void 0 ? true : _props$showArrow, tooltipClassNames = props.classNames, tooltipStyles = props.styles, restProps = _objectWithoutProperties$1(props, _excluded$z);
22551
+ var overlay = props.overlay, id2 = props.id, _props$showArrow = props.showArrow, showArrow = _props$showArrow === void 0 ? true : _props$showArrow, tooltipClassNames = props.classNames, tooltipStyles = props.styles, restProps = _objectWithoutProperties$1(props, _excluded$A);
22469
22552
  var mergedId = useId$2(id2);
22470
22553
  var triggerRef = useRef(null);
22471
22554
  useImperativeHandle(ref, function() {
@@ -23006,7 +23089,7 @@ const genTooltipStyle = (token2) => {
23006
23089
  }
23007
23090
  ];
23008
23091
  };
23009
- const prepareComponentToken$k = (token2) => Object.assign(Object.assign({
23092
+ const prepareComponentToken$l = (token2) => Object.assign(Object.assign({
23010
23093
  zIndexPopup: token2.zIndexPopupBase + 70
23011
23094
  }, getArrowOffsetToken({
23012
23095
  contentRadius: token2.borderRadius,
@@ -23014,7 +23097,7 @@ const prepareComponentToken$k = (token2) => Object.assign(Object.assign({
23014
23097
  })), getArrowToken(merge$1(token2, {
23015
23098
  borderRadiusOuter: Math.min(token2.borderRadiusOuter, 4)
23016
23099
  })));
23017
- const useStyle$o = (prefixCls, injectStyle = true) => {
23100
+ const useStyle$p = (prefixCls, injectStyle = true) => {
23018
23101
  const useStyle2 = genStyleHooks("Tooltip", (token2) => {
23019
23102
  const {
23020
23103
  borderRadius: borderRadius2,
@@ -23029,7 +23112,7 @@ const useStyle$o = (prefixCls, injectStyle = true) => {
23029
23112
  tooltipBg: colorBgSpotlight
23030
23113
  });
23031
23114
  return [genTooltipStyle(TooltipToken), initZoomMotion(token2, "zoom-big-fast")];
23032
- }, prepareComponentToken$k, {
23115
+ }, prepareComponentToken$l, {
23033
23116
  resetStyle: false,
23034
23117
  // Popover use Tooltip as internal component. We do not need to handle this.
23035
23118
  injectStyle
@@ -23064,7 +23147,7 @@ function parseColor(prefixCls, color2) {
23064
23147
  arrowStyle
23065
23148
  };
23066
23149
  }
23067
- const PurePanel$4 = (props) => {
23150
+ const PurePanel$5 = (props) => {
23068
23151
  const {
23069
23152
  prefixCls: customizePrefixCls,
23070
23153
  className,
@@ -23077,7 +23160,7 @@ const PurePanel$4 = (props) => {
23077
23160
  getPrefixCls
23078
23161
  } = React.useContext(ConfigContext);
23079
23162
  const prefixCls = getPrefixCls("tooltip", customizePrefixCls);
23080
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$o(prefixCls);
23163
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$p(prefixCls);
23081
23164
  const colorInfo = parseColor(prefixCls, color2);
23082
23165
  const arrowContentStyle = colorInfo.arrowStyle;
23083
23166
  const formattedOverlayInnerStyle = Object.assign(Object.assign({}, overlayInnerStyle), colorInfo.overlayStyle);
@@ -23093,7 +23176,7 @@ const PurePanel$4 = (props) => {
23093
23176
  overlayInnerStyle: formattedOverlayInnerStyle
23094
23177
  }), title)));
23095
23178
  };
23096
- var __rest$Q = function(s, e3) {
23179
+ var __rest$R = function(s, e3) {
23097
23180
  var t2 = {};
23098
23181
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
23099
23182
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -23130,7 +23213,7 @@ const InternalTooltip = /* @__PURE__ */ React.forwardRef((props, ref) => {
23130
23213
  overlayClassName,
23131
23214
  styles,
23132
23215
  classNames: tooltipClassNames
23133
- } = props, restProps = __rest$Q(props, ["prefixCls", "openClassName", "getTooltipContainer", "color", "overlayInnerStyle", "children", "afterOpenChange", "afterVisibleChange", "destroyTooltipOnHide", "destroyOnHidden", "arrow", "title", "overlay", "builtinPlacements", "arrowPointAtCenter", "autoAdjustOverflow", "motion", "getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName", "overlayClassName", "styles", "classNames"]);
23216
+ } = props, restProps = __rest$R(props, ["prefixCls", "openClassName", "getTooltipContainer", "color", "overlayInnerStyle", "children", "afterOpenChange", "afterVisibleChange", "destroyTooltipOnHide", "destroyOnHidden", "arrow", "title", "overlay", "builtinPlacements", "arrowPointAtCenter", "autoAdjustOverflow", "motion", "getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName", "overlayClassName", "styles", "classNames"]);
23134
23217
  const mergedShowArrow = !!arrow;
23135
23218
  const [, token2] = useToken();
23136
23219
  const {
@@ -23214,7 +23297,7 @@ const InternalTooltip = /* @__PURE__ */ React.forwardRef((props, ref) => {
23214
23297
  const child = /* @__PURE__ */ React.isValidElement(children2) && !isFragment(children2) ? children2 : /* @__PURE__ */ React.createElement("span", null, children2);
23215
23298
  const childProps = child.props;
23216
23299
  const childCls = !childProps.className || typeof childProps.className === "string" ? classNames(childProps.className, openClassName || `${prefixCls}-open`) : childProps.className;
23217
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$o(prefixCls, !injectFromPopover);
23300
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$p(prefixCls, !injectFromPopover);
23218
23301
  const colorInfo = parseColor(prefixCls, color2);
23219
23302
  const arrowContentStyle = colorInfo.arrowStyle;
23220
23303
  const rootClassNames = classNames(overlayClassName, {
@@ -23264,7 +23347,7 @@ const Tooltip$2 = InternalTooltip;
23264
23347
  if (process.env.NODE_ENV !== "production") {
23265
23348
  Tooltip$2.displayName = "Tooltip";
23266
23349
  }
23267
- Tooltip$2._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$4;
23350
+ Tooltip$2._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$5;
23268
23351
  const genBaseStyle$5 = (token2) => {
23269
23352
  const {
23270
23353
  componentCls,
@@ -23372,7 +23455,7 @@ const genColorStyle = (token2) => {
23372
23455
  })
23373
23456
  };
23374
23457
  };
23375
- const prepareComponentToken$j = (token2) => {
23458
+ const prepareComponentToken$k = (token2) => {
23376
23459
  const {
23377
23460
  lineWidth,
23378
23461
  controlHeight,
@@ -23405,7 +23488,7 @@ const prepareComponentToken$j = (token2) => {
23405
23488
  innerContentPadding: wireframe ? `${paddingSM}px ${popoverPaddingHorizontal}px` : 0
23406
23489
  });
23407
23490
  };
23408
- const useStyle$n = genStyleHooks("Popover", (token2) => {
23491
+ const useStyle$o = genStyleHooks("Popover", (token2) => {
23409
23492
  const {
23410
23493
  colorBgElevated,
23411
23494
  colorText
@@ -23415,11 +23498,11 @@ const useStyle$n = genStyleHooks("Popover", (token2) => {
23415
23498
  popoverColor: colorText
23416
23499
  });
23417
23500
  return [genBaseStyle$5(popoverToken), genColorStyle(popoverToken), initZoomMotion(popoverToken, "zoom-big")];
23418
- }, prepareComponentToken$j, {
23501
+ }, prepareComponentToken$k, {
23419
23502
  resetStyle: false,
23420
23503
  deprecatedTokens: [["width", "titleMinWidth"], ["minWidth", "titleMinWidth"]]
23421
23504
  });
23422
- var __rest$P = function(s, e3) {
23505
+ var __rest$Q = function(s, e3) {
23423
23506
  var t2 = {};
23424
23507
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
23425
23508
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -23469,23 +23552,23 @@ const RawPurePanel = (props) => {
23469
23552
  content: contentNode
23470
23553
  })));
23471
23554
  };
23472
- const PurePanel$3 = (props) => {
23555
+ const PurePanel$4 = (props) => {
23473
23556
  const {
23474
23557
  prefixCls: customizePrefixCls,
23475
23558
  className
23476
- } = props, restProps = __rest$P(props, ["prefixCls", "className"]);
23559
+ } = props, restProps = __rest$Q(props, ["prefixCls", "className"]);
23477
23560
  const {
23478
23561
  getPrefixCls
23479
23562
  } = React.useContext(ConfigContext);
23480
23563
  const prefixCls = getPrefixCls("popover", customizePrefixCls);
23481
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$n(prefixCls);
23564
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$o(prefixCls);
23482
23565
  return wrapCSSVar(/* @__PURE__ */ React.createElement(RawPurePanel, Object.assign({}, restProps, {
23483
23566
  prefixCls,
23484
23567
  hashId,
23485
23568
  className: classNames(className, cssVarCls)
23486
23569
  })));
23487
23570
  };
23488
- var __rest$O = function(s, e3) {
23571
+ var __rest$P = function(s, e3) {
23489
23572
  var t2 = {};
23490
23573
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
23491
23574
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -23509,7 +23592,7 @@ const InternalPopover = /* @__PURE__ */ React.forwardRef((props, ref) => {
23509
23592
  overlayStyle = {},
23510
23593
  styles,
23511
23594
  classNames: popoverClassNames
23512
- } = props, otherProps = __rest$O(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "children", "mouseEnterDelay", "mouseLeaveDelay", "onOpenChange", "overlayStyle", "styles", "classNames"]);
23595
+ } = props, otherProps = __rest$P(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "children", "mouseEnterDelay", "mouseLeaveDelay", "onOpenChange", "overlayStyle", "styles", "classNames"]);
23513
23596
  const {
23514
23597
  getPrefixCls,
23515
23598
  className: contextClassName,
@@ -23518,7 +23601,7 @@ const InternalPopover = /* @__PURE__ */ React.forwardRef((props, ref) => {
23518
23601
  styles: contextStyles
23519
23602
  } = useComponentConfig("popover");
23520
23603
  const prefixCls = getPrefixCls("popover", customizePrefixCls);
23521
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$n(prefixCls);
23604
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$o(prefixCls);
23522
23605
  const rootPrefixCls = getPrefixCls();
23523
23606
  const rootClassNames = classNames(overlayClassName, hashId, cssVarCls, contextClassName, contextClassNames.root, popoverClassNames === null || popoverClassNames === void 0 ? void 0 : popoverClassNames.root);
23524
23607
  const bodyClassNames = classNames(contextClassNames.body, popoverClassNames === null || popoverClassNames === void 0 ? void 0 : popoverClassNames.body);
@@ -23576,7 +23659,7 @@ const InternalPopover = /* @__PURE__ */ React.forwardRef((props, ref) => {
23576
23659
  })));
23577
23660
  });
23578
23661
  const Popover$2 = InternalPopover;
23579
- Popover$2._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$3;
23662
+ Popover$2._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$4;
23580
23663
  if (process.env.NODE_ENV !== "production") {
23581
23664
  Popover$2.displayName = "Popover";
23582
23665
  }
@@ -23622,7 +23705,7 @@ const AvatarGroup = (props) => {
23622
23705
  const prefixCls = getPrefixCls("avatar", customizePrefixCls);
23623
23706
  const groupPrefixCls = `${prefixCls}-group`;
23624
23707
  const rootCls = useCSSVarCls(prefixCls);
23625
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$p(prefixCls, rootCls);
23708
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$q(prefixCls, rootCls);
23626
23709
  const cls = classNames(groupPrefixCls, {
23627
23710
  [`${groupPrefixCls}-rtl`]: direction === "rtl"
23628
23711
  }, cssVarCls, rootCls, className, rootClassName, hashId);
@@ -23798,10 +23881,10 @@ var placements$1 = {
23798
23881
  targetOffset
23799
23882
  }
23800
23883
  };
23801
- var _excluded$y = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
23884
+ var _excluded$z = ["arrow", "prefixCls", "transitionName", "animation", "align", "placement", "placements", "getPopupContainer", "showAction", "hideAction", "overlayClassName", "overlayStyle", "visible", "trigger", "autoFocus", "overlay", "children", "onVisibleChange"];
23802
23885
  function Dropdown$2(props, ref) {
23803
23886
  var _children$props;
23804
- var _props$arrow = props.arrow, arrow = _props$arrow === void 0 ? false : _props$arrow, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-dropdown" : _props$prefixCls, transitionName = props.transitionName, animation = props.animation, align = props.align, _props$placement = props.placement, placement = _props$placement === void 0 ? "bottomLeft" : _props$placement, _props$placements = props.placements, placements2 = _props$placements === void 0 ? placements$1 : _props$placements, getPopupContainer = props.getPopupContainer, showAction = props.showAction, hideAction = props.hideAction, overlayClassName = props.overlayClassName, overlayStyle = props.overlayStyle, visible = props.visible, _props$trigger = props.trigger, trigger = _props$trigger === void 0 ? ["hover"] : _props$trigger, autoFocus = props.autoFocus, overlay = props.overlay, children2 = props.children, onVisibleChange = props.onVisibleChange, otherProps = _objectWithoutProperties$1(props, _excluded$y);
23887
+ var _props$arrow = props.arrow, arrow = _props$arrow === void 0 ? false : _props$arrow, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-dropdown" : _props$prefixCls, transitionName = props.transitionName, animation = props.animation, align = props.align, _props$placement = props.placement, placement = _props$placement === void 0 ? "bottomLeft" : _props$placement, _props$placements = props.placements, placements2 = _props$placements === void 0 ? placements$1 : _props$placements, getPopupContainer = props.getPopupContainer, showAction = props.showAction, hideAction = props.hideAction, overlayClassName = props.overlayClassName, overlayStyle = props.overlayStyle, visible = props.visible, _props$trigger = props.trigger, trigger = _props$trigger === void 0 ? ["hover"] : _props$trigger, autoFocus = props.autoFocus, overlay = props.overlay, children2 = props.children, onVisibleChange = props.onVisibleChange, otherProps = _objectWithoutProperties$1(props, _excluded$z);
23805
23888
  var _React$useState = React__default.useState(), _React$useState2 = _slicedToArray(_React$useState, 2), triggerVisible = _React$useState2[0], setTriggerVisible = _React$useState2[1];
23806
23889
  var mergedVisible = "visible" in props ? visible : triggerVisible;
23807
23890
  var triggerRef = React__default.useRef(null);
@@ -23899,7 +23982,7 @@ function useMenuId(eventKey) {
23899
23982
  var id2 = React.useContext(IdContext);
23900
23983
  return getMenuId(id2, eventKey);
23901
23984
  }
23902
- var _excluded$x = ["children", "locked"];
23985
+ var _excluded$y = ["children", "locked"];
23903
23986
  var MenuContext$1 = /* @__PURE__ */ React.createContext(null);
23904
23987
  function mergeProps(origin, target) {
23905
23988
  var clone = _objectSpread2({}, origin);
@@ -23912,7 +23995,7 @@ function mergeProps(origin, target) {
23912
23995
  return clone;
23913
23996
  }
23914
23997
  function InheritableContextProvider(_ref) {
23915
- var children2 = _ref.children, locked = _ref.locked, restProps = _objectWithoutProperties$1(_ref, _excluded$x);
23998
+ var children2 = _ref.children, locked = _ref.locked, restProps = _objectWithoutProperties$1(_ref, _excluded$y);
23916
23999
  var context = React.useContext(MenuContext$1);
23917
24000
  var inheritableContext = useMemo(function() {
23918
24001
  return mergeProps(context, restProps);
@@ -24342,9 +24425,9 @@ function Icon$2(_ref) {
24342
24425
  }
24343
24426
  return iconNode || children2 || null;
24344
24427
  }
24345
- var _excluded$w = ["item"];
24428
+ var _excluded$x = ["item"];
24346
24429
  function warnItemProp(_ref) {
24347
- var item = _ref.item, restInfo = _objectWithoutProperties$1(_ref, _excluded$w);
24430
+ var item = _ref.item, restInfo = _objectWithoutProperties$1(_ref, _excluded$x);
24348
24431
  Object.defineProperty(restInfo, "item", {
24349
24432
  get: function get2() {
24350
24433
  warningOnce(false, "`info.item` is deprecated since we will move to function component that not provides React Node instance in future.");
@@ -24353,7 +24436,7 @@ function warnItemProp(_ref) {
24353
24436
  });
24354
24437
  return restInfo;
24355
24438
  }
24356
- var _excluded$v = ["title", "attribute", "elementRef"], _excluded2$5 = ["style", "className", "eventKey", "warnKey", "disabled", "itemIcon", "children", "role", "onMouseEnter", "onMouseLeave", "onClick", "onKeyDown", "onFocus"], _excluded3 = ["active"];
24439
+ var _excluded$w = ["title", "attribute", "elementRef"], _excluded2$5 = ["style", "className", "eventKey", "warnKey", "disabled", "itemIcon", "children", "role", "onMouseEnter", "onMouseLeave", "onClick", "onKeyDown", "onFocus"], _excluded3 = ["active"];
24357
24440
  var LegacyMenuItem = /* @__PURE__ */ (function(_React$Component) {
24358
24441
  _inherits(LegacyMenuItem2, _React$Component);
24359
24442
  var _super = _createSuper(LegacyMenuItem2);
@@ -24364,7 +24447,7 @@ var LegacyMenuItem = /* @__PURE__ */ (function(_React$Component) {
24364
24447
  _createClass(LegacyMenuItem2, [{
24365
24448
  key: "render",
24366
24449
  value: function render2() {
24367
- var _this$props = this.props, title = _this$props.title, attribute = _this$props.attribute, elementRef = _this$props.elementRef, restProps = _objectWithoutProperties$1(_this$props, _excluded$v);
24450
+ var _this$props = this.props, title = _this$props.title, attribute = _this$props.attribute, elementRef = _this$props.elementRef, restProps = _objectWithoutProperties$1(_this$props, _excluded$w);
24368
24451
  var passedProps = omit(restProps, ["eventKey", "popupClassName", "popupOffset", "onTitleClick"]);
24369
24452
  warningOnce(!attribute, "`attribute` of Menu.Item is deprecated. Please pass attribute directly.");
24370
24453
  return /* @__PURE__ */ React.createElement(ForwardOverflow.Item, _extends$1({}, attribute, {
@@ -24474,9 +24557,9 @@ function MenuItem$2(props, ref) {
24474
24557
  }));
24475
24558
  }
24476
24559
  const MenuItem$3 = /* @__PURE__ */ React.forwardRef(MenuItem$2);
24477
- var _excluded$u = ["className", "children"];
24560
+ var _excluded$v = ["className", "children"];
24478
24561
  var InternalSubMenuList = function InternalSubMenuList2(_ref, ref) {
24479
- var className = _ref.className, children2 = _ref.children, restProps = _objectWithoutProperties$1(_ref, _excluded$u);
24562
+ var className = _ref.className, children2 = _ref.children, restProps = _objectWithoutProperties$1(_ref, _excluded$v);
24480
24563
  var _React$useContext = React.useContext(MenuContext$1), prefixCls = _React$useContext.prefixCls, mode = _React$useContext.mode, rtl = _React$useContext.rtl;
24481
24564
  return /* @__PURE__ */ React.createElement("ul", _extends$1({
24482
24565
  className: classNames(prefixCls, rtl && "".concat(prefixCls, "-rtl"), "".concat(prefixCls, "-sub"), "".concat(prefixCls, "-").concat(mode === "inline" ? "inline" : "vertical"), className),
@@ -24689,9 +24772,9 @@ function InlineSubMenuList(_ref) {
24689
24772
  }, children2);
24690
24773
  }));
24691
24774
  }
24692
- var _excluded$t = ["style", "className", "title", "eventKey", "warnKey", "disabled", "internalPopupClose", "children", "itemIcon", "expandIcon", "popupClassName", "popupOffset", "popupStyle", "onClick", "onMouseEnter", "onMouseLeave", "onTitleClick", "onTitleMouseEnter", "onTitleMouseLeave"], _excluded2$4 = ["active"];
24775
+ var _excluded$u = ["style", "className", "title", "eventKey", "warnKey", "disabled", "internalPopupClose", "children", "itemIcon", "expandIcon", "popupClassName", "popupOffset", "popupStyle", "onClick", "onMouseEnter", "onMouseLeave", "onTitleClick", "onTitleMouseEnter", "onTitleMouseLeave"], _excluded2$4 = ["active"];
24693
24776
  var InternalSubMenu = /* @__PURE__ */ React.forwardRef(function(props, ref) {
24694
- var style2 = props.style, className = props.className, title = props.title, eventKey = props.eventKey, warnKey = props.warnKey, disabled2 = props.disabled, internalPopupClose = props.internalPopupClose, children2 = props.children, itemIcon = props.itemIcon, expandIcon = props.expandIcon, popupClassName = props.popupClassName, popupOffset = props.popupOffset, popupStyle = props.popupStyle, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave, onTitleClick = props.onTitleClick, onTitleMouseEnter = props.onTitleMouseEnter, onTitleMouseLeave = props.onTitleMouseLeave, restProps = _objectWithoutProperties$1(props, _excluded$t);
24777
+ var style2 = props.style, className = props.className, title = props.title, eventKey = props.eventKey, warnKey = props.warnKey, disabled2 = props.disabled, internalPopupClose = props.internalPopupClose, children2 = props.children, itemIcon = props.itemIcon, expandIcon = props.expandIcon, popupClassName = props.popupClassName, popupOffset = props.popupOffset, popupStyle = props.popupStyle, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave, onTitleClick = props.onTitleClick, onTitleMouseEnter = props.onTitleMouseEnter, onTitleMouseLeave = props.onTitleMouseLeave, restProps = _objectWithoutProperties$1(props, _excluded$u);
24695
24778
  var domDataId = useMenuId(eventKey);
24696
24779
  var _React$useContext = React.useContext(MenuContext$1), prefixCls = _React$useContext.prefixCls, mode = _React$useContext.mode, openKeys = _React$useContext.openKeys, contextDisabled = _React$useContext.disabled, overflowDisabled = _React$useContext.overflowDisabled, activeKey = _React$useContext.activeKey, selectedKeys = _React$useContext.selectedKeys, contextItemIcon = _React$useContext.itemIcon, contextExpandIcon = _React$useContext.expandIcon, onItemClick = _React$useContext.onItemClick, onOpenChange = _React$useContext.onOpenChange, onActive = _React$useContext.onActive;
24697
24780
  var _React$useContext2 = React.useContext(PrivateContext), _internalRenderSubMenuItem = _React$useContext2._internalRenderSubMenuItem;
@@ -24891,11 +24974,11 @@ function Divider(_ref) {
24891
24974
  style: style2
24892
24975
  });
24893
24976
  }
24894
- var _excluded$s = ["className", "title", "eventKey", "children"];
24977
+ var _excluded$t = ["className", "title", "eventKey", "children"];
24895
24978
  var InternalMenuItemGroup = /* @__PURE__ */ React.forwardRef(function(props, ref) {
24896
24979
  var className = props.className, title = props.title;
24897
24980
  props.eventKey;
24898
- var children2 = props.children, restProps = _objectWithoutProperties$1(props, _excluded$s);
24981
+ var children2 = props.children, restProps = _objectWithoutProperties$1(props, _excluded$t);
24899
24982
  var _React$useContext = React.useContext(MenuContext$1), prefixCls = _React$useContext.prefixCls;
24900
24983
  var groupPrefixCls = "".concat(prefixCls, "-item-group");
24901
24984
  return /* @__PURE__ */ React.createElement("li", _extends$1({
@@ -24930,12 +25013,12 @@ var MenuItemGroup = /* @__PURE__ */ React.forwardRef(function(props, ref) {
24930
25013
  if (process.env.NODE_ENV !== "production") {
24931
25014
  MenuItemGroup.displayName = "MenuItemGroup";
24932
25015
  }
24933
- var _excluded$r = ["label", "children", "key", "type", "extra"];
25016
+ var _excluded$s = ["label", "children", "key", "type", "extra"];
24934
25017
  function convertItemsToNodes(list2, components2, prefixCls) {
24935
25018
  var MergedMenuItem = components2.item, MergedMenuItemGroup = components2.group, MergedSubMenu = components2.submenu, MergedDivider = components2.divider;
24936
25019
  return (list2 || []).map(function(opt, index2) {
24937
25020
  if (opt && _typeof(opt) === "object") {
24938
- var _ref = opt, label = _ref.label, children2 = _ref.children, key = _ref.key, type4 = _ref.type, extra = _ref.extra, restProps = _objectWithoutProperties$1(_ref, _excluded$r);
25021
+ var _ref = opt, label = _ref.label, children2 = _ref.children, key = _ref.key, type4 = _ref.type, extra = _ref.extra, restProps = _objectWithoutProperties$1(_ref, _excluded$s);
24939
25022
  var mergedKey = key !== null && key !== void 0 ? key : "tmp-".concat(index2);
24940
25023
  if (children2 || type4 === "group") {
24941
25024
  if (type4 === "group") {
@@ -24982,11 +25065,11 @@ function parseItems(children2, items, keyPath, components2, prefixCls) {
24982
25065
  }
24983
25066
  return parseChildren(childNodes, keyPath);
24984
25067
  }
24985
- var _excluded$q = ["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"];
25068
+ var _excluded$r = ["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"];
24986
25069
  var EMPTY_LIST$4 = [];
24987
25070
  var Menu$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
24988
25071
  var _childList$;
24989
- var _ref = props, _ref$prefixCls = _ref.prefixCls, prefixCls = _ref$prefixCls === void 0 ? "rc-menu" : _ref$prefixCls, rootClassName = _ref.rootClassName, style2 = _ref.style, className = _ref.className, _ref$tabIndex = _ref.tabIndex, tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex, items = _ref.items, children2 = _ref.children, direction = _ref.direction, id2 = _ref.id, _ref$mode = _ref.mode, mode = _ref$mode === void 0 ? "vertical" : _ref$mode, inlineCollapsed = _ref.inlineCollapsed, disabled2 = _ref.disabled, disabledOverflow = _ref.disabledOverflow, _ref$subMenuOpenDelay = _ref.subMenuOpenDelay, subMenuOpenDelay = _ref$subMenuOpenDelay === void 0 ? 0.1 : _ref$subMenuOpenDelay, _ref$subMenuCloseDela = _ref.subMenuCloseDelay, subMenuCloseDelay = _ref$subMenuCloseDela === void 0 ? 0.1 : _ref$subMenuCloseDela, forceSubMenuRender = _ref.forceSubMenuRender, defaultOpenKeys = _ref.defaultOpenKeys, openKeys = _ref.openKeys, activeKey = _ref.activeKey, defaultActiveFirst = _ref.defaultActiveFirst, _ref$selectable = _ref.selectable, selectable = _ref$selectable === void 0 ? true : _ref$selectable, _ref$multiple = _ref.multiple, multiple = _ref$multiple === void 0 ? false : _ref$multiple, defaultSelectedKeys = _ref.defaultSelectedKeys, selectedKeys = _ref.selectedKeys, onSelect = _ref.onSelect, onDeselect = _ref.onDeselect, _ref$inlineIndent = _ref.inlineIndent, inlineIndent = _ref$inlineIndent === void 0 ? 24 : _ref$inlineIndent, motion2 = _ref.motion, defaultMotions = _ref.defaultMotions, _ref$triggerSubMenuAc = _ref.triggerSubMenuAction, triggerSubMenuAction = _ref$triggerSubMenuAc === void 0 ? "hover" : _ref$triggerSubMenuAc, builtinPlacements = _ref.builtinPlacements, itemIcon = _ref.itemIcon, expandIcon = _ref.expandIcon, _ref$overflowedIndica = _ref.overflowedIndicator, overflowedIndicator = _ref$overflowedIndica === void 0 ? "..." : _ref$overflowedIndica, overflowedIndicatorPopupClassName = _ref.overflowedIndicatorPopupClassName, getPopupContainer = _ref.getPopupContainer, onClick = _ref.onClick, onOpenChange = _ref.onOpenChange, onKeyDown2 = _ref.onKeyDown, openAnimation = _ref.openAnimation, openTransitionName = _ref.openTransitionName, _internalRenderMenuItem = _ref._internalRenderMenuItem, _internalRenderSubMenuItem = _ref._internalRenderSubMenuItem, _internalComponents = _ref._internalComponents, restProps = _objectWithoutProperties$1(_ref, _excluded$q);
25072
+ var _ref = props, _ref$prefixCls = _ref.prefixCls, prefixCls = _ref$prefixCls === void 0 ? "rc-menu" : _ref$prefixCls, rootClassName = _ref.rootClassName, style2 = _ref.style, className = _ref.className, _ref$tabIndex = _ref.tabIndex, tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex, items = _ref.items, children2 = _ref.children, direction = _ref.direction, id2 = _ref.id, _ref$mode = _ref.mode, mode = _ref$mode === void 0 ? "vertical" : _ref$mode, inlineCollapsed = _ref.inlineCollapsed, disabled2 = _ref.disabled, disabledOverflow = _ref.disabledOverflow, _ref$subMenuOpenDelay = _ref.subMenuOpenDelay, subMenuOpenDelay = _ref$subMenuOpenDelay === void 0 ? 0.1 : _ref$subMenuOpenDelay, _ref$subMenuCloseDela = _ref.subMenuCloseDelay, subMenuCloseDelay = _ref$subMenuCloseDela === void 0 ? 0.1 : _ref$subMenuCloseDela, forceSubMenuRender = _ref.forceSubMenuRender, defaultOpenKeys = _ref.defaultOpenKeys, openKeys = _ref.openKeys, activeKey = _ref.activeKey, defaultActiveFirst = _ref.defaultActiveFirst, _ref$selectable = _ref.selectable, selectable = _ref$selectable === void 0 ? true : _ref$selectable, _ref$multiple = _ref.multiple, multiple = _ref$multiple === void 0 ? false : _ref$multiple, defaultSelectedKeys = _ref.defaultSelectedKeys, selectedKeys = _ref.selectedKeys, onSelect = _ref.onSelect, onDeselect = _ref.onDeselect, _ref$inlineIndent = _ref.inlineIndent, inlineIndent = _ref$inlineIndent === void 0 ? 24 : _ref$inlineIndent, motion2 = _ref.motion, defaultMotions = _ref.defaultMotions, _ref$triggerSubMenuAc = _ref.triggerSubMenuAction, triggerSubMenuAction = _ref$triggerSubMenuAc === void 0 ? "hover" : _ref$triggerSubMenuAc, builtinPlacements = _ref.builtinPlacements, itemIcon = _ref.itemIcon, expandIcon = _ref.expandIcon, _ref$overflowedIndica = _ref.overflowedIndicator, overflowedIndicator = _ref$overflowedIndica === void 0 ? "..." : _ref$overflowedIndica, overflowedIndicatorPopupClassName = _ref.overflowedIndicatorPopupClassName, getPopupContainer = _ref.getPopupContainer, onClick = _ref.onClick, onOpenChange = _ref.onOpenChange, onKeyDown2 = _ref.onKeyDown, openAnimation = _ref.openAnimation, openTransitionName = _ref.openTransitionName, _internalRenderMenuItem = _ref._internalRenderMenuItem, _internalRenderSubMenuItem = _ref._internalRenderSubMenuItem, _internalComponents = _ref._internalComponents, restProps = _objectWithoutProperties$1(_ref, _excluded$r);
24990
25073
  var _React$useMemo = React.useMemo(function() {
24991
25074
  return [parseItems(children2, items, EMPTY_LIST$4, _internalComponents, prefixCls), parseItems(children2, items, EMPTY_LIST$4, {}, prefixCls)];
24992
25075
  }, [children2, items, _internalComponents]), _React$useMemo2 = _slicedToArray(_React$useMemo, 2), childList = _React$useMemo2[0], measureChildList = _React$useMemo2[1];
@@ -25351,7 +25434,7 @@ const genLayoutStyle = (token2) => {
25351
25434
  }
25352
25435
  };
25353
25436
  };
25354
- const prepareComponentToken$i = (token2) => {
25437
+ const prepareComponentToken$j = (token2) => {
25355
25438
  const {
25356
25439
  colorBgLayout,
25357
25440
  controlHeight,
@@ -25387,7 +25470,7 @@ const prepareComponentToken$i = (token2) => {
25387
25470
  };
25388
25471
  };
25389
25472
  const DEPRECATED_TOKENS = [["colorBgBody", "bodyBg"], ["colorBgHeader", "headerBg"], ["colorBgTrigger", "triggerBg"]];
25390
- genStyleHooks("Layout", genLayoutStyle, prepareComponentToken$i, {
25473
+ genStyleHooks("Layout", genLayoutStyle, prepareComponentToken$j, {
25391
25474
  deprecatedTokens: DEPRECATED_TOKENS
25392
25475
  });
25393
25476
  const genSiderStyle = (token2) => {
@@ -25497,10 +25580,10 @@ const genSiderStyle = (token2) => {
25497
25580
  }
25498
25581
  };
25499
25582
  };
25500
- const useStyle$m = genStyleHooks(["Layout", "Sider"], genSiderStyle, prepareComponentToken$i, {
25583
+ const useStyle$n = genStyleHooks(["Layout", "Sider"], genSiderStyle, prepareComponentToken$j, {
25501
25584
  deprecatedTokens: DEPRECATED_TOKENS
25502
25585
  });
25503
- var __rest$N = function(s, e3) {
25586
+ var __rest$O = function(s, e3) {
25504
25587
  var t2 = {};
25505
25588
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
25506
25589
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -25542,7 +25625,7 @@ const Sider = /* @__PURE__ */ React.forwardRef((props, ref) => {
25542
25625
  breakpoint,
25543
25626
  onCollapse,
25544
25627
  onBreakpoint
25545
- } = props, otherProps = __rest$N(props, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]);
25628
+ } = props, otherProps = __rest$O(props, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]);
25546
25629
  const {
25547
25630
  siderHook
25548
25631
  } = useContext$1(LayoutContext);
@@ -25564,7 +25647,7 @@ const Sider = /* @__PURE__ */ React.forwardRef((props, ref) => {
25564
25647
  direction
25565
25648
  } = useContext$1(ConfigContext);
25566
25649
  const prefixCls = getPrefixCls("layout-sider", customizePrefixCls);
25567
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$m(prefixCls);
25650
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$n(prefixCls);
25568
25651
  const responsiveHandlerRef = useRef(null);
25569
25652
  responsiveHandlerRef.current = (mql) => {
25570
25653
  setBelow(mql.matches);
@@ -25663,7 +25746,7 @@ const MenuContext = /* @__PURE__ */ createContext$1({
25663
25746
  firstLevel: true,
25664
25747
  inlineCollapsed: false
25665
25748
  });
25666
- var __rest$M = function(s, e3) {
25749
+ var __rest$N = function(s, e3) {
25667
25750
  var t2 = {};
25668
25751
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
25669
25752
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -25676,7 +25759,7 @@ const MenuDivider = (props) => {
25676
25759
  prefixCls: customizePrefixCls,
25677
25760
  className,
25678
25761
  dashed
25679
- } = props, restProps = __rest$M(props, ["prefixCls", "className", "dashed"]);
25762
+ } = props, restProps = __rest$N(props, ["prefixCls", "className", "dashed"]);
25680
25763
  const {
25681
25764
  getPrefixCls
25682
25765
  } = React.useContext(ConfigContext);
@@ -25757,7 +25840,7 @@ const MenuItem$1 = (props) => {
25757
25840
  }
25758
25841
  return returnNode;
25759
25842
  };
25760
- var __rest$L = function(s, e3) {
25843
+ var __rest$M = function(s, e3) {
25761
25844
  var t2 = {};
25762
25845
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
25763
25846
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -25769,7 +25852,7 @@ const OverrideContext = /* @__PURE__ */ React.createContext(null);
25769
25852
  const OverrideProvider = /* @__PURE__ */ React.forwardRef((props, ref) => {
25770
25853
  const {
25771
25854
  children: children2
25772
- } = props, restProps = __rest$L(props, ["children"]);
25855
+ } = props, restProps = __rest$M(props, ["children"]);
25773
25856
  const override = React.useContext(OverrideContext);
25774
25857
  const context = React.useMemo(() => Object.assign(Object.assign({}, override), restProps), [
25775
25858
  override,
@@ -26596,7 +26679,7 @@ const getBaseStyle = (token2) => {
26596
26679
  }
26597
26680
  ];
26598
26681
  };
26599
- const prepareComponentToken$h = (token2) => {
26682
+ const prepareComponentToken$i = (token2) => {
26600
26683
  var _a, _b, _c;
26601
26684
  const {
26602
26685
  colorPrimary,
@@ -26714,7 +26797,7 @@ const prepareComponentToken$h = (token2) => {
26714
26797
  itemWidth: activeBarWidth ? `calc(100% + ${activeBarBorderWidth}px)` : `calc(100% - ${itemMarginInline * 2}px)`
26715
26798
  };
26716
26799
  };
26717
- const useStyle$l = (prefixCls, rootCls = prefixCls, injectStyle = true) => {
26800
+ const useStyle$m = (prefixCls, rootCls = prefixCls, injectStyle = true) => {
26718
26801
  const useStyle2 = genStyleHooks("Menu", (token2) => {
26719
26802
  const {
26720
26803
  colorBgElevated,
@@ -26793,7 +26876,7 @@ const useStyle$l = (prefixCls, rootCls = prefixCls, injectStyle = true) => {
26793
26876
  initSlideMotion(menuToken, "slide-down"),
26794
26877
  initZoomMotion(menuToken, "zoom-big")
26795
26878
  ];
26796
- }, prepareComponentToken$h, {
26879
+ }, prepareComponentToken$i, {
26797
26880
  deprecatedTokens: [["colorGroupTitle", "groupTitleColor"], ["radiusItem", "itemBorderRadius"], ["radiusSubMenuItem", "subMenuItemBorderRadius"], ["colorItemText", "itemColor"], ["colorItemTextHover", "itemHoverColor"], ["colorItemTextHoverHorizontal", "horizontalItemHoverColor"], ["colorItemTextSelected", "itemSelectedColor"], ["colorItemTextSelectedHorizontal", "horizontalItemSelectedColor"], ["colorItemTextDisabled", "itemDisabledColor"], ["colorDangerItemText", "dangerItemColor"], ["colorDangerItemTextHover", "dangerItemHoverColor"], ["colorDangerItemTextSelected", "dangerItemSelectedColor"], ["colorDangerItemBgActive", "dangerItemActiveBg"], ["colorDangerItemBgSelected", "dangerItemSelectedBg"], ["colorItemBg", "itemBg"], ["colorItemBgHover", "itemHoverBg"], ["colorSubItemBg", "subMenuItemBg"], ["colorItemBgActive", "itemActiveBg"], ["colorItemBgSelectedHorizontal", "horizontalItemSelectedBg"], ["colorActiveBarWidth", "activeBarWidth"], ["colorActiveBarHeight", "activeBarHeight"], ["colorActiveBarBorderSize", "activeBarBorderWidth"], ["colorItemBgSelected", "itemSelectedBg"]],
26798
26881
  // Dropdown will handle menu style self. We do not need to handle this.
26799
26882
  injectStyle,
@@ -26847,7 +26930,7 @@ const SubMenu = (props) => {
26847
26930
  }, props.popupStyle)
26848
26931
  })));
26849
26932
  };
26850
- var __rest$K = function(s, e3) {
26933
+ var __rest$L = function(s, e3) {
26851
26934
  var t2 = {};
26852
26935
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
26853
26936
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -26888,7 +26971,7 @@ const InternalMenu = /* @__PURE__ */ forwardRef((props, ref) => {
26888
26971
  selectable,
26889
26972
  onClick,
26890
26973
  overflowedIndicatorPopupClassName
26891
- } = props, restProps = __rest$K(props, ["prefixCls", "className", "style", "theme", "expandIcon", "_internalDisableMenuItemTitleTooltip", "inlineCollapsed", "siderCollapsed", "rootClassName", "mode", "selectable", "onClick", "overflowedIndicatorPopupClassName"]);
26974
+ } = props, restProps = __rest$L(props, ["prefixCls", "className", "style", "theme", "expandIcon", "_internalDisableMenuItemTitleTooltip", "inlineCollapsed", "siderCollapsed", "rootClassName", "mode", "selectable", "onClick", "overflowedIndicatorPopupClassName"]);
26892
26975
  const passedProps = omit(restProps, ["collapsedWidth"]);
26893
26976
  if (process.env.NODE_ENV !== "production") {
26894
26977
  const warning3 = devUseWarning("Menu");
@@ -26917,7 +27000,7 @@ const InternalMenu = /* @__PURE__ */ forwardRef((props, ref) => {
26917
27000
  };
26918
27001
  const prefixCls = getPrefixCls("menu", customizePrefixCls || overrideObj.prefixCls);
26919
27002
  const rootCls = useCSSVarCls(prefixCls);
26920
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$l(prefixCls, rootCls, !override);
27003
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$m(prefixCls, rootCls, !override);
26921
27004
  const menuClassName = classNames(`${prefixCls}-${theme}`, menu === null || menu === void 0 ? void 0 : menu.className, className);
26922
27005
  const mergedExpandIcon = React.useMemo(() => {
26923
27006
  var _a2, _b;
@@ -27280,14 +27363,14 @@ const genBaseStyle$4 = (token2) => {
27280
27363
  [initSlideMotion(token2, "slide-up"), initSlideMotion(token2, "slide-down"), initMoveMotion(token2, "move-up"), initMoveMotion(token2, "move-down"), initZoomMotion(token2, "zoom-big")]
27281
27364
  ];
27282
27365
  };
27283
- const prepareComponentToken$g = (token2) => Object.assign(Object.assign({
27366
+ const prepareComponentToken$h = (token2) => Object.assign(Object.assign({
27284
27367
  zIndexPopup: token2.zIndexPopupBase + 50,
27285
27368
  paddingBlock: (token2.controlHeight - token2.fontSize * token2.lineHeight) / 2
27286
27369
  }, getArrowOffsetToken({
27287
27370
  contentRadius: token2.borderRadiusLG,
27288
27371
  limitVerticalRadius: true
27289
27372
  })), getArrowToken(token2));
27290
- const useStyle$k = genStyleHooks("Dropdown", (token2) => {
27373
+ const useStyle$l = genStyleHooks("Dropdown", (token2) => {
27291
27374
  const {
27292
27375
  marginXXS,
27293
27376
  sizePopupArrow,
@@ -27300,7 +27383,7 @@ const useStyle$k = genStyleHooks("Dropdown", (token2) => {
27300
27383
  dropdownEdgeChildPadding: paddingXXS
27301
27384
  });
27302
27385
  return [genBaseStyle$4(dropdownToken), genStatusStyle(dropdownToken)];
27303
- }, prepareComponentToken$g, {
27386
+ }, prepareComponentToken$h, {
27304
27387
  resetStyle: false
27305
27388
  });
27306
27389
  const Dropdown$1 = (props) => {
@@ -27376,7 +27459,7 @@ const Dropdown$1 = (props) => {
27376
27459
  }, [placement, direction]);
27377
27460
  const prefixCls = getPrefixCls("dropdown", customizePrefixCls);
27378
27461
  const rootCls = useCSSVarCls(prefixCls);
27379
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$k(prefixCls, rootCls);
27462
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$l(prefixCls, rootCls);
27380
27463
  const [, token2] = useToken();
27381
27464
  const child = React.Children.only(isPrimitive(children2) ? /* @__PURE__ */ React.createElement("span", null, children2) : children2);
27382
27465
  const popupTrigger = cloneElement(child, {
@@ -27478,8 +27561,8 @@ const Dropdown$1 = (props) => {
27478
27561
  }
27479
27562
  return wrapCSSVar(renderNode);
27480
27563
  };
27481
- const PurePanel$2 = genPurePanel(Dropdown$1, "align", void 0, "dropdown", (prefixCls) => prefixCls);
27482
- const WrapPurePanel = (props) => /* @__PURE__ */ React.createElement(PurePanel$2, Object.assign({}, props), /* @__PURE__ */ React.createElement("span", null));
27564
+ const PurePanel$3 = genPurePanel(Dropdown$1, "align", void 0, "dropdown", (prefixCls) => prefixCls);
27565
+ const WrapPurePanel = (props) => /* @__PURE__ */ React.createElement(PurePanel$3, Object.assign({}, props), /* @__PURE__ */ React.createElement("span", null));
27483
27566
  Dropdown$1._InternalPanelDoNotUseOrYouWillBeFired = WrapPurePanel;
27484
27567
  if (process.env.NODE_ENV !== "production") {
27485
27568
  Dropdown$1.displayName = "Dropdown";
@@ -27497,7 +27580,7 @@ const BreadcrumbSeparator = ({
27497
27580
  }, children2 === "" ? children2 : children2 || "/");
27498
27581
  };
27499
27582
  BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;
27500
- var __rest$J = function(s, e3) {
27583
+ var __rest$K = function(s, e3) {
27501
27584
  var t2 = {};
27502
27585
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
27503
27586
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -27519,7 +27602,7 @@ function renderItem(prefixCls, item, children2, href) {
27519
27602
  const {
27520
27603
  className,
27521
27604
  onClick
27522
- } = item, restItem = __rest$J(item, ["className", "onClick"]);
27605
+ } = item, restItem = __rest$K(item, ["className", "onClick"]);
27523
27606
  const passedProps = Object.assign(Object.assign({}, pickAttrs(restItem, {
27524
27607
  data: true,
27525
27608
  aria: true
@@ -27546,7 +27629,7 @@ function useItemRender(prefixCls, itemRender) {
27546
27629
  };
27547
27630
  return mergedItemRender;
27548
27631
  }
27549
- var __rest$I = function(s, e3) {
27632
+ var __rest$J = function(s, e3) {
27550
27633
  var t2 = {};
27551
27634
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
27552
27635
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -27574,7 +27657,7 @@ const InternalBreadcrumbItem = (props) => {
27574
27657
  if (menu) {
27575
27658
  const _a = menu || {}, {
27576
27659
  items
27577
- } = _a, menuProps = __rest$I(_a, ["items"]);
27660
+ } = _a, menuProps = __rest$J(_a, ["items"]);
27578
27661
  mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), {
27579
27662
  items: items === null || items === void 0 ? void 0 : items.map((_a2, index2) => {
27580
27663
  var {
@@ -27582,7 +27665,7 @@ const InternalBreadcrumbItem = (props) => {
27582
27665
  title,
27583
27666
  label,
27584
27667
  path: path2
27585
- } = _a2, itemProps = __rest$I(_a2, ["key", "title", "label", "path"]);
27668
+ } = _a2, itemProps = __rest$J(_a2, ["key", "title", "label", "path"]);
27586
27669
  let mergedLabel = label !== null && label !== void 0 ? label : title;
27587
27670
  if (path2) {
27588
27671
  mergedLabel = /* @__PURE__ */ React.createElement("a", {
@@ -27617,7 +27700,7 @@ const BreadcrumbItem = (props) => {
27617
27700
  prefixCls: customizePrefixCls,
27618
27701
  children: children2,
27619
27702
  href
27620
- } = props, restProps = __rest$I(props, ["prefixCls", "children", "href"]);
27703
+ } = props, restProps = __rest$J(props, ["prefixCls", "children", "href"]);
27621
27704
  const {
27622
27705
  getPrefixCls
27623
27706
  } = React.useContext(ConfigContext);
@@ -27705,7 +27788,7 @@ const genBreadcrumbStyle = (token2) => {
27705
27788
  })
27706
27789
  };
27707
27790
  };
27708
- const prepareComponentToken$f = (token2) => ({
27791
+ const prepareComponentToken$g = (token2) => ({
27709
27792
  itemColor: token2.colorTextDescription,
27710
27793
  lastItemColor: token2.colorText,
27711
27794
  iconFontSize: token2.fontSize,
@@ -27714,11 +27797,11 @@ const prepareComponentToken$f = (token2) => ({
27714
27797
  separatorColor: token2.colorTextDescription,
27715
27798
  separatorMargin: token2.marginXS
27716
27799
  });
27717
- const useStyle$j = genStyleHooks("Breadcrumb", (token2) => {
27800
+ const useStyle$k = genStyleHooks("Breadcrumb", (token2) => {
27718
27801
  const breadcrumbToken = merge$1(token2, {});
27719
27802
  return genBreadcrumbStyle(breadcrumbToken);
27720
- }, prepareComponentToken$f);
27721
- var __rest$H = function(s, e3) {
27803
+ }, prepareComponentToken$g);
27804
+ var __rest$I = function(s, e3) {
27722
27805
  var t2 = {};
27723
27806
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
27724
27807
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -27730,7 +27813,7 @@ function route2item(route) {
27730
27813
  const {
27731
27814
  breadcrumbName,
27732
27815
  children: children2
27733
- } = route, rest = __rest$H(route, ["breadcrumbName", "children"]);
27816
+ } = route, rest = __rest$I(route, ["breadcrumbName", "children"]);
27734
27817
  const clone = Object.assign({
27735
27818
  title: breadcrumbName
27736
27819
  }, rest);
@@ -27739,7 +27822,7 @@ function route2item(route) {
27739
27822
  items: children2.map((_a) => {
27740
27823
  var {
27741
27824
  breadcrumbName: itemBreadcrumbName
27742
- } = _a, itemProps = __rest$H(_a, ["breadcrumbName"]);
27825
+ } = _a, itemProps = __rest$I(_a, ["breadcrumbName"]);
27743
27826
  return Object.assign(Object.assign({}, itemProps), {
27744
27827
  title: itemBreadcrumbName
27745
27828
  });
@@ -27759,7 +27842,7 @@ function useItems(items, routes) {
27759
27842
  return null;
27760
27843
  }, [items, routes]);
27761
27844
  }
27762
- var __rest$G = function(s, e3) {
27845
+ var __rest$H = function(s, e3) {
27763
27846
  var t2 = {};
27764
27847
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
27765
27848
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -27789,7 +27872,7 @@ const Breadcrumb$2 = (props) => {
27789
27872
  children: children2,
27790
27873
  itemRender,
27791
27874
  params = {}
27792
- } = props, restProps = __rest$G(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]);
27875
+ } = props, restProps = __rest$H(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]);
27793
27876
  const {
27794
27877
  getPrefixCls,
27795
27878
  direction,
@@ -27797,7 +27880,7 @@ const Breadcrumb$2 = (props) => {
27797
27880
  } = React.useContext(ConfigContext);
27798
27881
  let crumbs;
27799
27882
  const prefixCls = getPrefixCls("breadcrumb", customizePrefixCls);
27800
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$j(prefixCls);
27883
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$k(prefixCls);
27801
27884
  const mergedItems = useItems(items, legacyRoutes);
27802
27885
  if (process.env.NODE_ENV !== "production") {
27803
27886
  const warning3 = devUseWarning("Breadcrumb");
@@ -27899,7 +27982,7 @@ var hasRequiredDayjs_min;
27899
27982
  function requireDayjs_min() {
27900
27983
  if (hasRequiredDayjs_min) return dayjs_min$1.exports;
27901
27984
  hasRequiredDayjs_min = 1;
27902
- (function(module2, exports) {
27985
+ (function(module2, exports$1) {
27903
27986
  !(function(t2, e3) {
27904
27987
  module2.exports = e3();
27905
27988
  })(dayjs_min, (function() {
@@ -28184,7 +28267,7 @@ var hasRequiredWeekday;
28184
28267
  function requireWeekday() {
28185
28268
  if (hasRequiredWeekday) return weekday$2.exports;
28186
28269
  hasRequiredWeekday = 1;
28187
- (function(module2, exports) {
28270
+ (function(module2, exports$1) {
28188
28271
  !(function(e3, t2) {
28189
28272
  module2.exports = t2();
28190
28273
  })(weekday$1, (function() {
@@ -28206,7 +28289,7 @@ var hasRequiredLocaleData;
28206
28289
  function requireLocaleData() {
28207
28290
  if (hasRequiredLocaleData) return localeData$2.exports;
28208
28291
  hasRequiredLocaleData = 1;
28209
- (function(module2, exports) {
28292
+ (function(module2, exports$1) {
28210
28293
  !(function(n2, e3) {
28211
28294
  module2.exports = e3();
28212
28295
  })(localeData$1, (function() {
@@ -28291,7 +28374,7 @@ var hasRequiredWeekOfYear;
28291
28374
  function requireWeekOfYear() {
28292
28375
  if (hasRequiredWeekOfYear) return weekOfYear$2.exports;
28293
28376
  hasRequiredWeekOfYear = 1;
28294
- (function(module2, exports) {
28377
+ (function(module2, exports$1) {
28295
28378
  !(function(e3, t2) {
28296
28379
  module2.exports = t2();
28297
28380
  })(weekOfYear$1, (function() {
@@ -28323,7 +28406,7 @@ var hasRequiredWeekYear;
28323
28406
  function requireWeekYear() {
28324
28407
  if (hasRequiredWeekYear) return weekYear$2.exports;
28325
28408
  hasRequiredWeekYear = 1;
28326
- (function(module2, exports) {
28409
+ (function(module2, exports$1) {
28327
28410
  !(function(e3, t2) {
28328
28411
  module2.exports = t2();
28329
28412
  })(weekYear$1, (function() {
@@ -28345,7 +28428,7 @@ var hasRequiredAdvancedFormat;
28345
28428
  function requireAdvancedFormat() {
28346
28429
  if (hasRequiredAdvancedFormat) return advancedFormat$2.exports;
28347
28430
  hasRequiredAdvancedFormat = 1;
28348
- (function(module2, exports) {
28431
+ (function(module2, exports$1) {
28349
28432
  !(function(e3, t2) {
28350
28433
  module2.exports = t2();
28351
28434
  })(advancedFormat$1, (function() {
@@ -28402,7 +28485,7 @@ var hasRequiredCustomParseFormat;
28402
28485
  function requireCustomParseFormat() {
28403
28486
  if (hasRequiredCustomParseFormat) return customParseFormat$2.exports;
28404
28487
  hasRequiredCustomParseFormat = 1;
28405
- (function(module2, exports) {
28488
+ (function(module2, exports$1) {
28406
28489
  !(function(e3, t2) {
28407
28490
  module2.exports = t2();
28408
28491
  })(customParseFormat$1, (function() {
@@ -31607,9 +31690,9 @@ function useRootProps(props) {
31607
31690
  return pickProps(props, propNames);
31608
31691
  }, [props]);
31609
31692
  }
31610
- var _excluded$p = ["icon", "type"], _excluded2$3 = ["onClear"];
31693
+ var _excluded$q = ["icon", "type"], _excluded2$3 = ["onClear"];
31611
31694
  function Icon$1(props) {
31612
- var icon = props.icon, type4 = props.type, restProps = _objectWithoutProperties$1(props, _excluded$p);
31695
+ var icon = props.icon, type4 = props.type, restProps = _objectWithoutProperties$1(props, _excluded$q);
31613
31696
  var _React$useContext = React.useContext(PickerContext), prefixCls = _React$useContext.prefixCls;
31614
31697
  return icon ? /* @__PURE__ */ React.createElement("span", _extends$1({
31615
31698
  className: "".concat(prefixCls, "-").concat(type4)
@@ -31729,11 +31812,11 @@ function getMaskRange(key) {
31729
31812
  };
31730
31813
  return PresetRange[key];
31731
31814
  }
31732
- var _excluded$o = ["active", "showActiveCls", "suffixIcon", "format", "validateFormat", "onChange", "onInput", "helped", "onHelp", "onSubmit", "onKeyDown", "preserveInvalidOnBlur", "invalid", "clearIcon"];
31815
+ var _excluded$p = ["active", "showActiveCls", "suffixIcon", "format", "validateFormat", "onChange", "onInput", "helped", "onHelp", "onSubmit", "onKeyDown", "preserveInvalidOnBlur", "invalid", "clearIcon"];
31733
31816
  var Input$5 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
31734
31817
  var active = props.active, _props$showActiveCls = props.showActiveCls, showActiveCls = _props$showActiveCls === void 0 ? true : _props$showActiveCls, suffixIcon = props.suffixIcon, format3 = props.format, validateFormat = props.validateFormat, onChange = props.onChange;
31735
31818
  props.onInput;
31736
- var helped = props.helped, onHelp = props.onHelp, onSubmit = props.onSubmit, onKeyDown2 = props.onKeyDown, _props$preserveInvali = props.preserveInvalidOnBlur, preserveInvalidOnBlur = _props$preserveInvali === void 0 ? false : _props$preserveInvali, invalid = props.invalid, clearIcon = props.clearIcon, restProps = _objectWithoutProperties$1(props, _excluded$o);
31819
+ var helped = props.helped, onHelp = props.onHelp, onSubmit = props.onSubmit, onKeyDown2 = props.onKeyDown, _props$preserveInvali = props.preserveInvalidOnBlur, preserveInvalidOnBlur = _props$preserveInvali === void 0 ? false : _props$preserveInvali, invalid = props.invalid, clearIcon = props.clearIcon, restProps = _objectWithoutProperties$1(props, _excluded$p);
31737
31820
  var value2 = props.value, onFocus = props.onFocus, onBlur = props.onBlur, onMouseUp = props.onMouseUp;
31738
31821
  var _React$useContext = React.useContext(PickerContext), prefixCls = _React$useContext.prefixCls, _React$useContext$inp = _React$useContext.input, Component = _React$useContext$inp === void 0 ? "input" : _React$useContext$inp;
31739
31822
  var inputPrefixCls = "".concat(prefixCls, "-input");
@@ -31959,7 +32042,7 @@ var Input$5 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
31959
32042
  if (process.env.NODE_ENV !== "production") {
31960
32043
  Input$5.displayName = "Input";
31961
32044
  }
31962
- var _excluded$n = ["id", "prefix", "clearIcon", "suffixIcon", "separator", "activeIndex", "activeHelp", "allHelp", "focused", "onFocus", "onBlur", "onKeyDown", "locale", "generateConfig", "placeholder", "className", "style", "onClick", "onClear", "value", "onChange", "onSubmit", "onInputChange", "format", "maskFormat", "preserveInvalidOnBlur", "onInvalid", "disabled", "invalid", "inputReadOnly", "direction", "onOpenChange", "onActiveInfo", "placement", "onMouseDown", "required", "aria-required", "autoFocus", "tabIndex"], _excluded2$2 = ["index"];
32045
+ var _excluded$o = ["id", "prefix", "clearIcon", "suffixIcon", "separator", "activeIndex", "activeHelp", "allHelp", "focused", "onFocus", "onBlur", "onKeyDown", "locale", "generateConfig", "placeholder", "className", "style", "onClick", "onClear", "value", "onChange", "onSubmit", "onInputChange", "format", "maskFormat", "preserveInvalidOnBlur", "onInvalid", "disabled", "invalid", "inputReadOnly", "direction", "onOpenChange", "onActiveInfo", "placement", "onMouseDown", "required", "aria-required", "autoFocus", "tabIndex"], _excluded2$2 = ["index"];
31963
32046
  function RangeSelector(props, ref) {
31964
32047
  var id2 = props.id, prefix = props.prefix, clearIcon = props.clearIcon, suffixIcon = props.suffixIcon, _props$separator = props.separator, separator = _props$separator === void 0 ? "~" : _props$separator, activeIndex = props.activeIndex;
31965
32048
  props.activeHelp;
@@ -31987,7 +32070,7 @@ function RangeSelector(props, ref) {
31987
32070
  var _onMouseDown = props.onMouseDown;
31988
32071
  props.required;
31989
32072
  props["aria-required"];
31990
- var autoFocus = props.autoFocus, tabIndex = props.tabIndex, restProps = _objectWithoutProperties$1(props, _excluded$n);
32073
+ var autoFocus = props.autoFocus, tabIndex = props.tabIndex, restProps = _objectWithoutProperties$1(props, _excluded$o);
31991
32074
  var rtl = direction === "rtl";
31992
32075
  var _React$useContext = React.useContext(PickerContext), prefixCls = _React$useContext.prefixCls;
31993
32076
  var ids = React.useMemo(function() {
@@ -32501,7 +32584,7 @@ function MultipleDates(props) {
32501
32584
  className: "".concat(prefixCls, "-selection-placeholder")
32502
32585
  }, placeholder));
32503
32586
  }
32504
- var _excluded$m = ["id", "open", "prefix", "clearIcon", "suffixIcon", "activeHelp", "allHelp", "focused", "onFocus", "onBlur", "onKeyDown", "locale", "generateConfig", "placeholder", "className", "style", "onClick", "onClear", "internalPicker", "value", "onChange", "onSubmit", "onInputChange", "multiple", "maxTagCount", "format", "maskFormat", "preserveInvalidOnBlur", "onInvalid", "disabled", "invalid", "inputReadOnly", "direction", "onOpenChange", "onMouseDown", "required", "aria-required", "autoFocus", "tabIndex", "removeIcon"];
32587
+ var _excluded$n = ["id", "open", "prefix", "clearIcon", "suffixIcon", "activeHelp", "allHelp", "focused", "onFocus", "onBlur", "onKeyDown", "locale", "generateConfig", "placeholder", "className", "style", "onClick", "onClear", "internalPicker", "value", "onChange", "onSubmit", "onInputChange", "multiple", "maxTagCount", "format", "maskFormat", "preserveInvalidOnBlur", "onInvalid", "disabled", "invalid", "inputReadOnly", "direction", "onOpenChange", "onMouseDown", "required", "aria-required", "autoFocus", "tabIndex", "removeIcon"];
32505
32588
  function SingleSelector2(props, ref) {
32506
32589
  props.id;
32507
32590
  var open = props.open, prefix = props.prefix, clearIcon = props.clearIcon, suffixIcon = props.suffixIcon;
@@ -32525,7 +32608,7 @@ function SingleSelector2(props, ref) {
32525
32608
  var _onMouseDown = props.onMouseDown;
32526
32609
  props.required;
32527
32610
  props["aria-required"];
32528
- var autoFocus = props.autoFocus, tabIndex = props.tabIndex, removeIcon = props.removeIcon, restProps = _objectWithoutProperties$1(props, _excluded$m);
32611
+ var autoFocus = props.autoFocus, tabIndex = props.tabIndex, removeIcon = props.removeIcon, restProps = _objectWithoutProperties$1(props, _excluded$n);
32529
32612
  var rtl = direction === "rtl";
32530
32613
  var _React$useContext = React.useContext(PickerContext), prefixCls = _React$useContext.prefixCls;
32531
32614
  var rootRef = React.useRef();
@@ -32928,9 +33011,9 @@ const RadioGroupContext = /* @__PURE__ */ React.createContext(null);
32928
33011
  const RadioGroupContextProvider = RadioGroupContext.Provider;
32929
33012
  const RadioOptionTypeContext = /* @__PURE__ */ React.createContext(null);
32930
33013
  const RadioOptionTypeContextProvider = RadioOptionTypeContext.Provider;
32931
- var _excluded$l = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"];
33014
+ var _excluded$m = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"];
32932
33015
  var Checkbox$3 = /* @__PURE__ */ forwardRef(function(props, ref) {
32933
- var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-checkbox" : _props$prefixCls, className = props.className, style2 = props.style, checked = props.checked, disabled2 = props.disabled, _props$defaultChecked = props.defaultChecked, defaultChecked = _props$defaultChecked === void 0 ? false : _props$defaultChecked, _props$type = props.type, type4 = _props$type === void 0 ? "checkbox" : _props$type, title = props.title, onChange = props.onChange, inputProps = _objectWithoutProperties$1(props, _excluded$l);
33016
+ var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-checkbox" : _props$prefixCls, className = props.className, style2 = props.style, checked = props.checked, disabled2 = props.disabled, _props$defaultChecked = props.defaultChecked, defaultChecked = _props$defaultChecked === void 0 ? false : _props$defaultChecked, _props$type = props.type, type4 = _props$type === void 0 ? "checkbox" : _props$type, title = props.title, onChange = props.onChange, inputProps = _objectWithoutProperties$1(props, _excluded$m);
32934
33017
  var inputRef = useRef(null);
32935
33018
  var holderRef = useRef(null);
32936
33019
  var _useMergedState = useMergedState(defaultChecked, {
@@ -33404,7 +33487,7 @@ const getRadioButtonStyle = (token2) => {
33404
33487
  }
33405
33488
  };
33406
33489
  };
33407
- const prepareComponentToken$e = (token2) => {
33490
+ const prepareComponentToken$f = (token2) => {
33408
33491
  const {
33409
33492
  wireframe,
33410
33493
  padding,
@@ -33446,7 +33529,7 @@ const prepareComponentToken$e = (token2) => {
33446
33529
  radioBgColor: wireframe ? colorBgContainer : colorPrimary
33447
33530
  };
33448
33531
  };
33449
- const useStyle$i = genStyleHooks("Radio", (token2) => {
33532
+ const useStyle$j = genStyleHooks("Radio", (token2) => {
33450
33533
  const {
33451
33534
  controlOutline,
33452
33535
  controlOutlineWidth
@@ -33458,13 +33541,13 @@ const useStyle$i = genStyleHooks("Radio", (token2) => {
33458
33541
  radioButtonFocusShadow
33459
33542
  });
33460
33543
  return [getGroupRadioStyle(radioToken), getRadioBasicStyle(radioToken), getRadioButtonStyle(radioToken)];
33461
- }, prepareComponentToken$e, {
33544
+ }, prepareComponentToken$f, {
33462
33545
  unitless: {
33463
33546
  radioSize: true,
33464
33547
  dotSize: true
33465
33548
  }
33466
33549
  });
33467
- var __rest$F = function(s, e3) {
33550
+ var __rest$G = function(s, e3) {
33468
33551
  var t2 = {};
33469
33552
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
33470
33553
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -33502,12 +33585,12 @@ const InternalRadio = (props, ref) => {
33502
33585
  children: children2,
33503
33586
  style: style2,
33504
33587
  title
33505
- } = props, restProps = __rest$F(props, ["prefixCls", "className", "rootClassName", "children", "style", "title"]);
33588
+ } = props, restProps = __rest$G(props, ["prefixCls", "className", "rootClassName", "children", "style", "title"]);
33506
33589
  const radioPrefixCls = getPrefixCls("radio", customizePrefixCls);
33507
33590
  const isButtonType = ((groupContext === null || groupContext === void 0 ? void 0 : groupContext.optionType) || radioOptionTypeContext) === "button";
33508
33591
  const prefixCls = isButtonType ? `${radioPrefixCls}-button` : radioPrefixCls;
33509
33592
  const rootCls = useCSSVarCls(radioPrefixCls);
33510
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$i(radioPrefixCls, rootCls);
33593
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$j(radioPrefixCls, rootCls);
33511
33594
  const radioProps = Object.assign({}, restProps);
33512
33595
  const disabled2 = React.useContext(DisabledContext);
33513
33596
  if (groupContext) {
@@ -33583,7 +33666,7 @@ function getStatus(errors, warnings, meta, defaultValidateStatus, hasFeedback, v
33583
33666
  }
33584
33667
  return status;
33585
33668
  }
33586
- var __rest$E = function(s, e3) {
33669
+ var __rest$F = function(s, e3) {
33587
33670
  var t2 = {};
33588
33671
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
33589
33672
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -33623,7 +33706,7 @@ function useForm(form) {
33623
33706
  scrollToField: (name2, options = {}) => {
33624
33707
  const {
33625
33708
  focus
33626
- } = options, restOpt = __rest$E(options, ["focus"]);
33709
+ } = options, restOpt = __rest$F(options, ["focus"]);
33627
33710
  const node2 = getFieldDOMNode(name2, wrapForm);
33628
33711
  if (node2) {
33629
33712
  e(node2, Object.assign({
@@ -33698,7 +33781,7 @@ const RadioGroup$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
33698
33781
  const prefixCls = getPrefixCls("radio", customizePrefixCls);
33699
33782
  const groupPrefixCls = `${prefixCls}-group`;
33700
33783
  const rootCls = useCSSVarCls(prefixCls);
33701
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$i(prefixCls, rootCls);
33784
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$j(prefixCls, rootCls);
33702
33785
  let childrenToRender = children2;
33703
33786
  if (options && options.length > 0) {
33704
33787
  childrenToRender = options.map((option) => {
@@ -33756,7 +33839,7 @@ const RadioGroup$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
33756
33839
  }, childrenToRender)));
33757
33840
  });
33758
33841
  const Group$1 = /* @__PURE__ */ React.memo(RadioGroup$1);
33759
- var __rest$D = function(s, e3) {
33842
+ var __rest$E = function(s, e3) {
33760
33843
  var t2 = {};
33761
33844
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
33762
33845
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -33770,7 +33853,7 @@ const RadioButton = (props, ref) => {
33770
33853
  } = React.useContext(ConfigContext);
33771
33854
  const {
33772
33855
  prefixCls: customizePrefixCls
33773
- } = props, radioProps = __rest$D(props, ["prefixCls"]);
33856
+ } = props, radioProps = __rest$E(props, ["prefixCls"]);
33774
33857
  const prefixCls = getPrefixCls("radio", customizePrefixCls);
33775
33858
  return /* @__PURE__ */ React.createElement(RadioOptionTypeContextProvider, {
33776
33859
  value: "button"
@@ -34771,7 +34854,7 @@ const useSharedStyle = genStyleHooks(["Input", "Shared"], (token2) => {
34771
34854
  }, initComponentToken$1, {
34772
34855
  resetFont: false
34773
34856
  });
34774
- const useStyle$h = genStyleHooks(["Input", "Component"], (token2) => {
34857
+ const useStyle$i = genStyleHooks(["Input", "Component"], (token2) => {
34775
34858
  const inputToken = merge$1(token2, initInputToken(token2));
34776
34859
  return [
34777
34860
  genGroupStyle(inputToken),
@@ -35533,7 +35616,7 @@ const initPanelComponentToken = (token2) => {
35533
35616
  };
35534
35617
  return filledToken;
35535
35618
  };
35536
- const prepareComponentToken$d = (token2) => Object.assign(Object.assign(Object.assign(Object.assign({}, initComponentToken$1(token2)), initPanelComponentToken(token2)), getArrowToken(token2)), {
35619
+ const prepareComponentToken$e = (token2) => Object.assign(Object.assign(Object.assign(Object.assign({}, initComponentToken$1(token2)), initPanelComponentToken(token2)), getArrowToken(token2)), {
35537
35620
  presetsWidth: 120,
35538
35621
  presetsMaxWidth: 200,
35539
35622
  zIndexPopup: token2.zIndexPopupBase + 50
@@ -35985,7 +36068,7 @@ const genPickerStyle = (token2) => {
35985
36068
  initMoveMotion(token2, "move-down")
35986
36069
  ];
35987
36070
  };
35988
- const useStyle$g = genStyleHooks("DatePicker", (token2) => {
36071
+ const useStyle$h = genStyleHooks("DatePicker", (token2) => {
35989
36072
  const pickerToken = merge$1(initInputToken(token2), initPickerPanelToken(token2), {
35990
36073
  inputPaddingHorizontalBase: token2.calc(token2.paddingSM).sub(1).equal(),
35991
36074
  multipleSelectItemHeight: token2.multipleItemHeight,
@@ -36004,7 +36087,7 @@ const useStyle$g = genStyleHooks("DatePicker", (token2) => {
36004
36087
  focusElCls: `${token2.componentCls}-focused`
36005
36088
  })
36006
36089
  ];
36007
- }, prepareComponentToken$d);
36090
+ }, prepareComponentToken$e);
36008
36091
  var PlusOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" };
36009
36092
  var PlusOutlined = function PlusOutlined2(props, ref) {
36010
36093
  return /* @__PURE__ */ React.createElement(Icon$3, _extends$1({}, props, {
@@ -37087,9 +37170,9 @@ var TabPane$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
37087
37170
  if (process.env.NODE_ENV !== "production") {
37088
37171
  TabPane$1.displayName = "TabPane";
37089
37172
  }
37090
- var _excluded$k = ["renderTabBar"], _excluded2$1 = ["label", "key"];
37173
+ var _excluded$l = ["renderTabBar"], _excluded2$1 = ["label", "key"];
37091
37174
  var TabNavListWrapper = function TabNavListWrapper2(_ref) {
37092
- var renderTabBar = _ref.renderTabBar, restProps = _objectWithoutProperties$1(_ref, _excluded$k);
37175
+ var renderTabBar = _ref.renderTabBar, restProps = _objectWithoutProperties$1(_ref, _excluded$l);
37093
37176
  var _React$useContext = React.useContext(TabContext), tabs = _React$useContext.tabs;
37094
37177
  if (renderTabBar) {
37095
37178
  var tabNavBarProps = _objectSpread2(_objectSpread2({}, restProps), {}, {
@@ -37110,7 +37193,7 @@ var TabNavListWrapper = function TabNavListWrapper2(_ref) {
37110
37193
  if (process.env.NODE_ENV !== "production") {
37111
37194
  TabNavListWrapper.displayName = "TabNavListWrapper";
37112
37195
  }
37113
- var _excluded$j = ["key", "forceRender", "style", "className", "destroyInactiveTabPane"];
37196
+ var _excluded$k = ["key", "forceRender", "style", "className", "destroyInactiveTabPane"];
37114
37197
  var TabPanelList = function TabPanelList2(props) {
37115
37198
  var id2 = props.id, activeKey = props.activeKey, animated = props.animated, tabPosition = props.tabPosition, destroyInactiveTabPane = props.destroyInactiveTabPane;
37116
37199
  var _React$useContext = React.useContext(TabContext), prefixCls = _React$useContext.prefixCls, tabs = _React$useContext.tabs;
@@ -37121,7 +37204,7 @@ var TabPanelList = function TabPanelList2(props) {
37121
37204
  }, /* @__PURE__ */ React.createElement("div", {
37122
37205
  className: classNames("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition), _defineProperty$1({}, "".concat(prefixCls, "-content-animated"), tabPaneAnimated))
37123
37206
  }, tabs.map(function(item) {
37124
- var key = item.key, forceRender = item.forceRender, paneStyle = item.style, paneClassName = item.className, itemDestroyInactiveTabPane = item.destroyInactiveTabPane, restTabProps = _objectWithoutProperties$1(item, _excluded$j);
37207
+ var key = item.key, forceRender = item.forceRender, paneStyle = item.style, paneClassName = item.className, itemDestroyInactiveTabPane = item.destroyInactiveTabPane, restTabProps = _objectWithoutProperties$1(item, _excluded$k);
37125
37208
  var active = key === activeKey;
37126
37209
  return /* @__PURE__ */ React.createElement(CSSMotion, _extends$1({
37127
37210
  key,
@@ -37176,10 +37259,10 @@ function useAnimateConfig$1() {
37176
37259
  }
37177
37260
  return mergedAnimated;
37178
37261
  }
37179
- var _excluded$i = ["id", "prefixCls", "className", "items", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "more", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick", "onTabScroll", "getPopupContainer", "popupClassName", "indicator"];
37262
+ var _excluded$j = ["id", "prefixCls", "className", "items", "direction", "activeKey", "defaultActiveKey", "editable", "animated", "tabPosition", "tabBarGutter", "tabBarStyle", "tabBarExtraContent", "locale", "more", "destroyInactiveTabPane", "renderTabBar", "onChange", "onTabClick", "onTabScroll", "getPopupContainer", "popupClassName", "indicator"];
37180
37263
  var uuid$1 = 0;
37181
37264
  var Tabs$3 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
37182
- var id2 = props.id, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-tabs" : _props$prefixCls, className = props.className, items = props.items, direction = props.direction, activeKey = props.activeKey, defaultActiveKey = props.defaultActiveKey, editable = props.editable, animated = props.animated, _props$tabPosition = props.tabPosition, tabPosition = _props$tabPosition === void 0 ? "top" : _props$tabPosition, tabBarGutter = props.tabBarGutter, tabBarStyle = props.tabBarStyle, tabBarExtraContent = props.tabBarExtraContent, locale2 = props.locale, more = props.more, destroyInactiveTabPane = props.destroyInactiveTabPane, renderTabBar = props.renderTabBar, onChange = props.onChange, onTabClick = props.onTabClick, onTabScroll = props.onTabScroll, getPopupContainer = props.getPopupContainer, popupClassName = props.popupClassName, indicator = props.indicator, restProps = _objectWithoutProperties$1(props, _excluded$i);
37265
+ var id2 = props.id, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-tabs" : _props$prefixCls, className = props.className, items = props.items, direction = props.direction, activeKey = props.activeKey, defaultActiveKey = props.defaultActiveKey, editable = props.editable, animated = props.animated, _props$tabPosition = props.tabPosition, tabPosition = _props$tabPosition === void 0 ? "top" : _props$tabPosition, tabBarGutter = props.tabBarGutter, tabBarStyle = props.tabBarStyle, tabBarExtraContent = props.tabBarExtraContent, locale2 = props.locale, more = props.more, destroyInactiveTabPane = props.destroyInactiveTabPane, renderTabBar = props.renderTabBar, onChange = props.onChange, onTabClick = props.onTabClick, onTabScroll = props.onTabScroll, getPopupContainer = props.getPopupContainer, popupClassName = props.popupClassName, indicator = props.indicator, restProps = _objectWithoutProperties$1(props, _excluded$j);
37183
37266
  var tabs = React.useMemo(function() {
37184
37267
  return (items || []).filter(function(item) {
37185
37268
  return item && _typeof(item) === "object" && "key" in item;
@@ -37307,7 +37390,7 @@ function useAnimateConfig(prefixCls, animated = {
37307
37390
  }
37308
37391
  return mergedAnimated;
37309
37392
  }
37310
- var __rest$C = function(s, e3) {
37393
+ var __rest$D = function(s, e3) {
37311
37394
  var t2 = {};
37312
37395
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
37313
37396
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -37341,7 +37424,7 @@ function useLegacyItems(items, children2) {
37341
37424
  } = node2;
37342
37425
  const _a = props || {}, {
37343
37426
  tab: tab2
37344
- } = _a, restProps = __rest$C(_a, ["tab"]);
37427
+ } = _a, restProps = __rest$D(_a, ["tab"]);
37345
37428
  const item = Object.assign(Object.assign({
37346
37429
  key: String(key)
37347
37430
  }, restProps), {
@@ -37353,7 +37436,7 @@ function useLegacyItems(items, children2) {
37353
37436
  });
37354
37437
  return filter$1(childrenItems);
37355
37438
  }
37356
- const genMotionStyle = (token2) => {
37439
+ const genMotionStyle$1 = (token2) => {
37357
37440
  const {
37358
37441
  componentCls,
37359
37442
  motionDurationSlow
@@ -38189,7 +38272,7 @@ const genTabsStyle = (token2) => {
38189
38272
  }
38190
38273
  };
38191
38274
  };
38192
- const prepareComponentToken$c = (token2) => {
38275
+ const prepareComponentToken$d = (token2) => {
38193
38276
  const {
38194
38277
  cardHeight,
38195
38278
  cardHeightSM,
@@ -38234,7 +38317,7 @@ const prepareComponentToken$c = (token2) => {
38234
38317
  cardGutter: token2.marginXXS / 2
38235
38318
  };
38236
38319
  };
38237
- const useStyle$f = genStyleHooks("Tabs", (token2) => {
38320
+ const useStyle$g = genStyleHooks("Tabs", (token2) => {
38238
38321
  const tabsToken = merge$1(token2, {
38239
38322
  // `cardPadding` is empty by default, so we could calculate with dynamic `cardHeight`
38240
38323
  tabsCardPadding: token2.cardPadding,
@@ -38245,13 +38328,13 @@ const useStyle$f = genStyleHooks("Tabs", (token2) => {
38245
38328
  tabsHorizontalItemMargin: `0 0 0 ${unit$2(token2.horizontalItemGutter)}`,
38246
38329
  tabsHorizontalItemMarginRTL: `0 0 0 ${unit$2(token2.horizontalItemGutter)}`
38247
38330
  });
38248
- return [genSizeStyle$1(tabsToken), genRtlStyle(tabsToken), genPositionStyle(tabsToken), genDropdownStyle(tabsToken), genCardStyle$1(tabsToken), genTabsStyle(tabsToken), genMotionStyle(tabsToken)];
38249
- }, prepareComponentToken$c);
38331
+ return [genSizeStyle$1(tabsToken), genRtlStyle(tabsToken), genPositionStyle(tabsToken), genDropdownStyle(tabsToken), genCardStyle$1(tabsToken), genTabsStyle(tabsToken), genMotionStyle$1(tabsToken)];
38332
+ }, prepareComponentToken$d);
38250
38333
  const TabPane = () => null;
38251
38334
  if (process.env.NODE_ENV !== "production") {
38252
38335
  TabPane.displayName = "DeprecatedTabPane";
38253
38336
  }
38254
- var __rest$B = function(s, e3) {
38337
+ var __rest$C = function(s, e3) {
38255
38338
  var t2 = {};
38256
38339
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
38257
38340
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -38282,7 +38365,7 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
38282
38365
  indicator,
38283
38366
  destroyInactiveTabPane,
38284
38367
  destroyOnHidden
38285
- } = props, otherProps = __rest$B(props, ["type", "className", "rootClassName", "size", "onEdit", "hideAdd", "centered", "addIcon", "removeIcon", "moreIcon", "more", "popupClassName", "children", "items", "animated", "style", "indicatorSize", "indicator", "destroyInactiveTabPane", "destroyOnHidden"]);
38368
+ } = props, otherProps = __rest$C(props, ["type", "className", "rootClassName", "size", "onEdit", "hideAdd", "centered", "addIcon", "removeIcon", "moreIcon", "more", "popupClassName", "children", "items", "animated", "style", "indicatorSize", "indicator", "destroyInactiveTabPane", "destroyOnHidden"]);
38286
38369
  const {
38287
38370
  prefixCls: customizePrefixCls
38288
38371
  } = otherProps;
@@ -38294,7 +38377,7 @@ const InternalTabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
38294
38377
  } = React.useContext(ConfigContext);
38295
38378
  const prefixCls = getPrefixCls("tabs", customizePrefixCls);
38296
38379
  const rootCls = useCSSVarCls(prefixCls);
38297
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$f(prefixCls, rootCls);
38380
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$g(prefixCls, rootCls);
38298
38381
  const tabsRef = React.useRef(null);
38299
38382
  React.useImperativeHandle(ref, () => ({
38300
38383
  nativeElement: tabsRef.current
@@ -38359,7 +38442,7 @@ Tabs$2.TabPane = TabPane;
38359
38442
  if (process.env.NODE_ENV !== "production") {
38360
38443
  Tabs$2.displayName = "Tabs";
38361
38444
  }
38362
- var __rest$A = function(s, e3) {
38445
+ var __rest$B = function(s, e3) {
38363
38446
  var t2 = {};
38364
38447
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
38365
38448
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -38372,7 +38455,7 @@ const Grid$1 = (_a) => {
38372
38455
  prefixCls,
38373
38456
  className,
38374
38457
  hoverable = true
38375
- } = _a, props = __rest$A(_a, ["prefixCls", "className", "hoverable"]);
38458
+ } = _a, props = __rest$B(_a, ["prefixCls", "className", "hoverable"]);
38376
38459
  const {
38377
38460
  getPrefixCls
38378
38461
  } = React.useContext(ConfigContext);
@@ -38690,7 +38773,7 @@ const genCardSizeStyle = (token2) => {
38690
38773
  }
38691
38774
  };
38692
38775
  };
38693
- const prepareComponentToken$b = (token2) => {
38776
+ const prepareComponentToken$c = (token2) => {
38694
38777
  var _a, _b;
38695
38778
  return {
38696
38779
  headerBg: "transparent",
@@ -38709,7 +38792,7 @@ const prepareComponentToken$b = (token2) => {
38709
38792
  headerPadding: (_b = token2.headerPadding) !== null && _b !== void 0 ? _b : token2.paddingLG
38710
38793
  };
38711
38794
  };
38712
- const useStyle$e = genStyleHooks("Card", (token2) => {
38795
+ const useStyle$f = genStyleHooks("Card", (token2) => {
38713
38796
  const cardToken = merge$1(token2, {
38714
38797
  cardShadow: token2.boxShadowCard,
38715
38798
  cardHeadPadding: token2.padding,
@@ -38722,8 +38805,8 @@ const useStyle$e = genStyleHooks("Card", (token2) => {
38722
38805
  // Size
38723
38806
  genCardSizeStyle(cardToken)
38724
38807
  ];
38725
- }, prepareComponentToken$b);
38726
- var __rest$z = function(s, e3) {
38808
+ }, prepareComponentToken$c);
38809
+ var __rest$A = function(s, e3) {
38727
38810
  var t2 = {};
38728
38811
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
38729
38812
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -38776,7 +38859,7 @@ const Card$3 = /* @__PURE__ */ React.forwardRef((props, ref) => {
38776
38859
  tabProps = {},
38777
38860
  classNames: customClassNames,
38778
38861
  styles: customStyles
38779
- } = props, others = __rest$z(props, ["prefixCls", "className", "rootClassName", "style", "extra", "headStyle", "bodyStyle", "title", "loading", "bordered", "variant", "size", "type", "cover", "actions", "tabList", "children", "activeTabKey", "defaultActiveTabKey", "tabBarExtraContent", "hoverable", "tabProps", "classNames", "styles"]);
38862
+ } = props, others = __rest$A(props, ["prefixCls", "className", "rootClassName", "style", "extra", "headStyle", "bodyStyle", "title", "loading", "bordered", "variant", "size", "type", "cover", "actions", "tabList", "children", "activeTabKey", "defaultActiveTabKey", "tabBarExtraContent", "hoverable", "tabProps", "classNames", "styles"]);
38780
38863
  const {
38781
38864
  getPrefixCls,
38782
38865
  direction,
@@ -38811,7 +38894,7 @@ const Card$3 = /* @__PURE__ */ React.forwardRef((props, ref) => {
38811
38894
  return containGrid;
38812
38895
  }, [children2]);
38813
38896
  const prefixCls = getPrefixCls("card", customizePrefixCls);
38814
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$e(prefixCls);
38897
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$f(prefixCls);
38815
38898
  const loadingBlock = /* @__PURE__ */ React.createElement(Skeleton$1, {
38816
38899
  loading: true,
38817
38900
  active: true,
@@ -38836,7 +38919,7 @@ const Card$3 = /* @__PURE__ */ React.forwardRef((props, ref) => {
38836
38919
  items: tabList.map((_a) => {
38837
38920
  var {
38838
38921
  tab: tab2
38839
- } = _a, item = __rest$z(_a, ["tab"]);
38922
+ } = _a, item = __rest$A(_a, ["tab"]);
38840
38923
  return Object.assign({
38841
38924
  label: tab2
38842
38925
  }, item);
@@ -38896,7 +38979,7 @@ const Card$3 = /* @__PURE__ */ React.forwardRef((props, ref) => {
38896
38979
  style: mergedStyle
38897
38980
  }), head, coverDom, body, actionDom));
38898
38981
  });
38899
- var __rest$y = function(s, e3) {
38982
+ var __rest$z = function(s, e3) {
38900
38983
  var t2 = {};
38901
38984
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
38902
38985
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -38911,7 +38994,7 @@ const Meta = (props) => {
38911
38994
  avatar,
38912
38995
  title,
38913
38996
  description
38914
- } = props, others = __rest$y(props, ["prefixCls", "className", "avatar", "title", "description"]);
38997
+ } = props, others = __rest$z(props, ["prefixCls", "className", "avatar", "title", "description"]);
38915
38998
  const {
38916
38999
  getPrefixCls
38917
39000
  } = React.useContext(ConfigContext);
@@ -38999,7 +39082,7 @@ function debounce(delay, callback, options) {
38999
39082
  function getEntity(keyEntities, key) {
39000
39083
  return keyEntities[key];
39001
39084
  }
39002
- var _excluded$h = ["children"];
39085
+ var _excluded$i = ["children"];
39003
39086
  function getPosition(level, index2) {
39004
39087
  return "".concat(level, "-").concat(index2);
39005
39088
  }
@@ -39047,7 +39130,7 @@ function convertTreeToData(rootNodes) {
39047
39130
  return null;
39048
39131
  }
39049
39132
  var key = treeNode.key;
39050
- var _treeNode$props = treeNode.props, children2 = _treeNode$props.children, rest = _objectWithoutProperties$1(_treeNode$props, _excluded$h);
39133
+ var _treeNode$props = treeNode.props, children2 = _treeNode$props.children, rest = _objectWithoutProperties$1(_treeNode$props, _excluded$i);
39051
39134
  var dataNode = _objectSpread2({
39052
39135
  key
39053
39136
  }, rest);
@@ -39635,11 +39718,11 @@ function getStyle$1(prefixCls, token2) {
39635
39718
  });
39636
39719
  return genCheckboxStyle(checkboxToken);
39637
39720
  }
39638
- const useStyle$d = genStyleHooks("Checkbox", (token2, {
39721
+ const useStyle$e = genStyleHooks("Checkbox", (token2, {
39639
39722
  prefixCls
39640
39723
  }) => [getStyle$1(prefixCls, token2)]);
39641
39724
  const GroupContext = /* @__PURE__ */ React__default.createContext(null);
39642
- var __rest$x = function(s, e3) {
39725
+ var __rest$y = function(s, e3) {
39643
39726
  var t2 = {};
39644
39727
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
39645
39728
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -39660,7 +39743,7 @@ const InternalCheckbox = (props, ref) => {
39660
39743
  onMouseLeave,
39661
39744
  skipGroup = false,
39662
39745
  disabled: disabled2
39663
- } = props, restProps = __rest$x(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]);
39746
+ } = props, restProps = __rest$y(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]);
39664
39747
  const {
39665
39748
  getPrefixCls,
39666
39749
  direction,
@@ -39701,7 +39784,7 @@ const InternalCheckbox = (props, ref) => {
39701
39784
  }, [indeterminate]);
39702
39785
  const prefixCls = getPrefixCls("checkbox", customizePrefixCls);
39703
39786
  const rootCls = useCSSVarCls(prefixCls);
39704
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$d(prefixCls, rootCls);
39787
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$e(prefixCls, rootCls);
39705
39788
  const checkboxProps = Object.assign({}, restProps);
39706
39789
  if (checkboxGroup && !skipGroup) {
39707
39790
  checkboxProps.onChange = (...args) => {
@@ -39751,7 +39834,7 @@ const Checkbox$2 = /* @__PURE__ */ React.forwardRef(InternalCheckbox);
39751
39834
  if (process.env.NODE_ENV !== "production") {
39752
39835
  Checkbox$2.displayName = "Checkbox";
39753
39836
  }
39754
- var __rest$w = function(s, e3) {
39837
+ var __rest$x = function(s, e3) {
39755
39838
  var t2 = {};
39756
39839
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
39757
39840
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -39769,7 +39852,7 @@ const CheckboxGroup = /* @__PURE__ */ React.forwardRef((props, ref) => {
39769
39852
  rootClassName,
39770
39853
  style: style2,
39771
39854
  onChange
39772
- } = props, restProps = __rest$w(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]);
39855
+ } = props, restProps = __rest$x(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]);
39773
39856
  const {
39774
39857
  getPrefixCls,
39775
39858
  direction
@@ -39816,7 +39899,7 @@ const CheckboxGroup = /* @__PURE__ */ React.forwardRef((props, ref) => {
39816
39899
  const prefixCls = getPrefixCls("checkbox", customizePrefixCls);
39817
39900
  const groupPrefixCls = `${prefixCls}-group`;
39818
39901
  const rootCls = useCSSVarCls(prefixCls);
39819
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$d(prefixCls, rootCls);
39902
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$e(prefixCls, rootCls);
39820
39903
  const domProps = omit(restProps, ["value", "disabled"]);
39821
39904
  const childrenNode = options.length ? memoizedOptions.map((option) => /* @__PURE__ */ React.createElement(Checkbox$2, {
39822
39905
  prefixCls,
@@ -39859,7 +39942,7 @@ if (process.env.NODE_ENV !== "production") {
39859
39942
  Checkbox$1.displayName = "Checkbox";
39860
39943
  }
39861
39944
  const RowContext = /* @__PURE__ */ createContext$1({});
39862
- var __rest$v = function(s, e3) {
39945
+ var __rest$w = function(s, e3) {
39863
39946
  var t2 = {};
39864
39947
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
39865
39948
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -39897,7 +39980,7 @@ const Col = /* @__PURE__ */ React.forwardRef((props, ref) => {
39897
39980
  children: children2,
39898
39981
  flex,
39899
39982
  style: style2
39900
- } = props, others = __rest$v(props, ["prefixCls", "span", "order", "offset", "push", "pull", "className", "children", "flex", "style"]);
39983
+ } = props, others = __rest$w(props, ["prefixCls", "span", "order", "offset", "push", "pull", "className", "children", "flex", "style"]);
39901
39984
  const prefixCls = getPrefixCls("col", customizePrefixCls);
39902
39985
  const [wrapCSSVar, hashId, cssVarCls] = useColStyle(prefixCls);
39903
39986
  const sizeStyle = {};
@@ -39978,7 +40061,7 @@ function useGutter(gutter, screens) {
39978
40061
  });
39979
40062
  return results;
39980
40063
  }
39981
- var __rest$u = function(s, e3) {
40064
+ var __rest$v = function(s, e3) {
39982
40065
  var t2 = {};
39983
40066
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
39984
40067
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -40022,7 +40105,7 @@ const Row$1 = /* @__PURE__ */ React.forwardRef((props, ref) => {
40022
40105
  children: children2,
40023
40106
  gutter = 0,
40024
40107
  wrap: wrap2
40025
- } = props, others = __rest$u(props, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]);
40108
+ } = props, others = __rest$v(props, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]);
40026
40109
  const {
40027
40110
  getPrefixCls,
40028
40111
  direction
@@ -40204,7 +40287,7 @@ function MotionThumb(props) {
40204
40287
  return /* @__PURE__ */ React.createElement("div", motionProps);
40205
40288
  });
40206
40289
  }
40207
- var _excluded$g = ["prefixCls", "direction", "vertical", "options", "disabled", "defaultValue", "value", "name", "onChange", "className", "motionName"];
40290
+ var _excluded$h = ["prefixCls", "direction", "vertical", "options", "disabled", "defaultValue", "value", "name", "onChange", "className", "motionName"];
40208
40291
  function getValidTitle(option) {
40209
40292
  if (typeof option.title !== "undefined") {
40210
40293
  return option.title;
@@ -40259,7 +40342,7 @@ var InternalSegmentedOption = function InternalSegmentedOption2(_ref) {
40259
40342
  };
40260
40343
  var Segmented$1 = /* @__PURE__ */ React.forwardRef(function(props, ref) {
40261
40344
  var _segmentedOptions$, _classNames2;
40262
- var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-segmented" : _props$prefixCls, direction = props.direction, vertical = props.vertical, _props$options = props.options, options = _props$options === void 0 ? [] : _props$options, disabled2 = props.disabled, defaultValue = props.defaultValue, value2 = props.value, name2 = props.name, onChange = props.onChange, _props$className = props.className, className = _props$className === void 0 ? "" : _props$className, _props$motionName = props.motionName, motionName = _props$motionName === void 0 ? "thumb-motion" : _props$motionName, restProps = _objectWithoutProperties$1(props, _excluded$g);
40345
+ var _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-segmented" : _props$prefixCls, direction = props.direction, vertical = props.vertical, _props$options = props.options, options = _props$options === void 0 ? [] : _props$options, disabled2 = props.disabled, defaultValue = props.defaultValue, value2 = props.value, name2 = props.name, onChange = props.onChange, _props$className = props.className, className = _props$className === void 0 ? "" : _props$className, _props$motionName = props.motionName, motionName = _props$motionName === void 0 ? "thumb-motion" : _props$motionName, restProps = _objectWithoutProperties$1(props, _excluded$h);
40263
40346
  var containerRef = React.useRef(null);
40264
40347
  var mergedRef = React.useMemo(function() {
40265
40348
  return composeRef(containerRef, ref);
@@ -40544,7 +40627,7 @@ const genSegmentedStyle = (token2) => {
40544
40627
  })
40545
40628
  };
40546
40629
  };
40547
- const prepareComponentToken$a = (token2) => {
40630
+ const prepareComponentToken$b = (token2) => {
40548
40631
  const {
40549
40632
  colorTextLabel,
40550
40633
  colorText,
@@ -40565,7 +40648,7 @@ const prepareComponentToken$a = (token2) => {
40565
40648
  itemSelectedColor: colorText
40566
40649
  };
40567
40650
  };
40568
- const useStyle$c = genStyleHooks("Segmented", (token2) => {
40651
+ const useStyle$d = genStyleHooks("Segmented", (token2) => {
40569
40652
  const {
40570
40653
  lineWidth,
40571
40654
  calc
@@ -40575,8 +40658,8 @@ const useStyle$c = genStyleHooks("Segmented", (token2) => {
40575
40658
  segmentedPaddingHorizontalSM: calc(token2.controlPaddingHorizontalSM).sub(lineWidth).equal()
40576
40659
  });
40577
40660
  return genSegmentedStyle(segmentedToken);
40578
- }, prepareComponentToken$a);
40579
- var __rest$t = function(s, e3) {
40661
+ }, prepareComponentToken$b);
40662
+ var __rest$u = function(s, e3) {
40580
40663
  var t2 = {};
40581
40664
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
40582
40665
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -40600,7 +40683,7 @@ const InternalSegmented = /* @__PURE__ */ React.forwardRef((props, ref) => {
40600
40683
  vertical,
40601
40684
  shape = "default",
40602
40685
  name: name2 = defaultName
40603
- } = props, restProps = __rest$t(props, ["prefixCls", "className", "rootClassName", "block", "options", "size", "style", "vertical", "shape", "name"]);
40686
+ } = props, restProps = __rest$u(props, ["prefixCls", "className", "rootClassName", "block", "options", "size", "style", "vertical", "shape", "name"]);
40604
40687
  const {
40605
40688
  getPrefixCls,
40606
40689
  direction,
@@ -40608,14 +40691,14 @@ const InternalSegmented = /* @__PURE__ */ React.forwardRef((props, ref) => {
40608
40691
  style: contextStyle
40609
40692
  } = useComponentConfig("segmented");
40610
40693
  const prefixCls = getPrefixCls("segmented", customizePrefixCls);
40611
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$c(prefixCls);
40694
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$d(prefixCls);
40612
40695
  const mergedSize = useSize(customSize);
40613
40696
  const extendedOptions = React.useMemo(() => options.map((option) => {
40614
40697
  if (isSegmentedLabeledOptionWithIcon(option)) {
40615
40698
  const {
40616
40699
  icon,
40617
40700
  label
40618
- } = option, restOption = __rest$t(option, ["icon", "label"]);
40701
+ } = option, restOption = __rest$u(option, ["icon", "label"]);
40619
40702
  return Object.assign(Object.assign({}, restOption), {
40620
40703
  label: /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", {
40621
40704
  className: `${prefixCls}-item-icon`
@@ -40793,7 +40876,7 @@ var BaseInput = /* @__PURE__ */ React__default.forwardRef(function(props, ref) {
40793
40876
  hidden
40794
40877
  });
40795
40878
  });
40796
- var _excluded$f = ["show"];
40879
+ var _excluded$g = ["show"];
40797
40880
  function useCount(count, showCount) {
40798
40881
  return React.useMemo(function() {
40799
40882
  var mergedConfig = {};
@@ -40801,7 +40884,7 @@ function useCount(count, showCount) {
40801
40884
  mergedConfig.show = _typeof(showCount) === "object" && showCount.formatter ? showCount.formatter : !!showCount;
40802
40885
  }
40803
40886
  mergedConfig = _objectSpread2(_objectSpread2({}, mergedConfig), count);
40804
- var _ref = mergedConfig, show = _ref.show, rest = _objectWithoutProperties$1(_ref, _excluded$f);
40887
+ var _ref = mergedConfig, show = _ref.show, rest = _objectWithoutProperties$1(_ref, _excluded$g);
40805
40888
  return _objectSpread2(_objectSpread2({}, rest), {}, {
40806
40889
  show: !!show,
40807
40890
  showFormatter: typeof show === "function" ? show : void 0,
@@ -40811,9 +40894,9 @@ function useCount(count, showCount) {
40811
40894
  });
40812
40895
  }, [count, showCount]);
40813
40896
  }
40814
- var _excluded$e = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKeyDown", "onKeyUp", "prefixCls", "disabled", "htmlSize", "className", "maxLength", "suffix", "showCount", "count", "type", "classes", "classNames", "styles", "onCompositionStart", "onCompositionEnd"];
40897
+ var _excluded$f = ["autoComplete", "onChange", "onFocus", "onBlur", "onPressEnter", "onKeyDown", "onKeyUp", "prefixCls", "disabled", "htmlSize", "className", "maxLength", "suffix", "showCount", "count", "type", "classes", "classNames", "styles", "onCompositionStart", "onCompositionEnd"];
40815
40898
  var Input$4 = /* @__PURE__ */ forwardRef(function(props, ref) {
40816
- var autoComplete = props.autoComplete, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onPressEnter = props.onPressEnter, onKeyDown2 = props.onKeyDown, onKeyUp = props.onKeyUp, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-input" : _props$prefixCls, disabled2 = props.disabled, htmlSize = props.htmlSize, className = props.className, maxLength = props.maxLength, suffix = props.suffix, showCount = props.showCount, count = props.count, _props$type = props.type, type4 = _props$type === void 0 ? "text" : _props$type, classes = props.classes, classNames$1 = props.classNames, styles = props.styles, _onCompositionStart = props.onCompositionStart, onCompositionEnd = props.onCompositionEnd, rest = _objectWithoutProperties$1(props, _excluded$e);
40899
+ var autoComplete = props.autoComplete, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onPressEnter = props.onPressEnter, onKeyDown2 = props.onKeyDown, onKeyUp = props.onKeyUp, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-input" : _props$prefixCls, disabled2 = props.disabled, htmlSize = props.htmlSize, className = props.className, maxLength = props.maxLength, suffix = props.suffix, showCount = props.showCount, count = props.count, _props$type = props.type, type4 = _props$type === void 0 ? "text" : _props$type, classes = props.classes, classNames$1 = props.classNames, styles = props.styles, _onCompositionStart = props.onCompositionStart, onCompositionEnd = props.onCompositionEnd, rest = _objectWithoutProperties$1(props, _excluded$f);
40817
40900
  var _useState = useState(false), _useState2 = _slicedToArray(_useState, 2), focused = _useState2[0], setFocused = _useState2[1];
40818
40901
  var compositionRef = useRef(false);
40819
40902
  var keyLockRef = useRef(false);
@@ -41035,7 +41118,7 @@ function useRemovePasswordTimeout(inputRef, triggerOnMount) {
41035
41118
  function hasPrefixSuffix(props) {
41036
41119
  return !!(props.prefix || props.suffix || props.allowClear || props.showCount);
41037
41120
  }
41038
- var __rest$s = function(s, e3) {
41121
+ var __rest$t = function(s, e3) {
41039
41122
  var t2 = {};
41040
41123
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
41041
41124
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -41063,7 +41146,7 @@ const Input$3 = /* @__PURE__ */ forwardRef((props, ref) => {
41063
41146
  onChange,
41064
41147
  classNames: classNames$1,
41065
41148
  variant: customVariant
41066
- } = props, rest = __rest$s(props, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "style", "styles", "rootClassName", "onChange", "classNames", "variant"]);
41149
+ } = props, rest = __rest$t(props, ["prefixCls", "bordered", "status", "size", "disabled", "onBlur", "onFocus", "suffix", "allowClear", "addonAfter", "addonBefore", "className", "style", "styles", "rootClassName", "onChange", "classNames", "variant"]);
41067
41150
  if (process.env.NODE_ENV !== "production") {
41068
41151
  const {
41069
41152
  deprecated
@@ -41084,7 +41167,7 @@ const Input$3 = /* @__PURE__ */ forwardRef((props, ref) => {
41084
41167
  const inputRef = useRef(null);
41085
41168
  const rootCls = useCSSVarCls(prefixCls);
41086
41169
  const [wrapSharedCSSVar, hashId, cssVarCls] = useSharedStyle(prefixCls, rootClassName);
41087
- const [wrapCSSVar] = useStyle$h(prefixCls, rootCls);
41170
+ const [wrapCSSVar] = useStyle$i(prefixCls, rootCls);
41088
41171
  const {
41089
41172
  compactSize,
41090
41173
  compactItemClassnames
@@ -41370,7 +41453,7 @@ const useMergedPickerSemantic = (pickerType, classNames$1, styles, popupClassNam
41370
41453
  return [filledClassNames, filledStyles];
41371
41454
  }, [mergedClassNames, mergedStyles, popupClassName, popupStyle]);
41372
41455
  };
41373
- var __rest$r = function(s, e3) {
41456
+ var __rest$s = function(s, e3) {
41374
41457
  var t2 = {};
41375
41458
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
41376
41459
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -41401,7 +41484,7 @@ const generateRangePicker = (generateConfig2) => {
41401
41484
  picker,
41402
41485
  styles,
41403
41486
  classNames: classNames$1
41404
- } = props, restProps = __rest$r(props, ["prefixCls", "getPopupContainer", "components", "className", "style", "placement", "size", "disabled", "bordered", "placeholder", "popupStyle", "popupClassName", "dropdownClassName", "status", "rootClassName", "variant", "picker", "styles", "classNames"]);
41487
+ } = props, restProps = __rest$s(props, ["prefixCls", "getPopupContainer", "components", "className", "style", "placement", "size", "disabled", "bordered", "placeholder", "popupStyle", "popupClassName", "dropdownClassName", "status", "rootClassName", "variant", "picker", "styles", "classNames"]);
41405
41488
  const pickerType = picker === TIME ? "timePicker" : "datePicker";
41406
41489
  const innerRef = React.useRef(null);
41407
41490
  const {
@@ -41418,7 +41501,7 @@ const generateRangePicker = (generateConfig2) => {
41418
41501
  const rootPrefixCls = getPrefixCls();
41419
41502
  const [variant, enableVariantCls] = useVariant("rangePicker", customVariant, bordered);
41420
41503
  const rootCls = useCSSVarCls(prefixCls);
41421
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$g(prefixCls, rootCls);
41504
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$h(prefixCls, rootCls);
41422
41505
  if (process.env.NODE_ENV !== "production") {
41423
41506
  const warning3 = devUseWarning("DatePicker.RangePicker");
41424
41507
  const deprecatedProps = {
@@ -41506,7 +41589,7 @@ const generateRangePicker = (generateConfig2) => {
41506
41589
  }
41507
41590
  return RangePicker2;
41508
41591
  };
41509
- var __rest$q = function(s, e3) {
41592
+ var __rest$r = function(s, e3) {
41510
41593
  var t2 = {};
41511
41594
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
41512
41595
  if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
@@ -41539,7 +41622,7 @@ const generatePicker$1 = (generateConfig2) => {
41539
41622
  onCalendarChange,
41540
41623
  styles,
41541
41624
  classNames: classNames$1
41542
- } = props, restProps = __rest$q(props, ["prefixCls", "getPopupContainer", "components", "style", "className", "rootClassName", "size", "bordered", "placement", "placeholder", "popupStyle", "popupClassName", "dropdownClassName", "disabled", "status", "variant", "onCalendarChange", "styles", "classNames"]);
41625
+ } = props, restProps = __rest$r(props, ["prefixCls", "getPopupContainer", "components", "style", "className", "rootClassName", "size", "bordered", "placement", "placeholder", "popupStyle", "popupClassName", "dropdownClassName", "disabled", "status", "variant", "onCalendarChange", "styles", "classNames"]);
41543
41626
  const {
41544
41627
  getPrefixCls,
41545
41628
  direction,
@@ -41555,7 +41638,7 @@ const generatePicker$1 = (generateConfig2) => {
41555
41638
  const innerRef = React.useRef(null);
41556
41639
  const [variant, enableVariantCls] = useVariant("datePicker", customVariant, bordered);
41557
41640
  const rootCls = useCSSVarCls(prefixCls);
41558
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$g(prefixCls, rootCls);
41641
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$h(prefixCls, rootCls);
41559
41642
  useImperativeHandle(ref, () => innerRef.current);
41560
41643
  const additionalProps = {
41561
41644
  showToday: true
@@ -41696,11 +41779,783 @@ const generatePicker = (generateConfig2) => {
41696
41779
  return MergedDatePicker;
41697
41780
  };
41698
41781
  const DatePicker$1 = generatePicker(generateConfig);
41699
- const PurePanel$1 = genPurePanel(DatePicker$1, "popupAlign", void 0, "picker");
41700
- DatePicker$1._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$1;
41782
+ const PurePanel$2 = genPurePanel(DatePicker$1, "popupAlign", void 0, "picker");
41783
+ DatePicker$1._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$2;
41701
41784
  const PureRangePanel = genPurePanel(DatePicker$1.RangePicker, "popupAlign", void 0, "picker");
41702
41785
  DatePicker$1._InternalRangePanelDoNotUseOrYouWillBeFired = PureRangePanel;
41703
41786
  DatePicker$1.generatePicker = generatePicker;
41787
+ var DrawerContext = /* @__PURE__ */ React.createContext(null);
41788
+ var RefContext = /* @__PURE__ */ React.createContext({});
41789
+ var _excluded$e = ["prefixCls", "className", "containerRef"];
41790
+ var DrawerPanel$1 = function DrawerPanel(props) {
41791
+ var prefixCls = props.prefixCls, className = props.className, containerRef = props.containerRef, restProps = _objectWithoutProperties$1(props, _excluded$e);
41792
+ var _React$useContext = React.useContext(RefContext), panelRef = _React$useContext.panel;
41793
+ var mergedRef = useComposeRef(panelRef, containerRef);
41794
+ return /* @__PURE__ */ React.createElement("div", _extends$1({
41795
+ className: classNames("".concat(prefixCls, "-content"), className),
41796
+ role: "dialog",
41797
+ ref: mergedRef
41798
+ }, pickAttrs(props, {
41799
+ aria: true
41800
+ }), {
41801
+ "aria-modal": "true"
41802
+ }, restProps));
41803
+ };
41804
+ if (process.env.NODE_ENV !== "production") {
41805
+ DrawerPanel$1.displayName = "DrawerPanel";
41806
+ }
41807
+ function parseWidthHeight(value2) {
41808
+ if (typeof value2 === "string" && String(Number(value2)) === value2) {
41809
+ warningOnce(false, "Invalid value type of `width` or `height` which should be number type instead.");
41810
+ return Number(value2);
41811
+ }
41812
+ return value2;
41813
+ }
41814
+ function warnCheck(props) {
41815
+ warningOnce(!("wrapperClassName" in props), "'wrapperClassName' is removed. Please use 'rootClassName' instead.");
41816
+ warningOnce(canUseDom() || !props.open, "Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.");
41817
+ }
41818
+ var sentinelStyle = {
41819
+ width: 0,
41820
+ height: 0,
41821
+ overflow: "hidden",
41822
+ outline: "none",
41823
+ position: "absolute"
41824
+ };
41825
+ function DrawerPopup(props, ref) {
41826
+ var _ref, _pushConfig$distance, _pushConfig;
41827
+ var prefixCls = props.prefixCls, open = props.open, placement = props.placement, inline2 = props.inline, push2 = props.push, forceRender = props.forceRender, autoFocus = props.autoFocus, keyboard = props.keyboard, drawerClassNames = props.classNames, rootClassName = props.rootClassName, rootStyle = props.rootStyle, zIndex = props.zIndex, className = props.className, id2 = props.id, style2 = props.style, motion2 = props.motion, width = props.width, height = props.height, children2 = props.children, mask = props.mask, maskClosable = props.maskClosable, maskMotion = props.maskMotion, maskClassName = props.maskClassName, maskStyle = props.maskStyle, afterOpenChange = props.afterOpenChange, onClose = props.onClose, onMouseEnter = props.onMouseEnter, onMouseOver = props.onMouseOver, onMouseLeave = props.onMouseLeave, onClick = props.onClick, onKeyDown2 = props.onKeyDown, onKeyUp = props.onKeyUp, styles = props.styles, drawerRender = props.drawerRender;
41828
+ var panelRef = React.useRef();
41829
+ var sentinelStartRef = React.useRef();
41830
+ var sentinelEndRef = React.useRef();
41831
+ React.useImperativeHandle(ref, function() {
41832
+ return panelRef.current;
41833
+ });
41834
+ var onPanelKeyDown = function onPanelKeyDown2(event2) {
41835
+ var keyCode = event2.keyCode, shiftKey = event2.shiftKey;
41836
+ switch (keyCode) {
41837
+ // Tab active
41838
+ case KeyCode.TAB: {
41839
+ if (keyCode === KeyCode.TAB) {
41840
+ if (!shiftKey && document.activeElement === sentinelEndRef.current) {
41841
+ var _sentinelStartRef$cur;
41842
+ (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 || _sentinelStartRef$cur.focus({
41843
+ preventScroll: true
41844
+ });
41845
+ } else if (shiftKey && document.activeElement === sentinelStartRef.current) {
41846
+ var _sentinelEndRef$curre;
41847
+ (_sentinelEndRef$curre = sentinelEndRef.current) === null || _sentinelEndRef$curre === void 0 || _sentinelEndRef$curre.focus({
41848
+ preventScroll: true
41849
+ });
41850
+ }
41851
+ }
41852
+ break;
41853
+ }
41854
+ // Close
41855
+ case KeyCode.ESC: {
41856
+ if (onClose && keyboard) {
41857
+ event2.stopPropagation();
41858
+ onClose(event2);
41859
+ }
41860
+ break;
41861
+ }
41862
+ }
41863
+ };
41864
+ React.useEffect(function() {
41865
+ if (open && autoFocus) {
41866
+ var _panelRef$current;
41867
+ (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 || _panelRef$current.focus({
41868
+ preventScroll: true
41869
+ });
41870
+ }
41871
+ }, [open]);
41872
+ var _React$useState = React.useState(false), _React$useState2 = _slicedToArray(_React$useState, 2), pushed = _React$useState2[0], setPushed = _React$useState2[1];
41873
+ var parentContext = React.useContext(DrawerContext);
41874
+ var pushConfig;
41875
+ if (typeof push2 === "boolean") {
41876
+ pushConfig = push2 ? {} : {
41877
+ distance: 0
41878
+ };
41879
+ } else {
41880
+ pushConfig = push2 || {};
41881
+ }
41882
+ var pushDistance = (_ref = (_pushConfig$distance = (_pushConfig = pushConfig) === null || _pushConfig === void 0 ? void 0 : _pushConfig.distance) !== null && _pushConfig$distance !== void 0 ? _pushConfig$distance : parentContext === null || parentContext === void 0 ? void 0 : parentContext.pushDistance) !== null && _ref !== void 0 ? _ref : 180;
41883
+ var mergedContext = React.useMemo(function() {
41884
+ return {
41885
+ pushDistance,
41886
+ push: function push3() {
41887
+ setPushed(true);
41888
+ },
41889
+ pull: function pull() {
41890
+ setPushed(false);
41891
+ }
41892
+ };
41893
+ }, [pushDistance]);
41894
+ React.useEffect(function() {
41895
+ if (open) {
41896
+ var _parentContext$push;
41897
+ parentContext === null || parentContext === void 0 || (_parentContext$push = parentContext.push) === null || _parentContext$push === void 0 || _parentContext$push.call(parentContext);
41898
+ } else {
41899
+ var _parentContext$pull;
41900
+ parentContext === null || parentContext === void 0 || (_parentContext$pull = parentContext.pull) === null || _parentContext$pull === void 0 || _parentContext$pull.call(parentContext);
41901
+ }
41902
+ }, [open]);
41903
+ React.useEffect(function() {
41904
+ return function() {
41905
+ var _parentContext$pull2;
41906
+ parentContext === null || parentContext === void 0 || (_parentContext$pull2 = parentContext.pull) === null || _parentContext$pull2 === void 0 || _parentContext$pull2.call(parentContext);
41907
+ };
41908
+ }, []);
41909
+ var maskNode = /* @__PURE__ */ React.createElement(CSSMotion, _extends$1({
41910
+ key: "mask"
41911
+ }, maskMotion, {
41912
+ visible: mask && open
41913
+ }), function(_ref2, maskRef) {
41914
+ var motionMaskClassName = _ref2.className, motionMaskStyle = _ref2.style;
41915
+ return /* @__PURE__ */ React.createElement("div", {
41916
+ className: classNames("".concat(prefixCls, "-mask"), motionMaskClassName, drawerClassNames === null || drawerClassNames === void 0 ? void 0 : drawerClassNames.mask, maskClassName),
41917
+ style: _objectSpread2(_objectSpread2(_objectSpread2({}, motionMaskStyle), maskStyle), styles === null || styles === void 0 ? void 0 : styles.mask),
41918
+ onClick: maskClosable && open ? onClose : void 0,
41919
+ ref: maskRef
41920
+ });
41921
+ });
41922
+ var motionProps = typeof motion2 === "function" ? motion2(placement) : motion2;
41923
+ var wrapperStyle = {};
41924
+ if (pushed && pushDistance) {
41925
+ switch (placement) {
41926
+ case "top":
41927
+ wrapperStyle.transform = "translateY(".concat(pushDistance, "px)");
41928
+ break;
41929
+ case "bottom":
41930
+ wrapperStyle.transform = "translateY(".concat(-pushDistance, "px)");
41931
+ break;
41932
+ case "left":
41933
+ wrapperStyle.transform = "translateX(".concat(pushDistance, "px)");
41934
+ break;
41935
+ default:
41936
+ wrapperStyle.transform = "translateX(".concat(-pushDistance, "px)");
41937
+ break;
41938
+ }
41939
+ }
41940
+ if (placement === "left" || placement === "right") {
41941
+ wrapperStyle.width = parseWidthHeight(width);
41942
+ } else {
41943
+ wrapperStyle.height = parseWidthHeight(height);
41944
+ }
41945
+ var eventHandlers = {
41946
+ onMouseEnter,
41947
+ onMouseOver,
41948
+ onMouseLeave,
41949
+ onClick,
41950
+ onKeyDown: onKeyDown2,
41951
+ onKeyUp
41952
+ };
41953
+ var panelNode = /* @__PURE__ */ React.createElement(CSSMotion, _extends$1({
41954
+ key: "panel"
41955
+ }, motionProps, {
41956
+ visible: open,
41957
+ forceRender,
41958
+ onVisibleChanged: function onVisibleChanged(nextVisible) {
41959
+ afterOpenChange === null || afterOpenChange === void 0 || afterOpenChange(nextVisible);
41960
+ },
41961
+ removeOnLeave: false,
41962
+ leavedClassName: "".concat(prefixCls, "-content-wrapper-hidden")
41963
+ }), function(_ref3, motionRef) {
41964
+ var motionClassName = _ref3.className, motionStyle = _ref3.style;
41965
+ var content2 = /* @__PURE__ */ React.createElement(DrawerPanel$1, _extends$1({
41966
+ id: id2,
41967
+ containerRef: motionRef,
41968
+ prefixCls,
41969
+ className: classNames(className, drawerClassNames === null || drawerClassNames === void 0 ? void 0 : drawerClassNames.content),
41970
+ style: _objectSpread2(_objectSpread2({}, style2), styles === null || styles === void 0 ? void 0 : styles.content)
41971
+ }, pickAttrs(props, {
41972
+ aria: true
41973
+ }), eventHandlers), children2);
41974
+ return /* @__PURE__ */ React.createElement("div", _extends$1({
41975
+ className: classNames("".concat(prefixCls, "-content-wrapper"), drawerClassNames === null || drawerClassNames === void 0 ? void 0 : drawerClassNames.wrapper, motionClassName),
41976
+ style: _objectSpread2(_objectSpread2(_objectSpread2({}, wrapperStyle), motionStyle), styles === null || styles === void 0 ? void 0 : styles.wrapper)
41977
+ }, pickAttrs(props, {
41978
+ data: true
41979
+ })), drawerRender ? drawerRender(content2) : content2);
41980
+ });
41981
+ var containerStyle = _objectSpread2({}, rootStyle);
41982
+ if (zIndex) {
41983
+ containerStyle.zIndex = zIndex;
41984
+ }
41985
+ return /* @__PURE__ */ React.createElement(DrawerContext.Provider, {
41986
+ value: mergedContext
41987
+ }, /* @__PURE__ */ React.createElement("div", {
41988
+ className: classNames(prefixCls, "".concat(prefixCls, "-").concat(placement), rootClassName, _defineProperty$1(_defineProperty$1({}, "".concat(prefixCls, "-open"), open), "".concat(prefixCls, "-inline"), inline2)),
41989
+ style: containerStyle,
41990
+ tabIndex: -1,
41991
+ ref: panelRef,
41992
+ onKeyDown: onPanelKeyDown
41993
+ }, maskNode, /* @__PURE__ */ React.createElement("div", {
41994
+ tabIndex: 0,
41995
+ ref: sentinelStartRef,
41996
+ style: sentinelStyle,
41997
+ "aria-hidden": "true",
41998
+ "data-sentinel": "start"
41999
+ }), panelNode, /* @__PURE__ */ React.createElement("div", {
42000
+ tabIndex: 0,
42001
+ ref: sentinelEndRef,
42002
+ style: sentinelStyle,
42003
+ "aria-hidden": "true",
42004
+ "data-sentinel": "end"
42005
+ })));
42006
+ }
42007
+ var RefDrawerPopup = /* @__PURE__ */ React.forwardRef(DrawerPopup);
42008
+ if (process.env.NODE_ENV !== "production") {
42009
+ RefDrawerPopup.displayName = "DrawerPopup";
42010
+ }
42011
+ var Drawer$1 = function Drawer(props) {
42012
+ var _props$open = props.open, open = _props$open === void 0 ? false : _props$open, _props$prefixCls = props.prefixCls, prefixCls = _props$prefixCls === void 0 ? "rc-drawer" : _props$prefixCls, _props$placement = props.placement, placement = _props$placement === void 0 ? "right" : _props$placement, _props$autoFocus = props.autoFocus, autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, _props$keyboard = props.keyboard, keyboard = _props$keyboard === void 0 ? true : _props$keyboard, _props$width = props.width, width = _props$width === void 0 ? 378 : _props$width, _props$mask = props.mask, mask = _props$mask === void 0 ? true : _props$mask, _props$maskClosable = props.maskClosable, maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable, getContainer2 = props.getContainer, forceRender = props.forceRender, afterOpenChange = props.afterOpenChange, destroyOnClose = props.destroyOnClose, onMouseEnter = props.onMouseEnter, onMouseOver = props.onMouseOver, onMouseLeave = props.onMouseLeave, onClick = props.onClick, onKeyDown2 = props.onKeyDown, onKeyUp = props.onKeyUp, panelRef = props.panelRef;
42013
+ var _React$useState = React.useState(false), _React$useState2 = _slicedToArray(_React$useState, 2), animatedVisible = _React$useState2[0], setAnimatedVisible = _React$useState2[1];
42014
+ if (process.env.NODE_ENV !== "production") {
42015
+ warnCheck(props);
42016
+ }
42017
+ var _React$useState3 = React.useState(false), _React$useState4 = _slicedToArray(_React$useState3, 2), mounted = _React$useState4[0], setMounted = _React$useState4[1];
42018
+ useLayoutEffect$1(function() {
42019
+ setMounted(true);
42020
+ }, []);
42021
+ var mergedOpen = mounted ? open : false;
42022
+ var popupRef = React.useRef();
42023
+ var lastActiveRef = React.useRef();
42024
+ useLayoutEffect$1(function() {
42025
+ if (mergedOpen) {
42026
+ lastActiveRef.current = document.activeElement;
42027
+ }
42028
+ }, [mergedOpen]);
42029
+ var internalAfterOpenChange = function internalAfterOpenChange2(nextVisible) {
42030
+ var _popupRef$current;
42031
+ setAnimatedVisible(nextVisible);
42032
+ afterOpenChange === null || afterOpenChange === void 0 || afterOpenChange(nextVisible);
42033
+ if (!nextVisible && lastActiveRef.current && !((_popupRef$current = popupRef.current) !== null && _popupRef$current !== void 0 && _popupRef$current.contains(lastActiveRef.current))) {
42034
+ var _lastActiveRef$curren;
42035
+ (_lastActiveRef$curren = lastActiveRef.current) === null || _lastActiveRef$curren === void 0 || _lastActiveRef$curren.focus({
42036
+ preventScroll: true
42037
+ });
42038
+ }
42039
+ };
42040
+ var refContext = React.useMemo(function() {
42041
+ return {
42042
+ panel: panelRef
42043
+ };
42044
+ }, [panelRef]);
42045
+ if (!forceRender && !animatedVisible && !mergedOpen && destroyOnClose) {
42046
+ return null;
42047
+ }
42048
+ var eventHandlers = {
42049
+ onMouseEnter,
42050
+ onMouseOver,
42051
+ onMouseLeave,
42052
+ onClick,
42053
+ onKeyDown: onKeyDown2,
42054
+ onKeyUp
42055
+ };
42056
+ var drawerPopupProps = _objectSpread2(_objectSpread2({}, props), {}, {
42057
+ open: mergedOpen,
42058
+ prefixCls,
42059
+ placement,
42060
+ autoFocus,
42061
+ keyboard,
42062
+ width,
42063
+ mask,
42064
+ maskClosable,
42065
+ inline: getContainer2 === false,
42066
+ afterOpenChange: internalAfterOpenChange,
42067
+ ref: popupRef
42068
+ }, eventHandlers);
42069
+ return /* @__PURE__ */ React.createElement(RefContext.Provider, {
42070
+ value: refContext
42071
+ }, /* @__PURE__ */ React.createElement(Portal, {
42072
+ open: mergedOpen || forceRender || animatedVisible,
42073
+ autoDestroy: false,
42074
+ getContainer: getContainer2,
42075
+ autoLock: mask && (mergedOpen || animatedVisible)
42076
+ }, /* @__PURE__ */ React.createElement(RefDrawerPopup, drawerPopupProps)));
42077
+ };
42078
+ if (process.env.NODE_ENV !== "production") {
42079
+ Drawer$1.displayName = "Drawer";
42080
+ }
42081
+ const DrawerPanel2 = (props) => {
42082
+ var _a, _b;
42083
+ const {
42084
+ prefixCls,
42085
+ title,
42086
+ footer: footer2,
42087
+ extra,
42088
+ loading,
42089
+ onClose,
42090
+ headerStyle,
42091
+ bodyStyle,
42092
+ footerStyle,
42093
+ children: children2,
42094
+ classNames: drawerClassNames,
42095
+ styles: drawerStyles
42096
+ } = props;
42097
+ const drawerContext = useComponentConfig("drawer");
42098
+ const customCloseIconRender = React.useCallback((icon) => /* @__PURE__ */ React.createElement("button", {
42099
+ type: "button",
42100
+ onClick: onClose,
42101
+ className: `${prefixCls}-close`
42102
+ }, icon), [onClose]);
42103
+ const [mergedClosable, mergedCloseIcon] = useClosable(pickClosable(props), pickClosable(drawerContext), {
42104
+ closable: true,
42105
+ closeIconRender: customCloseIconRender
42106
+ });
42107
+ const headerNode = React.useMemo(() => {
42108
+ var _a2, _b2;
42109
+ if (!title && !mergedClosable) {
42110
+ return null;
42111
+ }
42112
+ return /* @__PURE__ */ React.createElement("div", {
42113
+ style: Object.assign(Object.assign(Object.assign({}, (_a2 = drawerContext.styles) === null || _a2 === void 0 ? void 0 : _a2.header), headerStyle), drawerStyles === null || drawerStyles === void 0 ? void 0 : drawerStyles.header),
42114
+ className: classNames(`${prefixCls}-header`, {
42115
+ [`${prefixCls}-header-close-only`]: mergedClosable && !title && !extra
42116
+ }, (_b2 = drawerContext.classNames) === null || _b2 === void 0 ? void 0 : _b2.header, drawerClassNames === null || drawerClassNames === void 0 ? void 0 : drawerClassNames.header)
42117
+ }, /* @__PURE__ */ React.createElement("div", {
42118
+ className: `${prefixCls}-header-title`
42119
+ }, mergedCloseIcon, title && /* @__PURE__ */ React.createElement("div", {
42120
+ className: `${prefixCls}-title`
42121
+ }, title)), extra && /* @__PURE__ */ React.createElement("div", {
42122
+ className: `${prefixCls}-extra`
42123
+ }, extra));
42124
+ }, [mergedClosable, mergedCloseIcon, extra, headerStyle, prefixCls, title]);
42125
+ const footerNode = React.useMemo(() => {
42126
+ var _a2, _b2;
42127
+ if (!footer2) {
42128
+ return null;
42129
+ }
42130
+ const footerClassName = `${prefixCls}-footer`;
42131
+ return /* @__PURE__ */ React.createElement("div", {
42132
+ className: classNames(footerClassName, (_a2 = drawerContext.classNames) === null || _a2 === void 0 ? void 0 : _a2.footer, drawerClassNames === null || drawerClassNames === void 0 ? void 0 : drawerClassNames.footer),
42133
+ style: Object.assign(Object.assign(Object.assign({}, (_b2 = drawerContext.styles) === null || _b2 === void 0 ? void 0 : _b2.footer), footerStyle), drawerStyles === null || drawerStyles === void 0 ? void 0 : drawerStyles.footer)
42134
+ }, footer2);
42135
+ }, [footer2, footerStyle, prefixCls]);
42136
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, headerNode, /* @__PURE__ */ React.createElement("div", {
42137
+ className: classNames(`${prefixCls}-body`, drawerClassNames === null || drawerClassNames === void 0 ? void 0 : drawerClassNames.body, (_a = drawerContext.classNames) === null || _a === void 0 ? void 0 : _a.body),
42138
+ style: Object.assign(Object.assign(Object.assign({}, (_b = drawerContext.styles) === null || _b === void 0 ? void 0 : _b.body), bodyStyle), drawerStyles === null || drawerStyles === void 0 ? void 0 : drawerStyles.body)
42139
+ }, loading ? /* @__PURE__ */ React.createElement(Skeleton$1, {
42140
+ active: true,
42141
+ title: false,
42142
+ paragraph: {
42143
+ rows: 5
42144
+ },
42145
+ className: `${prefixCls}-body-skeleton`
42146
+ }) : children2), footerNode);
42147
+ };
42148
+ const getMoveTranslate = (direction) => {
42149
+ const value2 = "100%";
42150
+ return {
42151
+ left: `translateX(-${value2})`,
42152
+ right: `translateX(${value2})`,
42153
+ top: `translateY(-${value2})`,
42154
+ bottom: `translateY(${value2})`
42155
+ }[direction];
42156
+ };
42157
+ const getEnterLeaveStyle = (startStyle, endStyle) => ({
42158
+ "&-enter, &-appear": Object.assign(Object.assign({}, startStyle), {
42159
+ "&-active": endStyle
42160
+ }),
42161
+ "&-leave": Object.assign(Object.assign({}, endStyle), {
42162
+ "&-active": startStyle
42163
+ })
42164
+ });
42165
+ const getFadeStyle = (from2, duration) => Object.assign({
42166
+ "&-enter, &-appear, &-leave": {
42167
+ "&-start": {
42168
+ transition: "none"
42169
+ },
42170
+ "&-active": {
42171
+ transition: `all ${duration}`
42172
+ }
42173
+ }
42174
+ }, getEnterLeaveStyle({
42175
+ opacity: from2
42176
+ }, {
42177
+ opacity: 1
42178
+ }));
42179
+ const getPanelMotionStyles = (direction, duration) => [getFadeStyle(0.7, duration), getEnterLeaveStyle({
42180
+ transform: getMoveTranslate(direction)
42181
+ }, {
42182
+ transform: "none"
42183
+ })];
42184
+ const genMotionStyle = (token2) => {
42185
+ const {
42186
+ componentCls,
42187
+ motionDurationSlow
42188
+ } = token2;
42189
+ return {
42190
+ [componentCls]: {
42191
+ // ======================== Mask ========================
42192
+ [`${componentCls}-mask-motion`]: getFadeStyle(0, motionDurationSlow),
42193
+ // ======================= Panel ========================
42194
+ [`${componentCls}-panel-motion`]: ["left", "right", "top", "bottom"].reduce((obj, direction) => Object.assign(Object.assign({}, obj), {
42195
+ [`&-${direction}`]: getPanelMotionStyles(direction, motionDurationSlow)
42196
+ }), {})
42197
+ }
42198
+ };
42199
+ };
42200
+ const genDrawerStyle = (token2) => {
42201
+ const {
42202
+ borderRadiusSM,
42203
+ componentCls,
42204
+ zIndexPopup,
42205
+ colorBgMask,
42206
+ colorBgElevated,
42207
+ motionDurationSlow,
42208
+ motionDurationMid,
42209
+ paddingXS,
42210
+ padding,
42211
+ paddingLG,
42212
+ fontSizeLG,
42213
+ lineHeightLG,
42214
+ lineWidth,
42215
+ lineType,
42216
+ colorSplit,
42217
+ marginXS,
42218
+ colorIcon,
42219
+ colorIconHover,
42220
+ colorBgTextHover,
42221
+ colorBgTextActive,
42222
+ colorText,
42223
+ fontWeightStrong,
42224
+ footerPaddingBlock,
42225
+ footerPaddingInline,
42226
+ calc
42227
+ } = token2;
42228
+ const wrapperCls = `${componentCls}-content-wrapper`;
42229
+ return {
42230
+ [componentCls]: {
42231
+ position: "fixed",
42232
+ inset: 0,
42233
+ zIndex: zIndexPopup,
42234
+ pointerEvents: "none",
42235
+ color: colorText,
42236
+ "&-pure": {
42237
+ position: "relative",
42238
+ background: colorBgElevated,
42239
+ display: "flex",
42240
+ flexDirection: "column",
42241
+ [`&${componentCls}-left`]: {
42242
+ boxShadow: token2.boxShadowDrawerLeft
42243
+ },
42244
+ [`&${componentCls}-right`]: {
42245
+ boxShadow: token2.boxShadowDrawerRight
42246
+ },
42247
+ [`&${componentCls}-top`]: {
42248
+ boxShadow: token2.boxShadowDrawerUp
42249
+ },
42250
+ [`&${componentCls}-bottom`]: {
42251
+ boxShadow: token2.boxShadowDrawerDown
42252
+ }
42253
+ },
42254
+ "&-inline": {
42255
+ position: "absolute"
42256
+ },
42257
+ // ====================== Mask ======================
42258
+ [`${componentCls}-mask`]: {
42259
+ position: "absolute",
42260
+ inset: 0,
42261
+ zIndex: zIndexPopup,
42262
+ background: colorBgMask,
42263
+ pointerEvents: "auto"
42264
+ },
42265
+ // ==================== Content =====================
42266
+ [wrapperCls]: {
42267
+ position: "absolute",
42268
+ zIndex: zIndexPopup,
42269
+ maxWidth: "100vw",
42270
+ transition: `all ${motionDurationSlow}`,
42271
+ "&-hidden": {
42272
+ display: "none"
42273
+ }
42274
+ },
42275
+ // Placement
42276
+ [`&-left > ${wrapperCls}`]: {
42277
+ top: 0,
42278
+ bottom: 0,
42279
+ left: {
42280
+ _skip_check_: true,
42281
+ value: 0
42282
+ },
42283
+ boxShadow: token2.boxShadowDrawerLeft
42284
+ },
42285
+ [`&-right > ${wrapperCls}`]: {
42286
+ top: 0,
42287
+ right: {
42288
+ _skip_check_: true,
42289
+ value: 0
42290
+ },
42291
+ bottom: 0,
42292
+ boxShadow: token2.boxShadowDrawerRight
42293
+ },
42294
+ [`&-top > ${wrapperCls}`]: {
42295
+ top: 0,
42296
+ insetInline: 0,
42297
+ boxShadow: token2.boxShadowDrawerUp
42298
+ },
42299
+ [`&-bottom > ${wrapperCls}`]: {
42300
+ bottom: 0,
42301
+ insetInline: 0,
42302
+ boxShadow: token2.boxShadowDrawerDown
42303
+ },
42304
+ [`${componentCls}-content`]: {
42305
+ display: "flex",
42306
+ flexDirection: "column",
42307
+ width: "100%",
42308
+ height: "100%",
42309
+ overflow: "auto",
42310
+ background: colorBgElevated,
42311
+ pointerEvents: "auto"
42312
+ },
42313
+ // Header
42314
+ [`${componentCls}-header`]: {
42315
+ display: "flex",
42316
+ flex: 0,
42317
+ alignItems: "center",
42318
+ padding: `${unit$2(padding)} ${unit$2(paddingLG)}`,
42319
+ fontSize: fontSizeLG,
42320
+ lineHeight: lineHeightLG,
42321
+ borderBottom: `${unit$2(lineWidth)} ${lineType} ${colorSplit}`,
42322
+ "&-title": {
42323
+ display: "flex",
42324
+ flex: 1,
42325
+ alignItems: "center",
42326
+ minWidth: 0,
42327
+ minHeight: 0
42328
+ }
42329
+ },
42330
+ [`${componentCls}-extra`]: {
42331
+ flex: "none"
42332
+ },
42333
+ [`${componentCls}-close`]: Object.assign({
42334
+ display: "inline-flex",
42335
+ width: calc(fontSizeLG).add(paddingXS).equal(),
42336
+ height: calc(fontSizeLG).add(paddingXS).equal(),
42337
+ borderRadius: borderRadiusSM,
42338
+ justifyContent: "center",
42339
+ alignItems: "center",
42340
+ marginInlineEnd: marginXS,
42341
+ color: colorIcon,
42342
+ fontWeight: fontWeightStrong,
42343
+ fontSize: fontSizeLG,
42344
+ fontStyle: "normal",
42345
+ lineHeight: 1,
42346
+ textAlign: "center",
42347
+ textTransform: "none",
42348
+ textDecoration: "none",
42349
+ background: "transparent",
42350
+ border: 0,
42351
+ cursor: "pointer",
42352
+ transition: `all ${motionDurationMid}`,
42353
+ textRendering: "auto",
42354
+ "&:hover": {
42355
+ color: colorIconHover,
42356
+ backgroundColor: colorBgTextHover,
42357
+ textDecoration: "none"
42358
+ },
42359
+ "&:active": {
42360
+ backgroundColor: colorBgTextActive
42361
+ }
42362
+ }, genFocusStyle(token2)),
42363
+ [`${componentCls}-title`]: {
42364
+ flex: 1,
42365
+ margin: 0,
42366
+ fontWeight: token2.fontWeightStrong,
42367
+ fontSize: fontSizeLG,
42368
+ lineHeight: lineHeightLG
42369
+ },
42370
+ // Body
42371
+ [`${componentCls}-body`]: {
42372
+ flex: 1,
42373
+ minWidth: 0,
42374
+ minHeight: 0,
42375
+ padding: paddingLG,
42376
+ overflow: "auto",
42377
+ [`${componentCls}-body-skeleton`]: {
42378
+ width: "100%",
42379
+ height: "100%",
42380
+ display: "flex",
42381
+ justifyContent: "center"
42382
+ }
42383
+ },
42384
+ // Footer
42385
+ [`${componentCls}-footer`]: {
42386
+ flexShrink: 0,
42387
+ padding: `${unit$2(footerPaddingBlock)} ${unit$2(footerPaddingInline)}`,
42388
+ borderTop: `${unit$2(lineWidth)} ${lineType} ${colorSplit}`
42389
+ },
42390
+ // ====================== RTL =======================
42391
+ "&-rtl": {
42392
+ direction: "rtl"
42393
+ }
42394
+ }
42395
+ };
42396
+ };
42397
+ const prepareComponentToken$a = (token2) => ({
42398
+ zIndexPopup: token2.zIndexPopupBase,
42399
+ footerPaddingBlock: token2.paddingXS,
42400
+ footerPaddingInline: token2.padding
42401
+ });
42402
+ const useStyle$c = genStyleHooks("Drawer", (token2) => {
42403
+ const drawerToken = merge$1(token2, {});
42404
+ return [genDrawerStyle(drawerToken), genMotionStyle(drawerToken)];
42405
+ }, prepareComponentToken$a);
42406
+ var __rest$q = function(s, e3) {
42407
+ var t2 = {};
42408
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e3.indexOf(p) < 0) t2[p] = s[p];
42409
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42410
+ if (e3.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t2[p[i]] = s[p[i]];
42411
+ }
42412
+ return t2;
42413
+ };
42414
+ const defaultPushState = {
42415
+ distance: 180
42416
+ };
42417
+ const Drawer2 = (props) => {
42418
+ var _a;
42419
+ const {
42420
+ rootClassName,
42421
+ width,
42422
+ height,
42423
+ size = "default",
42424
+ mask = true,
42425
+ push: push2 = defaultPushState,
42426
+ open,
42427
+ afterOpenChange,
42428
+ onClose,
42429
+ prefixCls: customizePrefixCls,
42430
+ getContainer: customizeGetContainer,
42431
+ panelRef = null,
42432
+ style: style2,
42433
+ className,
42434
+ // Deprecated
42435
+ visible,
42436
+ afterVisibleChange,
42437
+ maskStyle,
42438
+ drawerStyle,
42439
+ contentWrapperStyle,
42440
+ destroyOnClose,
42441
+ destroyOnHidden
42442
+ } = props, rest = __rest$q(props, ["rootClassName", "width", "height", "size", "mask", "push", "open", "afterOpenChange", "onClose", "prefixCls", "getContainer", "panelRef", "style", "className", "visible", "afterVisibleChange", "maskStyle", "drawerStyle", "contentWrapperStyle", "destroyOnClose", "destroyOnHidden"]);
42443
+ const {
42444
+ getPopupContainer,
42445
+ getPrefixCls,
42446
+ direction,
42447
+ className: contextClassName,
42448
+ style: contextStyle,
42449
+ classNames: contextClassNames,
42450
+ styles: contextStyles
42451
+ } = useComponentConfig("drawer");
42452
+ const prefixCls = getPrefixCls("drawer", customizePrefixCls);
42453
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$c(prefixCls);
42454
+ const getContainer2 = (
42455
+ // 有可能为 false,所以不能直接判断
42456
+ customizeGetContainer === void 0 && getPopupContainer ? () => getPopupContainer(document.body) : customizeGetContainer
42457
+ );
42458
+ const drawerClassName = classNames({
42459
+ "no-mask": !mask,
42460
+ [`${prefixCls}-rtl`]: direction === "rtl"
42461
+ }, rootClassName, hashId, cssVarCls);
42462
+ if (process.env.NODE_ENV !== "production") {
42463
+ const warning3 = devUseWarning("Drawer");
42464
+ [["visible", "open"], ["afterVisibleChange", "afterOpenChange"], ["headerStyle", "styles.header"], ["bodyStyle", "styles.body"], ["footerStyle", "styles.footer"], ["contentWrapperStyle", "styles.wrapper"], ["maskStyle", "styles.mask"], ["drawerStyle", "styles.content"], ["destroyInactivePanel", "destroyOnHidden"]].forEach(([deprecatedName, newName]) => {
42465
+ warning3.deprecated(!(deprecatedName in props), deprecatedName, newName);
42466
+ });
42467
+ if (getContainer2 !== void 0 && ((_a = props.style) === null || _a === void 0 ? void 0 : _a.position) === "absolute") {
42468
+ process.env.NODE_ENV !== "production" ? warning3(false, "breaking", "`style` is replaced by `rootStyle` in v5. Please check that `position: absolute` is necessary.") : void 0;
42469
+ }
42470
+ }
42471
+ const mergedWidth = React.useMemo(() => width !== null && width !== void 0 ? width : size === "large" ? 736 : 378, [width, size]);
42472
+ const mergedHeight = React.useMemo(() => height !== null && height !== void 0 ? height : size === "large" ? 736 : 378, [height, size]);
42473
+ const maskMotion = {
42474
+ motionName: getTransitionName(prefixCls, "mask-motion"),
42475
+ motionAppear: true,
42476
+ motionEnter: true,
42477
+ motionLeave: true,
42478
+ motionDeadline: 500
42479
+ };
42480
+ const panelMotion = (motionPlacement) => ({
42481
+ motionName: getTransitionName(prefixCls, `panel-motion-${motionPlacement}`),
42482
+ motionAppear: true,
42483
+ motionEnter: true,
42484
+ motionLeave: true,
42485
+ motionDeadline: 500
42486
+ });
42487
+ const innerPanelRef = usePanelRef();
42488
+ const mergedPanelRef = composeRef(panelRef, innerPanelRef);
42489
+ const [zIndex, contextZIndex] = useZIndex("Drawer", rest.zIndex);
42490
+ const {
42491
+ classNames: propClassNames = {},
42492
+ styles: propStyles = {}
42493
+ } = rest;
42494
+ return wrapCSSVar(/* @__PURE__ */ React.createElement(ContextIsolator, {
42495
+ form: true,
42496
+ space: true
42497
+ }, /* @__PURE__ */ React.createElement(zIndexContext.Provider, {
42498
+ value: contextZIndex
42499
+ }, /* @__PURE__ */ React.createElement(Drawer$1, Object.assign({
42500
+ prefixCls,
42501
+ onClose,
42502
+ maskMotion,
42503
+ motion: panelMotion
42504
+ }, rest, {
42505
+ classNames: {
42506
+ mask: classNames(propClassNames.mask, contextClassNames.mask),
42507
+ content: classNames(propClassNames.content, contextClassNames.content),
42508
+ wrapper: classNames(propClassNames.wrapper, contextClassNames.wrapper)
42509
+ },
42510
+ styles: {
42511
+ mask: Object.assign(Object.assign(Object.assign({}, propStyles.mask), maskStyle), contextStyles.mask),
42512
+ content: Object.assign(Object.assign(Object.assign({}, propStyles.content), drawerStyle), contextStyles.content),
42513
+ wrapper: Object.assign(Object.assign(Object.assign({}, propStyles.wrapper), contentWrapperStyle), contextStyles.wrapper)
42514
+ },
42515
+ open: open !== null && open !== void 0 ? open : visible,
42516
+ mask,
42517
+ push: push2,
42518
+ width: mergedWidth,
42519
+ height: mergedHeight,
42520
+ style: Object.assign(Object.assign({}, contextStyle), style2),
42521
+ className: classNames(contextClassName, className),
42522
+ rootClassName: drawerClassName,
42523
+ getContainer: getContainer2,
42524
+ afterOpenChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange,
42525
+ panelRef: mergedPanelRef,
42526
+ zIndex,
42527
+ // TODO: In the future, destroyOnClose in rc-drawer needs to be upgrade to destroyOnHidden
42528
+ destroyOnClose: destroyOnHidden !== null && destroyOnHidden !== void 0 ? destroyOnHidden : destroyOnClose
42529
+ }), /* @__PURE__ */ React.createElement(DrawerPanel2, Object.assign({
42530
+ prefixCls
42531
+ }, rest, {
42532
+ onClose
42533
+ }))))));
42534
+ };
42535
+ const PurePanel$1 = (props) => {
42536
+ const {
42537
+ prefixCls: customizePrefixCls,
42538
+ style: style2,
42539
+ className,
42540
+ placement = "right"
42541
+ } = props, restProps = __rest$q(props, ["prefixCls", "style", "className", "placement"]);
42542
+ const {
42543
+ getPrefixCls
42544
+ } = React.useContext(ConfigContext);
42545
+ const prefixCls = getPrefixCls("drawer", customizePrefixCls);
42546
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$c(prefixCls);
42547
+ const cls = classNames(prefixCls, `${prefixCls}-pure`, `${prefixCls}-${placement}`, hashId, cssVarCls, className);
42548
+ return wrapCSSVar(/* @__PURE__ */ React.createElement("div", {
42549
+ className: cls,
42550
+ style: style2
42551
+ }, /* @__PURE__ */ React.createElement(DrawerPanel2, Object.assign({
42552
+ prefixCls
42553
+ }, restProps))));
42554
+ };
42555
+ Drawer2._InternalPanelDoNotUseOrYouWillBeFired = PurePanel$1;
42556
+ if (process.env.NODE_ENV !== "production") {
42557
+ Drawer2.displayName = "Drawer";
42558
+ }
41704
42559
  function isPresetSize(size) {
41705
42560
  return ["small", "middle", "large"].includes(size);
41706
42561
  }
@@ -41777,7 +42632,7 @@ const InternalSpace = /* @__PURE__ */ React.forwardRef((props, ref) => {
41777
42632
  });
41778
42633
  const mergedAlign = align === void 0 && direction === "horizontal" ? "center" : align;
41779
42634
  const prefixCls = getPrefixCls("space", customizePrefixCls);
41780
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$t(prefixCls);
42635
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$u(prefixCls);
41781
42636
  const cls = classNames(prefixCls, contextClassName, hashId, `${prefixCls}-${direction}`, {
41782
42637
  [`${prefixCls}-rtl`]: directionConfig === "rtl",
41783
42638
  [`${prefixCls}-align-${mergedAlign}`]: mergedAlign,
@@ -43541,7 +44396,7 @@ const Group = (props) => {
43541
44396
  } = props;
43542
44397
  const prefixCls = getPrefixCls("input-group", customizePrefixCls);
43543
44398
  const inputPrefixCls = getPrefixCls("input");
43544
- const [wrapCSSVar, hashId, cssVarCls] = useStyle$h(inputPrefixCls);
44399
+ const [wrapCSSVar, hashId, cssVarCls] = useStyle$i(inputPrefixCls);
43545
44400
  const cls = classNames(prefixCls, cssVarCls, {
43546
44401
  [`${prefixCls}-lg`]: props.size === "large",
43547
44402
  [`${prefixCls}-sm`]: props.size === "small",
@@ -44885,7 +45740,7 @@ var defaultItemRender = function defaultItemRender2(page, type4, element2) {
44885
45740
  };
44886
45741
  function noop$2() {
44887
45742
  }
44888
- function isInteger(v) {
45743
+ function isInteger$1(v) {
44889
45744
  var value2 = Number(v);
44890
45745
  return typeof value2 === "number" && !Number.isNaN(value2) && isFinite(value2) && Math.floor(value2) === value2;
44891
45746
  }
@@ -44945,7 +45800,7 @@ var Pagination$1 = function Pagination(props) {
44945
45800
  return value2;
44946
45801
  }
44947
45802
  function isValid2(page) {
44948
- return isInteger(page) && page !== current && isInteger(total) && total > 0;
45803
+ return isInteger$1(page) && page !== current && isInteger$1(total) && total > 0;
44949
45804
  }
44950
45805
  var shouldDisplayQuickJumper = total > pageSize ? showQuickJumper : false;
44951
45806
  function handleKeyDown(event2) {
@@ -46678,7 +47533,7 @@ const PurePanel = (props) => {
46678
47533
  } = React.useContext(ConfigContext);
46679
47534
  const prefixCls = getPrefixCls("popconfirm", customizePrefixCls);
46680
47535
  const [wrapCSSVar] = useStyle$6(prefixCls);
46681
- return wrapCSSVar(/* @__PURE__ */ React.createElement(PurePanel$3, {
47536
+ return wrapCSSVar(/* @__PURE__ */ React.createElement(PurePanel$4, {
46682
47537
  placement,
46683
47538
  className: classNames(prefixCls, className),
46684
47539
  style: style2,
@@ -59314,7 +60169,6 @@ const getGenesisTypographyClass = ({ colors: colors2, typography: typography2 },
59314
60169
  width: ${$isFullWidth ? "100%" : "auto"};
59315
60170
  font-weight: ${fontWeight} !important;
59316
60171
  font-size: ${fontSize} !important;
59317
- line-height: 1;
59318
60172
  -webkit-font-smoothing: antialiased;
59319
60173
 
59320
60174
  &:disabled {
@@ -60376,6 +61230,7 @@ const Typography = ({
60376
61230
  style: style2,
60377
61231
  fontSize,
60378
61232
  fontWeight,
61233
+ lineHeight,
60379
61234
  isDisabled,
60380
61235
  ...rest
60381
61236
  }) => {
@@ -60397,7 +61252,7 @@ const Typography = ({
60397
61252
  fontWeight,
60398
61253
  disabled: isDisabled,
60399
61254
  $letterSpacing: theme.typography[breakpoint][variant].letterSpacing,
60400
- $lineHeight: theme.typography[breakpoint][variant].lineHeight,
61255
+ $lineHeight: lineHeight ?? theme.typography[breakpoint][variant].lineHeight,
60401
61256
  ...rest,
60402
61257
  children: children2
60403
61258
  }
@@ -60418,7 +61273,7 @@ const Typography = ({
60418
61273
  fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
60419
61274
  fontWeight,
60420
61275
  $letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
60421
- $lineHeight: theme.typography[breakpoint][validVariant].lineHeight,
61276
+ $lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
60422
61277
  ...rest,
60423
61278
  children: children2
60424
61279
  }
@@ -60437,7 +61292,7 @@ const Typography = ({
60437
61292
  fontSize: fontSize ?? `${theme.typography[breakpoint][variant].fontSize}px`,
60438
61293
  fontWeight,
60439
61294
  $letterSpacing: theme.typography[breakpoint][validVariant].letterSpacing,
60440
- $lineHeight: theme.typography[breakpoint][validVariant].lineHeight,
61295
+ $lineHeight: lineHeight ?? theme.typography[breakpoint][validVariant].lineHeight,
60441
61296
  ...rest,
60442
61297
  children: children2
60443
61298
  }
@@ -60722,6 +61577,21 @@ function IconBase2(props) {
60722
61577
  function FaCircleCheck(props) {
60723
61578
  return GenIcon({ "attr": { "viewBox": "0 0 512 512" }, "child": [{ "tag": "path", "attr": { "d": "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, "child": [] }] })(props);
60724
61579
  }
61580
+ function HiArrowCircleRight(props) {
61581
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
61582
+ }
61583
+ function HiArrowLeft(props) {
61584
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
61585
+ }
61586
+ function HiCheckCircle(props) {
61587
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", "clipRule": "evenodd" }, "child": [] }] })(props);
61588
+ }
61589
+ function HiChevronDoubleLeft(props) {
61590
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M15.707 15.707a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 010 1.414zm-6 0a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414l5-5a1 1 0 011.414 1.414L5.414 10l4.293 4.293a1 1 0 010 1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
61591
+ }
61592
+ function HiChevronDown(props) {
61593
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
61594
+ }
60725
61595
  function HiClock(props) {
60726
61596
  return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z", "clipRule": "evenodd" }, "child": [] }] })(props);
60727
61597
  }
@@ -60740,6 +61610,9 @@ function HiSearch(props) {
60740
61610
  function HiXCircle(props) {
60741
61611
  return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z", "clipRule": "evenodd" }, "child": [] }] })(props);
60742
61612
  }
61613
+ function HiX(props) {
61614
+ return GenIcon({ "attr": { "viewBox": "0 0 20 20", "fill": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "fillRule": "evenodd", "d": "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z", "clipRule": "evenodd" }, "child": [] }] })(props);
61615
+ }
60743
61616
  function HiOutlineAdjustments(props) {
60744
61617
  return GenIcon({ "attr": { "fill": "none", "viewBox": "0 0 24 24", "strokeWidth": "2", "stroke": "currentColor", "aria-hidden": "true" }, "child": [{ "tag": "path", "attr": { "strokeLinecap": "round", "strokeLinejoin": "round", "d": "M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4" }, "child": [] }] })(props);
60745
61618
  }
@@ -61381,7 +62254,7 @@ function createPacketDecoderStream(maxPayload, binaryType) {
61381
62254
  }
61382
62255
  });
61383
62256
  }
61384
- const protocol$1 = 4;
62257
+ const protocol = 4;
61385
62258
  function Emitter(obj) {
61386
62259
  if (obj) return mixin(obj);
61387
62260
  }
@@ -62359,7 +63232,7 @@ class SocketWithoutUpgrade extends Emitter {
62359
63232
  */
62360
63233
  createTransport(name2) {
62361
63234
  const query = Object.assign({}, this.opts.query);
62362
- query.EIO = protocol$1;
63235
+ query.EIO = protocol;
62363
63236
  query.transport = name2;
62364
63237
  if (this.id)
62365
63238
  query.sid = this.id;
@@ -62688,7 +63561,7 @@ class SocketWithoutUpgrade extends Emitter {
62688
63561
  }
62689
63562
  }
62690
63563
  }
62691
- SocketWithoutUpgrade.protocol = protocol$1;
63564
+ SocketWithoutUpgrade.protocol = protocol;
62692
63565
  class SocketWithUpgrade extends SocketWithoutUpgrade {
62693
63566
  constructor() {
62694
63567
  super(...arguments);
@@ -62953,14 +63826,18 @@ function _reconstructPacket(data, buffers) {
62953
63826
  }
62954
63827
  const RESERVED_EVENTS$1 = [
62955
63828
  "connect",
63829
+ // used on the client side
62956
63830
  "connect_error",
63831
+ // used on the client side
62957
63832
  "disconnect",
63833
+ // used on both sides
62958
63834
  "disconnecting",
63835
+ // used on the server side
62959
63836
  "newListener",
63837
+ // used by the Node.js EventEmitter
62960
63838
  "removeListener"
62961
63839
  // used by the Node.js EventEmitter
62962
63840
  ];
62963
- const protocol = 5;
62964
63841
  var PacketType;
62965
63842
  (function(PacketType2) {
62966
63843
  PacketType2[PacketType2["CONNECT"] = 0] = "CONNECT";
@@ -63031,18 +63908,16 @@ class Encoder {
63031
63908
  return buffers;
63032
63909
  }
63033
63910
  }
63034
- function isObject(value2) {
63035
- return Object.prototype.toString.call(value2) === "[object Object]";
63036
- }
63037
63911
  class Decoder extends Emitter {
63038
63912
  /**
63039
63913
  * Decoder constructor
63040
- *
63041
- * @param {function} reviver - custom reviver to pass down to JSON.stringify
63042
63914
  */
63043
- constructor(reviver) {
63915
+ constructor(opts) {
63044
63916
  super();
63045
- this.reviver = reviver;
63917
+ this.opts = Object.assign({
63918
+ reviver: void 0,
63919
+ maxAttachments: 10
63920
+ }, typeof opts === "function" ? { reviver: opts } : opts);
63046
63921
  }
63047
63922
  /**
63048
63923
  * Decodes an encoded packet string into packet JSON.
@@ -63102,7 +63977,13 @@ class Decoder extends Emitter {
63102
63977
  if (buf != Number(buf) || str.charAt(i) !== "-") {
63103
63978
  throw new Error("Illegal attachments");
63104
63979
  }
63105
- p.attachments = Number(buf);
63980
+ const n2 = Number(buf);
63981
+ if (!isInteger(n2) || n2 < 0) {
63982
+ throw new Error("Illegal attachments");
63983
+ } else if (n2 > this.opts.maxAttachments) {
63984
+ throw new Error("too many attachments");
63985
+ }
63986
+ p.attachments = n2;
63106
63987
  }
63107
63988
  if ("/" === str.charAt(i + 1)) {
63108
63989
  const start2 = i + 1;
@@ -63143,7 +64024,7 @@ class Decoder extends Emitter {
63143
64024
  }
63144
64025
  tryParse(str) {
63145
64026
  try {
63146
- return JSON.parse(str, this.reviver);
64027
+ return JSON.parse(str, this.opts.reviver);
63147
64028
  } catch (e3) {
63148
64029
  return false;
63149
64030
  }
@@ -63205,14 +64086,19 @@ class BinaryReconstructor {
63205
64086
  this.buffers = [];
63206
64087
  }
63207
64088
  }
64089
+ const isInteger = Number.isInteger || function(value2) {
64090
+ return typeof value2 === "number" && isFinite(value2) && Math.floor(value2) === value2;
64091
+ };
64092
+ function isObject(value2) {
64093
+ return Object.prototype.toString.call(value2) === "[object Object]";
64094
+ }
63208
64095
  const parser = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
63209
64096
  __proto__: null,
63210
64097
  Decoder,
63211
64098
  Encoder,
63212
64099
  get PacketType() {
63213
64100
  return PacketType;
63214
- },
63215
- protocol
64101
+ }
63216
64102
  }, Symbol.toStringTag, { value: "Module" }));
63217
64103
  function on(obj, ev, fn) {
63218
64104
  obj.on(ev, fn);
@@ -74966,7 +75852,7 @@ const OverflowMenu = forwardRef(
74966
75852
  }, [isOpen, handleClickOutside, getPopupContainer]);
74967
75853
  const getMenuStyle = useMemo$1(() => {
74968
75854
  const baseStyle = {
74969
- position: getPopupContainer !== void 0 ? "fixed" : "absolute",
75855
+ position: getPopupContainer === void 0 ? "absolute" : "fixed",
74970
75856
  zIndex: 1e3,
74971
75857
  ...style2
74972
75858
  };
@@ -75104,35 +75990,65 @@ const GlobalHeader = ({
75104
75990
  menuItems = [],
75105
75991
  primaryAction
75106
75992
  }) => {
75107
- return /* @__PURE__ */ jsxs(Tile, { "data-testid": "GlobalHeader", style: {
75108
- padding: "32px 40px",
75109
- justifyContent: "flex-end",
75110
- width: "100%",
75111
- alignItems: "flex-start",
75112
- minHeight: "164px",
75113
- borderBottom: "1px solid #CBCBCB",
75114
- background: "#FFF",
75115
- gap: "24px"
75116
- }, children: [
75117
- breadcrumbs?.length > 0 && /* @__PURE__ */ jsx(Breadcrumb, { items: breadcrumbs }),
75118
- /* @__PURE__ */ jsxs(Tile, { isHorizontal: true, style: { justifyContent: "space-between", gap: "16px", width: "100%", flexWrap: "wrap" }, children: [
75119
- /* @__PURE__ */ jsxs(Tile, { isHorizontal: true, style: { flex: 1, gap: "16px", minWidth: "200px" }, children: [
75120
- onBack && /* @__PURE__ */ jsx(UtilityButton, { icon: /* @__PURE__ */ jsx(RefIcon$j, {}), onClick: onBack }),
75121
- /* @__PURE__ */ jsx(Typography, { variant: "display3", children: title })
75122
- ] }),
75123
- /* @__PURE__ */ jsxs(Tile, { isHorizontal: true, style: { justifyContent: "flex-end", gap: "16px", alignItems: "flex-end" }, children: [
75124
- primaryAction && /* @__PURE__ */ jsx(Button$1, { onClick: primaryAction.onClick, children: primaryAction.label }),
75125
- menuItems.length > 0 && /* @__PURE__ */ jsx(
75126
- OverflowMenu,
75993
+ return /* @__PURE__ */ jsxs(
75994
+ Tile,
75995
+ {
75996
+ "data-testid": "GlobalHeader",
75997
+ style: {
75998
+ padding: "32px 40px",
75999
+ justifyContent: "flex-end",
76000
+ width: "100%",
76001
+ alignItems: "flex-start",
76002
+ minHeight: "164px",
76003
+ borderBottom: "1px solid #CBCBCB",
76004
+ background: "#FFF",
76005
+ gap: "24px"
76006
+ },
76007
+ children: [
76008
+ breadcrumbs?.length > 0 && /* @__PURE__ */ jsx(Breadcrumb, { items: breadcrumbs }),
76009
+ /* @__PURE__ */ jsxs(
76010
+ Tile,
75127
76011
  {
75128
- trigger: /* @__PURE__ */ jsx(UtilityButton, { isIconButton: true, children: /* @__PURE__ */ jsx(HiDotsHorizontal, {}) }),
75129
- alignment: "right",
75130
- children: menuItems.map((item) => /* @__PURE__ */ jsx(OverflowMenuItem, { onClick: item.onClick, children: item.children }, item.id))
76012
+ isHorizontal: true,
76013
+ style: {
76014
+ justifyContent: "space-between",
76015
+ gap: "16px",
76016
+ width: "100%",
76017
+ flexWrap: "wrap"
76018
+ },
76019
+ children: [
76020
+ /* @__PURE__ */ jsxs(Tile, { isHorizontal: true, style: { flex: 1, gap: "16px", minWidth: "200px" }, children: [
76021
+ onBack && /* @__PURE__ */ jsx(UtilityButton, { icon: /* @__PURE__ */ jsx(RefIcon$j, {}), onClick: onBack }),
76022
+ /* @__PURE__ */ jsx(Typography, { variant: "display3", children: title })
76023
+ ] }),
76024
+ /* @__PURE__ */ jsxs(
76025
+ Tile,
76026
+ {
76027
+ isHorizontal: true,
76028
+ style: {
76029
+ justifyContent: "flex-end",
76030
+ gap: "16px",
76031
+ alignItems: "flex-end"
76032
+ },
76033
+ children: [
76034
+ primaryAction && /* @__PURE__ */ jsx(Button$1, { onClick: primaryAction.onClick, children: primaryAction.label }),
76035
+ menuItems.length > 0 && /* @__PURE__ */ jsx(
76036
+ OverflowMenu,
76037
+ {
76038
+ trigger: /* @__PURE__ */ jsx(UtilityButton, { isIconButton: true, children: /* @__PURE__ */ jsx(HiDotsHorizontal, {}) }),
76039
+ alignment: "right",
76040
+ children: menuItems.map((item) => /* @__PURE__ */ jsx(OverflowMenuItem, { onClick: item.onClick, children: item.children }, item.id))
76041
+ }
76042
+ )
76043
+ ]
76044
+ }
76045
+ )
76046
+ ]
75131
76047
  }
75132
76048
  )
75133
- ] })
75134
- ] })
75135
- ] });
76049
+ ]
76050
+ }
76051
+ );
75136
76052
  };
75137
76053
  const Outline = (properties) => /* @__PURE__ */ jsxs(
75138
76054
  "svg",
@@ -77922,7 +78838,7 @@ function initRange(domain, range3) {
77922
78838
  }
77923
78839
  return this;
77924
78840
  }
77925
- const implicit = Symbol("implicit");
78841
+ const implicit = /* @__PURE__ */ Symbol("implicit");
77926
78842
  function ordinal() {
77927
78843
  var index2 = new InternMap(), domain = [], range3 = [], unknown = implicit;
77928
78844
  function scale(d) {
@@ -78649,7 +79565,7 @@ const VEHICLE_INSIGHTS_CONFIG = {
78649
79565
  // 4px bars as shown in Figma
78650
79566
  BAR_SPACING: 40
78651
79567
  };
78652
- const Container$2 = styled.div`
79568
+ const Container$3 = styled.div`
78653
79569
  display: flex;
78654
79570
  flex-direction: row;
78655
79571
  gap: ${({ theme }) => theme?.sizing.Size2}px;
@@ -79036,7 +79952,7 @@ const BarChart = ({
79036
79952
  iconSpacing,
79037
79953
  showAdditionalGridLines
79038
79954
  ]);
79039
- return /* @__PURE__ */ jsx(Container$2, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxs(ChartContainer$2, { children: [
79955
+ return /* @__PURE__ */ jsx(Container$3, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxs(ChartContainer$2, { children: [
79040
79956
  /* @__PURE__ */ jsx(
79041
79957
  "svg",
79042
79958
  {
@@ -79057,7 +79973,7 @@ const BarChart = ({
79057
79973
  )
79058
79974
  ] }) });
79059
79975
  };
79060
- const Container$1 = styled.div`
79976
+ const Container$2 = styled.div`
79061
79977
  display: flex;
79062
79978
  flex-direction: row;
79063
79979
  gap: ${({ theme }) => theme?.sizing.Size2}px;
@@ -79214,7 +80130,7 @@ const LineChart = ({
79214
80130
  skipDays,
79215
80131
  isAnimated
79216
80132
  ]);
79217
- return /* @__PURE__ */ jsx(Container$1, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxs(ChartContainer$1, { children: [
80133
+ return /* @__PURE__ */ jsx(Container$2, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxs(ChartContainer$1, { children: [
79218
80134
  /* @__PURE__ */ jsx(
79219
80135
  "svg",
79220
80136
  {
@@ -79235,7 +80151,7 @@ const LineChart = ({
79235
80151
  )
79236
80152
  ] }) });
79237
80153
  };
79238
- const Container = styled.div`
80154
+ const Container$1 = styled.div`
79239
80155
  display: flex;
79240
80156
  flex-direction: column;
79241
80157
  align-items: center;
@@ -79365,7 +80281,7 @@ const DonutChart = ({
79365
80281
  });
79366
80282
  }
79367
80283
  }, [data, height, width, innerRadius, outerRadius, showTooltip, showLegend]);
79368
- return /* @__PURE__ */ jsx(Container, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxs(ChartContainer, { children: [
80284
+ return /* @__PURE__ */ jsx(Container$1, { className, $height: height, $width: width, children: /* @__PURE__ */ jsxs(ChartContainer, { children: [
79369
80285
  /* @__PURE__ */ jsx(
79370
80286
  "svg",
79371
80287
  {
@@ -79406,12 +80322,12 @@ const getGenesisClass$7 = ({ sizing: sizing2 }, $isColumn) => `
79406
80322
  margin: 0;
79407
80323
  box-sizing: border-box;
79408
80324
  `;
79409
- const Content$1 = styled.div`
80325
+ const Content$2 = styled.div`
79410
80326
  ${({ theme, $isColumn }) => {
79411
80327
  return getGenesisClass$7(theme, $isColumn);
79412
80328
  }}
79413
80329
  `;
79414
- const Content = ({
80330
+ const Content$1 = ({
79415
80331
  children: children2,
79416
80332
  className,
79417
80333
  backgroundColor,
@@ -79419,7 +80335,7 @@ const Content = ({
79419
80335
  style: style2
79420
80336
  }) => {
79421
80337
  return /* @__PURE__ */ jsx(
79422
- Content$1,
80338
+ Content$2,
79423
80339
  {
79424
80340
  className: clsx(className),
79425
80341
  style: { ...style2, backgroundColor },
@@ -79429,7 +80345,7 @@ const Content = ({
79429
80345
  );
79430
80346
  };
79431
80347
  const Layout = ({ children: children2, isColumn = false, style: style2 }) => {
79432
- return /* @__PURE__ */ jsx(Content, { "data-testid": "Layout", isColumn, style: style2, children: children2 });
80348
+ return /* @__PURE__ */ jsx(Content$1, { "data-testid": "Layout", isColumn, style: style2, children: children2 });
79433
80349
  };
79434
80350
  const MessageRow = styled.div`
79435
80351
  display: flex;
@@ -79556,6 +80472,490 @@ const Message = ({
79556
80472
  ) : null
79557
80473
  ] });
79558
80474
  };
80475
+ styled.nav`
80476
+ display: flex;
80477
+ align-items: center;
80478
+ justify-content: space-between;
80479
+ width: 100%;
80480
+ height: ${({ theme }) => theme.sizing.Size64 + "px"};
80481
+ padding: 0 ${({ theme }) => theme.sizing.Size24 + "px"};
80482
+ background-color: ${({ theme }) => theme.colors.surface.active.backgroundColor};
80483
+ border-bottom: ${({ theme }) => theme.sizing.Size05 + "px"} solid
80484
+ ${({ theme }) => theme.colors.surface.border?.borderColor ?? theme.colors.onsurface.active.borderColor};
80485
+ box-shadow: ${({ theme }) => theme.shadows.general["1"]};
80486
+ `;
80487
+ styled.div`
80488
+ display: flex;
80489
+ align-items: center;
80490
+ gap: ${({ theme }) => theme.sizing.Size24 + "px"};
80491
+ `;
80492
+ styled.div`
80493
+ display: flex;
80494
+ align-items: center;
80495
+ `;
80496
+ styled.ul`
80497
+ display: flex;
80498
+ align-items: center;
80499
+ gap: ${({ theme }) => theme.sizing.Size4 + "px"};
80500
+ list-style: none;
80501
+ margin: 0;
80502
+ padding: 0;
80503
+ `;
80504
+ styled.li`
80505
+ display: flex;
80506
+ align-items: center;
80507
+ `;
80508
+ const itemBase = `
80509
+ display: inline-flex;
80510
+ align-items: center;
80511
+ padding: 6px 12px;
80512
+ border-radius: ${({ theme }) => theme.borderRadius.sm + "px"};
80513
+ font-family: ${({ theme }) => theme.typography.fontFamily};
80514
+ font-size: ${({ theme }) => theme.typography.wide.body1.fontSize};
80515
+ font-weight: ${({ theme }) => theme.typography.wide.body1.fontWeight};
80516
+ line-height: ${({ theme }) => theme.typography.wide.body1.lineHeight};
80517
+ text-decoration: none;
80518
+ background: none;
80519
+ border: none;
80520
+ cursor: pointer;
80521
+ transition: background-color 0.15s ease, color 0.15s ease;
80522
+ `;
80523
+ styled.a`
80524
+ ${itemBase}
80525
+ color: ${({ theme }) => theme.colors.onsurface.active.textColor};
80526
+
80527
+ &:hover {
80528
+ background-color: ${({ theme }) => theme.colors.onsurface.hover?.backgroundColor ?? theme.colors.surface.hover?.backgroundColor};
80529
+ }
80530
+ `;
80531
+ styled.button`
80532
+ ${itemBase}
80533
+ color: ${({ theme }) => theme.colors.onsurface.active.textColor};
80534
+
80535
+ &:hover {
80536
+ background-color: ${({ theme }) => theme.colors.onsurface.hover?.backgroundColor ?? theme.colors.surface.hover?.backgroundColor};
80537
+ }
80538
+ `;
80539
+ styled.div`
80540
+ display: flex;
80541
+ align-items: center;
80542
+ gap: ${({ theme }) => theme.sizing.Size8 + "px"};
80543
+ `;
80544
+ const Sidebar = styled.aside`
80545
+ display: flex;
80546
+ flex-direction: column;
80547
+ width: ${({ $isSmall }) => $isSmall ? "78px" : "224px"};
80548
+ background-color: #fff;
80549
+ height: 100vh;
80550
+ justify-content: space-between;
80551
+ border-right: 1px solid #dfdfdf;
80552
+ z-index: 2;
80553
+ transition: width 0.2s ease;
80554
+ overflow: hidden;
80555
+ `;
80556
+ const Frame = styled(Tile)`
80557
+ padding: 0 ${({ $isSmall }) => $isSmall ? "12px" : "16px"};
80558
+ align-items: flex-start;
80559
+ align-self: stretch;
80560
+ `;
80561
+ const ScrollableFrame = styled.div`
80562
+ flex: 1;
80563
+ overflow-y: auto;
80564
+ overflow-x: hidden;
80565
+ padding: 0
80566
+ ${({ $isSmall, $hasScrollbar }) => $hasScrollbar ? $isSmall ? "2px" : "12px" : $isSmall ? "8px" : "16px"}
80567
+ 0 ${({ $isSmall }) => $isSmall ? "12px" : "16px"};
80568
+ scrollbar-width: thin;
80569
+ scrollbar-color: #d4d4d4 transparent;
80570
+
80571
+ &::-webkit-scrollbar {
80572
+ width: 4px;
80573
+ }
80574
+
80575
+ &::-webkit-scrollbar-track {
80576
+ background: transparent;
80577
+ }
80578
+
80579
+ &::-webkit-scrollbar-thumb {
80580
+ background-color: #d4d4d4;
80581
+ border-radius: 4px;
80582
+ }
80583
+
80584
+ &::-webkit-scrollbar-thumb:hover {
80585
+ background-color: #b0b0b0;
80586
+ }
80587
+ `;
80588
+ const CollapseWrapper = styled.div`
80589
+ display: grid;
80590
+ grid-template-rows: ${({ $isOpen }) => $isOpen ? "1fr" : "0fr"};
80591
+ transition: grid-template-rows 0.2s ease;
80592
+ overflow: hidden;
80593
+
80594
+ & > ul {
80595
+ min-height: 0;
80596
+ }
80597
+ `;
80598
+ const NavItem$1 = styled.div`
80599
+ display: flex;
80600
+ min-height: 48px;
80601
+ padding: 12px 16px;
80602
+ gap: 4px;
80603
+ /* justify-content: space-between; */
80604
+ align-items: center;
80605
+ align-self: stretch;
80606
+ width: 100%;
80607
+ cursor: pointer;
80608
+ border-radius: 6px;
80609
+ text-decoration: none;
80610
+ white-space: nowrap;
80611
+ color: ${({ $isActive }) => $isActive ? "#fff" : "#3E3E3E"};
80612
+ background-color: ${({ $isActive }) => $isActive ? "#214148" : "transparent"};
80613
+
80614
+ &:hover {
80615
+ background-color: ${({ $isActive }) => $isActive ? "#214148" : "#F4F4F4"};
80616
+ color: ${({ $isActive }) => $isActive ? "#fff" : "#30606B"};
80617
+
80618
+ * {
80619
+ color: inherit !important;
80620
+ }
80621
+ }
80622
+ `;
80623
+ const NavItem = ({
80624
+ icon,
80625
+ label,
80626
+ href,
80627
+ isActive: isActive2,
80628
+ type: type4 = "default",
80629
+ isOpen,
80630
+ onToggle,
80631
+ onClick,
80632
+ isSmall
80633
+ }) => {
80634
+ const isExpandable = type4 === "expandable";
80635
+ const isButton = type4 === "button";
80636
+ const content2 = /* @__PURE__ */ jsxs(
80637
+ Tile,
80638
+ {
80639
+ isHorizontal: true,
80640
+ style: {
80641
+ justifyContent: "space-between",
80642
+ width: "100%",
80643
+ alignItems: "center"
80644
+ },
80645
+ children: [
80646
+ /* @__PURE__ */ jsxs("span", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
80647
+ /* @__PURE__ */ jsx("span", { style: { width: "24px", display: "flex", flexShrink: 0 }, children: icon }),
80648
+ !isSmall && /* @__PURE__ */ jsx(
80649
+ Typography,
80650
+ {
80651
+ variant: "label2",
80652
+ fontWeight: 500,
80653
+ color: isActive2 ? "#fff" : void 0,
80654
+ children: label
80655
+ }
80656
+ )
80657
+ ] }),
80658
+ isExpandable && !isSmall && /* @__PURE__ */ jsx(
80659
+ HiChevronDown,
80660
+ {
80661
+ size: 16,
80662
+ style: {
80663
+ transition: "transform 0.2s ease",
80664
+ transform: isOpen ? "rotate(180deg)" : "rotate(0deg)"
80665
+ }
80666
+ }
80667
+ )
80668
+ ]
80669
+ }
80670
+ );
80671
+ if (isExpandable) {
80672
+ return /* @__PURE__ */ jsx(
80673
+ NavItem$1,
80674
+ {
80675
+ as: "button",
80676
+ $isActive: isActive2,
80677
+ onClick: onToggle,
80678
+ "aria-expanded": isOpen,
80679
+ style: { border: "none", width: "100%", textAlign: "left" },
80680
+ children: content2
80681
+ }
80682
+ );
80683
+ }
80684
+ if (isButton) {
80685
+ return /* @__PURE__ */ jsx(
80686
+ NavItem$1,
80687
+ {
80688
+ as: "button",
80689
+ $isActive: isActive2,
80690
+ onClick,
80691
+ style: { border: "none", width: "100%", textAlign: "left" },
80692
+ children: content2
80693
+ }
80694
+ );
80695
+ }
80696
+ return /* @__PURE__ */ jsx(
80697
+ NavItem$1,
80698
+ {
80699
+ as: href ? "a" : "div",
80700
+ href,
80701
+ $isActive: isActive2,
80702
+ "aria-current": isActive2 ? "page" : void 0,
80703
+ children: content2
80704
+ }
80705
+ );
80706
+ };
80707
+ const NavMenu = ({ items, isSmall }) => {
80708
+ const [openPaths, setOpenPaths] = useState({});
80709
+ const navRef = useRef(null);
80710
+ const currentPaths = items.map((item) => item.currentPath).join(",");
80711
+ useEffect(() => {
80712
+ navRef.current?.querySelector("[data-active='true']")?.scrollIntoView({ block: "nearest", behavior: "smooth" });
80713
+ }, [currentPaths]);
80714
+ const togglePath = (path2) => {
80715
+ setOpenPaths((prev2) => ({ ...prev2, [path2]: !prev2[path2] }));
80716
+ };
80717
+ return /* @__PURE__ */ jsx("nav", { ref: navRef, style: { width: "100%" }, children: items.map(
80718
+ (item, itemIndex) => item.data.map((group, groupIndex) => /* @__PURE__ */ jsxs("div", { children: [
80719
+ group.category && /* @__PURE__ */ jsx(
80720
+ Tile,
80721
+ {
80722
+ style: {
80723
+ padding: isSmall ? "0" : "12px 0px",
80724
+ maxHeight: isSmall ? 0 : "40px",
80725
+ opacity: isSmall ? 0 : 1,
80726
+ transition: "opacity 0.15s ease, max-height 0.2s ease, padding 0.2s ease",
80727
+ overflow: "hidden"
80728
+ },
80729
+ children: /* @__PURE__ */ jsx(
80730
+ Typography,
80731
+ {
80732
+ variant: "overline2",
80733
+ color: "#6C6C6C",
80734
+ fontWeight: 600,
80735
+ children: group.category.toUpperCase()
80736
+ }
80737
+ )
80738
+ }
80739
+ ),
80740
+ group.routes.map((route) => /* @__PURE__ */ jsx(React__default.Fragment, { children: isSmall && route.children ? /* @__PURE__ */ jsx(
80741
+ OverflowMenu,
80742
+ {
80743
+ placement: "right",
80744
+ offset: 24,
80745
+ trigger: /* @__PURE__ */ jsx(Tooltip$2, { title: route.name, placement: "right", children: /* @__PURE__ */ jsx(
80746
+ "div",
80747
+ {
80748
+ "data-active": route.children.some(
80749
+ (c) => c.path === item.currentPath
80750
+ ) || void 0,
80751
+ children: /* @__PURE__ */ jsx(
80752
+ NavItem,
80753
+ {
80754
+ label: route.name,
80755
+ icon: route.icon,
80756
+ isActive: route.children.some(
80757
+ (c) => c.path === item.currentPath
80758
+ ),
80759
+ isSmall: true
80760
+ }
80761
+ )
80762
+ }
80763
+ ) }),
80764
+ children: route.children.map((child) => /* @__PURE__ */ jsx(OverflowMenuItem, { children: /* @__PURE__ */ jsx(
80765
+ "a",
80766
+ {
80767
+ href: child.path,
80768
+ style: {
80769
+ textDecoration: "none",
80770
+ color: "inherit",
80771
+ display: "block"
80772
+ },
80773
+ children: /* @__PURE__ */ jsx(Typography, { variant: "label2", fontWeight: 500, children: child.name })
80774
+ }
80775
+ ) }, child.path))
80776
+ }
80777
+ ) : /* @__PURE__ */ jsxs(Fragment, { children: [
80778
+ /* @__PURE__ */ jsx(
80779
+ Tooltip$2,
80780
+ {
80781
+ title: isSmall ? route.name : void 0,
80782
+ placement: "right",
80783
+ children: /* @__PURE__ */ jsx(
80784
+ "div",
80785
+ {
80786
+ "data-active": !route.children && item.currentPath === route.path || void 0,
80787
+ children: /* @__PURE__ */ jsx(
80788
+ NavItem,
80789
+ {
80790
+ label: route.name,
80791
+ icon: route.icon,
80792
+ type: route.children ? "expandable" : "default",
80793
+ href: route.children ? void 0 : route.path,
80794
+ isActive: !route.children && item.currentPath === route.path,
80795
+ isOpen: openPaths[route.path],
80796
+ onToggle: () => togglePath(route.path),
80797
+ isSmall
80798
+ }
80799
+ )
80800
+ }
80801
+ )
80802
+ }
80803
+ ),
80804
+ route.children && /* @__PURE__ */ jsx(CollapseWrapper, { $isOpen: !!openPaths[route.path], children: /* @__PURE__ */ jsx(
80805
+ "ul",
80806
+ {
80807
+ style: { listStyle: "none", margin: 0, padding: 0 },
80808
+ children: route.children.map((child) => /* @__PURE__ */ jsx(
80809
+ "li",
80810
+ {
80811
+ "data-active": item.currentPath === child.path || void 0,
80812
+ children: /* @__PURE__ */ jsx(
80813
+ NavItem,
80814
+ {
80815
+ label: child.name,
80816
+ icon: child.icon,
80817
+ href: child.path,
80818
+ isActive: item.currentPath === child.path,
80819
+ isSmall
80820
+ }
80821
+ )
80822
+ },
80823
+ child.path
80824
+ ))
80825
+ }
80826
+ ) })
80827
+ ] }) }, route.path))
80828
+ ] }, `${itemIndex}-${groupIndex}`))
80829
+ ) });
80830
+ };
80831
+ const gbLogo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAOdEVYdFNvZnR3YXJlAEZpZ21hnrGWYwAAAfpJREFUeAHtlctLG0Ecx38z+8rDBkoJpUVK6x9QrKSHHoSlSE+lh0JoT60Hg+JNUBFFFAI5+LrqKSfxIoLgQUXxgRfjshHRgx4EFT0ogg9iskl2Z93ZYPBgdtaoF/F72d/s/H6f33yHmV2AFwEg87i3HZ5IWFMiS9aTK5kAD4Ab6xH9yi8krdgolYSgDF3N/KnxiJKCvTxG3+KOjPs64M62moZ8vKhg08TJzfPfrIL7OECpRMOBP5WtpANTFNK4Nl5BQ6ciVw5k+aOHKA36DVw3TGLBX7HgVDwr4XCtqf6dkYvnc7omAnjtoi/vo7JsLw4Hg2COj9uNyF31rreIbDTq6DTNgVeEqQm1+P7DG09fdedqB5Rw46YBNtRIFp9rttv5hW3IaPnCBMIrPweScqnV2znObOBSi/8TN/CLdK4ID/gEjQVnNUBnO839fkJChRGC2elNOwwGREOOKl4W3C5zmMPhcLg43xs66t49SffQWBQ4jUcgEcT/+xFLjEKZDW6Lm2ypzmJc+OZUSJi0zSKPqqp5ViHzmNJFzHWEMpm8bsN9Erf/PaZ+Ahd3gIp50eKNn/9acMHikbcBqb8upla5hVMxHVS+5sdyBiHHl3rNr8HEBjymlrtCwyvdX+lJ4aBMOW0RRjyuqo0q1KUBj629kbpWKPN/8bx0DaY/qDhSPSx2AAAAAElFTkSuQmCC";
80832
+ const NavBar = ({
80833
+ items = [],
80834
+ version: version2,
80835
+ user,
80836
+ headerSlot,
80837
+ actionsSlot
80838
+ }) => {
80839
+ const [isSmall, setIsSmall] = useState(false);
80840
+ const [hasScrollbar, setHasScrollbar] = useState(false);
80841
+ const scrollRef = useRef(null);
80842
+ useEffect(() => {
80843
+ const el = scrollRef.current;
80844
+ if (!el) return;
80845
+ const check = () => setHasScrollbar(el.scrollHeight > el.clientHeight);
80846
+ check();
80847
+ const observer = new ResizeObserver(check);
80848
+ observer.observe(el);
80849
+ return () => observer.disconnect();
80850
+ }, []);
80851
+ return /* @__PURE__ */ jsxs(Sidebar, { $isSmall: isSmall, children: [
80852
+ /* @__PURE__ */ jsxs(Tile, { style: { flex: 1, overflow: "hidden" }, children: [
80853
+ /* @__PURE__ */ jsxs(
80854
+ Tile,
80855
+ {
80856
+ isHorizontal: !isSmall,
80857
+ style: {
80858
+ justifyContent: "space-between",
80859
+ alignItems: "center",
80860
+ width: "100%",
80861
+ gap: "16px",
80862
+ padding: `${isSmall ? "24px" : "16px"}`,
80863
+ transition: "padding 0.2s ease"
80864
+ },
80865
+ children: [
80866
+ /* @__PURE__ */ jsx(
80867
+ Tile,
80868
+ {
80869
+ isHorizontal: true,
80870
+ style: {
80871
+ gap: "8px",
80872
+ alignItems: "center",
80873
+ padding: "8px"
80874
+ },
80875
+ children: headerSlot ?? /* @__PURE__ */ jsxs(Fragment, { children: [
80876
+ /* @__PURE__ */ jsx(Avatar, { shape: "square", size: 24, url: gbLogo }),
80877
+ !isSmall && /* @__PURE__ */ jsx(
80878
+ Typography,
80879
+ {
80880
+ variant: "heading3",
80881
+ fontWeight: 700,
80882
+ style: {
80883
+ whiteSpace: "nowrap",
80884
+ overflow: "hidden",
80885
+ maxWidth: isSmall ? "0px" : "160px",
80886
+ opacity: isSmall ? 0 : 1,
80887
+ transition: "max-width 2s ease, opacity 0.15s ease"
80888
+ },
80889
+ children: "GoBolt"
80890
+ }
80891
+ )
80892
+ ] })
80893
+ }
80894
+ ),
80895
+ /* @__PURE__ */ jsx(
80896
+ HiChevronDoubleLeft,
80897
+ {
80898
+ size: 20,
80899
+ onClick: () => setIsSmall((s) => !s),
80900
+ style: {
80901
+ cursor: "pointer",
80902
+ transition: "transform 0.4s ease",
80903
+ transform: isSmall ? "rotate(180deg)" : "rotate(0deg)"
80904
+ }
80905
+ }
80906
+ )
80907
+ ]
80908
+ }
80909
+ ),
80910
+ /* @__PURE__ */ jsx(
80911
+ ScrollableFrame,
80912
+ {
80913
+ ref: scrollRef,
80914
+ $isSmall: isSmall,
80915
+ $hasScrollbar: hasScrollbar,
80916
+ children: /* @__PURE__ */ jsx(NavMenu, { items, isSmall })
80917
+ }
80918
+ )
80919
+ ] }),
80920
+ /* @__PURE__ */ jsxs(Frame, { $isSmall: isSmall, children: [
80921
+ actionsSlot?.(isSmall),
80922
+ /* @__PURE__ */ jsxs(
80923
+ Tile,
80924
+ {
80925
+ isHorizontal: true,
80926
+ style: {
80927
+ alignItems: "center",
80928
+ width: "100%",
80929
+ gap: "8px",
80930
+ padding: `12px ${isSmall ? "12px" : "16px"}`
80931
+ },
80932
+ children: [
80933
+ /* @__PURE__ */ jsx(Avatar, { user, size: isSmall ? 32 : 40 }),
80934
+ !isSmall && /* @__PURE__ */ jsxs(Typography, { variant: "label2", style: { whiteSpace: "nowrap" }, children: [
80935
+ user.first_name,
80936
+ " ",
80937
+ user.last_name
80938
+ ] })
80939
+ ]
80940
+ }
80941
+ ),
80942
+ !isSmall && /* @__PURE__ */ jsx(
80943
+ Tile,
80944
+ {
80945
+ style: {
80946
+ padding: "16px 24px",
80947
+ width: "100%",
80948
+ textAlign: "center"
80949
+ },
80950
+ children: /* @__PURE__ */ jsxs(Typography, { variant: "label3", children: [
80951
+ "Version ",
80952
+ version2
80953
+ ] })
80954
+ }
80955
+ )
80956
+ ] })
80957
+ ] });
80958
+ };
79559
80959
  const Appointment = (properties) => /* @__PURE__ */ jsx(
79560
80960
  "svg",
79561
80961
  {
@@ -84330,6 +85730,243 @@ const Shapes = ({ variant = "triangle", fill }) => {
84330
85730
  }
84331
85731
  return /* @__PURE__ */ jsx(Triangle, { fill, dataTestId: "shape-triangle" });
84332
85732
  };
85733
+ const getGenesisDrawerClass = ({ borderRadius: borderRadius2, sizing: sizing2 }, $type = "float", placement = "right") => {
85734
+ const isFloat = $type === "float";
85735
+ const offset2 = isFloat ? 24 : 0;
85736
+ const edge = placement === "right" ? "right" : "left";
85737
+ return `
85738
+ .ant-drawer-content-wrapper {
85739
+ box-shadow: none !important;
85740
+ }
85741
+
85742
+ .ant-drawer-content {
85743
+ position: relative !important;
85744
+ box-shadow: none !important;
85745
+ ${edge}: ${offset2}px !important;
85746
+ top: ${offset2}px !important;
85747
+ height: ${isFloat ? `calc(100% - ${offset2 * 2}px)` : "100%"} !important;
85748
+ border-radius: ${isFloat ? borderRadius2.BorderRadiusMd : 0}px !important;
85749
+ }
85750
+
85751
+ .ant-drawer-footer {
85752
+ padding: 0px !important;
85753
+ }
85754
+
85755
+ .ant-drawer-body {
85756
+ padding: 0px;
85757
+ overflow: hidden;
85758
+ display: flex;
85759
+ flex-direction: column;
85760
+ height: 100%;
85761
+ }
85762
+ `;
85763
+ };
85764
+ const StyledSidePanel = styled(Drawer2).attrs({
85765
+ destroyOnHidden: true,
85766
+ push: false
85767
+ })`
85768
+ ${({ theme, $type = "float", placement = "right" }) => {
85769
+ if (!theme) return "";
85770
+ return getGenesisDrawerClass(theme, $type, placement);
85771
+ }}
85772
+ `;
85773
+ const ScrollableContent = styled.div`
85774
+ overflow-y: auto;
85775
+ flex: 1;
85776
+ display: flex;
85777
+ flex-direction: column;
85778
+ `;
85779
+ const getGenesisStickyHeaderClass = ({ colors: colors2 }) => `
85780
+ position: sticky;
85781
+ top: 0;
85782
+ z-index: 10;
85783
+ background-color: ${colors2?.surface?.active?.backgroundColor || "#FFFFFF"};
85784
+ `;
85785
+ const StickyHeader = styled(Tile)`
85786
+ ${({ theme }) => {
85787
+ if (!theme) return "";
85788
+ return getGenesisStickyHeaderClass(theme);
85789
+ }}
85790
+ `;
85791
+ const SidePanel = ({
85792
+ type: type4 = "float",
85793
+ open,
85794
+ closable = true,
85795
+ children: children2,
85796
+ placement = "right",
85797
+ header,
85798
+ footer: footer2
85799
+ }) => {
85800
+ const theme = useTheme$1();
85801
+ const {
85802
+ avatar,
85803
+ title,
85804
+ description,
85805
+ showBackBtn = false,
85806
+ actions: headerActions = [],
85807
+ onClose,
85808
+ onBackBtnClick = () => {
85809
+ alert("Back button event not defined");
85810
+ }
85811
+ } = header;
85812
+ const { show: showFooter = false, actions: footerActions = [] } = footer2 ?? {};
85813
+ const spacing = {
85814
+ Size1: theme?.sizing?.Size1 || 4,
85815
+ Size3: theme?.sizing?.Size3 || 12,
85816
+ Size4: theme?.sizing?.Size4 || 16,
85817
+ Size6: theme?.sizing?.Size6 || 24
85818
+ };
85819
+ const borderColor = theme?.colors?.surface?.active?.borderColor || "#DFDFDF";
85820
+ const textColor = theme?.colors?.onsurface?.active?.textColor || "#3E3E3E";
85821
+ const handleClose = () => {
85822
+ onClose();
85823
+ };
85824
+ const BackBtn = () => {
85825
+ return showBackBtn ? /* @__PURE__ */ jsx(
85826
+ UtilityButton,
85827
+ {
85828
+ icon: /* @__PURE__ */ jsx(HiArrowLeft, {}),
85829
+ onClick: onBackBtnClick
85830
+ }
85831
+ ) : null;
85832
+ };
85833
+ const HeaderActions = () => {
85834
+ const showMenuBtn = headerActions.length > 1;
85835
+ const menuItems = headerActions.slice(1);
85836
+ return headerActions.length > 0 ? /* @__PURE__ */ jsxs(Tile, { isHorizontal: true, style: { gap: `${spacing.Size4}px` }, children: [
85837
+ /* @__PURE__ */ jsx(
85838
+ Button$1,
85839
+ {
85840
+ ...headerActions[0].btnProps,
85841
+ onClick: headerActions[0].onClick,
85842
+ children: headerActions[0].label
85843
+ }
85844
+ ),
85845
+ showMenuBtn && /* @__PURE__ */ jsx(
85846
+ OverflowMenu,
85847
+ {
85848
+ trigger: /* @__PURE__ */ jsx(UtilityButton, { icon: /* @__PURE__ */ jsx(HiDotsHorizontal, {}) }),
85849
+ placement: "bottom",
85850
+ alignment: "left",
85851
+ children: menuItems.map((item, index2) => /* @__PURE__ */ createElement(
85852
+ OverflowMenuItem,
85853
+ {
85854
+ ...item.menuItemProps,
85855
+ key: index2,
85856
+ onClick: item.onClick
85857
+ },
85858
+ item.label
85859
+ ))
85860
+ }
85861
+ )
85862
+ ] }) : null;
85863
+ };
85864
+ const SidePanelHeader = () => {
85865
+ return /* @__PURE__ */ jsx(
85866
+ Tile,
85867
+ {
85868
+ isHorizontal: true,
85869
+ style: {
85870
+ overflowY: "auto",
85871
+ alignItems: "center",
85872
+ justifyContent: "space-between",
85873
+ padding: `${spacing.Size6}px`,
85874
+ borderBottom: `1px solid ${borderColor}`
85875
+ },
85876
+ children: /* @__PURE__ */ jsxs(
85877
+ Tile,
85878
+ {
85879
+ isHorizontal: true,
85880
+ style: {
85881
+ alignItems: "flexStart",
85882
+ gap: `${spacing.Size4}px`,
85883
+ flex: 1
85884
+ },
85885
+ children: [
85886
+ /* @__PURE__ */ jsx(BackBtn, {}),
85887
+ /* @__PURE__ */ jsxs(Tile, { style: { gap: `${spacing.Size4}px`, flex: 1 }, children: [
85888
+ /* @__PURE__ */ jsxs(
85889
+ Tile,
85890
+ {
85891
+ isHorizontal: true,
85892
+ style: {
85893
+ gap: `${spacing.Size3}px`,
85894
+ alignItems: "center",
85895
+ height: "40px"
85896
+ },
85897
+ children: [
85898
+ avatar && /* @__PURE__ */ jsx(Avatar, { ...avatar, size: 32 }),
85899
+ /* @__PURE__ */ jsx(Typography, { fontSize: "24px", fontWeight: 400, color: textColor, children: title })
85900
+ ]
85901
+ }
85902
+ ),
85903
+ description && /* @__PURE__ */ jsx(Typography, { fontSize: "16px", fontWeight: 400, color: textColor, children: description }),
85904
+ /* @__PURE__ */ jsx(HeaderActions, {})
85905
+ ] }),
85906
+ /* @__PURE__ */ jsx(UtilityButton, { icon: /* @__PURE__ */ jsx(HiX, {}), onClick: handleClose })
85907
+ ]
85908
+ }
85909
+ )
85910
+ }
85911
+ );
85912
+ };
85913
+ const SidePanelFooter = () => {
85914
+ const showMenuBtn = footerActions.length > 1;
85915
+ const menuItems = footerActions.slice(1);
85916
+ return showFooter && footerActions.length > 0 ? /* @__PURE__ */ jsxs(
85917
+ Tile,
85918
+ {
85919
+ isHorizontal: true,
85920
+ style: { padding: `${spacing.Size6}px`, gap: `${spacing.Size4}px` },
85921
+ children: [
85922
+ /* @__PURE__ */ jsx(
85923
+ Button$1,
85924
+ {
85925
+ ...footerActions[0].btnProps,
85926
+ onClick: footerActions[0].onClick,
85927
+ style: { flex: 1, ...footerActions[0].btnProps?.style },
85928
+ children: footerActions[0].label
85929
+ }
85930
+ ),
85931
+ showMenuBtn && /* @__PURE__ */ jsx(
85932
+ OverflowMenu,
85933
+ {
85934
+ trigger: /* @__PURE__ */ jsx(UtilityButton, { icon: /* @__PURE__ */ jsx(HiDotsHorizontal, {}) }),
85935
+ placement: "top",
85936
+ alignment: "right",
85937
+ children: menuItems.map((item, index2) => /* @__PURE__ */ createElement(
85938
+ OverflowMenuItem,
85939
+ {
85940
+ ...item.menuItemProps,
85941
+ key: index2,
85942
+ onClick: item.onClick
85943
+ },
85944
+ item.label
85945
+ ))
85946
+ }
85947
+ )
85948
+ ]
85949
+ }
85950
+ ) : null;
85951
+ };
85952
+ return /* @__PURE__ */ jsxs(
85953
+ StyledSidePanel,
85954
+ {
85955
+ closable: false,
85956
+ maskClosable: closable,
85957
+ onClose,
85958
+ width: 520,
85959
+ footer: /* @__PURE__ */ jsx(SidePanelFooter, {}),
85960
+ open,
85961
+ $type: type4,
85962
+ placement,
85963
+ children: [
85964
+ /* @__PURE__ */ jsx(StickyHeader, { children: /* @__PURE__ */ jsx(SidePanelHeader, {}) }),
85965
+ /* @__PURE__ */ jsx(ScrollableContent, { children: children2 })
85966
+ ]
85967
+ }
85968
+ );
85969
+ };
84333
85970
  const getGenesisClass$3 = ({ colors: colors2, borderRadius: borderRadius2 }) => `
84334
85971
  &.ant-switch {
84335
85972
  background-color: ${colors2.primary.active};
@@ -87057,11 +88694,11 @@ const mockColumns = [
87057
88694
  render: (appointment, record) => {
87058
88695
  const { address } = appointment;
87059
88696
  const textColor = record.isSelected ? "white" : "#6c6c6c";
87060
- return React__default.createElement(Typography, {
87061
- variant: "body2",
87062
- children: typeof address === "string" ? address : JSON.stringify(address),
87063
- color: `${textColor}`
87064
- });
88697
+ return React__default.createElement(
88698
+ Typography,
88699
+ { variant: "body2", color: `${textColor}` },
88700
+ typeof address === "string" ? address : JSON.stringify(address)
88701
+ );
87065
88702
  }
87066
88703
  },
87067
88704
  {
@@ -87517,6 +89154,177 @@ const Tabs = ({ items, onChange, selectedId }) => {
87517
89154
  }
87518
89155
  );
87519
89156
  };
89157
+ const Wrapper = styled(Tile)`
89158
+ padding: 0 ${({ theme }) => theme.sizing.Size6}px;
89159
+ background-color: #fff;
89160
+
89161
+ &:hover {
89162
+ background-color: #f4f4f4;
89163
+ }
89164
+ `;
89165
+ const Container = styled(Tile)`
89166
+ flex-direction: row;
89167
+ justify-content: flex-start;
89168
+ gap: 12px;
89169
+ background-color: ${({ theme }) => theme.colors.surface.default};
89170
+ width: 100%;
89171
+ /* padding: 0 ${({ theme }) => theme.sizing.Size24}px; */
89172
+ `;
89173
+ const TimelineColumn = styled(Tile)`
89174
+ align-items: center;
89175
+ align-self: stretch;
89176
+ flex-shrink: 0;
89177
+ padding: 0;
89178
+ width: 26px;
89179
+ `;
89180
+ const TimelineLine = styled.div`
89181
+ width: 1px;
89182
+ flex: 1;
89183
+ background-color: ${({ $color }) => $color ?? "#9A9A9A"};
89184
+ `;
89185
+ const Dot = styled.div`
89186
+ width: 8px;
89187
+ height: 8px;
89188
+ border-radius: 50%;
89189
+ flex-shrink: 0;
89190
+ background-color: #9a9a9a;
89191
+ `;
89192
+ const Content = styled(Tile)`
89193
+ gap: ${({ theme }) => theme.sizing.Size1}px;
89194
+ flex: 1;
89195
+ min-width: 0;
89196
+ padding: ${({ theme }) => theme.sizing.Size3}px 0;
89197
+ `;
89198
+ const ActionNote = styled(Tile)`
89199
+ padding: 0;
89200
+ `;
89201
+ const TileLog = ({
89202
+ timestamp,
89203
+ action,
89204
+ status = "none",
89205
+ note: note2,
89206
+ author
89207
+ }) => {
89208
+ const { theme } = useGenesis();
89209
+ const isNone = status === "none";
89210
+ const stateColors = {
89211
+ none: "#CBCBCB",
89212
+ success: "#A7DFAF",
89213
+ error: "#F3A9AB",
89214
+ "in-progress": "#AFB8FB",
89215
+ generic: "#CBCBCB"
89216
+ };
89217
+ const stateTextColors = {
89218
+ none: void 0,
89219
+ success: theme.colors.status["success"].onsurface,
89220
+ error: theme.colors.status["error"].onsurface,
89221
+ "in-progress": theme.colors.status["info"].onsurface,
89222
+ generic: theme.colors.status["generic"].onsurface
89223
+ };
89224
+ const stateIcons = {
89225
+ success: /* @__PURE__ */ jsx(
89226
+ Badge$1,
89227
+ {
89228
+ state: "success",
89229
+ customIcon: /* @__PURE__ */ jsx(
89230
+ HiCheckCircle,
89231
+ {
89232
+ size: 16,
89233
+ color: theme.colors.status["success"].onsurface
89234
+ }
89235
+ ),
89236
+ hasIcon: true
89237
+ }
89238
+ ),
89239
+ error: /* @__PURE__ */ jsx(
89240
+ Badge$1,
89241
+ {
89242
+ state: "error",
89243
+ customIcon: /* @__PURE__ */ jsx(HiXCircle, { size: 16, color: theme.colors.status["error"].onsurface }),
89244
+ hasIcon: true
89245
+ }
89246
+ ),
89247
+ "in-progress": /* @__PURE__ */ jsx(
89248
+ Badge$1,
89249
+ {
89250
+ state: "info",
89251
+ customIcon: /* @__PURE__ */ jsx(
89252
+ HiArrowCircleRight,
89253
+ {
89254
+ size: 16,
89255
+ color: theme.colors.status["info"].onsurface
89256
+ }
89257
+ ),
89258
+ hasIcon: true
89259
+ }
89260
+ ),
89261
+ generic: /* @__PURE__ */ jsx(
89262
+ Badge$1,
89263
+ {
89264
+ state: "generic",
89265
+ customIcon: /* @__PURE__ */ jsx(
89266
+ HiOutlineMinusCircle,
89267
+ {
89268
+ size: 16,
89269
+ color: theme.colors.status["generic"].onsurface
89270
+ }
89271
+ ),
89272
+ hasIcon: true
89273
+ }
89274
+ )
89275
+ };
89276
+ return /* @__PURE__ */ jsx(Wrapper, { children: /* @__PURE__ */ jsxs(Container, { children: [
89277
+ /* @__PURE__ */ jsxs(TimelineColumn, { children: [
89278
+ /* @__PURE__ */ jsx(TimelineLine, { $color: stateColors[status] }),
89279
+ isNone ? /* @__PURE__ */ jsx(Dot, {}) : stateIcons[status],
89280
+ /* @__PURE__ */ jsx(TimelineLine, { $color: stateColors[status] })
89281
+ ] }),
89282
+ /* @__PURE__ */ jsxs(Content, { children: [
89283
+ /* @__PURE__ */ jsx(
89284
+ Typography,
89285
+ {
89286
+ variant: "label3",
89287
+ lineHeight: "10px",
89288
+ color: theme.colors.onsurface["copy-light"],
89289
+ children: timestamp
89290
+ }
89291
+ ),
89292
+ /* @__PURE__ */ jsxs(ActionNote, { children: [
89293
+ /* @__PURE__ */ jsx(
89294
+ Typography,
89295
+ {
89296
+ variant: "body4",
89297
+ fontSize: "14px",
89298
+ fontWeight: 400,
89299
+ lineHeight: "27px",
89300
+ color: stateTextColors[status],
89301
+ children: action
89302
+ }
89303
+ ),
89304
+ note2 && /* @__PURE__ */ jsx(
89305
+ Typography,
89306
+ {
89307
+ variant: "body5",
89308
+ lineHeight: "23px",
89309
+ color: theme.colors.onsurface["copy-light"],
89310
+ children: note2
89311
+ }
89312
+ )
89313
+ ] }),
89314
+ author && /* @__PURE__ */ jsx(
89315
+ Typography,
89316
+ {
89317
+ variant: "label3",
89318
+ fontSize: "10px",
89319
+ fontWeight: 500,
89320
+ lineHeight: "10px",
89321
+ color: theme.colors.onsurface["copy-light"],
89322
+ children: author
89323
+ }
89324
+ )
89325
+ ] })
89326
+ ] }) });
89327
+ };
87520
89328
  const GlobalStyles = createGlobalStyle`
87521
89329
  * {
87522
89330
  margin: 0;
@@ -87558,6 +89366,7 @@ export {
87558
89366
  Layout,
87559
89367
  LineChart,
87560
89368
  Message,
89369
+ NavBar,
87561
89370
  Notification,
87562
89371
  OverflowMenu,
87563
89372
  OverflowMenuItem,
@@ -87568,12 +89377,14 @@ export {
87568
89377
  SegmentedControls,
87569
89378
  Select,
87570
89379
  Shapes,
89380
+ SidePanel,
87571
89381
  Switch,
87572
89382
  TablePagination as Table,
87573
89383
  TableWithControls,
87574
89384
  Tabs,
87575
89385
  Tag,
87576
89386
  Tile,
89387
+ TileLog,
87577
89388
  Toast,
87578
89389
  Tooltip2 as Tooltip,
87579
89390
  Typography,