@versini/sassysaint 5.5.32 → 5.5.33
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/{App.Df2lQC7R.js → App.BXAqV9_e.js} +262 -263
- package/dist/chunks/{HeaderToolbar.ClkzdP_R.js → HeaderToolbar.BoRwNEMw.js} +29 -29
- package/dist/chunks/{MarkdownWithExtra.Dtxi1OCx.js → MarkdownWithExtra.CIsHNAZk.js} +8 -8
- package/dist/chunks/{MessageAssistant.BCLp8Epo.js → MessageAssistant.DKGaNVFc.js} +6 -6
- package/dist/chunks/{index.kTiw0vKw.js → index.ObAZLC3I.js} +294 -285
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as x, jsx as i, Fragment as
|
|
2
|
-
import { g as ie, ACTION_RESTORE as Kr, ACTION_MESSAGE as ye, ROLE_ASSISTANT as ve, ACTION_RESET as ft, ACTION_MODEL as cr, ACTION_STREAMING as lr, ACTION_SORT as Jr, ACTION_SEARCH as Yr, ACTION_RESET_PROMPT as dr, ACTION_TOGGLE_PROMPT as ur, DEFAULT_AI_ENGINE as ke, P as Ee, un as xe, ENGINE_ANTHROPIC as
|
|
1
|
+
import { jsxs as x, jsx as i, Fragment as ht } from "react/jsx-runtime";
|
|
2
|
+
import { g as ie, ACTION_RESTORE as Kr, ACTION_MESSAGE as ye, ROLE_ASSISTANT as ve, ACTION_RESET as ft, ACTION_MODEL as cr, ACTION_STREAMING as lr, ACTION_SORT as Jr, ACTION_SEARCH as Yr, ACTION_RESET_PROMPT as dr, ACTION_TOGGLE_PROMPT as ur, DEFAULT_AI_ENGINE as ke, P as Ee, un as xe, ENGINE_ANTHROPIC as Fe, ENGINE_OPENAI as $t, PROMPT_CLASSNAME as Zr, PROMPT_EDITABLE_AREA_CLASSNAME as Xr, ROLE_SYSTEM as Qr, ROLE_INTERNAL as pt, ROLE_HIDDEN as ea, STATS_SEPARATOR as Dt, CLIPBOARD_PROMPT as Pt, TYPE_QUESTION as ta, ERROR_MESSAGE as ra, ROLE_USER as Qe, FOOTER_DISCLAIMER as aa, isLastMessageFromRole as na, getMessageContaintWrapperClass as oa, Logo as sa, getMainPaddingClass as Vt, r as ia, LOCAL_STORAGE_PREFIX as Ut, LOCAL_STORAGE_SEARCH as ca, LOCAL_STORAGE_SORT as la } from "./index.ObAZLC3I.js";
|
|
3
3
|
import l from "clsx";
|
|
4
|
-
import * as
|
|
5
|
-
import M, { useRef as
|
|
4
|
+
import * as et from "react";
|
|
5
|
+
import M, { useRef as A, useEffect as O, useCallback as K, useSyncExternalStore as da, useMemo as bt, useState as W, useId as ua, useContext as B, createContext as ma, useLayoutEffect as mr, useDebugValue as ga, forwardRef as gr, lazy as hr, Suspense as tt, useReducer as He } from "react";
|
|
6
6
|
import { useFloatingTree as fr, useFloatingNodeId as ha, useListItem as pr, useFloating as fa, offset as pa, flip as ba, shift as ya, autoUpdate as va, useClick as ka, useRole as _a, useDismiss as Ea, useListNavigation as xa, useTypeahead as Sa, useInteractions as wa, useMergeRefs as br, FloatingNode as Ta, FloatingList as Na, FloatingPortal as Ca, FloatingFocusManager as Ra, FloatingTree as Ia } from "@floating-ui/react";
|
|
7
7
|
const La = ({
|
|
8
8
|
className: e,
|
|
@@ -47,7 +47,7 @@ const La = ({
|
|
|
47
47
|
...n,
|
|
48
48
|
children: /* @__PURE__ */ i("path", { d: "M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z" })
|
|
49
49
|
}
|
|
50
|
-
),
|
|
50
|
+
), Oa = ({
|
|
51
51
|
className: e,
|
|
52
52
|
viewBox: t,
|
|
53
53
|
title: r,
|
|
@@ -80,7 +80,7 @@ const La = ({
|
|
|
80
80
|
)
|
|
81
81
|
]
|
|
82
82
|
}
|
|
83
|
-
),
|
|
83
|
+
), Aa = ({
|
|
84
84
|
className: e,
|
|
85
85
|
viewBox: t,
|
|
86
86
|
title: r,
|
|
@@ -150,13 +150,13 @@ const La = ({
|
|
|
150
150
|
}
|
|
151
151
|
);
|
|
152
152
|
/*!
|
|
153
|
-
@versini/ui-header v3.0.
|
|
153
|
+
@versini/ui-header v3.0.2
|
|
154
154
|
© 2025 gizmette.com
|
|
155
155
|
*/
|
|
156
156
|
try {
|
|
157
157
|
window.__VERSINI_UI_HEADER__ || (window.__VERSINI_UI_HEADER__ = {
|
|
158
|
-
version: "3.0.
|
|
159
|
-
buildTime: "01/
|
|
158
|
+
version: "3.0.2",
|
|
159
|
+
buildTime: "01/13/2025 01:15 PM EST",
|
|
160
160
|
homepage: "https://github.com/aversini/ui-components",
|
|
161
161
|
license: "MIT"
|
|
162
162
|
});
|
|
@@ -209,7 +209,7 @@ function Da(e) {
|
|
|
209
209
|
key: n
|
|
210
210
|
};
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function Pa(e, t) {
|
|
213
213
|
const { alt: r, ctrl: a, meta: n, mod: o, shift: s, key: c } = e, { altKey: g, ctrlKey: d, metaKey: h, shiftKey: m, key: u } = t;
|
|
214
214
|
if (r !== g)
|
|
215
215
|
return !1;
|
|
@@ -220,20 +220,20 @@ function Va(e, t) {
|
|
|
220
220
|
return !1;
|
|
221
221
|
return s !== m ? !1 : !!(c && (u.toLowerCase() === c.toLowerCase() || t.code.replace("Key", "").toLowerCase() === c.toLowerCase()));
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
return (t) =>
|
|
223
|
+
function Va(e) {
|
|
224
|
+
return (t) => Pa(Da(e), t);
|
|
225
225
|
}
|
|
226
226
|
function Ua(e) {
|
|
227
227
|
return (t) => {
|
|
228
228
|
const r = "nativeEvent" in t ? t.nativeEvent : t;
|
|
229
229
|
e.forEach(([a, n, o = { preventDefault: !0 }]) => {
|
|
230
|
-
|
|
230
|
+
Va(a)(r) && (o.preventDefault && t.preventDefault(), n(r));
|
|
231
231
|
});
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
234
|
function Fa() {
|
|
235
|
-
const e =
|
|
236
|
-
return
|
|
235
|
+
const e = A(!1);
|
|
236
|
+
return O(() => (e.current = !0, () => {
|
|
237
237
|
e.current = !1;
|
|
238
238
|
}), []), K(() => e.current, []);
|
|
239
239
|
}
|
|
@@ -267,7 +267,7 @@ function jt({
|
|
|
267
267
|
}, [t, a]), o = K(() => {
|
|
268
268
|
a(null);
|
|
269
269
|
}, [a]);
|
|
270
|
-
return
|
|
270
|
+
return O(() => {
|
|
271
271
|
try {
|
|
272
272
|
Gt(e) === null && typeof t < "u" && Wt(e, t);
|
|
273
273
|
} catch (s) {
|
|
@@ -294,13 +294,13 @@ const ja = {
|
|
|
294
294
|
right: 0
|
|
295
295
|
};
|
|
296
296
|
function qa(e) {
|
|
297
|
-
const t = Fa(), r =
|
|
297
|
+
const t = Fa(), r = A(0), a = A(null), [n, o] = W(ja), s = bt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
|
|
298
298
|
const g = c[0];
|
|
299
299
|
g && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
|
300
300
|
a.current && t() && o(g.contentRect);
|
|
301
301
|
}));
|
|
302
302
|
}), [t]);
|
|
303
|
-
return
|
|
303
|
+
return O(() => (a.current && (s == null || s.observe(a.current, e)), () => {
|
|
304
304
|
s == null || s.disconnect(), r.current && cancelAnimationFrame(r.current);
|
|
305
305
|
}), [s, e]), [a, n];
|
|
306
306
|
}
|
|
@@ -317,7 +317,7 @@ function Ka({
|
|
|
317
317
|
), d = (h) => {
|
|
318
318
|
g(h), a == null || a(h);
|
|
319
319
|
};
|
|
320
|
-
return
|
|
320
|
+
return O(() => {
|
|
321
321
|
(async () => e !== void 0 && !o && n > 0 && (await new Promise(
|
|
322
322
|
(h) => setTimeout(h, n)
|
|
323
323
|
), s(!0)))();
|
|
@@ -327,19 +327,19 @@ function Ja(e) {
|
|
|
327
327
|
return ua();
|
|
328
328
|
}
|
|
329
329
|
/*!
|
|
330
|
-
@versini/ui-table v3.0.
|
|
330
|
+
@versini/ui-table v3.0.9
|
|
331
331
|
© 2025 gizmette.com
|
|
332
332
|
*/
|
|
333
333
|
try {
|
|
334
334
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
335
|
-
version: "3.0.
|
|
336
|
-
buildTime: "01/13/2025
|
|
335
|
+
version: "3.0.9",
|
|
336
|
+
buildTime: "01/13/2025 01:16 PM EST",
|
|
337
337
|
homepage: "https://github.com/aversini/ui-components",
|
|
338
338
|
license: "MIT"
|
|
339
339
|
});
|
|
340
340
|
} catch {
|
|
341
341
|
}
|
|
342
|
-
const
|
|
342
|
+
const Ae = "thead", yt = "tfoot", me = "tbody", be = {
|
|
343
343
|
ASC: "asc",
|
|
344
344
|
DESC: "desc"
|
|
345
345
|
}, Ya = ({
|
|
@@ -407,7 +407,7 @@ const Be = "thead", yt = "tfoot", me = "tbody", be = {
|
|
|
407
407
|
mode: e,
|
|
408
408
|
className: t,
|
|
409
409
|
cellWrapper: r
|
|
410
|
-
}) => r ===
|
|
410
|
+
}) => r === Ae || r === yt ? l(
|
|
411
411
|
{
|
|
412
412
|
"bg-table-head-dark": e === "dark" || e === "system",
|
|
413
413
|
"bg-table-head-light": e === "light" || e === "alt-system",
|
|
@@ -446,7 +446,7 @@ const Be = "thead", yt = "tfoot", me = "tbody", be = {
|
|
|
446
446
|
"text-copy-dark": a === "light" || a === "alt-system",
|
|
447
447
|
"dark:text-copy-dark": a === "system",
|
|
448
448
|
"dark:text-copy-light": a === "alt-system",
|
|
449
|
-
"px-4 py-3": !r && (e ===
|
|
449
|
+
"px-4 py-3": !r && (e === Ae || e === yt),
|
|
450
450
|
"p-4": !r && e === me,
|
|
451
451
|
"px-2 py-1.5": r
|
|
452
452
|
},
|
|
@@ -454,7 +454,7 @@ const Be = "thead", yt = "tfoot", me = "tbody", be = {
|
|
|
454
454
|
)
|
|
455
455
|
}), tn = ({
|
|
456
456
|
buttonClassName: e
|
|
457
|
-
}) => l("rounded-none text-sm", e), qt = "av-button", vt = "icon", vr = "button",
|
|
457
|
+
}) => l("rounded-none text-sm", e), qt = "av-button", vt = "icon", vr = "button", rt = "link", rn = ({
|
|
458
458
|
type: e,
|
|
459
459
|
size: t,
|
|
460
460
|
labelRight: r,
|
|
@@ -464,7 +464,7 @@ const Be = "thead", yt = "tfoot", me = "tbody", be = {
|
|
|
464
464
|
const o = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
|
|
465
465
|
switch (e) {
|
|
466
466
|
case vr:
|
|
467
|
-
case
|
|
467
|
+
case rt:
|
|
468
468
|
return l({
|
|
469
469
|
[o]: t === "small",
|
|
470
470
|
[s]: t === "medium",
|
|
@@ -492,9 +492,9 @@ const Be = "thead", yt = "tfoot", me = "tbody", be = {
|
|
|
492
492
|
const n = "text-sm font-medium", o = "text-base font-medium", s = "text-lg font-medium";
|
|
493
493
|
switch (e) {
|
|
494
494
|
case vr:
|
|
495
|
-
case
|
|
495
|
+
case rt:
|
|
496
496
|
return l({
|
|
497
|
-
"text-center": e ===
|
|
497
|
+
"text-center": e === rt,
|
|
498
498
|
[n]: t === "small",
|
|
499
499
|
[o]: t === "medium",
|
|
500
500
|
[s]: t === "large"
|
|
@@ -737,13 +737,13 @@ const Be = "thead", yt = "tfoot", me = "tbody", be = {
|
|
|
737
737
|
});
|
|
738
738
|
kr.displayName = "BaseButton";
|
|
739
739
|
/*!
|
|
740
|
-
@versini/ui-button v4.0.
|
|
740
|
+
@versini/ui-button v4.0.8
|
|
741
741
|
© 2025 gizmette.com
|
|
742
742
|
*/
|
|
743
743
|
try {
|
|
744
744
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
745
|
-
version: "4.0.
|
|
746
|
-
buildTime: "01/13/2025
|
|
745
|
+
version: "4.0.8",
|
|
746
|
+
buildTime: "01/13/2025 01:16 PM EST",
|
|
747
747
|
homepage: "https://github.com/aversini/ui-components",
|
|
748
748
|
license: "MIT"
|
|
749
749
|
});
|
|
@@ -839,7 +839,7 @@ const kt = ({
|
|
|
839
839
|
...g
|
|
840
840
|
}) => {
|
|
841
841
|
const d = l(o, a);
|
|
842
|
-
return /* @__PURE__ */ x(
|
|
842
|
+
return /* @__PURE__ */ x(ht, { children: [
|
|
843
843
|
/* @__PURE__ */ i(
|
|
844
844
|
"svg",
|
|
845
845
|
{
|
|
@@ -858,13 +858,13 @@ const kt = ({
|
|
|
858
858
|
] });
|
|
859
859
|
};
|
|
860
860
|
/*!
|
|
861
|
-
@versini/ui-svgicon v4.0.
|
|
861
|
+
@versini/ui-svgicon v4.0.2
|
|
862
862
|
© 2025 gizmette.com
|
|
863
863
|
*/
|
|
864
864
|
try {
|
|
865
865
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
866
|
-
version: "4.0.
|
|
867
|
-
buildTime: "01/13/2025
|
|
866
|
+
version: "4.0.2",
|
|
867
|
+
buildTime: "01/13/2025 01:15 PM EST",
|
|
868
868
|
homepage: "https://github.com/aversini/ui-components",
|
|
869
869
|
license: "MIT"
|
|
870
870
|
});
|
|
@@ -971,13 +971,13 @@ const hn = ({
|
|
|
971
971
|
}
|
|
972
972
|
);
|
|
973
973
|
/*!
|
|
974
|
-
@versini/ui-icons v4.4.
|
|
974
|
+
@versini/ui-icons v4.4.1
|
|
975
975
|
© 2025 gizmette.com
|
|
976
976
|
*/
|
|
977
977
|
try {
|
|
978
978
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
979
|
-
version: "4.4.
|
|
980
|
-
buildTime: "01/13/2025
|
|
979
|
+
version: "4.4.1",
|
|
980
|
+
buildTime: "01/13/2025 01:15 PM EST",
|
|
981
981
|
homepage: "https://github.com/aversini/ui-components",
|
|
982
982
|
license: "MIT"
|
|
983
983
|
});
|
|
@@ -1034,7 +1034,7 @@ const ge = M.createContext({
|
|
|
1034
1034
|
...r
|
|
1035
1035
|
}) => {
|
|
1036
1036
|
const a = B(ge);
|
|
1037
|
-
a.cellWrapper =
|
|
1037
|
+
a.cellWrapper = Ae;
|
|
1038
1038
|
const n = Za({
|
|
1039
1039
|
className: t,
|
|
1040
1040
|
mode: a.mode,
|
|
@@ -1075,7 +1075,7 @@ const ge = M.createContext({
|
|
|
1075
1075
|
align: a,
|
|
1076
1076
|
...n
|
|
1077
1077
|
}) => {
|
|
1078
|
-
const o = B(ge), s = t || (o.cellWrapper ===
|
|
1078
|
+
const o = B(ge), s = t || (o.cellWrapper === Ae ? "th" : "td"), { mainClasses: c, alignClasses: g } = en({
|
|
1079
1079
|
cellWrapper: o.cellWrapper,
|
|
1080
1080
|
className: r,
|
|
1081
1081
|
mode: o.mode,
|
|
@@ -1129,15 +1129,15 @@ for (let e = 0; e < 256; ++e)
|
|
|
1129
1129
|
function yn(e, t = 0) {
|
|
1130
1130
|
return ($[e[t + 0]] + $[e[t + 1]] + $[e[t + 2]] + $[e[t + 3]] + "-" + $[e[t + 4]] + $[e[t + 5]] + "-" + $[e[t + 6]] + $[e[t + 7]] + "-" + $[e[t + 8]] + $[e[t + 9]] + "-" + $[e[t + 10]] + $[e[t + 11]] + $[e[t + 12]] + $[e[t + 13]] + $[e[t + 14]] + $[e[t + 15]]).toLowerCase();
|
|
1131
1131
|
}
|
|
1132
|
-
let
|
|
1132
|
+
let We;
|
|
1133
1133
|
const vn = new Uint8Array(16);
|
|
1134
1134
|
function kn() {
|
|
1135
|
-
if (!
|
|
1135
|
+
if (!We) {
|
|
1136
1136
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
1137
1137
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
1138
|
-
|
|
1138
|
+
We = crypto.getRandomValues.bind(crypto);
|
|
1139
1139
|
}
|
|
1140
|
-
return
|
|
1140
|
+
return We(vn);
|
|
1141
1141
|
}
|
|
1142
1142
|
const _n = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Kt = { randomUUID: _n };
|
|
1143
1143
|
function _t(e, t, r) {
|
|
@@ -1273,7 +1273,7 @@ const En = (e, t) => {
|
|
|
1273
1273
|
return e;
|
|
1274
1274
|
}
|
|
1275
1275
|
};
|
|
1276
|
-
var Ce = { exports: {} },
|
|
1276
|
+
var Ce = { exports: {} }, Ge = {};
|
|
1277
1277
|
/**
|
|
1278
1278
|
* @license React
|
|
1279
1279
|
* use-sync-external-store-shim.production.js
|
|
@@ -1285,7 +1285,7 @@ var Ce = { exports: {} }, je = {};
|
|
|
1285
1285
|
*/
|
|
1286
1286
|
var Jt;
|
|
1287
1287
|
function wn() {
|
|
1288
|
-
if (Jt) return
|
|
1288
|
+
if (Jt) return Ge;
|
|
1289
1289
|
Jt = 1;
|
|
1290
1290
|
var e = M;
|
|
1291
1291
|
function t(m, u) {
|
|
@@ -1322,9 +1322,9 @@ function wn() {
|
|
|
1322
1322
|
return u();
|
|
1323
1323
|
}
|
|
1324
1324
|
var h = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? d : c;
|
|
1325
|
-
return
|
|
1325
|
+
return Ge.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : h, Ge;
|
|
1326
1326
|
}
|
|
1327
|
-
var
|
|
1327
|
+
var je = {};
|
|
1328
1328
|
/**
|
|
1329
1329
|
* @license React
|
|
1330
1330
|
* use-sync-external-store-shim.development.js
|
|
@@ -1384,15 +1384,15 @@ function Tn() {
|
|
|
1384
1384
|
}
|
|
1385
1385
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
1386
1386
|
var n = M, o = typeof Object.is == "function" ? Object.is : e, s = n.useState, c = n.useEffect, g = n.useLayoutEffect, d = n.useDebugValue, h = !1, m = !1, u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? a : t;
|
|
1387
|
-
|
|
1388
|
-
}()),
|
|
1387
|
+
je.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1388
|
+
}()), je;
|
|
1389
1389
|
}
|
|
1390
1390
|
var Zt;
|
|
1391
1391
|
function Nn() {
|
|
1392
1392
|
return Zt || (Zt = 1, process.env.NODE_ENV === "production" ? Ce.exports = /* @__PURE__ */ wn() : Ce.exports = /* @__PURE__ */ Tn()), Ce.exports;
|
|
1393
1393
|
}
|
|
1394
1394
|
var Cn = /* @__PURE__ */ Nn(), Xt = Object.prototype.hasOwnProperty;
|
|
1395
|
-
function
|
|
1395
|
+
function at(e, t) {
|
|
1396
1396
|
var r, a;
|
|
1397
1397
|
if (e === t) return !0;
|
|
1398
1398
|
if (e && t && (r = e.constructor) === t.constructor) {
|
|
@@ -1400,96 +1400,96 @@ function nt(e, t) {
|
|
|
1400
1400
|
if (r === RegExp) return e.toString() === t.toString();
|
|
1401
1401
|
if (r === Array) {
|
|
1402
1402
|
if ((a = e.length) === t.length)
|
|
1403
|
-
for (; a-- &&
|
|
1403
|
+
for (; a-- && at(e[a], t[a]); ) ;
|
|
1404
1404
|
return a === -1;
|
|
1405
1405
|
}
|
|
1406
1406
|
if (!r || typeof e == "object") {
|
|
1407
1407
|
a = 0;
|
|
1408
1408
|
for (r in e)
|
|
1409
|
-
if (Xt.call(e, r) && ++a && !Xt.call(t, r) || !(r in t) || !
|
|
1409
|
+
if (Xt.call(e, r) && ++a && !Xt.call(t, r) || !(r in t) || !at(e[r], t[r])) return !1;
|
|
1410
1410
|
return Object.keys(t).length === a;
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
1413
|
return e !== e && t !== t;
|
|
1414
1414
|
}
|
|
1415
1415
|
const j = /* @__PURE__ */ new WeakMap(), oe = () => {
|
|
1416
|
-
},
|
|
1416
|
+
}, V = (
|
|
1417
1417
|
/*#__NOINLINE__*/
|
|
1418
1418
|
oe()
|
|
1419
|
-
),
|
|
1419
|
+
), nt = Object, E = (e) => e === V, q = (e) => typeof e == "function", se = (e, t) => ({
|
|
1420
1420
|
...e,
|
|
1421
1421
|
...t
|
|
1422
|
-
}), Er = (e) => q(e.then),
|
|
1422
|
+
}), Er = (e) => q(e.then), qe = {}, Re = {}, Et = "undefined", Be = typeof window != Et, ot = typeof document != Et, Rn = () => Be && typeof window.requestAnimationFrame != Et, xr = (e, t) => {
|
|
1423
1423
|
const r = j.get(e);
|
|
1424
1424
|
return [
|
|
1425
1425
|
// Getter
|
|
1426
|
-
() => !E(t) && e.get(t) ||
|
|
1426
|
+
() => !E(t) && e.get(t) || qe,
|
|
1427
1427
|
// Setter
|
|
1428
1428
|
(a) => {
|
|
1429
1429
|
if (!E(t)) {
|
|
1430
1430
|
const n = e.get(t);
|
|
1431
|
-
t in Re || (Re[t] = n), r[5](t, se(n, a), n ||
|
|
1431
|
+
t in Re || (Re[t] = n), r[5](t, se(n, a), n || qe);
|
|
1432
1432
|
}
|
|
1433
1433
|
},
|
|
1434
1434
|
// Subscriber
|
|
1435
1435
|
r[6],
|
|
1436
1436
|
// Get server cache snapshot
|
|
1437
|
-
() => !E(t) && t in Re ? Re[t] : !E(t) && e.get(t) ||
|
|
1437
|
+
() => !E(t) && t in Re ? Re[t] : !E(t) && e.get(t) || qe
|
|
1438
1438
|
];
|
|
1439
1439
|
};
|
|
1440
|
-
let
|
|
1441
|
-
const In = () =>
|
|
1440
|
+
let st = !0;
|
|
1441
|
+
const In = () => st, [it, ct] = Be && window.addEventListener ? [
|
|
1442
1442
|
window.addEventListener.bind(window),
|
|
1443
1443
|
window.removeEventListener.bind(window)
|
|
1444
1444
|
] : [
|
|
1445
1445
|
oe,
|
|
1446
1446
|
oe
|
|
1447
1447
|
], Ln = () => {
|
|
1448
|
-
const e =
|
|
1448
|
+
const e = ot && document.visibilityState;
|
|
1449
1449
|
return E(e) || e !== "hidden";
|
|
1450
|
-
},
|
|
1451
|
-
|
|
1452
|
-
}),
|
|
1450
|
+
}, On = (e) => (ot && document.addEventListener("visibilitychange", e), it("focus", e), () => {
|
|
1451
|
+
ot && document.removeEventListener("visibilitychange", e), ct("focus", e);
|
|
1452
|
+
}), An = (e) => {
|
|
1453
1453
|
const t = () => {
|
|
1454
|
-
|
|
1454
|
+
st = !0, e();
|
|
1455
1455
|
}, r = () => {
|
|
1456
|
-
|
|
1456
|
+
st = !1;
|
|
1457
1457
|
};
|
|
1458
|
-
return
|
|
1459
|
-
|
|
1458
|
+
return it("online", t), it("offline", r), () => {
|
|
1459
|
+
ct("online", t), ct("offline", r);
|
|
1460
1460
|
};
|
|
1461
1461
|
}, Bn = {
|
|
1462
1462
|
isOnline: In,
|
|
1463
1463
|
isVisible: Ln
|
|
1464
1464
|
}, Mn = {
|
|
1465
|
-
initFocus:
|
|
1466
|
-
initReconnect:
|
|
1467
|
-
}, Qt = !M.useId, _e = !
|
|
1465
|
+
initFocus: On,
|
|
1466
|
+
initReconnect: An
|
|
1467
|
+
}, Qt = !M.useId, _e = !Be || "Deno" in globalThis, zn = (e) => Rn() ? window.requestAnimationFrame(e) : setTimeout(e, 1), Ke = _e ? O : mr, Je = typeof navigator < "u" && navigator.connection, er = !_e && Je && ([
|
|
1468
1468
|
"slow-2g",
|
|
1469
1469
|
"2g"
|
|
1470
|
-
].includes(
|
|
1470
|
+
].includes(Je.effectiveType) || Je.saveData), Ie = /* @__PURE__ */ new WeakMap(), Ye = (e, t) => nt.prototype.toString.call(e) === `[object ${t}]`;
|
|
1471
1471
|
let $n = 0;
|
|
1472
|
-
const
|
|
1473
|
-
const t = typeof e, r =
|
|
1472
|
+
const lt = (e) => {
|
|
1473
|
+
const t = typeof e, r = Ye(e, "Date"), a = Ye(e, "RegExp"), n = Ye(e, "Object");
|
|
1474
1474
|
let o, s;
|
|
1475
|
-
if (
|
|
1475
|
+
if (nt(e) === e && !r && !a) {
|
|
1476
1476
|
if (o = Ie.get(e), o) return o;
|
|
1477
1477
|
if (o = ++$n + "~", Ie.set(e, o), Array.isArray(e)) {
|
|
1478
1478
|
for (o = "@", s = 0; s < e.length; s++)
|
|
1479
|
-
o +=
|
|
1479
|
+
o += lt(e[s]) + ",";
|
|
1480
1480
|
Ie.set(e, o);
|
|
1481
1481
|
}
|
|
1482
1482
|
if (n) {
|
|
1483
1483
|
o = "#";
|
|
1484
|
-
const c =
|
|
1484
|
+
const c = nt.keys(e).sort();
|
|
1485
1485
|
for (; !E(s = c.pop()); )
|
|
1486
|
-
E(e[s]) || (o += s + ":" +
|
|
1486
|
+
E(e[s]) || (o += s + ":" + lt(e[s]) + ",");
|
|
1487
1487
|
Ie.set(e, o);
|
|
1488
1488
|
}
|
|
1489
1489
|
} else
|
|
1490
1490
|
o = r ? e.toJSON() : t == "symbol" ? e.toString() : t == "string" ? JSON.stringify(e) : "" + e;
|
|
1491
1491
|
return o;
|
|
1492
|
-
},
|
|
1492
|
+
}, Me = (e) => {
|
|
1493
1493
|
if (q(e))
|
|
1494
1494
|
try {
|
|
1495
1495
|
e = e();
|
|
@@ -1497,16 +1497,16 @@ const dt = (e) => {
|
|
|
1497
1497
|
e = "";
|
|
1498
1498
|
}
|
|
1499
1499
|
const t = e;
|
|
1500
|
-
return e = typeof e == "string" ? e : (Array.isArray(e) ? e.length : e) ?
|
|
1500
|
+
return e = typeof e == "string" ? e : (Array.isArray(e) ? e.length : e) ? lt(e) : "", [
|
|
1501
1501
|
e,
|
|
1502
1502
|
t
|
|
1503
1503
|
];
|
|
1504
1504
|
};
|
|
1505
1505
|
let Dn = 0;
|
|
1506
|
-
const
|
|
1506
|
+
const dt = () => ++Dn, Sr = 0, wr = 1, Tr = 2, Pn = 3;
|
|
1507
1507
|
var pe = {
|
|
1508
1508
|
__proto__: null,
|
|
1509
|
-
ERROR_REVALIDATE_EVENT:
|
|
1509
|
+
ERROR_REVALIDATE_EVENT: Pn,
|
|
1510
1510
|
FOCUS_EVENT: Sr,
|
|
1511
1511
|
MUTATE_EVENT: Tr,
|
|
1512
1512
|
RECONNECT_EVENT: wr
|
|
@@ -1531,7 +1531,7 @@ async function Nr(...e) {
|
|
|
1531
1531
|
}
|
|
1532
1532
|
return m(r);
|
|
1533
1533
|
async function m(u) {
|
|
1534
|
-
const [f] =
|
|
1534
|
+
const [f] = Me(u);
|
|
1535
1535
|
if (!f) return;
|
|
1536
1536
|
const [p, b] = xr(t, f), [v, y, _, S] = j.get(t), N = () => {
|
|
1537
1537
|
const U = v[f];
|
|
@@ -1540,7 +1540,7 @@ async function Nr(...e) {
|
|
|
1540
1540
|
if (e.length < 3)
|
|
1541
1541
|
return N();
|
|
1542
1542
|
let k = a, C;
|
|
1543
|
-
const I =
|
|
1543
|
+
const I = dt();
|
|
1544
1544
|
y[f] = [
|
|
1545
1545
|
I,
|
|
1546
1546
|
0
|
|
@@ -1563,25 +1563,25 @@ async function Nr(...e) {
|
|
|
1563
1563
|
return k;
|
|
1564
1564
|
} else C && R && d(C) && (s = !0, b({
|
|
1565
1565
|
data: J,
|
|
1566
|
-
_c:
|
|
1566
|
+
_c: V
|
|
1567
1567
|
}));
|
|
1568
1568
|
if (s && !C)
|
|
1569
1569
|
if (q(s)) {
|
|
1570
1570
|
const U = s(k, J);
|
|
1571
1571
|
b({
|
|
1572
1572
|
data: U,
|
|
1573
|
-
error:
|
|
1574
|
-
_c:
|
|
1573
|
+
error: V,
|
|
1574
|
+
_c: V
|
|
1575
1575
|
});
|
|
1576
1576
|
} else
|
|
1577
1577
|
b({
|
|
1578
1578
|
data: k,
|
|
1579
|
-
error:
|
|
1580
|
-
_c:
|
|
1579
|
+
error: V,
|
|
1580
|
+
_c: V
|
|
1581
1581
|
});
|
|
1582
|
-
if (y[f][1] =
|
|
1582
|
+
if (y[f][1] = dt(), Promise.resolve(N()).then(() => {
|
|
1583
1583
|
b({
|
|
1584
|
-
_c:
|
|
1584
|
+
_c: V
|
|
1585
1585
|
});
|
|
1586
1586
|
}), C) {
|
|
1587
1587
|
if (h) throw C;
|
|
@@ -1593,9 +1593,9 @@ async function Nr(...e) {
|
|
|
1593
1593
|
const tr = (e, t) => {
|
|
1594
1594
|
for (const r in e)
|
|
1595
1595
|
e[r][0] && e[r][0](t);
|
|
1596
|
-
},
|
|
1596
|
+
}, Vn = (e, t) => {
|
|
1597
1597
|
if (!j.has(e)) {
|
|
1598
|
-
const r = se(Mn, t), a = {}, n = Nr.bind(
|
|
1598
|
+
const r = se(Mn, t), a = {}, n = Nr.bind(V, e);
|
|
1599
1599
|
let o = oe;
|
|
1600
1600
|
const s = {}, c = (h, m) => {
|
|
1601
1601
|
const u = s[h] || [];
|
|
@@ -1616,7 +1616,7 @@ const tr = (e, t) => {
|
|
|
1616
1616
|
g,
|
|
1617
1617
|
c
|
|
1618
1618
|
]), !_e)) {
|
|
1619
|
-
const h = r.initFocus(setTimeout.bind(
|
|
1619
|
+
const h = r.initFocus(setTimeout.bind(V, tr.bind(V, a, Sr))), m = r.initReconnect(setTimeout.bind(V, tr.bind(V, a, wr)));
|
|
1620
1620
|
o = () => {
|
|
1621
1621
|
h && h(), m && m(), j.delete(e);
|
|
1622
1622
|
};
|
|
@@ -1636,7 +1636,7 @@ const tr = (e, t) => {
|
|
|
1636
1636
|
}, Un = (e, t, r, a, n) => {
|
|
1637
1637
|
const o = r.errorRetryCount, s = n.retryCount, c = ~~((Math.random() + 0.5) * (1 << (s < 8 ? s : 8))) * r.errorRetryInterval;
|
|
1638
1638
|
!E(o) && s > o || setTimeout(a, c, n);
|
|
1639
|
-
}, Fn =
|
|
1639
|
+
}, Fn = at, [xt, Hn] = Vn(/* @__PURE__ */ new Map()), Wn = se(
|
|
1640
1640
|
{
|
|
1641
1641
|
// events
|
|
1642
1642
|
onLoadingSlow: oe,
|
|
@@ -1670,7 +1670,7 @@ const tr = (e, t) => {
|
|
|
1670
1670
|
a && o && (r.use = a.concat(o)), n && s && (r.fallback = se(n, s));
|
|
1671
1671
|
}
|
|
1672
1672
|
return r;
|
|
1673
|
-
}, jn = ma({}), qn = "$inf$", Cr =
|
|
1673
|
+
}, jn = ma({}), qn = "$inf$", Cr = Be && window.__SWR_DEVTOOLS_USE__, Kn = Cr ? window.__SWR_DEVTOOLS_USE__ : [], Jn = () => {
|
|
1674
1674
|
Cr && (window.__SWR_DEVTOOLS_REACT__ = M);
|
|
1675
1675
|
}, Yn = (e) => q(e[1]) ? [
|
|
1676
1676
|
e[0],
|
|
@@ -1681,12 +1681,12 @@ const tr = (e, t) => {
|
|
|
1681
1681
|
null,
|
|
1682
1682
|
(e[1] === null ? e[2] : e[1]) || {}
|
|
1683
1683
|
], Zn = () => se(Wn, B(jn)), St = (e, t) => {
|
|
1684
|
-
const [r, a] =
|
|
1684
|
+
const [r, a] = Me(e), [, , , n] = j.get(xt);
|
|
1685
1685
|
if (n[r]) return n[r];
|
|
1686
1686
|
const o = t(a);
|
|
1687
1687
|
return n[r] = o, o;
|
|
1688
1688
|
}, Xn = (e) => (t, r, a) => e(t, r && ((...o) => {
|
|
1689
|
-
const [s] =
|
|
1689
|
+
const [s] = Me(t), [, , , c] = j.get(xt);
|
|
1690
1690
|
if (s.startsWith(qn))
|
|
1691
1691
|
return r(...o);
|
|
1692
1692
|
const g = c[s];
|
|
@@ -1706,7 +1706,7 @@ const tr = (e, t) => {
|
|
|
1706
1706
|
};
|
|
1707
1707
|
};
|
|
1708
1708
|
Jn();
|
|
1709
|
-
const
|
|
1709
|
+
const Ze = M.use || // This extra generic is to avoid TypeScript mixing up the generic and JSX sytax
|
|
1710
1710
|
// and emitting an error.
|
|
1711
1711
|
// We assume that this is only for the `use(thenable)` case, not `use(context)`.
|
|
1712
1712
|
// https://github.com/facebook/react/blob/aed00dacfb79d17c53218404c52b1c7aa59c4a89/packages/react-server/src/ReactFizzThenable.js#L45
|
|
@@ -1725,10 +1725,10 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1725
1725
|
e.status = "rejected", e.reason = t;
|
|
1726
1726
|
}), e;
|
|
1727
1727
|
}
|
|
1728
|
-
}),
|
|
1728
|
+
}), Xe = {
|
|
1729
1729
|
dedupe: !0
|
|
1730
1730
|
}, ro = (e, t, r) => {
|
|
1731
|
-
const { cache: a, compare: n, suspense: o, fallbackData: s, revalidateOnMount: c, revalidateIfStale: g, refreshInterval: d, refreshWhenHidden: h, refreshWhenOffline: m, keepPreviousData: u } = r, [f, p, b, v] = j.get(a), [y, _] =
|
|
1731
|
+
const { cache: a, compare: n, suspense: o, fallbackData: s, revalidateOnMount: c, revalidateIfStale: g, refreshInterval: d, refreshWhenHidden: h, refreshWhenOffline: m, keepPreviousData: u } = r, [f, p, b, v] = j.get(a), [y, _] = Me(e), S = A(!1), N = A(!1), k = A(y), C = A(t), I = A(r), R = () => I.current, Q = () => R().isVisible() && R().isOnline(), [F, ee, J, U] = xr(a, y), te = A({}).current, ce = E(s) ? E(r.fallback) ? V : r.fallback[y] : s, he = (w, T) => {
|
|
1732
1732
|
for (const D in te) {
|
|
1733
1733
|
const L = D;
|
|
1734
1734
|
if (L === "data") {
|
|
@@ -1739,8 +1739,8 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1739
1739
|
}
|
|
1740
1740
|
return !0;
|
|
1741
1741
|
}, we = bt(() => {
|
|
1742
|
-
const w = !y || !t ? !1 : E(c) ? R().isPaused() || o ? !1 : g !== !1 : c, T = (
|
|
1743
|
-
const Y = se(
|
|
1742
|
+
const w = !y || !t ? !1 : E(c) ? R().isPaused() || o ? !1 : g !== !1 : c, T = (P) => {
|
|
1743
|
+
const Y = se(P);
|
|
1744
1744
|
return delete Y._k, w ? {
|
|
1745
1745
|
isValidating: !0,
|
|
1746
1746
|
isLoading: !0,
|
|
@@ -1750,8 +1750,8 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1750
1750
|
let z = G;
|
|
1751
1751
|
return [
|
|
1752
1752
|
() => {
|
|
1753
|
-
const
|
|
1754
|
-
return he(
|
|
1753
|
+
const P = T(F());
|
|
1754
|
+
return he(P, z) ? (z.data = P.data, z.isLoading = P.isLoading, z.isValidating = P.isValidating, z.error = P.error, z) : (z = P, P);
|
|
1755
1755
|
},
|
|
1756
1756
|
() => ue
|
|
1757
1757
|
];
|
|
@@ -1767,13 +1767,13 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1767
1767
|
a,
|
|
1768
1768
|
y
|
|
1769
1769
|
]
|
|
1770
|
-
), we[0], we[1]), ae = !S.current, Wr = f[y] && f[y].length > 0, le = re.data, de = E(le) ? ce && Er(ce) ?
|
|
1770
|
+
), we[0], we[1]), ae = !S.current, Wr = f[y] && f[y].length > 0, le = re.data, de = E(le) ? ce && Er(ce) ? Ze(ce) : ce : le, Te = re.error, It = A(de), Ne = u ? E(le) ? It.current : le : de, Lt = Wr && !E(Te) ? !1 : ae && !E(c) ? c : R().isPaused() ? !1 : o ? E(de) ? !1 : g : E(de) || g, Ot = !!(y && t && ae && Lt), Gr = E(re.isValidating) ? Ot : re.isValidating, jr = E(re.isLoading) ? Ot : re.isLoading, fe = K(
|
|
1771
1771
|
async (w) => {
|
|
1772
1772
|
const T = C.current;
|
|
1773
1773
|
if (!y || !T || N.current || R().isPaused())
|
|
1774
1774
|
return !1;
|
|
1775
1775
|
let D, L, G = !0;
|
|
1776
|
-
const ue = w || {}, z = !b[y] || !ue.dedupe,
|
|
1776
|
+
const ue = w || {}, z = !b[y] || !ue.dedupe, P = () => Qt ? !N.current && y === k.current && S.current : y === k.current, Y = {
|
|
1777
1777
|
isValidating: !1,
|
|
1778
1778
|
isLoading: !1
|
|
1779
1779
|
}, Bt = () => {
|
|
@@ -1787,27 +1787,27 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1787
1787
|
E(F().data) && (zt.isLoading = !0);
|
|
1788
1788
|
try {
|
|
1789
1789
|
if (z && (ee(zt), r.loadingTimeout && E(F().data) && setTimeout(() => {
|
|
1790
|
-
G &&
|
|
1790
|
+
G && P() && R().onLoadingSlow(y, r);
|
|
1791
1791
|
}, r.loadingTimeout), b[y] = [
|
|
1792
1792
|
T(_),
|
|
1793
|
-
|
|
1793
|
+
dt()
|
|
1794
1794
|
]), [D, L] = b[y], D = await D, z && setTimeout(Mt, r.dedupingInterval), !b[y] || b[y][1] !== L)
|
|
1795
|
-
return z &&
|
|
1796
|
-
Y.error =
|
|
1795
|
+
return z && P() && R().onDiscarded(y), !1;
|
|
1796
|
+
Y.error = V;
|
|
1797
1797
|
const H = p[y];
|
|
1798
1798
|
if (!E(H) && // case 1
|
|
1799
1799
|
(L <= H[0] || // case 2
|
|
1800
1800
|
L <= H[1] || // case 3
|
|
1801
1801
|
H[1] === 0))
|
|
1802
|
-
return Bt(), z &&
|
|
1802
|
+
return Bt(), z && P() && R().onDiscarded(y), !1;
|
|
1803
1803
|
const Z = F().data;
|
|
1804
|
-
Y.data = n(Z, D) ? Z : D, z &&
|
|
1804
|
+
Y.data = n(Z, D) ? Z : D, z && P() && R().onSuccess(D, y, r);
|
|
1805
1805
|
} catch (H) {
|
|
1806
1806
|
Mt();
|
|
1807
|
-
const Z = R(), { shouldRetryOnError:
|
|
1808
|
-
Z.isPaused() || (Y.error = H, z &&
|
|
1809
|
-
const
|
|
1810
|
-
|
|
1807
|
+
const Z = R(), { shouldRetryOnError: Ve } = Z;
|
|
1808
|
+
Z.isPaused() || (Y.error = H, z && P() && (Z.onError(H, y, Z), (Ve === !0 || q(Ve) && Ve(H)) && (!R().revalidateOnFocus || !R().revalidateOnReconnect || Q()) && Z.onErrorRetry(H, y, Z, (qr) => {
|
|
1809
|
+
const Ue = f[y];
|
|
1810
|
+
Ue && Ue[0] && Ue[0](pe.ERROR_REVALIDATE_EVENT, qr);
|
|
1811
1811
|
}, {
|
|
1812
1812
|
retryCount: (ue.retryCount || 0) + 1,
|
|
1813
1813
|
dedupe: !0
|
|
@@ -1830,17 +1830,17 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1830
1830
|
y,
|
|
1831
1831
|
a
|
|
1832
1832
|
]
|
|
1833
|
-
),
|
|
1833
|
+
), At = K(
|
|
1834
1834
|
// Use callback to make sure `keyRef.current` returns latest result every time
|
|
1835
1835
|
(...w) => Nr(a, k.current, ...w),
|
|
1836
1836
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1837
1837
|
[]
|
|
1838
1838
|
);
|
|
1839
|
-
if (
|
|
1839
|
+
if (Ke(() => {
|
|
1840
1840
|
C.current = t, I.current = r, E(le) || (It.current = le);
|
|
1841
|
-
}),
|
|
1841
|
+
}), Ke(() => {
|
|
1842
1842
|
if (!y) return;
|
|
1843
|
-
const w = fe.bind(
|
|
1843
|
+
const w = fe.bind(V, Xe);
|
|
1844
1844
|
let T = 0;
|
|
1845
1845
|
const L = to(y, f, (G, ue = {}) => {
|
|
1846
1846
|
if (G == pe.FOCUS_EVENT) {
|
|
@@ -1862,14 +1862,14 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1862
1862
|
};
|
|
1863
1863
|
}, [
|
|
1864
1864
|
y
|
|
1865
|
-
]),
|
|
1865
|
+
]), Ke(() => {
|
|
1866
1866
|
let w;
|
|
1867
1867
|
function T() {
|
|
1868
1868
|
const L = q(d) ? d(F().data) : d;
|
|
1869
1869
|
L && w !== -1 && (w = setTimeout(D, L));
|
|
1870
1870
|
}
|
|
1871
1871
|
function D() {
|
|
1872
|
-
!F().error && (h || R().isVisible()) && (m || R().isOnline()) ? fe(
|
|
1872
|
+
!F().error && (h || R().isVisible()) && (m || R().isOnline()) ? fe(Xe).then(T) : T();
|
|
1873
1873
|
}
|
|
1874
1874
|
return T(), () => {
|
|
1875
1875
|
w && (clearTimeout(w), w = -1);
|
|
@@ -1885,17 +1885,17 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
1885
1885
|
C.current = t, I.current = r, N.current = !1;
|
|
1886
1886
|
const w = v[y];
|
|
1887
1887
|
if (!E(w)) {
|
|
1888
|
-
const T =
|
|
1889
|
-
|
|
1888
|
+
const T = At(w);
|
|
1889
|
+
Ze(T);
|
|
1890
1890
|
}
|
|
1891
1891
|
if (E(Te)) {
|
|
1892
|
-
const T = fe(
|
|
1893
|
-
E(Ne) || (T.status = "fulfilled", T.value = !0),
|
|
1892
|
+
const T = fe(Xe);
|
|
1893
|
+
E(Ne) || (T.status = "fulfilled", T.value = !0), Ze(T);
|
|
1894
1894
|
} else
|
|
1895
1895
|
throw Te;
|
|
1896
1896
|
}
|
|
1897
1897
|
return {
|
|
1898
|
-
mutate:
|
|
1898
|
+
mutate: At,
|
|
1899
1899
|
get data() {
|
|
1900
1900
|
return te.data = !0, Ne;
|
|
1901
1901
|
},
|
|
@@ -2090,7 +2090,7 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2090
2090
|
},
|
|
2091
2091
|
body: JSON.stringify(r)
|
|
2092
2092
|
});
|
|
2093
|
-
},
|
|
2093
|
+
}, ze = ({
|
|
2094
2094
|
fetcher: e,
|
|
2095
2095
|
scope: t,
|
|
2096
2096
|
keys: r,
|
|
@@ -2103,7 +2103,7 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2103
2103
|
{ ...a }
|
|
2104
2104
|
);
|
|
2105
2105
|
return { data: o, error: s, isLoading: c, mutate: g };
|
|
2106
|
-
},
|
|
2106
|
+
}, $e = async ({
|
|
2107
2107
|
getAccessToken: e,
|
|
2108
2108
|
type: t,
|
|
2109
2109
|
params: r
|
|
@@ -2116,16 +2116,16 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2116
2116
|
if (n.status === 200 && n.errors === void 0)
|
|
2117
2117
|
return n.data;
|
|
2118
2118
|
throw new Error("An error occurred while fetching the data.");
|
|
2119
|
-
}, Lr = async ([e, t], r) =>
|
|
2119
|
+
}, Lr = async ([e, t], r) => $e({
|
|
2120
2120
|
getAccessToken: r,
|
|
2121
2121
|
type: Se.GET_USER_PREFERENCES,
|
|
2122
2122
|
params: {
|
|
2123
2123
|
user: t
|
|
2124
2124
|
}
|
|
2125
|
-
}),
|
|
2125
|
+
}), Or = ({
|
|
2126
2126
|
keys: e,
|
|
2127
2127
|
getAccessToken: t
|
|
2128
|
-
}) =>
|
|
2128
|
+
}) => ze({
|
|
2129
2129
|
fetcher: Lr,
|
|
2130
2130
|
scope: "/preferences",
|
|
2131
2131
|
keys: e,
|
|
@@ -2139,7 +2139,7 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2139
2139
|
["/preferences", ...e],
|
|
2140
2140
|
(r) => Lr(r, t)
|
|
2141
2141
|
);
|
|
2142
|
-
}, io = async ([e, t], r) =>
|
|
2142
|
+
}, io = async ([e, t], r) => $e({
|
|
2143
2143
|
getAccessToken: r,
|
|
2144
2144
|
type: Se.GET_CHATS_STATS,
|
|
2145
2145
|
params: {
|
|
@@ -2148,12 +2148,12 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2148
2148
|
}), _s = ({
|
|
2149
2149
|
keys: e,
|
|
2150
2150
|
getAccessToken: t
|
|
2151
|
-
}) =>
|
|
2151
|
+
}) => ze({
|
|
2152
2152
|
fetcher: io,
|
|
2153
2153
|
scope: "/stats",
|
|
2154
2154
|
keys: e,
|
|
2155
2155
|
getAccessToken: t
|
|
2156
|
-
}),
|
|
2156
|
+
}), Ar = async ([e, t, r, a], n) => $e({
|
|
2157
2157
|
getAccessToken: n,
|
|
2158
2158
|
type: Se.GET_CHATS,
|
|
2159
2159
|
params: {
|
|
@@ -2166,8 +2166,8 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2166
2166
|
}), Es = ({
|
|
2167
2167
|
keys: e,
|
|
2168
2168
|
getAccessToken: t
|
|
2169
|
-
}) =>
|
|
2170
|
-
fetcher:
|
|
2169
|
+
}) => ze({
|
|
2170
|
+
fetcher: Ar,
|
|
2171
2171
|
scope: "/history",
|
|
2172
2172
|
keys: e,
|
|
2173
2173
|
getAccessToken: t,
|
|
@@ -2179,13 +2179,13 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2179
2179
|
keys: e,
|
|
2180
2180
|
getAccessToken: t
|
|
2181
2181
|
}) => {
|
|
2182
|
-
St(["/history", ...e], (r) =>
|
|
2183
|
-
}, Br = async ([e], t) =>
|
|
2182
|
+
St(["/history", ...e], (r) => Ar(r, t));
|
|
2183
|
+
}, Br = async ([e], t) => $e({
|
|
2184
2184
|
getAccessToken: t,
|
|
2185
2185
|
type: Se.GET_SERVER_CAPABILITIES
|
|
2186
2186
|
}), xs = ({
|
|
2187
2187
|
getAccessToken: e
|
|
2188
|
-
}) =>
|
|
2188
|
+
}) => ze({
|
|
2189
2189
|
fetcher: Br,
|
|
2190
2190
|
scope: "/capabilities",
|
|
2191
2191
|
keys: [],
|
|
@@ -2216,19 +2216,19 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2216
2216
|
state: { searchString: "", sortedCell: "", sortDirection: "" },
|
|
2217
2217
|
dispatch: () => {
|
|
2218
2218
|
}
|
|
2219
|
-
}),
|
|
2219
|
+
}), De = M.createContext({
|
|
2220
2220
|
state: { prompt: "", lastTriggeredTimestamp: 0 },
|
|
2221
2221
|
dispatch: () => {
|
|
2222
2222
|
}
|
|
2223
2223
|
}), ho = ({
|
|
2224
2224
|
className: e
|
|
2225
2225
|
}) => {
|
|
2226
|
-
const { state: t, dispatch: r } = B(X), a =
|
|
2226
|
+
const { state: t, dispatch: r } = B(X), a = A(null), n = A(!1), o = (s) => {
|
|
2227
2227
|
s.preventDefault(), r({
|
|
2228
2228
|
type: ft
|
|
2229
2229
|
});
|
|
2230
2230
|
};
|
|
2231
|
-
return
|
|
2231
|
+
return O(() => {
|
|
2232
2232
|
var s;
|
|
2233
2233
|
(t == null ? void 0 : t.streaming) === !0 && !n.current && a.current && (n.current = !0, a.current.focus()), (t == null ? void 0 : t.streaming) === !1 && (n.current = !1, (s = a.current) == null || s.blur());
|
|
2234
2234
|
}, [t]), /* @__PURE__ */ i(
|
|
@@ -2239,12 +2239,13 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2239
2239
|
radius: "small",
|
|
2240
2240
|
mode: "dark",
|
|
2241
2241
|
focusMode: "light",
|
|
2242
|
+
label: "New Chat",
|
|
2242
2243
|
ref: a,
|
|
2243
2244
|
onClick: o,
|
|
2244
|
-
children: t != null && t.streaming ? /* @__PURE__ */ i(
|
|
2245
|
+
children: t != null && t.streaming ? /* @__PURE__ */ i(Aa, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ i(La, { size: "size-4", monotone: !0 })
|
|
2245
2246
|
}
|
|
2246
2247
|
);
|
|
2247
|
-
},
|
|
2248
|
+
}, ut = et.createContext({
|
|
2248
2249
|
getItemProps: () => ({}),
|
|
2249
2250
|
activeIndex: null,
|
|
2250
2251
|
/* v8 ignore next 2 */
|
|
@@ -2275,7 +2276,7 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2275
2276
|
focusMode: s = "system",
|
|
2276
2277
|
...c
|
|
2277
2278
|
}, g) => {
|
|
2278
|
-
const [d, h] = W(!1), [m, u] = W(!1), [f, p] = W(null), b =
|
|
2279
|
+
const [d, h] = W(!1), [m, u] = W(!1), [f, p] = W(null), b = A([]), v = A([]), y = B(ut), _ = fr(), S = ha(), N = pr(), { floatingStyles: k, refs: C, context: I } = fa({
|
|
2279
2280
|
nodeId: S,
|
|
2280
2281
|
open: d,
|
|
2281
2282
|
onOpenChange: (ae) => {
|
|
@@ -2318,7 +2319,7 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2318
2319
|
)
|
|
2319
2320
|
}
|
|
2320
2321
|
);
|
|
2321
|
-
return
|
|
2322
|
+
return O(() => {
|
|
2322
2323
|
if (!_)
|
|
2323
2324
|
return;
|
|
2324
2325
|
function ae() {
|
|
@@ -2327,12 +2328,12 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2327
2328
|
return _.events.on("click", ae), () => {
|
|
2328
2329
|
_.events.off("click", ae);
|
|
2329
2330
|
};
|
|
2330
|
-
}, [_, n]),
|
|
2331
|
+
}, [_, n]), O(() => {
|
|
2331
2332
|
d && _ && _.events.emit("menuopen", { nodeId: S });
|
|
2332
2333
|
}, [_, d, S]), /* @__PURE__ */ x(Ta, { id: S, children: [
|
|
2333
2334
|
re,
|
|
2334
2335
|
/* @__PURE__ */ i(
|
|
2335
|
-
|
|
2336
|
+
ut.Provider,
|
|
2336
2337
|
{
|
|
2337
2338
|
value: {
|
|
2338
2339
|
activeIndex: f,
|
|
@@ -2367,7 +2368,7 @@ const Xe = M.use || // This extra generic is to avoid TypeScript mixing up the g
|
|
|
2367
2368
|
), wt = gr((e, t) => /* @__PURE__ */ i(Ia, { children: /* @__PURE__ */ i(Mr, { ...e, ref: t }) }));
|
|
2368
2369
|
wt.displayName = "Menu";
|
|
2369
2370
|
Mr.displayName = "MenuComponent";
|
|
2370
|
-
const
|
|
2371
|
+
const Oe = et.forwardRef(
|
|
2371
2372
|
({
|
|
2372
2373
|
label: e,
|
|
2373
2374
|
disabled: t,
|
|
@@ -2379,7 +2380,7 @@ const Ae = tt.forwardRef(
|
|
|
2379
2380
|
...c
|
|
2380
2381
|
}, g) => {
|
|
2381
2382
|
let d = "";
|
|
2382
|
-
const h =
|
|
2383
|
+
const h = et.useContext(ut), m = pr({ label: t ? null : e }), u = fr(), f = br([m.ref, g]);
|
|
2383
2384
|
if (a && n)
|
|
2384
2385
|
return /* @__PURE__ */ i(
|
|
2385
2386
|
"div",
|
|
@@ -2430,7 +2431,7 @@ const Ae = tt.forwardRef(
|
|
|
2430
2431
|
);
|
|
2431
2432
|
}
|
|
2432
2433
|
);
|
|
2433
|
-
|
|
2434
|
+
Oe.displayName = "MenuItem";
|
|
2434
2435
|
const Ss = ({ className: e, ...t }) => {
|
|
2435
2436
|
const r = l(e, "my-1 border-t border-border-medium");
|
|
2436
2437
|
return /* @__PURE__ */ i("div", { className: r, ...t });
|
|
@@ -2442,13 +2443,13 @@ const Ss = ({ className: e, ...t }) => {
|
|
|
2442
2443
|
return /* @__PURE__ */ i("div", { className: r, ...t });
|
|
2443
2444
|
};
|
|
2444
2445
|
/*!
|
|
2445
|
-
@versini/ui-menu v3.2.
|
|
2446
|
+
@versini/ui-menu v3.2.3
|
|
2446
2447
|
© 2025 gizmette.com
|
|
2447
2448
|
*/
|
|
2448
2449
|
try {
|
|
2449
2450
|
window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
|
|
2450
|
-
version: "3.2.
|
|
2451
|
-
buildTime: "01/13/2025
|
|
2451
|
+
version: "3.2.3",
|
|
2452
|
+
buildTime: "01/13/2025 01:16 PM EST",
|
|
2452
2453
|
homepage: "https://github.com/aversini/ui-components",
|
|
2453
2454
|
license: "MIT"
|
|
2454
2455
|
});
|
|
@@ -2463,11 +2464,11 @@ const fo = (e) => {
|
|
|
2463
2464
|
className: e,
|
|
2464
2465
|
defaultPlacement: t = "top-start"
|
|
2465
2466
|
}) => {
|
|
2466
|
-
const { dispatch: r } = B(
|
|
2467
|
+
const { dispatch: r } = B(De), { getAccessToken: a, user: n } = xe(), {
|
|
2467
2468
|
data: o,
|
|
2468
2469
|
error: s,
|
|
2469
2470
|
isLoading: c
|
|
2470
|
-
} =
|
|
2471
|
+
} = Or({
|
|
2471
2472
|
keys: [n == null ? void 0 : n.username],
|
|
2472
2473
|
getAccessToken: a
|
|
2473
2474
|
}), g = (d, h) => {
|
|
@@ -2483,12 +2484,12 @@ const fo = (e) => {
|
|
|
2483
2484
|
{
|
|
2484
2485
|
mode: "dark",
|
|
2485
2486
|
focusMode: "light",
|
|
2486
|
-
trigger: /* @__PURE__ */ i(Ee, { className: e, children: /* @__PURE__ */ i(
|
|
2487
|
+
trigger: /* @__PURE__ */ i(Ee, { className: e, noBorder: !0, label: "Prompts", children: /* @__PURE__ */ i(Oa, { size: "size-4" }) }),
|
|
2487
2488
|
defaultPlacement: t,
|
|
2488
2489
|
children: [
|
|
2489
2490
|
/* @__PURE__ */ i(zr, { children: "Prompts" }),
|
|
2490
2491
|
o && o.tags && o.tags.map((d) => d.enabled && d.label && d.content && /* @__PURE__ */ i(
|
|
2491
|
-
|
|
2492
|
+
Oe,
|
|
2492
2493
|
{
|
|
2493
2494
|
label: d.label,
|
|
2494
2495
|
onClick: (h) => g(h, d.content)
|
|
@@ -2507,6 +2508,7 @@ const fo = (e) => {
|
|
|
2507
2508
|
{
|
|
2508
2509
|
className: e,
|
|
2509
2510
|
disabled: t == null ? void 0 : t.streaming,
|
|
2511
|
+
label: "Send",
|
|
2510
2512
|
noBorder: !0,
|
|
2511
2513
|
type: "submit",
|
|
2512
2514
|
mode: "light",
|
|
@@ -2522,7 +2524,7 @@ const fo = (e) => {
|
|
|
2522
2524
|
error: s,
|
|
2523
2525
|
isLoading: c,
|
|
2524
2526
|
mutate: g
|
|
2525
|
-
} =
|
|
2527
|
+
} = Or({
|
|
2526
2528
|
keys: [n == null ? void 0 : n.username],
|
|
2527
2529
|
getAccessToken: a
|
|
2528
2530
|
}), d = async (h) => {
|
|
@@ -2545,12 +2547,12 @@ const fo = (e) => {
|
|
|
2545
2547
|
{
|
|
2546
2548
|
mode: "dark",
|
|
2547
2549
|
focusMode: "light",
|
|
2548
|
-
trigger: /* @__PURE__ */ i(Ee, { className: e, children: o && o.engine ===
|
|
2550
|
+
trigger: /* @__PURE__ */ i(Ee, { className: e, noBorder: !0, label: "Engines", children: o && o.engine === Fe ? /* @__PURE__ */ i(Ft, { size: "size-4" }) : /* @__PURE__ */ i(Ht, { size: "size-4" }) }),
|
|
2549
2551
|
defaultPlacement: "top-start",
|
|
2550
2552
|
children: [
|
|
2551
2553
|
/* @__PURE__ */ i(zr, { children: "Engines" }),
|
|
2552
2554
|
/* @__PURE__ */ i(
|
|
2553
|
-
|
|
2555
|
+
Oe,
|
|
2554
2556
|
{
|
|
2555
2557
|
selected: o && o.engine === $t,
|
|
2556
2558
|
label: "OpenAI",
|
|
@@ -2559,12 +2561,12 @@ const fo = (e) => {
|
|
|
2559
2561
|
}
|
|
2560
2562
|
),
|
|
2561
2563
|
/* @__PURE__ */ i(
|
|
2562
|
-
|
|
2564
|
+
Oe,
|
|
2563
2565
|
{
|
|
2564
|
-
selected: o && o.engine ===
|
|
2566
|
+
selected: o && o.engine === Fe,
|
|
2565
2567
|
label: "Anthropic",
|
|
2566
2568
|
icon: /* @__PURE__ */ i(Ft, {}),
|
|
2567
|
-
onClick: () => d(
|
|
2569
|
+
onClick: () => d(Fe)
|
|
2568
2570
|
}
|
|
2569
2571
|
)
|
|
2570
2572
|
]
|
|
@@ -2608,7 +2610,7 @@ const fo = (e) => {
|
|
|
2608
2610
|
ref: s,
|
|
2609
2611
|
...c
|
|
2610
2612
|
}) => {
|
|
2611
|
-
const { state: m } = B(X), { state: u } = B(
|
|
2613
|
+
const { state: m } = B(X), { state: u } = B(De), f = A(null), p = A(null), b = Ga([s, p]), v = Ja(), y = xo({
|
|
2612
2614
|
className: e
|
|
2613
2615
|
}), [_, S] = Ka({
|
|
2614
2616
|
value: r,
|
|
@@ -2636,9 +2638,9 @@ const fo = (e) => {
|
|
|
2636
2638
|
}, C = (I) => {
|
|
2637
2639
|
S(I.target.value), N();
|
|
2638
2640
|
};
|
|
2639
|
-
return
|
|
2641
|
+
return O(() => {
|
|
2640
2642
|
m && m.usage === 0 && m.messages.length === 0 && p.current && (p.current.style.height = "24px");
|
|
2641
|
-
}, [m]),
|
|
2643
|
+
}, [m]), O(() => {
|
|
2642
2644
|
u.lastTriggeredTimestamp && setTimeout(() => {
|
|
2643
2645
|
N();
|
|
2644
2646
|
}, 100);
|
|
@@ -2667,7 +2669,7 @@ const fo = (e) => {
|
|
|
2667
2669
|
) }),
|
|
2668
2670
|
/* @__PURE__ */ x("div", { className: "p-2 flex items-center", children: [
|
|
2669
2671
|
/* @__PURE__ */ i(bo, { className: "order-4 ml-auto" }),
|
|
2670
|
-
/* @__PURE__ */ i(ho, { className: "order-1 mr-
|
|
2672
|
+
/* @__PURE__ */ i(ho, { className: "order-1 mr-4" }),
|
|
2671
2673
|
/* @__PURE__ */ i(po, { className: "order-2 mr-2" }),
|
|
2672
2674
|
/* @__PURE__ */ i(yo, { className: "order-3" })
|
|
2673
2675
|
] })
|
|
@@ -2687,15 +2689,15 @@ const fo = (e) => {
|
|
|
2687
2689
|
payload: {
|
|
2688
2690
|
message: {
|
|
2689
2691
|
role: pt,
|
|
2690
|
-
content:
|
|
2692
|
+
content: ra
|
|
2691
2693
|
}
|
|
2692
2694
|
}
|
|
2693
2695
|
});
|
|
2694
2696
|
}, wo = () => {
|
|
2695
|
-
const { state: e, dispatch: t } = B(X), { state: r, dispatch: a } = B(
|
|
2697
|
+
const { state: e, dispatch: t } = B(X), { state: r, dispatch: a } = B(De), [n, o] = W(""), { getAccessToken: s, user: c } = xe(), g = A(null), d = A(
|
|
2696
2698
|
null
|
|
2697
2699
|
);
|
|
2698
|
-
|
|
2700
|
+
O(() => {
|
|
2699
2701
|
(async () => {
|
|
2700
2702
|
var u;
|
|
2701
2703
|
if (!e || e.messages.length === 0) {
|
|
@@ -2775,51 +2777,44 @@ const fo = (e) => {
|
|
|
2775
2777
|
type: ye,
|
|
2776
2778
|
payload: {
|
|
2777
2779
|
message: {
|
|
2778
|
-
role:
|
|
2780
|
+
role: Qe,
|
|
2779
2781
|
content: n
|
|
2780
2782
|
}
|
|
2781
2783
|
}
|
|
2782
2784
|
}), o("");
|
|
2783
2785
|
};
|
|
2784
|
-
return
|
|
2786
|
+
return O(() => {
|
|
2785
2787
|
if (r.prompt !== "") {
|
|
2786
2788
|
const m = r.prompt.endsWith(":") && !r.prompt.endsWith(": ") ? r.prompt + " " : r.prompt;
|
|
2787
|
-
m.indexOf(
|
|
2788
|
-
o(m.replace(
|
|
2789
|
+
m.indexOf(Pt) !== -1 ? navigator.clipboard.readText().then((f) => {
|
|
2790
|
+
o(m.replace(Pt, f));
|
|
2789
2791
|
}) : o(m), g.current && g.current.focus(), a({
|
|
2790
2792
|
type: dr
|
|
2791
2793
|
});
|
|
2792
2794
|
}
|
|
2793
|
-
}, [r, a]),
|
|
2795
|
+
}, [r, a]), O(() => {
|
|
2794
2796
|
e && e.usage === 0 && e.messages.length === 0 && (o(""), g.current && g.current.focus());
|
|
2795
|
-
}, [e]),
|
|
2797
|
+
}, [e]), O(() => {
|
|
2796
2798
|
(e == null ? void 0 : e.streaming) === !1 && g.current && g.current.focus();
|
|
2797
|
-
}, [e]), /* @__PURE__ */
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
),
|
|
2808
|
-
/* @__PURE__ */ x("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: [
|
|
2809
|
-
"Sometimes, ",
|
|
2810
|
-
ra,
|
|
2811
|
-
" hallucinates. Check important info."
|
|
2812
|
-
] })
|
|
2813
|
-
] });
|
|
2799
|
+
}, [e]), /* @__PURE__ */ i(ht, { children: /* @__PURE__ */ i(
|
|
2800
|
+
So,
|
|
2801
|
+
{
|
|
2802
|
+
label: ta,
|
|
2803
|
+
onSubmit: h,
|
|
2804
|
+
ref: g,
|
|
2805
|
+
value: n,
|
|
2806
|
+
onChange: (m) => o(m.target.value)
|
|
2807
|
+
}
|
|
2808
|
+
) });
|
|
2814
2809
|
}, To = () => {
|
|
2815
|
-
const { state: e } = B(X), t =
|
|
2810
|
+
const { state: e } = B(X), t = A(!1), r = window.innerWidth < 403, [a, n] = W(
|
|
2816
2811
|
r ? "bottom-4" : "top-[245px]"
|
|
2817
2812
|
);
|
|
2818
|
-
return
|
|
2813
|
+
return O(() => {
|
|
2819
2814
|
r || e && (!t.current && e.streaming && n("bottom-4"), t.current = !!e.streaming);
|
|
2820
|
-
}, [e, r]),
|
|
2815
|
+
}, [e, r]), O(() => {
|
|
2821
2816
|
r || (e && e.messages.length === 0 && n("top-[245px]"), e && !e.streaming && e.messages.length > 0 && n("bottom-4"));
|
|
2822
|
-
}, [e, r]), /* @__PURE__ */
|
|
2817
|
+
}, [e, r]), /* @__PURE__ */ x(
|
|
2823
2818
|
"footer",
|
|
2824
2819
|
{
|
|
2825
2820
|
className: l(
|
|
@@ -2827,24 +2822,27 @@ const fo = (e) => {
|
|
|
2827
2822
|
uo,
|
|
2828
2823
|
a
|
|
2829
2824
|
),
|
|
2830
|
-
children:
|
|
2825
|
+
children: [
|
|
2826
|
+
/* @__PURE__ */ i(wo, {}),
|
|
2827
|
+
/* @__PURE__ */ i("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: aa })
|
|
2828
|
+
]
|
|
2831
2829
|
}
|
|
2832
|
-
)
|
|
2830
|
+
);
|
|
2833
2831
|
};
|
|
2834
2832
|
/*!
|
|
2835
|
-
@versini/ui-bubble v3.1.
|
|
2833
|
+
@versini/ui-bubble v3.1.5
|
|
2836
2834
|
© 2025 gizmette.com
|
|
2837
2835
|
*/
|
|
2838
2836
|
try {
|
|
2839
2837
|
window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
|
|
2840
|
-
version: "3.1.
|
|
2841
|
-
buildTime: "01/13/2025
|
|
2838
|
+
version: "3.1.5",
|
|
2839
|
+
buildTime: "01/13/2025 01:16 PM EST",
|
|
2842
2840
|
homepage: "https://github.com/aversini/ui-components",
|
|
2843
2841
|
license: "MIT"
|
|
2844
2842
|
});
|
|
2845
2843
|
} catch {
|
|
2846
2844
|
}
|
|
2847
|
-
const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button",
|
|
2845
|
+
const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", mt = "link", Co = ({
|
|
2848
2846
|
type: e,
|
|
2849
2847
|
size: t,
|
|
2850
2848
|
labelRight: r,
|
|
@@ -2854,7 +2852,7 @@ const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", gt = "link
|
|
|
2854
2852
|
const o = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
|
|
2855
2853
|
switch (e) {
|
|
2856
2854
|
case $r:
|
|
2857
|
-
case
|
|
2855
|
+
case mt:
|
|
2858
2856
|
return l({
|
|
2859
2857
|
[o]: t === "small",
|
|
2860
2858
|
[s]: t === "medium",
|
|
@@ -2882,9 +2880,9 @@ const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", gt = "link
|
|
|
2882
2880
|
const n = "text-sm font-medium", o = "text-base font-medium", s = "text-lg font-medium";
|
|
2883
2881
|
switch (e) {
|
|
2884
2882
|
case $r:
|
|
2885
|
-
case
|
|
2883
|
+
case mt:
|
|
2886
2884
|
return l({
|
|
2887
|
-
"text-center": e ===
|
|
2885
|
+
"text-center": e === mt,
|
|
2888
2886
|
[n]: t === "small",
|
|
2889
2887
|
[o]: t === "medium",
|
|
2890
2888
|
[s]: t === "large"
|
|
@@ -2962,13 +2960,13 @@ const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", gt = "link
|
|
|
2962
2960
|
if (r === "selected")
|
|
2963
2961
|
return "bg-action-selected-dark";
|
|
2964
2962
|
}
|
|
2965
|
-
},
|
|
2963
|
+
}, Oo = ({
|
|
2966
2964
|
radius: e
|
|
2967
2965
|
}) => l({
|
|
2968
2966
|
"rounded-full": e === "large",
|
|
2969
2967
|
"rounded-md": e === "medium",
|
|
2970
2968
|
"rounded-sm": e === "small"
|
|
2971
|
-
}),
|
|
2969
|
+
}), Ao = ({
|
|
2972
2970
|
mode: e,
|
|
2973
2971
|
disabled: t,
|
|
2974
2972
|
variant: r
|
|
@@ -3091,7 +3089,7 @@ const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", gt = "link
|
|
|
3091
3089
|
noTruncate: f
|
|
3092
3090
|
}),
|
|
3093
3091
|
Lo({ mode: a, noBackground: m, variant: u }),
|
|
3094
|
-
|
|
3092
|
+
Oo({ radius: b }),
|
|
3095
3093
|
Co({
|
|
3096
3094
|
type: e,
|
|
3097
3095
|
size: c,
|
|
@@ -3102,7 +3100,7 @@ const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", gt = "link
|
|
|
3102
3100
|
Ro({ type: e, size: c, labelRight: d, labelLeft: h }),
|
|
3103
3101
|
Mo({ mode: a, variant: u, noBorder: g }),
|
|
3104
3102
|
zo({ focusMode: n }),
|
|
3105
|
-
|
|
3103
|
+
Ao({ mode: a, variant: u, disabled: o }),
|
|
3106
3104
|
Bo({ mode: a, variant: u, disabled: o }),
|
|
3107
3105
|
{
|
|
3108
3106
|
"w-full": s,
|
|
@@ -3126,7 +3124,7 @@ const No = "av-bubble", or = "av-button", Pe = "icon", $r = "button", gt = "link
|
|
|
3126
3124
|
);
|
|
3127
3125
|
});
|
|
3128
3126
|
Tt.displayName = "BaseButton";
|
|
3129
|
-
const
|
|
3127
|
+
const Pr = M.forwardRef(
|
|
3130
3128
|
({
|
|
3131
3129
|
children: e,
|
|
3132
3130
|
disabled: t = !1,
|
|
@@ -3188,15 +3186,15 @@ const Vr = M.forwardRef(
|
|
|
3188
3186
|
);
|
|
3189
3187
|
}
|
|
3190
3188
|
);
|
|
3191
|
-
|
|
3189
|
+
Pr.displayName = "ButtonIcon";
|
|
3192
3190
|
/*!
|
|
3193
|
-
@versini/ui-button v4.0.
|
|
3191
|
+
@versini/ui-button v4.0.8
|
|
3194
3192
|
© 2025 gizmette.com
|
|
3195
3193
|
*/
|
|
3196
3194
|
try {
|
|
3197
3195
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
3198
|
-
version: "4.0.
|
|
3199
|
-
buildTime: "01/13/2025
|
|
3196
|
+
version: "4.0.8",
|
|
3197
|
+
buildTime: "01/13/2025 01:16 PM EST",
|
|
3200
3198
|
homepage: "https://github.com/aversini/ui-components",
|
|
3201
3199
|
license: "MIT"
|
|
3202
3200
|
});
|
|
@@ -3280,7 +3278,7 @@ const Do = M.forwardRef(
|
|
|
3280
3278
|
}
|
|
3281
3279
|
);
|
|
3282
3280
|
Do.displayName = "ButtonSort";
|
|
3283
|
-
const
|
|
3281
|
+
const Vr = ({
|
|
3284
3282
|
children: e,
|
|
3285
3283
|
fill: t,
|
|
3286
3284
|
viewBox: r,
|
|
@@ -3292,7 +3290,7 @@ const Pr = ({
|
|
|
3292
3290
|
...g
|
|
3293
3291
|
}) => {
|
|
3294
3292
|
const d = l(o, a);
|
|
3295
|
-
return /* @__PURE__ */ x(
|
|
3293
|
+
return /* @__PURE__ */ x(ht, { children: [
|
|
3296
3294
|
/* @__PURE__ */ i(
|
|
3297
3295
|
"svg",
|
|
3298
3296
|
{
|
|
@@ -3311,26 +3309,26 @@ const Pr = ({
|
|
|
3311
3309
|
] });
|
|
3312
3310
|
};
|
|
3313
3311
|
/*!
|
|
3314
|
-
@versini/ui-svgicon v4.0.
|
|
3312
|
+
@versini/ui-svgicon v4.0.2
|
|
3315
3313
|
© 2025 gizmette.com
|
|
3316
3314
|
*/
|
|
3317
3315
|
try {
|
|
3318
3316
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
3319
|
-
version: "4.0.
|
|
3320
|
-
buildTime: "01/13/2025
|
|
3317
|
+
version: "4.0.2",
|
|
3318
|
+
buildTime: "01/13/2025 01:15 PM EST",
|
|
3321
3319
|
homepage: "https://github.com/aversini/ui-components",
|
|
3322
3320
|
license: "MIT"
|
|
3323
3321
|
});
|
|
3324
3322
|
} catch {
|
|
3325
3323
|
}
|
|
3326
|
-
const
|
|
3324
|
+
const Po = ({
|
|
3327
3325
|
className: e,
|
|
3328
3326
|
viewBox: t,
|
|
3329
3327
|
title: r,
|
|
3330
3328
|
monotone: a,
|
|
3331
3329
|
...n
|
|
3332
3330
|
}) => /* @__PURE__ */ x(
|
|
3333
|
-
|
|
3331
|
+
Vr,
|
|
3334
3332
|
{
|
|
3335
3333
|
defaultViewBox: "0 0 448 512",
|
|
3336
3334
|
size: "size-5",
|
|
@@ -3356,14 +3354,14 @@ const Vo = ({
|
|
|
3356
3354
|
)
|
|
3357
3355
|
]
|
|
3358
3356
|
}
|
|
3359
|
-
),
|
|
3357
|
+
), Vo = ({
|
|
3360
3358
|
className: e,
|
|
3361
3359
|
viewBox: t,
|
|
3362
3360
|
title: r,
|
|
3363
3361
|
monotone: a,
|
|
3364
3362
|
...n
|
|
3365
3363
|
}) => /* @__PURE__ */ i(
|
|
3366
|
-
|
|
3364
|
+
Vr,
|
|
3367
3365
|
{
|
|
3368
3366
|
defaultViewBox: "0 0 512 512",
|
|
3369
3367
|
size: "size-5",
|
|
@@ -3375,13 +3373,13 @@ const Vo = ({
|
|
|
3375
3373
|
}
|
|
3376
3374
|
);
|
|
3377
3375
|
/*!
|
|
3378
|
-
@versini/ui-icons v4.4.
|
|
3376
|
+
@versini/ui-icons v4.4.1
|
|
3379
3377
|
© 2025 gizmette.com
|
|
3380
3378
|
*/
|
|
3381
3379
|
try {
|
|
3382
3380
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
3383
|
-
version: "4.4.
|
|
3384
|
-
buildTime: "01/13/2025
|
|
3381
|
+
version: "4.4.1",
|
|
3382
|
+
buildTime: "01/13/2025 01:15 PM EST",
|
|
3385
3383
|
homepage: "https://github.com/aversini/ui-components",
|
|
3386
3384
|
license: "MIT"
|
|
3387
3385
|
});
|
|
@@ -3446,7 +3444,7 @@ const Uo = ({
|
|
|
3446
3444
|
const [d, h] = W(!1), m = Go({ kind: t, className: r, noMaxWidth: g }), u = !!o && (typeof o == "function" || typeof o == "string" || typeof e == "string"), f = () => {
|
|
3447
3445
|
h(!0), typeof o == "function" ? o(e) : typeof o == "string" ? navigator.clipboard.writeText(o) : typeof e == "string" && navigator.clipboard.writeText(e);
|
|
3448
3446
|
};
|
|
3449
|
-
return
|
|
3447
|
+
return O(() => {
|
|
3450
3448
|
let p;
|
|
3451
3449
|
return d && (p = window.setTimeout(() => {
|
|
3452
3450
|
h(!1);
|
|
@@ -3464,7 +3462,7 @@ const Uo = ({
|
|
|
3464
3462
|
n && n
|
|
3465
3463
|
] }),
|
|
3466
3464
|
u && /* @__PURE__ */ i("div", { className: m.copyButton, children: /* @__PURE__ */ i(
|
|
3467
|
-
|
|
3465
|
+
Pr,
|
|
3468
3466
|
{
|
|
3469
3467
|
noBorder: !0,
|
|
3470
3468
|
noBackground: !0,
|
|
@@ -3474,11 +3472,11 @@ const Uo = ({
|
|
|
3474
3472
|
label: d ? "Copied to clipboard" : "Copy to clipboard",
|
|
3475
3473
|
onClick: f,
|
|
3476
3474
|
disabled: d,
|
|
3477
|
-
children: d ? /* @__PURE__ */ i(
|
|
3475
|
+
children: d ? /* @__PURE__ */ i(Po, { size: "size-3" }) : /* @__PURE__ */ i(Vo, { size: "size-3" })
|
|
3478
3476
|
}
|
|
3479
3477
|
) })
|
|
3480
3478
|
] });
|
|
3481
|
-
}, sr = "av-button", Nt = "icon", Ct = "button",
|
|
3479
|
+
}, sr = "av-button", Nt = "icon", Ct = "button", gt = "link", qo = ({
|
|
3482
3480
|
type: e,
|
|
3483
3481
|
size: t,
|
|
3484
3482
|
labelRight: r,
|
|
@@ -3488,7 +3486,7 @@ const Uo = ({
|
|
|
3488
3486
|
const o = "max-h-8 py-0 px-2", s = "max-h-9 h-8 px-3", c = "max-h-12 py-2 px-4";
|
|
3489
3487
|
switch (e) {
|
|
3490
3488
|
case Ct:
|
|
3491
|
-
case
|
|
3489
|
+
case gt:
|
|
3492
3490
|
return l({
|
|
3493
3491
|
[o]: t === "small",
|
|
3494
3492
|
[s]: t === "medium",
|
|
@@ -3516,9 +3514,9 @@ const Uo = ({
|
|
|
3516
3514
|
const n = "text-sm font-medium", o = "text-base font-medium", s = "text-lg font-medium";
|
|
3517
3515
|
switch (e) {
|
|
3518
3516
|
case Ct:
|
|
3519
|
-
case
|
|
3517
|
+
case gt:
|
|
3520
3518
|
return l({
|
|
3521
|
-
"text-center": e ===
|
|
3519
|
+
"text-center": e === gt,
|
|
3522
3520
|
[n]: t === "small",
|
|
3523
3521
|
[o]: t === "medium",
|
|
3524
3522
|
[s]: t === "large"
|
|
@@ -3804,13 +3802,13 @@ const Fr = M.forwardRef(
|
|
|
3804
3802
|
);
|
|
3805
3803
|
Fr.displayName = "Button";
|
|
3806
3804
|
/*!
|
|
3807
|
-
@versini/ui-button v4.0.
|
|
3805
|
+
@versini/ui-button v4.0.8
|
|
3808
3806
|
© 2025 gizmette.com
|
|
3809
3807
|
*/
|
|
3810
3808
|
try {
|
|
3811
3809
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
3812
|
-
version: "4.0.
|
|
3813
|
-
buildTime: "01/13/2025
|
|
3810
|
+
version: "4.0.8",
|
|
3811
|
+
buildTime: "01/13/2025 01:16 PM EST",
|
|
3814
3812
|
homepage: "https://github.com/aversini/ui-components",
|
|
3815
3813
|
license: "MIT"
|
|
3816
3814
|
});
|
|
@@ -3938,13 +3936,13 @@ const ns = 200, os = ({
|
|
|
3938
3936
|
] });
|
|
3939
3937
|
};
|
|
3940
3938
|
/*!
|
|
3941
|
-
@versini/ui-truncate v3.0.
|
|
3939
|
+
@versini/ui-truncate v3.0.8
|
|
3942
3940
|
© 2025 gizmette.com
|
|
3943
3941
|
*/
|
|
3944
3942
|
try {
|
|
3945
3943
|
window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
|
|
3946
|
-
version: "3.0.
|
|
3947
|
-
buildTime: "01/13/2025
|
|
3944
|
+
version: "3.0.8",
|
|
3945
|
+
buildTime: "01/13/2025 01:16 PM EST",
|
|
3948
3946
|
homepage: "https://github.com/aversini/ui-components",
|
|
3949
3947
|
license: "MIT"
|
|
3950
3948
|
});
|
|
@@ -3953,14 +3951,14 @@ try {
|
|
|
3953
3951
|
const ir = hr(
|
|
3954
3952
|
() => import(
|
|
3955
3953
|
/* webpackChunkName: "LazyMessageAssistant" */
|
|
3956
|
-
"./MessageAssistant.
|
|
3954
|
+
"./MessageAssistant.DKGaNVFc.js"
|
|
3957
3955
|
).then((e) => e.MessageAssistant)
|
|
3958
3956
|
), is = () => {
|
|
3959
3957
|
const { state: e } = B(X);
|
|
3960
3958
|
return /* @__PURE__ */ x("div", { className: "space-y-6 mt-2 @container", children: [
|
|
3961
3959
|
e && e.messages.length > 0 && e.messages.map((t, r) => {
|
|
3962
3960
|
const { role: a, content: n, name: o, processingTime: s } = t.message;
|
|
3963
|
-
return (a === ve || a === pt) && n ? /* @__PURE__ */ i(
|
|
3961
|
+
return (a === ve || a === pt) && n ? /* @__PURE__ */ i(tt, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(ir, { name: o, processingTime: s, children: n }) }, `${r}-${a}`) : a === Qe && n ? /* @__PURE__ */ i(
|
|
3964
3962
|
jo,
|
|
3965
3963
|
{
|
|
3966
3964
|
kind: "right",
|
|
@@ -3971,13 +3969,13 @@ const ir = hr(
|
|
|
3971
3969
|
`${r}-${a}`
|
|
3972
3970
|
) : null;
|
|
3973
3971
|
}),
|
|
3974
|
-
na(
|
|
3972
|
+
na(Qe, e) && /* @__PURE__ */ i(tt, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(ir, { loading: !0 }) })
|
|
3975
3973
|
] });
|
|
3976
3974
|
}, cs = () => {
|
|
3977
3975
|
const { isAuthenticated: e } = xe(), { state: t } = B(X), [r, a] = W(!1), [n, o] = qa(), s = oa({
|
|
3978
3976
|
isAuthenticated: e,
|
|
3979
3977
|
extraClass: "rounded-b-md"
|
|
3980
|
-
}), c =
|
|
3978
|
+
}), c = A(!1), g = K(() => {
|
|
3981
3979
|
const h = n.current;
|
|
3982
3980
|
if (h) {
|
|
3983
3981
|
const { scrollHeight: m, clientHeight: u, scrollTop: f } = h, p = m - u - f;
|
|
@@ -3995,13 +3993,13 @@ const ir = hr(
|
|
|
3995
3993
|
}, [n]);
|
|
3996
3994
|
return mr(() => {
|
|
3997
3995
|
o && o.width && t && !t.streaming && d();
|
|
3998
|
-
}, [o, t, d]),
|
|
3996
|
+
}, [o, t, d]), O(() => {
|
|
3999
3997
|
const h = n.current;
|
|
4000
3998
|
if (h)
|
|
4001
3999
|
return h.addEventListener("scroll", d), () => h.removeEventListener("scroll", d);
|
|
4002
|
-
}, [d, n]),
|
|
4000
|
+
}, [d, n]), O(() => {
|
|
4003
4001
|
t && t.streaming && d();
|
|
4004
|
-
}, [t, d]),
|
|
4002
|
+
}, [t, d]), O(() => {
|
|
4005
4003
|
t && (!c.current && t.streaming && g(), c.current = !!t.streaming);
|
|
4006
4004
|
}, [t, g]), /* @__PURE__ */ x("div", { className: s, ref: n, children: [
|
|
4007
4005
|
r && /* @__PURE__ */ i(
|
|
@@ -4014,6 +4012,7 @@ const ir = hr(
|
|
|
4014
4012
|
children: /* @__PURE__ */ i(
|
|
4015
4013
|
Ee,
|
|
4016
4014
|
{
|
|
4015
|
+
label: "Scroll to bottom",
|
|
4017
4016
|
className: l(
|
|
4018
4017
|
"dark:bg-slate-50 dark:hover:bg-slate-300 dark:active:bg-slate-400",
|
|
4019
4018
|
"bg-slate-500 hover:bg-slate-600 active:bg-slate-700"
|
|
@@ -4040,7 +4039,7 @@ const ir = hr(
|
|
|
4040
4039
|
}, ls = hr(
|
|
4041
4040
|
() => import(
|
|
4042
4041
|
/* webpackChunkName: "LazyHeader" */
|
|
4043
|
-
"./HeaderToolbar.
|
|
4042
|
+
"./HeaderToolbar.BoRwNEMw.js"
|
|
4044
4043
|
)
|
|
4045
4044
|
);
|
|
4046
4045
|
function Hr({ isComponent: e = !1 }) {
|
|
@@ -4050,7 +4049,7 @@ function Hr({ isComponent: e = !1 }) {
|
|
|
4050
4049
|
}), [n] = jt({
|
|
4051
4050
|
key: Ut + la,
|
|
4052
4051
|
initialValue: be.ASC
|
|
4053
|
-
}), [o, s] =
|
|
4052
|
+
}), [o, s] = He(En, {
|
|
4054
4053
|
id: _t(),
|
|
4055
4054
|
model: ke,
|
|
4056
4055
|
engine: ke,
|
|
@@ -4058,11 +4057,11 @@ function Hr({ isComponent: e = !1 }) {
|
|
|
4058
4057
|
messages: [],
|
|
4059
4058
|
prompts: [],
|
|
4060
4059
|
isComponent: e
|
|
4061
|
-
}), [c, g] =
|
|
4060
|
+
}), [c, g] = He(xn, {
|
|
4062
4061
|
searchString: a,
|
|
4063
4062
|
sortedCell: "timestamp",
|
|
4064
4063
|
sortDirection: n
|
|
4065
|
-
}), [d, h] =
|
|
4064
|
+
}), [d, h] = He(Sn, {
|
|
4066
4065
|
prompt: "",
|
|
4067
4066
|
lastTriggeredTimestamp: 0
|
|
4068
4067
|
});
|
|
@@ -4073,7 +4072,7 @@ function Hr({ isComponent: e = !1 }) {
|
|
|
4073
4072
|
c.sortDirection
|
|
4074
4073
|
],
|
|
4075
4074
|
getAccessToken: r
|
|
4076
|
-
}), lo({ getAccessToken: r }), so({ keys: [t == null ? void 0 : t.username], getAccessToken: r }),
|
|
4075
|
+
}), lo({ getAccessToken: r }), so({ keys: [t == null ? void 0 : t.username], getAccessToken: r }), O(() => {
|
|
4077
4076
|
var u;
|
|
4078
4077
|
(u = document.getElementById("logo")) == null || u.classList.add("fadeOut"), setTimeout(() => {
|
|
4079
4078
|
var f;
|
|
@@ -4087,7 +4086,7 @@ function Hr({ isComponent: e = !1 }) {
|
|
|
4087
4086
|
dispatch: g
|
|
4088
4087
|
},
|
|
4089
4088
|
children: /* @__PURE__ */ x(
|
|
4090
|
-
|
|
4089
|
+
De.Provider,
|
|
4091
4090
|
{
|
|
4092
4091
|
value: { state: d, dispatch: h },
|
|
4093
4092
|
children: [
|
|
@@ -4098,16 +4097,16 @@ function Hr({ isComponent: e = !1 }) {
|
|
|
4098
4097
|
noMargin: !0,
|
|
4099
4098
|
noPadding: !0,
|
|
4100
4099
|
noBorder: !0,
|
|
4101
|
-
className:
|
|
4100
|
+
className: Vt({
|
|
4102
4101
|
extraClass: "mt-5"
|
|
4103
4102
|
}),
|
|
4104
|
-
children: /* @__PURE__ */ i(
|
|
4103
|
+
children: /* @__PURE__ */ i(tt, { fallback: /* @__PURE__ */ i("div", {}), children: /* @__PURE__ */ i(ls, {}) })
|
|
4105
4104
|
}
|
|
4106
4105
|
),
|
|
4107
4106
|
/* @__PURE__ */ i(
|
|
4108
4107
|
ia,
|
|
4109
4108
|
{
|
|
4110
|
-
className:
|
|
4109
|
+
className: Vt({
|
|
4111
4110
|
extraClass: "max-h-[calc(100svh_-_250px)]"
|
|
4112
4111
|
}),
|
|
4113
4112
|
noMargin: !0,
|
|
@@ -4130,7 +4129,7 @@ export {
|
|
|
4130
4129
|
jt as E,
|
|
4131
4130
|
go as HistoryContext,
|
|
4132
4131
|
Ss as P,
|
|
4133
|
-
|
|
4132
|
+
Oe as R,
|
|
4134
4133
|
Se as SERVICE_TYPES,
|
|
4135
4134
|
bs as be,
|
|
4136
4135
|
be as f,
|
|
@@ -4148,6 +4147,6 @@ export {
|
|
|
4148
4147
|
Es as useChatsHistory,
|
|
4149
4148
|
xs as useServerCapabilities,
|
|
4150
4149
|
_s as useUserChatStats,
|
|
4151
|
-
|
|
4150
|
+
Or as useUserPreferences,
|
|
4152
4151
|
ks as ye
|
|
4153
4152
|
};
|