@rws-aoa/react-library 5.1.2 → 6.0.1

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