@versini/sassysaint 8.39.11 → 8.40.1
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.CfI8B3Xr.js → AboutChangelog.DQX8lvOH.js} +2 -2
- package/dist/chunks/{AboutEntry.U7i1nOgP.js → AboutEntry.DzQoSo7j.js} +6 -6
- package/dist/chunks/App.COq79mzy.js +14197 -0
- package/dist/chunks/{Chart.CEWRx_BY.js → Chart.IcVujFsN.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C5AYAvuO.js → ChatBubbleAssistant.DP4q9bjS.js} +22 -22
- package/dist/chunks/{HistoryEntry.CvxEv8I5.js → HistoryEntry.Cdyz0Ay0.js} +42 -42
- package/dist/chunks/{LNWAZHJI.Byd_ikEk.js → LNWAZHJI.hRl3WlXy.js} +1 -1
- package/dist/chunks/{ProfileEntry.BIzVmteC.js → ProfileEntry.CBTrcgf7.js} +2 -2
- package/dist/chunks/{SettingsEntry.BaeL60-Z.js → SettingsEntry.B6ubYSTf.js} +2 -2
- package/dist/chunks/{UsageEntry.BjWC97Vl.js → UsageEntry.BdRkDZt_.js} +3 -3
- package/dist/chunks/{index.CxgbmPIM.js → index.BWG_0bqm.js} +1 -1
- package/dist/chunks/{index.DuXItDG_.js → index.CZlAZbRI.js} +632 -597
- package/dist/chunks/{index.DxlR3DIQ.js → index.CxLafuL8.js} +2 -2
- package/dist/chunks/{index.CD5H4iBB.js → index.D1yzX5gN.js} +1 -1
- package/dist/chunks/{index.Dj49vSed.js → index.DYl8rHKT.js} +3 -3
- package/dist/chunks/{index.Cd4F4k1l.js → index.DwoPHLtz.js} +1 -1
- package/dist/chunks/{useMarkdown.DmhrTtGF.js → useMarkdown.0UpPdotC.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/App.DMY0Cxus.js +0 -10334
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as Tp } from "react/jsx-runtime";
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.COq79mzy.js";
|
3
3
|
import Ap, { useState as Cp, useEffect as Pp } from "react";
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.CZlAZbRI.js";
|
5
5
|
var ls = { exports: {} }, Ep = ls.exports, on;
|
6
6
|
function Ip() {
|
7
7
|
return on || (on = 1, (function(ve, ne) {
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { jsx as A } from "react/jsx-runtime";
|
2
|
-
import {
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import { useMarkdown as
|
7
|
-
const D = 2, j = D * 1e3,
|
2
|
+
import { LOCAL_STORAGE_PREFIX as k, LOCAL_STORAGE_CHAT_DETAILS as R, convertCamelCaseToReadable as _, numberFormatter as w, pluralize as F, re as G } from "./index.CZlAZbRI.js";
|
3
|
+
import { ChatContext as N, E as U, Me as y, Oe as S } from "./App.COq79mzy.js";
|
4
|
+
import b from "clsx";
|
5
|
+
import P, { useState as h, useRef as g, useEffect as L, useContext as v } from "react";
|
6
|
+
import { useMarkdown as I } from "./useMarkdown.0UpPdotC.js";
|
7
|
+
const D = 2, j = D * 1e3, M = "", q = (e) => e * (2 - e);
|
8
8
|
function V(e, a = !0) {
|
9
|
-
const [i, C] =
|
10
|
-
return t !== e && (T(e), p(e.startsWith(t) ? i : 0)),
|
9
|
+
const [i, C] = h(0), [c, p] = h(0), [t, T] = h(e), r = g(0), o = g(0);
|
10
|
+
return t !== e && (T(e), p(e.startsWith(t) ? i : 0)), L(() => {
|
11
11
|
if (!a)
|
12
12
|
return;
|
13
|
-
const u = e.split(
|
13
|
+
const u = e.split(M).length, s = (l) => {
|
14
14
|
o.current || (o.current = l);
|
15
15
|
const m = l - o.current, f = Math.min(m / j, 1), n = q(f), O = c + (u - c) * n;
|
16
16
|
C(Math.floor(O)), f < 1 && (r.current = requestAnimationFrame(s));
|
@@ -18,13 +18,13 @@ function V(e, a = !0) {
|
|
18
18
|
return o.current = 0, r.current = requestAnimationFrame(s), () => {
|
19
19
|
r.current && cancelAnimationFrame(r.current);
|
20
20
|
};
|
21
|
-
}, [c, e, a]), a ? e.split(
|
21
|
+
}, [c, e, a]), a ? e.split(M).slice(0, i).join(M) : e;
|
22
22
|
}
|
23
23
|
const d = {
|
24
24
|
MODEL: "Model",
|
25
25
|
PLUGIN: "Plugin",
|
26
26
|
USAGE: "Session usage"
|
27
|
-
},
|
27
|
+
}, x = b("max-w-[99cqw] mt-3"), E = b("max-w-xs", "sm:max-w-3xl", "prose-li:ps-3"), X = P.memo(
|
28
28
|
({
|
29
29
|
content: e,
|
30
30
|
annotations: a,
|
@@ -35,35 +35,35 @@ const d = {
|
|
35
35
|
}) => {
|
36
36
|
const t = V(e, c), {
|
37
37
|
state: { streaming: T, restoredModel: r, tokenUsage: o }
|
38
|
-
} =
|
39
|
-
key:
|
38
|
+
} = v(N), u = a?.model || r, s = o, [l, m] = I(), [f] = U({
|
39
|
+
key: k + R,
|
40
40
|
initialValue: !1
|
41
41
|
});
|
42
42
|
let n;
|
43
43
|
return f && (n = {
|
44
44
|
[d.MODEL]: u || null,
|
45
|
-
[d.PLUGIN]: i ?
|
46
|
-
}, s && (p ? n[d.USAGE] = `${
|
45
|
+
[d.PLUGIN]: i ? _(i) : null
|
46
|
+
}, s && (p ? n[d.USAGE] = `${w.format(s)} ${F("token", s)}` : n[d.USAGE] = y)), L(() => {
|
47
47
|
t && m(t);
|
48
|
-
}, [t, m]), C ===
|
49
|
-
|
48
|
+
}, [t, m]), C === G ? /* @__PURE__ */ A(
|
49
|
+
S,
|
50
50
|
{
|
51
51
|
tail: !0,
|
52
|
-
className:
|
53
|
-
contentClassName:
|
52
|
+
className: x,
|
53
|
+
contentClassName: E,
|
54
54
|
noMaxWidth: !0,
|
55
55
|
children: /* @__PURE__ */ A("div", { className: "flex items-center justify-center italic text-copy-error-dark dark:text-red-300", children: l })
|
56
56
|
}
|
57
57
|
) : /* @__PURE__ */ A(
|
58
|
-
|
58
|
+
S,
|
59
59
|
{
|
60
60
|
tail: !0,
|
61
61
|
copyToClipboardMode: "dark",
|
62
62
|
copyToClipboardFocusMode: "light",
|
63
63
|
copyToClipboard: T ? "loading..." : e,
|
64
64
|
footer: n,
|
65
|
-
className:
|
66
|
-
contentClassName:
|
65
|
+
className: x,
|
66
|
+
contentClassName: E,
|
67
67
|
noMaxWidth: !0,
|
68
68
|
children: l
|
69
69
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as h, jsx as e, Fragment as ne } from "react/jsx-runtime";
|
2
|
-
import { I as z, INFINITE_SCROLL_THRESHOLD as F, CARDS as ce, pluralize as ie, ue as I, numberFormatter as le, isProbablyMobile as
|
3
|
-
import { De as
|
2
|
+
import { I as z, ue$1 as A, Ae as M, INFINITE_SCROLL_THRESHOLD as F, CARDS as ce, pluralize as ie, ue as I, numberFormatter as le, de, isProbablyMobile as me, E as he, a as ue, i as Ce, n as Y, INFINITE_SCROLL_LIMIT as U, LOCAL_STORAGE_PREFIX as v, LOCAL_STORAGE_SORT_TIMESTAMP as pe, LOCAL_STORAGE_SORT_TOKEN_USAGE as Se, LOCAL_STORAGE_SORT as Te, APP_CLASSNAME as ge, ACTION_SORT as Ee, TOAST_CHAT_DELETED as xe, TOAST_PROVIDER_CHANGED as fe, LOCAL_STORAGE_SEARCH as ye, HISTORY_TITLE as Ae, pe$1 as De, debounce as Oe, ACTION_SEARCH as Re } from "./index.CZlAZbRI.js";
|
3
|
+
import { De as Ne, He as ve, qe as k, Ge as we, Fe as Me, Pe as p, Ye as V, st as $, a as _e, p as ke, p$1 as Ie, HistoryContext as K, ChatContext as W, useAiChat as be, E as w, E$1 as y, useUserPreferences as Le, ConfirmationPanel as ze, LazyToastContainerWrapper as He, mutateCall as B, SERVICE_TYPES as G, showErrorToast as Pe, setNewProvider as Ue, CHAT_SET_PROVIDER as Ve, showSuccessToast as $e, CHAT_SET_STATUS as Be, useChatsHistory as Ge, tt as Fe, a$1 as Ye } from "./App.COq79mzy.js";
|
4
4
|
import { Fragment as Ke, useRef as b, useState as L, useContext as _, useCallback as We, useEffect as j } from "react";
|
5
5
|
const je = ({
|
6
6
|
className: c,
|
@@ -81,9 +81,9 @@ const je = ({
|
|
81
81
|
]
|
82
82
|
}
|
83
83
|
), Je = {
|
84
|
-
[
|
85
|
-
[
|
86
|
-
[
|
84
|
+
[Ce]: Ie,
|
85
|
+
[ue]: ke,
|
86
|
+
[he]: _e
|
87
87
|
}, r = {
|
88
88
|
ROW: "row",
|
89
89
|
TIMESTAMP: A,
|
@@ -112,10 +112,10 @@ const je = ({
|
|
112
112
|
onClickDelete: E,
|
113
113
|
infinityScrollMarkerRef: x
|
114
114
|
}) => {
|
115
|
-
const l =
|
115
|
+
const l = me() ? Qe : Ze, D = (t) => {
|
116
116
|
switch (t) {
|
117
117
|
case r.ROW:
|
118
|
-
return /* @__PURE__ */ e(
|
118
|
+
return /* @__PURE__ */ e(p, { className: "sr-only", children: "Row" }, t);
|
119
119
|
case r.TIMESTAMP:
|
120
120
|
return /* @__PURE__ */ e(
|
121
121
|
V,
|
@@ -133,9 +133,9 @@ const je = ({
|
|
133
133
|
t
|
134
134
|
);
|
135
135
|
case r.SUMMARY:
|
136
|
-
return /* @__PURE__ */ e(
|
136
|
+
return /* @__PURE__ */ e(p, { className: "text-xs sm:text-sm", children: "Summary" }, t);
|
137
137
|
case r.PROVIDER:
|
138
|
-
return /* @__PURE__ */ e(
|
138
|
+
return /* @__PURE__ */ e(p, { className: "text-xs sm:text-sm", children: "Provider" }, t);
|
139
139
|
case r.TOKEN_USAGE:
|
140
140
|
return /* @__PURE__ */ e(
|
141
141
|
V,
|
@@ -153,17 +153,17 @@ const je = ({
|
|
153
153
|
t
|
154
154
|
);
|
155
155
|
case r.ACTIONS:
|
156
|
-
return /* @__PURE__ */ e(
|
156
|
+
return /* @__PURE__ */ e(p, { className: "text-xs sm:text-sm text-right", children: "Actions" }, t);
|
157
157
|
default:
|
158
158
|
return null;
|
159
159
|
}
|
160
160
|
}, f = (t, s, T) => {
|
161
161
|
switch (t) {
|
162
162
|
case r.ROW:
|
163
|
-
return /* @__PURE__ */ e(
|
163
|
+
return /* @__PURE__ */ e(p, { children: T + 1 }, t);
|
164
164
|
case r.TIMESTAMP:
|
165
165
|
return /* @__PURE__ */ e(
|
166
|
-
|
166
|
+
p,
|
167
167
|
{
|
168
168
|
component: "th",
|
169
169
|
scope: "row",
|
@@ -175,7 +175,7 @@ const je = ({
|
|
175
175
|
case r.SUMMARY: {
|
176
176
|
const S = s.summary || (s.messages.length > 0 ? s.messages[0]?.content : "");
|
177
177
|
return /* @__PURE__ */ e(
|
178
|
-
|
178
|
+
p,
|
179
179
|
{
|
180
180
|
className: "max-w-[100px] text-white sm:max-w-full text-xs sm:text-sm",
|
181
181
|
style: {
|
@@ -187,9 +187,9 @@ const je = ({
|
|
187
187
|
);
|
188
188
|
}
|
189
189
|
case r.PROVIDER: {
|
190
|
-
const S = s.model ?
|
190
|
+
const S = s.model ? de(s.model) : null, O = S ? Je[S] : null;
|
191
191
|
return /* @__PURE__ */ e(
|
192
|
-
|
192
|
+
p,
|
193
193
|
{
|
194
194
|
component: "th",
|
195
195
|
scope: "row",
|
@@ -209,7 +209,7 @@ const je = ({
|
|
209
209
|
}
|
210
210
|
case r.TOKEN_USAGE:
|
211
211
|
return /* @__PURE__ */ e(
|
212
|
-
|
212
|
+
p,
|
213
213
|
{
|
214
214
|
className: "text-gray-400 text-xs sm:text-sm",
|
215
215
|
align: "right",
|
@@ -218,7 +218,7 @@ const je = ({
|
|
218
218
|
t
|
219
219
|
);
|
220
220
|
case r.ACTIONS:
|
221
|
-
return /* @__PURE__ */ e(
|
221
|
+
return /* @__PURE__ */ e(p, { children: /* @__PURE__ */ h("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
|
222
222
|
/* @__PURE__ */ e(
|
223
223
|
$,
|
224
224
|
{
|
@@ -268,15 +268,15 @@ const je = ({
|
|
268
268
|
return null;
|
269
269
|
}
|
270
270
|
};
|
271
|
-
return /* @__PURE__ */ h(
|
272
|
-
/* @__PURE__ */ e(
|
273
|
-
/* @__PURE__ */ e(
|
271
|
+
return /* @__PURE__ */ h(Ne, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
|
272
|
+
/* @__PURE__ */ e(ve, { children: /* @__PURE__ */ e(k, { children: l.map((t) => D(t)) }) }),
|
273
|
+
/* @__PURE__ */ e(we, { children: c.slice(0, d).map((t, s) => t?.messages?.length > 0 ? /* @__PURE__ */ h(Ke, { children: [
|
274
274
|
s === d - F && /* @__PURE__ */ e("tr", { ref: x }),
|
275
275
|
/* @__PURE__ */ e(k, { children: l.map(
|
276
276
|
(T) => f(T, t, s)
|
277
277
|
) })
|
278
278
|
] }, `${ce.HISTORY.TITLE}-${t.id}-${s}`) : null) }),
|
279
|
-
/* @__PURE__ */ e(
|
279
|
+
/* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(p, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ie(
|
280
280
|
`${c.length} chat`,
|
281
281
|
c.length
|
282
282
|
) }) }) }) })
|
@@ -302,29 +302,29 @@ const je = ({
|
|
302
302
|
setChatId: g,
|
303
303
|
setInitialMessages: q
|
304
304
|
} = _(W), { setInput: X } = be(), [H, P] = w({
|
305
|
-
key: v +
|
305
|
+
key: v + pe,
|
306
306
|
initialValue: y.DESC
|
307
307
|
}), [J, Q] = w({
|
308
|
-
key: v +
|
308
|
+
key: v + Se,
|
309
309
|
initialValue: y.ASC
|
310
310
|
}), [, Z] = w({
|
311
|
-
key: v +
|
311
|
+
key: v + Te,
|
312
312
|
initialValue: A
|
313
313
|
}), { refetch: ee } = Le({
|
314
314
|
user: i?.username,
|
315
315
|
getAccessToken: E
|
316
316
|
}), te = (a) => {
|
317
|
-
const
|
317
|
+
const C = s.sortedCell === a;
|
318
318
|
let n, R;
|
319
319
|
switch (a) {
|
320
320
|
case A:
|
321
|
-
R = P, n =
|
321
|
+
R = P, n = C ? s.sortDirection : H;
|
322
322
|
break;
|
323
323
|
case M:
|
324
|
-
R = Q, n =
|
324
|
+
R = Q, n = C ? s.sortDirection : J;
|
325
325
|
break;
|
326
326
|
default:
|
327
|
-
R = P, n =
|
327
|
+
R = P, n = C ? s.sortDirection : H;
|
328
328
|
break;
|
329
329
|
}
|
330
330
|
let N;
|
@@ -337,7 +337,7 @@ const je = ({
|
|
337
337
|
break;
|
338
338
|
}
|
339
339
|
R(N), Z(a), T({
|
340
|
-
type:
|
340
|
+
type: Ee,
|
341
341
|
payload: {
|
342
342
|
sortedCell: a,
|
343
343
|
sortDirection: N
|
@@ -353,7 +353,7 @@ const je = ({
|
|
353
353
|
userId: i?.username || "",
|
354
354
|
id: a.id
|
355
355
|
}
|
356
|
-
}), m(""), await Pe(
|
356
|
+
}), m(""), await Pe(xe, {
|
357
357
|
autoClose: 2e3,
|
358
358
|
containerId: "history-table"
|
359
359
|
});
|
@@ -361,8 +361,8 @@ const je = ({
|
|
361
361
|
}
|
362
362
|
}, re = async (a) => {
|
363
363
|
try {
|
364
|
-
const
|
365
|
-
accessToken:
|
364
|
+
const C = await E(), n = await B({
|
365
|
+
accessToken: C,
|
366
366
|
type: G.GET_CHAT,
|
367
367
|
params: {
|
368
368
|
id: a.id
|
@@ -370,7 +370,7 @@ const je = ({
|
|
370
370
|
});
|
371
371
|
n.status === 200 && (n.data.provider !== O && (await Ue({
|
372
372
|
provider: n.data.provider,
|
373
|
-
accessToken:
|
373
|
+
accessToken: C,
|
374
374
|
username: i?.username || ""
|
375
375
|
}), o({
|
376
376
|
type: Ve,
|
@@ -378,7 +378,7 @@ const je = ({
|
|
378
378
|
provider: n.data.provider
|
379
379
|
}
|
380
380
|
}), ee(), await $e(
|
381
|
-
`${
|
381
|
+
`${fe} ${n.data.provider}`,
|
382
382
|
{
|
383
383
|
containerId: "toggle-provider"
|
384
384
|
}
|
@@ -405,8 +405,8 @@ const je = ({
|
|
405
405
|
const a = {
|
406
406
|
// root: null,
|
407
407
|
rootMargin: "20px"
|
408
|
-
},
|
409
|
-
x.current &&
|
408
|
+
}, C = new IntersectionObserver(oe, a);
|
409
|
+
x.current && C.observe(x.current);
|
410
410
|
}), /* @__PURE__ */ h(ne, { children: [
|
411
411
|
/* @__PURE__ */ h(
|
412
412
|
ze,
|
@@ -436,7 +436,7 @@ const je = ({
|
|
436
436
|
]
|
437
437
|
}
|
438
438
|
),
|
439
|
-
/* @__PURE__ */ e("div", { className:
|
439
|
+
/* @__PURE__ */ e("div", { className: ge, children: /* @__PURE__ */ e(He, { containerId: "history-table" }) }),
|
440
440
|
/* @__PURE__ */ e(
|
441
441
|
et,
|
442
442
|
{
|
@@ -462,7 +462,7 @@ const je = ({
|
|
462
462
|
sortedCell: l.sortedCell || A,
|
463
463
|
getAccessToken: d
|
464
464
|
}), [, s] = w({
|
465
|
-
key: v +
|
465
|
+
key: v + ye,
|
466
466
|
initialValue: l.searchString
|
467
467
|
});
|
468
468
|
j(() => {
|
@@ -470,10 +470,10 @@ const je = ({
|
|
470
470
|
}, [f]);
|
471
471
|
const T = async (g) => {
|
472
472
|
s(g), D({
|
473
|
-
type:
|
473
|
+
type: Re,
|
474
474
|
payload: { searchString: g }
|
475
475
|
});
|
476
|
-
}, S =
|
476
|
+
}, S = Oe((g) => {
|
477
477
|
T(g.target.value.trim());
|
478
478
|
}, 500);
|
479
479
|
return /* @__PURE__ */ h(
|
@@ -481,14 +481,14 @@ const je = ({
|
|
481
481
|
{
|
482
482
|
open: c,
|
483
483
|
onOpenChange: o,
|
484
|
-
title:
|
484
|
+
title: Ae,
|
485
485
|
animation: !0,
|
486
486
|
animationType: "fade",
|
487
487
|
children: [
|
488
488
|
/* @__PURE__ */ e("form", { autoComplete: "off", onSubmit: async (g) => {
|
489
489
|
g.preventDefault();
|
490
490
|
}, children: /* @__PURE__ */ e(
|
491
|
-
|
491
|
+
De,
|
492
492
|
{
|
493
493
|
placeholder: "Search",
|
494
494
|
labelHidden: !0,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.
|
1
|
+
import { createContext as xe, createSignal as z, onMount as Dt, createEffect as B, createMemo as q, createComponent as m, Portal as qo, memo as me, Show as R, template as _, insert as k, createRenderEffect as N, className as A, clearDelegatedEvents as bs, delegateEvents as ir, useContext as we, onCleanup as U, sortFns as Hn, mutationSortFns as Vn, on as ct, setAttribute as D, getSidedProp as xs, use as Dn, batch as ws, getQueryStatusLabel as Ot, getMutationStatusColor as Rt, getQueryStatusColor as $s, getQueryStatusColorByLabel as Cs, displayValue as xn, For as Ss, convertRemToPixels as Kr, untrack as Kt, useTransition as ks, spread as Es, mergeProps as j, createRoot as Br, serialize as Ms, Index as Ds, updateNestedDataByPath as sr, addEventListener as As, stringify as Ts, Match as zn, Switch as Fs, deleteNestedDataByPath as Is, createUniqueId as Be, splitProps as X, Dynamic as Ps, createComputed as Ls, getPreferredColorScheme as Os } from "./index.CZlAZbRI.js";
|
2
2
|
var qs = (e) => e != null, _s = (e) => e.filter(qs);
|
3
3
|
function Rs(e) {
|
4
4
|
return (...t) => {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as t, Fragment as m, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { i as h, nt as S, tt as R } from "./App.
|
3
|
-
import { n as u, S as a, renderDataAsList as N, CARDS as r, isTauri as P, ue as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.
|
2
|
+
import { i as h, nt as S, tt as R } from "./App.COq79mzy.js";
|
3
|
+
import { n as u, S as a, renderDataAsList as N, CARDS as r, isTauri as P, ue as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.CZlAZbRI.js";
|
4
4
|
const A = () => {
|
5
5
|
const { isAuthenticated: n, user: i, registeringForPasskey: o, authenticationType: c } = u(), d = h(), s = i?.username || "";
|
6
6
|
return n && s ? /* @__PURE__ */ t(m, { children: [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsxs as v, jsx as s } from "react/jsx-runtime";
|
2
|
-
import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P,
|
3
|
-
import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.
|
2
|
+
import { n as Ee, LOCAL_STORAGE_PREFIX as ne, LOCAL_STORAGE_CHAT_DETAILS as Te, LOCAL_STORAGE_SERVICE_WORKER as Ne, isServiceWorkerEnabled as ve, SETTINGS_TITLE as _e, S as V, CARDS as P, pe as we, C as re, PROMPTS_DESCRIPTION as Ce, L as Se, j as se, getCurrentGeoLocation as Ie, handleServiceWorkerToggle as Ae } from "./index.CZlAZbRI.js";
|
3
|
+
import { useUserPreferences as Le, E as le, tt as Re, mutateCall as ce, SERVICE_TYPES as ie } from "./App.COq79mzy.js";
|
4
4
|
import Oe, { useRef as _, useState as g, useLayoutEffect as j, useMemo as me, useEffect as X, useId as Me, useReducer as De, useCallback as Pe } from "react";
|
5
5
|
import i from "clsx";
|
6
6
|
const fe = "av-text-area", Be = "av-text-area-wrapper", ae = "av-text-area-helper-text", Ge = "av-text-area__control--right", He = "av-text-area__control--left";
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { n as f, USAGE_TITLE as U, S as h, renderDataAsList as v, CARDS as n, L as E, j as L, C as m, pluralize as i } from "./index.
|
3
|
-
import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.
|
2
|
+
import { n as f, USAGE_TITLE as U, S as h, renderDataAsList as v, CARDS as n, L as E, j as L, C as m, pluralize as i } from "./index.CZlAZbRI.js";
|
3
|
+
import { i as M, useUserChatStats as _, useChatsUsage as D, tt as z } from "./App.COq79mzy.js";
|
4
4
|
import { useState as O, Suspense as P, lazy as B } from "react";
|
5
5
|
const t = [0, 3, 6, 9], j = B(() => import(
|
6
6
|
/* webpackChunkName: "LazyChart" */
|
7
|
-
"./Chart.
|
7
|
+
"./Chart.IcVujFsN.js"
|
8
8
|
)), b = ({
|
9
9
|
open: S,
|
10
10
|
onOpenChange: I
|