@versini/sassysaint 8.55.0 → 8.55.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.5VfZIj9p.js → AboutChangelog.Ui0aL-lC.js} +2 -2
- package/dist/chunks/{AboutEntry.dO_oMKfh.js → AboutEntry.8-poWRVZ.js} +7 -7
- package/dist/chunks/{App.w6_jLyPE.js → App.D4JpcHTh.js} +1444 -1439
- package/dist/chunks/{Chart.C7nKW8WX.js → Chart.Bj_vrc-7.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.Bk03cDqK.js → ChatBubbleAssistant.BGjEGk2A.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.CDNqDcYA.js → ChatBubbleUser.CMbGWHJL.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.Xi9Mfvf4.js → ChatHistoryTable.DFFCkdnm.js} +3 -3
- package/dist/chunks/{HistoryEntry.1-RwtIjk.js → HistoryEntry.DxHT9hLW.js} +3 -3
- package/dist/chunks/{ProfileEntry.i8nP_-yc.js → ProfileEntry.Cu_7dz-k.js} +2 -2
- package/dist/chunks/{SettingsEntry.Bl5OwncD.js → SettingsEntry.BzuFMnrG.js} +3 -3
- package/dist/chunks/{Table.DqF6iZRq.js → Table.DD1z_2ed.js} +2 -2
- package/dist/chunks/{UsageEntry.BDiutgbn.js → UsageEntry.Pm6efYMB.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.BXJmOUIb.js → UserMemoriesPanel.Cd0zuT_2.js} +3 -3
- package/dist/chunks/{index.BV5DU2jx.js → index.B2ZY5rib.js} +2 -2
- package/dist/chunks/{index.B4ADsXSu.js → index.CTmqoB95.js} +269 -268
- package/dist/chunks/{index.DCWKShPd.js → index.CwQaJutb.js} +1 -1
- package/dist/chunks/{index.CQCqlvg2.js → index.DAtPf6qE.js} +1 -1
- package/dist/chunks/{index.Dy81-Yet.js → index.DnnO74uJ.js} +3 -3
- package/dist/chunks/{index.Czo97DsJ.js → index.OEz7NbOq.js} +1 -1
- package/dist/chunks/{index.Ddic88Dj.js → index.wz1Fk7Rs.js} +1 -1
- package/dist/chunks/{useMarkdown.mJBa7hMR.js → useMarkdown.DBg9cIZq.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
|
-
import { jsx as h, jsxs as q, Fragment as
|
1
|
+
import { jsx as h, jsxs as q, Fragment as Ar } from "react/jsx-runtime";
|
2
2
|
import * as H from "react";
|
3
|
-
import ie, { createContext as xt, useReducer as
|
3
|
+
import ie, { createContext as xt, useReducer as Ir, useCallback as Y, useRef as j, useEffect as W, useSyncExternalStore as _s, useContext as at, useState as ne, useMemo as Je, useId as Rs, useLayoutEffect as Qe, Suspense as Cs, lazy as ks } from "react";
|
4
4
|
import y from "clsx";
|
5
5
|
var Oe = class {
|
6
6
|
constructor() {
|
@@ -124,18 +124,18 @@ function Dt(e, t) {
|
|
124
124
|
function pe(e) {
|
125
125
|
return JSON.stringify(
|
126
126
|
e,
|
127
|
-
(t, r) =>
|
127
|
+
(t, r) => It(r) ? Object.keys(r).sort().reduce((s, a) => (s[a] = r[a], s), {}) : r
|
128
128
|
);
|
129
129
|
}
|
130
130
|
function xe(e, t) {
|
131
131
|
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => xe(e[r], t[r])) : !1;
|
132
132
|
}
|
133
133
|
var xs = Object.prototype.hasOwnProperty;
|
134
|
-
function
|
134
|
+
function At(e, t) {
|
135
135
|
if (e === t)
|
136
136
|
return e;
|
137
137
|
const r = zt(e) && zt(t);
|
138
|
-
if (!r && !(
|
138
|
+
if (!r && !(It(e) && It(t))) return t;
|
139
139
|
const a = (r ? e : Object.keys(e)).length, n = r ? t : Object.keys(t), i = n.length, o = r ? new Array(i) : {};
|
140
140
|
let c = 0;
|
141
141
|
for (let f = 0; f < i; f++) {
|
@@ -148,7 +148,7 @@ function It(e, t) {
|
|
148
148
|
o[d] = l;
|
149
149
|
continue;
|
150
150
|
}
|
151
|
-
const m =
|
151
|
+
const m = At(u, l);
|
152
152
|
o[d] = m, m === u && c++;
|
153
153
|
}
|
154
154
|
return a === i && c === a ? e : o;
|
@@ -164,7 +164,7 @@ function Ye(e, t) {
|
|
164
164
|
function zt(e) {
|
165
165
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
166
166
|
}
|
167
|
-
function
|
167
|
+
function It(e) {
|
168
168
|
if (!Xt(e))
|
169
169
|
return !1;
|
170
170
|
const t = e.constructor;
|
@@ -187,13 +187,13 @@ function _t(e, t, r) {
|
|
187
187
|
if (r.structuralSharing !== !1) {
|
188
188
|
if (process.env.NODE_ENV !== "production")
|
189
189
|
try {
|
190
|
-
return
|
190
|
+
return At(e, t);
|
191
191
|
} catch (s) {
|
192
192
|
throw console.error(
|
193
193
|
`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${s}`
|
194
194
|
), s;
|
195
195
|
}
|
196
|
-
return
|
196
|
+
return At(e, t);
|
197
197
|
}
|
198
198
|
return t;
|
199
199
|
}
|
@@ -411,7 +411,7 @@ function Or(e) {
|
|
411
411
|
Promise.resolve(g).then(u).catch((E) => {
|
412
412
|
if (n())
|
413
413
|
return;
|
414
|
-
const k = e.retry ?? (me ? 0 : 3),
|
414
|
+
const k = e.retry ?? (me ? 0 : 3), A = e.retryDelay ?? Gs, K = typeof A == "function" ? A(r, E) : A, R = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, E);
|
415
415
|
if (t || !R) {
|
416
416
|
l(E);
|
417
417
|
return;
|
@@ -924,12 +924,12 @@ var Ws = class extends Oe {
|
|
924
924
|
this.#n = v;
|
925
925
|
}
|
926
926
|
this.#n && (m = this.#n, l = this.#h, p = Date.now(), g = "error");
|
927
|
-
const E = d.fetchStatus === "fetching", k = g === "pending",
|
927
|
+
const E = d.fetchStatus === "fetching", k = g === "pending", A = g === "error", K = k && E, R = l !== void 0, C = {
|
928
928
|
status: g,
|
929
929
|
fetchStatus: d.fetchStatus,
|
930
930
|
isPending: k,
|
931
931
|
isSuccess: g === "success",
|
932
|
-
isError:
|
932
|
+
isError: A,
|
933
933
|
isInitialLoading: K,
|
934
934
|
isLoading: K,
|
935
935
|
data: l,
|
@@ -943,21 +943,21 @@ var Ws = class extends Oe {
|
|
943
943
|
isFetchedAfterMount: d.dataUpdateCount > c.dataUpdateCount || d.errorUpdateCount > c.errorUpdateCount,
|
944
944
|
isFetching: E,
|
945
945
|
isRefetching: E && !k,
|
946
|
-
isLoadingError:
|
946
|
+
isLoadingError: A && !R,
|
947
947
|
isPaused: d.fetchStatus === "paused",
|
948
948
|
isPlaceholderData: u,
|
949
|
-
isRefetchError:
|
949
|
+
isRefetchError: A && R,
|
950
950
|
isStale: Lt(e, t),
|
951
951
|
refetch: this.refetch,
|
952
952
|
promise: this.#o,
|
953
953
|
isEnabled: J(t.enabled, e) !== !1
|
954
954
|
};
|
955
955
|
if (this.options.experimental_prefetchInRender) {
|
956
|
-
const v = (
|
957
|
-
C.status === "error" ?
|
956
|
+
const v = (I) => {
|
957
|
+
C.status === "error" ? I.reject(C.error) : C.data !== void 0 && I.resolve(C.data);
|
958
958
|
}, x = () => {
|
959
|
-
const
|
960
|
-
v(
|
959
|
+
const I = this.#o = C.promise = Rt();
|
960
|
+
v(I);
|
961
961
|
}, _ = this.#o;
|
962
962
|
switch (_.status) {
|
963
963
|
case "pending":
|
@@ -1065,9 +1065,9 @@ function rr(e) {
|
|
1065
1065
|
meta: t.options.meta
|
1066
1066
|
};
|
1067
1067
|
return u(Q), Q;
|
1068
|
-
})(),
|
1068
|
+
})(), A = await l(k), { maxPages: K } = t.options, R = b ? Ls : Ms;
|
1069
1069
|
return {
|
1070
|
-
pages: R(p.pages,
|
1070
|
+
pages: R(p.pages, A, K),
|
1071
1071
|
pageParams: R(p.pageParams, g, K)
|
1072
1072
|
};
|
1073
1073
|
};
|
@@ -2185,18 +2185,18 @@ const De = (e) => {
|
|
2185
2185
|
}, Br = (e, t) => {
|
2186
2186
|
const r = e.data.subarray(e.pos, e.pos + t);
|
2187
2187
|
return e.pos += t, r;
|
2188
|
-
},
|
2188
|
+
}, Aa = (e) => {
|
2189
2189
|
et(e, 6, "Expected algorithm OID");
|
2190
2190
|
const t = Ze(e);
|
2191
2191
|
return Br(e, t);
|
2192
2192
|
};
|
2193
|
-
function
|
2193
|
+
function Ia(e) {
|
2194
2194
|
et(e, 48, "Invalid SPKI structure"), Ze(e), et(e, 48, "Expected algorithm identifier");
|
2195
2195
|
const t = Ze(e);
|
2196
2196
|
return { algIdStart: e.pos, algIdLength: t };
|
2197
2197
|
}
|
2198
2198
|
const _a = (e) => {
|
2199
|
-
const t =
|
2199
|
+
const t = Aa(e);
|
2200
2200
|
if (dt(t, [43, 101, 110]))
|
2201
2201
|
return "X25519";
|
2202
2202
|
if (!dt(t, [42, 134, 72, 206, 61, 2, 1]))
|
@@ -2271,7 +2271,7 @@ const _a = (e) => {
|
|
2271
2271
|
let a = r;
|
2272
2272
|
return t?.startsWith?.("ECDH-ES") && (a ||= {}, a.getNamedCurve = (n) => {
|
2273
2273
|
const i = Ta(n);
|
2274
|
-
return
|
2274
|
+
return Ia(i), _a(i);
|
2275
2275
|
}), Ra("spki", s, t, a);
|
2276
2276
|
};
|
2277
2277
|
function Oa(e) {
|
@@ -3314,18 +3314,18 @@ function He({
|
|
3314
3314
|
const M = [];
|
3315
3315
|
for (let e = 0; e < 256; ++e)
|
3316
3316
|
M.push((e + 256).toString(16).slice(1));
|
3317
|
-
function
|
3317
|
+
function An(e, t = 0) {
|
3318
3318
|
return (M[e[t + 0]] + M[e[t + 1]] + M[e[t + 2]] + M[e[t + 3]] + "-" + M[e[t + 4]] + M[e[t + 5]] + "-" + M[e[t + 6]] + M[e[t + 7]] + "-" + M[e[t + 8]] + M[e[t + 9]] + "-" + M[e[t + 10]] + M[e[t + 11]] + M[e[t + 12]] + M[e[t + 13]] + M[e[t + 14]] + M[e[t + 15]]).toLowerCase();
|
3319
3319
|
}
|
3320
3320
|
let yt;
|
3321
|
-
const
|
3321
|
+
const In = new Uint8Array(16);
|
3322
3322
|
function _n() {
|
3323
3323
|
if (!yt) {
|
3324
3324
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
3325
3325
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
3326
3326
|
yt = crypto.getRandomValues.bind(crypto);
|
3327
3327
|
}
|
3328
|
-
return yt(
|
3328
|
+
return yt(In);
|
3329
3329
|
}
|
3330
3330
|
const Rn = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), mr = { randomUUID: Rn };
|
3331
3331
|
function gt(e, t, r) {
|
@@ -3335,7 +3335,7 @@ function gt(e, t, r) {
|
|
3335
3335
|
const s = e.random ?? e.rng?.() ?? _n();
|
3336
3336
|
if (s.length < 16)
|
3337
3337
|
throw new Error("Random bytes length must be >= 16");
|
3338
|
-
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128,
|
3338
|
+
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, An(s);
|
3339
3339
|
}
|
3340
3340
|
const ve = "Your session has expired. For your security, please log in again to continue.", Cn = "Your session has been successfully terminated.", bt = "Login failed. Please try again.", kn = "Error getting access token, please re-authenticate.", On = "You forgot to wrap your component in <AuthProvider>.", Ke = "@@auth@@", Ne = "LOADING", qe = "LOGIN", Xr = "LOGOUT", Le = "success", ee = "failure", Zr = "include", es = "POST", ts = "application/json", Ge = {
|
3341
3341
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
@@ -3435,7 +3435,7 @@ const ve = "Your session has expired. For your security, please log in again to
|
|
3435
3435
|
schema: Ge.VERIFY_AUTHENTICATION,
|
3436
3436
|
method: "verifyPasskeyAuthentication"
|
3437
3437
|
}
|
3438
|
-
},
|
3438
|
+
}, Ae = async ({
|
3439
3439
|
accessToken: e,
|
3440
3440
|
type: t,
|
3441
3441
|
clientId: r,
|
@@ -3698,17 +3698,17 @@ class Un {
|
|
3698
3698
|
};
|
3699
3699
|
}
|
3700
3700
|
}
|
3701
|
-
const
|
3701
|
+
const Ie = () => {
|
3702
3702
|
throw new Error(On);
|
3703
3703
|
}, ss = xt({
|
3704
3704
|
isAuthenticated: !1,
|
3705
3705
|
isLoading: !1,
|
3706
|
-
login:
|
3707
|
-
logout:
|
3708
|
-
getAccessToken:
|
3709
|
-
getIdToken:
|
3710
|
-
registeringForPasskey:
|
3711
|
-
loginWithPasskey:
|
3706
|
+
login: Ie,
|
3707
|
+
logout: Ie,
|
3708
|
+
getAccessToken: Ie,
|
3709
|
+
getIdToken: Ie,
|
3710
|
+
registeringForPasskey: Ie,
|
3711
|
+
loginWithPasskey: Ie,
|
3712
3712
|
logoutReason: "",
|
3713
3713
|
authenticationType: ""
|
3714
3714
|
}), Fn = () => ({
|
@@ -3750,7 +3750,7 @@ const Ae = () => {
|
|
3750
3750
|
debug: a = !1,
|
3751
3751
|
endpoint: n = Pn ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
|
3752
3752
|
}) => {
|
3753
|
-
const [i, o] =
|
3753
|
+
const [i, o] = Ir(Gn, {
|
3754
3754
|
...rs,
|
3755
3755
|
debug: a
|
3756
3756
|
}), c = Hn(a), f = j(!1), [d, u, , l] = He({
|
@@ -3761,7 +3761,7 @@ const Ae = () => {
|
|
3761
3761
|
{
|
3762
3762
|
key: `${Ke}::${r}::@@refresh@@`
|
3763
3763
|
}
|
3764
|
-
), [
|
3764
|
+
), [A, K, , R] = He({
|
3765
3765
|
key: `${Ke}::${r}::@@nonce@@`
|
3766
3766
|
}), Q = new Un(m, b), C = Y(() => {
|
3767
3767
|
c("removeLocalStorage: removing local storage"), l(), g(), k(), R();
|
@@ -3870,7 +3870,7 @@ const Ae = () => {
|
|
3870
3870
|
}), !0) : (v(bt), !1);
|
3871
3871
|
}
|
3872
3872
|
return !1;
|
3873
|
-
},
|
3873
|
+
}, I = async (w) => {
|
3874
3874
|
w?.preventDefault(), await x(Cn);
|
3875
3875
|
}, N = async () => {
|
3876
3876
|
const { isAuthenticated: w, user: T } = i;
|
@@ -3887,7 +3887,7 @@ const Ae = () => {
|
|
3887
3887
|
endpoint: n,
|
3888
3888
|
clientId: r,
|
3889
3889
|
userId: T.userId,
|
3890
|
-
nonce:
|
3890
|
+
nonce: A,
|
3891
3891
|
domain: s
|
3892
3892
|
});
|
3893
3893
|
return S.status && S.status === "success" && S.newAccessToken ? (p(S.newAccessToken), E(S.newRefreshToken), S.newAccessToken) : (c(
|
@@ -3904,7 +3904,7 @@ const Ae = () => {
|
|
3904
3904
|
}
|
3905
3905
|
}, V = () => i.isAuthenticated && d ? d : "", ce = async () => {
|
3906
3906
|
const { user: w } = i;
|
3907
|
-
let T = await
|
3907
|
+
let T = await Ae({
|
3908
3908
|
endpoint: n,
|
3909
3909
|
accessToken: m,
|
3910
3910
|
clientId: r,
|
@@ -3920,7 +3920,7 @@ const Ae = () => {
|
|
3920
3920
|
const S = await bn({
|
3921
3921
|
optionsJSON: T.data
|
3922
3922
|
});
|
3923
|
-
return T = await
|
3923
|
+
return T = await Ae({
|
3924
3924
|
endpoint: n,
|
3925
3925
|
accessToken: m,
|
3926
3926
|
clientId: r,
|
@@ -3933,7 +3933,7 @@ const Ae = () => {
|
|
3933
3933
|
}
|
3934
3934
|
}), !!(T.status && T.data.length > 0);
|
3935
3935
|
} catch {
|
3936
|
-
return await
|
3936
|
+
return await Ae({
|
3937
3937
|
endpoint: n,
|
3938
3938
|
accessToken: m,
|
3939
3939
|
clientId: r,
|
@@ -3952,7 +3952,7 @@ const Ae = () => {
|
|
3952
3952
|
const w = gt();
|
3953
3953
|
K(w), c("loginWithPasskey");
|
3954
3954
|
const T = gt();
|
3955
|
-
let S = await
|
3955
|
+
let S = await Ae({
|
3956
3956
|
endpoint: n,
|
3957
3957
|
accessToken: m,
|
3958
3958
|
clientId: r,
|
@@ -3967,7 +3967,7 @@ const Ae = () => {
|
|
3967
3967
|
const le = await Sn({
|
3968
3968
|
optionsJSON: S.data
|
3969
3969
|
});
|
3970
|
-
return S = await
|
3970
|
+
return S = await Ae({
|
3971
3971
|
endpoint: n,
|
3972
3972
|
accessToken: m,
|
3973
3973
|
clientId: r,
|
@@ -3993,7 +3993,7 @@ const Ae = () => {
|
|
3993
3993
|
}
|
3994
3994
|
}), !0) : (v(bt), !1);
|
3995
3995
|
} catch {
|
3996
|
-
return await
|
3996
|
+
return await Ae({
|
3997
3997
|
endpoint: n,
|
3998
3998
|
accessToken: m,
|
3999
3999
|
clientId: r,
|
@@ -4016,7 +4016,7 @@ const Ae = () => {
|
|
4016
4016
|
value: {
|
4017
4017
|
...i,
|
4018
4018
|
login: _,
|
4019
|
-
logout:
|
4019
|
+
logout: I,
|
4020
4020
|
getAccessToken: N,
|
4021
4021
|
getIdToken: V,
|
4022
4022
|
registeringForPasskey: ce,
|
@@ -4044,7 +4044,7 @@ const as = () => {
|
|
4044
4044
|
if (!e)
|
4045
4045
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
4046
4046
|
return e;
|
4047
|
-
},
|
4047
|
+
}, Wo = "I'm having trouble right now. Please try again later.", qo = "action-search", jo = "action-sort", Vo = "action-toggle-prompt", Jo = "action-reset-prompt", ns = "sassy-saint-", Qo = "search", Yo = "sort", zo = "sort-timestamp", Xo = "sort-token-usage", Zo = "sort-memory-direction", ec = "sort-memory-column", tc = "private-disclosure", rc = "reasoning-disclosure", is = "service-worker", yr = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", sc = 10, ac = 30, nc = "av-prompt", ic = "av-prompt-editable", oc = "size-5 sm:size-4", cc = 30, lc = 15, uc = 130, dc = 160, hc = 16, fc = 24, mc = 76, pc = 76;
|
4048
4048
|
let Et = null, se = !1;
|
4049
4049
|
typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("controllerchange", () => {
|
4050
4050
|
se && (se = !1, window.location.reload());
|
@@ -4094,7 +4094,7 @@ async function qn() {
|
|
4094
4094
|
return console.error("[SW] Service worker un-registration failed:", e), !1;
|
4095
4095
|
}
|
4096
4096
|
}
|
4097
|
-
async function
|
4097
|
+
async function yc(e) {
|
4098
4098
|
if (Wn(e), e) {
|
4099
4099
|
se = !0;
|
4100
4100
|
try {
|
@@ -4149,7 +4149,7 @@ async function jn() {
|
|
4149
4149
|
function wt() {
|
4150
4150
|
return "unknown";
|
4151
4151
|
}
|
4152
|
-
async function
|
4152
|
+
async function gc(e = {}) {
|
4153
4153
|
const { urlLimitPerCache: t } = e;
|
4154
4154
|
if (!("caches" in window))
|
4155
4155
|
return { version: wt(), caches: [], totalItems: 0 };
|
@@ -4176,7 +4176,7 @@ async function yc(e = {}) {
|
|
4176
4176
|
return console.warn("[SW] getCacheInfo failed:", r), { version: wt(), caches: [], totalItems: 0 };
|
4177
4177
|
}
|
4178
4178
|
}
|
4179
|
-
const
|
4179
|
+
const bc = "user", Ec = "assistant", wc = "data", cs = "OpenAI", Vn = "Anthropic", Jn = "Google", Qn = "Perplexity", Sc = cs, Yn = "claude-sonnet-4", zn = "claude-3", Xn = "gpt-", Zn = "o3", ei = "o4", ti = "gemini", ri = "sonar", si = {
|
4180
4180
|
[Vn]: [
|
4181
4181
|
Yn,
|
4182
4182
|
zn
|
@@ -4188,14 +4188,14 @@ const gc = "user", bc = "assistant", Ec = "data", cs = "OpenAI", Vn = "Anthropic
|
|
4188
4188
|
],
|
4189
4189
|
[Jn]: [ti],
|
4190
4190
|
[Qn]: [ri]
|
4191
|
-
},
|
4191
|
+
}, vc = "x-diggity-chat-id", Tc = (e) => {
|
4192
4192
|
for (const [t, r] of Object.entries(
|
4193
4193
|
si
|
4194
4194
|
))
|
4195
4195
|
if (r.some((s) => e.startsWith(s)))
|
4196
4196
|
return t;
|
4197
4197
|
return null;
|
4198
|
-
},
|
4198
|
+
}, Ac = "timestamp", Ic = "tokenUsage", O = "Diggity", _c = {
|
4199
4199
|
TOOL: {
|
4200
4200
|
MEMORIES: "getUserMemories"
|
4201
4201
|
},
|
@@ -4481,7 +4481,7 @@ const B = {
|
|
4481
4481
|
} catch (r) {
|
4482
4482
|
return console.error(r), { status: 500, data: [] };
|
4483
4483
|
}
|
4484
|
-
},
|
4484
|
+
}, Rc = async ({
|
4485
4485
|
provider: e,
|
4486
4486
|
accessToken: t,
|
4487
4487
|
username: r
|
@@ -4505,13 +4505,13 @@ const B = {
|
|
4505
4505
|
PREFERENCES: "preferences",
|
4506
4506
|
USAGE: "usage",
|
4507
4507
|
USER_MEMORIES: "userMemories"
|
4508
|
-
},
|
4508
|
+
}, Cc = () => ye({
|
4509
4509
|
queryKey: [oe.CAPABILITIES],
|
4510
4510
|
queryFn: async () => await be({
|
4511
4511
|
type: te.GET_SERVER_CAPABILITIES,
|
4512
4512
|
noAuth: !0
|
4513
4513
|
})
|
4514
|
-
}),
|
4514
|
+
}), kc = () => ye({
|
4515
4515
|
queryKey: [oe.CHANGELOGS],
|
4516
4516
|
queryFn: async () => await be({
|
4517
4517
|
type: te.GET_CHANGELOGS,
|
@@ -4532,7 +4532,7 @@ const B = {
|
|
4532
4532
|
type: te.GET_USER_PREFERENCES,
|
4533
4533
|
getAccessToken: t
|
4534
4534
|
})
|
4535
|
-
}),
|
4535
|
+
}), Oc = ({
|
4536
4536
|
user: e,
|
4537
4537
|
getAccessToken: t
|
4538
4538
|
}) => ye({
|
@@ -4544,7 +4544,7 @@ const B = {
|
|
4544
4544
|
type: te.GET_CHATS_STATS,
|
4545
4545
|
getAccessToken: t
|
4546
4546
|
})
|
4547
|
-
}),
|
4547
|
+
}), Nc = ({
|
4548
4548
|
user: e,
|
4549
4549
|
searchString: t,
|
4550
4550
|
sortDirection: r,
|
@@ -4568,7 +4568,7 @@ const B = {
|
|
4568
4568
|
type: te.GET_CHATS,
|
4569
4569
|
getAccessToken: a
|
4570
4570
|
})
|
4571
|
-
}),
|
4571
|
+
}), Pc = ({
|
4572
4572
|
user: e,
|
4573
4573
|
month: t,
|
4574
4574
|
year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
|
@@ -4586,7 +4586,7 @@ const B = {
|
|
4586
4586
|
type: te.GET_USAGE,
|
4587
4587
|
getAccessToken: s
|
4588
4588
|
})
|
4589
|
-
}),
|
4589
|
+
}), $c = ({
|
4590
4590
|
user: e,
|
4591
4591
|
query: t,
|
4592
4592
|
getAccessToken: r,
|
@@ -4599,7 +4599,7 @@ const B = {
|
|
4599
4599
|
type: te.GET_USER_MEMORIES,
|
4600
4600
|
getAccessToken: r
|
4601
4601
|
})
|
4602
|
-
}),
|
4602
|
+
}), xc = ({
|
4603
4603
|
getAccessToken: e
|
4604
4604
|
}) => {
|
4605
4605
|
const t = nt();
|
@@ -4623,7 +4623,7 @@ const B = {
|
|
4623
4623
|
});
|
4624
4624
|
}
|
4625
4625
|
});
|
4626
|
-
},
|
4626
|
+
}, Dc = ({
|
4627
4627
|
getAccessToken: e
|
4628
4628
|
}) => {
|
4629
4629
|
const t = nt();
|
@@ -4779,7 +4779,7 @@ const B = {
|
|
4779
4779
|
);
|
4780
4780
|
return /* @__PURE__ */ h(ls.Provider, { value: d, children: r });
|
4781
4781
|
};
|
4782
|
-
function
|
4782
|
+
function Mc() {
|
4783
4783
|
const e = at(ls);
|
4784
4784
|
if (!e)
|
4785
4785
|
throw new Error("useEntitlements must be used within EntitlementsProvider");
|
@@ -4959,7 +4959,7 @@ const us = process.env.NODE_ENV === "production", Gt = !us, ds = Gt ? "gizmette.
|
|
4959
4959
|
}
|
4960
4960
|
)
|
4961
4961
|
] }) }, `${e}-${s}`)) : null;
|
4962
|
-
function
|
4962
|
+
function Ai({
|
4963
4963
|
data: e,
|
4964
4964
|
formatter: t = (r) => r
|
4965
4965
|
}) {
|
@@ -4971,7 +4971,7 @@ function Ii({
|
|
4971
4971
|
);
|
4972
4972
|
return t(s ? s / r.length : 0);
|
4973
4973
|
}
|
4974
|
-
const
|
4974
|
+
const Ii = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, _i = new Intl.NumberFormat("en", {
|
4975
4975
|
style: "decimal",
|
4976
4976
|
signDisplay: "never",
|
4977
4977
|
minimumFractionDigits: 0,
|
@@ -5007,10 +5007,10 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5007
5007
|
}, Ni = () => {
|
5008
5008
|
const e = ["iPad Simulator", "iPad"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = ys(), r = navigator.maxTouchPoints > 1;
|
5009
5009
|
return e && t && r;
|
5010
|
-
}, Pi = (e) => {
|
5010
|
+
}, Pi = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, $i = (e) => {
|
5011
5011
|
const t = e.replace(/([A-Z])/g, " $1");
|
5012
5012
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
5013
|
-
},
|
5013
|
+
}, xi = ({
|
5014
5014
|
autoClose: e = 3e3,
|
5015
5015
|
containerId: t,
|
5016
5016
|
position: r = "top-center",
|
@@ -5034,7 +5034,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5034
5034
|
theme: c,
|
5035
5035
|
transition: f,
|
5036
5036
|
icon: d
|
5037
|
-
}),
|
5037
|
+
}), Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: ds, convertCamelCaseToReadable: $i, convertDDToDMS: Bt, convertLatitudeToDMS: bi, convertLongitudeToDMS: Ei, debounce: ki, durationFormatter: Ri, extractAverage: Ai, getCurrentGeoLocation: wi, getLayoutPaddingClass: fs, getMessageContaintWrapperClass: hs, isDev: Gt, isLastMessageFromRole: Ii, isPWAMode: Pi, isProbablyMobile: ps, isProbablyTablet: ys, isProbablyiPad: Ni, isProbablyiPhone: Oi, 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 = ({
|
5038
5038
|
type: e,
|
5039
5039
|
size: t,
|
5040
5040
|
labelRight: r,
|
@@ -5070,7 +5070,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5070
5070
|
"h-12": t === "large" && n && (r || s)
|
5071
5071
|
});
|
5072
5072
|
}
|
5073
|
-
},
|
5073
|
+
}, Mi = ({
|
5074
5074
|
type: e,
|
5075
5075
|
size: t,
|
5076
5076
|
labelRight: r,
|
@@ -5093,7 +5093,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5093
5093
|
[i]: t === "large" && (r || s)
|
5094
5094
|
});
|
5095
5095
|
}
|
5096
|
-
},
|
5096
|
+
}, Li = ({
|
5097
5097
|
mode: e,
|
5098
5098
|
noBackground: t,
|
5099
5099
|
truncate: r,
|
@@ -5129,7 +5129,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5129
5129
|
return y("not-prose text-copy-lighter", {
|
5130
5130
|
truncate: r
|
5131
5131
|
});
|
5132
|
-
},
|
5132
|
+
}, Ui = ({
|
5133
5133
|
mode: e,
|
5134
5134
|
noBackground: t,
|
5135
5135
|
variant: r
|
@@ -5159,13 +5159,13 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5159
5159
|
if (r === "selected")
|
5160
5160
|
return "bg-action-selected-dark";
|
5161
5161
|
}
|
5162
|
-
},
|
5162
|
+
}, Fi = ({
|
5163
5163
|
radius: e
|
5164
5164
|
}) => y({
|
5165
5165
|
"rounded-full": e === "large",
|
5166
5166
|
"rounded-md": e === "medium",
|
5167
5167
|
"rounded-xs": e === "small"
|
5168
|
-
}),
|
5168
|
+
}), Hi = ({
|
5169
5169
|
mode: e,
|
5170
5170
|
disabled: t,
|
5171
5171
|
variant: r
|
@@ -5203,7 +5203,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5203
5203
|
});
|
5204
5204
|
if (r === "selected")
|
5205
5205
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
5206
|
-
},
|
5206
|
+
}, Ki = ({
|
5207
5207
|
mode: e,
|
5208
5208
|
disabled: t,
|
5209
5209
|
variant: r
|
@@ -5241,7 +5241,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5241
5241
|
});
|
5242
5242
|
if (r === "selected")
|
5243
5243
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
5244
|
-
},
|
5244
|
+
}, Gi = ({
|
5245
5245
|
mode: e,
|
5246
5246
|
noBorder: t,
|
5247
5247
|
variant: r
|
@@ -5271,14 +5271,14 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5271
5271
|
});
|
5272
5272
|
if (r === "selected")
|
5273
5273
|
return "border border-border-selected-dark";
|
5274
|
-
},
|
5274
|
+
}, Bi = ({
|
5275
5275
|
focusMode: e
|
5276
5276
|
}) => y("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
5277
5277
|
"focus:outline-focus-dark": e === "dark",
|
5278
5278
|
"focus:outline-focus-light": e === "light",
|
5279
5279
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
5280
5280
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
5281
|
-
}),
|
5281
|
+
}), Wi = ({
|
5282
5282
|
mode: e,
|
5283
5283
|
raw: t,
|
5284
5284
|
iconClassName: r,
|
@@ -5305,7 +5305,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5305
5305
|
} : s === "selected" && (a = {
|
5306
5306
|
"text-copy-lighter": !0
|
5307
5307
|
}), y(a, r);
|
5308
|
-
},
|
5308
|
+
}, qi = ({
|
5309
5309
|
animated: e
|
5310
5310
|
}) => y({
|
5311
5311
|
"transition-opacity duration-300 ease-in-out": e
|
@@ -5329,15 +5329,15 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5329
5329
|
animated: b
|
5330
5330
|
}) => (l || (l = "primary"), r ? y(Er, t) : y(
|
5331
5331
|
Er,
|
5332
|
-
|
5332
|
+
Li({
|
5333
5333
|
mode: s,
|
5334
5334
|
variant: l,
|
5335
5335
|
noBackground: u,
|
5336
5336
|
truncate: m
|
5337
5337
|
}),
|
5338
|
-
|
5339
|
-
|
5340
|
-
|
5338
|
+
Ui({ mode: s, noBackground: u, variant: l }),
|
5339
|
+
Fi({ radius: g }),
|
5340
|
+
Di({
|
5341
5341
|
type: e,
|
5342
5342
|
size: o,
|
5343
5343
|
labelRight: f,
|
@@ -5345,11 +5345,11 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5345
5345
|
align: p,
|
5346
5346
|
animated: b
|
5347
5347
|
}),
|
5348
|
-
|
5349
|
-
|
5350
|
-
|
5351
|
-
Fi({ mode: s, variant: l, disabled: n }),
|
5348
|
+
Mi({ type: e, size: o, labelRight: f, labelLeft: d }),
|
5349
|
+
Gi({ mode: s, variant: l, noBorder: c }),
|
5350
|
+
Bi({ focusMode: a }),
|
5352
5351
|
Hi({ mode: s, variant: l, disabled: n }),
|
5352
|
+
Ki({ mode: s, variant: l, disabled: n }),
|
5353
5353
|
{
|
5354
5354
|
"w-full": i,
|
5355
5355
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
@@ -5358,7 +5358,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5358
5358
|
"transition-[width] duration-300 ease-in": e === ct && b
|
5359
5359
|
}),
|
5360
5360
|
t
|
5361
|
-
)),
|
5361
|
+
)), ji = (e, t, r) => {
|
5362
5362
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
5363
5363
|
}, qt = ie.forwardRef((e, t) => {
|
5364
5364
|
const { onClick: r, noInternalClick: s = !1, ...a } = e;
|
@@ -5367,7 +5367,7 @@ const Ai = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5367
5367
|
{
|
5368
5368
|
ref: t,
|
5369
5369
|
onClick: (n) => {
|
5370
|
-
|
5370
|
+
ji(n, s, r);
|
5371
5371
|
},
|
5372
5372
|
...a
|
5373
5373
|
}
|
@@ -5417,7 +5417,7 @@ const bs = ie.forwardRef(
|
|
5417
5417
|
}
|
5418
5418
|
);
|
5419
5419
|
bs.displayName = "Button";
|
5420
|
-
function
|
5420
|
+
function Vi() {
|
5421
5421
|
const e = j(!1);
|
5422
5422
|
return W(() => (e.current = !0, () => {
|
5423
5423
|
e.current = !1;
|
@@ -5431,7 +5431,7 @@ function Es(e) {
|
|
5431
5431
|
});
|
5432
5432
|
}, [...e]);
|
5433
5433
|
}
|
5434
|
-
const
|
5434
|
+
const Ji = {
|
5435
5435
|
x: 0,
|
5436
5436
|
y: 0,
|
5437
5437
|
width: 0,
|
@@ -5442,7 +5442,7 @@ const Vi = {
|
|
5442
5442
|
right: 0
|
5443
5443
|
};
|
5444
5444
|
function je(e) {
|
5445
|
-
const t =
|
5445
|
+
const t = Vi(), r = j(0), s = j(null), [a, n] = ne(Ji), i = Je(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
5446
5446
|
const c = o[0];
|
5447
5447
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
5448
5448
|
s.current && t() && n(c.contentRect);
|
@@ -5470,14 +5470,14 @@ const Be = {
|
|
5470
5470
|
// w-8
|
5471
5471
|
large: 48
|
5472
5472
|
// w-12
|
5473
|
-
},
|
5473
|
+
}, Qi = {
|
5474
5474
|
small: 16,
|
5475
5475
|
// px-2 x 2
|
5476
5476
|
medium: 24,
|
5477
5477
|
// px-3 x 2
|
5478
5478
|
large: 32
|
5479
5479
|
// px-4 x 2
|
5480
|
-
},
|
5480
|
+
}, Yi = 2, zi = 300, rt = ie.forwardRef(
|
5481
5481
|
({
|
5482
5482
|
children: e,
|
5483
5483
|
disabled: t = !1,
|
@@ -5498,7 +5498,7 @@ const Be = {
|
|
5498
5498
|
radius: b = "large",
|
5499
5499
|
variant: E = "secondary",
|
5500
5500
|
iconClassName: k,
|
5501
|
-
animated:
|
5501
|
+
animated: A = !1,
|
5502
5502
|
...K
|
5503
5503
|
}, R) => {
|
5504
5504
|
const Q = gs({
|
@@ -5517,26 +5517,26 @@ const Be = {
|
|
5517
5517
|
align: g,
|
5518
5518
|
radius: b,
|
5519
5519
|
variant: E,
|
5520
|
-
animated:
|
5521
|
-
}), C =
|
5520
|
+
animated: A
|
5521
|
+
}), C = Wi({ mode: r, raw: o, iconClassName: k, variant: E }), v = qi({ animated: A }), x = "flex items-center justify-center relative w-full h-full overflow-hidden", [_, I] = je(), [N, V] = je(), [ce, Ee] = je(), w = j(0), T = j(null), S = j(null), le = Es([R, T]);
|
5522
5522
|
return Qe(() => {
|
5523
|
-
ce && ce.current &&
|
5524
|
-
}, [Ee, ce, u, c,
|
5525
|
-
if (T && T.current &&
|
5523
|
+
ce && ce.current && A && (w.current = Ee.width + Qi[u] + (c ? 0 : Yi), T.current && !T.current.style.width && (T.current.style.width = `${Be[u]}px`));
|
5524
|
+
}, [Ee, ce, u, c, A]), Qe(() => {
|
5525
|
+
if (T && T.current && A) {
|
5526
5526
|
let ue = Be[u];
|
5527
|
-
l && _ &&
|
5527
|
+
l && _ && I.width > 0 ? ue = I.width + w.current : m && N && V.width > 0 && (ue = V.width + w.current), S.current && clearTimeout(S.current), ue !== parseInt(T.current.style.width || "0", 10) && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"), T.current.style.width = `${ue}px`, ue > Be[u] && (S.current = setTimeout(() => {
|
5528
5528
|
_.current && l && (_.current.style.opacity = "1"), N.current && m && (N.current.style.opacity = "1"), S.current = null;
|
5529
|
-
},
|
5529
|
+
}, zi * 0.8))), ue === Be[u] && (_.current && (_.current.style.opacity = "0"), N.current && (N.current.style.opacity = "0"));
|
5530
5530
|
}
|
5531
5531
|
}, [
|
5532
|
-
|
5532
|
+
I,
|
5533
5533
|
l,
|
5534
5534
|
_,
|
5535
5535
|
V,
|
5536
5536
|
m,
|
5537
5537
|
N,
|
5538
5538
|
u,
|
5539
|
-
|
5539
|
+
A
|
5540
5540
|
]), W(() => () => {
|
5541
5541
|
S.current && clearTimeout(S.current);
|
5542
5542
|
}, []), /* @__PURE__ */ h(
|
@@ -5556,7 +5556,7 @@ const Be = {
|
|
5556
5556
|
labelRef: N,
|
5557
5557
|
labelClass: v,
|
5558
5558
|
labelInnerClass: "pr-2",
|
5559
|
-
initiallyHidden:
|
5559
|
+
initiallyHidden: A
|
5560
5560
|
}
|
5561
5561
|
),
|
5562
5562
|
/* @__PURE__ */ h("span", { ref: ce, className: C, children: e }),
|
@@ -5567,7 +5567,7 @@ const Be = {
|
|
5567
5567
|
labelRef: _,
|
5568
5568
|
labelClass: v,
|
5569
5569
|
labelInnerClass: "pl-2",
|
5570
|
-
initiallyHidden:
|
5570
|
+
initiallyHidden: A
|
5571
5571
|
}
|
5572
5572
|
)
|
5573
5573
|
] })
|
@@ -5603,7 +5603,7 @@ try {
|
|
5603
5603
|
});
|
5604
5604
|
} catch {
|
5605
5605
|
}
|
5606
|
-
const
|
5606
|
+
const Xi = ie.forwardRef(
|
5607
5607
|
({
|
5608
5608
|
children: e,
|
5609
5609
|
mode: t = "system",
|
@@ -5643,8 +5643,8 @@ const zi = ie.forwardRef(
|
|
5643
5643
|
) });
|
5644
5644
|
}
|
5645
5645
|
);
|
5646
|
-
|
5647
|
-
const Ve = "av-card",
|
5646
|
+
Xi.displayName = "ButtonSort";
|
5647
|
+
const Ve = "av-card", Zi = ({
|
5648
5648
|
className: e,
|
5649
5649
|
headerClassName: t,
|
5650
5650
|
bodyClassName: r,
|
@@ -5684,7 +5684,7 @@ const Ve = "av-card", Xi = ({
|
|
5684
5684
|
footer: d
|
5685
5685
|
};
|
5686
5686
|
};
|
5687
|
-
function
|
5687
|
+
function eo({
|
5688
5688
|
id: e,
|
5689
5689
|
content: t,
|
5690
5690
|
userAriaLabelledby: r,
|
@@ -5692,7 +5692,7 @@ function Zi({
|
|
5692
5692
|
}) {
|
5693
5693
|
return typeof t == "string" ? /* @__PURE__ */ h("h2", { id: e, className: s, children: t }) : r ? /* @__PURE__ */ h("div", { className: s, children: t }) : t ? /* @__PURE__ */ h("div", { className: s, id: e, children: t }) : null;
|
5694
5694
|
}
|
5695
|
-
const
|
5695
|
+
const to = ({
|
5696
5696
|
header: e,
|
5697
5697
|
headerClassName: t,
|
5698
5698
|
footer: r,
|
@@ -5707,7 +5707,7 @@ const eo = ({
|
|
5707
5707
|
...u
|
5708
5708
|
}) => {
|
5709
5709
|
let l = null, m = null;
|
5710
|
-
const p = typeof e == "string", g = ws(Ve), b =
|
5710
|
+
const p = typeof e == "string", g = ws(Ve), b = Zi({
|
5711
5711
|
className: n,
|
5712
5712
|
headerClassName: t,
|
5713
5713
|
bodyClassName: i,
|
@@ -5726,7 +5726,7 @@ const eo = ({
|
|
5726
5726
|
...u,
|
5727
5727
|
children: [
|
5728
5728
|
/* @__PURE__ */ h(
|
5729
|
-
|
5729
|
+
eo,
|
5730
5730
|
{
|
5731
5731
|
...l && { id: l },
|
5732
5732
|
content: e,
|
@@ -5796,7 +5796,7 @@ try {
|
|
5796
5796
|
});
|
5797
5797
|
} catch {
|
5798
5798
|
}
|
5799
|
-
const
|
5799
|
+
const ro = ({
|
5800
5800
|
className: e,
|
5801
5801
|
viewBox: t,
|
5802
5802
|
title: r,
|
@@ -5813,7 +5813,7 @@ const to = ({
|
|
5813
5813
|
...a,
|
5814
5814
|
children: /* @__PURE__ */ h("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
|
5815
5815
|
}
|
5816
|
-
),
|
5816
|
+
), so = ({
|
5817
5817
|
className: e,
|
5818
5818
|
viewBox: t,
|
5819
5819
|
title: r,
|
@@ -5839,7 +5839,7 @@ const to = ({
|
|
5839
5839
|
/* @__PURE__ */ h("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
|
5840
5840
|
]
|
5841
5841
|
}
|
5842
|
-
),
|
5842
|
+
), ao = ({
|
5843
5843
|
className: e,
|
5844
5844
|
viewBox: t,
|
5845
5845
|
title: r,
|
@@ -5875,7 +5875,7 @@ const to = ({
|
|
5875
5875
|
]
|
5876
5876
|
}
|
5877
5877
|
);
|
5878
|
-
},
|
5878
|
+
}, no = ({
|
5879
5879
|
className: e,
|
5880
5880
|
viewBox: t,
|
5881
5881
|
title: r,
|
@@ -5915,10 +5915,10 @@ try {
|
|
5915
5915
|
});
|
5916
5916
|
} catch {
|
5917
5917
|
}
|
5918
|
-
const
|
5918
|
+
const io = "av-flexgrid", We = "av-flexgrid-item", st = 0.25, $t = ie.createContext({
|
5919
5919
|
columnGap: 0,
|
5920
5920
|
rowGap: 0
|
5921
|
-
}),
|
5921
|
+
}), oo = ({
|
5922
5922
|
children: e,
|
5923
5923
|
className: t,
|
5924
5924
|
columnGap: r = 1,
|
@@ -5944,7 +5944,7 @@ const no = "av-flexgrid", We = "av-flexgrid-item", st = 0.25, $t = ie.createCont
|
|
5944
5944
|
marginLeft: r * -1 * st + "rem",
|
5945
5945
|
marginTop: s * -1 * st + "rem"
|
5946
5946
|
}, u = y(
|
5947
|
-
|
5947
|
+
io,
|
5948
5948
|
"box-border flex flex-wrap"
|
5949
5949
|
), l = { columnGap: r, rowGap: s };
|
5950
5950
|
return t ? /* @__PURE__ */ h("div", { className: t, children: /* @__PURE__ */ h("div", { className: u, style: d, ...f, children: /* @__PURE__ */ h($t.Provider, { value: l, children: e }) }) }) : /* @__PURE__ */ h("div", { className: u, style: d, ...f, children: /* @__PURE__ */ h($t.Provider, { value: l, children: e }) });
|
@@ -6021,7 +6021,7 @@ const no = "av-flexgrid", We = "av-flexgrid-item", st = 0.25, $t = ie.createCont
|
|
6021
6021
|
"lg:basis-full": e === 12 && t === "lg",
|
6022
6022
|
"xl:basis-full": e === 12 && t === "xl",
|
6023
6023
|
"2xl:basis-full": e === 12 && t === "2xl"
|
6024
|
-
}),
|
6024
|
+
}), co = ({
|
6025
6025
|
className: e,
|
6026
6026
|
span: t
|
6027
6027
|
}) => {
|
@@ -6053,7 +6053,7 @@ const no = "av-flexgrid", We = "av-flexgrid-item", st = 0.25, $t = ie.createCont
|
|
6053
6053
|
const { columnGap: a, rowGap: n } = at($t), i = {
|
6054
6054
|
paddingLeft: a * st + "rem",
|
6055
6055
|
paddingTop: n * st + "rem"
|
6056
|
-
}, o =
|
6056
|
+
}, o = co({
|
6057
6057
|
className: t,
|
6058
6058
|
span: r
|
6059
6059
|
});
|
@@ -6072,7 +6072,7 @@ try {
|
|
6072
6072
|
});
|
6073
6073
|
} catch {
|
6074
6074
|
}
|
6075
|
-
const Ss = "SET_ANNOUNCEMENT", vs = "CLEAR_ANNOUNCEMENT",
|
6075
|
+
const Ss = "SET_ANNOUNCEMENT", vs = "CLEAR_ANNOUNCEMENT", lo = {
|
6076
6076
|
alert: null,
|
6077
6077
|
alertdialog: null,
|
6078
6078
|
log: "polite",
|
@@ -6080,7 +6080,7 @@ const Ss = "SET_ANNOUNCEMENT", vs = "CLEAR_ANNOUNCEMENT", co = {
|
|
6080
6080
|
progressbar: null,
|
6081
6081
|
status: "polite",
|
6082
6082
|
timer: "assertive"
|
6083
|
-
},
|
6083
|
+
}, uo = (e, t) => {
|
6084
6084
|
switch (t?.type) {
|
6085
6085
|
case Ss:
|
6086
6086
|
return {
|
@@ -6095,7 +6095,7 @@ const Ss = "SET_ANNOUNCEMENT", vs = "CLEAR_ANNOUNCEMENT", co = {
|
|
6095
6095
|
default:
|
6096
6096
|
return e;
|
6097
6097
|
}
|
6098
|
-
},
|
6098
|
+
}, ho = ({
|
6099
6099
|
onAnnouncementClear: e,
|
6100
6100
|
dispatch: t
|
6101
6101
|
}) => {
|
@@ -6113,13 +6113,13 @@ const Ss = "SET_ANNOUNCEMENT", vs = "CLEAR_ANNOUNCEMENT", co = {
|
|
6113
6113
|
type: Ss,
|
6114
6114
|
payload: e
|
6115
6115
|
}), t && (r.current = setTimeout(
|
6116
|
-
() =>
|
6116
|
+
() => ho({
|
6117
6117
|
onAnnouncementClear: s,
|
6118
6118
|
dispatch: a
|
6119
6119
|
}),
|
6120
6120
|
t
|
6121
6121
|
));
|
6122
|
-
},
|
6122
|
+
}, fo = ({
|
6123
6123
|
children: e,
|
6124
6124
|
announcementTimeoutRef: t,
|
6125
6125
|
announcementDelay: r,
|
@@ -6153,12 +6153,12 @@ function Ts({
|
|
6153
6153
|
visible: o,
|
6154
6154
|
...c
|
6155
6155
|
}) {
|
6156
|
-
const f = j(null), d = j(null), [u, l] =
|
6156
|
+
const f = j(null), d = j(null), [u, l] = Ir(uo, {
|
6157
6157
|
announcement: null
|
6158
6158
|
});
|
6159
6159
|
let m = r;
|
6160
|
-
typeof m > "u" && (m = s ?
|
6161
|
-
|
6160
|
+
typeof m > "u" && (m = s ? lo[s] : "assertive"), W(() => {
|
6161
|
+
fo({
|
6162
6162
|
announcementTimeoutRef: f,
|
6163
6163
|
announcementDelay: a,
|
6164
6164
|
children: e,
|
@@ -6200,21 +6200,21 @@ try {
|
|
6200
6200
|
});
|
6201
6201
|
} catch {
|
6202
6202
|
}
|
6203
|
-
const
|
6203
|
+
const As = "av-text-input", mo = "av-text-input-wrapper", vt = "av-text-input-helper-text", po = ({
|
6204
6204
|
mode: e
|
6205
6205
|
}) => y({
|
6206
6206
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
6207
6207
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
6208
6208
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
6209
6209
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
6210
|
-
}),
|
6210
|
+
}), yo = ({
|
6211
6211
|
focusMode: e
|
6212
6212
|
}) => y("focus:outline focus:outline-2 focus:outline-offset-2", {
|
6213
6213
|
"focus:outline-focus-dark": e === "dark",
|
6214
6214
|
"focus:outline-focus-light": e === "light",
|
6215
6215
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
6216
6216
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
6217
|
-
}),
|
6217
|
+
}), go = ({
|
6218
6218
|
noBorder: e,
|
6219
6219
|
error: t
|
6220
6220
|
}) => y("border-2", {
|
@@ -6222,7 +6222,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6222
6222
|
"focus:border-border-dark": !e && t,
|
6223
6223
|
"border-border-error-dark": !e && t,
|
6224
6224
|
"border-transparent": e
|
6225
|
-
}),
|
6225
|
+
}), bo = ({
|
6226
6226
|
disabled: e,
|
6227
6227
|
raw: t,
|
6228
6228
|
error: r,
|
@@ -6246,7 +6246,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6246
6246
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": s === "system",
|
6247
6247
|
"text-copy-lighter dark:text-copy-error-dark": s === "alt-system"
|
6248
6248
|
});
|
6249
|
-
},
|
6249
|
+
}, Eo = ({
|
6250
6250
|
error: e,
|
6251
6251
|
raw: t,
|
6252
6252
|
mode: r,
|
@@ -6273,7 +6273,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6273
6273
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
6274
6274
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
|
6275
6275
|
});
|
6276
|
-
},
|
6276
|
+
}, wo = ({
|
6277
6277
|
className: e,
|
6278
6278
|
inputClassName: t,
|
6279
6279
|
raw: r,
|
@@ -6287,7 +6287,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6287
6287
|
}) => {
|
6288
6288
|
const d = r ? e : y(
|
6289
6289
|
"relative flex w-full flex-col justify-center",
|
6290
|
-
|
6290
|
+
mo,
|
6291
6291
|
e
|
6292
6292
|
);
|
6293
6293
|
let u = "";
|
@@ -6309,22 +6309,22 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6309
6309
|
break;
|
6310
6310
|
}
|
6311
6311
|
const l = r ? y(t) : y(
|
6312
|
-
|
6312
|
+
As,
|
6313
6313
|
u,
|
6314
6314
|
"rounded-md text-base px-4",
|
6315
|
-
|
6316
|
-
|
6317
|
-
|
6315
|
+
po({ mode: i }),
|
6316
|
+
yo({ focusMode: o }),
|
6317
|
+
go({ noBorder: a, error: n }),
|
6318
6318
|
{
|
6319
6319
|
"disabled:cursor-not-allowed disabled:opacity-50": s
|
6320
6320
|
},
|
6321
6321
|
t
|
6322
|
-
), m = r ? void 0 : "sr-only", p =
|
6322
|
+
), m = r ? void 0 : "sr-only", p = bo({
|
6323
6323
|
disabled: s,
|
6324
6324
|
raw: r,
|
6325
6325
|
error: n,
|
6326
6326
|
mode: i
|
6327
|
-
}), g =
|
6327
|
+
}), g = Eo({
|
6328
6328
|
error: n,
|
6329
6329
|
raw: r,
|
6330
6330
|
mode: i,
|
@@ -6359,14 +6359,14 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6359
6359
|
rightElementClassName: b,
|
6360
6360
|
size: E = "md",
|
6361
6361
|
...k
|
6362
|
-
},
|
6363
|
-
const [K, R] = je(), [Q, C] = ne(0), v = ws({ id: e, prefix: `${
|
6362
|
+
}, A) => {
|
6363
|
+
const [K, R] = je(), [Q, C] = ne(0), v = ws({ id: e, prefix: `${As}-` }), x = `${t} error, ${p}`, _ = j(null), I = j(null), N = {
|
6364
6364
|
xs: { label: "-25px", helperText: "30px" },
|
6365
6365
|
sm: { label: "-29px", helperText: "34px" },
|
6366
6366
|
md: { label: "-33px", helperText: "38px" },
|
6367
6367
|
lg: { label: "-15px", helperText: "22px" },
|
6368
6368
|
xl: { label: "-19px", helperText: "25px" }
|
6369
|
-
}, V =
|
6369
|
+
}, V = wo({
|
6370
6370
|
className: n,
|
6371
6371
|
inputClassName: i,
|
6372
6372
|
error: s,
|
@@ -6382,7 +6382,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6382
6382
|
R && R.width && C(R.width + 18 + 10);
|
6383
6383
|
}, [R]), Qe(() => {
|
6384
6384
|
const { label: ce, helperText: Ee } = N[E];
|
6385
|
-
_?.current?.style.setProperty("--av-text-input-label", ce),
|
6385
|
+
_?.current?.style.setProperty("--av-text-input-label", ce), I?.current?.style.setProperty(
|
6386
6386
|
"--av-text-input-helper-text",
|
6387
6387
|
Ee
|
6388
6388
|
);
|
@@ -6399,7 +6399,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6399
6399
|
/* @__PURE__ */ h(
|
6400
6400
|
"input",
|
6401
6401
|
{
|
6402
|
-
ref:
|
6402
|
+
ref: A,
|
6403
6403
|
id: v,
|
6404
6404
|
name: t,
|
6405
6405
|
type: m,
|
@@ -6425,7 +6425,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6425
6425
|
p && /* @__PURE__ */ h(
|
6426
6426
|
"div",
|
6427
6427
|
{
|
6428
|
-
ref:
|
6428
|
+
ref: I,
|
6429
6429
|
id: `${v}-helper`,
|
6430
6430
|
className: V.helperText,
|
6431
6431
|
children: p
|
@@ -6444,7 +6444,7 @@ const Is = "av-text-input", fo = "av-text-input-wrapper", vt = "av-text-input-he
|
|
6444
6444
|
}
|
6445
6445
|
);
|
6446
6446
|
jt.displayName = "TextInput";
|
6447
|
-
const
|
6447
|
+
const So = 500, vo = 5e3, To = 2e4, Is = ie.forwardRef(
|
6448
6448
|
({
|
6449
6449
|
name: e,
|
6450
6450
|
disabled: t,
|
@@ -6461,39 +6461,39 @@ const wo = 500, So = 5e3, vo = 2e4, As = ie.forwardRef(
|
|
6461
6461
|
const [l, m] = ne(!0), [p, g] = ne({
|
6462
6462
|
message: null,
|
6463
6463
|
politeness: null
|
6464
|
-
}), b = j(!0), E = j(null), k = j(null),
|
6464
|
+
}), b = j(!0), E = j(null), k = j(null), A = Es([u, k]), K = l ? "Show" : "Hide", R = () => {
|
6465
6465
|
E.current && clearTimeout(E.current), b.current || (E.current = setTimeout(() => {
|
6466
6466
|
b.current = !0, m(!0), g({
|
6467
|
-
announcementTimeout:
|
6467
|
+
announcementTimeout: vo,
|
6468
6468
|
politeness: "polite",
|
6469
6469
|
message: `${r} hiding characters`
|
6470
6470
|
}), a && a(!0);
|
6471
|
-
},
|
6472
|
-
}, Q = (
|
6473
|
-
|
6471
|
+
}, To));
|
6472
|
+
}, Q = (I) => {
|
6473
|
+
I.preventDefault();
|
6474
6474
|
const N = !b.current;
|
6475
6475
|
b.current = N, R(), m(N), g({
|
6476
|
-
announcementTimeout:
|
6476
|
+
announcementTimeout: So,
|
6477
6477
|
politeness: "assertive",
|
6478
6478
|
message: N ? "Characters hidden" : "Characters showing"
|
6479
6479
|
}), a && a(N);
|
6480
|
-
}, C = (
|
6481
|
-
const { relatedTarget: N } =
|
6480
|
+
}, C = (I) => {
|
6481
|
+
const { relatedTarget: N } = I;
|
6482
6482
|
k.current?.parentElement?.contains(N) || c && c();
|
6483
|
-
}, v = (
|
6484
|
-
R(), i && i(
|
6485
|
-
}, x = (
|
6486
|
-
R(), o && o(
|
6487
|
-
}, _ = (
|
6488
|
-
R(), n && n(
|
6483
|
+
}, v = (I) => {
|
6484
|
+
R(), i && i(I), C(I);
|
6485
|
+
}, x = (I) => {
|
6486
|
+
R(), o && o(I);
|
6487
|
+
}, _ = (I) => {
|
6488
|
+
R(), n && n(I);
|
6489
6489
|
};
|
6490
6490
|
return W(() => () => {
|
6491
6491
|
E.current && clearTimeout(E.current);
|
6492
|
-
}, []), /* @__PURE__ */ q(
|
6492
|
+
}, []), /* @__PURE__ */ q(Ar, { children: [
|
6493
6493
|
/* @__PURE__ */ h(
|
6494
6494
|
jt,
|
6495
6495
|
{
|
6496
|
-
ref:
|
6496
|
+
ref: A,
|
6497
6497
|
name: e,
|
6498
6498
|
label: r,
|
6499
6499
|
labelHidden: s,
|
@@ -6524,7 +6524,7 @@ const wo = 500, So = 5e3, vo = 2e4, As = ie.forwardRef(
|
|
6524
6524
|
] });
|
6525
6525
|
}
|
6526
6526
|
);
|
6527
|
-
|
6527
|
+
Is.displayName = "TextInputMask";
|
6528
6528
|
/*!
|
6529
6529
|
@versini/ui-textinput v5.0.1
|
6530
6530
|
© 2025 gizmette.com
|
@@ -6538,9 +6538,9 @@ try {
|
|
6538
6538
|
});
|
6539
6539
|
} catch {
|
6540
6540
|
}
|
6541
|
-
const
|
6542
|
-
Press Enter to send it or Shift+Enter for new line.`,
|
6543
|
-
Press Ctrl+Enter to send it or Enter for new line.`,
|
6541
|
+
const Ao = "ASK! ME! ANYTHING!", Io = "Log in", _o = "Sign in with a Passkey", Uc = "Log out", Ro = "Password", Fc = "Usage", Hc = "Profile", Kc = "Settings", Gc = "Chat history", Bc = "About", Vt = "Type your message here.", Wc = Vt, qc = `${Vt}
|
6542
|
+
Press Enter to send it or Shift+Enter for new line.`, jc = `${Vt}
|
6543
|
+
Press Ctrl+Enter to send it or Enter for new line.`, Vc = "{{clipboard}}", P = "Review important details.", Jc = [
|
6544
6544
|
`Sometimes, ${O} just makes stuff up. ${P}`,
|
6545
6545
|
`${O} may invent facts on the fly. ${P}`,
|
6546
6546
|
`${O} may be confidently wrong. ${P}`,
|
@@ -6561,17 +6561,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6561
6561
|
`Sometimes, ${O} howls at the moon. ${P}`,
|
6562
6562
|
`${O} may dig up imaginary bones. ${P}`,
|
6563
6563
|
`${O} may sniff out nonsense. ${P}`
|
6564
|
-
],
|
6564
|
+
], Qc = "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.", Yc = "Default provider set to", zc = "Chat successfully deleted!", Xc = "Chat successfully saved!", Zc = "Caching enabled. Assets are now stored locally.", el = "Caching disabled. Local asset cache cleared.", tl = "av-sassy", rl = {
|
6565
6565
|
0: ["January", "February", "March"],
|
6566
6566
|
3: ["April", "May", "June"],
|
6567
6567
|
6: ["July", "August", "September"],
|
6568
6568
|
9: ["October", "November", "December"]
|
6569
|
-
},
|
6569
|
+
}, sl = {
|
6570
6570
|
0: ["Jan", "Feb", "Mar"],
|
6571
6571
|
3: ["Apr", "May", "Jun"],
|
6572
6572
|
6: ["Jul", "Aug", "Sep"],
|
6573
6573
|
9: ["Oct", "Nov", "Dec"]
|
6574
|
-
},
|
6574
|
+
}, al = {
|
6575
6575
|
PREFERENCES: {
|
6576
6576
|
TITLE: "User profile",
|
6577
6577
|
NAME: "Name",
|
@@ -6611,7 +6611,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6611
6611
|
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.",
|
6612
6612
|
USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Diggity will remember your previous interactions and use them to provide more relevant responses."
|
6613
6613
|
}
|
6614
|
-
},
|
6614
|
+
}, Co = ({ className: e }) => /* @__PURE__ */ q(
|
6615
6615
|
"div",
|
6616
6616
|
{
|
6617
6617
|
className: y(
|
@@ -6619,14 +6619,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6619
6619
|
"flex items-center justify-center text-slate-300"
|
6620
6620
|
),
|
6621
6621
|
children: [
|
6622
|
-
/* @__PURE__ */ h("div", { className: "basis-1/4", children: /* @__PURE__ */ h(
|
6622
|
+
/* @__PURE__ */ h("div", { className: "basis-1/4", children: /* @__PURE__ */ h(ro, {}) }),
|
6623
6623
|
/* @__PURE__ */ q("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
6624
6624
|
/* @__PURE__ */ h("h1", { children: O }),
|
6625
|
-
/* @__PURE__ */ h("h2", { children:
|
6625
|
+
/* @__PURE__ */ h("h2", { children: Ao })
|
6626
6626
|
] })
|
6627
6627
|
]
|
6628
6628
|
}
|
6629
|
-
),
|
6629
|
+
), ko = () => {
|
6630
6630
|
const { login: e, logoutReason: t, loginWithPasskey: r } = as(), [s, a] = ne(""), [n, i] = ne(""), [o, c] = ne(!0), [f, d] = ne({
|
6631
6631
|
username: "",
|
6632
6632
|
password: ""
|
@@ -6646,10 +6646,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6646
6646
|
className: hs({
|
6647
6647
|
extraClass: "rounded-md pb-10"
|
6648
6648
|
}),
|
6649
|
-
children: /* @__PURE__ */ h(
|
6649
|
+
children: /* @__PURE__ */ h(Co, {})
|
6650
6650
|
}
|
6651
6651
|
),
|
6652
|
-
/* @__PURE__ */ h("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ h(
|
6652
|
+
/* @__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: [
|
6653
6653
|
/* @__PURE__ */ h(he, { span: 12, className: "mt-7", children: n && /* @__PURE__ */ h("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: n }) }),
|
6654
6654
|
/* @__PURE__ */ h(he, { span: 12, children: /* @__PURE__ */ h(
|
6655
6655
|
jt,
|
@@ -6673,7 +6673,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6673
6673
|
}
|
6674
6674
|
) }),
|
6675
6675
|
/* @__PURE__ */ h(he, { span: 12, children: /* @__PURE__ */ h(
|
6676
|
-
|
6676
|
+
Is,
|
6677
6677
|
{
|
6678
6678
|
className: "mt-7",
|
6679
6679
|
required: !0,
|
@@ -6683,14 +6683,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6683
6683
|
mode: "dark",
|
6684
6684
|
focusMode: "light",
|
6685
6685
|
name: "password",
|
6686
|
-
label:
|
6686
|
+
label: Ro,
|
6687
6687
|
rightElement: /* @__PURE__ */ h(
|
6688
6688
|
rt,
|
6689
6689
|
{
|
6690
6690
|
focusMode: "light",
|
6691
6691
|
mode: "dark",
|
6692
6692
|
label: o ? "Show" : "Hide",
|
6693
|
-
children: o ? /* @__PURE__ */ h(
|
6693
|
+
children: o ? /* @__PURE__ */ h(no, {}) : /* @__PURE__ */ h(so, {})
|
6694
6694
|
}
|
6695
6695
|
),
|
6696
6696
|
onMaskChange: c,
|
@@ -6716,7 +6716,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6716
6716
|
children: Io
|
6717
6717
|
}
|
6718
6718
|
) }),
|
6719
|
-
!ms() && /* @__PURE__ */ q(
|
6719
|
+
!ms() && /* @__PURE__ */ q(Ar, { children: [
|
6720
6720
|
/* @__PURE__ */ h(he, { span: 12, children: /* @__PURE__ */ h("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
|
6721
6721
|
/* @__PURE__ */ h(he, { span: 12, children: /* @__PURE__ */ h(
|
6722
6722
|
rt,
|
@@ -6726,31 +6726,31 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6726
6726
|
focusMode: "light",
|
6727
6727
|
fullWidth: !0,
|
6728
6728
|
className: "mb-4",
|
6729
|
-
labelRight:
|
6729
|
+
labelRight: _o,
|
6730
6730
|
onClick: r,
|
6731
|
-
children: /* @__PURE__ */ h(
|
6731
|
+
children: /* @__PURE__ */ h(ao, { size: "size-7" })
|
6732
6732
|
}
|
6733
6733
|
) })
|
6734
6734
|
] })
|
6735
6735
|
] }) }) }) })
|
6736
6736
|
] });
|
6737
|
-
},
|
6737
|
+
}, Oo = new URL(document.location.href).searchParams, vr = !!Oo.get("debug") || !1, No = ks(() => import(
|
6738
6738
|
/* webpackChunkName: "LazyApp" */
|
6739
|
-
"./App.
|
6740
|
-
).then((e) => e.App)),
|
6739
|
+
"./App.D4JpcHTh.js"
|
6740
|
+
).then((e) => e.App)), Po = new Xs(), Tr = ({
|
6741
6741
|
isComponent: e,
|
6742
6742
|
headerHeight: t
|
6743
6743
|
}) => {
|
6744
6744
|
const { isAuthenticated: r, isLoading: s, user: a, getAccessToken: n } = as();
|
6745
|
-
return s ? /* @__PURE__ */ h("div", {}) : r ? /* @__PURE__ */ h(Cs, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(Zs, { client:
|
6745
|
+
return s ? /* @__PURE__ */ h("div", {}) : r ? /* @__PURE__ */ h(Cs, { fallback: /* @__PURE__ */ h("div", {}), children: /* @__PURE__ */ h(Zs, { client: Po, children: /* @__PURE__ */ h(
|
6746
6746
|
li,
|
6747
6747
|
{
|
6748
6748
|
user: a?.username,
|
6749
6749
|
getAccessToken: n,
|
6750
|
-
children: /* @__PURE__ */ h(
|
6750
|
+
children: /* @__PURE__ */ h(No, { isComponent: e, headerHeight: t })
|
6751
6751
|
}
|
6752
|
-
) }) }) : /* @__PURE__ */ h(
|
6753
|
-
},
|
6752
|
+
) }) }) : /* @__PURE__ */ h(ko, {});
|
6753
|
+
}, $o = ({
|
6754
6754
|
isComponent: e = !1,
|
6755
6755
|
headerHeight: t = 0,
|
6756
6756
|
domain: r = ds
|
@@ -6767,8 +6767,8 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6767
6767
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
6768
6768
|
children: /* @__PURE__ */ h(Tr, { isComponent: e, headerHeight: t })
|
6769
6769
|
}
|
6770
|
-
) : /* @__PURE__ */ h(pr, { clientId: yr, domain: r, debug: vr, children: /* @__PURE__ */ h(Tr, { isComponent: e, headerHeight: t }) })),
|
6771
|
-
|
6770
|
+
) : /* @__PURE__ */ h(pr, { clientId: yr, domain: r, debug: vr, children: /* @__PURE__ */ h(Tr, { isComponent: e, headerHeight: t }) })), nl = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ h(
|
6771
|
+
$o,
|
6772
6772
|
{
|
6773
6773
|
isComponent: !0,
|
6774
6774
|
domain: e,
|
@@ -6776,79 +6776,80 @@ Press Ctrl+Enter to send it or Enter for new line.`, jc = "{{clipboard}}", P = "
|
|
6776
6776
|
}
|
6777
6777
|
);
|
6778
6778
|
export {
|
6779
|
-
|
6780
|
-
|
6781
|
-
|
6782
|
-
|
6783
|
-
|
6784
|
-
|
6785
|
-
|
6779
|
+
Bc as ABOUT_TITLE,
|
6780
|
+
Jo as ACTION_RESET_PROMPT,
|
6781
|
+
qo as ACTION_SEARCH,
|
6782
|
+
jo as ACTION_SORT,
|
6783
|
+
Vo as ACTION_TOGGLE_PROMPT,
|
6784
|
+
tl as APP_CLASSNAME,
|
6785
|
+
Ac as Ae,
|
6786
6786
|
bs as C,
|
6787
|
-
|
6788
|
-
|
6789
|
-
|
6787
|
+
al as CARDS,
|
6788
|
+
Vc as CLIPBOARD_PROMPT,
|
6789
|
+
oc as DEFAULT_ICON_ACTION_SIZE,
|
6790
6790
|
Vn as E,
|
6791
|
-
|
6792
|
-
|
6793
|
-
|
6794
|
-
|
6791
|
+
Wo as ERROR_MESSAGE,
|
6792
|
+
vc as Ee,
|
6793
|
+
Jc as FOOTER_DISCLAIMERS,
|
6794
|
+
Gc as HISTORY_TITLE,
|
6795
6795
|
lt as I,
|
6796
|
-
|
6797
|
-
|
6798
|
-
|
6799
|
-
|
6800
|
-
|
6801
|
-
|
6802
|
-
|
6803
|
-
|
6804
|
-
|
6805
|
-
|
6796
|
+
ac as INFINITE_SCROLL_LIMIT,
|
6797
|
+
sc as INFINITE_SCROLL_THRESHOLD,
|
6798
|
+
hc as INPUT_BOTTOM_OFFSET,
|
6799
|
+
pc as INPUT_BOTTOM_OFFSET_EXTRA,
|
6800
|
+
mc as INPUT_BOTTOM_OFFSET_IPAD,
|
6801
|
+
fc as INPUT_BOTTOM_OFFSET_IPHONE,
|
6802
|
+
jc as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
|
6803
|
+
qc as INPUT_PLACEHOLDER_TEXT_ENTER,
|
6804
|
+
Wc as INPUT_PLACEHOLDER_TEXT_MOBILE,
|
6805
|
+
oo as L,
|
6806
6806
|
ns as LOCAL_STORAGE_PREFIX,
|
6807
|
-
|
6808
|
-
|
6809
|
-
|
6810
|
-
|
6811
|
-
|
6812
|
-
|
6813
|
-
|
6814
|
-
|
6815
|
-
|
6816
|
-
|
6817
|
-
|
6818
|
-
|
6819
|
-
|
6820
|
-
|
6821
|
-
|
6807
|
+
tc as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
6808
|
+
rc as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
6809
|
+
Qo as LOCAL_STORAGE_SEARCH,
|
6810
|
+
Yo as LOCAL_STORAGE_SORT,
|
6811
|
+
ec as LOCAL_STORAGE_SORT_MEMORY_COLUMN,
|
6812
|
+
Zo as LOCAL_STORAGE_SORT_MEMORY_DIRECTION,
|
6813
|
+
zo as LOCAL_STORAGE_SORT_TIMESTAMP,
|
6814
|
+
Xo as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
6815
|
+
Uc as LOG_OUT,
|
6816
|
+
Co as Logo,
|
6817
|
+
Hc as PROFILE_TITLE,
|
6818
|
+
Qc as PROMPTS_DESCRIPTION,
|
6819
|
+
nc as PROMPT_CLASSNAME,
|
6820
|
+
ic as PROMPT_EDITABLE_AREA_CLASSNAME,
|
6821
|
+
to as S,
|
6822
6822
|
te as SERVICE_TYPES,
|
6823
|
-
|
6824
|
-
|
6825
|
-
|
6826
|
-
|
6827
|
-
|
6828
|
-
|
6829
|
-
|
6830
|
-
|
6831
|
-
|
6832
|
-
|
6833
|
-
|
6834
|
-
|
6835
|
-
|
6836
|
-
|
6823
|
+
Kc as SETTINGS_TITLE,
|
6824
|
+
nl as SassySaint,
|
6825
|
+
el as TOAST_CACHE_DISABLED,
|
6826
|
+
Zc as TOAST_CACHE_ENABLED,
|
6827
|
+
zc as TOAST_CHAT_DELETED,
|
6828
|
+
Xc as TOAST_CHAT_SAVED,
|
6829
|
+
Yc as TOAST_PROVIDER_CHANGED,
|
6830
|
+
rl as TRIMESTERS,
|
6831
|
+
sl as TRIMESTERS_SHORT,
|
6832
|
+
lc as UI_BUTTON_SCROLL_BUFFER,
|
6833
|
+
uc as UI_DEFAULT_MAIN_HEIGHT,
|
6834
|
+
dc as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
|
6835
|
+
cc as UI_FOOTER_BUFFER,
|
6836
|
+
Fc as USAGE_TITLE,
|
6837
6837
|
jt as Y,
|
6838
|
-
|
6839
|
-
|
6840
|
-
|
6841
|
-
|
6838
|
+
bc as a,
|
6839
|
+
Xi as b,
|
6840
|
+
Ec as c,
|
6841
|
+
$i as convertCamelCaseToReadable,
|
6842
6842
|
O as de,
|
6843
6843
|
ki as debounce,
|
6844
|
-
|
6844
|
+
gc as getCacheInfo,
|
6845
6845
|
wi as getCurrentGeoLocation,
|
6846
6846
|
fs as getLayoutPaddingClass,
|
6847
6847
|
hs as getMessageContaintWrapperClass,
|
6848
6848
|
je as h,
|
6849
|
-
|
6849
|
+
yc as handleServiceWorkerToggle,
|
6850
6850
|
ws as i,
|
6851
6851
|
cs as i$1,
|
6852
|
+
Pi as isPWAMode,
|
6852
6853
|
ps as isProbablyMobile,
|
6853
6854
|
Ni as isProbablyiPad,
|
6854
6855
|
Oi as isProbablyiPhone,
|
@@ -6856,34 +6857,34 @@ export {
|
|
6856
6857
|
ms as isTauri,
|
6857
6858
|
Pe as it,
|
6858
6859
|
he as j,
|
6859
|
-
|
6860
|
-
|
6860
|
+
ao as l,
|
6861
|
+
_c as le,
|
6861
6862
|
oi as mutateCall,
|
6862
6863
|
as as n,
|
6863
|
-
|
6864
|
+
wc as ne,
|
6864
6865
|
_i as numberFormatter,
|
6865
6866
|
Es as o,
|
6866
6867
|
Si as obfuscate,
|
6867
6868
|
Ci as pluralize,
|
6868
|
-
|
6869
|
+
Sc as re,
|
6869
6870
|
Ti as renderDataAsList,
|
6870
6871
|
ii as serverUrl,
|
6871
|
-
|
6872
|
+
Rc as setNewProvider,
|
6872
6873
|
rt as te,
|
6873
6874
|
Ic as ue,
|
6874
6875
|
vi as unObfuscate,
|
6875
|
-
|
6876
|
-
|
6877
|
-
|
6878
|
-
|
6879
|
-
|
6880
|
-
|
6881
|
-
|
6882
|
-
|
6883
|
-
|
6876
|
+
kc as useChangelogs,
|
6877
|
+
Nc as useChatsHistory,
|
6878
|
+
Pc as useChatsUsage,
|
6879
|
+
Dc as useDeleteAllMemories,
|
6880
|
+
xc as useDeleteMemory,
|
6881
|
+
Mc as useEntitlements,
|
6882
|
+
Cc as useServerCapabilities,
|
6883
|
+
Oc as useUserChatStats,
|
6884
|
+
$c as useUserMemories,
|
6884
6885
|
ci as useUserPreferences,
|
6885
|
-
|
6886
|
+
Lc as utilities,
|
6886
6887
|
Ts as x,
|
6887
6888
|
Jn as y,
|
6888
|
-
|
6889
|
+
Tc as ye
|
6889
6890
|
};
|