@versini/sassysaint 6.3.1 → 6.3.2

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,6 +1,6 @@
1
1
  import { jsx as Ve, jsxs as P0, Fragment as ka } from "react/jsx-runtime";
2
- import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.DgBEj1fa.js";
3
- import { Y as Is, L as Ds, j as Ls } from "./index.BB_tYz2G.js";
2
+ import { convert as _s, getDefaultExportFromCjs as Ss, visit as Na, find as ks, parse as kn, parse$1 as Nn, normalize as Tn, svg as Ns, html as Ts, visitParents as As, SKIP as Ms, longestStreak as Os, factorySpace as _r, markdownLineEnding as Vt, Markdown as Rs, remarkGfm as Cs } from "./MessageAssistant.qaZbh4Yy.js";
3
+ import { Y as Is, L as Ds, j as Ls } from "./index.BCDhh50h.js";
4
4
  import zs, { useState as Bs, useEffect as Fs } from "react";
5
5
  import Ps from "clsx";
6
6
  const Ta = ({
@@ -1,8 +1,8 @@
1
1
  import { jsxs as en, jsx as re, Fragment as nr } from "react/jsx-runtime";
2
- import { AppContext as di, E as yi, le$1 as ct } from "./App.DzCna0NY.js";
2
+ import { AppContext as di, E as yi, le$1 as ct } from "./App.BFCImKH0.js";
3
3
  import hn from "clsx";
4
4
  import { lazy as ki, useContext as xi, Suspense as bi } from "react";
5
- import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.BB_tYz2G.js";
5
+ import { LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.BCDhh50h.js";
6
6
  function tr(e) {
7
7
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
8
8
  }
@@ -8653,7 +8653,7 @@ function Qc(e) {
8653
8653
  const Yc = ki(
8654
8654
  () => import(
8655
8655
  /* webpackChunkName: "LazyMarkdownWithExtra" */
8656
- "./MarkdownWithExtra.DlBwW8pF.js"
8656
+ "./MarkdownWithExtra.Bl6HpvHJ.js"
8657
8657
  )
8658
8658
  ), Ln = {
8659
8659
  MODEL: "Model",
@@ -1917,7 +1917,7 @@ const Pa = (e) => q(
1917
1917
  children: e
1918
1918
  }
1919
1919
  ) });
1920
- }, zt = (e = jt) => Tt(e), co = "user", lo = "assistant", uo = "system", mo = "internal", ho = "hidden", po = "I'm having trouble right now. Please try again later.", fo = "OpenAI", go = "OpenAI", yo = "Anthropic", bo = "action-message", Eo = "action-reset", wo = "action-model", To = "action-restore", Io = "action-streaming", So = "action-search", _o = "action-sort", ko = "action-toggle-prompt", Ao = "action-reset-prompt", Ro = "sassy-saint-", No = "details", vo = "search", xo = "sort", Co = "private-disclosure", Oo = "==stats==", $a = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Po = 10, Do = 30, Lo = "av-prompt", Mo = "av-prompt-editable", yt = (e) => Number.isFinite(e) ? e : 0;
1920
+ }, zt = (e = jt) => Tt(e), co = "user", lo = "assistant", uo = "system", mo = "internal", ho = "hidden", po = "I'm having trouble right now. Please try again later.", fo = "OpenAI", go = "OpenAI", yo = "Anthropic", bo = "action-message", Eo = "action-reset", wo = "action-model", To = "action-restore", Io = "action-streaming", So = "action-search", _o = "action-sort", ko = "action-toggle-prompt", Ao = "action-reset-prompt", Ro = "sassy-saint-", No = "details", vo = "search", xo = "sort", Co = "private-disclosure", Oo = "==stats==", $a = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Po = 10, Do = 30, Lo = "av-prompt", Mo = "av-prompt-editable", $o = "size-4", yt = (e) => Number.isFinite(e) ? e : 0;
1921
1921
  function Ua(e) {
1922
1922
  return {
1923
1923
  days: Math.trunc(e / 864e5),
@@ -1997,7 +1997,7 @@ function Va(e, t) {
1997
1997
  const h = t.colonNotation ? ":" : " ";
1998
1998
  return typeof t.unitCount == "number" && (n = n.slice(0, Math.max(t.unitCount, 1))), a + n.join(h);
1999
1999
  }
2000
- const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.local.com" : "gizmette.com", $o = async () => {
2000
+ const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.local.com" : "gizmette.com", Uo = async () => {
2001
2001
  const e = {
2002
2002
  /**
2003
2003
  * A boolean value that indicates the application would
@@ -2046,10 +2046,10 @@ const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.
2046
2046
  e
2047
2047
  );
2048
2048
  });
2049
- }, Uo = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ O("div", { className: "flex items-center justify-between", children: [
2049
+ }, Ko = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ l("dl", { className: "my-0", children: /* @__PURE__ */ O("div", { className: "flex items-center justify-between", children: [
2050
2050
  /* @__PURE__ */ l("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
2051
2051
  /* @__PURE__ */ l("dd", { className: "my-1 inline-block", children: t[r] })
2052
- ] }) }, `${e}-${r}`)) : null, Ko = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Ho = (e) => e > 0 ? Va(e, {
2052
+ ] }) }, `${e}-${r}`)) : null, Ho = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Wo = (e) => e > 0 ? Va(e, {
2053
2053
  secondsDecimalDigits: 2,
2054
2054
  unitCount: 2
2055
2055
  }) : "N/A", za = ({
@@ -2061,7 +2061,7 @@ const Ya = process.env.NODE_ENV === "production", Fa = !Ya, ja = Fa ? "gizmette.
2061
2061
  t
2062
2062
  ), qa = ({
2063
2063
  extraClass: e
2064
- }) => f("px-2 sm:px-0", e), Wo = (e, t) => t === 1 ? e : `${e}s`, Bo = (e, t) => {
2064
+ }) => f("px-2 sm:px-0", e), Bo = (e, t) => t === 1 ? e : `${e}s`, Go = (e, t) => {
2065
2065
  let r;
2066
2066
  return (...a) => {
2067
2067
  window.clearTimeout(r), r = window.setTimeout(() => e(...a), t);
@@ -2554,13 +2554,13 @@ const ln = F.forwardRef(
2554
2554
  );
2555
2555
  ln.displayName = "ButtonSort";
2556
2556
  /*!
2557
- @versini/ui-card v3.0.10
2557
+ @versini/ui-card v3.0.12
2558
2558
  © 2025 gizmette.com
2559
2559
  */
2560
2560
  try {
2561
2561
  window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
2562
- version: "3.0.10",
2563
- buildTime: "01/20/2025 10:07 PM EST",
2562
+ version: "3.0.12",
2563
+ buildTime: "01/25/2025 11:56 AM EST",
2564
2564
  homepage: "https://github.com/aversini/ui-components",
2565
2565
  license: "MIT"
2566
2566
  });
@@ -3176,7 +3176,7 @@ function er({
3176
3176
  try {
3177
3177
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
3178
3178
  version: "1.3.7",
3179
- buildTime: "01/20/2025 10:07 PM EST",
3179
+ buildTime: "01/25/2025 11:56 AM EST",
3180
3180
  homepage: "https://github.com/aversini/ui-components",
3181
3181
  license: "MIT"
3182
3182
  });
@@ -3518,19 +3518,19 @@ const Kn = 500, Hn = 5e3, Wn = 2e4, tr = F.forwardRef(
3518
3518
  );
3519
3519
  tr.displayName = "TextInputMask";
3520
3520
  /*!
3521
- @versini/ui-textinput v3.0.10
3521
+ @versini/ui-textinput v3.0.12
3522
3522
  © 2025 gizmette.com
3523
3523
  */
3524
3524
  try {
3525
3525
  window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
3526
- version: "3.0.10",
3527
- buildTime: "01/20/2025 10:07 PM EST",
3526
+ version: "3.0.12",
3527
+ buildTime: "01/25/2025 11:56 AM EST",
3528
3528
  homepage: "https://github.com/aversini/ui-components",
3529
3529
  license: "MIT"
3530
3530
  });
3531
3531
  } catch {
3532
3532
  }
3533
- const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in with a Passkey", Go = "Log out", Vn = "Password", Jo = "Profile", Vo = "Settings", Yo = "Chat history", Fo = "About", jo = "Type your question here", zo = "{{clipboard}}", qo = `Sometimes, ${rr} hallucinates. Review important details.`, Xo = "Prompts are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder {{clipboard}} to automatically insert the content of your clipboard.", Qo = {
3533
+ const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in with a Passkey", Jo = "Log out", Vn = "Password", Vo = "Profile", Yo = "Settings", Fo = "Chat history", jo = "About", zo = "Type your question here", qo = "{{clipboard}}", Xo = `Sometimes, ${rr} hallucinates. Review important details.`, Qo = "Prompts are pre-filled buttons available on the main screen, to help you quickly start requests. The label is used for the button, and the content is what will be inserted in the chat when the button is pressed. You can use the special placeholder {{clipboard}} to automatically insert the content of your clipboard.", Zo = {
3534
3534
  PREFERENCES: {
3535
3535
  TITLE: "User profile",
3536
3536
  NAME: "Name",
@@ -3693,16 +3693,16 @@ const Bn = "ASK! ME! ANYTHING!", rr = "Callisto", Gn = "Log in", Jn = "Sign in w
3693
3693
  ) });
3694
3694
  }, jn = new URL(document.location.href).searchParams, zn = !!jn.get("debug") || !1, qn = sr(() => import(
3695
3695
  /* webpackChunkName: "LazyApp" */
3696
- "./App.DzCna0NY.js"
3696
+ "./App.BFCImKH0.js"
3697
3697
  ).then((e) => e.App)), Xn = ({ isComponent: e }) => {
3698
3698
  const { isAuthenticated: t } = zt();
3699
3699
  return t ? /* @__PURE__ */ l(ir, { fallback: /* @__PURE__ */ l("div", {}), children: /* @__PURE__ */ l(qn, { isComponent: e }) }) : /* @__PURE__ */ l(Fn, {});
3700
3700
  }, Qn = ({
3701
3701
  isComponent: e = !1,
3702
3702
  domain: t = ja
3703
- }) => /* @__PURE__ */ l(Ma, { clientId: $a, domain: t, debug: zn, children: /* @__PURE__ */ l(Xn, { isComponent: e }) }), Zo = ({ domain: e }) => /* @__PURE__ */ l(Qn, { isComponent: !0, domain: e });
3703
+ }) => /* @__PURE__ */ l(Ma, { clientId: $a, domain: t, debug: zn, children: /* @__PURE__ */ l(Xn, { isComponent: e }) }), es = ({ domain: e }) => /* @__PURE__ */ l(Qn, { isComponent: !0, domain: e });
3704
3704
  export {
3705
- Fo as ABOUT_TITLE,
3705
+ jo as ABOUT_TITLE,
3706
3706
  bo as ACTION_MESSAGE,
3707
3707
  wo as ACTION_MODEL,
3708
3708
  Eo as ACTION_RESET,
@@ -3714,14 +3714,15 @@ export {
3714
3714
  ko as ACTION_TOGGLE_PROMPT,
3715
3715
  rr as APP_NAME,
3716
3716
  qt as C,
3717
- Qo as CARDS,
3718
- zo as CLIPBOARD_PROMPT,
3717
+ Zo as CARDS,
3718
+ qo as CLIPBOARD_PROMPT,
3719
3719
  fo as DEFAULT_AI_ENGINE,
3720
+ $o as DEFAULT_ICON_ACTION_SIZE,
3720
3721
  yo as ENGINE_ANTHROPIC,
3721
3722
  go as ENGINE_OPENAI,
3722
3723
  po as ERROR_MESSAGE,
3723
- qo as FOOTER_DISCLAIMER,
3724
- Yo as HISTORY_TITLE,
3724
+ Xo as FOOTER_DISCLAIMER,
3725
+ Fo as HISTORY_TITLE,
3725
3726
  Do as INFINITE_SCROLL_LIMIT,
3726
3727
  Po as INFINITE_SCROLL_THRESHOLD,
3727
3728
  Tn as L,
@@ -3730,11 +3731,11 @@ export {
3730
3731
  Co as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
3731
3732
  vo as LOCAL_STORAGE_SEARCH,
3732
3733
  xo as LOCAL_STORAGE_SORT,
3733
- Go as LOG_OUT,
3734
+ Jo as LOG_OUT,
3734
3735
  Yn as Logo,
3735
3736
  ue as M,
3736
- Jo as PROFILE_TITLE,
3737
- Xo as PROMPTS_DESCRIPTION,
3737
+ Vo as PROFILE_TITLE,
3738
+ Qo as PROMPTS_DESCRIPTION,
3738
3739
  Lo as PROMPT_CLASSNAME,
3739
3740
  Mo as PROMPT_EDITABLE_AREA_CLASSNAME,
3740
3741
  hn as R,
@@ -3743,23 +3744,23 @@ export {
3743
3744
  mo as ROLE_INTERNAL,
3744
3745
  uo as ROLE_SYSTEM,
3745
3746
  co as ROLE_USER,
3746
- Vo as SETTINGS_TITLE,
3747
+ Yo as SETTINGS_TITLE,
3747
3748
  Oo as STATS_SEPARATOR,
3748
- Zo as SassySaint,
3749
- jo as TYPE_QUESTION,
3749
+ es as SassySaint,
3750
+ zo as TYPE_QUESTION,
3750
3751
  qe as Y,
3751
- Bo as debounce,
3752
- Ho as durationFormatter,
3752
+ Go as debounce,
3753
+ Wo as durationFormatter,
3753
3754
  $e as f,
3754
- $o as getCurrentGeoLocation,
3755
+ at as fe,
3756
+ Uo as getCurrentGeoLocation,
3755
3757
  qa as getMainPaddingClass,
3756
3758
  za as getMessageContaintWrapperClass,
3757
- Ko as isLastMessageFromRole,
3759
+ Ho as isLastMessageFromRole,
3758
3760
  te as j,
3759
3761
  gn as l,
3760
- Wo as pluralize,
3762
+ Bo as pluralize,
3761
3763
  En as r,
3762
- Uo as renderDataAsList,
3763
- zt as un,
3764
- at as ye
3764
+ Ko as renderDataAsList,
3765
+ zt as un
3765
3766
  };