@versini/sassysaint 8.73.3 → 8.74.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.
Files changed (27) hide show
  1. package/dist/chunks/{AboutChangelog.661DKCgk.js → AboutChangelog.CqWjW39N.js} +2 -2
  2. package/dist/chunks/{AboutEntry.DiCPTiLj.js → AboutEntry.0Ccenpf3.js} +7 -7
  3. package/dist/chunks/{App.5gxvd-4-.js → App.YrWB4OwR.js} +1749 -1732
  4. package/dist/chunks/{Chart.DTAX5Zd_.js → Chart.LfV0zid2.js} +2 -2
  5. package/dist/chunks/ChatBubbleAssistant.E8cXNiqj.js +80 -0
  6. package/dist/chunks/{ChatBubbleUser.Cb2OzGt2.js → ChatBubbleUser.C84VqNux.js} +3 -3
  7. package/dist/chunks/{ChatHistoryTable.DodhSBf9.js → ChatHistoryTable.BsU8G3Xx.js} +3 -3
  8. package/dist/chunks/{HistoryEntry.BHKiSJYf.js → HistoryEntry.Bb22L2B-.js} +3 -3
  9. package/dist/chunks/{ProfileEntry.A_AoGwYv.js → ProfileEntry.CgCQ3J3r.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.D4RhlncR.js → SettingsEntry.DthuyCfx.js} +151 -130
  11. package/dist/chunks/{Table.Uvq7uGxR.js → Table.DWNSOwzN.js} +2 -2
  12. package/dist/chunks/{UsageEntry.DrVVPYLQ.js → UsageEntry.PtMxeqds.js} +3 -3
  13. package/dist/chunks/{UserMemoriesPanel.kh9_pfi_.js → UserMemoriesPanel.CBSFmHg7.js} +4 -4
  14. package/dist/chunks/{index.DtuEQYZN.js → index.7fhQuqoG.js} +1 -1
  15. package/dist/chunks/{index.Dq4WBOGA.js → index.B7RaRKya.js} +1 -1
  16. package/dist/chunks/{index.CJZ4xgED.js → index.B_LtCB1l.js} +2 -2
  17. package/dist/chunks/{index.CCW8q5W5.js → index.BaFTRquS.js} +3 -3
  18. package/dist/chunks/{index.O2zfzZcM.js → index.BtmJY5AI.js} +1 -1
  19. package/dist/chunks/{index.DB7deAkb.js → index.CKriJDCb.js} +140 -131
  20. package/dist/chunks/{index.Dfe22wCV.js → index.Ca4if9H7.js} +1 -1
  21. package/dist/chunks/{index.B6va7ILw.js → index.DJg0NGP9.js} +1 -1
  22. package/dist/chunks/{useMarkdown.DpoGjOrf.js → useMarkdown.Ky0bSmFT.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
  27. package/dist/chunks/ChatBubbleAssistant.C-aLHVG0.js +0 -76
@@ -1,53 +1,61 @@
1
- import { jsxs as s, jsx as t, Fragment as D } from "react/jsx-runtime";
2
- import { n as ye, useEntitlements as De, useUserPreferences as Me, ot 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, $ as Re, C as M, 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.DB7deAkb.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.5gxvd-4-.js";
4
- import { Re as ie } from "./index.DtuEQYZN.js";
5
- import { useContext as je, useState as n, useMemo as He, useCallback as Ye, useEffect as L } from "react";
6
- const Xe = ({
7
- open: de,
8
- onOpenChange: O
1
+ import { jsxs as a, jsx as t, Fragment as D } from "react/jsx-runtime";
2
+ import { n as Me, useEntitlements as Oe, useUserPreferences as ve, ot as se, LOCAL_STORAGE_OLED_MODE as Ae, LOCAL_STORAGE_FULL_SCREEN as Re, canEvaluateModels as xe, Et as Be, getCacheInfo as Pe, isServiceWorkerEnabled as Ge, applyOledMode as ne, SETTINGS_TITLE as Ue, S as m, CARDS as r, $ as Ve, C as L, PROMPTS_DESCRIPTION as Fe, L as We, j as re, getCurrentGeoLocation as $e, graphQLRequest as le, handleServiceWorkerToggle as ze, SERVICE_TYPES as ce } from "./index.CKriJDCb.js";
3
+ import { AppContext as je, useCapability as ie, E as de, oe as He, G as l, APP_SET_OLED_MODE as Ye, APP_SET_FULL_SCREEN as qe } from "./App.YrWB4OwR.js";
4
+ import { Re as me } from "./index.7fhQuqoG.js";
5
+ import { useContext as Ke, useState as n, useMemo as Qe, useCallback as Je, useEffect as _ } from "react";
6
+ const at = ({
7
+ open: ue,
8
+ onOpenChange: M
9
9
  }) => {
10
- const { getAccessToken: f, user: v } = ye(), { allowedModels: T, status: _ } = De(), { dispatch: me } = je(Ve), {
10
+ const { getAccessToken: T, user: O } = Me(), { allowedModels: f, status: v } = Oe(), { dispatch: A } = Ke(je), {
11
11
  data: o,
12
- isSuccess: ue,
13
- refetch: x
14
- } = Me({
15
- user: v?.username,
16
- getAccessToken: f
17
- }), [A, p] = n({
12
+ isSuccess: he,
13
+ refetch: R
14
+ } = ve({
15
+ user: O?.username,
16
+ getAccessToken: T
17
+ }), [x, p] = n({
18
18
  loadingLocation: !1
19
- }), [C, R] = n({
19
+ }), [C, B] = 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), [I, q] = n(!1), [u, F] = n(null), [K, Q] = n(!1), [J, X] = n(!1), Z = ce(se.TOOL.MEMORIES), ee = ce(se.ADDON.REASONING), [b, he] = We({
22
- key: Le,
21
+ }), [P, G] = n(""), [U, E] = n(""), [V, F] = n(!1), [W, $] = n(!1), [S, z] = n(!1), [N, j] = n(!1), [H, Y] = n(!1), [I, q] = n(!1), [u, K] = n(null), [Q, J] = n(!1), [X, Z] = n(!1), ee = ie(se.TOOL.MEMORIES), te = ie(se.ADDON.REASONING), [b, pe] = de({
22
+ key: Ae,
23
23
  initialValue: !1
24
- }), pe = He(() => Oe(T, _) ? ve(T) : !1, [T, _]), Ee = (e) => {
25
- X(e);
26
- }, ge = (e) => {
27
- V(e);
28
- }, Ne = (e) => {
29
- Z && $(e);
30
- }, Se = (e) => {
31
- j(e);
32
- }, fe = (e) => {
33
- ee && Y(e);
24
+ }), [Ee, Se] = de({
25
+ key: Re,
26
+ initialValue: !1
27
+ }), Ne = Qe(() => xe(f, v) ? Be(f) : !1, [f, v]), ge = (e) => {
28
+ Z(e);
34
29
  }, Te = (e) => {
35
- q(e);
30
+ F(e);
31
+ }, fe = (e) => {
32
+ ee && $(e);
36
33
  }, Ce = (e) => {
37
- he(e), ae(e), me({
38
- type: ze,
34
+ j(e);
35
+ }, Ie = (e) => {
36
+ te && Y(e);
37
+ }, be = (e) => {
38
+ q(e);
39
+ }, ke = (e) => {
40
+ pe(e), ne(e), A({
41
+ type: Ye,
39
42
  payload: { oledMode: e }
40
43
  });
41
- }, Ie = async (e) => {
44
+ }, we = (e) => {
45
+ Se(e), A({
46
+ type: qe,
47
+ payload: { fullScreen: e }
48
+ });
49
+ }, ye = async (e) => {
42
50
  e.preventDefault();
43
51
  try {
44
- await re({
45
- accessToken: await f(),
46
- type: le.SET_USER_PREFERENCES,
52
+ await le({
53
+ accessToken: await T(),
54
+ type: ce.SET_USER_PREFERENCES,
47
55
  params: {
48
- user: v?.username,
49
- instructions: B,
50
- location: G,
56
+ user: O?.username,
57
+ instructions: P,
58
+ location: U,
51
59
  provider: o?.provider,
52
60
  /**
53
61
  * When nested model selection is disabled, explicitly clear any stored
@@ -56,56 +64,56 @@ const Xe = ({
56
64
  */
57
65
  model: I && o?.model || "",
58
66
  tags: C.prompts,
59
- sendOnEnter: U,
67
+ sendOnEnter: V,
60
68
  useMemory: W,
61
- showDetails: J,
69
+ showDetails: X,
62
70
  showReasoningButton: H,
63
71
  useNestedModelSelection: I
64
72
  }
65
- }), N !== g && (await Ue(N), z(N)), x(), p({
73
+ }), N !== S && (await ze(N), z(N)), R(), p({
66
74
  loadingLocation: !1
67
75
  });
68
76
  } catch {
69
77
  }
70
- }, be = async () => {
78
+ }, De = async () => {
71
79
  p({
72
80
  loadingLocation: !0
73
81
  }), E("...");
74
82
  try {
75
- const e = Date.now(), a = await Ge(), S = await re({
76
- accessToken: await f(),
77
- type: le.GET_LOCATION,
83
+ const e = Date.now(), s = await $e(), g = await le({
84
+ accessToken: await T(),
85
+ type: ce.GET_LOCATION,
78
86
  params: {
79
- latitude: a.latitude,
80
- longitude: a.longitude
87
+ latitude: s.latitude,
88
+ longitude: s.longitude
81
89
  }
82
90
  }), d = Date.now() - e;
83
- d < 2e3 && await new Promise((we) => setTimeout(we, 2e3 - d));
84
- const { city: i, state: c, country: h, displayName: y } = S.data, ke = i && c && h ? `${i}, ${c}, ${h}` : y;
91
+ d < 2e3 && await new Promise((_e) => setTimeout(_e, 2e3 - d));
92
+ const { city: i, state: c, country: h, displayName: y } = g.data, Le = i && c && h ? `${i}, ${c}, ${h}` : y;
85
93
  p({
86
94
  loadingLocation: !1
87
- }), E(ke);
95
+ }), E(Le);
88
96
  } catch {
89
97
  p({
90
98
  loadingLocation: !1
91
99
  });
92
100
  }
93
- }, te = () => {
94
- x(), O(!1);
101
+ }, oe = () => {
102
+ R(), M(!1);
95
103
  }, k = ({
96
104
  enabled: e = !1,
97
- privateChat: a = !1,
98
- clipboardAccess: S = !1,
105
+ privateChat: s = !1,
106
+ clipboardAccess: g = !1,
99
107
  ...w
100
108
  }) => {
101
- R((d) => {
109
+ B((d) => {
102
110
  const i = d.prompts, c = {
103
111
  ...w,
104
112
  enabled: e,
105
- privateChat: a,
106
- clipboardAccess: S
113
+ privateChat: s,
114
+ clipboardAccess: g
107
115
  };
108
- S ? c.content = c.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : c.content = c.content.replace(/{{clipboard}}/g, "");
116
+ g ? c.content = c.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : c.content = c.content.replace(/{{clipboard}}/g, "");
109
117
  const h = i.findIndex((y) => y.slot === w.slot);
110
118
  return h === -1 ? {
111
119
  ...d,
@@ -115,59 +123,59 @@ const Xe = ({
115
123
  prompts: [...i]
116
124
  });
117
125
  });
118
- }, oe = Ye(async () => {
126
+ }, ae = Je(async () => {
119
127
  try {
120
- Q(!0);
121
- const e = await _e();
122
- F(e);
128
+ J(!0);
129
+ const e = await Pe();
130
+ K(e);
123
131
  } catch {
124
132
  } finally {
125
- Q(!1);
133
+ J(!1);
126
134
  }
127
135
  }, []);
128
- return L(() => {
136
+ return _(() => {
129
137
  if (!o)
130
138
  return;
131
- 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 && X(o.showDetails), o.showReasoningButton !== void 0 && Y(o.showReasoningButton), o.useNestedModelSelection !== void 0 && q(o.useNestedModelSelection);
132
- const e = xe();
139
+ o.instructions && G(o.instructions), o.location && E(o.location), o.tags && B({ prompts: o.tags }), o.sendOnEnter !== void 0 && F(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 && q(o.useNestedModelSelection);
140
+ const e = Ge();
133
141
  z(e), j(e);
134
- }, [o]), L(() => {
135
- g ? oe() : F(null);
136
- }, [g, oe]), L(() => {
137
- ae(b);
138
- }, [b]), ue ? /* @__PURE__ */ s(
139
- $e,
142
+ }, [o]), _(() => {
143
+ S ? ae() : K(null);
144
+ }, [S, ae]), _(() => {
145
+ ne(b);
146
+ }, [b]), he ? /* @__PURE__ */ a(
147
+ He,
140
148
  {
141
- open: de,
142
- onOpenChange: te,
143
- title: Ae,
149
+ open: ue,
150
+ onOpenChange: oe,
151
+ title: Ue,
144
152
  animation: !0,
145
153
  animationType: "fade",
146
- footer: /* @__PURE__ */ s(
147
- Pe,
154
+ footer: /* @__PURE__ */ a(
155
+ We,
148
156
  {
149
157
  columnGap: 2,
150
158
  alignHorizontal: "flex-end",
151
159
  className: "pb-8 sm:pb-0",
152
160
  children: [
153
- /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ t(
154
- M,
161
+ /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
162
+ L,
155
163
  {
156
164
  mode: "dark",
157
165
  variant: "secondary",
158
166
  focusMode: "light",
159
167
  noBorder: !0,
160
- onClick: te,
168
+ onClick: oe,
161
169
  children: "Cancel"
162
170
  }
163
171
  ) }),
164
- /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ t(
165
- M,
172
+ /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
173
+ L,
166
174
  {
167
175
  mode: "dark",
168
176
  focusMode: "light",
169
177
  onClick: async (e) => {
170
- O(!1), await Ie(e);
178
+ M(!1), await ye(e);
171
179
  },
172
180
  children: "Save"
173
181
  }
@@ -176,7 +184,7 @@ const Xe = ({
176
184
  }
177
185
  ),
178
186
  children: [
179
- /* @__PURE__ */ s(
187
+ /* @__PURE__ */ a(
180
188
  m,
181
189
  {
182
190
  header: r.SETTINGS_DETAILS.TITLE,
@@ -192,8 +200,8 @@ const Xe = ({
192
200
  className: "mt-2",
193
201
  label: "Show Message Statistics",
194
202
  name: "show-message-statistics",
195
- onChange: Ee,
196
- checked: J
203
+ onChange: ge,
204
+ checked: X
197
205
  }
198
206
  ),
199
207
  /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_DETAILS.SEND_ON_ENTER }),
@@ -205,11 +213,11 @@ const Xe = ({
205
213
  className: "mt-2",
206
214
  label: "Send Message on Enter",
207
215
  name: "send-message-on-enter",
208
- onChange: ge,
209
- checked: U
216
+ onChange: Te,
217
+ checked: V
210
218
  }
211
219
  ),
212
- Z && /* @__PURE__ */ s(D, { children: [
220
+ ee && /* @__PURE__ */ a(D, { children: [
213
221
  /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_DETAILS.USE_MEMORY }),
214
222
  /* @__PURE__ */ t(
215
223
  l,
@@ -219,7 +227,7 @@ const Xe = ({
219
227
  className: "mt-2",
220
228
  label: "Use Memory",
221
229
  name: "use-memory",
222
- onChange: Ne,
230
+ onChange: fe,
223
231
  checked: W
224
232
  }
225
233
  )
@@ -227,20 +235,20 @@ const Xe = ({
227
235
  ]
228
236
  }
229
237
  ),
230
- /* @__PURE__ */ s(
238
+ /* @__PURE__ */ a(
231
239
  m,
232
240
  {
233
241
  header: "Custom Instructions",
234
242
  className: "prose-dark dark:prose-lighter mt-4",
235
243
  noBorder: !0,
236
244
  children: [
237
- /* @__PURE__ */ s("p", { className: "text-sm", children: [
245
+ /* @__PURE__ */ a("p", { className: "text-sm", children: [
238
246
  "What would you like ",
239
- /* @__PURE__ */ t("em", { children: Re }),
247
+ /* @__PURE__ */ t("em", { children: Ve }),
240
248
  " to know about you to provide better responses?"
241
249
  ] }),
242
250
  /* @__PURE__ */ t(
243
- ie,
251
+ me,
244
252
  {
245
253
  mode: "alt-system",
246
254
  autoCapitalize: "off",
@@ -248,9 +256,9 @@ const Xe = ({
248
256
  autoCorrect: "off",
249
257
  name: "customInstructions",
250
258
  label: "Custom Instructions",
251
- value: B,
259
+ value: P,
252
260
  onChange: (e) => {
253
- P(e.target.value);
261
+ G(e.target.value);
254
262
  },
255
263
  helperText: "Press ENTER to add a new line."
256
264
  }
@@ -258,7 +266,7 @@ const Xe = ({
258
266
  ]
259
267
  }
260
268
  ),
261
- /* @__PURE__ */ s(
269
+ /* @__PURE__ */ a(
262
270
  m,
263
271
  {
264
272
  header: "Location",
@@ -267,12 +275,12 @@ const Xe = ({
267
275
  children: [
268
276
  /* @__PURE__ */ t("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
269
277
  /* @__PURE__ */ t(
270
- ie,
278
+ me,
271
279
  {
272
280
  mode: "alt-system",
273
281
  name: "location",
274
282
  label: "Location",
275
- value: G,
283
+ value: U,
276
284
  onChange: (e) => {
277
285
  E(e.target.value);
278
286
  },
@@ -280,29 +288,29 @@ const Xe = ({
280
288
  }
281
289
  ),
282
290
  /* @__PURE__ */ t(
283
- M,
291
+ L,
284
292
  {
285
293
  className: "mt-2",
286
294
  size: "small",
287
295
  noBorder: !0,
288
296
  variant: "secondary",
289
- disabled: A.loadingLocation,
290
- onClick: be,
291
- children: A.loadingLocation ? "Detecting..." : "Auto-detect"
297
+ disabled: x.loadingLocation,
298
+ onClick: De,
299
+ children: x.loadingLocation ? "Detecting..." : "Auto-detect"
292
300
  }
293
301
  )
294
302
  ]
295
303
  }
296
304
  ),
297
- /* @__PURE__ */ s(
305
+ /* @__PURE__ */ a(
298
306
  m,
299
307
  {
300
308
  header: r.SETTINGS_PROMPTS.TITLE,
301
309
  className: "prose-dark dark:prose-lighter mt-4",
302
310
  noBorder: !0,
303
311
  children: [
304
- /* @__PURE__ */ t("p", { className: "text-sm", children: Be }),
305
- C.prompts && C.prompts.slice(0, 3).map((e) => /* @__PURE__ */ s(
312
+ /* @__PURE__ */ t("p", { className: "text-sm", children: Fe }),
313
+ C.prompts && C.prompts.slice(0, 3).map((e) => /* @__PURE__ */ a(
306
314
  m,
307
315
  {
308
316
  mode: "dark",
@@ -321,10 +329,10 @@ const Xe = ({
321
329
  className: "mt-2",
322
330
  label: "Enabled",
323
331
  name: e.slot.toString(),
324
- onChange: (a) => {
332
+ onChange: (s) => {
325
333
  k({
326
334
  ...e,
327
- enabled: a
335
+ enabled: s
328
336
  });
329
337
  },
330
338
  checked: e.enabled
@@ -340,10 +348,10 @@ const Xe = ({
340
348
  className: "mt-2",
341
349
  label: "Private Chat",
342
350
  name: `private-${e.slot.toString()}`,
343
- onChange: (a) => {
351
+ onChange: (s) => {
344
352
  k({
345
353
  ...e,
346
- privateChat: a
354
+ privateChat: s
347
355
  });
348
356
  },
349
357
  checked: e.privateChat
@@ -359,10 +367,10 @@ const Xe = ({
359
367
  className: "mt-2",
360
368
  label: "Use Clipboard",
361
369
  name: `clipboard-${e.slot.toString()}`,
362
- onChange: (a) => {
370
+ onChange: (s) => {
363
371
  k({
364
372
  ...e,
365
- clipboardAccess: a
373
+ clipboardAccess: s
366
374
  });
367
375
  },
368
376
  checked: e.clipboardAccess
@@ -375,14 +383,14 @@ const Xe = ({
375
383
  ]
376
384
  }
377
385
  ),
378
- /* @__PURE__ */ s(
386
+ /* @__PURE__ */ a(
379
387
  m,
380
388
  {
381
389
  header: r.SETTINGS_ADVANCED.TITLE,
382
390
  className: "prose-dark dark:prose-lighter mt-4 ",
383
391
  noBorder: !0,
384
392
  children: [
385
- ee && /* @__PURE__ */ s(D, { children: [
393
+ te && /* @__PURE__ */ a(D, { children: [
386
394
  /* @__PURE__ */ t("p", { className: "text-sm", children: r.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION }),
387
395
  /* @__PURE__ */ t(
388
396
  l,
@@ -392,12 +400,12 @@ const Xe = ({
392
400
  className: "mt-2",
393
401
  label: "Show Reasoning Button",
394
402
  name: "show-reasoning-button",
395
- onChange: fe,
403
+ onChange: Ie,
396
404
  checked: H
397
405
  }
398
406
  )
399
407
  ] }),
400
- pe && /* @__PURE__ */ s(D, { children: [
408
+ Ne && /* @__PURE__ */ a(D, { children: [
401
409
  /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION }),
402
410
  /* @__PURE__ */ t(
403
411
  l,
@@ -407,7 +415,7 @@ const Xe = ({
407
415
  className: "mt-2",
408
416
  label: "Enable Model Selection",
409
417
  name: "use-nested-model-selection",
410
- onChange: Te,
418
+ onChange: be,
411
419
  checked: I
412
420
  }
413
421
  )
@@ -421,10 +429,23 @@ const Xe = ({
421
429
  className: "mt-2",
422
430
  label: "Enable OLED Mode",
423
431
  name: "enable-oled-mode",
424
- onChange: Ce,
432
+ onChange: ke,
425
433
  checked: b
426
434
  }
427
435
  ),
436
+ /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION }),
437
+ /* @__PURE__ */ t(
438
+ l,
439
+ {
440
+ noBorder: !0,
441
+ narrow: !0,
442
+ className: "mt-2",
443
+ label: "Enable Full Screen",
444
+ name: "enable-full-screen",
445
+ onChange: we,
446
+ checked: Ee
447
+ }
448
+ ),
428
449
  /* @__PURE__ */ t("p", { className: "text-sm mt-5", children: r.SETTINGS_ADVANCED.CACHE_DESCRIPTION }),
429
450
  /* @__PURE__ */ t(
430
451
  l,
@@ -434,32 +455,32 @@ const Xe = ({
434
455
  className: "mt-2",
435
456
  label: "Enable Assets Caching",
436
457
  name: "enable-service-worker",
437
- onChange: Se,
458
+ onChange: Ce,
438
459
  checked: N
439
460
  }
440
461
  ),
441
- g && /* @__PURE__ */ s("div", { className: "mt-4 p-3 border border-dashed border-neutral-700 dark:border-neutral-400 rounded @container/optimizations", children: [
462
+ S && /* @__PURE__ */ a("div", { className: "mt-4 p-3 border border-dashed border-neutral-700 dark:border-neutral-400 rounded @container/optimizations", children: [
442
463
  /* @__PURE__ */ t("h3", { className: "m-0 mb-2 text-xs uppercase opacity-70", children: "Cache Info" }),
443
- u ? /* @__PURE__ */ s("div", { className: "text-xs space-y-2", children: [
444
- /* @__PURE__ */ s("p", { className: "m-0", children: [
464
+ u ? /* @__PURE__ */ a("div", { className: "text-xs space-y-2", children: [
465
+ /* @__PURE__ */ a("p", { className: "m-0", children: [
445
466
  "Version: ",
446
467
  /* @__PURE__ */ t("strong", { children: u.version })
447
468
  ] }),
448
- /* @__PURE__ */ s("p", { className: "m-0", children: [
469
+ /* @__PURE__ */ a("p", { className: "m-0", children: [
449
470
  "Total Items: ",
450
471
  /* @__PURE__ */ t("strong", { children: u.totalItems })
451
472
  ] }),
452
- u.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(
473
+ u.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((s) => /* @__PURE__ */ t(
453
474
  "li",
454
475
  {
455
476
  className: "truncate text-xs text-copy-dark dark:text-copy-light overflow-hidden text-ellipsis",
456
- title: a,
457
- children: new URL(a).pathname
477
+ title: s,
478
+ children: new URL(s).pathname
458
479
  },
459
- a
480
+ s
460
481
  )) }) }, e.name)),
461
- u.totalItems === 0 && !K && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
462
- ] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: K ? "Loading cache info..." : "No cache info available." })
482
+ u.totalItems === 0 && !Q && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
483
+ ] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: Q ? "Loading cache info..." : "No cache info available." })
463
484
  ] })
464
485
  ]
465
486
  }
@@ -469,5 +490,5 @@ const Xe = ({
469
490
  ) : null;
470
491
  };
471
492
  export {
472
- Xe as SettingsPanel
493
+ at as SettingsPanel
473
494
  };
@@ -1,8 +1,8 @@
1
1
  import { jsxs as _, jsx as r } from "react/jsx-runtime";
2
- import { I as f, b$1 as v } from "./index.DB7deAkb.js";
2
+ import { I as f, b$1 as v } from "./index.CKriJDCb.js";
3
3
  import C, { useContext as b } from "react";
4
4
  import o from "clsx";
5
- import { e as k } from "./App.5gxvd-4-.js";
5
+ import { e as k } from "./App.YrWB4OwR.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.DB7deAkb.js";
3
- import { oe as H } from "./App.5gxvd-4-.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.CKriJDCb.js";
3
+ import { oe as H } from "./App.YrWB4OwR.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.DTAX5Zd_.js"
10
+ "./Chart.LfV0zid2.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.DB7deAkb.js";
3
- import { oe as V, E as F, e as g, ConfirmationPanel as G, st as H } from "./App.5gxvd-4-.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.CKriJDCb.js";
3
+ import { oe as V, E as F, e as g, ConfirmationPanel as G, st as H } from "./App.YrWB4OwR.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.DtuEQYZN.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.Uvq7uGxR.js";
6
+ import { Re as ue } from "./index.7fhQuqoG.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.DWNSOwzN.js";
8
8
  const Ae = ({
9
9
  className: a,
10
10
  viewBox: m,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as oe, jsx as x } from "react/jsx-runtime";
2
- import { o as se, h as U, i as ie, x as de } from "./index.DB7deAkb.js";
2
+ import { o as se, h as U, i as ie, x as de } from "./index.CKriJDCb.js";
3
3
  import ce, { useState as _, useEffect as ne, useRef as b, useLayoutEffect as T } from "react";
4
4
  import s from "clsx";
5
5
  function ue({
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.DpoGjOrf.js";
1
+ import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.Ky0bSmFT.js";
2
2
  import { longestStreak as qe } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -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.DpoGjOrf.js";
2
- import { toText as Ca } from "./index.B6va7ILw.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.Ky0bSmFT.js";
2
+ import { toText as Ca } from "./index.DJg0NGP9.js";
3
3
  const Gt = /[#.]/g;
4
4
  function qa(r, e) {
5
5
  const t = r || "", a = {};
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.5gxvd-4-.js";
2
- import { visit as In } from "./useMarkdown.DpoGjOrf.js";
3
- import { toText as Cn } from "./index.B6va7ILw.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.YrWB4OwR.js";
2
+ import { visit as In } from "./useMarkdown.Ky0bSmFT.js";
3
+ import { toText as Cn } from "./index.DJg0NGP9.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -1,5 +1,5 @@
1
1
  import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
- import { te as B } from "./index.DB7deAkb.js";
2
+ import { te as B } from "./index.CKriJDCb.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 = ({