@versini/sassysaint 8.101.1 → 8.101.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AboutChangelog.CcYsUxi2.js +33 -0
- package/dist/chunks/AboutEntry.G2xR3M1d.js +85 -0
- package/dist/chunks/{App.RV-mmua0.js → App.CsKyZBsw.js} +3787 -3393
- package/dist/chunks/{Chart.D_A0uZlT.js → Chart.DD4UW65P.js} +3 -2
- package/dist/chunks/{ChatBubbleAssistant.DFHmwXZw.js → ChatBubbleAssistant.Bn6cQle5.js} +12 -11
- package/dist/chunks/{ChatBubbleUser.G4d3d6Mb.js → ChatBubbleUser.KoKX8L_1.js} +6 -6
- package/dist/chunks/{ChatHistoryTable.DZub8IvT.js → ChatHistoryTable.DQGQveG4.js} +14 -13
- package/dist/chunks/{HistoryEntry.80oOvElL.js → HistoryEntry.DBUTE8sL.js} +66 -63
- package/dist/chunks/LoginEntry.CWuSahi8.js +118 -0
- package/dist/chunks/LogoEntry.4w_7jmXf.js +1714 -0
- package/dist/chunks/{MemoriesEntry.BiYxLEvt.js → MemoriesEntry.sfRZ45or.js} +13 -12
- package/dist/chunks/{ProfileEntry.CPW8ArvZ.js → ProfileEntry.CZ402BZi.js} +34 -32
- package/dist/chunks/{SettingsEntry.Cg8S7183.js → SettingsEntry.B_ICuqSF.js} +45 -43
- package/dist/chunks/{Table.4xIKM_Pq.js → Table.B9YP3reg.js} +4 -4
- package/dist/chunks/{UsageEntry.ffEEL78E.js → UsageEntry.CZZW0tyk.js} +35 -33
- package/dist/chunks/index.BAdB50GZ.js +103 -0
- package/dist/chunks/index.BXS3OJ0_.js +305 -0
- package/dist/chunks/{index.CE9kDkU7.js → index.CBNs-jI0.js} +1 -1
- package/dist/chunks/{index.Hrh30p0t.js → index.CbXUGbFw.js} +1 -1
- package/dist/chunks/index.CmUCbVjm.js +5549 -0
- package/dist/chunks/{index.pOiqDmOT.js → index.CrlZTdPz.js} +3 -3
- package/dist/chunks/{index.CAjI1A8f.js → index.DI2SbvoE.js} +1 -1
- package/dist/chunks/{index.DACnc3cK.js → index.DLcXm1j2.js} +4 -4
- package/dist/chunks/{index.B_ICfOQl.js → index.TlkuA7XF.js} +2 -2
- package/dist/chunks/index.ZHr9WWXR.js +99 -0
- package/dist/chunks/index.jbtO2S3e.js +292 -0
- package/dist/chunks/{useMarkdown.Wp7doGVP.js → useMarkdown.z5IyHhkN.js} +19 -18
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +5 -5
- package/dist/chunks/AboutChangelog.C5rvGqn_.js +0 -34
- package/dist/chunks/AboutEntry.DO5Ui-w0.js +0 -83
- package/dist/chunks/index.CaIG7RGp.js +0 -8092
- package/dist/chunks/index.Cu1_r5cX.js +0 -266
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as I } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { n as Te, LOCAL_STORAGE_PREFIX as ee, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ke, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ve, useUserMemories as De, useExpiredMemories as be, useDeleteMemory as Ee, useDeleteAllActiveMemories as Me, useDeleteAllExpiredMemories as Re, useUpdateMemory as Ie, useRestoreMemory as Le } from "./index.CmUCbVjm.js";
|
|
3
|
+
import { L as M, j as f, Button as B, e as s, ButtonIcon as L, IconEdit as Oe, IconDelete as te, IconRestore as _e } from "./LogoEntry.4w_7jmXf.js";
|
|
4
|
+
import { Panel as ae, Toggle as O, CancelButton as ce, useLocalStorage as re, ConfirmationPanel as ie, ResponsiveTooltip as _ } from "./App.CsKyZBsw.js";
|
|
5
|
+
import { j as ne, D as oe, F as v, W as a, Y as z, G as le, H as se } from "./Table.B9YP3reg.js";
|
|
5
6
|
import C from "clsx";
|
|
6
7
|
import { useState as N, useEffect as ze, useRef as q } from "react";
|
|
7
|
-
import { TextArea as Be } from "./index.
|
|
8
|
+
import { TextArea as Be } from "./index.BXS3OJ0_.js";
|
|
8
9
|
const Pe = ({
|
|
9
10
|
open: w,
|
|
10
11
|
onOpenChange: D,
|
|
@@ -178,12 +179,12 @@ const Pe = ({
|
|
|
178
179
|
] })
|
|
179
180
|
}
|
|
180
181
|
);
|
|
181
|
-
},
|
|
182
|
-
const n = q(null), { getAccessToken: A } = Te(), [b] = N(void 0), [l, E] = N("active"), [y, h] =
|
|
183
|
-
key:
|
|
182
|
+
}, Ve = ({ open: w, onOpenChange: D, user: d }) => {
|
|
183
|
+
const n = q(null), { getAccessToken: A } = Te(), [b] = N(void 0), [l, E] = N("active"), [y, h] = re({
|
|
184
|
+
key: ee + ke,
|
|
184
185
|
initialValue: s.DESC
|
|
185
|
-
}), [P, T] =
|
|
186
|
-
key:
|
|
186
|
+
}), [P, T] = re({
|
|
187
|
+
key: ee + ve,
|
|
187
188
|
initialValue: "createdAt"
|
|
188
189
|
}), [p, o] = N(y || s.DESC), [u, R] = N(
|
|
189
190
|
P || "createdAt"
|
|
@@ -532,7 +533,7 @@ const Pe = ({
|
|
|
532
533
|
t.description,
|
|
533
534
|
t.createdAt
|
|
534
535
|
),
|
|
535
|
-
children: /* @__PURE__ */ e(
|
|
536
|
+
children: /* @__PURE__ */ e(te, { size: "size-3", monotone: !0 })
|
|
536
537
|
}
|
|
537
538
|
)
|
|
538
539
|
}
|
|
@@ -697,7 +698,7 @@ const Pe = ({
|
|
|
697
698
|
t.description,
|
|
698
699
|
t.createdAt
|
|
699
700
|
),
|
|
700
|
-
children: /* @__PURE__ */ e(
|
|
701
|
+
children: /* @__PURE__ */ e(te, { size: "size-3", monotone: !0 })
|
|
701
702
|
}
|
|
702
703
|
)
|
|
703
704
|
}
|
|
@@ -735,5 +736,5 @@ const Pe = ({
|
|
|
735
736
|
] });
|
|
736
737
|
};
|
|
737
738
|
export {
|
|
738
|
-
|
|
739
|
+
Ve as default
|
|
739
740
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.
|
|
3
|
-
import {
|
|
4
|
-
import { useState as
|
|
1
|
+
import { jsxs as t, Fragment as H, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.CsKyZBsw.js";
|
|
3
|
+
import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.4w_7jmXf.js";
|
|
4
|
+
import { useState as m, useMemo as ee, useCallback as N, useRef as ae } from "react";
|
|
5
|
+
import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.CmUCbVjm.js";
|
|
6
|
+
import { Card as h } from "./index.ZHr9WWXR.js";
|
|
5
7
|
import de from "clsx";
|
|
6
8
|
const me = () => {
|
|
7
9
|
const {
|
|
@@ -10,32 +12,32 @@ const me = () => {
|
|
|
10
12
|
registeringForPasskey: o,
|
|
11
13
|
authenticationType: y,
|
|
12
14
|
getAccessToken: f
|
|
13
|
-
} =
|
|
15
|
+
} = ne(), [F, T] = m(null), [C, v] = m(!1), [x, R] = m(!1), [l, w] = m(null), U = J(), A = n?.username || "", {
|
|
14
16
|
data: E,
|
|
15
17
|
isSuccess: z,
|
|
16
18
|
refetch: I
|
|
17
|
-
} =
|
|
19
|
+
} = se({
|
|
18
20
|
user: n?.username,
|
|
19
21
|
getAccessToken: f
|
|
20
|
-
}), { data: S, isSuccess: P } =
|
|
22
|
+
}), { data: S, isSuccess: P } = re(), b = ee(() => !P || !S?.plans ? [] : S.plans.map((a) => ({
|
|
21
23
|
id: a.name,
|
|
22
24
|
label: a.label,
|
|
23
25
|
description: a.description,
|
|
24
26
|
features: a.features,
|
|
25
27
|
models: a.allowedModels.map(
|
|
26
|
-
(r) =>
|
|
28
|
+
(r) => te[r] || r
|
|
27
29
|
)
|
|
28
30
|
})), [P, S?.plans]), g = N(() => {
|
|
29
31
|
C || (K(), v(!0));
|
|
30
32
|
}, [C]), B = N(async () => {
|
|
31
|
-
if (!(!
|
|
33
|
+
if (!(!l || !n?.username))
|
|
32
34
|
try {
|
|
33
|
-
T(
|
|
34
|
-
plan:
|
|
35
|
+
T(l.id), await le({
|
|
36
|
+
plan: l.id,
|
|
35
37
|
accessToken: await f(),
|
|
36
38
|
username: n.username
|
|
37
39
|
}), await I(), await O(
|
|
38
|
-
`${s.PLANS.SWITCH_SUCCESS} ${
|
|
40
|
+
`${s.PLANS.SWITCH_SUCCESS} ${l.label}`,
|
|
39
41
|
{
|
|
40
42
|
containerId: "profile-plan-selection"
|
|
41
43
|
}
|
|
@@ -47,13 +49,13 @@ const me = () => {
|
|
|
47
49
|
} finally {
|
|
48
50
|
T(null), w(null);
|
|
49
51
|
}
|
|
50
|
-
}, [f,
|
|
52
|
+
}, [f, l, I, n?.username]), _ = N(
|
|
51
53
|
(a, r) => {
|
|
52
54
|
!n?.username || a === E?.plan || (w({ id: a, label: r }), R(!0));
|
|
53
55
|
},
|
|
54
56
|
[E?.plan, n?.username]
|
|
55
57
|
);
|
|
56
|
-
return p && A ? /* @__PURE__ */
|
|
58
|
+
return p && A ? /* @__PURE__ */ t(H, { children: [
|
|
57
59
|
/* @__PURE__ */ e(
|
|
58
60
|
Y,
|
|
59
61
|
{
|
|
@@ -65,28 +67,28 @@ const me = () => {
|
|
|
65
67
|
cancelAction: "Cancel",
|
|
66
68
|
title: "Switch Plan"
|
|
67
69
|
},
|
|
68
|
-
children:
|
|
70
|
+
children: l && /* @__PURE__ */ t("p", { className: "m-0", children: [
|
|
69
71
|
"Are you sure you want to switch to the following plan:",
|
|
70
72
|
" ",
|
|
71
|
-
/* @__PURE__ */ e("span", { className: "font-semibold", children:
|
|
73
|
+
/* @__PURE__ */ e("span", { className: "font-semibold", children: l.label })
|
|
72
74
|
] })
|
|
73
75
|
}
|
|
74
76
|
),
|
|
75
77
|
/* @__PURE__ */ e("div", { className: "av-sassy", children: /* @__PURE__ */ e($, { containerId: "profile-plan-selection" }) }),
|
|
76
78
|
/* @__PURE__ */ e(
|
|
77
|
-
|
|
79
|
+
h,
|
|
78
80
|
{
|
|
79
81
|
header: s.PREFERENCES.TITLE,
|
|
80
82
|
className: "prose-dark dark:prose-lighter",
|
|
81
83
|
noBorder: !0,
|
|
82
|
-
children:
|
|
84
|
+
children: ie(U, {
|
|
83
85
|
[s.PREFERENCES.USERNAME]: A,
|
|
84
86
|
[s.PREFERENCES.EMAIL]: n?.email || ""
|
|
85
87
|
})
|
|
86
88
|
}
|
|
87
89
|
),
|
|
88
|
-
z && P && b.length > 0 && /* @__PURE__ */
|
|
89
|
-
|
|
90
|
+
z && P && b.length > 0 && /* @__PURE__ */ t(
|
|
91
|
+
h,
|
|
90
92
|
{
|
|
91
93
|
header: s.PLANS.TITLE,
|
|
92
94
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
@@ -95,9 +97,9 @@ const me = () => {
|
|
|
95
97
|
/* @__PURE__ */ e("p", { className: "text-sm", children: s.PLANS.DESCRIPTION }),
|
|
96
98
|
/* @__PURE__ */ e(u, { columnGap: 3, rowGap: 3, className: "mt-4", children: b.map(({ id: a, label: r, description: G, features: M, models: j }) => {
|
|
97
99
|
const d = E?.plan === a, D = d ? s.PLANS.ACTIVE_BADGE : `Get ${r}`, k = F === a;
|
|
98
|
-
return /* @__PURE__ */ e(i, { span: { fallback: 12, md: 4 }, children: /* @__PURE__ */ e(
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
-
/* @__PURE__ */ e("div", { className: "flex items-start justify-between gap-2", children: /* @__PURE__ */
|
|
100
|
+
return /* @__PURE__ */ e(i, { span: { fallback: 12, md: 4 }, children: /* @__PURE__ */ e(h, { mode: "darker", className: "prose-lighter h-full", children: /* @__PURE__ */ t(u, { direction: "column", children: [
|
|
101
|
+
/* @__PURE__ */ t(i, { children: [
|
|
102
|
+
/* @__PURE__ */ e("div", { className: "flex items-start justify-between gap-2", children: /* @__PURE__ */ t("div", { children: [
|
|
101
103
|
/* @__PURE__ */ e(
|
|
102
104
|
"h3",
|
|
103
105
|
{
|
|
@@ -115,7 +117,7 @@ const me = () => {
|
|
|
115
117
|
/* @__PURE__ */ e("ul", { className: "prose-li:text-sm", children: j.map((c) => /* @__PURE__ */ e("li", { children: c }, c)) })
|
|
116
118
|
] }),
|
|
117
119
|
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(
|
|
118
|
-
|
|
120
|
+
Q,
|
|
119
121
|
{
|
|
120
122
|
mode: "dark",
|
|
121
123
|
size: "small",
|
|
@@ -136,19 +138,19 @@ const me = () => {
|
|
|
136
138
|
]
|
|
137
139
|
}
|
|
138
140
|
),
|
|
139
|
-
y !==
|
|
140
|
-
|
|
141
|
+
y !== ce.PASSKEY && !oe() && /* @__PURE__ */ t(
|
|
142
|
+
h,
|
|
141
143
|
{
|
|
142
144
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
143
145
|
noBorder: !0,
|
|
144
|
-
header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */
|
|
146
|
+
header: /* @__PURE__ */ e("h2", { className: "m-0", children: /* @__PURE__ */ t(u, { columnGap: 3, alignVertical: "center", children: [
|
|
145
147
|
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(L, { size: "size-8" }) }),
|
|
146
148
|
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ e("div", { children: s.PREFERENCES.PASSKEY_TITLE }) })
|
|
147
149
|
] }) }),
|
|
148
150
|
children: [
|
|
149
151
|
/* @__PURE__ */ e("p", { children: s.PREFERENCES.PASSKEY_INSTRUCTIONS }),
|
|
150
152
|
/* @__PURE__ */ e(
|
|
151
|
-
|
|
153
|
+
X,
|
|
152
154
|
{
|
|
153
155
|
variant: "selected",
|
|
154
156
|
size: "small",
|
|
@@ -162,17 +164,17 @@ const me = () => {
|
|
|
162
164
|
}
|
|
163
165
|
)
|
|
164
166
|
] }) : null;
|
|
165
|
-
},
|
|
167
|
+
}, Ne = ({
|
|
166
168
|
open: p,
|
|
167
169
|
onOpenChange: n
|
|
168
170
|
}) => {
|
|
169
|
-
const o =
|
|
171
|
+
const o = ae(null);
|
|
170
172
|
return /* @__PURE__ */ e(
|
|
171
173
|
V,
|
|
172
174
|
{
|
|
173
175
|
open: p,
|
|
174
176
|
onOpenChange: n,
|
|
175
|
-
title:
|
|
177
|
+
title: Z,
|
|
176
178
|
animation: !0,
|
|
177
179
|
animationType: "fade",
|
|
178
180
|
blurEffect: "large",
|
|
@@ -191,5 +193,5 @@ const me = () => {
|
|
|
191
193
|
);
|
|
192
194
|
};
|
|
193
195
|
export {
|
|
194
|
-
|
|
196
|
+
Ne as Profile
|
|
195
197
|
};
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as Ve, useEntitlements as Fe,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.CmUCbVjm.js";
|
|
3
|
+
import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as pe, PROMPTS_DESCRIPTION as tt, L as ot, j as Ee, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.4w_7jmXf.js";
|
|
4
|
+
import { Card as f } from "./index.ZHr9WWXR.js";
|
|
5
|
+
import { useCapability as Te, useLocalStorage as be, Panel as st, Toggle as l, CancelButton as at } from "./App.CsKyZBsw.js";
|
|
6
|
+
import { TextArea as Ne } from "./index.BXS3OJ0_.js";
|
|
5
7
|
import { useRef as nt, useContext as rt, useState as s, useMemo as lt, useCallback as ct, useEffect as Ce } from "react";
|
|
6
|
-
const
|
|
8
|
+
const Et = ({
|
|
7
9
|
open: ye,
|
|
8
10
|
onOpenChange: A
|
|
9
11
|
}) => {
|
|
10
|
-
const v = nt(null), { getAccessToken: I, user: R } = Ve(), { allowedModels: w, status: B } = Fe(), { dispatch: g } = rt(
|
|
12
|
+
const v = nt(null), { getAccessToken: I, user: R } = Ve(), { allowedModels: w, status: B } = Fe(), { dispatch: g } = rt(Ze), {
|
|
11
13
|
data: o,
|
|
12
14
|
isSuccess: Ie,
|
|
13
15
|
refetch: x
|
|
14
|
-
} =
|
|
16
|
+
} = We({
|
|
15
17
|
user: R?.username,
|
|
16
18
|
getAccessToken: I
|
|
17
19
|
}), [G, T] = s({
|
|
18
20
|
loadingLocation: !1
|
|
19
21
|
}), [L, U] = s({
|
|
20
22
|
prompts: []
|
|
21
|
-
}), [j, V] = s(""), [F, b] = s(""), [W, $] = s(!1), [z, H] = s(!1), [N, Y] = s(!1), [C, q] = s(!1), [K, Q] = s(!1), [D, J] = s(!1), [
|
|
22
|
-
key:
|
|
23
|
+
}), [j, V] = s(""), [F, b] = s(""), [W, $] = s(!1), [z, H] = s(!1), [N, Y] = s(!1), [C, q] = s(!1), [K, Q] = s(!1), [D, J] = s(!1), [p, X] = s(null), [Z, ee] = s(!1), [te, oe] = s(!1), se = Te(ie.TOOL.MEMORIES), ae = Te(ie.ADDON.REASONING), [i, we] = be({
|
|
24
|
+
key: $e,
|
|
23
25
|
initialValue: !1
|
|
24
|
-
}), [u, Le] =
|
|
25
|
-
key:
|
|
26
|
+
}), [u, Le] = be({
|
|
27
|
+
key: ze,
|
|
26
28
|
initialValue: !1
|
|
27
|
-
}), [m, M] = s(!1), [
|
|
29
|
+
}), [m, M] = s(!1), [E, _] = s(!1), [ne, re] = s(de), De = lt(() => He(w, B) ? Ye(w) : !1, [w, B]), Me = (e) => {
|
|
28
30
|
oe(e);
|
|
29
31
|
}, _e = (e) => {
|
|
30
32
|
$(e);
|
|
@@ -41,13 +43,13 @@ const ft = ({
|
|
|
41
43
|
}, Re = (e) => {
|
|
42
44
|
_(e);
|
|
43
45
|
}, Be = (e) => {
|
|
44
|
-
re(e ?
|
|
46
|
+
re(e ? ue : de);
|
|
45
47
|
}, xe = async (e) => {
|
|
46
48
|
e.preventDefault();
|
|
47
49
|
try {
|
|
48
|
-
await
|
|
50
|
+
await he({
|
|
49
51
|
accessToken: await I(),
|
|
50
|
-
type:
|
|
52
|
+
type: fe.SET_USER_PREFERENCES,
|
|
51
53
|
params: {
|
|
52
54
|
user: R?.username,
|
|
53
55
|
instructions: j,
|
|
@@ -67,12 +69,12 @@ const ft = ({
|
|
|
67
69
|
useNestedModelSelection: D,
|
|
68
70
|
themeMode: ne
|
|
69
71
|
}
|
|
70
|
-
}), C !== N && (await
|
|
71
|
-
type: pe,
|
|
72
|
-
payload: { oledMode: m }
|
|
73
|
-
})), p !== u && (Le(p), g({
|
|
72
|
+
}), C !== N && (await Xe(C), Y(C)), m !== i && (we(m), me(m), g({
|
|
74
73
|
type: Se,
|
|
75
|
-
payload: {
|
|
74
|
+
payload: { oledMode: m }
|
|
75
|
+
})), E !== u && (Le(E), g({
|
|
76
|
+
type: ge,
|
|
77
|
+
payload: { fullScreen: E }
|
|
76
78
|
})), x(), T({
|
|
77
79
|
loadingLocation: !1
|
|
78
80
|
});
|
|
@@ -83,9 +85,9 @@ const ft = ({
|
|
|
83
85
|
loadingLocation: !0
|
|
84
86
|
}), b("...");
|
|
85
87
|
try {
|
|
86
|
-
const e = Date.now(), a = await
|
|
88
|
+
const e = Date.now(), a = await Je(), y = await he({
|
|
87
89
|
accessToken: await I(),
|
|
88
|
-
type:
|
|
90
|
+
type: fe.GET_LOCATION,
|
|
89
91
|
params: {
|
|
90
92
|
latitude: a.latitude,
|
|
91
93
|
longitude: a.longitude
|
|
@@ -102,11 +104,11 @@ const ft = ({
|
|
|
102
104
|
});
|
|
103
105
|
}
|
|
104
106
|
}, le = () => {
|
|
105
|
-
m !== i && (M(i),
|
|
106
|
-
type: pe,
|
|
107
|
-
payload: { oledMode: i }
|
|
108
|
-
})), p !== u && (_(u), g({
|
|
107
|
+
m !== i && (M(i), me(i), g({
|
|
109
108
|
type: Se,
|
|
109
|
+
payload: { oledMode: i }
|
|
110
|
+
})), E !== u && (_(u), g({
|
|
111
|
+
type: ge,
|
|
110
112
|
payload: { fullScreen: u }
|
|
111
113
|
})), x(), A(!1);
|
|
112
114
|
}, k = ({
|
|
@@ -135,7 +137,7 @@ const ft = ({
|
|
|
135
137
|
}, ce = ct(async () => {
|
|
136
138
|
try {
|
|
137
139
|
ee(!0);
|
|
138
|
-
const e = await
|
|
140
|
+
const e = await qe();
|
|
139
141
|
X(e);
|
|
140
142
|
} catch {
|
|
141
143
|
} finally {
|
|
@@ -146,7 +148,7 @@ const ft = ({
|
|
|
146
148
|
if (!o)
|
|
147
149
|
return;
|
|
148
150
|
o.instructions && V(o.instructions), o.location && b(o.location), o.tags && U({ prompts: o.tags }), o.sendOnEnter !== void 0 && $(o.sendOnEnter), o.useMemory !== void 0 && H(o.useMemory), o.showDetails !== void 0 && oe(o.showDetails), o.showReasoningButton !== void 0 && Q(o.showReasoningButton), o.useNestedModelSelection !== void 0 && J(o.useNestedModelSelection), o.themeMode !== void 0 && re(o.themeMode);
|
|
149
|
-
const e =
|
|
151
|
+
const e = Ke();
|
|
150
152
|
Y(e), q(e), M(i), _(u);
|
|
151
153
|
}, [o, i, u]), Ce(() => {
|
|
152
154
|
N ? ce() : X(null);
|
|
@@ -155,19 +157,19 @@ const ft = ({
|
|
|
155
157
|
{
|
|
156
158
|
open: ye,
|
|
157
159
|
onOpenChange: le,
|
|
158
|
-
title:
|
|
160
|
+
title: et,
|
|
159
161
|
animation: !0,
|
|
160
162
|
animationType: "fade",
|
|
161
163
|
blurEffect: "large",
|
|
162
164
|
initialFocus: v,
|
|
163
165
|
footer: /* @__PURE__ */ n(
|
|
164
|
-
|
|
166
|
+
ot,
|
|
165
167
|
{
|
|
166
168
|
columnGap: 2,
|
|
167
169
|
alignHorizontal: "flex-end",
|
|
168
170
|
className: "pb-8 sm:pb-0",
|
|
169
171
|
children: [
|
|
170
|
-
/* @__PURE__ */ t(
|
|
172
|
+
/* @__PURE__ */ t(Ee, { children: /* @__PURE__ */ t(
|
|
171
173
|
at,
|
|
172
174
|
{
|
|
173
175
|
onOpenChange: le,
|
|
@@ -175,8 +177,8 @@ const ft = ({
|
|
|
175
177
|
ref: v
|
|
176
178
|
}
|
|
177
179
|
) }),
|
|
178
|
-
/* @__PURE__ */ t(
|
|
179
|
-
|
|
180
|
+
/* @__PURE__ */ t(Ee, { children: /* @__PURE__ */ t(
|
|
181
|
+
pe,
|
|
180
182
|
{
|
|
181
183
|
mode: "light",
|
|
182
184
|
focusMode: "light",
|
|
@@ -251,7 +253,7 @@ const ft = ({
|
|
|
251
253
|
children: [
|
|
252
254
|
/* @__PURE__ */ n("p", { className: "text-sm", children: [
|
|
253
255
|
"What would you like ",
|
|
254
|
-
/* @__PURE__ */ t("em", { children:
|
|
256
|
+
/* @__PURE__ */ t("em", { children: Qe }),
|
|
255
257
|
" to know about you to provide better responses?"
|
|
256
258
|
] }),
|
|
257
259
|
/* @__PURE__ */ t(
|
|
@@ -295,7 +297,7 @@ const ft = ({
|
|
|
295
297
|
}
|
|
296
298
|
),
|
|
297
299
|
/* @__PURE__ */ t(
|
|
298
|
-
|
|
300
|
+
pe,
|
|
299
301
|
{
|
|
300
302
|
className: "mt-2",
|
|
301
303
|
size: "small",
|
|
@@ -316,7 +318,7 @@ const ft = ({
|
|
|
316
318
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
317
319
|
noBorder: !0,
|
|
318
320
|
children: [
|
|
319
|
-
/* @__PURE__ */ t("p", { className: "text-sm", children:
|
|
321
|
+
/* @__PURE__ */ t("p", { className: "text-sm", children: tt }),
|
|
320
322
|
L.prompts && L.prompts.slice(0, 3).map((e) => /* @__PURE__ */ n(
|
|
321
323
|
f,
|
|
322
324
|
{
|
|
@@ -450,7 +452,7 @@ const ft = ({
|
|
|
450
452
|
subLabel: r.SETTINGS_ADVANCED.THEME_MODE_DESCRIPTION,
|
|
451
453
|
name: "enable-alternative-theme",
|
|
452
454
|
onChange: Be,
|
|
453
|
-
checked: ne ===
|
|
455
|
+
checked: ne === ue
|
|
454
456
|
}
|
|
455
457
|
),
|
|
456
458
|
/* @__PURE__ */ t(
|
|
@@ -464,7 +466,7 @@ const ft = ({
|
|
|
464
466
|
subLabel: r.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION,
|
|
465
467
|
name: "enable-full-screen",
|
|
466
468
|
onChange: Re,
|
|
467
|
-
checked:
|
|
469
|
+
checked: E
|
|
468
470
|
}
|
|
469
471
|
),
|
|
470
472
|
/* @__PURE__ */ t(
|
|
@@ -483,16 +485,16 @@ const ft = ({
|
|
|
483
485
|
),
|
|
484
486
|
N && /* @__PURE__ */ n("div", { className: "mt-4 p-3 border border-dashed border-neutral-700 dark:border-neutral-400 rounded @container/optimizations", children: [
|
|
485
487
|
/* @__PURE__ */ t("h3", { className: "m-0 mb-2 text-xs uppercase opacity-70", children: "Cache Info" }),
|
|
486
|
-
|
|
488
|
+
p ? /* @__PURE__ */ n("div", { className: "text-xs space-y-2", children: [
|
|
487
489
|
/* @__PURE__ */ n("p", { className: "m-0", children: [
|
|
488
490
|
"Version: ",
|
|
489
|
-
/* @__PURE__ */ t("strong", { children:
|
|
491
|
+
/* @__PURE__ */ t("strong", { children: p.version })
|
|
490
492
|
] }),
|
|
491
493
|
/* @__PURE__ */ n("p", { className: "m-0", children: [
|
|
492
494
|
"Total Items: ",
|
|
493
|
-
/* @__PURE__ */ t("strong", { children:
|
|
495
|
+
/* @__PURE__ */ t("strong", { children: p.totalItems })
|
|
494
496
|
] }),
|
|
495
|
-
|
|
497
|
+
p.caches.map((e) => /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("ul", { className: "not-prose font-mono mt-2 list-none w-[95cqw]", children: e.urls.map((a) => /* @__PURE__ */ t(
|
|
496
498
|
"li",
|
|
497
499
|
{
|
|
498
500
|
className: "truncate text-xs text-copy-dark dark:text-copy-light overflow-hidden text-ellipsis",
|
|
@@ -501,7 +503,7 @@ const ft = ({
|
|
|
501
503
|
},
|
|
502
504
|
a
|
|
503
505
|
)) }) }, e.name)),
|
|
504
|
-
|
|
506
|
+
p.totalItems === 0 && !Z && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
|
|
505
507
|
] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: Z ? "Loading cache info..." : "No cache info available." })
|
|
506
508
|
] })
|
|
507
509
|
]
|
|
@@ -512,5 +514,5 @@ const ft = ({
|
|
|
512
514
|
) : null;
|
|
513
515
|
};
|
|
514
516
|
export {
|
|
515
|
-
|
|
517
|
+
Et as SettingsPanel
|
|
516
518
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as l, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import d from "clsx";
|
|
3
3
|
import w, { useContext as p } from "react";
|
|
4
|
-
import { ButtonIcon as I, e
|
|
4
|
+
import { ButtonIcon as I, e as k } from "./LogoEntry.4w_7jmXf.js";
|
|
5
5
|
/*!
|
|
6
|
-
@versini/ui-button
|
|
6
|
+
@versini/ui-button v11.0.0
|
|
7
7
|
© 2025 gizmette.com
|
|
8
8
|
*/
|
|
9
9
|
try {
|
|
10
10
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
11
|
-
version: "
|
|
12
|
-
buildTime: "12/16/2025
|
|
11
|
+
version: "11.0.0",
|
|
12
|
+
buildTime: "12/16/2025 06:21 PM EST",
|
|
13
13
|
homepage: "https://www.npmjs.com/package/@versini/ui-button",
|
|
14
14
|
license: "MIT"
|
|
15
15
|
});
|