fansunited-widgets-cdn 0.0.86-RC4 → 0.0.86-RC6
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.
- package/chunks/{Alert-DuMXT9be.js → Alert-B6o66mYo.js} +39 -39
- package/chunks/{CardContent-COgjZl3_.js → CardContent-NCZhfGcZ.js} +16 -16
- package/chunks/{Snackbar-DJz-WddP.js → ChevronRight-1pLZ7T0v.js} +100 -94
- package/chunks/{ClassicQuizWrapper-C7svf4eh.js → ClassicQuizWrapper-n2epPO4k.js} +201 -205
- package/chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js +3918 -0
- package/chunks/{CollectLeadWrapper-DACvBsa_.js → CollectLeadWrapper-CCtTZAxL.js} +55 -56
- package/chunks/EitherOrById-ClGwMK0b.js +6820 -0
- package/chunks/EitherOrPreviewWrapper-BYiKyYwi.js +46 -0
- package/chunks/Error-BurPfBJw-DWYn31sK.js +1119 -0
- package/chunks/{EventGameWrapper-DmjaKr3I.js → EventGameWrapper-BphusLTk.js} +208 -219
- package/chunks/{Grid-BbegUe2J.js → Grid-yjqNNhEx.js} +32 -32
- package/chunks/{IconButton-zh1RLwcE.js → IconButton-D7onwgY0.js} +22 -22
- package/chunks/{List-CA3L6bUS.js → List-8Vy9IZiv.js} +26 -29
- package/chunks/{MatchPredictionContainer-CmHKsJ_z.js → MatchPredictionContainer-BGytBwLo.js} +52 -54
- package/chunks/{MatchQuizWrapper-BxHHl4a5.js → MatchQuizWrapper-BGjldBpF.js} +73 -85
- package/chunks/{OverlayLeadAfterCollection-DnqztPJ5-CJnicIes.js → OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js} +104 -105
- package/chunks/{OverlayScoreStateSkeleton-C9FUhcnd-CZ7cct30.js → OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js} +18 -19
- package/chunks/{PersonalityQuizWrapper-B-Rkzvc0.js → PersonalityQuizWrapper-BgLFw5tM.js} +3 -3
- package/chunks/{PlayerOfTheMatch-CzGMT1jr.js → PlayerOfTheMatch-CImBLG3T.js} +1008 -609
- package/chunks/{PollWrapper-Cdl3AbXE.js → PollWrapper-QpIKCCVF.js} +30 -34
- package/chunks/Portal-DegkUXpU-ByGP9zS1.js +19236 -0
- package/chunks/{PreviewQuizById-CPiwewW_.js → PreviewQuizById-Ba6yhxKV.js} +11 -14
- package/chunks/Sheet-U5EnSrgg.js +282 -0
- package/chunks/{Stack-BBjT-MoB.js → Stack-DbDi7kPO.js} +30 -30
- package/chunks/Tabs-leN3Fb8D--YMyy3EM.js +783 -0
- package/chunks/{TeamNextMatchPrediction-BOOGeVEv.js → TeamNextMatchPrediction-9VSQOCcC.js} +2 -2
- package/chunks/Tutorial-CRJLOovs.js +1072 -0
- package/chunks/createLucideIcon-CMWOQsDL.js +381 -0
- package/chunks/{createSvgIcon-cOpRx8M1.js → createSvgIcon-D9D4a1R9.js} +412 -390
- package/chunks/default-quiz-bg-ADjjIfPj.js +126 -0
- package/chunks/{index-CNAE4RYY.js → index-0ADq_9jd.js} +1 -1
- package/chunks/{index-D9kNvflO.js → index-B74jHeYm.js} +2 -2
- package/chunks/{index-Dr-yGqo_.js → index-BfVvJg5R.js} +1 -1
- package/chunks/{index-D3wDyWq_.js → index-BycLbIYY.js} +1 -1
- package/chunks/{index-BKyd0MUt.js → index-C6KAc5B_.js} +1 -1
- package/chunks/{index-BkU2GDR4.js → index-CHV6tlpH.js} +5 -5
- package/chunks/{index-Uv42o9aR.js → index-CILd3yUc.js} +1 -1
- package/chunks/index-CJqcqbHq.js +5 -0
- package/chunks/{index-DrlzgjUf.js → index-CK2RXrJm.js} +1 -1
- package/chunks/{index-DFXrZaoM.js → index-CPTAlr_t.js} +1 -1
- package/chunks/{index-D1SEUyHT.js → index-CiB_Gqim.js} +1 -1
- package/chunks/{index-CNukXTLi.js → index-CvGJXa6l.js} +1 -1
- package/chunks/{index-CpFMxpj1.js → index-CviTG4Nv.js} +1 -1
- package/chunks/index-DUQ2LFod-Cw45tHim.js +4510 -0
- package/chunks/{index-DbZ10tsY.js → index-Da0AXb_O.js} +1 -1
- package/chunks/{index-CiI_vSMR.js → index-DwR4J2nN.js} +1 -1
- package/chunks/{index-CMhbRdLz.js → index-UwW9niUj.js} +1 -1
- package/chunks/index.es-wHqA4PHm.js +11480 -0
- package/chunks/{init-DYY4CJtu.js → init-C-gCorsh.js} +1 -1
- package/chunks/{main-NO9IQFuY.js → main-Bh6iw92_.js} +94 -110
- package/chunks/{Button-DJj0KOh3.js → resolveProps-Bgg0H6c2.js} +471 -313
- package/chunks/{users-C-6eqEb6.js → users-CXdzg3DM.js} +1 -1
- package/fu-widgets.es.js +2 -2
- package/fu-widgets.iife.js +310 -257
- package/manifest.json +56 -72
- package/package.json +1 -1
- package/chunks/AspectRatio-CKWgGwn-.js +0 -125
- package/chunks/Avatar-Cv70g9HX.js +0 -186
- package/chunks/Card-BDn3dk3E.js +0 -129
- package/chunks/ChevronRight-BwGivLSL.js +0 -11
- package/chunks/Chip-BkY7Uww3.js +0 -281
- package/chunks/CollectLeadForm-DtmR2Vuf-DvAoHDnn.js +0 -1560
- package/chunks/DialogActions-CuXgjeCi.js +0 -45
- package/chunks/DialogContent-CyQJ8yz-.js +0 -60
- package/chunks/EitherOrById-B8v0nJmv.js +0 -1496
- package/chunks/EitherOrPreviewWrapper-C9O6TEVe.js +0 -47
- package/chunks/Error-DhQL89pn-DD0O1kEt.js +0 -418
- package/chunks/Link-Cw8ci6QQ.js +0 -228
- package/chunks/ListItemDecorator-DwvO_ty1.js +0 -1882
- package/chunks/ModalDialog-DLPhSR9-.js +0 -619
- package/chunks/NotFoundSkeleton-BYJTzYJR-JURKfNZv.js +0 -2764
- package/chunks/Portal-BWqqFvVm-pvatNKfM.js +0 -12717
- package/chunks/Portal-BsATdUrC.js +0 -41
- package/chunks/Select-Cewujqtd.js +0 -3418
- package/chunks/Sheet-B8wNvQTa.js +0 -167
- package/chunks/Tabs-BP1RMTCA.js +0 -784
- package/chunks/Tutorial-B1LWDD9l.js +0 -427
- package/chunks/createLucideIcon-nPUeaUEe.js +0 -79
- package/chunks/createSvgIcon-DhITitgm.js +0 -119
- package/chunks/default-quiz-bg-CTzaADn7.js +0 -4
- package/chunks/getReactElementRef-66jU_By9.js +0 -25
- package/chunks/index-BPH9IX2Q.js +0 -5
- package/chunks/index.es-BZbN3xaq.js +0 -6162
- package/chunks/resolveProps-BfYZubfk.js +0 -37
- package/chunks/variantColorInheritance-DVZ9CGcB.js +0 -28
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as G, U as $t, a8 as vt, a9 as kt, j as Ie, w as At } from "./main-Bh6iw92_.js";
|
|
2
|
+
import { g as Ye, h as Bt } from "./resolveProps-Bgg0H6c2.js";
|
|
3
3
|
var Ee = { exports: {} }, T = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
@@ -11,11 +11,11 @@ var Ee = { exports: {} }, T = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var Ue;
|
|
14
|
-
function
|
|
14
|
+
function Et() {
|
|
15
15
|
if (Ue) return T;
|
|
16
16
|
Ue = 1;
|
|
17
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"),
|
|
18
|
-
function
|
|
17
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
|
|
18
|
+
function p(u) {
|
|
19
19
|
if (typeof u == "object" && u !== null) {
|
|
20
20
|
var $ = u.$$typeof;
|
|
21
21
|
switch ($) {
|
|
@@ -32,7 +32,7 @@ function Bt() {
|
|
|
32
32
|
switch (u = u && u.$$typeof, u) {
|
|
33
33
|
case s:
|
|
34
34
|
case l:
|
|
35
|
-
case
|
|
35
|
+
case g:
|
|
36
36
|
case h:
|
|
37
37
|
return u;
|
|
38
38
|
case a:
|
|
@@ -46,39 +46,58 @@ function Bt() {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
return T.ContextConsumer = a, T.ContextProvider = s, T.Element = e, T.ForwardRef = l, T.Fragment = r, T.Lazy =
|
|
50
|
-
return
|
|
49
|
+
return T.ContextConsumer = a, T.ContextProvider = s, T.Element = e, T.ForwardRef = l, T.Fragment = r, T.Lazy = g, T.Memo = h, T.Portal = t, T.Profiler = o, T.StrictMode = n, T.Suspense = f, T.SuspenseList = d, T.isContextConsumer = function(u) {
|
|
50
|
+
return p(u) === a;
|
|
51
51
|
}, T.isContextProvider = function(u) {
|
|
52
|
-
return
|
|
52
|
+
return p(u) === s;
|
|
53
53
|
}, T.isElement = function(u) {
|
|
54
54
|
return typeof u == "object" && u !== null && u.$$typeof === e;
|
|
55
55
|
}, T.isForwardRef = function(u) {
|
|
56
|
-
return
|
|
56
|
+
return p(u) === l;
|
|
57
57
|
}, T.isFragment = function(u) {
|
|
58
|
-
return
|
|
58
|
+
return p(u) === r;
|
|
59
59
|
}, T.isLazy = function(u) {
|
|
60
|
-
return
|
|
60
|
+
return p(u) === g;
|
|
61
61
|
}, T.isMemo = function(u) {
|
|
62
|
-
return
|
|
62
|
+
return p(u) === h;
|
|
63
63
|
}, T.isPortal = function(u) {
|
|
64
|
-
return
|
|
64
|
+
return p(u) === t;
|
|
65
65
|
}, T.isProfiler = function(u) {
|
|
66
|
-
return
|
|
66
|
+
return p(u) === o;
|
|
67
67
|
}, T.isStrictMode = function(u) {
|
|
68
|
-
return
|
|
68
|
+
return p(u) === n;
|
|
69
69
|
}, T.isSuspense = function(u) {
|
|
70
|
-
return
|
|
70
|
+
return p(u) === f;
|
|
71
71
|
}, T.isSuspenseList = function(u) {
|
|
72
|
-
return
|
|
72
|
+
return p(u) === d;
|
|
73
73
|
}, T.isValidElementType = function(u) {
|
|
74
|
-
return typeof u == "string" || typeof u == "function" || u === r || u === o || u === n || u === f || u === d || typeof u == "object" && u !== null && (u.$$typeof ===
|
|
75
|
-
}, T.typeOf =
|
|
74
|
+
return typeof u == "string" || typeof u == "function" || u === r || u === o || u === n || u === f || u === d || typeof u == "object" && u !== null && (u.$$typeof === g || u.$$typeof === h || u.$$typeof === s || u.$$typeof === a || u.$$typeof === l || u.$$typeof === b || u.getModuleId !== void 0);
|
|
75
|
+
}, T.typeOf = p, T;
|
|
76
76
|
}
|
|
77
77
|
var Qe;
|
|
78
|
-
function
|
|
79
|
-
return Qe || (Qe = 1, Ee.exports = /* @__PURE__ */
|
|
78
|
+
function Rt() {
|
|
79
|
+
return Qe || (Qe = 1, Ee.exports = /* @__PURE__ */ Et()), Ee.exports;
|
|
80
|
+
}
|
|
81
|
+
var ut = /* @__PURE__ */ Rt();
|
|
82
|
+
function Hn(e) {
|
|
83
|
+
return e && e.ownerDocument || document;
|
|
84
|
+
}
|
|
85
|
+
function Yn(e) {
|
|
86
|
+
const t = G.useRef(e);
|
|
87
|
+
return $t(() => {
|
|
88
|
+
t.current = e;
|
|
89
|
+
}), G.useRef((...r) => (
|
|
90
|
+
// @ts-expect-error hide `this`
|
|
91
|
+
(0, t.current)(...r)
|
|
92
|
+
)).current;
|
|
93
|
+
}
|
|
94
|
+
function Un(e) {
|
|
95
|
+
if (parseInt(G.version, 10) >= 19) {
|
|
96
|
+
var t;
|
|
97
|
+
return (e == null || (t = e.props) == null ? void 0 : t.ref) || null;
|
|
98
|
+
}
|
|
99
|
+
return (e == null ? void 0 : e.ref) || null;
|
|
80
100
|
}
|
|
81
|
-
var ut = /* @__PURE__ */ Et();
|
|
82
101
|
const me = {
|
|
83
102
|
black: "#000",
|
|
84
103
|
white: "#fff"
|
|
@@ -147,24 +166,24 @@ function J(e, ...t) {
|
|
|
147
166
|
* This source code is licensed under the MIT license found in the
|
|
148
167
|
* LICENSE file in the root directory of this source tree.
|
|
149
168
|
*/
|
|
150
|
-
function Rt(e, t) {
|
|
151
|
-
return $t(e, t);
|
|
152
|
-
}
|
|
153
169
|
function Pt(e, t) {
|
|
170
|
+
return vt(e, t);
|
|
171
|
+
}
|
|
172
|
+
function It(e, t) {
|
|
154
173
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
155
174
|
}
|
|
156
|
-
const
|
|
157
|
-
function
|
|
158
|
-
return
|
|
175
|
+
const qe = [];
|
|
176
|
+
function X(e) {
|
|
177
|
+
return qe[0] = e, kt(qe);
|
|
159
178
|
}
|
|
160
|
-
function
|
|
179
|
+
function Y(e) {
|
|
161
180
|
if (typeof e != "object" || e === null)
|
|
162
181
|
return !1;
|
|
163
182
|
const t = Object.getPrototypeOf(e);
|
|
164
183
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
165
184
|
}
|
|
166
185
|
function ft(e) {
|
|
167
|
-
if (/* @__PURE__ */
|
|
186
|
+
if (/* @__PURE__ */ G.isValidElement(e) || ut.isValidElementType(e) || !Y(e))
|
|
168
187
|
return e;
|
|
169
188
|
const t = {};
|
|
170
189
|
return Object.keys(e).forEach((r) => {
|
|
@@ -177,12 +196,12 @@ function j(e, t, r = {
|
|
|
177
196
|
const n = r.clone ? {
|
|
178
197
|
...e
|
|
179
198
|
} : e;
|
|
180
|
-
return
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
199
|
+
return Y(e) && Y(t) && Object.keys(t).forEach((o) => {
|
|
200
|
+
/* @__PURE__ */ G.isValidElement(t[o]) || ut.isValidElementType(t[o]) ? n[o] = t[o] : Y(t[o]) && // Avoid prototype pollution
|
|
201
|
+
Object.prototype.hasOwnProperty.call(e, o) && Y(e[o]) ? n[o] = j(e[o], t[o], r) : r.clone ? n[o] = Y(t[o]) ? ft(t[o]) : t[o] : n[o] = t[o];
|
|
183
202
|
}), n;
|
|
184
203
|
}
|
|
185
|
-
const
|
|
204
|
+
const _t = (e) => {
|
|
186
205
|
const t = Object.keys(e).map((r) => ({
|
|
187
206
|
key: r,
|
|
188
207
|
val: e[r]
|
|
@@ -192,7 +211,7 @@ const It = (e) => {
|
|
|
192
211
|
[n.key]: n.val
|
|
193
212
|
}), {});
|
|
194
213
|
};
|
|
195
|
-
function
|
|
214
|
+
function Ft(e) {
|
|
196
215
|
const {
|
|
197
216
|
// The breakpoint **start** at this value.
|
|
198
217
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -211,7 +230,7 @@ function _t(e) {
|
|
|
211
230
|
unit: r = "px",
|
|
212
231
|
step: n = 5,
|
|
213
232
|
...o
|
|
214
|
-
} = e, a =
|
|
233
|
+
} = e, a = _t(t), s = Object.keys(a);
|
|
215
234
|
function l(m) {
|
|
216
235
|
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r})`;
|
|
217
236
|
}
|
|
@@ -219,13 +238,13 @@ function _t(e) {
|
|
|
219
238
|
return `@media (max-width:${(typeof t[m] == "number" ? t[m] : m) - n / 100}${r})`;
|
|
220
239
|
}
|
|
221
240
|
function d(m, b) {
|
|
222
|
-
const
|
|
223
|
-
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(
|
|
241
|
+
const p = s.indexOf(b);
|
|
242
|
+
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(p !== -1 && typeof t[s[p]] == "number" ? t[s[p]] : b) - n / 100}${r})`;
|
|
224
243
|
}
|
|
225
244
|
function h(m) {
|
|
226
245
|
return s.indexOf(m) + 1 < s.length ? d(m, s[s.indexOf(m) + 1]) : l(m);
|
|
227
246
|
}
|
|
228
|
-
function
|
|
247
|
+
function g(m) {
|
|
229
248
|
const b = s.indexOf(m);
|
|
230
249
|
return b === 0 ? l(s[1]) : b === s.length - 1 ? f(s[b]) : d(m, s[s.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
231
250
|
}
|
|
@@ -236,12 +255,12 @@ function _t(e) {
|
|
|
236
255
|
down: f,
|
|
237
256
|
between: d,
|
|
238
257
|
only: h,
|
|
239
|
-
not:
|
|
258
|
+
not: g,
|
|
240
259
|
unit: r,
|
|
241
260
|
...o
|
|
242
261
|
};
|
|
243
262
|
}
|
|
244
|
-
function
|
|
263
|
+
function Xe(e, t) {
|
|
245
264
|
if (!e.containerQueries)
|
|
246
265
|
return t;
|
|
247
266
|
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
@@ -256,10 +275,10 @@ function qe(e, t) {
|
|
|
256
275
|
...t
|
|
257
276
|
}) : t;
|
|
258
277
|
}
|
|
259
|
-
function
|
|
278
|
+
function Lt(e, t) {
|
|
260
279
|
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
261
280
|
}
|
|
262
|
-
function
|
|
281
|
+
function Dt(e, t) {
|
|
263
282
|
const r = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
264
283
|
if (!r)
|
|
265
284
|
return null;
|
|
@@ -280,7 +299,7 @@ function zt(e) {
|
|
|
280
299
|
containerQueries: o
|
|
281
300
|
};
|
|
282
301
|
}
|
|
283
|
-
const
|
|
302
|
+
const Mt = {
|
|
284
303
|
borderRadius: 4
|
|
285
304
|
};
|
|
286
305
|
function de(e, t) {
|
|
@@ -305,7 +324,7 @@ const Ce = {
|
|
|
305
324
|
// It can't be configured as it's used statically for propTypes.
|
|
306
325
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
307
326
|
up: (e) => `@media (min-width:${Ce[e]}px)`
|
|
308
|
-
},
|
|
327
|
+
}, jt = {
|
|
309
328
|
containerQueries: (e) => ({
|
|
310
329
|
up: (t) => {
|
|
311
330
|
let r = typeof t == "number" ? t : Ce[t] || t;
|
|
@@ -313,7 +332,7 @@ const Ce = {
|
|
|
313
332
|
}
|
|
314
333
|
})
|
|
315
334
|
};
|
|
316
|
-
function
|
|
335
|
+
function U(e, t, r) {
|
|
317
336
|
const n = e.theme || {};
|
|
318
337
|
if (Array.isArray(t)) {
|
|
319
338
|
const a = n.breakpoints || Je;
|
|
@@ -322,8 +341,8 @@ function Y(e, t, r) {
|
|
|
322
341
|
if (typeof t == "object") {
|
|
323
342
|
const a = n.breakpoints || Je;
|
|
324
343
|
return Object.keys(t).reduce((s, l) => {
|
|
325
|
-
if (
|
|
326
|
-
const f =
|
|
344
|
+
if (Lt(a.keys, l)) {
|
|
345
|
+
const f = Dt(n.containerQueries ? n : jt, l);
|
|
327
346
|
f && (s[f] = r(t[l], l));
|
|
328
347
|
} else if (Object.keys(a.values || Ce).includes(l)) {
|
|
329
348
|
const f = a.up(l);
|
|
@@ -337,7 +356,7 @@ function Y(e, t, r) {
|
|
|
337
356
|
}
|
|
338
357
|
return r(t);
|
|
339
358
|
}
|
|
340
|
-
function
|
|
359
|
+
function Wt(e = {}) {
|
|
341
360
|
var r;
|
|
342
361
|
return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
|
|
343
362
|
const a = e.up(o);
|
|
@@ -379,23 +398,23 @@ function I(e) {
|
|
|
379
398
|
if (s[t] == null)
|
|
380
399
|
return null;
|
|
381
400
|
const l = s[t], f = s.theme, d = we(f, n) || {};
|
|
382
|
-
return
|
|
383
|
-
let m = Se(d, o,
|
|
384
|
-
return
|
|
401
|
+
return U(s, l, (g) => {
|
|
402
|
+
let m = Se(d, o, g);
|
|
403
|
+
return g === m && typeof g == "string" && (m = Se(d, o, `${t}${g === "default" ? "" : ie(g)}`, g)), r === !1 ? m : {
|
|
385
404
|
[r]: m
|
|
386
405
|
};
|
|
387
406
|
});
|
|
388
407
|
};
|
|
389
408
|
return a.propTypes = {}, a.filterProps = [t], a;
|
|
390
409
|
}
|
|
391
|
-
function
|
|
410
|
+
function Vt(e) {
|
|
392
411
|
const t = {};
|
|
393
412
|
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
394
413
|
}
|
|
395
|
-
const
|
|
414
|
+
const Kt = {
|
|
396
415
|
m: "margin",
|
|
397
416
|
p: "padding"
|
|
398
|
-
},
|
|
417
|
+
}, Gt = {
|
|
399
418
|
t: "Top",
|
|
400
419
|
r: "Right",
|
|
401
420
|
b: "Bottom",
|
|
@@ -407,17 +426,17 @@ const Vt = {
|
|
|
407
426
|
marginY: "my",
|
|
408
427
|
paddingX: "px",
|
|
409
428
|
paddingY: "py"
|
|
410
|
-
},
|
|
429
|
+
}, Nt = Vt((e) => {
|
|
411
430
|
if (e.length > 2)
|
|
412
431
|
if (et[e])
|
|
413
432
|
e = et[e];
|
|
414
433
|
else
|
|
415
434
|
return [e];
|
|
416
|
-
const [t, r] = e.split(""), n =
|
|
435
|
+
const [t, r] = e.split(""), n = Kt[t], o = Gt[r] || "";
|
|
417
436
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
418
|
-
}),
|
|
419
|
-
[...
|
|
420
|
-
function
|
|
437
|
+
}), De = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], ze = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"];
|
|
438
|
+
[...De, ...ze];
|
|
439
|
+
function ge(e, t, r, n) {
|
|
421
440
|
const o = we(e, t, !0) ?? r;
|
|
422
441
|
return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : typeof o == "string" ? `calc(${a} * ${o})` : o * a : Array.isArray(o) ? (a) => {
|
|
423
442
|
if (typeof a == "string")
|
|
@@ -428,34 +447,34 @@ function pe(e, t, r, n) {
|
|
|
428
447
|
};
|
|
429
448
|
}
|
|
430
449
|
function Me(e) {
|
|
431
|
-
return
|
|
450
|
+
return ge(e, "spacing", 8);
|
|
432
451
|
}
|
|
433
|
-
function
|
|
452
|
+
function pe(e, t) {
|
|
434
453
|
return typeof t == "string" || t == null ? t : e(t);
|
|
435
454
|
}
|
|
436
|
-
function
|
|
437
|
-
return (r) => e.reduce((n, o) => (n[o] =
|
|
455
|
+
function Ht(e, t) {
|
|
456
|
+
return (r) => e.reduce((n, o) => (n[o] = pe(t, r), n), {});
|
|
438
457
|
}
|
|
439
|
-
function
|
|
458
|
+
function Yt(e, t, r, n) {
|
|
440
459
|
if (!t.includes(r))
|
|
441
460
|
return null;
|
|
442
|
-
const o =
|
|
443
|
-
return
|
|
461
|
+
const o = Nt(r), a = Ht(o, n), s = e[r];
|
|
462
|
+
return U(e, s, a);
|
|
444
463
|
}
|
|
445
464
|
function dt(e, t) {
|
|
446
465
|
const r = Me(e.theme);
|
|
447
|
-
return Object.keys(e).map((n) =>
|
|
466
|
+
return Object.keys(e).map((n) => Yt(e, t, n, r)).reduce(de, {});
|
|
448
467
|
}
|
|
449
468
|
function E(e) {
|
|
450
|
-
return dt(e,
|
|
469
|
+
return dt(e, De);
|
|
451
470
|
}
|
|
452
471
|
E.propTypes = {};
|
|
453
|
-
E.filterProps =
|
|
454
|
-
function
|
|
455
|
-
return dt(e,
|
|
472
|
+
E.filterProps = De;
|
|
473
|
+
function R(e) {
|
|
474
|
+
return dt(e, ze);
|
|
456
475
|
}
|
|
457
|
-
|
|
458
|
-
|
|
476
|
+
R.propTypes = {};
|
|
477
|
+
R.filterProps = ze;
|
|
459
478
|
function mt(e = 8, t = Me({
|
|
460
479
|
spacing: e
|
|
461
480
|
})) {
|
|
@@ -483,71 +502,71 @@ function K(e, t) {
|
|
|
483
502
|
transform: t
|
|
484
503
|
});
|
|
485
504
|
}
|
|
486
|
-
const
|
|
505
|
+
const Ut = K("border", V), Qt = K("borderTop", V), qt = K("borderRight", V), Xt = K("borderBottom", V), Jt = K("borderLeft", V), Zt = K("borderColor"), er = K("borderTopColor"), tr = K("borderRightColor"), rr = K("borderBottomColor"), nr = K("borderLeftColor"), or = K("outline", V), ir = K("outlineColor"), Te = (e) => {
|
|
487
506
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
488
|
-
const t =
|
|
489
|
-
borderRadius:
|
|
507
|
+
const t = ge(e.theme, "shape.borderRadius", 4), r = (n) => ({
|
|
508
|
+
borderRadius: pe(t, n)
|
|
490
509
|
});
|
|
491
|
-
return
|
|
510
|
+
return U(e, e.borderRadius, r);
|
|
492
511
|
}
|
|
493
512
|
return null;
|
|
494
513
|
};
|
|
495
514
|
Te.propTypes = {};
|
|
496
515
|
Te.filterProps = ["borderRadius"];
|
|
497
|
-
xe(
|
|
516
|
+
xe(Ut, Qt, qt, Xt, Jt, Zt, er, tr, rr, nr, Te, or, ir);
|
|
498
517
|
const $e = (e) => {
|
|
499
518
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
500
|
-
const t =
|
|
501
|
-
gap:
|
|
519
|
+
const t = ge(e.theme, "spacing", 8), r = (n) => ({
|
|
520
|
+
gap: pe(t, n)
|
|
502
521
|
});
|
|
503
|
-
return
|
|
522
|
+
return U(e, e.gap, r);
|
|
504
523
|
}
|
|
505
524
|
return null;
|
|
506
525
|
};
|
|
507
526
|
$e.propTypes = {};
|
|
508
527
|
$e.filterProps = ["gap"];
|
|
509
|
-
const
|
|
528
|
+
const ve = (e) => {
|
|
510
529
|
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
511
|
-
const t =
|
|
512
|
-
columnGap:
|
|
530
|
+
const t = ge(e.theme, "spacing", 8), r = (n) => ({
|
|
531
|
+
columnGap: pe(t, n)
|
|
513
532
|
});
|
|
514
|
-
return
|
|
533
|
+
return U(e, e.columnGap, r);
|
|
515
534
|
}
|
|
516
535
|
return null;
|
|
517
536
|
};
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
const
|
|
537
|
+
ve.propTypes = {};
|
|
538
|
+
ve.filterProps = ["columnGap"];
|
|
539
|
+
const ke = (e) => {
|
|
521
540
|
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
522
|
-
const t =
|
|
523
|
-
rowGap:
|
|
541
|
+
const t = ge(e.theme, "spacing", 8), r = (n) => ({
|
|
542
|
+
rowGap: pe(t, n)
|
|
524
543
|
});
|
|
525
|
-
return
|
|
544
|
+
return U(e, e.rowGap, r);
|
|
526
545
|
}
|
|
527
546
|
return null;
|
|
528
547
|
};
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
const
|
|
548
|
+
ke.propTypes = {};
|
|
549
|
+
ke.filterProps = ["rowGap"];
|
|
550
|
+
const ar = I({
|
|
532
551
|
prop: "gridColumn"
|
|
533
|
-
}), ar = I({
|
|
534
|
-
prop: "gridRow"
|
|
535
552
|
}), sr = I({
|
|
536
|
-
prop: "
|
|
553
|
+
prop: "gridRow"
|
|
537
554
|
}), lr = I({
|
|
538
|
-
prop: "
|
|
555
|
+
prop: "gridAutoFlow"
|
|
539
556
|
}), cr = I({
|
|
540
|
-
prop: "
|
|
557
|
+
prop: "gridAutoColumns"
|
|
541
558
|
}), ur = I({
|
|
542
|
-
prop: "
|
|
559
|
+
prop: "gridAutoRows"
|
|
543
560
|
}), fr = I({
|
|
544
|
-
prop: "
|
|
561
|
+
prop: "gridTemplateColumns"
|
|
545
562
|
}), dr = I({
|
|
546
|
-
prop: "
|
|
563
|
+
prop: "gridTemplateRows"
|
|
547
564
|
}), mr = I({
|
|
565
|
+
prop: "gridTemplateAreas"
|
|
566
|
+
}), gr = I({
|
|
548
567
|
prop: "gridArea"
|
|
549
568
|
});
|
|
550
|
-
xe($e,
|
|
569
|
+
xe($e, ve, ke, ar, sr, lr, cr, ur, fr, dr, mr, gr);
|
|
551
570
|
function oe(e, t) {
|
|
552
571
|
return t === "grey" ? t : e;
|
|
553
572
|
}
|
|
@@ -555,21 +574,21 @@ const pr = I({
|
|
|
555
574
|
prop: "color",
|
|
556
575
|
themeKey: "palette",
|
|
557
576
|
transform: oe
|
|
558
|
-
}),
|
|
577
|
+
}), hr = I({
|
|
559
578
|
prop: "bgcolor",
|
|
560
579
|
cssProperty: "backgroundColor",
|
|
561
580
|
themeKey: "palette",
|
|
562
581
|
transform: oe
|
|
563
|
-
}),
|
|
582
|
+
}), yr = I({
|
|
564
583
|
prop: "backgroundColor",
|
|
565
584
|
themeKey: "palette",
|
|
566
585
|
transform: oe
|
|
567
586
|
});
|
|
568
|
-
xe(pr,
|
|
587
|
+
xe(pr, hr, yr);
|
|
569
588
|
function M(e) {
|
|
570
589
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
571
590
|
}
|
|
572
|
-
const
|
|
591
|
+
const br = I({
|
|
573
592
|
prop: "width",
|
|
574
593
|
transform: M
|
|
575
594
|
}), je = (e) => {
|
|
@@ -585,21 +604,21 @@ const yr = I({
|
|
|
585
604
|
maxWidth: M(r)
|
|
586
605
|
};
|
|
587
606
|
};
|
|
588
|
-
return
|
|
607
|
+
return U(e, e.maxWidth, t);
|
|
589
608
|
}
|
|
590
609
|
return null;
|
|
591
610
|
};
|
|
592
611
|
je.filterProps = ["maxWidth"];
|
|
593
|
-
const
|
|
612
|
+
const Sr = I({
|
|
594
613
|
prop: "minWidth",
|
|
595
614
|
transform: M
|
|
596
|
-
}),
|
|
615
|
+
}), Cr = I({
|
|
597
616
|
prop: "height",
|
|
598
617
|
transform: M
|
|
599
|
-
}),
|
|
618
|
+
}), wr = I({
|
|
600
619
|
prop: "maxHeight",
|
|
601
620
|
transform: M
|
|
602
|
-
}),
|
|
621
|
+
}), xr = I({
|
|
603
622
|
prop: "minHeight",
|
|
604
623
|
transform: M
|
|
605
624
|
});
|
|
@@ -613,10 +632,10 @@ I({
|
|
|
613
632
|
cssProperty: "height",
|
|
614
633
|
transform: M
|
|
615
634
|
});
|
|
616
|
-
const
|
|
635
|
+
const Tr = I({
|
|
617
636
|
prop: "boxSizing"
|
|
618
637
|
});
|
|
619
|
-
xe(
|
|
638
|
+
xe(br, je, Sr, Cr, wr, xr, Tr);
|
|
620
639
|
const Ae = {
|
|
621
640
|
// borders
|
|
622
641
|
border: {
|
|
@@ -681,64 +700,64 @@ const Ae = {
|
|
|
681
700
|
},
|
|
682
701
|
// spacing
|
|
683
702
|
p: {
|
|
684
|
-
style:
|
|
703
|
+
style: R
|
|
685
704
|
},
|
|
686
705
|
pt: {
|
|
687
|
-
style:
|
|
706
|
+
style: R
|
|
688
707
|
},
|
|
689
708
|
pr: {
|
|
690
|
-
style:
|
|
709
|
+
style: R
|
|
691
710
|
},
|
|
692
711
|
pb: {
|
|
693
|
-
style:
|
|
712
|
+
style: R
|
|
694
713
|
},
|
|
695
714
|
pl: {
|
|
696
|
-
style:
|
|
715
|
+
style: R
|
|
697
716
|
},
|
|
698
717
|
px: {
|
|
699
|
-
style:
|
|
718
|
+
style: R
|
|
700
719
|
},
|
|
701
720
|
py: {
|
|
702
|
-
style:
|
|
721
|
+
style: R
|
|
703
722
|
},
|
|
704
723
|
padding: {
|
|
705
|
-
style:
|
|
724
|
+
style: R
|
|
706
725
|
},
|
|
707
726
|
paddingTop: {
|
|
708
|
-
style:
|
|
727
|
+
style: R
|
|
709
728
|
},
|
|
710
729
|
paddingRight: {
|
|
711
|
-
style:
|
|
730
|
+
style: R
|
|
712
731
|
},
|
|
713
732
|
paddingBottom: {
|
|
714
|
-
style:
|
|
733
|
+
style: R
|
|
715
734
|
},
|
|
716
735
|
paddingLeft: {
|
|
717
|
-
style:
|
|
736
|
+
style: R
|
|
718
737
|
},
|
|
719
738
|
paddingX: {
|
|
720
|
-
style:
|
|
739
|
+
style: R
|
|
721
740
|
},
|
|
722
741
|
paddingY: {
|
|
723
|
-
style:
|
|
742
|
+
style: R
|
|
724
743
|
},
|
|
725
744
|
paddingInline: {
|
|
726
|
-
style:
|
|
745
|
+
style: R
|
|
727
746
|
},
|
|
728
747
|
paddingInlineStart: {
|
|
729
|
-
style:
|
|
748
|
+
style: R
|
|
730
749
|
},
|
|
731
750
|
paddingInlineEnd: {
|
|
732
|
-
style:
|
|
751
|
+
style: R
|
|
733
752
|
},
|
|
734
753
|
paddingBlock: {
|
|
735
|
-
style:
|
|
754
|
+
style: R
|
|
736
755
|
},
|
|
737
756
|
paddingBlockStart: {
|
|
738
|
-
style:
|
|
757
|
+
style: R
|
|
739
758
|
},
|
|
740
759
|
paddingBlockEnd: {
|
|
741
|
-
style:
|
|
760
|
+
style: R
|
|
742
761
|
},
|
|
743
762
|
m: {
|
|
744
763
|
style: E
|
|
@@ -833,10 +852,10 @@ const Ae = {
|
|
|
833
852
|
style: $e
|
|
834
853
|
},
|
|
835
854
|
rowGap: {
|
|
836
|
-
style:
|
|
855
|
+
style: ke
|
|
837
856
|
},
|
|
838
857
|
columnGap: {
|
|
839
|
-
style:
|
|
858
|
+
style: ve
|
|
840
859
|
},
|
|
841
860
|
gridColumn: {},
|
|
842
861
|
gridRow: {},
|
|
@@ -905,11 +924,11 @@ const Ae = {
|
|
|
905
924
|
themeKey: "typography"
|
|
906
925
|
}
|
|
907
926
|
};
|
|
908
|
-
function
|
|
927
|
+
function $r(...e) {
|
|
909
928
|
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
|
|
910
929
|
return e.every((n) => r.size === Object.keys(n).length);
|
|
911
930
|
}
|
|
912
|
-
function
|
|
931
|
+
function vr(e, t) {
|
|
913
932
|
return typeof e == "function" ? e(t) : e;
|
|
914
933
|
}
|
|
915
934
|
function kr() {
|
|
@@ -926,7 +945,7 @@ function kr() {
|
|
|
926
945
|
cssProperty: f = r,
|
|
927
946
|
themeKey: d,
|
|
928
947
|
transform: h,
|
|
929
|
-
style:
|
|
948
|
+
style: g
|
|
930
949
|
} = l;
|
|
931
950
|
if (n == null)
|
|
932
951
|
return null;
|
|
@@ -935,9 +954,9 @@ function kr() {
|
|
|
935
954
|
[r]: n
|
|
936
955
|
};
|
|
937
956
|
const m = we(o, d) || {};
|
|
938
|
-
return
|
|
939
|
-
let u = Se(m, h,
|
|
940
|
-
return
|
|
957
|
+
return g ? g(s) : U(s, n, (p) => {
|
|
958
|
+
let u = Se(m, h, p);
|
|
959
|
+
return p === u && typeof p == "string" && (u = Se(m, h, `${r}${p === "default" ? "" : ie(p)}`, p)), f === !1 ? u : {
|
|
941
960
|
[f]: u
|
|
942
961
|
};
|
|
943
962
|
});
|
|
@@ -959,31 +978,31 @@ function kr() {
|
|
|
959
978
|
return f;
|
|
960
979
|
if (!d)
|
|
961
980
|
return null;
|
|
962
|
-
const h =
|
|
981
|
+
const h = Wt(o.breakpoints), g = Object.keys(h);
|
|
963
982
|
let m = h;
|
|
964
983
|
return Object.keys(d).forEach((b) => {
|
|
965
|
-
const
|
|
966
|
-
if (
|
|
967
|
-
if (typeof
|
|
984
|
+
const p = vr(d[b], o);
|
|
985
|
+
if (p != null)
|
|
986
|
+
if (typeof p == "object")
|
|
968
987
|
if (s[b])
|
|
969
|
-
m = de(m, e(b,
|
|
988
|
+
m = de(m, e(b, p, o, s));
|
|
970
989
|
else {
|
|
971
|
-
const u =
|
|
990
|
+
const u = U({
|
|
972
991
|
theme: o
|
|
973
|
-
},
|
|
992
|
+
}, p, ($) => ({
|
|
974
993
|
[b]: $
|
|
975
994
|
}));
|
|
976
|
-
|
|
977
|
-
sx:
|
|
995
|
+
$r(u, p) ? m[b] = t({
|
|
996
|
+
sx: p,
|
|
978
997
|
theme: o,
|
|
979
998
|
nested: !0
|
|
980
999
|
}) : m = de(m, u);
|
|
981
1000
|
}
|
|
982
1001
|
else
|
|
983
|
-
m = de(m, e(b,
|
|
1002
|
+
m = de(m, e(b, p, o, s));
|
|
984
1003
|
}), !a && o.modularCssLayers ? {
|
|
985
|
-
"@layer sx":
|
|
986
|
-
} :
|
|
1004
|
+
"@layer sx": Xe(o, Ze(g, m))
|
|
1005
|
+
} : Xe(o, Ze(g, m));
|
|
987
1006
|
}
|
|
988
1007
|
return Array.isArray(n) ? n.map(l) : l(n);
|
|
989
1008
|
}
|
|
@@ -991,7 +1010,7 @@ function kr() {
|
|
|
991
1010
|
}
|
|
992
1011
|
const ae = kr();
|
|
993
1012
|
ae.filterProps = ["sx"];
|
|
994
|
-
function
|
|
1013
|
+
function Ar(e, t) {
|
|
995
1014
|
var n;
|
|
996
1015
|
const r = this;
|
|
997
1016
|
if (r.vars) {
|
|
@@ -1004,14 +1023,14 @@ function vr(e, t) {
|
|
|
1004
1023
|
}
|
|
1005
1024
|
return r.palette.mode === e ? t : {};
|
|
1006
1025
|
}
|
|
1007
|
-
function
|
|
1026
|
+
function gt(e = {}, ...t) {
|
|
1008
1027
|
const {
|
|
1009
1028
|
breakpoints: r = {},
|
|
1010
1029
|
palette: n = {},
|
|
1011
1030
|
spacing: o,
|
|
1012
1031
|
shape: a = {},
|
|
1013
1032
|
...s
|
|
1014
|
-
} = e, l =
|
|
1033
|
+
} = e, l = Ft(r), f = mt(o);
|
|
1015
1034
|
let d = j({
|
|
1016
1035
|
breakpoints: l,
|
|
1017
1036
|
direction: "ltr",
|
|
@@ -1023,21 +1042,21 @@ function pt(e = {}, ...t) {
|
|
|
1023
1042
|
},
|
|
1024
1043
|
spacing: f,
|
|
1025
1044
|
shape: {
|
|
1026
|
-
...
|
|
1045
|
+
...Mt,
|
|
1027
1046
|
...a
|
|
1028
1047
|
}
|
|
1029
1048
|
}, s);
|
|
1030
|
-
return d = zt(d), d.applyStyles =
|
|
1049
|
+
return d = zt(d), d.applyStyles = Ar, d = t.reduce((h, g) => j(h, g), d), d.unstable_sxConfig = {
|
|
1031
1050
|
...Ae,
|
|
1032
1051
|
...s == null ? void 0 : s.unstable_sxConfig
|
|
1033
|
-
}, d.unstable_sx = function(
|
|
1052
|
+
}, d.unstable_sx = function(g) {
|
|
1034
1053
|
return ae({
|
|
1035
|
-
sx:
|
|
1054
|
+
sx: g,
|
|
1036
1055
|
theme: this
|
|
1037
1056
|
});
|
|
1038
1057
|
}, d;
|
|
1039
1058
|
}
|
|
1040
|
-
const tt = (e) => e,
|
|
1059
|
+
const tt = (e) => e, Br = () => {
|
|
1041
1060
|
let e = tt;
|
|
1042
1061
|
return {
|
|
1043
1062
|
configure(t) {
|
|
@@ -1050,7 +1069,7 @@ const tt = (e) => e, Ar = () => {
|
|
|
1050
1069
|
e = tt;
|
|
1051
1070
|
}
|
|
1052
1071
|
};
|
|
1053
|
-
},
|
|
1072
|
+
}, Er = Br(), Rr = {
|
|
1054
1073
|
active: "active",
|
|
1055
1074
|
checked: "checked",
|
|
1056
1075
|
completed: "completed",
|
|
@@ -1064,14 +1083,14 @@ const tt = (e) => e, Ar = () => {
|
|
|
1064
1083
|
required: "required",
|
|
1065
1084
|
selected: "selected"
|
|
1066
1085
|
};
|
|
1067
|
-
function
|
|
1068
|
-
const n =
|
|
1069
|
-
return n ? `${r}-${n}` : `${
|
|
1086
|
+
function pt(e, t, r = "Mui") {
|
|
1087
|
+
const n = Rr[t];
|
|
1088
|
+
return n ? `${r}-${n}` : `${Er.generate(e)}-${t}`;
|
|
1070
1089
|
}
|
|
1071
1090
|
function Or(e, t, r = "Mui") {
|
|
1072
1091
|
const n = {};
|
|
1073
1092
|
return t.forEach((o) => {
|
|
1074
|
-
n[o] =
|
|
1093
|
+
n[o] = pt(e, o, r);
|
|
1075
1094
|
}), n;
|
|
1076
1095
|
}
|
|
1077
1096
|
function ht(e) {
|
|
@@ -1080,25 +1099,25 @@ function ht(e) {
|
|
|
1080
1099
|
...r
|
|
1081
1100
|
} = e, n = {
|
|
1082
1101
|
variants: t,
|
|
1083
|
-
style:
|
|
1102
|
+
style: X(r),
|
|
1084
1103
|
isProcessed: !0
|
|
1085
1104
|
};
|
|
1086
1105
|
return n.style === r || t && t.forEach((o) => {
|
|
1087
|
-
typeof o.style != "function" && (o.style =
|
|
1106
|
+
typeof o.style != "function" && (o.style = X(o.style));
|
|
1088
1107
|
}), n;
|
|
1089
1108
|
}
|
|
1090
|
-
const
|
|
1091
|
-
function
|
|
1109
|
+
const Pr = gt();
|
|
1110
|
+
function Re(e) {
|
|
1092
1111
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
1093
1112
|
}
|
|
1094
|
-
function
|
|
1113
|
+
function q(e, t) {
|
|
1095
1114
|
return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
|
|
1096
1115
|
}
|
|
1097
|
-
function
|
|
1116
|
+
function Ir(e) {
|
|
1098
1117
|
return e ? (t, r) => r[e] : null;
|
|
1099
1118
|
}
|
|
1100
|
-
function
|
|
1101
|
-
e.theme =
|
|
1119
|
+
function _r(e, t, r) {
|
|
1120
|
+
e.theme = Dr(e.theme) ? r : e.theme[t] || e.theme;
|
|
1102
1121
|
}
|
|
1103
1122
|
function be(e, t, r) {
|
|
1104
1123
|
const n = typeof t == "function" ? t(e) : t;
|
|
@@ -1107,17 +1126,17 @@ function be(e, t, r) {
|
|
|
1107
1126
|
if (Array.isArray(n == null ? void 0 : n.variants)) {
|
|
1108
1127
|
let o;
|
|
1109
1128
|
if (n.isProcessed)
|
|
1110
|
-
o = r ?
|
|
1129
|
+
o = r ? q(n.style, r) : n.style;
|
|
1111
1130
|
else {
|
|
1112
1131
|
const {
|
|
1113
1132
|
variants: a,
|
|
1114
1133
|
...s
|
|
1115
1134
|
} = n;
|
|
1116
|
-
o = r ? X(
|
|
1135
|
+
o = r ? q(X(s), r) : s;
|
|
1117
1136
|
}
|
|
1118
1137
|
return yt(e, n.variants, [o], r);
|
|
1119
1138
|
}
|
|
1120
|
-
return n != null && n.isProcessed ? r ? X(
|
|
1139
|
+
return n != null && n.isProcessed ? r ? q(X(n.style), r) : n.style : r ? q(X(n), r) : n;
|
|
1121
1140
|
}
|
|
1122
1141
|
function yt(e, t, r = [], n = void 0) {
|
|
1123
1142
|
var a;
|
|
@@ -1139,58 +1158,58 @@ function yt(e, t, r = [], n = void 0) {
|
|
|
1139
1158
|
...e,
|
|
1140
1159
|
...e.ownerState,
|
|
1141
1160
|
ownerState: e.ownerState
|
|
1142
|
-
}), r.push(n ? X(
|
|
1161
|
+
}), r.push(n ? q(X(l.style(o)), n) : l.style(o))) : r.push(n ? q(X(l.style), n) : l.style);
|
|
1143
1162
|
}
|
|
1144
1163
|
return r;
|
|
1145
1164
|
}
|
|
1146
|
-
function
|
|
1165
|
+
function Fr(e = {}) {
|
|
1147
1166
|
const {
|
|
1148
1167
|
themeId: t,
|
|
1149
|
-
defaultTheme: r =
|
|
1150
|
-
rootShouldForwardProp: n =
|
|
1151
|
-
slotShouldForwardProp: o =
|
|
1168
|
+
defaultTheme: r = Pr,
|
|
1169
|
+
rootShouldForwardProp: n = Re,
|
|
1170
|
+
slotShouldForwardProp: o = Re
|
|
1152
1171
|
} = e;
|
|
1153
1172
|
function a(l) {
|
|
1154
|
-
|
|
1173
|
+
_r(l, t, r);
|
|
1155
1174
|
}
|
|
1156
1175
|
return (l, f = {}) => {
|
|
1157
|
-
|
|
1176
|
+
It(l, (B) => B.filter((P) => P !== ae));
|
|
1158
1177
|
const {
|
|
1159
1178
|
name: d,
|
|
1160
1179
|
slot: h,
|
|
1161
|
-
skipVariantsResolver:
|
|
1180
|
+
skipVariantsResolver: g,
|
|
1162
1181
|
skipSx: m,
|
|
1163
1182
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
1164
1183
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1165
|
-
overridesResolver: b =
|
|
1166
|
-
...
|
|
1167
|
-
} = f, u = d && d.startsWith("Mui") || h ? "components" : "custom", $ =
|
|
1184
|
+
overridesResolver: b = Ir(Mr(h)),
|
|
1185
|
+
...p
|
|
1186
|
+
} = f, u = d && d.startsWith("Mui") || h ? "components" : "custom", $ = g !== void 0 ? g : (
|
|
1168
1187
|
// TODO v6: remove `Root` in the next major release
|
|
1169
1188
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
1170
1189
|
h && h !== "Root" && h !== "root" || !1
|
|
1171
|
-
),
|
|
1172
|
-
let
|
|
1173
|
-
h === "Root" || h === "root" ?
|
|
1174
|
-
const w =
|
|
1175
|
-
shouldForwardProp:
|
|
1176
|
-
label:
|
|
1177
|
-
...
|
|
1190
|
+
), O = m || !1;
|
|
1191
|
+
let D = Re;
|
|
1192
|
+
h === "Root" || h === "root" ? D = n : h ? D = o : zr(l) && (D = void 0);
|
|
1193
|
+
const w = Pt(l, {
|
|
1194
|
+
shouldForwardProp: D,
|
|
1195
|
+
label: Lr(),
|
|
1196
|
+
...p
|
|
1178
1197
|
}), S = (B) => {
|
|
1179
1198
|
if (B.__emotion_real === B)
|
|
1180
1199
|
return B;
|
|
1181
1200
|
if (typeof B == "function")
|
|
1182
|
-
return function(
|
|
1183
|
-
return be(
|
|
1201
|
+
return function(z) {
|
|
1202
|
+
return be(z, B, z.theme.modularCssLayers ? u : void 0);
|
|
1184
1203
|
};
|
|
1185
|
-
if (
|
|
1204
|
+
if (Y(B)) {
|
|
1186
1205
|
const P = ht(B);
|
|
1187
1206
|
return function(F) {
|
|
1188
|
-
return P.variants ? be(F, P, F.theme.modularCssLayers ? u : void 0) : F.theme.modularCssLayers ?
|
|
1207
|
+
return P.variants ? be(F, P, F.theme.modularCssLayers ? u : void 0) : F.theme.modularCssLayers ? q(P.style, u) : P.style;
|
|
1189
1208
|
};
|
|
1190
1209
|
}
|
|
1191
1210
|
return B;
|
|
1192
1211
|
}, _ = (...B) => {
|
|
1193
|
-
const P = [],
|
|
1212
|
+
const P = [], z = B.map(S), F = [];
|
|
1194
1213
|
if (P.push(a), d && b && F.push(function(x) {
|
|
1195
1214
|
var le, Ne;
|
|
1196
1215
|
const L = (Ne = (le = x.theme.components) == null ? void 0 : le[d]) == null ? void 0 : Ne.styleOverrides;
|
|
@@ -1204,21 +1223,21 @@ function _r(e = {}) {
|
|
|
1204
1223
|
var se, le;
|
|
1205
1224
|
const W = x.theme, L = (le = (se = W == null ? void 0 : W.components) == null ? void 0 : se[d]) == null ? void 0 : le.variants;
|
|
1206
1225
|
return L ? yt(x, L, [], x.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
1207
|
-
}),
|
|
1208
|
-
const C =
|
|
1226
|
+
}), O || F.push(ae), Array.isArray(z[0])) {
|
|
1227
|
+
const C = z.shift(), x = new Array(P.length).fill(""), W = new Array(F.length).fill("");
|
|
1209
1228
|
let L;
|
|
1210
1229
|
L = [...x, ...C, ...W], L.raw = [...x, ...C.raw, ...W], P.unshift(L);
|
|
1211
1230
|
}
|
|
1212
|
-
const i = [...P, ...
|
|
1231
|
+
const i = [...P, ...z, ...F], y = w(...i);
|
|
1213
1232
|
return l.muiName && (y.muiName = l.muiName), y;
|
|
1214
1233
|
};
|
|
1215
1234
|
return w.withConfig && (_.withConfig = w.withConfig), _;
|
|
1216
1235
|
};
|
|
1217
1236
|
}
|
|
1218
|
-
function
|
|
1237
|
+
function Lr(e, t) {
|
|
1219
1238
|
return void 0;
|
|
1220
1239
|
}
|
|
1221
|
-
function
|
|
1240
|
+
function Dr(e) {
|
|
1222
1241
|
for (const t in e)
|
|
1223
1242
|
return !1;
|
|
1224
1243
|
return !0;
|
|
@@ -1229,16 +1248,16 @@ function zr(e) {
|
|
|
1229
1248
|
// it's a lowercase character
|
|
1230
1249
|
e.charCodeAt(0) > 96;
|
|
1231
1250
|
}
|
|
1232
|
-
function
|
|
1251
|
+
function Mr(e) {
|
|
1233
1252
|
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
1234
1253
|
}
|
|
1235
|
-
function
|
|
1254
|
+
function jr(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
1236
1255
|
return Math.max(t, Math.min(e, r));
|
|
1237
1256
|
}
|
|
1238
1257
|
function We(e, t = 0, r = 1) {
|
|
1239
|
-
return
|
|
1258
|
+
return jr(e, t, r);
|
|
1240
1259
|
}
|
|
1241
|
-
function
|
|
1260
|
+
function Wr(e) {
|
|
1242
1261
|
e = e.slice(1);
|
|
1243
1262
|
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
1244
1263
|
let r = e.match(t);
|
|
@@ -1248,7 +1267,7 @@ function Q(e) {
|
|
|
1248
1267
|
if (e.type)
|
|
1249
1268
|
return e;
|
|
1250
1269
|
if (e.charAt(0) === "#")
|
|
1251
|
-
return Q(
|
|
1270
|
+
return Q(Wr(e));
|
|
1252
1271
|
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1253
1272
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
1254
1273
|
throw new Error(J(9, e));
|
|
@@ -1264,12 +1283,12 @@ function Q(e) {
|
|
|
1264
1283
|
colorSpace: o
|
|
1265
1284
|
};
|
|
1266
1285
|
}
|
|
1267
|
-
const
|
|
1286
|
+
const Vr = (e) => {
|
|
1268
1287
|
const t = Q(e);
|
|
1269
1288
|
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
1270
1289
|
}, ue = (e, t) => {
|
|
1271
1290
|
try {
|
|
1272
|
-
return
|
|
1291
|
+
return Vr(e);
|
|
1273
1292
|
} catch {
|
|
1274
1293
|
return e;
|
|
1275
1294
|
}
|
|
@@ -1301,16 +1320,16 @@ function _e(e) {
|
|
|
1301
1320
|
let t = e.type === "hsl" || e.type === "hsla" ? Q(bt(e)).values : e.values;
|
|
1302
1321
|
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));
|
|
1303
1322
|
}
|
|
1304
|
-
function
|
|
1323
|
+
function Kr(e, t) {
|
|
1305
1324
|
const r = _e(e), n = _e(t);
|
|
1306
1325
|
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
1307
1326
|
}
|
|
1308
|
-
function
|
|
1327
|
+
function Gr(e, t) {
|
|
1309
1328
|
return e = Q(e), t = We(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Be(e);
|
|
1310
1329
|
}
|
|
1311
1330
|
function he(e, t, r) {
|
|
1312
1331
|
try {
|
|
1313
|
-
return
|
|
1332
|
+
return Gr(e, t);
|
|
1314
1333
|
} catch {
|
|
1315
1334
|
return e;
|
|
1316
1335
|
}
|
|
@@ -1323,7 +1342,7 @@ function Ve(e, t) {
|
|
|
1323
1342
|
e.values[r] *= 1 - t;
|
|
1324
1343
|
return Be(e);
|
|
1325
1344
|
}
|
|
1326
|
-
function
|
|
1345
|
+
function v(e, t, r) {
|
|
1327
1346
|
try {
|
|
1328
1347
|
return Ve(e, t);
|
|
1329
1348
|
} catch {
|
|
@@ -1341,24 +1360,24 @@ function Ke(e, t) {
|
|
|
1341
1360
|
e.values[r] += (1 - e.values[r]) * t;
|
|
1342
1361
|
return Be(e);
|
|
1343
1362
|
}
|
|
1344
|
-
function
|
|
1363
|
+
function k(e, t, r) {
|
|
1345
1364
|
try {
|
|
1346
1365
|
return Ke(e, t);
|
|
1347
1366
|
} catch {
|
|
1348
1367
|
return e;
|
|
1349
1368
|
}
|
|
1350
1369
|
}
|
|
1351
|
-
function
|
|
1370
|
+
function Nr(e, t = 0.15) {
|
|
1352
1371
|
return _e(e) > 0.5 ? Ve(e, t) : Ke(e, t);
|
|
1353
1372
|
}
|
|
1354
1373
|
function ye(e, t, r) {
|
|
1355
1374
|
try {
|
|
1356
|
-
return
|
|
1375
|
+
return Nr(e, t);
|
|
1357
1376
|
} catch {
|
|
1358
1377
|
return e;
|
|
1359
1378
|
}
|
|
1360
1379
|
}
|
|
1361
|
-
function
|
|
1380
|
+
function Hr(e, t, r = void 0) {
|
|
1362
1381
|
const n = {};
|
|
1363
1382
|
for (const o in e) {
|
|
1364
1383
|
const a = e[o];
|
|
@@ -1371,8 +1390,8 @@ function Nr(e, t, r = void 0) {
|
|
|
1371
1390
|
}
|
|
1372
1391
|
return n;
|
|
1373
1392
|
}
|
|
1374
|
-
const
|
|
1375
|
-
function
|
|
1393
|
+
const Yr = /* @__PURE__ */ G.createContext(void 0);
|
|
1394
|
+
function Ur(e) {
|
|
1376
1395
|
const {
|
|
1377
1396
|
theme: t,
|
|
1378
1397
|
name: r,
|
|
@@ -1383,12 +1402,12 @@ function Yr(e) {
|
|
|
1383
1402
|
const o = t.components[r];
|
|
1384
1403
|
return o.defaultProps ? Ye(o.defaultProps, n) : !o.styleOverrides && !o.variants ? Ye(o, n) : n;
|
|
1385
1404
|
}
|
|
1386
|
-
function
|
|
1405
|
+
function Qr({
|
|
1387
1406
|
props: e,
|
|
1388
1407
|
name: t
|
|
1389
1408
|
}) {
|
|
1390
|
-
const r =
|
|
1391
|
-
return
|
|
1409
|
+
const r = G.useContext(Yr);
|
|
1410
|
+
return Ur({
|
|
1392
1411
|
props: e,
|
|
1393
1412
|
name: t,
|
|
1394
1413
|
theme: {
|
|
@@ -1399,7 +1418,7 @@ function Ur({
|
|
|
1399
1418
|
const rt = {
|
|
1400
1419
|
theme: void 0
|
|
1401
1420
|
};
|
|
1402
|
-
function
|
|
1421
|
+
function qr(e) {
|
|
1403
1422
|
let t, r;
|
|
1404
1423
|
return function(o) {
|
|
1405
1424
|
let a = t;
|
|
@@ -1420,27 +1439,27 @@ const nt = (e, t, r, n = []) => {
|
|
|
1420
1439
|
t.forEach((a, s) => {
|
|
1421
1440
|
s === t.length - 1 ? Array.isArray(o) ? o[Number(a)] = r : o && typeof o == "object" && (o[a] = r) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
|
|
1422
1441
|
});
|
|
1423
|
-
},
|
|
1442
|
+
}, Jr = (e, t, r) => {
|
|
1424
1443
|
function n(o, a = [], s = []) {
|
|
1425
1444
|
Object.entries(o).forEach(([l, f]) => {
|
|
1426
1445
|
(!r || r && !r([...a, l])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, l], Array.isArray(f) ? [...s, l] : s) : t([...a, l], f, s));
|
|
1427
1446
|
});
|
|
1428
1447
|
}
|
|
1429
1448
|
n(e);
|
|
1430
|
-
},
|
|
1431
|
-
function
|
|
1449
|
+
}, Zr = (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;
|
|
1450
|
+
function Oe(e, t) {
|
|
1432
1451
|
const {
|
|
1433
1452
|
prefix: r,
|
|
1434
1453
|
shouldSkipGeneratingVar: n
|
|
1435
1454
|
} = t || {}, o = {}, a = {}, s = {};
|
|
1436
|
-
return
|
|
1455
|
+
return Jr(
|
|
1437
1456
|
e,
|
|
1438
1457
|
(l, f, d) => {
|
|
1439
1458
|
if ((typeof f == "string" || typeof f == "number") && (!n || !n(l, f))) {
|
|
1440
|
-
const h = `--${r ? `${r}-` : ""}${l.join("-")}`,
|
|
1459
|
+
const h = `--${r ? `${r}-` : ""}${l.join("-")}`, g = Zr(l, f);
|
|
1441
1460
|
Object.assign(o, {
|
|
1442
|
-
[h]:
|
|
1443
|
-
}), nt(a, l, `var(${h})`, d), nt(s, l, `var(${h}, ${
|
|
1461
|
+
[h]: g
|
|
1462
|
+
}), nt(a, l, `var(${h})`, d), nt(s, l, `var(${h}, ${g})`, d);
|
|
1444
1463
|
}
|
|
1445
1464
|
},
|
|
1446
1465
|
(l) => l[0] === "vars"
|
|
@@ -1451,7 +1470,7 @@ function Re(e, t) {
|
|
|
1451
1470
|
varsWithDefaults: s
|
|
1452
1471
|
};
|
|
1453
1472
|
}
|
|
1454
|
-
function
|
|
1473
|
+
function en(e, t = {}) {
|
|
1455
1474
|
const {
|
|
1456
1475
|
getSelector: r = $,
|
|
1457
1476
|
disableCssColorScheme: n,
|
|
@@ -1464,11 +1483,11 @@ function Zr(e, t = {}) {
|
|
|
1464
1483
|
} = e, {
|
|
1465
1484
|
vars: d,
|
|
1466
1485
|
css: h,
|
|
1467
|
-
varsWithDefaults:
|
|
1468
|
-
} =
|
|
1469
|
-
let m =
|
|
1486
|
+
varsWithDefaults: g
|
|
1487
|
+
} = Oe(f, t);
|
|
1488
|
+
let m = g;
|
|
1470
1489
|
const b = {}, {
|
|
1471
|
-
[l]:
|
|
1490
|
+
[l]: p,
|
|
1472
1491
|
...u
|
|
1473
1492
|
} = a;
|
|
1474
1493
|
if (Object.entries(u || {}).forEach(([w, S]) => {
|
|
@@ -1476,17 +1495,17 @@ function Zr(e, t = {}) {
|
|
|
1476
1495
|
vars: _,
|
|
1477
1496
|
css: B,
|
|
1478
1497
|
varsWithDefaults: P
|
|
1479
|
-
} =
|
|
1498
|
+
} = Oe(S, t);
|
|
1480
1499
|
m = j(m, P), b[w] = {
|
|
1481
1500
|
css: B,
|
|
1482
1501
|
vars: _
|
|
1483
1502
|
};
|
|
1484
|
-
}),
|
|
1503
|
+
}), p) {
|
|
1485
1504
|
const {
|
|
1486
1505
|
css: w,
|
|
1487
1506
|
vars: S,
|
|
1488
1507
|
varsWithDefaults: _
|
|
1489
|
-
} =
|
|
1508
|
+
} = Oe(p, t);
|
|
1490
1509
|
m = j(m, _), b[l] = {
|
|
1491
1510
|
css: w,
|
|
1492
1511
|
vars: S
|
|
@@ -1520,7 +1539,7 @@ function Zr(e, t = {}) {
|
|
|
1520
1539
|
}), w;
|
|
1521
1540
|
},
|
|
1522
1541
|
generateStyleSheets: () => {
|
|
1523
|
-
var
|
|
1542
|
+
var z, F;
|
|
1524
1543
|
const w = [], S = e.defaultColorScheme || "light";
|
|
1525
1544
|
function _(i, y) {
|
|
1526
1545
|
Object.keys(y).length && w.push(typeof i == "string" ? {
|
|
@@ -1539,7 +1558,7 @@ function Zr(e, t = {}) {
|
|
|
1539
1558
|
if (B) {
|
|
1540
1559
|
const {
|
|
1541
1560
|
css: i
|
|
1542
|
-
} = B, y = (F = (
|
|
1561
|
+
} = B, y = (F = (z = a[S]) == null ? void 0 : z.palette) == null ? void 0 : F.mode, C = !n && y ? {
|
|
1543
1562
|
colorScheme: y,
|
|
1544
1563
|
...i
|
|
1545
1564
|
} : {
|
|
@@ -1566,7 +1585,7 @@ function Zr(e, t = {}) {
|
|
|
1566
1585
|
}
|
|
1567
1586
|
};
|
|
1568
1587
|
}
|
|
1569
|
-
function
|
|
1588
|
+
function tn(e) {
|
|
1570
1589
|
return function(r) {
|
|
1571
1590
|
return e === "media" ? `@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)} &` : "&";
|
|
1572
1591
|
};
|
|
@@ -1611,7 +1630,7 @@ function St() {
|
|
|
1611
1630
|
}
|
|
1612
1631
|
};
|
|
1613
1632
|
}
|
|
1614
|
-
const
|
|
1633
|
+
const rn = St();
|
|
1615
1634
|
function Ct() {
|
|
1616
1635
|
return {
|
|
1617
1636
|
text: {
|
|
@@ -1645,7 +1664,7 @@ function it(e, t, r, n) {
|
|
|
1645
1664
|
const o = n.light || n, a = n.dark || n * 1.5;
|
|
1646
1665
|
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Ke(e.main, o) : t === "dark" && (e.dark = Ve(e.main, a)));
|
|
1647
1666
|
}
|
|
1648
|
-
function
|
|
1667
|
+
function nn(e = "light") {
|
|
1649
1668
|
return e === "dark" ? {
|
|
1650
1669
|
main: te[200],
|
|
1651
1670
|
light: te[50],
|
|
@@ -1656,7 +1675,7 @@ function rn(e = "light") {
|
|
|
1656
1675
|
dark: te[800]
|
|
1657
1676
|
};
|
|
1658
1677
|
}
|
|
1659
|
-
function
|
|
1678
|
+
function on(e = "light") {
|
|
1660
1679
|
return e === "dark" ? {
|
|
1661
1680
|
main: ee[200],
|
|
1662
1681
|
light: ee[50],
|
|
@@ -1667,7 +1686,7 @@ function nn(e = "light") {
|
|
|
1667
1686
|
dark: ee[700]
|
|
1668
1687
|
};
|
|
1669
1688
|
}
|
|
1670
|
-
function
|
|
1689
|
+
function an(e = "light") {
|
|
1671
1690
|
return e === "dark" ? {
|
|
1672
1691
|
main: Z[500],
|
|
1673
1692
|
light: Z[300],
|
|
@@ -1678,7 +1697,7 @@ function on(e = "light") {
|
|
|
1678
1697
|
dark: Z[800]
|
|
1679
1698
|
};
|
|
1680
1699
|
}
|
|
1681
|
-
function
|
|
1700
|
+
function sn(e = "light") {
|
|
1682
1701
|
return e === "dark" ? {
|
|
1683
1702
|
main: re[400],
|
|
1684
1703
|
light: re[300],
|
|
@@ -1689,7 +1708,7 @@ function an(e = "light") {
|
|
|
1689
1708
|
dark: re[900]
|
|
1690
1709
|
};
|
|
1691
1710
|
}
|
|
1692
|
-
function
|
|
1711
|
+
function ln(e = "light") {
|
|
1693
1712
|
return e === "dark" ? {
|
|
1694
1713
|
main: ne[400],
|
|
1695
1714
|
light: ne[300],
|
|
@@ -1700,7 +1719,7 @@ function sn(e = "light") {
|
|
|
1700
1719
|
dark: ne[900]
|
|
1701
1720
|
};
|
|
1702
1721
|
}
|
|
1703
|
-
function
|
|
1722
|
+
function cn(e = "light") {
|
|
1704
1723
|
return e === "dark" ? {
|
|
1705
1724
|
main: ce[400],
|
|
1706
1725
|
light: ce[300],
|
|
@@ -1718,24 +1737,24 @@ function Ge(e) {
|
|
|
1718
1737
|
contrastThreshold: r = 3,
|
|
1719
1738
|
tonalOffset: n = 0.2,
|
|
1720
1739
|
...o
|
|
1721
|
-
} = e, a = e.primary ||
|
|
1722
|
-
function
|
|
1723
|
-
return
|
|
1740
|
+
} = e, a = e.primary || nn(t), s = e.secondary || on(t), l = e.error || an(t), f = e.info || sn(t), d = e.success || ln(t), h = e.warning || cn(t);
|
|
1741
|
+
function g(u) {
|
|
1742
|
+
return Kr(u, ot.text.primary) >= r ? ot.text.primary : rn.text.primary;
|
|
1724
1743
|
}
|
|
1725
1744
|
const m = ({
|
|
1726
1745
|
color: u,
|
|
1727
1746
|
name: $,
|
|
1728
|
-
mainShade:
|
|
1729
|
-
lightShade:
|
|
1747
|
+
mainShade: O = 500,
|
|
1748
|
+
lightShade: D = 300,
|
|
1730
1749
|
darkShade: w = 700
|
|
1731
1750
|
}) => {
|
|
1732
1751
|
if (u = {
|
|
1733
1752
|
...u
|
|
1734
|
-
}, !u.main && u[
|
|
1735
|
-
throw new Error(J(11, $ ? ` (${$})` : "",
|
|
1753
|
+
}, !u.main && u[O] && (u.main = u[O]), !u.hasOwnProperty("main"))
|
|
1754
|
+
throw new Error(J(11, $ ? ` (${$})` : "", O));
|
|
1736
1755
|
if (typeof u.main != "string")
|
|
1737
1756
|
throw new Error(J(12, $ ? ` (${$})` : "", JSON.stringify(u.main)));
|
|
1738
|
-
return it(u, "light",
|
|
1757
|
+
return it(u, "light", D, n), it(u, "dark", w, n), u.contrastText || (u.contrastText = g(u.main)), u;
|
|
1739
1758
|
};
|
|
1740
1759
|
let b;
|
|
1741
1760
|
return t === "light" ? b = St() : t === "dark" && (b = Ct()), j({
|
|
@@ -1785,7 +1804,7 @@ function Ge(e) {
|
|
|
1785
1804
|
// the background and the text.
|
|
1786
1805
|
contrastThreshold: r,
|
|
1787
1806
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
1788
|
-
getContrastText:
|
|
1807
|
+
getContrastText: g,
|
|
1789
1808
|
// Generate a rich color object.
|
|
1790
1809
|
augmentColor: m,
|
|
1791
1810
|
// Used by the functions below to shift a color's luminance by approximately
|
|
@@ -1796,14 +1815,14 @@ function Ge(e) {
|
|
|
1796
1815
|
...b
|
|
1797
1816
|
}, o);
|
|
1798
1817
|
}
|
|
1799
|
-
function
|
|
1818
|
+
function un(e) {
|
|
1800
1819
|
const t = {};
|
|
1801
1820
|
return Object.entries(e).forEach((n) => {
|
|
1802
1821
|
const [o, a] = n;
|
|
1803
1822
|
typeof a == "object" && (t[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
|
|
1804
1823
|
}), t;
|
|
1805
1824
|
}
|
|
1806
|
-
function
|
|
1825
|
+
function fn(e, t) {
|
|
1807
1826
|
return {
|
|
1808
1827
|
toolbar: {
|
|
1809
1828
|
minHeight: 56,
|
|
@@ -1819,13 +1838,13 @@ function un(e, t) {
|
|
|
1819
1838
|
...t
|
|
1820
1839
|
};
|
|
1821
1840
|
}
|
|
1822
|
-
function
|
|
1841
|
+
function dn(e) {
|
|
1823
1842
|
return Math.round(e * 1e5) / 1e5;
|
|
1824
1843
|
}
|
|
1825
1844
|
const at = {
|
|
1826
1845
|
textTransform: "uppercase"
|
|
1827
1846
|
}, st = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
1828
|
-
function
|
|
1847
|
+
function mn(e, t) {
|
|
1829
1848
|
const {
|
|
1830
1849
|
fontFamily: r = st,
|
|
1831
1850
|
// The default font size of the Material Specification.
|
|
@@ -1841,34 +1860,34 @@ function dn(e, t) {
|
|
|
1841
1860
|
// Apply the CSS properties to all the variants.
|
|
1842
1861
|
allVariants: d,
|
|
1843
1862
|
pxToRem: h,
|
|
1844
|
-
...
|
|
1845
|
-
} = typeof t == "function" ? t(e) : t, m = n / 14, b = h || (($) => `${$ / f * m}rem`),
|
|
1863
|
+
...g
|
|
1864
|
+
} = typeof t == "function" ? t(e) : t, m = n / 14, b = h || (($) => `${$ / f * m}rem`), p = ($, O, D, w, S) => ({
|
|
1846
1865
|
fontFamily: r,
|
|
1847
1866
|
fontWeight: $,
|
|
1848
|
-
fontSize: b(
|
|
1867
|
+
fontSize: b(O),
|
|
1849
1868
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
1850
|
-
lineHeight:
|
|
1869
|
+
lineHeight: D,
|
|
1851
1870
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
1852
1871
|
// across font-families can cause issues with the kerning.
|
|
1853
1872
|
...r === st ? {
|
|
1854
|
-
letterSpacing: `${
|
|
1873
|
+
letterSpacing: `${dn(w / O)}em`
|
|
1855
1874
|
} : {},
|
|
1856
1875
|
...S,
|
|
1857
1876
|
...d
|
|
1858
1877
|
}), u = {
|
|
1859
|
-
h1:
|
|
1860
|
-
h2:
|
|
1861
|
-
h3:
|
|
1862
|
-
h4:
|
|
1863
|
-
h5:
|
|
1864
|
-
h6:
|
|
1865
|
-
subtitle1:
|
|
1866
|
-
subtitle2:
|
|
1867
|
-
body1:
|
|
1868
|
-
body2:
|
|
1869
|
-
button:
|
|
1870
|
-
caption:
|
|
1871
|
-
overline:
|
|
1878
|
+
h1: p(o, 96, 1.167, -1.5),
|
|
1879
|
+
h2: p(o, 60, 1.2, -0.5),
|
|
1880
|
+
h3: p(a, 48, 1.167, 0),
|
|
1881
|
+
h4: p(a, 34, 1.235, 0.25),
|
|
1882
|
+
h5: p(a, 24, 1.334, 0),
|
|
1883
|
+
h6: p(s, 20, 1.6, 0.15),
|
|
1884
|
+
subtitle1: p(a, 16, 1.75, 0.15),
|
|
1885
|
+
subtitle2: p(s, 14, 1.57, 0.1),
|
|
1886
|
+
body1: p(a, 16, 1.5, 0.15),
|
|
1887
|
+
body2: p(a, 14, 1.43, 0.15),
|
|
1888
|
+
button: p(s, 14, 1.75, 0.4, at),
|
|
1889
|
+
caption: p(a, 12, 1.66, 0.4),
|
|
1890
|
+
overline: p(a, 12, 2.66, 1, at),
|
|
1872
1891
|
// 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.
|
|
1873
1892
|
inherit: {
|
|
1874
1893
|
fontFamily: "inherit",
|
|
@@ -1888,16 +1907,16 @@ function dn(e, t) {
|
|
|
1888
1907
|
fontWeightMedium: s,
|
|
1889
1908
|
fontWeightBold: l,
|
|
1890
1909
|
...u
|
|
1891
|
-
},
|
|
1910
|
+
}, g, {
|
|
1892
1911
|
clone: !1
|
|
1893
1912
|
// No need to clone deep
|
|
1894
1913
|
});
|
|
1895
1914
|
}
|
|
1896
|
-
const
|
|
1915
|
+
const gn = 0.2, pn = 0.14, hn = 0.12;
|
|
1897
1916
|
function A(...e) {
|
|
1898
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
1917
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${gn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${pn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${hn})`].join(",");
|
|
1899
1918
|
}
|
|
1900
|
-
const
|
|
1919
|
+
const yn = ["none", A(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), A(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), A(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), A(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), A(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), A(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), A(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), A(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), A(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), A(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), A(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), A(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), A(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), A(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), A(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), A(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), A(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), A(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), A(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), A(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), A(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), A(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), A(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), A(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], bn = {
|
|
1901
1920
|
// This is the most common easing curve.
|
|
1902
1921
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1903
1922
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -1907,7 +1926,7 @@ const hn = ["none", A(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), A(0, 3, 1, -2, 0, 2,
|
|
|
1907
1926
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
1908
1927
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
1909
1928
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
1910
|
-
},
|
|
1929
|
+
}, Sn = {
|
|
1911
1930
|
shortest: 150,
|
|
1912
1931
|
shorter: 200,
|
|
1913
1932
|
short: 250,
|
|
@@ -1923,22 +1942,22 @@ const hn = ["none", A(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), A(0, 3, 1, -2, 0, 2,
|
|
|
1923
1942
|
function lt(e) {
|
|
1924
1943
|
return `${Math.round(e)}ms`;
|
|
1925
1944
|
}
|
|
1926
|
-
function
|
|
1945
|
+
function Cn(e) {
|
|
1927
1946
|
if (!e)
|
|
1928
1947
|
return 0;
|
|
1929
1948
|
const t = e / 36;
|
|
1930
1949
|
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
1931
1950
|
}
|
|
1932
|
-
function
|
|
1951
|
+
function wn(e) {
|
|
1933
1952
|
const t = {
|
|
1934
|
-
...
|
|
1953
|
+
...bn,
|
|
1935
1954
|
...e.easing
|
|
1936
1955
|
}, r = {
|
|
1937
|
-
...
|
|
1956
|
+
...Sn,
|
|
1938
1957
|
...e.duration
|
|
1939
1958
|
};
|
|
1940
1959
|
return {
|
|
1941
|
-
getAutoHeightDuration:
|
|
1960
|
+
getAutoHeightDuration: Cn,
|
|
1942
1961
|
create: (o = ["all"], a = {}) => {
|
|
1943
1962
|
const {
|
|
1944
1963
|
duration: s = r.standard,
|
|
@@ -1953,7 +1972,7 @@ function Cn(e) {
|
|
|
1953
1972
|
duration: r
|
|
1954
1973
|
};
|
|
1955
1974
|
}
|
|
1956
|
-
const
|
|
1975
|
+
const xn = {
|
|
1957
1976
|
mobileStepper: 1e3,
|
|
1958
1977
|
fab: 1050,
|
|
1959
1978
|
speedDial: 1050,
|
|
@@ -1963,8 +1982,8 @@ const wn = {
|
|
|
1963
1982
|
snackbar: 1400,
|
|
1964
1983
|
tooltip: 1500
|
|
1965
1984
|
};
|
|
1966
|
-
function
|
|
1967
|
-
return
|
|
1985
|
+
function Tn(e) {
|
|
1986
|
+
return Y(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
1968
1987
|
}
|
|
1969
1988
|
function wt(e = {}) {
|
|
1970
1989
|
const t = {
|
|
@@ -1974,7 +1993,7 @@ function wt(e = {}) {
|
|
|
1974
1993
|
const o = Object.entries(n);
|
|
1975
1994
|
for (let a = 0; a < o.length; a++) {
|
|
1976
1995
|
const [s, l] = o[a];
|
|
1977
|
-
!
|
|
1996
|
+
!Tn(l) || s.startsWith("unstable_") ? delete n[s] : Y(l) && (n[s] = {
|
|
1978
1997
|
...l
|
|
1979
1998
|
}, r(n[s]));
|
|
1980
1999
|
}
|
|
@@ -2003,36 +2022,36 @@ function Fe(e = {}, ...t) {
|
|
|
2003
2022
|
// `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.
|
|
2004
2023
|
e.generateThemeVars === void 0)
|
|
2005
2024
|
throw new Error(J(20));
|
|
2006
|
-
const h = Ge(a),
|
|
2007
|
-
let m = j(
|
|
2008
|
-
mixins:
|
|
2025
|
+
const h = Ge(a), g = gt(e);
|
|
2026
|
+
let m = j(g, {
|
|
2027
|
+
mixins: fn(g.breakpoints, n),
|
|
2009
2028
|
palette: h,
|
|
2010
2029
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2011
|
-
shadows:
|
|
2012
|
-
typography:
|
|
2013
|
-
transitions:
|
|
2030
|
+
shadows: yn.slice(),
|
|
2031
|
+
typography: mn(h, l),
|
|
2032
|
+
transitions: wn(s),
|
|
2014
2033
|
zIndex: {
|
|
2015
|
-
...
|
|
2034
|
+
...xn
|
|
2016
2035
|
}
|
|
2017
2036
|
});
|
|
2018
|
-
return m = j(m, d), m = t.reduce((b,
|
|
2037
|
+
return m = j(m, d), m = t.reduce((b, p) => j(b, p), m), m.unstable_sxConfig = {
|
|
2019
2038
|
...Ae,
|
|
2020
2039
|
...d == null ? void 0 : d.unstable_sxConfig
|
|
2021
|
-
}, m.unstable_sx = function(
|
|
2040
|
+
}, m.unstable_sx = function(p) {
|
|
2022
2041
|
return ae({
|
|
2023
|
-
sx:
|
|
2042
|
+
sx: p,
|
|
2024
2043
|
theme: this
|
|
2025
2044
|
});
|
|
2026
2045
|
}, m.toRuntimeSource = wt, m;
|
|
2027
2046
|
}
|
|
2028
|
-
function
|
|
2047
|
+
function $n(e) {
|
|
2029
2048
|
let t;
|
|
2030
2049
|
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2031
2050
|
}
|
|
2032
|
-
const
|
|
2051
|
+
const vn = [...Array(25)].map((e, t) => {
|
|
2033
2052
|
if (t === 0)
|
|
2034
2053
|
return "none";
|
|
2035
|
-
const r =
|
|
2054
|
+
const r = $n(t);
|
|
2036
2055
|
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
2037
2056
|
});
|
|
2038
2057
|
function xt(e) {
|
|
@@ -2044,7 +2063,7 @@ function xt(e) {
|
|
|
2044
2063
|
};
|
|
2045
2064
|
}
|
|
2046
2065
|
function Tt(e) {
|
|
2047
|
-
return e === "dark" ?
|
|
2066
|
+
return e === "dark" ? vn : [];
|
|
2048
2067
|
}
|
|
2049
2068
|
function kn(e) {
|
|
2050
2069
|
const {
|
|
@@ -2066,18 +2085,18 @@ function kn(e) {
|
|
|
2066
2085
|
...o
|
|
2067
2086
|
};
|
|
2068
2087
|
}
|
|
2069
|
-
function
|
|
2088
|
+
function An(e) {
|
|
2070
2089
|
var t;
|
|
2071
2090
|
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2072
2091
|
e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2073
2092
|
}
|
|
2074
|
-
const
|
|
2093
|
+
const Bn = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], En = (e) => (t, r) => {
|
|
2075
2094
|
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2076
2095
|
let a = o;
|
|
2077
2096
|
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
2078
2097
|
if (t === "dark") {
|
|
2079
2098
|
const s = {};
|
|
2080
|
-
return
|
|
2099
|
+
return Bn(e.cssVarPrefix).forEach((l) => {
|
|
2081
2100
|
s[l] = r[l], delete r[l];
|
|
2082
2101
|
}), a === "media" ? {
|
|
2083
2102
|
[n]: r,
|
|
@@ -2108,7 +2127,7 @@ const An = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlay
|
|
|
2108
2127
|
}
|
|
2109
2128
|
return n;
|
|
2110
2129
|
};
|
|
2111
|
-
function
|
|
2130
|
+
function Rn(e, t) {
|
|
2112
2131
|
t.forEach((r) => {
|
|
2113
2132
|
e[r] || (e[r] = {});
|
|
2114
2133
|
});
|
|
@@ -2119,18 +2138,18 @@ function c(e, t, r) {
|
|
|
2119
2138
|
function fe(e) {
|
|
2120
2139
|
return typeof e != "string" || !e.startsWith("hsl") ? e : bt(e);
|
|
2121
2140
|
}
|
|
2122
|
-
function
|
|
2141
|
+
function H(e, t) {
|
|
2123
2142
|
`${t}Channel` in e || (e[`${t}Channel`] = ue(fe(e[t])));
|
|
2124
2143
|
}
|
|
2125
2144
|
function On(e) {
|
|
2126
2145
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2127
2146
|
}
|
|
2128
|
-
const
|
|
2147
|
+
const N = (e) => {
|
|
2129
2148
|
try {
|
|
2130
2149
|
return e();
|
|
2131
2150
|
} catch {
|
|
2132
2151
|
}
|
|
2133
|
-
},
|
|
2152
|
+
}, Pn = (e = "mui") => Xr(e);
|
|
2134
2153
|
function Pe(e, t, r, n) {
|
|
2135
2154
|
if (!t)
|
|
2136
2155
|
return;
|
|
@@ -2166,7 +2185,7 @@ function Pe(e, t, r, n) {
|
|
|
2166
2185
|
overlays: (t == null ? void 0 : t.overlays) || Tt(o)
|
|
2167
2186
|
}, s;
|
|
2168
2187
|
}
|
|
2169
|
-
function
|
|
2188
|
+
function In(e = {}, ...t) {
|
|
2170
2189
|
const {
|
|
2171
2190
|
colorSchemes: r = {
|
|
2172
2191
|
light: !0
|
|
@@ -2174,33 +2193,33 @@ function Pn(e = {}, ...t) {
|
|
|
2174
2193
|
defaultColorScheme: n,
|
|
2175
2194
|
disableCssColorScheme: o = !1,
|
|
2176
2195
|
cssVarPrefix: a = "mui",
|
|
2177
|
-
shouldSkipGeneratingVar: s =
|
|
2196
|
+
shouldSkipGeneratingVar: s = An,
|
|
2178
2197
|
colorSchemeSelector: l = r.light && r.dark ? "media" : void 0,
|
|
2179
2198
|
rootSelector: f = ":root",
|
|
2180
2199
|
...d
|
|
2181
|
-
} = e, h = Object.keys(r)[0],
|
|
2182
|
-
[
|
|
2183
|
-
light:
|
|
2200
|
+
} = e, h = Object.keys(r)[0], g = n || (r.light && h !== "light" ? "light" : h), m = Pn(a), {
|
|
2201
|
+
[g]: b,
|
|
2202
|
+
light: p,
|
|
2184
2203
|
dark: u,
|
|
2185
2204
|
...$
|
|
2186
|
-
} = r,
|
|
2205
|
+
} = r, O = {
|
|
2187
2206
|
...$
|
|
2188
2207
|
};
|
|
2189
|
-
let
|
|
2190
|
-
if ((
|
|
2191
|
-
throw new Error(J(21,
|
|
2192
|
-
const w = Pe(
|
|
2193
|
-
|
|
2208
|
+
let D = b;
|
|
2209
|
+
if ((g === "dark" && !("dark" in r) || g === "light" && !("light" in r)) && (D = !0), !D)
|
|
2210
|
+
throw new Error(J(21, g));
|
|
2211
|
+
const w = Pe(O, D, d, g);
|
|
2212
|
+
p && !O.light && Pe(O, p, void 0, "light"), u && !O.dark && Pe(O, u, void 0, "dark");
|
|
2194
2213
|
let S = {
|
|
2195
|
-
defaultColorScheme:
|
|
2214
|
+
defaultColorScheme: g,
|
|
2196
2215
|
...w,
|
|
2197
2216
|
cssVarPrefix: a,
|
|
2198
2217
|
colorSchemeSelector: l,
|
|
2199
2218
|
rootSelector: f,
|
|
2200
2219
|
getCssVar: m,
|
|
2201
|
-
colorSchemes:
|
|
2220
|
+
colorSchemes: O,
|
|
2202
2221
|
font: {
|
|
2203
|
-
...
|
|
2222
|
+
...un(w.typography),
|
|
2204
2223
|
...w.font
|
|
2205
2224
|
},
|
|
2206
2225
|
spacing: On(d.spacing)
|
|
@@ -2210,36 +2229,36 @@ function Pn(e = {}, ...t) {
|
|
|
2210
2229
|
const x = C.split("-"), W = x[1], L = x[2];
|
|
2211
2230
|
return m(C, i[W][L]);
|
|
2212
2231
|
};
|
|
2213
|
-
if (i.mode === "light" && (c(i.common, "background", "#fff"), c(i.common, "onBackground", "#000")), i.mode === "dark" && (c(i.common, "background", "#000"), c(i.common, "onBackground", "#fff")),
|
|
2214
|
-
c(i.Alert, "errorColor",
|
|
2232
|
+
if (i.mode === "light" && (c(i.common, "background", "#fff"), c(i.common, "onBackground", "#000")), i.mode === "dark" && (c(i.common, "background", "#000"), c(i.common, "onBackground", "#fff")), Rn(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
2233
|
+
c(i.Alert, "errorColor", v(i.error.light, 0.6)), c(i.Alert, "infoColor", v(i.info.light, 0.6)), c(i.Alert, "successColor", v(i.success.light, 0.6)), c(i.Alert, "warningColor", v(i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", y("palette-error-main")), c(i.Alert, "infoFilledBg", y("palette-info-main")), c(i.Alert, "successFilledBg", y("palette-success-main")), c(i.Alert, "warningFilledBg", y("palette-warning-main")), c(i.Alert, "errorFilledColor", N(() => i.getContrastText(i.error.main))), c(i.Alert, "infoFilledColor", N(() => i.getContrastText(i.info.main))), c(i.Alert, "successFilledColor", N(() => i.getContrastText(i.success.main))), c(i.Alert, "warningFilledColor", N(() => i.getContrastText(i.warning.main))), c(i.Alert, "errorStandardBg", k(i.error.light, 0.9)), c(i.Alert, "infoStandardBg", k(i.info.light, 0.9)), c(i.Alert, "successStandardBg", k(i.success.light, 0.9)), c(i.Alert, "warningStandardBg", k(i.warning.light, 0.9)), c(i.Alert, "errorIconColor", y("palette-error-main")), c(i.Alert, "infoIconColor", y("palette-info-main")), c(i.Alert, "successIconColor", y("palette-success-main")), c(i.Alert, "warningIconColor", y("palette-warning-main")), c(i.AppBar, "defaultBg", y("palette-grey-100")), c(i.Avatar, "defaultBg", y("palette-grey-400")), c(i.Button, "inheritContainedBg", y("palette-grey-300")), c(i.Button, "inheritContainedHoverBg", y("palette-grey-A100")), c(i.Chip, "defaultBorder", y("palette-grey-400")), c(i.Chip, "defaultAvatarColor", y("palette-grey-700")), c(i.Chip, "defaultIconColor", y("palette-grey-700")), c(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), c(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), c(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), c(i.LinearProgress, "primaryBg", k(i.primary.main, 0.62)), c(i.LinearProgress, "secondaryBg", k(i.secondary.main, 0.62)), c(i.LinearProgress, "errorBg", k(i.error.main, 0.62)), c(i.LinearProgress, "infoBg", k(i.info.main, 0.62)), c(i.LinearProgress, "successBg", k(i.success.main, 0.62)), c(i.LinearProgress, "warningBg", k(i.warning.main, 0.62)), c(i.Skeleton, "bg", `rgba(${y("palette-text-primaryChannel")} / 0.11)`), c(i.Slider, "primaryTrack", k(i.primary.main, 0.62)), c(i.Slider, "secondaryTrack", k(i.secondary.main, 0.62)), c(i.Slider, "errorTrack", k(i.error.main, 0.62)), c(i.Slider, "infoTrack", k(i.info.main, 0.62)), c(i.Slider, "successTrack", k(i.success.main, 0.62)), c(i.Slider, "warningTrack", k(i.warning.main, 0.62));
|
|
2215
2234
|
const C = ye(i.background.default, 0.8);
|
|
2216
|
-
c(i.SnackbarContent, "bg", C), c(i.SnackbarContent, "color",
|
|
2235
|
+
c(i.SnackbarContent, "bg", C), c(i.SnackbarContent, "color", N(() => i.getContrastText(C))), c(i.SpeedDialAction, "fabHoverBg", ye(i.background.paper, 0.15)), c(i.StepConnector, "border", y("palette-grey-400")), c(i.StepContent, "border", y("palette-grey-400")), c(i.Switch, "defaultColor", y("palette-common-white")), c(i.Switch, "defaultDisabledColor", y("palette-grey-100")), c(i.Switch, "primaryDisabledColor", k(i.primary.main, 0.62)), c(i.Switch, "secondaryDisabledColor", k(i.secondary.main, 0.62)), c(i.Switch, "errorDisabledColor", k(i.error.main, 0.62)), c(i.Switch, "infoDisabledColor", k(i.info.main, 0.62)), c(i.Switch, "successDisabledColor", k(i.success.main, 0.62)), c(i.Switch, "warningDisabledColor", k(i.warning.main, 0.62)), c(i.TableCell, "border", k(he(i.divider, 1), 0.88)), c(i.Tooltip, "bg", he(i.grey[700], 0.92));
|
|
2217
2236
|
}
|
|
2218
2237
|
if (i.mode === "dark") {
|
|
2219
|
-
c(i.Alert, "errorColor",
|
|
2238
|
+
c(i.Alert, "errorColor", k(i.error.light, 0.6)), c(i.Alert, "infoColor", k(i.info.light, 0.6)), c(i.Alert, "successColor", k(i.success.light, 0.6)), c(i.Alert, "warningColor", k(i.warning.light, 0.6)), c(i.Alert, "errorFilledBg", y("palette-error-dark")), c(i.Alert, "infoFilledBg", y("palette-info-dark")), c(i.Alert, "successFilledBg", y("palette-success-dark")), c(i.Alert, "warningFilledBg", y("palette-warning-dark")), c(i.Alert, "errorFilledColor", N(() => i.getContrastText(i.error.dark))), c(i.Alert, "infoFilledColor", N(() => i.getContrastText(i.info.dark))), c(i.Alert, "successFilledColor", N(() => i.getContrastText(i.success.dark))), c(i.Alert, "warningFilledColor", N(() => i.getContrastText(i.warning.dark))), c(i.Alert, "errorStandardBg", v(i.error.light, 0.9)), c(i.Alert, "infoStandardBg", v(i.info.light, 0.9)), c(i.Alert, "successStandardBg", v(i.success.light, 0.9)), c(i.Alert, "warningStandardBg", v(i.warning.light, 0.9)), c(i.Alert, "errorIconColor", y("palette-error-main")), c(i.Alert, "infoIconColor", y("palette-info-main")), c(i.Alert, "successIconColor", y("palette-success-main")), c(i.Alert, "warningIconColor", y("palette-warning-main")), c(i.AppBar, "defaultBg", y("palette-grey-900")), c(i.AppBar, "darkBg", y("palette-background-paper")), c(i.AppBar, "darkColor", y("palette-text-primary")), c(i.Avatar, "defaultBg", y("palette-grey-600")), c(i.Button, "inheritContainedBg", y("palette-grey-800")), c(i.Button, "inheritContainedHoverBg", y("palette-grey-700")), c(i.Chip, "defaultBorder", y("palette-grey-700")), c(i.Chip, "defaultAvatarColor", y("palette-grey-300")), c(i.Chip, "defaultIconColor", y("palette-grey-300")), c(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), c(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), c(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), c(i.LinearProgress, "primaryBg", v(i.primary.main, 0.5)), c(i.LinearProgress, "secondaryBg", v(i.secondary.main, 0.5)), c(i.LinearProgress, "errorBg", v(i.error.main, 0.5)), c(i.LinearProgress, "infoBg", v(i.info.main, 0.5)), c(i.LinearProgress, "successBg", v(i.success.main, 0.5)), c(i.LinearProgress, "warningBg", v(i.warning.main, 0.5)), c(i.Skeleton, "bg", `rgba(${y("palette-text-primaryChannel")} / 0.13)`), c(i.Slider, "primaryTrack", v(i.primary.main, 0.5)), c(i.Slider, "secondaryTrack", v(i.secondary.main, 0.5)), c(i.Slider, "errorTrack", v(i.error.main, 0.5)), c(i.Slider, "infoTrack", v(i.info.main, 0.5)), c(i.Slider, "successTrack", v(i.success.main, 0.5)), c(i.Slider, "warningTrack", v(i.warning.main, 0.5));
|
|
2220
2239
|
const C = ye(i.background.default, 0.98);
|
|
2221
|
-
c(i.SnackbarContent, "bg", C), c(i.SnackbarContent, "color",
|
|
2240
|
+
c(i.SnackbarContent, "bg", C), c(i.SnackbarContent, "color", N(() => i.getContrastText(C))), c(i.SpeedDialAction, "fabHoverBg", ye(i.background.paper, 0.15)), c(i.StepConnector, "border", y("palette-grey-600")), c(i.StepContent, "border", y("palette-grey-600")), c(i.Switch, "defaultColor", y("palette-grey-300")), c(i.Switch, "defaultDisabledColor", y("palette-grey-600")), c(i.Switch, "primaryDisabledColor", v(i.primary.main, 0.55)), c(i.Switch, "secondaryDisabledColor", v(i.secondary.main, 0.55)), c(i.Switch, "errorDisabledColor", v(i.error.main, 0.55)), c(i.Switch, "infoDisabledColor", v(i.info.main, 0.55)), c(i.Switch, "successDisabledColor", v(i.success.main, 0.55)), c(i.Switch, "warningDisabledColor", v(i.warning.main, 0.55)), c(i.TableCell, "border", v(he(i.divider, 1), 0.68)), c(i.Tooltip, "bg", he(i.grey[700], 0.92));
|
|
2222
2241
|
}
|
|
2223
|
-
|
|
2242
|
+
H(i.background, "default"), H(i.background, "paper"), H(i.common, "background"), H(i.common, "onBackground"), H(i, "divider"), Object.keys(i).forEach((C) => {
|
|
2224
2243
|
const x = i[C];
|
|
2225
|
-
C !== "tonalOffset" && x && typeof x == "object" && (x.main && c(i[C], "mainChannel", ue(fe(x.main))), x.light && c(i[C], "lightChannel", ue(fe(x.light))), x.dark && c(i[C], "darkChannel", ue(fe(x.dark))), x.contrastText && c(i[C], "contrastTextChannel", ue(fe(x.contrastText))), C === "text" && (
|
|
2244
|
+
C !== "tonalOffset" && x && typeof x == "object" && (x.main && c(i[C], "mainChannel", ue(fe(x.main))), x.light && c(i[C], "lightChannel", ue(fe(x.light))), x.dark && c(i[C], "darkChannel", ue(fe(x.dark))), x.contrastText && c(i[C], "contrastTextChannel", ue(fe(x.contrastText))), C === "text" && (H(i[C], "primary"), H(i[C], "secondary")), C === "action" && (x.active && H(i[C], "active"), x.selected && H(i[C], "selected")));
|
|
2226
2245
|
});
|
|
2227
2246
|
}), S = t.reduce((F, i) => j(F, i), S);
|
|
2228
2247
|
const _ = {
|
|
2229
2248
|
prefix: a,
|
|
2230
2249
|
disableCssColorScheme: o,
|
|
2231
2250
|
shouldSkipGeneratingVar: s,
|
|
2232
|
-
getSelector:
|
|
2251
|
+
getSelector: En(S)
|
|
2233
2252
|
}, {
|
|
2234
2253
|
vars: B,
|
|
2235
2254
|
generateThemeVars: P,
|
|
2236
|
-
generateStyleSheets:
|
|
2237
|
-
} =
|
|
2255
|
+
generateStyleSheets: z
|
|
2256
|
+
} = en(S, _);
|
|
2238
2257
|
return S.vars = B, Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([F, i]) => {
|
|
2239
2258
|
S[F] = i;
|
|
2240
|
-
}), S.generateThemeVars = P, S.generateStyleSheets =
|
|
2259
|
+
}), S.generateThemeVars = P, S.generateStyleSheets = z, S.generateSpacing = function() {
|
|
2241
2260
|
return mt(d.spacing, Me(this));
|
|
2242
|
-
}, S.getColorSchemeSelector =
|
|
2261
|
+
}, S.getColorSchemeSelector = tn(l), S.spacing = S.generateSpacing(), S.shouldSkipGeneratingVar = s, S.unstable_sxConfig = {
|
|
2243
2262
|
...Ae,
|
|
2244
2263
|
...d == null ? void 0 : d.unstable_sxConfig
|
|
2245
2264
|
}, S.unstable_sx = function(i) {
|
|
@@ -2259,7 +2278,7 @@ function ct(e, t, r) {
|
|
|
2259
2278
|
// cast type to skip module augmentation test
|
|
2260
2279
|
});
|
|
2261
2280
|
}
|
|
2262
|
-
function
|
|
2281
|
+
function _n(e = {}, ...t) {
|
|
2263
2282
|
const {
|
|
2264
2283
|
palette: r,
|
|
2265
2284
|
cssVariables: n = !1,
|
|
@@ -2284,42 +2303,42 @@ function In(e = {}, ...t) {
|
|
|
2284
2303
|
"palette" in e || d[l] && (d[l] !== !0 ? h = d[l].palette : l === "dark" && (h = {
|
|
2285
2304
|
mode: "dark"
|
|
2286
2305
|
}));
|
|
2287
|
-
const
|
|
2306
|
+
const g = Fe({
|
|
2288
2307
|
...e,
|
|
2289
2308
|
palette: h
|
|
2290
2309
|
}, ...t);
|
|
2291
|
-
return
|
|
2310
|
+
return g.defaultColorScheme = l, g.colorSchemes = d, g.palette.mode === "light" && (g.colorSchemes.light = {
|
|
2292
2311
|
...d.light !== !0 && d.light,
|
|
2293
|
-
palette:
|
|
2294
|
-
}, ct(
|
|
2312
|
+
palette: g.palette
|
|
2313
|
+
}, ct(g, "dark", d.dark)), g.palette.mode === "dark" && (g.colorSchemes.dark = {
|
|
2295
2314
|
...d.dark !== !0 && d.dark,
|
|
2296
|
-
palette:
|
|
2297
|
-
}, ct(
|
|
2315
|
+
palette: g.palette
|
|
2316
|
+
}, ct(g, "light", d.light)), g;
|
|
2298
2317
|
}
|
|
2299
|
-
return !r && !("light" in d) && l === "light" && (d.light = !0),
|
|
2318
|
+
return !r && !("light" in d) && l === "light" && (d.light = !0), In({
|
|
2300
2319
|
...s,
|
|
2301
2320
|
colorSchemes: d,
|
|
2302
2321
|
defaultColorScheme: l,
|
|
2303
2322
|
...typeof n != "boolean" && n
|
|
2304
2323
|
}, ...t);
|
|
2305
2324
|
}
|
|
2306
|
-
const
|
|
2307
|
-
function
|
|
2325
|
+
const Fn = _n();
|
|
2326
|
+
function Ln(e) {
|
|
2308
2327
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
2309
2328
|
}
|
|
2310
|
-
const
|
|
2311
|
-
themeId:
|
|
2312
|
-
defaultTheme:
|
|
2313
|
-
rootShouldForwardProp:
|
|
2314
|
-
}),
|
|
2315
|
-
function Mn(e) {
|
|
2316
|
-
return Ur(e);
|
|
2317
|
-
}
|
|
2329
|
+
const Dn = (e) => Ln(e) && e !== "classes", zn = Fr({
|
|
2330
|
+
themeId: Bt,
|
|
2331
|
+
defaultTheme: Fn,
|
|
2332
|
+
rootShouldForwardProp: Dn
|
|
2333
|
+
}), Mn = qr;
|
|
2318
2334
|
function jn(e) {
|
|
2319
|
-
return
|
|
2335
|
+
return Qr(e);
|
|
2336
|
+
}
|
|
2337
|
+
function Wn(e) {
|
|
2338
|
+
return pt("MuiSvgIcon", e);
|
|
2320
2339
|
}
|
|
2321
2340
|
Or("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
2322
|
-
const
|
|
2341
|
+
const Vn = (e) => {
|
|
2323
2342
|
const {
|
|
2324
2343
|
color: t,
|
|
2325
2344
|
fontSize: r,
|
|
@@ -2327,8 +2346,8 @@ const Wn = (e) => {
|
|
|
2327
2346
|
} = e, o = {
|
|
2328
2347
|
root: ["root", t !== "inherit" && `color${ie(t)}`, `fontSize${ie(r)}`]
|
|
2329
2348
|
};
|
|
2330
|
-
return
|
|
2331
|
-
},
|
|
2349
|
+
return Hr(o, Wn, n);
|
|
2350
|
+
}, Kn = zn("svg", {
|
|
2332
2351
|
name: "MuiSvgIcon",
|
|
2333
2352
|
slot: "Root",
|
|
2334
2353
|
overridesResolver: (e, t) => {
|
|
@@ -2337,10 +2356,10 @@ const Wn = (e) => {
|
|
|
2337
2356
|
} = e;
|
|
2338
2357
|
return [t.root, r.color !== "inherit" && t[`color${ie(r.color)}`], t[`fontSize${ie(r.fontSize)}`]];
|
|
2339
2358
|
}
|
|
2340
|
-
})(
|
|
2359
|
+
})(Mn(({
|
|
2341
2360
|
theme: e
|
|
2342
2361
|
}) => {
|
|
2343
|
-
var t, r, n, o, a, s, l, f, d, h,
|
|
2362
|
+
var t, r, n, o, a, s, l, f, d, h, g, m, b, p;
|
|
2344
2363
|
return {
|
|
2345
2364
|
userSelect: "none",
|
|
2346
2365
|
width: "1em",
|
|
@@ -2393,13 +2412,13 @@ const Wn = (e) => {
|
|
|
2393
2412
|
},
|
|
2394
2413
|
// TODO v5 deprecate color prop, v6 remove for sx
|
|
2395
2414
|
...Object.entries((e.vars ?? e).palette).filter(([, u]) => u && u.main).map(([u]) => {
|
|
2396
|
-
var $,
|
|
2415
|
+
var $, O;
|
|
2397
2416
|
return {
|
|
2398
2417
|
props: {
|
|
2399
2418
|
color: u
|
|
2400
2419
|
},
|
|
2401
2420
|
style: {
|
|
2402
|
-
color: (
|
|
2421
|
+
color: (O = ($ = (e.vars ?? e).palette) == null ? void 0 : $[u]) == null ? void 0 : O.main
|
|
2403
2422
|
}
|
|
2404
2423
|
};
|
|
2405
2424
|
}),
|
|
@@ -2408,7 +2427,7 @@ const Wn = (e) => {
|
|
|
2408
2427
|
color: "action"
|
|
2409
2428
|
},
|
|
2410
2429
|
style: {
|
|
2411
|
-
color: (m = (
|
|
2430
|
+
color: (m = (g = (e.vars ?? e).palette) == null ? void 0 : g.action) == null ? void 0 : m.active
|
|
2412
2431
|
}
|
|
2413
2432
|
},
|
|
2414
2433
|
{
|
|
@@ -2416,7 +2435,7 @@ const Wn = (e) => {
|
|
|
2416
2435
|
color: "disabled"
|
|
2417
2436
|
},
|
|
2418
2437
|
style: {
|
|
2419
|
-
color: (
|
|
2438
|
+
color: (p = (b = (e.vars ?? e).palette) == null ? void 0 : b.action) == null ? void 0 : p.disabled
|
|
2420
2439
|
}
|
|
2421
2440
|
},
|
|
2422
2441
|
{
|
|
@@ -2429,8 +2448,8 @@ const Wn = (e) => {
|
|
|
2429
2448
|
}
|
|
2430
2449
|
]
|
|
2431
2450
|
};
|
|
2432
|
-
})), Le = /* @__PURE__ */
|
|
2433
|
-
const n =
|
|
2451
|
+
})), Le = /* @__PURE__ */ G.forwardRef(function(t, r) {
|
|
2452
|
+
const n = jn({
|
|
2434
2453
|
props: t,
|
|
2435
2454
|
name: "MuiSvgIcon"
|
|
2436
2455
|
}), {
|
|
@@ -2441,10 +2460,10 @@ const Wn = (e) => {
|
|
|
2441
2460
|
fontSize: f = "medium",
|
|
2442
2461
|
htmlColor: d,
|
|
2443
2462
|
inheritViewBox: h = !1,
|
|
2444
|
-
titleAccess:
|
|
2463
|
+
titleAccess: g,
|
|
2445
2464
|
viewBox: m = "0 0 24 24",
|
|
2446
2465
|
...b
|
|
2447
|
-
} = n,
|
|
2466
|
+
} = n, p = /* @__PURE__ */ G.isValidElement(o) && o.type === "svg", u = {
|
|
2448
2467
|
...n,
|
|
2449
2468
|
color: s,
|
|
2450
2469
|
component: l,
|
|
@@ -2452,29 +2471,29 @@ const Wn = (e) => {
|
|
|
2452
2471
|
instanceFontSize: t.fontSize,
|
|
2453
2472
|
inheritViewBox: h,
|
|
2454
2473
|
viewBox: m,
|
|
2455
|
-
hasSvgAsChild:
|
|
2474
|
+
hasSvgAsChild: p
|
|
2456
2475
|
}, $ = {};
|
|
2457
2476
|
h || ($.viewBox = m);
|
|
2458
|
-
const
|
|
2459
|
-
return /* @__PURE__ */ Ie.jsxs(
|
|
2477
|
+
const O = Vn(u);
|
|
2478
|
+
return /* @__PURE__ */ Ie.jsxs(Kn, {
|
|
2460
2479
|
as: l,
|
|
2461
|
-
className:
|
|
2480
|
+
className: At(O.root, a),
|
|
2462
2481
|
focusable: "false",
|
|
2463
2482
|
color: d,
|
|
2464
|
-
"aria-hidden":
|
|
2465
|
-
role:
|
|
2483
|
+
"aria-hidden": g ? void 0 : !0,
|
|
2484
|
+
role: g ? "img" : void 0,
|
|
2466
2485
|
ref: r,
|
|
2467
2486
|
...$,
|
|
2468
2487
|
...b,
|
|
2469
|
-
...
|
|
2488
|
+
...p && o.props,
|
|
2470
2489
|
ownerState: u,
|
|
2471
|
-
children: [
|
|
2472
|
-
children:
|
|
2490
|
+
children: [p ? o.props.children : o, g ? /* @__PURE__ */ Ie.jsx("title", {
|
|
2491
|
+
children: g
|
|
2473
2492
|
}) : null]
|
|
2474
2493
|
});
|
|
2475
2494
|
});
|
|
2476
2495
|
Le.muiName = "SvgIcon";
|
|
2477
|
-
function
|
|
2496
|
+
function Qn(e, t) {
|
|
2478
2497
|
function r(n, o) {
|
|
2479
2498
|
return /* @__PURE__ */ Ie.jsx(Le, {
|
|
2480
2499
|
"data-testid": `${t}Icon`,
|
|
@@ -2483,8 +2502,11 @@ function Nn(e, t) {
|
|
|
2483
2502
|
children: e
|
|
2484
2503
|
});
|
|
2485
2504
|
}
|
|
2486
|
-
return r.muiName = Le.muiName, /* @__PURE__ */
|
|
2505
|
+
return r.muiName = Le.muiName, /* @__PURE__ */ G.memo(/* @__PURE__ */ G.forwardRef(r));
|
|
2487
2506
|
}
|
|
2488
2507
|
export {
|
|
2489
|
-
|
|
2508
|
+
Qn as c,
|
|
2509
|
+
Un as g,
|
|
2510
|
+
Hn as o,
|
|
2511
|
+
Yn as u
|
|
2490
2512
|
};
|