@versini/sassysaint 8.130.4 → 8.131.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.C8uvcncO.js +33 -0
- package/dist/chunks/{AboutEntry.Co65kh5i.js → AboutEntry.fkKsnRw7.js} +25 -25
- package/dist/chunks/{App.BzuWf4lx.js → App.CbGVTonU.js} +21 -21
- package/dist/chunks/{BubbleActions.DlDHJrYB.js → BubbleActions.gsXkDh0M.js} +3 -3
- package/dist/chunks/{ButtonIconDelete.BL5s0VGd.js → ButtonIconDelete.D9IhckYM.js} +6 -6
- package/dist/chunks/{Chart.C6eVdFj9.js → Chart.D7q7cdYJ.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C8_uMynh.js → ChatBubbleAssistant.DVct7v8Z.js} +6 -6
- package/dist/chunks/{ChatBubbleUser.CTMbbRxr.js → ChatBubbleUser.D4bC6RSr.js} +33 -33
- package/dist/chunks/{GenericPanel.CVT6hD1b.js → GenericPanel.CPzDXuAa.js} +1 -1
- package/dist/chunks/{HistoryEntry.9Ytq4UZ2.js → HistoryEntry.dvhdJbv7.js} +6 -6
- package/dist/chunks/{LoginEntry.vIGz-Iz8.js → LoginEntry.gU6r88Ot.js} +4 -4
- package/dist/chunks/{LogoEntry.DnVKIHym.js → LogoEntry.DhPoevIR.js} +36 -36
- package/dist/chunks/{MemoriesEntry.BMnrCzPP.js → MemoriesEntry.DRiP4VAB.js} +6 -6
- package/dist/chunks/{ProfileEntry.Bh-oJdu6.js → ProfileEntry.DQvWIx6k.js} +30 -30
- package/dist/chunks/{SettingsEntry.vtZtGtrS.js → SettingsEntry.b9l-Tz8O.js} +59 -59
- package/dist/chunks/{UsageEntry.AVpqOs3U.js → UsageEntry.B1EmQNpd.js} +52 -52
- package/dist/chunks/{_baseUniq.CbLbRIRo.js → _baseUniq.DJiJ_3zP.js} +1 -1
- package/dist/chunks/{arc.BrhpJFIK.js → arc.DMDA3a7p.js} +1 -1
- package/dist/chunks/{architecture-U656AL7Q.BuOlCzC3.js → architecture-U656AL7Q.B-QJzTGi.js} +1 -1
- package/dist/chunks/{architectureDiagram-VXUJARFQ.C37zRBHK.js → architectureDiagram-VXUJARFQ.CA4dn-z_.js} +4 -4
- package/dist/chunks/{blockDiagram-VD42YOAC.C1S-alv-.js → blockDiagram-VD42YOAC.BhF_ITv_.js} +5 -5
- package/dist/chunks/{browser.CX02wxQL.js → browser.C9kX-Ad1.js} +1 -1
- package/dist/chunks/{c4Diagram-YG6GDRKO.Bc6K1yZH.js → c4Diagram-YG6GDRKO.oSBYpWwX.js} +2 -2
- package/dist/chunks/{channel.B_TlFdpO.js → channel.CeJMkKAE.js} +1 -1
- package/dist/chunks/{chunk-4BX2VUAB.DvJCcmrM.js → chunk-4BX2VUAB.BQAY0wlL.js} +1 -1
- package/dist/chunks/{chunk-55IACEB6.vaS7gBVW.js → chunk-55IACEB6.DrJjL_-Q.js} +1 -1
- package/dist/chunks/{chunk-B4BG7PRW.5_hjDpnX.js → chunk-B4BG7PRW.Cjxg_Qt4.js} +4 -4
- package/dist/chunks/{chunk-DI55MBZ5.DM8y1fp8.js → chunk-DI55MBZ5.D17BVe-A.js} +3 -3
- package/dist/chunks/{chunk-FMBD7UC4.BUHH3M-9.js → chunk-FMBD7UC4.rVpxeTek.js} +1 -1
- package/dist/chunks/{chunk-QN33PNHL.DKzPjOtx.js → chunk-QN33PNHL.JNdM3ePb.js} +1 -1
- package/dist/chunks/{chunk-QZHKN3VN.B0w9rZUE.js → chunk-QZHKN3VN.DJIrHsOF.js} +1 -1
- package/dist/chunks/{chunk-TZMSLE5B.Bd6S4tB1.js → chunk-TZMSLE5B.BFzKDsmS.js} +1 -1
- package/dist/chunks/{classDiagram-2ON5EDUG.BGDO5KEI.js → classDiagram-2ON5EDUG.Dqom3_PW.js} +2 -2
- package/dist/chunks/{classDiagram-v2-WZHVMYZB.BGDO5KEI.js → classDiagram-v2-WZHVMYZB.Dqom3_PW.js} +2 -2
- package/dist/chunks/{clone.COBAxcoo.js → clone.NfnpEOmU.js} +1 -1
- package/dist/chunks/{cose-bilkent-S5V4N54A.BPw8_6Kh.js → cose-bilkent-S5V4N54A.BThJWxBt.js} +2 -2
- package/dist/chunks/{dagre-6UL2VRFP.20DIOl1G.js → dagre-6UL2VRFP.BZLyryRe.js} +5 -5
- package/dist/chunks/{diagram-PSM6KHXK.CLHht6y3.js → diagram-PSM6KHXK.CLK8t3In.js} +4 -4
- package/dist/chunks/{diagram-QEK2KX5R.BiWEXV42.js → diagram-QEK2KX5R.CPdidz1J.js} +3 -3
- package/dist/chunks/{diagram-S2PKOQOG.BUBADu9k.js → diagram-S2PKOQOG.B-J1d3zU.js} +3 -3
- package/dist/chunks/{erDiagram-Q2GNP2WA.Bz3y9kaJ.js → erDiagram-Q2GNP2WA.DrFGDol9.js} +4 -4
- package/dist/chunks/{flowDiagram-NV44I4VS.BpMpgF2j.js → flowDiagram-NV44I4VS.DvdAObX2.js} +5 -5
- package/dist/chunks/{ganttDiagram-JELNMOA3.BzBShN2d.js → ganttDiagram-JELNMOA3.Vut_LMEp.js} +2 -2
- package/dist/chunks/{gitGraph-F6HP7TQM.0ARVYLV7.js → gitGraph-F6HP7TQM.6BQNTn_2.js} +1 -1
- package/dist/chunks/{gitGraphDiagram-NY62KEGX.B1uA8lOS.js → gitGraphDiagram-NY62KEGX.DRiFAHdm.js} +4 -4
- package/dist/chunks/{graph.Dsc_8Dn1.js → graph.zVycQPfo.js} +2 -2
- package/dist/chunks/{index.BmTV5oqH.js → index.B6YyB4XW.js} +2 -2
- package/dist/chunks/{index.C9CSghRZ.js → index.B92GCn-d.js} +1 -1
- package/dist/chunks/{index.D0zrLB0k.js → index.BMt3M4Nv.js} +3 -3
- package/dist/chunks/{index.D6WxjRjL.js → index.BlIHRLS6.js} +1 -1
- package/dist/chunks/{index.D__Zo1FV.js → index.Bp9VVsVX.js} +3 -3
- package/dist/chunks/{index.SMq29E41.js → index.ChmmVlFx.js} +1 -1
- package/dist/chunks/{index.Dush1xMh.js → index.DUFWLD-w.js} +1 -1
- package/dist/chunks/{index.q-oduPqd.js → index.DnIZ0wJ0.js} +1 -1
- package/dist/chunks/{index.BMIB_Zod.js → index.DtbNV8LP.js} +2 -2
- package/dist/chunks/{index.B6PzCbBe.js → index.uY2EH_C1.js} +1 -1
- package/dist/chunks/{info-NVLQJR56.gU9Xdwqe.js → info-NVLQJR56.C0owDTpW.js} +1 -1
- package/dist/chunks/{infoDiagram-WHAUD3N6.DRHw8qEO.js → infoDiagram-WHAUD3N6.Dqidx1Et.js} +2 -2
- package/dist/chunks/{journeyDiagram-XKPGCS4Q.BOM53mgw.js → journeyDiagram-XKPGCS4Q.C1355yds.js} +4 -4
- package/dist/chunks/{kanban-definition-3W4ZIXB7.BaK2AImd.js → kanban-definition-3W4ZIXB7.CsunaSDa.js} +2 -2
- package/dist/chunks/{layout.Tguav9T0.js → layout.Bf74_Ahk.js} +4 -4
- package/dist/chunks/{mermaid-parser.core.DbpoZpPR.js → mermaid-parser.core.u9WQklBV.js} +10 -10
- package/dist/chunks/{min.BAaO9A9F.js → min.CdbgUHN0.js} +2 -2
- package/dist/chunks/{mindmap-definition-VGOIOE7T.Xp_kyfqQ.js → mindmap-definition-VGOIOE7T.BVTFryaY.js} +3 -3
- package/dist/chunks/{packet-BFZMPI3H.BSyTYH-f.js → packet-BFZMPI3H.BBiH4yHP.js} +1 -1
- package/dist/chunks/{pie-7BOR55EZ.CK2-0CYR.js → pie-7BOR55EZ.DxwuY2B8.js} +1 -1
- package/dist/chunks/{pieDiagram-ADFJNKIX.B2n2zmuk.js → pieDiagram-ADFJNKIX.Cmt96iXQ.js} +4 -4
- package/dist/chunks/{quadrantDiagram-AYHSOK5B.Dbd9-4On.js → quadrantDiagram-AYHSOK5B.CiUph7f0.js} +1 -1
- package/dist/chunks/{radar-NHE76QYJ.eMkyGnWa.js → radar-NHE76QYJ.CYplnCts.js} +1 -1
- package/dist/chunks/{rehype-mermaid.rIU32Dik.js → rehype-mermaid.Wl-O5hIy.js} +33 -33
- package/dist/chunks/{requirementDiagram-UZGBJVZJ.CQ9I4jvK.js → requirementDiagram-UZGBJVZJ.eB3IRTwf.js} +3 -3
- package/dist/chunks/{sankeyDiagram-TZEHDZUN.e7U_KVMT.js → sankeyDiagram-TZEHDZUN.BqLa2doe.js} +1 -1
- package/dist/chunks/{sequenceDiagram-WL72ISMW.CufwCjpC.js → sequenceDiagram-WL72ISMW.CH2e3I1x.js} +3 -3
- package/dist/chunks/{stateDiagram-FKZM4ZOC.CNKMf8XJ.js → stateDiagram-FKZM4ZOC.aSJUllFH.js} +4 -4
- package/dist/chunks/{stateDiagram-v2-4FDKWEC3.NJuWgjLq.js → stateDiagram-v2-4FDKWEC3.CL5K8bj0.js} +2 -2
- package/dist/chunks/{timeline-definition-IT6M3QCI.Jxi4u-bh.js → timeline-definition-IT6M3QCI.CtsRnMNG.js} +2 -2
- package/dist/chunks/{treemap-KMMF4GRG.AV6F-r1X.js → treemap-KMMF4GRG.CDiRec4x.js} +1 -1
- package/dist/chunks/{useMarkdown.DDZBGaMN.js → useMarkdown.HJdsuTE1.js} +8 -8
- package/dist/chunks/{xychartDiagram-PRI3JC2R.XOsfF5-U.js → xychartDiagram-PRI3JC2R.vYb258V5.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 +4 -4
- package/dist/chunks/AboutChangelog.mN52eYa6.js +0 -33
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
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, V as Ve, applyOledMode as re, getCurrentGeoLocation as Fe, 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
|
|
4
|
-
import { Card as N } from "./index.
|
|
5
|
-
import { Toggle as D, useCapability as v, useLocalStorage as
|
|
6
|
-
import { TextArea as Se } from "./index.
|
|
1
|
+
import { jsx as o, 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, V as Ve, applyOledMode as re, getCurrentGeoLocation as Fe, graphQLRequest as ce, SERVICE_TYPES as ie, Z as He } from "./index.B6YyB4XW.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 me } from "./LogoEntry.DhPoevIR.js";
|
|
4
|
+
import { Card as N } from "./index.B92GCn-d.js";
|
|
5
|
+
import { Toggle as D, useCapability as v, useLocalStorage as he, ButtonCancel as We } from "./App.CbGVTonU.js";
|
|
6
|
+
import { TextArea as Se } from "./index.ChmmVlFx.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.CPzDXuAa.js";
|
|
9
9
|
const r = ({
|
|
10
10
|
label: L,
|
|
11
11
|
subLabel: C,
|
|
12
12
|
onChange: T,
|
|
13
13
|
checked: S,
|
|
14
14
|
name: p
|
|
15
|
-
}) => /* @__PURE__ */
|
|
15
|
+
}) => /* @__PURE__ */ o(
|
|
16
16
|
D,
|
|
17
17
|
{
|
|
18
18
|
noBorder: !0,
|
|
@@ -25,12 +25,12 @@ const r = ({
|
|
|
25
25
|
onChange: T,
|
|
26
26
|
checked: S
|
|
27
27
|
}
|
|
28
|
-
),
|
|
28
|
+
), lt = ({
|
|
29
29
|
open: L,
|
|
30
30
|
onOpenChange: C
|
|
31
31
|
}) => {
|
|
32
32
|
const T = Ye(null), { getAccessToken: S, user: p } = ke(), { allowedModels: w, status: G } = Pe(), { dispatch: f } = qe($e), {
|
|
33
|
-
data:
|
|
33
|
+
data: t,
|
|
34
34
|
isSuccess: ge,
|
|
35
35
|
refetch: U
|
|
36
36
|
} = Be({
|
|
@@ -40,13 +40,13 @@ const r = ({
|
|
|
40
40
|
loadingLocation: !1
|
|
41
41
|
}), [O, V] = a({
|
|
42
42
|
prompts: []
|
|
43
|
-
}), [F, H] = a(""), [$, A] = a(""), [j, z] = a(!1), [W, Y] = a(!1), [q, K] = a(!1), [M, Q] = a(!1), [Z, J] = a(!1), X = v(B.TOOL.MEMORIES), ee = v(B.ADDON.REASONING),
|
|
43
|
+
}), [F, H] = a(""), [$, A] = a(""), [j, z] = a(!1), [W, Y] = a(!1), [q, K] = a(!1), [M, Q] = a(!1), [Z, J] = a(!1), X = v(B.TOOL.MEMORIES), ee = v(B.ADDON.REASONING), te = v(B.ADDON.SHARE_CHAT), [i, Ee] = he({
|
|
44
44
|
key: ve,
|
|
45
45
|
initialValue: !1
|
|
46
|
-
}), [u, Ne] =
|
|
46
|
+
}), [u, Ne] = he({
|
|
47
47
|
key: Ge,
|
|
48
48
|
initialValue: !1
|
|
49
|
-
}), [
|
|
49
|
+
}), [m, I] = a(!1), [g, y] = a(!1), [oe, ae] = a(!1), [ne, se] = a(!1), Ce = Ke(() => Ue(w, G) ? xe(w) : !1, [w, G]), Te = (e) => {
|
|
50
50
|
J(e);
|
|
51
51
|
}, pe = (e) => {
|
|
52
52
|
z(e);
|
|
@@ -63,7 +63,7 @@ const r = ({
|
|
|
63
63
|
}, Le = (e) => {
|
|
64
64
|
ae(e);
|
|
65
65
|
}, we = (e) => {
|
|
66
|
-
|
|
66
|
+
te && se(e);
|
|
67
67
|
}, Oe = async (e) => {
|
|
68
68
|
e.preventDefault();
|
|
69
69
|
try {
|
|
@@ -74,13 +74,13 @@ const r = ({
|
|
|
74
74
|
user: p?.username,
|
|
75
75
|
instructions: F,
|
|
76
76
|
location: $,
|
|
77
|
-
provider:
|
|
77
|
+
provider: t?.provider,
|
|
78
78
|
/**
|
|
79
79
|
* When nested model selection is disabled, explicitly clear any stored
|
|
80
80
|
* model preference so the user relies solely on provider defaults. Empty
|
|
81
81
|
* string signals to backend to use provider's default model.
|
|
82
82
|
*/
|
|
83
|
-
model: M &&
|
|
83
|
+
model: M && t?.model || "",
|
|
84
84
|
tags: O.prompts,
|
|
85
85
|
sendOnEnter: j,
|
|
86
86
|
useMemory: W,
|
|
@@ -88,14 +88,14 @@ const r = ({
|
|
|
88
88
|
showReasoningButton: q,
|
|
89
89
|
useNestedModelSelection: M,
|
|
90
90
|
themeMode: He,
|
|
91
|
-
useBranchNewChat:
|
|
91
|
+
useBranchNewChat: oe,
|
|
92
92
|
allowChatSharing: ne
|
|
93
93
|
}
|
|
94
|
-
}),
|
|
94
|
+
}), m !== i && (Ee(m), re(m), f({
|
|
95
95
|
type: ue,
|
|
96
|
-
payload: { oledMode:
|
|
96
|
+
payload: { oledMode: m }
|
|
97
97
|
})), g !== u && (Ne(g), f({
|
|
98
|
-
type:
|
|
98
|
+
type: me,
|
|
99
99
|
payload: { fullScreen: g }
|
|
100
100
|
})), U(), b({
|
|
101
101
|
loadingLocation: !1
|
|
@@ -114,8 +114,8 @@ const r = ({
|
|
|
114
114
|
latitude: n.latitude,
|
|
115
115
|
longitude: n.longitude
|
|
116
116
|
}
|
|
117
|
-
}),
|
|
118
|
-
|
|
117
|
+
}), h = Date.now() - e;
|
|
118
|
+
h < 2e3 && await new Promise((ye) => setTimeout(ye, 2e3 - h));
|
|
119
119
|
const { city: d, state: l, country: E, displayName: P } = _.data, Ie = d && l && E ? `${d}, ${l}, ${E}` : P;
|
|
120
120
|
b({
|
|
121
121
|
loadingLocation: !1
|
|
@@ -126,11 +126,11 @@ const r = ({
|
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
}, le = () => {
|
|
129
|
-
|
|
129
|
+
m !== i && (I(i), re(i), f({
|
|
130
130
|
type: ue,
|
|
131
131
|
payload: { oledMode: i }
|
|
132
132
|
})), g !== u && (y(u), f({
|
|
133
|
-
type:
|
|
133
|
+
type: me,
|
|
134
134
|
payload: { fullScreen: u }
|
|
135
135
|
})), U(), C(!1);
|
|
136
136
|
}, R = ({
|
|
@@ -139,8 +139,8 @@ const r = ({
|
|
|
139
139
|
clipboardAccess: _ = !1,
|
|
140
140
|
...k
|
|
141
141
|
}) => {
|
|
142
|
-
V((
|
|
143
|
-
const d =
|
|
142
|
+
V((h) => {
|
|
143
|
+
const d = h.prompts, l = {
|
|
144
144
|
...k,
|
|
145
145
|
enabled: e,
|
|
146
146
|
privateChat: n,
|
|
@@ -149,17 +149,17 @@ const r = ({
|
|
|
149
149
|
_ ? l.content = l.content.replace(/{{clipboard}}/g, "") + " {{clipboard}}" : l.content = l.content.replace(/{{clipboard}}/g, "");
|
|
150
150
|
const E = d.findIndex((P) => P.slot === k.slot);
|
|
151
151
|
return E === -1 ? {
|
|
152
|
-
...
|
|
152
|
+
...h,
|
|
153
153
|
prompts: [...d, { ...l }]
|
|
154
154
|
} : (d[E] = l, {
|
|
155
|
-
...
|
|
155
|
+
...h,
|
|
156
156
|
prompts: [...d]
|
|
157
157
|
});
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
return Qe(() => {
|
|
161
|
-
|
|
162
|
-
}, [
|
|
161
|
+
t && (t.instructions && H(t.instructions), t.location && A(t.location), t.tags && V({ prompts: t.tags }), t.sendOnEnter !== void 0 && z(t.sendOnEnter), t.useMemory !== void 0 && Y(t.useMemory), t.showDetails !== void 0 && J(t.showDetails), t.showReasoningButton !== void 0 && K(t.showReasoningButton), t.useNestedModelSelection !== void 0 && Q(t.useNestedModelSelection), t.useBranchNewChat !== void 0 && ae(t.useBranchNewChat), t.allowChatSharing !== void 0 && se(t.allowChatSharing), I(i), y(u));
|
|
162
|
+
}, [t, i, u]), ge ? /* @__PURE__ */ c(
|
|
163
163
|
Ze,
|
|
164
164
|
{
|
|
165
165
|
open: L,
|
|
@@ -167,7 +167,7 @@ const r = ({
|
|
|
167
167
|
title: je,
|
|
168
168
|
initialFocus: T,
|
|
169
169
|
footer: /* @__PURE__ */ c(Re, { children: [
|
|
170
|
-
/* @__PURE__ */
|
|
170
|
+
/* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
|
|
171
171
|
We,
|
|
172
172
|
{
|
|
173
173
|
onOpenChange: le,
|
|
@@ -175,7 +175,7 @@ const r = ({
|
|
|
175
175
|
ref: T
|
|
176
176
|
}
|
|
177
177
|
) }),
|
|
178
|
-
/* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ o("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ o(
|
|
179
179
|
de,
|
|
180
180
|
{
|
|
181
181
|
mode: "light",
|
|
@@ -192,15 +192,15 @@ const r = ({
|
|
|
192
192
|
N,
|
|
193
193
|
{
|
|
194
194
|
header: "Custom Instructions",
|
|
195
|
-
className: "
|
|
195
|
+
className: "plume-dark dark:plume-lighter mt-4",
|
|
196
196
|
noBorder: !0,
|
|
197
197
|
children: [
|
|
198
198
|
/* @__PURE__ */ c("p", { className: "text-sm", children: [
|
|
199
199
|
"What would you like ",
|
|
200
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ o("em", { children: Ve }),
|
|
201
201
|
" to know about you to provide better responses?"
|
|
202
202
|
] }),
|
|
203
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ o(
|
|
204
204
|
Se,
|
|
205
205
|
{
|
|
206
206
|
mode: "alt-system",
|
|
@@ -223,11 +223,11 @@ const r = ({
|
|
|
223
223
|
N,
|
|
224
224
|
{
|
|
225
225
|
header: "Location",
|
|
226
|
-
className: "
|
|
226
|
+
className: "plume-dark dark:plume-lighter mt-4",
|
|
227
227
|
noBorder: !0,
|
|
228
228
|
children: [
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
229
|
+
/* @__PURE__ */ o("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
|
|
230
|
+
/* @__PURE__ */ o(
|
|
231
231
|
Se,
|
|
232
232
|
{
|
|
233
233
|
mode: "alt-system",
|
|
@@ -240,7 +240,7 @@ const r = ({
|
|
|
240
240
|
helperText: "Enter your location or press auto-detect."
|
|
241
241
|
}
|
|
242
242
|
),
|
|
243
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ o(
|
|
244
244
|
de,
|
|
245
245
|
{
|
|
246
246
|
className: "mt-2",
|
|
@@ -259,20 +259,20 @@ const r = ({
|
|
|
259
259
|
N,
|
|
260
260
|
{
|
|
261
261
|
header: s.SETTINGS_PROMPTS.TITLE,
|
|
262
|
-
className: "
|
|
262
|
+
className: "plume-dark dark:plume-lighter mt-4",
|
|
263
263
|
noBorder: !0,
|
|
264
264
|
children: [
|
|
265
|
-
/* @__PURE__ */
|
|
265
|
+
/* @__PURE__ */ o("p", { className: "text-sm", children: ze }),
|
|
266
266
|
O.prompts && O.prompts.slice(0, 3).map((e) => /* @__PURE__ */ c(
|
|
267
267
|
N,
|
|
268
268
|
{
|
|
269
269
|
mode: "dark",
|
|
270
270
|
noBorder: !0,
|
|
271
271
|
header: e.label.replace("...", ""),
|
|
272
|
-
className: "
|
|
272
|
+
className: "plume-light mb-2",
|
|
273
273
|
children: [
|
|
274
|
-
/* @__PURE__ */
|
|
275
|
-
/* @__PURE__ */
|
|
274
|
+
/* @__PURE__ */ o("p", { className: "text-sm", children: e.description }),
|
|
275
|
+
/* @__PURE__ */ o(
|
|
276
276
|
D,
|
|
277
277
|
{
|
|
278
278
|
noBorder: !0,
|
|
@@ -291,7 +291,7 @@ const r = ({
|
|
|
291
291
|
checked: e.enabled
|
|
292
292
|
}
|
|
293
293
|
),
|
|
294
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ o(
|
|
295
295
|
D,
|
|
296
296
|
{
|
|
297
297
|
noBorder: !0,
|
|
@@ -310,7 +310,7 @@ const r = ({
|
|
|
310
310
|
checked: e.privateChat
|
|
311
311
|
}
|
|
312
312
|
),
|
|
313
|
-
/* @__PURE__ */
|
|
313
|
+
/* @__PURE__ */ o(
|
|
314
314
|
D,
|
|
315
315
|
{
|
|
316
316
|
noBorder: !0,
|
|
@@ -340,10 +340,10 @@ const r = ({
|
|
|
340
340
|
N,
|
|
341
341
|
{
|
|
342
342
|
header: s.SETTINGS_ADVANCED.TITLE,
|
|
343
|
-
className: "
|
|
343
|
+
className: "plume-dark dark:plume-lighter mt-4 ",
|
|
344
344
|
noBorder: !0,
|
|
345
345
|
children: [
|
|
346
|
-
/* @__PURE__ */
|
|
346
|
+
/* @__PURE__ */ o(
|
|
347
347
|
r,
|
|
348
348
|
{
|
|
349
349
|
label: "Message Statistics",
|
|
@@ -353,7 +353,7 @@ const r = ({
|
|
|
353
353
|
checked: Z
|
|
354
354
|
}
|
|
355
355
|
),
|
|
356
|
-
/* @__PURE__ */
|
|
356
|
+
/* @__PURE__ */ o(
|
|
357
357
|
r,
|
|
358
358
|
{
|
|
359
359
|
label: "Send Message on Enter",
|
|
@@ -363,7 +363,7 @@ const r = ({
|
|
|
363
363
|
checked: j
|
|
364
364
|
}
|
|
365
365
|
),
|
|
366
|
-
X && /* @__PURE__ */
|
|
366
|
+
X && /* @__PURE__ */ o(
|
|
367
367
|
r,
|
|
368
368
|
{
|
|
369
369
|
label: "Use Memory",
|
|
@@ -373,7 +373,7 @@ const r = ({
|
|
|
373
373
|
checked: W
|
|
374
374
|
}
|
|
375
375
|
),
|
|
376
|
-
ee && /* @__PURE__ */
|
|
376
|
+
ee && /* @__PURE__ */ o(
|
|
377
377
|
r,
|
|
378
378
|
{
|
|
379
379
|
label: "Reasoning Button",
|
|
@@ -383,7 +383,7 @@ const r = ({
|
|
|
383
383
|
checked: q
|
|
384
384
|
}
|
|
385
385
|
),
|
|
386
|
-
Ce && /* @__PURE__ */
|
|
386
|
+
Ce && /* @__PURE__ */ o(
|
|
387
387
|
r,
|
|
388
388
|
{
|
|
389
389
|
label: "Model Selection",
|
|
@@ -393,17 +393,17 @@ const r = ({
|
|
|
393
393
|
checked: M
|
|
394
394
|
}
|
|
395
395
|
),
|
|
396
|
-
/* @__PURE__ */
|
|
396
|
+
/* @__PURE__ */ o(
|
|
397
397
|
r,
|
|
398
398
|
{
|
|
399
399
|
label: "OLED Mode",
|
|
400
400
|
subLabel: s.SETTINGS_ADVANCED.BACKGROUND_THEME_DESCRIPTION,
|
|
401
401
|
name: "enable-oled-mode",
|
|
402
402
|
onChange: _e,
|
|
403
|
-
checked:
|
|
403
|
+
checked: m
|
|
404
404
|
}
|
|
405
405
|
),
|
|
406
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ o(
|
|
407
407
|
r,
|
|
408
408
|
{
|
|
409
409
|
label: "Full Screen",
|
|
@@ -413,17 +413,17 @@ const r = ({
|
|
|
413
413
|
checked: g
|
|
414
414
|
}
|
|
415
415
|
),
|
|
416
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ o(
|
|
417
417
|
r,
|
|
418
418
|
{
|
|
419
419
|
label: "Branch New Chat",
|
|
420
420
|
subLabel: s.SETTINGS_ADVANCED.BRANCH_IN_NEW_CHAT,
|
|
421
421
|
name: "enable-branch-new-chat",
|
|
422
422
|
onChange: Le,
|
|
423
|
-
checked:
|
|
423
|
+
checked: oe
|
|
424
424
|
}
|
|
425
425
|
),
|
|
426
|
-
|
|
426
|
+
te && /* @__PURE__ */ o(
|
|
427
427
|
r,
|
|
428
428
|
{
|
|
429
429
|
label: "Allow Chat Sharing",
|
|
@@ -441,5 +441,5 @@ const r = ({
|
|
|
441
441
|
) : null;
|
|
442
442
|
};
|
|
443
443
|
export {
|
|
444
|
-
|
|
444
|
+
lt as SettingsPanel
|
|
445
445
|
};
|
|
@@ -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
|
|
5
|
-
import { useUniqueId as
|
|
6
|
-
import { useRef as ce, useState as z, Suspense as de, lazy as
|
|
7
|
-
import { GenericPanel as
|
|
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.B6YyB4XW.js";
|
|
3
|
+
import { Card as p } from "./index.B92GCn-d.js";
|
|
4
|
+
import { useLocalStorage as _, DropdownMenu as ee, DropdownMenuGroupLabel as te, DropdownMenuItem as L, DropdownMenuSub as re, ButtonCancel as le, pluralize as M } from "./App.CbGVTonU.js";
|
|
5
|
+
import { useUniqueId as se, TIME_RANGES as e, USAGE_TITLE as ne, CARDS as d, TIME_RANGE_LABELS as Y, MONTHS as N, ButtonIcon as u, IconChart as ae, IconSelected as v, IconUnSelected as k, IconPrevious as oe, IconNext as ie } from "./LogoEntry.DhPoevIR.js";
|
|
6
|
+
import { useRef as ce, useState as z, Suspense as de, lazy as ue } from "react";
|
|
7
|
+
import { GenericPanel as Te } from "./GenericPanel.CPzDXuAa.js";
|
|
8
8
|
const a = [0, 3, 6, 9], n = {
|
|
9
9
|
TOKEN: "token",
|
|
10
10
|
MODEL: "model"
|
|
@@ -14,96 +14,96 @@ const a = [0, 3, 6, 9], n = {
|
|
|
14
14
|
e.MONTH_TO_DATE,
|
|
15
15
|
e.CURRENT_YEAR,
|
|
16
16
|
e.LAST_YEAR
|
|
17
|
-
],
|
|
17
|
+
], me = ue(
|
|
18
18
|
() => import(
|
|
19
19
|
/* webpackChunkName: "chart-highcharts" */
|
|
20
|
-
"./Chart.
|
|
20
|
+
"./Chart.D7q7cdYJ.js"
|
|
21
21
|
)
|
|
22
22
|
), Me = ({
|
|
23
23
|
open: P,
|
|
24
24
|
onOpenChange: f
|
|
25
25
|
}) => {
|
|
26
|
-
const D = ce(null), { getAccessToken: g, user: x } = W(), U =
|
|
26
|
+
const D = ce(null), { getAccessToken: g, user: x } = W(), U = se(), { data: o, isSuccess: H } = q({
|
|
27
27
|
user: x?.username,
|
|
28
28
|
getAccessToken: g
|
|
29
29
|
}), R = Math.floor((/* @__PURE__ */ new Date()).getMonth() / 3) * 3, [I, A] = z(R), [i, b] = _({
|
|
30
30
|
key: C + X,
|
|
31
31
|
initialValue: n.MODEL
|
|
32
|
-
}), [r,
|
|
32
|
+
}), [r, T] = _({
|
|
33
33
|
key: C + Z,
|
|
34
34
|
initialValue: e.CURRENT_YEAR
|
|
35
|
-
}), [
|
|
35
|
+
}), [s, E] = _({
|
|
36
36
|
key: C + J,
|
|
37
37
|
initialValue: null
|
|
38
38
|
}), [G, w] = z(
|
|
39
39
|
(/* @__PURE__ */ new Date()).getFullYear()
|
|
40
|
-
), { data:
|
|
40
|
+
), { data: m, isSuccess: F } = Q({
|
|
41
41
|
user: x?.username,
|
|
42
42
|
getAccessToken: g,
|
|
43
43
|
timeRange: r,
|
|
44
|
-
month: r === e.SPECIFIC_MONTH &&
|
|
44
|
+
month: r === e.SPECIFIC_MONTH && s !== null ? String(s) : void 0,
|
|
45
45
|
year: r === e.SPECIFIC_MONTH ? String(G) : void 0,
|
|
46
46
|
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
|
|
47
|
-
}), B = (
|
|
48
|
-
if (
|
|
47
|
+
}), B = (l) => {
|
|
48
|
+
if (l.preventDefault(), r === e.MONTH_TO_DATE)
|
|
49
49
|
return;
|
|
50
50
|
if (r === e.TODAY || r === e.YESTERDAY) {
|
|
51
|
-
|
|
51
|
+
T(
|
|
52
52
|
r === e.TODAY ? e.YESTERDAY : e.TODAY
|
|
53
53
|
);
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
|
-
if (r === e.SPECIFIC_MONTH &&
|
|
57
|
-
const O = (
|
|
56
|
+
if (r === e.SPECIFIC_MONTH && s !== null) {
|
|
57
|
+
const O = (s + 1) % 12;
|
|
58
58
|
E(O);
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
61
|
const h = (a.indexOf(I) + 1) % a.length;
|
|
62
62
|
A(a[h]);
|
|
63
|
-
}, y = (
|
|
64
|
-
if (
|
|
63
|
+
}, y = (l) => {
|
|
64
|
+
if (l.preventDefault(), r === e.MONTH_TO_DATE)
|
|
65
65
|
return;
|
|
66
66
|
if (r === e.TODAY || r === e.YESTERDAY) {
|
|
67
|
-
|
|
67
|
+
T(
|
|
68
68
|
r === e.TODAY ? e.YESTERDAY : e.TODAY
|
|
69
69
|
);
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
if (r === e.SPECIFIC_MONTH &&
|
|
73
|
-
const O = (
|
|
72
|
+
if (r === e.SPECIFIC_MONTH && s !== null) {
|
|
73
|
+
const O = (s - 1 + 12) % 12;
|
|
74
74
|
E(O);
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
const h = (a.indexOf(I) - 1 + a.length) % a.length;
|
|
78
78
|
A(a[h]);
|
|
79
|
-
}, V = (
|
|
80
|
-
|
|
81
|
-
}, j = (
|
|
82
|
-
E(
|
|
83
|
-
}, K = () => r === e.SPECIFIC_MONTH &&
|
|
79
|
+
}, V = (l) => {
|
|
80
|
+
T(l), l !== e.SPECIFIC_MONTH && E(null), (l === e.CURRENT_YEAR || l === e.LAST_YEAR) && A(R);
|
|
81
|
+
}, j = (l) => {
|
|
82
|
+
E(l), w((/* @__PURE__ */ new Date()).getFullYear()), T(e.SPECIFIC_MONTH);
|
|
83
|
+
}, K = () => r === e.SPECIFIC_MONTH && s !== null ? N[s] : Y[r];
|
|
84
84
|
return /* @__PURE__ */ c(
|
|
85
|
-
|
|
85
|
+
Te,
|
|
86
86
|
{
|
|
87
87
|
open: P,
|
|
88
88
|
onOpenChange: f,
|
|
89
89
|
title: ne,
|
|
90
90
|
initialFocus: D,
|
|
91
|
-
footer: /* @__PURE__ */ t(
|
|
91
|
+
footer: /* @__PURE__ */ t(le, { onOpenChange: f, ref: D }),
|
|
92
92
|
children: [
|
|
93
93
|
/* @__PURE__ */ t(
|
|
94
94
|
p,
|
|
95
95
|
{
|
|
96
96
|
header: d.MAIN_STATISTICS.USAGE,
|
|
97
|
-
className: "
|
|
97
|
+
className: "plume-dark dark:plume-lighter mb-4 min-h-144",
|
|
98
98
|
noBorder: !0,
|
|
99
|
-
children: F &&
|
|
99
|
+
children: F && m ? /* @__PURE__ */ c(de, { fallback: /* @__PURE__ */ t("div", {}), children: [
|
|
100
100
|
/* @__PURE__ */ t("div", { className: "flex flex-wrap justify-center mb-2", children: /* @__PURE__ */ t("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ c(
|
|
101
101
|
ee,
|
|
102
102
|
{
|
|
103
103
|
mode: "dark",
|
|
104
104
|
focusMode: "light",
|
|
105
105
|
trigger: /* @__PURE__ */ t(
|
|
106
|
-
|
|
106
|
+
u,
|
|
107
107
|
{
|
|
108
108
|
noBorder: !0,
|
|
109
109
|
variant: "selected",
|
|
@@ -115,30 +115,30 @@ const a = [0, 3, 6, 9], n = {
|
|
|
115
115
|
defaultPlacement: "bottom-start",
|
|
116
116
|
children: [
|
|
117
117
|
/* @__PURE__ */ t(te, { children: "Date Range" }),
|
|
118
|
-
Ee.map((
|
|
118
|
+
Ee.map((l) => /* @__PURE__ */ t(
|
|
119
119
|
L,
|
|
120
120
|
{
|
|
121
|
-
label: Y[
|
|
122
|
-
selected: r ===
|
|
123
|
-
onClick: () => V(
|
|
121
|
+
label: Y[l],
|
|
122
|
+
selected: r === l,
|
|
123
|
+
onClick: () => V(l)
|
|
124
124
|
},
|
|
125
|
-
|
|
125
|
+
l
|
|
126
126
|
)),
|
|
127
|
-
/* @__PURE__ */ t(re, { label: "Month", children: N.map((
|
|
127
|
+
/* @__PURE__ */ t(re, { label: "Month", children: N.map((l, S) => /* @__PURE__ */ t(
|
|
128
128
|
L,
|
|
129
129
|
{
|
|
130
|
-
label:
|
|
131
|
-
selected: r === e.SPECIFIC_MONTH &&
|
|
132
|
-
onClick: () => j(
|
|
130
|
+
label: l,
|
|
131
|
+
selected: r === e.SPECIFIC_MONTH && s === S,
|
|
132
|
+
onClick: () => j(S)
|
|
133
133
|
},
|
|
134
|
-
|
|
134
|
+
l
|
|
135
135
|
)) })
|
|
136
136
|
]
|
|
137
137
|
}
|
|
138
138
|
) }) }),
|
|
139
139
|
/* @__PURE__ */ c("div", { className: "flex flex-wrap justify-center gap-x-2 mb-2", children: [
|
|
140
140
|
/* @__PURE__ */ t("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ t(
|
|
141
|
-
|
|
141
|
+
u,
|
|
142
142
|
{
|
|
143
143
|
onClick: () => b(n.MODEL),
|
|
144
144
|
labelRight: "Model Usage",
|
|
@@ -149,7 +149,7 @@ const a = [0, 3, 6, 9], n = {
|
|
|
149
149
|
}
|
|
150
150
|
) }),
|
|
151
151
|
/* @__PURE__ */ t("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ t(
|
|
152
|
-
|
|
152
|
+
u,
|
|
153
153
|
{
|
|
154
154
|
onClick: () => b(n.TOKEN),
|
|
155
155
|
labelRight: "Token Usage",
|
|
@@ -161,19 +161,19 @@ const a = [0, 3, 6, 9], n = {
|
|
|
161
161
|
) })
|
|
162
162
|
] }),
|
|
163
163
|
/* @__PURE__ */ t(
|
|
164
|
-
|
|
164
|
+
me,
|
|
165
165
|
{
|
|
166
|
-
tokenUsage: i === n.TOKEN ?
|
|
166
|
+
tokenUsage: i === n.TOKEN ? m.tokenUsage?.series || [] : m.modelUsage?.series || [],
|
|
167
167
|
page: I,
|
|
168
168
|
viewMode: i,
|
|
169
169
|
timeRange: r,
|
|
170
|
-
categories:
|
|
171
|
-
chartTitle: r === e.SPECIFIC_MONTH &&
|
|
170
|
+
categories: m.categories,
|
|
171
|
+
chartTitle: r === e.SPECIFIC_MONTH && s !== null ? N[s] : void 0
|
|
172
172
|
}
|
|
173
173
|
),
|
|
174
174
|
r !== e.MONTH_TO_DATE && /* @__PURE__ */ c("div", { className: "flex flex-wrap justify-center gap-x-2 mt-2", children: [
|
|
175
175
|
/* @__PURE__ */ t("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ t(
|
|
176
|
-
|
|
176
|
+
u,
|
|
177
177
|
{
|
|
178
178
|
noBorder: !0,
|
|
179
179
|
size: "small",
|
|
@@ -183,7 +183,7 @@ const a = [0, 3, 6, 9], n = {
|
|
|
183
183
|
}
|
|
184
184
|
) }),
|
|
185
185
|
/* @__PURE__ */ t("div", { className: "box-border max-w-full basis-auto", children: /* @__PURE__ */ t(
|
|
186
|
-
|
|
186
|
+
u,
|
|
187
187
|
{
|
|
188
188
|
noBorder: !0,
|
|
189
189
|
size: "small",
|
|
@@ -200,7 +200,7 @@ const a = [0, 3, 6, 9], n = {
|
|
|
200
200
|
p,
|
|
201
201
|
{
|
|
202
202
|
header: d.MAIN_STATISTICS.TITLE,
|
|
203
|
-
className: "
|
|
203
|
+
className: "plume-dark dark:plume-lighter min-h-42",
|
|
204
204
|
noBorder: !0,
|
|
205
205
|
children: H ? $(
|
|
206
206
|
U,
|
|
@@ -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.Wl-O5hIy.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.Wl-O5hIy.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.u9WQklBV.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.Wl-O5hIy.js";
|
|
2
|
+
import { populateCommonDb as lr } from "./chunk-4BX2VUAB.BQAY0wlL.js";
|
|
3
|
+
import { parse as fr } from "./mermaid-parser.core.u9WQklBV.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.CbGVTonU.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.rVpxeTek.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.Wl-O5hIy.js";
|
|
3
|
+
import { clone as Le } from "./clone.NfnpEOmU.js";
|
|
4
|
+
import { channel as Se } from "./channel.CeJMkKAE.js";
|
|
5
|
+
import { Graph as ke } from "./graph.zVycQPfo.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.HJdsuTE1.js";
|
|
2
2
|
const y = /[#.]/g;
|
|
3
3
|
function L(e, t) {
|
|
4
4
|
const r = e || "", n = {};
|