@noxickon/onyx 0.0.3 → 0.0.4-dev.2
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/chunks/Button-D-v4l8ZE.js +20 -0
- package/dist/chunks/{Button-BV4_pmoH.js → Button-bARrxYyo.js} +120 -121
- package/dist/chunks/Input-CLi1H63d.js +1 -0
- package/dist/chunks/{Input-BraK4lDE.js → Input-dfvmdIHi.js} +38 -38
- package/dist/chunks/errorHelper--G-SWQzN.js +18 -0
- package/dist/chunks/errorHelper-DaP_XxEx.js +1 -0
- package/dist/chunks/formatTimestamp-CMxOnPo1.js +12 -0
- package/dist/chunks/formatTimestamp-TTsNcy7u.js +1 -0
- package/dist/chunks/{index-DnVdNmco.js → useAuth-DDRXztKj.js} +240 -178
- package/dist/chunks/{index-DGjVEo0G.js → useAuth-DPnpY3XC.js} +18 -9
- package/dist/chunks/{useForm-BAbY8X4X.js → useForm-D4co95Vn.js} +785 -801
- package/dist/chunks/useForm-DUviJ7xS.js +18 -0
- package/dist/chunks/useQuery-BvCyJMae.js +2065 -0
- package/dist/chunks/useQuery-DTNHO7so.js +3 -0
- package/dist/context/context.cjs.js +1 -1
- package/dist/context/context.es.js +1 -1
- package/dist/context.d.ts +1 -0
- package/dist/hooks/hooks.cjs.js +6 -6
- package/dist/hooks/hooks.es.js +117 -118
- package/dist/index.css +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/layout/layout.cjs.js +1 -1
- package/dist/layout/layout.es.js +1 -1
- package/dist/onyx.cjs.js +1 -1
- package/dist/onyx.es.js +425 -386
- package/dist/pages/pages.cjs.js +8 -2
- package/dist/pages/pages.es.js +34 -24
- package/dist/utils/utils.cjs.js +1 -0
- package/dist/utils/utils.es.js +8 -0
- package/dist/utils.d.ts +29 -0
- package/package.json +31 -26
- package/dist/chunks/Button-CU-zvMVL.js +0 -20
- package/dist/chunks/Input-C5dK8VSu.js +0 -1
- package/dist/chunks/index-Dgwp7JKP.js +0 -601
- package/dist/chunks/index-rUH_mzKt.js +0 -2
- package/dist/chunks/useAuth-BwjRd05B.js +0 -10
- package/dist/chunks/useAuth-CR3bAGqp.js +0 -61
- package/dist/chunks/useForm-cxgyAiOs.js +0 -26
- package/dist/chunks/useQuery--6GP2-dN.js +0 -2
- package/dist/chunks/useQuery-mFRa2XuW.js +0 -1481
|
@@ -8,16 +8,15 @@ const y1 = "-", a2 = (C) => {
|
|
|
8
8
|
} = C;
|
|
9
9
|
return {
|
|
10
10
|
getClassGroupId: (a) => {
|
|
11
|
-
const
|
|
12
|
-
return
|
|
11
|
+
const o = a.split(y1);
|
|
12
|
+
return o[0] === "" && o.length !== 1 && o.shift(), K1(o, A) || e2(a);
|
|
13
13
|
},
|
|
14
|
-
getConflictingClassGroupIds: (a,
|
|
14
|
+
getConflictingClassGroupIds: (a, o) => {
|
|
15
15
|
const v = L[a] || [];
|
|
16
|
-
return
|
|
16
|
+
return o && H[a] ? [...v, ...H[a]] : v;
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
}, K1 = (C, A) => {
|
|
20
|
-
var a;
|
|
21
20
|
if (C.length === 0)
|
|
22
21
|
return A.classGroupId;
|
|
23
22
|
const L = C[0], H = A.nextPart.get(L), V = H ? K1(C.slice(1), H) : void 0;
|
|
@@ -26,12 +25,12 @@ const y1 = "-", a2 = (C) => {
|
|
|
26
25
|
if (A.validators.length === 0)
|
|
27
26
|
return;
|
|
28
27
|
const r = C.join(y1);
|
|
29
|
-
return
|
|
30
|
-
validator:
|
|
31
|
-
}) =>
|
|
28
|
+
return A.validators.find(({
|
|
29
|
+
validator: a
|
|
30
|
+
}) => a(r))?.classGroupId;
|
|
32
31
|
}, w1 = /^\[(.+)\]$/, e2 = (C) => {
|
|
33
32
|
if (w1.test(C)) {
|
|
34
|
-
const A = w1.exec(C)[1], L = A
|
|
33
|
+
const A = w1.exec(C)[1], L = A?.substring(0, A.indexOf(":"));
|
|
35
34
|
if (L)
|
|
36
35
|
return "arbitrary.." + L;
|
|
37
36
|
}
|
|
@@ -107,10 +106,10 @@ const y1 = "-", a2 = (C) => {
|
|
|
107
106
|
} = C;
|
|
108
107
|
let H = (V) => {
|
|
109
108
|
const r = [];
|
|
110
|
-
let a = 0,
|
|
109
|
+
let a = 0, o = 0, v = 0, f;
|
|
111
110
|
for (let d = 0; d < V.length; d++) {
|
|
112
111
|
let p = V[d];
|
|
113
|
-
if (a === 0 &&
|
|
112
|
+
if (a === 0 && o === 0) {
|
|
114
113
|
if (p === b1) {
|
|
115
114
|
r.push(V.slice(v, d)), v = d + o2;
|
|
116
115
|
continue;
|
|
@@ -120,7 +119,7 @@ const y1 = "-", a2 = (C) => {
|
|
|
120
119
|
continue;
|
|
121
120
|
}
|
|
122
121
|
}
|
|
123
|
-
p === "[" ? a++ : p === "]" ? a-- : p === "(" ?
|
|
122
|
+
p === "[" ? a++ : p === "]" ? a-- : p === "(" ? o++ : p === ")" && o--;
|
|
124
123
|
}
|
|
125
124
|
const O = r.length === 0 ? V : V.substring(v), B = n2(O), R = B !== O, D = f && f > v ? f - v : void 0;
|
|
126
125
|
return {
|
|
@@ -170,10 +169,10 @@ const y1 = "-", a2 = (C) => {
|
|
|
170
169
|
getClassGroupId: H,
|
|
171
170
|
getConflictingClassGroupIds: V,
|
|
172
171
|
sortModifiers: r
|
|
173
|
-
} = A, a = [],
|
|
172
|
+
} = A, a = [], o = C.trim().split(S2);
|
|
174
173
|
let v = "";
|
|
175
|
-
for (let f =
|
|
176
|
-
const O =
|
|
174
|
+
for (let f = o.length - 1; f >= 0; f -= 1) {
|
|
175
|
+
const O = o[f], {
|
|
177
176
|
isExternal: B,
|
|
178
177
|
modifiers: R,
|
|
179
178
|
hasImportantModifier: D,
|
|
@@ -227,9 +226,9 @@ function c2(C, ...A) {
|
|
|
227
226
|
let L, H, V, r = a;
|
|
228
227
|
function a(v) {
|
|
229
228
|
const f = A.reduce((O, B) => B(O), C());
|
|
230
|
-
return L = Z2(f), H = L.cache.get, V = L.cache.set, r =
|
|
229
|
+
return L = Z2(f), H = L.cache.get, V = L.cache.set, r = o, o(v);
|
|
231
230
|
}
|
|
232
|
-
function
|
|
231
|
+
function o(v) {
|
|
233
232
|
const f = H(v);
|
|
234
233
|
if (f)
|
|
235
234
|
return f;
|
|
@@ -255,7 +254,7 @@ const K = (C) => {
|
|
|
255
254
|
const H = Y1.exec(C);
|
|
256
255
|
return H ? H[1] ? A(H[1]) : L : !1;
|
|
257
256
|
}, X1 = (C) => C === "position" || C === "percentage", J1 = (C) => C === "image" || C === "url", C2 = (C) => C === "length" || C === "size" || C === "bg-size", H2 = (C) => C === "length", E2 = (C) => C === "number", D2 = (C) => C === "family-name", V2 = (C) => C === "shadow", W2 = () => {
|
|
258
|
-
const C = K("color"), A = K("font"), L = K("text"), H = K("font-weight"), V = K("tracking"), r = K("leading"), a = K("breakpoint"),
|
|
257
|
+
const C = K("color"), A = K("font"), L = K("text"), H = K("font-weight"), V = K("tracking"), r = K("leading"), a = K("breakpoint"), o = K("container"), v = K("spacing"), f = K("radius"), O = K("shadow"), B = K("inset-shadow"), R = K("text-shadow"), D = K("drop-shadow"), d = K("blur"), p = K("perspective"), b = K("aspect"), s = K("ease"), x = K("animate"), E = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
|
|
259
258
|
"center",
|
|
260
259
|
"top",
|
|
261
260
|
"bottom",
|
|
@@ -289,7 +288,7 @@ const K = (C) => {
|
|
|
289
288
|
f,
|
|
290
289
|
l,
|
|
291
290
|
n
|
|
292
|
-
], Z = () => ["", T, d1, A1], g = () => ["solid", "dashed", "dotted", "double"], k = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"],
|
|
291
|
+
], Z = () => ["", T, d1, A1], g = () => ["solid", "dashed", "dotted", "double"], k = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], m = () => [T, l1, F1, x1], y = () => [
|
|
293
292
|
// Deprecated since Tailwind CSS v4.0.0
|
|
294
293
|
"",
|
|
295
294
|
"none",
|
|
@@ -342,7 +341,7 @@ const K = (C) => {
|
|
|
342
341
|
* @see https://tailwindcss.com/docs/columns
|
|
343
342
|
*/
|
|
344
343
|
columns: [{
|
|
345
|
-
columns: [T, n, l,
|
|
344
|
+
columns: [T, n, l, o]
|
|
346
345
|
}],
|
|
347
346
|
/**
|
|
348
347
|
* Break After
|
|
@@ -552,7 +551,7 @@ const K = (C) => {
|
|
|
552
551
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
553
552
|
*/
|
|
554
553
|
basis: [{
|
|
555
|
-
basis: [i1, "full", "auto",
|
|
554
|
+
basis: [i1, "full", "auto", o, ...c()]
|
|
556
555
|
}],
|
|
557
556
|
/**
|
|
558
557
|
* Flex Direction
|
|
@@ -927,7 +926,7 @@ const K = (C) => {
|
|
|
927
926
|
* @see https://tailwindcss.com/docs/width
|
|
928
927
|
*/
|
|
929
928
|
w: [{
|
|
930
|
-
w: [
|
|
929
|
+
w: [o, "screen", ...z()]
|
|
931
930
|
}],
|
|
932
931
|
/**
|
|
933
932
|
* Min-Width
|
|
@@ -935,7 +934,7 @@ const K = (C) => {
|
|
|
935
934
|
*/
|
|
936
935
|
"min-w": [{
|
|
937
936
|
"min-w": [
|
|
938
|
-
|
|
937
|
+
o,
|
|
939
938
|
"screen",
|
|
940
939
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
941
940
|
"none",
|
|
@@ -948,7 +947,7 @@ const K = (C) => {
|
|
|
948
947
|
*/
|
|
949
948
|
"max-w": [{
|
|
950
949
|
"max-w": [
|
|
951
|
-
|
|
950
|
+
o,
|
|
952
951
|
"screen",
|
|
953
952
|
"none",
|
|
954
953
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1781,10 +1780,10 @@ const K = (C) => {
|
|
|
1781
1780
|
"mask-linear": [T]
|
|
1782
1781
|
}],
|
|
1783
1782
|
"mask-image-linear-from-pos": [{
|
|
1784
|
-
"mask-linear-from":
|
|
1783
|
+
"mask-linear-from": m()
|
|
1785
1784
|
}],
|
|
1786
1785
|
"mask-image-linear-to-pos": [{
|
|
1787
|
-
"mask-linear-to":
|
|
1786
|
+
"mask-linear-to": m()
|
|
1788
1787
|
}],
|
|
1789
1788
|
"mask-image-linear-from-color": [{
|
|
1790
1789
|
"mask-linear-from": S()
|
|
@@ -1793,10 +1792,10 @@ const K = (C) => {
|
|
|
1793
1792
|
"mask-linear-to": S()
|
|
1794
1793
|
}],
|
|
1795
1794
|
"mask-image-t-from-pos": [{
|
|
1796
|
-
"mask-t-from":
|
|
1795
|
+
"mask-t-from": m()
|
|
1797
1796
|
}],
|
|
1798
1797
|
"mask-image-t-to-pos": [{
|
|
1799
|
-
"mask-t-to":
|
|
1798
|
+
"mask-t-to": m()
|
|
1800
1799
|
}],
|
|
1801
1800
|
"mask-image-t-from-color": [{
|
|
1802
1801
|
"mask-t-from": S()
|
|
@@ -1805,10 +1804,10 @@ const K = (C) => {
|
|
|
1805
1804
|
"mask-t-to": S()
|
|
1806
1805
|
}],
|
|
1807
1806
|
"mask-image-r-from-pos": [{
|
|
1808
|
-
"mask-r-from":
|
|
1807
|
+
"mask-r-from": m()
|
|
1809
1808
|
}],
|
|
1810
1809
|
"mask-image-r-to-pos": [{
|
|
1811
|
-
"mask-r-to":
|
|
1810
|
+
"mask-r-to": m()
|
|
1812
1811
|
}],
|
|
1813
1812
|
"mask-image-r-from-color": [{
|
|
1814
1813
|
"mask-r-from": S()
|
|
@@ -1817,10 +1816,10 @@ const K = (C) => {
|
|
|
1817
1816
|
"mask-r-to": S()
|
|
1818
1817
|
}],
|
|
1819
1818
|
"mask-image-b-from-pos": [{
|
|
1820
|
-
"mask-b-from":
|
|
1819
|
+
"mask-b-from": m()
|
|
1821
1820
|
}],
|
|
1822
1821
|
"mask-image-b-to-pos": [{
|
|
1823
|
-
"mask-b-to":
|
|
1822
|
+
"mask-b-to": m()
|
|
1824
1823
|
}],
|
|
1825
1824
|
"mask-image-b-from-color": [{
|
|
1826
1825
|
"mask-b-from": S()
|
|
@@ -1829,10 +1828,10 @@ const K = (C) => {
|
|
|
1829
1828
|
"mask-b-to": S()
|
|
1830
1829
|
}],
|
|
1831
1830
|
"mask-image-l-from-pos": [{
|
|
1832
|
-
"mask-l-from":
|
|
1831
|
+
"mask-l-from": m()
|
|
1833
1832
|
}],
|
|
1834
1833
|
"mask-image-l-to-pos": [{
|
|
1835
|
-
"mask-l-to":
|
|
1834
|
+
"mask-l-to": m()
|
|
1836
1835
|
}],
|
|
1837
1836
|
"mask-image-l-from-color": [{
|
|
1838
1837
|
"mask-l-from": S()
|
|
@@ -1841,10 +1840,10 @@ const K = (C) => {
|
|
|
1841
1840
|
"mask-l-to": S()
|
|
1842
1841
|
}],
|
|
1843
1842
|
"mask-image-x-from-pos": [{
|
|
1844
|
-
"mask-x-from":
|
|
1843
|
+
"mask-x-from": m()
|
|
1845
1844
|
}],
|
|
1846
1845
|
"mask-image-x-to-pos": [{
|
|
1847
|
-
"mask-x-to":
|
|
1846
|
+
"mask-x-to": m()
|
|
1848
1847
|
}],
|
|
1849
1848
|
"mask-image-x-from-color": [{
|
|
1850
1849
|
"mask-x-from": S()
|
|
@@ -1853,10 +1852,10 @@ const K = (C) => {
|
|
|
1853
1852
|
"mask-x-to": S()
|
|
1854
1853
|
}],
|
|
1855
1854
|
"mask-image-y-from-pos": [{
|
|
1856
|
-
"mask-y-from":
|
|
1855
|
+
"mask-y-from": m()
|
|
1857
1856
|
}],
|
|
1858
1857
|
"mask-image-y-to-pos": [{
|
|
1859
|
-
"mask-y-to":
|
|
1858
|
+
"mask-y-to": m()
|
|
1860
1859
|
}],
|
|
1861
1860
|
"mask-image-y-from-color": [{
|
|
1862
1861
|
"mask-y-from": S()
|
|
@@ -1868,10 +1867,10 @@ const K = (C) => {
|
|
|
1868
1867
|
"mask-radial": [l, n]
|
|
1869
1868
|
}],
|
|
1870
1869
|
"mask-image-radial-from-pos": [{
|
|
1871
|
-
"mask-radial-from":
|
|
1870
|
+
"mask-radial-from": m()
|
|
1872
1871
|
}],
|
|
1873
1872
|
"mask-image-radial-to-pos": [{
|
|
1874
|
-
"mask-radial-to":
|
|
1873
|
+
"mask-radial-to": m()
|
|
1875
1874
|
}],
|
|
1876
1875
|
"mask-image-radial-from-color": [{
|
|
1877
1876
|
"mask-radial-from": S()
|
|
@@ -1895,10 +1894,10 @@ const K = (C) => {
|
|
|
1895
1894
|
"mask-conic": [T]
|
|
1896
1895
|
}],
|
|
1897
1896
|
"mask-image-conic-from-pos": [{
|
|
1898
|
-
"mask-conic-from":
|
|
1897
|
+
"mask-conic-from": m()
|
|
1899
1898
|
}],
|
|
1900
1899
|
"mask-image-conic-to-pos": [{
|
|
1901
|
-
"mask-conic-to":
|
|
1900
|
+
"mask-conic-to": m()
|
|
1902
1901
|
}],
|
|
1903
1902
|
"mask-image-conic-from-color": [{
|
|
1904
1903
|
"mask-conic-from": S()
|
|
@@ -10189,7 +10188,7 @@ var R1;
|
|
|
10189
10188
|
function WH2() {
|
|
10190
10189
|
if (R1) return W;
|
|
10191
10190
|
R1 = 1;
|
|
10192
|
-
var C = typeof Symbol == "function" && Symbol.for, A = C ? Symbol.for("react.element") : 60103, L = C ? Symbol.for("react.portal") : 60106, H = C ? Symbol.for("react.fragment") : 60107, V = C ? Symbol.for("react.strict_mode") : 60108, r = C ? Symbol.for("react.profiler") : 60114, a = C ? Symbol.for("react.provider") : 60109,
|
|
10191
|
+
var C = typeof Symbol == "function" && Symbol.for, A = C ? Symbol.for("react.element") : 60103, L = C ? Symbol.for("react.portal") : 60106, H = C ? Symbol.for("react.fragment") : 60107, V = C ? Symbol.for("react.strict_mode") : 60108, r = C ? Symbol.for("react.profiler") : 60114, a = C ? Symbol.for("react.provider") : 60109, o = C ? Symbol.for("react.context") : 60110, v = C ? Symbol.for("react.async_mode") : 60111, f = C ? Symbol.for("react.concurrent_mode") : 60111, O = C ? Symbol.for("react.forward_ref") : 60112, B = C ? Symbol.for("react.suspense") : 60113, R = C ? Symbol.for("react.suspense_list") : 60120, D = C ? Symbol.for("react.memo") : 60115, d = C ? Symbol.for("react.lazy") : 60116, p = C ? Symbol.for("react.block") : 60121, b = C ? Symbol.for("react.fundamental") : 60117, s = C ? Symbol.for("react.responder") : 60118, x = C ? Symbol.for("react.scope") : 60119;
|
|
10193
10192
|
function E(i) {
|
|
10194
10193
|
if (typeof i == "object" && i !== null) {
|
|
10195
10194
|
var G = i.$$typeof;
|
|
@@ -10205,7 +10204,7 @@ function WH2() {
|
|
|
10205
10204
|
return i;
|
|
10206
10205
|
default:
|
|
10207
10206
|
switch (i = i && i.$$typeof, i) {
|
|
10208
|
-
case
|
|
10207
|
+
case o:
|
|
10209
10208
|
case O:
|
|
10210
10209
|
case d:
|
|
10211
10210
|
case D:
|
|
@@ -10223,10 +10222,10 @@ function WH2() {
|
|
|
10223
10222
|
function F(i) {
|
|
10224
10223
|
return E(i) === f;
|
|
10225
10224
|
}
|
|
10226
|
-
return W.AsyncMode = v, W.ConcurrentMode = f, W.ContextConsumer =
|
|
10225
|
+
return W.AsyncMode = v, W.ConcurrentMode = f, W.ContextConsumer = o, W.ContextProvider = a, W.Element = A, W.ForwardRef = O, W.Fragment = H, W.Lazy = d, W.Memo = D, W.Portal = L, W.Profiler = r, W.StrictMode = V, W.Suspense = B, W.isAsyncMode = function(i) {
|
|
10227
10226
|
return F(i) || E(i) === v;
|
|
10228
10227
|
}, W.isConcurrentMode = F, W.isContextConsumer = function(i) {
|
|
10229
|
-
return E(i) ===
|
|
10228
|
+
return E(i) === o;
|
|
10230
10229
|
}, W.isContextProvider = function(i) {
|
|
10231
10230
|
return E(i) === a;
|
|
10232
10231
|
}, W.isElement = function(i) {
|
|
@@ -10248,7 +10247,7 @@ function WH2() {
|
|
|
10248
10247
|
}, W.isSuspense = function(i) {
|
|
10249
10248
|
return E(i) === B;
|
|
10250
10249
|
}, W.isValidElementType = function(i) {
|
|
10251
|
-
return typeof i == "string" || typeof i == "function" || i === H || i === f || i === r || i === V || i === B || i === R || typeof i == "object" && i !== null && (i.$$typeof === d || i.$$typeof === D || i.$$typeof === a || i.$$typeof ===
|
|
10250
|
+
return typeof i == "string" || typeof i == "function" || i === H || i === f || i === r || i === V || i === B || i === R || typeof i == "object" && i !== null && (i.$$typeof === d || i.$$typeof === D || i.$$typeof === a || i.$$typeof === o || i.$$typeof === O || i.$$typeof === b || i.$$typeof === s || i.$$typeof === x || i.$$typeof === p);
|
|
10252
10251
|
}, W.typeOf = E, W;
|
|
10253
10252
|
}
|
|
10254
10253
|
var I = {};
|
|
@@ -10263,10 +10262,10 @@ var I = {};
|
|
|
10263
10262
|
var E1;
|
|
10264
10263
|
function IH2() {
|
|
10265
10264
|
return E1 || (E1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
10266
|
-
var C = typeof Symbol == "function" && Symbol.for, A = C ? Symbol.for("react.element") : 60103, L = C ? Symbol.for("react.portal") : 60106, H = C ? Symbol.for("react.fragment") : 60107, V = C ? Symbol.for("react.strict_mode") : 60108, r = C ? Symbol.for("react.profiler") : 60114, a = C ? Symbol.for("react.provider") : 60109,
|
|
10265
|
+
var C = typeof Symbol == "function" && Symbol.for, A = C ? Symbol.for("react.element") : 60103, L = C ? Symbol.for("react.portal") : 60106, H = C ? Symbol.for("react.fragment") : 60107, V = C ? Symbol.for("react.strict_mode") : 60108, r = C ? Symbol.for("react.profiler") : 60114, a = C ? Symbol.for("react.provider") : 60109, o = C ? Symbol.for("react.context") : 60110, v = C ? Symbol.for("react.async_mode") : 60111, f = C ? Symbol.for("react.concurrent_mode") : 60111, O = C ? Symbol.for("react.forward_ref") : 60112, B = C ? Symbol.for("react.suspense") : 60113, R = C ? Symbol.for("react.suspense_list") : 60120, D = C ? Symbol.for("react.memo") : 60115, d = C ? Symbol.for("react.lazy") : 60116, p = C ? Symbol.for("react.block") : 60121, b = C ? Symbol.for("react.fundamental") : 60117, s = C ? Symbol.for("react.responder") : 60118, x = C ? Symbol.for("react.scope") : 60119;
|
|
10267
10266
|
function E(e) {
|
|
10268
10267
|
return typeof e == "string" || typeof e == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
10269
|
-
e === H || e === f || e === r || e === V || e === B || e === R || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === D || e.$$typeof === a || e.$$typeof ===
|
|
10268
|
+
e === H || e === f || e === r || e === V || e === B || e === R || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === D || e.$$typeof === a || e.$$typeof === o || e.$$typeof === O || e.$$typeof === b || e.$$typeof === s || e.$$typeof === x || e.$$typeof === p);
|
|
10270
10269
|
}
|
|
10271
10270
|
function F(e) {
|
|
10272
10271
|
if (typeof e == "object" && e !== null) {
|
|
@@ -10285,7 +10284,7 @@ function IH2() {
|
|
|
10285
10284
|
default:
|
|
10286
10285
|
var P1 = r1 && r1.$$typeof;
|
|
10287
10286
|
switch (P1) {
|
|
10288
|
-
case
|
|
10287
|
+
case o:
|
|
10289
10288
|
case O:
|
|
10290
10289
|
case d:
|
|
10291
10290
|
case D:
|
|
@@ -10300,7 +10299,7 @@ function IH2() {
|
|
|
10300
10299
|
}
|
|
10301
10300
|
}
|
|
10302
10301
|
}
|
|
10303
|
-
var i = v, G = f, q =
|
|
10302
|
+
var i = v, G = f, q = o, c = a, j = A, J = O, X = H, Y = d, C1 = D, _ = L, U = r, N = V, z = B, S = !1;
|
|
10304
10303
|
function H1(e) {
|
|
10305
10304
|
return S || (S = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), M(e) || F(e) === v;
|
|
10306
10305
|
}
|
|
@@ -10308,7 +10307,7 @@ function IH2() {
|
|
|
10308
10307
|
return F(e) === f;
|
|
10309
10308
|
}
|
|
10310
10309
|
function t(e) {
|
|
10311
|
-
return F(e) ===
|
|
10310
|
+
return F(e) === o;
|
|
10312
10311
|
}
|
|
10313
10312
|
function h(e) {
|
|
10314
10313
|
return F(e) === a;
|
|
@@ -10325,7 +10324,7 @@ function IH2() {
|
|
|
10325
10324
|
function k(e) {
|
|
10326
10325
|
return F(e) === d;
|
|
10327
10326
|
}
|
|
10328
|
-
function
|
|
10327
|
+
function m(e) {
|
|
10329
10328
|
return F(e) === D;
|
|
10330
10329
|
}
|
|
10331
10330
|
function y(e) {
|
|
@@ -10340,7 +10339,7 @@ function IH2() {
|
|
|
10340
10339
|
function Q(e) {
|
|
10341
10340
|
return F(e) === B;
|
|
10342
10341
|
}
|
|
10343
|
-
I.AsyncMode = i, I.ConcurrentMode = G, I.ContextConsumer = q, I.ContextProvider = c, I.Element = j, I.ForwardRef = J, I.Fragment = X, I.Lazy = Y, I.Memo = C1, I.Portal = _, I.Profiler = U, I.StrictMode = N, I.Suspense = z, I.isAsyncMode = H1, I.isConcurrentMode = M, I.isContextConsumer = t, I.isContextProvider = h, I.isElement = u, I.isForwardRef = Z, I.isFragment = g, I.isLazy = k, I.isMemo =
|
|
10342
|
+
I.AsyncMode = i, I.ConcurrentMode = G, I.ContextConsumer = q, I.ContextProvider = c, I.Element = j, I.ForwardRef = J, I.Fragment = X, I.Lazy = Y, I.Memo = C1, I.Portal = _, I.Profiler = U, I.StrictMode = N, I.Suspense = z, I.isAsyncMode = H1, I.isConcurrentMode = M, I.isContextConsumer = t, I.isContextProvider = h, I.isElement = u, I.isForwardRef = Z, I.isFragment = g, I.isLazy = k, I.isMemo = m, I.isPortal = y, I.isProfiler = P, I.isStrictMode = w, I.isSuspense = Q, I.isValidElementType = E, I.typeOf = F;
|
|
10344
10343
|
}()), I;
|
|
10345
10344
|
}
|
|
10346
10345
|
var D1;
|
|
@@ -10369,8 +10368,8 @@ function NH2() {
|
|
|
10369
10368
|
var r = new String("abc");
|
|
10370
10369
|
if (r[5] = "de", Object.getOwnPropertyNames(r)[0] === "5")
|
|
10371
10370
|
return !1;
|
|
10372
|
-
for (var a = {},
|
|
10373
|
-
a["_" + String.fromCharCode(
|
|
10371
|
+
for (var a = {}, o = 0; o < 10; o++)
|
|
10372
|
+
a["_" + String.fromCharCode(o)] = o;
|
|
10374
10373
|
var v = Object.getOwnPropertyNames(a).map(function(O) {
|
|
10375
10374
|
return a[O];
|
|
10376
10375
|
});
|
|
@@ -10385,14 +10384,14 @@ function NH2() {
|
|
|
10385
10384
|
}
|
|
10386
10385
|
}
|
|
10387
10386
|
return S1 = V() ? Object.assign : function(r, a) {
|
|
10388
|
-
for (var
|
|
10389
|
-
|
|
10390
|
-
for (var B in
|
|
10391
|
-
A.call(
|
|
10387
|
+
for (var o, v = H(r), f, O = 1; O < arguments.length; O++) {
|
|
10388
|
+
o = Object(arguments[O]);
|
|
10389
|
+
for (var B in o)
|
|
10390
|
+
A.call(o, B) && (v[B] = o[B]);
|
|
10392
10391
|
if (C) {
|
|
10393
|
-
f = C(
|
|
10392
|
+
f = C(o);
|
|
10394
10393
|
for (var R = 0; R < f.length; R++)
|
|
10395
|
-
L.call(
|
|
10394
|
+
L.call(o, f[R]) && (v[f[R]] = o[f[R]]);
|
|
10396
10395
|
}
|
|
10397
10396
|
}
|
|
10398
10397
|
return v;
|
|
@@ -10426,7 +10425,7 @@ function GH2() {
|
|
|
10426
10425
|
}
|
|
10427
10426
|
};
|
|
10428
10427
|
}
|
|
10429
|
-
function V(r, a,
|
|
10428
|
+
function V(r, a, o, v, f) {
|
|
10430
10429
|
if (process.env.NODE_ENV !== "production") {
|
|
10431
10430
|
for (var O in r)
|
|
10432
10431
|
if (H(r, O)) {
|
|
@@ -10434,21 +10433,21 @@ function GH2() {
|
|
|
10434
10433
|
try {
|
|
10435
10434
|
if (typeof r[O] != "function") {
|
|
10436
10435
|
var R = Error(
|
|
10437
|
-
(v || "React class") + ": " +
|
|
10436
|
+
(v || "React class") + ": " + o + " type `" + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[O] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
10438
10437
|
);
|
|
10439
10438
|
throw R.name = "Invariant Violation", R;
|
|
10440
10439
|
}
|
|
10441
|
-
B = r[O](a, O, v,
|
|
10440
|
+
B = r[O](a, O, v, o, null, A);
|
|
10442
10441
|
} catch (d) {
|
|
10443
10442
|
B = d;
|
|
10444
10443
|
}
|
|
10445
10444
|
if (B && !(B instanceof Error) && C(
|
|
10446
|
-
(v || "React class") + ": type specification of " +
|
|
10445
|
+
(v || "React class") + ": type specification of " + o + " `" + O + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof B + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
10447
10446
|
), B instanceof Error && !(B.message in L)) {
|
|
10448
10447
|
L[B.message] = !0;
|
|
10449
10448
|
var D = f ? f() : "";
|
|
10450
10449
|
C(
|
|
10451
|
-
"Failed " +
|
|
10450
|
+
"Failed " + o + " type: " + B.message + (D ?? "")
|
|
10452
10451
|
);
|
|
10453
10452
|
}
|
|
10454
10453
|
}
|
|
@@ -10464,8 +10463,8 @@ function QH2() {
|
|
|
10464
10463
|
Q1 = 1;
|
|
10465
10464
|
var C = M2(), A = NH2(), L = /* @__PURE__ */ B1(), H = /* @__PURE__ */ r2(), V = /* @__PURE__ */ GH2(), r = function() {
|
|
10466
10465
|
};
|
|
10467
|
-
process.env.NODE_ENV !== "production" && (r = function(
|
|
10468
|
-
var v = "Warning: " +
|
|
10466
|
+
process.env.NODE_ENV !== "production" && (r = function(o) {
|
|
10467
|
+
var v = "Warning: " + o;
|
|
10469
10468
|
typeof console < "u" && console.error(v);
|
|
10470
10469
|
try {
|
|
10471
10470
|
throw new Error(v);
|
|
@@ -10475,7 +10474,7 @@ function QH2() {
|
|
|
10475
10474
|
function a() {
|
|
10476
10475
|
return null;
|
|
10477
10476
|
}
|
|
10478
|
-
return O1 = function(
|
|
10477
|
+
return O1 = function(o, v) {
|
|
10479
10478
|
var f = typeof Symbol == "function" && Symbol.iterator, O = "@@iterator";
|
|
10480
10479
|
function B(M) {
|
|
10481
10480
|
var t = M && (f && M[f] || M[O]);
|
|
@@ -10513,28 +10512,28 @@ function QH2() {
|
|
|
10513
10512
|
function b(M) {
|
|
10514
10513
|
if (process.env.NODE_ENV !== "production")
|
|
10515
10514
|
var t = {}, h = 0;
|
|
10516
|
-
function u(g, k,
|
|
10517
|
-
if (y = y || R, w = w ||
|
|
10515
|
+
function u(g, k, m, y, P, w, Q) {
|
|
10516
|
+
if (y = y || R, w = w || m, Q !== L) {
|
|
10518
10517
|
if (v) {
|
|
10519
10518
|
var e = new Error(
|
|
10520
10519
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
10521
10520
|
);
|
|
10522
10521
|
throw e.name = "Invariant Violation", e;
|
|
10523
10522
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
10524
|
-
var $ = y + ":" +
|
|
10523
|
+
var $ = y + ":" + m;
|
|
10525
10524
|
!t[$] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
10526
10525
|
h < 3 && (r(
|
|
10527
10526
|
"You are manually calling a React.PropTypes validation function for the `" + w + "` prop on `" + y + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
10528
10527
|
), t[$] = !0, h++);
|
|
10529
10528
|
}
|
|
10530
10529
|
}
|
|
10531
|
-
return k[
|
|
10530
|
+
return k[m] == null ? g ? k[m] === null ? new p("The " + P + " `" + w + "` is marked as required " + ("in `" + y + "`, but its value is `null`.")) : new p("The " + P + " `" + w + "` is marked as required in " + ("`" + y + "`, but its value is `undefined`.")) : null : M(k, m, y, P, w);
|
|
10532
10531
|
}
|
|
10533
10532
|
var Z = u.bind(null, !1);
|
|
10534
10533
|
return Z.isRequired = u.bind(null, !0), Z;
|
|
10535
10534
|
}
|
|
10536
10535
|
function s(M) {
|
|
10537
|
-
function t(h, u, Z, g, k,
|
|
10536
|
+
function t(h, u, Z, g, k, m) {
|
|
10538
10537
|
var y = h[u], P = N(y);
|
|
10539
10538
|
if (P !== M) {
|
|
10540
10539
|
var w = z(y);
|
|
@@ -10554,13 +10553,13 @@ function QH2() {
|
|
|
10554
10553
|
function t(h, u, Z, g, k) {
|
|
10555
10554
|
if (typeof M != "function")
|
|
10556
10555
|
return new p("Property `" + k + "` of component `" + Z + "` has invalid PropType notation inside arrayOf.");
|
|
10557
|
-
var
|
|
10558
|
-
if (!Array.isArray(
|
|
10559
|
-
var y = N(
|
|
10556
|
+
var m = h[u];
|
|
10557
|
+
if (!Array.isArray(m)) {
|
|
10558
|
+
var y = N(m);
|
|
10560
10559
|
return new p("Invalid " + g + " `" + k + "` of type " + ("`" + y + "` supplied to `" + Z + "`, expected an array."));
|
|
10561
10560
|
}
|
|
10562
|
-
for (var P = 0; P <
|
|
10563
|
-
var w = M(
|
|
10561
|
+
for (var P = 0; P < m.length; P++) {
|
|
10562
|
+
var w = M(m, P, Z, g, k + "[" + P + "]", L);
|
|
10564
10563
|
if (w instanceof Error)
|
|
10565
10564
|
return w;
|
|
10566
10565
|
}
|
|
@@ -10571,9 +10570,9 @@ function QH2() {
|
|
|
10571
10570
|
function F() {
|
|
10572
10571
|
function M(t, h, u, Z, g) {
|
|
10573
10572
|
var k = t[h];
|
|
10574
|
-
if (!
|
|
10575
|
-
var
|
|
10576
|
-
return new p("Invalid " + Z + " `" + g + "` of type " + ("`" +
|
|
10573
|
+
if (!o(k)) {
|
|
10574
|
+
var m = N(k);
|
|
10575
|
+
return new p("Invalid " + Z + " `" + g + "` of type " + ("`" + m + "` supplied to `" + u + "`, expected a single ReactElement."));
|
|
10577
10576
|
}
|
|
10578
10577
|
return null;
|
|
10579
10578
|
}
|
|
@@ -10583,8 +10582,8 @@ function QH2() {
|
|
|
10583
10582
|
function M(t, h, u, Z, g) {
|
|
10584
10583
|
var k = t[h];
|
|
10585
10584
|
if (!C.isValidElementType(k)) {
|
|
10586
|
-
var
|
|
10587
|
-
return new p("Invalid " + Z + " `" + g + "` of type " + ("`" +
|
|
10585
|
+
var m = N(k);
|
|
10586
|
+
return new p("Invalid " + Z + " `" + g + "` of type " + ("`" + m + "` supplied to `" + u + "`, expected a single ReactElement type."));
|
|
10588
10587
|
}
|
|
10589
10588
|
return null;
|
|
10590
10589
|
}
|
|
@@ -10593,8 +10592,8 @@ function QH2() {
|
|
|
10593
10592
|
function G(M) {
|
|
10594
10593
|
function t(h, u, Z, g, k) {
|
|
10595
10594
|
if (!(h[u] instanceof M)) {
|
|
10596
|
-
var
|
|
10597
|
-
return new p("Invalid " + g + " `" + k + "` of type " + ("`" + y + "` supplied to `" + Z + "`, expected ") + ("instance of `" +
|
|
10595
|
+
var m = M.name || R, y = H1(h[u]);
|
|
10596
|
+
return new p("Invalid " + g + " `" + k + "` of type " + ("`" + y + "` supplied to `" + Z + "`, expected ") + ("instance of `" + m + "`."));
|
|
10598
10597
|
}
|
|
10599
10598
|
return null;
|
|
10600
10599
|
}
|
|
@@ -10606,14 +10605,14 @@ function QH2() {
|
|
|
10606
10605
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
10607
10606
|
) : r("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
10608
10607
|
function t(h, u, Z, g, k) {
|
|
10609
|
-
for (var
|
|
10610
|
-
if (d(
|
|
10608
|
+
for (var m = h[u], y = 0; y < M.length; y++)
|
|
10609
|
+
if (d(m, M[y]))
|
|
10611
10610
|
return null;
|
|
10612
10611
|
var P = JSON.stringify(M, function(Q, e) {
|
|
10613
10612
|
var $ = z(e);
|
|
10614
10613
|
return $ === "symbol" ? String(e) : e;
|
|
10615
10614
|
});
|
|
10616
|
-
return new p("Invalid " + g + " `" + k + "` of value `" + String(
|
|
10615
|
+
return new p("Invalid " + g + " `" + k + "` of value `" + String(m) + "` " + ("supplied to `" + Z + "`, expected one of " + P + "."));
|
|
10617
10616
|
}
|
|
10618
10617
|
return b(t);
|
|
10619
10618
|
}
|
|
@@ -10621,12 +10620,12 @@ function QH2() {
|
|
|
10621
10620
|
function t(h, u, Z, g, k) {
|
|
10622
10621
|
if (typeof M != "function")
|
|
10623
10622
|
return new p("Property `" + k + "` of component `" + Z + "` has invalid PropType notation inside objectOf.");
|
|
10624
|
-
var
|
|
10623
|
+
var m = h[u], y = N(m);
|
|
10625
10624
|
if (y !== "object")
|
|
10626
10625
|
return new p("Invalid " + g + " `" + k + "` of type " + ("`" + y + "` supplied to `" + Z + "`, expected an object."));
|
|
10627
|
-
for (var P in
|
|
10628
|
-
if (H(
|
|
10629
|
-
var w = M(
|
|
10626
|
+
for (var P in m)
|
|
10627
|
+
if (H(m, P)) {
|
|
10628
|
+
var w = M(m, P, Z, g, k + "." + P, L);
|
|
10630
10629
|
if (w instanceof Error)
|
|
10631
10630
|
return w;
|
|
10632
10631
|
}
|
|
@@ -10644,15 +10643,15 @@ function QH2() {
|
|
|
10644
10643
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + S(h) + " at index " + t + "."
|
|
10645
10644
|
), a;
|
|
10646
10645
|
}
|
|
10647
|
-
function u(Z, g, k,
|
|
10646
|
+
function u(Z, g, k, m, y) {
|
|
10648
10647
|
for (var P = [], w = 0; w < M.length; w++) {
|
|
10649
|
-
var Q = M[w], e = Q(Z, g, k,
|
|
10648
|
+
var Q = M[w], e = Q(Z, g, k, m, y, L);
|
|
10650
10649
|
if (e == null)
|
|
10651
10650
|
return null;
|
|
10652
10651
|
e.data && H(e.data, "expectedType") && P.push(e.data.expectedType);
|
|
10653
10652
|
}
|
|
10654
10653
|
var $ = P.length > 0 ? ", expected one of type [" + P.join(", ") + "]" : "";
|
|
10655
|
-
return new p("Invalid " +
|
|
10654
|
+
return new p("Invalid " + m + " `" + y + "` supplied to " + ("`" + k + "`" + $ + "."));
|
|
10656
10655
|
}
|
|
10657
10656
|
return b(u);
|
|
10658
10657
|
}
|
|
@@ -10669,14 +10668,14 @@ function QH2() {
|
|
|
10669
10668
|
}
|
|
10670
10669
|
function Y(M) {
|
|
10671
10670
|
function t(h, u, Z, g, k) {
|
|
10672
|
-
var
|
|
10671
|
+
var m = h[u], y = N(m);
|
|
10673
10672
|
if (y !== "object")
|
|
10674
10673
|
return new p("Invalid " + g + " `" + k + "` of type `" + y + "` " + ("supplied to `" + Z + "`, expected `object`."));
|
|
10675
10674
|
for (var P in M) {
|
|
10676
10675
|
var w = M[P];
|
|
10677
10676
|
if (typeof w != "function")
|
|
10678
10677
|
return X(Z, g, k, P, z(w));
|
|
10679
|
-
var Q = w(
|
|
10678
|
+
var Q = w(m, P, Z, g, k + "." + P, L);
|
|
10680
10679
|
if (Q)
|
|
10681
10680
|
return Q;
|
|
10682
10681
|
}
|
|
@@ -10686,7 +10685,7 @@ function QH2() {
|
|
|
10686
10685
|
}
|
|
10687
10686
|
function C1(M) {
|
|
10688
10687
|
function t(h, u, Z, g, k) {
|
|
10689
|
-
var
|
|
10688
|
+
var m = h[u], y = N(m);
|
|
10690
10689
|
if (y !== "object")
|
|
10691
10690
|
return new p("Invalid " + g + " `" + k + "` of type `" + y + "` " + ("supplied to `" + Z + "`, expected `object`."));
|
|
10692
10691
|
var P = A({}, h[u], M);
|
|
@@ -10699,7 +10698,7 @@ function QH2() {
|
|
|
10699
10698
|
"Invalid " + g + " `" + k + "` key `" + w + "` supplied to `" + Z + "`.\nBad object: " + JSON.stringify(h[u], null, " ") + `
|
|
10700
10699
|
Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
10701
10700
|
);
|
|
10702
|
-
var e = Q(
|
|
10701
|
+
var e = Q(m, w, Z, g, k + "." + w, L);
|
|
10703
10702
|
if (e)
|
|
10704
10703
|
return e;
|
|
10705
10704
|
}
|
|
@@ -10718,7 +10717,7 @@ Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
|
10718
10717
|
case "object":
|
|
10719
10718
|
if (Array.isArray(M))
|
|
10720
10719
|
return M.every(_);
|
|
10721
|
-
if (M === null ||
|
|
10720
|
+
if (M === null || o(M))
|
|
10722
10721
|
return !0;
|
|
10723
10722
|
var t = B(M);
|
|
10724
10723
|
if (t) {
|
|
@@ -10789,7 +10788,7 @@ function zH2() {
|
|
|
10789
10788
|
function L() {
|
|
10790
10789
|
}
|
|
10791
10790
|
return L.resetWarningCache = A, p1 = function() {
|
|
10792
|
-
function H(a,
|
|
10791
|
+
function H(a, o, v, f, O, B) {
|
|
10793
10792
|
if (B !== C) {
|
|
10794
10793
|
var R = new Error(
|
|
10795
10794
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -10853,8 +10852,8 @@ function jH2() {
|
|
|
10853
10852
|
}, L.t = function(H, V) {
|
|
10854
10853
|
if (1 & V && (H = L(H)), 8 & V || 4 & V && typeof H == "object" && H && H.__esModule) return H;
|
|
10855
10854
|
var r = /* @__PURE__ */ Object.create(null);
|
|
10856
|
-
if (L.r(r), Object.defineProperty(r, "default", { enumerable: !0, value: H }), 2 & V && typeof H != "string") for (var a in H) L.d(r, a, (function(
|
|
10857
|
-
return H[
|
|
10855
|
+
if (L.r(r), Object.defineProperty(r, "default", { enumerable: !0, value: H }), 2 & V && typeof H != "string") for (var a in H) L.d(r, a, (function(o) {
|
|
10856
|
+
return H[o];
|
|
10858
10857
|
}).bind(null, a));
|
|
10859
10858
|
return r;
|
|
10860
10859
|
}, L.n = function(H) {
|
|
@@ -10886,19 +10885,19 @@ function jH2() {
|
|
|
10886
10885
|
for (s = Object.getOwnPropertySymbols(d); x < s.length; x++) p.indexOf(s[x]) < 0 && Object.prototype.propertyIsEnumerable.call(d, s[x]) && (b[s[x]] = d[s[x]]);
|
|
10887
10886
|
}
|
|
10888
10887
|
return b;
|
|
10889
|
-
},
|
|
10888
|
+
}, o = 0, v = H.forwardRef(function(d, p) {
|
|
10890
10889
|
var b = d.title, s = b === void 0 ? null : b, x = d.description, E = x === void 0 ? null : x, F = d.size, i = F === void 0 ? null : F, G = d.color, q = G === void 0 ? "currentColor" : G, c = d.horizontal, j = c === void 0 ? null : c, J = d.vertical, X = J === void 0 ? null : J, Y = d.rotate, C1 = Y === void 0 ? null : Y, _ = d.spin, U = _ === void 0 ? null : _, N = d.style, z = N === void 0 ? {} : N, S = d.children, H1 = a(d, ["title", "description", "size", "color", "horizontal", "vertical", "rotate", "spin", "style", "children"]);
|
|
10891
|
-
|
|
10890
|
+
o++;
|
|
10892
10891
|
var M, t = U !== null && U, h = H.Children.map(S, function(k) {
|
|
10893
|
-
var
|
|
10894
|
-
t !== !0 && (t = (U === null ?
|
|
10895
|
-
var y =
|
|
10896
|
-
typeof i == "number" && typeof
|
|
10897
|
-
var P = { size: y, color: q === null ?
|
|
10898
|
-
return H.cloneElement(
|
|
10892
|
+
var m = k;
|
|
10893
|
+
t !== !0 && (t = (U === null ? m.props.spin : U) === !0);
|
|
10894
|
+
var y = m.props.size;
|
|
10895
|
+
typeof i == "number" && typeof m.props.size == "number" && (y = m.props.size / i);
|
|
10896
|
+
var P = { size: y, color: q === null ? m.props.color : q, horizontal: j === null ? m.props.horizontal : j, vertical: X === null ? m.props.vertical : X, rotate: C1 === null ? m.props.rotate : C1, spin: U === null ? m.props.spin : U, inStack: !0 };
|
|
10897
|
+
return H.cloneElement(m, P);
|
|
10899
10898
|
});
|
|
10900
10899
|
i !== null && (z.width = typeof i == "string" ? i : 1.5 * i + "rem");
|
|
10901
|
-
var u, Z = "stack_labelledby_" +
|
|
10900
|
+
var u, Z = "stack_labelledby_" + o, g = "stack_describedby_" + o;
|
|
10902
10901
|
if (s) M = E ? Z + " " + g : Z;
|
|
10903
10902
|
else if (u = "presentation", E) throw new Error("title attribute required when description is set");
|
|
10904
10903
|
return H.createElement("svg", r({ ref: p, viewBox: "0 0 24 24", style: z, role: u, "aria-labelledby": M }, H1), s && H.createElement("title", { id: Z }, s), E && H.createElement("desc", { id: g }, E), t && H.createElement("style", null, "@keyframes spin { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }", "@keyframes spin-inverse { from { transform: rotate(0deg) } to { transform: rotate(-360deg) } }"), h);
|
|
@@ -10926,10 +10925,10 @@ function jH2() {
|
|
|
10926
10925
|
}, R = 0, D = H.forwardRef(function(d, p) {
|
|
10927
10926
|
var b = d.path, s = d.id, x = s === void 0 ? ++R : s, E = d.title, F = E === void 0 ? null : E, i = d.description, G = i === void 0 ? null : i, q = d.size, c = q === void 0 ? null : q, j = d.color, J = j === void 0 ? "currentColor" : j, X = d.horizontal, Y = X !== void 0 && X, C1 = d.vertical, _ = C1 !== void 0 && C1, U = d.rotate, N = U === void 0 ? 0 : U, z = d.spin, S = z !== void 0 && z, H1 = d.style, M = H1 === void 0 ? {} : H1, t = d.inStack, h = t !== void 0 && t, u = B(d, ["path", "id", "title", "description", "size", "color", "horizontal", "vertical", "rotate", "spin", "style", "inStack"]), Z = {}, g = [];
|
|
10928
10927
|
c !== null && (h ? g.push("scale(" + c + ")") : (M.width = typeof c == "string" ? c : 1.5 * c + "rem", M.height = M.width)), Y && g.push("scaleX(-1)"), _ && g.push("scaleY(-1)"), N !== 0 && g.push("rotate(" + N + "deg)"), J !== null && (Z.fill = J);
|
|
10929
|
-
var k = H.createElement("path", O({ d: b, style: Z }, h ? u : {})),
|
|
10930
|
-
g.length > 0 && (M.transform = g.join(" "), M.transformOrigin = "center", h && (
|
|
10931
|
-
var y, P =
|
|
10932
|
-
if (w < 0 && (Q = !Q), S && (P = H.createElement("g", { style: { animation: "spin" + (Q ? "-inverse" : "") + " linear " + Math.abs(w) + "s infinite", transformOrigin: "center" } },
|
|
10928
|
+
var k = H.createElement("path", O({ d: b, style: Z }, h ? u : {})), m = k;
|
|
10929
|
+
g.length > 0 && (M.transform = g.join(" "), M.transformOrigin = "center", h && (m = H.createElement("g", { style: M }, k, H.createElement("rect", { width: "24", height: "24", fill: "transparent" }))));
|
|
10930
|
+
var y, P = m, w = S === !0 || typeof S != "number" ? 2 : S, Q = !h && (Y || _);
|
|
10931
|
+
if (w < 0 && (Q = !Q), S && (P = H.createElement("g", { style: { animation: "spin" + (Q ? "-inverse" : "") + " linear " + Math.abs(w) + "s infinite", transformOrigin: "center" } }, m, !(Y || _ || N !== 0) && H.createElement("rect", { width: "24", height: "24", fill: "transparent" }))), h) return P;
|
|
10933
10932
|
var e, $ = "icon_labelledby_" + x, r1 = "icon_describedby_" + x;
|
|
10934
10933
|
if (F) y = G ? $ + " " + r1 : $;
|
|
10935
10934
|
else if (e = "presentation", G) throw new Error("title attribute required when description is set");
|
|
@@ -10985,13 +10984,13 @@ const _H2 = /* @__PURE__ */ i2(KH2), h1 = ({ className: C = "", icon: A, size: L
|
|
|
10985
10984
|
icon: V = "",
|
|
10986
10985
|
iconAlign: r = "left",
|
|
10987
10986
|
isLoading: a = !1,
|
|
10988
|
-
size:
|
|
10987
|
+
size: o = "md",
|
|
10989
10988
|
type: v = "button",
|
|
10990
10989
|
variant: f = "primary",
|
|
10991
10990
|
...O
|
|
10992
10991
|
}) => {
|
|
10993
10992
|
const B = V !== "" && !C, R = () => {
|
|
10994
|
-
switch (
|
|
10993
|
+
switch (o) {
|
|
10995
10994
|
case "sm":
|
|
10996
10995
|
return 0.6;
|
|
10997
10996
|
case "lg":
|
|
@@ -11009,7 +11008,7 @@ const _H2 = /* @__PURE__ */ i2(KH2), h1 = ({ className: C = "", icon: A, size: L
|
|
|
11009
11008
|
qH2[f],
|
|
11010
11009
|
YH2[f],
|
|
11011
11010
|
$H2[f],
|
|
11012
|
-
B ? JH2[
|
|
11011
|
+
B ? JH2[o] : XH2[o],
|
|
11013
11012
|
H && "w-full justify-center",
|
|
11014
11013
|
A
|
|
11015
11014
|
),
|