@versini/sassysaint 8.124.0 → 8.125.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.
- package/dist/chunks/{AboutChangelog.Cx_wPJ7Z.js → AboutChangelog.BkROQDGa.js} +2 -2
- package/dist/chunks/{AboutEntry.DmNrMr5s.js → AboutEntry.DjqqiWtn.js} +8 -8
- package/dist/chunks/{App.BzXfTo0l.js → App.C8NnUyQf.js} +16 -16
- package/dist/chunks/{BubbleActions.Ce6tfTUh.js → BubbleActions.DDGIk931.js} +3 -3
- package/dist/chunks/{ButtonIconDelete.jHkJLbpb.js → ButtonIconDelete.B01pHqzh.js} +19 -18
- package/dist/chunks/{Chart._j38jx2j.js → Chart.CkxWK1St.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.CkQRnSQt.js → ChatBubbleAssistant.C6zK7HxU.js} +5 -5
- package/dist/chunks/{ChatBubbleUser.DMJbYD3z.js → ChatBubbleUser.CLm7VnwP.js} +4 -4
- package/dist/chunks/{GenericPanel.DmIVt33k.js → GenericPanel.CtpYFADE.js} +1 -1
- package/dist/chunks/{HistoryEntry.Cq6AUyXj.js → HistoryEntry.DCd4s5_b.js} +87 -87
- package/dist/chunks/{LoginEntry.X1jBcMKD.js → LoginEntry.DHWsXPf9.js} +4 -4
- package/dist/chunks/{LogoEntry.C2Nrhfij.js → LogoEntry.CeMLMXDx.js} +1 -1
- package/dist/chunks/{MemoriesEntry.BljMJwoe.js → MemoriesEntry.DiILqLAT.js} +6 -6
- package/dist/chunks/{ProfileEntry.vB7iyiQe.js → ProfileEntry.Blj0j6zv.js} +6 -6
- package/dist/chunks/{SettingsEntry.WDa-6Ahy.js → SettingsEntry.BEILIrht.js} +6 -6
- package/dist/chunks/{UsageEntry.CAtBTMVV.js → UsageEntry.bJU2L_LN.js} +6 -6
- package/dist/chunks/{_baseUniq.BzsifY_A.js → _baseUniq.BzEEK4AX.js} +1 -1
- package/dist/chunks/{arc.B3lKcxnQ.js → arc.B8z6l6e0.js} +1 -1
- package/dist/chunks/{architecture-U656AL7Q.BFw7ZYGi.js → architecture-U656AL7Q.CwGwoMNw.js} +1 -1
- package/dist/chunks/{architectureDiagram-VXUJARFQ.DW4_F9jT.js → architectureDiagram-VXUJARFQ.C0gK8_-d.js} +4 -4
- package/dist/chunks/{blockDiagram-VD42YOAC.99a2hvnj.js → blockDiagram-VD42YOAC.B9TpLWql.js} +5 -5
- package/dist/chunks/{browser.CqPCGHhZ.js → browser.CiqzR0ae.js} +1 -1
- package/dist/chunks/{c4Diagram-YG6GDRKO.myMIBFPP.js → c4Diagram-YG6GDRKO.B5-RpT8w.js} +2 -2
- package/dist/chunks/{channel.Dkod3nLl.js → channel.bz_0FyFW.js} +1 -1
- package/dist/chunks/{chunk-4BX2VUAB.C0KRn8vY.js → chunk-4BX2VUAB.DRMKJUKF.js} +1 -1
- package/dist/chunks/{chunk-55IACEB6.Dw_54Cwl.js → chunk-55IACEB6.ChDdX_i0.js} +1 -1
- package/dist/chunks/{chunk-B4BG7PRW.CQQl7odk.js → chunk-B4BG7PRW.CcwJPwOi.js} +4 -4
- package/dist/chunks/{chunk-DI55MBZ5.DtwHmQbD.js → chunk-DI55MBZ5.BJgTdii0.js} +3 -3
- package/dist/chunks/{chunk-FMBD7UC4.Dw-3jbfc.js → chunk-FMBD7UC4.DP8tibZH.js} +1 -1
- package/dist/chunks/{chunk-QN33PNHL.DRzByK1N.js → chunk-QN33PNHL.C-Wkc8Da.js} +1 -1
- package/dist/chunks/{chunk-QZHKN3VN.CCoztZwn.js → chunk-QZHKN3VN.DeCxUfMT.js} +1 -1
- package/dist/chunks/{chunk-TZMSLE5B.DUj8ncNV.js → chunk-TZMSLE5B.Dk6nyM8F.js} +1 -1
- package/dist/chunks/{classDiagram-2ON5EDUG.cwLdwiQY.js → classDiagram-2ON5EDUG.DGlq7suI.js} +2 -2
- package/dist/chunks/{classDiagram-v2-WZHVMYZB.cwLdwiQY.js → classDiagram-v2-WZHVMYZB.DGlq7suI.js} +2 -2
- package/dist/chunks/{clone.DlO4Hr4-.js → clone.Dt-JgulZ.js} +1 -1
- package/dist/chunks/{cose-bilkent-S5V4N54A.B_u1DhXJ.js → cose-bilkent-S5V4N54A.DMFoPQs7.js} +2 -2
- package/dist/chunks/{dagre-6UL2VRFP.TBSnBVmF.js → dagre-6UL2VRFP.CpPQf_ZU.js} +5 -5
- package/dist/chunks/{diagram-PSM6KHXK.DLpLnaMT.js → diagram-PSM6KHXK.iYxCX5QA.js} +4 -4
- package/dist/chunks/{diagram-QEK2KX5R.iJhCSncs.js → diagram-QEK2KX5R.TY_mfu8D.js} +3 -3
- package/dist/chunks/{diagram-S2PKOQOG.DzTERqf6.js → diagram-S2PKOQOG.BPweZBkw.js} +3 -3
- package/dist/chunks/{erDiagram-Q2GNP2WA.CWynsTWD.js → erDiagram-Q2GNP2WA.DPswddN-.js} +4 -4
- package/dist/chunks/{flowDiagram-NV44I4VS.CUp4f8Ee.js → flowDiagram-NV44I4VS.CSQLjtZW.js} +5 -5
- package/dist/chunks/{ganttDiagram-JELNMOA3.BwMInK9h.js → ganttDiagram-JELNMOA3.DFcYzXyi.js} +2 -2
- package/dist/chunks/{gitGraph-F6HP7TQM.DBVb1BdV.js → gitGraph-F6HP7TQM.B1xMJ0Qt.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-NY62KEGX.j-nQ2JMn.js → gitGraphDiagram-NY62KEGX.Cdp0r2d9.js} +4 -4
- package/dist/chunks/{graph.BYpjTE9p.js → graph.DBVcKtR1.js} +2 -2
- package/dist/chunks/{index.CSlM5RvZ.js → index.BLcKnNpa.js} +1 -1
- package/dist/chunks/{index.TAyzxG2x.js → index.CJD0mCri.js} +1 -1
- package/dist/chunks/{index.C09rfIPz.js → index.CMEq41Hc.js} +1 -1
- package/dist/chunks/{index.7rI3Zh6S.js → index.C_3-gBbz.js} +3 -3
- package/dist/chunks/{index.BFB2eeJO.js → index.CpAc25Kv.js} +1 -1
- package/dist/chunks/{index.CRokoEy5.js → index.DhPQ7awy.js} +1 -1
- package/dist/chunks/{index.DsvBmOFD.js → index.DkxuEvdq.js} +1 -1
- package/dist/chunks/{index.Cm_5g9xp.js → index.DqLVY8Z3.js} +2 -2
- package/dist/chunks/{index.DGtZMa5X.js → index.Nu7J78RX.js} +1 -1
- package/dist/chunks/{index.C6m5EDTb.js → index.PJZInYrh.js} +3 -3
- package/dist/chunks/{info-NVLQJR56.BgH6c6De.js → info-NVLQJR56.CTzsm7oA.js} +1 -1
- package/dist/chunks/{infoDiagram-WHAUD3N6.BZPdtfIu.js → infoDiagram-WHAUD3N6.DpNnhJST.js} +2 -2
- package/dist/chunks/{journeyDiagram-XKPGCS4Q.D315Q2BL.js → journeyDiagram-XKPGCS4Q.CfZTybPw.js} +4 -4
- package/dist/chunks/{kanban-definition-3W4ZIXB7.BCjgsWf5.js → kanban-definition-3W4ZIXB7.CtnrJ8cs.js} +2 -2
- package/dist/chunks/{layout.9eeN3x8q.js → layout.DFaF1CPf.js} +4 -4
- package/dist/chunks/{mermaid-parser.core.CoF1zxxn.js → mermaid-parser.core.Dk-ocakT.js} +10 -10
- package/dist/chunks/{min.Db-v_EbW.js → min.MajSQVNT.js} +2 -2
- package/dist/chunks/{mindmap-definition-VGOIOE7T.Gn_j5hFa.js → mindmap-definition-VGOIOE7T.VEUqaYpO.js} +3 -3
- package/dist/chunks/{packet-BFZMPI3H.C7CPhtVD.js → packet-BFZMPI3H.BE6NJ9Cz.js} +1 -1
- package/dist/chunks/{pie-7BOR55EZ.DPOlEPeF.js → pie-7BOR55EZ.B72Vmjuf.js} +1 -1
- package/dist/chunks/{pieDiagram-ADFJNKIX.H9WpXELq.js → pieDiagram-ADFJNKIX.B90q7E1a.js} +4 -4
- package/dist/chunks/{quadrantDiagram-AYHSOK5B.CRrm72Te.js → quadrantDiagram-AYHSOK5B.BvO4xXiC.js} +1 -1
- package/dist/chunks/{radar-NHE76QYJ.BTlYEVpC.js → radar-NHE76QYJ.CZT0Xc7u.js} +1 -1
- package/dist/chunks/{rehype-mermaid.Ho-bmgDt.js → rehype-mermaid.Bup655DM.js} +33 -33
- package/dist/chunks/{requirementDiagram-UZGBJVZJ.CoxuILcQ.js → requirementDiagram-UZGBJVZJ.b2O5ZdOA.js} +3 -3
- package/dist/chunks/{sankeyDiagram-TZEHDZUN.CQ35FCEw.js → sankeyDiagram-TZEHDZUN.-xbou2rP.js} +1 -1
- package/dist/chunks/{sequenceDiagram-WL72ISMW.Dimfha52.js → sequenceDiagram-WL72ISMW.DGyqmo0A.js} +3 -3
- package/dist/chunks/{stateDiagram-FKZM4ZOC.DHY9BdZ2.js → stateDiagram-FKZM4ZOC.CUVVi43M.js} +4 -4
- package/dist/chunks/{stateDiagram-v2-4FDKWEC3.BIeOiDVI.js → stateDiagram-v2-4FDKWEC3.Dkz_1CXk.js} +2 -2
- package/dist/chunks/{timeline-definition-IT6M3QCI.rQIKlqdA.js → timeline-definition-IT6M3QCI.CoRWKwVQ.js} +2 -2
- package/dist/chunks/{treemap-KMMF4GRG.DDkoXxdM.js → treemap-KMMF4GRG.HzFeEAI4.js} +1 -1
- package/dist/chunks/{useMarkdown.DZkkRI9v.js → useMarkdown.CajXfwUn.js} +8 -8
- package/dist/chunks/{xychartDiagram-PRI3JC2R.Jw3wJAbf.js → xychartDiagram-PRI3JC2R.8tue42Tq.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as p, Fragment as B } from "react/jsx-runtime";
|
|
2
|
-
import { y as L, V as ee, INFINITE_SCROLL_THRESHOLD as ue, INFINITE_SCROLL_LIMIT as he, n as ae, LOCAL_STORAGE_PREFIX as N, LOCAL_STORAGE_SORT_TIMESTAMP as fe, LOCAL_STORAGE_SORT_TOKEN_USAGE as pe, LOCAL_STORAGE_SORT as Ce, LOCAL_STORAGE_CHAT_ID as ye, useDeleteChat as Se, graphQLRequest as ge, SERVICE_TYPES as Te, ACTION_SORT as xe, LOCAL_STORAGE_SEARCH as Ae, LOCAL_STORAGE_KEYWORD_MATCH_ALL as De, LOCAL_STORAGE_HISTORY_WITH_MEDIA_ONLY as _e, LOCAL_STORAGE_HISTORY_WITH_SHARED_ONLY as ke, useChatsHistory as we, useUserChatStats as Re, ACTION_SEARCH as Ee } from "./index.
|
|
3
|
-
import { DataGridContext as X, useColumnMeasurement as Ie, getBodyClass as be, DataGridHeader as Oe, DataGridRow as oe, DataGridCell as w, DataGridCellSort as Q, ButtonIconDelete as Le, DataGrid as Ne, InlineFilter as ve, AnimatedWrapper as He } from "./ButtonIconDelete.
|
|
4
|
-
import { pluralize as te, isProbablyMobile as le, numberFormatter as Me, ResponsiveTooltip as Ge, useAiChat as Fe, useLocalStorage as v, LazyToastContainerWrapper as Be, v4 as Ue, CHAT_RESET as Pe, CHAT_SET_ATTACHMENTS as Ve, CHAT_SET_STATUS as We, showErrorToast as Ye, ConfirmationPanel as $e, debounce as qe, Toggle as Z, ButtonCancel as Ke } from "./App.
|
|
2
|
+
import { y as L, V as ee, INFINITE_SCROLL_THRESHOLD as ue, INFINITE_SCROLL_LIMIT as he, n as ae, LOCAL_STORAGE_PREFIX as N, LOCAL_STORAGE_SORT_TIMESTAMP as fe, LOCAL_STORAGE_SORT_TOKEN_USAGE as pe, LOCAL_STORAGE_SORT as Ce, LOCAL_STORAGE_CHAT_ID as ye, useDeleteChat as Se, graphQLRequest as ge, SERVICE_TYPES as Te, ACTION_SORT as xe, LOCAL_STORAGE_SEARCH as Ae, LOCAL_STORAGE_KEYWORD_MATCH_ALL as De, LOCAL_STORAGE_HISTORY_WITH_MEDIA_ONLY as _e, LOCAL_STORAGE_HISTORY_WITH_SHARED_ONLY as ke, useChatsHistory as we, useUserChatStats as Re, ACTION_SEARCH as Ee } from "./index.DqLVY8Z3.js";
|
|
3
|
+
import { DataGridContext as X, useColumnMeasurement as Ie, getBodyClass as be, DataGridHeader as Oe, DataGridRow as oe, DataGridCell as w, DataGridCellSort as Q, ButtonIconDelete as Le, DataGrid as Ne, InlineFilter as ve, AnimatedWrapper as He } from "./ButtonIconDelete.B01pHqzh.js";
|
|
4
|
+
import { pluralize as te, isProbablyMobile as le, numberFormatter as Me, ResponsiveTooltip as Ge, useAiChat as Fe, useLocalStorage as v, LazyToastContainerWrapper as Be, v4 as Ue, CHAT_RESET as Pe, CHAT_SET_ATTACHMENTS as Ve, CHAT_SET_STATUS as We, showErrorToast as Ye, ConfirmationPanel as $e, debounce as qe, Toggle as Z, ButtonCancel as Ke } from "./App.C8NnUyQf.js";
|
|
5
5
|
import { forwardRef as je, useContext as z, useRef as H, useState as W, useCallback as Y, useEffect as F, useImperativeHandle as ze, useMemo as J } from "react";
|
|
6
|
-
import { CellWrapper as ne, ButtonIcon as Xe, IconRestore as Qe, CARDS as Ze, HistoryContext as ie, ChatContext as Je, SortDirections as G, APP_CLASSNAME as et, TOAST_CHAT_DELETED as tt, HISTORY_TITLE as nt } from "./LogoEntry.
|
|
7
|
-
import { GenericPanel as rt } from "./GenericPanel.
|
|
8
|
-
import { Pill as re } from "./index.
|
|
6
|
+
import { CellWrapper as ne, ButtonIcon as Xe, IconRestore as Qe, CARDS as Ze, HistoryContext as ie, ChatContext as Je, SortDirections as G, APP_CLASSNAME as et, TOAST_CHAT_DELETED as tt, HISTORY_TITLE as nt } from "./LogoEntry.CeMLMXDx.js";
|
|
7
|
+
import { GenericPanel as rt } from "./GenericPanel.CtpYFADE.js";
|
|
8
|
+
import { Pill as re } from "./index.CpAc25Kv.js";
|
|
9
9
|
import K from "clsx";
|
|
10
10
|
const st = 20, at = 5, ot = "20px", se = "data-row-index";
|
|
11
11
|
function lt(t) {
|
|
@@ -18,8 +18,8 @@ function lt(t) {
|
|
|
18
18
|
}
|
|
19
19
|
return null;
|
|
20
20
|
}
|
|
21
|
-
function it({ data: t, children: n, batchSize:
|
|
22
|
-
const
|
|
21
|
+
function it({ data: t, children: n, batchSize: m = st, threshold: o = at, rootMargin: C = ot, onVisibleCountChange: x, className: g }, i) {
|
|
22
|
+
const c = z(X), A = H(null), u = H(null), l = H(null), s = t.length, D = Math.min(m + o, s), [d, R] = W(D), T = d < s, h = Y((r) => {
|
|
23
23
|
const S = A.current;
|
|
24
24
|
if (!S)
|
|
25
25
|
return;
|
|
@@ -35,20 +35,20 @@ function it({ data: t, children: n, batchSize: d = st, threshold: o = at, rootMa
|
|
|
35
35
|
F(() => {
|
|
36
36
|
if (l.current !== null) {
|
|
37
37
|
const r = l.current;
|
|
38
|
-
r <
|
|
38
|
+
r < d && (requestAnimationFrame(() => {
|
|
39
39
|
h(r);
|
|
40
40
|
}), l.current = null);
|
|
41
41
|
}
|
|
42
42
|
}, [
|
|
43
|
-
|
|
43
|
+
d,
|
|
44
44
|
h
|
|
45
|
-
]), ze(
|
|
45
|
+
]), ze(i, () => ({
|
|
46
46
|
scrollToIndex: (r) => {
|
|
47
47
|
if (r < 0 || r >= s) {
|
|
48
48
|
console.warn(`scrollToIndex: index ${r} is out of bounds (0-${s - 1})`);
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
|
-
if (r <
|
|
51
|
+
if (r < d) {
|
|
52
52
|
h(r);
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
@@ -57,34 +57,34 @@ function it({ data: t, children: n, batchSize: d = st, threshold: o = at, rootMa
|
|
|
57
57
|
}
|
|
58
58
|
}), [
|
|
59
59
|
s,
|
|
60
|
-
|
|
60
|
+
d,
|
|
61
61
|
o,
|
|
62
62
|
h
|
|
63
63
|
]), F(() => {
|
|
64
|
-
R(Math.min(
|
|
64
|
+
R(Math.min(m + o, s));
|
|
65
65
|
}, [
|
|
66
66
|
s,
|
|
67
|
-
|
|
67
|
+
m,
|
|
68
68
|
o
|
|
69
69
|
]), F(() => {
|
|
70
|
-
x?.(
|
|
70
|
+
x?.(d, s);
|
|
71
71
|
}, [
|
|
72
|
-
|
|
72
|
+
d,
|
|
73
73
|
s,
|
|
74
74
|
x
|
|
75
75
|
]);
|
|
76
76
|
const y = Y((r) => {
|
|
77
|
-
r[0]?.isIntersecting && R((f) => Math.min(f +
|
|
77
|
+
r[0]?.isIntersecting && R((f) => Math.min(f + m, s));
|
|
78
78
|
}, [
|
|
79
|
-
|
|
79
|
+
m,
|
|
80
80
|
s
|
|
81
81
|
]), E = Y((r) => {
|
|
82
|
-
if (
|
|
82
|
+
if (u.current && (u.current.disconnect(), u.current = null), r && T) {
|
|
83
83
|
const S = lt(r);
|
|
84
|
-
|
|
84
|
+
u.current = new IntersectionObserver(y, {
|
|
85
85
|
root: S,
|
|
86
86
|
rootMargin: C
|
|
87
|
-
}),
|
|
87
|
+
}), u.current.observe(r);
|
|
88
88
|
}
|
|
89
89
|
}, [
|
|
90
90
|
T,
|
|
@@ -92,20 +92,20 @@ function it({ data: t, children: n, batchSize: d = st, threshold: o = at, rootMa
|
|
|
92
92
|
C
|
|
93
93
|
]);
|
|
94
94
|
F(() => () => {
|
|
95
|
-
|
|
95
|
+
u.current?.disconnect();
|
|
96
96
|
}, []);
|
|
97
|
-
const O = J(() => T ? Math.max(0,
|
|
97
|
+
const O = J(() => T ? Math.max(0, d - o) : -1, [
|
|
98
98
|
T,
|
|
99
|
-
|
|
99
|
+
d,
|
|
100
100
|
o
|
|
101
101
|
]), U = J(() => ({
|
|
102
|
-
...
|
|
102
|
+
...c,
|
|
103
103
|
cellWrapper: ne.BODY
|
|
104
104
|
}), [
|
|
105
|
-
|
|
105
|
+
c
|
|
106
106
|
]), M = J(() => {
|
|
107
|
-
const r = [], S = Math.min(
|
|
108
|
-
for (let f = 0; f <
|
|
107
|
+
const r = [], S = Math.min(d, s) - 1;
|
|
108
|
+
for (let f = 0; f < d && f < s; f++) {
|
|
109
109
|
f === O && r.push(/* @__PURE__ */ e("div", {
|
|
110
110
|
ref: E,
|
|
111
111
|
"aria-hidden": "true",
|
|
@@ -129,7 +129,7 @@ function it({ data: t, children: n, batchSize: d = st, threshold: o = at, rootMa
|
|
|
129
129
|
})
|
|
130
130
|
}, f));
|
|
131
131
|
}
|
|
132
|
-
return O ===
|
|
132
|
+
return O === d && T && r.push(/* @__PURE__ */ e("div", {
|
|
133
133
|
ref: E,
|
|
134
134
|
"aria-hidden": "true",
|
|
135
135
|
style: {
|
|
@@ -139,7 +139,7 @@ function it({ data: t, children: n, batchSize: d = st, threshold: o = at, rootMa
|
|
|
139
139
|
}, "__infinite-scroll-marker-end__")), r;
|
|
140
140
|
}, [
|
|
141
141
|
t,
|
|
142
|
-
|
|
142
|
+
d,
|
|
143
143
|
s,
|
|
144
144
|
O,
|
|
145
145
|
T,
|
|
@@ -151,7 +151,7 @@ function it({ data: t, children: n, batchSize: d = st, threshold: o = at, rootMa
|
|
|
151
151
|
const P = be(g);
|
|
152
152
|
return /* @__PURE__ */ e(X.Provider, {
|
|
153
153
|
value: {
|
|
154
|
-
...
|
|
154
|
+
...c,
|
|
155
155
|
cellWrapper: ne.BODY
|
|
156
156
|
},
|
|
157
157
|
children: /* @__PURE__ */ e("div", {
|
|
@@ -165,13 +165,13 @@ function it({ data: t, children: n, batchSize: d = st, threshold: o = at, rootMa
|
|
|
165
165
|
const ct = /* @__PURE__ */ je(it), dt = ({
|
|
166
166
|
sortDirection: t,
|
|
167
167
|
sortedCell: n,
|
|
168
|
-
onSortChange:
|
|
168
|
+
onSortChange: m,
|
|
169
169
|
caption: o,
|
|
170
170
|
isSearchActive: C = !1,
|
|
171
171
|
showTokenUsage: x = !0
|
|
172
172
|
}) => {
|
|
173
|
-
const g = (
|
|
174
|
-
|
|
173
|
+
const g = (i) => {
|
|
174
|
+
m(i);
|
|
175
175
|
};
|
|
176
176
|
return /* @__PURE__ */ e(Oe, { caption: o, children: /* @__PURE__ */ p(oe, { children: [
|
|
177
177
|
/* @__PURE__ */ e(w, { className: "invisible", children: "Row" }),
|
|
@@ -219,8 +219,8 @@ const ct = /* @__PURE__ */ je(it), dt = ({
|
|
|
219
219
|
/* @__PURE__ */ e(w, { align: "right", className: "text-xs sm:text-sm", children: "Actions" })
|
|
220
220
|
] }) });
|
|
221
221
|
};
|
|
222
|
-
function mt(t, n,
|
|
223
|
-
return
|
|
222
|
+
function mt(t, n, m) {
|
|
223
|
+
return m && n > t ? `Showing ${te(`${t} chat`, t)} out of ${n}` : te(`${t} chat`, t);
|
|
224
224
|
}
|
|
225
225
|
const j = {
|
|
226
226
|
rowNumber: "dark:text-copy-medium",
|
|
@@ -231,18 +231,18 @@ const j = {
|
|
|
231
231
|
function ut({
|
|
232
232
|
item: t,
|
|
233
233
|
index: n,
|
|
234
|
-
onClickRestore:
|
|
234
|
+
onClickRestore: m,
|
|
235
235
|
onClickDelete: o,
|
|
236
236
|
showTokenUsage: C = !0,
|
|
237
237
|
isActive: x = !1
|
|
238
238
|
}) {
|
|
239
|
-
const g = t.timestamp.split(",")[0],
|
|
240
|
-
(
|
|
241
|
-
|
|
239
|
+
const g = t.timestamp.split(",")[0], i = t.similarityScore !== void 0 && t.similarityScore !== null ? Math.round(t.similarityScore * 100) : null, c = i !== null && i <= 20 ? "error" : i !== null && i <= 39 ? "warning" : "success", A = t.keywordMatch === !0, u = /* @__PURE__ */ e(w, { className: K(j.summary), children: /* @__PURE__ */ p("div", { className: "flex flex-col gap-1", children: [
|
|
240
|
+
(i !== null || A) && /* @__PURE__ */ p("div", { className: "flex flex-wrap gap-1", children: [
|
|
241
|
+
i !== null && /* @__PURE__ */ e(
|
|
242
242
|
re,
|
|
243
243
|
{
|
|
244
|
-
variant:
|
|
245
|
-
label: `${
|
|
244
|
+
variant: c,
|
|
245
|
+
label: `${i}% semantic`
|
|
246
246
|
}
|
|
247
247
|
),
|
|
248
248
|
A && /* @__PURE__ */ e(re, { variant: "information", label: "keyword" })
|
|
@@ -261,7 +261,7 @@ function ut({
|
|
|
261
261
|
label: "Restore chat",
|
|
262
262
|
variant: "primary",
|
|
263
263
|
onClick: async () => {
|
|
264
|
-
await
|
|
264
|
+
await m(t);
|
|
265
265
|
},
|
|
266
266
|
children: /* @__PURE__ */ e(
|
|
267
267
|
Qe,
|
|
@@ -289,12 +289,12 @@ function ut({
|
|
|
289
289
|
return /* @__PURE__ */ p(oe, { active: x, children: [
|
|
290
290
|
/* @__PURE__ */ e(w, { className: K(j.rowNumber), children: n + 1 }),
|
|
291
291
|
C ? /* @__PURE__ */ p(B, { children: [
|
|
292
|
-
|
|
292
|
+
u,
|
|
293
293
|
l,
|
|
294
294
|
s
|
|
295
295
|
] }) : /* @__PURE__ */ p(B, { children: [
|
|
296
296
|
l,
|
|
297
|
-
|
|
297
|
+
u
|
|
298
298
|
] }),
|
|
299
299
|
D
|
|
300
300
|
] });
|
|
@@ -302,22 +302,22 @@ function ut({
|
|
|
302
302
|
const ht = ({
|
|
303
303
|
filteredHistory: t,
|
|
304
304
|
sortDirection: n,
|
|
305
|
-
sortedCell:
|
|
305
|
+
sortedCell: m,
|
|
306
306
|
onSortChange: o,
|
|
307
307
|
onClickRestore: C,
|
|
308
308
|
onClickDelete: x,
|
|
309
309
|
isLoading: g = !1,
|
|
310
|
-
totalHistoryCount:
|
|
311
|
-
isFiltered:
|
|
310
|
+
totalHistoryCount: i,
|
|
311
|
+
isFiltered: c = !1,
|
|
312
312
|
isSearchActive: A = !1,
|
|
313
|
-
activeChatId:
|
|
313
|
+
activeChatId: u
|
|
314
314
|
}) => {
|
|
315
315
|
const l = le(), s = H(null), D = H(!1);
|
|
316
316
|
F(() => {
|
|
317
|
-
if (!
|
|
317
|
+
if (!u || D.current)
|
|
318
318
|
return;
|
|
319
319
|
const h = t.findIndex(
|
|
320
|
-
(y) => y.id ===
|
|
320
|
+
(y) => y.id === u
|
|
321
321
|
);
|
|
322
322
|
if (h !== -1) {
|
|
323
323
|
D.current = !0;
|
|
@@ -326,13 +326,13 @@ const ht = ({
|
|
|
326
326
|
}, 100);
|
|
327
327
|
return () => clearTimeout(y);
|
|
328
328
|
}
|
|
329
|
-
}, [
|
|
329
|
+
}, [u, t]), F(() => {
|
|
330
330
|
D.current = !1;
|
|
331
|
-
}, [
|
|
332
|
-
const
|
|
331
|
+
}, [u]);
|
|
332
|
+
const d = mt(
|
|
333
333
|
t.length,
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
i ?? t.length,
|
|
335
|
+
c
|
|
336
336
|
);
|
|
337
337
|
return /* @__PURE__ */ p(
|
|
338
338
|
Ne,
|
|
@@ -350,9 +350,9 @@ const ht = ({
|
|
|
350
350
|
dt,
|
|
351
351
|
{
|
|
352
352
|
sortDirection: n,
|
|
353
|
-
sortedCell:
|
|
353
|
+
sortedCell: m,
|
|
354
354
|
onSortChange: o,
|
|
355
|
-
caption:
|
|
355
|
+
caption: d,
|
|
356
356
|
isSearchActive: A,
|
|
357
357
|
showTokenUsage: !l
|
|
358
358
|
}
|
|
@@ -372,7 +372,7 @@ const ht = ({
|
|
|
372
372
|
onClickRestore: C,
|
|
373
373
|
onClickDelete: x,
|
|
374
374
|
showTokenUsage: !l,
|
|
375
|
-
isActive:
|
|
375
|
+
isActive: u === h.id
|
|
376
376
|
},
|
|
377
377
|
`${Ze.HISTORY.TITLE}-${h.id}-${y}`
|
|
378
378
|
)
|
|
@@ -384,14 +384,14 @@ const ht = ({
|
|
|
384
384
|
}, ft = ({
|
|
385
385
|
filteredHistory: t,
|
|
386
386
|
onOpenChange: n,
|
|
387
|
-
mutate:
|
|
387
|
+
mutate: m,
|
|
388
388
|
isLoading: o = !1,
|
|
389
389
|
totalHistoryCount: C,
|
|
390
390
|
isFiltered: x = !1,
|
|
391
391
|
isSearchActive: g = !1,
|
|
392
|
-
requestConfirmation:
|
|
392
|
+
requestConfirmation: i
|
|
393
393
|
}) => {
|
|
394
|
-
const { user:
|
|
394
|
+
const { user: c, getAccessToken: A } = ae(), u = H({
|
|
395
395
|
id: "",
|
|
396
396
|
timestamp: "",
|
|
397
397
|
message: ""
|
|
@@ -399,7 +399,7 @@ const ht = ({
|
|
|
399
399
|
sortDirection: l.sortDirection || G.DESC,
|
|
400
400
|
sortedCell: l.sortedCell || L
|
|
401
401
|
}, {
|
|
402
|
-
setChatId:
|
|
402
|
+
setChatId: d,
|
|
403
403
|
setInitialMessages: R,
|
|
404
404
|
dispatch: T
|
|
405
405
|
} = z(Je), { setInput: h } = Fe(), [y, E] = v({
|
|
@@ -439,9 +439,9 @@ const ht = ({
|
|
|
439
439
|
}, f = async (a) => {
|
|
440
440
|
try {
|
|
441
441
|
await r({
|
|
442
|
-
userId:
|
|
442
|
+
userId: c?.username || "",
|
|
443
443
|
id: a
|
|
444
|
-
}),
|
|
444
|
+
}), m(""), await Ye(tt, {
|
|
445
445
|
autoClose: 2e3,
|
|
446
446
|
containerId: "history-table"
|
|
447
447
|
});
|
|
@@ -466,15 +466,15 @@ const ht = ({
|
|
|
466
466
|
restoredTimestamp: _.data?.timestamp || "",
|
|
467
467
|
restoredUsage: _.data?.tokenUsage || 0
|
|
468
468
|
}
|
|
469
|
-
}), h(""),
|
|
469
|
+
}), h(""), d(a.id), R(_.data.messages), n(!1);
|
|
470
470
|
} catch {
|
|
471
471
|
}
|
|
472
472
|
}, $ = (a) => {
|
|
473
|
-
|
|
473
|
+
u.current = {
|
|
474
474
|
id: a.id,
|
|
475
475
|
timestamp: a.timestamp,
|
|
476
476
|
message: a.summary
|
|
477
|
-
},
|
|
477
|
+
}, i(
|
|
478
478
|
() => f(a.id),
|
|
479
479
|
/* @__PURE__ */ p(B, { children: [
|
|
480
480
|
/* @__PURE__ */ e("p", { className: "m-0", children: "Are you sure you want to delete the following chat:" }),
|
|
@@ -489,7 +489,7 @@ const ht = ({
|
|
|
489
489
|
] })
|
|
490
490
|
] })
|
|
491
491
|
] })
|
|
492
|
-
), P === a.id && (
|
|
492
|
+
), P === a.id && (d(Ue()), R([]), h(""), T({
|
|
493
493
|
type: Pe,
|
|
494
494
|
payload: {
|
|
495
495
|
privateChat: !1,
|
|
@@ -525,13 +525,13 @@ const ht = ({
|
|
|
525
525
|
open: t,
|
|
526
526
|
onOpenChange: n
|
|
527
527
|
}) => {
|
|
528
|
-
const
|
|
528
|
+
const m = H(null), { getAccessToken: o, user: C } = ae(), [x, g] = W([]), i = H(null), { state: c, dispatch: A } = z(ie), [, u] = v({
|
|
529
529
|
key: N + Ae,
|
|
530
|
-
initialValue:
|
|
530
|
+
initialValue: c.searchString
|
|
531
531
|
}), [l, s] = v({
|
|
532
532
|
key: N + De,
|
|
533
533
|
initialValue: !0
|
|
534
|
-
}), [D,
|
|
534
|
+
}), [D, d] = v({
|
|
535
535
|
key: N + _e,
|
|
536
536
|
initialValue: !1
|
|
537
537
|
}), [R, T] = v({
|
|
@@ -552,9 +552,9 @@ const ht = ({
|
|
|
552
552
|
} = we({
|
|
553
553
|
enabled: t,
|
|
554
554
|
user: C?.username || "",
|
|
555
|
-
searchString:
|
|
556
|
-
sortDirection:
|
|
557
|
-
sortedCell:
|
|
555
|
+
searchString: c.searchString || "",
|
|
556
|
+
sortDirection: c.sortDirection || G.DESC,
|
|
557
|
+
sortedCell: c.sortedCell || L,
|
|
558
558
|
getAccessToken: o,
|
|
559
559
|
keywordMatchAll: l,
|
|
560
560
|
withMediaOnly: D,
|
|
@@ -567,7 +567,7 @@ const ht = ({
|
|
|
567
567
|
S && g(S);
|
|
568
568
|
}, [S]);
|
|
569
569
|
const _ = async (k) => {
|
|
570
|
-
|
|
570
|
+
u(k), A({
|
|
571
571
|
type: Ee,
|
|
572
572
|
payload: { searchString: k }
|
|
573
573
|
});
|
|
@@ -576,7 +576,7 @@ const ht = ({
|
|
|
576
576
|
}, 800), q = (k) => {
|
|
577
577
|
s(k);
|
|
578
578
|
}, ce = (k) => {
|
|
579
|
-
|
|
579
|
+
d(k);
|
|
580
580
|
}, de = (k) => {
|
|
581
581
|
T(k);
|
|
582
582
|
};
|
|
@@ -601,13 +601,13 @@ const ht = ({
|
|
|
601
601
|
open: t,
|
|
602
602
|
onOpenChange: n,
|
|
603
603
|
title: nt,
|
|
604
|
-
initialFocus:
|
|
605
|
-
footer: /* @__PURE__ */ e(Ke, { onOpenChange: n, ref:
|
|
604
|
+
initialFocus: m,
|
|
605
|
+
footer: /* @__PURE__ */ e(Ke, { onOpenChange: n, ref: m }),
|
|
606
606
|
children: /* @__PURE__ */ p("div", { className: "flex h-full flex-col gap-4", children: [
|
|
607
607
|
/* @__PURE__ */ e(
|
|
608
608
|
ve,
|
|
609
609
|
{
|
|
610
|
-
header: I &&
|
|
610
|
+
header: I && c.searchString ? "Loading..." : c.searchString ? "Filters applied" : "Filters",
|
|
611
611
|
toggles: /* @__PURE__ */ p(B, { children: [
|
|
612
612
|
/* @__PURE__ */ e(
|
|
613
613
|
Z,
|
|
@@ -643,12 +643,12 @@ const ht = ({
|
|
|
643
643
|
}
|
|
644
644
|
)
|
|
645
645
|
] }),
|
|
646
|
-
inputSearchRef:
|
|
646
|
+
inputSearchRef: i,
|
|
647
647
|
onSearchChange: V,
|
|
648
|
-
defaultValue:
|
|
649
|
-
resetDisabled:
|
|
648
|
+
defaultValue: c.searchString,
|
|
649
|
+
resetDisabled: c.searchString === "",
|
|
650
650
|
onResetSearch: () => {
|
|
651
|
-
_(""),
|
|
651
|
+
_(""), i.current?.value && (i.current.value = "", i.current.focus());
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
),
|
|
@@ -661,8 +661,8 @@ const ht = ({
|
|
|
661
661
|
onOpenChange: n,
|
|
662
662
|
isLoading: I,
|
|
663
663
|
totalHistoryCount: b,
|
|
664
|
-
isFiltered: !!
|
|
665
|
-
isSearchActive: !!
|
|
664
|
+
isFiltered: !!c.searchString,
|
|
665
|
+
isSearchActive: !!c.searchString,
|
|
666
666
|
requestConfirmation: P
|
|
667
667
|
}
|
|
668
668
|
) })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { n as N, getLayoutPaddingClass as C, getMessageContaintWrapperClass as v, isTauri as w } from "./index.
|
|
3
|
-
import { Logo as k, PASSWORD_PLACEHOLDER as M, ButtonIcon as u, IconShow as I, IconHide as L, Button as y, LOG_IN as E, LOG_IN_PASSKEY as S, IconPasskey as P } from "./LogoEntry.
|
|
4
|
-
import { Card as B } from "./index.
|
|
5
|
-
import { TextInput as O, TextInputMask as T } from "./index.
|
|
2
|
+
import { n as N, getLayoutPaddingClass as C, getMessageContaintWrapperClass as v, isTauri as w } from "./index.DqLVY8Z3.js";
|
|
3
|
+
import { Logo as k, PASSWORD_PLACEHOLDER as M, ButtonIcon as u, IconShow as I, IconHide as L, Button as y, LOG_IN as E, LOG_IN_PASSKEY as S, IconPasskey as P } from "./LogoEntry.CeMLMXDx.js";
|
|
4
|
+
import { Card as B } from "./index.BLcKnNpa.js";
|
|
5
|
+
import { TextInput as O, TextInputMask as T } from "./index.CMEq41Hc.js";
|
|
6
6
|
import { useState as r, useEffect as f } from "react";
|
|
7
7
|
const G = () => {
|
|
8
8
|
const { login: h, logoutReason: o, loginWithPasskey: g } = N(), [t, l] = r(""), [d, n] = r(""), [m, p] = r(!0), [s, c] = r({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Z, { useRef as b, useEffect as Q, useCallback as $1, useState as t2, useMemo as h1, useContext as e2, useId as c2, useLayoutEffect as _1 } from "react";
|
|
2
2
|
import { jsxs as a, jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import l from "clsx";
|
|
4
|
-
import { B as p, Z as o2, l as s2, E as n2 } from "./index.
|
|
4
|
+
import { B as p, Z as o2, l as s2, E as n2 } from "./index.DqLVY8Z3.js";
|
|
5
5
|
const r2 = {
|
|
6
6
|
ASC: "asc",
|
|
7
7
|
DESC: "desc"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as S } from "react/jsx-runtime";
|
|
2
|
-
import { n as Ae, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as De, LOCAL_STORAGE_SORT_MEMORY_COLUMN as Se, useUserMemories as we, useExpiredMemories as Te, useDeleteMemory as Ee, useDeleteAllActiveMemories as Me, useDeleteAllExpiredMemories as ke, useUpdateMemory as Re, useRestoreMemory as Le } from "./index.
|
|
3
|
-
import { Button as R, CellWrapper as Ie, SortDirections as b, ButtonIcon as G, IconEdit as Pe, IconRestore as Oe, IconDelete as Be } from "./LogoEntry.
|
|
4
|
-
import { DataGridContext as Q, useColumnMeasurement as _e, getBodyClass as Ge, DataGridHeader as Fe, DataGridRow as ie, DataGridCell as y, DataGridCellSort as K, ButtonIconDelete as ze, DataGrid as qe, InlineFilter as $e, AnimatedWrapper as je } from "./ButtonIconDelete.
|
|
5
|
-
import { Panel as Ue, Toggle as E, ButtonCancel as ne, ResponsiveTooltip as F, useLocalStorage as J, debounce as Ve, ConfirmationPanel as Z } from "./App.
|
|
2
|
+
import { n as Ae, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as De, LOCAL_STORAGE_SORT_MEMORY_COLUMN as Se, useUserMemories as we, useExpiredMemories as Te, useDeleteMemory as Ee, useDeleteAllActiveMemories as Me, useDeleteAllExpiredMemories as ke, useUpdateMemory as Re, useRestoreMemory as Le } from "./index.DqLVY8Z3.js";
|
|
3
|
+
import { Button as R, CellWrapper as Ie, SortDirections as b, ButtonIcon as G, IconEdit as Pe, IconRestore as Oe, IconDelete as Be } from "./LogoEntry.CeMLMXDx.js";
|
|
4
|
+
import { DataGridContext as Q, useColumnMeasurement as _e, getBodyClass as Ge, DataGridHeader as Fe, DataGridRow as ie, DataGridCell as y, DataGridCellSort as K, ButtonIconDelete as ze, DataGrid as qe, InlineFilter as $e, AnimatedWrapper as je } from "./ButtonIconDelete.B01pHqzh.js";
|
|
5
|
+
import { Panel as Ue, Toggle as E, ButtonCancel as ne, ResponsiveTooltip as F, useLocalStorage as J, debounce as Ve, ConfirmationPanel as Z } from "./App.C8NnUyQf.js";
|
|
6
6
|
import { useState as f, useEffect as We, useContext as Xe, useRef as w, useMemo as ee, useCallback as Ye } from "react";
|
|
7
|
-
import { TextArea as He } from "./index.
|
|
8
|
-
import { GenericPanel as Qe } from "./GenericPanel.
|
|
7
|
+
import { TextArea as He } from "./index.DkxuEvdq.js";
|
|
8
|
+
import { GenericPanel as Qe } from "./GenericPanel.CtpYFADE.js";
|
|
9
9
|
import M from "clsx";
|
|
10
10
|
const Ke = ({
|
|
11
11
|
open: r,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e, Fragment as y } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useMemo as M, useCallback as x, useRef as D } from "react";
|
|
3
|
-
import { useUniqueId as K, CARDS as n, Button as O, ButtonIcon as W, IconPasskey as L, PROFILE_TITLE as Y } from "./LogoEntry.
|
|
4
|
-
import { preloadToast as j, showSuccessToast as G, showErrorToast as H, LazyToastContainerWrapper as $, ConfirmationPanel as q, ButtonCancel as V } from "./App.
|
|
5
|
-
import { GenericPanel as J } from "./GenericPanel.
|
|
6
|
-
import { n as Q, useUserPreferences as X, useServerCapabilities as Z, p as ee, setUserPlan as se, renderDataAsList as re, st as ae, isTauri as ne } from "./index.
|
|
7
|
-
import { Card as N } from "./index.
|
|
8
|
-
import { Pill as te } from "./index.
|
|
3
|
+
import { useUniqueId as K, CARDS as n, Button as O, ButtonIcon as W, IconPasskey as L, PROFILE_TITLE as Y } from "./LogoEntry.CeMLMXDx.js";
|
|
4
|
+
import { preloadToast as j, showSuccessToast as G, showErrorToast as H, LazyToastContainerWrapper as $, ConfirmationPanel as q, ButtonCancel as V } from "./App.C8NnUyQf.js";
|
|
5
|
+
import { GenericPanel as J } from "./GenericPanel.CtpYFADE.js";
|
|
6
|
+
import { n as Q, useUserPreferences as X, useServerCapabilities as Z, p as ee, setUserPlan as se, renderDataAsList as re, st as ae, isTauri as ne } from "./index.DqLVY8Z3.js";
|
|
7
|
+
import { Card as N } from "./index.BLcKnNpa.js";
|
|
8
|
+
import { Pill as te } from "./index.CpAc25Kv.js";
|
|
9
9
|
import ie from "clsx";
|
|
10
10
|
const le = ({
|
|
11
11
|
requestConfirmation: m
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as t, jsxs as c, Fragment as Re } from "react/jsx-runtime";
|
|
2
|
-
import { n as ke, useEntitlements as Pe, useUserPreferences as Be, F as B, LOCAL_STORAGE_OLED_MODE as ve, LOCAL_STORAGE_FULL_SCREEN as Ge, canEvaluateModels as Ue, j as xe, B as Fe, applyOledMode as re, getCurrentGeoLocation as Ve, graphQLRequest as ce, SERVICE_TYPES as ie, Z as He } from "./index.
|
|
3
|
-
import { AppContext as $e, SETTINGS_TITLE as je, Button as de, CARDS as s, PROMPTS_DESCRIPTION as ze, APP_SET_OLED_MODE as ue, APP_SET_FULL_SCREEN as he } from "./LogoEntry.
|
|
4
|
-
import { Card as N } from "./index.
|
|
5
|
-
import { Toggle as D, useCapability as v, useLocalStorage as me, ButtonCancel as We } from "./App.
|
|
6
|
-
import { TextArea as Se } from "./index.
|
|
2
|
+
import { n as ke, useEntitlements as Pe, useUserPreferences as Be, F as B, LOCAL_STORAGE_OLED_MODE as ve, LOCAL_STORAGE_FULL_SCREEN as Ge, canEvaluateModels as Ue, j as xe, B as Fe, applyOledMode as re, getCurrentGeoLocation as Ve, graphQLRequest as ce, SERVICE_TYPES as ie, Z as He } from "./index.DqLVY8Z3.js";
|
|
3
|
+
import { AppContext as $e, SETTINGS_TITLE as je, Button as de, CARDS as s, PROMPTS_DESCRIPTION as ze, APP_SET_OLED_MODE as ue, APP_SET_FULL_SCREEN as he } from "./LogoEntry.CeMLMXDx.js";
|
|
4
|
+
import { Card as N } from "./index.BLcKnNpa.js";
|
|
5
|
+
import { Toggle as D, useCapability as v, useLocalStorage as me, ButtonCancel as We } from "./App.C8NnUyQf.js";
|
|
6
|
+
import { TextArea as Se } from "./index.DkxuEvdq.js";
|
|
7
7
|
import { useRef as Ye, useContext as qe, useState as a, useMemo as Ke, useEffect as Qe } from "react";
|
|
8
|
-
import { GenericPanel as Ze } from "./GenericPanel.
|
|
8
|
+
import { GenericPanel as Ze } from "./GenericPanel.CtpYFADE.js";
|
|
9
9
|
const r = ({
|
|
10
10
|
label: L,
|
|
11
11
|
subLabel: C,
|
|
@@ -1,10 +1,10 @@
|
|
|
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.
|
|
3
|
-
import { Card as p } from "./index.
|
|
4
|
-
import { useLocalStorage as _, DropdownMenu as ee, DropdownMenuGroupLabel as te, DropdownMenuItem as L, DropdownMenuSub as re, ButtonCancel as se, pluralize as M } from "./App.
|
|
5
|
-
import { useUniqueId as le, TIME_RANGES as e, USAGE_TITLE as ne, CARDS as d, TIME_RANGE_LABELS as Y, MONTHS as N, ButtonIcon as T, IconChart as ae, IconSelected as v, IconUnSelected as k, IconPrevious as oe, IconNext as ie } from "./LogoEntry.
|
|
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.DqLVY8Z3.js";
|
|
3
|
+
import { Card as p } from "./index.BLcKnNpa.js";
|
|
4
|
+
import { useLocalStorage as _, DropdownMenu as ee, DropdownMenuGroupLabel as te, DropdownMenuItem as L, DropdownMenuSub as re, ButtonCancel as se, pluralize as M } from "./App.C8NnUyQf.js";
|
|
5
|
+
import { useUniqueId as le, TIME_RANGES as e, USAGE_TITLE as ne, CARDS as d, TIME_RANGE_LABELS as Y, MONTHS as N, ButtonIcon as T, IconChart as ae, IconSelected as v, IconUnSelected as k, IconPrevious as oe, IconNext as ie } from "./LogoEntry.CeMLMXDx.js";
|
|
6
6
|
import { useRef as ce, useState as z, Suspense as de, lazy as Te } from "react";
|
|
7
|
-
import { GenericPanel as ue } from "./GenericPanel.
|
|
7
|
+
import { GenericPanel as ue } from "./GenericPanel.CtpYFADE.js";
|
|
8
8
|
const a = [0, 3, 6, 9], n = {
|
|
9
9
|
TOKEN: "token",
|
|
10
10
|
MODEL: "model"
|
|
@@ -17,7 +17,7 @@ const a = [0, 3, 6, 9], n = {
|
|
|
17
17
|
], Se = Te(
|
|
18
18
|
() => import(
|
|
19
19
|
/* webpackChunkName: "chart-highcharts" */
|
|
20
|
-
"./Chart.
|
|
20
|
+
"./Chart.CkxWK1St.js"
|
|
21
21
|
)
|
|
22
22
|
), Me = ({
|
|
23
23
|
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.
|
|
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.Bup655DM.js";
|
|
2
2
|
var vn = "[object Symbol]";
|
|
3
3
|
function x(n) {
|
|
4
4
|
return typeof n == "symbol" || b(n) && gn(n) == vn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { withPath as ln, pi as un, cos as H, sin as q, constant as B, halfPi as rn, epsilon as y, tau as tn, sqrt as L, min as _, abs as an, atan2 as o, asin as sn, max as on, acos as fn } from "./rehype-mermaid.
|
|
1
|
+
import { withPath as ln, pi as un, cos as H, sin as q, constant as B, halfPi as rn, epsilon as y, tau as tn, sqrt as L, min as _, abs as an, atan2 as o, asin as sn, max as on, acos as fn } from "./rehype-mermaid.Bup655DM.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EmptyFileSystem as n, inject as i, MermaidGeneratedSharedModule as o, createDefaultSharedCoreModule as s, __name as a, ArchitectureGeneratedModule as l, createDefaultCoreModule as d, AbstractMermaidValueConverter as h, AbstractMermaidTokenBuilder as m } from "./mermaid-parser.core.
|
|
1
|
+
import { EmptyFileSystem as n, inject as i, MermaidGeneratedSharedModule as o, createDefaultSharedCoreModule as s, __name as a, ArchitectureGeneratedModule as l, createDefaultCoreModule as d, AbstractMermaidValueConverter as h, AbstractMermaidTokenBuilder as m } from "./mermaid-parser.core.Dk-ocakT.js";
|
|
2
2
|
var t, A = (t = class extends m {
|
|
3
3
|
constructor() {
|
|
4
4
|
super(["architecture"]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __name as dt, selectSvgElement as Ze, setupGraphViewbox as ke, log as Se, setAccTitle as qe, getAccTitle as Qe, setDiagramTitle as Je, getDiagramTitle as Ke, getAccDescription as je, setAccDescription as _e, clear as tr, cleanAndMerge as er, getConfig as rr, defaultConfig_default as ir, getConfig2 as Ee, createText as me, getIconSVG as pe, sanitizeText as ar, select as nr, getEdgeId as or, registerIconPacks as sr, unknownIcon as hr } from "./rehype-mermaid.
|
|
2
|
-
import { populateCommonDb as lr } from "./chunk-4BX2VUAB.
|
|
3
|
-
import { parse as fr } from "./mermaid-parser.core.
|
|
1
|
+
import { __name as dt, selectSvgElement as Ze, setupGraphViewbox as ke, log as Se, setAccTitle as qe, getAccTitle as Qe, setDiagramTitle as Je, getDiagramTitle as Ke, getAccDescription as je, setAccDescription as _e, clear as tr, cleanAndMerge as er, getConfig as rr, defaultConfig_default as ir, getConfig2 as Ee, createText as me, getIconSVG as pe, sanitizeText as ar, select as nr, getEdgeId as or, registerIconPacks as sr, unknownIcon as hr } from "./rehype-mermaid.Bup655DM.js";
|
|
2
|
+
import { populateCommonDb as lr } from "./chunk-4BX2VUAB.DRMKJUKF.js";
|
|
3
|
+
import { parse as fr } from "./mermaid-parser.core.Dk-ocakT.js";
|
|
4
4
|
import { cytoscape as Fe } from "./cytoscape.esm.DmRZGnqW.js";
|
|
5
|
-
import { getDefaultExportFromCjs as cr } from "./App.
|
|
5
|
+
import { getDefaultExportFromCjs as cr } from "./App.C8NnUyQf.js";
|
|
6
6
|
var he = { exports: {} }, le = { exports: {} }, fe = { exports: {} }, gr = fe.exports, we;
|
|
7
7
|
function ur() {
|
|
8
8
|
return we || (we = 1, (function(I, x) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getIconStyles as oe } from "./chunk-FMBD7UC4.
|
|
2
|
-
import { __name as d, getConfig as rt, select as O, configureSvgSize as he, log as L, clear as de, rgba as ge, getConfig2 as R, getLineFunctionsWithOffset as ue, line as pe, curveBasis as fe, getUrl as xe, evaluate as j, createText as Wt, getSubGraphTitleMargins as ye, utils_default as $, common_default as be, replaceIconSubstring as we, decodeEntities as xt, sanitizeText as yt, getStylesFromArray as me } from "./rehype-mermaid.
|
|
3
|
-
import { clone as Le } from "./clone.
|
|
4
|
-
import { channel as Se } from "./channel.
|
|
5
|
-
import { Graph as ke } from "./graph.
|
|
1
|
+
import { getIconStyles as oe } from "./chunk-FMBD7UC4.DP8tibZH.js";
|
|
2
|
+
import { __name as d, getConfig as rt, select as O, configureSvgSize as he, log as L, clear as de, rgba as ge, getConfig2 as R, getLineFunctionsWithOffset as ue, line as pe, curveBasis as fe, getUrl as xe, evaluate as j, createText as Wt, getSubGraphTitleMargins as ye, utils_default as $, common_default as be, replaceIconSubstring as we, decodeEntities as xt, sanitizeText as yt, getStylesFromArray as me } from "./rehype-mermaid.Bup655DM.js";
|
|
3
|
+
import { clone as Le } from "./clone.Dt-JgulZ.js";
|
|
4
|
+
import { channel as Se } from "./channel.bz_0FyFW.js";
|
|
5
|
+
import { Graph as ke } from "./graph.DBVcKtR1.js";
|
|
6
6
|
var bt = (function() {
|
|
7
7
|
var e = /* @__PURE__ */ d(function(D, y, g, f) {
|
|
8
8
|
for (g = g || {}, f = D.length; f--; g[D[f]] = y) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { find as C, parse as d, parse$1 as p, normalize as u, html as M, svg as S } from "./useMarkdown.
|
|
1
|
+
import { find as C, parse as d, parse$1 as p, normalize as u, html as M, svg as S } from "./useMarkdown.CajXfwUn.js";
|
|
2
2
|
const y = /[#.]/g;
|
|
3
3
|
function L(e, t) {
|
|
4
4
|
const r = e || "", n = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getNoteRect as Re, drawRect as Se } from "./chunk-TZMSLE5B.
|
|
2
|
-
import { __name as y, setAccDescription as De, getAccDescription as Pe, getAccTitle as Be, setAccTitle as Ie, getConfig2 as Pt, select as Yt, log as ue, configureSvgSize as Me, assignWithDepth_default as Le, calculateTextWidth as wt, sanitizeText as ye, distExports as Ne, wrapLabel as Ye, common_default as Zt, calculateTextHeight as de } from "./rehype-mermaid.
|
|
1
|
+
import { getNoteRect as Re, drawRect as Se } from "./chunk-TZMSLE5B.Dk6nyM8F.js";
|
|
2
|
+
import { __name as y, setAccDescription as De, getAccDescription as Pe, getAccTitle as Be, setAccTitle as Ie, getConfig2 as Pt, select as Yt, log as ue, configureSvgSize as Me, assignWithDepth_default as Le, calculateTextWidth as wt, sanitizeText as ye, distExports as Ne, wrapLabel as Ye, common_default as Zt, calculateTextHeight as de } from "./rehype-mermaid.Bup655DM.js";
|
|
3
3
|
var Ut = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ y(function(bt, _, x, m) {
|
|
5
5
|
for (x = x || {}, m = bt.length; m--; x[bt[m]] = _) ;
|