@versini/sassysaint 8.49.0 → 8.50.1

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 (25) hide show
  1. package/dist/chunks/{AboutChangelog.h63EDdwh.js → AboutChangelog.BDo1-fzi.js} +2 -2
  2. package/dist/chunks/{AboutEntry.bOQXv5GS.js → AboutEntry.BH88UaZx.js} +5 -5
  3. package/dist/chunks/{App.Buw_7bdF.js → App.QIy4AIaz.js} +2016 -2071
  4. package/dist/chunks/{Chart.3xwfjmfL.js → Chart.t3ZXF73j.js} +2 -2
  5. package/dist/chunks/{ChatBubbleAssistant.Cy1PGZsN.js → ChatBubbleAssistant.tWJz9jxI.js} +4 -4
  6. package/dist/chunks/{ChatBubbleUser.Dk2VTVAc.js → ChatBubbleUser.BsPt1Fgz.js} +11 -10
  7. package/dist/chunks/{ChatHistoryTable.BqB_YJay.js → ChatHistoryTable.RqkR5XYw.js} +2 -2
  8. package/dist/chunks/{HistoryEntry.D3MICkQa.js → HistoryEntry.CdAYZCrj.js} +3 -3
  9. package/dist/chunks/{ProfileEntry.oAcH82-L.js → ProfileEntry.qPN0Xe6S.js} +2 -2
  10. package/dist/chunks/{SettingsEntry.C070BVPa.js → SettingsEntry.CH79zLy_.js} +2 -2
  11. package/dist/chunks/{UsageEntry.BMA_UKkG.js → UsageEntry.axUSgiS0.js} +3 -3
  12. package/dist/chunks/{index.DlBVcuDI.js → index.Caa3MVly.js} +1 -1
  13. package/dist/chunks/{index.CUVW2CLY.js → index.D1zH_2x6.js} +1 -1
  14. package/dist/chunks/{index.Dupy_SsG.js → index.DTeiwmVN.js} +1 -1
  15. package/dist/chunks/index.DtjS4202.js +6587 -0
  16. package/dist/chunks/{index.CON2uSZR.js → index.N7LUSv0I.js} +3 -3
  17. package/dist/chunks/{index.C53PCELr.js → index.Vi5HircF.js} +2 -2
  18. package/dist/chunks/{index.UqSwLX11.js → index.jefijINX.js} +1 -1
  19. package/dist/chunks/{useMarkdown.IcEntGo8.js → useMarkdown.B5cyvrlh.js} +6 -6
  20. package/dist/components/SassySaint/SassySaint.js +1 -1
  21. package/dist/index.js +4 -4
  22. package/dist/style.css +1 -1
  23. package/package.json +3 -3
  24. package/dist/chunks/LNWAZHJI.Dkf9465d.js +0 -8961
  25. package/dist/chunks/index.yFjbdWat.js +0 -8481
@@ -1,7 +1,7 @@
1
1
  import { jsx as Tp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.Buw_7bdF.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.QIy4AIaz.js";
3
3
  import Ap, { useState as Cp, useEffect as Pp } from "react";
4
- import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.yFjbdWat.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.DtjS4202.js";
5
5
  var ls = { exports: {} }, Ep = ls.exports, on;
6
6
  function Ip() {
7
7
  return on || (on = 1, (function(ve, ne) {
@@ -1,10 +1,10 @@
1
1
  import { jsx as M } from "react/jsx-runtime";
2
- import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, ne as L } from "./index.yFjbdWat.js";
3
- import { BUBBLE_FOOTER_EMPTY as _ } from "./index.DlBVcuDI.js";
2
+ import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, ne as L } from "./index.DtjS4202.js";
3
+ import { BUBBLE_FOOTER_EMPTY as _ } from "./index.Caa3MVly.js";
4
4
  import w from "clsx";
5
5
  import v, { useState as b, useRef as A, useEffect as U, useContext as B } from "react";
6
- import { ChatContext as G, AsyncBubble as E } from "./App.Buw_7bdF.js";
7
- import { useMarkdown as D } from "./useMarkdown.IcEntGo8.js";
6
+ import { ChatContext as G, AsyncBubble as E } from "./App.QIy4AIaz.js";
7
+ import { useMarkdown as D } from "./useMarkdown.B5cyvrlh.js";
8
8
  const j = 2, q = j * 1e3, x = "", I = (e) => e * (2 - e);
9
9
  function W(e, n = !0) {
10
10
  const [a, p] = b(0), [i, C] = b(0), [t, T] = b(e), r = A(0), s = A(0);
@@ -1,9 +1,9 @@
1
1
  import { jsx as n, Fragment as b, jsxs as A } from "react/jsx-runtime";
2
2
  import { useState as C, useMemo as u, isValidElement as p, useEffect as I } from "react";
3
- import { AsyncBubble as w } from "./App.Buw_7bdF.js";
4
- import { useMarkdown as _ } from "./useMarkdown.IcEntGo8.js";
5
- import { C as M } from "./index.yFjbdWat.js";
6
- const R = 200, D = ({
3
+ import { AsyncBubble as w } from "./App.QIy4AIaz.js";
4
+ import { useMarkdown as _ } from "./useMarkdown.B5cyvrlh.js";
5
+ import { C as M } from "./index.DtjS4202.js";
6
+ const R = 200, N = ({
7
7
  string: e,
8
8
  idealLength: r = R
9
9
  }) => {
@@ -16,7 +16,7 @@ const R = 200, D = ({
16
16
  string: e.slice(0, r + o),
17
17
  isTruncated: !0
18
18
  };
19
- }, l = (e) => e == null || typeof e == "boolean" ? "" : typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(l).join("") : p(e) ? l(e.props.children) : "", H = /* @__PURE__ */ new Set([
19
+ }, l = (e) => e == null || typeof e == "boolean" ? "" : typeof e == "string" || typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(l).join("") : p(e) ? l(e.props.children) : "", D = /* @__PURE__ */ new Set([
20
20
  "P",
21
21
  "DIV",
22
22
  "UL",
@@ -50,17 +50,17 @@ const R = 200, D = ({
50
50
  return e.some(c);
51
51
  if (p(e)) {
52
52
  const r = e;
53
- return typeof r.type == "string" && H.has(r.type.toUpperCase()) ? !0 : c(r.props.children);
53
+ return typeof r.type == "string" && D.has(r.type.toUpperCase()) ? !0 : c(r.props.children);
54
54
  }
55
55
  return !1;
56
- }, L = ({
56
+ }, H = ({
57
57
  children: e,
58
58
  length: r = 200,
59
59
  mode: o = "system",
60
60
  focusMode: m = "system",
61
61
  enableRichTruncation: a = !1
62
62
  }) => {
63
- const [s, f] = C(!1), h = typeof e != "string" && !a, d = u(() => typeof e == "string" ? e : l(e), [e]), { string: T, isTruncated: t } = u(() => D({ string: d, idealLength: r }), [d, r]), y = (E) => {
63
+ const [s, f] = C(!1), h = typeof e != "string" && !a, d = u(() => typeof e == "string" ? e : l(e), [e]), { string: T, isTruncated: t } = u(() => N({ string: d, idealLength: r }), [d, r]), y = (E) => {
64
64
  E.preventDefault(), f(!s);
65
65
  };
66
66
  if (h)
@@ -117,8 +117,9 @@ const B = ({ content: e }) => {
117
117
  copyToClipboardFocusMode: "light",
118
118
  copyToClipboard: e,
119
119
  kind: "right",
120
- className: "mt-3 prose-p:m-0",
121
- children: /* @__PURE__ */ n(L, { mode: "light", focusMode: "light", enableRichTruncation: !0, children: r })
120
+ className: "mt-3",
121
+ contentClassName: "prose prose-lighter prose-p:only:my-0",
122
+ children: /* @__PURE__ */ n(H, { mode: "light", focusMode: "light", enableRichTruncation: !0, children: r })
122
123
  }
123
124
  );
124
125
  };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as _, jsx as t } from "react/jsx-runtime";
2
- import { I as V, b as A, Ae as M, ue as S, INFINITE_SCROLL_THRESHOLD as B, CARDS as D, pluralize as H, te as T, numberFormatter as U, ye as W, isProbablyMobile as F, y as P, i$1 as L, E as G } from "./index.yFjbdWat.js";
3
- import { e as w, st as E, p$1 as j, z as Y, p$2 as K } from "./App.Buw_7bdF.js";
2
+ import { I as V, b as A, Ae as M, ue as S, INFINITE_SCROLL_THRESHOLD as B, CARDS as D, pluralize as H, te as T, numberFormatter as U, ye as W, isProbablyMobile as F, y as P, i$1 as L, E as G } from "./index.DtjS4202.js";
3
+ import { e as w, st as E, p$1 as j, z as Y, p$2 as K } from "./App.QIy4AIaz.js";
4
4
  import $, { useContext as N, Fragment as q } from "react";
5
5
  import y from "clsx";
6
6
  const J = ({
@@ -1,6 +1,6 @@
1
1
  import { jsxs as m, jsx as t, Fragment as J } from "react/jsx-runtime";
2
- import { I as Q, n as z, INFINITE_SCROLL_LIMIT as H, INFINITE_SCROLL_THRESHOLD as Z, LOCAL_STORAGE_PREFIX as g, LOCAL_STORAGE_SORT_TIMESTAMP as ee, LOCAL_STORAGE_SORT_TOKEN_USAGE as te, LOCAL_STORAGE_SORT as ae, Ae as A, useUserPreferences as re, APP_CLASSNAME as se, mutateCall as N, SERVICE_TYPES as x, setNewProvider as oe, ACTION_SORT as ne, ue as ie, TOAST_CHAT_DELETED as ce, TOAST_PROVIDER_CHANGED as le, useChatsHistory as de, LOCAL_STORAGE_SEARCH as he, HISTORY_TITLE as me, Y as ue, debounce as Se, te as Ce, ACTION_SEARCH as pe } from "./index.yFjbdWat.js";
3
- import { HistoryContext as M, ChatContext as P, useAiChat as Te, E as D, e as h, ConfirmationPanel as fe, LazyToastContainerWrapper as ye, showErrorToast as Ee, CHAT_SET_PROVIDER as ge, showSuccessToast as Ae, CHAT_SET_STATUS as De, se as _e, a as Ie } from "./App.Buw_7bdF.js";
2
+ import { I as Q, n as z, INFINITE_SCROLL_LIMIT as H, INFINITE_SCROLL_THRESHOLD as Z, LOCAL_STORAGE_PREFIX as g, LOCAL_STORAGE_SORT_TIMESTAMP as ee, LOCAL_STORAGE_SORT_TOKEN_USAGE as te, LOCAL_STORAGE_SORT as ae, Ae as A, useUserPreferences as re, APP_CLASSNAME as se, mutateCall as N, SERVICE_TYPES as x, setNewProvider as oe, ACTION_SORT as ne, ue as ie, TOAST_CHAT_DELETED as ce, TOAST_PROVIDER_CHANGED as le, useChatsHistory as de, LOCAL_STORAGE_SEARCH as he, HISTORY_TITLE as me, Y as ue, debounce as Se, te as Ce, ACTION_SEARCH as pe } from "./index.DtjS4202.js";
3
+ import { HistoryContext as M, ChatContext as P, useAiChat as Te, E as D, e as h, ConfirmationPanel as fe, LazyToastContainerWrapper as ye, showErrorToast as Ee, CHAT_SET_PROVIDER as ge, showSuccessToast as Ae, CHAT_SET_STATUS as De, se as _e, a as Ie } from "./App.QIy4AIaz.js";
4
4
  import { useRef as R, useState as L, useContext as _, useCallback as Oe, useEffect as V, Suspense as Re, lazy as Le } from "react";
5
5
  const ve = ({
6
6
  className: i,
@@ -31,7 +31,7 @@ const ve = ({
31
31
  ), ke = Le(
32
32
  () => import(
33
33
  /* webpackChunkName: "history-table" */
34
- "./ChatHistoryTable.BqB_YJay.js"
34
+ "./ChatHistoryTable.RqkR5XYw.js"
35
35
  ).then((i) => ({ default: i.ChatHistoryTable }))
36
36
  ), be = ({
37
37
  filteredHistory: i,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, Fragment as m, jsx as e } from "react/jsx-runtime";
2
- import { se as h } from "./App.Buw_7bdF.js";
3
- import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.yFjbdWat.js";
2
+ import { se as h } from "./App.QIy4AIaz.js";
3
+ import { n as S, i as R, S as a, renderDataAsList as N, CARDS as r, it as P, isTauri as u, te as T, l as E, L as p, j as l, PROFILE_TITLE as C } from "./index.DtjS4202.js";
4
4
  const A = () => {
5
5
  const { isAuthenticated: n, user: i, registeringForPasskey: o, authenticationType: c } = S(), d = R(), s = i?.username || "";
6
6
  return n && s ? /* @__PURE__ */ t(m, { children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as m, jsx as r, Fragment as fe } from "react/jsx-runtime";
2
- import { o as ge, h as ie, i as ye, x as xe, n as be, useUserPreferences as ke, getCacheInfo as Ee, isServiceWorkerEnabled as Te, SETTINGS_TITLE as Ne, S as V, CARDS as P, de as ve, C as se, PROMPTS_DESCRIPTION as we, L as Se, j as de, pe as Ce, getCurrentGeoLocation as Ie, mutateCall as ue, handleServiceWorkerToggle as Le, SERVICE_TYPES as me } from "./index.yFjbdWat.js";
3
- import { useCapability as _e, se as Me, L as D } from "./App.Buw_7bdF.js";
2
+ import { o as ge, h as ie, i as ye, x as xe, n as be, useUserPreferences as ke, getCacheInfo as Ee, isServiceWorkerEnabled as Te, SETTINGS_TITLE as Ne, S as V, CARDS as P, de as ve, C as se, PROMPTS_DESCRIPTION as we, L as Se, j as de, pe as Ce, getCurrentGeoLocation as Ie, mutateCall as ue, handleServiceWorkerToggle as Le, SERVICE_TYPES as me } from "./index.DtjS4202.js";
3
+ import { useCapability as _e, se as Me, L as D } from "./App.QIy4AIaz.js";
4
4
  import Ae, { useState as i, useEffect as ne, useRef as W, useLayoutEffect as Y, useCallback as Oe } from "react";
5
5
  import f from "clsx";
6
6
  function Pe({
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, i as U, useUserChatStats as v, useChatsUsage as E, USAGE_TITLE as L, S as h, renderDataAsList as M, CARDS as n, L as _, j as D, C as m, pluralize as i } from "./index.yFjbdWat.js";
3
- import { se as z } from "./App.Buw_7bdF.js";
2
+ import { n as f, i as U, useUserChatStats as v, useChatsUsage as E, USAGE_TITLE as L, S as h, renderDataAsList as M, CARDS as n, L as _, j as D, C as m, pluralize as i } from "./index.DtjS4202.js";
3
+ import { se as z } from "./App.QIy4AIaz.js";
4
4
  import { useState as O, Suspense as P, lazy as B } from "react";
5
5
  const t = [0, 3, 6, 9], j = B(() => import(
6
6
  /* webpackChunkName: "LazyChart" */
7
- "./Chart.3xwfjmfL.js"
7
+ "./Chart.t3ZXF73j.js"
8
8
  )), b = ({
9
9
  open: S,
10
10
  onOpenChange: I
@@ -1,5 +1,5 @@
1
1
  import { jsxs as p, jsx as i } from "react/jsx-runtime";
2
- import { te as B } from "./index.yFjbdWat.js";
2
+ import { te as B } from "./index.DtjS4202.js";
3
3
  import { useState as I, useEffect as k } from "react";
4
4
  import s from "clsx";
5
5
  const h = "av-bubble", w = ({
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.IcEntGo8.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.B5cyvrlh.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.IcEntGo8.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.B5cyvrlh.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {