@versini/sassysaint 8.72.3 → 8.73.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.
Files changed (26) hide show
  1. package/dist/chunks/{AboutChangelog.BaVovIwT.js → AboutChangelog.Cp9PopiO.js} +2 -2
  2. package/dist/chunks/{AboutEntry.BexEe72F.js → AboutEntry.BOb5_aZI.js} +7 -7
  3. package/dist/chunks/{App.HJ8OjcNd.js → App.Ck78giBC.js} +2310 -2275
  4. package/dist/chunks/{Chart.DHj_C5CU.js → Chart.C1dgaS-F.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.C2NxhySP.js → ChatBubbleAssistant.CT2jmjen.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.urjT1Sdg.js → ChatBubbleUser.CM1FzHNQ.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable.DSGJqIoP.js → ChatHistoryTable._Rzl_5Sk.js} +3 -3
  8. package/dist/chunks/{HistoryEntry.PDsk0uAb.js → HistoryEntry.DM6RInwR.js} +3 -3
  9. package/dist/chunks/{ProfileEntry.kywCcS_E.js → ProfileEntry.Naot3F9p.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.CB_MJ5IS.js → SettingsEntry.Du0GDXgA.js} +101 -100
  11. package/dist/chunks/{Table.DYvNevNY.js → Table.JtsJZQLY.js} +2 -2
  12. package/dist/chunks/{UsageEntry.DI19bWph.js → UsageEntry.C18Kaf6V.js} +3 -3
  13. package/dist/chunks/{UserMemoriesPanel.5_VruK6N.js → UserMemoriesPanel.C9gXdvcN.js} +4 -4
  14. package/dist/chunks/{index.KH6o-K7D.js → index.BYZBF4_0.js} +1 -1
  15. package/dist/chunks/{index.DjfdeQTy.js → index.Ce0bioPG.js} +1 -1
  16. package/dist/chunks/{index.DfkAbrhT.js → index.D0pvrKFC.js} +1 -1
  17. package/dist/chunks/{index.DPdhQccX.js → index.DBqrJ-of.js} +2 -2
  18. package/dist/chunks/{index.1AQ-LDj6.js → index.DTBMKq5O.js} +651 -649
  19. package/dist/chunks/{index.eneNSOKh.js → index.DdEAWm8o.js} +1 -1
  20. package/dist/chunks/{index.3mZhoz3R.js → index.GppF30Qs.js} +1 -1
  21. package/dist/chunks/{index.3GGd3G3_.js → index.ce_hM2eo.js} +3 -3
  22. package/dist/chunks/{useMarkdown.C4_PqYi7.js → useMarkdown.CfYCs10-.js} +6 -6
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +1 -1
  26. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import { jsx as Ap } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.HJ8OjcNd.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.Ck78giBC.js";
3
3
  import Cp, { useState as Pp, useEffect as Op } from "react";
4
- import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.1AQ-LDj6.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.DTBMKq5O.js";
5
5
  var ls = { exports: {} }, Ip = ls.exports, on;
6
6
  function Dp() {
7
7
  return on || (on = 1, (function(we, he) {
@@ -1,10 +1,10 @@
1
1
  import { jsx as x } from "react/jsx-runtime";
2
- import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, Y as L } from "./index.1AQ-LDj6.js";
3
- import { BUBBLE_FOOTER_EMPTY as _ } from "./index.KH6o-K7D.js";
2
+ import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, Y as L } from "./index.DTBMKq5O.js";
3
+ import { BUBBLE_FOOTER_EMPTY as _ } from "./index.BYZBF4_0.js";
4
4
  import w from "clsx";
5
5
  import v, { useState as M, useRef as A, useEffect as U, useContext as B } from "react";
6
- import { ChatContext as G, AsyncBubble as E } from "./App.HJ8OjcNd.js";
7
- import { useMarkdown as D } from "./useMarkdown.C4_PqYi7.js";
6
+ import { ChatContext as G, AsyncBubble as E } from "./App.Ck78giBC.js";
7
+ import { useMarkdown as D } from "./useMarkdown.CfYCs10-.js";
8
8
  const j = 2, q = j * 1e3, b = "", I = (e) => e * (2 - e);
9
9
  function W(e, n = !0) {
10
10
  const [a, p] = M(0), [i, C] = M(0), [t, T] = M(e), r = A(0), s = A(0);
@@ -1,8 +1,8 @@
1
1
  import { jsx as n, Fragment as b, jsxs as A } from "react/jsx-runtime";
2
2
  import { useState as C, useMemo as u, isValidElement as p, useEffect as I } from "react";
3
- import { AsyncBubble as w } from "./App.HJ8OjcNd.js";
4
- import { useMarkdown as _ } from "./useMarkdown.C4_PqYi7.js";
5
- import { C as M } from "./index.1AQ-LDj6.js";
3
+ import { AsyncBubble as w } from "./App.Ck78giBC.js";
4
+ import { useMarkdown as _ } from "./useMarkdown.CfYCs10-.js";
5
+ import { C as M } from "./index.DTBMKq5O.js";
6
6
  const R = 200, N = ({
7
7
  string: e,
8
8
  idealLength: r = R
@@ -1,9 +1,9 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { I as g, Z as N, J as C, INFINITE_SCROLL_THRESHOLD as A, CARDS as E, pluralize as y, te as p, numberFormatter as k, ot as b, isProbablyMobile as D, c as U, r as B, O as I } from "./index.1AQ-LDj6.js";
3
- import { st as u, p$1 as P, z as L, p$2 as V } from "./App.HJ8OjcNd.js";
2
+ import { I as g, Z as N, J as C, INFINITE_SCROLL_THRESHOLD as A, CARDS as E, pluralize as y, te as p, numberFormatter as k, ot as b, isProbablyMobile as D, c as U, r as B, O as I } from "./index.DTBMKq5O.js";
3
+ import { st as u, p$1 as P, z as L, p$2 as V } from "./App.Ck78giBC.js";
4
4
  import h from "clsx";
5
5
  import { Fragment as _ } from "react";
6
- import { j as $, D as H, G as M, H as Y, U as F, M as a, F as f, l as G } from "./Table.DYvNevNY.js";
6
+ import { j as $, D as H, G as M, H as Y, U as F, M as a, F as f, l as G } from "./Table.JtsJZQLY.js";
7
7
  const K = ({
8
8
  className: l,
9
9
  viewBox: c,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as n, jsx as t, Fragment as X } from "react/jsx-runtime";
2
- import { I as Z, n as P, INFINITE_SCROLL_LIMIT as F, INFINITE_SCROLL_THRESHOLD as ee, LOCAL_STORAGE_PREFIX as T, LOCAL_STORAGE_SORT_TIMESTAMP as te, LOCAL_STORAGE_SORT_TOKEN_USAGE as re, LOCAL_STORAGE_SORT as ae, Z as L, useUserPreferences as se, useDeleteChat as oe, useToggleFavoriteChat as ie, APP_CLASSNAME as ne, TOAST_CHAT_DELETED as ce, graphQLRequest as le, SERVICE_TYPES as de, setNewProvider as he, ACTION_SORT as me, J as ue, TOAST_PROVIDER_CHANGED as Ce, useChatsHistory as Se, LOCAL_STORAGE_SEARCH as pe, LOCAL_STORAGE_FAVORITES_ONLY as ye, HISTORY_TITLE as fe, S as Te, Y$1 as ge, debounce as Ae, C as Ee, ACTION_SEARCH as ve } from "./index.1AQ-LDj6.js";
3
- import { HistoryContext as V, ChatContext as z, useAiChat as _e, E as g, e as m, ConfirmationPanel as De, LazyToastContainerWrapper as Oe, showErrorToast as Le, CHAT_SET_PROVIDER as Re, showSuccessToast as Ie, CHAT_SET_STATUS as ke, oe as Ne, G as be } from "./App.HJ8OjcNd.js";
2
+ import { I as Z, n as P, INFINITE_SCROLL_LIMIT as F, INFINITE_SCROLL_THRESHOLD as ee, LOCAL_STORAGE_PREFIX as T, LOCAL_STORAGE_SORT_TIMESTAMP as te, LOCAL_STORAGE_SORT_TOKEN_USAGE as re, LOCAL_STORAGE_SORT as ae, Z as L, useUserPreferences as se, useDeleteChat as oe, useToggleFavoriteChat as ie, APP_CLASSNAME as ne, TOAST_CHAT_DELETED as ce, graphQLRequest as le, SERVICE_TYPES as de, setNewProvider as he, ACTION_SORT as me, J as ue, TOAST_PROVIDER_CHANGED as Ce, useChatsHistory as Se, LOCAL_STORAGE_SEARCH as pe, LOCAL_STORAGE_FAVORITES_ONLY as ye, HISTORY_TITLE as fe, S as Te, Y$1 as ge, debounce as Ae, C as Ee, ACTION_SEARCH as ve } from "./index.DTBMKq5O.js";
3
+ import { HistoryContext as V, ChatContext as z, useAiChat as _e, E as g, e as m, ConfirmationPanel as De, LazyToastContainerWrapper as Oe, showErrorToast as Le, CHAT_SET_PROVIDER as Re, showSuccessToast as Ie, CHAT_SET_STATUS as ke, oe as Ne, G as be } from "./App.Ck78giBC.js";
4
4
  import { useRef as w, useState as x, useContext as R, useCallback as we, useEffect as G, Suspense as xe, lazy as He } from "react";
5
5
  const Fe = ({
6
6
  className: l,
@@ -31,7 +31,7 @@ const Fe = ({
31
31
  ), Pe = He(
32
32
  () => import(
33
33
  /* webpackChunkName: "history-table" */
34
- "./ChatHistoryTable.DSGJqIoP.js"
34
+ "./ChatHistoryTable._Rzl_5Sk.js"
35
35
  ).then((l) => ({ default: l.ChatHistoryTable }))
36
36
  ), Ve = ({
37
37
  filteredHistory: l,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, Fragment as D, jsx as e } from "react/jsx-runtime";
2
- import { preloadToast as K, showSuccessToast as W, showErrorToast as Y, ConfirmationPanel as H, LazyToastContainerWrapper as $, oe as V } from "./App.HJ8OjcNd.js";
3
- import { n as q, i as J, useUserPreferences as Q, useServerCapabilities as X, x as Z, setUserPlan as ee, S as d, renderDataAsList as ae, CARDS as s, L as f, j as c, C as se, it as ne, isTauri as re, te, l as b, PROFILE_TITLE as le } from "./index.1AQ-LDj6.js";
2
+ import { preloadToast as K, showSuccessToast as W, showErrorToast as Y, ConfirmationPanel as H, LazyToastContainerWrapper as $, oe as V } from "./App.Ck78giBC.js";
3
+ import { n as q, i as J, useUserPreferences as Q, useServerCapabilities as X, x as Z, setUserPlan as ee, S as d, renderDataAsList as ae, CARDS as s, L as f, j as c, C as se, it as ne, isTauri as re, te, l as b, PROFILE_TITLE as le } from "./index.DTBMKq5O.js";
4
4
  import ie from "clsx";
5
5
  import { useState as m, useMemo as ce, useCallback as P } from "react";
6
6
  const oe = () => {
@@ -1,105 +1,106 @@
1
1
  import { jsxs as s, jsx as t, Fragment as y } from "react/jsx-runtime";
2
- import { n as ye, useEntitlements as Me, useUserPreferences as ve, nt as ae, LOCAL_STORAGE_OLED_MODE as Le, canEvaluateModels as Oe, et as _e, DATA_OLED_MODE as ne, getCacheInfo as Ae, isServiceWorkerEnabled as xe, SETTINGS_TITLE as Re, S as m, CARDS as r, Q as Be, C as M, PROMPTS_DESCRIPTION as Pe, L as Ge, j as re, getCurrentGeoLocation as Ue, graphQLRequest as le, handleServiceWorkerToggle as Ve, SERVICE_TYPES as ce } from "./index.1AQ-LDj6.js";
3
- import { useCapability as ie, E as We, oe as $e, G as l } from "./App.HJ8OjcNd.js";
4
- import { Re as de } from "./index.3mZhoz3R.js";
5
- import { useState as n, useMemo as ze, useCallback as me, useEffect as v } from "react";
6
- const Qe = ({
7
- open: ue,
2
+ import { n as ye, useEntitlements as De, useUserPreferences as Me, nt as se, LOCAL_STORAGE_OLED_MODE as Le, canEvaluateModels as Oe, et as ve, getCacheInfo as _e, isServiceWorkerEnabled as xe, applyOledMode as ae, SETTINGS_TITLE as Ae, S as m, CARDS as r, Q as Re, C as D, PROMPTS_DESCRIPTION as Be, L as Pe, j as ne, getCurrentGeoLocation as Ge, graphQLRequest as re, handleServiceWorkerToggle as Ue, SERVICE_TYPES as le } from "./index.DTBMKq5O.js";
3
+ import { AppContext as Ve, useCapability as ce, E as We, oe as $e, G as l, APP_SET_OLED_MODE as ze } from "./App.Ck78giBC.js";
4
+ import { Re as ie } from "./index.GppF30Qs.js";
5
+ import { useContext as je, useState as n, useMemo as He, useCallback as Ye, useEffect as M } from "react";
6
+ const Xe = ({
7
+ open: de,
8
8
  onOpenChange: L
9
9
  }) => {
10
- const { getAccessToken: f, user: O } = ye(), { allowedModels: T, status: _ } = Me(), {
10
+ const { getAccessToken: f, user: O } = ye(), { allowedModels: T, status: v } = De(), { dispatch: me } = je(Ve), {
11
11
  data: o,
12
- isSuccess: he,
13
- refetch: A
14
- } = ve({
12
+ isSuccess: ue,
13
+ refetch: _
14
+ } = Me({
15
15
  user: O?.username,
16
16
  getAccessToken: f
17
17
  }), [x, p] = n({
18
18
  loadingLocation: !1
19
- }), [C, R] = n({
19
+ }), [C, A] = n({
20
20
  prompts: []
21
- }), [B, P] = n(""), [G, E] = n(""), [U, V] = n(!1), [W, $] = n(!1), [g, z] = n(!1), [N, j] = n(!1), [H, Y] = n(!1), [q, F] = n(!1), [u, Q] = n(null), [K, J] = n(!1), [X, Z] = n(!1), ee = ie(ae.TOOL.MEMORIES), te = ie(ae.ADDON.REASONING), [I, pe] = We({
21
+ }), [R, B] = n(""), [P, E] = n(""), [G, U] = n(!1), [V, W] = n(!1), [g, $] = n(!1), [N, z] = n(!1), [j, H] = n(!1), [Y, q] = n(!1), [u, F] = n(null), [Q, K] = n(!1), [J, X] = n(!1), Z = ce(se.TOOL.MEMORIES), ee = ce(se.ADDON.REASONING), [I, he] = We({
22
22
  key: Le,
23
23
  initialValue: !1
24
- }), Ee = ze(() => Oe(T, _) ? _e(T) : !1, [T, _]), ge = (e) => {
25
- Z(e);
24
+ }), pe = He(() => Oe(T, v) ? ve(T) : !1, [T, v]), Ee = (e) => {
25
+ X(e);
26
+ }, ge = (e) => {
27
+ U(e);
26
28
  }, Ne = (e) => {
27
- V(e);
29
+ Z && W(e);
28
30
  }, Se = (e) => {
29
- ee && $(e);
31
+ z(e);
30
32
  }, fe = (e) => {
31
- j(e);
33
+ ee && H(e);
32
34
  }, Te = (e) => {
33
- te && Y(e);
35
+ q(e);
34
36
  }, Ce = (e) => {
35
- F(e);
36
- }, b = me((e) => {
37
- e ? document.documentElement.setAttribute(ne, "true") : document.documentElement.removeAttribute(ne);
38
- }, []), Ie = (e) => {
39
- pe(e), b(e);
40
- }, be = async (e) => {
37
+ he(e), ae(e), me({
38
+ type: ze,
39
+ payload: { oledMode: e }
40
+ });
41
+ }, Ie = async (e) => {
41
42
  e.preventDefault();
42
43
  try {
43
- await le({
44
+ await re({
44
45
  accessToken: await f(),
45
- type: ce.SET_USER_PREFERENCES,
46
+ type: le.SET_USER_PREFERENCES,
46
47
  params: {
47
48
  user: O?.username,
48
- instructions: B,
49
- location: G,
49
+ instructions: R,
50
+ location: P,
50
51
  provider: o?.provider,
51
52
  tags: C.prompts,
52
- sendOnEnter: U,
53
- useMemory: W,
54
- showDetails: X,
55
- showReasoningButton: H,
56
- useNestedModelSelection: q
53
+ sendOnEnter: G,
54
+ useMemory: V,
55
+ showDetails: J,
56
+ showReasoningButton: j,
57
+ useNestedModelSelection: Y
57
58
  }
58
- }), N !== g && (await Ve(N), z(N)), A(), p({
59
+ }), N !== g && (await Ue(N), $(N)), _(), p({
59
60
  loadingLocation: !1
60
61
  });
61
62
  } catch {
62
63
  }
63
- }, ke = async () => {
64
+ }, be = async () => {
64
65
  p({
65
66
  loadingLocation: !0
66
67
  }), E("...");
67
68
  try {
68
- const e = Date.now(), a = await Ue(), S = await le({
69
+ const e = Date.now(), a = await Ge(), S = await re({
69
70
  accessToken: await f(),
70
- type: ce.GET_LOCATION,
71
+ type: le.GET_LOCATION,
71
72
  params: {
72
73
  latitude: a.latitude,
73
74
  longitude: a.longitude
74
75
  }
75
76
  }), d = Date.now() - e;
76
- d < 2e3 && await new Promise((De) => setTimeout(De, 2e3 - d));
77
- const { city: i, state: c, country: h, displayName: D } = S.data, we = i && c && h ? `${i}, ${c}, ${h}` : D;
77
+ d < 2e3 && await new Promise((we) => setTimeout(we, 2e3 - d));
78
+ const { city: i, state: c, country: h, displayName: w } = S.data, ke = i && c && h ? `${i}, ${c}, ${h}` : w;
78
79
  p({
79
80
  loadingLocation: !1
80
- }), E(we);
81
+ }), E(ke);
81
82
  } catch {
82
83
  p({
83
84
  loadingLocation: !1
84
85
  });
85
86
  }
86
- }, oe = () => {
87
- A(), L(!1);
88
- }, k = ({
87
+ }, te = () => {
88
+ _(), L(!1);
89
+ }, b = ({
89
90
  enabled: e = !1,
90
91
  privateChat: a = !1,
91
92
  clipboardAccess: S = !1,
92
- ...w
93
+ ...k
93
94
  }) => {
94
- R((d) => {
95
+ A((d) => {
95
96
  const i = d.prompts, c = {
96
- ...w,
97
+ ...k,
97
98
  enabled: e,
98
99
  privateChat: a,
99
100
  clipboardAccess: S
100
101
  };
101
102
  S ? c.content = c.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : c.content = c.content.replace(/{{clipboard}}/g, "");
102
- const h = i.findIndex((D) => D.slot === w.slot);
103
+ const h = i.findIndex((w) => w.slot === k.slot);
103
104
  return h === -1 ? {
104
105
  ...d,
105
106
  prompts: [...i, { ...c }]
@@ -108,59 +109,59 @@ const Qe = ({
108
109
  prompts: [...i]
109
110
  });
110
111
  });
111
- }, se = me(async () => {
112
+ }, oe = Ye(async () => {
112
113
  try {
113
- J(!0);
114
- const e = await Ae();
115
- Q(e);
114
+ K(!0);
115
+ const e = await _e();
116
+ F(e);
116
117
  } catch {
117
118
  } finally {
118
- J(!1);
119
+ K(!1);
119
120
  }
120
121
  }, []);
121
- return v(() => {
122
+ return M(() => {
122
123
  if (!o)
123
124
  return;
124
- o.instructions && P(o.instructions), o.location && E(o.location), o.tags && R({ prompts: o.tags }), o.sendOnEnter !== void 0 && V(o.sendOnEnter), o.useMemory !== void 0 && $(o.useMemory), o.showDetails !== void 0 && Z(o.showDetails), o.showReasoningButton !== void 0 && Y(o.showReasoningButton), o.useNestedModelSelection !== void 0 && F(o.useNestedModelSelection);
125
+ o.instructions && B(o.instructions), o.location && E(o.location), o.tags && A({ prompts: o.tags }), o.sendOnEnter !== void 0 && U(o.sendOnEnter), o.useMemory !== void 0 && W(o.useMemory), o.showDetails !== void 0 && X(o.showDetails), o.showReasoningButton !== void 0 && H(o.showReasoningButton), o.useNestedModelSelection !== void 0 && q(o.useNestedModelSelection);
125
126
  const e = xe();
126
- z(e), j(e);
127
- }, [o]), v(() => {
128
- g ? se() : Q(null);
129
- }, [g, se]), v(() => {
130
- b(I);
131
- }, [I, b]), he ? /* @__PURE__ */ s(
127
+ $(e), z(e);
128
+ }, [o]), M(() => {
129
+ g ? oe() : F(null);
130
+ }, [g, oe]), M(() => {
131
+ ae(I);
132
+ }, [I]), ue ? /* @__PURE__ */ s(
132
133
  $e,
133
134
  {
134
- open: ue,
135
- onOpenChange: oe,
136
- title: Re,
135
+ open: de,
136
+ onOpenChange: te,
137
+ title: Ae,
137
138
  animation: !0,
138
139
  animationType: "fade",
139
140
  footer: /* @__PURE__ */ s(
140
- Ge,
141
+ Pe,
141
142
  {
142
143
  columnGap: 2,
143
144
  alignHorizontal: "flex-end",
144
145
  className: "pb-8 sm:pb-0",
145
146
  children: [
146
- /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
147
- M,
147
+ /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ t(
148
+ D,
148
149
  {
149
150
  mode: "dark",
150
151
  variant: "secondary",
151
152
  focusMode: "light",
152
153
  noBorder: !0,
153
- onClick: oe,
154
+ onClick: te,
154
155
  children: "Cancel"
155
156
  }
156
157
  ) }),
157
- /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
158
- M,
158
+ /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ t(
159
+ D,
159
160
  {
160
161
  mode: "dark",
161
162
  focusMode: "light",
162
163
  onClick: async (e) => {
163
- L(!1), await be(e);
164
+ L(!1), await Ie(e);
164
165
  },
165
166
  children: "Save"
166
167
  }
@@ -185,8 +186,8 @@ const Qe = ({
185
186
  className: "mt-2",
186
187
  label: "Show Message Statistics",
187
188
  name: "show-message-statistics",
188
- onChange: ge,
189
- checked: X
189
+ onChange: Ee,
190
+ checked: J
190
191
  }
191
192
  ),
192
193
  /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_DETAILS.SEND_ON_ENTER }),
@@ -198,11 +199,11 @@ const Qe = ({
198
199
  className: "mt-2",
199
200
  label: "Send Message on Enter",
200
201
  name: "send-message-on-enter",
201
- onChange: Ne,
202
- checked: U
202
+ onChange: ge,
203
+ checked: G
203
204
  }
204
205
  ),
205
- ee && /* @__PURE__ */ s(y, { children: [
206
+ Z && /* @__PURE__ */ s(y, { children: [
206
207
  /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_DETAILS.USE_MEMORY }),
207
208
  /* @__PURE__ */ t(
208
209
  l,
@@ -212,8 +213,8 @@ const Qe = ({
212
213
  className: "mt-2",
213
214
  label: "Use Memory",
214
215
  name: "use-memory",
215
- onChange: Se,
216
- checked: W
216
+ onChange: Ne,
217
+ checked: V
217
218
  }
218
219
  )
219
220
  ] })
@@ -229,11 +230,11 @@ const Qe = ({
229
230
  children: [
230
231
  /* @__PURE__ */ s("p", { className: "text-sm", children: [
231
232
  "What would you like ",
232
- /* @__PURE__ */ t("em", { children: Be }),
233
+ /* @__PURE__ */ t("em", { children: Re }),
233
234
  " to know about you to provide better responses?"
234
235
  ] }),
235
236
  /* @__PURE__ */ t(
236
- de,
237
+ ie,
237
238
  {
238
239
  mode: "alt-system",
239
240
  autoCapitalize: "off",
@@ -241,9 +242,9 @@ const Qe = ({
241
242
  autoCorrect: "off",
242
243
  name: "customInstructions",
243
244
  label: "Custom Instructions",
244
- value: B,
245
+ value: R,
245
246
  onChange: (e) => {
246
- P(e.target.value);
247
+ B(e.target.value);
247
248
  },
248
249
  helperText: "Press ENTER to add a new line."
249
250
  }
@@ -260,12 +261,12 @@ const Qe = ({
260
261
  children: [
261
262
  /* @__PURE__ */ t("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
262
263
  /* @__PURE__ */ t(
263
- de,
264
+ ie,
264
265
  {
265
266
  mode: "alt-system",
266
267
  name: "location",
267
268
  label: "Location",
268
- value: G,
269
+ value: P,
269
270
  onChange: (e) => {
270
271
  E(e.target.value);
271
272
  },
@@ -273,14 +274,14 @@ const Qe = ({
273
274
  }
274
275
  ),
275
276
  /* @__PURE__ */ t(
276
- M,
277
+ D,
277
278
  {
278
279
  className: "mt-2",
279
280
  size: "small",
280
281
  noBorder: !0,
281
282
  variant: "secondary",
282
283
  disabled: x.loadingLocation,
283
- onClick: ke,
284
+ onClick: be,
284
285
  children: x.loadingLocation ? "Detecting..." : "Auto-detect"
285
286
  }
286
287
  )
@@ -294,7 +295,7 @@ const Qe = ({
294
295
  className: "prose-dark dark:prose-lighter mt-4",
295
296
  noBorder: !0,
296
297
  children: [
297
- /* @__PURE__ */ t("p", { className: "text-sm", children: Pe }),
298
+ /* @__PURE__ */ t("p", { className: "text-sm", children: Be }),
298
299
  C.prompts && C.prompts.slice(0, 3).map((e) => /* @__PURE__ */ s(
299
300
  m,
300
301
  {
@@ -315,7 +316,7 @@ const Qe = ({
315
316
  label: "Enabled",
316
317
  name: e.slot.toString(),
317
318
  onChange: (a) => {
318
- k({
319
+ b({
319
320
  ...e,
320
321
  enabled: a
321
322
  });
@@ -334,7 +335,7 @@ const Qe = ({
334
335
  label: "Private Chat",
335
336
  name: `private-${e.slot.toString()}`,
336
337
  onChange: (a) => {
337
- k({
338
+ b({
338
339
  ...e,
339
340
  privateChat: a
340
341
  });
@@ -353,7 +354,7 @@ const Qe = ({
353
354
  label: "Use Clipboard",
354
355
  name: `clipboard-${e.slot.toString()}`,
355
356
  onChange: (a) => {
356
- k({
357
+ b({
357
358
  ...e,
358
359
  clipboardAccess: a
359
360
  });
@@ -375,7 +376,7 @@ const Qe = ({
375
376
  className: "prose-dark dark:prose-lighter mt-4 ",
376
377
  noBorder: !0,
377
378
  children: [
378
- te && /* @__PURE__ */ s(y, { children: [
379
+ ee && /* @__PURE__ */ s(y, { children: [
379
380
  /* @__PURE__ */ t("p", { className: "text-sm", children: r.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION }),
380
381
  /* @__PURE__ */ t(
381
382
  l,
@@ -385,12 +386,12 @@ const Qe = ({
385
386
  className: "mt-2",
386
387
  label: "Show Reasoning Button",
387
388
  name: "show-reasoning-button",
388
- onChange: Te,
389
- checked: H
389
+ onChange: fe,
390
+ checked: j
390
391
  }
391
392
  )
392
393
  ] }),
393
- Ee && /* @__PURE__ */ s(y, { children: [
394
+ pe && /* @__PURE__ */ s(y, { children: [
394
395
  /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION }),
395
396
  /* @__PURE__ */ t(
396
397
  l,
@@ -400,8 +401,8 @@ const Qe = ({
400
401
  className: "mt-2",
401
402
  label: "Enable Model Selection",
402
403
  name: "use-nested-model-selection",
403
- onChange: Ce,
404
- checked: q
404
+ onChange: Te,
405
+ checked: Y
405
406
  }
406
407
  )
407
408
  ] }),
@@ -414,7 +415,7 @@ const Qe = ({
414
415
  className: "mt-2",
415
416
  label: "Enable OLED Mode",
416
417
  name: "enable-oled-mode",
417
- onChange: Ie,
418
+ onChange: Ce,
418
419
  checked: I
419
420
  }
420
421
  ),
@@ -427,7 +428,7 @@ const Qe = ({
427
428
  className: "mt-2",
428
429
  label: "Enable Assets Caching",
429
430
  name: "enable-service-worker",
430
- onChange: fe,
431
+ onChange: Se,
431
432
  checked: N
432
433
  }
433
434
  ),
@@ -451,8 +452,8 @@ const Qe = ({
451
452
  },
452
453
  a
453
454
  )) }) }, e.name)),
454
- u.totalItems === 0 && !K && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
455
- ] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: K ? "Loading cache info..." : "No cache info available." })
455
+ u.totalItems === 0 && !Q && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
456
+ ] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: Q ? "Loading cache info..." : "No cache info available." })
456
457
  ] })
457
458
  ]
458
459
  }
@@ -462,5 +463,5 @@ const Qe = ({
462
463
  ) : null;
463
464
  };
464
465
  export {
465
- Qe as SettingsPanel
466
+ Xe as SettingsPanel
466
467
  };
@@ -1,8 +1,8 @@
1
1
  import { jsxs as _, jsx as r } from "react/jsx-runtime";
2
- import { I as f, b as v } from "./index.1AQ-LDj6.js";
2
+ import { I as f, b as v } from "./index.DTBMKq5O.js";
3
3
  import C, { useContext as b } from "react";
4
4
  import o from "clsx";
5
- import { e as k } from "./App.HJ8OjcNd.js";
5
+ import { e as k } from "./App.Ck78giBC.js";
6
6
  const L = ({
7
7
  className: e,
8
8
  viewBox: a,
@@ -1,13 +1,13 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as A, C as i, pluralize as h } from "./index.1AQ-LDj6.js";
3
- import { oe as H } from "./App.HJ8OjcNd.js";
2
+ import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as A, C as i, pluralize as h } from "./index.DTBMKq5O.js";
3
+ import { oe as H } from "./App.Ck78giBC.js";
4
4
  import { useState as C, Suspense as K, lazy as j } from "react";
5
5
  const s = [0, 3, 6, 9], n = {
6
6
  TOKEN: "token",
7
7
  MODEL: "model"
8
8
  }, w = j(() => import(
9
9
  /* webpackChunkName: "LazyChart" */
10
- "./Chart.DHj_C5CU.js"
10
+ "./Chart.C1dgaS-F.js"
11
11
  )), R = ({
12
12
  open: k,
13
13
  onOpenChange: E
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e, Fragment as _ } from "react/jsx-runtime";
2
- import { I as se, L as O, j as y, C as v, n as ce, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as oe, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ie, useUserMemories as ae, useDeleteMemory as de, useDeleteAllMemories as me, useUpdateMemory as he, te as B } from "./index.1AQ-LDj6.js";
3
- import { oe as V, E as F, e as g, ConfirmationPanel as G, st as H } from "./App.HJ8OjcNd.js";
2
+ import { I as se, L as O, j as y, C as v, n as ce, LOCAL_STORAGE_PREFIX as q, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as oe, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ie, useUserMemories as ae, useDeleteMemory as de, useDeleteAllMemories as me, useUpdateMemory as he, te as B } from "./index.DTBMKq5O.js";
3
+ import { oe as V, E as F, e as g, ConfirmationPanel as G, st as H } from "./App.Ck78giBC.js";
4
4
  import E from "clsx";
5
5
  import { useState as x, useEffect as xe, useRef as j } from "react";
6
- import { Re as ue } from "./index.3mZhoz3R.js";
7
- import { j as pe, D as fe, G as b, M as d, F as ge, H as ye, l as Ce, U as Ne } from "./Table.DYvNevNY.js";
6
+ import { Re as ue } from "./index.GppF30Qs.js";
7
+ import { j as pe, D as fe, G as b, M as d, F as ge, H as ye, l as Ce, U as Ne } from "./Table.JtsJZQLY.js";
8
8
  const Ae = ({
9
9
  className: a,
10
10
  viewBox: m,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
- import { te as B } from "./index.1AQ-LDj6.js";
2
+ import { te as B } from "./index.DTBMKq5O.js";
3
3
  import { useState as I, useEffect as k } from "react";
4
4
  import s from "clsx";
5
5
  const h = "av-bubble", w = ({
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.C4_PqYi7.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.CfYCs10-.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.C4_PqYi7.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.CfYCs10-.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.C4_PqYi7.js";
2
- import { toText as Ca } from "./index.DfkAbrhT.js";
1
+ import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.CfYCs10-.js";
2
+ import { toText as Ca } from "./index.D0pvrKFC.js";
3
3
  const Gt = /[#.]/g;
4
4
  function qa(r, e) {
5
5
  const t = r || "", a = {};