@solostylist/ui-kit 1.0.54 → 1.0.55
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/dist/{Box-BOnkyXg-.js → Box-MoP3r0T2.js} +13 -14
- package/dist/Close-DLG48sGB.js +8 -0
- package/dist/HelpOutlineOutlined-CBZQGWGK.js +8 -0
- package/dist/{Menu-BTGaz6HX.js → Menu-Y8dE9GrA.js} +30 -31
- package/dist/{Stack-CHCAZYKm.js → Stack-DT2aopM5.js} +5 -5
- package/dist/{TransitionGroup-CuA3gNyE.js → TransitionGroup-BCkqyHLn.js} +1 -1
- package/dist/{Typography-8CUP66S2.js → Typography-BXwj4yQZ.js} +5 -5
- package/dist/{buttonBaseClasses-CTVeu_V8.js → buttonBaseClasses-2-g8E4KG.js} +2 -2
- package/dist/createSvgIcon-YtxTUNwI.js +535 -0
- package/dist/{createTheme-CyFSna1a.js → createTheme-CozHbEju.js} +227 -225
- package/dist/{extendSxProp-C6KgcV1-.js → extendSxProp-BuqOAkIB.js} +1 -1
- package/dist/{iconButtonClasses-CpCspPuI.js → iconButtonClasses-Ba5VdL62.js} +2 -2
- package/dist/identifier-9JFYVRsR.js +246 -0
- package/dist/{index-BKXuuq9K.js → index-GaV7LHxy.js} +5 -5
- package/dist/{outlinedInputClasses-Y-zQ9ZHZ.js → outlinedInputClasses-MXXlnR_X.js} +2 -2
- package/dist/s-data-table/s-data-table.js +46 -48
- package/dist/s-dialog/s-dialog.js +13 -13
- package/dist/s-dialog-confirm/s-dialog-confirm.js +10 -10
- package/dist/s-dialog-message/s-dialog-message.js +8 -8
- package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
- package/dist/s-file-icon/s-file-icon.js +1 -1
- package/dist/s-form/s-form.js +7 -7
- package/dist/s-label/s-label.js +7 -7
- package/dist/s-multi-select/s-multi-select.js +47 -49
- package/dist/s-smart-text-field/s-smart-text-field.js +3 -3
- package/dist/s-text-editor/s-text-editor-toolbar.js +614 -602
- package/dist/s-text-editor/s-text-editor.js +1 -1
- package/dist/s-tip/s-tip.js +12 -10
- package/dist/theme/components/avatar.js +7 -5
- package/dist/theme/customizations/data-display.js +7 -7
- package/dist/theme/customizations/feedback.js +1 -1
- package/dist/theme/customizations/inputs.js +13 -14
- package/dist/theme/customizations/navigation.js +3 -3
- package/dist/theme/customizations/surfaces.js +1 -1
- package/dist/theme/theme-primitives.js +1 -1
- package/dist/{typographyClasses-DVLfmcGt.js → typographyClasses-D511Gj84.js} +2 -2
- package/dist/{useControlled-DnifWmuD.js → useFormControl-B3RPiDsz.js} +8 -8
- package/dist/{useSlot-DFX3jR9F.js → useSlot-GW4ou7g5.js} +18 -19
- package/dist/{useTheme-TEQWKSsD.js → useTheme-vk3BYrgD.js} +1 -1
- package/package.json +1 -2
- package/dist/createSvgIcon-FIMSBrG5.js +0 -247
- package/dist/emotion-serialize.esm-lgBmL_7o.js +0 -195
- package/dist/generateUtilityClasses-CvAVhM6T.js +0 -10
- package/dist/identifier-BA7fwE7E.js +0 -46
- package/dist/memoTheme-Bz_6CvJG.js +0 -293
- package/dist/svgIconClasses-SRBiyaM8.js +0 -10
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import * as Lr from "react";
|
|
2
2
|
import { g as rt } from "./_commonjsHelpers-B4e78b8K.js";
|
|
3
|
+
const gr = (e) => e, tt = () => {
|
|
4
|
+
let e = gr;
|
|
5
|
+
return {
|
|
6
|
+
configure(r) {
|
|
7
|
+
e = r;
|
|
8
|
+
},
|
|
9
|
+
generate(r) {
|
|
10
|
+
return e(r);
|
|
11
|
+
},
|
|
12
|
+
reset() {
|
|
13
|
+
e = gr;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
}, nt = tt();
|
|
3
17
|
function de(e, ...r) {
|
|
4
18
|
const t = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
5
19
|
return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
|
|
6
20
|
}
|
|
21
|
+
function Fr(e) {
|
|
22
|
+
if (typeof e != "string")
|
|
23
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : de(7));
|
|
24
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
25
|
+
}
|
|
7
26
|
var ke = { exports: {} }, Ie = { exports: {} }, M = {};
|
|
8
27
|
/** @license React v16.13.1
|
|
9
28
|
* react-is.production.min.js
|
|
@@ -13,10 +32,10 @@ var ke = { exports: {} }, Ie = { exports: {} }, M = {};
|
|
|
13
32
|
* This source code is licensed under the MIT license found in the
|
|
14
33
|
* LICENSE file in the root directory of this source tree.
|
|
15
34
|
*/
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
35
|
+
var hr;
|
|
36
|
+
function ot() {
|
|
37
|
+
if (hr) return M;
|
|
38
|
+
hr = 1;
|
|
20
39
|
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, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, $ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
21
40
|
function w(h) {
|
|
22
41
|
if (typeof h == "object" && h !== null) {
|
|
@@ -88,9 +107,9 @@ var D = {};
|
|
|
88
107
|
* This source code is licensed under the MIT license found in the
|
|
89
108
|
* LICENSE file in the root directory of this source tree.
|
|
90
109
|
*/
|
|
91
|
-
var
|
|
92
|
-
function
|
|
93
|
-
return
|
|
110
|
+
var yr;
|
|
111
|
+
function it() {
|
|
112
|
+
return yr || (yr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
94
113
|
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, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, E = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, $ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
95
114
|
function w(v) {
|
|
96
115
|
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
@@ -171,19 +190,19 @@ function nt() {
|
|
|
171
190
|
D.AsyncMode = h, D.ConcurrentMode = H, D.ContextConsumer = ee, D.ContextProvider = se, D.Element = Q, D.ForwardRef = i, D.Fragment = C, D.Lazy = B, D.Memo = V, D.Portal = ne, D.Profiler = le, D.StrictMode = oe, D.Suspense = ge, D.isAsyncMode = Qe, D.isConcurrentMode = g, D.isContextConsumer = S, D.isContextProvider = P, D.isElement = _, D.isForwardRef = O, D.isFragment = k, D.isLazy = A, D.isMemo = R, D.isPortal = I, D.isProfiler = j, D.isStrictMode = N, D.isSuspense = X, D.isValidElementType = w, D.typeOf = T;
|
|
172
191
|
}()), D;
|
|
173
192
|
}
|
|
174
|
-
var
|
|
175
|
-
function
|
|
176
|
-
return
|
|
193
|
+
var br;
|
|
194
|
+
function Wr() {
|
|
195
|
+
return br || (br = 1, process.env.NODE_ENV === "production" ? Ie.exports = ot() : Ie.exports = it()), Ie.exports;
|
|
177
196
|
}
|
|
178
197
|
/*
|
|
179
198
|
object-assign
|
|
180
199
|
(c) Sindre Sorhus
|
|
181
200
|
@license MIT
|
|
182
201
|
*/
|
|
183
|
-
var Xe,
|
|
184
|
-
function
|
|
185
|
-
if (
|
|
186
|
-
|
|
202
|
+
var Xe, vr;
|
|
203
|
+
function at() {
|
|
204
|
+
if (vr) return Xe;
|
|
205
|
+
vr = 1;
|
|
187
206
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
188
207
|
function n(a) {
|
|
189
208
|
if (a == null)
|
|
@@ -226,25 +245,25 @@ function ot() {
|
|
|
226
245
|
return f;
|
|
227
246
|
}, Xe;
|
|
228
247
|
}
|
|
229
|
-
var Je,
|
|
248
|
+
var Je, Sr;
|
|
230
249
|
function sr() {
|
|
231
|
-
if (
|
|
232
|
-
|
|
250
|
+
if (Sr) return Je;
|
|
251
|
+
Sr = 1;
|
|
233
252
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
234
253
|
return Je = e, Je;
|
|
235
254
|
}
|
|
236
|
-
var Ze,
|
|
237
|
-
function
|
|
238
|
-
return
|
|
255
|
+
var Ze, Er;
|
|
256
|
+
function Yr() {
|
|
257
|
+
return Er || (Er = 1, Ze = Function.call.bind(Object.prototype.hasOwnProperty)), Ze;
|
|
239
258
|
}
|
|
240
|
-
var er,
|
|
241
|
-
function
|
|
242
|
-
if (
|
|
243
|
-
|
|
259
|
+
var er, Cr;
|
|
260
|
+
function st() {
|
|
261
|
+
if (Cr) return er;
|
|
262
|
+
Cr = 1;
|
|
244
263
|
var e = function() {
|
|
245
264
|
};
|
|
246
265
|
if (process.env.NODE_ENV !== "production") {
|
|
247
|
-
var r = /* @__PURE__ */ sr(), t = {}, n = /* @__PURE__ */
|
|
266
|
+
var r = /* @__PURE__ */ sr(), t = {}, n = /* @__PURE__ */ Yr();
|
|
248
267
|
e = function(a) {
|
|
249
268
|
var c = "Warning: " + a;
|
|
250
269
|
typeof console < "u" && console.error(c);
|
|
@@ -286,11 +305,11 @@ function it() {
|
|
|
286
305
|
process.env.NODE_ENV !== "production" && (t = {});
|
|
287
306
|
}, er = o, er;
|
|
288
307
|
}
|
|
289
|
-
var rr,
|
|
290
|
-
function
|
|
291
|
-
if (
|
|
292
|
-
|
|
293
|
-
var e =
|
|
308
|
+
var rr, Tr;
|
|
309
|
+
function ct() {
|
|
310
|
+
if (Tr) return rr;
|
|
311
|
+
Tr = 1;
|
|
312
|
+
var e = Wr(), r = at(), t = /* @__PURE__ */ sr(), n = /* @__PURE__ */ Yr(), o = /* @__PURE__ */ st(), a = function() {
|
|
294
313
|
};
|
|
295
314
|
process.env.NODE_ENV !== "production" && (a = function(u) {
|
|
296
315
|
var f = "Warning: " + u;
|
|
@@ -607,10 +626,10 @@ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
|
607
626
|
return E.checkPropTypes = o, E.resetWarningCache = o.resetWarningCache, E.PropTypes = E, E;
|
|
608
627
|
}, rr;
|
|
609
628
|
}
|
|
610
|
-
var tr,
|
|
611
|
-
function
|
|
612
|
-
if (
|
|
613
|
-
|
|
629
|
+
var tr, $r;
|
|
630
|
+
function ut() {
|
|
631
|
+
if ($r) return tr;
|
|
632
|
+
$r = 1;
|
|
614
633
|
var e = /* @__PURE__ */ sr();
|
|
615
634
|
function r() {
|
|
616
635
|
}
|
|
@@ -655,18 +674,18 @@ function st() {
|
|
|
655
674
|
return a.PropTypes = a, a;
|
|
656
675
|
}, tr;
|
|
657
676
|
}
|
|
658
|
-
var
|
|
659
|
-
function
|
|
660
|
-
if (
|
|
661
|
-
if (
|
|
662
|
-
var e =
|
|
663
|
-
ke.exports = /* @__PURE__ */
|
|
677
|
+
var wr;
|
|
678
|
+
function lt() {
|
|
679
|
+
if (wr) return ke.exports;
|
|
680
|
+
if (wr = 1, process.env.NODE_ENV !== "production") {
|
|
681
|
+
var e = Wr(), r = !0;
|
|
682
|
+
ke.exports = /* @__PURE__ */ ct()(e.isElement, r);
|
|
664
683
|
} else
|
|
665
|
-
ke.exports = /* @__PURE__ */
|
|
684
|
+
ke.exports = /* @__PURE__ */ ut()();
|
|
666
685
|
return ke.exports;
|
|
667
686
|
}
|
|
668
|
-
var
|
|
669
|
-
const Ce = /* @__PURE__ */ rt(
|
|
687
|
+
var ft = /* @__PURE__ */ lt();
|
|
688
|
+
const Ce = /* @__PURE__ */ rt(ft);
|
|
670
689
|
var Ne = { exports: {} }, L = {};
|
|
671
690
|
/**
|
|
672
691
|
* @license React
|
|
@@ -677,10 +696,10 @@ var Ne = { exports: {} }, L = {};
|
|
|
677
696
|
* This source code is licensed under the MIT license found in the
|
|
678
697
|
* LICENSE file in the root directory of this source tree.
|
|
679
698
|
*/
|
|
680
|
-
var
|
|
681
|
-
function
|
|
682
|
-
if (
|
|
683
|
-
|
|
699
|
+
var Or;
|
|
700
|
+
function dt() {
|
|
701
|
+
if (Or) return L;
|
|
702
|
+
Or = 1;
|
|
684
703
|
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), E = Symbol.for("react.client.reference");
|
|
685
704
|
function b(s) {
|
|
686
705
|
if (typeof s == "object" && s !== null) {
|
|
@@ -751,9 +770,9 @@ var F = {};
|
|
|
751
770
|
* This source code is licensed under the MIT license found in the
|
|
752
771
|
* LICENSE file in the root directory of this source tree.
|
|
753
772
|
*/
|
|
754
|
-
var
|
|
755
|
-
function
|
|
756
|
-
return
|
|
773
|
+
var xr;
|
|
774
|
+
function pt() {
|
|
775
|
+
return xr || (xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
757
776
|
function e(s) {
|
|
758
777
|
if (typeof s == "object" && s !== null) {
|
|
759
778
|
var $ = s.$$typeof;
|
|
@@ -815,23 +834,23 @@ function ft() {
|
|
|
815
834
|
}, F.typeOf = e;
|
|
816
835
|
}()), F;
|
|
817
836
|
}
|
|
818
|
-
var
|
|
819
|
-
function
|
|
820
|
-
return
|
|
837
|
+
var Ar;
|
|
838
|
+
function mt() {
|
|
839
|
+
return Ar || (Ar = 1, process.env.NODE_ENV === "production" ? Ne.exports = /* @__PURE__ */ dt() : Ne.exports = /* @__PURE__ */ pt()), Ne.exports;
|
|
821
840
|
}
|
|
822
|
-
var
|
|
841
|
+
var Ur = /* @__PURE__ */ mt();
|
|
823
842
|
function fe(e) {
|
|
824
843
|
if (typeof e != "object" || e === null)
|
|
825
844
|
return !1;
|
|
826
845
|
const r = Object.getPrototypeOf(e);
|
|
827
846
|
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
828
847
|
}
|
|
829
|
-
function
|
|
830
|
-
if (/* @__PURE__ */ Lr.isValidElement(e) ||
|
|
848
|
+
function Vr(e) {
|
|
849
|
+
if (/* @__PURE__ */ Lr.isValidElement(e) || Ur.isValidElementType(e) || !fe(e))
|
|
831
850
|
return e;
|
|
832
851
|
const r = {};
|
|
833
852
|
return Object.keys(e).forEach((t) => {
|
|
834
|
-
r[t] =
|
|
853
|
+
r[t] = Vr(e[t]);
|
|
835
854
|
}), r;
|
|
836
855
|
}
|
|
837
856
|
function J(e, r, t = {
|
|
@@ -841,69 +860,17 @@ function J(e, r, t = {
|
|
|
841
860
|
...e
|
|
842
861
|
} : e;
|
|
843
862
|
return fe(e) && fe(r) && Object.keys(r).forEach((o) => {
|
|
844
|
-
/* @__PURE__ */ Lr.isValidElement(r[o]) ||
|
|
845
|
-
Object.prototype.hasOwnProperty.call(e, o) && fe(e[o]) ? n[o] = J(e[o], r[o], t) : t.clone ? n[o] = fe(r[o]) ?
|
|
863
|
+
/* @__PURE__ */ Lr.isValidElement(r[o]) || Ur.isValidElementType(r[o]) ? n[o] = r[o] : fe(r[o]) && // Avoid prototype pollution
|
|
864
|
+
Object.prototype.hasOwnProperty.call(e, o) && fe(e[o]) ? n[o] = J(e[o], r[o], t) : t.clone ? n[o] = fe(r[o]) ? Vr(r[o]) : r[o] : n[o] = r[o];
|
|
846
865
|
}), n;
|
|
847
866
|
}
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
})
|
|
853
|
-
return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
|
|
854
|
-
...t,
|
|
855
|
-
[n.key]: n.val
|
|
856
|
-
}), {});
|
|
857
|
-
};
|
|
858
|
-
function mt(e) {
|
|
859
|
-
const {
|
|
860
|
-
// The breakpoint **start** at this value.
|
|
861
|
-
// For instance with the first breakpoint xs: [xs, sm).
|
|
862
|
-
values: r = {
|
|
863
|
-
xs: 0,
|
|
864
|
-
// phone
|
|
865
|
-
sm: 600,
|
|
866
|
-
// tablet
|
|
867
|
-
md: 900,
|
|
868
|
-
// small laptop
|
|
869
|
-
lg: 1200,
|
|
870
|
-
// desktop
|
|
871
|
-
xl: 1536
|
|
872
|
-
// large screen
|
|
873
|
-
},
|
|
874
|
-
unit: t = "px",
|
|
875
|
-
step: n = 5,
|
|
876
|
-
...o
|
|
877
|
-
} = e, a = pt(r), c = Object.keys(a);
|
|
878
|
-
function u(m) {
|
|
879
|
-
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
|
|
880
|
-
}
|
|
881
|
-
function f(m) {
|
|
882
|
-
return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
|
|
883
|
-
}
|
|
884
|
-
function d(m, E) {
|
|
885
|
-
const b = c.indexOf(E);
|
|
886
|
-
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[c[b]] == "number" ? r[c[b]] : E) - n / 100}${t})`;
|
|
887
|
-
}
|
|
888
|
-
function y(m) {
|
|
889
|
-
return c.indexOf(m) + 1 < c.length ? d(m, c[c.indexOf(m) + 1]) : u(m);
|
|
890
|
-
}
|
|
891
|
-
function p(m) {
|
|
892
|
-
const E = c.indexOf(m);
|
|
893
|
-
return E === 0 ? u(c[1]) : E === c.length - 1 ? f(c[E]) : d(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
894
|
-
}
|
|
895
|
-
return {
|
|
896
|
-
keys: c,
|
|
897
|
-
values: a,
|
|
898
|
-
up: u,
|
|
899
|
-
down: f,
|
|
900
|
-
between: d,
|
|
901
|
-
only: y,
|
|
902
|
-
not: p,
|
|
903
|
-
unit: t,
|
|
904
|
-
...o
|
|
905
|
-
};
|
|
867
|
+
function Oe(e, r) {
|
|
868
|
+
return r ? J(e, r, {
|
|
869
|
+
clone: !1
|
|
870
|
+
// No need to clone deep, it's way faster.
|
|
871
|
+
}) : e;
|
|
906
872
|
}
|
|
873
|
+
const me = process.env.NODE_ENV !== "production" ? Ce.oneOfType([Ce.number, Ce.string, Ce.object, Ce.array]) : {};
|
|
907
874
|
function gt(e, r) {
|
|
908
875
|
if (!e.containerQueries)
|
|
909
876
|
return r;
|
|
@@ -947,15 +914,6 @@ function bt(e) {
|
|
|
947
914
|
containerQueries: o
|
|
948
915
|
};
|
|
949
916
|
}
|
|
950
|
-
const vt = {
|
|
951
|
-
borderRadius: 4
|
|
952
|
-
}, me = process.env.NODE_ENV !== "production" ? Ce.oneOfType([Ce.number, Ce.string, Ce.object, Ce.array]) : {};
|
|
953
|
-
function Oe(e, r) {
|
|
954
|
-
return r ? J(e, r, {
|
|
955
|
-
clone: !1
|
|
956
|
-
// No need to clone deep, it's way faster.
|
|
957
|
-
}) : e;
|
|
958
|
-
}
|
|
959
917
|
const je = {
|
|
960
918
|
xs: 0,
|
|
961
919
|
// phone
|
|
@@ -967,12 +925,12 @@ const je = {
|
|
|
967
925
|
// desktop
|
|
968
926
|
xl: 1536
|
|
969
927
|
// large screen
|
|
970
|
-
},
|
|
928
|
+
}, _r = {
|
|
971
929
|
// Sorted ASC by size. That's important.
|
|
972
930
|
// It can't be configured as it's used statically for propTypes.
|
|
973
931
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
974
932
|
up: (e) => `@media (min-width:${je[e]}px)`
|
|
975
|
-
},
|
|
933
|
+
}, vt = {
|
|
976
934
|
containerQueries: (e) => ({
|
|
977
935
|
up: (r) => {
|
|
978
936
|
let t = typeof r == "number" ? r : je[r] || r;
|
|
@@ -983,14 +941,14 @@ const je = {
|
|
|
983
941
|
function ue(e, r, t) {
|
|
984
942
|
const n = e.theme || {};
|
|
985
943
|
if (Array.isArray(r)) {
|
|
986
|
-
const a = n.breakpoints ||
|
|
944
|
+
const a = n.breakpoints || _r;
|
|
987
945
|
return r.reduce((c, u, f) => (c[a.up(a.keys[f])] = t(r[f]), c), {});
|
|
988
946
|
}
|
|
989
947
|
if (typeof r == "object") {
|
|
990
|
-
const a = n.breakpoints ||
|
|
948
|
+
const a = n.breakpoints || _r;
|
|
991
949
|
return Object.keys(r).reduce((c, u) => {
|
|
992
950
|
if (ht(a.keys, u)) {
|
|
993
|
-
const f = yt(n.containerQueries ? n :
|
|
951
|
+
const f = yt(n.containerQueries ? n : vt, u);
|
|
994
952
|
f && (c[f] = t(r[u], u));
|
|
995
953
|
} else if (Object.keys(a.values || je).includes(u)) {
|
|
996
954
|
const f = a.up(u);
|
|
@@ -1004,24 +962,24 @@ function ue(e, r, t) {
|
|
|
1004
962
|
}
|
|
1005
963
|
return t(r);
|
|
1006
964
|
}
|
|
1007
|
-
function
|
|
965
|
+
function zr(e = {}) {
|
|
1008
966
|
var t;
|
|
1009
967
|
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
1010
968
|
const a = e.up(o);
|
|
1011
969
|
return n[a] = {}, n;
|
|
1012
970
|
}, {})) || {};
|
|
1013
971
|
}
|
|
1014
|
-
function
|
|
972
|
+
function qr(e, r) {
|
|
1015
973
|
return e.reduce((t, n) => {
|
|
1016
974
|
const o = t[n];
|
|
1017
975
|
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
1018
976
|
}, r);
|
|
1019
977
|
}
|
|
1020
978
|
function oo(e, ...r) {
|
|
1021
|
-
const t =
|
|
1022
|
-
return
|
|
979
|
+
const t = zr(e), n = [t, ...r].reduce((o, a) => J(o, a), {});
|
|
980
|
+
return qr(Object.keys(t), n);
|
|
1023
981
|
}
|
|
1024
|
-
function
|
|
982
|
+
function St(e, r) {
|
|
1025
983
|
if (typeof e != "object")
|
|
1026
984
|
return {};
|
|
1027
985
|
const t = {}, n = Object.keys(r);
|
|
@@ -1036,17 +994,12 @@ function io({
|
|
|
1036
994
|
breakpoints: r,
|
|
1037
995
|
base: t
|
|
1038
996
|
}) {
|
|
1039
|
-
const n = t ||
|
|
997
|
+
const n = t || St(e, r), o = Object.keys(n);
|
|
1040
998
|
if (o.length === 0)
|
|
1041
999
|
return e;
|
|
1042
1000
|
let a;
|
|
1043
1001
|
return o.reduce((c, u, f) => (Array.isArray(e) ? (c[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (c[u] = e[u] != null ? e[u] : e[a], a = u) : c[u] = e, c), {});
|
|
1044
1002
|
}
|
|
1045
|
-
function qr(e) {
|
|
1046
|
-
if (typeof e != "string")
|
|
1047
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : de(7));
|
|
1048
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1049
|
-
}
|
|
1050
1003
|
function Le(e, r, t = !0) {
|
|
1051
1004
|
if (!r || typeof r != "string")
|
|
1052
1005
|
return null;
|
|
@@ -1073,7 +1026,7 @@ function G(e) {
|
|
|
1073
1026
|
const u = c[r], f = c.theme, d = Le(f, n) || {};
|
|
1074
1027
|
return ue(c, u, (p) => {
|
|
1075
1028
|
let m = De(d, o, p);
|
|
1076
|
-
return p === m && typeof p == "string" && (m = De(d, o, `${r}${p === "default" ? "" :
|
|
1029
|
+
return p === m && typeof p == "string" && (m = De(d, o, `${r}${p === "default" ? "" : Fr(p)}`, p)), t === !1 ? m : {
|
|
1077
1030
|
[t]: m
|
|
1078
1031
|
};
|
|
1079
1032
|
});
|
|
@@ -1082,34 +1035,34 @@ function G(e) {
|
|
|
1082
1035
|
[r]: me
|
|
1083
1036
|
} : {}, a.filterProps = [r], a;
|
|
1084
1037
|
}
|
|
1085
|
-
function
|
|
1038
|
+
function Et(e) {
|
|
1086
1039
|
const r = {};
|
|
1087
1040
|
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
1088
1041
|
}
|
|
1089
|
-
const
|
|
1042
|
+
const Ct = {
|
|
1090
1043
|
m: "margin",
|
|
1091
1044
|
p: "padding"
|
|
1092
|
-
},
|
|
1045
|
+
}, Tt = {
|
|
1093
1046
|
t: "Top",
|
|
1094
1047
|
r: "Right",
|
|
1095
1048
|
b: "Bottom",
|
|
1096
1049
|
l: "Left",
|
|
1097
1050
|
x: ["Left", "Right"],
|
|
1098
1051
|
y: ["Top", "Bottom"]
|
|
1099
|
-
},
|
|
1052
|
+
}, Rr = {
|
|
1100
1053
|
marginX: "mx",
|
|
1101
1054
|
marginY: "my",
|
|
1102
1055
|
paddingX: "px",
|
|
1103
1056
|
paddingY: "py"
|
|
1104
|
-
},
|
|
1057
|
+
}, $t = Et((e) => {
|
|
1105
1058
|
if (e.length > 2)
|
|
1106
|
-
if (
|
|
1107
|
-
e =
|
|
1059
|
+
if (Rr[e])
|
|
1060
|
+
e = Rr[e];
|
|
1108
1061
|
else
|
|
1109
1062
|
return [e];
|
|
1110
|
-
const [r, t] = e.split(""), n =
|
|
1063
|
+
const [r, t] = e.split(""), n = Ct[r], o = Tt[t] || "";
|
|
1111
1064
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
1112
|
-
}), Fe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"],
|
|
1065
|
+
}), Fe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], We = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], wt = [...Fe, ...We];
|
|
1113
1066
|
function Ae(e, r, t, n) {
|
|
1114
1067
|
const o = Le(e, r, !0) ?? t;
|
|
1115
1068
|
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" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
@@ -1131,18 +1084,18 @@ function cr(e) {
|
|
|
1131
1084
|
function _e(e, r) {
|
|
1132
1085
|
return typeof r == "string" || r == null ? r : e(r);
|
|
1133
1086
|
}
|
|
1134
|
-
function
|
|
1087
|
+
function Ot(e, r) {
|
|
1135
1088
|
return (t) => e.reduce((n, o) => (n[o] = _e(r, t), n), {});
|
|
1136
1089
|
}
|
|
1137
|
-
function
|
|
1090
|
+
function xt(e, r, t, n) {
|
|
1138
1091
|
if (!r.includes(t))
|
|
1139
1092
|
return null;
|
|
1140
|
-
const o =
|
|
1093
|
+
const o = $t(t), a = Ot(o, n), c = e[t];
|
|
1141
1094
|
return ue(e, c, a);
|
|
1142
1095
|
}
|
|
1143
1096
|
function Gr(e, r) {
|
|
1144
1097
|
const t = cr(e.theme);
|
|
1145
|
-
return Object.keys(e).map((n) =>
|
|
1098
|
+
return Object.keys(e).map((n) => xt(e, r, n, t)).reduce(Oe, {});
|
|
1146
1099
|
}
|
|
1147
1100
|
function z(e) {
|
|
1148
1101
|
return Gr(e, Fe);
|
|
@@ -1154,18 +1107,7 @@ function q(e) {
|
|
|
1154
1107
|
}
|
|
1155
1108
|
q.propTypes = process.env.NODE_ENV !== "production" ? We.reduce((e, r) => (e[r] = me, e), {}) : {};
|
|
1156
1109
|
q.filterProps = We;
|
|
1157
|
-
process.env.NODE_ENV !== "production" &&
|
|
1158
|
-
function Kr(e = 8, r = cr({
|
|
1159
|
-
spacing: e
|
|
1160
|
-
})) {
|
|
1161
|
-
if (e.mui)
|
|
1162
|
-
return e;
|
|
1163
|
-
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) => {
|
|
1164
|
-
const c = r(a);
|
|
1165
|
-
return typeof c == "number" ? `${c}px` : c;
|
|
1166
|
-
}).join(" "));
|
|
1167
|
-
return t.mui = !0, t;
|
|
1168
|
-
}
|
|
1110
|
+
process.env.NODE_ENV !== "production" && wt.reduce((e, r) => (e[r] = me, e), {});
|
|
1169
1111
|
function Ye(...e) {
|
|
1170
1112
|
const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
1171
1113
|
n[a] = o;
|
|
@@ -1182,7 +1124,7 @@ function te(e, r) {
|
|
|
1182
1124
|
transform: r
|
|
1183
1125
|
});
|
|
1184
1126
|
}
|
|
1185
|
-
const
|
|
1127
|
+
const At = te("border", re), _t = te("borderTop", re), Rt = te("borderRight", re), Pt = te("borderBottom", re), kt = te("borderLeft", re), It = te("borderColor"), Nt = te("borderTopColor"), Bt = te("borderRightColor"), Mt = te("borderBottomColor"), Dt = te("borderLeftColor"), jt = te("outline", re), Lt = te("outlineColor"), Ue = (e) => {
|
|
1186
1128
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1187
1129
|
const r = Ae(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
1188
1130
|
borderRadius: _e(r, n)
|
|
@@ -1195,7 +1137,7 @@ Ue.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1195
1137
|
borderRadius: me
|
|
1196
1138
|
} : {};
|
|
1197
1139
|
Ue.filterProps = ["borderRadius"];
|
|
1198
|
-
Ye(_t, Rt, Pt, kt, It, Nt, Bt, Mt, Dt,
|
|
1140
|
+
Ye(At, _t, Rt, Pt, kt, It, Nt, Bt, Mt, Dt, Ue, jt, Lt);
|
|
1199
1141
|
const Ve = (e) => {
|
|
1200
1142
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1201
1143
|
const r = Ae(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
@@ -1235,48 +1177,48 @@ qe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1235
1177
|
rowGap: me
|
|
1236
1178
|
} : {};
|
|
1237
1179
|
qe.filterProps = ["rowGap"];
|
|
1238
|
-
const
|
|
1180
|
+
const Ft = G({
|
|
1239
1181
|
prop: "gridColumn"
|
|
1240
|
-
}),
|
|
1182
|
+
}), Wt = G({
|
|
1241
1183
|
prop: "gridRow"
|
|
1242
|
-
}),
|
|
1184
|
+
}), Yt = G({
|
|
1243
1185
|
prop: "gridAutoFlow"
|
|
1244
|
-
}),
|
|
1186
|
+
}), Ut = G({
|
|
1245
1187
|
prop: "gridAutoColumns"
|
|
1246
|
-
}),
|
|
1188
|
+
}), Vt = G({
|
|
1247
1189
|
prop: "gridAutoRows"
|
|
1248
|
-
}),
|
|
1190
|
+
}), zt = G({
|
|
1249
1191
|
prop: "gridTemplateColumns"
|
|
1250
|
-
}),
|
|
1192
|
+
}), qt = G({
|
|
1251
1193
|
prop: "gridTemplateRows"
|
|
1252
|
-
}),
|
|
1194
|
+
}), Gt = G({
|
|
1253
1195
|
prop: "gridTemplateAreas"
|
|
1254
|
-
}),
|
|
1196
|
+
}), Kt = G({
|
|
1255
1197
|
prop: "gridArea"
|
|
1256
1198
|
});
|
|
1257
|
-
Ye(Ve, ze, qe, Wt, Yt, Ut, Vt, zt, qt, Gt, Kt
|
|
1199
|
+
Ye(Ve, ze, qe, Ft, Wt, Yt, Ut, Vt, zt, qt, Gt, Kt);
|
|
1258
1200
|
function Ee(e, r) {
|
|
1259
1201
|
return r === "grey" ? r : e;
|
|
1260
1202
|
}
|
|
1261
|
-
const
|
|
1203
|
+
const Ht = G({
|
|
1262
1204
|
prop: "color",
|
|
1263
1205
|
themeKey: "palette",
|
|
1264
1206
|
transform: Ee
|
|
1265
|
-
}),
|
|
1207
|
+
}), Qt = G({
|
|
1266
1208
|
prop: "bgcolor",
|
|
1267
1209
|
cssProperty: "backgroundColor",
|
|
1268
1210
|
themeKey: "palette",
|
|
1269
1211
|
transform: Ee
|
|
1270
|
-
}),
|
|
1212
|
+
}), Xt = G({
|
|
1271
1213
|
prop: "backgroundColor",
|
|
1272
1214
|
themeKey: "palette",
|
|
1273
1215
|
transform: Ee
|
|
1274
1216
|
});
|
|
1275
|
-
Ye(Qt, Xt
|
|
1217
|
+
Ye(Ht, Qt, Xt);
|
|
1276
1218
|
function Z(e) {
|
|
1277
1219
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1278
1220
|
}
|
|
1279
|
-
const
|
|
1221
|
+
const Jt = G({
|
|
1280
1222
|
prop: "width",
|
|
1281
1223
|
transform: Z
|
|
1282
1224
|
}), ur = (e) => {
|
|
@@ -1297,16 +1239,16 @@ const Zt = G({
|
|
|
1297
1239
|
return null;
|
|
1298
1240
|
};
|
|
1299
1241
|
ur.filterProps = ["maxWidth"];
|
|
1300
|
-
const
|
|
1242
|
+
const Zt = G({
|
|
1301
1243
|
prop: "minWidth",
|
|
1302
1244
|
transform: Z
|
|
1303
|
-
}),
|
|
1245
|
+
}), en = G({
|
|
1304
1246
|
prop: "height",
|
|
1305
1247
|
transform: Z
|
|
1306
|
-
}),
|
|
1248
|
+
}), rn = G({
|
|
1307
1249
|
prop: "maxHeight",
|
|
1308
1250
|
transform: Z
|
|
1309
|
-
}),
|
|
1251
|
+
}), tn = G({
|
|
1310
1252
|
prop: "minHeight",
|
|
1311
1253
|
transform: Z
|
|
1312
1254
|
});
|
|
@@ -1320,10 +1262,10 @@ G({
|
|
|
1320
1262
|
cssProperty: "height",
|
|
1321
1263
|
transform: Z
|
|
1322
1264
|
});
|
|
1323
|
-
const
|
|
1265
|
+
const nn = G({
|
|
1324
1266
|
prop: "boxSizing"
|
|
1325
1267
|
});
|
|
1326
|
-
Ye(
|
|
1268
|
+
Ye(Jt, ur, Zt, en, rn, tn, nn);
|
|
1327
1269
|
const Ge = {
|
|
1328
1270
|
// borders
|
|
1329
1271
|
border: {
|
|
@@ -1612,14 +1554,14 @@ const Ge = {
|
|
|
1612
1554
|
themeKey: "typography"
|
|
1613
1555
|
}
|
|
1614
1556
|
};
|
|
1615
|
-
function
|
|
1557
|
+
function on(...e) {
|
|
1616
1558
|
const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
|
|
1617
1559
|
return e.every((n) => t.size === Object.keys(n).length);
|
|
1618
1560
|
}
|
|
1619
|
-
function
|
|
1561
|
+
function an(e, r) {
|
|
1620
1562
|
return typeof e == "function" ? e(r) : e;
|
|
1621
1563
|
}
|
|
1622
|
-
function
|
|
1564
|
+
function sn() {
|
|
1623
1565
|
function e(t, n, o, a) {
|
|
1624
1566
|
const c = {
|
|
1625
1567
|
[t]: n,
|
|
@@ -1644,7 +1586,7 @@ function cn() {
|
|
|
1644
1586
|
const m = Le(o, d) || {};
|
|
1645
1587
|
return p ? p(c) : ue(c, n, (b) => {
|
|
1646
1588
|
let s = De(m, y, b);
|
|
1647
|
-
return b === s && typeof b == "string" && (s = De(m, y, `${t}${b === "default" ? "" :
|
|
1589
|
+
return b === s && typeof b == "string" && (s = De(m, y, `${t}${b === "default" ? "" : Fr(b)}`, b)), f === !1 ? s : {
|
|
1648
1590
|
[f]: s
|
|
1649
1591
|
};
|
|
1650
1592
|
});
|
|
@@ -1665,10 +1607,10 @@ function cn() {
|
|
|
1665
1607
|
return u;
|
|
1666
1608
|
if (!f)
|
|
1667
1609
|
return null;
|
|
1668
|
-
const d =
|
|
1610
|
+
const d = zr(o.breakpoints), y = Object.keys(d);
|
|
1669
1611
|
let p = d;
|
|
1670
1612
|
return Object.keys(f).forEach((m) => {
|
|
1671
|
-
const E =
|
|
1613
|
+
const E = an(f[m], o);
|
|
1672
1614
|
if (E != null)
|
|
1673
1615
|
if (typeof E == "object")
|
|
1674
1616
|
if (a[m])
|
|
@@ -1679,22 +1621,95 @@ function cn() {
|
|
|
1679
1621
|
}, E, (s) => ({
|
|
1680
1622
|
[m]: s
|
|
1681
1623
|
}));
|
|
1682
|
-
|
|
1624
|
+
on(b, E) ? p[m] = r({
|
|
1683
1625
|
sx: E,
|
|
1684
1626
|
theme: o
|
|
1685
1627
|
}) : p = Oe(p, b);
|
|
1686
1628
|
}
|
|
1687
1629
|
else
|
|
1688
1630
|
p = Oe(p, e(m, E, o, a));
|
|
1689
|
-
}), gt(o,
|
|
1631
|
+
}), gt(o, qr(y, p));
|
|
1690
1632
|
}
|
|
1691
1633
|
return Array.isArray(n) ? n.map(c) : c(n);
|
|
1692
1634
|
}
|
|
1693
1635
|
return r;
|
|
1694
1636
|
}
|
|
1695
|
-
const Ke =
|
|
1637
|
+
const Ke = sn();
|
|
1696
1638
|
Ke.filterProps = ["sx"];
|
|
1697
|
-
|
|
1639
|
+
const cn = (e) => {
|
|
1640
|
+
const r = Object.keys(e).map((t) => ({
|
|
1641
|
+
key: t,
|
|
1642
|
+
val: e[t]
|
|
1643
|
+
})) || [];
|
|
1644
|
+
return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
|
|
1645
|
+
...t,
|
|
1646
|
+
[n.key]: n.val
|
|
1647
|
+
}), {});
|
|
1648
|
+
};
|
|
1649
|
+
function un(e) {
|
|
1650
|
+
const {
|
|
1651
|
+
// The breakpoint **start** at this value.
|
|
1652
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
1653
|
+
values: r = {
|
|
1654
|
+
xs: 0,
|
|
1655
|
+
// phone
|
|
1656
|
+
sm: 600,
|
|
1657
|
+
// tablet
|
|
1658
|
+
md: 900,
|
|
1659
|
+
// small laptop
|
|
1660
|
+
lg: 1200,
|
|
1661
|
+
// desktop
|
|
1662
|
+
xl: 1536
|
|
1663
|
+
// large screen
|
|
1664
|
+
},
|
|
1665
|
+
unit: t = "px",
|
|
1666
|
+
step: n = 5,
|
|
1667
|
+
...o
|
|
1668
|
+
} = e, a = cn(r), c = Object.keys(a);
|
|
1669
|
+
function u(m) {
|
|
1670
|
+
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
|
|
1671
|
+
}
|
|
1672
|
+
function f(m) {
|
|
1673
|
+
return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
|
|
1674
|
+
}
|
|
1675
|
+
function d(m, E) {
|
|
1676
|
+
const b = c.indexOf(E);
|
|
1677
|
+
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[c[b]] == "number" ? r[c[b]] : E) - n / 100}${t})`;
|
|
1678
|
+
}
|
|
1679
|
+
function y(m) {
|
|
1680
|
+
return c.indexOf(m) + 1 < c.length ? d(m, c[c.indexOf(m) + 1]) : u(m);
|
|
1681
|
+
}
|
|
1682
|
+
function p(m) {
|
|
1683
|
+
const E = c.indexOf(m);
|
|
1684
|
+
return E === 0 ? u(c[1]) : E === c.length - 1 ? f(c[E]) : d(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
1685
|
+
}
|
|
1686
|
+
return {
|
|
1687
|
+
keys: c,
|
|
1688
|
+
values: a,
|
|
1689
|
+
up: u,
|
|
1690
|
+
down: f,
|
|
1691
|
+
between: d,
|
|
1692
|
+
only: y,
|
|
1693
|
+
not: p,
|
|
1694
|
+
unit: t,
|
|
1695
|
+
...o
|
|
1696
|
+
};
|
|
1697
|
+
}
|
|
1698
|
+
const ln = {
|
|
1699
|
+
borderRadius: 4
|
|
1700
|
+
};
|
|
1701
|
+
function Kr(e = 8, r = cr({
|
|
1702
|
+
spacing: e
|
|
1703
|
+
})) {
|
|
1704
|
+
if (e.mui)
|
|
1705
|
+
return e;
|
|
1706
|
+
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) => {
|
|
1707
|
+
const c = r(a);
|
|
1708
|
+
return typeof c == "number" ? `${c}px` : c;
|
|
1709
|
+
}).join(" "));
|
|
1710
|
+
return t.mui = !0, t;
|
|
1711
|
+
}
|
|
1712
|
+
function fn(e, r) {
|
|
1698
1713
|
var n;
|
|
1699
1714
|
const t = this;
|
|
1700
1715
|
if (t.vars) {
|
|
@@ -1707,14 +1722,14 @@ function un(e, r) {
|
|
|
1707
1722
|
}
|
|
1708
1723
|
return t.palette.mode === e ? r : {};
|
|
1709
1724
|
}
|
|
1710
|
-
function
|
|
1725
|
+
function dn(e = {}, ...r) {
|
|
1711
1726
|
const {
|
|
1712
1727
|
breakpoints: t = {},
|
|
1713
1728
|
palette: n = {},
|
|
1714
1729
|
spacing: o,
|
|
1715
1730
|
shape: a = {},
|
|
1716
1731
|
...c
|
|
1717
|
-
} = e, u =
|
|
1732
|
+
} = e, u = un(t), f = Kr(o);
|
|
1718
1733
|
let d = J({
|
|
1719
1734
|
breakpoints: u,
|
|
1720
1735
|
direction: "ltr",
|
|
@@ -1726,11 +1741,11 @@ function ln(e = {}, ...r) {
|
|
|
1726
1741
|
},
|
|
1727
1742
|
spacing: f,
|
|
1728
1743
|
shape: {
|
|
1729
|
-
...
|
|
1744
|
+
...ln,
|
|
1730
1745
|
...a
|
|
1731
1746
|
}
|
|
1732
1747
|
}, c);
|
|
1733
|
-
return d = bt(d), d.applyStyles =
|
|
1748
|
+
return d = bt(d), d.applyStyles = fn, d = r.reduce((y, p) => J(y, p), d), d.unstable_sxConfig = {
|
|
1734
1749
|
...Ge,
|
|
1735
1750
|
...c == null ? void 0 : c.unstable_sxConfig
|
|
1736
1751
|
}, d.unstable_sx = function(p) {
|
|
@@ -1740,20 +1755,7 @@ function ln(e = {}, ...r) {
|
|
|
1740
1755
|
});
|
|
1741
1756
|
}, d;
|
|
1742
1757
|
}
|
|
1743
|
-
const
|
|
1744
|
-
let e = Rr;
|
|
1745
|
-
return {
|
|
1746
|
-
configure(r) {
|
|
1747
|
-
e = r;
|
|
1748
|
-
},
|
|
1749
|
-
generate(r) {
|
|
1750
|
-
return e(r);
|
|
1751
|
-
},
|
|
1752
|
-
reset() {
|
|
1753
|
-
e = Rr;
|
|
1754
|
-
}
|
|
1755
|
-
};
|
|
1756
|
-
}, dn = fn(), pn = {
|
|
1758
|
+
const pn = {
|
|
1757
1759
|
active: "active",
|
|
1758
1760
|
checked: "checked",
|
|
1759
1761
|
completed: "completed",
|
|
@@ -1769,7 +1771,7 @@ const Rr = (e) => e, fn = () => {
|
|
|
1769
1771
|
};
|
|
1770
1772
|
function mn(e, r, t = "Mui") {
|
|
1771
1773
|
const n = pn[r];
|
|
1772
|
-
return n ? `${t}-${n}` : `${
|
|
1774
|
+
return n ? `${t}-${n}` : `${nt.generate(e)}-${r}`;
|
|
1773
1775
|
}
|
|
1774
1776
|
function gn(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
1775
1777
|
return Math.max(r, Math.min(e, t));
|
|
@@ -2580,7 +2582,7 @@ function ar(e = {}, ...r) {
|
|
|
2580
2582
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
2581
2583
|
e.generateThemeVars === void 0)
|
|
2582
2584
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : de(20));
|
|
2583
|
-
const y = pr(a), p =
|
|
2585
|
+
const y = pr(a), p = dn(e);
|
|
2584
2586
|
let m = J(p, {
|
|
2585
2587
|
mixins: Nn(p.breakpoints, n),
|
|
2586
2588
|
palette: y,
|
|
@@ -2906,20 +2908,20 @@ function ao(e = {}, ...r) {
|
|
|
2906
2908
|
}, ...r);
|
|
2907
2909
|
}
|
|
2908
2910
|
export {
|
|
2909
|
-
|
|
2911
|
+
nt as C,
|
|
2910
2912
|
Ce as P,
|
|
2911
2913
|
bn as a,
|
|
2912
2914
|
ao as b,
|
|
2913
|
-
|
|
2915
|
+
Fr as c,
|
|
2914
2916
|
Ge as d,
|
|
2915
|
-
|
|
2917
|
+
dn as e,
|
|
2916
2918
|
cr as f,
|
|
2917
2919
|
mn as g,
|
|
2918
2920
|
ue as h,
|
|
2919
2921
|
fe as i,
|
|
2920
2922
|
J as j,
|
|
2921
2923
|
_e as k,
|
|
2922
|
-
|
|
2924
|
+
Ur as l,
|
|
2923
2925
|
oo as m,
|
|
2924
2926
|
dr as n,
|
|
2925
2927
|
fr as o,
|