@burdenoff/fe-libs 2026.1113.10 → 2026.1114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -8
- package/dist/node_modules/pdfjs-dist/build/pdf.js +21 -0
- package/dist/node_modules/pdfjs-dist/build/pdf.worker.min.js +21 -0
- package/dist/platform-pages/AcceptShareRoute.js +15 -16
- package/dist/platform-pages/AffiliatesPage.js +4 -5
- package/dist/shared/assistant/createSandboxAssistantTransport.js +0 -1
- package/dist/shared/assistant/index.d.ts +3 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.js +267 -241
- package/dist/shared/assistant/ui/AssistantChatArea.js +1243 -1241
- package/dist/shared/assistant/ui/AssistantConversationList.js +253 -252
- package/dist/shared/assistant/ui/AssistantMarkdownRenderer.d.ts +4 -23
- package/dist/shared/assistant/ui/AssistantMarkdownRenderer.js +52 -55
- package/dist/shared/assistant/ui/AssistantMessageItem.js +37 -38
- package/dist/shared/assistant/ui/AssistantMessageList.js +48 -47
- package/dist/shared/assistant/ui/AssistantSpeechProvider.js +24 -25
- package/dist/shared/assistant/ui/assistantPageLayout.d.ts +13 -0
- package/dist/shared/assistant/ui/assistantPageLayout.js +8 -0
- package/dist/shared/assistant/ui/avatar/AssistantCompactAvatar.d.ts +6 -0
- package/dist/shared/assistant/ui/avatar/AssistantCompactAvatar.js +77 -71
- package/dist/shared/assistant/ui/compact/AssistantMenuView.js +130 -129
- package/dist/shared/assistant/ui/compact/AssistantPageBar.d.ts +13 -0
- package/dist/shared/assistant/ui/compact/AssistantPageBar.js +46 -0
- package/dist/shared/assistant/ui/compact/AssistantViewSwitch.d.ts +5 -0
- package/dist/shared/assistant/ui/compact/AssistantViewSwitch.js +11 -11
- package/dist/shared/assistant/ui/composer/AssistantCompactFooter.js +15 -11
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +258 -257
- package/dist/shared/assistant/ui/composer/AssistantConnectSourceItem.js +3 -3
- package/dist/shared/assistant/ui/composer/connectSource.js +1 -2
- package/dist/shared/assistant/uiActions/assistantHref.d.ts +2 -30
- package/dist/shared/assistant/uiActions/assistantHref.js +7 -43
- package/dist/shared/assistant/uiActions/assistantLinkNavigation.d.ts +12 -0
- package/dist/shared/assistant/uiActions/assistantLinkNavigation.js +42 -0
- package/dist/shared/assistant/uiActions/inAppLinks.js +9 -8
- package/dist/shared/components/ContextConversationWidget.js +6 -7
- package/dist/shared/components/assistantWidget/MessageContent.js +3 -4
- package/dist/shared/components/contextConversationWidget/Composer.js +9 -10
- package/dist/shared/components/contextConversationWidget/MessageItem.js +0 -1
- package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.js +0 -1
- package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.js +0 -1
- package/dist/shared/components/contextConversationWidget/ReplyBanner.js +0 -1
- package/dist/shared/components/contextConversationWidget/WidgetHeader.js +8 -9
- package/dist/shared/hooks/usePushDeviceRegistration.js +9 -10
- package/dist/shared/hooks/useRecordProductVisit.js +8 -9
- package/dist/shared/tours/ToursContext.js +6 -7
- package/dist/shared-assistant.js +224 -221
- package/dist/shared-hooks.js +10 -12
- package/dist/shared-plugins.js +0 -1
- package/dist/shared-providers-shell.js +7 -8
- package/dist/shared.js +83 -87
- package/dist/third-party/pdfjs-dist/ATTRIBUTION.txt +54 -0
- package/dist/third-party/pdfjs-dist/LICENSE +177 -0
- package/dist/third-party/pdfjs-dist/manifest.json +19 -0
- package/dist/utils/index.js +1 -1
- package/package.json +29 -2
- package/dist/shared/actors/index.js +0 -3
- package/dist/shared/assistant/speech/index.js +0 -6
- package/dist/shared/plugins/iframe-mount/index.js +0 -5
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { useI18n as e } from "../../providers/shell/I18nProvider.js";
|
|
2
2
|
import { useAssistantStore as t } from "../store.js";
|
|
3
3
|
import { voicePreviewText as n } from "../voice/voicePreview.js";
|
|
4
|
-
import "../speech/
|
|
5
|
-
import { HOSTED_VOICES as
|
|
6
|
-
import { speechFeed as
|
|
7
|
-
import { getSpeechEngine as a, subscribeSpeechEngine as o } from "../speech/createSpeechEngine.js";
|
|
4
|
+
import { getSpeechEngine as r, subscribeSpeechEngine as i } from "../speech/createSpeechEngine.js";
|
|
5
|
+
import { HOSTED_VOICES as a } from "../speech/hostedVoiceCatalogue.js";
|
|
6
|
+
import { speechFeed as o } from "../speech/speechFeed.js";
|
|
8
7
|
import { hasPendingReplyRequests as s, releaseReplyRequestsOutside as c, replyWantsAvatar as ee, settleReplyRequest as l, subscribeReplyRequests as u } from "../speech/replySpeechRequests.js";
|
|
9
8
|
import { chunkForSpeech as te, toSpeakableText as d } from "../voice/speakableText.js";
|
|
10
9
|
import { createPhrasePlayback as ne } from "../voice/phrasePlayback.js";
|
|
@@ -86,7 +85,7 @@ function D() {
|
|
|
86
85
|
return xe(je);
|
|
87
86
|
}
|
|
88
87
|
var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
89
|
-
let xe = Ce(
|
|
88
|
+
let xe = Ce(i, r, r), E = be ?? xe, D = ye(), { locale: O } = e(), [k, A] = Se(y, _), [j, M] = T(() => E.listVoices()), [N, Me] = T(!1), [Ne, P] = T(() => /* @__PURE__ */ new Map()), [Pe, Fe] = T(() => /* @__PURE__ */ new Set()), [Ie, Le] = T(null), F = w(0), Re = w(null), ze = w(null), I = w(void 0), L = w(null), R = w(null), z = w(/* @__PURE__ */ new Set()), B = w(null);
|
|
90
89
|
S(() => () => {
|
|
91
90
|
B.current !== null && clearTimeout(B.current);
|
|
92
91
|
}, []);
|
|
@@ -161,13 +160,13 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
161
160
|
o = E.subscribeVoices(() => s(E.listVoices())), V.current = () => {
|
|
162
161
|
a || (a = !0, clearTimeout(c), o(), V.current = null, l(e, "stopped"));
|
|
163
162
|
};
|
|
164
|
-
}, [H, E]), ct = x((e, t, n,
|
|
163
|
+
}, [H, E]), ct = x((e, t, n, r, i = !1, s, c = !1) => {
|
|
165
164
|
let u = n;
|
|
166
165
|
if (u.length === 0) {
|
|
167
166
|
let e = E.listVoices();
|
|
168
167
|
e.length > 0 && (u = e, M(e));
|
|
169
168
|
}
|
|
170
|
-
let d = $e(
|
|
169
|
+
let d = $e(r), f = oe(ce(!0, u, r, N));
|
|
171
170
|
if (f === "block") {
|
|
172
171
|
let t = D("speech.noVoiceForReply", "This reply is in {{language}}, and no {{language}} voice is installed on this device.", { language: ie(d, O) });
|
|
173
172
|
P((n) => new Map(n).set(e, t)), l(e, "declined");
|
|
@@ -175,15 +174,15 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
175
174
|
}
|
|
176
175
|
if (c && (f !== "speak" || !E.open)) return;
|
|
177
176
|
if (f === "wait-for-voices") {
|
|
178
|
-
st(e, t,
|
|
177
|
+
st(e, t, r, i, s);
|
|
179
178
|
return;
|
|
180
179
|
}
|
|
181
180
|
let p = {
|
|
182
|
-
voice: ae(u, d, K[
|
|
181
|
+
voice: ae(u, d, K[r]),
|
|
183
182
|
lang: d,
|
|
184
|
-
rate: et(
|
|
183
|
+
rate: et(r)
|
|
185
184
|
}, re = ut.current;
|
|
186
|
-
if (
|
|
185
|
+
if (i && !re.autoSpeakEnabled && !re.sessionSpeaking && ee(e)) {
|
|
187
186
|
if (E.wouldSpeakOnAvatar?.(p) !== !0) {
|
|
188
187
|
l(e, "declined");
|
|
189
188
|
return;
|
|
@@ -195,7 +194,7 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
195
194
|
let n = new Map(t);
|
|
196
195
|
return n.delete(e), n;
|
|
197
196
|
});
|
|
198
|
-
let se = K[
|
|
197
|
+
let se = K[r], le = typeof se == "string" && a.some((e) => e.name === se) && !u.some((e) => e.name === se);
|
|
199
198
|
Fe((t) => {
|
|
200
199
|
if (t.has(e) === le) return t;
|
|
201
200
|
let n = new Set(t);
|
|
@@ -206,8 +205,8 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
206
205
|
type: "start",
|
|
207
206
|
messageId: e,
|
|
208
207
|
requestId: m
|
|
209
|
-
}), ze.current =
|
|
210
|
-
let h =
|
|
208
|
+
}), ze.current = i ? m : null, i && ge(e, "ttsStarted"), b(I.current, "stopped");
|
|
209
|
+
let h = i ? void 0 : me(e);
|
|
211
210
|
I.current = h;
|
|
212
211
|
let g = s === void 0 ? te(t) : te(t, void 0, void 0, { firstChunkMaxChars: s });
|
|
213
212
|
Ve({
|
|
@@ -218,7 +217,7 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
218
217
|
c || Ve((e) => e?.requestId === m && e.index < 0 ? null : e);
|
|
219
218
|
}, Ee);
|
|
220
219
|
let _ = !1, v = (t = "ended") => {
|
|
221
|
-
_ || (_ = !0, c && F.current === m && (R.current = null,
|
|
220
|
+
_ || (_ = !0, c && F.current === m && (R.current = null, o.audio(e, t)));
|
|
222
221
|
}, ue = () => {
|
|
223
222
|
b(h, "failed"), v(), F.current === m && B.current !== null && (clearTimeout(B.current), B.current = null), l(e, "failed"), A({
|
|
224
223
|
type: "failed",
|
|
@@ -231,7 +230,7 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
231
230
|
F.current === m && b(h, "answered"), F.current === m && ze.current === m && ge(e, "firstAudio");
|
|
232
231
|
},
|
|
233
232
|
onChunkStart: (t) => {
|
|
234
|
-
y = !0, c && F.current === m && (
|
|
233
|
+
y = !0, c && F.current === m && (o.peek(e)?.final === !1 && he(e, { spokeNarration: !0 }), o.audio(e, "started")), F.current === m && B.current !== null && (clearTimeout(B.current), B.current = null), Ve((e) => e?.requestId === m ? {
|
|
235
234
|
...e,
|
|
236
235
|
index: t
|
|
237
236
|
} : F.current === m ? {
|
|
@@ -241,7 +240,7 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
241
240
|
} : e);
|
|
242
241
|
},
|
|
243
242
|
onPause: () => {
|
|
244
|
-
c && F.current === m &&
|
|
243
|
+
c && F.current === m && o.audio(e, "paused");
|
|
245
244
|
},
|
|
246
245
|
onDeviceFallback: () => {
|
|
247
246
|
F.current === m && Fe((t) => t.has(e) ? t : new Set(t).add(e));
|
|
@@ -264,21 +263,21 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
264
263
|
}
|
|
265
264
|
};
|
|
266
265
|
if (c && E.open) {
|
|
267
|
-
let
|
|
268
|
-
|
|
269
|
-
let
|
|
266
|
+
let i = E.open.bind(E);
|
|
267
|
+
o.audio(e, "queued");
|
|
268
|
+
let a = ne((e) => i(p, e), n, (e) => {
|
|
270
269
|
g = [...e], Ve((e) => e?.requestId === m ? {
|
|
271
270
|
...e,
|
|
272
271
|
chunks: g
|
|
273
272
|
} : e);
|
|
274
273
|
}, () => he(e, { speechDivergence: !0 }));
|
|
275
|
-
_ ?
|
|
274
|
+
_ ? a.cancel() : (R.current = {
|
|
276
275
|
messageId: e,
|
|
277
276
|
requestId: m,
|
|
278
|
-
locale:
|
|
279
|
-
playback:
|
|
277
|
+
locale: r,
|
|
278
|
+
playback: a,
|
|
280
279
|
notifyEnded: v
|
|
281
|
-
},
|
|
280
|
+
}, a.append(t));
|
|
282
281
|
} else E.speak(g, p, n);
|
|
283
282
|
} catch {
|
|
284
283
|
ue();
|
|
@@ -474,7 +473,7 @@ var O = ({ children: s, visible: u = !0, engine: be }) => {
|
|
|
474
473
|
E,
|
|
475
474
|
nt
|
|
476
475
|
]);
|
|
477
|
-
S(() =>
|
|
476
|
+
S(() => o.subscribe(ht), [ht]);
|
|
478
477
|
let gt = C(() => le(j, q.tag), [j, q]), _t = C(() => ae(j, q.tag, K[J]), [
|
|
479
478
|
j,
|
|
480
479
|
q,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const AssistantPageLayoutContext: import('react').Context<boolean>;
|
|
2
|
+
/** True inside a panel laid out as a page. */
|
|
3
|
+
export declare function useAssistantPageLayout(): boolean;
|
|
4
|
+
/** The page's one column (48rem), for an element that sits in it. */
|
|
5
|
+
export declare const PAGE_COLUMN = "mx-auto w-full max-w-[48rem]";
|
|
6
|
+
/**
|
|
7
|
+
* Side padding that centres a full-width scroll box's content in the column,
|
|
8
|
+
* so the scrollbar stays at the page's edge. 46.5rem: the column less the
|
|
9
|
+
* message box's own 0.75rem sides, so the messages line up with the box.
|
|
10
|
+
*/
|
|
11
|
+
export declare const PAGE_SCROLL_GUTTER = "px-[max(0.75rem,calc((100%_-_46.5rem)/2))]";
|
|
12
|
+
/** The same, for a full-surface view (☰, history, the Avatar view): its content in the column. */
|
|
13
|
+
export declare const PAGE_VIEW_GUTTER = "px-[max(0rem,calc((100%_-_48rem)/2))]";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
// src/shared/assistant/ui/assistantPageLayout.ts
|
|
3
|
+
var n = e(!1);
|
|
4
|
+
function r() {
|
|
5
|
+
return t(n);
|
|
6
|
+
}
|
|
7
|
+
var i = "mx-auto w-full max-w-[48rem]", a = "px-[max(0.75rem,calc((100%_-_46.5rem)/2))]", o = "px-[max(0rem,calc((100%_-_48rem)/2))]";
|
|
8
|
+
export { n as AssistantPageLayoutContext, i as PAGE_COLUMN, a as PAGE_SCROLL_GUTTER, o as PAGE_VIEW_GUTTER, r as useAssistantPageLayout };
|
|
@@ -17,5 +17,11 @@ export interface AssistantCompactAvatarProps {
|
|
|
17
17
|
readonly ask?: AvatarTabAsk;
|
|
18
18
|
/** The one-line footer (the standing disclaimer), the chat area's own. */
|
|
19
19
|
readonly footer: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* BOFF-13461: laid out as a page, where the Chat | Avatar switch is the page bar's (one instance, outside this view). This view then
|
|
22
|
+
* shows no switch of its own (its row stays, empty, for the voice strip's clearance), focus that has nowhere else to go goes to the
|
|
23
|
+
* bar's Avatar segment, and its content sits in the page's column.
|
|
24
|
+
*/
|
|
25
|
+
readonly switchInBar?: boolean;
|
|
20
26
|
}
|
|
21
27
|
export declare const AssistantCompactAvatar: FC<AssistantCompactAvatarProps>;
|
|
@@ -7,114 +7,120 @@ import { clearReplyRequests as a } from "../../speech/replySpeechRequests.js";
|
|
|
7
7
|
import { AvatarCompactAskBox as o } from "./AvatarCompactAskBox.js";
|
|
8
8
|
import { AvatarTabLastExchange as s } from "./AvatarTabLastExchange.js";
|
|
9
9
|
import { useAvatarTabExchange as c } from "./avatarTabExchange.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { PAGE_VIEW_GUTTER as l } from "../assistantPageLayout.js";
|
|
11
|
+
import { useEffect as u, useLayoutEffect as d, useRef as f, useState as p } from "react";
|
|
12
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
12
13
|
// src/shared/assistant/ui/avatar/AssistantCompactAvatar.tsx
|
|
13
|
-
var
|
|
14
|
-
function
|
|
14
|
+
var g = /* @__PURE__ */ new WeakMap();
|
|
15
|
+
function _() {
|
|
15
16
|
if (typeof document > "u") return !1;
|
|
16
17
|
let e = document.activeElement;
|
|
17
18
|
return e === null || e === document.body || !e.isConnected || e.hasAttribute("data-assistant-panel");
|
|
18
19
|
}
|
|
19
|
-
var
|
|
20
|
+
var v = ({ state: e, restored: t }) => {
|
|
20
21
|
let n = i(), r = e === "thinking" ? n.askThinking : e === "not-spoken" ? n.askNotSpoken : e === "cut" ? n.askCut : e === "not-heard" ? n.askNotHeard : e === "failed" ? t ? n.askFailed : n.askFailedInChat : "";
|
|
21
|
-
return /* @__PURE__ */
|
|
22
|
+
return /* @__PURE__ */ m("p", {
|
|
22
23
|
className: "sr-only",
|
|
23
24
|
"aria-live": "polite",
|
|
24
25
|
"aria-atomic": "true",
|
|
25
26
|
"data-testid": "assistant-avatar-tab-ask-live",
|
|
26
27
|
children: r
|
|
27
28
|
});
|
|
28
|
-
},
|
|
29
|
-
let
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
(
|
|
29
|
+
}, y = ({ tab: i, CompactView: y, ids: b, compact: x, shown: S, voice: C, mute: w, ask: T, footer: E, switchInBar: D = !1 }) => {
|
|
30
|
+
let O = f(null), k = f(null), A = e(), j = x.surface === "window", M = n(b);
|
|
31
|
+
d(() => (g.set(i, (g.get(i) ?? 0) + 1), i.setOpen(!0, { compact: !0 }), () => {
|
|
32
|
+
g.set(i, (g.get(i) ?? 1) - 1), queueMicrotask(() => {
|
|
33
|
+
(g.get(i) ?? 0) > 0 || (i.setOpen(!1), a());
|
|
33
34
|
});
|
|
34
35
|
}), [i]);
|
|
35
|
-
let
|
|
36
|
-
l(() => {
|
|
37
|
-
N.current !== M && (N.current = M, (E.current ?? j.current ?? document.getElementById(A.avatarTab))?.focus({ preventScroll: !0 }));
|
|
38
|
-
}, [M, A.avatarTab]);
|
|
39
|
-
let P = d(S.live);
|
|
40
|
-
l(() => {
|
|
41
|
-
let e = P.current;
|
|
42
|
-
P.current = S.live, e && !S.live && g() && (D.current ?? E.current)?.focus();
|
|
43
|
-
}, [S.live]);
|
|
44
|
-
let F = c(w?.last ?? null, w?.navigatingReplyId ?? null), I = S.live ? void 0 : w, [L, R] = f(null), z = F?.state === "failed" ? F.exchange.replyId : null, B = F?.question ?? "", V = w?.draft;
|
|
36
|
+
let N = f(null), P = x.focusRequest ?? 0, F = f(P);
|
|
45
37
|
u(() => {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
38
|
+
F.current !== P && (F.current = P, (O.current ?? N.current ?? document.getElementById(D ? b.avatarTab : M.avatarTab))?.focus({ preventScroll: !0 }));
|
|
39
|
+
}, [
|
|
40
|
+
P,
|
|
41
|
+
M.avatarTab,
|
|
42
|
+
b.avatarTab,
|
|
43
|
+
D
|
|
44
|
+
]);
|
|
45
|
+
let I = f(C.live);
|
|
46
|
+
u(() => {
|
|
47
|
+
let e = I.current;
|
|
48
|
+
I.current = C.live, e && !C.live && _() && (k.current ?? O.current)?.focus();
|
|
49
|
+
}, [C.live]);
|
|
50
|
+
let L = c(T?.last ?? null, T?.navigatingReplyId ?? null), R = C.live ? void 0 : T, [z, B] = p(null), V = L?.state === "failed" ? L.exchange.replyId : null, H = L?.question ?? "", U = T?.draft;
|
|
51
|
+
d(() => {
|
|
52
|
+
if (V === null || U === void 0 || z?.replyId === V) return;
|
|
53
|
+
let e = U.get().trim() === "";
|
|
54
|
+
e && U.set(H), B({
|
|
55
|
+
replyId: V,
|
|
50
56
|
restored: e
|
|
51
57
|
});
|
|
52
58
|
}, [
|
|
53
|
-
z,
|
|
54
|
-
B,
|
|
55
59
|
V,
|
|
56
|
-
|
|
60
|
+
H,
|
|
61
|
+
U,
|
|
62
|
+
z
|
|
57
63
|
]);
|
|
58
|
-
let
|
|
59
|
-
...
|
|
60
|
-
...
|
|
61
|
-
open:
|
|
62
|
-
toggle: () =>
|
|
64
|
+
let W = z === null || z.replyId !== V || z.restored, [G, K] = p(null), q = G ?? !j, J = {
|
|
65
|
+
...w ? { mute: w } : {},
|
|
66
|
+
...R ? { transcript: {
|
|
67
|
+
open: q,
|
|
68
|
+
toggle: () => K(!q)
|
|
63
69
|
} } : {}
|
|
64
70
|
};
|
|
65
|
-
return /* @__PURE__ */
|
|
66
|
-
className: `absolute inset-0 z-[5] flex flex-col ${
|
|
71
|
+
return /* @__PURE__ */ h("div", {
|
|
72
|
+
className: `absolute inset-0 z-[5] flex flex-col ${j ? "bg-bg-elevated" : "bg-bg-surface"}${D ? ` ${l}` : ""}`,
|
|
67
73
|
"data-testid": "assistant-avatar-tab",
|
|
68
74
|
"data-presentation": "compact",
|
|
69
|
-
"data-surface":
|
|
75
|
+
"data-surface": x.surface,
|
|
70
76
|
children: [
|
|
71
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ h("div", {
|
|
72
78
|
role: "tabpanel",
|
|
73
|
-
id:
|
|
74
|
-
"aria-labelledby":
|
|
79
|
+
id: b.avatarPanel,
|
|
80
|
+
"aria-labelledby": D ? b.avatarTab : M.avatarTab,
|
|
75
81
|
className: "flex min-h-0 flex-1 flex-col",
|
|
76
82
|
"data-testid": "assistant-avatar-tab-column",
|
|
77
|
-
children: [/* @__PURE__ */
|
|
78
|
-
shown:
|
|
79
|
-
voice:
|
|
80
|
-
leaveHintId:
|
|
81
|
-
surface:
|
|
82
|
-
onOpenSettings:
|
|
83
|
-
navigate:
|
|
84
|
-
controls:
|
|
85
|
-
switchRef:
|
|
86
|
-
}),
|
|
83
|
+
children: [/* @__PURE__ */ m(y, {
|
|
84
|
+
shown: S,
|
|
85
|
+
voice: C,
|
|
86
|
+
leaveHintId: b.leaveHint,
|
|
87
|
+
surface: x.surface,
|
|
88
|
+
onOpenSettings: x.openSettings,
|
|
89
|
+
navigate: A,
|
|
90
|
+
controls: J,
|
|
91
|
+
switchRef: N
|
|
92
|
+
}), R && q ? /* @__PURE__ */ m("div", {
|
|
87
93
|
className: "max-h-[40%] shrink-0 overflow-y-auto px-4 pb-1",
|
|
88
|
-
children: /* @__PURE__ */
|
|
89
|
-
view:
|
|
94
|
+
children: /* @__PURE__ */ m(s, {
|
|
95
|
+
view: L,
|
|
90
96
|
invite: !1,
|
|
91
|
-
restored:
|
|
92
|
-
focusAfterStop:
|
|
93
|
-
},
|
|
97
|
+
restored: W,
|
|
98
|
+
focusAfterStop: O
|
|
99
|
+
}, L?.exchange.replyId ?? "none")
|
|
94
100
|
}) : null]
|
|
95
101
|
}),
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
voiceLive:
|
|
98
|
-
children: /* @__PURE__ */
|
|
99
|
-
selected:
|
|
100
|
-
onSelect:
|
|
101
|
-
ids:
|
|
102
|
+
/* @__PURE__ */ m(r, {
|
|
103
|
+
voiceLive: C.live,
|
|
104
|
+
children: D ? null : /* @__PURE__ */ m(t, {
|
|
105
|
+
selected: x.view,
|
|
106
|
+
onSelect: x.selectView,
|
|
107
|
+
ids: b,
|
|
102
108
|
instance: "avatar"
|
|
103
109
|
})
|
|
104
110
|
}),
|
|
105
|
-
|
|
106
|
-
ask:
|
|
107
|
-
inputRef:
|
|
108
|
-
voice:
|
|
109
|
-
waveRef:
|
|
110
|
-
windowSurface:
|
|
111
|
+
R ? /* @__PURE__ */ m(o, {
|
|
112
|
+
ask: R,
|
|
113
|
+
inputRef: O,
|
|
114
|
+
voice: C,
|
|
115
|
+
waveRef: k,
|
|
116
|
+
windowSurface: j
|
|
111
117
|
}) : null,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
state:
|
|
115
|
-
restored:
|
|
118
|
+
E,
|
|
119
|
+
T ? /* @__PURE__ */ m(v, {
|
|
120
|
+
state: L?.state ?? null,
|
|
121
|
+
restored: W
|
|
116
122
|
}) : null
|
|
117
123
|
]
|
|
118
124
|
});
|
|
119
125
|
};
|
|
120
|
-
export {
|
|
126
|
+
export { y as AssistantCompactAvatar };
|