@versini/sassysaint 8.7.2 → 8.7.4

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.
@@ -1,5 +1,5 @@
1
1
  import { jsx as dp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as Qo } from "./App.D97Aojcs.js";
2
+ import { getDefaultExportFromCjs as Qo } from "./App.B8aUW5r8.js";
3
3
  import cp, { useState as pp, useEffect as up } from "react";
4
4
  var os = { exports: {} }, fp = os.exports, _o;
5
5
  function gp() {
@@ -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.D97Aojcs.js";
6
+ import { getDefaultExportFromCjs as Ot, ChatContext as _r, E as vr, Re as Xn } from "./App.B8aUW5r8.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.Ca6Mve0V.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.L4UVkvPy.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.Cs31ZTJ_.js"
6849
+ "./index.CGqVmMfb.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.CGmjp_R_.js"
6860
+ "./index.3v7MKQwv.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.Mu1_o3ck.js"
6870
+ "./index._l_gn6_F.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.C8AWx_NS.js"
6880
+ "./index.DCs5sFxq.js"
6881
6881
  );
6882
6882
  this.rehypeHighlight = n;
6883
6883
  }
@@ -7003,7 +7003,7 @@ const Ye = new Su(), Cu = ({
7003
7003
  className: vt,
7004
7004
  contentClassName: Rt,
7005
7005
  noMaxWidth: !0,
7006
- children: /* @__PURE__ */ te("div", { className: "flex items-center justify-center", children: s })
7006
+ children: /* @__PURE__ */ te("div", { className: "flex items-center justify-center italic text-copy-error-dark dark:text-red-300", children: s })
7007
7007
  }
7008
7008
  ) : /* @__PURE__ */ te(
7009
7009
  Xn,
@@ -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.Ca6Mve0V.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.L4UVkvPy.js";
5
5
  var _s = (e) => e != null, zs = (e) => e.filter(_s);
6
6
  function Rs(e) {
7
7
  return (...t) => {
@@ -1,5 +1,5 @@
1
- import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
2
- import { toText as Qa } from "./index.BbIzG4NZ.js";
1
+ import { parse as _t, parse$1 as er, visitParents as Za, SKIP as Ja } from "./ChatBubbleAssistant.CSp1RMe2.js";
2
+ import { toText as Qa } from "./index.DoiON-vt.js";
3
3
  class ye {
4
4
  /**
5
5
  * @constructor
@@ -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.Rc6ePsRQ.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.CSp1RMe2.js";
2
2
  import { longestStreak as We } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.D97Aojcs.js";
2
- import { visit as In } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
3
- import { toText as Cn } from "./index.BbIzG4NZ.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.B8aUW5r8.js";
2
+ import { visit as In } from "./ChatBubbleAssistant.CSp1RMe2.js";
3
+ import { toText as Cn } from "./index.DoiON-vt.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -1,4 +1,4 @@
1
- import { convert as A, convertElement as u } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
1
+ import { convert as A, convertElement as u } from "./ChatBubbleAssistant.CSp1RMe2.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -3367,7 +3367,7 @@ var Xu = (e, t = !1) => {
3367
3367
  const t = Ua(() => {
3368
3368
  const r = this, [n] = f(this, wt), [s] = f(this, Et), [i] = f(this, St), [a] = f(this, vt), [o] = f(this, gt);
3369
3369
  let c;
3370
- return f(this, Tt) ? c = f(this, Tt) : (c = ka(() => import("./J3FDRF32.CKseBlF5.js")), w(this, Tt, c)), xo(f(this, Wt), f(this, bt)), va(c, Aa({
3370
+ return f(this, Tt) ? c = f(this, Tt) : (c = ka(() => import("./J3FDRF32.C2shOy53.js")), w(this, Tt, c)), xo(f(this, Wt), f(this, bt)), va(c, Aa({
3371
3371
  get queryFlavor() {
3372
3372
  return f(r, jt);
3373
3373
  },
@@ -7044,7 +7044,7 @@ try {
7044
7044
  });
7045
7045
  } catch {
7046
7046
  }
7047
- const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in with a Passkey", qd = "Log out", bu = "Password", Wd = "Usage", Jd = "Profile", Yd = "Settings", zd = "Chat history", Qd = "About", Xd = "Type your question here", Zd = "{{clipboard}}", ef = `Sometimes, ${Pi} hallucinates. Review important details.`, tf = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Temporary Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", rf = "Default provider set to", nf = "Chat successfully deleted!", sf = {
7047
+ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in with a Passkey", qd = "Log out", bu = "Password", Wd = "Usage", Jd = "Profile", Yd = "Settings", zd = "Chat history", Qd = "About", Xd = "Type your question here", Zd = "{{clipboard}}", ef = `Sometimes, ${Pi} hallucinates. Review important details.`, tf = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", rf = "Default provider set to", nf = "Chat successfully deleted!", sf = {
7048
7048
  PREFERENCES: {
7049
7049
  TITLE: "User profile",
7050
7050
  NAME: "Name",
@@ -7067,7 +7067,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7067
7067
  TOTAL_PRIVATE: "Private chat",
7068
7068
  TOTAL_DELETED: "Deleted chat",
7069
7069
  PROCESSING_TIME: "Average response time",
7070
- USAGE: `${(/* @__PURE__ */ new Date()).getFullYear()} token usage per model per month`
7070
+ USAGE: `${(/* @__PURE__ */ new Date()).getFullYear()} token usage`
7071
7071
  },
7072
7072
  HISTORY: {
7073
7073
  TITLE: "Chat history"
@@ -7214,7 +7214,7 @@ const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in w
7214
7214
  ) });
7215
7215
  }, Su = new URL(document.location.href).searchParams, ss = !!Su.get("debug") || !1, vu = Mi(() => import(
7216
7216
  /* webpackChunkName: "LazyApp" */
7217
- "./App.D97Aojcs.js"
7217
+ "./App.B8aUW5r8.js"
7218
7218
  ).then((e) => e.App)), Tu = new ia(), is = ({
7219
7219
  isComponent: e,
7220
7220
  headerHeight: t
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./ChatBubbleAssistant.Rc6ePsRQ.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./ChatBubbleAssistant.CSp1RMe2.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.Ca6Mve0V.js";
2
+ import { SassySaint as a } from "../../chunks/index.L4UVkvPy.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.Ca6Mve0V.js";
1
+ import { SassySaint as r } from "./chunks/index.L4UVkvPy.js";
2
2
  /*!
3
- @sassysaint/client v8.7.2
3
+ @sassysaint/client v8.7.4
4
4
  © 2025 gizmette.com
5
5
  */
6
6
  try {
7
7
  window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
8
- version: "8.7.2",
9
- buildTime: "03/13/2025 06:41 PM EDT",
8
+ version: "8.7.4",
9
+ buildTime: "03/18/2025 02:15 PM 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.7.2",
3
+ "version": "8.7.4",
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.7.2",
33
+ "@sassysaint/client": "8.7.4",
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": "9c0c8645faaa246557a54ebe5b6cfe68d1ca246b"
44
+ "gitHead": "f6949c8ef8b31d5eefb5ea1ff8bafc60d4c65ebf"
45
45
  }