@versini/sassysaint 8.119.4 → 8.120.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 (82) hide show
  1. package/dist/chunks/{AboutChangelog.CeSrouli.js → AboutChangelog.CiMwDFMv.js} +2 -2
  2. package/dist/chunks/{AboutEntry.CrK4XtgT.js → AboutEntry.BN0WAKwk.js} +7 -7
  3. package/dist/chunks/{App.DcDEUBuD.js → App.DWOS3-Zr.js} +1291 -1294
  4. package/dist/chunks/{BubbleActions.BOvHMRWW.js → BubbleActions.Bwci7Shh.js} +3 -3
  5. package/dist/chunks/{ButtonIconDelete.CwOzfrIz.js → ButtonIconDelete.zhEJV79_.js} +2 -2
  6. package/dist/chunks/{Chart.BMS_Y_9I.js → Chart.CXWAz5RP.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.CdT8ma44.js → ChatBubbleAssistant.DJzpCo47.js} +5 -5
  8. package/dist/chunks/{ChatBubbleUser.C0lbTxfj.js → ChatBubbleUser.2kbd2O17.js} +4 -4
  9. package/dist/chunks/{HistoryDataGrid.3kWoF-Yb.js → HistoryDataGrid.BXOaTXSG.js} +4 -4
  10. package/dist/chunks/{HistoryEntry.DzlvBErP.js → HistoryEntry.BeQftxF9.js} +5 -5
  11. package/dist/chunks/{InlineFilter.D_Ayt_FY.js → InlineFilter.tyGlTl4e.js} +3 -3
  12. package/dist/chunks/{LoginEntry.3tVgvVbO.js → LoginEntry.s60F2Jzq.js} +4 -4
  13. package/dist/chunks/{LogoEntry.BqUI0xQJ.js → LogoEntry.dZNdv5Tq.js} +80 -82
  14. package/dist/chunks/{MemoriesEntry.DIW3CmlL.js → MemoriesEntry.iVK99wYu.js} +6 -6
  15. package/dist/chunks/{ProfileEntry.7GS1HjI4.js → ProfileEntry.D7XIXrR4.js} +4 -4
  16. package/dist/chunks/{SettingsEntry.jNyi-fMX.js → SettingsEntry.Dp4NzTB8.js} +176 -188
  17. package/dist/chunks/{UsageEntry.w9i8O-eB.js → UsageEntry.BjLeuZLM.js} +5 -5
  18. package/dist/chunks/{_baseUniq.BH3YHKEs.js → _baseUniq.CO3fOjjz.js} +1 -1
  19. package/dist/chunks/{arc.CVUip_pm.js → arc.DrpQdQXi.js} +1 -1
  20. package/dist/chunks/{architecture-U656AL7Q.DbIt0VTU.js → architecture-U656AL7Q.D7UmVFPx.js} +1 -1
  21. package/dist/chunks/{architectureDiagram-VXUJARFQ.BAEAYJyU.js → architectureDiagram-VXUJARFQ.Cqk4SoU-.js} +4 -4
  22. package/dist/chunks/{blockDiagram-VD42YOAC.BGKlBm-g.js → blockDiagram-VD42YOAC.C4szqmNL.js} +5 -5
  23. package/dist/chunks/{browser.DrZ79d6G.js → browser.DApHYfe-.js} +1 -1
  24. package/dist/chunks/{c4Diagram-YG6GDRKO.rtG-L2XB.js → c4Diagram-YG6GDRKO.CmBoi2CR.js} +2 -2
  25. package/dist/chunks/{channel.LgVYTJ20.js → channel.DrMqe6AY.js} +1 -1
  26. package/dist/chunks/{chunk-4BX2VUAB.DfeK6JZm.js → chunk-4BX2VUAB.Pos-9qpF.js} +1 -1
  27. package/dist/chunks/{chunk-55IACEB6.CpSocNkP.js → chunk-55IACEB6.B9i63c8G.js} +1 -1
  28. package/dist/chunks/{chunk-B4BG7PRW.BC8Duvia.js → chunk-B4BG7PRW.0T_ifPoF.js} +4 -4
  29. package/dist/chunks/{chunk-DI55MBZ5.9CY8aikM.js → chunk-DI55MBZ5.YMa8NzWA.js} +3 -3
  30. package/dist/chunks/{chunk-FMBD7UC4.B5y9gqvT.js → chunk-FMBD7UC4.BhsL3jH5.js} +1 -1
  31. package/dist/chunks/{chunk-QN33PNHL.B32OWrf1.js → chunk-QN33PNHL.DNFUGOVy.js} +1 -1
  32. package/dist/chunks/{chunk-QZHKN3VN.D-tflsrL.js → chunk-QZHKN3VN.DEpYL9kG.js} +1 -1
  33. package/dist/chunks/{chunk-TZMSLE5B.DXZAIAfk.js → chunk-TZMSLE5B.Ds0xNHua.js} +1 -1
  34. package/dist/chunks/{classDiagram-2ON5EDUG.BeK8hj4G.js → classDiagram-2ON5EDUG.D2ZRzQeQ.js} +2 -2
  35. package/dist/chunks/{classDiagram-v2-WZHVMYZB.BeK8hj4G.js → classDiagram-v2-WZHVMYZB.D2ZRzQeQ.js} +2 -2
  36. package/dist/chunks/{clone.C7FHEXHM.js → clone.BRhiI_Y1.js} +1 -1
  37. package/dist/chunks/{cose-bilkent-S5V4N54A.BarQsfhD.js → cose-bilkent-S5V4N54A.JoGjaGrW.js} +2 -2
  38. package/dist/chunks/{dagre-6UL2VRFP.DcB_bHG7.js → dagre-6UL2VRFP.Dl1RqOFy.js} +5 -5
  39. package/dist/chunks/{diagram-PSM6KHXK.v5_zpHPq.js → diagram-PSM6KHXK.CH1ttRjI.js} +4 -4
  40. package/dist/chunks/{diagram-QEK2KX5R.B0FVJb63.js → diagram-QEK2KX5R.Dthkf53P.js} +3 -3
  41. package/dist/chunks/{diagram-S2PKOQOG.9d7YNek6.js → diagram-S2PKOQOG.BYAF58op.js} +3 -3
  42. package/dist/chunks/{erDiagram-Q2GNP2WA.DW2pZOen.js → erDiagram-Q2GNP2WA.B-c3fUAE.js} +4 -4
  43. package/dist/chunks/{flowDiagram-NV44I4VS.BzEXeewQ.js → flowDiagram-NV44I4VS.d3Crkflv.js} +5 -5
  44. package/dist/chunks/{ganttDiagram-JELNMOA3.DFybNGqB.js → ganttDiagram-JELNMOA3.BZUslaPj.js} +2 -2
  45. package/dist/chunks/{gitGraph-F6HP7TQM.BsiH1w7p.js → gitGraph-F6HP7TQM.Dg9KWB-l.js} +1 -1
  46. package/dist/chunks/{gitGraphDiagram-NY62KEGX.D-GUMmXw.js → gitGraphDiagram-NY62KEGX.Bxd84EzU.js} +4 -4
  47. package/dist/chunks/{graph.D1HPWUH-.js → graph.Cy2iRpMo.js} +2 -2
  48. package/dist/chunks/{index.Byf71iDV.js → index.BRCD1cnC.js} +3 -3
  49. package/dist/chunks/{index.bfSa4Oqr.js → index.B_ffBXUs.js} +97 -99
  50. package/dist/chunks/{index.DfMDe1-P.js → index.Bkx9ZaWG.js} +1 -1
  51. package/dist/chunks/{index.IxikjIQt.js → index.CjtYvTpj.js} +3 -3
  52. package/dist/chunks/{index.DKwiFV1d.js → index.D2ekUV-1.js} +1 -1
  53. package/dist/chunks/{index.n2mR6f6N.js → index.D95hByw4.js} +1 -1
  54. package/dist/chunks/{index.XKxWN3lN.js → index.D9RU5gfP.js} +1 -1
  55. package/dist/chunks/{index.3dWkZhjZ.js → index.DSidfZIc.js} +1 -1
  56. package/dist/chunks/{index.BGeec7q_.js → index.Hh_cKRWI.js} +1 -1
  57. package/dist/chunks/{info-NVLQJR56.B14KCPbn.js → info-NVLQJR56.CgqtZDeD.js} +1 -1
  58. package/dist/chunks/{infoDiagram-WHAUD3N6.B77NBmIJ.js → infoDiagram-WHAUD3N6.0odiErPl.js} +2 -2
  59. package/dist/chunks/{journeyDiagram-XKPGCS4Q.BlrxXwZ-.js → journeyDiagram-XKPGCS4Q.0lqSaVMS.js} +4 -4
  60. package/dist/chunks/{kanban-definition-3W4ZIXB7.j2l6lLXR.js → kanban-definition-3W4ZIXB7.BaLDZtyY.js} +2 -2
  61. package/dist/chunks/{layout.6lkAA8v9.js → layout.BBoJB8uY.js} +4 -4
  62. package/dist/chunks/{mermaid-parser.core.DBhUMI2Q.js → mermaid-parser.core.CJcQT_To.js} +10 -10
  63. package/dist/chunks/{min.BU0eEwjE.js → min.BZKGCI-7.js} +2 -2
  64. package/dist/chunks/{mindmap-definition-VGOIOE7T.CuUsX8t3.js → mindmap-definition-VGOIOE7T.DoyH4D1g.js} +3 -3
  65. package/dist/chunks/{packet-BFZMPI3H.CvdSbDdd.js → packet-BFZMPI3H.BLBWjL2V.js} +1 -1
  66. package/dist/chunks/{pie-7BOR55EZ.D_3dFmf2.js → pie-7BOR55EZ.BjVCVhip.js} +1 -1
  67. package/dist/chunks/{pieDiagram-ADFJNKIX.Cp2NP34H.js → pieDiagram-ADFJNKIX.DKVDErlN.js} +4 -4
  68. package/dist/chunks/{quadrantDiagram-AYHSOK5B.DWwFFqTp.js → quadrantDiagram-AYHSOK5B.CHSROtbs.js} +1 -1
  69. package/dist/chunks/{radar-NHE76QYJ.DntSY9Qd.js → radar-NHE76QYJ.D24Z9Uz6.js} +1 -1
  70. package/dist/chunks/{rehype-mermaid.kMjmz43g.js → rehype-mermaid.tmq66h-d.js} +33 -33
  71. package/dist/chunks/{requirementDiagram-UZGBJVZJ.DifXxwL-.js → requirementDiagram-UZGBJVZJ.B-9f1NHl.js} +3 -3
  72. package/dist/chunks/{sankeyDiagram-TZEHDZUN.BPl93QVq.js → sankeyDiagram-TZEHDZUN.Ck4-1oi0.js} +1 -1
  73. package/dist/chunks/{sequenceDiagram-WL72ISMW.BKH5QH3F.js → sequenceDiagram-WL72ISMW.DhJKjOWr.js} +3 -3
  74. package/dist/chunks/{stateDiagram-FKZM4ZOC.DOqiiFz_.js → stateDiagram-FKZM4ZOC.Bmp-JjZo.js} +4 -4
  75. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.FfXgrfuT.js → stateDiagram-v2-4FDKWEC3.D_7_HtL6.js} +2 -2
  76. package/dist/chunks/{timeline-definition-IT6M3QCI.CxB0PunY.js → timeline-definition-IT6M3QCI.BBb9SFUZ.js} +2 -2
  77. package/dist/chunks/{treemap-KMMF4GRG.Bv_6LuNA.js → treemap-KMMF4GRG.C9MtDnr0.js} +1 -1
  78. package/dist/chunks/{useMarkdown.F2D4g88e.js → useMarkdown.BCe3_oFc.js} +8 -8
  79. package/dist/chunks/{xychartDiagram-PRI3JC2R.DYlYfz3Y.js → xychartDiagram-PRI3JC2R.CsTEcbFT.js} +1 -1
  80. package/dist/components/SassySaint/SassySaint.js +1 -1
  81. package/dist/index.js +3 -3
  82. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
1
  import { jsxs as t, jsx as e, Fragment as L } from "react/jsx-runtime";
2
- import { preloadToast as M, showSuccessToast as j, showErrorToast as D, LazyToastContainerWrapper as K, ConfirmationPanel as O, Panel as W, ButtonCancel as Y } from "./App.DcDEUBuD.js";
2
+ import { preloadToast as M, showSuccessToast as j, showErrorToast as D, LazyToastContainerWrapper as K, ConfirmationPanel as O, Panel as W, ButtonCancel as Y } from "./App.DWOS3-Zr.js";
3
3
  import { useState as d, useMemo as H, useCallback as b, useRef as $ } from "react";
4
- import { useUniqueId as q, CARDS as n, Button as G, ButtonIcon as V, IconPasskey as y, PROFILE_TITLE as J } from "./LogoEntry.BqUI0xQJ.js";
5
- import { n as Q, useUserPreferences as X, useServerCapabilities as Z, c as ee, setUserPlan as se, renderDataAsList as ae, st as re, isTauri as ne } from "./index.bfSa4Oqr.js";
6
- import { Card as S } from "./index.DfMDe1-P.js";
4
+ import { useUniqueId as q, CARDS as n, Button as G, ButtonIcon as V, IconPasskey as y, PROFILE_TITLE as J } from "./LogoEntry.dZNdv5Tq.js";
5
+ import { n as Q, useUserPreferences as X, useServerCapabilities as Z, c as ee, setUserPlan as se, renderDataAsList as ae, st as re, isTauri as ne } from "./index.B_ffBXUs.js";
6
+ import { Card as S } from "./index.Bkx9ZaWG.js";
7
7
  import te from "clsx";
8
8
  const ie = ({
9
9
  requestConfirmation: m
@@ -1,150 +1,148 @@
1
- import { jsx as t, jsxs as c } from "react/jsx-runtime";
2
- import { n as ke, useEntitlements as Pe, useUserPreferences as ve, F as ne, LOCAL_STORAGE_OLED_MODE as Be, LOCAL_STORAGE_FULL_SCREEN as xe, e as ae, canEvaluateModels as Ue, j as Ge, B as Ve, Z as le, applyOledMode as re, getCurrentGeoLocation as Fe, graphQLRequest as ce, SERVICE_TYPES as ie } from "./index.bfSa4Oqr.js";
3
- import { AppContext as $e, SETTINGS_TITLE as je, Button as de, CARDS as a, PROMPTS_DESCRIPTION as He, APP_SET_OLED_MODE as ue, APP_SET_FULL_SCREEN as me } from "./LogoEntry.BqUI0xQJ.js";
4
- import { Card as T } from "./index.DfMDe1-P.js";
5
- import { Toggle as M, useCapability as he, useLocalStorage as Ee, Panel as ze, ButtonCancel as Ye } from "./App.DcDEUBuD.js";
6
- import { TextArea as Se } from "./index.DKwiFV1d.js";
7
- import { useRef as We, useContext as qe, useState as s, useMemo as Ke, useEffect as Qe } from "react";
8
- const r = ({
9
- label: L,
1
+ import { jsx as o, jsxs as r } from "react/jsx-runtime";
2
+ import { n as we, useEntitlements as ye, useUserPreferences as Ae, F as te, LOCAL_STORAGE_OLED_MODE as Ie, LOCAL_STORAGE_FULL_SCREEN as Re, canEvaluateModels as ke, j as Pe, B as Be, applyOledMode as se, getCurrentGeoLocation as ve, graphQLRequest as ae, SERVICE_TYPES as ne, Z as xe } from "./index.B_ffBXUs.js";
3
+ import { AppContext as Ue, SETTINGS_TITLE as Ge, Button as le, CARDS as n, PROMPTS_DESCRIPTION as Fe, APP_SET_OLED_MODE as re, APP_SET_FULL_SCREEN as ce } from "./LogoEntry.dZNdv5Tq.js";
4
+ import { Card as p } from "./index.Bkx9ZaWG.js";
5
+ import { Toggle as L, useCapability as ie, useLocalStorage as de, Panel as Ve, ButtonCancel as $e } from "./App.DWOS3-Zr.js";
6
+ import { TextArea as ue } from "./index.D2ekUV-1.js";
7
+ import { useRef as je, useContext as ze, useState as s, useMemo as He, useEffect as Ye } from "react";
8
+ const c = ({
9
+ label: M,
10
10
  subLabel: N,
11
- onChange: p,
12
- checked: E,
13
- name: f
14
- }) => /* @__PURE__ */ t(
15
- M,
11
+ onChange: f,
12
+ checked: S,
13
+ name: T
14
+ }) => /* @__PURE__ */ o(
15
+ L,
16
16
  {
17
17
  noBorder: !0,
18
18
  narrow: !0,
19
19
  className: "mt-2 justify-between",
20
20
  labelPosition: "left",
21
- label: L,
21
+ label: M,
22
22
  subLabel: N,
23
- name: f,
24
- onChange: p,
25
- checked: E
23
+ name: T,
24
+ onChange: f,
25
+ checked: S
26
26
  }
27
- ), no = ({
28
- open: L,
27
+ ), eo = ({
28
+ open: M,
29
29
  onOpenChange: N
30
30
  }) => {
31
- const p = We(null), { getAccessToken: E, user: f } = ke(), { allowedModels: O, status: v } = Pe(), { dispatch: C } = qe($e), {
32
- data: o,
33
- isSuccess: ge,
34
- refetch: B
35
- } = ve({
36
- user: f?.username,
37
- getAccessToken: E
31
+ const f = je(null), { getAccessToken: S, user: T } = we(), { allowedModels: O, status: B } = ye(), { dispatch: C } = ze(Ue), {
32
+ data: t,
33
+ isSuccess: me,
34
+ refetch: v
35
+ } = Ae({
36
+ user: T?.username,
37
+ getAccessToken: S
38
38
  }), [x, b] = s({
39
39
  loadingLocation: !1
40
- }), [A, U] = s({
40
+ }), [w, U] = s({
41
41
  prompts: []
42
- }), [G, V] = s(""), [F, D] = s(""), [$, j] = s(!1), [H, z] = s(!1), [Y, W] = s(!1), [I, q] = s(!1), [K, Q] = s(!1), Z = he(ne.TOOL.MEMORIES), J = he(ne.ADDON.REASONING), [i, Te] = Ee({
43
- key: Be,
42
+ }), [G, F] = s(""), [V, _] = s(""), [$, j] = s(!1), [z, H] = s(!1), [Y, W] = s(!1), [y, q] = s(!1), [K, Q] = s(!1), Z = ie(te.TOOL.MEMORIES), J = ie(te.ADDON.REASONING), [i, he] = de({
43
+ key: Ie,
44
44
  initialValue: !1
45
- }), [u, Ne] = Ee({
46
- key: xe,
45
+ }), [u, Se] = de({
46
+ key: Re,
47
47
  initialValue: !1
48
- }), [m, w] = s(!1), [S, y] = s(!1), [X, ee] = s(ae), [oe, te] = s(!1), pe = Ke(() => Ue(O, v) ? Ge(O) : !1, [O, v]), fe = (e) => {
48
+ }), [m, A] = s(!1), [E, I] = s(!1), [X, ee] = s(!1), Ee = He(() => ke(O, B) ? Pe(O) : !1, [O, B]), ge = (e) => {
49
49
  Q(e);
50
- }, Ce = (e) => {
50
+ }, pe = (e) => {
51
51
  j(e);
52
- }, be = (e) => {
53
- Z && z(e);
54
- }, De = (e) => {
52
+ }, Ne = (e) => {
53
+ Z && H(e);
54
+ }, fe = (e) => {
55
55
  J && W(e);
56
- }, _e = (e) => {
56
+ }, Te = (e) => {
57
57
  q(e);
58
- }, Me = (e) => {
59
- w(e);
60
- }, Le = (e) => {
61
- y(e);
62
- }, Oe = (e) => {
63
- ee(e ? le : ae);
64
- }, Ae = (e) => {
65
- te(e);
66
- }, Ie = async (e) => {
58
+ }, Ce = (e) => {
59
+ A(e);
60
+ }, be = (e) => {
61
+ I(e);
62
+ }, _e = (e) => {
63
+ ee(e);
64
+ }, De = async (e) => {
67
65
  e.preventDefault();
68
66
  try {
69
- await ce({
70
- accessToken: await E(),
71
- type: ie.SET_USER_PREFERENCES,
67
+ await ae({
68
+ accessToken: await S(),
69
+ type: ne.SET_USER_PREFERENCES,
72
70
  params: {
73
- user: f?.username,
71
+ user: T?.username,
74
72
  instructions: G,
75
- location: F,
76
- provider: o?.provider,
73
+ location: V,
74
+ provider: t?.provider,
77
75
  /**
78
76
  * When nested model selection is disabled, explicitly clear any stored
79
77
  * model preference so the user relies solely on provider defaults. Empty
80
78
  * string signals to backend to use provider's default model.
81
79
  */
82
- model: I && o?.model || "",
83
- tags: A.prompts,
80
+ model: y && t?.model || "",
81
+ tags: w.prompts,
84
82
  sendOnEnter: $,
85
- useMemory: H,
83
+ useMemory: z,
86
84
  showDetails: K,
87
85
  showReasoningButton: Y,
88
- useNestedModelSelection: I,
89
- themeMode: X,
90
- useBranchNewChat: oe
86
+ useNestedModelSelection: y,
87
+ themeMode: xe,
88
+ useBranchNewChat: X
91
89
  }
92
- }), m !== i && (Te(m), re(m), C({
93
- type: ue,
90
+ }), m !== i && (he(m), se(m), C({
91
+ type: re,
94
92
  payload: { oledMode: m }
95
- })), S !== u && (Ne(S), C({
96
- type: me,
97
- payload: { fullScreen: S }
98
- })), B(), b({
93
+ })), E !== u && (Se(E), C({
94
+ type: ce,
95
+ payload: { fullScreen: E }
96
+ })), v(), b({
99
97
  loadingLocation: !1
100
98
  });
101
99
  } catch {
102
100
  }
103
- }, we = async () => {
101
+ }, Le = async () => {
104
102
  b({
105
103
  loadingLocation: !0
106
- }), D("...");
104
+ }), _("...");
107
105
  try {
108
- const e = Date.now(), n = await Fe(), _ = await ce({
109
- accessToken: await E(),
110
- type: ie.GET_LOCATION,
106
+ const e = Date.now(), a = await ve(), D = await ae({
107
+ accessToken: await S(),
108
+ type: ne.GET_LOCATION,
111
109
  params: {
112
- latitude: n.latitude,
113
- longitude: n.longitude
110
+ latitude: a.latitude,
111
+ longitude: a.longitude
114
112
  }
115
113
  }), h = Date.now() - e;
116
- h < 2e3 && await new Promise((Re) => setTimeout(Re, 2e3 - h));
117
- const { city: d, state: l, country: g, displayName: P } = _.data, ye = d && l && g ? `${d}, ${l}, ${g}` : P;
114
+ h < 2e3 && await new Promise((Oe) => setTimeout(Oe, 2e3 - h));
115
+ const { city: d, state: l, country: g, displayName: P } = D.data, Me = d && l && g ? `${d}, ${l}, ${g}` : P;
118
116
  b({
119
117
  loadingLocation: !1
120
- }), D(ye);
118
+ }), _(Me);
121
119
  } catch {
122
120
  b({
123
121
  loadingLocation: !1
124
122
  });
125
123
  }
126
- }, se = () => {
127
- m !== i && (w(i), re(i), C({
128
- type: ue,
124
+ }, oe = () => {
125
+ m !== i && (A(i), se(i), C({
126
+ type: re,
129
127
  payload: { oledMode: i }
130
- })), S !== u && (y(u), C({
131
- type: me,
128
+ })), E !== u && (I(u), C({
129
+ type: ce,
132
130
  payload: { fullScreen: u }
133
- })), B(), N(!1);
131
+ })), v(), N(!1);
134
132
  }, R = ({
135
133
  enabled: e = !1,
136
- privateChat: n = !1,
137
- clipboardAccess: _ = !1,
134
+ privateChat: a = !1,
135
+ clipboardAccess: D = !1,
138
136
  ...k
139
137
  }) => {
140
138
  U((h) => {
141
139
  const d = h.prompts, l = {
142
140
  ...k,
143
141
  enabled: e,
144
- privateChat: n,
145
- clipboardAccess: _
142
+ privateChat: a,
143
+ clipboardAccess: D
146
144
  };
147
- _ ? l.content = l.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : l.content = l.content.replace(/{{clipboard}}/g, "");
145
+ D ? l.content = l.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : l.content = l.content.replace(/{{clipboard}}/g, "");
148
146
  const g = d.findIndex((P) => P.slot === k.slot);
149
147
  return g === -1 ? {
150
148
  ...h,
@@ -155,54 +153,54 @@ const r = ({
155
153
  });
156
154
  });
157
155
  };
158
- return Qe(() => {
159
- o && (o.instructions && V(o.instructions), o.location && D(o.location), o.tags && U({ prompts: o.tags }), o.sendOnEnter !== void 0 && j(o.sendOnEnter), o.useMemory !== void 0 && z(o.useMemory), o.showDetails !== void 0 && Q(o.showDetails), o.showReasoningButton !== void 0 && W(o.showReasoningButton), o.useNestedModelSelection !== void 0 && q(o.useNestedModelSelection), o.themeMode !== void 0 && ee(o.themeMode), o.useBranchNewChat !== void 0 && te(o.useBranchNewChat), w(i), y(u));
160
- }, [o, i, u]), ge ? /* @__PURE__ */ c(
161
- ze,
156
+ return Ye(() => {
157
+ t && (t.instructions && F(t.instructions), t.location && _(t.location), t.tags && U({ prompts: t.tags }), t.sendOnEnter !== void 0 && j(t.sendOnEnter), t.useMemory !== void 0 && H(t.useMemory), t.showDetails !== void 0 && Q(t.showDetails), t.showReasoningButton !== void 0 && W(t.showReasoningButton), t.useNestedModelSelection !== void 0 && q(t.useNestedModelSelection), t.useBranchNewChat !== void 0 && ee(t.useBranchNewChat), A(i), I(u));
158
+ }, [t, i, u]), me ? /* @__PURE__ */ r(
159
+ Ve,
162
160
  {
163
- open: L,
164
- onOpenChange: se,
165
- title: je,
161
+ open: M,
162
+ onOpenChange: oe,
163
+ title: Ge,
166
164
  animation: !0,
167
165
  animationType: "fade",
168
166
  blurEffect: "large",
169
- initialFocus: p,
170
- footer: /* @__PURE__ */ c("div", { className: "flex flex-wrap justify-end gap-x-2 pb-8 sm:pb-0", children: [
171
- /* @__PURE__ */ t("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ t(
172
- Ye,
167
+ initialFocus: f,
168
+ footer: /* @__PURE__ */ r("div", { className: "flex flex-wrap justify-end gap-x-2 pb-8 sm:pb-0", children: [
169
+ /* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
170
+ $e,
173
171
  {
174
- onOpenChange: se,
172
+ onOpenChange: oe,
175
173
  label: "Cancel",
176
- ref: p
174
+ ref: f
177
175
  }
178
176
  ) }),
179
- /* @__PURE__ */ t("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ t(
180
- de,
177
+ /* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
178
+ le,
181
179
  {
182
180
  mode: "light",
183
181
  focusMode: "light",
184
182
  onClick: async (e) => {
185
- N(!1), await Ie(e);
183
+ N(!1), await De(e);
186
184
  },
187
185
  children: "Save"
188
186
  }
189
187
  ) })
190
188
  ] }),
191
189
  children: [
192
- /* @__PURE__ */ c(
193
- T,
190
+ /* @__PURE__ */ r(
191
+ p,
194
192
  {
195
193
  header: "Custom Instructions",
196
194
  className: "prose-dark dark:prose-lighter mt-4",
197
195
  noBorder: !0,
198
196
  children: [
199
- /* @__PURE__ */ c("p", { className: "text-sm", children: [
197
+ /* @__PURE__ */ r("p", { className: "text-sm", children: [
200
198
  "What would you like ",
201
- /* @__PURE__ */ t("em", { children: Ve }),
199
+ /* @__PURE__ */ o("em", { children: Be }),
202
200
  " to know about you to provide better responses?"
203
201
  ] }),
204
- /* @__PURE__ */ t(
205
- Se,
202
+ /* @__PURE__ */ o(
203
+ ue,
206
204
  {
207
205
  mode: "alt-system",
208
206
  autoCapitalize: "off",
@@ -212,7 +210,7 @@ const r = ({
212
210
  label: "Custom Instructions",
213
211
  value: G,
214
212
  onChange: (e) => {
215
- V(e.target.value);
213
+ F(e.target.value);
216
214
  },
217
215
  helperText: "Press ENTER to add a new line."
218
216
  }
@@ -220,61 +218,61 @@ const r = ({
220
218
  ]
221
219
  }
222
220
  ),
223
- /* @__PURE__ */ c(
224
- T,
221
+ /* @__PURE__ */ r(
222
+ p,
225
223
  {
226
224
  header: "Location",
227
225
  className: "prose-dark dark:prose-lighter mt-4",
228
226
  noBorder: !0,
229
227
  children: [
230
- /* @__PURE__ */ t("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
231
- /* @__PURE__ */ t(
232
- Se,
228
+ /* @__PURE__ */ o("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
229
+ /* @__PURE__ */ o(
230
+ ue,
233
231
  {
234
232
  mode: "alt-system",
235
233
  name: "location",
236
234
  label: "Location",
237
- value: F,
235
+ value: V,
238
236
  onChange: (e) => {
239
- D(e.target.value);
237
+ _(e.target.value);
240
238
  },
241
239
  helperText: "Enter your location or press auto-detect."
242
240
  }
243
241
  ),
244
- /* @__PURE__ */ t(
245
- de,
242
+ /* @__PURE__ */ o(
243
+ le,
246
244
  {
247
245
  className: "mt-2",
248
246
  size: "small",
249
247
  noBorder: !0,
250
248
  variant: "secondary",
251
249
  disabled: x.loadingLocation,
252
- onClick: we,
250
+ onClick: Le,
253
251
  children: x.loadingLocation ? "Detecting..." : "Auto-detect"
254
252
  }
255
253
  )
256
254
  ]
257
255
  }
258
256
  ),
259
- /* @__PURE__ */ c(
260
- T,
257
+ /* @__PURE__ */ r(
258
+ p,
261
259
  {
262
- header: a.SETTINGS_PROMPTS.TITLE,
260
+ header: n.SETTINGS_PROMPTS.TITLE,
263
261
  className: "prose-dark dark:prose-lighter mt-4",
264
262
  noBorder: !0,
265
263
  children: [
266
- /* @__PURE__ */ t("p", { className: "text-sm", children: He }),
267
- A.prompts && A.prompts.slice(0, 3).map((e) => /* @__PURE__ */ c(
268
- T,
264
+ /* @__PURE__ */ o("p", { className: "text-sm", children: Fe }),
265
+ w.prompts && w.prompts.slice(0, 3).map((e) => /* @__PURE__ */ r(
266
+ p,
269
267
  {
270
268
  mode: "dark",
271
269
  noBorder: !0,
272
270
  header: e.label.replace("...", ""),
273
271
  className: "prose-light mb-2",
274
272
  children: [
275
- /* @__PURE__ */ t("p", { className: "text-sm", children: e.description }),
276
- /* @__PURE__ */ t(
277
- M,
273
+ /* @__PURE__ */ o("p", { className: "text-sm", children: e.description }),
274
+ /* @__PURE__ */ o(
275
+ L,
278
276
  {
279
277
  noBorder: !0,
280
278
  narrow: !0,
@@ -283,17 +281,17 @@ const r = ({
283
281
  className: "mt-2",
284
282
  label: "Enabled",
285
283
  name: e.slot.toString(),
286
- onChange: (n) => {
284
+ onChange: (a) => {
287
285
  R({
288
286
  ...e,
289
- enabled: n
287
+ enabled: a
290
288
  });
291
289
  },
292
290
  checked: e.enabled
293
291
  }
294
292
  ),
295
- /* @__PURE__ */ t(
296
- M,
293
+ /* @__PURE__ */ o(
294
+ L,
297
295
  {
298
296
  noBorder: !0,
299
297
  narrow: !0,
@@ -302,17 +300,17 @@ const r = ({
302
300
  className: "mt-2",
303
301
  label: "Private Chat",
304
302
  name: `private-${e.slot.toString()}`,
305
- onChange: (n) => {
303
+ onChange: (a) => {
306
304
  R({
307
305
  ...e,
308
- privateChat: n
306
+ privateChat: a
309
307
  });
310
308
  },
311
309
  checked: e.privateChat
312
310
  }
313
311
  ),
314
- /* @__PURE__ */ t(
315
- M,
312
+ /* @__PURE__ */ o(
313
+ L,
316
314
  {
317
315
  noBorder: !0,
318
316
  narrow: !0,
@@ -321,10 +319,10 @@ const r = ({
321
319
  className: "mt-2",
322
320
  label: "Use Clipboard",
323
321
  name: `clipboard-${e.slot.toString()}`,
324
- onChange: (n) => {
322
+ onChange: (a) => {
325
323
  R({
326
324
  ...e,
327
- clipboardAccess: n
325
+ clipboardAccess: a
328
326
  });
329
327
  },
330
328
  checked: e.clipboardAccess
@@ -337,101 +335,91 @@ const r = ({
337
335
  ]
338
336
  }
339
337
  ),
340
- /* @__PURE__ */ c(
341
- T,
338
+ /* @__PURE__ */ r(
339
+ p,
342
340
  {
343
- header: a.SETTINGS_ADVANCED.TITLE,
341
+ header: n.SETTINGS_ADVANCED.TITLE,
344
342
  className: "prose-dark dark:prose-lighter mt-4 ",
345
343
  noBorder: !0,
346
344
  children: [
347
- /* @__PURE__ */ t(
348
- r,
345
+ /* @__PURE__ */ o(
346
+ c,
349
347
  {
350
348
  label: "Message Statistics",
351
- subLabel: a.SETTINGS_ADVANCED.SESSION_STATISTICS_DETAILS,
349
+ subLabel: n.SETTINGS_ADVANCED.SESSION_STATISTICS_DETAILS,
352
350
  name: "show-message-statistics",
353
- onChange: fe,
351
+ onChange: ge,
354
352
  checked: K
355
353
  }
356
354
  ),
357
- /* @__PURE__ */ t(
358
- r,
355
+ /* @__PURE__ */ o(
356
+ c,
359
357
  {
360
358
  label: "Send Message on Enter",
361
- subLabel: a.SETTINGS_ADVANCED.SEND_ON_ENTER,
359
+ subLabel: n.SETTINGS_ADVANCED.SEND_ON_ENTER,
362
360
  name: "send-message-on-enter",
363
- onChange: Ce,
361
+ onChange: pe,
364
362
  checked: $
365
363
  }
366
364
  ),
367
- Z && /* @__PURE__ */ t(
368
- r,
365
+ Z && /* @__PURE__ */ o(
366
+ c,
369
367
  {
370
368
  label: "Use Memory",
371
- subLabel: a.SETTINGS_ADVANCED.USE_MEMORY,
369
+ subLabel: n.SETTINGS_ADVANCED.USE_MEMORY,
372
370
  name: "use-memory",
373
- onChange: be,
374
- checked: H
371
+ onChange: Ne,
372
+ checked: z
375
373
  }
376
374
  ),
377
- J && /* @__PURE__ */ t(
378
- r,
375
+ J && /* @__PURE__ */ o(
376
+ c,
379
377
  {
380
378
  label: "Reasoning Button",
381
- subLabel: a.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION,
379
+ subLabel: n.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION,
382
380
  name: "show-reasoning-button",
383
- onChange: De,
381
+ onChange: fe,
384
382
  checked: Y
385
383
  }
386
384
  ),
387
- pe && /* @__PURE__ */ t(
388
- r,
385
+ Ee && /* @__PURE__ */ o(
386
+ c,
389
387
  {
390
388
  label: "Model Selection",
391
- subLabel: a.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION,
389
+ subLabel: n.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION,
392
390
  name: "use-nested-model-selection",
393
- onChange: _e,
394
- checked: I
391
+ onChange: Te,
392
+ checked: y
395
393
  }
396
394
  ),
397
- /* @__PURE__ */ t(
398
- r,
395
+ /* @__PURE__ */ o(
396
+ c,
399
397
  {
400
398
  label: "OLED Mode",
401
- subLabel: a.SETTINGS_ADVANCED.BACKGROUND_THEME_DESCRIPTION,
399
+ subLabel: n.SETTINGS_ADVANCED.BACKGROUND_THEME_DESCRIPTION,
402
400
  name: "enable-oled-mode",
403
- onChange: Me,
401
+ onChange: Ce,
404
402
  checked: m
405
403
  }
406
404
  ),
407
- /* @__PURE__ */ t(
408
- r,
409
- {
410
- label: "Alternative Theme",
411
- subLabel: a.SETTINGS_ADVANCED.THEME_MODE_DESCRIPTION,
412
- name: "enable-alternative-theme",
413
- onChange: Oe,
414
- checked: X === le
415
- }
416
- ),
417
- /* @__PURE__ */ t(
418
- r,
405
+ /* @__PURE__ */ o(
406
+ c,
419
407
  {
420
408
  label: "Full Screen",
421
- subLabel: a.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION,
409
+ subLabel: n.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION,
422
410
  name: "enable-full-screen",
423
- onChange: Le,
424
- checked: S
411
+ onChange: be,
412
+ checked: E
425
413
  }
426
414
  ),
427
- /* @__PURE__ */ t(
428
- r,
415
+ /* @__PURE__ */ o(
416
+ c,
429
417
  {
430
418
  label: "Branch New Chat",
431
- subLabel: a.SETTINGS_ADVANCED.BRANCH_IN_NEW_CHAT,
419
+ subLabel: n.SETTINGS_ADVANCED.BRANCH_IN_NEW_CHAT,
432
420
  name: "enable-branch-new-chat",
433
- onChange: Ae,
434
- checked: oe
421
+ onChange: _e,
422
+ checked: X
435
423
  }
436
424
  )
437
425
  ]
@@ -442,5 +430,5 @@ const r = ({
442
430
  ) : null;
443
431
  };
444
432
  export {
445
- no as SettingsPanel
433
+ eo as SettingsPanel
446
434
  };
@@ -1,8 +1,8 @@
1
1
  import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
- import { n as W, useUserChatStats as q, LOCAL_STORAGE_PREFIX as C, LOCAL_STORAGE_USAGE_VIEW_MODE as X, LOCAL_STORAGE_USAGE_TIME_RANGE as Z, LOCAL_STORAGE_USAGE_SELECTED_MONTH as J, useChatsUsage as Q, renderDataAsList as $ } from "./index.bfSa4Oqr.js";
3
- import { useUniqueId as ee, TIME_RANGES as e, USAGE_TITLE as te, CARDS as d, TIME_RANGE_LABELS as R, MONTHS as _, ButtonIcon as u, IconChart as re, IconSelected as L, IconUnSelected as v, IconPrevious as se, IconNext as le } from "./LogoEntry.BqUI0xQJ.js";
4
- import { Card as Y } from "./index.DfMDe1-P.js";
5
- import { useLocalStorage as N, Panel as ae, DropdownMenu as ne, DropdownMenuGroupLabel as oe, DropdownMenuItem as k, DropdownMenuSub as ie, ButtonCancel as ce, pluralize as f } from "./App.DcDEUBuD.js";
2
+ import { n as W, useUserChatStats as q, LOCAL_STORAGE_PREFIX as C, LOCAL_STORAGE_USAGE_VIEW_MODE as X, LOCAL_STORAGE_USAGE_TIME_RANGE as Z, LOCAL_STORAGE_USAGE_SELECTED_MONTH as J, useChatsUsage as Q, renderDataAsList as $ } from "./index.B_ffBXUs.js";
3
+ import { useUniqueId as ee, TIME_RANGES as e, USAGE_TITLE as te, CARDS as d, TIME_RANGE_LABELS as R, MONTHS as _, ButtonIcon as u, IconChart as re, IconSelected as L, IconUnSelected as v, IconPrevious as se, IconNext as le } from "./LogoEntry.dZNdv5Tq.js";
4
+ import { Card as Y } from "./index.Bkx9ZaWG.js";
5
+ import { useLocalStorage as N, Panel as ae, DropdownMenu as ne, DropdownMenuGroupLabel as oe, DropdownMenuItem as k, DropdownMenuSub as ie, ButtonCancel as ce, pluralize as f } from "./App.DWOS3-Zr.js";
6
6
  import { useRef as de, useState as z, Suspense as ue, lazy as Te } from "react";
7
7
  const n = [0, 3, 6, 9], a = {
8
8
  TOKEN: "token",
@@ -16,7 +16,7 @@ const n = [0, 3, 6, 9], a = {
16
16
  ], me = Te(
17
17
  () => import(
18
18
  /* webpackChunkName: "chart-highcharts" */
19
- "./Chart.BMS_Y_9I.js"
19
+ "./Chart.CXWAz5RP.js"
20
20
  )
21
21
  ), _e = ({
22
22
  open: P,
@@ -1,4 +1,4 @@
1
- import { isObjectLike as b, baseGetTag as gn, isArray as A, Symbol as v, arrayLikeKeys as an, baseKeys as dn, isArrayLike as W, memoize as hn, isArguments as z, MapCache as pn, eq as An, Uint8Array as m, getTag as N, isBuffer as U, Stack as R, isTypedArray as _n, isObject as on, isLength as wn, isIndex as On, identity as V, baseFor as Pn, Set as S } from "./rehype-mermaid.kMjmz43g.js";
1
+ import { isObjectLike as b, baseGetTag as gn, isArray as A, Symbol as v, arrayLikeKeys as an, baseKeys as dn, isArrayLike as W, memoize as hn, isArguments as z, MapCache as pn, eq as An, Uint8Array as m, getTag as N, isBuffer as U, Stack as R, isTypedArray as _n, isObject as on, isLength as wn, isIndex as On, identity as V, baseFor as Pn, Set as S } from "./rehype-mermaid.tmq66h-d.js";
2
2
  var vn = "[object Symbol]";
3
3
  function x(n) {
4
4
  return typeof n == "symbol" || b(n) && gn(n) == vn;