vibe-spec-overlay 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -0
- package/dist/favicon.svg +1 -0
- package/dist/icons.svg +24 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +3295 -0
- package/dist/index.umd.js +29 -0
- package/package.json +51 -0
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,3295 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { createContext as t, useContext as n, useEffect as r, useMemo as i, useRef as a, useState as o } from "react";
|
|
3
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
4
|
+
import l from "@emotion/styled";
|
|
5
|
+
import "@emotion/react";
|
|
6
|
+
import { Box as u, Chip as d, Divider as f, Drawer as p, IconButton as m, List as h, ListItem as g, ListItemText as _, Popover as v, Stack as y, Tooltip as b, Typography as x, alpha as S } from "@mui/material";
|
|
7
|
+
//#region \0rolldown/runtime.js
|
|
8
|
+
var ee = Object.create, te = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, re = Object.getOwnPropertyNames, ie = Object.getPrototypeOf, ae = Object.prototype.hasOwnProperty, C = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), w = (e, t, n, r) => {
|
|
9
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = re(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !ae.call(e, s) && s !== n && te(e, s, {
|
|
10
|
+
get: ((e) => t[e]).bind(null, s),
|
|
11
|
+
enumerable: !(r = ne(t, s)) || r.enumerable
|
|
12
|
+
});
|
|
13
|
+
return e;
|
|
14
|
+
}, oe = (e, t, n) => (n = e == null ? {} : ee(ie(e)), w(t || !e || !e.__esModule ? te(n, "default", {
|
|
15
|
+
value: e,
|
|
16
|
+
enumerable: !0
|
|
17
|
+
}) : n, e)), T = t(null);
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/SpecContext.tsx
|
|
20
|
+
function E({ children: e, specsMap: t = {} }) {
|
|
21
|
+
let [n, r] = o(!0), [a, c] = o(void 0), l = i(() => ({
|
|
22
|
+
enabled: n,
|
|
23
|
+
toggleEnabled: () => r((e) => !e),
|
|
24
|
+
selected: a,
|
|
25
|
+
setSelected: c,
|
|
26
|
+
specsMap: t
|
|
27
|
+
}), [
|
|
28
|
+
n,
|
|
29
|
+
a,
|
|
30
|
+
t
|
|
31
|
+
]);
|
|
32
|
+
return /* @__PURE__ */ s(T.Provider, {
|
|
33
|
+
value: l,
|
|
34
|
+
children: e
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/spec-context.ts
|
|
39
|
+
function se() {
|
|
40
|
+
let e = n(T);
|
|
41
|
+
if (!e) throw Error("useSpecContext must be used inside SpecProvider");
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js
|
|
46
|
+
var ce = (e) => e, le = (() => {
|
|
47
|
+
let e = ce;
|
|
48
|
+
return {
|
|
49
|
+
configure(t) {
|
|
50
|
+
e = t;
|
|
51
|
+
},
|
|
52
|
+
generate(t) {
|
|
53
|
+
return e(t);
|
|
54
|
+
},
|
|
55
|
+
reset() {
|
|
56
|
+
e = ce;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
})();
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js
|
|
62
|
+
function D(e, ...t) {
|
|
63
|
+
let n = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
64
|
+
return t.forEach((e) => n.searchParams.append("args[]", e)), `Minified MUI error #${e}; visit ${n} for the full message.`;
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region node_modules/@mui/utils/esm/capitalize/capitalize.js
|
|
68
|
+
function ue(e) {
|
|
69
|
+
if (typeof e != "string") throw Error(process.env.NODE_ENV === "production" ? D(7) : "MUI: `capitalize(string)` expects a string argument.");
|
|
70
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region node_modules/@mui/material/esm/utils/capitalize.js
|
|
74
|
+
var de = ue, fe = /* @__PURE__ */ C(((e) => {
|
|
75
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
76
|
+
function b(e) {
|
|
77
|
+
if (typeof e == "object" && e) {
|
|
78
|
+
var t = e.$$typeof;
|
|
79
|
+
switch (t) {
|
|
80
|
+
case n: switch (e = e.type, e) {
|
|
81
|
+
case l:
|
|
82
|
+
case u:
|
|
83
|
+
case i:
|
|
84
|
+
case o:
|
|
85
|
+
case a:
|
|
86
|
+
case f: return e;
|
|
87
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
88
|
+
case c:
|
|
89
|
+
case d:
|
|
90
|
+
case h:
|
|
91
|
+
case m:
|
|
92
|
+
case s: return e;
|
|
93
|
+
default: return t;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
case r: return t;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function x(e) {
|
|
101
|
+
return b(e) === u;
|
|
102
|
+
}
|
|
103
|
+
e.AsyncMode = l, e.ConcurrentMode = u, e.ContextConsumer = c, e.ContextProvider = s, e.Element = n, e.ForwardRef = d, e.Fragment = i, e.Lazy = h, e.Memo = m, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = f, e.isAsyncMode = function(e) {
|
|
104
|
+
return x(e) || b(e) === l;
|
|
105
|
+
}, e.isConcurrentMode = x, e.isContextConsumer = function(e) {
|
|
106
|
+
return b(e) === c;
|
|
107
|
+
}, e.isContextProvider = function(e) {
|
|
108
|
+
return b(e) === s;
|
|
109
|
+
}, e.isElement = function(e) {
|
|
110
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
111
|
+
}, e.isForwardRef = function(e) {
|
|
112
|
+
return b(e) === d;
|
|
113
|
+
}, e.isFragment = function(e) {
|
|
114
|
+
return b(e) === i;
|
|
115
|
+
}, e.isLazy = function(e) {
|
|
116
|
+
return b(e) === h;
|
|
117
|
+
}, e.isMemo = function(e) {
|
|
118
|
+
return b(e) === m;
|
|
119
|
+
}, e.isPortal = function(e) {
|
|
120
|
+
return b(e) === r;
|
|
121
|
+
}, e.isProfiler = function(e) {
|
|
122
|
+
return b(e) === o;
|
|
123
|
+
}, e.isStrictMode = function(e) {
|
|
124
|
+
return b(e) === a;
|
|
125
|
+
}, e.isSuspense = function(e) {
|
|
126
|
+
return b(e) === f;
|
|
127
|
+
}, e.isValidElementType = function(e) {
|
|
128
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
129
|
+
}, e.typeOf = b;
|
|
130
|
+
})), pe = /* @__PURE__ */ C(((e) => {
|
|
131
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
132
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
133
|
+
function b(e) {
|
|
134
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
135
|
+
}
|
|
136
|
+
function x(e) {
|
|
137
|
+
if (typeof e == "object" && e) {
|
|
138
|
+
var t = e.$$typeof;
|
|
139
|
+
switch (t) {
|
|
140
|
+
case n:
|
|
141
|
+
var p = e.type;
|
|
142
|
+
switch (p) {
|
|
143
|
+
case l:
|
|
144
|
+
case u:
|
|
145
|
+
case i:
|
|
146
|
+
case o:
|
|
147
|
+
case a:
|
|
148
|
+
case f: return p;
|
|
149
|
+
default:
|
|
150
|
+
var g = p && p.$$typeof;
|
|
151
|
+
switch (g) {
|
|
152
|
+
case c:
|
|
153
|
+
case d:
|
|
154
|
+
case h:
|
|
155
|
+
case m:
|
|
156
|
+
case s: return g;
|
|
157
|
+
default: return t;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
case r: return t;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
var S = l, ee = u, te = c, ne = s, re = n, ie = d, ae = i, C = h, w = m, oe = r, T = o, E = a, se = f, ce = !1;
|
|
165
|
+
function le(e) {
|
|
166
|
+
return ce || (ce = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(e) || x(e) === l;
|
|
167
|
+
}
|
|
168
|
+
function D(e) {
|
|
169
|
+
return x(e) === u;
|
|
170
|
+
}
|
|
171
|
+
function ue(e) {
|
|
172
|
+
return x(e) === c;
|
|
173
|
+
}
|
|
174
|
+
function de(e) {
|
|
175
|
+
return x(e) === s;
|
|
176
|
+
}
|
|
177
|
+
function fe(e) {
|
|
178
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
179
|
+
}
|
|
180
|
+
function pe(e) {
|
|
181
|
+
return x(e) === d;
|
|
182
|
+
}
|
|
183
|
+
function me(e) {
|
|
184
|
+
return x(e) === i;
|
|
185
|
+
}
|
|
186
|
+
function he(e) {
|
|
187
|
+
return x(e) === h;
|
|
188
|
+
}
|
|
189
|
+
function ge(e) {
|
|
190
|
+
return x(e) === m;
|
|
191
|
+
}
|
|
192
|
+
function _e(e) {
|
|
193
|
+
return x(e) === r;
|
|
194
|
+
}
|
|
195
|
+
function ve(e) {
|
|
196
|
+
return x(e) === o;
|
|
197
|
+
}
|
|
198
|
+
function ye(e) {
|
|
199
|
+
return x(e) === a;
|
|
200
|
+
}
|
|
201
|
+
function be(e) {
|
|
202
|
+
return x(e) === f;
|
|
203
|
+
}
|
|
204
|
+
e.AsyncMode = S, e.ConcurrentMode = ee, e.ContextConsumer = te, e.ContextProvider = ne, e.Element = re, e.ForwardRef = ie, e.Fragment = ae, e.Lazy = C, e.Memo = w, e.Portal = oe, e.Profiler = T, e.StrictMode = E, e.Suspense = se, e.isAsyncMode = le, e.isConcurrentMode = D, e.isContextConsumer = ue, e.isContextProvider = de, e.isElement = fe, e.isForwardRef = pe, e.isFragment = me, e.isLazy = he, e.isMemo = ge, e.isPortal = _e, e.isProfiler = ve, e.isStrictMode = ye, e.isSuspense = be, e.isValidElementType = b, e.typeOf = x;
|
|
205
|
+
})();
|
|
206
|
+
})), me = /* @__PURE__ */ C(((e, t) => {
|
|
207
|
+
process.env.NODE_ENV === "production" ? t.exports = fe() : t.exports = pe();
|
|
208
|
+
})), he = /* @__PURE__ */ C(((e, t) => {
|
|
209
|
+
var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
210
|
+
function a(e) {
|
|
211
|
+
if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
|
|
212
|
+
return Object(e);
|
|
213
|
+
}
|
|
214
|
+
function o() {
|
|
215
|
+
try {
|
|
216
|
+
if (!Object.assign) return !1;
|
|
217
|
+
var e = /* @__PURE__ */ new String("abc");
|
|
218
|
+
if (e[5] = "de", Object.getOwnPropertyNames(e)[0] === "5") return !1;
|
|
219
|
+
for (var t = {}, n = 0; n < 10; n++) t["_" + String.fromCharCode(n)] = n;
|
|
220
|
+
if (Object.getOwnPropertyNames(t).map(function(e) {
|
|
221
|
+
return t[e];
|
|
222
|
+
}).join("") !== "0123456789") return !1;
|
|
223
|
+
var r = {};
|
|
224
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(e) {
|
|
225
|
+
r[e] = e;
|
|
226
|
+
}), Object.keys(Object.assign({}, r)).join("") === "abcdefghijklmnopqrst";
|
|
227
|
+
} catch {
|
|
228
|
+
return !1;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
t.exports = o() ? Object.assign : function(e, t) {
|
|
232
|
+
for (var o, s = a(e), c, l = 1; l < arguments.length; l++) {
|
|
233
|
+
for (var u in o = Object(arguments[l]), o) r.call(o, u) && (s[u] = o[u]);
|
|
234
|
+
if (n) {
|
|
235
|
+
c = n(o);
|
|
236
|
+
for (var d = 0; d < c.length; d++) i.call(o, c[d]) && (s[c[d]] = o[c[d]]);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
return s;
|
|
240
|
+
};
|
|
241
|
+
})), ge = /* @__PURE__ */ C(((e, t) => {
|
|
242
|
+
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
243
|
+
})), _e = /* @__PURE__ */ C(((e, t) => {
|
|
244
|
+
t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
245
|
+
})), ve = /* @__PURE__ */ C(((e, t) => {
|
|
246
|
+
var n = function() {};
|
|
247
|
+
if (process.env.NODE_ENV !== "production") {
|
|
248
|
+
var r = ge(), i = {}, a = _e();
|
|
249
|
+
n = function(e) {
|
|
250
|
+
var t = "Warning: " + e;
|
|
251
|
+
typeof console < "u" && console.error(t);
|
|
252
|
+
try {
|
|
253
|
+
throw Error(t);
|
|
254
|
+
} catch {}
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
function o(e, t, o, s, c) {
|
|
258
|
+
if (process.env.NODE_ENV !== "production") {
|
|
259
|
+
for (var l in e) if (a(e, l)) {
|
|
260
|
+
var u;
|
|
261
|
+
try {
|
|
262
|
+
if (typeof e[l] != "function") {
|
|
263
|
+
var d = Error((s || "React class") + ": " + o + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
264
|
+
throw d.name = "Invariant Violation", d;
|
|
265
|
+
}
|
|
266
|
+
u = e[l](t, l, s, o, null, r);
|
|
267
|
+
} catch (e) {
|
|
268
|
+
u = e;
|
|
269
|
+
}
|
|
270
|
+
if (u && !(u instanceof Error) && n((s || "React class") + ": type specification of " + o + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."), u instanceof Error && !(u.message in i)) {
|
|
271
|
+
i[u.message] = !0;
|
|
272
|
+
var f = c ? c() : "";
|
|
273
|
+
n("Failed " + o + " type: " + u.message + (f ?? ""));
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
o.resetWarningCache = function() {
|
|
279
|
+
process.env.NODE_ENV !== "production" && (i = {});
|
|
280
|
+
}, t.exports = o;
|
|
281
|
+
})), ye = /* @__PURE__ */ C(((e, t) => {
|
|
282
|
+
var n = me(), r = he(), i = ge(), a = _e(), o = ve(), s = function() {};
|
|
283
|
+
process.env.NODE_ENV !== "production" && (s = function(e) {
|
|
284
|
+
var t = "Warning: " + e;
|
|
285
|
+
typeof console < "u" && console.error(t);
|
|
286
|
+
try {
|
|
287
|
+
throw Error(t);
|
|
288
|
+
} catch {}
|
|
289
|
+
});
|
|
290
|
+
function c() {
|
|
291
|
+
return null;
|
|
292
|
+
}
|
|
293
|
+
t.exports = function(e, t) {
|
|
294
|
+
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
295
|
+
function d(e) {
|
|
296
|
+
var t = e && (l && e[l] || e[u]);
|
|
297
|
+
if (typeof t == "function") return t;
|
|
298
|
+
}
|
|
299
|
+
var f = "<<anonymous>>", p = {
|
|
300
|
+
array: _("array"),
|
|
301
|
+
bigint: _("bigint"),
|
|
302
|
+
bool: _("boolean"),
|
|
303
|
+
func: _("function"),
|
|
304
|
+
number: _("number"),
|
|
305
|
+
object: _("object"),
|
|
306
|
+
string: _("string"),
|
|
307
|
+
symbol: _("symbol"),
|
|
308
|
+
any: v(),
|
|
309
|
+
arrayOf: y,
|
|
310
|
+
element: b(),
|
|
311
|
+
elementType: x(),
|
|
312
|
+
instanceOf: S,
|
|
313
|
+
node: re(),
|
|
314
|
+
objectOf: te,
|
|
315
|
+
oneOf: ee,
|
|
316
|
+
oneOfType: ne,
|
|
317
|
+
shape: ae,
|
|
318
|
+
exact: C
|
|
319
|
+
};
|
|
320
|
+
function m(e, t) {
|
|
321
|
+
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
|
|
322
|
+
}
|
|
323
|
+
function h(e, t) {
|
|
324
|
+
this.message = e, this.data = t && typeof t == "object" ? t : {}, this.stack = "";
|
|
325
|
+
}
|
|
326
|
+
h.prototype = Error.prototype;
|
|
327
|
+
function g(e) {
|
|
328
|
+
if (process.env.NODE_ENV !== "production") var n = {}, r = 0;
|
|
329
|
+
function a(a, o, c, l, u, d, p) {
|
|
330
|
+
if (l ||= f, d ||= c, p !== i) {
|
|
331
|
+
if (t) {
|
|
332
|
+
var m = /* @__PURE__ */ Error("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");
|
|
333
|
+
throw m.name = "Invariant Violation", m;
|
|
334
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
335
|
+
var g = l + ":" + c;
|
|
336
|
+
!n[g] && r < 3 && (s("You are manually calling a React.PropTypes validation function for the `" + d + "` prop on `" + l + "`. 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."), n[g] = !0, r++);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
return o[c] == null ? a ? o[c] === null ? new h("The " + u + " `" + d + "` is marked as required " + ("in `" + l + "`, but its value is `null`.")) : new h("The " + u + " `" + d + "` is marked as required in " + ("`" + l + "`, but its value is `undefined`.")) : null : e(o, c, l, u, d);
|
|
340
|
+
}
|
|
341
|
+
var o = a.bind(null, !1);
|
|
342
|
+
return o.isRequired = a.bind(null, !0), o;
|
|
343
|
+
}
|
|
344
|
+
function _(e) {
|
|
345
|
+
function t(t, n, r, i, a, o) {
|
|
346
|
+
var s = t[n];
|
|
347
|
+
if (T(s) !== e) {
|
|
348
|
+
var c = E(s);
|
|
349
|
+
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + c + "` supplied to `" + r + "`, expected ") + ("`" + e + "`."), { expectedType: e });
|
|
350
|
+
}
|
|
351
|
+
return null;
|
|
352
|
+
}
|
|
353
|
+
return g(t);
|
|
354
|
+
}
|
|
355
|
+
function v() {
|
|
356
|
+
return g(c);
|
|
357
|
+
}
|
|
358
|
+
function y(e) {
|
|
359
|
+
function t(t, n, r, a, o) {
|
|
360
|
+
if (typeof e != "function") return new h("Property `" + o + "` of component `" + r + "` has invalid PropType notation inside arrayOf.");
|
|
361
|
+
var s = t[n];
|
|
362
|
+
if (!Array.isArray(s)) {
|
|
363
|
+
var c = T(s);
|
|
364
|
+
return new h("Invalid " + a + " `" + o + "` of type " + ("`" + c + "` supplied to `" + r + "`, expected an array."));
|
|
365
|
+
}
|
|
366
|
+
for (var l = 0; l < s.length; l++) {
|
|
367
|
+
var u = e(s, l, r, a, o + "[" + l + "]", i);
|
|
368
|
+
if (u instanceof Error) return u;
|
|
369
|
+
}
|
|
370
|
+
return null;
|
|
371
|
+
}
|
|
372
|
+
return g(t);
|
|
373
|
+
}
|
|
374
|
+
function b() {
|
|
375
|
+
function t(t, n, r, i, a) {
|
|
376
|
+
var o = t[n];
|
|
377
|
+
if (!e(o)) {
|
|
378
|
+
var s = T(o);
|
|
379
|
+
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected a single ReactElement."));
|
|
380
|
+
}
|
|
381
|
+
return null;
|
|
382
|
+
}
|
|
383
|
+
return g(t);
|
|
384
|
+
}
|
|
385
|
+
function x() {
|
|
386
|
+
function e(e, t, r, i, a) {
|
|
387
|
+
var o = e[t];
|
|
388
|
+
if (!n.isValidElementType(o)) {
|
|
389
|
+
var s = T(o);
|
|
390
|
+
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected a single ReactElement type."));
|
|
391
|
+
}
|
|
392
|
+
return null;
|
|
393
|
+
}
|
|
394
|
+
return g(e);
|
|
395
|
+
}
|
|
396
|
+
function S(e) {
|
|
397
|
+
function t(t, n, r, i, a) {
|
|
398
|
+
if (!(t[n] instanceof e)) {
|
|
399
|
+
var o = e.name || f, s = ce(t[n]);
|
|
400
|
+
return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected ") + ("instance of `" + o + "`."));
|
|
401
|
+
}
|
|
402
|
+
return null;
|
|
403
|
+
}
|
|
404
|
+
return g(t);
|
|
405
|
+
}
|
|
406
|
+
function ee(e) {
|
|
407
|
+
if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s("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]).") : s("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
408
|
+
function t(t, n, r, i, a) {
|
|
409
|
+
for (var o = t[n], s = 0; s < e.length; s++) if (m(o, e[s])) return null;
|
|
410
|
+
var c = JSON.stringify(e, function(e, t) {
|
|
411
|
+
return E(t) === "symbol" ? String(t) : t;
|
|
412
|
+
});
|
|
413
|
+
return new h("Invalid " + i + " `" + a + "` of value `" + String(o) + "` " + ("supplied to `" + r + "`, expected one of " + c + "."));
|
|
414
|
+
}
|
|
415
|
+
return g(t);
|
|
416
|
+
}
|
|
417
|
+
function te(e) {
|
|
418
|
+
function t(t, n, r, o, s) {
|
|
419
|
+
if (typeof e != "function") return new h("Property `" + s + "` of component `" + r + "` has invalid PropType notation inside objectOf.");
|
|
420
|
+
var c = t[n], l = T(c);
|
|
421
|
+
if (l !== "object") return new h("Invalid " + o + " `" + s + "` of type " + ("`" + l + "` supplied to `" + r + "`, expected an object."));
|
|
422
|
+
for (var u in c) if (a(c, u)) {
|
|
423
|
+
var d = e(c, u, r, o, s + "." + u, i);
|
|
424
|
+
if (d instanceof Error) return d;
|
|
425
|
+
}
|
|
426
|
+
return null;
|
|
427
|
+
}
|
|
428
|
+
return g(t);
|
|
429
|
+
}
|
|
430
|
+
function ne(e) {
|
|
431
|
+
if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
432
|
+
for (var t = 0; t < e.length; t++) {
|
|
433
|
+
var n = e[t];
|
|
434
|
+
if (typeof n != "function") return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + se(n) + " at index " + t + "."), c;
|
|
435
|
+
}
|
|
436
|
+
function r(t, n, r, o, s) {
|
|
437
|
+
for (var c = [], l = 0; l < e.length; l++) {
|
|
438
|
+
var u = e[l], d = u(t, n, r, o, s, i);
|
|
439
|
+
if (d == null) return null;
|
|
440
|
+
d.data && a(d.data, "expectedType") && c.push(d.data.expectedType);
|
|
441
|
+
}
|
|
442
|
+
var f = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
|
|
443
|
+
return new h("Invalid " + o + " `" + s + "` supplied to " + ("`" + r + "`" + f + "."));
|
|
444
|
+
}
|
|
445
|
+
return g(r);
|
|
446
|
+
}
|
|
447
|
+
function re() {
|
|
448
|
+
function e(e, t, n, r, i) {
|
|
449
|
+
return w(e[t]) ? null : new h("Invalid " + r + " `" + i + "` supplied to " + ("`" + n + "`, expected a ReactNode."));
|
|
450
|
+
}
|
|
451
|
+
return g(e);
|
|
452
|
+
}
|
|
453
|
+
function ie(e, t, n, r, i) {
|
|
454
|
+
return new h((e || "React class") + ": " + t + " type `" + n + "." + r + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`.");
|
|
455
|
+
}
|
|
456
|
+
function ae(e) {
|
|
457
|
+
function t(t, n, r, a, o) {
|
|
458
|
+
var s = t[n], c = T(s);
|
|
459
|
+
if (c !== "object") return new h("Invalid " + a + " `" + o + "` of type `" + c + "` " + ("supplied to `" + r + "`, expected `object`."));
|
|
460
|
+
for (var l in e) {
|
|
461
|
+
var u = e[l];
|
|
462
|
+
if (typeof u != "function") return ie(r, a, o, l, E(u));
|
|
463
|
+
var d = u(s, l, r, a, o + "." + l, i);
|
|
464
|
+
if (d) return d;
|
|
465
|
+
}
|
|
466
|
+
return null;
|
|
467
|
+
}
|
|
468
|
+
return g(t);
|
|
469
|
+
}
|
|
470
|
+
function C(e) {
|
|
471
|
+
function t(t, n, o, s, c) {
|
|
472
|
+
var l = t[n], u = T(l);
|
|
473
|
+
if (u !== "object") return new h("Invalid " + s + " `" + c + "` of type `" + u + "` " + ("supplied to `" + o + "`, expected `object`."));
|
|
474
|
+
for (var d in r({}, t[n], e)) {
|
|
475
|
+
var f = e[d];
|
|
476
|
+
if (a(e, d) && typeof f != "function") return ie(o, s, c, d, E(f));
|
|
477
|
+
if (!f) return new h("Invalid " + s + " `" + c + "` key `" + d + "` supplied to `" + o + "`.\nBad object: " + JSON.stringify(t[n], null, " ") + "\nValid keys: " + JSON.stringify(Object.keys(e), null, " "));
|
|
478
|
+
var p = f(l, d, o, s, c + "." + d, i);
|
|
479
|
+
if (p) return p;
|
|
480
|
+
}
|
|
481
|
+
return null;
|
|
482
|
+
}
|
|
483
|
+
return g(t);
|
|
484
|
+
}
|
|
485
|
+
function w(t) {
|
|
486
|
+
switch (typeof t) {
|
|
487
|
+
case "number":
|
|
488
|
+
case "string":
|
|
489
|
+
case "undefined": return !0;
|
|
490
|
+
case "boolean": return !t;
|
|
491
|
+
case "object":
|
|
492
|
+
if (Array.isArray(t)) return t.every(w);
|
|
493
|
+
if (t === null || e(t)) return !0;
|
|
494
|
+
var n = d(t);
|
|
495
|
+
if (n) {
|
|
496
|
+
var r = n.call(t), i;
|
|
497
|
+
if (n !== t.entries) {
|
|
498
|
+
for (; !(i = r.next()).done;) if (!w(i.value)) return !1;
|
|
499
|
+
} else for (; !(i = r.next()).done;) {
|
|
500
|
+
var a = i.value;
|
|
501
|
+
if (a && !w(a[1])) return !1;
|
|
502
|
+
}
|
|
503
|
+
} else return !1;
|
|
504
|
+
return !0;
|
|
505
|
+
default: return !1;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
function oe(e, t) {
|
|
509
|
+
return e === "symbol" ? !0 : t ? t["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && t instanceof Symbol : !1;
|
|
510
|
+
}
|
|
511
|
+
function T(e) {
|
|
512
|
+
var t = typeof e;
|
|
513
|
+
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : oe(t, e) ? "symbol" : t;
|
|
514
|
+
}
|
|
515
|
+
function E(e) {
|
|
516
|
+
if (e == null) return "" + e;
|
|
517
|
+
var t = T(e);
|
|
518
|
+
if (t === "object") {
|
|
519
|
+
if (e instanceof Date) return "date";
|
|
520
|
+
if (e instanceof RegExp) return "regexp";
|
|
521
|
+
}
|
|
522
|
+
return t;
|
|
523
|
+
}
|
|
524
|
+
function se(e) {
|
|
525
|
+
var t = E(e);
|
|
526
|
+
switch (t) {
|
|
527
|
+
case "array":
|
|
528
|
+
case "object": return "an " + t;
|
|
529
|
+
case "boolean":
|
|
530
|
+
case "date":
|
|
531
|
+
case "regexp": return "a " + t;
|
|
532
|
+
default: return t;
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
function ce(e) {
|
|
536
|
+
return !e.constructor || !e.constructor.name ? f : e.constructor.name;
|
|
537
|
+
}
|
|
538
|
+
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
539
|
+
};
|
|
540
|
+
})), be = /* @__PURE__ */ C(((e, t) => {
|
|
541
|
+
var n = ge();
|
|
542
|
+
function r() {}
|
|
543
|
+
function i() {}
|
|
544
|
+
i.resetWarningCache = r, t.exports = function() {
|
|
545
|
+
function e(e, t, r, i, a, o) {
|
|
546
|
+
if (o !== n) {
|
|
547
|
+
var s = /* @__PURE__ */ Error("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");
|
|
548
|
+
throw s.name = "Invariant Violation", s;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
e.isRequired = e;
|
|
552
|
+
function t() {
|
|
553
|
+
return e;
|
|
554
|
+
}
|
|
555
|
+
var a = {
|
|
556
|
+
array: e,
|
|
557
|
+
bigint: e,
|
|
558
|
+
bool: e,
|
|
559
|
+
func: e,
|
|
560
|
+
number: e,
|
|
561
|
+
object: e,
|
|
562
|
+
string: e,
|
|
563
|
+
symbol: e,
|
|
564
|
+
any: e,
|
|
565
|
+
arrayOf: t,
|
|
566
|
+
element: e,
|
|
567
|
+
elementType: e,
|
|
568
|
+
instanceOf: t,
|
|
569
|
+
node: e,
|
|
570
|
+
objectOf: t,
|
|
571
|
+
oneOf: t,
|
|
572
|
+
oneOfType: t,
|
|
573
|
+
shape: t,
|
|
574
|
+
exact: t,
|
|
575
|
+
checkPropTypes: i,
|
|
576
|
+
resetWarningCache: r
|
|
577
|
+
};
|
|
578
|
+
return a.PropTypes = a, a;
|
|
579
|
+
};
|
|
580
|
+
})), xe = /* @__PURE__ */ C(((e, t) => {
|
|
581
|
+
if (process.env.NODE_ENV !== "production") {
|
|
582
|
+
var n = me();
|
|
583
|
+
t.exports = ye()(n.isElement, !0);
|
|
584
|
+
} else t.exports = be()();
|
|
585
|
+
}));
|
|
586
|
+
//#endregion
|
|
587
|
+
//#region node_modules/clsx/dist/clsx.mjs
|
|
588
|
+
function Se(e) {
|
|
589
|
+
var t, n, r = "";
|
|
590
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
591
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
592
|
+
var i = e.length;
|
|
593
|
+
for (t = 0; t < i; t++) e[t] && (n = Se(e[t])) && (r && (r += " "), r += n);
|
|
594
|
+
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
595
|
+
return r;
|
|
596
|
+
}
|
|
597
|
+
function Ce() {
|
|
598
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Se(e)) && (r && (r += " "), r += t);
|
|
599
|
+
return r;
|
|
600
|
+
}
|
|
601
|
+
//#endregion
|
|
602
|
+
//#region node_modules/@mui/utils/esm/composeClasses/composeClasses.js
|
|
603
|
+
function we(e, t, n = void 0) {
|
|
604
|
+
let r = {};
|
|
605
|
+
for (let i in e) {
|
|
606
|
+
let a = e[i], o = "", s = !0;
|
|
607
|
+
for (let e = 0; e < a.length; e += 1) {
|
|
608
|
+
let r = a[e];
|
|
609
|
+
r && (o += (s === !0 ? "" : " ") + t(r), s = !1, n && n[r] && (o += " " + n[r]));
|
|
610
|
+
}
|
|
611
|
+
r[i] = o;
|
|
612
|
+
}
|
|
613
|
+
return r;
|
|
614
|
+
}
|
|
615
|
+
//#endregion
|
|
616
|
+
//#region node_modules/react-is/cjs/react-is.production.js
|
|
617
|
+
var Te = /* @__PURE__ */ C(((e) => {
|
|
618
|
+
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), m = Symbol.for("react.client.reference");
|
|
619
|
+
function h(e) {
|
|
620
|
+
if (typeof e == "object" && e) {
|
|
621
|
+
var m = e.$$typeof;
|
|
622
|
+
switch (m) {
|
|
623
|
+
case t: switch (e = e.type, e) {
|
|
624
|
+
case r:
|
|
625
|
+
case a:
|
|
626
|
+
case i:
|
|
627
|
+
case l:
|
|
628
|
+
case u:
|
|
629
|
+
case p: return e;
|
|
630
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
631
|
+
case s:
|
|
632
|
+
case c:
|
|
633
|
+
case f:
|
|
634
|
+
case d: return e;
|
|
635
|
+
case o: return e;
|
|
636
|
+
default: return m;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
case n: return m;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
e.ContextConsumer = o, e.ContextProvider = s, e.Element = t, e.ForwardRef = c, e.Fragment = r, e.Lazy = f, e.Memo = d, e.Portal = n, e.Profiler = a, e.StrictMode = i, e.Suspense = l, e.SuspenseList = u, e.isContextConsumer = function(e) {
|
|
644
|
+
return h(e) === o;
|
|
645
|
+
}, e.isContextProvider = function(e) {
|
|
646
|
+
return h(e) === s;
|
|
647
|
+
}, e.isElement = function(e) {
|
|
648
|
+
return typeof e == "object" && !!e && e.$$typeof === t;
|
|
649
|
+
}, e.isForwardRef = function(e) {
|
|
650
|
+
return h(e) === c;
|
|
651
|
+
}, e.isFragment = function(e) {
|
|
652
|
+
return h(e) === r;
|
|
653
|
+
}, e.isLazy = function(e) {
|
|
654
|
+
return h(e) === f;
|
|
655
|
+
}, e.isMemo = function(e) {
|
|
656
|
+
return h(e) === d;
|
|
657
|
+
}, e.isPortal = function(e) {
|
|
658
|
+
return h(e) === n;
|
|
659
|
+
}, e.isProfiler = function(e) {
|
|
660
|
+
return h(e) === a;
|
|
661
|
+
}, e.isStrictMode = function(e) {
|
|
662
|
+
return h(e) === i;
|
|
663
|
+
}, e.isSuspense = function(e) {
|
|
664
|
+
return h(e) === l;
|
|
665
|
+
}, e.isSuspenseList = function(e) {
|
|
666
|
+
return h(e) === u;
|
|
667
|
+
}, e.isValidElementType = function(e) {
|
|
668
|
+
return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || e === i || e === l || e === u || typeof e == "object" && e && (e.$$typeof === f || e.$$typeof === d || e.$$typeof === s || e.$$typeof === o || e.$$typeof === c || e.$$typeof === m || e.getModuleId !== void 0));
|
|
669
|
+
}, e.typeOf = h;
|
|
670
|
+
})), Ee = /* @__PURE__ */ C(((e) => {
|
|
671
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
672
|
+
function t(e) {
|
|
673
|
+
if (typeof e == "object" && e) {
|
|
674
|
+
var t = e.$$typeof;
|
|
675
|
+
switch (t) {
|
|
676
|
+
case n: switch (e = e.type, e) {
|
|
677
|
+
case i:
|
|
678
|
+
case o:
|
|
679
|
+
case a:
|
|
680
|
+
case u:
|
|
681
|
+
case d:
|
|
682
|
+
case m: return e;
|
|
683
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
684
|
+
case c:
|
|
685
|
+
case l:
|
|
686
|
+
case p:
|
|
687
|
+
case f: return e;
|
|
688
|
+
case s: return e;
|
|
689
|
+
default: return t;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
case r: return t;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
var n = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), h = Symbol.for("react.client.reference");
|
|
697
|
+
e.ContextConsumer = s, e.ContextProvider = c, e.Element = n, e.ForwardRef = l, e.Fragment = i, e.Lazy = p, e.Memo = f, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = u, e.SuspenseList = d, e.isContextConsumer = function(e) {
|
|
698
|
+
return t(e) === s;
|
|
699
|
+
}, e.isContextProvider = function(e) {
|
|
700
|
+
return t(e) === c;
|
|
701
|
+
}, e.isElement = function(e) {
|
|
702
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
703
|
+
}, e.isForwardRef = function(e) {
|
|
704
|
+
return t(e) === l;
|
|
705
|
+
}, e.isFragment = function(e) {
|
|
706
|
+
return t(e) === i;
|
|
707
|
+
}, e.isLazy = function(e) {
|
|
708
|
+
return t(e) === p;
|
|
709
|
+
}, e.isMemo = function(e) {
|
|
710
|
+
return t(e) === f;
|
|
711
|
+
}, e.isPortal = function(e) {
|
|
712
|
+
return t(e) === r;
|
|
713
|
+
}, e.isProfiler = function(e) {
|
|
714
|
+
return t(e) === o;
|
|
715
|
+
}, e.isStrictMode = function(e) {
|
|
716
|
+
return t(e) === a;
|
|
717
|
+
}, e.isSuspense = function(e) {
|
|
718
|
+
return t(e) === u;
|
|
719
|
+
}, e.isSuspenseList = function(e) {
|
|
720
|
+
return t(e) === d;
|
|
721
|
+
}, e.isValidElementType = function(e) {
|
|
722
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === o || e === a || e === u || e === d || typeof e == "object" && e && (e.$$typeof === p || e.$$typeof === f || e.$$typeof === c || e.$$typeof === s || e.$$typeof === l || e.$$typeof === h || e.getModuleId !== void 0));
|
|
723
|
+
}, e.typeOf = t;
|
|
724
|
+
})();
|
|
725
|
+
})), De = (/* @__PURE__ */ C(((e, t) => {
|
|
726
|
+
process.env.NODE_ENV === "production" ? t.exports = Te() : t.exports = Ee();
|
|
727
|
+
})))();
|
|
728
|
+
function O(e) {
|
|
729
|
+
if (typeof e != "object" || !e) return !1;
|
|
730
|
+
let t = Object.getPrototypeOf(e);
|
|
731
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
732
|
+
}
|
|
733
|
+
function Oe(t) {
|
|
734
|
+
if (/* @__PURE__ */ e.isValidElement(t) || (0, De.isValidElementType)(t) || !O(t)) return t;
|
|
735
|
+
let n = {};
|
|
736
|
+
return Object.keys(t).forEach((e) => {
|
|
737
|
+
n[e] = Oe(t[e]);
|
|
738
|
+
}), n;
|
|
739
|
+
}
|
|
740
|
+
function k(t, n, r = { clone: !0 }) {
|
|
741
|
+
let i = r.clone ? { ...t } : t;
|
|
742
|
+
return O(t) && O(n) && Object.keys(n).forEach((a) => {
|
|
743
|
+
/* @__PURE__ */ e.isValidElement(n[a]) || (0, De.isValidElementType)(n[a]) ? i[a] = n[a] : O(n[a]) && Object.prototype.hasOwnProperty.call(t, a) && O(t[a]) ? i[a] = k(t[a], n[a], r) : r.clone ? i[a] = O(n[a]) ? Oe(n[a]) : n[a] : i[a] = n[a];
|
|
744
|
+
}), i;
|
|
745
|
+
}
|
|
746
|
+
//#endregion
|
|
747
|
+
//#region node_modules/@mui/system/esm/merge/merge.js
|
|
748
|
+
function ke(e, t) {
|
|
749
|
+
return t ? k(e, t, { clone: !1 }) : e;
|
|
750
|
+
}
|
|
751
|
+
//#endregion
|
|
752
|
+
//#region node_modules/@mui/system/esm/responsivePropType/responsivePropType.js
|
|
753
|
+
var A = /* @__PURE__ */ oe(xe()), j = process.env.NODE_ENV === "production" ? {} : A.default.oneOfType([
|
|
754
|
+
A.default.number,
|
|
755
|
+
A.default.string,
|
|
756
|
+
A.default.object,
|
|
757
|
+
A.default.array
|
|
758
|
+
]);
|
|
759
|
+
//#endregion
|
|
760
|
+
//#region node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js
|
|
761
|
+
function Ae(e, t) {
|
|
762
|
+
if (!e.containerQueries) return t;
|
|
763
|
+
let n = Object.keys(t).filter((e) => e.startsWith("@container")).sort((e, t) => {
|
|
764
|
+
let n = /min-width:\s*([0-9.]+)/;
|
|
765
|
+
return (e.match(n)?.[1] || 0) - +(t.match(n)?.[1] || 0);
|
|
766
|
+
});
|
|
767
|
+
return n.length ? n.reduce((e, n) => {
|
|
768
|
+
let r = t[n];
|
|
769
|
+
return delete e[n], e[n] = r, e;
|
|
770
|
+
}, { ...t }) : t;
|
|
771
|
+
}
|
|
772
|
+
function je(e, t) {
|
|
773
|
+
return t === "@" || t.startsWith("@") && (e.some((e) => t.startsWith(`@${e}`)) || !!t.match(/^@\d/));
|
|
774
|
+
}
|
|
775
|
+
function Me(e, t) {
|
|
776
|
+
let n = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
777
|
+
if (!n) {
|
|
778
|
+
if (process.env.NODE_ENV !== "production") throw Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);
|
|
779
|
+
return null;
|
|
780
|
+
}
|
|
781
|
+
let [, r, i] = n, a = Number.isNaN(+r) ? r || 0 : +r;
|
|
782
|
+
return e.containerQueries(i).up(a);
|
|
783
|
+
}
|
|
784
|
+
function Ne(e) {
|
|
785
|
+
let t = (e, t) => e.replace("@media", t ? `@container ${t}` : "@container");
|
|
786
|
+
function n(n, r) {
|
|
787
|
+
n.up = (...n) => t(e.breakpoints.up(...n), r), n.down = (...n) => t(e.breakpoints.down(...n), r), n.between = (...n) => t(e.breakpoints.between(...n), r), n.only = (...n) => t(e.breakpoints.only(...n), r), n.not = (...n) => {
|
|
788
|
+
let i = t(e.breakpoints.not(...n), r);
|
|
789
|
+
return i.includes("not all and") ? i.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : i;
|
|
790
|
+
};
|
|
791
|
+
}
|
|
792
|
+
let r = {}, i = (e) => (n(r, e), r);
|
|
793
|
+
return n(i), {
|
|
794
|
+
...e,
|
|
795
|
+
containerQueries: i
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
//#endregion
|
|
799
|
+
//#region node_modules/@mui/system/esm/breakpoints/breakpoints.js
|
|
800
|
+
var Pe = {
|
|
801
|
+
xs: 0,
|
|
802
|
+
sm: 600,
|
|
803
|
+
md: 900,
|
|
804
|
+
lg: 1200,
|
|
805
|
+
xl: 1536
|
|
806
|
+
}, Fe = {
|
|
807
|
+
keys: [
|
|
808
|
+
"xs",
|
|
809
|
+
"sm",
|
|
810
|
+
"md",
|
|
811
|
+
"lg",
|
|
812
|
+
"xl"
|
|
813
|
+
],
|
|
814
|
+
up: (e) => `@media (min-width:${Pe[e]}px)`
|
|
815
|
+
}, Ie = { containerQueries: (e) => ({ up: (t) => {
|
|
816
|
+
let n = typeof t == "number" ? t : Pe[t] || t;
|
|
817
|
+
return typeof n == "number" && (n = `${n}px`), e ? `@container ${e} (min-width:${n})` : `@container (min-width:${n})`;
|
|
818
|
+
} }) };
|
|
819
|
+
function M(e, t, n) {
|
|
820
|
+
let r = e.theme || {};
|
|
821
|
+
if (Array.isArray(t)) {
|
|
822
|
+
let e = r.breakpoints || Fe;
|
|
823
|
+
return t.reduce((r, i, a) => (r[e.up(e.keys[a])] = n(t[a]), r), {});
|
|
824
|
+
}
|
|
825
|
+
if (typeof t == "object") {
|
|
826
|
+
let e = r.breakpoints || Fe;
|
|
827
|
+
return Object.keys(t).reduce((i, a) => {
|
|
828
|
+
if (je(e.keys, a)) {
|
|
829
|
+
let e = Me(r.containerQueries ? r : Ie, a);
|
|
830
|
+
e && (i[e] = n(t[a], a));
|
|
831
|
+
} else if (Object.keys(e.values || Pe).includes(a)) {
|
|
832
|
+
let r = e.up(a);
|
|
833
|
+
i[r] = n(t[a], a);
|
|
834
|
+
} else {
|
|
835
|
+
let e = a;
|
|
836
|
+
i[e] = t[e];
|
|
837
|
+
}
|
|
838
|
+
return i;
|
|
839
|
+
}, {});
|
|
840
|
+
}
|
|
841
|
+
return n(t);
|
|
842
|
+
}
|
|
843
|
+
function Le(e = {}) {
|
|
844
|
+
return e.keys?.reduce((t, n) => {
|
|
845
|
+
let r = e.up(n);
|
|
846
|
+
return t[r] = {}, t;
|
|
847
|
+
}, {}) || {};
|
|
848
|
+
}
|
|
849
|
+
function Re(e, t) {
|
|
850
|
+
return e.reduce((e, t) => {
|
|
851
|
+
let n = e[t];
|
|
852
|
+
return (!n || Object.keys(n).length === 0) && delete e[t], e;
|
|
853
|
+
}, t);
|
|
854
|
+
}
|
|
855
|
+
//#endregion
|
|
856
|
+
//#region node_modules/@mui/system/esm/style/style.js
|
|
857
|
+
function ze(e, t, n = !0) {
|
|
858
|
+
if (!t || typeof t != "string") return null;
|
|
859
|
+
if (e && e.vars && n) {
|
|
860
|
+
let n = `vars.${t}`.split(".").reduce((e, t) => e && e[t] ? e[t] : null, e);
|
|
861
|
+
if (n != null) return n;
|
|
862
|
+
}
|
|
863
|
+
return t.split(".").reduce((e, t) => e && e[t] != null ? e[t] : null, e);
|
|
864
|
+
}
|
|
865
|
+
function Be(e, t, n, r = n) {
|
|
866
|
+
let i;
|
|
867
|
+
return i = typeof e == "function" ? e(n) : Array.isArray(e) ? e[n] || r : ze(e, n) || r, t && (i = t(i, r, e)), i;
|
|
868
|
+
}
|
|
869
|
+
function N(e) {
|
|
870
|
+
let { prop: t, cssProperty: n = e.prop, themeKey: r, transform: i } = e, a = (e) => {
|
|
871
|
+
if (e[t] == null) return null;
|
|
872
|
+
let a = e[t], o = e.theme, s = ze(o, r) || {};
|
|
873
|
+
return M(e, a, (e) => {
|
|
874
|
+
let r = Be(s, i, e);
|
|
875
|
+
return e === r && typeof e == "string" && (r = Be(s, i, `${t}${e === "default" ? "" : ue(e)}`, e)), n === !1 ? r : { [n]: r };
|
|
876
|
+
});
|
|
877
|
+
};
|
|
878
|
+
return a.propTypes = process.env.NODE_ENV === "production" ? {} : { [t]: j }, a.filterProps = [t], a;
|
|
879
|
+
}
|
|
880
|
+
//#endregion
|
|
881
|
+
//#region node_modules/@mui/system/esm/memoize/memoize.js
|
|
882
|
+
function Ve(e) {
|
|
883
|
+
let t = {};
|
|
884
|
+
return (n) => (t[n] === void 0 && (t[n] = e(n)), t[n]);
|
|
885
|
+
}
|
|
886
|
+
//#endregion
|
|
887
|
+
//#region node_modules/@mui/system/esm/spacing/spacing.js
|
|
888
|
+
var He = {
|
|
889
|
+
m: "margin",
|
|
890
|
+
p: "padding"
|
|
891
|
+
}, Ue = {
|
|
892
|
+
t: "Top",
|
|
893
|
+
r: "Right",
|
|
894
|
+
b: "Bottom",
|
|
895
|
+
l: "Left",
|
|
896
|
+
x: ["Left", "Right"],
|
|
897
|
+
y: ["Top", "Bottom"]
|
|
898
|
+
}, We = {
|
|
899
|
+
marginX: "mx",
|
|
900
|
+
marginY: "my",
|
|
901
|
+
paddingX: "px",
|
|
902
|
+
paddingY: "py"
|
|
903
|
+
}, Ge = Ve((e) => {
|
|
904
|
+
if (e.length > 2) if (We[e]) e = We[e];
|
|
905
|
+
else return [e];
|
|
906
|
+
let [t, n] = e.split(""), r = He[t], i = Ue[n] || "";
|
|
907
|
+
return Array.isArray(i) ? i.map((e) => r + e) : [r + i];
|
|
908
|
+
}), Ke = [
|
|
909
|
+
"m",
|
|
910
|
+
"mt",
|
|
911
|
+
"mr",
|
|
912
|
+
"mb",
|
|
913
|
+
"ml",
|
|
914
|
+
"mx",
|
|
915
|
+
"my",
|
|
916
|
+
"margin",
|
|
917
|
+
"marginTop",
|
|
918
|
+
"marginRight",
|
|
919
|
+
"marginBottom",
|
|
920
|
+
"marginLeft",
|
|
921
|
+
"marginX",
|
|
922
|
+
"marginY",
|
|
923
|
+
"marginInline",
|
|
924
|
+
"marginInlineStart",
|
|
925
|
+
"marginInlineEnd",
|
|
926
|
+
"marginBlock",
|
|
927
|
+
"marginBlockStart",
|
|
928
|
+
"marginBlockEnd"
|
|
929
|
+
], qe = [
|
|
930
|
+
"p",
|
|
931
|
+
"pt",
|
|
932
|
+
"pr",
|
|
933
|
+
"pb",
|
|
934
|
+
"pl",
|
|
935
|
+
"px",
|
|
936
|
+
"py",
|
|
937
|
+
"padding",
|
|
938
|
+
"paddingTop",
|
|
939
|
+
"paddingRight",
|
|
940
|
+
"paddingBottom",
|
|
941
|
+
"paddingLeft",
|
|
942
|
+
"paddingX",
|
|
943
|
+
"paddingY",
|
|
944
|
+
"paddingInline",
|
|
945
|
+
"paddingInlineStart",
|
|
946
|
+
"paddingInlineEnd",
|
|
947
|
+
"paddingBlock",
|
|
948
|
+
"paddingBlockStart",
|
|
949
|
+
"paddingBlockEnd"
|
|
950
|
+
], Je = [...Ke, ...qe];
|
|
951
|
+
function Ye(e, t, n, r) {
|
|
952
|
+
let i = ze(e, t, !0) ?? n;
|
|
953
|
+
return typeof i == "number" || typeof i == "string" ? (e) => typeof e == "string" ? e : (process.env.NODE_ENV !== "production" && typeof e != "number" && console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`), typeof i == "string" ? i.startsWith("var(") && e === 0 ? 0 : i.startsWith("var(") && e === 1 ? i : `calc(${e} * ${i})` : i * e) : Array.isArray(i) ? (e) => {
|
|
954
|
+
if (typeof e == "string") return e;
|
|
955
|
+
let n = Math.abs(e);
|
|
956
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(n) ? n > i.length - 1 && console.error([
|
|
957
|
+
`MUI: The value provided (${n}) overflows.`,
|
|
958
|
+
`The supported values are: ${JSON.stringify(i)}.`,
|
|
959
|
+
`${n} > ${i.length - 1}, you need to add the missing values.`
|
|
960
|
+
].join("\n")) : 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("\n")));
|
|
961
|
+
let r = i[n];
|
|
962
|
+
return e >= 0 ? r : typeof r == "number" ? -r : typeof r == "string" && r.startsWith("var(") ? `calc(-1 * ${r})` : `-${r}`;
|
|
963
|
+
} : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join("\n")), () => void 0);
|
|
964
|
+
}
|
|
965
|
+
function Xe(e) {
|
|
966
|
+
return Ye(e, "spacing", 8, "spacing");
|
|
967
|
+
}
|
|
968
|
+
function Ze(e, t) {
|
|
969
|
+
return typeof t == "string" || t == null ? t : e(t);
|
|
970
|
+
}
|
|
971
|
+
function Qe(e, t) {
|
|
972
|
+
return (n) => e.reduce((e, r) => (e[r] = Ze(t, n), e), {});
|
|
973
|
+
}
|
|
974
|
+
function $e(e, t, n, r) {
|
|
975
|
+
if (!t.includes(n)) return null;
|
|
976
|
+
let i = Qe(Ge(n), r), a = e[n];
|
|
977
|
+
return M(e, a, i);
|
|
978
|
+
}
|
|
979
|
+
function et(e, t) {
|
|
980
|
+
let n = Xe(e.theme);
|
|
981
|
+
return Object.keys(e).map((r) => $e(e, t, r, n)).reduce(ke, {});
|
|
982
|
+
}
|
|
983
|
+
function P(e) {
|
|
984
|
+
return et(e, Ke);
|
|
985
|
+
}
|
|
986
|
+
P.propTypes = process.env.NODE_ENV === "production" ? {} : Ke.reduce((e, t) => (e[t] = j, e), {}), P.filterProps = Ke;
|
|
987
|
+
function F(e) {
|
|
988
|
+
return et(e, qe);
|
|
989
|
+
}
|
|
990
|
+
F.propTypes = process.env.NODE_ENV === "production" ? {} : qe.reduce((e, t) => (e[t] = j, e), {}), F.filterProps = qe;
|
|
991
|
+
function tt(e) {
|
|
992
|
+
return et(e, Je);
|
|
993
|
+
}
|
|
994
|
+
tt.propTypes = process.env.NODE_ENV === "production" ? {} : Je.reduce((e, t) => (e[t] = j, e), {}), tt.filterProps = Je;
|
|
995
|
+
//#endregion
|
|
996
|
+
//#region node_modules/@mui/system/esm/compose/compose.js
|
|
997
|
+
function nt(...e) {
|
|
998
|
+
let t = e.reduce((e, t) => (t.filterProps.forEach((n) => {
|
|
999
|
+
e[n] = t;
|
|
1000
|
+
}), e), {}), n = (e) => Object.keys(e).reduce((n, r) => t[r] ? ke(n, t[r](e)) : n, {});
|
|
1001
|
+
return n.propTypes = process.env.NODE_ENV === "production" ? {} : e.reduce((e, t) => Object.assign(e, t.propTypes), {}), n.filterProps = e.reduce((e, t) => e.concat(t.filterProps), []), n;
|
|
1002
|
+
}
|
|
1003
|
+
//#endregion
|
|
1004
|
+
//#region node_modules/@mui/system/esm/borders/borders.js
|
|
1005
|
+
function I(e) {
|
|
1006
|
+
return typeof e == "number" ? `${e}px solid` : e;
|
|
1007
|
+
}
|
|
1008
|
+
function L(e, t) {
|
|
1009
|
+
return N({
|
|
1010
|
+
prop: e,
|
|
1011
|
+
themeKey: "borders",
|
|
1012
|
+
transform: t
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
var rt = L("border", I), it = L("borderTop", I), at = L("borderRight", I), ot = L("borderBottom", I), st = L("borderLeft", I), ct = L("borderColor"), lt = L("borderTopColor"), ut = L("borderRightColor"), dt = L("borderBottomColor"), ft = L("borderLeftColor"), pt = L("outline", I), mt = L("outlineColor"), ht = (e) => {
|
|
1016
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1017
|
+
let t = Ye(e.theme, "shape.borderRadius", 4, "borderRadius");
|
|
1018
|
+
return M(e, e.borderRadius, (e) => ({ borderRadius: Ze(t, e) }));
|
|
1019
|
+
}
|
|
1020
|
+
return null;
|
|
1021
|
+
};
|
|
1022
|
+
ht.propTypes = process.env.NODE_ENV === "production" ? {} : { borderRadius: j }, ht.filterProps = ["borderRadius"], nt(rt, it, at, ot, st, ct, lt, ut, dt, ft, ht, pt, mt);
|
|
1023
|
+
//#endregion
|
|
1024
|
+
//#region node_modules/@mui/system/esm/cssGrid/cssGrid.js
|
|
1025
|
+
var gt = (e) => {
|
|
1026
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
1027
|
+
let t = Ye(e.theme, "spacing", 8, "gap");
|
|
1028
|
+
return M(e, e.gap, (e) => ({ gap: Ze(t, e) }));
|
|
1029
|
+
}
|
|
1030
|
+
return null;
|
|
1031
|
+
};
|
|
1032
|
+
gt.propTypes = process.env.NODE_ENV === "production" ? {} : { gap: j }, gt.filterProps = ["gap"];
|
|
1033
|
+
var _t = (e) => {
|
|
1034
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1035
|
+
let t = Ye(e.theme, "spacing", 8, "columnGap");
|
|
1036
|
+
return M(e, e.columnGap, (e) => ({ columnGap: Ze(t, e) }));
|
|
1037
|
+
}
|
|
1038
|
+
return null;
|
|
1039
|
+
};
|
|
1040
|
+
_t.propTypes = process.env.NODE_ENV === "production" ? {} : { columnGap: j }, _t.filterProps = ["columnGap"];
|
|
1041
|
+
var vt = (e) => {
|
|
1042
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1043
|
+
let t = Ye(e.theme, "spacing", 8, "rowGap");
|
|
1044
|
+
return M(e, e.rowGap, (e) => ({ rowGap: Ze(t, e) }));
|
|
1045
|
+
}
|
|
1046
|
+
return null;
|
|
1047
|
+
};
|
|
1048
|
+
vt.propTypes = process.env.NODE_ENV === "production" ? {} : { rowGap: j }, vt.filterProps = ["rowGap"], nt(gt, _t, vt, N({ prop: "gridColumn" }), N({ prop: "gridRow" }), N({ prop: "gridAutoFlow" }), N({ prop: "gridAutoColumns" }), N({ prop: "gridAutoRows" }), N({ prop: "gridTemplateColumns" }), N({ prop: "gridTemplateRows" }), N({ prop: "gridTemplateAreas" }), N({ prop: "gridArea" }));
|
|
1049
|
+
//#endregion
|
|
1050
|
+
//#region node_modules/@mui/system/esm/palette/palette.js
|
|
1051
|
+
function R(e, t) {
|
|
1052
|
+
return t === "grey" ? t : e;
|
|
1053
|
+
}
|
|
1054
|
+
nt(N({
|
|
1055
|
+
prop: "color",
|
|
1056
|
+
themeKey: "palette",
|
|
1057
|
+
transform: R
|
|
1058
|
+
}), N({
|
|
1059
|
+
prop: "bgcolor",
|
|
1060
|
+
cssProperty: "backgroundColor",
|
|
1061
|
+
themeKey: "palette",
|
|
1062
|
+
transform: R
|
|
1063
|
+
}), N({
|
|
1064
|
+
prop: "backgroundColor",
|
|
1065
|
+
themeKey: "palette",
|
|
1066
|
+
transform: R
|
|
1067
|
+
}));
|
|
1068
|
+
//#endregion
|
|
1069
|
+
//#region node_modules/@mui/system/esm/sizing/sizing.js
|
|
1070
|
+
function z(e) {
|
|
1071
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1072
|
+
}
|
|
1073
|
+
var yt = N({
|
|
1074
|
+
prop: "width",
|
|
1075
|
+
transform: z
|
|
1076
|
+
}), bt = (e) => e.maxWidth !== void 0 && e.maxWidth !== null ? M(e, e.maxWidth, (t) => {
|
|
1077
|
+
let n = e.theme?.breakpoints?.values?.[t] || Pe[t];
|
|
1078
|
+
return n ? e.theme?.breakpoints?.unit === "px" ? { maxWidth: n } : { maxWidth: `${n}${e.theme.breakpoints.unit}` } : { maxWidth: z(t) };
|
|
1079
|
+
}) : null;
|
|
1080
|
+
bt.filterProps = ["maxWidth"];
|
|
1081
|
+
var xt = N({
|
|
1082
|
+
prop: "minWidth",
|
|
1083
|
+
transform: z
|
|
1084
|
+
}), St = N({
|
|
1085
|
+
prop: "height",
|
|
1086
|
+
transform: z
|
|
1087
|
+
}), Ct = N({
|
|
1088
|
+
prop: "maxHeight",
|
|
1089
|
+
transform: z
|
|
1090
|
+
}), wt = N({
|
|
1091
|
+
prop: "minHeight",
|
|
1092
|
+
transform: z
|
|
1093
|
+
});
|
|
1094
|
+
N({
|
|
1095
|
+
prop: "size",
|
|
1096
|
+
cssProperty: "width",
|
|
1097
|
+
transform: z
|
|
1098
|
+
}), N({
|
|
1099
|
+
prop: "size",
|
|
1100
|
+
cssProperty: "height",
|
|
1101
|
+
transform: z
|
|
1102
|
+
}), nt(yt, bt, xt, St, Ct, wt, N({ prop: "boxSizing" }));
|
|
1103
|
+
//#endregion
|
|
1104
|
+
//#region node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js
|
|
1105
|
+
var Tt = {
|
|
1106
|
+
border: {
|
|
1107
|
+
themeKey: "borders",
|
|
1108
|
+
transform: I
|
|
1109
|
+
},
|
|
1110
|
+
borderTop: {
|
|
1111
|
+
themeKey: "borders",
|
|
1112
|
+
transform: I
|
|
1113
|
+
},
|
|
1114
|
+
borderRight: {
|
|
1115
|
+
themeKey: "borders",
|
|
1116
|
+
transform: I
|
|
1117
|
+
},
|
|
1118
|
+
borderBottom: {
|
|
1119
|
+
themeKey: "borders",
|
|
1120
|
+
transform: I
|
|
1121
|
+
},
|
|
1122
|
+
borderLeft: {
|
|
1123
|
+
themeKey: "borders",
|
|
1124
|
+
transform: I
|
|
1125
|
+
},
|
|
1126
|
+
borderColor: { themeKey: "palette" },
|
|
1127
|
+
borderTopColor: { themeKey: "palette" },
|
|
1128
|
+
borderRightColor: { themeKey: "palette" },
|
|
1129
|
+
borderBottomColor: { themeKey: "palette" },
|
|
1130
|
+
borderLeftColor: { themeKey: "palette" },
|
|
1131
|
+
outline: {
|
|
1132
|
+
themeKey: "borders",
|
|
1133
|
+
transform: I
|
|
1134
|
+
},
|
|
1135
|
+
outlineColor: { themeKey: "palette" },
|
|
1136
|
+
borderRadius: {
|
|
1137
|
+
themeKey: "shape.borderRadius",
|
|
1138
|
+
style: ht
|
|
1139
|
+
},
|
|
1140
|
+
color: {
|
|
1141
|
+
themeKey: "palette",
|
|
1142
|
+
transform: R
|
|
1143
|
+
},
|
|
1144
|
+
bgcolor: {
|
|
1145
|
+
themeKey: "palette",
|
|
1146
|
+
cssProperty: "backgroundColor",
|
|
1147
|
+
transform: R
|
|
1148
|
+
},
|
|
1149
|
+
backgroundColor: {
|
|
1150
|
+
themeKey: "palette",
|
|
1151
|
+
transform: R
|
|
1152
|
+
},
|
|
1153
|
+
p: { style: F },
|
|
1154
|
+
pt: { style: F },
|
|
1155
|
+
pr: { style: F },
|
|
1156
|
+
pb: { style: F },
|
|
1157
|
+
pl: { style: F },
|
|
1158
|
+
px: { style: F },
|
|
1159
|
+
py: { style: F },
|
|
1160
|
+
padding: { style: F },
|
|
1161
|
+
paddingTop: { style: F },
|
|
1162
|
+
paddingRight: { style: F },
|
|
1163
|
+
paddingBottom: { style: F },
|
|
1164
|
+
paddingLeft: { style: F },
|
|
1165
|
+
paddingX: { style: F },
|
|
1166
|
+
paddingY: { style: F },
|
|
1167
|
+
paddingInline: { style: F },
|
|
1168
|
+
paddingInlineStart: { style: F },
|
|
1169
|
+
paddingInlineEnd: { style: F },
|
|
1170
|
+
paddingBlock: { style: F },
|
|
1171
|
+
paddingBlockStart: { style: F },
|
|
1172
|
+
paddingBlockEnd: { style: F },
|
|
1173
|
+
m: { style: P },
|
|
1174
|
+
mt: { style: P },
|
|
1175
|
+
mr: { style: P },
|
|
1176
|
+
mb: { style: P },
|
|
1177
|
+
ml: { style: P },
|
|
1178
|
+
mx: { style: P },
|
|
1179
|
+
my: { style: P },
|
|
1180
|
+
margin: { style: P },
|
|
1181
|
+
marginTop: { style: P },
|
|
1182
|
+
marginRight: { style: P },
|
|
1183
|
+
marginBottom: { style: P },
|
|
1184
|
+
marginLeft: { style: P },
|
|
1185
|
+
marginX: { style: P },
|
|
1186
|
+
marginY: { style: P },
|
|
1187
|
+
marginInline: { style: P },
|
|
1188
|
+
marginInlineStart: { style: P },
|
|
1189
|
+
marginInlineEnd: { style: P },
|
|
1190
|
+
marginBlock: { style: P },
|
|
1191
|
+
marginBlockStart: { style: P },
|
|
1192
|
+
marginBlockEnd: { style: P },
|
|
1193
|
+
displayPrint: {
|
|
1194
|
+
cssProperty: !1,
|
|
1195
|
+
transform: (e) => ({ "@media print": { display: e } })
|
|
1196
|
+
},
|
|
1197
|
+
display: {},
|
|
1198
|
+
overflow: {},
|
|
1199
|
+
textOverflow: {},
|
|
1200
|
+
visibility: {},
|
|
1201
|
+
whiteSpace: {},
|
|
1202
|
+
flexBasis: {},
|
|
1203
|
+
flexDirection: {},
|
|
1204
|
+
flexWrap: {},
|
|
1205
|
+
justifyContent: {},
|
|
1206
|
+
alignItems: {},
|
|
1207
|
+
alignContent: {},
|
|
1208
|
+
order: {},
|
|
1209
|
+
flex: {},
|
|
1210
|
+
flexGrow: {},
|
|
1211
|
+
flexShrink: {},
|
|
1212
|
+
alignSelf: {},
|
|
1213
|
+
justifyItems: {},
|
|
1214
|
+
justifySelf: {},
|
|
1215
|
+
gap: { style: gt },
|
|
1216
|
+
rowGap: { style: vt },
|
|
1217
|
+
columnGap: { style: _t },
|
|
1218
|
+
gridColumn: {},
|
|
1219
|
+
gridRow: {},
|
|
1220
|
+
gridAutoFlow: {},
|
|
1221
|
+
gridAutoColumns: {},
|
|
1222
|
+
gridAutoRows: {},
|
|
1223
|
+
gridTemplateColumns: {},
|
|
1224
|
+
gridTemplateRows: {},
|
|
1225
|
+
gridTemplateAreas: {},
|
|
1226
|
+
gridArea: {},
|
|
1227
|
+
position: {},
|
|
1228
|
+
zIndex: { themeKey: "zIndex" },
|
|
1229
|
+
top: {},
|
|
1230
|
+
right: {},
|
|
1231
|
+
bottom: {},
|
|
1232
|
+
left: {},
|
|
1233
|
+
boxShadow: { themeKey: "shadows" },
|
|
1234
|
+
width: { transform: z },
|
|
1235
|
+
maxWidth: { style: bt },
|
|
1236
|
+
minWidth: { transform: z },
|
|
1237
|
+
height: { transform: z },
|
|
1238
|
+
maxHeight: { transform: z },
|
|
1239
|
+
minHeight: { transform: z },
|
|
1240
|
+
boxSizing: {},
|
|
1241
|
+
font: { themeKey: "font" },
|
|
1242
|
+
fontFamily: { themeKey: "typography" },
|
|
1243
|
+
fontSize: { themeKey: "typography" },
|
|
1244
|
+
fontStyle: { themeKey: "typography" },
|
|
1245
|
+
fontWeight: { themeKey: "typography" },
|
|
1246
|
+
letterSpacing: {},
|
|
1247
|
+
textTransform: {},
|
|
1248
|
+
lineHeight: {},
|
|
1249
|
+
textAlign: {},
|
|
1250
|
+
typography: {
|
|
1251
|
+
cssProperty: !1,
|
|
1252
|
+
themeKey: "typography"
|
|
1253
|
+
}
|
|
1254
|
+
};
|
|
1255
|
+
//#endregion
|
|
1256
|
+
//#region node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js
|
|
1257
|
+
function Et(...e) {
|
|
1258
|
+
let t = e.reduce((e, t) => e.concat(Object.keys(t)), []), n = new Set(t);
|
|
1259
|
+
return e.every((e) => n.size === Object.keys(e).length);
|
|
1260
|
+
}
|
|
1261
|
+
function Dt(e, t) {
|
|
1262
|
+
return typeof e == "function" ? e(t) : e;
|
|
1263
|
+
}
|
|
1264
|
+
function Ot() {
|
|
1265
|
+
function e(e, t, n, r) {
|
|
1266
|
+
let i = {
|
|
1267
|
+
[e]: t,
|
|
1268
|
+
theme: n
|
|
1269
|
+
}, a = r[e];
|
|
1270
|
+
if (!a) return { [e]: t };
|
|
1271
|
+
let { cssProperty: o = e, themeKey: s, transform: c, style: l } = a;
|
|
1272
|
+
if (t == null) return null;
|
|
1273
|
+
if (s === "typography" && t === "inherit") return { [e]: t };
|
|
1274
|
+
let u = ze(n, s) || {};
|
|
1275
|
+
return l ? l(i) : M(i, t, (t) => {
|
|
1276
|
+
let n = Be(u, c, t);
|
|
1277
|
+
return t === n && typeof t == "string" && (n = Be(u, c, `${e}${t === "default" ? "" : ue(t)}`, t)), o === !1 ? n : { [o]: n };
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
function t(n) {
|
|
1281
|
+
let { sx: r, theme: i = {}, nested: a } = n || {};
|
|
1282
|
+
if (!r) return null;
|
|
1283
|
+
let o = i.unstable_sxConfig ?? Tt;
|
|
1284
|
+
function s(n) {
|
|
1285
|
+
let r = n;
|
|
1286
|
+
if (typeof n == "function") r = n(i);
|
|
1287
|
+
else if (typeof n != "object") return n;
|
|
1288
|
+
if (!r) return null;
|
|
1289
|
+
let s = Le(i.breakpoints), c = Object.keys(s), l = s;
|
|
1290
|
+
return Object.keys(r).forEach((n) => {
|
|
1291
|
+
let a = Dt(r[n], i);
|
|
1292
|
+
if (a != null) if (typeof a == "object") if (o[n]) l = ke(l, e(n, a, i, o));
|
|
1293
|
+
else {
|
|
1294
|
+
let e = M({ theme: i }, a, (e) => ({ [n]: e }));
|
|
1295
|
+
Et(e, a) ? l[n] = t({
|
|
1296
|
+
sx: a,
|
|
1297
|
+
theme: i,
|
|
1298
|
+
nested: !0
|
|
1299
|
+
}) : l = ke(l, e);
|
|
1300
|
+
}
|
|
1301
|
+
else l = ke(l, e(n, a, i, o));
|
|
1302
|
+
}), !a && i.modularCssLayers ? { "@layer sx": Ae(i, Re(c, l)) } : Ae(i, Re(c, l));
|
|
1303
|
+
}
|
|
1304
|
+
return Array.isArray(r) ? r.map(s) : s(r);
|
|
1305
|
+
}
|
|
1306
|
+
return t;
|
|
1307
|
+
}
|
|
1308
|
+
var B = Ot();
|
|
1309
|
+
B.filterProps = ["sx"];
|
|
1310
|
+
//#endregion
|
|
1311
|
+
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
1312
|
+
function kt(e) {
|
|
1313
|
+
for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= n >>> 24, t = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
1314
|
+
switch (i) {
|
|
1315
|
+
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
1316
|
+
case 2: t ^= (e.charCodeAt(r + 1) & 255) << 8;
|
|
1317
|
+
case 1: t ^= e.charCodeAt(r) & 255, t = (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
1318
|
+
}
|
|
1319
|
+
return t ^= t >>> 13, t = (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
1320
|
+
}
|
|
1321
|
+
//#endregion
|
|
1322
|
+
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
1323
|
+
var At = {
|
|
1324
|
+
animationIterationCount: 1,
|
|
1325
|
+
aspectRatio: 1,
|
|
1326
|
+
borderImageOutset: 1,
|
|
1327
|
+
borderImageSlice: 1,
|
|
1328
|
+
borderImageWidth: 1,
|
|
1329
|
+
boxFlex: 1,
|
|
1330
|
+
boxFlexGroup: 1,
|
|
1331
|
+
boxOrdinalGroup: 1,
|
|
1332
|
+
columnCount: 1,
|
|
1333
|
+
columns: 1,
|
|
1334
|
+
flex: 1,
|
|
1335
|
+
flexGrow: 1,
|
|
1336
|
+
flexPositive: 1,
|
|
1337
|
+
flexShrink: 1,
|
|
1338
|
+
flexNegative: 1,
|
|
1339
|
+
flexOrder: 1,
|
|
1340
|
+
gridRow: 1,
|
|
1341
|
+
gridRowEnd: 1,
|
|
1342
|
+
gridRowSpan: 1,
|
|
1343
|
+
gridRowStart: 1,
|
|
1344
|
+
gridColumn: 1,
|
|
1345
|
+
gridColumnEnd: 1,
|
|
1346
|
+
gridColumnSpan: 1,
|
|
1347
|
+
gridColumnStart: 1,
|
|
1348
|
+
msGridRow: 1,
|
|
1349
|
+
msGridRowSpan: 1,
|
|
1350
|
+
msGridColumn: 1,
|
|
1351
|
+
msGridColumnSpan: 1,
|
|
1352
|
+
fontWeight: 1,
|
|
1353
|
+
lineHeight: 1,
|
|
1354
|
+
opacity: 1,
|
|
1355
|
+
order: 1,
|
|
1356
|
+
orphans: 1,
|
|
1357
|
+
scale: 1,
|
|
1358
|
+
tabSize: 1,
|
|
1359
|
+
widows: 1,
|
|
1360
|
+
zIndex: 1,
|
|
1361
|
+
zoom: 1,
|
|
1362
|
+
WebkitLineClamp: 1,
|
|
1363
|
+
fillOpacity: 1,
|
|
1364
|
+
floodOpacity: 1,
|
|
1365
|
+
stopOpacity: 1,
|
|
1366
|
+
strokeDasharray: 1,
|
|
1367
|
+
strokeDashoffset: 1,
|
|
1368
|
+
strokeMiterlimit: 1,
|
|
1369
|
+
strokeOpacity: 1,
|
|
1370
|
+
strokeWidth: 1
|
|
1371
|
+
};
|
|
1372
|
+
//#endregion
|
|
1373
|
+
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
1374
|
+
function jt(e) {
|
|
1375
|
+
var t = Object.create(null);
|
|
1376
|
+
return function(n) {
|
|
1377
|
+
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
//#endregion
|
|
1381
|
+
//#region node_modules/@emotion/serialize/dist/emotion-serialize.esm.js
|
|
1382
|
+
var Mt = !1, Nt = /[A-Z]|^ms/g, Pt = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ft = function(e) {
|
|
1383
|
+
return e.charCodeAt(1) === 45;
|
|
1384
|
+
}, It = function(e) {
|
|
1385
|
+
return e != null && typeof e != "boolean";
|
|
1386
|
+
}, Lt = /* @__PURE__ */ jt(function(e) {
|
|
1387
|
+
return Ft(e) ? e : e.replace(Nt, "-$&").toLowerCase();
|
|
1388
|
+
}), Rt = function(e, t) {
|
|
1389
|
+
switch (e) {
|
|
1390
|
+
case "animation":
|
|
1391
|
+
case "animationName": if (typeof t == "string") return t.replace(Pt, function(e, t, n) {
|
|
1392
|
+
return V = {
|
|
1393
|
+
name: t,
|
|
1394
|
+
styles: n,
|
|
1395
|
+
next: V
|
|
1396
|
+
}, t;
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
return At[e] !== 1 && !Ft(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1400
|
+
}, zt = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1401
|
+
function Bt(e, t, n) {
|
|
1402
|
+
if (n == null) return "";
|
|
1403
|
+
var r = n;
|
|
1404
|
+
if (r.__emotion_styles !== void 0) return r;
|
|
1405
|
+
switch (typeof n) {
|
|
1406
|
+
case "boolean": return "";
|
|
1407
|
+
case "object":
|
|
1408
|
+
var i = n;
|
|
1409
|
+
if (i.anim === 1) return V = {
|
|
1410
|
+
name: i.name,
|
|
1411
|
+
styles: i.styles,
|
|
1412
|
+
next: V
|
|
1413
|
+
}, i.name;
|
|
1414
|
+
var a = n;
|
|
1415
|
+
if (a.styles !== void 0) {
|
|
1416
|
+
var o = a.next;
|
|
1417
|
+
if (o !== void 0) for (; o !== void 0;) V = {
|
|
1418
|
+
name: o.name,
|
|
1419
|
+
styles: o.styles,
|
|
1420
|
+
next: V
|
|
1421
|
+
}, o = o.next;
|
|
1422
|
+
return a.styles + ";";
|
|
1423
|
+
}
|
|
1424
|
+
return Vt(e, t, n);
|
|
1425
|
+
case "function":
|
|
1426
|
+
if (e !== void 0) {
|
|
1427
|
+
var s = V, c = n(e);
|
|
1428
|
+
return V = s, Bt(e, t, c);
|
|
1429
|
+
}
|
|
1430
|
+
break;
|
|
1431
|
+
}
|
|
1432
|
+
var l = n;
|
|
1433
|
+
if (t == null) return l;
|
|
1434
|
+
var u = t[l];
|
|
1435
|
+
return u === void 0 ? l : u;
|
|
1436
|
+
}
|
|
1437
|
+
function Vt(e, t, n) {
|
|
1438
|
+
var r = "";
|
|
1439
|
+
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += Bt(e, t, n[i]) + ";";
|
|
1440
|
+
else for (var a in n) {
|
|
1441
|
+
var o = n[a];
|
|
1442
|
+
if (typeof o != "object") {
|
|
1443
|
+
var s = o;
|
|
1444
|
+
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" : It(s) && (r += Lt(a) + ":" + Rt(a, s) + ";");
|
|
1445
|
+
} else {
|
|
1446
|
+
if (a === "NO_COMPONENT_SELECTOR" && Mt) throw Error(zt);
|
|
1447
|
+
if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++) It(o[c]) && (r += Lt(a) + ":" + Rt(a, o[c]) + ";");
|
|
1448
|
+
else {
|
|
1449
|
+
var l = Bt(e, t, o);
|
|
1450
|
+
switch (a) {
|
|
1451
|
+
case "animation":
|
|
1452
|
+
case "animationName":
|
|
1453
|
+
r += Lt(a) + ":" + l + ";";
|
|
1454
|
+
break;
|
|
1455
|
+
default: r += a + "{" + l + "}";
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
return r;
|
|
1461
|
+
}
|
|
1462
|
+
var Ht = /label:\s*([^\s;{]+)\s*(;|$)/g, V;
|
|
1463
|
+
function Ut(e, t, n) {
|
|
1464
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
1465
|
+
var r = !0, i = "";
|
|
1466
|
+
V = void 0;
|
|
1467
|
+
var a = e[0];
|
|
1468
|
+
a == null || a.raw === void 0 ? (r = !1, i += Bt(n, t, a)) : i += a[0];
|
|
1469
|
+
for (var o = 1; o < e.length; o++) i += Bt(n, t, e[o]), r && (i += a[o]);
|
|
1470
|
+
Ht.lastIndex = 0;
|
|
1471
|
+
for (var s = "", c; (c = Ht.exec(i)) !== null;) s += "-" + c[1];
|
|
1472
|
+
return {
|
|
1473
|
+
name: kt(i) + s,
|
|
1474
|
+
styles: i,
|
|
1475
|
+
next: V
|
|
1476
|
+
};
|
|
1477
|
+
}
|
|
1478
|
+
//#endregion
|
|
1479
|
+
//#region node_modules/@mui/styled-engine/esm/index.js
|
|
1480
|
+
function Wt(e, t) {
|
|
1481
|
+
let n = l(e, t);
|
|
1482
|
+
return process.env.NODE_ENV === "production" ? n : (...t) => {
|
|
1483
|
+
let r = typeof e == "string" ? `"${e}"` : "component";
|
|
1484
|
+
return t.length === 0 ? console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`, "You must provide a `styles` argument: `styled(\"div\")(styleYouForgotToPass)`."].join("\n")) : t.some((e) => e === void 0) && console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`), n(...t);
|
|
1485
|
+
};
|
|
1486
|
+
}
|
|
1487
|
+
function Gt(e, t) {
|
|
1488
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
1489
|
+
}
|
|
1490
|
+
var Kt = [];
|
|
1491
|
+
function H(e) {
|
|
1492
|
+
return Kt[0] = e, Ut(Kt);
|
|
1493
|
+
}
|
|
1494
|
+
//#endregion
|
|
1495
|
+
//#region node_modules/@mui/system/esm/createBreakpoints/createBreakpoints.js
|
|
1496
|
+
var qt = (e) => {
|
|
1497
|
+
let t = Object.keys(e).map((t) => ({
|
|
1498
|
+
key: t,
|
|
1499
|
+
val: e[t]
|
|
1500
|
+
})) || [];
|
|
1501
|
+
return t.sort((e, t) => e.val - t.val), t.reduce((e, t) => ({
|
|
1502
|
+
...e,
|
|
1503
|
+
[t.key]: t.val
|
|
1504
|
+
}), {});
|
|
1505
|
+
};
|
|
1506
|
+
function Jt(e) {
|
|
1507
|
+
let { values: t = {
|
|
1508
|
+
xs: 0,
|
|
1509
|
+
sm: 600,
|
|
1510
|
+
md: 900,
|
|
1511
|
+
lg: 1200,
|
|
1512
|
+
xl: 1536
|
|
1513
|
+
}, unit: n = "px", step: r = 5, ...i } = e, a = qt(t), o = Object.keys(a);
|
|
1514
|
+
function s(e) {
|
|
1515
|
+
return `@media (min-width:${typeof t[e] == "number" ? t[e] : e}${n})`;
|
|
1516
|
+
}
|
|
1517
|
+
function c(e) {
|
|
1518
|
+
return `@media (max-width:${(typeof t[e] == "number" ? t[e] : e) - r / 100}${n})`;
|
|
1519
|
+
}
|
|
1520
|
+
function l(e, i) {
|
|
1521
|
+
let a = o.indexOf(i);
|
|
1522
|
+
return `@media (min-width:${typeof t[e] == "number" ? t[e] : e}${n}) and (max-width:${(a !== -1 && typeof t[o[a]] == "number" ? t[o[a]] : i) - r / 100}${n})`;
|
|
1523
|
+
}
|
|
1524
|
+
function u(e) {
|
|
1525
|
+
return o.indexOf(e) + 1 < o.length ? l(e, o[o.indexOf(e) + 1]) : s(e);
|
|
1526
|
+
}
|
|
1527
|
+
function d(e) {
|
|
1528
|
+
let t = o.indexOf(e);
|
|
1529
|
+
return t === 0 ? s(o[1]) : t === o.length - 1 ? c(o[t]) : l(e, o[o.indexOf(e) + 1]).replace("@media", "@media not all and");
|
|
1530
|
+
}
|
|
1531
|
+
return {
|
|
1532
|
+
keys: o,
|
|
1533
|
+
values: a,
|
|
1534
|
+
up: s,
|
|
1535
|
+
down: c,
|
|
1536
|
+
between: l,
|
|
1537
|
+
only: u,
|
|
1538
|
+
not: d,
|
|
1539
|
+
unit: n,
|
|
1540
|
+
...i
|
|
1541
|
+
};
|
|
1542
|
+
}
|
|
1543
|
+
//#endregion
|
|
1544
|
+
//#region node_modules/@mui/system/esm/createTheme/shape.js
|
|
1545
|
+
var Yt = { borderRadius: 4 };
|
|
1546
|
+
//#endregion
|
|
1547
|
+
//#region node_modules/@mui/system/esm/createTheme/createSpacing.js
|
|
1548
|
+
function Xt(e = 8, t = Xe({ spacing: e })) {
|
|
1549
|
+
if (e.mui) return e;
|
|
1550
|
+
let n = (...e) => (process.env.NODE_ENV !== "production" && (e.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)), (e.length === 0 ? [1] : e).map((e) => {
|
|
1551
|
+
let n = t(e);
|
|
1552
|
+
return typeof n == "number" ? `${n}px` : n;
|
|
1553
|
+
}).join(" "));
|
|
1554
|
+
return n.mui = !0, n;
|
|
1555
|
+
}
|
|
1556
|
+
//#endregion
|
|
1557
|
+
//#region node_modules/@mui/system/esm/createTheme/applyStyles.js
|
|
1558
|
+
function Zt(e, t) {
|
|
1559
|
+
let n = this;
|
|
1560
|
+
if (n.vars) {
|
|
1561
|
+
if (!n.colorSchemes?.[e] || typeof n.getColorSchemeSelector != "function") return {};
|
|
1562
|
+
let r = n.getColorSchemeSelector(e);
|
|
1563
|
+
return r === "&" ? t : ((r.includes("data-") || r.includes(".")) && (r = `*:where(${r.replace(/\s*&$/, "")}) &`), { [r]: t });
|
|
1564
|
+
}
|
|
1565
|
+
return n.palette.mode === e ? t : {};
|
|
1566
|
+
}
|
|
1567
|
+
//#endregion
|
|
1568
|
+
//#region node_modules/@mui/system/esm/createTheme/createTheme.js
|
|
1569
|
+
function Qt(e = {}, ...t) {
|
|
1570
|
+
let { breakpoints: n = {}, palette: r = {}, spacing: i, shape: a = {}, ...o } = e, s = Jt(n), c = Xt(i), l = k({
|
|
1571
|
+
breakpoints: s,
|
|
1572
|
+
direction: "ltr",
|
|
1573
|
+
components: {},
|
|
1574
|
+
palette: {
|
|
1575
|
+
mode: "light",
|
|
1576
|
+
...r
|
|
1577
|
+
},
|
|
1578
|
+
spacing: c,
|
|
1579
|
+
shape: {
|
|
1580
|
+
...Yt,
|
|
1581
|
+
...a
|
|
1582
|
+
}
|
|
1583
|
+
}, o);
|
|
1584
|
+
return l = Ne(l), l.applyStyles = Zt, l = t.reduce((e, t) => k(e, t), l), l.unstable_sxConfig = {
|
|
1585
|
+
...Tt,
|
|
1586
|
+
...o?.unstable_sxConfig
|
|
1587
|
+
}, l.unstable_sx = function(e) {
|
|
1588
|
+
return B({
|
|
1589
|
+
sx: e,
|
|
1590
|
+
theme: this
|
|
1591
|
+
});
|
|
1592
|
+
}, l;
|
|
1593
|
+
}
|
|
1594
|
+
//#endregion
|
|
1595
|
+
//#region node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js
|
|
1596
|
+
var $t = {
|
|
1597
|
+
active: "active",
|
|
1598
|
+
checked: "checked",
|
|
1599
|
+
completed: "completed",
|
|
1600
|
+
disabled: "disabled",
|
|
1601
|
+
error: "error",
|
|
1602
|
+
expanded: "expanded",
|
|
1603
|
+
focused: "focused",
|
|
1604
|
+
focusVisible: "focusVisible",
|
|
1605
|
+
open: "open",
|
|
1606
|
+
readOnly: "readOnly",
|
|
1607
|
+
required: "required",
|
|
1608
|
+
selected: "selected"
|
|
1609
|
+
};
|
|
1610
|
+
function en(e, t, n = "Mui") {
|
|
1611
|
+
let r = $t[t];
|
|
1612
|
+
return r ? `${n}-${r}` : `${le.generate(e)}-${t}`;
|
|
1613
|
+
}
|
|
1614
|
+
//#endregion
|
|
1615
|
+
//#region node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js
|
|
1616
|
+
function tn(e, t, n = "Mui") {
|
|
1617
|
+
let r = {};
|
|
1618
|
+
return t.forEach((t) => {
|
|
1619
|
+
r[t] = en(e, t, n);
|
|
1620
|
+
}), r;
|
|
1621
|
+
}
|
|
1622
|
+
//#endregion
|
|
1623
|
+
//#region node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js
|
|
1624
|
+
function nn(e, t = "") {
|
|
1625
|
+
return e.displayName || e.name || t;
|
|
1626
|
+
}
|
|
1627
|
+
function rn(e, t, n) {
|
|
1628
|
+
let r = nn(t);
|
|
1629
|
+
return e.displayName || (r === "" ? n : `${n}(${r})`);
|
|
1630
|
+
}
|
|
1631
|
+
function an(e) {
|
|
1632
|
+
if (e != null) {
|
|
1633
|
+
if (typeof e == "string") return e;
|
|
1634
|
+
if (typeof e == "function") return nn(e, "Component");
|
|
1635
|
+
if (typeof e == "object") switch (e.$$typeof) {
|
|
1636
|
+
case De.ForwardRef: return rn(e, e.render, "ForwardRef");
|
|
1637
|
+
case De.Memo: return rn(e, e.type, "memo");
|
|
1638
|
+
default: return;
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
//#endregion
|
|
1643
|
+
//#region node_modules/@mui/system/esm/preprocessStyles.js
|
|
1644
|
+
function on(e) {
|
|
1645
|
+
let { variants: t, ...n } = e, r = {
|
|
1646
|
+
variants: t,
|
|
1647
|
+
style: H(n),
|
|
1648
|
+
isProcessed: !0
|
|
1649
|
+
};
|
|
1650
|
+
return r.style === n || t && t.forEach((e) => {
|
|
1651
|
+
typeof e.style != "function" && (e.style = H(e.style));
|
|
1652
|
+
}), r;
|
|
1653
|
+
}
|
|
1654
|
+
//#endregion
|
|
1655
|
+
//#region node_modules/@mui/system/esm/createStyled/createStyled.js
|
|
1656
|
+
var sn = Qt();
|
|
1657
|
+
function cn(e) {
|
|
1658
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
1659
|
+
}
|
|
1660
|
+
function U(e, t) {
|
|
1661
|
+
return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
|
|
1662
|
+
}
|
|
1663
|
+
function ln(e) {
|
|
1664
|
+
return e ? (t, n) => n[e] : null;
|
|
1665
|
+
}
|
|
1666
|
+
function un(e, t, n) {
|
|
1667
|
+
e.theme = gn(e.theme) ? n : e.theme[t] || e.theme;
|
|
1668
|
+
}
|
|
1669
|
+
function dn(e, t, n) {
|
|
1670
|
+
let r = typeof t == "function" ? t(e) : t;
|
|
1671
|
+
if (Array.isArray(r)) return r.flatMap((t) => dn(e, t, n));
|
|
1672
|
+
if (Array.isArray(r?.variants)) {
|
|
1673
|
+
let t;
|
|
1674
|
+
if (r.isProcessed) t = n ? U(r.style, n) : r.style;
|
|
1675
|
+
else {
|
|
1676
|
+
let { variants: e, ...i } = r;
|
|
1677
|
+
t = n ? U(H(i), n) : i;
|
|
1678
|
+
}
|
|
1679
|
+
return fn(e, r.variants, [t], n);
|
|
1680
|
+
}
|
|
1681
|
+
return r?.isProcessed ? n ? U(H(r.style), n) : r.style : n ? U(H(r), n) : r;
|
|
1682
|
+
}
|
|
1683
|
+
function fn(e, t, n = [], r = void 0) {
|
|
1684
|
+
let i;
|
|
1685
|
+
variantLoop: for (let a = 0; a < t.length; a += 1) {
|
|
1686
|
+
let o = t[a];
|
|
1687
|
+
if (typeof o.props == "function") {
|
|
1688
|
+
if (i ??= {
|
|
1689
|
+
...e,
|
|
1690
|
+
...e.ownerState,
|
|
1691
|
+
ownerState: e.ownerState
|
|
1692
|
+
}, !o.props(i)) continue;
|
|
1693
|
+
} else for (let t in o.props) if (e[t] !== o.props[t] && e.ownerState?.[t] !== o.props[t]) continue variantLoop;
|
|
1694
|
+
typeof o.style == "function" ? (i ??= {
|
|
1695
|
+
...e,
|
|
1696
|
+
...e.ownerState,
|
|
1697
|
+
ownerState: e.ownerState
|
|
1698
|
+
}, n.push(r ? U(H(o.style(i)), r) : o.style(i))) : n.push(r ? U(H(o.style), r) : o.style);
|
|
1699
|
+
}
|
|
1700
|
+
return n;
|
|
1701
|
+
}
|
|
1702
|
+
function pn(e = {}) {
|
|
1703
|
+
let { themeId: t, defaultTheme: n = sn, rootShouldForwardProp: r = cn, slotShouldForwardProp: i = cn } = e;
|
|
1704
|
+
function a(e) {
|
|
1705
|
+
un(e, t, n);
|
|
1706
|
+
}
|
|
1707
|
+
return (e, t = {}) => {
|
|
1708
|
+
Gt(e, (e) => e.filter((e) => e !== B));
|
|
1709
|
+
let { name: n, slot: o, skipVariantsResolver: s, skipSx: c, overridesResolver: l = ln(vn(o)), ...u } = t, d = n && n.startsWith("Mui") || o ? "components" : "custom", f = s === void 0 ? o && o !== "Root" && o !== "root" || !1 : s, p = c || !1, m = cn;
|
|
1710
|
+
o === "Root" || o === "root" ? m = r : o ? m = i : _n(e) && (m = void 0);
|
|
1711
|
+
let h = Wt(e, {
|
|
1712
|
+
shouldForwardProp: m,
|
|
1713
|
+
label: hn(n, o),
|
|
1714
|
+
...u
|
|
1715
|
+
}), g = (e) => {
|
|
1716
|
+
if (e.__emotion_real === e) return e;
|
|
1717
|
+
if (typeof e == "function") return function(t) {
|
|
1718
|
+
return dn(t, e, t.theme.modularCssLayers ? d : void 0);
|
|
1719
|
+
};
|
|
1720
|
+
if (O(e)) {
|
|
1721
|
+
let t = on(e);
|
|
1722
|
+
return function(e) {
|
|
1723
|
+
return t.variants ? dn(e, t, e.theme.modularCssLayers ? d : void 0) : e.theme.modularCssLayers ? U(t.style, d) : t.style;
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
return e;
|
|
1727
|
+
}, _ = (...t) => {
|
|
1728
|
+
let r = [], i = t.map(g), s = [];
|
|
1729
|
+
if (r.push(a), n && l && s.push(function(e) {
|
|
1730
|
+
let t = e.theme.components?.[n]?.styleOverrides;
|
|
1731
|
+
if (!t) return null;
|
|
1732
|
+
let r = {};
|
|
1733
|
+
for (let n in t) r[n] = dn(e, t[n], e.theme.modularCssLayers ? "theme" : void 0);
|
|
1734
|
+
return l(e, r);
|
|
1735
|
+
}), n && !f && s.push(function(e) {
|
|
1736
|
+
let t = e.theme?.components?.[n]?.variants;
|
|
1737
|
+
return t ? fn(e, t, [], e.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
1738
|
+
}), p || s.push(B), Array.isArray(i[0])) {
|
|
1739
|
+
let e = i.shift(), t = Array(r.length).fill(""), n = Array(s.length).fill(""), a;
|
|
1740
|
+
a = [
|
|
1741
|
+
...t,
|
|
1742
|
+
...e,
|
|
1743
|
+
...n
|
|
1744
|
+
], a.raw = [
|
|
1745
|
+
...t,
|
|
1746
|
+
...e.raw,
|
|
1747
|
+
...n
|
|
1748
|
+
], r.unshift(a);
|
|
1749
|
+
}
|
|
1750
|
+
let c = h(...r, ...i, ...s);
|
|
1751
|
+
return e.muiName && (c.muiName = e.muiName), process.env.NODE_ENV !== "production" && (c.displayName = mn(n, o, e)), c;
|
|
1752
|
+
};
|
|
1753
|
+
return h.withConfig && (_.withConfig = h.withConfig), _;
|
|
1754
|
+
};
|
|
1755
|
+
}
|
|
1756
|
+
function mn(e, t, n) {
|
|
1757
|
+
return e ? `${e}${ue(t || "")}` : `Styled(${an(n)})`;
|
|
1758
|
+
}
|
|
1759
|
+
function hn(e, t) {
|
|
1760
|
+
let n;
|
|
1761
|
+
return process.env.NODE_ENV !== "production" && e && (n = `${e}-${vn(t || "Root")}`), n;
|
|
1762
|
+
}
|
|
1763
|
+
function gn(e) {
|
|
1764
|
+
for (let t in e) return !1;
|
|
1765
|
+
return !0;
|
|
1766
|
+
}
|
|
1767
|
+
function _n(e) {
|
|
1768
|
+
return typeof e == "string" && e.charCodeAt(0) > 96;
|
|
1769
|
+
}
|
|
1770
|
+
function vn(e) {
|
|
1771
|
+
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
1772
|
+
}
|
|
1773
|
+
//#endregion
|
|
1774
|
+
//#region node_modules/@mui/utils/esm/resolveProps/resolveProps.js
|
|
1775
|
+
function yn(e, t, n = !1) {
|
|
1776
|
+
let r = { ...t };
|
|
1777
|
+
for (let i in e) if (Object.prototype.hasOwnProperty.call(e, i)) {
|
|
1778
|
+
let a = i;
|
|
1779
|
+
if (a === "components" || a === "slots") r[a] = {
|
|
1780
|
+
...e[a],
|
|
1781
|
+
...r[a]
|
|
1782
|
+
};
|
|
1783
|
+
else if (a === "componentsProps" || a === "slotProps") {
|
|
1784
|
+
let i = e[a], o = t[a];
|
|
1785
|
+
if (!o) r[a] = i || {};
|
|
1786
|
+
else if (!i) r[a] = o;
|
|
1787
|
+
else {
|
|
1788
|
+
r[a] = { ...o };
|
|
1789
|
+
for (let e in i) if (Object.prototype.hasOwnProperty.call(i, e)) {
|
|
1790
|
+
let t = e;
|
|
1791
|
+
r[a][t] = yn(i[t], o[t], n);
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
} else a === "className" && n && t.className ? r.className = Ce(e?.className, t?.className) : a === "style" && n && t.style ? r.style = {
|
|
1795
|
+
...e?.style,
|
|
1796
|
+
...t?.style
|
|
1797
|
+
} : r[a] === void 0 && (r[a] = e[a]);
|
|
1798
|
+
}
|
|
1799
|
+
return r;
|
|
1800
|
+
}
|
|
1801
|
+
//#endregion
|
|
1802
|
+
//#region node_modules/@mui/utils/esm/clamp/clamp.js
|
|
1803
|
+
function bn(e, t = -(2 ** 53 - 1), n = 2 ** 53 - 1) {
|
|
1804
|
+
return Math.max(t, Math.min(e, n));
|
|
1805
|
+
}
|
|
1806
|
+
//#endregion
|
|
1807
|
+
//#region node_modules/@mui/system/esm/colorManipulator/colorManipulator.js
|
|
1808
|
+
function xn(e, t = 0, n = 1) {
|
|
1809
|
+
return process.env.NODE_ENV !== "production" && (e < t || e > n) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`), bn(e, t, n);
|
|
1810
|
+
}
|
|
1811
|
+
function Sn(e) {
|
|
1812
|
+
e = e.slice(1);
|
|
1813
|
+
let t = RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g"), n = e.match(t);
|
|
1814
|
+
return n && n[0].length === 1 && (n = n.map((e) => e + e)), 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.`), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((e, t) => t < 3 ? parseInt(e, 16) : Math.round(parseInt(e, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
1815
|
+
}
|
|
1816
|
+
function W(e) {
|
|
1817
|
+
if (e.type) return e;
|
|
1818
|
+
if (e.charAt(0) === "#") return W(Sn(e));
|
|
1819
|
+
let t = e.indexOf("("), n = e.substring(0, t);
|
|
1820
|
+
if (![
|
|
1821
|
+
"rgb",
|
|
1822
|
+
"rgba",
|
|
1823
|
+
"hsl",
|
|
1824
|
+
"hsla",
|
|
1825
|
+
"color"
|
|
1826
|
+
].includes(n)) throw Error(process.env.NODE_ENV === "production" ? D(9, e) : `MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);
|
|
1827
|
+
let r = e.substring(t + 1, e.length - 1), i;
|
|
1828
|
+
if (n === "color") {
|
|
1829
|
+
if (r = r.split(" "), i = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ![
|
|
1830
|
+
"srgb",
|
|
1831
|
+
"display-p3",
|
|
1832
|
+
"a98-rgb",
|
|
1833
|
+
"prophoto-rgb",
|
|
1834
|
+
"rec-2020"
|
|
1835
|
+
].includes(i)) throw Error(process.env.NODE_ENV === "production" ? D(10, i) : `MUI: unsupported \`${i}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`);
|
|
1836
|
+
} else r = r.split(",");
|
|
1837
|
+
return r = r.map((e) => parseFloat(e)), {
|
|
1838
|
+
type: n,
|
|
1839
|
+
values: r,
|
|
1840
|
+
colorSpace: i
|
|
1841
|
+
};
|
|
1842
|
+
}
|
|
1843
|
+
var Cn = (e) => {
|
|
1844
|
+
let t = W(e);
|
|
1845
|
+
return t.values.slice(0, 3).map((e, n) => t.type.includes("hsl") && n !== 0 ? `${e}%` : e).join(" ");
|
|
1846
|
+
}, wn = (e, t) => {
|
|
1847
|
+
try {
|
|
1848
|
+
return Cn(e);
|
|
1849
|
+
} catch {
|
|
1850
|
+
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
1851
|
+
}
|
|
1852
|
+
};
|
|
1853
|
+
function Tn(e) {
|
|
1854
|
+
let { type: t, colorSpace: n } = e, { values: r } = e;
|
|
1855
|
+
return t.includes("rgb") ? r = r.map((e, t) => t < 3 ? parseInt(e, 10) : e) : t.includes("hsl") && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), r = t.includes("color") ? `${n} ${r.join(" ")}` : `${r.join(", ")}`, `${t}(${r})`;
|
|
1856
|
+
}
|
|
1857
|
+
function En(e) {
|
|
1858
|
+
e = W(e);
|
|
1859
|
+
let { values: t } = e, n = t[0], r = t[1] / 100, i = t[2] / 100, a = r * Math.min(i, 1 - i), o = (e, t = (e + n / 30) % 12) => i - a * Math.max(Math.min(t - 3, 9 - t, 1), -1), s = "rgb", c = [
|
|
1860
|
+
Math.round(o(0) * 255),
|
|
1861
|
+
Math.round(o(8) * 255),
|
|
1862
|
+
Math.round(o(4) * 255)
|
|
1863
|
+
];
|
|
1864
|
+
return e.type === "hsla" && (s += "a", c.push(t[3])), Tn({
|
|
1865
|
+
type: s,
|
|
1866
|
+
values: c
|
|
1867
|
+
});
|
|
1868
|
+
}
|
|
1869
|
+
function Dn(e) {
|
|
1870
|
+
e = W(e);
|
|
1871
|
+
let t = e.type === "hsl" || e.type === "hsla" ? W(En(e)).values : e.values;
|
|
1872
|
+
return t = t.map((t) => (e.type !== "color" && (t /= 255), t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4)), Number((.2126 * t[0] + .7152 * t[1] + .0722 * t[2]).toFixed(3));
|
|
1873
|
+
}
|
|
1874
|
+
function On(e, t) {
|
|
1875
|
+
let n = Dn(e), r = Dn(t);
|
|
1876
|
+
return (Math.max(n, r) + .05) / (Math.min(n, r) + .05);
|
|
1877
|
+
}
|
|
1878
|
+
function kn(e, t) {
|
|
1879
|
+
return e = W(e), t = xn(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, Tn(e);
|
|
1880
|
+
}
|
|
1881
|
+
function G(e, t, n) {
|
|
1882
|
+
try {
|
|
1883
|
+
return kn(e, t);
|
|
1884
|
+
} catch {
|
|
1885
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
function An(e, t) {
|
|
1889
|
+
if (e = W(e), t = xn(t), e.type.includes("hsl")) e.values[2] *= 1 - t;
|
|
1890
|
+
else if (e.type.includes("rgb") || e.type.includes("color")) for (let n = 0; n < 3; n += 1) e.values[n] *= 1 - t;
|
|
1891
|
+
return Tn(e);
|
|
1892
|
+
}
|
|
1893
|
+
function K(e, t, n) {
|
|
1894
|
+
try {
|
|
1895
|
+
return An(e, t);
|
|
1896
|
+
} catch {
|
|
1897
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
function jn(e, t) {
|
|
1901
|
+
if (e = W(e), t = xn(t), e.type.includes("hsl")) e.values[2] += (100 - e.values[2]) * t;
|
|
1902
|
+
else if (e.type.includes("rgb")) for (let n = 0; n < 3; n += 1) e.values[n] += (255 - e.values[n]) * t;
|
|
1903
|
+
else if (e.type.includes("color")) for (let n = 0; n < 3; n += 1) e.values[n] += (1 - e.values[n]) * t;
|
|
1904
|
+
return Tn(e);
|
|
1905
|
+
}
|
|
1906
|
+
function q(e, t, n) {
|
|
1907
|
+
try {
|
|
1908
|
+
return jn(e, t);
|
|
1909
|
+
} catch {
|
|
1910
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
function Mn(e, t = .15) {
|
|
1914
|
+
return Dn(e) > .5 ? An(e, t) : jn(e, t);
|
|
1915
|
+
}
|
|
1916
|
+
function Nn(e, t, n) {
|
|
1917
|
+
try {
|
|
1918
|
+
return Mn(e, t);
|
|
1919
|
+
} catch {
|
|
1920
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
//#endregion
|
|
1924
|
+
//#region node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js
|
|
1925
|
+
var Pn = /* @__PURE__ */ e.createContext(void 0);
|
|
1926
|
+
function Fn({ value: e, children: t }) {
|
|
1927
|
+
return /* @__PURE__ */ s(Pn.Provider, {
|
|
1928
|
+
value: e,
|
|
1929
|
+
children: t
|
|
1930
|
+
});
|
|
1931
|
+
}
|
|
1932
|
+
process.env.NODE_ENV !== "production" && (Fn.propTypes = {
|
|
1933
|
+
children: A.default.node,
|
|
1934
|
+
value: A.default.object
|
|
1935
|
+
});
|
|
1936
|
+
function In(e) {
|
|
1937
|
+
let { theme: t, name: n, props: r } = e;
|
|
1938
|
+
if (!t || !t.components || !t.components[n]) return r;
|
|
1939
|
+
let i = t.components[n];
|
|
1940
|
+
return i.defaultProps ? yn(i.defaultProps, r, t.components.mergeClassNameAndStyle) : !i.styleOverrides && !i.variants ? yn(i, r, t.components.mergeClassNameAndStyle) : r;
|
|
1941
|
+
}
|
|
1942
|
+
function Ln({ props: t, name: n }) {
|
|
1943
|
+
return In({
|
|
1944
|
+
props: t,
|
|
1945
|
+
name: n,
|
|
1946
|
+
theme: { components: e.useContext(Pn) }
|
|
1947
|
+
});
|
|
1948
|
+
}
|
|
1949
|
+
//#endregion
|
|
1950
|
+
//#region node_modules/@mui/system/esm/memoTheme.js
|
|
1951
|
+
var Rn = { theme: void 0 };
|
|
1952
|
+
function zn(e) {
|
|
1953
|
+
let t, n;
|
|
1954
|
+
return function(r) {
|
|
1955
|
+
let i = t;
|
|
1956
|
+
return (i === void 0 || r.theme !== n) && (Rn.theme = r.theme, i = on(e(Rn)), t = i, n = r.theme), i;
|
|
1957
|
+
};
|
|
1958
|
+
}
|
|
1959
|
+
//#endregion
|
|
1960
|
+
//#region node_modules/@mui/system/esm/cssVars/createGetCssVar.js
|
|
1961
|
+
function Bn(e = "") {
|
|
1962
|
+
function t(...n) {
|
|
1963
|
+
if (!n.length) return "";
|
|
1964
|
+
let r = n[0];
|
|
1965
|
+
return typeof r == "string" && !r.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}-` : ""}${r}${t(...n.slice(1))})` : `, ${r}`;
|
|
1966
|
+
}
|
|
1967
|
+
return (n, ...r) => `var(--${e ? `${e}-` : ""}${n}${t(...r)})`;
|
|
1968
|
+
}
|
|
1969
|
+
//#endregion
|
|
1970
|
+
//#region node_modules/@mui/system/esm/cssVars/cssVarsParser.js
|
|
1971
|
+
var Vn = (e, t, n, r = []) => {
|
|
1972
|
+
let i = e;
|
|
1973
|
+
t.forEach((e, a) => {
|
|
1974
|
+
a === t.length - 1 ? Array.isArray(i) ? i[Number(e)] = n : i && typeof i == "object" && (i[e] = n) : i && typeof i == "object" && (i[e] || (i[e] = r.includes(e) ? [] : {}), i = i[e]);
|
|
1975
|
+
});
|
|
1976
|
+
}, Hn = (e, t, n) => {
|
|
1977
|
+
function r(e, i = [], a = []) {
|
|
1978
|
+
Object.entries(e).forEach(([e, o]) => {
|
|
1979
|
+
(!n || n && !n([...i, e])) && o != null && (typeof o == "object" && Object.keys(o).length > 0 ? r(o, [...i, e], Array.isArray(o) ? [...a, e] : a) : t([...i, e], o, a));
|
|
1980
|
+
});
|
|
1981
|
+
}
|
|
1982
|
+
r(e);
|
|
1983
|
+
}, Un = (e, t) => typeof t == "number" ? [
|
|
1984
|
+
"lineHeight",
|
|
1985
|
+
"fontWeight",
|
|
1986
|
+
"opacity",
|
|
1987
|
+
"zIndex"
|
|
1988
|
+
].some((t) => e.includes(t)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
1989
|
+
function Wn(e, t) {
|
|
1990
|
+
let { prefix: n, shouldSkipGeneratingVar: r } = t || {}, i = {}, a = {}, o = {};
|
|
1991
|
+
return Hn(e, (e, t, s) => {
|
|
1992
|
+
if ((typeof t == "string" || typeof t == "number") && (!r || !r(e, t))) {
|
|
1993
|
+
let r = `--${n ? `${n}-` : ""}${e.join("-")}`, c = Un(e, t);
|
|
1994
|
+
Object.assign(i, { [r]: c }), Vn(a, e, `var(${r})`, s), Vn(o, e, `var(${r}, ${c})`, s);
|
|
1995
|
+
}
|
|
1996
|
+
}, (e) => e[0] === "vars"), {
|
|
1997
|
+
css: i,
|
|
1998
|
+
vars: a,
|
|
1999
|
+
varsWithDefaults: o
|
|
2000
|
+
};
|
|
2001
|
+
}
|
|
2002
|
+
//#endregion
|
|
2003
|
+
//#region node_modules/@mui/system/esm/cssVars/prepareCssVars.js
|
|
2004
|
+
function Gn(e, t = {}) {
|
|
2005
|
+
let { getSelector: n = _, disableCssColorScheme: r, colorSchemeSelector: i, enableContrastVars: a } = t, { colorSchemes: o = {}, components: s, defaultColorScheme: c = "light", ...l } = e, { vars: u, css: d, varsWithDefaults: f } = Wn(l, t), p = f, m = {}, { [c]: h, ...g } = o;
|
|
2006
|
+
if (Object.entries(g || {}).forEach(([e, n]) => {
|
|
2007
|
+
let { vars: r, css: i, varsWithDefaults: a } = Wn(n, t);
|
|
2008
|
+
p = k(p, a), m[e] = {
|
|
2009
|
+
css: i,
|
|
2010
|
+
vars: r
|
|
2011
|
+
};
|
|
2012
|
+
}), h) {
|
|
2013
|
+
let { css: e, vars: n, varsWithDefaults: r } = Wn(h, t);
|
|
2014
|
+
p = k(p, r), m[c] = {
|
|
2015
|
+
css: e,
|
|
2016
|
+
vars: n
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
function _(t, n) {
|
|
2020
|
+
let r = i;
|
|
2021
|
+
if (i === "class" && (r = ".%s"), i === "data" && (r = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (r = `[${i}="%s"]`), t) {
|
|
2022
|
+
if (r === "media") return e.defaultColorScheme === t ? ":root" : { [`@media (prefers-color-scheme: ${o[t]?.palette?.mode || t})`]: { ":root": n } };
|
|
2023
|
+
if (r) return e.defaultColorScheme === t ? `:root, ${r.replace("%s", String(t))}` : r.replace("%s", String(t));
|
|
2024
|
+
}
|
|
2025
|
+
return ":root";
|
|
2026
|
+
}
|
|
2027
|
+
return {
|
|
2028
|
+
vars: p,
|
|
2029
|
+
generateThemeVars: () => {
|
|
2030
|
+
let e = { ...u };
|
|
2031
|
+
return Object.entries(m).forEach(([, { vars: t }]) => {
|
|
2032
|
+
e = k(e, t);
|
|
2033
|
+
}), e;
|
|
2034
|
+
},
|
|
2035
|
+
generateStyleSheets: () => {
|
|
2036
|
+
let t = [], i = e.defaultColorScheme || "light";
|
|
2037
|
+
function s(e, n) {
|
|
2038
|
+
Object.keys(n).length && t.push(typeof e == "string" ? { [e]: { ...n } } : e);
|
|
2039
|
+
}
|
|
2040
|
+
s(n(void 0, { ...d }), d);
|
|
2041
|
+
let { [i]: c, ...l } = m;
|
|
2042
|
+
if (c) {
|
|
2043
|
+
let { css: e } = c, t = o[i]?.palette?.mode, a = !r && t ? {
|
|
2044
|
+
colorScheme: t,
|
|
2045
|
+
...e
|
|
2046
|
+
} : { ...e };
|
|
2047
|
+
s(n(i, { ...a }), a);
|
|
2048
|
+
}
|
|
2049
|
+
return Object.entries(l).forEach(([e, { css: t }]) => {
|
|
2050
|
+
let i = o[e]?.palette?.mode, a = !r && i ? {
|
|
2051
|
+
colorScheme: i,
|
|
2052
|
+
...t
|
|
2053
|
+
} : { ...t };
|
|
2054
|
+
s(n(e, { ...a }), a);
|
|
2055
|
+
}), a && t.push({ ":root": {
|
|
2056
|
+
"--__l-threshold": "0.7",
|
|
2057
|
+
"--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
|
|
2058
|
+
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
2059
|
+
} }), t;
|
|
2060
|
+
}
|
|
2061
|
+
};
|
|
2062
|
+
}
|
|
2063
|
+
//#endregion
|
|
2064
|
+
//#region node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js
|
|
2065
|
+
function Kn(e) {
|
|
2066
|
+
return function(t) {
|
|
2067
|
+
return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
|
|
2068
|
+
};
|
|
2069
|
+
}
|
|
2070
|
+
//#endregion
|
|
2071
|
+
//#region node_modules/@mui/material/esm/colors/common.js
|
|
2072
|
+
var qn = {
|
|
2073
|
+
black: "#000",
|
|
2074
|
+
white: "#fff"
|
|
2075
|
+
}, Jn = {
|
|
2076
|
+
50: "#fafafa",
|
|
2077
|
+
100: "#f5f5f5",
|
|
2078
|
+
200: "#eeeeee",
|
|
2079
|
+
300: "#e0e0e0",
|
|
2080
|
+
400: "#bdbdbd",
|
|
2081
|
+
500: "#9e9e9e",
|
|
2082
|
+
600: "#757575",
|
|
2083
|
+
700: "#616161",
|
|
2084
|
+
800: "#424242",
|
|
2085
|
+
900: "#212121",
|
|
2086
|
+
A100: "#f5f5f5",
|
|
2087
|
+
A200: "#eeeeee",
|
|
2088
|
+
A400: "#bdbdbd",
|
|
2089
|
+
A700: "#616161"
|
|
2090
|
+
}, J = {
|
|
2091
|
+
50: "#f3e5f5",
|
|
2092
|
+
100: "#e1bee7",
|
|
2093
|
+
200: "#ce93d8",
|
|
2094
|
+
300: "#ba68c8",
|
|
2095
|
+
400: "#ab47bc",
|
|
2096
|
+
500: "#9c27b0",
|
|
2097
|
+
600: "#8e24aa",
|
|
2098
|
+
700: "#7b1fa2",
|
|
2099
|
+
800: "#6a1b9a",
|
|
2100
|
+
900: "#4a148c",
|
|
2101
|
+
A100: "#ea80fc",
|
|
2102
|
+
A200: "#e040fb",
|
|
2103
|
+
A400: "#d500f9",
|
|
2104
|
+
A700: "#aa00ff"
|
|
2105
|
+
}, Y = {
|
|
2106
|
+
50: "#ffebee",
|
|
2107
|
+
100: "#ffcdd2",
|
|
2108
|
+
200: "#ef9a9a",
|
|
2109
|
+
300: "#e57373",
|
|
2110
|
+
400: "#ef5350",
|
|
2111
|
+
500: "#f44336",
|
|
2112
|
+
600: "#e53935",
|
|
2113
|
+
700: "#d32f2f",
|
|
2114
|
+
800: "#c62828",
|
|
2115
|
+
900: "#b71c1c",
|
|
2116
|
+
A100: "#ff8a80",
|
|
2117
|
+
A200: "#ff5252",
|
|
2118
|
+
A400: "#ff1744",
|
|
2119
|
+
A700: "#d50000"
|
|
2120
|
+
}, Yn = {
|
|
2121
|
+
50: "#fff3e0",
|
|
2122
|
+
100: "#ffe0b2",
|
|
2123
|
+
200: "#ffcc80",
|
|
2124
|
+
300: "#ffb74d",
|
|
2125
|
+
400: "#ffa726",
|
|
2126
|
+
500: "#ff9800",
|
|
2127
|
+
600: "#fb8c00",
|
|
2128
|
+
700: "#f57c00",
|
|
2129
|
+
800: "#ef6c00",
|
|
2130
|
+
900: "#e65100",
|
|
2131
|
+
A100: "#ffd180",
|
|
2132
|
+
A200: "#ffab40",
|
|
2133
|
+
A400: "#ff9100",
|
|
2134
|
+
A700: "#ff6d00"
|
|
2135
|
+
}, Xn = {
|
|
2136
|
+
50: "#e3f2fd",
|
|
2137
|
+
100: "#bbdefb",
|
|
2138
|
+
200: "#90caf9",
|
|
2139
|
+
300: "#64b5f6",
|
|
2140
|
+
400: "#42a5f5",
|
|
2141
|
+
500: "#2196f3",
|
|
2142
|
+
600: "#1e88e5",
|
|
2143
|
+
700: "#1976d2",
|
|
2144
|
+
800: "#1565c0",
|
|
2145
|
+
900: "#0d47a1",
|
|
2146
|
+
A100: "#82b1ff",
|
|
2147
|
+
A200: "#448aff",
|
|
2148
|
+
A400: "#2979ff",
|
|
2149
|
+
A700: "#2962ff"
|
|
2150
|
+
}, Zn = {
|
|
2151
|
+
50: "#e1f5fe",
|
|
2152
|
+
100: "#b3e5fc",
|
|
2153
|
+
200: "#81d4fa",
|
|
2154
|
+
300: "#4fc3f7",
|
|
2155
|
+
400: "#29b6f6",
|
|
2156
|
+
500: "#03a9f4",
|
|
2157
|
+
600: "#039be5",
|
|
2158
|
+
700: "#0288d1",
|
|
2159
|
+
800: "#0277bd",
|
|
2160
|
+
900: "#01579b",
|
|
2161
|
+
A100: "#80d8ff",
|
|
2162
|
+
A200: "#40c4ff",
|
|
2163
|
+
A400: "#00b0ff",
|
|
2164
|
+
A700: "#0091ea"
|
|
2165
|
+
}, Qn = {
|
|
2166
|
+
50: "#e8f5e9",
|
|
2167
|
+
100: "#c8e6c9",
|
|
2168
|
+
200: "#a5d6a7",
|
|
2169
|
+
300: "#81c784",
|
|
2170
|
+
400: "#66bb6a",
|
|
2171
|
+
500: "#4caf50",
|
|
2172
|
+
600: "#43a047",
|
|
2173
|
+
700: "#388e3c",
|
|
2174
|
+
800: "#2e7d32",
|
|
2175
|
+
900: "#1b5e20",
|
|
2176
|
+
A100: "#b9f6ca",
|
|
2177
|
+
A200: "#69f0ae",
|
|
2178
|
+
A400: "#00e676",
|
|
2179
|
+
A700: "#00c853"
|
|
2180
|
+
};
|
|
2181
|
+
//#endregion
|
|
2182
|
+
//#region node_modules/@mui/material/esm/styles/createPalette.js
|
|
2183
|
+
function $n() {
|
|
2184
|
+
return {
|
|
2185
|
+
text: {
|
|
2186
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
2187
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
2188
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
2189
|
+
},
|
|
2190
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
2191
|
+
background: {
|
|
2192
|
+
paper: qn.white,
|
|
2193
|
+
default: qn.white
|
|
2194
|
+
},
|
|
2195
|
+
action: {
|
|
2196
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
2197
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
2198
|
+
hoverOpacity: .04,
|
|
2199
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
2200
|
+
selectedOpacity: .08,
|
|
2201
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
2202
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
2203
|
+
disabledOpacity: .38,
|
|
2204
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
2205
|
+
focusOpacity: .12,
|
|
2206
|
+
activatedOpacity: .12
|
|
2207
|
+
}
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
var er = $n();
|
|
2211
|
+
function tr() {
|
|
2212
|
+
return {
|
|
2213
|
+
text: {
|
|
2214
|
+
primary: qn.white,
|
|
2215
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
2216
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
2217
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
2218
|
+
},
|
|
2219
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
2220
|
+
background: {
|
|
2221
|
+
paper: "#121212",
|
|
2222
|
+
default: "#121212"
|
|
2223
|
+
},
|
|
2224
|
+
action: {
|
|
2225
|
+
active: qn.white,
|
|
2226
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
2227
|
+
hoverOpacity: .08,
|
|
2228
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
2229
|
+
selectedOpacity: .16,
|
|
2230
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
2231
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
2232
|
+
disabledOpacity: .38,
|
|
2233
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
2234
|
+
focusOpacity: .12,
|
|
2235
|
+
activatedOpacity: .24
|
|
2236
|
+
}
|
|
2237
|
+
};
|
|
2238
|
+
}
|
|
2239
|
+
var nr = tr();
|
|
2240
|
+
function rr(e, t, n, r) {
|
|
2241
|
+
let i = r.light || r, a = r.dark || r * 1.5;
|
|
2242
|
+
e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = jn(e.main, i) : t === "dark" && (e.dark = An(e.main, a)));
|
|
2243
|
+
}
|
|
2244
|
+
function ir(e, t, n, r, i) {
|
|
2245
|
+
let a = i.light || i, o = i.dark || i * 1.5;
|
|
2246
|
+
t[n] || (t.hasOwnProperty(r) ? t[n] = t[r] : n === "light" ? t.light = `color-mix(in ${e}, ${t.main}, #fff ${(a * 100).toFixed(0)}%)` : n === "dark" && (t.dark = `color-mix(in ${e}, ${t.main}, #000 ${(o * 100).toFixed(0)}%)`));
|
|
2247
|
+
}
|
|
2248
|
+
function ar(e = "light") {
|
|
2249
|
+
return e === "dark" ? {
|
|
2250
|
+
main: Xn[200],
|
|
2251
|
+
light: Xn[50],
|
|
2252
|
+
dark: Xn[400]
|
|
2253
|
+
} : {
|
|
2254
|
+
main: Xn[700],
|
|
2255
|
+
light: Xn[400],
|
|
2256
|
+
dark: Xn[800]
|
|
2257
|
+
};
|
|
2258
|
+
}
|
|
2259
|
+
function or(e = "light") {
|
|
2260
|
+
return e === "dark" ? {
|
|
2261
|
+
main: J[200],
|
|
2262
|
+
light: J[50],
|
|
2263
|
+
dark: J[400]
|
|
2264
|
+
} : {
|
|
2265
|
+
main: J[500],
|
|
2266
|
+
light: J[300],
|
|
2267
|
+
dark: J[700]
|
|
2268
|
+
};
|
|
2269
|
+
}
|
|
2270
|
+
function sr(e = "light") {
|
|
2271
|
+
return e === "dark" ? {
|
|
2272
|
+
main: Y[500],
|
|
2273
|
+
light: Y[300],
|
|
2274
|
+
dark: Y[700]
|
|
2275
|
+
} : {
|
|
2276
|
+
main: Y[700],
|
|
2277
|
+
light: Y[400],
|
|
2278
|
+
dark: Y[800]
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
function cr(e = "light") {
|
|
2282
|
+
return e === "dark" ? {
|
|
2283
|
+
main: Zn[400],
|
|
2284
|
+
light: Zn[300],
|
|
2285
|
+
dark: Zn[700]
|
|
2286
|
+
} : {
|
|
2287
|
+
main: Zn[700],
|
|
2288
|
+
light: Zn[500],
|
|
2289
|
+
dark: Zn[900]
|
|
2290
|
+
};
|
|
2291
|
+
}
|
|
2292
|
+
function lr(e = "light") {
|
|
2293
|
+
return e === "dark" ? {
|
|
2294
|
+
main: Qn[400],
|
|
2295
|
+
light: Qn[300],
|
|
2296
|
+
dark: Qn[700]
|
|
2297
|
+
} : {
|
|
2298
|
+
main: Qn[800],
|
|
2299
|
+
light: Qn[500],
|
|
2300
|
+
dark: Qn[900]
|
|
2301
|
+
};
|
|
2302
|
+
}
|
|
2303
|
+
function ur(e = "light") {
|
|
2304
|
+
return e === "dark" ? {
|
|
2305
|
+
main: Yn[400],
|
|
2306
|
+
light: Yn[300],
|
|
2307
|
+
dark: Yn[700]
|
|
2308
|
+
} : {
|
|
2309
|
+
main: "#ed6c02",
|
|
2310
|
+
light: Yn[500],
|
|
2311
|
+
dark: Yn[900]
|
|
2312
|
+
};
|
|
2313
|
+
}
|
|
2314
|
+
function dr(e) {
|
|
2315
|
+
return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
|
|
2316
|
+
}
|
|
2317
|
+
function fr(e) {
|
|
2318
|
+
let { mode: t = "light", contrastThreshold: n = 3, tonalOffset: r = .2, colorSpace: i, ...a } = e, o = e.primary || ar(t), s = e.secondary || or(t), c = e.error || sr(t), l = e.info || cr(t), u = e.success || lr(t), d = e.warning || ur(t);
|
|
2319
|
+
function f(e) {
|
|
2320
|
+
if (i) return dr(e);
|
|
2321
|
+
let t = On(e, nr.text.primary) >= n ? nr.text.primary : er.text.primary;
|
|
2322
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2323
|
+
let n = On(e, t);
|
|
2324
|
+
n < 3 && console.error([
|
|
2325
|
+
`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,
|
|
2326
|
+
"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.",
|
|
2327
|
+
"https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"
|
|
2328
|
+
].join("\n"));
|
|
2329
|
+
}
|
|
2330
|
+
return t;
|
|
2331
|
+
}
|
|
2332
|
+
let p = ({ color: e, name: t, mainShade: n = 500, lightShade: a = 300, darkShade: o = 700 }) => {
|
|
2333
|
+
if (e = { ...e }, !e.main && e[n] && (e.main = e[n]), !e.hasOwnProperty("main")) throw Error(process.env.NODE_ENV === "production" ? D(11, t ? ` (${t})` : "", n) : `MUI: The color${t ? ` (${t})` : ""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);
|
|
2334
|
+
if (typeof e.main != "string") throw Error(process.env.NODE_ENV === "production" ? D(12, t ? ` (${t})` : "", JSON.stringify(e.main)) : `MUI: The color${t ? ` (${t})` : ""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
|
|
2335
|
+
Did you intend to use one of the following approaches?
|
|
2336
|
+
|
|
2337
|
+
import { green } from "@mui/material/colors";
|
|
2338
|
+
|
|
2339
|
+
const theme1 = createTheme({ palette: {
|
|
2340
|
+
primary: green,
|
|
2341
|
+
} });
|
|
2342
|
+
|
|
2343
|
+
const theme2 = createTheme({ palette: {
|
|
2344
|
+
primary: { main: green[500] },
|
|
2345
|
+
} });`);
|
|
2346
|
+
return i ? (ir(i, e, "light", a, r), ir(i, e, "dark", o, r)) : (rr(e, "light", a, r), rr(e, "dark", o, r)), e.contrastText ||= f(e.main), e;
|
|
2347
|
+
}, m;
|
|
2348
|
+
return t === "light" ? m = $n() : t === "dark" && (m = tr()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), k({
|
|
2349
|
+
common: { ...qn },
|
|
2350
|
+
mode: t,
|
|
2351
|
+
primary: p({
|
|
2352
|
+
color: o,
|
|
2353
|
+
name: "primary"
|
|
2354
|
+
}),
|
|
2355
|
+
secondary: p({
|
|
2356
|
+
color: s,
|
|
2357
|
+
name: "secondary",
|
|
2358
|
+
mainShade: "A400",
|
|
2359
|
+
lightShade: "A200",
|
|
2360
|
+
darkShade: "A700"
|
|
2361
|
+
}),
|
|
2362
|
+
error: p({
|
|
2363
|
+
color: c,
|
|
2364
|
+
name: "error"
|
|
2365
|
+
}),
|
|
2366
|
+
warning: p({
|
|
2367
|
+
color: d,
|
|
2368
|
+
name: "warning"
|
|
2369
|
+
}),
|
|
2370
|
+
info: p({
|
|
2371
|
+
color: l,
|
|
2372
|
+
name: "info"
|
|
2373
|
+
}),
|
|
2374
|
+
success: p({
|
|
2375
|
+
color: u,
|
|
2376
|
+
name: "success"
|
|
2377
|
+
}),
|
|
2378
|
+
grey: Jn,
|
|
2379
|
+
contrastThreshold: n,
|
|
2380
|
+
getContrastText: f,
|
|
2381
|
+
augmentColor: p,
|
|
2382
|
+
tonalOffset: r,
|
|
2383
|
+
...m
|
|
2384
|
+
}, a);
|
|
2385
|
+
}
|
|
2386
|
+
//#endregion
|
|
2387
|
+
//#region node_modules/@mui/system/esm/cssVars/prepareTypographyVars.js
|
|
2388
|
+
function pr(e) {
|
|
2389
|
+
let t = {};
|
|
2390
|
+
return Object.entries(e).forEach((e) => {
|
|
2391
|
+
let [n, r] = e;
|
|
2392
|
+
typeof r == "object" && (t[n] = `${r.fontStyle ? `${r.fontStyle} ` : ""}${r.fontVariant ? `${r.fontVariant} ` : ""}${r.fontWeight ? `${r.fontWeight} ` : ""}${r.fontStretch ? `${r.fontStretch} ` : ""}${r.fontSize || ""}${r.lineHeight ? `/${r.lineHeight} ` : ""}${r.fontFamily || ""}`);
|
|
2393
|
+
}), t;
|
|
2394
|
+
}
|
|
2395
|
+
//#endregion
|
|
2396
|
+
//#region node_modules/@mui/material/esm/styles/createMixins.js
|
|
2397
|
+
function mr(e, t) {
|
|
2398
|
+
return {
|
|
2399
|
+
toolbar: {
|
|
2400
|
+
minHeight: 56,
|
|
2401
|
+
[e.up("xs")]: { "@media (orientation: landscape)": { minHeight: 48 } },
|
|
2402
|
+
[e.up("sm")]: { minHeight: 64 }
|
|
2403
|
+
},
|
|
2404
|
+
...t
|
|
2405
|
+
};
|
|
2406
|
+
}
|
|
2407
|
+
//#endregion
|
|
2408
|
+
//#region node_modules/@mui/material/esm/styles/createTypography.js
|
|
2409
|
+
function hr(e) {
|
|
2410
|
+
return Math.round(e * 1e5) / 1e5;
|
|
2411
|
+
}
|
|
2412
|
+
var gr = { textTransform: "uppercase" }, _r = "\"Roboto\", \"Helvetica\", \"Arial\", sans-serif";
|
|
2413
|
+
function vr(e, t) {
|
|
2414
|
+
let { fontFamily: n = _r, fontSize: r = 14, fontWeightLight: i = 300, fontWeightRegular: a = 400, fontWeightMedium: o = 500, fontWeightBold: s = 700, htmlFontSize: c = 16, allVariants: l, pxToRem: u, ...d } = typeof t == "function" ? t(e) : t;
|
|
2415
|
+
process.env.NODE_ENV !== "production" && (typeof r != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2416
|
+
let f = r / 14, p = u || ((e) => `${e / c * f}rem`), m = (e, t, r, i, a) => ({
|
|
2417
|
+
fontFamily: n,
|
|
2418
|
+
fontWeight: e,
|
|
2419
|
+
fontSize: p(t),
|
|
2420
|
+
lineHeight: r,
|
|
2421
|
+
...n === _r ? { letterSpacing: `${hr(i / t)}em` } : {},
|
|
2422
|
+
...a,
|
|
2423
|
+
...l
|
|
2424
|
+
});
|
|
2425
|
+
return k({
|
|
2426
|
+
htmlFontSize: c,
|
|
2427
|
+
pxToRem: p,
|
|
2428
|
+
fontFamily: n,
|
|
2429
|
+
fontSize: r,
|
|
2430
|
+
fontWeightLight: i,
|
|
2431
|
+
fontWeightRegular: a,
|
|
2432
|
+
fontWeightMedium: o,
|
|
2433
|
+
fontWeightBold: s,
|
|
2434
|
+
h1: m(i, 96, 1.167, -1.5),
|
|
2435
|
+
h2: m(i, 60, 1.2, -.5),
|
|
2436
|
+
h3: m(a, 48, 1.167, 0),
|
|
2437
|
+
h4: m(a, 34, 1.235, .25),
|
|
2438
|
+
h5: m(a, 24, 1.334, 0),
|
|
2439
|
+
h6: m(o, 20, 1.6, .15),
|
|
2440
|
+
subtitle1: m(a, 16, 1.75, .15),
|
|
2441
|
+
subtitle2: m(o, 14, 1.57, .1),
|
|
2442
|
+
body1: m(a, 16, 1.5, .15),
|
|
2443
|
+
body2: m(a, 14, 1.43, .15),
|
|
2444
|
+
button: m(o, 14, 1.75, .4, gr),
|
|
2445
|
+
caption: m(a, 12, 1.66, .4),
|
|
2446
|
+
overline: m(a, 12, 2.66, 1, gr),
|
|
2447
|
+
inherit: {
|
|
2448
|
+
fontFamily: "inherit",
|
|
2449
|
+
fontWeight: "inherit",
|
|
2450
|
+
fontSize: "inherit",
|
|
2451
|
+
lineHeight: "inherit",
|
|
2452
|
+
letterSpacing: "inherit"
|
|
2453
|
+
}
|
|
2454
|
+
}, d, { clone: !1 });
|
|
2455
|
+
}
|
|
2456
|
+
//#endregion
|
|
2457
|
+
//#region node_modules/@mui/material/esm/styles/shadows.js
|
|
2458
|
+
var yr = .2, br = .14, xr = .12;
|
|
2459
|
+
function X(...e) {
|
|
2460
|
+
return [
|
|
2461
|
+
`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${yr})`,
|
|
2462
|
+
`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${br})`,
|
|
2463
|
+
`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${xr})`
|
|
2464
|
+
].join(",");
|
|
2465
|
+
}
|
|
2466
|
+
var Sr = [
|
|
2467
|
+
"none",
|
|
2468
|
+
X(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0),
|
|
2469
|
+
X(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0),
|
|
2470
|
+
X(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0),
|
|
2471
|
+
X(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0),
|
|
2472
|
+
X(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0),
|
|
2473
|
+
X(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0),
|
|
2474
|
+
X(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1),
|
|
2475
|
+
X(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2),
|
|
2476
|
+
X(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2),
|
|
2477
|
+
X(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3),
|
|
2478
|
+
X(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3),
|
|
2479
|
+
X(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4),
|
|
2480
|
+
X(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4),
|
|
2481
|
+
X(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4),
|
|
2482
|
+
X(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5),
|
|
2483
|
+
X(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5),
|
|
2484
|
+
X(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5),
|
|
2485
|
+
X(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6),
|
|
2486
|
+
X(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6),
|
|
2487
|
+
X(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7),
|
|
2488
|
+
X(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7),
|
|
2489
|
+
X(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7),
|
|
2490
|
+
X(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8),
|
|
2491
|
+
X(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)
|
|
2492
|
+
], Cr = {
|
|
2493
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2494
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
2495
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2496
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2497
|
+
}, wr = {
|
|
2498
|
+
shortest: 150,
|
|
2499
|
+
shorter: 200,
|
|
2500
|
+
short: 250,
|
|
2501
|
+
standard: 300,
|
|
2502
|
+
complex: 375,
|
|
2503
|
+
enteringScreen: 225,
|
|
2504
|
+
leavingScreen: 195
|
|
2505
|
+
};
|
|
2506
|
+
function Tr(e) {
|
|
2507
|
+
return `${Math.round(e)}ms`;
|
|
2508
|
+
}
|
|
2509
|
+
function Er(e) {
|
|
2510
|
+
if (!e) return 0;
|
|
2511
|
+
let t = e / 36;
|
|
2512
|
+
return Math.min(Math.round((4 + 15 * t ** .25 + t / 5) * 10), 3e3);
|
|
2513
|
+
}
|
|
2514
|
+
function Dr(e) {
|
|
2515
|
+
let t = {
|
|
2516
|
+
...Cr,
|
|
2517
|
+
...e.easing
|
|
2518
|
+
}, n = {
|
|
2519
|
+
...wr,
|
|
2520
|
+
...e.duration
|
|
2521
|
+
};
|
|
2522
|
+
return {
|
|
2523
|
+
getAutoHeightDuration: Er,
|
|
2524
|
+
create: (e = ["all"], r = {}) => {
|
|
2525
|
+
let { duration: i = n.standard, easing: a = t.easeInOut, delay: o = 0, ...s } = r;
|
|
2526
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2527
|
+
let t = (e) => typeof e == "string", n = (e) => !Number.isNaN(parseFloat(e));
|
|
2528
|
+
!t(e) && !Array.isArray(e) && console.error("MUI: Argument \"props\" must be a string or Array."), !n(i) && !t(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), t(a) || console.error("MUI: Argument \"easing\" must be a string."), !n(o) && !t(o) && console.error("MUI: Argument \"delay\" must be a number or a string."), typeof r != "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("\n")), Object.keys(s).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`);
|
|
2529
|
+
}
|
|
2530
|
+
return (Array.isArray(e) ? e : [e]).map((e) => `${e} ${typeof i == "string" ? i : Tr(i)} ${a} ${typeof o == "string" ? o : Tr(o)}`).join(",");
|
|
2531
|
+
},
|
|
2532
|
+
...e,
|
|
2533
|
+
easing: t,
|
|
2534
|
+
duration: n
|
|
2535
|
+
};
|
|
2536
|
+
}
|
|
2537
|
+
//#endregion
|
|
2538
|
+
//#region node_modules/@mui/material/esm/styles/zIndex.js
|
|
2539
|
+
var Or = {
|
|
2540
|
+
mobileStepper: 1e3,
|
|
2541
|
+
fab: 1050,
|
|
2542
|
+
speedDial: 1050,
|
|
2543
|
+
appBar: 1100,
|
|
2544
|
+
drawer: 1200,
|
|
2545
|
+
modal: 1300,
|
|
2546
|
+
snackbar: 1400,
|
|
2547
|
+
tooltip: 1500
|
|
2548
|
+
};
|
|
2549
|
+
//#endregion
|
|
2550
|
+
//#region node_modules/@mui/material/esm/styles/stringifyTheme.js
|
|
2551
|
+
function kr(e) {
|
|
2552
|
+
return O(e) || e === void 0 || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2553
|
+
}
|
|
2554
|
+
function Ar(e = {}) {
|
|
2555
|
+
let t = { ...e };
|
|
2556
|
+
function n(e) {
|
|
2557
|
+
let t = Object.entries(e);
|
|
2558
|
+
for (let r = 0; r < t.length; r++) {
|
|
2559
|
+
let [i, a] = t[r];
|
|
2560
|
+
!kr(a) || i.startsWith("unstable_") ? delete e[i] : O(a) && (e[i] = { ...a }, n(e[i]));
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
return n(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
2564
|
+
|
|
2565
|
+
const theme = ${JSON.stringify(t, null, 2)};
|
|
2566
|
+
|
|
2567
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
2568
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
2569
|
+
|
|
2570
|
+
export default theme;`;
|
|
2571
|
+
}
|
|
2572
|
+
//#endregion
|
|
2573
|
+
//#region node_modules/@mui/material/esm/styles/createThemeNoVars.js
|
|
2574
|
+
function jr(e) {
|
|
2575
|
+
return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
|
|
2576
|
+
}
|
|
2577
|
+
var Mr = (e) => {
|
|
2578
|
+
if (!Number.isNaN(+e)) return +e;
|
|
2579
|
+
let t = e.match(/\d*\.?\d+/g);
|
|
2580
|
+
if (!t) return 0;
|
|
2581
|
+
let n = 0;
|
|
2582
|
+
for (let e = 0; e < t.length; e += 1) n += +t[e];
|
|
2583
|
+
return n;
|
|
2584
|
+
};
|
|
2585
|
+
function Nr(e) {
|
|
2586
|
+
Object.assign(e, {
|
|
2587
|
+
alpha(t, n) {
|
|
2588
|
+
let r = this || e;
|
|
2589
|
+
return r.colorSpace ? `oklch(from ${t} l c h / ${typeof n == "string" ? `calc(${n})` : n})` : r.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof n == "string" ? `calc(${n})` : n})` : kn(t, Mr(n));
|
|
2590
|
+
},
|
|
2591
|
+
lighten(t, n) {
|
|
2592
|
+
let r = this || e;
|
|
2593
|
+
return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #fff ${jr(n)})` : jn(t, n);
|
|
2594
|
+
},
|
|
2595
|
+
darken(t, n) {
|
|
2596
|
+
let r = this || e;
|
|
2597
|
+
return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #000 ${jr(n)})` : An(t, n);
|
|
2598
|
+
}
|
|
2599
|
+
});
|
|
2600
|
+
}
|
|
2601
|
+
function Pr(e = {}, ...t) {
|
|
2602
|
+
let { breakpoints: n, mixins: r = {}, spacing: i, palette: a = {}, transitions: o = {}, typography: s = {}, shape: c, colorSpace: l, ...u } = e;
|
|
2603
|
+
if (e.vars && e.generateThemeVars === void 0) throw Error(process.env.NODE_ENV === "production" ? D(20) : "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.");
|
|
2604
|
+
let d = fr({
|
|
2605
|
+
...a,
|
|
2606
|
+
colorSpace: l
|
|
2607
|
+
}), f = Qt(e), p = k(f, {
|
|
2608
|
+
mixins: mr(f.breakpoints, r),
|
|
2609
|
+
palette: d,
|
|
2610
|
+
shadows: Sr.slice(),
|
|
2611
|
+
typography: vr(d, s),
|
|
2612
|
+
transitions: Dr(o),
|
|
2613
|
+
zIndex: { ...Or }
|
|
2614
|
+
});
|
|
2615
|
+
if (p = k(p, u), p = t.reduce((e, t) => k(e, t), p), process.env.NODE_ENV !== "production") {
|
|
2616
|
+
let e = [
|
|
2617
|
+
"active",
|
|
2618
|
+
"checked",
|
|
2619
|
+
"completed",
|
|
2620
|
+
"disabled",
|
|
2621
|
+
"error",
|
|
2622
|
+
"expanded",
|
|
2623
|
+
"focused",
|
|
2624
|
+
"focusVisible",
|
|
2625
|
+
"required",
|
|
2626
|
+
"selected"
|
|
2627
|
+
], t = (t, n) => {
|
|
2628
|
+
let r;
|
|
2629
|
+
for (r in t) {
|
|
2630
|
+
let i = t[r];
|
|
2631
|
+
if (e.includes(r) && Object.keys(i).length > 0) {
|
|
2632
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2633
|
+
let e = en("", r);
|
|
2634
|
+
console.error([
|
|
2635
|
+
`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,
|
|
2636
|
+
"You can not override it like this: ",
|
|
2637
|
+
JSON.stringify(t, null, 2),
|
|
2638
|
+
"",
|
|
2639
|
+
`Instead, you need to use the '&.${e}' syntax:`,
|
|
2640
|
+
JSON.stringify({ root: { [`&.${e}`]: i } }, null, 2),
|
|
2641
|
+
"",
|
|
2642
|
+
"https://mui.com/r/state-classes-guide"
|
|
2643
|
+
].join("\n"));
|
|
2644
|
+
}
|
|
2645
|
+
t[r] = {};
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
2648
|
+
};
|
|
2649
|
+
Object.keys(p.components).forEach((e) => {
|
|
2650
|
+
let n = p.components[e].styleOverrides;
|
|
2651
|
+
n && e.startsWith("Mui") && t(n, e);
|
|
2652
|
+
});
|
|
2653
|
+
}
|
|
2654
|
+
return p.unstable_sxConfig = {
|
|
2655
|
+
...Tt,
|
|
2656
|
+
...u?.unstable_sxConfig
|
|
2657
|
+
}, p.unstable_sx = function(e) {
|
|
2658
|
+
return B({
|
|
2659
|
+
sx: e,
|
|
2660
|
+
theme: this
|
|
2661
|
+
});
|
|
2662
|
+
}, p.toRuntimeSource = Ar, Nr(p), p;
|
|
2663
|
+
}
|
|
2664
|
+
//#endregion
|
|
2665
|
+
//#region node_modules/@mui/material/esm/styles/getOverlayAlpha.js
|
|
2666
|
+
function Fr(e) {
|
|
2667
|
+
let t;
|
|
2668
|
+
return t = e < 1 ? 5.11916 * e ** 2 : 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2669
|
+
}
|
|
2670
|
+
//#endregion
|
|
2671
|
+
//#region node_modules/@mui/material/esm/styles/createColorScheme.js
|
|
2672
|
+
var Ir = [...Array(25)].map((e, t) => {
|
|
2673
|
+
if (t === 0) return "none";
|
|
2674
|
+
let n = Fr(t);
|
|
2675
|
+
return `linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`;
|
|
2676
|
+
});
|
|
2677
|
+
function Lr(e) {
|
|
2678
|
+
return {
|
|
2679
|
+
inputPlaceholder: e === "dark" ? .5 : .42,
|
|
2680
|
+
inputUnderline: e === "dark" ? .7 : .42,
|
|
2681
|
+
switchTrackDisabled: e === "dark" ? .2 : .12,
|
|
2682
|
+
switchTrack: e === "dark" ? .3 : .38
|
|
2683
|
+
};
|
|
2684
|
+
}
|
|
2685
|
+
function Rr(e) {
|
|
2686
|
+
return e === "dark" ? Ir : [];
|
|
2687
|
+
}
|
|
2688
|
+
function zr(e) {
|
|
2689
|
+
let { palette: t = { mode: "light" }, opacity: n, overlays: r, colorSpace: i, ...a } = e, o = fr({
|
|
2690
|
+
...t,
|
|
2691
|
+
colorSpace: i
|
|
2692
|
+
});
|
|
2693
|
+
return {
|
|
2694
|
+
palette: o,
|
|
2695
|
+
opacity: {
|
|
2696
|
+
...Lr(o.mode),
|
|
2697
|
+
...n
|
|
2698
|
+
},
|
|
2699
|
+
overlays: r || Rr(o.mode),
|
|
2700
|
+
...a
|
|
2701
|
+
};
|
|
2702
|
+
}
|
|
2703
|
+
//#endregion
|
|
2704
|
+
//#region node_modules/@mui/material/esm/styles/shouldSkipGeneratingVar.js
|
|
2705
|
+
function Br(e) {
|
|
2706
|
+
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
|
|
2707
|
+
}
|
|
2708
|
+
//#endregion
|
|
2709
|
+
//#region node_modules/@mui/material/esm/styles/excludeVariablesFromRoot.js
|
|
2710
|
+
var Vr = (e) => [
|
|
2711
|
+
...[...Array(25)].map((t, n) => `--${e ? `${e}-` : ""}overlays-${n}`),
|
|
2712
|
+
`--${e ? `${e}-` : ""}palette-AppBar-darkBg`,
|
|
2713
|
+
`--${e ? `${e}-` : ""}palette-AppBar-darkColor`
|
|
2714
|
+
], Hr = (e) => (t, n) => {
|
|
2715
|
+
let r = e.rootSelector || ":root", i = e.colorSchemeSelector, a = i;
|
|
2716
|
+
if (i === "class" && (a = ".%s"), i === "data" && (a = "[data-%s]"), i?.startsWith("data-") && !i.includes("%s") && (a = `[${i}="%s"]`), e.defaultColorScheme === t) {
|
|
2717
|
+
if (t === "dark") {
|
|
2718
|
+
let i = {};
|
|
2719
|
+
return Vr(e.cssVarPrefix).forEach((e) => {
|
|
2720
|
+
i[e] = n[e], delete n[e];
|
|
2721
|
+
}), a === "media" ? {
|
|
2722
|
+
[r]: n,
|
|
2723
|
+
"@media (prefers-color-scheme: dark)": { [r]: i }
|
|
2724
|
+
} : a ? {
|
|
2725
|
+
[a.replace("%s", t)]: i,
|
|
2726
|
+
[`${r}, ${a.replace("%s", t)}`]: n
|
|
2727
|
+
} : { [r]: {
|
|
2728
|
+
...n,
|
|
2729
|
+
...i
|
|
2730
|
+
} };
|
|
2731
|
+
}
|
|
2732
|
+
if (a && a !== "media") return `${r}, ${a.replace("%s", String(t))}`;
|
|
2733
|
+
} else if (t) {
|
|
2734
|
+
if (a === "media") return { [`@media (prefers-color-scheme: ${String(t)})`]: { [r]: n } };
|
|
2735
|
+
if (a) return a.replace("%s", String(t));
|
|
2736
|
+
}
|
|
2737
|
+
return r;
|
|
2738
|
+
};
|
|
2739
|
+
//#endregion
|
|
2740
|
+
//#region node_modules/@mui/material/esm/styles/createThemeWithVars.js
|
|
2741
|
+
function Ur(e, t) {
|
|
2742
|
+
t.forEach((t) => {
|
|
2743
|
+
e[t] || (e[t] = {});
|
|
2744
|
+
});
|
|
2745
|
+
}
|
|
2746
|
+
function Z(e, t, n) {
|
|
2747
|
+
!e[t] && n && (e[t] = n);
|
|
2748
|
+
}
|
|
2749
|
+
function Wr(e) {
|
|
2750
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : En(e);
|
|
2751
|
+
}
|
|
2752
|
+
function Q(e, t) {
|
|
2753
|
+
`${t}Channel` in e || (e[`${t}Channel`] = wn(Wr(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().
|
|
2754
|
+
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.`));
|
|
2755
|
+
}
|
|
2756
|
+
function Gr(e) {
|
|
2757
|
+
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2758
|
+
}
|
|
2759
|
+
var $ = (e) => {
|
|
2760
|
+
try {
|
|
2761
|
+
return e();
|
|
2762
|
+
} catch {}
|
|
2763
|
+
}, Kr = (e = "mui") => Bn(e);
|
|
2764
|
+
function qr(e, t, n, r, i) {
|
|
2765
|
+
if (!n) return;
|
|
2766
|
+
n = n === !0 ? {} : n;
|
|
2767
|
+
let a = i === "dark" ? "dark" : "light";
|
|
2768
|
+
if (!r) {
|
|
2769
|
+
t[i] = zr({
|
|
2770
|
+
...n,
|
|
2771
|
+
palette: {
|
|
2772
|
+
mode: a,
|
|
2773
|
+
...n?.palette
|
|
2774
|
+
},
|
|
2775
|
+
colorSpace: e
|
|
2776
|
+
});
|
|
2777
|
+
return;
|
|
2778
|
+
}
|
|
2779
|
+
let { palette: o, ...s } = Pr({
|
|
2780
|
+
...r,
|
|
2781
|
+
palette: {
|
|
2782
|
+
mode: a,
|
|
2783
|
+
...n?.palette
|
|
2784
|
+
},
|
|
2785
|
+
colorSpace: e
|
|
2786
|
+
});
|
|
2787
|
+
return t[i] = {
|
|
2788
|
+
...n,
|
|
2789
|
+
palette: o,
|
|
2790
|
+
opacity: {
|
|
2791
|
+
...Lr(a),
|
|
2792
|
+
...n?.opacity
|
|
2793
|
+
},
|
|
2794
|
+
overlays: n?.overlays || Rr(a)
|
|
2795
|
+
}, s;
|
|
2796
|
+
}
|
|
2797
|
+
function Jr(e = {}, ...t) {
|
|
2798
|
+
let { colorSchemes: n = { light: !0 }, defaultColorScheme: r, disableCssColorScheme: i = !1, cssVarPrefix: a = "mui", nativeColor: o = !1, shouldSkipGeneratingVar: s = Br, colorSchemeSelector: c = n.light && n.dark ? "media" : void 0, rootSelector: l = ":root", ...u } = e, d = Object.keys(n)[0], f = r || (n.light && d !== "light" ? "light" : d), p = Kr(a), { [f]: m, light: h, dark: g, ..._ } = n, v = { ..._ }, y = m;
|
|
2799
|
+
if ((f === "dark" && !("dark" in n) || f === "light" && !("light" in n)) && (y = !0), !y) throw Error(process.env.NODE_ENV === "production" ? D(21, f) : `MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`);
|
|
2800
|
+
let b;
|
|
2801
|
+
o && (b = "oklch");
|
|
2802
|
+
let x = qr(b, v, y, u, f);
|
|
2803
|
+
h && !v.light && qr(b, v, h, void 0, "light"), g && !v.dark && qr(b, v, g, void 0, "dark");
|
|
2804
|
+
let S = {
|
|
2805
|
+
defaultColorScheme: f,
|
|
2806
|
+
...x,
|
|
2807
|
+
cssVarPrefix: a,
|
|
2808
|
+
colorSchemeSelector: c,
|
|
2809
|
+
rootSelector: l,
|
|
2810
|
+
getCssVar: p,
|
|
2811
|
+
colorSchemes: v,
|
|
2812
|
+
font: {
|
|
2813
|
+
...pr(x.typography),
|
|
2814
|
+
...x.font
|
|
2815
|
+
},
|
|
2816
|
+
spacing: Gr(u.spacing)
|
|
2817
|
+
};
|
|
2818
|
+
Object.keys(S.colorSchemes).forEach((e) => {
|
|
2819
|
+
let t = S.colorSchemes[e].palette, n = (e) => {
|
|
2820
|
+
let n = e.split("-"), r = n[1], i = n[2];
|
|
2821
|
+
return p(e, t[r][i]);
|
|
2822
|
+
};
|
|
2823
|
+
t.mode === "light" && (Z(t.common, "background", "#fff"), Z(t.common, "onBackground", "#000")), t.mode === "dark" && (Z(t.common, "background", "#000"), Z(t.common, "onBackground", "#fff"));
|
|
2824
|
+
function r(e, t, n) {
|
|
2825
|
+
if (b) {
|
|
2826
|
+
let r;
|
|
2827
|
+
return e === G && (r = `transparent ${((1 - n) * 100).toFixed(0)}%`), e === K && (r = `#000 ${(n * 100).toFixed(0)}%`), e === q && (r = `#fff ${(n * 100).toFixed(0)}%`), `color-mix(in ${b}, ${t}, ${r})`;
|
|
2828
|
+
}
|
|
2829
|
+
return e(t, n);
|
|
2830
|
+
}
|
|
2831
|
+
if (Ur(t, [
|
|
2832
|
+
"Alert",
|
|
2833
|
+
"AppBar",
|
|
2834
|
+
"Avatar",
|
|
2835
|
+
"Button",
|
|
2836
|
+
"Chip",
|
|
2837
|
+
"FilledInput",
|
|
2838
|
+
"LinearProgress",
|
|
2839
|
+
"Skeleton",
|
|
2840
|
+
"Slider",
|
|
2841
|
+
"SnackbarContent",
|
|
2842
|
+
"SpeedDialAction",
|
|
2843
|
+
"StepConnector",
|
|
2844
|
+
"StepContent",
|
|
2845
|
+
"Switch",
|
|
2846
|
+
"TableCell",
|
|
2847
|
+
"Tooltip"
|
|
2848
|
+
]), t.mode === "light") {
|
|
2849
|
+
Z(t.Alert, "errorColor", r(K, o ? p("palette-error-light") : t.error.light, .6)), Z(t.Alert, "infoColor", r(K, o ? p("palette-info-light") : t.info.light, .6)), Z(t.Alert, "successColor", r(K, o ? p("palette-success-light") : t.success.light, .6)), Z(t.Alert, "warningColor", r(K, o ? p("palette-warning-light") : t.warning.light, .6)), Z(t.Alert, "errorFilledBg", n("palette-error-main")), Z(t.Alert, "infoFilledBg", n("palette-info-main")), Z(t.Alert, "successFilledBg", n("palette-success-main")), Z(t.Alert, "warningFilledBg", n("palette-warning-main")), Z(t.Alert, "errorFilledColor", $(() => t.getContrastText(t.error.main))), Z(t.Alert, "infoFilledColor", $(() => t.getContrastText(t.info.main))), Z(t.Alert, "successFilledColor", $(() => t.getContrastText(t.success.main))), Z(t.Alert, "warningFilledColor", $(() => t.getContrastText(t.warning.main))), Z(t.Alert, "errorStandardBg", r(q, o ? p("palette-error-light") : t.error.light, .9)), Z(t.Alert, "infoStandardBg", r(q, o ? p("palette-info-light") : t.info.light, .9)), Z(t.Alert, "successStandardBg", r(q, o ? p("palette-success-light") : t.success.light, .9)), Z(t.Alert, "warningStandardBg", r(q, o ? p("palette-warning-light") : t.warning.light, .9)), Z(t.Alert, "errorIconColor", n("palette-error-main")), Z(t.Alert, "infoIconColor", n("palette-info-main")), Z(t.Alert, "successIconColor", n("palette-success-main")), Z(t.Alert, "warningIconColor", n("palette-warning-main")), Z(t.AppBar, "defaultBg", n("palette-grey-100")), Z(t.Avatar, "defaultBg", n("palette-grey-400")), Z(t.Button, "inheritContainedBg", n("palette-grey-300")), Z(t.Button, "inheritContainedHoverBg", n("palette-grey-A100")), Z(t.Chip, "defaultBorder", n("palette-grey-400")), Z(t.Chip, "defaultAvatarColor", n("palette-grey-700")), Z(t.Chip, "defaultIconColor", n("palette-grey-700")), Z(t.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), Z(t.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), Z(t.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), Z(t.LinearProgress, "primaryBg", r(q, o ? p("palette-primary-main") : t.primary.main, .62)), Z(t.LinearProgress, "secondaryBg", r(q, o ? p("palette-secondary-main") : t.secondary.main, .62)), Z(t.LinearProgress, "errorBg", r(q, o ? p("palette-error-main") : t.error.main, .62)), Z(t.LinearProgress, "infoBg", r(q, o ? p("palette-info-main") : t.info.main, .62)), Z(t.LinearProgress, "successBg", r(q, o ? p("palette-success-main") : t.success.main, .62)), Z(t.LinearProgress, "warningBg", r(q, o ? p("palette-warning-light") : t.warning.main, .62)), Z(t.Skeleton, "bg", b ? r(G, o ? p("palette-text-primary") : t.text.primary, .11) : `rgba(${n("palette-text-primaryChannel")} / 0.11)`), Z(t.Slider, "primaryTrack", r(q, o ? p("palette-primary-main") : t.primary.main, .62)), Z(t.Slider, "secondaryTrack", r(q, o ? p("palette-secondary-main") : t.secondary.main, .62)), Z(t.Slider, "errorTrack", r(q, o ? p("palette-error-main") : t.error.main, .62)), Z(t.Slider, "infoTrack", r(q, o ? p("palette-info-main") : t.info.main, .62)), Z(t.Slider, "successTrack", r(q, o ? p("palette-success-main") : t.success.main, .62)), Z(t.Slider, "warningTrack", r(q, o ? p("palette-warning-main") : t.warning.main, .62));
|
|
2850
|
+
let e = b ? r(K, o ? p("palette-background-default") : t.background.default, .6825) : Nn(t.background.default, .8);
|
|
2851
|
+
Z(t.SnackbarContent, "bg", e), Z(t.SnackbarContent, "color", $(() => b ? nr.text.primary : t.getContrastText(e))), Z(t.SpeedDialAction, "fabHoverBg", Nn(t.background.paper, .15)), Z(t.StepConnector, "border", n("palette-grey-400")), Z(t.StepContent, "border", n("palette-grey-400")), Z(t.Switch, "defaultColor", n("palette-common-white")), Z(t.Switch, "defaultDisabledColor", n("palette-grey-100")), Z(t.Switch, "primaryDisabledColor", r(q, o ? p("palette-primary-main") : t.primary.main, .62)), Z(t.Switch, "secondaryDisabledColor", r(q, o ? p("palette-secondary-main") : t.secondary.main, .62)), Z(t.Switch, "errorDisabledColor", r(q, o ? p("palette-error-main") : t.error.main, .62)), Z(t.Switch, "infoDisabledColor", r(q, o ? p("palette-info-main") : t.info.main, .62)), Z(t.Switch, "successDisabledColor", r(q, o ? p("palette-success-main") : t.success.main, .62)), Z(t.Switch, "warningDisabledColor", r(q, o ? p("palette-warning-main") : t.warning.main, .62)), Z(t.TableCell, "border", r(q, G(o ? p("palette-divider") : t.divider, 1), .88)), Z(t.Tooltip, "bg", r(G, o ? p("palette-grey-700") : t.grey[700], .92));
|
|
2852
|
+
}
|
|
2853
|
+
if (t.mode === "dark") {
|
|
2854
|
+
Z(t.Alert, "errorColor", r(q, o ? p("palette-error-light") : t.error.light, .6)), Z(t.Alert, "infoColor", r(q, o ? p("palette-info-light") : t.info.light, .6)), Z(t.Alert, "successColor", r(q, o ? p("palette-success-light") : t.success.light, .6)), Z(t.Alert, "warningColor", r(q, o ? p("palette-warning-light") : t.warning.light, .6)), Z(t.Alert, "errorFilledBg", n("palette-error-dark")), Z(t.Alert, "infoFilledBg", n("palette-info-dark")), Z(t.Alert, "successFilledBg", n("palette-success-dark")), Z(t.Alert, "warningFilledBg", n("palette-warning-dark")), Z(t.Alert, "errorFilledColor", $(() => t.getContrastText(t.error.dark))), Z(t.Alert, "infoFilledColor", $(() => t.getContrastText(t.info.dark))), Z(t.Alert, "successFilledColor", $(() => t.getContrastText(t.success.dark))), Z(t.Alert, "warningFilledColor", $(() => t.getContrastText(t.warning.dark))), Z(t.Alert, "errorStandardBg", r(K, o ? p("palette-error-light") : t.error.light, .9)), Z(t.Alert, "infoStandardBg", r(K, o ? p("palette-info-light") : t.info.light, .9)), Z(t.Alert, "successStandardBg", r(K, o ? p("palette-success-light") : t.success.light, .9)), Z(t.Alert, "warningStandardBg", r(K, o ? p("palette-warning-light") : t.warning.light, .9)), Z(t.Alert, "errorIconColor", n("palette-error-main")), Z(t.Alert, "infoIconColor", n("palette-info-main")), Z(t.Alert, "successIconColor", n("palette-success-main")), Z(t.Alert, "warningIconColor", n("palette-warning-main")), Z(t.AppBar, "defaultBg", n("palette-grey-900")), Z(t.AppBar, "darkBg", n("palette-background-paper")), Z(t.AppBar, "darkColor", n("palette-text-primary")), Z(t.Avatar, "defaultBg", n("palette-grey-600")), Z(t.Button, "inheritContainedBg", n("palette-grey-800")), Z(t.Button, "inheritContainedHoverBg", n("palette-grey-700")), Z(t.Chip, "defaultBorder", n("palette-grey-700")), Z(t.Chip, "defaultAvatarColor", n("palette-grey-300")), Z(t.Chip, "defaultIconColor", n("palette-grey-300")), Z(t.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), Z(t.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), Z(t.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), Z(t.LinearProgress, "primaryBg", r(K, o ? p("palette-primary-main") : t.primary.main, .5)), Z(t.LinearProgress, "secondaryBg", r(K, o ? p("palette-secondary-main") : t.secondary.main, .5)), Z(t.LinearProgress, "errorBg", r(K, o ? p("palette-error-main") : t.error.main, .5)), Z(t.LinearProgress, "infoBg", r(K, o ? p("palette-info-main") : t.info.main, .5)), Z(t.LinearProgress, "successBg", r(K, o ? p("palette-success-main") : t.success.main, .5)), Z(t.LinearProgress, "warningBg", r(K, o ? p("palette-warning-main") : t.warning.main, .5)), Z(t.Skeleton, "bg", b ? r(G, o ? p("palette-text-primary") : t.text.primary, .13) : `rgba(${n("palette-text-primaryChannel")} / 0.13)`), Z(t.Slider, "primaryTrack", r(K, o ? p("palette-primary-main") : t.primary.main, .5)), Z(t.Slider, "secondaryTrack", r(K, o ? p("palette-secondary-main") : t.secondary.main, .5)), Z(t.Slider, "errorTrack", r(K, o ? p("palette-error-main") : t.error.main, .5)), Z(t.Slider, "infoTrack", r(K, o ? p("palette-info-main") : t.info.main, .5)), Z(t.Slider, "successTrack", r(K, o ? p("palette-success-main") : t.success.main, .5)), Z(t.Slider, "warningTrack", r(K, o ? p("palette-warning-light") : t.warning.main, .5));
|
|
2855
|
+
let e = b ? r(q, o ? p("palette-background-default") : t.background.default, .985) : Nn(t.background.default, .98);
|
|
2856
|
+
Z(t.SnackbarContent, "bg", e), Z(t.SnackbarContent, "color", $(() => b ? er.text.primary : t.getContrastText(e))), Z(t.SpeedDialAction, "fabHoverBg", Nn(t.background.paper, .15)), Z(t.StepConnector, "border", n("palette-grey-600")), Z(t.StepContent, "border", n("palette-grey-600")), Z(t.Switch, "defaultColor", n("palette-grey-300")), Z(t.Switch, "defaultDisabledColor", n("palette-grey-600")), Z(t.Switch, "primaryDisabledColor", r(K, o ? p("palette-primary-main") : t.primary.main, .55)), Z(t.Switch, "secondaryDisabledColor", r(K, o ? p("palette-secondary-main") : t.secondary.main, .55)), Z(t.Switch, "errorDisabledColor", r(K, o ? p("palette-error-main") : t.error.main, .55)), Z(t.Switch, "infoDisabledColor", r(K, o ? p("palette-info-main") : t.info.main, .55)), Z(t.Switch, "successDisabledColor", r(K, o ? p("palette-success-main") : t.success.main, .55)), Z(t.Switch, "warningDisabledColor", r(K, o ? p("palette-warning-light") : t.warning.main, .55)), Z(t.TableCell, "border", r(K, G(o ? p("palette-divider") : t.divider, 1), .68)), Z(t.Tooltip, "bg", r(G, o ? p("palette-grey-700") : t.grey[700], .92));
|
|
2857
|
+
}
|
|
2858
|
+
Q(t.background, "default"), Q(t.background, "paper"), Q(t.common, "background"), Q(t.common, "onBackground"), Q(t, "divider"), Object.keys(t).forEach((e) => {
|
|
2859
|
+
let n = t[e];
|
|
2860
|
+
e !== "tonalOffset" && n && typeof n == "object" && (n.main && Z(t[e], "mainChannel", wn(Wr(n.main))), n.light && Z(t[e], "lightChannel", wn(Wr(n.light))), n.dark && Z(t[e], "darkChannel", wn(Wr(n.dark))), n.contrastText && Z(t[e], "contrastTextChannel", wn(Wr(n.contrastText))), e === "text" && (Q(t[e], "primary"), Q(t[e], "secondary")), e === "action" && (n.active && Q(t[e], "active"), n.selected && Q(t[e], "selected")));
|
|
2861
|
+
});
|
|
2862
|
+
}), S = t.reduce((e, t) => k(e, t), S);
|
|
2863
|
+
let ee = {
|
|
2864
|
+
prefix: a,
|
|
2865
|
+
disableCssColorScheme: i,
|
|
2866
|
+
shouldSkipGeneratingVar: s,
|
|
2867
|
+
getSelector: Hr(S),
|
|
2868
|
+
enableContrastVars: o
|
|
2869
|
+
}, { vars: te, generateThemeVars: ne, generateStyleSheets: re } = Gn(S, ee);
|
|
2870
|
+
return S.vars = te, Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e, t]) => {
|
|
2871
|
+
S[e] = t;
|
|
2872
|
+
}), S.generateThemeVars = ne, S.generateStyleSheets = re, S.generateSpacing = function() {
|
|
2873
|
+
return Xt(u.spacing, Xe(this));
|
|
2874
|
+
}, S.getColorSchemeSelector = Kn(c), S.spacing = S.generateSpacing(), S.shouldSkipGeneratingVar = s, S.unstable_sxConfig = {
|
|
2875
|
+
...Tt,
|
|
2876
|
+
...u?.unstable_sxConfig
|
|
2877
|
+
}, S.unstable_sx = function(e) {
|
|
2878
|
+
return B({
|
|
2879
|
+
sx: e,
|
|
2880
|
+
theme: this
|
|
2881
|
+
});
|
|
2882
|
+
}, S.toRuntimeSource = Ar, S;
|
|
2883
|
+
}
|
|
2884
|
+
//#endregion
|
|
2885
|
+
//#region node_modules/@mui/material/esm/styles/createTheme.js
|
|
2886
|
+
function Yr(e, t, n) {
|
|
2887
|
+
e.colorSchemes && n && (e.colorSchemes[t] = {
|
|
2888
|
+
...n !== !0 && n,
|
|
2889
|
+
palette: fr({
|
|
2890
|
+
...n === !0 ? {} : n.palette,
|
|
2891
|
+
mode: t
|
|
2892
|
+
})
|
|
2893
|
+
});
|
|
2894
|
+
}
|
|
2895
|
+
function Xr(e = {}, ...t) {
|
|
2896
|
+
let { palette: n, cssVariables: r = !1, colorSchemes: i = n ? void 0 : { light: !0 }, defaultColorScheme: a = n?.mode, ...o } = e, s = a || "light", c = i?.[s], l = {
|
|
2897
|
+
...i,
|
|
2898
|
+
...n ? { [s]: {
|
|
2899
|
+
...typeof c != "boolean" && c,
|
|
2900
|
+
palette: n
|
|
2901
|
+
} } : void 0
|
|
2902
|
+
};
|
|
2903
|
+
if (r === !1) {
|
|
2904
|
+
if (!("colorSchemes" in e)) return Pr(e, ...t);
|
|
2905
|
+
let r = n;
|
|
2906
|
+
"palette" in e || l[s] && (l[s] === !0 ? s === "dark" && (r = { mode: "dark" }) : r = l[s].palette);
|
|
2907
|
+
let i = Pr({
|
|
2908
|
+
...e,
|
|
2909
|
+
palette: r
|
|
2910
|
+
}, ...t);
|
|
2911
|
+
return i.defaultColorScheme = s, i.colorSchemes = l, i.palette.mode === "light" && (i.colorSchemes.light = {
|
|
2912
|
+
...l.light !== !0 && l.light,
|
|
2913
|
+
palette: i.palette
|
|
2914
|
+
}, Yr(i, "dark", l.dark)), i.palette.mode === "dark" && (i.colorSchemes.dark = {
|
|
2915
|
+
...l.dark !== !0 && l.dark,
|
|
2916
|
+
palette: i.palette
|
|
2917
|
+
}, Yr(i, "light", l.light)), i;
|
|
2918
|
+
}
|
|
2919
|
+
return !n && !("light" in l) && s === "light" && (l.light = !0), Jr({
|
|
2920
|
+
...o,
|
|
2921
|
+
colorSchemes: l,
|
|
2922
|
+
defaultColorScheme: s,
|
|
2923
|
+
...typeof r != "boolean" && r
|
|
2924
|
+
}, ...t);
|
|
2925
|
+
}
|
|
2926
|
+
//#endregion
|
|
2927
|
+
//#region node_modules/@mui/material/esm/styles/defaultTheme.js
|
|
2928
|
+
var Zr = Xr(), Qr = "$$material";
|
|
2929
|
+
//#endregion
|
|
2930
|
+
//#region node_modules/@mui/material/esm/styles/slotShouldForwardProp.js
|
|
2931
|
+
function $r(e) {
|
|
2932
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
2933
|
+
}
|
|
2934
|
+
//#endregion
|
|
2935
|
+
//#region node_modules/@mui/material/esm/styles/styled.js
|
|
2936
|
+
var ei = pn({
|
|
2937
|
+
themeId: Qr,
|
|
2938
|
+
defaultTheme: Zr,
|
|
2939
|
+
rootShouldForwardProp: (e) => $r(e) && e !== "classes"
|
|
2940
|
+
}), ti = zn;
|
|
2941
|
+
//#endregion
|
|
2942
|
+
//#region node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js
|
|
2943
|
+
function ni(e) {
|
|
2944
|
+
return /* @__PURE__ */ s(Fn, { ...e });
|
|
2945
|
+
}
|
|
2946
|
+
process.env.NODE_ENV !== "production" && (ni.propTypes = {
|
|
2947
|
+
children: A.default.node,
|
|
2948
|
+
value: A.default.object.isRequired
|
|
2949
|
+
});
|
|
2950
|
+
function ri(e) {
|
|
2951
|
+
return Ln(e);
|
|
2952
|
+
}
|
|
2953
|
+
//#endregion
|
|
2954
|
+
//#region node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js
|
|
2955
|
+
function ii(e) {
|
|
2956
|
+
return en("MuiSvgIcon", e);
|
|
2957
|
+
}
|
|
2958
|
+
tn("MuiSvgIcon", [
|
|
2959
|
+
"root",
|
|
2960
|
+
"colorPrimary",
|
|
2961
|
+
"colorSecondary",
|
|
2962
|
+
"colorAction",
|
|
2963
|
+
"colorError",
|
|
2964
|
+
"colorDisabled",
|
|
2965
|
+
"fontSizeInherit",
|
|
2966
|
+
"fontSizeSmall",
|
|
2967
|
+
"fontSizeMedium",
|
|
2968
|
+
"fontSizeLarge"
|
|
2969
|
+
]);
|
|
2970
|
+
//#endregion
|
|
2971
|
+
//#region node_modules/@mui/material/esm/SvgIcon/SvgIcon.js
|
|
2972
|
+
var ai = (e) => {
|
|
2973
|
+
let { color: t, fontSize: n, classes: r } = e;
|
|
2974
|
+
return we({ root: [
|
|
2975
|
+
"root",
|
|
2976
|
+
t !== "inherit" && `color${de(t)}`,
|
|
2977
|
+
`fontSize${de(n)}`
|
|
2978
|
+
] }, ii, r);
|
|
2979
|
+
}, oi = ei("svg", {
|
|
2980
|
+
name: "MuiSvgIcon",
|
|
2981
|
+
slot: "Root",
|
|
2982
|
+
overridesResolver: (e, t) => {
|
|
2983
|
+
let { ownerState: n } = e;
|
|
2984
|
+
return [
|
|
2985
|
+
t.root,
|
|
2986
|
+
n.color !== "inherit" && t[`color${de(n.color)}`],
|
|
2987
|
+
t[`fontSize${de(n.fontSize)}`]
|
|
2988
|
+
];
|
|
2989
|
+
}
|
|
2990
|
+
})(ti(({ theme: e }) => ({
|
|
2991
|
+
userSelect: "none",
|
|
2992
|
+
width: "1em",
|
|
2993
|
+
height: "1em",
|
|
2994
|
+
display: "inline-block",
|
|
2995
|
+
flexShrink: 0,
|
|
2996
|
+
transition: e.transitions?.create?.("fill", { duration: (e.vars ?? e).transitions?.duration?.shorter }),
|
|
2997
|
+
variants: [
|
|
2998
|
+
{
|
|
2999
|
+
props: (e) => !e.hasSvgAsChild,
|
|
3000
|
+
style: { fill: "currentColor" }
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
props: { fontSize: "inherit" },
|
|
3004
|
+
style: { fontSize: "inherit" }
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
props: { fontSize: "small" },
|
|
3008
|
+
style: { fontSize: e.typography?.pxToRem?.(20) || "1.25rem" }
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
props: { fontSize: "medium" },
|
|
3012
|
+
style: { fontSize: e.typography?.pxToRem?.(24) || "1.5rem" }
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
props: { fontSize: "large" },
|
|
3016
|
+
style: { fontSize: e.typography?.pxToRem?.(35) || "2.1875rem" }
|
|
3017
|
+
},
|
|
3018
|
+
...Object.entries((e.vars ?? e).palette).filter(([, e]) => e && e.main).map(([t]) => ({
|
|
3019
|
+
props: { color: t },
|
|
3020
|
+
style: { color: (e.vars ?? e).palette?.[t]?.main }
|
|
3021
|
+
})),
|
|
3022
|
+
{
|
|
3023
|
+
props: { color: "action" },
|
|
3024
|
+
style: { color: (e.vars ?? e).palette?.action?.active }
|
|
3025
|
+
},
|
|
3026
|
+
{
|
|
3027
|
+
props: { color: "disabled" },
|
|
3028
|
+
style: { color: (e.vars ?? e).palette?.action?.disabled }
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
props: { color: "inherit" },
|
|
3032
|
+
style: { color: void 0 }
|
|
3033
|
+
}
|
|
3034
|
+
]
|
|
3035
|
+
}))), si = /* @__PURE__ */ e.forwardRef(function(t, n) {
|
|
3036
|
+
let r = ri({
|
|
3037
|
+
props: t,
|
|
3038
|
+
name: "MuiSvgIcon"
|
|
3039
|
+
}), { children: i, className: a, color: o = "inherit", component: l = "svg", fontSize: u = "medium", htmlColor: d, inheritViewBox: f = !1, titleAccess: p, viewBox: m = "0 0 24 24", ...h } = r, g = /* @__PURE__ */ e.isValidElement(i) && i.type === "svg", _ = {
|
|
3040
|
+
...r,
|
|
3041
|
+
color: o,
|
|
3042
|
+
component: l,
|
|
3043
|
+
fontSize: u,
|
|
3044
|
+
instanceFontSize: t.fontSize,
|
|
3045
|
+
inheritViewBox: f,
|
|
3046
|
+
viewBox: m,
|
|
3047
|
+
hasSvgAsChild: g
|
|
3048
|
+
}, v = {};
|
|
3049
|
+
return f || (v.viewBox = m), /* @__PURE__ */ c(oi, {
|
|
3050
|
+
as: l,
|
|
3051
|
+
className: Ce(ai(_).root, a),
|
|
3052
|
+
focusable: "false",
|
|
3053
|
+
color: d,
|
|
3054
|
+
"aria-hidden": p ? void 0 : !0,
|
|
3055
|
+
role: p ? "img" : void 0,
|
|
3056
|
+
ref: n,
|
|
3057
|
+
...v,
|
|
3058
|
+
...h,
|
|
3059
|
+
...g && i.props,
|
|
3060
|
+
ownerState: _,
|
|
3061
|
+
children: [g ? i.props.children : i, p ? /* @__PURE__ */ s("title", { children: p }) : null]
|
|
3062
|
+
});
|
|
3063
|
+
});
|
|
3064
|
+
process.env.NODE_ENV !== "production" && (si.propTypes = {
|
|
3065
|
+
children: A.default.node,
|
|
3066
|
+
classes: A.default.object,
|
|
3067
|
+
className: A.default.string,
|
|
3068
|
+
color: A.default.oneOfType([A.default.oneOf([
|
|
3069
|
+
"inherit",
|
|
3070
|
+
"action",
|
|
3071
|
+
"disabled",
|
|
3072
|
+
"primary",
|
|
3073
|
+
"secondary",
|
|
3074
|
+
"error",
|
|
3075
|
+
"info",
|
|
3076
|
+
"success",
|
|
3077
|
+
"warning"
|
|
3078
|
+
]), A.default.string]),
|
|
3079
|
+
component: A.default.elementType,
|
|
3080
|
+
fontSize: A.default.oneOfType([A.default.oneOf([
|
|
3081
|
+
"inherit",
|
|
3082
|
+
"large",
|
|
3083
|
+
"medium",
|
|
3084
|
+
"small"
|
|
3085
|
+
]), A.default.string]),
|
|
3086
|
+
htmlColor: A.default.string,
|
|
3087
|
+
inheritViewBox: A.default.bool,
|
|
3088
|
+
shapeRendering: A.default.string,
|
|
3089
|
+
sx: A.default.oneOfType([
|
|
3090
|
+
A.default.arrayOf(A.default.oneOfType([
|
|
3091
|
+
A.default.func,
|
|
3092
|
+
A.default.object,
|
|
3093
|
+
A.default.bool
|
|
3094
|
+
])),
|
|
3095
|
+
A.default.func,
|
|
3096
|
+
A.default.object
|
|
3097
|
+
]),
|
|
3098
|
+
titleAccess: A.default.string,
|
|
3099
|
+
viewBox: A.default.string
|
|
3100
|
+
}), si.muiName = "SvgIcon";
|
|
3101
|
+
//#endregion
|
|
3102
|
+
//#region node_modules/@mui/material/esm/utils/createSvgIcon.js
|
|
3103
|
+
function ci(t, n) {
|
|
3104
|
+
function r(e, r) {
|
|
3105
|
+
return /* @__PURE__ */ s(si, {
|
|
3106
|
+
"data-testid": process.env.NODE_ENV === "production" ? void 0 : `${n}Icon`,
|
|
3107
|
+
ref: r,
|
|
3108
|
+
...e,
|
|
3109
|
+
children: t
|
|
3110
|
+
});
|
|
3111
|
+
}
|
|
3112
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${n}Icon`), r.muiName = si.muiName, /* @__PURE__ */ e.memo(/* @__PURE__ */ e.forwardRef(r));
|
|
3113
|
+
}
|
|
3114
|
+
//#endregion
|
|
3115
|
+
//#region node_modules/@mui/icons-material/esm/InfoOutlined.js
|
|
3116
|
+
var li = ci(/* @__PURE__ */ s("path", { d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8" }), "InfoOutlined");
|
|
3117
|
+
//#endregion
|
|
3118
|
+
//#region src/SpecAnchor.tsx
|
|
3119
|
+
function ui({ spec: e, children: t }) {
|
|
3120
|
+
let { enabled: n, setSelected: i } = se(), [l, f] = o(null), p = a(null), h = !!l;
|
|
3121
|
+
return r(() => {
|
|
3122
|
+
if (!h) return;
|
|
3123
|
+
let e = (e) => {
|
|
3124
|
+
let t = p.current;
|
|
3125
|
+
if (!t) return;
|
|
3126
|
+
let n = t.getBoundingClientRect();
|
|
3127
|
+
e.clientX >= n.left && e.clientX <= n.right && e.clientY >= n.top && e.clientY <= n.bottom || f(null);
|
|
3128
|
+
}, t = () => f(null);
|
|
3129
|
+
return window.addEventListener("pointermove", e), window.addEventListener("scroll", t, !0), window.addEventListener("blur", t), () => {
|
|
3130
|
+
window.removeEventListener("pointermove", e), window.removeEventListener("scroll", t, !0), window.removeEventListener("blur", t);
|
|
3131
|
+
};
|
|
3132
|
+
}, [h]), /* @__PURE__ */ c(u, {
|
|
3133
|
+
ref: p,
|
|
3134
|
+
sx: {
|
|
3135
|
+
position: "relative",
|
|
3136
|
+
outline: n && h ? `1px dashed ${S("#6366f1", .6)}` : "none",
|
|
3137
|
+
outlineOffset: -1,
|
|
3138
|
+
borderRadius: 2,
|
|
3139
|
+
transition: "outline .08s ease"
|
|
3140
|
+
},
|
|
3141
|
+
onPointerEnter: (e) => n && f(e.currentTarget),
|
|
3142
|
+
onPointerLeave: () => f(null),
|
|
3143
|
+
onClick: () => n && i(e),
|
|
3144
|
+
children: [
|
|
3145
|
+
n && h && /* @__PURE__ */ s(b, {
|
|
3146
|
+
title: "기능 설명 보기",
|
|
3147
|
+
children: /* @__PURE__ */ s(m, {
|
|
3148
|
+
size: "small",
|
|
3149
|
+
sx: {
|
|
3150
|
+
position: "absolute",
|
|
3151
|
+
top: 2,
|
|
3152
|
+
right: 2,
|
|
3153
|
+
zIndex: 1,
|
|
3154
|
+
bgcolor: "background.paper"
|
|
3155
|
+
},
|
|
3156
|
+
children: /* @__PURE__ */ s(li, { fontSize: "inherit" })
|
|
3157
|
+
})
|
|
3158
|
+
}),
|
|
3159
|
+
t,
|
|
3160
|
+
/* @__PURE__ */ s(v, {
|
|
3161
|
+
open: !!l && n,
|
|
3162
|
+
anchorEl: l,
|
|
3163
|
+
onClose: () => f(null),
|
|
3164
|
+
anchorOrigin: {
|
|
3165
|
+
vertical: "bottom",
|
|
3166
|
+
horizontal: "left"
|
|
3167
|
+
},
|
|
3168
|
+
transformOrigin: {
|
|
3169
|
+
vertical: "top",
|
|
3170
|
+
horizontal: "left"
|
|
3171
|
+
},
|
|
3172
|
+
disableRestoreFocus: !0,
|
|
3173
|
+
slotProps: { paper: { sx: { pointerEvents: "none" } } },
|
|
3174
|
+
children: /* @__PURE__ */ s(u, {
|
|
3175
|
+
sx: {
|
|
3176
|
+
p: 2,
|
|
3177
|
+
width: 320
|
|
3178
|
+
},
|
|
3179
|
+
children: /* @__PURE__ */ c(y, {
|
|
3180
|
+
spacing: 1,
|
|
3181
|
+
children: [/* @__PURE__ */ c(y, {
|
|
3182
|
+
direction: "row",
|
|
3183
|
+
spacing: 1,
|
|
3184
|
+
alignItems: "center",
|
|
3185
|
+
children: [/* @__PURE__ */ s(x, {
|
|
3186
|
+
fontWeight: 700,
|
|
3187
|
+
children: e.title
|
|
3188
|
+
}), e.priority && /* @__PURE__ */ s(d, {
|
|
3189
|
+
size: "small",
|
|
3190
|
+
label: e.priority
|
|
3191
|
+
})]
|
|
3192
|
+
}), /* @__PURE__ */ s(x, {
|
|
3193
|
+
variant: "body2",
|
|
3194
|
+
color: "text.secondary",
|
|
3195
|
+
children: e.description
|
|
3196
|
+
})]
|
|
3197
|
+
})
|
|
3198
|
+
})
|
|
3199
|
+
})
|
|
3200
|
+
]
|
|
3201
|
+
});
|
|
3202
|
+
}
|
|
3203
|
+
//#endregion
|
|
3204
|
+
//#region src/SpecPanel.tsx
|
|
3205
|
+
function di({ title: e, items: t }) {
|
|
3206
|
+
return t?.length ? /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(x, {
|
|
3207
|
+
variant: "subtitle2",
|
|
3208
|
+
fontWeight: 700,
|
|
3209
|
+
sx: { mt: 1 },
|
|
3210
|
+
children: e
|
|
3211
|
+
}), /* @__PURE__ */ s(h, {
|
|
3212
|
+
dense: !0,
|
|
3213
|
+
sx: { pt: 0 },
|
|
3214
|
+
children: t.map((t, n) => /* @__PURE__ */ s(g, {
|
|
3215
|
+
sx: { py: 0 },
|
|
3216
|
+
children: /* @__PURE__ */ s(_, { primary: `• ${t}` })
|
|
3217
|
+
}, `${e}-${n}`))
|
|
3218
|
+
})] }) : null;
|
|
3219
|
+
}
|
|
3220
|
+
function fi(e) {
|
|
3221
|
+
return Array.from(new Set(e));
|
|
3222
|
+
}
|
|
3223
|
+
function pi(e, t) {
|
|
3224
|
+
let n = [e], r = e, i = new Set([e.id]);
|
|
3225
|
+
for (; r.parentId;) {
|
|
3226
|
+
let e = t[r.parentId];
|
|
3227
|
+
if (!e || i.has(e.id)) break;
|
|
3228
|
+
n.push(e), i.add(e.id), r = e;
|
|
3229
|
+
}
|
|
3230
|
+
return n.reverse();
|
|
3231
|
+
}
|
|
3232
|
+
function mi() {
|
|
3233
|
+
let { selected: e, setSelected: t, specsMap: n } = se();
|
|
3234
|
+
if (!e) return /* @__PURE__ */ s(p, {
|
|
3235
|
+
anchor: "right",
|
|
3236
|
+
open: !1,
|
|
3237
|
+
onClose: () => t(void 0)
|
|
3238
|
+
});
|
|
3239
|
+
let r = pi(e, n), i = fi(r.flatMap((e) => e.inputs ?? [])), a = fi(r.flatMap((e) => e.outputs ?? [])), o = fi(r.flatMap((e) => e.validation ?? [])), l = fi(r.flatMap((e) => e.edgeCases ?? []));
|
|
3240
|
+
return /* @__PURE__ */ s(p, {
|
|
3241
|
+
anchor: "right",
|
|
3242
|
+
open: !!e,
|
|
3243
|
+
onClose: () => t(void 0),
|
|
3244
|
+
children: /* @__PURE__ */ s(u, {
|
|
3245
|
+
sx: {
|
|
3246
|
+
width: 380,
|
|
3247
|
+
p: 2
|
|
3248
|
+
},
|
|
3249
|
+
children: /* @__PURE__ */ c(y, {
|
|
3250
|
+
spacing: 1,
|
|
3251
|
+
children: [
|
|
3252
|
+
/* @__PURE__ */ s(x, {
|
|
3253
|
+
variant: "h6",
|
|
3254
|
+
fontWeight: 800,
|
|
3255
|
+
children: e.title
|
|
3256
|
+
}),
|
|
3257
|
+
/* @__PURE__ */ s(y, {
|
|
3258
|
+
direction: "row",
|
|
3259
|
+
spacing: .8,
|
|
3260
|
+
flexWrap: "wrap",
|
|
3261
|
+
useFlexGap: !0,
|
|
3262
|
+
children: r.map((e) => /* @__PURE__ */ s(d, {
|
|
3263
|
+
size: "small",
|
|
3264
|
+
variant: "outlined",
|
|
3265
|
+
label: e.title
|
|
3266
|
+
}, e.id))
|
|
3267
|
+
}),
|
|
3268
|
+
/* @__PURE__ */ s(x, {
|
|
3269
|
+
color: "text.secondary",
|
|
3270
|
+
children: e.description
|
|
3271
|
+
}),
|
|
3272
|
+
/* @__PURE__ */ s(f, { sx: { my: 1 } }),
|
|
3273
|
+
/* @__PURE__ */ s(di, {
|
|
3274
|
+
title: "입력 (상위 포함)",
|
|
3275
|
+
items: i
|
|
3276
|
+
}),
|
|
3277
|
+
/* @__PURE__ */ s(di, {
|
|
3278
|
+
title: "출력 (상위 포함)",
|
|
3279
|
+
items: a
|
|
3280
|
+
}),
|
|
3281
|
+
/* @__PURE__ */ s(di, {
|
|
3282
|
+
title: "검증 (상위 포함)",
|
|
3283
|
+
items: o
|
|
3284
|
+
}),
|
|
3285
|
+
/* @__PURE__ */ s(di, {
|
|
3286
|
+
title: "예외/주의 (상위 포함)",
|
|
3287
|
+
items: l
|
|
3288
|
+
})
|
|
3289
|
+
]
|
|
3290
|
+
})
|
|
3291
|
+
})
|
|
3292
|
+
});
|
|
3293
|
+
}
|
|
3294
|
+
//#endregion
|
|
3295
|
+
export { ui as SpecAnchor, mi as SpecPanel, E as SpecProvider, se as useSpecContext };
|