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