@versini/sassysaint 6.5.1 → 6.6.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/{App.DxiuLsPO.js → App.BNzZ9HLl.js} +3 -3
- package/dist/chunks/{MarkdownWithExtra.CKTsvc8P.js → MarkdownWithExtra.DBJMxR-V.js} +2 -2
- package/dist/chunks/{MessageAssistant.75LORi2z.js → MessageAssistant.D8Ii78qu.js} +3 -3
- package/dist/chunks/{index.4ftoNCsq.js → index.B6PRlAKt.js} +117 -117
- package/dist/chunks/{index.B59kJMY8.js → index.CsiyFcE6.js} +328 -325
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as O } from "react/jsx-runtime";
|
|
2
|
-
import { f as $, un as V, R as z, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as we, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Ze, re as oe, ACTION_RESET as Je, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, L as q, j as P, l as Ie, durationFormatter as
|
|
3
|
-
import { i as me, useServerCapabilities as
|
|
4
|
-
import
|
|
2
|
+
import { f as $, un as V, R as z, CARDS as N, renderDataAsList as de, pluralize as ue, ABOUT_TITLE as Qe, INFINITE_SCROLL_LIMIT as we, INFINITE_SCROLL_THRESHOLD as ve, LOCAL_STORAGE_PREFIX as ke, LOCAL_STORAGE_SORT as Ze, re as oe, ACTION_RESET as Je, ACTION_RESTORE as et, ACTION_SORT as Ae, LOCAL_STORAGE_SEARCH as tt, HISTORY_TITLE as rt, fe as be, C as X, ACTION_SEARCH as nt, debounce as at, M as ot, isElectron as st, L as q, j as P, l as Ie, durationFormatter as lt, PROFILE_TITLE as ct, PROMPTS_DESCRIPTION as it, DEFAULT_AI_ENGINE as dt, LOCAL_STORAGE_CHAT_DETAILS as ut, SETTINGS_TITLE as mt, ENGINE_OPENAI as W, ENGINE_ANTHROPIC as ee, APP_NAME as ht, getCurrentGeoLocation as ft, LOG_OUT as _e } from "./index.CsiyFcE6.js";
|
|
3
|
+
import { i as me, useServerCapabilities as pt, Ze as ce, HistoryContext as Me, E as Ce, ConfirmationPanel as Pe, Ue as gt, je as yt, Fe as ge, Le as M, De as bt, $e as xt, p as kt, z as Ct, We as Et, serviceCall as se, SERVICE_TYPES as le, B as te, AppContext as Oe, useChatsHistory as Tt, useUserChatStats as Nt, useUserPreferences as ze, m as St, _e as wt, me as vt, R as re, P as At } from "./App.BNzZ9HLl.js";
|
|
4
|
+
import It, { useRef as v, useState as C, useContext as he, useCallback as Be, useEffect as F, Fragment as _t, useLayoutEffect as ne, useMemo as He, useId as Rt, useReducer as Lt } from "react";
|
|
5
5
|
import y from "clsx";
|
|
6
|
-
const
|
|
6
|
+
const Mt = ({
|
|
7
7
|
className: t,
|
|
8
8
|
viewBox: a,
|
|
9
9
|
title: o,
|
|
@@ -29,7 +29,7 @@ const Lt = ({
|
|
|
29
29
|
/* @__PURE__ */ e("path", { d: "M32 0h160c17.7 0 32 14.3 32 32s-14.3 32-32 32h-82.7l233.3 233.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L64 109.3V192c0 17.7-14.3 32-32 32S0 209.7 0 192V32C0 14.3 14.3 0 32 0" })
|
|
30
30
|
]
|
|
31
31
|
}
|
|
32
|
-
),
|
|
32
|
+
), Pt = ({
|
|
33
33
|
className: t,
|
|
34
34
|
viewBox: a,
|
|
35
35
|
title: o,
|
|
@@ -55,7 +55,7 @@ const Lt = ({
|
|
|
55
55
|
/* @__PURE__ */ e("path", { d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0z" })
|
|
56
56
|
]
|
|
57
57
|
}
|
|
58
|
-
),
|
|
58
|
+
), Ot = ({
|
|
59
59
|
className: t,
|
|
60
60
|
viewBox: a,
|
|
61
61
|
title: o,
|
|
@@ -81,7 +81,7 @@ const Lt = ({
|
|
|
81
81
|
/* @__PURE__ */ e("path", { 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" })
|
|
82
82
|
]
|
|
83
83
|
}
|
|
84
|
-
),
|
|
84
|
+
), zt = ({
|
|
85
85
|
className: t,
|
|
86
86
|
viewBox: a,
|
|
87
87
|
title: o,
|
|
@@ -107,7 +107,7 @@ const Lt = ({
|
|
|
107
107
|
/* @__PURE__ */ e("path", { 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" })
|
|
108
108
|
]
|
|
109
109
|
}
|
|
110
|
-
),
|
|
110
|
+
), Bt = ({
|
|
111
111
|
className: t,
|
|
112
112
|
viewBox: a,
|
|
113
113
|
title: o,
|
|
@@ -133,7 +133,7 @@ const Lt = ({
|
|
|
133
133
|
/* @__PURE__ */ e("path", { 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" })
|
|
134
134
|
]
|
|
135
135
|
}
|
|
136
|
-
),
|
|
136
|
+
), Ht = ({
|
|
137
137
|
className: t,
|
|
138
138
|
viewBox: a,
|
|
139
139
|
title: o,
|
|
@@ -159,7 +159,7 @@ const Lt = ({
|
|
|
159
159
|
/* @__PURE__ */ e("path", { 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" })
|
|
160
160
|
]
|
|
161
161
|
}
|
|
162
|
-
),
|
|
162
|
+
), Dt = ({
|
|
163
163
|
className: t,
|
|
164
164
|
viewBox: a,
|
|
165
165
|
title: o,
|
|
@@ -176,7 +176,7 @@ const Lt = ({
|
|
|
176
176
|
...r,
|
|
177
177
|
children: /* @__PURE__ */ e("path", { d: "M432 256a48 48 0 1 1-96 0 48 48 0 1 1 96 0m-160 0a48 48 0 1 1-96 0 48 48 0 1 1 96 0M64 304a48 48 0 1 1 0-96 48 48 0 1 1 0 96" })
|
|
178
178
|
}
|
|
179
|
-
),
|
|
179
|
+
), $t = ({
|
|
180
180
|
className: t,
|
|
181
181
|
viewBox: a,
|
|
182
182
|
title: o,
|
|
@@ -202,12 +202,12 @@ const Lt = ({
|
|
|
202
202
|
/* @__PURE__ */ e("path", { 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" })
|
|
203
203
|
]
|
|
204
204
|
}
|
|
205
|
-
),
|
|
205
|
+
), Vt = () => {
|
|
206
206
|
const { getAccessToken: t } = V(), a = me(), o = me(), {
|
|
207
207
|
data: n,
|
|
208
208
|
error: r,
|
|
209
209
|
isLoading: c
|
|
210
|
-
} =
|
|
210
|
+
} = pt({
|
|
211
211
|
getAccessToken: t
|
|
212
212
|
}), s = (n == null ? void 0 : n.plugins) || [], d = (n == null ? void 0 : n.version) || "", m = (n == null ? void 0 : n.models) || [];
|
|
213
213
|
return /* @__PURE__ */ i(O, { children: [
|
|
@@ -217,8 +217,8 @@ const Lt = ({
|
|
|
217
217
|
header: N.ABOUT.TITLE_CLIENT,
|
|
218
218
|
className: "prose-dark dark:prose-lighter",
|
|
219
219
|
children: de(a, {
|
|
220
|
-
[N.ABOUT.VERSION]: "6.
|
|
221
|
-
[N.ABOUT.BUILD_TIMESTAMP]: "01/
|
|
220
|
+
[N.ABOUT.VERSION]: "6.6.0",
|
|
221
|
+
[N.ABOUT.BUILD_TIMESTAMP]: "01/31/2025 02:02 PM EST"
|
|
222
222
|
})
|
|
223
223
|
}
|
|
224
224
|
) }),
|
|
@@ -235,10 +235,10 @@ const Lt = ({
|
|
|
235
235
|
}
|
|
236
236
|
)
|
|
237
237
|
] });
|
|
238
|
-
},
|
|
238
|
+
}, Ft = ({
|
|
239
239
|
open: t,
|
|
240
240
|
onOpenChange: a
|
|
241
|
-
}) => /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: Qe, children: /* @__PURE__ */ e(
|
|
241
|
+
}) => /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: Qe, children: /* @__PURE__ */ e(Vt, {}) }), Gt = async (t, a, o, n) => {
|
|
242
242
|
try {
|
|
243
243
|
const r = await se({
|
|
244
244
|
accessToken: n,
|
|
@@ -260,7 +260,7 @@ const Lt = ({
|
|
|
260
260
|
}), o(!1));
|
|
261
261
|
} catch {
|
|
262
262
|
}
|
|
263
|
-
},
|
|
263
|
+
}, Ut = ({
|
|
264
264
|
filteredHistory: t,
|
|
265
265
|
dispatch: a,
|
|
266
266
|
onOpenChange: o,
|
|
@@ -348,11 +348,11 @@ const Lt = ({
|
|
|
348
348
|
]
|
|
349
349
|
}
|
|
350
350
|
),
|
|
351
|
-
/* @__PURE__ */ i(
|
|
352
|
-
/* @__PURE__ */ e(
|
|
351
|
+
/* @__PURE__ */ i(gt, { stickyHeader: !0, stickyFooter: !0, compact: !0, children: [
|
|
352
|
+
/* @__PURE__ */ e(yt, { children: /* @__PURE__ */ i(ge, { children: [
|
|
353
353
|
/* @__PURE__ */ e(M, { className: "sr-only", children: "Row" }),
|
|
354
354
|
/* @__PURE__ */ e(
|
|
355
|
-
|
|
355
|
+
bt,
|
|
356
356
|
{
|
|
357
357
|
buttonClassName: "text-xs sm:text-sm",
|
|
358
358
|
cellId: "timestamp",
|
|
@@ -369,10 +369,10 @@ const Lt = ({
|
|
|
369
369
|
/* @__PURE__ */ e(M, { className: "text-xs sm:text-sm", children: "Model" }),
|
|
370
370
|
/* @__PURE__ */ e(M, { className: "text-xs sm:text-sm text-right", children: "Actions" })
|
|
371
371
|
] }) }),
|
|
372
|
-
/* @__PURE__ */ e(
|
|
372
|
+
/* @__PURE__ */ e(xt, { children: t.slice(0, p).map((u, w) => {
|
|
373
373
|
var B, H;
|
|
374
374
|
const R = u.summary || (u.messages.length > 0 ? (B = u.messages[0]) == null ? void 0 : B.content : "");
|
|
375
|
-
return ((H = u == null ? void 0 : u.messages) == null ? void 0 : H.length) > 0 ? /* @__PURE__ */ i(
|
|
375
|
+
return ((H = u == null ? void 0 : u.messages) == null ? void 0 : H.length) > 0 ? /* @__PURE__ */ i(_t, { children: [
|
|
376
376
|
w === p - ve && /* @__PURE__ */ e("tr", { ref: s }),
|
|
377
377
|
/* @__PURE__ */ i(ge, { children: [
|
|
378
378
|
/* @__PURE__ */ e(M, { children: w + 1 }),
|
|
@@ -403,8 +403,8 @@ const Lt = ({
|
|
|
403
403
|
className: "text-gray-400",
|
|
404
404
|
align: "center",
|
|
405
405
|
children: [
|
|
406
|
-
u.model && u.model.startsWith("claude") && /* @__PURE__ */ e(
|
|
407
|
-
u.model && u.model.startsWith("gpt") && /* @__PURE__ */ e(
|
|
406
|
+
u.model && u.model.startsWith("claude") && /* @__PURE__ */ e(kt, { size: "size-4 sm:size-5" }),
|
|
407
|
+
u.model && u.model.startsWith("gpt") && /* @__PURE__ */ e(Ct, { size: "size-4 sm:size-5" })
|
|
408
408
|
]
|
|
409
409
|
}
|
|
410
410
|
),
|
|
@@ -418,14 +418,14 @@ const Lt = ({
|
|
|
418
418
|
label: "Restore chat",
|
|
419
419
|
onClick: async () => {
|
|
420
420
|
const S = await c();
|
|
421
|
-
|
|
421
|
+
Gt(
|
|
422
422
|
u,
|
|
423
423
|
a,
|
|
424
424
|
o,
|
|
425
425
|
S
|
|
426
426
|
);
|
|
427
427
|
},
|
|
428
|
-
children: /* @__PURE__ */ e(
|
|
428
|
+
children: /* @__PURE__ */ e(Ht, { size: "size-3", monotone: !0 })
|
|
429
429
|
}
|
|
430
430
|
),
|
|
431
431
|
/* @__PURE__ */ e(
|
|
@@ -442,24 +442,24 @@ const Lt = ({
|
|
|
442
442
|
message: u.messages.length > 0 ? (S = u.messages[0]) == null ? void 0 : S.content : ""
|
|
443
443
|
}, f(!m);
|
|
444
444
|
},
|
|
445
|
-
children: /* @__PURE__ */ e("div", { className: "text-red-400", children: /* @__PURE__ */ e(
|
|
445
|
+
children: /* @__PURE__ */ e("div", { className: "text-red-400", children: /* @__PURE__ */ e(Pt, { size: "size-3", monotone: !0 }) })
|
|
446
446
|
}
|
|
447
447
|
)
|
|
448
448
|
] })
|
|
449
449
|
] })
|
|
450
450
|
] }, `${N.HISTORY.TITLE}-${u.id}-${w}`) : null;
|
|
451
451
|
}) }),
|
|
452
|
-
/* @__PURE__ */ e(
|
|
452
|
+
/* @__PURE__ */ e(Et, { children: /* @__PURE__ */ e(ge, { children: /* @__PURE__ */ e(M, { colSpan: 1e3, children: /* @__PURE__ */ e("div", { children: ue(
|
|
453
453
|
`${t.length} chat`,
|
|
454
454
|
t.length
|
|
455
455
|
) }) }) }) })
|
|
456
456
|
] })
|
|
457
457
|
] });
|
|
458
|
-
},
|
|
458
|
+
}, Yt = ({
|
|
459
459
|
open: t,
|
|
460
460
|
onOpenChange: a
|
|
461
461
|
}) => {
|
|
462
|
-
const { getAccessToken: o, user: n } = V(), { state: r, dispatch: c } = he(Oe), { state: s, dispatch: d } = he(Me), { data: m, mutate: f } =
|
|
462
|
+
const { getAccessToken: o, user: n } = V(), { state: r, dispatch: c } = he(Oe), { state: s, dispatch: d } = he(Me), { data: m, mutate: f } = Tt({
|
|
463
463
|
keys: [
|
|
464
464
|
n == null ? void 0 : n.username,
|
|
465
465
|
s.searchString,
|
|
@@ -520,7 +520,7 @@ const Lt = ({
|
|
|
520
520
|
}
|
|
521
521
|
) }),
|
|
522
522
|
/* @__PURE__ */ e("div", { className: "flex flex-col gap-2 sm:flex-row max-h-[60vh] min-h-[60vh]", children: /* @__PURE__ */ e(
|
|
523
|
-
|
|
523
|
+
Ut,
|
|
524
524
|
{
|
|
525
525
|
mutate: f,
|
|
526
526
|
filteredHistory: x,
|
|
@@ -529,7 +529,7 @@ const Lt = ({
|
|
|
529
529
|
}
|
|
530
530
|
) })
|
|
531
531
|
] }) });
|
|
532
|
-
},
|
|
532
|
+
}, jt = ({ stats: t }) => {
|
|
533
533
|
const { isAuthenticated: a, user: o, registeringForPasskey: n, authenticationType: r } = V(), c = me(), s = me(), d = (o == null ? void 0 : o.username) || "";
|
|
534
534
|
return a && d ? /* @__PURE__ */ i(O, { children: [
|
|
535
535
|
/* @__PURE__ */ e(
|
|
@@ -543,7 +543,7 @@ const Lt = ({
|
|
|
543
543
|
})
|
|
544
544
|
}
|
|
545
545
|
),
|
|
546
|
-
r !== ot.PASSKEY && /* @__PURE__ */ i(
|
|
546
|
+
r !== ot.PASSKEY && !st() && /* @__PURE__ */ i(
|
|
547
547
|
z,
|
|
548
548
|
{
|
|
549
549
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
@@ -573,14 +573,14 @@ const Lt = ({
|
|
|
573
573
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
574
574
|
children: de(s, {
|
|
575
575
|
[ue(N.MAIN_STATISTICS.TOTAL, t.totalChats)]: t.totalChats,
|
|
576
|
-
[N.MAIN_STATISTICS.PROCESSING_TIME]:
|
|
576
|
+
[N.MAIN_STATISTICS.PROCESSING_TIME]: lt(
|
|
577
577
|
t.averageProcessingTimes
|
|
578
578
|
)
|
|
579
579
|
})
|
|
580
580
|
}
|
|
581
581
|
)
|
|
582
582
|
] }) : null;
|
|
583
|
-
},
|
|
583
|
+
}, Kt = ({
|
|
584
584
|
open: t,
|
|
585
585
|
onOpenChange: a
|
|
586
586
|
}) => {
|
|
@@ -588,11 +588,11 @@ const Lt = ({
|
|
|
588
588
|
data: r,
|
|
589
589
|
error: c,
|
|
590
590
|
isLoading: s
|
|
591
|
-
} =
|
|
591
|
+
} = Nt({
|
|
592
592
|
keys: [n == null ? void 0 : n.username],
|
|
593
593
|
getAccessToken: o
|
|
594
594
|
});
|
|
595
|
-
return c || s ? null : /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title:
|
|
595
|
+
return c || s ? null : /* @__PURE__ */ e(ce, { open: t, onOpenChange: a, title: ct, children: /* @__PURE__ */ e(jt, { stats: r }) });
|
|
596
596
|
};
|
|
597
597
|
/*!
|
|
598
598
|
@versini/ui-textarea v3.0.13
|
|
@@ -607,14 +607,14 @@ try {
|
|
|
607
607
|
});
|
|
608
608
|
} catch {
|
|
609
609
|
}
|
|
610
|
-
const De = "av-text-area",
|
|
611
|
-
function
|
|
610
|
+
const De = "av-text-area", Wt = "av-text-area-wrapper", ye = "av-text-area-helper-text", Xt = "av-text-area__control--right", qt = "av-text-area__control--left";
|
|
611
|
+
function Qt() {
|
|
612
612
|
const t = v(!1);
|
|
613
613
|
return F(() => (t.current = !0, () => {
|
|
614
614
|
t.current = !1;
|
|
615
615
|
}), []), Be(() => t.current, []);
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Zt(t) {
|
|
618
618
|
return He(() => t.every((a) => a == null) ? () => {
|
|
619
619
|
} : (a) => {
|
|
620
620
|
t.forEach((o) => {
|
|
@@ -622,7 +622,7 @@ function Qt(t) {
|
|
|
622
622
|
});
|
|
623
623
|
}, t);
|
|
624
624
|
}
|
|
625
|
-
const
|
|
625
|
+
const Jt = {
|
|
626
626
|
x: 0,
|
|
627
627
|
y: 0,
|
|
628
628
|
width: 0,
|
|
@@ -633,7 +633,7 @@ const Zt = {
|
|
|
633
633
|
right: 0
|
|
634
634
|
};
|
|
635
635
|
function Re(t) {
|
|
636
|
-
const a =
|
|
636
|
+
const a = Qt(), o = v(0), n = v(null), [r, c] = C(Jt), s = He(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((d) => {
|
|
637
637
|
const m = d[0];
|
|
638
638
|
m && (cancelAnimationFrame(o.current), o.current = requestAnimationFrame(() => {
|
|
639
639
|
n.current && a() && c(m.contentRect);
|
|
@@ -643,7 +643,7 @@ function Re(t) {
|
|
|
643
643
|
s == null || s.disconnect(), o.current && cancelAnimationFrame(o.current);
|
|
644
644
|
}), [s, t]), [n, r];
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function er({
|
|
647
647
|
value: t,
|
|
648
648
|
defaultValue: a,
|
|
649
649
|
finalValue: o,
|
|
@@ -662,8 +662,8 @@ function Jt({
|
|
|
662
662
|
), s(!0)))();
|
|
663
663
|
}, [t, r, c]), t !== void 0 ? !c && r > 0 ? ["", n, !0] : [t, n, !0] : [d, f, !1];
|
|
664
664
|
}
|
|
665
|
-
function
|
|
666
|
-
const a =
|
|
665
|
+
function tr(t) {
|
|
666
|
+
const a = Rt();
|
|
667
667
|
if (!t)
|
|
668
668
|
return a;
|
|
669
669
|
if (typeof t == "number" || typeof t == "string")
|
|
@@ -673,7 +673,7 @@ function er(t) {
|
|
|
673
673
|
return typeof o == "number" || typeof o == "string" ? `${n}${o}` : `${n}${a}`;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT",
|
|
676
|
+
const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", rr = {
|
|
677
677
|
alert: null,
|
|
678
678
|
alertdialog: null,
|
|
679
679
|
log: "polite",
|
|
@@ -681,7 +681,7 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
681
681
|
progressbar: null,
|
|
682
682
|
status: "polite",
|
|
683
683
|
timer: "assertive"
|
|
684
|
-
},
|
|
684
|
+
}, nr = (t, a) => {
|
|
685
685
|
switch (a == null ? void 0 : a.type) {
|
|
686
686
|
case $e:
|
|
687
687
|
return {
|
|
@@ -696,7 +696,7 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
696
696
|
default:
|
|
697
697
|
return t;
|
|
698
698
|
}
|
|
699
|
-
},
|
|
699
|
+
}, ar = ({
|
|
700
700
|
onAnnouncementClear: t,
|
|
701
701
|
dispatch: a
|
|
702
702
|
}) => {
|
|
@@ -714,13 +714,13 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
714
714
|
type: $e,
|
|
715
715
|
payload: t
|
|
716
716
|
}), a && (o.current = setTimeout(
|
|
717
|
-
() =>
|
|
717
|
+
() => ar({
|
|
718
718
|
onAnnouncementClear: n,
|
|
719
719
|
dispatch: r
|
|
720
720
|
}),
|
|
721
721
|
a
|
|
722
722
|
));
|
|
723
|
-
},
|
|
723
|
+
}, or = ({
|
|
724
724
|
children: t,
|
|
725
725
|
announcementTimeoutRef: a,
|
|
726
726
|
announcementDelay: o,
|
|
@@ -743,7 +743,7 @@ const $e = "SET_ANNOUNCEMENT", Ve = "CLEAR_ANNOUNCEMENT", tr = {
|
|
|
743
743
|
dispatch: s
|
|
744
744
|
});
|
|
745
745
|
};
|
|
746
|
-
function
|
|
746
|
+
function sr({
|
|
747
747
|
children: t,
|
|
748
748
|
className: a,
|
|
749
749
|
politeness: o,
|
|
@@ -754,12 +754,12 @@ function or({
|
|
|
754
754
|
visible: d,
|
|
755
755
|
...m
|
|
756
756
|
}) {
|
|
757
|
-
const f = v(null), p = v(null), [b, x] =
|
|
757
|
+
const f = v(null), p = v(null), [b, x] = Lt(nr, {
|
|
758
758
|
announcement: null
|
|
759
759
|
});
|
|
760
760
|
let l = o;
|
|
761
|
-
typeof l > "u" && (l = n ?
|
|
762
|
-
|
|
761
|
+
typeof l > "u" && (l = n ? rr[n] : "assertive"), F(() => {
|
|
762
|
+
or({
|
|
763
763
|
announcementTimeoutRef: f,
|
|
764
764
|
announcementDelay: r,
|
|
765
765
|
children: t,
|
|
@@ -801,19 +801,19 @@ try {
|
|
|
801
801
|
});
|
|
802
802
|
} catch {
|
|
803
803
|
}
|
|
804
|
-
const
|
|
804
|
+
const lr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", cr = ({ mode: t }) => y({
|
|
805
805
|
"bg-surface-darker text-copy-lighter caret-copy-light": t === "dark",
|
|
806
806
|
"bg-surface-lighter text-copy-dark caret-copy-dark": t === "light",
|
|
807
807
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": t === "system",
|
|
808
808
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": t === "alt-system"
|
|
809
|
-
}),
|
|
809
|
+
}), ir = ({
|
|
810
810
|
focusMode: t
|
|
811
811
|
}) => y("focus:outline focus:outline-2 focus:outline-offset-2", {
|
|
812
812
|
"focus:outline-focus-dark": t === "dark",
|
|
813
813
|
"focus:outline-focus-light": t === "light",
|
|
814
814
|
"focus:outline-focus-light dark:focus:outline-focus-dark": t === "alt-system",
|
|
815
815
|
"focus:outline-focus-dark dark:focus:outline-focus-light": t === "system"
|
|
816
|
-
}),
|
|
816
|
+
}), dr = ({
|
|
817
817
|
noBorder: t,
|
|
818
818
|
error: a
|
|
819
819
|
}) => y("border-2", {
|
|
@@ -821,7 +821,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
821
821
|
"focus:border-border-dark": !t && a,
|
|
822
822
|
"border-border-error-dark": !t && a,
|
|
823
823
|
"border-transparent": t
|
|
824
|
-
}),
|
|
824
|
+
}), ur = ({
|
|
825
825
|
disabled: t,
|
|
826
826
|
raw: a,
|
|
827
827
|
error: o,
|
|
@@ -860,7 +860,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
860
860
|
"text-copy-medium dark:text-copy-error-dark": n === "alt-system"
|
|
861
861
|
}
|
|
862
862
|
);
|
|
863
|
-
},
|
|
863
|
+
}, mr = ({
|
|
864
864
|
error: t,
|
|
865
865
|
raw: a,
|
|
866
866
|
mode: o,
|
|
@@ -887,7 +887,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
887
887
|
"text-copy-error-dark dark:text-copy-error-light": o === "system",
|
|
888
888
|
"dark:text-copy-error-dark text-copy-error-light": o === "alt-system"
|
|
889
889
|
});
|
|
890
|
-
},
|
|
890
|
+
}, hr = ({
|
|
891
891
|
className: t,
|
|
892
892
|
textAreaClassName: a,
|
|
893
893
|
raw: o,
|
|
@@ -901,34 +901,34 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
901
901
|
}) => {
|
|
902
902
|
const p = o ? t : y(
|
|
903
903
|
"relative flex w-full flex-col justify-center",
|
|
904
|
-
|
|
904
|
+
Wt,
|
|
905
905
|
t
|
|
906
906
|
), b = o ? y(a) : y(
|
|
907
907
|
De,
|
|
908
908
|
a,
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
909
|
+
lr(),
|
|
910
|
+
cr({ mode: d }),
|
|
911
|
+
ir({ focusMode: n }),
|
|
912
|
+
dr({
|
|
913
913
|
noBorder: c,
|
|
914
914
|
error: s
|
|
915
915
|
}),
|
|
916
916
|
{
|
|
917
917
|
"disabled:cursor-not-allowed disabled:opacity-50": r
|
|
918
918
|
}
|
|
919
|
-
), x = o ? void 0 : "sr-only", l =
|
|
919
|
+
), x = o ? void 0 : "sr-only", l = ur({
|
|
920
920
|
disabled: r,
|
|
921
921
|
raw: o,
|
|
922
922
|
error: s,
|
|
923
923
|
mode: d,
|
|
924
924
|
rightElement: f,
|
|
925
925
|
leftElement: m
|
|
926
|
-
}), h =
|
|
926
|
+
}), h = mr({
|
|
927
927
|
error: s,
|
|
928
928
|
raw: o,
|
|
929
929
|
mode: d,
|
|
930
930
|
disabled: r
|
|
931
|
-
}), T = o ? void 0 : y(
|
|
931
|
+
}), T = o ? void 0 : y(Xt, "absolute"), E = o ? void 0 : y(qt, "absolute");
|
|
932
932
|
return {
|
|
933
933
|
wrapper: p,
|
|
934
934
|
textArea: b,
|
|
@@ -938,7 +938,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
938
938
|
rightElement: T,
|
|
939
939
|
leftElement: E
|
|
940
940
|
};
|
|
941
|
-
},
|
|
941
|
+
}, fr = ({
|
|
942
942
|
scrollHeight: t,
|
|
943
943
|
currentHeight: a,
|
|
944
944
|
currentLabelOffset: o = 0,
|
|
@@ -954,7 +954,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
954
954
|
helperTextOffset: c,
|
|
955
955
|
scrollHeight: t
|
|
956
956
|
};
|
|
957
|
-
}, xe =
|
|
957
|
+
}, xe = It.forwardRef(
|
|
958
958
|
({
|
|
959
959
|
id: t,
|
|
960
960
|
name: a,
|
|
@@ -980,9 +980,9 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
980
980
|
...R
|
|
981
981
|
}, B) => {
|
|
982
982
|
var H;
|
|
983
|
-
const S = v(null), ie =
|
|
983
|
+
const S = v(null), ie = Zt([B, S]), [k, _] = Re(), [Q, G] = Re(), K = v(80), U = v(-25), L = v(null), Z = v(30), J = v(null), Y = tr({ id: t, prefix: `${De}-` }), [Ee, Fe] = C(0), [Te, Ge] = C(0), [Ue, Ne] = C(
|
|
984
984
|
!!(!T && h)
|
|
985
|
-
), Ye = `${a} error, ${h}`, j =
|
|
985
|
+
), Ye = `${a} error, ${h}`, j = hr({
|
|
986
986
|
className: c,
|
|
987
987
|
textAreaClassName: s,
|
|
988
988
|
error: n,
|
|
@@ -993,7 +993,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
993
993
|
mode: d,
|
|
994
994
|
rightElement: !!E,
|
|
995
995
|
leftElement: !!g
|
|
996
|
-
}), [D, je] =
|
|
996
|
+
}), [D, je] = er({
|
|
997
997
|
value: f,
|
|
998
998
|
initialControlledDelay: 20,
|
|
999
999
|
defaultValue: p,
|
|
@@ -1028,7 +1028,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1028
1028
|
}, [D, r]), ne(() => {
|
|
1029
1029
|
var A, Se;
|
|
1030
1030
|
if (!r && S && S.current && D !== void 0) {
|
|
1031
|
-
const { labelOffset: fe, helperTextOffset: pe, scrollHeight: qe } =
|
|
1031
|
+
const { labelOffset: fe, helperTextOffset: pe, scrollHeight: qe } = fr({
|
|
1032
1032
|
scrollHeight: S.current.scrollHeight,
|
|
1033
1033
|
currentHeight: K.current,
|
|
1034
1034
|
currentLabelOffset: U.current,
|
|
@@ -1117,7 +1117,7 @@ const sr = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
|
|
|
1117
1117
|
children: E
|
|
1118
1118
|
}
|
|
1119
1119
|
),
|
|
1120
|
-
n && h && /* @__PURE__ */ e(
|
|
1120
|
+
n && h && /* @__PURE__ */ e(sr, { politeness: "polite", clearAnnouncementDelay: 500, children: Ye })
|
|
1121
1121
|
] });
|
|
1122
1122
|
}
|
|
1123
1123
|
);
|
|
@@ -1135,7 +1135,7 @@ try {
|
|
|
1135
1135
|
});
|
|
1136
1136
|
} catch {
|
|
1137
1137
|
}
|
|
1138
|
-
const
|
|
1138
|
+
const pr = "av-toggle", gr = () => y("peer", "h-6", "w-11", "rounded-full"), yr = ({
|
|
1139
1139
|
focusMode: t
|
|
1140
1140
|
}) => y(
|
|
1141
1141
|
"peer-focus:outline",
|
|
@@ -1147,14 +1147,14 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1147
1147
|
"peer-focus:outline-focus-light dark:peer-focus:outline-focus-dark": t === "alt-system",
|
|
1148
1148
|
"peer-focus:outline-focus-dark dark:peer-focus:outline-focus-light": t === "system"
|
|
1149
1149
|
}
|
|
1150
|
-
),
|
|
1150
|
+
), br = () => y(
|
|
1151
1151
|
"peer-checked:after:translate-x-full",
|
|
1152
1152
|
// background color when checked
|
|
1153
1153
|
"peer-checked:bg-violet-500",
|
|
1154
1154
|
// knob circle and border color when checked
|
|
1155
1155
|
"peer-checked:after:bg-white",
|
|
1156
1156
|
"peer-checked:after:border-white"
|
|
1157
|
-
),
|
|
1157
|
+
), xr = () => y(
|
|
1158
1158
|
"after:left-[2px]",
|
|
1159
1159
|
"after:top-[2px]",
|
|
1160
1160
|
"after:border",
|
|
@@ -1166,7 +1166,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1166
1166
|
"after:rounded-full",
|
|
1167
1167
|
"after:transition-all",
|
|
1168
1168
|
"after:content-['']"
|
|
1169
|
-
),
|
|
1169
|
+
), kr = ({
|
|
1170
1170
|
mode: t,
|
|
1171
1171
|
noBorder: a
|
|
1172
1172
|
}) => y({
|
|
@@ -1175,7 +1175,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1175
1175
|
"border-border-light bg-surface-darker": t === "dark",
|
|
1176
1176
|
"border-border-light bg-surface-darker dark:border-border-dark dark:bg-surface-medium": t === "alt-system",
|
|
1177
1177
|
"border-border-dark bg-surface-medium dark:border-border-light dark:bg-surface-darker": t === "system"
|
|
1178
|
-
}),
|
|
1178
|
+
}), Cr = ({
|
|
1179
1179
|
mode: t,
|
|
1180
1180
|
labelHidden: a
|
|
1181
1181
|
}) => a ? "sr-only" : y("ml-2 text-sm", {
|
|
@@ -1183,11 +1183,11 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1183
1183
|
"text-copy-lighter": t === "dark",
|
|
1184
1184
|
"text-copy-lighter dark:text-copy-dark": t === "alt-system",
|
|
1185
1185
|
"text-copy-dark dark:text-copy-lighter": t === "system"
|
|
1186
|
-
}),
|
|
1187
|
-
|
|
1186
|
+
}), Er = ({ className: t }) => y(
|
|
1187
|
+
pr,
|
|
1188
1188
|
"relative flex cursor-pointer items-center",
|
|
1189
1189
|
t
|
|
1190
|
-
),
|
|
1190
|
+
), Tr = ({
|
|
1191
1191
|
mode: t,
|
|
1192
1192
|
focusMode: a,
|
|
1193
1193
|
labelHidden: o,
|
|
@@ -1195,15 +1195,15 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1195
1195
|
noBorder: r
|
|
1196
1196
|
}) => ({
|
|
1197
1197
|
toggle: y(
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1198
|
+
gr(),
|
|
1199
|
+
kr({ mode: t, noBorder: r }),
|
|
1200
|
+
yr({ focusMode: a }),
|
|
1201
|
+
xr(),
|
|
1202
|
+
br()
|
|
1203
1203
|
),
|
|
1204
|
-
label:
|
|
1204
|
+
label: Cr({ mode: t, labelHidden: o }),
|
|
1205
1205
|
input: "peer sr-only",
|
|
1206
|
-
wrapper:
|
|
1206
|
+
wrapper: Er({ className: n })
|
|
1207
1207
|
}), ae = ({
|
|
1208
1208
|
checked: t = !1,
|
|
1209
1209
|
onChange: a,
|
|
@@ -1215,7 +1215,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1215
1215
|
className: d,
|
|
1216
1216
|
noBorder: m = !1
|
|
1217
1217
|
}) => {
|
|
1218
|
-
const f =
|
|
1218
|
+
const f = Tr({
|
|
1219
1219
|
mode: c,
|
|
1220
1220
|
focusMode: s,
|
|
1221
1221
|
labelHidden: n,
|
|
@@ -1238,7 +1238,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1238
1238
|
/* @__PURE__ */ e("div", { className: f.toggle }),
|
|
1239
1239
|
/* @__PURE__ */ e("span", { className: f.label, children: o })
|
|
1240
1240
|
] });
|
|
1241
|
-
},
|
|
1241
|
+
}, Nr = ({
|
|
1242
1242
|
open: t,
|
|
1243
1243
|
onOpenChange: a
|
|
1244
1244
|
}) => {
|
|
@@ -1333,7 +1333,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1333
1333
|
}
|
|
1334
1334
|
),
|
|
1335
1335
|
children: [
|
|
1336
|
-
/* @__PURE__ */ e("p", { children:
|
|
1336
|
+
/* @__PURE__ */ e("p", { children: it }),
|
|
1337
1337
|
m.prompts && m.prompts.map((l) => /* @__PURE__ */ i(
|
|
1338
1338
|
z,
|
|
1339
1339
|
{
|
|
@@ -1418,7 +1418,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1418
1418
|
]
|
|
1419
1419
|
}
|
|
1420
1420
|
);
|
|
1421
|
-
},
|
|
1421
|
+
}, Sr = ({
|
|
1422
1422
|
open: t,
|
|
1423
1423
|
onOpenChange: a
|
|
1424
1424
|
}) => {
|
|
@@ -1432,8 +1432,8 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1432
1432
|
getAccessToken: o
|
|
1433
1433
|
}), [m, f] = C(!1), [p, b] = C({
|
|
1434
1434
|
loadingLocation: !1
|
|
1435
|
-
}), [x, l] = C(""), [h, T] = C(""), [E, g] = C(
|
|
1436
|
-
key: ke +
|
|
1435
|
+
}), [x, l] = C(""), [h, T] = C(""), [E, g] = C(dt), [I, u] = Ce({
|
|
1436
|
+
key: ke + ut,
|
|
1437
1437
|
initialValue: !1
|
|
1438
1438
|
}), w = (k) => {
|
|
1439
1439
|
u(k);
|
|
@@ -1459,7 +1459,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1459
1459
|
loadingLocation: !0
|
|
1460
1460
|
}), T("...");
|
|
1461
1461
|
try {
|
|
1462
|
-
const k = Date.now(), _ = await
|
|
1462
|
+
const k = Date.now(), _ = await ft(), Q = await se({
|
|
1463
1463
|
accessToken: await o(),
|
|
1464
1464
|
type: le.GET_LOCATION,
|
|
1465
1465
|
params: {
|
|
@@ -1492,7 +1492,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1492
1492
|
{
|
|
1493
1493
|
open: t,
|
|
1494
1494
|
onOpenChange: ie,
|
|
1495
|
-
title:
|
|
1495
|
+
title: mt,
|
|
1496
1496
|
footer: /* @__PURE__ */ i(
|
|
1497
1497
|
q,
|
|
1498
1498
|
{
|
|
@@ -1526,7 +1526,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1526
1526
|
}
|
|
1527
1527
|
),
|
|
1528
1528
|
children: /* @__PURE__ */ i(O, { children: [
|
|
1529
|
-
m && /* @__PURE__ */ e(
|
|
1529
|
+
m && /* @__PURE__ */ e(Nr, { open: m, onOpenChange: f }),
|
|
1530
1530
|
/* @__PURE__ */ i(
|
|
1531
1531
|
z,
|
|
1532
1532
|
{
|
|
@@ -1575,7 +1575,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1575
1575
|
size: "small",
|
|
1576
1576
|
onClick: S,
|
|
1577
1577
|
labelLeft: "Edit Custom Prompts",
|
|
1578
|
-
children: /* @__PURE__ */ e(
|
|
1578
|
+
children: /* @__PURE__ */ e(St, { size: "size-3", monotone: !0 })
|
|
1579
1579
|
}
|
|
1580
1580
|
)
|
|
1581
1581
|
]
|
|
@@ -1589,7 +1589,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1589
1589
|
children: [
|
|
1590
1590
|
/* @__PURE__ */ i("p", { className: "text-sm", children: [
|
|
1591
1591
|
"What would you like ",
|
|
1592
|
-
/* @__PURE__ */ e("em", { children:
|
|
1592
|
+
/* @__PURE__ */ e("em", { children: ht }),
|
|
1593
1593
|
" to know about you to provide better responses?"
|
|
1594
1594
|
] }),
|
|
1595
1595
|
/* @__PURE__ */ e(
|
|
@@ -1648,7 +1648,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1648
1648
|
] })
|
|
1649
1649
|
}
|
|
1650
1650
|
);
|
|
1651
|
-
},
|
|
1651
|
+
}, Rr = () => {
|
|
1652
1652
|
const { logout: t } = V(), { state: a } = he(Oe), [o, n] = C(!1), [r, c] = C(!1), [s, d] = C(!1), [m, f] = C(!1), [p, b] = C(!1), x = () => {
|
|
1653
1653
|
n(!o);
|
|
1654
1654
|
}, l = () => {
|
|
@@ -1675,22 +1675,22 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1675
1675
|
children: /* @__PURE__ */ e("p", { children: "Are you sure you want to log out?" })
|
|
1676
1676
|
}
|
|
1677
1677
|
),
|
|
1678
|
-
/* @__PURE__ */ e(
|
|
1679
|
-
/* @__PURE__ */ e(
|
|
1680
|
-
s && /* @__PURE__ */ e(
|
|
1681
|
-
/* @__PURE__ */ e(
|
|
1678
|
+
/* @__PURE__ */ e(Kt, { open: o, onOpenChange: n }),
|
|
1679
|
+
/* @__PURE__ */ e(Sr, { open: r, onOpenChange: c }),
|
|
1680
|
+
s && /* @__PURE__ */ e(Yt, { open: s, onOpenChange: d }),
|
|
1681
|
+
/* @__PURE__ */ e(Ft, { open: m, onOpenChange: f }),
|
|
1682
1682
|
/* @__PURE__ */ e("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ e(q, { alignHorizontal: "flex-end", alignVertical: "center", children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(q, { children: /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
|
|
1683
|
-
|
|
1683
|
+
wt,
|
|
1684
1684
|
{
|
|
1685
1685
|
label: "Profile, Settings, etc.",
|
|
1686
1686
|
mode: "light",
|
|
1687
1687
|
placement: "left",
|
|
1688
1688
|
trigger: /* @__PURE__ */ i(
|
|
1689
|
-
|
|
1689
|
+
vt,
|
|
1690
1690
|
{
|
|
1691
1691
|
mode: "dark",
|
|
1692
1692
|
focusMode: "light",
|
|
1693
|
-
trigger: /* @__PURE__ */ e(oe, { label: "Settings", children: /* @__PURE__ */ e(
|
|
1693
|
+
trigger: /* @__PURE__ */ e(oe, { label: "Settings", children: /* @__PURE__ */ e(Dt, {}) }),
|
|
1694
1694
|
defaultPlacement: "bottom-end",
|
|
1695
1695
|
children: [
|
|
1696
1696
|
/* @__PURE__ */ e(
|
|
@@ -1698,7 +1698,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1698
1698
|
{
|
|
1699
1699
|
label: "Profile",
|
|
1700
1700
|
onClick: x,
|
|
1701
|
-
icon: /* @__PURE__ */ e(
|
|
1701
|
+
icon: /* @__PURE__ */ e(Bt, {})
|
|
1702
1702
|
}
|
|
1703
1703
|
),
|
|
1704
1704
|
/* @__PURE__ */ e(
|
|
@@ -1706,7 +1706,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1706
1706
|
{
|
|
1707
1707
|
label: "Settings",
|
|
1708
1708
|
onClick: l,
|
|
1709
|
-
icon: /* @__PURE__ */ e(
|
|
1709
|
+
icon: /* @__PURE__ */ e($t, {})
|
|
1710
1710
|
}
|
|
1711
1711
|
),
|
|
1712
1712
|
/* @__PURE__ */ e(
|
|
@@ -1714,7 +1714,7 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1714
1714
|
{
|
|
1715
1715
|
label: "History",
|
|
1716
1716
|
onClick: h,
|
|
1717
|
-
icon: /* @__PURE__ */ e(
|
|
1717
|
+
icon: /* @__PURE__ */ e(Ot, {})
|
|
1718
1718
|
}
|
|
1719
1719
|
),
|
|
1720
1720
|
/* @__PURE__ */ e(
|
|
@@ -1722,17 +1722,17 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1722
1722
|
{
|
|
1723
1723
|
label: "About",
|
|
1724
1724
|
onClick: T,
|
|
1725
|
-
icon: /* @__PURE__ */ e(
|
|
1725
|
+
icon: /* @__PURE__ */ e(zt, {})
|
|
1726
1726
|
}
|
|
1727
1727
|
),
|
|
1728
1728
|
a && a.id && !a.isComponent && /* @__PURE__ */ i(O, { children: [
|
|
1729
|
-
/* @__PURE__ */ e(
|
|
1729
|
+
/* @__PURE__ */ e(At, {}),
|
|
1730
1730
|
/* @__PURE__ */ e(
|
|
1731
1731
|
re,
|
|
1732
1732
|
{
|
|
1733
1733
|
label: "Log out",
|
|
1734
1734
|
onClick: E,
|
|
1735
|
-
icon: /* @__PURE__ */ e("div", { className: "text-red-700", children: /* @__PURE__ */ e(
|
|
1735
|
+
icon: /* @__PURE__ */ e("div", { className: "text-red-700", children: /* @__PURE__ */ e(Mt, { monotone: !0 }) })
|
|
1736
1736
|
}
|
|
1737
1737
|
)
|
|
1738
1738
|
] })
|
|
@@ -1744,5 +1744,5 @@ const fr = "av-toggle", pr = () => y("peer", "h-6", "w-11", "rounded-full"), gr
|
|
|
1744
1744
|
] });
|
|
1745
1745
|
};
|
|
1746
1746
|
export {
|
|
1747
|
-
|
|
1747
|
+
Rr as default
|
|
1748
1748
|
};
|