@versini/sassysaint 8.107.2 → 8.107.4

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 (33) hide show
  1. package/dist/chunks/{AboutChangelog.-F_kMw74.js → AboutChangelog.DeRcKN5H.js} +2 -2
  2. package/dist/chunks/{AboutEntry.DR75PxCw.js → AboutEntry.6mTHwkfb.js} +7 -7
  3. package/dist/chunks/{App.3M79T1qj.js → App.DTjbiLAP.js} +1753 -2012
  4. package/dist/chunks/{Bubble.CA6Nm1l0.js → Bubble.ltolxxta.js} +47 -86
  5. package/dist/chunks/{Chart.DwZeH0GA.js → Chart.BzOmOhOW.js} +2 -2
  6. package/dist/chunks/{ChatBubbleAssistant.Bm-gE-ev.js → ChatBubbleAssistant.lGE_8ao1.js} +200 -213
  7. package/dist/chunks/{ChatBubbleUser.lLvteBf3.js → ChatBubbleUser.DC661ePq.js} +28 -41
  8. package/dist/chunks/{ChatHistoryTable.yS0g-92Q.js → ChatHistoryTable.BkRFWpsA.js} +108 -125
  9. package/dist/chunks/{Table.AnN2X7VF.js → DeleteButtonIcon.P0LgJDjE.js} +125 -116
  10. package/dist/chunks/{HistoryEntry.DfNmYlfN.js → HistoryEntry.uUjsDuT0.js} +6 -6
  11. package/dist/chunks/{LoginEntry.BccxHPtX.js → LoginEntry.BGZdTDwf.js} +4 -4
  12. package/dist/chunks/{LogoEntry.CFw0uv25.js → LogoEntry.Bpddd0yA.js} +301 -430
  13. package/dist/chunks/{MemoriesEntry.Cdao1cmo.js → MemoriesEntry.BYQm9cuU.js} +164 -169
  14. package/dist/chunks/{ProfileEntry.b8NaUHNW.js → ProfileEntry.BqcZXSeT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.CjuYtYSp.js → SettingsEntry.BdC5Vyof.js} +5 -5
  16. package/dist/chunks/{UsageEntry.cp-aSBF9.js → UsageEntry._O8Q6TwS.js} +5 -5
  17. package/dist/chunks/index.Bi0z4EE1.js +90 -0
  18. package/dist/chunks/{index.CgpXJ39e.js → index.BlviGqw0.js} +4 -4
  19. package/dist/chunks/{index.BSdZTOf6.js → index.BxbWxVtd.js} +1 -1
  20. package/dist/chunks/index.C70LcKzU.js +279 -0
  21. package/dist/chunks/{index.CLVeqfU3.js → index.CYcieK1H.js} +34 -47
  22. package/dist/chunks/{index.Dbw9MfpE.js → index.CaofbEIP.js} +3 -19
  23. package/dist/chunks/{index.B6FhZIr6.js → index.D2nN0rC6.js} +1 -1
  24. package/dist/chunks/{index.DhQEm5fx.js → index.DG-VhqKw.js} +1 -1
  25. package/dist/chunks/{index.DYkMD3_1.js → index.DuxTgnco.js} +56 -69
  26. package/dist/chunks/{index.DHLA2Fes.js → index.s8Izh8-Q.js} +2 -2
  27. package/dist/chunks/{useMarkdown.CoVPoXwW.js → useMarkdown.DjEZz9lH.js} +316 -329
  28. package/dist/components/SassySaint/SassySaint.js +1 -1
  29. package/dist/index.js +3 -7
  30. package/dist/style.css +1 -14
  31. package/package.json +5 -5
  32. package/dist/chunks/index.BAdB50GZ.js +0 -103
  33. package/dist/chunks/index.CyKPGk1D.js +0 -305
@@ -1,22 +1,9 @@
1
- import { jsx as i, Fragment as S, jsxs as C } from "react/jsx-runtime";
2
- import { Button as _ } from "./LogoEntry.CFw0uv25.js";
3
- import { useState as h, useMemo as m, isValidElement as T, useEffect as B } from "react";
4
- import { useMarkdown as b } from "./useMarkdown.CoVPoXwW.js";
5
- import { AsyncBubble as k } from "./App.3M79T1qj.js";
6
- /*!
7
- @versini/ui-truncate v6.1.8
8
- © 2025 gizmette.com
9
- */
10
- try {
11
- window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
12
- version: "6.1.8",
13
- buildTime: "12/16/2025 06:23 PM EST",
14
- homepage: "https://www.npmjs.com/package/@versini/ui-truncate",
15
- license: "MIT"
16
- });
17
- } catch {
18
- }
19
- const x = 200, M = ({ string: e, idealLength: r = x }) => {
1
+ import { jsx as i, Fragment as C, jsxs as S } from "react/jsx-runtime";
2
+ import { Button as b } from "./LogoEntry.Bpddd0yA.js";
3
+ import { useState as k, useMemo as m, isValidElement as T, useEffect as H } from "react";
4
+ import { useMarkdown as h } from "./useMarkdown.DjEZz9lH.js";
5
+ import { AsyncBubble as M } from "./App.DTjbiLAP.js";
6
+ const O = 200, w = ({ string: e, idealLength: r = O }) => {
20
7
  if (e.length <= r)
21
8
  return {
22
9
  string: e,
@@ -32,7 +19,7 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
32
19
  string: e.slice(0, r + s),
33
20
  isTruncated: !0
34
21
  };
35
- }, l = (e) => e == null || typeof e == "boolean" ? "" : typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(l).join("") : /* @__PURE__ */ T(e) ? l(e.props.children) : "", H = /* @__PURE__ */ new Set([
22
+ }, l = (e) => e == null || typeof e == "boolean" ? "" : typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(l).join("") : /* @__PURE__ */ T(e) ? l(e.props.children) : "", I = /* @__PURE__ */ new Set([
36
23
  "P",
37
24
  "DIV",
38
25
  "UL",
@@ -66,29 +53,29 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
66
53
  return e.some(u);
67
54
  if (/* @__PURE__ */ T(e)) {
68
55
  const r = e;
69
- return typeof r.type == "string" && H.has(r.type.toUpperCase()) ? !0 : u(r.props.children);
56
+ return typeof r.type == "string" && I.has(r.type.toUpperCase()) ? !0 : u(r.props.children);
70
57
  }
71
58
  return !1;
72
- }, N = ({ children: e, length: r = 200, mode: n = "system", focusMode: c = "system", enableRichTruncation: s = !1, noBorder: d = !1 }) => {
73
- const [t, y] = h(!1), g = typeof e != "string" && !s, p = m(() => typeof e == "string" ? e : l(e), [
59
+ }, L = ({ children: e, length: r = 200, mode: n = "system", focusMode: c = "system", enableRichTruncation: s = !1, noBorder: d = !1 }) => {
60
+ const [t, y] = k(!1), g = typeof e != "string" && !s, f = m(() => typeof e == "string" ? e : l(e), [
74
61
  e
75
- ]), { string: f, isTruncated: a } = m(() => M({
76
- string: p,
62
+ ]), { string: p, isTruncated: a } = m(() => w({
63
+ string: f,
77
64
  idealLength: r
78
65
  }), [
79
- p,
66
+ f,
80
67
  r
81
- ]), E = s && a && !t, w = (I) => {
82
- I.preventDefault(), y(!t);
68
+ ]), E = s && a && !t, A = (x) => {
69
+ x.preventDefault(), y(!t);
83
70
  };
84
71
  if (g)
85
- return /* @__PURE__ */ i(S, {
72
+ return /* @__PURE__ */ i(C, {
86
73
  children: e
87
74
  });
88
75
  let o;
89
- a ? t ? o = e : o = f : o = e;
90
- const A = s ? u(e) : !1;
91
- return /* @__PURE__ */ C("span", {
76
+ a ? t ? o = e : o = p : o = e;
77
+ const B = s ? u(e) : !1;
78
+ return /* @__PURE__ */ S("span", {
92
79
  style: {
93
80
  wordBreak: "break-word"
94
81
  },
@@ -96,24 +83,24 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
96
83
  "aria-expanded": a ? t : void 0,
97
84
  children: [
98
85
  o,
99
- a && /* @__PURE__ */ i(_, {
86
+ a && /* @__PURE__ */ i(b, {
100
87
  mode: n,
101
88
  focusMode: c,
102
89
  noBorder: d,
103
- className: !(s && t && A) ? "ml-2" : void 0,
90
+ className: !(s && t && B) ? "ml-2" : void 0,
104
91
  size: "small",
105
- onClick: w,
92
+ onClick: A,
106
93
  "aria-label": t ? "Show less" : "Show more",
107
94
  children: t ? "less..." : "more..."
108
95
  })
109
96
  ]
110
97
  });
111
- }, j = ({ content: e }) => {
112
- const [r, n] = b();
113
- return B(() => {
98
+ }, R = ({ content: e }) => {
99
+ const [r, n] = h();
100
+ return H(() => {
114
101
  e && n(e);
115
102
  }, [e, n]), /* @__PURE__ */ i(
116
- k,
103
+ M,
117
104
  {
118
105
  gradient: "medium",
119
106
  tail: !0,
@@ -123,10 +110,10 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
123
110
  kind: "right",
124
111
  className: "mt-3",
125
112
  contentClassName: "prose prose-lighter prose-p:only:my-0",
126
- children: /* @__PURE__ */ i(N, { mode: "dark", focusMode: "light", noBorder: !0, enableRichTruncation: !0, children: r })
113
+ children: /* @__PURE__ */ i(L, { mode: "dark", focusMode: "light", noBorder: !0, enableRichTruncation: !0, children: r })
127
114
  }
128
115
  );
129
116
  };
130
117
  export {
131
- j as default
118
+ R as default
132
119
  };
@@ -1,29 +1,16 @@
1
1
  import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
- import { y as w, v as y, INFINITE_SCROLL_THRESHOLD as L } from "./index.Dbw9MfpE.js";
3
- import { IconCloseLight as U, CARDS as D, ButtonIcon as C, IconRestore as z, IconStarInCircle as B, IconStarInCircleLight as $, IconDelete as Y } from "./LogoEntry.CFw0uv25.js";
4
- import { useState as K, Fragment as V } from "react";
2
+ import { y as N, v as S, INFINITE_SCROLL_THRESHOLD as L } from "./index.CaofbEIP.js";
3
+ import { IconCloseLight as D, CARDS as z, ButtonIcon as T, IconRestore as B, IconStarInCircle as _, IconStarInCircleLight as $ } from "./LogoEntry.Bpddd0yA.js";
4
+ import { useState as Y, Fragment as K } from "react";
5
5
  import i from "clsx";
6
- import { H as W, F as j, q as N, Y as F, O as n, J as k } from "./Table.AnN2X7VF.js";
7
- import { pluralize as I, ResponsiveTooltip as S, numberFormatter as G, isProbablyMobile as H } from "./App.3M79T1qj.js";
8
- /*!
9
- @versini/ui-pill v5.2.4
10
- © 2025 gizmette.com
11
- */
12
- try {
13
- window.__VERSINI_UI_PILL__ || (window.__VERSINI_UI_PILL__ = {
14
- version: "5.2.4",
15
- buildTime: "12/15/2025 01:22 PM EST",
16
- homepage: "https://www.npmjs.com/package/@versini/ui-pill",
17
- license: "MIT"
18
- });
19
- } catch {
20
- }
6
+ import { H as W, F, q as C, Y as G, O as o, J as w, DeleteButtonIcon as H } from "./DeleteButtonIcon.P0LgJDjE.js";
7
+ import { pluralize as A, ResponsiveTooltip as k, numberFormatter as j, isProbablyMobile as V } from "./App.DTjbiLAP.js";
21
8
  const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
22
9
  "border-border-information": t === "information",
23
10
  "border-border-warning": t === "warning",
24
11
  "border-border-success": t === "success",
25
12
  "border-border-error": t === "error"
26
- }), A = ({ variant: t }) => i("not-prose", {
13
+ }), O = ({ variant: t }) => i("not-prose", {
27
14
  "text-copy-information": t === "information",
28
15
  "text-copy-warning": t === "warning",
29
16
  "text-copy-success": t === "success",
@@ -34,30 +21,30 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
34
21
  "bg-surface-success": t === "success",
35
22
  "bg-surface-error": t === "error"
36
23
  }), X = (t) => {
37
- const { className: a, variant: l } = t;
24
+ const { className: l, variant: a } = t;
38
25
  return {
39
26
  main: i(q, "inline-flex items-center gap-1 px-2 py-0.5 text-xs", J({
40
- variant: l
41
- }), A({
42
- variant: l
43
- }), Q(t), a),
44
- button: i("inline-flex items-center justify-center", "ml-1", "focus:outline", "focus:outline-1", "focus:outline-offset-1", "focus:outline-focus-dark", "hover:bg-surface-medium/50", "rounded-full", A({
45
- variant: l
27
+ variant: a
28
+ }), O({
29
+ variant: a
30
+ }), Q(t), l),
31
+ button: i("inline-flex items-center justify-center", "ml-1", "focus:outline", "focus:outline-1", "focus:outline-offset-1", "focus:outline-focus-dark", "hover:bg-surface-medium/50", "rounded-full", O({
32
+ variant: a
46
33
  }))
47
34
  };
48
- }, O = ({ label: t, className: a, variant: l = "information", description: m, onClose: d }) => {
49
- const [x, p] = K(!0), g = (f) => {
50
- d && (d(f), f.defaultPrevented || p(!1));
35
+ }, R = ({ label: t, className: l, variant: a = "information", description: m, onClose: u }) => {
36
+ const [h, p] = Y(!0), g = (f) => {
37
+ u && (u(f), f.defaultPrevented || p(!1));
51
38
  };
52
- if (!x)
39
+ if (!h)
53
40
  return null;
54
- const u = X({
55
- className: a,
56
- variant: l
41
+ const d = X({
42
+ className: l,
43
+ variant: a
57
44
  });
58
45
  return /* @__PURE__ */ c("div", {
59
46
  role: "text",
60
- className: u.main,
47
+ className: d.main,
61
48
  children: [
62
49
  m && /* @__PURE__ */ e("span", {
63
50
  className: "sr-only",
@@ -66,100 +53,100 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
66
53
  /* @__PURE__ */ e("span", {
67
54
  children: t
68
55
  }),
69
- d && /* @__PURE__ */ e("button", {
56
+ u && /* @__PURE__ */ e("button", {
70
57
  type: "button",
71
58
  onClick: g,
72
- className: u.button,
59
+ className: d.button,
73
60
  "aria-label": "Close",
74
- children: /* @__PURE__ */ e(U, {
61
+ children: /* @__PURE__ */ e(D, {
75
62
  size: "size-3"
76
63
  })
77
64
  })
78
65
  ]
79
66
  });
80
- }, o = {
67
+ }, n = {
81
68
  ROW: "row",
82
- TIMESTAMP: w,
69
+ TIMESTAMP: N,
83
70
  SUMMARY: "summary",
84
- TOKEN_USAGE: y,
71
+ TOKEN_USAGE: S,
85
72
  ACTIONS: "actions"
86
73
  }, Z = [
87
- o.ROW,
88
- o.TIMESTAMP,
89
- o.SUMMARY,
90
- o.ACTIONS
74
+ n.ROW,
75
+ n.TIMESTAMP,
76
+ n.SUMMARY,
77
+ n.ACTIONS
91
78
  ], ee = [
92
- o.ROW,
93
- o.SUMMARY,
94
- o.TIMESTAMP,
95
- o.TOKEN_USAGE,
96
- o.ACTIONS
79
+ n.ROW,
80
+ n.SUMMARY,
81
+ n.TIMESTAMP,
82
+ n.TOKEN_USAGE,
83
+ n.ACTIONS
97
84
  ], me = ({
98
85
  filteredHistory: t,
99
- historyState: a,
100
- lastEntryToLoad: l,
86
+ historyState: l,
87
+ lastEntryToLoad: a,
101
88
  onClickSort: m,
102
- onClickRestore: d,
103
- onClickDelete: x,
89
+ onClickRestore: u,
90
+ onClickDelete: h,
104
91
  onClickFavorite: p,
105
92
  infinityScrollMarkerRef: g,
106
- isLoading: u = !1,
93
+ isLoading: d = !1,
107
94
  totalHistoryCount: f,
108
- isFiltered: R = !1,
95
+ isFiltered: E = !1,
109
96
  isSearchActive: M = !1
110
97
  }) => {
111
- const T = H() ? Z : ee, E = (r) => {
98
+ const y = V() ? Z : ee, I = (r) => {
112
99
  switch (r) {
113
- case o.ROW:
114
- return /* @__PURE__ */ e(n, { className: "sr-only", children: "Row" }, r);
115
- case o.TIMESTAMP:
116
- return M ? /* @__PURE__ */ e(n, { className: "text-xs sm:text-sm", children: "Date" }, r) : /* @__PURE__ */ e(
117
- k,
100
+ case n.ROW:
101
+ return /* @__PURE__ */ e(o, { className: "sr-only", children: "Row" }, r);
102
+ case n.TIMESTAMP:
103
+ return M ? /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm", children: "Date" }, r) : /* @__PURE__ */ e(
104
+ w,
118
105
  {
119
106
  focusMode: "system",
120
107
  buttonClassName: "text-xs sm:text-sm",
121
- cellId: w,
108
+ cellId: N,
122
109
  align: "left",
123
- sortDirection: a.sortDirection,
124
- sortedCell: a.sortedCell,
110
+ sortDirection: l.sortDirection,
111
+ sortedCell: l.sortedCell,
125
112
  onClick: () => {
126
- m(w);
113
+ m(N);
127
114
  },
128
115
  children: "Date"
129
116
  },
130
117
  r
131
118
  );
132
- case o.SUMMARY:
133
- return /* @__PURE__ */ e(n, { className: "text-xs sm:text-sm", children: "Summary" }, r);
134
- case o.TOKEN_USAGE:
135
- return M ? /* @__PURE__ */ e(n, { className: "text-xs sm:text-sm text-right", children: "Tokens" }, r) : /* @__PURE__ */ e(
136
- k,
119
+ case n.SUMMARY:
120
+ return /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm", children: "Summary" }, r);
121
+ case n.TOKEN_USAGE:
122
+ return M ? /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm text-right", children: "Tokens" }, r) : /* @__PURE__ */ e(
123
+ w,
137
124
  {
138
125
  focusMode: "system",
139
126
  buttonClassName: "text-xs sm:text-sm",
140
- cellId: y,
127
+ cellId: S,
141
128
  align: "right",
142
- sortDirection: a.sortDirection,
143
- sortedCell: a.sortedCell,
129
+ sortDirection: l.sortDirection,
130
+ sortedCell: l.sortedCell,
144
131
  onClick: () => {
145
- m(y);
132
+ m(S);
146
133
  },
147
134
  children: "Tokens"
148
135
  },
149
136
  r
150
137
  );
151
- case o.ACTIONS:
152
- return /* @__PURE__ */ e(n, { className: "text-xs sm:text-sm text-right", children: "Actions" }, r);
138
+ case n.ACTIONS:
139
+ return /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm text-right", children: "Actions" }, r);
153
140
  default:
154
141
  return null;
155
142
  }
156
- }, _ = (r, s, b) => {
143
+ }, v = (r, s, b) => {
157
144
  switch (r) {
158
- case o.ROW:
159
- return /* @__PURE__ */ e(n, { children: b + 1 }, r);
160
- case o.TIMESTAMP:
145
+ case n.ROW:
146
+ return /* @__PURE__ */ e(o, { children: b + 1 }, r);
147
+ case n.TIMESTAMP:
161
148
  return /* @__PURE__ */ e(
162
- n,
149
+ o,
163
150
  {
164
151
  className: i(
165
152
  "dark:text-copy-medium",
@@ -169,10 +156,10 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
169
156
  },
170
157
  r
171
158
  );
172
- case o.SUMMARY: {
173
- const h = s.similarityScore !== void 0 && s.similarityScore !== null ? Math.round(s.similarityScore * 100) : null, v = h !== null && h < 40 ? "warning" : "success", P = s.keywordMatch === !0;
159
+ case n.SUMMARY: {
160
+ const x = s.similarityScore !== void 0 && s.similarityScore !== null ? Math.round(s.similarityScore * 100) : null, P = x !== null && x < 40 ? "warning" : "success", U = s.keywordMatch === !0;
174
161
  return /* @__PURE__ */ e(
175
- n,
162
+ o,
176
163
  {
177
164
  className: i(
178
165
  "dark:text-white",
@@ -183,14 +170,14 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
183
170
  },
184
171
  children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-1", children: [
185
172
  /* @__PURE__ */ c("div", { className: "flex flex-wrap gap-1", children: [
186
- h !== null && /* @__PURE__ */ e(
187
- O,
173
+ x !== null && /* @__PURE__ */ e(
174
+ R,
188
175
  {
189
- variant: v,
190
- label: `${h}% semantic`
176
+ variant: P,
177
+ label: `${x}% semantic`
191
178
  }
192
179
  ),
193
- P && /* @__PURE__ */ e(O, { variant: "information", label: "keyword" })
180
+ U && /* @__PURE__ */ e(R, { variant: "information", label: "keyword" })
194
181
  ] }),
195
182
  /* @__PURE__ */ e("span", { children: s.summary })
196
183
  ] })
@@ -198,49 +185,55 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
198
185
  r
199
186
  );
200
187
  }
201
- case o.TOKEN_USAGE:
188
+ case n.TOKEN_USAGE:
202
189
  return /* @__PURE__ */ e(
203
- n,
190
+ o,
204
191
  {
205
192
  className: i("dark:text-copy-medium", "text-xs sm:text-sm"),
206
193
  align: "right",
207
- children: s.tokenUsage ? G.format(s.tokenUsage) : "0"
194
+ children: s.tokenUsage ? j.format(s.tokenUsage) : "0"
208
195
  },
209
196
  r
210
197
  );
211
- case o.ACTIONS:
198
+ case n.ACTIONS:
212
199
  return /* @__PURE__ */ e(
213
- n,
200
+ o,
214
201
  {
215
202
  className: "border-l border-table-light dark:border-table-dark",
216
203
  children: /* @__PURE__ */ c("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
217
204
  /* @__PURE__ */ e(
218
- S,
205
+ k,
219
206
  {
220
207
  label: "Restore chat",
221
208
  placement: "top",
222
209
  trigger: /* @__PURE__ */ e(
223
- C,
210
+ T,
224
211
  {
225
212
  noBorder: !0,
226
213
  label: "Restore chat",
227
214
  variant: "primary",
228
- iconClassName: "text-copy-success dark:text-copy-success-light",
229
215
  onClick: async () => {
230
- await d(s);
216
+ await u(s);
231
217
  },
232
- children: /* @__PURE__ */ e(z, { size: "size-3", monotone: !0 })
218
+ children: /* @__PURE__ */ e(
219
+ B,
220
+ {
221
+ size: "size-3",
222
+ monotone: !0,
223
+ className: "text-copy-success dark:text-copy-success-light"
224
+ }
225
+ )
233
226
  }
234
227
  )
235
228
  }
236
229
  ),
237
230
  /* @__PURE__ */ e(
238
- S,
231
+ k,
239
232
  {
240
233
  label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
241
234
  placement: "top",
242
235
  trigger: /* @__PURE__ */ e(
243
- C,
236
+ T,
244
237
  {
245
238
  noBorder: !0,
246
239
  label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
@@ -248,29 +241,19 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
248
241
  onClick: async () => {
249
242
  await p(s);
250
243
  },
251
- children: s.favoriteChat ? /* @__PURE__ */ e(B, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ e($, { size: "size-4", monotone: !0 })
244
+ children: s.favoriteChat ? /* @__PURE__ */ e(_, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ e($, { size: "size-4", monotone: !0 })
252
245
  }
253
246
  )
254
247
  }
255
248
  ),
256
249
  /* @__PURE__ */ e(
257
- S,
250
+ H,
258
251
  {
259
252
  label: "Delete chat",
260
- placement: "top",
261
- trigger: /* @__PURE__ */ e(
262
- C,
263
- {
264
- noBorder: !0,
265
- label: "Delete chat",
266
- variant: "primary",
267
- iconClassName: "text-copy-error-dark dark:!text-copy-error-light",
268
- onClick: () => {
269
- x(s);
270
- },
271
- children: /* @__PURE__ */ e(Y, { size: "size-3", monotone: !0 })
272
- }
273
- )
253
+ disabled: !1,
254
+ onClick: () => {
255
+ h(s);
256
+ }
274
257
  }
275
258
  )
276
259
  ] })
@@ -289,17 +272,17 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
289
272
  mode: "alt-system",
290
273
  caption: (() => {
291
274
  const r = t.length, s = f ?? r;
292
- return R && s > r ? `Showing ${I(`${r} chat`, r)} out of ${s}` : I(`${r} chat`, r);
275
+ return E && s > r ? `Showing ${A(`${r} chat`, r)} out of ${s}` : A(`${r} chat`, r);
293
276
  })(),
294
- disabled: u && t.length > 0,
277
+ disabled: d && t.length > 0,
295
278
  children: [
296
- /* @__PURE__ */ e(j, { children: /* @__PURE__ */ e(N, { children: T.map((r) => E(r)) }) }),
297
- /* @__PURE__ */ e(F, { children: u && t.length === 0 ? /* @__PURE__ */ e(N, { children: /* @__PURE__ */ e(n, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : t.slice(0, l).map((r, s) => r?.summary ? /* @__PURE__ */ c(V, { children: [
298
- s === l - L && /* @__PURE__ */ e("tr", { ref: g }),
299
- /* @__PURE__ */ e(N, { children: T.map(
300
- (b) => _(b, r, s)
279
+ /* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(C, { children: y.map((r) => I(r)) }) }),
280
+ /* @__PURE__ */ e(G, { children: d && t.length === 0 ? /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(o, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : t.slice(0, a).map((r, s) => r?.summary ? /* @__PURE__ */ c(K, { children: [
281
+ s === a - L && /* @__PURE__ */ e("tr", { ref: g }),
282
+ /* @__PURE__ */ e(C, { children: y.map(
283
+ (b) => v(b, r, s)
301
284
  ) })
302
- ] }, `${D.HISTORY.TITLE}-${r.id}-${s}`) : null) })
285
+ ] }, `${z.HISTORY.TITLE}-${r.id}-${s}`) : null) })
303
286
  ]
304
287
  }
305
288
  );