@versini/sassysaint 8.21.0 → 8.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{2ZEF3XTO.Bm2FOT43.js → 2ZEF3XTO.DQbHIga_.js} +1 -1
- package/dist/chunks/{AboutChangelog.p66KexPg.js → AboutChangelog.DY7R3De_.js} +2 -2
- package/dist/chunks/{App.14a_m4X9.js → App.DjKBpaWe.js} +2591 -2597
- package/dist/chunks/{Chart.BlMkJmN3.js → Chart.wOI8U5Ff.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.w5kiO0DO.js → ChatBubbleAssistant.C3yRxa3k.js} +3 -3
- package/dist/chunks/{index.XD2SQigG.js → index.BlMHZJ4j.js} +1 -1
- package/dist/chunks/{index.C98PQfTm.js → index.CeOS8-ml.js} +1 -1
- package/dist/chunks/{index.Dhjyd-MC.js → index.DTxuGpdf.js} +3 -3
- package/dist/chunks/{index.DZJu2Y8_.js → index.DbVVY_Gu.js} +2 -2
- package/dist/chunks/{index.Dud8nTtn.js → index.F5-44LmV.js} +1 -1
- package/dist/chunks/{index.Bw9viTDe.js → index.VxpF2Jlo.js} +179 -178
- package/dist/chunks/{useMarkdown.DqX7fwm9.js → useMarkdown.Bl0_jHbs.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
@@ -1,8 +1,8 @@
|
|
1
|
-
var
|
1
|
+
var Tn = (e) => {
|
2
2
|
throw TypeError(e);
|
3
3
|
};
|
4
|
-
var xr = (e, t, r) => t.has(e) ||
|
5
|
-
var f = (e, t, r) => (xr(e, t, "read from private field"), r ? r.call(e) : t.get(e)),
|
4
|
+
var xr = (e, t, r) => t.has(e) || Tn("Cannot " + r);
|
5
|
+
var f = (e, t, r) => (xr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), A = (e, t, r) => t.has(e) ? Tn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), w = (e, t, r, n) => (xr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Q = (e, t, r) => (xr(e, t, "access private method"), r);
|
6
6
|
var Jt = (e, t, r, n) => ({
|
7
7
|
set _(s) {
|
8
8
|
w(e, t, s, r);
|
@@ -13,9 +13,9 @@ var Jt = (e, t, r, n) => ({
|
|
13
13
|
});
|
14
14
|
import { jsx as p, jsxs as te, Fragment as dr } from "react/jsx-runtime";
|
15
15
|
import * as oe from "react";
|
16
|
-
import ke, { createContext as ls, useReducer as us, useCallback as
|
16
|
+
import ke, { createContext as ls, useReducer as us, useCallback as Ae, useRef as J, useEffect as de, useSyncExternalStore as ki, useContext as hn, useLayoutEffect as fr, useState as Te, useMemo as Tr, useId as ds, Suspense as Ri, lazy as Oi } from "react";
|
17
17
|
import b from "clsx";
|
18
|
-
var
|
18
|
+
var Ar = class {
|
19
19
|
constructor() {
|
20
20
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
21
21
|
}
|
@@ -43,7 +43,7 @@ function Ci(e) {
|
|
43
43
|
function Ni(e, t) {
|
44
44
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
45
45
|
}
|
46
|
-
function
|
46
|
+
function An(e, t) {
|
47
47
|
return typeof e == "function" ? e(t) : e;
|
48
48
|
}
|
49
49
|
function Pi(e, t) {
|
@@ -173,12 +173,12 @@ function fs(e, t) {
|
|
173
173
|
function vu(e, t) {
|
174
174
|
return typeof e == "function" ? e(...t) : !!e;
|
175
175
|
}
|
176
|
-
var Be, Ne, st, es, Mi = (es = class extends
|
176
|
+
var Be, Ne, st, es, Mi = (es = class extends Ar {
|
177
177
|
constructor() {
|
178
178
|
super();
|
179
|
-
|
180
|
-
|
181
|
-
|
179
|
+
A(this, Be);
|
180
|
+
A(this, Ne);
|
181
|
+
A(this, st);
|
182
182
|
w(this, st, (t) => {
|
183
183
|
if (!Ir && window.addEventListener) {
|
184
184
|
const r = () => t();
|
@@ -214,12 +214,12 @@ var Be, Ne, st, es, Mi = (es = class extends Tr {
|
|
214
214
|
var t;
|
215
215
|
return typeof f(this, Be) == "boolean" ? f(this, Be) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
|
216
216
|
}
|
217
|
-
}, Be = new WeakMap(), Ne = new WeakMap(), st = new WeakMap(), es), hs = new Mi(), it, Pe, at, ts, Ui = (ts = class extends
|
217
|
+
}, Be = new WeakMap(), Ne = new WeakMap(), st = new WeakMap(), es), hs = new Mi(), it, Pe, at, ts, Ui = (ts = class extends Ar {
|
218
218
|
constructor() {
|
219
219
|
super();
|
220
|
-
|
221
|
-
|
222
|
-
|
220
|
+
A(this, it, !0);
|
221
|
+
A(this, Pe);
|
222
|
+
A(this, at);
|
223
223
|
w(this, at, (t) => {
|
224
224
|
if (!Ir && window.addEventListener) {
|
225
225
|
const r = () => t(!0), n = () => t(!1);
|
@@ -322,7 +322,7 @@ function ps(e) {
|
|
322
322
|
var M;
|
323
323
|
if (n)
|
324
324
|
return;
|
325
|
-
const _ = e.retry ?? (Ir ? 0 : 3),
|
325
|
+
const _ = e.retry ?? (Ir ? 0 : 3), T = e.retryDelay ?? Hi, k = typeof T == "function" ? T(r, I) : T, C = _ === !0 || typeof _ == "number" && r < _ || typeof _ == "function" && _(r, I);
|
326
326
|
if (t || !C) {
|
327
327
|
h(I);
|
328
328
|
return;
|
@@ -404,7 +404,7 @@ function Bi() {
|
|
404
404
|
}
|
405
405
|
var ee = Bi(), Ve, rs, gs = (rs = class {
|
406
406
|
constructor() {
|
407
|
-
|
407
|
+
A(this, Ve);
|
408
408
|
}
|
409
409
|
destroy() {
|
410
410
|
this.clearGcTimeout();
|
@@ -426,14 +426,14 @@ var ee = Bi(), Ve, rs, gs = (rs = class {
|
|
426
426
|
}, Ve = new WeakMap(), rs), ot, ct, ie, je, Y, Ht, Ge, le, Ee, ns, Vi = (ns = class extends gs {
|
427
427
|
constructor(t) {
|
428
428
|
super();
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
429
|
+
A(this, le);
|
430
|
+
A(this, ot);
|
431
|
+
A(this, ct);
|
432
|
+
A(this, ie);
|
433
|
+
A(this, je);
|
434
|
+
A(this, Y);
|
435
|
+
A(this, Ht);
|
436
|
+
A(this, Ge);
|
437
437
|
w(this, Ge, !1), w(this, Ht, t.defaultOptions), this.setOptions(t.options), this.observers = [], w(this, je, t.client), w(this, ie, f(this, je).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, w(this, ot, Gi(this.options)), this.state = t.state ?? f(this, ot), this.scheduleGc();
|
438
438
|
}
|
439
439
|
get meta() {
|
@@ -708,10 +708,10 @@ function Gi(e) {
|
|
708
708
|
fetchStatus: "idle"
|
709
709
|
};
|
710
710
|
}
|
711
|
-
var ye, ss, qi = (ss = class extends
|
711
|
+
var ye, ss, qi = (ss = class extends Ar {
|
712
712
|
constructor(t = {}) {
|
713
713
|
super();
|
714
|
-
|
714
|
+
A(this, ye);
|
715
715
|
this.config = t, w(this, ye, /* @__PURE__ */ new Map());
|
716
716
|
}
|
717
717
|
build(t, r, n) {
|
@@ -783,10 +783,10 @@ var ye, ss, qi = (ss = class extends Tr {
|
|
783
783
|
}, ye = new WeakMap(), ss), me, Z, qe, pe, Ce, is, Wi = (is = class extends gs {
|
784
784
|
constructor(t) {
|
785
785
|
super();
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
786
|
+
A(this, pe);
|
787
|
+
A(this, me);
|
788
|
+
A(this, Z);
|
789
|
+
A(this, qe);
|
790
790
|
this.mutationId = t.mutationId, w(this, Z, t.mutationCache), w(this, me, []), this.state = t.state || Ji(), this.setOptions(t.options), this.scheduleGc();
|
791
791
|
}
|
792
792
|
setOptions(t) {
|
@@ -818,7 +818,7 @@ var ye, ss, qi = (ss = class extends Tr {
|
|
818
818
|
this.execute(this.state.variables);
|
819
819
|
}
|
820
820
|
async execute(t) {
|
821
|
-
var i, a, o, c, u, d, l, h, y, m, g, E, I, _,
|
821
|
+
var i, a, o, c, u, d, l, h, y, m, g, E, I, _, T, k, C, M, F, O;
|
822
822
|
const r = () => {
|
823
823
|
Q(this, pe, Ce).call(this, { type: "continue" });
|
824
824
|
};
|
@@ -877,8 +877,8 @@ var ye, ss, qi = (ss = class extends Tr {
|
|
877
877
|
t,
|
878
878
|
this.state.context,
|
879
879
|
this
|
880
|
-
)), await ((k = (
|
881
|
-
|
880
|
+
)), await ((k = (T = this.options).onError) == null ? void 0 : k.call(
|
881
|
+
T,
|
882
882
|
v,
|
883
883
|
t,
|
884
884
|
this.state.context
|
@@ -980,12 +980,12 @@ function Ji() {
|
|
980
980
|
submittedAt: 0
|
981
981
|
};
|
982
982
|
}
|
983
|
-
var Se, ue, Ft, as, zi = (as = class extends
|
983
|
+
var Se, ue, Ft, as, zi = (as = class extends Ar {
|
984
984
|
constructor(t = {}) {
|
985
985
|
super();
|
986
|
-
|
987
|
-
|
988
|
-
|
986
|
+
A(this, Se);
|
987
|
+
A(this, ue);
|
988
|
+
A(this, Ft);
|
989
989
|
this.config = t, w(this, Se, /* @__PURE__ */ new Set()), w(this, ue, /* @__PURE__ */ new Map()), w(this, Ft, 0);
|
990
990
|
}
|
991
991
|
build(t, r, n) {
|
@@ -1086,18 +1086,18 @@ function _n(e) {
|
|
1086
1086
|
let o = { pages: [], pageParams: [] }, c = 0;
|
1087
1087
|
const u = async () => {
|
1088
1088
|
let g = !1;
|
1089
|
-
const E = (
|
1090
|
-
Object.defineProperty(
|
1089
|
+
const E = (T) => {
|
1090
|
+
Object.defineProperty(T, "signal", {
|
1091
1091
|
enumerable: !0,
|
1092
1092
|
get: () => (t.signal.aborted ? g = !0 : t.signal.addEventListener("abort", () => {
|
1093
1093
|
g = !0;
|
1094
1094
|
}), t.signal)
|
1095
1095
|
});
|
1096
|
-
}, I = fs(t.options, t.fetchOptions), _ = async (
|
1096
|
+
}, I = fs(t.options, t.fetchOptions), _ = async (T, k, C) => {
|
1097
1097
|
if (g)
|
1098
1098
|
return Promise.reject();
|
1099
|
-
if (k == null &&
|
1100
|
-
return Promise.resolve(
|
1099
|
+
if (k == null && T.pages.length)
|
1100
|
+
return Promise.resolve(T);
|
1101
1101
|
const M = {
|
1102
1102
|
client: t.client,
|
1103
1103
|
queryKey: t.queryKey,
|
@@ -1110,24 +1110,24 @@ function _n(e) {
|
|
1110
1110
|
M
|
1111
1111
|
), { maxPages: O } = t.options, v = C ? Li : $i;
|
1112
1112
|
return {
|
1113
|
-
pages: v(
|
1114
|
-
pageParams: v(
|
1113
|
+
pages: v(T.pages, F, O),
|
1114
|
+
pageParams: v(T.pageParams, k, O)
|
1115
1115
|
};
|
1116
1116
|
};
|
1117
1117
|
if (s && i.length) {
|
1118
|
-
const
|
1118
|
+
const T = s === "backward", k = T ? Qi : Cn, C = {
|
1119
1119
|
pages: i,
|
1120
1120
|
pageParams: a
|
1121
1121
|
}, M = k(n, C);
|
1122
|
-
o = await _(C, M,
|
1122
|
+
o = await _(C, M, T);
|
1123
1123
|
} else {
|
1124
|
-
const
|
1124
|
+
const T = e ?? i.length;
|
1125
1125
|
do {
|
1126
1126
|
const k = c === 0 ? a[0] ?? n.initialPageParam : Cn(n, o);
|
1127
1127
|
if (c > 0 && k == null)
|
1128
1128
|
break;
|
1129
1129
|
o = await _(o, k), c++;
|
1130
|
-
} while (c <
|
1130
|
+
} while (c < T);
|
1131
1131
|
}
|
1132
1132
|
return o;
|
1133
1133
|
};
|
@@ -1163,14 +1163,14 @@ function Qi(e, { pages: t, pageParams: r }) {
|
|
1163
1163
|
}
|
1164
1164
|
var U, xe, De, lt, ut, $e, dt, ft, os, Yi = (os = class {
|
1165
1165
|
constructor(e = {}) {
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1166
|
+
A(this, U);
|
1167
|
+
A(this, xe);
|
1168
|
+
A(this, De);
|
1169
|
+
A(this, lt);
|
1170
|
+
A(this, ut);
|
1171
|
+
A(this, $e);
|
1172
|
+
A(this, dt);
|
1173
|
+
A(this, ft);
|
1174
1174
|
w(this, U, e.queryCache || new qi()), w(this, xe, e.mutationCache || new zi()), w(this, De, e.defaultOptions || {}), w(this, lt, /* @__PURE__ */ new Map()), w(this, ut, /* @__PURE__ */ new Map()), w(this, $e, 0);
|
1175
1175
|
}
|
1176
1176
|
mount() {
|
@@ -1204,7 +1204,7 @@ var U, xe, De, lt, ut, $e, dt, ft, os, Yi = (os = class {
|
|
1204
1204
|
}
|
1205
1205
|
ensureQueryData(e) {
|
1206
1206
|
const t = this.defaultQueryOptions(e), r = f(this, U).build(this, t), n = r.state.data;
|
1207
|
-
return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(
|
1207
|
+
return n === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && r.isStaleByTime(An(t.staleTime, r)) && this.prefetchQuery(t), Promise.resolve(n));
|
1208
1208
|
}
|
1209
1209
|
getQueriesData(e) {
|
1210
1210
|
return f(this, U).findAll(e).map(({ queryKey: t, state: r }) => {
|
@@ -1288,7 +1288,7 @@ var U, xe, De, lt, ut, $e, dt, ft, os, Yi = (os = class {
|
|
1288
1288
|
t.retry === void 0 && (t.retry = !1);
|
1289
1289
|
const r = f(this, U).build(this, t);
|
1290
1290
|
return r.isStaleByTime(
|
1291
|
-
|
1291
|
+
An(t.staleTime, r)
|
1292
1292
|
) ? r.fetch(t) : Promise.resolve(r.state.data);
|
1293
1293
|
}
|
1294
1294
|
prefetchQuery(e) {
|
@@ -1411,7 +1411,7 @@ function ne(e, t) {
|
|
1411
1411
|
observerSlots: null,
|
1412
1412
|
comparator: t.equals || void 0
|
1413
1413
|
}, n = (s) => (typeof s == "function" && (s = s(r.value)), Is(r, s));
|
1414
|
-
return [
|
1414
|
+
return [As.bind(r), n];
|
1415
1415
|
}
|
1416
1416
|
function ta(e, t, r) {
|
1417
1417
|
const n = Rr(e, t, !0, Re);
|
@@ -1429,7 +1429,7 @@ function Ss(e, t, r) {
|
|
1429
1429
|
function W(e, t, r) {
|
1430
1430
|
r = r ? Object.assign({}, mr, r) : mr;
|
1431
1431
|
const n = Rr(e, t, !0, 0);
|
1432
|
-
return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, St(n),
|
1432
|
+
return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, St(n), As.bind(n);
|
1433
1433
|
}
|
1434
1434
|
function ra(e) {
|
1435
1435
|
return e && typeof e == "object" && "then" in e;
|
@@ -1440,7 +1440,7 @@ function na(e, t, r) {
|
|
1440
1440
|
let a = null, o = $r, c = !1, u = "initialValue" in i, d = typeof n == "function" && W(n);
|
1441
1441
|
const l = /* @__PURE__ */ new Set(), [h, y] = (i.storage || ne)(i.initialValue), [m, g] = ne(void 0), [E, I] = ne(void 0, {
|
1442
1442
|
equals: !1
|
1443
|
-
}), [_,
|
1443
|
+
}), [_, T] = ne(u ? "ready" : "unresolved");
|
1444
1444
|
function k(O, v, R, $) {
|
1445
1445
|
return a === O && (a = null, $ !== void 0 && (u = !0), (O === o || v === o) && i.onHydrated && queueMicrotask(
|
1446
1446
|
() => i.onHydrated($, {
|
@@ -1450,7 +1450,7 @@ function na(e, t, r) {
|
|
1450
1450
|
}
|
1451
1451
|
function C(O, v) {
|
1452
1452
|
be(() => {
|
1453
|
-
v === void 0 && y(() => O),
|
1453
|
+
v === void 0 && y(() => O), T(v !== void 0 ? "errored" : u ? "ready" : "unresolved"), g(v);
|
1454
1454
|
for (const R of l.keys()) R.decrement();
|
1455
1455
|
l.clear();
|
1456
1456
|
}, !1);
|
@@ -1475,7 +1475,7 @@ function na(e, t, r) {
|
|
1475
1475
|
})
|
1476
1476
|
);
|
1477
1477
|
return ra(R) ? (a = R, "value" in R ? (R.status === "success" ? k(a, R.value, void 0, v) : k(a, void 0, Yr(R.value), v), R) : (c = !0, queueMicrotask(() => c = !1), be(() => {
|
1478
|
-
|
1478
|
+
T(u ? "refreshing" : "pending"), I();
|
1479
1479
|
}, !1), R.then(
|
1480
1480
|
($) => k(R, $, void 0, v),
|
1481
1481
|
($) => k(R, void 0, Yr($), v)
|
@@ -1566,8 +1566,8 @@ function oa(e) {
|
|
1566
1566
|
return be(e, !1), L = P = null, n ? n.done : void 0;
|
1567
1567
|
});
|
1568
1568
|
}
|
1569
|
-
var [ca,
|
1570
|
-
function
|
1569
|
+
var [ca, Tu] = /* @__PURE__ */ ne(!1);
|
1570
|
+
function Au() {
|
1571
1571
|
return [ca, oa];
|
1572
1572
|
}
|
1573
1573
|
function Iu(e, t) {
|
@@ -1582,14 +1582,14 @@ function ku(e) {
|
|
1582
1582
|
let t;
|
1583
1583
|
return P && P.context && (t = P.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1584
1584
|
}
|
1585
|
-
function
|
1585
|
+
function Ts(e) {
|
1586
1586
|
const t = W(e), r = W(() => Xr(t()));
|
1587
1587
|
return r.toArray = () => {
|
1588
1588
|
const n = r();
|
1589
1589
|
return Array.isArray(n) ? n : n != null ? [n] : [];
|
1590
1590
|
}, r;
|
1591
1591
|
}
|
1592
|
-
function
|
1592
|
+
function As() {
|
1593
1593
|
if (this.sources && this.state)
|
1594
1594
|
if (this.state === Re) St(this);
|
1595
1595
|
else {
|
@@ -1761,7 +1761,7 @@ function fa(e, t) {
|
|
1761
1761
|
() => s = z(() => (P.context = {
|
1762
1762
|
...P.context,
|
1763
1763
|
[e]: n.value
|
1764
|
-
},
|
1764
|
+
}, Ts(() => n.children))),
|
1765
1765
|
void 0
|
1766
1766
|
), s;
|
1767
1767
|
};
|
@@ -1775,7 +1775,7 @@ function ha(e, t, r = {}) {
|
|
1775
1775
|
return Pt(() => wr(i)), () => {
|
1776
1776
|
let c = e() || [], u = c.length, d, l;
|
1777
1777
|
return z(() => {
|
1778
|
-
let y, m, g, E, I, _,
|
1778
|
+
let y, m, g, E, I, _, T, k, C;
|
1779
1779
|
if (u === 0)
|
1780
1780
|
a !== 0 && (wr(i), i = [], n = [], s = [], a = 0, o && (o = [])), r.fallback && (n = [Zr], s[0] = Je((M) => (i[0] = M, r.fallback())), a = 1);
|
1781
1781
|
else if (a === 0) {
|
@@ -1783,12 +1783,12 @@ function ha(e, t, r = {}) {
|
|
1783
1783
|
n[l] = c[l], s[l] = Je(h);
|
1784
1784
|
a = u;
|
1785
1785
|
} else {
|
1786
|
-
for (g = new Array(u), E = new Array(u), o && (I = new Array(u)), _ = 0,
|
1787
|
-
for (
|
1788
|
-
g[k] = s[
|
1786
|
+
for (g = new Array(u), E = new Array(u), o && (I = new Array(u)), _ = 0, T = Math.min(a, u); _ < T && n[_] === c[_]; _++) ;
|
1787
|
+
for (T = a - 1, k = u - 1; T >= _ && k >= _ && n[T] === c[k]; T--, k--)
|
1788
|
+
g[k] = s[T], E[k] = i[T], o && (I[k] = o[T]);
|
1789
1789
|
for (y = /* @__PURE__ */ new Map(), m = new Array(k + 1), l = k; l >= _; l--)
|
1790
1790
|
C = c[l], d = y.get(C), m[l] = d === void 0 ? -1 : d, y.set(C, l);
|
1791
|
-
for (d = _; d <=
|
1791
|
+
for (d = _; d <= T; d++)
|
1792
1792
|
C = n[d], l = y.get(C), l !== void 0 && l !== -1 ? (g[l] = s[d], E[l] = i[d], o && (I[l] = o[d]), l = m[l], y.set(C, l)) : i[d]();
|
1793
1793
|
for (l = _; l < u; l++)
|
1794
1794
|
l in g ? (s[l] = g[l], i[l] = E[l], o && (o[l] = I[l], o[l](l))) : s[l] = Je(h);
|
@@ -2020,7 +2020,7 @@ function Cu(e) {
|
|
2020
2020
|
);
|
2021
2021
|
}
|
2022
2022
|
function Nu(e) {
|
2023
|
-
const t =
|
2023
|
+
const t = Ts(() => e.children), r = W(() => {
|
2024
2024
|
const n = t(), s = Array.isArray(n) ? n : [n];
|
2025
2025
|
let i = () => {
|
2026
2026
|
};
|
@@ -2093,12 +2093,12 @@ var Ea = [
|
|
2093
2093
|
"noModule",
|
2094
2094
|
"playsInline",
|
2095
2095
|
...Ea
|
2096
|
-
]),
|
2096
|
+
]), Ta = /* @__PURE__ */ new Set([
|
2097
2097
|
"innerHTML",
|
2098
2098
|
"textContent",
|
2099
2099
|
"innerText",
|
2100
2100
|
"children"
|
2101
|
-
]),
|
2101
|
+
]), Aa = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
2102
2102
|
className: "class",
|
2103
2103
|
htmlFor: "for"
|
2104
2104
|
}), Ia = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
@@ -2408,11 +2408,11 @@ function Pn(e, t, r, n, s, i, a) {
|
|
2408
2408
|
tn(e, t.slice(5), r);
|
2409
2409
|
else if (t.slice(0, 5) === "bool:")
|
2410
2410
|
Da(e, t.slice(5), r);
|
2411
|
-
else if ((l = t.slice(0, 5) === "prop:") || (u =
|
2411
|
+
else if ((l = t.slice(0, 5) === "prop:") || (u = Ta.has(t)) || !s && ((d = ka(t, e.tagName)) || (c = Sa.has(t))) || (o = e.nodeName.includes("-") || "is" in a))
|
2412
2412
|
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? $a(e, r) : o && !c && !u ? e[Ba(t)] = r : e[d || t] = r;
|
2413
2413
|
else {
|
2414
2414
|
const h = s && t.indexOf(":") > -1 && _a[t.split(":")[0]];
|
2415
|
-
h ? xa(e, h, t, r) : tn(e,
|
2415
|
+
h ? xa(e, h, t, r) : tn(e, Aa[t] || t, r);
|
2416
2416
|
}
|
2417
2417
|
return r;
|
2418
2418
|
}
|
@@ -3110,12 +3110,12 @@ var Vu = (e, t = !1) => {
|
|
3110
3110
|
json: r
|
3111
3111
|
} = Eo(e);
|
3112
3112
|
return JSON.stringify(r, null, t ? 2 : void 0);
|
3113
|
-
}, Yt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, So = (e, t) => e.queryHash.localeCompare(t.queryHash), Gs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1,
|
3114
|
-
status:
|
3113
|
+
}, Yt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, So = (e, t) => e.queryHash.localeCompare(t.queryHash), Gs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, To = (e, t) => Yt(e) === Yt(t) ? Gs(e, t) : Yt(e) > Yt(t) ? 1 : -1, ju = {
|
3114
|
+
status: To,
|
3115
3115
|
"query hash": So,
|
3116
3116
|
"last updated": Gs
|
3117
|
-
}, Xt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, qs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1,
|
3118
|
-
status:
|
3117
|
+
}, Xt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, qs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Ao = (e, t) => Xt(e) === Xt(t) ? qs(e, t) : Xt(e) > Xt(t) ? 1 : -1, Gu = {
|
3118
|
+
status: Ao,
|
3119
3119
|
"last updated": qs
|
3120
3120
|
}, qu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), Wu = () => {
|
3121
3121
|
const [e, t] = ne("dark");
|
@@ -3193,19 +3193,19 @@ var Vu = (e, t = !1) => {
|
|
3193
3193
|
n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
|
3194
3194
|
}, ht, Bt, Vt, jt, We, Gt, yt, mt, pt, gt, bt, wt, qt, cs, ko = (cs = class {
|
3195
3195
|
constructor(e) {
|
3196
|
-
|
3197
|
-
|
3198
|
-
|
3199
|
-
|
3200
|
-
|
3201
|
-
|
3202
|
-
|
3203
|
-
|
3204
|
-
|
3205
|
-
|
3206
|
-
|
3207
|
-
|
3208
|
-
|
3196
|
+
A(this, ht);
|
3197
|
+
A(this, Bt);
|
3198
|
+
A(this, Vt);
|
3199
|
+
A(this, jt);
|
3200
|
+
A(this, We, !1);
|
3201
|
+
A(this, Gt);
|
3202
|
+
A(this, yt);
|
3203
|
+
A(this, mt);
|
3204
|
+
A(this, pt);
|
3205
|
+
A(this, gt);
|
3206
|
+
A(this, bt);
|
3207
|
+
A(this, wt);
|
3208
|
+
A(this, qt);
|
3209
3209
|
const {
|
3210
3210
|
client: t,
|
3211
3211
|
queryFlavor: r,
|
@@ -3241,7 +3241,7 @@ var Vu = (e, t = !1) => {
|
|
3241
3241
|
const t = Na(() => {
|
3242
3242
|
const r = this, [n] = f(this, mt), [s] = f(this, pt), [i] = f(this, gt), [a] = f(this, bt), [o] = f(this, ht);
|
3243
3243
|
let c;
|
3244
|
-
return f(this, wt) ? c = f(this, wt) : (c = wa(() => import("./2ZEF3XTO.
|
3244
|
+
return f(this, wt) ? c = f(this, wt) : (c = wa(() => import("./2ZEF3XTO.DQbHIga_.js")), w(this, wt, c)), Io(f(this, Gt), f(this, yt)), ma(c, ga({
|
3245
3245
|
get queryFlavor() {
|
3246
3246
|
return f(r, Vt);
|
3247
3247
|
},
|
@@ -3441,7 +3441,7 @@ K(zs, "code", "ERR_JWS_SIGNATURE_VERIFICATION_FAILED");
|
|
3441
3441
|
function ve(e, t = "algorithm.name") {
|
3442
3442
|
return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`);
|
3443
3443
|
}
|
3444
|
-
function
|
3444
|
+
function Tt(e, t) {
|
3445
3445
|
return e.name === t;
|
3446
3446
|
}
|
3447
3447
|
function Ur(e) {
|
@@ -3468,7 +3468,7 @@ function Lo(e, t, r) {
|
|
3468
3468
|
case "HS256":
|
3469
3469
|
case "HS384":
|
3470
3470
|
case "HS512": {
|
3471
|
-
if (!
|
3471
|
+
if (!Tt(e.algorithm, "HMAC"))
|
3472
3472
|
throw ve("HMAC");
|
3473
3473
|
const n = parseInt(t.slice(2), 10);
|
3474
3474
|
if (Ur(e.algorithm.hash) !== n)
|
@@ -3478,7 +3478,7 @@ function Lo(e, t, r) {
|
|
3478
3478
|
case "RS256":
|
3479
3479
|
case "RS384":
|
3480
3480
|
case "RS512": {
|
3481
|
-
if (!
|
3481
|
+
if (!Tt(e.algorithm, "RSASSA-PKCS1-v1_5"))
|
3482
3482
|
throw ve("RSASSA-PKCS1-v1_5");
|
3483
3483
|
const n = parseInt(t.slice(2), 10);
|
3484
3484
|
if (Ur(e.algorithm.hash) !== n)
|
@@ -3488,7 +3488,7 @@ function Lo(e, t, r) {
|
|
3488
3488
|
case "PS256":
|
3489
3489
|
case "PS384":
|
3490
3490
|
case "PS512": {
|
3491
|
-
if (!
|
3491
|
+
if (!Tt(e.algorithm, "RSA-PSS"))
|
3492
3492
|
throw ve("RSA-PSS");
|
3493
3493
|
const n = parseInt(t.slice(2), 10);
|
3494
3494
|
if (Ur(e.algorithm.hash) !== n)
|
@@ -3497,14 +3497,14 @@ function Lo(e, t, r) {
|
|
3497
3497
|
}
|
3498
3498
|
case "Ed25519":
|
3499
3499
|
case "EdDSA": {
|
3500
|
-
if (!
|
3500
|
+
if (!Tt(e.algorithm, "Ed25519"))
|
3501
3501
|
throw ve("Ed25519");
|
3502
3502
|
break;
|
3503
3503
|
}
|
3504
3504
|
case "ES256":
|
3505
3505
|
case "ES384":
|
3506
3506
|
case "ES512": {
|
3507
|
-
if (!
|
3507
|
+
if (!Tt(e.algorithm, "ECDSA"))
|
3508
3508
|
throw ve("ECDSA");
|
3509
3509
|
const n = Do(t);
|
3510
3510
|
if (e.algorithm.namedCurve !== n)
|
@@ -4259,7 +4259,7 @@ function Bn(e, t, r) {
|
|
4259
4259
|
const Vn = globalThis.crypto, Ec = (e) => `${Bn()}${Bn()}`.slice(0, e), Sc = (e) => btoa(
|
4260
4260
|
[...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
|
4261
4261
|
);
|
4262
|
-
async function
|
4262
|
+
async function Tc(e) {
|
4263
4263
|
if (!Vn.subtle)
|
4264
4264
|
throw new Error(
|
4265
4265
|
"crypto.subtle is available only in secure contexts (HTTPS)."
|
@@ -4267,8 +4267,8 @@ async function Ac(e) {
|
|
4267
4267
|
const t = new TextEncoder().encode(e), r = await Vn.subtle.digest("SHA-256", t);
|
4268
4268
|
return Sc(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
4269
4269
|
}
|
4270
|
-
async function
|
4271
|
-
const t = Ec(43), r = await
|
4270
|
+
async function Ac(e) {
|
4271
|
+
const t = Ec(43), r = await Tc(t);
|
4272
4272
|
return {
|
4273
4273
|
code_verifier: t,
|
4274
4274
|
code_challenge: r
|
@@ -4632,7 +4632,7 @@ function rr({
|
|
4632
4632
|
key: e,
|
4633
4633
|
initialValue: t
|
4634
4634
|
}) {
|
4635
|
-
const r = ki(Lc, () => Gn(e)), n =
|
4635
|
+
const r = ki(Lc, () => Gn(e)), n = Ae(
|
4636
4636
|
(a) => {
|
4637
4637
|
try {
|
4638
4638
|
const o = typeof a == "function" ? a(JSON.parse(r)) : a;
|
@@ -4642,9 +4642,9 @@ function rr({
|
|
4642
4642
|
}
|
4643
4643
|
},
|
4644
4644
|
[e, r]
|
4645
|
-
), s =
|
4645
|
+
), s = Ae(() => {
|
4646
4646
|
n(t);
|
4647
|
-
}, [t, n]), i =
|
4647
|
+
}, [t, n]), i = Ae(() => {
|
4648
4648
|
n(null);
|
4649
4649
|
}, [n]);
|
4650
4650
|
return de(() => {
|
@@ -4682,7 +4682,7 @@ function jr(e, t, r) {
|
|
4682
4682
|
throw new Error("Random bytes length must be >= 16");
|
4683
4683
|
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Mc(n);
|
4684
4684
|
}
|
4685
|
-
const Xe = "Your session has expired. For your security, please log in again to continue.", Fc = "Your session has been successfully terminated.", Gr = "Login failed. Please try again.", Bc = "Error getting access token, please re-authenticate.", Vc = "You forgot to wrap your component in <AuthProvider>.", nr = "@@auth@@",
|
4685
|
+
const Xe = "Your session has expired. For your security, please log in again to continue.", Fc = "Your session has been successfully terminated.", Gr = "Login failed. Please try again.", Bc = "Error getting access token, please re-authenticate.", Vc = "You forgot to wrap your component in <AuthProvider>.", nr = "@@auth@@", At = "LOADING", lr = "LOGIN", li = "LOGOUT", Wt = "success", we = "failure", ui = "include", di = "POST", fi = "application/json", sr = {
|
4686
4686
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
4687
4687
|
$clientId: String!,
|
4688
4688
|
$username: String!,
|
@@ -5062,7 +5062,7 @@ const tt = () => {
|
|
5062
5062
|
authenticationType: ""
|
5063
5063
|
}), Xc = () => ({
|
5064
5064
|
...hn(yi)
|
5065
|
-
}), Zc = (e) =>
|
5065
|
+
}), Zc = (e) => Ae(
|
5066
5066
|
(...t) => {
|
5067
5067
|
e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
|
5068
5068
|
},
|
@@ -5071,7 +5071,7 @@ const tt = () => {
|
|
5071
5071
|
state: hi,
|
5072
5072
|
dispatch: () => {
|
5073
5073
|
}
|
5074
|
-
}), tl = (e, t) => (t == null ? void 0 : t.type) ===
|
5074
|
+
}), tl = (e, t) => (t == null ? void 0 : t.type) === At ? {
|
5075
5075
|
...e,
|
5076
5076
|
isLoading: t.payload.isLoading
|
5077
5077
|
} : (t == null ? void 0 : t.type) === lr ? {
|
@@ -5110,9 +5110,9 @@ const tt = () => {
|
|
5110
5110
|
{
|
5111
5111
|
key: `${nr}::${r}::@@refresh@@`
|
5112
5112
|
}
|
5113
|
-
), [
|
5113
|
+
), [T, k, , C] = rr({
|
5114
5114
|
key: `${nr}::${r}::@@nonce@@`
|
5115
|
-
}), M = new Yc(y, E), F =
|
5115
|
+
}), M = new Yc(y, E), F = Ae(() => {
|
5116
5116
|
c("removeLocalStorage: removing local storage"), h(), g(), _(), C();
|
5117
5117
|
}, [
|
5118
5118
|
g,
|
@@ -5120,7 +5120,7 @@ const tt = () => {
|
|
5120
5120
|
C,
|
5121
5121
|
_,
|
5122
5122
|
c
|
5123
|
-
]), O =
|
5123
|
+
]), O = Ae(
|
5124
5124
|
(S) => {
|
5125
5125
|
c(
|
5126
5126
|
"removeStateAndLocalStorage: removing state and local storage with reason: ",
|
@@ -5130,10 +5130,10 @@ const tt = () => {
|
|
5130
5130
|
payload: {
|
5131
5131
|
logoutReason: S || Xe
|
5132
5132
|
}
|
5133
|
-
}), F(), o({ type:
|
5133
|
+
}), F(), o({ type: At, payload: { isLoading: !1 } });
|
5134
5134
|
},
|
5135
5135
|
[F, c]
|
5136
|
-
), v =
|
5136
|
+
), v = Ae(
|
5137
5137
|
async (S) => {
|
5138
5138
|
c("invalidateAndLogout: invalidating and logging out");
|
5139
5139
|
const { user: x } = a, N = (x == null ? void 0 : x.userId) || qc(d);
|
@@ -5178,15 +5178,15 @@ const tt = () => {
|
|
5178
5178
|
"useEffect: exception validating JWT, invalidating and logging out"
|
5179
5179
|
), await v(Xe);
|
5180
5180
|
}
|
5181
|
-
})() : (c("useEffect: setting the loading state to false"), o({ type:
|
5181
|
+
})() : (c("useEffect: setting the loading state to false"), o({ type: At, payload: { isLoading: !1 } })), () => {
|
5182
5182
|
u.current = !0;
|
5183
5183
|
};
|
5184
5184
|
}, [a.isLoading, d, v, c]);
|
5185
5185
|
const R = async (S, x) => {
|
5186
|
-
o({ type:
|
5186
|
+
o({ type: At, payload: { isLoading: !0 } }), F();
|
5187
5187
|
const N = jr();
|
5188
5188
|
k(N), c("login: Logging in with password");
|
5189
|
-
const { code_verifier: Oe, code_challenge: _e } = await
|
5189
|
+
const { code_verifier: Oe, code_challenge: _e } = await Ac(), Sn = await zc({
|
5190
5190
|
endpoint: i,
|
5191
5191
|
nonce: N,
|
5192
5192
|
clientId: r,
|
@@ -5236,7 +5236,7 @@ const tt = () => {
|
|
5236
5236
|
endpoint: i,
|
5237
5237
|
clientId: r,
|
5238
5238
|
userId: x.userId,
|
5239
|
-
nonce:
|
5239
|
+
nonce: T,
|
5240
5240
|
domain: n
|
5241
5241
|
});
|
5242
5242
|
return N.status && N.status === "success" && N.newAccessToken ? (m(N.newAccessToken), I(N.newRefreshToken), N.newAccessToken) : (c(
|
@@ -5297,7 +5297,7 @@ const tt = () => {
|
|
5297
5297
|
}
|
5298
5298
|
return !1;
|
5299
5299
|
}, He = async () => {
|
5300
|
-
o({ type:
|
5300
|
+
o({ type: At, payload: { isLoading: !0 } }), F();
|
5301
5301
|
const S = jr();
|
5302
5302
|
k(S), c("loginWithPasskey");
|
5303
5303
|
const x = jr();
|
@@ -5442,14 +5442,14 @@ const mi = () => {
|
|
5442
5442
|
e
|
5443
5443
|
);
|
5444
5444
|
});
|
5445
|
-
},
|
5445
|
+
}, Td = (e) => window.btoa(
|
5446
5446
|
encodeURIComponent(e).replace(
|
5447
5447
|
/%([0-9A-F]{2})/g,
|
5448
5448
|
function(r, n) {
|
5449
5449
|
return String.fromCharCode(+`0x${n}`);
|
5450
5450
|
}
|
5451
5451
|
)
|
5452
|
-
),
|
5452
|
+
), Ad = (e) => decodeURIComponent(
|
5453
5453
|
window.atob(e).split("").map(function(t) {
|
5454
5454
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
5455
5455
|
}).join("")
|
@@ -5882,10 +5882,10 @@ function vl() {
|
|
5882
5882
|
const e = J(!1);
|
5883
5883
|
return de(() => (e.current = !0, () => {
|
5884
5884
|
e.current = !1;
|
5885
|
-
}), []),
|
5885
|
+
}), []), Ae(() => e.current, []);
|
5886
5886
|
}
|
5887
5887
|
function El(e) {
|
5888
|
-
return
|
5888
|
+
return Tr(() => e.every((t) => t == null) ? () => {
|
5889
5889
|
} : (t) => {
|
5890
5890
|
e.forEach((r) => {
|
5891
5891
|
typeof r == "function" ? r(t) : r != null && (r.current = t);
|
@@ -5903,7 +5903,7 @@ const Sl = {
|
|
5903
5903
|
right: 0
|
5904
5904
|
};
|
5905
5905
|
function qr(e) {
|
5906
|
-
const t = vl(), r = J(0), n = J(null), [s, i] =
|
5906
|
+
const t = vl(), r = J(0), n = J(null), [s, i] = Te(Sl), a = Tr(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
5907
5907
|
const c = o[0];
|
5908
5908
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
5909
5909
|
n.current && t() && i(c.contentRect);
|
@@ -5920,14 +5920,14 @@ const ir = {
|
|
5920
5920
|
// w-8
|
5921
5921
|
large: 48
|
5922
5922
|
// w-12
|
5923
|
-
},
|
5923
|
+
}, Tl = {
|
5924
5924
|
small: 8 * 2,
|
5925
5925
|
// px-2 x 2
|
5926
5926
|
medium: 12 * 2,
|
5927
5927
|
// px-3 x 2
|
5928
5928
|
large: 16 * 2
|
5929
5929
|
// px-4 x 2
|
5930
|
-
},
|
5930
|
+
}, Al = 2, Il = 300, Er = ke.forwardRef(
|
5931
5931
|
({
|
5932
5932
|
children: e,
|
5933
5933
|
disabled: t = !1,
|
@@ -5948,7 +5948,7 @@ const ir = {
|
|
5948
5948
|
radius: E = "large",
|
5949
5949
|
variant: I = "primary",
|
5950
5950
|
iconClassName: _,
|
5951
|
-
animated:
|
5951
|
+
animated: T = !1,
|
5952
5952
|
...k
|
5953
5953
|
}, C) => {
|
5954
5954
|
const M = bi({
|
@@ -5967,12 +5967,12 @@ const ir = {
|
|
5967
5967
|
align: g,
|
5968
5968
|
radius: E,
|
5969
5969
|
variant: I,
|
5970
|
-
animated:
|
5971
|
-
}), F = gl({ mode: r, raw: o, iconClassName: _ }), O = bl({ animated:
|
5970
|
+
animated: T
|
5971
|
+
}), F = gl({ mode: r, raw: o, iconClassName: _ }), O = bl({ animated: T }), v = "flex items-center justify-center relative w-full h-full overflow-hidden", [R, $] = qr(), [H, re] = qr(), [se, He] = qr(), S = J(0), x = J(null), N = J(null), Oe = El([C, x]);
|
5972
5972
|
return fr(() => {
|
5973
|
-
se && se.current &&
|
5974
|
-
}, [He, se, l, c,
|
5975
|
-
if (x && x.current &&
|
5973
|
+
se && se.current && T && (S.current = He.width + Tl[l] + (c ? 0 : Al), x.current && !x.current.style.width && (x.current.style.width = `${ir[l]}px`));
|
5974
|
+
}, [He, se, l, c, T]), fr(() => {
|
5975
|
+
if (x && x.current && T) {
|
5976
5976
|
let _e = ir[l];
|
5977
5977
|
h && R && $.width > 0 ? _e = $.width + S.current : y && H && re.width > 0 && (_e = re.width + S.current), N.current && clearTimeout(N.current), _e !== parseInt(x.current.style.width || "0", 10) && (R.current && (R.current.style.opacity = "0"), H.current && (H.current.style.opacity = "0"), x.current.style.width = `${_e}px`, _e > ir[l] && (N.current = setTimeout(() => {
|
5978
5978
|
R.current && h && (R.current.style.opacity = "1"), H.current && y && (H.current.style.opacity = "1"), N.current = null;
|
@@ -5986,7 +5986,7 @@ const ir = {
|
|
5986
5986
|
y,
|
5987
5987
|
H,
|
5988
5988
|
l,
|
5989
|
-
|
5989
|
+
T
|
5990
5990
|
]), de(() => () => {
|
5991
5991
|
N.current && clearTimeout(N.current);
|
5992
5992
|
}, []), /* @__PURE__ */ p(
|
@@ -6006,7 +6006,7 @@ const ir = {
|
|
6006
6006
|
labelRef: H,
|
6007
6007
|
labelClass: O,
|
6008
6008
|
labelInnerClass: "pr-2",
|
6009
|
-
initiallyHidden:
|
6009
|
+
initiallyHidden: T
|
6010
6010
|
}
|
6011
6011
|
),
|
6012
6012
|
/* @__PURE__ */ p("span", { ref: se, className: F, children: e }),
|
@@ -6017,7 +6017,7 @@ const ir = {
|
|
6017
6017
|
labelRef: R,
|
6018
6018
|
labelClass: O,
|
6019
6019
|
labelInnerClass: "pl-2",
|
6020
|
-
initiallyHidden:
|
6020
|
+
initiallyHidden: T
|
6021
6021
|
}
|
6022
6022
|
)
|
6023
6023
|
] })
|
@@ -6562,7 +6562,7 @@ function Fl() {
|
|
6562
6562
|
const e = J(!1);
|
6563
6563
|
return de(() => (e.current = !0, () => {
|
6564
6564
|
e.current = !1;
|
6565
|
-
}), []),
|
6565
|
+
}), []), Ae(() => e.current, []);
|
6566
6566
|
}
|
6567
6567
|
const Bl = {
|
6568
6568
|
x: 0,
|
@@ -6575,7 +6575,7 @@ const Bl = {
|
|
6575
6575
|
right: 0
|
6576
6576
|
};
|
6577
6577
|
function Vl(e) {
|
6578
|
-
const t = Fl(), r = J(0), n = J(null), [s, i] =
|
6578
|
+
const t = Fl(), r = J(0), n = J(null), [s, i] = Te(Bl), a = Tr(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
6579
6579
|
const c = o[0];
|
6580
6580
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
6581
6581
|
n.current && t() && i(c.contentRect);
|
@@ -6666,7 +6666,7 @@ const Ei = "SET_ANNOUNCEMENT", Si = "CLEAR_ANNOUNCEMENT", Gl = {
|
|
6666
6666
|
dispatch: a
|
6667
6667
|
});
|
6668
6668
|
};
|
6669
|
-
function
|
6669
|
+
function Ti({
|
6670
6670
|
children: e,
|
6671
6671
|
className: t,
|
6672
6672
|
politeness: r,
|
@@ -6883,8 +6883,8 @@ const zl = ({
|
|
6883
6883
|
rightElementClassName: E,
|
6884
6884
|
size: I = "md",
|
6885
6885
|
..._
|
6886
|
-
},
|
6887
|
-
const [k, C] = Vl(), [M, F] =
|
6886
|
+
}, T) => {
|
6887
|
+
const [k, C] = Vl(), [M, F] = Te(0), O = jl({ id: e, prefix: `${vi}-` }), v = `${t} error, ${m}`, R = J(null), $ = J(null), H = {
|
6888
6888
|
xs: { label: "-25px", helperText: "30px" },
|
6889
6889
|
sm: { label: "-29px", helperText: "34px" },
|
6890
6890
|
md: { label: "-33px", helperText: "38px" },
|
@@ -6924,7 +6924,7 @@ const zl = ({
|
|
6924
6924
|
/* @__PURE__ */ p(
|
6925
6925
|
"input",
|
6926
6926
|
{
|
6927
|
-
ref:
|
6927
|
+
ref: T,
|
6928
6928
|
id: O,
|
6929
6929
|
name: t,
|
6930
6930
|
type: y,
|
@@ -6964,20 +6964,20 @@ const zl = ({
|
|
6964
6964
|
children: g
|
6965
6965
|
}
|
6966
6966
|
),
|
6967
|
-
n && m && /* @__PURE__ */ p(
|
6967
|
+
n && m && /* @__PURE__ */ p(Ti, { politeness: "polite", clearAnnouncementDelay: 500, children: v })
|
6968
6968
|
] });
|
6969
6969
|
}
|
6970
6970
|
);
|
6971
6971
|
En.displayName = "TextInput";
|
6972
6972
|
function tu(e) {
|
6973
|
-
return
|
6973
|
+
return Tr(() => e.every((t) => t == null) ? () => {
|
6974
6974
|
} : (t) => {
|
6975
6975
|
e.forEach((r) => {
|
6976
6976
|
typeof r == "function" ? r(t) : r != null && (r.current = t);
|
6977
6977
|
});
|
6978
6978
|
}, e);
|
6979
6979
|
}
|
6980
|
-
const ru = 500, nu = 5e3, su = 2e4,
|
6980
|
+
const ru = 500, nu = 5e3, su = 2e4, Ai = ke.forwardRef(
|
6981
6981
|
({
|
6982
6982
|
name: e,
|
6983
6983
|
disabled: t,
|
@@ -6991,10 +6991,10 @@ const ru = 500, nu = 5e3, su = 2e4, Ti = ke.forwardRef(
|
|
6991
6991
|
rightElement: u,
|
6992
6992
|
...d
|
6993
6993
|
}, l) => {
|
6994
|
-
const [h, y] =
|
6994
|
+
const [h, y] = Te(!0), [m, g] = Te({
|
6995
6995
|
message: null,
|
6996
6996
|
politeness: null
|
6997
|
-
}), E = J(!0), I = J(null), _ = J(null),
|
6997
|
+
}), E = J(!0), I = J(null), _ = J(null), T = tu([l, _]), k = h ? "Show" : "Hide", C = () => {
|
6998
6998
|
I.current && clearTimeout(I.current), E.current || (I.current = setTimeout(() => {
|
6999
6999
|
E.current = !0, y(!0), g({
|
7000
7000
|
announcementTimeout: nu,
|
@@ -7027,7 +7027,7 @@ const ru = 500, nu = 5e3, su = 2e4, Ti = ke.forwardRef(
|
|
7027
7027
|
/* @__PURE__ */ p(
|
7028
7028
|
En,
|
7029
7029
|
{
|
7030
|
-
ref:
|
7030
|
+
ref: T,
|
7031
7031
|
name: e,
|
7032
7032
|
label: r,
|
7033
7033
|
labelHidden: n,
|
@@ -7047,7 +7047,7 @@ const ru = 500, nu = 5e3, su = 2e4, Ti = ke.forwardRef(
|
|
7047
7047
|
}
|
7048
7048
|
),
|
7049
7049
|
/* @__PURE__ */ p(
|
7050
|
-
|
7050
|
+
Ti,
|
7051
7051
|
{
|
7052
7052
|
role: "status",
|
7053
7053
|
politeness: m.politeness,
|
@@ -7058,7 +7058,7 @@ const ru = 500, nu = 5e3, su = 2e4, Ti = ke.forwardRef(
|
|
7058
7058
|
] });
|
7059
7059
|
}
|
7060
7060
|
);
|
7061
|
-
|
7061
|
+
Ai.displayName = "TextInputMask";
|
7062
7062
|
/*!
|
7063
7063
|
@versini/ui-textinput v4.0.3
|
7064
7064
|
© 2025 gizmette.com
|
@@ -7072,19 +7072,19 @@ try {
|
|
7072
7072
|
});
|
7073
7073
|
} catch {
|
7074
7074
|
}
|
7075
|
-
const iu = "ASK! ME! ANYTHING!", Ii = "Callisto", au = "Log in", ou = "Sign in with a Passkey", Pd = "Log out", cu = "Password", xd = "Usage", Dd = "Profile", $d = "Settings", Ld = "Chat history", Md = "About", Ud = `Type your question here.
|
7076
|
-
Press Enter to send or Shift+Enter for new line.`,
|
7077
|
-
Press Ctrl+Enter to send or Enter for new line.`,
|
7075
|
+
const iu = "ASK! ME! ANYTHING!", Ii = "Callisto", au = "Log in", ou = "Sign in with a Passkey", Pd = "Log out", cu = "Password", xd = "Usage", Dd = "Profile", $d = "Settings", Ld = "Chat history", Md = "About", Ud = "Type your question here.", Kd = `Type your question here.
|
7076
|
+
Press Enter to send it or Shift+Enter for new line.`, Hd = `Type your question here.
|
7077
|
+
Press Ctrl+Enter to send it or Enter for new line.`, Fd = "{{clipboard}}", Bd = `Sometimes, ${Ii} hallucinates. Review important details.`, Vd = "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.", jd = "Default provider set to", Gd = "Chat successfully deleted!", qd = "Chat successfully saved!", Wd = "av-sassy", Jd = {
|
7078
7078
|
0: ["January", "February", "March"],
|
7079
7079
|
3: ["April", "May", "June"],
|
7080
7080
|
6: ["July", "August", "September"],
|
7081
7081
|
9: ["October", "November", "December"]
|
7082
|
-
},
|
7082
|
+
}, zd = {
|
7083
7083
|
0: ["Jan", "Feb", "Mar"],
|
7084
7084
|
3: ["Apr", "May", "Jun"],
|
7085
7085
|
6: ["Jul", "Aug", "Sep"],
|
7086
7086
|
9: ["Oct", "Nov", "Dec"]
|
7087
|
-
},
|
7087
|
+
}, Qd = {
|
7088
7088
|
PREFERENCES: {
|
7089
7089
|
TITLE: "User profile",
|
7090
7090
|
NAME: "Name",
|
@@ -7137,7 +7137,7 @@ Press Ctrl+Enter to send or Enter for new line.`, Hd = "{{clipboard}}", Fd = `So
|
|
7137
7137
|
]
|
7138
7138
|
}
|
7139
7139
|
), uu = () => {
|
7140
|
-
const { login: e, logoutReason: t, loginWithPasskey: r } = mi(), [n, s] =
|
7140
|
+
const { login: e, logoutReason: t, loginWithPasskey: r } = mi(), [n, s] = Te(""), [i, a] = Te(""), [o, c] = Te(!0), [u, d] = Te({
|
7141
7141
|
username: "",
|
7142
7142
|
password: ""
|
7143
7143
|
}), l = async (h) => {
|
@@ -7193,7 +7193,7 @@ Press Ctrl+Enter to send or Enter for new line.`, Hd = "{{clipboard}}", Fd = `So
|
|
7193
7193
|
}
|
7194
7194
|
) }),
|
7195
7195
|
/* @__PURE__ */ p(Fe, { span: 12, children: /* @__PURE__ */ p(
|
7196
|
-
|
7196
|
+
Ai,
|
7197
7197
|
{
|
7198
7198
|
className: "mt-7",
|
7199
7199
|
required: !0,
|
@@ -7258,7 +7258,7 @@ Press Ctrl+Enter to send or Enter for new line.`, Hd = "{{clipboard}}", Fd = `So
|
|
7258
7258
|
) });
|
7259
7259
|
}, du = new URL(document.location.href).searchParams, Xn = !!du.get("debug") || !1, fu = Oi(() => import(
|
7260
7260
|
/* webpackChunkName: "LazyApp" */
|
7261
|
-
"./App.
|
7261
|
+
"./App.DjKBpaWe.js"
|
7262
7262
|
).then((e) => e.App)), hu = new Yi(), Zn = ({
|
7263
7263
|
isComponent: e,
|
7264
7264
|
headerHeight: t
|
@@ -7281,7 +7281,7 @@ Press Ctrl+Enter to send or Enter for new line.`, Hd = "{{clipboard}}", Fd = `So
|
|
7281
7281
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
7282
7282
|
children: /* @__PURE__ */ p(Zn, { isComponent: e, headerHeight: t })
|
7283
7283
|
}
|
7284
|
-
) : /* @__PURE__ */ p(Wn, { clientId: Jn, domain: r, debug: Xn, children: /* @__PURE__ */ p(Zn, { isComponent: e, headerHeight: t }) }),
|
7284
|
+
) : /* @__PURE__ */ p(Wn, { clientId: Jn, domain: r, debug: Xn, children: /* @__PURE__ */ p(Zn, { isComponent: e, headerHeight: t }) }), Yd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ p(
|
7285
7285
|
yu,
|
7286
7286
|
{
|
7287
7287
|
isComponent: !0,
|
@@ -7295,22 +7295,23 @@ export {
|
|
7295
7295
|
sd as ACTION_SEARCH,
|
7296
7296
|
id as ACTION_SORT,
|
7297
7297
|
ad as ACTION_TOGGLE_PROMPT,
|
7298
|
-
|
7298
|
+
Wd as APP_CLASSNAME,
|
7299
7299
|
Ii as APP_NAME,
|
7300
7300
|
wi as C,
|
7301
|
-
|
7302
|
-
|
7301
|
+
Qd as CARDS,
|
7302
|
+
Fd as CLIPBOARD_PROMPT,
|
7303
7303
|
bd as DEFAULT_ICON_ACTION_SIZE,
|
7304
7304
|
Lu as Dynamic,
|
7305
7305
|
nd as ERROR_MESSAGE,
|
7306
|
-
|
7306
|
+
Bd as FOOTER_DISCLAIMER,
|
7307
7307
|
Ou as For,
|
7308
7308
|
Ld as HISTORY_TITLE,
|
7309
7309
|
Pr as I,
|
7310
7310
|
md as INFINITE_SCROLL_LIMIT,
|
7311
7311
|
yd as INFINITE_SCROLL_THRESHOLD,
|
7312
|
-
|
7313
|
-
|
7312
|
+
Hd as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
|
7313
|
+
Kd as INPUT_PLACEHOLDER_TEXT_ENTER,
|
7314
|
+
Ud as INPUT_PLACEHOLDER_TEXT_MOBILE,
|
7314
7315
|
_u as Index,
|
7315
7316
|
Ul as L,
|
7316
7317
|
ld as LOCAL_STORAGE_CHAT_DETAILS,
|
@@ -7323,22 +7324,22 @@ export {
|
|
7323
7324
|
lu as Logo,
|
7324
7325
|
Pu as Match,
|
7325
7326
|
Dd as PROFILE_TITLE,
|
7326
|
-
|
7327
|
+
Vd as PROMPTS_DESCRIPTION,
|
7327
7328
|
pd as PROMPT_CLASSNAME,
|
7328
7329
|
gd as PROMPT_EDITABLE_AREA_CLASSNAME,
|
7329
7330
|
$u as Portal,
|
7330
7331
|
rd as ROLE_INTERNAL,
|
7331
7332
|
Cl as S,
|
7332
7333
|
$d as SETTINGS_TITLE,
|
7333
|
-
|
7334
|
+
Yd as SassySaint,
|
7334
7335
|
Cu as Show,
|
7335
|
-
|
7336
|
+
Ar as Subscribable,
|
7336
7337
|
Nu as Switch,
|
7337
|
-
|
7338
|
-
|
7339
|
-
|
7340
|
-
|
7341
|
-
|
7338
|
+
Gd as TOAST_CHAT_DELETED,
|
7339
|
+
qd as TOAST_CHAT_SAVED,
|
7340
|
+
jd as TOAST_PROVIDER_CHANGED,
|
7341
|
+
Jd as TRIMESTERS,
|
7342
|
+
zd as TRIMESTERS_SHORT,
|
7342
7343
|
vd as UI_BUTTON_SCROLL_BUFFER,
|
7343
7344
|
Ed as UI_DEFAULT_MAIN_HEIGHT,
|
7344
7345
|
wd as UI_FOOTER_BUFFER,
|
@@ -7389,7 +7390,7 @@ export {
|
|
7389
7390
|
ce as noop,
|
7390
7391
|
ee as notifyManager,
|
7391
7392
|
kd as numberFormatter,
|
7392
|
-
|
7393
|
+
Td as obfuscate,
|
7393
7394
|
Su as on,
|
7394
7395
|
Pt as onCleanup,
|
7395
7396
|
sa as onMount,
|
@@ -7399,7 +7400,7 @@ export {
|
|
7399
7400
|
Id as renderDataAsList,
|
7400
7401
|
Di as replaceData,
|
7401
7402
|
Pi as resolveEnabled,
|
7402
|
-
|
7403
|
+
An as resolveStaleTime,
|
7403
7404
|
Eo as serialize,
|
7404
7405
|
tn as setAttribute,
|
7405
7406
|
wu as shallowEqualObjects,
|
@@ -7411,11 +7412,11 @@ export {
|
|
7411
7412
|
xu as template,
|
7412
7413
|
Ni as timeUntilStale,
|
7413
7414
|
Nd as toastOptions,
|
7414
|
-
|
7415
|
+
Ad as unObfuscate,
|
7415
7416
|
z as untrack,
|
7416
7417
|
Zt as updateNestedDataByPath,
|
7417
7418
|
Ha as use,
|
7418
7419
|
ku as useContext,
|
7419
7420
|
Xi as useQueryClient,
|
7420
|
-
|
7421
|
+
Au as useTransition
|
7421
7422
|
};
|