@versini/sassysaint 8.21.2 → 8.21.3
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/{2ZEF3XTO.DQbHIga_.js → 2ZEF3XTO.BlBKiNdX.js} +1 -1
- package/dist/chunks/{AboutChangelog.DY7R3De_.js → AboutChangelog.DeVVU46h.js} +2 -2
- package/dist/chunks/{App.DjKBpaWe.js → App.DaBXM1Ip.js} +1507 -1505
- package/dist/chunks/{Chart.wOI8U5Ff.js → Chart.CEmow1mt.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C3yRxa3k.js → ChatBubbleAssistant.BKVCSjUM.js} +3 -3
- package/dist/chunks/{index.DTxuGpdf.js → index.B2pHZ7-1.js} +3 -3
- package/dist/chunks/{index.BlMHZJ4j.js → index.Cgu8uuA9.js} +1 -1
- package/dist/chunks/{index.VxpF2Jlo.js → index.Cp5eBR8N.js} +121 -116
- package/dist/chunks/{index.F5-44LmV.js → index.DFu9AHJP.js} +1 -1
- package/dist/chunks/{index.CeOS8-ml.js → index.DIU1DNLu.js} +1 -1
- package/dist/chunks/{index.DbVVY_Gu.js → index.LB4pVjQU.js} +2 -2
- package/dist/chunks/{useMarkdown.Bl0_jHbs.js → useMarkdown.C34uv6xl.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +5 -5
@@ -1,8 +1,8 @@
|
|
1
|
-
var
|
1
|
+
var An = (e) => {
|
2
2
|
throw TypeError(e);
|
3
3
|
};
|
4
|
-
var xr = (e, t, r) => t.has(e) ||
|
5
|
-
var f = (e, t, r) => (xr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), A = (e, t, r) => t.has(e) ?
|
4
|
+
var xr = (e, t, r) => t.has(e) || An("Cannot " + r);
|
5
|
+
var f = (e, t, r) => (xr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), A = (e, t, r) => t.has(e) ? An("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), w = (e, t, r, n) => (xr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Q = (e, t, r) => (xr(e, t, "access private method"), r);
|
6
6
|
var Jt = (e, t, r, n) => ({
|
7
7
|
set _(s) {
|
8
8
|
w(e, t, s, r);
|
@@ -13,7 +13,7 @@ var Jt = (e, t, r, n) => ({
|
|
13
13
|
});
|
14
14
|
import { jsx as p, jsxs as te, Fragment as dr } from "react/jsx-runtime";
|
15
15
|
import * as oe from "react";
|
16
|
-
import ke, { createContext as ls, useReducer as us, useCallback as Ae, useRef as J, useEffect as de, useSyncExternalStore as ki, useContext as
|
16
|
+
import ke, { createContext as ls, useReducer as us, useCallback as Ae, useRef as J, useEffect as de, useSyncExternalStore as ki, useContext as yn, useLayoutEffect as fr, useState as Te, useMemo as Tr, useId as ds, Suspense as Ri, lazy as Oi } from "react";
|
17
17
|
import b from "clsx";
|
18
18
|
var Ar = class {
|
19
19
|
constructor() {
|
@@ -43,7 +43,7 @@ function Ci(e) {
|
|
43
43
|
function Ni(e, t) {
|
44
44
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
45
45
|
}
|
46
|
-
function
|
46
|
+
function zr(e, t) {
|
47
47
|
return typeof e == "function" ? e(t) : e;
|
48
48
|
}
|
49
49
|
function Pi(e, t) {
|
@@ -60,7 +60,7 @@ function In(e, t) {
|
|
60
60
|
} = e;
|
61
61
|
if (a) {
|
62
62
|
if (n) {
|
63
|
-
if (t.queryHash !==
|
63
|
+
if (t.queryHash !== mn(a, t.options))
|
64
64
|
return !1;
|
65
65
|
} else if (!Ct(t.queryKey, a))
|
66
66
|
return !1;
|
@@ -85,28 +85,28 @@ function kn(e, t) {
|
|
85
85
|
}
|
86
86
|
return !(n && t.state.status !== n || s && !s(t));
|
87
87
|
}
|
88
|
-
function
|
88
|
+
function mn(e, t) {
|
89
89
|
return ((t == null ? void 0 : t.queryKeyHashFn) || _t)(e);
|
90
90
|
}
|
91
91
|
function _t(e) {
|
92
92
|
return JSON.stringify(
|
93
93
|
e,
|
94
|
-
(t, r) =>
|
94
|
+
(t, r) => Yr(r) ? Object.keys(r).sort().reduce((n, s) => (n[s] = r[s], n), {}) : r
|
95
95
|
);
|
96
96
|
}
|
97
97
|
function Ct(e, t) {
|
98
98
|
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => Ct(e[r], t[r])) : !1;
|
99
99
|
}
|
100
|
-
function
|
100
|
+
function Qr(e, t) {
|
101
101
|
if (e === t)
|
102
102
|
return e;
|
103
103
|
const r = Rn(e) && Rn(t);
|
104
|
-
if (r ||
|
104
|
+
if (r || Yr(e) && Yr(t)) {
|
105
105
|
const n = r ? e : Object.keys(e), s = n.length, i = r ? t : Object.keys(t), a = i.length, o = r ? [] : {};
|
106
106
|
let c = 0;
|
107
107
|
for (let u = 0; u < a; u++) {
|
108
108
|
const d = r ? u : i[u];
|
109
|
-
(!r && n.includes(d) || r) && e[d] === void 0 && t[d] === void 0 ? (o[d] = void 0, c++) : (o[d] =
|
109
|
+
(!r && n.includes(d) || r) && e[d] === void 0 && t[d] === void 0 ? (o[d] = void 0, c++) : (o[d] = Qr(e[d], t[d]), o[d] === e[d] && e[d] !== void 0 && c++);
|
110
110
|
}
|
111
111
|
return s === a && c === s ? e : o;
|
112
112
|
}
|
@@ -123,7 +123,7 @@ function wu(e, t) {
|
|
123
123
|
function Rn(e) {
|
124
124
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
125
125
|
}
|
126
|
-
function
|
126
|
+
function Yr(e) {
|
127
127
|
if (!On(e))
|
128
128
|
return !1;
|
129
129
|
const t = e.constructor;
|
@@ -146,13 +146,13 @@ function Di(e, t, r) {
|
|
146
146
|
if (r.structuralSharing !== !1) {
|
147
147
|
if (process.env.NODE_ENV !== "production")
|
148
148
|
try {
|
149
|
-
return
|
149
|
+
return Qr(e, t);
|
150
150
|
} catch (n) {
|
151
151
|
throw console.error(
|
152
152
|
`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${n}`
|
153
153
|
), n;
|
154
154
|
}
|
155
|
-
return
|
155
|
+
return Qr(e, t);
|
156
156
|
}
|
157
157
|
return t;
|
158
158
|
}
|
@@ -480,13 +480,18 @@ var ee = Bi(), Ve, rs, gs = (rs = class {
|
|
480
480
|
isDisabled() {
|
481
481
|
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === hr || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
|
482
482
|
}
|
483
|
+
isStatic() {
|
484
|
+
return this.getObserversCount() > 0 ? this.observers.some(
|
485
|
+
(t) => zr(t.options.staleTime, this) === "static"
|
486
|
+
) : !1;
|
487
|
+
}
|
483
488
|
isStale() {
|
484
|
-
return this.
|
489
|
+
return this.getObserversCount() > 0 ? this.observers.some(
|
485
490
|
(t) => t.getCurrentResult().isStale
|
486
|
-
) : this.state.data === void 0;
|
491
|
+
) : this.state.data === void 0 || this.state.isInvalidated;
|
487
492
|
}
|
488
493
|
isStaleByTime(t = 0) {
|
489
|
-
return this.state.
|
494
|
+
return this.state.data === void 0 ? !0 : t === "static" ? !1 : this.state.isInvalidated ? !0 : !Ni(this.state.dataUpdatedAt, t);
|
490
495
|
}
|
491
496
|
onFocus() {
|
492
497
|
var r;
|
@@ -715,7 +720,7 @@ var ye, ss, qi = (ss = class extends Ar {
|
|
715
720
|
this.config = t, w(this, ye, /* @__PURE__ */ new Map());
|
716
721
|
}
|
717
722
|
build(t, r, n) {
|
718
|
-
const s = r.queryKey, i = r.queryHash ??
|
723
|
+
const s = r.queryKey, i = r.queryHash ?? mn(s, r);
|
719
724
|
let a = this.get(i);
|
720
725
|
return a || (a = new Vi({
|
721
726
|
client: t,
|
@@ -1204,7 +1209,7 @@ var U, xe, De, lt, ut, $e, dt, ft, os, Yi = (os = class {
|
|
1204
1209
|
}
|
1205
1210
|
ensureQueryData(e) {
|
1206
1211
|
const t = this.defaultQueryOptions(e), r = f(this, U).build(this, t), n = r.state.data;
|
1207
|
-
return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(
|
1212
|
+
return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(zr(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(n));
|
1208
1213
|
}
|
1209
1214
|
getQueriesData(e) {
|
1210
1215
|
return f(this, U).findAll(e).map(({ queryKey: t, state: r }) => {
|
@@ -1276,7 +1281,7 @@ var U, xe, De, lt, ut, $e, dt, ft, os, Yi = (os = class {
|
|
1276
1281
|
...t,
|
1277
1282
|
cancelRefetch: t.cancelRefetch ?? !0
|
1278
1283
|
}, n = ee.batch(
|
1279
|
-
() => f(this, U).findAll(e).filter((s) => !s.isDisabled()).map((s) => {
|
1284
|
+
() => f(this, U).findAll(e).filter((s) => !s.isDisabled() && !s.isStatic()).map((s) => {
|
1280
1285
|
let i = s.fetch(void 0, r);
|
1281
1286
|
return r.throwOnError || (i = i.catch(ce)), s.state.fetchStatus === "paused" ? Promise.resolve() : i;
|
1282
1287
|
})
|
@@ -1288,7 +1293,7 @@ var U, xe, De, lt, ut, $e, dt, ft, os, Yi = (os = class {
|
|
1288
1293
|
t.retry === void 0 && (t.retry = !1);
|
1289
1294
|
const r = f(this, U).build(this, t);
|
1290
1295
|
return r.isStaleByTime(
|
1291
|
-
|
1296
|
+
zr(t.staleTime, r)
|
1292
1297
|
) ? r.fetch(t) : Promise.resolve(r.state.data);
|
1293
1298
|
}
|
1294
1299
|
prefetchQuery(e) {
|
@@ -1351,7 +1356,7 @@ var U, xe, De, lt, ut, $e, dt, ft, os, Yi = (os = class {
|
|
1351
1356
|
...e,
|
1352
1357
|
_defaulted: !0
|
1353
1358
|
};
|
1354
|
-
return t.queryHash || (t.queryHash =
|
1359
|
+
return t.queryHash || (t.queryHash = mn(
|
1355
1360
|
t.queryKey,
|
1356
1361
|
t
|
1357
1362
|
)), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === hr && (t.enabled = !1), t;
|
@@ -1474,11 +1479,11 @@ function na(e, t, r) {
|
|
1474
1479
|
refetching: O
|
1475
1480
|
})
|
1476
1481
|
);
|
1477
|
-
return ra(R) ? (a = R, "value" in R ? (R.status === "success" ? k(a, R.value, void 0, v) : k(a, void 0,
|
1482
|
+
return ra(R) ? (a = R, "value" in R ? (R.status === "success" ? k(a, R.value, void 0, v) : k(a, void 0, Xr(R.value), v), R) : (c = !0, queueMicrotask(() => c = !1), be(() => {
|
1478
1483
|
T(u ? "refreshing" : "pending"), I();
|
1479
1484
|
}, !1), R.then(
|
1480
1485
|
($) => k(R, $, void 0, v),
|
1481
|
-
($) => k(R, void 0,
|
1486
|
+
($) => k(R, void 0, Xr($), v)
|
1482
1487
|
))) : (k(a, R, void 0, v), R);
|
1483
1488
|
}
|
1484
1489
|
return Object.defineProperties(M, {
|
@@ -1553,7 +1558,7 @@ function aa(e, t) {
|
|
1553
1558
|
try {
|
1554
1559
|
return be(t, !0);
|
1555
1560
|
} catch (s) {
|
1556
|
-
|
1561
|
+
pn(s);
|
1557
1562
|
} finally {
|
1558
1563
|
P = r, L = n;
|
1559
1564
|
}
|
@@ -1583,7 +1588,7 @@ function ku(e) {
|
|
1583
1588
|
return P && P.context && (t = P.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1584
1589
|
}
|
1585
1590
|
function Ts(e) {
|
1586
|
-
const t = W(e), r = W(() =>
|
1591
|
+
const t = W(e), r = W(() => Zr(t()));
|
1587
1592
|
return r.toArray = () => {
|
1588
1593
|
const n = r();
|
1589
1594
|
return Array.isArray(n) ? n : n != null ? [n] : [];
|
@@ -1630,7 +1635,7 @@ function la(e, t, r) {
|
|
1630
1635
|
try {
|
1631
1636
|
n = e.fn(t);
|
1632
1637
|
} catch (a) {
|
1633
|
-
return e.pure && (e.state = Re, e.owned && e.owned.forEach(xt), e.owned = null), e.updatedAt = r + 1,
|
1638
|
+
return e.pure && (e.state = Re, e.owned && e.owned.forEach(xt), e.owned = null), e.updatedAt = r + 1, pn(a);
|
1634
1639
|
} finally {
|
1635
1640
|
L = i, P = s;
|
1636
1641
|
}
|
@@ -1675,7 +1680,7 @@ function be(e, t) {
|
|
1675
1680
|
const n = e();
|
1676
1681
|
return ua(r), n;
|
1677
1682
|
} catch (n) {
|
1678
|
-
r || (Ie = null), X = null,
|
1683
|
+
r || (Ie = null), X = null, pn(n);
|
1679
1684
|
}
|
1680
1685
|
}
|
1681
1686
|
function ua(e) {
|
@@ -1734,20 +1739,20 @@ function xt(e) {
|
|
1734
1739
|
}
|
1735
1740
|
e.state = 0;
|
1736
1741
|
}
|
1737
|
-
function
|
1742
|
+
function Xr(e) {
|
1738
1743
|
return e instanceof Error ? e : new Error(typeof e == "string" ? e : "Unknown error", {
|
1739
1744
|
cause: e
|
1740
1745
|
});
|
1741
1746
|
}
|
1742
|
-
function
|
1743
|
-
throw
|
1747
|
+
function pn(e, t = P) {
|
1748
|
+
throw Xr(e);
|
1744
1749
|
}
|
1745
|
-
function
|
1746
|
-
if (typeof e == "function" && !e.length) return
|
1750
|
+
function Zr(e) {
|
1751
|
+
if (typeof e == "function" && !e.length) return Zr(e());
|
1747
1752
|
if (Array.isArray(e)) {
|
1748
1753
|
const t = [];
|
1749
1754
|
for (let r = 0; r < e.length; r++) {
|
1750
|
-
const n =
|
1755
|
+
const n = Zr(e[r]);
|
1751
1756
|
Array.isArray(n) ? t.push.apply(t, n) : t.push(n);
|
1752
1757
|
}
|
1753
1758
|
return t;
|
@@ -1766,7 +1771,7 @@ function fa(e, t) {
|
|
1766
1771
|
), s;
|
1767
1772
|
};
|
1768
1773
|
}
|
1769
|
-
var
|
1774
|
+
var en = Symbol("fallback");
|
1770
1775
|
function wr(e) {
|
1771
1776
|
for (let t = 0; t < e.length; t++) e[t]();
|
1772
1777
|
}
|
@@ -1777,7 +1782,7 @@ function ha(e, t, r = {}) {
|
|
1777
1782
|
return z(() => {
|
1778
1783
|
let y, m, g, E, I, _, T, k, C;
|
1779
1784
|
if (u === 0)
|
1780
|
-
a !== 0 && (wr(i), i = [], n = [], s = [], a = 0, o && (o = [])), r.fallback && (n = [
|
1785
|
+
a !== 0 && (wr(i), i = [], n = [], s = [], a = 0, o && (o = [])), r.fallback && (n = [en], s[0] = Je((M) => (i[0] = M, r.fallback())), a = 1);
|
1781
1786
|
else if (a === 0) {
|
1782
1787
|
for (s = new Array(u), l = 0; l < u; l++)
|
1783
1788
|
n[l] = c[l], s[l] = Je(h);
|
@@ -1811,8 +1816,8 @@ function ya(e, t, r = {}) {
|
|
1811
1816
|
const u = e() || [], d = u.length;
|
1812
1817
|
return z(() => {
|
1813
1818
|
if (d === 0)
|
1814
|
-
return o !== 0 && (wr(i), i = [], n = [], s = [], o = 0, a = []), r.fallback && (n = [
|
1815
|
-
for (n[0] ===
|
1819
|
+
return o !== 0 && (wr(i), i = [], n = [], s = [], o = 0, a = []), r.fallback && (n = [en], s[0] = Je((h) => (i[0] = h, r.fallback())), o = 1), s;
|
1820
|
+
for (n[0] === en && (i[0](), i = [], n = [], s = [], o = 0), c = 0; c < d; c++)
|
1816
1821
|
c < n.length && n[c] !== u[c] ? a[c](() => u[c]) : c >= n.length && (s[c] = Je(l));
|
1817
1822
|
for (; c < n.length; c++)
|
1818
1823
|
i[c]();
|
@@ -1831,7 +1836,7 @@ function ma(e, t) {
|
|
1831
1836
|
function Qt() {
|
1832
1837
|
return !0;
|
1833
1838
|
}
|
1834
|
-
var
|
1839
|
+
var tn = {
|
1835
1840
|
get(e, t, r) {
|
1836
1841
|
return t === yr ? r : e.get(t);
|
1837
1842
|
},
|
@@ -1891,7 +1896,7 @@ function ga(...e) {
|
|
1891
1896
|
return [...new Set(a)];
|
1892
1897
|
}
|
1893
1898
|
},
|
1894
|
-
|
1899
|
+
tn
|
1895
1900
|
);
|
1896
1901
|
const r = {}, n = /* @__PURE__ */ Object.create(null);
|
1897
1902
|
for (let a = e.length - 1; a >= 0; a--) {
|
@@ -1935,7 +1940,7 @@ function ba(e, ...t) {
|
|
1935
1940
|
return a.filter((o) => o in e);
|
1936
1941
|
}
|
1937
1942
|
},
|
1938
|
-
|
1943
|
+
tn
|
1939
1944
|
));
|
1940
1945
|
return i.push(
|
1941
1946
|
new Proxy(
|
@@ -1950,7 +1955,7 @@ function ba(e, ...t) {
|
|
1950
1955
|
return Object.keys(e).filter((a) => !s.has(a));
|
1951
1956
|
}
|
1952
1957
|
},
|
1953
|
-
|
1958
|
+
tn
|
1954
1959
|
)
|
1955
1960
|
), i;
|
1956
1961
|
}
|
@@ -2278,7 +2283,7 @@ var It = "_$DX_DELEGATE";
|
|
2278
2283
|
function Na(e, t, r, n = {}) {
|
2279
2284
|
let s;
|
2280
2285
|
return Je((i) => {
|
2281
|
-
s = i, t === document ? e() :
|
2286
|
+
s = i, t === document ? e() : nn(t, e(), t.firstChild ? null : void 0, r);
|
2282
2287
|
}, n.owner), () => {
|
2283
2288
|
s(), t.textContent = "";
|
2284
2289
|
};
|
@@ -2304,7 +2309,7 @@ function Du(e = window.document) {
|
|
2304
2309
|
delete e[It];
|
2305
2310
|
}
|
2306
2311
|
}
|
2307
|
-
function
|
2312
|
+
function rn(e, t, r) {
|
2308
2313
|
r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
|
2309
2314
|
}
|
2310
2315
|
function xa(e, t, r, n) {
|
@@ -2338,7 +2343,7 @@ function Ma(e, t, r = {}) {
|
|
2338
2343
|
return r;
|
2339
2344
|
}
|
2340
2345
|
function Ua(e, t, r) {
|
2341
|
-
if (!t) return r ?
|
2346
|
+
if (!t) return r ? rn(e, "style") : t;
|
2342
2347
|
const n = e.style;
|
2343
2348
|
if (typeof t == "string") return n.cssText = t;
|
2344
2349
|
typeof r == "string" && (n.cssText = r = void 0), r || (r = {}), t || (t = {});
|
@@ -2358,7 +2363,7 @@ function Ka(e, t = {}, r, n) {
|
|
2358
2363
|
function Ha(e, t, r) {
|
2359
2364
|
return z(() => e(t, r));
|
2360
2365
|
}
|
2361
|
-
function
|
2366
|
+
function nn(e, t, r, n) {
|
2362
2367
|
if (r !== void 0 && !n && (n = []), typeof t != "function") return Dt(e, t, n, r);
|
2363
2368
|
ze((s) => Dt(e, t(), s, r), n);
|
2364
2369
|
}
|
@@ -2405,14 +2410,14 @@ function Pn(e, t, r, n, s, i, a) {
|
|
2405
2410
|
}
|
2406
2411
|
(y || r) && (La(e, h, r, y), y && Pa([h]));
|
2407
2412
|
} else if (t.slice(0, 5) === "attr:")
|
2408
|
-
|
2413
|
+
rn(e, t.slice(5), r);
|
2409
2414
|
else if (t.slice(0, 5) === "bool:")
|
2410
2415
|
Da(e, t.slice(5), r);
|
2411
2416
|
else if ((l = t.slice(0, 5) === "prop:") || (u = Ta.has(t)) || !s && ((d = ka(t, e.tagName)) || (c = Sa.has(t))) || (o = e.nodeName.includes("-") || "is" in a))
|
2412
2417
|
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? $a(e, r) : o && !c && !u ? e[Ba(t)] = r : e[d || t] = r;
|
2413
2418
|
else {
|
2414
2419
|
const h = s && t.indexOf(":") > -1 && _a[t.split(":")[0]];
|
2415
|
-
h ? xa(e, h, t, r) :
|
2420
|
+
h ? xa(e, h, t, r) : rn(e, Aa[t] || t, r);
|
2416
2421
|
}
|
2417
2422
|
return r;
|
2418
2423
|
}
|
@@ -2473,7 +2478,7 @@ function Dt(e, t, r, n, s) {
|
|
2473
2478
|
}), () => r;
|
2474
2479
|
if (Array.isArray(t)) {
|
2475
2480
|
const o = [], c = r && Array.isArray(r);
|
2476
|
-
if (
|
2481
|
+
if (sn(o, t, r, s))
|
2477
2482
|
return ze(() => r = Dt(e, o, r, n, !0)), () => r;
|
2478
2483
|
if (o.length === 0) {
|
2479
2484
|
if (r = Ye(e, r, n), a) return r;
|
@@ -2489,18 +2494,18 @@ function Dt(e, t, r, n, s) {
|
|
2489
2494
|
}
|
2490
2495
|
return r;
|
2491
2496
|
}
|
2492
|
-
function
|
2497
|
+
function sn(e, t, r, n) {
|
2493
2498
|
let s = !1;
|
2494
2499
|
for (let i = 0, a = t.length; i < a; i++) {
|
2495
2500
|
let o = t[i], c = r && r[e.length], u;
|
2496
2501
|
if (!(o == null || o === !0 || o === !1)) if ((u = typeof o) == "object" && o.nodeType)
|
2497
2502
|
e.push(o);
|
2498
2503
|
else if (Array.isArray(o))
|
2499
|
-
s =
|
2504
|
+
s = sn(e, o, c) || s;
|
2500
2505
|
else if (u === "function")
|
2501
2506
|
if (n) {
|
2502
2507
|
for (; typeof o == "function"; ) o = o();
|
2503
|
-
s =
|
2508
|
+
s = sn(
|
2504
2509
|
e,
|
2505
2510
|
Array.isArray(o) ? o : [o],
|
2506
2511
|
Array.isArray(c) ? c : [c]
|
@@ -2545,7 +2550,7 @@ function $u(e) {
|
|
2545
2550
|
const a = n();
|
2546
2551
|
if (a instanceof HTMLHeadElement) {
|
2547
2552
|
const [o, c] = ne(!1), u = () => c(!0);
|
2548
|
-
Je((d) =>
|
2553
|
+
Je((d) => nn(a, () => o() ? d() : i(), null)), Pt(u);
|
2549
2554
|
} else {
|
2550
2555
|
const o = Cs(e.isSVG ? "g" : "div", e.isSVG), c = t && o.attachShadow ? o.attachShadow({
|
2551
2556
|
mode: "open"
|
@@ -2555,7 +2560,7 @@ function $u(e) {
|
|
2555
2560
|
return r.parentNode;
|
2556
2561
|
},
|
2557
2562
|
configurable: !0
|
2558
|
-
}),
|
2563
|
+
}), nn(c, i), a.appendChild(o), e.ref && e.ref(o), Pt(() => a.removeChild(o));
|
2559
2564
|
}
|
2560
2565
|
},
|
2561
2566
|
void 0,
|
@@ -2669,7 +2674,7 @@ var za = class {
|
|
2669
2674
|
findByName(e) {
|
2670
2675
|
return this.transfomers[e];
|
2671
2676
|
}
|
2672
|
-
}, Qa = (e) => Object.prototype.toString.call(e).slice(8, -1), Ps = (e) => typeof e > "u", Ya = (e) => e === null, $t = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype,
|
2677
|
+
}, Qa = (e) => Object.prototype.toString.call(e).slice(8, -1), Ps = (e) => typeof e > "u", Ya = (e) => e === null, $t = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, an = (e) => $t(e) && Object.keys(e).length === 0, Ue = (e) => Array.isArray(e), Xa = (e) => typeof e == "string", Za = (e) => typeof e == "number" && !isNaN(e), eo = (e) => typeof e == "boolean", to = (e) => e instanceof RegExp, Lt = (e) => e instanceof Map, Mt = (e) => e instanceof Set, xs = (e) => Qa(e) === "Symbol", ro = (e) => e instanceof Date && !isNaN(e.valueOf()), no = (e) => e instanceof Error, $n = (e) => typeof e == "number" && isNaN(e), so = (e) => eo(e) || Ya(e) || Ps(e) || Za(e) || Xa(e) || xs(e), io = (e) => typeof e == "bigint", ao = (e) => e === 1 / 0 || e === -1 / 0, oo = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), co = (e) => e instanceof URL, Ds = (e) => e.replace(/\./g, "\\."), Mr = (e) => e.map(String).map(Ds).join("."), kt = (e) => {
|
2673
2678
|
const t = [];
|
2674
2679
|
let r = "";
|
2675
2680
|
for (let s = 0; s < e.length; s++) {
|
@@ -2852,7 +2857,7 @@ var ho = (e, t) => {
|
|
2852
2857
|
e = e[n];
|
2853
2858
|
}
|
2854
2859
|
return e;
|
2855
|
-
},
|
2860
|
+
}, on = (e, t, r) => {
|
2856
2861
|
if (Bs(t), t.length === 0)
|
2857
2862
|
return r(e);
|
2858
2863
|
let n = e;
|
@@ -2901,34 +2906,34 @@ var ho = (e, t) => {
|
|
2901
2906
|
}
|
2902
2907
|
return e;
|
2903
2908
|
};
|
2904
|
-
function
|
2909
|
+
function cn(e, t, r = []) {
|
2905
2910
|
if (!e)
|
2906
2911
|
return;
|
2907
2912
|
if (!Ue(e)) {
|
2908
|
-
vt(e, (i, a) =>
|
2913
|
+
vt(e, (i, a) => cn(i, t, [...r, ...kt(a)]));
|
2909
2914
|
return;
|
2910
2915
|
}
|
2911
2916
|
const [n, s] = e;
|
2912
2917
|
s && vt(s, (i, a) => {
|
2913
|
-
|
2918
|
+
cn(i, t, [...r, ...kt(a)]);
|
2914
2919
|
}), t(n, r);
|
2915
2920
|
}
|
2916
2921
|
function yo(e, t, r) {
|
2917
|
-
return
|
2918
|
-
e =
|
2922
|
+
return cn(t, (n, s) => {
|
2923
|
+
e = on(e, s, (i) => fo(i, n, r));
|
2919
2924
|
}), e;
|
2920
2925
|
}
|
2921
2926
|
function mo(e, t) {
|
2922
2927
|
function r(n, s) {
|
2923
2928
|
const i = ho(e, kt(s));
|
2924
2929
|
n.map(kt).forEach((a) => {
|
2925
|
-
e =
|
2930
|
+
e = on(e, a, () => i);
|
2926
2931
|
});
|
2927
2932
|
}
|
2928
2933
|
if (Ue(t)) {
|
2929
2934
|
const [n, s] = t;
|
2930
2935
|
n.forEach((i) => {
|
2931
|
-
e =
|
2936
|
+
e = on(e, kt(i), () => e);
|
2932
2937
|
}), s && vt(s, r);
|
2933
2938
|
} else
|
2934
2939
|
vt(t, r);
|
@@ -2948,7 +2953,7 @@ function bo(e, t) {
|
|
2948
2953
|
t || (s = s.map((o) => o.map(String)).sort((o, c) => o.length - c.length));
|
2949
2954
|
const [i, ...a] = s;
|
2950
2955
|
i.length === 0 ? n = a.map(Mr) : r[Mr(i)] = a.map(Mr);
|
2951
|
-
}), n ?
|
2956
|
+
}), n ? an(r) ? [n] : [n, r] : an(r) ? void 0 : r;
|
2952
2957
|
}
|
2953
2958
|
var Vs = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
|
2954
2959
|
const o = so(e);
|
@@ -2982,7 +2987,7 @@ var Vs = (e, t, r, n, s = [], i = [], a = /* @__PURE__ */ new Map()) => {
|
|
2982
2987
|
l[Ds(m) + "." + I] = E;
|
2983
2988
|
});
|
2984
2989
|
});
|
2985
|
-
const h =
|
2990
|
+
const h = an(l) ? {
|
2986
2991
|
transformedValue: d,
|
2987
2992
|
annotations: c ? [c.type] : void 0
|
2988
2993
|
} : {
|
@@ -3012,16 +3017,16 @@ function vo(e, t, r, n, s) {
|
|
3012
3017
|
configurable: !0
|
3013
3018
|
});
|
3014
3019
|
}
|
3015
|
-
function
|
3020
|
+
function ln(e, t = {}) {
|
3016
3021
|
if (Mn(e))
|
3017
|
-
return e.map((s) =>
|
3022
|
+
return e.map((s) => ln(s, t));
|
3018
3023
|
if (!wo(e))
|
3019
3024
|
return e;
|
3020
3025
|
const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
|
3021
3026
|
return [...r, ...n].reduce((s, i) => {
|
3022
3027
|
if (Mn(t.props) && !t.props.includes(i))
|
3023
3028
|
return s;
|
3024
|
-
const a = e[i], o =
|
3029
|
+
const a = e[i], o = ln(a, t);
|
3025
3030
|
return vo(s, i, o, e, t.nonenumerable), s;
|
3026
3031
|
}, {});
|
3027
3032
|
}
|
@@ -3048,7 +3053,7 @@ var D = class {
|
|
3048
3053
|
}
|
3049
3054
|
deserialize(e) {
|
3050
3055
|
const { json: t, meta: r } = e;
|
3051
|
-
let n =
|
3056
|
+
let n = ln(t);
|
3052
3057
|
return r != null && r.values && (n = yo(n, r.values, this)), r != null && r.referentialEqualities && (n = mo(n, r.referentialEqualities)), n;
|
3053
3058
|
}
|
3054
3059
|
stringify(e) {
|
@@ -3241,7 +3246,7 @@ var Vu = (e, t = !1) => {
|
|
3241
3246
|
const t = Na(() => {
|
3242
3247
|
const r = this, [n] = f(this, mt), [s] = f(this, pt), [i] = f(this, gt), [a] = f(this, bt), [o] = f(this, ht);
|
3243
3248
|
let c;
|
3244
|
-
return f(this, wt) ? c = f(this, wt) : (c = wa(() => import("./2ZEF3XTO.
|
3249
|
+
return f(this, wt) ? c = f(this, wt) : (c = wa(() => import("./2ZEF3XTO.BlBKiNdX.js")), w(this, wt, c)), Io(f(this, Gt), f(this, yt)), ma(c, ga({
|
3245
3250
|
get queryFlavor() {
|
3246
3251
|
return f(r, Vt);
|
3247
3252
|
},
|
@@ -3402,12 +3407,12 @@ let ae = class extends Ke {
|
|
3402
3407
|
}
|
3403
3408
|
};
|
3404
3409
|
K(ae, "code", "ERR_JWT_CLAIM_VALIDATION_FAILED");
|
3405
|
-
let
|
3410
|
+
let un = class extends Ke {
|
3406
3411
|
constructor(t, r, n = "unspecified", s = "unspecified") {
|
3407
3412
|
super(t, { cause: { claim: n, reason: s, payload: r } }), K(this, "code", "ERR_JWT_EXPIRED"), K(this, "claim"), K(this, "reason"), K(this, "payload"), this.claim = n, this.reason = s, this.payload = r;
|
3408
3413
|
}
|
3409
3414
|
};
|
3410
|
-
K(
|
3415
|
+
K(un, "code", "ERR_JWT_EXPIRED");
|
3411
3416
|
let Js = class extends Ke {
|
3412
3417
|
constructor() {
|
3413
3418
|
super(...arguments), K(this, "code", "ERR_JOSE_ALG_NOT_ALLOWED");
|
@@ -3746,7 +3751,7 @@ const Wo = (e, t, r, n, s) => {
|
|
3746
3751
|
if (t)
|
3747
3752
|
return new Set(t);
|
3748
3753
|
};
|
3749
|
-
function
|
3754
|
+
function gn(e) {
|
3750
3755
|
return Ut(e) && typeof e.kty == "string";
|
3751
3756
|
}
|
3752
3757
|
function zo(e) {
|
@@ -3868,10 +3873,10 @@ const Un = async (e, t, r, n = !1) => {
|
|
3868
3873
|
let r = e.export({ format: "jwk" });
|
3869
3874
|
return Un(e, r, t);
|
3870
3875
|
}
|
3871
|
-
if (
|
3876
|
+
if (gn(e))
|
3872
3877
|
return e.k ? Ot(e.k) : Un(e, e, t, !0);
|
3873
3878
|
throw new Error("unreachable");
|
3874
|
-
}, rt = (e) => e == null ? void 0 : e[Symbol.toStringTag],
|
3879
|
+
}, rt = (e) => e == null ? void 0 : e[Symbol.toStringTag], dn = (e, t, r) => {
|
3875
3880
|
var n, s;
|
3876
3881
|
if (t.use !== void 0) {
|
3877
3882
|
let i;
|
@@ -3917,8 +3922,8 @@ const Un = async (e, t, r, n = !1) => {
|
|
3917
3922
|
return !0;
|
3918
3923
|
}, ec = (e, t, r) => {
|
3919
3924
|
if (!(t instanceof Uint8Array)) {
|
3920
|
-
if (
|
3921
|
-
if (Yo(t) &&
|
3925
|
+
if (gn(t)) {
|
3926
|
+
if (Yo(t) && dn(e, t, r))
|
3922
3927
|
return;
|
3923
3928
|
throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
|
3924
3929
|
}
|
@@ -3928,16 +3933,16 @@ const Un = async (e, t, r, n = !1) => {
|
|
3928
3933
|
throw new TypeError(`${rt(t)} instances for symmetric algorithms must be of type "secret"`);
|
3929
3934
|
}
|
3930
3935
|
}, tc = (e, t, r) => {
|
3931
|
-
if (
|
3936
|
+
if (gn(t))
|
3932
3937
|
switch (r) {
|
3933
3938
|
case "decrypt":
|
3934
3939
|
case "sign":
|
3935
|
-
if (zo(t) &&
|
3940
|
+
if (zo(t) && dn(e, t, r))
|
3936
3941
|
return;
|
3937
3942
|
throw new TypeError("JSON Web Key for this operation be a private JWK");
|
3938
3943
|
case "encrypt":
|
3939
3944
|
case "verify":
|
3940
|
-
if (Qo(t) &&
|
3945
|
+
if (Qo(t) && dn(e, t, r))
|
3941
3946
|
return;
|
3942
3947
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
3943
3948
|
}
|
@@ -4076,7 +4081,7 @@ async function oc(e, t, r) {
|
|
4076
4081
|
const o = await ac({ payload: s, protected: n, signature: i }, t, r), c = { payload: o.payload, protectedHeader: o.protectedHeader };
|
4077
4082
|
return typeof t == "function" ? { ...c, key: o.key } : c;
|
4078
4083
|
}
|
4079
|
-
const cc = (e) => Math.floor(e.getTime() / 1e3), ti = 60, ri = ti * 60,
|
4084
|
+
const cc = (e) => Math.floor(e.getTime() / 1e3), ti = 60, ri = ti * 60, bn = ri * 24, lc = bn * 7, uc = bn * 365.25, dc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Kn = (e) => {
|
4080
4085
|
const t = dc.exec(e);
|
4081
4086
|
if (!t || t[4] && t[1])
|
4082
4087
|
throw new TypeError("Invalid time period format");
|
@@ -4107,7 +4112,7 @@ const cc = (e) => Math.floor(e.getTime() / 1e3), ti = 60, ri = ti * 60, gn = ri
|
|
4107
4112
|
case "day":
|
4108
4113
|
case "days":
|
4109
4114
|
case "d":
|
4110
|
-
s = Math.round(r *
|
4115
|
+
s = Math.round(r * bn);
|
4111
4116
|
break;
|
4112
4117
|
case "week":
|
4113
4118
|
case "weeks":
|
@@ -4169,12 +4174,12 @@ function hc(e, t, r = {}) {
|
|
4169
4174
|
if (typeof n.exp != "number")
|
4170
4175
|
throw new ae('"exp" claim must be a number', n, "exp", "invalid");
|
4171
4176
|
if (n.exp <= y - l)
|
4172
|
-
throw new
|
4177
|
+
throw new un('"exp" claim timestamp check failed', n, "exp", "check_failed");
|
4173
4178
|
}
|
4174
4179
|
if (u) {
|
4175
4180
|
const m = y - n.iat, g = typeof u == "number" ? u : Kn(u);
|
4176
4181
|
if (m - l > g)
|
4177
|
-
throw new
|
4182
|
+
throw new un('"iat" claim timestamp check failed (too far in the past)', n, "iat", "check_failed");
|
4178
4183
|
if (m < 0 - l)
|
4179
4184
|
throw new ae('"iat" claim timestamp check failed (it should be in the past)', n, "iat", "check_failed");
|
4180
4185
|
}
|
@@ -4302,7 +4307,7 @@ function vr(e) {
|
|
4302
4307
|
a[o] = s.charCodeAt(o);
|
4303
4308
|
return i;
|
4304
4309
|
}
|
4305
|
-
function
|
4310
|
+
function wn() {
|
4306
4311
|
return Rc.stubThis((globalThis == null ? void 0 : globalThis.PublicKeyCredential) !== void 0 && typeof globalThis.PublicKeyCredential == "function");
|
4307
4312
|
}
|
4308
4313
|
const Rc = {
|
@@ -4457,7 +4462,7 @@ async function Nc(e) {
|
|
4457
4462
|
var m;
|
4458
4463
|
!e.optionsJSON && e.challenge && (console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
|
4459
4464
|
const { optionsJSON: t, useAutoRegister: r = !1 } = e;
|
4460
|
-
if (!
|
4465
|
+
if (!wn())
|
4461
4466
|
throw new Error("WebAuthn is not supported in this browser");
|
4462
4467
|
const n = {
|
4463
4468
|
...t,
|
@@ -4523,7 +4528,7 @@ function Fr(e, t) {
|
|
4523
4528
|
`, t);
|
4524
4529
|
}
|
4525
4530
|
function Pc() {
|
4526
|
-
if (!
|
4531
|
+
if (!wn())
|
4527
4532
|
return Br.stubThis(new Promise((t) => t(!1)));
|
4528
4533
|
const e = globalThis.PublicKeyCredential;
|
4529
4534
|
return (e == null ? void 0 : e.isConditionalMediationAvailable) === void 0 ? Br.stubThis(new Promise((t) => t(!1))) : Br.stubThis(e.isConditionalMediationAvailable());
|
@@ -4576,7 +4581,7 @@ async function Dc(e) {
|
|
4576
4581
|
var y, m;
|
4577
4582
|
!e.optionsJSON && e.challenge && (console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
|
4578
4583
|
const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: n = !0 } = e;
|
4579
|
-
if (!
|
4584
|
+
if (!wn())
|
4580
4585
|
throw new Error("WebAuthn is not supported in this browser");
|
4581
4586
|
let s;
|
4582
4587
|
((y = t.allowCredentials) == null ? void 0 : y.length) !== 0 && (s = (m = t.allowCredentials) == null ? void 0 : m.map(si));
|
@@ -5061,7 +5066,7 @@ const tt = () => {
|
|
5061
5066
|
logoutReason: "",
|
5062
5067
|
authenticationType: ""
|
5063
5068
|
}), Xc = () => ({
|
5064
|
-
...
|
5069
|
+
...yn(yi)
|
5065
5070
|
}), Zc = (e) => Ae(
|
5066
5071
|
(...t) => {
|
5067
5072
|
e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
|
@@ -5186,13 +5191,13 @@ const tt = () => {
|
|
5186
5191
|
o({ type: At, payload: { isLoading: !0 } }), F();
|
5187
5192
|
const N = jr();
|
5188
5193
|
k(N), c("login: Logging in with password");
|
5189
|
-
const { code_verifier: Oe, code_challenge: _e } = await Ac(),
|
5194
|
+
const { code_verifier: Oe, code_challenge: _e } = await Ac(), Tn = await zc({
|
5190
5195
|
endpoint: i,
|
5191
5196
|
nonce: N,
|
5192
5197
|
clientId: r,
|
5193
5198
|
code_challenge: _e
|
5194
5199
|
});
|
5195
|
-
if (
|
5200
|
+
if (Tn.status) {
|
5196
5201
|
const Qe = await Jc({
|
5197
5202
|
endpoint: i,
|
5198
5203
|
username: S,
|
@@ -5201,7 +5206,7 @@ const tt = () => {
|
|
5201
5206
|
sessionExpiration: t,
|
5202
5207
|
nonce: N,
|
5203
5208
|
type: Rt.CODE,
|
5204
|
-
code:
|
5209
|
+
code: Tn.data,
|
5205
5210
|
code_verifier: Oe,
|
5206
5211
|
domain: n,
|
5207
5212
|
ua: navigator.userAgent
|
@@ -5389,7 +5394,7 @@ try {
|
|
5389
5394
|
} catch {
|
5390
5395
|
}
|
5391
5396
|
const mi = () => {
|
5392
|
-
const e =
|
5397
|
+
const e = yn(ni);
|
5393
5398
|
if (!e)
|
5394
5399
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
5395
5400
|
return e;
|
@@ -5525,7 +5530,7 @@ const mi = () => {
|
|
5525
5530
|
theme: c,
|
5526
5531
|
transition: u,
|
5527
5532
|
icon: d
|
5528
|
-
}), zn = "av-button", Nr = "icon",
|
5533
|
+
}), zn = "av-button", Nr = "icon", vn = "button", fn = "link", cl = ({
|
5529
5534
|
type: e,
|
5530
5535
|
size: t,
|
5531
5536
|
labelRight: r,
|
@@ -5535,8 +5540,8 @@ const mi = () => {
|
|
5535
5540
|
}) => {
|
5536
5541
|
const a = "max-h-8 py-0 px-2", o = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
|
5537
5542
|
switch (e) {
|
5538
|
-
case
|
5539
|
-
case
|
5543
|
+
case vn:
|
5544
|
+
case fn:
|
5540
5545
|
return b({
|
5541
5546
|
[a]: t === "small",
|
5542
5547
|
[o]: t === "medium",
|
@@ -5569,10 +5574,10 @@ const mi = () => {
|
|
5569
5574
|
}) => {
|
5570
5575
|
const s = "text-sm font-medium", i = "text-base font-medium", a = "text-lg font-medium";
|
5571
5576
|
switch (e) {
|
5572
|
-
case
|
5573
|
-
case
|
5577
|
+
case vn:
|
5578
|
+
case fn:
|
5574
5579
|
return b({
|
5575
|
-
"text-center": e ===
|
5580
|
+
"text-center": e === fn,
|
5576
5581
|
[s]: t === "small",
|
5577
5582
|
[i]: t === "medium",
|
5578
5583
|
[a]: t === "large"
|
@@ -5821,7 +5826,7 @@ const mi = () => {
|
|
5821
5826
|
)), wl = (e, t, r) => {
|
5822
5827
|
var n;
|
5823
5828
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
5824
|
-
},
|
5829
|
+
}, En = ke.forwardRef((e, t) => {
|
5825
5830
|
const { onClick: r, noInternalClick: n = !1, ...s } = e;
|
5826
5831
|
return /* @__PURE__ */ p(
|
5827
5832
|
"button",
|
@@ -5834,7 +5839,7 @@ const mi = () => {
|
|
5834
5839
|
}
|
5835
5840
|
);
|
5836
5841
|
});
|
5837
|
-
|
5842
|
+
En.displayName = "BaseButton";
|
5838
5843
|
const wi = ke.forwardRef(
|
5839
5844
|
({
|
5840
5845
|
children: e,
|
@@ -5852,7 +5857,7 @@ const wi = ke.forwardRef(
|
|
5852
5857
|
...h
|
5853
5858
|
}, y) => {
|
5854
5859
|
const m = bi({
|
5855
|
-
type:
|
5860
|
+
type: vn,
|
5856
5861
|
mode: r,
|
5857
5862
|
focusMode: n,
|
5858
5863
|
fullWidth: s,
|
@@ -5866,7 +5871,7 @@ const wi = ke.forwardRef(
|
|
5866
5871
|
radius: l
|
5867
5872
|
});
|
5868
5873
|
return /* @__PURE__ */ p(
|
5869
|
-
|
5874
|
+
En,
|
5870
5875
|
{
|
5871
5876
|
ref: y,
|
5872
5877
|
className: m,
|
@@ -5990,7 +5995,7 @@ const ir = {
|
|
5990
5995
|
]), de(() => () => {
|
5991
5996
|
N.current && clearTimeout(N.current);
|
5992
5997
|
}, []), /* @__PURE__ */ p(
|
5993
|
-
|
5998
|
+
En,
|
5994
5999
|
{
|
5995
6000
|
ref: Oe,
|
5996
6001
|
className: M,
|
@@ -6400,7 +6405,7 @@ try {
|
|
6400
6405
|
});
|
6401
6406
|
} catch {
|
6402
6407
|
}
|
6403
|
-
const Ml = "av-flexgrid", ar = "av-flexgrid-item", Sr = 0.25,
|
6408
|
+
const Ml = "av-flexgrid", ar = "av-flexgrid-item", Sr = 0.25, hn = ke.createContext({
|
6404
6409
|
columnGap: 0,
|
6405
6410
|
rowGap: 0
|
6406
6411
|
}), Ul = ({
|
@@ -6432,7 +6437,7 @@ const Ml = "av-flexgrid", ar = "av-flexgrid-item", Sr = 0.25, fn = ke.createCont
|
|
6432
6437
|
Ml,
|
6433
6438
|
"box-border flex flex-wrap"
|
6434
6439
|
), h = { columnGap: r, rowGap: n };
|
6435
|
-
return t ? /* @__PURE__ */ p("div", { className: t, children: /* @__PURE__ */ p("div", { className: l, style: d, ...u, children: /* @__PURE__ */ p(
|
6440
|
+
return t ? /* @__PURE__ */ p("div", { className: t, children: /* @__PURE__ */ p("div", { className: l, style: d, ...u, children: /* @__PURE__ */ p(hn.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ p("div", { className: l, style: d, ...u, children: /* @__PURE__ */ p(hn.Provider, { value: h, children: e }) });
|
6436
6441
|
}, Wr = (e, t) => b({
|
6437
6442
|
"basis-1/12": e === 1 && !t,
|
6438
6443
|
"sm:basis-1/12": e === 1 && t === "sm",
|
@@ -6535,7 +6540,7 @@ const Ml = "av-flexgrid", ar = "av-flexgrid-item", Sr = 0.25, fn = ke.createCont
|
|
6535
6540
|
span: r,
|
6536
6541
|
...n
|
6537
6542
|
}) => {
|
6538
|
-
const { columnGap: s, rowGap: i } = hn
|
6543
|
+
const { columnGap: s, rowGap: i } = yn(hn), a = {
|
6539
6544
|
paddingLeft: s * Sr + "rem",
|
6540
6545
|
paddingTop: i * Sr + "rem"
|
6541
6546
|
}, o = Kl({
|
@@ -6862,7 +6867,7 @@ const zl = ({
|
|
6862
6867
|
helperText: g,
|
6863
6868
|
rightElement: E
|
6864
6869
|
};
|
6865
|
-
},
|
6870
|
+
}, Sn = ke.forwardRef(
|
6866
6871
|
({
|
6867
6872
|
id: e,
|
6868
6873
|
name: t,
|
@@ -6968,7 +6973,7 @@ const zl = ({
|
|
6968
6973
|
] });
|
6969
6974
|
}
|
6970
6975
|
);
|
6971
|
-
|
6976
|
+
Sn.displayName = "TextInput";
|
6972
6977
|
function tu(e) {
|
6973
6978
|
return Tr(() => e.every((t) => t == null) ? () => {
|
6974
6979
|
} : (t) => {
|
@@ -7025,7 +7030,7 @@ const ru = 500, nu = 5e3, su = 2e4, Ai = ke.forwardRef(
|
|
7025
7030
|
I.current && clearTimeout(I.current);
|
7026
7031
|
}, []), /* @__PURE__ */ te(dr, { children: [
|
7027
7032
|
/* @__PURE__ */ p(
|
7028
|
-
|
7033
|
+
Sn,
|
7029
7034
|
{
|
7030
7035
|
ref: T,
|
7031
7036
|
name: e,
|
@@ -7172,7 +7177,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Fd = "{{clipboard}}", Bd =
|
|
7172
7177
|
/* @__PURE__ */ p("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ p(Ul, { alignHorizontal: "center", children: /* @__PURE__ */ p(Fe, { span: 6, children: /* @__PURE__ */ te(Cl, { mode: "dark", children: [
|
7173
7178
|
/* @__PURE__ */ p(Fe, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ p("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
|
7174
7179
|
/* @__PURE__ */ p(Fe, { span: 12, children: /* @__PURE__ */ p(
|
7175
|
-
|
7180
|
+
Sn,
|
7176
7181
|
{
|
7177
7182
|
className: "mt-7",
|
7178
7183
|
required: !0,
|
@@ -7258,7 +7263,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Fd = "{{clipboard}}", Bd =
|
|
7258
7263
|
) });
|
7259
7264
|
}, du = new URL(document.location.href).searchParams, Xn = !!du.get("debug") || !1, fu = Oi(() => import(
|
7260
7265
|
/* webpackChunkName: "LazyApp" */
|
7261
|
-
"./App.
|
7266
|
+
"./App.DaBXM1Ip.js"
|
7262
7267
|
).then((e) => e.App)), hu = new Yi(), Zn = ({
|
7263
7268
|
isComponent: e,
|
7264
7269
|
headerHeight: t
|
@@ -7363,7 +7368,7 @@ export {
|
|
7363
7368
|
Pa as delegateEvents,
|
7364
7369
|
er as deleteNestedDataByPath,
|
7365
7370
|
Vu as displayValue,
|
7366
|
-
|
7371
|
+
Sn as fe,
|
7367
7372
|
ji as fetchState,
|
7368
7373
|
hs as focusManager,
|
7369
7374
|
Sd as getCurrentGeoLocation,
|
@@ -7375,7 +7380,7 @@ export {
|
|
7375
7380
|
Bu as getQueryStatusColorByLabel,
|
7376
7381
|
Uu as getQueryStatusLabel,
|
7377
7382
|
Ku as getSidedProp,
|
7378
|
-
|
7383
|
+
nn as insert,
|
7379
7384
|
ol as isElectron,
|
7380
7385
|
gi as isProbablyMobile,
|
7381
7386
|
_d as isProbablyiPhone,
|
@@ -7400,9 +7405,9 @@ export {
|
|
7400
7405
|
Id as renderDataAsList,
|
7401
7406
|
Di as replaceData,
|
7402
7407
|
Pi as resolveEnabled,
|
7403
|
-
|
7408
|
+
zr as resolveStaleTime,
|
7404
7409
|
Eo as serialize,
|
7405
|
-
|
7410
|
+
rn as setAttribute,
|
7406
7411
|
wu as shallowEqualObjects,
|
7407
7412
|
vu as shouldThrowError,
|
7408
7413
|
ju as sortFns,
|