@fangzsx/component-library 0.0.7 → 0.0.8

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.
@@ -0,0 +1,4293 @@
1
+ import { unstable_createGetCssVar as Jr, createSpacing as Zr, unstable_memoTheme as en, keyframes as Nt } from "@mui/system";
2
+ import * as B from "react";
3
+ import Le, { isValidElement as Qe, cloneElement as Je, Children as tn } from "react";
4
+ import { jsx as Ne, jsxs as rn } from "react/jsx-runtime";
5
+ import nn from "@emotion/styled";
6
+ import "@emotion/react";
7
+ const Ht = (e) => e, on = () => {
8
+ let e = Ht;
9
+ return {
10
+ configure(t) {
11
+ e = t;
12
+ },
13
+ generate(t) {
14
+ return e(t);
15
+ },
16
+ reset() {
17
+ e = Ht;
18
+ }
19
+ };
20
+ }, sn = on();
21
+ function Ce(e, ...t) {
22
+ const r = new URL(`https://mui.com/production-error/?code=${e}`);
23
+ return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
24
+ }
25
+ function Dt(e) {
26
+ if (typeof e != "string")
27
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ce(7));
28
+ return e.charAt(0).toUpperCase() + e.slice(1);
29
+ }
30
+ function an(e) {
31
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
32
+ }
33
+ var Ye = { exports: {} }, He = { exports: {} }, q = {};
34
+ var Xt;
35
+ function cn() {
36
+ if (Xt) return q;
37
+ Xt = 1;
38
+ var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), a = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.server_context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), l = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), v;
39
+ v = /* @__PURE__ */ Symbol.for("react.module.reference");
40
+ function T(f) {
41
+ if (typeof f == "object" && f !== null) {
42
+ var $ = f.$$typeof;
43
+ switch ($) {
44
+ case e:
45
+ switch (f = f.type, f) {
46
+ case r:
47
+ case o:
48
+ case n:
49
+ case l:
50
+ case p:
51
+ return f;
52
+ default:
53
+ switch (f = f && f.$$typeof, f) {
54
+ case c:
55
+ case a:
56
+ case u:
57
+ case m:
58
+ case h:
59
+ case i:
60
+ return f;
61
+ default:
62
+ return $;
63
+ }
64
+ }
65
+ case t:
66
+ return $;
67
+ }
68
+ }
69
+ }
70
+ return q.ContextConsumer = a, q.ContextProvider = i, q.Element = e, q.ForwardRef = u, q.Fragment = r, q.Lazy = m, q.Memo = h, q.Portal = t, q.Profiler = o, q.StrictMode = n, q.Suspense = l, q.SuspenseList = p, q.isAsyncMode = function() {
71
+ return !1;
72
+ }, q.isConcurrentMode = function() {
73
+ return !1;
74
+ }, q.isContextConsumer = function(f) {
75
+ return T(f) === a;
76
+ }, q.isContextProvider = function(f) {
77
+ return T(f) === i;
78
+ }, q.isElement = function(f) {
79
+ return typeof f == "object" && f !== null && f.$$typeof === e;
80
+ }, q.isForwardRef = function(f) {
81
+ return T(f) === u;
82
+ }, q.isFragment = function(f) {
83
+ return T(f) === r;
84
+ }, q.isLazy = function(f) {
85
+ return T(f) === m;
86
+ }, q.isMemo = function(f) {
87
+ return T(f) === h;
88
+ }, q.isPortal = function(f) {
89
+ return T(f) === t;
90
+ }, q.isProfiler = function(f) {
91
+ return T(f) === o;
92
+ }, q.isStrictMode = function(f) {
93
+ return T(f) === n;
94
+ }, q.isSuspense = function(f) {
95
+ return T(f) === l;
96
+ }, q.isSuspenseList = function(f) {
97
+ return T(f) === p;
98
+ }, q.isValidElementType = function(f) {
99
+ return typeof f == "string" || typeof f == "function" || f === r || f === o || f === n || f === l || f === p || f === S || typeof f == "object" && f !== null && (f.$$typeof === m || f.$$typeof === h || f.$$typeof === i || f.$$typeof === a || f.$$typeof === u || f.$$typeof === v || f.getModuleId !== void 0);
100
+ }, q.typeOf = T, q;
101
+ }
102
+ var K = {};
103
+ var Qt;
104
+ function un() {
105
+ return Qt || (Qt = 1, process.env.NODE_ENV !== "production" && (function() {
106
+ var e = /* @__PURE__ */ Symbol.for("react.element"), t = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), n = /* @__PURE__ */ Symbol.for("react.strict_mode"), o = /* @__PURE__ */ Symbol.for("react.profiler"), i = /* @__PURE__ */ Symbol.for("react.provider"), a = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.server_context"), u = /* @__PURE__ */ Symbol.for("react.forward_ref"), l = /* @__PURE__ */ Symbol.for("react.suspense"), p = /* @__PURE__ */ Symbol.for("react.suspense_list"), h = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), v = !1, T = !1, f = !1, $ = !1, N = !1, X;
107
+ X = /* @__PURE__ */ Symbol.for("react.module.reference");
108
+ function w(O) {
109
+ return !!(typeof O == "string" || typeof O == "function" || O === r || O === o || N || O === n || O === l || O === p || $ || O === S || v || T || f || typeof O == "object" && O !== null && (O.$$typeof === m || O.$$typeof === h || O.$$typeof === i || O.$$typeof === a || O.$$typeof === u || // This needs to include all possible module reference object
110
+ // types supported by any Flight configuration anywhere since
111
+ // we don't know which Flight build this will end up being used
112
+ // with.
113
+ O.$$typeof === X || O.getModuleId !== void 0));
114
+ }
115
+ function A(O) {
116
+ if (typeof O == "object" && O !== null) {
117
+ var Be = O.$$typeof;
118
+ switch (Be) {
119
+ case e:
120
+ var Ae = O.type;
121
+ switch (Ae) {
122
+ case r:
123
+ case o:
124
+ case n:
125
+ case l:
126
+ case p:
127
+ return Ae;
128
+ default:
129
+ var we = Ae && Ae.$$typeof;
130
+ switch (we) {
131
+ case c:
132
+ case a:
133
+ case u:
134
+ case m:
135
+ case h:
136
+ case i:
137
+ return we;
138
+ default:
139
+ return Be;
140
+ }
141
+ }
142
+ case t:
143
+ return Be;
144
+ }
145
+ }
146
+ }
147
+ var x = a, W = i, J = e, U = u, Q = r, z = m, s = h, E = t, y = o, R = n, _ = l, Z = p, se = !1, te = !1;
148
+ function g(O) {
149
+ return se || (se = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
150
+ }
151
+ function C(O) {
152
+ return te || (te = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
153
+ }
154
+ function M(O) {
155
+ return A(O) === a;
156
+ }
157
+ function D(O) {
158
+ return A(O) === i;
159
+ }
160
+ function k(O) {
161
+ return typeof O == "object" && O !== null && O.$$typeof === e;
162
+ }
163
+ function V(O) {
164
+ return A(O) === u;
165
+ }
166
+ function I(O) {
167
+ return A(O) === r;
168
+ }
169
+ function j(O) {
170
+ return A(O) === m;
171
+ }
172
+ function F(O) {
173
+ return A(O) === h;
174
+ }
175
+ function G(O) {
176
+ return A(O) === t;
177
+ }
178
+ function L(O) {
179
+ return A(O) === o;
180
+ }
181
+ function ae(O) {
182
+ return A(O) === n;
183
+ }
184
+ function ie(O) {
185
+ return A(O) === l;
186
+ }
187
+ function he(O) {
188
+ return A(O) === p;
189
+ }
190
+ K.ContextConsumer = x, K.ContextProvider = W, K.Element = J, K.ForwardRef = U, K.Fragment = Q, K.Lazy = z, K.Memo = s, K.Portal = E, K.Profiler = y, K.StrictMode = R, K.Suspense = _, K.SuspenseList = Z, K.isAsyncMode = g, K.isConcurrentMode = C, K.isContextConsumer = M, K.isContextProvider = D, K.isElement = k, K.isForwardRef = V, K.isFragment = I, K.isLazy = j, K.isMemo = F, K.isPortal = G, K.isProfiler = L, K.isStrictMode = ae, K.isSuspense = ie, K.isSuspenseList = he, K.isValidElementType = w, K.typeOf = A;
191
+ })()), K;
192
+ }
193
+ var Jt;
194
+ function jt() {
195
+ return Jt || (Jt = 1, process.env.NODE_ENV === "production" ? He.exports = cn() : He.exports = un()), He.exports;
196
+ }
197
+ var bt, Zt;
198
+ function ln() {
199
+ if (Zt) return bt;
200
+ Zt = 1;
201
+ var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
202
+ function n(i) {
203
+ if (i == null)
204
+ throw new TypeError("Object.assign cannot be called with null or undefined");
205
+ return Object(i);
206
+ }
207
+ function o() {
208
+ try {
209
+ if (!Object.assign)
210
+ return !1;
211
+ var i = new String("abc");
212
+ if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
213
+ return !1;
214
+ for (var a = {}, c = 0; c < 10; c++)
215
+ a["_" + String.fromCharCode(c)] = c;
216
+ var u = Object.getOwnPropertyNames(a).map(function(p) {
217
+ return a[p];
218
+ });
219
+ if (u.join("") !== "0123456789")
220
+ return !1;
221
+ var l = {};
222
+ return "abcdefghijklmnopqrst".split("").forEach(function(p) {
223
+ l[p] = p;
224
+ }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
225
+ } catch {
226
+ return !1;
227
+ }
228
+ }
229
+ return bt = o() ? Object.assign : function(i, a) {
230
+ for (var c, u = n(i), l, p = 1; p < arguments.length; p++) {
231
+ c = Object(arguments[p]);
232
+ for (var h in c)
233
+ t.call(c, h) && (u[h] = c[h]);
234
+ if (e) {
235
+ l = e(c);
236
+ for (var m = 0; m < l.length; m++)
237
+ r.call(c, l[m]) && (u[l[m]] = c[l[m]]);
238
+ }
239
+ }
240
+ return u;
241
+ }, bt;
242
+ }
243
+ var vt, er;
244
+ function Bt() {
245
+ if (er) return vt;
246
+ er = 1;
247
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
248
+ return vt = e, vt;
249
+ }
250
+ var St, tr;
251
+ function Rr() {
252
+ return tr || (tr = 1, St = Function.call.bind(Object.prototype.hasOwnProperty)), St;
253
+ }
254
+ var Ct, rr;
255
+ function fn() {
256
+ if (rr) return Ct;
257
+ rr = 1;
258
+ var e = function() {
259
+ };
260
+ if (process.env.NODE_ENV !== "production") {
261
+ var t = /* @__PURE__ */ Bt(), r = {}, n = /* @__PURE__ */ Rr();
262
+ e = function(i) {
263
+ var a = "Warning: " + i;
264
+ typeof console < "u" && console.error(a);
265
+ try {
266
+ throw new Error(a);
267
+ } catch {
268
+ }
269
+ };
270
+ }
271
+ function o(i, a, c, u, l) {
272
+ if (process.env.NODE_ENV !== "production") {
273
+ for (var p in i)
274
+ if (n(i, p)) {
275
+ var h;
276
+ try {
277
+ if (typeof i[p] != "function") {
278
+ var m = Error(
279
+ (u || "React class") + ": " + c + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
280
+ );
281
+ throw m.name = "Invariant Violation", m;
282
+ }
283
+ h = i[p](a, p, u, c, null, t);
284
+ } catch (v) {
285
+ h = v;
286
+ }
287
+ if (h && !(h instanceof Error) && e(
288
+ (u || "React class") + ": type specification of " + c + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
289
+ ), h instanceof Error && !(h.message in r)) {
290
+ r[h.message] = !0;
291
+ var S = l ? l() : "";
292
+ e(
293
+ "Failed " + c + " type: " + h.message + (S ?? "")
294
+ );
295
+ }
296
+ }
297
+ }
298
+ }
299
+ return o.resetWarningCache = function() {
300
+ process.env.NODE_ENV !== "production" && (r = {});
301
+ }, Ct = o, Ct;
302
+ }
303
+ var Tt, nr;
304
+ function dn() {
305
+ if (nr) return Tt;
306
+ nr = 1;
307
+ var e = jt(), t = ln(), r = /* @__PURE__ */ Bt(), n = /* @__PURE__ */ Rr(), o = /* @__PURE__ */ fn(), i = function() {
308
+ };
309
+ process.env.NODE_ENV !== "production" && (i = function(c) {
310
+ var u = "Warning: " + c;
311
+ typeof console < "u" && console.error(u);
312
+ try {
313
+ throw new Error(u);
314
+ } catch {
315
+ }
316
+ });
317
+ function a() {
318
+ return null;
319
+ }
320
+ return Tt = function(c, u) {
321
+ var l = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
322
+ function h(g) {
323
+ var C = g && (l && g[l] || g[p]);
324
+ if (typeof C == "function")
325
+ return C;
326
+ }
327
+ var m = "<<anonymous>>", S = {
328
+ array: $("array"),
329
+ bigint: $("bigint"),
330
+ bool: $("boolean"),
331
+ func: $("function"),
332
+ number: $("number"),
333
+ object: $("object"),
334
+ string: $("string"),
335
+ symbol: $("symbol"),
336
+ any: N(),
337
+ arrayOf: X,
338
+ element: w(),
339
+ elementType: A(),
340
+ instanceOf: x,
341
+ node: Q(),
342
+ objectOf: J,
343
+ oneOf: W,
344
+ oneOfType: U,
345
+ shape: s,
346
+ exact: E
347
+ };
348
+ function v(g, C) {
349
+ return g === C ? g !== 0 || 1 / g === 1 / C : g !== g && C !== C;
350
+ }
351
+ function T(g, C) {
352
+ this.message = g, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
353
+ }
354
+ T.prototype = Error.prototype;
355
+ function f(g) {
356
+ if (process.env.NODE_ENV !== "production")
357
+ var C = {}, M = 0;
358
+ function D(V, I, j, F, G, L, ae) {
359
+ if (F = F || m, L = L || j, ae !== r) {
360
+ if (u) {
361
+ var ie = new Error(
362
+ "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"
363
+ );
364
+ throw ie.name = "Invariant Violation", ie;
365
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
366
+ var he = F + ":" + j;
367
+ !C[he] && // Avoid spamming the console because they are often not actionable except for lib authors
368
+ M < 3 && (i(
369
+ "You are manually calling a React.PropTypes validation function for the `" + L + "` prop on `" + F + "`. 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."
370
+ ), C[he] = !0, M++);
371
+ }
372
+ }
373
+ return I[j] == null ? V ? I[j] === null ? new T("The " + G + " `" + L + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new T("The " + G + " `" + L + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : g(I, j, F, G, L);
374
+ }
375
+ var k = D.bind(null, !1);
376
+ return k.isRequired = D.bind(null, !0), k;
377
+ }
378
+ function $(g) {
379
+ function C(M, D, k, V, I, j) {
380
+ var F = M[D], G = _(F);
381
+ if (G !== g) {
382
+ var L = Z(F);
383
+ return new T(
384
+ "Invalid " + V + " `" + I + "` of type " + ("`" + L + "` supplied to `" + k + "`, expected ") + ("`" + g + "`."),
385
+ { expectedType: g }
386
+ );
387
+ }
388
+ return null;
389
+ }
390
+ return f(C);
391
+ }
392
+ function N() {
393
+ return f(a);
394
+ }
395
+ function X(g) {
396
+ function C(M, D, k, V, I) {
397
+ if (typeof g != "function")
398
+ return new T("Property `" + I + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
399
+ var j = M[D];
400
+ if (!Array.isArray(j)) {
401
+ var F = _(j);
402
+ return new T("Invalid " + V + " `" + I + "` of type " + ("`" + F + "` supplied to `" + k + "`, expected an array."));
403
+ }
404
+ for (var G = 0; G < j.length; G++) {
405
+ var L = g(j, G, k, V, I + "[" + G + "]", r);
406
+ if (L instanceof Error)
407
+ return L;
408
+ }
409
+ return null;
410
+ }
411
+ return f(C);
412
+ }
413
+ function w() {
414
+ function g(C, M, D, k, V) {
415
+ var I = C[M];
416
+ if (!c(I)) {
417
+ var j = _(I);
418
+ return new T("Invalid " + k + " `" + V + "` of type " + ("`" + j + "` supplied to `" + D + "`, expected a single ReactElement."));
419
+ }
420
+ return null;
421
+ }
422
+ return f(g);
423
+ }
424
+ function A() {
425
+ function g(C, M, D, k, V) {
426
+ var I = C[M];
427
+ if (!e.isValidElementType(I)) {
428
+ var j = _(I);
429
+ return new T("Invalid " + k + " `" + V + "` of type " + ("`" + j + "` supplied to `" + D + "`, expected a single ReactElement type."));
430
+ }
431
+ return null;
432
+ }
433
+ return f(g);
434
+ }
435
+ function x(g) {
436
+ function C(M, D, k, V, I) {
437
+ if (!(M[D] instanceof g)) {
438
+ var j = g.name || m, F = te(M[D]);
439
+ return new T("Invalid " + V + " `" + I + "` of type " + ("`" + F + "` supplied to `" + k + "`, expected ") + ("instance of `" + j + "`."));
440
+ }
441
+ return null;
442
+ }
443
+ return f(C);
444
+ }
445
+ function W(g) {
446
+ if (!Array.isArray(g))
447
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
448
+ "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])."
449
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), a;
450
+ function C(M, D, k, V, I) {
451
+ for (var j = M[D], F = 0; F < g.length; F++)
452
+ if (v(j, g[F]))
453
+ return null;
454
+ var G = JSON.stringify(g, function(ae, ie) {
455
+ var he = Z(ie);
456
+ return he === "symbol" ? String(ie) : ie;
457
+ });
458
+ return new T("Invalid " + V + " `" + I + "` of value `" + String(j) + "` " + ("supplied to `" + k + "`, expected one of " + G + "."));
459
+ }
460
+ return f(C);
461
+ }
462
+ function J(g) {
463
+ function C(M, D, k, V, I) {
464
+ if (typeof g != "function")
465
+ return new T("Property `" + I + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
466
+ var j = M[D], F = _(j);
467
+ if (F !== "object")
468
+ return new T("Invalid " + V + " `" + I + "` of type " + ("`" + F + "` supplied to `" + k + "`, expected an object."));
469
+ for (var G in j)
470
+ if (n(j, G)) {
471
+ var L = g(j, G, k, V, I + "." + G, r);
472
+ if (L instanceof Error)
473
+ return L;
474
+ }
475
+ return null;
476
+ }
477
+ return f(C);
478
+ }
479
+ function U(g) {
480
+ if (!Array.isArray(g))
481
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
482
+ for (var C = 0; C < g.length; C++) {
483
+ var M = g[C];
484
+ if (typeof M != "function")
485
+ return i(
486
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + se(M) + " at index " + C + "."
487
+ ), a;
488
+ }
489
+ function D(k, V, I, j, F) {
490
+ for (var G = [], L = 0; L < g.length; L++) {
491
+ var ae = g[L], ie = ae(k, V, I, j, F, r);
492
+ if (ie == null)
493
+ return null;
494
+ ie.data && n(ie.data, "expectedType") && G.push(ie.data.expectedType);
495
+ }
496
+ var he = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
497
+ return new T("Invalid " + j + " `" + F + "` supplied to " + ("`" + I + "`" + he + "."));
498
+ }
499
+ return f(D);
500
+ }
501
+ function Q() {
502
+ function g(C, M, D, k, V) {
503
+ return y(C[M]) ? null : new T("Invalid " + k + " `" + V + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
504
+ }
505
+ return f(g);
506
+ }
507
+ function z(g, C, M, D, k) {
508
+ return new T(
509
+ (g || "React class") + ": " + C + " type `" + M + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`."
510
+ );
511
+ }
512
+ function s(g) {
513
+ function C(M, D, k, V, I) {
514
+ var j = M[D], F = _(j);
515
+ if (F !== "object")
516
+ return new T("Invalid " + V + " `" + I + "` of type `" + F + "` " + ("supplied to `" + k + "`, expected `object`."));
517
+ for (var G in g) {
518
+ var L = g[G];
519
+ if (typeof L != "function")
520
+ return z(k, V, I, G, Z(L));
521
+ var ae = L(j, G, k, V, I + "." + G, r);
522
+ if (ae)
523
+ return ae;
524
+ }
525
+ return null;
526
+ }
527
+ return f(C);
528
+ }
529
+ function E(g) {
530
+ function C(M, D, k, V, I) {
531
+ var j = M[D], F = _(j);
532
+ if (F !== "object")
533
+ return new T("Invalid " + V + " `" + I + "` of type `" + F + "` " + ("supplied to `" + k + "`, expected `object`."));
534
+ var G = t({}, M[D], g);
535
+ for (var L in G) {
536
+ var ae = g[L];
537
+ if (n(g, L) && typeof ae != "function")
538
+ return z(k, V, I, L, Z(ae));
539
+ if (!ae)
540
+ return new T(
541
+ "Invalid " + V + " `" + I + "` key `" + L + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(M[D], null, " ") + `
542
+ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
543
+ );
544
+ var ie = ae(j, L, k, V, I + "." + L, r);
545
+ if (ie)
546
+ return ie;
547
+ }
548
+ return null;
549
+ }
550
+ return f(C);
551
+ }
552
+ function y(g) {
553
+ switch (typeof g) {
554
+ case "number":
555
+ case "string":
556
+ case "undefined":
557
+ return !0;
558
+ case "boolean":
559
+ return !g;
560
+ case "object":
561
+ if (Array.isArray(g))
562
+ return g.every(y);
563
+ if (g === null || c(g))
564
+ return !0;
565
+ var C = h(g);
566
+ if (C) {
567
+ var M = C.call(g), D;
568
+ if (C !== g.entries) {
569
+ for (; !(D = M.next()).done; )
570
+ if (!y(D.value))
571
+ return !1;
572
+ } else
573
+ for (; !(D = M.next()).done; ) {
574
+ var k = D.value;
575
+ if (k && !y(k[1]))
576
+ return !1;
577
+ }
578
+ } else
579
+ return !1;
580
+ return !0;
581
+ default:
582
+ return !1;
583
+ }
584
+ }
585
+ function R(g, C) {
586
+ return g === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
587
+ }
588
+ function _(g) {
589
+ var C = typeof g;
590
+ return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : R(C, g) ? "symbol" : C;
591
+ }
592
+ function Z(g) {
593
+ if (typeof g > "u" || g === null)
594
+ return "" + g;
595
+ var C = _(g);
596
+ if (C === "object") {
597
+ if (g instanceof Date)
598
+ return "date";
599
+ if (g instanceof RegExp)
600
+ return "regexp";
601
+ }
602
+ return C;
603
+ }
604
+ function se(g) {
605
+ var C = Z(g);
606
+ switch (C) {
607
+ case "array":
608
+ case "object":
609
+ return "an " + C;
610
+ case "boolean":
611
+ case "date":
612
+ case "regexp":
613
+ return "a " + C;
614
+ default:
615
+ return C;
616
+ }
617
+ }
618
+ function te(g) {
619
+ return !g.constructor || !g.constructor.name ? m : g.constructor.name;
620
+ }
621
+ return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
622
+ }, Tt;
623
+ }
624
+ var Et, or;
625
+ function pn() {
626
+ if (or) return Et;
627
+ or = 1;
628
+ var e = /* @__PURE__ */ Bt();
629
+ function t() {
630
+ }
631
+ function r() {
632
+ }
633
+ return r.resetWarningCache = t, Et = function() {
634
+ function n(a, c, u, l, p, h) {
635
+ if (h !== e) {
636
+ var m = new Error(
637
+ "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"
638
+ );
639
+ throw m.name = "Invariant Violation", m;
640
+ }
641
+ }
642
+ n.isRequired = n;
643
+ function o() {
644
+ return n;
645
+ }
646
+ var i = {
647
+ array: n,
648
+ bigint: n,
649
+ bool: n,
650
+ func: n,
651
+ number: n,
652
+ object: n,
653
+ string: n,
654
+ symbol: n,
655
+ any: n,
656
+ arrayOf: o,
657
+ element: n,
658
+ elementType: n,
659
+ instanceOf: o,
660
+ node: n,
661
+ objectOf: o,
662
+ oneOf: o,
663
+ oneOfType: o,
664
+ shape: o,
665
+ exact: o,
666
+ checkPropTypes: r,
667
+ resetWarningCache: t
668
+ };
669
+ return i.PropTypes = i, i;
670
+ }, Et;
671
+ }
672
+ var ir;
673
+ function hn() {
674
+ if (ir) return Ye.exports;
675
+ if (ir = 1, process.env.NODE_ENV !== "production") {
676
+ var e = jt(), t = !0;
677
+ Ye.exports = /* @__PURE__ */ dn()(e.isElement, t);
678
+ } else
679
+ Ye.exports = /* @__PURE__ */ pn()();
680
+ return Ye.exports;
681
+ }
682
+ var mn = /* @__PURE__ */ hn();
683
+ const b = /* @__PURE__ */ an(mn);
684
+ function Ar(e) {
685
+ var t, r, n = "";
686
+ if (typeof e == "string" || typeof e == "number") n += e;
687
+ else if (typeof e == "object") if (Array.isArray(e)) {
688
+ var o = e.length;
689
+ for (t = 0; t < o; t++) e[t] && (r = Ar(e[t])) && (n && (n += " "), n += r);
690
+ } else for (r in e) e[r] && (n && (n += " "), n += r);
691
+ return n;
692
+ }
693
+ function pe() {
694
+ for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Ar(e)) && (n && (n += " "), n += t);
695
+ return n;
696
+ }
697
+ function gn(e, t, r = void 0) {
698
+ const n = {};
699
+ for (const o in e) {
700
+ const i = e[o];
701
+ let a = "", c = !0;
702
+ for (let u = 0; u < i.length; u += 1) {
703
+ const l = i[u];
704
+ l && (a += (c === !0 ? "" : " ") + t(l), c = !1, r && r[l] && (a += " " + r[l]));
705
+ }
706
+ n[o] = a;
707
+ }
708
+ return n;
709
+ }
710
+ var tt = jt();
711
+ function be(e) {
712
+ if (typeof e != "object" || e === null)
713
+ return !1;
714
+ const t = Object.getPrototypeOf(e);
715
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
716
+ }
717
+ function kr(e) {
718
+ if (/* @__PURE__ */ B.isValidElement(e) || tt.isValidElementType(e) || !be(e))
719
+ return e;
720
+ const t = {};
721
+ return Object.keys(e).forEach((r) => {
722
+ t[r] = kr(e[r]);
723
+ }), t;
724
+ }
725
+ function ue(e, t, r = {
726
+ clone: !0
727
+ }) {
728
+ const n = r.clone ? {
729
+ ...e
730
+ } : e;
731
+ return be(e) && be(t) && Object.keys(t).forEach((o) => {
732
+ /* @__PURE__ */ B.isValidElement(t[o]) || tt.isValidElementType(t[o]) ? n[o] = t[o] : be(t[o]) && // Avoid prototype pollution
733
+ Object.prototype.hasOwnProperty.call(e, o) && be(e[o]) ? n[o] = ue(e[o], t[o], r) : r.clone ? n[o] = be(t[o]) ? kr(t[o]) : t[o] : n[o] = t[o];
734
+ }), n;
735
+ }
736
+ function ze(e, t) {
737
+ return t ? ue(e, t, {
738
+ clone: !1
739
+ // No need to clone deep, it's way faster.
740
+ }) : e;
741
+ }
742
+ const Ee = process.env.NODE_ENV !== "production" ? b.oneOfType([b.number, b.string, b.object, b.array]) : {};
743
+ function sr(e, t) {
744
+ if (!e.containerQueries)
745
+ return t;
746
+ const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
747
+ const i = /min-width:\s*([0-9.]+)/;
748
+ return +(n.match(i)?.[1] || 0) - +(o.match(i)?.[1] || 0);
749
+ });
750
+ return r.length ? r.reduce((n, o) => {
751
+ const i = t[o];
752
+ return delete n[o], n[o] = i, n;
753
+ }, {
754
+ ...t
755
+ }) : t;
756
+ }
757
+ function yn(e, t) {
758
+ return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
759
+ }
760
+ function bn(e, t) {
761
+ const r = t.match(/^@([^/]+)?\/?(.+)?$/);
762
+ if (!r) {
763
+ if (process.env.NODE_ENV !== "production")
764
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
765
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : Ce(18, `(${t})`));
766
+ return null;
767
+ }
768
+ const [, n, o] = r, i = Number.isNaN(+n) ? n || 0 : +n;
769
+ return e.containerQueries(o).up(i);
770
+ }
771
+ function vn(e) {
772
+ const t = (i, a) => i.replace("@media", a ? `@container ${a}` : "@container");
773
+ function r(i, a) {
774
+ i.up = (...c) => t(e.breakpoints.up(...c), a), i.down = (...c) => t(e.breakpoints.down(...c), a), i.between = (...c) => t(e.breakpoints.between(...c), a), i.only = (...c) => t(e.breakpoints.only(...c), a), i.not = (...c) => {
775
+ const u = t(e.breakpoints.not(...c), a);
776
+ return u.includes("not all and") ? u.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : u;
777
+ };
778
+ }
779
+ const n = {}, o = (i) => (r(n, i), n);
780
+ return r(o), {
781
+ ...e,
782
+ containerQueries: o
783
+ };
784
+ }
785
+ const it = {
786
+ xs: 0,
787
+ // phone
788
+ sm: 600,
789
+ // tablet
790
+ md: 900,
791
+ // small laptop
792
+ lg: 1200,
793
+ // desktop
794
+ xl: 1536
795
+ // large screen
796
+ }, ar = {
797
+ // Sorted ASC by size. That's important.
798
+ // It can't be configured as it's used statically for propTypes.
799
+ keys: ["xs", "sm", "md", "lg", "xl"],
800
+ up: (e) => `@media (min-width:${it[e]}px)`
801
+ }, Sn = {
802
+ containerQueries: (e) => ({
803
+ up: (t) => {
804
+ let r = typeof t == "number" ? t : it[t] || t;
805
+ return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
806
+ }
807
+ })
808
+ };
809
+ function ve(e, t, r) {
810
+ const n = e.theme || {};
811
+ if (Array.isArray(t)) {
812
+ const i = n.breakpoints || ar;
813
+ return t.reduce((a, c, u) => (a[i.up(i.keys[u])] = r(t[u]), a), {});
814
+ }
815
+ if (typeof t == "object") {
816
+ const i = n.breakpoints || ar;
817
+ return Object.keys(t).reduce((a, c) => {
818
+ if (yn(i.keys, c)) {
819
+ const u = bn(n.containerQueries ? n : Sn, c);
820
+ u && (a[u] = r(t[c], c));
821
+ } else if (Object.keys(i.values || it).includes(c)) {
822
+ const u = i.up(c);
823
+ a[u] = r(t[c], c);
824
+ } else {
825
+ const u = c;
826
+ a[u] = t[u];
827
+ }
828
+ return a;
829
+ }, {});
830
+ }
831
+ return r(t);
832
+ }
833
+ function Cn(e = {}) {
834
+ return e.keys?.reduce((r, n) => {
835
+ const o = e.up(n);
836
+ return r[o] = {}, r;
837
+ }, {}) || {};
838
+ }
839
+ function cr(e, t) {
840
+ return e.reduce((r, n) => {
841
+ const o = r[n];
842
+ return (!o || Object.keys(o).length === 0) && delete r[n], r;
843
+ }, t);
844
+ }
845
+ function st(e, t, r = !0) {
846
+ if (!t || typeof t != "string")
847
+ return null;
848
+ if (e && e.vars && r) {
849
+ const n = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
850
+ if (n != null)
851
+ return n;
852
+ }
853
+ return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
854
+ }
855
+ function rt(e, t, r, n = r) {
856
+ let o;
857
+ return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = st(e, r) || n, t && (o = t(o, n, e)), o;
858
+ }
859
+ function oe(e) {
860
+ const {
861
+ prop: t,
862
+ cssProperty: r = e.prop,
863
+ themeKey: n,
864
+ transform: o
865
+ } = e, i = (a) => {
866
+ if (a[t] == null)
867
+ return null;
868
+ const c = a[t], u = a.theme, l = st(u, n) || {};
869
+ return ve(a, c, (h) => {
870
+ let m = rt(l, o, h);
871
+ return h === m && typeof h == "string" && (m = rt(l, o, `${t}${h === "default" ? "" : Dt(h)}`, h)), r === !1 ? m : {
872
+ [r]: m
873
+ };
874
+ });
875
+ };
876
+ return i.propTypes = process.env.NODE_ENV !== "production" ? {
877
+ [t]: Ee
878
+ } : {}, i.filterProps = [t], i;
879
+ }
880
+ function Tn(e) {
881
+ const t = {};
882
+ return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
883
+ }
884
+ const En = {
885
+ m: "margin",
886
+ p: "padding"
887
+ }, wn = {
888
+ t: "Top",
889
+ r: "Right",
890
+ b: "Bottom",
891
+ l: "Left",
892
+ x: ["Left", "Right"],
893
+ y: ["Top", "Bottom"]
894
+ }, ur = {
895
+ marginX: "mx",
896
+ marginY: "my",
897
+ paddingX: "px",
898
+ paddingY: "py"
899
+ }, xn = Tn((e) => {
900
+ if (e.length > 2)
901
+ if (ur[e])
902
+ e = ur[e];
903
+ else
904
+ return [e];
905
+ const [t, r] = e.split(""), n = En[t], o = wn[r] || "";
906
+ return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
907
+ }), at = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], ct = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], On = [...at, ...ct];
908
+ function qe(e, t, r, n) {
909
+ const o = st(e, t, !0) ?? r;
910
+ 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) => {
911
+ if (typeof i == "string")
912
+ return i;
913
+ const a = Math.abs(i);
914
+ process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > o.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${a} > ${o.length - 1}, you need to add the missing values.`].join(`
915
+ `)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
916
+ `)));
917
+ const c = o[a];
918
+ return i >= 0 ? c : typeof c == "number" ? -c : typeof c == "string" && c.startsWith("var(") ? `calc(-1 * ${c})` : `-${c}`;
919
+ } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
920
+ `)), () => {
921
+ });
922
+ }
923
+ function Vt(e) {
924
+ return qe(e, "spacing", 8, "spacing");
925
+ }
926
+ function Ke(e, t) {
927
+ return typeof t == "string" || t == null ? t : e(t);
928
+ }
929
+ function $n(e, t) {
930
+ return (r) => e.reduce((n, o) => (n[o] = Ke(t, r), n), {});
931
+ }
932
+ function Rn(e, t, r, n) {
933
+ if (!t.includes(r))
934
+ return null;
935
+ const o = xn(r), i = $n(o, n), a = e[r];
936
+ return ve(e, a, i);
937
+ }
938
+ function Pr(e, t) {
939
+ const r = Vt(e.theme);
940
+ return Object.keys(e).map((n) => Rn(e, t, n, r)).reduce(ze, {});
941
+ }
942
+ function re(e) {
943
+ return Pr(e, at);
944
+ }
945
+ re.propTypes = process.env.NODE_ENV !== "production" ? at.reduce((e, t) => (e[t] = Ee, e), {}) : {};
946
+ re.filterProps = at;
947
+ function ne(e) {
948
+ return Pr(e, ct);
949
+ }
950
+ ne.propTypes = process.env.NODE_ENV !== "production" ? ct.reduce((e, t) => (e[t] = Ee, e), {}) : {};
951
+ ne.filterProps = ct;
952
+ process.env.NODE_ENV !== "production" && On.reduce((e, t) => (e[t] = Ee, e), {});
953
+ function ut(...e) {
954
+ const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
955
+ n[i] = o;
956
+ }), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? ze(o, t[i](n)) : o, {});
957
+ return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
958
+ }
959
+ function fe(e) {
960
+ return typeof e != "number" ? e : `${e}px solid`;
961
+ }
962
+ function de(e, t) {
963
+ return oe({
964
+ prop: e,
965
+ themeKey: "borders",
966
+ transform: t
967
+ });
968
+ }
969
+ const An = de("border", fe), kn = de("borderTop", fe), Pn = de("borderRight", fe), _n = de("borderBottom", fe), Mn = de("borderLeft", fe), In = de("borderColor"), Nn = de("borderTopColor"), Dn = de("borderRightColor"), jn = de("borderBottomColor"), Bn = de("borderLeftColor"), Vn = de("outline", fe), Fn = de("outlineColor"), lt = (e) => {
970
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
971
+ const t = qe(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
972
+ borderRadius: Ke(t, n)
973
+ });
974
+ return ve(e, e.borderRadius, r);
975
+ }
976
+ return null;
977
+ };
978
+ lt.propTypes = process.env.NODE_ENV !== "production" ? {
979
+ borderRadius: Ee
980
+ } : {};
981
+ lt.filterProps = ["borderRadius"];
982
+ ut(An, kn, Pn, _n, Mn, In, Nn, Dn, jn, Bn, lt, Vn, Fn);
983
+ const ft = (e) => {
984
+ if (e.gap !== void 0 && e.gap !== null) {
985
+ const t = qe(e.theme, "spacing", 8, "gap"), r = (n) => ({
986
+ gap: Ke(t, n)
987
+ });
988
+ return ve(e, e.gap, r);
989
+ }
990
+ return null;
991
+ };
992
+ ft.propTypes = process.env.NODE_ENV !== "production" ? {
993
+ gap: Ee
994
+ } : {};
995
+ ft.filterProps = ["gap"];
996
+ const dt = (e) => {
997
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
998
+ const t = qe(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
999
+ columnGap: Ke(t, n)
1000
+ });
1001
+ return ve(e, e.columnGap, r);
1002
+ }
1003
+ return null;
1004
+ };
1005
+ dt.propTypes = process.env.NODE_ENV !== "production" ? {
1006
+ columnGap: Ee
1007
+ } : {};
1008
+ dt.filterProps = ["columnGap"];
1009
+ const pt = (e) => {
1010
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
1011
+ const t = qe(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
1012
+ rowGap: Ke(t, n)
1013
+ });
1014
+ return ve(e, e.rowGap, r);
1015
+ }
1016
+ return null;
1017
+ };
1018
+ pt.propTypes = process.env.NODE_ENV !== "production" ? {
1019
+ rowGap: Ee
1020
+ } : {};
1021
+ pt.filterProps = ["rowGap"];
1022
+ const Ln = oe({
1023
+ prop: "gridColumn"
1024
+ }), Wn = oe({
1025
+ prop: "gridRow"
1026
+ }), Un = oe({
1027
+ prop: "gridAutoFlow"
1028
+ }), zn = oe({
1029
+ prop: "gridAutoColumns"
1030
+ }), Gn = oe({
1031
+ prop: "gridAutoRows"
1032
+ }), qn = oe({
1033
+ prop: "gridTemplateColumns"
1034
+ }), Kn = oe({
1035
+ prop: "gridTemplateRows"
1036
+ }), Yn = oe({
1037
+ prop: "gridTemplateAreas"
1038
+ }), Hn = oe({
1039
+ prop: "gridArea"
1040
+ });
1041
+ ut(ft, dt, pt, Ln, Wn, Un, zn, Gn, qn, Kn, Yn, Hn);
1042
+ function De(e, t) {
1043
+ return t === "grey" ? t : e;
1044
+ }
1045
+ const Xn = oe({
1046
+ prop: "color",
1047
+ themeKey: "palette",
1048
+ transform: De
1049
+ }), Qn = oe({
1050
+ prop: "bgcolor",
1051
+ cssProperty: "backgroundColor",
1052
+ themeKey: "palette",
1053
+ transform: De
1054
+ }), Jn = oe({
1055
+ prop: "backgroundColor",
1056
+ themeKey: "palette",
1057
+ transform: De
1058
+ });
1059
+ ut(Xn, Qn, Jn);
1060
+ function ce(e) {
1061
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1062
+ }
1063
+ const Zn = oe({
1064
+ prop: "width",
1065
+ transform: ce
1066
+ }), Ft = (e) => {
1067
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1068
+ const t = (r) => {
1069
+ const n = e.theme?.breakpoints?.values?.[r] || it[r];
1070
+ return n ? e.theme?.breakpoints?.unit !== "px" ? {
1071
+ maxWidth: `${n}${e.theme.breakpoints.unit}`
1072
+ } : {
1073
+ maxWidth: n
1074
+ } : {
1075
+ maxWidth: ce(r)
1076
+ };
1077
+ };
1078
+ return ve(e, e.maxWidth, t);
1079
+ }
1080
+ return null;
1081
+ };
1082
+ Ft.filterProps = ["maxWidth"];
1083
+ const eo = oe({
1084
+ prop: "minWidth",
1085
+ transform: ce
1086
+ }), to = oe({
1087
+ prop: "height",
1088
+ transform: ce
1089
+ }), ro = oe({
1090
+ prop: "maxHeight",
1091
+ transform: ce
1092
+ }), no = oe({
1093
+ prop: "minHeight",
1094
+ transform: ce
1095
+ });
1096
+ oe({
1097
+ prop: "size",
1098
+ cssProperty: "width",
1099
+ transform: ce
1100
+ });
1101
+ oe({
1102
+ prop: "size",
1103
+ cssProperty: "height",
1104
+ transform: ce
1105
+ });
1106
+ const oo = oe({
1107
+ prop: "boxSizing"
1108
+ });
1109
+ ut(Zn, Ft, eo, to, ro, no, oo);
1110
+ const ht = {
1111
+ // borders
1112
+ border: {
1113
+ themeKey: "borders",
1114
+ transform: fe
1115
+ },
1116
+ borderTop: {
1117
+ themeKey: "borders",
1118
+ transform: fe
1119
+ },
1120
+ borderRight: {
1121
+ themeKey: "borders",
1122
+ transform: fe
1123
+ },
1124
+ borderBottom: {
1125
+ themeKey: "borders",
1126
+ transform: fe
1127
+ },
1128
+ borderLeft: {
1129
+ themeKey: "borders",
1130
+ transform: fe
1131
+ },
1132
+ borderColor: {
1133
+ themeKey: "palette"
1134
+ },
1135
+ borderTopColor: {
1136
+ themeKey: "palette"
1137
+ },
1138
+ borderRightColor: {
1139
+ themeKey: "palette"
1140
+ },
1141
+ borderBottomColor: {
1142
+ themeKey: "palette"
1143
+ },
1144
+ borderLeftColor: {
1145
+ themeKey: "palette"
1146
+ },
1147
+ outline: {
1148
+ themeKey: "borders",
1149
+ transform: fe
1150
+ },
1151
+ outlineColor: {
1152
+ themeKey: "palette"
1153
+ },
1154
+ borderRadius: {
1155
+ themeKey: "shape.borderRadius",
1156
+ style: lt
1157
+ },
1158
+ // palette
1159
+ color: {
1160
+ themeKey: "palette",
1161
+ transform: De
1162
+ },
1163
+ bgcolor: {
1164
+ themeKey: "palette",
1165
+ cssProperty: "backgroundColor",
1166
+ transform: De
1167
+ },
1168
+ backgroundColor: {
1169
+ themeKey: "palette",
1170
+ transform: De
1171
+ },
1172
+ // spacing
1173
+ p: {
1174
+ style: ne
1175
+ },
1176
+ pt: {
1177
+ style: ne
1178
+ },
1179
+ pr: {
1180
+ style: ne
1181
+ },
1182
+ pb: {
1183
+ style: ne
1184
+ },
1185
+ pl: {
1186
+ style: ne
1187
+ },
1188
+ px: {
1189
+ style: ne
1190
+ },
1191
+ py: {
1192
+ style: ne
1193
+ },
1194
+ padding: {
1195
+ style: ne
1196
+ },
1197
+ paddingTop: {
1198
+ style: ne
1199
+ },
1200
+ paddingRight: {
1201
+ style: ne
1202
+ },
1203
+ paddingBottom: {
1204
+ style: ne
1205
+ },
1206
+ paddingLeft: {
1207
+ style: ne
1208
+ },
1209
+ paddingX: {
1210
+ style: ne
1211
+ },
1212
+ paddingY: {
1213
+ style: ne
1214
+ },
1215
+ paddingInline: {
1216
+ style: ne
1217
+ },
1218
+ paddingInlineStart: {
1219
+ style: ne
1220
+ },
1221
+ paddingInlineEnd: {
1222
+ style: ne
1223
+ },
1224
+ paddingBlock: {
1225
+ style: ne
1226
+ },
1227
+ paddingBlockStart: {
1228
+ style: ne
1229
+ },
1230
+ paddingBlockEnd: {
1231
+ style: ne
1232
+ },
1233
+ m: {
1234
+ style: re
1235
+ },
1236
+ mt: {
1237
+ style: re
1238
+ },
1239
+ mr: {
1240
+ style: re
1241
+ },
1242
+ mb: {
1243
+ style: re
1244
+ },
1245
+ ml: {
1246
+ style: re
1247
+ },
1248
+ mx: {
1249
+ style: re
1250
+ },
1251
+ my: {
1252
+ style: re
1253
+ },
1254
+ margin: {
1255
+ style: re
1256
+ },
1257
+ marginTop: {
1258
+ style: re
1259
+ },
1260
+ marginRight: {
1261
+ style: re
1262
+ },
1263
+ marginBottom: {
1264
+ style: re
1265
+ },
1266
+ marginLeft: {
1267
+ style: re
1268
+ },
1269
+ marginX: {
1270
+ style: re
1271
+ },
1272
+ marginY: {
1273
+ style: re
1274
+ },
1275
+ marginInline: {
1276
+ style: re
1277
+ },
1278
+ marginInlineStart: {
1279
+ style: re
1280
+ },
1281
+ marginInlineEnd: {
1282
+ style: re
1283
+ },
1284
+ marginBlock: {
1285
+ style: re
1286
+ },
1287
+ marginBlockStart: {
1288
+ style: re
1289
+ },
1290
+ marginBlockEnd: {
1291
+ style: re
1292
+ },
1293
+ // display
1294
+ displayPrint: {
1295
+ cssProperty: !1,
1296
+ transform: (e) => ({
1297
+ "@media print": {
1298
+ display: e
1299
+ }
1300
+ })
1301
+ },
1302
+ display: {},
1303
+ overflow: {},
1304
+ textOverflow: {},
1305
+ visibility: {},
1306
+ whiteSpace: {},
1307
+ // flexbox
1308
+ flexBasis: {},
1309
+ flexDirection: {},
1310
+ flexWrap: {},
1311
+ justifyContent: {},
1312
+ alignItems: {},
1313
+ alignContent: {},
1314
+ order: {},
1315
+ flex: {},
1316
+ flexGrow: {},
1317
+ flexShrink: {},
1318
+ alignSelf: {},
1319
+ justifyItems: {},
1320
+ justifySelf: {},
1321
+ // grid
1322
+ gap: {
1323
+ style: ft
1324
+ },
1325
+ rowGap: {
1326
+ style: pt
1327
+ },
1328
+ columnGap: {
1329
+ style: dt
1330
+ },
1331
+ gridColumn: {},
1332
+ gridRow: {},
1333
+ gridAutoFlow: {},
1334
+ gridAutoColumns: {},
1335
+ gridAutoRows: {},
1336
+ gridTemplateColumns: {},
1337
+ gridTemplateRows: {},
1338
+ gridTemplateAreas: {},
1339
+ gridArea: {},
1340
+ // positions
1341
+ position: {},
1342
+ zIndex: {
1343
+ themeKey: "zIndex"
1344
+ },
1345
+ top: {},
1346
+ right: {},
1347
+ bottom: {},
1348
+ left: {},
1349
+ // shadows
1350
+ boxShadow: {
1351
+ themeKey: "shadows"
1352
+ },
1353
+ // sizing
1354
+ width: {
1355
+ transform: ce
1356
+ },
1357
+ maxWidth: {
1358
+ style: Ft
1359
+ },
1360
+ minWidth: {
1361
+ transform: ce
1362
+ },
1363
+ height: {
1364
+ transform: ce
1365
+ },
1366
+ maxHeight: {
1367
+ transform: ce
1368
+ },
1369
+ minHeight: {
1370
+ transform: ce
1371
+ },
1372
+ boxSizing: {},
1373
+ // typography
1374
+ font: {
1375
+ themeKey: "font"
1376
+ },
1377
+ fontFamily: {
1378
+ themeKey: "typography"
1379
+ },
1380
+ fontSize: {
1381
+ themeKey: "typography"
1382
+ },
1383
+ fontStyle: {
1384
+ themeKey: "typography"
1385
+ },
1386
+ fontWeight: {
1387
+ themeKey: "typography"
1388
+ },
1389
+ letterSpacing: {},
1390
+ textTransform: {},
1391
+ lineHeight: {},
1392
+ textAlign: {},
1393
+ typography: {
1394
+ cssProperty: !1,
1395
+ themeKey: "typography"
1396
+ }
1397
+ };
1398
+ function io(...e) {
1399
+ const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
1400
+ return e.every((n) => r.size === Object.keys(n).length);
1401
+ }
1402
+ function so(e, t) {
1403
+ return typeof e == "function" ? e(t) : e;
1404
+ }
1405
+ function ao() {
1406
+ function e(r, n, o, i) {
1407
+ const a = {
1408
+ [r]: n,
1409
+ theme: o
1410
+ }, c = i[r];
1411
+ if (!c)
1412
+ return {
1413
+ [r]: n
1414
+ };
1415
+ const {
1416
+ cssProperty: u = r,
1417
+ themeKey: l,
1418
+ transform: p,
1419
+ style: h
1420
+ } = c;
1421
+ if (n == null)
1422
+ return null;
1423
+ if (l === "typography" && n === "inherit")
1424
+ return {
1425
+ [r]: n
1426
+ };
1427
+ const m = st(o, l) || {};
1428
+ return h ? h(a) : ve(a, n, (v) => {
1429
+ let T = rt(m, p, v);
1430
+ return v === T && typeof v == "string" && (T = rt(m, p, `${r}${v === "default" ? "" : Dt(v)}`, v)), u === !1 ? T : {
1431
+ [u]: T
1432
+ };
1433
+ });
1434
+ }
1435
+ function t(r) {
1436
+ const {
1437
+ sx: n,
1438
+ theme: o = {},
1439
+ nested: i
1440
+ } = r || {};
1441
+ if (!n)
1442
+ return null;
1443
+ const a = o.unstable_sxConfig ?? ht;
1444
+ function c(u) {
1445
+ let l = u;
1446
+ if (typeof u == "function")
1447
+ l = u(o);
1448
+ else if (typeof u != "object")
1449
+ return u;
1450
+ if (!l)
1451
+ return null;
1452
+ const p = Cn(o.breakpoints), h = Object.keys(p);
1453
+ let m = p;
1454
+ return Object.keys(l).forEach((S) => {
1455
+ const v = so(l[S], o);
1456
+ if (v != null)
1457
+ if (typeof v == "object")
1458
+ if (a[S])
1459
+ m = ze(m, e(S, v, o, a));
1460
+ else {
1461
+ const T = ve({
1462
+ theme: o
1463
+ }, v, (f) => ({
1464
+ [S]: f
1465
+ }));
1466
+ io(T, v) ? m[S] = t({
1467
+ sx: v,
1468
+ theme: o,
1469
+ nested: !0
1470
+ }) : m = ze(m, T);
1471
+ }
1472
+ else
1473
+ m = ze(m, e(S, v, o, a));
1474
+ }), !i && o.modularCssLayers ? {
1475
+ "@layer sx": sr(o, cr(h, m))
1476
+ } : sr(o, cr(h, m));
1477
+ }
1478
+ return Array.isArray(n) ? n.map(c) : c(n);
1479
+ }
1480
+ return t;
1481
+ }
1482
+ const je = ao();
1483
+ je.filterProps = ["sx"];
1484
+ function co(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1485
+ return Math.max(t, Math.min(e, r));
1486
+ }
1487
+ function Lt(e, t = 0, r = 1) {
1488
+ return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), co(e, t, r);
1489
+ }
1490
+ function uo(e) {
1491
+ e = e.slice(1);
1492
+ const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1493
+ let r = e.match(t);
1494
+ return r && r[0].length === 1 && (r = r.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.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1495
+ }
1496
+ function Te(e) {
1497
+ if (e.type)
1498
+ return e;
1499
+ if (e.charAt(0) === "#")
1500
+ return Te(uo(e));
1501
+ const t = e.indexOf("("), r = e.substring(0, t);
1502
+ if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
1503
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1504
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Ce(9, e));
1505
+ let n = e.substring(t + 1, e.length - 1), o;
1506
+ if (r === "color") {
1507
+ 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))
1508
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
1509
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Ce(10, o));
1510
+ } else
1511
+ n = n.split(",");
1512
+ return n = n.map((i) => parseFloat(i)), {
1513
+ type: r,
1514
+ values: n,
1515
+ colorSpace: o
1516
+ };
1517
+ }
1518
+ const lo = (e) => {
1519
+ const t = Te(e);
1520
+ return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
1521
+ }, We = (e, t) => {
1522
+ try {
1523
+ return lo(e);
1524
+ } catch {
1525
+ return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
1526
+ }
1527
+ };
1528
+ function mt(e) {
1529
+ const {
1530
+ type: t,
1531
+ colorSpace: r
1532
+ } = e;
1533
+ let {
1534
+ values: n
1535
+ } = e;
1536
+ return t.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
1537
+ }
1538
+ function _r(e) {
1539
+ e = Te(e);
1540
+ const {
1541
+ values: t
1542
+ } = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), a = (l, p = (l + r / 30) % 12) => o - i * Math.max(Math.min(p - 3, 9 - p, 1), -1);
1543
+ let c = "rgb";
1544
+ const u = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
1545
+ return e.type === "hsla" && (c += "a", u.push(t[3])), mt({
1546
+ type: c,
1547
+ values: u
1548
+ });
1549
+ }
1550
+ function Rt(e) {
1551
+ e = Te(e);
1552
+ let t = e.type === "hsl" || e.type === "hsla" ? Te(_r(e)).values : e.values;
1553
+ return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
1554
+ }
1555
+ function lr(e, t) {
1556
+ const r = Rt(e), n = Rt(t);
1557
+ return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
1558
+ }
1559
+ function Mr(e, t) {
1560
+ return e = Te(e), t = Lt(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, mt(e);
1561
+ }
1562
+ function xe(e, t, r) {
1563
+ try {
1564
+ return Mr(e, t);
1565
+ } catch {
1566
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1567
+ }
1568
+ }
1569
+ function gt(e, t) {
1570
+ if (e = Te(e), t = Lt(t), e.type.includes("hsl"))
1571
+ e.values[2] *= 1 - t;
1572
+ else if (e.type.includes("rgb") || e.type.includes("color"))
1573
+ for (let r = 0; r < 3; r += 1)
1574
+ e.values[r] *= 1 - t;
1575
+ return mt(e);
1576
+ }
1577
+ function Y(e, t, r) {
1578
+ try {
1579
+ return gt(e, t);
1580
+ } catch {
1581
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1582
+ }
1583
+ }
1584
+ function yt(e, t) {
1585
+ if (e = Te(e), t = Lt(t), e.type.includes("hsl"))
1586
+ e.values[2] += (100 - e.values[2]) * t;
1587
+ else if (e.type.includes("rgb"))
1588
+ for (let r = 0; r < 3; r += 1)
1589
+ e.values[r] += (255 - e.values[r]) * t;
1590
+ else if (e.type.includes("color"))
1591
+ for (let r = 0; r < 3; r += 1)
1592
+ e.values[r] += (1 - e.values[r]) * t;
1593
+ return mt(e);
1594
+ }
1595
+ function H(e, t, r) {
1596
+ try {
1597
+ return yt(e, t);
1598
+ } catch {
1599
+ return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
1600
+ }
1601
+ }
1602
+ function fo(e, t = 0.15) {
1603
+ return Rt(e) > 0.5 ? gt(e, t) : yt(e, t);
1604
+ }
1605
+ function Xe(e, t, r) {
1606
+ try {
1607
+ return fo(e, t);
1608
+ } catch {
1609
+ return e;
1610
+ }
1611
+ }
1612
+ const Ge = {
1613
+ black: "#000",
1614
+ white: "#fff"
1615
+ }, po = {
1616
+ 50: "#fafafa",
1617
+ 100: "#f5f5f5",
1618
+ 200: "#eeeeee",
1619
+ 300: "#e0e0e0",
1620
+ 400: "#bdbdbd",
1621
+ 500: "#9e9e9e",
1622
+ 600: "#757575",
1623
+ 700: "#616161",
1624
+ 800: "#424242",
1625
+ 900: "#212121",
1626
+ A100: "#f5f5f5",
1627
+ A200: "#eeeeee",
1628
+ A400: "#bdbdbd",
1629
+ A700: "#616161"
1630
+ }, ke = {
1631
+ 50: "#f3e5f5",
1632
+ 200: "#ce93d8",
1633
+ 300: "#ba68c8",
1634
+ 400: "#ab47bc",
1635
+ 500: "#9c27b0",
1636
+ 700: "#7b1fa2"
1637
+ }, Pe = {
1638
+ 300: "#e57373",
1639
+ 400: "#ef5350",
1640
+ 500: "#f44336",
1641
+ 700: "#d32f2f",
1642
+ 800: "#c62828"
1643
+ }, Fe = {
1644
+ 300: "#ffb74d",
1645
+ 400: "#ffa726",
1646
+ 500: "#ff9800",
1647
+ 700: "#f57c00",
1648
+ 900: "#e65100"
1649
+ }, _e = {
1650
+ 50: "#e3f2fd",
1651
+ 200: "#90caf9",
1652
+ 400: "#42a5f5",
1653
+ 700: "#1976d2",
1654
+ 800: "#1565c0"
1655
+ }, Me = {
1656
+ 300: "#4fc3f7",
1657
+ 400: "#29b6f6",
1658
+ 500: "#03a9f4",
1659
+ 700: "#0288d1",
1660
+ 900: "#01579b"
1661
+ }, Ie = {
1662
+ 300: "#81c784",
1663
+ 400: "#66bb6a",
1664
+ 500: "#4caf50",
1665
+ 700: "#388e3c",
1666
+ 800: "#2e7d32",
1667
+ 900: "#1b5e20"
1668
+ };
1669
+ function Ir() {
1670
+ return {
1671
+ // The colors used to style the text.
1672
+ text: {
1673
+ // The most important text.
1674
+ primary: "rgba(0, 0, 0, 0.87)",
1675
+ // Secondary text.
1676
+ secondary: "rgba(0, 0, 0, 0.6)",
1677
+ // Disabled text have even lower visual prominence.
1678
+ disabled: "rgba(0, 0, 0, 0.38)"
1679
+ },
1680
+ // The color used to divide different elements.
1681
+ divider: "rgba(0, 0, 0, 0.12)",
1682
+ // The background colors used to style the surfaces.
1683
+ // Consistency between these values is important.
1684
+ background: {
1685
+ paper: Ge.white,
1686
+ default: Ge.white
1687
+ },
1688
+ // The colors used to style the action elements.
1689
+ action: {
1690
+ // The color of an active action like an icon button.
1691
+ active: "rgba(0, 0, 0, 0.54)",
1692
+ // The color of an hovered action.
1693
+ hover: "rgba(0, 0, 0, 0.04)",
1694
+ hoverOpacity: 0.04,
1695
+ // The color of a selected action.
1696
+ selected: "rgba(0, 0, 0, 0.08)",
1697
+ selectedOpacity: 0.08,
1698
+ // The color of a disabled action.
1699
+ disabled: "rgba(0, 0, 0, 0.26)",
1700
+ // The background color of a disabled action.
1701
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
1702
+ disabledOpacity: 0.38,
1703
+ focus: "rgba(0, 0, 0, 0.12)",
1704
+ focusOpacity: 0.12,
1705
+ activatedOpacity: 0.12
1706
+ }
1707
+ };
1708
+ }
1709
+ const Nr = Ir();
1710
+ function Dr() {
1711
+ return {
1712
+ text: {
1713
+ primary: Ge.white,
1714
+ secondary: "rgba(255, 255, 255, 0.7)",
1715
+ disabled: "rgba(255, 255, 255, 0.5)",
1716
+ icon: "rgba(255, 255, 255, 0.5)"
1717
+ },
1718
+ divider: "rgba(255, 255, 255, 0.12)",
1719
+ background: {
1720
+ paper: "#121212",
1721
+ default: "#121212"
1722
+ },
1723
+ action: {
1724
+ active: Ge.white,
1725
+ hover: "rgba(255, 255, 255, 0.08)",
1726
+ hoverOpacity: 0.08,
1727
+ selected: "rgba(255, 255, 255, 0.16)",
1728
+ selectedOpacity: 0.16,
1729
+ disabled: "rgba(255, 255, 255, 0.3)",
1730
+ disabledBackground: "rgba(255, 255, 255, 0.12)",
1731
+ disabledOpacity: 0.38,
1732
+ focus: "rgba(255, 255, 255, 0.12)",
1733
+ focusOpacity: 0.12,
1734
+ activatedOpacity: 0.24
1735
+ }
1736
+ };
1737
+ }
1738
+ const At = Dr();
1739
+ function fr(e, t, r, n) {
1740
+ const o = n.light || n, i = n.dark || n * 1.5;
1741
+ e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = yt(e.main, o) : t === "dark" && (e.dark = gt(e.main, i)));
1742
+ }
1743
+ function dr(e, t, r, n, o) {
1744
+ const i = o.light || o, a = o.dark || o * 1.5;
1745
+ t[r] || (t.hasOwnProperty(n) ? t[r] = t[n] : r === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(i * 100).toFixed(0)}%)` : r === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(a * 100).toFixed(0)}%)`));
1746
+ }
1747
+ function ho(e = "light") {
1748
+ return e === "dark" ? {
1749
+ main: _e[200],
1750
+ light: _e[50],
1751
+ dark: _e[400]
1752
+ } : {
1753
+ main: _e[700],
1754
+ light: _e[400],
1755
+ dark: _e[800]
1756
+ };
1757
+ }
1758
+ function mo(e = "light") {
1759
+ return e === "dark" ? {
1760
+ main: ke[200],
1761
+ light: ke[50],
1762
+ dark: ke[400]
1763
+ } : {
1764
+ main: ke[500],
1765
+ light: ke[300],
1766
+ dark: ke[700]
1767
+ };
1768
+ }
1769
+ function go(e = "light") {
1770
+ return e === "dark" ? {
1771
+ main: Pe[500],
1772
+ light: Pe[300],
1773
+ dark: Pe[700]
1774
+ } : {
1775
+ main: Pe[700],
1776
+ light: Pe[400],
1777
+ dark: Pe[800]
1778
+ };
1779
+ }
1780
+ function yo(e = "light") {
1781
+ return e === "dark" ? {
1782
+ main: Me[400],
1783
+ light: Me[300],
1784
+ dark: Me[700]
1785
+ } : {
1786
+ main: Me[700],
1787
+ light: Me[500],
1788
+ dark: Me[900]
1789
+ };
1790
+ }
1791
+ function bo(e = "light") {
1792
+ return e === "dark" ? {
1793
+ main: Ie[400],
1794
+ light: Ie[300],
1795
+ dark: Ie[700]
1796
+ } : {
1797
+ main: Ie[800],
1798
+ light: Ie[500],
1799
+ dark: Ie[900]
1800
+ };
1801
+ }
1802
+ function vo(e = "light") {
1803
+ return e === "dark" ? {
1804
+ main: Fe[400],
1805
+ light: Fe[300],
1806
+ dark: Fe[700]
1807
+ } : {
1808
+ main: "#ed6c02",
1809
+ // closest to orange[800] that pass 3:1.
1810
+ light: Fe[500],
1811
+ dark: Fe[900]
1812
+ };
1813
+ }
1814
+ function So(e) {
1815
+ return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
1816
+ }
1817
+ function Wt(e) {
1818
+ const {
1819
+ mode: t = "light",
1820
+ contrastThreshold: r = 3,
1821
+ tonalOffset: n = 0.2,
1822
+ colorSpace: o,
1823
+ ...i
1824
+ } = e, a = e.primary || ho(t), c = e.secondary || mo(t), u = e.error || go(t), l = e.info || yo(t), p = e.success || bo(t), h = e.warning || vo(t);
1825
+ function m(f) {
1826
+ if (o)
1827
+ return So(f);
1828
+ const $ = lr(f, At.text.primary) >= r ? At.text.primary : Nr.text.primary;
1829
+ if (process.env.NODE_ENV !== "production") {
1830
+ const N = lr(f, $);
1831
+ N < 3 && console.error([`MUI: The contrast ratio of ${N}:1 for ${$} on ${f}`, "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(`
1832
+ `));
1833
+ }
1834
+ return $;
1835
+ }
1836
+ const S = ({
1837
+ color: f,
1838
+ name: $,
1839
+ mainShade: N = 500,
1840
+ lightShade: X = 300,
1841
+ darkShade: w = 700
1842
+ }) => {
1843
+ if (f = {
1844
+ ...f
1845
+ }, !f.main && f[N] && (f.main = f[N]), !f.hasOwnProperty("main"))
1846
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${$ ? ` (${$})` : ""} provided to augmentColor(color) is invalid.
1847
+ The color object needs to have a \`main\` property or a \`${N}\` property.` : Ce(11, $ ? ` (${$})` : "", N));
1848
+ if (typeof f.main != "string")
1849
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${$ ? ` (${$})` : ""} provided to augmentColor(color) is invalid.
1850
+ \`color.main\` should be a string, but \`${JSON.stringify(f.main)}\` was provided instead.
1851
+
1852
+ Did you intend to use one of the following approaches?
1853
+
1854
+ import { green } from "@mui/material/colors";
1855
+
1856
+ const theme1 = createTheme({ palette: {
1857
+ primary: green,
1858
+ } });
1859
+
1860
+ const theme2 = createTheme({ palette: {
1861
+ primary: { main: green[500] },
1862
+ } });` : Ce(12, $ ? ` (${$})` : "", JSON.stringify(f.main)));
1863
+ return o ? (dr(o, f, "light", X, n), dr(o, f, "dark", w, n)) : (fr(f, "light", X, n), fr(f, "dark", w, n)), f.contrastText || (f.contrastText = m(f.main)), f;
1864
+ };
1865
+ let v;
1866
+ return t === "light" ? v = Ir() : t === "dark" && (v = Dr()), process.env.NODE_ENV !== "production" && (v || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ue({
1867
+ // A collection of common colors.
1868
+ common: {
1869
+ ...Ge
1870
+ },
1871
+ // prevent mutable object.
1872
+ // The palette mode, can be light or dark.
1873
+ mode: t,
1874
+ // The colors used to represent primary interface elements for a user.
1875
+ primary: S({
1876
+ color: a,
1877
+ name: "primary"
1878
+ }),
1879
+ // The colors used to represent secondary interface elements for a user.
1880
+ secondary: S({
1881
+ color: c,
1882
+ name: "secondary",
1883
+ mainShade: "A400",
1884
+ lightShade: "A200",
1885
+ darkShade: "A700"
1886
+ }),
1887
+ // The colors used to represent interface elements that the user should be made aware of.
1888
+ error: S({
1889
+ color: u,
1890
+ name: "error"
1891
+ }),
1892
+ // The colors used to represent potentially dangerous actions or important messages.
1893
+ warning: S({
1894
+ color: h,
1895
+ name: "warning"
1896
+ }),
1897
+ // The colors used to present information to the user that is neutral and not necessarily important.
1898
+ info: S({
1899
+ color: l,
1900
+ name: "info"
1901
+ }),
1902
+ // The colors used to indicate the successful completion of an action that user triggered.
1903
+ success: S({
1904
+ color: p,
1905
+ name: "success"
1906
+ }),
1907
+ // The grey colors.
1908
+ grey: po,
1909
+ // Used by `getContrastText()` to maximize the contrast between
1910
+ // the background and the text.
1911
+ contrastThreshold: r,
1912
+ // Takes a background color and returns the text color that maximizes the contrast.
1913
+ getContrastText: m,
1914
+ // Generate a rich color object.
1915
+ augmentColor: S,
1916
+ // Used by the functions below to shift a color's luminance by approximately
1917
+ // two indexes within its tonal palette.
1918
+ // E.g., shift from Red 500 to Red 300 or Red 700.
1919
+ tonalOffset: n,
1920
+ // The light and dark mode object.
1921
+ ...v
1922
+ }, i);
1923
+ }
1924
+ function Co(e) {
1925
+ for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
1926
+ r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
1927
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
1928
+ r >>> 24, t = /* Math.imul(k, m): */
1929
+ (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1930
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1931
+ switch (o) {
1932
+ case 3:
1933
+ t ^= (e.charCodeAt(n + 2) & 255) << 16;
1934
+ case 2:
1935
+ t ^= (e.charCodeAt(n + 1) & 255) << 8;
1936
+ case 1:
1937
+ t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
1938
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1939
+ }
1940
+ return t ^= t >>> 13, t = /* Math.imul(h, m): */
1941
+ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
1942
+ }
1943
+ var To = {
1944
+ animationIterationCount: 1,
1945
+ aspectRatio: 1,
1946
+ borderImageOutset: 1,
1947
+ borderImageSlice: 1,
1948
+ borderImageWidth: 1,
1949
+ boxFlex: 1,
1950
+ boxFlexGroup: 1,
1951
+ boxOrdinalGroup: 1,
1952
+ columnCount: 1,
1953
+ columns: 1,
1954
+ flex: 1,
1955
+ flexGrow: 1,
1956
+ flexPositive: 1,
1957
+ flexShrink: 1,
1958
+ flexNegative: 1,
1959
+ flexOrder: 1,
1960
+ gridRow: 1,
1961
+ gridRowEnd: 1,
1962
+ gridRowSpan: 1,
1963
+ gridRowStart: 1,
1964
+ gridColumn: 1,
1965
+ gridColumnEnd: 1,
1966
+ gridColumnSpan: 1,
1967
+ gridColumnStart: 1,
1968
+ msGridRow: 1,
1969
+ msGridRowSpan: 1,
1970
+ msGridColumn: 1,
1971
+ msGridColumnSpan: 1,
1972
+ fontWeight: 1,
1973
+ lineHeight: 1,
1974
+ opacity: 1,
1975
+ order: 1,
1976
+ orphans: 1,
1977
+ scale: 1,
1978
+ tabSize: 1,
1979
+ widows: 1,
1980
+ zIndex: 1,
1981
+ zoom: 1,
1982
+ WebkitLineClamp: 1,
1983
+ // SVG-related properties
1984
+ fillOpacity: 1,
1985
+ floodOpacity: 1,
1986
+ stopOpacity: 1,
1987
+ strokeDasharray: 1,
1988
+ strokeDashoffset: 1,
1989
+ strokeMiterlimit: 1,
1990
+ strokeOpacity: 1,
1991
+ strokeWidth: 1
1992
+ };
1993
+ function Eo(e) {
1994
+ var t = /* @__PURE__ */ Object.create(null);
1995
+ return function(r) {
1996
+ return t[r] === void 0 && (t[r] = e(r)), t[r];
1997
+ };
1998
+ }
1999
+ var wo = /[A-Z]|^ms/g, xo = /_EMO_([^_]+?)_([^]*?)_EMO_/g, jr = function(t) {
2000
+ return t.charCodeAt(1) === 45;
2001
+ }, pr = function(t) {
2002
+ return t != null && typeof t != "boolean";
2003
+ }, wt = /* @__PURE__ */ Eo(function(e) {
2004
+ return jr(e) ? e : e.replace(wo, "-$&").toLowerCase();
2005
+ }), hr = function(t, r) {
2006
+ switch (t) {
2007
+ case "animation":
2008
+ case "animationName":
2009
+ if (typeof r == "string")
2010
+ return r.replace(xo, function(n, o, i) {
2011
+ return Se = {
2012
+ name: o,
2013
+ styles: i,
2014
+ next: Se
2015
+ }, o;
2016
+ });
2017
+ }
2018
+ return To[t] !== 1 && !jr(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
2019
+ };
2020
+ function nt(e, t, r) {
2021
+ if (r == null)
2022
+ return "";
2023
+ var n = r;
2024
+ if (n.__emotion_styles !== void 0)
2025
+ return n;
2026
+ switch (typeof r) {
2027
+ case "boolean":
2028
+ return "";
2029
+ case "object": {
2030
+ var o = r;
2031
+ if (o.anim === 1)
2032
+ return Se = {
2033
+ name: o.name,
2034
+ styles: o.styles,
2035
+ next: Se
2036
+ }, o.name;
2037
+ var i = r;
2038
+ if (i.styles !== void 0) {
2039
+ var a = i.next;
2040
+ if (a !== void 0)
2041
+ for (; a !== void 0; )
2042
+ Se = {
2043
+ name: a.name,
2044
+ styles: a.styles,
2045
+ next: Se
2046
+ }, a = a.next;
2047
+ var c = i.styles + ";";
2048
+ return c;
2049
+ }
2050
+ return Oo(e, t, r);
2051
+ }
2052
+ }
2053
+ var u = r;
2054
+ return u;
2055
+ }
2056
+ function Oo(e, t, r) {
2057
+ var n = "";
2058
+ if (Array.isArray(r))
2059
+ for (var o = 0; o < r.length; o++)
2060
+ n += nt(e, t, r[o]) + ";";
2061
+ else
2062
+ for (var i in r) {
2063
+ var a = r[i];
2064
+ if (typeof a != "object") {
2065
+ var c = a;
2066
+ pr(c) && (n += wt(i) + ":" + hr(i, c) + ";");
2067
+ } else if (Array.isArray(a) && typeof a[0] == "string" && t == null)
2068
+ for (var u = 0; u < a.length; u++)
2069
+ pr(a[u]) && (n += wt(i) + ":" + hr(i, a[u]) + ";");
2070
+ else {
2071
+ var l = nt(e, t, a);
2072
+ switch (i) {
2073
+ case "animation":
2074
+ case "animationName": {
2075
+ n += wt(i) + ":" + l + ";";
2076
+ break;
2077
+ }
2078
+ default:
2079
+ n += i + "{" + l + "}";
2080
+ }
2081
+ }
2082
+ }
2083
+ return n;
2084
+ }
2085
+ var mr = /label:\s*([^\s;{]+)\s*(;|$)/g, Se;
2086
+ function $o(e, t, r) {
2087
+ if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
2088
+ return e[0];
2089
+ var n = !0, o = "";
2090
+ Se = void 0;
2091
+ var i = e[0];
2092
+ if (i == null || i.raw === void 0)
2093
+ n = !1, o += nt(r, t, i);
2094
+ else {
2095
+ var a = i;
2096
+ o += a[0];
2097
+ }
2098
+ for (var c = 1; c < e.length; c++)
2099
+ if (o += nt(r, t, e[c]), n) {
2100
+ var u = i;
2101
+ o += u[c];
2102
+ }
2103
+ mr.lastIndex = 0;
2104
+ for (var l = "", p; (p = mr.exec(o)) !== null; )
2105
+ l += "-" + p[1];
2106
+ var h = Co(o) + l;
2107
+ return {
2108
+ name: h,
2109
+ styles: o,
2110
+ next: Se
2111
+ };
2112
+ }
2113
+ function Ro(e, t) {
2114
+ const r = nn(e, t);
2115
+ return process.env.NODE_ENV !== "production" ? (...n) => {
2116
+ const o = typeof e == "string" ? `"${e}"` : "component";
2117
+ 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(`
2118
+ `)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
2119
+ } : r;
2120
+ }
2121
+ function Ao(e, t) {
2122
+ Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
2123
+ }
2124
+ const gr = [];
2125
+ function Re(e) {
2126
+ return gr[0] = e, $o(gr);
2127
+ }
2128
+ const ko = typeof window < "u" ? B.useLayoutEffect : B.useEffect;
2129
+ function kt(e, t, r = !1) {
2130
+ const n = {
2131
+ ...t
2132
+ };
2133
+ for (const o in e)
2134
+ if (Object.prototype.hasOwnProperty.call(e, o)) {
2135
+ const i = o;
2136
+ if (i === "components" || i === "slots")
2137
+ n[i] = {
2138
+ ...e[i],
2139
+ ...n[i]
2140
+ };
2141
+ else if (i === "componentsProps" || i === "slotProps") {
2142
+ const a = e[i], c = t[i];
2143
+ if (!c)
2144
+ n[i] = a || {};
2145
+ else if (!a)
2146
+ n[i] = c;
2147
+ else {
2148
+ n[i] = {
2149
+ ...c
2150
+ };
2151
+ for (const u in a)
2152
+ if (Object.prototype.hasOwnProperty.call(a, u)) {
2153
+ const l = u;
2154
+ n[i][l] = kt(a[l], c[l], r);
2155
+ }
2156
+ }
2157
+ } else i === "className" && r && t.className ? n.className = pe(e?.className, t?.className) : i === "style" && r && t.style ? n.style = {
2158
+ ...e?.style,
2159
+ ...t?.style
2160
+ } : n[i] === void 0 && (n[i] = e[i]);
2161
+ }
2162
+ return n;
2163
+ }
2164
+ const Po = /* @__PURE__ */ B.createContext(void 0);
2165
+ process.env.NODE_ENV !== "production" && (b.node, b.object);
2166
+ function _o(e) {
2167
+ const {
2168
+ theme: t,
2169
+ name: r,
2170
+ props: n
2171
+ } = e;
2172
+ if (!t || !t.components || !t.components[r])
2173
+ return n;
2174
+ const o = t.components[r];
2175
+ return o.defaultProps ? kt(o.defaultProps, n, t.components.mergeClassNameAndStyle) : !o.styleOverrides && !o.variants ? kt(o, n, t.components.mergeClassNameAndStyle) : n;
2176
+ }
2177
+ function Mo({
2178
+ props: e,
2179
+ name: t
2180
+ }) {
2181
+ const r = B.useContext(Po);
2182
+ return _o({
2183
+ props: e,
2184
+ name: t,
2185
+ theme: {
2186
+ components: r
2187
+ }
2188
+ });
2189
+ }
2190
+ const Io = (e) => {
2191
+ const t = Object.keys(e).map((r) => ({
2192
+ key: r,
2193
+ val: e[r]
2194
+ })) || [];
2195
+ return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => ({
2196
+ ...r,
2197
+ [n.key]: n.val
2198
+ }), {});
2199
+ };
2200
+ function No(e) {
2201
+ const {
2202
+ // The breakpoint **start** at this value.
2203
+ // For instance with the first breakpoint xs: [xs, sm).
2204
+ values: t = {
2205
+ xs: 0,
2206
+ // phone
2207
+ sm: 600,
2208
+ // tablet
2209
+ md: 900,
2210
+ // small laptop
2211
+ lg: 1200,
2212
+ // desktop
2213
+ xl: 1536
2214
+ // large screen
2215
+ },
2216
+ unit: r = "px",
2217
+ step: n = 5,
2218
+ ...o
2219
+ } = e, i = Io(t), a = Object.keys(i);
2220
+ function c(m) {
2221
+ return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r})`;
2222
+ }
2223
+ function u(m) {
2224
+ return `@media (max-width:${(typeof t[m] == "number" ? t[m] : m) - n / 100}${r})`;
2225
+ }
2226
+ function l(m, S) {
2227
+ const v = a.indexOf(S);
2228
+ return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(v !== -1 && typeof t[a[v]] == "number" ? t[a[v]] : S) - n / 100}${r})`;
2229
+ }
2230
+ function p(m) {
2231
+ return a.indexOf(m) + 1 < a.length ? l(m, a[a.indexOf(m) + 1]) : c(m);
2232
+ }
2233
+ function h(m) {
2234
+ const S = a.indexOf(m);
2235
+ return S === 0 ? c(a[1]) : S === a.length - 1 ? u(a[S]) : l(m, a[a.indexOf(m) + 1]).replace("@media", "@media not all and");
2236
+ }
2237
+ return {
2238
+ keys: a,
2239
+ values: i,
2240
+ up: c,
2241
+ down: u,
2242
+ between: l,
2243
+ only: p,
2244
+ not: h,
2245
+ unit: r,
2246
+ ...o
2247
+ };
2248
+ }
2249
+ const Do = {
2250
+ borderRadius: 4
2251
+ };
2252
+ function jo(e = 8, t = Vt({
2253
+ spacing: e
2254
+ })) {
2255
+ if (e.mui)
2256
+ return e;
2257
+ const r = (...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) => {
2258
+ const a = t(i);
2259
+ return typeof a == "number" ? `${a}px` : a;
2260
+ }).join(" "));
2261
+ return r.mui = !0, r;
2262
+ }
2263
+ function Bo(e, t) {
2264
+ const r = this;
2265
+ if (r.vars) {
2266
+ if (!r.colorSchemes?.[e] || typeof r.getColorSchemeSelector != "function")
2267
+ return {};
2268
+ let n = r.getColorSchemeSelector(e);
2269
+ return n === "&" ? t : ((n.includes("data-") || n.includes(".")) && (n = `*:where(${n.replace(/\s*&$/, "")}) &`), {
2270
+ [n]: t
2271
+ });
2272
+ }
2273
+ return r.palette.mode === e ? t : {};
2274
+ }
2275
+ function Br(e = {}, ...t) {
2276
+ const {
2277
+ breakpoints: r = {},
2278
+ palette: n = {},
2279
+ spacing: o,
2280
+ shape: i = {},
2281
+ ...a
2282
+ } = e, c = No(r), u = jo(o);
2283
+ let l = ue({
2284
+ breakpoints: c,
2285
+ direction: "ltr",
2286
+ components: {},
2287
+ // Inject component definitions.
2288
+ palette: {
2289
+ mode: "light",
2290
+ ...n
2291
+ },
2292
+ spacing: u,
2293
+ shape: {
2294
+ ...Do,
2295
+ ...i
2296
+ }
2297
+ }, a);
2298
+ return l = vn(l), l.applyStyles = Bo, l = t.reduce((p, h) => ue(p, h), l), l.unstable_sxConfig = {
2299
+ ...ht,
2300
+ ...a?.unstable_sxConfig
2301
+ }, l.unstable_sx = function(h) {
2302
+ return je({
2303
+ sx: h,
2304
+ theme: this
2305
+ });
2306
+ }, l;
2307
+ }
2308
+ const yr = (e, t, r, n = []) => {
2309
+ let o = e;
2310
+ t.forEach((i, a) => {
2311
+ a === t.length - 1 ? Array.isArray(o) ? o[Number(i)] = r : o && typeof o == "object" && (o[i] = r) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
2312
+ });
2313
+ }, Vo = (e, t, r) => {
2314
+ function n(o, i = [], a = []) {
2315
+ Object.entries(o).forEach(([c, u]) => {
2316
+ (!r || r && !r([...i, c])) && u != null && (typeof u == "object" && Object.keys(u).length > 0 ? n(u, [...i, c], Array.isArray(u) ? [...a, c] : a) : t([...i, c], u, a));
2317
+ });
2318
+ }
2319
+ n(e);
2320
+ }, Fo = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
2321
+ function xt(e, t) {
2322
+ const {
2323
+ prefix: r,
2324
+ shouldSkipGeneratingVar: n
2325
+ } = t || {}, o = {}, i = {}, a = {};
2326
+ return Vo(
2327
+ e,
2328
+ (c, u, l) => {
2329
+ if ((typeof u == "string" || typeof u == "number") && (!n || !n(c, u))) {
2330
+ const p = `--${r ? `${r}-` : ""}${c.join("-")}`, h = Fo(c, u);
2331
+ Object.assign(o, {
2332
+ [p]: h
2333
+ }), yr(i, c, `var(${p})`, l), yr(a, c, `var(${p}, ${h})`, l);
2334
+ }
2335
+ },
2336
+ (c) => c[0] === "vars"
2337
+ // skip 'vars/*' paths
2338
+ ), {
2339
+ css: o,
2340
+ vars: i,
2341
+ varsWithDefaults: a
2342
+ };
2343
+ }
2344
+ function Lo(e, t = {}) {
2345
+ const {
2346
+ getSelector: r = $,
2347
+ disableCssColorScheme: n,
2348
+ colorSchemeSelector: o,
2349
+ enableContrastVars: i
2350
+ } = t, {
2351
+ colorSchemes: a = {},
2352
+ components: c,
2353
+ defaultColorScheme: u = "light",
2354
+ ...l
2355
+ } = e, {
2356
+ vars: p,
2357
+ css: h,
2358
+ varsWithDefaults: m
2359
+ } = xt(l, t);
2360
+ let S = m;
2361
+ const v = {}, {
2362
+ [u]: T,
2363
+ ...f
2364
+ } = a;
2365
+ if (Object.entries(f || {}).forEach(([w, A]) => {
2366
+ const {
2367
+ vars: x,
2368
+ css: W,
2369
+ varsWithDefaults: J
2370
+ } = xt(A, t);
2371
+ S = ue(S, J), v[w] = {
2372
+ css: W,
2373
+ vars: x
2374
+ };
2375
+ }), T) {
2376
+ const {
2377
+ css: w,
2378
+ vars: A,
2379
+ varsWithDefaults: x
2380
+ } = xt(T, t);
2381
+ S = ue(S, x), v[u] = {
2382
+ css: w,
2383
+ vars: A
2384
+ };
2385
+ }
2386
+ function $(w, A) {
2387
+ let x = o;
2388
+ if (o === "class" && (x = ".%s"), o === "data" && (x = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (x = `[${o}="%s"]`), w) {
2389
+ if (x === "media")
2390
+ return e.defaultColorScheme === w ? ":root" : {
2391
+ [`@media (prefers-color-scheme: ${a[w]?.palette?.mode || w})`]: {
2392
+ ":root": A
2393
+ }
2394
+ };
2395
+ if (x)
2396
+ return e.defaultColorScheme === w ? `:root, ${x.replace("%s", String(w))}` : x.replace("%s", String(w));
2397
+ }
2398
+ return ":root";
2399
+ }
2400
+ return {
2401
+ vars: S,
2402
+ generateThemeVars: () => {
2403
+ let w = {
2404
+ ...p
2405
+ };
2406
+ return Object.entries(v).forEach(([, {
2407
+ vars: A
2408
+ }]) => {
2409
+ w = ue(w, A);
2410
+ }), w;
2411
+ },
2412
+ generateStyleSheets: () => {
2413
+ const w = [], A = e.defaultColorScheme || "light";
2414
+ function x(U, Q) {
2415
+ Object.keys(Q).length && w.push(typeof U == "string" ? {
2416
+ [U]: {
2417
+ ...Q
2418
+ }
2419
+ } : U);
2420
+ }
2421
+ x(r(void 0, {
2422
+ ...h
2423
+ }), h);
2424
+ const {
2425
+ [A]: W,
2426
+ ...J
2427
+ } = v;
2428
+ if (W) {
2429
+ const {
2430
+ css: U
2431
+ } = W, Q = a[A]?.palette?.mode, z = !n && Q ? {
2432
+ colorScheme: Q,
2433
+ ...U
2434
+ } : {
2435
+ ...U
2436
+ };
2437
+ x(r(A, {
2438
+ ...z
2439
+ }), z);
2440
+ }
2441
+ return Object.entries(J).forEach(([U, {
2442
+ css: Q
2443
+ }]) => {
2444
+ const z = a[U]?.palette?.mode, s = !n && z ? {
2445
+ colorScheme: z,
2446
+ ...Q
2447
+ } : {
2448
+ ...Q
2449
+ };
2450
+ x(r(U, {
2451
+ ...s
2452
+ }), s);
2453
+ }), i && w.push({
2454
+ ":root": {
2455
+ // use double underscore to indicate that these are private variables
2456
+ "--__l-threshold": "0.7",
2457
+ "--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
2458
+ "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
2459
+ // 0.87 is the default alpha value for black text.
2460
+ }
2461
+ }), w;
2462
+ }
2463
+ };
2464
+ }
2465
+ function Wo(e) {
2466
+ const t = {};
2467
+ return Object.entries(e).forEach((n) => {
2468
+ const [o, i] = n;
2469
+ typeof i == "object" && (t[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 || ""}`);
2470
+ }), t;
2471
+ }
2472
+ function Uo(e) {
2473
+ return function(r) {
2474
+ return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
2475
+ };
2476
+ }
2477
+ const zo = {
2478
+ active: "active",
2479
+ checked: "checked",
2480
+ completed: "completed",
2481
+ disabled: "disabled",
2482
+ error: "error",
2483
+ expanded: "expanded",
2484
+ focused: "focused",
2485
+ focusVisible: "focusVisible",
2486
+ open: "open",
2487
+ readOnly: "readOnly",
2488
+ required: "required",
2489
+ selected: "selected"
2490
+ };
2491
+ function Ut(e, t, r = "Mui") {
2492
+ const n = zo[t];
2493
+ return n ? `${r}-${n}` : `${sn.generate(e)}-${t}`;
2494
+ }
2495
+ function Go(e, t) {
2496
+ return {
2497
+ toolbar: {
2498
+ minHeight: 56,
2499
+ [e.up("xs")]: {
2500
+ "@media (orientation: landscape)": {
2501
+ minHeight: 48
2502
+ }
2503
+ },
2504
+ [e.up("sm")]: {
2505
+ minHeight: 64
2506
+ }
2507
+ },
2508
+ ...t
2509
+ };
2510
+ }
2511
+ function qo(e) {
2512
+ return Math.round(e * 1e5) / 1e5;
2513
+ }
2514
+ const br = {
2515
+ textTransform: "uppercase"
2516
+ }, vr = '"Roboto", "Helvetica", "Arial", sans-serif';
2517
+ function Ko(e, t) {
2518
+ const {
2519
+ fontFamily: r = vr,
2520
+ // The default font size of the Material Specification.
2521
+ fontSize: n = 14,
2522
+ // px
2523
+ fontWeightLight: o = 300,
2524
+ fontWeightRegular: i = 400,
2525
+ fontWeightMedium: a = 500,
2526
+ fontWeightBold: c = 700,
2527
+ // Tell MUI what's the font-size on the html element.
2528
+ // 16px is the default font-size used by browsers.
2529
+ htmlFontSize: u = 16,
2530
+ // Apply the CSS properties to all the variants.
2531
+ allVariants: l,
2532
+ pxToRem: p,
2533
+ ...h
2534
+ } = typeof t == "function" ? t(e) : t;
2535
+ process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2536
+ const m = n / 14, S = p || ((f) => `${f / u * m}rem`), v = (f, $, N, X, w) => ({
2537
+ fontFamily: r,
2538
+ fontWeight: f,
2539
+ fontSize: S($),
2540
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2541
+ lineHeight: N,
2542
+ // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
2543
+ // across font-families can cause issues with the kerning.
2544
+ ...r === vr ? {
2545
+ letterSpacing: `${qo(X / $)}em`
2546
+ } : {},
2547
+ ...w,
2548
+ ...l
2549
+ }), T = {
2550
+ h1: v(o, 96, 1.167, -1.5),
2551
+ h2: v(o, 60, 1.2, -0.5),
2552
+ h3: v(i, 48, 1.167, 0),
2553
+ h4: v(i, 34, 1.235, 0.25),
2554
+ h5: v(i, 24, 1.334, 0),
2555
+ h6: v(a, 20, 1.6, 0.15),
2556
+ subtitle1: v(i, 16, 1.75, 0.15),
2557
+ subtitle2: v(a, 14, 1.57, 0.1),
2558
+ body1: v(i, 16, 1.5, 0.15),
2559
+ body2: v(i, 14, 1.43, 0.15),
2560
+ button: v(a, 14, 1.75, 0.4, br),
2561
+ caption: v(i, 12, 1.66, 0.4),
2562
+ overline: v(i, 12, 2.66, 1, br),
2563
+ // 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.
2564
+ inherit: {
2565
+ fontFamily: "inherit",
2566
+ fontWeight: "inherit",
2567
+ fontSize: "inherit",
2568
+ lineHeight: "inherit",
2569
+ letterSpacing: "inherit"
2570
+ }
2571
+ };
2572
+ return ue({
2573
+ htmlFontSize: u,
2574
+ pxToRem: S,
2575
+ fontFamily: r,
2576
+ fontSize: n,
2577
+ fontWeightLight: o,
2578
+ fontWeightRegular: i,
2579
+ fontWeightMedium: a,
2580
+ fontWeightBold: c,
2581
+ ...T
2582
+ }, h, {
2583
+ clone: !1
2584
+ // No need to clone deep
2585
+ });
2586
+ }
2587
+ const Yo = 0.2, Ho = 0.14, Xo = 0.12;
2588
+ function ee(...e) {
2589
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Yo})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ho})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Xo})`].join(",");
2590
+ }
2591
+ const Qo = ["none", ee(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), ee(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), ee(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), ee(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), ee(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), ee(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), ee(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), ee(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), ee(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), ee(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), ee(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), ee(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), ee(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), ee(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), ee(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), ee(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), ee(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), ee(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), ee(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), ee(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), ee(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), ee(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), ee(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), ee(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Jo = {
2592
+ // This is the most common easing curve.
2593
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2594
+ // Objects enter the screen at full velocity from off-screen and
2595
+ // slowly decelerate to a resting point.
2596
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2597
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2598
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2599
+ // The sharp curve is used by objects that may return to the screen at any time.
2600
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2601
+ }, Zo = {
2602
+ shortest: 150,
2603
+ shorter: 200,
2604
+ short: 250,
2605
+ // most basic recommended timing
2606
+ standard: 300,
2607
+ // this is to be used in complex animations
2608
+ complex: 375,
2609
+ // recommended when something is entering screen
2610
+ enteringScreen: 225,
2611
+ // recommended when something is leaving screen
2612
+ leavingScreen: 195
2613
+ };
2614
+ function Sr(e) {
2615
+ return `${Math.round(e)}ms`;
2616
+ }
2617
+ function ei(e) {
2618
+ if (!e)
2619
+ return 0;
2620
+ const t = e / 36;
2621
+ return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
2622
+ }
2623
+ function ti(e) {
2624
+ const t = {
2625
+ ...Jo,
2626
+ ...e.easing
2627
+ }, r = {
2628
+ ...Zo,
2629
+ ...e.duration
2630
+ };
2631
+ return {
2632
+ getAutoHeightDuration: ei,
2633
+ create: (o = ["all"], i = {}) => {
2634
+ const {
2635
+ duration: a = r.standard,
2636
+ easing: c = t.easeInOut,
2637
+ delay: u = 0,
2638
+ ...l
2639
+ } = i;
2640
+ if (process.env.NODE_ENV !== "production") {
2641
+ const p = (m) => typeof m == "string", h = (m) => !Number.isNaN(parseFloat(m));
2642
+ !p(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(a) && !p(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), p(c) || console.error('MUI: Argument "easing" must be a string.'), !h(u) && !p(u) && 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(`
2643
+ `)), Object.keys(l).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`);
2644
+ }
2645
+ return (Array.isArray(o) ? o : [o]).map((p) => `${p} ${typeof a == "string" ? a : Sr(a)} ${c} ${typeof u == "string" ? u : Sr(u)}`).join(",");
2646
+ },
2647
+ ...e,
2648
+ easing: t,
2649
+ duration: r
2650
+ };
2651
+ }
2652
+ const ri = {
2653
+ mobileStepper: 1e3,
2654
+ fab: 1050,
2655
+ speedDial: 1050,
2656
+ appBar: 1100,
2657
+ drawer: 1200,
2658
+ modal: 1300,
2659
+ snackbar: 1400,
2660
+ tooltip: 1500
2661
+ };
2662
+ function ni(e) {
2663
+ return be(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
2664
+ }
2665
+ function Vr(e = {}) {
2666
+ const t = {
2667
+ ...e
2668
+ };
2669
+ function r(n) {
2670
+ const o = Object.entries(n);
2671
+ for (let i = 0; i < o.length; i++) {
2672
+ const [a, c] = o[i];
2673
+ !ni(c) || a.startsWith("unstable_") ? delete n[a] : be(c) && (n[a] = {
2674
+ ...c
2675
+ }, r(n[a]));
2676
+ }
2677
+ }
2678
+ return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
2679
+
2680
+ const theme = ${JSON.stringify(t, null, 2)};
2681
+
2682
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
2683
+ theme.transitions = createTransitions(theme.transitions || {});
2684
+
2685
+ export default theme;`;
2686
+ }
2687
+ function Cr(e) {
2688
+ return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
2689
+ }
2690
+ const oi = (e) => {
2691
+ if (!Number.isNaN(+e))
2692
+ return +e;
2693
+ const t = e.match(/\d*\.?\d+/g);
2694
+ if (!t)
2695
+ return 0;
2696
+ let r = 0;
2697
+ for (let n = 0; n < t.length; n += 1)
2698
+ r += +t[n];
2699
+ return r;
2700
+ };
2701
+ function ii(e) {
2702
+ Object.assign(e, {
2703
+ alpha(t, r) {
2704
+ const n = this || e;
2705
+ return n.colorSpace ? `oklch(from ${t} l c h / ${typeof r == "string" ? `calc(${r})` : r})` : n.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof r == "string" ? `calc(${r})` : r})` : Mr(t, oi(r));
2706
+ },
2707
+ lighten(t, r) {
2708
+ const n = this || e;
2709
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #fff ${Cr(r)})` : yt(t, r);
2710
+ },
2711
+ darken(t, r) {
2712
+ const n = this || e;
2713
+ return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${t}, #000 ${Cr(r)})` : gt(t, r);
2714
+ }
2715
+ });
2716
+ }
2717
+ function Pt(e = {}, ...t) {
2718
+ const {
2719
+ breakpoints: r,
2720
+ mixins: n = {},
2721
+ spacing: o,
2722
+ palette: i = {},
2723
+ transitions: a = {},
2724
+ typography: c = {},
2725
+ shape: u,
2726
+ colorSpace: l,
2727
+ ...p
2728
+ } = e;
2729
+ if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
2730
+ // `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.
2731
+ e.generateThemeVars === void 0)
2732
+ 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." : Ce(20));
2733
+ const h = Wt({
2734
+ ...i,
2735
+ colorSpace: l
2736
+ }), m = Br(e);
2737
+ let S = ue(m, {
2738
+ mixins: Go(m.breakpoints, n),
2739
+ palette: h,
2740
+ // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2741
+ shadows: Qo.slice(),
2742
+ typography: Ko(h, c),
2743
+ transitions: ti(a),
2744
+ zIndex: {
2745
+ ...ri
2746
+ }
2747
+ });
2748
+ if (S = ue(S, p), S = t.reduce((v, T) => ue(v, T), S), process.env.NODE_ENV !== "production") {
2749
+ const v = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], T = (f, $) => {
2750
+ let N;
2751
+ for (N in f) {
2752
+ const X = f[N];
2753
+ if (v.includes(N) && Object.keys(X).length > 0) {
2754
+ if (process.env.NODE_ENV !== "production") {
2755
+ const w = Ut("", N);
2756
+ console.error([`MUI: The \`${$}\` component increases the CSS specificity of the \`${N}\` internal state.`, "You can not override it like this: ", JSON.stringify(f, null, 2), "", `Instead, you need to use the '&.${w}' syntax:`, JSON.stringify({
2757
+ root: {
2758
+ [`&.${w}`]: X
2759
+ }
2760
+ }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2761
+ `));
2762
+ }
2763
+ f[N] = {};
2764
+ }
2765
+ }
2766
+ };
2767
+ Object.keys(S.components).forEach((f) => {
2768
+ const $ = S.components[f].styleOverrides;
2769
+ $ && f.startsWith("Mui") && T($, f);
2770
+ });
2771
+ }
2772
+ return S.unstable_sxConfig = {
2773
+ ...ht,
2774
+ ...p?.unstable_sxConfig
2775
+ }, S.unstable_sx = function(T) {
2776
+ return je({
2777
+ sx: T,
2778
+ theme: this
2779
+ });
2780
+ }, S.toRuntimeSource = Vr, ii(S), S;
2781
+ }
2782
+ function si(e) {
2783
+ let t;
2784
+ return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
2785
+ }
2786
+ const ai = [...Array(25)].map((e, t) => {
2787
+ if (t === 0)
2788
+ return "none";
2789
+ const r = si(t);
2790
+ return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
2791
+ });
2792
+ function Fr(e) {
2793
+ return {
2794
+ inputPlaceholder: e === "dark" ? 0.5 : 0.42,
2795
+ inputUnderline: e === "dark" ? 0.7 : 0.42,
2796
+ switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
2797
+ switchTrack: e === "dark" ? 0.3 : 0.38
2798
+ };
2799
+ }
2800
+ function Lr(e) {
2801
+ return e === "dark" ? ai : [];
2802
+ }
2803
+ function ci(e) {
2804
+ const {
2805
+ palette: t = {
2806
+ mode: "light"
2807
+ },
2808
+ // need to cast to avoid module augmentation test
2809
+ opacity: r,
2810
+ overlays: n,
2811
+ colorSpace: o,
2812
+ ...i
2813
+ } = e, a = Wt({
2814
+ ...t,
2815
+ colorSpace: o
2816
+ });
2817
+ return {
2818
+ palette: a,
2819
+ opacity: {
2820
+ ...Fr(a.mode),
2821
+ ...r
2822
+ },
2823
+ overlays: n || Lr(a.mode),
2824
+ ...i
2825
+ };
2826
+ }
2827
+ function ui(e) {
2828
+ return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
2829
+ e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
2830
+ }
2831
+ const li = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], fi = (e) => (t, r) => {
2832
+ const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
2833
+ let i = o;
2834
+ if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === t) {
2835
+ if (t === "dark") {
2836
+ const a = {};
2837
+ return li(e.cssVarPrefix).forEach((c) => {
2838
+ a[c] = r[c], delete r[c];
2839
+ }), i === "media" ? {
2840
+ [n]: r,
2841
+ "@media (prefers-color-scheme: dark)": {
2842
+ [n]: a
2843
+ }
2844
+ } : i ? {
2845
+ [i.replace("%s", t)]: a,
2846
+ [`${n}, ${i.replace("%s", t)}`]: r
2847
+ } : {
2848
+ [n]: {
2849
+ ...r,
2850
+ ...a
2851
+ }
2852
+ };
2853
+ }
2854
+ if (i && i !== "media")
2855
+ return `${n}, ${i.replace("%s", String(t))}`;
2856
+ } else if (t) {
2857
+ if (i === "media")
2858
+ return {
2859
+ [`@media (prefers-color-scheme: ${String(t)})`]: {
2860
+ [n]: r
2861
+ }
2862
+ };
2863
+ if (i)
2864
+ return i.replace("%s", String(t));
2865
+ }
2866
+ return n;
2867
+ };
2868
+ function di(e, t) {
2869
+ t.forEach((r) => {
2870
+ e[r] || (e[r] = {});
2871
+ });
2872
+ }
2873
+ function d(e, t, r) {
2874
+ !e[t] && r && (e[t] = r);
2875
+ }
2876
+ function Ue(e) {
2877
+ return typeof e != "string" || !e.startsWith("hsl") ? e : _r(e);
2878
+ }
2879
+ function ge(e, t) {
2880
+ `${t}Channel` in e || (e[`${t}Channel`] = We(Ue(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
2881
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
2882
+ }
2883
+ function pi(e) {
2884
+ return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
2885
+ }
2886
+ const me = (e) => {
2887
+ try {
2888
+ return e();
2889
+ } catch {
2890
+ }
2891
+ }, hi = (e = "mui") => Jr(e);
2892
+ function Ot(e, t, r, n, o) {
2893
+ if (!r)
2894
+ return;
2895
+ r = r === !0 ? {} : r;
2896
+ const i = o === "dark" ? "dark" : "light";
2897
+ if (!n) {
2898
+ t[o] = ci({
2899
+ ...r,
2900
+ palette: {
2901
+ mode: i,
2902
+ ...r?.palette
2903
+ },
2904
+ colorSpace: e
2905
+ });
2906
+ return;
2907
+ }
2908
+ const {
2909
+ palette: a,
2910
+ ...c
2911
+ } = Pt({
2912
+ ...n,
2913
+ palette: {
2914
+ mode: i,
2915
+ ...r?.palette
2916
+ },
2917
+ colorSpace: e
2918
+ });
2919
+ return t[o] = {
2920
+ ...r,
2921
+ palette: a,
2922
+ opacity: {
2923
+ ...Fr(i),
2924
+ ...r?.opacity
2925
+ },
2926
+ overlays: r?.overlays || Lr(i)
2927
+ }, c;
2928
+ }
2929
+ function mi(e = {}, ...t) {
2930
+ const {
2931
+ colorSchemes: r = {
2932
+ light: !0
2933
+ },
2934
+ defaultColorScheme: n,
2935
+ disableCssColorScheme: o = !1,
2936
+ cssVarPrefix: i = "mui",
2937
+ nativeColor: a = !1,
2938
+ shouldSkipGeneratingVar: c = ui,
2939
+ colorSchemeSelector: u = r.light && r.dark ? "media" : void 0,
2940
+ rootSelector: l = ":root",
2941
+ ...p
2942
+ } = e, h = Object.keys(r)[0], m = n || (r.light && h !== "light" ? "light" : h), S = hi(i), {
2943
+ [m]: v,
2944
+ light: T,
2945
+ dark: f,
2946
+ ...$
2947
+ } = r, N = {
2948
+ ...$
2949
+ };
2950
+ let X = v;
2951
+ if ((m === "dark" && !("dark" in r) || m === "light" && !("light" in r)) && (X = !0), !X)
2952
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : Ce(21, m));
2953
+ let w;
2954
+ a && (w = "oklch");
2955
+ const A = Ot(w, N, X, p, m);
2956
+ T && !N.light && Ot(w, N, T, void 0, "light"), f && !N.dark && Ot(w, N, f, void 0, "dark");
2957
+ let x = {
2958
+ defaultColorScheme: m,
2959
+ ...A,
2960
+ cssVarPrefix: i,
2961
+ colorSchemeSelector: u,
2962
+ rootSelector: l,
2963
+ getCssVar: S,
2964
+ colorSchemes: N,
2965
+ font: {
2966
+ ...Wo(A.typography),
2967
+ ...A.font
2968
+ },
2969
+ spacing: pi(p.spacing)
2970
+ };
2971
+ Object.keys(x.colorSchemes).forEach((z) => {
2972
+ const s = x.colorSchemes[z].palette, E = (R) => {
2973
+ const _ = R.split("-"), Z = _[1], se = _[2];
2974
+ return S(R, s[Z][se]);
2975
+ };
2976
+ s.mode === "light" && (d(s.common, "background", "#fff"), d(s.common, "onBackground", "#000")), s.mode === "dark" && (d(s.common, "background", "#000"), d(s.common, "onBackground", "#fff"));
2977
+ function y(R, _, Z) {
2978
+ if (w) {
2979
+ let se;
2980
+ return R === xe && (se = `transparent ${((1 - Z) * 100).toFixed(0)}%`), R === Y && (se = `#000 ${(Z * 100).toFixed(0)}%`), R === H && (se = `#fff ${(Z * 100).toFixed(0)}%`), `color-mix(in ${w}, ${_}, ${se})`;
2981
+ }
2982
+ return R(_, Z);
2983
+ }
2984
+ if (di(s, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), s.mode === "light") {
2985
+ d(s.Alert, "errorColor", y(Y, s.error.light, 0.6)), d(s.Alert, "infoColor", y(Y, s.info.light, 0.6)), d(s.Alert, "successColor", y(Y, s.success.light, 0.6)), d(s.Alert, "warningColor", y(Y, s.warning.light, 0.6)), d(s.Alert, "errorFilledBg", E("palette-error-main")), d(s.Alert, "infoFilledBg", E("palette-info-main")), d(s.Alert, "successFilledBg", E("palette-success-main")), d(s.Alert, "warningFilledBg", E("palette-warning-main")), d(s.Alert, "errorFilledColor", me(() => s.getContrastText(s.error.main))), d(s.Alert, "infoFilledColor", me(() => s.getContrastText(s.info.main))), d(s.Alert, "successFilledColor", me(() => s.getContrastText(s.success.main))), d(s.Alert, "warningFilledColor", me(() => s.getContrastText(s.warning.main))), d(s.Alert, "errorStandardBg", y(H, s.error.light, 0.9)), d(s.Alert, "infoStandardBg", y(H, s.info.light, 0.9)), d(s.Alert, "successStandardBg", y(H, s.success.light, 0.9)), d(s.Alert, "warningStandardBg", y(H, s.warning.light, 0.9)), d(s.Alert, "errorIconColor", E("palette-error-main")), d(s.Alert, "infoIconColor", E("palette-info-main")), d(s.Alert, "successIconColor", E("palette-success-main")), d(s.Alert, "warningIconColor", E("palette-warning-main")), d(s.AppBar, "defaultBg", E("palette-grey-100")), d(s.Avatar, "defaultBg", E("palette-grey-400")), d(s.Button, "inheritContainedBg", E("palette-grey-300")), d(s.Button, "inheritContainedHoverBg", E("palette-grey-A100")), d(s.Chip, "defaultBorder", E("palette-grey-400")), d(s.Chip, "defaultAvatarColor", E("palette-grey-700")), d(s.Chip, "defaultIconColor", E("palette-grey-700")), d(s.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), d(s.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), d(s.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), d(s.LinearProgress, "primaryBg", y(H, s.primary.main, 0.62)), d(s.LinearProgress, "secondaryBg", y(H, s.secondary.main, 0.62)), d(s.LinearProgress, "errorBg", y(H, s.error.main, 0.62)), d(s.LinearProgress, "infoBg", y(H, s.info.main, 0.62)), d(s.LinearProgress, "successBg", y(H, s.success.main, 0.62)), d(s.LinearProgress, "warningBg", y(H, s.warning.main, 0.62)), d(s.Skeleton, "bg", w ? y(xe, s.text.primary, 0.11) : `rgba(${E("palette-text-primaryChannel")} / 0.11)`), d(s.Slider, "primaryTrack", y(H, s.primary.main, 0.62)), d(s.Slider, "secondaryTrack", y(H, s.secondary.main, 0.62)), d(s.Slider, "errorTrack", y(H, s.error.main, 0.62)), d(s.Slider, "infoTrack", y(H, s.info.main, 0.62)), d(s.Slider, "successTrack", y(H, s.success.main, 0.62)), d(s.Slider, "warningTrack", y(H, s.warning.main, 0.62));
2986
+ const R = w ? y(Y, s.background.default, 0.6825) : Xe(s.background.default, 0.8);
2987
+ d(s.SnackbarContent, "bg", R), d(s.SnackbarContent, "color", me(() => w ? At.text.primary : s.getContrastText(R))), d(s.SpeedDialAction, "fabHoverBg", Xe(s.background.paper, 0.15)), d(s.StepConnector, "border", E("palette-grey-400")), d(s.StepContent, "border", E("palette-grey-400")), d(s.Switch, "defaultColor", E("palette-common-white")), d(s.Switch, "defaultDisabledColor", E("palette-grey-100")), d(s.Switch, "primaryDisabledColor", y(H, s.primary.main, 0.62)), d(s.Switch, "secondaryDisabledColor", y(H, s.secondary.main, 0.62)), d(s.Switch, "errorDisabledColor", y(H, s.error.main, 0.62)), d(s.Switch, "infoDisabledColor", y(H, s.info.main, 0.62)), d(s.Switch, "successDisabledColor", y(H, s.success.main, 0.62)), d(s.Switch, "warningDisabledColor", y(H, s.warning.main, 0.62)), d(s.TableCell, "border", y(H, y(xe, s.divider, 1), 0.88)), d(s.Tooltip, "bg", y(xe, s.grey[700], 0.92));
2988
+ }
2989
+ if (s.mode === "dark") {
2990
+ d(s.Alert, "errorColor", y(H, s.error.light, 0.6)), d(s.Alert, "infoColor", y(H, s.info.light, 0.6)), d(s.Alert, "successColor", y(H, s.success.light, 0.6)), d(s.Alert, "warningColor", y(H, s.warning.light, 0.6)), d(s.Alert, "errorFilledBg", E("palette-error-dark")), d(s.Alert, "infoFilledBg", E("palette-info-dark")), d(s.Alert, "successFilledBg", E("palette-success-dark")), d(s.Alert, "warningFilledBg", E("palette-warning-dark")), d(s.Alert, "errorFilledColor", me(() => s.getContrastText(s.error.dark))), d(s.Alert, "infoFilledColor", me(() => s.getContrastText(s.info.dark))), d(s.Alert, "successFilledColor", me(() => s.getContrastText(s.success.dark))), d(s.Alert, "warningFilledColor", me(() => s.getContrastText(s.warning.dark))), d(s.Alert, "errorStandardBg", y(Y, s.error.light, 0.9)), d(s.Alert, "infoStandardBg", y(Y, s.info.light, 0.9)), d(s.Alert, "successStandardBg", y(Y, s.success.light, 0.9)), d(s.Alert, "warningStandardBg", y(Y, s.warning.light, 0.9)), d(s.Alert, "errorIconColor", E("palette-error-main")), d(s.Alert, "infoIconColor", E("palette-info-main")), d(s.Alert, "successIconColor", E("palette-success-main")), d(s.Alert, "warningIconColor", E("palette-warning-main")), d(s.AppBar, "defaultBg", E("palette-grey-900")), d(s.AppBar, "darkBg", E("palette-background-paper")), d(s.AppBar, "darkColor", E("palette-text-primary")), d(s.Avatar, "defaultBg", E("palette-grey-600")), d(s.Button, "inheritContainedBg", E("palette-grey-800")), d(s.Button, "inheritContainedHoverBg", E("palette-grey-700")), d(s.Chip, "defaultBorder", E("palette-grey-700")), d(s.Chip, "defaultAvatarColor", E("palette-grey-300")), d(s.Chip, "defaultIconColor", E("palette-grey-300")), d(s.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), d(s.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), d(s.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), d(s.LinearProgress, "primaryBg", y(Y, s.primary.main, 0.5)), d(s.LinearProgress, "secondaryBg", y(Y, s.secondary.main, 0.5)), d(s.LinearProgress, "errorBg", y(Y, s.error.main, 0.5)), d(s.LinearProgress, "infoBg", y(Y, s.info.main, 0.5)), d(s.LinearProgress, "successBg", y(Y, s.success.main, 0.5)), d(s.LinearProgress, "warningBg", y(Y, s.warning.main, 0.5)), d(s.Skeleton, "bg", w ? y(xe, s.text.primary, 0.13) : `rgba(${E("palette-text-primaryChannel")} / 0.13)`), d(s.Slider, "primaryTrack", y(Y, s.primary.main, 0.5)), d(s.Slider, "secondaryTrack", y(Y, s.secondary.main, 0.5)), d(s.Slider, "errorTrack", y(Y, s.error.main, 0.5)), d(s.Slider, "infoTrack", y(Y, s.info.main, 0.5)), d(s.Slider, "successTrack", y(Y, s.success.main, 0.5)), d(s.Slider, "warningTrack", y(Y, s.warning.main, 0.5));
2991
+ const R = w ? y(H, s.background.default, 0.985) : Xe(s.background.default, 0.98);
2992
+ d(s.SnackbarContent, "bg", R), d(s.SnackbarContent, "color", me(() => w ? Nr.text.primary : s.getContrastText(R))), d(s.SpeedDialAction, "fabHoverBg", Xe(s.background.paper, 0.15)), d(s.StepConnector, "border", E("palette-grey-600")), d(s.StepContent, "border", E("palette-grey-600")), d(s.Switch, "defaultColor", E("palette-grey-300")), d(s.Switch, "defaultDisabledColor", E("palette-grey-600")), d(s.Switch, "primaryDisabledColor", y(Y, s.primary.main, 0.55)), d(s.Switch, "secondaryDisabledColor", y(Y, s.secondary.main, 0.55)), d(s.Switch, "errorDisabledColor", y(Y, s.error.main, 0.55)), d(s.Switch, "infoDisabledColor", y(Y, s.info.main, 0.55)), d(s.Switch, "successDisabledColor", y(Y, s.success.main, 0.55)), d(s.Switch, "warningDisabledColor", y(Y, s.warning.main, 0.55)), d(s.TableCell, "border", y(Y, y(xe, s.divider, 1), 0.68)), d(s.Tooltip, "bg", y(xe, s.grey[700], 0.92));
2993
+ }
2994
+ ge(s.background, "default"), ge(s.background, "paper"), ge(s.common, "background"), ge(s.common, "onBackground"), ge(s, "divider"), Object.keys(s).forEach((R) => {
2995
+ const _ = s[R];
2996
+ R !== "tonalOffset" && _ && typeof _ == "object" && (_.main && d(s[R], "mainChannel", We(Ue(_.main))), _.light && d(s[R], "lightChannel", We(Ue(_.light))), _.dark && d(s[R], "darkChannel", We(Ue(_.dark))), _.contrastText && d(s[R], "contrastTextChannel", We(Ue(_.contrastText))), R === "text" && (ge(s[R], "primary"), ge(s[R], "secondary")), R === "action" && (_.active && ge(s[R], "active"), _.selected && ge(s[R], "selected")));
2997
+ });
2998
+ }), x = t.reduce((z, s) => ue(z, s), x);
2999
+ const W = {
3000
+ prefix: i,
3001
+ disableCssColorScheme: o,
3002
+ shouldSkipGeneratingVar: c,
3003
+ getSelector: fi(x),
3004
+ enableContrastVars: a
3005
+ }, {
3006
+ vars: J,
3007
+ generateThemeVars: U,
3008
+ generateStyleSheets: Q
3009
+ } = Lo(x, W);
3010
+ return x.vars = J, Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([z, s]) => {
3011
+ x[z] = s;
3012
+ }), x.generateThemeVars = U, x.generateStyleSheets = Q, x.generateSpacing = function() {
3013
+ return Zr(p.spacing, Vt(this));
3014
+ }, x.getColorSchemeSelector = Uo(u), x.spacing = x.generateSpacing(), x.shouldSkipGeneratingVar = c, x.unstable_sxConfig = {
3015
+ ...ht,
3016
+ ...p?.unstable_sxConfig
3017
+ }, x.unstable_sx = function(s) {
3018
+ return je({
3019
+ sx: s,
3020
+ theme: this
3021
+ });
3022
+ }, x.toRuntimeSource = Vr, x;
3023
+ }
3024
+ function Tr(e, t, r) {
3025
+ e.colorSchemes && r && (e.colorSchemes[t] = {
3026
+ ...r !== !0 && r,
3027
+ palette: Wt({
3028
+ ...r === !0 ? {} : r.palette,
3029
+ mode: t
3030
+ })
3031
+ // cast type to skip module augmentation test
3032
+ });
3033
+ }
3034
+ function gi(e = {}, ...t) {
3035
+ const {
3036
+ palette: r,
3037
+ cssVariables: n = !1,
3038
+ colorSchemes: o = r ? void 0 : {
3039
+ light: !0
3040
+ },
3041
+ defaultColorScheme: i = r?.mode,
3042
+ ...a
3043
+ } = e, c = i || "light", u = o?.[c], l = {
3044
+ ...o,
3045
+ ...r ? {
3046
+ [c]: {
3047
+ ...typeof u != "boolean" && u,
3048
+ palette: r
3049
+ }
3050
+ } : void 0
3051
+ };
3052
+ if (n === !1) {
3053
+ if (!("colorSchemes" in e))
3054
+ return Pt(e, ...t);
3055
+ let p = r;
3056
+ "palette" in e || l[c] && (l[c] !== !0 ? p = l[c].palette : c === "dark" && (p = {
3057
+ mode: "dark"
3058
+ }));
3059
+ const h = Pt({
3060
+ ...e,
3061
+ palette: p
3062
+ }, ...t);
3063
+ return h.defaultColorScheme = c, h.colorSchemes = l, h.palette.mode === "light" && (h.colorSchemes.light = {
3064
+ ...l.light !== !0 && l.light,
3065
+ palette: h.palette
3066
+ }, Tr(h, "dark", l.dark)), h.palette.mode === "dark" && (h.colorSchemes.dark = {
3067
+ ...l.dark !== !0 && l.dark,
3068
+ palette: h.palette
3069
+ }, Tr(h, "light", l.light)), h;
3070
+ }
3071
+ return !r && !("light" in l) && c === "light" && (l.light = !0), mi({
3072
+ ...a,
3073
+ colorSchemes: l,
3074
+ defaultColorScheme: c,
3075
+ ...typeof n != "boolean" && n
3076
+ }, ...t);
3077
+ }
3078
+ const yi = gi(), bi = "$$material";
3079
+ function Wr(e, t = "") {
3080
+ return e.displayName || e.name || t;
3081
+ }
3082
+ function Er(e, t, r) {
3083
+ const n = Wr(t);
3084
+ return e.displayName || (n !== "" ? `${r}(${n})` : r);
3085
+ }
3086
+ function vi(e) {
3087
+ if (e != null) {
3088
+ if (typeof e == "string")
3089
+ return e;
3090
+ if (typeof e == "function")
3091
+ return Wr(e, "Component");
3092
+ if (typeof e == "object")
3093
+ switch (e.$$typeof) {
3094
+ case tt.ForwardRef:
3095
+ return Er(e, e.render, "ForwardRef");
3096
+ case tt.Memo:
3097
+ return Er(e, e.type, "memo");
3098
+ default:
3099
+ return;
3100
+ }
3101
+ }
3102
+ }
3103
+ function Si(e) {
3104
+ const {
3105
+ variants: t,
3106
+ ...r
3107
+ } = e, n = {
3108
+ variants: t,
3109
+ style: Re(r),
3110
+ isProcessed: !0
3111
+ };
3112
+ return n.style === r || t && t.forEach((o) => {
3113
+ typeof o.style != "function" && (o.style = Re(o.style));
3114
+ }), n;
3115
+ }
3116
+ const Ci = Br();
3117
+ function $t(e) {
3118
+ return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3119
+ }
3120
+ function Oe(e, t) {
3121
+ return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
3122
+ }
3123
+ function Ti(e) {
3124
+ return e ? (t, r) => r[e] : null;
3125
+ }
3126
+ function Ei(e, t, r) {
3127
+ e.theme = $i(e.theme) ? r : e.theme[t] || e.theme;
3128
+ }
3129
+ function Ze(e, t, r) {
3130
+ const n = typeof t == "function" ? t(e) : t;
3131
+ if (Array.isArray(n))
3132
+ return n.flatMap((o) => Ze(e, o, r));
3133
+ if (Array.isArray(n?.variants)) {
3134
+ let o;
3135
+ if (n.isProcessed)
3136
+ o = r ? Oe(n.style, r) : n.style;
3137
+ else {
3138
+ const {
3139
+ variants: i,
3140
+ ...a
3141
+ } = n;
3142
+ o = r ? Oe(Re(a), r) : a;
3143
+ }
3144
+ return Ur(e, n.variants, [o], r);
3145
+ }
3146
+ return n?.isProcessed ? r ? Oe(Re(n.style), r) : n.style : r ? Oe(Re(n), r) : n;
3147
+ }
3148
+ function Ur(e, t, r = [], n = void 0) {
3149
+ let o;
3150
+ e: for (let i = 0; i < t.length; i += 1) {
3151
+ const a = t[i];
3152
+ if (typeof a.props == "function") {
3153
+ if (o ??= {
3154
+ ...e,
3155
+ ...e.ownerState,
3156
+ ownerState: e.ownerState
3157
+ }, !a.props(o))
3158
+ continue;
3159
+ } else
3160
+ for (const c in a.props)
3161
+ if (e[c] !== a.props[c] && e.ownerState?.[c] !== a.props[c])
3162
+ continue e;
3163
+ typeof a.style == "function" ? (o ??= {
3164
+ ...e,
3165
+ ...e.ownerState,
3166
+ ownerState: e.ownerState
3167
+ }, r.push(n ? Oe(Re(a.style(o)), n) : a.style(o))) : r.push(n ? Oe(Re(a.style), n) : a.style);
3168
+ }
3169
+ return r;
3170
+ }
3171
+ function wi(e = {}) {
3172
+ const {
3173
+ themeId: t,
3174
+ defaultTheme: r = Ci,
3175
+ rootShouldForwardProp: n = $t,
3176
+ slotShouldForwardProp: o = $t
3177
+ } = e;
3178
+ function i(c) {
3179
+ Ei(c, t, r);
3180
+ }
3181
+ return (c, u = {}) => {
3182
+ Ao(c, (x) => x.filter((W) => W !== je));
3183
+ const {
3184
+ name: l,
3185
+ slot: p,
3186
+ skipVariantsResolver: h,
3187
+ skipSx: m,
3188
+ // TODO v6: remove `lowercaseFirstLetter()` in the next major release
3189
+ // For more details: https://github.com/mui/material-ui/pull/37908
3190
+ overridesResolver: S = Ti(zr(p)),
3191
+ ...v
3192
+ } = u, T = l && l.startsWith("Mui") || p ? "components" : "custom", f = h !== void 0 ? h : (
3193
+ // TODO v6: remove `Root` in the next major release
3194
+ // For more details: https://github.com/mui/material-ui/pull/37908
3195
+ p && p !== "Root" && p !== "root" || !1
3196
+ ), $ = m || !1;
3197
+ let N = $t;
3198
+ p === "Root" || p === "root" ? N = n : p ? N = o : Ri(c) && (N = void 0);
3199
+ const X = Ro(c, {
3200
+ shouldForwardProp: N,
3201
+ label: Oi(l, p),
3202
+ ...v
3203
+ }), w = (x) => {
3204
+ if (x.__emotion_real === x)
3205
+ return x;
3206
+ if (typeof x == "function")
3207
+ return function(J) {
3208
+ return Ze(J, x, J.theme.modularCssLayers ? T : void 0);
3209
+ };
3210
+ if (be(x)) {
3211
+ const W = Si(x);
3212
+ return function(U) {
3213
+ return W.variants ? Ze(U, W, U.theme.modularCssLayers ? T : void 0) : U.theme.modularCssLayers ? Oe(W.style, T) : W.style;
3214
+ };
3215
+ }
3216
+ return x;
3217
+ }, A = (...x) => {
3218
+ const W = [], J = x.map(w), U = [];
3219
+ if (W.push(i), l && S && U.push(function(E) {
3220
+ const R = E.theme.components?.[l]?.styleOverrides;
3221
+ if (!R)
3222
+ return null;
3223
+ const _ = {};
3224
+ for (const Z in R)
3225
+ _[Z] = Ze(E, R[Z], E.theme.modularCssLayers ? "theme" : void 0);
3226
+ return S(E, _);
3227
+ }), l && !f && U.push(function(E) {
3228
+ const R = E.theme?.components?.[l]?.variants;
3229
+ return R ? Ur(E, R, [], E.theme.modularCssLayers ? "theme" : void 0) : null;
3230
+ }), $ || U.push(je), Array.isArray(J[0])) {
3231
+ const s = J.shift(), E = new Array(W.length).fill(""), y = new Array(U.length).fill("");
3232
+ let R;
3233
+ R = [...E, ...s, ...y], R.raw = [...E, ...s.raw, ...y], W.unshift(R);
3234
+ }
3235
+ const Q = [...W, ...J, ...U], z = X(...Q);
3236
+ return c.muiName && (z.muiName = c.muiName), process.env.NODE_ENV !== "production" && (z.displayName = xi(l, p, c)), z;
3237
+ };
3238
+ return X.withConfig && (A.withConfig = X.withConfig), A;
3239
+ };
3240
+ }
3241
+ function xi(e, t, r) {
3242
+ return e ? `${e}${Dt(t || "")}` : `Styled(${vi(r)})`;
3243
+ }
3244
+ function Oi(e, t) {
3245
+ let r;
3246
+ return process.env.NODE_ENV !== "production" && e && (r = `${e}-${zr(t || "Root")}`), r;
3247
+ }
3248
+ function $i(e) {
3249
+ for (const t in e)
3250
+ return !1;
3251
+ return !0;
3252
+ }
3253
+ function Ri(e) {
3254
+ return typeof e == "string" && // 96 is one less than the char code
3255
+ // for "a" so this is checking that
3256
+ // it's a lowercase character
3257
+ e.charCodeAt(0) > 96;
3258
+ }
3259
+ function zr(e) {
3260
+ return e && e.charAt(0).toLowerCase() + e.slice(1);
3261
+ }
3262
+ function Ai(e) {
3263
+ return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
3264
+ }
3265
+ const ki = (e) => Ai(e) && e !== "classes", zt = wi({
3266
+ themeId: bi,
3267
+ defaultTheme: yi,
3268
+ rootShouldForwardProp: ki
3269
+ }), ps = en;
3270
+ process.env.NODE_ENV !== "production" && (b.node, b.object.isRequired);
3271
+ function Gr(e) {
3272
+ return Mo(e);
3273
+ }
3274
+ function qr(e, t, r = "Mui") {
3275
+ const n = {};
3276
+ return t.forEach((o) => {
3277
+ n[o] = Ut(e, o, r);
3278
+ }), n;
3279
+ }
3280
+ function et(e) {
3281
+ const t = B.useRef(e);
3282
+ return ko(() => {
3283
+ t.current = e;
3284
+ }), B.useRef((...r) => (
3285
+ // @ts-expect-error hide `this`
3286
+ (0, t.current)(...r)
3287
+ )).current;
3288
+ }
3289
+ function wr(...e) {
3290
+ const t = B.useRef(void 0), r = B.useCallback((n) => {
3291
+ const o = e.map((i) => {
3292
+ if (i == null)
3293
+ return null;
3294
+ if (typeof i == "function") {
3295
+ const a = i, c = a(n);
3296
+ return typeof c == "function" ? c : () => {
3297
+ a(null);
3298
+ };
3299
+ }
3300
+ return i.current = n, () => {
3301
+ i.current = null;
3302
+ };
3303
+ });
3304
+ return () => {
3305
+ o.forEach((i) => i?.());
3306
+ };
3307
+ }, e);
3308
+ return B.useMemo(() => e.every((n) => n == null) ? null : (n) => {
3309
+ t.current && (t.current(), t.current = void 0), n != null && (t.current = r(n));
3310
+ }, e);
3311
+ }
3312
+ function Pi(e) {
3313
+ return typeof e.main == "string";
3314
+ }
3315
+ function _i(e, t = []) {
3316
+ if (!Pi(e))
3317
+ return !1;
3318
+ for (const r of t)
3319
+ if (!e.hasOwnProperty(r) || typeof e[r] != "string")
3320
+ return !1;
3321
+ return !0;
3322
+ }
3323
+ function hs(e = []) {
3324
+ return ([, t]) => t && _i(t, e);
3325
+ }
3326
+ function Mi(e, t) {
3327
+ return process.env.NODE_ENV === "production" ? () => null : function(...n) {
3328
+ return e(...n) || t(...n);
3329
+ };
3330
+ }
3331
+ const Ii = b.oneOfType([b.func, b.object]);
3332
+ function Ni(e) {
3333
+ const {
3334
+ prototype: t = {}
3335
+ } = e;
3336
+ return !!t.isReactComponent;
3337
+ }
3338
+ function Di(e, t, r, n, o) {
3339
+ const i = e[t], a = o || t;
3340
+ if (i == null || // When server-side rendering React doesn't warn either.
3341
+ // This is not an accurate check for SSR.
3342
+ // This is only in place for emotion compat.
3343
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
3344
+ typeof window > "u")
3345
+ return null;
3346
+ let c;
3347
+ return typeof i == "function" && !Ni(i) && (c = "Did you accidentally provide a plain function component instead?"), i === B.Fragment && (c = "Did you accidentally provide a React.Fragment instead?"), c !== void 0 ? new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
3348
+ }
3349
+ const ji = Mi(b.elementType, Di);
3350
+ function xr(e) {
3351
+ try {
3352
+ return e.matches(":focus-visible");
3353
+ } catch {
3354
+ process.env.NODE_ENV !== "production" && !window.navigator.userAgent.includes("jsdom") && console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.", "Some components rely on this feature to work properly."].join(`
3355
+ `));
3356
+ }
3357
+ return !1;
3358
+ }
3359
+ const Or = {};
3360
+ function Kr(e, t) {
3361
+ const r = B.useRef(Or);
3362
+ return r.current === Or && (r.current = e(t)), r;
3363
+ }
3364
+ class ot {
3365
+ /** React ref to the ripple instance */
3366
+ /** If the ripple component should be mounted */
3367
+ /** Promise that resolves when the ripple component is mounted */
3368
+ /** If the ripple component has been mounted */
3369
+ /** React state hook setter */
3370
+ static create() {
3371
+ return new ot();
3372
+ }
3373
+ static use() {
3374
+ const t = Kr(ot.create).current, [r, n] = B.useState(!1);
3375
+ return t.shouldMount = r, t.setShouldMount = n, B.useEffect(t.mountEffect, [r]), t;
3376
+ }
3377
+ constructor() {
3378
+ this.ref = {
3379
+ current: null
3380
+ }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
3381
+ }
3382
+ mount() {
3383
+ return this.mounted || (this.mounted = Vi(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
3384
+ }
3385
+ mountEffect = () => {
3386
+ this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
3387
+ };
3388
+ /* Ripple API */
3389
+ start(...t) {
3390
+ this.mount().then(() => this.ref.current?.start(...t));
3391
+ }
3392
+ stop(...t) {
3393
+ this.mount().then(() => this.ref.current?.stop(...t));
3394
+ }
3395
+ pulsate(...t) {
3396
+ this.mount().then(() => this.ref.current?.pulsate(...t));
3397
+ }
3398
+ }
3399
+ function Bi() {
3400
+ return ot.use();
3401
+ }
3402
+ function Vi() {
3403
+ let e, t;
3404
+ const r = new Promise((n, o) => {
3405
+ e = n, t = o;
3406
+ });
3407
+ return r.resolve = e, r.reject = t, r;
3408
+ }
3409
+ function _t() {
3410
+ return _t = Object.assign ? Object.assign.bind() : function(e) {
3411
+ for (var t = 1; t < arguments.length; t++) {
3412
+ var r = arguments[t];
3413
+ for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
3414
+ }
3415
+ return e;
3416
+ }, _t.apply(null, arguments);
3417
+ }
3418
+ function Fi(e, t) {
3419
+ if (e == null) return {};
3420
+ var r = {};
3421
+ for (var n in e) if ({}.hasOwnProperty.call(e, n)) {
3422
+ if (t.indexOf(n) !== -1) continue;
3423
+ r[n] = e[n];
3424
+ }
3425
+ return r;
3426
+ }
3427
+ function Mt(e, t) {
3428
+ return Mt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
3429
+ return r.__proto__ = n, r;
3430
+ }, Mt(e, t);
3431
+ }
3432
+ function Li(e, t) {
3433
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Mt(e, t);
3434
+ }
3435
+ const $r = Le.createContext(null);
3436
+ function Wi(e) {
3437
+ if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3438
+ return e;
3439
+ }
3440
+ function Gt(e, t) {
3441
+ var r = function(i) {
3442
+ return t && Qe(i) ? t(i) : i;
3443
+ }, n = /* @__PURE__ */ Object.create(null);
3444
+ return e && tn.map(e, function(o) {
3445
+ return o;
3446
+ }).forEach(function(o) {
3447
+ n[o.key] = r(o);
3448
+ }), n;
3449
+ }
3450
+ function Ui(e, t) {
3451
+ e = e || {}, t = t || {};
3452
+ function r(p) {
3453
+ return p in t ? t[p] : e[p];
3454
+ }
3455
+ var n = /* @__PURE__ */ Object.create(null), o = [];
3456
+ for (var i in e)
3457
+ i in t ? o.length && (n[i] = o, o = []) : o.push(i);
3458
+ var a, c = {};
3459
+ for (var u in t) {
3460
+ if (n[u])
3461
+ for (a = 0; a < n[u].length; a++) {
3462
+ var l = n[u][a];
3463
+ c[n[u][a]] = r(l);
3464
+ }
3465
+ c[u] = r(u);
3466
+ }
3467
+ for (a = 0; a < o.length; a++)
3468
+ c[o[a]] = r(o[a]);
3469
+ return c;
3470
+ }
3471
+ function $e(e, t, r) {
3472
+ return r[t] != null ? r[t] : e.props[t];
3473
+ }
3474
+ function zi(e, t) {
3475
+ return Gt(e.children, function(r) {
3476
+ return Je(r, {
3477
+ onExited: t.bind(null, r),
3478
+ in: !0,
3479
+ appear: $e(r, "appear", e),
3480
+ enter: $e(r, "enter", e),
3481
+ exit: $e(r, "exit", e)
3482
+ });
3483
+ });
3484
+ }
3485
+ function Gi(e, t, r) {
3486
+ var n = Gt(e.children), o = Ui(t, n);
3487
+ return Object.keys(o).forEach(function(i) {
3488
+ var a = o[i];
3489
+ if (Qe(a)) {
3490
+ var c = i in t, u = i in n, l = t[i], p = Qe(l) && !l.props.in;
3491
+ u && (!c || p) ? o[i] = Je(a, {
3492
+ onExited: r.bind(null, a),
3493
+ in: !0,
3494
+ exit: $e(a, "exit", e),
3495
+ enter: $e(a, "enter", e)
3496
+ }) : !u && c && !p ? o[i] = Je(a, {
3497
+ in: !1
3498
+ }) : u && c && Qe(l) && (o[i] = Je(a, {
3499
+ onExited: r.bind(null, a),
3500
+ in: l.props.in,
3501
+ exit: $e(a, "exit", e),
3502
+ enter: $e(a, "enter", e)
3503
+ }));
3504
+ }
3505
+ }), o;
3506
+ }
3507
+ var qi = Object.values || function(e) {
3508
+ return Object.keys(e).map(function(t) {
3509
+ return e[t];
3510
+ });
3511
+ }, Ki = {
3512
+ component: "div",
3513
+ childFactory: function(t) {
3514
+ return t;
3515
+ }
3516
+ }, qt = /* @__PURE__ */ (function(e) {
3517
+ Li(t, e);
3518
+ function t(n, o) {
3519
+ var i;
3520
+ i = e.call(this, n, o) || this;
3521
+ var a = i.handleExited.bind(Wi(i));
3522
+ return i.state = {
3523
+ contextValue: {
3524
+ isMounting: !0
3525
+ },
3526
+ handleExited: a,
3527
+ firstRender: !0
3528
+ }, i;
3529
+ }
3530
+ var r = t.prototype;
3531
+ return r.componentDidMount = function() {
3532
+ this.mounted = !0, this.setState({
3533
+ contextValue: {
3534
+ isMounting: !1
3535
+ }
3536
+ });
3537
+ }, r.componentWillUnmount = function() {
3538
+ this.mounted = !1;
3539
+ }, t.getDerivedStateFromProps = function(o, i) {
3540
+ var a = i.children, c = i.handleExited, u = i.firstRender;
3541
+ return {
3542
+ children: u ? zi(o, c) : Gi(o, a, c),
3543
+ firstRender: !1
3544
+ };
3545
+ }, r.handleExited = function(o, i) {
3546
+ var a = Gt(this.props.children);
3547
+ o.key in a || (o.props.onExited && o.props.onExited(i), this.mounted && this.setState(function(c) {
3548
+ var u = _t({}, c.children);
3549
+ return delete u[o.key], {
3550
+ children: u
3551
+ };
3552
+ }));
3553
+ }, r.render = function() {
3554
+ var o = this.props, i = o.component, a = o.childFactory, c = Fi(o, ["component", "childFactory"]), u = this.state.contextValue, l = qi(this.state.children).map(a);
3555
+ return delete c.appear, delete c.enter, delete c.exit, i === null ? /* @__PURE__ */ Le.createElement($r.Provider, {
3556
+ value: u
3557
+ }, l) : /* @__PURE__ */ Le.createElement($r.Provider, {
3558
+ value: u
3559
+ }, /* @__PURE__ */ Le.createElement(i, c, l));
3560
+ }, t;
3561
+ })(Le.Component);
3562
+ qt.propTypes = process.env.NODE_ENV !== "production" ? {
3563
+ /**
3564
+ * `<TransitionGroup>` renders a `<div>` by default. You can change this
3565
+ * behavior by providing a `component` prop.
3566
+ * If you use React v16+ and would like to avoid a wrapping `<div>` element
3567
+ * you can pass in `component={null}`. This is useful if the wrapping div
3568
+ * borks your css styles.
3569
+ */
3570
+ component: b.any,
3571
+ /**
3572
+ * A set of `<Transition>` components, that are toggled `in` and out as they
3573
+ * leave. the `<TransitionGroup>` will inject specific transition props, so
3574
+ * remember to spread them through if you are wrapping the `<Transition>` as
3575
+ * with our `<Fade>` example.
3576
+ *
3577
+ * While this component is meant for multiple `Transition` or `CSSTransition`
3578
+ * children, sometimes you may want to have a single transition child with
3579
+ * content that you want to be transitioned out and in when you change it
3580
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
3581
+ * the transition child as you change its content, this will cause
3582
+ * `TransitionGroup` to transition the child out and back in.
3583
+ */
3584
+ children: b.node,
3585
+ /**
3586
+ * A convenience prop that enables or disables appear animations
3587
+ * for all children. Note that specifying this will override any defaults set
3588
+ * on individual children Transitions.
3589
+ */
3590
+ appear: b.bool,
3591
+ /**
3592
+ * A convenience prop that enables or disables enter animations
3593
+ * for all children. Note that specifying this will override any defaults set
3594
+ * on individual children Transitions.
3595
+ */
3596
+ enter: b.bool,
3597
+ /**
3598
+ * A convenience prop that enables or disables exit animations
3599
+ * for all children. Note that specifying this will override any defaults set
3600
+ * on individual children Transitions.
3601
+ */
3602
+ exit: b.bool,
3603
+ /**
3604
+ * You may need to apply reactive updates to a child as it is exiting.
3605
+ * This is generally done by using `cloneElement` however in the case of an exiting
3606
+ * child the element has already been removed and not accessible to the consumer.
3607
+ *
3608
+ * If you do need to update a child as it leaves you can provide a `childFactory`
3609
+ * to wrap every child, even the ones that are leaving.
3610
+ *
3611
+ * @type Function(child: ReactElement) -> ReactElement
3612
+ */
3613
+ childFactory: b.func
3614
+ } : {};
3615
+ qt.defaultProps = Ki;
3616
+ const Yi = [];
3617
+ function Hi(e) {
3618
+ B.useEffect(e, Yi);
3619
+ }
3620
+ class Kt {
3621
+ static create() {
3622
+ return new Kt();
3623
+ }
3624
+ currentId = null;
3625
+ /**
3626
+ * Executes `fn` after `delay`, clearing any previously scheduled call.
3627
+ */
3628
+ start(t, r) {
3629
+ this.clear(), this.currentId = setTimeout(() => {
3630
+ this.currentId = null, r();
3631
+ }, t);
3632
+ }
3633
+ clear = () => {
3634
+ this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
3635
+ };
3636
+ disposeEffect = () => this.clear;
3637
+ }
3638
+ function Xi() {
3639
+ const e = Kr(Kt.create).current;
3640
+ return Hi(e.disposeEffect), e;
3641
+ }
3642
+ function Yr(e) {
3643
+ const {
3644
+ className: t,
3645
+ classes: r,
3646
+ pulsate: n = !1,
3647
+ rippleX: o,
3648
+ rippleY: i,
3649
+ rippleSize: a,
3650
+ in: c,
3651
+ onExited: u,
3652
+ timeout: l
3653
+ } = e, [p, h] = B.useState(!1), m = pe(t, r.ripple, r.rippleVisible, n && r.ripplePulsate), S = {
3654
+ width: a,
3655
+ height: a,
3656
+ top: -(a / 2) + i,
3657
+ left: -(a / 2) + o
3658
+ }, v = pe(r.child, p && r.childLeaving, n && r.childPulsate);
3659
+ return !c && !p && h(!0), B.useEffect(() => {
3660
+ if (!c && u != null) {
3661
+ const T = setTimeout(u, l);
3662
+ return () => {
3663
+ clearTimeout(T);
3664
+ };
3665
+ }
3666
+ }, [u, c, l]), /* @__PURE__ */ Ne("span", {
3667
+ className: m,
3668
+ style: S,
3669
+ children: /* @__PURE__ */ Ne("span", {
3670
+ className: v
3671
+ })
3672
+ });
3673
+ }
3674
+ process.env.NODE_ENV !== "production" && (Yr.propTypes = {
3675
+ /**
3676
+ * Override or extend the styles applied to the component.
3677
+ */
3678
+ classes: b.object.isRequired,
3679
+ className: b.string,
3680
+ /**
3681
+ * @ignore - injected from TransitionGroup
3682
+ */
3683
+ in: b.bool,
3684
+ /**
3685
+ * @ignore - injected from TransitionGroup
3686
+ */
3687
+ onExited: b.func,
3688
+ /**
3689
+ * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
3690
+ */
3691
+ pulsate: b.bool,
3692
+ /**
3693
+ * Diameter of the ripple.
3694
+ */
3695
+ rippleSize: b.number,
3696
+ /**
3697
+ * Horizontal position of the ripple center.
3698
+ */
3699
+ rippleX: b.number,
3700
+ /**
3701
+ * Vertical position of the ripple center.
3702
+ */
3703
+ rippleY: b.number,
3704
+ /**
3705
+ * exit delay
3706
+ */
3707
+ timeout: b.number.isRequired
3708
+ });
3709
+ const le = qr("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), It = 550, Qi = 80, Ji = Nt`
3710
+ 0% {
3711
+ transform: scale(0);
3712
+ opacity: 0.1;
3713
+ }
3714
+
3715
+ 100% {
3716
+ transform: scale(1);
3717
+ opacity: 0.3;
3718
+ }
3719
+ `, Zi = Nt`
3720
+ 0% {
3721
+ opacity: 1;
3722
+ }
3723
+
3724
+ 100% {
3725
+ opacity: 0;
3726
+ }
3727
+ `, es = Nt`
3728
+ 0% {
3729
+ transform: scale(1);
3730
+ }
3731
+
3732
+ 50% {
3733
+ transform: scale(0.92);
3734
+ }
3735
+
3736
+ 100% {
3737
+ transform: scale(1);
3738
+ }
3739
+ `, ts = zt("span", {
3740
+ name: "MuiTouchRipple",
3741
+ slot: "Root"
3742
+ })({
3743
+ overflow: "hidden",
3744
+ pointerEvents: "none",
3745
+ position: "absolute",
3746
+ zIndex: 0,
3747
+ top: 0,
3748
+ right: 0,
3749
+ bottom: 0,
3750
+ left: 0,
3751
+ borderRadius: "inherit"
3752
+ }), rs = zt(Yr, {
3753
+ name: "MuiTouchRipple",
3754
+ slot: "Ripple"
3755
+ })`
3756
+ opacity: 0;
3757
+ position: absolute;
3758
+
3759
+ &.${le.rippleVisible} {
3760
+ opacity: 0.3;
3761
+ transform: scale(1);
3762
+ animation-name: ${Ji};
3763
+ animation-duration: ${It}ms;
3764
+ animation-timing-function: ${({
3765
+ theme: e
3766
+ }) => e.transitions.easing.easeInOut};
3767
+ }
3768
+
3769
+ &.${le.ripplePulsate} {
3770
+ animation-duration: ${({
3771
+ theme: e
3772
+ }) => e.transitions.duration.shorter}ms;
3773
+ }
3774
+
3775
+ & .${le.child} {
3776
+ opacity: 1;
3777
+ display: block;
3778
+ width: 100%;
3779
+ height: 100%;
3780
+ border-radius: 50%;
3781
+ background-color: currentColor;
3782
+ }
3783
+
3784
+ & .${le.childLeaving} {
3785
+ opacity: 0;
3786
+ animation-name: ${Zi};
3787
+ animation-duration: ${It}ms;
3788
+ animation-timing-function: ${({
3789
+ theme: e
3790
+ }) => e.transitions.easing.easeInOut};
3791
+ }
3792
+
3793
+ & .${le.childPulsate} {
3794
+ position: absolute;
3795
+ /* @noflip */
3796
+ left: 0px;
3797
+ top: 0;
3798
+ animation-name: ${es};
3799
+ animation-duration: 2500ms;
3800
+ animation-timing-function: ${({
3801
+ theme: e
3802
+ }) => e.transitions.easing.easeInOut};
3803
+ animation-iteration-count: infinite;
3804
+ animation-delay: 200ms;
3805
+ }
3806
+ `, Hr = /* @__PURE__ */ B.forwardRef(function(t, r) {
3807
+ const n = Gr({
3808
+ props: t,
3809
+ name: "MuiTouchRipple"
3810
+ }), {
3811
+ center: o = !1,
3812
+ classes: i = {},
3813
+ className: a,
3814
+ ...c
3815
+ } = n, [u, l] = B.useState([]), p = B.useRef(0), h = B.useRef(null);
3816
+ B.useEffect(() => {
3817
+ h.current && (h.current(), h.current = null);
3818
+ }, [u]);
3819
+ const m = B.useRef(!1), S = Xi(), v = B.useRef(null), T = B.useRef(null), f = B.useCallback((w) => {
3820
+ const {
3821
+ pulsate: A,
3822
+ rippleX: x,
3823
+ rippleY: W,
3824
+ rippleSize: J,
3825
+ cb: U
3826
+ } = w;
3827
+ l((Q) => [...Q, /* @__PURE__ */ Ne(rs, {
3828
+ classes: {
3829
+ ripple: pe(i.ripple, le.ripple),
3830
+ rippleVisible: pe(i.rippleVisible, le.rippleVisible),
3831
+ ripplePulsate: pe(i.ripplePulsate, le.ripplePulsate),
3832
+ child: pe(i.child, le.child),
3833
+ childLeaving: pe(i.childLeaving, le.childLeaving),
3834
+ childPulsate: pe(i.childPulsate, le.childPulsate)
3835
+ },
3836
+ timeout: It,
3837
+ pulsate: A,
3838
+ rippleX: x,
3839
+ rippleY: W,
3840
+ rippleSize: J
3841
+ }, p.current)]), p.current += 1, h.current = U;
3842
+ }, [i]), $ = B.useCallback((w = {}, A = {}, x = () => {
3843
+ }) => {
3844
+ const {
3845
+ pulsate: W = !1,
3846
+ center: J = o || A.pulsate,
3847
+ fakeElement: U = !1
3848
+ // For test purposes
3849
+ } = A;
3850
+ if (w?.type === "mousedown" && m.current) {
3851
+ m.current = !1;
3852
+ return;
3853
+ }
3854
+ w?.type === "touchstart" && (m.current = !0);
3855
+ const Q = U ? null : T.current, z = Q ? Q.getBoundingClientRect() : {
3856
+ width: 0,
3857
+ height: 0,
3858
+ left: 0,
3859
+ top: 0
3860
+ };
3861
+ let s, E, y;
3862
+ if (J || w === void 0 || w.clientX === 0 && w.clientY === 0 || !w.clientX && !w.touches)
3863
+ s = Math.round(z.width / 2), E = Math.round(z.height / 2);
3864
+ else {
3865
+ const {
3866
+ clientX: R,
3867
+ clientY: _
3868
+ } = w.touches && w.touches.length > 0 ? w.touches[0] : w;
3869
+ s = Math.round(R - z.left), E = Math.round(_ - z.top);
3870
+ }
3871
+ if (J)
3872
+ y = Math.sqrt((2 * z.width ** 2 + z.height ** 2) / 3), y % 2 === 0 && (y += 1);
3873
+ else {
3874
+ const R = Math.max(Math.abs((Q ? Q.clientWidth : 0) - s), s) * 2 + 2, _ = Math.max(Math.abs((Q ? Q.clientHeight : 0) - E), E) * 2 + 2;
3875
+ y = Math.sqrt(R ** 2 + _ ** 2);
3876
+ }
3877
+ w?.touches ? v.current === null && (v.current = () => {
3878
+ f({
3879
+ pulsate: W,
3880
+ rippleX: s,
3881
+ rippleY: E,
3882
+ rippleSize: y,
3883
+ cb: x
3884
+ });
3885
+ }, S.start(Qi, () => {
3886
+ v.current && (v.current(), v.current = null);
3887
+ })) : f({
3888
+ pulsate: W,
3889
+ rippleX: s,
3890
+ rippleY: E,
3891
+ rippleSize: y,
3892
+ cb: x
3893
+ });
3894
+ }, [o, f, S]), N = B.useCallback(() => {
3895
+ $({}, {
3896
+ pulsate: !0
3897
+ });
3898
+ }, [$]), X = B.useCallback((w, A) => {
3899
+ if (S.clear(), w?.type === "touchend" && v.current) {
3900
+ v.current(), v.current = null, S.start(0, () => {
3901
+ X(w, A);
3902
+ });
3903
+ return;
3904
+ }
3905
+ v.current = null, l((x) => x.length > 0 ? x.slice(1) : x), h.current = A;
3906
+ }, [S]);
3907
+ return B.useImperativeHandle(r, () => ({
3908
+ pulsate: N,
3909
+ start: $,
3910
+ stop: X
3911
+ }), [N, $, X]), /* @__PURE__ */ Ne(ts, {
3912
+ className: pe(le.root, i.root, a),
3913
+ ref: T,
3914
+ ...c,
3915
+ children: /* @__PURE__ */ Ne(qt, {
3916
+ component: null,
3917
+ exit: !0,
3918
+ children: u
3919
+ })
3920
+ });
3921
+ });
3922
+ process.env.NODE_ENV !== "production" && (Hr.propTypes = {
3923
+ /**
3924
+ * If `true`, the ripple starts at the center of the component
3925
+ * rather than at the point of interaction.
3926
+ */
3927
+ center: b.bool,
3928
+ /**
3929
+ * Override or extend the styles applied to the component.
3930
+ */
3931
+ classes: b.object,
3932
+ /**
3933
+ * @ignore
3934
+ */
3935
+ className: b.string
3936
+ });
3937
+ function ns(e) {
3938
+ return Ut("MuiButtonBase", e);
3939
+ }
3940
+ const os = qr("MuiButtonBase", ["root", "disabled", "focusVisible"]), is = (e) => {
3941
+ const {
3942
+ disabled: t,
3943
+ focusVisible: r,
3944
+ focusVisibleClassName: n,
3945
+ classes: o
3946
+ } = e, a = gn({
3947
+ root: ["root", t && "disabled", r && "focusVisible"]
3948
+ }, ns, o);
3949
+ return r && n && (a.root += ` ${n}`), a;
3950
+ }, ss = zt("button", {
3951
+ name: "MuiButtonBase",
3952
+ slot: "Root"
3953
+ })({
3954
+ display: "inline-flex",
3955
+ alignItems: "center",
3956
+ justifyContent: "center",
3957
+ position: "relative",
3958
+ boxSizing: "border-box",
3959
+ WebkitTapHighlightColor: "transparent",
3960
+ backgroundColor: "transparent",
3961
+ // Reset default value
3962
+ // We disable the focus ring for mouse, touch and keyboard users.
3963
+ outline: 0,
3964
+ border: 0,
3965
+ margin: 0,
3966
+ // Remove the margin in Safari
3967
+ borderRadius: 0,
3968
+ padding: 0,
3969
+ // Remove the padding in Firefox
3970
+ cursor: "pointer",
3971
+ userSelect: "none",
3972
+ verticalAlign: "middle",
3973
+ MozAppearance: "none",
3974
+ // Reset
3975
+ WebkitAppearance: "none",
3976
+ // Reset
3977
+ textDecoration: "none",
3978
+ // So we take precedent over the style of a native <a /> element.
3979
+ color: "inherit",
3980
+ "&::-moz-focus-inner": {
3981
+ borderStyle: "none"
3982
+ // Remove Firefox dotted outline.
3983
+ },
3984
+ [`&.${os.disabled}`]: {
3985
+ pointerEvents: "none",
3986
+ // Disable link interactions
3987
+ cursor: "default"
3988
+ },
3989
+ "@media print": {
3990
+ colorAdjust: "exact"
3991
+ }
3992
+ }), as = /* @__PURE__ */ B.forwardRef(function(t, r) {
3993
+ const n = Gr({
3994
+ props: t,
3995
+ name: "MuiButtonBase"
3996
+ }), {
3997
+ action: o,
3998
+ centerRipple: i = !1,
3999
+ children: a,
4000
+ className: c,
4001
+ component: u = "button",
4002
+ disabled: l = !1,
4003
+ disableRipple: p = !1,
4004
+ disableTouchRipple: h = !1,
4005
+ focusRipple: m = !1,
4006
+ focusVisibleClassName: S,
4007
+ LinkComponent: v = "a",
4008
+ onBlur: T,
4009
+ onClick: f,
4010
+ onContextMenu: $,
4011
+ onDragLeave: N,
4012
+ onFocus: X,
4013
+ onFocusVisible: w,
4014
+ onKeyDown: A,
4015
+ onKeyUp: x,
4016
+ onMouseDown: W,
4017
+ onMouseLeave: J,
4018
+ onMouseUp: U,
4019
+ onTouchEnd: Q,
4020
+ onTouchMove: z,
4021
+ onTouchStart: s,
4022
+ tabIndex: E = 0,
4023
+ TouchRippleProps: y,
4024
+ touchRippleRef: R,
4025
+ type: _,
4026
+ ...Z
4027
+ } = n, se = B.useRef(null), te = Bi(), g = wr(te.ref, R), [C, M] = B.useState(!1);
4028
+ l && C && M(!1), B.useImperativeHandle(o, () => ({
4029
+ focusVisible: () => {
4030
+ M(!0), se.current.focus();
4031
+ }
4032
+ }), []);
4033
+ const D = te.shouldMount && !p && !l;
4034
+ B.useEffect(() => {
4035
+ C && m && !p && te.pulsate();
4036
+ }, [p, m, C, te]);
4037
+ const k = ye(te, "start", W, h), V = ye(te, "stop", $, h), I = ye(te, "stop", N, h), j = ye(te, "stop", U, h), F = ye(te, "stop", (P) => {
4038
+ C && P.preventDefault(), J && J(P);
4039
+ }, h), G = ye(te, "start", s, h), L = ye(te, "stop", Q, h), ae = ye(te, "stop", z, h), ie = ye(te, "stop", (P) => {
4040
+ xr(P.target) || M(!1), T && T(P);
4041
+ }, !1), he = et((P) => {
4042
+ se.current || (se.current = P.currentTarget), xr(P.target) && (M(!0), w && w(P)), X && X(P);
4043
+ }), O = () => {
4044
+ const P = se.current;
4045
+ return u && u !== "button" && !(P.tagName === "A" && P.href);
4046
+ }, Be = et((P) => {
4047
+ m && !P.repeat && C && P.key === " " && te.stop(P, () => {
4048
+ te.start(P);
4049
+ }), P.target === P.currentTarget && O() && P.key === " " && P.preventDefault(), A && A(P), P.target === P.currentTarget && O() && P.key === "Enter" && !l && (P.preventDefault(), f && f(P));
4050
+ }), Ae = et((P) => {
4051
+ m && P.key === " " && C && !P.defaultPrevented && te.stop(P, () => {
4052
+ te.pulsate(P);
4053
+ }), x && x(P), f && P.target === P.currentTarget && O() && P.key === " " && !P.defaultPrevented && f(P);
4054
+ });
4055
+ let we = u;
4056
+ we === "button" && (Z.href || Z.to) && (we = v);
4057
+ const Ve = {};
4058
+ if (we === "button") {
4059
+ const P = !!Z.formAction;
4060
+ Ve.type = _ === void 0 && !P ? "button" : _, Ve.disabled = l;
4061
+ } else
4062
+ !Z.href && !Z.to && (Ve.role = "button"), l && (Ve["aria-disabled"] = l);
4063
+ const Xr = wr(r, se), Yt = {
4064
+ ...n,
4065
+ centerRipple: i,
4066
+ component: u,
4067
+ disabled: l,
4068
+ disableRipple: p,
4069
+ disableTouchRipple: h,
4070
+ focusRipple: m,
4071
+ tabIndex: E,
4072
+ focusVisible: C
4073
+ }, Qr = is(Yt);
4074
+ return /* @__PURE__ */ rn(ss, {
4075
+ as: we,
4076
+ className: pe(Qr.root, c),
4077
+ ownerState: Yt,
4078
+ onBlur: ie,
4079
+ onClick: f,
4080
+ onContextMenu: V,
4081
+ onFocus: he,
4082
+ onKeyDown: Be,
4083
+ onKeyUp: Ae,
4084
+ onMouseDown: k,
4085
+ onMouseLeave: F,
4086
+ onMouseUp: j,
4087
+ onDragLeave: I,
4088
+ onTouchEnd: L,
4089
+ onTouchMove: ae,
4090
+ onTouchStart: G,
4091
+ ref: Xr,
4092
+ tabIndex: l ? -1 : E,
4093
+ type: _,
4094
+ ...Ve,
4095
+ ...Z,
4096
+ children: [a, D ? /* @__PURE__ */ Ne(Hr, {
4097
+ ref: g,
4098
+ center: i,
4099
+ ...y
4100
+ }) : null]
4101
+ });
4102
+ });
4103
+ function ye(e, t, r, n = !1) {
4104
+ return et((o) => (r && r(o), n || e[t](o), !0));
4105
+ }
4106
+ process.env.NODE_ENV !== "production" && (as.propTypes = {
4107
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
4108
+ // │ These PropTypes are generated from the TypeScript type definitions. │
4109
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
4110
+ // └─────────────────────────────────────────────────────────────────────┘
4111
+ /**
4112
+ * A ref for imperative actions.
4113
+ * It currently only supports `focusVisible()` action.
4114
+ */
4115
+ action: Ii,
4116
+ /**
4117
+ * If `true`, the ripples are centered.
4118
+ * They won't start at the cursor interaction position.
4119
+ * @default false
4120
+ */
4121
+ centerRipple: b.bool,
4122
+ /**
4123
+ * The content of the component.
4124
+ */
4125
+ children: b.node,
4126
+ /**
4127
+ * Override or extend the styles applied to the component.
4128
+ */
4129
+ classes: b.object,
4130
+ /**
4131
+ * @ignore
4132
+ */
4133
+ className: b.string,
4134
+ /**
4135
+ * The component used for the root node.
4136
+ * Either a string to use a HTML element or a component.
4137
+ */
4138
+ component: ji,
4139
+ /**
4140
+ * If `true`, the component is disabled.
4141
+ * @default false
4142
+ */
4143
+ disabled: b.bool,
4144
+ /**
4145
+ * If `true`, the ripple effect is disabled.
4146
+ *
4147
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
4148
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
4149
+ * @default false
4150
+ */
4151
+ disableRipple: b.bool,
4152
+ /**
4153
+ * If `true`, the touch ripple effect is disabled.
4154
+ * @default false
4155
+ */
4156
+ disableTouchRipple: b.bool,
4157
+ /**
4158
+ * If `true`, the base button will have a keyboard focus ripple.
4159
+ * @default false
4160
+ */
4161
+ focusRipple: b.bool,
4162
+ /**
4163
+ * This prop can help identify which element has keyboard focus.
4164
+ * The class name will be applied when the element gains the focus through keyboard interaction.
4165
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
4166
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
4167
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
4168
+ * if needed.
4169
+ */
4170
+ focusVisibleClassName: b.string,
4171
+ /**
4172
+ * @ignore
4173
+ */
4174
+ formAction: b.oneOfType([b.func, b.string]),
4175
+ /**
4176
+ * @ignore
4177
+ */
4178
+ href: b.any,
4179
+ /**
4180
+ * The component used to render a link when the `href` prop is provided.
4181
+ * @default 'a'
4182
+ */
4183
+ LinkComponent: b.elementType,
4184
+ /**
4185
+ * @ignore
4186
+ */
4187
+ onBlur: b.func,
4188
+ /**
4189
+ * @ignore
4190
+ */
4191
+ onClick: b.func,
4192
+ /**
4193
+ * @ignore
4194
+ */
4195
+ onContextMenu: b.func,
4196
+ /**
4197
+ * @ignore
4198
+ */
4199
+ onDragLeave: b.func,
4200
+ /**
4201
+ * @ignore
4202
+ */
4203
+ onFocus: b.func,
4204
+ /**
4205
+ * Callback fired when the component is focused with a keyboard.
4206
+ * We trigger a `onFocus` callback too.
4207
+ */
4208
+ onFocusVisible: b.func,
4209
+ /**
4210
+ * @ignore
4211
+ */
4212
+ onKeyDown: b.func,
4213
+ /**
4214
+ * @ignore
4215
+ */
4216
+ onKeyUp: b.func,
4217
+ /**
4218
+ * @ignore
4219
+ */
4220
+ onMouseDown: b.func,
4221
+ /**
4222
+ * @ignore
4223
+ */
4224
+ onMouseLeave: b.func,
4225
+ /**
4226
+ * @ignore
4227
+ */
4228
+ onMouseUp: b.func,
4229
+ /**
4230
+ * @ignore
4231
+ */
4232
+ onTouchEnd: b.func,
4233
+ /**
4234
+ * @ignore
4235
+ */
4236
+ onTouchMove: b.func,
4237
+ /**
4238
+ * @ignore
4239
+ */
4240
+ onTouchStart: b.func,
4241
+ /**
4242
+ * The system prop that allows defining system overrides as well as additional CSS styles.
4243
+ */
4244
+ sx: b.oneOfType([b.arrayOf(b.oneOfType([b.func, b.object, b.bool])), b.func, b.object]),
4245
+ /**
4246
+ * @default 0
4247
+ */
4248
+ tabIndex: b.number,
4249
+ /**
4250
+ * Props applied to the `TouchRipple` element.
4251
+ */
4252
+ TouchRippleProps: b.object,
4253
+ /**
4254
+ * A ref that points to the `TouchRipple` element.
4255
+ */
4256
+ touchRippleRef: b.oneOfType([b.func, b.shape({
4257
+ current: b.shape({
4258
+ pulsate: b.func.isRequired,
4259
+ start: b.func.isRequired,
4260
+ stop: b.func.isRequired
4261
+ })
4262
+ })]),
4263
+ /**
4264
+ * @ignore
4265
+ */
4266
+ type: b.oneOfType([b.oneOf(["button", "reset", "submit"]), b.string])
4267
+ });
4268
+ export {
4269
+ as as B,
4270
+ sn as C,
4271
+ b as P,
4272
+ bi as T,
4273
+ qr as a,
4274
+ Dt as b,
4275
+ pe as c,
4276
+ gn as d,
4277
+ yi as e,
4278
+ Mr as f,
4279
+ Ut as g,
4280
+ si as h,
4281
+ Mi as i,
4282
+ hs as j,
4283
+ ki as k,
4284
+ gi as l,
4285
+ ps as m,
4286
+ be as n,
4287
+ ht as o,
4288
+ wr as p,
4289
+ Ii as q,
4290
+ kt as r,
4291
+ zt as s,
4292
+ Gr as u
4293
+ };