@versini/sassysaint 5.4.12 → 5.4.14
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/{LazyApp.Dyu2ic9d.js → LazyApp.nhzP-Nbc.js} +70 -58
- package/dist/chunks/{LazyHeader.9qAKBwpW.js → LazyHeader.CCjVT4z8.js} +99 -92
- package/dist/chunks/{LazyMarkdownWithExtra.D-ycPLwb.js → LazyMarkdownWithExtra.aWPJfbF0.js} +747 -739
- package/dist/chunks/{LazyMessageAssistant.D02uWotL.js → LazyMessageAssistant.Bpza5zkH.js} +7 -7
- package/dist/chunks/{index.BQqipbFO.js → index.8mgE_tU8.js} +68 -62
- package/dist/chunks/{index.SBEBWYWL.js → index.CYifYdxQ.js} +42 -36
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as y, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
-
import { g as O, R as L, CARDS as
|
|
3
|
-
import { serviceCall as D, SERVICE_TYPES as V, E as ce, ce as ar, se as nr, he as we, be as sr, oe as $, ge as ir, ne as cr, f as U, Le as He, h as Ge } from "./index.
|
|
2
|
+
import { g as O, R as L, CARDS as x, renderDataAsList as oe, pluralize as he, AppContext as se, ABOUT_TITLE as Dt, DEFAULT_AI_ENGINE as te, numberFormatter as Vt, durationFormatter as Qe, NA as $t, ROLE_ASSISTANT as Ft, extractAverage as Ht, GPT4_MAX_TOKENS as Gt, un as W, STATS as Xe, L as q, j as z, C as F, HistoryContext as Je, LOCAL_STORAGE_PREFIX as ie, LOCAL_STORAGE_SORT as Ut, O as j, ACTION_RESET as et, ACTION_RESTORE as jt, ACTION_SORT as Ve, LOCAL_STORAGE_SEARCH as Kt, ye as Ne, ACTION_SEARCH as Wt, debounce as Yt, HISTORY_TITLE as qt, LOCAL_STORAGE_ENGINE_TOGGLE as tt, ENGINE_OPENAI as Te, ENGINE_ANTHROPIC as me, APP_NAME as Zt, ACTION_ENGINE as rt, getCurrentGeoLocation as Qt, TagsContext as Xt, TAGS_DESCRIPTION as Jt, ACTION_SET_TAGS as er, LOCAL_STORAGE_CHAT_DETAILS as tr, M as rr, z as $e, PROFILE_TITLE as or, LOG_OUT as Fe } from "./index.CYifYdxQ.js";
|
|
3
|
+
import { serviceCall as D, SERVICE_TYPES as V, E as ce, ce as ar, se as nr, he as we, be as sr, oe as $, ge as ir, ne as cr, f as U, Le as He, h as Ge } from "./index.8mgE_tU8.js";
|
|
4
4
|
import * as f from "react";
|
|
5
5
|
import E, { useId as Ae, forwardRef as ot, useState as I, useRef as Z, useContext as P, useEffect as H } from "react";
|
|
6
6
|
import k from "clsx";
|
|
@@ -126,7 +126,7 @@ const ht = ({
|
|
|
126
126
|
/* @__PURE__ */ o("path", { d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z" })
|
|
127
127
|
]
|
|
128
128
|
}
|
|
129
|
-
),
|
|
129
|
+
), xr = ({
|
|
130
130
|
className: e,
|
|
131
131
|
viewBox: t,
|
|
132
132
|
title: r,
|
|
@@ -175,7 +175,7 @@ const ht = ({
|
|
|
175
175
|
}
|
|
176
176
|
)
|
|
177
177
|
}
|
|
178
|
-
),
|
|
178
|
+
), Nr = ({
|
|
179
179
|
className: e,
|
|
180
180
|
viewBox: t,
|
|
181
181
|
title: r,
|
|
@@ -289,7 +289,7 @@ const Ee = f.createContext({
|
|
|
289
289
|
strategy: "fixed",
|
|
290
290
|
middleware: [dr({ mainAxis: 10 }), ur(), mr()],
|
|
291
291
|
whileElementsMounted: hr
|
|
292
|
-
}),
|
|
292
|
+
}), N = it(R, {
|
|
293
293
|
event: "mousedown",
|
|
294
294
|
toggle: !0,
|
|
295
295
|
ignoreMouse: !1
|
|
@@ -303,7 +303,7 @@ const Ee = f.createContext({
|
|
|
303
303
|
listRef: v,
|
|
304
304
|
onMatch: l ? m : void 0,
|
|
305
305
|
activeIndex: h
|
|
306
|
-
}), { getReferenceProps: ke, getFloatingProps: Ce, getItemProps: B } = dt([
|
|
306
|
+
}), { getReferenceProps: ke, getFloatingProps: Ce, getItemProps: B } = dt([N, le, de, X, ye]), De = Ue(e) === "Button" || Ue(e) === "ButtonIcon", Ot = De ? {
|
|
307
307
|
noInternalClick: De,
|
|
308
308
|
focusMode: s,
|
|
309
309
|
mode: i
|
|
@@ -428,26 +428,26 @@ const Sr = ({ className: e, ...t }) => {
|
|
|
428
428
|
return /* @__PURE__ */ o("div", { className: r, ...t });
|
|
429
429
|
};
|
|
430
430
|
/*!
|
|
431
|
-
@versini/ui-menu v2.0.
|
|
431
|
+
@versini/ui-menu v2.0.6
|
|
432
432
|
© 2024 gizmette.com
|
|
433
433
|
*/
|
|
434
434
|
try {
|
|
435
435
|
window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
|
|
436
|
-
version: "2.0.
|
|
437
|
-
buildTime: "12/30/2024
|
|
436
|
+
version: "2.0.6",
|
|
437
|
+
buildTime: "12/30/2024 07:48 PM EST",
|
|
438
438
|
homepage: "https://github.com/aversini/ui-components",
|
|
439
439
|
license: "MIT"
|
|
440
440
|
});
|
|
441
441
|
} catch {
|
|
442
442
|
}
|
|
443
443
|
/*!
|
|
444
|
-
@versini/ui-togglegroup v2.0.
|
|
444
|
+
@versini/ui-togglegroup v2.0.5
|
|
445
445
|
© 2024 gizmette.com
|
|
446
446
|
*/
|
|
447
447
|
try {
|
|
448
448
|
window.__VERSINI_UI_TOGGLEGROUP__ || (window.__VERSINI_UI_TOGGLEGROUP__ = {
|
|
449
|
-
version: "2.0.
|
|
450
|
-
buildTime: "12/30/2024
|
|
449
|
+
version: "2.0.5",
|
|
450
|
+
buildTime: "12/30/2024 07:48 PM EST",
|
|
451
451
|
homepage: "https://github.com/aversini/ui-components",
|
|
452
452
|
license: "MIT"
|
|
453
453
|
});
|
|
@@ -689,7 +689,7 @@ function bt(e) {
|
|
|
689
689
|
const t = f.useContext(Ur);
|
|
690
690
|
return e || t || "ltr";
|
|
691
691
|
}
|
|
692
|
-
var
|
|
692
|
+
var xe = "rovingFocusGroup.onEntryFocus", jr = { bubbles: !1, cancelable: !0 }, be = "RovingFocusGroup", [Re, vt, Kr] = Dr(be), [Wr, yt] = ze(
|
|
693
693
|
be,
|
|
694
694
|
[Kr]
|
|
695
695
|
), [Yr, qr] = Wr(be), kt = f.forwardRef(
|
|
@@ -714,9 +714,9 @@ var Zr = f.forwardRef((e, t) => {
|
|
|
714
714
|
onChange: g
|
|
715
715
|
}), [T, C] = f.useState(!1), w = Le(l), S = vt(r), A = f.useRef(!1), [M, R] = f.useState(0);
|
|
716
716
|
return f.useEffect(() => {
|
|
717
|
-
const
|
|
718
|
-
if (
|
|
719
|
-
return
|
|
717
|
+
const N = b.current;
|
|
718
|
+
if (N)
|
|
719
|
+
return N.addEventListener(xe, w), () => N.removeEventListener(xe, w);
|
|
720
720
|
}, [w]), /* @__PURE__ */ o(
|
|
721
721
|
Yr,
|
|
722
722
|
{
|
|
@@ -726,16 +726,16 @@ var Zr = f.forwardRef((e, t) => {
|
|
|
726
726
|
loop: n,
|
|
727
727
|
currentTabStopId: d,
|
|
728
728
|
onItemFocus: f.useCallback(
|
|
729
|
-
(
|
|
729
|
+
(N) => v(N),
|
|
730
730
|
[v]
|
|
731
731
|
),
|
|
732
732
|
onItemShiftTab: f.useCallback(() => C(!0), []),
|
|
733
733
|
onFocusableItemAdd: f.useCallback(
|
|
734
|
-
() => R((
|
|
734
|
+
() => R((N) => N + 1),
|
|
735
735
|
[]
|
|
736
736
|
),
|
|
737
737
|
onFocusableItemRemove: f.useCallback(
|
|
738
|
-
() => R((
|
|
738
|
+
() => R((N) => N - 1),
|
|
739
739
|
[]
|
|
740
740
|
),
|
|
741
741
|
children: /* @__PURE__ */ o(
|
|
@@ -749,11 +749,11 @@ var Zr = f.forwardRef((e, t) => {
|
|
|
749
749
|
onMouseDown: K(e.onMouseDown, () => {
|
|
750
750
|
A.current = !0;
|
|
751
751
|
}),
|
|
752
|
-
onFocus: K(e.onFocus, (
|
|
752
|
+
onFocus: K(e.onFocus, (N) => {
|
|
753
753
|
const le = !A.current;
|
|
754
|
-
if (
|
|
755
|
-
const de = new CustomEvent(
|
|
756
|
-
if (
|
|
754
|
+
if (N.target === N.currentTarget && le && !T) {
|
|
755
|
+
const de = new CustomEvent(xe, jr);
|
|
756
|
+
if (N.currentTarget.dispatchEvent(de), !de.defaultPrevented) {
|
|
757
757
|
const X = S().filter((B) => B.focusable), ye = X.find((B) => B.active), ke = X.find((B) => B.id === d), Ce = [ye, ke, ...X].filter(
|
|
758
758
|
Boolean
|
|
759
759
|
).map((B) => B.ref.current);
|
|
@@ -850,7 +850,7 @@ function wt(e, t = !1) {
|
|
|
850
850
|
function eo(e, t) {
|
|
851
851
|
return e.map((r, a) => e[(t + a) % e.length]);
|
|
852
852
|
}
|
|
853
|
-
var to = kt, ro = Tt, oo = "Toggle",
|
|
853
|
+
var to = kt, ro = Tt, oo = "Toggle", xt = f.forwardRef((e, t) => {
|
|
854
854
|
const { pressed: r, defaultPressed: a = !1, onPressedChange: n, ...i } = e, [s = !1, c] = pe({
|
|
855
855
|
prop: r,
|
|
856
856
|
onChange: n,
|
|
@@ -871,8 +871,8 @@ var to = kt, ro = Tt, oo = "Toggle", Nt = f.forwardRef((e, t) => {
|
|
|
871
871
|
}
|
|
872
872
|
);
|
|
873
873
|
});
|
|
874
|
-
|
|
875
|
-
var Q = "ToggleGroup", [
|
|
874
|
+
xt.displayName = oo;
|
|
875
|
+
var Q = "ToggleGroup", [Nt, ha] = ze(Q, [
|
|
876
876
|
yt
|
|
877
877
|
]), Et = yt(), Pe = E.forwardRef((e, t) => {
|
|
878
878
|
const { type: r, ...a } = e;
|
|
@@ -883,7 +883,7 @@ var Q = "ToggleGroup", [xt, ha] = ze(Q, [
|
|
|
883
883
|
throw new Error(`Missing prop \`type\` expected on \`${Q}\``);
|
|
884
884
|
});
|
|
885
885
|
Pe.displayName = Q;
|
|
886
|
-
var [It, St] =
|
|
886
|
+
var [It, St] = Nt(Q), ao = E.forwardRef((e, t) => {
|
|
887
887
|
const {
|
|
888
888
|
value: r,
|
|
889
889
|
defaultValue: a,
|
|
@@ -937,7 +937,7 @@ var [It, St] = xt(Q), ao = E.forwardRef((e, t) => {
|
|
|
937
937
|
);
|
|
938
938
|
});
|
|
939
939
|
Pe.displayName = Q;
|
|
940
|
-
var [so, io] =
|
|
940
|
+
var [so, io] = Nt(Q), _t = E.forwardRef(
|
|
941
941
|
(e, t) => {
|
|
942
942
|
const {
|
|
943
943
|
__scopeToggleGroup: r,
|
|
@@ -981,7 +981,7 @@ var Ke = E.forwardRef(
|
|
|
981
981
|
(e, t) => {
|
|
982
982
|
const { __scopeToggleGroup: r, value: a, ...n } = e, i = St(fe, r), s = { role: "radio", "aria-checked": e.pressed, "aria-pressed": void 0 }, c = i.type === "single" ? s : void 0;
|
|
983
983
|
return /* @__PURE__ */ o(
|
|
984
|
-
|
|
984
|
+
xt,
|
|
985
985
|
{
|
|
986
986
|
...c,
|
|
987
987
|
...n,
|
|
@@ -1097,13 +1097,13 @@ const At = E.createContext({
|
|
|
1097
1097
|
) });
|
|
1098
1098
|
};
|
|
1099
1099
|
/*!
|
|
1100
|
-
@versini/ui-panel v1.2.
|
|
1100
|
+
@versini/ui-panel v1.2.13
|
|
1101
1101
|
© 2024 gizmette.com
|
|
1102
1102
|
*/
|
|
1103
1103
|
try {
|
|
1104
1104
|
window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
|
|
1105
|
-
version: "1.2.
|
|
1106
|
-
buildTime: "12/
|
|
1105
|
+
version: "1.2.13",
|
|
1106
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
1107
1107
|
homepage: "https://github.com/aversini/ui-components",
|
|
1108
1108
|
license: "MIT"
|
|
1109
1109
|
});
|
|
@@ -1116,16 +1116,16 @@ const We = "av-messagebox", Ye = "av-panel", qe = "av-button", Oe = "icon", yo =
|
|
|
1116
1116
|
labelLeft: a,
|
|
1117
1117
|
align: n
|
|
1118
1118
|
}) => {
|
|
1119
|
-
const i = "text-sm font-medium max-h-8 py-0", s = "text-base font-medium max-h-9 py-1", c = "text-lg font-medium max-h-12 py-2";
|
|
1119
|
+
const i = "text-sm font-medium max-h-8 py-0 px-2", s = "text-base font-medium max-h-9 py-1 px-3", c = "text-lg font-medium max-h-12 py-2 px-4";
|
|
1120
1120
|
switch (e) {
|
|
1121
1121
|
case yo:
|
|
1122
|
-
return k(
|
|
1122
|
+
return k({
|
|
1123
1123
|
[i]: t === "small",
|
|
1124
1124
|
[s]: t === "medium",
|
|
1125
1125
|
[c]: t === "large"
|
|
1126
1126
|
});
|
|
1127
1127
|
case ko:
|
|
1128
|
-
return k("
|
|
1128
|
+
return k("text-center", {
|
|
1129
1129
|
[i]: t === "small",
|
|
1130
1130
|
[s]: t === "medium",
|
|
1131
1131
|
[c]: t === "large"
|
|
@@ -1136,9 +1136,9 @@ const We = "av-messagebox", Ye = "av-panel", qe = "av-button", Oe = "icon", yo =
|
|
|
1136
1136
|
"justify-start": n === "left",
|
|
1137
1137
|
"justify-end": n === "right",
|
|
1138
1138
|
"h-6 w-6 p-0": t === "small" && !(r || a),
|
|
1139
|
-
"h-6 px-
|
|
1139
|
+
"h-6 px-2 text-sm font-medium": t === "small" && (r || a),
|
|
1140
1140
|
"h-8 w-8 p-1": t === "medium" && !(r || a),
|
|
1141
|
-
"h-8 px-
|
|
1141
|
+
"h-8 px-3 text-base font-medium": t === "medium" && (r || a),
|
|
1142
1142
|
"h-12 w-12 p-2": t === "large" && !(r || a),
|
|
1143
1143
|
"h-12 px-4 text-lg font-medium": t === "large" && (r || a)
|
|
1144
1144
|
});
|
|
@@ -1235,7 +1235,7 @@ const We = "av-messagebox", Ye = "av-panel", qe = "av-button", Oe = "icon", yo =
|
|
|
1235
1235
|
"hover:bg-action-selected-dark-hover dark:hover:bg-action-selected-light-hover": e === "system",
|
|
1236
1236
|
"hover:bg-action-selected-light-hover dark:hover:bg-action-selected-dark-hover": e === "alt-system"
|
|
1237
1237
|
});
|
|
1238
|
-
},
|
|
1238
|
+
}, xo = ({
|
|
1239
1239
|
mode: e,
|
|
1240
1240
|
disabled: t,
|
|
1241
1241
|
variant: r
|
|
@@ -1270,7 +1270,7 @@ const We = "av-messagebox", Ye = "av-panel", qe = "av-button", Oe = "icon", yo =
|
|
|
1270
1270
|
"active:bg-action-selected-dark-active dark:active:bg-action-selected-light-active": e === "system",
|
|
1271
1271
|
"active:bg-action-selected-light-active dark:active:bg-action-selected-dark-active": e === "alt-system"
|
|
1272
1272
|
});
|
|
1273
|
-
},
|
|
1273
|
+
}, No = ({
|
|
1274
1274
|
mode: e,
|
|
1275
1275
|
noBorder: t,
|
|
1276
1276
|
variant: r
|
|
@@ -1338,11 +1338,17 @@ const We = "av-messagebox", Ye = "av-panel", qe = "av-button", Oe = "icon", yo =
|
|
|
1338
1338
|
noTruncate: h,
|
|
1339
1339
|
radius: d
|
|
1340
1340
|
}),
|
|
1341
|
-
Co({
|
|
1342
|
-
|
|
1341
|
+
Co({
|
|
1342
|
+
type: e,
|
|
1343
|
+
size: c,
|
|
1344
|
+
labelRight: l,
|
|
1345
|
+
labelLeft: u,
|
|
1346
|
+
align: m
|
|
1347
|
+
}),
|
|
1348
|
+
No({ mode: a, variant: b, noBorder: g }),
|
|
1343
1349
|
Eo({ focusMode: n }),
|
|
1344
1350
|
wo({ mode: a, variant: b, disabled: i }),
|
|
1345
|
-
|
|
1351
|
+
xo({ mode: a, variant: b, disabled: i }),
|
|
1346
1352
|
{
|
|
1347
1353
|
"w-full": s,
|
|
1348
1354
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
|
@@ -1427,13 +1433,13 @@ const zt = E.forwardRef(
|
|
|
1427
1433
|
);
|
|
1428
1434
|
zt.displayName = "ButtonIcon";
|
|
1429
1435
|
/*!
|
|
1430
|
-
@versini/ui-button v3.0
|
|
1436
|
+
@versini/ui-button v3.2.0
|
|
1431
1437
|
© 2024 gizmette.com
|
|
1432
1438
|
*/
|
|
1433
1439
|
try {
|
|
1434
1440
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
1435
|
-
version: "3.0
|
|
1436
|
-
buildTime: "12/
|
|
1441
|
+
version: "3.2.0",
|
|
1442
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
1437
1443
|
homepage: "https://github.com/aversini/ui-components",
|
|
1438
1444
|
license: "MIT"
|
|
1439
1445
|
});
|
|
@@ -1548,13 +1554,13 @@ const _o = ({
|
|
|
1548
1554
|
] });
|
|
1549
1555
|
};
|
|
1550
1556
|
/*!
|
|
1551
|
-
@versini/ui-svgicon v3.0.
|
|
1557
|
+
@versini/ui-svgicon v3.0.2
|
|
1552
1558
|
© 2024 gizmette.com
|
|
1553
1559
|
*/
|
|
1554
1560
|
try {
|
|
1555
1561
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
1556
|
-
version: "3.0.
|
|
1557
|
-
buildTime: "12/
|
|
1562
|
+
version: "3.0.2",
|
|
1563
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
1558
1564
|
homepage: "https://github.com/aversini/ui-components",
|
|
1559
1565
|
license: "MIT"
|
|
1560
1566
|
});
|
|
@@ -1579,13 +1585,13 @@ const Ro = ({
|
|
|
1579
1585
|
}
|
|
1580
1586
|
);
|
|
1581
1587
|
/*!
|
|
1582
|
-
@versini/ui-icons v3.0.
|
|
1588
|
+
@versini/ui-icons v3.0.2
|
|
1583
1589
|
© 2024 gizmette.com
|
|
1584
1590
|
*/
|
|
1585
1591
|
try {
|
|
1586
1592
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
1587
|
-
version: "3.0.
|
|
1588
|
-
buildTime: "12/
|
|
1593
|
+
version: "3.0.2",
|
|
1594
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
1589
1595
|
homepage: "https://github.com/aversini/ui-components",
|
|
1590
1596
|
license: "MIT"
|
|
1591
1597
|
});
|
|
@@ -1666,13 +1672,13 @@ const zo = f.forwardRef(function(e, t) {
|
|
|
1666
1672
|
}) });
|
|
1667
1673
|
});
|
|
1668
1674
|
/*!
|
|
1669
|
-
@versini/ui-modal v1.1.
|
|
1675
|
+
@versini/ui-modal v1.1.7
|
|
1670
1676
|
© 2024 gizmette.com
|
|
1671
1677
|
*/
|
|
1672
1678
|
try {
|
|
1673
1679
|
window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
|
|
1674
|
-
version: "1.1.
|
|
1675
|
-
buildTime: "12/
|
|
1680
|
+
version: "1.1.7",
|
|
1681
|
+
buildTime: "12/31/2024 09:01 AM EST",
|
|
1676
1682
|
homepage: "https://github.com/aversini/ui-components",
|
|
1677
1683
|
license: "MIT"
|
|
1678
1684
|
});
|
|
@@ -1740,23 +1746,23 @@ const ee = "panel", ue = "messagebox", Bo = ({
|
|
|
1740
1746
|
/* @__PURE__ */ o("div", { className: "mb-4", children: /* @__PURE__ */ o(
|
|
1741
1747
|
L,
|
|
1742
1748
|
{
|
|
1743
|
-
header:
|
|
1749
|
+
header: x.ABOUT.TITLE_CLIENT,
|
|
1744
1750
|
className: "prose-dark dark:prose-lighter",
|
|
1745
1751
|
children: oe(n, {
|
|
1746
|
-
[
|
|
1747
|
-
[
|
|
1752
|
+
[x.ABOUT.VERSION]: "5.11.4",
|
|
1753
|
+
[x.ABOUT.BUILD_TIMESTAMP]: "12/31/2024 10:06 AM EST"
|
|
1748
1754
|
})
|
|
1749
1755
|
}
|
|
1750
1756
|
) }),
|
|
1751
1757
|
/* @__PURE__ */ o(
|
|
1752
1758
|
L,
|
|
1753
1759
|
{
|
|
1754
|
-
header:
|
|
1760
|
+
header: x.ABOUT.TITLE_SERVER,
|
|
1755
1761
|
className: "prose-dark dark:prose-lighter",
|
|
1756
1762
|
children: oe(i, {
|
|
1757
|
-
[
|
|
1758
|
-
[he(
|
|
1759
|
-
[he(
|
|
1763
|
+
[x.ABOUT.VERSION]: r,
|
|
1764
|
+
[he(x.ABOUT.ENGINE, a.length)]: /* @__PURE__ */ o(_, { children: a.map((s) => /* @__PURE__ */ o("div", { className: "text-right", children: s }, s)) }),
|
|
1765
|
+
[he(x.ABOUT.PLUGIN, t.length)]: /* @__PURE__ */ o(_, { children: t.map((s) => /* @__PURE__ */ o("div", { className: "text-right", children: s }, s)) })
|
|
1760
1766
|
})
|
|
1761
1767
|
}
|
|
1762
1768
|
)
|
|
@@ -1789,24 +1795,24 @@ const ee = "panel", ue = "messagebox", Bo = ({
|
|
|
1789
1795
|
r && r.messages.length > 0 && /* @__PURE__ */ o("div", { className: "mb-4", children: /* @__PURE__ */ o(
|
|
1790
1796
|
L,
|
|
1791
1797
|
{
|
|
1792
|
-
header:
|
|
1798
|
+
header: x.CURRENT_STATISTICS.TITLE,
|
|
1793
1799
|
className: "prose-dark dark:prose-lighter",
|
|
1794
1800
|
children: oe(n, {
|
|
1795
|
-
[
|
|
1796
|
-
[
|
|
1797
|
-
[
|
|
1798
|
-
[
|
|
1801
|
+
[x.CURRENT_STATISTICS.MODEL_NAME]: (r == null ? void 0 : r.model) || te,
|
|
1802
|
+
[x.CURRENT_STATISTICS.TOKENS_USED]: r == null ? void 0 : r.usage,
|
|
1803
|
+
[x.CURRENT_STATISTICS.REMAINING_TOKENS]: Vt.format(a),
|
|
1804
|
+
[x.CURRENT_STATISTICS.PROCESSING_TIME]: Fo(r == null ? void 0 : r.messages)
|
|
1799
1805
|
})
|
|
1800
1806
|
}
|
|
1801
1807
|
) }),
|
|
1802
1808
|
/* @__PURE__ */ o(
|
|
1803
1809
|
L,
|
|
1804
1810
|
{
|
|
1805
|
-
header:
|
|
1811
|
+
header: x.MAIN_STATISTICS.TITLE,
|
|
1806
1812
|
className: "prose-dark dark:prose-lighter",
|
|
1807
1813
|
children: oe(i, {
|
|
1808
|
-
[he(
|
|
1809
|
-
[
|
|
1814
|
+
[he(x.MAIN_STATISTICS.TOTAL, t.totalChats)]: t.totalChats,
|
|
1815
|
+
[x.MAIN_STATISTICS.PROCESSING_TIME]: Qe(
|
|
1810
1816
|
t.averageProcessingTimes
|
|
1811
1817
|
)
|
|
1812
1818
|
})
|
|
@@ -2072,7 +2078,7 @@ const ee = "panel", ue = "messagebox", Bo = ({
|
|
|
2072
2078
|
}
|
|
2073
2079
|
)
|
|
2074
2080
|
] }) })
|
|
2075
|
-
] }, `${
|
|
2081
|
+
] }, `${x.HISTORY.TITLE}-${d.id}-${v}`) : null;
|
|
2076
2082
|
}) }),
|
|
2077
2083
|
/* @__PURE__ */ o(cr, { children: /* @__PURE__ */ o(we, { children: /* @__PURE__ */ o($, { colSpan: 4, children: /* @__PURE__ */ o("div", { children: he(
|
|
2078
2084
|
`${e.data.length} chat`,
|
|
@@ -2164,8 +2170,9 @@ const ee = "panel", ue = "messagebox", Bo = ({
|
|
|
2164
2170
|
}
|
|
2165
2171
|
}, [u, c]), t ? u && u.data && /* @__PURE__ */ y(_, { children: [
|
|
2166
2172
|
/* @__PURE__ */ o("form", { autoComplete: "off", onSubmit: m, children: /* @__PURE__ */ o(
|
|
2167
|
-
|
|
2173
|
+
Ne,
|
|
2168
2174
|
{
|
|
2175
|
+
autoCapitalize: "off",
|
|
2169
2176
|
autoComplete: "off",
|
|
2170
2177
|
autoCorrect: "off",
|
|
2171
2178
|
ref: n,
|
|
@@ -2211,13 +2218,13 @@ const ee = "panel", ue = "messagebox", Bo = ({
|
|
|
2211
2218
|
onOpenChange: t
|
|
2212
2219
|
}) => /* @__PURE__ */ o(Y, { open: e, onOpenChange: t, title: qt, children: /* @__PURE__ */ o(Ko, { onOpenChange: t }) });
|
|
2213
2220
|
/*!
|
|
2214
|
-
@versini/ui-toggle v2.0.
|
|
2221
|
+
@versini/ui-toggle v2.0.5
|
|
2215
2222
|
© 2024 gizmette.com
|
|
2216
2223
|
*/
|
|
2217
2224
|
try {
|
|
2218
2225
|
window.__VERSINI_UI_TOGGLE__ || (window.__VERSINI_UI_TOGGLE__ = {
|
|
2219
|
-
version: "2.0.
|
|
2220
|
-
buildTime: "12/30/2024
|
|
2226
|
+
version: "2.0.5",
|
|
2227
|
+
buildTime: "12/30/2024 07:48 PM EST",
|
|
2221
2228
|
homepage: "https://github.com/aversini/ui-components",
|
|
2222
2229
|
license: "MIT"
|
|
2223
2230
|
});
|
|
@@ -2688,7 +2695,7 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2688
2695
|
children: [
|
|
2689
2696
|
/* @__PURE__ */ y(q, { className: "mt-8 mb-6", columnGap: 2, rowGap: 6, children: [
|
|
2690
2697
|
/* @__PURE__ */ o(z, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ o(
|
|
2691
|
-
|
|
2698
|
+
Ne,
|
|
2692
2699
|
{
|
|
2693
2700
|
label: "Label",
|
|
2694
2701
|
name: `tag${u.slot}-label`,
|
|
@@ -2704,7 +2711,7 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2704
2711
|
}
|
|
2705
2712
|
) }),
|
|
2706
2713
|
/* @__PURE__ */ o(z, { span: { fallback: 12, sm: 6 }, children: /* @__PURE__ */ o(
|
|
2707
|
-
|
|
2714
|
+
Ne,
|
|
2708
2715
|
{
|
|
2709
2716
|
label: "Content",
|
|
2710
2717
|
name: `tag${u.slot}-content`,
|
|
@@ -2768,19 +2775,19 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2768
2775
|
/* @__PURE__ */ y(
|
|
2769
2776
|
L,
|
|
2770
2777
|
{
|
|
2771
|
-
header:
|
|
2778
|
+
header: x.PREFERENCES.TITLE,
|
|
2772
2779
|
className: "prose-dark dark:prose-lighter",
|
|
2773
2780
|
children: [
|
|
2774
2781
|
oe(u, {
|
|
2775
|
-
[
|
|
2776
|
-
[
|
|
2777
|
-
[
|
|
2782
|
+
[x.PREFERENCES.NAME]: p,
|
|
2783
|
+
[x.PREFERENCES.EMAIL]: (t == null ? void 0 : t.email) || "",
|
|
2784
|
+
[x.PREFERENCES.ENGINE_DETAILS]: /* @__PURE__ */ o(
|
|
2778
2785
|
re,
|
|
2779
2786
|
{
|
|
2780
2787
|
noBorder: !0,
|
|
2781
2788
|
labelHidden: !0,
|
|
2782
|
-
label:
|
|
2783
|
-
name:
|
|
2789
|
+
label: x.PREFERENCES.ENGINE_DETAILS,
|
|
2790
|
+
name: x.PREFERENCES.ENGINE_DETAILS,
|
|
2784
2791
|
onChange: b,
|
|
2785
2792
|
checked: n
|
|
2786
2793
|
}
|
|
@@ -2815,17 +2822,17 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2815
2822
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
2816
2823
|
header: /* @__PURE__ */ o("h2", { className: "m-0", children: /* @__PURE__ */ y(q, { columnGap: 3, alignVertical: "center", children: [
|
|
2817
2824
|
/* @__PURE__ */ o(z, { children: /* @__PURE__ */ o($e, { size: "size-8" }) }),
|
|
2818
|
-
/* @__PURE__ */ o(z, { children: /* @__PURE__ */ o("div", { children:
|
|
2825
|
+
/* @__PURE__ */ o(z, { children: /* @__PURE__ */ o("div", { children: x.PREFERENCES.PASSKEY_TITLE }) })
|
|
2819
2826
|
] }) }),
|
|
2820
2827
|
children: [
|
|
2821
|
-
/* @__PURE__ */ o("p", { children:
|
|
2828
|
+
/* @__PURE__ */ o("p", { children: x.PREFERENCES.PASSKEY_INSTRUCTIONS }),
|
|
2822
2829
|
/* @__PURE__ */ o(
|
|
2823
2830
|
j,
|
|
2824
2831
|
{
|
|
2825
2832
|
size: "small",
|
|
2826
2833
|
className: "mt-2",
|
|
2827
2834
|
onClick: r,
|
|
2828
|
-
labelLeft:
|
|
2835
|
+
labelLeft: x.PREFERENCES.PASSKEY_BUTTON,
|
|
2829
2836
|
children: /* @__PURE__ */ o($e, { size: "size-5", monotone: !0 })
|
|
2830
2837
|
}
|
|
2831
2838
|
)
|
|
@@ -2887,20 +2894,20 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2887
2894
|
mode: "dark",
|
|
2888
2895
|
focusMode: "light",
|
|
2889
2896
|
value: a,
|
|
2890
|
-
onValueChange: async (
|
|
2891
|
-
if (
|
|
2897
|
+
onValueChange: async (N) => {
|
|
2898
|
+
if (N)
|
|
2892
2899
|
try {
|
|
2893
2900
|
await D({
|
|
2894
2901
|
accessToken: await T(),
|
|
2895
2902
|
type: V.SET_USER_PREFERENCES,
|
|
2896
2903
|
params: {
|
|
2897
2904
|
user: C == null ? void 0 : C.username,
|
|
2898
|
-
engine:
|
|
2905
|
+
engine: N
|
|
2899
2906
|
}
|
|
2900
2907
|
}), t({
|
|
2901
2908
|
type: rt,
|
|
2902
2909
|
payload: {
|
|
2903
|
-
engine:
|
|
2910
|
+
engine: N
|
|
2904
2911
|
}
|
|
2905
2912
|
}), t({
|
|
2906
2913
|
type: et
|
|
@@ -2908,7 +2915,7 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2908
2915
|
} catch {
|
|
2909
2916
|
}
|
|
2910
2917
|
},
|
|
2911
|
-
children: r && r.engines.map((
|
|
2918
|
+
children: r && r.engines.map((N) => /* @__PURE__ */ o(vo, { value: N }, N))
|
|
2912
2919
|
}
|
|
2913
2920
|
) })
|
|
2914
2921
|
}
|
|
@@ -2926,7 +2933,7 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2926
2933
|
{
|
|
2927
2934
|
label: "Profile",
|
|
2928
2935
|
onClick: w,
|
|
2929
|
-
icon: /* @__PURE__ */ o(
|
|
2936
|
+
icon: /* @__PURE__ */ o(Nr, {})
|
|
2930
2937
|
}
|
|
2931
2938
|
),
|
|
2932
2939
|
/* @__PURE__ */ o(
|
|
@@ -2950,7 +2957,7 @@ const Yo = "av-toggle", qo = () => k("peer", "h-6", "w-11", "rounded-full"), Zo
|
|
|
2950
2957
|
{
|
|
2951
2958
|
label: "About",
|
|
2952
2959
|
onClick: M,
|
|
2953
|
-
icon: /* @__PURE__ */ o(
|
|
2960
|
+
icon: /* @__PURE__ */ o(xr, {})
|
|
2954
2961
|
}
|
|
2955
2962
|
),
|
|
2956
2963
|
e && e.id && !e.isComponent && /* @__PURE__ */ y(_, { children: [
|