@versini/sassysaint 6.4.2 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{App.BNj5_p2P.js → App.BBj6mtsk.js} +1380 -1283
- package/dist/chunks/{MarkdownWithExtra.BUqQb6yQ.js → MarkdownWithExtra.DKFJBJZg.js} +2 -2
- package/dist/chunks/{MessageAssistant.CQg-4XR4.js → MessageAssistant.DImrQoWb.js} +3 -3
- package/dist/chunks/{index.DCvn98ot.js → index.DLuWGDQG.js} +58 -62
- package/dist/chunks/{index.HM1QCCV9.js → index.wt2DggdA.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as Ve, jsxs as P0, Fragment as ka } from "react/jsx-runtime";
|
|
2
|
-
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.
|
|
3
|
-
import { te as Is, L as Ds, j as Ls } from "./index.
|
|
2
|
+
import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.DImrQoWb.js";
|
|
3
|
+
import { te as Is, L as Ds, j as Ls } from "./index.wt2DggdA.js";
|
|
4
4
|
import zs, { useState as Bs, useEffect as Fs } from "react";
|
|
5
5
|
import Ps from "clsx";
|
|
6
6
|
const Ta = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as en, jsx as re, Fragment as nr } from "react/jsx-runtime";
|
|
2
|
-
import { AppContext as di, E as yi, Ee as ct } from "./App.
|
|
2
|
+
import { AppContext as di, E as yi, Ee as ct } from "./App.BBj6mtsk.js";
|
|
3
3
|
import hn from "clsx";
|
|
4
4
|
import { lazy as ki, useContext as xi, Suspense as bi } from "react";
|
|
5
|
-
import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
5
|
+
import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.wt2DggdA.js";
|
|
6
6
|
function tr(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
@@ -8653,7 +8653,7 @@ function Qc(e) {
|
|
|
8653
8653
|
const Yc = ki(
|
|
8654
8654
|
() => import(
|
|
8655
8655
|
/* webpackChunkName: "LazyMarkdownWithExtra" */
|
|
8656
|
-
"./MarkdownWithExtra.
|
|
8656
|
+
"./MarkdownWithExtra.DKFJBJZg.js"
|
|
8657
8657
|
)
|
|
8658
8658
|
), Ln = {
|
|
8659
8659
|
MODEL: "Model",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as O } from "react/jsx-runtime";
|
|
2
|
-
import { f as V, un as
|
|
3
|
-
import { i as me, useServerCapabilities as ft, Ye as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Pe, Ue as pt, Pe as gt, Fe as ge, Me as M, De as yt, We as bt, p as xt, z as kt, je as Ct, serviceCall as se, SERVICE_TYPES as le, B as te, AppContext as Oe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as
|
|
4
|
-
import At, { useRef as v, useState as C, useContext as he, useCallback as Be, useEffect as
|
|
2
|
+
import { f as V, un as $, R as z, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as we, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Je, te as oe, ACTION_RESET as Ze, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as P, l as Ie, durationFormatter as st, PROFILE_TITLE as lt, PROMPTS_DESCRIPTION as ct, DEFAULT_AI_ENGINE as it, LOCAL_STORAGE_CHAT_DETAILS as dt, SETTINGS_TITLE as ut, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as mt, getCurrentGeoLocation as ht, LOG_OUT as _e } from "./index.wt2DggdA.js";
|
|
3
|
+
import { i as me, useServerCapabilities as ft, Ye as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Pe, Ue as pt, Pe as gt, Fe as ge, Me as M, De as yt, We as bt, p as xt, z as kt, je as Ct, serviceCall as se, SERVICE_TYPES as le, B as te, AppContext as Oe, useChatsHistory as Et, useUserChatStats as Tt, useUserPreferences as ze, m as Nt, _e as St, me as wt, R as re, P as vt } from "./App.BBj6mtsk.js";
|
|
4
|
+
import At, { useRef as v, useState as C, useContext as he, useCallback as Be, useEffect as F, Fragment as It, useLayoutEffect as ne, useMemo as He, useId as _t, useReducer as Rt } from "react";
|
|
5
5
|
import y from "clsx";
|
|
6
6
|
const Lt = ({
|
|
7
7
|
className: t,
|
|
@@ -202,8 +202,8 @@ const Lt = ({
|
|
|
202
202
|
/* @__PURE__ */ e("path", { d: "M128 416a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0m80-160a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0M192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64m0-112a80 80 0 1 0 0 160 80 80 0 1 0 0-160" })
|
|
203
203
|
]
|
|
204
204
|
}
|
|
205
|
-
),
|
|
206
|
-
const { getAccessToken: t } =
|
|
205
|
+
), Vt = () => {
|
|
206
|
+
const { getAccessToken: t } = $(), a = me(), o = me(), {
|
|
207
207
|
data: n,
|
|
208
208
|
error: r,
|
|
209
209
|
isLoading: c
|
|
@@ -217,8 +217,8 @@ const Lt = ({
|
|
|
217
217
|
header: N.ABOUT.TITLE_CLIENT,
|
|
218
218
|
className: "prose-dark dark:prose-lighter",
|
|
219
219
|
children: de(a, {
|
|
220
|
-
[N.ABOUT.VERSION]: "6.
|
|
221
|
-
[N.ABOUT.BUILD_TIMESTAMP]: "01/
|
|
220
|
+
[N.ABOUT.VERSION]: "6.5.0",
|
|
221
|
+
[N.ABOUT.BUILD_TIMESTAMP]: "01/29/2025 11:43 AM EST"
|
|
222
222
|
})
|
|
223
223
|
}
|
|
224
224
|
) }),
|
|
@@ -235,10 +235,10 @@ const Lt = ({
|
|
|
235
235
|
}
|
|
236
236
|
)
|
|
237
237
|
] });
|
|
238
|
-
},
|
|
238
|
+
}, $t = ({
|
|
239
239
|
open: t,
|
|
240
240
|
onOpenChange: a
|
|
241
|
-
}) => /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: Qe, children: /* @__PURE__ */ e(
|
|
241
|
+
}) => /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: Qe, children: /* @__PURE__ */ e(Vt, {}) }), Ft = async (t, a, o, n) => {
|
|
242
242
|
try {
|
|
243
243
|
const r = await se({
|
|
244
244
|
accessToken: n,
|
|
@@ -267,12 +267,12 @@ const Lt = ({
|
|
|
267
267
|
mutate: n
|
|
268
268
|
}) => {
|
|
269
269
|
var I;
|
|
270
|
-
const { user: r, getAccessToken: c } =
|
|
270
|
+
const { user: r, getAccessToken: c } = $(), s = v(null), d = v({
|
|
271
271
|
id: 0,
|
|
272
272
|
timestamp: "",
|
|
273
273
|
message: ""
|
|
274
274
|
}), [m, f] = C(!1), [p, b] = C(
|
|
275
|
-
|
|
275
|
+
we + ve
|
|
276
276
|
), { state: x, dispatch: l } = he(Me), [, h] = Ce({
|
|
277
277
|
key: ke + Je,
|
|
278
278
|
initialValue: x.sortDirection
|
|
@@ -311,9 +311,9 @@ const Lt = ({
|
|
|
311
311
|
} catch {
|
|
312
312
|
}
|
|
313
313
|
}, g = Be((u) => {
|
|
314
|
-
u[0].isIntersecting && b((R) => R +
|
|
314
|
+
u[0].isIntersecting && b((R) => R + we);
|
|
315
315
|
}, []);
|
|
316
|
-
return
|
|
316
|
+
return F(() => {
|
|
317
317
|
const u = {
|
|
318
318
|
// root: null,
|
|
319
319
|
rootMargin: "20px"
|
|
@@ -370,9 +370,9 @@ const Lt = ({
|
|
|
370
370
|
/* @__PURE__ */ e(M, { className: "text-xs sm:text-sm text-right", children: "Actions" })
|
|
371
371
|
] }) }),
|
|
372
372
|
/* @__PURE__ */ e(bt, { children: t.slice(0, p).map((u, w) => {
|
|
373
|
-
var
|
|
374
|
-
const R = u.summary || (u.messages.length > 0 ? (
|
|
375
|
-
return ((
|
|
373
|
+
var B, H;
|
|
374
|
+
const R = u.summary || (u.messages.length > 0 ? (B = u.messages[0]) == null ? void 0 : B.content : "");
|
|
375
|
+
return ((H = u == null ? void 0 : u.messages) == null ? void 0 : H.length) > 0 ? /* @__PURE__ */ i(It, { children: [
|
|
376
376
|
w === p - ve && /* @__PURE__ */ e("tr", { ref: s }),
|
|
377
377
|
/* @__PURE__ */ i(ge, { children: [
|
|
378
378
|
/* @__PURE__ */ e(M, { children: w + 1 }),
|
|
@@ -459,7 +459,7 @@ const Lt = ({
|
|
|
459
459
|
open: t,
|
|
460
460
|
onOpenChange: a
|
|
461
461
|
}) => {
|
|
462
|
-
const { getAccessToken: o, user: n } =
|
|
462
|
+
const { getAccessToken: o, user: n } = $(), { state: r, dispatch: c } = he(Oe), { state: s, dispatch: d } = he(Me), { data: m, mutate: f } = Et({
|
|
463
463
|
keys: [
|
|
464
464
|
n == null ? void 0 : n.username,
|
|
465
465
|
s.searchString,
|
|
@@ -471,7 +471,7 @@ const Lt = ({
|
|
|
471
471
|
key: ke + tt,
|
|
472
472
|
initialValue: s.searchString
|
|
473
473
|
}), [x, l] = C([]);
|
|
474
|
-
|
|
474
|
+
F(() => {
|
|
475
475
|
m && l(m);
|
|
476
476
|
}, [m]);
|
|
477
477
|
const h = async (g) => {
|
|
@@ -530,7 +530,7 @@ const Lt = ({
|
|
|
530
530
|
) })
|
|
531
531
|
] }) });
|
|
532
532
|
}, Yt = ({ stats: t }) => {
|
|
533
|
-
const { isAuthenticated: a, user: o, registeringForPasskey: n, authenticationType: r } =
|
|
533
|
+
const { isAuthenticated: a, user: o, registeringForPasskey: n, authenticationType: r } = $(), c = me(), s = me(), d = (o == null ? void 0 : o.username) || "";
|
|
534
534
|
return a && d ? /* @__PURE__ */ i(O, { children: [
|
|
535
535
|
/* @__PURE__ */ e(
|
|
536
536
|
z,
|
|
@@ -584,7 +584,7 @@ const Lt = ({
|
|
|
584
584
|
open: t,
|
|
585
585
|
onOpenChange: a
|
|
586
586
|
}) => {
|
|
587
|
-
const { getAccessToken: o, user: n } =
|
|
587
|
+
const { getAccessToken: o, user: n } = $(), {
|
|
588
588
|
data: r,
|
|
589
589
|
error: c,
|
|
590
590
|
isLoading: s
|
|
@@ -610,7 +610,7 @@ try {
|
|
|
610
610
|
const De = "av-text-area", Kt = "av-text-area-wrapper", ye = "av-text-area-helper-text", Wt = "av-text-area__control--right", Xt = "av-text-area__control--left";
|
|
611
611
|
function qt() {
|
|
612
612
|
const t = v(!1);
|
|
613
|
-
return
|
|
613
|
+
return F(() => (t.current = !0, () => {
|
|
614
614
|
t.current = !1;
|
|
615
615
|
}), []), Be(() => t.current, []);
|
|
616
616
|
}
|
|
@@ -639,7 +639,7 @@ function Re(t) {
|
|
|
639
639
|
n.current && a() && c(m.contentRect);
|
|
640
640
|
}));
|
|
641
641
|
}), [a]);
|
|
642
|
-
return
|
|
642
|
+
return F(() => (n.current && (s == null || s.observe(n.current, t)), () => {
|
|
643
643
|
s == null || s.disconnect(), o.current && cancelAnimationFrame(o.current);
|
|
644
644
|
}), [s, t]), [n, r];
|
|
645
645
|
}
|
|
@@ -656,7 +656,7 @@ function Zt({
|
|
|
656
656
|
), f = (p) => {
|
|
657
657
|
m(p), n == null || n(p);
|
|
658
658
|
};
|
|
659
|
-
return
|
|
659
|
+
return F(() => {
|
|
660
660
|
(async () => t !== void 0 && !c && r > 0 && (await new Promise(
|
|
661
661
|
(p) => setTimeout(p, r)
|
|
662
662
|
), s(!0)))();
|
|
@@ -673,7 +673,7 @@ function er(t) {
|
|
|
673
673
|
return typeof o == "number" || typeof o == "string" ? `${n}${o}` : `${n}${a}`;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
const
|
|
676
|
+
const Ve = "SET_ANNOUNCEMENT", $e = "CLEAR_ANNOUNCEMENT", tr = {
|
|
677
677
|
alert: null,
|
|
678
678
|
alertdialog: null,
|
|
679
679
|
log: "polite",
|
|
@@ -683,12 +683,12 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
683
683
|
timer: "assertive"
|
|
684
684
|
}, rr = (t, a) => {
|
|
685
685
|
switch (a == null ? void 0 : a.type) {
|
|
686
|
-
case
|
|
686
|
+
case Ve:
|
|
687
687
|
return {
|
|
688
688
|
...t,
|
|
689
689
|
announcement: a.payload
|
|
690
690
|
};
|
|
691
|
-
case
|
|
691
|
+
case $e:
|
|
692
692
|
return {
|
|
693
693
|
...t,
|
|
694
694
|
announcement: null
|
|
@@ -701,7 +701,7 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
701
701
|
dispatch: a
|
|
702
702
|
}) => {
|
|
703
703
|
a({
|
|
704
|
-
type:
|
|
704
|
+
type: $e
|
|
705
705
|
}), typeof t == "function" && t();
|
|
706
706
|
}, Le = ({
|
|
707
707
|
children: t,
|
|
@@ -711,7 +711,7 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
711
711
|
dispatch: r
|
|
712
712
|
}) => {
|
|
713
713
|
clearTimeout(o.current), t !== null && r({
|
|
714
|
-
type:
|
|
714
|
+
type: Ve,
|
|
715
715
|
payload: t
|
|
716
716
|
}), a && (o.current = setTimeout(
|
|
717
717
|
() => nr({
|
|
@@ -758,7 +758,7 @@ function or({
|
|
|
758
758
|
announcement: null
|
|
759
759
|
});
|
|
760
760
|
let l = o;
|
|
761
|
-
typeof l > "u" && (l = n ? tr[n] : "assertive"),
|
|
761
|
+
typeof l > "u" && (l = n ? tr[n] : "assertive"), F(() => {
|
|
762
762
|
ar({
|
|
763
763
|
announcementTimeoutRef: f,
|
|
764
764
|
announcementDelay: r,
|
|
@@ -978,9 +978,9 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
978
978
|
onFocus: u,
|
|
979
979
|
onBlur: w,
|
|
980
980
|
...R
|
|
981
|
-
},
|
|
982
|
-
var
|
|
983
|
-
const S = v(null), ie = Qt([
|
|
981
|
+
}, B) => {
|
|
982
|
+
var H;
|
|
983
|
+
const S = v(null), ie = Qt([B, S]), [k, _] = Re(), [Q, G] = Re(), K = v(80), U = v(-25), L = v(null), J = v(30), Z = v(null), Y = er({ id: t, prefix: `${De}-` }), [Ee, Fe] = C(0), [Te, Ge] = C(0), [Ue, Ne] = C(
|
|
984
984
|
!!(!T && h)
|
|
985
985
|
), Ye = `${a} error, ${h}`, j = mr({
|
|
986
986
|
className: c,
|
|
@@ -993,7 +993,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
993
993
|
mode: d,
|
|
994
994
|
rightElement: !!E,
|
|
995
995
|
leftElement: !!g
|
|
996
|
-
}), [
|
|
996
|
+
}), [D, je] = Zt({
|
|
997
997
|
value: f,
|
|
998
998
|
initialControlledDelay: 20,
|
|
999
999
|
defaultValue: p,
|
|
@@ -1009,25 +1009,25 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1009
1009
|
}, We = (A) => {
|
|
1010
1010
|
T && h && Ne(!0), u && u(A);
|
|
1011
1011
|
}, Xe = (A) => {
|
|
1012
|
-
T && h &&
|
|
1012
|
+
T && h && !D && Ne(!1), w && w(A);
|
|
1013
1013
|
};
|
|
1014
1014
|
return ne(() => {
|
|
1015
1015
|
_ && _.width && Fe(_.width + 18 + 10);
|
|
1016
1016
|
}, [_]), ne(() => {
|
|
1017
1017
|
G && G.width && Ge(G.width + 18 + 10);
|
|
1018
1018
|
}, [G]), ne(() => {
|
|
1019
|
-
r || S && S.current &&
|
|
1020
|
-
}, [
|
|
1019
|
+
r || S && S.current && D !== void 0 && (S.current.style.height = "inherit", S.current.style.height = S.current.scrollHeight + "px");
|
|
1020
|
+
}, [D, r]), ne(() => {
|
|
1021
1021
|
r || setTimeout(() => {
|
|
1022
1022
|
var A;
|
|
1023
1023
|
(A = L == null ? void 0 : L.current) == null || A.style.setProperty(
|
|
1024
1024
|
"--av-text-area-wrapper-transition",
|
|
1025
|
-
|
|
1025
|
+
D ? "none" : "all 0.2s ease-out"
|
|
1026
1026
|
);
|
|
1027
1027
|
}, 0);
|
|
1028
|
-
}, [
|
|
1029
|
-
var A,
|
|
1030
|
-
if (!r && S && S.current &&
|
|
1028
|
+
}, [D, r]), ne(() => {
|
|
1029
|
+
var A, Se;
|
|
1030
|
+
if (!r && S && S.current && D !== void 0) {
|
|
1031
1031
|
const { labelOffset: fe, helperTextOffset: pe, scrollHeight: qe } = hr({
|
|
1032
1032
|
scrollHeight: S.current.scrollHeight,
|
|
1033
1033
|
currentHeight: K.current,
|
|
@@ -1037,12 +1037,12 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1037
1037
|
fe && (U.current = fe, (A = L == null ? void 0 : L.current) == null || A.style.setProperty(
|
|
1038
1038
|
"--av-text-area-label",
|
|
1039
1039
|
`${fe}px`
|
|
1040
|
-
)), pe && (J.current = pe, (
|
|
1040
|
+
)), pe && (J.current = pe, (Se = Z == null ? void 0 : Z.current) == null || Se.style.setProperty(
|
|
1041
1041
|
"--av-text-area-helper-text",
|
|
1042
1042
|
`${pe}px`
|
|
1043
1043
|
)), K.current = qe || K.current;
|
|
1044
1044
|
}
|
|
1045
|
-
}, [
|
|
1045
|
+
}, [D, r]), G.width > 0 && ((H = L == null ? void 0 : L.current) == null || H.style.setProperty(
|
|
1046
1046
|
"--tw-translate-x",
|
|
1047
1047
|
`${12 + G.width + 5}px`
|
|
1048
1048
|
)), /* @__PURE__ */ i("div", { className: j.wrapper, children: [
|
|
@@ -1083,7 +1083,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1083
1083
|
paddingLeft: Te
|
|
1084
1084
|
}
|
|
1085
1085
|
},
|
|
1086
|
-
value:
|
|
1086
|
+
value: D,
|
|
1087
1087
|
onChange: Ke,
|
|
1088
1088
|
onFocus: We,
|
|
1089
1089
|
onBlur: Xe,
|
|
@@ -1242,7 +1242,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1242
1242
|
open: t,
|
|
1243
1243
|
onOpenChange: a
|
|
1244
1244
|
}) => {
|
|
1245
|
-
const { getAccessToken: o, user: n } =
|
|
1245
|
+
const { getAccessToken: o, user: n } = $(), {
|
|
1246
1246
|
data: r,
|
|
1247
1247
|
error: c,
|
|
1248
1248
|
isLoading: s,
|
|
@@ -1267,9 +1267,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1267
1267
|
content: E,
|
|
1268
1268
|
enabled: h,
|
|
1269
1269
|
privateChat: g
|
|
1270
|
-
};
|
|
1271
|
-
console.info(`==> [${Date.now()}] : `, w);
|
|
1272
|
-
const R = u.findIndex((H) => H.slot === l);
|
|
1270
|
+
}, R = u.findIndex((B) => B.slot === l);
|
|
1273
1271
|
return R === -1 ? {
|
|
1274
1272
|
...I,
|
|
1275
1273
|
prompts: [...u, { ...w, slot: l }]
|
|
@@ -1294,11 +1292,9 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1294
1292
|
}, x = () => {
|
|
1295
1293
|
d({ ...r }), a(!1);
|
|
1296
1294
|
};
|
|
1297
|
-
return
|
|
1295
|
+
return F(() => {
|
|
1298
1296
|
r != null && r.tags && f({ prompts: r.tags });
|
|
1299
|
-
}, [r]),
|
|
1300
|
-
console.info(`==> [${Date.now()}] localPrompts: `, m);
|
|
1301
|
-
}, [m]), c || s ? null : /* @__PURE__ */ i(
|
|
1297
|
+
}, [r]), c || s ? null : /* @__PURE__ */ i(
|
|
1302
1298
|
ce,
|
|
1303
1299
|
{
|
|
1304
1300
|
open: t,
|
|
@@ -1426,7 +1422,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1426
1422
|
open: t,
|
|
1427
1423
|
onOpenChange: a
|
|
1428
1424
|
}) => {
|
|
1429
|
-
const { getAccessToken: o, user: n } =
|
|
1425
|
+
const { getAccessToken: o, user: n } = $(), {
|
|
1430
1426
|
data: r,
|
|
1431
1427
|
error: c,
|
|
1432
1428
|
isLoading: s,
|
|
@@ -1458,7 +1454,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1458
1454
|
});
|
|
1459
1455
|
} catch {
|
|
1460
1456
|
}
|
|
1461
|
-
},
|
|
1457
|
+
}, B = async () => {
|
|
1462
1458
|
b({
|
|
1463
1459
|
loadingLocation: !0
|
|
1464
1460
|
}), T("...");
|
|
@@ -1482,14 +1478,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1482
1478
|
});
|
|
1483
1479
|
} catch {
|
|
1484
1480
|
}
|
|
1485
|
-
},
|
|
1481
|
+
}, H = (k, _) => {
|
|
1486
1482
|
g(k ? _ : _ === W ? ee : W);
|
|
1487
1483
|
}, S = () => {
|
|
1488
1484
|
f(!m);
|
|
1489
1485
|
}, ie = () => {
|
|
1490
1486
|
d({ ...r }), a(!1);
|
|
1491
1487
|
};
|
|
1492
|
-
return
|
|
1488
|
+
return F(() => {
|
|
1493
1489
|
r != null && r.instructions && l(r.instructions), r != null && r.location && T(r.location), r != null && r.engine && g(r.engine);
|
|
1494
1490
|
}, [r]), c || s ? null : /* @__PURE__ */ e(
|
|
1495
1491
|
ce,
|
|
@@ -1544,7 +1540,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1544
1540
|
noBorder: !0,
|
|
1545
1541
|
label: W,
|
|
1546
1542
|
name: W,
|
|
1547
|
-
onChange: (k) =>
|
|
1543
|
+
onChange: (k) => H(k, W),
|
|
1548
1544
|
checked: E === W
|
|
1549
1545
|
}
|
|
1550
1546
|
),
|
|
@@ -1555,7 +1551,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1555
1551
|
noBorder: !0,
|
|
1556
1552
|
label: ee,
|
|
1557
1553
|
name: ee,
|
|
1558
|
-
onChange: (k) =>
|
|
1554
|
+
onChange: (k) => H(k, ee),
|
|
1559
1555
|
checked: E === ee
|
|
1560
1556
|
}
|
|
1561
1557
|
),
|
|
@@ -1642,7 +1638,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1642
1638
|
size: "small",
|
|
1643
1639
|
noBorder: !0,
|
|
1644
1640
|
disabled: p.loadingLocation,
|
|
1645
|
-
onClick:
|
|
1641
|
+
onClick: B,
|
|
1646
1642
|
children: p.loadingLocation ? "Detecting..." : "Auto-detect"
|
|
1647
1643
|
}
|
|
1648
1644
|
)
|
|
@@ -1653,7 +1649,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1653
1649
|
}
|
|
1654
1650
|
);
|
|
1655
1651
|
}, _r = () => {
|
|
1656
|
-
const { logout: t } =
|
|
1652
|
+
const { logout: t } = $(), { state: a } = he(Oe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [m, f] = C(!1), [p, b] = C(!1), x = () => {
|
|
1657
1653
|
n(!o);
|
|
1658
1654
|
}, l = () => {
|
|
1659
1655
|
c(!r);
|
|
@@ -1682,15 +1678,15 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1682
1678
|
/* @__PURE__ */ e(jt, { open: o, onOpenChange: n }),
|
|
1683
1679
|
/* @__PURE__ */ e(Nr, { open: r, onOpenChange: c }),
|
|
1684
1680
|
s && /* @__PURE__ */ e(Ut, { open: s, onOpenChange: d }),
|
|
1685
|
-
/* @__PURE__ */ e(
|
|
1681
|
+
/* @__PURE__ */ e($t, { open: m, onOpenChange: f }),
|
|
1686
1682
|
/* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1687
|
-
|
|
1683
|
+
St,
|
|
1688
1684
|
{
|
|
1689
1685
|
label: "Profile, Settings, etc.",
|
|
1690
1686
|
mode: "light",
|
|
1691
1687
|
placement: "left",
|
|
1692
1688
|
trigger: /* @__PURE__ */ i(
|
|
1693
|
-
|
|
1689
|
+
wt,
|
|
1694
1690
|
{
|
|
1695
1691
|
mode: "dark",
|
|
1696
1692
|
focusMode: "light",
|
|
@@ -3734,7 +3734,7 @@ const qn = "ASK! ME! ANYTHING!", ar = "Callisto", Xn = "Log in", Qn = "Sign in w
|
|
|
3734
3734
|
) });
|
|
3735
3735
|
}, ro = new URL(document.location.href).searchParams, ao = !!ro.get("debug") || !1, no = ir(() => import(
|
|
3736
3736
|
/* webpackChunkName: "LazyApp" */
|
|
3737
|
-
"./App.
|
|
3737
|
+
"./App.BBj6mtsk.js"
|
|
3738
3738
|
).then((e) => e.App)), oo = ({ isComponent: e }) => {
|
|
3739
3739
|
const { isAuthenticated: t } = zt();
|
|
3740
3740
|
return t ? /* @__PURE__ */ l(cr, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(no, { isComponent: e }) }) : /* @__PURE__ */ l(to, {});
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
|
1
|
+
import { SassySaint as r } from "./chunks/index.wt2DggdA.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v6.
|
|
3
|
+
@sassysaint/client v6.5.0
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "6.
|
|
9
|
-
buildTime: "01/
|
|
8
|
+
version: "6.5.0",
|
|
9
|
+
buildTime: "01/29/2025 11:43 AM EST",
|
|
10
10
|
license: "MIT"
|
|
11
11
|
});
|
|
12
12
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/sassysaint",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@sassysaint/client": "6.
|
|
33
|
+
"@sassysaint/client": "6.5.0",
|
|
34
34
|
"@versini/ui-styles": "3.2.6"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"sideEffects": [
|
|
42
42
|
"**/*.css"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "6c5a60db05c539d7db8c5a1dbf8a7f2b72519127"
|
|
45
45
|
}
|