@versini/sassysaint 8.75.5 → 8.76.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.74dx3has.js → AboutChangelog.0kKcS_nT.js} +2 -2
- package/dist/chunks/{AboutEntry.B9IooHpy.js → AboutEntry.pKgicvGA.js} +5 -5
- package/dist/chunks/{App.BmFE7_v_.js → App.CtFpHv2O.js} +90 -89
- package/dist/chunks/{Chart.D1WQEJfe.js → Chart.DD1RkG8X.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.TGE3iwln.js → ChatBubbleAssistant.K55U7Bno.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.DjSazwPr.js → ChatBubbleUser.DsX56Kxx.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.DKVkQOL_.js → ChatHistoryTable.BvEUTjiq.js} +3 -3
- package/dist/chunks/{HistoryEntry.D-clB2ui.js → HistoryEntry.BSOPWYO2.js} +3 -3
- package/dist/chunks/{ProfileEntry.DiMarPYw.js → ProfileEntry.Bb-kLfDX.js} +2 -2
- package/dist/chunks/{SettingsEntry.7sE9nOGN.js → SettingsEntry.DrmBVh-w.js} +3 -3
- package/dist/chunks/{Table.--YCSSgh.js → Table.BbIvEnBz.js} +2 -2
- package/dist/chunks/{UsageEntry.CiY4OQtp.js → UsageEntry.O3YdUF30.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.UDXZvvrL.js → UserMemoriesPanel.Dl5GlyBr.js} +4 -4
- package/dist/chunks/{index.C0asS70q.js → index.B9mUNJfd.js} +1 -1
- package/dist/chunks/{index.BHHgvfWz.js → index.BNusLsEn.js} +1 -1
- package/dist/chunks/{index.p-Jh4Heo.js → index.BeIiCAAq.js} +2 -2
- package/dist/chunks/{index.-hzHawd8.js → index.Czv_1MTM.js} +1 -1
- package/dist/chunks/{index.Bl8BpeHP.js → index.DEKgWsou.js} +1 -1
- package/dist/chunks/{index.D4tD4ovC.js → index.DGkW9g6n.js} +3 -3
- package/dist/chunks/{index.CiIBuo5O.js → index.DUl-LwyU.js} +1 -1
- package/dist/chunks/{index.WAJtnhmS.js → index.icjUE8II.js} +24 -24
- package/dist/chunks/{useMarkdown.Cno1hTiv.js → useMarkdown.Bf7wGKkC.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { p as m, ButtonScroll as n } from "./App.
|
|
2
|
+
import { p as m, ButtonScroll as n } from "./App.CtFpHv2O.js";
|
|
3
3
|
import { useRef as f, useCallback as u, useLayoutEffect as p } from "react";
|
|
4
|
-
import { useMarkdown as d } from "./useMarkdown.
|
|
4
|
+
import { useMarkdown as d } from "./useMarkdown.Bf7wGKkC.js";
|
|
5
5
|
const b = ({ content: o }) => {
|
|
6
6
|
const [l, t] = d(), { ref: a, inViewport: c } = m(), e = f(null), i = u(() => {
|
|
7
7
|
e.current && e.current.scrollIntoView({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as b, Fragment as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { oe as A } from "./App.
|
|
3
|
-
import { i as d, useServerCapabilities as g, useChangelogs as S, S as t, renderDataAsList as c, CARDS as r, pluralize as B, isProbablyMobile as E, ABOUT_TITLE as I } from "./index
|
|
2
|
+
import { oe as A } from "./App.CtFpHv2O.js";
|
|
3
|
+
import { i as d, useServerCapabilities as g, useChangelogs as S, S as t, renderDataAsList as c, CARDS as r, pluralize as B, isProbablyMobile as E, ABOUT_TITLE as I } from "./index.Czv_1MTM.js";
|
|
4
4
|
import O from "clsx";
|
|
5
5
|
import { Suspense as C, lazy as U } from "react";
|
|
6
6
|
const L = U(
|
|
7
7
|
() => import(
|
|
8
8
|
/* webpackChunkName: "LazyAboutChangelog" */
|
|
9
|
-
"./AboutChangelog.
|
|
9
|
+
"./AboutChangelog.0kKcS_nT.js"
|
|
10
10
|
)
|
|
11
11
|
), N = () => {
|
|
12
12
|
const s = d(), i = d(), { data: o, isSuccess: m } = g(), { data: T, isSuccess: h } = S(), p = o?.version || "", a = o?.models || [], u = o?.buildTime || "";
|
|
@@ -18,8 +18,8 @@ const L = U(
|
|
|
18
18
|
className: "prose-dark dark:prose-lighter mb-4",
|
|
19
19
|
noBorder: !0,
|
|
20
20
|
children: c(s, {
|
|
21
|
-
[r.ABOUT.VERSION]: "8.
|
|
22
|
-
[r.ABOUT.BUILD_TIMESTAMP]: "11/03/2025
|
|
21
|
+
[r.ABOUT.VERSION]: "8.76.0",
|
|
22
|
+
[r.ABOUT.BUILD_TIMESTAMP]: "11/03/2025 11:05 AM EST"
|
|
23
23
|
})
|
|
24
24
|
}
|
|
25
25
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as E, Fragment as Oe } from "react/jsx-runtime";
|
|
2
|
-
import { I as H, ACTION_SORT as ps, ACTION_SEARCH as ms, ACTION_RESET_PROMPT as vo, ACTION_TOGGLE_PROMPT as yo, LOCAL_STORAGE_PREFIX as Le, LOCAL_STORAGE_CHAT_ID as _o, n as ge, isDev as fs, isPWAMode as bo, useChat as hs, W as gs, te as Ee, DEFAULT_ICON_ACTION_SIZE as ze, isTauri as Yt, useUserPreferences as He, isProbablyiPhone as Ue, serverUrl as wo, useEntitlements as Vr, L as kr, j as it, C$1 as sn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as vs, C as qt, LOCAL_STORAGE_REASONING_DISCLOSURE as ys, useSaveChat as _s, TOAST_CHAT_SAVED as bs, PROMPT_CLASSNAME as ws, PROMPT_EDITABLE_AREA_CLASSNAME as Is, useChatsHistory as Es, i as Ts, Y$1 as Io, ERROR_MESSAGE as xs, t as wt, CLIPBOARD_PROMPT as cn, INPUT_PLACEHOLDER_TEXT_MOBILE as ln, INPUT_PLACEHOLDER_TEXT_ENTER as un, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as dn, isProbablyMobile as Cr, m as Ss, FOOTER_DISCLAIMERS as pn, h$1 as Eo, isProbablyiPad as ks, INPUT_BOTTOM_OFFSET_EXTRA as mn, INPUT_BOTTOM_OFFSET_IPHONE as Cs, INPUT_BOTTOM_OFFSET_IPAD as Ns, INPUT_BOTTOM_OFFSET as To, getLayoutPaddingClass as Nr, canEvaluateModels as fn, w as zs, Z as As, E as Os, z as Ms, x$1 as $s, N as fr, setNewProvider as hn, TOAST_PROVIDER_CHANGED as gn, useQueryClient as Ps, LOG_OUT as vn, $ as xo, J as yn, useServerCapabilities as Rs, getMessageContaintWrapperClass as Zs, UI_FOOTER_BUFFER as So, UI_BUTTON_SCROLL_BUFFER as Ds, Logo as Ls, UI_DEFAULT_MAIN_HEIGHT as _n, applyOledMode as Us, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Bs, APP_CLASSNAME as js, f as bn, h as Vs, LOCAL_STORAGE_SORT as Fs, LOCAL_STORAGE_SEARCH as Hs, LOCAL_STORAGE_OLED_MODE as Gs, LOCAL_STORAGE_FULL_SCREEN as Js, LOCAL_STORAGE_SORT_TIMESTAMP as Ws, LOCAL_STORAGE_SORT_TOKEN_USAGE as Ys, TOAST_CACHE_ENABLED as qs, TOAST_CACHE_DISABLED as Xs } from "./index
|
|
2
|
+
import { I as H, ACTION_SORT as ps, ACTION_SEARCH as ms, ACTION_RESET_PROMPT as vo, ACTION_TOGGLE_PROMPT as yo, LOCAL_STORAGE_PREFIX as Le, LOCAL_STORAGE_CHAT_ID as _o, n as ge, isDev as fs, isPWAMode as bo, useChat as hs, W as gs, te as Ee, DEFAULT_ICON_ACTION_SIZE as ze, isTauri as Yt, useUserPreferences as He, isProbablyiPhone as Ue, serverUrl as wo, useEntitlements as Vr, L as kr, j as it, C$1 as sn, LOCAL_STORAGE_PRIVATE_DISCLOSURE as vs, C as qt, LOCAL_STORAGE_REASONING_DISCLOSURE as ys, useSaveChat as _s, TOAST_CHAT_SAVED as bs, PROMPT_CLASSNAME as ws, PROMPT_EDITABLE_AREA_CLASSNAME as Is, useChatsHistory as Es, i as Ts, Y$1 as Io, ERROR_MESSAGE as xs, t as wt, CLIPBOARD_PROMPT as cn, INPUT_PLACEHOLDER_TEXT_MOBILE as ln, INPUT_PLACEHOLDER_TEXT_ENTER as un, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as dn, isProbablyMobile as Cr, m as Ss, FOOTER_DISCLAIMERS as pn, h$1 as Eo, isProbablyiPad as ks, INPUT_BOTTOM_OFFSET_EXTRA as mn, INPUT_BOTTOM_OFFSET_IPHONE as Cs, INPUT_BOTTOM_OFFSET_IPAD as Ns, INPUT_BOTTOM_OFFSET as To, getLayoutPaddingClass as Nr, canEvaluateModels as fn, w as zs, Z as As, E as Os, z as Ms, x$1 as $s, N as fr, setNewProvider as hn, TOAST_PROVIDER_CHANGED as gn, useQueryClient as Ps, LOG_OUT as vn, $ as xo, J as yn, useServerCapabilities as Rs, getMessageContaintWrapperClass as Zs, UI_FOOTER_BUFFER as So, UI_BUTTON_SCROLL_BUFFER as Ds, Logo as Ls, UI_DEFAULT_MAIN_HEIGHT as _n, applyOledMode as Us, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Bs, APP_CLASSNAME as js, f as bn, h as Vs, LOCAL_STORAGE_SORT as Fs, LOCAL_STORAGE_SEARCH as Hs, LOCAL_STORAGE_OLED_MODE as Gs, LOCAL_STORAGE_FULL_SCREEN as Js, LOCAL_STORAGE_SORT_TIMESTAMP as Ws, LOCAL_STORAGE_SORT_TOKEN_USAGE as Ys, TOAST_CACHE_ENABLED as qs, TOAST_CACHE_DISABLED as Xs } from "./index.Czv_1MTM.js";
|
|
3
3
|
import * as oe from "react";
|
|
4
4
|
import ut, { useRef as j, useEffect as O, useCallback as Z, useState as P, useSyncExternalStore as jt, createContext as Qs, useContext as K, useId as ko, forwardRef as Co, useMemo as Ne, Suspense as Xt, lazy as $e, useReducer as Mt, useLayoutEffect as Ks } from "react";
|
|
5
5
|
import z from "clsx";
|
|
@@ -6511,7 +6511,7 @@ const Fa = async () => (Ir || (Ir = import(
|
|
|
6511
6511
|
"./index.790ujKXR.js"
|
|
6512
6512
|
)), Ir), Ha = async () => (Er || (Er = import(
|
|
6513
6513
|
/* webpackChunkName: "toast-utilities" */
|
|
6514
|
-
"./index
|
|
6514
|
+
"./index.Czv_1MTM.js"
|
|
6515
6515
|
).then((e) => e.utilities)), Er), Um = async () => {
|
|
6516
6516
|
try {
|
|
6517
6517
|
await Promise.all([Fa(), Ha()]);
|
|
@@ -6533,7 +6533,7 @@ const Fa = async () => (Ir || (Ir = import(
|
|
|
6533
6533
|
}, 100);
|
|
6534
6534
|
} catch {
|
|
6535
6535
|
}
|
|
6536
|
-
}, xt = (e, t) => Ga(e, "success", t),
|
|
6536
|
+
}, xt = (e, t) => Ga(e, "success", t), Lh = (e, t) => Ga(e, "error", t), bt = "FOOTER_BOTTOM", ar = "FOOTER_TOP", Ft = "APP_SET_FOOTER_POSITION", Ja = "APP_SET_FOOTER_HEIGHT", Wa = "APP_SET_OLED_MODE", Ya = "APP_SET_FULL_SCREEN", Bm = (e, t) => {
|
|
6537
6537
|
switch (t.type) {
|
|
6538
6538
|
case Ft:
|
|
6539
6539
|
return {
|
|
@@ -8596,7 +8596,7 @@ const Bf = (e) => {
|
|
|
8596
8596
|
)
|
|
8597
8597
|
}
|
|
8598
8598
|
);
|
|
8599
|
-
}, Gf = [".pdf", ".txt"],
|
|
8599
|
+
}, Gf = [".png", ".jpg", ".jpeg", ".webp"], Jf = [".pdf", ".txt"], Wf = [
|
|
8600
8600
|
".js",
|
|
8601
8601
|
".cjs",
|
|
8602
8602
|
".mjs",
|
|
@@ -8611,14 +8611,15 @@ const Bf = (e) => {
|
|
|
8611
8611
|
".json",
|
|
8612
8612
|
".md"
|
|
8613
8613
|
], qe = [
|
|
8614
|
-
...
|
|
8615
|
-
...
|
|
8616
|
-
|
|
8614
|
+
...Jf,
|
|
8615
|
+
...Wf,
|
|
8616
|
+
...Gf
|
|
8617
|
+
], jr = 400 * 1024, Yf = "text/plain", qf = () => z(
|
|
8617
8618
|
"relative rounded-md text-base h-auto min-w-28 overflow-hidden pt-2"
|
|
8618
|
-
),
|
|
8619
|
+
), Xf = ({ oledMode: e }) => z({
|
|
8619
8620
|
"bg-slate-900/95 dark:bg-slate-900": e,
|
|
8620
8621
|
"bg-slate-900": !e
|
|
8621
|
-
}),
|
|
8622
|
+
}), Qf = () => z("text-copy-lighter caret-copy-light"), Kf = ({ oledMode: e }) => z(
|
|
8622
8623
|
"has-[.av-prompt-editable:focus]:outline",
|
|
8623
8624
|
"has-[.av-prompt-editable:focus]:outline-2",
|
|
8624
8625
|
"has-[.av-prompt-editable:focus]:outline-offset-2",
|
|
@@ -8626,7 +8627,7 @@ const Bf = (e) => {
|
|
|
8626
8627
|
"has-[.av-prompt-editable:focus]:outline-focus-light": !e,
|
|
8627
8628
|
"dark:has-[.av-prompt-editable:focus]:outline-focus-light has-[.av-prompt-editable:focus]:outline-focus-dark": e
|
|
8628
8629
|
}
|
|
8629
|
-
),
|
|
8630
|
+
), eh = ({ oledMode: e }) => z(
|
|
8630
8631
|
"peer",
|
|
8631
8632
|
"text-base resize-none overflow-hidden w-full text-inherit outline-none",
|
|
8632
8633
|
"h-6 pr-2 pl-3",
|
|
@@ -8634,20 +8635,20 @@ const Bf = (e) => {
|
|
|
8634
8635
|
"placeholder:text-surface-light dark:placeholder:text-surface-medium": e,
|
|
8635
8636
|
"placeholder:text-surface-medium": !e
|
|
8636
8637
|
}
|
|
8637
|
-
),
|
|
8638
|
+
), th = ({
|
|
8638
8639
|
className: e,
|
|
8639
8640
|
oledMode: t
|
|
8640
8641
|
}) => {
|
|
8641
8642
|
const r = z(
|
|
8642
8643
|
ws,
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
|
|
8646
|
-
|
|
8644
|
+
qf(),
|
|
8645
|
+
Xf({ oledMode: t }),
|
|
8646
|
+
Qf(),
|
|
8647
|
+
Kf({ oledMode: t }),
|
|
8647
8648
|
e
|
|
8648
8649
|
), n = z(
|
|
8649
8650
|
Is,
|
|
8650
|
-
|
|
8651
|
+
eh({ oledMode: t })
|
|
8651
8652
|
);
|
|
8652
8653
|
return {
|
|
8653
8654
|
wrapper: r,
|
|
@@ -8658,15 +8659,15 @@ const Bf = (e) => {
|
|
|
8658
8659
|
return "0 Bytes";
|
|
8659
8660
|
const t = 1024, r = ["Bytes", "KB", "MB", "GB"], n = Math.floor(Math.log(e) / Math.log(t));
|
|
8660
8661
|
return parseFloat((e / Math.pow(t, n)).toFixed(2)) + " " + r[n];
|
|
8661
|
-
}, rs = (e) => e.reduce((t, r) => t + r.size, 0),
|
|
8662
|
+
}, rs = (e) => e.reduce((t, r) => t + r.size, 0), rh = (e) => e.type ? e : new File(
|
|
8662
8663
|
[e],
|
|
8663
8664
|
// Use the original file content
|
|
8664
8665
|
e.name,
|
|
8665
8666
|
{
|
|
8666
|
-
type:
|
|
8667
|
+
type: Yf,
|
|
8667
8668
|
lastModified: e.lastModified
|
|
8668
8669
|
}
|
|
8669
|
-
),
|
|
8670
|
+
), nh = ({
|
|
8670
8671
|
files: e,
|
|
8671
8672
|
clearFile: t
|
|
8672
8673
|
}) => e && e.length > 0 && /* @__PURE__ */ E("div", { className: "px-4 py-2", children: [
|
|
@@ -8705,9 +8706,9 @@ const Bf = (e) => {
|
|
|
8705
8706
|
" ",
|
|
8706
8707
|
Wt(jr)
|
|
8707
8708
|
] })
|
|
8708
|
-
] }), ns = 24,
|
|
8709
|
-
e.current && (e.current.style.height = `${
|
|
8710
|
-
},
|
|
8709
|
+
] }), ns = 24, oh = 500, os = 2, ah = 5, sh = ns * os, fo = ah * ns, ih = "ready", ch = "streaming", lh = "error", uh = "submitted", Ut = (e) => {
|
|
8710
|
+
e.current && (e.current.style.height = `${sh}px`);
|
|
8711
|
+
}, dh = () => {
|
|
8711
8712
|
const { user: e, getAccessToken: t } = ge(), r = sr(qt.ADDON.ATTACHMENTS), n = sr(qt.ADDON.REASONING), { allowedModels: o } = Vr(), [a, i] = P(null), [s, u] = P(!1), [c, m] = P(!1), {
|
|
8712
8713
|
dispatch: d,
|
|
8713
8714
|
state: {
|
|
@@ -8731,7 +8732,7 @@ const Bf = (e) => {
|
|
|
8731
8732
|
}), { data: k } = He({
|
|
8732
8733
|
user: e?.username,
|
|
8733
8734
|
getAccessToken: t
|
|
8734
|
-
}), C = j(null), R = j(null), X = j(!1), le = j(0), Je = j(null), B = j(null), rt = Ts(), ue =
|
|
8735
|
+
}), C = j(null), R = j(null), X = j(!1), le = j(0), Je = j(null), B = j(null), rt = Ts(), ue = th({
|
|
8735
8736
|
oledMode: $,
|
|
8736
8737
|
className: ""
|
|
8737
8738
|
}), ae = n && k?.showReasoningButton, { setMessages: pt, status: nt, id: At, sendMessage: mt, input: ve, setInput: Ae } = Ge({
|
|
@@ -8787,25 +8788,25 @@ const Bf = (e) => {
|
|
|
8787
8788
|
]
|
|
8788
8789
|
), me = Z(
|
|
8789
8790
|
async (L) => {
|
|
8790
|
-
L ===
|
|
8791
|
+
L === ih && d({
|
|
8791
8792
|
type: Ke,
|
|
8792
8793
|
payload: {
|
|
8793
8794
|
loading: !1,
|
|
8794
8795
|
streaming: !1
|
|
8795
8796
|
}
|
|
8796
|
-
}), L ===
|
|
8797
|
+
}), L === uh && d({
|
|
8797
8798
|
type: Ke,
|
|
8798
8799
|
payload: {
|
|
8799
8800
|
loading: !0,
|
|
8800
8801
|
streaming: !1
|
|
8801
8802
|
}
|
|
8802
|
-
}), L ===
|
|
8803
|
+
}), L === ch && d({
|
|
8803
8804
|
type: Ke,
|
|
8804
8805
|
payload: {
|
|
8805
8806
|
loading: !1,
|
|
8806
8807
|
streaming: !0
|
|
8807
8808
|
}
|
|
8808
|
-
}), L ===
|
|
8809
|
+
}), L === lh && setTimeout(() => {
|
|
8809
8810
|
f || (d({
|
|
8810
8811
|
type: Ke,
|
|
8811
8812
|
payload: {
|
|
@@ -8892,7 +8893,7 @@ const Bf = (e) => {
|
|
|
8892
8893
|
let ee;
|
|
8893
8894
|
if (a && a.length > 0) {
|
|
8894
8895
|
const Ze = Array.from(a).map(
|
|
8895
|
-
(Ot) =>
|
|
8896
|
+
(Ot) => rh(Ot)
|
|
8896
8897
|
), We = new DataTransfer();
|
|
8897
8898
|
Ze.forEach((Ot) => We.items.add(Ot)), ee = We.files;
|
|
8898
8899
|
}
|
|
@@ -8934,7 +8935,7 @@ const Bf = (e) => {
|
|
|
8934
8935
|
}
|
|
8935
8936
|
p > 0 && p !== le.current ? (le.current = p, setTimeout(() => {
|
|
8936
8937
|
B.current && (!ve && Ut(B), B.current.focus());
|
|
8937
|
-
},
|
|
8938
|
+
}, oh)) : g === !1 && !ve && (Ut(B), !Ue() && B.current && B.current.focus());
|
|
8938
8939
|
}, [p, g, ve]), O(() => {
|
|
8939
8940
|
w.lastTriggeredTimestamp && setTimeout(() => {
|
|
8940
8941
|
Re();
|
|
@@ -8991,7 +8992,7 @@ const Bf = (e) => {
|
|
|
8991
8992
|
}
|
|
8992
8993
|
)
|
|
8993
8994
|
] }),
|
|
8994
|
-
/* @__PURE__ */ l(
|
|
8995
|
+
/* @__PURE__ */ l(nh, { files: a, clearFile: ls }),
|
|
8995
8996
|
/* @__PURE__ */ E("div", { className: "p-2 flex items-center", children: [
|
|
8996
8997
|
/* @__PURE__ */ l(Hf, { className: "order-7 ml-auto" }),
|
|
8997
8998
|
/* @__PURE__ */ l(
|
|
@@ -9036,7 +9037,7 @@ const Bf = (e) => {
|
|
|
9036
9037
|
] })
|
|
9037
9038
|
] }) })
|
|
9038
9039
|
] });
|
|
9039
|
-
}, Bt = "--sassy-bottom",
|
|
9040
|
+
}, Bt = "--sassy-bottom", ph = ({ isComponent: e }) => {
|
|
9040
9041
|
const {
|
|
9041
9042
|
state: { loading: t, streaming: r, restoring: n }
|
|
9042
9043
|
} = K(Te), {
|
|
@@ -9112,7 +9113,7 @@ const Bf = (e) => {
|
|
|
9112
9113
|
ef
|
|
9113
9114
|
),
|
|
9114
9115
|
children: /* @__PURE__ */ E("div", { className: Nr({ fullScreen: i }), children: [
|
|
9115
|
-
/* @__PURE__ */ l(
|
|
9116
|
+
/* @__PURE__ */ l(dh, {}),
|
|
9116
9117
|
/* @__PURE__ */ l(
|
|
9117
9118
|
"div",
|
|
9118
9119
|
{
|
|
@@ -9142,7 +9143,7 @@ const Bf = (e) => {
|
|
|
9142
9143
|
label: "Google Gemini",
|
|
9143
9144
|
icon: $i
|
|
9144
9145
|
}
|
|
9145
|
-
],
|
|
9146
|
+
], mh = ({ className: e }) => {
|
|
9146
9147
|
const {
|
|
9147
9148
|
dispatch: t,
|
|
9148
9149
|
state: { privateChat: r },
|
|
@@ -9286,75 +9287,75 @@ const Bf = (e) => {
|
|
|
9286
9287
|
),
|
|
9287
9288
|
N && /* @__PURE__ */ l("span", { className: "text-xs text-surface-light font-medium select-none", children: N })
|
|
9288
9289
|
] }) : /* @__PURE__ */ l("div", { className: e, children: k });
|
|
9289
|
-
},
|
|
9290
|
+
}, fh = $e(
|
|
9290
9291
|
() => import(
|
|
9291
9292
|
/* webpackChunkName: "modal-chunk" */
|
|
9292
|
-
"./ProfileEntry.
|
|
9293
|
+
"./ProfileEntry.Bb-kLfDX.js"
|
|
9293
9294
|
).then((e) => ({
|
|
9294
9295
|
default: e.Profile
|
|
9295
9296
|
}))
|
|
9296
|
-
),
|
|
9297
|
+
), hh = $e(
|
|
9297
9298
|
() => import(
|
|
9298
9299
|
/* webpackChunkName: "modal-chunk" */
|
|
9299
|
-
"./SettingsEntry.
|
|
9300
|
+
"./SettingsEntry.DrmBVh-w.js"
|
|
9300
9301
|
).then((e) => ({
|
|
9301
9302
|
default: e.SettingsPanel
|
|
9302
9303
|
}))
|
|
9303
|
-
),
|
|
9304
|
+
), gh = $e(
|
|
9304
9305
|
() => import(
|
|
9305
9306
|
/* webpackChunkName: "modal-chunk" */
|
|
9306
|
-
"./HistoryEntry.
|
|
9307
|
+
"./HistoryEntry.BSOPWYO2.js"
|
|
9307
9308
|
).then((e) => ({
|
|
9308
9309
|
default: e.HistoryPanel
|
|
9309
9310
|
}))
|
|
9310
|
-
),
|
|
9311
|
+
), vh = $e(
|
|
9311
9312
|
() => import(
|
|
9312
9313
|
/* webpackChunkName: "modal-chunk" */
|
|
9313
|
-
"./AboutEntry.
|
|
9314
|
+
"./AboutEntry.pKgicvGA.js"
|
|
9314
9315
|
).then((e) => ({ default: e.About }))
|
|
9315
|
-
),
|
|
9316
|
+
), yh = $e(
|
|
9316
9317
|
() => import(
|
|
9317
9318
|
/* webpackChunkName: "modal-chunk" */
|
|
9318
|
-
"./UsageEntry.
|
|
9319
|
+
"./UsageEntry.O3YdUF30.js"
|
|
9319
9320
|
).then((e) => ({ default: e.Usage }))
|
|
9320
|
-
),
|
|
9321
|
+
), _h = $e(
|
|
9321
9322
|
() => import(
|
|
9322
9323
|
/* webpackChunkName: "modal-chunk" */
|
|
9323
|
-
"./UserMemoriesPanel.
|
|
9324
|
+
"./UserMemoriesPanel.Dl5GlyBr.js"
|
|
9324
9325
|
).then(
|
|
9325
9326
|
(e) => ({ default: e.default })
|
|
9326
9327
|
)
|
|
9327
|
-
),
|
|
9328
|
+
), bh = ({
|
|
9328
9329
|
open: e,
|
|
9329
9330
|
onOpenChange: t
|
|
9330
9331
|
}) => {
|
|
9331
9332
|
const { user: r } = ge();
|
|
9332
9333
|
return /* @__PURE__ */ l(
|
|
9333
|
-
|
|
9334
|
+
_h,
|
|
9334
9335
|
{
|
|
9335
9336
|
open: e,
|
|
9336
9337
|
onOpenChange: t,
|
|
9337
9338
|
user: r?.username
|
|
9338
9339
|
}
|
|
9339
9340
|
);
|
|
9340
|
-
},
|
|
9341
|
+
}, wh = ({ type: e, open: t, onOpenChange: r }) => t ? /* @__PURE__ */ l(Xt, { fallback: /* @__PURE__ */ l("div", {}), children: (() => {
|
|
9341
9342
|
switch (e) {
|
|
9342
9343
|
case "profile":
|
|
9343
|
-
return /* @__PURE__ */ l(mh, { open: t, onOpenChange: r });
|
|
9344
|
-
case "settings":
|
|
9345
9344
|
return /* @__PURE__ */ l(fh, { open: t, onOpenChange: r });
|
|
9346
|
-
case "
|
|
9345
|
+
case "settings":
|
|
9347
9346
|
return /* @__PURE__ */ l(hh, { open: t, onOpenChange: r });
|
|
9348
|
-
case "
|
|
9347
|
+
case "history":
|
|
9349
9348
|
return /* @__PURE__ */ l(gh, { open: t, onOpenChange: r });
|
|
9350
|
-
case "
|
|
9349
|
+
case "about":
|
|
9351
9350
|
return /* @__PURE__ */ l(vh, { open: t, onOpenChange: r });
|
|
9351
|
+
case "usage":
|
|
9352
|
+
return /* @__PURE__ */ l(yh, { open: t, onOpenChange: r });
|
|
9352
9353
|
case "memories":
|
|
9353
|
-
return /* @__PURE__ */ l(
|
|
9354
|
+
return /* @__PURE__ */ l(bh, { open: t, onOpenChange: r });
|
|
9354
9355
|
default:
|
|
9355
9356
|
return null;
|
|
9356
9357
|
}
|
|
9357
|
-
})() }) : null,
|
|
9358
|
+
})() }) : null, Ih = ({
|
|
9358
9359
|
isComponent: e = !1
|
|
9359
9360
|
}) => {
|
|
9360
9361
|
const {
|
|
@@ -9370,23 +9371,23 @@ const Bf = (e) => {
|
|
|
9370
9371
|
h || Promise.all([
|
|
9371
9372
|
import(
|
|
9372
9373
|
/* webpackChunkName: "modal-chunk" */
|
|
9373
|
-
"./ProfileEntry.
|
|
9374
|
+
"./ProfileEntry.Bb-kLfDX.js"
|
|
9374
9375
|
),
|
|
9375
9376
|
import(
|
|
9376
9377
|
/* webpackChunkName: "modal-chunk" */
|
|
9377
|
-
"./SettingsEntry.
|
|
9378
|
+
"./SettingsEntry.DrmBVh-w.js"
|
|
9378
9379
|
),
|
|
9379
9380
|
import(
|
|
9380
9381
|
/* webpackChunkName: "modal-chunk" */
|
|
9381
|
-
"./HistoryEntry.
|
|
9382
|
+
"./HistoryEntry.BSOPWYO2.js"
|
|
9382
9383
|
),
|
|
9383
9384
|
import(
|
|
9384
9385
|
/* webpackChunkName: "modal-chunk" */
|
|
9385
|
-
"./AboutEntry.
|
|
9386
|
+
"./AboutEntry.pKgicvGA.js"
|
|
9386
9387
|
),
|
|
9387
9388
|
import(
|
|
9388
9389
|
/* webpackChunkName: "modal-chunk" */
|
|
9389
|
-
"./UsageEntry.
|
|
9390
|
+
"./UsageEntry.O3YdUF30.js"
|
|
9390
9391
|
)
|
|
9391
9392
|
]).finally(() => g(!0));
|
|
9392
9393
|
}, [h]), b = Z((N) => {
|
|
@@ -9433,7 +9434,7 @@ const Bf = (e) => {
|
|
|
9433
9434
|
}
|
|
9434
9435
|
),
|
|
9435
9436
|
/* @__PURE__ */ l(
|
|
9436
|
-
|
|
9437
|
+
wh,
|
|
9437
9438
|
{
|
|
9438
9439
|
type: u,
|
|
9439
9440
|
open: u !== null,
|
|
@@ -9455,7 +9456,7 @@ const Bf = (e) => {
|
|
|
9455
9456
|
rowGap: 0,
|
|
9456
9457
|
columnGap: 0,
|
|
9457
9458
|
children: [
|
|
9458
|
-
/* @__PURE__ */ l(it, { children: /* @__PURE__ */ l(
|
|
9459
|
+
/* @__PURE__ */ l(it, { children: /* @__PURE__ */ l(mh, { className: "mr-2" }) }),
|
|
9459
9460
|
/* @__PURE__ */ l(it, { children: /* @__PURE__ */ l(
|
|
9460
9461
|
Pe,
|
|
9461
9462
|
{
|
|
@@ -9550,7 +9551,7 @@ const Bf = (e) => {
|
|
|
9550
9551
|
}
|
|
9551
9552
|
)
|
|
9552
9553
|
] });
|
|
9553
|
-
},
|
|
9554
|
+
}, Eh = ({
|
|
9554
9555
|
show: e,
|
|
9555
9556
|
bottom: t,
|
|
9556
9557
|
onClick: r,
|
|
@@ -9642,21 +9643,21 @@ try {
|
|
|
9642
9643
|
});
|
|
9643
9644
|
} catch {
|
|
9644
9645
|
}
|
|
9645
|
-
const
|
|
9646
|
-
() => import("./index.
|
|
9647
|
-
), on = (e) => /* @__PURE__ */ l(Xt, { fallback: /* @__PURE__ */ l("span", { className: "inline-block" }), children: /* @__PURE__ */ l(
|
|
9646
|
+
const Th = $e(
|
|
9647
|
+
() => import("./index.icjUE8II.js").then((e) => ({ default: e.Bubble }))
|
|
9648
|
+
), on = (e) => /* @__PURE__ */ l(Xt, { fallback: /* @__PURE__ */ l("span", { className: "inline-block" }), children: /* @__PURE__ */ l(Th, { ...e }) });
|
|
9648
9649
|
on.displayName = "AsyncBubble";
|
|
9649
|
-
const go = 1,
|
|
9650
|
+
const go = 1, xh = 150, Sh = $e(
|
|
9650
9651
|
() => import(
|
|
9651
9652
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
9652
|
-
"./ChatBubbleAssistant.
|
|
9653
|
+
"./ChatBubbleAssistant.K55U7Bno.js"
|
|
9653
9654
|
)
|
|
9654
|
-
),
|
|
9655
|
+
), kh = $e(
|
|
9655
9656
|
() => import(
|
|
9656
9657
|
/* webpackChunkName: "LazyMessageUser" */
|
|
9657
|
-
"./ChatBubbleUser.
|
|
9658
|
+
"./ChatBubbleUser.DsX56Kxx.js"
|
|
9658
9659
|
)
|
|
9659
|
-
),
|
|
9660
|
+
), Ch = ut.memo(
|
|
9660
9661
|
({
|
|
9661
9662
|
role: e,
|
|
9662
9663
|
content: t,
|
|
@@ -9670,7 +9671,7 @@ const go = 1, Th = 150, xh = $e(
|
|
|
9670
9671
|
);
|
|
9671
9672
|
return O(() => {
|
|
9672
9673
|
if (o && i && t && t.trim().length >= go) {
|
|
9673
|
-
const d = Date.now() - u.current, h =
|
|
9674
|
+
const d = Date.now() - u.current, h = xh - d;
|
|
9674
9675
|
if (h > 0) {
|
|
9675
9676
|
const g = setTimeout(
|
|
9676
9677
|
() => s(!1),
|
|
@@ -9680,8 +9681,8 @@ const go = 1, Th = 150, xh = $e(
|
|
|
9680
9681
|
}
|
|
9681
9682
|
s(!1);
|
|
9682
9683
|
}
|
|
9683
|
-
}, [t, i, o]), e === xo && t ? /* @__PURE__ */ l(Xt, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(
|
|
9684
|
-
|
|
9684
|
+
}, [t, i, o]), e === xo && t ? /* @__PURE__ */ l(Xt, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(kh, { content: t }) }) : (e === wt || e === yn) && o && (a === "submitted" || a === "streaming") && i ? /* @__PURE__ */ l(on, { tail: !0, children: /* @__PURE__ */ l(as, { type: "dots" }) }) : (e === wt || e === yn) && t && t.trim().length >= go ? /* @__PURE__ */ l(Xt, { fallback: /* @__PURE__ */ l("span", {}), children: /* @__PURE__ */ l(
|
|
9685
|
+
Sh,
|
|
9685
9686
|
{
|
|
9686
9687
|
role: e,
|
|
9687
9688
|
content: t,
|
|
@@ -9692,7 +9693,7 @@ const go = 1, Th = 150, xh = $e(
|
|
|
9692
9693
|
}
|
|
9693
9694
|
) }) : null;
|
|
9694
9695
|
}
|
|
9695
|
-
),
|
|
9696
|
+
), Nh = (e) => {
|
|
9696
9697
|
if (e.parts && Array.isArray(e.parts)) {
|
|
9697
9698
|
const t = e.parts.filter((r) => r.type === "text").map((r) => r.text).filter(Boolean);
|
|
9698
9699
|
return t.length > 0 ? t.join(`
|
|
@@ -9701,7 +9702,7 @@ const go = 1, Th = 150, xh = $e(
|
|
|
9701
9702
|
if ("content" in e && typeof e.content == "string")
|
|
9702
9703
|
return e.content;
|
|
9703
9704
|
};
|
|
9704
|
-
function
|
|
9705
|
+
function zh(e) {
|
|
9705
9706
|
const t = e.metadata;
|
|
9706
9707
|
if (t?.model)
|
|
9707
9708
|
return { model: String(t.model) };
|
|
@@ -9715,14 +9716,14 @@ function Nh(e) {
|
|
|
9715
9716
|
}
|
|
9716
9717
|
}
|
|
9717
9718
|
}
|
|
9718
|
-
const
|
|
9719
|
+
const Ah = () => {
|
|
9719
9720
|
const { messages: e, status: t } = Ge(), r = e ? e.map((a, i) => a.role === wt ? i : -1).filter((a) => a !== -1).pop() : -1, n = e && e.length > 0 ? e[e.length - 1] : null, o = (t === "submitted" || t === "streaming") && n?.role === xo;
|
|
9720
9721
|
return e && e.length > 0 ? /* @__PURE__ */ E("div", { className: "space-y-6 mt-2 @container", children: [
|
|
9721
9722
|
e?.map((a, i) => {
|
|
9722
9723
|
let s;
|
|
9723
|
-
const u = `${i}-${a.role}`, c =
|
|
9724
|
+
const u = `${i}-${a.role}`, c = Nh(a), m = zh(a), d = a.role === wt && i === r;
|
|
9724
9725
|
return /* @__PURE__ */ l(
|
|
9725
|
-
|
|
9726
|
+
Ch,
|
|
9726
9727
|
{
|
|
9727
9728
|
role: a.role,
|
|
9728
9729
|
content: c,
|
|
@@ -9736,7 +9737,7 @@ const zh = () => {
|
|
|
9736
9737
|
}),
|
|
9737
9738
|
o && /* @__PURE__ */ l(on, { tail: !0, children: /* @__PURE__ */ l(as, { type: "dots" }) })
|
|
9738
9739
|
] }) : null;
|
|
9739
|
-
},
|
|
9740
|
+
}, Oh = () => {
|
|
9740
9741
|
const { isAuthenticated: e } = ge(), { ref: t, inViewport: r } = _i(), n = j(null), o = j(null), {
|
|
9741
9742
|
state: { footerPosition: a, footerHeight: i, footerOffset: s, oledMode: u }
|
|
9742
9743
|
} = K(zt), {
|
|
@@ -9766,7 +9767,7 @@ const zh = () => {
|
|
|
9766
9767
|
oledMode: u
|
|
9767
9768
|
}
|
|
9768
9769
|
),
|
|
9769
|
-
/* @__PURE__ */ l(
|
|
9770
|
+
/* @__PURE__ */ l(Ah, {}),
|
|
9770
9771
|
/* @__PURE__ */ l("div", { ref: t, className: "scroll-marker" }),
|
|
9771
9772
|
/* @__PURE__ */ l(
|
|
9772
9773
|
"div",
|
|
@@ -9779,7 +9780,7 @@ const zh = () => {
|
|
|
9779
9780
|
)
|
|
9780
9781
|
] }),
|
|
9781
9782
|
/* @__PURE__ */ l(
|
|
9782
|
-
|
|
9783
|
+
Eh,
|
|
9783
9784
|
{
|
|
9784
9785
|
show: !r && a === bt,
|
|
9785
9786
|
bottom: d.current,
|
|
@@ -9949,7 +9950,7 @@ function ss({
|
|
|
9949
9950
|
extraClass: x,
|
|
9950
9951
|
fullScreen: I
|
|
9951
9952
|
}),
|
|
9952
|
-
children: /* @__PURE__ */ l(
|
|
9953
|
+
children: /* @__PURE__ */ l(Ih, { isComponent: e })
|
|
9953
9954
|
}
|
|
9954
9955
|
),
|
|
9955
9956
|
/* @__PURE__ */ l(
|
|
@@ -9959,10 +9960,10 @@ function ss({
|
|
|
9959
9960
|
style: {
|
|
9960
9961
|
height: o
|
|
9961
9962
|
},
|
|
9962
|
-
children: /* @__PURE__ */ l(
|
|
9963
|
+
children: /* @__PURE__ */ l(Oh, {})
|
|
9963
9964
|
}
|
|
9964
9965
|
),
|
|
9965
|
-
/* @__PURE__ */ l(
|
|
9966
|
+
/* @__PURE__ */ l(ph, { isComponent: e })
|
|
9966
9967
|
]
|
|
9967
9968
|
}
|
|
9968
9969
|
)
|
|
@@ -9974,14 +9975,14 @@ function ss({
|
|
|
9974
9975
|
);
|
|
9975
9976
|
}
|
|
9976
9977
|
ss.displayName = "App";
|
|
9977
|
-
const
|
|
9978
|
+
const Uh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ss }, Symbol.toStringTag, { value: "Module" }));
|
|
9978
9979
|
export {
|
|
9979
9980
|
Ya as APP_SET_FULL_SCREEN,
|
|
9980
9981
|
Wa as APP_SET_OLED_MODE,
|
|
9981
|
-
|
|
9982
|
+
Uh as App,
|
|
9982
9983
|
zt as AppContext,
|
|
9983
9984
|
on as AsyncBubble,
|
|
9984
|
-
|
|
9985
|
+
Eh as ButtonScroll,
|
|
9985
9986
|
tn as CHAT_SET_PROVIDER,
|
|
9986
9987
|
Ke as CHAT_SET_STATUS,
|
|
9987
9988
|
Te as ChatContext,
|
|
@@ -9997,7 +9998,7 @@ export {
|
|
|
9997
9998
|
$i as p$1,
|
|
9998
9999
|
xi as p$2,
|
|
9999
10000
|
Um as preloadToast,
|
|
10000
|
-
|
|
10001
|
+
Lh as showErrorToast,
|
|
10001
10002
|
xt as showSuccessToast,
|
|
10002
10003
|
Pe as st,
|
|
10003
10004
|
Ge as useAiChat,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Ap } from "react/jsx-runtime";
|
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.CtFpHv2O.js";
|
|
3
3
|
import Cp, { useState as Pp, useEffect as Op } from "react";
|
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index
|
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.Czv_1MTM.js";
|
|
5
5
|
var ls = { exports: {} }, Ip = ls.exports, on;
|
|
6
6
|
function Dp() {
|
|
7
7
|
return on || (on = 1, (function(we, he) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
|
-
import { n as P, useUserPreferences as R, convertCamelCaseToReadable as y, numberFormatter as L, pluralize as _, J as v } from "./index
|
|
3
|
-
import { BUBBLE_FOOTER_EMPTY as B } from "./index.
|
|
2
|
+
import { n as P, useUserPreferences as R, convertCamelCaseToReadable as y, numberFormatter as L, pluralize as _, J as v } from "./index.Czv_1MTM.js";
|
|
3
|
+
import { BUBBLE_FOOTER_EMPTY as B } from "./index.icjUE8II.js";
|
|
4
4
|
import U from "clsx";
|
|
5
5
|
import G, { useState as M, useRef as E, useEffect as F, useContext as S } from "react";
|
|
6
|
-
import { ChatContext as D, AppContext as j, AsyncBubble as k } from "./App.
|
|
7
|
-
import { useMarkdown as q } from "./useMarkdown.
|
|
6
|
+
import { ChatContext as D, AppContext as j, AsyncBubble as k } from "./App.CtFpHv2O.js";
|
|
7
|
+
import { useMarkdown as q } from "./useMarkdown.Bf7wGKkC.js";
|
|
8
8
|
const I = 2, W = I * 1e3, b = "", $ = (e) => e * (2 - e);
|
|
9
9
|
function V(e, n = !0) {
|
|
10
10
|
const [a, d] = M(0), [c, p] = M(0), [t, C] = M(e), r = E(0), s = E(0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n, Fragment as b, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import { useState as C, useMemo as u, isValidElement as p, useEffect as I } from "react";
|
|
3
|
-
import { AsyncBubble as w } from "./App.
|
|
4
|
-
import { useMarkdown as _ } from "./useMarkdown.
|
|
5
|
-
import { C$1 as M } from "./index
|
|
3
|
+
import { AsyncBubble as w } from "./App.CtFpHv2O.js";
|
|
4
|
+
import { useMarkdown as _ } from "./useMarkdown.Bf7wGKkC.js";
|
|
5
|
+
import { C$1 as M } from "./index.Czv_1MTM.js";
|
|
6
6
|
const R = 200, N = ({
|
|
7
7
|
string: e,
|
|
8
8
|
idealLength: r = R
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { I as R, f as N, h as g, INFINITE_SCROLL_THRESHOLD as E, CARDS as k, pluralize as b, te as u, numberFormatter as y, k as D, isProbablyMobile as U, z as I, Z as P, E as B } from "./index
|
|
3
|
-
import { st as M, p$1 as L, z as $, p$2 as _ } from "./App.
|
|
2
|
+
import { I as R, f as N, h as g, INFINITE_SCROLL_THRESHOLD as E, CARDS as k, pluralize as b, te as u, numberFormatter as y, k as D, isProbablyMobile as U, z as I, Z as P, E as B } from "./index.Czv_1MTM.js";
|
|
3
|
+
import { st as M, p$1 as L, z as $, p$2 as _ } from "./App.CtFpHv2O.js";
|
|
4
4
|
import h from "clsx";
|
|
5
5
|
import { Fragment as V } from "react";
|
|
6
|
-
import { j as Y, D as F, G as x, H as G, M as a, U as K, F as f, n as W, l as H } from "./Table
|
|
6
|
+
import { j as Y, D as F, G as x, H as G, M as a, U as K, F as f, n as W, l as H } from "./Table.BbIvEnBz.js";
|
|
7
7
|
const j = ({
|
|
8
8
|
className: l,
|
|
9
9
|
viewBox: c,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t, Fragment as ee } from "react/jsx-runtime";
|
|
2
|
-
import { I as te, n as z, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as T, LOCAL_STORAGE_SORT_TIMESTAMP as ae, LOCAL_STORAGE_SORT_TOKEN_USAGE as se, LOCAL_STORAGE_SORT as oe, f as D, useUserPreferences as ie, useDeleteChat as ne, useToggleFavoriteChat as ce, APP_CLASSNAME as le, TOAST_CHAT_DELETED as de, graphQLRequest as he, SERVICE_TYPES as me, setNewProvider as ue, ACTION_SORT as Ce, h as Se, TOAST_PROVIDER_CHANGED as fe, useChatsHistory as pe, LOCAL_STORAGE_SEARCH as ye, LOCAL_STORAGE_FAVORITES_ONLY as Te, HISTORY_TITLE as ge, S as Ae, Y as Ee, debounce as ve, C$1 as _e, ACTION_SEARCH as De } from "./index
|
|
3
|
-
import { HistoryContext as G, ChatContext as M, useAiChat as Oe, E as g, e as u, ConfirmationPanel as Re, LazyToastContainerWrapper as Le, showErrorToast as Ie, CHAT_SET_PROVIDER as ke, showSuccessToast as be, CHAT_SET_STATUS as we, oe as Ne, G as xe } from "./App.
|
|
2
|
+
import { I as te, n as z, INFINITE_SCROLL_LIMIT as P, INFINITE_SCROLL_THRESHOLD as re, LOCAL_STORAGE_PREFIX as T, LOCAL_STORAGE_SORT_TIMESTAMP as ae, LOCAL_STORAGE_SORT_TOKEN_USAGE as se, LOCAL_STORAGE_SORT as oe, f as D, useUserPreferences as ie, useDeleteChat as ne, useToggleFavoriteChat as ce, APP_CLASSNAME as le, TOAST_CHAT_DELETED as de, graphQLRequest as he, SERVICE_TYPES as me, setNewProvider as ue, ACTION_SORT as Ce, h as Se, TOAST_PROVIDER_CHANGED as fe, useChatsHistory as pe, LOCAL_STORAGE_SEARCH as ye, LOCAL_STORAGE_FAVORITES_ONLY as Te, HISTORY_TITLE as ge, S as Ae, Y as Ee, debounce as ve, C$1 as _e, ACTION_SEARCH as De } from "./index.Czv_1MTM.js";
|
|
3
|
+
import { HistoryContext as G, ChatContext as M, useAiChat as Oe, E as g, e as u, ConfirmationPanel as Re, LazyToastContainerWrapper as Le, showErrorToast as Ie, CHAT_SET_PROVIDER as ke, showSuccessToast as be, CHAT_SET_STATUS as we, oe as Ne, G as xe } from "./App.CtFpHv2O.js";
|
|
4
4
|
import { useRef as N, useState as x, useContext as O, useCallback as V, Suspense as He, lazy as Fe, useEffect as Pe } from "react";
|
|
5
5
|
const Ve = ({
|
|
6
6
|
className: c,
|
|
@@ -31,7 +31,7 @@ const Ve = ({
|
|
|
31
31
|
), ze = Fe(
|
|
32
32
|
() => import(
|
|
33
33
|
/* webpackChunkName: "history-table" */
|
|
34
|
-
"./ChatHistoryTable.
|
|
34
|
+
"./ChatHistoryTable.BvEUTjiq.js"
|
|
35
35
|
).then((c) => ({ default: c.ChatHistoryTable }))
|
|
36
36
|
), Ge = ({
|
|
37
37
|
filteredHistory: c,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as D, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { preloadToast as K, showSuccessToast as W, showErrorToast as Y, ConfirmationPanel as $, LazyToastContainerWrapper as H, oe as V } from "./App.
|
|
3
|
-
import { n as q, i as J, useUserPreferences as Q, useServerCapabilities as X, N as Z, setUserPlan as ee, S as d, renderDataAsList as ae, CARDS as s, L as f, j as c, C$1 as se, it as ne, isTauri as re, te, l as b, PROFILE_TITLE as le } from "./index
|
|
2
|
+
import { preloadToast as K, showSuccessToast as W, showErrorToast as Y, ConfirmationPanel as $, LazyToastContainerWrapper as H, oe as V } from "./App.CtFpHv2O.js";
|
|
3
|
+
import { n as q, i as J, useUserPreferences as Q, useServerCapabilities as X, N as Z, setUserPlan as ee, S as d, renderDataAsList as ae, CARDS as s, L as f, j as c, C$1 as se, it as ne, isTauri as re, te, l as b, PROFILE_TITLE as le } from "./index.Czv_1MTM.js";
|
|
4
4
|
import ie from "clsx";
|
|
5
5
|
import { useState as m, useMemo as ce, useCallback as P } from "react";
|
|
6
6
|
const oe = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t, Fragment as A } from "react/jsx-runtime";
|
|
2
|
-
import { n as Pe, useEntitlements as Be, useUserPreferences as Ge, C as ce, LOCAL_STORAGE_OLED_MODE as Ue, LOCAL_STORAGE_FULL_SCREEN as Fe, canEvaluateModels as Ve, H as We, getCacheInfo as $e, isServiceWorkerEnabled as ze, SETTINGS_TITLE as He, S as p, CARDS as r, b as je, C$1 as R, PROMPTS_DESCRIPTION as Ye, L as qe, j as ie, applyOledMode as de, getCurrentGeoLocation as Ke, graphQLRequest as me, handleServiceWorkerToggle as Qe, SERVICE_TYPES as ue } from "./index
|
|
3
|
-
import { AppContext as Je, useCapability as he, E as pe, oe as Xe, G as l, APP_SET_OLED_MODE as Ee, APP_SET_FULL_SCREEN as Se } from "./App.
|
|
4
|
-
import { Re as Ne } from "./index.
|
|
2
|
+
import { n as Pe, useEntitlements as Be, useUserPreferences as Ge, C as ce, LOCAL_STORAGE_OLED_MODE as Ue, LOCAL_STORAGE_FULL_SCREEN as Fe, canEvaluateModels as Ve, H as We, getCacheInfo as $e, isServiceWorkerEnabled as ze, SETTINGS_TITLE as He, S as p, CARDS as r, b as je, C$1 as R, PROMPTS_DESCRIPTION as Ye, L as qe, j as ie, applyOledMode as de, getCurrentGeoLocation as Ke, graphQLRequest as me, handleServiceWorkerToggle as Qe, SERVICE_TYPES as ue } from "./index.Czv_1MTM.js";
|
|
3
|
+
import { AppContext as Je, useCapability as he, E as pe, oe as Xe, G as l, APP_SET_OLED_MODE as Ee, APP_SET_FULL_SCREEN as Se } from "./App.CtFpHv2O.js";
|
|
4
|
+
import { Re as Ne } from "./index.BNusLsEn.js";
|
|
5
5
|
import { useContext as Ze, useState as n, useMemo as et, useCallback as tt, useEffect as ge } from "react";
|
|
6
6
|
const lt = ({
|
|
7
7
|
open: fe,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { I as u, b$1 as f } from "./index
|
|
2
|
+
import { I as u, b$1 as f } from "./index.Czv_1MTM.js";
|
|
3
3
|
import C, { useContext as b } from "react";
|
|
4
4
|
import o from "clsx";
|
|
5
|
-
import { e as k } from "./App.
|
|
5
|
+
import { e as k } from "./App.CtFpHv2O.js";
|
|
6
6
|
const L = ({
|
|
7
7
|
className: e,
|
|
8
8
|
viewBox: a,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as C, C$1 as i, pluralize as h } from "./index
|
|
3
|
-
import { oe as H } from "./App.
|
|
2
|
+
import { n as f, i as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, S as g, renderDataAsList as P, CARDS as a, L as p, j as C, C$1 as i, pluralize as h } from "./index.Czv_1MTM.js";
|
|
3
|
+
import { oe as H } from "./App.CtFpHv2O.js";
|
|
4
4
|
import { useState as A, Suspense as K, lazy as j } from "react";
|
|
5
5
|
const s = [0, 3, 6, 9], n = {
|
|
6
6
|
TOKEN: "token",
|
|
7
7
|
MODEL: "model"
|
|
8
8
|
}, w = j(() => import(
|
|
9
9
|
/* webpackChunkName: "LazyChart" */
|
|
10
|
-
"./Chart.
|
|
10
|
+
"./Chart.DD1RkG8X.js"
|
|
11
11
|
)), R = ({
|
|
12
12
|
open: k,
|
|
13
13
|
onOpenChange: E
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e, Fragment as R } from "react/jsx-runtime";
|
|
2
|
-
import { I as Ne, L, j as y, C$1 as b, n as we, LOCAL_STORAGE_PREFIX as W, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ve, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ke, useUserMemories as Se, useExpiredMemories as Te, useDeleteMemory as Me, useDeleteAllActiveMemories as De, useDeleteAllExpiredMemories as Ee, useUpdateMemory as be, useRestoreMemory as Re, te as I } from "./index
|
|
3
|
-
import { oe as le, G as O, E as Z, e as s, ConfirmationPanel as $, st as _ } from "./App.
|
|
2
|
+
import { I as Ne, L, j as y, C$1 as b, n as we, LOCAL_STORAGE_PREFIX as W, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as ve, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ke, useUserMemories as Se, useExpiredMemories as Te, useDeleteMemory as Me, useDeleteAllActiveMemories as De, useDeleteAllExpiredMemories as Ee, useUpdateMemory as be, useRestoreMemory as Re, te as I } from "./index.Czv_1MTM.js";
|
|
3
|
+
import { oe as le, G as O, E as Z, e as s, ConfirmationPanel as $, st as _ } from "./App.CtFpHv2O.js";
|
|
4
4
|
import C from "clsx";
|
|
5
5
|
import { useState as N, useEffect as Le, useRef as ee } from "react";
|
|
6
|
-
import { Re as ze } from "./index.
|
|
7
|
-
import { j as te, D as re, G as E, M as a, F as B, H as ie, l as ne, U as oe, n as Ie } from "./Table
|
|
6
|
+
import { Re as ze } from "./index.BNusLsEn.js";
|
|
7
|
+
import { j as te, D as re, G as E, M as a, F as B, H as ie, l as ne, U as oe, n as Ie } from "./Table.BbIvEnBz.js";
|
|
8
8
|
const Oe = ({
|
|
9
9
|
className: A,
|
|
10
10
|
viewBox: w,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as oe, jsx as x } from "react/jsx-runtime";
|
|
2
|
-
import { o as se, h$1 as U, i as ie, x as de } from "./index
|
|
2
|
+
import { o as se, h$1 as U, i as ie, x as de } from "./index.Czv_1MTM.js";
|
|
3
3
|
import ce, { useState as _, useEffect as ne, useRef as b, useLayoutEffect as T } from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
5
|
function ue({
|
|
@@ -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.Bf7wGKkC.js";
|
|
2
|
+
import { toText as Ca } from "./index.B9mUNJfd.js";
|
|
3
3
|
const Gt = /[#.]/g;
|
|
4
4
|
function qa(r, e) {
|
|
5
5
|
const t = r || "", a = {};
|
|
@@ -7027,7 +7027,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, vl = "{{clipboard}}", P = "
|
|
|
7027
7027
|
] });
|
|
7028
7028
|
}, Ho = new URL(document.location.href).searchParams, Cr = !!Ho.get("debug") || !1, Ko = Vs(() => import(
|
|
7029
7029
|
/* webpackChunkName: "LazyApp" */
|
|
7030
|
-
"./App.
|
|
7030
|
+
"./App.CtFpHv2O.js"
|
|
7031
7031
|
).then((e) => e.App)), Go = new pa(), kr = ({
|
|
7032
7032
|
isComponent: e,
|
|
7033
7033
|
headerHeight: t
|
|
@@ -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.Bf7wGKkC.js";
|
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
|
3
3
|
function ne(e, n) {
|
|
4
4
|
const t = String(e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
|
2
|
-
import { visit as In } from "./useMarkdown.
|
|
3
|
-
import { toText as Cn } from "./index.
|
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.CtFpHv2O.js";
|
|
2
|
+
import { visit as In } from "./useMarkdown.Bf7wGKkC.js";
|
|
3
|
+
import { toText as Cn } from "./index.B9mUNJfd.js";
|
|
4
4
|
function xn(e) {
|
|
5
5
|
const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
|
|
6
6
|
className: "type",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as p, jsx as
|
|
2
|
-
import { te as B } from "./index
|
|
1
|
+
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { te as B } from "./index.Czv_1MTM.js";
|
|
3
3
|
import { useState as I, useEffect as k } from "react";
|
|
4
4
|
import s from "clsx";
|
|
5
5
|
const h = "av-bubble", w = ({
|
|
@@ -9,7 +9,7 @@ const h = "av-bubble", w = ({
|
|
|
9
9
|
className: a,
|
|
10
10
|
defaultViewBox: o,
|
|
11
11
|
size: n,
|
|
12
|
-
title:
|
|
12
|
+
title: i,
|
|
13
13
|
semantic: d = !1,
|
|
14
14
|
...b
|
|
15
15
|
}) => {
|
|
@@ -26,7 +26,7 @@ const h = "av-bubble", w = ({
|
|
|
26
26
|
focusable: !1,
|
|
27
27
|
...b,
|
|
28
28
|
children: [
|
|
29
|
-
|
|
29
|
+
i && d && /* @__PURE__ */ r("title", { children: i }),
|
|
30
30
|
e
|
|
31
31
|
]
|
|
32
32
|
}
|
|
@@ -61,14 +61,14 @@ const M = ({
|
|
|
61
61
|
title: l || "Copied",
|
|
62
62
|
...o,
|
|
63
63
|
children: [
|
|
64
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ r(
|
|
65
65
|
"path",
|
|
66
66
|
{
|
|
67
67
|
d: "M0 96v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96m104 160c0-6.1 2.3-12.3 7-17 9.4-9.4 24.6-9.4 33.9 0l47 47 111-111c4.7-4.7 10.8-7 17-7s12.3 2.3 17 7c2.3 2.3 4.1 5 5.3 7.9.6 1.5 1 2.9 1.3 4.4.2 1.1.3 2.2.3 2.2.1 1.2.1 1.2.1 2.5-.1 1.5-.1 1.9-.1 2.3-.1.7-.2 1.5-.3 2.2-.3 1.5-.7 3-1.3 4.4-1.2 2.9-2.9 5.6-5.3 7.9l-128 128c-4.7 4.7-10.8 7-17 7s-12.3-2.3-17-7l-64-64c-4.7-4.7-7-10.8-7-17z",
|
|
68
68
|
opacity: ".4"
|
|
69
69
|
}
|
|
70
70
|
),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ r("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
), T = ({
|
|
@@ -77,7 +77,7 @@ const M = ({
|
|
|
77
77
|
title: l,
|
|
78
78
|
monotone: a,
|
|
79
79
|
...o
|
|
80
|
-
}) => /* @__PURE__ */
|
|
80
|
+
}) => /* @__PURE__ */ r(
|
|
81
81
|
w,
|
|
82
82
|
{
|
|
83
83
|
defaultViewBox: "0 0 512 512",
|
|
@@ -86,7 +86,7 @@ const M = ({
|
|
|
86
86
|
className: e,
|
|
87
87
|
title: l || "Copy",
|
|
88
88
|
...o,
|
|
89
|
-
children: /* @__PURE__ */
|
|
89
|
+
children: /* @__PURE__ */ r("path", { d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64" })
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
92
|
/*!
|
|
@@ -106,7 +106,7 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
106
106
|
"max-w-xs sm:max-w-md md:max-w-2xl": !t,
|
|
107
107
|
"lg:max-w-3xl": e === "left" && !t
|
|
108
108
|
}), C = ({ kind: e }) => s({
|
|
109
|
-
"bg-surface-
|
|
109
|
+
"bg-surface-light dark:bg-surface-dark": e === "left",
|
|
110
110
|
"bg-surface-accent": e === "right"
|
|
111
111
|
}), V = ({ kind: e }) => s(
|
|
112
112
|
"prose prose-dark dark:prose-lighter",
|
|
@@ -128,7 +128,7 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
128
128
|
"before:bottom-0",
|
|
129
129
|
{
|
|
130
130
|
"last-bubble-right:before:right-[2px] last-bubble-right:before:border-l-[8px] last-bubble-right:before:border-l-surface-accent last-bubble-right:before:rounded-bl-[100%]": e === "right",
|
|
131
|
-
"last-bubble-left:before:left-[2px] last-bubble-left:before:border-r-[8px] last-bubble-left:before:border-r-surface-
|
|
131
|
+
"last-bubble-left:before:left-[2px] last-bubble-left:before:border-r-[8px] last-bubble-left:before:border-r-surface-light last-bubble-left:dark:before:border-r-surface-dark last-bubble-left:before:rounded-br-[100%]": e === "left"
|
|
132
132
|
}
|
|
133
133
|
);
|
|
134
134
|
if (!t)
|
|
@@ -151,7 +151,7 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
151
151
|
"flex-row-reverse": e === "right"
|
|
152
152
|
},
|
|
153
153
|
t
|
|
154
|
-
),
|
|
154
|
+
), i = s(
|
|
155
155
|
`${h}-content`,
|
|
156
156
|
"flex flex-col empty:hidden",
|
|
157
157
|
E({ kind: e, noMaxWidth: a }),
|
|
@@ -167,18 +167,18 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
167
167
|
});
|
|
168
168
|
return {
|
|
169
169
|
wrapper: n,
|
|
170
|
-
main:
|
|
170
|
+
main: i,
|
|
171
171
|
footer: d,
|
|
172
172
|
copyButton: b
|
|
173
173
|
};
|
|
174
|
-
}, O = "FOOTER_EMPTY",
|
|
174
|
+
}, O = "FOOTER_EMPTY", H = ({
|
|
175
175
|
children: e,
|
|
176
176
|
kind: t = "left",
|
|
177
177
|
className: l,
|
|
178
178
|
contentClassName: a,
|
|
179
179
|
footer: o,
|
|
180
180
|
rawFooter: n,
|
|
181
|
-
copyToClipboard:
|
|
181
|
+
copyToClipboard: i,
|
|
182
182
|
copyToClipboardFocusMode: d = "system",
|
|
183
183
|
copyToClipboardMode: b = "system",
|
|
184
184
|
noMaxWidth: u = !1,
|
|
@@ -190,8 +190,8 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
190
190
|
contentClassName: a,
|
|
191
191
|
noMaxWidth: u,
|
|
192
192
|
tail: v
|
|
193
|
-
}), N = !!
|
|
194
|
-
_(!0), typeof
|
|
193
|
+
}), N = !!i && (typeof i == "function" || typeof i == "string" || typeof e == "string"), y = () => {
|
|
194
|
+
_(!0), typeof i == "function" ? i(e) : typeof i == "string" ? navigator.clipboard.writeText(i) : typeof e == "string" && navigator.clipboard.writeText(e);
|
|
195
195
|
};
|
|
196
196
|
return k(() => {
|
|
197
197
|
let c;
|
|
@@ -202,10 +202,10 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
202
202
|
};
|
|
203
203
|
}, [m]), /* @__PURE__ */ p("div", { className: f.wrapper, children: [
|
|
204
204
|
/* @__PURE__ */ p("div", { children: [
|
|
205
|
-
/* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ r("div", { className: f.main, children: e }),
|
|
206
206
|
o && Object.keys(o).map((c, g) => {
|
|
207
207
|
const x = o[c];
|
|
208
|
-
return x === O ? /* @__PURE__ */
|
|
208
|
+
return x === O ? /* @__PURE__ */ r("div", { className: "prose-p:m-0", children: /* @__PURE__ */ r("p", { className: f.footer, "aria-hidden": "true", children: /* @__PURE__ */ r("span", { className: "invisible", children: " " }) }) }, `${c}-${g}`) : x ? /* @__PURE__ */ r("div", { className: "prose-p:m-0", children: /* @__PURE__ */ p("p", { className: f.footer, children: [
|
|
209
209
|
c,
|
|
210
210
|
": ",
|
|
211
211
|
x
|
|
@@ -213,7 +213,7 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
213
213
|
}),
|
|
214
214
|
n && n
|
|
215
215
|
] }),
|
|
216
|
-
N && /* @__PURE__ */
|
|
216
|
+
N && /* @__PURE__ */ r("div", { className: f.copyButton, children: /* @__PURE__ */ r(
|
|
217
217
|
B,
|
|
218
218
|
{
|
|
219
219
|
noBorder: !0,
|
|
@@ -224,19 +224,19 @@ const E = ({ kind: e, noMaxWidth: t }) => s("px-4 py-2", {
|
|
|
224
224
|
label: m ? "Copied to clipboard" : "Copy to clipboard",
|
|
225
225
|
onClick: y,
|
|
226
226
|
disabled: m,
|
|
227
|
-
children: m ? /* @__PURE__ */
|
|
227
|
+
children: m ? /* @__PURE__ */ r(M, { size: "size-3" }) : /* @__PURE__ */ r(T, { size: "size-3" })
|
|
228
228
|
}
|
|
229
229
|
) })
|
|
230
230
|
] });
|
|
231
231
|
};
|
|
232
232
|
/*!
|
|
233
|
-
@versini/ui-bubble v6.
|
|
233
|
+
@versini/ui-bubble v6.2.0
|
|
234
234
|
© 2025 gizmette.com
|
|
235
235
|
*/
|
|
236
236
|
try {
|
|
237
237
|
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
|
238
|
-
version: "6.
|
|
239
|
-
buildTime: "
|
|
238
|
+
version: "6.2.0",
|
|
239
|
+
buildTime: "11/03/2025 10:48 AM EST",
|
|
240
240
|
homepage: "https://github.com/aversini/ui-components",
|
|
241
241
|
license: "MIT"
|
|
242
242
|
});
|
|
@@ -245,5 +245,5 @@ try {
|
|
|
245
245
|
export {
|
|
246
246
|
h as BUBBLE_CLASSNAME,
|
|
247
247
|
O as BUBBLE_FOOTER_EMPTY,
|
|
248
|
-
|
|
248
|
+
H as Bubble
|
|
249
249
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as rn from "react/jsx-runtime";
|
|
2
2
|
import { jsx as se, jsxs as Pn } from "react/jsx-runtime";
|
|
3
|
-
import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index
|
|
3
|
+
import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index.Czv_1MTM.js";
|
|
4
4
|
import zr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
|
|
5
|
-
import { getDefaultExportFromCjs as Nt } from "./App.
|
|
5
|
+
import { getDefaultExportFromCjs as Nt } from "./App.CtFpHv2O.js";
|
|
6
6
|
import Lr from "clsx";
|
|
7
7
|
const Rt = ({
|
|
8
8
|
children: e,
|
|
@@ -6907,7 +6907,7 @@ class uu {
|
|
|
6907
6907
|
if (!this.remarkGfm) {
|
|
6908
6908
|
const { default: n } = await import(
|
|
6909
6909
|
/* webpackChunkName: "md-remark" */
|
|
6910
|
-
"./index.
|
|
6910
|
+
"./index.DEKgWsou.js"
|
|
6911
6911
|
);
|
|
6912
6912
|
this.remarkGfm = n;
|
|
6913
6913
|
}
|
|
@@ -6918,7 +6918,7 @@ class uu {
|
|
|
6918
6918
|
hu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
|
|
6919
6919
|
const { default: n } = await import(
|
|
6920
6920
|
/* webpackChunkName: "md-rehype-katex" */
|
|
6921
|
-
"./index.
|
|
6921
|
+
"./index.BeIiCAAq.js"
|
|
6922
6922
|
);
|
|
6923
6923
|
this.rehypeKatex = n;
|
|
6924
6924
|
}
|
|
@@ -6928,7 +6928,7 @@ class uu {
|
|
|
6928
6928
|
if (!this.remarkMath) {
|
|
6929
6929
|
const { default: n } = await import(
|
|
6930
6930
|
/* webpackChunkName: "md-remark" */
|
|
6931
|
-
"./index.
|
|
6931
|
+
"./index.DUl-LwyU.js"
|
|
6932
6932
|
);
|
|
6933
6933
|
this.remarkMath = n;
|
|
6934
6934
|
}
|
|
@@ -6938,7 +6938,7 @@ class uu {
|
|
|
6938
6938
|
if (!this.rehypeHighlight) {
|
|
6939
6939
|
const { default: n } = await import(
|
|
6940
6940
|
/* webpackChunkName: "md-rehype-highlight" */
|
|
6941
|
-
"./index.
|
|
6941
|
+
"./index.DGkW9g6n.js"
|
|
6942
6942
|
);
|
|
6943
6943
|
this.rehypeHighlight = n;
|
|
6944
6944
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SassySaint as r } from "./chunks/index
|
|
1
|
+
import { SassySaint as r } from "./chunks/index.Czv_1MTM.js";
|
|
2
2
|
/*!
|
|
3
|
-
@sassysaint/client v8.
|
|
3
|
+
@sassysaint/client v8.76.0
|
|
4
4
|
© 2025 gizmette.com
|
|
5
5
|
*/
|
|
6
6
|
try {
|
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
|
8
|
-
version: "8.
|
|
9
|
-
buildTime: "11/03/2025
|
|
8
|
+
version: "8.76.0",
|
|
9
|
+
buildTime: "11/03/2025 11:05 AM EST",
|
|
10
10
|
license: "MIT"
|
|
11
11
|
});
|
|
12
12
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/sassysaint",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.76.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@sassysaint/client": "8.
|
|
36
|
+
"@sassysaint/client": "8.76.0",
|
|
37
37
|
"@tailwindcss/vite": "4.1.16",
|
|
38
38
|
"@versini/ui-styles": "6.0.8"
|
|
39
39
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"sideEffects": [
|
|
46
46
|
"**/*.css"
|
|
47
47
|
],
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "83a5504935c270912ded727bce13a7ba190e9d72"
|
|
49
49
|
}
|