@versini/sassysaint 8.30.0 → 8.31.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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- import { b as m, ButtonScroll as n } from "./App.OI7Ty6k2.js";
2
+ import { b as m, ButtonScroll as n } from "./App.P5J8tU9o.js";
3
3
  import { useRef as f, useCallback as u, useLayoutEffect as p } from "react";
4
- import { useMarkdown as d } from "./useMarkdown.DgN53Un2.js";
4
+ import { useMarkdown as d } from "./useMarkdown.zScU9ur4.js";
5
5
  const v = ({ content: o }) => {
6
6
  const [l, t] = d(), { ref: a, inViewport: c } = m(), e = f(null), i = u(() => {
7
7
  e.current && e.current.scrollIntoView({
@@ -1,24 +1,24 @@
1
- import { jsxs as g, Fragment as n, jsx as e } from "react/jsx-runtime";
2
- import { i as c, useServerCapabilities as u, useChangelogs as A, rr as E } from "./App.OI7Ty6k2.js";
3
- import { S as a, renderDataAsList as d, CARDS as r, pluralize as I, isProbablyMobile as S, ABOUT_TITLE as O } from "./index.DafnfcdW.js";
1
+ import { jsxs as A, Fragment as n, jsx as e } from "react/jsx-runtime";
2
+ import { i as c, useServerCapabilities as g, useChangelogs as u, rr as E } from "./App.P5J8tU9o.js";
3
+ import { S as a, renderDataAsList as d, CARDS as r, pluralize as I, isProbablyMobile as S, ABOUT_TITLE as O } from "./index.MQ7KY0fz.js";
4
4
  import B 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.BCQozG1k.js"
9
+ "./AboutChangelog.1LgYNj2i.js"
10
10
  )
11
11
  ), N = () => {
12
- const s = c(), i = c(), { data: t, isSuccess: m } = u(), { data: h, isSuccess: T } = A(), b = t?.version || "", o = t?.models || [], p = t?.buildTime || "";
13
- return /* @__PURE__ */ g(n, { children: [
12
+ const s = c(), i = c(), { data: t, isSuccess: m } = g(), { data: h, isSuccess: T } = u(), b = t?.version || "", o = t?.models || [], p = t?.buildTime || "";
13
+ return /* @__PURE__ */ A(n, { children: [
14
14
  /* @__PURE__ */ e(
15
15
  a,
16
16
  {
17
17
  header: r.ABOUT.TITLE_CLIENT,
18
18
  className: "prose-dark dark:prose-lighter mb-4",
19
19
  children: d(s, {
20
- [r.ABOUT.VERSION]: "8.30.0",
21
- [r.ABOUT.BUILD_TIMESTAMP]: "07/31/2025 02:25 PM EDT"
20
+ [r.ABOUT.VERSION]: "8.31.0",
21
+ [r.ABOUT.BUILD_TIMESTAMP]: "08/01/2025 08:51 AM EDT"
22
22
  })
23
23
  }
24
24
  ),
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as T, Fragment as ue } from "react/jsx-runtime";
2
- import { Subscribable as ho, pendingThenable as wa, resolveEnabled as ke, shallowEqualObjects as wr, resolveStaleTime as gt, noop as Er, isServer as kr, isValidTimeout as Ea, focusManager as fo, fetchState as mo, replaceData as ka, notifyManager as Tn, timeUntilStale as po, shouldThrowError as go, useQueryClient as yo, I as re, ACTION_SORT as bo, ACTION_SEARCH as vo, ACTION_RESET_PROMPT as Cn, ACTION_TOGGLE_PROMPT as In, le as Ce, DEFAULT_ICON_ACTION_SIZE as Te, n as Ve, isElectron as _a, isTauri as _r, isProbablyiPhone as Ae, L as xn, j as yt, C as Sa, LOCAL_STORAGE_PREFIX as Ft, LOCAL_STORAGE_PRIVATE_DISCLOSURE as wo, LOCAL_STORAGE_REASONING_DISCLOSURE as Eo, TOAST_CHAT_SAVED as ko, TOAST_PROVIDER_CHANGED as _o, PROMPT_CLASSNAME as So, PROMPT_EDITABLE_AREA_CLASSNAME as To, ERROR_MESSAGE as Co, ROLE_INTERNAL as Sr, CLIPBOARD_PROMPT as Ta, isProbablyMobile as Ge, INPUT_PLACEHOLDER_TEXT_MOBILE as Ca, INPUT_PLACEHOLDER_TEXT_ENTER as Ia, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as xa, INPUT_BOTTOM_OFFSET_EXTRA as Io, INPUT_BOTTOM_OFFSET as Rn, FOOTER_DISCLAIMERS as Ra, LOG_OUT as Aa, getMessageContaintWrapperClass as xo, UI_FOOTER_BUFFER as An, UI_BUTTON_SCROLL_BUFFER as Ro, Logo as Ao, UI_DEFAULT_MAIN_HEIGHT as Na, APP_CLASSNAME as No, getMainPaddingClass as Oa, r as Oo, LOCAL_STORAGE_SORT as $o, LOCAL_STORAGE_SEARCH as Po } from "./index.DafnfcdW.js";
2
+ import { Subscribable as ho, pendingThenable as wa, resolveEnabled as ke, shallowEqualObjects as wr, resolveStaleTime as gt, noop as Er, isServer as kr, isValidTimeout as Ea, focusManager as fo, fetchState as mo, replaceData as ka, notifyManager as Tn, timeUntilStale as po, shouldThrowError as go, useQueryClient as yo, I as re, ACTION_SORT as bo, ACTION_SEARCH as vo, ACTION_RESET_PROMPT as Cn, ACTION_TOGGLE_PROMPT as In, le as Ce, DEFAULT_ICON_ACTION_SIZE as Te, n as Ve, isElectron as _a, isTauri as _r, isProbablyiPhone as Ae, L as xn, j as yt, C as Sa, LOCAL_STORAGE_PREFIX as Ft, LOCAL_STORAGE_PRIVATE_DISCLOSURE as wo, LOCAL_STORAGE_REASONING_DISCLOSURE as Eo, TOAST_CHAT_SAVED as ko, TOAST_PROVIDER_CHANGED as _o, PROMPT_CLASSNAME as So, PROMPT_EDITABLE_AREA_CLASSNAME as To, ERROR_MESSAGE as Co, ROLE_INTERNAL as Sr, CLIPBOARD_PROMPT as Ta, isProbablyMobile as Ge, INPUT_PLACEHOLDER_TEXT_MOBILE as Ca, INPUT_PLACEHOLDER_TEXT_ENTER as Ia, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as xa, INPUT_BOTTOM_OFFSET_EXTRA as Io, INPUT_BOTTOM_OFFSET as Rn, FOOTER_DISCLAIMERS as Ra, LOG_OUT as Aa, getMessageContaintWrapperClass as xo, UI_FOOTER_BUFFER as An, UI_BUTTON_SCROLL_BUFFER as Ro, Logo as Ao, UI_DEFAULT_MAIN_HEIGHT as Na, APP_CLASSNAME as No, getMainPaddingClass as Oa, r as Oo, LOCAL_STORAGE_SORT as $o, LOCAL_STORAGE_SEARCH as Po } from "./index.MQ7KY0fz.js";
3
3
  import * as Y from "react";
4
4
  import Z, { useEffect as $, useRef as R, useState as F, useCallback as W, useSyncExternalStore as Mo, useMemo as he, useId as Kr, useContext as X, useLayoutEffect as Oe, createContext as Nn, useDebugValue as Lo, forwardRef as On, Suspense as $n, lazy as ot, useReducer as St } from "react";
5
5
  import p from "clsx";
@@ -7442,7 +7442,7 @@ const ah = (e) => {
7442
7442
  ] });
7443
7443
  };
7444
7444
  let pr = null, gr = null;
7445
- const qs = async () => (pr || (pr = import("./index.B8EJY2WR.js")), pr), Ys = async () => (gr || (gr = import("./index.DafnfcdW.js").then((e) => e.utilities)), gr), sh = async () => {
7445
+ const qs = async () => (pr || (pr = import("./index.B8EJY2WR.js")), pr), Ys = async () => (gr || (gr = import("./index.MQ7KY0fz.js").then((e) => e.utilities)), gr), sh = async () => {
7446
7446
  try {
7447
7447
  await Promise.all([qs(), Ys()]);
7448
7448
  } catch {
@@ -8172,17 +8172,17 @@ const qs = async () => (pr || (pr = import("./index.B8EJY2WR.js")), pr), Ys = as
8172
8172
  }
8173
8173
  );
8174
8174
  }, xh = ot(
8175
- () => import("./ProfileEntry.Bu8VqBQC.js").then((e) => ({ default: e.Profile }))
8175
+ () => import("./ProfileEntry.Ll8ojBnt.js").then((e) => ({ default: e.Profile }))
8176
8176
  ), Rh = ot(
8177
- () => import("./SettingsEntry.DR_wlmun.js").then((e) => ({
8177
+ () => import("./SettingsEntry.BVTwMJgA.js").then((e) => ({
8178
8178
  default: e.SettingsPanel
8179
8179
  }))
8180
8180
  ), Ah = ot(
8181
- () => import("./HistoryEntry.DkErrIRd.js").then((e) => ({ default: e.HistoryPanel }))
8181
+ () => import("./HistoryEntry.Dta-9c3Y.js").then((e) => ({ default: e.HistoryPanel }))
8182
8182
  ), Nh = ot(
8183
- () => import("./AboutEntry.CrFmXpo-.js").then((e) => ({ default: e.About }))
8183
+ () => import("./AboutEntry.WJi-LOJL.js").then((e) => ({ default: e.About }))
8184
8184
  ), Oh = ot(
8185
- () => import("./UsageEntry.B6ciyjKF.js").then((e) => ({ default: e.Usage }))
8185
+ () => import("./UsageEntry.BvG4fkbf.js").then((e) => ({ default: e.Usage }))
8186
8186
  ), $h = ({ type: e, open: t, onOpenChange: r }) => t ? /* @__PURE__ */ i($n, { fallback: /* @__PURE__ */ i("div", {}), children: (() => {
8187
8187
  switch (e) {
8188
8188
  case "profile":
@@ -8202,7 +8202,7 @@ const qs = async () => (pr || (pr = import("./index.B8EJY2WR.js")), pr), Ys = as
8202
8202
  isComponent: e = !1
8203
8203
  }) => {
8204
8204
  const { logout: t, getAccessToken: r } = Ve(), [a, n] = F(null), [s, o] = F(!1), [c, l] = F(!1), [d, f] = F(!1), u = W(() => {
8205
- d || (import("./ProfileEntry.Bu8VqBQC.js"), import("./SettingsEntry.DR_wlmun.js"), import("./HistoryEntry.DkErrIRd.js"), import("./AboutEntry.CrFmXpo-.js"), import("./UsageEntry.B6ciyjKF.js"), f(!0));
8205
+ d || (import("./ProfileEntry.Ll8ojBnt.js"), import("./SettingsEntry.BVTwMJgA.js"), import("./HistoryEntry.Dta-9c3Y.js"), import("./AboutEntry.WJi-LOJL.js"), import("./UsageEntry.BvG4fkbf.js"), f(!0));
8206
8206
  }, [d]), h = (y) => {
8207
8207
  n(y);
8208
8208
  }, m = () => {
@@ -9798,7 +9798,7 @@ const $f = ({ content: e }) => /* @__PURE__ */ i(
9798
9798
  ), Sn = 2, Pf = ot(
9799
9799
  () => import(
9800
9800
  /* webpackChunkName: "LazyMessageAssistant" */
9801
- "./ChatBubbleAssistant.lWcRfu-V.js"
9801
+ "./ChatBubbleAssistant.B3afkMea.js"
9802
9802
  )
9803
9803
  ), Mf = Z.memo(
9804
9804
  ({
@@ -1,7 +1,7 @@
1
1
  import { jsx as Tp } from "react/jsx-runtime";
2
- import { getDefaultExportFromCjs as ln } from "./App.OI7Ty6k2.js";
2
+ import { getDefaultExportFromCjs as ln } from "./App.P5J8tU9o.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.DafnfcdW.js";
4
+ import { TRIMESTERS as rn, TRIMESTERS_SHORT as Op, isProbablyMobile as Lp } from "./index.MQ7KY0fz.js";
5
5
  var ls = { exports: {} }, Ep = ls.exports, on;
6
6
  function Ip() {
7
7
  return on || (on = 1, function(ve, ne) {
@@ -1,9 +1,9 @@
1
1
  import { jsx as T } from "react/jsx-runtime";
2
- import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.OI7Ty6k2.js";
2
+ import { ChatContext as b, E as _, Me as N, Oe as S } from "./App.P5J8tU9o.js";
3
3
  import L from "clsx";
4
4
  import k, { useState as E, useRef as g, useEffect as O, useContext as w } from "react";
5
- import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.DafnfcdW.js";
6
- import { useMarkdown as y } from "./useMarkdown.DgN53Un2.js";
5
+ import { LOCAL_STORAGE_PREFIX as F, LOCAL_STORAGE_CHAT_DETAILS as G, convertCamelCaseToReadable as U, numberFormatter as I, pluralize as P, ROLE_INTERNAL as v } from "./index.MQ7KY0fz.js";
6
+ import { useMarkdown as y } from "./useMarkdown.zScU9ur4.js";
7
7
  const D = 2, j = D * 1e3, h = "", q = (e) => e * (2 - e);
8
8
  function V(e, a = !0) {
9
9
  const [i, C] = E(0), [c, p] = E(0), [t, A] = E(e), r = g(0), s = g(0);
@@ -1,6 +1,6 @@
1
1
  import { jsxs as s, jsx as e, Fragment as Z } from "react/jsx-runtime";
2
- import { I as H, n as G, INFINITE_SCROLL_LIMIT as M, INFINITE_SCROLL_THRESHOLD as B, LOCAL_STORAGE_PREFIX as U, LOCAL_STORAGE_SORT as ee, APP_CLASSNAME as te, le as b, CARDS as se, pluralize as ae, ACTION_SORT as V, TOAST_CHAT_DELETED as re, TOAST_PROVIDER_CHANGED as oe, LOCAL_STORAGE_SEARCH as ce, HISTORY_TITLE as ne, fe as ie, debounce as le, ACTION_SEARCH as de } from "./index.DafnfcdW.js";
3
- import { HistoryContext as Y, ChatContext as j, useAiChat as me, E as q, useUserPreferences as he, ConfirmationPanel as ue, LazyToastContainerWrapper as pe, He as Ce, $e as Se, qe as _, Pe as l, Ye as ge, Ge as ye, j as fe, a as xe, p as Te, p$1 as ve, at as $, Fe as we, mutateCall as P, SERVICE_TYPES as F, showErrorToast as Ee, R as x, O as De, n as Ne, o as Ae, setNewProvider as Ie, CHAT_SET_PROVIDER as Re, showSuccessToast as ze, CHAT_SET_STATUS as _e, useChatsHistory as be, rr as ke, a$1 as Le } from "./App.OI7Ty6k2.js";
2
+ import { I as H, n as G, INFINITE_SCROLL_LIMIT as M, INFINITE_SCROLL_THRESHOLD as B, LOCAL_STORAGE_PREFIX as U, LOCAL_STORAGE_SORT as ee, APP_CLASSNAME as te, le as b, CARDS as se, pluralize as ae, ACTION_SORT as V, TOAST_CHAT_DELETED as re, TOAST_PROVIDER_CHANGED as oe, LOCAL_STORAGE_SEARCH as ce, HISTORY_TITLE as ne, fe as ie, debounce as le, ACTION_SEARCH as de } from "./index.MQ7KY0fz.js";
3
+ import { HistoryContext as Y, ChatContext as j, useAiChat as me, E as q, useUserPreferences as he, ConfirmationPanel as ue, LazyToastContainerWrapper as pe, He as Ce, $e as Se, qe as _, Pe as l, Ye as ge, Ge as ye, j as fe, a as xe, p as Te, p$1 as ve, at as $, Fe as we, mutateCall as P, SERVICE_TYPES as F, showErrorToast as Ee, R as x, O as De, n as Ne, o as Ae, setNewProvider as Ie, CHAT_SET_PROVIDER as Re, showSuccessToast as ze, CHAT_SET_STATUS as _e, useChatsHistory as be, rr as ke, a$1 as Le } from "./App.P5J8tU9o.js";
4
4
  import { useRef as k, useState as D, useContext as N, useCallback as He, useEffect as L, Fragment as Oe } from "react";
5
5
  const Me = ({
6
6
  className: a,
@@ -1,4 +1,4 @@
1
- import { createContext as be, createSignal as R, onMount as Mt, createEffect as B, createMemo as M, createComponent as p, Portal as Lo, Show as z, template as _, insert as k, createRenderEffect as N, className as T, clearDelegatedEvents as ms, delegateEvents as rr, useContext as xe, onCleanup as U, sortFns as Gn, mutationSortFns as Hn, on as ct, setAttribute as A, getSidedProp as vs, use as Mn, batch as bs, getQueryStatusLabel as Lt, getMutationStatusColor as _t, getQueryStatusColor as xs, getQueryStatusColorByLabel as ws, displayValue as bn, For as $s, convertRemToPixels as Rr, untrack as Rt, useTransition as Cs, spread as Ss, mergeProps as j, createRoot as zr, serialize as ks, Index as Es, updateNestedDataByPath as or, addEventListener as Ms, stringify as Ds, Match as Rn, Switch as As, deleteNestedDataByPath as Ts, createUniqueId as Ke, splitProps as X, Dynamic as Fs, createComputed as Is, getPreferredColorScheme as Ps } from "./index.DafnfcdW.js";
1
+ import { createContext as be, createSignal as R, onMount as Mt, createEffect as B, createMemo as M, createComponent as p, Portal as Lo, Show as z, template as _, insert as k, createRenderEffect as N, className as T, clearDelegatedEvents as ms, delegateEvents as rr, useContext as xe, onCleanup as U, sortFns as Gn, mutationSortFns as Hn, on as ct, setAttribute as A, getSidedProp as vs, use as Mn, batch as bs, getQueryStatusLabel as Lt, getMutationStatusColor as _t, getQueryStatusColor as xs, getQueryStatusColorByLabel as ws, displayValue as bn, For as $s, convertRemToPixels as Rr, untrack as Rt, useTransition as Cs, spread as Ss, mergeProps as j, createRoot as zr, serialize as ks, Index as Es, updateNestedDataByPath as or, addEventListener as Ms, stringify as Ds, Match as Rn, Switch as As, deleteNestedDataByPath as Ts, createUniqueId as Ke, splitProps as X, Dynamic as Fs, createComputed as Is, getPreferredColorScheme as Ps } from "./index.MQ7KY0fz.js";
2
2
  var Ls = (e) => e != null, Os = (e) => e.filter(Ls);
3
3
  function qs(e) {
4
4
  return (...t) => {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as s, Fragment as m, jsx as e } from "react/jsx-runtime";
2
- import { i as h, nt as S, rr as R } from "./App.OI7Ty6k2.js";
3
- import { n as N, S as l, renderDataAsList as P, CARDS as r, isElectron as T, isTauri as p, le as u, l as E, L as C, j as a, PROFILE_TITLE as A } from "./index.DafnfcdW.js";
2
+ import { i as h, nt as S, rr as R } from "./App.P5J8tU9o.js";
3
+ import { n as N, S as l, renderDataAsList as P, CARDS as r, isElectron as T, isTauri as p, le as u, l as E, L as C, j as a, PROFILE_TITLE as A } from "./index.MQ7KY0fz.js";
4
4
  const F = () => {
5
5
  const { isAuthenticated: n, user: i, registeringForPasskey: c, authenticationType: o } = N(), d = h(), t = i?.username || "";
6
6
  return n && t ? /* @__PURE__ */ s(m, { children: [
@@ -1,16 +1,16 @@
1
1
  import { jsxs as N, jsx as l } from "react/jsx-runtime";
2
- import { n as ve, LOCAL_STORAGE_PREFIX as se, LOCAL_STORAGE_CHAT_DETAILS as _e, LOCAL_STORAGE_SERVICE_WORKER as we, isServiceWorkerEnabled as Ce, isStandaloneMode as Se, SETTINGS_TITLE as Ie, S as U, CARDS as P, APP_NAME as Ae, C as ae, PROMPTS_DESCRIPTION as Re, L as Le, j as ce, getCurrentGeoLocation as Oe, handleServiceWorkerToggle as Me } from "./index.DafnfcdW.js";
3
- import { useUserPreferences as De, E as ie, rr as Pe, mutateCall as de, SERVICE_TYPES as ue } from "./App.OI7Ty6k2.js";
4
- import Ge, { useRef as v, useState as y, useLayoutEffect as z, useMemo as pe, useEffect as j, useId as Be, useReducer as He, useCallback as Ve } from "react";
2
+ import { n as ve, LOCAL_STORAGE_PREFIX as se, LOCAL_STORAGE_CHAT_DETAILS as _e, LOCAL_STORAGE_SERVICE_WORKER as we, isServiceWorkerEnabled as Ce, SETTINGS_TITLE as Se, S as U, CARDS as P, APP_NAME as Ie, C as ae, PROMPTS_DESCRIPTION as Ae, L as Re, j as ce, getCurrentGeoLocation as Le, handleServiceWorkerToggle as Oe } from "./index.MQ7KY0fz.js";
3
+ import { useUserPreferences as Me, E as ie, rr as De, mutateCall as de, SERVICE_TYPES as ue } from "./App.P5J8tU9o.js";
4
+ import Pe, { useRef as v, useState as y, useLayoutEffect as z, useMemo as pe, useEffect as j, useId as Ge, useReducer as Be, useCallback as He } from "react";
5
5
  import i from "clsx";
6
- const he = "av-text-area", Ue = "av-text-area-wrapper", oe = "av-text-area-helper-text", $e = "av-text-area__control--right", Fe = "av-text-area__control--left";
7
- function We() {
6
+ const he = "av-text-area", Ve = "av-text-area-wrapper", oe = "av-text-area-helper-text", Ue = "av-text-area__control--right", $e = "av-text-area__control--left";
7
+ function Fe() {
8
8
  const e = v(!1);
9
9
  return j(() => (e.current = !0, () => {
10
10
  e.current = !1;
11
- }), []), Ve(() => e.current, []);
11
+ }), []), He(() => e.current, []);
12
12
  }
13
- function ze(e) {
13
+ function We(e) {
14
14
  return pe(() => e.every((r) => r == null) ? () => {
15
15
  } : (r) => {
16
16
  e.forEach((a) => {
@@ -18,7 +18,7 @@ function ze(e) {
18
18
  });
19
19
  }, [...e]);
20
20
  }
21
- const je = {
21
+ const ze = {
22
22
  x: 0,
23
23
  y: 0,
24
24
  width: 0,
@@ -29,7 +29,7 @@ const je = {
29
29
  right: 0
30
30
  };
31
31
  function me(e) {
32
- const r = We(), a = v(0), o = v(null), [t, s] = y(je), c = pe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
32
+ const r = Fe(), a = v(0), o = v(null), [t, s] = y(ze), c = pe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
33
33
  const u = d[0];
34
34
  u && (cancelAnimationFrame(a.current), a.current = requestAnimationFrame(() => {
35
35
  o.current && r() && s(u.contentRect);
@@ -39,7 +39,7 @@ function me(e) {
39
39
  c?.disconnect(), a.current && cancelAnimationFrame(a.current);
40
40
  }), [c, e]), [o, t];
41
41
  }
42
- function Xe({
42
+ function je({
43
43
  value: e,
44
44
  defaultValue: r,
45
45
  finalValue: a,
@@ -58,8 +58,8 @@ function Xe({
58
58
  ), c(!0)))();
59
59
  }, [e, t, s]), e !== void 0 ? !s && t > 0 ? ["", o, !0] : [e, o, !0] : [d, m, !1];
60
60
  }
61
- function Ye(e) {
62
- const r = Be();
61
+ function Xe(e) {
62
+ const r = Ge();
63
63
  if (!e)
64
64
  return r;
65
65
  if (typeof e == "number" || typeof e == "string")
@@ -69,7 +69,7 @@ function Ye(e) {
69
69
  return typeof a == "number" || typeof a == "string" ? `${o}${a}` : `${o}${r}`;
70
70
  }
71
71
  }
72
- const ge = "SET_ANNOUNCEMENT", ye = "CLEAR_ANNOUNCEMENT", qe = {
72
+ const ge = "SET_ANNOUNCEMENT", ye = "CLEAR_ANNOUNCEMENT", Ye = {
73
73
  alert: null,
74
74
  alertdialog: null,
75
75
  log: "polite",
@@ -77,7 +77,7 @@ const ge = "SET_ANNOUNCEMENT", ye = "CLEAR_ANNOUNCEMENT", qe = {
77
77
  progressbar: null,
78
78
  status: "polite",
79
79
  timer: "assertive"
80
- }, Ke = (e, r) => {
80
+ }, qe = (e, r) => {
81
81
  switch (r?.type) {
82
82
  case ge:
83
83
  return {
@@ -92,7 +92,7 @@ const ge = "SET_ANNOUNCEMENT", ye = "CLEAR_ANNOUNCEMENT", qe = {
92
92
  default:
93
93
  return e;
94
94
  }
95
- }, Qe = ({
95
+ }, Ke = ({
96
96
  onAnnouncementClear: e,
97
97
  dispatch: r
98
98
  }) => {
@@ -110,13 +110,13 @@ const ge = "SET_ANNOUNCEMENT", ye = "CLEAR_ANNOUNCEMENT", qe = {
110
110
  type: ge,
111
111
  payload: e
112
112
  }), r && (a.current = setTimeout(
113
- () => Qe({
113
+ () => Ke({
114
114
  onAnnouncementClear: o,
115
115
  dispatch: t
116
116
  }),
117
117
  r
118
118
  ));
119
- }, Je = ({
119
+ }, Qe = ({
120
120
  children: e,
121
121
  announcementTimeoutRef: r,
122
122
  announcementDelay: a,
@@ -139,7 +139,7 @@ const ge = "SET_ANNOUNCEMENT", ye = "CLEAR_ANNOUNCEMENT", qe = {
139
139
  dispatch: c
140
140
  });
141
141
  };
142
- function Ze({
142
+ function Je({
143
143
  children: e,
144
144
  className: r,
145
145
  politeness: a,
@@ -150,12 +150,12 @@ function Ze({
150
150
  visible: d,
151
151
  ...u
152
152
  }) {
153
- const m = v(null), p = v(null), [k, A] = He(Ke, {
153
+ const m = v(null), p = v(null), [k, A] = Be(qe, {
154
154
  announcement: null
155
155
  });
156
156
  let _ = a;
157
- typeof _ > "u" && (_ = o ? qe[o] : "assertive"), j(() => {
158
- Je({
157
+ typeof _ > "u" && (_ = o ? Ye[o] : "assertive"), j(() => {
158
+ Qe({
159
159
  announcementTimeoutRef: m,
160
160
  announcementDelay: t,
161
161
  children: e,
@@ -197,19 +197,19 @@ try {
197
197
  });
198
198
  } catch {
199
199
  }
200
- const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", tt = ({ mode: e }) => i({
200
+ const Ze = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", et = ({ mode: e }) => i({
201
201
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
202
202
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
203
203
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
204
204
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
205
- }), rt = ({
205
+ }), tt = ({
206
206
  focusMode: e
207
207
  }) => i("focus:outline focus:outline-2 focus:outline-offset-2", {
208
208
  "focus:outline-focus-dark": e === "dark",
209
209
  "focus:outline-focus-light": e === "light",
210
210
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
211
211
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
212
- }), at = ({
212
+ }), rt = ({
213
213
  noBorder: e,
214
214
  error: r
215
215
  }) => i("border-2", {
@@ -217,7 +217,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
217
217
  "focus:border-border-dark": !e && r,
218
218
  "border-border-error-dark": !e && r,
219
219
  "border-transparent": e
220
- }), ot = ({
220
+ }), at = ({
221
221
  disabled: e,
222
222
  raw: r,
223
223
  error: a,
@@ -256,7 +256,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
256
256
  "text-copy-medium dark:text-copy-error-dark": o === "alt-system"
257
257
  }
258
258
  );
259
- }, nt = ({
259
+ }, ot = ({
260
260
  error: e,
261
261
  raw: r,
262
262
  mode: a,
@@ -283,7 +283,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
283
283
  "text-copy-error-dark dark:text-copy-error-light": a === "system",
284
284
  "dark:text-copy-error-dark text-copy-error-light": a === "alt-system"
285
285
  });
286
- }, lt = ({
286
+ }, nt = ({
287
287
  className: e,
288
288
  textAreaClassName: r,
289
289
  raw: a,
@@ -297,34 +297,34 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
297
297
  }) => {
298
298
  const p = a ? e : i(
299
299
  "relative flex w-full flex-col justify-center",
300
- Ue,
300
+ Ve,
301
301
  e
302
302
  ), k = a ? i(r) : i(
303
303
  he,
304
304
  r,
305
- et(),
306
- tt({ mode: d }),
307
- rt({ focusMode: o }),
308
- at({
305
+ Ze(),
306
+ et({ mode: d }),
307
+ tt({ focusMode: o }),
308
+ rt({
309
309
  noBorder: s,
310
310
  error: c
311
311
  }),
312
312
  {
313
313
  "disabled:cursor-not-allowed disabled:opacity-50": t
314
314
  }
315
- ), A = a ? void 0 : "sr-only", _ = ot({
315
+ ), A = a ? void 0 : "sr-only", _ = at({
316
316
  disabled: t,
317
317
  raw: a,
318
318
  error: c,
319
319
  mode: d,
320
320
  rightElement: m,
321
321
  leftElement: u
322
- }), f = nt({
322
+ }), f = ot({
323
323
  error: c,
324
324
  raw: a,
325
325
  mode: d,
326
326
  disabled: t
327
- }), R = a ? void 0 : i($e, "absolute"), x = a ? void 0 : i(Fe, "absolute");
327
+ }), R = a ? void 0 : i(Ue, "absolute"), x = a ? void 0 : i($e, "absolute");
328
328
  return {
329
329
  wrapper: p,
330
330
  textArea: k,
@@ -334,7 +334,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
334
334
  rightElement: R,
335
335
  leftElement: x
336
336
  };
337
- }, st = ({
337
+ }, lt = ({
338
338
  scrollHeight: e,
339
339
  currentHeight: r,
340
340
  currentLabelOffset: a = 0,
@@ -350,7 +350,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
350
350
  helperTextOffset: s,
351
351
  scrollHeight: e
352
352
  };
353
- }, ne = Ge.forwardRef(
353
+ }, ne = Pe.forwardRef(
354
354
  ({
355
355
  id: e,
356
356
  name: r,
@@ -376,9 +376,9 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
376
376
  ...K
377
377
  }, Q) => {
378
378
  var Y;
379
- const E = v(null), J = ze([Q, E]), [Z, B] = me(), [ee, L] = me(), H = v(80), V = v(-25), n = v(null), h = v(30), C = v(null), S = Ye({ id: e, prefix: `${he}-` }), [I, T] = y(0), [b, M] = y(0), [W, q] = y(
379
+ const E = v(null), J = We([Q, E]), [Z, B] = me(), [ee, L] = me(), H = v(80), V = v(-25), n = v(null), h = v(30), C = v(null), S = Xe({ id: e, prefix: `${he}-` }), [I, T] = y(0), [b, M] = y(0), [W, q] = y(
380
380
  !!(!R && f)
381
- ), be = `${r} error, ${f}`, D = lt({
381
+ ), be = `${r} error, ${f}`, D = nt({
382
382
  className: s,
383
383
  textAreaClassName: c,
384
384
  error: o,
@@ -389,7 +389,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
389
389
  mode: d,
390
390
  rightElement: !!x,
391
391
  leftElement: !!w
392
- }), [O, ke] = Xe({
392
+ }), [O, ke] = je({
393
393
  value: m,
394
394
  initialControlledDelay: 20,
395
395
  defaultValue: p,
@@ -424,7 +424,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
424
424
  }, [O, t]), z(() => {
425
425
  var g, le;
426
426
  if (!t && E && E.current && O !== void 0) {
427
- const { labelOffset: te, helperTextOffset: re, scrollHeight: Ne } = st({
427
+ const { labelOffset: te, helperTextOffset: re, scrollHeight: Ne } = lt({
428
428
  scrollHeight: E.current.scrollHeight,
429
429
  currentHeight: H.current,
430
430
  currentLabelOffset: V.current,
@@ -513,7 +513,7 @@ const et = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
513
513
  children: x
514
514
  }
515
515
  ),
516
- o && f && /* @__PURE__ */ l(Ze, { politeness: "polite", clearAnnouncementDelay: 500, children: be })
516
+ o && f && /* @__PURE__ */ l(Je, { politeness: "polite", clearAnnouncementDelay: 500, children: be })
517
517
  ] });
518
518
  }
519
519
  );
@@ -531,7 +531,7 @@ try {
531
531
  });
532
532
  } catch {
533
533
  }
534
- const ct = "av-toggle", it = () => i("peer", "h-6", "w-11", "rounded-full"), dt = ({
534
+ const st = "av-toggle", ct = () => i("peer", "h-6", "w-11", "rounded-full"), it = ({
535
535
  focusMode: e
536
536
  }) => i(
537
537
  "peer-focus:outline",
@@ -543,14 +543,14 @@ const ct = "av-toggle", it = () => i("peer", "h-6", "w-11", "rounded-full"), dt
543
543
  "peer-focus:outline-focus-light dark:peer-focus:outline-focus-dark": e === "alt-system",
544
544
  "peer-focus:outline-focus-dark dark:peer-focus:outline-focus-light": e === "system"
545
545
  }
546
- ), ut = () => i(
546
+ ), dt = () => i(
547
547
  "peer-checked:after:translate-x-full",
548
548
  // background color when checked
549
549
  "peer-checked:bg-violet-500",
550
550
  // knob circle and border color when checked
551
551
  "peer-checked:after:bg-white",
552
552
  "peer-checked:after:border-white"
553
- ), mt = () => i(
553
+ ), ut = () => i(
554
554
  "after:left-[2px]",
555
555
  "after:top-[2px]",
556
556
  "after:border",
@@ -562,7 +562,7 @@ const ct = "av-toggle", it = () => i("peer", "h-6", "w-11", "rounded-full"), dt
562
562
  "after:rounded-full",
563
563
  "after:transition-all",
564
564
  "after:content-['']"
565
- ), ft = ({
565
+ ), mt = ({
566
566
  mode: e,
567
567
  noBorder: r
568
568
  }) => i({
@@ -571,7 +571,7 @@ const ct = "av-toggle", it = () => i("peer", "h-6", "w-11", "rounded-full"), dt
571
571
  "border-border-light bg-surface-darker": e === "dark",
572
572
  "border-border-light bg-surface-darker dark:border-border-dark dark:bg-surface-medium": e === "alt-system",
573
573
  "border-border-dark bg-surface-medium dark:border-border-light dark:bg-surface-darker": e === "system"
574
- }), pt = ({
574
+ }), ft = ({
575
575
  mode: e,
576
576
  labelHidden: r
577
577
  }) => r ? "sr-only" : i("ml-2 text-sm", {
@@ -579,11 +579,11 @@ const ct = "av-toggle", it = () => i("peer", "h-6", "w-11", "rounded-full"), dt
579
579
  "text-copy-lighter": e === "dark",
580
580
  "text-copy-lighter dark:text-copy-dark": e === "alt-system",
581
581
  "text-copy-dark dark:text-copy-lighter": e === "system"
582
- }), ht = ({ className: e }) => i(
583
- ct,
582
+ }), pt = ({ className: e }) => i(
583
+ st,
584
584
  "relative flex cursor-pointer items-center",
585
585
  e
586
- ), gt = ({
586
+ ), ht = ({
587
587
  mode: e,
588
588
  focusMode: r,
589
589
  labelHidden: a,
@@ -591,15 +591,15 @@ const ct = "av-toggle", it = () => i("peer", "h-6", "w-11", "rounded-full"), dt
591
591
  noBorder: t
592
592
  }) => ({
593
593
  toggle: i(
594
- it(),
595
- ft({ mode: e, noBorder: t }),
596
- dt({ focusMode: r }),
597
- mt(),
598
- ut()
594
+ ct(),
595
+ mt({ mode: e, noBorder: t }),
596
+ it({ focusMode: r }),
597
+ ut(),
598
+ dt()
599
599
  ),
600
- label: pt({ mode: e, labelHidden: a }),
600
+ label: ft({ mode: e, labelHidden: a }),
601
601
  input: "peer sr-only",
602
- wrapper: ht({ className: o })
602
+ wrapper: pt({ className: o })
603
603
  }), G = ({
604
604
  checked: e = !1,
605
605
  onChange: r,
@@ -611,7 +611,7 @@ const ct = "av-toggle", it = () => i("peer", "h-6", "w-11", "rounded-full"), dt
611
611
  className: d,
612
612
  noBorder: u = !1
613
613
  }) => {
614
- const m = gt({
614
+ const m = ht({
615
615
  mode: s,
616
616
  focusMode: c,
617
617
  labelHidden: o,
@@ -648,7 +648,7 @@ try {
648
648
  });
649
649
  } catch {
650
650
  }
651
- const Tt = ({
651
+ const Et = ({
652
652
  open: e,
653
653
  onOpenChange: r
654
654
  }) => {
@@ -656,7 +656,7 @@ const Tt = ({
656
656
  data: t,
657
657
  isSuccess: s,
658
658
  refetch: c
659
- } = De({
659
+ } = Me({
660
660
  user: o?.username,
661
661
  getAccessToken: a
662
662
  }), [d, u] = y({
@@ -676,7 +676,7 @@ const Tt = ({
676
676
  }, Z = (n) => {
677
677
  $(n);
678
678
  }, B = async (n) => {
679
- Y(n), F(n), await Me(n);
679
+ Y(n), F(n), await Oe(n);
680
680
  }, ee = async (n) => {
681
681
  n.preventDefault();
682
682
  try {
@@ -702,7 +702,7 @@ const Tt = ({
702
702
  loadingLocation: !0
703
703
  }), f("...");
704
704
  try {
705
- const n = Date.now(), h = await Oe(), C = await de({
705
+ const n = Date.now(), h = await Le(), C = await de({
706
706
  accessToken: await a(),
707
707
  type: ue.GET_LOCATION,
708
708
  params: {
@@ -750,13 +750,13 @@ const Tt = ({
750
750
  return j(() => {
751
751
  t?.instructions && A(t.instructions), t?.location && f(t.location), t?.tags && p({ prompts: t.tags }), t?.sendOnEnter !== void 0 && x(t.sendOnEnter), t?.useMemory !== void 0 && $(t.useMemory), F(Ce());
752
752
  }, [t]), s ? /* @__PURE__ */ N(
753
- Pe,
753
+ De,
754
754
  {
755
755
  open: e,
756
756
  onOpenChange: H,
757
- title: Ie,
757
+ title: Se,
758
758
  footer: /* @__PURE__ */ N(
759
- Le,
759
+ Re,
760
760
  {
761
761
  columnGap: 2,
762
762
  alignHorizontal: "flex-end",
@@ -841,7 +841,7 @@ const Tt = ({
841
841
  children: [
842
842
  /* @__PURE__ */ N("p", { className: "text-sm", children: [
843
843
  "What would you like ",
844
- /* @__PURE__ */ l("em", { children: Ae }),
844
+ /* @__PURE__ */ l("em", { children: Ie }),
845
845
  " to know about you to provide better responses?"
846
846
  ] }),
847
847
  /* @__PURE__ */ l(
@@ -890,7 +890,7 @@ const Tt = ({
890
890
  }
891
891
  )
892
892
  ] }),
893
- Se() && /* @__PURE__ */ N(
893
+ /* @__PURE__ */ N(
894
894
  U,
895
895
  {
896
896
  header: P.SETTINGS_CACHING.TITLE,
@@ -902,7 +902,7 @@ const Tt = ({
902
902
  {
903
903
  className: "mt-2",
904
904
  noBorder: !0,
905
- label: "Enable App Caching",
905
+ label: "Enable Assets Caching",
906
906
  name: "enable-service-worker",
907
907
  onChange: B,
908
908
  checked: X
@@ -917,7 +917,7 @@ const Tt = ({
917
917
  header: P.SETTINGS_PROMPTS.TITLE,
918
918
  className: "prose-dark dark:prose-lighter mt-4",
919
919
  children: [
920
- /* @__PURE__ */ l("p", { className: "text-sm", children: Re }),
920
+ /* @__PURE__ */ l("p", { className: "text-sm", children: Ae }),
921
921
  m.prompts && m.prompts.slice(0, 3).map((n) => /* @__PURE__ */ N(
922
922
  U,
923
923
  {
@@ -990,5 +990,5 @@ const Tt = ({
990
990
  ) : null;
991
991
  };
992
992
  export {
993
- Tt as SettingsPanel
993
+ Et as SettingsPanel
994
994
  };
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import { n as f, USAGE_TITLE as U, S as T, renderDataAsList as v, CARDS as n, L as E, j as L, C as S, pluralize as i } from "./index.DafnfcdW.js";
3
- import { i as M, useUserChatStats as _, useChatsUsage as D, rr as z } from "./App.OI7Ty6k2.js";
2
+ import { n as f, USAGE_TITLE as U, S as T, renderDataAsList as v, CARDS as n, L as E, j as L, C as S, pluralize as i } from "./index.MQ7KY0fz.js";
3
+ import { i as M, useUserChatStats as _, useChatsUsage as D, rr as z } from "./App.P5J8tU9o.js";
4
4
  import { useState as O, Suspense as P, lazy as j } from "react";
5
5
  const s = [0, 3, 6, 9], G = j(() => import(
6
6
  /* webpackChunkName: "LazyChart" */
7
- "./Chart.B32PIO8c.js"
7
+ "./Chart.KIoSyz6Q.js"
8
8
  )), w = ({
9
9
  open: m,
10
10
  onOpenChange: I
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.OI7Ty6k2.js";
2
- import { visit as In } from "./useMarkdown.DgN53Un2.js";
3
- import { toText as Cn } from "./index.YuRZZOLA.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.P5J8tU9o.js";
2
+ import { visit as In } from "./useMarkdown.zScU9ur4.js";
3
+ import { toText as Cn } from "./index.C938radi.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 { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.DgN53Un2.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.zScU9ur4.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {