@hybridcore/ui 1.3.3 → 1.3.4

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 (64) hide show
  1. package/dist/{ButtonBase-DE8d_U2E.js → ButtonBase-DJz-TFGO.js} +199 -207
  2. package/dist/{CardContent-Du2i427Y.js → CardContent-DZnCVGy9.js} +15 -15
  3. package/dist/{Checkbox-BGNAqLl0.js → Checkbox-DzmWBCrt.js} +154 -144
  4. package/dist/{Collapse-FRd0_2Pt.js → Collapse-NqW0GIK_.js} +79 -77
  5. package/dist/DialogContent-D51w7KVX.js +2119 -0
  6. package/dist/{FormControl-ChTmxscy.js → FormControl-aXQs42m6.js} +496 -466
  7. package/dist/FormControlLabel-hDa-xf_q.js +639 -0
  8. package/dist/{IconButton-Cu_XEJB2.js → IconButton-SnBOFQ43.js} +22 -22
  9. package/dist/{Input-DU22-Zbo.js → Input-CeVb6kjv.js} +34 -34
  10. package/dist/{InputAdornment-6aeADcPO.js → InputAdornment-fM3loNyx.js} +12 -12
  11. package/dist/{List-nOXr-cFJ.js → List-DLIiXc6r.js} +10 -10
  12. package/dist/{ListItem-RJvRMwkZ.js → ListItem-BkxmqFI8.js} +23 -23
  13. package/dist/{MenuItem-DF45rx2m.js → MenuItem-BEW28T9O.js} +27 -27
  14. package/dist/{OutlinedInput-DJCHjkR3.js → OutlinedInput-DkzLHRTd.js} +75 -78
  15. package/dist/{Paper-CD_ma6NJ.js → Paper-Dp3qO0cK.js} +18 -18
  16. package/dist/Select-Cdmu0dQ4.js +2175 -0
  17. package/dist/Typography-CXe5ytr0.js +201 -0
  18. package/dist/components/card/index.js +17 -17
  19. package/dist/components/card/styled.js +1 -1
  20. package/dist/components/collapsible-card/style.js +222 -302
  21. package/dist/components/confirm/dialog.js +13 -13
  22. package/dist/components/container/index.js +19 -19
  23. package/dist/components/context-menu/index.js +32 -32
  24. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  25. package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
  26. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  27. package/dist/components/geometry-picker/index.js +3 -3
  28. package/dist/components/icon-button/index.js +1 -1
  29. package/dist/components/map/styled.js +14 -14
  30. package/dist/components/search-input/index.js +4 -4
  31. package/dist/components/template-property-filters/index.js +1 -1
  32. package/dist/components/template-property-filters/property.js +4 -4
  33. package/dist/components/tree-select/index.js +4 -4
  34. package/dist/components/treeview-filter/index.js +29 -30
  35. package/dist/components/treeview-filter/item/index.js +1 -1
  36. package/dist/components/treeview-filter/item-label/index.js +2 -2
  37. package/dist/createStyled-liRRhQcN.js +1910 -0
  38. package/dist/createSvgIcon-B4TFefhd.js +73 -0
  39. package/dist/{createSvgIcon-DPZ7UbxM.js → createSvgIcon-Cl8kMTkx.js} +82 -85
  40. package/dist/{exactProp--3vlJ9a9.js → exactProp-CT2wqJXE.js} +2 -2
  41. package/dist/{index-CtuBGOmk.js → index-D9TdkXAs.js} +5 -5
  42. package/dist/{index-DzFccwzL.js → index-DRy8nExS.js} +205 -218
  43. package/dist/{listItemTextClasses-2BAu-hye.js → listItemTextClasses-BrCbmCR1.js} +2 -2
  44. package/dist/main.js +2 -2
  45. package/dist/{property-BSufYw1E.js → property-BsU8ijQF.js} +1056 -1087
  46. package/dist/styled-Dm8rXzIG.js +677 -0
  47. package/dist/useTheme-CTuK-wFF.js +10 -0
  48. package/dist/useThemeProps-BXn-nVhw.js +107 -0
  49. package/dist/{utils-qcu0RzdN.js → utils-DY9Jk4Ah.js} +2 -2
  50. package/package.json +3 -3
  51. package/dist/DialogContent-CKeAZ3Ts.js +0 -1982
  52. package/dist/FormControlLabel-Df7csguX.js +0 -827
  53. package/dist/Select-C1jD_gBQ.js +0 -2305
  54. package/dist/Typography-C2BkMNk-.js +0 -178
  55. package/dist/chainPropTypes-GRMJ22CO.js +0 -96
  56. package/dist/createSvgIcon-6wv0RQr3.js +0 -63
  57. package/dist/createTheme-C3DKplhE.js +0 -2395
  58. package/dist/resolveComponentProps-DozbaB8e.js +0 -54
  59. package/dist/styled-CVWGE9ik.js +0 -142
  60. package/dist/styled-iyoioZCr.js +0 -1033
  61. package/dist/useTheme--x3BjP9A.js +0 -17
  62. package/dist/useTheme-pWltVFb2.js +0 -10
  63. package/dist/useThemeProps-C90JF0Qc.js +0 -62
  64. package/dist/useThemeProps-DNZoozBw.js +0 -26
@@ -0,0 +1,1910 @@
1
+ import { _ as q, a as me } from "./extends-Cyw62AD_.js";
2
+ import vr from "@emotion/styled";
3
+ import "@emotion/react";
4
+ var Wt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
+ function hr(e) {
6
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
7
+ }
8
+ function qt(e) {
9
+ if (e.__esModule) return e;
10
+ var r = e.default;
11
+ if (typeof r == "function") {
12
+ var t = function n() {
13
+ return this instanceof n ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
14
+ };
15
+ t.prototype = r.prototype;
16
+ } else t = {};
17
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(n) {
18
+ var o = Object.getOwnPropertyDescriptor(e, n);
19
+ Object.defineProperty(t, n, o.get ? o : {
20
+ enumerable: !0,
21
+ get: function() {
22
+ return e[n];
23
+ }
24
+ });
25
+ }), t;
26
+ }
27
+ var Ye = { exports: {} }, be = { exports: {} }, A = {};
28
+ /** @license React v16.13.1
29
+ * react-is.production.min.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */
36
+ var Ge;
37
+ function gr() {
38
+ if (Ge) return A;
39
+ Ge = 1;
40
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, Z = e ? Symbol.for("react.scope") : 60119;
41
+ function k(a) {
42
+ if (typeof a == "object" && a !== null) {
43
+ var W = a.$$typeof;
44
+ switch (W) {
45
+ case r:
46
+ switch (a = a.type, a) {
47
+ case c:
48
+ case d:
49
+ case n:
50
+ case i:
51
+ case o:
52
+ case h:
53
+ return a;
54
+ default:
55
+ switch (a = a && a.$$typeof, a) {
56
+ case l:
57
+ case v:
58
+ case S:
59
+ case T:
60
+ case s:
61
+ return a;
62
+ default:
63
+ return W;
64
+ }
65
+ }
66
+ case t:
67
+ return W;
68
+ }
69
+ }
70
+ }
71
+ function D(a) {
72
+ return k(a) === d;
73
+ }
74
+ return A.AsyncMode = c, A.ConcurrentMode = d, A.ContextConsumer = l, A.ContextProvider = s, A.Element = r, A.ForwardRef = v, A.Fragment = n, A.Lazy = S, A.Memo = T, A.Portal = t, A.Profiler = i, A.StrictMode = o, A.Suspense = h, A.isAsyncMode = function(a) {
75
+ return D(a) || k(a) === c;
76
+ }, A.isConcurrentMode = D, A.isContextConsumer = function(a) {
77
+ return k(a) === l;
78
+ }, A.isContextProvider = function(a) {
79
+ return k(a) === s;
80
+ }, A.isElement = function(a) {
81
+ return typeof a == "object" && a !== null && a.$$typeof === r;
82
+ }, A.isForwardRef = function(a) {
83
+ return k(a) === v;
84
+ }, A.isFragment = function(a) {
85
+ return k(a) === n;
86
+ }, A.isLazy = function(a) {
87
+ return k(a) === S;
88
+ }, A.isMemo = function(a) {
89
+ return k(a) === T;
90
+ }, A.isPortal = function(a) {
91
+ return k(a) === t;
92
+ }, A.isProfiler = function(a) {
93
+ return k(a) === i;
94
+ }, A.isStrictMode = function(a) {
95
+ return k(a) === o;
96
+ }, A.isSuspense = function(a) {
97
+ return k(a) === h;
98
+ }, A.isValidElementType = function(a) {
99
+ return typeof a == "string" || typeof a == "function" || a === n || a === d || a === i || a === o || a === h || a === p || typeof a == "object" && a !== null && (a.$$typeof === S || a.$$typeof === T || a.$$typeof === s || a.$$typeof === l || a.$$typeof === v || a.$$typeof === f || a.$$typeof === N || a.$$typeof === Z || a.$$typeof === b);
100
+ }, A.typeOf = k, A;
101
+ }
102
+ var I = {};
103
+ /** @license React v16.13.1
104
+ * react-is.development.js
105
+ *
106
+ * Copyright (c) Facebook, Inc. and its affiliates.
107
+ *
108
+ * This source code is licensed under the MIT license found in the
109
+ * LICENSE file in the root directory of this source tree.
110
+ */
111
+ var He;
112
+ function br() {
113
+ return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
114
+ var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, v = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, T = e ? Symbol.for("react.memo") : 60115, S = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, N = e ? Symbol.for("react.responder") : 60118, Z = e ? Symbol.for("react.scope") : 60119;
115
+ function k(y) {
116
+ return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
117
+ y === n || y === d || y === i || y === o || y === h || y === p || typeof y == "object" && y !== null && (y.$$typeof === S || y.$$typeof === T || y.$$typeof === s || y.$$typeof === l || y.$$typeof === v || y.$$typeof === f || y.$$typeof === N || y.$$typeof === Z || y.$$typeof === b);
118
+ }
119
+ function D(y) {
120
+ if (typeof y == "object" && y !== null) {
121
+ var V = y.$$typeof;
122
+ switch (V) {
123
+ case r:
124
+ var g = y.type;
125
+ switch (g) {
126
+ case c:
127
+ case d:
128
+ case n:
129
+ case i:
130
+ case o:
131
+ case h:
132
+ return g;
133
+ default:
134
+ var le = g && g.$$typeof;
135
+ switch (le) {
136
+ case l:
137
+ case v:
138
+ case S:
139
+ case T:
140
+ case s:
141
+ return le;
142
+ default:
143
+ return V;
144
+ }
145
+ }
146
+ case t:
147
+ return V;
148
+ }
149
+ }
150
+ }
151
+ var a = c, W = d, re = l, Q = s, ie = r, te = v, F = n, z = S, ee = T, G = t, ae = i, U = o, ne = h, ue = !1;
152
+ function fe(y) {
153
+ return ue || (ue = !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.")), u(y) || D(y) === c;
154
+ }
155
+ function u(y) {
156
+ return D(y) === d;
157
+ }
158
+ function m(y) {
159
+ return D(y) === l;
160
+ }
161
+ function O(y) {
162
+ return D(y) === s;
163
+ }
164
+ function R(y) {
165
+ return typeof y == "object" && y !== null && y.$$typeof === r;
166
+ }
167
+ function E(y) {
168
+ return D(y) === v;
169
+ }
170
+ function x(y) {
171
+ return D(y) === n;
172
+ }
173
+ function _(y) {
174
+ return D(y) === S;
175
+ }
176
+ function P(y) {
177
+ return D(y) === T;
178
+ }
179
+ function C(y) {
180
+ return D(y) === t;
181
+ }
182
+ function $(y) {
183
+ return D(y) === i;
184
+ }
185
+ function w(y) {
186
+ return D(y) === o;
187
+ }
188
+ function K(y) {
189
+ return D(y) === h;
190
+ }
191
+ I.AsyncMode = a, I.ConcurrentMode = W, I.ContextConsumer = re, I.ContextProvider = Q, I.Element = ie, I.ForwardRef = te, I.Fragment = F, I.Lazy = z, I.Memo = ee, I.Portal = G, I.Profiler = ae, I.StrictMode = U, I.Suspense = ne, I.isAsyncMode = fe, I.isConcurrentMode = u, I.isContextConsumer = m, I.isContextProvider = O, I.isElement = R, I.isForwardRef = E, I.isFragment = x, I.isLazy = _, I.isMemo = P, I.isPortal = C, I.isProfiler = $, I.isStrictMode = w, I.isSuspense = K, I.isValidElementType = k, I.typeOf = D;
192
+ }()), I;
193
+ }
194
+ var Ve;
195
+ function cr() {
196
+ return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? be.exports = gr() : be.exports = br()), be.exports;
197
+ }
198
+ /*
199
+ object-assign
200
+ (c) Sindre Sorhus
201
+ @license MIT
202
+ */
203
+ var Ie, Xe;
204
+ function Er() {
205
+ if (Xe) return Ie;
206
+ Xe = 1;
207
+ var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
208
+ function n(i) {
209
+ if (i == null)
210
+ throw new TypeError("Object.assign cannot be called with null or undefined");
211
+ return Object(i);
212
+ }
213
+ function o() {
214
+ try {
215
+ if (!Object.assign)
216
+ return !1;
217
+ var i = new String("abc");
218
+ if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
219
+ return !1;
220
+ for (var s = {}, l = 0; l < 10; l++)
221
+ s["_" + String.fromCharCode(l)] = l;
222
+ var c = Object.getOwnPropertyNames(s).map(function(v) {
223
+ return s[v];
224
+ });
225
+ if (c.join("") !== "0123456789")
226
+ return !1;
227
+ var d = {};
228
+ return "abcdefghijklmnopqrst".split("").forEach(function(v) {
229
+ d[v] = v;
230
+ }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
231
+ } catch {
232
+ return !1;
233
+ }
234
+ }
235
+ return Ie = o() ? Object.assign : function(i, s) {
236
+ for (var l, c = n(i), d, v = 1; v < arguments.length; v++) {
237
+ l = Object(arguments[v]);
238
+ for (var h in l)
239
+ r.call(l, h) && (c[h] = l[h]);
240
+ if (e) {
241
+ d = e(l);
242
+ for (var p = 0; p < d.length; p++)
243
+ t.call(l, d[p]) && (c[d[p]] = l[d[p]]);
244
+ }
245
+ }
246
+ return c;
247
+ }, Ie;
248
+ }
249
+ var je, Je;
250
+ function Be() {
251
+ if (Je) return je;
252
+ Je = 1;
253
+ var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
254
+ return je = e, je;
255
+ }
256
+ var Me, Ze;
257
+ function fr() {
258
+ return Ze || (Ze = 1, Me = Function.call.bind(Object.prototype.hasOwnProperty)), Me;
259
+ }
260
+ var Ne, Qe;
261
+ function Tr() {
262
+ if (Qe) return Ne;
263
+ Qe = 1;
264
+ var e = function() {
265
+ };
266
+ if (process.env.NODE_ENV !== "production") {
267
+ var r = Be(), t = {}, n = fr();
268
+ e = function(i) {
269
+ var s = "Warning: " + i;
270
+ typeof console < "u" && console.error(s);
271
+ try {
272
+ throw new Error(s);
273
+ } catch {
274
+ }
275
+ };
276
+ }
277
+ function o(i, s, l, c, d) {
278
+ if (process.env.NODE_ENV !== "production") {
279
+ for (var v in i)
280
+ if (n(i, v)) {
281
+ var h;
282
+ try {
283
+ if (typeof i[v] != "function") {
284
+ var p = Error(
285
+ (c || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
286
+ );
287
+ throw p.name = "Invariant Violation", p;
288
+ }
289
+ h = i[v](s, v, c, l, null, r);
290
+ } catch (S) {
291
+ h = S;
292
+ }
293
+ if (h && !(h instanceof Error) && e(
294
+ (c || "React class") + ": type specification of " + l + " `" + v + "` 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)."
295
+ ), h instanceof Error && !(h.message in t)) {
296
+ t[h.message] = !0;
297
+ var T = d ? d() : "";
298
+ e(
299
+ "Failed " + l + " type: " + h.message + (T ?? "")
300
+ );
301
+ }
302
+ }
303
+ }
304
+ }
305
+ return o.resetWarningCache = function() {
306
+ process.env.NODE_ENV !== "production" && (t = {});
307
+ }, Ne = o, Ne;
308
+ }
309
+ var ke, er;
310
+ function Sr() {
311
+ if (er) return ke;
312
+ er = 1;
313
+ var e = cr(), r = Er(), t = Be(), n = fr(), o = Tr(), i = function() {
314
+ };
315
+ process.env.NODE_ENV !== "production" && (i = function(l) {
316
+ var c = "Warning: " + l;
317
+ typeof console < "u" && console.error(c);
318
+ try {
319
+ throw new Error(c);
320
+ } catch {
321
+ }
322
+ });
323
+ function s() {
324
+ return null;
325
+ }
326
+ return ke = function(l, c) {
327
+ var d = typeof Symbol == "function" && Symbol.iterator, v = "@@iterator";
328
+ function h(u) {
329
+ var m = u && (d && u[d] || u[v]);
330
+ if (typeof m == "function")
331
+ return m;
332
+ }
333
+ var p = "<<anonymous>>", T = {
334
+ array: N("array"),
335
+ bigint: N("bigint"),
336
+ bool: N("boolean"),
337
+ func: N("function"),
338
+ number: N("number"),
339
+ object: N("object"),
340
+ string: N("string"),
341
+ symbol: N("symbol"),
342
+ any: Z(),
343
+ arrayOf: k,
344
+ element: D(),
345
+ elementType: a(),
346
+ instanceOf: W,
347
+ node: te(),
348
+ objectOf: Q,
349
+ oneOf: re,
350
+ oneOfType: ie,
351
+ shape: z,
352
+ exact: ee
353
+ };
354
+ function S(u, m) {
355
+ return u === m ? u !== 0 || 1 / u === 1 / m : u !== u && m !== m;
356
+ }
357
+ function b(u, m) {
358
+ this.message = u, this.data = m && typeof m == "object" ? m : {}, this.stack = "";
359
+ }
360
+ b.prototype = Error.prototype;
361
+ function f(u) {
362
+ if (process.env.NODE_ENV !== "production")
363
+ var m = {}, O = 0;
364
+ function R(x, _, P, C, $, w, K) {
365
+ if (C = C || p, w = w || P, K !== t) {
366
+ if (c) {
367
+ var y = new Error(
368
+ "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"
369
+ );
370
+ throw y.name = "Invariant Violation", y;
371
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
372
+ var V = C + ":" + P;
373
+ !m[V] && // Avoid spamming the console because they are often not actionable except for lib authors
374
+ O < 3 && (i(
375
+ "You are manually calling a React.PropTypes validation function for the `" + w + "` prop on `" + C + "`. 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."
376
+ ), m[V] = !0, O++);
377
+ }
378
+ }
379
+ return _[P] == null ? x ? _[P] === null ? new b("The " + $ + " `" + w + "` is marked as required " + ("in `" + C + "`, but its value is `null`.")) : new b("The " + $ + " `" + w + "` is marked as required in " + ("`" + C + "`, but its value is `undefined`.")) : null : u(_, P, C, $, w);
380
+ }
381
+ var E = R.bind(null, !1);
382
+ return E.isRequired = R.bind(null, !0), E;
383
+ }
384
+ function N(u) {
385
+ function m(O, R, E, x, _, P) {
386
+ var C = O[R], $ = U(C);
387
+ if ($ !== u) {
388
+ var w = ne(C);
389
+ return new b(
390
+ "Invalid " + x + " `" + _ + "` of type " + ("`" + w + "` supplied to `" + E + "`, expected ") + ("`" + u + "`."),
391
+ { expectedType: u }
392
+ );
393
+ }
394
+ return null;
395
+ }
396
+ return f(m);
397
+ }
398
+ function Z() {
399
+ return f(s);
400
+ }
401
+ function k(u) {
402
+ function m(O, R, E, x, _) {
403
+ if (typeof u != "function")
404
+ return new b("Property `" + _ + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
405
+ var P = O[R];
406
+ if (!Array.isArray(P)) {
407
+ var C = U(P);
408
+ return new b("Invalid " + x + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + E + "`, expected an array."));
409
+ }
410
+ for (var $ = 0; $ < P.length; $++) {
411
+ var w = u(P, $, E, x, _ + "[" + $ + "]", t);
412
+ if (w instanceof Error)
413
+ return w;
414
+ }
415
+ return null;
416
+ }
417
+ return f(m);
418
+ }
419
+ function D() {
420
+ function u(m, O, R, E, x) {
421
+ var _ = m[O];
422
+ if (!l(_)) {
423
+ var P = U(_);
424
+ return new b("Invalid " + E + " `" + x + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement."));
425
+ }
426
+ return null;
427
+ }
428
+ return f(u);
429
+ }
430
+ function a() {
431
+ function u(m, O, R, E, x) {
432
+ var _ = m[O];
433
+ if (!e.isValidElementType(_)) {
434
+ var P = U(_);
435
+ return new b("Invalid " + E + " `" + x + "` of type " + ("`" + P + "` supplied to `" + R + "`, expected a single ReactElement type."));
436
+ }
437
+ return null;
438
+ }
439
+ return f(u);
440
+ }
441
+ function W(u) {
442
+ function m(O, R, E, x, _) {
443
+ if (!(O[R] instanceof u)) {
444
+ var P = u.name || p, C = fe(O[R]);
445
+ return new b("Invalid " + x + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + E + "`, expected ") + ("instance of `" + P + "`."));
446
+ }
447
+ return null;
448
+ }
449
+ return f(m);
450
+ }
451
+ function re(u) {
452
+ if (!Array.isArray(u))
453
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
454
+ "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])."
455
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
456
+ function m(O, R, E, x, _) {
457
+ for (var P = O[R], C = 0; C < u.length; C++)
458
+ if (S(P, u[C]))
459
+ return null;
460
+ var $ = JSON.stringify(u, function(K, y) {
461
+ var V = ne(y);
462
+ return V === "symbol" ? String(y) : y;
463
+ });
464
+ return new b("Invalid " + x + " `" + _ + "` of value `" + String(P) + "` " + ("supplied to `" + E + "`, expected one of " + $ + "."));
465
+ }
466
+ return f(m);
467
+ }
468
+ function Q(u) {
469
+ function m(O, R, E, x, _) {
470
+ if (typeof u != "function")
471
+ return new b("Property `" + _ + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
472
+ var P = O[R], C = U(P);
473
+ if (C !== "object")
474
+ return new b("Invalid " + x + " `" + _ + "` of type " + ("`" + C + "` supplied to `" + E + "`, expected an object."));
475
+ for (var $ in P)
476
+ if (n(P, $)) {
477
+ var w = u(P, $, E, x, _ + "." + $, t);
478
+ if (w instanceof Error)
479
+ return w;
480
+ }
481
+ return null;
482
+ }
483
+ return f(m);
484
+ }
485
+ function ie(u) {
486
+ if (!Array.isArray(u))
487
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
488
+ for (var m = 0; m < u.length; m++) {
489
+ var O = u[m];
490
+ if (typeof O != "function")
491
+ return i(
492
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ue(O) + " at index " + m + "."
493
+ ), s;
494
+ }
495
+ function R(E, x, _, P, C) {
496
+ for (var $ = [], w = 0; w < u.length; w++) {
497
+ var K = u[w], y = K(E, x, _, P, C, t);
498
+ if (y == null)
499
+ return null;
500
+ y.data && n(y.data, "expectedType") && $.push(y.data.expectedType);
501
+ }
502
+ var V = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
503
+ return new b("Invalid " + P + " `" + C + "` supplied to " + ("`" + _ + "`" + V + "."));
504
+ }
505
+ return f(R);
506
+ }
507
+ function te() {
508
+ function u(m, O, R, E, x) {
509
+ return G(m[O]) ? null : new b("Invalid " + E + " `" + x + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
510
+ }
511
+ return f(u);
512
+ }
513
+ function F(u, m, O, R, E) {
514
+ return new b(
515
+ (u || "React class") + ": " + m + " type `" + O + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
516
+ );
517
+ }
518
+ function z(u) {
519
+ function m(O, R, E, x, _) {
520
+ var P = O[R], C = U(P);
521
+ if (C !== "object")
522
+ return new b("Invalid " + x + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + E + "`, expected `object`."));
523
+ for (var $ in u) {
524
+ var w = u[$];
525
+ if (typeof w != "function")
526
+ return F(E, x, _, $, ne(w));
527
+ var K = w(P, $, E, x, _ + "." + $, t);
528
+ if (K)
529
+ return K;
530
+ }
531
+ return null;
532
+ }
533
+ return f(m);
534
+ }
535
+ function ee(u) {
536
+ function m(O, R, E, x, _) {
537
+ var P = O[R], C = U(P);
538
+ if (C !== "object")
539
+ return new b("Invalid " + x + " `" + _ + "` of type `" + C + "` " + ("supplied to `" + E + "`, expected `object`."));
540
+ var $ = r({}, O[R], u);
541
+ for (var w in $) {
542
+ var K = u[w];
543
+ if (n(u, w) && typeof K != "function")
544
+ return F(E, x, _, w, ne(K));
545
+ if (!K)
546
+ return new b(
547
+ "Invalid " + x + " `" + _ + "` key `" + w + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(O[R], null, " ") + `
548
+ Valid keys: ` + JSON.stringify(Object.keys(u), null, " ")
549
+ );
550
+ var y = K(P, w, E, x, _ + "." + w, t);
551
+ if (y)
552
+ return y;
553
+ }
554
+ return null;
555
+ }
556
+ return f(m);
557
+ }
558
+ function G(u) {
559
+ switch (typeof u) {
560
+ case "number":
561
+ case "string":
562
+ case "undefined":
563
+ return !0;
564
+ case "boolean":
565
+ return !u;
566
+ case "object":
567
+ if (Array.isArray(u))
568
+ return u.every(G);
569
+ if (u === null || l(u))
570
+ return !0;
571
+ var m = h(u);
572
+ if (m) {
573
+ var O = m.call(u), R;
574
+ if (m !== u.entries) {
575
+ for (; !(R = O.next()).done; )
576
+ if (!G(R.value))
577
+ return !1;
578
+ } else
579
+ for (; !(R = O.next()).done; ) {
580
+ var E = R.value;
581
+ if (E && !G(E[1]))
582
+ return !1;
583
+ }
584
+ } else
585
+ return !1;
586
+ return !0;
587
+ default:
588
+ return !1;
589
+ }
590
+ }
591
+ function ae(u, m) {
592
+ return u === "symbol" ? !0 : m ? m["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && m instanceof Symbol : !1;
593
+ }
594
+ function U(u) {
595
+ var m = typeof u;
596
+ return Array.isArray(u) ? "array" : u instanceof RegExp ? "object" : ae(m, u) ? "symbol" : m;
597
+ }
598
+ function ne(u) {
599
+ if (typeof u > "u" || u === null)
600
+ return "" + u;
601
+ var m = U(u);
602
+ if (m === "object") {
603
+ if (u instanceof Date)
604
+ return "date";
605
+ if (u instanceof RegExp)
606
+ return "regexp";
607
+ }
608
+ return m;
609
+ }
610
+ function ue(u) {
611
+ var m = ne(u);
612
+ switch (m) {
613
+ case "array":
614
+ case "object":
615
+ return "an " + m;
616
+ case "boolean":
617
+ case "date":
618
+ case "regexp":
619
+ return "a " + m;
620
+ default:
621
+ return m;
622
+ }
623
+ }
624
+ function fe(u) {
625
+ return !u.constructor || !u.constructor.name ? p : u.constructor.name;
626
+ }
627
+ return T.checkPropTypes = o, T.resetWarningCache = o.resetWarningCache, T.PropTypes = T, T;
628
+ }, ke;
629
+ }
630
+ var De, rr;
631
+ function _r() {
632
+ if (rr) return De;
633
+ rr = 1;
634
+ var e = Be();
635
+ function r() {
636
+ }
637
+ function t() {
638
+ }
639
+ return t.resetWarningCache = r, De = function() {
640
+ function n(s, l, c, d, v, h) {
641
+ if (h !== e) {
642
+ var p = new Error(
643
+ "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"
644
+ );
645
+ throw p.name = "Invariant Violation", p;
646
+ }
647
+ }
648
+ n.isRequired = n;
649
+ function o() {
650
+ return n;
651
+ }
652
+ var i = {
653
+ array: n,
654
+ bigint: n,
655
+ bool: n,
656
+ func: n,
657
+ number: n,
658
+ object: n,
659
+ string: n,
660
+ symbol: n,
661
+ any: n,
662
+ arrayOf: o,
663
+ element: n,
664
+ elementType: n,
665
+ instanceOf: o,
666
+ node: n,
667
+ objectOf: o,
668
+ oneOf: o,
669
+ oneOfType: o,
670
+ shape: o,
671
+ exact: o,
672
+ checkPropTypes: t,
673
+ resetWarningCache: r
674
+ };
675
+ return i.PropTypes = i, i;
676
+ }, De;
677
+ }
678
+ if (process.env.NODE_ENV !== "production") {
679
+ var Rr = cr(), Pr = !0;
680
+ Ye.exports = Sr()(Rr.isElement, Pr);
681
+ } else
682
+ Ye.exports = _r()();
683
+ var Or = Ye.exports;
684
+ const pe = /* @__PURE__ */ hr(Or);
685
+ function ce(e) {
686
+ if (typeof e != "object" || e === null)
687
+ return !1;
688
+ const r = Object.getPrototypeOf(e);
689
+ return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
690
+ }
691
+ function lr(e) {
692
+ if (!ce(e))
693
+ return e;
694
+ const r = {};
695
+ return Object.keys(e).forEach((t) => {
696
+ r[t] = lr(e[t]);
697
+ }), r;
698
+ }
699
+ function Se(e, r, t = {
700
+ clone: !0
701
+ }) {
702
+ const n = t.clone ? q({}, e) : e;
703
+ return ce(e) && ce(r) && Object.keys(r).forEach((o) => {
704
+ ce(r[o]) && // Avoid prototype pollution
705
+ Object.prototype.hasOwnProperty.call(e, o) && ce(e[o]) ? n[o] = Se(e[o], r[o], t) : t.clone ? n[o] = ce(r[o]) ? lr(r[o]) : r[o] : n[o] = r[o];
706
+ }), n;
707
+ }
708
+ function xr(e) {
709
+ let r = "https://mui.com/production-error/?code=" + e;
710
+ for (let t = 1; t < arguments.length; t += 1)
711
+ r += "&args[]=" + encodeURIComponent(arguments[t]);
712
+ return "Minified MUI error #" + e + "; visit " + r + " for the full message.";
713
+ }
714
+ var Fe = { exports: {} }, j = {};
715
+ /**
716
+ * @license React
717
+ * react-is.production.min.js
718
+ *
719
+ * Copyright (c) Facebook, Inc. and its affiliates.
720
+ *
721
+ * This source code is licensed under the MIT license found in the
722
+ * LICENSE file in the root directory of this source tree.
723
+ */
724
+ var tr;
725
+ function Cr() {
726
+ if (tr) return j;
727
+ tr = 1;
728
+ var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), S;
729
+ S = Symbol.for("react.module.reference");
730
+ function b(f) {
731
+ if (typeof f == "object" && f !== null) {
732
+ var N = f.$$typeof;
733
+ switch (N) {
734
+ case e:
735
+ switch (f = f.type, f) {
736
+ case t:
737
+ case o:
738
+ case n:
739
+ case d:
740
+ case v:
741
+ return f;
742
+ default:
743
+ switch (f = f && f.$$typeof, f) {
744
+ case l:
745
+ case s:
746
+ case c:
747
+ case p:
748
+ case h:
749
+ case i:
750
+ return f;
751
+ default:
752
+ return N;
753
+ }
754
+ }
755
+ case r:
756
+ return N;
757
+ }
758
+ }
759
+ }
760
+ return j.ContextConsumer = s, j.ContextProvider = i, j.Element = e, j.ForwardRef = c, j.Fragment = t, j.Lazy = p, j.Memo = h, j.Portal = r, j.Profiler = o, j.StrictMode = n, j.Suspense = d, j.SuspenseList = v, j.isAsyncMode = function() {
761
+ return !1;
762
+ }, j.isConcurrentMode = function() {
763
+ return !1;
764
+ }, j.isContextConsumer = function(f) {
765
+ return b(f) === s;
766
+ }, j.isContextProvider = function(f) {
767
+ return b(f) === i;
768
+ }, j.isElement = function(f) {
769
+ return typeof f == "object" && f !== null && f.$$typeof === e;
770
+ }, j.isForwardRef = function(f) {
771
+ return b(f) === c;
772
+ }, j.isFragment = function(f) {
773
+ return b(f) === t;
774
+ }, j.isLazy = function(f) {
775
+ return b(f) === p;
776
+ }, j.isMemo = function(f) {
777
+ return b(f) === h;
778
+ }, j.isPortal = function(f) {
779
+ return b(f) === r;
780
+ }, j.isProfiler = function(f) {
781
+ return b(f) === o;
782
+ }, j.isStrictMode = function(f) {
783
+ return b(f) === n;
784
+ }, j.isSuspense = function(f) {
785
+ return b(f) === d;
786
+ }, j.isSuspenseList = function(f) {
787
+ return b(f) === v;
788
+ }, j.isValidElementType = function(f) {
789
+ return typeof f == "string" || typeof f == "function" || f === t || f === o || f === n || f === d || f === v || f === T || typeof f == "object" && f !== null && (f.$$typeof === p || f.$$typeof === h || f.$$typeof === i || f.$$typeof === s || f.$$typeof === c || f.$$typeof === S || f.getModuleId !== void 0);
790
+ }, j.typeOf = b, j;
791
+ }
792
+ var M = {};
793
+ /**
794
+ * @license React
795
+ * react-is.development.js
796
+ *
797
+ * Copyright (c) Facebook, Inc. and its affiliates.
798
+ *
799
+ * This source code is licensed under the MIT license found in the
800
+ * LICENSE file in the root directory of this source tree.
801
+ */
802
+ var nr;
803
+ function wr() {
804
+ return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
805
+ var e = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), S = !1, b = !1, f = !1, N = !1, Z = !1, k;
806
+ k = Symbol.for("react.module.reference");
807
+ function D(g) {
808
+ return !!(typeof g == "string" || typeof g == "function" || g === t || g === o || Z || g === n || g === d || g === v || N || g === T || S || b || f || typeof g == "object" && g !== null && (g.$$typeof === p || g.$$typeof === h || g.$$typeof === i || g.$$typeof === s || g.$$typeof === c || // This needs to include all possible module reference object
809
+ // types supported by any Flight configuration anywhere since
810
+ // we don't know which Flight build this will end up being used
811
+ // with.
812
+ g.$$typeof === k || g.getModuleId !== void 0));
813
+ }
814
+ function a(g) {
815
+ if (typeof g == "object" && g !== null) {
816
+ var le = g.$$typeof;
817
+ switch (le) {
818
+ case e:
819
+ var ge = g.type;
820
+ switch (ge) {
821
+ case t:
822
+ case o:
823
+ case n:
824
+ case d:
825
+ case v:
826
+ return ge;
827
+ default:
828
+ var Ue = ge && ge.$$typeof;
829
+ switch (Ue) {
830
+ case l:
831
+ case s:
832
+ case c:
833
+ case p:
834
+ case h:
835
+ case i:
836
+ return Ue;
837
+ default:
838
+ return le;
839
+ }
840
+ }
841
+ case r:
842
+ return le;
843
+ }
844
+ }
845
+ }
846
+ var W = s, re = i, Q = e, ie = c, te = t, F = p, z = h, ee = r, G = o, ae = n, U = d, ne = v, ue = !1, fe = !1;
847
+ function u(g) {
848
+ return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
849
+ }
850
+ function m(g) {
851
+ return fe || (fe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
852
+ }
853
+ function O(g) {
854
+ return a(g) === s;
855
+ }
856
+ function R(g) {
857
+ return a(g) === i;
858
+ }
859
+ function E(g) {
860
+ return typeof g == "object" && g !== null && g.$$typeof === e;
861
+ }
862
+ function x(g) {
863
+ return a(g) === c;
864
+ }
865
+ function _(g) {
866
+ return a(g) === t;
867
+ }
868
+ function P(g) {
869
+ return a(g) === p;
870
+ }
871
+ function C(g) {
872
+ return a(g) === h;
873
+ }
874
+ function $(g) {
875
+ return a(g) === r;
876
+ }
877
+ function w(g) {
878
+ return a(g) === o;
879
+ }
880
+ function K(g) {
881
+ return a(g) === n;
882
+ }
883
+ function y(g) {
884
+ return a(g) === d;
885
+ }
886
+ function V(g) {
887
+ return a(g) === v;
888
+ }
889
+ M.ContextConsumer = W, M.ContextProvider = re, M.Element = Q, M.ForwardRef = ie, M.Fragment = te, M.Lazy = F, M.Memo = z, M.Portal = ee, M.Profiler = G, M.StrictMode = ae, M.Suspense = U, M.SuspenseList = ne, M.isAsyncMode = u, M.isConcurrentMode = m, M.isContextConsumer = O, M.isContextProvider = R, M.isElement = E, M.isForwardRef = x, M.isFragment = _, M.isLazy = P, M.isMemo = C, M.isPortal = $, M.isProfiler = w, M.isStrictMode = K, M.isSuspense = y, M.isSuspenseList = V, M.isValidElementType = D, M.typeOf = a;
890
+ }()), M;
891
+ }
892
+ process.env.NODE_ENV === "production" ? Fe.exports = Cr() : Fe.exports = wr();
893
+ var or = Fe.exports;
894
+ const $r = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
895
+ function Ar(e) {
896
+ const r = `${e}`.match($r);
897
+ return r && r[1] || "";
898
+ }
899
+ function dr(e, r = "") {
900
+ return e.displayName || e.name || Ar(e) || r;
901
+ }
902
+ function ir(e, r, t) {
903
+ const n = dr(r);
904
+ return e.displayName || (n !== "" ? `${t}(${n})` : t);
905
+ }
906
+ function Ir(e) {
907
+ if (e != null) {
908
+ if (typeof e == "string")
909
+ return e;
910
+ if (typeof e == "function")
911
+ return dr(e, "Component");
912
+ if (typeof e == "object")
913
+ switch (e.$$typeof) {
914
+ case or.ForwardRef:
915
+ return ir(e, e.render, "ForwardRef");
916
+ case or.Memo:
917
+ return ir(e, e.type, "memo");
918
+ default:
919
+ return;
920
+ }
921
+ }
922
+ }
923
+ function We(e) {
924
+ if (typeof e != "string")
925
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : xr(7));
926
+ return e.charAt(0).toUpperCase() + e.slice(1);
927
+ }
928
+ /**
929
+ * @mui/styled-engine v5.16.6
930
+ *
931
+ * @license MIT
932
+ * This source code is licensed under the MIT license found in the
933
+ * LICENSE file in the root directory of this source tree.
934
+ */
935
+ function jr(e, r) {
936
+ const t = vr(e, r);
937
+ return process.env.NODE_ENV !== "production" ? (...n) => {
938
+ const o = typeof e == "string" ? `"${e}"` : "component";
939
+ 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(`
940
+ `)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
941
+ } : t;
942
+ }
943
+ const Mr = (e, r) => {
944
+ Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
945
+ }, Nr = ["values", "unit", "step"], kr = (e) => {
946
+ const r = Object.keys(e).map((t) => ({
947
+ key: t,
948
+ val: e[t]
949
+ })) || [];
950
+ return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => q({}, t, {
951
+ [n.key]: n.val
952
+ }), {});
953
+ };
954
+ function Dr(e) {
955
+ const {
956
+ // The breakpoint **start** at this value.
957
+ // For instance with the first breakpoint xs: [xs, sm).
958
+ values: r = {
959
+ xs: 0,
960
+ // phone
961
+ sm: 600,
962
+ // tablet
963
+ md: 900,
964
+ // small laptop
965
+ lg: 1200,
966
+ // desktop
967
+ xl: 1536
968
+ // large screen
969
+ },
970
+ unit: t = "px",
971
+ step: n = 5
972
+ } = e, o = me(e, Nr), i = kr(r), s = Object.keys(i);
973
+ function l(p) {
974
+ return `@media (min-width:${typeof r[p] == "number" ? r[p] : p}${t})`;
975
+ }
976
+ function c(p) {
977
+ return `@media (max-width:${(typeof r[p] == "number" ? r[p] : p) - n / 100}${t})`;
978
+ }
979
+ function d(p, T) {
980
+ const S = s.indexOf(T);
981
+ return `@media (min-width:${typeof r[p] == "number" ? r[p] : p}${t}) and (max-width:${(S !== -1 && typeof r[s[S]] == "number" ? r[s[S]] : T) - n / 100}${t})`;
982
+ }
983
+ function v(p) {
984
+ return s.indexOf(p) + 1 < s.length ? d(p, s[s.indexOf(p) + 1]) : l(p);
985
+ }
986
+ function h(p) {
987
+ const T = s.indexOf(p);
988
+ return T === 0 ? l(s[1]) : T === s.length - 1 ? c(s[T]) : d(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
989
+ }
990
+ return q({
991
+ keys: s,
992
+ values: i,
993
+ up: l,
994
+ down: c,
995
+ between: d,
996
+ only: v,
997
+ not: h,
998
+ unit: t
999
+ }, o);
1000
+ }
1001
+ const Lr = {
1002
+ borderRadius: 4
1003
+ }, se = process.env.NODE_ENV !== "production" ? pe.oneOfType([pe.number, pe.string, pe.object, pe.array]) : {};
1004
+ function ye(e, r) {
1005
+ return r ? Se(e, r, {
1006
+ clone: !1
1007
+ // No need to clone deep, it's way faster.
1008
+ }) : e;
1009
+ }
1010
+ const qe = {
1011
+ xs: 0,
1012
+ // phone
1013
+ sm: 600,
1014
+ // tablet
1015
+ md: 900,
1016
+ // small laptop
1017
+ lg: 1200,
1018
+ // desktop
1019
+ xl: 1536
1020
+ // large screen
1021
+ }, sr = {
1022
+ // Sorted ASC by size. That's important.
1023
+ // It can't be configured as it's used statically for propTypes.
1024
+ keys: ["xs", "sm", "md", "lg", "xl"],
1025
+ up: (e) => `@media (min-width:${qe[e]}px)`
1026
+ };
1027
+ function oe(e, r, t) {
1028
+ const n = e.theme || {};
1029
+ if (Array.isArray(r)) {
1030
+ const i = n.breakpoints || sr;
1031
+ return r.reduce((s, l, c) => (s[i.up(i.keys[c])] = t(r[c]), s), {});
1032
+ }
1033
+ if (typeof r == "object") {
1034
+ const i = n.breakpoints || sr;
1035
+ return Object.keys(r).reduce((s, l) => {
1036
+ if (Object.keys(i.values || qe).indexOf(l) !== -1) {
1037
+ const c = i.up(l);
1038
+ s[c] = t(r[l], l);
1039
+ } else {
1040
+ const c = l;
1041
+ s[c] = r[c];
1042
+ }
1043
+ return s;
1044
+ }, {});
1045
+ }
1046
+ return t(r);
1047
+ }
1048
+ function Yr(e = {}) {
1049
+ var r;
1050
+ return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
1051
+ const i = e.up(o);
1052
+ return n[i] = {}, n;
1053
+ }, {})) || {};
1054
+ }
1055
+ function Fr(e, r) {
1056
+ return e.reduce((t, n) => {
1057
+ const o = t[n];
1058
+ return (!o || Object.keys(o).length === 0) && delete t[n], t;
1059
+ }, r);
1060
+ }
1061
+ function Br(e, r) {
1062
+ if (typeof e != "object")
1063
+ return {};
1064
+ const t = {}, n = Object.keys(r);
1065
+ return Array.isArray(e) ? n.forEach((o, i) => {
1066
+ i < e.length && (t[o] = !0);
1067
+ }) : n.forEach((o) => {
1068
+ e[o] != null && (t[o] = !0);
1069
+ }), t;
1070
+ }
1071
+ function zt({
1072
+ values: e,
1073
+ breakpoints: r,
1074
+ base: t
1075
+ }) {
1076
+ const n = t || Br(e, r), o = Object.keys(n);
1077
+ if (o.length === 0)
1078
+ return e;
1079
+ let i;
1080
+ return o.reduce((s, l, c) => (Array.isArray(e) ? (s[l] = e[c] != null ? e[c] : e[i], i = c) : typeof e == "object" ? (s[l] = e[l] != null ? e[l] : e[i], i = l) : s[l] = e, s), {});
1081
+ }
1082
+ function Re(e, r, t = !0) {
1083
+ if (!r || typeof r != "string")
1084
+ return null;
1085
+ if (e && e.vars && t) {
1086
+ const n = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
1087
+ if (n != null)
1088
+ return n;
1089
+ }
1090
+ return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
1091
+ }
1092
+ function _e(e, r, t, n = t) {
1093
+ let o;
1094
+ return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = Re(e, t) || n, r && (o = r(o, n, e)), o;
1095
+ }
1096
+ function B(e) {
1097
+ const {
1098
+ prop: r,
1099
+ cssProperty: t = e.prop,
1100
+ themeKey: n,
1101
+ transform: o
1102
+ } = e, i = (s) => {
1103
+ if (s[r] == null)
1104
+ return null;
1105
+ const l = s[r], c = s.theme, d = Re(c, n) || {};
1106
+ return oe(s, l, (h) => {
1107
+ let p = _e(d, o, h);
1108
+ return h === p && typeof h == "string" && (p = _e(d, o, `${r}${h === "default" ? "" : We(h)}`, h)), t === !1 ? p : {
1109
+ [t]: p
1110
+ };
1111
+ });
1112
+ };
1113
+ return i.propTypes = process.env.NODE_ENV !== "production" ? {
1114
+ [r]: se
1115
+ } : {}, i.filterProps = [r], i;
1116
+ }
1117
+ function Wr(e) {
1118
+ const r = {};
1119
+ return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
1120
+ }
1121
+ const qr = {
1122
+ m: "margin",
1123
+ p: "padding"
1124
+ }, zr = {
1125
+ t: "Top",
1126
+ r: "Right",
1127
+ b: "Bottom",
1128
+ l: "Left",
1129
+ x: ["Left", "Right"],
1130
+ y: ["Top", "Bottom"]
1131
+ }, ar = {
1132
+ marginX: "mx",
1133
+ marginY: "my",
1134
+ paddingX: "px",
1135
+ paddingY: "py"
1136
+ }, Kr = Wr((e) => {
1137
+ if (e.length > 2)
1138
+ if (ar[e])
1139
+ e = ar[e];
1140
+ else
1141
+ return [e];
1142
+ const [r, t] = e.split(""), n = qr[r], o = zr[t] || "";
1143
+ return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
1144
+ }), Pe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Oe = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ur = [...Pe, ...Oe];
1145
+ function ve(e, r, t, n) {
1146
+ var o;
1147
+ const i = (o = Re(e, r, !1)) != null ? o : t;
1148
+ return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
1149
+ `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
1150
+ `))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
1151
+ `)), () => {
1152
+ });
1153
+ }
1154
+ function pr(e) {
1155
+ return ve(e, "spacing", 8, "spacing");
1156
+ }
1157
+ function he(e, r) {
1158
+ if (typeof r == "string" || r == null)
1159
+ return r;
1160
+ const t = Math.abs(r), n = e(t);
1161
+ return r >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
1162
+ }
1163
+ function Gr(e, r) {
1164
+ return (t) => e.reduce((n, o) => (n[o] = he(r, t), n), {});
1165
+ }
1166
+ function Hr(e, r, t, n) {
1167
+ if (r.indexOf(t) === -1)
1168
+ return null;
1169
+ const o = Kr(t), i = Gr(o, n), s = e[t];
1170
+ return oe(e, s, i);
1171
+ }
1172
+ function yr(e, r) {
1173
+ const t = pr(e.theme);
1174
+ return Object.keys(e).map((n) => Hr(e, r, n, t)).reduce(ye, {});
1175
+ }
1176
+ function L(e) {
1177
+ return yr(e, Pe);
1178
+ }
1179
+ L.propTypes = process.env.NODE_ENV !== "production" ? Pe.reduce((e, r) => (e[r] = se, e), {}) : {};
1180
+ L.filterProps = Pe;
1181
+ function Y(e) {
1182
+ return yr(e, Oe);
1183
+ }
1184
+ Y.propTypes = process.env.NODE_ENV !== "production" ? Oe.reduce((e, r) => (e[r] = se, e), {}) : {};
1185
+ Y.filterProps = Oe;
1186
+ process.env.NODE_ENV !== "production" && Ur.reduce((e, r) => (e[r] = se, e), {});
1187
+ function Vr(e = 8) {
1188
+ if (e.mui)
1189
+ return e;
1190
+ const r = pr({
1191
+ spacing: e
1192
+ }), t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
1193
+ const s = r(i);
1194
+ return typeof s == "number" ? `${s}px` : s;
1195
+ }).join(" "));
1196
+ return t.mui = !0, t;
1197
+ }
1198
+ function xe(...e) {
1199
+ const r = e.reduce((n, o) => (o.filterProps.forEach((i) => {
1200
+ n[i] = o;
1201
+ }), n), {}), t = (n) => Object.keys(n).reduce((o, i) => r[i] ? ye(o, r[i](n)) : o, {});
1202
+ return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
1203
+ }
1204
+ function X(e) {
1205
+ return typeof e != "number" ? e : `${e}px solid`;
1206
+ }
1207
+ function J(e, r) {
1208
+ return B({
1209
+ prop: e,
1210
+ themeKey: "borders",
1211
+ transform: r
1212
+ });
1213
+ }
1214
+ const Xr = J("border", X), Jr = J("borderTop", X), Zr = J("borderRight", X), Qr = J("borderBottom", X), et = J("borderLeft", X), rt = J("borderColor"), tt = J("borderTopColor"), nt = J("borderRightColor"), ot = J("borderBottomColor"), it = J("borderLeftColor"), st = J("outline", X), at = J("outlineColor"), Ce = (e) => {
1215
+ if (e.borderRadius !== void 0 && e.borderRadius !== null) {
1216
+ const r = ve(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
1217
+ borderRadius: he(r, n)
1218
+ });
1219
+ return oe(e, e.borderRadius, t);
1220
+ }
1221
+ return null;
1222
+ };
1223
+ Ce.propTypes = process.env.NODE_ENV !== "production" ? {
1224
+ borderRadius: se
1225
+ } : {};
1226
+ Ce.filterProps = ["borderRadius"];
1227
+ xe(Xr, Jr, Zr, Qr, et, rt, tt, nt, ot, it, Ce, st, at);
1228
+ const we = (e) => {
1229
+ if (e.gap !== void 0 && e.gap !== null) {
1230
+ const r = ve(e.theme, "spacing", 8, "gap"), t = (n) => ({
1231
+ gap: he(r, n)
1232
+ });
1233
+ return oe(e, e.gap, t);
1234
+ }
1235
+ return null;
1236
+ };
1237
+ we.propTypes = process.env.NODE_ENV !== "production" ? {
1238
+ gap: se
1239
+ } : {};
1240
+ we.filterProps = ["gap"];
1241
+ const $e = (e) => {
1242
+ if (e.columnGap !== void 0 && e.columnGap !== null) {
1243
+ const r = ve(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
1244
+ columnGap: he(r, n)
1245
+ });
1246
+ return oe(e, e.columnGap, t);
1247
+ }
1248
+ return null;
1249
+ };
1250
+ $e.propTypes = process.env.NODE_ENV !== "production" ? {
1251
+ columnGap: se
1252
+ } : {};
1253
+ $e.filterProps = ["columnGap"];
1254
+ const Ae = (e) => {
1255
+ if (e.rowGap !== void 0 && e.rowGap !== null) {
1256
+ const r = ve(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
1257
+ rowGap: he(r, n)
1258
+ });
1259
+ return oe(e, e.rowGap, t);
1260
+ }
1261
+ return null;
1262
+ };
1263
+ Ae.propTypes = process.env.NODE_ENV !== "production" ? {
1264
+ rowGap: se
1265
+ } : {};
1266
+ Ae.filterProps = ["rowGap"];
1267
+ const ut = B({
1268
+ prop: "gridColumn"
1269
+ }), ct = B({
1270
+ prop: "gridRow"
1271
+ }), ft = B({
1272
+ prop: "gridAutoFlow"
1273
+ }), lt = B({
1274
+ prop: "gridAutoColumns"
1275
+ }), dt = B({
1276
+ prop: "gridAutoRows"
1277
+ }), pt = B({
1278
+ prop: "gridTemplateColumns"
1279
+ }), yt = B({
1280
+ prop: "gridTemplateRows"
1281
+ }), mt = B({
1282
+ prop: "gridTemplateAreas"
1283
+ }), vt = B({
1284
+ prop: "gridArea"
1285
+ });
1286
+ xe(we, $e, Ae, ut, ct, ft, lt, dt, pt, yt, mt, vt);
1287
+ function de(e, r) {
1288
+ return r === "grey" ? r : e;
1289
+ }
1290
+ const ht = B({
1291
+ prop: "color",
1292
+ themeKey: "palette",
1293
+ transform: de
1294
+ }), gt = B({
1295
+ prop: "bgcolor",
1296
+ cssProperty: "backgroundColor",
1297
+ themeKey: "palette",
1298
+ transform: de
1299
+ }), bt = B({
1300
+ prop: "backgroundColor",
1301
+ themeKey: "palette",
1302
+ transform: de
1303
+ });
1304
+ xe(ht, gt, bt);
1305
+ function H(e) {
1306
+ return e <= 1 && e !== 0 ? `${e * 100}%` : e;
1307
+ }
1308
+ const Et = B({
1309
+ prop: "width",
1310
+ transform: H
1311
+ }), ze = (e) => {
1312
+ if (e.maxWidth !== void 0 && e.maxWidth !== null) {
1313
+ const r = (t) => {
1314
+ var n, o;
1315
+ const i = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[t]) || qe[t];
1316
+ return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
1317
+ maxWidth: `${i}${e.theme.breakpoints.unit}`
1318
+ } : {
1319
+ maxWidth: i
1320
+ } : {
1321
+ maxWidth: H(t)
1322
+ };
1323
+ };
1324
+ return oe(e, e.maxWidth, r);
1325
+ }
1326
+ return null;
1327
+ };
1328
+ ze.filterProps = ["maxWidth"];
1329
+ const Tt = B({
1330
+ prop: "minWidth",
1331
+ transform: H
1332
+ }), St = B({
1333
+ prop: "height",
1334
+ transform: H
1335
+ }), _t = B({
1336
+ prop: "maxHeight",
1337
+ transform: H
1338
+ }), Rt = B({
1339
+ prop: "minHeight",
1340
+ transform: H
1341
+ });
1342
+ B({
1343
+ prop: "size",
1344
+ cssProperty: "width",
1345
+ transform: H
1346
+ });
1347
+ B({
1348
+ prop: "size",
1349
+ cssProperty: "height",
1350
+ transform: H
1351
+ });
1352
+ const Pt = B({
1353
+ prop: "boxSizing"
1354
+ });
1355
+ xe(Et, ze, Tt, St, _t, Rt, Pt);
1356
+ const mr = {
1357
+ // borders
1358
+ border: {
1359
+ themeKey: "borders",
1360
+ transform: X
1361
+ },
1362
+ borderTop: {
1363
+ themeKey: "borders",
1364
+ transform: X
1365
+ },
1366
+ borderRight: {
1367
+ themeKey: "borders",
1368
+ transform: X
1369
+ },
1370
+ borderBottom: {
1371
+ themeKey: "borders",
1372
+ transform: X
1373
+ },
1374
+ borderLeft: {
1375
+ themeKey: "borders",
1376
+ transform: X
1377
+ },
1378
+ borderColor: {
1379
+ themeKey: "palette"
1380
+ },
1381
+ borderTopColor: {
1382
+ themeKey: "palette"
1383
+ },
1384
+ borderRightColor: {
1385
+ themeKey: "palette"
1386
+ },
1387
+ borderBottomColor: {
1388
+ themeKey: "palette"
1389
+ },
1390
+ borderLeftColor: {
1391
+ themeKey: "palette"
1392
+ },
1393
+ outline: {
1394
+ themeKey: "borders",
1395
+ transform: X
1396
+ },
1397
+ outlineColor: {
1398
+ themeKey: "palette"
1399
+ },
1400
+ borderRadius: {
1401
+ themeKey: "shape.borderRadius",
1402
+ style: Ce
1403
+ },
1404
+ // palette
1405
+ color: {
1406
+ themeKey: "palette",
1407
+ transform: de
1408
+ },
1409
+ bgcolor: {
1410
+ themeKey: "palette",
1411
+ cssProperty: "backgroundColor",
1412
+ transform: de
1413
+ },
1414
+ backgroundColor: {
1415
+ themeKey: "palette",
1416
+ transform: de
1417
+ },
1418
+ // spacing
1419
+ p: {
1420
+ style: Y
1421
+ },
1422
+ pt: {
1423
+ style: Y
1424
+ },
1425
+ pr: {
1426
+ style: Y
1427
+ },
1428
+ pb: {
1429
+ style: Y
1430
+ },
1431
+ pl: {
1432
+ style: Y
1433
+ },
1434
+ px: {
1435
+ style: Y
1436
+ },
1437
+ py: {
1438
+ style: Y
1439
+ },
1440
+ padding: {
1441
+ style: Y
1442
+ },
1443
+ paddingTop: {
1444
+ style: Y
1445
+ },
1446
+ paddingRight: {
1447
+ style: Y
1448
+ },
1449
+ paddingBottom: {
1450
+ style: Y
1451
+ },
1452
+ paddingLeft: {
1453
+ style: Y
1454
+ },
1455
+ paddingX: {
1456
+ style: Y
1457
+ },
1458
+ paddingY: {
1459
+ style: Y
1460
+ },
1461
+ paddingInline: {
1462
+ style: Y
1463
+ },
1464
+ paddingInlineStart: {
1465
+ style: Y
1466
+ },
1467
+ paddingInlineEnd: {
1468
+ style: Y
1469
+ },
1470
+ paddingBlock: {
1471
+ style: Y
1472
+ },
1473
+ paddingBlockStart: {
1474
+ style: Y
1475
+ },
1476
+ paddingBlockEnd: {
1477
+ style: Y
1478
+ },
1479
+ m: {
1480
+ style: L
1481
+ },
1482
+ mt: {
1483
+ style: L
1484
+ },
1485
+ mr: {
1486
+ style: L
1487
+ },
1488
+ mb: {
1489
+ style: L
1490
+ },
1491
+ ml: {
1492
+ style: L
1493
+ },
1494
+ mx: {
1495
+ style: L
1496
+ },
1497
+ my: {
1498
+ style: L
1499
+ },
1500
+ margin: {
1501
+ style: L
1502
+ },
1503
+ marginTop: {
1504
+ style: L
1505
+ },
1506
+ marginRight: {
1507
+ style: L
1508
+ },
1509
+ marginBottom: {
1510
+ style: L
1511
+ },
1512
+ marginLeft: {
1513
+ style: L
1514
+ },
1515
+ marginX: {
1516
+ style: L
1517
+ },
1518
+ marginY: {
1519
+ style: L
1520
+ },
1521
+ marginInline: {
1522
+ style: L
1523
+ },
1524
+ marginInlineStart: {
1525
+ style: L
1526
+ },
1527
+ marginInlineEnd: {
1528
+ style: L
1529
+ },
1530
+ marginBlock: {
1531
+ style: L
1532
+ },
1533
+ marginBlockStart: {
1534
+ style: L
1535
+ },
1536
+ marginBlockEnd: {
1537
+ style: L
1538
+ },
1539
+ // display
1540
+ displayPrint: {
1541
+ cssProperty: !1,
1542
+ transform: (e) => ({
1543
+ "@media print": {
1544
+ display: e
1545
+ }
1546
+ })
1547
+ },
1548
+ display: {},
1549
+ overflow: {},
1550
+ textOverflow: {},
1551
+ visibility: {},
1552
+ whiteSpace: {},
1553
+ // flexbox
1554
+ flexBasis: {},
1555
+ flexDirection: {},
1556
+ flexWrap: {},
1557
+ justifyContent: {},
1558
+ alignItems: {},
1559
+ alignContent: {},
1560
+ order: {},
1561
+ flex: {},
1562
+ flexGrow: {},
1563
+ flexShrink: {},
1564
+ alignSelf: {},
1565
+ justifyItems: {},
1566
+ justifySelf: {},
1567
+ // grid
1568
+ gap: {
1569
+ style: we
1570
+ },
1571
+ rowGap: {
1572
+ style: Ae
1573
+ },
1574
+ columnGap: {
1575
+ style: $e
1576
+ },
1577
+ gridColumn: {},
1578
+ gridRow: {},
1579
+ gridAutoFlow: {},
1580
+ gridAutoColumns: {},
1581
+ gridAutoRows: {},
1582
+ gridTemplateColumns: {},
1583
+ gridTemplateRows: {},
1584
+ gridTemplateAreas: {},
1585
+ gridArea: {},
1586
+ // positions
1587
+ position: {},
1588
+ zIndex: {
1589
+ themeKey: "zIndex"
1590
+ },
1591
+ top: {},
1592
+ right: {},
1593
+ bottom: {},
1594
+ left: {},
1595
+ // shadows
1596
+ boxShadow: {
1597
+ themeKey: "shadows"
1598
+ },
1599
+ // sizing
1600
+ width: {
1601
+ transform: H
1602
+ },
1603
+ maxWidth: {
1604
+ style: ze
1605
+ },
1606
+ minWidth: {
1607
+ transform: H
1608
+ },
1609
+ height: {
1610
+ transform: H
1611
+ },
1612
+ maxHeight: {
1613
+ transform: H
1614
+ },
1615
+ minHeight: {
1616
+ transform: H
1617
+ },
1618
+ boxSizing: {},
1619
+ // typography
1620
+ fontFamily: {
1621
+ themeKey: "typography"
1622
+ },
1623
+ fontSize: {
1624
+ themeKey: "typography"
1625
+ },
1626
+ fontStyle: {
1627
+ themeKey: "typography"
1628
+ },
1629
+ fontWeight: {
1630
+ themeKey: "typography"
1631
+ },
1632
+ letterSpacing: {},
1633
+ textTransform: {},
1634
+ lineHeight: {},
1635
+ textAlign: {},
1636
+ typography: {
1637
+ cssProperty: !1,
1638
+ themeKey: "typography"
1639
+ }
1640
+ };
1641
+ function Ot(...e) {
1642
+ const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
1643
+ return e.every((n) => t.size === Object.keys(n).length);
1644
+ }
1645
+ function xt(e, r) {
1646
+ return typeof e == "function" ? e(r) : e;
1647
+ }
1648
+ function Ct() {
1649
+ function e(t, n, o, i) {
1650
+ const s = {
1651
+ [t]: n,
1652
+ theme: o
1653
+ }, l = i[t];
1654
+ if (!l)
1655
+ return {
1656
+ [t]: n
1657
+ };
1658
+ const {
1659
+ cssProperty: c = t,
1660
+ themeKey: d,
1661
+ transform: v,
1662
+ style: h
1663
+ } = l;
1664
+ if (n == null)
1665
+ return null;
1666
+ if (d === "typography" && n === "inherit")
1667
+ return {
1668
+ [t]: n
1669
+ };
1670
+ const p = Re(o, d) || {};
1671
+ return h ? h(s) : oe(s, n, (S) => {
1672
+ let b = _e(p, v, S);
1673
+ return S === b && typeof S == "string" && (b = _e(p, v, `${t}${S === "default" ? "" : We(S)}`, S)), c === !1 ? b : {
1674
+ [c]: b
1675
+ };
1676
+ });
1677
+ }
1678
+ function r(t) {
1679
+ var n;
1680
+ const {
1681
+ sx: o,
1682
+ theme: i = {}
1683
+ } = t || {};
1684
+ if (!o)
1685
+ return null;
1686
+ const s = (n = i.unstable_sxConfig) != null ? n : mr;
1687
+ function l(c) {
1688
+ let d = c;
1689
+ if (typeof c == "function")
1690
+ d = c(i);
1691
+ else if (typeof c != "object")
1692
+ return c;
1693
+ if (!d)
1694
+ return null;
1695
+ const v = Yr(i.breakpoints), h = Object.keys(v);
1696
+ let p = v;
1697
+ return Object.keys(d).forEach((T) => {
1698
+ const S = xt(d[T], i);
1699
+ if (S != null)
1700
+ if (typeof S == "object")
1701
+ if (s[T])
1702
+ p = ye(p, e(T, S, i, s));
1703
+ else {
1704
+ const b = oe({
1705
+ theme: i
1706
+ }, S, (f) => ({
1707
+ [T]: f
1708
+ }));
1709
+ Ot(b, S) ? p[T] = r({
1710
+ sx: S,
1711
+ theme: i
1712
+ }) : p = ye(p, b);
1713
+ }
1714
+ else
1715
+ p = ye(p, e(T, S, i, s));
1716
+ }), Fr(h, p);
1717
+ }
1718
+ return Array.isArray(o) ? o.map(l) : l(o);
1719
+ }
1720
+ return r;
1721
+ }
1722
+ const Ke = Ct();
1723
+ Ke.filterProps = ["sx"];
1724
+ function wt(e, r) {
1725
+ const t = this;
1726
+ return t.vars && typeof t.getColorSchemeSelector == "function" ? {
1727
+ [t.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: r
1728
+ } : t.palette.mode === e ? r : {};
1729
+ }
1730
+ const $t = ["breakpoints", "palette", "spacing", "shape"];
1731
+ function At(e = {}, ...r) {
1732
+ const {
1733
+ breakpoints: t = {},
1734
+ palette: n = {},
1735
+ spacing: o,
1736
+ shape: i = {}
1737
+ } = e, s = me(e, $t), l = Dr(t), c = Vr(o);
1738
+ let d = Se({
1739
+ breakpoints: l,
1740
+ direction: "ltr",
1741
+ components: {},
1742
+ // Inject component definitions.
1743
+ palette: q({
1744
+ mode: "light"
1745
+ }, n),
1746
+ spacing: c,
1747
+ shape: q({}, Lr, i)
1748
+ }, s);
1749
+ return d.applyStyles = wt, d = r.reduce((v, h) => Se(v, h), d), d.unstable_sxConfig = q({}, mr, s == null ? void 0 : s.unstable_sxConfig), d.unstable_sx = function(h) {
1750
+ return Ke({
1751
+ sx: h,
1752
+ theme: this
1753
+ });
1754
+ }, d;
1755
+ }
1756
+ const It = ["ownerState"], jt = ["variants"], Mt = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
1757
+ function Nt(e) {
1758
+ return Object.keys(e).length === 0;
1759
+ }
1760
+ function kt(e) {
1761
+ return typeof e == "string" && // 96 is one less than the char code
1762
+ // for "a" so this is checking that
1763
+ // it's a lowercase character
1764
+ e.charCodeAt(0) > 96;
1765
+ }
1766
+ function Le(e) {
1767
+ return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
1768
+ }
1769
+ const Dt = At(), ur = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
1770
+ function Ee({
1771
+ defaultTheme: e,
1772
+ theme: r,
1773
+ themeId: t
1774
+ }) {
1775
+ return Nt(r) ? e : r[t] || r;
1776
+ }
1777
+ function Lt(e) {
1778
+ return e ? (r, t) => t[e] : null;
1779
+ }
1780
+ function Te(e, r) {
1781
+ let {
1782
+ ownerState: t
1783
+ } = r, n = me(r, It);
1784
+ const o = typeof e == "function" ? e(q({
1785
+ ownerState: t
1786
+ }, n)) : e;
1787
+ if (Array.isArray(o))
1788
+ return o.flatMap((i) => Te(i, q({
1789
+ ownerState: t
1790
+ }, n)));
1791
+ if (o && typeof o == "object" && Array.isArray(o.variants)) {
1792
+ const {
1793
+ variants: i = []
1794
+ } = o;
1795
+ let l = me(o, jt);
1796
+ return i.forEach((c) => {
1797
+ let d = !0;
1798
+ typeof c.props == "function" ? d = c.props(q({
1799
+ ownerState: t
1800
+ }, n, t)) : Object.keys(c.props).forEach((v) => {
1801
+ (t == null ? void 0 : t[v]) !== c.props[v] && n[v] !== c.props[v] && (d = !1);
1802
+ }), d && (Array.isArray(l) || (l = [l]), l.push(typeof c.style == "function" ? c.style(q({
1803
+ ownerState: t
1804
+ }, n, t)) : c.style));
1805
+ }), l;
1806
+ }
1807
+ return o;
1808
+ }
1809
+ function Kt(e = {}) {
1810
+ const {
1811
+ themeId: r,
1812
+ defaultTheme: t = Dt,
1813
+ rootShouldForwardProp: n = Le,
1814
+ slotShouldForwardProp: o = Le
1815
+ } = e, i = (s) => Ke(q({}, s, {
1816
+ theme: Ee(q({}, s, {
1817
+ defaultTheme: t,
1818
+ themeId: r
1819
+ }))
1820
+ }));
1821
+ return i.__mui_systemSx = !0, (s, l = {}) => {
1822
+ Mr(s, (a) => a.filter((W) => !(W != null && W.__mui_systemSx)));
1823
+ const {
1824
+ name: c,
1825
+ slot: d,
1826
+ skipVariantsResolver: v,
1827
+ skipSx: h,
1828
+ // TODO v6: remove `lowercaseFirstLetter()` in the next major release
1829
+ // For more details: https://github.com/mui/material-ui/pull/37908
1830
+ overridesResolver: p = Lt(ur(d))
1831
+ } = l, T = me(l, Mt), S = v !== void 0 ? v : (
1832
+ // TODO v6: remove `Root` in the next major release
1833
+ // For more details: https://github.com/mui/material-ui/pull/37908
1834
+ d && d !== "Root" && d !== "root" || !1
1835
+ ), b = h || !1;
1836
+ let f;
1837
+ process.env.NODE_ENV !== "production" && c && (f = `${c}-${ur(d || "Root")}`);
1838
+ let N = Le;
1839
+ d === "Root" || d === "root" ? N = n : d ? N = o : kt(s) && (N = void 0);
1840
+ const Z = jr(s, q({
1841
+ shouldForwardProp: N,
1842
+ label: f
1843
+ }, T)), k = (a) => typeof a == "function" && a.__emotion_real !== a || ce(a) ? (W) => Te(a, q({}, W, {
1844
+ theme: Ee({
1845
+ theme: W.theme,
1846
+ defaultTheme: t,
1847
+ themeId: r
1848
+ })
1849
+ })) : a, D = (a, ...W) => {
1850
+ let re = k(a);
1851
+ const Q = W ? W.map(k) : [];
1852
+ c && p && Q.push((F) => {
1853
+ const z = Ee(q({}, F, {
1854
+ defaultTheme: t,
1855
+ themeId: r
1856
+ }));
1857
+ if (!z.components || !z.components[c] || !z.components[c].styleOverrides)
1858
+ return null;
1859
+ const ee = z.components[c].styleOverrides, G = {};
1860
+ return Object.entries(ee).forEach(([ae, U]) => {
1861
+ G[ae] = Te(U, q({}, F, {
1862
+ theme: z
1863
+ }));
1864
+ }), p(F, G);
1865
+ }), c && !S && Q.push((F) => {
1866
+ var z;
1867
+ const ee = Ee(q({}, F, {
1868
+ defaultTheme: t,
1869
+ themeId: r
1870
+ })), G = ee == null || (z = ee.components) == null || (z = z[c]) == null ? void 0 : z.variants;
1871
+ return Te({
1872
+ variants: G
1873
+ }, q({}, F, {
1874
+ theme: ee
1875
+ }));
1876
+ }), b || Q.push(i);
1877
+ const ie = Q.length - W.length;
1878
+ if (Array.isArray(a) && ie > 0) {
1879
+ const F = new Array(ie).fill("");
1880
+ re = [...a, ...F], re.raw = [...a.raw, ...F];
1881
+ }
1882
+ const te = Z(re, ...Q);
1883
+ if (process.env.NODE_ENV !== "production") {
1884
+ let F;
1885
+ c && (F = `${c}${We(d || "")}`), F === void 0 && (F = `Styled(${Ir(s)})`), te.displayName = F;
1886
+ }
1887
+ return s.muiName && (te.muiName = s.muiName), te;
1888
+ };
1889
+ return Z.withConfig && (D.withConfig = Z.withConfig), D;
1890
+ };
1891
+ }
1892
+ export {
1893
+ pe as P,
1894
+ We as a,
1895
+ Se as b,
1896
+ Wt as c,
1897
+ mr as d,
1898
+ Kt as e,
1899
+ xr as f,
1900
+ hr as g,
1901
+ oe as h,
1902
+ ce as i,
1903
+ or as j,
1904
+ At as k,
1905
+ Le as l,
1906
+ qt as m,
1907
+ jr as n,
1908
+ zt as r,
1909
+ Ke as s
1910
+ };