@versini/sassysaint 8.101.1 → 8.101.2
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.BQFulMZF.js +33 -0
- package/dist/chunks/AboutEntry.BzMV697D.js +85 -0
- package/dist/chunks/{App.RV-mmua0.js → App.4mnNHSFM.js} +3787 -3393
- package/dist/chunks/{Chart.D_A0uZlT.js → Chart.C8ffOgMR.js} +3 -2
- package/dist/chunks/{ChatBubbleAssistant.DFHmwXZw.js → ChatBubbleAssistant.DDXVnlp2.js} +12 -11
- package/dist/chunks/{ChatBubbleUser.G4d3d6Mb.js → ChatBubbleUser.BElP1c3A.js} +6 -6
- package/dist/chunks/{ChatHistoryTable.DZub8IvT.js → ChatHistoryTable.BMHD5YOq.js} +14 -13
- package/dist/chunks/{HistoryEntry.80oOvElL.js → HistoryEntry.DBE0Nfnr.js} +66 -63
- package/dist/chunks/LoginEntry.f8inuN8f.js +118 -0
- package/dist/chunks/LogoEntry.CAqrKoB5.js +1714 -0
- package/dist/chunks/{MemoriesEntry.BiYxLEvt.js → MemoriesEntry.rKhs34L0.js} +13 -12
- package/dist/chunks/{ProfileEntry.CPW8ArvZ.js → ProfileEntry.CmeNfgc9.js} +34 -32
- package/dist/chunks/{SettingsEntry.Cg8S7183.js → SettingsEntry._yVtIzee.js} +45 -43
- package/dist/chunks/{Table.4xIKM_Pq.js → Table.BuvtTLwg.js} +4 -4
- package/dist/chunks/{UsageEntry.ffEEL78E.js → UsageEntry.juxTe3FI.js} +35 -33
- package/dist/chunks/index.BAdB50GZ.js +103 -0
- package/dist/chunks/index.C5nLuEwV.js +99 -0
- package/dist/chunks/{index.CAjI1A8f.js → index.CN_ODDdH.js} +1 -1
- package/dist/chunks/{index.B_ICfOQl.js → index.ClPJ3mDK.js} +2 -2
- package/dist/chunks/{index.Hrh30p0t.js → index.CnfrIQjs.js} +1 -1
- package/dist/chunks/index.DZhdlR8W.js +5549 -0
- package/dist/chunks/{index.CE9kDkU7.js → index.Dqllb59Q.js} +1 -1
- package/dist/chunks/{index.DACnc3cK.js → index.M2YXECa8.js} +4 -4
- package/dist/chunks/index.WWSVXIYV.js +305 -0
- package/dist/chunks/index.cfJfy7Fb.js +292 -0
- package/dist/chunks/{index.pOiqDmOT.js → index.tjiRewKU.js} +3 -3
- package/dist/chunks/{useMarkdown.Wp7doGVP.js → useMarkdown.DzlB8BkB.js} +19 -18
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/AboutChangelog.C5rvGqn_.js +0 -34
- package/dist/chunks/AboutEntry.DO5Ui-w0.js +0 -83
- package/dist/chunks/index.CaIG7RGp.js +0 -8092
- package/dist/chunks/index.Cu1_r5cX.js +0 -266
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as X,
|
|
3
|
-
import {
|
|
2
|
+
import { n as X, useUserChatStats as Z, LOCAL_STORAGE_PREFIX as M, LOCAL_STORAGE_USAGE_VIEW_MODE as J, LOCAL_STORAGE_USAGE_TIME_RANGE as Q, LOCAL_STORAGE_USAGE_SELECTED_MONTH as $, useChatsUsage as ee, renderDataAsList as te, pluralize as N } from "./index.DZhdlR8W.js";
|
|
3
|
+
import { useUniqueId as ne, TIME_RANGES as e, USAGE_TITLE as re, CARDS as T, L as h, j as c, TIME_RANGE_LABELS as k, MONTHS as g, ButtonIcon as u, IconChart as le, IconSelected as H, IconUnSelected as b, IconPrevious as se, IconNext as ae } from "./LogoEntry.CAqrKoB5.js";
|
|
4
|
+
import { Card as P } from "./index.C5nLuEwV.js";
|
|
5
|
+
import { useLocalStorage as D, Panel as oe, DropdownMenu as ie, DropdownMenuGroupLabel as ce, DropdownMenuItem as G, DropdownMenuSub as de, CancelButton as Te } from "./App.4mnNHSFM.js";
|
|
4
6
|
import { useRef as ue, useState as U, Suspense as Ee, lazy as Se } from "react";
|
|
5
7
|
const a = [0, 3, 6, 9], s = {
|
|
6
8
|
TOKEN: "token",
|
|
@@ -14,27 +16,27 @@ const a = [0, 3, 6, 9], s = {
|
|
|
14
16
|
], Ae = Se(
|
|
15
17
|
() => import(
|
|
16
18
|
/* webpackChunkName: "chart-highcharts" */
|
|
17
|
-
"./Chart.
|
|
19
|
+
"./Chart.C8ffOgMR.js"
|
|
18
20
|
)
|
|
19
|
-
),
|
|
21
|
+
), Ne = ({
|
|
20
22
|
open: v,
|
|
21
23
|
onOpenChange: R
|
|
22
24
|
}) => {
|
|
23
|
-
const f = ue(null), { getAccessToken: p, user: L } = X(), x =
|
|
25
|
+
const f = ue(null), { getAccessToken: p, user: L } = X(), x = ne(), { data: o, isSuccess: F } = Z({
|
|
24
26
|
user: L?.username,
|
|
25
27
|
getAccessToken: p
|
|
26
|
-
}), z = Math.floor((/* @__PURE__ */ new Date()).getMonth() / 3) * 3, [
|
|
27
|
-
key:
|
|
28
|
+
}), z = Math.floor((/* @__PURE__ */ new Date()).getMonth() / 3) * 3, [m, O] = U(z), [i, Y] = D({
|
|
29
|
+
key: M + J,
|
|
28
30
|
initialValue: s.MODEL
|
|
29
|
-
}), [n, E] =
|
|
30
|
-
key:
|
|
31
|
+
}), [n, E] = D({
|
|
32
|
+
key: M + Q,
|
|
31
33
|
initialValue: e.CURRENT_YEAR
|
|
32
|
-
}), [l, S] =
|
|
33
|
-
key:
|
|
34
|
+
}), [l, S] = D({
|
|
35
|
+
key: M + $,
|
|
34
36
|
initialValue: null
|
|
35
37
|
}), [B, V] = U(
|
|
36
38
|
(/* @__PURE__ */ new Date()).getFullYear()
|
|
37
|
-
), { data: I, isSuccess: w } =
|
|
39
|
+
), { data: I, isSuccess: w } = ee({
|
|
38
40
|
user: L?.username,
|
|
39
41
|
getAccessToken: p,
|
|
40
42
|
timeRange: n,
|
|
@@ -55,8 +57,8 @@ const a = [0, 3, 6, 9], s = {
|
|
|
55
57
|
S(_);
|
|
56
58
|
return;
|
|
57
59
|
}
|
|
58
|
-
const C = (a.indexOf(
|
|
59
|
-
|
|
60
|
+
const C = (a.indexOf(m) + 1) % a.length;
|
|
61
|
+
O(a[C]);
|
|
60
62
|
}, K = (r) => {
|
|
61
63
|
if (r.preventDefault(), n === e.MONTH_TO_DATE)
|
|
62
64
|
return;
|
|
@@ -71,19 +73,19 @@ const a = [0, 3, 6, 9], s = {
|
|
|
71
73
|
S(_);
|
|
72
74
|
return;
|
|
73
75
|
}
|
|
74
|
-
const C = (a.indexOf(
|
|
75
|
-
|
|
76
|
+
const C = (a.indexOf(m) - 1 + a.length) % a.length;
|
|
77
|
+
O(a[C]);
|
|
76
78
|
}, j = (r) => {
|
|
77
|
-
E(r), r !== e.SPECIFIC_MONTH && S(null), (r === e.CURRENT_YEAR || r === e.LAST_YEAR) &&
|
|
79
|
+
E(r), r !== e.SPECIFIC_MONTH && S(null), (r === e.CURRENT_YEAR || r === e.LAST_YEAR) && O(z);
|
|
78
80
|
}, W = (r) => {
|
|
79
81
|
S(r), V((/* @__PURE__ */ new Date()).getFullYear()), E(e.SPECIFIC_MONTH);
|
|
80
|
-
}, q = () => n === e.SPECIFIC_MONTH && l !== null ? g[l] :
|
|
82
|
+
}, q = () => n === e.SPECIFIC_MONTH && l !== null ? g[l] : k[n];
|
|
81
83
|
return /* @__PURE__ */ d(
|
|
82
84
|
oe,
|
|
83
85
|
{
|
|
84
86
|
open: v,
|
|
85
87
|
onOpenChange: R,
|
|
86
|
-
title:
|
|
88
|
+
title: re,
|
|
87
89
|
animation: !0,
|
|
88
90
|
animationType: "fade",
|
|
89
91
|
blurEffect: "large",
|
|
@@ -99,7 +101,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
99
101
|
),
|
|
100
102
|
children: [
|
|
101
103
|
/* @__PURE__ */ t(
|
|
102
|
-
|
|
104
|
+
P,
|
|
103
105
|
{
|
|
104
106
|
header: T.MAIN_STATISTICS.USAGE,
|
|
105
107
|
className: "prose-dark dark:prose-lighter mb-4 min-h-144",
|
|
@@ -117,7 +119,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
117
119
|
variant: "selected",
|
|
118
120
|
size: "small",
|
|
119
121
|
labelRight: q(),
|
|
120
|
-
children: /* @__PURE__ */ t(
|
|
122
|
+
children: /* @__PURE__ */ t(le, { className: "mr-1", size: "size-4" })
|
|
121
123
|
}
|
|
122
124
|
),
|
|
123
125
|
defaultPlacement: "bottom-start",
|
|
@@ -126,7 +128,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
126
128
|
Ie.map((r) => /* @__PURE__ */ t(
|
|
127
129
|
G,
|
|
128
130
|
{
|
|
129
|
-
label:
|
|
131
|
+
label: k[r],
|
|
130
132
|
selected: n === r,
|
|
131
133
|
onClick: () => j(r)
|
|
132
134
|
},
|
|
@@ -153,7 +155,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
153
155
|
noBorder: !0,
|
|
154
156
|
size: "small",
|
|
155
157
|
mode: i === s.MODEL ? "dark" : "light",
|
|
156
|
-
children: i === s.MODEL ? /* @__PURE__ */ t(
|
|
158
|
+
children: i === s.MODEL ? /* @__PURE__ */ t(H, { size: "size-4" }) : /* @__PURE__ */ t(b, { size: "size-4" })
|
|
157
159
|
}
|
|
158
160
|
) }),
|
|
159
161
|
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
@@ -164,7 +166,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
164
166
|
noBorder: !0,
|
|
165
167
|
size: "small",
|
|
166
168
|
mode: i === s.TOKEN ? "dark" : "light",
|
|
167
|
-
children: i === s.TOKEN ? /* @__PURE__ */ t(
|
|
169
|
+
children: i === s.TOKEN ? /* @__PURE__ */ t(H, { size: "size-4" }) : /* @__PURE__ */ t(b, { size: "size-4" })
|
|
168
170
|
}
|
|
169
171
|
) })
|
|
170
172
|
] }),
|
|
@@ -172,7 +174,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
172
174
|
Ae,
|
|
173
175
|
{
|
|
174
176
|
tokenUsage: i === s.TOKEN ? I.tokenUsage?.series || [] : I.modelUsage?.series || [],
|
|
175
|
-
page:
|
|
177
|
+
page: m,
|
|
176
178
|
viewMode: i,
|
|
177
179
|
timeRange: n,
|
|
178
180
|
categories: I.categories,
|
|
@@ -187,7 +189,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
187
189
|
size: "small",
|
|
188
190
|
label: "Previous",
|
|
189
191
|
onClick: K,
|
|
190
|
-
children: /* @__PURE__ */ t(
|
|
192
|
+
children: /* @__PURE__ */ t(se, { size: "size-4" })
|
|
191
193
|
}
|
|
192
194
|
) }),
|
|
193
195
|
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
@@ -197,7 +199,7 @@ const a = [0, 3, 6, 9], s = {
|
|
|
197
199
|
size: "small",
|
|
198
200
|
label: "Next",
|
|
199
201
|
onClick: y,
|
|
200
|
-
children: /* @__PURE__ */ t(
|
|
202
|
+
children: /* @__PURE__ */ t(ae, { size: "size-4" })
|
|
201
203
|
}
|
|
202
204
|
) })
|
|
203
205
|
] })
|
|
@@ -205,20 +207,20 @@ const a = [0, 3, 6, 9], s = {
|
|
|
205
207
|
}
|
|
206
208
|
),
|
|
207
209
|
/* @__PURE__ */ t(
|
|
208
|
-
|
|
210
|
+
P,
|
|
209
211
|
{
|
|
210
212
|
header: T.MAIN_STATISTICS.TITLE,
|
|
211
213
|
className: "prose-dark dark:prose-lighter min-h-42",
|
|
212
214
|
noBorder: !0,
|
|
213
|
-
children: F ?
|
|
215
|
+
children: F ? te(
|
|
214
216
|
x,
|
|
215
217
|
{
|
|
216
|
-
[
|
|
217
|
-
[
|
|
218
|
+
[N(T.MAIN_STATISTICS.TOTAL, o.totalChats)]: o.totalChats,
|
|
219
|
+
[N(
|
|
218
220
|
T.MAIN_STATISTICS.TOTAL_PRIVATE,
|
|
219
221
|
o.privateChats
|
|
220
222
|
)]: o.privateChats,
|
|
221
|
-
[
|
|
223
|
+
[N(
|
|
222
224
|
T.MAIN_STATISTICS.TOTAL_DELETED,
|
|
223
225
|
o.deletedChats
|
|
224
226
|
)]: o.deletedChats
|
|
@@ -232,5 +234,5 @@ const a = [0, 3, 6, 9], s = {
|
|
|
232
234
|
);
|
|
233
235
|
};
|
|
234
236
|
export {
|
|
235
|
-
|
|
237
|
+
Ne as Usage
|
|
236
238
|
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import O from "clsx";
|
|
3
|
+
import { useRef as l, useReducer as R, useEffect as g } from "react";
|
|
4
|
+
/*!
|
|
5
|
+
@versini/ui-liveregion v3.1.3
|
|
6
|
+
© 2025 gizmette.com
|
|
7
|
+
*/
|
|
8
|
+
try {
|
|
9
|
+
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
|
10
|
+
version: "3.1.3",
|
|
11
|
+
buildTime: "12/15/2025 01:20 PM EST",
|
|
12
|
+
homepage: "https://www.npmjs.com/package/@versini/ui-liveregion",
|
|
13
|
+
license: "MIT"
|
|
14
|
+
});
|
|
15
|
+
} catch {
|
|
16
|
+
}
|
|
17
|
+
const c = "SET_ANNOUNCEMENT", E = "CLEAR_ANNOUNCEMENT", v = {
|
|
18
|
+
alert: null,
|
|
19
|
+
alertdialog: null,
|
|
20
|
+
log: "polite",
|
|
21
|
+
marquee: null,
|
|
22
|
+
progressbar: null,
|
|
23
|
+
status: "polite",
|
|
24
|
+
timer: "assertive"
|
|
25
|
+
}, w = (e, t) => {
|
|
26
|
+
switch (t?.type) {
|
|
27
|
+
case c:
|
|
28
|
+
return {
|
|
29
|
+
...e,
|
|
30
|
+
announcement: t.payload
|
|
31
|
+
};
|
|
32
|
+
case E:
|
|
33
|
+
return {
|
|
34
|
+
...e,
|
|
35
|
+
announcement: null
|
|
36
|
+
};
|
|
37
|
+
default:
|
|
38
|
+
return e;
|
|
39
|
+
}
|
|
40
|
+
}, L = ({ onAnnouncementClear: e, dispatch: t }) => {
|
|
41
|
+
t({
|
|
42
|
+
type: E
|
|
43
|
+
}), typeof e == "function" && e();
|
|
44
|
+
}, N = ({ children: e, clearAnnouncementDelay: t, clearAnnouncementTimeoutRef: o, onAnnouncementClear: s, dispatch: i }) => {
|
|
45
|
+
clearTimeout(o.current), e !== null && i({
|
|
46
|
+
type: c,
|
|
47
|
+
payload: e
|
|
48
|
+
}), t && (o.current = setTimeout(() => L({
|
|
49
|
+
onAnnouncementClear: s,
|
|
50
|
+
dispatch: i
|
|
51
|
+
}), t));
|
|
52
|
+
}, S = ({ children: e, announcementTimeoutRef: t, announcementDelay: o, clearAnnouncementDelay: s, clearAnnouncementTimeoutRef: i, onAnnouncementClear: r, dispatch: n }) => {
|
|
53
|
+
clearTimeout(t.current), o ? t.current = setTimeout(N, o, {
|
|
54
|
+
children: e,
|
|
55
|
+
clearAnnouncementDelay: s,
|
|
56
|
+
clearAnnouncementTimeoutRef: i,
|
|
57
|
+
onAnnouncementClear: r,
|
|
58
|
+
dispatch: n
|
|
59
|
+
}) : N({
|
|
60
|
+
children: e,
|
|
61
|
+
clearAnnouncementDelay: s,
|
|
62
|
+
clearAnnouncementTimeoutRef: i,
|
|
63
|
+
onAnnouncementClear: r,
|
|
64
|
+
dispatch: n
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
function M({ children: e, className: t, politeness: o, role: s = null, announcementDelay: i, clearAnnouncementDelay: r, onAnnouncementClear: n, visible: _, ...a }) {
|
|
68
|
+
const p = l(null), f = l(null), [T, m] = R(w, {
|
|
69
|
+
announcement: null
|
|
70
|
+
});
|
|
71
|
+
let u = o;
|
|
72
|
+
typeof u > "u" && (u = s ? v[s] : "assertive"), g(() => {
|
|
73
|
+
S({
|
|
74
|
+
announcementTimeoutRef: p,
|
|
75
|
+
announcementDelay: i,
|
|
76
|
+
children: e,
|
|
77
|
+
clearAnnouncementDelay: r,
|
|
78
|
+
clearAnnouncementTimeoutRef: f,
|
|
79
|
+
onAnnouncementClear: n,
|
|
80
|
+
dispatch: m
|
|
81
|
+
});
|
|
82
|
+
}, [
|
|
83
|
+
e,
|
|
84
|
+
i,
|
|
85
|
+
r,
|
|
86
|
+
n
|
|
87
|
+
]);
|
|
88
|
+
const I = O(t, {
|
|
89
|
+
"sr-only": !_
|
|
90
|
+
});
|
|
91
|
+
return /* @__PURE__ */ d("div", {
|
|
92
|
+
"aria-live": u,
|
|
93
|
+
...s && {
|
|
94
|
+
role: s
|
|
95
|
+
},
|
|
96
|
+
className: I,
|
|
97
|
+
...a,
|
|
98
|
+
children: T.announcement
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
M as LiveRegion
|
|
103
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { jsx as o, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
+
import { useUniqueId as x } from "./LogoEntry.CAqrKoB5.js";
|
|
3
|
+
import u from "clsx";
|
|
4
|
+
/*!
|
|
5
|
+
@versini/ui-card v6.0.0
|
|
6
|
+
© 2025 gizmette.com
|
|
7
|
+
*/
|
|
8
|
+
try {
|
|
9
|
+
window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
|
|
10
|
+
version: "6.0.0",
|
|
11
|
+
buildTime: "12/16/2025 06:22 PM EST",
|
|
12
|
+
homepage: "https://www.npmjs.com/package/@versini/ui-card",
|
|
13
|
+
license: "MIT"
|
|
14
|
+
});
|
|
15
|
+
} catch {
|
|
16
|
+
}
|
|
17
|
+
const f = "av-card", I = ({ className: e, headerClassName: d, bodyClassName: c, footerClassName: t, mode: r, compact: i, noBorder: n }) => {
|
|
18
|
+
const a = u(f, "rounded-md", {
|
|
19
|
+
"border-none": n,
|
|
20
|
+
border: !n,
|
|
21
|
+
"p-4": !i,
|
|
22
|
+
"p-1 sm:p-2": i,
|
|
23
|
+
"border-border-accent bg-surface-darker text-copy-light": r === "darker",
|
|
24
|
+
"border-border-accent bg-surface-dark text-copy-light": r === "dark",
|
|
25
|
+
"border-border-dark bg-surface-lighter text-copy-dark": r === "light",
|
|
26
|
+
"border-border-dark bg-surface-lighter text-copy-dark dark:border-border-accent dark:bg-surface-dark dark:text-copy-light": r === "system",
|
|
27
|
+
"border-border-accent bg-surface-dark text-copy-light dark:border-border-dark dark:bg-surface-lighter dark:text-copy-dark": r === "alt-system"
|
|
28
|
+
}, e), g = d || u(`${f}__header mt-0 border-b`, {
|
|
29
|
+
"text-copy-light border-border-accent": r === "darker",
|
|
30
|
+
"border-border-accent": r === "dark",
|
|
31
|
+
"border-border-medium": r === "light",
|
|
32
|
+
"border-border-medium dark:border-border-accent": r === "system",
|
|
33
|
+
"border-border-accent dark:border-border-medium": r === "alt-system",
|
|
34
|
+
"mb-4": !i,
|
|
35
|
+
"mb-2": i
|
|
36
|
+
}), k = u(c), p = t || u(`${f}__footer pt-2`);
|
|
37
|
+
return {
|
|
38
|
+
wrapper: a,
|
|
39
|
+
header: g,
|
|
40
|
+
body: k,
|
|
41
|
+
footer: p
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
function w({ id: e, content: d, userAriaLabelledby: c, className: t }) {
|
|
45
|
+
return typeof d == "string" ? /* @__PURE__ */ o("h2", {
|
|
46
|
+
id: e,
|
|
47
|
+
className: t,
|
|
48
|
+
children: d
|
|
49
|
+
}) : c ? /* @__PURE__ */ o("div", {
|
|
50
|
+
className: t,
|
|
51
|
+
children: d
|
|
52
|
+
}) : d ? /* @__PURE__ */ o("div", {
|
|
53
|
+
className: t,
|
|
54
|
+
id: e,
|
|
55
|
+
children: d
|
|
56
|
+
}) : null;
|
|
57
|
+
}
|
|
58
|
+
const N = ({ header: e, headerClassName: d, footer: c, footerClassName: t, children: r, className: i, bodyClassName: n, "aria-labelledby": a, mode: g = "system", compact: k = !1, noBorder: p = !1, ...y }) => {
|
|
59
|
+
let s = null, l = null;
|
|
60
|
+
const h = typeof e == "string", m = x(f), b = I({
|
|
61
|
+
className: i,
|
|
62
|
+
headerClassName: d,
|
|
63
|
+
bodyClassName: n,
|
|
64
|
+
footerClassName: t,
|
|
65
|
+
mode: g,
|
|
66
|
+
compact: k,
|
|
67
|
+
noBorder: p
|
|
68
|
+
});
|
|
69
|
+
return h ? (s = m, l = s) : !h && e && a ? (s = null, l = a) : !h && e && !a ? (s = m, l = s) : (s = null, l = a || null), /* @__PURE__ */ o("div", {
|
|
70
|
+
className: b.wrapper,
|
|
71
|
+
children: /* @__PURE__ */ _("section", {
|
|
72
|
+
...l && {
|
|
73
|
+
"aria-labelledby": l
|
|
74
|
+
},
|
|
75
|
+
className: b.body,
|
|
76
|
+
...y,
|
|
77
|
+
children: [
|
|
78
|
+
/* @__PURE__ */ o(w, {
|
|
79
|
+
...s && {
|
|
80
|
+
id: s
|
|
81
|
+
},
|
|
82
|
+
content: e,
|
|
83
|
+
className: b.header,
|
|
84
|
+
userAriaLabelledby: a
|
|
85
|
+
}),
|
|
86
|
+
/* @__PURE__ */ o("div", {
|
|
87
|
+
children: r
|
|
88
|
+
}),
|
|
89
|
+
c ? /* @__PURE__ */ o("div", {
|
|
90
|
+
className: b.footer,
|
|
91
|
+
children: c
|
|
92
|
+
}) : null
|
|
93
|
+
]
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
N as Card
|
|
99
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.
|
|
2
|
-
import { toText as Ca } from "./index.
|
|
1
|
+
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.DzlB8BkB.js";
|
|
2
|
+
import { toText as Ca } from "./index.Dqllb59Q.js";
|
|
3
3
|
const Gt = /[#.]/g;
|
|
4
4
|
function qa(r, e) {
|
|
5
5
|
const t = r || "", a = {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.
|
|
1
|
+
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.DzlB8BkB.js";
|
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
|
3
3
|
function ne(e, n) {
|
|
4
4
|
const t = String(e);
|