@amateescu/portal-ui-components 0.0.35-beta0 → 0.0.37-beta0

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 (257) hide show
  1. package/README.md +113 -0
  2. package/dist/{Button-DG4uye8X.js → Button-BM72-1G6.js} +107 -106
  3. package/dist/ButtonBase-D6nf3ymf.js +990 -0
  4. package/dist/{CircularProgress-DpvktFBW.js → CircularProgress-BlQFR6DW.js} +107 -80
  5. package/dist/Clear-BauR3cPE.js +8 -0
  6. package/dist/DefaultPropsProvider-BtPfTrMq.js +3449 -0
  7. package/dist/UserInfoDropdown-rBF0pwlq.js +23 -0
  8. package/dist/assets/PassportConfirmationModal.css +1 -0
  9. package/dist/assets/PassportErrorModal.css +1 -0
  10. package/dist/assets/PassportKpiCard.css +1 -0
  11. package/dist/assets/PassportTabHeader.css +1 -0
  12. package/dist/assets/index.css +1 -0
  13. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.d.ts +3 -0
  14. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.d.ts.map +1 -0
  15. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.js +31 -0
  16. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.stories.d.ts +23 -0
  17. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.stories.d.ts.map +1 -0
  18. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.types.d.ts +8 -0
  19. package/dist/components/DebouncedPassportInput/DebouncedPassportInput.types.d.ts.map +1 -0
  20. package/dist/components/InfoModal/InfoModal.d.ts +2 -1
  21. package/dist/components/InfoModal/InfoModal.d.ts.map +1 -0
  22. package/dist/components/InfoModal/InfoModal.js +26 -15
  23. package/dist/components/InfoModal/InfoModal.stories.d.ts +1 -0
  24. package/dist/components/InfoModal/InfoModal.stories.d.ts.map +1 -0
  25. package/dist/components/InfoModal/InfoModal.types.d.ts +1 -0
  26. package/dist/components/InfoModal/InfoModal.types.d.ts.map +1 -0
  27. package/dist/components/LoadingAnimation/LoadingAnimation.d.ts +1 -0
  28. package/dist/components/LoadingAnimation/LoadingAnimation.d.ts.map +1 -0
  29. package/dist/components/LoadingAnimation/LoadingAnimation.js +66 -6
  30. package/dist/components/LoadingAnimation/LoadingAnimation.stories.d.ts +1 -0
  31. package/dist/components/LoadingAnimation/LoadingAnimation.stories.d.ts.map +1 -0
  32. package/dist/components/Login/Login.d.ts +2 -1
  33. package/dist/components/Login/Login.d.ts.map +1 -0
  34. package/dist/components/Login/Login.js +43 -8885
  35. package/dist/components/Login/Login.stories.d.ts +3 -2
  36. package/dist/components/Login/Login.stories.d.ts.map +1 -0
  37. package/dist/components/Login/Login.types.d.ts +1 -0
  38. package/dist/components/Login/Login.types.d.ts.map +1 -0
  39. package/dist/components/PassportAutocomplete/PassportAutocomplete.d.ts +3 -0
  40. package/dist/components/PassportAutocomplete/PassportAutocomplete.d.ts.map +1 -0
  41. package/dist/components/PassportAutocomplete/PassportAutocomplete.js +41 -0
  42. package/dist/components/PassportAutocomplete/PassportAutocomplete.stories.d.ts +22 -0
  43. package/dist/components/PassportAutocomplete/PassportAutocomplete.stories.d.ts.map +1 -0
  44. package/dist/components/PassportAutocomplete/PassportAutocomplete.types.d.ts +14 -0
  45. package/dist/components/PassportAutocomplete/PassportAutocomplete.types.d.ts.map +1 -0
  46. package/dist/components/PassportButton/PassportButton.d.ts +4 -0
  47. package/dist/components/PassportButton/PassportButton.d.ts.map +1 -0
  48. package/dist/components/{CustomButton/CustomButton.js → PassportButton/PassportButton.js} +10 -6
  49. package/dist/components/{CustomButton/CustomButton.stories.d.ts → PassportButton/PassportButton.stories.d.ts} +2 -1
  50. package/dist/components/PassportButton/PassportButton.stories.d.ts.map +1 -0
  51. package/dist/components/PassportButton/PassportButton.types.d.ts +9 -0
  52. package/dist/components/PassportButton/PassportButton.types.d.ts.map +1 -0
  53. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.d.ts +9 -0
  54. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.d.ts.map +1 -0
  55. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.js +108 -0
  56. package/dist/components/{ErrorModal/ErrorModal.stories.d.ts → PassportConfirmationModal/PassportConfirmationModal.stories.d.ts} +1 -0
  57. package/dist/components/PassportConfirmationModal/PassportConfirmationModal.stories.d.ts.map +1 -0
  58. package/dist/components/PassportDatePicker/PassportDatePicker.d.ts +3 -0
  59. package/dist/components/PassportDatePicker/PassportDatePicker.d.ts.map +1 -0
  60. package/dist/components/PassportDatePicker/PassportDatePicker.js +1514 -0
  61. package/dist/components/PassportDatePicker/PassportDatePicker.stories.d.ts +25 -0
  62. package/dist/components/PassportDatePicker/PassportDatePicker.stories.d.ts.map +1 -0
  63. package/dist/components/PassportDatePicker/PassportDatePicker.types.d.ts +15 -0
  64. package/dist/components/PassportDatePicker/PassportDatePicker.types.d.ts.map +1 -0
  65. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.d.ts +3 -0
  66. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.d.ts.map +1 -0
  67. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.js +5419 -0
  68. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.stories.d.ts +30 -0
  69. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.stories.d.ts.map +1 -0
  70. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.types.d.ts +16 -0
  71. package/dist/components/PassportDateTimePicker/PassportDateTimePicker.types.d.ts.map +1 -0
  72. package/dist/components/PassportDropdown/PassportDropdown.d.ts +3 -0
  73. package/dist/components/PassportDropdown/PassportDropdown.d.ts.map +1 -0
  74. package/dist/components/PassportDropdown/PassportDropdown.js +37 -0
  75. package/dist/components/PassportDropdown/PassportDropdown.stories.d.ts +25 -0
  76. package/dist/components/PassportDropdown/PassportDropdown.stories.d.ts.map +1 -0
  77. package/dist/components/PassportDropdown/PassportDropdown.types.d.ts +14 -0
  78. package/dist/components/PassportDropdown/PassportDropdown.types.d.ts.map +1 -0
  79. package/dist/components/PassportErrorModal/PassportErrorModal.d.ts +8 -0
  80. package/dist/components/PassportErrorModal/PassportErrorModal.d.ts.map +1 -0
  81. package/dist/components/PassportErrorModal/PassportErrorModal.js +68 -0
  82. package/dist/components/{ConfirmationModal/ConfirmationModal.stories.d.ts → PassportErrorModal/PassportErrorModal.stories.d.ts} +1 -0
  83. package/dist/components/PassportErrorModal/PassportErrorModal.stories.d.ts.map +1 -0
  84. package/dist/components/PassportFooter/PassportFooter.d.ts +3 -0
  85. package/dist/components/PassportFooter/PassportFooter.d.ts.map +1 -0
  86. package/dist/components/PassportFooter/PassportFooter.js +56 -0
  87. package/dist/components/{CustomFooter/CustomFooter.stories.d.ts → PassportFooter/PassportFooter.stories.d.ts} +1 -0
  88. package/dist/components/PassportFooter/PassportFooter.stories.d.ts.map +1 -0
  89. package/dist/components/{CustomFooter/CustomFooter.types.d.ts → PassportFooter/PassportFooter.types.d.ts} +3 -2
  90. package/dist/components/PassportFooter/PassportFooter.types.d.ts.map +1 -0
  91. package/dist/components/PassportInput/PassportInput.d.ts +3 -0
  92. package/dist/components/PassportInput/PassportInput.d.ts.map +1 -0
  93. package/dist/components/PassportInput/PassportInput.js +51 -0
  94. package/dist/components/PassportInput/PassportInput.stories.d.ts +24 -0
  95. package/dist/components/PassportInput/PassportInput.stories.d.ts.map +1 -0
  96. package/dist/components/PassportInput/PassportInput.types.d.ts +9 -0
  97. package/dist/components/PassportInput/PassportInput.types.d.ts.map +1 -0
  98. package/dist/components/PassportInput/PassportInput.types.js +1 -0
  99. package/dist/components/PassportKpiCard/PassportKpiCard.d.ts +3 -0
  100. package/dist/components/PassportKpiCard/PassportKpiCard.d.ts.map +1 -0
  101. package/dist/components/PassportKpiCard/PassportKpiCard.js +43 -0
  102. package/dist/components/{KpiCard/KpiCard.stories.d.ts → PassportKpiCard/PassportKpiCard.stories.d.ts} +3 -2
  103. package/dist/components/PassportKpiCard/PassportKpiCard.stories.d.ts.map +1 -0
  104. package/dist/components/PassportKpiCard/PassportKpiCard.types.d.ts +11 -0
  105. package/dist/components/PassportKpiCard/PassportKpiCard.types.d.ts.map +1 -0
  106. package/dist/components/PassportKpiCard/PassportKpiCard.types.js +1 -0
  107. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.d.ts +3 -0
  108. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.d.ts.map +1 -0
  109. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.js +22 -0
  110. package/dist/components/{KpiWrapper/KpiWrapper.stories.d.ts → PassportKpiWrapper/PassportKpiWrapper.stories.d.ts} +6 -5
  111. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.stories.d.ts.map +1 -0
  112. package/dist/components/{KpiWrapper/KpiWrapper.types.d.ts → PassportKpiWrapper/PassportKpiWrapper.types.d.ts} +2 -1
  113. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.types.d.ts.map +1 -0
  114. package/dist/components/PassportKpiWrapper/PassportKpiWrapper.types.js +1 -0
  115. package/dist/components/PassportMultiSelect/PassportMultiSelect.d.ts +3 -0
  116. package/dist/components/PassportMultiSelect/PassportMultiSelect.d.ts.map +1 -0
  117. package/dist/components/PassportMultiSelect/PassportMultiSelect.js +72 -0
  118. package/dist/components/PassportMultiSelect/PassportMultiSelect.stories.d.ts +24 -0
  119. package/dist/components/PassportMultiSelect/PassportMultiSelect.stories.d.ts.map +1 -0
  120. package/dist/components/PassportMultiSelect/PassportMultiSelect.types.d.ts +12 -0
  121. package/dist/components/PassportMultiSelect/PassportMultiSelect.types.d.ts.map +1 -0
  122. package/dist/components/PassportMultiSelect/PassportMultiSelect.types.js +1 -0
  123. package/dist/components/PassportPagination/PassportPagination.d.ts +3 -0
  124. package/dist/components/PassportPagination/PassportPagination.d.ts.map +1 -0
  125. package/dist/components/{CustomPagination/CustomPagination.js → PassportPagination/PassportPagination.js} +215 -218
  126. package/dist/components/{CustomPagination/CustomPagination.stories.d.ts → PassportPagination/PassportPagination.stories.d.ts} +3 -2
  127. package/dist/components/PassportPagination/PassportPagination.stories.d.ts.map +1 -0
  128. package/dist/components/{CustomPagination/CustomPagination.types.d.ts → PassportPagination/PassportPagination.types.d.ts} +2 -1
  129. package/dist/components/PassportPagination/PassportPagination.types.d.ts.map +1 -0
  130. package/dist/components/PassportPagination/PassportPagination.types.js +1 -0
  131. package/dist/components/PassportTabHeader/PassportTabHeader.d.ts +7 -0
  132. package/dist/components/PassportTabHeader/PassportTabHeader.d.ts.map +1 -0
  133. package/dist/components/PassportTabHeader/PassportTabHeader.js +14 -0
  134. package/dist/components/PassportTabHeader/PassportTabHeader.stories.d.ts +21 -0
  135. package/dist/components/PassportTabHeader/PassportTabHeader.stories.d.ts.map +1 -0
  136. package/dist/components/PassportTextField/PassportTextField.d.ts +3 -0
  137. package/dist/components/PassportTextField/PassportTextField.d.ts.map +1 -0
  138. package/dist/components/PassportTextField/PassportTextField.js +23 -0
  139. package/dist/components/PassportTextField/PassportTextField.stories.d.ts +22 -0
  140. package/dist/components/PassportTextField/PassportTextField.stories.d.ts.map +1 -0
  141. package/dist/components/SideMenu/SideMenu.d.ts +1 -0
  142. package/dist/components/SideMenu/SideMenu.d.ts.map +1 -0
  143. package/dist/components/SideMenu/SideMenu.js +89 -41
  144. package/dist/components/SideMenu/SideMenu.stories.d.ts +1 -0
  145. package/dist/components/SideMenu/SideMenu.stories.d.ts.map +1 -0
  146. package/dist/components/SideMenu/SideMenu.types.d.ts +1 -0
  147. package/dist/components/SideMenu/SideMenu.types.d.ts.map +1 -0
  148. package/dist/components/TotalDataGrid/TotalDataGrid.d.ts +1 -0
  149. package/dist/components/TotalDataGrid/TotalDataGrid.d.ts.map +1 -0
  150. package/dist/components/TotalDataGrid/TotalDataGrid.js +3 -3
  151. package/dist/components/TotalDataGrid/TotalDataGrid.stories.d.ts +1 -0
  152. package/dist/components/TotalDataGrid/TotalDataGrid.stories.d.ts.map +1 -0
  153. package/dist/components/TotalDataGrid/TotalDataGrid.types.d.ts +1 -0
  154. package/dist/components/TotalDataGrid/TotalDataGrid.types.d.ts.map +1 -0
  155. package/dist/components/UserInfoDropdown/UserInfoDropdown.d.ts +1 -0
  156. package/dist/components/UserInfoDropdown/UserInfoDropdown.d.ts.map +1 -0
  157. package/dist/components/UserInfoDropdown/UserInfoDropdown.js +3 -2
  158. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.d.ts +1 -0
  159. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.d.ts.map +1 -0
  160. package/dist/components/UserInfoDropdown/UserInfoDropdown.types.d.ts +1 -0
  161. package/dist/components/UserInfoDropdown/UserInfoDropdown.types.d.ts.map +1 -0
  162. package/dist/components/index.d.ts +17 -7
  163. package/dist/components/index.d.ts.map +1 -0
  164. package/dist/components/index.js +45 -28
  165. package/dist/createSimplePaletteValueFilter-Bz8RuRaa.js +23 -0
  166. package/dist/{createSvgIcon-DNSRtm3a.js → createSvgIcon-B-eIQ7rU.js} +118 -124
  167. package/dist/extendSxProp-QNe1Nf_s.js +51 -0
  168. package/dist/main.d.ts +1 -0
  169. package/dist/main.d.ts.map +1 -0
  170. package/dist/main.js +63 -46
  171. package/dist/mock.d.ts +1 -0
  172. package/dist/mock.d.ts.map +1 -0
  173. package/dist/portal-utils/chunkArray.d.ts +1 -0
  174. package/dist/portal-utils/chunkArray.d.ts.map +1 -0
  175. package/dist/portal-utils/cn.d.ts +1 -0
  176. package/dist/portal-utils/cn.d.ts.map +1 -0
  177. package/dist/portal-utils/formatters.d.ts +1 -0
  178. package/dist/portal-utils/formatters.d.ts.map +1 -0
  179. package/dist/portal-utils/formatters.js +291 -334
  180. package/dist/portal-utils/index.d.ts +2 -1
  181. package/dist/portal-utils/index.d.ts.map +1 -0
  182. package/dist/portal-utils/loggerService.d.ts +1 -0
  183. package/dist/portal-utils/loggerService.d.ts.map +1 -0
  184. package/dist/portal-utils/pageCount.d.ts +1 -0
  185. package/dist/portal-utils/pageCount.d.ts.map +1 -0
  186. package/dist/types/BusinessDayRange.d.ts +1 -0
  187. package/dist/types/BusinessDayRange.d.ts.map +1 -0
  188. package/dist/types/Column.d.ts +1 -0
  189. package/dist/types/Column.d.ts.map +1 -0
  190. package/dist/types/CultureStore.d.ts +1 -0
  191. package/dist/types/CultureStore.d.ts.map +1 -0
  192. package/dist/types/CustomSvg.d.ts +1 -0
  193. package/dist/types/CustomSvg.d.ts.map +1 -0
  194. package/dist/types/LoginRequest.d.ts +1 -0
  195. package/dist/types/LoginRequest.d.ts.map +1 -0
  196. package/dist/types/index.d.ts +1 -0
  197. package/dist/types/index.d.ts.map +1 -0
  198. package/dist/useMobilePicker-hk2kq6ev.js +19662 -0
  199. package/dist/useSlot-CXnK24LX.js +189 -0
  200. package/package.json +39 -38
  201. package/dist/Box-C-zPAMZN.js +0 -102
  202. package/dist/ButtonBase-DrxMtoTW.js +0 -966
  203. package/dist/EllipsisOutlined-DfCu6q_b.js +0 -2467
  204. package/dist/InvencoGVR-qnTq-d6S.js +0 -5
  205. package/dist/PurePanel-DvQTygSo.js +0 -2209
  206. package/dist/Skeleton-Bh0A9xju.js +0 -565
  207. package/dist/UserInfoDropdown-CWTcdnqL.js +0 -3755
  208. package/dist/VModalIcon-D7L4bQLO.js +0 -5
  209. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  210. package/dist/assets/ConfirmationModal.css +0 -1
  211. package/dist/assets/KpiCard.css +0 -1
  212. package/dist/assets/globals.css +0 -1
  213. package/dist/components/ConfirmationModal/ConfirmationModal.d.ts +0 -2
  214. package/dist/components/ConfirmationModal/ConfirmationModal.js +0 -51
  215. package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +0 -36
  216. package/dist/components/ConfirmationModal/ConfirmationModal.types.d.ts +0 -11
  217. package/dist/components/CustomButton/CustomButton.d.ts +0 -3
  218. package/dist/components/CustomButton/CustomButton.stories.js +0 -42
  219. package/dist/components/CustomButton/CustomeButton.types.d.ts +0 -8
  220. package/dist/components/CustomFooter/CustomFooter.d.ts +0 -2
  221. package/dist/components/CustomFooter/CustomFooter.js +0 -32
  222. package/dist/components/CustomFooter/CustomFooter.stories.js +0 -40
  223. package/dist/components/CustomPagination/CustomPagination.d.ts +0 -3
  224. package/dist/components/CustomPagination/CustomPagination.stories.js +0 -25
  225. package/dist/components/ErrorModal/ErrorModal.d.ts +0 -2
  226. package/dist/components/ErrorModal/ErrorModal.js +0 -40
  227. package/dist/components/ErrorModal/ErrorModal.stories.js +0 -33
  228. package/dist/components/ErrorModal/ErrorModal.types.d.ts +0 -8
  229. package/dist/components/InfoModal/InfoModal.stories.js +0 -33
  230. package/dist/components/KpiCard/KpiCard.d.ts +0 -2
  231. package/dist/components/KpiCard/KpiCard.js +0 -2439
  232. package/dist/components/KpiCard/KpiCard.stories.js +0 -26
  233. package/dist/components/KpiCard/KpiCard.types.d.ts +0 -8
  234. package/dist/components/KpiWrapper/KpiWrapper.d.ts +0 -2
  235. package/dist/components/KpiWrapper/KpiWrapper.js +0 -11
  236. package/dist/components/KpiWrapper/KpiWrapper.stories.js +0 -56
  237. package/dist/components/LoadingAnimation/LoadingAnimation.stories.js +0 -14
  238. package/dist/components/Login/Login.stories.js +0 -24212
  239. package/dist/components/SideMenu/SideMenu.stories.js +0 -81
  240. package/dist/components/TotalDataGrid/TotalDataGrid.stories.js +0 -23
  241. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +0 -36
  242. package/dist/context-dCWAMvX5.js +0 -7320
  243. package/dist/createSimplePaletteValueFilter-CwLqlaaZ.js +0 -3457
  244. package/dist/index-B00P9-H3.js +0 -1681
  245. package/dist/index-BBBjHj3B.js +0 -411
  246. package/dist/objectWithoutPropertiesLoose-BTau6TOn.js +0 -33
  247. package/dist/useSlot-B4sbbhYz.js +0 -188
  248. /package/dist/assets/{ErrorModal.css → InfoModal.css} +0 -0
  249. /package/dist/assets/{CustomFooter.css → PassportFooter.css} +0 -0
  250. /package/dist/assets/{KpiWrapper.css → PassportKpiWrapper.css} +0 -0
  251. /package/dist/components/{ConfirmationModal/ConfirmationModal.types.js → DebouncedPassportInput/DebouncedPassportInput.types.js} +0 -0
  252. /package/dist/components/{CustomButton/CustomeButton.types.js → PassportAutocomplete/PassportAutocomplete.types.js} +0 -0
  253. /package/dist/components/{CustomFooter/CustomFooter.types.js → PassportButton/PassportButton.types.js} +0 -0
  254. /package/dist/components/{CustomPagination/CustomPagination.types.js → PassportDatePicker/PassportDatePicker.types.js} +0 -0
  255. /package/dist/components/{ErrorModal/ErrorModal.types.js → PassportDateTimePicker/PassportDateTimePicker.types.js} +0 -0
  256. /package/dist/components/{KpiCard/KpiCard.types.js → PassportDropdown/PassportDropdown.types.js} +0 -0
  257. /package/dist/components/{KpiWrapper/KpiWrapper.types.js → PassportFooter/PassportFooter.types.js} +0 -0
@@ -1,3457 +0,0 @@
1
- import * as Ge from "react";
2
- import Tr from "@emotion/styled";
3
- import "@emotion/react";
4
- import { g as wr } from "./_commonjsHelpers-C6fGbg64.js";
5
- import "react/jsx-runtime";
6
- var Be = { exports: {} }, Ve = { exports: {} }, V = {};
7
- /** @license React v16.13.1
8
- * react-is.production.min.js
9
- *
10
- * Copyright (c) Facebook, Inc. and its affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
- var $t;
16
- function xr() {
17
- if ($t) return V;
18
- $t = 1;
19
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
20
- function x(h) {
21
- if (typeof h == "object" && h !== null) {
22
- var B = h.$$typeof;
23
- switch (B) {
24
- case t:
25
- switch (h = h.type, h) {
26
- case l:
27
- case d:
28
- case n:
29
- case i:
30
- case o:
31
- case g:
32
- return h;
33
- default:
34
- switch (h = h && h.$$typeof, h) {
35
- case u:
36
- case m:
37
- case b:
38
- case S:
39
- case s:
40
- return h;
41
- default:
42
- return B;
43
- }
44
- }
45
- case r:
46
- return B;
47
- }
48
- }
49
- }
50
- function T(h) {
51
- return x(h) === d;
52
- }
53
- return V.AsyncMode = l, V.ConcurrentMode = d, V.ContextConsumer = u, V.ContextProvider = s, V.Element = t, V.ForwardRef = m, V.Fragment = n, V.Lazy = b, V.Memo = S, V.Portal = r, V.Profiler = i, V.StrictMode = o, V.Suspense = g, V.isAsyncMode = function(h) {
54
- return T(h) || x(h) === l;
55
- }, V.isConcurrentMode = T, V.isContextConsumer = function(h) {
56
- return x(h) === u;
57
- }, V.isContextProvider = function(h) {
58
- return x(h) === s;
59
- }, V.isElement = function(h) {
60
- return typeof h == "object" && h !== null && h.$$typeof === t;
61
- }, V.isForwardRef = function(h) {
62
- return x(h) === m;
63
- }, V.isFragment = function(h) {
64
- return x(h) === n;
65
- }, V.isLazy = function(h) {
66
- return x(h) === b;
67
- }, V.isMemo = function(h) {
68
- return x(h) === S;
69
- }, V.isPortal = function(h) {
70
- return x(h) === r;
71
- }, V.isProfiler = function(h) {
72
- return x(h) === i;
73
- }, V.isStrictMode = function(h) {
74
- return x(h) === o;
75
- }, V.isSuspense = function(h) {
76
- return x(h) === g;
77
- }, V.isValidElementType = function(h) {
78
- return typeof h == "string" || typeof h == "function" || h === n || h === d || h === i || h === o || h === g || h === p || typeof h == "object" && h !== null && (h.$$typeof === b || h.$$typeof === S || h.$$typeof === s || h.$$typeof === u || h.$$typeof === m || h.$$typeof === w || h.$$typeof === $ || h.$$typeof === K || h.$$typeof === c);
79
- }, V.typeOf = x, V;
80
- }
81
- var j = {};
82
- /** @license React v16.13.1
83
- * react-is.development.js
84
- *
85
- * Copyright (c) Facebook, Inc. and its affiliates.
86
- *
87
- * This source code is licensed under the MIT license found in the
88
- * LICENSE file in the root directory of this source tree.
89
- */
90
- var Ot;
91
- function $r() {
92
- return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && function() {
93
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, $ = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
94
- function x(v) {
95
- return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
96
- v === n || v === d || v === i || v === o || v === g || v === p || typeof v == "object" && v !== null && (v.$$typeof === b || v.$$typeof === S || v.$$typeof === s || v.$$typeof === u || v.$$typeof === m || v.$$typeof === w || v.$$typeof === $ || v.$$typeof === K || v.$$typeof === c);
97
- }
98
- function T(v) {
99
- if (typeof v == "object" && v !== null) {
100
- var ce = v.$$typeof;
101
- switch (ce) {
102
- case t:
103
- var De = v.type;
104
- switch (De) {
105
- case l:
106
- case d:
107
- case n:
108
- case i:
109
- case o:
110
- case g:
111
- return De;
112
- default:
113
- var xt = De && De.$$typeof;
114
- switch (xt) {
115
- case u:
116
- case m:
117
- case b:
118
- case S:
119
- case s:
120
- return xt;
121
- default:
122
- return ce;
123
- }
124
- }
125
- case r:
126
- return ce;
127
- }
128
- }
129
- }
130
- var h = l, B = d, z = u, ee = s, G = t, a = m, E = n, A = b, I = S, J = r, Z = i, te = o, ne = g, be = !1;
131
- function Ce(v) {
132
- return be || (be = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(v) || T(v) === l;
133
- }
134
- function y(v) {
135
- return T(v) === d;
136
- }
137
- function C(v) {
138
- return T(v) === u;
139
- }
140
- function k(v) {
141
- return T(v) === s;
142
- }
143
- function R(v) {
144
- return typeof v == "object" && v !== null && v.$$typeof === t;
145
- }
146
- function O(v) {
147
- return T(v) === m;
148
- }
149
- function N(v) {
150
- return T(v) === n;
151
- }
152
- function _(v) {
153
- return T(v) === b;
154
- }
155
- function P(v) {
156
- return T(v) === S;
157
- }
158
- function M(v) {
159
- return T(v) === r;
160
- }
161
- function F(v) {
162
- return T(v) === i;
163
- }
164
- function D(v) {
165
- return T(v) === o;
166
- }
167
- function re(v) {
168
- return T(v) === g;
169
- }
170
- j.AsyncMode = h, j.ConcurrentMode = B, j.ContextConsumer = z, j.ContextProvider = ee, j.Element = G, j.ForwardRef = a, j.Fragment = E, j.Lazy = A, j.Memo = I, j.Portal = J, j.Profiler = Z, j.StrictMode = te, j.Suspense = ne, j.isAsyncMode = Ce, j.isConcurrentMode = y, j.isContextConsumer = C, j.isContextProvider = k, j.isElement = R, j.isForwardRef = O, j.isFragment = N, j.isLazy = _, j.isMemo = P, j.isPortal = M, j.isProfiler = F, j.isStrictMode = D, j.isSuspense = re, j.isValidElementType = x, j.typeOf = T;
171
- }()), j;
172
- }
173
- var _t;
174
- function or() {
175
- return _t || (_t = 1, process.env.NODE_ENV === "production" ? Ve.exports = xr() : Ve.exports = $r()), Ve.exports;
176
- }
177
- /*
178
- object-assign
179
- (c) Sindre Sorhus
180
- @license MIT
181
- */
182
- var ot, At;
183
- function Or() {
184
- if (At) return ot;
185
- At = 1;
186
- var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
187
- function n(i) {
188
- if (i == null)
189
- throw new TypeError("Object.assign cannot be called with null or undefined");
190
- return Object(i);
191
- }
192
- function o() {
193
- try {
194
- if (!Object.assign)
195
- return !1;
196
- var i = new String("abc");
197
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
198
- return !1;
199
- for (var s = {}, u = 0; u < 10; u++)
200
- s["_" + String.fromCharCode(u)] = u;
201
- var l = Object.getOwnPropertyNames(s).map(function(m) {
202
- return s[m];
203
- });
204
- if (l.join("") !== "0123456789")
205
- return !1;
206
- var d = {};
207
- return "abcdefghijklmnopqrst".split("").forEach(function(m) {
208
- d[m] = m;
209
- }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
210
- } catch {
211
- return !1;
212
- }
213
- }
214
- return ot = o() ? Object.assign : function(i, s) {
215
- for (var u, l = n(i), d, m = 1; m < arguments.length; m++) {
216
- u = Object(arguments[m]);
217
- for (var g in u)
218
- t.call(u, g) && (l[g] = u[g]);
219
- if (e) {
220
- d = e(u);
221
- for (var p = 0; p < d.length; p++)
222
- r.call(u, d[p]) && (l[d[p]] = u[d[p]]);
223
- }
224
- }
225
- return l;
226
- }, ot;
227
- }
228
- var it, Rt;
229
- function yt() {
230
- if (Rt) return it;
231
- Rt = 1;
232
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
233
- return it = e, it;
234
- }
235
- var at, Pt;
236
- function ir() {
237
- return Pt || (Pt = 1, at = Function.call.bind(Object.prototype.hasOwnProperty)), at;
238
- }
239
- var st, kt;
240
- function _r() {
241
- if (kt) return st;
242
- kt = 1;
243
- var e = function() {
244
- };
245
- if (process.env.NODE_ENV !== "production") {
246
- var t = /* @__PURE__ */ yt(), r = {}, n = /* @__PURE__ */ ir();
247
- e = function(i) {
248
- var s = "Warning: " + i;
249
- typeof console < "u" && console.error(s);
250
- try {
251
- throw new Error(s);
252
- } catch {
253
- }
254
- };
255
- }
256
- function o(i, s, u, l, d) {
257
- if (process.env.NODE_ENV !== "production") {
258
- for (var m in i)
259
- if (n(i, m)) {
260
- var g;
261
- try {
262
- if (typeof i[m] != "function") {
263
- var p = Error(
264
- (l || "React class") + ": " + u + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
265
- );
266
- throw p.name = "Invariant Violation", p;
267
- }
268
- g = i[m](s, m, l, u, null, t);
269
- } catch (b) {
270
- g = b;
271
- }
272
- if (g && !(g instanceof Error) && e(
273
- (l || "React class") + ": type specification of " + u + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
274
- ), g instanceof Error && !(g.message in r)) {
275
- r[g.message] = !0;
276
- var S = d ? d() : "";
277
- e(
278
- "Failed " + u + " type: " + g.message + (S ?? "")
279
- );
280
- }
281
- }
282
- }
283
- }
284
- return o.resetWarningCache = function() {
285
- process.env.NODE_ENV !== "production" && (r = {});
286
- }, st = o, st;
287
- }
288
- var ct, It;
289
- function Ar() {
290
- if (It) return ct;
291
- It = 1;
292
- var e = or(), t = Or(), r = /* @__PURE__ */ yt(), n = /* @__PURE__ */ ir(), o = /* @__PURE__ */ _r(), i = function() {
293
- };
294
- process.env.NODE_ENV !== "production" && (i = function(u) {
295
- var l = "Warning: " + u;
296
- typeof console < "u" && console.error(l);
297
- try {
298
- throw new Error(l);
299
- } catch {
300
- }
301
- });
302
- function s() {
303
- return null;
304
- }
305
- return ct = function(u, l) {
306
- var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
307
- function g(y) {
308
- var C = y && (d && y[d] || y[m]);
309
- if (typeof C == "function")
310
- return C;
311
- }
312
- var p = "<<anonymous>>", S = {
313
- array: $("array"),
314
- bigint: $("bigint"),
315
- bool: $("boolean"),
316
- func: $("function"),
317
- number: $("number"),
318
- object: $("object"),
319
- string: $("string"),
320
- symbol: $("symbol"),
321
- any: K(),
322
- arrayOf: x,
323
- element: T(),
324
- elementType: h(),
325
- instanceOf: B,
326
- node: a(),
327
- objectOf: ee,
328
- oneOf: z,
329
- oneOfType: G,
330
- shape: A,
331
- exact: I
332
- };
333
- function b(y, C) {
334
- return y === C ? y !== 0 || 1 / y === 1 / C : y !== y && C !== C;
335
- }
336
- function c(y, C) {
337
- this.message = y, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
338
- }
339
- c.prototype = Error.prototype;
340
- function w(y) {
341
- if (process.env.NODE_ENV !== "production")
342
- var C = {}, k = 0;
343
- function R(N, _, P, M, F, D, re) {
344
- if (M = M || p, D = D || P, re !== r) {
345
- if (l) {
346
- var v = new Error(
347
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
348
- );
349
- throw v.name = "Invariant Violation", v;
350
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
351
- var ce = M + ":" + P;
352
- !C[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
353
- k < 3 && (i(
354
- "You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
355
- ), C[ce] = !0, k++);
356
- }
357
- }
358
- return _[P] == null ? N ? _[P] === null ? new c("The " + F + " `" + D + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new c("The " + F + " `" + D + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : y(_, P, M, F, D);
359
- }
360
- var O = R.bind(null, !1);
361
- return O.isRequired = R.bind(null, !0), O;
362
- }
363
- function $(y) {
364
- function C(k, R, O, N, _, P) {
365
- var M = k[R], F = te(M);
366
- if (F !== y) {
367
- var D = ne(M);
368
- return new c(
369
- "Invalid " + N + " `" + _ + "` of type " + ("`" + D + "` supplied to `" + O + "`, expected ") + ("`" + y + "`."),
370
- { expectedType: y }
371
- );
372
- }
373
- return null;
374
- }
375
- return w(C);
376
- }
377
- function K() {
378
- return w(s);
379
- }
380
- function x(y) {
381
- function C(k, R, O, N, _) {
382
- if (typeof y != "function")
383
- return new c("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
384
- var P = k[R];
385
- if (!Array.isArray(P)) {
386
- var M = te(P);
387
- return new c("Invalid " + N + " `" + _ + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected an array."));
388
- }
389
- for (var F = 0; F < P.length; F++) {
390
- var D = y(P, F, O, N, _ + "[" + F + "]", r);
391
- if (D instanceof Error)
392
- return D;
393
- }
394
- return null;
395
- }
396
- return w(C);
397
- }
398
- function T() {
399
- function y(C, k, R, O, N) {
400
- var _ = C[k];
401
- if (!u(_)) {
402
- var P = te(_);
403
- return new c("Invalid " + O + " `" + N + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement."));
404
- }
405
- return null;
406
- }
407
- return w(y);
408
- }
409
- function h() {
410
- function y(C, k, R, O, N) {
411
- var _ = C[k];
412
- if (!e.isValidElementType(_)) {
413
- var P = te(_);
414
- return new c("Invalid " + O + " `" + N + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement type."));
415
- }
416
- return null;
417
- }
418
- return w(y);
419
- }
420
- function B(y) {
421
- function C(k, R, O, N, _) {
422
- if (!(k[R] instanceof y)) {
423
- var P = y.name || p, M = Ce(k[R]);
424
- return new c("Invalid " + N + " `" + _ + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected ") + ("instance of `" + P + "`."));
425
- }
426
- return null;
427
- }
428
- return w(C);
429
- }
430
- function z(y) {
431
- if (!Array.isArray(y))
432
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
433
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
434
- ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
435
- function C(k, R, O, N, _) {
436
- for (var P = k[R], M = 0; M < y.length; M++)
437
- if (b(P, y[M]))
438
- return null;
439
- var F = JSON.stringify(y, function(re, v) {
440
- var ce = ne(v);
441
- return ce === "symbol" ? String(v) : v;
442
- });
443
- return new c("Invalid " + N + " `" + _ + "` of value `" + String(P) + "` " + ("supplied to `" + O + "`, expected one of " + F + "."));
444
- }
445
- return w(C);
446
- }
447
- function ee(y) {
448
- function C(k, R, O, N, _) {
449
- if (typeof y != "function")
450
- return new c("Property `" + _ + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
451
- var P = k[R], M = te(P);
452
- if (M !== "object")
453
- return new c("Invalid " + N + " `" + _ + "` of type " + ("`" + M + "` supplied to `" + O + "`, expected an object."));
454
- for (var F in P)
455
- if (n(P, F)) {
456
- var D = y(P, F, O, N, _ + "." + F, r);
457
- if (D instanceof Error)
458
- return D;
459
- }
460
- return null;
461
- }
462
- return w(C);
463
- }
464
- function G(y) {
465
- if (!Array.isArray(y))
466
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
467
- for (var C = 0; C < y.length; C++) {
468
- var k = y[C];
469
- if (typeof k != "function")
470
- return i(
471
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + be(k) + " at index " + C + "."
472
- ), s;
473
- }
474
- function R(O, N, _, P, M) {
475
- for (var F = [], D = 0; D < y.length; D++) {
476
- var re = y[D], v = re(O, N, _, P, M, r);
477
- if (v == null)
478
- return null;
479
- v.data && n(v.data, "expectedType") && F.push(v.data.expectedType);
480
- }
481
- var ce = F.length > 0 ? ", expected one of type [" + F.join(", ") + "]" : "";
482
- return new c("Invalid " + P + " `" + M + "` supplied to " + ("`" + _ + "`" + ce + "."));
483
- }
484
- return w(R);
485
- }
486
- function a() {
487
- function y(C, k, R, O, N) {
488
- return J(C[k]) ? null : new c("Invalid " + O + " `" + N + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
489
- }
490
- return w(y);
491
- }
492
- function E(y, C, k, R, O) {
493
- return new c(
494
- (y || "React class") + ": " + C + " type `" + k + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
495
- );
496
- }
497
- function A(y) {
498
- function C(k, R, O, N, _) {
499
- var P = k[R], M = te(P);
500
- if (M !== "object")
501
- return new c("Invalid " + N + " `" + _ + "` of type `" + M + "` " + ("supplied to `" + O + "`, expected `object`."));
502
- for (var F in y) {
503
- var D = y[F];
504
- if (typeof D != "function")
505
- return E(O, N, _, F, ne(D));
506
- var re = D(P, F, O, N, _ + "." + F, r);
507
- if (re)
508
- return re;
509
- }
510
- return null;
511
- }
512
- return w(C);
513
- }
514
- function I(y) {
515
- function C(k, R, O, N, _) {
516
- var P = k[R], M = te(P);
517
- if (M !== "object")
518
- return new c("Invalid " + N + " `" + _ + "` of type `" + M + "` " + ("supplied to `" + O + "`, expected `object`."));
519
- var F = t({}, k[R], y);
520
- for (var D in F) {
521
- var re = y[D];
522
- if (n(y, D) && typeof re != "function")
523
- return E(O, N, _, D, ne(re));
524
- if (!re)
525
- return new c(
526
- "Invalid " + N + " `" + _ + "` key `" + D + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(k[R], null, " ") + `
527
- Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
528
- );
529
- var v = re(P, D, O, N, _ + "." + D, r);
530
- if (v)
531
- return v;
532
- }
533
- return null;
534
- }
535
- return w(C);
536
- }
537
- function J(y) {
538
- switch (typeof y) {
539
- case "number":
540
- case "string":
541
- case "undefined":
542
- return !0;
543
- case "boolean":
544
- return !y;
545
- case "object":
546
- if (Array.isArray(y))
547
- return y.every(J);
548
- if (y === null || u(y))
549
- return !0;
550
- var C = g(y);
551
- if (C) {
552
- var k = C.call(y), R;
553
- if (C !== y.entries) {
554
- for (; !(R = k.next()).done; )
555
- if (!J(R.value))
556
- return !1;
557
- } else
558
- for (; !(R = k.next()).done; ) {
559
- var O = R.value;
560
- if (O && !J(O[1]))
561
- return !1;
562
- }
563
- } else
564
- return !1;
565
- return !0;
566
- default:
567
- return !1;
568
- }
569
- }
570
- function Z(y, C) {
571
- return y === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
572
- }
573
- function te(y) {
574
- var C = typeof y;
575
- return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : Z(C, y) ? "symbol" : C;
576
- }
577
- function ne(y) {
578
- if (typeof y > "u" || y === null)
579
- return "" + y;
580
- var C = te(y);
581
- if (C === "object") {
582
- if (y instanceof Date)
583
- return "date";
584
- if (y instanceof RegExp)
585
- return "regexp";
586
- }
587
- return C;
588
- }
589
- function be(y) {
590
- var C = ne(y);
591
- switch (C) {
592
- case "array":
593
- case "object":
594
- return "an " + C;
595
- case "boolean":
596
- case "date":
597
- case "regexp":
598
- return "a " + C;
599
- default:
600
- return C;
601
- }
602
- }
603
- function Ce(y) {
604
- return !y.constructor || !y.constructor.name ? p : y.constructor.name;
605
- }
606
- return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
607
- }, ct;
608
- }
609
- var ut, Nt;
610
- function Rr() {
611
- if (Nt) return ut;
612
- Nt = 1;
613
- var e = /* @__PURE__ */ yt();
614
- function t() {
615
- }
616
- function r() {
617
- }
618
- return r.resetWarningCache = t, ut = function() {
619
- function n(s, u, l, d, m, g) {
620
- if (g !== e) {
621
- var p = new Error(
622
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
623
- );
624
- throw p.name = "Invariant Violation", p;
625
- }
626
- }
627
- n.isRequired = n;
628
- function o() {
629
- return n;
630
- }
631
- var i = {
632
- array: n,
633
- bigint: n,
634
- bool: n,
635
- func: n,
636
- number: n,
637
- object: n,
638
- string: n,
639
- symbol: n,
640
- any: n,
641
- arrayOf: o,
642
- element: n,
643
- elementType: n,
644
- instanceOf: o,
645
- node: n,
646
- objectOf: o,
647
- oneOf: o,
648
- oneOfType: o,
649
- shape: o,
650
- exact: o,
651
- checkPropTypes: r,
652
- resetWarningCache: t
653
- };
654
- return i.PropTypes = i, i;
655
- }, ut;
656
- }
657
- var Mt;
658
- function Pr() {
659
- if (Mt) return Be.exports;
660
- if (Mt = 1, process.env.NODE_ENV !== "production") {
661
- var e = or(), t = !0;
662
- Be.exports = /* @__PURE__ */ Ar()(e.isElement, t);
663
- } else
664
- Be.exports = /* @__PURE__ */ Rr()();
665
- return Be.exports;
666
- }
667
- var kr = /* @__PURE__ */ Pr();
668
- const fe = /* @__PURE__ */ wr(kr);
669
- function ar(e) {
670
- var t, r, n = "";
671
- if (typeof e == "string" || typeof e == "number") n += e;
672
- else if (typeof e == "object") if (Array.isArray(e)) {
673
- var o = e.length;
674
- for (t = 0; t < o; t++) e[t] && (r = ar(e[t])) && (n && (n += " "), n += r);
675
- } else for (r in e) e[r] && (n && (n += " "), n += r);
676
- return n;
677
- }
678
- function Ir() {
679
- for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = ar(e)) && (n && (n += " "), n += t);
680
- return n;
681
- }
682
- function mt(e, t, r = !1) {
683
- const n = {
684
- ...t
685
- };
686
- for (const o in e)
687
- if (Object.prototype.hasOwnProperty.call(e, o)) {
688
- const i = o;
689
- if (i === "components" || i === "slots")
690
- n[i] = {
691
- ...e[i],
692
- ...n[i]
693
- };
694
- else if (i === "componentsProps" || i === "slotProps") {
695
- const s = e[i], u = t[i];
696
- if (!u)
697
- n[i] = s || {};
698
- else if (!s)
699
- n[i] = u;
700
- else {
701
- n[i] = {
702
- ...u
703
- };
704
- for (const l in s)
705
- if (Object.prototype.hasOwnProperty.call(s, l)) {
706
- const d = l;
707
- n[i][d] = mt(s[d], u[d], r);
708
- }
709
- }
710
- } else i === "className" && r && t.className ? n.className = Ir(e == null ? void 0 : e.className, t == null ? void 0 : t.className) : i === "style" && r && t.style ? n.style = {
711
- ...e == null ? void 0 : e.style,
712
- ...t == null ? void 0 : t.style
713
- } : n[i] === void 0 && (n[i] = e[i]);
714
- }
715
- return n;
716
- }
717
- function oi(e, t, r = void 0) {
718
- const n = {};
719
- for (const o in e) {
720
- const i = e[o];
721
- let s = "", u = !0;
722
- for (let l = 0; l < i.length; l += 1) {
723
- const d = i[l];
724
- d && (s += (u === !0 ? "" : " ") + t(d), u = !1, r && r[d] && (s += " " + r[d]));
725
- }
726
- n[o] = s;
727
- }
728
- return n;
729
- }
730
- function ge(e, ...t) {
731
- const r = new URL(`https://mui.com/production-error/?code=${e}`);
732
- return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
733
- }
734
- function Nr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
735
- return Math.max(t, Math.min(e, r));
736
- }
737
- function bt(e, t = 0, r = 1) {
738
- return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Nr(e, t, r);
739
- }
740
- function Mr(e) {
741
- e = e.slice(1);
742
- const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
743
- let r = e.match(t);
744
- return r && r[0].length === 1 && (r = r.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
745
- }
746
- function he(e) {
747
- if (e.type)
748
- return e;
749
- if (e.charAt(0) === "#")
750
- return he(Mr(e));
751
- const t = e.indexOf("("), r = e.substring(0, t);
752
- if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
753
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
754
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : ge(9, e));
755
- let n = e.substring(t + 1, e.length - 1), o;
756
- if (r === "color") {
757
- if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
758
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
759
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : ge(10, o));
760
- } else
761
- n = n.split(",");
762
- return n = n.map((i) => parseFloat(i)), {
763
- type: r,
764
- values: n,
765
- colorSpace: o
766
- };
767
- }
768
- const Dr = (e) => {
769
- const t = he(e);
770
- return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
771
- }, Re = (e, t) => {
772
- try {
773
- return Dr(e);
774
- } catch {
775
- return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
776
- }
777
- };
778
- function qe(e) {
779
- const {
780
- type: t,
781
- colorSpace: r
782
- } = e;
783
- let {
784
- values: n
785
- } = e;
786
- return t.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
787
- }
788
- function sr(e) {
789
- e = he(e);
790
- const {
791
- values: t
792
- } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), s = (d, m = (d + r / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
793
- let u = "rgb";
794
- const l = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
795
- return e.type === "hsla" && (u += "a", l.push(t[3])), qe({
796
- type: u,
797
- values: l
798
- });
799
- }
800
- function gt(e) {
801
- e = he(e);
802
- let t = e.type === "hsl" || e.type === "hsla" ? he(sr(e)).values : e.values;
803
- return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
804
- }
805
- function Dt(e, t) {
806
- const r = gt(e), n = gt(t);
807
- return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
808
- }
809
- function Br(e, t) {
810
- return e = he(e), t = bt(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, qe(e);
811
- }
812
- function je(e, t, r) {
813
- try {
814
- return Br(e, t);
815
- } catch {
816
- return e;
817
- }
818
- }
819
- function vt(e, t) {
820
- if (e = he(e), t = bt(t), e.type.includes("hsl"))
821
- e.values[2] *= 1 - t;
822
- else if (e.type.includes("rgb") || e.type.includes("color"))
823
- for (let r = 0; r < 3; r += 1)
824
- e.values[r] *= 1 - t;
825
- return qe(e);
826
- }
827
- function Y(e, t, r) {
828
- try {
829
- return vt(e, t);
830
- } catch {
831
- return e;
832
- }
833
- }
834
- function St(e, t) {
835
- if (e = he(e), t = bt(t), e.type.includes("hsl"))
836
- e.values[2] += (100 - e.values[2]) * t;
837
- else if (e.type.includes("rgb"))
838
- for (let r = 0; r < 3; r += 1)
839
- e.values[r] += (255 - e.values[r]) * t;
840
- else if (e.type.includes("color"))
841
- for (let r = 0; r < 3; r += 1)
842
- e.values[r] += (1 - e.values[r]) * t;
843
- return qe(e);
844
- }
845
- function U(e, t, r) {
846
- try {
847
- return St(e, t);
848
- } catch {
849
- return e;
850
- }
851
- }
852
- function Vr(e, t = 0.15) {
853
- return gt(e) > 0.5 ? vt(e, t) : St(e, t);
854
- }
855
- function Fe(e, t, r) {
856
- try {
857
- return Vr(e, t);
858
- } catch {
859
- return e;
860
- }
861
- }
862
- const Bt = (e) => e, jr = () => {
863
- let e = Bt;
864
- return {
865
- configure(t) {
866
- e = t;
867
- },
868
- generate(t) {
869
- return e(t);
870
- },
871
- reset() {
872
- e = Bt;
873
- }
874
- };
875
- }, Fr = jr();
876
- function Ct(e) {
877
- if (typeof e != "string")
878
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ge(7));
879
- return e.charAt(0).toUpperCase() + e.slice(1);
880
- }
881
- var Le = { exports: {} }, L = {};
882
- /**
883
- * @license React
884
- * react-is.production.js
885
- *
886
- * Copyright (c) Meta Platforms, Inc. and affiliates.
887
- *
888
- * This source code is licensed under the MIT license found in the
889
- * LICENSE file in the root directory of this source tree.
890
- */
891
- var Vt;
892
- function Lr() {
893
- if (Vt) return L;
894
- Vt = 1;
895
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), S = Symbol.for("react.client.reference");
896
- function b(c) {
897
- if (typeof c == "object" && c !== null) {
898
- var w = c.$$typeof;
899
- switch (w) {
900
- case e:
901
- switch (c = c.type, c) {
902
- case r:
903
- case o:
904
- case n:
905
- case l:
906
- case d:
907
- case p:
908
- return c;
909
- default:
910
- switch (c = c && c.$$typeof, c) {
911
- case s:
912
- case u:
913
- case g:
914
- case m:
915
- return c;
916
- case i:
917
- return c;
918
- default:
919
- return w;
920
- }
921
- }
922
- case t:
923
- return w;
924
- }
925
- }
926
- }
927
- return L.ContextConsumer = i, L.ContextProvider = s, L.Element = e, L.ForwardRef = u, L.Fragment = r, L.Lazy = g, L.Memo = m, L.Portal = t, L.Profiler = o, L.StrictMode = n, L.Suspense = l, L.SuspenseList = d, L.isContextConsumer = function(c) {
928
- return b(c) === i;
929
- }, L.isContextProvider = function(c) {
930
- return b(c) === s;
931
- }, L.isElement = function(c) {
932
- return typeof c == "object" && c !== null && c.$$typeof === e;
933
- }, L.isForwardRef = function(c) {
934
- return b(c) === u;
935
- }, L.isFragment = function(c) {
936
- return b(c) === r;
937
- }, L.isLazy = function(c) {
938
- return b(c) === g;
939
- }, L.isMemo = function(c) {
940
- return b(c) === m;
941
- }, L.isPortal = function(c) {
942
- return b(c) === t;
943
- }, L.isProfiler = function(c) {
944
- return b(c) === o;
945
- }, L.isStrictMode = function(c) {
946
- return b(c) === n;
947
- }, L.isSuspense = function(c) {
948
- return b(c) === l;
949
- }, L.isSuspenseList = function(c) {
950
- return b(c) === d;
951
- }, L.isValidElementType = function(c) {
952
- return typeof c == "string" || typeof c == "function" || c === r || c === o || c === n || c === l || c === d || typeof c == "object" && c !== null && (c.$$typeof === g || c.$$typeof === m || c.$$typeof === s || c.$$typeof === i || c.$$typeof === u || c.$$typeof === S || c.getModuleId !== void 0);
953
- }, L.typeOf = b, L;
954
- }
955
- var W = {};
956
- /**
957
- * @license React
958
- * react-is.development.js
959
- *
960
- * Copyright (c) Meta Platforms, Inc. and affiliates.
961
- *
962
- * This source code is licensed under the MIT license found in the
963
- * LICENSE file in the root directory of this source tree.
964
- */
965
- var jt;
966
- function Wr() {
967
- return jt || (jt = 1, process.env.NODE_ENV !== "production" && function() {
968
- function e(c) {
969
- if (typeof c == "object" && c !== null) {
970
- var w = c.$$typeof;
971
- switch (w) {
972
- case t:
973
- switch (c = c.type, c) {
974
- case n:
975
- case i:
976
- case o:
977
- case d:
978
- case m:
979
- case S:
980
- return c;
981
- default:
982
- switch (c = c && c.$$typeof, c) {
983
- case u:
984
- case l:
985
- case p:
986
- case g:
987
- return c;
988
- case s:
989
- return c;
990
- default:
991
- return w;
992
- }
993
- }
994
- case r:
995
- return w;
996
- }
997
- }
998
- }
999
- var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), S = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
1000
- W.ContextConsumer = s, W.ContextProvider = u, W.Element = t, W.ForwardRef = l, W.Fragment = n, W.Lazy = p, W.Memo = g, W.Portal = r, W.Profiler = i, W.StrictMode = o, W.Suspense = d, W.SuspenseList = m, W.isContextConsumer = function(c) {
1001
- return e(c) === s;
1002
- }, W.isContextProvider = function(c) {
1003
- return e(c) === u;
1004
- }, W.isElement = function(c) {
1005
- return typeof c == "object" && c !== null && c.$$typeof === t;
1006
- }, W.isForwardRef = function(c) {
1007
- return e(c) === l;
1008
- }, W.isFragment = function(c) {
1009
- return e(c) === n;
1010
- }, W.isLazy = function(c) {
1011
- return e(c) === p;
1012
- }, W.isMemo = function(c) {
1013
- return e(c) === g;
1014
- }, W.isPortal = function(c) {
1015
- return e(c) === r;
1016
- }, W.isProfiler = function(c) {
1017
- return e(c) === i;
1018
- }, W.isStrictMode = function(c) {
1019
- return e(c) === o;
1020
- }, W.isSuspense = function(c) {
1021
- return e(c) === d;
1022
- }, W.isSuspenseList = function(c) {
1023
- return e(c) === m;
1024
- }, W.isValidElementType = function(c) {
1025
- return typeof c == "string" || typeof c == "function" || c === n || c === i || c === o || c === d || c === m || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === g || c.$$typeof === u || c.$$typeof === s || c.$$typeof === l || c.$$typeof === b || c.getModuleId !== void 0);
1026
- }, W.typeOf = e;
1027
- }()), W;
1028
- }
1029
- var Ft;
1030
- function Yr() {
1031
- return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? Le.exports = /* @__PURE__ */ Lr() : Le.exports = /* @__PURE__ */ Wr()), Le.exports;
1032
- }
1033
- var Ye = /* @__PURE__ */ Yr();
1034
- function de(e) {
1035
- if (typeof e != "object" || e === null)
1036
- return !1;
1037
- const t = Object.getPrototypeOf(e);
1038
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
1039
- }
1040
- function cr(e) {
1041
- if (/* @__PURE__ */ Ge.isValidElement(e) || Ye.isValidElementType(e) || !de(e))
1042
- return e;
1043
- const t = {};
1044
- return Object.keys(e).forEach((r) => {
1045
- t[r] = cr(e[r]);
1046
- }), t;
1047
- }
1048
- function ie(e, t, r = {
1049
- clone: !0
1050
- }) {
1051
- const n = r.clone ? {
1052
- ...e
1053
- } : e;
1054
- return de(e) && de(t) && Object.keys(t).forEach((o) => {
1055
- /* @__PURE__ */ Ge.isValidElement(t[o]) || Ye.isValidElementType(t[o]) ? n[o] = t[o] : de(t[o]) && // Avoid prototype pollution
1056
- Object.prototype.hasOwnProperty.call(e, o) && de(e[o]) ? n[o] = ie(e[o], t[o], r) : r.clone ? n[o] = de(t[o]) ? cr(t[o]) : t[o] : n[o] = t[o];
1057
- }), n;
1058
- }
1059
- function ke(e, t) {
1060
- return t ? ie(e, t, {
1061
- clone: !1
1062
- // No need to clone deep, it's way faster.
1063
- }) : e;
1064
- }
1065
- const ye = process.env.NODE_ENV !== "production" ? fe.oneOfType([fe.number, fe.string, fe.object, fe.array]) : {};
1066
- function Lt(e, t) {
1067
- if (!e.containerQueries)
1068
- return t;
1069
- const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
1070
- var s, u;
1071
- const i = /min-width:\s*([0-9.]+)/;
1072
- return +(((s = n.match(i)) == null ? void 0 : s[1]) || 0) - +(((u = o.match(i)) == null ? void 0 : u[1]) || 0);
1073
- });
1074
- return r.length ? r.reduce((n, o) => {
1075
- const i = t[o];
1076
- return delete n[o], n[o] = i, n;
1077
- }, {
1078
- ...t
1079
- }) : t;
1080
- }
1081
- function Ur(e, t) {
1082
- return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
1083
- }
1084
- function zr(e, t) {
1085
- const r = t.match(/^@([^/]+)?\/?(.+)?$/);
1086
- if (!r) {
1087
- if (process.env.NODE_ENV !== "production")
1088
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
1089
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : ge(18, `(${t})`));
1090
- return null;
1091
- }
1092
- const [, n, o] = r, i = Number.isNaN(+n) ? n || 0 : +n;
1093
- return e.containerQueries(o).up(i);
1094
- }
1095
- function Gr(e) {
1096
- const t = (i, s) => i.replace("@media", s ? `@container ${s}` : "@container");
1097
- function r(i, s) {
1098
- i.up = (...u) => t(e.breakpoints.up(...u), s), i.down = (...u) => t(e.breakpoints.down(...u), s), i.between = (...u) => t(e.breakpoints.between(...u), s), i.only = (...u) => t(e.breakpoints.only(...u), s), i.not = (...u) => {
1099
- const l = t(e.breakpoints.not(...u), s);
1100
- return l.includes("not all and") ? l.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : l;
1101
- };
1102
- }
1103
- const n = {}, o = (i) => (r(n, i), n);
1104
- return r(o), {
1105
- ...e,
1106
- containerQueries: o
1107
- };
1108
- }
1109
- const Ke = {
1110
- xs: 0,
1111
- // phone
1112
- sm: 600,
1113
- // tablet
1114
- md: 900,
1115
- // small laptop
1116
- lg: 1200,
1117
- // desktop
1118
- xl: 1536
1119
- // large screen
1120
- }, Wt = {
1121
- // Sorted ASC by size. That's important.
1122
- // It can't be configured as it's used statically for propTypes.
1123
- keys: ["xs", "sm", "md", "lg", "xl"],
1124
- up: (e) => `@media (min-width:${Ke[e]}px)`
1125
- }, qr = {
1126
- containerQueries: (e) => ({
1127
- up: (t) => {
1128
- let r = typeof t == "number" ? t : Ke[t] || t;
1129
- return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
1130
- }
1131
- })
1132
- };
1133
- function pe(e, t, r) {
1134
- const n = e.theme || {};
1135
- if (Array.isArray(t)) {
1136
- const i = n.breakpoints || Wt;
1137
- return t.reduce((s, u, l) => (s[i.up(i.keys[l])] = r(t[l]), s), {});
1138
- }
1139
- if (typeof t == "object") {
1140
- const i = n.breakpoints || Wt;
1141
- return Object.keys(t).reduce((s, u) => {
1142
- if (Ur(i.keys, u)) {
1143
- const l = zr(n.containerQueries ? n : qr, u);
1144
- l && (s[l] = r(t[u], u));
1145
- } else if (Object.keys(i.values || Ke).includes(u)) {
1146
- const l = i.up(u);
1147
- s[l] = r(t[u], u);
1148
- } else {
1149
- const l = u;
1150
- s[l] = t[l];
1151
- }
1152
- return s;
1153
- }, {});
1154
- }
1155
- return r(t);
1156
- }
1157
- function Kr(e = {}) {
1158
- var r;
1159
- return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
1160
- const i = e.up(o);
1161
- return n[i] = {}, n;
1162
- }, {})) || {};
1163
- }
1164
- function Yt(e, t) {
1165
- return e.reduce((r, n) => {
1166
- const o = r[n];
1167
- return (!o || Object.keys(o).length === 0) && delete r[n], r;
1168
- }, t);
1169
- }
1170
- function He(e, t, r = !0) {
1171
- if (!t || typeof t != "string")
1172
- return null;
1173
- if (e && e.vars && r) {
1174
- const n = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
1175
- if (n != null)
1176
- return n;
1177
- }
1178
- return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1179
- }
1180
- function Ue(e, t, r, n = r) {
1181
- let o;
1182
- return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = He(e, r) || n, t && (o = t(o, n, e)), o;
1183
- }
1184
- function X(e) {
1185
- const {
1186
- prop: t,
1187
- cssProperty: r = e.prop,
1188
- themeKey: n,
1189
- transform: o
1190
- } = e, i = (s) => {
1191
- if (s[t] == null)
1192
- return null;
1193
- const u = s[t], l = s.theme, d = He(l, n) || {};
1194
- return pe(s, u, (g) => {
1195
- let p = Ue(d, o, g);
1196
- return g === p && typeof g == "string" && (p = Ue(d, o, `${t}${g === "default" ? "" : Ct(g)}`, g)), r === !1 ? p : {
1197
- [r]: p
1198
- };
1199
- });
1200
- };
1201
- return i.propTypes = process.env.NODE_ENV !== "production" ? {
1202
- [t]: ye
1203
- } : {}, i.filterProps = [t], i;
1204
- }
1205
- function Hr(e) {
1206
- const t = {};
1207
- return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
1208
- }
1209
- const Qr = {
1210
- m: "margin",
1211
- p: "padding"
1212
- }, Xr = {
1213
- t: "Top",
1214
- r: "Right",
1215
- b: "Bottom",
1216
- l: "Left",
1217
- x: ["Left", "Right"],
1218
- y: ["Top", "Bottom"]
1219
- }, Ut = {
1220
- marginX: "mx",
1221
- marginY: "my",
1222
- paddingX: "px",
1223
- paddingY: "py"
1224
- }, Jr = Hr((e) => {
1225
- if (e.length > 2)
1226
- if (Ut[e])
1227
- e = Ut[e];
1228
- else
1229
- return [e];
1230
- const [t, r] = e.split(""), n = Qr[t], o = Xr[r] || "";
1231
- return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
1232
- }), Qe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Xe = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Zr = [...Qe, ...Xe];
1233
- function Ne(e, t, r, n) {
1234
- const o = He(e, t, !0) ?? r;
1235
- return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
1236
- if (typeof i == "string")
1237
- return i;
1238
- const s = Math.abs(i);
1239
- process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
1240
- `)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
1241
- `)));
1242
- const u = o[s];
1243
- return i >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
1244
- } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
1245
- `)), () => {
1246
- });
1247
- }
1248
- function Et(e) {
1249
- return Ne(e, "spacing", 8, "spacing");
1250
- }
1251
- function Me(e, t) {
1252
- return typeof t == "string" || t == null ? t : e(t);
1253
- }
1254
- function en(e, t) {
1255
- return (r) => e.reduce((n, o) => (n[o] = Me(t, r), n), {});
1256
- }
1257
- function tn(e, t, r, n) {
1258
- if (!t.includes(r))
1259
- return null;
1260
- const o = Jr(r), i = en(o, n), s = e[r];
1261
- return pe(e, s, i);
1262
- }
1263
- function ur(e, t) {
1264
- const r = Et(e.theme);
1265
- return Object.keys(e).map((n) => tn(e, t, n, r)).reduce(ke, {});
1266
- }
1267
- function H(e) {
1268
- return ur(e, Qe);
1269
- }
1270
- H.propTypes = process.env.NODE_ENV !== "production" ? Qe.reduce((e, t) => (e[t] = ye, e), {}) : {};
1271
- H.filterProps = Qe;
1272
- function Q(e) {
1273
- return ur(e, Xe);
1274
- }
1275
- Q.propTypes = process.env.NODE_ENV !== "production" ? Xe.reduce((e, t) => (e[t] = ye, e), {}) : {};
1276
- Q.filterProps = Xe;
1277
- process.env.NODE_ENV !== "production" && Zr.reduce((e, t) => (e[t] = ye, e), {});
1278
- function Je(...e) {
1279
- const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
1280
- n[i] = o;
1281
- }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? ke(o, t[i](n)) : o, {});
1282
- return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
1283
- }
1284
- function ae(e) {
1285
- return typeof e != "number" ? e : `${e}px solid`;
1286
- }
1287
- function se(e, t) {
1288
- return X({
1289
- prop: e,
1290
- themeKey: "borders",
1291
- transform: t
1292
- });
1293
- }
1294
- const rn = se("border", ae), nn = se("borderTop", ae), on = se("borderRight", ae), an = se("borderBottom", ae), sn = se("borderLeft", ae), cn = se("borderColor"), un = se("borderTopColor"), ln = se("borderRightColor"), fn = se("borderBottomColor"), dn = se("borderLeftColor"), pn = se("outline", ae), mn = se("outlineColor"), Ze = (e) => {
1295
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1296
- const t = Ne(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
1297
- borderRadius: Me(t, n)
1298
- });
1299
- return pe(e, e.borderRadius, r);
1300
- }
1301
- return null;
1302
- };
1303
- Ze.propTypes = process.env.NODE_ENV !== "production" ? {
1304
- borderRadius: ye
1305
- } : {};
1306
- Ze.filterProps = ["borderRadius"];
1307
- Je(rn, nn, on, an, sn, cn, un, ln, fn, dn, Ze, pn, mn);
1308
- const et = (e) => {
1309
- if (e.gap !== void 0 && e.gap !== null) {
1310
- const t = Ne(e.theme, "spacing", 8, "gap"), r = (n) => ({
1311
- gap: Me(t, n)
1312
- });
1313
- return pe(e, e.gap, r);
1314
- }
1315
- return null;
1316
- };
1317
- et.propTypes = process.env.NODE_ENV !== "production" ? {
1318
- gap: ye
1319
- } : {};
1320
- et.filterProps = ["gap"];
1321
- const tt = (e) => {
1322
- if (e.columnGap !== void 0 && e.columnGap !== null) {
1323
- const t = Ne(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
1324
- columnGap: Me(t, n)
1325
- });
1326
- return pe(e, e.columnGap, r);
1327
- }
1328
- return null;
1329
- };
1330
- tt.propTypes = process.env.NODE_ENV !== "production" ? {
1331
- columnGap: ye
1332
- } : {};
1333
- tt.filterProps = ["columnGap"];
1334
- const rt = (e) => {
1335
- if (e.rowGap !== void 0 && e.rowGap !== null) {
1336
- const t = Ne(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
1337
- rowGap: Me(t, n)
1338
- });
1339
- return pe(e, e.rowGap, r);
1340
- }
1341
- return null;
1342
- };
1343
- rt.propTypes = process.env.NODE_ENV !== "production" ? {
1344
- rowGap: ye
1345
- } : {};
1346
- rt.filterProps = ["rowGap"];
1347
- const gn = X({
1348
- prop: "gridColumn"
1349
- }), hn = X({
1350
- prop: "gridRow"
1351
- }), yn = X({
1352
- prop: "gridAutoFlow"
1353
- }), bn = X({
1354
- prop: "gridAutoColumns"
1355
- }), vn = X({
1356
- prop: "gridAutoRows"
1357
- }), Sn = X({
1358
- prop: "gridTemplateColumns"
1359
- }), Cn = X({
1360
- prop: "gridTemplateRows"
1361
- }), En = X({
1362
- prop: "gridTemplateAreas"
1363
- }), Tn = X({
1364
- prop: "gridArea"
1365
- });
1366
- Je(et, tt, rt, gn, hn, yn, bn, vn, Sn, Cn, En, Tn);
1367
- function Oe(e, t) {
1368
- return t === "grey" ? t : e;
1369
- }
1370
- const wn = X({
1371
- prop: "color",
1372
- themeKey: "palette",
1373
- transform: Oe
1374
- }), xn = X({
1375
- prop: "bgcolor",
1376
- cssProperty: "backgroundColor",
1377
- themeKey: "palette",
1378
- transform: Oe
1379
- }), $n = X({
1380
- prop: "backgroundColor",
1381
- themeKey: "palette",
1382
- transform: Oe
1383
- });
1384
- Je(wn, xn, $n);
1385
- function oe(e) {
1386
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1387
- }
1388
- const On = X({
1389
- prop: "width",
1390
- transform: oe
1391
- }), Tt = (e) => {
1392
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1393
- const t = (r) => {
1394
- var o, i, s, u, l;
1395
- const n = ((s = (i = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : i.values) == null ? void 0 : s[r]) || Ke[r];
1396
- return n ? ((l = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : l.unit) !== "px" ? {
1397
- maxWidth: `${n}${e.theme.breakpoints.unit}`
1398
- } : {
1399
- maxWidth: n
1400
- } : {
1401
- maxWidth: oe(r)
1402
- };
1403
- };
1404
- return pe(e, e.maxWidth, t);
1405
- }
1406
- return null;
1407
- };
1408
- Tt.filterProps = ["maxWidth"];
1409
- const _n = X({
1410
- prop: "minWidth",
1411
- transform: oe
1412
- }), An = X({
1413
- prop: "height",
1414
- transform: oe
1415
- }), Rn = X({
1416
- prop: "maxHeight",
1417
- transform: oe
1418
- }), Pn = X({
1419
- prop: "minHeight",
1420
- transform: oe
1421
- });
1422
- X({
1423
- prop: "size",
1424
- cssProperty: "width",
1425
- transform: oe
1426
- });
1427
- X({
1428
- prop: "size",
1429
- cssProperty: "height",
1430
- transform: oe
1431
- });
1432
- const kn = X({
1433
- prop: "boxSizing"
1434
- });
1435
- Je(On, Tt, _n, An, Rn, Pn, kn);
1436
- const nt = {
1437
- // borders
1438
- border: {
1439
- themeKey: "borders",
1440
- transform: ae
1441
- },
1442
- borderTop: {
1443
- themeKey: "borders",
1444
- transform: ae
1445
- },
1446
- borderRight: {
1447
- themeKey: "borders",
1448
- transform: ae
1449
- },
1450
- borderBottom: {
1451
- themeKey: "borders",
1452
- transform: ae
1453
- },
1454
- borderLeft: {
1455
- themeKey: "borders",
1456
- transform: ae
1457
- },
1458
- borderColor: {
1459
- themeKey: "palette"
1460
- },
1461
- borderTopColor: {
1462
- themeKey: "palette"
1463
- },
1464
- borderRightColor: {
1465
- themeKey: "palette"
1466
- },
1467
- borderBottomColor: {
1468
- themeKey: "palette"
1469
- },
1470
- borderLeftColor: {
1471
- themeKey: "palette"
1472
- },
1473
- outline: {
1474
- themeKey: "borders",
1475
- transform: ae
1476
- },
1477
- outlineColor: {
1478
- themeKey: "palette"
1479
- },
1480
- borderRadius: {
1481
- themeKey: "shape.borderRadius",
1482
- style: Ze
1483
- },
1484
- // palette
1485
- color: {
1486
- themeKey: "palette",
1487
- transform: Oe
1488
- },
1489
- bgcolor: {
1490
- themeKey: "palette",
1491
- cssProperty: "backgroundColor",
1492
- transform: Oe
1493
- },
1494
- backgroundColor: {
1495
- themeKey: "palette",
1496
- transform: Oe
1497
- },
1498
- // spacing
1499
- p: {
1500
- style: Q
1501
- },
1502
- pt: {
1503
- style: Q
1504
- },
1505
- pr: {
1506
- style: Q
1507
- },
1508
- pb: {
1509
- style: Q
1510
- },
1511
- pl: {
1512
- style: Q
1513
- },
1514
- px: {
1515
- style: Q
1516
- },
1517
- py: {
1518
- style: Q
1519
- },
1520
- padding: {
1521
- style: Q
1522
- },
1523
- paddingTop: {
1524
- style: Q
1525
- },
1526
- paddingRight: {
1527
- style: Q
1528
- },
1529
- paddingBottom: {
1530
- style: Q
1531
- },
1532
- paddingLeft: {
1533
- style: Q
1534
- },
1535
- paddingX: {
1536
- style: Q
1537
- },
1538
- paddingY: {
1539
- style: Q
1540
- },
1541
- paddingInline: {
1542
- style: Q
1543
- },
1544
- paddingInlineStart: {
1545
- style: Q
1546
- },
1547
- paddingInlineEnd: {
1548
- style: Q
1549
- },
1550
- paddingBlock: {
1551
- style: Q
1552
- },
1553
- paddingBlockStart: {
1554
- style: Q
1555
- },
1556
- paddingBlockEnd: {
1557
- style: Q
1558
- },
1559
- m: {
1560
- style: H
1561
- },
1562
- mt: {
1563
- style: H
1564
- },
1565
- mr: {
1566
- style: H
1567
- },
1568
- mb: {
1569
- style: H
1570
- },
1571
- ml: {
1572
- style: H
1573
- },
1574
- mx: {
1575
- style: H
1576
- },
1577
- my: {
1578
- style: H
1579
- },
1580
- margin: {
1581
- style: H
1582
- },
1583
- marginTop: {
1584
- style: H
1585
- },
1586
- marginRight: {
1587
- style: H
1588
- },
1589
- marginBottom: {
1590
- style: H
1591
- },
1592
- marginLeft: {
1593
- style: H
1594
- },
1595
- marginX: {
1596
- style: H
1597
- },
1598
- marginY: {
1599
- style: H
1600
- },
1601
- marginInline: {
1602
- style: H
1603
- },
1604
- marginInlineStart: {
1605
- style: H
1606
- },
1607
- marginInlineEnd: {
1608
- style: H
1609
- },
1610
- marginBlock: {
1611
- style: H
1612
- },
1613
- marginBlockStart: {
1614
- style: H
1615
- },
1616
- marginBlockEnd: {
1617
- style: H
1618
- },
1619
- // display
1620
- displayPrint: {
1621
- cssProperty: !1,
1622
- transform: (e) => ({
1623
- "@media print": {
1624
- display: e
1625
- }
1626
- })
1627
- },
1628
- display: {},
1629
- overflow: {},
1630
- textOverflow: {},
1631
- visibility: {},
1632
- whiteSpace: {},
1633
- // flexbox
1634
- flexBasis: {},
1635
- flexDirection: {},
1636
- flexWrap: {},
1637
- justifyContent: {},
1638
- alignItems: {},
1639
- alignContent: {},
1640
- order: {},
1641
- flex: {},
1642
- flexGrow: {},
1643
- flexShrink: {},
1644
- alignSelf: {},
1645
- justifyItems: {},
1646
- justifySelf: {},
1647
- // grid
1648
- gap: {
1649
- style: et
1650
- },
1651
- rowGap: {
1652
- style: rt
1653
- },
1654
- columnGap: {
1655
- style: tt
1656
- },
1657
- gridColumn: {},
1658
- gridRow: {},
1659
- gridAutoFlow: {},
1660
- gridAutoColumns: {},
1661
- gridAutoRows: {},
1662
- gridTemplateColumns: {},
1663
- gridTemplateRows: {},
1664
- gridTemplateAreas: {},
1665
- gridArea: {},
1666
- // positions
1667
- position: {},
1668
- zIndex: {
1669
- themeKey: "zIndex"
1670
- },
1671
- top: {},
1672
- right: {},
1673
- bottom: {},
1674
- left: {},
1675
- // shadows
1676
- boxShadow: {
1677
- themeKey: "shadows"
1678
- },
1679
- // sizing
1680
- width: {
1681
- transform: oe
1682
- },
1683
- maxWidth: {
1684
- style: Tt
1685
- },
1686
- minWidth: {
1687
- transform: oe
1688
- },
1689
- height: {
1690
- transform: oe
1691
- },
1692
- maxHeight: {
1693
- transform: oe
1694
- },
1695
- minHeight: {
1696
- transform: oe
1697
- },
1698
- boxSizing: {},
1699
- // typography
1700
- font: {
1701
- themeKey: "font"
1702
- },
1703
- fontFamily: {
1704
- themeKey: "typography"
1705
- },
1706
- fontSize: {
1707
- themeKey: "typography"
1708
- },
1709
- fontStyle: {
1710
- themeKey: "typography"
1711
- },
1712
- fontWeight: {
1713
- themeKey: "typography"
1714
- },
1715
- letterSpacing: {},
1716
- textTransform: {},
1717
- lineHeight: {},
1718
- textAlign: {},
1719
- typography: {
1720
- cssProperty: !1,
1721
- themeKey: "typography"
1722
- }
1723
- };
1724
- function In(...e) {
1725
- const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
1726
- return e.every((n) => r.size === Object.keys(n).length);
1727
- }
1728
- function Nn(e, t) {
1729
- return typeof e == "function" ? e(t) : e;
1730
- }
1731
- function Mn() {
1732
- function e(r, n, o, i) {
1733
- const s = {
1734
- [r]: n,
1735
- theme: o
1736
- }, u = i[r];
1737
- if (!u)
1738
- return {
1739
- [r]: n
1740
- };
1741
- const {
1742
- cssProperty: l = r,
1743
- themeKey: d,
1744
- transform: m,
1745
- style: g
1746
- } = u;
1747
- if (n == null)
1748
- return null;
1749
- if (d === "typography" && n === "inherit")
1750
- return {
1751
- [r]: n
1752
- };
1753
- const p = He(o, d) || {};
1754
- return g ? g(s) : pe(s, n, (b) => {
1755
- let c = Ue(p, m, b);
1756
- return b === c && typeof b == "string" && (c = Ue(p, m, `${r}${b === "default" ? "" : Ct(b)}`, b)), l === !1 ? c : {
1757
- [l]: c
1758
- };
1759
- });
1760
- }
1761
- function t(r) {
1762
- const {
1763
- sx: n,
1764
- theme: o = {},
1765
- nested: i
1766
- } = r || {};
1767
- if (!n)
1768
- return null;
1769
- const s = o.unstable_sxConfig ?? nt;
1770
- function u(l) {
1771
- let d = l;
1772
- if (typeof l == "function")
1773
- d = l(o);
1774
- else if (typeof l != "object")
1775
- return l;
1776
- if (!d)
1777
- return null;
1778
- const m = Kr(o.breakpoints), g = Object.keys(m);
1779
- let p = m;
1780
- return Object.keys(d).forEach((S) => {
1781
- const b = Nn(d[S], o);
1782
- if (b != null)
1783
- if (typeof b == "object")
1784
- if (s[S])
1785
- p = ke(p, e(S, b, o, s));
1786
- else {
1787
- const c = pe({
1788
- theme: o
1789
- }, b, (w) => ({
1790
- [S]: w
1791
- }));
1792
- In(c, b) ? p[S] = t({
1793
- sx: b,
1794
- theme: o,
1795
- nested: !0
1796
- }) : p = ke(p, c);
1797
- }
1798
- else
1799
- p = ke(p, e(S, b, o, s));
1800
- }), !i && o.modularCssLayers ? {
1801
- "@layer sx": Lt(o, Yt(g, p))
1802
- } : Lt(o, Yt(g, p));
1803
- }
1804
- return Array.isArray(n) ? n.map(u) : u(n);
1805
- }
1806
- return t;
1807
- }
1808
- const _e = Mn();
1809
- _e.filterProps = ["sx"];
1810
- function Dn(e) {
1811
- for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1812
- r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
1813
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
1814
- r >>> 24, t = /* Math.imul(k, m): */
1815
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1816
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1817
- switch (o) {
1818
- case 3:
1819
- t ^= (e.charCodeAt(n + 2) & 255) << 16;
1820
- case 2:
1821
- t ^= (e.charCodeAt(n + 1) & 255) << 8;
1822
- case 1:
1823
- t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
1824
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1825
- }
1826
- return t ^= t >>> 13, t = /* Math.imul(h, m): */
1827
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
1828
- }
1829
- var Bn = {
1830
- animationIterationCount: 1,
1831
- aspectRatio: 1,
1832
- borderImageOutset: 1,
1833
- borderImageSlice: 1,
1834
- borderImageWidth: 1,
1835
- boxFlex: 1,
1836
- boxFlexGroup: 1,
1837
- boxOrdinalGroup: 1,
1838
- columnCount: 1,
1839
- columns: 1,
1840
- flex: 1,
1841
- flexGrow: 1,
1842
- flexPositive: 1,
1843
- flexShrink: 1,
1844
- flexNegative: 1,
1845
- flexOrder: 1,
1846
- gridRow: 1,
1847
- gridRowEnd: 1,
1848
- gridRowSpan: 1,
1849
- gridRowStart: 1,
1850
- gridColumn: 1,
1851
- gridColumnEnd: 1,
1852
- gridColumnSpan: 1,
1853
- gridColumnStart: 1,
1854
- msGridRow: 1,
1855
- msGridRowSpan: 1,
1856
- msGridColumn: 1,
1857
- msGridColumnSpan: 1,
1858
- fontWeight: 1,
1859
- lineHeight: 1,
1860
- opacity: 1,
1861
- order: 1,
1862
- orphans: 1,
1863
- scale: 1,
1864
- tabSize: 1,
1865
- widows: 1,
1866
- zIndex: 1,
1867
- zoom: 1,
1868
- WebkitLineClamp: 1,
1869
- // SVG-related properties
1870
- fillOpacity: 1,
1871
- floodOpacity: 1,
1872
- stopOpacity: 1,
1873
- strokeDasharray: 1,
1874
- strokeDashoffset: 1,
1875
- strokeMiterlimit: 1,
1876
- strokeOpacity: 1,
1877
- strokeWidth: 1
1878
- };
1879
- function Vn(e) {
1880
- var t = /* @__PURE__ */ Object.create(null);
1881
- return function(r) {
1882
- return t[r] === void 0 && (t[r] = e(r)), t[r];
1883
- };
1884
- }
1885
- var jn = /[A-Z]|^ms/g, Fn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, lr = function(t) {
1886
- return t.charCodeAt(1) === 45;
1887
- }, zt = function(t) {
1888
- return t != null && typeof t != "boolean";
1889
- }, lt = /* @__PURE__ */ Vn(function(e) {
1890
- return lr(e) ? e : e.replace(jn, "-$&").toLowerCase();
1891
- }), Gt = function(t, r) {
1892
- switch (t) {
1893
- case "animation":
1894
- case "animationName":
1895
- if (typeof r == "string")
1896
- return r.replace(Fn, function(n, o, i) {
1897
- return me = {
1898
- name: o,
1899
- styles: i,
1900
- next: me
1901
- }, o;
1902
- });
1903
- }
1904
- return Bn[t] !== 1 && !lr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
1905
- };
1906
- function ze(e, t, r) {
1907
- if (r == null)
1908
- return "";
1909
- var n = r;
1910
- if (n.__emotion_styles !== void 0)
1911
- return n;
1912
- switch (typeof r) {
1913
- case "boolean":
1914
- return "";
1915
- case "object": {
1916
- var o = r;
1917
- if (o.anim === 1)
1918
- return me = {
1919
- name: o.name,
1920
- styles: o.styles,
1921
- next: me
1922
- }, o.name;
1923
- var i = r;
1924
- if (i.styles !== void 0) {
1925
- var s = i.next;
1926
- if (s !== void 0)
1927
- for (; s !== void 0; )
1928
- me = {
1929
- name: s.name,
1930
- styles: s.styles,
1931
- next: me
1932
- }, s = s.next;
1933
- var u = i.styles + ";";
1934
- return u;
1935
- }
1936
- return Ln(e, t, r);
1937
- }
1938
- }
1939
- var l = r;
1940
- return l;
1941
- }
1942
- function Ln(e, t, r) {
1943
- var n = "";
1944
- if (Array.isArray(r))
1945
- for (var o = 0; o < r.length; o++)
1946
- n += ze(e, t, r[o]) + ";";
1947
- else
1948
- for (var i in r) {
1949
- var s = r[i];
1950
- if (typeof s != "object") {
1951
- var u = s;
1952
- zt(u) && (n += lt(i) + ":" + Gt(i, u) + ";");
1953
- } else if (Array.isArray(s) && typeof s[0] == "string" && t == null)
1954
- for (var l = 0; l < s.length; l++)
1955
- zt(s[l]) && (n += lt(i) + ":" + Gt(i, s[l]) + ";");
1956
- else {
1957
- var d = ze(e, t, s);
1958
- switch (i) {
1959
- case "animation":
1960
- case "animationName": {
1961
- n += lt(i) + ":" + d + ";";
1962
- break;
1963
- }
1964
- default:
1965
- n += i + "{" + d + "}";
1966
- }
1967
- }
1968
- }
1969
- return n;
1970
- }
1971
- var qt = /label:\s*([^\s;{]+)\s*(;|$)/g, me;
1972
- function Wn(e, t, r) {
1973
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1974
- return e[0];
1975
- var n = !0, o = "";
1976
- me = void 0;
1977
- var i = e[0];
1978
- if (i == null || i.raw === void 0)
1979
- n = !1, o += ze(r, t, i);
1980
- else {
1981
- var s = i;
1982
- o += s[0];
1983
- }
1984
- for (var u = 1; u < e.length; u++)
1985
- if (o += ze(r, t, e[u]), n) {
1986
- var l = i;
1987
- o += l[u];
1988
- }
1989
- qt.lastIndex = 0;
1990
- for (var d = "", m; (m = qt.exec(o)) !== null; )
1991
- d += "-" + m[1];
1992
- var g = Dn(o) + d;
1993
- return {
1994
- name: g,
1995
- styles: o,
1996
- next: me
1997
- };
1998
- }
1999
- /**
2000
- * @mui/styled-engine v7.2.0
2001
- *
2002
- * @license MIT
2003
- * This source code is licensed under the MIT license found in the
2004
- * LICENSE file in the root directory of this source tree.
2005
- */
2006
- function Yn(e, t) {
2007
- const r = Tr(e, t);
2008
- return process.env.NODE_ENV !== "production" ? (...n) => {
2009
- const o = typeof e == "string" ? `"${e}"` : "component";
2010
- return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
2011
- `)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
2012
- } : r;
2013
- }
2014
- function Un(e, t) {
2015
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
2016
- }
2017
- const Kt = [];
2018
- function Se(e) {
2019
- return Kt[0] = e, Wn(Kt);
2020
- }
2021
- const zn = (e) => {
2022
- const t = Object.keys(e).map((r) => ({
2023
- key: r,
2024
- val: e[r]
2025
- })) || [];
2026
- return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => ({
2027
- ...r,
2028
- [n.key]: n.val
2029
- }), {});
2030
- };
2031
- function Gn(e) {
2032
- const {
2033
- // The breakpoint **start** at this value.
2034
- // For instance with the first breakpoint xs: [xs, sm).
2035
- values: t = {
2036
- xs: 0,
2037
- // phone
2038
- sm: 600,
2039
- // tablet
2040
- md: 900,
2041
- // small laptop
2042
- lg: 1200,
2043
- // desktop
2044
- xl: 1536
2045
- // large screen
2046
- },
2047
- unit: r = "px",
2048
- step: n = 5,
2049
- ...o
2050
- } = e, i = zn(t), s = Object.keys(i);
2051
- function u(p) {
2052
- return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
2053
- }
2054
- function l(p) {
2055
- return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
2056
- }
2057
- function d(p, S) {
2058
- const b = s.indexOf(S);
2059
- return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(b !== -1 && typeof t[s[b]] == "number" ? t[s[b]] : S) - n / 100}${r})`;
2060
- }
2061
- function m(p) {
2062
- return s.indexOf(p) + 1 < s.length ? d(p, s[s.indexOf(p) + 1]) : u(p);
2063
- }
2064
- function g(p) {
2065
- const S = s.indexOf(p);
2066
- return S === 0 ? u(s[1]) : S === s.length - 1 ? l(s[S]) : d(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
2067
- }
2068
- return {
2069
- keys: s,
2070
- values: i,
2071
- up: u,
2072
- down: l,
2073
- between: d,
2074
- only: m,
2075
- not: g,
2076
- unit: r,
2077
- ...o
2078
- };
2079
- }
2080
- const qn = {
2081
- borderRadius: 4
2082
- };
2083
- function fr(e = 8, t = Et({
2084
- spacing: e
2085
- })) {
2086
- if (e.mui)
2087
- return e;
2088
- const r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
2089
- const s = t(i);
2090
- return typeof s == "number" ? `${s}px` : s;
2091
- }).join(" "));
2092
- return r.mui = !0, r;
2093
- }
2094
- function Kn(e, t) {
2095
- var n;
2096
- const r = this;
2097
- if (r.vars) {
2098
- if (!((n = r.colorSchemes) != null && n[e]) || typeof r.getColorSchemeSelector != "function")
2099
- return {};
2100
- let o = r.getColorSchemeSelector(e);
2101
- return o === "&" ? t : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
2102
- [o]: t
2103
- });
2104
- }
2105
- return r.palette.mode === e ? t : {};
2106
- }
2107
- function dr(e = {}, ...t) {
2108
- const {
2109
- breakpoints: r = {},
2110
- palette: n = {},
2111
- spacing: o,
2112
- shape: i = {},
2113
- ...s
2114
- } = e, u = Gn(r), l = fr(o);
2115
- let d = ie({
2116
- breakpoints: u,
2117
- direction: "ltr",
2118
- components: {},
2119
- // Inject component definitions.
2120
- palette: {
2121
- mode: "light",
2122
- ...n
2123
- },
2124
- spacing: l,
2125
- shape: {
2126
- ...qn,
2127
- ...i
2128
- }
2129
- }, s);
2130
- return d = Gr(d), d.applyStyles = Kn, d = t.reduce((m, g) => ie(m, g), d), d.unstable_sxConfig = {
2131
- ...nt,
2132
- ...s == null ? void 0 : s.unstable_sxConfig
2133
- }, d.unstable_sx = function(g) {
2134
- return _e({
2135
- sx: g,
2136
- theme: this
2137
- });
2138
- }, d;
2139
- }
2140
- const Hn = {
2141
- active: "active",
2142
- checked: "checked",
2143
- completed: "completed",
2144
- disabled: "disabled",
2145
- error: "error",
2146
- expanded: "expanded",
2147
- focused: "focused",
2148
- focusVisible: "focusVisible",
2149
- open: "open",
2150
- readOnly: "readOnly",
2151
- required: "required",
2152
- selected: "selected"
2153
- };
2154
- function pr(e, t, r = "Mui") {
2155
- const n = Hn[t];
2156
- return n ? `${r}-${n}` : `${Fr.generate(e)}-${t}`;
2157
- }
2158
- function ii(e, t, r = "Mui") {
2159
- const n = {};
2160
- return t.forEach((o) => {
2161
- n[o] = pr(e, o, r);
2162
- }), n;
2163
- }
2164
- function mr(e, t = "") {
2165
- return e.displayName || e.name || t;
2166
- }
2167
- function Ht(e, t, r) {
2168
- const n = mr(t);
2169
- return e.displayName || (n !== "" ? `${r}(${n})` : r);
2170
- }
2171
- function Qn(e) {
2172
- if (e != null) {
2173
- if (typeof e == "string")
2174
- return e;
2175
- if (typeof e == "function")
2176
- return mr(e, "Component");
2177
- if (typeof e == "object")
2178
- switch (e.$$typeof) {
2179
- case Ye.ForwardRef:
2180
- return Ht(e, e.render, "ForwardRef");
2181
- case Ye.Memo:
2182
- return Ht(e, e.type, "memo");
2183
- default:
2184
- return;
2185
- }
2186
- }
2187
- }
2188
- function gr(e) {
2189
- const {
2190
- variants: t,
2191
- ...r
2192
- } = e, n = {
2193
- variants: t,
2194
- style: Se(r),
2195
- isProcessed: !0
2196
- };
2197
- return n.style === r || t && t.forEach((o) => {
2198
- typeof o.style != "function" && (o.style = Se(o.style));
2199
- }), n;
2200
- }
2201
- const Xn = dr();
2202
- function ft(e) {
2203
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
2204
- }
2205
- function ve(e, t) {
2206
- return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
2207
- }
2208
- function Jn(e) {
2209
- return e ? (t, r) => r[e] : null;
2210
- }
2211
- function Zn(e, t, r) {
2212
- e.theme = no(e.theme) ? r : e.theme[t] || e.theme;
2213
- }
2214
- function We(e, t, r) {
2215
- const n = typeof t == "function" ? t(e) : t;
2216
- if (Array.isArray(n))
2217
- return n.flatMap((o) => We(e, o, r));
2218
- if (Array.isArray(n == null ? void 0 : n.variants)) {
2219
- let o;
2220
- if (n.isProcessed)
2221
- o = r ? ve(n.style, r) : n.style;
2222
- else {
2223
- const {
2224
- variants: i,
2225
- ...s
2226
- } = n;
2227
- o = r ? ve(Se(s), r) : s;
2228
- }
2229
- return hr(e, n.variants, [o], r);
2230
- }
2231
- return n != null && n.isProcessed ? r ? ve(Se(n.style), r) : n.style : r ? ve(Se(n), r) : n;
2232
- }
2233
- function hr(e, t, r = [], n = void 0) {
2234
- var i;
2235
- let o;
2236
- e: for (let s = 0; s < t.length; s += 1) {
2237
- const u = t[s];
2238
- if (typeof u.props == "function") {
2239
- if (o ?? (o = {
2240
- ...e,
2241
- ...e.ownerState,
2242
- ownerState: e.ownerState
2243
- }), !u.props(o))
2244
- continue;
2245
- } else
2246
- for (const l in u.props)
2247
- if (e[l] !== u.props[l] && ((i = e.ownerState) == null ? void 0 : i[l]) !== u.props[l])
2248
- continue e;
2249
- typeof u.style == "function" ? (o ?? (o = {
2250
- ...e,
2251
- ...e.ownerState,
2252
- ownerState: e.ownerState
2253
- }), r.push(n ? ve(Se(u.style(o)), n) : u.style(o))) : r.push(n ? ve(Se(u.style), n) : u.style);
2254
- }
2255
- return r;
2256
- }
2257
- function eo(e = {}) {
2258
- const {
2259
- themeId: t,
2260
- defaultTheme: r = Xn,
2261
- rootShouldForwardProp: n = ft,
2262
- slotShouldForwardProp: o = ft
2263
- } = e;
2264
- function i(u) {
2265
- Zn(u, t, r);
2266
- }
2267
- return (u, l = {}) => {
2268
- Un(u, (B) => B.filter((z) => z !== _e));
2269
- const {
2270
- name: d,
2271
- slot: m,
2272
- skipVariantsResolver: g,
2273
- skipSx: p,
2274
- // TODO v6: remove `lowercaseFirstLetter()` in the next major release
2275
- // For more details: https://github.com/mui/material-ui/pull/37908
2276
- overridesResolver: S = Jn(yr(m)),
2277
- ...b
2278
- } = l, c = d && d.startsWith("Mui") || m ? "components" : "custom", w = g !== void 0 ? g : (
2279
- // TODO v6: remove `Root` in the next major release
2280
- // For more details: https://github.com/mui/material-ui/pull/37908
2281
- m && m !== "Root" && m !== "root" || !1
2282
- ), $ = p || !1;
2283
- let K = ft;
2284
- m === "Root" || m === "root" ? K = n : m ? K = o : oo(u) && (K = void 0);
2285
- const x = Yn(u, {
2286
- shouldForwardProp: K,
2287
- label: ro(d, m),
2288
- ...b
2289
- }), T = (B) => {
2290
- if (B.__emotion_real === B)
2291
- return B;
2292
- if (typeof B == "function")
2293
- return function(ee) {
2294
- return We(ee, B, ee.theme.modularCssLayers ? c : void 0);
2295
- };
2296
- if (de(B)) {
2297
- const z = gr(B);
2298
- return function(G) {
2299
- return z.variants ? We(G, z, G.theme.modularCssLayers ? c : void 0) : G.theme.modularCssLayers ? ve(z.style, c) : z.style;
2300
- };
2301
- }
2302
- return B;
2303
- }, h = (...B) => {
2304
- const z = [], ee = B.map(T), G = [];
2305
- if (z.push(i), d && S && G.push(function(I) {
2306
- var ne, be;
2307
- const Z = (be = (ne = I.theme.components) == null ? void 0 : ne[d]) == null ? void 0 : be.styleOverrides;
2308
- if (!Z)
2309
- return null;
2310
- const te = {};
2311
- for (const Ce in Z)
2312
- te[Ce] = We(I, Z[Ce], I.theme.modularCssLayers ? "theme" : void 0);
2313
- return S(I, te);
2314
- }), d && !w && G.push(function(I) {
2315
- var te, ne;
2316
- const J = I.theme, Z = (ne = (te = J == null ? void 0 : J.components) == null ? void 0 : te[d]) == null ? void 0 : ne.variants;
2317
- return Z ? hr(I, Z, [], I.theme.modularCssLayers ? "theme" : void 0) : null;
2318
- }), $ || G.push(_e), Array.isArray(ee[0])) {
2319
- const A = ee.shift(), I = new Array(z.length).fill(""), J = new Array(G.length).fill("");
2320
- let Z;
2321
- Z = [...I, ...A, ...J], Z.raw = [...I, ...A.raw, ...J], z.unshift(Z);
2322
- }
2323
- const a = [...z, ...ee, ...G], E = x(...a);
2324
- return u.muiName && (E.muiName = u.muiName), process.env.NODE_ENV !== "production" && (E.displayName = to(d, m, u)), E;
2325
- };
2326
- return x.withConfig && (h.withConfig = x.withConfig), h;
2327
- };
2328
- }
2329
- function to(e, t, r) {
2330
- return e ? `${e}${Ct(t || "")}` : `Styled(${Qn(r)})`;
2331
- }
2332
- function ro(e, t) {
2333
- let r;
2334
- return process.env.NODE_ENV !== "production" && e && (r = `${e}-${yr(t || "Root")}`), r;
2335
- }
2336
- function no(e) {
2337
- for (const t in e)
2338
- return !1;
2339
- return !0;
2340
- }
2341
- function oo(e) {
2342
- return typeof e == "string" && // 96 is one less than the char code
2343
- // for "a" so this is checking that
2344
- // it's a lowercase character
2345
- e.charCodeAt(0) > 96;
2346
- }
2347
- function yr(e) {
2348
- return e && e.charAt(0).toLowerCase() + e.slice(1);
2349
- }
2350
- const io = /* @__PURE__ */ Ge.createContext(void 0);
2351
- process.env.NODE_ENV !== "production" && (fe.node, fe.object);
2352
- function ao(e) {
2353
- const {
2354
- theme: t,
2355
- name: r,
2356
- props: n
2357
- } = e;
2358
- if (!t || !t.components || !t.components[r])
2359
- return n;
2360
- const o = t.components[r];
2361
- return o.defaultProps ? mt(o.defaultProps, n, t.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? mt(o, n, t.components.mergeClassNameAndStyle) : n;
2362
- }
2363
- function so({
2364
- props: e,
2365
- name: t
2366
- }) {
2367
- const r = Ge.useContext(io);
2368
- return ao({
2369
- props: e,
2370
- name: t,
2371
- theme: {
2372
- components: r
2373
- }
2374
- });
2375
- }
2376
- const Qt = {
2377
- theme: void 0
2378
- };
2379
- function co(e) {
2380
- let t, r;
2381
- return function(o) {
2382
- let i = t;
2383
- return (i === void 0 || o.theme !== r) && (Qt.theme = o.theme, i = gr(e(Qt)), t = i, r = o.theme), i;
2384
- };
2385
- }
2386
- function uo(e = "") {
2387
- function t(...n) {
2388
- if (!n.length)
2389
- return "";
2390
- const o = n[0];
2391
- return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${t(...n.slice(1))})` : `, ${o}`;
2392
- }
2393
- return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
2394
- }
2395
- const Xt = (e, t, r, n = []) => {
2396
- let o = e;
2397
- t.forEach((i, s) => {
2398
- s === t.length - 1 ? Array.isArray(o) ? o[Number(i)] = r : o && typeof o == "object" && (o[i] = r) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
2399
- });
2400
- }, lo = (e, t, r) => {
2401
- function n(o, i = [], s = []) {
2402
- Object.entries(o).forEach(([u, l]) => {
2403
- (!r || r && !r([...i, u])) && l != null && (typeof l == "object" && Object.keys(l).length > 0 ? n(l, [...i, u], Array.isArray(l) ? [...s, u] : s) : t([...i, u], l, s));
2404
- });
2405
- }
2406
- n(e);
2407
- }, fo = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
2408
- function dt(e, t) {
2409
- const {
2410
- prefix: r,
2411
- shouldSkipGeneratingVar: n
2412
- } = t || {}, o = {}, i = {}, s = {};
2413
- return lo(
2414
- e,
2415
- (u, l, d) => {
2416
- if ((typeof l == "string" || typeof l == "number") && (!n || !n(u, l))) {
2417
- const m = `--${r ? `${r}-` : ""}${u.join("-")}`, g = fo(u, l);
2418
- Object.assign(o, {
2419
- [m]: g
2420
- }), Xt(i, u, `var(${m})`, d), Xt(s, u, `var(${m}, ${g})`, d);
2421
- }
2422
- },
2423
- (u) => u[0] === "vars"
2424
- // skip 'vars/*' paths
2425
- ), {
2426
- css: o,
2427
- vars: i,
2428
- varsWithDefaults: s
2429
- };
2430
- }
2431
- function po(e, t = {}) {
2432
- const {
2433
- getSelector: r = w,
2434
- disableCssColorScheme: n,
2435
- colorSchemeSelector: o
2436
- } = t, {
2437
- colorSchemes: i = {},
2438
- components: s,
2439
- defaultColorScheme: u = "light",
2440
- ...l
2441
- } = e, {
2442
- vars: d,
2443
- css: m,
2444
- varsWithDefaults: g
2445
- } = dt(l, t);
2446
- let p = g;
2447
- const S = {}, {
2448
- [u]: b,
2449
- ...c
2450
- } = i;
2451
- if (Object.entries(c || {}).forEach(([x, T]) => {
2452
- const {
2453
- vars: h,
2454
- css: B,
2455
- varsWithDefaults: z
2456
- } = dt(T, t);
2457
- p = ie(p, z), S[x] = {
2458
- css: B,
2459
- vars: h
2460
- };
2461
- }), b) {
2462
- const {
2463
- css: x,
2464
- vars: T,
2465
- varsWithDefaults: h
2466
- } = dt(b, t);
2467
- p = ie(p, h), S[u] = {
2468
- css: x,
2469
- vars: T
2470
- };
2471
- }
2472
- function w(x, T) {
2473
- var B, z;
2474
- let h = o;
2475
- if (o === "class" && (h = ".%s"), o === "data" && (h = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (h = `[${o}="%s"]`), x) {
2476
- if (h === "media")
2477
- return e.defaultColorScheme === x ? ":root" : {
2478
- [`@media (prefers-color-scheme: ${((z = (B = i[x]) == null ? void 0 : B.palette) == null ? void 0 : z.mode) || x})`]: {
2479
- ":root": T
2480
- }
2481
- };
2482
- if (h)
2483
- return e.defaultColorScheme === x ? `:root, ${h.replace("%s", String(x))}` : h.replace("%s", String(x));
2484
- }
2485
- return ":root";
2486
- }
2487
- return {
2488
- vars: p,
2489
- generateThemeVars: () => {
2490
- let x = {
2491
- ...d
2492
- };
2493
- return Object.entries(S).forEach(([, {
2494
- vars: T
2495
- }]) => {
2496
- x = ie(x, T);
2497
- }), x;
2498
- },
2499
- generateStyleSheets: () => {
2500
- var ee, G;
2501
- const x = [], T = e.defaultColorScheme || "light";
2502
- function h(a, E) {
2503
- Object.keys(E).length && x.push(typeof a == "string" ? {
2504
- [a]: {
2505
- ...E
2506
- }
2507
- } : a);
2508
- }
2509
- h(r(void 0, {
2510
- ...m
2511
- }), m);
2512
- const {
2513
- [T]: B,
2514
- ...z
2515
- } = S;
2516
- if (B) {
2517
- const {
2518
- css: a
2519
- } = B, E = (G = (ee = i[T]) == null ? void 0 : ee.palette) == null ? void 0 : G.mode, A = !n && E ? {
2520
- colorScheme: E,
2521
- ...a
2522
- } : {
2523
- ...a
2524
- };
2525
- h(r(T, {
2526
- ...A
2527
- }), A);
2528
- }
2529
- return Object.entries(z).forEach(([a, {
2530
- css: E
2531
- }]) => {
2532
- var J, Z;
2533
- const A = (Z = (J = i[a]) == null ? void 0 : J.palette) == null ? void 0 : Z.mode, I = !n && A ? {
2534
- colorScheme: A,
2535
- ...E
2536
- } : {
2537
- ...E
2538
- };
2539
- h(r(a, {
2540
- ...I
2541
- }), I);
2542
- }), x;
2543
- }
2544
- };
2545
- }
2546
- function mo(e) {
2547
- return function(r) {
2548
- return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
2549
- };
2550
- }
2551
- const Ie = {
2552
- black: "#000",
2553
- white: "#fff"
2554
- }, go = {
2555
- 50: "#fafafa",
2556
- 100: "#f5f5f5",
2557
- 200: "#eeeeee",
2558
- 300: "#e0e0e0",
2559
- 400: "#bdbdbd",
2560
- 500: "#9e9e9e",
2561
- 600: "#757575",
2562
- 700: "#616161",
2563
- 800: "#424242",
2564
- 900: "#212121",
2565
- A100: "#f5f5f5",
2566
- A200: "#eeeeee",
2567
- A400: "#bdbdbd",
2568
- A700: "#616161"
2569
- }, Ee = {
2570
- 50: "#f3e5f5",
2571
- 200: "#ce93d8",
2572
- 300: "#ba68c8",
2573
- 400: "#ab47bc",
2574
- 500: "#9c27b0",
2575
- 700: "#7b1fa2"
2576
- }, Te = {
2577
- 300: "#e57373",
2578
- 400: "#ef5350",
2579
- 500: "#f44336",
2580
- 700: "#d32f2f",
2581
- 800: "#c62828"
2582
- }, Ae = {
2583
- 300: "#ffb74d",
2584
- 400: "#ffa726",
2585
- 500: "#ff9800",
2586
- 700: "#f57c00",
2587
- 900: "#e65100"
2588
- }, we = {
2589
- 50: "#e3f2fd",
2590
- 200: "#90caf9",
2591
- 400: "#42a5f5",
2592
- 700: "#1976d2",
2593
- 800: "#1565c0"
2594
- }, xe = {
2595
- 300: "#4fc3f7",
2596
- 400: "#29b6f6",
2597
- 500: "#03a9f4",
2598
- 700: "#0288d1",
2599
- 900: "#01579b"
2600
- }, $e = {
2601
- 300: "#81c784",
2602
- 400: "#66bb6a",
2603
- 500: "#4caf50",
2604
- 700: "#388e3c",
2605
- 800: "#2e7d32",
2606
- 900: "#1b5e20"
2607
- };
2608
- function br() {
2609
- return {
2610
- // The colors used to style the text.
2611
- text: {
2612
- // The most important text.
2613
- primary: "rgba(0, 0, 0, 0.87)",
2614
- // Secondary text.
2615
- secondary: "rgba(0, 0, 0, 0.6)",
2616
- // Disabled text have even lower visual prominence.
2617
- disabled: "rgba(0, 0, 0, 0.38)"
2618
- },
2619
- // The color used to divide different elements.
2620
- divider: "rgba(0, 0, 0, 0.12)",
2621
- // The background colors used to style the surfaces.
2622
- // Consistency between these values is important.
2623
- background: {
2624
- paper: Ie.white,
2625
- default: Ie.white
2626
- },
2627
- // The colors used to style the action elements.
2628
- action: {
2629
- // The color of an active action like an icon button.
2630
- active: "rgba(0, 0, 0, 0.54)",
2631
- // The color of an hovered action.
2632
- hover: "rgba(0, 0, 0, 0.04)",
2633
- hoverOpacity: 0.04,
2634
- // The color of a selected action.
2635
- selected: "rgba(0, 0, 0, 0.08)",
2636
- selectedOpacity: 0.08,
2637
- // The color of a disabled action.
2638
- disabled: "rgba(0, 0, 0, 0.26)",
2639
- // The background color of a disabled action.
2640
- disabledBackground: "rgba(0, 0, 0, 0.12)",
2641
- disabledOpacity: 0.38,
2642
- focus: "rgba(0, 0, 0, 0.12)",
2643
- focusOpacity: 0.12,
2644
- activatedOpacity: 0.12
2645
- }
2646
- };
2647
- }
2648
- const ho = br();
2649
- function vr() {
2650
- return {
2651
- text: {
2652
- primary: Ie.white,
2653
- secondary: "rgba(255, 255, 255, 0.7)",
2654
- disabled: "rgba(255, 255, 255, 0.5)",
2655
- icon: "rgba(255, 255, 255, 0.5)"
2656
- },
2657
- divider: "rgba(255, 255, 255, 0.12)",
2658
- background: {
2659
- paper: "#121212",
2660
- default: "#121212"
2661
- },
2662
- action: {
2663
- active: Ie.white,
2664
- hover: "rgba(255, 255, 255, 0.08)",
2665
- hoverOpacity: 0.08,
2666
- selected: "rgba(255, 255, 255, 0.16)",
2667
- selectedOpacity: 0.16,
2668
- disabled: "rgba(255, 255, 255, 0.3)",
2669
- disabledBackground: "rgba(255, 255, 255, 0.12)",
2670
- disabledOpacity: 0.38,
2671
- focus: "rgba(255, 255, 255, 0.12)",
2672
- focusOpacity: 0.12,
2673
- activatedOpacity: 0.24
2674
- }
2675
- };
2676
- }
2677
- const Jt = vr();
2678
- function Zt(e, t, r, n) {
2679
- const o = n.light || n, i = n.dark || n * 1.5;
2680
- e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = St(e.main, o) : t === "dark" && (e.dark = vt(e.main, i)));
2681
- }
2682
- function yo(e = "light") {
2683
- return e === "dark" ? {
2684
- main: we[200],
2685
- light: we[50],
2686
- dark: we[400]
2687
- } : {
2688
- main: we[700],
2689
- light: we[400],
2690
- dark: we[800]
2691
- };
2692
- }
2693
- function bo(e = "light") {
2694
- return e === "dark" ? {
2695
- main: Ee[200],
2696
- light: Ee[50],
2697
- dark: Ee[400]
2698
- } : {
2699
- main: Ee[500],
2700
- light: Ee[300],
2701
- dark: Ee[700]
2702
- };
2703
- }
2704
- function vo(e = "light") {
2705
- return e === "dark" ? {
2706
- main: Te[500],
2707
- light: Te[300],
2708
- dark: Te[700]
2709
- } : {
2710
- main: Te[700],
2711
- light: Te[400],
2712
- dark: Te[800]
2713
- };
2714
- }
2715
- function So(e = "light") {
2716
- return e === "dark" ? {
2717
- main: xe[400],
2718
- light: xe[300],
2719
- dark: xe[700]
2720
- } : {
2721
- main: xe[700],
2722
- light: xe[500],
2723
- dark: xe[900]
2724
- };
2725
- }
2726
- function Co(e = "light") {
2727
- return e === "dark" ? {
2728
- main: $e[400],
2729
- light: $e[300],
2730
- dark: $e[700]
2731
- } : {
2732
- main: $e[800],
2733
- light: $e[500],
2734
- dark: $e[900]
2735
- };
2736
- }
2737
- function Eo(e = "light") {
2738
- return e === "dark" ? {
2739
- main: Ae[400],
2740
- light: Ae[300],
2741
- dark: Ae[700]
2742
- } : {
2743
- main: "#ed6c02",
2744
- // closest to orange[800] that pass 3:1.
2745
- light: Ae[500],
2746
- dark: Ae[900]
2747
- };
2748
- }
2749
- function wt(e) {
2750
- const {
2751
- mode: t = "light",
2752
- contrastThreshold: r = 3,
2753
- tonalOffset: n = 0.2,
2754
- ...o
2755
- } = e, i = e.primary || yo(t), s = e.secondary || bo(t), u = e.error || vo(t), l = e.info || So(t), d = e.success || Co(t), m = e.warning || Eo(t);
2756
- function g(c) {
2757
- const w = Dt(c, Jt.text.primary) >= r ? Jt.text.primary : ho.text.primary;
2758
- if (process.env.NODE_ENV !== "production") {
2759
- const $ = Dt(c, w);
2760
- $ < 3 && console.error([`MUI: The contrast ratio of ${$}:1 for ${w} on ${c}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
2761
- `));
2762
- }
2763
- return w;
2764
- }
2765
- const p = ({
2766
- color: c,
2767
- name: w,
2768
- mainShade: $ = 500,
2769
- lightShade: K = 300,
2770
- darkShade: x = 700
2771
- }) => {
2772
- if (c = {
2773
- ...c
2774
- }, !c.main && c[$] && (c.main = c[$]), !c.hasOwnProperty("main"))
2775
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
2776
- The color object needs to have a \`main\` property or a \`${$}\` property.` : ge(11, w ? ` (${w})` : "", $));
2777
- if (typeof c.main != "string")
2778
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
2779
- \`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
2780
-
2781
- Did you intend to use one of the following approaches?
2782
-
2783
- import { green } from "@mui/material/colors";
2784
-
2785
- const theme1 = createTheme({ palette: {
2786
- primary: green,
2787
- } });
2788
-
2789
- const theme2 = createTheme({ palette: {
2790
- primary: { main: green[500] },
2791
- } });` : ge(12, w ? ` (${w})` : "", JSON.stringify(c.main)));
2792
- return Zt(c, "light", K, n), Zt(c, "dark", x, n), c.contrastText || (c.contrastText = g(c.main)), c;
2793
- };
2794
- let S;
2795
- return t === "light" ? S = br() : t === "dark" && (S = vr()), process.env.NODE_ENV !== "production" && (S || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ie({
2796
- // A collection of common colors.
2797
- common: {
2798
- ...Ie
2799
- },
2800
- // prevent mutable object.
2801
- // The palette mode, can be light or dark.
2802
- mode: t,
2803
- // The colors used to represent primary interface elements for a user.
2804
- primary: p({
2805
- color: i,
2806
- name: "primary"
2807
- }),
2808
- // The colors used to represent secondary interface elements for a user.
2809
- secondary: p({
2810
- color: s,
2811
- name: "secondary",
2812
- mainShade: "A400",
2813
- lightShade: "A200",
2814
- darkShade: "A700"
2815
- }),
2816
- // The colors used to represent interface elements that the user should be made aware of.
2817
- error: p({
2818
- color: u,
2819
- name: "error"
2820
- }),
2821
- // The colors used to represent potentially dangerous actions or important messages.
2822
- warning: p({
2823
- color: m,
2824
- name: "warning"
2825
- }),
2826
- // The colors used to present information to the user that is neutral and not necessarily important.
2827
- info: p({
2828
- color: l,
2829
- name: "info"
2830
- }),
2831
- // The colors used to indicate the successful completion of an action that user triggered.
2832
- success: p({
2833
- color: d,
2834
- name: "success"
2835
- }),
2836
- // The grey colors.
2837
- grey: go,
2838
- // Used by `getContrastText()` to maximize the contrast between
2839
- // the background and the text.
2840
- contrastThreshold: r,
2841
- // Takes a background color and returns the text color that maximizes the contrast.
2842
- getContrastText: g,
2843
- // Generate a rich color object.
2844
- augmentColor: p,
2845
- // Used by the functions below to shift a color's luminance by approximately
2846
- // two indexes within its tonal palette.
2847
- // E.g., shift from Red 500 to Red 300 or Red 700.
2848
- tonalOffset: n,
2849
- // The light and dark mode object.
2850
- ...S
2851
- }, o);
2852
- }
2853
- function To(e) {
2854
- const t = {};
2855
- return Object.entries(e).forEach((n) => {
2856
- const [o, i] = n;
2857
- typeof i == "object" && (t[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
2858
- }), t;
2859
- }
2860
- function wo(e, t) {
2861
- return {
2862
- toolbar: {
2863
- minHeight: 56,
2864
- [e.up("xs")]: {
2865
- "@media (orientation: landscape)": {
2866
- minHeight: 48
2867
- }
2868
- },
2869
- [e.up("sm")]: {
2870
- minHeight: 64
2871
- }
2872
- },
2873
- ...t
2874
- };
2875
- }
2876
- function xo(e) {
2877
- return Math.round(e * 1e5) / 1e5;
2878
- }
2879
- const er = {
2880
- textTransform: "uppercase"
2881
- }, tr = '"Roboto", "Helvetica", "Arial", sans-serif';
2882
- function $o(e, t) {
2883
- const {
2884
- fontFamily: r = tr,
2885
- // The default font size of the Material Specification.
2886
- fontSize: n = 14,
2887
- // px
2888
- fontWeightLight: o = 300,
2889
- fontWeightRegular: i = 400,
2890
- fontWeightMedium: s = 500,
2891
- fontWeightBold: u = 700,
2892
- // Tell MUI what's the font-size on the html element.
2893
- // 16px is the default font-size used by browsers.
2894
- htmlFontSize: l = 16,
2895
- // Apply the CSS properties to all the variants.
2896
- allVariants: d,
2897
- pxToRem: m,
2898
- ...g
2899
- } = typeof t == "function" ? t(e) : t;
2900
- process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof l != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2901
- const p = n / 14, S = m || ((w) => `${w / l * p}rem`), b = (w, $, K, x, T) => ({
2902
- fontFamily: r,
2903
- fontWeight: w,
2904
- fontSize: S($),
2905
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2906
- lineHeight: K,
2907
- // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2908
- // across font-families can cause issues with the kerning.
2909
- ...r === tr ? {
2910
- letterSpacing: `${xo(x / $)}em`
2911
- } : {},
2912
- ...T,
2913
- ...d
2914
- }), c = {
2915
- h1: b(o, 96, 1.167, -1.5),
2916
- h2: b(o, 60, 1.2, -0.5),
2917
- h3: b(i, 48, 1.167, 0),
2918
- h4: b(i, 34, 1.235, 0.25),
2919
- h5: b(i, 24, 1.334, 0),
2920
- h6: b(s, 20, 1.6, 0.15),
2921
- subtitle1: b(i, 16, 1.75, 0.15),
2922
- subtitle2: b(s, 14, 1.57, 0.1),
2923
- body1: b(i, 16, 1.5, 0.15),
2924
- body2: b(i, 14, 1.43, 0.15),
2925
- button: b(s, 14, 1.75, 0.4, er),
2926
- caption: b(i, 12, 1.66, 0.4),
2927
- overline: b(i, 12, 2.66, 1, er),
2928
- // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
2929
- inherit: {
2930
- fontFamily: "inherit",
2931
- fontWeight: "inherit",
2932
- fontSize: "inherit",
2933
- lineHeight: "inherit",
2934
- letterSpacing: "inherit"
2935
- }
2936
- };
2937
- return ie({
2938
- htmlFontSize: l,
2939
- pxToRem: S,
2940
- fontFamily: r,
2941
- fontSize: n,
2942
- fontWeightLight: o,
2943
- fontWeightRegular: i,
2944
- fontWeightMedium: s,
2945
- fontWeightBold: u,
2946
- ...c
2947
- }, g, {
2948
- clone: !1
2949
- // No need to clone deep
2950
- });
2951
- }
2952
- const Oo = 0.2, _o = 0.14, Ao = 0.12;
2953
- function q(...e) {
2954
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Oo})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${_o})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ao})`].join(",");
2955
- }
2956
- const Ro = ["none", q(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), q(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), q(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), q(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), q(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), q(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), q(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), q(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), q(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), q(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), q(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), q(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), q(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), q(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), q(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), q(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), q(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), q(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), q(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), q(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), q(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), q(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), q(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), q(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Po = {
2957
- // This is the most common easing curve.
2958
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2959
- // Objects enter the screen at full velocity from off-screen and
2960
- // slowly decelerate to a resting point.
2961
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2962
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2963
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2964
- // The sharp curve is used by objects that may return to the screen at any time.
2965
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2966
- }, ko = {
2967
- shortest: 150,
2968
- shorter: 200,
2969
- short: 250,
2970
- // most basic recommended timing
2971
- standard: 300,
2972
- // this is to be used in complex animations
2973
- complex: 375,
2974
- // recommended when something is entering screen
2975
- enteringScreen: 225,
2976
- // recommended when something is leaving screen
2977
- leavingScreen: 195
2978
- };
2979
- function rr(e) {
2980
- return `${Math.round(e)}ms`;
2981
- }
2982
- function Io(e) {
2983
- if (!e)
2984
- return 0;
2985
- const t = e / 36;
2986
- return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
2987
- }
2988
- function No(e) {
2989
- const t = {
2990
- ...Po,
2991
- ...e.easing
2992
- }, r = {
2993
- ...ko,
2994
- ...e.duration
2995
- };
2996
- return {
2997
- getAutoHeightDuration: Io,
2998
- create: (o = ["all"], i = {}) => {
2999
- const {
3000
- duration: s = r.standard,
3001
- easing: u = t.easeInOut,
3002
- delay: l = 0,
3003
- ...d
3004
- } = i;
3005
- if (process.env.NODE_ENV !== "production") {
3006
- const m = (p) => typeof p == "string", g = (p) => !Number.isNaN(parseFloat(p));
3007
- !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !g(s) && !m(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), m(u) || console.error('MUI: Argument "easing" must be a string.'), !g(l) && !m(l) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3008
- `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
3009
- }
3010
- return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof s == "string" ? s : rr(s)} ${u} ${typeof l == "string" ? l : rr(l)}`).join(",");
3011
- },
3012
- ...e,
3013
- easing: t,
3014
- duration: r
3015
- };
3016
- }
3017
- const Mo = {
3018
- mobileStepper: 1e3,
3019
- fab: 1050,
3020
- speedDial: 1050,
3021
- appBar: 1100,
3022
- drawer: 1200,
3023
- modal: 1300,
3024
- snackbar: 1400,
3025
- tooltip: 1500
3026
- };
3027
- function Do(e) {
3028
- return de(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3029
- }
3030
- function Sr(e = {}) {
3031
- const t = {
3032
- ...e
3033
- };
3034
- function r(n) {
3035
- const o = Object.entries(n);
3036
- for (let i = 0; i < o.length; i++) {
3037
- const [s, u] = o[i];
3038
- !Do(u) || s.startsWith("unstable_") ? delete n[s] : de(u) && (n[s] = {
3039
- ...u
3040
- }, r(n[s]));
3041
- }
3042
- }
3043
- return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
3044
-
3045
- const theme = ${JSON.stringify(t, null, 2)};
3046
-
3047
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
3048
- theme.transitions = createTransitions(theme.transitions || {});
3049
-
3050
- export default theme;`;
3051
- }
3052
- function ht(e = {}, ...t) {
3053
- const {
3054
- breakpoints: r,
3055
- mixins: n = {},
3056
- spacing: o,
3057
- palette: i = {},
3058
- transitions: s = {},
3059
- typography: u = {},
3060
- shape: l,
3061
- ...d
3062
- } = e;
3063
- if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
3064
- // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
3065
- e.generateThemeVars === void 0)
3066
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : ge(20));
3067
- const m = wt(i), g = dr(e);
3068
- let p = ie(g, {
3069
- mixins: wo(g.breakpoints, n),
3070
- palette: m,
3071
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3072
- shadows: Ro.slice(),
3073
- typography: $o(m, u),
3074
- transitions: No(s),
3075
- zIndex: {
3076
- ...Mo
3077
- }
3078
- });
3079
- if (p = ie(p, d), p = t.reduce((S, b) => ie(S, b), p), process.env.NODE_ENV !== "production") {
3080
- const S = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (c, w) => {
3081
- let $;
3082
- for ($ in c) {
3083
- const K = c[$];
3084
- if (S.includes($) && Object.keys(K).length > 0) {
3085
- if (process.env.NODE_ENV !== "production") {
3086
- const x = pr("", $);
3087
- console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${$}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${x}' syntax:`, JSON.stringify({
3088
- root: {
3089
- [`&.${x}`]: K
3090
- }
3091
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3092
- `));
3093
- }
3094
- c[$] = {};
3095
- }
3096
- }
3097
- };
3098
- Object.keys(p.components).forEach((c) => {
3099
- const w = p.components[c].styleOverrides;
3100
- w && c.startsWith("Mui") && b(w, c);
3101
- });
3102
- }
3103
- return p.unstable_sxConfig = {
3104
- ...nt,
3105
- ...d == null ? void 0 : d.unstable_sxConfig
3106
- }, p.unstable_sx = function(b) {
3107
- return _e({
3108
- sx: b,
3109
- theme: this
3110
- });
3111
- }, p.toRuntimeSource = Sr, p;
3112
- }
3113
- function Bo(e) {
3114
- let t;
3115
- return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
3116
- }
3117
- const Vo = [...Array(25)].map((e, t) => {
3118
- if (t === 0)
3119
- return "none";
3120
- const r = Bo(t);
3121
- return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
3122
- });
3123
- function Cr(e) {
3124
- return {
3125
- inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3126
- inputUnderline: e === "dark" ? 0.7 : 0.42,
3127
- switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
3128
- switchTrack: e === "dark" ? 0.3 : 0.38
3129
- };
3130
- }
3131
- function Er(e) {
3132
- return e === "dark" ? Vo : [];
3133
- }
3134
- function jo(e) {
3135
- const {
3136
- palette: t = {
3137
- mode: "light"
3138
- },
3139
- // need to cast to avoid module augmentation test
3140
- opacity: r,
3141
- overlays: n,
3142
- ...o
3143
- } = e, i = wt(t);
3144
- return {
3145
- palette: i,
3146
- opacity: {
3147
- ...Cr(i.mode),
3148
- ...r
3149
- },
3150
- overlays: n || Er(i.mode),
3151
- ...o
3152
- };
3153
- }
3154
- function Fo(e) {
3155
- var t;
3156
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3157
- e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
3158
- }
3159
- const Lo = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Wo = (e) => (t, r) => {
3160
- const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
3161
- let i = o;
3162
- if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === t) {
3163
- if (t === "dark") {
3164
- const s = {};
3165
- return Lo(e.cssVarPrefix).forEach((u) => {
3166
- s[u] = r[u], delete r[u];
3167
- }), i === "media" ? {
3168
- [n]: r,
3169
- "@media (prefers-color-scheme: dark)": {
3170
- [n]: s
3171
- }
3172
- } : i ? {
3173
- [i.replace("%s", t)]: s,
3174
- [`${n}, ${i.replace("%s", t)}`]: r
3175
- } : {
3176
- [n]: {
3177
- ...r,
3178
- ...s
3179
- }
3180
- };
3181
- }
3182
- if (i && i !== "media")
3183
- return `${n}, ${i.replace("%s", String(t))}`;
3184
- } else if (t) {
3185
- if (i === "media")
3186
- return {
3187
- [`@media (prefers-color-scheme: ${String(t)})`]: {
3188
- [n]: r
3189
- }
3190
- };
3191
- if (i)
3192
- return i.replace("%s", String(t));
3193
- }
3194
- return n;
3195
- };
3196
- function Yo(e, t) {
3197
- t.forEach((r) => {
3198
- e[r] || (e[r] = {});
3199
- });
3200
- }
3201
- function f(e, t, r) {
3202
- !e[t] && r && (e[t] = r);
3203
- }
3204
- function Pe(e) {
3205
- return typeof e != "string" || !e.startsWith("hsl") ? e : sr(e);
3206
- }
3207
- function le(e, t) {
3208
- `${t}Channel` in e || (e[`${t}Channel`] = Re(Pe(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
3209
- To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
3210
- }
3211
- function Uo(e) {
3212
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3213
- }
3214
- const ue = (e) => {
3215
- try {
3216
- return e();
3217
- } catch {
3218
- }
3219
- }, zo = (e = "mui") => uo(e);
3220
- function pt(e, t, r, n) {
3221
- if (!t)
3222
- return;
3223
- t = t === !0 ? {} : t;
3224
- const o = n === "dark" ? "dark" : "light";
3225
- if (!r) {
3226
- e[n] = jo({
3227
- ...t,
3228
- palette: {
3229
- mode: o,
3230
- ...t == null ? void 0 : t.palette
3231
- }
3232
- });
3233
- return;
3234
- }
3235
- const {
3236
- palette: i,
3237
- ...s
3238
- } = ht({
3239
- ...r,
3240
- palette: {
3241
- mode: o,
3242
- ...t == null ? void 0 : t.palette
3243
- }
3244
- });
3245
- return e[n] = {
3246
- ...t,
3247
- palette: i,
3248
- opacity: {
3249
- ...Cr(o),
3250
- ...t == null ? void 0 : t.opacity
3251
- },
3252
- overlays: (t == null ? void 0 : t.overlays) || Er(o)
3253
- }, s;
3254
- }
3255
- function Go(e = {}, ...t) {
3256
- const {
3257
- colorSchemes: r = {
3258
- light: !0
3259
- },
3260
- defaultColorScheme: n,
3261
- disableCssColorScheme: o = !1,
3262
- cssVarPrefix: i = "mui",
3263
- shouldSkipGeneratingVar: s = Fo,
3264
- colorSchemeSelector: u = r.light && r.dark ? "media" : void 0,
3265
- rootSelector: l = ":root",
3266
- ...d
3267
- } = e, m = Object.keys(r)[0], g = n || (r.light && m !== "light" ? "light" : m), p = zo(i), {
3268
- [g]: S,
3269
- light: b,
3270
- dark: c,
3271
- ...w
3272
- } = r, $ = {
3273
- ...w
3274
- };
3275
- let K = S;
3276
- if ((g === "dark" && !("dark" in r) || g === "light" && !("light" in r)) && (K = !0), !K)
3277
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${g}\` option is either missing or invalid.` : ge(21, g));
3278
- const x = pt($, K, d, g);
3279
- b && !$.light && pt($, b, void 0, "light"), c && !$.dark && pt($, c, void 0, "dark");
3280
- let T = {
3281
- defaultColorScheme: g,
3282
- ...x,
3283
- cssVarPrefix: i,
3284
- colorSchemeSelector: u,
3285
- rootSelector: l,
3286
- getCssVar: p,
3287
- colorSchemes: $,
3288
- font: {
3289
- ...To(x.typography),
3290
- ...x.font
3291
- },
3292
- spacing: Uo(d.spacing)
3293
- };
3294
- Object.keys(T.colorSchemes).forEach((G) => {
3295
- const a = T.colorSchemes[G].palette, E = (A) => {
3296
- const I = A.split("-"), J = I[1], Z = I[2];
3297
- return p(A, a[J][Z]);
3298
- };
3299
- if (a.mode === "light" && (f(a.common, "background", "#fff"), f(a.common, "onBackground", "#000")), a.mode === "dark" && (f(a.common, "background", "#000"), f(a.common, "onBackground", "#fff")), Yo(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
3300
- f(a.Alert, "errorColor", Y(a.error.light, 0.6)), f(a.Alert, "infoColor", Y(a.info.light, 0.6)), f(a.Alert, "successColor", Y(a.success.light, 0.6)), f(a.Alert, "warningColor", Y(a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", E("palette-error-main")), f(a.Alert, "infoFilledBg", E("palette-info-main")), f(a.Alert, "successFilledBg", E("palette-success-main")), f(a.Alert, "warningFilledBg", E("palette-warning-main")), f(a.Alert, "errorFilledColor", ue(() => a.getContrastText(a.error.main))), f(a.Alert, "infoFilledColor", ue(() => a.getContrastText(a.info.main))), f(a.Alert, "successFilledColor", ue(() => a.getContrastText(a.success.main))), f(a.Alert, "warningFilledColor", ue(() => a.getContrastText(a.warning.main))), f(a.Alert, "errorStandardBg", U(a.error.light, 0.9)), f(a.Alert, "infoStandardBg", U(a.info.light, 0.9)), f(a.Alert, "successStandardBg", U(a.success.light, 0.9)), f(a.Alert, "warningStandardBg", U(a.warning.light, 0.9)), f(a.Alert, "errorIconColor", E("palette-error-main")), f(a.Alert, "infoIconColor", E("palette-info-main")), f(a.Alert, "successIconColor", E("palette-success-main")), f(a.Alert, "warningIconColor", E("palette-warning-main")), f(a.AppBar, "defaultBg", E("palette-grey-100")), f(a.Avatar, "defaultBg", E("palette-grey-400")), f(a.Button, "inheritContainedBg", E("palette-grey-300")), f(a.Button, "inheritContainedHoverBg", E("palette-grey-A100")), f(a.Chip, "defaultBorder", E("palette-grey-400")), f(a.Chip, "defaultAvatarColor", E("palette-grey-700")), f(a.Chip, "defaultIconColor", E("palette-grey-700")), f(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), f(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), f(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), f(a.LinearProgress, "primaryBg", U(a.primary.main, 0.62)), f(a.LinearProgress, "secondaryBg", U(a.secondary.main, 0.62)), f(a.LinearProgress, "errorBg", U(a.error.main, 0.62)), f(a.LinearProgress, "infoBg", U(a.info.main, 0.62)), f(a.LinearProgress, "successBg", U(a.success.main, 0.62)), f(a.LinearProgress, "warningBg", U(a.warning.main, 0.62)), f(a.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.11)`), f(a.Slider, "primaryTrack", U(a.primary.main, 0.62)), f(a.Slider, "secondaryTrack", U(a.secondary.main, 0.62)), f(a.Slider, "errorTrack", U(a.error.main, 0.62)), f(a.Slider, "infoTrack", U(a.info.main, 0.62)), f(a.Slider, "successTrack", U(a.success.main, 0.62)), f(a.Slider, "warningTrack", U(a.warning.main, 0.62));
3301
- const A = Fe(a.background.default, 0.8);
3302
- f(a.SnackbarContent, "bg", A), f(a.SnackbarContent, "color", ue(() => a.getContrastText(A))), f(a.SpeedDialAction, "fabHoverBg", Fe(a.background.paper, 0.15)), f(a.StepConnector, "border", E("palette-grey-400")), f(a.StepContent, "border", E("palette-grey-400")), f(a.Switch, "defaultColor", E("palette-common-white")), f(a.Switch, "defaultDisabledColor", E("palette-grey-100")), f(a.Switch, "primaryDisabledColor", U(a.primary.main, 0.62)), f(a.Switch, "secondaryDisabledColor", U(a.secondary.main, 0.62)), f(a.Switch, "errorDisabledColor", U(a.error.main, 0.62)), f(a.Switch, "infoDisabledColor", U(a.info.main, 0.62)), f(a.Switch, "successDisabledColor", U(a.success.main, 0.62)), f(a.Switch, "warningDisabledColor", U(a.warning.main, 0.62)), f(a.TableCell, "border", U(je(a.divider, 1), 0.88)), f(a.Tooltip, "bg", je(a.grey[700], 0.92));
3303
- }
3304
- if (a.mode === "dark") {
3305
- f(a.Alert, "errorColor", U(a.error.light, 0.6)), f(a.Alert, "infoColor", U(a.info.light, 0.6)), f(a.Alert, "successColor", U(a.success.light, 0.6)), f(a.Alert, "warningColor", U(a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", E("palette-error-dark")), f(a.Alert, "infoFilledBg", E("palette-info-dark")), f(a.Alert, "successFilledBg", E("palette-success-dark")), f(a.Alert, "warningFilledBg", E("palette-warning-dark")), f(a.Alert, "errorFilledColor", ue(() => a.getContrastText(a.error.dark))), f(a.Alert, "infoFilledColor", ue(() => a.getContrastText(a.info.dark))), f(a.Alert, "successFilledColor", ue(() => a.getContrastText(a.success.dark))), f(a.Alert, "warningFilledColor", ue(() => a.getContrastText(a.warning.dark))), f(a.Alert, "errorStandardBg", Y(a.error.light, 0.9)), f(a.Alert, "infoStandardBg", Y(a.info.light, 0.9)), f(a.Alert, "successStandardBg", Y(a.success.light, 0.9)), f(a.Alert, "warningStandardBg", Y(a.warning.light, 0.9)), f(a.Alert, "errorIconColor", E("palette-error-main")), f(a.Alert, "infoIconColor", E("palette-info-main")), f(a.Alert, "successIconColor", E("palette-success-main")), f(a.Alert, "warningIconColor", E("palette-warning-main")), f(a.AppBar, "defaultBg", E("palette-grey-900")), f(a.AppBar, "darkBg", E("palette-background-paper")), f(a.AppBar, "darkColor", E("palette-text-primary")), f(a.Avatar, "defaultBg", E("palette-grey-600")), f(a.Button, "inheritContainedBg", E("palette-grey-800")), f(a.Button, "inheritContainedHoverBg", E("palette-grey-700")), f(a.Chip, "defaultBorder", E("palette-grey-700")), f(a.Chip, "defaultAvatarColor", E("palette-grey-300")), f(a.Chip, "defaultIconColor", E("palette-grey-300")), f(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), f(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), f(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), f(a.LinearProgress, "primaryBg", Y(a.primary.main, 0.5)), f(a.LinearProgress, "secondaryBg", Y(a.secondary.main, 0.5)), f(a.LinearProgress, "errorBg", Y(a.error.main, 0.5)), f(a.LinearProgress, "infoBg", Y(a.info.main, 0.5)), f(a.LinearProgress, "successBg", Y(a.success.main, 0.5)), f(a.LinearProgress, "warningBg", Y(a.warning.main, 0.5)), f(a.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.13)`), f(a.Slider, "primaryTrack", Y(a.primary.main, 0.5)), f(a.Slider, "secondaryTrack", Y(a.secondary.main, 0.5)), f(a.Slider, "errorTrack", Y(a.error.main, 0.5)), f(a.Slider, "infoTrack", Y(a.info.main, 0.5)), f(a.Slider, "successTrack", Y(a.success.main, 0.5)), f(a.Slider, "warningTrack", Y(a.warning.main, 0.5));
3306
- const A = Fe(a.background.default, 0.98);
3307
- f(a.SnackbarContent, "bg", A), f(a.SnackbarContent, "color", ue(() => a.getContrastText(A))), f(a.SpeedDialAction, "fabHoverBg", Fe(a.background.paper, 0.15)), f(a.StepConnector, "border", E("palette-grey-600")), f(a.StepContent, "border", E("palette-grey-600")), f(a.Switch, "defaultColor", E("palette-grey-300")), f(a.Switch, "defaultDisabledColor", E("palette-grey-600")), f(a.Switch, "primaryDisabledColor", Y(a.primary.main, 0.55)), f(a.Switch, "secondaryDisabledColor", Y(a.secondary.main, 0.55)), f(a.Switch, "errorDisabledColor", Y(a.error.main, 0.55)), f(a.Switch, "infoDisabledColor", Y(a.info.main, 0.55)), f(a.Switch, "successDisabledColor", Y(a.success.main, 0.55)), f(a.Switch, "warningDisabledColor", Y(a.warning.main, 0.55)), f(a.TableCell, "border", Y(je(a.divider, 1), 0.68)), f(a.Tooltip, "bg", je(a.grey[700], 0.92));
3308
- }
3309
- le(a.background, "default"), le(a.background, "paper"), le(a.common, "background"), le(a.common, "onBackground"), le(a, "divider"), Object.keys(a).forEach((A) => {
3310
- const I = a[A];
3311
- A !== "tonalOffset" && I && typeof I == "object" && (I.main && f(a[A], "mainChannel", Re(Pe(I.main))), I.light && f(a[A], "lightChannel", Re(Pe(I.light))), I.dark && f(a[A], "darkChannel", Re(Pe(I.dark))), I.contrastText && f(a[A], "contrastTextChannel", Re(Pe(I.contrastText))), A === "text" && (le(a[A], "primary"), le(a[A], "secondary")), A === "action" && (I.active && le(a[A], "active"), I.selected && le(a[A], "selected")));
3312
- });
3313
- }), T = t.reduce((G, a) => ie(G, a), T);
3314
- const h = {
3315
- prefix: i,
3316
- disableCssColorScheme: o,
3317
- shouldSkipGeneratingVar: s,
3318
- getSelector: Wo(T)
3319
- }, {
3320
- vars: B,
3321
- generateThemeVars: z,
3322
- generateStyleSheets: ee
3323
- } = po(T, h);
3324
- return T.vars = B, Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([G, a]) => {
3325
- T[G] = a;
3326
- }), T.generateThemeVars = z, T.generateStyleSheets = ee, T.generateSpacing = function() {
3327
- return fr(d.spacing, Et(this));
3328
- }, T.getColorSchemeSelector = mo(u), T.spacing = T.generateSpacing(), T.shouldSkipGeneratingVar = s, T.unstable_sxConfig = {
3329
- ...nt,
3330
- ...d == null ? void 0 : d.unstable_sxConfig
3331
- }, T.unstable_sx = function(a) {
3332
- return _e({
3333
- sx: a,
3334
- theme: this
3335
- });
3336
- }, T.toRuntimeSource = Sr, T;
3337
- }
3338
- function nr(e, t, r) {
3339
- e.colorSchemes && r && (e.colorSchemes[t] = {
3340
- ...r !== !0 && r,
3341
- palette: wt({
3342
- ...r === !0 ? {} : r.palette,
3343
- mode: t
3344
- })
3345
- // cast type to skip module augmentation test
3346
- });
3347
- }
3348
- function qo(e = {}, ...t) {
3349
- const {
3350
- palette: r,
3351
- cssVariables: n = !1,
3352
- colorSchemes: o = r ? void 0 : {
3353
- light: !0
3354
- },
3355
- defaultColorScheme: i = r == null ? void 0 : r.mode,
3356
- ...s
3357
- } = e, u = i || "light", l = o == null ? void 0 : o[u], d = {
3358
- ...o,
3359
- ...r ? {
3360
- [u]: {
3361
- ...typeof l != "boolean" && l,
3362
- palette: r
3363
- }
3364
- } : void 0
3365
- };
3366
- if (n === !1) {
3367
- if (!("colorSchemes" in e))
3368
- return ht(e, ...t);
3369
- let m = r;
3370
- "palette" in e || d[u] && (d[u] !== !0 ? m = d[u].palette : u === "dark" && (m = {
3371
- mode: "dark"
3372
- }));
3373
- const g = ht({
3374
- ...e,
3375
- palette: m
3376
- }, ...t);
3377
- return g.defaultColorScheme = u, g.colorSchemes = d, g.palette.mode === "light" && (g.colorSchemes.light = {
3378
- ...d.light !== !0 && d.light,
3379
- palette: g.palette
3380
- }, nr(g, "dark", d.dark)), g.palette.mode === "dark" && (g.colorSchemes.dark = {
3381
- ...d.dark !== !0 && d.dark,
3382
- palette: g.palette
3383
- }, nr(g, "light", d.light)), g;
3384
- }
3385
- return !r && !("light" in d) && u === "light" && (d.light = !0), Go({
3386
- ...s,
3387
- colorSchemes: d,
3388
- defaultColorScheme: u,
3389
- ...typeof n != "boolean" && n
3390
- }, ...t);
3391
- }
3392
- const Ko = qo(), Ho = "$$material";
3393
- function Qo(e) {
3394
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3395
- }
3396
- const Xo = (e) => Qo(e) && e !== "classes", ai = eo({
3397
- themeId: Ho,
3398
- defaultTheme: Ko,
3399
- rootShouldForwardProp: Xo
3400
- }), si = co;
3401
- process.env.NODE_ENV !== "production" && (fe.node, fe.object.isRequired);
3402
- function ci(e) {
3403
- return so(e);
3404
- }
3405
- function ui(e, t) {
3406
- return process.env.NODE_ENV === "production" ? () => null : function(...n) {
3407
- return e(...n) || t(...n);
3408
- };
3409
- }
3410
- function Jo(e) {
3411
- return typeof e.main == "string";
3412
- }
3413
- function Zo(e, t = []) {
3414
- if (!Jo(e))
3415
- return !1;
3416
- for (const r of t)
3417
- if (!e.hasOwnProperty(r) || typeof e[r] != "string")
3418
- return !1;
3419
- return !0;
3420
- }
3421
- function li(e = []) {
3422
- return ([, t]) => t && Zo(t, e);
3423
- }
3424
- export {
3425
- ie as A,
3426
- Ye as B,
3427
- Fr as C,
3428
- Qo as D,
3429
- fe as P,
3430
- Ho as T,
3431
- ii as a,
3432
- Ct as b,
3433
- Ir as c,
3434
- oi as d,
3435
- li as e,
3436
- ui as f,
3437
- pr as g,
3438
- Xo as h,
3439
- Br as i,
3440
- de as j,
3441
- nt as k,
3442
- dr as l,
3443
- si as m,
3444
- Yn as n,
3445
- _e as o,
3446
- qo as p,
3447
- Se as q,
3448
- mt as r,
3449
- ai as s,
3450
- eo as t,
3451
- ci as u,
3452
- Ko as v,
3453
- Bo as w,
3454
- vt as x,
3455
- St as y,
3456
- ge as z
3457
- };