@versini/sassysaint 1.0.3 → 1.0.4
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/{App.pFoMWtnP.js → App.llFW8bC9.js} +54 -54
- package/dist/chunks/{LazyHeader.D3qbUck7.js → LazyHeader.DioQirr-.js} +5 -5
- package/dist/chunks/{LazyMarkdownWithExtra.BruyCOAi.js → LazyMarkdownWithExtra.BaT61Fa1.js} +1 -1
- package/dist/chunks/{LazyMessageAssistant.Dm0Ytsu1.js → LazyMessageAssistant.B7gvwGML.js} +4 -4
- package/dist/chunks/{index.DruzEDnN.9U25cgur.js → index.DruzEDnN.CBkxdLma.js} +1 -1
- package/dist/chunks/{index.B6xSbzQS.js → index.zwPPEvIR.js} +575 -570
- package/dist/chunks/{useLocalStorage.D6vdElMS.js → useLocalStorage.BhJXBYm7.js} +1 -1
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as S, jsx as a, Fragment as me } from "react/jsx-runtime";
|
|
2
|
-
import { O as Ve, s as Be, S as De, f$1 as $e, M as ze, U as Ue, r as Fe, o as Pe, n as ge, l as Ge, a as W, isLastMessageFromRole as ye, x as fe, CANCEL as je, CLEAR as We, ACTION_RESET as he, ROLE_ASSISTANT as L, ROLE_INTERNAL as X, ROLE_USER as Q, dr as K, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as xe, STATS_SEPARATOR as ae, ACTION_MODEL as be, ACTION_MESSAGE as H, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as ke, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as _, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.
|
|
3
|
-
import { g as Ce, AppContext as U, restCall as ir, E as q, serviceCall as ne, SERVICE_TYPES as le, HistoryContext as dr, k as ur } from "./useLocalStorage.
|
|
4
|
-
import pr, { useState as R, useEffect as
|
|
2
|
+
import { O as Ve, s as Be, S as De, f$1 as $e, M as ze, U as Ue, r as Fe, o as Pe, n as ge, l as Ge, a as W, isLastMessageFromRole as ye, x as fe, CANCEL as je, CLEAR as We, ACTION_RESET as he, ROLE_ASSISTANT as L, ROLE_INTERNAL as X, ROLE_USER as Q, dr as K, ROLE_SYSTEM as Ye, ROLE_HIDDEN as qe, MODEL_GPT4 as xe, STATS_SEPARATOR as ae, ACTION_MODEL as be, ACTION_MESSAGE as H, TYPE_QUESTION as Je, SEND as Qe, ACTION_STREAMING as ke, ERROR_MESSAGE as Xe, getMessageContaintWrapperClass as Ke, MessagesContainerHeader as Ze, ACTION_SEARCH as er, ACTION_SORT as rr, ACTION_RESTORE as tr, ACTION_LOCATION as _, getCurrentGeoLocation as or, c as sr, AppFooter as ar, LOCAL_STORAGE_PREFIX as Y, LOCAL_STORAGE_SEARCH as nr, LOCAL_STORAGE_SORT as lr, LOCAL_STORAGE_LOCATION as cr } from "./index.zwPPEvIR.js";
|
|
3
|
+
import { g as Ce, AppContext as U, restCall as ir, E as q, serviceCall as ne, SERVICE_TYPES as le, HistoryContext as dr, k as ur } from "./useLocalStorage.BhJXBYm7.js";
|
|
4
|
+
import pr, { useState as R, useEffect as E, useRef as x, useLayoutEffect as D, useContext as Z, lazy as mr, Suspense as ce, useReducer as ie, useCallback as gr } from "react";
|
|
5
5
|
import y from "clsx";
|
|
6
6
|
const yr = ({
|
|
7
7
|
className: e,
|
|
@@ -104,7 +104,7 @@ const yr = ({
|
|
|
104
104
|
const [u, i] = R(!1), h = Cr({ kind: r, className: o, spacing: g }), b = !!n && (typeof n == "function" || typeof n == "string" || typeof e == "string"), k = () => {
|
|
105
105
|
i(!0), typeof n == "function" ? n(e) : typeof n == "string" ? navigator.clipboard.writeText(n) : typeof e == "string" && navigator.clipboard.writeText(e);
|
|
106
106
|
};
|
|
107
|
-
return
|
|
107
|
+
return E(() => {
|
|
108
108
|
let p;
|
|
109
109
|
return u && (p = window.setTimeout(() => {
|
|
110
110
|
i(!1);
|
|
@@ -151,21 +151,21 @@ function vr({
|
|
|
151
151
|
n(l), t == null || t(l);
|
|
152
152
|
}, !1];
|
|
153
153
|
}
|
|
154
|
-
const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7",
|
|
154
|
+
const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", Ar = ({
|
|
155
155
|
mode: e
|
|
156
156
|
}) => y({
|
|
157
157
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
|
158
158
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
|
159
159
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
|
160
160
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
|
161
|
-
}),
|
|
161
|
+
}), Er = ({
|
|
162
162
|
focusMode: e
|
|
163
163
|
}) => y("focus:outline focus:outline-2 focus:outline-offset-2", {
|
|
164
164
|
"focus:outline-focus-dark": e === "dark",
|
|
165
165
|
"focus:outline-focus-light": e === "light",
|
|
166
166
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
167
167
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
|
168
|
-
}),
|
|
168
|
+
}), Nr = ({
|
|
169
169
|
noBorder: e,
|
|
170
170
|
error: r
|
|
171
171
|
}) => y("border-2", {
|
|
@@ -173,7 +173,7 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
173
173
|
"focus:border-border-dark": !e && r,
|
|
174
174
|
"border-border-error-dark": !e && r,
|
|
175
175
|
"border-transparent": e
|
|
176
|
-
}),
|
|
176
|
+
}), Or = ({
|
|
177
177
|
disabled: e,
|
|
178
178
|
raw: r,
|
|
179
179
|
error: o,
|
|
@@ -185,17 +185,17 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
185
185
|
return y("absolute px-2 cursor-not-allowed opacity-50 font-medium");
|
|
186
186
|
if (!o)
|
|
187
187
|
return y("absolute px-2 cursor-text font-medium", {
|
|
188
|
-
"text-copy-
|
|
188
|
+
"text-copy-medium": t === "dark",
|
|
189
189
|
"text-copy-dark": t === "light",
|
|
190
|
-
"text-copy-dark dark:text-copy-
|
|
191
|
-
"text-copy-
|
|
190
|
+
"text-copy-dark dark:text-copy-medium": t === "system",
|
|
191
|
+
"text-copy-medium dark:text-copy-dark": t === "alt-system"
|
|
192
192
|
});
|
|
193
193
|
if (o)
|
|
194
194
|
return y("absolute px-2 cursor-text font-medium", {
|
|
195
|
-
"text-copy-
|
|
195
|
+
"text-copy-medium": t === "dark",
|
|
196
196
|
"text-copy-error-dark": t === "light",
|
|
197
197
|
"text-copy-error-dark dark:text-copy-error-light": t === "system",
|
|
198
|
-
"text-copy-
|
|
198
|
+
"text-copy-medium dark:text-copy-error-dark": t === "alt-system"
|
|
199
199
|
});
|
|
200
200
|
}, wr = ({
|
|
201
201
|
error: e,
|
|
@@ -212,10 +212,10 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
212
212
|
);
|
|
213
213
|
if (!e)
|
|
214
214
|
return y(W, "absolute px-2 font-medium", {
|
|
215
|
-
"text-copy-
|
|
215
|
+
"text-copy-medium": o === "dark",
|
|
216
216
|
"text-copy-dark": o === "light",
|
|
217
|
-
"text-copy-dark dark:text-copy-
|
|
218
|
-
"text-copy-
|
|
217
|
+
"text-copy-dark dark:text-copy-medium": o === "system",
|
|
218
|
+
"text-copy-medium dark:text-copy-dark": o === "alt-system"
|
|
219
219
|
});
|
|
220
220
|
if (e)
|
|
221
221
|
return y(W, "absolute px-2 font-medium", {
|
|
@@ -244,16 +244,16 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
244
244
|
ge,
|
|
245
245
|
r,
|
|
246
246
|
Sr(),
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
Ar({ mode: g }),
|
|
248
|
+
Er({ focusMode: t }),
|
|
249
|
+
Nr({
|
|
250
250
|
noBorder: n,
|
|
251
251
|
error: l
|
|
252
252
|
}),
|
|
253
253
|
{
|
|
254
254
|
"disabled:cursor-not-allowed disabled:opacity-50": s
|
|
255
255
|
}
|
|
256
|
-
), h = o ? void 0 : "sr-only", b =
|
|
256
|
+
), h = o ? void 0 : "sr-only", b = Or({
|
|
257
257
|
disabled: s,
|
|
258
258
|
raw: o,
|
|
259
259
|
error: l,
|
|
@@ -308,12 +308,12 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
308
308
|
helperTextOnFocus: T = !1,
|
|
309
309
|
rightElement: m,
|
|
310
310
|
onChange: d,
|
|
311
|
-
onFocus:
|
|
311
|
+
onFocus: N,
|
|
312
312
|
onBlur: V,
|
|
313
|
-
spacing:
|
|
313
|
+
spacing: O,
|
|
314
314
|
...Se
|
|
315
|
-
},
|
|
316
|
-
const v = x(null),
|
|
315
|
+
}, Ae) => {
|
|
316
|
+
const v = x(null), Ee = $e([Ae, v]), B = x(null), F = x(80), re = x(-25), M = x(null), te = x(30), P = x(null), I = ze({ id: e, prefix: `${ge}-` }), [Ne, Oe] = R(0), [we, oe] = R(
|
|
317
317
|
!!(!T && p)
|
|
318
318
|
), Le = `${r} error, ${p}`, w = Lr({
|
|
319
319
|
className: n,
|
|
@@ -323,9 +323,9 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
323
323
|
focusMode: g,
|
|
324
324
|
disabled: h,
|
|
325
325
|
noBorder: b,
|
|
326
|
-
spacing:
|
|
326
|
+
spacing: O,
|
|
327
327
|
mode: c
|
|
328
|
-
}), [
|
|
328
|
+
}), [A, Re] = vr({
|
|
329
329
|
value: u,
|
|
330
330
|
defaultValue: i,
|
|
331
331
|
onChange: (C) => {
|
|
@@ -338,25 +338,25 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
338
338
|
}), Me = (C) => {
|
|
339
339
|
Re(C.target.value);
|
|
340
340
|
}, Ie = (C) => {
|
|
341
|
-
T && p && oe(!0),
|
|
341
|
+
T && p && oe(!0), N && N(C);
|
|
342
342
|
}, _e = (C) => {
|
|
343
|
-
T && p && !
|
|
343
|
+
T && p && !A && oe(!1), V && V(C);
|
|
344
344
|
};
|
|
345
345
|
return D(() => {
|
|
346
|
-
!s && m && B.current && B.current.offsetWidth > 0 &&
|
|
346
|
+
!s && m && B.current && B.current.offsetWidth > 0 && Oe(B.current.offsetWidth + 18 + 10);
|
|
347
347
|
}, [m, s]), D(() => {
|
|
348
|
-
s || v && v.current &&
|
|
349
|
-
}, [
|
|
348
|
+
s || v && v.current && A !== void 0 && (v.current.style.height = "inherit", v.current.style.height = v.current.scrollHeight + "px");
|
|
349
|
+
}, [A, s]), D(() => {
|
|
350
350
|
s || setTimeout(() => {
|
|
351
351
|
var C;
|
|
352
352
|
(C = M == null ? void 0 : M.current) == null || C.style.setProperty(
|
|
353
353
|
"--av-text-area-wrapper-transition",
|
|
354
|
-
|
|
354
|
+
A ? "none" : "all 0.2s ease-out"
|
|
355
355
|
);
|
|
356
356
|
}, 0);
|
|
357
|
-
}, [
|
|
357
|
+
}, [A, s]), D(() => {
|
|
358
358
|
var C, se;
|
|
359
|
-
if (!s && v && v.current &&
|
|
359
|
+
if (!s && v && v.current && A !== void 0) {
|
|
360
360
|
const { labelOffset: G, helperTextOffset: j, scrollHeight: He } = Rr({
|
|
361
361
|
scrollHeight: v.current.scrollHeight,
|
|
362
362
|
currentHeight: F.current,
|
|
@@ -371,7 +371,7 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
371
371
|
`${j}px`
|
|
372
372
|
)), F.current = He || F.current;
|
|
373
373
|
}
|
|
374
|
-
}, [
|
|
374
|
+
}, [A, s]), /* @__PURE__ */ S("div", { className: w.wrapper, children: [
|
|
375
375
|
/* @__PURE__ */ a(
|
|
376
376
|
"label",
|
|
377
377
|
{
|
|
@@ -384,7 +384,7 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
384
384
|
/* @__PURE__ */ a(
|
|
385
385
|
"textarea",
|
|
386
386
|
{
|
|
387
|
-
ref:
|
|
387
|
+
ref: Ee,
|
|
388
388
|
id: I,
|
|
389
389
|
name: r,
|
|
390
390
|
disabled: h,
|
|
@@ -393,8 +393,8 @@ const Sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
393
393
|
rows: 1,
|
|
394
394
|
...p && { "aria-describedby": `${I}-helper` },
|
|
395
395
|
...t && { "aria-invalid": "true" },
|
|
396
|
-
...m && !s && { style: { paddingRight:
|
|
397
|
-
value:
|
|
396
|
+
...m && !s && { style: { paddingRight: Ne } },
|
|
397
|
+
value: A,
|
|
398
398
|
onChange: Me,
|
|
399
399
|
onFocus: Ie,
|
|
400
400
|
onBlur: _e,
|
|
@@ -462,7 +462,7 @@ const Vr = () => {
|
|
|
462
462
|
type: he
|
|
463
463
|
});
|
|
464
464
|
};
|
|
465
|
-
return
|
|
465
|
+
return E(() => {
|
|
466
466
|
(r == null ? void 0 : r.streaming) === !0 && !s.current && t.current && (s.current = !0, t.current.focus()), (r == null ? void 0 : r.streaming) === !1 && (s.current = !1);
|
|
467
467
|
}, [r]), ye(L, r) ? /* @__PURE__ */ a("div", { className: o, children: /* @__PURE__ */ a(
|
|
468
468
|
fe,
|
|
@@ -475,7 +475,7 @@ const Vr = () => {
|
|
|
475
475
|
children: r != null && r.streaming ? je : We
|
|
476
476
|
}
|
|
477
477
|
) }) : null;
|
|
478
|
-
}, ue = mr(() => import("./LazyMessageAssistant.
|
|
478
|
+
}, ue = mr(() => import("./LazyMessageAssistant.B7gvwGML.js").then((e) => e.LazyMessageAssistant)), Br = () => {
|
|
479
479
|
const { state: e } = Z(U);
|
|
480
480
|
return /* @__PURE__ */ S(me, { children: [
|
|
481
481
|
e && e.messages.length > 0 && e.messages.map((r, o) => {
|
|
@@ -521,7 +521,7 @@ const Vr = () => {
|
|
|
521
521
|
const { state: e, dispatch: r } = Z(U), [o, t] = R(""), { getAccessToken: s, user: n } = K(), l = x(!1), c = x(null), g = x(
|
|
522
522
|
null
|
|
523
523
|
);
|
|
524
|
-
|
|
524
|
+
E(() => {
|
|
525
525
|
(async () => {
|
|
526
526
|
var h;
|
|
527
527
|
if (!e || e.messages.length === 0) {
|
|
@@ -554,16 +554,16 @@ const Vr = () => {
|
|
|
554
554
|
z(r, !1);
|
|
555
555
|
break;
|
|
556
556
|
}
|
|
557
|
-
const d = p.decode(m, { stream: !0 }),
|
|
558
|
-
if (
|
|
559
|
-
const V = d.substring(0,
|
|
560
|
-
d.substring(
|
|
557
|
+
const d = p.decode(m, { stream: !0 }), N = d.indexOf(ae);
|
|
558
|
+
if (N !== -1) {
|
|
559
|
+
const V = d.substring(0, N), O = JSON.parse(
|
|
560
|
+
d.substring(N + ae.length)
|
|
561
561
|
);
|
|
562
562
|
r({
|
|
563
563
|
type: be,
|
|
564
564
|
payload: {
|
|
565
|
-
model:
|
|
566
|
-
usage:
|
|
565
|
+
model: O.model,
|
|
566
|
+
usage: O.usage
|
|
567
567
|
}
|
|
568
568
|
}), r({
|
|
569
569
|
type: H,
|
|
@@ -572,8 +572,8 @@ const Vr = () => {
|
|
|
572
572
|
content: V,
|
|
573
573
|
role: L,
|
|
574
574
|
messageId: k,
|
|
575
|
-
processingTime:
|
|
576
|
-
name:
|
|
575
|
+
processingTime: O.processingTime,
|
|
576
|
+
name: O.name
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
}), z(r, !1);
|
|
@@ -608,7 +608,7 @@ const Vr = () => {
|
|
|
608
608
|
}
|
|
609
609
|
}), t("");
|
|
610
610
|
};
|
|
611
|
-
return
|
|
611
|
+
return E(() => {
|
|
612
612
|
(e == null ? void 0 : e.streaming) === !1 && !l.current && c.current && (l.current = !0, c.current.focus()), (e == null ? void 0 : e.streaming) === !0 && l.current === !0 && (l.current = !1);
|
|
613
613
|
}, [e]), /* @__PURE__ */ a("form", { className: "mt-2", onSubmit: u, children: /* @__PURE__ */ a(
|
|
614
614
|
Te,
|
|
@@ -782,7 +782,7 @@ function ve({ isComponent: e = !1 }) {
|
|
|
782
782
|
}
|
|
783
783
|
});
|
|
784
784
|
}, [c]);
|
|
785
|
-
return
|
|
785
|
+
return E(() => {
|
|
786
786
|
k.version !== "" || o.current || (async () => {
|
|
787
787
|
try {
|
|
788
788
|
o.current = !0;
|
|
@@ -794,7 +794,7 @@ function ve({ isComponent: e = !1 }) {
|
|
|
794
794
|
} catch {
|
|
795
795
|
}
|
|
796
796
|
})();
|
|
797
|
-
}, [k, s]),
|
|
797
|
+
}, [k, s]), E(() => {
|
|
798
798
|
t && ((!c || c.accuracy === 0) && (async () => {
|
|
799
799
|
const m = await or();
|
|
800
800
|
g(m), i({
|
|
@@ -809,7 +809,7 @@ function ve({ isComponent: e = !1 }) {
|
|
|
809
809
|
location: c
|
|
810
810
|
}
|
|
811
811
|
}));
|
|
812
|
-
}, [t, c, g, u.location]),
|
|
812
|
+
}, [t, c, g, u.location]), E(() => {
|
|
813
813
|
!u.location || u.location.accuracy === 0 || u.location.city || r.current || (async () => {
|
|
814
814
|
var m;
|
|
815
815
|
r.current = !0;
|
|
@@ -839,7 +839,7 @@ function ve({ isComponent: e = !1 }) {
|
|
|
839
839
|
T();
|
|
840
840
|
}
|
|
841
841
|
})();
|
|
842
|
-
}, [u, c, s, T]),
|
|
842
|
+
}, [u, c, s, T]), E(() => {
|
|
843
843
|
var m;
|
|
844
844
|
(m = document.getElementById("logo")) == null || m.classList.add("fadeOut"), setTimeout(() => {
|
|
845
845
|
var d;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as d, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import { E as X, S as Oe, O, i$1 as _e, N as Be, p as ze, o as Ve, g as A, CARDS as C, renderDataAsList as V, pluralize as q, ABOUT_TITLE as Pe, MODEL_GPT4 as Fe, numberFormatter as $e, durationFormatter as ge, NA as Ge, ROLE_ASSISTANT as Ue, extractAverage as je, GPT4_MAX_TOKENS as Ke, dr as G, STATS as Ce, b as oe, j as D, x as ce, LOCAL_STORAGE_PREFIX as Q, LOCAL_STORAGE_SORT as Ye, ACTION_RESET as We, ACTION_RESTORE as Xe, truncate as Je, ACTION_SORT as ae, LOCAL_STORAGE_SEARCH as qe, G as Qe, ACTION_SEARCH as Ze, HISTORY_TITLE as et, LOCAL_STORAGE_CHAT_DETAILS as tt, LOCAL_STORAGE_LOCATION as rt, ACTION_LOCATION as de, getCurrentGeoLocation as at, convertLatitudeToDMS as st, convertLongitudeToDMS as nt, PROFILE_TITLE as ot, LOG_OUT as me } from "./index.
|
|
2
|
+
import { E as X, S as Oe, O, i$1 as _e, N as Be, p as ze, o as Ve, g as A, CARDS as C, renderDataAsList as V, pluralize as q, ABOUT_TITLE as Pe, MODEL_GPT4 as Fe, numberFormatter as $e, durationFormatter as ge, NA as Ge, ROLE_ASSISTANT as Ue, extractAverage as je, GPT4_MAX_TOKENS as Ke, dr as G, STATS as Ce, b as oe, j as D, x as ce, LOCAL_STORAGE_PREFIX as Q, LOCAL_STORAGE_SORT as Ye, ACTION_RESET as We, ACTION_RESTORE as Xe, truncate as Je, ACTION_SORT as ae, LOCAL_STORAGE_SEARCH as qe, G as Qe, ACTION_SEARCH as Ze, HISTORY_TITLE as et, LOCAL_STORAGE_CHAT_DETAILS as tt, LOCAL_STORAGE_LOCATION as rt, ACTION_LOCATION as de, getCurrentGeoLocation as at, convertLatitudeToDMS as st, convertLongitudeToDMS as nt, PROFILE_TITLE as ot, LOG_OUT as me } from "./index.zwPPEvIR.js";
|
|
3
3
|
import * as le from "react";
|
|
4
4
|
import ct, { useId as be, forwardRef as Ne, useState as y, useRef as P, useContext as M, useEffect as R, Suspense as lt, lazy as it } from "react";
|
|
5
|
-
import { g as dt, AppContext as U, serviceCall as ee, SERVICE_TYPES as te, HistoryContext as ye, E as Z, k as v, et as mt, at as ut, lt as se, J as H, ct as ht, st as pt, rt as ft } from "./useLocalStorage.
|
|
5
|
+
import { g as dt, AppContext as U, serviceCall as ee, SERVICE_TYPES as te, HistoryContext as ye, E as Z, k as v, et as mt, at as ut, lt as se, J as H, ct as ht, st as pt, rt as ft } from "./useLocalStorage.BhJXBYm7.js";
|
|
6
6
|
import S from "clsx";
|
|
7
7
|
import { useFloatingTree as Te, useFloatingNodeId as gt, useListItem as ke, useFloating as Ct, offset as bt, flip as Nt, shift as yt, autoUpdate as Tt, useClick as kt, useRole as St, useDismiss as wt, useListNavigation as xt, useTypeahead as Et, useInteractions as vt, useMergeRefs as Se, FloatingNode as At, FloatingList as It, FloatingPortal as Ht, FloatingFocusManager as Mt, FloatingTree as Rt } from "@floating-ui/react";
|
|
8
8
|
function Lt(e) {
|
|
@@ -299,7 +299,7 @@ const _t = ({ className: e, ...r }) => {
|
|
|
299
299
|
header: "p-4 mb-0",
|
|
300
300
|
close: "p-4"
|
|
301
301
|
}), j = (e) => it(
|
|
302
|
-
() => import("./index.DruzEDnN.
|
|
302
|
+
() => import("./index.DruzEDnN.CBkxdLma.js").then((r) => ({
|
|
303
303
|
default: r[e]
|
|
304
304
|
}))
|
|
305
305
|
), Vt = j("Modal"), Pt = j("ModalClose"), Ft = j("ModalContent"), $t = j("ModalDescription"), Gt = j("ModalHeading"), K = ({
|
|
@@ -703,8 +703,8 @@ const cr = ({ stats: e }) => {
|
|
|
703
703
|
header: C.ABOUT.TITLE_CLIENT,
|
|
704
704
|
className: "prose-dark dark:prose-lighter",
|
|
705
705
|
children: V(o, {
|
|
706
|
-
[C.ABOUT.VERSION]: "3.2.
|
|
707
|
-
[C.ABOUT.BUILD_TIMESTAMP]: "07/
|
|
706
|
+
[C.ABOUT.VERSION]: "3.2.2",
|
|
707
|
+
[C.ABOUT.BUILD_TIMESTAMP]: "07/09/2024 03:55 PM EDT"
|
|
708
708
|
})
|
|
709
709
|
}
|
|
710
710
|
) }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _i } from "react/jsx-runtime";
|
|
2
|
-
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.
|
|
2
|
+
import { convert as Si, getDefaultExportFromCjs as Ni, visit as ki, find as Ti, parse as z0, parse$1 as P0, normalize as F0, svg as Mi, html as Ai, visitParents as Oi, SKIP as Ri, longestStreak as Ci, factorySpace as Xt, markdownLineEnding as xt, Markdown as Ii, remarkGfm as Di } from "./LazyMessageAssistant.B7gvwGML.js";
|
|
3
3
|
const U0 = (
|
|
4
4
|
// Note: overloads like this are needed to support optional generics.
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as He, jsx as re, Fragment as or } from "react/jsx-runtime";
|
|
2
|
-
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.
|
|
3
|
-
import { AppContext as Ei, E as Ai } from "./useLocalStorage.
|
|
2
|
+
import { c$1 as ot, S as at, LOCAL_STORAGE_PREFIX as wi, LOCAL_STORAGE_CHAT_DETAILS as Si, durationFormatter as Ci } from "./index.zwPPEvIR.js";
|
|
3
|
+
import { AppContext as Ei, E as Ai } from "./useLocalStorage.BhJXBYm7.js";
|
|
4
4
|
import { lazy as Ii, useContext as Ti, Suspense as Pi } from "react";
|
|
5
|
-
import { T as ut } from "./App.
|
|
5
|
+
import { T as ut } from "./App.llFW8bC9.js";
|
|
6
6
|
import cn from "clsx";
|
|
7
7
|
const Li = ({
|
|
8
8
|
spinnerRef: e,
|
|
@@ -8618,7 +8618,7 @@ function sf(e) {
|
|
|
8618
8618
|
i.push(af(n)), o.push(Tc()), l.push(Pc(n));
|
|
8619
8619
|
}
|
|
8620
8620
|
const cf = Ii(
|
|
8621
|
-
() => import("./LazyMarkdownWithExtra.
|
|
8621
|
+
() => import("./LazyMarkdownWithExtra.BaT61Fa1.js")
|
|
8622
8622
|
), In = {
|
|
8623
8623
|
MODEL: "Model",
|
|
8624
8624
|
PLUGIN: "Plugin",
|
|
@@ -3,7 +3,7 @@ import A from "clsx";
|
|
|
3
3
|
import * as c from "react";
|
|
4
4
|
import { useRef as C, useReducer as M, useEffect as _, useId as x } from "react";
|
|
5
5
|
import { useMergeRefs as S, FloatingPortal as F, FloatingOverlay as O, FloatingFocusManager as k, useFloating as P, useClick as L, useDismiss as V, useRole as B, useInteractions as U } from "@floating-ui/react";
|
|
6
|
-
import { S as j } from "./index.
|
|
6
|
+
import { S as j } from "./index.zwPPEvIR.js";
|
|
7
7
|
const b = "SET_ANNOUNCEMENT", w = "CLEAR_ANNOUNCEMENT", q = {
|
|
8
8
|
alert: null,
|
|
9
9
|
alertdialog: null,
|