@versini/sassysaint 8.82.0 → 8.83.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.
Files changed (27) hide show
  1. package/dist/chunks/{AboutChangelog.BSx_46oO.js → AboutChangelog.Dnae3ZET.js} +3 -3
  2. package/dist/chunks/{AboutEntry.BpkbOp-E.js → AboutEntry.DaKcxQlb.js} +7 -7
  3. package/dist/chunks/{App.CpK3vbuC.js → App.CfJzwyx5.js} +16 -16
  4. package/dist/chunks/{Chart.BQTk2pK3.js → Chart.CmXf5ahL.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.BFj2pLII.js → ChatBubbleAssistant.rQ0E9CSF.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.Cpvxvebn.js → ChatBubbleUser.iSkDnxmM.js} +3 -3
  7. package/dist/chunks/ChatHistoryTable.3HSGoZd4.js +215 -0
  8. package/dist/chunks/{HistoryEntry.Bair25TG.js → HistoryEntry.4IXWZ8qq.js} +3 -3
  9. package/dist/chunks/{ProfileEntry.DpxtnxMi.js → ProfileEntry.Chfyj-dQ.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.CAf7JHHN.js → SettingsEntry.SAurNjp0.js} +3 -3
  11. package/dist/chunks/{UsageEntry.WJO19NIA.js → UsageEntry.DPp3sbic.js} +3 -3
  12. package/dist/chunks/{UserMemoriesPanel.Cc8bs-bq.js → UserMemoriesPanel.DiSRjoNR.js} +4 -4
  13. package/dist/chunks/{index.CHqfXZtZ.js → index.9ZW-D7id.js} +1 -1
  14. package/dist/chunks/{index.qXgqxbjy.js → index.B6gxiXab.js} +1 -1
  15. package/dist/chunks/{index.BHptKcss.js → index.BQXkk0E7.js} +984 -988
  16. package/dist/chunks/{index.BW2JmieU.js → index.CoVeibJJ.js} +1 -1
  17. package/dist/chunks/{index.DYgM3w1D.js → index.D4xbtPpm.js} +3 -3
  18. package/dist/chunks/{index.DmgNCKlb.js → index.DNDgXAMw.js} +2 -2
  19. package/dist/chunks/{index.CPHEqdrL.js → index.HO-K8Z3S.js} +1 -1
  20. package/dist/chunks/{index.B8DHTZep.js → index.ZpurL-_2.js} +1 -1
  21. package/dist/chunks/{index.CtTF1DFp.js → index.iKl0E1mP.js} +1 -1
  22. package/dist/chunks/{useMarkdown.ovqec__Y.js → useMarkdown.D1WsA7gy.js} +6 -6
  23. package/dist/components/SassySaint/SassySaint.js +1 -1
  24. package/dist/index.js +4 -4
  25. package/dist/style.css +1 -1
  26. package/package.json +3 -3
  27. package/dist/chunks/ChatHistoryTable.B8sWhUDq.js +0 -237
@@ -1,8 +1,8 @@
1
1
  import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- import { useInViewport as c } from "./index.BHptKcss.js";
2
+ import { useInViewport as c } from "./index.BQXkk0E7.js";
3
3
  import { useRef as n, useCallback as f, useLayoutEffect as u } from "react";
4
- import { ButtonScroll as p } from "./App.CpK3vbuC.js";
5
- import { useMarkdown as d } from "./useMarkdown.ovqec__Y.js";
4
+ import { ButtonScroll as p } from "./App.CfJzwyx5.js";
5
+ import { useMarkdown as d } from "./useMarkdown.D1WsA7gy.js";
6
6
  const x = ({ content: o }) => {
7
7
  const [l, t] = d(), { ref: i, inViewport: a } = c(), e = n(null), m = f(() => {
8
8
  e.current && e.current.scrollIntoView({
@@ -1,15 +1,15 @@
1
1
  import { jsxs as b, Fragment as l, jsx as e } from "react/jsx-runtime";
2
- import { Panel as A } from "./App.CpK3vbuC.js";
3
- import { useUniqueId as d, useServerCapabilities as g, useChangelogs as I, Card as t, renderDataAsList as c, CARDS as r, pluralize as B, isProbablyMobile as E, ABOUT_TITLE as S } from "./index.BHptKcss.js";
2
+ import { Panel as g } from "./App.CfJzwyx5.js";
3
+ import { useUniqueId as d, useServerCapabilities as A, useChangelogs as I, Card as t, renderDataAsList as c, CARDS as r, pluralize as B, isProbablyMobile as E, ABOUT_TITLE as S } from "./index.BQXkk0E7.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.BSx_46oO.js"
9
+ "./AboutChangelog.Dnae3ZET.js"
10
10
  )
11
11
  ), N = () => {
12
- const s = d(), i = d(), { data: a, isSuccess: m } = g(), { data: T, isSuccess: h } = I(), u = a?.version || "", o = a?.models || [], p = a?.buildTime || "";
12
+ const s = d(), i = d(), { data: a, isSuccess: m } = A(), { data: T, isSuccess: h } = I(), u = a?.version || "", o = a?.models || [], p = a?.buildTime || "";
13
13
  return /* @__PURE__ */ b(l, { children: [
14
14
  /* @__PURE__ */ e(
15
15
  t,
@@ -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.82.0",
22
- [r.ABOUT.BUILD_TIMESTAMP]: "11/13/2025 10:08 AM EST"
21
+ [r.ABOUT.VERSION]: "8.83.0",
22
+ [r.ABOUT.BUILD_TIMESTAMP]: "11/13/2025 01:57 PM EST"
23
23
  })
24
24
  }
25
25
  ),
@@ -54,7 +54,7 @@ const L = U(
54
54
  open: s,
55
55
  onOpenChange: i
56
56
  }) => /* @__PURE__ */ e(
57
- A,
57
+ g,
58
58
  {
59
59
  open: s,
60
60
  onOpenChange: i,
@@ -1,5 +1,5 @@
1
1
  import { jsx as d, jsxs as A, Fragment as Ae } from "react/jsx-runtime";
2
- import { ACTION_SORT as oa, e as mt, ACTION_SEARCH as sa, ACTION_RESET_PROMPT as uo, ACTION_TOGGLE_PROMPT as po, useLocalStorage as ke, LOCAL_STORAGE_PREFIX as Me, LOCAL_STORAGE_CHAT_ID as fo, n as me, isDev as aa, isPWAMode as ho, isTauri as yt, useChat as ia, useClickOutside as ca, useInterval as la, useTheme as xe, ButtonIcon as Ie, IconAddLight as ua, DEFAULT_ICON_ACTION_SIZE as Ce, ChatContext as Ee, useUserPreferences as je, useHotkeys as Ur, isProbablyiPhone as $e, IconCloseLight as da, IconEditLight as pa, serverUrl as mo, useEntitlements as jr, IconClose as go, useHaptic as fa, L as Er, j as st, Button as on, LOCAL_STORAGE_PRIVATE_DISCLOSURE as ha, V as Ht, IconLockedLight as ma, IconUnlockedLight as ga, IconSelected as va, IconUnSelected as ya, IconNext as _a, PromptsContext as Fr, IconBookSparklesLight as ba, IconRewrite as wa, IconProofread as Ia, IconMagic as Ea, LOCAL_STORAGE_REASONING_DISCLOSURE as Ta, IconLightBulbLight as Sa, useSaveChat as ka, IconDownloadLight as Ca, TOAST_CHAT_SAVED as xa, IconSendLight as Aa, AppContext as St, HistoryContext as vo, useChatsHistory as Na, useUniqueId as Oa, PROMPT_EDITABLE_AREA_CLASSNAME as za, PROMPT_CLASSNAME as Pa, B as yo, ERROR_MESSAGE as Ra, _ as _t, CLIPBOARD_PROMPT as sn, INPUT_PLACEHOLDER_TEXT_MOBILE as an, INPUT_PLACEHOLDER_TEXT_ENTER as cn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as ln, isProbablyMobile as Tr, getHotkeyHandler as Ma, m as $a, FOOTER_DISCLAIMERS as un, useViewportSize as Za, useVisualViewportSize as Da, useResizeObserver as _o, isProbablyiPad as La, INPUT_BOTTOM_OFFSET_EXTRA as dn, INPUT_BOTTOM_OFFSET_IPHONE as Ua, INPUT_BOTTOM_OFFSET_IPAD as ja, INPUT_BOTTOM_OFFSET as bo, APP_SET_FOOTER_HEIGHT as Fa, FOOTER_TOP as Sr, FOOTER_BOTTOM as gt, APP_SET_FOOTER_POSITION as lr, getLayoutPaddingClass as kr, canEvaluateModels as pn, w as Ba, IconOpenAI as Va, q as Ha, IconAnthropic as Ga, E as Ja, IconGoogleGemini as Wa, K as Ya, x as qa, d as ur, setNewProvider as fn, TOAST_PROVIDER_CHANGED as hn, useQueryClient as Xa, LOG_OUT as mn, IconProfile as Ka, IconSliders as Qa, IconHistory as ei, IconEditUser as ti, IconChart as ri, IconInfo as ni, IconBack as oi, IconSettings as si, ee as wo, Q as gn, useInViewport as ai, useServerCapabilities as ii, getMessageContaintWrapperClass as ci, UI_FOOTER_BUFFER as Io, UI_BUTTON_SCROLL_BUFFER as li, Logo as ui, UI_DEFAULT_MAIN_HEIGHT as vn, k as di, appReducer as pi, applyOledMode as fi, APP_SET_OLED_MODE as hi, APP_SET_FULL_SCREEN as mi, APP_SET_THEME_MODE as gi, UI_DEFAULT_MAIN_HEIGHT_IPHONE as vi, APP_CLASSNAME as yi, f as yn, h as _i, LOCAL_STORAGE_SORT as bi, LOCAL_STORAGE_SEARCH as wi, LOCAL_STORAGE_OLED_MODE as Ii, LOCAL_STORAGE_FULL_SCREEN as Ei, LOCAL_STORAGE_SORT_TIMESTAMP as Ti, LOCAL_STORAGE_SORT_TOKEN_USAGE as Si, TOAST_CACHE_ENABLED as ki, TOAST_CACHE_DISABLED as Ci } from "./index.BHptKcss.js";
2
+ import { ACTION_SORT as oa, e as mt, ACTION_SEARCH as sa, ACTION_RESET_PROMPT as uo, ACTION_TOGGLE_PROMPT as po, useLocalStorage as ke, LOCAL_STORAGE_PREFIX as Me, LOCAL_STORAGE_CHAT_ID as fo, n as me, isDev as aa, isPWAMode as ho, isTauri as yt, useChat as ia, useClickOutside as ca, useInterval as la, useTheme as xe, ButtonIcon as Ie, IconAddLight as ua, DEFAULT_ICON_ACTION_SIZE as Ce, ChatContext as Ee, useUserPreferences as je, useHotkeys as Ur, isProbablyiPhone as $e, IconCloseLight as da, IconEditLight as pa, serverUrl as mo, useEntitlements as jr, IconClose as go, useHaptic as fa, L as Er, j as st, Button as on, LOCAL_STORAGE_PRIVATE_DISCLOSURE as ha, V as Ht, IconLockedLight as ma, IconUnlockedLight as ga, IconSelected as va, IconUnSelected as ya, IconNext as _a, PromptsContext as Fr, IconBookSparklesLight as ba, IconRewrite as wa, IconProofread as Ia, IconMagic as Ea, LOCAL_STORAGE_REASONING_DISCLOSURE as Ta, IconLightBulbLight as Sa, useSaveChat as ka, IconDownloadLight as Ca, TOAST_CHAT_SAVED as xa, IconSendLight as Aa, AppContext as St, HistoryContext as vo, useChatsHistory as Na, useUniqueId as Oa, PROMPT_EDITABLE_AREA_CLASSNAME as za, PROMPT_CLASSNAME as Pa, B as yo, ERROR_MESSAGE as Ra, _ as _t, CLIPBOARD_PROMPT as sn, INPUT_PLACEHOLDER_TEXT_MOBILE as an, INPUT_PLACEHOLDER_TEXT_ENTER as cn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as ln, isProbablyMobile as Tr, getHotkeyHandler as Ma, m as $a, FOOTER_DISCLAIMERS as un, useViewportSize as Za, useVisualViewportSize as Da, useResizeObserver as _o, isProbablyiPad as La, INPUT_BOTTOM_OFFSET_EXTRA as dn, INPUT_BOTTOM_OFFSET_IPHONE as Ua, INPUT_BOTTOM_OFFSET_IPAD as ja, INPUT_BOTTOM_OFFSET as bo, APP_SET_FOOTER_HEIGHT as Fa, FOOTER_TOP as Sr, FOOTER_BOTTOM as gt, APP_SET_FOOTER_POSITION as lr, getLayoutPaddingClass as kr, canEvaluateModels as pn, w as Ba, IconOpenAI as Va, q as Ha, IconAnthropic as Ga, E as Ja, IconGoogleGemini as Wa, K as Ya, x as qa, d as ur, setNewProvider as fn, TOAST_PROVIDER_CHANGED as hn, useQueryClient as Xa, LOG_OUT as mn, IconProfile as Ka, IconSliders as Qa, IconHistory as ei, IconEditUser as ti, IconChart as ri, IconInfo as ni, IconBack as oi, IconSettings as si, ee as wo, Q as gn, useInViewport as ai, useServerCapabilities as ii, getMessageContaintWrapperClass as ci, UI_FOOTER_BUFFER as Io, UI_BUTTON_SCROLL_BUFFER as li, Logo as ui, UI_DEFAULT_MAIN_HEIGHT as vn, k as di, appReducer as pi, applyOledMode as fi, APP_SET_OLED_MODE as hi, APP_SET_FULL_SCREEN as mi, APP_SET_THEME_MODE as gi, UI_DEFAULT_MAIN_HEIGHT_IPHONE as vi, APP_CLASSNAME as yi, f as yn, h as _i, LOCAL_STORAGE_SORT as bi, LOCAL_STORAGE_SEARCH as wi, LOCAL_STORAGE_OLED_MODE as Ii, LOCAL_STORAGE_FULL_SCREEN as Ei, LOCAL_STORAGE_SORT_TIMESTAMP as Ti, LOCAL_STORAGE_SORT_TOKEN_USAGE as Si, TOAST_CACHE_ENABLED as ki, TOAST_CACHE_DISABLED as Ci } from "./index.BQXkk0E7.js";
3
3
  import Eo, { useRef as W, useCallback as q, useSyncExternalStore as dr, useEffect as $, useState as M, createContext as Br, useContext as X, forwardRef as Xe, cloneElement as xi, useId as To, useLayoutEffect as Vr, useMemo as we, Suspense as Gt, lazy as Oe, useReducer as zt } from "react";
4
4
  import O, { clsx as Ai } from "clsx";
5
5
  import { computePosition as Ni, offset as So, flip as ko, shift as Co, arrow as Oi, useMergeRefs as Hr, FloatingPortal as Cr, FloatingOverlay as zi, FloatingFocusManager as xr, useFloating as xo, useClick as Ao, useDismiss as No, useRole as Oo, useInteractions as zo, useFloatingParentNodeId as Po, FloatingTree as Pi, useListItem as Ro, useFloatingTree as Mo, useFloatingNodeId as Ri, autoUpdate as Mi, useHover as $i, safePolygon as Zi, useListNavigation as Di, useTypeahead as Li, FloatingNode as _n, FloatingList as bn } from "@floating-ui/react";
@@ -5700,7 +5700,7 @@ const Ds = async () => (yr || (yr = import(
5700
5700
  "./index.790ujKXR.js"
5701
5701
  )), yr), Ls = async () => (_r || (_r = import(
5702
5702
  /* webpackChunkName: "toast-utilities" */
5703
- "./index.BHptKcss.js"
5703
+ "./index.BQXkk0E7.js"
5704
5704
  ).then((e) => e.utilities)), _r), Pf = async () => {
5705
5705
  try {
5706
5706
  await Promise.all([Ds(), Ls()]);
@@ -8286,38 +8286,38 @@ const kh = ({ className: e, ...t }) => {
8286
8286
  }, Kh = Oe(
8287
8287
  () => import(
8288
8288
  /* webpackChunkName: "modal-chunk" */
8289
- "./ProfileEntry.DpxtnxMi.js"
8289
+ "./ProfileEntry.Chfyj-dQ.js"
8290
8290
  ).then((e) => ({
8291
8291
  default: e.Profile
8292
8292
  }))
8293
8293
  ), Qh = Oe(
8294
8294
  () => import(
8295
8295
  /* webpackChunkName: "modal-chunk" */
8296
- "./SettingsEntry.CAf7JHHN.js"
8296
+ "./SettingsEntry.SAurNjp0.js"
8297
8297
  ).then((e) => ({
8298
8298
  default: e.SettingsPanel
8299
8299
  }))
8300
8300
  ), em = Oe(
8301
8301
  () => import(
8302
8302
  /* webpackChunkName: "modal-chunk" */
8303
- "./HistoryEntry.Bair25TG.js"
8303
+ "./HistoryEntry.4IXWZ8qq.js"
8304
8304
  ).then((e) => ({
8305
8305
  default: e.HistoryPanel
8306
8306
  }))
8307
8307
  ), tm = Oe(
8308
8308
  () => import(
8309
8309
  /* webpackChunkName: "modal-chunk" */
8310
- "./AboutEntry.BpkbOp-E.js"
8310
+ "./AboutEntry.DaKcxQlb.js"
8311
8311
  ).then((e) => ({ default: e.About }))
8312
8312
  ), rm = Oe(
8313
8313
  () => import(
8314
8314
  /* webpackChunkName: "modal-chunk" */
8315
- "./UsageEntry.WJO19NIA.js"
8315
+ "./UsageEntry.DPp3sbic.js"
8316
8316
  ).then((e) => ({ default: e.Usage }))
8317
8317
  ), nm = Oe(
8318
8318
  () => import(
8319
8319
  /* webpackChunkName: "modal-chunk" */
8320
- "./UserMemoriesPanel.Cc8bs-bq.js"
8320
+ "./UserMemoriesPanel.DiSRjoNR.js"
8321
8321
  ).then(
8322
8322
  (e) => ({ default: e.default })
8323
8323
  )
@@ -8367,23 +8367,23 @@ const kh = ({ className: e, ...t }) => {
8367
8367
  h || Promise.all([
8368
8368
  import(
8369
8369
  /* webpackChunkName: "modal-chunk" */
8370
- "./ProfileEntry.DpxtnxMi.js"
8370
+ "./ProfileEntry.Chfyj-dQ.js"
8371
8371
  ),
8372
8372
  import(
8373
8373
  /* webpackChunkName: "modal-chunk" */
8374
- "./SettingsEntry.CAf7JHHN.js"
8374
+ "./SettingsEntry.SAurNjp0.js"
8375
8375
  ),
8376
8376
  import(
8377
8377
  /* webpackChunkName: "modal-chunk" */
8378
- "./HistoryEntry.Bair25TG.js"
8378
+ "./HistoryEntry.4IXWZ8qq.js"
8379
8379
  ),
8380
8380
  import(
8381
8381
  /* webpackChunkName: "modal-chunk" */
8382
- "./AboutEntry.BpkbOp-E.js"
8382
+ "./AboutEntry.DaKcxQlb.js"
8383
8383
  ),
8384
8384
  import(
8385
8385
  /* webpackChunkName: "modal-chunk" */
8386
- "./UsageEntry.WJO19NIA.js"
8386
+ "./UsageEntry.DPp3sbic.js"
8387
8387
  )
8388
8388
  ]).finally(() => f(!0));
8389
8389
  }, [h]), m = q((U) => {
@@ -8653,18 +8653,18 @@ const co = "av-spinner", qs = ({ spinnerRef: e, mode: t = "system", type: r = "c
8653
8653
  ]
8654
8654
  });
8655
8655
  }, cm = Oe(
8656
- () => import("./index.CPHEqdrL.js").then((e) => ({ default: e.Bubble }))
8656
+ () => import("./index.HO-K8Z3S.js").then((e) => ({ default: e.Bubble }))
8657
8657
  ), tn = (e) => /* @__PURE__ */ d(Gt, { fallback: /* @__PURE__ */ d("span", { className: "inline-block" }), children: /* @__PURE__ */ d(cm, { ...e }) });
8658
8658
  tn.displayName = "AsyncBubble";
8659
8659
  const lo = 1, lm = 150, um = Oe(
8660
8660
  () => import(
8661
8661
  /* webpackChunkName: "LazyMessageAssistant" */
8662
- "./ChatBubbleAssistant.BFj2pLII.js"
8662
+ "./ChatBubbleAssistant.rQ0E9CSF.js"
8663
8663
  )
8664
8664
  ), dm = Oe(
8665
8665
  () => import(
8666
8666
  /* webpackChunkName: "LazyMessageUser" */
8667
- "./ChatBubbleUser.Cpvxvebn.js"
8667
+ "./ChatBubbleUser.iSkDnxmM.js"
8668
8668
  )
8669
8669
  ), pm = Eo.memo(
8670
8670
  ({
@@ -1,7 +1,7 @@
1
1
  import { jsx as Ap } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.CpK3vbuC.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.CfJzwyx5.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.BHptKcss.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.BQXkk0E7.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 x } from "react/jsx-runtime";
2
- import { ChatContext as P, AppContext as R, n as y, useUserPreferences as L, convertCamelCaseToReadable as _, numberFormatter as v, pluralize as B, Q as G } from "./index.BHptKcss.js";
3
- import { BUBBLE_FOOTER_EMPTY as D } from "./index.CPHEqdrL.js";
2
+ import { ChatContext as P, AppContext as R, n as y, useUserPreferences as L, convertCamelCaseToReadable as _, numberFormatter as v, pluralize as B, Q as G } from "./index.BQXkk0E7.js";
3
+ import { BUBBLE_FOOTER_EMPTY as D } from "./index.HO-K8Z3S.js";
4
4
  import U from "clsx";
5
5
  import j, { useState as M, useRef as E, useEffect as F, useContext as S } from "react";
6
- import { AsyncBubble as k } from "./App.CpK3vbuC.js";
7
- import { useMarkdown as q } from "./useMarkdown.ovqec__Y.js";
6
+ import { AsyncBubble as k } from "./App.CfJzwyx5.js";
7
+ import { useMarkdown as q } from "./useMarkdown.D1WsA7gy.js";
8
8
  const I = 2, W = I * 1e3, b = "", V = (e) => e * (2 - e);
9
9
  function Y(e, n = !0) {
10
10
  const [a, d] = M(0), [i, p] = M(0), [t, C] = M(e), r = E(0), s = E(0);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a, Fragment as h, jsxs as S } from "react/jsx-runtime";
2
- import { Button as C } from "./index.BHptKcss.js";
2
+ import { Button as C } from "./index.BQXkk0E7.js";
3
3
  import { useState as _, useMemo as m, isValidElement as T, useEffect as b } from "react";
4
- import { AsyncBubble as w } from "./App.CpK3vbuC.js";
5
- import { useMarkdown as x } from "./useMarkdown.ovqec__Y.js";
4
+ import { AsyncBubble as w } from "./App.CfJzwyx5.js";
5
+ import { useMarkdown as x } from "./useMarkdown.D1WsA7gy.js";
6
6
  /*!
7
7
  @versini/ui-truncate v5.2.0
8
8
  © 2025 gizmette.com
@@ -0,0 +1,215 @@
1
+ import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
+ import { f as x, h as u, INFINITE_SCROLL_THRESHOLD as v, CARDS as I, pluralize as f, ButtonIcon as i, IconRestore as U, IconStarInCircle as y, IconStarInCircleLight as D, IconDelete as z, numberFormatter as L, isProbablyMobile as _ } from "./index.BQXkk0E7.js";
3
+ import { W as P, j as $, G as m, H as B, M as a, F as M } from "./index.ZpurL-_2.js";
4
+ import { Tooltip as d } from "./App.CfJzwyx5.js";
5
+ import h from "clsx";
6
+ import { Fragment as W } from "react";
7
+ const s = {
8
+ ROW: "row",
9
+ TIMESTAMP: x,
10
+ SUMMARY: "summary",
11
+ TOKEN_USAGE: u,
12
+ ACTIONS: "actions"
13
+ }, Y = [
14
+ s.ROW,
15
+ s.TIMESTAMP,
16
+ s.SUMMARY,
17
+ s.ACTIONS
18
+ ], G = [
19
+ s.ROW,
20
+ s.SUMMARY,
21
+ s.TIMESTAMP,
22
+ s.TOKEN_USAGE,
23
+ s.ACTIONS
24
+ ], X = ({
25
+ filteredHistory: n,
26
+ historyState: o,
27
+ lastEntryToLoad: p,
28
+ onClickSort: g,
29
+ onClickRestore: T,
30
+ onClickDelete: S,
31
+ onClickFavorite: N,
32
+ infinityScrollMarkerRef: A,
33
+ isLoading: O = !1,
34
+ totalHistoryCount: b,
35
+ isFiltered: R = !1
36
+ }) => {
37
+ const C = _() ? Y : G, w = (t) => {
38
+ switch (t) {
39
+ case s.ROW:
40
+ return /* @__PURE__ */ e(a, { className: "sr-only", children: "Row" }, t);
41
+ case s.TIMESTAMP:
42
+ return /* @__PURE__ */ e(
43
+ M,
44
+ {
45
+ focusMode: "system",
46
+ buttonClassName: "text-xs sm:text-sm",
47
+ cellId: x,
48
+ align: "left",
49
+ sortDirection: o.sortDirection,
50
+ sortedCell: o.sortedCell,
51
+ onClick: () => {
52
+ g(x);
53
+ },
54
+ children: "Date"
55
+ },
56
+ t
57
+ );
58
+ case s.SUMMARY:
59
+ return /* @__PURE__ */ e(a, { className: "text-xs sm:text-sm", children: "Summary" }, t);
60
+ case s.TOKEN_USAGE:
61
+ return /* @__PURE__ */ e(
62
+ M,
63
+ {
64
+ focusMode: "system",
65
+ buttonClassName: "text-xs sm:text-sm",
66
+ cellId: u,
67
+ align: "right",
68
+ sortDirection: o.sortDirection,
69
+ sortedCell: o.sortedCell,
70
+ onClick: () => {
71
+ g(u);
72
+ },
73
+ children: "Tokens"
74
+ },
75
+ t
76
+ );
77
+ case s.ACTIONS:
78
+ return /* @__PURE__ */ e(a, { className: "text-xs sm:text-sm text-right", children: "Actions" }, t);
79
+ default:
80
+ return null;
81
+ }
82
+ }, k = (t, r, l) => {
83
+ switch (t) {
84
+ case s.ROW:
85
+ return /* @__PURE__ */ e(a, { children: l + 1 }, t);
86
+ case s.TIMESTAMP:
87
+ return /* @__PURE__ */ e(
88
+ a,
89
+ {
90
+ component: "th",
91
+ scope: "row",
92
+ className: h(
93
+ "dark:text-gray-400",
94
+ "sm:whitespace-nowrap text-xs sm:text-sm max-w-20 sm:max-w-none"
95
+ ),
96
+ children: r.timestamp.split(",")[0]
97
+ },
98
+ t
99
+ );
100
+ case s.SUMMARY: {
101
+ const E = r.summary || (r.messages.length > 0 ? r.messages[0]?.content : "");
102
+ return /* @__PURE__ */ e(
103
+ a,
104
+ {
105
+ className: h(
106
+ "dark:text-white",
107
+ "max-w-[100px] sm:max-w-full text-xs sm:text-sm"
108
+ ),
109
+ style: {
110
+ wordBreak: "break-word"
111
+ },
112
+ children: E
113
+ },
114
+ t
115
+ );
116
+ }
117
+ case s.TOKEN_USAGE:
118
+ return /* @__PURE__ */ e(
119
+ a,
120
+ {
121
+ className: h("dark:text-gray-400", "text-xs sm:text-sm"),
122
+ align: "right",
123
+ children: r.tokenUsage ? L.format(r.tokenUsage) : "0"
124
+ },
125
+ t
126
+ );
127
+ case s.ACTIONS:
128
+ return /* @__PURE__ */ e(
129
+ a,
130
+ {
131
+ className: "border-l border-table-light dark:border-table-dark",
132
+ children: /* @__PURE__ */ c("div", { className: "flex flex-col items-end sm:flex-row gap-2", children: [
133
+ /* @__PURE__ */ e(
134
+ d,
135
+ {
136
+ label: "Restore chat",
137
+ placement: "top",
138
+ trigger: /* @__PURE__ */ e(
139
+ i,
140
+ {
141
+ noBorder: !0,
142
+ label: "Restore chat",
143
+ variant: "primary",
144
+ iconClassName: "text-green-800 dark:text-green-500",
145
+ onClick: async () => {
146
+ await T(r);
147
+ },
148
+ children: /* @__PURE__ */ e(U, { size: "size-3", monotone: !0 })
149
+ }
150
+ )
151
+ }
152
+ ),
153
+ /* @__PURE__ */ e(
154
+ d,
155
+ {
156
+ label: r.favoriteChat ? "Remove from favorites" : "Add to favorites",
157
+ placement: "top",
158
+ trigger: /* @__PURE__ */ e(
159
+ i,
160
+ {
161
+ noBorder: !0,
162
+ label: r.favoriteChat ? "Remove from favorites" : "Add to favorites",
163
+ variant: "primary",
164
+ onClick: async () => {
165
+ await N(r);
166
+ },
167
+ children: r.favoriteChat ? /* @__PURE__ */ e(y, { size: "size-4", monotone: !0 }) : /* @__PURE__ */ e(D, { size: "size-4", monotone: !0 })
168
+ }
169
+ )
170
+ }
171
+ ),
172
+ /* @__PURE__ */ e(
173
+ d,
174
+ {
175
+ label: "Delete chat",
176
+ placement: "top",
177
+ trigger: /* @__PURE__ */ e(
178
+ i,
179
+ {
180
+ noBorder: !0,
181
+ label: "Delete chat",
182
+ variant: "primary",
183
+ iconClassName: "text-red-700 dark:text-red-500",
184
+ onClick: () => {
185
+ S(r);
186
+ },
187
+ children: /* @__PURE__ */ e(z, { size: "size-3", monotone: !0 })
188
+ }
189
+ )
190
+ }
191
+ )
192
+ ] })
193
+ },
194
+ t
195
+ );
196
+ default:
197
+ return null;
198
+ }
199
+ };
200
+ return /* @__PURE__ */ c(P, { stickyHeader: !0, compact: !0, mode: "alt-system", caption: (() => {
201
+ const t = n.length, r = b ?? t;
202
+ return R && r > t ? `Showing ${f(`${t} chat`, t)} out of ${r}` : f(`${t} chat`, t);
203
+ })(), children: [
204
+ /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(m, { children: C.map((t) => w(t)) }) }),
205
+ /* @__PURE__ */ e(B, { children: O && n.length === 0 ? /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(a, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: "Loading..." }) }) }) : n.slice(0, p).map((t, r) => t?.messages?.length > 0 ? /* @__PURE__ */ c(W, { children: [
206
+ r === p - v && /* @__PURE__ */ e("tr", { ref: A }),
207
+ /* @__PURE__ */ e(m, { children: C.map(
208
+ (l) => k(l, t, r)
209
+ ) })
210
+ ] }, `${I.HISTORY.TITLE}-${t.id}-${r}`) : null) })
211
+ ] });
212
+ };
213
+ export {
214
+ X as ChatHistoryTable
215
+ };
@@ -1,11 +1,11 @@
1
1
  import { jsxs as c, Fragment as $, jsx as t } from "react/jsx-runtime";
2
- import { n as P, INFINITE_SCROLL_LIMIT as G, INFINITE_SCROLL_THRESHOLD as ee, HistoryContext as V, ChatContext as te, useLocalStorage as f, LOCAL_STORAGE_PREFIX as y, LOCAL_STORAGE_SORT_TIMESTAMP as ae, e as h, LOCAL_STORAGE_SORT_TOKEN_USAGE as re, LOCAL_STORAGE_SORT as se, f as v, useDeleteChat as oe, useToggleFavoriteChat as ne, APP_CLASSNAME as ie, TOAST_CHAT_DELETED as ce, graphQLRequest as le, SERVICE_TYPES as de, ACTION_SORT as he, h as me, useChatsHistory as ue, useUserChatStats as Ce, LOCAL_STORAGE_SEARCH as Se, LOCAL_STORAGE_FAVORITES_ONLY as fe, HISTORY_TITLE as ye, Card as pe, TextInput as Te, debounce as ge, IconSearch as Ae, Button as Ee, ACTION_SEARCH as De } from "./index.BHptKcss.js";
3
- import { useAiChat as _e, ConfirmationPanel as Oe, LazyToastContainerWrapper as Le, showErrorToast as ve, CHAT_SET_STATUS as ke, Panel as Re, Toggle as Ie } from "./App.CpK3vbuC.js";
2
+ import { n as P, INFINITE_SCROLL_LIMIT as G, INFINITE_SCROLL_THRESHOLD as ee, HistoryContext as V, ChatContext as te, useLocalStorage as f, LOCAL_STORAGE_PREFIX as y, LOCAL_STORAGE_SORT_TIMESTAMP as ae, e as h, LOCAL_STORAGE_SORT_TOKEN_USAGE as re, LOCAL_STORAGE_SORT as se, f as v, useDeleteChat as oe, useToggleFavoriteChat as ne, APP_CLASSNAME as ie, TOAST_CHAT_DELETED as ce, graphQLRequest as le, SERVICE_TYPES as de, ACTION_SORT as he, h as me, useChatsHistory as ue, useUserChatStats as Ce, LOCAL_STORAGE_SEARCH as Se, LOCAL_STORAGE_FAVORITES_ONLY as fe, HISTORY_TITLE as ye, Card as pe, TextInput as Te, debounce as ge, IconSearch as Ae, Button as Ee, ACTION_SEARCH as De } from "./index.BQXkk0E7.js";
3
+ import { useAiChat as _e, ConfirmationPanel as Oe, LazyToastContainerWrapper as Le, showErrorToast as ve, CHAT_SET_STATUS as ke, Panel as Re, Toggle as Ie } from "./App.CfJzwyx5.js";
4
4
  import { useRef as N, useState as H, useContext as w, useCallback as M, Suspense as be, lazy as xe, useEffect as Ne } from "react";
5
5
  const He = xe(
6
6
  () => import(
7
7
  /* webpackChunkName: "history-table" */
8
- "./ChatHistoryTable.B8sWhUDq.js"
8
+ "./ChatHistoryTable.3HSGoZd4.js"
9
9
  ).then((m) => ({ default: m.ChatHistoryTable }))
10
10
  ), we = ({
11
11
  filteredHistory: m,
@@ -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 H, LazyToastContainerWrapper as $, Panel as V } from "./App.CpK3vbuC.js";
3
- import { n as q, useUniqueId as J, useUserPreferences as Q, useServerCapabilities as X, d as Z, setUserPlan as ee, Card as d, renderDataAsList as ae, CARDS as s, L as P, j as c, Button as se, it as ne, isTauri as re, ButtonIcon as te, IconPasskey as L, PROFILE_TITLE as le } from "./index.BHptKcss.js";
2
+ import { preloadToast as K, showSuccessToast as W, showErrorToast as Y, ConfirmationPanel as H, LazyToastContainerWrapper as $, Panel as V } from "./App.CfJzwyx5.js";
3
+ import { n as q, useUniqueId as J, useUserPreferences as Q, useServerCapabilities as X, d as Z, setUserPlan as ee, Card as d, renderDataAsList as ae, CARDS as s, L as P, j as c, Button as se, it as ne, isTauri as re, ButtonIcon as te, IconPasskey as L, PROFILE_TITLE as le } from "./index.BQXkk0E7.js";
4
4
  import ie from "clsx";
5
5
  import { useState as m, useMemo as ce, useCallback as f } from "react";
6
6
  const oe = () => {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { n as je, useEntitlements as Ve, AppContext as Fe, useUserPreferences as We, V as ie, useLocalStorage as de, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, k as ue, canEvaluateModels as He, Y as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, SETTINGS_TITLE as Qe, Card as E, CARDS as r, b as Je, Button as v, PROMPTS_DESCRIPTION as Xe, e_ as me, L as Ze, j as he, applyOledMode as Ee, APP_SET_OLED_MODE as fe, APP_SET_FULL_SCREEN as Se, getCurrentGeoLocation as et, graphQLRequest as pe, handleServiceWorkerToggle as tt, SERVICE_TYPES as ge } from "./index.BHptKcss.js";
3
- import { useCapability as be, Panel as ot, Toggle as l } from "./App.CpK3vbuC.js";
4
- import { TextArea as Te } from "./index.CHqfXZtZ.js";
2
+ import { n as je, useEntitlements as Ve, AppContext as Fe, useUserPreferences as We, V as ie, useLocalStorage as de, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, k as ue, canEvaluateModels as He, Y as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, SETTINGS_TITLE as Qe, Card as E, CARDS as r, b as Je, Button as v, PROMPTS_DESCRIPTION as Xe, e_ as me, L as Ze, j as he, applyOledMode as Ee, APP_SET_OLED_MODE as fe, APP_SET_FULL_SCREEN as Se, getCurrentGeoLocation as et, graphQLRequest as pe, handleServiceWorkerToggle as tt, SERVICE_TYPES as ge } from "./index.BQXkk0E7.js";
3
+ import { useCapability as be, Panel as ot, Toggle as l } from "./App.CfJzwyx5.js";
4
+ import { TextArea as Te } from "./index.9ZW-D7id.js";
5
5
  import { useContext as at, useState as a, useMemo as st, useCallback as nt, useEffect as Ne } from "react";
6
6
  const ut = ({
7
7
  open: Ce,
@@ -1,13 +1,13 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, useUniqueId as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, Card as g, renderDataAsList as P, CARDS as a, L as p, j as A, Button as i, pluralize as m } from "./index.BHptKcss.js";
3
- import { Panel as H } from "./App.CpK3vbuC.js";
2
+ import { n as f, useUniqueId as v, useUserChatStats as _, useChatsUsage as z, USAGE_TITLE as B, Card as g, renderDataAsList as P, CARDS as a, L as p, j as A, Button as i, pluralize as m } from "./index.BQXkk0E7.js";
3
+ import { Panel as H } from "./App.CfJzwyx5.js";
4
4
  import { useState as C, 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.BQTk2pK3.js"
10
+ "./Chart.CmXf5ahL.js"
11
11
  )), R = ({
12
12
  open: k,
13
13
  onOpenChange: E
@@ -1,10 +1,10 @@
1
1
  import { jsx as e, jsxs as r, Fragment as b } from "react/jsx-runtime";
2
- import { L as R, j as A, Button as M, n as Ne, useLocalStorage as K, LOCAL_STORAGE_PREFIX as Q, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as we, e as l, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ke, useUserMemories as Se, useExpiredMemories as Te, useDeleteMemory as ve, useDeleteAllActiveMemories as De, useDeleteAllExpiredMemories as Me, useUpdateMemory as Ee, useRestoreMemory as be, ButtonIcon as O, IconEdit as Re, IconDelete as Z, IconRestore as Ie } from "./index.BHptKcss.js";
3
- import { Panel as le, Toggle as _, ConfirmationPanel as ee, Tooltip as z } from "./App.CpK3vbuC.js";
4
- import { W as te, j as re, G as D, M as s, F as B, H as ie, D as ne } from "./index.B8DHTZep.js";
2
+ import { L as R, j as A, Button as M, n as Ne, useLocalStorage as K, LOCAL_STORAGE_PREFIX as Q, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as we, e as l, LOCAL_STORAGE_SORT_MEMORY_COLUMN as ke, useUserMemories as Se, useExpiredMemories as Te, useDeleteMemory as ve, useDeleteAllActiveMemories as De, useDeleteAllExpiredMemories as Me, useUpdateMemory as Ee, useRestoreMemory as be, ButtonIcon as O, IconEdit as Re, IconDelete as Z, IconRestore as Ie } from "./index.BQXkk0E7.js";
3
+ import { Panel as le, Toggle as _, ConfirmationPanel as ee, Tooltip as z } from "./App.CfJzwyx5.js";
4
+ import { W as te, j as re, G as D, M as s, F as B, H as ie, D as ne } from "./index.ZpurL-_2.js";
5
5
  import y from "clsx";
6
6
  import { useState as C, useEffect as Le, useRef as oe } from "react";
7
- import { TextArea as Oe } from "./index.CHqfXZtZ.js";
7
+ import { TextArea as Oe } from "./index.9ZW-D7id.js";
8
8
  const _e = ({
9
9
  open: N,
10
10
  onOpenChange: E,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as oe, jsx as h } from "react/jsx-runtime";
2
- import { useMergeRefs as ce, useResizeObserver as W, useUniqueId as ne, useUncontrolled as le, LiveRegion as ie } from "./index.BHptKcss.js";
2
+ import { useMergeRefs as ce, useResizeObserver as W, useUniqueId as ne, useUncontrolled as le, LiveRegion as ie } from "./index.BQXkk0E7.js";
3
3
  import ue, { useRef as k, useState as I, useLayoutEffect as R } from "react";
4
4
  import o from "clsx";
5
5
  /*!
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.ovqec__Y.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.D1WsA7gy.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {