@versini/sassysaint 8.51.6 → 8.51.7
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.
- package/dist/chunks/{AboutChangelog.CN3UXSMa.js → AboutChangelog.DDPsUMZt.js} +2 -2
- package/dist/chunks/{AboutEntry.CJpD_FIz.js → AboutEntry.ZpXcef48.js} +5 -5
- package/dist/chunks/{App.DT84WhDa.js → App.BuJoFApH.js} +15 -15
- package/dist/chunks/{Chart.B0FmDaG9.js → Chart.B_TvwXxw.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.dFydRRL8.js → ChatBubbleAssistant.CSKXESRd.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.CzqAzo87.js → ChatBubbleUser.xVDiOcM1.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.DCSHS-y-.js → ChatHistoryTable.BZcDwTQb.js} +3 -3
- package/dist/chunks/{HistoryEntry.Do3qCPt5.js → HistoryEntry.DJd8wyU_.js} +3 -3
- package/dist/chunks/{ProfileEntry.Dt1aXKGZ.js → ProfileEntry.un5FevWN.js} +2 -2
- package/dist/chunks/{SettingsEntry.4firEV8i.js → SettingsEntry.C8PZoiRl.js} +3 -3
- package/dist/chunks/{Table.DF8KWCWh.js → Table.DHN6Yg9n.js} +2 -2
- package/dist/chunks/{UsageEntry.DJj3pktC.js → UsageEntry.DOeus8Cu.js} +3 -3
- package/dist/chunks/{index.DpKYAotX.js → index.BqFmsWjr.js} +1 -1
- package/dist/chunks/{index.79XJjKxS.js → index.BqKp_YqM.js} +2 -2
- package/dist/chunks/{index.Bl5ttGkN.js → index.CzdfhUv7.js} +3 -3
- package/dist/chunks/{index.4HYk3k3m.js → index.HAv3ex2j.js} +139 -91
- package/dist/chunks/{index.14z58zNz.js → index.XmM-HffY.js} +1 -1
- package/dist/chunks/{index.DOohK2Jv.js → index.Z5xhsgrm.js} +1 -1
- package/dist/chunks/{index.CDCubG_8.js → index.Zdxgje2x.js} +1 -1
- package/dist/chunks/{useMarkdown.CoBS9HcY.js → useMarkdown.BJpdO7dl.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
2
|
-
import { p as m, ButtonScroll as n } from "./App.
|
2
|
+
import { p as m, ButtonScroll as n } from "./App.BuJoFApH.js";
|
3
3
|
import { useRef as f, useCallback as u, useLayoutEffect as p } from "react";
|
4
|
-
import { useMarkdown as d } from "./useMarkdown.
|
4
|
+
import { useMarkdown as d } from "./useMarkdown.BJpdO7dl.js";
|
5
5
|
const b = ({ 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,12 +1,12 @@
|
|
1
1
|
import { jsxs as b, Fragment as l, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { se as A } from "./App.
|
3
|
-
import { i as d, useServerCapabilities as g, useChangelogs as B, S as o, renderDataAsList as c, CARDS as r, pluralize as E, isProbablyMobile as I, ABOUT_TITLE as S } from "./index.
|
2
|
+
import { se as A } from "./App.BuJoFApH.js";
|
3
|
+
import { i as d, useServerCapabilities as g, useChangelogs as B, S as o, renderDataAsList as c, CARDS as r, pluralize as E, isProbablyMobile as I, ABOUT_TITLE as S } from "./index.HAv3ex2j.js";
|
4
4
|
import O 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.
|
9
|
+
"./AboutChangelog.DDPsUMZt.js"
|
10
10
|
)
|
11
11
|
), N = () => {
|
12
12
|
const s = d(), i = d(), { data: t, isSuccess: m } = g(), { data: T, isSuccess: h } = B(), p = t?.version || "", a = t?.models || [], u = t?.buildTime || "";
|
@@ -18,8 +18,8 @@ const L = U(
|
|
18
18
|
className: "prose-dark dark:prose-lighter mb-4",
|
19
19
|
noBorder: !0,
|
20
20
|
children: c(s, {
|
21
|
-
[r.ABOUT.VERSION]: "8.51.
|
22
|
-
[r.ABOUT.BUILD_TIMESTAMP]: "09/20/2025
|
21
|
+
[r.ABOUT.VERSION]: "8.51.7",
|
22
|
+
[r.ABOUT.BUILD_TIMESTAMP]: "09/20/2025 09:58 AM EDT"
|
23
23
|
})
|
24
24
|
}
|
25
25
|
),
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as u, jsxs as x, Fragment as Ce } from "react/jsx-runtime";
|
2
|
-
import { I as Y, ACTION_SORT as Qa, ACTION_SEARCH as Ka, ACTION_RESET_PROMPT as to, ACTION_TOGGLE_PROMPT as ro, re as es, te as ge, DEFAULT_ICON_ACTION_SIZE as _e, isTauri as Bt, n as $e, isProbablyiPhone as Le, serverUrl as no, useEntitlements as ts, L as br, j as We, C as en, LOCAL_STORAGE_PREFIX as qe, LOCAL_STORAGE_PRIVATE_DISCLOSURE as rs, pe as wr, useUserPreferences as Qt, LOCAL_STORAGE_REASONING_DISCLOSURE as ns, useChatsHistory as oo, mutateCall as os, SERVICE_TYPES as as, TOAST_CHAT_SAVED as ss, PROMPT_CLASSNAME as is, PROMPT_EDITABLE_AREA_CLASSNAME as cs, i as ls, ERROR_MESSAGE as us, c as ut, CLIPBOARD_PROMPT as tn, INPUT_PLACEHOLDER_TEXT_MOBILE as rn, INPUT_PLACEHOLDER_TEXT_ENTER as nn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as on, isProbablyMobile as Ir, Ee as ds, FOOTER_DISCLAIMERS as an, h as ao, isProbablyiPad as ps, INPUT_BOTTOM_OFFSET_EXTRA as ms, INPUT_BOTTOM_OFFSET_IPHONE as hs, INPUT_BOTTOM_OFFSET_IPAD as fs, INPUT_BOTTOM_OFFSET as so, getLayoutPaddingClass as Er, i$1 as gs, E as vs, y as ys, setNewProvider as _s, TOAST_PROVIDER_CHANGED as bs, LOG_OUT as sn, a as io, ne as cn, getMessageContaintWrapperClass as ws, UI_FOOTER_BUFFER as co, UI_BUTTON_SCROLL_BUFFER as Is, Logo as Es, UI_DEFAULT_MAIN_HEIGHT as ln, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Ts, APP_CLASSNAME as Ss, Ae as un, ue as xs, LOCAL_STORAGE_SORT as ks, LOCAL_STORAGE_SEARCH as Cs, LOCAL_STORAGE_SORT_TIMESTAMP as Ns, LOCAL_STORAGE_SORT_TOKEN_USAGE as zs, TOAST_CACHE_ENABLED as As, TOAST_CACHE_DISABLED as Os } from "./index.
|
2
|
+
import { I as Y, ACTION_SORT as Qa, ACTION_SEARCH as Ka, ACTION_RESET_PROMPT as to, ACTION_TOGGLE_PROMPT as ro, re as es, te as ge, DEFAULT_ICON_ACTION_SIZE as _e, isTauri as Bt, n as $e, isProbablyiPhone as Le, serverUrl as no, useEntitlements as ts, L as br, j as We, C as en, LOCAL_STORAGE_PREFIX as qe, LOCAL_STORAGE_PRIVATE_DISCLOSURE as rs, pe as wr, useUserPreferences as Qt, LOCAL_STORAGE_REASONING_DISCLOSURE as ns, useChatsHistory as oo, mutateCall as os, SERVICE_TYPES as as, TOAST_CHAT_SAVED as ss, PROMPT_CLASSNAME as is, PROMPT_EDITABLE_AREA_CLASSNAME as cs, i as ls, ERROR_MESSAGE as us, c as ut, CLIPBOARD_PROMPT as tn, INPUT_PLACEHOLDER_TEXT_MOBILE as rn, INPUT_PLACEHOLDER_TEXT_ENTER as nn, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as on, isProbablyMobile as Ir, Ee as ds, FOOTER_DISCLAIMERS as an, h as ao, isProbablyiPad as ps, INPUT_BOTTOM_OFFSET_EXTRA as ms, INPUT_BOTTOM_OFFSET_IPHONE as hs, INPUT_BOTTOM_OFFSET_IPAD as fs, INPUT_BOTTOM_OFFSET as so, getLayoutPaddingClass as Er, i$1 as gs, E as vs, y as ys, setNewProvider as _s, TOAST_PROVIDER_CHANGED as bs, LOG_OUT as sn, a as io, ne as cn, getMessageContaintWrapperClass as ws, UI_FOOTER_BUFFER as co, UI_BUTTON_SCROLL_BUFFER as Is, Logo as Es, UI_DEFAULT_MAIN_HEIGHT as ln, UI_DEFAULT_MAIN_HEIGHT_IPHONE as Ts, APP_CLASSNAME as Ss, Ae as un, ue as xs, LOCAL_STORAGE_SORT as ks, LOCAL_STORAGE_SEARCH as Cs, LOCAL_STORAGE_SORT_TIMESTAMP as Ns, LOCAL_STORAGE_SORT_TOKEN_USAGE as zs, TOAST_CACHE_ENABLED as As, TOAST_CACHE_DISABLED as Os } from "./index.HAv3ex2j.js";
|
3
3
|
import * as ae from "react";
|
4
4
|
import tt, { useRef as G, useEffect as $, useState as P, useCallback as U, useSyncExternalStore as Pt, createContext as $s, useContext as te, useId as lo, forwardRef as uo, useMemo as it, Suspense as jt, lazy as Me, useReducer as Tt } from "react";
|
5
5
|
import O from "clsx";
|
@@ -6619,7 +6619,7 @@ const Ca = async () => (fr || (fr = import(
|
|
6619
6619
|
"./index.BwP0kG4H.js"
|
6620
6620
|
)), fr), Na = async () => (gr || (gr = import(
|
6621
6621
|
/* webpackChunkName: "toast-utilities" */
|
6622
|
-
"./index.
|
6622
|
+
"./index.HAv3ex2j.js"
|
6623
6623
|
).then((e) => e.utilities)), gr), Pm = async () => {
|
6624
6624
|
try {
|
6625
6625
|
await Promise.all([Ca(), Na()]);
|
@@ -9028,33 +9028,33 @@ const Ah = (e) => {
|
|
9028
9028
|
}, rf = Me(
|
9029
9029
|
() => import(
|
9030
9030
|
/* webpackChunkName: "modal-chunk" */
|
9031
|
-
"./ProfileEntry.
|
9031
|
+
"./ProfileEntry.un5FevWN.js"
|
9032
9032
|
).then((e) => ({
|
9033
9033
|
default: e.Profile
|
9034
9034
|
}))
|
9035
9035
|
), nf = Me(
|
9036
9036
|
() => import(
|
9037
9037
|
/* webpackChunkName: "modal-chunk" */
|
9038
|
-
"./SettingsEntry.
|
9038
|
+
"./SettingsEntry.C8PZoiRl.js"
|
9039
9039
|
).then((e) => ({
|
9040
9040
|
default: e.SettingsPanel
|
9041
9041
|
}))
|
9042
9042
|
), of = Me(
|
9043
9043
|
() => import(
|
9044
9044
|
/* webpackChunkName: "modal-chunk" */
|
9045
|
-
"./HistoryEntry.
|
9045
|
+
"./HistoryEntry.DJd8wyU_.js"
|
9046
9046
|
).then((e) => ({
|
9047
9047
|
default: e.HistoryPanel
|
9048
9048
|
}))
|
9049
9049
|
), af = Me(
|
9050
9050
|
() => import(
|
9051
9051
|
/* webpackChunkName: "modal-chunk" */
|
9052
|
-
"./AboutEntry.
|
9052
|
+
"./AboutEntry.ZpXcef48.js"
|
9053
9053
|
).then((e) => ({ default: e.About }))
|
9054
9054
|
), sf = Me(
|
9055
9055
|
() => import(
|
9056
9056
|
/* webpackChunkName: "modal-chunk" */
|
9057
|
-
"./UsageEntry.
|
9057
|
+
"./UsageEntry.DOeus8Cu.js"
|
9058
9058
|
).then((e) => ({ default: e.Usage }))
|
9059
9059
|
), cf = ({ type: e, open: t, onOpenChange: r }) => t ? /* @__PURE__ */ u(jt, { fallback: /* @__PURE__ */ u("div", {}), children: (() => {
|
9060
9060
|
switch (e) {
|
@@ -9078,23 +9078,23 @@ const Ah = (e) => {
|
|
9078
9078
|
i || Promise.all([
|
9079
9079
|
import(
|
9080
9080
|
/* webpackChunkName: "modal-chunk" */
|
9081
|
-
"./ProfileEntry.
|
9081
|
+
"./ProfileEntry.un5FevWN.js"
|
9082
9082
|
),
|
9083
9083
|
import(
|
9084
9084
|
/* webpackChunkName: "modal-chunk" */
|
9085
|
-
"./SettingsEntry.
|
9085
|
+
"./SettingsEntry.C8PZoiRl.js"
|
9086
9086
|
),
|
9087
9087
|
import(
|
9088
9088
|
/* webpackChunkName: "modal-chunk" */
|
9089
|
-
"./HistoryEntry.
|
9089
|
+
"./HistoryEntry.DJd8wyU_.js"
|
9090
9090
|
),
|
9091
9091
|
import(
|
9092
9092
|
/* webpackChunkName: "modal-chunk" */
|
9093
|
-
"./AboutEntry.
|
9093
|
+
"./AboutEntry.ZpXcef48.js"
|
9094
9094
|
),
|
9095
9095
|
import(
|
9096
9096
|
/* webpackChunkName: "modal-chunk" */
|
9097
|
-
"./UsageEntry.
|
9097
|
+
"./UsageEntry.DOeus8Cu.js"
|
9098
9098
|
)
|
9099
9099
|
]).finally(() => s(!0));
|
9100
9100
|
}, [i]), c = U((f) => {
|
@@ -9332,18 +9332,18 @@ try {
|
|
9332
9332
|
} catch {
|
9333
9333
|
}
|
9334
9334
|
const df = Me(
|
9335
|
-
() => import("./index.
|
9335
|
+
() => import("./index.XmM-HffY.js").then((e) => ({ default: e.Bubble }))
|
9336
9336
|
), Xr = (e) => /* @__PURE__ */ u(jt, { fallback: /* @__PURE__ */ u("span", { className: "inline-block" }), children: /* @__PURE__ */ u(df, { ...e }) });
|
9337
9337
|
Xr.displayName = "AsyncBubble";
|
9338
9338
|
const eo = 1, pf = 150, mf = Me(
|
9339
9339
|
() => import(
|
9340
9340
|
/* webpackChunkName: "LazyMessageAssistant" */
|
9341
|
-
"./ChatBubbleAssistant.
|
9341
|
+
"./ChatBubbleAssistant.CSKXESRd.js"
|
9342
9342
|
)
|
9343
9343
|
), hf = Me(
|
9344
9344
|
() => import(
|
9345
9345
|
/* webpackChunkName: "LazyMessageUser" */
|
9346
|
-
"./ChatBubbleUser.
|
9346
|
+
"./ChatBubbleUser.xVDiOcM1.js"
|
9347
9347
|
)
|
9348
9348
|
), ff = tt.memo(
|
9349
9349
|
({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { jsx as Ap } from "react/jsx-runtime";
|
2
|
-
import { getDefaultExportFromCjs as ln } from "./App.
|
2
|
+
import { getDefaultExportFromCjs as ln } from "./App.BuJoFApH.js";
|
3
3
|
import Cp, { useState as Pp, useEffect as Op } from "react";
|
4
|
-
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.
|
4
|
+
import { TRIMESTERS as rn, TRIMESTERS_SHORT as Lp, isProbablyMobile as Ep } from "./index.HAv3ex2j.js";
|
5
5
|
var ls = { exports: {} }, Ip = ls.exports, on;
|
6
6
|
function Dp() {
|
7
7
|
return on || (on = 1, (function(ke, 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.
|
3
|
-
import { BUBBLE_FOOTER_EMPTY as _ } from "./index.
|
2
|
+
import { n as N, useUserPreferences as O, convertCamelCaseToReadable as P, numberFormatter as R, pluralize as y, ne as L } from "./index.HAv3ex2j.js";
|
3
|
+
import { BUBBLE_FOOTER_EMPTY as _ } from "./index.XmM-HffY.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.
|
7
|
-
import { useMarkdown as D } from "./useMarkdown.
|
6
|
+
import { ChatContext as G, AsyncBubble as E } from "./App.BuJoFApH.js";
|
7
|
+
import { useMarkdown as D } from "./useMarkdown.BJpdO7dl.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,8 +1,8 @@
|
|
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.
|
4
|
-
import { useMarkdown as _ } from "./useMarkdown.
|
5
|
-
import { C as M } from "./index.
|
3
|
+
import { AsyncBubble as w } from "./App.BuJoFApH.js";
|
4
|
+
import { useMarkdown as _ } from "./useMarkdown.BJpdO7dl.js";
|
5
|
+
import { C as M } from "./index.HAv3ex2j.js";
|
6
6
|
const R = 200, N = ({
|
7
7
|
string: e,
|
8
8
|
idealLength: r = R
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
2
|
-
import { I as E, Ae as p, ue as u, INFINITE_SCROLL_THRESHOLD as w, CARDS as y, pluralize as f, te as g, numberFormatter as v, ye as D, isProbablyMobile as U, y as b, i$1 as I, E as k } from "./index.
|
3
|
-
import { st as O, p$1 as z, z as P, p$2 as V } from "./App.
|
2
|
+
import { I as E, Ae as p, ue as u, INFINITE_SCROLL_THRESHOLD as w, CARDS as y, pluralize as f, te as g, numberFormatter as v, ye as D, isProbablyMobile as U, y as b, i$1 as I, E as k } from "./index.HAv3ex2j.js";
|
3
|
+
import { st as O, p$1 as z, z as P, p$2 as V } from "./App.BuJoFApH.js";
|
4
4
|
import { Fragment as _ } from "react";
|
5
|
-
import { j as $, D as B, G as x, H, U as L, M as a, F as R, l as Y } from "./Table.
|
5
|
+
import { j as $, D as B, G as x, H, U as L, M as a, F as R, l as Y } from "./Table.DHN6Yg9n.js";
|
6
6
|
const F = ({
|
7
7
|
className: l,
|
8
8
|
viewBox: n,
|
@@ -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.
|
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.
|
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.HAv3ex2j.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.BuJoFApH.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.
|
34
|
+
"./ChatHistoryTable.BZcDwTQb.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.
|
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.
|
2
|
+
import { se as h } from "./App.BuJoFApH.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.HAv3ex2j.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,8 +1,8 @@
|
|
1
1
|
import { jsxs as l, jsx as e, Fragment as ue } from "react/jsx-runtime";
|
2
|
-
import { o as Te, h as fe, i as Se, x as ve, n as we, LOCAL_STORAGE_PREFIX as ge, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as Ae, LOCAL_STORAGE_SORT_MEMORY_COLUMN as De, useUserMemories as Ie, useDeleteMemory as Le, useDeleteAllMemories as Me, te as _e, L as Ce, j as ne, C as K, useUserPreferences as Oe, getCacheInfo as Re, isServiceWorkerEnabled as Pe, SETTINGS_TITLE as Be, S as X, CARDS as F, de as Ge, PROMPTS_DESCRIPTION as Ue, pe as He, getCurrentGeoLocation as $e, mutateCall as ye, handleServiceWorkerToggle as Ve, SERVICE_TYPES as xe } from "./index.
|
3
|
-
import { E as be, e as J, ConfirmationPanel as ke, se as Ee, st as ze, useCapability as Fe, L as W } from "./App.
|
2
|
+
import { o as Te, h as fe, i as Se, x as ve, n as we, LOCAL_STORAGE_PREFIX as ge, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as Ae, LOCAL_STORAGE_SORT_MEMORY_COLUMN as De, useUserMemories as Ie, useDeleteMemory as Le, useDeleteAllMemories as Me, te as _e, L as Ce, j as ne, C as K, useUserPreferences as Oe, getCacheInfo as Re, isServiceWorkerEnabled as Pe, SETTINGS_TITLE as Be, S as X, CARDS as F, de as Ge, PROMPTS_DESCRIPTION as Ue, pe as He, getCurrentGeoLocation as $e, mutateCall as ye, handleServiceWorkerToggle as Ve, SERVICE_TYPES as xe } from "./index.HAv3ex2j.js";
|
3
|
+
import { E as be, e as J, ConfirmationPanel as ke, se as Ee, st as ze, useCapability as Fe, L as W } from "./App.BuJoFApH.js";
|
4
4
|
import We, { useState as c, useEffect as he, useRef as j, useLayoutEffect as te, useCallback as je } from "react";
|
5
|
-
import { j as Ye, D as qe, G as de, M as G, F as Xe, H as Je, l as Ke, U as Qe } from "./Table.
|
5
|
+
import { j as Ye, D as qe, G as de, M as G, F as Xe, H as Je, l as Ke, U as Qe } from "./Table.DHN6Yg9n.js";
|
6
6
|
import k from "clsx";
|
7
7
|
function Ze({
|
8
8
|
value: a,
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { jsxs as _, jsx as r } from "react/jsx-runtime";
|
2
|
-
import { I as f, b as v } from "./index.
|
2
|
+
import { I as f, b as v } from "./index.HAv3ex2j.js";
|
3
3
|
import C, { useContext as b } from "react";
|
4
4
|
import o from "clsx";
|
5
|
-
import { e as k } from "./App.
|
5
|
+
import { e as k } from "./App.BuJoFApH.js";
|
6
6
|
const A = ({
|
7
7
|
className: e,
|
8
8
|
viewBox: a,
|
@@ -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.
|
3
|
-
import { se as z } from "./App.
|
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.HAv3ex2j.js";
|
3
|
+
import { se as z } from "./App.BuJoFApH.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.
|
7
|
+
"./Chart.B_TvwXxw.js"
|
8
8
|
)), b = ({
|
9
9
|
open: S,
|
10
10
|
onOpenChange: I
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.
|
2
|
-
import { toText as Ca } from "./index.
|
1
|
+
import { find as Aa, parse as Ft, parse$1 as Ht, normalize as Pt, html as Ta, svg as Ba, visitParents as Na, SKIP as Da } from "./useMarkdown.BJpdO7dl.js";
|
2
|
+
import { toText as Ca } from "./index.Z5xhsgrm.js";
|
3
3
|
const Gt = /[#.]/g;
|
4
4
|
function qa(r, e) {
|
5
5
|
const t = r || "", a = {};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { getDefaultExportFromCjs as kn } from "./App.
|
2
|
-
import { visit as In } from "./useMarkdown.
|
3
|
-
import { toText as Cn } from "./index.
|
1
|
+
import { getDefaultExportFromCjs as kn } from "./App.BuJoFApH.js";
|
2
|
+
import { visit as In } from "./useMarkdown.BJpdO7dl.js";
|
3
|
+
import { toText as Cn } from "./index.Z5xhsgrm.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",
|
@@ -455,18 +455,18 @@ var Nr = class {
|
|
455
455
|
#e;
|
456
456
|
#t;
|
457
457
|
#r;
|
458
|
-
#s;
|
459
458
|
#a;
|
459
|
+
#s;
|
460
460
|
#i;
|
461
461
|
#o;
|
462
462
|
constructor(e) {
|
463
|
-
super(), this.#o = !1, this.#i = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#
|
463
|
+
super(), this.#o = !1, this.#i = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#a = e.client, this.#r = this.#a.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Zt(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
|
464
464
|
}
|
465
465
|
get meta() {
|
466
466
|
return this.options.meta;
|
467
467
|
}
|
468
468
|
get promise() {
|
469
|
-
return this.#
|
469
|
+
return this.#s?.promise;
|
470
470
|
}
|
471
471
|
setOptions(e) {
|
472
472
|
if (this.options = { ...this.#i, ...e }, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
@@ -493,8 +493,8 @@ var Nr = class {
|
|
493
493
|
this.#n({ type: "setState", state: e, setStateOptions: t });
|
494
494
|
}
|
495
495
|
cancel(e) {
|
496
|
-
const t = this.#
|
497
|
-
return this.#
|
496
|
+
const t = this.#s?.promise;
|
497
|
+
return this.#s?.cancel(e), t ? t.then(G).catch(G) : Promise.resolve();
|
498
498
|
}
|
499
499
|
destroy() {
|
500
500
|
super.destroy(), this.cancel({ silent: !0 });
|
@@ -524,16 +524,16 @@ var Nr = class {
|
|
524
524
|
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !_r(this.state.dataUpdatedAt, e);
|
525
525
|
}
|
526
526
|
onFocus() {
|
527
|
-
this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#
|
527
|
+
this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#s?.continue();
|
528
528
|
}
|
529
529
|
onOnline() {
|
530
|
-
this.observers.find((t) => t.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#
|
530
|
+
this.observers.find((t) => t.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#s?.continue();
|
531
531
|
}
|
532
532
|
addObserver(e) {
|
533
533
|
this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.#r.notify({ type: "observerAdded", query: this, observer: e }));
|
534
534
|
}
|
535
535
|
removeObserver(e) {
|
536
|
-
this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#
|
536
|
+
this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#s && (this.#o ? this.#s.cancel({ revert: !0 }) : this.#s.cancelRetry()), this.scheduleGc()), this.#r.notify({ type: "observerRemoved", query: this, observer: e }));
|
537
537
|
}
|
538
538
|
getObserversCount() {
|
539
539
|
return this.observers.length;
|
@@ -545,11 +545,11 @@ var Nr = class {
|
|
545
545
|
if (this.state.fetchStatus !== "idle" && // If the promise in the retyer is already rejected, we have to definitely
|
546
546
|
// re-start the fetch; there is a chance that the query is still in a
|
547
547
|
// pending state when that happens
|
548
|
-
this.#
|
548
|
+
this.#s?.status() !== "rejected") {
|
549
549
|
if (this.state.data !== void 0 && t?.cancelRefetch)
|
550
550
|
this.cancel({ silent: !0 });
|
551
|
-
else if (this.#
|
552
|
-
return this.#
|
551
|
+
else if (this.#s)
|
552
|
+
return this.#s.continueRetry(), this.#s.promise;
|
553
553
|
}
|
554
554
|
if (e && this.setOptions(e), !this.options.queryFn) {
|
555
555
|
const o = this.observers.find((c) => c.options.queryFn);
|
@@ -566,7 +566,7 @@ var Nr = class {
|
|
566
566
|
}, a = () => {
|
567
567
|
const o = Rr(this.options, t), f = (() => {
|
568
568
|
const d = {
|
569
|
-
client: this.#
|
569
|
+
client: this.#a,
|
570
570
|
queryKey: this.queryKey,
|
571
571
|
meta: this.meta
|
572
572
|
};
|
@@ -582,13 +582,13 @@ var Nr = class {
|
|
582
582
|
fetchOptions: t,
|
583
583
|
options: this.options,
|
584
584
|
queryKey: this.queryKey,
|
585
|
-
client: this.#
|
585
|
+
client: this.#a,
|
586
586
|
state: this.state,
|
587
587
|
fetchFn: a
|
588
588
|
};
|
589
589
|
return s(o), o;
|
590
590
|
})();
|
591
|
-
this.options.behavior?.onFetch(i, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== i.fetchOptions?.meta) && this.#n({ type: "fetch", meta: i.fetchOptions?.meta }), this.#
|
591
|
+
this.options.behavior?.onFetch(i, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== i.fetchOptions?.meta) && this.#n({ type: "fetch", meta: i.fetchOptions?.meta }), this.#s = Or({
|
592
592
|
initialPromise: t?.initialPromise,
|
593
593
|
fn: i.fetchFn,
|
594
594
|
onCancel: (o) => {
|
@@ -612,7 +612,7 @@ var Nr = class {
|
|
612
612
|
canRun: () => !0
|
613
613
|
});
|
614
614
|
try {
|
615
|
-
const o = await this.#
|
615
|
+
const o = await this.#s.start();
|
616
616
|
if (o === void 0)
|
617
617
|
throw process.env.NODE_ENV !== "production" && console.error(
|
618
618
|
`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
|
@@ -625,7 +625,7 @@ var Nr = class {
|
|
625
625
|
} catch (o) {
|
626
626
|
if (o instanceof Ct) {
|
627
627
|
if (o.silent)
|
628
|
-
return this.#
|
628
|
+
return this.#s.promise;
|
629
629
|
if (o.revert) {
|
630
630
|
if (this.state.data === void 0)
|
631
631
|
throw o;
|
@@ -754,8 +754,8 @@ var Ws = class extends Oe {
|
|
754
754
|
#e;
|
755
755
|
#t = void 0;
|
756
756
|
#r = void 0;
|
757
|
-
#
|
758
|
-
#
|
757
|
+
#a = void 0;
|
758
|
+
#s;
|
759
759
|
#i;
|
760
760
|
#o;
|
761
761
|
#n;
|
@@ -817,10 +817,10 @@ var Ws = class extends Oe {
|
|
817
817
|
}
|
818
818
|
getOptimisticResult(e) {
|
819
819
|
const t = this.#e.getQueryCache().build(this.#e, e), r = this.createResult(t, e);
|
820
|
-
return js(this, r) && (this.#
|
820
|
+
return js(this, r) && (this.#a = r, this.#i = this.options, this.#s = this.#t.state), r;
|
821
821
|
}
|
822
822
|
getCurrentResult() {
|
823
|
-
return this.#
|
823
|
+
return this.#a;
|
824
824
|
}
|
825
825
|
trackResult(e, t) {
|
826
826
|
return new Proxy(e, {
|
@@ -850,7 +850,7 @@ var Ws = class extends Oe {
|
|
850
850
|
return this.#d({
|
851
851
|
...e,
|
852
852
|
cancelRefetch: e.cancelRefetch ?? !0
|
853
|
-
}).then(() => (this.updateResult(), this.#
|
853
|
+
}).then(() => (this.updateResult(), this.#a));
|
854
854
|
}
|
855
855
|
#d(e) {
|
856
856
|
this.#v();
|
@@ -866,11 +866,11 @@ var Ws = class extends Oe {
|
|
866
866
|
this.options.staleTime,
|
867
867
|
this.#t
|
868
868
|
);
|
869
|
-
if (me || this.#
|
869
|
+
if (me || this.#a.isStale || !Tt(e))
|
870
870
|
return;
|
871
|
-
const r = _r(this.#
|
871
|
+
const r = _r(this.#a.dataUpdatedAt, e) + 1;
|
872
872
|
this.#l = fe.setTimeout(() => {
|
873
|
-
this.#
|
873
|
+
this.#a.isStale || this.updateResult();
|
874
874
|
}, r);
|
875
875
|
}
|
876
876
|
#g() {
|
@@ -891,7 +891,7 @@ var Ws = class extends Oe {
|
|
891
891
|
this.#u && (fe.clearInterval(this.#u), this.#u = void 0);
|
892
892
|
}
|
893
893
|
createResult(e, t) {
|
894
|
-
const r = this.#t, s = this.options, a = this.#
|
894
|
+
const r = this.#t, s = this.options, a = this.#a, n = this.#s, i = this.#i, c = e !== r ? e.state : this.#r, { state: f } = e;
|
895
895
|
let d = { ...f }, u = !1, l;
|
896
896
|
if (t._optimisticResults) {
|
897
897
|
const v = this.hasListeners(), x = !v && er(e, t), _ = v && tr(e, r, t, s);
|
@@ -974,10 +974,10 @@ var Ws = class extends Oe {
|
|
974
974
|
return C;
|
975
975
|
}
|
976
976
|
updateResult() {
|
977
|
-
const e = this.#
|
978
|
-
if (this.#
|
977
|
+
const e = this.#a, t = this.createResult(this.#t, this.options);
|
978
|
+
if (this.#s = this.#t.state, this.#i = this.options, this.#s.data !== void 0 && (this.#f = this.#t), Ye(t, e))
|
979
979
|
return;
|
980
|
-
this.#
|
980
|
+
this.#a = t;
|
981
981
|
const r = () => {
|
982
982
|
if (!e)
|
983
983
|
return !0;
|
@@ -987,9 +987,9 @@ var Ws = class extends Oe {
|
|
987
987
|
const n = new Set(
|
988
988
|
a ?? this.#m
|
989
989
|
);
|
990
|
-
return this.options.throwOnError && n.add("error"), Object.keys(this.#
|
990
|
+
return this.options.throwOnError && n.add("error"), Object.keys(this.#a).some((i) => {
|
991
991
|
const o = i;
|
992
|
-
return this.#
|
992
|
+
return this.#a[o] !== e[o] && n.has(o);
|
993
993
|
});
|
994
994
|
};
|
995
995
|
this.#T({ listeners: r() });
|
@@ -1007,7 +1007,7 @@ var Ws = class extends Oe {
|
|
1007
1007
|
#T(e) {
|
1008
1008
|
$.batch(() => {
|
1009
1009
|
e.listeners && this.listeners.forEach((t) => {
|
1010
|
-
t(this.#
|
1010
|
+
t(this.#a);
|
1011
1011
|
}), this.#e.getQueryCache().notify({
|
1012
1012
|
query: this.#t,
|
1013
1013
|
type: "observerResultsUpdated"
|
@@ -1117,8 +1117,9 @@ var Js = class extends Nr {
|
|
1117
1117
|
#e;
|
1118
1118
|
#t;
|
1119
1119
|
#r;
|
1120
|
+
#a;
|
1120
1121
|
constructor(e) {
|
1121
|
-
super(), this.mutationId = e.mutationId, this.#
|
1122
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#r = e.mutationCache, this.#t = [], this.state = e.state || $r(), this.setOptions(e.options), this.scheduleGc();
|
1122
1123
|
}
|
1123
1124
|
setOptions(e) {
|
1124
1125
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
@@ -1127,34 +1128,38 @@ var Js = class extends Nr {
|
|
1127
1128
|
return this.options.meta;
|
1128
1129
|
}
|
1129
1130
|
addObserver(e) {
|
1130
|
-
this.#
|
1131
|
+
this.#t.includes(e) || (this.#t.push(e), this.clearGcTimeout(), this.#r.notify({
|
1131
1132
|
type: "observerAdded",
|
1132
1133
|
mutation: this,
|
1133
1134
|
observer: e
|
1134
1135
|
}));
|
1135
1136
|
}
|
1136
1137
|
removeObserver(e) {
|
1137
|
-
this.#
|
1138
|
+
this.#t = this.#t.filter((t) => t !== e), this.scheduleGc(), this.#r.notify({
|
1138
1139
|
type: "observerRemoved",
|
1139
1140
|
mutation: this,
|
1140
1141
|
observer: e
|
1141
1142
|
});
|
1142
1143
|
}
|
1143
1144
|
optionalRemove() {
|
1144
|
-
this.#
|
1145
|
+
this.#t.length || (this.state.status === "pending" ? this.scheduleGc() : this.#r.remove(this));
|
1145
1146
|
}
|
1146
1147
|
continue() {
|
1147
|
-
return this.#
|
1148
|
+
return this.#a?.continue() ?? // continuing a mutation assumes that variables are set, mutation must have been dehydrated before
|
1148
1149
|
this.execute(this.state.variables);
|
1149
1150
|
}
|
1150
1151
|
async execute(e) {
|
1151
1152
|
const t = () => {
|
1152
1153
|
this.#s({ type: "continue" });
|
1154
|
+
}, r = {
|
1155
|
+
client: this.#e,
|
1156
|
+
meta: this.options.meta,
|
1157
|
+
mutationKey: this.options.mutationKey
|
1153
1158
|
};
|
1154
|
-
this.#
|
1155
|
-
fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
|
1156
|
-
onFail: (
|
1157
|
-
this.#s({ type: "failed", failureCount:
|
1159
|
+
this.#a = Or({
|
1160
|
+
fn: () => this.options.mutationFn ? this.options.mutationFn(e, r) : Promise.reject(new Error("No mutationFn found")),
|
1161
|
+
onFail: (n, i) => {
|
1162
|
+
this.#s({ type: "failed", failureCount: n, error: i });
|
1158
1163
|
},
|
1159
1164
|
onPause: () => {
|
1160
1165
|
this.#s({ type: "pause" });
|
@@ -1163,66 +1168,87 @@ var Js = class extends Nr {
|
|
1163
1168
|
retry: this.options.retry ?? 0,
|
1164
1169
|
retryDelay: this.options.retryDelay,
|
1165
1170
|
networkMode: this.options.networkMode,
|
1166
|
-
canRun: () => this.#
|
1171
|
+
canRun: () => this.#r.canRun(this)
|
1167
1172
|
});
|
1168
|
-
const
|
1173
|
+
const s = this.state.status === "pending", a = !this.#a.canStart();
|
1169
1174
|
try {
|
1170
|
-
if (
|
1175
|
+
if (s)
|
1171
1176
|
t();
|
1172
1177
|
else {
|
1173
|
-
this.#s({ type: "pending", variables: e, isPaused:
|
1178
|
+
this.#s({ type: "pending", variables: e, isPaused: a }), await this.#r.config.onMutate?.(
|
1174
1179
|
e,
|
1175
|
-
this
|
1180
|
+
this,
|
1181
|
+
r
|
1176
1182
|
);
|
1177
|
-
const
|
1178
|
-
|
1183
|
+
const i = await this.options.onMutate?.(
|
1184
|
+
e,
|
1185
|
+
r
|
1186
|
+
);
|
1187
|
+
i !== this.state.context && this.#s({
|
1179
1188
|
type: "pending",
|
1180
|
-
context:
|
1189
|
+
context: i,
|
1181
1190
|
variables: e,
|
1182
|
-
isPaused:
|
1191
|
+
isPaused: a
|
1183
1192
|
});
|
1184
1193
|
}
|
1185
|
-
const
|
1186
|
-
return await this.#
|
1187
|
-
|
1194
|
+
const n = await this.#a.start();
|
1195
|
+
return await this.#r.config.onSuccess?.(
|
1196
|
+
n,
|
1188
1197
|
e,
|
1189
1198
|
this.state.context,
|
1190
|
-
this
|
1191
|
-
|
1192
|
-
|
1199
|
+
this,
|
1200
|
+
r
|
1201
|
+
), await this.options.onSuccess?.(
|
1202
|
+
n,
|
1203
|
+
e,
|
1204
|
+
this.state.context,
|
1205
|
+
r
|
1206
|
+
), await this.#r.config.onSettled?.(
|
1207
|
+
n,
|
1193
1208
|
null,
|
1194
1209
|
this.state.variables,
|
1195
1210
|
this.state.context,
|
1196
|
-
this
|
1197
|
-
|
1198
|
-
|
1211
|
+
this,
|
1212
|
+
r
|
1213
|
+
), await this.options.onSettled?.(
|
1214
|
+
n,
|
1215
|
+
null,
|
1216
|
+
e,
|
1217
|
+
this.state.context,
|
1218
|
+
r
|
1219
|
+
), this.#s({ type: "success", data: n }), n;
|
1220
|
+
} catch (n) {
|
1199
1221
|
try {
|
1200
|
-
throw await this.#
|
1201
|
-
|
1222
|
+
throw await this.#r.config.onError?.(
|
1223
|
+
n,
|
1202
1224
|
e,
|
1203
1225
|
this.state.context,
|
1204
|
-
this
|
1226
|
+
this,
|
1227
|
+
r
|
1205
1228
|
), await this.options.onError?.(
|
1206
|
-
|
1229
|
+
n,
|
1207
1230
|
e,
|
1208
|
-
this.state.context
|
1209
|
-
|
1231
|
+
this.state.context,
|
1232
|
+
r
|
1233
|
+
), await this.#r.config.onSettled?.(
|
1210
1234
|
void 0,
|
1211
|
-
|
1235
|
+
n,
|
1212
1236
|
this.state.variables,
|
1213
1237
|
this.state.context,
|
1214
|
-
this
|
1238
|
+
this,
|
1239
|
+
r
|
1215
1240
|
), await this.options.onSettled?.(
|
1216
1241
|
void 0,
|
1217
|
-
|
1242
|
+
n,
|
1218
1243
|
e,
|
1219
|
-
this.state.context
|
1220
|
-
|
1244
|
+
this.state.context,
|
1245
|
+
r
|
1246
|
+
), n;
|
1221
1247
|
} finally {
|
1222
|
-
this.#s({ type: "error", error:
|
1248
|
+
this.#s({ type: "error", error: n });
|
1223
1249
|
}
|
1224
1250
|
} finally {
|
1225
|
-
this.#
|
1251
|
+
this.#r.runNext(this);
|
1226
1252
|
}
|
1227
1253
|
}
|
1228
1254
|
#s(e) {
|
@@ -1280,9 +1306,9 @@ var Js = class extends Nr {
|
|
1280
1306
|
}
|
1281
1307
|
};
|
1282
1308
|
this.state = t(this.state), $.batch(() => {
|
1283
|
-
this.#
|
1309
|
+
this.#t.forEach((r) => {
|
1284
1310
|
r.onMutationUpdate(e);
|
1285
|
-
}), this.#
|
1311
|
+
}), this.#r.notify({
|
1286
1312
|
mutation: this,
|
1287
1313
|
type: "updated",
|
1288
1314
|
action: e
|
@@ -1312,6 +1338,7 @@ var Qs = class extends Oe {
|
|
1312
1338
|
#r;
|
1313
1339
|
build(e, t, r) {
|
1314
1340
|
const s = new Js({
|
1341
|
+
client: e,
|
1315
1342
|
mutationCache: this,
|
1316
1343
|
mutationId: ++this.#r,
|
1317
1344
|
options: e.defaultMutationOptions(t),
|
@@ -1398,9 +1425,9 @@ var Ys = class extends Oe {
|
|
1398
1425
|
#e;
|
1399
1426
|
#t = void 0;
|
1400
1427
|
#r;
|
1401
|
-
#
|
1428
|
+
#a;
|
1402
1429
|
constructor(e, t) {
|
1403
|
-
super(), this.#e = e, this.setOptions(t), this.bindMethods(), this.#
|
1430
|
+
super(), this.#e = e, this.setOptions(t), this.bindMethods(), this.#s();
|
1404
1431
|
}
|
1405
1432
|
bindMethods() {
|
1406
1433
|
this.mutate = this.mutate.bind(this), this.reset = this.reset.bind(this);
|
@@ -1417,18 +1444,18 @@ var Ys = class extends Oe {
|
|
1417
1444
|
this.hasListeners() || this.#r?.removeObserver(this);
|
1418
1445
|
}
|
1419
1446
|
onMutationUpdate(e) {
|
1420
|
-
this.#
|
1447
|
+
this.#s(), this.#i(e);
|
1421
1448
|
}
|
1422
1449
|
getCurrentResult() {
|
1423
1450
|
return this.#t;
|
1424
1451
|
}
|
1425
1452
|
reset() {
|
1426
|
-
this.#r?.removeObserver(this), this.#r = void 0, this.#
|
1453
|
+
this.#r?.removeObserver(this), this.#r = void 0, this.#s(), this.#i();
|
1427
1454
|
}
|
1428
1455
|
mutate(e, t) {
|
1429
|
-
return this.#
|
1456
|
+
return this.#a = t, this.#r?.removeObserver(this), this.#r = this.#e.getMutationCache().build(this.#e, this.options), this.#r.addObserver(this), this.#r.execute(e);
|
1430
1457
|
}
|
1431
|
-
#
|
1458
|
+
#s() {
|
1432
1459
|
const e = this.#r?.state ?? $r();
|
1433
1460
|
this.#t = {
|
1434
1461
|
...e,
|
@@ -1442,13 +1469,34 @@ var Ys = class extends Oe {
|
|
1442
1469
|
}
|
1443
1470
|
#i(e) {
|
1444
1471
|
$.batch(() => {
|
1445
|
-
if (this.#
|
1446
|
-
const t = this.#t.variables, r = this.#t.context
|
1447
|
-
|
1472
|
+
if (this.#a && this.hasListeners()) {
|
1473
|
+
const t = this.#t.variables, r = this.#t.context, s = {
|
1474
|
+
client: this.#e,
|
1475
|
+
meta: this.options.meta,
|
1476
|
+
mutationKey: this.options.mutationKey
|
1477
|
+
};
|
1478
|
+
e?.type === "success" ? (this.#a.onSuccess?.(
|
1479
|
+
e.data,
|
1480
|
+
t,
|
1481
|
+
r,
|
1482
|
+
s
|
1483
|
+
), this.#a.onSettled?.(
|
1484
|
+
e.data,
|
1485
|
+
null,
|
1486
|
+
t,
|
1487
|
+
r,
|
1488
|
+
s
|
1489
|
+
)) : e?.type === "error" && (this.#a.onError?.(
|
1490
|
+
e.error,
|
1491
|
+
t,
|
1492
|
+
r,
|
1493
|
+
s
|
1494
|
+
), this.#a.onSettled?.(
|
1448
1495
|
void 0,
|
1449
1496
|
e.error,
|
1450
1497
|
t,
|
1451
|
-
r
|
1498
|
+
r,
|
1499
|
+
s
|
1452
1500
|
));
|
1453
1501
|
}
|
1454
1502
|
this.listeners.forEach((t) => {
|
@@ -1531,13 +1579,13 @@ var Ys = class extends Oe {
|
|
1531
1579
|
#e;
|
1532
1580
|
#t;
|
1533
1581
|
#r;
|
1534
|
-
#s;
|
1535
1582
|
#a;
|
1583
|
+
#s;
|
1536
1584
|
#i;
|
1537
1585
|
#o;
|
1538
1586
|
#n;
|
1539
1587
|
constructor(e = {}) {
|
1540
|
-
this.#e = e.queryCache || new zs(), this.#t = e.mutationCache || new Qs(), this.#r = e.defaultOptions || {}, this.#
|
1588
|
+
this.#e = e.queryCache || new zs(), this.#t = e.mutationCache || new Qs(), this.#r = e.defaultOptions || {}, this.#a = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#i = 0;
|
1541
1589
|
}
|
1542
1590
|
mount() {
|
1543
1591
|
this.#i++, this.#i === 1 && (this.#o = Mt.subscribe(async (e) => {
|
@@ -1682,25 +1730,25 @@ var Ys = class extends Oe {
|
|
1682
1730
|
this.#r = e;
|
1683
1731
|
}
|
1684
1732
|
setQueryDefaults(e, t) {
|
1685
|
-
this.#
|
1733
|
+
this.#a.set(pe(e), {
|
1686
1734
|
queryKey: e,
|
1687
1735
|
defaultOptions: t
|
1688
1736
|
});
|
1689
1737
|
}
|
1690
1738
|
getQueryDefaults(e) {
|
1691
|
-
const t = [...this.#
|
1739
|
+
const t = [...this.#a.values()], r = {};
|
1692
1740
|
return t.forEach((s) => {
|
1693
1741
|
xe(e, s.queryKey) && Object.assign(r, s.defaultOptions);
|
1694
1742
|
}), r;
|
1695
1743
|
}
|
1696
1744
|
setMutationDefaults(e, t) {
|
1697
|
-
this.#
|
1745
|
+
this.#s.set(pe(e), {
|
1698
1746
|
mutationKey: e,
|
1699
1747
|
defaultOptions: t
|
1700
1748
|
});
|
1701
1749
|
}
|
1702
1750
|
getMutationDefaults(e) {
|
1703
|
-
const t = [...this.#
|
1751
|
+
const t = [...this.#s.values()], r = {};
|
1704
1752
|
return t.forEach((s) => {
|
1705
1753
|
xe(e, s.mutationKey) && Object.assign(r, s.defaultOptions);
|
1706
1754
|
}), r;
|
@@ -4795,7 +4843,7 @@ function gi(e, t) {
|
|
4795
4843
|
}
|
4796
4844
|
}, o = hi(e), c = BigInt(o.days);
|
4797
4845
|
if (t.hideYearAndDays ? i(BigInt(c) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? i(c, "day", "d") : (i(c / 365n, "year", "y"), i(c % 365n, "day", "d")), i(Number(o.hours), "hour", "h")), i(Number(o.minutes), "minute", "m"), !t.hideSeconds)
|
4798
|
-
if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
|
4846
|
+
if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3 && !t.subSecondsAsDecimals) {
|
4799
4847
|
const d = Number(o.seconds), u = Number(o.milliseconds), l = Number(o.microseconds), m = Number(o.nanoseconds);
|
4800
4848
|
if (i(d, "second", "s"), t.formatSubMilliseconds)
|
4801
4849
|
i(u, "millisecond", "ms"), i(l, "microsecond", "µs"), i(m, "nanosecond", "ns");
|
@@ -6688,7 +6736,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6688
6736
|
] });
|
6689
6737
|
}, ko = new URL(document.location.href).searchParams, vr = !!ko.get("debug") || !1, Oo = ks(() => import(
|
6690
6738
|
/* webpackChunkName: "LazyApp" */
|
6691
|
-
"./App.
|
6739
|
+
"./App.BuJoFApH.js"
|
6692
6740
|
).then((e) => e.App)), No = new Xs(), Tr = ({
|
6693
6741
|
isComponent: e,
|
6694
6742
|
headerHeight: t
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.
|
1
|
+
import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.BJpdO7dl.js";
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
3
3
|
function ne(e, n) {
|
4
4
|
const t = String(e);
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as rn from "react/jsx-runtime";
|
2
2
|
import { jsx as se, jsxs as Pn } from "react/jsx-runtime";
|
3
|
-
import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index.
|
3
|
+
import { te as Ir, isTauri as Tr, unObfuscate as Pr, obfuscate as Ar } from "./index.HAv3ex2j.js";
|
4
4
|
import zr, { useState as Lt, useEffect as _t, useCallback as vt, useRef as Re } from "react";
|
5
|
-
import { getDefaultExportFromCjs as Nt } from "./App.
|
5
|
+
import { getDefaultExportFromCjs as Nt } from "./App.BuJoFApH.js";
|
6
6
|
import Lr from "clsx";
|
7
7
|
const Rt = ({
|
8
8
|
children: e,
|
@@ -6900,7 +6900,7 @@ class uu {
|
|
6900
6900
|
if (!this.remarkGfm) {
|
6901
6901
|
const { default: n } = await import(
|
6902
6902
|
/* webpackChunkName: "md-remark" */
|
6903
|
-
"./index.
|
6903
|
+
"./index.Zdxgje2x.js"
|
6904
6904
|
);
|
6905
6905
|
this.remarkGfm = n;
|
6906
6906
|
}
|
@@ -6911,7 +6911,7 @@ class uu {
|
|
6911
6911
|
hu("https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css");
|
6912
6912
|
const { default: n } = await import(
|
6913
6913
|
/* webpackChunkName: "md-rehype-katex" */
|
6914
|
-
"./index.
|
6914
|
+
"./index.BqKp_YqM.js"
|
6915
6915
|
);
|
6916
6916
|
this.rehypeKatex = n;
|
6917
6917
|
}
|
@@ -6921,7 +6921,7 @@ class uu {
|
|
6921
6921
|
if (!this.remarkMath) {
|
6922
6922
|
const { default: n } = await import(
|
6923
6923
|
/* webpackChunkName: "md-remark" */
|
6924
|
-
"./index.
|
6924
|
+
"./index.BqFmsWjr.js"
|
6925
6925
|
);
|
6926
6926
|
this.remarkMath = n;
|
6927
6927
|
}
|
@@ -6931,7 +6931,7 @@ class uu {
|
|
6931
6931
|
if (!this.rehypeHighlight) {
|
6932
6932
|
const { default: n } = await import(
|
6933
6933
|
/* webpackChunkName: "md-rehype-highlight" */
|
6934
|
-
"./index.
|
6934
|
+
"./index.CzdfhUv7.js"
|
6935
6935
|
);
|
6936
6936
|
this.rehypeHighlight = n;
|
6937
6937
|
}
|
package/dist/index.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { SassySaint as r } from "./chunks/index.
|
1
|
+
import { SassySaint as r } from "./chunks/index.HAv3ex2j.js";
|
2
2
|
/*!
|
3
|
-
@sassysaint/client v8.51.
|
3
|
+
@sassysaint/client v8.51.7
|
4
4
|
© 2025 gizmette.com
|
5
5
|
*/
|
6
6
|
try {
|
7
7
|
window.__VERSINI_SASSY_GLOBAL__ || (window.__VERSINI_SASSY_GLOBAL__ = {
|
8
|
-
version: "8.51.
|
9
|
-
buildTime: "09/20/2025
|
8
|
+
version: "8.51.7",
|
9
|
+
buildTime: "09/20/2025 09:58 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.51.
|
3
|
+
"version": "8.51.7",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "Arno Versini",
|
6
6
|
"publishConfig": {
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"react-dom": "^18.3.1 || ^19.0.0"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
|
-
"@sassysaint/client": "8.51.
|
36
|
+
"@sassysaint/client": "8.51.7",
|
37
37
|
"@tailwindcss/vite": "4.1.13",
|
38
38
|
"@versini/ui-styles": "6.0.3"
|
39
39
|
},
|
@@ -45,5 +45,5 @@
|
|
45
45
|
"sideEffects": [
|
46
46
|
"**/*.css"
|
47
47
|
],
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "f6c44ce962cd754afd8e8dbf9081038c4511e828"
|
49
49
|
}
|