@versini/sassysaint 8.110.0 → 8.110.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 (87) hide show
  1. package/dist/chunks/{AboutChangelog.BfOWMaYg.js → AboutChangelog.DfItgg_1.js} +2 -2
  2. package/dist/chunks/AboutEntry.DIYTS0Pp.js +77 -0
  3. package/dist/chunks/{App.BD0e8HgV.js → App.7P9lyXTX.js} +2435 -2452
  4. package/dist/chunks/{Bubble.fxUgvZMG.js → Bubble.C3J-YrAQ.js} +1 -1
  5. package/dist/chunks/ButtonIconDelete.CAEfJOI7.js +333 -0
  6. package/dist/chunks/{Chart.C-EqsPgy.js → Chart.Dg1jAFpj.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.hM8owVIk.js → ChatBubbleAssistant.DavDkAFx.js} +4 -4
  8. package/dist/chunks/{ChatBubbleUser.CnsuEhxO.js → ChatBubbleUser.DSMfBmEP.js} +3 -3
  9. package/dist/chunks/{ChatHistoryTable.WRplbgo4.js → ChatHistoryTable.qju2f_Sh.js} +73 -73
  10. package/dist/chunks/{HistoryEntry.BgO_PD7Q.js → HistoryEntry.QxUwQO5B.js} +72 -80
  11. package/dist/chunks/LoginEntry.BbhZpovW.js +118 -0
  12. package/dist/chunks/{LogoEntry.CucXks5G.js → LogoEntry.CTMAkXZN.js} +642 -746
  13. package/dist/chunks/{MemoriesEntry.OQ1K4KNa.js → MemoriesEntry.BYYT1IVl.js} +304 -318
  14. package/dist/chunks/ProfileEntry.vCF-ayWr.js +205 -0
  15. package/dist/chunks/{SettingsEntry.ByPtC4lj.js → SettingsEntry.DEaHLi7A.js} +114 -122
  16. package/dist/chunks/UsageEntry.B3Z4Zr4a.js +230 -0
  17. package/dist/chunks/{_baseUniq.DJhemj5B.js → _baseUniq.CKo3g19j.js} +1 -1
  18. package/dist/chunks/{arc.ClK0mYh2.js → arc.ny1AnYpL.js} +1 -1
  19. package/dist/chunks/{architecture-U656AL7Q.DGORleeb.js → architecture-U656AL7Q.CoJV4P-W.js} +1 -1
  20. package/dist/chunks/{architectureDiagram-VXUJARFQ.HR_eet_T.js → architectureDiagram-VXUJARFQ.C_r6hPXf.js} +4 -4
  21. package/dist/chunks/{blockDiagram-VD42YOAC.CWrnXf_B.js → blockDiagram-VD42YOAC.DeTKi9HH.js} +5 -5
  22. package/dist/chunks/{browser.5ieI9QUP.js → browser.Dd1PVu4Q.js} +1 -1
  23. package/dist/chunks/{c4Diagram-YG6GDRKO.CaA0SaMc.js → c4Diagram-YG6GDRKO.PYJXPQRd.js} +2 -2
  24. package/dist/chunks/{channel.BI8KZVUl.js → channel.CldxJpdX.js} +1 -1
  25. package/dist/chunks/{chunk-4BX2VUAB.CTzK9jPw.js → chunk-4BX2VUAB.D_xGzQXV.js} +1 -1
  26. package/dist/chunks/{chunk-55IACEB6.DMb8Reca.js → chunk-55IACEB6.D91lGO9k.js} +1 -1
  27. package/dist/chunks/{chunk-B4BG7PRW.BHBa3N2V.js → chunk-B4BG7PRW.rABluadn.js} +4 -4
  28. package/dist/chunks/{chunk-DI55MBZ5.Bqwg_jpX.js → chunk-DI55MBZ5.BisMfdbP.js} +3 -3
  29. package/dist/chunks/{chunk-FMBD7UC4.p8OpoFJE.js → chunk-FMBD7UC4.IZluU3TG.js} +1 -1
  30. package/dist/chunks/{chunk-QN33PNHL._xYLGQNv.js → chunk-QN33PNHL.DdhRwJuC.js} +1 -1
  31. package/dist/chunks/{chunk-QZHKN3VN.Bt1FHb64.js → chunk-QZHKN3VN.DxJRkbxl.js} +1 -1
  32. package/dist/chunks/{chunk-TZMSLE5B.hFsU0iJf.js → chunk-TZMSLE5B.yJUdJdZG.js} +1 -1
  33. package/dist/chunks/{classDiagram-2ON5EDUG.DiSJfiEu.js → classDiagram-2ON5EDUG.BJJShSGE.js} +2 -2
  34. package/dist/chunks/{classDiagram-v2-WZHVMYZB.DiSJfiEu.js → classDiagram-v2-WZHVMYZB.BJJShSGE.js} +2 -2
  35. package/dist/chunks/{clone.NcwizCyH.js → clone.CYQWcQos.js} +1 -1
  36. package/dist/chunks/{cose-bilkent-S5V4N54A.DogEbzcD.js → cose-bilkent-S5V4N54A.CFiLRTlV.js} +2 -2
  37. package/dist/chunks/{dagre-6UL2VRFP.Cy_GltZx.js → dagre-6UL2VRFP.BAOLjlsO.js} +5 -5
  38. package/dist/chunks/{diagram-PSM6KHXK.CazeYJ2F.js → diagram-PSM6KHXK.B7fd_KvS.js} +4 -4
  39. package/dist/chunks/{diagram-QEK2KX5R.ByhZHDpm.js → diagram-QEK2KX5R.nRWB6Pdu.js} +3 -3
  40. package/dist/chunks/{diagram-S2PKOQOG.D49-fpQd.js → diagram-S2PKOQOG.C4gQIrc_.js} +3 -3
  41. package/dist/chunks/{erDiagram-Q2GNP2WA.nce3gDBb.js → erDiagram-Q2GNP2WA.U2TDWSHg.js} +4 -4
  42. package/dist/chunks/{flowDiagram-NV44I4VS.DDUGMSKf.js → flowDiagram-NV44I4VS.CmXaVrq9.js} +5 -5
  43. package/dist/chunks/{ganttDiagram-JELNMOA3.NGXzLkaH.js → ganttDiagram-JELNMOA3.DSD39bjf.js} +2 -2
  44. package/dist/chunks/{gitGraph-F6HP7TQM.BzKXexyv.js → gitGraph-F6HP7TQM.C_axBowD.js} +1 -1
  45. package/dist/chunks/{gitGraphDiagram-NY62KEGX.C3cn9f8o.js → gitGraphDiagram-NY62KEGX.Y6LpuRjD.js} +4 -4
  46. package/dist/chunks/{graph.CURTRirk.js → graph.CsEnoNl4.js} +2 -2
  47. package/dist/chunks/{index.BYDZbdMZ.js → index.-DOP9Ckx.js} +1 -1
  48. package/dist/chunks/{index.gy41K1EE.js → index.4552QdXH.js} +3 -3
  49. package/dist/chunks/{index.BinkIORG.js → index.76MlCVOY.js} +1 -1
  50. package/dist/chunks/{index.CkajM1v0.js → index.BYUyJHzk.js} +1 -1
  51. package/dist/chunks/{index.CURM9PiU.js → index.Bi2ow_w5.js} +1 -1
  52. package/dist/chunks/{index.DAuo-OH1.js → index.CK3q1Sfv.js} +1 -1
  53. package/dist/chunks/{index.uUNtrS04.js → index.CR9-xbTg.js} +3 -3
  54. package/dist/chunks/{index.CBEv2y_C.js → index.MD-I3XF8.js} +2 -2
  55. package/dist/chunks/{index.BqIARWUR.js → index.whZY27YH.js} +1 -1
  56. package/dist/chunks/{info-NVLQJR56.CHnZmbT7.js → info-NVLQJR56.BM1oszeu.js} +1 -1
  57. package/dist/chunks/{infoDiagram-WHAUD3N6.DCZfKYU8.js → infoDiagram-WHAUD3N6.BOdkf_MU.js} +2 -2
  58. package/dist/chunks/{journeyDiagram-XKPGCS4Q.B-0JNmK_.js → journeyDiagram-XKPGCS4Q.Dw7-F-3G.js} +4 -4
  59. package/dist/chunks/{kanban-definition-3W4ZIXB7.C7aI8iBJ.js → kanban-definition-3W4ZIXB7.DBHZd8kd.js} +2 -2
  60. package/dist/chunks/{layout.Bmgsrc8X.js → layout.FDyoYwG2.js} +4 -4
  61. package/dist/chunks/{mermaid-parser.core.BZIZyjyF.js → mermaid-parser.core.C4lg1K9H.js} +10 -10
  62. package/dist/chunks/{min.CtR4qhyM.js → min.DBs1Msoe.js} +2 -2
  63. package/dist/chunks/{mindmap-definition-VGOIOE7T.DCsxzuhI.js → mindmap-definition-VGOIOE7T.CU1TS1Wz.js} +3 -3
  64. package/dist/chunks/{packet-BFZMPI3H.CQ2Sbdms.js → packet-BFZMPI3H.BQDJHYjU.js} +1 -1
  65. package/dist/chunks/{pie-7BOR55EZ.BYs1omMd.js → pie-7BOR55EZ.BlU94TQO.js} +1 -1
  66. package/dist/chunks/{pieDiagram-ADFJNKIX.DqkDHdMo.js → pieDiagram-ADFJNKIX.CKbT8AbG.js} +4 -4
  67. package/dist/chunks/{quadrantDiagram-AYHSOK5B.Cx-eq1uu.js → quadrantDiagram-AYHSOK5B.iibdk6QV.js} +1 -1
  68. package/dist/chunks/{radar-NHE76QYJ.CIqwL1Hw.js → radar-NHE76QYJ.CqellN1R.js} +1 -1
  69. package/dist/chunks/{rehype-mermaid.LJaY9ylI.js → rehype-mermaid.D5rxFoLJ.js} +33 -33
  70. package/dist/chunks/{requirementDiagram-UZGBJVZJ.C-YKp79x.js → requirementDiagram-UZGBJVZJ.BeoYCRTt.js} +3 -3
  71. package/dist/chunks/{sankeyDiagram-TZEHDZUN.BbfUzvVS.js → sankeyDiagram-TZEHDZUN.Cl7AJQyH.js} +1 -1
  72. package/dist/chunks/{sequenceDiagram-WL72ISMW.D5wDvZwT.js → sequenceDiagram-WL72ISMW.DJiYzLwe.js} +3 -3
  73. package/dist/chunks/{stateDiagram-FKZM4ZOC.-65PQCxm.js → stateDiagram-FKZM4ZOC.CEH77n-u.js} +4 -4
  74. package/dist/chunks/{stateDiagram-v2-4FDKWEC3.BXy_3BUS.js → stateDiagram-v2-4FDKWEC3.C7e8FoNM.js} +2 -2
  75. package/dist/chunks/{timeline-definition-IT6M3QCI.B2tmtGDZ.js → timeline-definition-IT6M3QCI.DpH45C9N.js} +2 -2
  76. package/dist/chunks/{treemap-KMMF4GRG.Dm_alnmO.js → treemap-KMMF4GRG.CaXoo_S5.js} +1 -1
  77. package/dist/chunks/{useMarkdown.BWJCktGN.js → useMarkdown.C2zWe9xE.js} +8 -8
  78. package/dist/chunks/{xychartDiagram-PRI3JC2R.XQCHu3eO.js → xychartDiagram-PRI3JC2R.l9efaY6c.js} +1 -1
  79. package/dist/components/SassySaint/SassySaint.js +1 -1
  80. package/dist/index.js +3 -3
  81. package/dist/style.css +1 -1
  82. package/package.json +3 -3
  83. package/dist/chunks/AboutEntry.B7fBRGac.js +0 -85
  84. package/dist/chunks/ButtonIconDelete.Bw7zU6Rb.js +0 -456
  85. package/dist/chunks/LoginEntry.DvDNWT7T.js +0 -118
  86. package/dist/chunks/ProfileEntry.CbZLIK8x.js +0 -213
  87. package/dist/chunks/UsageEntry.CSkPteMr.js +0 -238
@@ -1,5 +1,5 @@
1
1
  import { jsxs as x, jsx as o } from "react/jsx-runtime";
2
- import { ButtonIcon as N, IconCopied as $, IconCopy as E } from "./LogoEntry.CucXks5G.js";
2
+ import { ButtonIcon as N, IconCopied as $, IconCopy as E } from "./LogoEntry.CTMAkXZN.js";
3
3
  import { useState as z, useEffect as j } from "react";
4
4
  import t from "clsx";
5
5
  const u = "av-bubble";
@@ -0,0 +1,333 @@
1
+ import { jsx as s, jsxs as m, Fragment as N } from "react/jsx-runtime";
2
+ import o from "clsx";
3
+ import x, { useContext as y } from "react";
4
+ import { ButtonIcon as v, TableCellSortDirections as k, IconSortUp as T, IconSortDown as W, IconSort as R, IconDelete as S } from "./LogoEntry.CTMAkXZN.js";
5
+ import { ResponsiveTooltip as z } from "./App.7P9lyXTX.js";
6
+ const C = /* @__PURE__ */ x.forwardRef(({ children: t, mode: e = "system", className: r, active: a = !1, ...l }, n) => {
7
+ const c = a ? o("relative", "focus-within:static", "focus-within:after:border-transparent", "after:absolute", "after:content-['']", "after:border-b-2", "after:-bottom-1", "after:left-0", "after:right-0", {
8
+ "after:border-table-light": e === "dark",
9
+ "after:border-table-dark": e === "light",
10
+ "after:border-table-light dark:after:border-table-dark": e === "system",
11
+ "after:border-table-dark dark:after:border-table-light": e === "alt-system"
12
+ }) : "";
13
+ return /* @__PURE__ */ s("div", {
14
+ className: c,
15
+ children: /* @__PURE__ */ s(v, {
16
+ className: r,
17
+ ref: n,
18
+ mode: e,
19
+ radius: "small",
20
+ size: "small",
21
+ align: "center",
22
+ ...l,
23
+ children: t
24
+ })
25
+ });
26
+ });
27
+ C.displayName = "ButtonSort";
28
+ const p = x.createContext({
29
+ mode: "light",
30
+ cellWrapper: "thead",
31
+ stickyHeader: !1,
32
+ stickyFooter: !1,
33
+ compact: !1
34
+ });
35
+ const u = "thead", f = "tfoot", w = "tbody", E = ({ mode: t }) => o("size-8", "align-[-0.125em]", "border-4", "inline-block animate-spin rounded-full border-solid border-current border-r-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]", {
36
+ "text-copy-dark": t === "light",
37
+ "text-copy-light": t === "dark",
38
+ "text-copy-dark dark:text-copy-light": t === "alt-system",
39
+ "text-copy-light dark:text-copy-dark": t === "system"
40
+ }), B = ({ mode: t }) => ({
41
+ inner: "relative",
42
+ overlay: o("absolute inset-0 z-20 cursor-not-allowed", "backdrop-blur-xs bg-white/30 dark:bg-black/30"),
43
+ spinnerWrapper: o("absolute z-30 top-0 left-0 right-0 h-[min(100%,100vh)]", "flex items-center justify-center", "pointer-events-none"),
44
+ spinner: E({
45
+ mode: t
46
+ })
47
+ }), L = ({ mode: t, className: e, wrapperClassName: r, stickyHeader: a, stickyFooter: l, disabled: n }) => {
48
+ const c = n ? B({
49
+ mode: t
50
+ }) : null;
51
+ return {
52
+ overlay: c?.overlay ?? "",
53
+ inner: c?.inner ?? "",
54
+ spinnerWrapper: c?.spinnerWrapper ?? "",
55
+ spinner: c?.spinner ?? "",
56
+ wrapper: o("not-prose relative w-full rounded-lg shadow-md", {
57
+ "overflow-x-auto": !a && !l && !n,
58
+ "overflow-y-scroll": (a || l) && !n,
59
+ "overflow-hidden": n,
60
+ "bg-surface-darker": t === "dark" || t === "system",
61
+ "bg-surface-light": t === "light" || t === "alt-system",
62
+ "dark:bg-surface-light": t === "system",
63
+ "dark:bg-surface-darker": t === "alt-system",
64
+ "text-copy-light": t === "dark",
65
+ "text-copy-dark": t === "light",
66
+ "text-copy-light dark:text-copy-dark": t === "system",
67
+ "text-copy-dark dark:text-copy-light": t === "alt-system"
68
+ }, r),
69
+ table: o("my-0 w-full text-left text-sm", e, {
70
+ "text-copy-light": t === "dark",
71
+ "text-copy-dark": t === "light",
72
+ "text-copy-light dark:text-copy-dark": t === "system",
73
+ "text-copy-dark dark:text-copy-light": t === "alt-system"
74
+ }),
75
+ caption: o("py-2 text-sm font-bold", {
76
+ "text-copy-light": t === "dark",
77
+ "text-copy-dark": t === "light",
78
+ "text-copy-light dark:text-copy-dark": t === "system",
79
+ "text-copy-dark dark:text-copy-light": t === "alt-system"
80
+ })
81
+ };
82
+ }, j = ({ className: t, stickyHeader: e, mode: r }) => o({
83
+ "sticky top-0 z-10": e,
84
+ "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": e && r === "dark",
85
+ "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": e && r === "system",
86
+ "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": e && r === "light",
87
+ "shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": e && r === "alt-system"
88
+ }, t), A = ({ className: t, stickyFooter: e, mode: r }) => o({
89
+ "sticky bottom-0 z-10": e,
90
+ "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": e && r === "dark",
91
+ "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": e && r === "system",
92
+ "shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": e && r === "light",
93
+ "shadow-[rgb(65_65_65_/30%)_-0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": e && r === "alt-system"
94
+ }, t), D = ({ mode: t, className: e, cellWrapper: r }) => r === u || r === f ? o({
95
+ "bg-table-head-dark": t === "dark" || t === "system",
96
+ "bg-table-head-light": t === "light" || t === "alt-system",
97
+ "dark:bg-table-head-light": t === "system",
98
+ "dark:bg-table-head-dark": t === "alt-system"
99
+ }, e) : o("border-b last:border-0", {
100
+ "hover:bg-table-dark-odd/50! hover:dark:bg-table-light-odd/50!": t === "alt-system" || t === "light",
101
+ "hover:bg-table-light-odd/50! hover:dark:bg-table-dark-odd/50!": t === "system" || t === "dark",
102
+ "border-table-dark": t === "dark" || t === "system",
103
+ "odd:bg-table-dark-odd even:bg-table-dark-even": t === "dark",
104
+ "border-table-light": t === "light" || t === "alt-system",
105
+ "odd:bg-table-light-odd even:bg-table-light-even": t === "light",
106
+ "dark:border-table-light": t === "system",
107
+ "odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t === "system",
108
+ "dark:border-table-dark": t === "alt-system",
109
+ "odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t === "alt-system"
110
+ }, e), P = ({ cellWrapper: t, className: e, compact: r, mode: a, align: l }) => ({
111
+ alignClasses: o({
112
+ "flex justify-start text-left": l === "left",
113
+ "flex justify-center text-center": l === "center",
114
+ "flex justify-end text-right": l === "right"
115
+ }),
116
+ mainClasses: o({
117
+ "text-copy-light": a === "dark" || a === "system",
118
+ "text-copy-dark": a === "light" || a === "alt-system",
119
+ "dark:text-copy-dark": a === "system",
120
+ "dark:text-copy-light": a === "alt-system",
121
+ "px-4 py-3": !r && (t === u || t === f),
122
+ "p-4": !r && t === w,
123
+ "px-2 py-1.5": r
124
+ }, e)
125
+ }), O = ({ buttonClassName: t }) => o("rounded-none text-sm", t);
126
+ const G = ({ children: t, mode: e = "system", caption: r, compact: a, disabled: l = !1, summary: n, className: c, wrapperClassName: h, maxHeight: d, stickyHeader: b, stickyFooter: g, ..._ }) => {
127
+ const i = L({
128
+ mode: e,
129
+ className: c,
130
+ wrapperClassName: h,
131
+ stickyHeader: b,
132
+ stickyFooter: g,
133
+ disabled: l
134
+ });
135
+ return /* @__PURE__ */ s(p.Provider, {
136
+ value: {
137
+ mode: e,
138
+ stickyHeader: b,
139
+ stickyFooter: g,
140
+ compact: a
141
+ },
142
+ children: /* @__PURE__ */ s("div", {
143
+ className: i.wrapper,
144
+ ...d && {
145
+ style: {
146
+ maxHeight: d
147
+ }
148
+ },
149
+ children: l ? /* @__PURE__ */ m(N, {
150
+ children: [
151
+ /* @__PURE__ */ s("div", {
152
+ className: i.spinnerWrapper,
153
+ children: /* @__PURE__ */ s("div", {
154
+ className: i.spinner,
155
+ role: "status",
156
+ children: /* @__PURE__ */ s("span", {
157
+ className: "sr-only",
158
+ children: "Loading..."
159
+ })
160
+ })
161
+ }),
162
+ /* @__PURE__ */ m("div", {
163
+ className: i.inner,
164
+ children: [
165
+ /* @__PURE__ */ s("div", {
166
+ className: i.overlay
167
+ }),
168
+ /* @__PURE__ */ m("table", {
169
+ className: i.table,
170
+ summary: n,
171
+ ...l && {
172
+ "aria-disabled": "true"
173
+ },
174
+ ..._,
175
+ children: [
176
+ r && /* @__PURE__ */ s("caption", {
177
+ className: i.caption,
178
+ children: r
179
+ }),
180
+ t
181
+ ]
182
+ })
183
+ ]
184
+ })
185
+ ]
186
+ }) : /* @__PURE__ */ m("table", {
187
+ className: i.table,
188
+ summary: n,
189
+ ..._,
190
+ children: [
191
+ r && /* @__PURE__ */ s("caption", {
192
+ className: i.caption,
193
+ children: r
194
+ }),
195
+ t
196
+ ]
197
+ })
198
+ })
199
+ });
200
+ }, H = ({ children: t, className: e, ...r }) => {
201
+ const a = y(p);
202
+ a.cellWrapper = u;
203
+ const l = j({
204
+ className: e,
205
+ mode: a.mode,
206
+ stickyHeader: a.stickyHeader
207
+ });
208
+ return /* @__PURE__ */ s("thead", {
209
+ className: l,
210
+ ...r,
211
+ children: t
212
+ });
213
+ }, J = ({ children: t, className: e, ...r }) => {
214
+ const a = y(p);
215
+ a.cellWrapper = f;
216
+ const l = A({
217
+ className: e,
218
+ mode: a.mode,
219
+ stickyFooter: a.stickyFooter
220
+ });
221
+ return /* @__PURE__ */ s("tfoot", {
222
+ className: l,
223
+ ...r,
224
+ children: t
225
+ });
226
+ }, K = ({ children: t, ...e }) => {
227
+ const r = y(p);
228
+ return r.cellWrapper = w, /* @__PURE__ */ s("tbody", {
229
+ ...e,
230
+ children: t
231
+ });
232
+ }, Q = ({ children: t, className: e, ...r }) => {
233
+ const a = y(p), l = D({
234
+ mode: a.mode,
235
+ cellWrapper: a.cellWrapper,
236
+ className: e
237
+ });
238
+ return /* @__PURE__ */ s("tr", {
239
+ className: l,
240
+ ...r,
241
+ children: t
242
+ });
243
+ }, F = ({ children: t, component: e, className: r, align: a, ...l }) => {
244
+ const n = y(p), c = e || (n.cellWrapper === u ? "th" : "td"), { mainClasses: h, alignClasses: d } = P({
245
+ cellWrapper: n.cellWrapper,
246
+ className: r,
247
+ mode: n.mode,
248
+ compact: n.compact,
249
+ align: a
250
+ });
251
+ return a ? /* @__PURE__ */ s(c, {
252
+ className: h,
253
+ ...l,
254
+ children: /* @__PURE__ */ s("div", {
255
+ className: d,
256
+ children: t
257
+ })
258
+ }) : /* @__PURE__ */ s(c, {
259
+ className: h,
260
+ ...l,
261
+ children: t
262
+ });
263
+ }, V = ({ align: t, children: e, buttonClassName: r, className: a, component: l, focusMode: n = "alt-system", mode: c = "alt-system", onClick: h, sortDirection: d, sortedCell: b, cellId: g, ..._ }) => {
264
+ const i = O({
265
+ buttonClassName: r
266
+ });
267
+ return /* @__PURE__ */ s(F, {
268
+ component: l,
269
+ className: a,
270
+ role: "columnheader",
271
+ "aria-sort": d === k.ASC && b === g ? "ascending" : d === k.DESC && b === g ? "descending" : "other",
272
+ ..._,
273
+ children: /* @__PURE__ */ s(C, {
274
+ active: b === g,
275
+ className: i,
276
+ onClick: h,
277
+ align: t,
278
+ noBorder: !0,
279
+ focusMode: n,
280
+ mode: c,
281
+ fullWidth: !0,
282
+ labelRight: e,
283
+ children: d === k.ASC && b === g ? /* @__PURE__ */ s(T, {
284
+ className: "size-4",
285
+ monotone: !0
286
+ }) : d === k.DESC && b === g ? /* @__PURE__ */ s(W, {
287
+ className: "size-4",
288
+ monotone: !0
289
+ }) : /* @__PURE__ */ s(R, {
290
+ className: "size-4",
291
+ monotone: !0
292
+ })
293
+ })
294
+ });
295
+ }, X = ({
296
+ label: t,
297
+ disabled: e,
298
+ onClick: r
299
+ }) => /* @__PURE__ */ s(
300
+ z,
301
+ {
302
+ label: t,
303
+ placement: "top",
304
+ trigger: /* @__PURE__ */ s(
305
+ v,
306
+ {
307
+ noBorder: !0,
308
+ variant: "primary",
309
+ label: t,
310
+ disabled: e,
311
+ onClick: r,
312
+ children: /* @__PURE__ */ s(
313
+ S,
314
+ {
315
+ size: "size-3",
316
+ monotone: !0,
317
+ className: "text-copy-error-dark dark:text-copy-error-light"
318
+ }
319
+ )
320
+ }
321
+ )
322
+ }
323
+ );
324
+ export {
325
+ X as ButtonIconDelete,
326
+ G as Table,
327
+ K as TableBody,
328
+ F as TableCell,
329
+ V as TableCellSort,
330
+ J as TableFooter,
331
+ H as TableHead,
332
+ Q as TableRow
333
+ };
@@ -1,7 +1,7 @@
1
1
  import { jsx as Pp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.BD0e8HgV.js";
2
+ import { getDefaultExportFromCjs as dn, isProbablyMobile as Op } from "./App.7P9lyXTX.js";
3
3
  import Lp, { useMemo as Ep } from "react";
4
- import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.CucXks5G.js";
4
+ import { TRIMESTERS_SHORT as Ip, TRIMESTERS as on, TIME_RANGES as ls, TIME_RANGE_LABELS as an } from "./LogoEntry.CTMAkXZN.js";
5
5
  var hs = { exports: {} }, Dp = hs.exports, nn;
6
6
  function Bp() {
7
7
  return nn || (nn = 1, (function(Ae, pe) {
@@ -1,10 +1,10 @@
1
1
  import { jsx as rs } from "react/jsx-runtime";
2
- import { n as as, useUserPreferences as os, formatTimestamp as vt } from "./index.CBEv2y_C.js";
3
- import { numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.BD0e8HgV.js";
2
+ import { n as as, useUserPreferences as os, formatTimestamp as vt } from "./index.MD-I3XF8.js";
3
+ import { numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.7P9lyXTX.js";
4
4
  import Ht from "clsx";
5
5
  import fs, { useState as Ae, useEffect as Zt, useContext as Vt } from "react";
6
- import { useMarkdown as hs } from "./useMarkdown.BWJCktGN.js";
7
- import { ChatContext as ds, AppContext as ps } from "./LogoEntry.CucXks5G.js";
6
+ import { useMarkdown as hs } from "./useMarkdown.C2zWe9xE.js";
7
+ import { ChatContext as ds, AppContext as ps } from "./LogoEntry.CTMAkXZN.js";
8
8
  const Me = {
9
9
  isEmpty: !0
10
10
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as i, Fragment as C, jsxs as S } from "react/jsx-runtime";
2
- import { Button as b } from "./LogoEntry.CucXks5G.js";
2
+ import { Button as b } from "./LogoEntry.CTMAkXZN.js";
3
3
  import { useState as k, useMemo as m, isValidElement as T, useEffect as H } from "react";
4
- import { useMarkdown as h } from "./useMarkdown.BWJCktGN.js";
5
- import { AsyncBubble as M } from "./App.BD0e8HgV.js";
4
+ import { useMarkdown as h } from "./useMarkdown.C2zWe9xE.js";
5
+ import { AsyncBubble as M } from "./App.7P9lyXTX.js";
6
6
  const O = 200, w = ({ string: e, idealLength: r = O }) => {
7
7
  if (e.length <= r)
8
8
  return {
@@ -1,10 +1,10 @@
1
1
  import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
- import { y as N, v as S, INFINITE_SCROLL_THRESHOLD as L } from "./index.CBEv2y_C.js";
3
- import { IconCloseLight as D, CARDS as z, ButtonIcon as T, IconRestore as B, IconStarInCircle as _, IconStarInCircleLight as $ } from "./LogoEntry.CucXks5G.js";
2
+ import { y as T, v as N, INFINITE_SCROLL_THRESHOLD as L } from "./index.MD-I3XF8.js";
3
+ import { IconCloseLight as D, CARDS as B, ButtonIcon as M, IconRestore as z, IconStarInCircle as _, IconStarInCircleLight as $ } from "./LogoEntry.CTMAkXZN.js";
4
4
  import { useState as Y, Fragment as K } from "react";
5
5
  import i from "clsx";
6
- import { H as W, F, q as C, Y as G, O as o, J as w, ButtonIconDelete as H } from "./ButtonIconDelete.Bw7zU6Rb.js";
7
- import { pluralize as A, ResponsiveTooltip as k, numberFormatter as j, isProbablyMobile as V } from "./App.BD0e8HgV.js";
6
+ import { Table as W, TableHead as G, TableRow as C, TableBody as H, TableCell as o, TableCellSort as w, ButtonIconDelete as j } from "./ButtonIconDelete.CAEfJOI7.js";
7
+ import { pluralize as A, ResponsiveTooltip as k, numberFormatter as F, isProbablyMobile as V } from "./App.7P9lyXTX.js";
8
8
  const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
9
9
  "border-border-information": t === "information",
10
10
  "border-border-warning": t === "warning",
@@ -21,30 +21,30 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
21
21
  "bg-surface-success": t === "success",
22
22
  "bg-surface-error": t === "error"
23
23
  }), X = (t) => {
24
- const { className: l, variant: a } = t;
24
+ const { className: a, variant: n } = t;
25
25
  return {
26
26
  main: i(q, "inline-flex items-center gap-1 px-2 py-0.5 text-xs", J({
27
- variant: a
27
+ variant: n
28
28
  }), O({
29
- variant: a
30
- }), Q(t), l),
29
+ variant: n
30
+ }), Q(t), a),
31
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
32
+ variant: n
33
33
  }))
34
34
  };
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));
35
+ }, R = ({ label: t, className: a, variant: n = "information", description: m, onClose: d }) => {
36
+ const [h, b] = Y(!0), p = (f) => {
37
+ d && (d(f), f.defaultPrevented || b(!1));
38
38
  };
39
39
  if (!h)
40
40
  return null;
41
- const d = X({
42
- className: l,
43
- variant: a
41
+ const u = X({
42
+ className: a,
43
+ variant: n
44
44
  });
45
45
  return /* @__PURE__ */ c("div", {
46
46
  role: "text",
47
- className: d.main,
47
+ className: u.main,
48
48
  children: [
49
49
  m && /* @__PURE__ */ e("span", {
50
50
  className: "sr-only",
@@ -53,10 +53,10 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
53
53
  /* @__PURE__ */ e("span", {
54
54
  children: t
55
55
  }),
56
- u && /* @__PURE__ */ e("button", {
56
+ d && /* @__PURE__ */ e("button", {
57
57
  type: "button",
58
- onClick: g,
59
- className: d.button,
58
+ onClick: p,
59
+ className: u.button,
60
60
  "aria-label": "Close",
61
61
  children: /* @__PURE__ */ e(D, {
62
62
  size: "size-3"
@@ -64,87 +64,87 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
64
64
  })
65
65
  ]
66
66
  });
67
- }, n = {
67
+ }, l = {
68
68
  ROW: "row",
69
- TIMESTAMP: N,
69
+ TIMESTAMP: T,
70
70
  SUMMARY: "summary",
71
- TOKEN_USAGE: S,
71
+ TOKEN_USAGE: N,
72
72
  ACTIONS: "actions"
73
73
  }, Z = [
74
- n.ROW,
75
- n.TIMESTAMP,
76
- n.SUMMARY,
77
- n.ACTIONS
74
+ l.ROW,
75
+ l.TIMESTAMP,
76
+ l.SUMMARY,
77
+ l.ACTIONS
78
78
  ], ee = [
79
- n.ROW,
80
- n.SUMMARY,
81
- n.TIMESTAMP,
82
- n.TOKEN_USAGE,
83
- n.ACTIONS
79
+ l.ROW,
80
+ l.SUMMARY,
81
+ l.TIMESTAMP,
82
+ l.TOKEN_USAGE,
83
+ l.ACTIONS
84
84
  ], me = ({
85
85
  filteredHistory: t,
86
- historyState: l,
87
- lastEntryToLoad: a,
86
+ historyState: a,
87
+ lastEntryToLoad: n,
88
88
  onClickSort: m,
89
- onClickRestore: u,
89
+ onClickRestore: d,
90
90
  onClickDelete: h,
91
- onClickFavorite: p,
92
- infinityScrollMarkerRef: g,
93
- isLoading: d = !1,
91
+ onClickFavorite: b,
92
+ infinityScrollMarkerRef: p,
93
+ isLoading: u = !1,
94
94
  totalHistoryCount: f,
95
95
  isFiltered: E = !1,
96
- isSearchActive: M = !1
96
+ isSearchActive: S = !1
97
97
  }) => {
98
98
  const y = V() ? Z : ee, I = (r) => {
99
99
  switch (r) {
100
- case n.ROW:
100
+ case l.ROW:
101
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(
102
+ case l.TIMESTAMP:
103
+ return S ? /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm", children: "Date" }, r) : /* @__PURE__ */ e(
104
104
  w,
105
105
  {
106
106
  focusMode: "system",
107
107
  buttonClassName: "text-xs sm:text-sm",
108
- cellId: N,
108
+ cellId: T,
109
109
  align: "left",
110
- sortDirection: l.sortDirection,
111
- sortedCell: l.sortedCell,
110
+ sortDirection: a.sortDirection,
111
+ sortedCell: a.sortedCell,
112
112
  onClick: () => {
113
- m(N);
113
+ m(T);
114
114
  },
115
115
  children: "Date"
116
116
  },
117
117
  r
118
118
  );
119
- case n.SUMMARY:
119
+ case l.SUMMARY:
120
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(
121
+ case l.TOKEN_USAGE:
122
+ return S ? /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm text-right", children: "Tokens" }, r) : /* @__PURE__ */ e(
123
123
  w,
124
124
  {
125
125
  focusMode: "system",
126
126
  buttonClassName: "text-xs sm:text-sm",
127
- cellId: S,
127
+ cellId: N,
128
128
  align: "right",
129
- sortDirection: l.sortDirection,
130
- sortedCell: l.sortedCell,
129
+ sortDirection: a.sortDirection,
130
+ sortedCell: a.sortedCell,
131
131
  onClick: () => {
132
- m(S);
132
+ m(N);
133
133
  },
134
134
  children: "Tokens"
135
135
  },
136
136
  r
137
137
  );
138
- case n.ACTIONS:
138
+ case l.ACTIONS:
139
139
  return /* @__PURE__ */ e(o, { className: "text-xs sm:text-sm text-right", children: "Actions" }, r);
140
140
  default:
141
141
  return null;
142
142
  }
143
- }, v = (r, s, b) => {
143
+ }, v = (r, s, g) => {
144
144
  switch (r) {
145
- case n.ROW:
146
- return /* @__PURE__ */ e(o, { children: b + 1 }, r);
147
- case n.TIMESTAMP:
145
+ case l.ROW:
146
+ return /* @__PURE__ */ e(o, { children: g + 1 }, r);
147
+ case l.TIMESTAMP:
148
148
  return /* @__PURE__ */ e(
149
149
  o,
150
150
  {
@@ -156,7 +156,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
156
156
  },
157
157
  r
158
158
  );
159
- case n.SUMMARY: {
159
+ case l.SUMMARY: {
160
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;
161
161
  return /* @__PURE__ */ e(
162
162
  o,
@@ -185,17 +185,17 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
185
185
  r
186
186
  );
187
187
  }
188
- case n.TOKEN_USAGE:
188
+ case l.TOKEN_USAGE:
189
189
  return /* @__PURE__ */ e(
190
190
  o,
191
191
  {
192
192
  className: i("dark:text-copy-medium", "text-xs sm:text-sm"),
193
193
  align: "right",
194
- children: s.tokenUsage ? j.format(s.tokenUsage) : "0"
194
+ children: s.tokenUsage ? F.format(s.tokenUsage) : "0"
195
195
  },
196
196
  r
197
197
  );
198
- case n.ACTIONS:
198
+ case l.ACTIONS:
199
199
  return /* @__PURE__ */ e(
200
200
  o,
201
201
  {
@@ -207,16 +207,16 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
207
207
  label: "Restore chat",
208
208
  placement: "top",
209
209
  trigger: /* @__PURE__ */ e(
210
- T,
210
+ M,
211
211
  {
212
212
  noBorder: !0,
213
213
  label: "Restore chat",
214
214
  variant: "primary",
215
215
  onClick: async () => {
216
- await u(s);
216
+ await d(s);
217
217
  },
218
218
  children: /* @__PURE__ */ e(
219
- B,
219
+ z,
220
220
  {
221
221
  size: "size-3",
222
222
  monotone: !0,
@@ -233,13 +233,13 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
233
233
  label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
234
234
  placement: "top",
235
235
  trigger: /* @__PURE__ */ e(
236
- T,
236
+ M,
237
237
  {
238
238
  noBorder: !0,
239
239
  label: s.favoriteChat ? "Remove from favorites" : "Add to favorites",
240
240
  variant: "primary",
241
241
  onClick: async () => {
242
- await p(s);
242
+ await b(s);
243
243
  },
244
244
  children: s.favoriteChat ? /* @__PURE__ */ e(_, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ e($, { size: "size-4", monotone: !0 })
245
245
  }
@@ -247,7 +247,7 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
247
247
  }
248
248
  ),
249
249
  /* @__PURE__ */ e(
250
- H,
250
+ j,
251
251
  {
252
252
  label: "Delete chat",
253
253
  disabled: !1,
@@ -274,15 +274,15 @@ const q = "av-pill", J = ({ variant: t }) => i("rounded-xs border", {
274
274
  const r = t.length, s = f ?? r;
275
275
  return E && s > r ? `Showing ${A(`${r} chat`, r)} out of ${s}` : A(`${r} chat`, r);
276
276
  })(),
277
- disabled: d && t.length > 0,
277
+ disabled: u && t.length > 0,
278
278
  children: [
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 }),
279
+ /* @__PURE__ */ e(G, { children: /* @__PURE__ */ e(C, { children: y.map((r) => I(r)) }) }),
280
+ /* @__PURE__ */ e(H, { children: u && t.length === 0 ? /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(o, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : t.slice(0, n).map((r, s) => r?.summary ? /* @__PURE__ */ c(K, { children: [
281
+ s === n - L && /* @__PURE__ */ e("tr", { ref: p }),
282
282
  /* @__PURE__ */ e(C, { children: y.map(
283
- (b) => v(b, r, s)
283
+ (g) => v(g, r, s)
284
284
  ) })
285
- ] }, `${z.HISTORY.TITLE}-${r.id}-${s}`) : null) })
285
+ ] }, `${B.HISTORY.TITLE}-${r.id}-${s}`) : null) })
286
286
  ]
287
287
  }
288
288
  );