@versini/sassysaint 8.60.0 → 8.61.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{AboutChangelog.D7rARJQu.js → AboutChangelog.D7I8wIR3.js} +2 -2
- package/dist/chunks/{AboutEntry.2nf0TV4n.js → AboutEntry.CgoQFkvL.js} +5 -5
- package/dist/chunks/{App.Ch8FU2zW.js → App.ChCi2CJv.js} +23 -22
- package/dist/chunks/{Chart.Iz1BoL-_.js → Chart.Da_tRET4.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.M4WRDuaw.js → ChatBubbleAssistant.UxHsZzEZ.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.CJHFRmMF.js → ChatBubbleUser.D59prA_b.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.B2mRc_wV.js → ChatHistoryTable.BmLIy_n6.js} +3 -3
- package/dist/chunks/{HistoryEntry.71E6Pz_O.js → HistoryEntry.BBQJlZU0.js} +3 -3
- package/dist/chunks/{ProfileEntry.BWsYCeof.js → ProfileEntry.CJfuMvZl.js} +2 -2
- package/dist/chunks/{SettingsEntry.Qi5gQD0-.js → SettingsEntry.DTXEVYGc.js} +317 -299
- package/dist/chunks/{Table.SHD8KKEE.js → Table.BJuGy_cI.js} +2 -2
- package/dist/chunks/{UsageEntry.DPhNHm9B.js → UsageEntry.nh1Wkgex.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.CT_7TJ_Z.js → UserMemoriesPanel.CjK4BTtb.js} +3 -3
- package/dist/chunks/{index.CqKtw4TJ.js → index.BVY22Byt.js} +1 -1
- package/dist/chunks/{index.BBAApLM_.js → index.C-XRoqj9.js} +1 -1
- package/dist/chunks/{index.DG2NgWZ6.js → index.C2Gm2e-k.js} +1 -1
- package/dist/chunks/{index.DnHjiSVh.js → index.CClDcTsc.js} +125 -113
- package/dist/chunks/{index.BJqzFaBo.js → index.CdI5w59v.js} +2 -2
- package/dist/chunks/{index.HkxzuofI.js → index.CrfYzm7K.js} +1 -1
- package/dist/chunks/{index.CEgF3L_6.js → index.DAxNz-ru.js} +3 -3
- package/dist/chunks/{useMarkdown.BBFa2GkT.js → useMarkdown.BXmbIhuT.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -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.CClDcTsc.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.ChCi2CJv.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 { oe 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.CClDcTsc.js";
|
|
3
|
+
import { oe as z } from "./App.ChCi2CJv.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.Da_tRET4.js"
|
|
8
8
|
)), b = ({
|
|
9
9
|
open: S,
|
|
10
10
|
onOpenChange: I
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as B, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { n as V, LOCAL_STORAGE_PREFIX as N, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as Y, LOCAL_STORAGE_SORT_MEMORY_COLUMN as X, useUserMemories as $, useDeleteMemory as J, useDeleteAllMemories as K, L as O, j as u, te as Q, C as M } from "./index.
|
|
3
|
-
import { E as T, e as c, ConfirmationPanel as R, oe as W, st as Z } from "./App.
|
|
2
|
+
import { n as V, LOCAL_STORAGE_PREFIX as N, LOCAL_STORAGE_SORT_MEMORY_DIRECTION as Y, LOCAL_STORAGE_SORT_MEMORY_COLUMN as X, useUserMemories as $, useDeleteMemory as J, useDeleteAllMemories as K, L as O, j as u, te as Q, C as M } from "./index.CClDcTsc.js";
|
|
3
|
+
import { E as T, e as c, ConfirmationPanel as R, oe as W, st as Z } from "./App.ChCi2CJv.js";
|
|
4
4
|
import f from "clsx";
|
|
5
5
|
import { useState as a, useRef as ee } from "react";
|
|
6
|
-
import { j as te, D as re, G as x, M as n, F as oe, H as ne, l as ie, U as le } from "./Table.
|
|
6
|
+
import { j as te, D as re, G as x, M as n, F as oe, H as ne, l as ie, U as le } from "./Table.BJuGy_cI.js";
|
|
7
7
|
const ue = ({
|
|
8
8
|
open: A,
|
|
9
9
|
onOpenChange: C,
|
|
@@ -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.BXmbIhuT.js";
|
|
2
2
|
import { longestStreak as qe } from "./index.Cyw5OC0t.js";
|
|
3
3
|
function ne(e, n) {
|
|
4
4
|
const t = String(e);
|
|
@@ -4042,7 +4042,7 @@ const as = () => {
|
|
|
4042
4042
|
if (!e)
|
|
4043
4043
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
|
4044
4044
|
return e;
|
|
4045
|
-
},
|
|
4045
|
+
}, qo = "I'm having trouble right now. Please try again later.", jo = "action-search", Vo = "action-sort", Jo = "action-toggle-prompt", Qo = "action-reset-prompt", ns = "sassy-saint-", Yo = "search", zo = "sort", Xo = "sort-timestamp", Zo = "sort-token-usage", ec = "sort-memory-direction", tc = "sort-memory-column", rc = "favorites-only", sc = "private-disclosure", ac = "reasoning-disclosure", is = "service-worker", yr = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", nc = 10, ic = 30, oc = "av-prompt", cc = "av-prompt-editable", lc = "size-5 sm:size-4", uc = 30, dc = 15, hc = 130, fc = 160, mc = 16, pc = 24, yc = 76, gc = 76;
|
|
4046
4046
|
let Et = null, se = !1;
|
|
4047
4047
|
typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("controllerchange", () => {
|
|
4048
4048
|
se && (se = !1, window.location.reload());
|
|
@@ -4092,7 +4092,7 @@ async function qn() {
|
|
|
4092
4092
|
return console.error("[SW] Service worker un-registration failed:", e), !1;
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
|
-
async function
|
|
4095
|
+
async function bc(e) {
|
|
4096
4096
|
if (Wn(e), e) {
|
|
4097
4097
|
se = !0;
|
|
4098
4098
|
try {
|
|
@@ -4147,7 +4147,7 @@ async function jn() {
|
|
|
4147
4147
|
function wt() {
|
|
4148
4148
|
return "unknown";
|
|
4149
4149
|
}
|
|
4150
|
-
async function
|
|
4150
|
+
async function Ec(e = {}) {
|
|
4151
4151
|
const { urlLimitPerCache: t } = e;
|
|
4152
4152
|
if (!("caches" in window))
|
|
4153
4153
|
return { version: wt(), caches: [], totalItems: 0 };
|
|
@@ -4174,7 +4174,7 @@ async function wc(e = {}) {
|
|
|
4174
4174
|
return console.warn("[SW] getCacheInfo failed:", r), { version: wt(), caches: [], totalItems: 0 };
|
|
4175
4175
|
}
|
|
4176
4176
|
}
|
|
4177
|
-
const
|
|
4177
|
+
const wc = "user", Sc = "assistant", vc = "data", cs = "OpenAI", Vn = "Anthropic", Jn = "Google", Qn = "Perplexity", Tc = cs, Yn = "claude-sonnet-4", zn = "claude-3", Xn = "gpt-", Zn = "o3", ei = "o4", ti = "gemini", ri = "sonar", si = {
|
|
4178
4178
|
[Vn]: [
|
|
4179
4179
|
Yn,
|
|
4180
4180
|
zn
|
|
@@ -4186,14 +4186,14 @@ const Sc = "user", vc = "assistant", Tc = "data", cs = "OpenAI", Vn = "Anthropic
|
|
|
4186
4186
|
],
|
|
4187
4187
|
[Jn]: [ti],
|
|
4188
4188
|
[Qn]: [ri]
|
|
4189
|
-
},
|
|
4189
|
+
}, Ac = "x-diggidy-chat-id", Ic = (e) => {
|
|
4190
4190
|
for (const [t, r] of Object.entries(
|
|
4191
4191
|
si
|
|
4192
4192
|
))
|
|
4193
4193
|
if (r.some((s) => e.startsWith(s)))
|
|
4194
4194
|
return t;
|
|
4195
4195
|
return null;
|
|
4196
|
-
},
|
|
4196
|
+
}, _c = "timestamp", Rc = "tokenUsage", k = "Diggidy", Cc = {
|
|
4197
4197
|
TOOL: {
|
|
4198
4198
|
MEMORIES: "getUserMemories"
|
|
4199
4199
|
},
|
|
@@ -4321,6 +4321,7 @@ const G = {
|
|
|
4321
4321
|
sendOnEnter
|
|
4322
4322
|
useMemory
|
|
4323
4323
|
showDetails
|
|
4324
|
+
showReasoningButton
|
|
4324
4325
|
entitlements {
|
|
4325
4326
|
version
|
|
4326
4327
|
capabilities
|
|
@@ -4345,6 +4346,7 @@ const G = {
|
|
|
4345
4346
|
$sendOnEnter: Boolean,
|
|
4346
4347
|
$useMemory: Boolean,
|
|
4347
4348
|
$showDetails: Boolean,
|
|
4349
|
+
$showReasoningButton: Boolean,
|
|
4348
4350
|
$tags: [TagIn]) {
|
|
4349
4351
|
setUserPreferences(
|
|
4350
4352
|
user: $user,
|
|
@@ -4355,6 +4357,7 @@ const G = {
|
|
|
4355
4357
|
sendOnEnter: $sendOnEnter,
|
|
4356
4358
|
useMemory: $useMemory,
|
|
4357
4359
|
showDetails: $showDetails,
|
|
4360
|
+
showReasoningButton: $showReasoningButton,
|
|
4358
4361
|
tags: $tags)
|
|
4359
4362
|
}`,
|
|
4360
4363
|
GET_USAGE: `query GetUsage(
|
|
@@ -4496,7 +4499,7 @@ const G = {
|
|
|
4496
4499
|
} catch (r) {
|
|
4497
4500
|
return console.error(r), { status: 500, data: [] };
|
|
4498
4501
|
}
|
|
4499
|
-
},
|
|
4502
|
+
}, Oc = async ({
|
|
4500
4503
|
provider: e,
|
|
4501
4504
|
accessToken: t,
|
|
4502
4505
|
username: r
|
|
@@ -4520,13 +4523,13 @@ const G = {
|
|
|
4520
4523
|
PREFERENCES: "preferences",
|
|
4521
4524
|
USAGE: "usage",
|
|
4522
4525
|
USER_MEMORIES: "userMemories"
|
|
4523
|
-
},
|
|
4526
|
+
}, kc = () => ye({
|
|
4524
4527
|
queryKey: [oe.CAPABILITIES],
|
|
4525
4528
|
queryFn: async () => await be({
|
|
4526
4529
|
type: te.GET_SERVER_CAPABILITIES,
|
|
4527
4530
|
noAuth: !0
|
|
4528
4531
|
})
|
|
4529
|
-
}),
|
|
4532
|
+
}), Nc = () => ye({
|
|
4530
4533
|
queryKey: [oe.CHANGELOGS],
|
|
4531
4534
|
queryFn: async () => await be({
|
|
4532
4535
|
type: te.GET_CHANGELOGS,
|
|
@@ -4547,7 +4550,7 @@ const G = {
|
|
|
4547
4550
|
type: te.GET_USER_PREFERENCES,
|
|
4548
4551
|
getAccessToken: t
|
|
4549
4552
|
})
|
|
4550
|
-
}),
|
|
4553
|
+
}), Pc = ({
|
|
4551
4554
|
user: e,
|
|
4552
4555
|
getAccessToken: t
|
|
4553
4556
|
}) => ye({
|
|
@@ -4559,7 +4562,7 @@ const G = {
|
|
|
4559
4562
|
type: te.GET_CHATS_STATS,
|
|
4560
4563
|
getAccessToken: t
|
|
4561
4564
|
})
|
|
4562
|
-
}),
|
|
4565
|
+
}), $c = ({
|
|
4563
4566
|
user: e,
|
|
4564
4567
|
searchString: t,
|
|
4565
4568
|
sortDirection: r,
|
|
@@ -4583,7 +4586,7 @@ const G = {
|
|
|
4583
4586
|
type: te.GET_CHATS,
|
|
4584
4587
|
getAccessToken: a
|
|
4585
4588
|
})
|
|
4586
|
-
}),
|
|
4589
|
+
}), xc = ({
|
|
4587
4590
|
user: e,
|
|
4588
4591
|
month: t,
|
|
4589
4592
|
year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
|
|
@@ -4601,7 +4604,7 @@ const G = {
|
|
|
4601
4604
|
type: te.GET_USAGE,
|
|
4602
4605
|
getAccessToken: s
|
|
4603
4606
|
})
|
|
4604
|
-
}),
|
|
4607
|
+
}), Dc = ({
|
|
4605
4608
|
user: e,
|
|
4606
4609
|
query: t,
|
|
4607
4610
|
getAccessToken: r,
|
|
@@ -4614,7 +4617,7 @@ const G = {
|
|
|
4614
4617
|
type: te.GET_USER_MEMORIES,
|
|
4615
4618
|
getAccessToken: r
|
|
4616
4619
|
})
|
|
4617
|
-
}),
|
|
4620
|
+
}), Mc = ({
|
|
4618
4621
|
getAccessToken: e
|
|
4619
4622
|
}) => {
|
|
4620
4623
|
const t = nt();
|
|
@@ -4638,7 +4641,7 @@ const G = {
|
|
|
4638
4641
|
});
|
|
4639
4642
|
}
|
|
4640
4643
|
});
|
|
4641
|
-
},
|
|
4644
|
+
}, Lc = ({
|
|
4642
4645
|
getAccessToken: e
|
|
4643
4646
|
}) => {
|
|
4644
4647
|
const t = nt();
|
|
@@ -4794,7 +4797,7 @@ const G = {
|
|
|
4794
4797
|
);
|
|
4795
4798
|
return /* @__PURE__ */ h(ls.Provider, { value: d, children: r });
|
|
4796
4799
|
};
|
|
4797
|
-
function
|
|
4800
|
+
function Uc() {
|
|
4798
4801
|
const e = at(ls);
|
|
4799
4802
|
if (!e)
|
|
4800
4803
|
throw new Error("useEntitlements must be used within EntitlementsProvider");
|
|
@@ -5049,7 +5052,7 @@ const Ii = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5049
5052
|
theme: c,
|
|
5050
5053
|
transition: f,
|
|
5051
5054
|
icon: d
|
|
5052
|
-
}),
|
|
5055
|
+
}), Fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: ds, convertCamelCaseToReadable: $i, convertDDToDMS: Bt, convertLatitudeToDMS: bi, convertLongitudeToDMS: Ei, debounce: Oi, durationFormatter: Ri, extractAverage: Ai, getCurrentGeoLocation: wi, getLayoutPaddingClass: fs, getMessageContaintWrapperClass: hs, isDev: Gt, isLastMessageFromRole: Ii, isPWAMode: Pi, isProbablyMobile: ps, isProbablyTablet: ys, isProbablyiPad: Ni, isProbablyiPhone: ki, isProd: us, isTauri: ms, numberFormatter: _i, obfuscate: Si, pluralize: Ci, renderDataAsList: Ti, toastOptions: xi, unObfuscate: vi }, Symbol.toStringTag, { value: "Module" })), Er = "av-button", ct = "icon", Wt = "button", Pt = "link", Di = ({
|
|
5053
5056
|
type: e,
|
|
5054
5057
|
size: t,
|
|
5055
5058
|
labelRight: r,
|
|
@@ -6553,9 +6556,9 @@ try {
|
|
|
6553
6556
|
});
|
|
6554
6557
|
} catch {
|
|
6555
6558
|
}
|
|
6556
|
-
const Ao = "ASK! ME! ANYTHING!", Io = "
|
|
6557
|
-
Press Enter to send it or Shift+Enter for new line.`,
|
|
6558
|
-
Press Ctrl+Enter to send it or Enter for new line.`,
|
|
6559
|
+
const Ao = "ASK! ME! ANYTHING!", Io = "Log in with a password", _o = "Log in with a Passkey", Hc = "Log out", Ro = "Password", Kc = "Usage", Gc = "Profile", Bc = "Settings", Wc = "Chat history", qc = "About", Vt = "Type your message here.", jc = Vt, Vc = `${Vt}
|
|
6560
|
+
Press Enter to send it or Shift+Enter for new line.`, Jc = `${Vt}
|
|
6561
|
+
Press Ctrl+Enter to send it or Enter for new line.`, Qc = "{{clipboard}}", P = "Review important details.", Yc = [
|
|
6559
6562
|
`Sometimes, ${k} just makes stuff up. ${P}`,
|
|
6560
6563
|
`${k} may invent facts on the fly. ${P}`,
|
|
6561
6564
|
`${k} may be confidently wrong. ${P}`,
|
|
@@ -6576,17 +6579,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6576
6579
|
`Sometimes, ${k} howls at the moon. ${P}`,
|
|
6577
6580
|
`${k} may dig up imaginary bones. ${P}`,
|
|
6578
6581
|
`${k} may sniff out nonsense. ${P}`
|
|
6579
|
-
],
|
|
6582
|
+
], zc = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", Xc = "Default provider set to", Zc = "Chat successfully deleted!", el = "Chat successfully saved!", tl = "Caching enabled. Assets are now stored locally.", rl = "Caching disabled. Local asset cache cleared.", sl = "av-sassy", al = {
|
|
6580
6583
|
0: ["January", "February", "March"],
|
|
6581
6584
|
3: ["April", "May", "June"],
|
|
6582
6585
|
6: ["July", "August", "September"],
|
|
6583
6586
|
9: ["October", "November", "December"]
|
|
6584
|
-
},
|
|
6587
|
+
}, nl = {
|
|
6585
6588
|
0: ["Jan", "Feb", "Mar"],
|
|
6586
6589
|
3: ["Apr", "May", "Jun"],
|
|
6587
6590
|
6: ["Jul", "Aug", "Sep"],
|
|
6588
6591
|
9: ["Oct", "Nov", "Dec"]
|
|
6589
|
-
},
|
|
6592
|
+
}, il = {
|
|
6590
6593
|
PREFERENCES: {
|
|
6591
6594
|
TITLE: "User profile",
|
|
6592
6595
|
NAME: "Name",
|
|
@@ -6616,9 +6619,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6616
6619
|
SETTINGS_PROMPTS: {
|
|
6617
6620
|
TITLE: "Prompts"
|
|
6618
6621
|
},
|
|
6619
|
-
|
|
6622
|
+
SETTINGS_ADVANCED: {
|
|
6620
6623
|
TITLE: "Advanced Settings",
|
|
6621
|
-
|
|
6624
|
+
REASONING_BUTTON_DESCRIPTION: "The following option allows you to display the Reasoning button in the chat interface. When enabled, you can toggle reasoning mode ON and OFF for more in-depth analysis.",
|
|
6625
|
+
CACHE_DESCRIPTION: "The following option enables caching of application assets for faster loading and improved performance on slow networks. This feature improves performance by storing frequently used resources locally."
|
|
6622
6626
|
},
|
|
6623
6627
|
SETTINGS_DETAILS: {
|
|
6624
6628
|
TITLE: "Chats",
|
|
@@ -6626,7 +6630,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6626
6630
|
SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
|
|
6627
6631
|
USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Diggidy will remember your previous interactions and use them to provide more relevant responses."
|
|
6628
6632
|
}
|
|
6629
|
-
},
|
|
6633
|
+
}, Co = ({
|
|
6630
6634
|
className: e,
|
|
6631
6635
|
isCapabilitiesSuccess: t,
|
|
6632
6636
|
capabilities: r
|
|
@@ -6641,11 +6645,19 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6641
6645
|
/* @__PURE__ */ h("div", { className: "basis-1/4", children: /* @__PURE__ */ h(ro, {}) }),
|
|
6642
6646
|
/* @__PURE__ */ q("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
|
6643
6647
|
/* @__PURE__ */ h("h1", { children: k }),
|
|
6644
|
-
/* @__PURE__ */ h(
|
|
6648
|
+
/* @__PURE__ */ h(
|
|
6649
|
+
"h2",
|
|
6650
|
+
{
|
|
6651
|
+
className: y({
|
|
6652
|
+
"text-red-500": t && r?.runningMode === "development"
|
|
6653
|
+
}),
|
|
6654
|
+
children: Ao
|
|
6655
|
+
}
|
|
6656
|
+
)
|
|
6645
6657
|
] })
|
|
6646
6658
|
]
|
|
6647
6659
|
}
|
|
6648
|
-
),
|
|
6660
|
+
), Oo = () => {
|
|
6649
6661
|
const { login: e, logoutReason: t, loginWithPasskey: r } = as(), [s, a] = ne(""), [n, i] = ne(""), [o, c] = ne(!0), [f, d] = ne({
|
|
6650
6662
|
username: "",
|
|
6651
6663
|
password: ""
|
|
@@ -6665,7 +6677,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6665
6677
|
className: hs({
|
|
6666
6678
|
extraClass: "rounded-md pb-10"
|
|
6667
6679
|
}),
|
|
6668
|
-
children: /* @__PURE__ */ h(
|
|
6680
|
+
children: /* @__PURE__ */ h(Co, {})
|
|
6669
6681
|
}
|
|
6670
6682
|
),
|
|
6671
6683
|
/* @__PURE__ */ h("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ h(oo, { alignHorizontal: "center", children: /* @__PURE__ */ h(he, { span: 6, children: /* @__PURE__ */ q(to, { mode: "dark", children: [
|
|
@@ -6702,7 +6714,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6702
6714
|
mode: "dark",
|
|
6703
6715
|
focusMode: "light",
|
|
6704
6716
|
name: "password",
|
|
6705
|
-
label:
|
|
6717
|
+
label: Ro,
|
|
6706
6718
|
rightElement: /* @__PURE__ */ h(
|
|
6707
6719
|
rt,
|
|
6708
6720
|
{
|
|
@@ -6732,7 +6744,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6732
6744
|
noBorder: !0,
|
|
6733
6745
|
type: "submit",
|
|
6734
6746
|
className: "mt-7",
|
|
6735
|
-
children:
|
|
6747
|
+
children: Io
|
|
6736
6748
|
}
|
|
6737
6749
|
) }),
|
|
6738
6750
|
!ms() && /* @__PURE__ */ q(Ar, { children: [
|
|
@@ -6745,7 +6757,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6745
6757
|
focusMode: "light",
|
|
6746
6758
|
fullWidth: !0,
|
|
6747
6759
|
className: "mb-4",
|
|
6748
|
-
labelRight:
|
|
6760
|
+
labelRight: _o,
|
|
6749
6761
|
onClick: r,
|
|
6750
6762
|
children: /* @__PURE__ */ h(ao, { size: "size-7" })
|
|
6751
6763
|
}
|
|
@@ -6753,23 +6765,23 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6753
6765
|
] })
|
|
6754
6766
|
] }) }) }) })
|
|
6755
6767
|
] });
|
|
6756
|
-
},
|
|
6768
|
+
}, ko = new URL(document.location.href).searchParams, vr = !!ko.get("debug") || !1, No = Os(() => import(
|
|
6757
6769
|
/* webpackChunkName: "LazyApp" */
|
|
6758
|
-
"./App.
|
|
6759
|
-
).then((e) => e.App)),
|
|
6770
|
+
"./App.ChCi2CJv.js"
|
|
6771
|
+
).then((e) => e.App)), Po = new Xs(), Tr = ({
|
|
6760
6772
|
isComponent: e,
|
|
6761
6773
|
headerHeight: t
|
|
6762
6774
|
}) => {
|
|
6763
6775
|
const { isAuthenticated: r, isLoading: s, user: a, getAccessToken: n } = as();
|
|
6764
|
-
return s ? /* @__PURE__ */ h("div", {}) : r ? /* @__PURE__ */ h(Cs, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(Zs, { client:
|
|
6776
|
+
return s ? /* @__PURE__ */ h("div", {}) : r ? /* @__PURE__ */ h(Cs, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(Zs, { client: Po, children: /* @__PURE__ */ h(
|
|
6765
6777
|
li,
|
|
6766
6778
|
{
|
|
6767
6779
|
user: a?.username,
|
|
6768
6780
|
getAccessToken: n,
|
|
6769
|
-
children: /* @__PURE__ */ h(
|
|
6781
|
+
children: /* @__PURE__ */ h(No, { isComponent: e, headerHeight: t })
|
|
6770
6782
|
}
|
|
6771
|
-
) }) }) : /* @__PURE__ */ h(
|
|
6772
|
-
},
|
|
6783
|
+
) }) }) : /* @__PURE__ */ h(Oo, {});
|
|
6784
|
+
}, $o = ({
|
|
6773
6785
|
isComponent: e = !1,
|
|
6774
6786
|
headerHeight: t = 0,
|
|
6775
6787
|
domain: r = ds
|
|
@@ -6786,8 +6798,8 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6786
6798
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
|
6787
6799
|
children: /* @__PURE__ */ h(Tr, { isComponent: e, headerHeight: t })
|
|
6788
6800
|
}
|
|
6789
|
-
) : /* @__PURE__ */ h(pr, { clientId: yr, domain: r, debug: vr, children: /* @__PURE__ */ h(Tr, { isComponent: e, headerHeight: t }) })),
|
|
6790
|
-
|
|
6801
|
+
) : /* @__PURE__ */ h(pr, { clientId: yr, domain: r, debug: vr, children: /* @__PURE__ */ h(Tr, { isComponent: e, headerHeight: t }) })), ol = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ h(
|
|
6802
|
+
$o,
|
|
6791
6803
|
{
|
|
6792
6804
|
isComponent: !0,
|
|
6793
6805
|
domain: e,
|
|
@@ -6795,78 +6807,78 @@ Press Ctrl+Enter to send it or Enter for new line.`, Yc = "{{clipboard}}", P = "
|
|
|
6795
6807
|
}
|
|
6796
6808
|
);
|
|
6797
6809
|
export {
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6810
|
+
qc as ABOUT_TITLE,
|
|
6811
|
+
Qo as ACTION_RESET_PROMPT,
|
|
6812
|
+
jo as ACTION_SEARCH,
|
|
6813
|
+
Vo as ACTION_SORT,
|
|
6814
|
+
Jo as ACTION_TOGGLE_PROMPT,
|
|
6815
|
+
sl as APP_CLASSNAME,
|
|
6804
6816
|
bs as C,
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6817
|
+
il as CARDS,
|
|
6818
|
+
Qc as CLIPBOARD_PROMPT,
|
|
6819
|
+
lc as DEFAULT_ICON_ACTION_SIZE,
|
|
6808
6820
|
Vn as E,
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6821
|
+
qo as ERROR_MESSAGE,
|
|
6822
|
+
Yc as FOOTER_DISCLAIMERS,
|
|
6823
|
+
Wc as HISTORY_TITLE,
|
|
6812
6824
|
lt as I,
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6825
|
+
ic as INFINITE_SCROLL_LIMIT,
|
|
6826
|
+
nc as INFINITE_SCROLL_THRESHOLD,
|
|
6827
|
+
mc as INPUT_BOTTOM_OFFSET,
|
|
6828
|
+
gc as INPUT_BOTTOM_OFFSET_EXTRA,
|
|
6829
|
+
yc as INPUT_BOTTOM_OFFSET_IPAD,
|
|
6830
|
+
pc as INPUT_BOTTOM_OFFSET_IPHONE,
|
|
6831
|
+
Jc as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
|
|
6832
|
+
Vc as INPUT_PLACEHOLDER_TEXT_ENTER,
|
|
6833
|
+
jc as INPUT_PLACEHOLDER_TEXT_MOBILE,
|
|
6822
6834
|
oo as L,
|
|
6823
|
-
|
|
6835
|
+
rc as LOCAL_STORAGE_FAVORITES_ONLY,
|
|
6824
6836
|
ns as LOCAL_STORAGE_PREFIX,
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6837
|
+
sc as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
|
6838
|
+
ac as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
|
6839
|
+
Yo as LOCAL_STORAGE_SEARCH,
|
|
6840
|
+
zo as LOCAL_STORAGE_SORT,
|
|
6841
|
+
tc as LOCAL_STORAGE_SORT_MEMORY_COLUMN,
|
|
6842
|
+
ec as LOCAL_STORAGE_SORT_MEMORY_DIRECTION,
|
|
6843
|
+
Xo as LOCAL_STORAGE_SORT_TIMESTAMP,
|
|
6844
|
+
Zo as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
|
6845
|
+
Hc as LOG_OUT,
|
|
6846
|
+
Co as Logo,
|
|
6847
|
+
Ic as Oe,
|
|
6848
|
+
Gc as PROFILE_TITLE,
|
|
6849
|
+
zc as PROMPTS_DESCRIPTION,
|
|
6850
|
+
oc as PROMPT_CLASSNAME,
|
|
6851
|
+
cc as PROMPT_EDITABLE_AREA_CLASSNAME,
|
|
6852
|
+
Cc as Pe,
|
|
6841
6853
|
to as S,
|
|
6842
6854
|
te as SERVICE_TYPES,
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6855
|
+
Bc as SETTINGS_TITLE,
|
|
6856
|
+
ol as SassySaint,
|
|
6857
|
+
rl as TOAST_CACHE_DISABLED,
|
|
6858
|
+
tl as TOAST_CACHE_ENABLED,
|
|
6859
|
+
Zc as TOAST_CHAT_DELETED,
|
|
6860
|
+
el as TOAST_CHAT_SAVED,
|
|
6861
|
+
Xc as TOAST_PROVIDER_CHANGED,
|
|
6862
|
+
al as TRIMESTERS,
|
|
6863
|
+
nl as TRIMESTERS_SHORT,
|
|
6864
|
+
dc as UI_BUTTON_SCROLL_BUFFER,
|
|
6865
|
+
hc as UI_DEFAULT_MAIN_HEIGHT,
|
|
6866
|
+
fc as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
|
|
6867
|
+
uc as UI_FOOTER_BUFFER,
|
|
6868
|
+
Kc as USAGE_TITLE,
|
|
6857
6869
|
jt as Y,
|
|
6858
6870
|
k as _e,
|
|
6859
|
-
|
|
6871
|
+
wc as a,
|
|
6860
6872
|
Xi as b,
|
|
6861
|
-
|
|
6873
|
+
Sc as c,
|
|
6862
6874
|
$i as convertCamelCaseToReadable,
|
|
6863
6875
|
Oi as debounce,
|
|
6864
|
-
|
|
6876
|
+
Ec as getCacheInfo,
|
|
6865
6877
|
wi as getCurrentGeoLocation,
|
|
6866
6878
|
fs as getLayoutPaddingClass,
|
|
6867
6879
|
hs as getMessageContaintWrapperClass,
|
|
6868
6880
|
je as h,
|
|
6869
|
-
|
|
6881
|
+
bc as handleServiceWorkerToggle,
|
|
6870
6882
|
ws as i,
|
|
6871
6883
|
cs as i$1,
|
|
6872
6884
|
Pi as isPWAMode,
|
|
@@ -6878,33 +6890,33 @@ export {
|
|
|
6878
6890
|
Pe as it,
|
|
6879
6891
|
he as j,
|
|
6880
6892
|
ao as l,
|
|
6881
|
-
|
|
6893
|
+
_c as le,
|
|
6882
6894
|
oi as mutateCall,
|
|
6883
6895
|
as as n,
|
|
6884
|
-
|
|
6896
|
+
vc as ne,
|
|
6885
6897
|
_i as numberFormatter,
|
|
6886
6898
|
Es as o,
|
|
6887
6899
|
Si as obfuscate,
|
|
6888
|
-
|
|
6889
|
-
|
|
6900
|
+
Tc as oe,
|
|
6901
|
+
Rc as pe,
|
|
6890
6902
|
Ci as pluralize,
|
|
6891
6903
|
Ti as renderDataAsList,
|
|
6892
6904
|
ii as serverUrl,
|
|
6893
|
-
|
|
6905
|
+
Oc as setNewProvider,
|
|
6894
6906
|
rt as te,
|
|
6895
|
-
|
|
6907
|
+
Ac as ue,
|
|
6896
6908
|
vi as unObfuscate,
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6909
|
+
Nc as useChangelogs,
|
|
6910
|
+
$c as useChatsHistory,
|
|
6911
|
+
xc as useChatsUsage,
|
|
6912
|
+
Lc as useDeleteAllMemories,
|
|
6913
|
+
Mc as useDeleteMemory,
|
|
6914
|
+
Uc as useEntitlements,
|
|
6915
|
+
kc as useServerCapabilities,
|
|
6916
|
+
Pc as useUserChatStats,
|
|
6917
|
+
Dc as useUserMemories,
|
|
6906
6918
|
ci as useUserPreferences,
|
|
6907
|
-
|
|
6919
|
+
Fc as utilities,
|
|
6908
6920
|
Ts as x,
|
|
6909
6921
|
Jn as y
|
|
6910
6922
|
};
|
|
@@ -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.BXmbIhuT.js";
|
|
2
|
+
import { toText as Ca } from "./index.CrfYzm7K.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.ChCi2CJv.js";
|
|
2
|
+
import { visit as In } from "./useMarkdown.BXmbIhuT.js";
|
|
3
|
+
import { toText as Cn } from "./index.CrfYzm7K.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,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.CClDcTsc.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.ChCi2CJv.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.C2Gm2e-k.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.CdI5w59v.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.BVY22Byt.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.DAxNz-ru.js"
|
|
6935
6935
|
);
|
|
6936
6936
|
this.rehypeHighlight = n;
|
|
6937
6937
|
}
|