@versini/sassysaint 8.47.1 → 8.48.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/chunks/AboutChangelog.cqtDjdN2.js +33 -0
- package/dist/chunks/{AboutEntry.CW6LSgBo.js → AboutEntry.CFx0YmVV.js} +7 -7
- package/dist/chunks/App.CasJ4WkW.js +16681 -0
- package/dist/chunks/{Chart.v46ZrHpO.js → Chart.DgKwPLF4.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.Dm3w8aPQ.js → ChatBubbleAssistant.CGQ0Tlo_.js} +13 -14
- package/dist/chunks/{ChatHistoryTable.DiXFgbUY.js → ChatHistoryTable.CgoVamIR.js} +2 -2
- package/dist/chunks/{HistoryEntry.8-r_XaOl.js → HistoryEntry.DNdv2yCj.js} +3 -3
- package/dist/chunks/{LNWAZHJI.ucCV8_lF.js → LNWAZHJI.CD_ux83e.js} +1 -1
- package/dist/chunks/{ProfileEntry.Db0i4H1-.js → ProfileEntry.XuNTwFo0.js} +2 -2
- package/dist/chunks/{SettingsEntry.DiEffW-W.js → SettingsEntry.U0uWFJ3Y.js} +9 -9
- package/dist/chunks/{UsageEntry.DTwtBL3G.js → UsageEntry.B6JFs6-S.js} +3 -3
- package/dist/chunks/{index.BdOUWeMA.js → index.CVkj3nyZ.js} +1 -1
- package/dist/chunks/{index.DxRpe0Fx.js → index.D3YgK0qf.js} +583 -620
- package/dist/chunks/{index.WoNpwqiR.js → index.D64OP4So.js} +4 -5
- package/dist/chunks/{index.DAma765y.js → index.DAaVqFYQ.js} +1 -1
- package/dist/chunks/{index.B6LTE4XZ.js → index.DC1fQi9B.js} +2 -2
- package/dist/chunks/{index.ihYh1tax.js → index.gS9jPJAH.js} +1 -1
- package/dist/chunks/{index.D6DtPtKF.js → index.m5ZMyePE.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/AboutChangelog.CrPmttGh.js +0 -34
- package/dist/chunks/App.P8VuaklL.js +0 -9644
- package/dist/chunks/useMarkdown.CrlE9bFj.js +0 -7061
@@ -1,6 +1,6 @@
|
|
1
|
-
import { jsx as
|
1
|
+
import { jsx as m, jsxs as Y, Fragment as Nn } from "react/jsx-runtime";
|
2
2
|
import * as U from "react";
|
3
|
-
import
|
3
|
+
import me, { createContext as xr, useReducer as Pn, useCallback as ne, useRef as ee, useEffect as Z, useSyncExternalStore as ii, useContext as Kt, useState as fe, useMemo as kt, useId as ai, useLayoutEffect as Rt, Suspense as oi, lazy as ci } from "react";
|
4
4
|
import g from "clsx";
|
5
5
|
var ot = class {
|
6
6
|
constructor() {
|
@@ -78,7 +78,7 @@ function $r(e, t) {
|
|
78
78
|
function ze(e) {
|
79
79
|
return JSON.stringify(
|
80
80
|
e,
|
81
|
-
(t, r) =>
|
81
|
+
(t, r) => yr(r) ? Object.keys(r).sort().reduce((n, s) => (n[s] = r[s], n), {}) : r
|
82
82
|
);
|
83
83
|
}
|
84
84
|
function Ye(e, t) {
|
@@ -88,7 +88,7 @@ function hr(e, t) {
|
|
88
88
|
if (e === t)
|
89
89
|
return e;
|
90
90
|
const r = Yr(e) && Yr(t);
|
91
|
-
if (r ||
|
91
|
+
if (r || yr(e) && yr(t)) {
|
92
92
|
const n = r ? e : Object.keys(e), s = n.length, i = r ? t : Object.keys(t), o = i.length, a = r ? [] : {}, c = new Set(n);
|
93
93
|
let d = 0;
|
94
94
|
for (let u = 0; u < o; u++) {
|
@@ -110,7 +110,7 @@ function fr(e, t) {
|
|
110
110
|
function Yr(e) {
|
111
111
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
112
112
|
}
|
113
|
-
function
|
113
|
+
function yr(e) {
|
114
114
|
if (!Xr(e))
|
115
115
|
return !1;
|
116
116
|
const t = e.constructor;
|
@@ -127,7 +127,7 @@ function ui(e) {
|
|
127
127
|
setTimeout(t, e);
|
128
128
|
});
|
129
129
|
}
|
130
|
-
function
|
130
|
+
function mr(e, t, r) {
|
131
131
|
if (typeof r.structuralSharing == "function")
|
132
132
|
return r.structuralSharing(e, t);
|
133
133
|
if (r.structuralSharing !== !1) {
|
@@ -160,7 +160,7 @@ function $n(e, t) {
|
|
160
160
|
function fi(e, t) {
|
161
161
|
return typeof e == "function" ? e(...t) : !!e;
|
162
162
|
}
|
163
|
-
var
|
163
|
+
var yi = class extends ot {
|
164
164
|
#t;
|
165
165
|
#e;
|
166
166
|
#r;
|
@@ -197,7 +197,7 @@ var mi = class extends ot {
|
|
197
197
|
isFocused() {
|
198
198
|
return typeof this.#t == "boolean" ? this.#t : globalThis.document?.visibilityState !== "hidden";
|
199
199
|
}
|
200
|
-
}, Dr = new
|
200
|
+
}, Dr = new yi(), mi = class extends ot {
|
201
201
|
#t = !0;
|
202
202
|
#e;
|
203
203
|
#r;
|
@@ -228,7 +228,7 @@ var mi = class extends ot {
|
|
228
228
|
isOnline() {
|
229
229
|
return this.#t;
|
230
230
|
}
|
231
|
-
}, Xe = new
|
231
|
+
}, Xe = new mi();
|
232
232
|
function pr() {
|
233
233
|
let e, t;
|
234
234
|
const r = new Promise((s, i) => {
|
@@ -283,7 +283,7 @@ function Ln(e) {
|
|
283
283
|
}, e.onPause?.();
|
284
284
|
}).then(() => {
|
285
285
|
n = void 0, i() || e.onContinue?.();
|
286
|
-
}),
|
286
|
+
}), y = () => {
|
287
287
|
if (i())
|
288
288
|
return;
|
289
289
|
let p;
|
@@ -302,7 +302,7 @@ function Ln(e) {
|
|
302
302
|
return;
|
303
303
|
}
|
304
304
|
r++, e.onFail?.(r, E), ui(I).then(() => d() ? void 0 : f()).then(() => {
|
305
|
-
t ? h(E) :
|
305
|
+
t ? h(E) : y();
|
306
306
|
});
|
307
307
|
});
|
308
308
|
};
|
@@ -314,7 +314,7 @@ function Ln(e) {
|
|
314
314
|
cancelRetry: a,
|
315
315
|
continueRetry: c,
|
316
316
|
canStart: u,
|
317
|
-
start: () => (u() ?
|
317
|
+
start: () => (u() ? y() : f().then(y), s)
|
318
318
|
};
|
319
319
|
}
|
320
320
|
var gi = (e) => setTimeout(e, 0);
|
@@ -420,7 +420,7 @@ var j = bi(), Mn = class {
|
|
420
420
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
421
421
|
}
|
422
422
|
setData(e, t) {
|
423
|
-
const r =
|
423
|
+
const r = mr(this.state.data, e, this.options);
|
424
424
|
return this.#i({
|
425
425
|
data: r,
|
426
426
|
type: "success",
|
@@ -1045,18 +1045,18 @@ function Zr(e) {
|
|
1045
1045
|
let a = { pages: [], pageParams: [] }, c = 0;
|
1046
1046
|
const d = async () => {
|
1047
1047
|
let u = !1;
|
1048
|
-
const l = (
|
1049
|
-
Object.defineProperty(
|
1048
|
+
const l = (y) => {
|
1049
|
+
Object.defineProperty(y, "signal", {
|
1050
1050
|
enumerable: !0,
|
1051
1051
|
get: () => (t.signal.aborted ? u = !0 : t.signal.addEventListener("abort", () => {
|
1052
1052
|
u = !0;
|
1053
1053
|
}), t.signal)
|
1054
1054
|
});
|
1055
|
-
}, h = $n(t.options, t.fetchOptions), f = async (
|
1055
|
+
}, h = $n(t.options, t.fetchOptions), f = async (y, p, b) => {
|
1056
1056
|
if (u)
|
1057
1057
|
return Promise.reject();
|
1058
|
-
if (p == null &&
|
1059
|
-
return Promise.resolve(
|
1058
|
+
if (p == null && y.pages.length)
|
1059
|
+
return Promise.resolve(y);
|
1060
1060
|
const A = (() => {
|
1061
1061
|
const K = {
|
1062
1062
|
client: t.client,
|
@@ -1068,24 +1068,24 @@ function Zr(e) {
|
|
1068
1068
|
return l(K), K;
|
1069
1069
|
})(), v = await h(A), { maxPages: I } = t.options, N = b ? hi : di;
|
1070
1070
|
return {
|
1071
|
-
pages: N(
|
1072
|
-
pageParams: N(
|
1071
|
+
pages: N(y.pages, v, I),
|
1072
|
+
pageParams: N(y.pageParams, p, I)
|
1073
1073
|
};
|
1074
1074
|
};
|
1075
1075
|
if (s && i.length) {
|
1076
|
-
const
|
1076
|
+
const y = s === "backward", p = y ? Ii : en, b = {
|
1077
1077
|
pages: i,
|
1078
1078
|
pageParams: o
|
1079
1079
|
}, E = p(n, b);
|
1080
|
-
a = await f(b, E,
|
1080
|
+
a = await f(b, E, y);
|
1081
1081
|
} else {
|
1082
|
-
const
|
1082
|
+
const y = e ?? i.length;
|
1083
1083
|
do {
|
1084
1084
|
const p = c === 0 ? o[0] ?? n.initialPageParam : en(n, a);
|
1085
1085
|
if (c > 0 && p == null)
|
1086
1086
|
break;
|
1087
1087
|
a = await f(a, p), c++;
|
1088
|
-
} while (c <
|
1088
|
+
} while (c < y);
|
1089
1089
|
}
|
1090
1090
|
return a;
|
1091
1091
|
};
|
@@ -1337,12 +1337,12 @@ var ki = class {
|
|
1337
1337
|
#h;
|
1338
1338
|
#c;
|
1339
1339
|
#l;
|
1340
|
-
#
|
1340
|
+
#m = /* @__PURE__ */ new Set();
|
1341
1341
|
bindMethods() {
|
1342
1342
|
this.refetch = this.refetch.bind(this);
|
1343
1343
|
}
|
1344
1344
|
onSubscribe() {
|
1345
|
-
this.listeners.size === 1 && (this.#e.addObserver(this), tn(this.#e, this.options) ? this.#
|
1345
|
+
this.listeners.size === 1 && (this.#e.addObserver(this), tn(this.#e, this.options) ? this.#y() : this.updateResult(), this.#w());
|
1346
1346
|
}
|
1347
1347
|
onUnsubscribe() {
|
1348
1348
|
this.hasListeners() || this.destroy();
|
@@ -1381,13 +1381,13 @@ var ki = class {
|
|
1381
1381
|
r,
|
1382
1382
|
this.options,
|
1383
1383
|
t
|
1384
|
-
) && this.#
|
1384
|
+
) && this.#y(), this.updateResult(), n && (this.#e !== r || te(this.options.enabled, this.#e) !== te(t.enabled, this.#e) || Ee(this.options.staleTime, this.#e) !== Ee(t.staleTime, this.#e)) && this.#p();
|
1385
1385
|
const s = this.#g();
|
1386
1386
|
n && (this.#e !== r || te(this.options.enabled, this.#e) !== te(t.enabled, this.#e) || s !== this.#l) && this.#b(s);
|
1387
1387
|
}
|
1388
1388
|
getOptimisticResult(e) {
|
1389
1389
|
const t = this.#t.getQueryCache().build(this.#t, e), r = this.createResult(t, e);
|
1390
|
-
return
|
1390
|
+
return Oi(this, r) && (this.#n = r, this.#o = this.options, this.#s = this.#e.state), r;
|
1391
1391
|
}
|
1392
1392
|
getCurrentResult() {
|
1393
1393
|
return this.#n;
|
@@ -1402,7 +1402,7 @@ var ki = class {
|
|
1402
1402
|
});
|
1403
1403
|
}
|
1404
1404
|
trackProp(e) {
|
1405
|
-
this.#
|
1405
|
+
this.#m.add(e);
|
1406
1406
|
}
|
1407
1407
|
getCurrentQuery() {
|
1408
1408
|
return this.#e;
|
@@ -1417,12 +1417,12 @@ var ki = class {
|
|
1417
1417
|
return r.fetch().then(() => this.createResult(r, t));
|
1418
1418
|
}
|
1419
1419
|
fetch(e) {
|
1420
|
-
return this.#
|
1420
|
+
return this.#y({
|
1421
1421
|
...e,
|
1422
1422
|
cancelRefetch: e.cancelRefetch ?? !0
|
1423
1423
|
}).then(() => (this.updateResult(), this.#n));
|
1424
1424
|
}
|
1425
|
-
#
|
1425
|
+
#y(e) {
|
1426
1426
|
this.#S();
|
1427
1427
|
let t = this.#e.fetch(
|
1428
1428
|
this.options,
|
@@ -1448,7 +1448,7 @@ var ki = class {
|
|
1448
1448
|
}
|
1449
1449
|
#b(e) {
|
1450
1450
|
this.#v(), this.#l = e, !(Ie || te(this.options.enabled, this.#e) === !1 || !dr(this.#l) || this.#l === 0) && (this.#c = setInterval(() => {
|
1451
|
-
(this.options.refetchIntervalInBackground || Dr.isFocused()) && this.#
|
1451
|
+
(this.options.refetchIntervalInBackground || Dr.isFocused()) && this.#y();
|
1452
1452
|
}, this.#l));
|
1453
1453
|
}
|
1454
1454
|
#w() {
|
@@ -1464,23 +1464,23 @@ var ki = class {
|
|
1464
1464
|
const r = this.#e, n = this.options, s = this.#n, i = this.#s, o = this.#o, c = e !== r ? e.state : this.#r, { state: d } = e;
|
1465
1465
|
let u = { ...d }, l = !1, h;
|
1466
1466
|
if (t._optimisticResults) {
|
1467
|
-
const
|
1467
|
+
const O = this.hasListeners(), S = !O && tn(e, t), w = O && rn(e, r, t, n);
|
1468
1468
|
(S || w) && (u = {
|
1469
1469
|
...u,
|
1470
1470
|
...Un(d.data, e.options)
|
1471
1471
|
}), t._optimisticResults === "isRestoring" && (u.fetchStatus = "idle");
|
1472
1472
|
}
|
1473
|
-
let { error: f, errorUpdatedAt:
|
1473
|
+
let { error: f, errorUpdatedAt: y, status: p } = u;
|
1474
1474
|
h = u.data;
|
1475
1475
|
let b = !1;
|
1476
1476
|
if (t.placeholderData !== void 0 && h === void 0 && p === "pending") {
|
1477
|
-
let
|
1478
|
-
s?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (
|
1477
|
+
let O;
|
1478
|
+
s?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (O = s.data, b = !0) : O = typeof t.placeholderData == "function" ? t.placeholderData(
|
1479
1479
|
this.#d?.state.data,
|
1480
1480
|
this.#d
|
1481
|
-
) : t.placeholderData,
|
1481
|
+
) : t.placeholderData, O !== void 0 && (p = "success", h = mr(
|
1482
1482
|
s?.data,
|
1483
|
-
|
1483
|
+
O,
|
1484
1484
|
t
|
1485
1485
|
), l = !0);
|
1486
1486
|
}
|
@@ -1489,11 +1489,11 @@ var ki = class {
|
|
1489
1489
|
h = this.#u;
|
1490
1490
|
else
|
1491
1491
|
try {
|
1492
|
-
this.#f = t.select, h = t.select(h), h =
|
1493
|
-
} catch (
|
1494
|
-
this.#i =
|
1492
|
+
this.#f = t.select, h = t.select(h), h = mr(s?.data, h, t), this.#u = h, this.#i = null;
|
1493
|
+
} catch (O) {
|
1494
|
+
this.#i = O;
|
1495
1495
|
}
|
1496
|
-
this.#i && (f = this.#i, h = this.#u,
|
1496
|
+
this.#i && (f = this.#i, h = this.#u, y = Date.now(), p = "error");
|
1497
1497
|
const E = u.fetchStatus === "fetching", A = p === "pending", v = p === "error", I = A && E, N = h !== void 0, x = {
|
1498
1498
|
status: p,
|
1499
1499
|
fetchStatus: u.fetchStatus,
|
@@ -1505,7 +1505,7 @@ var ki = class {
|
|
1505
1505
|
data: h,
|
1506
1506
|
dataUpdatedAt: u.dataUpdatedAt,
|
1507
1507
|
error: f,
|
1508
|
-
errorUpdatedAt:
|
1508
|
+
errorUpdatedAt: y,
|
1509
1509
|
failureCount: u.fetchFailureCount,
|
1510
1510
|
failureReason: u.fetchFailureReason,
|
1511
1511
|
errorUpdateCount: u.errorUpdateCount,
|
@@ -1523,15 +1523,15 @@ var ki = class {
|
|
1523
1523
|
isEnabled: te(t.enabled, e) !== !1
|
1524
1524
|
};
|
1525
1525
|
if (this.options.experimental_prefetchInRender) {
|
1526
|
-
const
|
1527
|
-
x.status === "error" ?
|
1526
|
+
const O = (_) => {
|
1527
|
+
x.status === "error" ? _.reject(x.error) : x.data !== void 0 && _.resolve(x.data);
|
1528
1528
|
}, S = () => {
|
1529
|
-
const
|
1530
|
-
_
|
1529
|
+
const _ = this.#a = x.promise = pr();
|
1530
|
+
O(_);
|
1531
1531
|
}, w = this.#a;
|
1532
1532
|
switch (w.status) {
|
1533
1533
|
case "pending":
|
1534
|
-
e.queryHash === r.queryHash &&
|
1534
|
+
e.queryHash === r.queryHash && O(w);
|
1535
1535
|
break;
|
1536
1536
|
case "fulfilled":
|
1537
1537
|
(x.status === "error" || x.data !== w.value) && S();
|
@@ -1552,10 +1552,10 @@ var ki = class {
|
|
1552
1552
|
if (!e)
|
1553
1553
|
return !0;
|
1554
1554
|
const { notifyOnChangeProps: n } = this.options, s = typeof n == "function" ? n() : n;
|
1555
|
-
if (s === "all" || !s && !this.#
|
1555
|
+
if (s === "all" || !s && !this.#m.size)
|
1556
1556
|
return !0;
|
1557
1557
|
const i = new Set(
|
1558
|
-
s ?? this.#
|
1558
|
+
s ?? this.#m
|
1559
1559
|
);
|
1560
1560
|
return this.options.throwOnError && i.add("error"), Object.keys(this.#n).some((o) => {
|
1561
1561
|
const a = o;
|
@@ -1604,7 +1604,7 @@ function rn(e, t, r, n) {
|
|
1604
1604
|
function Lr(e, t) {
|
1605
1605
|
return te(t.enabled, e) !== !1 && e.isStaleByTime(Ee(t.staleTime, e));
|
1606
1606
|
}
|
1607
|
-
function
|
1607
|
+
function Oi(e, t) {
|
1608
1608
|
return !fr(e.getCurrentResult(), t);
|
1609
1609
|
}
|
1610
1610
|
var Fn = U.createContext(
|
@@ -1616,12 +1616,12 @@ var Fn = U.createContext(
|
|
1616
1616
|
if (!t)
|
1617
1617
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
1618
1618
|
return t;
|
1619
|
-
},
|
1619
|
+
}, _i = ({
|
1620
1620
|
client: e,
|
1621
1621
|
children: t
|
1622
1622
|
}) => (U.useEffect(() => (e.mount(), () => {
|
1623
1623
|
e.unmount();
|
1624
|
-
}), [e]), /* @__PURE__ */
|
1624
|
+
}), [e]), /* @__PURE__ */ m(Fn.Provider, { value: e, children: t })), Ni = U.createContext(!1), Pi = () => U.useContext(Ni);
|
1625
1625
|
function xi() {
|
1626
1626
|
let e = !1;
|
1627
1627
|
return {
|
@@ -1709,14 +1709,14 @@ function Bi(e, t, r) {
|
|
1709
1709
|
function Ke(e, t) {
|
1710
1710
|
return Bi(e, Ri, t);
|
1711
1711
|
}
|
1712
|
-
var Gi = (e, t) => e === t,
|
1712
|
+
var Gi = (e, t) => e === t, Ot = Symbol("solid-proxy"), Kn = typeof Proxy == "function", _t = {
|
1713
1713
|
equals: Gi
|
1714
1714
|
}, Bn = Jn, pe = 1, Nt = 2, Gn = {
|
1715
1715
|
owned: null,
|
1716
1716
|
cleanups: null,
|
1717
1717
|
context: null,
|
1718
1718
|
owner: null
|
1719
|
-
}, Jt = {}, C = null, D = null, J = null,
|
1719
|
+
}, Jt = {}, C = null, D = null, J = null, ye = null, Bt = 0;
|
1720
1720
|
function Te(e, t) {
|
1721
1721
|
const r = D, n = C, s = e.length === 0, i = t === void 0 ? n : t, o = s ? Gn : {
|
1722
1722
|
owned: null,
|
@@ -1732,7 +1732,7 @@ function Te(e, t) {
|
|
1732
1732
|
}
|
1733
1733
|
}
|
1734
1734
|
function z(e, t) {
|
1735
|
-
t = t ? Object.assign({},
|
1735
|
+
t = t ? Object.assign({}, _t, t) : _t;
|
1736
1736
|
const r = {
|
1737
1737
|
value: e,
|
1738
1738
|
observers: null,
|
@@ -1752,10 +1752,10 @@ function Ae(e, t, r) {
|
|
1752
1752
|
function Vn(e, t, r) {
|
1753
1753
|
Bn = Zi;
|
1754
1754
|
const n = Gt(e, t, !1, pe);
|
1755
|
-
(!r || !r.render) && (n.user = !0),
|
1755
|
+
(!r || !r.render) && (n.user = !0), ye ? ye.push(n) : Be(n);
|
1756
1756
|
}
|
1757
1757
|
function H(e, t, r) {
|
1758
|
-
r = r ? Object.assign({},
|
1758
|
+
r = r ? Object.assign({}, _t, r) : _t;
|
1759
1759
|
const n = Gt(e, t, !0, 0);
|
1760
1760
|
return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, Be(n), Wn.bind(n);
|
1761
1761
|
}
|
@@ -1766,23 +1766,23 @@ function ji(e, t, r) {
|
|
1766
1766
|
let n, s, i;
|
1767
1767
|
n = !0, s = e, i = {};
|
1768
1768
|
let o = null, a = Jt, c = !1, d = "initialValue" in i, u = typeof n == "function" && H(n);
|
1769
|
-
const l = /* @__PURE__ */ new Set(), [h, f] = (i.storage || z)(i.initialValue), [
|
1769
|
+
const l = /* @__PURE__ */ new Set(), [h, f] = (i.storage || z)(i.initialValue), [y, p] = z(void 0), [b, E] = z(void 0, {
|
1770
1770
|
equals: !1
|
1771
1771
|
}), [A, v] = z(d ? "ready" : "unresolved");
|
1772
|
-
function I(S, w,
|
1772
|
+
function I(S, w, _, T) {
|
1773
1773
|
return o === S && (o = null, T !== void 0 && (d = !0), (S === a || w === a) && i.onHydrated && queueMicrotask(() => i.onHydrated(T, {
|
1774
1774
|
value: w
|
1775
|
-
})), a = Jt, N(w,
|
1775
|
+
})), a = Jt, N(w, _)), w;
|
1776
1776
|
}
|
1777
1777
|
function N(S, w) {
|
1778
1778
|
ce(() => {
|
1779
1779
|
w === void 0 && f(() => S), v(w !== void 0 ? "errored" : d ? "ready" : "unresolved"), p(w);
|
1780
|
-
for (const
|
1780
|
+
for (const _ of l.keys()) _.decrement();
|
1781
1781
|
l.clear();
|
1782
1782
|
}, !1);
|
1783
1783
|
}
|
1784
1784
|
function K() {
|
1785
|
-
const S = h(), w =
|
1785
|
+
const S = h(), w = y();
|
1786
1786
|
if (w !== void 0 && !o) throw w;
|
1787
1787
|
return S;
|
1788
1788
|
}
|
@@ -1794,7 +1794,7 @@ function ji(e, t, r) {
|
|
1794
1794
|
I(o, Q(h));
|
1795
1795
|
return;
|
1796
1796
|
}
|
1797
|
-
let
|
1797
|
+
let _;
|
1798
1798
|
const T = a !== Jt ? a : Q(() => {
|
1799
1799
|
try {
|
1800
1800
|
return s(w, {
|
@@ -1802,11 +1802,11 @@ function ji(e, t, r) {
|
|
1802
1802
|
refetching: S
|
1803
1803
|
});
|
1804
1804
|
} catch (F) {
|
1805
|
-
|
1805
|
+
_ = F;
|
1806
1806
|
}
|
1807
1807
|
});
|
1808
|
-
if (
|
1809
|
-
I(o, void 0, vt(
|
1808
|
+
if (_ !== void 0) {
|
1809
|
+
I(o, void 0, vt(_), w);
|
1810
1810
|
return;
|
1811
1811
|
} else if (!qi(T))
|
1812
1812
|
return I(o, T, void 0, w), T;
|
@@ -1819,7 +1819,7 @@ function ji(e, t, r) {
|
|
1819
1819
|
get: () => A()
|
1820
1820
|
},
|
1821
1821
|
error: {
|
1822
|
-
get: () =>
|
1822
|
+
get: () => y()
|
1823
1823
|
},
|
1824
1824
|
loading: {
|
1825
1825
|
get() {
|
@@ -1830,19 +1830,19 @@ function ji(e, t, r) {
|
|
1830
1830
|
latest: {
|
1831
1831
|
get() {
|
1832
1832
|
if (!d) return K();
|
1833
|
-
const S =
|
1833
|
+
const S = y();
|
1834
1834
|
if (S && !o) throw S;
|
1835
1835
|
return h();
|
1836
1836
|
}
|
1837
1837
|
}
|
1838
1838
|
});
|
1839
|
-
let
|
1840
|
-
return u ? Vi(() => (
|
1841
|
-
refetch: (S) => qn(
|
1839
|
+
let O = C;
|
1840
|
+
return u ? Vi(() => (O = C, x(!1))) : x(!1), [K, {
|
1841
|
+
refetch: (S) => qn(O, () => x(S)),
|
1842
1842
|
mutate: f
|
1843
1843
|
}];
|
1844
1844
|
}
|
1845
|
-
function
|
1845
|
+
function Uu(e) {
|
1846
1846
|
return ce(e, !1);
|
1847
1847
|
}
|
1848
1848
|
function Q(e) {
|
@@ -1855,7 +1855,7 @@ function Q(e) {
|
|
1855
1855
|
D = t;
|
1856
1856
|
}
|
1857
1857
|
}
|
1858
|
-
function
|
1858
|
+
function Fu(e, t, r) {
|
1859
1859
|
const n = Array.isArray(e);
|
1860
1860
|
let s, i = r && r.defer;
|
1861
1861
|
return (o) => {
|
@@ -1898,11 +1898,11 @@ function Ji(e) {
|
|
1898
1898
|
return ce(e, !1), D = C = null, n ? n.done : void 0;
|
1899
1899
|
});
|
1900
1900
|
}
|
1901
|
-
var [zi,
|
1902
|
-
function
|
1901
|
+
var [zi, Hu] = /* @__PURE__ */ z(!1);
|
1902
|
+
function Ku() {
|
1903
1903
|
return [zi, Ji];
|
1904
1904
|
}
|
1905
|
-
function
|
1905
|
+
function Bu(e, t) {
|
1906
1906
|
const r = Symbol("context");
|
1907
1907
|
return {
|
1908
1908
|
id: r,
|
@@ -1910,7 +1910,7 @@ function Vu(e, t) {
|
|
1910
1910
|
defaultValue: e
|
1911
1911
|
};
|
1912
1912
|
}
|
1913
|
-
function
|
1913
|
+
function Gu(e) {
|
1914
1914
|
let t;
|
1915
1915
|
return C && C.context && (t = C.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1916
1916
|
}
|
@@ -1939,7 +1939,7 @@ function Qn(e, t, r) {
|
|
1939
1939
|
return (!e.comparator || !e.comparator(n, t)) && (e.value = t, e.observers && e.observers.length && ce(() => {
|
1940
1940
|
for (let s = 0; s < e.observers.length; s += 1) {
|
1941
1941
|
const i = e.observers[s];
|
1942
|
-
i.state || (i.pure ? J.push(i) :
|
1942
|
+
i.state || (i.pure ? J.push(i) : ye.push(i), i.observers && zn(i)), i.state = pe;
|
1943
1943
|
}
|
1944
1944
|
if (J.length > 1e6)
|
1945
1945
|
throw J = [], new Error();
|
@@ -1998,18 +1998,18 @@ function Pt(e) {
|
|
1998
1998
|
function ce(e, t) {
|
1999
1999
|
if (J) return e();
|
2000
2000
|
let r = !1;
|
2001
|
-
t || (J = []),
|
2001
|
+
t || (J = []), ye ? r = !0 : ye = [], Bt++;
|
2002
2002
|
try {
|
2003
2003
|
const n = e();
|
2004
2004
|
return Xi(r), n;
|
2005
2005
|
} catch (n) {
|
2006
|
-
r || (
|
2006
|
+
r || (ye = null), J = null, Mr(n);
|
2007
2007
|
}
|
2008
2008
|
}
|
2009
2009
|
function Xi(e) {
|
2010
2010
|
if (J && (Jn(J), J = null), e) return;
|
2011
|
-
const t =
|
2012
|
-
|
2011
|
+
const t = ye;
|
2012
|
+
ye = null, t.length && ce(() => Bn(t), !1);
|
2013
2013
|
}
|
2014
2014
|
function Jn(e) {
|
2015
2015
|
for (let t = 0; t < e.length; t++) Pt(e[t]);
|
@@ -2035,7 +2035,7 @@ function xt(e, t) {
|
|
2035
2035
|
function zn(e) {
|
2036
2036
|
for (let t = 0; t < e.observers.length; t += 1) {
|
2037
2037
|
const r = e.observers[t];
|
2038
|
-
r.state || (r.state = Nt, r.pure ? J.push(r) :
|
2038
|
+
r.state || (r.state = Nt, r.pure ? J.push(r) : ye.push(r), r.observers && zn(r));
|
2039
2039
|
}
|
2040
2040
|
}
|
2041
2041
|
function et(e) {
|
@@ -2100,7 +2100,7 @@ function ta(e, t, r = {}) {
|
|
2100
2100
|
return Ze(() => $t(i)), () => {
|
2101
2101
|
let c = e() || [], d = c.length, u, l;
|
2102
2102
|
return Q(() => {
|
2103
|
-
let f,
|
2103
|
+
let f, y, p, b, E, A, v, I, N;
|
2104
2104
|
if (d === 0)
|
2105
2105
|
o !== 0 && ($t(i), i = [], n = [], s = [], o = 0, a && (a = [])), r.fallback && (n = [Er], s[0] = Te((K) => (i[0] = K, r.fallback())), o = 1);
|
2106
2106
|
else if (o === 0) {
|
@@ -2111,10 +2111,10 @@ function ta(e, t, r = {}) {
|
|
2111
2111
|
for (p = new Array(d), b = new Array(d), a && (E = new Array(d)), A = 0, v = Math.min(o, d); A < v && n[A] === c[A]; A++) ;
|
2112
2112
|
for (v = o - 1, I = d - 1; v >= A && I >= A && n[v] === c[I]; v--, I--)
|
2113
2113
|
p[I] = s[v], b[I] = i[v], a && (E[I] = a[v]);
|
2114
|
-
for (f = /* @__PURE__ */ new Map(),
|
2115
|
-
N = c[l], u = f.get(N),
|
2114
|
+
for (f = /* @__PURE__ */ new Map(), y = new Array(I + 1), l = I; l >= A; l--)
|
2115
|
+
N = c[l], u = f.get(N), y[l] = u === void 0 ? -1 : u, f.set(N, l);
|
2116
2116
|
for (u = A; u <= v; u++)
|
2117
|
-
N = n[u], l = f.get(N), l !== void 0 && l !== -1 ? (p[l] = s[u], b[l] = i[u], a && (E[l] = a[u]), l =
|
2117
|
+
N = n[u], l = f.get(N), l !== void 0 && l !== -1 ? (p[l] = s[u], b[l] = i[u], a && (E[l] = a[u]), l = y[l], f.set(N, l)) : i[u]();
|
2118
2118
|
for (l = A; l < d; l++)
|
2119
2119
|
l in p ? (s[l] = p[l], i[l] = b[l], a && (a[l] = E[l], a[l](l))) : s[l] = Te(h);
|
2120
2120
|
s = s.slice(0, o = d), n = c.slice(0);
|
@@ -2123,8 +2123,8 @@ function ta(e, t, r = {}) {
|
|
2123
2123
|
});
|
2124
2124
|
function h(f) {
|
2125
2125
|
if (i[l] = f, a) {
|
2126
|
-
const [
|
2127
|
-
return a[l] = p, t(c[l],
|
2126
|
+
const [y, p] = z(l);
|
2127
|
+
return a[l] = p, t(c[l], y);
|
2128
2128
|
}
|
2129
2129
|
return t(c[l]);
|
2130
2130
|
}
|
@@ -2145,8 +2145,8 @@ function ra(e, t, r = {}) {
|
|
2145
2145
|
});
|
2146
2146
|
function l(h) {
|
2147
2147
|
i[c] = h;
|
2148
|
-
const [f,
|
2149
|
-
return o[c] =
|
2148
|
+
const [f, y] = z(d[c]);
|
2149
|
+
return o[c] = y, t(f, c);
|
2150
2150
|
}
|
2151
2151
|
};
|
2152
2152
|
}
|
@@ -2158,10 +2158,10 @@ function ut() {
|
|
2158
2158
|
}
|
2159
2159
|
var vr = {
|
2160
2160
|
get(e, t, r) {
|
2161
|
-
return t ===
|
2161
|
+
return t === Ot ? r : e.get(t);
|
2162
2162
|
},
|
2163
2163
|
has(e, t) {
|
2164
|
-
return t ===
|
2164
|
+
return t === Ot ? !0 : e.has(t);
|
2165
2165
|
},
|
2166
2166
|
set: ut,
|
2167
2167
|
deleteProperty: ut,
|
@@ -2193,7 +2193,7 @@ function ia(...e) {
|
|
2193
2193
|
let t = !1;
|
2194
2194
|
for (let o = 0; o < e.length; o++) {
|
2195
2195
|
const a = e[o];
|
2196
|
-
t = t || !!a &&
|
2196
|
+
t = t || !!a && Ot in a, e[o] = typeof a == "function" ? (t = !0, H(a)) : a;
|
2197
2197
|
}
|
2198
2198
|
if (Kn && t)
|
2199
2199
|
return new Proxy({
|
@@ -2243,7 +2243,7 @@ function ia(...e) {
|
|
2243
2243
|
return s;
|
2244
2244
|
}
|
2245
2245
|
function aa(e, ...t) {
|
2246
|
-
if (Kn &&
|
2246
|
+
if (Kn && Ot in e) {
|
2247
2247
|
const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy({
|
2248
2248
|
get(a) {
|
2249
2249
|
return o.includes(a) ? e[a] : void 0;
|
@@ -2290,23 +2290,23 @@ function oa(e) {
|
|
2290
2290
|
return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
|
2291
2291
|
}
|
2292
2292
|
var ca = 0;
|
2293
|
-
function
|
2293
|
+
function Vu() {
|
2294
2294
|
return `cl-${ca++}`;
|
2295
2295
|
}
|
2296
2296
|
var Yn = (e) => `Stale read from <${e}>.`;
|
2297
|
-
function
|
2297
|
+
function qu(e) {
|
2298
2298
|
const t = "fallback" in e && {
|
2299
2299
|
fallback: () => e.fallback
|
2300
2300
|
};
|
2301
2301
|
return H(ta(() => e.each, e.children, t || void 0));
|
2302
2302
|
}
|
2303
|
-
function
|
2303
|
+
function ju(e) {
|
2304
2304
|
const t = "fallback" in e && {
|
2305
2305
|
fallback: () => e.fallback
|
2306
2306
|
};
|
2307
2307
|
return H(ra(() => e.each, e.children, t || void 0));
|
2308
2308
|
}
|
2309
|
-
function
|
2309
|
+
function Wu(e) {
|
2310
2310
|
const t = e.keyed, r = H(() => e.when, void 0, void 0), n = t ? r : H(r, void 0, {
|
2311
2311
|
equals: (s, i) => !s == !i
|
2312
2312
|
});
|
@@ -2322,7 +2322,7 @@ function Ju(e) {
|
|
2322
2322
|
return e.fallback;
|
2323
2323
|
}, void 0, void 0);
|
2324
2324
|
}
|
2325
|
-
function
|
2325
|
+
function Qu(e) {
|
2326
2326
|
const t = jn(() => e.children), r = H(() => {
|
2327
2327
|
const n = t(), s = Array.isArray(n) ? n : [n];
|
2328
2328
|
let i = () => {
|
@@ -2345,7 +2345,7 @@ function zu(e) {
|
|
2345
2345
|
})) : a;
|
2346
2346
|
}, void 0, void 0);
|
2347
2347
|
}
|
2348
|
-
function
|
2348
|
+
function Ju(e) {
|
2349
2349
|
return e;
|
2350
2350
|
}
|
2351
2351
|
var la = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], ua = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...la]), da = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), ha = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
@@ -2380,11 +2380,11 @@ var la = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "contr
|
|
2380
2380
|
TEXTAREA: 1
|
2381
2381
|
}
|
2382
2382
|
});
|
2383
|
-
function
|
2383
|
+
function ya(e, t) {
|
2384
2384
|
const r = fa[e];
|
2385
2385
|
return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
|
2386
2386
|
}
|
2387
|
-
var
|
2387
|
+
var ma = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), pa = /* @__PURE__ */ new Set([
|
2388
2388
|
"altGlyph",
|
2389
2389
|
"altGlyphDef",
|
2390
2390
|
"altGlyphItem",
|
@@ -2465,7 +2465,7 @@ var ya = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextme
|
|
2465
2465
|
]), ga = {
|
2466
2466
|
xlink: "http://www.w3.org/1999/xlink",
|
2467
2467
|
xml: "http://www.w3.org/XML/1998/namespace"
|
2468
|
-
},
|
2468
|
+
}, zu = (e) => H(() => e());
|
2469
2469
|
function ba(e, t, r) {
|
2470
2470
|
let n = r.length, s = t.length, i = n, o = 0, a = 0, c = t[s - 1].nextSibling, d = null;
|
2471
2471
|
for (; o < s || a < i; ) {
|
@@ -2497,8 +2497,8 @@ function ba(e, t, r) {
|
|
2497
2497
|
for (; ++l < s && l < i && !((f = d.get(t[l])) == null || f !== u + h); )
|
2498
2498
|
h++;
|
2499
2499
|
if (h > u - a) {
|
2500
|
-
const
|
2501
|
-
for (; a < u; ) e.insertBefore(r[a++],
|
2500
|
+
const y = t[o];
|
2501
|
+
for (; a < u; ) e.insertBefore(r[a++], y);
|
2502
2502
|
} else e.replaceChild(r[a++], t[o++]);
|
2503
2503
|
} else o++;
|
2504
2504
|
else t[o++].remove();
|
@@ -2514,7 +2514,7 @@ function wa(e, t, r, n = {}) {
|
|
2514
2514
|
s(), t.textContent = "";
|
2515
2515
|
};
|
2516
2516
|
}
|
2517
|
-
function
|
2517
|
+
function Yu(e, t, r, n) {
|
2518
2518
|
let s;
|
2519
2519
|
const i = () => {
|
2520
2520
|
const a = document.createElement("template");
|
@@ -2529,7 +2529,7 @@ function Ea(e, t = window.document) {
|
|
2529
2529
|
r.has(i) || (r.add(i), t.addEventListener(i, Xn));
|
2530
2530
|
}
|
2531
2531
|
}
|
2532
|
-
function
|
2532
|
+
function Xu(e = window.document) {
|
2533
2533
|
if (e[je]) {
|
2534
2534
|
for (let t of e[je].keys()) e.removeEventListener(t, Xn);
|
2535
2535
|
delete e[je];
|
@@ -2582,7 +2582,7 @@ function ka(e, t, r) {
|
|
2582
2582
|
}
|
2583
2583
|
function Ra(e, t = {}, r, n) {
|
2584
2584
|
const s = {};
|
2585
|
-
return n || Ae(() => s.children = tt(e, t.children, s.children)), Ae(() => typeof t.ref == "function" && Ca(t.ref, e)), Ae(() =>
|
2585
|
+
return n || Ae(() => s.children = tt(e, t.children, s.children)), Ae(() => typeof t.ref == "function" && Ca(t.ref, e)), Ae(() => Oa(e, t, r, !0, s, !0)), s;
|
2586
2586
|
}
|
2587
2587
|
function Ca(e, t, r) {
|
2588
2588
|
return Q(() => e(t, r));
|
@@ -2591,7 +2591,7 @@ function Tr(e, t, r, n) {
|
|
2591
2591
|
if (r !== void 0 && !n && (n = []), typeof t != "function") return tt(e, t, n, r);
|
2592
2592
|
Ae((s) => tt(e, t(), s, r), n);
|
2593
2593
|
}
|
2594
|
-
function
|
2594
|
+
function Oa(e, t, r, n, s = {}, i = !1) {
|
2595
2595
|
t || (t = {});
|
2596
2596
|
for (const o in s)
|
2597
2597
|
if (!(o in t)) {
|
@@ -2605,7 +2605,7 @@ function _a(e, t, r, n, s = {}, i = !1) {
|
|
2605
2605
|
s[o] = an(e, o, a, s[o], r, i, t);
|
2606
2606
|
}
|
2607
2607
|
}
|
2608
|
-
function
|
2608
|
+
function _a(e) {
|
2609
2609
|
return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
|
2610
2610
|
}
|
2611
2611
|
function sn(e, t, r) {
|
@@ -2626,18 +2626,18 @@ function an(e, t, r, n, s, i, o) {
|
|
2626
2626
|
const h = t.slice(10);
|
2627
2627
|
n && e.removeEventListener(h, n, !0), r && e.addEventListener(h, r, !0);
|
2628
2628
|
} else if (t.slice(0, 2) === "on") {
|
2629
|
-
const h = t.slice(2).toLowerCase(), f =
|
2629
|
+
const h = t.slice(2).toLowerCase(), f = ma.has(h);
|
2630
2630
|
if (!f && n) {
|
2631
|
-
const
|
2632
|
-
e.removeEventListener(h,
|
2631
|
+
const y = Array.isArray(n) ? n[0] : n;
|
2632
|
+
e.removeEventListener(h, y);
|
2633
2633
|
}
|
2634
2634
|
(f || r) && (Aa(e, h, r, f), f && Ea([h]));
|
2635
2635
|
} else if (t.slice(0, 5) === "attr:")
|
2636
2636
|
Sr(e, t.slice(5), r);
|
2637
2637
|
else if (t.slice(0, 5) === "bool:")
|
2638
2638
|
Sa(e, t.slice(5), r);
|
2639
|
-
else if ((l = t.slice(0, 5) === "prop:") || (d = da.has(t)) || !s && ((u =
|
2640
|
-
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Ta(e, r) : a && !c && !d ? e[
|
2639
|
+
else if ((l = t.slice(0, 5) === "prop:") || (d = da.has(t)) || !s && ((u = ya(t, e.tagName)) || (c = ua.has(t))) || (a = e.nodeName.includes("-") || "is" in o))
|
2640
|
+
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Ta(e, r) : a && !c && !d ? e[_a(t)] = r : e[u || t] = r;
|
2641
2641
|
else {
|
2642
2642
|
const h = s && t.indexOf(":") > -1 && ga[t.split(":")[0]];
|
2643
2643
|
h ? va(e, h, t, r) : Sr(e, ha[t] || t, r);
|
@@ -2687,11 +2687,11 @@ function tt(e, t, r, n, s) {
|
|
2687
2687
|
return r;
|
2688
2688
|
if (o) {
|
2689
2689
|
let a = r[0];
|
2690
|
-
a && a.nodeType === 3 ? a.data !== t && (a.data = t) : a = document.createTextNode(t), r =
|
2690
|
+
a && a.nodeType === 3 ? a.data !== t && (a.data = t) : a = document.createTextNode(t), r = _e(e, r, n, a);
|
2691
2691
|
} else
|
2692
2692
|
r !== "" && typeof r == "string" ? r = e.firstChild.data = t : r = e.textContent = t;
|
2693
2693
|
} else if (t == null || i === "boolean")
|
2694
|
-
r =
|
2694
|
+
r = _e(e, r, n);
|
2695
2695
|
else {
|
2696
2696
|
if (i === "function")
|
2697
2697
|
return Ae(() => {
|
@@ -2704,13 +2704,13 @@ function tt(e, t, r, n, s) {
|
|
2704
2704
|
if (Ar(a, t, r, s))
|
2705
2705
|
return Ae(() => r = tt(e, a, r, n, !0)), () => r;
|
2706
2706
|
if (a.length === 0) {
|
2707
|
-
if (r =
|
2708
|
-
} else c ? r.length === 0 ? on(e, a, n) : ba(e, r, a) : (r &&
|
2707
|
+
if (r = _e(e, r, n), o) return r;
|
2708
|
+
} else c ? r.length === 0 ? on(e, a, n) : ba(e, r, a) : (r && _e(e), on(e, a));
|
2709
2709
|
r = a;
|
2710
2710
|
} else if (t.nodeType) {
|
2711
2711
|
if (Array.isArray(r)) {
|
2712
|
-
if (o) return r =
|
2713
|
-
|
2712
|
+
if (o) return r = _e(e, r, n, t);
|
2713
|
+
_e(e, r, null, t);
|
2714
2714
|
} else r == null || r === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
|
2715
2715
|
r = t;
|
2716
2716
|
}
|
@@ -2741,7 +2741,7 @@ function Ar(e, t, r, n) {
|
|
2741
2741
|
function on(e, t, r = null) {
|
2742
2742
|
for (let n = 0, s = t.length; n < s; n++) e.insertBefore(t[n], r);
|
2743
2743
|
}
|
2744
|
-
function
|
2744
|
+
function _e(e, t, r, n) {
|
2745
2745
|
if (r === void 0) return e.textContent = "";
|
2746
2746
|
const s = n || document.createTextNode("");
|
2747
2747
|
if (t.length) {
|
@@ -2760,7 +2760,7 @@ var Na = "http://www.w3.org/2000/svg";
|
|
2760
2760
|
function Zn(e, t = !1) {
|
2761
2761
|
return t ? document.createElementNS(Na, e) : document.createElement(e);
|
2762
2762
|
}
|
2763
|
-
function
|
2763
|
+
function Zu(e) {
|
2764
2764
|
const {
|
2765
2765
|
useShadow: t
|
2766
2766
|
} = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = Qi();
|
@@ -2799,7 +2799,7 @@ function Pa(e, t) {
|
|
2799
2799
|
}
|
2800
2800
|
});
|
2801
2801
|
}
|
2802
|
-
function
|
2802
|
+
function ed(e) {
|
2803
2803
|
const [, t] = aa(e, ["component"]);
|
2804
2804
|
return Pa(() => e.component, t);
|
2805
2805
|
}
|
@@ -3185,25 +3185,25 @@ var hs = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
|
|
3185
3185
|
} : f;
|
3186
3186
|
}
|
3187
3187
|
if (!no(e, r)) {
|
3188
|
-
const f = un(e, r),
|
3188
|
+
const f = un(e, r), y = f ? {
|
3189
3189
|
transformedValue: f.value,
|
3190
3190
|
annotations: [f.type]
|
3191
3191
|
} : {
|
3192
3192
|
transformedValue: e
|
3193
3193
|
};
|
3194
|
-
return a || o.set(e,
|
3194
|
+
return a || o.set(e, y), y;
|
3195
3195
|
}
|
3196
3196
|
if (St(i, e))
|
3197
3197
|
return {
|
3198
3198
|
transformedValue: null
|
3199
3199
|
};
|
3200
3200
|
const c = un(e, r), d = c?.value ?? e, u = ve(d) ? [] : {}, l = {};
|
3201
|
-
Fe(d, (f,
|
3202
|
-
if (
|
3203
|
-
throw new Error(`Detected property ${
|
3204
|
-
const p = hs(f, t, r, n, [...s,
|
3205
|
-
u[
|
3206
|
-
l[ns(
|
3201
|
+
Fe(d, (f, y) => {
|
3202
|
+
if (y === "__proto__" || y === "constructor" || y === "prototype")
|
3203
|
+
throw new Error(`Detected property ${y}. This is a prototype pollution risk, please remove it from your object.`);
|
3204
|
+
const p = hs(f, t, r, n, [...s, y], [...i, e], o);
|
3205
|
+
u[y] = p.transformedValue, ve(p.annotations) ? l[y] = p.annotations : rt(p.annotations) && Fe(p.annotations, (b, E) => {
|
3206
|
+
l[ns(y) + "." + E] = b;
|
3207
3207
|
});
|
3208
3208
|
});
|
3209
3209
|
const h = Ir(l) ? {
|
@@ -3306,42 +3306,42 @@ P.registerClass = P.defaultInstance.registerClass.bind(P.defaultInstance);
|
|
3306
3306
|
P.registerSymbol = P.defaultInstance.registerSymbol.bind(P.defaultInstance);
|
3307
3307
|
P.registerCustom = P.defaultInstance.registerCustom.bind(P.defaultInstance);
|
3308
3308
|
P.allowErrorProps = P.defaultInstance.allowErrorProps.bind(P.defaultInstance);
|
3309
|
-
var co = P.serialize,
|
3310
|
-
function
|
3309
|
+
var co = P.serialize, td = P.stringify;
|
3310
|
+
function rd(e) {
|
3311
3311
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
3312
3312
|
}
|
3313
|
-
function
|
3313
|
+
function nd(e, t) {
|
3314
3314
|
return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
|
3315
3315
|
}
|
3316
|
-
function
|
3316
|
+
function sd({
|
3317
3317
|
queryState: e,
|
3318
3318
|
observerCount: t,
|
3319
3319
|
isStale: r
|
3320
3320
|
}) {
|
3321
3321
|
return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
|
3322
3322
|
}
|
3323
|
-
function
|
3323
|
+
function id({
|
3324
3324
|
status: e,
|
3325
3325
|
isPaused: t
|
3326
3326
|
}) {
|
3327
3327
|
return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
|
3328
3328
|
}
|
3329
|
-
function
|
3329
|
+
function ad(e) {
|
3330
3330
|
return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
|
3331
3331
|
}
|
3332
|
-
var
|
3332
|
+
var od = (e, t = !1) => {
|
3333
3333
|
const {
|
3334
3334
|
json: r
|
3335
3335
|
} = co(e);
|
3336
3336
|
return JSON.stringify(r, null, t ? 2 : void 0);
|
3337
|
-
}, dt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, lo = (e, t) => e.queryHash.localeCompare(t.queryHash),
|
3337
|
+
}, dt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, lo = (e, t) => e.queryHash.localeCompare(t.queryHash), ys = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, uo = (e, t) => dt(e) === dt(t) ? ys(e, t) : dt(e) > dt(t) ? 1 : -1, cd = {
|
3338
3338
|
status: uo,
|
3339
3339
|
"query hash": lo,
|
3340
|
-
"last updated": ms
|
3341
|
-
}, ht = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, ys = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, ho = (e, t) => ht(e) === ht(t) ? ys(e, t) : ht(e) > ht(t) ? 1 : -1, dd = {
|
3342
|
-
status: ho,
|
3343
3340
|
"last updated": ys
|
3344
|
-
},
|
3341
|
+
}, ht = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, ms = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, ho = (e, t) => ht(e) === ht(t) ? ms(e, t) : ht(e) > ht(t) ? 1 : -1, ld = {
|
3342
|
+
status: ho,
|
3343
|
+
"last updated": ms
|
3344
|
+
}, ud = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), dd = () => {
|
3345
3345
|
const [e, t] = z("dark");
|
3346
3346
|
return Wi(() => {
|
3347
3347
|
const r = window.matchMedia("(prefers-color-scheme: dark)");
|
@@ -3382,16 +3382,16 @@ var ld = (e, t = !1) => {
|
|
3382
3382
|
return n[s] = ft(n[s], i, r), n;
|
3383
3383
|
}
|
3384
3384
|
return e;
|
3385
|
-
},
|
3385
|
+
}, yt = (e, t) => {
|
3386
3386
|
if (e instanceof Map) {
|
3387
3387
|
const r = new Map(e);
|
3388
3388
|
if (t.length === 1)
|
3389
3389
|
return r.delete(t[0]), r;
|
3390
3390
|
const [n, ...s] = t;
|
3391
|
-
return r.set(n,
|
3391
|
+
return r.set(n, yt(r.get(n), s)), r;
|
3392
3392
|
}
|
3393
3393
|
if (e instanceof Set) {
|
3394
|
-
const r =
|
3394
|
+
const r = yt(Array.from(e), t);
|
3395
3395
|
return new Set(r);
|
3396
3396
|
}
|
3397
3397
|
if (Array.isArray(e)) {
|
@@ -3399,7 +3399,7 @@ var ld = (e, t = !1) => {
|
|
3399
3399
|
if (t.length === 1)
|
3400
3400
|
return r.filter((i, o) => o.toString() !== t[0]);
|
3401
3401
|
const [n, ...s] = t;
|
3402
|
-
return r[n] =
|
3402
|
+
return r[n] = yt(r[n], s), r;
|
3403
3403
|
}
|
3404
3404
|
if (e instanceof Object) {
|
3405
3405
|
const r = {
|
@@ -3408,14 +3408,14 @@ var ld = (e, t = !1) => {
|
|
3408
3408
|
if (t.length === 1)
|
3409
3409
|
return delete r[t[0]], r;
|
3410
3410
|
const [n, ...s] = t;
|
3411
|
-
return r[n] =
|
3411
|
+
return r[n] = yt(r[n], s), r;
|
3412
3412
|
}
|
3413
3413
|
return e;
|
3414
3414
|
}, fo = (e, t) => {
|
3415
3415
|
if (!e || document.querySelector("#_goober") || t?.querySelector("#_goober")) return;
|
3416
3416
|
const n = document.createElement("style"), s = document.createTextNode("");
|
3417
3417
|
n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
|
3418
|
-
},
|
3418
|
+
}, yo = class {
|
3419
3419
|
#t;
|
3420
3420
|
#e;
|
3421
3421
|
#r;
|
@@ -3467,7 +3467,7 @@ var ld = (e, t = !1) => {
|
|
3467
3467
|
const t = wa(() => {
|
3468
3468
|
const r = this, [n] = this.#i, [s] = this.#f, [i] = this.#u, [o] = this.#d, [a] = this.#h, [c] = this.#t;
|
3469
3469
|
let d;
|
3470
|
-
return this.#c ? d = this.#c : (d = oa(() => import("./LNWAZHJI.
|
3470
|
+
return this.#c ? d = this.#c : (d = oa(() => import("./LNWAZHJI.CD_ux83e.js")), this.#c = d), fo(this.#o, this.#a), na(d, ia({
|
3471
3471
|
get queryFlavor() {
|
3472
3472
|
return r.#r;
|
3473
3473
|
},
|
@@ -3509,7 +3509,7 @@ var ld = (e, t = !1) => {
|
|
3509
3509
|
this.#l?.(), this.#s = !1;
|
3510
3510
|
}
|
3511
3511
|
};
|
3512
|
-
function
|
3512
|
+
function mo(e) {
|
3513
3513
|
const t = Hn(e.client), r = U.useRef(null), {
|
3514
3514
|
buttonPosition: n,
|
3515
3515
|
position: s,
|
@@ -3519,7 +3519,7 @@ function yo(e) {
|
|
3519
3519
|
shadowDOMTarget: c,
|
3520
3520
|
hideDisabledQueries: d
|
3521
3521
|
} = e, [u] = U.useState(
|
3522
|
-
new
|
3522
|
+
new yo({
|
3523
3523
|
client: t,
|
3524
3524
|
queryFlavor: "React Query",
|
3525
3525
|
version: "5",
|
@@ -3545,11 +3545,11 @@ function yo(e) {
|
|
3545
3545
|
u.setErrorTypes(o || []);
|
3546
3546
|
}, [o, u]), U.useEffect(() => (r.current && u.mount(r.current), () => {
|
3547
3547
|
u.unmount();
|
3548
|
-
}), [u]), /* @__PURE__ */
|
3548
|
+
}), [u]), /* @__PURE__ */ m("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
|
3549
3549
|
}
|
3550
3550
|
var po = process.env.NODE_ENV !== "development" ? function() {
|
3551
3551
|
return null;
|
3552
|
-
} :
|
3552
|
+
} : mo;
|
3553
3553
|
/*!
|
3554
3554
|
@versini/auth-common v4.5.1
|
3555
3555
|
© 2025 gizmette.com
|
@@ -3590,7 +3590,7 @@ awIDAQAB
|
|
3590
3590
|
LOGOUT: "logout",
|
3591
3591
|
LOGIN: "login",
|
3592
3592
|
REFRESH: "refresh"
|
3593
|
-
},
|
3593
|
+
}, mt = new TextEncoder(), He = new TextDecoder();
|
3594
3594
|
function bo(...e) {
|
3595
3595
|
const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
|
3596
3596
|
let n = 0;
|
@@ -3827,18 +3827,18 @@ const it = (e) => {
|
|
3827
3827
|
}, Ts = (e, t) => {
|
3828
3828
|
const r = e.data.subarray(e.pos, e.pos + t);
|
3829
3829
|
return e.pos += t, r;
|
3830
|
-
},
|
3830
|
+
}, Oo = (e) => {
|
3831
3831
|
Lt(e, 6, "Expected algorithm OID");
|
3832
3832
|
const t = Dt(e);
|
3833
3833
|
return Ts(e, t);
|
3834
3834
|
};
|
3835
|
-
function
|
3835
|
+
function _o(e) {
|
3836
3836
|
Lt(e, 48, "Invalid SPKI structure"), Dt(e), Lt(e, 48, "Expected algorithm identifier");
|
3837
3837
|
const t = Dt(e);
|
3838
3838
|
return { algIdStart: e.pos, algIdLength: t };
|
3839
3839
|
}
|
3840
3840
|
const No = (e) => {
|
3841
|
-
const t =
|
3841
|
+
const t = Oo(e);
|
3842
3842
|
if (Zt(t, [43, 101, 110]))
|
3843
3843
|
return "X25519";
|
3844
3844
|
if (!Zt(t, [42, 134, 72, 206, 61, 2, 1]))
|
@@ -3913,7 +3913,7 @@ const No = (e) => {
|
|
3913
3913
|
let s = r;
|
3914
3914
|
return t?.startsWith?.("ECDH-ES") && (s ||= {}, s.getNamedCurve = (i) => {
|
3915
3915
|
const o = Co(i);
|
3916
|
-
return
|
3916
|
+
return _o(o), No(o);
|
3917
3917
|
}), Po("spki", n, t, s);
|
3918
3918
|
};
|
3919
3919
|
function Do(e) {
|
@@ -4171,7 +4171,7 @@ const fn = async (e, t, r, n = !1) => {
|
|
4171
4171
|
if (Ur(e))
|
4172
4172
|
return e.k ? Je(e.k) : fn(e, e, t, !0);
|
4173
4173
|
throw new Error("unreachable");
|
4174
|
-
}, Le = (e) => e?.[Symbol.toStringTag],
|
4174
|
+
}, Le = (e) => e?.[Symbol.toStringTag], Or = (e, t, r) => {
|
4175
4175
|
if (t.use !== void 0) {
|
4176
4176
|
let n;
|
4177
4177
|
switch (r) {
|
@@ -4217,7 +4217,7 @@ const fn = async (e, t, r, n = !1) => {
|
|
4217
4217
|
}, qo = (e, t, r) => {
|
4218
4218
|
if (!(t instanceof Uint8Array)) {
|
4219
4219
|
if (Ur(t)) {
|
4220
|
-
if (Bo(t) &&
|
4220
|
+
if (Bo(t) && Or(e, t, r))
|
4221
4221
|
return;
|
4222
4222
|
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');
|
4223
4223
|
}
|
@@ -4231,12 +4231,12 @@ const fn = async (e, t, r, n = !1) => {
|
|
4231
4231
|
switch (r) {
|
4232
4232
|
case "decrypt":
|
4233
4233
|
case "sign":
|
4234
|
-
if (Ho(t) &&
|
4234
|
+
if (Ho(t) && Or(e, t, r))
|
4235
4235
|
return;
|
4236
4236
|
throw new TypeError("JSON Web Key for this operation be a private JWK");
|
4237
4237
|
case "encrypt":
|
4238
4238
|
case "verify":
|
4239
|
-
if (Ko(t) &&
|
4239
|
+
if (Ko(t) && Or(e, t, r))
|
4240
4240
|
return;
|
4241
4241
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
4242
4242
|
}
|
@@ -4349,7 +4349,7 @@ async function Yo(e, t, r) {
|
|
4349
4349
|
throw new V("JWS Payload must be a string or an Uint8Array instance");
|
4350
4350
|
let d = !1;
|
4351
4351
|
typeof t == "function" && (t = await t(n, e), d = !0), Wo(a, t, "verify");
|
4352
|
-
const u = bo(
|
4352
|
+
const u = bo(mt.encode(e.protected ?? ""), mt.encode("."), typeof e.payload == "string" ? mt.encode(e.payload) : e.payload);
|
4353
4353
|
let l;
|
4354
4354
|
try {
|
4355
4355
|
l = Je(e.signature);
|
@@ -4366,9 +4366,9 @@ async function Yo(e, t, r) {
|
|
4366
4366
|
} catch {
|
4367
4367
|
throw new V("Failed to base64url decode the payload");
|
4368
4368
|
}
|
4369
|
-
else typeof e.payload == "string" ? f =
|
4370
|
-
const
|
4371
|
-
return e.protected !== void 0 && (
|
4369
|
+
else typeof e.payload == "string" ? f = mt.encode(e.payload) : f = e.payload;
|
4370
|
+
const y = { payload: f };
|
4371
|
+
return e.protected !== void 0 && (y.protectedHeader = n), e.header !== void 0 && (y.unprotectedHeader = e.header), d ? { ...y, key: h } : y;
|
4372
4372
|
}
|
4373
4373
|
async function Xo(e, t, r) {
|
4374
4374
|
if (e instanceof Uint8Array && (e = He.decode(e)), typeof e != "string")
|
@@ -4379,7 +4379,7 @@ async function Xo(e, t, r) {
|
|
4379
4379
|
const a = await Yo({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
|
4380
4380
|
return typeof t == "function" ? { ...c, key: a.key } : c;
|
4381
4381
|
}
|
4382
|
-
const Zo = (e) => Math.floor(e.getTime() / 1e3), As = 60, Is = As * 60, Fr = Is * 24, ec = Fr * 7, tc = Fr * 365.25, rc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,
|
4382
|
+
const Zo = (e) => Math.floor(e.getTime() / 1e3), As = 60, Is = As * 60, Fr = Is * 24, ec = Fr * 7, tc = Fr * 365.25, rc = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, yn = (e) => {
|
4383
4383
|
const t = rc.exec(e);
|
4384
4384
|
if (!t || t[4] && t[1])
|
4385
4385
|
throw new TypeError("Invalid time period format");
|
@@ -4422,7 +4422,7 @@ const Zo = (e) => Math.floor(e.getTime() / 1e3), As = 60, Is = As * 60, Fr = Is
|
|
4422
4422
|
break;
|
4423
4423
|
}
|
4424
4424
|
return t[1] === "-" || t[4] === "ago" ? -s : s;
|
4425
|
-
},
|
4425
|
+
}, mn = (e) => e.includes("/") ? e.toLowerCase() : `application/${e.toLowerCase()}`, nc = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
|
4426
4426
|
function sc(e, t, r = {}) {
|
4427
4427
|
let n;
|
4428
4428
|
try {
|
@@ -4432,13 +4432,13 @@ function sc(e, t, r = {}) {
|
|
4432
4432
|
if (!it(n))
|
4433
4433
|
throw new ue("JWT Claims Set must be a top-level JSON object");
|
4434
4434
|
const { typ: s } = r;
|
4435
|
-
if (s && (typeof e.typ != "string" ||
|
4435
|
+
if (s && (typeof e.typ != "string" || mn(e.typ) !== mn(s)))
|
4436
4436
|
throw new ie('unexpected "typ" JWT header value', n, "typ", "check_failed");
|
4437
4437
|
const { requiredClaims: i = [], issuer: o, subject: a, audience: c, maxTokenAge: d } = r, u = [...i];
|
4438
4438
|
d !== void 0 && u.push("iat"), c !== void 0 && u.push("aud"), a !== void 0 && u.push("sub"), o !== void 0 && u.push("iss");
|
4439
|
-
for (const
|
4440
|
-
if (!(
|
4441
|
-
throw new ie(`missing required "${
|
4439
|
+
for (const y of new Set(u.reverse()))
|
4440
|
+
if (!(y in n))
|
4441
|
+
throw new ie(`missing required "${y}" claim`, n, y, "missing");
|
4442
4442
|
if (o && !(Array.isArray(o) ? o : [o]).includes(n.iss))
|
4443
4443
|
throw new ie('unexpected "iss" claim value', n, "iss", "check_failed");
|
4444
4444
|
if (a && n.sub !== a)
|
@@ -4448,7 +4448,7 @@ function sc(e, t, r = {}) {
|
|
4448
4448
|
let l;
|
4449
4449
|
switch (typeof r.clockTolerance) {
|
4450
4450
|
case "string":
|
4451
|
-
l =
|
4451
|
+
l = yn(r.clockTolerance);
|
4452
4452
|
break;
|
4453
4453
|
case "number":
|
4454
4454
|
l = r.clockTolerance;
|
@@ -4475,10 +4475,10 @@ function sc(e, t, r = {}) {
|
|
4475
4475
|
throw new hn('"exp" claim timestamp check failed', n, "exp", "check_failed");
|
4476
4476
|
}
|
4477
4477
|
if (d) {
|
4478
|
-
const
|
4479
|
-
if (
|
4478
|
+
const y = f - n.iat, p = typeof d == "number" ? d : yn(d);
|
4479
|
+
if (y - l > p)
|
4480
4480
|
throw new hn('"iat" claim timestamp check failed (too far in the past)', n, "iat", "check_failed");
|
4481
|
-
if (
|
4481
|
+
if (y < 0 - l)
|
4482
4482
|
throw new ie('"iat" claim timestamp check failed (it should be in the past)', n, "iat", "check_failed");
|
4483
4483
|
}
|
4484
4484
|
return n;
|
@@ -4560,7 +4560,7 @@ function gn(e, t, r) {
|
|
4560
4560
|
const bn = globalThis.crypto, hc = (e) => `${gn()}${gn()}`.slice(0, e), fc = (e) => btoa(
|
4561
4561
|
[...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
|
4562
4562
|
);
|
4563
|
-
async function
|
4563
|
+
async function yc(e) {
|
4564
4564
|
if (!bn.subtle)
|
4565
4565
|
throw new Error(
|
4566
4566
|
"crypto.subtle is available only in secure contexts (HTTPS)."
|
@@ -4568,8 +4568,8 @@ async function mc(e) {
|
|
4568
4568
|
const t = new TextEncoder().encode(e), r = await bn.subtle.digest("SHA-256", t);
|
4569
4569
|
return fc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
4570
4570
|
}
|
4571
|
-
async function
|
4572
|
-
const r = hc(43), n = await
|
4571
|
+
async function mc(e) {
|
4572
|
+
const r = hc(43), n = await yc(r);
|
4573
4573
|
return {
|
4574
4574
|
code_verifier: r,
|
4575
4575
|
code_challenge: n
|
@@ -4748,8 +4748,8 @@ class Ec {
|
|
4748
4748
|
}
|
4749
4749
|
}
|
4750
4750
|
}
|
4751
|
-
const
|
4752
|
-
function
|
4751
|
+
const Os = new Ec(), vc = ["cross-platform", "platform"];
|
4752
|
+
function _s(e) {
|
4753
4753
|
if (e && !(vc.indexOf(e) < 0))
|
4754
4754
|
return e;
|
4755
4755
|
}
|
@@ -4767,12 +4767,12 @@ async function Sc(e) {
|
|
4767
4767
|
},
|
4768
4768
|
excludeCredentials: t.excludeCredentials?.map(Rs)
|
4769
4769
|
}, s = {};
|
4770
|
-
r && (s.mediation = "conditional"), s.publicKey = n, s.signal =
|
4770
|
+
r && (s.mediation = "conditional"), s.publicKey = n, s.signal = Os.createNewAbortSignal();
|
4771
4771
|
let i;
|
4772
4772
|
try {
|
4773
4773
|
i = await navigator.credentials.create(s);
|
4774
|
-
} catch (
|
4775
|
-
throw wc({ error:
|
4774
|
+
} catch (y) {
|
4775
|
+
throw wc({ error: y, options: s });
|
4776
4776
|
}
|
4777
4777
|
if (!i)
|
4778
4778
|
throw new Error("Registration was not completed");
|
@@ -4783,23 +4783,23 @@ async function Sc(e) {
|
|
4783
4783
|
if (typeof c.getPublicKeyAlgorithm == "function")
|
4784
4784
|
try {
|
4785
4785
|
l = c.getPublicKeyAlgorithm();
|
4786
|
-
} catch (
|
4787
|
-
rr("getPublicKeyAlgorithm()",
|
4786
|
+
} catch (y) {
|
4787
|
+
rr("getPublicKeyAlgorithm()", y);
|
4788
4788
|
}
|
4789
4789
|
let h;
|
4790
4790
|
if (typeof c.getPublicKey == "function")
|
4791
4791
|
try {
|
4792
|
-
const
|
4793
|
-
|
4794
|
-
} catch (
|
4795
|
-
rr("getPublicKey()",
|
4792
|
+
const y = c.getPublicKey();
|
4793
|
+
y !== null && (h = oe(y));
|
4794
|
+
} catch (y) {
|
4795
|
+
rr("getPublicKey()", y);
|
4796
4796
|
}
|
4797
4797
|
let f;
|
4798
4798
|
if (typeof c.getAuthenticatorData == "function")
|
4799
4799
|
try {
|
4800
4800
|
f = oe(c.getAuthenticatorData());
|
4801
|
-
} catch (
|
4802
|
-
rr("getAuthenticatorData()",
|
4801
|
+
} catch (y) {
|
4802
|
+
rr("getAuthenticatorData()", y);
|
4803
4803
|
}
|
4804
4804
|
return {
|
4805
4805
|
id: o,
|
@@ -4814,7 +4814,7 @@ async function Sc(e) {
|
|
4814
4814
|
},
|
4815
4815
|
type: d,
|
4816
4816
|
clientExtensionResults: i.getClientExtensionResults(),
|
4817
|
-
authenticatorAttachment:
|
4817
|
+
authenticatorAttachment: _s(i.authenticatorAttachment)
|
4818
4818
|
};
|
4819
4819
|
}
|
4820
4820
|
function rr(e, t) {
|
@@ -4890,7 +4890,7 @@ async function Ic(e) {
|
|
4890
4890
|
throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
|
4891
4891
|
o.mediation = "conditional", i.allowCredentials = [];
|
4892
4892
|
}
|
4893
|
-
o.publicKey = i, o.signal =
|
4893
|
+
o.publicKey = i, o.signal = Os.createNewAbortSignal();
|
4894
4894
|
let a;
|
4895
4895
|
try {
|
4896
4896
|
a = await navigator.credentials.get(o);
|
@@ -4912,7 +4912,7 @@ async function Ic(e) {
|
|
4912
4912
|
},
|
4913
4913
|
type: l,
|
4914
4914
|
clientExtensionResults: a.getClientExtensionResults(),
|
4915
|
-
authenticatorAttachment:
|
4915
|
+
authenticatorAttachment: _s(a.authenticatorAttachment)
|
4916
4916
|
};
|
4917
4917
|
}
|
4918
4918
|
function Ns(e, t) {
|
@@ -4960,21 +4960,21 @@ function Cc(e, t = 0) {
|
|
4960
4960
|
return (G[e[t + 0]] + G[e[t + 1]] + G[e[t + 2]] + G[e[t + 3]] + "-" + G[e[t + 4]] + G[e[t + 5]] + "-" + G[e[t + 6]] + G[e[t + 7]] + "-" + G[e[t + 8]] + G[e[t + 9]] + "-" + G[e[t + 10]] + G[e[t + 11]] + G[e[t + 12]] + G[e[t + 13]] + G[e[t + 14]] + G[e[t + 15]]).toLowerCase();
|
4961
4961
|
}
|
4962
4962
|
let sr;
|
4963
|
-
const
|
4964
|
-
function
|
4963
|
+
const Oc = new Uint8Array(16);
|
4964
|
+
function _c() {
|
4965
4965
|
if (!sr) {
|
4966
4966
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
4967
4967
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
4968
4968
|
sr = crypto.getRandomValues.bind(crypto);
|
4969
4969
|
}
|
4970
|
-
return sr(
|
4970
|
+
return sr(Oc);
|
4971
4971
|
}
|
4972
4972
|
const Nc = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), vn = { randomUUID: Nc };
|
4973
4973
|
function ir(e, t, r) {
|
4974
4974
|
if (vn.randomUUID && !e)
|
4975
4975
|
return vn.randomUUID();
|
4976
4976
|
e = e || {};
|
4977
|
-
const n = e.random ?? e.rng?.() ??
|
4977
|
+
const n = e.random ?? e.rng?.() ?? _c();
|
4978
4978
|
if (n.length < 16)
|
4979
4979
|
throw new Error("Random bytes length must be >= 16");
|
4980
4980
|
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Cc(n);
|
@@ -5360,7 +5360,7 @@ const De = () => {
|
|
5360
5360
|
e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
|
5361
5361
|
},
|
5362
5362
|
[e]
|
5363
|
-
), qc =
|
5363
|
+
), qc = me.createContext({
|
5364
5364
|
state: Ls,
|
5365
5365
|
dispatch: () => {
|
5366
5366
|
}
|
@@ -5383,7 +5383,7 @@ const De = () => {
|
|
5383
5383
|
logoutReason: t.payload.logoutReason
|
5384
5384
|
} : e, Wc = ({ children: e }) => {
|
5385
5385
|
const t = Gc();
|
5386
|
-
return /* @__PURE__ */
|
5386
|
+
return /* @__PURE__ */ m(ks.Provider, { value: t, children: e });
|
5387
5387
|
}, Sn = ({
|
5388
5388
|
children: e,
|
5389
5389
|
sessionExpiration: t,
|
@@ -5397,7 +5397,7 @@ const De = () => {
|
|
5397
5397
|
debug: s
|
5398
5398
|
}), c = Vc(s), d = ee(!1), [u, l, , h] = pt({
|
5399
5399
|
key: `${gt}::${r}::@@user@@`
|
5400
|
-
}), [f,
|
5400
|
+
}), [f, y, , p] = pt({
|
5401
5401
|
key: `${gt}::${r}::@@access@@`
|
5402
5402
|
}), [b, E, , A] = pt(
|
5403
5403
|
{
|
@@ -5413,7 +5413,7 @@ const De = () => {
|
|
5413
5413
|
N,
|
5414
5414
|
A,
|
5415
5415
|
c
|
5416
|
-
]),
|
5416
|
+
]), O = ne(
|
5417
5417
|
(k) => {
|
5418
5418
|
c(
|
5419
5419
|
"removeStateAndLocalStorage: removing state and local storage with reason: ",
|
@@ -5438,14 +5438,14 @@ const De = () => {
|
|
5438
5438
|
domain: n,
|
5439
5439
|
idToken: u,
|
5440
5440
|
endpoint: i
|
5441
|
-
}),
|
5441
|
+
}), O(k || Pe);
|
5442
5442
|
},
|
5443
5443
|
[
|
5444
5444
|
u,
|
5445
5445
|
o,
|
5446
5446
|
r,
|
5447
5447
|
n,
|
5448
|
-
|
5448
|
+
O,
|
5449
5449
|
c,
|
5450
5450
|
i
|
5451
5451
|
]
|
@@ -5479,14 +5479,14 @@ const De = () => {
|
|
5479
5479
|
a({ type: qe, payload: { isLoading: !0 } }), x();
|
5480
5480
|
const R = ir();
|
5481
5481
|
I(R), c("login: Logging in with password");
|
5482
|
-
const { code_verifier: be, code_challenge: we } = await
|
5482
|
+
const { code_verifier: be, code_challenge: we } = await mc(), Qr = await Hc({
|
5483
5483
|
endpoint: i,
|
5484
5484
|
nonce: R,
|
5485
5485
|
clientId: r,
|
5486
5486
|
code_challenge: we
|
5487
5487
|
});
|
5488
5488
|
if (Qr.status) {
|
5489
|
-
const
|
5489
|
+
const Oe = await Fc({
|
5490
5490
|
endpoint: i,
|
5491
5491
|
username: k,
|
5492
5492
|
password: $,
|
@@ -5499,20 +5499,20 @@ const De = () => {
|
|
5499
5499
|
domain: n,
|
5500
5500
|
ua: navigator.userAgent
|
5501
5501
|
});
|
5502
|
-
return
|
5502
|
+
return Oe.status ? (l(Oe.idToken), y(Oe.accessToken), E(Oe.refreshToken), a({
|
5503
5503
|
type: Tt,
|
5504
5504
|
payload: {
|
5505
5505
|
authenticationType: Qe.CODE,
|
5506
5506
|
user: {
|
5507
|
-
userId:
|
5507
|
+
userId: Oe.userId,
|
5508
5508
|
username: k,
|
5509
|
-
email:
|
5509
|
+
email: Oe.email
|
5510
5510
|
}
|
5511
5511
|
}
|
5512
|
-
}), !0) : (
|
5512
|
+
}), !0) : (O(ar), !1);
|
5513
5513
|
}
|
5514
5514
|
return !1;
|
5515
|
-
},
|
5515
|
+
}, _ = async (k) => {
|
5516
5516
|
k?.preventDefault(), await S(Pc);
|
5517
5517
|
}, T = async () => {
|
5518
5518
|
const { isAuthenticated: k, user: $ } = o;
|
@@ -5532,7 +5532,7 @@ const De = () => {
|
|
5532
5532
|
nonce: v,
|
5533
5533
|
domain: n
|
5534
5534
|
});
|
5535
|
-
return R.status && R.status === "success" && R.newAccessToken ? (
|
5535
|
+
return R.status && R.status === "success" && R.newAccessToken ? (y(R.newAccessToken), E(R.newRefreshToken), R.newAccessToken) : (c(
|
5536
5536
|
"getAccessToken: invalid refresh token, need to re-authenticate"
|
5537
5537
|
), await S(Pe), "");
|
5538
5538
|
}
|
@@ -5623,7 +5623,7 @@ const De = () => {
|
|
5623
5623
|
sessionExpiration: t,
|
5624
5624
|
ua: navigator.userAgent
|
5625
5625
|
}
|
5626
|
-
}), R.data.status === ct ? (l(R.data.idToken),
|
5626
|
+
}), R.data.status === ct ? (l(R.data.idToken), y(R.data.accessToken), E(R.data.refreshToken), a({
|
5627
5627
|
type: Tt,
|
5628
5628
|
payload: {
|
5629
5629
|
authenticationType: Qe.PASSKEY,
|
@@ -5633,7 +5633,7 @@ const De = () => {
|
|
5633
5633
|
email: R.data.email
|
5634
5634
|
}
|
5635
5635
|
}
|
5636
|
-
}), !0) : (
|
5636
|
+
}), !0) : (O(ar), !1);
|
5637
5637
|
} catch {
|
5638
5638
|
return await $e({
|
5639
5639
|
endpoint: i,
|
@@ -5648,23 +5648,23 @@ const De = () => {
|
|
5648
5648
|
domain: n,
|
5649
5649
|
sessionExpiration: t
|
5650
5650
|
}
|
5651
|
-
}),
|
5651
|
+
}), O(ar), !1;
|
5652
5652
|
}
|
5653
5653
|
return !1;
|
5654
5654
|
};
|
5655
|
-
return /* @__PURE__ */
|
5655
|
+
return /* @__PURE__ */ m(qc.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ m(
|
5656
5656
|
Ms.Provider,
|
5657
5657
|
{
|
5658
5658
|
value: {
|
5659
5659
|
...o,
|
5660
5660
|
login: w,
|
5661
|
-
logout:
|
5661
|
+
logout: _,
|
5662
5662
|
getAccessToken: T,
|
5663
5663
|
getIdToken: F,
|
5664
5664
|
registeringForPasskey: ge,
|
5665
5665
|
loginWithPasskey: Ce
|
5666
5666
|
},
|
5667
|
-
children: /* @__PURE__ */
|
5667
|
+
children: /* @__PURE__ */ m(Wc, { children: e })
|
5668
5668
|
}
|
5669
5669
|
) });
|
5670
5670
|
};
|
@@ -5686,7 +5686,7 @@ const Us = () => {
|
|
5686
5686
|
if (!e)
|
5687
5687
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
5688
5688
|
return e;
|
5689
|
-
},
|
5689
|
+
}, wd = "I'm having trouble right now. Please try again later.", Ed = "action-search", vd = "action-sort", Sd = "action-toggle-prompt", Td = "action-reset-prompt", Fs = "sassy-saint-", Ad = "search", Id = "sort", kd = "sort-timestamp", Rd = "sort-token-usage", Cd = "private-disclosure", Od = "reasoning-disclosure", Hs = "service-worker", Tn = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", _d = 10, Nd = 30, Pd = "av-prompt", xd = "av-prompt-editable", $d = "size-5 sm:size-4", Dd = 30, Ld = 15, Md = 130, Ud = 16, Fd = 24, Hd = 76;
|
5690
5690
|
let or = null, de = !1;
|
5691
5691
|
typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("controllerchange", () => {
|
5692
5692
|
de && (de = !1, window.location.reload());
|
@@ -5694,7 +5694,7 @@ typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.a
|
|
5694
5694
|
function Kr() {
|
5695
5695
|
return "serviceWorker" in navigator;
|
5696
5696
|
}
|
5697
|
-
function
|
5697
|
+
function _r() {
|
5698
5698
|
const e = localStorage.getItem(
|
5699
5699
|
Fs + Hs
|
5700
5700
|
);
|
@@ -5707,7 +5707,7 @@ function Qc(e) {
|
|
5707
5707
|
);
|
5708
5708
|
}
|
5709
5709
|
async function Ks() {
|
5710
|
-
if (!
|
5710
|
+
if (!_r())
|
5711
5711
|
return !1;
|
5712
5712
|
if (!Kr())
|
5713
5713
|
return console.warn("[SW] Service workers not supported"), !1;
|
@@ -5736,7 +5736,7 @@ async function Jc() {
|
|
5736
5736
|
return console.error("[SW] Service worker un-registration failed:", e), !1;
|
5737
5737
|
}
|
5738
5738
|
}
|
5739
|
-
async function
|
5739
|
+
async function Kd(e) {
|
5740
5740
|
if (Qc(e), e) {
|
5741
5741
|
de = !0;
|
5742
5742
|
try {
|
@@ -5746,9 +5746,9 @@ async function Gd(e) {
|
|
5746
5746
|
await Ks(), navigator.serviceWorker.controller && de && (de = !1, window.location.reload());
|
5747
5747
|
try {
|
5748
5748
|
navigator.serviceWorker.ready.then(() => {
|
5749
|
-
de &&
|
5749
|
+
de && _r() && (de = !1, window.location.reload());
|
5750
5750
|
}), setTimeout(() => {
|
5751
|
-
de &&
|
5751
|
+
de && _r() && (de = !1, window.location.reload());
|
5752
5752
|
}, 3e3);
|
5753
5753
|
} catch {
|
5754
5754
|
}
|
@@ -5791,7 +5791,7 @@ async function zc() {
|
|
5791
5791
|
function cr() {
|
5792
5792
|
return "unknown";
|
5793
5793
|
}
|
5794
|
-
async function
|
5794
|
+
async function Bd(e = {}) {
|
5795
5795
|
const { urlLimitPerCache: t } = e;
|
5796
5796
|
if (!("caches" in window))
|
5797
5797
|
return { version: cr(), caches: [], totalItems: 0 };
|
@@ -5818,7 +5818,7 @@ async function Vd(e = {}) {
|
|
5818
5818
|
return console.warn("[SW] getCacheInfo failed:", r), { version: cr(), caches: [], totalItems: 0 };
|
5819
5819
|
}
|
5820
5820
|
}
|
5821
|
-
const
|
5821
|
+
const Gd = "user", Vd = "assistant", qd = "data", Bs = "OpenAI", Yc = "Anthropic", Xc = "Google", Zc = "Perplexity", jd = Bs, el = "claude-sonnet-4", tl = "claude-3", rl = "gpt-", nl = "o3", sl = "o4", il = "gemini", al = "sonar", ol = {
|
5822
5822
|
[Yc]: [
|
5823
5823
|
el,
|
5824
5824
|
tl
|
@@ -5830,14 +5830,14 @@ const qd = "user", jd = "assistant", Wd = "data", Bs = "OpenAI", Yc = "Anthropic
|
|
5830
5830
|
],
|
5831
5831
|
[Xc]: [il],
|
5832
5832
|
[Zc]: [al]
|
5833
|
-
},
|
5833
|
+
}, Wd = "x-callisto-chat-id", Qd = (e) => {
|
5834
5834
|
for (const [t, r] of Object.entries(
|
5835
5835
|
ol
|
5836
5836
|
))
|
5837
5837
|
if (r.some((n) => e.startsWith(n)))
|
5838
5838
|
return t;
|
5839
5839
|
return null;
|
5840
|
-
},
|
5840
|
+
}, Jd = "timestamp", zd = "tokenUsage", L = "Callisto", Yd = {
|
5841
5841
|
TOOL: {
|
5842
5842
|
MEMORIES: "getUserMemories"
|
5843
5843
|
},
|
@@ -6091,7 +6091,7 @@ const re = {
|
|
6091
6091
|
} catch (r) {
|
6092
6092
|
return console.error(r), { status: 500, data: [] };
|
6093
6093
|
}
|
6094
|
-
},
|
6094
|
+
}, Xd = async ({
|
6095
6095
|
provider: e,
|
6096
6096
|
accessToken: t,
|
6097
6097
|
username: r
|
@@ -6114,13 +6114,13 @@ const re = {
|
|
6114
6114
|
CHANGELOGS: "changelogs",
|
6115
6115
|
PREFERENCES: "preferences",
|
6116
6116
|
USAGE: "usage"
|
6117
|
-
},
|
6117
|
+
}, Zd = () => Ke({
|
6118
6118
|
queryKey: [Ge.CAPABILITIES],
|
6119
6119
|
queryFn: async () => await Ve({
|
6120
6120
|
type: Re.GET_SERVER_CAPABILITIES,
|
6121
6121
|
noAuth: !0
|
6122
6122
|
})
|
6123
|
-
}),
|
6123
|
+
}), eh = () => Ke({
|
6124
6124
|
queryKey: [Ge.CHANGELOGS],
|
6125
6125
|
queryFn: async () => await Ve({
|
6126
6126
|
type: Re.GET_CHANGELOGS,
|
@@ -6141,7 +6141,7 @@ const re = {
|
|
6141
6141
|
type: Re.GET_USER_PREFERENCES,
|
6142
6142
|
getAccessToken: t
|
6143
6143
|
})
|
6144
|
-
}),
|
6144
|
+
}), th = ({
|
6145
6145
|
user: e,
|
6146
6146
|
getAccessToken: t
|
6147
6147
|
}) => Ke({
|
@@ -6153,7 +6153,7 @@ const re = {
|
|
6153
6153
|
type: Re.GET_CHATS_STATS,
|
6154
6154
|
getAccessToken: t
|
6155
6155
|
})
|
6156
|
-
}),
|
6156
|
+
}), rh = ({
|
6157
6157
|
user: e,
|
6158
6158
|
searchString: t,
|
6159
6159
|
sortDirection: r,
|
@@ -6177,7 +6177,7 @@ const re = {
|
|
6177
6177
|
type: Re.GET_CHATS,
|
6178
6178
|
getAccessToken: s
|
6179
6179
|
})
|
6180
|
-
}),
|
6180
|
+
}), nh = ({
|
6181
6181
|
user: e,
|
6182
6182
|
month: t,
|
6183
6183
|
year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
|
@@ -6328,16 +6328,16 @@ const re = {
|
|
6328
6328
|
}),
|
6329
6329
|
[n, c, d]
|
6330
6330
|
);
|
6331
|
-
return /* @__PURE__ */
|
6331
|
+
return /* @__PURE__ */ m(Gs.Provider, { value: u, children: r });
|
6332
6332
|
};
|
6333
|
-
function
|
6333
|
+
function sh() {
|
6334
6334
|
const e = Kt(Gs);
|
6335
6335
|
if (!e)
|
6336
6336
|
throw new Error("useEntitlements must be used within EntitlementsProvider");
|
6337
6337
|
return e;
|
6338
6338
|
}
|
6339
6339
|
const In = (e) => Number.isFinite(e) ? e : 0;
|
6340
|
-
function
|
6340
|
+
function yl(e) {
|
6341
6341
|
return {
|
6342
6342
|
days: Math.trunc(e / 864e5),
|
6343
6343
|
hours: Math.trunc(e / 36e5 % 24),
|
@@ -6348,7 +6348,7 @@ function ml(e) {
|
|
6348
6348
|
nanoseconds: Math.trunc(In(e * 1e6) % 1e3)
|
6349
6349
|
};
|
6350
6350
|
}
|
6351
|
-
function
|
6351
|
+
function ml(e) {
|
6352
6352
|
return {
|
6353
6353
|
days: e / 86400000n,
|
6354
6354
|
hours: e / 3600000n % 24n,
|
@@ -6363,11 +6363,11 @@ function pl(e) {
|
|
6363
6363
|
switch (typeof e) {
|
6364
6364
|
case "number": {
|
6365
6365
|
if (Number.isFinite(e))
|
6366
|
-
return
|
6366
|
+
return yl(e);
|
6367
6367
|
break;
|
6368
6368
|
}
|
6369
6369
|
case "bigint":
|
6370
|
-
return
|
6370
|
+
return ml(e);
|
6371
6371
|
}
|
6372
6372
|
throw new TypeError("Expected a finite number or bigint");
|
6373
6373
|
}
|
@@ -6386,8 +6386,8 @@ function vl(e, t) {
|
|
6386
6386
|
}, o = (u, l, h, f) => {
|
6387
6387
|
if (!((s.length === 0 || !t.colonNotation) && gl(u) && !(t.colonNotation && h === "m"))) {
|
6388
6388
|
if (f ??= String(u), t.colonNotation) {
|
6389
|
-
const
|
6390
|
-
f = "0".repeat(Math.max(0, p -
|
6389
|
+
const y = f.includes(".") ? f.split(".")[0].length : f.length, p = s.length > 0 ? 2 : 1;
|
6390
|
+
f = "0".repeat(Math.max(0, p - y)) + f;
|
6391
6391
|
} else
|
6392
6392
|
f += t.verbose ? " " + bl(l, u) : h;
|
6393
6393
|
s.push(f);
|
@@ -6399,7 +6399,7 @@ function vl(e, t) {
|
|
6399
6399
|
if (o(u, "second", "s"), t.formatSubMilliseconds)
|
6400
6400
|
o(l, "millisecond", "ms"), o(h, "microsecond", "µs"), o(f, "nanosecond", "ns");
|
6401
6401
|
else {
|
6402
|
-
const
|
6402
|
+
const y = l + h / 1e3 + f / 1e6, p = typeof t.millisecondsDecimalDigits == "number" ? t.millisecondsDecimalDigits : 0, b = y >= 1 ? Math.round(y) : Math.ceil(y), E = p ? y.toFixed(p) : b;
|
6403
6403
|
o(
|
6404
6404
|
Number.parseFloat(E),
|
6405
6405
|
"millisecond",
|
@@ -6488,8 +6488,8 @@ const Vs = process.env.NODE_ENV === "production", Br = !Vs, qs = Br ? "gizmette.
|
|
6488
6488
|
window.atob(e).split("").map(function(t) {
|
6489
6489
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
6490
6490
|
}).join("")
|
6491
|
-
), Rl = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */
|
6492
|
-
/* @__PURE__ */
|
6491
|
+
), Rl = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ m("dl", { className: "my-0", children: /* @__PURE__ */ Y("div", { className: "flex items-center justify-between", children: [
|
6492
|
+
/* @__PURE__ */ m(
|
6493
6493
|
"dt",
|
6494
6494
|
{
|
6495
6495
|
className: g(
|
@@ -6499,7 +6499,7 @@ const Vs = process.env.NODE_ENV === "production", Br = !Vs, qs = Br ? "gizmette.
|
|
6499
6499
|
children: n
|
6500
6500
|
}
|
6501
6501
|
),
|
6502
|
-
/* @__PURE__ */
|
6502
|
+
/* @__PURE__ */ m(
|
6503
6503
|
"dd",
|
6504
6504
|
{
|
6505
6505
|
className: g(
|
@@ -6522,7 +6522,7 @@ function Cl({
|
|
6522
6522
|
);
|
6523
6523
|
return t(n ? n / r.length : 0);
|
6524
6524
|
}
|
6525
|
-
const
|
6525
|
+
const Ol = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, _l = new Intl.NumberFormat("en", {
|
6526
6526
|
style: "decimal",
|
6527
6527
|
signDisplay: "never",
|
6528
6528
|
minimumFractionDigits: 0,
|
@@ -6541,7 +6541,13 @@ const _l = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
6541
6541
|
t
|
6542
6542
|
), Ws = ({
|
6543
6543
|
extraClass: e
|
6544
|
-
} = {}) => g(
|
6544
|
+
} = {}) => g(
|
6545
|
+
"flex flex-col",
|
6546
|
+
"w-full md:mx-auto md:max-w-4xl",
|
6547
|
+
"sm:px-5 px-2",
|
6548
|
+
"transition-all ease-in-out duration-500",
|
6549
|
+
e
|
6550
|
+
), Pl = (e, t) => t === 1 ? e : `${e}s`, xl = (e, t) => {
|
6545
6551
|
let r;
|
6546
6552
|
return (...n) => {
|
6547
6553
|
window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
|
@@ -6576,7 +6582,7 @@ const _l = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
6576
6582
|
theme: c,
|
6577
6583
|
transition: d,
|
6578
6584
|
icon: u
|
6579
|
-
}),
|
6585
|
+
}), ih = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: qs, convertCamelCaseToReadable: Dl, convertDDToDMS: Gr, convertLatitudeToDMS: Sl, convertLongitudeToDMS: Tl, debounce: xl, durationFormatter: Nl, extractAverage: Cl, getCurrentGeoLocation: Al, getLayoutPaddingClass: Ws, getMessageContaintWrapperClass: js, isDev: Br, isLastMessageFromRole: Ol, isProbablyMobile: Js, isProbablyiPhone: $l, isProd: Vs, isTauri: Qs, numberFormatter: _l, obfuscate: Il, pluralize: Pl, renderDataAsList: Rl, toastOptions: Ll, unObfuscate: kl }, Symbol.toStringTag, { value: "Module" })), kn = "av-button", Wt = "icon", Vr = "button", Nr = "link", Ml = ({
|
6580
6586
|
type: e,
|
6581
6587
|
size: t,
|
6582
6588
|
labelRight: r,
|
@@ -6866,7 +6872,7 @@ const _l = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
6866
6872
|
noBackground: l,
|
6867
6873
|
variant: h,
|
6868
6874
|
truncate: f,
|
6869
|
-
align:
|
6875
|
+
align: y,
|
6870
6876
|
radius: p,
|
6871
6877
|
animated: b
|
6872
6878
|
}) => (h || (h = "primary"), r ? g(kn, t) : g(
|
@@ -6884,7 +6890,7 @@ const _l = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
6884
6890
|
size: a,
|
6885
6891
|
labelRight: d,
|
6886
6892
|
labelLeft: u,
|
6887
|
-
align:
|
6893
|
+
align: y,
|
6888
6894
|
animated: b
|
6889
6895
|
}),
|
6890
6896
|
Ul({ type: e, size: a, labelRight: d, labelLeft: u }),
|
@@ -6902,9 +6908,9 @@ const _l = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
6902
6908
|
t
|
6903
6909
|
)), Ql = (e, t, r) => {
|
6904
6910
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
6905
|
-
}, qr =
|
6911
|
+
}, qr = me.forwardRef((e, t) => {
|
6906
6912
|
const { onClick: r, noInternalClick: n = !1, ...s } = e;
|
6907
|
-
return /* @__PURE__ */
|
6913
|
+
return /* @__PURE__ */ m(
|
6908
6914
|
"button",
|
6909
6915
|
{
|
6910
6916
|
ref: t,
|
@@ -6916,7 +6922,7 @@ const _l = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
6916
6922
|
);
|
6917
6923
|
});
|
6918
6924
|
qr.displayName = "BaseButton";
|
6919
|
-
const Ys =
|
6925
|
+
const Ys = me.forwardRef(
|
6920
6926
|
({
|
6921
6927
|
children: e,
|
6922
6928
|
disabled: t = !1,
|
@@ -6932,7 +6938,7 @@ const Ys = ye.forwardRef(
|
|
6932
6938
|
radius: l = "large",
|
6933
6939
|
...h
|
6934
6940
|
}, f) => {
|
6935
|
-
const
|
6941
|
+
const y = zs({
|
6936
6942
|
type: Vr,
|
6937
6943
|
mode: r,
|
6938
6944
|
focusMode: n,
|
@@ -6946,11 +6952,11 @@ const Ys = ye.forwardRef(
|
|
6946
6952
|
truncate: u,
|
6947
6953
|
radius: l
|
6948
6954
|
});
|
6949
|
-
return /* @__PURE__ */
|
6955
|
+
return /* @__PURE__ */ m(
|
6950
6956
|
qr,
|
6951
6957
|
{
|
6952
6958
|
ref: f,
|
6953
|
-
className:
|
6959
|
+
className: y,
|
6954
6960
|
disabled: t,
|
6955
6961
|
...h,
|
6956
6962
|
children: e
|
@@ -7019,7 +7025,7 @@ const wt = {
|
|
7019
7025
|
// px-3 x 2
|
7020
7026
|
large: 32
|
7021
7027
|
// px-4 x 2
|
7022
|
-
}, Xl = 2, Zl = 300, Ft =
|
7028
|
+
}, Xl = 2, Zl = 300, Ft = me.forwardRef(
|
7023
7029
|
({
|
7024
7030
|
children: e,
|
7025
7031
|
disabled: t = !1,
|
@@ -7035,7 +7041,7 @@ const wt = {
|
|
7035
7041
|
size: l = "medium",
|
7036
7042
|
labelRight: h,
|
7037
7043
|
labelLeft: f,
|
7038
|
-
noBackground:
|
7044
|
+
noBackground: y = !1,
|
7039
7045
|
align: p = "center",
|
7040
7046
|
radius: b = "large",
|
7041
7047
|
variant: E = "secondary",
|
@@ -7055,23 +7061,23 @@ const wt = {
|
|
7055
7061
|
size: l,
|
7056
7062
|
labelRight: h,
|
7057
7063
|
labelLeft: f,
|
7058
|
-
noBackground:
|
7064
|
+
noBackground: y,
|
7059
7065
|
align: p,
|
7060
7066
|
radius: b,
|
7061
7067
|
variant: E,
|
7062
7068
|
animated: v
|
7063
|
-
}), x = jl({ mode: r, raw: a, iconClassName: A, variant: E }),
|
7069
|
+
}), x = jl({ mode: r, raw: a, iconClassName: A, variant: E }), O = Wl({ animated: v }), S = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, _] = At(), [T, F] = At(), [ge, Ce] = At(), k = ee(0), $ = ee(null), R = ee(null), be = Xs([N, $]);
|
7064
7070
|
return Rt(() => {
|
7065
7071
|
ge && ge.current && v && (k.current = Ce.width + Yl[l] + (c ? 0 : Xl), $.current && !$.current.style.width && ($.current.style.width = `${wt[l]}px`));
|
7066
7072
|
}, [Ce, ge, l, c, v]), Rt(() => {
|
7067
7073
|
if ($ && $.current && v) {
|
7068
7074
|
let we = wt[l];
|
7069
|
-
h && w &&
|
7075
|
+
h && w && _.width > 0 ? we = _.width + k.current : f && T && F.width > 0 && (we = F.width + k.current), R.current && clearTimeout(R.current), we !== parseInt($.current.style.width || "0", 10) && (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"), $.current.style.width = `${we}px`, we > wt[l] && (R.current = setTimeout(() => {
|
7070
7076
|
w.current && h && (w.current.style.opacity = "1"), T.current && f && (T.current.style.opacity = "1"), R.current = null;
|
7071
7077
|
}, Zl * 0.8))), we === wt[l] && (w.current && (w.current.style.opacity = "0"), T.current && (T.current.style.opacity = "0"));
|
7072
7078
|
}
|
7073
7079
|
}, [
|
7074
|
-
|
7080
|
+
_,
|
7075
7081
|
h,
|
7076
7082
|
w,
|
7077
7083
|
F,
|
@@ -7081,7 +7087,7 @@ const wt = {
|
|
7081
7087
|
v
|
7082
7088
|
]), Z(() => () => {
|
7083
7089
|
R.current && clearTimeout(R.current);
|
7084
|
-
}, []), /* @__PURE__ */
|
7090
|
+
}, []), /* @__PURE__ */ m(
|
7085
7091
|
qr,
|
7086
7092
|
{
|
7087
7093
|
ref: be,
|
@@ -7091,23 +7097,23 @@ const wt = {
|
|
7091
7097
|
"aria-label": d || u,
|
7092
7098
|
...I,
|
7093
7099
|
children: /* @__PURE__ */ Y("div", { className: S, children: [
|
7094
|
-
/* @__PURE__ */
|
7100
|
+
/* @__PURE__ */ m(
|
7095
7101
|
Rn,
|
7096
7102
|
{
|
7097
7103
|
label: f,
|
7098
7104
|
labelRef: T,
|
7099
|
-
labelClass:
|
7105
|
+
labelClass: O,
|
7100
7106
|
labelInnerClass: "pr-2",
|
7101
7107
|
initiallyHidden: v
|
7102
7108
|
}
|
7103
7109
|
),
|
7104
|
-
/* @__PURE__ */
|
7105
|
-
/* @__PURE__ */
|
7110
|
+
/* @__PURE__ */ m("span", { ref: ge, className: x, children: e }),
|
7111
|
+
/* @__PURE__ */ m(
|
7106
7112
|
Rn,
|
7107
7113
|
{
|
7108
7114
|
label: h,
|
7109
7115
|
labelRef: w,
|
7110
|
-
labelClass:
|
7116
|
+
labelClass: O,
|
7111
7117
|
labelInnerClass: "pl-2",
|
7112
7118
|
initiallyHidden: v
|
7113
7119
|
}
|
@@ -7122,13 +7128,13 @@ const wt = {
|
|
7122
7128
|
label: r,
|
7123
7129
|
labelInnerClass: n,
|
7124
7130
|
initiallyHidden: s = !1
|
7125
|
-
}) => /* @__PURE__ */
|
7131
|
+
}) => /* @__PURE__ */ m(
|
7126
7132
|
"span",
|
7127
7133
|
{
|
7128
7134
|
ref: e,
|
7129
7135
|
className: t,
|
7130
7136
|
style: s ? { opacity: 0 } : void 0,
|
7131
|
-
children: r && /* @__PURE__ */
|
7137
|
+
children: r && /* @__PURE__ */ m("span", { className: n, children: r })
|
7132
7138
|
}
|
7133
7139
|
);
|
7134
7140
|
Ft.displayName = "ButtonIcon";
|
@@ -7145,7 +7151,7 @@ try {
|
|
7145
7151
|
});
|
7146
7152
|
} catch {
|
7147
7153
|
}
|
7148
|
-
const eu =
|
7154
|
+
const eu = me.forwardRef(
|
7149
7155
|
({
|
7150
7156
|
children: e,
|
7151
7157
|
mode: t = "system",
|
@@ -7170,7 +7176,7 @@ const eu = ye.forwardRef(
|
|
7170
7176
|
"after:border-table-light dark:after:border-table-dark": t === "alt-system"
|
7171
7177
|
}
|
7172
7178
|
) : "";
|
7173
|
-
return /* @__PURE__ */
|
7179
|
+
return /* @__PURE__ */ m("div", { className: o, children: /* @__PURE__ */ m(
|
7174
7180
|
Ft,
|
7175
7181
|
{
|
7176
7182
|
className: r,
|
@@ -7232,7 +7238,7 @@ function ru({
|
|
7232
7238
|
userAriaLabelledby: r,
|
7233
7239
|
className: n
|
7234
7240
|
}) {
|
7235
|
-
return typeof t == "string" ? /* @__PURE__ */
|
7241
|
+
return typeof t == "string" ? /* @__PURE__ */ m("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ m("div", { className: n, children: t }) : t ? /* @__PURE__ */ m("div", { className: n, id: e, children: t }) : null;
|
7236
7242
|
}
|
7237
7243
|
const nu = ({
|
7238
7244
|
header: e,
|
@@ -7249,7 +7255,7 @@ const nu = ({
|
|
7249
7255
|
...l
|
7250
7256
|
}) => {
|
7251
7257
|
let h = null, f = null;
|
7252
|
-
const
|
7258
|
+
const y = typeof e == "string", p = Zs(It), b = tu({
|
7253
7259
|
className: i,
|
7254
7260
|
headerClassName: t,
|
7255
7261
|
bodyClassName: o,
|
@@ -7258,7 +7264,7 @@ const nu = ({
|
|
7258
7264
|
compact: d,
|
7259
7265
|
noBorder: u
|
7260
7266
|
});
|
7261
|
-
return
|
7267
|
+
return y ? (h = p, f = h) : !y && e && a ? (h = null, f = a) : !y && e && !a ? (h = p, f = h) : (h = null, f = a || null), /* @__PURE__ */ m("div", { className: b.wrapper, children: /* @__PURE__ */ Y(
|
7262
7268
|
"section",
|
7263
7269
|
{
|
7264
7270
|
...f && {
|
@@ -7267,7 +7273,7 @@ const nu = ({
|
|
7267
7273
|
className: b.body,
|
7268
7274
|
...l,
|
7269
7275
|
children: [
|
7270
|
-
/* @__PURE__ */
|
7276
|
+
/* @__PURE__ */ m(
|
7271
7277
|
ru,
|
7272
7278
|
{
|
7273
7279
|
...h && { id: h },
|
@@ -7276,8 +7282,8 @@ const nu = ({
|
|
7276
7282
|
userAriaLabelledby: a
|
7277
7283
|
}
|
7278
7284
|
),
|
7279
|
-
/* @__PURE__ */
|
7280
|
-
r ? /* @__PURE__ */
|
7285
|
+
/* @__PURE__ */ m("div", { children: s }),
|
7286
|
+
r ? /* @__PURE__ */ m("div", { className: b.footer, children: r }) : null
|
7281
7287
|
]
|
7282
7288
|
}
|
7283
7289
|
) });
|
@@ -7319,7 +7325,7 @@ const Qt = ({
|
|
7319
7325
|
focusable: !1,
|
7320
7326
|
...c,
|
7321
7327
|
children: [
|
7322
|
-
o && a && /* @__PURE__ */
|
7328
|
+
o && a && /* @__PURE__ */ m("title", { children: o }),
|
7323
7329
|
e
|
7324
7330
|
]
|
7325
7331
|
}
|
@@ -7344,7 +7350,7 @@ const su = ({
|
|
7344
7350
|
title: r,
|
7345
7351
|
monotone: n,
|
7346
7352
|
...s
|
7347
|
-
}) => /* @__PURE__ */
|
7353
|
+
}) => /* @__PURE__ */ m(
|
7348
7354
|
Qt,
|
7349
7355
|
{
|
7350
7356
|
defaultViewBox: "0 0 1200 500",
|
@@ -7353,7 +7359,7 @@ const su = ({
|
|
7353
7359
|
className: e,
|
7354
7360
|
title: r || "Dog",
|
7355
7361
|
...s,
|
7356
|
-
children: /* @__PURE__ */
|
7362
|
+
children: /* @__PURE__ */ m("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
|
7357
7363
|
}
|
7358
7364
|
), iu = ({
|
7359
7365
|
className: e,
|
@@ -7371,14 +7377,14 @@ const su = ({
|
|
7371
7377
|
title: r || "Hide",
|
7372
7378
|
...s,
|
7373
7379
|
children: [
|
7374
|
-
/* @__PURE__ */
|
7380
|
+
/* @__PURE__ */ m(
|
7375
7381
|
"path",
|
7376
7382
|
{
|
7377
7383
|
d: "M0 256c0 4.2.8 8.4 2.5 12.3C17.3 304 48.6 356 95.4 399.4 142.5 443.2 207.2 480 288 480c56.1 0 104.4-17.8 144.5-43.2l-71.7-56.5C339.4 392.8 314.6 400 288 400c-79.5 0-144-64.5-144-144 0-14.5 2.1-28.5 6.1-41.7L63.5 146c-29.4 34.7-49.9 70.8-61.1 97.6-1.6 4-2.4 8.2-2.4 12.4M135.2 80.7l71.8 56.2c23.1-15.7 51-24.9 81-24.9 79.5 0 144 64.5 144 144 0 17.7-3.2 34.6-9 50.2 28 22 56.1 44 84.1 65.9 32.3-36.6 54.6-75.4 66.4-103.9 1.6-3.9 2.5-8.1 2.5-12.3s-.8-8.4-2.5-12.3c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32c-60 0-111.1 20.3-152.8 48.7M192 260.1c.3 6.9 1.3 13.8 3.2 20.7 13.7 51.2 66.4 81.6 117.6 67.9 1.9-.5 3.9-1.1 5.7-1.7l-120-94.6c-3.7.8-6.7 3.7-6.5 7.7m92.7-88.4c2.1 6.4 3.3 13.2 3.3 20.3 0 2.7-.2 5.4-.5 8 31.6 24.8 63.2 49.5 94.8 74.3 2.7-13.9 2.4-28.6-1.5-43.2-11.1-41.5-47.8-69.4-88.6-71.1-5.8-.2-9.2 6.1-7.4 11.7z",
|
7378
7384
|
opacity: n ? "1" : "0.4"
|
7379
7385
|
}
|
7380
7386
|
),
|
7381
|
-
/* @__PURE__ */
|
7387
|
+
/* @__PURE__ */ m("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
|
7382
7388
|
]
|
7383
7389
|
}
|
7384
7390
|
), au = ({
|
@@ -7399,21 +7405,21 @@ const su = ({
|
|
7399
7405
|
title: r || "Passkey",
|
7400
7406
|
...s,
|
7401
7407
|
children: [
|
7402
|
-
/* @__PURE__ */
|
7408
|
+
/* @__PURE__ */ m(
|
7403
7409
|
"path",
|
7404
7410
|
{
|
7405
7411
|
d: "M172.32 96.79c0 13.78-8.48 25.5-20.29 29.78l7.14 11.83-10.57 13 10.57 12.71-17.04 22.87-12.01-12.82V125.7c-10.68-4.85-18.15-15.97-18.15-28.91 0-17.4 13.51-31.51 30.18-31.51 16.66 0 30.17 14.11 30.17 31.51m-30.18 4.82c4.02 0 7.28-3.4 7.28-7.6s-3.26-7.61-7.28-7.61-7.28 3.4-7.28 7.61c-.01 4.2 3.26 7.6 7.28 7.6",
|
7406
7412
|
opacity: i
|
7407
7413
|
}
|
7408
7414
|
),
|
7409
|
-
/* @__PURE__ */
|
7415
|
+
/* @__PURE__ */ m(
|
7410
7416
|
"path",
|
7411
7417
|
{
|
7412
7418
|
d: "M172.41 96.88c0 13.62-8.25 25.23-19.83 29.67l6.58 11.84-9.73 13 9.73 12.71-17.03 23.05v-85.54c4.02 0 7.28-3.41 7.28-7.6 0-4.2-3.26-7.61-7.28-7.61V65.28c16.73 0 30.28 14.15 30.28 31.6",
|
7413
7419
|
opacity: i
|
7414
7420
|
}
|
7415
7421
|
),
|
7416
|
-
/* @__PURE__ */
|
7422
|
+
/* @__PURE__ */ m("path", { d: "M120.24 131.43c-9.75-8-16.3-20.3-17.2-34.27H50.8c-10.96 0-19.84 9.01-19.84 20.13v25.17c0 5.56 4.44 10.07 9.92 10.07h69.44c5.48 0 9.92-4.51 9.92-10.07zM73.16 91.13c-2.42-.46-4.82-.89-7.11-1.86-8.65-3.63-13.69-10.32-15.32-19.77-1.12-6.47-.59-12.87 2.03-18.92 3.72-8.6 10.39-13.26 19.15-14.84 5.24-.94 10.46-.73 15.5 1.15 7.59 2.82 12.68 8.26 15.03 16.24 2.38 8.05 2.03 16.1-1.56 23.72-3.72 7.96-10.21 12.23-18.42 13.9-.68.14-1.37.27-2.05.41-2.41-.03-4.83-.03-7.25-.03" })
|
7417
7423
|
]
|
7418
7424
|
}
|
7419
7425
|
);
|
@@ -7433,14 +7439,14 @@ const su = ({
|
|
7433
7439
|
title: r || "Show",
|
7434
7440
|
...s,
|
7435
7441
|
children: [
|
7436
|
-
/* @__PURE__ */
|
7442
|
+
/* @__PURE__ */ m(
|
7437
7443
|
"path",
|
7438
7444
|
{
|
7439
7445
|
d: "M0 256c0 4.2.8 8.4 2.5 12.3C17.3 304 48.6 356 95.4 399.4 142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 1.6-3.9 2.5-8.1 2.5-12.3s-.8-8.4-2.5-12.3c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32S142.5 68.8 95.4 112.6C48.6 156 17.3 208 2.5 243.7.8 247.6 0 251.8 0 256m432 0a144 144 0 1 1-288 0 144 144 0 1 1 288 0",
|
7440
7446
|
opacity: n ? "1" : "0.4"
|
7441
7447
|
}
|
7442
7448
|
),
|
7443
|
-
/* @__PURE__ */
|
7449
|
+
/* @__PURE__ */ m("path", { d: "M224 256c35.3 0 64-28.7 64-64 0-7.1-1.2-13.9-3.3-20.3-1.8-5.5 1.6-11.9 7.4-11.7 40.8 1.7 77.5 29.6 88.6 71.1 13.7 51.2-16.7 103.9-67.9 117.6S208.9 332 195.2 280.8c-1.9-6.9-2.9-13.9-3.2-20.7-.3-5.8 6.1-9.2 11.7-7.4 6.4 2.1 13.2 3.3 20.3 3.3" })
|
7444
7450
|
]
|
7445
7451
|
}
|
7446
7452
|
);
|
@@ -7457,42 +7463,10 @@ try {
|
|
7457
7463
|
});
|
7458
7464
|
} catch {
|
7459
7465
|
}
|
7460
|
-
const cu = "av-
|
7461
|
-
children: e,
|
7462
|
-
className: t,
|
7463
|
-
raw: r = !1,
|
7464
|
-
noMargin: n = !1,
|
7465
|
-
noPadding: s = !1,
|
7466
|
-
...i
|
7467
|
-
}) => {
|
7468
|
-
const o = g(
|
7469
|
-
cu,
|
7470
|
-
{
|
7471
|
-
"mt-2 sm:mt-3": !r && !n,
|
7472
|
-
"p-2": !r && !s,
|
7473
|
-
"flex w-full flex-col md:mx-auto md:max-w-4xl": !r
|
7474
|
-
},
|
7475
|
-
t
|
7476
|
-
);
|
7477
|
-
return /* @__PURE__ */ y("main", { className: o, ...i, children: e });
|
7478
|
-
};
|
7479
|
-
/*!
|
7480
|
-
@versini/ui-main v5.0.1
|
7481
|
-
© 2025 gizmette.com
|
7482
|
-
*/
|
7483
|
-
try {
|
7484
|
-
window.__VERSINI_UI_MAIN__ || (window.__VERSINI_UI_MAIN__ = {
|
7485
|
-
version: "5.0.1",
|
7486
|
-
buildTime: "09/01/2025 04:02 PM EDT",
|
7487
|
-
homepage: "https://github.com/aversini/ui-components",
|
7488
|
-
license: "MIT"
|
7489
|
-
});
|
7490
|
-
} catch {
|
7491
|
-
}
|
7492
|
-
const uu = "av-flexgrid", Et = "av-flexgrid-item", Ht = 0.25, Pr = ye.createContext({
|
7466
|
+
const cu = "av-flexgrid", Et = "av-flexgrid-item", Ht = 0.25, Pr = me.createContext({
|
7493
7467
|
columnGap: 0,
|
7494
7468
|
rowGap: 0
|
7495
|
-
}),
|
7469
|
+
}), lu = ({
|
7496
7470
|
children: e,
|
7497
7471
|
className: t,
|
7498
7472
|
columnGap: r = 1,
|
@@ -7518,10 +7492,10 @@ const uu = "av-flexgrid", Et = "av-flexgrid-item", Ht = 0.25, Pr = ye.createCont
|
|
7518
7492
|
marginLeft: r * -1 * Ht + "rem",
|
7519
7493
|
marginTop: n * -1 * Ht + "rem"
|
7520
7494
|
}, l = g(
|
7521
|
-
|
7495
|
+
cu,
|
7522
7496
|
"box-border flex flex-wrap"
|
7523
7497
|
), h = { columnGap: r, rowGap: n };
|
7524
|
-
return t ? /* @__PURE__ */
|
7498
|
+
return t ? /* @__PURE__ */ m("div", { className: t, children: /* @__PURE__ */ m("div", { className: l, style: u, ...d, children: /* @__PURE__ */ m(Pr.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ m("div", { className: l, style: u, ...d, children: /* @__PURE__ */ m(Pr.Provider, { value: h, children: e }) });
|
7525
7499
|
}, lr = (e, t) => g({
|
7526
7500
|
"basis-1/12": e === 1 && !t,
|
7527
7501
|
"sm:basis-1/12": e === 1 && t === "sm",
|
@@ -7595,7 +7569,7 @@ const uu = "av-flexgrid", Et = "av-flexgrid-item", Ht = 0.25, Pr = ye.createCont
|
|
7595
7569
|
"lg:basis-full": e === 12 && t === "lg",
|
7596
7570
|
"xl:basis-full": e === 12 && t === "xl",
|
7597
7571
|
"2xl:basis-full": e === 12 && t === "2xl"
|
7598
|
-
}),
|
7572
|
+
}), uu = ({
|
7599
7573
|
className: e,
|
7600
7574
|
span: t
|
7601
7575
|
}) => {
|
@@ -7627,11 +7601,11 @@ const uu = "av-flexgrid", Et = "av-flexgrid-item", Ht = 0.25, Pr = ye.createCont
|
|
7627
7601
|
const { columnGap: s, rowGap: i } = Kt(Pr), o = {
|
7628
7602
|
paddingLeft: s * Ht + "rem",
|
7629
7603
|
paddingTop: i * Ht + "rem"
|
7630
|
-
}, a =
|
7604
|
+
}, a = uu({
|
7631
7605
|
className: t,
|
7632
7606
|
span: r
|
7633
7607
|
});
|
7634
|
-
return /* @__PURE__ */
|
7608
|
+
return /* @__PURE__ */ m("div", { className: a, style: o, ...n, children: e });
|
7635
7609
|
};
|
7636
7610
|
/*!
|
7637
7611
|
@versini/ui-system v5.0.1
|
@@ -7646,7 +7620,7 @@ try {
|
|
7646
7620
|
});
|
7647
7621
|
} catch {
|
7648
7622
|
}
|
7649
|
-
const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT",
|
7623
|
+
const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", du = {
|
7650
7624
|
alert: null,
|
7651
7625
|
alertdialog: null,
|
7652
7626
|
log: "polite",
|
@@ -7654,7 +7628,7 @@ const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", fu = {
|
|
7654
7628
|
progressbar: null,
|
7655
7629
|
status: "polite",
|
7656
7630
|
timer: "assertive"
|
7657
|
-
},
|
7631
|
+
}, hu = (e, t) => {
|
7658
7632
|
switch (t?.type) {
|
7659
7633
|
case ei:
|
7660
7634
|
return {
|
@@ -7669,7 +7643,7 @@ const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", fu = {
|
|
7669
7643
|
default:
|
7670
7644
|
return e;
|
7671
7645
|
}
|
7672
|
-
},
|
7646
|
+
}, fu = ({
|
7673
7647
|
onAnnouncementClear: e,
|
7674
7648
|
dispatch: t
|
7675
7649
|
}) => {
|
@@ -7687,13 +7661,13 @@ const ei = "SET_ANNOUNCEMENT", ti = "CLEAR_ANNOUNCEMENT", fu = {
|
|
7687
7661
|
type: ei,
|
7688
7662
|
payload: e
|
7689
7663
|
}), t && (r.current = setTimeout(
|
7690
|
-
() =>
|
7664
|
+
() => fu({
|
7691
7665
|
onAnnouncementClear: n,
|
7692
7666
|
dispatch: s
|
7693
7667
|
}),
|
7694
7668
|
t
|
7695
7669
|
));
|
7696
|
-
},
|
7670
|
+
}, yu = ({
|
7697
7671
|
children: e,
|
7698
7672
|
announcementTimeoutRef: t,
|
7699
7673
|
announcementDelay: r,
|
@@ -7727,12 +7701,12 @@ function ri({
|
|
7727
7701
|
visible: a,
|
7728
7702
|
...c
|
7729
7703
|
}) {
|
7730
|
-
const d = ee(null), u = ee(null), [l, h] = Pn(
|
7704
|
+
const d = ee(null), u = ee(null), [l, h] = Pn(hu, {
|
7731
7705
|
announcement: null
|
7732
7706
|
});
|
7733
7707
|
let f = r;
|
7734
|
-
typeof f > "u" && (f = n ?
|
7735
|
-
|
7708
|
+
typeof f > "u" && (f = n ? du[n] : "assertive"), Z(() => {
|
7709
|
+
yu({
|
7736
7710
|
announcementTimeoutRef: d,
|
7737
7711
|
announcementDelay: s,
|
7738
7712
|
children: e,
|
@@ -7747,15 +7721,15 @@ function ri({
|
|
7747
7721
|
i,
|
7748
7722
|
o
|
7749
7723
|
]);
|
7750
|
-
const
|
7724
|
+
const y = g(t, {
|
7751
7725
|
"sr-only": !a
|
7752
7726
|
});
|
7753
|
-
return /* @__PURE__ */
|
7727
|
+
return /* @__PURE__ */ m(
|
7754
7728
|
"div",
|
7755
7729
|
{
|
7756
7730
|
"aria-live": f,
|
7757
7731
|
...n && { role: n },
|
7758
|
-
className:
|
7732
|
+
className: y,
|
7759
7733
|
...c,
|
7760
7734
|
children: l.announcement
|
7761
7735
|
}
|
@@ -7774,21 +7748,21 @@ try {
|
|
7774
7748
|
});
|
7775
7749
|
} catch {
|
7776
7750
|
}
|
7777
|
-
const ni = "av-text-input",
|
7751
|
+
const ni = "av-text-input", mu = "av-text-input-wrapper", ur = "av-text-input-helper-text", pu = ({
|
7778
7752
|
mode: e
|
7779
7753
|
}) => g({
|
7780
7754
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
7781
7755
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
7782
7756
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
7783
7757
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
7784
|
-
}),
|
7758
|
+
}), gu = ({
|
7785
7759
|
focusMode: e
|
7786
7760
|
}) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
|
7787
7761
|
"focus:outline-focus-dark": e === "dark",
|
7788
7762
|
"focus:outline-focus-light": e === "light",
|
7789
7763
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
7790
7764
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
7791
|
-
}),
|
7765
|
+
}), bu = ({
|
7792
7766
|
noBorder: e,
|
7793
7767
|
error: t
|
7794
7768
|
}) => g("border-2", {
|
@@ -7796,7 +7770,7 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7796
7770
|
"focus:border-border-dark": !e && t,
|
7797
7771
|
"border-border-error-dark": !e && t,
|
7798
7772
|
"border-transparent": e
|
7799
|
-
}),
|
7773
|
+
}), wu = ({
|
7800
7774
|
disabled: e,
|
7801
7775
|
raw: t,
|
7802
7776
|
error: r,
|
@@ -7820,7 +7794,7 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7820
7794
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
|
7821
7795
|
"text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
|
7822
7796
|
});
|
7823
|
-
},
|
7797
|
+
}, Eu = ({
|
7824
7798
|
error: e,
|
7825
7799
|
raw: t,
|
7826
7800
|
mode: r,
|
@@ -7847,7 +7821,7 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7847
7821
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
7848
7822
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
|
7849
7823
|
});
|
7850
|
-
},
|
7824
|
+
}, vu = ({
|
7851
7825
|
className: e,
|
7852
7826
|
inputClassName: t,
|
7853
7827
|
raw: r,
|
@@ -7861,7 +7835,7 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7861
7835
|
}) => {
|
7862
7836
|
const u = r ? e : g(
|
7863
7837
|
"relative flex w-full flex-col justify-center",
|
7864
|
-
|
7838
|
+
mu,
|
7865
7839
|
e
|
7866
7840
|
);
|
7867
7841
|
let l = "";
|
@@ -7886,19 +7860,19 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7886
7860
|
ni,
|
7887
7861
|
l,
|
7888
7862
|
"rounded-md text-base px-4",
|
7889
|
-
|
7890
|
-
|
7891
|
-
|
7863
|
+
pu({ mode: o }),
|
7864
|
+
gu({ focusMode: a }),
|
7865
|
+
bu({ noBorder: s, error: i }),
|
7892
7866
|
{
|
7893
7867
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
7894
7868
|
},
|
7895
7869
|
t
|
7896
|
-
), f = r ? void 0 : "sr-only",
|
7870
|
+
), f = r ? void 0 : "sr-only", y = wu({
|
7897
7871
|
disabled: n,
|
7898
7872
|
raw: r,
|
7899
7873
|
error: i,
|
7900
7874
|
mode: o
|
7901
|
-
}), p =
|
7875
|
+
}), p = Eu({
|
7902
7876
|
error: i,
|
7903
7877
|
raw: r,
|
7904
7878
|
mode: o,
|
@@ -7908,11 +7882,11 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7908
7882
|
wrapper: u,
|
7909
7883
|
input: h,
|
7910
7884
|
accessibleLabel: f,
|
7911
|
-
visibleLabel:
|
7885
|
+
visibleLabel: y,
|
7912
7886
|
helperText: p,
|
7913
7887
|
rightElement: b
|
7914
7888
|
};
|
7915
|
-
}, jr =
|
7889
|
+
}, jr = me.forwardRef(
|
7916
7890
|
({
|
7917
7891
|
id: e,
|
7918
7892
|
name: t,
|
@@ -7928,19 +7902,19 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7928
7902
|
labelId: l,
|
7929
7903
|
labelHidden: h = !1,
|
7930
7904
|
type: f = "text",
|
7931
|
-
helperText:
|
7905
|
+
helperText: y = "",
|
7932
7906
|
rightElement: p,
|
7933
7907
|
rightElementClassName: b,
|
7934
7908
|
size: E = "md",
|
7935
7909
|
...A
|
7936
7910
|
}, v) => {
|
7937
|
-
const [I, N] = At(), [K, x] = fe(0),
|
7911
|
+
const [I, N] = At(), [K, x] = fe(0), O = Zs({ id: e, prefix: `${ni}-` }), S = `${t} error, ${y}`, w = ee(null), _ = ee(null), T = {
|
7938
7912
|
xs: { label: "-25px", helperText: "30px" },
|
7939
7913
|
sm: { label: "-29px", helperText: "34px" },
|
7940
7914
|
md: { label: "-33px", helperText: "38px" },
|
7941
7915
|
lg: { label: "-15px", helperText: "22px" },
|
7942
7916
|
xl: { label: "-19px", helperText: "25px" }
|
7943
|
-
}, F =
|
7917
|
+
}, F = vu({
|
7944
7918
|
className: i,
|
7945
7919
|
inputClassName: o,
|
7946
7920
|
error: n,
|
@@ -7956,56 +7930,56 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
7956
7930
|
N && N.width && x(N.width + 18 + 10);
|
7957
7931
|
}, [N]), Rt(() => {
|
7958
7932
|
const { label: ge, helperText: Ce } = T[E];
|
7959
|
-
w?.current?.style.setProperty("--av-text-input-label", ge),
|
7933
|
+
w?.current?.style.setProperty("--av-text-input-label", ge), _?.current?.style.setProperty(
|
7960
7934
|
"--av-text-input-helper-text",
|
7961
7935
|
Ce
|
7962
7936
|
);
|
7963
7937
|
}, [E]), /* @__PURE__ */ Y("div", { className: F.wrapper, children: [
|
7964
|
-
/* @__PURE__ */
|
7938
|
+
/* @__PURE__ */ m(
|
7965
7939
|
"label",
|
7966
7940
|
{
|
7967
|
-
htmlFor:
|
7941
|
+
htmlFor: O,
|
7968
7942
|
id: l,
|
7969
7943
|
className: F.accessibleLabel,
|
7970
7944
|
children: r
|
7971
7945
|
}
|
7972
7946
|
),
|
7973
|
-
/* @__PURE__ */
|
7947
|
+
/* @__PURE__ */ m(
|
7974
7948
|
"input",
|
7975
7949
|
{
|
7976
7950
|
ref: v,
|
7977
|
-
id:
|
7951
|
+
id: O,
|
7978
7952
|
name: t,
|
7979
7953
|
type: f,
|
7980
7954
|
disabled: d,
|
7981
7955
|
placeholder: s ? void 0 : " ",
|
7982
7956
|
className: F.input,
|
7983
|
-
...
|
7957
|
+
...y && { "aria-describedby": `${O}-helper` },
|
7984
7958
|
...n && { "aria-invalid": "true" },
|
7985
7959
|
...p && !s && { style: { paddingRight: K } },
|
7986
7960
|
...A
|
7987
7961
|
}
|
7988
7962
|
),
|
7989
|
-
!s && !h && /* @__PURE__ */
|
7963
|
+
!s && !h && /* @__PURE__ */ m(
|
7990
7964
|
"label",
|
7991
7965
|
{
|
7992
7966
|
ref: w,
|
7993
7967
|
"aria-hidden": !0,
|
7994
|
-
htmlFor:
|
7968
|
+
htmlFor: O,
|
7995
7969
|
className: F.visibleLabel,
|
7996
7970
|
children: r
|
7997
7971
|
}
|
7998
7972
|
),
|
7999
|
-
|
7973
|
+
y && /* @__PURE__ */ m(
|
8000
7974
|
"div",
|
8001
7975
|
{
|
8002
|
-
ref:
|
8003
|
-
id: `${
|
7976
|
+
ref: _,
|
7977
|
+
id: `${O}-helper`,
|
8004
7978
|
className: F.helperText,
|
8005
|
-
children:
|
7979
|
+
children: y
|
8006
7980
|
}
|
8007
7981
|
),
|
8008
|
-
p && /* @__PURE__ */
|
7982
|
+
p && /* @__PURE__ */ m(
|
8009
7983
|
"div",
|
8010
7984
|
{
|
8011
7985
|
ref: I,
|
@@ -8013,12 +7987,12 @@ const ni = "av-text-input", gu = "av-text-input-wrapper", ur = "av-text-input-he
|
|
8013
7987
|
children: p
|
8014
7988
|
}
|
8015
7989
|
),
|
8016
|
-
n &&
|
7990
|
+
n && y && /* @__PURE__ */ m(ri, { politeness: "polite", clearAnnouncementDelay: 500, children: S })
|
8017
7991
|
] });
|
8018
7992
|
}
|
8019
7993
|
);
|
8020
7994
|
jr.displayName = "TextInput";
|
8021
|
-
const
|
7995
|
+
const Su = 500, Tu = 5e3, Au = 2e4, si = me.forwardRef(
|
8022
7996
|
({
|
8023
7997
|
name: e,
|
8024
7998
|
disabled: t,
|
@@ -8032,39 +8006,39 @@ const Au = 500, Iu = 5e3, ku = 2e4, si = ye.forwardRef(
|
|
8032
8006
|
rightElement: d,
|
8033
8007
|
...u
|
8034
8008
|
}, l) => {
|
8035
|
-
const [h, f] = fe(!0), [
|
8009
|
+
const [h, f] = fe(!0), [y, p] = fe({
|
8036
8010
|
message: null,
|
8037
8011
|
politeness: null
|
8038
8012
|
}), b = ee(!0), E = ee(null), A = ee(null), v = Xs([l, A]), I = h ? "Show" : "Hide", N = () => {
|
8039
8013
|
E.current && clearTimeout(E.current), b.current || (E.current = setTimeout(() => {
|
8040
8014
|
b.current = !0, f(!0), p({
|
8041
|
-
announcementTimeout:
|
8015
|
+
announcementTimeout: Tu,
|
8042
8016
|
politeness: "polite",
|
8043
8017
|
message: `${r} hiding characters`
|
8044
8018
|
}), s && s(!0);
|
8045
|
-
},
|
8046
|
-
}, K = (
|
8047
|
-
|
8019
|
+
}, Au));
|
8020
|
+
}, K = (_) => {
|
8021
|
+
_.preventDefault();
|
8048
8022
|
const T = !b.current;
|
8049
8023
|
b.current = T, N(), f(T), p({
|
8050
|
-
announcementTimeout:
|
8024
|
+
announcementTimeout: Su,
|
8051
8025
|
politeness: "assertive",
|
8052
8026
|
message: T ? "Characters hidden" : "Characters showing"
|
8053
8027
|
}), s && s(T);
|
8054
|
-
}, x = (
|
8055
|
-
const { relatedTarget: T } =
|
8028
|
+
}, x = (_) => {
|
8029
|
+
const { relatedTarget: T } = _;
|
8056
8030
|
A.current?.parentElement?.contains(T) || c && c();
|
8057
|
-
},
|
8058
|
-
N(), o && o(
|
8059
|
-
}, S = (
|
8060
|
-
N(), a && a(
|
8061
|
-
}, w = (
|
8062
|
-
N(), i && i(
|
8031
|
+
}, O = (_) => {
|
8032
|
+
N(), o && o(_), x(_);
|
8033
|
+
}, S = (_) => {
|
8034
|
+
N(), a && a(_);
|
8035
|
+
}, w = (_) => {
|
8036
|
+
N(), i && i(_);
|
8063
8037
|
};
|
8064
8038
|
return Z(() => () => {
|
8065
8039
|
E.current && clearTimeout(E.current);
|
8066
8040
|
}, []), /* @__PURE__ */ Y(Nn, { children: [
|
8067
|
-
/* @__PURE__ */
|
8041
|
+
/* @__PURE__ */ m(
|
8068
8042
|
jr,
|
8069
8043
|
{
|
8070
8044
|
ref: v,
|
@@ -8073,10 +8047,10 @@ const Au = 500, Iu = 5e3, ku = 2e4, si = ye.forwardRef(
|
|
8073
8047
|
labelHidden: n,
|
8074
8048
|
type: h ? "password" : "text",
|
8075
8049
|
disabled: t,
|
8076
|
-
onBlur:
|
8050
|
+
onBlur: O,
|
8077
8051
|
onFocus: S,
|
8078
8052
|
onChange: w,
|
8079
|
-
rightElement:
|
8053
|
+
rightElement: me.cloneElement(d, {
|
8080
8054
|
ref: l,
|
8081
8055
|
label: I,
|
8082
8056
|
onClick: K,
|
@@ -8086,13 +8060,13 @@ const Au = 500, Iu = 5e3, ku = 2e4, si = ye.forwardRef(
|
|
8086
8060
|
...u
|
8087
8061
|
}
|
8088
8062
|
),
|
8089
|
-
/* @__PURE__ */
|
8063
|
+
/* @__PURE__ */ m(
|
8090
8064
|
ri,
|
8091
8065
|
{
|
8092
8066
|
role: "status",
|
8093
|
-
politeness:
|
8094
|
-
clearAnnouncementDelay:
|
8095
|
-
children:
|
8067
|
+
politeness: y.politeness,
|
8068
|
+
clearAnnouncementDelay: y.announcementTimeout,
|
8069
|
+
children: y.message
|
8096
8070
|
}
|
8097
8071
|
)
|
8098
8072
|
] });
|
@@ -8112,9 +8086,9 @@ try {
|
|
8112
8086
|
});
|
8113
8087
|
} catch {
|
8114
8088
|
}
|
8115
|
-
const
|
8116
|
-
Press Enter to send it or Shift+Enter for new line.`,
|
8117
|
-
Press Ctrl+Enter to send it or Enter for new line.`,
|
8089
|
+
const Iu = "ASK! ME! ANYTHING!", ku = "Log in", Ru = "Sign in with a Passkey", ah = "Log out", Cu = "Password", oh = "Usage", ch = "Profile", lh = "Settings", uh = "Chat history", dh = "About", Wr = "Type your message here.", hh = Wr, fh = `${Wr}
|
8090
|
+
Press Enter to send it or Shift+Enter for new line.`, yh = `${Wr}
|
8091
|
+
Press Ctrl+Enter to send it or Enter for new line.`, mh = "{{clipboard}}", M = "Review important details.", ph = [
|
8118
8092
|
`Sometimes, ${L} just makes stuff up. ${M}`,
|
8119
8093
|
`${L} may invent facts on the fly. ${M}`,
|
8120
8094
|
`${L} may be confidently wrong. ${M}`,
|
@@ -8135,17 +8109,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, gh = "{{clipboard}}", M = "
|
|
8135
8109
|
`Sometimes, ${L} howls at the moon. ${M}`,
|
8136
8110
|
`${L} may dig up imaginary bones. ${M}`,
|
8137
8111
|
`${L} may sniff out nonsense. ${M}`
|
8138
|
-
],
|
8112
|
+
], gh = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", bh = "Default provider set to", wh = "Chat successfully deleted!", Eh = "Chat successfully saved!", vh = "Caching enabled. Assets are now stored locally.", Sh = "Caching disabled. Local asset cache cleared.", Th = "av-sassy", Ah = {
|
8139
8113
|
0: ["January", "February", "March"],
|
8140
8114
|
3: ["April", "May", "June"],
|
8141
8115
|
6: ["July", "August", "September"],
|
8142
8116
|
9: ["October", "November", "December"]
|
8143
|
-
},
|
8117
|
+
}, Ih = {
|
8144
8118
|
0: ["Jan", "Feb", "Mar"],
|
8145
8119
|
3: ["Apr", "May", "Jun"],
|
8146
8120
|
6: ["Jul", "Aug", "Sep"],
|
8147
8121
|
9: ["Oct", "Nov", "Dec"]
|
8148
|
-
},
|
8122
|
+
}, kh = {
|
8149
8123
|
PREFERENCES: {
|
8150
8124
|
TITLE: "User profile",
|
8151
8125
|
NAME: "Name",
|
@@ -8185,7 +8159,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, gh = "{{clipboard}}", M = "
|
|
8185
8159
|
SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
|
8186
8160
|
USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Callisto will remember your previous interactions and use them to provide more relevant responses."
|
8187
8161
|
}
|
8188
|
-
},
|
8162
|
+
}, Ou = ({ className: e }) => /* @__PURE__ */ Y(
|
8189
8163
|
"div",
|
8190
8164
|
{
|
8191
8165
|
className: g(
|
@@ -8193,14 +8167,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, gh = "{{clipboard}}", M = "
|
|
8193
8167
|
"flex items-center justify-center text-slate-300"
|
8194
8168
|
),
|
8195
8169
|
children: [
|
8196
|
-
/* @__PURE__ */
|
8170
|
+
/* @__PURE__ */ m("div", { className: "basis-1/4", children: /* @__PURE__ */ m(su, {}) }),
|
8197
8171
|
/* @__PURE__ */ Y("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
8198
|
-
/* @__PURE__ */
|
8199
|
-
/* @__PURE__ */
|
8172
|
+
/* @__PURE__ */ m("h1", { children: L }),
|
8173
|
+
/* @__PURE__ */ m("h2", { children: Iu })
|
8200
8174
|
] })
|
8201
8175
|
]
|
8202
8176
|
}
|
8203
|
-
),
|
8177
|
+
), _u = () => {
|
8204
8178
|
const { login: e, logoutReason: t, loginWithPasskey: r } = Us(), [n, s] = fe(""), [i, o] = fe(""), [a, c] = fe(!0), [d, u] = fe({
|
8205
8179
|
username: "",
|
8206
8180
|
password: ""
|
@@ -8213,131 +8187,121 @@ Press Ctrl+Enter to send it or Enter for new line.`, gh = "{{clipboard}}", M = "
|
|
8213
8187
|
}, 500);
|
8214
8188
|
}), Z(() => {
|
8215
8189
|
t && o(t);
|
8216
|
-
}, [t]), /* @__PURE__ */ Y(
|
8217
|
-
|
8218
|
-
|
8219
|
-
|
8220
|
-
|
8221
|
-
|
8222
|
-
|
8223
|
-
|
8224
|
-
|
8225
|
-
|
8226
|
-
|
8227
|
-
|
8228
|
-
|
8229
|
-
|
8230
|
-
|
8231
|
-
|
8232
|
-
|
8233
|
-
|
8234
|
-
|
8235
|
-
|
8236
|
-
|
8237
|
-
|
8238
|
-
|
8239
|
-
|
8240
|
-
|
8241
|
-
|
8242
|
-
|
8243
|
-
|
8244
|
-
|
8245
|
-
|
8246
|
-
|
8247
|
-
|
8248
|
-
|
8249
|
-
|
8250
|
-
|
8251
|
-
|
8252
|
-
|
8253
|
-
|
8254
|
-
|
8255
|
-
|
8256
|
-
|
8257
|
-
|
8258
|
-
|
8190
|
+
}, [t]), /* @__PURE__ */ Y("main", { className: Ws({ extraClass: "mt-5" }), children: [
|
8191
|
+
/* @__PURE__ */ m(
|
8192
|
+
"div",
|
8193
|
+
{
|
8194
|
+
className: js({
|
8195
|
+
extraClass: "rounded-md pb-10"
|
8196
|
+
}),
|
8197
|
+
children: /* @__PURE__ */ m(Ou, {})
|
8198
|
+
}
|
8199
|
+
),
|
8200
|
+
/* @__PURE__ */ m("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ m(lu, { alignHorizontal: "center", children: /* @__PURE__ */ m(Se, { span: 6, children: /* @__PURE__ */ Y(nu, { mode: "dark", children: [
|
8201
|
+
/* @__PURE__ */ m(Se, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ m("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
|
8202
|
+
/* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
|
8203
|
+
jr,
|
8204
|
+
{
|
8205
|
+
className: "mt-7",
|
8206
|
+
required: !0,
|
8207
|
+
autoCapitalize: "off",
|
8208
|
+
autoComplete: "off",
|
8209
|
+
autoCorrect: "off",
|
8210
|
+
mode: "dark",
|
8211
|
+
focusMode: "light",
|
8212
|
+
name: "username",
|
8213
|
+
label: "Username",
|
8214
|
+
onChange: (h) => {
|
8215
|
+
u({
|
8216
|
+
...d,
|
8217
|
+
username: h.target.value
|
8218
|
+
}), s("");
|
8219
|
+
},
|
8220
|
+
error: n !== ""
|
8221
|
+
}
|
8222
|
+
) }),
|
8223
|
+
/* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
|
8224
|
+
si,
|
8225
|
+
{
|
8226
|
+
className: "mt-7",
|
8227
|
+
required: !0,
|
8228
|
+
autoCapitalize: "off",
|
8229
|
+
autoComplete: "off",
|
8230
|
+
autoCorrect: "off",
|
8231
|
+
mode: "dark",
|
8232
|
+
focusMode: "light",
|
8233
|
+
name: "password",
|
8234
|
+
label: Cu,
|
8235
|
+
rightElement: /* @__PURE__ */ m(
|
8236
|
+
Ft,
|
8259
8237
|
{
|
8260
|
-
className: "mt-7",
|
8261
|
-
required: !0,
|
8262
|
-
autoCapitalize: "off",
|
8263
|
-
autoComplete: "off",
|
8264
|
-
autoCorrect: "off",
|
8265
|
-
mode: "dark",
|
8266
8238
|
focusMode: "light",
|
8267
|
-
name: "password",
|
8268
|
-
label: Ou,
|
8269
|
-
rightElement: /* @__PURE__ */ y(
|
8270
|
-
Ft,
|
8271
|
-
{
|
8272
|
-
focusMode: "light",
|
8273
|
-
mode: "dark",
|
8274
|
-
label: a ? "Show" : "Hide",
|
8275
|
-
children: a ? /* @__PURE__ */ y(ou, {}) : /* @__PURE__ */ y(iu, {})
|
8276
|
-
}
|
8277
|
-
),
|
8278
|
-
onMaskChange: c,
|
8279
|
-
onChange: (h) => {
|
8280
|
-
u({
|
8281
|
-
...d,
|
8282
|
-
password: h.target.value
|
8283
|
-
}), s("");
|
8284
|
-
},
|
8285
|
-
error: n !== "",
|
8286
|
-
helperText: n
|
8287
|
-
}
|
8288
|
-
) }),
|
8289
|
-
/* @__PURE__ */ y(Se, { span: 12, children: /* @__PURE__ */ y(
|
8290
|
-
Ys,
|
8291
|
-
{
|
8292
8239
|
mode: "dark",
|
8293
|
-
|
8294
|
-
|
8295
|
-
noBorder: !0,
|
8296
|
-
type: "submit",
|
8297
|
-
className: "mt-7",
|
8298
|
-
children: Cu
|
8240
|
+
label: a ? "Show" : "Hide",
|
8241
|
+
children: a ? /* @__PURE__ */ m(ou, {}) : /* @__PURE__ */ m(iu, {})
|
8299
8242
|
}
|
8300
|
-
)
|
8301
|
-
|
8302
|
-
|
8303
|
-
|
8304
|
-
|
8305
|
-
|
8306
|
-
|
8307
|
-
|
8308
|
-
|
8309
|
-
|
8310
|
-
|
8311
|
-
|
8312
|
-
|
8313
|
-
|
8314
|
-
|
8315
|
-
|
8316
|
-
|
8317
|
-
|
8318
|
-
|
8319
|
-
|
8320
|
-
|
8321
|
-
|
8243
|
+
),
|
8244
|
+
onMaskChange: c,
|
8245
|
+
onChange: (h) => {
|
8246
|
+
u({
|
8247
|
+
...d,
|
8248
|
+
password: h.target.value
|
8249
|
+
}), s("");
|
8250
|
+
},
|
8251
|
+
error: n !== "",
|
8252
|
+
helperText: n
|
8253
|
+
}
|
8254
|
+
) }),
|
8255
|
+
/* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
|
8256
|
+
Ys,
|
8257
|
+
{
|
8258
|
+
mode: "dark",
|
8259
|
+
focusMode: "light",
|
8260
|
+
fullWidth: !0,
|
8261
|
+
noBorder: !0,
|
8262
|
+
type: "submit",
|
8263
|
+
className: "mt-7",
|
8264
|
+
children: ku
|
8265
|
+
}
|
8266
|
+
) }),
|
8267
|
+
!Qs() && /* @__PURE__ */ Y(Nn, { children: [
|
8268
|
+
/* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
|
8269
|
+
/* @__PURE__ */ m(Se, { span: 12, children: /* @__PURE__ */ m(
|
8270
|
+
Ft,
|
8271
|
+
{
|
8272
|
+
variant: "selected",
|
8273
|
+
mode: "dark",
|
8274
|
+
focusMode: "light",
|
8275
|
+
fullWidth: !0,
|
8276
|
+
className: "mb-4",
|
8277
|
+
labelRight: Ru,
|
8278
|
+
onClick: r,
|
8279
|
+
children: /* @__PURE__ */ m(au, { size: "size-7" })
|
8280
|
+
}
|
8281
|
+
) })
|
8282
|
+
] })
|
8283
|
+
] }) }) }) })
|
8284
|
+
] });
|
8285
|
+
}, Nu = new URL(document.location.href).searchParams, On = !!Nu.get("debug") || !1, Pu = ci(() => import(
|
8322
8286
|
/* webpackChunkName: "LazyApp" */
|
8323
|
-
"./App.
|
8324
|
-
).then((e) => e.App)),
|
8287
|
+
"./App.CasJ4WkW.js"
|
8288
|
+
).then((e) => e.App)), xu = new ki(), _n = ({
|
8325
8289
|
isComponent: e,
|
8326
8290
|
headerHeight: t
|
8327
8291
|
}) => {
|
8328
8292
|
const { isAuthenticated: r, isLoading: n, user: s, getAccessToken: i } = Us();
|
8329
|
-
return n ? /* @__PURE__ */
|
8330
|
-
/* @__PURE__ */
|
8331
|
-
/* @__PURE__ */
|
8293
|
+
return n ? /* @__PURE__ */ m("div", {}) : r ? /* @__PURE__ */ m(oi, { fallback: /* @__PURE__ */ m("div", {}), children: /* @__PURE__ */ Y(_i, { client: xu, children: [
|
8294
|
+
/* @__PURE__ */ m(po, {}),
|
8295
|
+
/* @__PURE__ */ m(
|
8332
8296
|
fl,
|
8333
8297
|
{
|
8334
8298
|
user: s?.username,
|
8335
8299
|
getAccessToken: i,
|
8336
|
-
children: /* @__PURE__ */
|
8300
|
+
children: /* @__PURE__ */ m(Pu, { isComponent: e, headerHeight: t })
|
8337
8301
|
}
|
8338
8302
|
)
|
8339
|
-
] }) }) : /* @__PURE__ */
|
8340
|
-
},
|
8303
|
+
] }) }) : /* @__PURE__ */ m(_u, {});
|
8304
|
+
}, $u = ({
|
8341
8305
|
isComponent: e = !1,
|
8342
8306
|
headerHeight: t = 0,
|
8343
8307
|
domain: r = qs
|
@@ -8345,17 +8309,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, gh = "{{clipboard}}", M = "
|
|
8345
8309
|
e || Ks().catch((n) => {
|
8346
8310
|
console.error("[SW] Failed to register service worker:", n);
|
8347
8311
|
});
|
8348
|
-
}, [e]), Br ? /* @__PURE__ */
|
8312
|
+
}, [e]), Br ? /* @__PURE__ */ m(
|
8349
8313
|
Sn,
|
8350
8314
|
{
|
8351
8315
|
clientId: Tn,
|
8352
8316
|
domain: r,
|
8353
|
-
debug:
|
8317
|
+
debug: On,
|
8354
8318
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
8355
|
-
children: /* @__PURE__ */
|
8319
|
+
children: /* @__PURE__ */ m(_n, { isComponent: e, headerHeight: t })
|
8356
8320
|
}
|
8357
|
-
) : /* @__PURE__ */
|
8358
|
-
|
8321
|
+
) : /* @__PURE__ */ m(Sn, { clientId: Tn, domain: r, debug: On, children: /* @__PURE__ */ m(_n, { isComponent: e, headerHeight: t }) })), Rh = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ m(
|
8322
|
+
$u,
|
8359
8323
|
{
|
8360
8324
|
isComponent: !0,
|
8361
8325
|
domain: e,
|
@@ -8363,156 +8327,155 @@ Press Ctrl+Enter to send it or Enter for new line.`, gh = "{{clipboard}}", M = "
|
|
8363
8327
|
}
|
8364
8328
|
);
|
8365
8329
|
export {
|
8366
|
-
|
8367
|
-
|
8368
|
-
|
8369
|
-
|
8370
|
-
|
8371
|
-
|
8372
|
-
|
8330
|
+
dh as ABOUT_TITLE,
|
8331
|
+
Td as ACTION_RESET_PROMPT,
|
8332
|
+
Ed as ACTION_SEARCH,
|
8333
|
+
vd as ACTION_SORT,
|
8334
|
+
Sd as ACTION_TOGGLE_PROMPT,
|
8335
|
+
Th as APP_CLASSNAME,
|
8336
|
+
Jd as Ae,
|
8373
8337
|
Ys as C,
|
8374
|
-
|
8375
|
-
|
8376
|
-
|
8377
|
-
|
8338
|
+
kh as CARDS,
|
8339
|
+
mh as CLIPBOARD_PROMPT,
|
8340
|
+
$d as DEFAULT_ICON_ACTION_SIZE,
|
8341
|
+
ed as Dynamic,
|
8378
8342
|
Yc as E,
|
8379
|
-
|
8380
|
-
|
8381
|
-
|
8382
|
-
|
8383
|
-
|
8343
|
+
wd as ERROR_MESSAGE,
|
8344
|
+
Wd as Ee,
|
8345
|
+
ph as FOOTER_DISCLAIMERS,
|
8346
|
+
qu as For,
|
8347
|
+
uh as HISTORY_TITLE,
|
8384
8348
|
Qt as I,
|
8385
|
-
|
8386
|
-
|
8387
|
-
|
8388
|
-
|
8389
|
-
|
8390
|
-
|
8391
|
-
|
8392
|
-
|
8393
|
-
|
8394
|
-
|
8349
|
+
Nd as INFINITE_SCROLL_LIMIT,
|
8350
|
+
_d as INFINITE_SCROLL_THRESHOLD,
|
8351
|
+
Ud as INPUT_BOTTOM_OFFSET,
|
8352
|
+
Hd as INPUT_BOTTOM_OFFSET_EXTRA,
|
8353
|
+
Fd as INPUT_BOTTOM_OFFSET_IPHONE,
|
8354
|
+
yh as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
|
8355
|
+
fh as INPUT_PLACEHOLDER_TEXT_ENTER,
|
8356
|
+
hh as INPUT_PLACEHOLDER_TEXT_MOBILE,
|
8357
|
+
ju as Index,
|
8358
|
+
lu as L,
|
8395
8359
|
Fs as LOCAL_STORAGE_PREFIX,
|
8396
|
-
|
8397
|
-
|
8398
|
-
|
8399
|
-
|
8400
|
-
|
8401
|
-
|
8402
|
-
|
8403
|
-
|
8404
|
-
|
8405
|
-
|
8406
|
-
|
8407
|
-
|
8408
|
-
|
8409
|
-
|
8360
|
+
Cd as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
8361
|
+
Od as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
8362
|
+
Ad as LOCAL_STORAGE_SEARCH,
|
8363
|
+
Id as LOCAL_STORAGE_SORT,
|
8364
|
+
kd as LOCAL_STORAGE_SORT_TIMESTAMP,
|
8365
|
+
Rd as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
8366
|
+
ah as LOG_OUT,
|
8367
|
+
Ou as Logo,
|
8368
|
+
Ju as Match,
|
8369
|
+
ch as PROFILE_TITLE,
|
8370
|
+
gh as PROMPTS_DESCRIPTION,
|
8371
|
+
Pd as PROMPT_CLASSNAME,
|
8372
|
+
xd as PROMPT_EDITABLE_AREA_CLASSNAME,
|
8373
|
+
Zu as Portal,
|
8410
8374
|
nu as S,
|
8411
8375
|
Re as SERVICE_TYPES,
|
8412
|
-
|
8413
|
-
|
8414
|
-
|
8415
|
-
|
8416
|
-
|
8417
|
-
|
8418
|
-
|
8419
|
-
|
8420
|
-
|
8421
|
-
|
8422
|
-
|
8423
|
-
|
8424
|
-
|
8425
|
-
|
8426
|
-
|
8376
|
+
lh as SETTINGS_TITLE,
|
8377
|
+
Rh as SassySaint,
|
8378
|
+
Wu as Show,
|
8379
|
+
Qu as Switch,
|
8380
|
+
Sh as TOAST_CACHE_DISABLED,
|
8381
|
+
vh as TOAST_CACHE_ENABLED,
|
8382
|
+
wh as TOAST_CHAT_DELETED,
|
8383
|
+
Eh as TOAST_CHAT_SAVED,
|
8384
|
+
bh as TOAST_PROVIDER_CHANGED,
|
8385
|
+
Ah as TRIMESTERS,
|
8386
|
+
Ih as TRIMESTERS_SHORT,
|
8387
|
+
Ld as UI_BUTTON_SCROLL_BUFFER,
|
8388
|
+
Md as UI_DEFAULT_MAIN_HEIGHT,
|
8389
|
+
Dd as UI_FOOTER_BUFFER,
|
8390
|
+
oh as USAGE_TITLE,
|
8427
8391
|
jr as Y,
|
8428
|
-
|
8392
|
+
Gd as a,
|
8429
8393
|
Aa as addEventListener,
|
8430
8394
|
eu as b,
|
8431
|
-
|
8432
|
-
|
8395
|
+
Uu as batch,
|
8396
|
+
Vd as c,
|
8433
8397
|
Ta as className,
|
8434
|
-
|
8398
|
+
Xu as clearDelegatedEvents,
|
8435
8399
|
Dl as convertCamelCaseToReadable,
|
8436
|
-
|
8400
|
+
ud as convertRemToPixels,
|
8437
8401
|
na as createComponent,
|
8438
8402
|
Vi as createComputed,
|
8439
|
-
|
8403
|
+
Bu as createContext,
|
8440
8404
|
Vn as createEffect,
|
8441
8405
|
H as createMemo,
|
8442
8406
|
Ae as createRenderEffect,
|
8443
8407
|
Te as createRoot,
|
8444
8408
|
z as createSignal,
|
8445
|
-
|
8409
|
+
Vu as createUniqueId,
|
8446
8410
|
L as de,
|
8447
8411
|
xl as debounce,
|
8448
8412
|
Ea as delegateEvents,
|
8449
|
-
|
8450
|
-
|
8451
|
-
|
8413
|
+
yt as deleteNestedDataByPath,
|
8414
|
+
od as displayValue,
|
8415
|
+
Bd as getCacheInfo,
|
8452
8416
|
Al as getCurrentGeoLocation,
|
8453
|
-
Ws as
|
8417
|
+
Ws as getLayoutPaddingClass,
|
8454
8418
|
js as getMessageContaintWrapperClass,
|
8455
|
-
|
8456
|
-
|
8457
|
-
|
8458
|
-
|
8459
|
-
|
8460
|
-
|
8419
|
+
id as getMutationStatusColor,
|
8420
|
+
dd as getPreferredColorScheme,
|
8421
|
+
sd as getQueryStatusColor,
|
8422
|
+
ad as getQueryStatusColorByLabel,
|
8423
|
+
rd as getQueryStatusLabel,
|
8424
|
+
nd as getSidedProp,
|
8461
8425
|
At as h,
|
8462
|
-
|
8426
|
+
Kd as handleServiceWorkerToggle,
|
8463
8427
|
Zs as i,
|
8464
8428
|
Bs as i$1,
|
8465
8429
|
Tr as insert,
|
8466
8430
|
Js as isProbablyMobile,
|
8467
8431
|
$l as isProbablyiPhone,
|
8468
|
-
|
8432
|
+
_r as isServiceWorkerEnabled,
|
8469
8433
|
Qs as isTauri,
|
8470
8434
|
Qe as it,
|
8471
8435
|
Se as j,
|
8472
8436
|
au as l,
|
8473
|
-
|
8437
|
+
zu as memo,
|
8474
8438
|
ia as mergeProps,
|
8475
8439
|
dl as mutateCall,
|
8476
|
-
|
8440
|
+
ld as mutationSortFns,
|
8477
8441
|
Us as n,
|
8478
|
-
|
8479
|
-
|
8442
|
+
qd as ne,
|
8443
|
+
_l as numberFormatter,
|
8480
8444
|
Xs as o,
|
8481
8445
|
Il as obfuscate,
|
8482
|
-
|
8446
|
+
Fu as on,
|
8483
8447
|
Ze as onCleanup,
|
8484
8448
|
Wi as onMount,
|
8485
|
-
|
8449
|
+
Yd as pe,
|
8486
8450
|
Pl as pluralize,
|
8487
|
-
|
8488
|
-
Qd as re,
|
8451
|
+
jd as re,
|
8489
8452
|
Rl as renderDataAsList,
|
8490
8453
|
co as serialize,
|
8491
8454
|
ul as serverUrl,
|
8492
8455
|
Sr as setAttribute,
|
8493
|
-
|
8494
|
-
|
8456
|
+
Xd as setNewProvider,
|
8457
|
+
cd as sortFns,
|
8495
8458
|
aa as splitProps,
|
8496
8459
|
Ra as spread,
|
8497
|
-
|
8460
|
+
td as stringify,
|
8498
8461
|
Ft as te,
|
8499
|
-
|
8500
|
-
|
8462
|
+
Yu as template,
|
8463
|
+
zd as ue,
|
8501
8464
|
kl as unObfuscate,
|
8502
8465
|
Q as untrack,
|
8503
8466
|
ft as updateNestedDataByPath,
|
8504
8467
|
Ca as use,
|
8505
|
-
|
8506
|
-
|
8507
|
-
|
8508
|
-
|
8509
|
-
|
8510
|
-
|
8511
|
-
|
8512
|
-
|
8468
|
+
eh as useChangelogs,
|
8469
|
+
rh as useChatsHistory,
|
8470
|
+
nh as useChatsUsage,
|
8471
|
+
Gu as useContext,
|
8472
|
+
sh as useEntitlements,
|
8473
|
+
Zd as useServerCapabilities,
|
8474
|
+
Ku as useTransition,
|
8475
|
+
th as useUserChatStats,
|
8513
8476
|
hl as useUserPreferences,
|
8514
|
-
|
8477
|
+
ih as utilities,
|
8515
8478
|
ri as x,
|
8516
8479
|
Xc as y,
|
8517
|
-
|
8480
|
+
Qd as ye
|
8518
8481
|
};
|