@arbidocs/blocks 0.5.179 → 0.5.181
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/{ConnectedCallDock-JY3LGQGP.cjs → ConnectedCallDock-JIA2YTO5.cjs} +21 -21
- package/dist/{ConnectedCallDock-JY3LGQGP.cjs.map → ConnectedCallDock-JIA2YTO5.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-GTH4J55D.cjs → ConnectedCallRoom-6HBC4RQ2.cjs} +14 -14
- package/dist/{ConnectedCallRoom-GTH4J55D.cjs.map → ConnectedCallRoom-6HBC4RQ2.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-2NBAE7EI.cjs → ConnectedNativeDocxComparison-3MRTTNR2.cjs} +18 -18
- package/dist/{ConnectedNativeDocxComparison-2NBAE7EI.cjs.map → ConnectedNativeDocxComparison-3MRTTNR2.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-VEMVDFI5.cjs → ConnectedPresentation-LNDESKYE.cjs} +17 -17
- package/dist/{ConnectedPresentation-VEMVDFI5.cjs.map → ConnectedPresentation-LNDESKYE.cjs.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-BKDYMRPF.cjs → ConnectedProductionSetDialog-SHDI7KP6.cjs} +6 -6
- package/dist/{ConnectedProductionSetDialog-BKDYMRPF.cjs.map → ConnectedProductionSetDialog-SHDI7KP6.cjs.map} +1 -1
- package/dist/{ConnectedSlidesTab-GT5TQPWW.cjs → ConnectedSlidesTab-LEA5OW75.cjs} +15 -15
- package/dist/{ConnectedSlidesTab-GT5TQPWW.cjs.map → ConnectedSlidesTab-LEA5OW75.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-S7RQFGL5.cjs → ConnectedStreamedWordArtifact-HNTS6HS4.cjs} +18 -18
- package/dist/{ConnectedStreamedWordArtifact-S7RQFGL5.cjs.map → ConnectedStreamedWordArtifact-HNTS6HS4.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-3HOUMATK.cjs → DocumentReviewCard-RPHIQZ2Y.cjs} +17 -17
- package/dist/{DocumentReviewCard-3HOUMATK.cjs.map → DocumentReviewCard-RPHIQZ2Y.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-CH5RO64O.cjs → FilesViewerDialog-PZ5H435S.cjs} +50 -50
- package/dist/{FilesViewerDialog-CH5RO64O.cjs.map → FilesViewerDialog-PZ5H435S.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-HWZU2KWQ.cjs → WorkspaceTableView-QT63XYII.cjs} +9 -9
- package/dist/{WorkspaceTableView-HWZU2KWQ.cjs.map → WorkspaceTableView-QT63XYII.cjs.map} +1 -1
- package/dist/agents/index.cjs +287 -287
- package/dist/{ai-6JEFW4U6.cjs → ai-XIT4MY3S.cjs} +25 -25
- package/dist/ai-XIT4MY3S.cjs.map +1 -0
- package/dist/auth/index.cjs +12 -12
- package/dist/{avatar-renderer-O25E5KUY.cjs → avatar-renderer-SM466IFS.cjs} +108 -48
- package/dist/avatar-renderer-SM466IFS.cjs.map +1 -0
- package/dist/calls/connected/avatar-eyes.d.ts +5 -0
- package/dist/calls/connected/avatar-eyes.js +56 -0
- package/dist/calls/connected/avatar-eyes.js.map +7 -0
- package/dist/calls/connected/avatar-materials.d.ts +1 -1
- package/dist/calls/connected/avatar-materials.js +11 -7
- package/dist/calls/connected/avatar-materials.js.map +2 -2
- package/dist/calls/connected/avatar-renderer.js +7 -0
- package/dist/calls/connected/avatar-renderer.js.map +2 -2
- package/dist/calls/index.cjs +126 -126
- package/dist/chat/index.cjs +5 -5
- package/dist/{chunk-YZ6SFKUO.cjs → chunk-2D5GZMSK.cjs} +4 -4
- package/dist/{chunk-YZ6SFKUO.cjs.map → chunk-2D5GZMSK.cjs.map} +1 -1
- package/dist/{chunk-VNUBBRJM.cjs → chunk-2K5DLB7B.cjs} +3 -3
- package/dist/{chunk-VNUBBRJM.cjs.map → chunk-2K5DLB7B.cjs.map} +1 -1
- package/dist/{chunk-BJRQHR7R.cjs → chunk-3EIO4ZH5.cjs} +6 -6
- package/dist/{chunk-BJRQHR7R.cjs.map → chunk-3EIO4ZH5.cjs.map} +1 -1
- package/dist/{chunk-QSAW7XLZ.cjs → chunk-4AT2LJ2H.cjs} +4 -4
- package/dist/{chunk-QSAW7XLZ.cjs.map → chunk-4AT2LJ2H.cjs.map} +1 -1
- package/dist/{chunk-FHAUX6CD.cjs → chunk-4H5DPHZ2.cjs} +29 -29
- package/dist/{chunk-FHAUX6CD.cjs.map → chunk-4H5DPHZ2.cjs.map} +1 -1
- package/dist/{chunk-B5AOYT4U.cjs → chunk-5FSULBPE.cjs} +3 -3
- package/dist/{chunk-B5AOYT4U.cjs.map → chunk-5FSULBPE.cjs.map} +1 -1
- package/dist/{chunk-3P6KGC46.cjs → chunk-5OD6DRG7.cjs} +3 -3
- package/dist/{chunk-3P6KGC46.cjs.map → chunk-5OD6DRG7.cjs.map} +1 -1
- package/dist/{chunk-M3HYFFCK.cjs → chunk-7GVKG3G4.cjs} +13 -13
- package/dist/{chunk-M3HYFFCK.cjs.map → chunk-7GVKG3G4.cjs.map} +1 -1
- package/dist/{chunk-RRVNBO53.cjs → chunk-A4HOEGDI.cjs} +4 -4
- package/dist/{chunk-RRVNBO53.cjs.map → chunk-A4HOEGDI.cjs.map} +1 -1
- package/dist/{chunk-LSFGSQHS.cjs → chunk-A7MGQMOV.cjs} +9 -9
- package/dist/{chunk-LSFGSQHS.cjs.map → chunk-A7MGQMOV.cjs.map} +1 -1
- package/dist/{chunk-IRYVRCKU.cjs → chunk-AWWGV5LL.cjs} +28 -28
- package/dist/{chunk-IRYVRCKU.cjs.map → chunk-AWWGV5LL.cjs.map} +1 -1
- package/dist/{chunk-P3Q2XFEJ.cjs → chunk-CYMAF656.cjs} +13 -13
- package/dist/{chunk-P3Q2XFEJ.cjs.map → chunk-CYMAF656.cjs.map} +1 -1
- package/dist/{chunk-2N64TSHL.cjs → chunk-DKKW7GOJ.cjs} +4 -4
- package/dist/{chunk-2N64TSHL.cjs.map → chunk-DKKW7GOJ.cjs.map} +1 -1
- package/dist/{chunk-LJTHFTQQ.cjs → chunk-ER2MRSLT.cjs} +3 -3
- package/dist/{chunk-LJTHFTQQ.cjs.map → chunk-ER2MRSLT.cjs.map} +1 -1
- package/dist/{chunk-WQQ6C2ML.cjs → chunk-FUKN3PI5.cjs} +3 -3
- package/dist/{chunk-WQQ6C2ML.cjs.map → chunk-FUKN3PI5.cjs.map} +1 -1
- package/dist/{chunk-K4UR3U7K.cjs → chunk-GLFMRQBT.cjs} +10 -10
- package/dist/{chunk-K4UR3U7K.cjs.map → chunk-GLFMRQBT.cjs.map} +1 -1
- package/dist/{chunk-ZSZI576U.cjs → chunk-HH5MKRBL.cjs} +7 -7
- package/dist/{chunk-ZSZI576U.cjs.map → chunk-HH5MKRBL.cjs.map} +1 -1
- package/dist/{chunk-H3GJQSA5.cjs → chunk-HX5SALXN.cjs} +18 -18
- package/dist/{chunk-H3GJQSA5.cjs.map → chunk-HX5SALXN.cjs.map} +1 -1
- package/dist/{chunk-CR7QX5OA.cjs → chunk-I5LXJLO5.cjs} +10 -10
- package/dist/{chunk-CR7QX5OA.cjs.map → chunk-I5LXJLO5.cjs.map} +1 -1
- package/dist/{chunk-JGU6YLIA.cjs → chunk-KQJUY2OE.cjs} +11 -11
- package/dist/{chunk-JGU6YLIA.cjs.map → chunk-KQJUY2OE.cjs.map} +1 -1
- package/dist/{chunk-EG3DPKXM.cjs → chunk-L3MYUPSH.cjs} +5 -5
- package/dist/{chunk-EG3DPKXM.cjs.map → chunk-L3MYUPSH.cjs.map} +1 -1
- package/dist/{chunk-AHUEBRLX.cjs → chunk-LYDSETR7.cjs} +4 -4
- package/dist/{chunk-AHUEBRLX.cjs.map → chunk-LYDSETR7.cjs.map} +1 -1
- package/dist/{chunk-X6TSOKEP.cjs → chunk-LYJFE37D.cjs} +3 -3
- package/dist/{chunk-X6TSOKEP.cjs.map → chunk-LYJFE37D.cjs.map} +1 -1
- package/dist/{chunk-54YKEVLX.cjs → chunk-MZ7IUHQA.cjs} +36 -36
- package/dist/{chunk-54YKEVLX.cjs.map → chunk-MZ7IUHQA.cjs.map} +1 -1
- package/dist/{chunk-IPSR2PUU.cjs → chunk-OHWYQI3B.cjs} +12 -12
- package/dist/{chunk-IPSR2PUU.cjs.map → chunk-OHWYQI3B.cjs.map} +1 -1
- package/dist/{chunk-TU46WKTN.cjs → chunk-OIYKKUAN.cjs} +3 -3
- package/dist/{chunk-TU46WKTN.cjs.map → chunk-OIYKKUAN.cjs.map} +1 -1
- package/dist/{chunk-WXRAU2FF.cjs → chunk-QSY2VW7V.cjs} +6 -6
- package/dist/{chunk-WXRAU2FF.cjs.map → chunk-QSY2VW7V.cjs.map} +1 -1
- package/dist/{chunk-B6HWZMRE.cjs → chunk-S4KKJX3G.cjs} +68 -68
- package/dist/{chunk-B6HWZMRE.cjs.map → chunk-S4KKJX3G.cjs.map} +1 -1
- package/dist/{chunk-W7TSEN3J.cjs → chunk-TLIZD6DV.cjs} +6 -6
- package/dist/{chunk-W7TSEN3J.cjs.map → chunk-TLIZD6DV.cjs.map} +1 -1
- package/dist/{chunk-INVL4BE7.cjs → chunk-TQATDAJV.cjs} +4 -4
- package/dist/{chunk-INVL4BE7.cjs.map → chunk-TQATDAJV.cjs.map} +1 -1
- package/dist/{chunk-GZH52C4A.cjs → chunk-TUURH4NE.cjs} +4 -4
- package/dist/{chunk-GZH52C4A.cjs.map → chunk-TUURH4NE.cjs.map} +1 -1
- package/dist/{chunk-6SN5KCE5.cjs → chunk-UC6Z7E6C.cjs} +6 -6
- package/dist/{chunk-6SN5KCE5.cjs.map → chunk-UC6Z7E6C.cjs.map} +1 -1
- package/dist/{chunk-6N7QT2DH.cjs → chunk-VDHBLDQC.cjs} +3 -3
- package/dist/{chunk-6N7QT2DH.cjs.map → chunk-VDHBLDQC.cjs.map} +1 -1
- package/dist/{chunk-6ZJBUMNK.cjs → chunk-VDT7TEAH.cjs} +3 -3
- package/dist/{chunk-6ZJBUMNK.cjs.map → chunk-VDT7TEAH.cjs.map} +1 -1
- package/dist/{chunk-TPYOXG5S.cjs → chunk-XKXKEVHH.cjs} +6 -6
- package/dist/{chunk-TPYOXG5S.cjs.map → chunk-XKXKEVHH.cjs.map} +1 -1
- package/dist/{chunk-DJ7LSKBJ.cjs → chunk-XQPJWPWE.cjs} +3 -3
- package/dist/{chunk-DJ7LSKBJ.cjs.map → chunk-XQPJWPWE.cjs.map} +1 -1
- package/dist/{chunk-YHM3OAFN.cjs → chunk-YBDHWNFZ.cjs} +9 -9
- package/dist/{chunk-YHM3OAFN.cjs.map → chunk-YBDHWNFZ.cjs.map} +1 -1
- package/dist/{chunk-IYN6Q5SZ.cjs → chunk-YC72ZCV4.cjs} +61 -61
- package/dist/{chunk-IYN6Q5SZ.cjs.map → chunk-YC72ZCV4.cjs.map} +1 -1
- package/dist/{chunk-J3LWRFYO.cjs → chunk-YHABS4UE.cjs} +50 -50
- package/dist/{chunk-J3LWRFYO.cjs.map → chunk-YHABS4UE.cjs.map} +1 -1
- package/dist/{chunk-3S6HBOHG.cjs → chunk-ZBH466OU.cjs} +49 -49
- package/dist/{chunk-3S6HBOHG.cjs.map → chunk-ZBH466OU.cjs.map} +1 -1
- package/dist/connect/docx.cjs +21 -21
- package/dist/connect/index.cjs +1187 -1187
- package/dist/connect/viewer.cjs +38 -38
- package/dist/dashboards/index.cjs +1 -1
- package/dist/embed/index.cjs +44 -44
- package/dist/facts/index.cjs +43 -43
- package/dist/files/index.cjs +228 -228
- package/dist/home/index.cjs +9 -9
- package/dist/index.cjs +1778 -1778
- package/dist/pages/index.cjs +32 -32
- package/dist/settings/index.cjs +138 -138
- package/dist/shell/index.cjs +81 -81
- package/dist/studio/index.cjs +29 -29
- package/dist/workflow-canvas/index.cjs +61 -61
- package/dist/workspaces/index.cjs +5 -5
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/record/SKILL.md +16 -0
- package/record/render-take.py +36 -17
- package/dist/ai-6JEFW4U6.cjs.map +0 -1
- package/dist/avatar-renderer-O25E5KUY.cjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
+
var chunkZHLBTIJJ_cjs = require('./chunk-ZHLBTIJJ.cjs');
|
|
4
5
|
var chunkVZOOGA47_cjs = require('./chunk-VZOOGA47.cjs');
|
|
5
|
-
var
|
|
6
|
+
var chunkXQPJWPWE_cjs = require('./chunk-XQPJWPWE.cjs');
|
|
6
7
|
var chunkOAIOOVFN_cjs = require('./chunk-OAIOOVFN.cjs');
|
|
7
8
|
var chunkZ574BY3H_cjs = require('./chunk-Z574BY3H.cjs');
|
|
8
|
-
var chunkZHLBTIJJ_cjs = require('./chunk-ZHLBTIJJ.cjs');
|
|
9
9
|
var chunkZBP4ZSAJ_cjs = require('./chunk-ZBP4ZSAJ.cjs');
|
|
10
10
|
var chunkHN56WWBR_cjs = require('./chunk-HN56WWBR.cjs');
|
|
11
11
|
var chunkCVPV4I7Z_cjs = require('./chunk-CVPV4I7Z.cjs');
|
|
@@ -25,7 +25,7 @@ function TranscriptionToggle({
|
|
|
25
25
|
if (!available || !canToggle) return null;
|
|
26
26
|
const label = on ? "Stop transcription" : "Transcribe the call";
|
|
27
27
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
28
|
-
|
|
28
|
+
chunkXQPJWPWE_cjs.CallControlButton,
|
|
29
29
|
{
|
|
30
30
|
label,
|
|
31
31
|
shortcut: "C",
|
|
@@ -56,7 +56,7 @@ function TranscriptionIndicator({
|
|
|
56
56
|
}, [setIndicatorShown]);
|
|
57
57
|
const by = startedByMe ? "you" : startedByName || "a participant";
|
|
58
58
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
59
|
-
|
|
59
|
+
chunkXQPJWPWE_cjs.TranscriptionStatusChip,
|
|
60
60
|
{
|
|
61
61
|
sentence: `Transcription on \u2014 started by ${by}`,
|
|
62
62
|
short: muted ? "Transcribing \xB7 you are muted" : "Transcribing",
|
|
@@ -89,7 +89,7 @@ function CaptionsOverlay({
|
|
|
89
89
|
})),
|
|
90
90
|
[captions]
|
|
91
91
|
);
|
|
92
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
92
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.CaptionsStrip, { captions: entries, reserve, className });
|
|
93
93
|
}
|
|
94
94
|
function TranscriptionSender({ transcription }) {
|
|
95
95
|
const { isMicrophoneEnabled, microphoneTrack } = componentsReact.useLocalParticipant();
|
|
@@ -156,7 +156,7 @@ function AvatarCanvas({
|
|
|
156
156
|
arbi.calls.avatarAsset(avatar, "head.glb"),
|
|
157
157
|
arbi.calls.avatarAsset(avatar, "head-clearance.json"),
|
|
158
158
|
arbi.calls.avatarAsset(avatar, "blinks.json"),
|
|
159
|
-
import('./avatar-renderer-
|
|
159
|
+
import('./avatar-renderer-SM466IFS.cjs')
|
|
160
160
|
]).then(async ([model, clearance, blinks, { createAvatarRenderer }]) => {
|
|
161
161
|
if (disposed || !host.current) return;
|
|
162
162
|
const assets = {
|
|
@@ -199,7 +199,7 @@ function RecordingControl({
|
|
|
199
199
|
const canHost = react$1.useIsEntitled("host_calls");
|
|
200
200
|
if (!available || !canControl || !on && !canHost) return null;
|
|
201
201
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
202
|
-
|
|
202
|
+
chunkXQPJWPWE_cjs.RecordControl,
|
|
203
203
|
{
|
|
204
204
|
on,
|
|
205
205
|
busy,
|
|
@@ -263,7 +263,7 @@ function RecordingIndicator({
|
|
|
263
263
|
}, [setIndicatorShown]);
|
|
264
264
|
const by = startedByMe ? "you" : startedByName || "the host";
|
|
265
265
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
266
|
-
|
|
266
|
+
chunkXQPJWPWE_cjs.RecordingStatusChip,
|
|
267
267
|
{
|
|
268
268
|
sentence: `Recording${mode ? ` (${chunkZ574BY3H_cjs.MODE_LABEL[mode]})` : ""} \u2014 started by ${by}`,
|
|
269
269
|
compact,
|
|
@@ -337,7 +337,7 @@ function CompositeRecorder({
|
|
|
337
337
|
if (!uploader || !stage) return;
|
|
338
338
|
let capture;
|
|
339
339
|
try {
|
|
340
|
-
capture =
|
|
340
|
+
capture = chunkXQPJWPWE_cjs.startCompositeCapture(stage);
|
|
341
341
|
} catch (err) {
|
|
342
342
|
console.warn("[calls] cannot record the composite", err);
|
|
343
343
|
notify("This browser cannot record the call video; audio is still recorded.", "warning");
|
|
@@ -459,9 +459,9 @@ function RoomMediaControl({
|
|
|
459
459
|
const { devices, activeDeviceId, setActiveMediaDevice } = componentsReact.useMediaDeviceSelect({
|
|
460
460
|
kind: mic ? "audioinput" : "videoinput"
|
|
461
461
|
});
|
|
462
|
-
const [mirror, setMirror] =
|
|
462
|
+
const [mirror, setMirror] = chunkXQPJWPWE_cjs.useMirrorSelfView();
|
|
463
463
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
464
|
-
|
|
464
|
+
chunkXQPJWPWE_cjs.MediaControl,
|
|
465
465
|
{
|
|
466
466
|
kind: mic ? "microphone" : "camera",
|
|
467
467
|
enabled,
|
|
@@ -625,15 +625,15 @@ function CallControls({
|
|
|
625
625
|
] : []
|
|
626
626
|
];
|
|
627
627
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
628
|
-
|
|
628
|
+
chunkXQPJWPWE_cjs.CallControlBar,
|
|
629
629
|
{
|
|
630
630
|
shortcuts,
|
|
631
631
|
left: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
632
|
-
full && /* @__PURE__ */ jsxRuntime.jsx(
|
|
632
|
+
full && /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.ElapsedTime, { since: startedAt, title: "Time in this call" }),
|
|
633
633
|
/* @__PURE__ */ jsxRuntime.jsx(EnableAudioButton, { compact: !full })
|
|
634
634
|
] }),
|
|
635
635
|
right: /* @__PURE__ */ jsxRuntime.jsx(
|
|
636
|
-
|
|
636
|
+
chunkXQPJWPWE_cjs.LeaveButton,
|
|
637
637
|
{
|
|
638
638
|
compact: !full,
|
|
639
639
|
onLeave: () => void room.disconnect(),
|
|
@@ -641,15 +641,15 @@ function CallControls({
|
|
|
641
641
|
}
|
|
642
642
|
),
|
|
643
643
|
children: [
|
|
644
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
644
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkXQPJWPWE_cjs.ControlGroup, { children: [
|
|
645
645
|
/* @__PURE__ */ jsxRuntime.jsx(RoomMediaControl, { source: livekitClient.Track.Source.Microphone, shortcut: "M", testId: "call-mic-toggle" }),
|
|
646
646
|
/* @__PURE__ */ jsxRuntime.jsx(RoomMediaControl, { source: livekitClient.Track.Source.Camera, shortcut: "V", testId: "call-camera-toggle" })
|
|
647
647
|
] }),
|
|
648
648
|
!tiny && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
649
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
650
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
649
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.ControlDivider, {}),
|
|
650
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkXQPJWPWE_cjs.ControlGroup, { children: [
|
|
651
651
|
full && (share.enabled ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
652
|
-
|
|
652
|
+
chunkXQPJWPWE_cjs.CallControlButton,
|
|
653
653
|
{
|
|
654
654
|
label: "Stop sharing",
|
|
655
655
|
tone: "active",
|
|
@@ -661,7 +661,7 @@ function CallControls({
|
|
|
661
661
|
}
|
|
662
662
|
) : /* @__PURE__ */ jsxRuntime.jsxs(ui.DropdownMenu, { children: [
|
|
663
663
|
/* @__PURE__ */ jsxRuntime.jsx(ui.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
664
|
-
|
|
664
|
+
chunkXQPJWPWE_cjs.CallControlButton,
|
|
665
665
|
{
|
|
666
666
|
label: SHARE_LABEL,
|
|
667
667
|
tooltip: false,
|
|
@@ -700,7 +700,7 @@ function CallControls({
|
|
|
700
700
|
] })
|
|
701
701
|
] }),
|
|
702
702
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
703
|
-
|
|
703
|
+
chunkXQPJWPWE_cjs.MoreMenu,
|
|
704
704
|
{
|
|
705
705
|
details: experimental ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
706
706
|
"span",
|
|
@@ -763,7 +763,7 @@ function WebinarChat({ chat }) {
|
|
|
763
763
|
/* @__PURE__ */ jsxRuntime.jsx("div", { ref: end })
|
|
764
764
|
] }),
|
|
765
765
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "shrink-0 border-t border-border p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
766
|
-
|
|
766
|
+
chunkXQPJWPWE_cjs.PanelComposer,
|
|
767
767
|
{
|
|
768
768
|
placeholder: "Message everyone",
|
|
769
769
|
ariaLabel: "Message everyone",
|
|
@@ -825,7 +825,7 @@ function WebinarQA({ webinar }) {
|
|
|
825
825
|
[webinar.questions]
|
|
826
826
|
);
|
|
827
827
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
828
|
-
|
|
828
|
+
chunkXQPJWPWE_cjs.QAPanel,
|
|
829
829
|
{
|
|
830
830
|
questions,
|
|
831
831
|
team: webinar.team,
|
|
@@ -845,7 +845,7 @@ function WebinarAudience({ webinar }) {
|
|
|
845
845
|
return () => clearInterval(id);
|
|
846
846
|
}, [refresh]);
|
|
847
847
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
848
|
-
|
|
848
|
+
chunkXQPJWPWE_cjs.WebinarAudiencePanel,
|
|
849
849
|
{
|
|
850
850
|
className: "min-h-0 flex-1 overflow-y-auto",
|
|
851
851
|
hands: webinar.hands.map((h) => ({
|
|
@@ -879,7 +879,7 @@ function WebinarSidePanel({
|
|
|
879
879
|
const tabs = webinarTabs(webinar, { people: !!people, unreadChat: chat.unread });
|
|
880
880
|
const current = tabs.some((t) => t.id === tab) ? tab : tabs[0].id;
|
|
881
881
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
882
|
-
|
|
882
|
+
chunkXQPJWPWE_cjs.CallSidePanel,
|
|
883
883
|
{
|
|
884
884
|
title: "Webinar",
|
|
885
885
|
tabs,
|
|
@@ -952,7 +952,7 @@ function ConnectedCallRoom({
|
|
|
952
952
|
] });
|
|
953
953
|
}
|
|
954
954
|
if (!room) {
|
|
955
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
955
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.CallStateMessage, { title: "Connecting\u2026", testId: "call-connecting" });
|
|
956
956
|
}
|
|
957
957
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
958
958
|
componentsReact.LiveKitRoom,
|
|
@@ -1096,7 +1096,7 @@ function CallBody({
|
|
|
1096
1096
|
const [endConfirm, setEndConfirm] = react.useState(false);
|
|
1097
1097
|
const [viewerSide, setViewerSide] = react.useState(null);
|
|
1098
1098
|
const [tab, setTab] = react.useState("people");
|
|
1099
|
-
const [frameRef, frame] =
|
|
1099
|
+
const [frameRef, frame] = chunkXQPJWPWE_cjs.useElementSize();
|
|
1100
1100
|
const viewerSideOpen = viewerSide ?? frame.width >= VIEWER_SIDE_DOCKS_AT;
|
|
1101
1101
|
const sideOpen = audienceView ? viewerSideOpen : teamPanelOpen;
|
|
1102
1102
|
const chat = calls.useInCallChat({
|
|
@@ -1128,9 +1128,9 @@ function CallBody({
|
|
|
1128
1128
|
const drawsComposite = recording.on && recording.canControl && recording.mode === "audio_video";
|
|
1129
1129
|
const density = frame.width === 0 || frame.width >= 620 ? "full" : frame.width >= 400 ? "compact" : "tiny";
|
|
1130
1130
|
const shortPanel = frame.height > 0 && frame.height < 520;
|
|
1131
|
-
const [mirrorSelf] =
|
|
1131
|
+
const [mirrorSelf] = chunkXQPJWPWE_cjs.useMirrorSelfView();
|
|
1132
1132
|
const status = (small) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1133
|
-
webinar.enabled && webinar.live && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1133
|
+
webinar.enabled && webinar.live && /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.WebinarLiveChip, { compact: small }),
|
|
1134
1134
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1135
1135
|
StatusChips,
|
|
1136
1136
|
{
|
|
@@ -1142,7 +1142,7 @@ function CallBody({
|
|
|
1142
1142
|
)
|
|
1143
1143
|
] });
|
|
1144
1144
|
const header = !minimized && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1145
|
-
|
|
1145
|
+
chunkXQPJWPWE_cjs.CallHeader,
|
|
1146
1146
|
{
|
|
1147
1147
|
title,
|
|
1148
1148
|
status,
|
|
@@ -1178,9 +1178,9 @@ function CallBody({
|
|
|
1178
1178
|
sendsMedia && /* @__PURE__ */ jsxRuntime.jsx(SpeakerRecorder, { recording, callKey: e2eeKey }),
|
|
1179
1179
|
recording.canControl && recording.mode === "audio_video" && /* @__PURE__ */ jsxRuntime.jsx(CompositeRecorder, { recording, callKey: e2eeKey, stageRef }),
|
|
1180
1180
|
/* @__PURE__ */ jsxRuntime.jsx(RecordingQuotaWarning, { recording }),
|
|
1181
|
-
webinar.moderator && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1181
|
+
webinar.moderator && /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.WebinarEndConfirm, { open: endConfirm, onOpenChange: setEndConfirm, onEnd: webinar.end }),
|
|
1182
1182
|
webinar.stageCheck && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1183
|
-
|
|
1183
|
+
chunkXQPJWPWE_cjs.OnStageCheck,
|
|
1184
1184
|
{
|
|
1185
1185
|
initialChoices: react$1.DEFAULT_JOIN_CHOICES,
|
|
1186
1186
|
open: true,
|
|
@@ -1203,7 +1203,7 @@ function CallBody({
|
|
|
1203
1203
|
inert: minimized || void 0,
|
|
1204
1204
|
"data-testid": "call-stage-frame",
|
|
1205
1205
|
children: audienceView ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1206
|
-
|
|
1206
|
+
chunkXQPJWPWE_cjs.WebinarViewer,
|
|
1207
1207
|
{
|
|
1208
1208
|
header,
|
|
1209
1209
|
stage: /* @__PURE__ */ jsxRuntime.jsx(CallTiles, { view: "speaker", includeLocal: false }),
|
|
@@ -1227,14 +1227,14 @@ function CallBody({
|
|
|
1227
1227
|
shortcuts: !minimized
|
|
1228
1228
|
}
|
|
1229
1229
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1230
|
-
|
|
1230
|
+
chunkXQPJWPWE_cjs.CallStageFrame,
|
|
1231
1231
|
{
|
|
1232
1232
|
stageRef,
|
|
1233
1233
|
header,
|
|
1234
1234
|
subheader: !minimized && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1235
|
-
webinar.team && !webinar.live && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1236
|
-
notices.map((n) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1237
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1235
|
+
webinar.team && !webinar.live && /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.BackstageBanner, { onGoLive: webinar.moderator ? webinar.goLive : void 0 }),
|
|
1236
|
+
notices.map((n) => /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.CallNotice, { children: n }, n)),
|
|
1237
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.SpeakingNow, { names: speakingNames })
|
|
1238
1238
|
] }),
|
|
1239
1239
|
stage: /* @__PURE__ */ jsxRuntime.jsx(CallTiles, { view }),
|
|
1240
1240
|
stageOverlay: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -1316,7 +1316,7 @@ function webinarControls(webinar, opts) {
|
|
|
1316
1316
|
];
|
|
1317
1317
|
return {
|
|
1318
1318
|
menuGroups: [
|
|
1319
|
-
...webinar.moderator ? [
|
|
1319
|
+
...webinar.moderator ? [chunkXQPJWPWE_cjs.chatPermissionSection({ value: webinar.chat, onChange: webinar.setChat })] : [],
|
|
1320
1320
|
items
|
|
1321
1321
|
],
|
|
1322
1322
|
leaveOptions: webinar.moderator && webinar.live ? [
|
|
@@ -1377,7 +1377,7 @@ function StatusChips({
|
|
|
1377
1377
|
recording.on && /* @__PURE__ */ jsxRuntime.jsx(RecordingIndicator, { recording, compact, announce: false }),
|
|
1378
1378
|
transcription.on && /* @__PURE__ */ jsxRuntime.jsx(TranscriptionIndicator, { transcription, compact, announce: false }),
|
|
1379
1379
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1380
|
-
|
|
1380
|
+
chunkXQPJWPWE_cjs.EncryptionStatusChip,
|
|
1381
1381
|
{
|
|
1382
1382
|
state: isE2ee ? encrypted ? "on" : "pending" : "off",
|
|
1383
1383
|
compact
|
|
@@ -1410,9 +1410,9 @@ function RoomTile({
|
|
|
1410
1410
|
const { quality } = componentsReact.useConnectionQualityIndicator({ participant });
|
|
1411
1411
|
const hasVideo = componentsReact.isTrackReference(trackRef) && !!trackRef.publication.track && !videoMuted;
|
|
1412
1412
|
const name = participant.name || participant.identity;
|
|
1413
|
-
const [mirrorSelf] =
|
|
1413
|
+
const [mirrorSelf] = chunkXQPJWPWE_cjs.useMirrorSelfView();
|
|
1414
1414
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1415
|
-
|
|
1415
|
+
chunkXQPJWPWE_cjs.CallTile,
|
|
1416
1416
|
{
|
|
1417
1417
|
...elementProps,
|
|
1418
1418
|
name: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -1477,10 +1477,10 @@ function CallTiles({
|
|
|
1477
1477
|
const spotlight = useSpotlightCamera(cameras);
|
|
1478
1478
|
const focus = share ?? (view === "speaker" ? spotlight : void 0);
|
|
1479
1479
|
if (!focus || cameras.length < 2 && !share) {
|
|
1480
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1480
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.CallGrid, { items: cameras, getKey: trackKey, renderTile: (t) => /* @__PURE__ */ jsxRuntime.jsx(RoomTile, { trackRef: t }) });
|
|
1481
1481
|
}
|
|
1482
1482
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1483
|
-
|
|
1483
|
+
chunkXQPJWPWE_cjs.CallFocus,
|
|
1484
1484
|
{
|
|
1485
1485
|
focus,
|
|
1486
1486
|
others: cameras.filter((t) => t !== focus),
|
|
@@ -1504,12 +1504,12 @@ function MinimisedRoom({
|
|
|
1504
1504
|
const mic = componentsReact.useTrackToggle({ source: livekitClient.Track.Source.Microphone });
|
|
1505
1505
|
const camera = componentsReact.useTrackToggle({ source: livekitClient.Track.Source.Camera });
|
|
1506
1506
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1507
|
-
|
|
1507
|
+
chunkXQPJWPWE_cjs.MinimisedCall,
|
|
1508
1508
|
{
|
|
1509
1509
|
title,
|
|
1510
1510
|
video: track ? /* @__PURE__ */ jsxRuntime.jsx(RoomTile, { trackRef: track, size: "sm" }) : null,
|
|
1511
1511
|
status,
|
|
1512
|
-
speaking: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1512
|
+
speaking: /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.SpeakingNow, { names: speakingNames, className: "text-xs" }),
|
|
1513
1513
|
micEnabled: audience ? void 0 : mic.enabled,
|
|
1514
1514
|
onToggleMic: audience ? void 0 : () => void mic.toggle(),
|
|
1515
1515
|
cameraEnabled: audience ? void 0 : camera.enabled,
|
|
@@ -1558,7 +1558,7 @@ function ParticipantsList({
|
|
|
1558
1558
|
...participants.filter((p) => !speakingIds.includes(p.identity))
|
|
1559
1559
|
];
|
|
1560
1560
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1561
|
-
|
|
1561
|
+
chunkXQPJWPWE_cjs.CallParticipants,
|
|
1562
1562
|
{
|
|
1563
1563
|
className: compact ? void 0 : "flex-1",
|
|
1564
1564
|
compact,
|
|
@@ -1594,7 +1594,7 @@ function Lobby({ callExtId }) {
|
|
|
1594
1594
|
}
|
|
1595
1595
|
};
|
|
1596
1596
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1597
|
-
|
|
1597
|
+
chunkXQPJWPWE_cjs.LobbyRequests,
|
|
1598
1598
|
{
|
|
1599
1599
|
requests: mine.map((k) => ({
|
|
1600
1600
|
id: k.knockId,
|
|
@@ -1609,9 +1609,9 @@ function ConnectingOverlay() {
|
|
|
1609
1609
|
const state = componentsReact.useConnectionState();
|
|
1610
1610
|
if (state === livekitClient.ConnectionState.Connected) return null;
|
|
1611
1611
|
const label = state === livekitClient.ConnectionState.Reconnecting || state === livekitClient.ConnectionState.SignalReconnecting ? "Reconnecting\u2026" : state === livekitClient.ConnectionState.Disconnected ? "Disconnected" : "Connecting\u2026";
|
|
1612
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1612
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkXQPJWPWE_cjs.ConnectionOverlay, { label });
|
|
1613
1613
|
}
|
|
1614
1614
|
|
|
1615
1615
|
exports.ConnectedCallRoom = ConnectedCallRoom;
|
|
1616
|
-
//# sourceMappingURL=chunk-
|
|
1617
|
-
//# sourceMappingURL=chunk-
|
|
1616
|
+
//# sourceMappingURL=chunk-ZBH466OU.cjs.map
|
|
1617
|
+
//# sourceMappingURL=chunk-ZBH466OU.cjs.map
|