@solostylist/ui-kit 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/dist/{gradients-90SYkAC0.js → gradients-DSnBONEQ.js} +1 -1
  2. package/dist/main.js +1 -1
  3. package/dist/palettes/index.js +1 -1
  4. package/dist/{palettes-Dw3PEYF5.js → palettes-CJLuEy1m.js} +163 -163
  5. package/dist/s-accordion/index.js +1 -1
  6. package/dist/s-accordion/s-accordion.js +70 -2
  7. package/dist/s-action-overlay/s-action-overlay.js +21 -21
  8. package/dist/s-autocomplete/s-autocomplete.js +1 -1
  9. package/dist/s-avatar/s-avatar.js +17 -17
  10. package/dist/s-blur-text/s-blur-text.js +16 -16
  11. package/dist/s-brand-logo/index.js +1 -1
  12. package/dist/s-brand-logo/s-brand-logo.js +1 -1
  13. package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
  14. package/dist/s-carousel/index.js +1 -1
  15. package/dist/s-carousel/s-carousel.js +184 -2
  16. package/dist/s-category-card/s-category-card.js +22 -22
  17. package/dist/s-chat-input/index.js +1 -1
  18. package/dist/s-chat-input/s-chat-input.js +398 -2
  19. package/dist/s-chat-message/index.js +1 -1
  20. package/dist/s-chat-message/s-chat-message.js +314 -2
  21. package/dist/s-checkbox/s-checkbox.js +18 -19
  22. package/dist/s-chips/index.js +1 -1
  23. package/dist/s-chips/s-chips.js +174 -2
  24. package/dist/s-code-block/index.js +1 -1
  25. package/dist/s-code-block/s-code-block.js +103 -2
  26. package/dist/s-comment-message/index.js +1 -1
  27. package/dist/s-comment-message/s-comment-message.js +189 -2
  28. package/dist/s-copyable-text/s-copyable-text.js +18 -18
  29. package/dist/s-countdown/s-count-box.js +18 -18
  30. package/dist/s-data-table/index.js +1 -1
  31. package/dist/s-data-table/s-data-table.js +213 -2
  32. package/dist/s-date-picker/index.js +1 -1
  33. package/dist/s-date-picker/s-date-picker.js +106 -2
  34. package/dist/s-datetime-picker/index.js +1 -1
  35. package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
  36. package/dist/s-dialog/index.js +1 -1
  37. package/dist/s-dialog/s-dialog.js +80 -2
  38. package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
  39. package/dist/s-dialog-message/s-dialog-message.js +31 -32
  40. package/dist/s-empty/s-empty.js +13 -14
  41. package/dist/s-file-dropzone/index.js +1 -1
  42. package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
  43. package/dist/s-file-icon/s-file-icon.js +87 -88
  44. package/dist/s-flex-box/s-flex-box.js +11 -12
  45. package/dist/s-form/s-form.js +15 -15
  46. package/dist/s-gallery/s-gallery.js +1 -1
  47. package/dist/s-glow-button/s-glow-button.js +9 -10
  48. package/dist/s-icon-button/s-icon-button.js +15 -16
  49. package/dist/s-image-comparison/s-image-comparison.js +29 -31
  50. package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
  51. package/dist/s-image-viewer/index.js +3 -3
  52. package/dist/s-image-viewer/s-image-viewer.js +266 -2
  53. package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
  54. package/dist/s-label/s-label.js +26 -27
  55. package/dist/s-language-switcher/index.js +2 -2
  56. package/dist/s-language-switcher/s-language-switcher.js +150 -2
  57. package/dist/s-lazy-image/s-lazy-image.js +17 -18
  58. package/dist/s-link/index.js +1 -1
  59. package/dist/s-link/s-link.js +5 -2
  60. package/dist/s-localization-provider/index.js +1 -1
  61. package/dist/s-localization-provider/s-localization-provider.js +12 -2
  62. package/dist/s-nav-item/s-nav-item.js +16 -16
  63. package/dist/s-nav-items/index.js +2 -2
  64. package/dist/s-nav-items/s-nav-items.js +167 -2
  65. package/dist/s-no-ssr/index.js +1 -1
  66. package/dist/s-no-ssr/s-no-ssr.js +5 -2
  67. package/dist/s-pagination/index.js +1 -1
  68. package/dist/s-pagination/s-pagination.js +85 -2
  69. package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
  70. package/dist/s-quantity-input/index.js +1 -1
  71. package/dist/s-quantity-input/s-quantity-input.js +246 -2
  72. package/dist/s-review/index.js +1 -1
  73. package/dist/s-review/s-review.js +272 -2
  74. package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
  75. package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
  76. package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
  77. package/dist/s-select/index.js +1 -1
  78. package/dist/s-select/s-select.js +201 -2
  79. package/dist/s-select-list/s-select-list.js +47 -50
  80. package/dist/s-skeleton/s-skeleton.js +16 -17
  81. package/dist/s-snackbar-message/index.js +2 -2
  82. package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
  83. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
  84. package/dist/s-status-illustration/s-status-illustration.js +74 -74
  85. package/dist/s-stripe/s-stripe.js +11 -12
  86. package/dist/s-stripe/stripe-input.js +3 -2
  87. package/dist/s-switch/index.js +1 -1
  88. package/dist/s-switch/s-switch.js +48 -2
  89. package/dist/s-tabs/s-tabs.js +48 -50
  90. package/dist/s-text-editor/index.js +1 -1
  91. package/dist/s-text-editor/s-text-editor-toolbar.js +216 -2
  92. package/dist/s-text-editor/s-text-editor.js +25 -26
  93. package/dist/s-text-field/index.js +1 -1
  94. package/dist/s-text-field/s-text-field.js +52 -2
  95. package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
  96. package/dist/s-text-truncation/s-text-truncation.js +20 -20
  97. package/dist/s-theme-demo/s-theme-demo.js +8 -8
  98. package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
  99. package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
  100. package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
  101. package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
  102. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  103. package/dist/s-theme-switch/index.js +1 -1
  104. package/dist/s-theme-switch/s-theme-switch.js +60 -2
  105. package/dist/s-tip/index.js +1 -1
  106. package/dist/s-tip/s-tip.js +61 -2
  107. package/dist/s-tool-bar/s-tool-bar.js +28 -28
  108. package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
  109. package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
  110. package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
  111. package/dist/s-tool-item/s-tool-item.js +22 -22
  112. package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
  113. package/dist/s-zoom-image/s-zoom-image.js +18 -19
  114. package/dist/theme/components/autocomplete.js +43 -2
  115. package/dist/theme/components/avatar.js +9 -2
  116. package/dist/theme/components/card.js +3 -3
  117. package/dist/theme/components/checkbox.js +90 -2
  118. package/dist/theme/components/chip.js +3 -3
  119. package/dist/theme/components/components.js +20 -20
  120. package/dist/theme/components/date-calendar.js +1 -0
  121. package/dist/theme/components/day-calendar.js +1 -0
  122. package/dist/theme/components/field-label-styles.js +19 -2
  123. package/dist/theme/components/form-label.js +1 -1
  124. package/dist/theme/components/list-item-button.js +1 -1
  125. package/dist/theme/components/list-item.js +7 -7
  126. package/dist/theme/components/month-calendar.js +14 -13
  127. package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
  128. package/dist/theme/components/outlined-input.js +6 -6
  129. package/dist/theme/components/picker-day.js +1 -0
  130. package/dist/theme/components/pickers-arrow-switcher.js +1 -0
  131. package/dist/theme/components/pickers-calendar-header.js +3 -2
  132. package/dist/theme/components/select.js +6 -6
  133. package/dist/theme/components/switch.js +1 -1
  134. package/dist/theme/components/table-pagination.js +1 -1
  135. package/dist/theme/components/toggle-button.js +93 -2
  136. package/dist/theme/components/year-calendar.js +14 -13
  137. package/dist/theme/theme-primitives.js +2 -2
  138. package/dist/{theme-primitives-Dt_DT9b5.js → theme-primitives-CRfnMsNy.js} +108 -109
  139. package/dist/utils/dayjs.js +9 -146
  140. package/package.json +1 -1
  141. package/dist/Add-COc9VdNg.js +0 -6
  142. package/dist/ArrowUpward-D88i2k4q.js +0 -6
  143. package/dist/Box-9oeZgA1U.js +0 -46
  144. package/dist/Button-DgIFcM44.js +0 -534
  145. package/dist/ButtonBase-DxKtpFYs.js +0 -747
  146. package/dist/Checkbox-BoZu9z2l.js +0 -152
  147. package/dist/ChevronRight-BxsM4W78.js +0 -6
  148. package/dist/Close-o4HFfK0I.js +0 -6
  149. package/dist/Collapse-zgIFP5Sj.js +0 -266
  150. package/dist/ContentCopy-5unyTYXy.js +0 -6
  151. package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
  152. package/dist/DialogContent-CAry6lVf.js +0 -450
  153. package/dist/Download-DtvoRwpl.js +0 -6
  154. package/dist/ExpandMore-Ba5bg6s-.js +0 -6
  155. package/dist/Favorite-B_GsElm0.js +0 -6
  156. package/dist/FormControl-BxmM9UP6.js +0 -221
  157. package/dist/FormControlLabel-DzgppcC_.js +0 -173
  158. package/dist/Grow-zRRuwUl-.js +0 -121
  159. package/dist/InfoOutlined-VC7X46pc.js +0 -6
  160. package/dist/List-CnGIAXAS.js +0 -103
  161. package/dist/ListContext-B1HQt3OD.js +0 -6
  162. package/dist/Menu-C4Zabc9U.js +0 -504
  163. package/dist/MenuItem-rXJfQzDC.js +0 -223
  164. package/dist/MenuList-DDV8J-yd.js +0 -407
  165. package/dist/Modal-jAiibALV.js +0 -707
  166. package/dist/Paper-ixxCeml9.js +0 -115
  167. package/dist/Popper-CVYyMS3c.js +0 -1350
  168. package/dist/Portal-AnyvFRC4.js +0 -53
  169. package/dist/RtlProvider-B7uVJXUY.js +0 -19
  170. package/dist/Skeleton-iZFynl7z.js +0 -220
  171. package/dist/Stack-UMc4dV4G.js +0 -158
  172. package/dist/SwitchBase-D7zqrstO.js +0 -198
  173. package/dist/Tooltip-DbCd6rgF.js +0 -447
  174. package/dist/Typography-yXjc7kVP.js +0 -168
  175. package/dist/UnfoldMoreRounded-DsN0HVDV.js +0 -6
  176. package/dist/appendOwnerState-CELpvdMz.js +0 -17
  177. package/dist/assets/stripe-input.css +0 -1
  178. package/dist/autocomplete-B_4y84Ba.js +0 -43
  179. package/dist/avatar-BHuZu3DN.js +0 -10
  180. package/dist/buttonBaseClasses-BvBqFLb_.js +0 -13
  181. package/dist/capitalize-CccCFNpQ.js +0 -5
  182. package/dist/checkbox-BKMZEVU5.js +0 -88
  183. package/dist/checkboxClasses-CEsqS4sc.js +0 -18
  184. package/dist/chunk-C_CI6nMA.js +0 -13
  185. package/dist/clsx-DGZSe4Nt.js +0 -16
  186. package/dist/colorManipulator-DmUjcif3.js +0 -129
  187. package/dist/contains-WOhYaq1E.js +0 -16
  188. package/dist/createSimplePaletteValueFilter-C1gWywW_.js +0 -14
  189. package/dist/createSvgIcon-B0SZlJF1.js +0 -155
  190. package/dist/createTheme-xB2Em0Na.js +0 -1869
  191. package/dist/defaultTheme-BaGcIzCh.js +0 -210
  192. package/dist/elementAcceptingRef-DhkNAkFH.js +0 -472
  193. package/dist/exactProp-C_IsucXf.js +0 -13
  194. package/dist/field-label-styles-BOyhp6gw.js +0 -50
  195. package/dist/formLabelClasses-B0Fa-86T.js +0 -18
  196. package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
  197. package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
  198. package/dist/iconButtonClasses-CkciZuIe.js +0 -27
  199. package/dist/inputAdornmentClasses-D5yYK5bM.js +0 -19
  200. package/dist/inputBaseClasses-DuWQGq8Z.js +0 -25
  201. package/dist/integerPropType-Disnft4a.js +0 -27
  202. package/dist/isEventHandler-8dPdzK9U.js +0 -7
  203. package/dist/isFocusVisible-Y7157FQS.js +0 -35
  204. package/dist/isLayoutSupported-Ceir7nyK.js +0 -21
  205. package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
  206. package/dist/memoTheme-qFyKAk7y.js +0 -15
  207. package/dist/mergeSlotProps-xl1-PgWL.js +0 -45
  208. package/dist/monthCalendarClasses-BYVHyEfI.js +0 -14
  209. package/dist/objectWithoutPropertiesLoose-Cpds-4w8.js +0 -23
  210. package/dist/outlinedInputClasses-DECY98u0.js +0 -17
  211. package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +0 -12
  212. package/dist/prop-types-BzYPyWN7.js +0 -516
  213. package/dist/resolveProps-7jIA45vn.js +0 -30
  214. package/dist/s-accordion-B8nlrdFc.js +0 -487
  215. package/dist/s-carousel-Dnjke4JQ.js +0 -1353
  216. package/dist/s-chat-input-DCS0mJE4.js +0 -419
  217. package/dist/s-chat-message-9oollJJq.js +0 -315
  218. package/dist/s-chips-WqGdqHW9.js +0 -176
  219. package/dist/s-code-block-DzGoGg5e.js +0 -658
  220. package/dist/s-comment-message-C6kfgRjv.js +0 -191
  221. package/dist/s-data-table-B1TGVupB.js +0 -805
  222. package/dist/s-date-picker-BpX4HmBp.js +0 -656
  223. package/dist/s-datetime-picker-ByzW44E0.js +0 -3878
  224. package/dist/s-dialog-BLiyjLkx.js +0 -123
  225. package/dist/s-file-dropzone-CVQpYRdY.js +0 -422
  226. package/dist/s-image-viewer-DNIEYdtL.js +0 -269
  227. package/dist/s-language-switcher-D-1nywT3.js +0 -251
  228. package/dist/s-link-CAMTGfd9.js +0 -234
  229. package/dist/s-localization-provider-Xw3NO2uP.js +0 -519
  230. package/dist/s-nav-items-BUp7DddG.js +0 -327
  231. package/dist/s-no-ssr-D8tPdDfh.js +0 -25
  232. package/dist/s-pagination-Dt8Pk5Tp.js +0 -606
  233. package/dist/s-quantity-input-mYCixlJc.js +0 -246
  234. package/dist/s-review-DSXXtWlL.js +0 -272
  235. package/dist/s-select-dwY2DYa9.js +0 -204
  236. package/dist/s-snackbar-message-3Z6VySlB.js +0 -808
  237. package/dist/s-switch-B8bZAzLh.js +0 -307
  238. package/dist/s-text-editor-toolbar-D-XgFQix.js +0 -2121
  239. package/dist/s-text-field-BM4qk0mf.js +0 -51
  240. package/dist/s-theme-switch-BLMz1_m2.js +0 -60
  241. package/dist/s-tip-ty41ePQm.js +0 -62
  242. package/dist/selectClasses-DoUlWfzV.js +0 -22
  243. package/dist/styled-Bog8QCl3.js +0 -163
  244. package/dist/svgIconClasses-C8D4AsMj.js +0 -20
  245. package/dist/switchClasses-eiq1bkQN.js +0 -23
  246. package/dist/theme-demo-components-section-gtIYRngY.js +0 -267
  247. package/dist/toggle-button-Cxi5CfXC.js +0 -104
  248. package/dist/tool-bar-action-buttons-Dt-pV3GA.js +0 -54
  249. package/dist/tool-bar-image-input-BXlll_hV.js +0 -148
  250. package/dist/typographyClasses-BLM3NmYd.js +0 -31
  251. package/dist/useControlled-BeB0W_Ui.js +0 -5
  252. package/dist/useControlled-C4QJnpiR.js +0 -29
  253. package/dist/useEnhancedEffect-Bc3gBClC.js +0 -5
  254. package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
  255. package/dist/useEventCallback-CVqMfiG_.js +0 -14
  256. package/dist/useForkRef-CKneCEtr.js +0 -29
  257. package/dist/useFormControl-iWLrn7Ek.js +0 -18
  258. package/dist/useMobilePicker-C4UQFvkj.js +0 -7580
  259. package/dist/useSlot-iIu8ek6E.js +0 -83
  260. package/dist/useTheme-BIWMbX3i.js +0 -9
  261. package/dist/useThemeProps-BI9yq95N.js +0 -19
  262. package/dist/useThemeProps-Cr28OQu3.js +0 -13
  263. package/dist/utils-oJyTAkZY.js +0 -214
  264. package/dist/warning-CNkSZkq6.js +0 -98
  265. package/dist/yearCalendarClasses-CuAQumpz.js +0 -14
  266. /package/dist/{colors-DKqWMRgW.js → colors-CNjL5fhq.js} +0 -0
  267. /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-CErW9Slg.js} +0 -0
  268. /package/dist/{utils-DaSrTYUS.js → utils-CMeAWSRO.js} +0 -0
@@ -1,1869 +0,0 @@
1
- import { n as e, t } from "./chunk-C_CI6nMA.js";
2
- import { a as n, c as r, d as i, f as a, i as o, l as s, n as c, o as l, s as u, t as d, u as f } from "./colorManipulator-DmUjcif3.js";
3
- import { t as p } from "./prop-types-BzYPyWN7.js";
4
- import { t as m } from "./generateUtilityClass-PAIOm1jC.js";
5
- import * as h from "react";
6
- //#region ../../node_modules/react-is/cjs/react-is.production.js
7
- var g = /* @__PURE__ */ t(((e) => {
8
- var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
9
- function h(e) {
10
- if (typeof e == "object" && e) {
11
- var m = e.$$typeof;
12
- switch (m) {
13
- case t: switch (e = e.type, e) {
14
- case r:
15
- case a:
16
- case i:
17
- case l:
18
- case u:
19
- case p: return e;
20
- default: switch (e &&= e.$$typeof, e) {
21
- case s:
22
- case c:
23
- case f:
24
- case d: return e;
25
- case o: return e;
26
- default: return m;
27
- }
28
- }
29
- case n: return m;
30
- }
31
- }
32
- }
33
- e.ContextConsumer = o, e.ContextProvider = s, e.Element = t, e.ForwardRef = c, e.Fragment = r, e.Lazy = f, e.Memo = d, e.Portal = n, e.Profiler = a, e.StrictMode = i, e.Suspense = l, e.SuspenseList = u, e.isContextConsumer = function(e) {
34
- return h(e) === o;
35
- }, e.isContextProvider = function(e) {
36
- return h(e) === s;
37
- }, e.isElement = function(e) {
38
- return typeof e == "object" && !!e && e.$$typeof === t;
39
- }, e.isForwardRef = function(e) {
40
- return h(e) === c;
41
- }, e.isFragment = function(e) {
42
- return h(e) === r;
43
- }, e.isLazy = function(e) {
44
- return h(e) === f;
45
- }, e.isMemo = function(e) {
46
- return h(e) === d;
47
- }, e.isPortal = function(e) {
48
- return h(e) === n;
49
- }, e.isProfiler = function(e) {
50
- return h(e) === a;
51
- }, e.isStrictMode = function(e) {
52
- return h(e) === i;
53
- }, e.isSuspense = function(e) {
54
- return h(e) === l;
55
- }, e.isSuspenseList = function(e) {
56
- return h(e) === u;
57
- }, e.isValidElementType = function(e) {
58
- return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || e === i || e === l || e === u || typeof e == "object" && e && (e.$$typeof === f || e.$$typeof === d || e.$$typeof === s || e.$$typeof === o || e.$$typeof === c || e.$$typeof === m || e.getModuleId !== void 0));
59
- }, e.typeOf = h;
60
- })), ee = /* @__PURE__ */ t(((e) => {
61
- process.env.NODE_ENV !== "production" && (function() {
62
- function t(e) {
63
- if (typeof e == "object" && e) {
64
- var t = e.$$typeof;
65
- switch (t) {
66
- case n: switch (e = e.type, e) {
67
- case i:
68
- case o:
69
- case a:
70
- case u:
71
- case d:
72
- case m: return e;
73
- default: switch (e &&= e.$$typeof, e) {
74
- case c:
75
- case l:
76
- case p:
77
- case f: return e;
78
- case s: return e;
79
- default: return t;
80
- }
81
- }
82
- case r: return t;
83
- }
84
- }
85
- }
86
- var n = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), h = Symbol.for("react.client.reference");
87
- e.ContextConsumer = s, e.ContextProvider = c, e.Element = n, e.ForwardRef = l, e.Fragment = i, e.Lazy = p, e.Memo = f, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = u, e.SuspenseList = d, e.isContextConsumer = function(e) {
88
- return t(e) === s;
89
- }, e.isContextProvider = function(e) {
90
- return t(e) === c;
91
- }, e.isElement = function(e) {
92
- return typeof e == "object" && !!e && e.$$typeof === n;
93
- }, e.isForwardRef = function(e) {
94
- return t(e) === l;
95
- }, e.isFragment = function(e) {
96
- return t(e) === i;
97
- }, e.isLazy = function(e) {
98
- return t(e) === p;
99
- }, e.isMemo = function(e) {
100
- return t(e) === f;
101
- }, e.isPortal = function(e) {
102
- return t(e) === r;
103
- }, e.isProfiler = function(e) {
104
- return t(e) === o;
105
- }, e.isStrictMode = function(e) {
106
- return t(e) === a;
107
- }, e.isSuspense = function(e) {
108
- return t(e) === u;
109
- }, e.isSuspenseList = function(e) {
110
- return t(e) === d;
111
- }, e.isValidElementType = function(e) {
112
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === o || e === a || e === u || e === d || typeof e == "object" && e && (e.$$typeof === p || e.$$typeof === f || e.$$typeof === c || e.$$typeof === s || e.$$typeof === l || e.$$typeof === h || e.getModuleId !== void 0));
113
- }, e.typeOf = t;
114
- })();
115
- })), _ = /* @__PURE__ */ t(((e, t) => {
116
- process.env.NODE_ENV === "production" ? t.exports = g() : t.exports = ee();
117
- })), v = _();
118
- function y(e) {
119
- if (typeof e != "object" || !e) return !1;
120
- let t = Object.getPrototypeOf(e);
121
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
122
- }
123
- function te(e) {
124
- if (/* @__PURE__ */ h.isValidElement(e) || (0, v.isValidElementType)(e) || !y(e)) return e;
125
- let t = {};
126
- return Object.keys(e).forEach((n) => {
127
- t[n] = te(e[n]);
128
- }), t;
129
- }
130
- function b(e, t, n = { clone: !0 }) {
131
- let r = n.clone ? { ...e } : e;
132
- return y(e) && y(t) && Object.keys(t).forEach((i) => {
133
- /* @__PURE__ */ h.isValidElement(t[i]) || (0, v.isValidElementType)(t[i]) ? r[i] = t[i] : y(t[i]) && Object.prototype.hasOwnProperty.call(e, i) && y(e[i]) ? r[i] = b(e[i], t[i], n) : n.clone ? r[i] = y(t[i]) ? te(t[i]) : t[i] : r[i] = t[i];
134
- }), r;
135
- }
136
- //#endregion
137
- //#region ../../node_modules/@mui/system/createBreakpoints/createBreakpoints.mjs
138
- var x = /* @__PURE__ */ e(p(), 1), ne = (e) => {
139
- let t = Object.keys(e).map((t) => ({
140
- key: t,
141
- val: e[t]
142
- })) || [];
143
- return t.sort((e, t) => e.val - t.val), t.reduce((e, t) => ({
144
- ...e,
145
- [t.key]: t.val
146
- }), {});
147
- };
148
- function S(e) {
149
- let { values: t = {
150
- xs: 0,
151
- sm: 600,
152
- md: 900,
153
- lg: 1200,
154
- xl: 1536
155
- }, unit: n = "px", step: r = 5, ...i } = e, a = ne(t), o = Object.keys(a);
156
- function s(e) {
157
- return `@media (min-width:${typeof t[e] == "number" ? t[e] : e}${n})`;
158
- }
159
- function c(e) {
160
- return `@media (max-width:${(typeof t[e] == "number" ? t[e] : e) - r / 100}${n})`;
161
- }
162
- function l(e, i) {
163
- let a = o.indexOf(i);
164
- return `@media (min-width:${typeof t[e] == "number" ? t[e] : e}${n}) and (max-width:${(a !== -1 && typeof t[o[a]] == "number" ? t[o[a]] : i) - r / 100}${n})`;
165
- }
166
- function u(e) {
167
- return o.indexOf(e) + 1 < o.length ? l(e, o[o.indexOf(e) + 1]) : s(e);
168
- }
169
- function d(e) {
170
- let t = o.indexOf(e);
171
- return t === 0 ? s(o[1]) : t === o.length - 1 ? c(o[t]) : l(e, o[o.indexOf(e) + 1]).replace("@media", "@media not all and");
172
- }
173
- let f = [];
174
- for (let e = 0; e < o.length; e += 1) f.push(s(o[e]));
175
- return {
176
- keys: o,
177
- values: a,
178
- up: s,
179
- down: c,
180
- between: l,
181
- only: u,
182
- not: d,
183
- unit: n,
184
- internal_mediaKeys: f,
185
- ...i
186
- };
187
- }
188
- //#endregion
189
- //#region ../../node_modules/@mui/system/cssContainerQueries/cssContainerQueries.mjs
190
- var C = /min-width:\s*([0-9.]+)/;
191
- function w(e, t) {
192
- if (!e.containerQueries || !re(t)) return t;
193
- let n = [];
194
- for (let e in t) e.startsWith("@container") && n.push(e);
195
- n.sort((e, t) => (e.match(C)?.[1] || 0) - +(t.match(C)?.[1] || 0));
196
- let r = t;
197
- for (let e = 0; e < n.length; e += 1) {
198
- let t = n[e], i = r[t];
199
- delete r[t], r[t] = i;
200
- }
201
- return r;
202
- }
203
- function re(e) {
204
- for (let t in e) if (t.startsWith("@container")) return !0;
205
- return !1;
206
- }
207
- function T(e, t) {
208
- return t === "@" || t.startsWith("@") && (e.some((e) => t.startsWith(`@${e}`)) || !!t.match(/^@\d/));
209
- }
210
- function ie(e, t) {
211
- let n = t.match(/^@([^/]+)?\/?(.+)?$/);
212
- if (!n) {
213
- if (process.env.NODE_ENV !== "production") throw Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);
214
- return null;
215
- }
216
- let [, r, i] = n, a = Number.isNaN(+r) ? r || 0 : +r;
217
- return e.containerQueries(i).up(a);
218
- }
219
- function ae(e) {
220
- let t = (e, t) => e.replace("@media", t ? `@container ${t}` : "@container");
221
- function n(n, r) {
222
- n.up = (...n) => t(e.breakpoints.up(...n), r), n.down = (...n) => t(e.breakpoints.down(...n), r), n.between = (...n) => t(e.breakpoints.between(...n), r), n.only = (...n) => t(e.breakpoints.only(...n), r), n.not = (...n) => {
223
- let i = t(e.breakpoints.not(...n), r);
224
- return i.includes("not all and") ? i.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : i;
225
- };
226
- }
227
- let r = {}, i = (e) => (n(r, e), r);
228
- return n(i), {
229
- ...e,
230
- containerQueries: i
231
- };
232
- }
233
- //#endregion
234
- //#region ../../node_modules/@mui/system/createTheme/shape.mjs
235
- var oe = { borderRadius: 4 }, E = process.env.NODE_ENV === "production" ? {} : x.default.oneOfType([
236
- x.default.number,
237
- x.default.string,
238
- x.default.object,
239
- x.default.array
240
- ]);
241
- //#endregion
242
- //#region ../../node_modules/@mui/utils/isObjectEmpty/isObjectEmpty.mjs
243
- function se(e) {
244
- if (e == null) return !0;
245
- for (let t in e) return !1;
246
- return !0;
247
- }
248
- //#endregion
249
- //#region ../../node_modules/@mui/utils/fastDeepAssign/fastDeepAssign.mjs
250
- function D(e, t) {
251
- let n = Array.isArray(t), r = Array.isArray(e);
252
- return fe(t) ? t : pe(e) ? O(t) : n && r ? ue(e, t) : n === r ? me(e, t) : O(t);
253
- }
254
- function ce(e) {
255
- let t = 0, n = e.length, r = Array(n);
256
- for (t = 0; t < n; t += 1) r[t] = O(e[t]);
257
- return r;
258
- }
259
- function le(e) {
260
- let t = {};
261
- for (let n in e) t[n] = O(e[n]);
262
- return t;
263
- }
264
- function ue(e, t) {
265
- let n = e.length;
266
- for (let r = 0; r < t.length; r += 1) e[n + r] = O(t[r]);
267
- return e;
268
- }
269
- function de(e) {
270
- return typeof e == "object" && !!e && !(e instanceof RegExp) && !(e instanceof Date);
271
- }
272
- function fe(e) {
273
- return typeof e != "object" || !e;
274
- }
275
- function pe(e) {
276
- return typeof e != "object" || !e || e instanceof RegExp || e instanceof Date;
277
- }
278
- function O(e) {
279
- return de(e) ? Array.isArray(e) ? ce(e) : le(e) : e;
280
- }
281
- function me(e, t) {
282
- for (let n in t) n in e ? e[n] = D(e[n], t[n]) : e[n] = O(t[n]);
283
- return e;
284
- }
285
- //#endregion
286
- //#region ../../node_modules/@mui/system/breakpoints/breakpoints.mjs
287
- var he = {}, ge = {
288
- xs: 0,
289
- sm: 600,
290
- md: 900,
291
- lg: 1200,
292
- xl: 1536
293
- }, _e = S({ values: ge }), ve = { containerQueries: (e) => ({ up: (t) => {
294
- let n = typeof t == "number" ? t : ge[t] || t;
295
- return typeof n == "number" && (n = `${n}px`), e ? `@container ${e} (min-width:${n})` : `@container (min-width:${n})`;
296
- } }) };
297
- function k(e, t, n) {
298
- let r = {};
299
- return ye(r, e.theme, t, (e, t, i) => {
300
- let a = n(t, i);
301
- e ? r[e] = a : D(r, a);
302
- });
303
- }
304
- function ye(e, t, n, r) {
305
- if (t ??= he, Array.isArray(n)) {
306
- let i = t.breakpoints ?? _e;
307
- for (let t = 0; t < n.length; t += 1) be(e, i.up(i.keys[t]), n[t], void 0, r);
308
- return e;
309
- }
310
- if (typeof n == "object") {
311
- let i = t.breakpoints ?? _e, a = i.values ?? ge;
312
- for (let o in n) if (T(i.keys, o)) {
313
- let i = ie(t.containerQueries ? t : ve, o);
314
- i && be(e, i, n[o], o, r);
315
- } else if (o in a) be(e, i.up(o), n[o], o, r);
316
- else {
317
- let t = o;
318
- e[t] = n[t];
319
- }
320
- return e;
321
- }
322
- return r(void 0, n), e;
323
- }
324
- function be(e, t, n, r, i) {
325
- e[t] ??= {}, i(t, n, r);
326
- }
327
- function xe(e = _e) {
328
- let { internal_mediaKeys: t } = e, n = {};
329
- for (let e = 0; e < t.length; e += 1) n[t[e]] = {};
330
- return n;
331
- }
332
- function Se(e, t) {
333
- let n = e.internal_mediaKeys;
334
- for (let e = 0; e < n.length; e += 1) {
335
- let r = n[e];
336
- se(t[r]) && delete t[r];
337
- }
338
- return t;
339
- }
340
- function Ce(e, ...t) {
341
- return Se(e, [xe(e), ...t].reduce((e, t) => b(e, t), {}));
342
- }
343
- function we(e, t) {
344
- if (typeof e != "object") return {};
345
- let n = {}, r = Object.keys(t);
346
- return Array.isArray(e) ? r.forEach((t, r) => {
347
- r < e.length && (n[t] = !0);
348
- }) : r.forEach((t) => {
349
- e[t] != null && (n[t] = !0);
350
- }), n;
351
- }
352
- function Te({ values: e, breakpoints: t, base: n }) {
353
- let r = n || we(e, t), i = Object.keys(r);
354
- if (i.length === 0) return e;
355
- let a;
356
- return i.reduce((t, n, r) => (Array.isArray(e) ? (t[n] = e[r] == null ? e[a] : e[r], a = r) : typeof e == "object" ? (t[n] = e[n] == null ? e[a] : e[n], a = n) : t[n] = e, t), {});
357
- }
358
- function Ee(e, t) {
359
- if (Array.isArray(t)) return !0;
360
- if (typeof t == "object" && t) {
361
- for (let n = 0; n < e.keys.length; n += 1) if (e.keys[n] in t) return !0;
362
- let n = Object.keys(t);
363
- for (let t = 0; t < n.length; t += 1) if (T(e.keys, n[t])) return !0;
364
- }
365
- return !1;
366
- }
367
- //#endregion
368
- //#region ../../node_modules/@mui/utils/capitalize/capitalize.mjs
369
- function De(e) {
370
- if (typeof e != "string") throw Error(process.env.NODE_ENV === "production" ? a(7) : "MUI: `capitalize(string)` expects a string argument.");
371
- return e.charAt(0).toUpperCase() + e.slice(1);
372
- }
373
- //#endregion
374
- //#region ../../node_modules/@mui/system/style/style.mjs
375
- function Oe(e, t, n, r) {
376
- let i;
377
- return i = typeof e == "function" ? e(n) : Array.isArray(e) ? e[n] || n : typeof n == "string" && A(e, n, !0, r) || n, t && (i = t(i, n, e)), i;
378
- }
379
- function A(e, t, n = !0, r = void 0) {
380
- if (!e || !t) return null;
381
- let i = t.split(".");
382
- if (e.vars && n) {
383
- let t = ke(e.vars, i, r);
384
- if (t != null) return t;
385
- }
386
- return ke(e, i, r);
387
- }
388
- function ke(e, t, n = void 0) {
389
- let r, i = e, a = 0;
390
- for (; a < t.length;) {
391
- if (i == null) return i;
392
- r = i, i = i[t[a]], a += 1;
393
- }
394
- if (n && i === void 0) {
395
- let e = t[t.length - 1], i = `${n}${e === "default" ? "" : De(e)}`;
396
- return r?.[i];
397
- }
398
- return i;
399
- }
400
- function j(e) {
401
- let { prop: t, cssProperty: n = e.prop, themeKey: r, transform: i } = e, a = (e) => {
402
- if (e[t] == null) return null;
403
- let a = e[t], o = e.theme, s = A(o, r) || {};
404
- return k(e, a, (e) => {
405
- let r = Oe(s, i, e, t);
406
- return n === !1 ? r : { [n]: r };
407
- });
408
- };
409
- return a.propTypes = process.env.NODE_ENV === "production" ? {} : { [t]: E }, a.filterProps = [t], a;
410
- }
411
- //#endregion
412
- //#region ../../node_modules/@mui/system/spacing/spacing.mjs
413
- var Ae = { internal_cache: {} }, je = {
414
- m: "margin",
415
- p: "padding"
416
- }, Me = {
417
- t: "Top",
418
- r: "Right",
419
- b: "Bottom",
420
- l: "Left",
421
- x: ["Left", "Right"],
422
- y: ["Top", "Bottom"]
423
- }, Ne = {
424
- marginX: "mx",
425
- marginY: "my",
426
- paddingX: "px",
427
- paddingY: "py"
428
- }, M = {};
429
- for (let e in je) M[e] = [je[e]];
430
- for (let e in je) for (let t in Me) {
431
- let n = je[e], r = Me[t], i = Array.isArray(r) ? r.map((e) => n + e) : [n + r];
432
- M[e + t] = i;
433
- }
434
- for (let e in Ne) M[e] = M[Ne[e]];
435
- var Pe = new Set([
436
- "m",
437
- "mt",
438
- "mr",
439
- "mb",
440
- "ml",
441
- "mx",
442
- "my",
443
- "margin",
444
- "marginTop",
445
- "marginRight",
446
- "marginBottom",
447
- "marginLeft",
448
- "marginX",
449
- "marginY",
450
- "marginInline",
451
- "marginInlineStart",
452
- "marginInlineEnd",
453
- "marginBlock",
454
- "marginBlockStart",
455
- "marginBlockEnd"
456
- ]), Fe = new Set([
457
- "p",
458
- "pt",
459
- "pr",
460
- "pb",
461
- "pl",
462
- "px",
463
- "py",
464
- "padding",
465
- "paddingTop",
466
- "paddingRight",
467
- "paddingBottom",
468
- "paddingLeft",
469
- "paddingX",
470
- "paddingY",
471
- "paddingInline",
472
- "paddingInlineStart",
473
- "paddingInlineEnd",
474
- "paddingBlock",
475
- "paddingBlockStart",
476
- "paddingBlockEnd"
477
- ]), Ie = new Set([...Pe, ...Fe]);
478
- function N(e, t, n, r) {
479
- let i = A(e, t, !0) ?? n;
480
- return typeof i == "number" || typeof i == "string" ? (e) => typeof e == "string" ? e : (process.env.NODE_ENV !== "production" && typeof e != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`), typeof i == "string" ? i.startsWith("var(") && e === 0 ? 0 : i.startsWith("var(") && e === 1 ? i : `calc(${e} * ${i})` : i * e) : Array.isArray(i) ? (e) => {
481
- if (typeof e == "string") return e;
482
- let n = Math.abs(e);
483
- process.env.NODE_ENV !== "production" && (Number.isInteger(n) ? n > i.length - 1 && console.error([
484
- `MUI: The value provided (${n}) overflows.`,
485
- `The supported values are: ${JSON.stringify(i)}.`,
486
- `${n} > ${i.length - 1}, you need to add the missing values.`
487
- ].join("\n")) : 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("\n")));
488
- let r = i[n];
489
- return e >= 0 ? r : typeof r == "number" ? -r : typeof r == "string" && r.startsWith("var(") ? `calc(-1 * ${r})` : `-${r}`;
490
- } : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join("\n")), () => void 0);
491
- }
492
- function Le(e) {
493
- return N(e, "spacing", 8, "spacing");
494
- }
495
- function P(e, t) {
496
- return typeof t == "string" || t == null ? t : e(t);
497
- }
498
- var Re = [""];
499
- function ze(e, t) {
500
- let n = e.theme ?? Ae, r = n?.internal_cache?.unarySpacing ?? Le(n), i = {};
501
- for (let n in e) {
502
- if (!t.has(n)) continue;
503
- let a = M[n] ?? (Re[0] = n, Re), o = e[n];
504
- ye(i, e.theme, o, (e, t) => {
505
- let n = e ? i[e] : i;
506
- for (let e = 0; e < a.length; e += 1) n[a[e]] = P(r, t);
507
- });
508
- }
509
- return i;
510
- }
511
- function F(e) {
512
- return ze(e, Pe);
513
- }
514
- F.propTypes = process.env.NODE_ENV === "production" ? {} : Array.from(Pe).reduce((e, t) => (e[t] = E, e), {}), F.filterProps = Pe;
515
- function I(e) {
516
- return ze(e, Fe);
517
- }
518
- I.propTypes = process.env.NODE_ENV === "production" ? {} : Array.from(Fe).reduce((e, t) => (e[t] = E, e), {}), I.filterProps = Fe;
519
- function Be(e) {
520
- return ze(e, Ie);
521
- }
522
- Be.propTypes = process.env.NODE_ENV === "production" ? {} : Array.from(Ie).reduce((e, t) => (e[t] = E, e), {}), Be.filterProps = Ie;
523
- //#endregion
524
- //#region ../../node_modules/@mui/system/createTheme/createSpacing.mjs
525
- function Ve(e = 8, t = Le({ spacing: e })) {
526
- if (e.mui) return e;
527
- let n = (...e) => (process.env.NODE_ENV !== "production" && (e.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)), (e.length === 0 ? [1] : e).map((e) => {
528
- let n = t(e);
529
- return typeof n == "number" ? `${n}px` : n;
530
- }).join(" "));
531
- return n.mui = !0, n;
532
- }
533
- //#endregion
534
- //#region ../../node_modules/@mui/system/compose/compose.mjs
535
- function He(...e) {
536
- let t = e.reduce((e, t) => (t.filterProps.forEach((n) => {
537
- e[n] = t;
538
- }), e), {}), n = (e) => {
539
- let n = {};
540
- for (let r in e) t[r] && D(n, t[r](e));
541
- return n;
542
- };
543
- return n.propTypes = process.env.NODE_ENV === "production" ? {} : e.reduce((e, t) => Object.assign(e, t.propTypes), {}), n.filterProps = e.reduce((e, t) => e.concat(t.filterProps), []), n;
544
- }
545
- //#endregion
546
- //#region ../../node_modules/@mui/system/borders/borders.mjs
547
- function L(e) {
548
- return typeof e == "number" ? `${e}px solid` : e;
549
- }
550
- function R(e, t) {
551
- return j({
552
- prop: e,
553
- themeKey: "borders",
554
- transform: t
555
- });
556
- }
557
- var Ue = R("border", L), We = R("borderTop", L), Ge = R("borderRight", L), Ke = R("borderBottom", L), qe = R("borderLeft", L), Je = R("borderColor"), Ye = R("borderTopColor"), Xe = R("borderRightColor"), Ze = R("borderBottomColor"), Qe = R("borderLeftColor"), $e = R("outline", L), et = R("outlineColor"), tt = (e) => {
558
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
559
- let t = N(e.theme, "shape.borderRadius", 4, "borderRadius");
560
- return k(e, e.borderRadius, (e) => ({ borderRadius: P(t, e) }));
561
- }
562
- return null;
563
- };
564
- tt.propTypes = process.env.NODE_ENV === "production" ? {} : { borderRadius: E }, tt.filterProps = ["borderRadius"], He(Ue, We, Ge, Ke, qe, Je, Ye, Xe, Ze, Qe, tt, $e, et);
565
- //#endregion
566
- //#region ../../node_modules/@mui/system/cssGrid/cssGrid.mjs
567
- var nt = (e) => {
568
- if (e.gap !== void 0 && e.gap !== null) {
569
- let t = N(e.theme, "spacing", 8, "gap");
570
- return k(e, e.gap, (e) => ({ gap: P(t, e) }));
571
- }
572
- return null;
573
- };
574
- nt.propTypes = process.env.NODE_ENV === "production" ? {} : { gap: E }, nt.filterProps = ["gap"];
575
- var rt = (e) => {
576
- if (e.columnGap !== void 0 && e.columnGap !== null) {
577
- let t = N(e.theme, "spacing", 8, "columnGap");
578
- return k(e, e.columnGap, (e) => ({ columnGap: P(t, e) }));
579
- }
580
- return null;
581
- };
582
- rt.propTypes = process.env.NODE_ENV === "production" ? {} : { columnGap: E }, rt.filterProps = ["columnGap"];
583
- var z = (e) => {
584
- if (e.rowGap !== void 0 && e.rowGap !== null) {
585
- let t = N(e.theme, "spacing", 8, "rowGap");
586
- return k(e, e.rowGap, (e) => ({ rowGap: P(t, e) }));
587
- }
588
- return null;
589
- };
590
- z.propTypes = process.env.NODE_ENV === "production" ? {} : { rowGap: E }, z.filterProps = ["rowGap"], He(nt, rt, z, j({ prop: "gridColumn" }), j({ prop: "gridRow" }), j({ prop: "gridAutoFlow" }), j({ prop: "gridAutoColumns" }), j({ prop: "gridAutoRows" }), j({ prop: "gridTemplateColumns" }), j({ prop: "gridTemplateRows" }), j({ prop: "gridTemplateAreas" }), j({ prop: "gridArea" }));
591
- //#endregion
592
- //#region ../../node_modules/@mui/system/palette/palette.mjs
593
- function B(e, t) {
594
- return t === "grey" ? t : e;
595
- }
596
- He(j({
597
- prop: "color",
598
- themeKey: "palette",
599
- transform: B
600
- }), j({
601
- prop: "bgcolor",
602
- cssProperty: "backgroundColor",
603
- themeKey: "palette",
604
- transform: B
605
- }), j({
606
- prop: "backgroundColor",
607
- themeKey: "palette",
608
- transform: B
609
- }));
610
- //#endregion
611
- //#region ../../node_modules/@mui/system/sizing/sizing.mjs
612
- function V(e) {
613
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
614
- }
615
- var it = j({
616
- prop: "width",
617
- transform: V
618
- }), at = (e) => e.maxWidth !== void 0 && e.maxWidth !== null ? k(e, e.maxWidth, (t) => {
619
- let n = e.theme?.breakpoints?.values?.[t] || ge[t];
620
- return n ? e.theme?.breakpoints?.unit === "px" ? { maxWidth: n } : { maxWidth: `${n}${e.theme.breakpoints.unit}` } : { maxWidth: V(t) };
621
- }) : null;
622
- at.filterProps = ["maxWidth"];
623
- var ot = j({
624
- prop: "minWidth",
625
- transform: V
626
- }), st = j({
627
- prop: "height",
628
- transform: V
629
- }), ct = j({
630
- prop: "maxHeight",
631
- transform: V
632
- }), lt = j({
633
- prop: "minHeight",
634
- transform: V
635
- });
636
- j({
637
- prop: "size",
638
- cssProperty: "width",
639
- transform: V
640
- }), j({
641
- prop: "size",
642
- cssProperty: "height",
643
- transform: V
644
- }), He(it, at, ot, st, ct, lt, j({ prop: "boxSizing" }));
645
- //#endregion
646
- //#region ../../node_modules/@mui/system/styleFunctionSx/defaultSxConfig.mjs
647
- var ut = {
648
- border: {
649
- themeKey: "borders",
650
- transform: L
651
- },
652
- borderTop: {
653
- themeKey: "borders",
654
- transform: L
655
- },
656
- borderRight: {
657
- themeKey: "borders",
658
- transform: L
659
- },
660
- borderBottom: {
661
- themeKey: "borders",
662
- transform: L
663
- },
664
- borderLeft: {
665
- themeKey: "borders",
666
- transform: L
667
- },
668
- borderColor: { themeKey: "palette" },
669
- borderTopColor: { themeKey: "palette" },
670
- borderRightColor: { themeKey: "palette" },
671
- borderBottomColor: { themeKey: "palette" },
672
- borderLeftColor: { themeKey: "palette" },
673
- outline: {
674
- themeKey: "borders",
675
- transform: L
676
- },
677
- outlineColor: { themeKey: "palette" },
678
- borderRadius: {
679
- themeKey: "shape.borderRadius",
680
- style: tt
681
- },
682
- color: {
683
- themeKey: "palette",
684
- transform: B
685
- },
686
- bgcolor: {
687
- themeKey: "palette",
688
- cssProperty: "backgroundColor",
689
- transform: B
690
- },
691
- backgroundColor: {
692
- themeKey: "palette",
693
- transform: B
694
- },
695
- p: { style: I },
696
- pt: { style: I },
697
- pr: { style: I },
698
- pb: { style: I },
699
- pl: { style: I },
700
- px: { style: I },
701
- py: { style: I },
702
- padding: { style: I },
703
- paddingTop: { style: I },
704
- paddingRight: { style: I },
705
- paddingBottom: { style: I },
706
- paddingLeft: { style: I },
707
- paddingX: { style: I },
708
- paddingY: { style: I },
709
- paddingInline: { style: I },
710
- paddingInlineStart: { style: I },
711
- paddingInlineEnd: { style: I },
712
- paddingBlock: { style: I },
713
- paddingBlockStart: { style: I },
714
- paddingBlockEnd: { style: I },
715
- m: { style: F },
716
- mt: { style: F },
717
- mr: { style: F },
718
- mb: { style: F },
719
- ml: { style: F },
720
- mx: { style: F },
721
- my: { style: F },
722
- margin: { style: F },
723
- marginTop: { style: F },
724
- marginRight: { style: F },
725
- marginBottom: { style: F },
726
- marginLeft: { style: F },
727
- marginX: { style: F },
728
- marginY: { style: F },
729
- marginInline: { style: F },
730
- marginInlineStart: { style: F },
731
- marginInlineEnd: { style: F },
732
- marginBlock: { style: F },
733
- marginBlockStart: { style: F },
734
- marginBlockEnd: { style: F },
735
- displayPrint: {
736
- cssProperty: !1,
737
- transform: (e) => ({ "@media print": { display: e } })
738
- },
739
- display: {},
740
- overflow: {},
741
- textOverflow: {},
742
- visibility: {},
743
- whiteSpace: {},
744
- flexBasis: {},
745
- flexDirection: {},
746
- flexWrap: {},
747
- justifyContent: {},
748
- alignItems: {},
749
- alignContent: {},
750
- order: {},
751
- flex: {},
752
- flexGrow: {},
753
- flexShrink: {},
754
- alignSelf: {},
755
- justifyItems: {},
756
- justifySelf: {},
757
- gap: { style: nt },
758
- rowGap: { style: z },
759
- columnGap: { style: rt },
760
- gridColumn: {},
761
- gridRow: {},
762
- gridAutoFlow: {},
763
- gridAutoColumns: {},
764
- gridAutoRows: {},
765
- gridTemplateColumns: {},
766
- gridTemplateRows: {},
767
- gridTemplateAreas: {},
768
- gridArea: {},
769
- position: {},
770
- zIndex: { themeKey: "zIndex" },
771
- top: {},
772
- right: {},
773
- bottom: {},
774
- left: {},
775
- boxShadow: { themeKey: "shadows" },
776
- width: { transform: V },
777
- maxWidth: { style: at },
778
- minWidth: { transform: V },
779
- height: { transform: V },
780
- maxHeight: { transform: V },
781
- minHeight: { transform: V },
782
- boxSizing: {},
783
- font: { themeKey: "font" },
784
- fontFamily: { themeKey: "typography" },
785
- fontSize: { themeKey: "typography" },
786
- fontStyle: { themeKey: "typography" },
787
- fontWeight: { themeKey: "typography" },
788
- letterSpacing: {},
789
- textTransform: {},
790
- lineHeight: {},
791
- textAlign: {},
792
- typography: {
793
- cssProperty: !1,
794
- themeKey: "typography"
795
- }
796
- }, dt = {};
797
- function ft() {
798
- function e(t) {
799
- if (!t.sx) return null;
800
- let { sx: n, theme: r = dt, nested: i } = t, a = r.unstable_sxConfig ?? ut, o = {
801
- sx: null,
802
- theme: r,
803
- nested: !0
804
- };
805
- function s(n) {
806
- let s = n;
807
- if (typeof n == "function") s = n(r);
808
- else if (typeof n != "object") return n;
809
- if (!s) return null;
810
- let c = r.breakpoints ?? _e, l = xe(c);
811
- for (let n in s) {
812
- let i = ht(s[n], r);
813
- if (i != null) {
814
- if (typeof i != "object") {
815
- mt(l, n, i, r, a);
816
- continue;
817
- }
818
- if (a[n]) {
819
- mt(l, n, i, r, a);
820
- continue;
821
- }
822
- Ee(c, i) ? ye(l, t.theme, i, (e, t) => {
823
- l[e][n] = t;
824
- }) : (o.sx = i, l[n] = e(o));
825
- }
826
- }
827
- return !i && r.modularCssLayers ? { "@layer sx": w(r, Se(c, l)) } : w(r, Se(c, l));
828
- }
829
- return Array.isArray(n) ? n.map(s) : s(n);
830
- }
831
- return e.filterProps = ["sx"], e;
832
- }
833
- var pt = ft();
834
- function mt(e, t, n, r, i) {
835
- let a = i[t];
836
- if (!a) {
837
- e[t] = n;
838
- return;
839
- }
840
- if (n == null) return;
841
- let { themeKey: o } = a;
842
- if (o === "typography" && n === "inherit") {
843
- e[t] = n;
844
- return;
845
- }
846
- let { style: s } = a;
847
- if (s) {
848
- D(e, s({
849
- [t]: n,
850
- theme: r
851
- }));
852
- return;
853
- }
854
- let { cssProperty: c = t, transform: l } = a, u = A(r, o);
855
- ye(e, r, n, (n, r) => {
856
- let i = Oe(u, l, r, t);
857
- c === !1 ? D(n ? e[n] : e, i) : n ? e[n][c] = i : e[c] = i;
858
- });
859
- }
860
- function ht(e, t) {
861
- return typeof e == "function" ? e(t) : e;
862
- }
863
- //#endregion
864
- //#region ../../node_modules/@mui/system/createTheme/applyStyles.mjs
865
- function gt(e, t) {
866
- let n = this;
867
- if (n.vars) {
868
- if (!n.colorSchemes?.[e] || typeof n.getColorSchemeSelector != "function") return {};
869
- let r = n.getColorSchemeSelector(e);
870
- return r === "&" ? t : ((r.includes("data-") || r.includes(".")) && (r = `*:where(${r.replace(/\s*&$/, "")}) &`), { [r]: t });
871
- }
872
- return n.palette.mode === e ? t : {};
873
- }
874
- //#endregion
875
- //#region ../../node_modules/@mui/system/createTheme/createTheme.mjs
876
- function _t(e = {}, ...t) {
877
- let { breakpoints: n = {}, palette: r = {}, spacing: i, shape: a = {}, ...o } = e, s = S(n), c = Ve(i), l = b({
878
- breakpoints: s,
879
- direction: "ltr",
880
- components: {},
881
- palette: {
882
- mode: "light",
883
- ...r
884
- },
885
- spacing: c,
886
- shape: {
887
- ...oe,
888
- ...a
889
- }
890
- }, o);
891
- return l = ae(l), l.applyStyles = gt, l = t.reduce((e, t) => b(e, t), l), l.unstable_sxConfig = {
892
- ...ut,
893
- ...o?.unstable_sxConfig
894
- }, l.unstable_sx = function(e) {
895
- return pt({
896
- sx: e,
897
- theme: this
898
- });
899
- }, l.internal_cache = {}, l;
900
- }
901
- //#endregion
902
- //#region ../../node_modules/@mui/system/cssVars/createGetCssVar.mjs
903
- function vt(e = "") {
904
- function t(...n) {
905
- if (!n.length) return "";
906
- let r = n[0];
907
- return typeof r == "string" && !r.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}-` : ""}${r}${t(...n.slice(1))})` : `, ${r}`;
908
- }
909
- return (n, ...r) => `var(--${e ? `${e}-` : ""}${n}${t(...r)})`;
910
- }
911
- //#endregion
912
- //#region ../../node_modules/@mui/system/cssVars/cssVarsParser.mjs
913
- var yt = (e, t, n, r = []) => {
914
- let i = e;
915
- t.forEach((e, a) => {
916
- a === t.length - 1 ? Array.isArray(i) ? i[Number(e)] = n : i && typeof i == "object" && (i[e] = n) : i && typeof i == "object" && (i[e] || (i[e] = r.includes(e) ? [] : {}), i = i[e]);
917
- });
918
- }, bt = (e, t, n) => {
919
- function r(e, i = [], a = []) {
920
- Object.entries(e).forEach(([e, o]) => {
921
- (!n || n && !n([...i, e])) && o != null && (typeof o == "object" && Object.keys(o).length > 0 ? r(o, [...i, e], Array.isArray(o) ? [...a, e] : a) : t([...i, e], o, a));
922
- });
923
- }
924
- r(e);
925
- }, xt = (e, t) => typeof t == "number" ? [
926
- "lineHeight",
927
- "fontWeight",
928
- "opacity",
929
- "zIndex"
930
- ].some((t) => e.includes(t)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
931
- function St(e, t) {
932
- let { prefix: n, shouldSkipGeneratingVar: r } = t || {}, i = {}, a = {}, o = {};
933
- return bt(e, (e, t, s) => {
934
- if ((typeof t == "string" || typeof t == "number") && (!r || !r(e, t))) {
935
- let r = `--${n ? `${n}-` : ""}${e.join("-")}`, c = xt(e, t);
936
- Object.assign(i, { [r]: c }), yt(a, e, `var(${r})`, s), yt(o, e, `var(${r}, ${c})`, s);
937
- }
938
- }, (e) => e[0] === "vars"), {
939
- css: i,
940
- vars: a,
941
- varsWithDefaults: o
942
- };
943
- }
944
- //#endregion
945
- //#region ../../node_modules/@mui/system/cssVars/prepareCssVars.mjs
946
- function Ct(e, t = {}) {
947
- let { getSelector: n = ee, disableCssColorScheme: r, colorSchemeSelector: i, enableContrastVars: a } = t, { colorSchemes: o = {}, components: s, defaultColorScheme: c = "light", ...l } = e, { vars: u, css: d, varsWithDefaults: f } = St(l, t), p = f, m = {}, { [c]: h, ...g } = o;
948
- if (Object.entries(g || {}).forEach(([e, n]) => {
949
- let { vars: r, css: i, varsWithDefaults: a } = St(n, t);
950
- p = b(p, a), m[e] = {
951
- css: i,
952
- vars: r
953
- };
954
- }), h) {
955
- let { css: e, vars: n, varsWithDefaults: r } = St(h, t);
956
- p = b(p, r), m[c] = {
957
- css: e,
958
- vars: n
959
- };
960
- }
961
- function ee(t, n) {
962
- let r = i;
963
- if (i === "class" && (r = ".%s"), i === "data" && (r = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (r = `[${i}="%s"]`), t) {
964
- if (r === "media") return e.defaultColorScheme === t ? ":root" : { [`@media (prefers-color-scheme: ${o[t]?.palette?.mode || t})`]: { ":root": n } };
965
- if (r) return e.defaultColorScheme === t ? `:root, ${r.replace("%s", String(t))}` : r.replace("%s", String(t));
966
- }
967
- return ":root";
968
- }
969
- return {
970
- vars: p,
971
- generateThemeVars: () => {
972
- let e = { ...u };
973
- return Object.entries(m).forEach(([, { vars: t }]) => {
974
- e = b(e, t);
975
- }), e;
976
- },
977
- generateStyleSheets: () => {
978
- let t = [], i = e.defaultColorScheme || "light";
979
- function s(e, n) {
980
- Object.keys(n).length && t.push(typeof e == "string" ? { [e]: { ...n } } : e);
981
- }
982
- s(n(void 0, { ...d }), d);
983
- let { [i]: c, ...l } = m;
984
- if (c) {
985
- let { css: e } = c, t = o[i]?.palette?.mode, a = !r && t ? {
986
- colorScheme: t,
987
- ...e
988
- } : { ...e };
989
- s(n(i, { ...a }), a);
990
- }
991
- return Object.entries(l).forEach(([e, { css: t }]) => {
992
- let i = o[e]?.palette?.mode, a = !r && i ? {
993
- colorScheme: i,
994
- ...t
995
- } : { ...t };
996
- s(n(e, { ...a }), a);
997
- }), a && t.push({ ":root": {
998
- "--__l-threshold": "0.7",
999
- "--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
1000
- "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
1001
- } }), t;
1002
- }
1003
- };
1004
- }
1005
- //#endregion
1006
- //#region ../../node_modules/@mui/system/cssVars/getColorSchemeSelector.mjs
1007
- function wt(e) {
1008
- return function(t) {
1009
- return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
1010
- };
1011
- }
1012
- //#endregion
1013
- //#region ../../node_modules/@mui/material/colors/common.mjs
1014
- var H = {
1015
- black: "#000",
1016
- white: "#fff"
1017
- }, Tt = {
1018
- 50: "#fafafa",
1019
- 100: "#f5f5f5",
1020
- 200: "#eeeeee",
1021
- 300: "#e0e0e0",
1022
- 400: "#bdbdbd",
1023
- 500: "#9e9e9e",
1024
- 600: "#757575",
1025
- 700: "#616161",
1026
- 800: "#424242",
1027
- 900: "#212121",
1028
- A100: "#f5f5f5",
1029
- A200: "#eeeeee",
1030
- A400: "#bdbdbd",
1031
- A700: "#616161"
1032
- }, U = {
1033
- 50: "#f3e5f5",
1034
- 100: "#e1bee7",
1035
- 200: "#ce93d8",
1036
- 300: "#ba68c8",
1037
- 400: "#ab47bc",
1038
- 500: "#9c27b0",
1039
- 600: "#8e24aa",
1040
- 700: "#7b1fa2",
1041
- 800: "#6a1b9a",
1042
- 900: "#4a148c",
1043
- A100: "#ea80fc",
1044
- A200: "#e040fb",
1045
- A400: "#d500f9",
1046
- A700: "#aa00ff"
1047
- }, W = {
1048
- 50: "#ffebee",
1049
- 100: "#ffcdd2",
1050
- 200: "#ef9a9a",
1051
- 300: "#e57373",
1052
- 400: "#ef5350",
1053
- 500: "#f44336",
1054
- 600: "#e53935",
1055
- 700: "#d32f2f",
1056
- 800: "#c62828",
1057
- 900: "#b71c1c",
1058
- A100: "#ff8a80",
1059
- A200: "#ff5252",
1060
- A400: "#ff1744",
1061
- A700: "#d50000"
1062
- }, G = {
1063
- 50: "#fff3e0",
1064
- 100: "#ffe0b2",
1065
- 200: "#ffcc80",
1066
- 300: "#ffb74d",
1067
- 400: "#ffa726",
1068
- 500: "#ff9800",
1069
- 600: "#fb8c00",
1070
- 700: "#f57c00",
1071
- 800: "#ef6c00",
1072
- 900: "#e65100",
1073
- A100: "#ffd180",
1074
- A200: "#ffab40",
1075
- A400: "#ff9100",
1076
- A700: "#ff6d00"
1077
- }, K = {
1078
- 50: "#e3f2fd",
1079
- 100: "#bbdefb",
1080
- 200: "#90caf9",
1081
- 300: "#64b5f6",
1082
- 400: "#42a5f5",
1083
- 500: "#2196f3",
1084
- 600: "#1e88e5",
1085
- 700: "#1976d2",
1086
- 800: "#1565c0",
1087
- 900: "#0d47a1",
1088
- A100: "#82b1ff",
1089
- A200: "#448aff",
1090
- A400: "#2979ff",
1091
- A700: "#2962ff"
1092
- }, q = {
1093
- 50: "#e1f5fe",
1094
- 100: "#b3e5fc",
1095
- 200: "#81d4fa",
1096
- 300: "#4fc3f7",
1097
- 400: "#29b6f6",
1098
- 500: "#03a9f4",
1099
- 600: "#039be5",
1100
- 700: "#0288d1",
1101
- 800: "#0277bd",
1102
- 900: "#01579b",
1103
- A100: "#80d8ff",
1104
- A200: "#40c4ff",
1105
- A400: "#00b0ff",
1106
- A700: "#0091ea"
1107
- }, J = {
1108
- 50: "#e8f5e9",
1109
- 100: "#c8e6c9",
1110
- 200: "#a5d6a7",
1111
- 300: "#81c784",
1112
- 400: "#66bb6a",
1113
- 500: "#4caf50",
1114
- 600: "#43a047",
1115
- 700: "#388e3c",
1116
- 800: "#2e7d32",
1117
- 900: "#1b5e20",
1118
- A100: "#b9f6ca",
1119
- A200: "#69f0ae",
1120
- A400: "#00e676",
1121
- A700: "#00c853"
1122
- };
1123
- //#endregion
1124
- //#region ../../node_modules/@mui/material/styles/createPalette.mjs
1125
- function Et() {
1126
- return {
1127
- text: {
1128
- primary: "rgba(0, 0, 0, 0.87)",
1129
- secondary: "rgba(0, 0, 0, 0.6)",
1130
- disabled: "rgba(0, 0, 0, 0.38)"
1131
- },
1132
- divider: "rgba(0, 0, 0, 0.12)",
1133
- background: {
1134
- paper: H.white,
1135
- default: H.white
1136
- },
1137
- action: {
1138
- active: "rgba(0, 0, 0, 0.54)",
1139
- hover: "rgba(0, 0, 0, 0.04)",
1140
- hoverOpacity: .04,
1141
- selected: "rgba(0, 0, 0, 0.08)",
1142
- selectedOpacity: .08,
1143
- disabled: "rgba(0, 0, 0, 0.26)",
1144
- disabledBackground: "rgba(0, 0, 0, 0.12)",
1145
- disabledOpacity: .38,
1146
- focus: "rgba(0, 0, 0, 0.12)",
1147
- focusOpacity: .12,
1148
- activatedOpacity: .12
1149
- }
1150
- };
1151
- }
1152
- var Dt = Et();
1153
- function Ot() {
1154
- return {
1155
- text: {
1156
- primary: H.white,
1157
- secondary: "rgba(255, 255, 255, 0.7)",
1158
- disabled: "rgba(255, 255, 255, 0.5)",
1159
- icon: "rgba(255, 255, 255, 0.5)"
1160
- },
1161
- divider: "rgba(255, 255, 255, 0.12)",
1162
- background: {
1163
- paper: "#121212",
1164
- default: "#121212"
1165
- },
1166
- action: {
1167
- active: H.white,
1168
- hover: "rgba(255, 255, 255, 0.08)",
1169
- hoverOpacity: .08,
1170
- selected: "rgba(255, 255, 255, 0.16)",
1171
- selectedOpacity: .16,
1172
- disabled: "rgba(255, 255, 255, 0.3)",
1173
- disabledBackground: "rgba(255, 255, 255, 0.12)",
1174
- disabledOpacity: .38,
1175
- focus: "rgba(255, 255, 255, 0.12)",
1176
- focusOpacity: .12,
1177
- activatedOpacity: .24
1178
- }
1179
- };
1180
- }
1181
- var kt = Ot();
1182
- function At(e, t, n, r) {
1183
- let i = r.light || r, a = r.dark || r * 1.5;
1184
- e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = l(e.main, i) : t === "dark" && (e.dark = c(e.main, a)));
1185
- }
1186
- function jt(e, t, n, r, i) {
1187
- let a = i.light || i, o = i.dark || i * 1.5;
1188
- t[n] || (t.hasOwnProperty(r) ? t[n] = t[r] : n === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(a * 100).toFixed(0)}%)` : n === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(o * 100).toFixed(0)}%)`));
1189
- }
1190
- function Mt(e = "light") {
1191
- return e === "dark" ? {
1192
- main: K[200],
1193
- light: K[50],
1194
- dark: K[400]
1195
- } : {
1196
- main: K[700],
1197
- light: K[400],
1198
- dark: K[800]
1199
- };
1200
- }
1201
- function Nt(e = "light") {
1202
- return e === "dark" ? {
1203
- main: U[200],
1204
- light: U[50],
1205
- dark: U[400]
1206
- } : {
1207
- main: U[500],
1208
- light: U[300],
1209
- dark: U[700]
1210
- };
1211
- }
1212
- function Pt(e = "light") {
1213
- return e === "dark" ? {
1214
- main: W[500],
1215
- light: W[300],
1216
- dark: W[700]
1217
- } : {
1218
- main: W[700],
1219
- light: W[400],
1220
- dark: W[800]
1221
- };
1222
- }
1223
- function Ft(e = "light") {
1224
- return e === "dark" ? {
1225
- main: q[400],
1226
- light: q[300],
1227
- dark: q[700]
1228
- } : {
1229
- main: q[700],
1230
- light: q[500],
1231
- dark: q[900]
1232
- };
1233
- }
1234
- function It(e = "light") {
1235
- return e === "dark" ? {
1236
- main: J[400],
1237
- light: J[300],
1238
- dark: J[700]
1239
- } : {
1240
- main: J[800],
1241
- light: J[500],
1242
- dark: J[900]
1243
- };
1244
- }
1245
- function Lt(e = "light") {
1246
- return e === "dark" ? {
1247
- main: G[400],
1248
- light: G[300],
1249
- dark: G[700]
1250
- } : {
1251
- main: "#ed6c02",
1252
- light: G[500],
1253
- dark: G[900]
1254
- };
1255
- }
1256
- function Rt(e) {
1257
- return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
1258
- }
1259
- function zt(e) {
1260
- let { mode: t = "light", contrastThreshold: n = 3, tonalOffset: r = .2, colorSpace: i, ...s } = e, c = e.primary || Mt(t), l = e.secondary || Nt(t), u = e.error || Pt(t), d = e.info || Ft(t), f = e.success || It(t), p = e.warning || Lt(t);
1261
- function m(e) {
1262
- if (i) return Rt(e);
1263
- let t = o(e, kt.text.primary) >= n ? kt.text.primary : Dt.text.primary;
1264
- if (process.env.NODE_ENV !== "production") {
1265
- let n = o(e, t);
1266
- n < 3 && console.error([
1267
- `MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,
1268
- "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.",
1269
- "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"
1270
- ].join("\n"));
1271
- }
1272
- return t;
1273
- }
1274
- let h = ({ color: e, name: t, mainShade: n = 500, lightShade: o = 300, darkShade: s = 700 }) => {
1275
- if (e = { ...e }, !e.main && e[n] && (e.main = e[n]), !e.hasOwnProperty("main")) throw Error(process.env.NODE_ENV === "production" ? a(11, t ? ` (${t})` : "", n) : `MUI: The color${t ? ` (${t})` : ""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);
1276
- if (typeof e.main != "string") throw Error(process.env.NODE_ENV === "production" ? a(12, t ? ` (${t})` : "", JSON.stringify(e.main)) : `MUI: The color${t ? ` (${t})` : ""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
1277
- Did you intend to use one of the following approaches?
1278
-
1279
- import { green } from "@mui/material/colors";
1280
-
1281
- const theme1 = createTheme({ palette: {
1282
- primary: green,
1283
- } });
1284
-
1285
- const theme2 = createTheme({ palette: {
1286
- primary: { main: green[500] },
1287
- } });`);
1288
- return i ? (jt(i, e, "light", o, r), jt(i, e, "dark", s, r)) : (At(e, "light", o, r), At(e, "dark", s, r)), e.contrastText ||= m(e.main), e;
1289
- }, g;
1290
- return t === "light" ? g = Et() : t === "dark" && (g = Ot()), process.env.NODE_ENV !== "production" && (g || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), b({
1291
- common: { ...H },
1292
- mode: t,
1293
- primary: h({
1294
- color: c,
1295
- name: "primary"
1296
- }),
1297
- secondary: h({
1298
- color: l,
1299
- name: "secondary",
1300
- mainShade: "A400",
1301
- lightShade: "A200",
1302
- darkShade: "A700"
1303
- }),
1304
- error: h({
1305
- color: u,
1306
- name: "error"
1307
- }),
1308
- warning: h({
1309
- color: p,
1310
- name: "warning"
1311
- }),
1312
- info: h({
1313
- color: d,
1314
- name: "info"
1315
- }),
1316
- success: h({
1317
- color: f,
1318
- name: "success"
1319
- }),
1320
- grey: Tt,
1321
- contrastThreshold: n,
1322
- getContrastText: m,
1323
- augmentColor: h,
1324
- tonalOffset: r,
1325
- ...g
1326
- }, s);
1327
- }
1328
- //#endregion
1329
- //#region ../../node_modules/@mui/system/cssVars/prepareTypographyVars.mjs
1330
- function Bt(e) {
1331
- let t = {};
1332
- return Object.entries(e).forEach((e) => {
1333
- let [n, r] = e;
1334
- typeof r == "object" && (t[n] = `${r.fontStyle ? `${r.fontStyle} ` : ""}${r.fontVariant ? `${r.fontVariant} ` : ""}${r.fontWeight ? `${r.fontWeight} ` : ""}${r.fontStretch ? `${r.fontStretch} ` : ""}${r.fontSize || ""}${r.lineHeight ? `/${r.lineHeight} ` : ""}${r.fontFamily || ""}`);
1335
- }), t;
1336
- }
1337
- //#endregion
1338
- //#region ../../node_modules/@mui/material/styles/createMixins.mjs
1339
- function Vt(e, t) {
1340
- return {
1341
- toolbar: {
1342
- minHeight: 56,
1343
- [e.up("xs")]: { "@media (orientation: landscape)": { minHeight: 48 } },
1344
- [e.up("sm")]: { minHeight: 64 }
1345
- },
1346
- ...t
1347
- };
1348
- }
1349
- //#endregion
1350
- //#region ../../node_modules/@mui/material/styles/createTypography.mjs
1351
- function Ht(e) {
1352
- return Math.round(e * 1e5) / 1e5;
1353
- }
1354
- var Ut = { textTransform: "uppercase" }, Wt = "\"Roboto\", \"Helvetica\", \"Arial\", sans-serif";
1355
- function Gt(e, t) {
1356
- let { fontFamily: n = Wt, fontSize: r = 14, fontWeightLight: i = 300, fontWeightRegular: a = 400, fontWeightMedium: o = 500, fontWeightBold: s = 700, htmlFontSize: c = 16, allVariants: l, pxToRem: u, ...d } = typeof t == "function" ? t(e) : t;
1357
- process.env.NODE_ENV !== "production" && (typeof r != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
1358
- let f = r / 14, p = u || ((e) => `${e / c * f}rem`), m = (e, t, r, i, a) => ({
1359
- fontFamily: n,
1360
- fontWeight: e,
1361
- fontSize: p(t),
1362
- lineHeight: r,
1363
- ...n === Wt ? { letterSpacing: `${Ht(i / t)}em` } : {},
1364
- ...a,
1365
- ...l
1366
- });
1367
- return b({
1368
- htmlFontSize: c,
1369
- pxToRem: p,
1370
- fontFamily: n,
1371
- fontSize: r,
1372
- fontWeightLight: i,
1373
- fontWeightRegular: a,
1374
- fontWeightMedium: o,
1375
- fontWeightBold: s,
1376
- h1: m(i, 96, 1.167, -1.5),
1377
- h2: m(i, 60, 1.2, -.5),
1378
- h3: m(a, 48, 1.167, 0),
1379
- h4: m(a, 34, 1.235, .25),
1380
- h5: m(a, 24, 1.334, 0),
1381
- h6: m(o, 20, 1.6, .15),
1382
- subtitle1: m(a, 16, 1.75, .15),
1383
- subtitle2: m(o, 14, 1.57, .1),
1384
- body1: m(a, 16, 1.5, .15),
1385
- body2: m(a, 14, 1.43, .15),
1386
- button: m(o, 14, 1.75, .4, Ut),
1387
- caption: m(a, 12, 1.66, .4),
1388
- overline: m(a, 12, 2.66, 1, Ut),
1389
- inherit: {
1390
- fontFamily: "inherit",
1391
- fontWeight: "inherit",
1392
- fontSize: "inherit",
1393
- lineHeight: "inherit",
1394
- letterSpacing: "inherit"
1395
- }
1396
- }, d, { clone: !1 });
1397
- }
1398
- //#endregion
1399
- //#region ../../node_modules/@mui/material/styles/shadows.mjs
1400
- var Kt = .2, qt = .14, Jt = .12;
1401
- function Y(...e) {
1402
- return [
1403
- `${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Kt})`,
1404
- `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${qt})`,
1405
- `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Jt})`
1406
- ].join(",");
1407
- }
1408
- var Yt = [
1409
- "none",
1410
- Y(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0),
1411
- Y(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0),
1412
- Y(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0),
1413
- Y(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0),
1414
- Y(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0),
1415
- Y(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0),
1416
- Y(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1),
1417
- Y(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2),
1418
- Y(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2),
1419
- Y(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3),
1420
- Y(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3),
1421
- Y(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4),
1422
- Y(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4),
1423
- Y(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4),
1424
- Y(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5),
1425
- Y(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5),
1426
- Y(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5),
1427
- Y(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6),
1428
- Y(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6),
1429
- Y(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7),
1430
- Y(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7),
1431
- Y(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7),
1432
- Y(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8),
1433
- Y(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)
1434
- ], Xt = {
1435
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
1436
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
1437
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
1438
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
1439
- }, Zt = {
1440
- shortest: 150,
1441
- shorter: 200,
1442
- short: 250,
1443
- standard: 300,
1444
- complex: 375,
1445
- enteringScreen: 225,
1446
- leavingScreen: 195
1447
- };
1448
- function Qt(e) {
1449
- return `${Math.round(e)}ms`;
1450
- }
1451
- function $t(e) {
1452
- if (!e) return 0;
1453
- let t = e / 36;
1454
- return Math.min(Math.round((4 + 15 * t ** .25 + t / 5) * 10), 3e3);
1455
- }
1456
- function en(e) {
1457
- let t = {
1458
- ...Xt,
1459
- ...e.easing
1460
- }, n = {
1461
- ...Zt,
1462
- ...e.duration
1463
- };
1464
- return {
1465
- getAutoHeightDuration: $t,
1466
- create: (e = ["all"], r = {}) => {
1467
- let { duration: i = n.standard, easing: a = t.easeInOut, delay: o = 0, ...s } = r;
1468
- if (process.env.NODE_ENV !== "production") {
1469
- let t = (e) => typeof e == "string", n = (e) => !Number.isNaN(parseFloat(e));
1470
- !t(e) && !Array.isArray(e) && console.error("MUI: Argument \"props\" must be a string or Array."), !n(i) && !t(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), t(a) || console.error("MUI: Argument \"easing\" must be a string."), !n(o) && !t(o) && console.error("MUI: Argument \"delay\" must be a number or a string."), typeof r != "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("\n")), Object.keys(s).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`);
1471
- }
1472
- return (Array.isArray(e) ? e : [e]).map((e) => `${e} ${typeof i == "string" ? i : Qt(i)} ${a} ${typeof o == "string" ? o : Qt(o)}`).join(",");
1473
- },
1474
- ...e,
1475
- easing: t,
1476
- duration: n
1477
- };
1478
- }
1479
- //#endregion
1480
- //#region ../../node_modules/@mui/material/styles/zIndex.mjs
1481
- var tn = {
1482
- mobileStepper: 1e3,
1483
- fab: 1050,
1484
- speedDial: 1050,
1485
- appBar: 1100,
1486
- drawer: 1200,
1487
- modal: 1300,
1488
- snackbar: 1400,
1489
- tooltip: 1500
1490
- };
1491
- //#endregion
1492
- //#region ../../node_modules/@mui/material/styles/stringifyTheme.mjs
1493
- function nn(e) {
1494
- return y(e) || e === void 0 || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
1495
- }
1496
- function rn(e = {}) {
1497
- let t = { ...e };
1498
- function n(e) {
1499
- let t = Object.entries(e);
1500
- for (let r = 0; r < t.length; r++) {
1501
- let [i, a] = t[r];
1502
- !nn(a) || i.startsWith("unstable_") || i.startsWith("internal_") ? delete e[i] : y(a) && (e[i] = { ...a }, n(e[i]));
1503
- }
1504
- }
1505
- return n(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
1506
-
1507
- const theme = ${JSON.stringify(t, null, 2)};
1508
-
1509
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
1510
- theme.transitions = createTransitions(theme.transitions || {});
1511
-
1512
- export default theme;`;
1513
- }
1514
- //#endregion
1515
- //#region ../../node_modules/@mui/material/styles/createThemeNoVars.mjs
1516
- function an(e) {
1517
- return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
1518
- }
1519
- var on = (e) => {
1520
- if (!Number.isNaN(+e)) return +e;
1521
- let t = e.match(/\d*\.?\d+/g);
1522
- if (!t) return 0;
1523
- let n = 0;
1524
- for (let e = 0; e < t.length; e += 1) n += +t[e];
1525
- return n;
1526
- };
1527
- function sn(e) {
1528
- Object.assign(e, {
1529
- alpha(t, n) {
1530
- let r = this || e;
1531
- return r.colorSpace ? `oklch(from ${t} l c h / ${typeof n == "string" ? `calc(${n})` : n})` : r.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof n == "string" ? `calc(${n})` : n})` : d(t, on(n));
1532
- },
1533
- lighten(t, n) {
1534
- let r = this || e;
1535
- return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #fff ${an(n)})` : l(t, n);
1536
- },
1537
- darken(t, n) {
1538
- let r = this || e;
1539
- return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #000 ${an(n)})` : c(t, n);
1540
- }
1541
- });
1542
- }
1543
- function cn(e = {}, ...t) {
1544
- let { breakpoints: n, mixins: r = {}, spacing: i, palette: o = {}, transitions: s = {}, typography: c = {}, shape: l, colorSpace: u, ...d } = e;
1545
- if (e.vars && e.generateThemeVars === void 0) throw Error(process.env.NODE_ENV === "production" ? a(22) : "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.");
1546
- let f = zt({
1547
- ...o,
1548
- colorSpace: u
1549
- }), p = _t(e), h = b(p, {
1550
- mixins: Vt(p.breakpoints, r),
1551
- palette: f,
1552
- shadows: Yt.slice(),
1553
- typography: Gt(f, c),
1554
- transitions: en(s),
1555
- zIndex: { ...tn }
1556
- });
1557
- if (h = b(h, d), h = t.reduce((e, t) => b(e, t), h), process.env.NODE_ENV !== "production") {
1558
- let e = [
1559
- "active",
1560
- "checked",
1561
- "completed",
1562
- "disabled",
1563
- "error",
1564
- "expanded",
1565
- "focused",
1566
- "focusVisible",
1567
- "required",
1568
- "selected"
1569
- ], t = (t, n) => {
1570
- let r;
1571
- for (r in t) {
1572
- let i = t[r];
1573
- if (e.includes(r) && Object.keys(i).length > 0) {
1574
- if (process.env.NODE_ENV !== "production") {
1575
- let e = m("", r);
1576
- console.error([
1577
- `MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,
1578
- "You can not override it like this: ",
1579
- JSON.stringify(t, null, 2),
1580
- "",
1581
- `Instead, you need to use the '&.${e}' syntax:`,
1582
- JSON.stringify({ root: { [`&.${e}`]: i } }, null, 2),
1583
- "",
1584
- "https://mui.com/r/state-classes-guide"
1585
- ].join("\n"));
1586
- }
1587
- t[r] = {};
1588
- }
1589
- }
1590
- };
1591
- Object.keys(h.components).forEach((e) => {
1592
- let n = h.components[e].styleOverrides;
1593
- n && e.startsWith("Mui") && t(n, e);
1594
- });
1595
- }
1596
- return h.unstable_sxConfig = {
1597
- ...ut,
1598
- ...d?.unstable_sxConfig
1599
- }, h.unstable_sx = function(e) {
1600
- return pt({
1601
- sx: e,
1602
- theme: this
1603
- });
1604
- }, h.toRuntimeSource = rn, sn(h), h;
1605
- }
1606
- //#endregion
1607
- //#region ../../node_modules/@mui/material/styles/getOverlayAlpha.mjs
1608
- function ln(e) {
1609
- let t;
1610
- return t = e < 1 ? 5.11916 * e ** 2 : 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
1611
- }
1612
- //#endregion
1613
- //#region ../../node_modules/@mui/material/styles/createColorScheme.mjs
1614
- var un = [...Array(25)].map((e, t) => {
1615
- if (t === 0) return "none";
1616
- let n = ln(t);
1617
- return `linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`;
1618
- });
1619
- function dn(e) {
1620
- return {
1621
- inputPlaceholder: e === "dark" ? .5 : .42,
1622
- inputUnderline: e === "dark" ? .7 : .42,
1623
- switchTrackDisabled: e === "dark" ? .2 : .12,
1624
- switchTrack: e === "dark" ? .3 : .38
1625
- };
1626
- }
1627
- function fn(e) {
1628
- return e === "dark" ? un : [];
1629
- }
1630
- function pn(e) {
1631
- let { palette: t = { mode: "light" }, opacity: n, overlays: r, colorSpace: i, ...a } = e, o = zt({
1632
- ...t,
1633
- colorSpace: i
1634
- });
1635
- return {
1636
- palette: o,
1637
- opacity: {
1638
- ...dn(o.mode),
1639
- ...n
1640
- },
1641
- overlays: r || fn(o.mode),
1642
- ...a
1643
- };
1644
- }
1645
- //#endregion
1646
- //#region ../../node_modules/@mui/material/styles/shouldSkipGeneratingVar.mjs
1647
- function mn(e) {
1648
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
1649
- }
1650
- //#endregion
1651
- //#region ../../node_modules/@mui/material/styles/excludeVariablesFromRoot.mjs
1652
- var hn = (e) => [
1653
- ...[...Array(25)].map((t, n) => `--${e ? `${e}-` : ""}overlays-${n}`),
1654
- `--${e ? `${e}-` : ""}palette-AppBar-darkBg`,
1655
- `--${e ? `${e}-` : ""}palette-AppBar-darkColor`
1656
- ], gn = (e) => (t, n) => {
1657
- let r = e.rootSelector || ":root", i = e.colorSchemeSelector, a = i;
1658
- if (i === "class" && (a = ".%s"), i === "data" && (a = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (a = `[${i}="%s"]`), e.defaultColorScheme === t) {
1659
- if (t === "dark") {
1660
- let i = {};
1661
- return hn(e.cssVarPrefix).forEach((e) => {
1662
- i[e] = n[e], delete n[e];
1663
- }), a === "media" ? {
1664
- [r]: n,
1665
- "@media (prefers-color-scheme: dark)": { [r]: i }
1666
- } : a ? {
1667
- [a.replace("%s", t)]: i,
1668
- [`${r}, ${a.replace("%s", t)}`]: n
1669
- } : { [r]: {
1670
- ...n,
1671
- ...i
1672
- } };
1673
- }
1674
- if (a && a !== "media") return `${r}, ${a.replace("%s", String(t))}`;
1675
- } else if (t) {
1676
- if (a === "media") return { [`@media (prefers-color-scheme: ${String(t)})`]: { [r]: n } };
1677
- if (a) return a.replace("%s", String(t));
1678
- }
1679
- return r;
1680
- };
1681
- //#endregion
1682
- //#region ../../node_modules/@mui/material/styles/createThemeWithVars.mjs
1683
- function _n(e, t) {
1684
- t.forEach((t) => {
1685
- e[t] || (e[t] = {});
1686
- });
1687
- }
1688
- function X(e, t, n) {
1689
- !e[t] && n && (e[t] = n);
1690
- }
1691
- function Z(e) {
1692
- return typeof e != "string" || !e.startsWith("hsl") ? e : n(e);
1693
- }
1694
- function Q(e, t) {
1695
- `${t}Channel` in e || (e[`${t}Channel`] = r(Z(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().
1696
- 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.`));
1697
- }
1698
- function vn(e) {
1699
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
1700
- }
1701
- var $ = (e) => {
1702
- try {
1703
- return e();
1704
- } catch {}
1705
- }, yn = (e = "mui") => vt(e);
1706
- function bn(e, t, n, r, i) {
1707
- if (!n) return;
1708
- n = n === !0 ? {} : n;
1709
- let a = i === "dark" ? "dark" : "light";
1710
- if (!r) {
1711
- t[i] = pn({
1712
- ...n,
1713
- palette: {
1714
- mode: a,
1715
- ...n?.palette
1716
- },
1717
- colorSpace: e
1718
- });
1719
- return;
1720
- }
1721
- let { palette: o, ...s } = cn({
1722
- ...r,
1723
- palette: {
1724
- mode: a,
1725
- ...n?.palette
1726
- },
1727
- colorSpace: e
1728
- });
1729
- return t[i] = {
1730
- ...n,
1731
- palette: o,
1732
- opacity: {
1733
- ...dn(a),
1734
- ...n?.opacity
1735
- },
1736
- overlays: n?.overlays || fn(a)
1737
- }, s;
1738
- }
1739
- function xn(e = {}, ...t) {
1740
- let { colorSchemes: n = { light: !0 }, defaultColorScheme: o, disableCssColorScheme: c = !1, cssVarPrefix: l = "mui", nativeColor: d = !1, shouldSkipGeneratingVar: p = mn, colorSchemeSelector: m = n.light && n.dark ? "media" : void 0, rootSelector: h = ":root", ...g } = e, ee = Object.keys(n)[0], _ = o || (n.light && ee !== "light" ? "light" : ee), v = yn(l), { [_]: y, light: te, dark: x, ...ne } = n, S = { ...ne }, C = y;
1741
- if ((_ === "dark" && !("dark" in n) || _ === "light" && !("light" in n)) && (C = !0), !C) throw Error(process.env.NODE_ENV === "production" ? a(21, _) : `MUI: The \`colorSchemes.${_}\` option is either missing or invalid.`);
1742
- let w;
1743
- d && (w = "oklch");
1744
- let re = bn(w, S, C, g, _);
1745
- te && !S.light && bn(w, S, te, void 0, "light"), x && !S.dark && bn(w, S, x, void 0, "dark");
1746
- let T = {
1747
- defaultColorScheme: _,
1748
- ...re,
1749
- cssVarPrefix: l,
1750
- colorSchemeSelector: m,
1751
- rootSelector: h,
1752
- getCssVar: v,
1753
- colorSchemes: S,
1754
- font: {
1755
- ...Bt(re.typography),
1756
- ...re.font
1757
- },
1758
- spacing: vn(g.spacing)
1759
- };
1760
- Object.keys(T.colorSchemes).forEach((e) => {
1761
- let t = T.colorSchemes[e].palette, n = (e) => {
1762
- let n = e.split("-"), r = n[1], i = n[2];
1763
- return v(e, t[r][i]);
1764
- };
1765
- t.mode === "light" && (X(t.common, "background", "#fff"), X(t.common, "onBackground", "#000")), t.mode === "dark" && (X(t.common, "background", "#000"), X(t.common, "onBackground", "#fff"));
1766
- function a(e, t, n) {
1767
- if (w) {
1768
- let r;
1769
- return e === u && (r = `transparent ${((1 - n) * 100).toFixed(0)}%`), e === s && (r = `#000 ${(n * 100).toFixed(0)}%`), e === i && (r = `#fff ${(n * 100).toFixed(0)}%`), `color-mix(in ${w}, ${t}, ${r})`;
1770
- }
1771
- return e(t, n);
1772
- }
1773
- if (_n(t, [
1774
- "Alert",
1775
- "AppBar",
1776
- "Avatar",
1777
- "Button",
1778
- "Chip",
1779
- "FilledInput",
1780
- "LinearProgress",
1781
- "Skeleton",
1782
- "Slider",
1783
- "SnackbarContent",
1784
- "SpeedDialAction",
1785
- "StepConnector",
1786
- "StepContent",
1787
- "Switch",
1788
- "TableCell",
1789
- "Tooltip"
1790
- ]), t.mode === "light") {
1791
- X(t.Alert, "errorColor", a(s, d ? v("palette-error-light") : t.error.light, .6)), X(t.Alert, "infoColor", a(s, d ? v("palette-info-light") : t.info.light, .6)), X(t.Alert, "successColor", a(s, d ? v("palette-success-light") : t.success.light, .6)), X(t.Alert, "warningColor", a(s, d ? v("palette-warning-light") : t.warning.light, .6)), X(t.Alert, "errorFilledBg", n("palette-error-main")), X(t.Alert, "infoFilledBg", n("palette-info-main")), X(t.Alert, "successFilledBg", n("palette-success-main")), X(t.Alert, "warningFilledBg", n("palette-warning-main")), X(t.Alert, "errorFilledColor", $(() => t.getContrastText(t.error.main))), X(t.Alert, "infoFilledColor", $(() => t.getContrastText(t.info.main))), X(t.Alert, "successFilledColor", $(() => t.getContrastText(t.success.main))), X(t.Alert, "warningFilledColor", $(() => t.getContrastText(t.warning.main))), X(t.Alert, "errorStandardBg", a(i, d ? v("palette-error-light") : t.error.light, .9)), X(t.Alert, "infoStandardBg", a(i, d ? v("palette-info-light") : t.info.light, .9)), X(t.Alert, "successStandardBg", a(i, d ? v("palette-success-light") : t.success.light, .9)), X(t.Alert, "warningStandardBg", a(i, d ? v("palette-warning-light") : t.warning.light, .9)), X(t.Alert, "errorIconColor", n("palette-error-main")), X(t.Alert, "infoIconColor", n("palette-info-main")), X(t.Alert, "successIconColor", n("palette-success-main")), X(t.Alert, "warningIconColor", n("palette-warning-main")), X(t.AppBar, "defaultBg", n("palette-grey-100")), X(t.Avatar, "defaultBg", n("palette-grey-400")), X(t.Button, "inheritContainedBg", n("palette-grey-300")), X(t.Button, "inheritContainedHoverBg", n("palette-grey-A100")), X(t.Chip, "defaultBorder", n("palette-grey-400")), X(t.Chip, "defaultAvatarColor", n("palette-grey-700")), X(t.Chip, "defaultIconColor", n("palette-grey-700")), X(t.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), X(t.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), X(t.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), X(t.LinearProgress, "primaryBg", a(i, d ? v("palette-primary-main") : t.primary.main, .62)), X(t.LinearProgress, "secondaryBg", a(i, d ? v("palette-secondary-main") : t.secondary.main, .62)), X(t.LinearProgress, "errorBg", a(i, d ? v("palette-error-main") : t.error.main, .62)), X(t.LinearProgress, "infoBg", a(i, d ? v("palette-info-main") : t.info.main, .62)), X(t.LinearProgress, "successBg", a(i, d ? v("palette-success-main") : t.success.main, .62)), X(t.LinearProgress, "warningBg", a(i, d ? v("palette-warning-light") : t.warning.main, .62)), X(t.Skeleton, "bg", w ? a(u, d ? v("palette-text-primary") : t.text.primary, .11) : `rgba(${n("palette-text-primaryChannel")} / 0.11)`), X(t.Slider, "primaryTrack", a(i, d ? v("palette-primary-main") : t.primary.main, .62)), X(t.Slider, "secondaryTrack", a(i, d ? v("palette-secondary-main") : t.secondary.main, .62)), X(t.Slider, "errorTrack", a(i, d ? v("palette-error-main") : t.error.main, .62)), X(t.Slider, "infoTrack", a(i, d ? v("palette-info-main") : t.info.main, .62)), X(t.Slider, "successTrack", a(i, d ? v("palette-success-main") : t.success.main, .62)), X(t.Slider, "warningTrack", a(i, d ? v("palette-warning-main") : t.warning.main, .62));
1792
- let e = w ? a(s, d ? v("palette-background-default") : t.background.default, .6825) : f(t.background.default, .8);
1793
- X(t.SnackbarContent, "bg", e), X(t.SnackbarContent, "color", $(() => w ? kt.text.primary : t.getContrastText(e))), X(t.SpeedDialAction, "fabHoverBg", f(t.background.paper, .15)), X(t.StepConnector, "border", n("palette-grey-400")), X(t.StepContent, "border", n("palette-grey-400")), X(t.Switch, "defaultColor", n("palette-common-white")), X(t.Switch, "defaultDisabledColor", n("palette-grey-100")), X(t.Switch, "primaryDisabledColor", a(i, d ? v("palette-primary-main") : t.primary.main, .62)), X(t.Switch, "secondaryDisabledColor", a(i, d ? v("palette-secondary-main") : t.secondary.main, .62)), X(t.Switch, "errorDisabledColor", a(i, d ? v("palette-error-main") : t.error.main, .62)), X(t.Switch, "infoDisabledColor", a(i, d ? v("palette-info-main") : t.info.main, .62)), X(t.Switch, "successDisabledColor", a(i, d ? v("palette-success-main") : t.success.main, .62)), X(t.Switch, "warningDisabledColor", a(i, d ? v("palette-warning-main") : t.warning.main, .62)), X(t.TableCell, "border", a(i, u(d ? v("palette-divider") : t.divider, 1), .88)), X(t.Tooltip, "bg", a(u, d ? v("palette-grey-700") : t.grey[700], .92));
1794
- }
1795
- if (t.mode === "dark") {
1796
- X(t.Alert, "errorColor", a(i, d ? v("palette-error-light") : t.error.light, .6)), X(t.Alert, "infoColor", a(i, d ? v("palette-info-light") : t.info.light, .6)), X(t.Alert, "successColor", a(i, d ? v("palette-success-light") : t.success.light, .6)), X(t.Alert, "warningColor", a(i, d ? v("palette-warning-light") : t.warning.light, .6)), X(t.Alert, "errorFilledBg", n("palette-error-dark")), X(t.Alert, "infoFilledBg", n("palette-info-dark")), X(t.Alert, "successFilledBg", n("palette-success-dark")), X(t.Alert, "warningFilledBg", n("palette-warning-dark")), X(t.Alert, "errorFilledColor", $(() => t.getContrastText(t.error.dark))), X(t.Alert, "infoFilledColor", $(() => t.getContrastText(t.info.dark))), X(t.Alert, "successFilledColor", $(() => t.getContrastText(t.success.dark))), X(t.Alert, "warningFilledColor", $(() => t.getContrastText(t.warning.dark))), X(t.Alert, "errorStandardBg", a(s, d ? v("palette-error-light") : t.error.light, .9)), X(t.Alert, "infoStandardBg", a(s, d ? v("palette-info-light") : t.info.light, .9)), X(t.Alert, "successStandardBg", a(s, d ? v("palette-success-light") : t.success.light, .9)), X(t.Alert, "warningStandardBg", a(s, d ? v("palette-warning-light") : t.warning.light, .9)), X(t.Alert, "errorIconColor", n("palette-error-main")), X(t.Alert, "infoIconColor", n("palette-info-main")), X(t.Alert, "successIconColor", n("palette-success-main")), X(t.Alert, "warningIconColor", n("palette-warning-main")), X(t.AppBar, "defaultBg", n("palette-grey-900")), X(t.AppBar, "darkBg", n("palette-background-paper")), X(t.AppBar, "darkColor", n("palette-text-primary")), X(t.Avatar, "defaultBg", n("palette-grey-600")), X(t.Button, "inheritContainedBg", n("palette-grey-800")), X(t.Button, "inheritContainedHoverBg", n("palette-grey-700")), X(t.Chip, "defaultBorder", n("palette-grey-700")), X(t.Chip, "defaultAvatarColor", n("palette-grey-300")), X(t.Chip, "defaultIconColor", n("palette-grey-300")), X(t.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), X(t.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), X(t.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), X(t.LinearProgress, "primaryBg", a(s, d ? v("palette-primary-main") : t.primary.main, .5)), X(t.LinearProgress, "secondaryBg", a(s, d ? v("palette-secondary-main") : t.secondary.main, .5)), X(t.LinearProgress, "errorBg", a(s, d ? v("palette-error-main") : t.error.main, .5)), X(t.LinearProgress, "infoBg", a(s, d ? v("palette-info-main") : t.info.main, .5)), X(t.LinearProgress, "successBg", a(s, d ? v("palette-success-main") : t.success.main, .5)), X(t.LinearProgress, "warningBg", a(s, d ? v("palette-warning-main") : t.warning.main, .5)), X(t.Skeleton, "bg", w ? a(u, d ? v("palette-text-primary") : t.text.primary, .13) : `rgba(${n("palette-text-primaryChannel")} / 0.13)`), X(t.Slider, "primaryTrack", a(s, d ? v("palette-primary-main") : t.primary.main, .5)), X(t.Slider, "secondaryTrack", a(s, d ? v("palette-secondary-main") : t.secondary.main, .5)), X(t.Slider, "errorTrack", a(s, d ? v("palette-error-main") : t.error.main, .5)), X(t.Slider, "infoTrack", a(s, d ? v("palette-info-main") : t.info.main, .5)), X(t.Slider, "successTrack", a(s, d ? v("palette-success-main") : t.success.main, .5)), X(t.Slider, "warningTrack", a(s, d ? v("palette-warning-light") : t.warning.main, .5));
1797
- let e = w ? a(i, d ? v("palette-background-default") : t.background.default, .985) : f(t.background.default, .98);
1798
- X(t.SnackbarContent, "bg", e), X(t.SnackbarContent, "color", $(() => w ? Dt.text.primary : t.getContrastText(e))), X(t.SpeedDialAction, "fabHoverBg", f(t.background.paper, .15)), X(t.StepConnector, "border", n("palette-grey-600")), X(t.StepContent, "border", n("palette-grey-600")), X(t.Switch, "defaultColor", n("palette-grey-300")), X(t.Switch, "defaultDisabledColor", n("palette-grey-600")), X(t.Switch, "primaryDisabledColor", a(s, d ? v("palette-primary-main") : t.primary.main, .55)), X(t.Switch, "secondaryDisabledColor", a(s, d ? v("palette-secondary-main") : t.secondary.main, .55)), X(t.Switch, "errorDisabledColor", a(s, d ? v("palette-error-main") : t.error.main, .55)), X(t.Switch, "infoDisabledColor", a(s, d ? v("palette-info-main") : t.info.main, .55)), X(t.Switch, "successDisabledColor", a(s, d ? v("palette-success-main") : t.success.main, .55)), X(t.Switch, "warningDisabledColor", a(s, d ? v("palette-warning-light") : t.warning.main, .55)), X(t.TableCell, "border", a(s, u(d ? v("palette-divider") : t.divider, 1), .68)), X(t.Tooltip, "bg", a(u, d ? v("palette-grey-700") : t.grey[700], .92));
1799
- }
1800
- d || (Q(t.background, "default"), Q(t.background, "paper"), Q(t.common, "background"), Q(t.common, "onBackground"), Q(t, "divider")), Object.keys(t).forEach((e) => {
1801
- let n = t[e];
1802
- e !== "tonalOffset" && !d && n && typeof n == "object" && (n.main && X(t[e], "mainChannel", r(Z(n.main))), n.light && X(t[e], "lightChannel", r(Z(n.light))), n.dark && X(t[e], "darkChannel", r(Z(n.dark))), n.contrastText && X(t[e], "contrastTextChannel", r(Z(n.contrastText))), e === "text" && (Q(t[e], "primary"), Q(t[e], "secondary")), e === "action" && (n.active && Q(t[e], "active"), n.selected && Q(t[e], "selected")));
1803
- });
1804
- }), T = t.reduce((e, t) => b(e, t), T);
1805
- let ie = {
1806
- prefix: l,
1807
- disableCssColorScheme: c,
1808
- shouldSkipGeneratingVar: p,
1809
- getSelector: gn(T),
1810
- enableContrastVars: d
1811
- }, { vars: ae, generateThemeVars: oe, generateStyleSheets: E } = Ct(T, ie);
1812
- return T.vars = ae, Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([e, t]) => {
1813
- T[e] = t;
1814
- }), T.generateThemeVars = oe, T.generateStyleSheets = E, T.generateSpacing = function() {
1815
- return Ve(g.spacing, Le(this));
1816
- }, T.getColorSchemeSelector = wt(m), T.spacing = T.generateSpacing(), T.shouldSkipGeneratingVar = p, T.unstable_sxConfig = {
1817
- ...ut,
1818
- ...g?.unstable_sxConfig
1819
- }, T.unstable_sx = function(e) {
1820
- return pt({
1821
- sx: e,
1822
- theme: this
1823
- });
1824
- }, T.internal_cache = {}, T.toRuntimeSource = rn, T;
1825
- }
1826
- //#endregion
1827
- //#region ../../node_modules/@mui/material/styles/createTheme.mjs
1828
- function Sn(e, t, n) {
1829
- e.colorSchemes && n && (e.colorSchemes[t] = {
1830
- ...n !== !0 && n,
1831
- palette: zt({
1832
- ...n === !0 ? {} : n.palette,
1833
- mode: t
1834
- })
1835
- });
1836
- }
1837
- function Cn(e = {}, ...t) {
1838
- let { palette: n, cssVariables: r = !1, colorSchemes: i = n ? void 0 : { light: !0 }, defaultColorScheme: a = n?.mode, ...o } = e, s = a || "light", c = i?.[s], l = {
1839
- ...i,
1840
- ...n ? { [s]: {
1841
- ...typeof c != "boolean" && c,
1842
- palette: n
1843
- } } : void 0
1844
- };
1845
- if (r === !1) {
1846
- if (!("colorSchemes" in e)) return cn(e, ...t);
1847
- let r = n;
1848
- "palette" in e || l[s] && (l[s] === !0 ? s === "dark" && (r = { mode: "dark" }) : r = l[s].palette);
1849
- let i = cn({
1850
- ...e,
1851
- palette: r
1852
- }, ...t);
1853
- return i.defaultColorScheme = s, i.colorSchemes = l, i.palette.mode === "light" && (i.colorSchemes.light = {
1854
- ...l.light !== !0 && l.light,
1855
- palette: i.palette
1856
- }, Sn(i, "dark", l.dark)), i.palette.mode === "dark" && (i.colorSchemes.dark = {
1857
- ...l.dark !== !0 && l.dark,
1858
- palette: i.palette
1859
- }, Sn(i, "light", l.light)), i;
1860
- }
1861
- return !n && !("light" in l) && s === "light" && (l.light = !0), xn({
1862
- ...o,
1863
- colorSchemes: l,
1864
- defaultColorScheme: s,
1865
- ...typeof r != "boolean" && r
1866
- }, ...t);
1867
- }
1868
- //#endregion
1869
- export { pt as a, A as c, Ce as d, Te as f, _ as g, y as h, _t as i, De as l, b as m, ln as n, Le as o, se as p, Zt as r, P as s, Cn as t, k as u };