@loopr-ai/craft 0.0.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/TransitionGroupContext-ee5b34c9.js +132 -0
  2. package/dist/assets/theme.css +1 -0
  3. package/dist/components/cell/Button/index.d.ts +19 -4
  4. package/dist/components/cell/Button/index.js +1209 -4
  5. package/dist/components/cell/ProgressBar/index.d.ts +27 -0
  6. package/dist/components/cell/ProgressBar/index.js +325 -0
  7. package/dist/components/cell/Search/index.d.ts +25 -0
  8. package/dist/components/cell/Search/index.js +26539 -0
  9. package/dist/components/cell/Typography/index.d.ts +20 -0
  10. package/dist/components/cell/Typography/index.js +217 -0
  11. package/dist/createTheme-eb26b87a.js +2221 -0
  12. package/dist/emotion-react.browser.esm-ff33c213.js +439 -0
  13. package/dist/exactProp-0925aa6f.js +13 -0
  14. package/dist/global/colors.d.ts +16 -0
  15. package/dist/global/colors.js +22 -0
  16. package/dist/global/constants.js +1 -0
  17. package/dist/global/enums.js +1 -0
  18. package/dist/global/interfaces.d.ts +6 -0
  19. package/dist/global/interfaces.js +1 -0
  20. package/dist/global/theme.d.ts +35 -0
  21. package/dist/global/theme.js +76 -0
  22. package/dist/main.d.ts +6 -2
  23. package/dist/main.js +8 -2
  24. package/dist/providers/CraftThemeProvider.d.ts +16 -0
  25. package/dist/providers/CraftThemeProvider.js +128 -0
  26. package/dist/providers/index.d.ts +2 -0
  27. package/dist/providers/index.js +4 -0
  28. package/dist/styled-b8bfdd6b.js +699 -0
  29. package/dist/useTheme-a9e2b32c.js +10 -0
  30. package/dist/useThemeWithoutDefault-188598a8.js +950 -0
  31. package/package.json +25 -4
  32. package/dist/components/cell/Input/index.d.ts +0 -5
  33. package/dist/components/cell/Input/index.js +0 -6
@@ -0,0 +1,2221 @@
1
+ const Tt = {
2
+ black: "#000",
3
+ white: "#fff"
4
+ }, le = Tt, $t = {
5
+ 50: "#ffebee",
6
+ 100: "#ffcdd2",
7
+ 200: "#ef9a9a",
8
+ 300: "#e57373",
9
+ 400: "#ef5350",
10
+ 500: "#f44336",
11
+ 600: "#e53935",
12
+ 700: "#d32f2f",
13
+ 800: "#c62828",
14
+ 900: "#b71c1c",
15
+ A100: "#ff8a80",
16
+ A200: "#ff5252",
17
+ A400: "#ff1744",
18
+ A700: "#d50000"
19
+ }, Q = $t, St = {
20
+ 50: "#f3e5f5",
21
+ 100: "#e1bee7",
22
+ 200: "#ce93d8",
23
+ 300: "#ba68c8",
24
+ 400: "#ab47bc",
25
+ 500: "#9c27b0",
26
+ 600: "#8e24aa",
27
+ 700: "#7b1fa2",
28
+ 800: "#6a1b9a",
29
+ 900: "#4a148c",
30
+ A100: "#ea80fc",
31
+ A200: "#e040fb",
32
+ A400: "#d500f9",
33
+ A700: "#aa00ff"
34
+ }, ee = St, wt = {
35
+ 50: "#e3f2fd",
36
+ 100: "#bbdefb",
37
+ 200: "#90caf9",
38
+ 300: "#64b5f6",
39
+ 400: "#42a5f5",
40
+ 500: "#2196f3",
41
+ 600: "#1e88e5",
42
+ 700: "#1976d2",
43
+ 800: "#1565c0",
44
+ 900: "#0d47a1",
45
+ A100: "#82b1ff",
46
+ A200: "#448aff",
47
+ A400: "#2979ff",
48
+ A700: "#2962ff"
49
+ }, te = wt, _t = {
50
+ 50: "#e1f5fe",
51
+ 100: "#b3e5fc",
52
+ 200: "#81d4fa",
53
+ 300: "#4fc3f7",
54
+ 400: "#29b6f6",
55
+ 500: "#03a9f4",
56
+ 600: "#039be5",
57
+ 700: "#0288d1",
58
+ 800: "#0277bd",
59
+ 900: "#01579b",
60
+ A100: "#80d8ff",
61
+ A200: "#40c4ff",
62
+ A400: "#00b0ff",
63
+ A700: "#0091ea"
64
+ }, re = _t, Ct = {
65
+ 50: "#e8f5e9",
66
+ 100: "#c8e6c9",
67
+ 200: "#a5d6a7",
68
+ 300: "#81c784",
69
+ 400: "#66bb6a",
70
+ 500: "#4caf50",
71
+ 600: "#43a047",
72
+ 700: "#388e3c",
73
+ 800: "#2e7d32",
74
+ 900: "#1b5e20",
75
+ A100: "#b9f6ca",
76
+ A200: "#69f0ae",
77
+ A400: "#00e676",
78
+ A700: "#00c853"
79
+ }, ne = Ct, Pt = {
80
+ 50: "#fff3e0",
81
+ 100: "#ffe0b2",
82
+ 200: "#ffcc80",
83
+ 300: "#ffb74d",
84
+ 400: "#ffa726",
85
+ 500: "#ff9800",
86
+ 600: "#fb8c00",
87
+ 700: "#f57c00",
88
+ 800: "#ef6c00",
89
+ 900: "#e65100",
90
+ A100: "#ffd180",
91
+ A200: "#ffab40",
92
+ A400: "#ff9100",
93
+ A700: "#ff6d00"
94
+ }, ce = Pt, At = {
95
+ 50: "#fafafa",
96
+ 100: "#f5f5f5",
97
+ 200: "#eeeeee",
98
+ 300: "#e0e0e0",
99
+ 400: "#bdbdbd",
100
+ 500: "#9e9e9e",
101
+ 600: "#757575",
102
+ 700: "#616161",
103
+ 800: "#424242",
104
+ 900: "#212121",
105
+ A100: "#f5f5f5",
106
+ A200: "#eeeeee",
107
+ A400: "#bdbdbd",
108
+ A700: "#616161"
109
+ }, Rt = At;
110
+ function U() {
111
+ return U = Object.assign ? Object.assign.bind() : function(e) {
112
+ for (var t = 1; t < arguments.length; t++) {
113
+ var n = arguments[t];
114
+ for (var r in n)
115
+ Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
116
+ }
117
+ return e;
118
+ }, U.apply(this, arguments);
119
+ }
120
+ function oe(e) {
121
+ return e !== null && typeof e == "object" && e.constructor === Object;
122
+ }
123
+ function yt(e) {
124
+ if (!oe(e))
125
+ return e;
126
+ const t = {};
127
+ return Object.keys(e).forEach((n) => {
128
+ t[n] = yt(e[n]);
129
+ }), t;
130
+ }
131
+ function F(e, t, n = {
132
+ clone: !0
133
+ }) {
134
+ const r = n.clone ? U({}, e) : e;
135
+ return oe(e) && oe(t) && Object.keys(t).forEach((o) => {
136
+ o !== "__proto__" && (oe(t[o]) && o in e && oe(e[o]) ? r[o] = F(e[o], t[o], n) : n.clone ? r[o] = oe(t[o]) ? yt(t[o]) : t[o] : r[o] = t[o]);
137
+ }), r;
138
+ }
139
+ function It(e) {
140
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
141
+ }
142
+ function vn(e) {
143
+ if (e.__esModule)
144
+ return e;
145
+ var t = e.default;
146
+ if (typeof t == "function") {
147
+ var n = function r() {
148
+ return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
149
+ };
150
+ n.prototype = t.prototype;
151
+ } else
152
+ n = {};
153
+ return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
154
+ var o = Object.getOwnPropertyDescriptor(e, r);
155
+ Object.defineProperty(n, r, o.get ? o : {
156
+ enumerable: !0,
157
+ get: function() {
158
+ return e[r];
159
+ }
160
+ });
161
+ }), n;
162
+ }
163
+ var Le = { exports: {} }, he = { exports: {} }, P = {};
164
+ /** @license React v16.13.1
165
+ * react-is.production.min.js
166
+ *
167
+ * Copyright (c) Facebook, Inc. and its affiliates.
168
+ *
169
+ * This source code is licensed under the MIT license found in the
170
+ * LICENSE file in the root directory of this source tree.
171
+ */
172
+ var Je;
173
+ function kt() {
174
+ if (Je)
175
+ return P;
176
+ Je = 1;
177
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
178
+ function D(p) {
179
+ if (typeof p == "object" && p !== null) {
180
+ var H = p.$$typeof;
181
+ switch (H) {
182
+ case t:
183
+ switch (p = p.type, p) {
184
+ case m:
185
+ case f:
186
+ case r:
187
+ case i:
188
+ case o:
189
+ case h:
190
+ return p;
191
+ default:
192
+ switch (p = p && p.$$typeof, p) {
193
+ case u:
194
+ case g:
195
+ case v:
196
+ case b:
197
+ case a:
198
+ return p;
199
+ default:
200
+ return H;
201
+ }
202
+ }
203
+ case n:
204
+ return H;
205
+ }
206
+ }
207
+ }
208
+ function B(p) {
209
+ return D(p) === f;
210
+ }
211
+ return P.AsyncMode = m, P.ConcurrentMode = f, P.ContextConsumer = u, P.ContextProvider = a, P.Element = t, P.ForwardRef = g, P.Fragment = r, P.Lazy = v, P.Memo = b, P.Portal = n, P.Profiler = i, P.StrictMode = o, P.Suspense = h, P.isAsyncMode = function(p) {
212
+ return B(p) || D(p) === m;
213
+ }, P.isConcurrentMode = B, P.isContextConsumer = function(p) {
214
+ return D(p) === u;
215
+ }, P.isContextProvider = function(p) {
216
+ return D(p) === a;
217
+ }, P.isElement = function(p) {
218
+ return typeof p == "object" && p !== null && p.$$typeof === t;
219
+ }, P.isForwardRef = function(p) {
220
+ return D(p) === g;
221
+ }, P.isFragment = function(p) {
222
+ return D(p) === r;
223
+ }, P.isLazy = function(p) {
224
+ return D(p) === v;
225
+ }, P.isMemo = function(p) {
226
+ return D(p) === b;
227
+ }, P.isPortal = function(p) {
228
+ return D(p) === n;
229
+ }, P.isProfiler = function(p) {
230
+ return D(p) === i;
231
+ }, P.isStrictMode = function(p) {
232
+ return D(p) === o;
233
+ }, P.isSuspense = function(p) {
234
+ return D(p) === h;
235
+ }, P.isValidElementType = function(p) {
236
+ return typeof p == "string" || typeof p == "function" || p === r || p === f || p === i || p === o || p === h || p === c || typeof p == "object" && p !== null && (p.$$typeof === v || p.$$typeof === b || p.$$typeof === a || p.$$typeof === u || p.$$typeof === g || p.$$typeof === x || p.$$typeof === k || p.$$typeof === z || p.$$typeof === l);
237
+ }, P.typeOf = D, P;
238
+ }
239
+ var A = {};
240
+ /** @license React v16.13.1
241
+ * react-is.development.js
242
+ *
243
+ * Copyright (c) Facebook, Inc. and its affiliates.
244
+ *
245
+ * This source code is licensed under the MIT license found in the
246
+ * LICENSE file in the root directory of this source tree.
247
+ */
248
+ var Xe;
249
+ function jt() {
250
+ return Xe || (Xe = 1, process.env.NODE_ENV !== "production" && function() {
251
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, l = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, k = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
252
+ function D(d) {
253
+ return typeof d == "string" || typeof d == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
254
+ d === r || d === f || d === i || d === o || d === h || d === c || typeof d == "object" && d !== null && (d.$$typeof === v || d.$$typeof === b || d.$$typeof === a || d.$$typeof === u || d.$$typeof === g || d.$$typeof === x || d.$$typeof === k || d.$$typeof === z || d.$$typeof === l);
255
+ }
256
+ function B(d) {
257
+ if (typeof d == "object" && d !== null) {
258
+ var Y = d.$$typeof;
259
+ switch (Y) {
260
+ case t:
261
+ var ge = d.type;
262
+ switch (ge) {
263
+ case m:
264
+ case f:
265
+ case r:
266
+ case i:
267
+ case o:
268
+ case h:
269
+ return ge;
270
+ default:
271
+ var He = ge && ge.$$typeof;
272
+ switch (He) {
273
+ case u:
274
+ case g:
275
+ case v:
276
+ case b:
277
+ case a:
278
+ return He;
279
+ default:
280
+ return Y;
281
+ }
282
+ }
283
+ case n:
284
+ return Y;
285
+ }
286
+ }
287
+ }
288
+ var p = m, H = f, Ce = u, Pe = a, Ae = t, Re = g, me = r, Ie = v, ke = b, Z = n, je = i, L = o, J = h, ye = !1;
289
+ function Me(d) {
290
+ return ye || (ye = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), s(d) || B(d) === m;
291
+ }
292
+ function s(d) {
293
+ return B(d) === f;
294
+ }
295
+ function y(d) {
296
+ return B(d) === u;
297
+ }
298
+ function S(d) {
299
+ return B(d) === a;
300
+ }
301
+ function T(d) {
302
+ return typeof d == "object" && d !== null && d.$$typeof === t;
303
+ }
304
+ function O(d) {
305
+ return B(d) === g;
306
+ }
307
+ function w(d) {
308
+ return B(d) === r;
309
+ }
310
+ function E(d) {
311
+ return B(d) === v;
312
+ }
313
+ function $(d) {
314
+ return B(d) === b;
315
+ }
316
+ function _(d) {
317
+ return B(d) === n;
318
+ }
319
+ function I(d) {
320
+ return B(d) === i;
321
+ }
322
+ function C(d) {
323
+ return B(d) === o;
324
+ }
325
+ function W(d) {
326
+ return B(d) === h;
327
+ }
328
+ A.AsyncMode = p, A.ConcurrentMode = H, A.ContextConsumer = Ce, A.ContextProvider = Pe, A.Element = Ae, A.ForwardRef = Re, A.Fragment = me, A.Lazy = Ie, A.Memo = ke, A.Portal = Z, A.Profiler = je, A.StrictMode = L, A.Suspense = J, A.isAsyncMode = Me, A.isConcurrentMode = s, A.isContextConsumer = y, A.isContextProvider = S, A.isElement = T, A.isForwardRef = O, A.isFragment = w, A.isLazy = E, A.isMemo = $, A.isPortal = _, A.isProfiler = I, A.isStrictMode = C, A.isSuspense = W, A.isValidElementType = D, A.typeOf = B;
329
+ }()), A;
330
+ }
331
+ var Ze;
332
+ function gt() {
333
+ return Ze || (Ze = 1, process.env.NODE_ENV === "production" ? he.exports = kt() : he.exports = jt()), he.exports;
334
+ }
335
+ /*
336
+ object-assign
337
+ (c) Sindre Sorhus
338
+ @license MIT
339
+ */
340
+ var Ne, Qe;
341
+ function Mt() {
342
+ if (Qe)
343
+ return Ne;
344
+ Qe = 1;
345
+ var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
346
+ function r(i) {
347
+ if (i == null)
348
+ throw new TypeError("Object.assign cannot be called with null or undefined");
349
+ return Object(i);
350
+ }
351
+ function o() {
352
+ try {
353
+ if (!Object.assign)
354
+ return !1;
355
+ var i = new String("abc");
356
+ if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
357
+ return !1;
358
+ for (var a = {}, u = 0; u < 10; u++)
359
+ a["_" + String.fromCharCode(u)] = u;
360
+ var m = Object.getOwnPropertyNames(a).map(function(g) {
361
+ return a[g];
362
+ });
363
+ if (m.join("") !== "0123456789")
364
+ return !1;
365
+ var f = {};
366
+ return "abcdefghijklmnopqrst".split("").forEach(function(g) {
367
+ f[g] = g;
368
+ }), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
369
+ } catch {
370
+ return !1;
371
+ }
372
+ }
373
+ return Ne = o() ? Object.assign : function(i, a) {
374
+ for (var u, m = r(i), f, g = 1; g < arguments.length; g++) {
375
+ u = Object(arguments[g]);
376
+ for (var h in u)
377
+ t.call(u, h) && (m[h] = u[h]);
378
+ if (e) {
379
+ f = e(u);
380
+ for (var c = 0; c < f.length; c++)
381
+ n.call(u, f[c]) && (m[f[c]] = u[f[c]]);
382
+ }
383
+ }
384
+ return m;
385
+ }, Ne;
386
+ }
387
+ var De, et;
388
+ function Ye() {
389
+ if (et)
390
+ return De;
391
+ et = 1;
392
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
393
+ return De = e, De;
394
+ }
395
+ var Be, tt;
396
+ function ht() {
397
+ return tt || (tt = 1, Be = Function.call.bind(Object.prototype.hasOwnProperty)), Be;
398
+ }
399
+ var Ue, rt;
400
+ function Nt() {
401
+ if (rt)
402
+ return Ue;
403
+ rt = 1;
404
+ var e = function() {
405
+ };
406
+ if (process.env.NODE_ENV !== "production") {
407
+ var t = Ye(), n = {}, r = ht();
408
+ e = function(i) {
409
+ var a = "Warning: " + i;
410
+ typeof console < "u" && console.error(a);
411
+ try {
412
+ throw new Error(a);
413
+ } catch {
414
+ }
415
+ };
416
+ }
417
+ function o(i, a, u, m, f) {
418
+ if (process.env.NODE_ENV !== "production") {
419
+ for (var g in i)
420
+ if (r(i, g)) {
421
+ var h;
422
+ try {
423
+ if (typeof i[g] != "function") {
424
+ var c = Error(
425
+ (m || "React class") + ": " + u + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
426
+ );
427
+ throw c.name = "Invariant Violation", c;
428
+ }
429
+ h = i[g](a, g, m, u, null, t);
430
+ } catch (v) {
431
+ h = v;
432
+ }
433
+ if (h && !(h instanceof Error) && e(
434
+ (m || "React class") + ": type specification of " + u + " `" + g + "` 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)."
435
+ ), h instanceof Error && !(h.message in n)) {
436
+ n[h.message] = !0;
437
+ var b = f ? f() : "";
438
+ e(
439
+ "Failed " + u + " type: " + h.message + (b ?? "")
440
+ );
441
+ }
442
+ }
443
+ }
444
+ }
445
+ return o.resetWarningCache = function() {
446
+ process.env.NODE_ENV !== "production" && (n = {});
447
+ }, Ue = o, Ue;
448
+ }
449
+ var We, nt;
450
+ function Dt() {
451
+ if (nt)
452
+ return We;
453
+ nt = 1;
454
+ var e = gt(), t = Mt(), n = Ye(), r = ht(), o = Nt(), i = function() {
455
+ };
456
+ process.env.NODE_ENV !== "production" && (i = function(u) {
457
+ var m = "Warning: " + u;
458
+ typeof console < "u" && console.error(m);
459
+ try {
460
+ throw new Error(m);
461
+ } catch {
462
+ }
463
+ });
464
+ function a() {
465
+ return null;
466
+ }
467
+ return We = function(u, m) {
468
+ var f = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
469
+ function h(s) {
470
+ var y = s && (f && s[f] || s[g]);
471
+ if (typeof y == "function")
472
+ return y;
473
+ }
474
+ var c = "<<anonymous>>", b = {
475
+ array: k("array"),
476
+ bigint: k("bigint"),
477
+ bool: k("boolean"),
478
+ func: k("function"),
479
+ number: k("number"),
480
+ object: k("object"),
481
+ string: k("string"),
482
+ symbol: k("symbol"),
483
+ any: z(),
484
+ arrayOf: D,
485
+ element: B(),
486
+ elementType: p(),
487
+ instanceOf: H,
488
+ node: Re(),
489
+ objectOf: Pe,
490
+ oneOf: Ce,
491
+ oneOfType: Ae,
492
+ shape: Ie,
493
+ exact: ke
494
+ };
495
+ function v(s, y) {
496
+ return s === y ? s !== 0 || 1 / s === 1 / y : s !== s && y !== y;
497
+ }
498
+ function l(s, y) {
499
+ this.message = s, this.data = y && typeof y == "object" ? y : {}, this.stack = "";
500
+ }
501
+ l.prototype = Error.prototype;
502
+ function x(s) {
503
+ if (process.env.NODE_ENV !== "production")
504
+ var y = {}, S = 0;
505
+ function T(w, E, $, _, I, C, W) {
506
+ if (_ = _ || c, C = C || $, W !== n) {
507
+ if (m) {
508
+ var d = new Error(
509
+ "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"
510
+ );
511
+ throw d.name = "Invariant Violation", d;
512
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
513
+ var Y = _ + ":" + $;
514
+ !y[Y] && // Avoid spamming the console because they are often not actionable except for lib authors
515
+ S < 3 && (i(
516
+ "You are manually calling a React.PropTypes validation function for the `" + C + "` prop on `" + _ + "`. 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."
517
+ ), y[Y] = !0, S++);
518
+ }
519
+ }
520
+ return E[$] == null ? w ? E[$] === null ? new l("The " + I + " `" + C + "` is marked as required " + ("in `" + _ + "`, but its value is `null`.")) : new l("The " + I + " `" + C + "` is marked as required in " + ("`" + _ + "`, but its value is `undefined`.")) : null : s(E, $, _, I, C);
521
+ }
522
+ var O = T.bind(null, !1);
523
+ return O.isRequired = T.bind(null, !0), O;
524
+ }
525
+ function k(s) {
526
+ function y(S, T, O, w, E, $) {
527
+ var _ = S[T], I = L(_);
528
+ if (I !== s) {
529
+ var C = J(_);
530
+ return new l(
531
+ "Invalid " + w + " `" + E + "` of type " + ("`" + C + "` supplied to `" + O + "`, expected ") + ("`" + s + "`."),
532
+ { expectedType: s }
533
+ );
534
+ }
535
+ return null;
536
+ }
537
+ return x(y);
538
+ }
539
+ function z() {
540
+ return x(a);
541
+ }
542
+ function D(s) {
543
+ function y(S, T, O, w, E) {
544
+ if (typeof s != "function")
545
+ return new l("Property `" + E + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
546
+ var $ = S[T];
547
+ if (!Array.isArray($)) {
548
+ var _ = L($);
549
+ return new l("Invalid " + w + " `" + E + "` of type " + ("`" + _ + "` supplied to `" + O + "`, expected an array."));
550
+ }
551
+ for (var I = 0; I < $.length; I++) {
552
+ var C = s($, I, O, w, E + "[" + I + "]", n);
553
+ if (C instanceof Error)
554
+ return C;
555
+ }
556
+ return null;
557
+ }
558
+ return x(y);
559
+ }
560
+ function B() {
561
+ function s(y, S, T, O, w) {
562
+ var E = y[S];
563
+ if (!u(E)) {
564
+ var $ = L(E);
565
+ return new l("Invalid " + O + " `" + w + "` of type " + ("`" + $ + "` supplied to `" + T + "`, expected a single ReactElement."));
566
+ }
567
+ return null;
568
+ }
569
+ return x(s);
570
+ }
571
+ function p() {
572
+ function s(y, S, T, O, w) {
573
+ var E = y[S];
574
+ if (!e.isValidElementType(E)) {
575
+ var $ = L(E);
576
+ return new l("Invalid " + O + " `" + w + "` of type " + ("`" + $ + "` supplied to `" + T + "`, expected a single ReactElement type."));
577
+ }
578
+ return null;
579
+ }
580
+ return x(s);
581
+ }
582
+ function H(s) {
583
+ function y(S, T, O, w, E) {
584
+ if (!(S[T] instanceof s)) {
585
+ var $ = s.name || c, _ = Me(S[T]);
586
+ return new l("Invalid " + w + " `" + E + "` of type " + ("`" + _ + "` supplied to `" + O + "`, expected ") + ("instance of `" + $ + "`."));
587
+ }
588
+ return null;
589
+ }
590
+ return x(y);
591
+ }
592
+ function Ce(s) {
593
+ if (!Array.isArray(s))
594
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
595
+ "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])."
596
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), a;
597
+ function y(S, T, O, w, E) {
598
+ for (var $ = S[T], _ = 0; _ < s.length; _++)
599
+ if (v($, s[_]))
600
+ return null;
601
+ var I = JSON.stringify(s, function(W, d) {
602
+ var Y = J(d);
603
+ return Y === "symbol" ? String(d) : d;
604
+ });
605
+ return new l("Invalid " + w + " `" + E + "` of value `" + String($) + "` " + ("supplied to `" + O + "`, expected one of " + I + "."));
606
+ }
607
+ return x(y);
608
+ }
609
+ function Pe(s) {
610
+ function y(S, T, O, w, E) {
611
+ if (typeof s != "function")
612
+ return new l("Property `" + E + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
613
+ var $ = S[T], _ = L($);
614
+ if (_ !== "object")
615
+ return new l("Invalid " + w + " `" + E + "` of type " + ("`" + _ + "` supplied to `" + O + "`, expected an object."));
616
+ for (var I in $)
617
+ if (r($, I)) {
618
+ var C = s($, I, O, w, E + "." + I, n);
619
+ if (C instanceof Error)
620
+ return C;
621
+ }
622
+ return null;
623
+ }
624
+ return x(y);
625
+ }
626
+ function Ae(s) {
627
+ if (!Array.isArray(s))
628
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
629
+ for (var y = 0; y < s.length; y++) {
630
+ var S = s[y];
631
+ if (typeof S != "function")
632
+ return i(
633
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ye(S) + " at index " + y + "."
634
+ ), a;
635
+ }
636
+ function T(O, w, E, $, _) {
637
+ for (var I = [], C = 0; C < s.length; C++) {
638
+ var W = s[C], d = W(O, w, E, $, _, n);
639
+ if (d == null)
640
+ return null;
641
+ d.data && r(d.data, "expectedType") && I.push(d.data.expectedType);
642
+ }
643
+ var Y = I.length > 0 ? ", expected one of type [" + I.join(", ") + "]" : "";
644
+ return new l("Invalid " + $ + " `" + _ + "` supplied to " + ("`" + E + "`" + Y + "."));
645
+ }
646
+ return x(T);
647
+ }
648
+ function Re() {
649
+ function s(y, S, T, O, w) {
650
+ return Z(y[S]) ? null : new l("Invalid " + O + " `" + w + "` supplied to " + ("`" + T + "`, expected a ReactNode."));
651
+ }
652
+ return x(s);
653
+ }
654
+ function me(s, y, S, T, O) {
655
+ return new l(
656
+ (s || "React class") + ": " + y + " type `" + S + "." + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
657
+ );
658
+ }
659
+ function Ie(s) {
660
+ function y(S, T, O, w, E) {
661
+ var $ = S[T], _ = L($);
662
+ if (_ !== "object")
663
+ return new l("Invalid " + w + " `" + E + "` of type `" + _ + "` " + ("supplied to `" + O + "`, expected `object`."));
664
+ for (var I in s) {
665
+ var C = s[I];
666
+ if (typeof C != "function")
667
+ return me(O, w, E, I, J(C));
668
+ var W = C($, I, O, w, E + "." + I, n);
669
+ if (W)
670
+ return W;
671
+ }
672
+ return null;
673
+ }
674
+ return x(y);
675
+ }
676
+ function ke(s) {
677
+ function y(S, T, O, w, E) {
678
+ var $ = S[T], _ = L($);
679
+ if (_ !== "object")
680
+ return new l("Invalid " + w + " `" + E + "` of type `" + _ + "` " + ("supplied to `" + O + "`, expected `object`."));
681
+ var I = t({}, S[T], s);
682
+ for (var C in I) {
683
+ var W = s[C];
684
+ if (r(s, C) && typeof W != "function")
685
+ return me(O, w, E, C, J(W));
686
+ if (!W)
687
+ return new l(
688
+ "Invalid " + w + " `" + E + "` key `" + C + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(S[T], null, " ") + `
689
+ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
690
+ );
691
+ var d = W($, C, O, w, E + "." + C, n);
692
+ if (d)
693
+ return d;
694
+ }
695
+ return null;
696
+ }
697
+ return x(y);
698
+ }
699
+ function Z(s) {
700
+ switch (typeof s) {
701
+ case "number":
702
+ case "string":
703
+ case "undefined":
704
+ return !0;
705
+ case "boolean":
706
+ return !s;
707
+ case "object":
708
+ if (Array.isArray(s))
709
+ return s.every(Z);
710
+ if (s === null || u(s))
711
+ return !0;
712
+ var y = h(s);
713
+ if (y) {
714
+ var S = y.call(s), T;
715
+ if (y !== s.entries) {
716
+ for (; !(T = S.next()).done; )
717
+ if (!Z(T.value))
718
+ return !1;
719
+ } else
720
+ for (; !(T = S.next()).done; ) {
721
+ var O = T.value;
722
+ if (O && !Z(O[1]))
723
+ return !1;
724
+ }
725
+ } else
726
+ return !1;
727
+ return !0;
728
+ default:
729
+ return !1;
730
+ }
731
+ }
732
+ function je(s, y) {
733
+ return s === "symbol" ? !0 : y ? y["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && y instanceof Symbol : !1;
734
+ }
735
+ function L(s) {
736
+ var y = typeof s;
737
+ return Array.isArray(s) ? "array" : s instanceof RegExp ? "object" : je(y, s) ? "symbol" : y;
738
+ }
739
+ function J(s) {
740
+ if (typeof s > "u" || s === null)
741
+ return "" + s;
742
+ var y = L(s);
743
+ if (y === "object") {
744
+ if (s instanceof Date)
745
+ return "date";
746
+ if (s instanceof RegExp)
747
+ return "regexp";
748
+ }
749
+ return y;
750
+ }
751
+ function ye(s) {
752
+ var y = J(s);
753
+ switch (y) {
754
+ case "array":
755
+ case "object":
756
+ return "an " + y;
757
+ case "boolean":
758
+ case "date":
759
+ case "regexp":
760
+ return "a " + y;
761
+ default:
762
+ return y;
763
+ }
764
+ }
765
+ function Me(s) {
766
+ return !s.constructor || !s.constructor.name ? c : s.constructor.name;
767
+ }
768
+ return b.checkPropTypes = o, b.resetWarningCache = o.resetWarningCache, b.PropTypes = b, b;
769
+ }, We;
770
+ }
771
+ var Ke, ot;
772
+ function Bt() {
773
+ if (ot)
774
+ return Ke;
775
+ ot = 1;
776
+ var e = Ye();
777
+ function t() {
778
+ }
779
+ function n() {
780
+ }
781
+ return n.resetWarningCache = t, Ke = function() {
782
+ function r(a, u, m, f, g, h) {
783
+ if (h !== e) {
784
+ var c = new Error(
785
+ "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"
786
+ );
787
+ throw c.name = "Invariant Violation", c;
788
+ }
789
+ }
790
+ r.isRequired = r;
791
+ function o() {
792
+ return r;
793
+ }
794
+ var i = {
795
+ array: r,
796
+ bigint: r,
797
+ bool: r,
798
+ func: r,
799
+ number: r,
800
+ object: r,
801
+ string: r,
802
+ symbol: r,
803
+ any: r,
804
+ arrayOf: o,
805
+ element: r,
806
+ elementType: r,
807
+ instanceOf: o,
808
+ node: r,
809
+ objectOf: o,
810
+ oneOf: o,
811
+ oneOfType: o,
812
+ shape: o,
813
+ exact: o,
814
+ checkPropTypes: n,
815
+ resetWarningCache: t
816
+ };
817
+ return i.PropTypes = i, i;
818
+ }, Ke;
819
+ }
820
+ if (process.env.NODE_ENV !== "production") {
821
+ var Ut = gt(), Wt = !0;
822
+ Le.exports = Dt()(Ut.isElement, Wt);
823
+ } else
824
+ Le.exports = Bt()();
825
+ var Kt = Le.exports;
826
+ const ue = /* @__PURE__ */ It(Kt);
827
+ function ae(e) {
828
+ let t = "https://mui.com/production-error/?code=" + e;
829
+ for (let n = 1; n < arguments.length; n += 1)
830
+ t += "&args[]=" + encodeURIComponent(arguments[n]);
831
+ return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
832
+ }
833
+ function bt(e) {
834
+ if (typeof e != "string")
835
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ae(7));
836
+ return e.charAt(0).toUpperCase() + e.slice(1);
837
+ }
838
+ const it = (e) => e, zt = () => {
839
+ let e = it;
840
+ return {
841
+ configure(t) {
842
+ e = t;
843
+ },
844
+ generate(t) {
845
+ return e(t);
846
+ },
847
+ reset() {
848
+ e = it;
849
+ }
850
+ };
851
+ }, Lt = zt(), Yt = Lt, qt = {
852
+ active: "active",
853
+ checked: "checked",
854
+ completed: "completed",
855
+ disabled: "disabled",
856
+ error: "error",
857
+ expanded: "expanded",
858
+ focused: "focused",
859
+ focusVisible: "focusVisible",
860
+ open: "open",
861
+ readOnly: "readOnly",
862
+ required: "required",
863
+ selected: "selected"
864
+ };
865
+ function Ft(e, t, n = "Mui") {
866
+ const r = qt[t];
867
+ return r ? `${n}-${r}` : `${Yt.generate(e)}-${t}`;
868
+ }
869
+ function se(e, t) {
870
+ if (e == null)
871
+ return {};
872
+ var n = {}, r = Object.keys(e), o, i;
873
+ for (i = 0; i < r.length; i++)
874
+ o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
875
+ return n;
876
+ }
877
+ const Gt = ["values", "unit", "step"], Vt = (e) => {
878
+ const t = Object.keys(e).map((n) => ({
879
+ key: n,
880
+ val: e[n]
881
+ })) || [];
882
+ return t.sort((n, r) => n.val - r.val), t.reduce((n, r) => U({}, n, {
883
+ [r.key]: r.val
884
+ }), {});
885
+ };
886
+ function Ht(e) {
887
+ const {
888
+ // The breakpoint **start** at this value.
889
+ // For instance with the first breakpoint xs: [xs, sm).
890
+ values: t = {
891
+ xs: 0,
892
+ // phone
893
+ sm: 600,
894
+ // tablet
895
+ md: 900,
896
+ // small laptop
897
+ lg: 1200,
898
+ // desktop
899
+ xl: 1536
900
+ // large screen
901
+ },
902
+ unit: n = "px",
903
+ step: r = 5
904
+ } = e, o = se(e, Gt), i = Vt(t), a = Object.keys(i);
905
+ function u(c) {
906
+ return `@media (min-width:${typeof t[c] == "number" ? t[c] : c}${n})`;
907
+ }
908
+ function m(c) {
909
+ return `@media (max-width:${(typeof t[c] == "number" ? t[c] : c) - r / 100}${n})`;
910
+ }
911
+ function f(c, b) {
912
+ const v = a.indexOf(b);
913
+ return `@media (min-width:${typeof t[c] == "number" ? t[c] : c}${n}) and (max-width:${(v !== -1 && typeof t[a[v]] == "number" ? t[a[v]] : b) - r / 100}${n})`;
914
+ }
915
+ function g(c) {
916
+ return a.indexOf(c) + 1 < a.length ? f(c, a[a.indexOf(c) + 1]) : u(c);
917
+ }
918
+ function h(c) {
919
+ const b = a.indexOf(c);
920
+ return b === 0 ? u(a[1]) : b === a.length - 1 ? m(a[b]) : f(c, a[a.indexOf(c) + 1]).replace("@media", "@media not all and");
921
+ }
922
+ return U({
923
+ keys: a,
924
+ values: i,
925
+ up: u,
926
+ down: m,
927
+ between: f,
928
+ only: g,
929
+ not: h,
930
+ unit: n
931
+ }, o);
932
+ }
933
+ const Jt = {
934
+ borderRadius: 4
935
+ }, Xt = Jt, Zt = process.env.NODE_ENV !== "production" ? ue.oneOfType([ue.number, ue.string, ue.object, ue.array]) : {}, V = Zt;
936
+ function fe(e, t) {
937
+ return t ? F(e, t, {
938
+ clone: !1
939
+ // No need to clone deep, it's way faster.
940
+ }) : e;
941
+ }
942
+ const qe = {
943
+ xs: 0,
944
+ // phone
945
+ sm: 600,
946
+ // tablet
947
+ md: 900,
948
+ // small laptop
949
+ lg: 1200,
950
+ // desktop
951
+ xl: 1536
952
+ // large screen
953
+ }, at = {
954
+ // Sorted ASC by size. That's important.
955
+ // It can't be configured as it's used statically for propTypes.
956
+ keys: ["xs", "sm", "md", "lg", "xl"],
957
+ up: (e) => `@media (min-width:${qe[e]}px)`
958
+ };
959
+ function G(e, t, n) {
960
+ const r = e.theme || {};
961
+ if (Array.isArray(t)) {
962
+ const i = r.breakpoints || at;
963
+ return t.reduce((a, u, m) => (a[i.up(i.keys[m])] = n(t[m]), a), {});
964
+ }
965
+ if (typeof t == "object") {
966
+ const i = r.breakpoints || at;
967
+ return Object.keys(t).reduce((a, u) => {
968
+ if (Object.keys(i.values || qe).indexOf(u) !== -1) {
969
+ const m = i.up(u);
970
+ a[m] = n(t[u], u);
971
+ } else {
972
+ const m = u;
973
+ a[m] = t[m];
974
+ }
975
+ return a;
976
+ }, {});
977
+ }
978
+ return n(t);
979
+ }
980
+ function Qt(e = {}) {
981
+ var t;
982
+ return ((t = e.keys) == null ? void 0 : t.reduce((r, o) => {
983
+ const i = e.up(o);
984
+ return r[i] = {}, r;
985
+ }, {})) || {};
986
+ }
987
+ function er(e, t) {
988
+ return e.reduce((n, r) => {
989
+ const o = n[r];
990
+ return (!o || Object.keys(o).length === 0) && delete n[r], n;
991
+ }, t);
992
+ }
993
+ function ve(e, t, n = !0) {
994
+ if (!t || typeof t != "string")
995
+ return null;
996
+ if (e && e.vars && n) {
997
+ const r = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
998
+ if (r != null)
999
+ return r;
1000
+ }
1001
+ return t.split(".").reduce((r, o) => r && r[o] != null ? r[o] : null, e);
1002
+ }
1003
+ function be(e, t, n, r = n) {
1004
+ let o;
1005
+ return typeof e == "function" ? o = e(n) : Array.isArray(e) ? o = e[n] || r : o = ve(e, n) || r, t && (o = t(o, r, e)), o;
1006
+ }
1007
+ function R(e) {
1008
+ const {
1009
+ prop: t,
1010
+ cssProperty: n = e.prop,
1011
+ themeKey: r,
1012
+ transform: o
1013
+ } = e, i = (a) => {
1014
+ if (a[t] == null)
1015
+ return null;
1016
+ const u = a[t], m = a.theme, f = ve(m, r) || {};
1017
+ return G(a, u, (h) => {
1018
+ let c = be(f, o, h);
1019
+ return h === c && typeof h == "string" && (c = be(f, o, `${t}${h === "default" ? "" : bt(h)}`, h)), n === !1 ? c : {
1020
+ [n]: c
1021
+ };
1022
+ });
1023
+ };
1024
+ return i.propTypes = process.env.NODE_ENV !== "production" ? {
1025
+ [t]: V
1026
+ } : {}, i.filterProps = [t], i;
1027
+ }
1028
+ function tr(e) {
1029
+ const t = {};
1030
+ return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]);
1031
+ }
1032
+ const rr = {
1033
+ m: "margin",
1034
+ p: "padding"
1035
+ }, nr = {
1036
+ t: "Top",
1037
+ r: "Right",
1038
+ b: "Bottom",
1039
+ l: "Left",
1040
+ x: ["Left", "Right"],
1041
+ y: ["Top", "Bottom"]
1042
+ }, st = {
1043
+ marginX: "mx",
1044
+ marginY: "my",
1045
+ paddingX: "px",
1046
+ paddingY: "py"
1047
+ }, or = tr((e) => {
1048
+ if (e.length > 2)
1049
+ if (st[e])
1050
+ e = st[e];
1051
+ else
1052
+ return [e];
1053
+ const [t, n] = e.split(""), r = rr[t], o = nr[n] || "";
1054
+ return Array.isArray(o) ? o.map((i) => r + i) : [r + o];
1055
+ }), Oe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ee = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], ir = [...Oe, ...Ee];
1056
+ function de(e, t, n, r) {
1057
+ var o;
1058
+ const i = (o = ve(e, t, !1)) != null ? o : n;
1059
+ return typeof i == "number" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${a}.`), i * a) : Array.isArray(i) ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && (Number.isInteger(a) ? a > i.length - 1 && console.error([`MUI: The value provided (${a}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${a} > ${i.length - 1}, you need to add the missing values.`].join(`
1060
+ `)) : 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(`
1061
+ `))), i[a]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
1062
+ `)), () => {
1063
+ });
1064
+ }
1065
+ function vt(e) {
1066
+ return de(e, "spacing", 8, "spacing");
1067
+ }
1068
+ function pe(e, t) {
1069
+ if (typeof t == "string" || t == null)
1070
+ return t;
1071
+ const n = Math.abs(t), r = e(n);
1072
+ return t >= 0 ? r : typeof r == "number" ? -r : `-${r}`;
1073
+ }
1074
+ function ar(e, t) {
1075
+ return (n) => e.reduce((r, o) => (r[o] = pe(t, n), r), {});
1076
+ }
1077
+ function sr(e, t, n, r) {
1078
+ if (t.indexOf(n) === -1)
1079
+ return null;
1080
+ const o = or(n), i = ar(o, r), a = e[n];
1081
+ return G(e, a, i);
1082
+ }
1083
+ function Ot(e, t) {
1084
+ const n = vt(e.theme);
1085
+ return Object.keys(e).map((r) => sr(e, t, r, n)).reduce(fe, {});
1086
+ }
1087
+ function M(e) {
1088
+ return Ot(e, Oe);
1089
+ }
1090
+ M.propTypes = process.env.NODE_ENV !== "production" ? Oe.reduce((e, t) => (e[t] = V, e), {}) : {};
1091
+ M.filterProps = Oe;
1092
+ function N(e) {
1093
+ return Ot(e, Ee);
1094
+ }
1095
+ N.propTypes = process.env.NODE_ENV !== "production" ? Ee.reduce((e, t) => (e[t] = V, e), {}) : {};
1096
+ N.filterProps = Ee;
1097
+ process.env.NODE_ENV !== "production" && ir.reduce((e, t) => (e[t] = V, e), {});
1098
+ function cr(e = 8) {
1099
+ if (e.mui)
1100
+ return e;
1101
+ const t = vt({
1102
+ spacing: e
1103
+ }), n = (...r) => (process.env.NODE_ENV !== "production" && (r.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)), (r.length === 0 ? [1] : r).map((i) => {
1104
+ const a = t(i);
1105
+ return typeof a == "number" ? `${a}px` : a;
1106
+ }).join(" "));
1107
+ return n.mui = !0, n;
1108
+ }
1109
+ function xe(...e) {
1110
+ const t = e.reduce((r, o) => (o.filterProps.forEach((i) => {
1111
+ r[i] = o;
1112
+ }), r), {}), n = (r) => Object.keys(r).reduce((o, i) => t[i] ? fe(o, t[i](r)) : o, {});
1113
+ return n.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((r, o) => Object.assign(r, o.propTypes), {}) : {}, n.filterProps = e.reduce((r, o) => r.concat(o.filterProps), []), n;
1114
+ }
1115
+ function q(e) {
1116
+ return typeof e != "number" ? e : `${e}px solid`;
1117
+ }
1118
+ const ur = R({
1119
+ prop: "border",
1120
+ themeKey: "borders",
1121
+ transform: q
1122
+ }), fr = R({
1123
+ prop: "borderTop",
1124
+ themeKey: "borders",
1125
+ transform: q
1126
+ }), lr = R({
1127
+ prop: "borderRight",
1128
+ themeKey: "borders",
1129
+ transform: q
1130
+ }), dr = R({
1131
+ prop: "borderBottom",
1132
+ themeKey: "borders",
1133
+ transform: q
1134
+ }), pr = R({
1135
+ prop: "borderLeft",
1136
+ themeKey: "borders",
1137
+ transform: q
1138
+ }), mr = R({
1139
+ prop: "borderColor",
1140
+ themeKey: "palette"
1141
+ }), yr = R({
1142
+ prop: "borderTopColor",
1143
+ themeKey: "palette"
1144
+ }), gr = R({
1145
+ prop: "borderRightColor",
1146
+ themeKey: "palette"
1147
+ }), hr = R({
1148
+ prop: "borderBottomColor",
1149
+ themeKey: "palette"
1150
+ }), br = R({
1151
+ prop: "borderLeftColor",
1152
+ themeKey: "palette"
1153
+ }), Te = (e) => {
1154
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1155
+ const t = de(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
1156
+ borderRadius: pe(t, r)
1157
+ });
1158
+ return G(e, e.borderRadius, n);
1159
+ }
1160
+ return null;
1161
+ };
1162
+ Te.propTypes = process.env.NODE_ENV !== "production" ? {
1163
+ borderRadius: V
1164
+ } : {};
1165
+ Te.filterProps = ["borderRadius"];
1166
+ xe(ur, fr, lr, dr, pr, mr, yr, gr, hr, br, Te);
1167
+ const $e = (e) => {
1168
+ if (e.gap !== void 0 && e.gap !== null) {
1169
+ const t = de(e.theme, "spacing", 8, "gap"), n = (r) => ({
1170
+ gap: pe(t, r)
1171
+ });
1172
+ return G(e, e.gap, n);
1173
+ }
1174
+ return null;
1175
+ };
1176
+ $e.propTypes = process.env.NODE_ENV !== "production" ? {
1177
+ gap: V
1178
+ } : {};
1179
+ $e.filterProps = ["gap"];
1180
+ const Se = (e) => {
1181
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
1182
+ const t = de(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
1183
+ columnGap: pe(t, r)
1184
+ });
1185
+ return G(e, e.columnGap, n);
1186
+ }
1187
+ return null;
1188
+ };
1189
+ Se.propTypes = process.env.NODE_ENV !== "production" ? {
1190
+ columnGap: V
1191
+ } : {};
1192
+ Se.filterProps = ["columnGap"];
1193
+ const we = (e) => {
1194
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
1195
+ const t = de(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
1196
+ rowGap: pe(t, r)
1197
+ });
1198
+ return G(e, e.rowGap, n);
1199
+ }
1200
+ return null;
1201
+ };
1202
+ we.propTypes = process.env.NODE_ENV !== "production" ? {
1203
+ rowGap: V
1204
+ } : {};
1205
+ we.filterProps = ["rowGap"];
1206
+ const vr = R({
1207
+ prop: "gridColumn"
1208
+ }), Or = R({
1209
+ prop: "gridRow"
1210
+ }), Er = R({
1211
+ prop: "gridAutoFlow"
1212
+ }), xr = R({
1213
+ prop: "gridAutoColumns"
1214
+ }), Tr = R({
1215
+ prop: "gridAutoRows"
1216
+ }), $r = R({
1217
+ prop: "gridTemplateColumns"
1218
+ }), Sr = R({
1219
+ prop: "gridTemplateRows"
1220
+ }), wr = R({
1221
+ prop: "gridTemplateAreas"
1222
+ }), _r = R({
1223
+ prop: "gridArea"
1224
+ });
1225
+ xe($e, Se, we, vr, Or, Er, xr, Tr, $r, Sr, wr, _r);
1226
+ function ie(e, t) {
1227
+ return t === "grey" ? t : e;
1228
+ }
1229
+ const Cr = R({
1230
+ prop: "color",
1231
+ themeKey: "palette",
1232
+ transform: ie
1233
+ }), Pr = R({
1234
+ prop: "bgcolor",
1235
+ cssProperty: "backgroundColor",
1236
+ themeKey: "palette",
1237
+ transform: ie
1238
+ }), Ar = R({
1239
+ prop: "backgroundColor",
1240
+ themeKey: "palette",
1241
+ transform: ie
1242
+ });
1243
+ xe(Cr, Pr, Ar);
1244
+ function K(e) {
1245
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1246
+ }
1247
+ const Rr = R({
1248
+ prop: "width",
1249
+ transform: K
1250
+ }), Fe = (e) => {
1251
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1252
+ const t = (n) => {
1253
+ var r, o;
1254
+ const i = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || qe[n];
1255
+ return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
1256
+ maxWidth: `${i}${e.theme.breakpoints.unit}`
1257
+ } : {
1258
+ maxWidth: i
1259
+ } : {
1260
+ maxWidth: K(n)
1261
+ };
1262
+ };
1263
+ return G(e, e.maxWidth, t);
1264
+ }
1265
+ return null;
1266
+ };
1267
+ Fe.filterProps = ["maxWidth"];
1268
+ const Ir = R({
1269
+ prop: "minWidth",
1270
+ transform: K
1271
+ }), kr = R({
1272
+ prop: "height",
1273
+ transform: K
1274
+ }), jr = R({
1275
+ prop: "maxHeight",
1276
+ transform: K
1277
+ }), Mr = R({
1278
+ prop: "minHeight",
1279
+ transform: K
1280
+ });
1281
+ R({
1282
+ prop: "size",
1283
+ cssProperty: "width",
1284
+ transform: K
1285
+ });
1286
+ R({
1287
+ prop: "size",
1288
+ cssProperty: "height",
1289
+ transform: K
1290
+ });
1291
+ const Nr = R({
1292
+ prop: "boxSizing"
1293
+ });
1294
+ xe(Rr, Fe, Ir, kr, jr, Mr, Nr);
1295
+ const Dr = {
1296
+ // borders
1297
+ border: {
1298
+ themeKey: "borders",
1299
+ transform: q
1300
+ },
1301
+ borderTop: {
1302
+ themeKey: "borders",
1303
+ transform: q
1304
+ },
1305
+ borderRight: {
1306
+ themeKey: "borders",
1307
+ transform: q
1308
+ },
1309
+ borderBottom: {
1310
+ themeKey: "borders",
1311
+ transform: q
1312
+ },
1313
+ borderLeft: {
1314
+ themeKey: "borders",
1315
+ transform: q
1316
+ },
1317
+ borderColor: {
1318
+ themeKey: "palette"
1319
+ },
1320
+ borderTopColor: {
1321
+ themeKey: "palette"
1322
+ },
1323
+ borderRightColor: {
1324
+ themeKey: "palette"
1325
+ },
1326
+ borderBottomColor: {
1327
+ themeKey: "palette"
1328
+ },
1329
+ borderLeftColor: {
1330
+ themeKey: "palette"
1331
+ },
1332
+ borderRadius: {
1333
+ themeKey: "shape.borderRadius",
1334
+ style: Te
1335
+ },
1336
+ // palette
1337
+ color: {
1338
+ themeKey: "palette",
1339
+ transform: ie
1340
+ },
1341
+ bgcolor: {
1342
+ themeKey: "palette",
1343
+ cssProperty: "backgroundColor",
1344
+ transform: ie
1345
+ },
1346
+ backgroundColor: {
1347
+ themeKey: "palette",
1348
+ transform: ie
1349
+ },
1350
+ // spacing
1351
+ p: {
1352
+ style: N
1353
+ },
1354
+ pt: {
1355
+ style: N
1356
+ },
1357
+ pr: {
1358
+ style: N
1359
+ },
1360
+ pb: {
1361
+ style: N
1362
+ },
1363
+ pl: {
1364
+ style: N
1365
+ },
1366
+ px: {
1367
+ style: N
1368
+ },
1369
+ py: {
1370
+ style: N
1371
+ },
1372
+ padding: {
1373
+ style: N
1374
+ },
1375
+ paddingTop: {
1376
+ style: N
1377
+ },
1378
+ paddingRight: {
1379
+ style: N
1380
+ },
1381
+ paddingBottom: {
1382
+ style: N
1383
+ },
1384
+ paddingLeft: {
1385
+ style: N
1386
+ },
1387
+ paddingX: {
1388
+ style: N
1389
+ },
1390
+ paddingY: {
1391
+ style: N
1392
+ },
1393
+ paddingInline: {
1394
+ style: N
1395
+ },
1396
+ paddingInlineStart: {
1397
+ style: N
1398
+ },
1399
+ paddingInlineEnd: {
1400
+ style: N
1401
+ },
1402
+ paddingBlock: {
1403
+ style: N
1404
+ },
1405
+ paddingBlockStart: {
1406
+ style: N
1407
+ },
1408
+ paddingBlockEnd: {
1409
+ style: N
1410
+ },
1411
+ m: {
1412
+ style: M
1413
+ },
1414
+ mt: {
1415
+ style: M
1416
+ },
1417
+ mr: {
1418
+ style: M
1419
+ },
1420
+ mb: {
1421
+ style: M
1422
+ },
1423
+ ml: {
1424
+ style: M
1425
+ },
1426
+ mx: {
1427
+ style: M
1428
+ },
1429
+ my: {
1430
+ style: M
1431
+ },
1432
+ margin: {
1433
+ style: M
1434
+ },
1435
+ marginTop: {
1436
+ style: M
1437
+ },
1438
+ marginRight: {
1439
+ style: M
1440
+ },
1441
+ marginBottom: {
1442
+ style: M
1443
+ },
1444
+ marginLeft: {
1445
+ style: M
1446
+ },
1447
+ marginX: {
1448
+ style: M
1449
+ },
1450
+ marginY: {
1451
+ style: M
1452
+ },
1453
+ marginInline: {
1454
+ style: M
1455
+ },
1456
+ marginInlineStart: {
1457
+ style: M
1458
+ },
1459
+ marginInlineEnd: {
1460
+ style: M
1461
+ },
1462
+ marginBlock: {
1463
+ style: M
1464
+ },
1465
+ marginBlockStart: {
1466
+ style: M
1467
+ },
1468
+ marginBlockEnd: {
1469
+ style: M
1470
+ },
1471
+ // display
1472
+ displayPrint: {
1473
+ cssProperty: !1,
1474
+ transform: (e) => ({
1475
+ "@media print": {
1476
+ display: e
1477
+ }
1478
+ })
1479
+ },
1480
+ display: {},
1481
+ overflow: {},
1482
+ textOverflow: {},
1483
+ visibility: {},
1484
+ whiteSpace: {},
1485
+ // flexbox
1486
+ flexBasis: {},
1487
+ flexDirection: {},
1488
+ flexWrap: {},
1489
+ justifyContent: {},
1490
+ alignItems: {},
1491
+ alignContent: {},
1492
+ order: {},
1493
+ flex: {},
1494
+ flexGrow: {},
1495
+ flexShrink: {},
1496
+ alignSelf: {},
1497
+ justifyItems: {},
1498
+ justifySelf: {},
1499
+ // grid
1500
+ gap: {
1501
+ style: $e
1502
+ },
1503
+ rowGap: {
1504
+ style: we
1505
+ },
1506
+ columnGap: {
1507
+ style: Se
1508
+ },
1509
+ gridColumn: {},
1510
+ gridRow: {},
1511
+ gridAutoFlow: {},
1512
+ gridAutoColumns: {},
1513
+ gridAutoRows: {},
1514
+ gridTemplateColumns: {},
1515
+ gridTemplateRows: {},
1516
+ gridTemplateAreas: {},
1517
+ gridArea: {},
1518
+ // positions
1519
+ position: {},
1520
+ zIndex: {
1521
+ themeKey: "zIndex"
1522
+ },
1523
+ top: {},
1524
+ right: {},
1525
+ bottom: {},
1526
+ left: {},
1527
+ // shadows
1528
+ boxShadow: {
1529
+ themeKey: "shadows"
1530
+ },
1531
+ // sizing
1532
+ width: {
1533
+ transform: K
1534
+ },
1535
+ maxWidth: {
1536
+ style: Fe
1537
+ },
1538
+ minWidth: {
1539
+ transform: K
1540
+ },
1541
+ height: {
1542
+ transform: K
1543
+ },
1544
+ maxHeight: {
1545
+ transform: K
1546
+ },
1547
+ minHeight: {
1548
+ transform: K
1549
+ },
1550
+ boxSizing: {},
1551
+ // typography
1552
+ fontFamily: {
1553
+ themeKey: "typography"
1554
+ },
1555
+ fontSize: {
1556
+ themeKey: "typography"
1557
+ },
1558
+ fontStyle: {
1559
+ themeKey: "typography"
1560
+ },
1561
+ fontWeight: {
1562
+ themeKey: "typography"
1563
+ },
1564
+ letterSpacing: {},
1565
+ textTransform: {},
1566
+ lineHeight: {},
1567
+ textAlign: {},
1568
+ typography: {
1569
+ cssProperty: !1,
1570
+ themeKey: "typography"
1571
+ }
1572
+ }, Ge = Dr;
1573
+ function Br(...e) {
1574
+ const t = e.reduce((r, o) => r.concat(Object.keys(o)), []), n = new Set(t);
1575
+ return e.every((r) => n.size === Object.keys(r).length);
1576
+ }
1577
+ function Ur(e, t) {
1578
+ return typeof e == "function" ? e(t) : e;
1579
+ }
1580
+ function Wr() {
1581
+ function e(n, r, o, i) {
1582
+ const a = {
1583
+ [n]: r,
1584
+ theme: o
1585
+ }, u = i[n];
1586
+ if (!u)
1587
+ return {
1588
+ [n]: r
1589
+ };
1590
+ const {
1591
+ cssProperty: m = n,
1592
+ themeKey: f,
1593
+ transform: g,
1594
+ style: h
1595
+ } = u;
1596
+ if (r == null)
1597
+ return null;
1598
+ if (f === "typography" && r === "inherit")
1599
+ return {
1600
+ [n]: r
1601
+ };
1602
+ const c = ve(o, f) || {};
1603
+ return h ? h(a) : G(a, r, (v) => {
1604
+ let l = be(c, g, v);
1605
+ return v === l && typeof v == "string" && (l = be(c, g, `${n}${v === "default" ? "" : bt(v)}`, v)), m === !1 ? l : {
1606
+ [m]: l
1607
+ };
1608
+ });
1609
+ }
1610
+ function t(n) {
1611
+ var r;
1612
+ const {
1613
+ sx: o,
1614
+ theme: i = {}
1615
+ } = n || {};
1616
+ if (!o)
1617
+ return null;
1618
+ const a = (r = i.unstable_sxConfig) != null ? r : Ge;
1619
+ function u(m) {
1620
+ let f = m;
1621
+ if (typeof m == "function")
1622
+ f = m(i);
1623
+ else if (typeof m != "object")
1624
+ return m;
1625
+ if (!f)
1626
+ return null;
1627
+ const g = Qt(i.breakpoints), h = Object.keys(g);
1628
+ let c = g;
1629
+ return Object.keys(f).forEach((b) => {
1630
+ const v = Ur(f[b], i);
1631
+ if (v != null)
1632
+ if (typeof v == "object")
1633
+ if (a[b])
1634
+ c = fe(c, e(b, v, i, a));
1635
+ else {
1636
+ const l = G({
1637
+ theme: i
1638
+ }, v, (x) => ({
1639
+ [b]: x
1640
+ }));
1641
+ Br(l, v) ? c[b] = t({
1642
+ sx: v,
1643
+ theme: i
1644
+ }) : c = fe(c, l);
1645
+ }
1646
+ else
1647
+ c = fe(c, e(b, v, i, a));
1648
+ }), er(h, c);
1649
+ }
1650
+ return Array.isArray(o) ? o.map(u) : u(o);
1651
+ }
1652
+ return t;
1653
+ }
1654
+ const Et = Wr();
1655
+ Et.filterProps = ["sx"];
1656
+ const xt = Et, Kr = ["breakpoints", "palette", "spacing", "shape"];
1657
+ function zr(e = {}, ...t) {
1658
+ const {
1659
+ breakpoints: n = {},
1660
+ palette: r = {},
1661
+ spacing: o,
1662
+ shape: i = {}
1663
+ } = e, a = se(e, Kr), u = Ht(n), m = cr(o);
1664
+ let f = F({
1665
+ breakpoints: u,
1666
+ direction: "ltr",
1667
+ components: {},
1668
+ // Inject component definitions.
1669
+ palette: U({
1670
+ mode: "light"
1671
+ }, r),
1672
+ spacing: m,
1673
+ shape: U({}, Xt, i)
1674
+ }, a);
1675
+ return f = t.reduce((g, h) => F(g, h), f), f.unstable_sxConfig = U({}, Ge, a == null ? void 0 : a.unstable_sxConfig), f.unstable_sx = function(h) {
1676
+ return xt({
1677
+ sx: h,
1678
+ theme: this
1679
+ });
1680
+ }, f;
1681
+ }
1682
+ function Ve(e, t = 0, n = 1) {
1683
+ return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), Math.min(Math.max(t, e), n);
1684
+ }
1685
+ function Lr(e) {
1686
+ e = e.slice(1);
1687
+ const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
1688
+ let n = e.match(t);
1689
+ return n && n[0].length === 1 && (n = n.map((r) => r + r)), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((r, o) => o < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
1690
+ }
1691
+ function X(e) {
1692
+ if (e.type)
1693
+ return e;
1694
+ if (e.charAt(0) === "#")
1695
+ return X(Lr(e));
1696
+ const t = e.indexOf("("), n = e.substring(0, t);
1697
+ if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(n) === -1)
1698
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
1699
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : ae(9, e));
1700
+ let r = e.substring(t + 1, e.length - 1), o;
1701
+ if (n === "color") {
1702
+ if (r = r.split(" "), o = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
1703
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
1704
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : ae(10, o));
1705
+ } else
1706
+ r = r.split(",");
1707
+ return r = r.map((i) => parseFloat(i)), {
1708
+ type: n,
1709
+ values: r,
1710
+ colorSpace: o
1711
+ };
1712
+ }
1713
+ function _e(e) {
1714
+ const {
1715
+ type: t,
1716
+ colorSpace: n
1717
+ } = e;
1718
+ let {
1719
+ values: r
1720
+ } = e;
1721
+ return t.indexOf("rgb") !== -1 ? r = r.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.indexOf("hsl") !== -1 && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.indexOf("color") !== -1 ? r = `${n} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`;
1722
+ }
1723
+ function Yr(e) {
1724
+ e = X(e);
1725
+ const {
1726
+ values: t
1727
+ } = e, n = t[0], r = t[1] / 100, o = t[2] / 100, i = r * Math.min(o, 1 - o), a = (f, g = (f + n / 30) % 12) => o - i * Math.max(Math.min(g - 3, 9 - g, 1), -1);
1728
+ let u = "rgb";
1729
+ const m = [Math.round(a(0) * 255), Math.round(a(8) * 255), Math.round(a(4) * 255)];
1730
+ return e.type === "hsla" && (u += "a", m.push(t[3])), _e({
1731
+ type: u,
1732
+ values: m
1733
+ });
1734
+ }
1735
+ function ct(e) {
1736
+ e = X(e);
1737
+ let t = e.type === "hsl" || e.type === "hsla" ? X(Yr(e)).values : e.values;
1738
+ return t = t.map((n) => (e.type !== "color" && (n /= 255), n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
1739
+ }
1740
+ function ut(e, t) {
1741
+ const n = ct(e), r = ct(t);
1742
+ return (Math.max(n, r) + 0.05) / (Math.min(n, r) + 0.05);
1743
+ }
1744
+ function On(e, t) {
1745
+ return e = X(e), t = Ve(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, _e(e);
1746
+ }
1747
+ function qr(e, t) {
1748
+ if (e = X(e), t = Ve(t), e.type.indexOf("hsl") !== -1)
1749
+ e.values[2] *= 1 - t;
1750
+ else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
1751
+ for (let n = 0; n < 3; n += 1)
1752
+ e.values[n] *= 1 - t;
1753
+ return _e(e);
1754
+ }
1755
+ function Fr(e, t) {
1756
+ if (e = X(e), t = Ve(t), e.type.indexOf("hsl") !== -1)
1757
+ e.values[2] += (100 - e.values[2]) * t;
1758
+ else if (e.type.indexOf("rgb") !== -1)
1759
+ for (let n = 0; n < 3; n += 1)
1760
+ e.values[n] += (255 - e.values[n]) * t;
1761
+ else if (e.type.indexOf("color") !== -1)
1762
+ for (let n = 0; n < 3; n += 1)
1763
+ e.values[n] += (1 - e.values[n]) * t;
1764
+ return _e(e);
1765
+ }
1766
+ function Gr(e, t) {
1767
+ return U({
1768
+ toolbar: {
1769
+ minHeight: 56,
1770
+ [e.up("xs")]: {
1771
+ "@media (orientation: landscape)": {
1772
+ minHeight: 48
1773
+ }
1774
+ },
1775
+ [e.up("sm")]: {
1776
+ minHeight: 64
1777
+ }
1778
+ }
1779
+ }, t);
1780
+ }
1781
+ const Vr = ["mode", "contrastThreshold", "tonalOffset"], ft = {
1782
+ // The colors used to style the text.
1783
+ text: {
1784
+ // The most important text.
1785
+ primary: "rgba(0, 0, 0, 0.87)",
1786
+ // Secondary text.
1787
+ secondary: "rgba(0, 0, 0, 0.6)",
1788
+ // Disabled text have even lower visual prominence.
1789
+ disabled: "rgba(0, 0, 0, 0.38)"
1790
+ },
1791
+ // The color used to divide different elements.
1792
+ divider: "rgba(0, 0, 0, 0.12)",
1793
+ // The background colors used to style the surfaces.
1794
+ // Consistency between these values is important.
1795
+ background: {
1796
+ paper: le.white,
1797
+ default: le.white
1798
+ },
1799
+ // The colors used to style the action elements.
1800
+ action: {
1801
+ // The color of an active action like an icon button.
1802
+ active: "rgba(0, 0, 0, 0.54)",
1803
+ // The color of an hovered action.
1804
+ hover: "rgba(0, 0, 0, 0.04)",
1805
+ hoverOpacity: 0.04,
1806
+ // The color of a selected action.
1807
+ selected: "rgba(0, 0, 0, 0.08)",
1808
+ selectedOpacity: 0.08,
1809
+ // The color of a disabled action.
1810
+ disabled: "rgba(0, 0, 0, 0.26)",
1811
+ // The background color of a disabled action.
1812
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
1813
+ disabledOpacity: 0.38,
1814
+ focus: "rgba(0, 0, 0, 0.12)",
1815
+ focusOpacity: 0.12,
1816
+ activatedOpacity: 0.12
1817
+ }
1818
+ }, ze = {
1819
+ text: {
1820
+ primary: le.white,
1821
+ secondary: "rgba(255, 255, 255, 0.7)",
1822
+ disabled: "rgba(255, 255, 255, 0.5)",
1823
+ icon: "rgba(255, 255, 255, 0.5)"
1824
+ },
1825
+ divider: "rgba(255, 255, 255, 0.12)",
1826
+ background: {
1827
+ paper: "#121212",
1828
+ default: "#121212"
1829
+ },
1830
+ action: {
1831
+ active: le.white,
1832
+ hover: "rgba(255, 255, 255, 0.08)",
1833
+ hoverOpacity: 0.08,
1834
+ selected: "rgba(255, 255, 255, 0.16)",
1835
+ selectedOpacity: 0.16,
1836
+ disabled: "rgba(255, 255, 255, 0.3)",
1837
+ disabledBackground: "rgba(255, 255, 255, 0.12)",
1838
+ disabledOpacity: 0.38,
1839
+ focus: "rgba(255, 255, 255, 0.12)",
1840
+ focusOpacity: 0.12,
1841
+ activatedOpacity: 0.24
1842
+ }
1843
+ };
1844
+ function lt(e, t, n, r) {
1845
+ const o = r.light || r, i = r.dark || r * 1.5;
1846
+ e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = Fr(e.main, o) : t === "dark" && (e.dark = qr(e.main, i)));
1847
+ }
1848
+ function Hr(e = "light") {
1849
+ return e === "dark" ? {
1850
+ main: te[200],
1851
+ light: te[50],
1852
+ dark: te[400]
1853
+ } : {
1854
+ main: te[700],
1855
+ light: te[400],
1856
+ dark: te[800]
1857
+ };
1858
+ }
1859
+ function Jr(e = "light") {
1860
+ return e === "dark" ? {
1861
+ main: ee[200],
1862
+ light: ee[50],
1863
+ dark: ee[400]
1864
+ } : {
1865
+ main: ee[500],
1866
+ light: ee[300],
1867
+ dark: ee[700]
1868
+ };
1869
+ }
1870
+ function Xr(e = "light") {
1871
+ return e === "dark" ? {
1872
+ main: Q[500],
1873
+ light: Q[300],
1874
+ dark: Q[700]
1875
+ } : {
1876
+ main: Q[700],
1877
+ light: Q[400],
1878
+ dark: Q[800]
1879
+ };
1880
+ }
1881
+ function Zr(e = "light") {
1882
+ return e === "dark" ? {
1883
+ main: re[400],
1884
+ light: re[300],
1885
+ dark: re[700]
1886
+ } : {
1887
+ main: re[700],
1888
+ light: re[500],
1889
+ dark: re[900]
1890
+ };
1891
+ }
1892
+ function Qr(e = "light") {
1893
+ return e === "dark" ? {
1894
+ main: ne[400],
1895
+ light: ne[300],
1896
+ dark: ne[700]
1897
+ } : {
1898
+ main: ne[800],
1899
+ light: ne[500],
1900
+ dark: ne[900]
1901
+ };
1902
+ }
1903
+ function en(e = "light") {
1904
+ return e === "dark" ? {
1905
+ main: ce[400],
1906
+ light: ce[300],
1907
+ dark: ce[700]
1908
+ } : {
1909
+ main: "#ed6c02",
1910
+ // closest to orange[800] that pass 3:1.
1911
+ light: ce[500],
1912
+ dark: ce[900]
1913
+ };
1914
+ }
1915
+ function tn(e) {
1916
+ const {
1917
+ mode: t = "light",
1918
+ contrastThreshold: n = 3,
1919
+ tonalOffset: r = 0.2
1920
+ } = e, o = se(e, Vr), i = e.primary || Hr(t), a = e.secondary || Jr(t), u = e.error || Xr(t), m = e.info || Zr(t), f = e.success || Qr(t), g = e.warning || en(t);
1921
+ function h(l) {
1922
+ const x = ut(l, ze.text.primary) >= n ? ze.text.primary : ft.text.primary;
1923
+ if (process.env.NODE_ENV !== "production") {
1924
+ const k = ut(l, x);
1925
+ k < 3 && console.error([`MUI: The contrast ratio of ${k}:1 for ${x} on ${l}`, "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(`
1926
+ `));
1927
+ }
1928
+ return x;
1929
+ }
1930
+ const c = ({
1931
+ color: l,
1932
+ name: x,
1933
+ mainShade: k = 500,
1934
+ lightShade: z = 300,
1935
+ darkShade: D = 700
1936
+ }) => {
1937
+ if (l = U({}, l), !l.main && l[k] && (l.main = l[k]), !l.hasOwnProperty("main"))
1938
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
1939
+ The color object needs to have a \`main\` property or a \`${k}\` property.` : ae(11, x ? ` (${x})` : "", k));
1940
+ if (typeof l.main != "string")
1941
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
1942
+ \`color.main\` should be a string, but \`${JSON.stringify(l.main)}\` was provided instead.
1943
+
1944
+ Did you intend to use one of the following approaches?
1945
+
1946
+ import { green } from "@mui/material/colors";
1947
+
1948
+ const theme1 = createTheme({ palette: {
1949
+ primary: green,
1950
+ } });
1951
+
1952
+ const theme2 = createTheme({ palette: {
1953
+ primary: { main: green[500] },
1954
+ } });` : ae(12, x ? ` (${x})` : "", JSON.stringify(l.main)));
1955
+ return lt(l, "light", z, r), lt(l, "dark", D, r), l.contrastText || (l.contrastText = h(l.main)), l;
1956
+ }, b = {
1957
+ dark: ze,
1958
+ light: ft
1959
+ };
1960
+ return process.env.NODE_ENV !== "production" && (b[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), F(U({
1961
+ // A collection of common colors.
1962
+ common: U({}, le),
1963
+ // prevent mutable object.
1964
+ // The palette mode, can be light or dark.
1965
+ mode: t,
1966
+ // The colors used to represent primary interface elements for a user.
1967
+ primary: c({
1968
+ color: i,
1969
+ name: "primary"
1970
+ }),
1971
+ // The colors used to represent secondary interface elements for a user.
1972
+ secondary: c({
1973
+ color: a,
1974
+ name: "secondary",
1975
+ mainShade: "A400",
1976
+ lightShade: "A200",
1977
+ darkShade: "A700"
1978
+ }),
1979
+ // The colors used to represent interface elements that the user should be made aware of.
1980
+ error: c({
1981
+ color: u,
1982
+ name: "error"
1983
+ }),
1984
+ // The colors used to represent potentially dangerous actions or important messages.
1985
+ warning: c({
1986
+ color: g,
1987
+ name: "warning"
1988
+ }),
1989
+ // The colors used to present information to the user that is neutral and not necessarily important.
1990
+ info: c({
1991
+ color: m,
1992
+ name: "info"
1993
+ }),
1994
+ // The colors used to indicate the successful completion of an action that user triggered.
1995
+ success: c({
1996
+ color: f,
1997
+ name: "success"
1998
+ }),
1999
+ // The grey colors.
2000
+ grey: Rt,
2001
+ // Used by `getContrastText()` to maximize the contrast between
2002
+ // the background and the text.
2003
+ contrastThreshold: n,
2004
+ // Takes a background color and returns the text color that maximizes the contrast.
2005
+ getContrastText: h,
2006
+ // Generate a rich color object.
2007
+ augmentColor: c,
2008
+ // Used by the functions below to shift a color's luminance by approximately
2009
+ // two indexes within its tonal palette.
2010
+ // E.g., shift from Red 500 to Red 300 or Red 700.
2011
+ tonalOffset: r
2012
+ }, b[t]), o);
2013
+ }
2014
+ const rn = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
2015
+ function nn(e) {
2016
+ return Math.round(e * 1e5) / 1e5;
2017
+ }
2018
+ const dt = {
2019
+ textTransform: "uppercase"
2020
+ }, pt = '"Roboto", "Helvetica", "Arial", sans-serif';
2021
+ function on(e, t) {
2022
+ const n = typeof t == "function" ? t(e) : t, {
2023
+ fontFamily: r = pt,
2024
+ // The default font size of the Material Specification.
2025
+ fontSize: o = 14,
2026
+ // px
2027
+ fontWeightLight: i = 300,
2028
+ fontWeightRegular: a = 400,
2029
+ fontWeightMedium: u = 500,
2030
+ fontWeightBold: m = 700,
2031
+ // Tell MUI what's the font-size on the html element.
2032
+ // 16px is the default font-size used by browsers.
2033
+ htmlFontSize: f = 16,
2034
+ // Apply the CSS properties to all the variants.
2035
+ allVariants: g,
2036
+ pxToRem: h
2037
+ } = n, c = se(n, rn);
2038
+ process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
2039
+ const b = o / 14, v = h || ((k) => `${k / f * b}rem`), l = (k, z, D, B, p) => U({
2040
+ fontFamily: r,
2041
+ fontWeight: k,
2042
+ fontSize: v(z),
2043
+ // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
2044
+ lineHeight: D
2045
+ }, r === pt ? {
2046
+ letterSpacing: `${nn(B / z)}em`
2047
+ } : {}, p, g), x = {
2048
+ h1: l(i, 96, 1.167, -1.5),
2049
+ h2: l(i, 60, 1.2, -0.5),
2050
+ h3: l(a, 48, 1.167, 0),
2051
+ h4: l(a, 34, 1.235, 0.25),
2052
+ h5: l(a, 24, 1.334, 0),
2053
+ h6: l(u, 20, 1.6, 0.15),
2054
+ subtitle1: l(a, 16, 1.75, 0.15),
2055
+ subtitle2: l(u, 14, 1.57, 0.1),
2056
+ body1: l(a, 16, 1.5, 0.15),
2057
+ body2: l(a, 14, 1.43, 0.15),
2058
+ button: l(u, 14, 1.75, 0.4, dt),
2059
+ caption: l(a, 12, 1.66, 0.4),
2060
+ overline: l(a, 12, 2.66, 1, dt),
2061
+ // 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.
2062
+ inherit: {
2063
+ fontFamily: "inherit",
2064
+ fontWeight: "inherit",
2065
+ fontSize: "inherit",
2066
+ lineHeight: "inherit",
2067
+ letterSpacing: "inherit"
2068
+ }
2069
+ };
2070
+ return F(U({
2071
+ htmlFontSize: f,
2072
+ pxToRem: v,
2073
+ fontFamily: r,
2074
+ fontSize: o,
2075
+ fontWeightLight: i,
2076
+ fontWeightRegular: a,
2077
+ fontWeightMedium: u,
2078
+ fontWeightBold: m
2079
+ }, x), c, {
2080
+ clone: !1
2081
+ // No need to clone deep
2082
+ });
2083
+ }
2084
+ const an = 0.2, sn = 0.14, cn = 0.12;
2085
+ function j(...e) {
2086
+ return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${an})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${sn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${cn})`].join(",");
2087
+ }
2088
+ const un = ["none", j(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), j(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), j(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), j(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), j(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), j(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), j(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), j(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), j(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), j(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), j(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), j(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), j(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), j(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), j(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), j(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), j(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), j(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), j(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), j(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), j(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), j(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), j(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), j(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], fn = un, ln = ["duration", "easing", "delay"], dn = {
2089
+ // This is the most common easing curve.
2090
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
2091
+ // Objects enter the screen at full velocity from off-screen and
2092
+ // slowly decelerate to a resting point.
2093
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
2094
+ // Objects leave the screen at full velocity. They do not decelerate when off-screen.
2095
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
2096
+ // The sharp curve is used by objects that may return to the screen at any time.
2097
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
2098
+ }, pn = {
2099
+ shortest: 150,
2100
+ shorter: 200,
2101
+ short: 250,
2102
+ // most basic recommended timing
2103
+ standard: 300,
2104
+ // this is to be used in complex animations
2105
+ complex: 375,
2106
+ // recommended when something is entering screen
2107
+ enteringScreen: 225,
2108
+ // recommended when something is leaving screen
2109
+ leavingScreen: 195
2110
+ };
2111
+ function mt(e) {
2112
+ return `${Math.round(e)}ms`;
2113
+ }
2114
+ function mn(e) {
2115
+ if (!e)
2116
+ return 0;
2117
+ const t = e / 36;
2118
+ return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
2119
+ }
2120
+ function yn(e) {
2121
+ const t = U({}, dn, e.easing), n = U({}, pn, e.duration);
2122
+ return U({
2123
+ getAutoHeightDuration: mn,
2124
+ create: (o = ["all"], i = {}) => {
2125
+ const {
2126
+ duration: a = n.standard,
2127
+ easing: u = t.easeInOut,
2128
+ delay: m = 0
2129
+ } = i, f = se(i, ln);
2130
+ if (process.env.NODE_ENV !== "production") {
2131
+ const g = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
2132
+ !g(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !h(a) && !g(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), g(u) || console.error('MUI: Argument "easing" must be a string.'), !h(m) && !g(m) && 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(`
2133
+ `)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
2134
+ }
2135
+ return (Array.isArray(o) ? o : [o]).map((g) => `${g} ${typeof a == "string" ? a : mt(a)} ${u} ${typeof m == "string" ? m : mt(m)}`).join(",");
2136
+ }
2137
+ }, e, {
2138
+ easing: t,
2139
+ duration: n
2140
+ });
2141
+ }
2142
+ const gn = {
2143
+ mobileStepper: 1e3,
2144
+ fab: 1050,
2145
+ speedDial: 1050,
2146
+ appBar: 1100,
2147
+ drawer: 1200,
2148
+ modal: 1300,
2149
+ snackbar: 1400,
2150
+ tooltip: 1500
2151
+ }, hn = gn, bn = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
2152
+ function En(e = {}, ...t) {
2153
+ const {
2154
+ mixins: n = {},
2155
+ palette: r = {},
2156
+ transitions: o = {},
2157
+ typography: i = {}
2158
+ } = e, a = se(e, bn);
2159
+ if (e.vars)
2160
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : ae(18));
2161
+ const u = tn(r), m = zr(e);
2162
+ let f = F(m, {
2163
+ mixins: Gr(m.breakpoints, n),
2164
+ palette: u,
2165
+ // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
2166
+ shadows: fn.slice(),
2167
+ typography: on(u, i),
2168
+ transitions: yn(o),
2169
+ zIndex: U({}, hn)
2170
+ });
2171
+ if (f = F(f, a), f = t.reduce((g, h) => F(g, h), f), process.env.NODE_ENV !== "production") {
2172
+ const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, b) => {
2173
+ let v;
2174
+ for (v in c) {
2175
+ const l = c[v];
2176
+ if (g.indexOf(v) !== -1 && Object.keys(l).length > 0) {
2177
+ if (process.env.NODE_ENV !== "production") {
2178
+ const x = Ft("", v);
2179
+ console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${x}' syntax:`, JSON.stringify({
2180
+ root: {
2181
+ [`&.${x}`]: l
2182
+ }
2183
+ }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
2184
+ `));
2185
+ }
2186
+ c[v] = {};
2187
+ }
2188
+ }
2189
+ };
2190
+ Object.keys(f.components).forEach((c) => {
2191
+ const b = f.components[c].styleOverrides;
2192
+ b && c.indexOf("Mui") === 0 && h(b, c);
2193
+ });
2194
+ }
2195
+ return f.unstable_sxConfig = U({}, Ge, a == null ? void 0 : a.unstable_sxConfig), f.unstable_sx = function(h) {
2196
+ return xt({
2197
+ sx: h,
2198
+ theme: this
2199
+ });
2200
+ }, f;
2201
+ }
2202
+ export {
2203
+ Yt as C,
2204
+ ue as P,
2205
+ U as _,
2206
+ se as a,
2207
+ Ge as b,
2208
+ bt as c,
2209
+ qr as d,
2210
+ En as e,
2211
+ On as f,
2212
+ Ft as g,
2213
+ zr as h,
2214
+ oe as i,
2215
+ It as j,
2216
+ ae as k,
2217
+ Fr as l,
2218
+ F as m,
2219
+ vn as n,
2220
+ xt as s
2221
+ };