@hybridcore/ui 1.5.89 → 1.6.0

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 (267) hide show
  1. package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-DgAwVTk8.js} +81 -82
  2. package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
  3. package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
  4. package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
  5. package/dist/AxisRendererY-C_ItLPNV.js +445 -0
  6. package/dist/Box-p6OtTUEo.js +30 -0
  7. package/dist/Bullet-DVczI2TD.js +41 -0
  8. package/dist/Button-CcsPEIDh.js +35 -0
  9. package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
  10. package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
  11. package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
  12. package/dist/CategoryAxis-CwnfaGc8.js +458 -0
  13. package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
  14. package/dist/Circle-Cy5s-pVc.js +27 -0
  15. package/dist/ColorSet-C7vpNXhM.js +2957 -0
  16. package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
  17. package/dist/DataProcessor-CHDO51q4.js +83 -0
  18. package/dist/DateAxis-YX3QNIB-.js +569 -0
  19. package/dist/{Delete-86TO0fMo.js → Delete-CW0UZv1m.js} +1 -1
  20. package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
  21. package/dist/FormControl-BLbrq4C7.js +1636 -0
  22. package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
  23. package/dist/Hierarchy-Bihj0S61.js +925 -0
  24. package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
  25. package/dist/IconPlus-yPkff_Vj.js +19 -0
  26. package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
  27. package/dist/Legend-Dp_MKfS4.js +178 -0
  28. package/dist/LineSeries-Uiv5o56b.js +472 -0
  29. package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
  30. package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
  31. package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
  32. package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
  33. package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
  34. package/dist/PieSeries-B2fW3z0s.js +693 -0
  35. package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
  36. package/dist/Scrollbar-D86MJyr2.js +171 -0
  37. package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
  38. package/dist/Slice-B19rbYDZ.js +261 -0
  39. package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
  40. package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
  41. package/dist/{TextField-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
  42. package/dist/Tick-2bcLyHpF.js +162 -0
  43. package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
  44. package/dist/Vector-BmuhQO4p.js +3606 -0
  45. package/dist/Vector-DfTqQEln.js +1735 -0
  46. package/dist/WKT-2wsDT-nq.js +2310 -0
  47. package/dist/XYCursor-C8WktvKM.js +362 -0
  48. package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
  49. package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
  50. package/dist/capitalize-ciszXJ7R.js +9 -0
  51. package/dist/components/access/helpers.js +1 -1
  52. package/dist/components/access/index.js +1 -1
  53. package/dist/components/card/index.js +6 -6
  54. package/dist/components/card/styled.js +1 -1
  55. package/dist/components/charts/_common/utils.js +20 -0
  56. package/dist/components/charts/candlestick/logic.js +170 -140
  57. package/dist/components/charts/chart-wrapper/helpers.js +27 -0
  58. package/dist/components/charts/chart-wrapper/index.js +44 -0
  59. package/dist/components/charts/chart-wrapper/logic.js +47 -0
  60. package/dist/components/charts/chart-wrapper/styled.js +44 -0
  61. package/dist/components/charts/column-line-mix/index.js +10 -0
  62. package/dist/components/charts/column-line-mix/logic.js +162 -0
  63. package/dist/components/charts/column-line-mix/styled.js +12 -0
  64. package/dist/components/charts/drill-down-treemap/index.js +10 -0
  65. package/dist/components/charts/drill-down-treemap/logic.js +391 -0
  66. package/dist/components/charts/drill-down-treemap/styled.js +12 -0
  67. package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
  68. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
  69. package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
  70. package/dist/components/charts/heatmap/index.js +10 -0
  71. package/dist/components/charts/heatmap/logic.js +361 -0
  72. package/dist/components/charts/heatmap/styled.js +12 -0
  73. package/dist/components/charts/highlighting-line-data/logic.js +89 -256
  74. package/dist/components/charts/line/index.js +10 -0
  75. package/dist/components/charts/line/logic.js +148 -0
  76. package/dist/components/charts/line/styled.js +12 -0
  77. package/dist/components/charts/logaritmic-scale/index.js +10 -0
  78. package/dist/components/charts/logaritmic-scale/logic.js +119 -0
  79. package/dist/components/charts/logaritmic-scale/styled.js +12 -0
  80. package/dist/components/charts/multiple-value-axes/index.js +10 -0
  81. package/dist/components/charts/multiple-value-axes/logic.js +191 -0
  82. package/dist/components/charts/multiple-value-axes/styled.js +12 -0
  83. package/dist/components/charts/nested-pie/index.js +10 -0
  84. package/dist/components/charts/nested-pie/logic.js +110 -0
  85. package/dist/components/charts/nested-pie/styled.js +12 -0
  86. package/dist/components/charts/packed-circles/index.js +10 -0
  87. package/dist/components/charts/packed-circles/logic.js +423 -0
  88. package/dist/components/charts/packed-circles/styled.js +12 -0
  89. package/dist/components/charts/pie-chart/index.js +10 -0
  90. package/dist/components/charts/pie-chart/logic.js +70 -0
  91. package/dist/components/charts/pie-chart/styled.js +12 -0
  92. package/dist/components/charts/stacked-area-radar/index.js +10 -0
  93. package/dist/components/charts/stacked-area-radar/logic.js +868 -0
  94. package/dist/components/charts/stacked-area-radar/styled.js +12 -0
  95. package/dist/components/charts/stacked-column-chart/index.js +10 -0
  96. package/dist/components/charts/stacked-column-chart/logic.js +148 -0
  97. package/dist/components/charts/stacked-column-chart/styled.js +12 -0
  98. package/dist/components/charts/xy-chart/index.js +10 -0
  99. package/dist/components/charts/xy-chart/logic.js +170 -0
  100. package/dist/components/charts/xy-chart/styled.js +12 -0
  101. package/dist/components/collapsible-card/index.js +58 -32
  102. package/dist/components/collapsible-card/logic.js +20 -0
  103. package/dist/components/collapsible-card/styled.js +52 -0
  104. package/dist/components/confirm/dialog.js +3 -3
  105. package/dist/components/confirm/index.js +1 -1
  106. package/dist/components/container/index.js +7 -7
  107. package/dist/components/context-menu/index.js +153 -253
  108. package/dist/components/data-map/components/controls/index.js +12 -0
  109. package/dist/components/data-map/components/controls/styled.js +34 -0
  110. package/dist/components/data-map/index.js +51 -0
  111. package/dist/components/data-map/logic.js +108 -0
  112. package/dist/components/data-map/styled.js +32 -0
  113. package/dist/components/data-security-selectors/security-level/index.js +5 -5
  114. package/dist/components/date-picker-with-custom-range/index.js +9 -0
  115. package/dist/components/date-picker-with-custom-range/logic.js +66 -0
  116. package/dist/components/date-picker-with-custom-range/styled.js +43 -0
  117. package/dist/components/divider/index.js +18 -0
  118. package/dist/components/divider/logic.js +13 -0
  119. package/dist/components/divider/styled.js +14 -0
  120. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  121. package/dist/components/geometry-picker/edit/index.js +1 -1
  122. package/dist/components/geometry-picker/geometry/index.js +1 -1
  123. package/dist/components/geometry-picker/index.js +7 -8
  124. package/dist/components/geometry-picker/kml/index.js +1 -1
  125. package/dist/components/geometry-picker/map/index.js +1 -1
  126. package/dist/components/geometry-picker/map/logic.js +65 -62
  127. package/dist/components/geometry-picker/map/style.js +1 -1
  128. package/dist/components/heat-map/components/controls/index.js +12 -0
  129. package/dist/components/heat-map/components/controls/styled.js +34 -0
  130. package/dist/components/heat-map/components/legend/index.js +26 -0
  131. package/dist/components/heat-map/components/legend/styled.js +14 -0
  132. package/dist/components/heat-map/index.js +37 -0
  133. package/dist/components/heat-map/logic.js +1945 -0
  134. package/dist/components/heat-map/styled.js +32 -0
  135. package/dist/components/icon-button/index.js +22 -15
  136. package/dist/components/icon-button/logic.js +15 -0
  137. package/dist/components/icon-button/styled.js +22 -10
  138. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  139. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
  140. package/dist/components/instance-form/components/variable/index.js +8 -8
  141. package/dist/components/instance-form/components/variables/index.js +1 -1
  142. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  143. package/dist/components/instance-variable-list/index.js +34 -29
  144. package/dist/components/instance-variable-list/styled.js +21 -21
  145. package/dist/components/instance-variable-list/variable.js +44 -74
  146. package/dist/components/linear-indicator/index.js +10 -67
  147. package/dist/components/linear-indicator/logic.js +47 -0
  148. package/dist/components/linear-indicator/styled.js +39 -40
  149. package/dist/components/map/helpers/kml.js +1 -1
  150. package/dist/components/map/helpers/mapbox.js +14 -14
  151. package/dist/components/map/helpers/ol.js +23 -19
  152. package/dist/components/map/helpers/wkt.js +26 -1314
  153. package/dist/components/map/index.js +1 -1
  154. package/dist/components/map/logic.js +113 -101
  155. package/dist/components/map/styled.js +39 -31
  156. package/dist/components/metric-card/MetricChart.js +50 -498
  157. package/dist/components/metric-card/index.js +94 -115
  158. package/dist/components/metric-card/logic.js +70 -131
  159. package/dist/components/object-profile-card/components/avatar/index.js +44 -0
  160. package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
  161. package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
  162. package/dist/components/object-profile-card/index.js +90 -0
  163. package/dist/components/object-profile-card/logic.js +33 -0
  164. package/dist/components/object-profile-card/styled.js +48 -0
  165. package/dist/components/paginated-list/index.js +93 -89
  166. package/dist/components/paginated-list/logic.js +51 -40
  167. package/dist/components/paginated-list/styled.js +25 -21
  168. package/dist/components/property-mapping/index.js +2 -2
  169. package/dist/components/prr-map/components/controls/index.js +12 -0
  170. package/dist/components/prr-map/components/controls/styled.js +34 -0
  171. package/dist/components/prr-map/components/legend/index.js +36 -0
  172. package/dist/components/prr-map/components/legend/styled.js +21 -0
  173. package/dist/components/prr-map/index.js +38 -0
  174. package/dist/components/prr-map/logic.js +104 -0
  175. package/dist/components/prr-map/styled.js +32 -0
  176. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  177. package/dist/components/range-selector/components/date-range/index.js +4282 -7
  178. package/dist/components/range-selector/index.js +1 -1
  179. package/dist/components/raster-grid-map/components/controls/index.js +12 -0
  180. package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
  181. package/dist/components/raster-grid-map/components/legend/index.js +14 -0
  182. package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
  183. package/dist/components/raster-grid-map/helpers.js +190 -0
  184. package/dist/components/raster-grid-map/index.js +38 -0
  185. package/dist/components/raster-grid-map/logic.js +172 -0
  186. package/dist/components/raster-grid-map/styled.js +32 -0
  187. package/dist/components/search-input/index.js +62 -140
  188. package/dist/components/search-input/logic.js +43 -0
  189. package/dist/components/search-input/styled.js +33 -0
  190. package/dist/components/simple-pivot-table/index.js +66 -0
  191. package/dist/components/simple-pivot-table/logic.js +51 -0
  192. package/dist/components/simple-pivot-table/styled.js +45 -0
  193. package/dist/components/static-text/index.js +18 -0
  194. package/dist/components/static-text/logic.js +13 -0
  195. package/dist/components/static-text/styled.js +45 -0
  196. package/dist/components/tabs/index.js +56 -2160
  197. package/dist/components/tabs/logic.js +36 -0
  198. package/dist/components/tabs/styled.js +94 -16
  199. package/dist/components/tabs/tab-panel.js +11 -10
  200. package/dist/components/template-filters/components/tab-panel/index.js +1 -1
  201. package/dist/components/template-form/components/property-list/index.js +7 -7
  202. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  203. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  204. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  205. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  206. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  207. package/dist/components/template-form/index.js +5 -5
  208. package/dist/components/template-property-filters/property.js +5 -5
  209. package/dist/components/timeline/index.js +61 -0
  210. package/dist/components/timeline/logic.js +40 -0
  211. package/dist/components/timeline/styled.js +48 -0
  212. package/dist/components/tree-select/index.js +5 -5
  213. package/dist/components/treeview-filter/item-label/index.js +3 -3
  214. package/dist/constant-BiOGvlZc.js +21 -0
  215. package/dist/createReactComponent-C7L-DMHj.js +60 -0
  216. package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
  217. package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
  218. package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
  219. package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
  220. package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
  221. package/dist/index-BMS1Otro.js +183 -0
  222. package/dist/index-C__OZmYy.js +663 -0
  223. package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
  224. package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
  225. package/dist/index-syTc6m_V.js +1934 -0
  226. package/dist/index.es-CHNMhaMi.js +2067 -0
  227. package/dist/index.esm-BLLrbTzY.js +318 -0
  228. package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
  229. package/dist/main.d.ts +1226 -358
  230. package/dist/main.js +141 -443
  231. package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
  232. package/dist/ol-yOE-NV0X.js +7465 -0
  233. package/dist/path-CNVruS--.js +84 -0
  234. package/dist/{property-list-form-C5hcK2y2.js → property-list-form-zZQfpR0X.js} +13 -13
  235. package/dist/styled-eZwjUruw.js +12 -0
  236. package/dist/useId-B4-oF9Mq.js +34 -0
  237. package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
  238. package/dist/useThemeProps-BzzHcQyd.js +58 -0
  239. package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
  240. package/package.json +42 -9
  241. package/dist/AxisRendererY-kADUad00.js +0 -18370
  242. package/dist/Box-B1AVyJ_s.js +0 -71
  243. package/dist/DateAxis-CMum47iz.js +0 -924
  244. package/dist/Input-CoIrGZAh.js +0 -326
  245. package/dist/InputLabel-CBuAYyuT.js +0 -1367
  246. package/dist/LineSeries-CfcpoYla.js +0 -549
  247. package/dist/OutlinedInput-B-iZoc9l.js +0 -450
  248. package/dist/Tabs-Cn42Z5QI.js +0 -789
  249. package/dist/components/collapsible-card/style.js +0 -49
  250. package/dist/components/profile-card/index.js +0 -80
  251. package/dist/components/profile-card/logic.js +0 -33
  252. package/dist/components/profile-card/styled.js +0 -43
  253. package/dist/components/tabs/appleTabs.style.js +0 -55
  254. package/dist/createStyled-BGx1I94c.js +0 -352
  255. package/dist/createTheme-CyC5HawC.js +0 -879
  256. package/dist/exactProp-cjT0t_Pt.js +0 -36
  257. package/dist/extendSxProp-FEpqY5_S.js +0 -30
  258. package/dist/index-DMSHuq6l.js +0 -688
  259. package/dist/index-SpeaLUQD.js +0 -10963
  260. package/dist/ol-lGwSyEIV.js +0 -15050
  261. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  262. package/dist/ownerWindow-niciwP7I.js +0 -7
  263. package/dist/styled-B8ugzvji.js +0 -12
  264. package/dist/useId-BHG98T5I.js +0 -26
  265. package/dist/useTheme-C15Eq8KG.js +0 -18
  266. package/dist/useTheme-D-uii9iX.js +0 -10
  267. package/dist/useThemeProps-DRP1dikX.js +0 -95
@@ -1,7 +1,36 @@
1
- import { a as m, _ as T } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import { g as N, a as w, b as L, d as q, e as J } from "./createTheme-CyC5HawC.js";
3
- const V = (e) => e, K = () => {
4
- let e = V;
1
+ import { a as m, _ as M } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
+ import { getContrastRatio as D, lighten as H, darken as q, createTheme as G, unstable_defaultSxConfig as L, unstable_styleFunctionSx as J } from "@mui/system";
3
+ function S(e) {
4
+ if (typeof e != "object" || e === null)
5
+ return !1;
6
+ const t = Object.getPrototypeOf(e);
7
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
8
+ }
9
+ function R(e) {
10
+ if (!S(e))
11
+ return e;
12
+ const t = {};
13
+ return Object.keys(e).forEach((a) => {
14
+ t[a] = R(e[a]);
15
+ }), t;
16
+ }
17
+ function k(e, t, a = {
18
+ clone: !0
19
+ }) {
20
+ const i = a.clone ? m({}, e) : e;
21
+ return S(e) && S(t) && Object.keys(t).forEach((n) => {
22
+ S(t[n]) && // Avoid prototype pollution
23
+ Object.prototype.hasOwnProperty.call(e, n) && S(e[n]) ? i[n] = k(e[n], t[n], a) : a.clone ? i[n] = S(t[n]) ? R(t[n]) : t[n] : i[n] = t[n];
24
+ }), i;
25
+ }
26
+ function _(e) {
27
+ let t = "https://mui.com/production-error/?code=" + e;
28
+ for (let a = 1; a < arguments.length; a += 1)
29
+ t += "&args[]=" + encodeURIComponent(arguments[a]);
30
+ return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
31
+ }
32
+ const j = (e) => e, K = () => {
33
+ let e = j;
5
34
  return {
6
35
  configure(t) {
7
36
  e = t;
@@ -10,10 +39,10 @@ const V = (e) => e, K = () => {
10
39
  return e(t);
11
40
  },
12
41
  reset() {
13
- e = V;
42
+ e = j;
14
43
  }
15
44
  };
16
- }, X = K(), Y = {
45
+ }, Y = K(), Q = {
17
46
  active: "active",
18
47
  checked: "checked",
19
48
  completed: "completed",
@@ -27,98 +56,11 @@ const V = (e) => e, K = () => {
27
56
  required: "required",
28
57
  selected: "selected"
29
58
  };
30
- function Q(e, t, r = "Mui") {
31
- const n = Y[t];
32
- return n ? `${r}-${n}` : `${X.generate(e)}-${t}`;
33
- }
34
- function Z(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
35
- return Math.max(t, Math.min(e, r));
36
- }
37
- function U(e, t = 0, r = 1) {
38
- return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Z(e, t, r);
39
- }
40
- function ee(e) {
41
- e = e.slice(1);
42
- const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
43
- let r = e.match(t);
44
- return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
45
- }
46
- function O(e) {
47
- if (e.type)
48
- return e;
49
- if (e.charAt(0) === "#")
50
- return O(ee(e));
51
- const t = e.indexOf("("), r = e.substring(0, t);
52
- if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
53
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
54
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : N(9, e));
55
- let n = e.substring(t + 1, e.length - 1), i;
56
- if (r === "color") {
57
- if (n = n.split(" "), i = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(i) === -1)
58
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
59
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : N(10, i));
60
- } else
61
- n = n.split(",");
62
- return n = n.map((u) => parseFloat(u)), {
63
- type: r,
64
- values: n,
65
- colorSpace: i
66
- };
67
- }
68
- function _(e) {
69
- const {
70
- type: t,
71
- colorSpace: r
72
- } = e;
73
- let {
74
- values: n
75
- } = e;
76
- return t.indexOf("rgb") !== -1 ? n = n.map((i, u) => u < 3 ? parseInt(i, 10) : i) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
59
+ function X(e, t, a = "Mui") {
60
+ const i = Q[t];
61
+ return i ? `${a}-${i}` : `${Y.generate(e)}-${t}`;
77
62
  }
78
- function te(e) {
79
- e = O(e);
80
- const {
81
- values: t
82
- } = e, r = t[0], n = t[1] / 100, i = t[2] / 100, u = n * Math.min(i, 1 - i), s = (f, d = (f + r / 30) % 12) => i - u * Math.max(Math.min(d - 3, 9 - d, 1), -1);
83
- let p = "rgb";
84
- const g = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
85
- return e.type === "hsla" && (p += "a", g.push(t[3])), _({
86
- type: p,
87
- values: g
88
- });
89
- }
90
- function R(e) {
91
- e = O(e);
92
- let t = e.type === "hsl" || e.type === "hsla" ? O(te(e)).values : e.values;
93
- 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));
94
- }
95
- function j(e, t) {
96
- const r = R(e), n = R(t);
97
- return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
98
- }
99
- function Ie(e, t) {
100
- return e = O(e), t = U(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, _(e);
101
- }
102
- function re(e, t) {
103
- if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
104
- e.values[2] *= 1 - t;
105
- else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
106
- for (let r = 0; r < 3; r += 1)
107
- e.values[r] *= 1 - t;
108
- return _(e);
109
- }
110
- function ne(e, t) {
111
- if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
112
- e.values[2] += (100 - e.values[2]) * t;
113
- else if (e.type.indexOf("rgb") !== -1)
114
- for (let r = 0; r < 3; r += 1)
115
- e.values[r] += (255 - e.values[r]) * t;
116
- else if (e.type.indexOf("color") !== -1)
117
- for (let r = 0; r < 3; r += 1)
118
- e.values[r] += (1 - e.values[r]) * t;
119
- return _(e);
120
- }
121
- function ae(e, t) {
63
+ function Z(e, t) {
122
64
  return m({
123
65
  toolbar: {
124
66
  minHeight: 56,
@@ -133,10 +75,10 @@ function ae(e, t) {
133
75
  }
134
76
  }, t);
135
77
  }
136
- const S = {
78
+ const N = {
137
79
  black: "#000",
138
80
  white: "#fff"
139
- }, ie = {
81
+ }, ee = {
140
82
  50: "#fafafa",
141
83
  100: "#f5f5f5",
142
84
  200: "#eeeeee",
@@ -151,7 +93,7 @@ const S = {
151
93
  A200: "#eeeeee",
152
94
  A400: "#bdbdbd",
153
95
  A700: "#616161"
154
- }, x = {
96
+ }, $ = {
155
97
  50: "#f3e5f5",
156
98
  100: "#e1bee7",
157
99
  200: "#ce93d8",
@@ -166,7 +108,7 @@ const S = {
166
108
  A200: "#e040fb",
167
109
  A400: "#d500f9",
168
110
  A700: "#aa00ff"
169
- }, v = {
111
+ }, A = {
170
112
  50: "#ffebee",
171
113
  100: "#ffcdd2",
172
114
  200: "#ef9a9a",
@@ -181,7 +123,7 @@ const S = {
181
123
  A200: "#ff5252",
182
124
  A400: "#ff1744",
183
125
  A700: "#d50000"
184
- }, M = {
126
+ }, E = {
185
127
  50: "#fff3e0",
186
128
  100: "#ffe0b2",
187
129
  200: "#ffcc80",
@@ -196,7 +138,7 @@ const S = {
196
138
  A200: "#ffab40",
197
139
  A400: "#ff9100",
198
140
  A700: "#ff6d00"
199
- }, A = {
141
+ }, v = {
200
142
  50: "#e3f2fd",
201
143
  100: "#bbdefb",
202
144
  200: "#90caf9",
@@ -211,7 +153,7 @@ const S = {
211
153
  A200: "#448aff",
212
154
  A400: "#2979ff",
213
155
  A700: "#2962ff"
214
- }, k = {
156
+ }, x = {
215
157
  50: "#e1f5fe",
216
158
  100: "#b3e5fc",
217
159
  200: "#81d4fa",
@@ -226,7 +168,7 @@ const S = {
226
168
  A200: "#40c4ff",
227
169
  A400: "#00b0ff",
228
170
  A700: "#0091ea"
229
- }, E = {
171
+ }, w = {
230
172
  50: "#e8f5e9",
231
173
  100: "#c8e6c9",
232
174
  200: "#a5d6a7",
@@ -241,7 +183,7 @@ const S = {
241
183
  A200: "#69f0ae",
242
184
  A400: "#00e676",
243
185
  A700: "#00c853"
244
- }, se = ["mode", "contrastThreshold", "tonalOffset"], z = {
186
+ }, te = ["mode", "contrastThreshold", "tonalOffset"], U = {
245
187
  // The colors used to style the text.
246
188
  text: {
247
189
  // The most important text.
@@ -256,8 +198,8 @@ const S = {
256
198
  // The background colors used to style the surfaces.
257
199
  // Consistency between these values is important.
258
200
  background: {
259
- paper: S.white,
260
- default: S.white
201
+ paper: N.white,
202
+ default: N.white
261
203
  },
262
204
  // The colors used to style the action elements.
263
205
  action: {
@@ -278,9 +220,9 @@ const S = {
278
220
  focusOpacity: 0.12,
279
221
  activatedOpacity: 0.12
280
222
  }
281
- }, D = {
223
+ }, C = {
282
224
  text: {
283
- primary: S.white,
225
+ primary: N.white,
284
226
  secondary: "rgba(255, 255, 255, 0.7)",
285
227
  disabled: "rgba(255, 255, 255, 0.5)",
286
228
  icon: "rgba(255, 255, 255, 0.5)"
@@ -291,7 +233,7 @@ const S = {
291
233
  default: "#121212"
292
234
  },
293
235
  action: {
294
- active: S.white,
236
+ active: N.white,
295
237
  hover: "rgba(255, 255, 255, 0.08)",
296
238
  hoverOpacity: 0.08,
297
239
  selected: "rgba(255, 255, 255, 0.16)",
@@ -304,105 +246,105 @@ const S = {
304
246
  activatedOpacity: 0.24
305
247
  }
306
248
  };
307
- function F(e, t, r, n) {
308
- const i = n.light || n, u = n.dark || n * 1.5;
309
- e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = ne(e.main, i) : t === "dark" && (e.dark = re(e.main, u)));
249
+ function V(e, t, a, i) {
250
+ const n = i.light || i, g = i.dark || i * 1.5;
251
+ e[t] || (e.hasOwnProperty(a) ? e[t] = e[a] : t === "light" ? e.light = H(e.main, n) : t === "dark" && (e.dark = q(e.main, g)));
310
252
  }
311
- function oe(e = "light") {
253
+ function re(e = "light") {
312
254
  return e === "dark" ? {
313
- main: A[200],
314
- light: A[50],
315
- dark: A[400]
255
+ main: v[200],
256
+ light: v[50],
257
+ dark: v[400]
316
258
  } : {
317
- main: A[700],
318
- light: A[400],
319
- dark: A[800]
259
+ main: v[700],
260
+ light: v[400],
261
+ dark: v[800]
320
262
  };
321
263
  }
322
- function ce(e = "light") {
264
+ function ne(e = "light") {
323
265
  return e === "dark" ? {
324
- main: x[200],
325
- light: x[50],
326
- dark: x[400]
266
+ main: $[200],
267
+ light: $[50],
268
+ dark: $[400]
327
269
  } : {
328
- main: x[500],
329
- light: x[300],
330
- dark: x[700]
270
+ main: $[500],
271
+ light: $[300],
272
+ dark: $[700]
331
273
  };
332
274
  }
333
- function fe(e = "light") {
275
+ function ae(e = "light") {
334
276
  return e === "dark" ? {
335
- main: v[500],
336
- light: v[300],
337
- dark: v[700]
277
+ main: A[500],
278
+ light: A[300],
279
+ dark: A[700]
338
280
  } : {
339
- main: v[700],
340
- light: v[400],
341
- dark: v[800]
281
+ main: A[700],
282
+ light: A[400],
283
+ dark: A[800]
342
284
  };
343
285
  }
344
- function ue(e = "light") {
286
+ function oe(e = "light") {
345
287
  return e === "dark" ? {
346
- main: k[400],
347
- light: k[300],
348
- dark: k[700]
288
+ main: x[400],
289
+ light: x[300],
290
+ dark: x[700]
349
291
  } : {
350
- main: k[700],
351
- light: k[500],
352
- dark: k[900]
292
+ main: x[700],
293
+ light: x[500],
294
+ dark: x[900]
353
295
  };
354
296
  }
355
- function de(e = "light") {
297
+ function ie(e = "light") {
356
298
  return e === "dark" ? {
357
- main: E[400],
358
- light: E[300],
359
- dark: E[700]
299
+ main: w[400],
300
+ light: w[300],
301
+ dark: w[700]
360
302
  } : {
361
- main: E[800],
362
- light: E[500],
363
- dark: E[900]
303
+ main: w[800],
304
+ light: w[500],
305
+ dark: w[900]
364
306
  };
365
307
  }
366
- function le(e = "light") {
308
+ function se(e = "light") {
367
309
  return e === "dark" ? {
368
- main: M[400],
369
- light: M[300],
370
- dark: M[700]
310
+ main: E[400],
311
+ light: E[300],
312
+ dark: E[700]
371
313
  } : {
372
314
  main: "#ed6c02",
373
315
  // closest to orange[800] that pass 3:1.
374
- light: M[500],
375
- dark: M[900]
316
+ light: E[500],
317
+ dark: E[900]
376
318
  };
377
319
  }
378
- function pe(e) {
320
+ function ce(e) {
379
321
  const {
380
322
  mode: t = "light",
381
- contrastThreshold: r = 3,
382
- tonalOffset: n = 0.2
383
- } = e, i = T(e, se), u = e.primary || oe(t), s = e.secondary || ce(t), p = e.error || fe(t), g = e.info || ue(t), f = e.success || de(t), d = e.warning || le(t);
384
- function h(a) {
385
- const l = j(a, D.text.primary) >= r ? D.text.primary : z.text.primary;
323
+ contrastThreshold: a = 3,
324
+ tonalOffset: i = 0.2
325
+ } = e, n = M(e, te), g = e.primary || re(t), s = e.secondary || ne(t), h = e.error || ae(t), b = e.info || oe(t), f = e.success || ie(t), l = e.warning || se(t);
326
+ function u(r) {
327
+ const d = D(r, C.text.primary) >= a ? C.text.primary : U.text.primary;
386
328
  if (process.env.NODE_ENV !== "production") {
387
- const b = j(a, l);
388
- b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${l} on ${a}`, "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(`
329
+ const p = D(r, d);
330
+ p < 3 && console.error([`MUI: The contrast ratio of ${p}:1 for ${d} on ${r}`, "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(`
389
331
  `));
390
332
  }
391
- return l;
333
+ return d;
392
334
  }
393
335
  const c = ({
394
- color: a,
395
- name: l,
396
- mainShade: b = 500,
336
+ color: r,
337
+ name: d,
338
+ mainShade: p = 500,
397
339
  lightShade: I = 300,
398
- darkShade: C = 700
340
+ darkShade: T = 700
399
341
  }) => {
400
- if (a = m({}, a), !a.main && a[b] && (a.main = a[b]), !a.hasOwnProperty("main"))
401
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${l ? ` (${l})` : ""} provided to augmentColor(color) is invalid.
402
- The color object needs to have a \`main\` property or a \`${b}\` property.` : N(11, l ? ` (${l})` : "", b));
403
- if (typeof a.main != "string")
404
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${l ? ` (${l})` : ""} provided to augmentColor(color) is invalid.
405
- \`color.main\` should be a string, but \`${JSON.stringify(a.main)}\` was provided instead.
342
+ if (r = m({}, r), !r.main && r[p] && (r.main = r[p]), !r.hasOwnProperty("main"))
343
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${d ? ` (${d})` : ""} provided to augmentColor(color) is invalid.
344
+ The color object needs to have a \`main\` property or a \`${p}\` property.` : _(11, d ? ` (${d})` : "", p));
345
+ if (typeof r.main != "string")
346
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${d ? ` (${d})` : ""} provided to augmentColor(color) is invalid.
347
+ \`color.main\` should be a string, but \`${JSON.stringify(r.main)}\` was provided instead.
406
348
 
407
349
  Did you intend to use one of the following approaches?
408
350
 
@@ -414,21 +356,21 @@ const theme1 = createTheme({ palette: {
414
356
 
415
357
  const theme2 = createTheme({ palette: {
416
358
  primary: { main: green[500] },
417
- } });` : N(12, l ? ` (${l})` : "", JSON.stringify(a.main)));
418
- return F(a, "light", I, n), F(a, "dark", C, n), a.contrastText || (a.contrastText = h(a.main)), a;
419
- }, $ = {
420
- dark: D,
421
- light: z
359
+ } });` : _(12, d ? ` (${d})` : "", JSON.stringify(r.main)));
360
+ return V(r, "light", I, i), V(r, "dark", T, i), r.contrastText || (r.contrastText = u(r.main)), r;
361
+ }, O = {
362
+ dark: C,
363
+ light: U
422
364
  };
423
- return process.env.NODE_ENV !== "production" && ($[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), w(m({
365
+ return process.env.NODE_ENV !== "production" && (O[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), k(m({
424
366
  // A collection of common colors.
425
- common: m({}, S),
367
+ common: m({}, N),
426
368
  // prevent mutable object.
427
369
  // The palette mode, can be light or dark.
428
370
  mode: t,
429
371
  // The colors used to represent primary interface elements for a user.
430
372
  primary: c({
431
- color: u,
373
+ color: g,
432
374
  name: "primary"
433
375
  }),
434
376
  // The colors used to represent secondary interface elements for a user.
@@ -441,17 +383,17 @@ const theme2 = createTheme({ palette: {
441
383
  }),
442
384
  // The colors used to represent interface elements that the user should be made aware of.
443
385
  error: c({
444
- color: p,
386
+ color: h,
445
387
  name: "error"
446
388
  }),
447
389
  // The colors used to represent potentially dangerous actions or important messages.
448
390
  warning: c({
449
- color: d,
391
+ color: l,
450
392
  name: "warning"
451
393
  }),
452
394
  // The colors used to present information to the user that is neutral and not necessarily important.
453
395
  info: c({
454
- color: g,
396
+ color: b,
455
397
  name: "info"
456
398
  }),
457
399
  // The colors used to indicate the successful completion of an action that user triggered.
@@ -460,67 +402,67 @@ const theme2 = createTheme({ palette: {
460
402
  name: "success"
461
403
  }),
462
404
  // The grey colors.
463
- grey: ie,
405
+ grey: ee,
464
406
  // Used by `getContrastText()` to maximize the contrast between
465
407
  // the background and the text.
466
- contrastThreshold: r,
408
+ contrastThreshold: a,
467
409
  // Takes a background color and returns the text color that maximizes the contrast.
468
- getContrastText: h,
410
+ getContrastText: u,
469
411
  // Generate a rich color object.
470
412
  augmentColor: c,
471
413
  // Used by the functions below to shift a color's luminance by approximately
472
414
  // two indexes within its tonal palette.
473
415
  // E.g., shift from Red 500 to Red 300 or Red 700.
474
- tonalOffset: n
475
- }, $[t]), i);
416
+ tonalOffset: i
417
+ }, O[t]), n);
476
418
  }
477
- const ge = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
478
- function he(e) {
419
+ const fe = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
420
+ function de(e) {
479
421
  return Math.round(e * 1e5) / 1e5;
480
422
  }
481
- const W = {
423
+ const z = {
482
424
  textTransform: "uppercase"
483
- }, B = '"Roboto", "Helvetica", "Arial", sans-serif';
484
- function be(e, t) {
485
- const r = typeof t == "function" ? t(e) : t, {
486
- fontFamily: n = B,
425
+ }, W = '"Roboto", "Helvetica", "Arial", sans-serif';
426
+ function le(e, t) {
427
+ const a = typeof t == "function" ? t(e) : t, {
428
+ fontFamily: i = W,
487
429
  // The default font size of the Material Specification.
488
- fontSize: i = 14,
430
+ fontSize: n = 14,
489
431
  // px
490
- fontWeightLight: u = 300,
432
+ fontWeightLight: g = 300,
491
433
  fontWeightRegular: s = 400,
492
- fontWeightMedium: p = 500,
493
- fontWeightBold: g = 700,
434
+ fontWeightMedium: h = 500,
435
+ fontWeightBold: b = 700,
494
436
  // Tell MUI what's the font-size on the html element.
495
437
  // 16px is the default font-size used by browsers.
496
438
  htmlFontSize: f = 16,
497
439
  // Apply the CSS properties to all the variants.
498
- allVariants: d,
499
- pxToRem: h
500
- } = r, c = T(r, ge);
501
- process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
502
- const $ = i / 14, y = h || ((b) => `${b / f * $}rem`), a = (b, I, C, P, H) => m({
503
- fontFamily: n,
504
- fontWeight: b,
440
+ allVariants: l,
441
+ pxToRem: u
442
+ } = a, c = M(a, fe);
443
+ process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
444
+ const O = n / 14, y = u || ((p) => `${p / f * O}rem`), r = (p, I, T, F, B) => m({
445
+ fontFamily: i,
446
+ fontWeight: p,
505
447
  fontSize: y(I),
506
448
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
507
- lineHeight: C
508
- }, n === B ? {
509
- letterSpacing: `${he(P / I)}em`
510
- } : {}, H, d), l = {
511
- h1: a(u, 96, 1.167, -1.5),
512
- h2: a(u, 60, 1.2, -0.5),
513
- h3: a(s, 48, 1.167, 0),
514
- h4: a(s, 34, 1.235, 0.25),
515
- h5: a(s, 24, 1.334, 0),
516
- h6: a(p, 20, 1.6, 0.15),
517
- subtitle1: a(s, 16, 1.75, 0.15),
518
- subtitle2: a(p, 14, 1.57, 0.1),
519
- body1: a(s, 16, 1.5, 0.15),
520
- body2: a(s, 14, 1.43, 0.15),
521
- button: a(p, 14, 1.75, 0.4, W),
522
- caption: a(s, 12, 1.66, 0.4),
523
- overline: a(s, 12, 2.66, 1, W),
449
+ lineHeight: T
450
+ }, i === W ? {
451
+ letterSpacing: `${de(F / I)}em`
452
+ } : {}, B, l), d = {
453
+ h1: r(g, 96, 1.167, -1.5),
454
+ h2: r(g, 60, 1.2, -0.5),
455
+ h3: r(s, 48, 1.167, 0),
456
+ h4: r(s, 34, 1.235, 0.25),
457
+ h5: r(s, 24, 1.334, 0),
458
+ h6: r(h, 20, 1.6, 0.15),
459
+ subtitle1: r(s, 16, 1.75, 0.15),
460
+ subtitle2: r(h, 14, 1.57, 0.1),
461
+ body1: r(s, 16, 1.5, 0.15),
462
+ body2: r(s, 14, 1.43, 0.15),
463
+ button: r(h, 14, 1.75, 0.4, z),
464
+ caption: r(s, 12, 1.66, 0.4),
465
+ overline: r(s, 12, 2.66, 1, z),
524
466
  inherit: {
525
467
  fontFamily: "inherit",
526
468
  fontWeight: "inherit",
@@ -529,25 +471,25 @@ function be(e, t) {
529
471
  letterSpacing: "inherit"
530
472
  }
531
473
  };
532
- return w(m({
474
+ return k(m({
533
475
  htmlFontSize: f,
534
476
  pxToRem: y,
535
- fontFamily: n,
536
- fontSize: i,
537
- fontWeightLight: u,
477
+ fontFamily: i,
478
+ fontSize: n,
479
+ fontWeightLight: g,
538
480
  fontWeightRegular: s,
539
- fontWeightMedium: p,
540
- fontWeightBold: g
541
- }, l), c, {
481
+ fontWeightMedium: h,
482
+ fontWeightBold: b
483
+ }, d), c, {
542
484
  clone: !1
543
485
  // No need to clone deep
544
486
  });
545
487
  }
546
- const me = 0.2, ye = 0.14, $e = 0.12;
488
+ const ue = 0.2, ge = 0.14, he = 0.12;
547
489
  function o(...e) {
548
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${me})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ye})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${$e})`].join(",");
490
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ue})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ge})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${he})`].join(",");
549
491
  }
550
- const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), o(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), o(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), o(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), o(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), o(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), o(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), o(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), o(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), o(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), o(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), o(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), o(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), o(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), o(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), o(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), o(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), o(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), o(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), o(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), o(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), o(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), o(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], xe = ["duration", "easing", "delay"], ve = {
492
+ const be = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), o(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), o(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), o(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), o(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), o(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), o(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), o(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), o(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), o(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), o(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), o(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), o(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), o(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), o(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), o(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), o(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), o(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), o(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), o(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), o(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), o(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), o(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], me = ["duration", "easing", "delay"], pe = {
551
493
  // This is the most common easing curve.
552
494
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
553
495
  // Objects enter the screen at full velocity from off-screen and
@@ -557,7 +499,7 @@ const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
557
499
  easeIn: "cubic-bezier(0.4, 0, 1, 1)",
558
500
  // The sharp curve is used by objects that may return to the screen at any time.
559
501
  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
560
- }, Ae = {
502
+ }, ye = {
561
503
  shortest: 150,
562
504
  shorter: 200,
563
505
  short: 250,
@@ -570,37 +512,37 @@ const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
570
512
  // recommended when something is leaving screen
571
513
  leavingScreen: 195
572
514
  };
573
- function G(e) {
515
+ function P(e) {
574
516
  return `${Math.round(e)}ms`;
575
517
  }
576
- function ke(e) {
518
+ function Oe(e) {
577
519
  if (!e)
578
520
  return 0;
579
521
  const t = e / 36;
580
522
  return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
581
523
  }
582
- function Ee(e) {
583
- const t = m({}, ve, e.easing), r = m({}, Ae, e.duration);
524
+ function $e(e) {
525
+ const t = m({}, pe, e.easing), a = m({}, ye, e.duration);
584
526
  return m({
585
- getAutoHeightDuration: ke,
586
- create: (i = ["all"], u = {}) => {
527
+ getAutoHeightDuration: Oe,
528
+ create: (n = ["all"], g = {}) => {
587
529
  const {
588
- duration: s = r.standard,
589
- easing: p = t.easeInOut,
590
- delay: g = 0
591
- } = u, f = T(u, xe);
530
+ duration: s = a.standard,
531
+ easing: h = t.easeInOut,
532
+ delay: b = 0
533
+ } = g, f = M(g, me);
592
534
  if (process.env.NODE_ENV !== "production") {
593
- const d = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
594
- !d(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !h(s) && !d(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), d(p) || console.error('MUI: Argument "easing" must be a string.'), !h(g) && !d(g) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
535
+ const l = (c) => typeof c == "string", u = (c) => !isNaN(parseFloat(c));
536
+ !l(n) && !Array.isArray(n) && console.error('MUI: Argument "props" must be a string or Array.'), !u(s) && !l(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), l(h) || console.error('MUI: Argument "easing" must be a string.'), !u(b) && !l(b) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
595
537
  }
596
- return (Array.isArray(i) ? i : [i]).map((d) => `${d} ${typeof s == "string" ? s : G(s)} ${p} ${typeof g == "string" ? g : G(g)}`).join(",");
538
+ return (Array.isArray(n) ? n : [n]).map((l) => `${l} ${typeof s == "string" ? s : P(s)} ${h} ${typeof b == "string" ? b : P(b)}`).join(",");
597
539
  }
598
540
  }, e, {
599
541
  easing: t,
600
- duration: r
542
+ duration: a
601
543
  });
602
544
  }
603
- const Me = {
545
+ const Ae = {
604
546
  mobileStepper: 1e3,
605
547
  fab: 1050,
606
548
  speedDial: 1050,
@@ -609,37 +551,37 @@ const Me = {
609
551
  modal: 1300,
610
552
  snackbar: 1400,
611
553
  tooltip: 1500
612
- }, we = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
613
- function Te(e = {}, ...t) {
554
+ }, ve = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
555
+ function Se(e = {}, ...t) {
614
556
  const {
615
- mixins: r = {},
616
- palette: n = {},
617
- transitions: i = {},
618
- typography: u = {}
619
- } = e, s = T(e, we);
557
+ mixins: a = {},
558
+ palette: i = {},
559
+ transitions: n = {},
560
+ typography: g = {}
561
+ } = e, s = M(e, ve);
620
562
  if (e.vars)
621
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : N(18));
622
- const p = pe(n), g = L(e);
623
- let f = w(g, {
624
- mixins: ae(g.breakpoints, r),
625
- palette: p,
563
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : _(18));
564
+ const h = ce(i), b = G(e);
565
+ let f = k(b, {
566
+ mixins: Z(b.breakpoints, a),
567
+ palette: h,
626
568
  // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
627
- shadows: Oe.slice(),
628
- typography: be(p, u),
629
- transitions: Ee(i),
630
- zIndex: m({}, Me)
569
+ shadows: be.slice(),
570
+ typography: le(h, g),
571
+ transitions: $e(n),
572
+ zIndex: m({}, Ae)
631
573
  });
632
- if (f = w(f, s), f = t.reduce((d, h) => w(d, h), f), process.env.NODE_ENV !== "production") {
633
- const d = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, $) => {
574
+ if (f = k(f, s), f = t.reduce((l, u) => k(l, u), f), process.env.NODE_ENV !== "production") {
575
+ const l = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (c, O) => {
634
576
  let y;
635
577
  for (y in c) {
636
- const a = c[y];
637
- if (d.indexOf(y) !== -1 && Object.keys(a).length > 0) {
578
+ const r = c[y];
579
+ if (l.indexOf(y) !== -1 && Object.keys(r).length > 0) {
638
580
  if (process.env.NODE_ENV !== "production") {
639
- const l = Q("", y);
640
- console.error([`MUI: The \`${$}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${l}' syntax:`, JSON.stringify({
581
+ const d = X("", y);
582
+ console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${d}' syntax:`, JSON.stringify({
641
583
  root: {
642
- [`&.${l}`]: a
584
+ [`&.${d}`]: r
643
585
  }
644
586
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
645
587
  `));
@@ -649,23 +591,22 @@ function Te(e = {}, ...t) {
649
591
  }
650
592
  };
651
593
  Object.keys(f.components).forEach((c) => {
652
- const $ = f.components[c].styleOverrides;
653
- $ && c.indexOf("Mui") === 0 && h($, c);
594
+ const O = f.components[c].styleOverrides;
595
+ O && c.indexOf("Mui") === 0 && u(O, c);
654
596
  });
655
597
  }
656
- return f.unstable_sxConfig = m({}, q, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(h) {
598
+ return f.unstable_sxConfig = m({}, L, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(u) {
657
599
  return J({
658
- sx: h,
600
+ sx: u,
659
601
  theme: this
660
602
  });
661
603
  }, f;
662
604
  }
663
605
  export {
664
- X as C,
665
- Ie as a,
666
- re as b,
667
- Te as c,
668
- Ae as d,
669
- Q as g,
670
- ne as l
606
+ Y as C,
607
+ k as a,
608
+ Se as c,
609
+ ye as d,
610
+ _ as f,
611
+ X as g
671
612
  };