@fangzsx/component-library 0.0.11 → 0.0.13

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 (35) hide show
  1. package/dist/Box-DPlM16yK.js +30 -0
  2. package/dist/ButtonBase-qMhxbNdC.js +878 -0
  3. package/dist/FormLabel-DKoCtSGZ.js +600 -0
  4. package/dist/{Paper-CAUsv8qs.js → Paper-DyRh03We.js} +54 -51
  5. package/dist/SwitchBase-DStPyUhD.js +311 -0
  6. package/dist/Typography-B0rSrz7H.js +253 -0
  7. package/dist/components/AppBarPublic/index.js +83 -105
  8. package/dist/components/Button/index.js +1 -1
  9. package/dist/components/Checkbox/index.js +103 -607
  10. package/dist/components/CheckboxGroup/index.d.ts +17 -0
  11. package/dist/components/CheckboxGroup/index.js +68 -0
  12. package/dist/components/Dropdown/index.d.ts +22 -0
  13. package/dist/components/Dropdown/index.js +120 -0
  14. package/dist/components/LinearProgress/index.d.ts +3 -0
  15. package/dist/components/LinearProgress/index.js +19 -0
  16. package/dist/components/MediaCardWithAction/index.js +157 -436
  17. package/dist/components/RadioButtonGroup/index.d.ts +17 -0
  18. package/dist/components/RadioButtonGroup/index.js +836 -0
  19. package/dist/components/TextFieldInput/index.d.ts +15 -0
  20. package/dist/components/TextFieldInput/index.js +6578 -0
  21. package/dist/{createSvgIcon-DAI5icic.js → createSvgIcon-Dj0SJuc1.js} +8 -7
  22. package/dist/generateUtilityClasses-BCID9NF1.js +2806 -0
  23. package/dist/{index-DGepNtNg.js → index-CoBGCD2e.js} +143 -158
  24. package/dist/index-o1i1vy-V.js +73 -0
  25. package/dist/main.d.ts +5 -1
  26. package/dist/main.js +21 -13
  27. package/dist/mergeSlotProps-C-n2ing7.js +62 -0
  28. package/dist/useId-CK6Kn3Tn.js +21 -0
  29. package/dist/useSlot-S2pEBHE8.js +161 -0
  30. package/dist/useTimeout-BWi4JTOH.js +635 -0
  31. package/package.json +1 -1
  32. package/dist/ButtonBase-CAtBagnK.js +0 -4293
  33. package/dist/assets/index2.css +0 -1
  34. package/dist/components/Input/index.d.ts +0 -1
  35. package/dist/components/Input/index.js +0 -11
@@ -0,0 +1,2806 @@
1
+ import * as Wr from "react";
2
+ import { unstable_createGetCssVar as rt, createSpacing as tt } from "@mui/system";
3
+ const hr = (e) => e, nt = () => {
4
+ let e = hr;
5
+ return {
6
+ configure(r) {
7
+ e = r;
8
+ },
9
+ generate(r) {
10
+ return e(r);
11
+ },
12
+ reset() {
13
+ e = hr;
14
+ }
15
+ };
16
+ }, ot = nt();
17
+ function pe(e, ...r) {
18
+ const t = new URL(`https://mui.com/production-error/?code=${e}`);
19
+ return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
20
+ }
21
+ function Lr(e) {
22
+ if (typeof e != "string")
23
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : pe(7));
24
+ return e.charAt(0).toUpperCase() + e.slice(1);
25
+ }
26
+ function it(e) {
27
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
28
+ }
29
+ var Ie = { exports: {} }, Be = { exports: {} }, N = {};
30
+ var yr;
31
+ function at() {
32
+ if (yr) return N;
33
+ yr = 1;
34
+ var e = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), t = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.server_context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), h = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.offscreen"), S;
35
+ S = /* @__PURE__ */ Symbol.for("react.module.reference");
36
+ function C(u) {
37
+ if (typeof u == "object" && u !== null) {
38
+ var x = u.$$typeof;
39
+ switch (x) {
40
+ case e:
41
+ switch (u = u.type, u) {
42
+ case t:
43
+ case i:
44
+ case n:
45
+ case g:
46
+ case h:
47
+ return u;
48
+ default:
49
+ switch (u = u && u.$$typeof, u) {
50
+ case l:
51
+ case s:
52
+ case f:
53
+ case d:
54
+ case m:
55
+ case a:
56
+ return u;
57
+ default:
58
+ return x;
59
+ }
60
+ }
61
+ case r:
62
+ return x;
63
+ }
64
+ }
65
+ }
66
+ return N.ContextConsumer = s, N.ContextProvider = a, N.Element = e, N.ForwardRef = f, N.Fragment = t, N.Lazy = d, N.Memo = m, N.Portal = r, N.Profiler = i, N.StrictMode = n, N.Suspense = g, N.SuspenseList = h, N.isAsyncMode = function() {
67
+ return !1;
68
+ }, N.isConcurrentMode = function() {
69
+ return !1;
70
+ }, N.isContextConsumer = function(u) {
71
+ return C(u) === s;
72
+ }, N.isContextProvider = function(u) {
73
+ return C(u) === a;
74
+ }, N.isElement = function(u) {
75
+ return typeof u == "object" && u !== null && u.$$typeof === e;
76
+ }, N.isForwardRef = function(u) {
77
+ return C(u) === f;
78
+ }, N.isFragment = function(u) {
79
+ return C(u) === t;
80
+ }, N.isLazy = function(u) {
81
+ return C(u) === d;
82
+ }, N.isMemo = function(u) {
83
+ return C(u) === m;
84
+ }, N.isPortal = function(u) {
85
+ return C(u) === r;
86
+ }, N.isProfiler = function(u) {
87
+ return C(u) === i;
88
+ }, N.isStrictMode = function(u) {
89
+ return C(u) === n;
90
+ }, N.isSuspense = function(u) {
91
+ return C(u) === g;
92
+ }, N.isSuspenseList = function(u) {
93
+ return C(u) === h;
94
+ }, N.isValidElementType = function(u) {
95
+ return typeof u == "string" || typeof u == "function" || u === t || u === i || u === n || u === g || u === h || u === v || typeof u == "object" && u !== null && (u.$$typeof === d || u.$$typeof === m || u.$$typeof === a || u.$$typeof === s || u.$$typeof === f || u.$$typeof === S || u.getModuleId !== void 0);
96
+ }, N.typeOf = C, N;
97
+ }
98
+ var M = {};
99
+ var br;
100
+ function st() {
101
+ return br || (br = 1, process.env.NODE_ENV !== "production" && (function() {
102
+ var e = /* @__PURE__ */ Symbol.for("react.element"), r = /* @__PURE__ */ Symbol.for("react.portal"), t = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), i = /* @__PURE__ */ Symbol.for("react.profiler"), a = /* @__PURE__ */ Symbol.for("react.provider"), s = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.server_context"), f = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), h = /* @__PURE__ */ Symbol.for("react.suspense_list"), m = /* @__PURE__ */ Symbol.for("react.memo"), d = /* @__PURE__ */ Symbol.for("react.lazy"), v = /* @__PURE__ */ Symbol.for("react.offscreen"), S = !1, C = !1, u = !1, x = !1, U = !1, H;
103
+ H = /* @__PURE__ */ Symbol.for("react.module.reference");
104
+ function $(T) {
105
+ return !!(typeof T == "string" || typeof T == "function" || T === t || T === i || U || T === n || T === g || T === h || x || T === v || S || C || u || typeof T == "object" && T !== null && (T.$$typeof === d || T.$$typeof === m || T.$$typeof === a || T.$$typeof === s || T.$$typeof === f || // This needs to include all possible module reference object
106
+ // types supported by any Flight configuration anywhere since
107
+ // we don't know which Flight build this will end up being used
108
+ // with.
109
+ T.$$typeof === H || T.getModuleId !== void 0));
110
+ }
111
+ function j(T) {
112
+ if (typeof T == "object" && T !== null) {
113
+ var Xe = T.$$typeof;
114
+ switch (Xe) {
115
+ case e:
116
+ var Re = T.type;
117
+ switch (Re) {
118
+ case t:
119
+ case i:
120
+ case n:
121
+ case g:
122
+ case h:
123
+ return Re;
124
+ default:
125
+ var mr = Re && Re.$$typeof;
126
+ switch (mr) {
127
+ case l:
128
+ case s:
129
+ case f:
130
+ case d:
131
+ case m:
132
+ case a:
133
+ return mr;
134
+ default:
135
+ return Xe;
136
+ }
137
+ }
138
+ case r:
139
+ return Xe;
140
+ }
141
+ }
142
+ }
143
+ var w = s, ie = a, ce = e, X = f, J = t, Y = d, o = m, E = r, y = i, D = n, V = g, Z = h, ae = !1, Pe = !1;
144
+ function p(T) {
145
+ return ae || (ae = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
146
+ }
147
+ function b(T) {
148
+ return Pe || (Pe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
149
+ }
150
+ function P(T) {
151
+ return j(T) === s;
152
+ }
153
+ function A(T) {
154
+ return j(T) === a;
155
+ }
156
+ function O(T) {
157
+ return typeof T == "object" && T !== null && T.$$typeof === e;
158
+ }
159
+ function R(T) {
160
+ return j(T) === f;
161
+ }
162
+ function k(T) {
163
+ return j(T) === t;
164
+ }
165
+ function _(T) {
166
+ return j(T) === d;
167
+ }
168
+ function I(T) {
169
+ return j(T) === m;
170
+ }
171
+ function W(T) {
172
+ return j(T) === r;
173
+ }
174
+ function B(T) {
175
+ return j(T) === i;
176
+ }
177
+ function ee(T) {
178
+ return j(T) === n;
179
+ }
180
+ function Q(T) {
181
+ return j(T) === g;
182
+ }
183
+ function fe(T) {
184
+ return j(T) === h;
185
+ }
186
+ M.ContextConsumer = w, M.ContextProvider = ie, M.Element = ce, M.ForwardRef = X, M.Fragment = J, M.Lazy = Y, M.Memo = o, M.Portal = E, M.Profiler = y, M.StrictMode = D, M.Suspense = V, M.SuspenseList = Z, M.isAsyncMode = p, M.isConcurrentMode = b, M.isContextConsumer = P, M.isContextProvider = A, M.isElement = O, M.isForwardRef = R, M.isFragment = k, M.isLazy = _, M.isMemo = I, M.isPortal = W, M.isProfiler = B, M.isStrictMode = ee, M.isSuspense = Q, M.isSuspenseList = fe, M.isValidElementType = $, M.typeOf = j;
187
+ })()), M;
188
+ }
189
+ var vr;
190
+ function lr() {
191
+ return vr || (vr = 1, process.env.NODE_ENV === "production" ? Be.exports = at() : Be.exports = st()), Be.exports;
192
+ }
193
+ var Je, Sr;
194
+ function ct() {
195
+ if (Sr) return Je;
196
+ Sr = 1;
197
+ var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
198
+ function n(a) {
199
+ if (a == null)
200
+ throw new TypeError("Object.assign cannot be called with null or undefined");
201
+ return Object(a);
202
+ }
203
+ function i() {
204
+ try {
205
+ if (!Object.assign)
206
+ return !1;
207
+ var a = new String("abc");
208
+ if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
209
+ return !1;
210
+ for (var s = {}, l = 0; l < 10; l++)
211
+ s["_" + String.fromCharCode(l)] = l;
212
+ var f = Object.getOwnPropertyNames(s).map(function(h) {
213
+ return s[h];
214
+ });
215
+ if (f.join("") !== "0123456789")
216
+ return !1;
217
+ var g = {};
218
+ return "abcdefghijklmnopqrst".split("").forEach(function(h) {
219
+ g[h] = h;
220
+ }), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
221
+ } catch {
222
+ return !1;
223
+ }
224
+ }
225
+ return Je = i() ? Object.assign : function(a, s) {
226
+ for (var l, f = n(a), g, h = 1; h < arguments.length; h++) {
227
+ l = Object(arguments[h]);
228
+ for (var m in l)
229
+ r.call(l, m) && (f[m] = l[m]);
230
+ if (e) {
231
+ g = e(l);
232
+ for (var d = 0; d < g.length; d++)
233
+ t.call(l, g[d]) && (f[g[d]] = l[g[d]]);
234
+ }
235
+ }
236
+ return f;
237
+ }, Je;
238
+ }
239
+ var Ze, Cr;
240
+ function ur() {
241
+ if (Cr) return Ze;
242
+ Cr = 1;
243
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
244
+ return Ze = e, Ze;
245
+ }
246
+ var er, Tr;
247
+ function Fr() {
248
+ return Tr || (Tr = 1, er = Function.call.bind(Object.prototype.hasOwnProperty)), er;
249
+ }
250
+ var rr, Er;
251
+ function lt() {
252
+ if (Er) return rr;
253
+ Er = 1;
254
+ var e = function() {
255
+ };
256
+ if (process.env.NODE_ENV !== "production") {
257
+ var r = /* @__PURE__ */ ur(), t = {}, n = /* @__PURE__ */ Fr();
258
+ e = function(a) {
259
+ var s = "Warning: " + a;
260
+ typeof console < "u" && console.error(s);
261
+ try {
262
+ throw new Error(s);
263
+ } catch {
264
+ }
265
+ };
266
+ }
267
+ function i(a, s, l, f, g) {
268
+ if (process.env.NODE_ENV !== "production") {
269
+ for (var h in a)
270
+ if (n(a, h)) {
271
+ var m;
272
+ try {
273
+ if (typeof a[h] != "function") {
274
+ var d = Error(
275
+ (f || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
276
+ );
277
+ throw d.name = "Invariant Violation", d;
278
+ }
279
+ m = a[h](s, h, f, l, null, r);
280
+ } catch (S) {
281
+ m = S;
282
+ }
283
+ if (m && !(m instanceof Error) && e(
284
+ (f || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
285
+ ), m instanceof Error && !(m.message in t)) {
286
+ t[m.message] = !0;
287
+ var v = g ? g() : "";
288
+ e(
289
+ "Failed " + l + " type: " + m.message + (v ?? "")
290
+ );
291
+ }
292
+ }
293
+ }
294
+ }
295
+ return i.resetWarningCache = function() {
296
+ process.env.NODE_ENV !== "production" && (t = {});
297
+ }, rr = i, rr;
298
+ }
299
+ var tr, $r;
300
+ function ut() {
301
+ if ($r) return tr;
302
+ $r = 1;
303
+ var e = lr(), r = ct(), t = /* @__PURE__ */ ur(), n = /* @__PURE__ */ Fr(), i = /* @__PURE__ */ lt(), a = function() {
304
+ };
305
+ process.env.NODE_ENV !== "production" && (a = function(l) {
306
+ var f = "Warning: " + l;
307
+ typeof console < "u" && console.error(f);
308
+ try {
309
+ throw new Error(f);
310
+ } catch {
311
+ }
312
+ });
313
+ function s() {
314
+ return null;
315
+ }
316
+ return tr = function(l, f) {
317
+ var g = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
318
+ function m(p) {
319
+ var b = p && (g && p[g] || p[h]);
320
+ if (typeof b == "function")
321
+ return b;
322
+ }
323
+ var d = "<<anonymous>>", v = {
324
+ array: x("array"),
325
+ bigint: x("bigint"),
326
+ bool: x("boolean"),
327
+ func: x("function"),
328
+ number: x("number"),
329
+ object: x("object"),
330
+ string: x("string"),
331
+ symbol: x("symbol"),
332
+ any: U(),
333
+ arrayOf: H,
334
+ element: $(),
335
+ elementType: j(),
336
+ instanceOf: w,
337
+ node: J(),
338
+ objectOf: ce,
339
+ oneOf: ie,
340
+ oneOfType: X,
341
+ shape: o,
342
+ exact: E
343
+ };
344
+ function S(p, b) {
345
+ return p === b ? p !== 0 || 1 / p === 1 / b : p !== p && b !== b;
346
+ }
347
+ function C(p, b) {
348
+ this.message = p, this.data = b && typeof b == "object" ? b : {}, this.stack = "";
349
+ }
350
+ C.prototype = Error.prototype;
351
+ function u(p) {
352
+ if (process.env.NODE_ENV !== "production")
353
+ var b = {}, P = 0;
354
+ function A(R, k, _, I, W, B, ee) {
355
+ if (I = I || d, B = B || _, ee !== t) {
356
+ if (f) {
357
+ var Q = new Error(
358
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
359
+ );
360
+ throw Q.name = "Invariant Violation", Q;
361
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
362
+ var fe = I + ":" + _;
363
+ !b[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
364
+ P < 3 && (a(
365
+ "You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + I + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
366
+ ), b[fe] = !0, P++);
367
+ }
368
+ }
369
+ return k[_] == null ? R ? k[_] === null ? new C("The " + W + " `" + B + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new C("The " + W + " `" + B + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : p(k, _, I, W, B);
370
+ }
371
+ var O = A.bind(null, !1);
372
+ return O.isRequired = A.bind(null, !0), O;
373
+ }
374
+ function x(p) {
375
+ function b(P, A, O, R, k, _) {
376
+ var I = P[A], W = V(I);
377
+ if (W !== p) {
378
+ var B = Z(I);
379
+ return new C(
380
+ "Invalid " + R + " `" + k + "` of type " + ("`" + B + "` supplied to `" + O + "`, expected ") + ("`" + p + "`."),
381
+ { expectedType: p }
382
+ );
383
+ }
384
+ return null;
385
+ }
386
+ return u(b);
387
+ }
388
+ function U() {
389
+ return u(s);
390
+ }
391
+ function H(p) {
392
+ function b(P, A, O, R, k) {
393
+ if (typeof p != "function")
394
+ return new C("Property `" + k + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
395
+ var _ = P[A];
396
+ if (!Array.isArray(_)) {
397
+ var I = V(_);
398
+ return new C("Invalid " + R + " `" + k + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected an array."));
399
+ }
400
+ for (var W = 0; W < _.length; W++) {
401
+ var B = p(_, W, O, R, k + "[" + W + "]", t);
402
+ if (B instanceof Error)
403
+ return B;
404
+ }
405
+ return null;
406
+ }
407
+ return u(b);
408
+ }
409
+ function $() {
410
+ function p(b, P, A, O, R) {
411
+ var k = b[P];
412
+ if (!l(k)) {
413
+ var _ = V(k);
414
+ return new C("Invalid " + O + " `" + R + "` of type " + ("`" + _ + "` supplied to `" + A + "`, expected a single ReactElement."));
415
+ }
416
+ return null;
417
+ }
418
+ return u(p);
419
+ }
420
+ function j() {
421
+ function p(b, P, A, O, R) {
422
+ var k = b[P];
423
+ if (!e.isValidElementType(k)) {
424
+ var _ = V(k);
425
+ return new C("Invalid " + O + " `" + R + "` of type " + ("`" + _ + "` supplied to `" + A + "`, expected a single ReactElement type."));
426
+ }
427
+ return null;
428
+ }
429
+ return u(p);
430
+ }
431
+ function w(p) {
432
+ function b(P, A, O, R, k) {
433
+ if (!(P[A] instanceof p)) {
434
+ var _ = p.name || d, I = Pe(P[A]);
435
+ return new C("Invalid " + R + " `" + k + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected ") + ("instance of `" + _ + "`."));
436
+ }
437
+ return null;
438
+ }
439
+ return u(b);
440
+ }
441
+ function ie(p) {
442
+ if (!Array.isArray(p))
443
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
444
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
445
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), s;
446
+ function b(P, A, O, R, k) {
447
+ for (var _ = P[A], I = 0; I < p.length; I++)
448
+ if (S(_, p[I]))
449
+ return null;
450
+ var W = JSON.stringify(p, function(ee, Q) {
451
+ var fe = Z(Q);
452
+ return fe === "symbol" ? String(Q) : Q;
453
+ });
454
+ return new C("Invalid " + R + " `" + k + "` of value `" + String(_) + "` " + ("supplied to `" + O + "`, expected one of " + W + "."));
455
+ }
456
+ return u(b);
457
+ }
458
+ function ce(p) {
459
+ function b(P, A, O, R, k) {
460
+ if (typeof p != "function")
461
+ return new C("Property `" + k + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
462
+ var _ = P[A], I = V(_);
463
+ if (I !== "object")
464
+ return new C("Invalid " + R + " `" + k + "` of type " + ("`" + I + "` supplied to `" + O + "`, expected an object."));
465
+ for (var W in _)
466
+ if (n(_, W)) {
467
+ var B = p(_, W, O, R, k + "." + W, t);
468
+ if (B instanceof Error)
469
+ return B;
470
+ }
471
+ return null;
472
+ }
473
+ return u(b);
474
+ }
475
+ function X(p) {
476
+ if (!Array.isArray(p))
477
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), s;
478
+ for (var b = 0; b < p.length; b++) {
479
+ var P = p[b];
480
+ if (typeof P != "function")
481
+ return a(
482
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(P) + " at index " + b + "."
483
+ ), s;
484
+ }
485
+ function A(O, R, k, _, I) {
486
+ for (var W = [], B = 0; B < p.length; B++) {
487
+ var ee = p[B], Q = ee(O, R, k, _, I, t);
488
+ if (Q == null)
489
+ return null;
490
+ Q.data && n(Q.data, "expectedType") && W.push(Q.data.expectedType);
491
+ }
492
+ var fe = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
493
+ return new C("Invalid " + _ + " `" + I + "` supplied to " + ("`" + k + "`" + fe + "."));
494
+ }
495
+ return u(A);
496
+ }
497
+ function J() {
498
+ function p(b, P, A, O, R) {
499
+ return y(b[P]) ? null : new C("Invalid " + O + " `" + R + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
500
+ }
501
+ return u(p);
502
+ }
503
+ function Y(p, b, P, A, O) {
504
+ return new C(
505
+ (p || "React class") + ": " + b + " type `" + P + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
506
+ );
507
+ }
508
+ function o(p) {
509
+ function b(P, A, O, R, k) {
510
+ var _ = P[A], I = V(_);
511
+ if (I !== "object")
512
+ return new C("Invalid " + R + " `" + k + "` of type `" + I + "` " + ("supplied to `" + O + "`, expected `object`."));
513
+ for (var W in p) {
514
+ var B = p[W];
515
+ if (typeof B != "function")
516
+ return Y(O, R, k, W, Z(B));
517
+ var ee = B(_, W, O, R, k + "." + W, t);
518
+ if (ee)
519
+ return ee;
520
+ }
521
+ return null;
522
+ }
523
+ return u(b);
524
+ }
525
+ function E(p) {
526
+ function b(P, A, O, R, k) {
527
+ var _ = P[A], I = V(_);
528
+ if (I !== "object")
529
+ return new C("Invalid " + R + " `" + k + "` of type `" + I + "` " + ("supplied to `" + O + "`, expected `object`."));
530
+ var W = r({}, P[A], p);
531
+ for (var B in W) {
532
+ var ee = p[B];
533
+ if (n(p, B) && typeof ee != "function")
534
+ return Y(O, R, k, B, Z(ee));
535
+ if (!ee)
536
+ return new C(
537
+ "Invalid " + R + " `" + k + "` key `" + B + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(P[A], null, " ") + `
538
+ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
539
+ );
540
+ var Q = ee(_, B, O, R, k + "." + B, t);
541
+ if (Q)
542
+ return Q;
543
+ }
544
+ return null;
545
+ }
546
+ return u(b);
547
+ }
548
+ function y(p) {
549
+ switch (typeof p) {
550
+ case "number":
551
+ case "string":
552
+ case "undefined":
553
+ return !0;
554
+ case "boolean":
555
+ return !p;
556
+ case "object":
557
+ if (Array.isArray(p))
558
+ return p.every(y);
559
+ if (p === null || l(p))
560
+ return !0;
561
+ var b = m(p);
562
+ if (b) {
563
+ var P = b.call(p), A;
564
+ if (b !== p.entries) {
565
+ for (; !(A = P.next()).done; )
566
+ if (!y(A.value))
567
+ return !1;
568
+ } else
569
+ for (; !(A = P.next()).done; ) {
570
+ var O = A.value;
571
+ if (O && !y(O[1]))
572
+ return !1;
573
+ }
574
+ } else
575
+ return !1;
576
+ return !0;
577
+ default:
578
+ return !1;
579
+ }
580
+ }
581
+ function D(p, b) {
582
+ return p === "symbol" ? !0 : b ? b["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && b instanceof Symbol : !1;
583
+ }
584
+ function V(p) {
585
+ var b = typeof p;
586
+ return Array.isArray(p) ? "array" : p instanceof RegExp ? "object" : D(b, p) ? "symbol" : b;
587
+ }
588
+ function Z(p) {
589
+ if (typeof p > "u" || p === null)
590
+ return "" + p;
591
+ var b = V(p);
592
+ if (b === "object") {
593
+ if (p instanceof Date)
594
+ return "date";
595
+ if (p instanceof RegExp)
596
+ return "regexp";
597
+ }
598
+ return b;
599
+ }
600
+ function ae(p) {
601
+ var b = Z(p);
602
+ switch (b) {
603
+ case "array":
604
+ case "object":
605
+ return "an " + b;
606
+ case "boolean":
607
+ case "date":
608
+ case "regexp":
609
+ return "a " + b;
610
+ default:
611
+ return b;
612
+ }
613
+ }
614
+ function Pe(p) {
615
+ return !p.constructor || !p.constructor.name ? d : p.constructor.name;
616
+ }
617
+ return v.checkPropTypes = i, v.resetWarningCache = i.resetWarningCache, v.PropTypes = v, v;
618
+ }, tr;
619
+ }
620
+ var nr, wr;
621
+ function ft() {
622
+ if (wr) return nr;
623
+ wr = 1;
624
+ var e = /* @__PURE__ */ ur();
625
+ function r() {
626
+ }
627
+ function t() {
628
+ }
629
+ return t.resetWarningCache = r, nr = function() {
630
+ function n(s, l, f, g, h, m) {
631
+ if (m !== e) {
632
+ var d = new Error(
633
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
634
+ );
635
+ throw d.name = "Invariant Violation", d;
636
+ }
637
+ }
638
+ n.isRequired = n;
639
+ function i() {
640
+ return n;
641
+ }
642
+ var a = {
643
+ array: n,
644
+ bigint: n,
645
+ bool: n,
646
+ func: n,
647
+ number: n,
648
+ object: n,
649
+ string: n,
650
+ symbol: n,
651
+ any: n,
652
+ arrayOf: i,
653
+ element: n,
654
+ elementType: n,
655
+ instanceOf: i,
656
+ node: n,
657
+ objectOf: i,
658
+ oneOf: i,
659
+ oneOfType: i,
660
+ shape: i,
661
+ exact: i,
662
+ checkPropTypes: t,
663
+ resetWarningCache: r
664
+ };
665
+ return a.PropTypes = a, a;
666
+ }, nr;
667
+ }
668
+ var Or;
669
+ function dt() {
670
+ if (Or) return Ie.exports;
671
+ if (Or = 1, process.env.NODE_ENV !== "production") {
672
+ var e = lr(), r = !0;
673
+ Ie.exports = /* @__PURE__ */ ut()(e.isElement, r);
674
+ } else
675
+ Ie.exports = /* @__PURE__ */ ft()();
676
+ return Ie.exports;
677
+ }
678
+ var pt = /* @__PURE__ */ dt();
679
+ const Ee = /* @__PURE__ */ it(pt);
680
+ var Ur = lr();
681
+ function de(e) {
682
+ if (typeof e != "object" || e === null)
683
+ return !1;
684
+ const r = Object.getPrototypeOf(e);
685
+ return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
686
+ }
687
+ function zr(e) {
688
+ if (/* @__PURE__ */ Wr.isValidElement(e) || Ur.isValidElementType(e) || !de(e))
689
+ return e;
690
+ const r = {};
691
+ return Object.keys(e).forEach((t) => {
692
+ r[t] = zr(e[t]);
693
+ }), r;
694
+ }
695
+ function te(e, r, t = {
696
+ clone: !0
697
+ }) {
698
+ const n = t.clone ? {
699
+ ...e
700
+ } : e;
701
+ return de(e) && de(r) && Object.keys(r).forEach((i) => {
702
+ /* @__PURE__ */ Wr.isValidElement(r[i]) || Ur.isValidElementType(r[i]) ? n[i] = r[i] : de(r[i]) && // Avoid prototype pollution
703
+ Object.prototype.hasOwnProperty.call(e, i) && de(e[i]) ? n[i] = te(e[i], r[i], t) : t.clone ? n[i] = de(r[i]) ? zr(r[i]) : r[i] : n[i] = r[i];
704
+ }), n;
705
+ }
706
+ function xe(e, r) {
707
+ return r ? te(e, r, {
708
+ clone: !1
709
+ // No need to clone deep, it's way faster.
710
+ }) : e;
711
+ }
712
+ const me = process.env.NODE_ENV !== "production" ? Ee.oneOfType([Ee.number, Ee.string, Ee.object, Ee.array]) : {};
713
+ function xr(e, r) {
714
+ if (!e.containerQueries)
715
+ return r;
716
+ const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, i) => {
717
+ const a = /min-width:\s*([0-9.]+)/;
718
+ return +(n.match(a)?.[1] || 0) - +(i.match(a)?.[1] || 0);
719
+ });
720
+ return t.length ? t.reduce((n, i) => {
721
+ const a = r[i];
722
+ return delete n[i], n[i] = a, n;
723
+ }, {
724
+ ...r
725
+ }) : r;
726
+ }
727
+ function gt(e, r) {
728
+ return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
729
+ }
730
+ function mt(e, r) {
731
+ const t = r.match(/^@([^/]+)?\/?(.+)?$/);
732
+ if (!t) {
733
+ if (process.env.NODE_ENV !== "production")
734
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
735
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : pe(18, `(${r})`));
736
+ return null;
737
+ }
738
+ const [, n, i] = t, a = Number.isNaN(+n) ? n || 0 : +n;
739
+ return e.containerQueries(i).up(a);
740
+ }
741
+ function ht(e) {
742
+ const r = (a, s) => a.replace("@media", s ? `@container ${s}` : "@container");
743
+ function t(a, s) {
744
+ a.up = (...l) => r(e.breakpoints.up(...l), s), a.down = (...l) => r(e.breakpoints.down(...l), s), a.between = (...l) => r(e.breakpoints.between(...l), s), a.only = (...l) => r(e.breakpoints.only(...l), s), a.not = (...l) => {
745
+ const f = r(e.breakpoints.not(...l), s);
746
+ return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
747
+ };
748
+ }
749
+ const n = {}, i = (a) => (t(n, a), n);
750
+ return t(i), {
751
+ ...e,
752
+ containerQueries: i
753
+ };
754
+ }
755
+ const Ne = {
756
+ xs: 0,
757
+ // phone
758
+ sm: 600,
759
+ // tablet
760
+ md: 900,
761
+ // small laptop
762
+ lg: 1200,
763
+ // desktop
764
+ xl: 1536
765
+ // large screen
766
+ }, kr = {
767
+ // Sorted ASC by size. That's important.
768
+ // It can't be configured as it's used statically for propTypes.
769
+ keys: ["xs", "sm", "md", "lg", "xl"],
770
+ up: (e) => `@media (min-width:${Ne[e]}px)`
771
+ }, yt = {
772
+ containerQueries: (e) => ({
773
+ up: (r) => {
774
+ let t = typeof r == "number" ? r : Ne[r] || r;
775
+ return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
776
+ }
777
+ })
778
+ };
779
+ function ue(e, r, t) {
780
+ const n = e.theme || {};
781
+ if (Array.isArray(r)) {
782
+ const a = n.breakpoints || kr;
783
+ return r.reduce((s, l, f) => (s[a.up(a.keys[f])] = t(r[f]), s), {});
784
+ }
785
+ if (typeof r == "object") {
786
+ const a = n.breakpoints || kr;
787
+ return Object.keys(r).reduce((s, l) => {
788
+ if (gt(a.keys, l)) {
789
+ const f = mt(n.containerQueries ? n : yt, l);
790
+ f && (s[f] = t(r[l], l));
791
+ } else if (Object.keys(a.values || Ne).includes(l)) {
792
+ const f = a.up(l);
793
+ s[f] = t(r[l], l);
794
+ } else {
795
+ const f = l;
796
+ s[f] = r[f];
797
+ }
798
+ return s;
799
+ }, {});
800
+ }
801
+ return t(r);
802
+ }
803
+ function bt(e = {}) {
804
+ return e.keys?.reduce((t, n) => {
805
+ const i = e.up(n);
806
+ return t[i] = {}, t;
807
+ }, {}) || {};
808
+ }
809
+ function Ar(e, r) {
810
+ return e.reduce((t, n) => {
811
+ const i = t[n];
812
+ return (!i || Object.keys(i).length === 0) && delete t[n], t;
813
+ }, r);
814
+ }
815
+ function Me(e, r, t = !0) {
816
+ if (!r || typeof r != "string")
817
+ return null;
818
+ if (e && e.vars && t) {
819
+ const n = `vars.${r}`.split(".").reduce((i, a) => i && i[a] ? i[a] : null, e);
820
+ if (n != null)
821
+ return n;
822
+ }
823
+ return r.split(".").reduce((n, i) => n && n[i] != null ? n[i] : null, e);
824
+ }
825
+ function De(e, r, t, n = t) {
826
+ let i;
827
+ return typeof e == "function" ? i = e(t) : Array.isArray(e) ? i = e[t] || n : i = Me(e, t) || n, r && (i = r(i, n, e)), i;
828
+ }
829
+ function K(e) {
830
+ const {
831
+ prop: r,
832
+ cssProperty: t = e.prop,
833
+ themeKey: n,
834
+ transform: i
835
+ } = e, a = (s) => {
836
+ if (s[r] == null)
837
+ return null;
838
+ const l = s[r], f = s.theme, g = Me(f, n) || {};
839
+ return ue(s, l, (m) => {
840
+ let d = De(g, i, m);
841
+ return m === d && typeof m == "string" && (d = De(g, i, `${r}${m === "default" ? "" : Lr(m)}`, m)), t === !1 ? d : {
842
+ [t]: d
843
+ };
844
+ });
845
+ };
846
+ return a.propTypes = process.env.NODE_ENV !== "production" ? {
847
+ [r]: me
848
+ } : {}, a.filterProps = [r], a;
849
+ }
850
+ function vt(e) {
851
+ const r = {};
852
+ return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
853
+ }
854
+ const St = {
855
+ m: "margin",
856
+ p: "padding"
857
+ }, Ct = {
858
+ t: "Top",
859
+ r: "Right",
860
+ b: "Bottom",
861
+ l: "Left",
862
+ x: ["Left", "Right"],
863
+ y: ["Top", "Bottom"]
864
+ }, _r = {
865
+ marginX: "mx",
866
+ marginY: "my",
867
+ paddingX: "px",
868
+ paddingY: "py"
869
+ }, Tt = vt((e) => {
870
+ if (e.length > 2)
871
+ if (_r[e])
872
+ e = _r[e];
873
+ else
874
+ return [e];
875
+ const [r, t] = e.split(""), n = St[r], i = Ct[t] || "";
876
+ return Array.isArray(i) ? i.map((a) => n + a) : [n + i];
877
+ }), Ve = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Et = [...Ve, ...We];
878
+ function Ae(e, r, t, n) {
879
+ const i = Me(e, r, !0) ?? t;
880
+ return typeof i == "number" || typeof i == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof i == "string" ? i.startsWith("var(") && a === 0 ? 0 : i.startsWith("var(") && a === 1 ? i : `calc(${a} * ${i})` : i * a) : Array.isArray(i) ? (a) => {
881
+ if (typeof a == "string")
882
+ return a;
883
+ const s = Math.abs(a);
884
+ process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
885
+ `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
886
+ `)));
887
+ const l = i[s];
888
+ return a >= 0 ? l : typeof l == "number" ? -l : typeof l == "string" && l.startsWith("var(") ? `calc(-1 * ${l})` : `-${l}`;
889
+ } : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
890
+ `)), () => {
891
+ });
892
+ }
893
+ function fr(e) {
894
+ return Ae(e, "spacing", 8, "spacing");
895
+ }
896
+ function _e(e, r) {
897
+ return typeof r == "string" || r == null ? r : e(r);
898
+ }
899
+ function $t(e, r) {
900
+ return (t) => e.reduce((n, i) => (n[i] = _e(r, t), n), {});
901
+ }
902
+ function wt(e, r, t, n) {
903
+ if (!r.includes(t))
904
+ return null;
905
+ const i = Tt(t), a = $t(i, n), s = e[t];
906
+ return ue(e, s, a);
907
+ }
908
+ function Gr(e, r) {
909
+ const t = fr(e.theme);
910
+ return Object.keys(e).map((n) => wt(e, r, n, t)).reduce(xe, {});
911
+ }
912
+ function G(e) {
913
+ return Gr(e, Ve);
914
+ }
915
+ G.propTypes = process.env.NODE_ENV !== "production" ? Ve.reduce((e, r) => (e[r] = me, e), {}) : {};
916
+ G.filterProps = Ve;
917
+ function q(e) {
918
+ return Gr(e, We);
919
+ }
920
+ q.propTypes = process.env.NODE_ENV !== "production" ? We.reduce((e, r) => (e[r] = me, e), {}) : {};
921
+ q.filterProps = We;
922
+ process.env.NODE_ENV !== "production" && Et.reduce((e, r) => (e[r] = me, e), {});
923
+ function Le(...e) {
924
+ const r = e.reduce((n, i) => (i.filterProps.forEach((a) => {
925
+ n[a] = i;
926
+ }), n), {}), t = (n) => Object.keys(n).reduce((i, a) => r[a] ? xe(i, r[a](n)) : i, {});
927
+ return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, i) => Object.assign(n, i.propTypes), {}) : {}, t.filterProps = e.reduce((n, i) => n.concat(i.filterProps), []), t;
928
+ }
929
+ function ne(e) {
930
+ return typeof e != "number" ? e : `${e}px solid`;
931
+ }
932
+ function oe(e, r) {
933
+ return K({
934
+ prop: e,
935
+ themeKey: "borders",
936
+ transform: r
937
+ });
938
+ }
939
+ const Ot = oe("border", ne), xt = oe("borderTop", ne), kt = oe("borderRight", ne), At = oe("borderBottom", ne), _t = oe("borderLeft", ne), Pt = oe("borderColor"), Rt = oe("borderTopColor"), It = oe("borderRightColor"), Bt = oe("borderBottomColor"), jt = oe("borderLeftColor"), Dt = oe("outline", ne), Nt = oe("outlineColor"), Fe = (e) => {
940
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
941
+ const r = Ae(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
942
+ borderRadius: _e(r, n)
943
+ });
944
+ return ue(e, e.borderRadius, t);
945
+ }
946
+ return null;
947
+ };
948
+ Fe.propTypes = process.env.NODE_ENV !== "production" ? {
949
+ borderRadius: me
950
+ } : {};
951
+ Fe.filterProps = ["borderRadius"];
952
+ Le(Ot, xt, kt, At, _t, Pt, Rt, It, Bt, jt, Fe, Dt, Nt);
953
+ const Ue = (e) => {
954
+ if (e.gap !== void 0 && e.gap !== null) {
955
+ const r = Ae(e.theme, "spacing", 8, "gap"), t = (n) => ({
956
+ gap: _e(r, n)
957
+ });
958
+ return ue(e, e.gap, t);
959
+ }
960
+ return null;
961
+ };
962
+ Ue.propTypes = process.env.NODE_ENV !== "production" ? {
963
+ gap: me
964
+ } : {};
965
+ Ue.filterProps = ["gap"];
966
+ const ze = (e) => {
967
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
968
+ const r = Ae(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
969
+ columnGap: _e(r, n)
970
+ });
971
+ return ue(e, e.columnGap, t);
972
+ }
973
+ return null;
974
+ };
975
+ ze.propTypes = process.env.NODE_ENV !== "production" ? {
976
+ columnGap: me
977
+ } : {};
978
+ ze.filterProps = ["columnGap"];
979
+ const Ge = (e) => {
980
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
981
+ const r = Ae(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
982
+ rowGap: _e(r, n)
983
+ });
984
+ return ue(e, e.rowGap, t);
985
+ }
986
+ return null;
987
+ };
988
+ Ge.propTypes = process.env.NODE_ENV !== "production" ? {
989
+ rowGap: me
990
+ } : {};
991
+ Ge.filterProps = ["rowGap"];
992
+ const Mt = K({
993
+ prop: "gridColumn"
994
+ }), Vt = K({
995
+ prop: "gridRow"
996
+ }), Wt = K({
997
+ prop: "gridAutoFlow"
998
+ }), Lt = K({
999
+ prop: "gridAutoColumns"
1000
+ }), Ft = K({
1001
+ prop: "gridAutoRows"
1002
+ }), Ut = K({
1003
+ prop: "gridTemplateColumns"
1004
+ }), zt = K({
1005
+ prop: "gridTemplateRows"
1006
+ }), Gt = K({
1007
+ prop: "gridTemplateAreas"
1008
+ }), qt = K({
1009
+ prop: "gridArea"
1010
+ });
1011
+ Le(Ue, ze, Ge, Mt, Vt, Wt, Lt, Ft, Ut, zt, Gt, qt);
1012
+ function Te(e, r) {
1013
+ return r === "grey" ? r : e;
1014
+ }
1015
+ const Kt = K({
1016
+ prop: "color",
1017
+ themeKey: "palette",
1018
+ transform: Te
1019
+ }), Yt = K({
1020
+ prop: "bgcolor",
1021
+ cssProperty: "backgroundColor",
1022
+ themeKey: "palette",
1023
+ transform: Te
1024
+ }), Ht = K({
1025
+ prop: "backgroundColor",
1026
+ themeKey: "palette",
1027
+ transform: Te
1028
+ });
1029
+ Le(Kt, Yt, Ht);
1030
+ function re(e) {
1031
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1032
+ }
1033
+ const Qt = K({
1034
+ prop: "width",
1035
+ transform: re
1036
+ }), dr = (e) => {
1037
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1038
+ const r = (t) => {
1039
+ const n = e.theme?.breakpoints?.values?.[t] || Ne[t];
1040
+ return n ? e.theme?.breakpoints?.unit !== "px" ? {
1041
+ maxWidth: `${n}${e.theme.breakpoints.unit}`
1042
+ } : {
1043
+ maxWidth: n
1044
+ } : {
1045
+ maxWidth: re(t)
1046
+ };
1047
+ };
1048
+ return ue(e, e.maxWidth, r);
1049
+ }
1050
+ return null;
1051
+ };
1052
+ dr.filterProps = ["maxWidth"];
1053
+ const Xt = K({
1054
+ prop: "minWidth",
1055
+ transform: re
1056
+ }), Jt = K({
1057
+ prop: "height",
1058
+ transform: re
1059
+ }), Zt = K({
1060
+ prop: "maxHeight",
1061
+ transform: re
1062
+ }), en = K({
1063
+ prop: "minHeight",
1064
+ transform: re
1065
+ });
1066
+ K({
1067
+ prop: "size",
1068
+ cssProperty: "width",
1069
+ transform: re
1070
+ });
1071
+ K({
1072
+ prop: "size",
1073
+ cssProperty: "height",
1074
+ transform: re
1075
+ });
1076
+ const rn = K({
1077
+ prop: "boxSizing"
1078
+ });
1079
+ Le(Qt, dr, Xt, Jt, Zt, en, rn);
1080
+ const qe = {
1081
+ // borders
1082
+ border: {
1083
+ themeKey: "borders",
1084
+ transform: ne
1085
+ },
1086
+ borderTop: {
1087
+ themeKey: "borders",
1088
+ transform: ne
1089
+ },
1090
+ borderRight: {
1091
+ themeKey: "borders",
1092
+ transform: ne
1093
+ },
1094
+ borderBottom: {
1095
+ themeKey: "borders",
1096
+ transform: ne
1097
+ },
1098
+ borderLeft: {
1099
+ themeKey: "borders",
1100
+ transform: ne
1101
+ },
1102
+ borderColor: {
1103
+ themeKey: "palette"
1104
+ },
1105
+ borderTopColor: {
1106
+ themeKey: "palette"
1107
+ },
1108
+ borderRightColor: {
1109
+ themeKey: "palette"
1110
+ },
1111
+ borderBottomColor: {
1112
+ themeKey: "palette"
1113
+ },
1114
+ borderLeftColor: {
1115
+ themeKey: "palette"
1116
+ },
1117
+ outline: {
1118
+ themeKey: "borders",
1119
+ transform: ne
1120
+ },
1121
+ outlineColor: {
1122
+ themeKey: "palette"
1123
+ },
1124
+ borderRadius: {
1125
+ themeKey: "shape.borderRadius",
1126
+ style: Fe
1127
+ },
1128
+ // palette
1129
+ color: {
1130
+ themeKey: "palette",
1131
+ transform: Te
1132
+ },
1133
+ bgcolor: {
1134
+ themeKey: "palette",
1135
+ cssProperty: "backgroundColor",
1136
+ transform: Te
1137
+ },
1138
+ backgroundColor: {
1139
+ themeKey: "palette",
1140
+ transform: Te
1141
+ },
1142
+ // spacing
1143
+ p: {
1144
+ style: q
1145
+ },
1146
+ pt: {
1147
+ style: q
1148
+ },
1149
+ pr: {
1150
+ style: q
1151
+ },
1152
+ pb: {
1153
+ style: q
1154
+ },
1155
+ pl: {
1156
+ style: q
1157
+ },
1158
+ px: {
1159
+ style: q
1160
+ },
1161
+ py: {
1162
+ style: q
1163
+ },
1164
+ padding: {
1165
+ style: q
1166
+ },
1167
+ paddingTop: {
1168
+ style: q
1169
+ },
1170
+ paddingRight: {
1171
+ style: q
1172
+ },
1173
+ paddingBottom: {
1174
+ style: q
1175
+ },
1176
+ paddingLeft: {
1177
+ style: q
1178
+ },
1179
+ paddingX: {
1180
+ style: q
1181
+ },
1182
+ paddingY: {
1183
+ style: q
1184
+ },
1185
+ paddingInline: {
1186
+ style: q
1187
+ },
1188
+ paddingInlineStart: {
1189
+ style: q
1190
+ },
1191
+ paddingInlineEnd: {
1192
+ style: q
1193
+ },
1194
+ paddingBlock: {
1195
+ style: q
1196
+ },
1197
+ paddingBlockStart: {
1198
+ style: q
1199
+ },
1200
+ paddingBlockEnd: {
1201
+ style: q
1202
+ },
1203
+ m: {
1204
+ style: G
1205
+ },
1206
+ mt: {
1207
+ style: G
1208
+ },
1209
+ mr: {
1210
+ style: G
1211
+ },
1212
+ mb: {
1213
+ style: G
1214
+ },
1215
+ ml: {
1216
+ style: G
1217
+ },
1218
+ mx: {
1219
+ style: G
1220
+ },
1221
+ my: {
1222
+ style: G
1223
+ },
1224
+ margin: {
1225
+ style: G
1226
+ },
1227
+ marginTop: {
1228
+ style: G
1229
+ },
1230
+ marginRight: {
1231
+ style: G
1232
+ },
1233
+ marginBottom: {
1234
+ style: G
1235
+ },
1236
+ marginLeft: {
1237
+ style: G
1238
+ },
1239
+ marginX: {
1240
+ style: G
1241
+ },
1242
+ marginY: {
1243
+ style: G
1244
+ },
1245
+ marginInline: {
1246
+ style: G
1247
+ },
1248
+ marginInlineStart: {
1249
+ style: G
1250
+ },
1251
+ marginInlineEnd: {
1252
+ style: G
1253
+ },
1254
+ marginBlock: {
1255
+ style: G
1256
+ },
1257
+ marginBlockStart: {
1258
+ style: G
1259
+ },
1260
+ marginBlockEnd: {
1261
+ style: G
1262
+ },
1263
+ // display
1264
+ displayPrint: {
1265
+ cssProperty: !1,
1266
+ transform: (e) => ({
1267
+ "@media print": {
1268
+ display: e
1269
+ }
1270
+ })
1271
+ },
1272
+ display: {},
1273
+ overflow: {},
1274
+ textOverflow: {},
1275
+ visibility: {},
1276
+ whiteSpace: {},
1277
+ // flexbox
1278
+ flexBasis: {},
1279
+ flexDirection: {},
1280
+ flexWrap: {},
1281
+ justifyContent: {},
1282
+ alignItems: {},
1283
+ alignContent: {},
1284
+ order: {},
1285
+ flex: {},
1286
+ flexGrow: {},
1287
+ flexShrink: {},
1288
+ alignSelf: {},
1289
+ justifyItems: {},
1290
+ justifySelf: {},
1291
+ // grid
1292
+ gap: {
1293
+ style: Ue
1294
+ },
1295
+ rowGap: {
1296
+ style: Ge
1297
+ },
1298
+ columnGap: {
1299
+ style: ze
1300
+ },
1301
+ gridColumn: {},
1302
+ gridRow: {},
1303
+ gridAutoFlow: {},
1304
+ gridAutoColumns: {},
1305
+ gridAutoRows: {},
1306
+ gridTemplateColumns: {},
1307
+ gridTemplateRows: {},
1308
+ gridTemplateAreas: {},
1309
+ gridArea: {},
1310
+ // positions
1311
+ position: {},
1312
+ zIndex: {
1313
+ themeKey: "zIndex"
1314
+ },
1315
+ top: {},
1316
+ right: {},
1317
+ bottom: {},
1318
+ left: {},
1319
+ // shadows
1320
+ boxShadow: {
1321
+ themeKey: "shadows"
1322
+ },
1323
+ // sizing
1324
+ width: {
1325
+ transform: re
1326
+ },
1327
+ maxWidth: {
1328
+ style: dr
1329
+ },
1330
+ minWidth: {
1331
+ transform: re
1332
+ },
1333
+ height: {
1334
+ transform: re
1335
+ },
1336
+ maxHeight: {
1337
+ transform: re
1338
+ },
1339
+ minHeight: {
1340
+ transform: re
1341
+ },
1342
+ boxSizing: {},
1343
+ // typography
1344
+ font: {
1345
+ themeKey: "font"
1346
+ },
1347
+ fontFamily: {
1348
+ themeKey: "typography"
1349
+ },
1350
+ fontSize: {
1351
+ themeKey: "typography"
1352
+ },
1353
+ fontStyle: {
1354
+ themeKey: "typography"
1355
+ },
1356
+ fontWeight: {
1357
+ themeKey: "typography"
1358
+ },
1359
+ letterSpacing: {},
1360
+ textTransform: {},
1361
+ lineHeight: {},
1362
+ textAlign: {},
1363
+ typography: {
1364
+ cssProperty: !1,
1365
+ themeKey: "typography"
1366
+ }
1367
+ };
1368
+ function tn(...e) {
1369
+ const r = e.reduce((n, i) => n.concat(Object.keys(i)), []), t = new Set(r);
1370
+ return e.every((n) => t.size === Object.keys(n).length);
1371
+ }
1372
+ function nn(e, r) {
1373
+ return typeof e == "function" ? e(r) : e;
1374
+ }
1375
+ function on() {
1376
+ function e(t, n, i, a) {
1377
+ const s = {
1378
+ [t]: n,
1379
+ theme: i
1380
+ }, l = a[t];
1381
+ if (!l)
1382
+ return {
1383
+ [t]: n
1384
+ };
1385
+ const {
1386
+ cssProperty: f = t,
1387
+ themeKey: g,
1388
+ transform: h,
1389
+ style: m
1390
+ } = l;
1391
+ if (n == null)
1392
+ return null;
1393
+ if (g === "typography" && n === "inherit")
1394
+ return {
1395
+ [t]: n
1396
+ };
1397
+ const d = Me(i, g) || {};
1398
+ return m ? m(s) : ue(s, n, (S) => {
1399
+ let C = De(d, h, S);
1400
+ return S === C && typeof S == "string" && (C = De(d, h, `${t}${S === "default" ? "" : Lr(S)}`, S)), f === !1 ? C : {
1401
+ [f]: C
1402
+ };
1403
+ });
1404
+ }
1405
+ function r(t) {
1406
+ const {
1407
+ sx: n,
1408
+ theme: i = {},
1409
+ nested: a
1410
+ } = t || {};
1411
+ if (!n)
1412
+ return null;
1413
+ const s = i.unstable_sxConfig ?? qe;
1414
+ function l(f) {
1415
+ let g = f;
1416
+ if (typeof f == "function")
1417
+ g = f(i);
1418
+ else if (typeof f != "object")
1419
+ return f;
1420
+ if (!g)
1421
+ return null;
1422
+ const h = bt(i.breakpoints), m = Object.keys(h);
1423
+ let d = h;
1424
+ return Object.keys(g).forEach((v) => {
1425
+ const S = nn(g[v], i);
1426
+ if (S != null)
1427
+ if (typeof S == "object")
1428
+ if (s[v])
1429
+ d = xe(d, e(v, S, i, s));
1430
+ else {
1431
+ const C = ue({
1432
+ theme: i
1433
+ }, S, (u) => ({
1434
+ [v]: u
1435
+ }));
1436
+ tn(C, S) ? d[v] = r({
1437
+ sx: S,
1438
+ theme: i,
1439
+ nested: !0
1440
+ }) : d = xe(d, C);
1441
+ }
1442
+ else
1443
+ d = xe(d, e(v, S, i, s));
1444
+ }), !a && i.modularCssLayers ? {
1445
+ "@layer sx": xr(i, Ar(m, d))
1446
+ } : xr(i, Ar(m, d));
1447
+ }
1448
+ return Array.isArray(n) ? n.map(l) : l(n);
1449
+ }
1450
+ return r;
1451
+ }
1452
+ const Ke = on();
1453
+ Ke.filterProps = ["sx"];
1454
+ function an(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
1455
+ return Math.max(r, Math.min(e, t));
1456
+ }
1457
+ function pr(e, r = 0, t = 1) {
1458
+ return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), an(e, r, t);
1459
+ }
1460
+ function sn(e) {
1461
+ e = e.slice(1);
1462
+ const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1463
+ let t = e.match(r);
1464
+ return t && t[0].length === 1 && (t = t.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1465
+ }
1466
+ function ge(e) {
1467
+ if (e.type)
1468
+ return e;
1469
+ if (e.charAt(0) === "#")
1470
+ return ge(sn(e));
1471
+ const r = e.indexOf("("), t = e.substring(0, r);
1472
+ if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
1473
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1474
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : pe(9, e));
1475
+ let n = e.substring(r + 1, e.length - 1), i;
1476
+ if (t === "color") {
1477
+ 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"].includes(i))
1478
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
1479
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : pe(10, i));
1480
+ } else
1481
+ n = n.split(",");
1482
+ return n = n.map((a) => parseFloat(a)), {
1483
+ type: t,
1484
+ values: n,
1485
+ colorSpace: i
1486
+ };
1487
+ }
1488
+ const cn = (e) => {
1489
+ const r = ge(e);
1490
+ return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
1491
+ }, we = (e, r) => {
1492
+ try {
1493
+ return cn(e);
1494
+ } catch {
1495
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1496
+ }
1497
+ };
1498
+ function Ye(e) {
1499
+ const {
1500
+ type: r,
1501
+ colorSpace: t
1502
+ } = e;
1503
+ let {
1504
+ values: n
1505
+ } = e;
1506
+ return r.includes("rgb") ? n = n.map((i, a) => a < 3 ? parseInt(i, 10) : i) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
1507
+ }
1508
+ function qr(e) {
1509
+ e = ge(e);
1510
+ const {
1511
+ values: r
1512
+ } = e, t = r[0], n = r[1] / 100, i = r[2] / 100, a = n * Math.min(i, 1 - i), s = (g, h = (g + t / 30) % 12) => i - a * Math.max(Math.min(h - 3, 9 - h, 1), -1);
1513
+ let l = "rgb";
1514
+ const f = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
1515
+ return e.type === "hsla" && (l += "a", f.push(r[3])), Ye({
1516
+ type: l,
1517
+ values: f
1518
+ });
1519
+ }
1520
+ function ar(e) {
1521
+ e = ge(e);
1522
+ let r = e.type === "hsl" || e.type === "hsla" ? ge(qr(e)).values : e.values;
1523
+ return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
1524
+ }
1525
+ function Pr(e, r) {
1526
+ const t = ar(e), n = ar(r);
1527
+ return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
1528
+ }
1529
+ function Kr(e, r) {
1530
+ return e = ge(e), r = pr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Ye(e);
1531
+ }
1532
+ function he(e, r, t) {
1533
+ try {
1534
+ return Kr(e, r);
1535
+ } catch {
1536
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1537
+ }
1538
+ }
1539
+ function He(e, r) {
1540
+ if (e = ge(e), r = pr(r), e.type.includes("hsl"))
1541
+ e.values[2] *= 1 - r;
1542
+ else if (e.type.includes("rgb") || e.type.includes("color"))
1543
+ for (let t = 0; t < 3; t += 1)
1544
+ e.values[t] *= 1 - r;
1545
+ return Ye(e);
1546
+ }
1547
+ function L(e, r, t) {
1548
+ try {
1549
+ return He(e, r);
1550
+ } catch {
1551
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1552
+ }
1553
+ }
1554
+ function Qe(e, r) {
1555
+ if (e = ge(e), r = pr(r), e.type.includes("hsl"))
1556
+ e.values[2] += (100 - e.values[2]) * r;
1557
+ else if (e.type.includes("rgb"))
1558
+ for (let t = 0; t < 3; t += 1)
1559
+ e.values[t] += (255 - e.values[t]) * r;
1560
+ else if (e.type.includes("color"))
1561
+ for (let t = 0; t < 3; t += 1)
1562
+ e.values[t] += (1 - e.values[t]) * r;
1563
+ return Ye(e);
1564
+ }
1565
+ function F(e, r, t) {
1566
+ try {
1567
+ return Qe(e, r);
1568
+ } catch {
1569
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1570
+ }
1571
+ }
1572
+ function ln(e, r = 0.15) {
1573
+ return ar(e) > 0.5 ? He(e, r) : Qe(e, r);
1574
+ }
1575
+ function je(e, r, t) {
1576
+ try {
1577
+ return ln(e, r);
1578
+ } catch {
1579
+ return e;
1580
+ }
1581
+ }
1582
+ const ke = {
1583
+ black: "#000",
1584
+ white: "#fff"
1585
+ }, un = {
1586
+ 50: "#fafafa",
1587
+ 100: "#f5f5f5",
1588
+ 200: "#eeeeee",
1589
+ 300: "#e0e0e0",
1590
+ 400: "#bdbdbd",
1591
+ 500: "#9e9e9e",
1592
+ 600: "#757575",
1593
+ 700: "#616161",
1594
+ 800: "#424242",
1595
+ 900: "#212121",
1596
+ A100: "#f5f5f5",
1597
+ A200: "#eeeeee",
1598
+ A400: "#bdbdbd",
1599
+ A700: "#616161"
1600
+ }, ye = {
1601
+ 50: "#f3e5f5",
1602
+ 200: "#ce93d8",
1603
+ 300: "#ba68c8",
1604
+ 400: "#ab47bc",
1605
+ 500: "#9c27b0",
1606
+ 700: "#7b1fa2"
1607
+ }, be = {
1608
+ 300: "#e57373",
1609
+ 400: "#ef5350",
1610
+ 500: "#f44336",
1611
+ 700: "#d32f2f",
1612
+ 800: "#c62828"
1613
+ }, $e = {
1614
+ 300: "#ffb74d",
1615
+ 400: "#ffa726",
1616
+ 500: "#ff9800",
1617
+ 700: "#f57c00",
1618
+ 900: "#e65100"
1619
+ }, ve = {
1620
+ 50: "#e3f2fd",
1621
+ 200: "#90caf9",
1622
+ 400: "#42a5f5",
1623
+ 700: "#1976d2",
1624
+ 800: "#1565c0"
1625
+ }, Se = {
1626
+ 300: "#4fc3f7",
1627
+ 400: "#29b6f6",
1628
+ 500: "#03a9f4",
1629
+ 700: "#0288d1",
1630
+ 900: "#01579b"
1631
+ }, Ce = {
1632
+ 300: "#81c784",
1633
+ 400: "#66bb6a",
1634
+ 500: "#4caf50",
1635
+ 700: "#388e3c",
1636
+ 800: "#2e7d32",
1637
+ 900: "#1b5e20"
1638
+ };
1639
+ function Yr() {
1640
+ return {
1641
+ // The colors used to style the text.
1642
+ text: {
1643
+ // The most important text.
1644
+ primary: "rgba(0, 0, 0, 0.87)",
1645
+ // Secondary text.
1646
+ secondary: "rgba(0, 0, 0, 0.6)",
1647
+ // Disabled text have even lower visual prominence.
1648
+ disabled: "rgba(0, 0, 0, 0.38)"
1649
+ },
1650
+ // The color used to divide different elements.
1651
+ divider: "rgba(0, 0, 0, 0.12)",
1652
+ // The background colors used to style the surfaces.
1653
+ // Consistency between these values is important.
1654
+ background: {
1655
+ paper: ke.white,
1656
+ default: ke.white
1657
+ },
1658
+ // The colors used to style the action elements.
1659
+ action: {
1660
+ // The color of an active action like an icon button.
1661
+ active: "rgba(0, 0, 0, 0.54)",
1662
+ // The color of an hovered action.
1663
+ hover: "rgba(0, 0, 0, 0.04)",
1664
+ hoverOpacity: 0.04,
1665
+ // The color of a selected action.
1666
+ selected: "rgba(0, 0, 0, 0.08)",
1667
+ selectedOpacity: 0.08,
1668
+ // The color of a disabled action.
1669
+ disabled: "rgba(0, 0, 0, 0.26)",
1670
+ // The background color of a disabled action.
1671
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
1672
+ disabledOpacity: 0.38,
1673
+ focus: "rgba(0, 0, 0, 0.12)",
1674
+ focusOpacity: 0.12,
1675
+ activatedOpacity: 0.12
1676
+ }
1677
+ };
1678
+ }
1679
+ const Hr = Yr();
1680
+ function Qr() {
1681
+ return {
1682
+ text: {
1683
+ primary: ke.white,
1684
+ secondary: "rgba(255, 255, 255, 0.7)",
1685
+ disabled: "rgba(255, 255, 255, 0.5)",
1686
+ icon: "rgba(255, 255, 255, 0.5)"
1687
+ },
1688
+ divider: "rgba(255, 255, 255, 0.12)",
1689
+ background: {
1690
+ paper: "#121212",
1691
+ default: "#121212"
1692
+ },
1693
+ action: {
1694
+ active: ke.white,
1695
+ hover: "rgba(255, 255, 255, 0.08)",
1696
+ hoverOpacity: 0.08,
1697
+ selected: "rgba(255, 255, 255, 0.16)",
1698
+ selectedOpacity: 0.16,
1699
+ disabled: "rgba(255, 255, 255, 0.3)",
1700
+ disabledBackground: "rgba(255, 255, 255, 0.12)",
1701
+ disabledOpacity: 0.38,
1702
+ focus: "rgba(255, 255, 255, 0.12)",
1703
+ focusOpacity: 0.12,
1704
+ activatedOpacity: 0.24
1705
+ }
1706
+ };
1707
+ }
1708
+ const sr = Qr();
1709
+ function Rr(e, r, t, n) {
1710
+ const i = n.light || n, a = n.dark || n * 1.5;
1711
+ e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = Qe(e.main, i) : r === "dark" && (e.dark = He(e.main, a)));
1712
+ }
1713
+ function Ir(e, r, t, n, i) {
1714
+ const a = i.light || i, s = i.dark || i * 1.5;
1715
+ r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(a * 100).toFixed(0)}%)` : t === "dark" && (r.dark = `color-mix(in ${e}, ${r.main}, #000 ${(s * 100).toFixed(0)}%)`));
1716
+ }
1717
+ function fn(e = "light") {
1718
+ return e === "dark" ? {
1719
+ main: ve[200],
1720
+ light: ve[50],
1721
+ dark: ve[400]
1722
+ } : {
1723
+ main: ve[700],
1724
+ light: ve[400],
1725
+ dark: ve[800]
1726
+ };
1727
+ }
1728
+ function dn(e = "light") {
1729
+ return e === "dark" ? {
1730
+ main: ye[200],
1731
+ light: ye[50],
1732
+ dark: ye[400]
1733
+ } : {
1734
+ main: ye[500],
1735
+ light: ye[300],
1736
+ dark: ye[700]
1737
+ };
1738
+ }
1739
+ function pn(e = "light") {
1740
+ return e === "dark" ? {
1741
+ main: be[500],
1742
+ light: be[300],
1743
+ dark: be[700]
1744
+ } : {
1745
+ main: be[700],
1746
+ light: be[400],
1747
+ dark: be[800]
1748
+ };
1749
+ }
1750
+ function gn(e = "light") {
1751
+ return e === "dark" ? {
1752
+ main: Se[400],
1753
+ light: Se[300],
1754
+ dark: Se[700]
1755
+ } : {
1756
+ main: Se[700],
1757
+ light: Se[500],
1758
+ dark: Se[900]
1759
+ };
1760
+ }
1761
+ function mn(e = "light") {
1762
+ return e === "dark" ? {
1763
+ main: Ce[400],
1764
+ light: Ce[300],
1765
+ dark: Ce[700]
1766
+ } : {
1767
+ main: Ce[800],
1768
+ light: Ce[500],
1769
+ dark: Ce[900]
1770
+ };
1771
+ }
1772
+ function hn(e = "light") {
1773
+ return e === "dark" ? {
1774
+ main: $e[400],
1775
+ light: $e[300],
1776
+ dark: $e[700]
1777
+ } : {
1778
+ main: "#ed6c02",
1779
+ // closest to orange[800] that pass 3:1.
1780
+ light: $e[500],
1781
+ dark: $e[900]
1782
+ };
1783
+ }
1784
+ function yn(e) {
1785
+ return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
1786
+ }
1787
+ function gr(e) {
1788
+ const {
1789
+ mode: r = "light",
1790
+ contrastThreshold: t = 3,
1791
+ tonalOffset: n = 0.2,
1792
+ colorSpace: i,
1793
+ ...a
1794
+ } = e, s = e.primary || fn(r), l = e.secondary || dn(r), f = e.error || pn(r), g = e.info || gn(r), h = e.success || mn(r), m = e.warning || hn(r);
1795
+ function d(u) {
1796
+ if (i)
1797
+ return yn(u);
1798
+ const x = Pr(u, sr.text.primary) >= t ? sr.text.primary : Hr.text.primary;
1799
+ if (process.env.NODE_ENV !== "production") {
1800
+ const U = Pr(u, x);
1801
+ U < 3 && console.error([`MUI: The contrast ratio of ${U}:1 for ${x} on ${u}`, "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(`
1802
+ `));
1803
+ }
1804
+ return x;
1805
+ }
1806
+ const v = ({
1807
+ color: u,
1808
+ name: x,
1809
+ mainShade: U = 500,
1810
+ lightShade: H = 300,
1811
+ darkShade: $ = 700
1812
+ }) => {
1813
+ if (u = {
1814
+ ...u
1815
+ }, !u.main && u[U] && (u.main = u[U]), !u.hasOwnProperty("main"))
1816
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
1817
+ The color object needs to have a \`main\` property or a \`${U}\` property.` : pe(11, x ? ` (${x})` : "", U));
1818
+ if (typeof u.main != "string")
1819
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
1820
+ \`color.main\` should be a string, but \`${JSON.stringify(u.main)}\` was provided instead.
1821
+
1822
+ Did you intend to use one of the following approaches?
1823
+
1824
+ import { green } from "@mui/material/colors";
1825
+
1826
+ const theme1 = createTheme({ palette: {
1827
+ primary: green,
1828
+ } });
1829
+
1830
+ const theme2 = createTheme({ palette: {
1831
+ primary: { main: green[500] },
1832
+ } });` : pe(12, x ? ` (${x})` : "", JSON.stringify(u.main)));
1833
+ return i ? (Ir(i, u, "light", H, n), Ir(i, u, "dark", $, n)) : (Rr(u, "light", H, n), Rr(u, "dark", $, n)), u.contrastText || (u.contrastText = d(u.main)), u;
1834
+ };
1835
+ let S;
1836
+ return r === "light" ? S = Yr() : r === "dark" && (S = Qr()), process.env.NODE_ENV !== "production" && (S || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), te({
1837
+ // A collection of common colors.
1838
+ common: {
1839
+ ...ke
1840
+ },
1841
+ // prevent mutable object.
1842
+ // The palette mode, can be light or dark.
1843
+ mode: r,
1844
+ // The colors used to represent primary interface elements for a user.
1845
+ primary: v({
1846
+ color: s,
1847
+ name: "primary"
1848
+ }),
1849
+ // The colors used to represent secondary interface elements for a user.
1850
+ secondary: v({
1851
+ color: l,
1852
+ name: "secondary",
1853
+ mainShade: "A400",
1854
+ lightShade: "A200",
1855
+ darkShade: "A700"
1856
+ }),
1857
+ // The colors used to represent interface elements that the user should be made aware of.
1858
+ error: v({
1859
+ color: f,
1860
+ name: "error"
1861
+ }),
1862
+ // The colors used to represent potentially dangerous actions or important messages.
1863
+ warning: v({
1864
+ color: m,
1865
+ name: "warning"
1866
+ }),
1867
+ // The colors used to present information to the user that is neutral and not necessarily important.
1868
+ info: v({
1869
+ color: g,
1870
+ name: "info"
1871
+ }),
1872
+ // The colors used to indicate the successful completion of an action that user triggered.
1873
+ success: v({
1874
+ color: h,
1875
+ name: "success"
1876
+ }),
1877
+ // The grey colors.
1878
+ grey: un,
1879
+ // Used by `getContrastText()` to maximize the contrast between
1880
+ // the background and the text.
1881
+ contrastThreshold: t,
1882
+ // Takes a background color and returns the text color that maximizes the contrast.
1883
+ getContrastText: d,
1884
+ // Generate a rich color object.
1885
+ augmentColor: v,
1886
+ // Used by the functions below to shift a color's luminance by approximately
1887
+ // two indexes within its tonal palette.
1888
+ // E.g., shift from Red 500 to Red 300 or Red 700.
1889
+ tonalOffset: n,
1890
+ // The light and dark mode object.
1891
+ ...S
1892
+ }, a);
1893
+ }
1894
+ const bn = (e) => {
1895
+ const r = Object.keys(e).map((t) => ({
1896
+ key: t,
1897
+ val: e[t]
1898
+ })) || [];
1899
+ return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
1900
+ ...t,
1901
+ [n.key]: n.val
1902
+ }), {});
1903
+ };
1904
+ function vn(e) {
1905
+ const {
1906
+ // The breakpoint **start** at this value.
1907
+ // For instance with the first breakpoint xs: [xs, sm).
1908
+ values: r = {
1909
+ xs: 0,
1910
+ // phone
1911
+ sm: 600,
1912
+ // tablet
1913
+ md: 900,
1914
+ // small laptop
1915
+ lg: 1200,
1916
+ // desktop
1917
+ xl: 1536
1918
+ // large screen
1919
+ },
1920
+ unit: t = "px",
1921
+ step: n = 5,
1922
+ ...i
1923
+ } = e, a = bn(r), s = Object.keys(a);
1924
+ function l(d) {
1925
+ return `@media (min-width:${typeof r[d] == "number" ? r[d] : d}${t})`;
1926
+ }
1927
+ function f(d) {
1928
+ return `@media (max-width:${(typeof r[d] == "number" ? r[d] : d) - n / 100}${t})`;
1929
+ }
1930
+ function g(d, v) {
1931
+ const S = s.indexOf(v);
1932
+ return `@media (min-width:${typeof r[d] == "number" ? r[d] : d}${t}) and (max-width:${(S !== -1 && typeof r[s[S]] == "number" ? r[s[S]] : v) - n / 100}${t})`;
1933
+ }
1934
+ function h(d) {
1935
+ return s.indexOf(d) + 1 < s.length ? g(d, s[s.indexOf(d) + 1]) : l(d);
1936
+ }
1937
+ function m(d) {
1938
+ const v = s.indexOf(d);
1939
+ return v === 0 ? l(s[1]) : v === s.length - 1 ? f(s[v]) : g(d, s[s.indexOf(d) + 1]).replace("@media", "@media not all and");
1940
+ }
1941
+ return {
1942
+ keys: s,
1943
+ values: a,
1944
+ up: l,
1945
+ down: f,
1946
+ between: g,
1947
+ only: h,
1948
+ not: m,
1949
+ unit: t,
1950
+ ...i
1951
+ };
1952
+ }
1953
+ const Sn = {
1954
+ borderRadius: 4
1955
+ };
1956
+ function Cn(e = 8, r = fr({
1957
+ spacing: e
1958
+ })) {
1959
+ if (e.mui)
1960
+ return e;
1961
+ const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
1962
+ const s = r(a);
1963
+ return typeof s == "number" ? `${s}px` : s;
1964
+ }).join(" "));
1965
+ return t.mui = !0, t;
1966
+ }
1967
+ function Tn(e, r) {
1968
+ const t = this;
1969
+ if (t.vars) {
1970
+ if (!t.colorSchemes?.[e] || typeof t.getColorSchemeSelector != "function")
1971
+ return {};
1972
+ let n = t.getColorSchemeSelector(e);
1973
+ return n === "&" ? r : ((n.includes("data-") || n.includes(".")) && (n = `*:where(${n.replace(/\s*&$/, "")}) &`), {
1974
+ [n]: r
1975
+ });
1976
+ }
1977
+ return t.palette.mode === e ? r : {};
1978
+ }
1979
+ function En(e = {}, ...r) {
1980
+ const {
1981
+ breakpoints: t = {},
1982
+ palette: n = {},
1983
+ spacing: i,
1984
+ shape: a = {},
1985
+ ...s
1986
+ } = e, l = vn(t), f = Cn(i);
1987
+ let g = te({
1988
+ breakpoints: l,
1989
+ direction: "ltr",
1990
+ components: {},
1991
+ // Inject component definitions.
1992
+ palette: {
1993
+ mode: "light",
1994
+ ...n
1995
+ },
1996
+ spacing: f,
1997
+ shape: {
1998
+ ...Sn,
1999
+ ...a
2000
+ }
2001
+ }, s);
2002
+ return g = ht(g), g.applyStyles = Tn, g = r.reduce((h, m) => te(h, m), g), g.unstable_sxConfig = {
2003
+ ...qe,
2004
+ ...s?.unstable_sxConfig
2005
+ }, g.unstable_sx = function(m) {
2006
+ return Ke({
2007
+ sx: m,
2008
+ theme: this
2009
+ });
2010
+ }, g;
2011
+ }
2012
+ const Br = (e, r, t, n = []) => {
2013
+ let i = e;
2014
+ r.forEach((a, s) => {
2015
+ s === r.length - 1 ? Array.isArray(i) ? i[Number(a)] = t : i && typeof i == "object" && (i[a] = t) : i && typeof i == "object" && (i[a] || (i[a] = n.includes(a) ? [] : {}), i = i[a]);
2016
+ });
2017
+ }, $n = (e, r, t) => {
2018
+ function n(i, a = [], s = []) {
2019
+ Object.entries(i).forEach(([l, f]) => {
2020
+ (!t || t && !t([...a, l])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, l], Array.isArray(f) ? [...s, l] : s) : r([...a, l], f, s));
2021
+ });
2022
+ }
2023
+ n(e);
2024
+ }, wn = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
2025
+ function or(e, r) {
2026
+ const {
2027
+ prefix: t,
2028
+ shouldSkipGeneratingVar: n
2029
+ } = r || {}, i = {}, a = {}, s = {};
2030
+ return $n(
2031
+ e,
2032
+ (l, f, g) => {
2033
+ if ((typeof f == "string" || typeof f == "number") && (!n || !n(l, f))) {
2034
+ const h = `--${t ? `${t}-` : ""}${l.join("-")}`, m = wn(l, f);
2035
+ Object.assign(i, {
2036
+ [h]: m
2037
+ }), Br(a, l, `var(${h})`, g), Br(s, l, `var(${h}, ${m})`, g);
2038
+ }
2039
+ },
2040
+ (l) => l[0] === "vars"
2041
+ // skip 'vars/*' paths
2042
+ ), {
2043
+ css: i,
2044
+ vars: a,
2045
+ varsWithDefaults: s
2046
+ };
2047
+ }
2048
+ function On(e, r = {}) {
2049
+ const {
2050
+ getSelector: t = x,
2051
+ disableCssColorScheme: n,
2052
+ colorSchemeSelector: i,
2053
+ enableContrastVars: a
2054
+ } = r, {
2055
+ colorSchemes: s = {},
2056
+ components: l,
2057
+ defaultColorScheme: f = "light",
2058
+ ...g
2059
+ } = e, {
2060
+ vars: h,
2061
+ css: m,
2062
+ varsWithDefaults: d
2063
+ } = or(g, r);
2064
+ let v = d;
2065
+ const S = {}, {
2066
+ [f]: C,
2067
+ ...u
2068
+ } = s;
2069
+ if (Object.entries(u || {}).forEach(([$, j]) => {
2070
+ const {
2071
+ vars: w,
2072
+ css: ie,
2073
+ varsWithDefaults: ce
2074
+ } = or(j, r);
2075
+ v = te(v, ce), S[$] = {
2076
+ css: ie,
2077
+ vars: w
2078
+ };
2079
+ }), C) {
2080
+ const {
2081
+ css: $,
2082
+ vars: j,
2083
+ varsWithDefaults: w
2084
+ } = or(C, r);
2085
+ v = te(v, w), S[f] = {
2086
+ css: $,
2087
+ vars: j
2088
+ };
2089
+ }
2090
+ function x($, j) {
2091
+ let w = i;
2092
+ if (i === "class" && (w = ".%s"), i === "data" && (w = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (w = `[${i}="%s"]`), $) {
2093
+ if (w === "media")
2094
+ return e.defaultColorScheme === $ ? ":root" : {
2095
+ [`@media (prefers-color-scheme: ${s[$]?.palette?.mode || $})`]: {
2096
+ ":root": j
2097
+ }
2098
+ };
2099
+ if (w)
2100
+ return e.defaultColorScheme === $ ? `:root, ${w.replace("%s", String($))}` : w.replace("%s", String($));
2101
+ }
2102
+ return ":root";
2103
+ }
2104
+ return {
2105
+ vars: v,
2106
+ generateThemeVars: () => {
2107
+ let $ = {
2108
+ ...h
2109
+ };
2110
+ return Object.entries(S).forEach(([, {
2111
+ vars: j
2112
+ }]) => {
2113
+ $ = te($, j);
2114
+ }), $;
2115
+ },
2116
+ generateStyleSheets: () => {
2117
+ const $ = [], j = e.defaultColorScheme || "light";
2118
+ function w(X, J) {
2119
+ Object.keys(J).length && $.push(typeof X == "string" ? {
2120
+ [X]: {
2121
+ ...J
2122
+ }
2123
+ } : X);
2124
+ }
2125
+ w(t(void 0, {
2126
+ ...m
2127
+ }), m);
2128
+ const {
2129
+ [j]: ie,
2130
+ ...ce
2131
+ } = S;
2132
+ if (ie) {
2133
+ const {
2134
+ css: X
2135
+ } = ie, J = s[j]?.palette?.mode, Y = !n && J ? {
2136
+ colorScheme: J,
2137
+ ...X
2138
+ } : {
2139
+ ...X
2140
+ };
2141
+ w(t(j, {
2142
+ ...Y
2143
+ }), Y);
2144
+ }
2145
+ return Object.entries(ce).forEach(([X, {
2146
+ css: J
2147
+ }]) => {
2148
+ const Y = s[X]?.palette?.mode, o = !n && Y ? {
2149
+ colorScheme: Y,
2150
+ ...J
2151
+ } : {
2152
+ ...J
2153
+ };
2154
+ w(t(X, {
2155
+ ...o
2156
+ }), o);
2157
+ }), a && $.push({
2158
+ ":root": {
2159
+ // use double underscore to indicate that these are private variables
2160
+ "--__l-threshold": "0.7",
2161
+ "--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
2162
+ "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
2163
+ // 0.87 is the default alpha value for black text.
2164
+ }
2165
+ }), $;
2166
+ }
2167
+ };
2168
+ }
2169
+ function xn(e) {
2170
+ const r = {};
2171
+ return Object.entries(e).forEach((n) => {
2172
+ const [i, a] = n;
2173
+ typeof a == "object" && (r[i] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
2174
+ }), r;
2175
+ }
2176
+ function kn(e) {
2177
+ return function(t) {
2178
+ return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
2179
+ };
2180
+ }
2181
+ const An = {
2182
+ active: "active",
2183
+ checked: "checked",
2184
+ completed: "completed",
2185
+ disabled: "disabled",
2186
+ error: "error",
2187
+ expanded: "expanded",
2188
+ focused: "focused",
2189
+ focusVisible: "focusVisible",
2190
+ open: "open",
2191
+ readOnly: "readOnly",
2192
+ required: "required",
2193
+ selected: "selected"
2194
+ };
2195
+ function Xr(e, r, t = "Mui") {
2196
+ const n = An[r];
2197
+ return n ? `${t}-${n}` : `${ot.generate(e)}-${r}`;
2198
+ }
2199
+ function _n(e, r) {
2200
+ return {
2201
+ toolbar: {
2202
+ minHeight: 56,
2203
+ [e.up("xs")]: {
2204
+ "@media (orientation: landscape)": {
2205
+ minHeight: 48
2206
+ }
2207
+ },
2208
+ [e.up("sm")]: {
2209
+ minHeight: 64
2210
+ }
2211
+ },
2212
+ ...r
2213
+ };
2214
+ }
2215
+ function Pn(e) {
2216
+ return Math.round(e * 1e5) / 1e5;
2217
+ }
2218
+ const jr = {
2219
+ textTransform: "uppercase"
2220
+ }, Dr = '"Roboto", "Helvetica", "Arial", sans-serif';
2221
+ function Rn(e, r) {
2222
+ const {
2223
+ fontFamily: t = Dr,
2224
+ // The default font size of the Material Specification.
2225
+ fontSize: n = 14,
2226
+ // px
2227
+ fontWeightLight: i = 300,
2228
+ fontWeightRegular: a = 400,
2229
+ fontWeightMedium: s = 500,
2230
+ fontWeightBold: l = 700,
2231
+ // Tell MUI what's the font-size on the html element.
2232
+ // 16px is the default font-size used by browsers.
2233
+ htmlFontSize: f = 16,
2234
+ // Apply the CSS properties to all the variants.
2235
+ allVariants: g,
2236
+ pxToRem: h,
2237
+ ...m
2238
+ } = typeof r == "function" ? r(e) : r;
2239
+ 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."));
2240
+ const d = n / 14, v = h || ((u) => `${u / f * d}rem`), S = (u, x, U, H, $) => ({
2241
+ fontFamily: t,
2242
+ fontWeight: u,
2243
+ fontSize: v(x),
2244
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2245
+ lineHeight: U,
2246
+ // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2247
+ // across font-families can cause issues with the kerning.
2248
+ ...t === Dr ? {
2249
+ letterSpacing: `${Pn(H / x)}em`
2250
+ } : {},
2251
+ ...$,
2252
+ ...g
2253
+ }), C = {
2254
+ h1: S(i, 96, 1.167, -1.5),
2255
+ h2: S(i, 60, 1.2, -0.5),
2256
+ h3: S(a, 48, 1.167, 0),
2257
+ h4: S(a, 34, 1.235, 0.25),
2258
+ h5: S(a, 24, 1.334, 0),
2259
+ h6: S(s, 20, 1.6, 0.15),
2260
+ subtitle1: S(a, 16, 1.75, 0.15),
2261
+ subtitle2: S(s, 14, 1.57, 0.1),
2262
+ body1: S(a, 16, 1.5, 0.15),
2263
+ body2: S(a, 14, 1.43, 0.15),
2264
+ button: S(s, 14, 1.75, 0.4, jr),
2265
+ caption: S(a, 12, 1.66, 0.4),
2266
+ overline: S(a, 12, 2.66, 1, jr),
2267
+ // 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.
2268
+ inherit: {
2269
+ fontFamily: "inherit",
2270
+ fontWeight: "inherit",
2271
+ fontSize: "inherit",
2272
+ lineHeight: "inherit",
2273
+ letterSpacing: "inherit"
2274
+ }
2275
+ };
2276
+ return te({
2277
+ htmlFontSize: f,
2278
+ pxToRem: v,
2279
+ fontFamily: t,
2280
+ fontSize: n,
2281
+ fontWeightLight: i,
2282
+ fontWeightRegular: a,
2283
+ fontWeightMedium: s,
2284
+ fontWeightBold: l,
2285
+ ...C
2286
+ }, m, {
2287
+ clone: !1
2288
+ // No need to clone deep
2289
+ });
2290
+ }
2291
+ const In = 0.2, Bn = 0.14, jn = 0.12;
2292
+ function z(...e) {
2293
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${In})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Bn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${jn})`].join(",");
2294
+ }
2295
+ const Dn = ["none", z(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), z(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), z(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), z(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), z(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), z(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), z(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), z(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), z(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), z(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), z(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), z(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), z(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), z(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), z(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), z(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), z(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), z(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), z(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), z(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), z(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), z(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), z(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), z(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Nn = {
2296
+ // This is the most common easing curve.
2297
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2298
+ // Objects enter the screen at full velocity from off-screen and
2299
+ // slowly decelerate to a resting point.
2300
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2301
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2302
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2303
+ // The sharp curve is used by objects that may return to the screen at any time.
2304
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2305
+ }, Mn = {
2306
+ shortest: 150,
2307
+ shorter: 200,
2308
+ short: 250,
2309
+ // most basic recommended timing
2310
+ standard: 300,
2311
+ // this is to be used in complex animations
2312
+ complex: 375,
2313
+ // recommended when something is entering screen
2314
+ enteringScreen: 225,
2315
+ // recommended when something is leaving screen
2316
+ leavingScreen: 195
2317
+ };
2318
+ function Nr(e) {
2319
+ return `${Math.round(e)}ms`;
2320
+ }
2321
+ function Vn(e) {
2322
+ if (!e)
2323
+ return 0;
2324
+ const r = e / 36;
2325
+ return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
2326
+ }
2327
+ function Wn(e) {
2328
+ const r = {
2329
+ ...Nn,
2330
+ ...e.easing
2331
+ }, t = {
2332
+ ...Mn,
2333
+ ...e.duration
2334
+ };
2335
+ return {
2336
+ getAutoHeightDuration: Vn,
2337
+ create: (i = ["all"], a = {}) => {
2338
+ const {
2339
+ duration: s = t.standard,
2340
+ easing: l = r.easeInOut,
2341
+ delay: f = 0,
2342
+ ...g
2343
+ } = a;
2344
+ if (process.env.NODE_ENV !== "production") {
2345
+ const h = (d) => typeof d == "string", m = (d) => !Number.isNaN(parseFloat(d));
2346
+ !h(i) && !Array.isArray(i) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !h(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), h(l) || console.error('MUI: Argument "easing" must be a string.'), !m(f) && !h(f) && 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(`
2347
+ `)), Object.keys(g).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(g).join(",")}].`);
2348
+ }
2349
+ return (Array.isArray(i) ? i : [i]).map((h) => `${h} ${typeof s == "string" ? s : Nr(s)} ${l} ${typeof f == "string" ? f : Nr(f)}`).join(",");
2350
+ },
2351
+ ...e,
2352
+ easing: r,
2353
+ duration: t
2354
+ };
2355
+ }
2356
+ const Ln = {
2357
+ mobileStepper: 1e3,
2358
+ fab: 1050,
2359
+ speedDial: 1050,
2360
+ appBar: 1100,
2361
+ drawer: 1200,
2362
+ modal: 1300,
2363
+ snackbar: 1400,
2364
+ tooltip: 1500
2365
+ };
2366
+ function Fn(e) {
2367
+ return de(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
2368
+ }
2369
+ function Jr(e = {}) {
2370
+ const r = {
2371
+ ...e
2372
+ };
2373
+ function t(n) {
2374
+ const i = Object.entries(n);
2375
+ for (let a = 0; a < i.length; a++) {
2376
+ const [s, l] = i[a];
2377
+ !Fn(l) || s.startsWith("unstable_") ? delete n[s] : de(l) && (n[s] = {
2378
+ ...l
2379
+ }, t(n[s]));
2380
+ }
2381
+ }
2382
+ return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
2383
+
2384
+ const theme = ${JSON.stringify(r, null, 2)};
2385
+
2386
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
2387
+ theme.transitions = createTransitions(theme.transitions || {});
2388
+
2389
+ export default theme;`;
2390
+ }
2391
+ function Mr(e) {
2392
+ return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
2393
+ }
2394
+ const Un = (e) => {
2395
+ if (!Number.isNaN(+e))
2396
+ return +e;
2397
+ const r = e.match(/\d*\.?\d+/g);
2398
+ if (!r)
2399
+ return 0;
2400
+ let t = 0;
2401
+ for (let n = 0; n < r.length; n += 1)
2402
+ t += +r[n];
2403
+ return t;
2404
+ };
2405
+ function zn(e) {
2406
+ Object.assign(e, {
2407
+ alpha(r, t) {
2408
+ const n = this || e;
2409
+ return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : Kr(r, Un(t));
2410
+ },
2411
+ lighten(r, t) {
2412
+ const n = this || e;
2413
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${Mr(t)})` : Qe(r, t);
2414
+ },
2415
+ darken(r, t) {
2416
+ const n = this || e;
2417
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${Mr(t)})` : He(r, t);
2418
+ }
2419
+ });
2420
+ }
2421
+ function cr(e = {}, ...r) {
2422
+ const {
2423
+ breakpoints: t,
2424
+ mixins: n = {},
2425
+ spacing: i,
2426
+ palette: a = {},
2427
+ transitions: s = {},
2428
+ typography: l = {},
2429
+ shape: f,
2430
+ colorSpace: g,
2431
+ ...h
2432
+ } = e;
2433
+ if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
2434
+ // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
2435
+ e.generateThemeVars === void 0)
2436
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : pe(20));
2437
+ const m = gr({
2438
+ ...a,
2439
+ colorSpace: g
2440
+ }), d = En(e);
2441
+ let v = te(d, {
2442
+ mixins: _n(d.breakpoints, n),
2443
+ palette: m,
2444
+ // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2445
+ shadows: Dn.slice(),
2446
+ typography: Rn(m, l),
2447
+ transitions: Wn(s),
2448
+ zIndex: {
2449
+ ...Ln
2450
+ }
2451
+ });
2452
+ if (v = te(v, h), v = r.reduce((S, C) => te(S, C), v), process.env.NODE_ENV !== "production") {
2453
+ const S = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], C = (u, x) => {
2454
+ let U;
2455
+ for (U in u) {
2456
+ const H = u[U];
2457
+ if (S.includes(U) && Object.keys(H).length > 0) {
2458
+ if (process.env.NODE_ENV !== "production") {
2459
+ const $ = Xr("", U);
2460
+ console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${U}\` internal state.`, "You can not override it like this: ", JSON.stringify(u, null, 2), "", `Instead, you need to use the '&.${$}' syntax:`, JSON.stringify({
2461
+ root: {
2462
+ [`&.${$}`]: H
2463
+ }
2464
+ }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2465
+ `));
2466
+ }
2467
+ u[U] = {};
2468
+ }
2469
+ }
2470
+ };
2471
+ Object.keys(v.components).forEach((u) => {
2472
+ const x = v.components[u].styleOverrides;
2473
+ x && u.startsWith("Mui") && C(x, u);
2474
+ });
2475
+ }
2476
+ return v.unstable_sxConfig = {
2477
+ ...qe,
2478
+ ...h?.unstable_sxConfig
2479
+ }, v.unstable_sx = function(C) {
2480
+ return Ke({
2481
+ sx: C,
2482
+ theme: this
2483
+ });
2484
+ }, v.toRuntimeSource = Jr, zn(v), v;
2485
+ }
2486
+ function Gn(e) {
2487
+ let r;
2488
+ return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
2489
+ }
2490
+ const qn = [...Array(25)].map((e, r) => {
2491
+ if (r === 0)
2492
+ return "none";
2493
+ const t = Gn(r);
2494
+ return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
2495
+ });
2496
+ function Zr(e) {
2497
+ return {
2498
+ inputPlaceholder: e === "dark" ? 0.5 : 0.42,
2499
+ inputUnderline: e === "dark" ? 0.7 : 0.42,
2500
+ switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
2501
+ switchTrack: e === "dark" ? 0.3 : 0.38
2502
+ };
2503
+ }
2504
+ function et(e) {
2505
+ return e === "dark" ? qn : [];
2506
+ }
2507
+ function Kn(e) {
2508
+ const {
2509
+ palette: r = {
2510
+ mode: "light"
2511
+ },
2512
+ // need to cast to avoid module augmentation test
2513
+ opacity: t,
2514
+ overlays: n,
2515
+ colorSpace: i,
2516
+ ...a
2517
+ } = e, s = gr({
2518
+ ...r,
2519
+ colorSpace: i
2520
+ });
2521
+ return {
2522
+ palette: s,
2523
+ opacity: {
2524
+ ...Zr(s.mode),
2525
+ ...t
2526
+ },
2527
+ overlays: n || et(s.mode),
2528
+ ...a
2529
+ };
2530
+ }
2531
+ function Yn(e) {
2532
+ return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
2533
+ e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
2534
+ }
2535
+ const Hn = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], Qn = (e) => (r, t) => {
2536
+ const n = e.rootSelector || ":root", i = e.colorSchemeSelector;
2537
+ let a = i;
2538
+ if (i === "class" && (a = ".%s"), i === "data" && (a = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (a = `[${i}="%s"]`), e.defaultColorScheme === r) {
2539
+ if (r === "dark") {
2540
+ const s = {};
2541
+ return Hn(e.cssVarPrefix).forEach((l) => {
2542
+ s[l] = t[l], delete t[l];
2543
+ }), a === "media" ? {
2544
+ [n]: t,
2545
+ "@media (prefers-color-scheme: dark)": {
2546
+ [n]: s
2547
+ }
2548
+ } : a ? {
2549
+ [a.replace("%s", r)]: s,
2550
+ [`${n}, ${a.replace("%s", r)}`]: t
2551
+ } : {
2552
+ [n]: {
2553
+ ...t,
2554
+ ...s
2555
+ }
2556
+ };
2557
+ }
2558
+ if (a && a !== "media")
2559
+ return `${n}, ${a.replace("%s", String(r))}`;
2560
+ } else if (r) {
2561
+ if (a === "media")
2562
+ return {
2563
+ [`@media (prefers-color-scheme: ${String(r)})`]: {
2564
+ [n]: t
2565
+ }
2566
+ };
2567
+ if (a)
2568
+ return a.replace("%s", String(r));
2569
+ }
2570
+ return n;
2571
+ };
2572
+ function Xn(e, r) {
2573
+ r.forEach((t) => {
2574
+ e[t] || (e[t] = {});
2575
+ });
2576
+ }
2577
+ function c(e, r, t) {
2578
+ !e[r] && t && (e[r] = t);
2579
+ }
2580
+ function Oe(e) {
2581
+ return typeof e != "string" || !e.startsWith("hsl") ? e : qr(e);
2582
+ }
2583
+ function le(e, r) {
2584
+ `${r}Channel` in e || (e[`${r}Channel`] = we(Oe(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
2585
+ To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
2586
+ }
2587
+ function Jn(e) {
2588
+ return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
2589
+ }
2590
+ const se = (e) => {
2591
+ try {
2592
+ return e();
2593
+ } catch {
2594
+ }
2595
+ }, Zn = (e = "mui") => rt(e);
2596
+ function ir(e, r, t, n, i) {
2597
+ if (!t)
2598
+ return;
2599
+ t = t === !0 ? {} : t;
2600
+ const a = i === "dark" ? "dark" : "light";
2601
+ if (!n) {
2602
+ r[i] = Kn({
2603
+ ...t,
2604
+ palette: {
2605
+ mode: a,
2606
+ ...t?.palette
2607
+ },
2608
+ colorSpace: e
2609
+ });
2610
+ return;
2611
+ }
2612
+ const {
2613
+ palette: s,
2614
+ ...l
2615
+ } = cr({
2616
+ ...n,
2617
+ palette: {
2618
+ mode: a,
2619
+ ...t?.palette
2620
+ },
2621
+ colorSpace: e
2622
+ });
2623
+ return r[i] = {
2624
+ ...t,
2625
+ palette: s,
2626
+ opacity: {
2627
+ ...Zr(a),
2628
+ ...t?.opacity
2629
+ },
2630
+ overlays: t?.overlays || et(a)
2631
+ }, l;
2632
+ }
2633
+ function eo(e = {}, ...r) {
2634
+ const {
2635
+ colorSchemes: t = {
2636
+ light: !0
2637
+ },
2638
+ defaultColorScheme: n,
2639
+ disableCssColorScheme: i = !1,
2640
+ cssVarPrefix: a = "mui",
2641
+ nativeColor: s = !1,
2642
+ shouldSkipGeneratingVar: l = Yn,
2643
+ colorSchemeSelector: f = t.light && t.dark ? "media" : void 0,
2644
+ rootSelector: g = ":root",
2645
+ ...h
2646
+ } = e, m = Object.keys(t)[0], d = n || (t.light && m !== "light" ? "light" : m), v = Zn(a), {
2647
+ [d]: S,
2648
+ light: C,
2649
+ dark: u,
2650
+ ...x
2651
+ } = t, U = {
2652
+ ...x
2653
+ };
2654
+ let H = S;
2655
+ if ((d === "dark" && !("dark" in t) || d === "light" && !("light" in t)) && (H = !0), !H)
2656
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${d}\` option is either missing or invalid.` : pe(21, d));
2657
+ let $;
2658
+ s && ($ = "oklch");
2659
+ const j = ir($, U, H, h, d);
2660
+ C && !U.light && ir($, U, C, void 0, "light"), u && !U.dark && ir($, U, u, void 0, "dark");
2661
+ let w = {
2662
+ defaultColorScheme: d,
2663
+ ...j,
2664
+ cssVarPrefix: a,
2665
+ colorSchemeSelector: f,
2666
+ rootSelector: g,
2667
+ getCssVar: v,
2668
+ colorSchemes: U,
2669
+ font: {
2670
+ ...xn(j.typography),
2671
+ ...j.font
2672
+ },
2673
+ spacing: Jn(h.spacing)
2674
+ };
2675
+ Object.keys(w.colorSchemes).forEach((Y) => {
2676
+ const o = w.colorSchemes[Y].palette, E = (D) => {
2677
+ const V = D.split("-"), Z = V[1], ae = V[2];
2678
+ return v(D, o[Z][ae]);
2679
+ };
2680
+ o.mode === "light" && (c(o.common, "background", "#fff"), c(o.common, "onBackground", "#000")), o.mode === "dark" && (c(o.common, "background", "#000"), c(o.common, "onBackground", "#fff"));
2681
+ function y(D, V, Z) {
2682
+ if ($) {
2683
+ let ae;
2684
+ return D === he && (ae = `transparent ${((1 - Z) * 100).toFixed(0)}%`), D === L && (ae = `#000 ${(Z * 100).toFixed(0)}%`), D === F && (ae = `#fff ${(Z * 100).toFixed(0)}%`), `color-mix(in ${$}, ${V}, ${ae})`;
2685
+ }
2686
+ return D(V, Z);
2687
+ }
2688
+ if (Xn(o, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), o.mode === "light") {
2689
+ c(o.Alert, "errorColor", y(L, o.error.light, 0.6)), c(o.Alert, "infoColor", y(L, o.info.light, 0.6)), c(o.Alert, "successColor", y(L, o.success.light, 0.6)), c(o.Alert, "warningColor", y(L, o.warning.light, 0.6)), c(o.Alert, "errorFilledBg", E("palette-error-main")), c(o.Alert, "infoFilledBg", E("palette-info-main")), c(o.Alert, "successFilledBg", E("palette-success-main")), c(o.Alert, "warningFilledBg", E("palette-warning-main")), c(o.Alert, "errorFilledColor", se(() => o.getContrastText(o.error.main))), c(o.Alert, "infoFilledColor", se(() => o.getContrastText(o.info.main))), c(o.Alert, "successFilledColor", se(() => o.getContrastText(o.success.main))), c(o.Alert, "warningFilledColor", se(() => o.getContrastText(o.warning.main))), c(o.Alert, "errorStandardBg", y(F, o.error.light, 0.9)), c(o.Alert, "infoStandardBg", y(F, o.info.light, 0.9)), c(o.Alert, "successStandardBg", y(F, o.success.light, 0.9)), c(o.Alert, "warningStandardBg", y(F, o.warning.light, 0.9)), c(o.Alert, "errorIconColor", E("palette-error-main")), c(o.Alert, "infoIconColor", E("palette-info-main")), c(o.Alert, "successIconColor", E("palette-success-main")), c(o.Alert, "warningIconColor", E("palette-warning-main")), c(o.AppBar, "defaultBg", E("palette-grey-100")), c(o.Avatar, "defaultBg", E("palette-grey-400")), c(o.Button, "inheritContainedBg", E("palette-grey-300")), c(o.Button, "inheritContainedHoverBg", E("palette-grey-A100")), c(o.Chip, "defaultBorder", E("palette-grey-400")), c(o.Chip, "defaultAvatarColor", E("palette-grey-700")), c(o.Chip, "defaultIconColor", E("palette-grey-700")), c(o.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), c(o.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), c(o.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), c(o.LinearProgress, "primaryBg", y(F, o.primary.main, 0.62)), c(o.LinearProgress, "secondaryBg", y(F, o.secondary.main, 0.62)), c(o.LinearProgress, "errorBg", y(F, o.error.main, 0.62)), c(o.LinearProgress, "infoBg", y(F, o.info.main, 0.62)), c(o.LinearProgress, "successBg", y(F, o.success.main, 0.62)), c(o.LinearProgress, "warningBg", y(F, o.warning.main, 0.62)), c(o.Skeleton, "bg", $ ? y(he, o.text.primary, 0.11) : `rgba(${E("palette-text-primaryChannel")} / 0.11)`), c(o.Slider, "primaryTrack", y(F, o.primary.main, 0.62)), c(o.Slider, "secondaryTrack", y(F, o.secondary.main, 0.62)), c(o.Slider, "errorTrack", y(F, o.error.main, 0.62)), c(o.Slider, "infoTrack", y(F, o.info.main, 0.62)), c(o.Slider, "successTrack", y(F, o.success.main, 0.62)), c(o.Slider, "warningTrack", y(F, o.warning.main, 0.62));
2690
+ const D = $ ? y(L, o.background.default, 0.6825) : je(o.background.default, 0.8);
2691
+ c(o.SnackbarContent, "bg", D), c(o.SnackbarContent, "color", se(() => $ ? sr.text.primary : o.getContrastText(D))), c(o.SpeedDialAction, "fabHoverBg", je(o.background.paper, 0.15)), c(o.StepConnector, "border", E("palette-grey-400")), c(o.StepContent, "border", E("palette-grey-400")), c(o.Switch, "defaultColor", E("palette-common-white")), c(o.Switch, "defaultDisabledColor", E("palette-grey-100")), c(o.Switch, "primaryDisabledColor", y(F, o.primary.main, 0.62)), c(o.Switch, "secondaryDisabledColor", y(F, o.secondary.main, 0.62)), c(o.Switch, "errorDisabledColor", y(F, o.error.main, 0.62)), c(o.Switch, "infoDisabledColor", y(F, o.info.main, 0.62)), c(o.Switch, "successDisabledColor", y(F, o.success.main, 0.62)), c(o.Switch, "warningDisabledColor", y(F, o.warning.main, 0.62)), c(o.TableCell, "border", y(F, y(he, o.divider, 1), 0.88)), c(o.Tooltip, "bg", y(he, o.grey[700], 0.92));
2692
+ }
2693
+ if (o.mode === "dark") {
2694
+ c(o.Alert, "errorColor", y(F, o.error.light, 0.6)), c(o.Alert, "infoColor", y(F, o.info.light, 0.6)), c(o.Alert, "successColor", y(F, o.success.light, 0.6)), c(o.Alert, "warningColor", y(F, o.warning.light, 0.6)), c(o.Alert, "errorFilledBg", E("palette-error-dark")), c(o.Alert, "infoFilledBg", E("palette-info-dark")), c(o.Alert, "successFilledBg", E("palette-success-dark")), c(o.Alert, "warningFilledBg", E("palette-warning-dark")), c(o.Alert, "errorFilledColor", se(() => o.getContrastText(o.error.dark))), c(o.Alert, "infoFilledColor", se(() => o.getContrastText(o.info.dark))), c(o.Alert, "successFilledColor", se(() => o.getContrastText(o.success.dark))), c(o.Alert, "warningFilledColor", se(() => o.getContrastText(o.warning.dark))), c(o.Alert, "errorStandardBg", y(L, o.error.light, 0.9)), c(o.Alert, "infoStandardBg", y(L, o.info.light, 0.9)), c(o.Alert, "successStandardBg", y(L, o.success.light, 0.9)), c(o.Alert, "warningStandardBg", y(L, o.warning.light, 0.9)), c(o.Alert, "errorIconColor", E("palette-error-main")), c(o.Alert, "infoIconColor", E("palette-info-main")), c(o.Alert, "successIconColor", E("palette-success-main")), c(o.Alert, "warningIconColor", E("palette-warning-main")), c(o.AppBar, "defaultBg", E("palette-grey-900")), c(o.AppBar, "darkBg", E("palette-background-paper")), c(o.AppBar, "darkColor", E("palette-text-primary")), c(o.Avatar, "defaultBg", E("palette-grey-600")), c(o.Button, "inheritContainedBg", E("palette-grey-800")), c(o.Button, "inheritContainedHoverBg", E("palette-grey-700")), c(o.Chip, "defaultBorder", E("palette-grey-700")), c(o.Chip, "defaultAvatarColor", E("palette-grey-300")), c(o.Chip, "defaultIconColor", E("palette-grey-300")), c(o.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), c(o.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), c(o.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), c(o.LinearProgress, "primaryBg", y(L, o.primary.main, 0.5)), c(o.LinearProgress, "secondaryBg", y(L, o.secondary.main, 0.5)), c(o.LinearProgress, "errorBg", y(L, o.error.main, 0.5)), c(o.LinearProgress, "infoBg", y(L, o.info.main, 0.5)), c(o.LinearProgress, "successBg", y(L, o.success.main, 0.5)), c(o.LinearProgress, "warningBg", y(L, o.warning.main, 0.5)), c(o.Skeleton, "bg", $ ? y(he, o.text.primary, 0.13) : `rgba(${E("palette-text-primaryChannel")} / 0.13)`), c(o.Slider, "primaryTrack", y(L, o.primary.main, 0.5)), c(o.Slider, "secondaryTrack", y(L, o.secondary.main, 0.5)), c(o.Slider, "errorTrack", y(L, o.error.main, 0.5)), c(o.Slider, "infoTrack", y(L, o.info.main, 0.5)), c(o.Slider, "successTrack", y(L, o.success.main, 0.5)), c(o.Slider, "warningTrack", y(L, o.warning.main, 0.5));
2695
+ const D = $ ? y(F, o.background.default, 0.985) : je(o.background.default, 0.98);
2696
+ c(o.SnackbarContent, "bg", D), c(o.SnackbarContent, "color", se(() => $ ? Hr.text.primary : o.getContrastText(D))), c(o.SpeedDialAction, "fabHoverBg", je(o.background.paper, 0.15)), c(o.StepConnector, "border", E("palette-grey-600")), c(o.StepContent, "border", E("palette-grey-600")), c(o.Switch, "defaultColor", E("palette-grey-300")), c(o.Switch, "defaultDisabledColor", E("palette-grey-600")), c(o.Switch, "primaryDisabledColor", y(L, o.primary.main, 0.55)), c(o.Switch, "secondaryDisabledColor", y(L, o.secondary.main, 0.55)), c(o.Switch, "errorDisabledColor", y(L, o.error.main, 0.55)), c(o.Switch, "infoDisabledColor", y(L, o.info.main, 0.55)), c(o.Switch, "successDisabledColor", y(L, o.success.main, 0.55)), c(o.Switch, "warningDisabledColor", y(L, o.warning.main, 0.55)), c(o.TableCell, "border", y(L, y(he, o.divider, 1), 0.68)), c(o.Tooltip, "bg", y(he, o.grey[700], 0.92));
2697
+ }
2698
+ le(o.background, "default"), le(o.background, "paper"), le(o.common, "background"), le(o.common, "onBackground"), le(o, "divider"), Object.keys(o).forEach((D) => {
2699
+ const V = o[D];
2700
+ D !== "tonalOffset" && V && typeof V == "object" && (V.main && c(o[D], "mainChannel", we(Oe(V.main))), V.light && c(o[D], "lightChannel", we(Oe(V.light))), V.dark && c(o[D], "darkChannel", we(Oe(V.dark))), V.contrastText && c(o[D], "contrastTextChannel", we(Oe(V.contrastText))), D === "text" && (le(o[D], "primary"), le(o[D], "secondary")), D === "action" && (V.active && le(o[D], "active"), V.selected && le(o[D], "selected")));
2701
+ });
2702
+ }), w = r.reduce((Y, o) => te(Y, o), w);
2703
+ const ie = {
2704
+ prefix: a,
2705
+ disableCssColorScheme: i,
2706
+ shouldSkipGeneratingVar: l,
2707
+ getSelector: Qn(w),
2708
+ enableContrastVars: s
2709
+ }, {
2710
+ vars: ce,
2711
+ generateThemeVars: X,
2712
+ generateStyleSheets: J
2713
+ } = On(w, ie);
2714
+ return w.vars = ce, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([Y, o]) => {
2715
+ w[Y] = o;
2716
+ }), w.generateThemeVars = X, w.generateStyleSheets = J, w.generateSpacing = function() {
2717
+ return tt(h.spacing, fr(this));
2718
+ }, w.getColorSchemeSelector = kn(f), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = l, w.unstable_sxConfig = {
2719
+ ...qe,
2720
+ ...h?.unstable_sxConfig
2721
+ }, w.unstable_sx = function(o) {
2722
+ return Ke({
2723
+ sx: o,
2724
+ theme: this
2725
+ });
2726
+ }, w.toRuntimeSource = Jr, w;
2727
+ }
2728
+ function Vr(e, r, t) {
2729
+ e.colorSchemes && t && (e.colorSchemes[r] = {
2730
+ ...t !== !0 && t,
2731
+ palette: gr({
2732
+ ...t === !0 ? {} : t.palette,
2733
+ mode: r
2734
+ })
2735
+ // cast type to skip module augmentation test
2736
+ });
2737
+ }
2738
+ function to(e = {}, ...r) {
2739
+ const {
2740
+ palette: t,
2741
+ cssVariables: n = !1,
2742
+ colorSchemes: i = t ? void 0 : {
2743
+ light: !0
2744
+ },
2745
+ defaultColorScheme: a = t?.mode,
2746
+ ...s
2747
+ } = e, l = a || "light", f = i?.[l], g = {
2748
+ ...i,
2749
+ ...t ? {
2750
+ [l]: {
2751
+ ...typeof f != "boolean" && f,
2752
+ palette: t
2753
+ }
2754
+ } : void 0
2755
+ };
2756
+ if (n === !1) {
2757
+ if (!("colorSchemes" in e))
2758
+ return cr(e, ...r);
2759
+ let h = t;
2760
+ "palette" in e || g[l] && (g[l] !== !0 ? h = g[l].palette : l === "dark" && (h = {
2761
+ mode: "dark"
2762
+ }));
2763
+ const m = cr({
2764
+ ...e,
2765
+ palette: h
2766
+ }, ...r);
2767
+ return m.defaultColorScheme = l, m.colorSchemes = g, m.palette.mode === "light" && (m.colorSchemes.light = {
2768
+ ...g.light !== !0 && g.light,
2769
+ palette: m.palette
2770
+ }, Vr(m, "dark", g.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
2771
+ ...g.dark !== !0 && g.dark,
2772
+ palette: m.palette
2773
+ }, Vr(m, "light", g.light)), m;
2774
+ }
2775
+ return !t && !("light" in g) && l === "light" && (g.light = !0), eo({
2776
+ ...s,
2777
+ colorSchemes: g,
2778
+ defaultColorScheme: l,
2779
+ ...typeof n != "boolean" && n
2780
+ }, ...r);
2781
+ }
2782
+ const no = "$$material";
2783
+ function oo(e, r, t = "Mui") {
2784
+ const n = {};
2785
+ return r.forEach((i) => {
2786
+ n[i] = Xr(e, i, t);
2787
+ }), n;
2788
+ }
2789
+ export {
2790
+ ot as C,
2791
+ Ee as P,
2792
+ no as T,
2793
+ oo as a,
2794
+ to as b,
2795
+ Lr as c,
2796
+ qe as d,
2797
+ Kr as e,
2798
+ Gn as f,
2799
+ Xr as g,
2800
+ En as h,
2801
+ de as i,
2802
+ pe as j,
2803
+ te as k,
2804
+ Ur as r,
2805
+ Ke as s
2806
+ };