@versini/sassysaint 8.107.3 → 8.108.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 (91) hide show
  1. package/dist/chunks/{AboutChangelog.BmMVyf-Q.js → AboutChangelog.55tIwnGe.js} +2 -2
  2. package/dist/chunks/{AboutEntry.wD5hG0ON.js → AboutEntry.D1zAHjel.js} +7 -7
  3. package/dist/chunks/{App.FyINLNSp.js → App.Br7HE-y0.js} +1746 -1908
  4. package/dist/chunks/{Bubble.Ci-pu6NI.js → Bubble.Ic_8FEhH.js} +47 -74
  5. package/dist/chunks/{Table.Dzy9ts3i.js → ButtonIconDelete.DRBd_G40.js} +125 -104
  6. package/dist/chunks/{Chart.DYVf2gst.js → Chart.CwIVbBYb.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.CD6bVvcQ.js → ChatBubbleAssistant.DHlLzqdc.js} +199 -208
  8. package/dist/chunks/{ChatBubbleUser.Cre3cX04.js → ChatBubbleUser.D7ksCr76.js} +27 -36
  9. package/dist/chunks/{ChatHistoryTable.D_kOkWN9.js → ChatHistoryTable.DhUDW7QO.js} +108 -121
  10. package/dist/chunks/{HistoryEntry.BFNME4Z8.js → HistoryEntry.BxnMfiXN.js} +6 -6
  11. package/dist/chunks/{LoginEntry.SW7wyEpU.js → LoginEntry.XF9rPWdB.js} +4 -4
  12. package/dist/chunks/{LogoEntry.BAKpdJEy.js → LogoEntry.CnTI8jpv.js} +304 -385
  13. package/dist/chunks/{MemoriesEntry.Ztyx_8Wm.js → MemoriesEntry.BjNXrPW2.js} +164 -169
  14. package/dist/chunks/{ProfileEntry.CjzAusYw.js → ProfileEntry.S6XO2uMT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.D4IKmfYP.js → SettingsEntry.C5jHUJzu.js} +5 -5
  16. package/dist/chunks/{UsageEntry.D7sTPflE.js → UsageEntry.CQTLPweE.js} +5 -5
  17. package/dist/chunks/_basePickBy.Dj6LWOd3.js +151 -0
  18. package/dist/chunks/_baseUniq.DfiF6jap.js +614 -0
  19. package/dist/chunks/arc.CLrqhM1J.js +83 -0
  20. package/dist/chunks/architecture-U656AL7Q.CuF-GD1P.js +36 -0
  21. package/dist/chunks/architectureDiagram-VXUJARFQ.BGPIWweD.js +4653 -0
  22. package/dist/chunks/blockDiagram-VD42YOAC.cLfUaXxm.js +2254 -0
  23. package/dist/chunks/browser.B8WuOmYx.js +260 -0
  24. package/dist/chunks/c4Diagram-YG6GDRKO.Cc4f8G62.js +1579 -0
  25. package/dist/chunks/channel.D7pUQPat.js +5 -0
  26. package/dist/chunks/chunk-4BX2VUAB.C5gP6CzO.js +8 -0
  27. package/dist/chunks/chunk-55IACEB6.CMTOMhuf.js +8 -0
  28. package/dist/chunks/chunk-B4BG7PRW.CQz5CpXp.js +1375 -0
  29. package/dist/chunks/chunk-DI55MBZ5.C4SOgQau.js +1370 -0
  30. package/dist/chunks/chunk-FMBD7UC4.5tYrPDWZ.js +19 -0
  31. package/dist/chunks/chunk-QN33PNHL.P3o9PZBW.js +19 -0
  32. package/dist/chunks/chunk-QZHKN3VN.COvsjomn.js +15 -0
  33. package/dist/chunks/chunk-TZMSLE5B.C5QPHQlj.js +64 -0
  34. package/dist/chunks/classDiagram-2ON5EDUG.DrIfmpHo.js +16 -0
  35. package/dist/chunks/classDiagram-v2-WZHVMYZB.DrIfmpHo.js +16 -0
  36. package/dist/chunks/clone.47X4nGV4.js +8 -0
  37. package/dist/chunks/cose-bilkent-S5V4N54A.B1umrZne.js +2600 -0
  38. package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
  39. package/dist/chunks/dagre-6UL2VRFP.Ce4VSTky.js +444 -0
  40. package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
  41. package/dist/chunks/diagram-PSM6KHXK.B1yvSG9p.js +531 -0
  42. package/dist/chunks/diagram-QEK2KX5R.CYDnnLB3.js +217 -0
  43. package/dist/chunks/diagram-S2PKOQOG.BI6w7TZJ.js +142 -0
  44. package/dist/chunks/erDiagram-Q2GNP2WA.D7mTQJ6P.js +841 -0
  45. package/dist/chunks/flowDiagram-NV44I4VS.Col8_E_0.js +1620 -0
  46. package/dist/chunks/ganttDiagram-JELNMOA3.GAUSoSKL.js +2647 -0
  47. package/dist/chunks/gitGraph-F6HP7TQM.3I_jmRrt.js +27 -0
  48. package/dist/chunks/gitGraphDiagram-NY62KEGX.DZQ_LVDe.js +699 -0
  49. package/dist/chunks/graph.BmJVbvPo.js +247 -0
  50. package/dist/chunks/index.Bi0z4EE1.js +90 -0
  51. package/dist/chunks/{index.QiLu2wkI.js → index.C0El17wt.js} +2 -2
  52. package/dist/chunks/{index.DBovegdE.js → index.CUn5zNJg.js} +1 -1
  53. package/dist/chunks/index.CbEVdl_N.js +279 -0
  54. package/dist/chunks/{index.BT3Do9Po.js → index.CoZgV6rn.js} +34 -43
  55. package/dist/chunks/{index.16gcBvke.js → index.DCqTKdor.js} +60 -69
  56. package/dist/chunks/index.DctDXsYU.js +67 -0
  57. package/dist/chunks/{index.BfTDtoYy.js → index.Df-tNwfZ.js} +1 -1
  58. package/dist/chunks/{index.BI1_ccPN.js → index.DxGkXGdu.js} +3 -3
  59. package/dist/chunks/{index.uILjvEfo.js → index.z2e7pMwp.js} +1 -1
  60. package/dist/chunks/info-NVLQJR56.D9ao7_Su.js +27 -0
  61. package/dist/chunks/infoDiagram-WHAUD3N6.DmFB-CXk.js +24 -0
  62. package/dist/chunks/init.DAGnb5BH.js +16 -0
  63. package/dist/chunks/journeyDiagram-XKPGCS4Q.C9FISQxf.js +834 -0
  64. package/dist/chunks/kanban-definition-3W4ZIXB7.ChmJnTyd.js +719 -0
  65. package/dist/chunks/{index.DJlv39cv.js → katex.D0sQThIv.js} +1638 -1943
  66. package/dist/chunks/layout.DtZQLIyC.js +1332 -0
  67. package/dist/chunks/linear.CIDfImUo.js +625 -0
  68. package/dist/chunks/mermaid-parser.core.CO83pegl.js +12724 -0
  69. package/dist/chunks/mindmap-definition-VGOIOE7T.B3dfWebK.js +759 -0
  70. package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
  71. package/dist/chunks/packet-BFZMPI3H.q9qJMgm9.js +27 -0
  72. package/dist/chunks/pie-7BOR55EZ.BTnKDmrp.js +32 -0
  73. package/dist/chunks/pieDiagram-ADFJNKIX.B23eDSnQ.js +161 -0
  74. package/dist/chunks/quadrantDiagram-AYHSOK5B.B3ZIlLhO.js +1022 -0
  75. package/dist/chunks/radar-NHE76QYJ.BeKykujs.js +27 -0
  76. package/dist/chunks/rehype-mermaid.DkS2NcIa.js +14283 -0
  77. package/dist/chunks/requirementDiagram-UZGBJVZJ.0vOl9IL2.js +850 -0
  78. package/dist/chunks/sankeyDiagram-TZEHDZUN.DxwTK65F.js +810 -0
  79. package/dist/chunks/sequenceDiagram-WL72ISMW.BmOg83Gx.js +2511 -0
  80. package/dist/chunks/stateDiagram-FKZM4ZOC.DBiU28Wu.js +263 -0
  81. package/dist/chunks/stateDiagram-v2-4FDKWEC3.B6t8_4cH.js +16 -0
  82. package/dist/chunks/timeline-definition-IT6M3QCI.DpWxwytE.js +795 -0
  83. package/dist/chunks/treemap-KMMF4GRG.KqgFrxbV.js +81 -0
  84. package/dist/chunks/{useMarkdown.BberHabr.js → useMarkdown.CxuK_DLo.js} +2078 -2072
  85. package/dist/chunks/xychartDiagram-PRI3JC2R.CBaIBQ89.js +1340 -0
  86. package/dist/components/SassySaint/SassySaint.js +1 -1
  87. package/dist/index.js +3 -3
  88. package/dist/style.css +1 -1
  89. package/package.json +5 -5
  90. package/dist/chunks/index.BjnVQ4X3.js +0 -99
  91. package/dist/chunks/index.uVDYkuxz.js +0 -297
@@ -1,18 +1,9 @@
1
- import { jsx as i, Fragment as S, jsxs as C } from "react/jsx-runtime";
2
- import { Button as _ } from "./LogoEntry.BAKpdJEy.js";
3
- import { useState as h, useMemo as m, isValidElement as T, useEffect as B } from "react";
4
- import { useMarkdown as b } from "./useMarkdown.BberHabr.js";
5
- import { AsyncBubble as k } from "./App.FyINLNSp.js";
6
- try {
7
- window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
8
- version: "6.1.9",
9
- buildTime: "12/24/2025 09:21 AM EST",
10
- homepage: "https://www.npmjs.com/package/@versini/ui-truncate",
11
- license: "MIT"
12
- });
13
- } catch {
14
- }
15
- 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.CnTI8jpv.js";
3
+ import { useState as k, useMemo as m, isValidElement as T, useEffect as H } from "react";
4
+ import { useMarkdown as h } from "./useMarkdown.CxuK_DLo.js";
5
+ import { AsyncBubble as M } from "./App.Br7HE-y0.js";
6
+ const O = 200, w = ({ string: e, idealLength: r = O }) => {
16
7
  if (e.length <= r)
17
8
  return {
18
9
  string: e,
@@ -28,7 +19,7 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
28
19
  string: e.slice(0, r + s),
29
20
  isTruncated: !0
30
21
  };
31
- }, 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([
32
23
  "P",
33
24
  "DIV",
34
25
  "UL",
@@ -62,29 +53,29 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
62
53
  return e.some(u);
63
54
  if (/* @__PURE__ */ T(e)) {
64
55
  const r = e;
65
- 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);
66
57
  }
67
58
  return !1;
68
- }, N = ({ children: e, length: r = 200, mode: n = "system", focusMode: c = "system", enableRichTruncation: s = !1, noBorder: d = !1 }) => {
69
- 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), [
70
61
  e
71
- ]), { string: f, isTruncated: a } = m(() => M({
72
- string: p,
62
+ ]), { string: p, isTruncated: a } = m(() => w({
63
+ string: f,
73
64
  idealLength: r
74
65
  }), [
75
- p,
66
+ f,
76
67
  r
77
- ]), E = s && a && !t, A = (I) => {
78
- I.preventDefault(), y(!t);
68
+ ]), E = s && a && !t, A = (x) => {
69
+ x.preventDefault(), y(!t);
79
70
  };
80
71
  if (g)
81
- return /* @__PURE__ */ i(S, {
72
+ return /* @__PURE__ */ i(C, {
82
73
  children: e
83
74
  });
84
75
  let o;
85
- a ? t ? o = e : o = f : o = e;
86
- const w = s ? u(e) : !1;
87
- 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", {
88
79
  style: {
89
80
  wordBreak: "break-word"
90
81
  },
@@ -92,11 +83,11 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
92
83
  "aria-expanded": a ? t : void 0,
93
84
  children: [
94
85
  o,
95
- a && /* @__PURE__ */ i(_, {
86
+ a && /* @__PURE__ */ i(b, {
96
87
  mode: n,
97
88
  focusMode: c,
98
89
  noBorder: d,
99
- className: !(s && t && w) ? "ml-2" : void 0,
90
+ className: !(s && t && B) ? "ml-2" : void 0,
100
91
  size: "small",
101
92
  onClick: A,
102
93
  "aria-label": t ? "Show less" : "Show more",
@@ -104,12 +95,12 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
104
95
  })
105
96
  ]
106
97
  });
107
- }, j = ({ content: e }) => {
108
- const [r, n] = b();
109
- return B(() => {
98
+ }, R = ({ content: e }) => {
99
+ const [r, n] = h();
100
+ return H(() => {
110
101
  e && n(e);
111
102
  }, [e, n]), /* @__PURE__ */ i(
112
- k,
103
+ M,
113
104
  {
114
105
  gradient: "medium",
115
106
  tail: !0,
@@ -119,10 +110,10 @@ const x = 200, M = ({ string: e, idealLength: r = x }) => {
119
110
  kind: "right",
120
111
  className: "mt-3",
121
112
  contentClassName: "prose prose-lighter prose-p:only:my-0",
122
- 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 })
123
114
  }
124
115
  );
125
116
  };
126
117
  export {
127
- j as default
118
+ R as default
128
119
  };
@@ -1,25 +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.QiLu2wkI.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.BAKpdJEy.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.C0El17wt.js";
3
+ import { IconCloseLight as D, CARDS as z, ButtonIcon as T, IconRestore as B, IconStarInCircle as _, IconStarInCircleLight as $ } from "./LogoEntry.CnTI8jpv.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.Dzy9ts3i.js";
7
- import { pluralize as A, ResponsiveTooltip as S, numberFormatter as G, isProbablyMobile as H } from "./App.FyINLNSp.js";
8
- try {
9
- window.__VERSINI_UI_PILL__ || (window.__VERSINI_UI_PILL__ = {
10
- version: "5.2.5",
11
- buildTime: "12/24/2025 09:21 AM EST",
12
- homepage: "https://www.npmjs.com/package/@versini/ui-pill",
13
- license: "MIT"
14
- });
15
- } catch {
16
- }
6
+ import { H as W, F, q as C, Y as G, O as o, J as w, ButtonIconDelete as H } from "./ButtonIconDelete.DRBd_G40.js";
7
+ import { pluralize as A, ResponsiveTooltip as k, numberFormatter as j, isProbablyMobile as V } from "./App.Br7HE-y0.js";
17
8
  const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
18
9
  "border-border-information": t === "information",
19
10
  "border-border-warning": t === "warning",
20
11
  "border-border-success": t === "success",
21
12
  "border-border-error": t === "error"
22
- }), I = ({ variant: t }) => i("not-prose", {
13
+ }), O = ({ variant: t }) => i("not-prose", {
23
14
  "text-copy-information": t === "information",
24
15
  "text-copy-warning": t === "warning",
25
16
  "text-copy-success": t === "success",
@@ -30,30 +21,30 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
30
21
  "bg-surface-success": t === "success",
31
22
  "bg-surface-error": t === "error"
32
23
  }), X = (t) => {
33
- const { className: a, variant: l } = t;
24
+ const { className: l, variant: a } = t;
34
25
  return {
35
26
  main: i(q, "inline-flex items-center gap-1 px-2 py-0.5 text-xs", J({
36
- variant: l
37
- }), I({
38
- variant: l
39
- }), Q(t), a),
40
- 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", I({
41
- 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
42
33
  }))
43
34
  };
44
- }, O = ({ label: t, className: a, variant: l = "information", description: m, onClose: d }) => {
45
- const [x, p] = K(!0), g = (f) => {
46
- 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));
47
38
  };
48
- if (!x)
39
+ if (!h)
49
40
  return null;
50
- const u = X({
51
- className: a,
52
- variant: l
41
+ const d = X({
42
+ className: l,
43
+ variant: a
53
44
  });
54
45
  return /* @__PURE__ */ c("div", {
55
46
  role: "text",
56
- className: u.main,
47
+ className: d.main,
57
48
  children: [
58
49
  m && /* @__PURE__ */ e("span", {
59
50
  className: "sr-only",
@@ -62,100 +53,100 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
62
53
  /* @__PURE__ */ e("span", {
63
54
  children: t
64
55
  }),
65
- d && /* @__PURE__ */ e("button", {
56
+ u && /* @__PURE__ */ e("button", {
66
57
  type: "button",
67
58
  onClick: g,
68
- className: u.button,
59
+ className: d.button,
69
60
  "aria-label": "Close",
70
- children: /* @__PURE__ */ e(U, {
61
+ children: /* @__PURE__ */ e(D, {
71
62
  size: "size-3"
72
63
  })
73
64
  })
74
65
  ]
75
66
  });
76
- }, o = {
67
+ }, n = {
77
68
  ROW: "row",
78
- TIMESTAMP: w,
69
+ TIMESTAMP: N,
79
70
  SUMMARY: "summary",
80
- TOKEN_USAGE: y,
71
+ TOKEN_USAGE: S,
81
72
  ACTIONS: "actions"
82
73
  }, Z = [
83
- o.ROW,
84
- o.TIMESTAMP,
85
- o.SUMMARY,
86
- o.ACTIONS
74
+ n.ROW,
75
+ n.TIMESTAMP,
76
+ n.SUMMARY,
77
+ n.ACTIONS
87
78
  ], ee = [
88
- o.ROW,
89
- o.SUMMARY,
90
- o.TIMESTAMP,
91
- o.TOKEN_USAGE,
92
- o.ACTIONS
79
+ n.ROW,
80
+ n.SUMMARY,
81
+ n.TIMESTAMP,
82
+ n.TOKEN_USAGE,
83
+ n.ACTIONS
93
84
  ], me = ({
94
85
  filteredHistory: t,
95
- historyState: a,
96
- lastEntryToLoad: l,
86
+ historyState: l,
87
+ lastEntryToLoad: a,
97
88
  onClickSort: m,
98
- onClickRestore: d,
99
- onClickDelete: x,
89
+ onClickRestore: u,
90
+ onClickDelete: h,
100
91
  onClickFavorite: p,
101
92
  infinityScrollMarkerRef: g,
102
- isLoading: u = !1,
93
+ isLoading: d = !1,
103
94
  totalHistoryCount: f,
104
- isFiltered: R = !1,
95
+ isFiltered: E = !1,
105
96
  isSearchActive: M = !1
106
97
  }) => {
107
- const T = H() ? Z : ee, E = (r) => {
98
+ const y = V() ? Z : ee, I = (r) => {
108
99
  switch (r) {
109
- case o.ROW:
110
- return /* @__PURE__ */ e(n, { className: "sr-only", children: "Row" }, r);
111
- case o.TIMESTAMP:
112
- return M ? /* @__PURE__ */ e(n, { className: "text-xs sm:text-sm", children: "Date" }, r) : /* @__PURE__ */ e(
113
- 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,
114
105
  {
115
106
  focusMode: "system",
116
107
  buttonClassName: "text-xs sm:text-sm",
117
- cellId: w,
108
+ cellId: N,
118
109
  align: "left",
119
- sortDirection: a.sortDirection,
120
- sortedCell: a.sortedCell,
110
+ sortDirection: l.sortDirection,
111
+ sortedCell: l.sortedCell,
121
112
  onClick: () => {
122
- m(w);
113
+ m(N);
123
114
  },
124
115
  children: "Date"
125
116
  },
126
117
  r
127
118
  );
128
- case o.SUMMARY:
129
- return /* @__PURE__ */ e(n, { className: "text-xs sm:text-sm", children: "Summary" }, r);
130
- case o.TOKEN_USAGE:
131
- return M ? /* @__PURE__ */ e(n, { className: "text-xs sm:text-sm text-right", children: "Tokens" }, r) : /* @__PURE__ */ e(
132
- 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,
133
124
  {
134
125
  focusMode: "system",
135
126
  buttonClassName: "text-xs sm:text-sm",
136
- cellId: y,
127
+ cellId: S,
137
128
  align: "right",
138
- sortDirection: a.sortDirection,
139
- sortedCell: a.sortedCell,
129
+ sortDirection: l.sortDirection,
130
+ sortedCell: l.sortedCell,
140
131
  onClick: () => {
141
- m(y);
132
+ m(S);
142
133
  },
143
134
  children: "Tokens"
144
135
  },
145
136
  r
146
137
  );
147
- case o.ACTIONS:
148
- 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);
149
140
  default:
150
141
  return null;
151
142
  }
152
- }, _ = (r, s, b) => {
143
+ }, v = (r, s, b) => {
153
144
  switch (r) {
154
- case o.ROW:
155
- return /* @__PURE__ */ e(n, { children: b + 1 }, r);
156
- case o.TIMESTAMP:
145
+ case n.ROW:
146
+ return /* @__PURE__ */ e(o, { children: b + 1 }, r);
147
+ case n.TIMESTAMP:
157
148
  return /* @__PURE__ */ e(
158
- n,
149
+ o,
159
150
  {
160
151
  className: i(
161
152
  "dark:text-copy-medium",
@@ -165,10 +156,10 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
165
156
  },
166
157
  r
167
158
  );
168
- case o.SUMMARY: {
169
- 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;
170
161
  return /* @__PURE__ */ e(
171
- n,
162
+ o,
172
163
  {
173
164
  className: i(
174
165
  "dark:text-white",
@@ -179,14 +170,14 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
179
170
  },
180
171
  children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-1", children: [
181
172
  /* @__PURE__ */ c("div", { className: "flex flex-wrap gap-1", children: [
182
- h !== null && /* @__PURE__ */ e(
183
- O,
173
+ x !== null && /* @__PURE__ */ e(
174
+ R,
184
175
  {
185
- variant: v,
186
- label: `${h}% semantic`
176
+ variant: P,
177
+ label: `${x}% semantic`
187
178
  }
188
179
  ),
189
- P && /* @__PURE__ */ e(O, { variant: "information", label: "keyword" })
180
+ U && /* @__PURE__ */ e(R, { variant: "information", label: "keyword" })
190
181
  ] }),
191
182
  /* @__PURE__ */ e("span", { children: s.summary })
192
183
  ] })
@@ -194,49 +185,55 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
194
185
  r
195
186
  );
196
187
  }
197
- case o.TOKEN_USAGE:
188
+ case n.TOKEN_USAGE:
198
189
  return /* @__PURE__ */ e(
199
- n,
190
+ o,
200
191
  {
201
192
  className: i("dark:text-copy-medium", "text-xs sm:text-sm"),
202
193
  align: "right",
203
- children: s.tokenUsage ? G.format(s.tokenUsage) : "0"
194
+ children: s.tokenUsage ? j.format(s.tokenUsage) : "0"
204
195
  },
205
196
  r
206
197
  );
207
- case o.ACTIONS:
198
+ case n.ACTIONS:
208
199
  return /* @__PURE__ */ e(
209
- n,
200
+ o,
210
201
  {
211
202
  className: "border-l border-table-light dark:border-table-dark",
212
203
  children: /* @__PURE__ */ c("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
213
204
  /* @__PURE__ */ e(
214
- S,
205
+ k,
215
206
  {
216
207
  label: "Restore chat",
217
208
  placement: "top",
218
209
  trigger: /* @__PURE__ */ e(
219
- C,
210
+ T,
220
211
  {
221
212
  noBorder: !0,
222
213
  label: "Restore chat",
223
214
  variant: "primary",
224
- iconClassName: "text-copy-success dark:text-copy-success-light",
225
215
  onClick: async () => {
226
- await d(s);
216
+ await u(s);
227
217
  },
228
- 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
+ )
229
226
  }
230
227
  )
231
228
  }
232
229
  ),
233
230
  /* @__PURE__ */ e(
234
- S,
231
+ k,
235
232
  {
236
233
  label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
237
234
  placement: "top",
238
235
  trigger: /* @__PURE__ */ e(
239
- C,
236
+ T,
240
237
  {
241
238
  noBorder: !0,
242
239
  label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
@@ -244,29 +241,19 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
244
241
  onClick: async () => {
245
242
  await p(s);
246
243
  },
247
- 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 })
248
245
  }
249
246
  )
250
247
  }
251
248
  ),
252
249
  /* @__PURE__ */ e(
253
- S,
250
+ H,
254
251
  {
255
252
  label: "Delete chat",
256
- placement: "top",
257
- trigger: /* @__PURE__ */ e(
258
- C,
259
- {
260
- noBorder: !0,
261
- label: "Delete chat",
262
- variant: "primary",
263
- iconClassName: "text-copy-error-dark dark:!text-copy-error-light",
264
- onClick: () => {
265
- x(s);
266
- },
267
- children: /* @__PURE__ */ e(Y, { size: "size-3", monotone: !0 })
268
- }
269
- )
253
+ disabled: !1,
254
+ onClick: () => {
255
+ h(s);
256
+ }
270
257
  }
271
258
  )
272
259
  ] })
@@ -285,17 +272,17 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
285
272
  mode: "alt-system",
286
273
  caption: (() => {
287
274
  const r = t.length, s = f ?? r;
288
- return R && s > r ? `Showing ${A(`${r} chat`, r)} out of ${s}` : A(`${r} chat`, r);
275
+ return E && s > r ? `Showing ${A(`${r} chat`, r)} out of ${s}` : A(`${r} chat`, r);
289
276
  })(),
290
- disabled: u && t.length > 0,
277
+ disabled: d && t.length > 0,
291
278
  children: [
292
- /* @__PURE__ */ e(j, { children: /* @__PURE__ */ e(N, { children: T.map((r) => E(r)) }) }),
293
- /* @__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: [
294
- s === l - L && /* @__PURE__ */ e("tr", { ref: g }),
295
- /* @__PURE__ */ e(N, { children: T.map(
296
- (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)
297
284
  ) })
298
- ] }, `${D.HISTORY.TITLE}-${r.id}-${s}`) : null) })
285
+ ] }, `${z.HISTORY.TITLE}-${r.id}-${s}`) : null) })
299
286
  ]
300
287
  }
301
288
  );
@@ -1,15 +1,15 @@
1
1
  import { jsxs as n, Fragment as ae, jsx as t } from "react/jsx-runtime";
2
- import { n as K, INFINITE_SCROLL_LIMIT as U, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as u, LOCAL_STORAGE_SORT_TIMESTAMP as se, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ie, y as I, LOCAL_STORAGE_CHAT_ID as ne, useDeleteChat as ce, useToggleFavoriteChat as le, graphQLRequest as de, SERVICE_TYPES as he, ACTION_SORT as me, v as ue, LOCAL_STORAGE_SEARCH as Ce, LOCAL_STORAGE_FAVORITES_ONLY as Se, LOCAL_STORAGE_KEYWORD_MATCH_ALL as fe, useChatsHistory as ye, useUserChatStats as pe, ACTION_SEARCH as Te } from "./index.QiLu2wkI.js";
3
- import { HistoryContext as Y, ChatContext as ge, e as m, APP_CLASSNAME as Ae, TOAST_CHAT_DELETED as Ee, HISTORY_TITLE as _e, IconSearch as Le, Button as De, L as Oe, j as ke } from "./LogoEntry.BAKpdJEy.js";
4
- import { Card as ve } from "./index.BT3Do9Po.js";
5
- import { useAiChat as Re, useLocalStorage as C, ConfirmationPanel as be, LazyToastContainerWrapper as Ie, showErrorToast as xe, v4 as we, CHAT_RESET as He, CHAT_SET_ATTACHMENTS as Ne, CHAT_SET_STATUS as Fe, Panel as Me, debounce as Ge, Toggle as B, CancelButton as Ve } from "./App.FyINLNSp.js";
6
- import { TextInput as ze } from "./index.16gcBvke.js";
2
+ import { n as K, INFINITE_SCROLL_LIMIT as U, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as u, LOCAL_STORAGE_SORT_TIMESTAMP as se, LOCAL_STORAGE_SORT_TOKEN_USAGE as oe, LOCAL_STORAGE_SORT as ie, y as I, LOCAL_STORAGE_CHAT_ID as ne, useDeleteChat as ce, useToggleFavoriteChat as le, graphQLRequest as de, SERVICE_TYPES as he, ACTION_SORT as me, v as ue, LOCAL_STORAGE_SEARCH as Ce, LOCAL_STORAGE_FAVORITES_ONLY as Se, LOCAL_STORAGE_KEYWORD_MATCH_ALL as fe, useChatsHistory as ye, useUserChatStats as pe, ACTION_SEARCH as Te } from "./index.C0El17wt.js";
3
+ import { HistoryContext as Y, ChatContext as ge, e as m, APP_CLASSNAME as Ae, TOAST_CHAT_DELETED as Ee, HISTORY_TITLE as _e, IconSearch as Le, Button as De, L as Oe, j as ke } from "./LogoEntry.CnTI8jpv.js";
4
+ import { Card as ve } from "./index.CoZgV6rn.js";
5
+ import { useAiChat as Re, useLocalStorage as C, ConfirmationPanel as be, LazyToastContainerWrapper as Ie, showErrorToast as xe, v4 as we, CHAT_RESET as He, CHAT_SET_ATTACHMENTS as Ne, CHAT_SET_STATUS as Fe, Panel as Me, debounce as Ge, Toggle as B, ButtonCancel as Ve } from "./App.Br7HE-y0.js";
6
+ import { TextInput as ze } from "./index.DCqTKdor.js";
7
7
  import Pe from "clsx";
8
8
  import { useRef as x, useState as G, useContext as V, useCallback as j, Suspense as Ue, lazy as Be, useEffect as je } from "react";
9
9
  const Ke = Be(
10
10
  () => import(
11
11
  /* webpackChunkName: "history-table" */
12
- "./ChatHistoryTable.D_kOkWN9.js"
12
+ "./ChatHistoryTable.DhUDW7QO.js"
13
13
  ).then((S) => ({ default: S.ChatHistoryTable }))
14
14
  ), Ye = ({
15
15
  filteredHistory: S,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as i, jsx as e, Fragment as x } from "react/jsx-runtime";
2
- import { n as L, getLayoutPaddingClass as M, getMessageContaintWrapperClass as b, isTauri as I } from "./index.QiLu2wkI.js";
3
- import { Logo as N, L as E, j as t, PASSWORD_PLACEHOLDER as y, ButtonIcon as p, IconShow as S, IconHide as v, Button as w, LOG_IN as P, LOG_IN_PASSKEY as z, IconPasskey as B } from "./LogoEntry.BAKpdJEy.js";
4
- import { Card as O } from "./index.BT3Do9Po.js";
5
- import { TextInput as T, TextInputMask as W } from "./index.16gcBvke.js";
2
+ import { n as L, getLayoutPaddingClass as M, getMessageContaintWrapperClass as b, isTauri as I } from "./index.C0El17wt.js";
3
+ import { Logo as N, L as E, j as t, PASSWORD_PLACEHOLDER as y, ButtonIcon as p, IconShow as S, IconHide as v, Button as w, LOG_IN as P, LOG_IN_PASSKEY as z, IconPasskey as B } from "./LogoEntry.CnTI8jpv.js";
4
+ import { Card as O } from "./index.CoZgV6rn.js";
5
+ import { TextInput as T, TextInputMask as W } from "./index.DCqTKdor.js";
6
6
  import { useState as s, useEffect as h } from "react";
7
7
  const q = () => {
8
8
  const { login: g, logoutReason: o, loginWithPasskey: f } = L(), [n, l] = s(""), [d, m] = s(""), [c, C] = s(!0), [r, u] = s({