@redis-ui/styles 12.3.1 → 12.5.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/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTheme as To, css as $r, ThemeProvider as Fo, createGlobalStyle as Eo } from "styled-components";
|
|
2
|
-
import Ae, { useRef as Ge, useCallback as wr, useState as
|
|
2
|
+
import Ae, { useRef as Ge, useCallback as wr, useState as Ce, useEffect as Dr, useLayoutEffect as Io, createContext as Oo, useMemo as Mo, useContext as _o } from "react";
|
|
3
3
|
const l = {
|
|
4
4
|
transparent: "#00000000",
|
|
5
5
|
pink500: "#de47bb",
|
|
@@ -391,7 +391,7 @@ const l = {
|
|
|
391
391
|
color: l.blue600
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
},
|
|
394
|
+
}, Bo = {
|
|
395
395
|
sizes: {
|
|
396
396
|
L: {
|
|
397
397
|
size: "3rem",
|
|
@@ -1163,19 +1163,19 @@ function Zo(t) {
|
|
|
1163
1163
|
else if (t === "transparent")
|
|
1164
1164
|
u = 0, d = "rgb", s = [0, 0, 0];
|
|
1165
1165
|
else if (t[0] === "#") {
|
|
1166
|
-
var g = t.slice(1),
|
|
1166
|
+
var g = t.slice(1), f = g.length, h = f <= 4;
|
|
1167
1167
|
u = 1, h ? (s = [
|
|
1168
1168
|
parseInt(g[0] + g[0], 16),
|
|
1169
1169
|
parseInt(g[1] + g[1], 16),
|
|
1170
1170
|
parseInt(g[2] + g[2], 16)
|
|
1171
|
-
],
|
|
1171
|
+
], f === 4 && (u = parseInt(g[3] + g[3], 16) / 255)) : (s = [
|
|
1172
1172
|
parseInt(g[0] + g[1], 16),
|
|
1173
1173
|
parseInt(g[2] + g[3], 16),
|
|
1174
1174
|
parseInt(g[4] + g[5], 16)
|
|
1175
|
-
],
|
|
1175
|
+
], f === 8 && (u = parseInt(g[6] + g[7], 16) / 255)), s[0] || (s[0] = 0), s[1] || (s[1] = 0), s[2] || (s[2] = 0), d = "rgb";
|
|
1176
1176
|
} else if (a = /^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(t)) {
|
|
1177
|
-
var
|
|
1178
|
-
d =
|
|
1177
|
+
var C = a[1];
|
|
1178
|
+
d = C.replace(/a$/, "");
|
|
1179
1179
|
var y = d === "cmyk" ? 4 : d === "gray" ? 1 : 3;
|
|
1180
1180
|
s = a[2].trim().split(/\s*[,\/]\s*|\s+/), d === "color" && (d = s.shift()), s = s.map(function(p, R) {
|
|
1181
1181
|
if (p[p.length - 1] === "%")
|
|
@@ -1202,14 +1202,14 @@ function Qo(t, a) {
|
|
|
1202
1202
|
var { space: s, values: u, alpha: d } = Zo(t);
|
|
1203
1203
|
return s[0] === "h" ? `${s}a(${u[0]}, ${u[1]}%, ${u[2]}%, ${a})` : `${s}a(${u}, ${a})`;
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1206
|
-
return
|
|
1205
|
+
function B() {
|
|
1206
|
+
return B = Object.assign ? Object.assign.bind() : function(t) {
|
|
1207
1207
|
for (var a = 1; a < arguments.length; a++) {
|
|
1208
1208
|
var s = arguments[a];
|
|
1209
1209
|
for (var u in s) ({}).hasOwnProperty.call(s, u) && (t[u] = s[u]);
|
|
1210
1210
|
}
|
|
1211
1211
|
return t;
|
|
1212
|
-
},
|
|
1212
|
+
}, B.apply(null, arguments);
|
|
1213
1213
|
}
|
|
1214
1214
|
function rt(t) {
|
|
1215
1215
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -1508,8 +1508,8 @@ function nt() {
|
|
|
1508
1508
|
var u = a[0], d = [], g;
|
|
1509
1509
|
for (g = 1; g < a.length; g += 1)
|
|
1510
1510
|
d.push(a[g]);
|
|
1511
|
-
return d.forEach(function(
|
|
1512
|
-
u = u.replace(/%[a-z]/,
|
|
1511
|
+
return d.forEach(function(f) {
|
|
1512
|
+
u = u.replace(/%[a-z]/, f);
|
|
1513
1513
|
}), u;
|
|
1514
1514
|
}
|
|
1515
1515
|
var Y = /* @__PURE__ */ function(t) {
|
|
@@ -1519,26 +1519,26 @@ var Y = /* @__PURE__ */ function(t) {
|
|
|
1519
1519
|
if (process.env.NODE_ENV === "production")
|
|
1520
1520
|
u = t.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + s + " for more information.") || this;
|
|
1521
1521
|
else {
|
|
1522
|
-
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0),
|
|
1523
|
-
g[
|
|
1522
|
+
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), f = 1; f < d; f++)
|
|
1523
|
+
g[f - 1] = arguments[f];
|
|
1524
1524
|
u = t.call(this, nt.apply(void 0, [at[s]].concat(g))) || this;
|
|
1525
1525
|
}
|
|
1526
1526
|
return rt(u);
|
|
1527
1527
|
}
|
|
1528
1528
|
return a;
|
|
1529
1529
|
}(/* @__PURE__ */ Gr(Error));
|
|
1530
|
-
function
|
|
1530
|
+
function Br(t) {
|
|
1531
1531
|
return Math.round(t * 255);
|
|
1532
1532
|
}
|
|
1533
1533
|
function lt(t, a, s) {
|
|
1534
|
-
return
|
|
1534
|
+
return Br(t) + "," + Br(a) + "," + Br(s);
|
|
1535
1535
|
}
|
|
1536
1536
|
function br(t, a, s, u) {
|
|
1537
1537
|
if (u === void 0 && (u = lt), a === 0)
|
|
1538
1538
|
return u(s, s, s);
|
|
1539
|
-
var d = (t % 360 + 360) % 360 / 60, g = (1 - Math.abs(2 * s - 1)) * a,
|
|
1540
|
-
d >= 0 && d < 1 ? (h = g,
|
|
1541
|
-
var k = s - g / 2, S = h + k, p =
|
|
1539
|
+
var d = (t % 360 + 360) % 360 / 60, g = (1 - Math.abs(2 * s - 1)) * a, f = g * (1 - Math.abs(d % 2 - 1)), h = 0, C = 0, y = 0;
|
|
1540
|
+
d >= 0 && d < 1 ? (h = g, C = f) : d >= 1 && d < 2 ? (h = f, C = g) : d >= 2 && d < 3 ? (C = g, y = f) : d >= 3 && d < 4 ? (C = f, y = g) : d >= 4 && d < 5 ? (h = f, y = g) : d >= 5 && d < 6 && (h = g, y = f);
|
|
1541
|
+
var k = s - g / 2, S = h + k, p = C + k, R = y + k;
|
|
1542
1542
|
return u(S, p, R);
|
|
1543
1543
|
}
|
|
1544
1544
|
var we = {
|
|
@@ -1746,9 +1746,9 @@ function tr(t) {
|
|
|
1746
1746
|
blue: parseInt("" + g[3], 10),
|
|
1747
1747
|
alpha: parseFloat("" + g[4]) > 1 ? parseFloat("" + g[4]) / 100 : parseFloat("" + g[4])
|
|
1748
1748
|
};
|
|
1749
|
-
var
|
|
1750
|
-
if (
|
|
1751
|
-
var h = parseInt("" +
|
|
1749
|
+
var f = gt.exec(a);
|
|
1750
|
+
if (f) {
|
|
1751
|
+
var h = parseInt("" + f[1], 10), C = parseInt("" + f[2], 10) / 100, y = parseInt("" + f[3], 10) / 100, k = "rgb(" + br(h, C, y) + ")", S = Hr.exec(k);
|
|
1752
1752
|
if (!S)
|
|
1753
1753
|
throw new Y(4, a, k);
|
|
1754
1754
|
return {
|
|
@@ -1772,47 +1772,47 @@ function tr(t) {
|
|
|
1772
1772
|
throw new Y(5);
|
|
1773
1773
|
}
|
|
1774
1774
|
function pt(t) {
|
|
1775
|
-
var a = t.red / 255, s = t.green / 255, u = t.blue / 255, d = Math.max(a, s, u), g = Math.min(a, s, u),
|
|
1775
|
+
var a = t.red / 255, s = t.green / 255, u = t.blue / 255, d = Math.max(a, s, u), g = Math.min(a, s, u), f = (d + g) / 2;
|
|
1776
1776
|
if (d === g)
|
|
1777
1777
|
return t.alpha !== void 0 ? {
|
|
1778
1778
|
hue: 0,
|
|
1779
1779
|
saturation: 0,
|
|
1780
|
-
lightness:
|
|
1780
|
+
lightness: f,
|
|
1781
1781
|
alpha: t.alpha
|
|
1782
1782
|
} : {
|
|
1783
1783
|
hue: 0,
|
|
1784
1784
|
saturation: 0,
|
|
1785
|
-
lightness:
|
|
1785
|
+
lightness: f
|
|
1786
1786
|
};
|
|
1787
|
-
var h,
|
|
1787
|
+
var h, C = d - g, y = f > 0.5 ? C / (2 - d - g) : C / (d + g);
|
|
1788
1788
|
switch (d) {
|
|
1789
1789
|
case a:
|
|
1790
|
-
h = (s - u) /
|
|
1790
|
+
h = (s - u) / C + (s < u ? 6 : 0);
|
|
1791
1791
|
break;
|
|
1792
1792
|
case s:
|
|
1793
|
-
h = (u - a) /
|
|
1793
|
+
h = (u - a) / C + 2;
|
|
1794
1794
|
break;
|
|
1795
1795
|
default:
|
|
1796
|
-
h = (a - s) /
|
|
1796
|
+
h = (a - s) / C + 4;
|
|
1797
1797
|
break;
|
|
1798
1798
|
}
|
|
1799
1799
|
return h *= 60, t.alpha !== void 0 ? {
|
|
1800
1800
|
hue: h,
|
|
1801
1801
|
saturation: y,
|
|
1802
|
-
lightness:
|
|
1802
|
+
lightness: f,
|
|
1803
1803
|
alpha: t.alpha
|
|
1804
1804
|
} : {
|
|
1805
1805
|
hue: h,
|
|
1806
1806
|
saturation: y,
|
|
1807
|
-
lightness:
|
|
1807
|
+
lightness: f
|
|
1808
1808
|
};
|
|
1809
1809
|
}
|
|
1810
1810
|
function Z(t) {
|
|
1811
1811
|
return pt(tr(t));
|
|
1812
1812
|
}
|
|
1813
|
-
var
|
|
1813
|
+
var ft = function(a) {
|
|
1814
1814
|
return a.length === 7 && a[1] === a[2] && a[3] === a[4] && a[5] === a[6] ? "#" + a[1] + a[3] + a[5] : a;
|
|
1815
|
-
}, Xr =
|
|
1815
|
+
}, Xr = ft;
|
|
1816
1816
|
function or(t) {
|
|
1817
1817
|
var a = t.toString(16);
|
|
1818
1818
|
return a.length === 1 ? "0" + a : a;
|
|
@@ -1820,13 +1820,13 @@ function or(t) {
|
|
|
1820
1820
|
function jr(t) {
|
|
1821
1821
|
return or(Math.round(t * 255));
|
|
1822
1822
|
}
|
|
1823
|
-
function
|
|
1823
|
+
function xt(t, a, s) {
|
|
1824
1824
|
return Xr("#" + jr(t) + jr(a) + jr(s));
|
|
1825
1825
|
}
|
|
1826
1826
|
function Sr(t, a, s) {
|
|
1827
|
-
return br(t, a, s,
|
|
1827
|
+
return br(t, a, s, xt);
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1829
|
+
function Ct(t, a, s) {
|
|
1830
1830
|
if (typeof t == "number" && typeof a == "number" && typeof s == "number")
|
|
1831
1831
|
return Sr(t, a, s);
|
|
1832
1832
|
if (typeof t == "object" && a === void 0 && s === void 0)
|
|
@@ -1873,7 +1873,7 @@ function Q(t) {
|
|
|
1873
1873
|
if (kt(t)) return zr(t);
|
|
1874
1874
|
if (yt(t)) return qr(t);
|
|
1875
1875
|
if (wt(t)) return ht(t);
|
|
1876
|
-
if (vt(t)) return
|
|
1876
|
+
if (vt(t)) return Ct(t);
|
|
1877
1877
|
throw new Y(8);
|
|
1878
1878
|
}
|
|
1879
1879
|
function qe(t, a, s) {
|
|
@@ -1888,7 +1888,7 @@ function H(t) {
|
|
|
1888
1888
|
function St(t, a) {
|
|
1889
1889
|
if (a === "transparent") return a;
|
|
1890
1890
|
var s = Z(a);
|
|
1891
|
-
return Q(
|
|
1891
|
+
return Q(B({}, s, {
|
|
1892
1892
|
hue: s.hue + parseFloat(t)
|
|
1893
1893
|
}));
|
|
1894
1894
|
}
|
|
@@ -1899,7 +1899,7 @@ function cr(t, a, s) {
|
|
|
1899
1899
|
function $t(t, a) {
|
|
1900
1900
|
if (a === "transparent") return a;
|
|
1901
1901
|
var s = Z(a);
|
|
1902
|
-
return Q(
|
|
1902
|
+
return Q(B({}, s, {
|
|
1903
1903
|
lightness: cr(0, 1, s.lightness - parseFloat(t))
|
|
1904
1904
|
}));
|
|
1905
1905
|
}
|
|
@@ -1907,15 +1907,15 @@ var zt = H($t), Rt = zt;
|
|
|
1907
1907
|
function Pt(t, a) {
|
|
1908
1908
|
if (a === "transparent") return a;
|
|
1909
1909
|
var s = Z(a);
|
|
1910
|
-
return Q(
|
|
1910
|
+
return Q(B({}, s, {
|
|
1911
1911
|
saturation: cr(0, 1, s.saturation - parseFloat(t))
|
|
1912
1912
|
}));
|
|
1913
1913
|
}
|
|
1914
1914
|
H(Pt);
|
|
1915
1915
|
function Wt(t) {
|
|
1916
1916
|
if (t === "transparent") return 0;
|
|
1917
|
-
var a = tr(t), s = Object.keys(a).map(function(
|
|
1918
|
-
var h = a[
|
|
1917
|
+
var a = tr(t), s = Object.keys(a).map(function(f) {
|
|
1918
|
+
var h = a[f] / 255;
|
|
1919
1919
|
return h <= 0.03928 ? h / 12.92 : Math.pow((h + 0.055) / 1.055, 2.4);
|
|
1920
1920
|
}), u = s[0], d = s[1], g = s[2];
|
|
1921
1921
|
return parseFloat((0.2126 * u + 0.7152 * d + 0.0722 * g).toFixed(3));
|
|
@@ -1923,7 +1923,7 @@ function Wt(t) {
|
|
|
1923
1923
|
function Tt(t, a) {
|
|
1924
1924
|
if (a === "transparent") return a;
|
|
1925
1925
|
var s = Z(a);
|
|
1926
|
-
return Q(
|
|
1926
|
+
return Q(B({}, s, {
|
|
1927
1927
|
lightness: cr(0, 1, s.lightness + parseFloat(t))
|
|
1928
1928
|
}));
|
|
1929
1929
|
}
|
|
@@ -1932,49 +1932,49 @@ function It(t, a, s) {
|
|
|
1932
1932
|
if (a === "transparent") return s;
|
|
1933
1933
|
if (s === "transparent") return a;
|
|
1934
1934
|
if (t === 0) return s;
|
|
1935
|
-
var u = tr(a), d =
|
|
1935
|
+
var u = tr(a), d = B({}, u, {
|
|
1936
1936
|
alpha: typeof u.alpha == "number" ? u.alpha : 1
|
|
1937
|
-
}), g = tr(s),
|
|
1937
|
+
}), g = tr(s), f = B({}, g, {
|
|
1938
1938
|
alpha: typeof g.alpha == "number" ? g.alpha : 1
|
|
1939
|
-
}), h = d.alpha -
|
|
1940
|
-
red: Math.floor(d.red * S +
|
|
1941
|
-
green: Math.floor(d.green * S +
|
|
1942
|
-
blue: Math.floor(d.blue * S +
|
|
1943
|
-
alpha: d.alpha * parseFloat(t) +
|
|
1939
|
+
}), h = d.alpha - f.alpha, C = parseFloat(t) * 2 - 1, y = C * h === -1 ? C : C + h, k = 1 + C * h, S = (y / k + 1) / 2, p = 1 - S, R = {
|
|
1940
|
+
red: Math.floor(d.red * S + f.red * p),
|
|
1941
|
+
green: Math.floor(d.green * S + f.green * p),
|
|
1942
|
+
blue: Math.floor(d.blue * S + f.blue * p),
|
|
1943
|
+
alpha: d.alpha * parseFloat(t) + f.alpha * (1 - parseFloat(t))
|
|
1944
1944
|
};
|
|
1945
1945
|
return zr(R);
|
|
1946
1946
|
}
|
|
1947
|
-
var
|
|
1948
|
-
function
|
|
1947
|
+
var Ot = H(It), Ne = Ot;
|
|
1948
|
+
function Mt(t, a) {
|
|
1949
1949
|
if (a === "transparent") return a;
|
|
1950
|
-
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d =
|
|
1950
|
+
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d = B({}, s, {
|
|
1951
1951
|
alpha: cr(0, 1, (u * 100 + parseFloat(t) * 100) / 100)
|
|
1952
1952
|
});
|
|
1953
1953
|
return zr(d);
|
|
1954
1954
|
}
|
|
1955
|
-
H(
|
|
1956
|
-
function
|
|
1955
|
+
H(Mt);
|
|
1956
|
+
function _t(t, a) {
|
|
1957
1957
|
if (a === "transparent") return a;
|
|
1958
1958
|
var s = Z(a);
|
|
1959
|
-
return Q(
|
|
1959
|
+
return Q(B({}, s, {
|
|
1960
1960
|
saturation: cr(0, 1, s.saturation + parseFloat(t))
|
|
1961
1961
|
}));
|
|
1962
1962
|
}
|
|
1963
|
-
H(
|
|
1964
|
-
function
|
|
1965
|
-
return a === "transparent" ? a : Q(
|
|
1963
|
+
H(_t);
|
|
1964
|
+
function Bt(t, a) {
|
|
1965
|
+
return a === "transparent" ? a : Q(B({}, Z(a), {
|
|
1966
1966
|
hue: parseFloat(t)
|
|
1967
1967
|
}));
|
|
1968
1968
|
}
|
|
1969
|
-
H(
|
|
1969
|
+
H(Bt);
|
|
1970
1970
|
function Ht(t, a) {
|
|
1971
|
-
return a === "transparent" ? a : Q(
|
|
1971
|
+
return a === "transparent" ? a : Q(B({}, Z(a), {
|
|
1972
1972
|
lightness: parseFloat(t)
|
|
1973
1973
|
}));
|
|
1974
1974
|
}
|
|
1975
1975
|
H(Ht);
|
|
1976
1976
|
function jt(t, a) {
|
|
1977
|
-
return a === "transparent" ? a : Q(
|
|
1977
|
+
return a === "transparent" ? a : Q(B({}, Z(a), {
|
|
1978
1978
|
saturation: parseFloat(t)
|
|
1979
1979
|
}));
|
|
1980
1980
|
}
|
|
@@ -1989,7 +1989,7 @@ function Dt(t, a) {
|
|
|
1989
1989
|
H(Dt);
|
|
1990
1990
|
function At(t, a) {
|
|
1991
1991
|
if (a === "transparent") return a;
|
|
1992
|
-
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d =
|
|
1992
|
+
var s = tr(a), u = typeof s.alpha == "number" ? s.alpha : 1, d = B({}, s, {
|
|
1993
1993
|
alpha: cr(0, 1, +(u * 100 - parseFloat(t) * 100).toFixed(2) / 100)
|
|
1994
1994
|
});
|
|
1995
1995
|
return zr(d);
|
|
@@ -2228,11 +2228,13 @@ const Gt = {
|
|
|
2228
2228
|
block: {
|
|
2229
2229
|
sizes: {
|
|
2230
2230
|
regular: {
|
|
2231
|
+
fontWeight: "600",
|
|
2231
2232
|
padding: "0.4rem 0.6rem",
|
|
2232
2233
|
borderRadius: "3px",
|
|
2233
2234
|
gap: "0.2rem"
|
|
2234
2235
|
},
|
|
2235
2236
|
small: {
|
|
2237
|
+
fontWeight: "600",
|
|
2236
2238
|
padding: "0.2rem 0.4rem",
|
|
2237
2239
|
borderRadius: "3px",
|
|
2238
2240
|
gap: "0.2rem"
|
|
@@ -2258,11 +2260,13 @@ const Gt = {
|
|
|
2258
2260
|
inline: {
|
|
2259
2261
|
sizes: {
|
|
2260
2262
|
regular: {
|
|
2263
|
+
fontWeight: "600",
|
|
2261
2264
|
padding: "0",
|
|
2262
2265
|
borderRadius: "0",
|
|
2263
2266
|
gap: "0.2rem"
|
|
2264
2267
|
},
|
|
2265
2268
|
small: {
|
|
2269
|
+
fontWeight: "600",
|
|
2266
2270
|
padding: "0",
|
|
2267
2271
|
borderRadius: "0",
|
|
2268
2272
|
gap: "0.2rem"
|
|
@@ -2326,10 +2330,17 @@ const Gt = {
|
|
|
2326
2330
|
},
|
|
2327
2331
|
label: {
|
|
2328
2332
|
color: o.semantic.color.text.neutral800,
|
|
2329
|
-
padding: "1rem 1.6rem"
|
|
2333
|
+
padding: "1rem 1.6rem",
|
|
2334
|
+
levelOffset: "1.6rem",
|
|
2335
|
+
gap: "1rem",
|
|
2336
|
+
variants: {
|
|
2337
|
+
header: { textColor: o.semantic.color.text.neutral800, fontWeight: "600" },
|
|
2338
|
+
sub: { textColor: o.semantic.color.text.neutral600, fontWeight: "600" }
|
|
2339
|
+
}
|
|
2330
2340
|
},
|
|
2331
2341
|
item: {
|
|
2332
2342
|
padding: "1rem 1.6rem",
|
|
2343
|
+
levelOffset: "1.6rem",
|
|
2333
2344
|
gap: "1rem",
|
|
2334
2345
|
subHead: {
|
|
2335
2346
|
textColor: o.semantic.color.text.neutral800
|
|
@@ -3249,7 +3260,7 @@ const Gt = {
|
|
|
3249
3260
|
actionsBar: {
|
|
3250
3261
|
gap: "1.6rem"
|
|
3251
3262
|
}
|
|
3252
|
-
},
|
|
3263
|
+
}, fa = {
|
|
3253
3264
|
variants: {
|
|
3254
3265
|
default: {
|
|
3255
3266
|
gap: "4rem",
|
|
@@ -3324,7 +3335,7 @@ const Gt = {
|
|
|
3324
3335
|
}
|
|
3325
3336
|
}
|
|
3326
3337
|
}
|
|
3327
|
-
}, K = "transparent", $e = "0.4rem 0.6rem", ze = "0", Re = "0.4rem", Pe = "0",
|
|
3338
|
+
}, K = "transparent", $e = "0.4rem 0.6rem", ze = "0", Re = "0.4rem", Pe = "0", xa = {
|
|
3328
3339
|
gap: "0.4rem",
|
|
3329
3340
|
height: "2.7rem",
|
|
3330
3341
|
lineHeight: "1.9rem",
|
|
@@ -3410,7 +3421,7 @@ const Gt = {
|
|
|
3410
3421
|
}
|
|
3411
3422
|
}
|
|
3412
3423
|
}
|
|
3413
|
-
},
|
|
3424
|
+
}, Ca = {
|
|
3414
3425
|
width: "clamp(400px, 33vw, 640px)",
|
|
3415
3426
|
padding: "12px max(12px, calc(20 * (100vw / 1920)))",
|
|
3416
3427
|
shadow: "0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05)",
|
|
@@ -3530,13 +3541,13 @@ const Gt = {
|
|
|
3530
3541
|
XS: o.core.font.fontSize.s10
|
|
3531
3542
|
},
|
|
3532
3543
|
fontWeight: {
|
|
3533
|
-
regular: "
|
|
3544
|
+
regular: "inherit",
|
|
3534
3545
|
semiBold: "600",
|
|
3535
|
-
italic: "
|
|
3546
|
+
italic: "inherit"
|
|
3536
3547
|
},
|
|
3537
3548
|
fontStyle: {
|
|
3538
|
-
regular: "
|
|
3539
|
-
semiBold: "
|
|
3549
|
+
regular: "inherit",
|
|
3550
|
+
semiBold: "inherit",
|
|
3540
3551
|
italic: "italic"
|
|
3541
3552
|
}
|
|
3542
3553
|
},
|
|
@@ -3619,11 +3630,11 @@ const Gt = {
|
|
|
3619
3630
|
bgColor: o.semantic.color.background.neutral600,
|
|
3620
3631
|
borderRadius: "99rem"
|
|
3621
3632
|
}
|
|
3622
|
-
},
|
|
3633
|
+
}, On = {
|
|
3623
3634
|
name: "old",
|
|
3624
3635
|
...o,
|
|
3625
3636
|
components: {
|
|
3626
|
-
actionIconButton:
|
|
3637
|
+
actionIconButton: Bo,
|
|
3627
3638
|
appBar: Ho,
|
|
3628
3639
|
appSelectionMenu: jo,
|
|
3629
3640
|
autoComplete: Lo,
|
|
@@ -3665,9 +3676,9 @@ const Gt = {
|
|
|
3665
3676
|
switchButton: ga,
|
|
3666
3677
|
table: ba,
|
|
3667
3678
|
tableHeading: pa,
|
|
3668
|
-
tabs:
|
|
3669
|
-
textButton:
|
|
3670
|
-
toast:
|
|
3679
|
+
tabs: fa,
|
|
3680
|
+
textButton: xa,
|
|
3681
|
+
toast: Ca,
|
|
3671
3682
|
toggleButton: ha,
|
|
3672
3683
|
tooltip: ya,
|
|
3673
3684
|
treeView: ka,
|
|
@@ -4286,8 +4297,8 @@ const Gt = {
|
|
|
4286
4297
|
checked: {
|
|
4287
4298
|
normal: {
|
|
4288
4299
|
bgColor: e.semantic.color.background.neutral100,
|
|
4289
|
-
borderColor: e.
|
|
4290
|
-
markerColor: e.
|
|
4300
|
+
borderColor: e.color.azure600,
|
|
4301
|
+
markerColor: e.color.azure600,
|
|
4291
4302
|
textColor: e.semantic.color.text.neutral800,
|
|
4292
4303
|
iconColor: e.semantic.color.icon.neutral700
|
|
4293
4304
|
},
|
|
@@ -4413,7 +4424,7 @@ const Gt = {
|
|
|
4413
4424
|
}
|
|
4414
4425
|
}
|
|
4415
4426
|
}
|
|
4416
|
-
},
|
|
4427
|
+
}, Oa = {
|
|
4417
4428
|
borderRadius: "0.4rem",
|
|
4418
4429
|
border: `1px solid ${e.semantic.color.border.neutral600}`,
|
|
4419
4430
|
fontSize: "1.4rem",
|
|
@@ -4456,13 +4467,13 @@ const Gt = {
|
|
|
4456
4467
|
}
|
|
4457
4468
|
}
|
|
4458
4469
|
}
|
|
4459
|
-
},
|
|
4470
|
+
}, Ma = {
|
|
4460
4471
|
width: "100%",
|
|
4461
4472
|
height: "fit-content",
|
|
4462
4473
|
bgColor: e.semantic.color.background.neutral100,
|
|
4463
4474
|
shadow: e.core.shadow.shadow4,
|
|
4464
4475
|
borderRadius: "0.8rem"
|
|
4465
|
-
},
|
|
4476
|
+
}, _a = {
|
|
4466
4477
|
width: "1.8rem",
|
|
4467
4478
|
height: "1.8rem",
|
|
4468
4479
|
padding: "0",
|
|
@@ -4526,7 +4537,7 @@ const Gt = {
|
|
|
4526
4537
|
}
|
|
4527
4538
|
}
|
|
4528
4539
|
}
|
|
4529
|
-
},
|
|
4540
|
+
}, Ba = {
|
|
4530
4541
|
sizes: {
|
|
4531
4542
|
M: {
|
|
4532
4543
|
height: "2.8rem",
|
|
@@ -4898,12 +4909,14 @@ const Gt = {
|
|
|
4898
4909
|
block: {
|
|
4899
4910
|
sizes: {
|
|
4900
4911
|
regular: {
|
|
4912
|
+
fontWeight: "600",
|
|
4901
4913
|
padding: "0.4rem 0.6rem",
|
|
4902
4914
|
borderRadius: "0.4rem",
|
|
4903
4915
|
minHeight: "2.8rem",
|
|
4904
4916
|
gap: "0"
|
|
4905
4917
|
},
|
|
4906
4918
|
small: {
|
|
4919
|
+
fontWeight: "600",
|
|
4907
4920
|
padding: "0.2rem 0.4rem",
|
|
4908
4921
|
borderRadius: "0.4rem",
|
|
4909
4922
|
minHeight: "2.2rem",
|
|
@@ -4932,11 +4945,13 @@ const Gt = {
|
|
|
4932
4945
|
inline: {
|
|
4933
4946
|
sizes: {
|
|
4934
4947
|
regular: {
|
|
4948
|
+
fontWeight: "600",
|
|
4935
4949
|
padding: "0",
|
|
4936
4950
|
borderRadius: "0",
|
|
4937
4951
|
gap: "0"
|
|
4938
4952
|
},
|
|
4939
4953
|
small: {
|
|
4954
|
+
fontWeight: "600",
|
|
4940
4955
|
padding: "0",
|
|
4941
4956
|
borderRadius: "0",
|
|
4942
4957
|
gap: "0"
|
|
@@ -5000,10 +5015,17 @@ const Gt = {
|
|
|
5000
5015
|
},
|
|
5001
5016
|
label: {
|
|
5002
5017
|
color: e.semantic.color.text.neutral800,
|
|
5003
|
-
padding: "1rem 1.6rem"
|
|
5018
|
+
padding: "1rem 1.6rem",
|
|
5019
|
+
levelOffset: "1.6rem",
|
|
5020
|
+
gap: "1rem",
|
|
5021
|
+
variants: {
|
|
5022
|
+
header: { textColor: e.semantic.color.text.neutral800, fontWeight: "600" },
|
|
5023
|
+
sub: { textColor: e.color.dusk600, fontWeight: "600" }
|
|
5024
|
+
}
|
|
5004
5025
|
},
|
|
5005
5026
|
item: {
|
|
5006
5027
|
padding: "1rem 1.6rem",
|
|
5028
|
+
levelOffset: "1.6rem",
|
|
5007
5029
|
gap: "1rem",
|
|
5008
5030
|
subHead: {
|
|
5009
5031
|
textColor: e.semantic.color.text.neutral800
|
|
@@ -5406,7 +5428,7 @@ const Gt = {
|
|
|
5406
5428
|
}, G = {
|
|
5407
5429
|
bgColor: { disabled: e.semantic.color.background.neutral400 },
|
|
5408
5430
|
textColor: { disabled: e.semantic.color.text.neutral600 }
|
|
5409
|
-
},
|
|
5431
|
+
}, O = {
|
|
5410
5432
|
borderColor: { disabled: e.semantic.color.border.neutral500 },
|
|
5411
5433
|
bgColor: { disabled: "transparent" },
|
|
5412
5434
|
textColor: { disabled: e.semantic.color.text.neutral500 }
|
|
@@ -5449,9 +5471,9 @@ const Gt = {
|
|
|
5449
5471
|
bgColor: X(e.semantic.color.background.success700, 12)
|
|
5450
5472
|
},
|
|
5451
5473
|
disabled: {
|
|
5452
|
-
borderColor:
|
|
5453
|
-
bgColor:
|
|
5454
|
-
textColor:
|
|
5474
|
+
borderColor: O.borderColor.disabled,
|
|
5475
|
+
bgColor: O.bgColor.disabled,
|
|
5476
|
+
textColor: O.textColor.disabled
|
|
5455
5477
|
}
|
|
5456
5478
|
}
|
|
5457
5479
|
},
|
|
@@ -5485,9 +5507,9 @@ const Gt = {
|
|
|
5485
5507
|
bgColor: X(e.semantic.color.background.attention700, 12)
|
|
5486
5508
|
},
|
|
5487
5509
|
disabled: {
|
|
5488
|
-
borderColor:
|
|
5489
|
-
bgColor:
|
|
5490
|
-
textColor:
|
|
5510
|
+
borderColor: O.borderColor.disabled,
|
|
5511
|
+
bgColor: O.bgColor.disabled,
|
|
5512
|
+
textColor: O.textColor.disabled
|
|
5491
5513
|
}
|
|
5492
5514
|
}
|
|
5493
5515
|
},
|
|
@@ -5521,9 +5543,9 @@ const Gt = {
|
|
|
5521
5543
|
bgColor: X(e.semantic.color.background.danger700, 12)
|
|
5522
5544
|
},
|
|
5523
5545
|
disabled: {
|
|
5524
|
-
borderColor:
|
|
5525
|
-
bgColor:
|
|
5526
|
-
textColor:
|
|
5546
|
+
borderColor: O.borderColor.disabled,
|
|
5547
|
+
bgColor: O.bgColor.disabled,
|
|
5548
|
+
textColor: O.textColor.disabled
|
|
5527
5549
|
}
|
|
5528
5550
|
}
|
|
5529
5551
|
},
|
|
@@ -5557,9 +5579,9 @@ const Gt = {
|
|
|
5557
5579
|
bgColor: X(e.semantic.color.background.notice700, 12)
|
|
5558
5580
|
},
|
|
5559
5581
|
disabled: {
|
|
5560
|
-
borderColor:
|
|
5561
|
-
bgColor:
|
|
5562
|
-
textColor:
|
|
5582
|
+
borderColor: O.borderColor.disabled,
|
|
5583
|
+
bgColor: O.bgColor.disabled,
|
|
5584
|
+
textColor: O.textColor.disabled
|
|
5563
5585
|
}
|
|
5564
5586
|
}
|
|
5565
5587
|
},
|
|
@@ -5593,9 +5615,9 @@ const Gt = {
|
|
|
5593
5615
|
bgColor: X(e.semantic.color.background.informative700, 12)
|
|
5594
5616
|
},
|
|
5595
5617
|
disabled: {
|
|
5596
|
-
borderColor:
|
|
5597
|
-
bgColor:
|
|
5598
|
-
textColor:
|
|
5618
|
+
borderColor: O.borderColor.disabled,
|
|
5619
|
+
bgColor: O.bgColor.disabled,
|
|
5620
|
+
textColor: O.textColor.disabled
|
|
5599
5621
|
}
|
|
5600
5622
|
}
|
|
5601
5623
|
}
|
|
@@ -6027,7 +6049,7 @@ const Gt = {
|
|
|
6027
6049
|
}
|
|
6028
6050
|
}
|
|
6029
6051
|
}
|
|
6030
|
-
}, J = "transparent", Fe = "0.4rem 0.6rem", Ee = "0", Ie = "0.4rem",
|
|
6052
|
+
}, J = "transparent", Fe = "0.4rem 0.6rem", Ee = "0", Ie = "0.4rem", Oe = "0", p0 = {
|
|
6031
6053
|
gap: "0.4rem",
|
|
6032
6054
|
height: "2.7rem",
|
|
6033
6055
|
lineHeight: "1.9rem",
|
|
@@ -6075,7 +6097,7 @@ const Gt = {
|
|
|
6075
6097
|
},
|
|
6076
6098
|
"primary-inline": {
|
|
6077
6099
|
padding: Ee,
|
|
6078
|
-
borderRadius:
|
|
6100
|
+
borderRadius: Oe,
|
|
6079
6101
|
states: {
|
|
6080
6102
|
normal: {
|
|
6081
6103
|
bgColor: J,
|
|
@@ -6095,7 +6117,7 @@ const Gt = {
|
|
|
6095
6117
|
},
|
|
6096
6118
|
"destructive-inline": {
|
|
6097
6119
|
padding: Ee,
|
|
6098
|
-
borderRadius:
|
|
6120
|
+
borderRadius: Oe,
|
|
6099
6121
|
states: {
|
|
6100
6122
|
normal: {
|
|
6101
6123
|
bgColor: J,
|
|
@@ -6114,14 +6136,14 @@ const Gt = {
|
|
|
6114
6136
|
}
|
|
6115
6137
|
}
|
|
6116
6138
|
}
|
|
6117
|
-
},
|
|
6139
|
+
}, f0 = {
|
|
6118
6140
|
width: "clamp(400px, 33vw, 640px)",
|
|
6119
6141
|
padding: "12px max(12px, calc(20 * (100vw / 1920)))",
|
|
6120
6142
|
shadow: "0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05)",
|
|
6121
6143
|
gap: "1.2rem",
|
|
6122
6144
|
actions: { gap: "0.8rem", inlineMargin: "2.4rem 0" },
|
|
6123
6145
|
toaster: { gap: "2rem" }
|
|
6124
|
-
}, kr = "transparent",
|
|
6146
|
+
}, kr = "transparent", x0 = {
|
|
6125
6147
|
gap: "0.4rem",
|
|
6126
6148
|
height: "2.7rem",
|
|
6127
6149
|
lineHeight: "1.9rem",
|
|
@@ -6176,7 +6198,7 @@ const Gt = {
|
|
|
6176
6198
|
minWidth: "2rem",
|
|
6177
6199
|
borderRadius: "99rem"
|
|
6178
6200
|
}
|
|
6179
|
-
},
|
|
6201
|
+
}, C0 = {
|
|
6180
6202
|
textColor: e.semantic.color.text.neutral800,
|
|
6181
6203
|
bgColor: e.semantic.color.background.neutral100,
|
|
6182
6204
|
shadow: e.core.shadow.shadow400,
|
|
@@ -6247,13 +6269,13 @@ const Gt = {
|
|
|
6247
6269
|
XS: e.core.font.fontSize.s10
|
|
6248
6270
|
},
|
|
6249
6271
|
fontWeight: {
|
|
6250
|
-
regular: "
|
|
6272
|
+
regular: "inherit",
|
|
6251
6273
|
semiBold: "600",
|
|
6252
|
-
italic: "
|
|
6274
|
+
italic: "inherit"
|
|
6253
6275
|
},
|
|
6254
6276
|
fontStyle: {
|
|
6255
|
-
regular: "
|
|
6256
|
-
semiBold: "
|
|
6277
|
+
regular: "inherit",
|
|
6278
|
+
semiBold: "inherit",
|
|
6257
6279
|
italic: "italic"
|
|
6258
6280
|
}
|
|
6259
6281
|
},
|
|
@@ -6348,10 +6370,10 @@ const Gt = {
|
|
|
6348
6370
|
banner: Fa,
|
|
6349
6371
|
boxSelectionGroup: Ea,
|
|
6350
6372
|
button: Ia,
|
|
6351
|
-
buttonGroup:
|
|
6352
|
-
card:
|
|
6353
|
-
checkbox:
|
|
6354
|
-
chip:
|
|
6373
|
+
buttonGroup: Oa,
|
|
6374
|
+
card: Ma,
|
|
6375
|
+
checkbox: _a,
|
|
6376
|
+
chip: Ba,
|
|
6355
6377
|
chipList: Ha,
|
|
6356
6378
|
countryFlag: ja,
|
|
6357
6379
|
datePicker: La,
|
|
@@ -6384,9 +6406,9 @@ const Gt = {
|
|
|
6384
6406
|
tableHeading: g0,
|
|
6385
6407
|
tabs: b0,
|
|
6386
6408
|
textButton: p0,
|
|
6387
|
-
toast:
|
|
6388
|
-
toggleButton:
|
|
6389
|
-
tooltip:
|
|
6409
|
+
toast: f0,
|
|
6410
|
+
toggleButton: x0,
|
|
6411
|
+
tooltip: C0,
|
|
6390
6412
|
treeView: h0,
|
|
6391
6413
|
typography: y0,
|
|
6392
6414
|
windowBar: k0
|
|
@@ -6421,20 +6443,20 @@ const Gt = {
|
|
|
6421
6443
|
teal600: "#37999d",
|
|
6422
6444
|
teal700: "#20575a",
|
|
6423
6445
|
teal800: "#102c2d",
|
|
6424
|
-
green100: "#
|
|
6425
|
-
green200: "#
|
|
6426
|
-
green300: "#
|
|
6427
|
-
green500: "#
|
|
6428
|
-
green600: "#
|
|
6429
|
-
green700: "#
|
|
6430
|
-
green800: "#
|
|
6431
|
-
purple100: "#
|
|
6432
|
-
purple200: "#
|
|
6433
|
-
purple300: "#
|
|
6434
|
-
purple500: "#
|
|
6435
|
-
purple600: "#
|
|
6436
|
-
purple700: "#
|
|
6437
|
-
purple800: "#
|
|
6446
|
+
green100: "#12281f",
|
|
6447
|
+
green200: "#244f3e",
|
|
6448
|
+
green300: "#3a8365",
|
|
6449
|
+
green500: "#5bc69b",
|
|
6450
|
+
green600: "#8cd7b9",
|
|
6451
|
+
green700: "#bde8d7",
|
|
6452
|
+
green800: "#eff9f5",
|
|
6453
|
+
purple100: "#170e2c",
|
|
6454
|
+
purple200: "#2f1c59",
|
|
6455
|
+
purple300: "#52329b",
|
|
6456
|
+
purple500: "#7547de",
|
|
6457
|
+
purple600: "#9e7ee8",
|
|
6458
|
+
purple700: "#c8b5f2",
|
|
6459
|
+
purple800: "#f1edfc",
|
|
6438
6460
|
red100: "#4a2a2a",
|
|
6439
6461
|
red200: "#6a3a3a",
|
|
6440
6462
|
red300: "#8a4a4a",
|
|
@@ -6899,12 +6921,12 @@ const Gt = {
|
|
|
6899
6921
|
screenMarginHeight: "6px",
|
|
6900
6922
|
maxHeight: "50vh"
|
|
6901
6923
|
}
|
|
6902
|
-
},
|
|
6924
|
+
}, Me = "1px", W0 = {
|
|
6903
6925
|
padding: `${r.core.space.space025} ${r.core.space.space050}`,
|
|
6904
6926
|
gap: r.core.space.space025,
|
|
6905
6927
|
borderRadius: "2px",
|
|
6906
|
-
height: `calc(${r.core.space.space200} + ${
|
|
6907
|
-
borderWidth:
|
|
6928
|
+
height: `calc(${r.core.space.space200} + ${Me} * 2)`,
|
|
6929
|
+
borderWidth: Me,
|
|
6908
6930
|
borderStyle: "solid",
|
|
6909
6931
|
variants: {
|
|
6910
6932
|
white: {
|
|
@@ -7003,8 +7025,8 @@ const Gt = {
|
|
|
7003
7025
|
checked: {
|
|
7004
7026
|
normal: {
|
|
7005
7027
|
bgColor: r.semantic.color.background.neutral100,
|
|
7006
|
-
borderColor: r.
|
|
7007
|
-
markerColor: r.
|
|
7028
|
+
borderColor: r.color.azure600,
|
|
7029
|
+
markerColor: r.color.azure600,
|
|
7008
7030
|
textColor: r.semantic.color.text.neutral800,
|
|
7009
7031
|
iconColor: r.semantic.color.icon.neutral700
|
|
7010
7032
|
},
|
|
@@ -7177,13 +7199,13 @@ const Gt = {
|
|
|
7177
7199
|
}
|
|
7178
7200
|
}
|
|
7179
7201
|
}
|
|
7180
|
-
},
|
|
7202
|
+
}, O0 = {
|
|
7181
7203
|
width: "100%",
|
|
7182
7204
|
height: "fit-content",
|
|
7183
7205
|
bgColor: r.semantic.color.background.neutral100,
|
|
7184
7206
|
shadow: r.core.shadow.shadow4,
|
|
7185
7207
|
borderRadius: "0.8rem"
|
|
7186
|
-
},
|
|
7208
|
+
}, M0 = {
|
|
7187
7209
|
width: "1.8rem",
|
|
7188
7210
|
height: "1.8rem",
|
|
7189
7211
|
padding: "0",
|
|
@@ -7247,7 +7269,7 @@ const Gt = {
|
|
|
7247
7269
|
}
|
|
7248
7270
|
}
|
|
7249
7271
|
}
|
|
7250
|
-
},
|
|
7272
|
+
}, _0 = {
|
|
7251
7273
|
sizes: {
|
|
7252
7274
|
M: {
|
|
7253
7275
|
height: "2.8rem",
|
|
@@ -7304,7 +7326,7 @@ const Gt = {
|
|
|
7304
7326
|
}
|
|
7305
7327
|
}
|
|
7306
7328
|
}
|
|
7307
|
-
},
|
|
7329
|
+
}, B0 = {
|
|
7308
7330
|
sizes: {
|
|
7309
7331
|
M: {
|
|
7310
7332
|
gap: "0.8rem 5px"
|
|
@@ -7619,12 +7641,14 @@ const Gt = {
|
|
|
7619
7641
|
block: {
|
|
7620
7642
|
sizes: {
|
|
7621
7643
|
regular: {
|
|
7644
|
+
fontWeight: "600",
|
|
7622
7645
|
padding: "0.4rem 0.6rem",
|
|
7623
7646
|
borderRadius: "0.4rem",
|
|
7624
7647
|
minHeight: "2.8rem",
|
|
7625
7648
|
gap: "0"
|
|
7626
7649
|
},
|
|
7627
7650
|
small: {
|
|
7651
|
+
fontWeight: "600",
|
|
7628
7652
|
padding: "0.2rem 0.4rem",
|
|
7629
7653
|
borderRadius: "0.4rem",
|
|
7630
7654
|
minHeight: "2.2rem",
|
|
@@ -7652,11 +7676,13 @@ const Gt = {
|
|
|
7652
7676
|
inline: {
|
|
7653
7677
|
sizes: {
|
|
7654
7678
|
regular: {
|
|
7679
|
+
fontWeight: "600",
|
|
7655
7680
|
padding: "0",
|
|
7656
7681
|
borderRadius: "0",
|
|
7657
7682
|
gap: "0"
|
|
7658
7683
|
},
|
|
7659
7684
|
small: {
|
|
7685
|
+
fontWeight: "600",
|
|
7660
7686
|
padding: "0",
|
|
7661
7687
|
borderRadius: "0",
|
|
7662
7688
|
gap: "0"
|
|
@@ -7720,10 +7746,17 @@ const Gt = {
|
|
|
7720
7746
|
},
|
|
7721
7747
|
label: {
|
|
7722
7748
|
color: r.semantic.color.text.neutral800,
|
|
7723
|
-
padding: "1rem 1.6rem"
|
|
7749
|
+
padding: "1rem 1.6rem",
|
|
7750
|
+
levelOffset: "1.6rem",
|
|
7751
|
+
gap: "1rem",
|
|
7752
|
+
variants: {
|
|
7753
|
+
header: { textColor: r.semantic.color.text.neutral800, fontWeight: "600" },
|
|
7754
|
+
sub: { textColor: r.semantic.color.text.neutral600, fontWeight: "600" }
|
|
7755
|
+
}
|
|
7724
7756
|
},
|
|
7725
7757
|
item: {
|
|
7726
7758
|
padding: "1rem 1.6rem",
|
|
7759
|
+
levelOffset: "1.6rem",
|
|
7727
7760
|
gap: "1rem",
|
|
7728
7761
|
subHead: {
|
|
7729
7762
|
textColor: r.semantic.color.text.neutral800
|
|
@@ -8106,7 +8139,7 @@ const Gt = {
|
|
|
8106
8139
|
}, q = {
|
|
8107
8140
|
bgColor: { disabled: r.semantic.color.background.neutral400 },
|
|
8108
8141
|
textColor: { disabled: r.semantic.color.text.neutral600 }
|
|
8109
|
-
},
|
|
8142
|
+
}, M = {
|
|
8110
8143
|
borderColor: { disabled: r.semantic.color.border.neutral500 },
|
|
8111
8144
|
bgColor: { disabled: "transparent" },
|
|
8112
8145
|
textColor: { disabled: r.semantic.color.text.neutral500 }
|
|
@@ -8149,9 +8182,9 @@ const Gt = {
|
|
|
8149
8182
|
bgColor: N(r.semantic.color.background.success700, 12)
|
|
8150
8183
|
},
|
|
8151
8184
|
disabled: {
|
|
8152
|
-
borderColor:
|
|
8153
|
-
bgColor:
|
|
8154
|
-
textColor:
|
|
8185
|
+
borderColor: M.borderColor.disabled,
|
|
8186
|
+
bgColor: M.bgColor.disabled,
|
|
8187
|
+
textColor: M.textColor.disabled
|
|
8155
8188
|
}
|
|
8156
8189
|
}
|
|
8157
8190
|
},
|
|
@@ -8185,9 +8218,9 @@ const Gt = {
|
|
|
8185
8218
|
bgColor: N(r.semantic.color.background.attention700, 12)
|
|
8186
8219
|
},
|
|
8187
8220
|
disabled: {
|
|
8188
|
-
borderColor:
|
|
8189
|
-
bgColor:
|
|
8190
|
-
textColor:
|
|
8221
|
+
borderColor: M.borderColor.disabled,
|
|
8222
|
+
bgColor: M.bgColor.disabled,
|
|
8223
|
+
textColor: M.textColor.disabled
|
|
8191
8224
|
}
|
|
8192
8225
|
}
|
|
8193
8226
|
},
|
|
@@ -8221,9 +8254,9 @@ const Gt = {
|
|
|
8221
8254
|
bgColor: N(r.semantic.color.background.danger700, 12)
|
|
8222
8255
|
},
|
|
8223
8256
|
disabled: {
|
|
8224
|
-
borderColor:
|
|
8225
|
-
bgColor:
|
|
8226
|
-
textColor:
|
|
8257
|
+
borderColor: M.borderColor.disabled,
|
|
8258
|
+
bgColor: M.bgColor.disabled,
|
|
8259
|
+
textColor: M.textColor.disabled
|
|
8227
8260
|
}
|
|
8228
8261
|
}
|
|
8229
8262
|
},
|
|
@@ -8257,9 +8290,9 @@ const Gt = {
|
|
|
8257
8290
|
bgColor: N(r.semantic.color.background.notice700, 12)
|
|
8258
8291
|
},
|
|
8259
8292
|
disabled: {
|
|
8260
|
-
borderColor:
|
|
8261
|
-
bgColor:
|
|
8262
|
-
textColor:
|
|
8293
|
+
borderColor: M.borderColor.disabled,
|
|
8294
|
+
bgColor: M.bgColor.disabled,
|
|
8295
|
+
textColor: M.textColor.disabled
|
|
8263
8296
|
}
|
|
8264
8297
|
}
|
|
8265
8298
|
},
|
|
@@ -8293,9 +8326,9 @@ const Gt = {
|
|
|
8293
8326
|
bgColor: N(r.semantic.color.background.informative700, 12)
|
|
8294
8327
|
},
|
|
8295
8328
|
disabled: {
|
|
8296
|
-
borderColor:
|
|
8297
|
-
bgColor:
|
|
8298
|
-
textColor:
|
|
8329
|
+
borderColor: M.borderColor.disabled,
|
|
8330
|
+
bgColor: M.bgColor.disabled,
|
|
8331
|
+
textColor: M.textColor.disabled
|
|
8299
8332
|
}
|
|
8300
8333
|
}
|
|
8301
8334
|
}
|
|
@@ -8730,13 +8763,13 @@ const Gt = {
|
|
|
8730
8763
|
}
|
|
8731
8764
|
}
|
|
8732
8765
|
}
|
|
8733
|
-
}, V = "transparent",
|
|
8766
|
+
}, V = "transparent", _e = "0.4rem 0.6rem", Be = "0", He = "0.4rem", je = "0", pn = {
|
|
8734
8767
|
gap: "0.4rem",
|
|
8735
8768
|
height: "2.7rem",
|
|
8736
8769
|
lineHeight: "1.9rem",
|
|
8737
8770
|
variants: {
|
|
8738
8771
|
primary: {
|
|
8739
|
-
padding:
|
|
8772
|
+
padding: _e,
|
|
8740
8773
|
borderRadius: He,
|
|
8741
8774
|
states: {
|
|
8742
8775
|
normal: {
|
|
@@ -8757,7 +8790,7 @@ const Gt = {
|
|
|
8757
8790
|
}
|
|
8758
8791
|
},
|
|
8759
8792
|
destructive: {
|
|
8760
|
-
padding:
|
|
8793
|
+
padding: _e,
|
|
8761
8794
|
borderRadius: He,
|
|
8762
8795
|
states: {
|
|
8763
8796
|
normal: {
|
|
@@ -8777,7 +8810,7 @@ const Gt = {
|
|
|
8777
8810
|
}
|
|
8778
8811
|
},
|
|
8779
8812
|
"primary-inline": {
|
|
8780
|
-
padding:
|
|
8813
|
+
padding: Be,
|
|
8781
8814
|
borderRadius: je,
|
|
8782
8815
|
states: {
|
|
8783
8816
|
normal: {
|
|
@@ -8797,7 +8830,7 @@ const Gt = {
|
|
|
8797
8830
|
}
|
|
8798
8831
|
},
|
|
8799
8832
|
"destructive-inline": {
|
|
8800
|
-
padding:
|
|
8833
|
+
padding: Be,
|
|
8801
8834
|
borderRadius: je,
|
|
8802
8835
|
states: {
|
|
8803
8836
|
normal: {
|
|
@@ -8817,14 +8850,14 @@ const Gt = {
|
|
|
8817
8850
|
}
|
|
8818
8851
|
}
|
|
8819
8852
|
}
|
|
8820
|
-
},
|
|
8853
|
+
}, fn = {
|
|
8821
8854
|
width: "clamp(400px, 33vw, 640px)",
|
|
8822
8855
|
padding: "12px max(12px, calc(20 * (100vw / 1920)))",
|
|
8823
8856
|
shadow: "0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05)",
|
|
8824
8857
|
gap: "1.2rem",
|
|
8825
8858
|
actions: { gap: "0.8rem", inlineMargin: "2.4rem 0" },
|
|
8826
8859
|
toaster: { gap: "2rem" }
|
|
8827
|
-
}, vr = "transparent",
|
|
8860
|
+
}, vr = "transparent", xn = {
|
|
8828
8861
|
gap: "0.4rem",
|
|
8829
8862
|
height: "2.7rem",
|
|
8830
8863
|
lineHeight: "1.9rem",
|
|
@@ -8879,7 +8912,7 @@ const Gt = {
|
|
|
8879
8912
|
minWidth: "2rem",
|
|
8880
8913
|
borderRadius: "99rem"
|
|
8881
8914
|
}
|
|
8882
|
-
},
|
|
8915
|
+
}, Cn = {
|
|
8883
8916
|
textColor: r.semantic.color.text.neutral800,
|
|
8884
8917
|
bgColor: r.color.dark600,
|
|
8885
8918
|
shadow: `0 0 0.5px 1px ${r.color.dark700}`,
|
|
@@ -8950,13 +8983,13 @@ const Gt = {
|
|
|
8950
8983
|
XS: r.core.font.fontSize.s10
|
|
8951
8984
|
},
|
|
8952
8985
|
fontWeight: {
|
|
8953
|
-
regular: "
|
|
8986
|
+
regular: "inherit",
|
|
8954
8987
|
semiBold: "600",
|
|
8955
|
-
italic: "
|
|
8988
|
+
italic: "inherit"
|
|
8956
8989
|
},
|
|
8957
8990
|
fontStyle: {
|
|
8958
|
-
regular: "
|
|
8959
|
-
semiBold: "
|
|
8991
|
+
regular: "inherit",
|
|
8992
|
+
semiBold: "inherit",
|
|
8960
8993
|
italic: "italic"
|
|
8961
8994
|
}
|
|
8962
8995
|
},
|
|
@@ -9039,7 +9072,7 @@ const Gt = {
|
|
|
9039
9072
|
bgColor: r.color.dark300,
|
|
9040
9073
|
borderRadius: "99rem"
|
|
9041
9074
|
}
|
|
9042
|
-
},
|
|
9075
|
+
}, Mn = {
|
|
9043
9076
|
name: "dark",
|
|
9044
9077
|
...r,
|
|
9045
9078
|
components: {
|
|
@@ -9052,10 +9085,10 @@ const Gt = {
|
|
|
9052
9085
|
boxSelectionGroup: F0,
|
|
9053
9086
|
button: E0,
|
|
9054
9087
|
buttonGroup: I0,
|
|
9055
|
-
card:
|
|
9056
|
-
checkbox:
|
|
9057
|
-
chip:
|
|
9058
|
-
chipList:
|
|
9088
|
+
card: O0,
|
|
9089
|
+
checkbox: M0,
|
|
9090
|
+
chip: _0,
|
|
9091
|
+
chipList: B0,
|
|
9059
9092
|
countryFlag: H0,
|
|
9060
9093
|
datePicker: j0,
|
|
9061
9094
|
drawer: L0,
|
|
@@ -9087,9 +9120,9 @@ const Gt = {
|
|
|
9087
9120
|
tableHeading: gn,
|
|
9088
9121
|
tabs: bn,
|
|
9089
9122
|
textButton: pn,
|
|
9090
|
-
toast:
|
|
9091
|
-
toggleButton:
|
|
9092
|
-
tooltip:
|
|
9123
|
+
toast: fn,
|
|
9124
|
+
toggleButton: xn,
|
|
9125
|
+
tooltip: Cn,
|
|
9093
9126
|
treeView: hn,
|
|
9094
9127
|
typography: yn,
|
|
9095
9128
|
windowBar: kn
|
|
@@ -9098,12 +9131,12 @@ const Gt = {
|
|
|
9098
9131
|
body: vn,
|
|
9099
9132
|
scrollbar: wn
|
|
9100
9133
|
}
|
|
9101
|
-
}, lr = () => To() || S0,
|
|
9134
|
+
}, lr = () => To() || S0, _n = (t) => $r`
|
|
9102
9135
|
&:focus-visible {
|
|
9103
9136
|
outline: ${() => lr().core.focus.size} solid ${() => lr().core.focus.color};
|
|
9104
9137
|
outline-offset: ${() => t || lr().core.focus.margin};
|
|
9105
9138
|
}
|
|
9106
|
-
`,
|
|
9139
|
+
`, Bn = (t) => $r`
|
|
9107
9140
|
outline: ${() => lr().core.focus.size} solid ${() => lr().core.focus.color};
|
|
9108
9141
|
outline-offset: ${() => t || lr().core.focus.margin};
|
|
9109
9142
|
`, Lr = () => window.matchMedia("(prefers-color-scheme: dark)"), Sn = (t) => {
|
|
@@ -9112,26 +9145,26 @@ const Gt = {
|
|
|
9112
9145
|
const s = wr((y) => {
|
|
9113
9146
|
const { systemThemeName: k, lightThemeName: S, darkThemeName: p } = a.current;
|
|
9114
9147
|
return !k || k !== y ? y : Lr().matches ? p : S;
|
|
9115
|
-
}, []), [u, d] =
|
|
9148
|
+
}, []), [u, d] = Ce(""), [g, f] = Ce(
|
|
9116
9149
|
""
|
|
9117
9150
|
/* () => resolveTheme(selectedTheme) */
|
|
9118
|
-
), h = !!u,
|
|
9151
|
+
), h = !!u, C = wr((y) => {
|
|
9119
9152
|
const { initialThemeName: k, lightThemeName: S, darkThemeName: p, systemThemeName: R } = a.current, U = [S, p, R].filter(Boolean);
|
|
9120
9153
|
if (!y || !U.includes(y)) {
|
|
9121
9154
|
if (h)
|
|
9122
9155
|
return !1;
|
|
9123
9156
|
y = U.includes(k) && k || (Lr().matches ? p : S);
|
|
9124
9157
|
}
|
|
9125
|
-
return d(y),
|
|
9158
|
+
return d(y), f(s(y)), !0;
|
|
9126
9159
|
}, [h, s]);
|
|
9127
9160
|
return Dr(() => {
|
|
9128
9161
|
const { systemThemeName: y, lightThemeName: k, darkThemeName: S } = a.current;
|
|
9129
9162
|
if (!y || y !== u)
|
|
9130
9163
|
return;
|
|
9131
|
-
const p = Lr(), R = (U) =>
|
|
9164
|
+
const p = Lr(), R = (U) => f(U.matches ? S : k);
|
|
9132
9165
|
return p.addEventListener("change", R), () => p == null ? void 0 : p.removeEventListener("change", R);
|
|
9133
9166
|
}, [u]), {
|
|
9134
|
-
setSelectedTheme:
|
|
9167
|
+
setSelectedTheme: C,
|
|
9135
9168
|
selectedTheme: u,
|
|
9136
9169
|
currentTheme: g
|
|
9137
9170
|
// resolved theme (dark/light - selected or current system)
|
|
@@ -9147,9 +9180,9 @@ const Gt = {
|
|
|
9147
9180
|
}, [u]), Dr(() => {
|
|
9148
9181
|
t && d(t);
|
|
9149
9182
|
}, [t, d]), Dr(() => {
|
|
9150
|
-
const g = (
|
|
9151
|
-
const { storageKey: h, onChange:
|
|
9152
|
-
|
|
9183
|
+
const g = (f) => {
|
|
9184
|
+
const { storageKey: h, onChange: C } = s.current;
|
|
9185
|
+
f.key === h && C(f.newValue || "");
|
|
9153
9186
|
};
|
|
9154
9187
|
return window.addEventListener("storage", g), () => window.removeEventListener("storage", g);
|
|
9155
9188
|
}, []), {
|
|
@@ -9172,14 +9205,14 @@ function zn() {
|
|
|
9172
9205
|
if (Le) return mr;
|
|
9173
9206
|
Le = 1;
|
|
9174
9207
|
var t = Ae, a = Symbol.for("react.element"), s = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, d = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
9175
|
-
function
|
|
9208
|
+
function f(h, C, y) {
|
|
9176
9209
|
var k, S = {}, p = null, R = null;
|
|
9177
|
-
y !== void 0 && (p = "" + y),
|
|
9178
|
-
for (k in
|
|
9179
|
-
if (h && h.defaultProps) for (k in
|
|
9210
|
+
y !== void 0 && (p = "" + y), C.key !== void 0 && (p = "" + C.key), C.ref !== void 0 && (R = C.ref);
|
|
9211
|
+
for (k in C) u.call(C, k) && !g.hasOwnProperty(k) && (S[k] = C[k]);
|
|
9212
|
+
if (h && h.defaultProps) for (k in C = h.defaultProps, C) S[k] === void 0 && (S[k] = C[k]);
|
|
9180
9213
|
return { $$typeof: a, type: h, key: p, ref: R, props: S, _owner: d.current };
|
|
9181
9214
|
}
|
|
9182
|
-
return mr.Fragment = s, mr.jsx =
|
|
9215
|
+
return mr.Fragment = s, mr.jsx = f, mr.jsxs = f, mr;
|
|
9183
9216
|
}
|
|
9184
9217
|
var ur = {};
|
|
9185
9218
|
/**
|
|
@@ -9194,7 +9227,7 @@ var ur = {};
|
|
|
9194
9227
|
var De;
|
|
9195
9228
|
function Rn() {
|
|
9196
9229
|
return De || (De = 1, process.env.NODE_ENV !== "production" && function() {
|
|
9197
|
-
var t = Ae, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"),
|
|
9230
|
+
var t = Ae, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), h = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), U = Symbol.iterator, Rr = "@@iterator";
|
|
9198
9231
|
function pr(n) {
|
|
9199
9232
|
if (n === null || typeof n != "object")
|
|
9200
9233
|
return null;
|
|
@@ -9204,14 +9237,14 @@ function Rn() {
|
|
|
9204
9237
|
var L = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
9205
9238
|
function T(n) {
|
|
9206
9239
|
{
|
|
9207
|
-
for (var m = arguments.length, b = new Array(m > 1 ? m - 1 : 0),
|
|
9208
|
-
b[
|
|
9240
|
+
for (var m = arguments.length, b = new Array(m > 1 ? m - 1 : 0), x = 1; x < m; x++)
|
|
9241
|
+
b[x - 1] = arguments[x];
|
|
9209
9242
|
Ue("error", n, b);
|
|
9210
9243
|
}
|
|
9211
9244
|
}
|
|
9212
9245
|
function Ue(n, m, b) {
|
|
9213
9246
|
{
|
|
9214
|
-
var
|
|
9247
|
+
var x = L.ReactDebugCurrentFrame, $ = x.getStackAddendum();
|
|
9215
9248
|
$ !== "" && (m += "%s", b = b.concat([$]));
|
|
9216
9249
|
var z = b.map(function(w) {
|
|
9217
9250
|
return String(w);
|
|
@@ -9222,16 +9255,16 @@ function Rn() {
|
|
|
9222
9255
|
var Ke = !1, Je = !1, Ve = !1, Ze = !1, Qe = !1, Ur;
|
|
9223
9256
|
Ur = Symbol.for("react.module.reference");
|
|
9224
9257
|
function ro(n) {
|
|
9225
|
-
return !!(typeof n == "string" || typeof n == "function" || n === u || n === g || Qe || n === d || n === y || n === k || Ze || n === R || Ke || Je || Ve || typeof n == "object" && n !== null && (n.$$typeof === p || n.$$typeof === S || n.$$typeof ===
|
|
9258
|
+
return !!(typeof n == "string" || typeof n == "function" || n === u || n === g || Qe || n === d || n === y || n === k || Ze || n === R || Ke || Je || Ve || typeof n == "object" && n !== null && (n.$$typeof === p || n.$$typeof === S || n.$$typeof === f || n.$$typeof === h || n.$$typeof === C || // This needs to include all possible module reference object
|
|
9226
9259
|
// types supported by any Flight configuration anywhere since
|
|
9227
9260
|
// we don't know which Flight build this will end up being used
|
|
9228
9261
|
// with.
|
|
9229
9262
|
n.$$typeof === Ur || n.getModuleId !== void 0));
|
|
9230
9263
|
}
|
|
9231
9264
|
function eo(n, m, b) {
|
|
9232
|
-
var
|
|
9233
|
-
if (
|
|
9234
|
-
return
|
|
9265
|
+
var x = n.displayName;
|
|
9266
|
+
if (x)
|
|
9267
|
+
return x;
|
|
9235
9268
|
var $ = m.displayName || m.name || "";
|
|
9236
9269
|
return $ !== "" ? b + "(" + $ + ")" : b;
|
|
9237
9270
|
}
|
|
@@ -9264,14 +9297,14 @@ function Rn() {
|
|
|
9264
9297
|
case h:
|
|
9265
9298
|
var m = n;
|
|
9266
9299
|
return Kr(m) + ".Consumer";
|
|
9267
|
-
case
|
|
9300
|
+
case f:
|
|
9268
9301
|
var b = n;
|
|
9269
9302
|
return Kr(b._context) + ".Provider";
|
|
9270
|
-
case
|
|
9303
|
+
case C:
|
|
9271
9304
|
return eo(n, n.render, "ForwardRef");
|
|
9272
9305
|
case S:
|
|
9273
|
-
var
|
|
9274
|
-
return
|
|
9306
|
+
var x = n.displayName || null;
|
|
9307
|
+
return x !== null ? x : D(n.type) || "Memo";
|
|
9275
9308
|
case p: {
|
|
9276
9309
|
var $ = n, z = $._payload, w = $._init;
|
|
9277
9310
|
try {
|
|
@@ -9346,33 +9379,33 @@ function Rn() {
|
|
|
9346
9379
|
}
|
|
9347
9380
|
}
|
|
9348
9381
|
var Pr = L.ReactCurrentDispatcher, Wr;
|
|
9349
|
-
function
|
|
9382
|
+
function fr(n, m, b) {
|
|
9350
9383
|
{
|
|
9351
9384
|
if (Wr === void 0)
|
|
9352
9385
|
try {
|
|
9353
9386
|
throw Error();
|
|
9354
9387
|
} catch ($) {
|
|
9355
|
-
var
|
|
9356
|
-
Wr =
|
|
9388
|
+
var x = $.stack.trim().match(/\n( *(at )?)/);
|
|
9389
|
+
Wr = x && x[1] || "";
|
|
9357
9390
|
}
|
|
9358
9391
|
return `
|
|
9359
9392
|
` + Wr + n;
|
|
9360
9393
|
}
|
|
9361
9394
|
}
|
|
9362
|
-
var Tr = !1,
|
|
9395
|
+
var Tr = !1, xr;
|
|
9363
9396
|
{
|
|
9364
9397
|
var ao = typeof WeakMap == "function" ? WeakMap : Map;
|
|
9365
|
-
|
|
9398
|
+
xr = new ao();
|
|
9366
9399
|
}
|
|
9367
9400
|
function ae(n, m) {
|
|
9368
9401
|
if (!n || Tr)
|
|
9369
9402
|
return "";
|
|
9370
9403
|
{
|
|
9371
|
-
var b =
|
|
9404
|
+
var b = xr.get(n);
|
|
9372
9405
|
if (b !== void 0)
|
|
9373
9406
|
return b;
|
|
9374
9407
|
}
|
|
9375
|
-
var
|
|
9408
|
+
var x;
|
|
9376
9409
|
Tr = !0;
|
|
9377
9410
|
var $ = Error.prepareStackTrace;
|
|
9378
9411
|
Error.prepareStackTrace = void 0;
|
|
@@ -9390,30 +9423,30 @@ function Rn() {
|
|
|
9390
9423
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
9391
9424
|
try {
|
|
9392
9425
|
Reflect.construct(w, []);
|
|
9393
|
-
} catch (
|
|
9394
|
-
|
|
9426
|
+
} catch (_) {
|
|
9427
|
+
x = _;
|
|
9395
9428
|
}
|
|
9396
9429
|
Reflect.construct(n, [], w);
|
|
9397
9430
|
} else {
|
|
9398
9431
|
try {
|
|
9399
9432
|
w.call();
|
|
9400
|
-
} catch (
|
|
9401
|
-
|
|
9433
|
+
} catch (_) {
|
|
9434
|
+
x = _;
|
|
9402
9435
|
}
|
|
9403
9436
|
n.call(w.prototype);
|
|
9404
9437
|
}
|
|
9405
9438
|
} else {
|
|
9406
9439
|
try {
|
|
9407
9440
|
throw Error();
|
|
9408
|
-
} catch (
|
|
9409
|
-
|
|
9441
|
+
} catch (_) {
|
|
9442
|
+
x = _;
|
|
9410
9443
|
}
|
|
9411
9444
|
n();
|
|
9412
9445
|
}
|
|
9413
|
-
} catch (
|
|
9414
|
-
if (
|
|
9415
|
-
for (var v =
|
|
9416
|
-
`), E =
|
|
9446
|
+
} catch (_) {
|
|
9447
|
+
if (_ && x && typeof _.stack == "string") {
|
|
9448
|
+
for (var v = _.stack.split(`
|
|
9449
|
+
`), E = x.stack.split(`
|
|
9417
9450
|
`), P = v.length - 1, W = E.length - 1; P >= 1 && W >= 0 && v[P] !== E[W]; )
|
|
9418
9451
|
W--;
|
|
9419
9452
|
for (; P >= 1 && W >= 0; P--, W--)
|
|
@@ -9423,7 +9456,7 @@ function Rn() {
|
|
|
9423
9456
|
if (P--, W--, W < 0 || v[P] !== E[W]) {
|
|
9424
9457
|
var j = `
|
|
9425
9458
|
` + v[P].replace(" at new ", " at ");
|
|
9426
|
-
return n.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", n.displayName)), typeof n == "function" &&
|
|
9459
|
+
return n.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", n.displayName)), typeof n == "function" && xr.set(n, j), j;
|
|
9427
9460
|
}
|
|
9428
9461
|
while (P >= 1 && W >= 0);
|
|
9429
9462
|
break;
|
|
@@ -9432,8 +9465,8 @@ function Rn() {
|
|
|
9432
9465
|
} finally {
|
|
9433
9466
|
Tr = !1, Pr.current = z, to(), Error.prepareStackTrace = $;
|
|
9434
9467
|
}
|
|
9435
|
-
var nr = n ? n.displayName || n.name : "", er = nr ?
|
|
9436
|
-
return typeof n == "function" &&
|
|
9468
|
+
var nr = n ? n.displayName || n.name : "", er = nr ? fr(nr) : "";
|
|
9469
|
+
return typeof n == "function" && xr.set(n, er), er;
|
|
9437
9470
|
}
|
|
9438
9471
|
function no(n, m, b) {
|
|
9439
9472
|
return ae(n, !1);
|
|
@@ -9442,29 +9475,29 @@ function Rn() {
|
|
|
9442
9475
|
var m = n.prototype;
|
|
9443
9476
|
return !!(m && m.isReactComponent);
|
|
9444
9477
|
}
|
|
9445
|
-
function
|
|
9478
|
+
function Cr(n, m, b) {
|
|
9446
9479
|
if (n == null)
|
|
9447
9480
|
return "";
|
|
9448
9481
|
if (typeof n == "function")
|
|
9449
9482
|
return ae(n, lo(n));
|
|
9450
9483
|
if (typeof n == "string")
|
|
9451
|
-
return
|
|
9484
|
+
return fr(n);
|
|
9452
9485
|
switch (n) {
|
|
9453
9486
|
case y:
|
|
9454
|
-
return
|
|
9487
|
+
return fr("Suspense");
|
|
9455
9488
|
case k:
|
|
9456
|
-
return
|
|
9489
|
+
return fr("SuspenseList");
|
|
9457
9490
|
}
|
|
9458
9491
|
if (typeof n == "object")
|
|
9459
9492
|
switch (n.$$typeof) {
|
|
9460
|
-
case
|
|
9493
|
+
case C:
|
|
9461
9494
|
return no(n.render);
|
|
9462
9495
|
case S:
|
|
9463
|
-
return
|
|
9496
|
+
return Cr(n.type, m, b);
|
|
9464
9497
|
case p: {
|
|
9465
|
-
var
|
|
9498
|
+
var x = n, $ = x._payload, z = x._init;
|
|
9466
9499
|
try {
|
|
9467
|
-
return
|
|
9500
|
+
return Cr(z($), m, b);
|
|
9468
9501
|
} catch {
|
|
9469
9502
|
}
|
|
9470
9503
|
}
|
|
@@ -9474,12 +9507,12 @@ function Rn() {
|
|
|
9474
9507
|
var sr = Object.prototype.hasOwnProperty, ne = {}, le = L.ReactDebugCurrentFrame;
|
|
9475
9508
|
function hr(n) {
|
|
9476
9509
|
if (n) {
|
|
9477
|
-
var m = n._owner, b =
|
|
9510
|
+
var m = n._owner, b = Cr(n.type, n._source, m ? m.type : null);
|
|
9478
9511
|
le.setExtraStackFrame(b);
|
|
9479
9512
|
} else
|
|
9480
9513
|
le.setExtraStackFrame(null);
|
|
9481
9514
|
}
|
|
9482
|
-
function co(n, m, b,
|
|
9515
|
+
function co(n, m, b, x, $) {
|
|
9483
9516
|
{
|
|
9484
9517
|
var z = Function.call.bind(sr);
|
|
9485
9518
|
for (var w in n)
|
|
@@ -9487,14 +9520,14 @@ function Rn() {
|
|
|
9487
9520
|
var v = void 0;
|
|
9488
9521
|
try {
|
|
9489
9522
|
if (typeof n[w] != "function") {
|
|
9490
|
-
var E = Error((
|
|
9523
|
+
var E = Error((x || "React class") + ": " + b + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
9491
9524
|
throw E.name = "Invariant Violation", E;
|
|
9492
9525
|
}
|
|
9493
|
-
v = n[w](m, w,
|
|
9526
|
+
v = n[w](m, w, x, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
9494
9527
|
} catch (P) {
|
|
9495
9528
|
v = P;
|
|
9496
9529
|
}
|
|
9497
|
-
v && !(v instanceof Error) && (hr($), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
9530
|
+
v && !(v instanceof Error) && (hr($), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", b, w, typeof v), hr(null)), v instanceof Error && !(v.message in ne) && (ne[v.message] = !0, hr($), T("Failed %s type: %s", b, v.message), hr(null));
|
|
9498
9531
|
}
|
|
9499
9532
|
}
|
|
9500
9533
|
}
|
|
@@ -9551,7 +9584,7 @@ function Rn() {
|
|
|
9551
9584
|
Er[b] || (T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(dr.current.type), n.ref), Er[b] = !0);
|
|
9552
9585
|
}
|
|
9553
9586
|
}
|
|
9554
|
-
function
|
|
9587
|
+
function fo(n, m) {
|
|
9555
9588
|
{
|
|
9556
9589
|
var b = function() {
|
|
9557
9590
|
se || (se = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
|
|
@@ -9562,7 +9595,7 @@ function Rn() {
|
|
|
9562
9595
|
});
|
|
9563
9596
|
}
|
|
9564
9597
|
}
|
|
9565
|
-
function
|
|
9598
|
+
function xo(n, m) {
|
|
9566
9599
|
{
|
|
9567
9600
|
var b = function() {
|
|
9568
9601
|
de || (de = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", m));
|
|
@@ -9573,7 +9606,7 @@ function Rn() {
|
|
|
9573
9606
|
});
|
|
9574
9607
|
}
|
|
9575
9608
|
}
|
|
9576
|
-
var
|
|
9609
|
+
var Co = function(n, m, b, x, $, z, w) {
|
|
9577
9610
|
var v = {
|
|
9578
9611
|
// This tag allows us to uniquely identify this as a React Element
|
|
9579
9612
|
$$typeof: a,
|
|
@@ -9594,7 +9627,7 @@ function Rn() {
|
|
|
9594
9627
|
configurable: !1,
|
|
9595
9628
|
enumerable: !1,
|
|
9596
9629
|
writable: !1,
|
|
9597
|
-
value:
|
|
9630
|
+
value: x
|
|
9598
9631
|
}), Object.defineProperty(v, "_source", {
|
|
9599
9632
|
configurable: !1,
|
|
9600
9633
|
enumerable: !1,
|
|
@@ -9602,7 +9635,7 @@ function Rn() {
|
|
|
9602
9635
|
value: $
|
|
9603
9636
|
}), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
|
|
9604
9637
|
};
|
|
9605
|
-
function ho(n, m, b,
|
|
9638
|
+
function ho(n, m, b, x, $) {
|
|
9606
9639
|
{
|
|
9607
9640
|
var z, w = {}, v = null, E = null;
|
|
9608
9641
|
b !== void 0 && (ie(b), v = "" + b), bo(m) && (ie(m.key), v = "" + m.key), go(m) && (E = m.ref, po(m, $));
|
|
@@ -9615,22 +9648,22 @@ function Rn() {
|
|
|
9615
9648
|
}
|
|
9616
9649
|
if (v || E) {
|
|
9617
9650
|
var W = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
9618
|
-
v &&
|
|
9651
|
+
v && fo(w, W), E && xo(w, W);
|
|
9619
9652
|
}
|
|
9620
|
-
return
|
|
9653
|
+
return Co(n, v, E, $, x, dr.current, w);
|
|
9621
9654
|
}
|
|
9622
9655
|
}
|
|
9623
9656
|
var Ir = L.ReactCurrentOwner, me = L.ReactDebugCurrentFrame;
|
|
9624
9657
|
function ar(n) {
|
|
9625
9658
|
if (n) {
|
|
9626
|
-
var m = n._owner, b =
|
|
9659
|
+
var m = n._owner, b = Cr(n.type, n._source, m ? m.type : null);
|
|
9627
9660
|
me.setExtraStackFrame(b);
|
|
9628
9661
|
} else
|
|
9629
9662
|
me.setExtraStackFrame(null);
|
|
9630
9663
|
}
|
|
9631
|
-
var
|
|
9632
|
-
|
|
9633
|
-
function
|
|
9664
|
+
var Or;
|
|
9665
|
+
Or = !1;
|
|
9666
|
+
function Mr(n) {
|
|
9634
9667
|
return typeof n == "object" && n !== null && n.$$typeof === a;
|
|
9635
9668
|
}
|
|
9636
9669
|
function ue() {
|
|
@@ -9670,8 +9703,8 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9670
9703
|
if (ge[b])
|
|
9671
9704
|
return;
|
|
9672
9705
|
ge[b] = !0;
|
|
9673
|
-
var
|
|
9674
|
-
n && n._owner && n._owner !== Ir.current && (
|
|
9706
|
+
var x = "";
|
|
9707
|
+
n && n._owner && n._owner !== Ir.current && (x = " It was passed a child from " + D(n._owner.type) + "."), ar(n), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, x), ar(null);
|
|
9675
9708
|
}
|
|
9676
9709
|
}
|
|
9677
9710
|
function pe(n, m) {
|
|
@@ -9680,16 +9713,16 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9680
9713
|
return;
|
|
9681
9714
|
if (Fr(n))
|
|
9682
9715
|
for (var b = 0; b < n.length; b++) {
|
|
9683
|
-
var
|
|
9684
|
-
|
|
9716
|
+
var x = n[b];
|
|
9717
|
+
Mr(x) && be(x, m);
|
|
9685
9718
|
}
|
|
9686
|
-
else if (
|
|
9719
|
+
else if (Mr(n))
|
|
9687
9720
|
n._store && (n._store.validated = !0);
|
|
9688
9721
|
else if (n) {
|
|
9689
9722
|
var $ = pr(n);
|
|
9690
9723
|
if (typeof $ == "function" && $ !== n.entries)
|
|
9691
9724
|
for (var z = $.call(n), w; !(w = z.next()).done; )
|
|
9692
|
-
|
|
9725
|
+
Mr(w.value) && be(w.value, m);
|
|
9693
9726
|
}
|
|
9694
9727
|
}
|
|
9695
9728
|
}
|
|
@@ -9701,17 +9734,17 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9701
9734
|
var b;
|
|
9702
9735
|
if (typeof m == "function")
|
|
9703
9736
|
b = m.propTypes;
|
|
9704
|
-
else if (typeof m == "object" && (m.$$typeof ===
|
|
9737
|
+
else if (typeof m == "object" && (m.$$typeof === C || // Note: Memo only checks outer props here.
|
|
9705
9738
|
// Inner props are checked in the reconciler.
|
|
9706
9739
|
m.$$typeof === S))
|
|
9707
9740
|
b = m.propTypes;
|
|
9708
9741
|
else
|
|
9709
9742
|
return;
|
|
9710
9743
|
if (b) {
|
|
9711
|
-
var
|
|
9712
|
-
co(b, n.props, "prop",
|
|
9713
|
-
} else if (m.PropTypes !== void 0 && !
|
|
9714
|
-
|
|
9744
|
+
var x = D(m);
|
|
9745
|
+
co(b, n.props, "prop", x, n);
|
|
9746
|
+
} else if (m.PropTypes !== void 0 && !Or) {
|
|
9747
|
+
Or = !0;
|
|
9715
9748
|
var $ = D(m);
|
|
9716
9749
|
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
9717
9750
|
}
|
|
@@ -9721,17 +9754,17 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9721
9754
|
function wo(n) {
|
|
9722
9755
|
{
|
|
9723
9756
|
for (var m = Object.keys(n.props), b = 0; b < m.length; b++) {
|
|
9724
|
-
var
|
|
9725
|
-
if (
|
|
9726
|
-
ar(n), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
9757
|
+
var x = m[b];
|
|
9758
|
+
if (x !== "children" && x !== "key") {
|
|
9759
|
+
ar(n), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), ar(null);
|
|
9727
9760
|
break;
|
|
9728
9761
|
}
|
|
9729
9762
|
}
|
|
9730
9763
|
n.ref !== null && (ar(n), T("Invalid attribute `ref` supplied to `React.Fragment`."), ar(null));
|
|
9731
9764
|
}
|
|
9732
9765
|
}
|
|
9733
|
-
var
|
|
9734
|
-
function
|
|
9766
|
+
var fe = {};
|
|
9767
|
+
function xe(n, m, b, x, $, z) {
|
|
9735
9768
|
{
|
|
9736
9769
|
var w = ro(n);
|
|
9737
9770
|
if (!w) {
|
|
@@ -9748,7 +9781,7 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9748
9781
|
if (w) {
|
|
9749
9782
|
var j = m.children;
|
|
9750
9783
|
if (j !== void 0)
|
|
9751
|
-
if (
|
|
9784
|
+
if (x)
|
|
9752
9785
|
if (Fr(j)) {
|
|
9753
9786
|
for (var nr = 0; nr < j.length; nr++)
|
|
9754
9787
|
pe(j[nr], n);
|
|
@@ -9759,27 +9792,27 @@ Check the top-level render call using <` + b + ">.");
|
|
|
9759
9792
|
pe(j, n);
|
|
9760
9793
|
}
|
|
9761
9794
|
if (sr.call(m, "key")) {
|
|
9762
|
-
var er = D(n),
|
|
9795
|
+
var er = D(n), _ = Object.keys(m).filter(function(Wo) {
|
|
9763
9796
|
return Wo !== "key";
|
|
9764
|
-
}),
|
|
9765
|
-
if (!
|
|
9766
|
-
var Po =
|
|
9797
|
+
}), _r = _.length > 0 ? "{key: someKey, " + _.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
9798
|
+
if (!fe[er + _r]) {
|
|
9799
|
+
var Po = _.length > 0 ? "{" + _.join(": ..., ") + ": ...}" : "{}";
|
|
9767
9800
|
T(`A props object containing a "key" prop is being spread into JSX:
|
|
9768
9801
|
let props = %s;
|
|
9769
9802
|
<%s {...props} />
|
|
9770
9803
|
React keys must be passed directly to JSX without using spread:
|
|
9771
9804
|
let props = %s;
|
|
9772
|
-
<%s key={someKey} {...props} />`,
|
|
9805
|
+
<%s key={someKey} {...props} />`, _r, er, Po, er), fe[er + _r] = !0;
|
|
9773
9806
|
}
|
|
9774
9807
|
}
|
|
9775
9808
|
return n === u ? wo(W) : vo(W), W;
|
|
9776
9809
|
}
|
|
9777
9810
|
}
|
|
9778
9811
|
function So(n, m, b) {
|
|
9779
|
-
return
|
|
9812
|
+
return xe(n, m, b, !0);
|
|
9780
9813
|
}
|
|
9781
9814
|
function $o(n, m, b) {
|
|
9782
|
-
return
|
|
9815
|
+
return xe(n, m, b, !1);
|
|
9783
9816
|
}
|
|
9784
9817
|
var zo = $o, Ro = So;
|
|
9785
9818
|
ur.Fragment = u, ur.jsx = zo, ur.jsxs = Ro;
|
|
@@ -9787,20 +9820,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
9787
9820
|
}
|
|
9788
9821
|
process.env.NODE_ENV === "production" ? Nr.exports = zn() : Nr.exports = Rn();
|
|
9789
9822
|
var Yr = Nr.exports;
|
|
9790
|
-
const Ye =
|
|
9791
|
-
const
|
|
9792
|
-
return Yr.jsx(Ye.Provider, { value:
|
|
9823
|
+
const Ye = Oo(null), Pn = ({ children: t, selectedTheme: a, setSelectedTheme: s, lightThemeName: u, darkThemeName: d, systemThemeName: g }) => {
|
|
9824
|
+
const f = Mo(() => ({ selectedTheme: a, setSelectedTheme: s, lightThemeName: u, darkThemeName: d, systemThemeName: g }), [a, s, u, d, g]);
|
|
9825
|
+
return Yr.jsx(Ye.Provider, { value: f, children: t });
|
|
9793
9826
|
}, Hn = () => {
|
|
9794
|
-
const t =
|
|
9827
|
+
const t = _o(Ye);
|
|
9795
9828
|
if (!t)
|
|
9796
9829
|
throw new Error("Missing ThemeSwitchContext");
|
|
9797
9830
|
return t;
|
|
9798
9831
|
}, jn = ({ children: t, lightTheme: a, darkTheme: s, systemThemeName: u, initialThemeName: d, storageKey: g }) => {
|
|
9799
|
-
const
|
|
9832
|
+
const f = a == null ? void 0 : a.name, h = s == null ? void 0 : s.name, C = { lightThemeName: f, darkThemeName: h, systemThemeName: u }, { selectedTheme: y, setSelectedTheme: k, currentTheme: S } = Sn({
|
|
9800
9833
|
initialThemeName: d,
|
|
9801
|
-
...
|
|
9834
|
+
...C
|
|
9802
9835
|
});
|
|
9803
|
-
return $n({ storageKey: g, value: y, onChange: k }), Yr.jsx(Fo, { theme: S === (s == null ? void 0 : s.name) ? s : a, children: Yr.jsx(Pn, { selectedTheme: y, setSelectedTheme: k, ...
|
|
9836
|
+
return $n({ storageKey: g, value: y, onChange: k }), Yr.jsx(Fo, { theme: S === (s == null ? void 0 : s.name) ? s : a, children: Yr.jsx(Pn, { selectedTheme: y, setSelectedTheme: k, ...C, children: t }) });
|
|
9804
9837
|
}, Wn = $r`
|
|
9805
9838
|
body {
|
|
9806
9839
|
background: ${({ theme: t }) => t.globals.body.bgColor};
|
|
@@ -9856,12 +9889,12 @@ export {
|
|
|
9856
9889
|
Ln as CommonStyles,
|
|
9857
9890
|
jn as SwitchableThemeProvider,
|
|
9858
9891
|
Pn as ThemeSwitchProvider,
|
|
9859
|
-
|
|
9860
|
-
|
|
9892
|
+
_n as getFocusStyle,
|
|
9893
|
+
Bn as getFocusStyleProperties,
|
|
9861
9894
|
S0 as theme,
|
|
9862
|
-
|
|
9895
|
+
Mn as themeDark,
|
|
9863
9896
|
S0 as themeLight,
|
|
9864
|
-
|
|
9897
|
+
On as themeOld,
|
|
9865
9898
|
$n as useStorage,
|
|
9866
9899
|
lr as useTheme,
|
|
9867
9900
|
Sn as useThemeSelector,
|