@versini/sassysaint 8.4.8 → 8.4.9

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.
@@ -4,7 +4,7 @@ var kn = (e) => {
4
4
  var Fr = (e, t, r) => t.has(e) || kn("Cannot " + r);
5
5
  var A = (e, t, r) => (Fr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), ue = (e, t, r) => t.has(e) ? kn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), re = (e, t, r, a) => (Fr(e, t, "write to private field"), a ? a.call(e, r) : t.set(e, r), r), ie = (e, t, r) => (Fr(e, t, "access private method"), r);
6
6
  import { jsx as c, jsxs as N, Fragment as he } from "react/jsx-runtime";
7
- import { Subscribable as Ii, pendingThenable as xn, resolveEnabled as Pe, shallowEqualObjects as ia, resolveStaleTime as hr, noop as Ci, isServer as la, isValidTimeout as Tn, focusManager as Si, fetchState as Ni, replaceData as En, notifyManager as Mo, timeUntilStale as Ri, useQueryClient as Ai, I as ne, ACTION_SORT as ca, ACTION_SEARCH as Bo, ACTION_RESET_PROMPT as Po, ACTION_TOGGLE_PROMPT as Do, DEFAULT_AI_PROVIDER as Oi, isElectron as da, isProbablyiPhone as ua, re as Ae, DEFAULT_ICON_ACTION_SIZE as Je, L as wr, j as rt, C as zt, LOCAL_STORAGE_PREFIX as It, LOCAL_STORAGE_PRIVATE_DISCLOSURE as $i, un as Se, PROVIDER_ANTHROPIC as Ur, PROVIDER_OPENAI as In, TOAST_PROVIDER_CHANGED as zo, toastOptions as fa, PROMPT_CLASSNAME as Li, PROMPT_EDITABLE_AREA_CLASSNAME as Mi, ROLE_INTERNAL as ha, ERROR_MESSAGE as Cn, CLIPBOARD_PROMPT as Sn, INPUT_PLACEHOLDER_TEXT as Nn, FOOTER_DISCLAIMER as Bi, R as De, CARDS as le, renderDataAsList as gr, pluralize as Ka, ABOUT_TITLE as Pi, INFINITE_SCROLL_LIMIT as Rn, INFINITE_SCROLL_THRESHOLD as An, LOCAL_STORAGE_SORT as Vo, TOAST_CHAT_DELETED as Di, LOCAL_STORAGE_SEARCH as Fo, HISTORY_TITLE as zi, fe as Vi, debounce as Fi, M as Ui, l as On, durationFormatter as Hi, PROFILE_TITLE as ji, LOCAL_STORAGE_CHAT_DETAILS as Gi, SETTINGS_TITLE as Wi, APP_NAME as qi, PROMPTS_DESCRIPTION as Yi, getCurrentGeoLocation as Ji, LOG_OUT as $n, ROLE_USER as Ki, ROLE_ASSISTANT as Ln, getMessageContaintWrapperClass as Qi, UI_FOOTER_BUFFER as Uo, UI_BUTTON_SCROLL_BUFFER as Xi, Logo as Zi, UI_DEFAULT_MAIN_HEIGHT as Mn, getMainPaddingClass as Bn, I$1 as el } from "./index.BnpZli-7.js";
7
+ import { Subscribable as Ii, pendingThenable as xn, resolveEnabled as Pe, shallowEqualObjects as ia, resolveStaleTime as hr, noop as Ci, isServer as la, isValidTimeout as Tn, focusManager as Si, fetchState as Ni, replaceData as En, notifyManager as Mo, timeUntilStale as Ri, useQueryClient as Ai, I as ne, ACTION_SORT as ca, ACTION_SEARCH as Bo, ACTION_RESET_PROMPT as Po, ACTION_TOGGLE_PROMPT as Do, DEFAULT_AI_PROVIDER as Oi, isElectron as da, isProbablyiPhone as ua, re as Ae, DEFAULT_ICON_ACTION_SIZE as Je, L as wr, j as rt, C as zt, LOCAL_STORAGE_PREFIX as It, LOCAL_STORAGE_PRIVATE_DISCLOSURE as $i, un as Se, PROVIDER_ANTHROPIC as Ur, PROVIDER_OPENAI as In, TOAST_PROVIDER_CHANGED as zo, toastOptions as fa, PROMPT_CLASSNAME as Li, PROMPT_EDITABLE_AREA_CLASSNAME as Mi, ROLE_INTERNAL as ha, ERROR_MESSAGE as Cn, CLIPBOARD_PROMPT as Sn, INPUT_PLACEHOLDER_TEXT as Nn, FOOTER_DISCLAIMER as Bi, R as De, CARDS as le, renderDataAsList as gr, pluralize as Ka, ABOUT_TITLE as Pi, INFINITE_SCROLL_LIMIT as Rn, INFINITE_SCROLL_THRESHOLD as An, LOCAL_STORAGE_SORT as Vo, TOAST_CHAT_DELETED as Di, LOCAL_STORAGE_SEARCH as Fo, HISTORY_TITLE as zi, fe as Vi, debounce as Fi, M as Ui, l as On, durationFormatter as Hi, PROFILE_TITLE as ji, LOCAL_STORAGE_CHAT_DETAILS as Gi, SETTINGS_TITLE as Wi, APP_NAME as qi, PROMPTS_DESCRIPTION as Yi, getCurrentGeoLocation as Ji, LOG_OUT as $n, ROLE_USER as Ki, ROLE_ASSISTANT as Ln, getMessageContaintWrapperClass as Qi, UI_FOOTER_BUFFER as Uo, UI_BUTTON_SCROLL_BUFFER as Xi, Logo as Zi, UI_DEFAULT_MAIN_HEIGHT as Mn, getMainPaddingClass as Bn, I$1 as el } from "./index.DD_MXTif.js";
8
8
  import p from "clsx";
9
9
  import * as te from "react";
10
10
  import V, { useEffect as D, useRef as O, useState as F, useCallback as Y, useSyncExternalStore as Ho, useMemo as Ee, useId as kr, useLayoutEffect as ge, useContext as ee, createContext as jo, useDebugValue as tl, forwardRef as Go, isValidElement as xr, cloneElement as Qa, Fragment as rl, useReducer as Bt, lazy as al, Suspense as nl } from "react";
@@ -2407,8 +2407,10 @@ const Vt = "FOOTER_BOTTOM", Ea = "FOOTER_TOP", mr = "APP_SET_FOOTER_POSITION", u
2407
2407
  user: e,
2408
2408
  searchString: t,
2409
2409
  sortDirection: r,
2410
- getAccessToken: a
2410
+ getAccessToken: a,
2411
+ enabled: n = !0
2411
2412
  }) => Tr({
2413
+ enabled: n,
2412
2414
  staleTime: 60 * 1e3,
2413
2415
  // 1 minute
2414
2416
  queryKey: ["chats", e, t, r],
@@ -7666,6 +7668,7 @@ const Fh = ({
7666
7668
  const { user: e, getAccessToken: t } = Se(), {
7667
7669
  state: { streaming: r, lastResetTimestamp: a }
7668
7670
  } = ee(_e), { state: n, dispatch: o } = ee(ln), { state: s } = ee(Nr), { refetch: l } = ps({
7671
+ enabled: !1,
7669
7672
  user: (e == null ? void 0 : e.username) || "",
7670
7673
  searchString: s.searchString,
7671
7674
  sortDirection: s.sortDirection,
@@ -7911,8 +7914,8 @@ const Fh = ({
7911
7914
  header: le.ABOUT.TITLE_CLIENT,
7912
7915
  className: "prose-dark dark:prose-lighter",
7913
7916
  children: gr(e, {
7914
- [le.ABOUT.VERSION]: "8.4.8",
7915
- [le.ABOUT.BUILD_TIMESTAMP]: "03/09/2025 10:50 PM EDT"
7917
+ [le.ABOUT.VERSION]: "8.4.9",
7918
+ [le.ABOUT.BUILD_TIMESTAMP]: "03/10/2025 08:51 AM EDT"
7916
7919
  })
7917
7920
  }
7918
7921
  ) }),
@@ -8179,6 +8182,7 @@ const Fh = ({
8179
8182
  const { getAccessToken: r, user: a } = Se(), { dispatch: n } = ee(_e), [o, s] = F([]), l = O(null), { state: i, dispatch: d } = ee(Nr), [f, u] = F(
8180
8183
  i.sortDirection
8181
8184
  ), { data: m, refetch: h } = ps({
8185
+ enabled: e,
8182
8186
  user: (a == null ? void 0 : a.username) || "",
8183
8187
  searchString: i.searchString,
8184
8188
  sortDirection: f,
@@ -10751,7 +10755,7 @@ const Ap = ({ content: e }) => /* @__PURE__ */ c(
10751
10755
  ), Op = al(
10752
10756
  () => import(
10753
10757
  /* webpackChunkName: "LazyMessageAssistant" */
10754
- "./ChatBubbleAssistant.DzcEB1od.js"
10758
+ "./ChatBubbleAssistant.DEkp-Nxn.js"
10755
10759
  ).then((e) => e.ChatBubbleAssistant)
10756
10760
  ), $p = V.memo(
10757
10761
  ({
@@ -3,10 +3,10 @@ var Lr = (e, n, t) => n in e ? zr(e, n, { enumerable: !0, configurable: !0, writ
3
3
  var Re = (e, n, t) => Lr(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import * as ln from "react/jsx-runtime";
5
5
  import { jsx as te, jsxs as Pn, Fragment as Nr } from "react/jsx-runtime";
6
- import { getDefaultExportFromCjs as Ot, ChatContext as _r, E as vr, Re as Xn } from "./App.DauQUiN1.js";
6
+ import { getDefaultExportFromCjs as Ot, ChatContext as _r, E as vr, Re as Xn } from "./App.CZtGCPv4.js";
7
7
  import zn from "clsx";
8
8
  import Mt, { useState as Be, useEffect as Ze, useRef as be, useCallback as Rr, useContext as Or } from "react";
9
- import { re as Mr, unObfuscate as Fr, obfuscate as Dr, LOCAL_STORAGE_PREFIX as Br, LOCAL_STORAGE_CHAT_DETAILS as jr, convertCamelCaseToReadable as Hr, ROLE_INTERNAL as Vr } from "./index.BnpZli-7.js";
9
+ import { re as Mr, unObfuscate as Fr, obfuscate as Dr, LOCAL_STORAGE_PREFIX as Br, LOCAL_STORAGE_CHAT_DETAILS as jr, convertCamelCaseToReadable as Hr, ROLE_INTERNAL as Vr } from "./index.DD_MXTif.js";
10
10
  const Ft = ({
11
11
  children: e,
12
12
  fill: n,
@@ -6846,7 +6846,7 @@ class Su {
6846
6846
  if (!this.remarkGfm) {
6847
6847
  const { default: n } = await import(
6848
6848
  /* webpackChunkName: "LazyRemarkGfm" */
6849
- "./index.D7w-XYMZ.js"
6849
+ "./index.Dk-zB1I9.js"
6850
6850
  );
6851
6851
  this.remarkGfm = n;
6852
6852
  }
@@ -6857,7 +6857,7 @@ class Su {
6857
6857
  Au("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
6858
6858
  const { default: n } = await import(
6859
6859
  /* webpackChunkName: "LazyRehypeKatex" */
6860
- "./index.wsAeQTGr.js"
6860
+ "./index.ibJebACv.js"
6861
6861
  );
6862
6862
  this.rehypeKatex = n;
6863
6863
  }
@@ -6867,7 +6867,7 @@ class Su {
6867
6867
  if (!this.remarkMath) {
6868
6868
  const { default: n } = await import(
6869
6869
  /* webpackChunkName: "LazyRemarkMath" */
6870
- "./index.DMedEQ2M.js"
6870
+ "./index.B4bVaXVF.js"
6871
6871
  );
6872
6872
  this.remarkMath = n;
6873
6873
  }
@@ -6877,7 +6877,7 @@ class Su {
6877
6877
  if (!this.rehypeHighlight) {
6878
6878
  const { default: n } = await import(
6879
6879
  /* webpackChunkName: "LazyRehypeHighlight" */
6880
- "./index.DPgCCdvs.js"
6880
+ "./index.CZSseoKv.js"
6881
6881
  );
6882
6882
  this.rehypeHighlight = n;
6883
6883
  }
@@ -1,7 +1,7 @@
1
1
  var bs = Object.defineProperty;
2
2
  var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var qe = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { createContext as xe, createSignal as R, createEffect as U, createMemo as D, createComponent as m, delegateEvents as rr, onMount as Nt, Portal as Oo, Show as K, insert as k, createRenderEffect as V, className as F, sortFns as Vn, mutationSortFns as Gn, on as ut, setAttribute as A, getQueryStatusColor as xs, getMutationStatusColor as _t, spread as ws, mergeProps as W, getQueryStatusColorByLabel as $s, displayValue as pn, For as Cs, batch as Ss, onCleanup as j, useContext as we, clearDelegatedEvents as ks, splitProps as re, createUniqueId as Ne, serialize as Es, Index as Ds, updateNestedDataByPath as or, template as q, use as Dn, convertRemToPixels as zr, getSidedProp as Ms, getQueryStatusLabel as Pt, untrack as zt, createRoot as Rr, Dynamic as As, addEventListener as Fs, stringify as Ts, Match as zn, Switch as Is, deleteNestedDataByPath as Ls, useTransition as Ps, createComputed as Os, getPreferredColorScheme as qs } from "./index.BnpZli-7.js";
4
+ import { createContext as xe, createSignal as R, createEffect as U, createMemo as D, createComponent as m, delegateEvents as rr, onMount as Nt, Portal as Oo, Show as K, insert as k, createRenderEffect as V, className as F, sortFns as Vn, mutationSortFns as Gn, on as ut, setAttribute as A, getQueryStatusColor as xs, getMutationStatusColor as _t, spread as ws, mergeProps as W, getQueryStatusColorByLabel as $s, displayValue as pn, For as Cs, batch as Ss, onCleanup as j, useContext as we, clearDelegatedEvents as ks, splitProps as re, createUniqueId as Ne, serialize as Es, Index as Ds, updateNestedDataByPath as or, template as q, use as Dn, convertRemToPixels as zr, getSidedProp as Ms, getQueryStatusLabel as Pt, untrack as zt, createRoot as Rr, Dynamic as As, addEventListener as Fs, stringify as Ts, Match as zn, Switch as Is, deleteNestedDataByPath as Ls, useTransition as Ps, createComputed as Os, getPreferredColorScheme as qs } from "./index.DD_MXTif.js";
5
5
  var _s = (e) => e != null, zs = (e) => e.filter(_s);
6
6
  function Rs(e) {
7
7
  return (...t) => {
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./ChatBubbleAssistant.DzcEB1od.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./ChatBubbleAssistant.DEkp-Nxn.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.DauQUiN1.js";
2
- import { visit as In } from "./ChatBubbleAssistant.DzcEB1od.js";
3
- import { toText as Cn } from "./index.BqzA8FXo.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.CZtGCPv4.js";
2
+ import { visit as In } from "./ChatBubbleAssistant.DEkp-Nxn.js";
3
+ import { toText as Cn } from "./index.Dp9AX3IQ.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -3367,7 +3367,7 @@ var od = (e, t = !1) => {
3367
3367
  const t = Ka(() => {
3368
3368
  const r = this, [n] = h(this, wt), [s] = h(this, Et), [i] = h(this, St), [a] = h(this, vt), [o] = h(this, gt);
3369
3369
  let c;
3370
- return h(this, Tt) ? c = h(this, Tt) : (c = _a(() => import("./J3FDRF32.DxvcgiC0.js")), w(this, Tt, c)), Do(h(this, Wt), h(this, bt)), Ta(c, Ia({
3370
+ return h(this, Tt) ? c = h(this, Tt) : (c = _a(() => import("./J3FDRF32.BMz8FeYZ.js")), w(this, Tt, c)), Do(h(this, Wt), h(this, bt)), Ta(c, Ia({
3371
3371
  get queryFlavor() {
3372
3372
  return h(r, Gt);
3373
3373
  },
@@ -7271,7 +7271,7 @@ const Au = "ASK! ME! ANYTHING!", xi = "Callisto", Iu = "Log in", ku = "Sign in w
7271
7271
  ) });
7272
7272
  }, Nu = new URL(document.location.href).searchParams, is = !!Nu.get("debug") || !1, Cu = $i(() => import(
7273
7273
  /* webpackChunkName: "LazyApp" */
7274
- "./App.DauQUiN1.js"
7274
+ "./App.CZtGCPv4.js"
7275
7275
  ).then((e) => e.App)), Pu = new aa(), as = ({
7276
7276
  isComponent: e,
7277
7277
  headerHeight: t
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, EXIT as _e, toString as ce, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, factorySpace as S, blankLine as je, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./ChatBubbleAssistant.DzcEB1od.js";
1
+ import { convert as se, visitParents as Pe, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as $, visit as Me, EXIT as _e, toString as ce, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as Oe, factorySpace as S, blankLine as je, splice as q, resolveAll as Be, markdownLineEnding as R, markdownSpace as L, combineExtensions as $e } from "./ChatBubbleAssistant.DEkp-Nxn.js";
2
2
  import { longestStreak as We } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -1,4 +1,4 @@
1
- import { convert as A, convertElement as u } from "./ChatBubbleAssistant.DzcEB1od.js";
1
+ import { convert as A, convertElement as u } from "./ChatBubbleAssistant.DEkp-Nxn.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,5 +1,5 @@
1
- import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./ChatBubbleAssistant.DzcEB1od.js";
2
- import { toText as Qa } from "./index.BqzA8FXo.js";
1
+ import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./ChatBubbleAssistant.DEkp-Nxn.js";
2
+ import { toText as Qa } from "./index.Dp9AX3IQ.js";
3
3
  class ye {
4
4
  /**
5
5
  * @constructor
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.BnpZli-7.js";
2
+ import { SassySaint as a } from "../../chunks/index.DD_MXTif.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { SassySaint as r } from "./chunks/index.BnpZli-7.js";
1
+ import { SassySaint as r } from "./chunks/index.DD_MXTif.js";
2
2
  /*!
3
- @sassysaint/client v8.4.8
3
+ @sassysaint/client v8.4.9
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.4.8",
9
- buildTime: "03/09/2025 10:50 PM EDT",
8
+ version: "8.4.9",
9
+ buildTime: "03/10/2025 08:51 AM EDT",
10
10
  license: "MIT"
11
11
  });
12
12
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint",
3
- "version": "8.4.8",
3
+ "version": "8.4.9",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -30,7 +30,7 @@
30
30
  "react-dom": "^18.3.1 || ^19.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@sassysaint/client": "8.4.8",
33
+ "@sassysaint/client": "8.4.9",
34
34
  "@versini/ui-styles": "3.2.11"
35
35
  },
36
36
  "dependencies": {
@@ -41,5 +41,5 @@
41
41
  "sideEffects": [
42
42
  "**/*.css"
43
43
  ],
44
- "gitHead": "d6ff4e0189a45803dc06678d3b6edb17b24266f0"
44
+ "gitHead": "9e38e4dde3ea667dc54e69e69dd596bac7a5bfcd"
45
45
  }