@amateescu/portal-ui-components 0.0.28 → 0.0.30-beta

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