@versini/sassysaint 8.88.3 → 8.89.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{AboutChangelog.C8K_bHsA.js → AboutChangelog.CzFf58rt.js} +3 -3
- package/dist/chunks/{AboutEntry.BWcnQ5VD.js → AboutEntry.B-xWv4Og.js} +7 -7
- package/dist/chunks/{App.C-FFqawg.js → App.D3GwB26T.js} +2100 -2168
- package/dist/chunks/{Chart.BLw2z4y6.js → Chart.DhxncMBZ.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.BTqSD26w.js → ChatBubbleAssistant.BdDyRHLA.js} +10 -10
- package/dist/chunks/{ChatBubbleUser.Dh3_Mt0e.js → ChatBubbleUser._ZPAVw9p.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.Yhv6ijrZ.js → ChatHistoryTable.C9BE8RT7.js} +10 -10
- package/dist/chunks/{HistoryEntry.DHffDGPT.js → HistoryEntry.CK765o0v.js} +3 -3
- package/dist/chunks/{ProfileEntry.Bxk4Jw5J.js → ProfileEntry.CIyBC29B.js} +2 -2
- package/dist/chunks/{SettingsEntry.s2mGjfF9.js → SettingsEntry.tDc0ZMh-.js} +9 -9
- package/dist/chunks/{UsageEntry.DYRbKjav.js → UsageEntry.UbjtMqd2.js} +3 -3
- package/dist/chunks/{UserMemoriesPanel.WITflZ_0.js → UserMemoriesPanel.CSCuwfUH.js} +4 -4
- package/dist/chunks/{index.teIw92Ev.js → index.BPP9x0fK.js} +1 -1
- package/dist/chunks/{index.hQue6TMs.js → index.CQkqWvRK.js} +276 -285
- package/dist/chunks/{index.wa3EVOX2.js → index.D0x0aBAa.js} +2 -2
- package/dist/chunks/{index.C_g9sBak.js → index.DlkTZVyy.js} +3 -3
- package/dist/chunks/{index.CRTRfMeQ.js → index.DyfOb6rB.js} +1 -1
- package/dist/chunks/{index.CzrV29Ys.js → index.G23DKE5p.js} +1 -1
- package/dist/chunks/{index.DbLUR666.js → index.M1Ryt3Dn.js} +1 -1
- package/dist/chunks/{index.Cpgy3_qK.js → index.V1uzse5O.js} +1 -1
- package/dist/chunks/{index.DDr47yJM.js → index.XkjLApaY.js} +1 -1
- package/dist/chunks/{useMarkdown._7muq_2r.js → useMarkdown.DiD61p5S.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as c, jsxs as E, Fragment as Fr } from "react/jsx-runtime";
|
|
2
2
|
import * as Q from "react";
|
|
3
|
-
import Z, { createContext as Bt, useReducer as Br, useCallback as
|
|
3
|
+
import Z, { createContext as Bt, useReducer as Br, useCallback as N, useRef as F, useEffect as A, useSyncExternalStore as Kr, useContext as Ge, useState as Y, useMemo as He, useId as Zs, useLayoutEffect as st, Suspense as en, lazy as tn } from "react";
|
|
4
4
|
import m from "clsx";
|
|
5
5
|
var Le = class {
|
|
6
6
|
constructor() {
|
|
@@ -124,18 +124,18 @@ function Kt(e, t) {
|
|
|
124
124
|
function Te(e) {
|
|
125
125
|
return JSON.stringify(
|
|
126
126
|
e,
|
|
127
|
-
(t, r) =>
|
|
127
|
+
(t, r) => Nt(r) ? Object.keys(r).sort().reduce((s, n) => (s[n] = r[n], s), {}) : r
|
|
128
128
|
);
|
|
129
129
|
}
|
|
130
130
|
function Fe(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) => Fe(e[r], t[r])) : !1;
|
|
132
132
|
}
|
|
133
133
|
var on = Object.prototype.hasOwnProperty;
|
|
134
|
-
function
|
|
134
|
+
function Mt(e, t) {
|
|
135
135
|
if (e === t)
|
|
136
136
|
return e;
|
|
137
137
|
const r = ir(e) && ir(t);
|
|
138
|
-
if (!r && !(
|
|
138
|
+
if (!r && !(Nt(e) && Nt(t))) return t;
|
|
139
139
|
const n = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), i = a.length, o = r ? new Array(i) : {};
|
|
140
140
|
let l = 0;
|
|
141
141
|
for (let f = 0; f < i; f++) {
|
|
@@ -148,7 +148,7 @@ function Nt(e, t) {
|
|
|
148
148
|
o[d] = u;
|
|
149
149
|
continue;
|
|
150
150
|
}
|
|
151
|
-
const p =
|
|
151
|
+
const p = Mt(h, u);
|
|
152
152
|
o[d] = p, p === h && l++;
|
|
153
153
|
}
|
|
154
154
|
return n === i && l === n ? e : o;
|
|
@@ -164,7 +164,7 @@ function nt(e, t) {
|
|
|
164
164
|
function ir(e) {
|
|
165
165
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Nt(e) {
|
|
168
168
|
if (!or(e))
|
|
169
169
|
return !1;
|
|
170
170
|
const t = e.constructor;
|
|
@@ -187,13 +187,13 @@ function xt(e, t, r) {
|
|
|
187
187
|
if (r.structuralSharing !== !1) {
|
|
188
188
|
if (process.env.NODE_ENV !== "production")
|
|
189
189
|
try {
|
|
190
|
-
return
|
|
190
|
+
return Mt(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 Mt(e, t);
|
|
197
197
|
}
|
|
198
198
|
return t;
|
|
199
199
|
}
|
|
@@ -411,7 +411,7 @@ function Wr(e) {
|
|
|
411
411
|
Promise.resolve(g).then(h).catch((b) => {
|
|
412
412
|
if (a())
|
|
413
413
|
return;
|
|
414
|
-
const x = e.retry ?? (ve ? 0 : 3),
|
|
414
|
+
const x = e.retry ?? (ve ? 0 : 3), R = e.retryDelay ?? yn, J = typeof R == "function" ? R(r, b) : R, P = x === !0 || typeof x == "number" && r < x || typeof x == "function" && x(r, b);
|
|
415
415
|
if (t || !P) {
|
|
416
416
|
u(b);
|
|
417
417
|
return;
|
|
@@ -898,8 +898,8 @@ var gn = class extends Le {
|
|
|
898
898
|
const r = this.#t, s = this.options, n = this.#n, a = this.#s, i = this.#i, l = e !== r ? e.state : this.#r, { state: f } = e;
|
|
899
899
|
let d = { ...f }, h = !1, u;
|
|
900
900
|
if (t._optimisticResults) {
|
|
901
|
-
const I = this.hasListeners(), V = !I && ur(e, t),
|
|
902
|
-
(V ||
|
|
901
|
+
const I = this.hasListeners(), V = !I && ur(e, t), O = I && dr(e, r, t, s);
|
|
902
|
+
(V || O) && (d = {
|
|
903
903
|
...d,
|
|
904
904
|
...Qr(f.data, e.options)
|
|
905
905
|
}), t._optimisticResults === "isRestoring" && (d.fetchStatus = "idle");
|
|
@@ -928,12 +928,12 @@ var gn = class extends Le {
|
|
|
928
928
|
this.#a = I;
|
|
929
929
|
}
|
|
930
930
|
this.#a && (p = this.#a, u = this.#h, y = Date.now(), g = "error");
|
|
931
|
-
const b = d.fetchStatus === "fetching", x = g === "pending",
|
|
931
|
+
const b = d.fetchStatus === "fetching", x = g === "pending", R = g === "error", J = x && b, P = u !== void 0, M = {
|
|
932
932
|
status: g,
|
|
933
933
|
fetchStatus: d.fetchStatus,
|
|
934
934
|
isPending: x,
|
|
935
935
|
isSuccess: g === "success",
|
|
936
|
-
isError:
|
|
936
|
+
isError: R,
|
|
937
937
|
isInitialLoading: J,
|
|
938
938
|
isLoading: J,
|
|
939
939
|
data: u,
|
|
@@ -947,35 +947,35 @@ var gn = class extends Le {
|
|
|
947
947
|
isFetchedAfterMount: d.dataUpdateCount > l.dataUpdateCount || d.errorUpdateCount > l.errorUpdateCount,
|
|
948
948
|
isFetching: b,
|
|
949
949
|
isRefetching: b && !x,
|
|
950
|
-
isLoadingError:
|
|
950
|
+
isLoadingError: R && !P,
|
|
951
951
|
isPaused: d.fetchStatus === "paused",
|
|
952
952
|
isPlaceholderData: h,
|
|
953
|
-
isRefetchError:
|
|
953
|
+
isRefetchError: R && P,
|
|
954
954
|
isStale: Gt(e, t),
|
|
955
955
|
refetch: this.refetch,
|
|
956
956
|
promise: this.#o,
|
|
957
957
|
isEnabled: te(t.enabled, e) !== !1
|
|
958
958
|
};
|
|
959
959
|
if (this.options.experimental_prefetchInRender) {
|
|
960
|
-
const I = (
|
|
961
|
-
|
|
960
|
+
const I = (C) => {
|
|
961
|
+
M.status === "error" ? C.reject(M.error) : M.data !== void 0 && C.resolve(M.data);
|
|
962
962
|
}, V = () => {
|
|
963
|
-
const
|
|
964
|
-
I(
|
|
965
|
-
},
|
|
966
|
-
switch (
|
|
963
|
+
const C = this.#o = M.promise = Lt();
|
|
964
|
+
I(C);
|
|
965
|
+
}, O = this.#o;
|
|
966
|
+
switch (O.status) {
|
|
967
967
|
case "pending":
|
|
968
|
-
e.queryHash === r.queryHash && I(
|
|
968
|
+
e.queryHash === r.queryHash && I(O);
|
|
969
969
|
break;
|
|
970
970
|
case "fulfilled":
|
|
971
|
-
(
|
|
971
|
+
(M.status === "error" || M.data !== O.value) && V();
|
|
972
972
|
break;
|
|
973
973
|
case "rejected":
|
|
974
|
-
(
|
|
974
|
+
(M.status !== "error" || M.error !== O.reason) && V();
|
|
975
975
|
break;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
return
|
|
978
|
+
return M;
|
|
979
979
|
}
|
|
980
980
|
updateResult() {
|
|
981
981
|
const e = this.#n, t = this.createResult(this.#t, this.options);
|
|
@@ -1069,9 +1069,9 @@ function hr(e) {
|
|
|
1069
1069
|
meta: t.options.meta
|
|
1070
1070
|
};
|
|
1071
1071
|
return h(re), re;
|
|
1072
|
-
})(),
|
|
1072
|
+
})(), R = await u(x), { maxPages: J } = t.options, P = w ? un : ln;
|
|
1073
1073
|
return {
|
|
1074
|
-
pages: P(y.pages,
|
|
1074
|
+
pages: P(y.pages, R, J),
|
|
1075
1075
|
pageParams: P(y.pageParams, g, J)
|
|
1076
1076
|
};
|
|
1077
1077
|
};
|
|
@@ -1807,9 +1807,9 @@ function On() {
|
|
|
1807
1807
|
isReset: () => e
|
|
1808
1808
|
};
|
|
1809
1809
|
}
|
|
1810
|
-
var kn = Q.createContext(On()), Pn = () => Q.useContext(kn),
|
|
1810
|
+
var kn = Q.createContext(On()), Pn = () => Q.useContext(kn), Mn = (e, t) => {
|
|
1811
1811
|
(e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
|
|
1812
|
-
},
|
|
1812
|
+
}, Nn = (e) => {
|
|
1813
1813
|
Q.useEffect(() => {
|
|
1814
1814
|
e.clearReset();
|
|
1815
1815
|
}, [e]);
|
|
@@ -1840,7 +1840,7 @@ function Un(e, t, r) {
|
|
|
1840
1840
|
i
|
|
1841
1841
|
), process.env.NODE_ENV !== "production" && (i.queryFn || console.error(
|
|
1842
1842
|
`[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
|
|
1843
|
-
)), i._optimisticResults = s ? "isRestoring" : "optimistic", Ln(i),
|
|
1843
|
+
)), i._optimisticResults = s ? "isRestoring" : "optimistic", Ln(i), Mn(i, n), Nn(n);
|
|
1844
1844
|
const o = !a.getQueryCache().get(i.queryHash), [l] = Q.useState(
|
|
1845
1845
|
() => new t(
|
|
1846
1846
|
a,
|
|
@@ -2408,17 +2408,17 @@ function la(e) {
|
|
|
2408
2408
|
function ua(e) {
|
|
2409
2409
|
return e.kty === "oct" && typeof e.k == "string";
|
|
2410
2410
|
}
|
|
2411
|
-
let
|
|
2411
|
+
let Ne;
|
|
2412
2412
|
const mr = async (e, t, r, s = !1) => {
|
|
2413
|
-
|
|
2414
|
-
let n =
|
|
2413
|
+
Ne ||= /* @__PURE__ */ new WeakMap();
|
|
2414
|
+
let n = Ne.get(e);
|
|
2415
2415
|
if (n?.[r])
|
|
2416
2416
|
return n[r];
|
|
2417
2417
|
const a = await na({ ...t, alg: r });
|
|
2418
|
-
return s && Object.freeze(e), n ? n[r] = a :
|
|
2418
|
+
return s && Object.freeze(e), n ? n[r] = a : Ne.set(e, { [r]: a }), a;
|
|
2419
2419
|
}, da = (e, t) => {
|
|
2420
|
-
|
|
2421
|
-
let r =
|
|
2420
|
+
Ne ||= /* @__PURE__ */ new WeakMap();
|
|
2421
|
+
let r = Ne.get(e);
|
|
2422
2422
|
if (r?.[t])
|
|
2423
2423
|
return r[t];
|
|
2424
2424
|
const s = e.type === "public", n = !!s;
|
|
@@ -2511,7 +2511,7 @@ const mr = async (e, t, r, s = !1) => {
|
|
|
2511
2511
|
}
|
|
2512
2512
|
if (!a)
|
|
2513
2513
|
throw new TypeError("given KeyObject instance cannot be used for this algorithm");
|
|
2514
|
-
return r ? r[t] = a :
|
|
2514
|
+
return r ? r[t] = a : Ne.set(e, { [t]: a }), a;
|
|
2515
2515
|
}, ha = async (e, t) => {
|
|
2516
2516
|
if (e instanceof Uint8Array || rs(e))
|
|
2517
2517
|
return e;
|
|
@@ -2531,7 +2531,7 @@ const mr = async (e, t, r, s = !1) => {
|
|
|
2531
2531
|
if (zt(e))
|
|
2532
2532
|
return e.k ? Ue(e.k) : mr(e, e, t, !0);
|
|
2533
2533
|
throw new Error("unreachable");
|
|
2534
|
-
},
|
|
2534
|
+
}, Me = (e) => e?.[Symbol.toStringTag], Ut = (e, t, r) => {
|
|
2535
2535
|
if (t.use !== void 0) {
|
|
2536
2536
|
let s;
|
|
2537
2537
|
switch (r) {
|
|
@@ -2584,7 +2584,7 @@ const mr = async (e, t, r, s = !1) => {
|
|
|
2584
2584
|
if (!ns(t))
|
|
2585
2585
|
throw new TypeError(ts(e, t, "CryptoKey", "KeyObject", "JSON Web Key", "Uint8Array"));
|
|
2586
2586
|
if (t.type !== "secret")
|
|
2587
|
-
throw new TypeError(`${
|
|
2587
|
+
throw new TypeError(`${Me(t)} instances for symmetric algorithms must be of type "secret"`);
|
|
2588
2588
|
}
|
|
2589
2589
|
}, pa = (e, t, r) => {
|
|
2590
2590
|
if (zt(t))
|
|
@@ -2603,20 +2603,20 @@ const mr = async (e, t, r, s = !1) => {
|
|
|
2603
2603
|
if (!ns(t))
|
|
2604
2604
|
throw new TypeError(ts(e, t, "CryptoKey", "KeyObject", "JSON Web Key"));
|
|
2605
2605
|
if (t.type === "secret")
|
|
2606
|
-
throw new TypeError(`${
|
|
2606
|
+
throw new TypeError(`${Me(t)} instances for asymmetric algorithms must not be of type "secret"`);
|
|
2607
2607
|
if (t.type === "public")
|
|
2608
2608
|
switch (r) {
|
|
2609
2609
|
case "sign":
|
|
2610
|
-
throw new TypeError(`${
|
|
2610
|
+
throw new TypeError(`${Me(t)} instances for asymmetric algorithm signing must be of type "private"`);
|
|
2611
2611
|
case "decrypt":
|
|
2612
|
-
throw new TypeError(`${
|
|
2612
|
+
throw new TypeError(`${Me(t)} instances for asymmetric algorithm decryption must be of type "private"`);
|
|
2613
2613
|
}
|
|
2614
2614
|
if (t.type === "private")
|
|
2615
2615
|
switch (r) {
|
|
2616
2616
|
case "verify":
|
|
2617
|
-
throw new TypeError(`${
|
|
2617
|
+
throw new TypeError(`${Me(t)} instances for asymmetric algorithm verifying must be of type "public"`);
|
|
2618
2618
|
case "encrypt":
|
|
2619
|
-
throw new TypeError(`${
|
|
2619
|
+
throw new TypeError(`${Me(t)} instances for asymmetric algorithm encryption must be of type "public"`);
|
|
2620
2620
|
}
|
|
2621
2621
|
}, ya = (e, t, r) => {
|
|
2622
2622
|
e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? fa(e, t, r) : pa(e, t, r);
|
|
@@ -2899,7 +2899,7 @@ function ka(e, t = 0) {
|
|
|
2899
2899
|
}
|
|
2900
2900
|
let wt;
|
|
2901
2901
|
const Pa = new Uint8Array(16);
|
|
2902
|
-
function
|
|
2902
|
+
function Ma() {
|
|
2903
2903
|
if (!wt) {
|
|
2904
2904
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
2905
2905
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
@@ -2907,12 +2907,12 @@ function Na() {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
return wt(Pa);
|
|
2909
2909
|
}
|
|
2910
|
-
const
|
|
2910
|
+
const Na = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), wr = { randomUUID: Na };
|
|
2911
2911
|
function Sr(e, t, r) {
|
|
2912
2912
|
if (wr.randomUUID && !e)
|
|
2913
2913
|
return wr.randomUUID();
|
|
2914
2914
|
e = e || {};
|
|
2915
|
-
const s = e.random ?? e.rng?.() ??
|
|
2915
|
+
const s = e.random ?? e.rng?.() ?? Ma();
|
|
2916
2916
|
if (s.length < 16)
|
|
2917
2917
|
throw new Error("Random bytes length must be >= 16");
|
|
2918
2918
|
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, ka(s);
|
|
@@ -3290,7 +3290,7 @@ function je({
|
|
|
3290
3290
|
key: e,
|
|
3291
3291
|
initialValue: t
|
|
3292
3292
|
}) {
|
|
3293
|
-
const r = Kr(Qa, () => Tr(e)), s =
|
|
3293
|
+
const r = Kr(Qa, () => Tr(e)), s = N(
|
|
3294
3294
|
(i) => {
|
|
3295
3295
|
try {
|
|
3296
3296
|
const o = typeof i == "function" ? i(JSON.parse(r)) : i;
|
|
@@ -3300,12 +3300,12 @@ function je({
|
|
|
3300
3300
|
}
|
|
3301
3301
|
},
|
|
3302
3302
|
[e, r]
|
|
3303
|
-
), n =
|
|
3303
|
+
), n = N(() => {
|
|
3304
3304
|
s(t);
|
|
3305
|
-
}, [t, s]), a =
|
|
3305
|
+
}, [t, s]), a = N(() => {
|
|
3306
3306
|
s(null);
|
|
3307
3307
|
}, [s]);
|
|
3308
|
-
return
|
|
3308
|
+
return A(() => {
|
|
3309
3309
|
try {
|
|
3310
3310
|
Tr(e) === null && typeof t < "u" && vr(e, t);
|
|
3311
3311
|
} catch (i) {
|
|
@@ -3715,7 +3715,7 @@ const Pe = () => {
|
|
|
3715
3715
|
authenticationType: ""
|
|
3716
3716
|
}), di = () => ({
|
|
3717
3717
|
...Ge(ws)
|
|
3718
|
-
}), hi = (e) =>
|
|
3718
|
+
}), hi = (e) => N(
|
|
3719
3719
|
(...t) => {
|
|
3720
3720
|
e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
|
|
3721
3721
|
},
|
|
@@ -3763,9 +3763,9 @@ const Pe = () => {
|
|
|
3763
3763
|
{
|
|
3764
3764
|
key: `${Qe}::${r}::@@refresh@@`
|
|
3765
3765
|
}
|
|
3766
|
-
), [
|
|
3766
|
+
), [R, J, , P] = je({
|
|
3767
3767
|
key: `${Qe}::${r}::@@nonce@@`
|
|
3768
|
-
}), re = new ui(p, w),
|
|
3768
|
+
}), re = new ui(p, w), M = N(() => {
|
|
3769
3769
|
l("removeLocalStorage: removing local storage"), u(), g(), x(), P();
|
|
3770
3770
|
}, [
|
|
3771
3771
|
g,
|
|
@@ -3773,7 +3773,7 @@ const Pe = () => {
|
|
|
3773
3773
|
P,
|
|
3774
3774
|
x,
|
|
3775
3775
|
l
|
|
3776
|
-
]), I =
|
|
3776
|
+
]), I = N(
|
|
3777
3777
|
(v) => {
|
|
3778
3778
|
l(
|
|
3779
3779
|
"removeStateAndLocalStorage: removing state and local storage with reason: ",
|
|
@@ -3783,10 +3783,10 @@ const Pe = () => {
|
|
|
3783
3783
|
payload: {
|
|
3784
3784
|
logoutReason: v || Ce
|
|
3785
3785
|
}
|
|
3786
|
-
}),
|
|
3786
|
+
}), M(), o({ type: De, payload: { isLoading: !1 } });
|
|
3787
3787
|
},
|
|
3788
|
-
[
|
|
3789
|
-
), V =
|
|
3788
|
+
[M, l]
|
|
3789
|
+
), V = N(
|
|
3790
3790
|
async (v) => {
|
|
3791
3791
|
l("invalidateAndLogout: invalidating and logging out");
|
|
3792
3792
|
const { user: _ } = i, T = _?.userId || ai(d);
|
|
@@ -3810,7 +3810,7 @@ const Pe = () => {
|
|
|
3810
3810
|
a
|
|
3811
3811
|
]
|
|
3812
3812
|
);
|
|
3813
|
-
|
|
3813
|
+
A(() => {
|
|
3814
3814
|
if (!f.current)
|
|
3815
3815
|
return i.isLoading && d !== null ? (async () => {
|
|
3816
3816
|
try {
|
|
@@ -3835,8 +3835,8 @@ const Pe = () => {
|
|
|
3835
3835
|
f.current = !0;
|
|
3836
3836
|
};
|
|
3837
3837
|
}, [i.isLoading, d, V, l]);
|
|
3838
|
-
const
|
|
3839
|
-
o({ type: De, payload: { isLoading: !0 } }),
|
|
3838
|
+
const O = async (v, _) => {
|
|
3839
|
+
o({ type: De, payload: { isLoading: !0 } }), M();
|
|
3840
3840
|
const T = It();
|
|
3841
3841
|
J(T), l("login: Logging in with password");
|
|
3842
3842
|
const { code_verifier: me, code_challenge: ge } = await $a(), sr = await ci({
|
|
@@ -3872,7 +3872,7 @@ const Pe = () => {
|
|
|
3872
3872
|
}), !0) : (I(_t), !1);
|
|
3873
3873
|
}
|
|
3874
3874
|
return !1;
|
|
3875
|
-
},
|
|
3875
|
+
}, C = async (v) => {
|
|
3876
3876
|
v?.preventDefault(), await V(ei);
|
|
3877
3877
|
}, D = async () => {
|
|
3878
3878
|
const { isAuthenticated: v, user: _ } = i;
|
|
@@ -3889,7 +3889,7 @@ const Pe = () => {
|
|
|
3889
3889
|
endpoint: a,
|
|
3890
3890
|
clientId: r,
|
|
3891
3891
|
userId: _.userId,
|
|
3892
|
-
nonce:
|
|
3892
|
+
nonce: R,
|
|
3893
3893
|
domain: s
|
|
3894
3894
|
});
|
|
3895
3895
|
return T.status && T.status === "success" && T.newAccessToken ? (y(T.newAccessToken), b(T.newRefreshToken), T.newAccessToken) : (l(
|
|
@@ -3950,7 +3950,7 @@ const Pe = () => {
|
|
|
3950
3950
|
}
|
|
3951
3951
|
return !1;
|
|
3952
3952
|
}, _e = async () => {
|
|
3953
|
-
o({ type: De, payload: { isLoading: !0 } }),
|
|
3953
|
+
o({ type: De, payload: { isLoading: !0 } }), M();
|
|
3954
3954
|
const v = It();
|
|
3955
3955
|
J(v), l("loginWithPasskey");
|
|
3956
3956
|
const _ = It();
|
|
@@ -4017,8 +4017,8 @@ const Pe = () => {
|
|
|
4017
4017
|
{
|
|
4018
4018
|
value: {
|
|
4019
4019
|
...i,
|
|
4020
|
-
login:
|
|
4021
|
-
logout:
|
|
4020
|
+
login: O,
|
|
4021
|
+
logout: C,
|
|
4022
4022
|
getAccessToken: D,
|
|
4023
4023
|
getIdToken: ee,
|
|
4024
4024
|
registeringForPasskey: ye,
|
|
@@ -4330,7 +4330,7 @@ const Is = process.env.NODE_ENV === "production", Qt = !Is, _s = Qt ? "gizmette.
|
|
|
4330
4330
|
window.atob(e).split("").map(function(t) {
|
|
4331
4331
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
|
4332
4332
|
}).join("")
|
|
4333
|
-
),
|
|
4333
|
+
), Mi = (e, t, r) => t ? Object.keys(t).map((s) => /* @__PURE__ */ c("dl", { className: "my-0", children: /* @__PURE__ */ E("div", { className: "flex items-center justify-between", children: [
|
|
4334
4334
|
/* @__PURE__ */ c(
|
|
4335
4335
|
"dt",
|
|
4336
4336
|
{
|
|
@@ -4352,7 +4352,7 @@ const Is = process.env.NODE_ENV === "production", Qt = !Is, _s = Qt ? "gizmette.
|
|
|
4352
4352
|
}
|
|
4353
4353
|
)
|
|
4354
4354
|
] }) }, `${e}-${s}`)) : null;
|
|
4355
|
-
function
|
|
4355
|
+
function Ni({
|
|
4356
4356
|
data: e,
|
|
4357
4357
|
formatter: t = (r) => r
|
|
4358
4358
|
}) {
|
|
@@ -4432,10 +4432,10 @@ const xi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4432
4432
|
icon: d
|
|
4433
4433
|
}), Gi = (e, t) => t === "ready" && !!e && e.length > 0, zi = (e) => {
|
|
4434
4434
|
e ? document.documentElement.setAttribute(Ar, "true") : document.documentElement.removeAttribute(Ar);
|
|
4435
|
-
}, fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: _s, applyOledMode: zi, canEvaluateModels: Gi, convertCamelCaseToReadable: Ki, convertDDToDMS: Jt, convertLatitudeToDMS: Ri, convertLongitudeToDMS: Ci, debounce: Ui, durationFormatter: Di, extractAverage:
|
|
4435
|
+
}, fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: _s, applyOledMode: zi, canEvaluateModels: Gi, convertCamelCaseToReadable: Ki, convertDDToDMS: Jt, convertLatitudeToDMS: Ri, convertLongitudeToDMS: Ci, debounce: Ui, durationFormatter: Di, extractAverage: Ni, getCurrentGeoLocation: Oi, getLayoutPaddingClass: Rs, getMessageContaintWrapperClass: As, isDev: Qt, isLastMessageFromRole: xi, isPWAMode: Bi, isProbablyMobile: Os, isProbablyTablet: ks, isProbablyiPad: Fi, isProbablyiPhone: Hi, isProd: Is, isTauri: Cs, numberFormatter: Li, obfuscate: ki, pluralize: $i, renderDataAsList: Mi, toastOptions: Vi, unObfuscate: Pi }, Symbol.toStringTag, { value: "Module" }));
|
|
4436
4436
|
let qi = "standard";
|
|
4437
|
-
var
|
|
4438
|
-
let pl = "user", yl = "assistant", ml = "data", yt = "OpenAI", Yt = "Anthropic", Xt = "Google", ji = "Perplexity", Qi = yt, Ji = [yt, Yt, Xt], Ps = "gpt-5",
|
|
4437
|
+
var k, Wi = ((k = {})[k.NewChat = 0] = "NewChat", k[k.Prompts = 1] = "Prompts", k[k.Attachment = 2] = "Attachment", k[k.PrivateChat = 3] = "PrivateChat", k[k.Reasoning = 4] = "Reasoning", k[k.Send = 5] = "Send", k[k.Header = 6] = "Header", k[k.Provider = 7] = "Provider", k[k.Logo = 8] = "Logo", k[k.Placeholder = 9] = "Placeholder", k[k.Footer = 10] = "Footer", k);
|
|
4438
|
+
let pl = "user", yl = "assistant", ml = "data", yt = "OpenAI", Yt = "Anthropic", Xt = "Google", ji = "Perplexity", Qi = yt, Ji = [yt, Yt, Xt], Ps = "gpt-5", Ms = "gpt-5-mini", Ns = "gpt-5-nano", xs = "gpt-4.1-nano", Ls = "claude-haiku-4-5", Ds = "claude-sonnet-4-5", $s = "gemini-2.5-flash", Us = "gemini-3-pro-preview", Hs = "sonar", Fs = "sonar-pro", gl = { [Ps]: "GPT-5", [Ms]: "GPT-5 Mini", [Ns]: "GPT-5 Nano", [xs]: "GPT-4.1 Nano", [Ls]: "Claude Haiku 4.5", [Ds]: "Claude Sonnet 4.5", [$s]: "Gemini 2.5 Flash", [Us]: "Gemini 3 Pro", [Hs]: "Sonar", [Fs]: "Sonar Pro" }, Bs = { [yt]: [xs, Ps, Ms, Ns], [Yt]: [Ls, Ds], [Xt]: [$s, Us], [ji]: [Hs, Fs] }, El = "x-diggidy-chat-id", wl = "timestamp", Sl = "tokenUsage", L = "Diggidy", bl = { TOOL: { MEMORIES: "getUserMemories" }, ADDON: { ATTACHMENTS: "addon:attachments", REASONING: "addon:reasoning" } }, vl = (e) => {
|
|
4439
4439
|
if (!e || e.length === 0) return [];
|
|
4440
4440
|
let t = /* @__PURE__ */ new Set();
|
|
4441
4441
|
for (let r of e) for (let [s, n] of Object.entries(Bs)) n.includes(r) && (s === yt || s === Yt || s === Xt) && t.add(s);
|
|
@@ -4538,13 +4538,15 @@ const U = {
|
|
|
4538
4538
|
$messages: [MessageIn],
|
|
4539
4539
|
$provider: String,
|
|
4540
4540
|
$tokenUsage: Float,
|
|
4541
|
+
$privateChat: Boolean,
|
|
4541
4542
|
) {
|
|
4542
4543
|
saveChat(
|
|
4543
4544
|
id: $id,
|
|
4544
4545
|
user: $userId,
|
|
4545
4546
|
messages: $messages,
|
|
4546
4547
|
provider: $provider,
|
|
4547
|
-
tokenUsage: $tokenUsage
|
|
4548
|
+
tokenUsage: $tokenUsage,
|
|
4549
|
+
privateChat: $privateChat) {
|
|
4548
4550
|
id
|
|
4549
4551
|
}
|
|
4550
4552
|
}`,
|
|
@@ -4933,7 +4935,7 @@ const U = {
|
|
|
4933
4935
|
type: K.GET_CHATS,
|
|
4934
4936
|
getAccessToken: n
|
|
4935
4937
|
})
|
|
4936
|
-
}),
|
|
4938
|
+
}), Ml = ({
|
|
4937
4939
|
chatId: e,
|
|
4938
4940
|
getAccessToken: t,
|
|
4939
4941
|
enabled: r = !0
|
|
@@ -4945,7 +4947,7 @@ const U = {
|
|
|
4945
4947
|
type: K.GET_CHAT,
|
|
4946
4948
|
getAccessToken: t
|
|
4947
4949
|
})
|
|
4948
|
-
}),
|
|
4950
|
+
}), Nl = ({
|
|
4949
4951
|
getAccessToken: e
|
|
4950
4952
|
}) => {
|
|
4951
4953
|
const t = ce();
|
|
@@ -4955,13 +4957,14 @@ const U = {
|
|
|
4955
4957
|
id: s,
|
|
4956
4958
|
messages: n,
|
|
4957
4959
|
provider: a,
|
|
4958
|
-
tokenUsage: i
|
|
4960
|
+
tokenUsage: i,
|
|
4961
|
+
privateChat: o
|
|
4959
4962
|
}) => {
|
|
4960
|
-
const
|
|
4963
|
+
const l = await e();
|
|
4961
4964
|
return (await le({
|
|
4962
|
-
accessToken:
|
|
4965
|
+
accessToken: l,
|
|
4963
4966
|
type: K.SAVE_CHAT,
|
|
4964
|
-
params: { userId: r, id: s, messages: n, provider: a, tokenUsage: i }
|
|
4967
|
+
params: { userId: r, id: s, messages: n, provider: a, tokenUsage: i, privateChat: o }
|
|
4965
4968
|
})).data;
|
|
4966
4969
|
},
|
|
4967
4970
|
onSuccess: (r, s) => {
|
|
@@ -5207,7 +5210,7 @@ const U = {
|
|
|
5207
5210
|
const [s, n] = Y(Or), a = He(
|
|
5208
5211
|
() => e ? `entitlements:${e}` : null,
|
|
5209
5212
|
[e]
|
|
5210
|
-
), i =
|
|
5213
|
+
), i = N(() => {
|
|
5211
5214
|
if (!a)
|
|
5212
5215
|
return !1;
|
|
5213
5216
|
try {
|
|
@@ -5226,19 +5229,19 @@ const U = {
|
|
|
5226
5229
|
}
|
|
5227
5230
|
return !1;
|
|
5228
5231
|
}, [a]);
|
|
5229
|
-
|
|
5232
|
+
A(() => {
|
|
5230
5233
|
s.status === "idle" && i();
|
|
5231
5234
|
}, [i, s.status]);
|
|
5232
5235
|
const o = to({ user: e, getAccessToken: t });
|
|
5233
|
-
|
|
5236
|
+
A(() => {
|
|
5234
5237
|
o.isLoading && s.status === "idle" && n((h) => ({ ...h, status: "loading" }));
|
|
5235
|
-
}, [o.isLoading, s.status]),
|
|
5238
|
+
}, [o.isLoading, s.status]), A(() => {
|
|
5236
5239
|
o.isError && n((h) => ({
|
|
5237
5240
|
...h,
|
|
5238
5241
|
status: "error",
|
|
5239
5242
|
error: String(o.error)
|
|
5240
5243
|
}));
|
|
5241
|
-
}, [o.isError, o.error]),
|
|
5244
|
+
}, [o.isError, o.error]), A(() => {
|
|
5242
5245
|
const h = o.data?.entitlements;
|
|
5243
5246
|
if (h && (n({
|
|
5244
5247
|
capabilities: new Set(h.capabilities || []),
|
|
@@ -5258,7 +5261,7 @@ const U = {
|
|
|
5258
5261
|
} catch {
|
|
5259
5262
|
}
|
|
5260
5263
|
}, [o.data, a]);
|
|
5261
|
-
const l =
|
|
5264
|
+
const l = N(
|
|
5262
5265
|
(h) => {
|
|
5263
5266
|
const u = h?.entitlements;
|
|
5264
5267
|
if (u && (n({
|
|
@@ -5280,7 +5283,7 @@ const U = {
|
|
|
5280
5283
|
}
|
|
5281
5284
|
},
|
|
5282
5285
|
[a]
|
|
5283
|
-
), f =
|
|
5286
|
+
), f = N(() => {
|
|
5284
5287
|
if (n(Or), a)
|
|
5285
5288
|
try {
|
|
5286
5289
|
sessionStorage.removeItem(a);
|
|
@@ -5488,17 +5491,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5488
5491
|
children: /* @__PURE__ */ c("path", {
|
|
5489
5492
|
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"
|
|
5490
5493
|
})
|
|
5491
|
-
}), Zl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */
|
|
5492
|
-
defaultViewBox: "0 0 384 512",
|
|
5493
|
-
size: "size-5",
|
|
5494
|
-
viewBox: t,
|
|
5495
|
-
className: e,
|
|
5496
|
-
title: r || "Download",
|
|
5497
|
-
...n,
|
|
5498
|
-
children: /* @__PURE__ */ c("path", {
|
|
5499
|
-
d: "M16 480c-8.8 0-16-7.2-16-16s7.2-16 16-16h352c8.8 0 16 7.2 16 16s-7.2 16-16 16zm187.3-100.7c-6.2 6.2-16.4 6.2-22.6 0l-128-128c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L176 329.4V48c0-8.8 7.2-16 16-16s16 7.2 16 16v281.4l100.7-100.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"
|
|
5500
|
-
})
|
|
5501
|
-
}), eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5494
|
+
}), Zl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5502
5495
|
defaultViewBox: "0 0 512 512",
|
|
5503
5496
|
size: "size-5",
|
|
5504
5497
|
viewBox: t,
|
|
@@ -5514,7 +5507,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5514
5507
|
d: "m392.4 21.7-30.1 30 97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2l-18.7-18.6c-21.9-21.9-57.3-21.9-79.2 0m-52.7 52.6L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5l167.3-167.4z"
|
|
5515
5508
|
})
|
|
5516
5509
|
]
|
|
5517
|
-
}),
|
|
5510
|
+
}), eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5518
5511
|
defaultViewBox: "0 0 512 512",
|
|
5519
5512
|
size: "size-5",
|
|
5520
5513
|
viewBox: t,
|
|
@@ -5530,7 +5523,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5530
5523
|
d: "m454.6 45.3 12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0M189 265.6l171-171 57.4 57.4-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1 15.1-65.7c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4.4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1l220.3-220.4c25-25 25-65.5 0-90.5l-12.1-12.2c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144v288c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V304c0-8.8-7.2-16-16-16s-16 7.2-16 16v128c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h128c8.8 0 16-7.2 16-16s-7.2-16-16-16z"
|
|
5531
5524
|
})
|
|
5532
5525
|
]
|
|
5533
|
-
}),
|
|
5526
|
+
}), tu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5534
5527
|
defaultViewBox: "0 0 640 512",
|
|
5535
5528
|
size: "size-5",
|
|
5536
5529
|
viewBox: t,
|
|
@@ -5546,7 +5539,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5546
5539
|
d: "m557.2 235.7-29.4 29.4 71 71 29.4-29.4c15.6-15.6 15.6-40.9 0-56.6l-14.4-14.4c-15.6-15.6-40.9-15.6-56.6 0m-52 52L375.9 417c-4.1 4.1-7 9.2-8.4 14.9l-15 60.1c-1.4 5.5.2 11.2 4.2 15.2s9.7 5.6 15.2 4.2l60.1-15c5.6-1.4 10.8-4.3 14.9-8.4l129.2-129.3-71-71z"
|
|
5547
5540
|
})
|
|
5548
5541
|
]
|
|
5549
|
-
}),
|
|
5542
|
+
}), ru = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5550
5543
|
defaultViewBox: "0 0 24 24",
|
|
5551
5544
|
size: "size-5",
|
|
5552
5545
|
viewBox: t,
|
|
@@ -5572,7 +5565,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5572
5565
|
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"
|
|
5573
5566
|
})
|
|
5574
5567
|
]
|
|
5575
|
-
}),
|
|
5568
|
+
}), su = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5576
5569
|
defaultViewBox: "0 0 512 512",
|
|
5577
5570
|
size: "size-5",
|
|
5578
5571
|
viewBox: t,
|
|
@@ -5588,7 +5581,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5588
5581
|
d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z"
|
|
5589
5582
|
})
|
|
5590
5583
|
]
|
|
5591
|
-
}),
|
|
5584
|
+
}), nu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5592
5585
|
defaultViewBox: "0 0 512 512",
|
|
5593
5586
|
size: "size-5",
|
|
5594
5587
|
viewBox: t,
|
|
@@ -5604,7 +5597,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5604
5597
|
d: "M256 128a32 32 0 1 1 0 64 32 32 0 1 1 0-64m-64 120c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-80c-13.3 0-24-10.7-24-24s10.7-24 24-24h24v-64h-24c-13.3 0-24-10.7-24-24"
|
|
5605
5598
|
})
|
|
5606
5599
|
]
|
|
5607
|
-
}),
|
|
5600
|
+
}), au = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5608
5601
|
defaultViewBox: "0 0 384 512",
|
|
5609
5602
|
size: "size-5",
|
|
5610
5603
|
viewBox: t,
|
|
@@ -5620,7 +5613,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5620
5613
|
d: "M310.3 258.1c16.2-23.3 25.7-51.5 25.7-82.1 0-79.5-64.5-144-144-144S48 96.5 48 176c0 30.6 9.5 58.8 25.7 82.1 4.1 5.9 8.8 12.3 13.6 19 12.7 17.5 27.1 37.2 38 57.1 8.9 16.2 13.7 33.3 16.2 49.9L109 384c-2.2-12-5.9-23.7-11.8-34.5-9.9-18-22.2-34.9-34.5-51.8-5.2-7.1-10.4-14.2-15.4-21.4C27.6 247.9 16 213.3 16 176 16 78.8 94.8 0 192 0s176 78.8 176 176c0 37.3-11.6 71.9-31.4 100.3-5 7.2-10.2 14.3-15.4 21.4-12.3 16.8-24.6 33.7-34.5 51.8-5.9 10.8-9.6 22.5-11.8 34.5h-32.4c2.5-16.6 7.3-33.7 16.2-49.9 10.9-20 25.3-39.7 38-57.1 4.9-6.7 9.5-13 13.6-19zM192 96c-44.2 0-80 35.8-80 80 0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112 8.8 0 16 7.2 16 16s-7.2 16-16 16m-45.3 352c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32h-90.5zM112 432v-5.3c0-5.9 4.8-10.7 10.7-10.7h138.7c5.9 0 10.7 4.8 10.7 10.7v5.3c0 44.2-35.8 80-80 80s-80-35.8-80-80z"
|
|
5621
5614
|
})
|
|
5622
5615
|
]
|
|
5623
|
-
}),
|
|
5616
|
+
}), iu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5624
5617
|
defaultViewBox: "0 0 448 512",
|
|
5625
5618
|
size: "size-5",
|
|
5626
5619
|
viewBox: t,
|
|
@@ -5636,7 +5629,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5636
5629
|
d: "M224 32c53 0 96 43 96 96v64H128v-64c0-53 43-96 96-96M96 128v64H80c-44.2 0-80 35.8-80 80v160c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V272c0-44.2-35.8-80-80-80h-16v-64C352 57.3 294.7 0 224 0S96 57.3 96 128m-16 96h288c26.5 0 48 21.5 48 48v160c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48m160 88c0-8.8-7.2-16-16-16s-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16z"
|
|
5637
5630
|
})
|
|
5638
5631
|
]
|
|
5639
|
-
}),
|
|
5632
|
+
}), ou = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5640
5633
|
defaultViewBox: "0 0 576 512",
|
|
5641
5634
|
size: "size-5",
|
|
5642
5635
|
viewBox: t,
|
|
@@ -5652,7 +5645,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5652
5645
|
d: "M419.2 227.2 316.7 124.7 46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0z"
|
|
5653
5646
|
})
|
|
5654
5647
|
]
|
|
5655
|
-
}),
|
|
5648
|
+
}), cu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5656
5649
|
defaultViewBox: "0 0 448 512",
|
|
5657
5650
|
size: "size-5",
|
|
5658
5651
|
viewBox: t,
|
|
@@ -5668,7 +5661,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5668
5661
|
d: "M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L370.7 256 233.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"
|
|
5669
5662
|
})
|
|
5670
5663
|
]
|
|
5671
|
-
}),
|
|
5664
|
+
}), lu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5672
5665
|
defaultViewBox: "0 0 24 24",
|
|
5673
5666
|
size: "size-5",
|
|
5674
5667
|
viewBox: t,
|
|
@@ -5701,7 +5694,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5701
5694
|
})
|
|
5702
5695
|
]
|
|
5703
5696
|
});
|
|
5704
|
-
},
|
|
5697
|
+
}, uu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5705
5698
|
defaultViewBox: "0 0 576 512",
|
|
5706
5699
|
size: "size-5",
|
|
5707
5700
|
viewBox: t,
|
|
@@ -5717,7 +5710,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5717
5710
|
d: "M176 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128m-32 32c-44.2 0-80 35.8-80 80 0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16 0-44.2-35.8-80-80-80z"
|
|
5718
5711
|
})
|
|
5719
5712
|
]
|
|
5720
|
-
}),
|
|
5713
|
+
}), du = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5721
5714
|
defaultViewBox: "0 0 576 512",
|
|
5722
5715
|
size: "size-5",
|
|
5723
5716
|
viewBox: t,
|
|
@@ -5733,7 +5726,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5733
5726
|
d: "M566.6 265.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l73.4 73.3 169.4-169.3c12.5-12.5 32.8-12.5 45.3 0z"
|
|
5734
5727
|
})
|
|
5735
5728
|
]
|
|
5736
|
-
}),
|
|
5729
|
+
}), hu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5737
5730
|
defaultViewBox: "0 0 512 512",
|
|
5738
5731
|
size: "size-5",
|
|
5739
5732
|
viewBox: t,
|
|
@@ -5749,7 +5742,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5749
5742
|
d: "M64 128c-35.3 0-64 28.7-64 64v256c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64zm32 64h192c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32"
|
|
5750
5743
|
})
|
|
5751
5744
|
]
|
|
5752
|
-
}),
|
|
5745
|
+
}), fu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5753
5746
|
defaultViewBox: "0 0 512 512",
|
|
5754
5747
|
size: "size-5",
|
|
5755
5748
|
viewBox: t,
|
|
@@ -5765,7 +5758,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5765
5758
|
d: "m406.1 16-39.7 39.7 89.3 89.3 39.8-38.9c19.1-18.7 19.2-49.4.4-68.2l-22-21.9C455.1-2.8 424.7-2.7 406 16zm-62.4 62.4L200.5 221.8c-7 7-12.3 15.6-15.4 25l-23.8 71.3c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l71.5-23.9c9.2-3.1 17.6-8.2 24.5-15l145.1-142.1z"
|
|
5766
5759
|
})
|
|
5767
5760
|
]
|
|
5768
|
-
}),
|
|
5761
|
+
}), pu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5769
5762
|
defaultViewBox: "0 0 512 512",
|
|
5770
5763
|
size: "size-5",
|
|
5771
5764
|
viewBox: t,
|
|
@@ -5781,7 +5774,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5781
5774
|
d: "m330.7 376 126.7 126.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L376 330.7c-12.7 17.3-28 32.6-45.3 45.3"
|
|
5782
5775
|
})
|
|
5783
5776
|
]
|
|
5784
|
-
}),
|
|
5777
|
+
}), yu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5785
5778
|
defaultViewBox: "0 0 512 512",
|
|
5786
5779
|
size: "size-5",
|
|
5787
5780
|
viewBox: t,
|
|
@@ -5797,7 +5790,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5797
5790
|
d: "M256 160a96 96 0 1 0 0 192 96 96 0 1 0 0-192"
|
|
5798
5791
|
})
|
|
5799
5792
|
]
|
|
5800
|
-
}),
|
|
5793
|
+
}), mu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5801
5794
|
defaultViewBox: "0 0 512 512",
|
|
5802
5795
|
size: "size-5",
|
|
5803
5796
|
viewBox: t,
|
|
@@ -5813,7 +5806,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5813
5806
|
d: "M511.6 36.9c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256C5.5 266.3-.7 277.8.1 290s8.4 22.9 19.6 27.6L160 376v93c0 23.8 19.3 43 43 43 13.1 0 25.4-5.9 33.6-16.1l52.8-66h.1l114.2 47.6c9.1 3.8 19.4 3.2 28-1.6s14.5-13.3 16-23l64-416zm-253 380.2-47 58.8c-2.1 2.6-5.3 4.1-8.6 4.1-6.1 0-11-4.9-11-11v-79.7zm43.1-16.7-96.6-40.3 269-289.6L416 448l-114.2-47.6zM450.5 48.8 173.6 347 32 288z"
|
|
5814
5807
|
})
|
|
5815
5808
|
]
|
|
5816
|
-
}),
|
|
5809
|
+
}), gu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5817
5810
|
defaultViewBox: "0 0 448 512",
|
|
5818
5811
|
size: "size-5",
|
|
5819
5812
|
viewBox: t,
|
|
@@ -5839,7 +5832,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5839
5832
|
d: "M224 256c35.3 0 64-28.7 64-64 0-7.1-1.2-13.9-3.3-20.3-1.8-5.5 1.6-11.9 7.4-11.7 40.8 1.7 77.5 29.6 88.6 71.1 13.7 51.2-16.7 103.9-67.9 117.6S208.9 332 195.2 280.8c-1.9-6.9-2.9-13.9-3.2-20.7-.3-5.8 6.1-9.2 11.7-7.4 6.4 2.1 13.2 3.3 20.3 3.3"
|
|
5840
5833
|
})
|
|
5841
5834
|
]
|
|
5842
|
-
}),
|
|
5835
|
+
}), Eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5843
5836
|
defaultViewBox: "0 0 512 512",
|
|
5844
5837
|
size: "size-5",
|
|
5845
5838
|
viewBox: t,
|
|
@@ -5855,7 +5848,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5855
5848
|
d: "M128 416a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0m80-160a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0M192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64m0-112a80 80 0 1 0 0 160 80 80 0 1 0 0-160"
|
|
5856
5849
|
})
|
|
5857
5850
|
]
|
|
5858
|
-
}),
|
|
5851
|
+
}), wu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5859
5852
|
defaultViewBox: "0 0 512 512",
|
|
5860
5853
|
size: "size-5",
|
|
5861
5854
|
viewBox: t,
|
|
@@ -5871,7 +5864,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5871
5864
|
d: "M270.3 112.9c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81.1 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.9 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81-11.8-36.2-73.4z"
|
|
5872
5865
|
})
|
|
5873
5866
|
]
|
|
5874
|
-
}),
|
|
5867
|
+
}), Su = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5875
5868
|
defaultViewBox: "0 0 512 512",
|
|
5876
5869
|
size: "size-5",
|
|
5877
5870
|
viewBox: t,
|
|
@@ -5887,7 +5880,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5887
5880
|
d: "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448m0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512m14.3-399.1c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.8 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81.1-11.8-36.2-73.4zm-40 95.1 25.7-51.8 25.6 51.9c2.3 4.7 6.8 8 12 8.8l57.3 8.3-41.5 40.4c-3.8 3.7-5.5 9-4.6 14.2l9.8 57.1-51.2-26.9c-4.7-2.5-10.2-2.5-14.9 0l-51.2 26.9 9.8-57.1c.9-5.2-.8-10.5-4.6-14.2L161 225.1l57.3-8.3c5.2-.8 9.7-4 12-8.8"
|
|
5888
5881
|
})
|
|
5889
5882
|
]
|
|
5890
|
-
}),
|
|
5883
|
+
}), bu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5891
5884
|
defaultViewBox: "0 0 448 512",
|
|
5892
5885
|
size: "size-5",
|
|
5893
5886
|
viewBox: t,
|
|
@@ -5903,7 +5896,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5903
5896
|
d: "M224 32c-53 0-96 43-96 96v64h240c44.2 0 80 35.8 80 80v160c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V272c0-44.2 35.8-80 80-80h16v-64C96 57.3 153.3 0 224 0c58 0 107 38.6 122.7 91.4 2.5 8.5-2.3 17.4-10.8 19.9s-17.4-2.3-19.9-10.8C304.2 60.9 267.5 32 224 32M80 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm184 144h-80c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16"
|
|
5904
5897
|
})
|
|
5905
5898
|
]
|
|
5906
|
-
}),
|
|
5899
|
+
}), vu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5907
5900
|
defaultViewBox: "0 0 512 512",
|
|
5908
5901
|
size: "size-5",
|
|
5909
5902
|
viewBox: t,
|
|
@@ -5932,9 +5925,9 @@ const kr = [
|
|
|
5932
5925
|
"mousedown",
|
|
5933
5926
|
"touchstart"
|
|
5934
5927
|
];
|
|
5935
|
-
function
|
|
5928
|
+
function Tu(e, t, r) {
|
|
5936
5929
|
const s = F(null);
|
|
5937
|
-
return
|
|
5930
|
+
return A(() => {
|
|
5938
5931
|
const n = (a) => {
|
|
5939
5932
|
const i = a ? a.target : void 0;
|
|
5940
5933
|
if (Array.isArray(r)) {
|
|
@@ -5968,9 +5961,9 @@ const lo = () => {
|
|
|
5968
5961
|
r.style.display = "none", r.setAttribute("aria-hidden", "true"), r.dataset.hapticSingleton = "true", r.appendChild(t), document.body.appendChild(r), ie = r;
|
|
5969
5962
|
}, uo = () => {
|
|
5970
5963
|
ie && document.body && document.body.contains(ie) && document.body.removeChild(ie), ie = null;
|
|
5971
|
-
},
|
|
5964
|
+
}, Iu = () => {
|
|
5972
5965
|
const e = F(/* @__PURE__ */ new Set());
|
|
5973
|
-
|
|
5966
|
+
A(() => {
|
|
5974
5967
|
Ye++;
|
|
5975
5968
|
try {
|
|
5976
5969
|
lo();
|
|
@@ -5983,7 +5976,7 @@ const lo = () => {
|
|
|
5983
5976
|
e.current.clear(), Ye--, Ye === 0 && uo();
|
|
5984
5977
|
};
|
|
5985
5978
|
}, []);
|
|
5986
|
-
const t =
|
|
5979
|
+
const t = N(() => {
|
|
5987
5980
|
try {
|
|
5988
5981
|
if (navigator?.vibrate) {
|
|
5989
5982
|
navigator.vibrate(Ct);
|
|
@@ -5994,7 +5987,7 @@ const lo = () => {
|
|
|
5994
5987
|
}
|
|
5995
5988
|
}, []);
|
|
5996
5989
|
return {
|
|
5997
|
-
haptic:
|
|
5990
|
+
haptic: N((s = 1) => {
|
|
5998
5991
|
if (!(typeof window > "u") && !(s < 1)) {
|
|
5999
5992
|
if (navigator?.vibrate && s > 1) {
|
|
6000
5993
|
const n = [];
|
|
@@ -6048,7 +6041,7 @@ function fo(e, t) {
|
|
|
6048
6041
|
function Vs(e) {
|
|
6049
6042
|
return (t) => fo(ho(e), t);
|
|
6050
6043
|
}
|
|
6051
|
-
function
|
|
6044
|
+
function _u(e) {
|
|
6052
6045
|
return (t) => {
|
|
6053
6046
|
const r = "nativeEvent" in t ? t.nativeEvent : t;
|
|
6054
6047
|
e.forEach(([s, n, a = {
|
|
@@ -6061,12 +6054,12 @@ function Au(e) {
|
|
|
6061
6054
|
function po(e, t, r = !1) {
|
|
6062
6055
|
return e.target instanceof HTMLElement ? (r || !e.target.isContentEditable) && !t.includes(e.target.tagName) : !0;
|
|
6063
6056
|
}
|
|
6064
|
-
function
|
|
6057
|
+
function Au(e, t = [
|
|
6065
6058
|
"INPUT",
|
|
6066
6059
|
"TEXTAREA",
|
|
6067
6060
|
"SELECT"
|
|
6068
6061
|
], r = !1) {
|
|
6069
|
-
|
|
6062
|
+
A(() => {
|
|
6070
6063
|
const s = (n) => {
|
|
6071
6064
|
e.forEach(([a, i, o = {
|
|
6072
6065
|
preventDefault: !0
|
|
@@ -6081,15 +6074,15 @@ function Ru(e, t = [
|
|
|
6081
6074
|
r
|
|
6082
6075
|
]);
|
|
6083
6076
|
}
|
|
6084
|
-
function
|
|
6085
|
-
const [r, s] = Y(!1), n = F(null), a = F(null), i =
|
|
6077
|
+
function Ru(e, t) {
|
|
6078
|
+
const [r, s] = Y(!1), n = F(null), a = F(null), i = N(() => {
|
|
6086
6079
|
s((l) => (!l && (!n.current || n.current === -1) && (n.current = window.setInterval(a.current, t)), !0));
|
|
6087
6080
|
}, [
|
|
6088
6081
|
t
|
|
6089
|
-
]), o =
|
|
6082
|
+
]), o = N(() => {
|
|
6090
6083
|
s(!1), window.clearInterval(n.current || -1), n.current = -1;
|
|
6091
6084
|
}, []);
|
|
6092
|
-
return
|
|
6085
|
+
return A(() => (a.current = e, r && i(), o), [
|
|
6093
6086
|
e,
|
|
6094
6087
|
r,
|
|
6095
6088
|
i,
|
|
@@ -6100,10 +6093,10 @@ function Cu(e, t) {
|
|
|
6100
6093
|
active: r
|
|
6101
6094
|
};
|
|
6102
6095
|
}
|
|
6103
|
-
function
|
|
6096
|
+
function Cu() {
|
|
6104
6097
|
const e = F(null), [t, r] = Y(!1);
|
|
6105
6098
|
return {
|
|
6106
|
-
ref:
|
|
6099
|
+
ref: N((n) => {
|
|
6107
6100
|
typeof IntersectionObserver < "u" && (n && !e.current ? e.current = new IntersectionObserver((a) => r(a.some((i) => i.isIntersecting))) : e.current?.disconnect(), n ? e.current?.observe(n) : r(!1));
|
|
6108
6101
|
}, []),
|
|
6109
6102
|
inViewport: t
|
|
@@ -6111,9 +6104,9 @@ function Ou() {
|
|
|
6111
6104
|
}
|
|
6112
6105
|
function yo() {
|
|
6113
6106
|
const e = F(!1);
|
|
6114
|
-
return
|
|
6107
|
+
return A(() => (e.current = !0, () => {
|
|
6115
6108
|
e.current = !1;
|
|
6116
|
-
}), []),
|
|
6109
|
+
}), []), N(() => e.current, []);
|
|
6117
6110
|
}
|
|
6118
6111
|
function Gs(e, t) {
|
|
6119
6112
|
window.dispatchEvent(new StorageEvent("storage", {
|
|
@@ -6121,36 +6114,36 @@ function Gs(e, t) {
|
|
|
6121
6114
|
newValue: t
|
|
6122
6115
|
}));
|
|
6123
6116
|
}
|
|
6124
|
-
const
|
|
6117
|
+
const Mr = (e, t) => {
|
|
6125
6118
|
const r = JSON.stringify(typeof t == "function" ? t() : t);
|
|
6126
6119
|
window.localStorage.setItem(e, r), Gs(e, r);
|
|
6127
6120
|
}, mo = (e) => {
|
|
6128
6121
|
window.localStorage.removeItem(e), Gs(e, null);
|
|
6129
|
-
},
|
|
6130
|
-
function
|
|
6131
|
-
const s = Kr(go, () =>
|
|
6122
|
+
}, Nr = (e) => window.localStorage.getItem(e), go = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
|
|
6123
|
+
function Ou({ key: e, initialValue: t }) {
|
|
6124
|
+
const s = Kr(go, () => Nr(e)), n = N((o) => {
|
|
6132
6125
|
try {
|
|
6133
6126
|
const l = typeof o == "function" ? o(JSON.parse(s)) : o;
|
|
6134
|
-
l == null ? mo(e) :
|
|
6127
|
+
l == null ? mo(e) : Mr(e, l);
|
|
6135
6128
|
} catch (l) {
|
|
6136
6129
|
console.warn(l);
|
|
6137
6130
|
}
|
|
6138
6131
|
}, [
|
|
6139
6132
|
e,
|
|
6140
6133
|
s
|
|
6141
|
-
]), a =
|
|
6134
|
+
]), a = N(() => {
|
|
6142
6135
|
n(t);
|
|
6143
6136
|
}, [
|
|
6144
6137
|
t,
|
|
6145
6138
|
n
|
|
6146
|
-
]), i =
|
|
6139
|
+
]), i = N(() => {
|
|
6147
6140
|
n(null);
|
|
6148
6141
|
}, [
|
|
6149
6142
|
n
|
|
6150
6143
|
]);
|
|
6151
|
-
return
|
|
6144
|
+
return A(() => {
|
|
6152
6145
|
try {
|
|
6153
|
-
|
|
6146
|
+
Nr(e) === null && typeof t < "u" && Mr(e, t);
|
|
6154
6147
|
} catch (o) {
|
|
6155
6148
|
console.warn(o);
|
|
6156
6149
|
}
|
|
@@ -6193,7 +6186,7 @@ function tt(e) {
|
|
|
6193
6186
|
}), [
|
|
6194
6187
|
t
|
|
6195
6188
|
]);
|
|
6196
|
-
return
|
|
6189
|
+
return A(() => (s.current && i?.observe(s.current, e), () => {
|
|
6197
6190
|
i?.disconnect(), r.current && cancelAnimationFrame(r.current);
|
|
6198
6191
|
}), [
|
|
6199
6192
|
i,
|
|
@@ -6203,12 +6196,12 @@ function tt(e) {
|
|
|
6203
6196
|
n
|
|
6204
6197
|
];
|
|
6205
6198
|
}
|
|
6206
|
-
function
|
|
6199
|
+
function ku({ value: e, defaultValue: t, finalValue: r, onChange: s = () => {
|
|
6207
6200
|
}, initialControlledDelay: n = 0 }) {
|
|
6208
6201
|
const [a, i] = Y(!1), [o, l] = Y(t !== void 0 ? t : r), f = (d) => {
|
|
6209
6202
|
l(d), s?.(d);
|
|
6210
6203
|
};
|
|
6211
|
-
return
|
|
6204
|
+
return A(() => {
|
|
6212
6205
|
(async () => e !== void 0 && !a && n > 0 && (await new Promise((d) => setTimeout(d, n)), i(!0)))();
|
|
6213
6206
|
}, [
|
|
6214
6207
|
e,
|
|
@@ -6240,36 +6233,36 @@ function qs(e) {
|
|
|
6240
6233
|
}
|
|
6241
6234
|
}
|
|
6242
6235
|
function xr(e, t) {
|
|
6243
|
-
|
|
6236
|
+
A(() => (window.addEventListener(e, t, {
|
|
6244
6237
|
passive: !0
|
|
6245
6238
|
}), () => window.removeEventListener(e, t)), [
|
|
6246
6239
|
e,
|
|
6247
6240
|
t
|
|
6248
6241
|
]);
|
|
6249
6242
|
}
|
|
6250
|
-
function
|
|
6243
|
+
function Pu() {
|
|
6251
6244
|
const [e, t] = Y({
|
|
6252
6245
|
width: 0,
|
|
6253
6246
|
height: 0
|
|
6254
|
-
}), r =
|
|
6247
|
+
}), r = N(() => {
|
|
6255
6248
|
t({
|
|
6256
6249
|
width: window.innerWidth || 0,
|
|
6257
6250
|
height: window.innerHeight || 0
|
|
6258
6251
|
});
|
|
6259
6252
|
}, []);
|
|
6260
|
-
return xr("resize", r), xr("orientationchange", r),
|
|
6253
|
+
return xr("resize", r), xr("orientationchange", r), A(r, []), e;
|
|
6261
6254
|
}
|
|
6262
6255
|
function Mu() {
|
|
6263
6256
|
const [e, t] = Y({
|
|
6264
6257
|
width: 0,
|
|
6265
6258
|
height: 0
|
|
6266
|
-
}), r =
|
|
6259
|
+
}), r = N(() => {
|
|
6267
6260
|
t({
|
|
6268
6261
|
width: window?.visualViewport?.width || window.innerWidth || 0,
|
|
6269
6262
|
height: window?.visualViewport?.height || window.innerHeight || 0
|
|
6270
6263
|
});
|
|
6271
6264
|
}, []);
|
|
6272
|
-
return
|
|
6265
|
+
return A(() => (r(), window.visualViewport && (window.visualViewport.addEventListener("resize", r, {
|
|
6273
6266
|
passive: !0
|
|
6274
6267
|
}), window.visualViewport.addEventListener("orientationchange", r, {
|
|
6275
6268
|
passive: !0
|
|
@@ -6610,7 +6603,7 @@ const Xe = {
|
|
|
6610
6603
|
small: 16,
|
|
6611
6604
|
medium: 24,
|
|
6612
6605
|
large: 32
|
|
6613
|
-
},
|
|
6606
|
+
}, Mo = 2, No = 300, Ve = /* @__PURE__ */ Z.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, type: i = "button", raw: o = !1, noBorder: l = !1, "aria-label": f, label: d, size: h = "medium", labelRight: u, labelLeft: p, noBackground: y = !1, align: g = "center", radius: w = "large", variant: b = "secondary", iconClassName: x, animated: R = !1, ...J }, P) => {
|
|
6614
6607
|
const re = tr({
|
|
6615
6608
|
type: mt,
|
|
6616
6609
|
mode: r,
|
|
@@ -6627,43 +6620,43 @@ const Xe = {
|
|
|
6627
6620
|
align: g,
|
|
6628
6621
|
radius: w,
|
|
6629
6622
|
variant: b,
|
|
6630
|
-
animated:
|
|
6631
|
-
}),
|
|
6623
|
+
animated: R
|
|
6624
|
+
}), M = Oo({
|
|
6632
6625
|
mode: r,
|
|
6633
6626
|
raw: o,
|
|
6634
6627
|
iconClassName: x,
|
|
6635
6628
|
variant: b
|
|
6636
6629
|
}), I = ko({
|
|
6637
|
-
animated:
|
|
6638
|
-
}), V = "flex items-center justify-center relative w-full h-full overflow-hidden", [
|
|
6630
|
+
animated: R
|
|
6631
|
+
}), V = "flex items-center justify-center relative w-full h-full overflow-hidden", [O, C] = tt(), [D, ee] = tt(), [ye, _e] = tt(), v = F(0), _ = F(null), T = F(null), me = zs([
|
|
6639
6632
|
P,
|
|
6640
6633
|
_
|
|
6641
6634
|
]);
|
|
6642
6635
|
return st(() => {
|
|
6643
|
-
ye && ye.current &&
|
|
6636
|
+
ye && ye.current && R && (v.current = _e.width + Po[h] + (l ? 0 : Mo), _.current && !_.current.style.width && (_.current.style.width = `${Xe[h]}px`));
|
|
6644
6637
|
}, [
|
|
6645
6638
|
_e,
|
|
6646
6639
|
ye,
|
|
6647
6640
|
h,
|
|
6648
6641
|
l,
|
|
6649
|
-
|
|
6642
|
+
R
|
|
6650
6643
|
]), st(() => {
|
|
6651
|
-
if (_ && _.current &&
|
|
6644
|
+
if (_ && _.current && R) {
|
|
6652
6645
|
let ge = Xe[h];
|
|
6653
|
-
u &&
|
|
6654
|
-
|
|
6655
|
-
},
|
|
6646
|
+
u && O && C.width > 0 ? ge = C.width + v.current : p && D && ee.width > 0 && (ge = ee.width + v.current), T.current && clearTimeout(T.current), ge !== parseInt(_.current.style.width || "0", 10) && (O.current && (O.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"), _.current.style.width = `${ge}px`, ge > Xe[h] && (T.current = setTimeout(() => {
|
|
6647
|
+
O.current && u && (O.current.style.opacity = "1"), D.current && p && (D.current.style.opacity = "1"), T.current = null;
|
|
6648
|
+
}, No * 0.8))), ge === Xe[h] && (O.current && (O.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"));
|
|
6656
6649
|
}
|
|
6657
6650
|
}, [
|
|
6658
|
-
|
|
6651
|
+
C,
|
|
6659
6652
|
u,
|
|
6660
|
-
|
|
6653
|
+
O,
|
|
6661
6654
|
ee,
|
|
6662
6655
|
p,
|
|
6663
6656
|
D,
|
|
6664
6657
|
h,
|
|
6665
|
-
|
|
6666
|
-
]),
|
|
6658
|
+
R
|
|
6659
|
+
]), A(() => () => {
|
|
6667
6660
|
T.current && clearTimeout(T.current);
|
|
6668
6661
|
}, []), /* @__PURE__ */ c(Zt, {
|
|
6669
6662
|
ref: me,
|
|
@@ -6680,19 +6673,19 @@ const Xe = {
|
|
|
6680
6673
|
labelRef: D,
|
|
6681
6674
|
labelClass: I,
|
|
6682
6675
|
labelInnerClass: "pr-2",
|
|
6683
|
-
initiallyHidden:
|
|
6676
|
+
initiallyHidden: R
|
|
6684
6677
|
}),
|
|
6685
6678
|
/* @__PURE__ */ c("span", {
|
|
6686
6679
|
ref: ye,
|
|
6687
|
-
className:
|
|
6680
|
+
className: M,
|
|
6688
6681
|
children: e
|
|
6689
6682
|
}),
|
|
6690
6683
|
/* @__PURE__ */ c(Dr, {
|
|
6691
6684
|
label: u,
|
|
6692
|
-
labelRef:
|
|
6685
|
+
labelRef: O,
|
|
6693
6686
|
labelClass: I,
|
|
6694
6687
|
labelInnerClass: "pl-2",
|
|
6695
|
-
initiallyHidden:
|
|
6688
|
+
initiallyHidden: R
|
|
6696
6689
|
})
|
|
6697
6690
|
]
|
|
6698
6691
|
})
|
|
@@ -6713,7 +6706,7 @@ const xo = /* @__PURE__ */ Z.forwardRef(({ copyToClipboard: e, ...t }, r) => {
|
|
|
6713
6706
|
const [s, n] = Y(!1), a = () => {
|
|
6714
6707
|
typeof e == "string" && (navigator.clipboard.writeText(e), n(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), n(!0));
|
|
6715
6708
|
};
|
|
6716
|
-
return
|
|
6709
|
+
return A(() => {
|
|
6717
6710
|
let i;
|
|
6718
6711
|
return s && (i = window.setTimeout(() => {
|
|
6719
6712
|
n(!1);
|
|
@@ -7134,7 +7127,7 @@ function Js({ children: e, className: t, politeness: r, role: s = null, announce
|
|
|
7134
7127
|
announcement: null
|
|
7135
7128
|
});
|
|
7136
7129
|
let p = r;
|
|
7137
|
-
typeof p > "u" && (p = s ? Vo[s] : "assertive"),
|
|
7130
|
+
typeof p > "u" && (p = s ? Vo[s] : "assertive"), A(() => {
|
|
7138
7131
|
qo({
|
|
7139
7132
|
announcementTimeoutRef: f,
|
|
7140
7133
|
announcementDelay: n,
|
|
@@ -7277,11 +7270,11 @@ const Ys = "av-text-input", Wo = "av-text-input-wrapper", kt = "av-text-input-he
|
|
|
7277
7270
|
helperText: g,
|
|
7278
7271
|
rightElement: w
|
|
7279
7272
|
};
|
|
7280
|
-
}, rr = /* @__PURE__ */ Z.forwardRef(({ id: e, name: t, label: r, error: s = !1, raw: n = !1, className: a, inputClassName: i, mode: o = "system", focusMode: l = "system", disabled: f = !1, noBorder: d = !1, labelId: h, labelHidden: u = !1, type: p = "text", helperText: y = "", rightElement: g, rightElementClassName: w, size: b = "md", ...x },
|
|
7281
|
-
const [J, P] = tt(), [re,
|
|
7273
|
+
}, rr = /* @__PURE__ */ Z.forwardRef(({ id: e, name: t, label: r, error: s = !1, raw: n = !1, className: a, inputClassName: i, mode: o = "system", focusMode: l = "system", disabled: f = !1, noBorder: d = !1, labelId: h, labelHidden: u = !1, type: p = "text", helperText: y = "", rightElement: g, rightElementClassName: w, size: b = "md", ...x }, R) => {
|
|
7274
|
+
const [J, P] = tt(), [re, M] = Y(0), I = qs({
|
|
7282
7275
|
id: e,
|
|
7283
7276
|
prefix: `${Ys}-`
|
|
7284
|
-
}), V = `${t} error, ${y}`,
|
|
7277
|
+
}), V = `${t} error, ${y}`, O = F(null), C = F(null), D = {
|
|
7285
7278
|
xs: {
|
|
7286
7279
|
label: "-25px",
|
|
7287
7280
|
helperText: "30px"
|
|
@@ -7315,12 +7308,12 @@ const Ys = "av-text-input", Wo = "av-text-input-wrapper", kt = "av-text-input-he
|
|
|
7315
7308
|
rightElementClassName: w
|
|
7316
7309
|
});
|
|
7317
7310
|
return st(() => {
|
|
7318
|
-
P && P.width &&
|
|
7311
|
+
P && P.width && M(P.width + 18 + 10);
|
|
7319
7312
|
}, [
|
|
7320
7313
|
P
|
|
7321
7314
|
]), st(() => {
|
|
7322
7315
|
const { label: ye, helperText: _e } = D[b];
|
|
7323
|
-
|
|
7316
|
+
O?.current?.style.setProperty("--av-text-input-label", ye), C?.current?.style.setProperty("--av-text-input-helper-text", _e);
|
|
7324
7317
|
}, [
|
|
7325
7318
|
b
|
|
7326
7319
|
]), /* @__PURE__ */ E("div", {
|
|
@@ -7333,7 +7326,7 @@ const Ys = "av-text-input", Wo = "av-text-input-wrapper", kt = "av-text-input-he
|
|
|
7333
7326
|
children: r
|
|
7334
7327
|
}),
|
|
7335
7328
|
/* @__PURE__ */ c("input", {
|
|
7336
|
-
ref:
|
|
7329
|
+
ref: R,
|
|
7337
7330
|
id: I,
|
|
7338
7331
|
name: t,
|
|
7339
7332
|
type: p,
|
|
@@ -7354,14 +7347,14 @@ const Ys = "av-text-input", Wo = "av-text-input-wrapper", kt = "av-text-input-he
|
|
|
7354
7347
|
...x
|
|
7355
7348
|
}),
|
|
7356
7349
|
!n && !u && /* @__PURE__ */ c("label", {
|
|
7357
|
-
ref:
|
|
7350
|
+
ref: O,
|
|
7358
7351
|
"aria-hidden": !0,
|
|
7359
7352
|
htmlFor: I,
|
|
7360
7353
|
className: ee.visibleLabel,
|
|
7361
7354
|
children: r
|
|
7362
7355
|
}),
|
|
7363
7356
|
y && /* @__PURE__ */ c("div", {
|
|
7364
|
-
ref:
|
|
7357
|
+
ref: C,
|
|
7365
7358
|
id: `${I}-helper`,
|
|
7366
7359
|
className: ee.helperText,
|
|
7367
7360
|
children: y
|
|
@@ -7384,7 +7377,7 @@ const ec = 500, tc = 5e3, rc = 2e4, Xs = /* @__PURE__ */ Z.forwardRef(({ name: e
|
|
|
7384
7377
|
const [u, p] = Y(!0), [y, g] = Y({
|
|
7385
7378
|
message: null,
|
|
7386
7379
|
politeness: null
|
|
7387
|
-
}), w = F(!0), b = F(null), x = F(null),
|
|
7380
|
+
}), w = F(!0), b = F(null), x = F(null), R = zs([
|
|
7388
7381
|
h,
|
|
7389
7382
|
x
|
|
7390
7383
|
]), J = u ? "Show" : "Hide", P = () => {
|
|
@@ -7395,30 +7388,30 @@ const ec = 500, tc = 5e3, rc = 2e4, Xs = /* @__PURE__ */ Z.forwardRef(({ name: e
|
|
|
7395
7388
|
message: `${r} hiding characters`
|
|
7396
7389
|
}), n && n(!0);
|
|
7397
7390
|
}, rc));
|
|
7398
|
-
}, re = (
|
|
7399
|
-
|
|
7391
|
+
}, re = (C) => {
|
|
7392
|
+
C.preventDefault();
|
|
7400
7393
|
const D = !w.current;
|
|
7401
7394
|
w.current = D, P(), p(D), g({
|
|
7402
7395
|
announcementTimeout: ec,
|
|
7403
7396
|
politeness: "assertive",
|
|
7404
7397
|
message: D ? "Characters hidden" : "Characters showing"
|
|
7405
7398
|
}), n && n(D);
|
|
7406
|
-
},
|
|
7407
|
-
const { relatedTarget: D } =
|
|
7399
|
+
}, M = (C) => {
|
|
7400
|
+
const { relatedTarget: D } = C;
|
|
7408
7401
|
x.current?.parentElement?.contains(D) || l && l();
|
|
7409
|
-
}, I = (
|
|
7410
|
-
P(), i && i(
|
|
7411
|
-
}, V = (
|
|
7412
|
-
P(), o && o(
|
|
7413
|
-
},
|
|
7414
|
-
P(), a && a(
|
|
7402
|
+
}, I = (C) => {
|
|
7403
|
+
P(), i && i(C), M(C);
|
|
7404
|
+
}, V = (C) => {
|
|
7405
|
+
P(), o && o(C);
|
|
7406
|
+
}, O = (C) => {
|
|
7407
|
+
P(), a && a(C);
|
|
7415
7408
|
};
|
|
7416
|
-
return
|
|
7409
|
+
return A(() => () => {
|
|
7417
7410
|
b.current && clearTimeout(b.current);
|
|
7418
7411
|
}, []), /* @__PURE__ */ E(Fr, {
|
|
7419
7412
|
children: [
|
|
7420
7413
|
/* @__PURE__ */ c(rr, {
|
|
7421
|
-
ref:
|
|
7414
|
+
ref: R,
|
|
7422
7415
|
name: e,
|
|
7423
7416
|
label: r,
|
|
7424
7417
|
labelHidden: s,
|
|
@@ -7426,12 +7419,12 @@ const ec = 500, tc = 5e3, rc = 2e4, Xs = /* @__PURE__ */ Z.forwardRef(({ name: e
|
|
|
7426
7419
|
disabled: t,
|
|
7427
7420
|
onBlur: I,
|
|
7428
7421
|
onFocus: V,
|
|
7429
|
-
onChange:
|
|
7422
|
+
onChange: O,
|
|
7430
7423
|
rightElement: /* @__PURE__ */ Z.cloneElement(f, {
|
|
7431
7424
|
ref: h,
|
|
7432
7425
|
label: J,
|
|
7433
7426
|
onClick: re,
|
|
7434
|
-
onBlur:
|
|
7427
|
+
onBlur: M,
|
|
7435
7428
|
disabled: t
|
|
7436
7429
|
}),
|
|
7437
7430
|
...d
|
|
@@ -7446,7 +7439,7 @@ const ec = 500, tc = 5e3, rc = 2e4, Xs = /* @__PURE__ */ Z.forwardRef(({ name: e
|
|
|
7446
7439
|
});
|
|
7447
7440
|
});
|
|
7448
7441
|
Xs.displayName = "TextInputMask";
|
|
7449
|
-
const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in with a Passkey",
|
|
7442
|
+
const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in with a Passkey", Nu = "Log out", ic = "Password", xu = "Usage", Lu = "Profile", Du = "Settings", $u = "Chat history", Uu = "About", Hu = "How can I help you this morning?", Fu = "How can I help you this afternoon?", Bu = "How can I help you this evening?", Ku = "How can I help you tonight?", Vu = "How can I help you today?", Gu = "How can I help you?", zu = "{{clipboard}}", $ = "Review important details.", qu = [
|
|
7450
7443
|
`Sometimes, ${L} just makes stuff up. ${$}`,
|
|
7451
7444
|
`${L} may invent facts on the fly. ${$}`,
|
|
7452
7445
|
`${L} may be confidently wrong. ${$}`,
|
|
@@ -7467,17 +7460,17 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7467
7460
|
`Sometimes, ${L} howls at the moon. ${$}`,
|
|
7468
7461
|
`${L} may dig up imaginary bones. ${$}`,
|
|
7469
7462
|
`${L} may sniff out nonsense. ${$}`
|
|
7470
|
-
],
|
|
7463
|
+
], Wu = "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.", ju = "Default provider set to", Qu = "Chat successfully deleted!", Ju = "Caching enabled. Assets are now stored locally.", Yu = "Caching disabled. Local asset cache cleared.", Xu = "av-sassy", Zu = {
|
|
7471
7464
|
0: ["January", "February", "March"],
|
|
7472
7465
|
3: ["April", "May", "June"],
|
|
7473
7466
|
6: ["July", "August", "September"],
|
|
7474
7467
|
9: ["October", "November", "December"]
|
|
7475
|
-
},
|
|
7468
|
+
}, ed = {
|
|
7476
7469
|
0: ["Jan", "Feb", "Mar"],
|
|
7477
7470
|
3: ["Apr", "May", "Jun"],
|
|
7478
7471
|
6: ["Jul", "Aug", "Sep"],
|
|
7479
7472
|
9: ["Oct", "Nov", "Dec"]
|
|
7480
|
-
},
|
|
7473
|
+
}, td = {
|
|
7481
7474
|
PREFERENCES: {
|
|
7482
7475
|
TITLE: "User profile",
|
|
7483
7476
|
USERNAME: "Username",
|
|
@@ -7532,7 +7525,7 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7532
7525
|
}, oc = {
|
|
7533
7526
|
ASC: "asc",
|
|
7534
7527
|
DESC: "desc"
|
|
7535
|
-
},
|
|
7528
|
+
}, rd = "FOOTER_BOTTOM", cc = "FOOTER_TOP", lc = "APP_SET_FOOTER_POSITION", uc = "APP_SET_FOOTER_HEIGHT", dc = "APP_SET_OLED_MODE", hc = "APP_SET_FULL_SCREEN", fc = "APP_SET_THEME_MODE", pc = "APP_SET_THEME_PALETTE", sd = (e, t) => {
|
|
7536
7529
|
switch (t.type) {
|
|
7537
7530
|
case lc:
|
|
7538
7531
|
return {
|
|
@@ -7568,7 +7561,7 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7568
7561
|
default:
|
|
7569
7562
|
return e;
|
|
7570
7563
|
}
|
|
7571
|
-
},
|
|
7564
|
+
}, nd = Z.createContext({
|
|
7572
7565
|
state: {
|
|
7573
7566
|
searchString: "",
|
|
7574
7567
|
sortedCell: "",
|
|
@@ -7576,11 +7569,11 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7576
7569
|
},
|
|
7577
7570
|
dispatch: () => {
|
|
7578
7571
|
}
|
|
7579
|
-
}),
|
|
7572
|
+
}), ad = Z.createContext({
|
|
7580
7573
|
state: { prompt: "", lastTriggeredTimestamp: 0 },
|
|
7581
7574
|
dispatch: () => {
|
|
7582
7575
|
}
|
|
7583
|
-
}),
|
|
7576
|
+
}), id = Z.createContext({
|
|
7584
7577
|
state: {
|
|
7585
7578
|
provider: Qi,
|
|
7586
7579
|
privateChat: !1,
|
|
@@ -7623,9 +7616,9 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7623
7616
|
if (t)
|
|
7624
7617
|
return e ? t.oled : t.normal;
|
|
7625
7618
|
}, [t, e]);
|
|
7626
|
-
return
|
|
7619
|
+
return A(() => {
|
|
7627
7620
|
r?.cssVariables && mc(r.cssVariables);
|
|
7628
|
-
}, [r]), [
|
|
7621
|
+
}, [r]), [N(
|
|
7629
7622
|
(n) => r?.colors[n] || "",
|
|
7630
7623
|
[r]
|
|
7631
7624
|
), Wi];
|
|
@@ -7673,11 +7666,11 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7673
7666
|
}), h = async (u) => {
|
|
7674
7667
|
u.preventDefault(), await e(f.username, f.password) || (i(""), n("Invalid username or password"));
|
|
7675
7668
|
};
|
|
7676
|
-
return
|
|
7669
|
+
return A(() => {
|
|
7677
7670
|
document.getElementById("logo")?.classList.add("fadeOut"), setTimeout(() => {
|
|
7678
7671
|
document.getElementById("root")?.classList.replace("app-hidden", "fadeIn");
|
|
7679
7672
|
}, 500);
|
|
7680
|
-
}),
|
|
7673
|
+
}), A(() => {
|
|
7681
7674
|
t && i(t);
|
|
7682
7675
|
}, [t]), /* @__PURE__ */ E("main", { className: Rs({ extraClass: "mt-5" }), children: [
|
|
7683
7676
|
/* @__PURE__ */ c(
|
|
@@ -7776,7 +7769,7 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7776
7769
|
] });
|
|
7777
7770
|
}, Sc = new URL(document.location.href).searchParams, Ur = !!Sc.get("debug") || !1, bc = tn(() => import(
|
|
7778
7771
|
/* webpackChunkName: "LazyApp" */
|
|
7779
|
-
"./App.
|
|
7772
|
+
"./App.D3GwB26T.js"
|
|
7780
7773
|
).then((e) => e.App)), vc = new _n(), Hr = ({
|
|
7781
7774
|
isComponent: e,
|
|
7782
7775
|
headerHeight: t
|
|
@@ -7794,7 +7787,7 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7794
7787
|
isComponent: e = !1,
|
|
7795
7788
|
headerHeight: t = 0,
|
|
7796
7789
|
domain: r = _s
|
|
7797
|
-
}) => (
|
|
7790
|
+
}) => (A(() => {
|
|
7798
7791
|
e || Ts().catch((s) => {
|
|
7799
7792
|
console.error("[SW] Failed to register service worker:", s);
|
|
7800
7793
|
});
|
|
@@ -7807,7 +7800,7 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7807
7800
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
|
7808
7801
|
children: /* @__PURE__ */ c(Hr, { isComponent: e, headerHeight: t })
|
|
7809
7802
|
}
|
|
7810
|
-
) : /* @__PURE__ */ c(_r, { clientId: Rr, domain: r, debug: Ur, children: /* @__PURE__ */ c(Hr, { isComponent: e, headerHeight: t }) })),
|
|
7803
|
+
) : /* @__PURE__ */ c(_r, { clientId: Rr, domain: r, debug: Ur, children: /* @__PURE__ */ c(Hr, { isComponent: e, headerHeight: t }) })), od = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ c(
|
|
7811
7804
|
Tc,
|
|
7812
7805
|
{
|
|
7813
7806
|
isComponent: !0,
|
|
@@ -7816,12 +7809,12 @@ const sc = "ASK! ME! ANYTHING!", nc = "Log in with a password", ac = "Log in wit
|
|
|
7816
7809
|
}
|
|
7817
7810
|
);
|
|
7818
7811
|
export {
|
|
7819
|
-
|
|
7812
|
+
Uu as ABOUT_TITLE,
|
|
7820
7813
|
Hc as ACTION_RESET_PROMPT,
|
|
7821
7814
|
Dc as ACTION_SEARCH,
|
|
7822
7815
|
$c as ACTION_SORT,
|
|
7823
7816
|
Uc as ACTION_TOGGLE_PROMPT,
|
|
7824
|
-
|
|
7817
|
+
Xu as APP_CLASSNAME,
|
|
7825
7818
|
uc as APP_SET_FOOTER_HEIGHT,
|
|
7826
7819
|
lc as APP_SET_FOOTER_POSITION,
|
|
7827
7820
|
hc as APP_SET_FULL_SCREEN,
|
|
@@ -7834,31 +7827,31 @@ export {
|
|
|
7834
7827
|
xo as ButtonCopy,
|
|
7835
7828
|
Ve as ButtonIcon,
|
|
7836
7829
|
Do as ButtonSort_private,
|
|
7837
|
-
|
|
7838
|
-
|
|
7830
|
+
td as CARDS,
|
|
7831
|
+
zu as CLIPBOARD_PROMPT,
|
|
7839
7832
|
Ho as Card,
|
|
7840
|
-
|
|
7833
|
+
id as ChatContext,
|
|
7841
7834
|
rl as DEFAULT_ICON_ACTION_SIZE,
|
|
7842
7835
|
Lc as ERROR_MESSAGE,
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7836
|
+
L as F,
|
|
7837
|
+
rd as FOOTER_BOTTOM,
|
|
7838
|
+
qu as FOOTER_DISCLAIMERS,
|
|
7846
7839
|
cc as FOOTER_TOP,
|
|
7847
7840
|
gl as H,
|
|
7848
|
-
|
|
7849
|
-
|
|
7841
|
+
$u as HISTORY_TITLE,
|
|
7842
|
+
nd as HistoryContext,
|
|
7850
7843
|
Zc as INFINITE_SCROLL_LIMIT,
|
|
7851
7844
|
Xc as INFINITE_SCROLL_THRESHOLD,
|
|
7852
7845
|
ol as INPUT_BOTTOM_OFFSET,
|
|
7853
7846
|
ul as INPUT_BOTTOM_OFFSET_EXTRA,
|
|
7854
7847
|
ll as INPUT_BOTTOM_OFFSET_IPAD,
|
|
7855
7848
|
cl as INPUT_BOTTOM_OFFSET_IPHONE,
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7849
|
+
Fu as INPUT_PLACEHOLDER_TEXT_AFTERNOON,
|
|
7850
|
+
Gu as INPUT_PLACEHOLDER_TEXT_DEFAULT,
|
|
7851
|
+
Bu as INPUT_PLACEHOLDER_TEXT_EVENING,
|
|
7852
|
+
Hu as INPUT_PLACEHOLDER_TEXT_MORNING,
|
|
7853
|
+
Ku as INPUT_PLACEHOLDER_TEXT_NIGHT,
|
|
7854
|
+
Vu as INPUT_PLACEHOLDER_TEXT_TODAY,
|
|
7862
7855
|
zl as IconAddLight,
|
|
7863
7856
|
ql as IconAnthropic,
|
|
7864
7857
|
Wl as IconBack,
|
|
@@ -7869,32 +7862,31 @@ export {
|
|
|
7869
7862
|
so as IconCopied,
|
|
7870
7863
|
no as IconCopy,
|
|
7871
7864
|
Xl as IconDelete,
|
|
7872
|
-
Zl as
|
|
7873
|
-
eu as
|
|
7874
|
-
tu as
|
|
7875
|
-
ru as
|
|
7876
|
-
su as
|
|
7877
|
-
nu as
|
|
7878
|
-
au as
|
|
7879
|
-
iu as
|
|
7880
|
-
ou as
|
|
7881
|
-
cu as
|
|
7882
|
-
lu as
|
|
7883
|
-
uu as IconOpenAI,
|
|
7865
|
+
Zl as IconEdit,
|
|
7866
|
+
eu as IconEditLight,
|
|
7867
|
+
tu as IconEditUser,
|
|
7868
|
+
ru as IconGoogleGemini,
|
|
7869
|
+
su as IconHistory,
|
|
7870
|
+
nu as IconInfo,
|
|
7871
|
+
au as IconLightBulbLight,
|
|
7872
|
+
iu as IconLockedLight,
|
|
7873
|
+
ou as IconMagic,
|
|
7874
|
+
cu as IconNext,
|
|
7875
|
+
lu as IconOpenAI,
|
|
7884
7876
|
oo as IconPasskey,
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
|
|
7877
|
+
uu as IconProfile,
|
|
7878
|
+
du as IconProofread,
|
|
7879
|
+
hu as IconRestore,
|
|
7880
|
+
fu as IconRewrite,
|
|
7881
|
+
pu as IconSearch,
|
|
7882
|
+
yu as IconSelected,
|
|
7883
|
+
mu as IconSendLight,
|
|
7884
|
+
gu as IconSettings,
|
|
7885
|
+
Eu as IconSliders,
|
|
7886
|
+
wu as IconStarInCircle,
|
|
7887
|
+
Su as IconStarInCircleLight,
|
|
7888
|
+
vu as IconUnSelected,
|
|
7889
|
+
bu as IconUnlockedLight,
|
|
7898
7890
|
Bo as L,
|
|
7899
7891
|
Qc as LOCAL_STORAGE_CHAT_ID,
|
|
7900
7892
|
qc as LOCAL_STORAGE_FAVORITES_ONLY,
|
|
@@ -7909,47 +7901,46 @@ export {
|
|
|
7909
7901
|
Gc as LOCAL_STORAGE_SORT_MEMORY_DIRECTION,
|
|
7910
7902
|
Kc as LOCAL_STORAGE_SORT_TIMESTAMP,
|
|
7911
7903
|
Vc as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
|
7912
|
-
|
|
7904
|
+
Nu as LOG_OUT,
|
|
7913
7905
|
Js as LiveRegion,
|
|
7914
7906
|
Ec as Logo,
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7907
|
+
yt as O,
|
|
7908
|
+
Lu as PROFILE_TITLE,
|
|
7909
|
+
Wu as PROMPTS_DESCRIPTION,
|
|
7918
7910
|
el as PROMPT_CLASSNAME,
|
|
7919
7911
|
tl as PROMPT_EDITABLE_AREA_CLASSNAME,
|
|
7920
|
-
|
|
7912
|
+
ad as PromptsContext,
|
|
7921
7913
|
Xt as R,
|
|
7922
7914
|
K as SERVICE_TYPES,
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
rd as TRIMESTERS_SHORT,
|
|
7915
|
+
Du as SETTINGS_TITLE,
|
|
7916
|
+
od as SassySaint,
|
|
7917
|
+
Yu as TOAST_CACHE_DISABLED,
|
|
7918
|
+
Ju as TOAST_CACHE_ENABLED,
|
|
7919
|
+
Qu as TOAST_CHAT_DELETED,
|
|
7920
|
+
ju as TOAST_PROVIDER_CHANGED,
|
|
7921
|
+
Zu as TRIMESTERS,
|
|
7922
|
+
ed as TRIMESTERS_SHORT,
|
|
7932
7923
|
rr as TextInput,
|
|
7933
7924
|
nl as UI_BUTTON_SCROLL_BUFFER,
|
|
7934
7925
|
al as UI_DEFAULT_MAIN_HEIGHT,
|
|
7935
7926
|
il as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
|
|
7936
7927
|
sl as UI_FOOTER_BUFFER,
|
|
7937
|
-
|
|
7928
|
+
xu as USAGE_TITLE,
|
|
7938
7929
|
vl as X,
|
|
7939
7930
|
El as Y,
|
|
7940
7931
|
Tl as Z,
|
|
7941
7932
|
Yt as _,
|
|
7942
|
-
|
|
7933
|
+
sd as appReducer,
|
|
7943
7934
|
zi as applyOledMode,
|
|
7944
7935
|
Gi as canEvaluateModels,
|
|
7945
7936
|
Ki as convertCamelCaseToReadable,
|
|
7946
7937
|
Ui as debounce,
|
|
7947
7938
|
qi as e,
|
|
7948
7939
|
oc as e$1,
|
|
7949
|
-
_l as
|
|
7940
|
+
_l as et,
|
|
7950
7941
|
hl as getCacheInfo,
|
|
7951
7942
|
Oi as getCurrentGeoLocation,
|
|
7952
|
-
|
|
7943
|
+
_u as getHotkeyHandler,
|
|
7953
7944
|
Rs as getLayoutPaddingClass,
|
|
7954
7945
|
As as getMessageContaintWrapperClass,
|
|
7955
7946
|
le as graphQLRequest,
|
|
@@ -7965,51 +7956,51 @@ export {
|
|
|
7965
7956
|
$e as it,
|
|
7966
7957
|
bl as j,
|
|
7967
7958
|
Se as j$1,
|
|
7968
|
-
|
|
7969
|
-
yt as l,
|
|
7959
|
+
ml as l,
|
|
7970
7960
|
Ss as n,
|
|
7971
7961
|
Li as numberFormatter,
|
|
7972
7962
|
yl as o,
|
|
7973
7963
|
ki as obfuscate,
|
|
7974
7964
|
$i as pluralize,
|
|
7975
7965
|
Il as q,
|
|
7976
|
-
|
|
7966
|
+
Mi as renderDataAsList,
|
|
7977
7967
|
eo as serverUrl,
|
|
7978
7968
|
Al as setNewProvider,
|
|
7979
7969
|
Rl as setUserPlan,
|
|
7980
7970
|
Pi as unObfuscate,
|
|
7981
7971
|
Ol as useChangelogs,
|
|
7982
|
-
|
|
7972
|
+
Ml as useChat,
|
|
7983
7973
|
Pl as useChatsHistory,
|
|
7984
7974
|
Dl as useChatsUsage,
|
|
7985
|
-
|
|
7975
|
+
Tu as useClickOutside,
|
|
7986
7976
|
Fl as useDeleteAllActiveMemories,
|
|
7987
7977
|
Bl as useDeleteAllExpiredMemories,
|
|
7988
7978
|
xl as useDeleteChat,
|
|
7989
7979
|
Hl as useDeleteMemory,
|
|
7990
7980
|
Gl as useEntitlements,
|
|
7991
7981
|
Kl as useExpiredMemories,
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7982
|
+
Iu as useHaptic,
|
|
7983
|
+
Au as useHotkeys,
|
|
7984
|
+
Cu as useInViewport,
|
|
7985
|
+
Ru as useInterval,
|
|
7986
|
+
Ou as useLocalStorage,
|
|
7997
7987
|
zs as useMergeRefs,
|
|
7998
7988
|
ce as useQueryClient,
|
|
7999
7989
|
tt as useResizeObserver,
|
|
8000
7990
|
Vl as useRestoreMemory,
|
|
8001
|
-
|
|
7991
|
+
Nl as useSaveChat,
|
|
8002
7992
|
Cl as useServerCapabilities,
|
|
8003
7993
|
gc as useTheme,
|
|
8004
7994
|
Ll as useToggleFavoriteChat,
|
|
8005
|
-
|
|
7995
|
+
ku as useUncontrolled,
|
|
8006
7996
|
qs as useUniqueId,
|
|
8007
7997
|
Ul as useUpdateMemory,
|
|
8008
7998
|
kl as useUserChatStats,
|
|
8009
7999
|
$l as useUserMemories,
|
|
8010
8000
|
to as useUserPreferences,
|
|
8011
|
-
|
|
8001
|
+
Pu as useViewportSize,
|
|
8012
8002
|
Mu as useVisualViewportSize,
|
|
8013
8003
|
fl as utilities,
|
|
8004
|
+
Sl as w,
|
|
8014
8005
|
Yi as z
|
|
8015
8006
|
};
|