@hybridcore/ui 1.0.2 → 1.1.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 (103) hide show
  1. package/dist/Button-BZR43NHz.js +2025 -0
  2. package/dist/ButtonBase-B6WYZgVU.js +967 -0
  3. package/dist/CardContent-C8PxkJz4.js +73 -0
  4. package/dist/Checkbox-CxbQ9tJ5.js +673 -0
  5. package/dist/FormControl-C4PmH1vh.js +1491 -0
  6. package/dist/IconButton-CKHPuOyh.js +183 -0
  7. package/dist/Input-CH_JyT5B.js +324 -0
  8. package/dist/List-BX_5LP1i.js +132 -0
  9. package/dist/Object-DBPgar-D.js +688 -0
  10. package/dist/OutlinedInput-gnp48tDo.js +452 -0
  11. package/dist/Paper-CaiWdndQ.js +162 -0
  12. package/dist/Select-DOyHt8I_.js +2526 -0
  13. package/dist/Source-Bo1Eq6y-.js +4374 -0
  14. package/dist/Text-DVP2PrYM.js +2192 -0
  15. package/dist/Typography-XIiVCSto.js +178 -0
  16. package/dist/assertThisInitialized-BUtkG-md.js +13 -0
  17. package/dist/assets/index.css +1 -0
  18. package/dist/assets/index2.css +1 -0
  19. package/dist/chainPropTypes-DtBfUj5o.js +96 -0
  20. package/dist/components/access/helpers.js +32 -0
  21. package/dist/components/access/index.js +15 -0
  22. package/dist/components/card/index.js +159 -469
  23. package/dist/components/card/styled.js +75 -7
  24. package/dist/components/conditional-wrapper/index.js +9 -0
  25. package/dist/components/confirm/dialog.js +151 -0
  26. package/dist/components/confirm/index.js +23 -0
  27. package/dist/components/container/index.js +270 -0
  28. package/dist/components/context-menu/index.js +973 -0
  29. package/dist/components/data-management/instance-form/components/composite-list/index.js +12 -0
  30. package/dist/components/data-management/instance-form/components/composite-list/styled.js +64 -0
  31. package/dist/components/data-management/instance-form/components/policy-list/index.js +86 -0
  32. package/dist/components/data-management/instance-form/components/variable/index.js +15 -0
  33. package/dist/components/data-management/instance-form/components/variables/index.js +39 -0
  34. package/dist/components/data-management/instance-form/index.js +437 -0
  35. package/dist/components/data-security-selectors/dissemination-list/index.js +3201 -0
  36. package/dist/components/data-security-selectors/security-level/index.js +81 -0
  37. package/dist/components/date-time-picker/index.js +103 -0
  38. package/dist/components/geometry-picker/coordinate/index.js +93 -0
  39. package/dist/components/geometry-picker/edit/index.js +71 -0
  40. package/dist/components/geometry-picker/geometry/index.js +160 -0
  41. package/dist/components/geometry-picker/geometry/map-overlay.js +22 -0
  42. package/dist/components/geometry-picker/index.js +140 -0
  43. package/dist/components/geometry-picker/kml/index.js +62 -0
  44. package/dist/components/geometry-picker/kml/select-input-method.js +75 -0
  45. package/dist/components/geometry-picker/logic.js +69 -0
  46. package/dist/components/geometry-picker/map/index.js +42 -0
  47. package/dist/components/geometry-picker/map/logic.js +2360 -0
  48. package/dist/components/geometry-picker/map/style.js +88 -0
  49. package/dist/components/geometry-picker/parser/coordinate-input/index.js +78 -0
  50. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1305 -0
  51. package/dist/components/geometry-picker/parser/index.js +179 -0
  52. package/dist/components/geometry-picker/parser/logic.js +84 -0
  53. package/dist/components/geometry-picker/parser/styled.js +25 -0
  54. package/dist/components/geometry-picker/styled.js +48 -0
  55. package/dist/components/geometry-picker/wkt/index.js +59 -0
  56. package/dist/components/geometry-picker/wkt/select-input-method.js +75 -0
  57. package/dist/components/icon-button/index.js +18 -0
  58. package/dist/components/icon-button/styled.js +51 -0
  59. package/dist/components/key-protection/index.js +4 -0
  60. package/dist/components/key-protection/menu.js +85 -0
  61. package/dist/components/key-protection/utils.js +10 -0
  62. package/dist/components/loading/index.js +7 -0
  63. package/dist/components/loading/styled.js +16 -0
  64. package/dist/components/map/helpers/kml.js +45 -0
  65. package/dist/components/map/helpers/mapbox.js +48 -0
  66. package/dist/components/map/helpers/ol.js +25 -0
  67. package/dist/components/map/helpers/wkt.js +29 -0
  68. package/dist/components/map/index.js +30 -0
  69. package/dist/components/map/logic.js +140 -0
  70. package/dist/components/map/styled.js +8 -0
  71. package/dist/components/phone-input/index.js +25 -0
  72. package/dist/components/phone-input/styled.js +26 -0
  73. package/dist/components/search-input/index.js +76 -0
  74. package/dist/components/tree-select/index.js +70 -0
  75. package/dist/components/tree-select/styled.js +64 -0
  76. package/dist/components/treeview-filter/index.js +621 -0
  77. package/dist/components/treeview-filter/item/index.js +7 -0
  78. package/dist/components/treeview-filter/item-label/index.js +44 -0
  79. package/dist/createTheme-agWfFD64.js +2392 -0
  80. package/dist/exactProp-CI8dagM-.js +36 -0
  81. package/dist/extends-C3382pL0.js +22 -0
  82. package/dist/hooks/useMenuLogic.js +21 -0
  83. package/dist/hooks/useToggle.js +23 -0
  84. package/dist/index-BQE8B4sc.js +957 -0
  85. package/dist/index-DHFb1Qpn.js +1105 -0
  86. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  87. package/dist/isMuiElement-CxT3_ACP.js +13 -0
  88. package/dist/main.d.ts +646 -0
  89. package/dist/ol-CMEkXXLJ.js +15041 -0
  90. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  91. package/dist/ownerWindow-niciwP7I.js +7 -0
  92. package/dist/styled-B22KrhDR.js +229 -0
  93. package/dist/styled-Iq9jsO4F.js +1033 -0
  94. package/dist/useFormControl-CatNKXAi.js +10 -0
  95. package/dist/useId-BHG98T5I.js +26 -0
  96. package/dist/useTheme-C0Dky5rV.js +17 -0
  97. package/dist/useTheme-CeyGVuQP.js +10 -0
  98. package/dist/useThemeProps-CzAjOL6F.js +26 -0
  99. package/dist/utils/ontology.js +37 -0
  100. package/dist/utils-Bq0ye5vf.js +115 -0
  101. package/dist/utils-C13eMoWa.js +365 -0
  102. package/package.json +26 -5
  103. package/dist/styled-BG5UIpPU.js +0 -3459
@@ -0,0 +1,1033 @@
1
+ import { k as A, o as De, d as P, e as _e, l as K, c as Pe, g as Re, p as Ie, a as xe, q as Ve, t as ze, u as ne, b as Oe, v as Fe } from "./createTheme-agWfFD64.js";
2
+ import { _ as W, a as _ } from "./extends-C3382pL0.js";
3
+ var U = {}, $e = { exports: {} };
4
+ (function(e) {
5
+ function t(r) {
6
+ return r && r.__esModule ? r : {
7
+ default: r
8
+ };
9
+ }
10
+ e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
11
+ })($e);
12
+ var Se = $e.exports, Z = { exports: {} }, ue;
13
+ function qe() {
14
+ return ue || (ue = 1, function(e) {
15
+ function t() {
16
+ return e.exports = t = Object.assign ? Object.assign.bind() : function(r) {
17
+ for (var n = 1; n < arguments.length; n++) {
18
+ var o = arguments[n];
19
+ for (var a in o) ({}).hasOwnProperty.call(o, a) && (r[a] = o[a]);
20
+ }
21
+ return r;
22
+ }, e.exports.__esModule = !0, e.exports.default = e.exports, t.apply(null, arguments);
23
+ }
24
+ e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
25
+ }(Z)), Z.exports;
26
+ }
27
+ var ee = { exports: {} }, ce;
28
+ function We() {
29
+ return ce || (ce = 1, function(e) {
30
+ function t(r, n) {
31
+ if (r == null) return {};
32
+ var o = {};
33
+ for (var a in r) if ({}.hasOwnProperty.call(r, a)) {
34
+ if (n.includes(a)) continue;
35
+ o[a] = r[a];
36
+ }
37
+ return o;
38
+ }
39
+ e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
40
+ }(ee)), ee.exports;
41
+ }
42
+ const Ue = /* @__PURE__ */ A(De), Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
43
+ __proto__: null,
44
+ default: P,
45
+ isPlainObject: _e
46
+ }, Symbol.toStringTag, { value: "Module" })), He = /* @__PURE__ */ A(Le), Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
47
+ __proto__: null,
48
+ default: K
49
+ }, Symbol.toStringTag, { value: "Module" })), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50
+ __proto__: null,
51
+ default: Pe
52
+ }, Symbol.toStringTag, { value: "Module" })), Je = /* @__PURE__ */ A(Ge), Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53
+ __proto__: null,
54
+ default: Re,
55
+ getFunctionName: Ie
56
+ }, Symbol.toStringTag, { value: "Module" })), Xe = /* @__PURE__ */ A(Ke), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57
+ __proto__: null,
58
+ default: xe,
59
+ private_createBreakpoints: Ve,
60
+ unstable_applyStyles: ze
61
+ }, Symbol.toStringTag, { value: "Module" })), Qe = /* @__PURE__ */ A(Ye), Ze = ["sx"], et = (e) => {
62
+ var t, r;
63
+ const n = {
64
+ systemProps: {},
65
+ otherProps: {}
66
+ }, o = (t = e == null || (r = e.theme) == null ? void 0 : r.unstable_sxConfig) != null ? t : ne;
67
+ return Object.keys(e).forEach((a) => {
68
+ o[a] ? n.systemProps[a] = e[a] : n.otherProps[a] = e[a];
69
+ }), n;
70
+ };
71
+ function tt(e) {
72
+ const {
73
+ sx: t
74
+ } = e, r = W(e, Ze), {
75
+ systemProps: n,
76
+ otherProps: o
77
+ } = et(r);
78
+ let a;
79
+ return Array.isArray(t) ? a = [n, ...t] : typeof t == "function" ? a = (...s) => {
80
+ const f = t(...s);
81
+ return _e(f) ? _({}, n, f) : n;
82
+ } : a = _({}, n, t), _({}, o, {
83
+ sx: a
84
+ });
85
+ }
86
+ const rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
87
+ __proto__: null,
88
+ default: Oe,
89
+ extendSxProp: tt,
90
+ unstable_createStyleFunctionSx: Fe,
91
+ unstable_defaultSxConfig: ne
92
+ }, Symbol.toStringTag, { value: "Module" })), nt = /* @__PURE__ */ A(rt);
93
+ var R = Se;
94
+ Object.defineProperty(U, "__esModule", {
95
+ value: !0
96
+ });
97
+ var ot = U.default = yt;
98
+ U.shouldForwardProp = G;
99
+ U.systemDefaultTheme = void 0;
100
+ var O = R(qe()), re = R(We()), fe = pt(Ue), at = He, st = R(Je), it = R(Xe), ut = R(Qe), ct = R(nt);
101
+ const ft = ["ownerState"], lt = ["variants"], dt = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
102
+ function Ee(e) {
103
+ if (typeof WeakMap != "function") return null;
104
+ var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
105
+ return (Ee = function(n) {
106
+ return n ? r : t;
107
+ })(e);
108
+ }
109
+ function pt(e, t) {
110
+ if (e && e.__esModule) return e;
111
+ if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
112
+ var r = Ee(t);
113
+ if (r && r.has(e)) return r.get(e);
114
+ var n = { __proto__: null }, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
115
+ for (var a in e) if (a !== "default" && Object.prototype.hasOwnProperty.call(e, a)) {
116
+ var s = o ? Object.getOwnPropertyDescriptor(e, a) : null;
117
+ s && (s.get || s.set) ? Object.defineProperty(n, a, s) : n[a] = e[a];
118
+ }
119
+ return n.default = e, r && r.set(e, n), n;
120
+ }
121
+ function ht(e) {
122
+ return Object.keys(e).length === 0;
123
+ }
124
+ function mt(e) {
125
+ return typeof e == "string" && // 96 is one less than the char code
126
+ // for "a" so this is checking that
127
+ // it's a lowercase character
128
+ e.charCodeAt(0) > 96;
129
+ }
130
+ function G(e) {
131
+ return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
132
+ }
133
+ const gt = U.systemDefaultTheme = (0, ut.default)(), le = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
134
+ function B({
135
+ defaultTheme: e,
136
+ theme: t,
137
+ themeId: r
138
+ }) {
139
+ return ht(t) ? e : t[r] || t;
140
+ }
141
+ function bt(e) {
142
+ return e ? (t, r) => r[e] : null;
143
+ }
144
+ function J(e, t) {
145
+ let {
146
+ ownerState: r
147
+ } = t, n = (0, re.default)(t, ft);
148
+ const o = typeof e == "function" ? e((0, O.default)({
149
+ ownerState: r
150
+ }, n)) : e;
151
+ if (Array.isArray(o))
152
+ return o.flatMap((a) => J(a, (0, O.default)({
153
+ ownerState: r
154
+ }, n)));
155
+ if (o && typeof o == "object" && Array.isArray(o.variants)) {
156
+ const {
157
+ variants: a = []
158
+ } = o;
159
+ let f = (0, re.default)(o, lt);
160
+ return a.forEach((u) => {
161
+ let c = !0;
162
+ typeof u.props == "function" ? c = u.props((0, O.default)({
163
+ ownerState: r
164
+ }, n, r)) : Object.keys(u.props).forEach((l) => {
165
+ (r == null ? void 0 : r[l]) !== u.props[l] && n[l] !== u.props[l] && (c = !1);
166
+ }), c && (Array.isArray(f) || (f = [f]), f.push(typeof u.style == "function" ? u.style((0, O.default)({
167
+ ownerState: r
168
+ }, n, r)) : u.style));
169
+ }), f;
170
+ }
171
+ return o;
172
+ }
173
+ function yt(e = {}) {
174
+ const {
175
+ themeId: t,
176
+ defaultTheme: r = gt,
177
+ rootShouldForwardProp: n = G,
178
+ slotShouldForwardProp: o = G
179
+ } = e, a = (s) => (0, ct.default)((0, O.default)({}, s, {
180
+ theme: B((0, O.default)({}, s, {
181
+ defaultTheme: r,
182
+ themeId: t
183
+ }))
184
+ }));
185
+ return a.__mui_systemSx = !0, (s, f = {}) => {
186
+ (0, fe.internal_processStyles)(s, (y) => y.filter((M) => !(M != null && M.__mui_systemSx)));
187
+ const {
188
+ name: u,
189
+ slot: c,
190
+ skipVariantsResolver: l,
191
+ skipSx: b,
192
+ // TODO v6: remove `lowercaseFirstLetter()` in the next major release
193
+ // For more details: https://github.com/mui/material-ui/pull/37908
194
+ overridesResolver: d = bt(le(c))
195
+ } = f, S = (0, re.default)(f, dt), x = l !== void 0 ? l : (
196
+ // TODO v6: remove `Root` in the next major release
197
+ // For more details: https://github.com/mui/material-ui/pull/37908
198
+ c && c !== "Root" && c !== "root" || !1
199
+ ), i = b || !1;
200
+ let m;
201
+ process.env.NODE_ENV !== "production" && u && (m = `${u}-${le(c || "Root")}`);
202
+ let g = G;
203
+ c === "Root" || c === "root" ? g = n : c ? g = o : mt(s) && (g = void 0);
204
+ const w = (0, fe.default)(s, (0, O.default)({
205
+ shouldForwardProp: g,
206
+ label: m
207
+ }, S)), N = (y) => typeof y == "function" && y.__emotion_real !== y || (0, at.isPlainObject)(y) ? (M) => J(y, (0, O.default)({}, M, {
208
+ theme: B({
209
+ theme: M.theme,
210
+ defaultTheme: r,
211
+ themeId: t
212
+ })
213
+ })) : y, L = (y, ...M) => {
214
+ let Y = N(y);
215
+ const V = M ? M.map(N) : [];
216
+ u && d && V.push((v) => {
217
+ const E = B((0, O.default)({}, v, {
218
+ defaultTheme: r,
219
+ themeId: t
220
+ }));
221
+ if (!E.components || !E.components[u] || !E.components[u].styleOverrides)
222
+ return null;
223
+ const z = E.components[u].styleOverrides, H = {};
224
+ return Object.entries(z).forEach(([Te, Ce]) => {
225
+ H[Te] = J(Ce, (0, O.default)({}, v, {
226
+ theme: E
227
+ }));
228
+ }), d(v, H);
229
+ }), u && !x && V.push((v) => {
230
+ var E;
231
+ const z = B((0, O.default)({}, v, {
232
+ defaultTheme: r,
233
+ themeId: t
234
+ })), H = z == null || (E = z.components) == null || (E = E[u]) == null ? void 0 : E.variants;
235
+ return J({
236
+ variants: H
237
+ }, (0, O.default)({}, v, {
238
+ theme: z
239
+ }));
240
+ }), i || V.push(a);
241
+ const ie = V.length - M.length;
242
+ if (Array.isArray(y) && ie > 0) {
243
+ const v = new Array(ie).fill("");
244
+ Y = [...y, ...v], Y.raw = [...y.raw, ...v];
245
+ }
246
+ const Q = w(Y, ...V);
247
+ if (process.env.NODE_ENV !== "production") {
248
+ let v;
249
+ u && (v = `${u}${(0, st.default)(c || "")}`), v === void 0 && (v = `Styled(${(0, it.default)(s)})`), Q.displayName = v;
250
+ }
251
+ return s.muiName && (Q.muiName = s.muiName), Q;
252
+ };
253
+ return w.withConfig && (L.withConfig = w.withConfig), L;
254
+ };
255
+ }
256
+ const de = (e) => e, vt = () => {
257
+ let e = de;
258
+ return {
259
+ configure(t) {
260
+ e = t;
261
+ },
262
+ generate(t) {
263
+ return e(t);
264
+ },
265
+ reset() {
266
+ e = de;
267
+ }
268
+ };
269
+ }, _t = vt(), xt = {
270
+ active: "active",
271
+ checked: "checked",
272
+ completed: "completed",
273
+ disabled: "disabled",
274
+ error: "error",
275
+ expanded: "expanded",
276
+ focused: "focused",
277
+ focusVisible: "focusVisible",
278
+ open: "open",
279
+ readOnly: "readOnly",
280
+ required: "required",
281
+ selected: "selected"
282
+ };
283
+ function Ot(e, t, r = "Mui") {
284
+ const n = xt[t];
285
+ return n ? `${r}-${n}` : `${_t.generate(e)}-${t}`;
286
+ }
287
+ function $t(e, t) {
288
+ return _({
289
+ toolbar: {
290
+ minHeight: 56,
291
+ [e.up("xs")]: {
292
+ "@media (orientation: landscape)": {
293
+ minHeight: 48
294
+ }
295
+ },
296
+ [e.up("sm")]: {
297
+ minHeight: 64
298
+ }
299
+ }
300
+ }, t);
301
+ }
302
+ var h = {};
303
+ const St = /* @__PURE__ */ A(Be);
304
+ function Et(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
305
+ return Math.max(t, Math.min(e, r));
306
+ }
307
+ const Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
308
+ __proto__: null,
309
+ default: Et
310
+ }, Symbol.toStringTag, { value: "Module" })), wt = /* @__PURE__ */ A(Mt);
311
+ var Me = Se;
312
+ Object.defineProperty(h, "__esModule", {
313
+ value: !0
314
+ });
315
+ var gr = h.alpha = ke;
316
+ h.blend = zt;
317
+ h.colorChannel = void 0;
318
+ var At = h.darken = ae;
319
+ h.decomposeColor = $;
320
+ h.emphasize = je;
321
+ var pe = h.getContrastRatio = Dt;
322
+ h.getLuminance = X;
323
+ h.hexToRgb = we;
324
+ h.hslToRgb = Ne;
325
+ var Nt = h.lighten = se;
326
+ h.private_safeAlpha = Pt;
327
+ h.private_safeColorChannel = void 0;
328
+ h.private_safeDarken = Rt;
329
+ h.private_safeEmphasize = Vt;
330
+ h.private_safeLighten = It;
331
+ h.recomposeColor = I;
332
+ h.rgbToHex = Ct;
333
+ var he = Me(St), kt = Me(wt);
334
+ function oe(e, t = 0, r = 1) {
335
+ return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), (0, kt.default)(e, t, r);
336
+ }
337
+ function we(e) {
338
+ e = e.slice(1);
339
+ const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
340
+ let r = e.match(t);
341
+ return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
342
+ }
343
+ function jt(e) {
344
+ const t = e.toString(16);
345
+ return t.length === 1 ? `0${t}` : t;
346
+ }
347
+ function $(e) {
348
+ if (e.type)
349
+ return e;
350
+ if (e.charAt(0) === "#")
351
+ return $(we(e));
352
+ const t = e.indexOf("("), r = e.substring(0, t);
353
+ if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
354
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
355
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, he.default)(9, e));
356
+ let n = e.substring(t + 1, e.length - 1), o;
357
+ if (r === "color") {
358
+ if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
359
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
360
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, he.default)(10, o));
361
+ } else
362
+ n = n.split(",");
363
+ return n = n.map((a) => parseFloat(a)), {
364
+ type: r,
365
+ values: n,
366
+ colorSpace: o
367
+ };
368
+ }
369
+ const Ae = (e) => {
370
+ const t = $(e);
371
+ return t.values.slice(0, 3).map((r, n) => t.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
372
+ };
373
+ h.colorChannel = Ae;
374
+ const Tt = (e, t) => {
375
+ try {
376
+ return Ae(e);
377
+ } catch {
378
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
379
+ }
380
+ };
381
+ h.private_safeColorChannel = Tt;
382
+ function I(e) {
383
+ const {
384
+ type: t,
385
+ colorSpace: r
386
+ } = e;
387
+ let {
388
+ values: n
389
+ } = e;
390
+ return t.indexOf("rgb") !== -1 ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : 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})`;
391
+ }
392
+ function Ct(e) {
393
+ if (e.indexOf("#") === 0)
394
+ return e;
395
+ const {
396
+ values: t
397
+ } = $(e);
398
+ return `#${t.map((r, n) => jt(n === 3 ? Math.round(255 * r) : r)).join("")}`;
399
+ }
400
+ function Ne(e) {
401
+ e = $(e);
402
+ const {
403
+ values: t
404
+ } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o), s = (c, l = (c + r / 30) % 12) => o - a * Math.max(Math.min(l - 3, 9 - l, 1), -1);
405
+ let f = "rgb";
406
+ const u = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
407
+ return e.type === "hsla" && (f += "a", u.push(t[3])), I({
408
+ type: f,
409
+ values: u
410
+ });
411
+ }
412
+ function X(e) {
413
+ e = $(e);
414
+ let t = e.type === "hsl" || e.type === "hsla" ? $(Ne(e)).values : e.values;
415
+ 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));
416
+ }
417
+ function Dt(e, t) {
418
+ const r = X(e), n = X(t);
419
+ return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
420
+ }
421
+ function ke(e, t) {
422
+ return e = $(e), t = oe(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, I(e);
423
+ }
424
+ function Pt(e, t, r) {
425
+ try {
426
+ return ke(e, t);
427
+ } catch {
428
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
429
+ }
430
+ }
431
+ function ae(e, t) {
432
+ if (e = $(e), t = oe(t), e.type.indexOf("hsl") !== -1)
433
+ e.values[2] *= 1 - t;
434
+ else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
435
+ for (let r = 0; r < 3; r += 1)
436
+ e.values[r] *= 1 - t;
437
+ return I(e);
438
+ }
439
+ function Rt(e, t, r) {
440
+ try {
441
+ return ae(e, t);
442
+ } catch {
443
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
444
+ }
445
+ }
446
+ function se(e, t) {
447
+ if (e = $(e), t = oe(t), e.type.indexOf("hsl") !== -1)
448
+ e.values[2] += (100 - e.values[2]) * t;
449
+ else if (e.type.indexOf("rgb") !== -1)
450
+ for (let r = 0; r < 3; r += 1)
451
+ e.values[r] += (255 - e.values[r]) * t;
452
+ else if (e.type.indexOf("color") !== -1)
453
+ for (let r = 0; r < 3; r += 1)
454
+ e.values[r] += (1 - e.values[r]) * t;
455
+ return I(e);
456
+ }
457
+ function It(e, t, r) {
458
+ try {
459
+ return se(e, t);
460
+ } catch {
461
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
462
+ }
463
+ }
464
+ function je(e, t = 0.15) {
465
+ return X(e) > 0.5 ? ae(e, t) : se(e, t);
466
+ }
467
+ function Vt(e, t, r) {
468
+ try {
469
+ return je(e, t);
470
+ } catch {
471
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
472
+ }
473
+ }
474
+ function zt(e, t, r, n = 1) {
475
+ const o = (u, c) => Math.round((u ** (1 / n) * (1 - r) + c ** (1 / n) * r) ** n), a = $(e), s = $(t), f = [o(a.values[0], s.values[0]), o(a.values[1], s.values[1]), o(a.values[2], s.values[2])];
476
+ return I({
477
+ type: "rgb",
478
+ values: f
479
+ });
480
+ }
481
+ const q = {
482
+ black: "#000",
483
+ white: "#fff"
484
+ }, Ft = {
485
+ 50: "#fafafa",
486
+ 100: "#f5f5f5",
487
+ 200: "#eeeeee",
488
+ 300: "#e0e0e0",
489
+ 400: "#bdbdbd",
490
+ 500: "#9e9e9e",
491
+ 600: "#757575",
492
+ 700: "#616161",
493
+ 800: "#424242",
494
+ 900: "#212121",
495
+ A100: "#f5f5f5",
496
+ A200: "#eeeeee",
497
+ A400: "#bdbdbd",
498
+ A700: "#616161"
499
+ }, k = {
500
+ 50: "#f3e5f5",
501
+ 100: "#e1bee7",
502
+ 200: "#ce93d8",
503
+ 300: "#ba68c8",
504
+ 400: "#ab47bc",
505
+ 500: "#9c27b0",
506
+ 600: "#8e24aa",
507
+ 700: "#7b1fa2",
508
+ 800: "#6a1b9a",
509
+ 900: "#4a148c",
510
+ A100: "#ea80fc",
511
+ A200: "#e040fb",
512
+ A400: "#d500f9",
513
+ A700: "#aa00ff"
514
+ }, j = {
515
+ 50: "#ffebee",
516
+ 100: "#ffcdd2",
517
+ 200: "#ef9a9a",
518
+ 300: "#e57373",
519
+ 400: "#ef5350",
520
+ 500: "#f44336",
521
+ 600: "#e53935",
522
+ 700: "#d32f2f",
523
+ 800: "#c62828",
524
+ 900: "#b71c1c",
525
+ A100: "#ff8a80",
526
+ A200: "#ff5252",
527
+ A400: "#ff1744",
528
+ A700: "#d50000"
529
+ }, F = {
530
+ 50: "#fff3e0",
531
+ 100: "#ffe0b2",
532
+ 200: "#ffcc80",
533
+ 300: "#ffb74d",
534
+ 400: "#ffa726",
535
+ 500: "#ff9800",
536
+ 600: "#fb8c00",
537
+ 700: "#f57c00",
538
+ 800: "#ef6c00",
539
+ 900: "#e65100",
540
+ A100: "#ffd180",
541
+ A200: "#ffab40",
542
+ A400: "#ff9100",
543
+ A700: "#ff6d00"
544
+ }, T = {
545
+ 50: "#e3f2fd",
546
+ 100: "#bbdefb",
547
+ 200: "#90caf9",
548
+ 300: "#64b5f6",
549
+ 400: "#42a5f5",
550
+ 500: "#2196f3",
551
+ 600: "#1e88e5",
552
+ 700: "#1976d2",
553
+ 800: "#1565c0",
554
+ 900: "#0d47a1",
555
+ A100: "#82b1ff",
556
+ A200: "#448aff",
557
+ A400: "#2979ff",
558
+ A700: "#2962ff"
559
+ }, C = {
560
+ 50: "#e1f5fe",
561
+ 100: "#b3e5fc",
562
+ 200: "#81d4fa",
563
+ 300: "#4fc3f7",
564
+ 400: "#29b6f6",
565
+ 500: "#03a9f4",
566
+ 600: "#039be5",
567
+ 700: "#0288d1",
568
+ 800: "#0277bd",
569
+ 900: "#01579b",
570
+ A100: "#80d8ff",
571
+ A200: "#40c4ff",
572
+ A400: "#00b0ff",
573
+ A700: "#0091ea"
574
+ }, D = {
575
+ 50: "#e8f5e9",
576
+ 100: "#c8e6c9",
577
+ 200: "#a5d6a7",
578
+ 300: "#81c784",
579
+ 400: "#66bb6a",
580
+ 500: "#4caf50",
581
+ 600: "#43a047",
582
+ 700: "#388e3c",
583
+ 800: "#2e7d32",
584
+ 900: "#1b5e20",
585
+ A100: "#b9f6ca",
586
+ A200: "#69f0ae",
587
+ A400: "#00e676",
588
+ A700: "#00c853"
589
+ }, qt = ["mode", "contrastThreshold", "tonalOffset"], me = {
590
+ // The colors used to style the text.
591
+ text: {
592
+ // The most important text.
593
+ primary: "rgba(0, 0, 0, 0.87)",
594
+ // Secondary text.
595
+ secondary: "rgba(0, 0, 0, 0.6)",
596
+ // Disabled text have even lower visual prominence.
597
+ disabled: "rgba(0, 0, 0, 0.38)"
598
+ },
599
+ // The color used to divide different elements.
600
+ divider: "rgba(0, 0, 0, 0.12)",
601
+ // The background colors used to style the surfaces.
602
+ // Consistency between these values is important.
603
+ background: {
604
+ paper: q.white,
605
+ default: q.white
606
+ },
607
+ // The colors used to style the action elements.
608
+ action: {
609
+ // The color of an active action like an icon button.
610
+ active: "rgba(0, 0, 0, 0.54)",
611
+ // The color of an hovered action.
612
+ hover: "rgba(0, 0, 0, 0.04)",
613
+ hoverOpacity: 0.04,
614
+ // The color of a selected action.
615
+ selected: "rgba(0, 0, 0, 0.08)",
616
+ selectedOpacity: 0.08,
617
+ // The color of a disabled action.
618
+ disabled: "rgba(0, 0, 0, 0.26)",
619
+ // The background color of a disabled action.
620
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
621
+ disabledOpacity: 0.38,
622
+ focus: "rgba(0, 0, 0, 0.12)",
623
+ focusOpacity: 0.12,
624
+ activatedOpacity: 0.12
625
+ }
626
+ }, te = {
627
+ text: {
628
+ primary: q.white,
629
+ secondary: "rgba(255, 255, 255, 0.7)",
630
+ disabled: "rgba(255, 255, 255, 0.5)",
631
+ icon: "rgba(255, 255, 255, 0.5)"
632
+ },
633
+ divider: "rgba(255, 255, 255, 0.12)",
634
+ background: {
635
+ paper: "#121212",
636
+ default: "#121212"
637
+ },
638
+ action: {
639
+ active: q.white,
640
+ hover: "rgba(255, 255, 255, 0.08)",
641
+ hoverOpacity: 0.08,
642
+ selected: "rgba(255, 255, 255, 0.16)",
643
+ selectedOpacity: 0.16,
644
+ disabled: "rgba(255, 255, 255, 0.3)",
645
+ disabledBackground: "rgba(255, 255, 255, 0.12)",
646
+ disabledOpacity: 0.38,
647
+ focus: "rgba(255, 255, 255, 0.12)",
648
+ focusOpacity: 0.12,
649
+ activatedOpacity: 0.24
650
+ }
651
+ };
652
+ function ge(e, t, r, n) {
653
+ const o = n.light || n, a = n.dark || n * 1.5;
654
+ e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Nt(e.main, o) : t === "dark" && (e.dark = At(e.main, a)));
655
+ }
656
+ function Wt(e = "light") {
657
+ return e === "dark" ? {
658
+ main: T[200],
659
+ light: T[50],
660
+ dark: T[400]
661
+ } : {
662
+ main: T[700],
663
+ light: T[400],
664
+ dark: T[800]
665
+ };
666
+ }
667
+ function Ut(e = "light") {
668
+ return e === "dark" ? {
669
+ main: k[200],
670
+ light: k[50],
671
+ dark: k[400]
672
+ } : {
673
+ main: k[500],
674
+ light: k[300],
675
+ dark: k[700]
676
+ };
677
+ }
678
+ function Lt(e = "light") {
679
+ return e === "dark" ? {
680
+ main: j[500],
681
+ light: j[300],
682
+ dark: j[700]
683
+ } : {
684
+ main: j[700],
685
+ light: j[400],
686
+ dark: j[800]
687
+ };
688
+ }
689
+ function Ht(e = "light") {
690
+ return e === "dark" ? {
691
+ main: C[400],
692
+ light: C[300],
693
+ dark: C[700]
694
+ } : {
695
+ main: C[700],
696
+ light: C[500],
697
+ dark: C[900]
698
+ };
699
+ }
700
+ function Bt(e = "light") {
701
+ return e === "dark" ? {
702
+ main: D[400],
703
+ light: D[300],
704
+ dark: D[700]
705
+ } : {
706
+ main: D[800],
707
+ light: D[500],
708
+ dark: D[900]
709
+ };
710
+ }
711
+ function Gt(e = "light") {
712
+ return e === "dark" ? {
713
+ main: F[400],
714
+ light: F[300],
715
+ dark: F[700]
716
+ } : {
717
+ main: "#ed6c02",
718
+ // closest to orange[800] that pass 3:1.
719
+ light: F[500],
720
+ dark: F[900]
721
+ };
722
+ }
723
+ function Jt(e) {
724
+ const {
725
+ mode: t = "light",
726
+ contrastThreshold: r = 3,
727
+ tonalOffset: n = 0.2
728
+ } = e, o = W(e, qt), a = e.primary || Wt(t), s = e.secondary || Ut(t), f = e.error || Lt(t), u = e.info || Ht(t), c = e.success || Bt(t), l = e.warning || Gt(t);
729
+ function b(i) {
730
+ const m = pe(i, te.text.primary) >= r ? te.text.primary : me.text.primary;
731
+ if (process.env.NODE_ENV !== "production") {
732
+ const g = pe(i, m);
733
+ g < 3 && console.error([`MUI: The contrast ratio of ${g}:1 for ${m} on ${i}`, "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(`
734
+ `));
735
+ }
736
+ return m;
737
+ }
738
+ const d = ({
739
+ color: i,
740
+ name: m,
741
+ mainShade: g = 500,
742
+ lightShade: w = 300,
743
+ darkShade: N = 700
744
+ }) => {
745
+ if (i = _({}, i), !i.main && i[g] && (i.main = i[g]), !i.hasOwnProperty("main"))
746
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${m ? ` (${m})` : ""} provided to augmentColor(color) is invalid.
747
+ The color object needs to have a \`main\` property or a \`${g}\` property.` : K(11, m ? ` (${m})` : "", g));
748
+ if (typeof i.main != "string")
749
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${m ? ` (${m})` : ""} provided to augmentColor(color) is invalid.
750
+ \`color.main\` should be a string, but \`${JSON.stringify(i.main)}\` was provided instead.
751
+
752
+ Did you intend to use one of the following approaches?
753
+
754
+ import { green } from "@mui/material/colors";
755
+
756
+ const theme1 = createTheme({ palette: {
757
+ primary: green,
758
+ } });
759
+
760
+ const theme2 = createTheme({ palette: {
761
+ primary: { main: green[500] },
762
+ } });` : K(12, m ? ` (${m})` : "", JSON.stringify(i.main)));
763
+ return ge(i, "light", w, n), ge(i, "dark", N, n), i.contrastText || (i.contrastText = b(i.main)), i;
764
+ }, S = {
765
+ dark: te,
766
+ light: me
767
+ };
768
+ return process.env.NODE_ENV !== "production" && (S[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), P(_({
769
+ // A collection of common colors.
770
+ common: _({}, q),
771
+ // prevent mutable object.
772
+ // The palette mode, can be light or dark.
773
+ mode: t,
774
+ // The colors used to represent primary interface elements for a user.
775
+ primary: d({
776
+ color: a,
777
+ name: "primary"
778
+ }),
779
+ // The colors used to represent secondary interface elements for a user.
780
+ secondary: d({
781
+ color: s,
782
+ name: "secondary",
783
+ mainShade: "A400",
784
+ lightShade: "A200",
785
+ darkShade: "A700"
786
+ }),
787
+ // The colors used to represent interface elements that the user should be made aware of.
788
+ error: d({
789
+ color: f,
790
+ name: "error"
791
+ }),
792
+ // The colors used to represent potentially dangerous actions or important messages.
793
+ warning: d({
794
+ color: l,
795
+ name: "warning"
796
+ }),
797
+ // The colors used to present information to the user that is neutral and not necessarily important.
798
+ info: d({
799
+ color: u,
800
+ name: "info"
801
+ }),
802
+ // The colors used to indicate the successful completion of an action that user triggered.
803
+ success: d({
804
+ color: c,
805
+ name: "success"
806
+ }),
807
+ // The grey colors.
808
+ grey: Ft,
809
+ // Used by `getContrastText()` to maximize the contrast between
810
+ // the background and the text.
811
+ contrastThreshold: r,
812
+ // Takes a background color and returns the text color that maximizes the contrast.
813
+ getContrastText: b,
814
+ // Generate a rich color object.
815
+ augmentColor: d,
816
+ // Used by the functions below to shift a color's luminance by approximately
817
+ // two indexes within its tonal palette.
818
+ // E.g., shift from Red 500 to Red 300 or Red 700.
819
+ tonalOffset: n
820
+ }, S[t]), o);
821
+ }
822
+ const Kt = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
823
+ function Xt(e) {
824
+ return Math.round(e * 1e5) / 1e5;
825
+ }
826
+ const be = {
827
+ textTransform: "uppercase"
828
+ }, ye = '"Roboto", "Helvetica", "Arial", sans-serif';
829
+ function Yt(e, t) {
830
+ const r = typeof t == "function" ? t(e) : t, {
831
+ fontFamily: n = ye,
832
+ // The default font size of the Material Specification.
833
+ fontSize: o = 14,
834
+ // px
835
+ fontWeightLight: a = 300,
836
+ fontWeightRegular: s = 400,
837
+ fontWeightMedium: f = 500,
838
+ fontWeightBold: u = 700,
839
+ // Tell MUI what's the font-size on the html element.
840
+ // 16px is the default font-size used by browsers.
841
+ htmlFontSize: c = 16,
842
+ // Apply the CSS properties to all the variants.
843
+ allVariants: l,
844
+ pxToRem: b
845
+ } = r, d = W(r, Kt);
846
+ process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
847
+ const S = o / 14, x = b || ((g) => `${g / c * S}rem`), i = (g, w, N, L, y) => _({
848
+ fontFamily: n,
849
+ fontWeight: g,
850
+ fontSize: x(w),
851
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
852
+ lineHeight: N
853
+ }, n === ye ? {
854
+ letterSpacing: `${Xt(L / w)}em`
855
+ } : {}, y, l), m = {
856
+ h1: i(a, 96, 1.167, -1.5),
857
+ h2: i(a, 60, 1.2, -0.5),
858
+ h3: i(s, 48, 1.167, 0),
859
+ h4: i(s, 34, 1.235, 0.25),
860
+ h5: i(s, 24, 1.334, 0),
861
+ h6: i(f, 20, 1.6, 0.15),
862
+ subtitle1: i(s, 16, 1.75, 0.15),
863
+ subtitle2: i(f, 14, 1.57, 0.1),
864
+ body1: i(s, 16, 1.5, 0.15),
865
+ body2: i(s, 14, 1.43, 0.15),
866
+ button: i(f, 14, 1.75, 0.4, be),
867
+ caption: i(s, 12, 1.66, 0.4),
868
+ overline: i(s, 12, 2.66, 1, be),
869
+ // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
870
+ inherit: {
871
+ fontFamily: "inherit",
872
+ fontWeight: "inherit",
873
+ fontSize: "inherit",
874
+ lineHeight: "inherit",
875
+ letterSpacing: "inherit"
876
+ }
877
+ };
878
+ return P(_({
879
+ htmlFontSize: c,
880
+ pxToRem: x,
881
+ fontFamily: n,
882
+ fontSize: o,
883
+ fontWeightLight: a,
884
+ fontWeightRegular: s,
885
+ fontWeightMedium: f,
886
+ fontWeightBold: u
887
+ }, m), d, {
888
+ clone: !1
889
+ // No need to clone deep
890
+ });
891
+ }
892
+ const Qt = 0.2, Zt = 0.14, er = 0.12;
893
+ function p(...e) {
894
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Qt})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Zt})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${er})`].join(",");
895
+ }
896
+ const tr = ["none", p(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), p(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), p(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), p(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), p(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), p(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), p(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), p(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), p(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), p(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), p(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), p(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), p(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), p(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), p(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), p(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), p(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), p(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), p(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), p(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), p(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), p(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), p(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), p(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], rr = ["duration", "easing", "delay"], nr = {
897
+ // This is the most common easing curve.
898
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
899
+ // Objects enter the screen at full velocity from off-screen and
900
+ // slowly decelerate to a resting point.
901
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
902
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
903
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
904
+ // The sharp curve is used by objects that may return to the screen at any time.
905
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
906
+ }, or = {
907
+ shortest: 150,
908
+ shorter: 200,
909
+ short: 250,
910
+ // most basic recommended timing
911
+ standard: 300,
912
+ // this is to be used in complex animations
913
+ complex: 375,
914
+ // recommended when something is entering screen
915
+ enteringScreen: 225,
916
+ // recommended when something is leaving screen
917
+ leavingScreen: 195
918
+ };
919
+ function ve(e) {
920
+ return `${Math.round(e)}ms`;
921
+ }
922
+ function ar(e) {
923
+ if (!e)
924
+ return 0;
925
+ const t = e / 36;
926
+ return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
927
+ }
928
+ function sr(e) {
929
+ const t = _({}, nr, e.easing), r = _({}, or, e.duration);
930
+ return _({
931
+ getAutoHeightDuration: ar,
932
+ create: (o = ["all"], a = {}) => {
933
+ const {
934
+ duration: s = r.standard,
935
+ easing: f = t.easeInOut,
936
+ delay: u = 0
937
+ } = a, c = W(a, rr);
938
+ if (process.env.NODE_ENV !== "production") {
939
+ const l = (d) => typeof d == "string", b = (d) => !isNaN(parseFloat(d));
940
+ !l(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !b(s) && !l(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), l(f) || console.error('MUI: Argument "easing" must be a string.'), !b(u) && !l(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "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(`
941
+ `)), Object.keys(c).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(c).join(",")}].`);
942
+ }
943
+ return (Array.isArray(o) ? o : [o]).map((l) => `${l} ${typeof s == "string" ? s : ve(s)} ${f} ${typeof u == "string" ? u : ve(u)}`).join(",");
944
+ }
945
+ }, e, {
946
+ easing: t,
947
+ duration: r
948
+ });
949
+ }
950
+ const ir = {
951
+ mobileStepper: 1e3,
952
+ fab: 1050,
953
+ speedDial: 1050,
954
+ appBar: 1100,
955
+ drawer: 1200,
956
+ modal: 1300,
957
+ snackbar: 1400,
958
+ tooltip: 1500
959
+ }, ur = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
960
+ function cr(e = {}, ...t) {
961
+ const {
962
+ mixins: r = {},
963
+ palette: n = {},
964
+ transitions: o = {},
965
+ typography: a = {}
966
+ } = e, s = W(e, ur);
967
+ if (e.vars)
968
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : K(18));
969
+ const f = Jt(n), u = xe(e);
970
+ let c = P(u, {
971
+ mixins: $t(u.breakpoints, r),
972
+ palette: f,
973
+ // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
974
+ shadows: tr.slice(),
975
+ typography: Yt(f, a),
976
+ transitions: sr(o),
977
+ zIndex: _({}, ir)
978
+ });
979
+ if (c = P(c, s), c = t.reduce((l, b) => P(l, b), c), process.env.NODE_ENV !== "production") {
980
+ const l = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (d, S) => {
981
+ let x;
982
+ for (x in d) {
983
+ const i = d[x];
984
+ if (l.indexOf(x) !== -1 && Object.keys(i).length > 0) {
985
+ if (process.env.NODE_ENV !== "production") {
986
+ const m = Ot("", x);
987
+ console.error([`MUI: The \`${S}\` component increases the CSS specificity of the \`${x}\` internal state.`, "You can not override it like this: ", JSON.stringify(d, null, 2), "", `Instead, you need to use the '&.${m}' syntax:`, JSON.stringify({
988
+ root: {
989
+ [`&.${m}`]: i
990
+ }
991
+ }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
992
+ `));
993
+ }
994
+ d[x] = {};
995
+ }
996
+ }
997
+ };
998
+ Object.keys(c.components).forEach((d) => {
999
+ const S = c.components[d].styleOverrides;
1000
+ S && d.indexOf("Mui") === 0 && b(S, d);
1001
+ });
1002
+ }
1003
+ return c.unstable_sxConfig = _({}, ne, s == null ? void 0 : s.unstable_sxConfig), c.unstable_sx = function(b) {
1004
+ return Oe({
1005
+ sx: b,
1006
+ theme: this
1007
+ });
1008
+ }, c;
1009
+ }
1010
+ const fr = cr(), lr = "$$material";
1011
+ function dr(e) {
1012
+ return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
1013
+ }
1014
+ const pr = (e) => dr(e) && e !== "classes", br = ot({
1015
+ themeId: lr,
1016
+ defaultTheme: fr,
1017
+ rootShouldForwardProp: pr
1018
+ });
1019
+ export {
1020
+ _t as C,
1021
+ lr as T,
1022
+ gr as a,
1023
+ or as b,
1024
+ Et as c,
1025
+ fr as d,
1026
+ tt as e,
1027
+ cr as f,
1028
+ Ot as g,
1029
+ dr as h,
1030
+ Se as i,
1031
+ pr as r,
1032
+ br as s
1033
+ };