@citizenplatform/core 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist/index.js +6 -0
- package/dist/index10.js +110 -0
- package/dist/index10.js.map +1 -0
- package/dist/index100.js +10 -0
- package/dist/index100.js.map +1 -0
- package/dist/index101.js +31 -0
- package/dist/index101.js.map +1 -0
- package/dist/index102.js +165 -0
- package/dist/index102.js.map +1 -0
- package/dist/index103.js +48 -0
- package/dist/index103.js.map +1 -0
- package/dist/index104.js +8 -0
- package/dist/index104.js.map +1 -0
- package/dist/index105.js +14 -0
- package/dist/index105.js.map +1 -0
- package/dist/index106.js +8 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.js +7 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.js +16 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.js +7 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.js +97 -0
- package/dist/index11.js.map +1 -0
- package/dist/index110.js +22 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.js +7 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.js +9 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.js +20 -0
- package/dist/index113.js.map +1 -0
- package/dist/index114.js +56 -0
- package/dist/index114.js.map +1 -0
- package/dist/index115.js +73 -0
- package/dist/index115.js.map +1 -0
- package/dist/index116.js +20 -0
- package/dist/index116.js.map +1 -0
- package/dist/index117.js +26 -0
- package/dist/index117.js.map +1 -0
- package/dist/index118.js +2 -0
- package/dist/index119.js +3 -0
- package/dist/index12.js +22 -0
- package/dist/index12.js.map +1 -0
- package/dist/index120.js +22 -0
- package/dist/index120.js.map +1 -0
- package/dist/index121.js +149 -0
- package/dist/index121.js.map +1 -0
- package/dist/index122.js +20 -0
- package/dist/index122.js.map +1 -0
- package/dist/index123.js +9 -0
- package/dist/index123.js.map +1 -0
- package/dist/index124.js +9 -0
- package/dist/index124.js.map +1 -0
- package/dist/index125.js +63 -0
- package/dist/index125.js.map +1 -0
- package/dist/index126.js +24 -0
- package/dist/index126.js.map +1 -0
- package/dist/index127.js +9 -0
- package/dist/index127.js.map +1 -0
- package/dist/index128.js +11 -0
- package/dist/index128.js.map +1 -0
- package/dist/index129.js +10 -0
- package/dist/index129.js.map +1 -0
- package/dist/index13.js +18 -0
- package/dist/index13.js.map +1 -0
- package/dist/index130.js +254 -0
- package/dist/index130.js.map +1 -0
- package/dist/index131.js +25 -0
- package/dist/index131.js.map +1 -0
- package/dist/index132.js +250 -0
- package/dist/index132.js.map +1 -0
- package/dist/index133.js +20 -0
- package/dist/index133.js.map +1 -0
- package/dist/index134.js +13 -0
- package/dist/index134.js.map +1 -0
- package/dist/index135.js +15 -0
- package/dist/index135.js.map +1 -0
- package/dist/index136.js +117 -0
- package/dist/index136.js.map +1 -0
- package/dist/index137.js +13 -0
- package/dist/index137.js.map +1 -0
- package/dist/index138.js +22 -0
- package/dist/index138.js.map +1 -0
- package/dist/index139.js +26 -0
- package/dist/index139.js.map +1 -0
- package/dist/index14.js +11 -0
- package/dist/index14.js.map +1 -0
- package/dist/index140.js +20 -0
- package/dist/index140.js.map +1 -0
- package/dist/index141.js +22 -0
- package/dist/index141.js.map +1 -0
- package/dist/index142.js +12 -0
- package/dist/index142.js.map +1 -0
- package/dist/index143.js +26 -0
- package/dist/index143.js.map +1 -0
- package/dist/index144.js +56 -0
- package/dist/index144.js.map +1 -0
- package/dist/index145.js +12 -0
- package/dist/index145.js.map +1 -0
- package/dist/index146.js +212 -0
- package/dist/index146.js.map +1 -0
- package/dist/index147.js +4 -0
- package/dist/index148.js +5 -0
- package/dist/index149.js +7 -0
- package/dist/index15.js +192 -0
- package/dist/index15.js.map +1 -0
- package/dist/index16.js +24 -0
- package/dist/index16.js.map +1 -0
- package/dist/index17.js +14 -0
- package/dist/index17.js.map +1 -0
- package/dist/index18.js +54 -0
- package/dist/index18.js.map +1 -0
- package/dist/index19.js +99 -0
- package/dist/index19.js.map +1 -0
- package/dist/index2.js +13 -0
- package/dist/index20.js +10 -0
- package/dist/index20.js.map +1 -0
- package/dist/index21.js +18 -0
- package/dist/index21.js.map +1 -0
- package/dist/index22.js +9 -0
- package/dist/index22.js.map +1 -0
- package/dist/index23.js +67 -0
- package/dist/index23.js.map +1 -0
- package/dist/index24.js +13 -0
- package/dist/index24.js.map +1 -0
- package/dist/index25.js +64 -0
- package/dist/index25.js.map +1 -0
- package/dist/index26.js +84 -0
- package/dist/index26.js.map +1 -0
- package/dist/index27.js +12 -0
- package/dist/index27.js.map +1 -0
- package/dist/index28.js +41 -0
- package/dist/index28.js.map +1 -0
- package/dist/index29.js +10 -0
- package/dist/index29.js.map +1 -0
- package/dist/index3.js +11 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.js +10 -0
- package/dist/index30.js.map +1 -0
- package/dist/index31.js +46 -0
- package/dist/index31.js.map +1 -0
- package/dist/index32.js +273 -0
- package/dist/index32.js.map +1 -0
- package/dist/index33.js +49 -0
- package/dist/index33.js.map +1 -0
- package/dist/index34.js +16 -0
- package/dist/index34.js.map +1 -0
- package/dist/index35.js +24 -0
- package/dist/index35.js.map +1 -0
- package/dist/index36.js +61 -0
- package/dist/index36.js.map +1 -0
- package/dist/index37.js +63 -0
- package/dist/index37.js.map +1 -0
- package/dist/index38.js +12 -0
- package/dist/index38.js.map +1 -0
- package/dist/index39.js +26 -0
- package/dist/index39.js.map +1 -0
- package/dist/index4.js +9 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.js +55 -0
- package/dist/index40.js.map +1 -0
- package/dist/index41.js +48 -0
- package/dist/index41.js.map +1 -0
- package/dist/index42.js +6 -0
- package/dist/index42.js.map +1 -0
- package/dist/index43.js +13 -0
- package/dist/index43.js.map +1 -0
- package/dist/index44.js +10 -0
- package/dist/index44.js.map +1 -0
- package/dist/index45.js +40 -0
- package/dist/index45.js.map +1 -0
- package/dist/index46.js +71 -0
- package/dist/index46.js.map +1 -0
- package/dist/index47.js +10 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.js +44 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.js +117 -0
- package/dist/index49.js.map +1 -0
- package/dist/index5.js +6 -0
- package/dist/index5.js.map +1 -0
- package/dist/index50.js +14 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.js +16 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.js +28 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.js +36 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.js +25 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.js +44 -0
- package/dist/index55.js.map +1 -0
- package/dist/index56.js +160 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.js +77 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.js +14 -0
- package/dist/index58.js.map +1 -0
- package/dist/index59.js +38 -0
- package/dist/index59.js.map +1 -0
- package/dist/index6.js +14 -0
- package/dist/index6.js.map +1 -0
- package/dist/index60.js +15 -0
- package/dist/index60.js.map +1 -0
- package/dist/index61.js +12 -0
- package/dist/index61.js.map +1 -0
- package/dist/index62.js +19 -0
- package/dist/index62.js.map +1 -0
- package/dist/index63.js +20 -0
- package/dist/index63.js.map +1 -0
- package/dist/index64.js +24 -0
- package/dist/index64.js.map +1 -0
- package/dist/index65.js +12 -0
- package/dist/index65.js.map +1 -0
- package/dist/index66.js +25 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.js +16 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.js +130 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.js +32 -0
- package/dist/index69.js.map +1 -0
- package/dist/index7.js +41 -0
- package/dist/index7.js.map +1 -0
- package/dist/index70.js +8 -0
- package/dist/index70.js.map +1 -0
- package/dist/index71.js +122 -0
- package/dist/index71.js.map +1 -0
- package/dist/index72.js +35 -0
- package/dist/index72.js.map +1 -0
- package/dist/index73.js +14 -0
- package/dist/index73.js.map +1 -0
- package/dist/index74.js +13 -0
- package/dist/index74.js.map +1 -0
- package/dist/index75.js +42 -0
- package/dist/index75.js.map +1 -0
- package/dist/index76.js +66 -0
- package/dist/index76.js.map +1 -0
- package/dist/index77.js +10 -0
- package/dist/index77.js.map +1 -0
- package/dist/index78.js +17 -0
- package/dist/index78.js.map +1 -0
- package/dist/index79.js +9 -0
- package/dist/index79.js.map +1 -0
- package/dist/index8.js +6 -0
- package/dist/index8.js.map +1 -0
- package/dist/index80.js +21 -0
- package/dist/index80.js.map +1 -0
- package/dist/index81.js +21 -0
- package/dist/index81.js.map +1 -0
- package/dist/index82.js +21 -0
- package/dist/index82.js.map +1 -0
- package/dist/index83.js +21 -0
- package/dist/index83.js.map +1 -0
- package/dist/index84.js +21 -0
- package/dist/index84.js.map +1 -0
- package/dist/index85.js +21 -0
- package/dist/index85.js.map +1 -0
- package/dist/index86.js +21 -0
- package/dist/index86.js.map +1 -0
- package/dist/index87.js +219 -0
- package/dist/index87.js.map +1 -0
- package/dist/index88.js +12 -0
- package/dist/index88.js.map +1 -0
- package/dist/index89.js +15 -0
- package/dist/index89.js.map +1 -0
- package/dist/index9.js +39 -0
- package/dist/index9.js.map +1 -0
- package/dist/index90.js +55 -0
- package/dist/index90.js.map +1 -0
- package/dist/index91.js +38 -0
- package/dist/index91.js.map +1 -0
- package/dist/index92.js +52 -0
- package/dist/index92.js.map +1 -0
- package/dist/index93.js +12 -0
- package/dist/index93.js.map +1 -0
- package/dist/index94.js +15 -0
- package/dist/index94.js.map +1 -0
- package/dist/index95.js +28 -0
- package/dist/index95.js.map +1 -0
- package/dist/index96.js +111 -0
- package/dist/index96.js.map +1 -0
- package/dist/index97.js +9 -0
- package/dist/index97.js.map +1 -0
- package/dist/index98.js +38 -0
- package/dist/index98.js.map +1 -0
- package/dist/index99.js +8 -0
- package/dist/index99.js.map +1 -0
- package/package.json +88 -0
package/dist/index71.js
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import e from "./index4.js";
|
|
2
|
+
import t from "./index70.js";
|
|
3
|
+
//#region node_modules/@mui/system/colorManipulator/colorManipulator.mjs
|
|
4
|
+
function n(e, n = 0, r = 1) {
|
|
5
|
+
return process.env.NODE_ENV !== "production" && (e < n || e > r) && console.error(`MUI: The value provided ${e} is out of range [${n}, ${r}].`), t(e, n, r);
|
|
6
|
+
}
|
|
7
|
+
function r(e) {
|
|
8
|
+
e = e.slice(1);
|
|
9
|
+
let t = RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g"), n = e.match(t);
|
|
10
|
+
return n && n[0].length === 1 && (n = n.map((e) => e + e)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), n ? `rgb${n.length === 4 ? "a" : ""}(${n.map((e, t) => t < 3 ? parseInt(e, 16) : Math.round(parseInt(e, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
11
|
+
}
|
|
12
|
+
function i(t) {
|
|
13
|
+
if (t.type) return t;
|
|
14
|
+
if (t.charAt(0) === "#") return i(r(t));
|
|
15
|
+
let n = t.indexOf("("), a = t.substring(0, n);
|
|
16
|
+
if (![
|
|
17
|
+
"rgb",
|
|
18
|
+
"rgba",
|
|
19
|
+
"hsl",
|
|
20
|
+
"hsla",
|
|
21
|
+
"color"
|
|
22
|
+
].includes(a)) throw Error(process.env.NODE_ENV === "production" ? e(9, t) : `MUI: Unsupported \`${t}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);
|
|
23
|
+
let o = t.substring(n + 1, t.length - 1), s;
|
|
24
|
+
if (a === "color") {
|
|
25
|
+
if (o = o.split(" "), s = o.shift(), o.length === 4 && o[3].charAt(0) === "/" && (o[3] = o[3].slice(1)), ![
|
|
26
|
+
"srgb",
|
|
27
|
+
"display-p3",
|
|
28
|
+
"a98-rgb",
|
|
29
|
+
"prophoto-rgb",
|
|
30
|
+
"rec-2020"
|
|
31
|
+
].includes(s)) throw Error(process.env.NODE_ENV === "production" ? e(10, s) : `MUI: unsupported \`${s}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`);
|
|
32
|
+
} else o = o.split(",");
|
|
33
|
+
return o = o.map((e) => parseFloat(e)), {
|
|
34
|
+
type: a,
|
|
35
|
+
values: o,
|
|
36
|
+
colorSpace: s
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
var a = (e) => {
|
|
40
|
+
let t = i(e);
|
|
41
|
+
return t.values.slice(0, 3).map((e, n) => t.type.includes("hsl") && n !== 0 ? `${e}%` : e).join(" ");
|
|
42
|
+
}, o = (e, t) => {
|
|
43
|
+
try {
|
|
44
|
+
return a(e);
|
|
45
|
+
} catch {
|
|
46
|
+
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
function s(e) {
|
|
50
|
+
let { type: t, colorSpace: n } = e, { values: r } = e;
|
|
51
|
+
return t.includes("rgb") ? r = r.map((e, t) => t < 3 ? parseInt(e, 10) : e) : t.includes("hsl") && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), r = t.includes("color") ? `${n} ${r.join(" ")}` : `${r.join(", ")}`, `${t}(${r})`;
|
|
52
|
+
}
|
|
53
|
+
function c(e) {
|
|
54
|
+
e = i(e);
|
|
55
|
+
let { values: t } = e, n = t[0], r = t[1] / 100, a = t[2] / 100, o = r * Math.min(a, 1 - a), c = (e, t = (e + n / 30) % 12) => a - o * Math.max(Math.min(t - 3, 9 - t, 1), -1), l = "rgb", u = [
|
|
56
|
+
Math.round(c(0) * 255),
|
|
57
|
+
Math.round(c(8) * 255),
|
|
58
|
+
Math.round(c(4) * 255)
|
|
59
|
+
];
|
|
60
|
+
return e.type === "hsla" && (l += "a", u.push(t[3])), s({
|
|
61
|
+
type: l,
|
|
62
|
+
values: u
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function l(e) {
|
|
66
|
+
e = i(e);
|
|
67
|
+
let t = e.type === "hsl" || e.type === "hsla" ? i(c(e)).values : e.values;
|
|
68
|
+
return t = t.map((t) => (e.type !== "color" && (t /= 255), t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4)), Number((.2126 * t[0] + .7152 * t[1] + .0722 * t[2]).toFixed(3));
|
|
69
|
+
}
|
|
70
|
+
function u(e, t) {
|
|
71
|
+
let n = l(e), r = l(t);
|
|
72
|
+
return (Math.max(n, r) + .05) / (Math.min(n, r) + .05);
|
|
73
|
+
}
|
|
74
|
+
function d(e, t) {
|
|
75
|
+
return e = i(e), t = n(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, s(e);
|
|
76
|
+
}
|
|
77
|
+
function f(e, t, n) {
|
|
78
|
+
try {
|
|
79
|
+
return d(e, t);
|
|
80
|
+
} catch {
|
|
81
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function p(e, t) {
|
|
85
|
+
if (e = i(e), t = n(t), e.type.includes("hsl")) e.values[2] *= 1 - t;
|
|
86
|
+
else if (e.type.includes("rgb") || e.type.includes("color")) for (let n = 0; n < 3; n += 1) e.values[n] *= 1 - t;
|
|
87
|
+
return s(e);
|
|
88
|
+
}
|
|
89
|
+
function m(e, t, n) {
|
|
90
|
+
try {
|
|
91
|
+
return p(e, t);
|
|
92
|
+
} catch {
|
|
93
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function h(e, t) {
|
|
97
|
+
if (e = i(e), t = n(t), e.type.includes("hsl")) e.values[2] += (100 - e.values[2]) * t;
|
|
98
|
+
else if (e.type.includes("rgb")) for (let n = 0; n < 3; n += 1) e.values[n] += (255 - e.values[n]) * t;
|
|
99
|
+
else if (e.type.includes("color")) for (let n = 0; n < 3; n += 1) e.values[n] += (1 - e.values[n]) * t;
|
|
100
|
+
return s(e);
|
|
101
|
+
}
|
|
102
|
+
function g(e, t, n) {
|
|
103
|
+
try {
|
|
104
|
+
return h(e, t);
|
|
105
|
+
} catch {
|
|
106
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function _(e, t = .15) {
|
|
110
|
+
return l(e) > .5 ? p(e, t) : h(e, t);
|
|
111
|
+
}
|
|
112
|
+
function v(e, t, n) {
|
|
113
|
+
try {
|
|
114
|
+
return _(e, t);
|
|
115
|
+
} catch {
|
|
116
|
+
return n && process.env.NODE_ENV !== "production" && console.warn(n), e;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
120
|
+
export { d as alpha, a as colorChannel, p as darken, i as decomposeColor, _ as emphasize, u as getContrastRatio, l as getLuminance, r as hexToRgb, c as hslToRgb, h as lighten, f as private_safeAlpha, o as private_safeColorChannel, m as private_safeDarken, v as private_safeEmphasize, g as private_safeLighten, s as recomposeColor };
|
|
121
|
+
|
|
122
|
+
//# sourceMappingURL=index71.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index71.js","names":["_formatErrorMessage"],"sources":["../node_modules/@mui/system/colorManipulator/colorManipulator.mjs"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\n/* eslint-disable @typescript-eslint/naming-convention */\nimport clamp from '@mui/utils/clamp';\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return clamp(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nexport function hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (color.length !== color.trim().length) {\n console.error(`MUI: The color: \"${color}\" is invalid. Make sure the color input doesn't contain leading/trailing space.`);\n }\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (!['rgb', 'rgba', 'hsl', 'hsla', 'color'].includes(type)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\\n` + 'The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().' : _formatErrorMessage(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (!['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].includes(colorSpace)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\\n` + 'The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.' : _formatErrorMessage(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nexport const colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.includes('hsl') && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexport const private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexport function recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.includes('rgb')) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.includes('hsl')) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.includes('color')) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nexport function rgbToHex(color) {\n // Idempotent\n if (color.startsWith('#')) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nexport function getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nexport function getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nexport function private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.includes('rgb') || color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.includes('hsl')) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.includes('rgb')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.includes('color')) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nexport function private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nexport function emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nexport function private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nexport function blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: r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AAO,GACpC,KAAK,IAAI,IAAI,GAAG,IAAI,GAAG,KAAK,GAC1B,EAAM,OAAO,OAAO,IAAI,EAAM,OAAO,MAAM;CAG/C,OAAO,EAAe,CAAK;AAC7B;AACA,SAAgB,EAAoB,GAAO,GAAa,GAAS;CAC/D,IAAI;EACF,OAAO,EAAQ,GAAO,CAAW;CACnC,QAAgB;EAId,OAHI,KAAA,QAAA,IAAA,aAAoC,gBACtC,QAAQ,KAAK,CAAO,GAEf;CACT;AACF;AASA,SAAgB,EAAU,GAAO,IAAc,KAAM;CACnD,OAAO,EAAa,CAAK,IAAI,KAAM,EAAO,GAAO,CAAW,IAAI,EAAQ,GAAO,CAAW;AAC5F;AACA,SAAgB,EAAsB,GAAO,GAAa,GAAS;CACjE,IAAI;EACF,OAAO,EAAU,GAAO,CAAW;CACrC,QAAgB;EAId,OAHI,KAAA,QAAA,IAAA,aAAoC,gBACtC,QAAQ,KAAK,CAAO,GAEf;CACT;AACF"}
|
package/dist/index72.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { __toESM as e } from "./index2.js";
|
|
3
|
+
import { require_prop_types as t } from "./index34.js";
|
|
4
|
+
import n from "./index69.js";
|
|
5
|
+
import * as r from "react";
|
|
6
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
7
|
+
//#region node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.mjs
|
|
8
|
+
var a = /* @__PURE__ */ e(t(), 1), o = /*#__PURE__*/ r.createContext(void 0);
|
|
9
|
+
function s({ value: e, children: t }) {
|
|
10
|
+
return /*#__PURE__*/ i(o.Provider, {
|
|
11
|
+
value: e,
|
|
12
|
+
children: t
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
process.env.NODE_ENV !== "production" && (s.propTypes = {
|
|
16
|
+
children: a.default.node,
|
|
17
|
+
value: a.default.object
|
|
18
|
+
});
|
|
19
|
+
function c(e) {
|
|
20
|
+
let { theme: t, name: r, props: i } = e;
|
|
21
|
+
if (!t || !t.components || !t.components[r]) return i;
|
|
22
|
+
let a = t.components[r];
|
|
23
|
+
return a.defaultProps ? n(a.defaultProps, i, t.components.mergeClassNameAndStyle) : !a.styleOverrides && !a.variants ? n(a, i, t.components.mergeClassNameAndStyle) : i;
|
|
24
|
+
}
|
|
25
|
+
function l({ props: e, name: t }) {
|
|
26
|
+
return c({
|
|
27
|
+
props: e,
|
|
28
|
+
name: t,
|
|
29
|
+
theme: { components: r.useContext(o) }
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { s as default, l as useDefaultProps };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=index72.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index72.js","names":["PropTypes","React"],"sources":["../node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport resolveProps from '@mui/utils/resolveProps';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst PropsContext = /*#__PURE__*/React.createContext(undefined);\nfunction DefaultPropsProvider({\n value,\n children\n}) {\n return /*#__PURE__*/_jsx(PropsContext.Provider, {\n value: value,\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object\n} : void 0;\nfunction getThemeProps(params) {\n const {\n theme,\n name,\n props\n } = params;\n if (!theme || !theme.components || !theme.components[name]) {\n return props;\n }\n const config = theme.components[name];\n if (config.defaultProps) {\n // compatible with v5 signature\n return resolveProps(config.defaultProps, props, theme.components.mergeClassNameAndStyle);\n }\n if (!config.styleOverrides && !config.variants) {\n // v6 signature, no property 'defaultProps'\n return resolveProps(config, props, theme.components.mergeClassNameAndStyle);\n }\n return props;\n}\nexport function useDefaultProps({\n props,\n name\n}) {\n const ctx = React.useContext(PropsContext);\n return getThemeProps({\n props,\n name,\n theme: {\n components: ctx\n }\n });\n}\nexport default DefaultPropsProvider;"],"x_google_ignoreList":[0],"mappings":";;;;;;;mCAMM,IAA4B,gBAAM,cAAc,KAAA,CAAS;AAC/D,SAAS,EAAqB,EAC5B,UACA,eACC;CACD,OAAoB,gBAAK,EAAa,UAAU;EACvC;EACG;CACZ,CAAC;AACH;AACyB,QAAA,IAAA,aAAA,iBAAe,EAAqB,YAAmC;CAQ9F,UAAUA,EAAAA,QAAU;CAIpB,OAAOA,EAAAA,QAAU;AACnB;AACA,SAAS,EAAc,GAAQ;CAC7B,IAAM,EACJ,UACA,SACA,aACE;CACJ,IAAI,CAAC,KAAS,CAAC,EAAM,cAAc,CAAC,EAAM,WAAW,IACnD,OAAO;CAET,IAAM,IAAS,EAAM,WAAW;CAShC,OARI,EAAO,eAEF,EAAa,EAAO,cAAc,GAAO,EAAM,WAAW,sBAAsB,IAErF,CAAC,EAAO,kBAAkB,CAAC,EAAO,WAE7B,EAAa,GAAQ,GAAO,EAAM,WAAW,sBAAsB,IAErE;AACT;AACA,SAAgB,EAAgB,EAC9B,UACA,WACC;CAED,OAAO,EAAc;EACnB;EACA;EACA,OAAO,EACL,YALQC,EAAM,WAAW,CAKX,EAChB;CACF,CAAC;AACH"}
|
package/dist/index73.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import e from "./index67.js";
|
|
2
|
+
//#region node_modules/@mui/system/memoTheme.mjs
|
|
3
|
+
var t = { theme: void 0 };
|
|
4
|
+
function n(n) {
|
|
5
|
+
let r, i;
|
|
6
|
+
return function(a) {
|
|
7
|
+
let o = r;
|
|
8
|
+
return (o === void 0 || a.theme !== i) && (t.theme = a.theme, o = e(n(t)), r = o, i = a.theme), o;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as default };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=index73.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index73.js","names":[],"sources":["../node_modules/@mui/system/memoTheme.mjs"],"sourcesContent":["import preprocessStyles from \"./preprocessStyles.mjs\";\n\n/* eslint-disable @typescript-eslint/naming-convention */\n\n// We need to pass an argument as `{ theme }` for PigmentCSS, but we don't want to\n// allocate more objects.\nconst arg = {\n theme: undefined\n};\n\n/**\n * Memoize style function on theme.\n * Intended to be used in styled() calls that only need access to the theme.\n */\nexport default function unstable_memoTheme(styleFn) {\n let lastValue;\n let lastTheme;\n return function styleMemoized(props) {\n let value = lastValue;\n if (value === undefined || props.theme !== lastTheme) {\n arg.theme = props.theme;\n value = preprocessStyles(styleFn(arg));\n lastValue = value;\n lastTheme = props.theme;\n }\n return value;\n };\n}"],"x_google_ignoreList":[0],"mappings":";;AAMA,IAAM,IAAM,EACV,OAAO,KAAA,EACT;AAMA,SAAwB,EAAmB,GAAS;CAClD,IAAI,GACA;CACJ,OAAO,SAAuB,GAAO;EACnC,IAAI,IAAQ;EAOZ,QANI,MAAU,KAAA,KAAa,EAAM,UAAU,OACzC,EAAI,QAAQ,EAAM,OAClB,IAAQ,EAAiB,EAAQ,CAAG,CAAC,GACrC,IAAY,GACZ,IAAY,EAAM,QAEb;CACT;AACF"}
|
package/dist/index74.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region node_modules/@mui/system/cssVars/createGetCssVar.mjs
|
|
2
|
+
function e(e = "") {
|
|
3
|
+
function t(...n) {
|
|
4
|
+
if (!n.length) return "";
|
|
5
|
+
let r = n[0];
|
|
6
|
+
return typeof r == "string" && !r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${r}${t(...n.slice(1))})` : `, ${r}`;
|
|
7
|
+
}
|
|
8
|
+
return (n, ...r) => `var(--${e ? `${e}-` : ""}${n}${t(...r)})`;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as default };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=index74.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index74.js","names":[],"sources":["../node_modules/@mui/system/cssVars/createGetCssVar.mjs"],"sourcesContent":["/**\n * The benefit of this function is to help developers get CSS var from theme without specifying the whole variable\n * and they does not need to remember the prefix (defined once).\n */\nexport default function createGetCssVar(prefix = '') {\n function appendVar(...vars) {\n if (!vars.length) {\n return '';\n }\n const value = vars[0];\n if (typeof value === 'string' && !value.match(/(#|\\(|\\)|(-?(\\d*\\.)?\\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\\d*\\.)?\\d+)$|(\\d+ \\d+ \\d+)/)) {\n return `, var(--${prefix ? `${prefix}-` : ''}${value}${appendVar(...vars.slice(1))})`;\n }\n return `, ${value}`;\n }\n\n // AdditionalVars makes `getCssVar` less strict, so it can be use like this `getCssVar('non-mui-variable')` without type error.\n const getCssVar = (field, ...fallbacks) => {\n return `var(--${prefix ? `${prefix}-` : ''}${field}${appendVar(...fallbacks)})`;\n };\n return getCssVar;\n}"],"x_google_ignoreList":[0],"mappings":";AAIA,SAAwB,EAAgB,IAAS,IAAI;CACnD,SAAS,EAAU,GAAG,GAAM;EAC1B,IAAI,CAAC,EAAK,QACR,OAAO;EAET,IAAM,IAAQ,EAAK;EAInB,OAHI,OAAO,KAAU,YAAY,CAAC,EAAM,MAAM,6GAA6G,IAClJ,WAAW,IAAS,GAAG,EAAO,KAAK,KAAK,IAAQ,EAAU,GAAG,EAAK,MAAM,CAAC,CAAC,EAAE,KAE9E,KAAK;CACd;CAMA,QAHmB,GAAO,GAAG,MACpB,SAAS,IAAS,GAAG,EAAO,KAAK,KAAK,IAAQ,EAAU,GAAG,CAAS,EAAE;AAGjF"}
|
package/dist/index75.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//#region node_modules/@mui/system/cssVars/cssVarsParser.mjs
|
|
2
|
+
var e = /* @__PURE__ */ new Set([
|
|
3
|
+
"__proto__",
|
|
4
|
+
"constructor",
|
|
5
|
+
"prototype"
|
|
6
|
+
]), t = (t, n, r, i = []) => {
|
|
7
|
+
let a = t;
|
|
8
|
+
for (let t = 0; t < n.length; t += 1) {
|
|
9
|
+
let o = n[t];
|
|
10
|
+
if (e.has(o)) break;
|
|
11
|
+
t === n.length - 1 ? Array.isArray(a) ? a[Number(o)] = r : a && typeof a == "object" && (a[o] = r) : a && typeof a == "object" && (a[o] || (a[o] = i.includes(o) ? [] : {}), a = a[o]);
|
|
12
|
+
}
|
|
13
|
+
}, n = (e, t, n) => {
|
|
14
|
+
function r(e, i = [], a = []) {
|
|
15
|
+
Object.entries(e).forEach(([e, o]) => {
|
|
16
|
+
(!n || n && !n([...i, e])) && o != null && (typeof o == "object" && Object.keys(o).length > 0 ? r(o, [...i, e], Array.isArray(o) ? [...a, e] : a) : t([...i, e], o, a));
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
r(e);
|
|
20
|
+
}, r = (e, t) => typeof t == "number" ? [
|
|
21
|
+
"lineHeight",
|
|
22
|
+
"fontWeight",
|
|
23
|
+
"opacity",
|
|
24
|
+
"zIndex"
|
|
25
|
+
].some((t) => e.includes(t)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
26
|
+
function i(e, i) {
|
|
27
|
+
let { prefix: a, shouldSkipGeneratingVar: o } = i || {}, s = {}, c = {}, l = {};
|
|
28
|
+
return n(e, (e, n, i) => {
|
|
29
|
+
if ((typeof n == "string" || typeof n == "number") && (!o || !o(e, n))) {
|
|
30
|
+
let o = `--${a ? `${a}-` : ""}${e.join("-")}`, u = r(e, n);
|
|
31
|
+
Object.assign(s, { [o]: u }), t(c, e, `var(${o})`, i), t(l, e, `var(${o}, ${u})`, i);
|
|
32
|
+
}
|
|
33
|
+
}, (e) => e[0] === "vars"), {
|
|
34
|
+
css: s,
|
|
35
|
+
vars: c,
|
|
36
|
+
varsWithDefaults: l
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { t as assignNestedKeys, i as default, n as walkObjectDeep };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=index75.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index75.js","names":[],"sources":["../node_modules/@mui/system/cssVars/cssVarsParser.mjs"],"sourcesContent":["const prototypePollutingKeys = new Set(['__proto__', 'constructor', 'prototype']);\n\n/**\n * This function create an object from keys, value and then assign to target\n *\n * @param {Object} obj : the target object to be assigned\n * @param {string[]} keys\n * @param {string | number} value\n *\n * @example\n * const source = {}\n * assignNestedKeys(source, ['palette', 'primary'], 'var(--palette-primary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)' } }\n *\n * @example\n * const source = { palette: { primary: 'var(--palette-primary)' } }\n * assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')\n * console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }\n */\nexport const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {\n let temp = obj;\n for (let index = 0; index < keys.length; index += 1) {\n const k = keys[index];\n // Prevent prototype pollution: never traverse or write through\n // `__proto__` / `constructor` / `prototype` (e.g. a theme parsed from untrusted JSON).\n if (prototypePollutingKeys.has(k)) {\n break;\n }\n if (index === keys.length - 1) {\n if (Array.isArray(temp)) {\n temp[Number(k)] = value;\n } else if (temp && typeof temp === 'object') {\n temp[k] = value;\n }\n } else if (temp && typeof temp === 'object') {\n if (!temp[k]) {\n temp[k] = arrayKeys.includes(k) ? [] : {};\n }\n temp = temp[k];\n }\n }\n};\n\n/**\n *\n * @param {Object} obj : source object\n * @param {Function} callback : a function that will be called when\n * - the deepest key in source object is reached\n * - the value of the deepest key is NOT `undefined` | `null`\n *\n * @example\n * walkObjectDeep({ palette: { primary: { main: '#000000' } } }, console.log)\n * // ['palette', 'primary', 'main'] '#000000'\n */\nexport const walkObjectDeep = (obj, callback, shouldSkipPaths) => {\n function recurse(object, parentKeys = [], arrayKeys = []) {\n Object.entries(object).forEach(([key, value]) => {\n if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {\n if (value !== undefined && value !== null) {\n if (typeof value === 'object' && Object.keys(value).length > 0) {\n recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);\n } else {\n callback([...parentKeys, key], value, arrayKeys);\n }\n }\n }\n });\n }\n recurse(obj);\n};\nconst getCssValue = (keys, value) => {\n if (typeof value === 'number') {\n if (['lineHeight', 'fontWeight', 'opacity', 'zIndex'].some(prop => keys.includes(prop))) {\n // CSS property that are unitless\n return value;\n }\n const lastKey = keys[keys.length - 1];\n if (lastKey.toLowerCase().includes('opacity')) {\n // opacity values are unitless\n return value;\n }\n return `${value}px`;\n }\n return value;\n};\n\n/**\n * a function that parse theme and return { css, vars }\n *\n * @param {Object} theme\n * @param {{\n * prefix?: string,\n * shouldSkipGeneratingVar?: (objectPathKeys: Array<string>, value: string | number) => boolean\n * }} options.\n * `prefix`: The prefix of the generated CSS variables. This function does not change the value.\n *\n * @returns {{ css: Object, vars: Object }} `css` is the stylesheet, `vars` is an object to get css variable (same structure as theme).\n *\n * @example\n * const { css, vars } = parser({\n * fontSize: 12,\n * lineHeight: 1.2,\n * palette: { primary: { 500: 'var(--color)' } }\n * }, { prefix: 'foo' })\n *\n * console.log(css) // { '--foo-fontSize': '12px', '--foo-lineHeight': 1.2, '--foo-palette-primary-500': 'var(--color)' }\n * console.log(vars) // { fontSize: 'var(--foo-fontSize)', lineHeight: 'var(--foo-lineHeight)', palette: { primary: { 500: 'var(--foo-palette-primary-500)' } } }\n */\nexport default function cssVarsParser(theme, options) {\n const {\n prefix,\n shouldSkipGeneratingVar\n } = options || {};\n const css = {};\n const vars = {};\n const varsWithDefaults = {};\n walkObjectDeep(theme, (keys, value, arrayKeys) => {\n if (typeof value === 'string' || typeof value === 'number') {\n if (!shouldSkipGeneratingVar || !shouldSkipGeneratingVar(keys, value)) {\n // only create css & var if `shouldSkipGeneratingVar` return false\n const cssVar = `--${prefix ? `${prefix}-` : ''}${keys.join('-')}`;\n const resolvedValue = getCssValue(keys, value);\n Object.assign(css, {\n [cssVar]: resolvedValue\n });\n assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);\n assignNestedKeys(varsWithDefaults, keys, `var(${cssVar}, ${resolvedValue})`, arrayKeys);\n }\n }\n }, keys => keys[0] === 'vars' // skip 'vars/*' paths\n );\n return {\n css,\n vars,\n varsWithDefaults\n };\n}"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,oBAAyB,IAAI,IAAI;CAAC;CAAa;CAAe;AAAW,CAAC,GAmBnE,KAAoB,GAAK,GAAM,GAAO,IAAY,CAAC,MAAM;CACpE,IAAI,IAAO;CACX,KAAK,IAAI,IAAQ,GAAG,IAAQ,EAAK,QAAQ,KAAS,GAAG;EACnD,IAAM,IAAI,EAAK;EAGf,IAAI,EAAuB,IAAI,CAAC,GAC9B;EAEF,AAAI,MAAU,EAAK,SAAS,IACtB,MAAM,QAAQ,CAAI,IACpB,EAAK,OAAO,CAAC,KAAK,IACT,KAAQ,OAAO,KAAS,aACjC,EAAK,KAAK,KAEH,KAAQ,OAAO,KAAS,aAC5B,EAAK,OACR,EAAK,KAAK,EAAU,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAE1C,IAAO,EAAK;CAEhB;AACF,GAaa,KAAkB,GAAK,GAAU,MAAoB;CAChE,SAAS,EAAQ,GAAQ,IAAa,CAAC,GAAG,IAAY,CAAC,GAAG;EACxD,OAAO,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ACF"}
|
package/dist/index76.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import e from "./index39.js";
|
|
2
|
+
import t from "./index75.js";
|
|
3
|
+
//#region node_modules/@mui/system/cssVars/prepareCssVars.mjs
|
|
4
|
+
function n(n, r = {}) {
|
|
5
|
+
let { getSelector: i = y, disableCssColorScheme: a, colorSchemeSelector: o, enableContrastVars: s } = r, { colorSchemes: c = {}, components: l, defaultColorScheme: u = "light", ...d } = n, { vars: f, css: p, varsWithDefaults: m } = t(d, r), h = m, g = {}, { [u]: _, ...v } = c;
|
|
6
|
+
if (Object.entries(v || {}).forEach(([n, i]) => {
|
|
7
|
+
let { vars: a, css: o, varsWithDefaults: s } = t(i, r);
|
|
8
|
+
h = e(h, s), g[n] = {
|
|
9
|
+
css: o,
|
|
10
|
+
vars: a
|
|
11
|
+
};
|
|
12
|
+
}), _) {
|
|
13
|
+
let { css: n, vars: i, varsWithDefaults: a } = t(_, r);
|
|
14
|
+
h = e(h, a), g[u] = {
|
|
15
|
+
css: n,
|
|
16
|
+
vars: i
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function y(e, t) {
|
|
20
|
+
let r = o;
|
|
21
|
+
if (o === "class" && (r = ".%s"), o === "data" && (r = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (r = `[${o}="%s"]`), e) {
|
|
22
|
+
if (r === "media") return n.defaultColorScheme === e ? ":root" : { [`@media (prefers-color-scheme: ${c[e]?.palette?.mode || e})`]: { ":root": t } };
|
|
23
|
+
if (r) return n.defaultColorScheme === e ? `:root, ${r.replace("%s", String(e))}` : r.replace("%s", String(e));
|
|
24
|
+
}
|
|
25
|
+
return ":root";
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
vars: h,
|
|
29
|
+
generateThemeVars: () => {
|
|
30
|
+
let t = { ...f };
|
|
31
|
+
return Object.entries(g).forEach(([, { vars: n }]) => {
|
|
32
|
+
t = e(t, n);
|
|
33
|
+
}), t;
|
|
34
|
+
},
|
|
35
|
+
generateStyleSheets: () => {
|
|
36
|
+
let e = [], t = n.defaultColorScheme || "light";
|
|
37
|
+
function r(t, n) {
|
|
38
|
+
Object.keys(n).length && e.push(typeof t == "string" ? { [t]: { ...n } } : t);
|
|
39
|
+
}
|
|
40
|
+
r(i(void 0, { ...p }), p);
|
|
41
|
+
let { [t]: o, ...l } = g;
|
|
42
|
+
if (o) {
|
|
43
|
+
let { css: e } = o, n = c[t]?.palette?.mode, s = !a && n ? {
|
|
44
|
+
colorScheme: n,
|
|
45
|
+
...e
|
|
46
|
+
} : { ...e };
|
|
47
|
+
r(i(t, { ...s }), s);
|
|
48
|
+
}
|
|
49
|
+
return Object.entries(l).forEach(([e, { css: t }]) => {
|
|
50
|
+
let n = c[e]?.palette?.mode, o = !a && n ? {
|
|
51
|
+
colorScheme: n,
|
|
52
|
+
...t
|
|
53
|
+
} : { ...t };
|
|
54
|
+
r(i(e, { ...o }), o);
|
|
55
|
+
}), s && e.push({ ":root": {
|
|
56
|
+
"--__l-threshold": "0.7",
|
|
57
|
+
"--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
|
|
58
|
+
"--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
|
|
59
|
+
} }), e;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
export { n as default };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=index76.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index76.js","names":[],"sources":["../node_modules/@mui/system/cssVars/prepareCssVars.mjs"],"sourcesContent":["import deepmerge from '@mui/utils/deepmerge';\nimport cssVarsParser from \"./cssVarsParser.mjs\";\nfunction prepareCssVars(theme, parserConfig = {}) {\n const {\n getSelector = defaultGetSelector,\n disableCssColorScheme,\n colorSchemeSelector: selector,\n enableContrastVars\n } = parserConfig;\n // @ts-expect-error - ignore components do not exist\n const {\n colorSchemes = {},\n components,\n defaultColorScheme = 'light',\n ...otherTheme\n } = theme;\n const {\n vars: rootVars,\n css: rootCss,\n varsWithDefaults: rootVarsWithDefaults\n } = cssVarsParser(otherTheme, parserConfig);\n let themeVars = rootVarsWithDefaults;\n const colorSchemesMap = {};\n const {\n [defaultColorScheme]: defaultScheme,\n ...otherColorSchemes\n } = colorSchemes;\n Object.entries(otherColorSchemes || {}).forEach(([key, scheme]) => {\n const {\n vars,\n css,\n varsWithDefaults\n } = cssVarsParser(scheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[key] = {\n css,\n vars\n };\n });\n if (defaultScheme) {\n // default color scheme vars should be merged last to set as default\n const {\n css,\n vars,\n varsWithDefaults\n } = cssVarsParser(defaultScheme, parserConfig);\n themeVars = deepmerge(themeVars, varsWithDefaults);\n colorSchemesMap[defaultColorScheme] = {\n css,\n vars\n };\n }\n function defaultGetSelector(colorScheme, cssObject) {\n let rule = selector;\n if (selector === 'class') {\n rule = '.%s';\n }\n if (selector === 'data') {\n rule = '[data-%s]';\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-joy-color-scheme' -> '[data-joy-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (colorScheme) {\n if (rule === 'media') {\n if (theme.defaultColorScheme === colorScheme) {\n return ':root';\n }\n const mode = colorSchemes[colorScheme]?.palette?.mode || colorScheme;\n return {\n [`@media (prefers-color-scheme: ${mode})`]: {\n ':root': cssObject\n }\n };\n }\n if (rule) {\n if (theme.defaultColorScheme === colorScheme) {\n return `:root, ${rule.replace('%s', String(colorScheme))}`;\n }\n return rule.replace('%s', String(colorScheme));\n }\n }\n return ':root';\n }\n const generateThemeVars = () => {\n let vars = {\n ...rootVars\n };\n Object.entries(colorSchemesMap).forEach(([, {\n vars: schemeVars\n }]) => {\n vars = deepmerge(vars, schemeVars);\n });\n return vars;\n };\n const generateStyleSheets = () => {\n const stylesheets = [];\n const colorScheme = theme.defaultColorScheme || 'light';\n function insertStyleSheet(key, css) {\n if (Object.keys(css).length) {\n stylesheets.push(typeof key === 'string' ? {\n [key]: {\n ...css\n }\n } : key);\n }\n }\n insertStyleSheet(getSelector(undefined, {\n ...rootCss\n }), rootCss);\n const {\n [colorScheme]: defaultSchemeVal,\n ...other\n } = colorSchemesMap;\n if (defaultSchemeVal) {\n // default color scheme has to come before other color schemes\n const {\n css\n } = defaultSchemeVal;\n const cssColorSheme = colorSchemes[colorScheme]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(colorScheme, {\n ...finalCss\n }), finalCss);\n }\n Object.entries(other).forEach(([key, {\n css\n }]) => {\n const cssColorSheme = colorSchemes[key]?.palette?.mode;\n const finalCss = !disableCssColorScheme && cssColorSheme ? {\n colorScheme: cssColorSheme,\n ...css\n } : {\n ...css\n };\n insertStyleSheet(getSelector(key, {\n ...finalCss\n }), finalCss);\n });\n if (enableContrastVars) {\n stylesheets.push({\n ':root': {\n // use double underscore to indicate that these are private variables\n '--__l-threshold': '0.7',\n '--__l': 'clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)',\n '--__a': 'clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)' // 0.87 is the default alpha value for black text.\n }\n });\n }\n return stylesheets;\n };\n return {\n vars: themeVars,\n generateThemeVars,\n generateStyleSheets\n };\n}\nexport default prepareCssVars;"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAS,EAAe,GAAO,IAAe,CAAC,GAAG;CAChD,IAAM,EACJ,iBAAc,GACd,0BACA,qBAAqB,GACrB,0BACE,GAEE,EACJ,kBAAe,CAAC,GAChB,eACA,wBAAqB,SACrB,GAAG,MACD,GACE,EACJ,MAAM,GACN,KAAK,GACL,kBAAkB,MAChB,EAAc,GAAY,CAAY,GACtC,IAAY,GACV,IAAkB,CAAC,GACnB,GACH,IAAqB,G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xC,IAAM,EACL,GAAG,EACL,EACF,IAAI,CAAG;GAEX;GACA,EAAiB,EAAY,KAAA,GAAW,EACtC,GAAG,EACL,CAAC,GAAG,CAAO;GACX,IAAM,GACH,IAAc,GACf,GAAG,MACD;GACJ,IAAI,GAAkB;IAEpB,IAAM,EACJ,WACE,GACE,IAAgB,EAAa,EAAY,EAAE,SAAS,MACpD,IAAW,CAAC,KAAyB,IAAgB;KACzD,aAAa;KACb,GAAG;IACL,IAAI,EACF,GAAG,EACL;IACA,EAAiB,EAAY,GAAa,EACxC,GAAG,EACL,CAAC,GAAG,CAAQ;GACd;GAyBA,OAxBA,OAAO,QAAQ,CAAK,CAAC,CAAC,SAAS,CAAC,GAAK,EACnC,cACK;IACL,IAAM,IAAgB,EAAa,EAAI,EAAE,SAAS,MAC5C,IAAW,CAAC,KAAyB,IAAgB;KACzD,aAAa;KACb,GAAG;IACL,IAAI,EACF,GAAG,EACL;IACA,EAAiB,EAAY,GAAK,EAChC,GAAG,EACL,CAAC,GAAG,CAAQ;GACd,CAAC,GACG,KACF,EAAY,KAAK,EACf,SAAS;IAEP,mBAAmB;IACnB,SAAS;IACT,SAAS;GACX,EACF,CAAC,GAEI;EACT;CAKA;AACF"}
|
package/dist/index77.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region node_modules/@mui/system/cssVars/getColorSchemeSelector.mjs
|
|
2
|
+
function e(e) {
|
|
3
|
+
return function(t) {
|
|
4
|
+
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)} &` : "&";
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { e as createGetColorSchemeSelector };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=index77.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index77.js","names":[],"sources":["../node_modules/@mui/system/cssVars/getColorSchemeSelector.mjs"],"sourcesContent":["/* eslint-disable import/prefer-default-export */\nexport function createGetColorSchemeSelector(selector) {\n return function getColorSchemeSelector(colorScheme) {\n if (selector === 'media') {\n if (process.env.NODE_ENV !== 'production') {\n if (colorScheme !== 'light' && colorScheme !== 'dark') {\n console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);\n }\n }\n return `@media (prefers-color-scheme: ${colorScheme})`;\n }\n if (selector) {\n if (selector.startsWith('data-') && !selector.includes('%s')) {\n return `[${selector}=\"${colorScheme}\"] &`;\n }\n if (selector === 'class') {\n return `.${colorScheme} &`;\n }\n if (selector === 'data') {\n return `[data-${colorScheme}] &`;\n }\n return `${selector.replace('%s', colorScheme)} &`;\n }\n return '&';\n };\n}"],"x_google_ignoreList":[0],"mappings":";AACA,SAAgB,EAA6B,GAAU;CACrD,OAAO,SAAgC,GAAa;EAqBlD,OApBI,MAAa,WACf,QAAA,IAAA,aAA6B,gBACvB,MAAgB,WAAW,MAAgB,UAC7C,QAAQ,MAAM,oFAAoF,EAAY,GAAG,GAG9G,iCAAiC,EAAY,MAElD,IACE,EAAS,WAAW,OAAO,KAAK,CAAC,EAAS,SAAS,IAAI,IAClD,IAAI,EAAS,IAAI,EAAY,QAElC,MAAa,UACR,IAAI,EAAY,MAErB,MAAa,SACR,SAAS,EAAY,OAEvB,GAAG,EAAS,QAAQ,MAAM,CAAW,EAAE,MAEzC;CACT;AACF"}
|
package/dist/index78.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region node_modules/@mui/utils/composeClasses/composeClasses.mjs
|
|
2
|
+
function e(e, t, n = void 0) {
|
|
3
|
+
let r = {};
|
|
4
|
+
for (let i in e) {
|
|
5
|
+
let a = e[i], o = "", s = !0;
|
|
6
|
+
for (let e = 0; e < a.length; e += 1) {
|
|
7
|
+
let r = a[e];
|
|
8
|
+
r && (o += (s === !0 ? "" : " ") + t(r), s = !1, n && n[r] && (o += " " + n[r]));
|
|
9
|
+
}
|
|
10
|
+
r[i] = o;
|
|
11
|
+
}
|
|
12
|
+
return r;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { e as default };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=index78.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index78.js","names":[],"sources":["../node_modules/@mui/utils/composeClasses/composeClasses.mjs"],"sourcesContent":["/* eslint no-restricted-syntax: 0, prefer-template: 0, guard-for-in: 0\n ---\n These rules are preventing the performance optimizations below.\n */\n\n/**\n * Compose classes from multiple sources.\n *\n * @example\n * ```tsx\n * const slots = {\n * root: ['root', 'primary'],\n * label: ['label'],\n * };\n *\n * const getUtilityClass = (slot) => `MuiButton-${slot}`;\n *\n * const classes = {\n * root: 'my-root-class',\n * };\n *\n * const output = composeClasses(slots, getUtilityClass, classes);\n * // {\n * // root: 'MuiButton-root MuiButton-primary my-root-class',\n * // label: 'MuiButton-label',\n * // }\n * ```\n *\n * @param slots a list of classes for each possible slot\n * @param getUtilityClass a function to resolve the class based on the slot name\n * @param classes the input classes from props\n * @returns the resolved classes for all slots\n */\nexport default function composeClasses(slots, getUtilityClass, classes = undefined) {\n const output = {};\n for (const slotName in slots) {\n const slot = slots[slotName];\n let buffer = '';\n let start = true;\n for (let i = 0; i < slot.length; i += 1) {\n const value = slot[i];\n if (value) {\n buffer += (start === true ? '' : ' ') + getUtilityClass(value);\n start = false;\n if (classes && classes[value]) {\n buffer += ' ' + classes[value];\n }\n }\n }\n output[slotName] = buffer;\n }\n return output;\n}"],"x_google_ignoreList":[0],"mappings":";AAiCA,SAAwB,EAAe,GAAO,GAAiB,IAAU,KAAA,GAAW;CAClF,IAAM,IAAS,CAAC;CAChB,KAAK,IAAM,KAAY,GAAO;EAC5B,IAAM,IAAO,EAAM,IACf,IAAS,IACT,IAAQ;EACZ,KAAK,IAAI,IAAI,GAAG,IAAI,EAAK,QAAQ,KAAK,GAAG;GACvC,IAAM,IAAQ,EAAK;GACnB,AAAI,MACF,MAAW,MAAU,KAAO,KAAK,OAAO,EAAgB,CAAK,GAC7D,IAAQ,IACJ,KAAW,EAAQ,OACrB,KAAU,MAAM,EAAQ;EAG9B;EACA,EAAO,KAAY;CACrB;CACA,OAAO;AACT"}
|
package/dist/index79.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index79.js","names":[],"sources":["../node_modules/@mui/material/colors/common.mjs"],"sourcesContent":["const common = {\n black: '#000',\n white: '#fff'\n};\nexport default common;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAS;CACb,OAAO;CACP,OAAO;AACT"}
|
package/dist/index8.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region node_modules/stylis/src/Enum.js
|
|
2
|
+
var e = "-ms-", t = "-moz-", n = "-webkit-", r = "comm", i = "rule", a = "decl", o = "@import", s = "@keyframes", c = "@layer";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { r as COMMENT, a as DECLARATION, o as IMPORT, s as KEYFRAMES, c as LAYER, t as MOZ, e as MS, i as RULESET, n as WEBKIT };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=index8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index8.js","names":[],"sources":["../node_modules/stylis/src/Enum.js"],"sourcesContent":["export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAW,IAAK,QACL,IAAM,SACN,IAAS,YAET,IAAU,QACV,IAAU,QACV,IAAc,QAId,IAAS,WAMT,IAAY,cAIZ,IAAQ"}
|
package/dist/index80.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region node_modules/@mui/material/colors/grey.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
50: "#fafafa",
|
|
4
|
+
100: "#f5f5f5",
|
|
5
|
+
200: "#eeeeee",
|
|
6
|
+
300: "#e0e0e0",
|
|
7
|
+
400: "#bdbdbd",
|
|
8
|
+
500: "#9e9e9e",
|
|
9
|
+
600: "#757575",
|
|
10
|
+
700: "#616161",
|
|
11
|
+
800: "#424242",
|
|
12
|
+
900: "#212121",
|
|
13
|
+
A100: "#f5f5f5",
|
|
14
|
+
A200: "#eeeeee",
|
|
15
|
+
A400: "#bdbdbd",
|
|
16
|
+
A700: "#616161"
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as default };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index80.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index80.js","names":[],"sources":["../node_modules/@mui/material/colors/grey.mjs"],"sourcesContent":["const grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#f5f5f5',\n A200: '#eeeeee',\n A400: '#bdbdbd',\n A700: '#616161'\n};\nexport default grey;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAO;CACX,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;AACR"}
|
package/dist/index81.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region node_modules/@mui/material/colors/purple.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
50: "#f3e5f5",
|
|
4
|
+
100: "#e1bee7",
|
|
5
|
+
200: "#ce93d8",
|
|
6
|
+
300: "#ba68c8",
|
|
7
|
+
400: "#ab47bc",
|
|
8
|
+
500: "#9c27b0",
|
|
9
|
+
600: "#8e24aa",
|
|
10
|
+
700: "#7b1fa2",
|
|
11
|
+
800: "#6a1b9a",
|
|
12
|
+
900: "#4a148c",
|
|
13
|
+
A100: "#ea80fc",
|
|
14
|
+
A200: "#e040fb",
|
|
15
|
+
A400: "#d500f9",
|
|
16
|
+
A700: "#aa00ff"
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as default };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index81.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index81.js","names":[],"sources":["../node_modules/@mui/material/colors/purple.mjs"],"sourcesContent":["const purple = {\n 50: '#f3e5f5',\n 100: '#e1bee7',\n 200: '#ce93d8',\n 300: '#ba68c8',\n 400: '#ab47bc',\n 500: '#9c27b0',\n 600: '#8e24aa',\n 700: '#7b1fa2',\n 800: '#6a1b9a',\n 900: '#4a148c',\n A100: '#ea80fc',\n A200: '#e040fb',\n A400: '#d500f9',\n A700: '#aa00ff'\n};\nexport default purple;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAS;CACb,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;AACR"}
|
package/dist/index82.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region node_modules/@mui/material/colors/red.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
50: "#ffebee",
|
|
4
|
+
100: "#ffcdd2",
|
|
5
|
+
200: "#ef9a9a",
|
|
6
|
+
300: "#e57373",
|
|
7
|
+
400: "#ef5350",
|
|
8
|
+
500: "#f44336",
|
|
9
|
+
600: "#e53935",
|
|
10
|
+
700: "#d32f2f",
|
|
11
|
+
800: "#c62828",
|
|
12
|
+
900: "#b71c1c",
|
|
13
|
+
A100: "#ff8a80",
|
|
14
|
+
A200: "#ff5252",
|
|
15
|
+
A400: "#ff1744",
|
|
16
|
+
A700: "#d50000"
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as default };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index82.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index82.js","names":[],"sources":["../node_modules/@mui/material/colors/red.mjs"],"sourcesContent":["const red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nexport default red;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAM;CACV,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;AACR"}
|
package/dist/index83.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region node_modules/@mui/material/colors/orange.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
50: "#fff3e0",
|
|
4
|
+
100: "#ffe0b2",
|
|
5
|
+
200: "#ffcc80",
|
|
6
|
+
300: "#ffb74d",
|
|
7
|
+
400: "#ffa726",
|
|
8
|
+
500: "#ff9800",
|
|
9
|
+
600: "#fb8c00",
|
|
10
|
+
700: "#f57c00",
|
|
11
|
+
800: "#ef6c00",
|
|
12
|
+
900: "#e65100",
|
|
13
|
+
A100: "#ffd180",
|
|
14
|
+
A200: "#ffab40",
|
|
15
|
+
A400: "#ff9100",
|
|
16
|
+
A700: "#ff6d00"
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as default };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index83.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index83.js","names":[],"sources":["../node_modules/@mui/material/colors/orange.mjs"],"sourcesContent":["const orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nexport default orange;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAS;CACb,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;AACR"}
|
package/dist/index84.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region node_modules/@mui/material/colors/blue.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
50: "#e3f2fd",
|
|
4
|
+
100: "#bbdefb",
|
|
5
|
+
200: "#90caf9",
|
|
6
|
+
300: "#64b5f6",
|
|
7
|
+
400: "#42a5f5",
|
|
8
|
+
500: "#2196f3",
|
|
9
|
+
600: "#1e88e5",
|
|
10
|
+
700: "#1976d2",
|
|
11
|
+
800: "#1565c0",
|
|
12
|
+
900: "#0d47a1",
|
|
13
|
+
A100: "#82b1ff",
|
|
14
|
+
A200: "#448aff",
|
|
15
|
+
A400: "#2979ff",
|
|
16
|
+
A700: "#2962ff"
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as default };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index84.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index84.js","names":[],"sources":["../node_modules/@mui/material/colors/blue.mjs"],"sourcesContent":["const blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nexport default blue;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAO;CACX,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;AACR"}
|
package/dist/index85.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region node_modules/@mui/material/colors/lightBlue.mjs
|
|
2
|
+
var e = {
|
|
3
|
+
50: "#e1f5fe",
|
|
4
|
+
100: "#b3e5fc",
|
|
5
|
+
200: "#81d4fa",
|
|
6
|
+
300: "#4fc3f7",
|
|
7
|
+
400: "#29b6f6",
|
|
8
|
+
500: "#03a9f4",
|
|
9
|
+
600: "#039be5",
|
|
10
|
+
700: "#0288d1",
|
|
11
|
+
800: "#0277bd",
|
|
12
|
+
900: "#01579b",
|
|
13
|
+
A100: "#80d8ff",
|
|
14
|
+
A200: "#40c4ff",
|
|
15
|
+
A400: "#00b0ff",
|
|
16
|
+
A700: "#0091ea"
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { e as default };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index85.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index85.js","names":[],"sources":["../node_modules/@mui/material/colors/lightBlue.mjs"],"sourcesContent":["const lightBlue = {\n 50: '#e1f5fe',\n 100: '#b3e5fc',\n 200: '#81d4fa',\n 300: '#4fc3f7',\n 400: '#29b6f6',\n 500: '#03a9f4',\n 600: '#039be5',\n 700: '#0288d1',\n 800: '#0277bd',\n 900: '#01579b',\n A100: '#80d8ff',\n A200: '#40c4ff',\n A400: '#00b0ff',\n A700: '#0091ea'\n};\nexport default lightBlue;"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAY;CAChB,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,MAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;AACR"}
|