@versini/sassysaint 8.112.0 → 8.113.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.
- package/dist/chunks/{AboutChangelog.Dayt987X.js → AboutChangelog.DARG59db.js} +2 -2
- package/dist/chunks/AboutEntry.b7SX6WL6.js +77 -0
- package/dist/chunks/{App.1qxTcHhE.js → App.xmJgJehw.js} +1734 -1742
- package/dist/chunks/{Bubble.Bw-2eGqM.js → Bubble.Cz0qyoPO.js} +1 -1
- package/dist/chunks/{ButtonIconDelete.DZW_2G6c.js → ButtonIconDelete.B3ULIUO-.js} +2 -2
- package/dist/chunks/{Chart.Cx6km9TU.js → Chart.C0iTXNld.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.BNu2Y1zq.js → ChatBubbleAssistant.Oxeqz6_p.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.pPCI3WL0.js → ChatBubbleUser.XmPerorZ.js} +3 -3
- package/dist/chunks/ChatHistoryTable.CPSt_wL_.js +292 -0
- package/dist/chunks/{HistoryEntry.C3bboYln.js → HistoryEntry.CkyoLRa6.js} +6 -6
- package/dist/chunks/{LoginEntry.Bn-GsVAB.js → LoginEntry.OXFkZEz4.js} +4 -4
- package/dist/chunks/{LogoEntry.DReNqiYv.js → LogoEntry.CwNXwlBx.js} +335 -338
- package/dist/chunks/{MemoriesEntry.CAg5AW5F.js → MemoriesEntry.RiZXtAAL.js} +5 -5
- package/dist/chunks/{ProfileEntry.COWhUBbO.js → ProfileEntry.CrZ2q4i9.js} +4 -4
- package/dist/chunks/SettingsEntry.M3K9Udw1.js +456 -0
- package/dist/chunks/{UsageEntry.CnnazYSh.js → UsageEntry.CN_Db9Wa.js} +5 -5
- package/dist/chunks/{_baseUniq.CNUFz9Ie.js → _baseUniq.f4f4GDt9.js} +1 -1
- package/dist/chunks/{arc.Bxl15E2D.js → arc.i1gTqq5f.js} +1 -1
- package/dist/chunks/{architecture-U656AL7Q.DzlHQE5F.js → architecture-U656AL7Q.BlAWNnCU.js} +1 -1
- package/dist/chunks/{architectureDiagram-VXUJARFQ.DQBLcSlJ.js → architectureDiagram-VXUJARFQ.CNiv_XUQ.js} +4 -4
- package/dist/chunks/{blockDiagram-VD42YOAC.BSHnyqv8.js → blockDiagram-VD42YOAC.DHyMgxSX.js} +5 -5
- package/dist/chunks/{browser.ykQdyxYi.js → browser.DwvEsO0M.js} +1 -1
- package/dist/chunks/{c4Diagram-YG6GDRKO.Zzum1FZK.js → c4Diagram-YG6GDRKO.5rV4UgiI.js} +2 -2
- package/dist/chunks/{channel._2RWo0R_.js → channel.Cbuusniv.js} +1 -1
- package/dist/chunks/{chunk-4BX2VUAB.C-pLiL50.js → chunk-4BX2VUAB.Cr4aulve.js} +1 -1
- package/dist/chunks/{chunk-55IACEB6.fMp9ubf_.js → chunk-55IACEB6.BSNVvGBN.js} +1 -1
- package/dist/chunks/{chunk-B4BG7PRW.BNmIeVTV.js → chunk-B4BG7PRW.f8-M_ha3.js} +4 -4
- package/dist/chunks/{chunk-DI55MBZ5.uDz3flQ8.js → chunk-DI55MBZ5.DHI14tPg.js} +3 -3
- package/dist/chunks/{chunk-FMBD7UC4.Diy7mBue.js → chunk-FMBD7UC4.iTWjW72u.js} +1 -1
- package/dist/chunks/{chunk-QN33PNHL.ryixtm2U.js → chunk-QN33PNHL.D4-2NXjF.js} +1 -1
- package/dist/chunks/{chunk-QZHKN3VN.C7w_fpJx.js → chunk-QZHKN3VN.CYmGB8Sb.js} +1 -1
- package/dist/chunks/{chunk-TZMSLE5B.BofTElRx.js → chunk-TZMSLE5B.DzMaXodZ.js} +1 -1
- package/dist/chunks/{classDiagram-2ON5EDUG.Bcl4iHVO.js → classDiagram-2ON5EDUG.BKKdpvXL.js} +2 -2
- package/dist/chunks/{classDiagram-v2-WZHVMYZB.Bcl4iHVO.js → classDiagram-v2-WZHVMYZB.BKKdpvXL.js} +2 -2
- package/dist/chunks/{clone.CXzi7x3n.js → clone.CvyZhqBo.js} +1 -1
- package/dist/chunks/{cose-bilkent-S5V4N54A.DAjW96yL.js → cose-bilkent-S5V4N54A.DkcPIpNo.js} +2 -2
- package/dist/chunks/{dagre-6UL2VRFP.CRpUm0Nd.js → dagre-6UL2VRFP.CYWrglcj.js} +5 -5
- package/dist/chunks/{diagram-PSM6KHXK.D8PLOyb_.js → diagram-PSM6KHXK.ammyY8fs.js} +4 -4
- package/dist/chunks/{diagram-QEK2KX5R.DwNvsJ_b.js → diagram-QEK2KX5R.nxakvoUi.js} +3 -3
- package/dist/chunks/{diagram-S2PKOQOG.DyCzcwzE.js → diagram-S2PKOQOG.oTHGFvqq.js} +3 -3
- package/dist/chunks/{erDiagram-Q2GNP2WA.BlUI5_4z.js → erDiagram-Q2GNP2WA.CLXRUHsa.js} +4 -4
- package/dist/chunks/{flowDiagram-NV44I4VS.Bfreb6t8.js → flowDiagram-NV44I4VS.Cy7wO5FH.js} +5 -5
- package/dist/chunks/{ganttDiagram-JELNMOA3.ib1rXCQk.js → ganttDiagram-JELNMOA3.Cl8zcb3j.js} +2 -2
- package/dist/chunks/{gitGraph-F6HP7TQM.CxufJdwn.js → gitGraph-F6HP7TQM.hNW58gvI.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-NY62KEGX.BZt4MXEW.js → gitGraphDiagram-NY62KEGX.CZSlTMsq.js} +4 -4
- package/dist/chunks/{graph.hvB27c9D.js → graph.Caz35JH7.js} +2 -2
- package/dist/chunks/{index.TLbAcxWR.js → index.1cAC-xa5.js} +1 -1
- package/dist/chunks/{index.92htXG5J.js → index.BviDehsy.js} +1 -1
- package/dist/chunks/{index.BB4J2Qi1.js → index.CQi6BBgd.js} +1 -1
- package/dist/chunks/{index.BXReSy4c.js → index.CqmFtr8m.js} +1762 -1918
- package/dist/chunks/{index.BVCLFEiI.js → index.CvxA-kV5.js} +1 -1
- package/dist/chunks/{index.DS1kY_8b.js → index.DN476kOD.js} +1 -1
- package/dist/chunks/{index.IpQNrFt6.js → index.Db2hh2RQ.js} +1 -1
- package/dist/chunks/{index.CmdM8OhV.js → index.DjSNYDyW.js} +3 -3
- package/dist/chunks/{index.Hd2XXux1.js → index.HA4LNOyl.js} +3 -3
- package/dist/chunks/{index.790ujKXR.js → index.ri2Dr1rJ.js} +1 -1
- package/dist/chunks/{info-NVLQJR56.B1fpEaU0.js → info-NVLQJR56.Dc95hvAr.js} +1 -1
- package/dist/chunks/{infoDiagram-WHAUD3N6.Bq2JnNoD.js → infoDiagram-WHAUD3N6.DkzXHXgE.js} +2 -2
- package/dist/chunks/{journeyDiagram-XKPGCS4Q.iqGtFhp_.js → journeyDiagram-XKPGCS4Q.Dm4nCIWT.js} +4 -4
- package/dist/chunks/{kanban-definition-3W4ZIXB7.JMlNoVIk.js → kanban-definition-3W4ZIXB7.Bw_g7kdo.js} +2 -2
- package/dist/chunks/{layout.CP2AqVdG.js → layout.B2-214jN.js} +4 -4
- package/dist/chunks/{mermaid-parser.core.Bi2yoxZq.js → mermaid-parser.core.CXlYMeXK.js} +10 -10
- package/dist/chunks/{min.C11Gc2EF.js → min.BgoLZ81l.js} +2 -2
- package/dist/chunks/{mindmap-definition-VGOIOE7T.Cd1AilWi.js → mindmap-definition-VGOIOE7T.CsFsq1Li.js} +4 -4
- package/dist/chunks/{packet-BFZMPI3H.fS8hEXjX.js → packet-BFZMPI3H.CDcu8fNx.js} +1 -1
- package/dist/chunks/{pie-7BOR55EZ.Ds7KQGmJ.js → pie-7BOR55EZ.ByUouGiC.js} +1 -1
- package/dist/chunks/{pieDiagram-ADFJNKIX.C1aHiwho.js → pieDiagram-ADFJNKIX.D8CkHMPE.js} +4 -4
- package/dist/chunks/{quadrantDiagram-AYHSOK5B.1yLMviWL.js → quadrantDiagram-AYHSOK5B.yAWIyAoJ.js} +1 -1
- package/dist/chunks/{radar-NHE76QYJ.B9AoWAwO.js → radar-NHE76QYJ.Bd9UodJQ.js} +1 -1
- package/dist/chunks/{rehype-mermaid.CTTnjcVn.js → rehype-mermaid.CkjpiQg3.js} +33 -33
- package/dist/chunks/{requirementDiagram-UZGBJVZJ.2S8yiwhm.js → requirementDiagram-UZGBJVZJ.D_fevfp7.js} +3 -3
- package/dist/chunks/{sankeyDiagram-TZEHDZUN.DpCJXyYB.js → sankeyDiagram-TZEHDZUN.BhEOFLc-.js} +1 -1
- package/dist/chunks/{sequenceDiagram-WL72ISMW.GhgH6avH.js → sequenceDiagram-WL72ISMW.BHLZnLLI.js} +3 -3
- package/dist/chunks/{stateDiagram-FKZM4ZOC.CcbwpENI.js → stateDiagram-FKZM4ZOC.CCaljhqc.js} +4 -4
- package/dist/chunks/{stateDiagram-v2-4FDKWEC3.BhJWHBo_.js → stateDiagram-v2-4FDKWEC3.BIe9xvkt.js} +2 -2
- package/dist/chunks/{timeline-definition-IT6M3QCI.eg5mNjCi.js → timeline-definition-IT6M3QCI.DaPI8uIU.js} +2 -2
- package/dist/chunks/{treemap-KMMF4GRG.Bn78avOP.js → treemap-KMMF4GRG.Dp5s54-J.js} +1 -1
- package/dist/chunks/{useMarkdown.js2o9U64.js → useMarkdown.DZ7gk7QY.js} +8 -8
- package/dist/chunks/{xychartDiagram-PRI3JC2R.DuYEc52x.js → xychartDiagram-PRI3JC2R.CuFnq5R8.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/AboutEntry.C7nQnTaR.js +0 -81
- package/dist/chunks/ChatHistoryTable.DaVUivHo.js +0 -234
- package/dist/chunks/SettingsEntry.e4vl4zRK.js +0 -510
- package/dist/chunks/index.DR0-P5h3.js +0 -67
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n, Fragment as L } from "react/jsx-runtime";
|
|
2
|
-
import { n as pe, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as he, LOCAL_STORAGE_SORT_MEMORY_COLUMN as fe, useUserMemories as ge, useExpiredMemories as ye, useDeleteMemory as be, useDeleteAllActiveMemories as Ne, useDeleteAllExpiredMemories as ve, useUpdateMemory as Ce, useRestoreMemory as Ae } from "./index.
|
|
3
|
-
import { Button as D, TableCellSortDirections as N, ButtonIcon as O, IconEdit as Te, IconRestore as Se, IconDelete as we } from "./LogoEntry.
|
|
4
|
-
import { Panel as K, Toggle as E, ButtonCancel as Q, ResponsiveTooltip as P, useLocalStorage as X, ConfirmationPanel as Y } from "./App.
|
|
2
|
+
import { n as pe, LOCAL_STORAGE_PREFIX as H, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as he, LOCAL_STORAGE_SORT_MEMORY_COLUMN as fe, useUserMemories as ge, useExpiredMemories as ye, useDeleteMemory as be, useDeleteAllActiveMemories as Ne, useDeleteAllExpiredMemories as ve, useUpdateMemory as Ce, useRestoreMemory as Ae } from "./index.CqmFtr8m.js";
|
|
3
|
+
import { Button as D, TableCellSortDirections as N, ButtonIcon as O, IconEdit as Te, IconRestore as Se, IconDelete as we } from "./LogoEntry.CwNXwlBx.js";
|
|
4
|
+
import { Panel as K, Toggle as E, ButtonCancel as Q, ResponsiveTooltip as P, useLocalStorage as X, ConfirmationPanel as Y } from "./App.xmJgJehw.js";
|
|
5
5
|
import S from "clsx";
|
|
6
6
|
import { useState as h, useEffect as Ee, useRef as B } from "react";
|
|
7
|
-
import { TextArea as De } from "./index.
|
|
8
|
-
import { TableHead as ke, TableRow as _, TableCell as f, TableCellSort as J, ButtonIconDelete as Me, Table as Re, TableBody as Ie, TableFooter as Le } from "./ButtonIconDelete.
|
|
7
|
+
import { TextArea as De } from "./index.DN476kOD.js";
|
|
8
|
+
import { TableHead as ke, TableRow as _, TableCell as f, TableCellSort as J, ButtonIconDelete as Me, Table as Re, TableBody as Ie, TableFooter as Le } from "./ButtonIconDelete.B3ULIUO-.js";
|
|
9
9
|
const Oe = ({
|
|
10
10
|
open: r,
|
|
11
11
|
onOpenChange: s,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e, Fragment as L } from "react/jsx-runtime";
|
|
2
|
-
import { preloadToast as M, showSuccessToast as j, showErrorToast as D, LazyToastContainerWrapper as K, ConfirmationPanel as O, Panel as W, ButtonCancel as Y } from "./App.
|
|
2
|
+
import { preloadToast as M, showSuccessToast as j, showErrorToast as D, LazyToastContainerWrapper as K, ConfirmationPanel as O, Panel as W, ButtonCancel as Y } from "./App.xmJgJehw.js";
|
|
3
3
|
import { useState as d, useMemo as H, useCallback as b, useRef as $ } from "react";
|
|
4
|
-
import { useUniqueId as q, CARDS as n, Button as G, ButtonIcon as V, IconPasskey as y, PROFILE_TITLE as J } from "./LogoEntry.
|
|
5
|
-
import { n as Q, useUserPreferences as X, useServerCapabilities as Z, c as ee, setUserPlan as se, renderDataAsList as ae, st as re, isTauri as ne } from "./index.
|
|
6
|
-
import { Card as S } from "./index.
|
|
4
|
+
import { useUniqueId as q, CARDS as n, Button as G, ButtonIcon as V, IconPasskey as y, PROFILE_TITLE as J } from "./LogoEntry.CwNXwlBx.js";
|
|
5
|
+
import { n as Q, useUserPreferences as X, useServerCapabilities as Z, c as ee, setUserPlan as se, renderDataAsList as ae, st as re, isTauri as ne } from "./index.CqmFtr8m.js";
|
|
6
|
+
import { Card as S } from "./index.Db2hh2RQ.js";
|
|
7
7
|
import te from "clsx";
|
|
8
8
|
const ie = ({
|
|
9
9
|
requestConfirmation: m
|
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { n as Ie, useEntitlements as Oe, useUserPreferences as Pe, B as ee, LOCAL_STORAGE_OLED_MODE as Ae, LOCAL_STORAGE_FULL_SCREEN as Re, e as te, canEvaluateModels as ke, W as Be, V as ve, K as oe, applyOledMode as se, getCurrentGeoLocation as xe, graphQLRequest as ae, SERVICE_TYPES as ne } from "./index.CqmFtr8m.js";
|
|
3
|
+
import { AppContext as Ue, SETTINGS_TITLE as Ge, CARDS as n, Button as re, PROMPTS_DESCRIPTION as je, APP_SET_OLED_MODE as le, APP_SET_FULL_SCREEN as ce } from "./LogoEntry.CwNXwlBx.js";
|
|
4
|
+
import { Card as h } from "./index.Db2hh2RQ.js";
|
|
5
|
+
import { useCapability as ie, useLocalStorage as de, Panel as Fe, Toggle as r, ButtonCancel as Ve } from "./App.xmJgJehw.js";
|
|
6
|
+
import { TextArea as ue } from "./index.DN476kOD.js";
|
|
7
|
+
import { useRef as $e, useContext as ze, useState as s, useMemo as Ye, useEffect as He } from "react";
|
|
8
|
+
const et = ({
|
|
9
|
+
open: me,
|
|
10
|
+
onOpenChange: O
|
|
11
|
+
}) => {
|
|
12
|
+
const P = $e(null), { getAccessToken: N, user: A } = Ie(), { allowedModels: C, status: R } = Oe(), { dispatch: T } = ze(Ue), {
|
|
13
|
+
data: t,
|
|
14
|
+
isSuccess: Ee,
|
|
15
|
+
refetch: k
|
|
16
|
+
} = Pe({
|
|
17
|
+
user: A?.username,
|
|
18
|
+
getAccessToken: N
|
|
19
|
+
}), [B, g] = s({
|
|
20
|
+
loadingLocation: !1
|
|
21
|
+
}), [L, v] = s({
|
|
22
|
+
prompts: []
|
|
23
|
+
}), [x, U] = s(""), [G, p] = s(""), [j, F] = s(!1), [V, $] = s(!1), [z, Y] = s(!1), [M, H] = s(!1), [K, W] = s(!1), q = ie(ee.TOOL.MEMORIES), Q = ie(ee.ADDON.REASONING), [i, he] = de({
|
|
24
|
+
key: Ae,
|
|
25
|
+
initialValue: !1
|
|
26
|
+
}), [u, Se] = de({
|
|
27
|
+
key: Re,
|
|
28
|
+
initialValue: !1
|
|
29
|
+
}), [m, w] = s(!1), [S, y] = s(!1), [J, X] = s(te), fe = Ye(() => ke(C, R) ? Be(C) : !1, [C, R]), Te = (e) => {
|
|
30
|
+
W(e);
|
|
31
|
+
}, ge = (e) => {
|
|
32
|
+
F(e);
|
|
33
|
+
}, pe = (e) => {
|
|
34
|
+
q && $(e);
|
|
35
|
+
}, be = (e) => {
|
|
36
|
+
Q && Y(e);
|
|
37
|
+
}, Ne = (e) => {
|
|
38
|
+
H(e);
|
|
39
|
+
}, Ce = (e) => {
|
|
40
|
+
w(e);
|
|
41
|
+
}, Le = (e) => {
|
|
42
|
+
y(e);
|
|
43
|
+
}, Me = (e) => {
|
|
44
|
+
X(e ? oe : te);
|
|
45
|
+
}, we = async (e) => {
|
|
46
|
+
e.preventDefault();
|
|
47
|
+
try {
|
|
48
|
+
await ae({
|
|
49
|
+
accessToken: await N(),
|
|
50
|
+
type: ne.SET_USER_PREFERENCES,
|
|
51
|
+
params: {
|
|
52
|
+
user: A?.username,
|
|
53
|
+
instructions: x,
|
|
54
|
+
location: G,
|
|
55
|
+
provider: t?.provider,
|
|
56
|
+
/**
|
|
57
|
+
* When nested model selection is disabled, explicitly clear any stored
|
|
58
|
+
* model preference so the user relies solely on provider defaults. Empty
|
|
59
|
+
* string signals to backend to use provider's default model.
|
|
60
|
+
*/
|
|
61
|
+
model: M && t?.model || "",
|
|
62
|
+
tags: L.prompts,
|
|
63
|
+
sendOnEnter: j,
|
|
64
|
+
useMemory: V,
|
|
65
|
+
showDetails: K,
|
|
66
|
+
showReasoningButton: z,
|
|
67
|
+
useNestedModelSelection: M,
|
|
68
|
+
themeMode: J
|
|
69
|
+
}
|
|
70
|
+
}), m !== i && (he(m), se(m), T({
|
|
71
|
+
type: le,
|
|
72
|
+
payload: { oledMode: m }
|
|
73
|
+
})), S !== u && (Se(S), T({
|
|
74
|
+
type: ce,
|
|
75
|
+
payload: { fullScreen: S }
|
|
76
|
+
})), k(), g({
|
|
77
|
+
loadingLocation: !1
|
|
78
|
+
});
|
|
79
|
+
} catch {
|
|
80
|
+
}
|
|
81
|
+
}, ye = async () => {
|
|
82
|
+
g({
|
|
83
|
+
loadingLocation: !0
|
|
84
|
+
}), p("...");
|
|
85
|
+
try {
|
|
86
|
+
const e = Date.now(), a = await xe(), b = await ae({
|
|
87
|
+
accessToken: await N(),
|
|
88
|
+
type: ne.GET_LOCATION,
|
|
89
|
+
params: {
|
|
90
|
+
latitude: a.latitude,
|
|
91
|
+
longitude: a.longitude
|
|
92
|
+
}
|
|
93
|
+
}), E = Date.now() - e;
|
|
94
|
+
E < 2e3 && await new Promise((_e) => setTimeout(_e, 2e3 - E));
|
|
95
|
+
const { city: d, state: l, country: f, displayName: I } = b.data, De = d && l && f ? `${d}, ${l}, ${f}` : I;
|
|
96
|
+
g({
|
|
97
|
+
loadingLocation: !1
|
|
98
|
+
}), p(De);
|
|
99
|
+
} catch {
|
|
100
|
+
g({
|
|
101
|
+
loadingLocation: !1
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
}, Z = () => {
|
|
105
|
+
m !== i && (w(i), se(i), T({
|
|
106
|
+
type: le,
|
|
107
|
+
payload: { oledMode: i }
|
|
108
|
+
})), S !== u && (y(u), T({
|
|
109
|
+
type: ce,
|
|
110
|
+
payload: { fullScreen: u }
|
|
111
|
+
})), k(), O(!1);
|
|
112
|
+
}, D = ({
|
|
113
|
+
enabled: e = !1,
|
|
114
|
+
privateChat: a = !1,
|
|
115
|
+
clipboardAccess: b = !1,
|
|
116
|
+
..._
|
|
117
|
+
}) => {
|
|
118
|
+
v((E) => {
|
|
119
|
+
const d = E.prompts, l = {
|
|
120
|
+
..._,
|
|
121
|
+
enabled: e,
|
|
122
|
+
privateChat: a,
|
|
123
|
+
clipboardAccess: b
|
|
124
|
+
};
|
|
125
|
+
b ? l.content = l.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : l.content = l.content.replace(/{{clipboard}}/g, "");
|
|
126
|
+
const f = d.findIndex((I) => I.slot === _.slot);
|
|
127
|
+
return f === -1 ? {
|
|
128
|
+
...E,
|
|
129
|
+
prompts: [...d, { ...l }]
|
|
130
|
+
} : (d[f] = l, {
|
|
131
|
+
...E,
|
|
132
|
+
prompts: [...d]
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
};
|
|
136
|
+
return He(() => {
|
|
137
|
+
t && (t.instructions && U(t.instructions), t.location && p(t.location), t.tags && v({ prompts: t.tags }), t.sendOnEnter !== void 0 && F(t.sendOnEnter), t.useMemory !== void 0 && $(t.useMemory), t.showDetails !== void 0 && W(t.showDetails), t.showReasoningButton !== void 0 && Y(t.showReasoningButton), t.useNestedModelSelection !== void 0 && H(t.useNestedModelSelection), t.themeMode !== void 0 && X(t.themeMode), w(i), y(u));
|
|
138
|
+
}, [t, i, u]), Ee ? /* @__PURE__ */ c(
|
|
139
|
+
Fe,
|
|
140
|
+
{
|
|
141
|
+
open: me,
|
|
142
|
+
onOpenChange: Z,
|
|
143
|
+
title: Ge,
|
|
144
|
+
animation: !0,
|
|
145
|
+
animationType: "fade",
|
|
146
|
+
blurEffect: "large",
|
|
147
|
+
initialFocus: P,
|
|
148
|
+
footer: /* @__PURE__ */ c("div", { className: "flex flex-wrap justify-end gap-x-2 pb-8 sm:pb-0", children: [
|
|
149
|
+
/* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
|
|
150
|
+
Ve,
|
|
151
|
+
{
|
|
152
|
+
onOpenChange: Z,
|
|
153
|
+
label: "Cancel",
|
|
154
|
+
ref: P
|
|
155
|
+
}
|
|
156
|
+
) }),
|
|
157
|
+
/* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
|
|
158
|
+
re,
|
|
159
|
+
{
|
|
160
|
+
mode: "light",
|
|
161
|
+
focusMode: "light",
|
|
162
|
+
onClick: async (e) => {
|
|
163
|
+
O(!1), await we(e);
|
|
164
|
+
},
|
|
165
|
+
children: "Save"
|
|
166
|
+
}
|
|
167
|
+
) })
|
|
168
|
+
] }),
|
|
169
|
+
children: [
|
|
170
|
+
/* @__PURE__ */ c(
|
|
171
|
+
h,
|
|
172
|
+
{
|
|
173
|
+
header: n.SETTINGS_DETAILS.TITLE,
|
|
174
|
+
className: "prose-dark dark:prose-lighter",
|
|
175
|
+
noBorder: !0,
|
|
176
|
+
children: [
|
|
177
|
+
/* @__PURE__ */ o(
|
|
178
|
+
r,
|
|
179
|
+
{
|
|
180
|
+
noBorder: !0,
|
|
181
|
+
narrow: !0,
|
|
182
|
+
className: "mt-2 justify-between",
|
|
183
|
+
labelPosition: "left",
|
|
184
|
+
label: "Message Statistics",
|
|
185
|
+
subLabel: n.SETTINGS_DETAILS.DETAILS,
|
|
186
|
+
name: "show-message-statistics",
|
|
187
|
+
onChange: Te,
|
|
188
|
+
checked: K
|
|
189
|
+
}
|
|
190
|
+
),
|
|
191
|
+
/* @__PURE__ */ o(
|
|
192
|
+
r,
|
|
193
|
+
{
|
|
194
|
+
noBorder: !0,
|
|
195
|
+
narrow: !0,
|
|
196
|
+
className: "mt-2 justify-between",
|
|
197
|
+
labelPosition: "left",
|
|
198
|
+
label: "Send Message on Enter",
|
|
199
|
+
subLabel: n.SETTINGS_DETAILS.SEND_ON_ENTER,
|
|
200
|
+
name: "send-message-on-enter",
|
|
201
|
+
onChange: ge,
|
|
202
|
+
checked: j
|
|
203
|
+
}
|
|
204
|
+
),
|
|
205
|
+
q && /* @__PURE__ */ o(
|
|
206
|
+
r,
|
|
207
|
+
{
|
|
208
|
+
noBorder: !0,
|
|
209
|
+
narrow: !0,
|
|
210
|
+
className: "mt-2 justify-between",
|
|
211
|
+
labelPosition: "left",
|
|
212
|
+
label: "Use Memory",
|
|
213
|
+
subLabel: n.SETTINGS_DETAILS.USE_MEMORY,
|
|
214
|
+
name: "use-memory",
|
|
215
|
+
onChange: pe,
|
|
216
|
+
checked: V
|
|
217
|
+
}
|
|
218
|
+
)
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
),
|
|
222
|
+
/* @__PURE__ */ c(
|
|
223
|
+
h,
|
|
224
|
+
{
|
|
225
|
+
header: "Custom Instructions",
|
|
226
|
+
className: "prose-dark dark:prose-lighter mt-4",
|
|
227
|
+
noBorder: !0,
|
|
228
|
+
children: [
|
|
229
|
+
/* @__PURE__ */ c("p", { className: "text-sm", children: [
|
|
230
|
+
"What would you like ",
|
|
231
|
+
/* @__PURE__ */ o("em", { children: ve }),
|
|
232
|
+
" to know about you to provide better responses?"
|
|
233
|
+
] }),
|
|
234
|
+
/* @__PURE__ */ o(
|
|
235
|
+
ue,
|
|
236
|
+
{
|
|
237
|
+
mode: "alt-system",
|
|
238
|
+
autoCapitalize: "off",
|
|
239
|
+
autoComplete: "off",
|
|
240
|
+
autoCorrect: "off",
|
|
241
|
+
name: "customInstructions",
|
|
242
|
+
label: "Custom Instructions",
|
|
243
|
+
value: x,
|
|
244
|
+
onChange: (e) => {
|
|
245
|
+
U(e.target.value);
|
|
246
|
+
},
|
|
247
|
+
helperText: "Press ENTER to add a new line."
|
|
248
|
+
}
|
|
249
|
+
)
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
),
|
|
253
|
+
/* @__PURE__ */ c(
|
|
254
|
+
h,
|
|
255
|
+
{
|
|
256
|
+
header: "Location",
|
|
257
|
+
className: "prose-dark dark:prose-lighter mt-4",
|
|
258
|
+
noBorder: !0,
|
|
259
|
+
children: [
|
|
260
|
+
/* @__PURE__ */ o("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
|
|
261
|
+
/* @__PURE__ */ o(
|
|
262
|
+
ue,
|
|
263
|
+
{
|
|
264
|
+
mode: "alt-system",
|
|
265
|
+
name: "location",
|
|
266
|
+
label: "Location",
|
|
267
|
+
value: G,
|
|
268
|
+
onChange: (e) => {
|
|
269
|
+
p(e.target.value);
|
|
270
|
+
},
|
|
271
|
+
helperText: "Enter your location or press auto-detect."
|
|
272
|
+
}
|
|
273
|
+
),
|
|
274
|
+
/* @__PURE__ */ o(
|
|
275
|
+
re,
|
|
276
|
+
{
|
|
277
|
+
className: "mt-2",
|
|
278
|
+
size: "small",
|
|
279
|
+
noBorder: !0,
|
|
280
|
+
variant: "secondary",
|
|
281
|
+
disabled: B.loadingLocation,
|
|
282
|
+
onClick: ye,
|
|
283
|
+
children: B.loadingLocation ? "Detecting..." : "Auto-detect"
|
|
284
|
+
}
|
|
285
|
+
)
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
),
|
|
289
|
+
/* @__PURE__ */ c(
|
|
290
|
+
h,
|
|
291
|
+
{
|
|
292
|
+
header: n.SETTINGS_PROMPTS.TITLE,
|
|
293
|
+
className: "prose-dark dark:prose-lighter mt-4",
|
|
294
|
+
noBorder: !0,
|
|
295
|
+
children: [
|
|
296
|
+
/* @__PURE__ */ o("p", { className: "text-sm", children: je }),
|
|
297
|
+
L.prompts && L.prompts.slice(0, 3).map((e) => /* @__PURE__ */ c(
|
|
298
|
+
h,
|
|
299
|
+
{
|
|
300
|
+
mode: "dark",
|
|
301
|
+
noBorder: !0,
|
|
302
|
+
header: e.label.replace("...", ""),
|
|
303
|
+
className: "prose-light mb-2",
|
|
304
|
+
children: [
|
|
305
|
+
/* @__PURE__ */ o("p", { className: "text-sm", children: e.description }),
|
|
306
|
+
/* @__PURE__ */ o(
|
|
307
|
+
r,
|
|
308
|
+
{
|
|
309
|
+
noBorder: !0,
|
|
310
|
+
narrow: !0,
|
|
311
|
+
mode: "dark",
|
|
312
|
+
focusMode: "light",
|
|
313
|
+
className: "mt-2",
|
|
314
|
+
label: "Enabled",
|
|
315
|
+
name: e.slot.toString(),
|
|
316
|
+
onChange: (a) => {
|
|
317
|
+
D({
|
|
318
|
+
...e,
|
|
319
|
+
enabled: a
|
|
320
|
+
});
|
|
321
|
+
},
|
|
322
|
+
checked: e.enabled
|
|
323
|
+
}
|
|
324
|
+
),
|
|
325
|
+
/* @__PURE__ */ o(
|
|
326
|
+
r,
|
|
327
|
+
{
|
|
328
|
+
noBorder: !0,
|
|
329
|
+
narrow: !0,
|
|
330
|
+
mode: "dark",
|
|
331
|
+
focusMode: "light",
|
|
332
|
+
className: "mt-2",
|
|
333
|
+
label: "Private Chat",
|
|
334
|
+
name: `private-${e.slot.toString()}`,
|
|
335
|
+
onChange: (a) => {
|
|
336
|
+
D({
|
|
337
|
+
...e,
|
|
338
|
+
privateChat: a
|
|
339
|
+
});
|
|
340
|
+
},
|
|
341
|
+
checked: e.privateChat
|
|
342
|
+
}
|
|
343
|
+
),
|
|
344
|
+
/* @__PURE__ */ o(
|
|
345
|
+
r,
|
|
346
|
+
{
|
|
347
|
+
noBorder: !0,
|
|
348
|
+
narrow: !0,
|
|
349
|
+
mode: "dark",
|
|
350
|
+
focusMode: "light",
|
|
351
|
+
className: "mt-2",
|
|
352
|
+
label: "Use Clipboard",
|
|
353
|
+
name: `clipboard-${e.slot.toString()}`,
|
|
354
|
+
onChange: (a) => {
|
|
355
|
+
D({
|
|
356
|
+
...e,
|
|
357
|
+
clipboardAccess: a
|
|
358
|
+
});
|
|
359
|
+
},
|
|
360
|
+
checked: e.clipboardAccess
|
|
361
|
+
}
|
|
362
|
+
)
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
`prompt-slot-${e.slot}`
|
|
366
|
+
))
|
|
367
|
+
]
|
|
368
|
+
}
|
|
369
|
+
),
|
|
370
|
+
/* @__PURE__ */ c(
|
|
371
|
+
h,
|
|
372
|
+
{
|
|
373
|
+
header: n.SETTINGS_ADVANCED.TITLE,
|
|
374
|
+
className: "prose-dark dark:prose-lighter mt-4 ",
|
|
375
|
+
noBorder: !0,
|
|
376
|
+
children: [
|
|
377
|
+
Q && /* @__PURE__ */ o(
|
|
378
|
+
r,
|
|
379
|
+
{
|
|
380
|
+
noBorder: !0,
|
|
381
|
+
narrow: !0,
|
|
382
|
+
className: "mt-2 justify-between",
|
|
383
|
+
labelPosition: "left",
|
|
384
|
+
label: "Reasoning Button",
|
|
385
|
+
subLabel: n.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION,
|
|
386
|
+
name: "show-reasoning-button",
|
|
387
|
+
onChange: be,
|
|
388
|
+
checked: z
|
|
389
|
+
}
|
|
390
|
+
),
|
|
391
|
+
fe && /* @__PURE__ */ o(
|
|
392
|
+
r,
|
|
393
|
+
{
|
|
394
|
+
noBorder: !0,
|
|
395
|
+
narrow: !0,
|
|
396
|
+
className: "mt-2 justify-between",
|
|
397
|
+
labelPosition: "left",
|
|
398
|
+
label: "Model Selection",
|
|
399
|
+
subLabel: n.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION,
|
|
400
|
+
name: "use-nested-model-selection",
|
|
401
|
+
onChange: Ne,
|
|
402
|
+
checked: M
|
|
403
|
+
}
|
|
404
|
+
),
|
|
405
|
+
/* @__PURE__ */ o(
|
|
406
|
+
r,
|
|
407
|
+
{
|
|
408
|
+
noBorder: !0,
|
|
409
|
+
narrow: !0,
|
|
410
|
+
className: "mt-2 justify-between",
|
|
411
|
+
labelPosition: "left",
|
|
412
|
+
label: "OLED Mode",
|
|
413
|
+
subLabel: n.SETTINGS_ADVANCED.BACKGROUND_THEME_DESCRIPTION,
|
|
414
|
+
name: "enable-oled-mode",
|
|
415
|
+
onChange: Ce,
|
|
416
|
+
checked: m
|
|
417
|
+
}
|
|
418
|
+
),
|
|
419
|
+
/* @__PURE__ */ o(
|
|
420
|
+
r,
|
|
421
|
+
{
|
|
422
|
+
noBorder: !0,
|
|
423
|
+
narrow: !0,
|
|
424
|
+
className: "mt-2 justify-between",
|
|
425
|
+
labelPosition: "left",
|
|
426
|
+
label: "Alternative Theme",
|
|
427
|
+
subLabel: n.SETTINGS_ADVANCED.THEME_MODE_DESCRIPTION,
|
|
428
|
+
name: "enable-alternative-theme",
|
|
429
|
+
onChange: Me,
|
|
430
|
+
checked: J === oe
|
|
431
|
+
}
|
|
432
|
+
),
|
|
433
|
+
/* @__PURE__ */ o(
|
|
434
|
+
r,
|
|
435
|
+
{
|
|
436
|
+
noBorder: !0,
|
|
437
|
+
narrow: !0,
|
|
438
|
+
className: "mt-2 justify-between",
|
|
439
|
+
labelPosition: "left",
|
|
440
|
+
label: "Full Screen",
|
|
441
|
+
subLabel: n.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION,
|
|
442
|
+
name: "enable-full-screen",
|
|
443
|
+
onChange: Le,
|
|
444
|
+
checked: S
|
|
445
|
+
}
|
|
446
|
+
)
|
|
447
|
+
]
|
|
448
|
+
}
|
|
449
|
+
)
|
|
450
|
+
]
|
|
451
|
+
}
|
|
452
|
+
) : null;
|
|
453
|
+
};
|
|
454
|
+
export {
|
|
455
|
+
et as SettingsPanel
|
|
456
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as W, useUserChatStats as q, LOCAL_STORAGE_PREFIX as C, LOCAL_STORAGE_USAGE_VIEW_MODE as X, LOCAL_STORAGE_USAGE_TIME_RANGE as Z, LOCAL_STORAGE_USAGE_SELECTED_MONTH as J, useChatsUsage as Q, renderDataAsList as $ } from "./index.
|
|
3
|
-
import { useUniqueId as ee, TIME_RANGES as e, USAGE_TITLE as te, CARDS as d, TIME_RANGE_LABELS as R, MONTHS as _, ButtonIcon as u, IconChart as re, IconSelected as L, IconUnSelected as v, IconPrevious as se, IconNext as le } from "./LogoEntry.
|
|
4
|
-
import { Card as Y } from "./index.
|
|
5
|
-
import { useLocalStorage as N, Panel as ae, DropdownMenu as ne, DropdownMenuGroupLabel as oe, DropdownMenuItem as k, DropdownMenuSub as ie, ButtonCancel as ce, pluralize as f } from "./App.
|
|
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.CqmFtr8m.js";
|
|
3
|
+
import { useUniqueId as ee, TIME_RANGES as e, USAGE_TITLE as te, CARDS as d, TIME_RANGE_LABELS as R, MONTHS as _, ButtonIcon as u, IconChart as re, IconSelected as L, IconUnSelected as v, IconPrevious as se, IconNext as le } from "./LogoEntry.CwNXwlBx.js";
|
|
4
|
+
import { Card as Y } from "./index.Db2hh2RQ.js";
|
|
5
|
+
import { useLocalStorage as N, Panel as ae, DropdownMenu as ne, DropdownMenuGroupLabel as oe, DropdownMenuItem as k, DropdownMenuSub as ie, ButtonCancel as ce, pluralize as f } from "./App.xmJgJehw.js";
|
|
6
6
|
import { useRef as de, useState as z, Suspense as ue, lazy as Te } from "react";
|
|
7
7
|
const n = [0, 3, 6, 9], a = {
|
|
8
8
|
TOKEN: "token",
|
|
@@ -16,7 +16,7 @@ const n = [0, 3, 6, 9], a = {
|
|
|
16
16
|
], me = Te(
|
|
17
17
|
() => import(
|
|
18
18
|
/* webpackChunkName: "chart-highcharts" */
|
|
19
|
-
"./Chart.
|
|
19
|
+
"./Chart.C0iTXNld.js"
|
|
20
20
|
)
|
|
21
21
|
), _e = ({
|
|
22
22
|
open: P,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isObjectLike as b, baseGetTag as gn, isArray as A, Symbol as v, arrayLikeKeys as an, baseKeys as dn, isArrayLike as W, memoize as hn, isArguments as z, MapCache as pn, eq as An, Uint8Array as m, getTag as N, isBuffer as U, Stack as R, isTypedArray as _n, isObject as on, isLength as wn, isIndex as On, identity as V, baseFor as Pn, Set as S } from "./rehype-mermaid.
|
|
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.CkjpiQg3.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.CkjpiQg3.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.CXlYMeXK.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.CkjpiQg3.js";
|
|
2
|
+
import { populateCommonDb as lr } from "./chunk-4BX2VUAB.Cr4aulve.js";
|
|
3
|
+
import { parse as fr } from "./mermaid-parser.core.CXlYMeXK.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.xmJgJehw.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.iTWjW72u.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.CkjpiQg3.js";
|
|
3
|
+
import { clone as Le } from "./clone.CvyZhqBo.js";
|
|
4
|
+
import { channel as Se } from "./channel.Cbuusniv.js";
|
|
5
|
+
import { Graph as ke } from "./graph.Caz35JH7.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.DZ7gk7QY.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.DzMaXodZ.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.CkjpiQg3.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]] = _) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __name as i } from "./rehype-mermaid.
|
|
1
|
+
import { __name as i } from "./rehype-mermaid.CkjpiQg3.js";
|
|
2
2
|
function t(c, e) {
|
|
3
3
|
c.accDescr && e.setAccDescription?.(c.accDescr), c.accTitle && e.setAccTitle?.(c.accTitle), c.title && e.setDiagramTitle?.(c.title);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __name as a, select as o } from "./rehype-mermaid.
|
|
1
|
+
import { __name as a, select as o } from "./rehype-mermaid.CkjpiQg3.js";
|
|
2
2
|
var d = /* @__PURE__ */ a((t, e) => {
|
|
3
3
|
let n;
|
|
4
4
|
return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getIconStyles as et } from "./chunk-FMBD7UC4.
|
|
2
|
-
import { getDiagramElement as tt } from "./chunk-55IACEB6.
|
|
3
|
-
import { setupViewPortForSVG as st } from "./chunk-QN33PNHL.
|
|
4
|
-
import { __name as A, log as Oe, getConfig2 as D, getRegisteredLayoutAlgorithm as it, render as at, utils_default as we, select as ee, setAccTitle as nt, getAccTitle as rt, setAccDescription as ut, getAccDescription as lt, setDiagramTitle as ot, getDiagramTitle as ct, common_default as v, clear as ht, getEdgeId as dt, sanitizeText as pt, parseGenericTypes as R } from "./rehype-mermaid.
|
|
1
|
+
import { getIconStyles as et } from "./chunk-FMBD7UC4.iTWjW72u.js";
|
|
2
|
+
import { getDiagramElement as tt } from "./chunk-55IACEB6.BSNVvGBN.js";
|
|
3
|
+
import { setupViewPortForSVG as st } from "./chunk-QN33PNHL.D4-2NXjF.js";
|
|
4
|
+
import { __name as A, log as Oe, getConfig2 as D, getRegisteredLayoutAlgorithm as it, render as at, utils_default as we, select as ee, setAccTitle as nt, getAccTitle as rt, setAccDescription as ut, getAccDescription as lt, setDiagramTitle as ot, getDiagramTitle as ct, common_default as v, clear as ht, getEdgeId as dt, sanitizeText as pt, parseGenericTypes as R } from "./rehype-mermaid.CkjpiQg3.js";
|
|
5
5
|
var Ve = (function() {
|
|
6
6
|
var s = /* @__PURE__ */ A(function(I, o, c, d) {
|
|
7
7
|
for (c = c || {}, d = I.length; d--; c[I[d]] = o) ;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getDiagramElement as te } from "./chunk-55IACEB6.
|
|
2
|
-
import { setupViewPortForSVG as ee } from "./chunk-QN33PNHL.
|
|
3
|
-
import { __name as u, log as b, getConfig2 as w, render as se, utils_default as ie, getAccTitle as re, setAccTitle as ae, getAccDescription as ne, setAccDescription as oe, setDiagramTitle as le, getDiagramTitle as ce, generateId as he, common_default as U, clear as ue } from "./rehype-mermaid.
|
|
1
|
+
import { getDiagramElement as te } from "./chunk-55IACEB6.BSNVvGBN.js";
|
|
2
|
+
import { setupViewPortForSVG as ee } from "./chunk-QN33PNHL.D4-2NXjF.js";
|
|
3
|
+
import { __name as u, log as b, getConfig2 as w, render as se, utils_default as ie, getAccTitle as re, setAccTitle as ae, getAccDescription as ne, setAccDescription as oe, setDiagramTitle as le, getDiagramTitle as ce, generateId as he, common_default as U, clear as ue } from "./rehype-mermaid.CkjpiQg3.js";
|
|
4
4
|
var vt = (function() {
|
|
5
5
|
var t = /* @__PURE__ */ u(function(Y, o, c, n) {
|
|
6
6
|
for (c = c || {}, n = Y.length; n--; c[Y[n]] = o) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __name as h, configureSvgSize as x, log as u } from "./rehype-mermaid.
|
|
1
|
+
import { __name as h, configureSvgSize as x, log as u } from "./rehype-mermaid.CkjpiQg3.js";
|
|
2
2
|
var g = /* @__PURE__ */ h((e, t, i, r) => {
|
|
3
3
|
e.attr("class", i);
|
|
4
4
|
const { width: o, height: n, x: c, y: w } = s(e, t);
|