@memberjunction/ng-conversations 6.2.2 → 6.3.0-edge.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 +49 -24
- package/dist/assets/edge-ai.worker.js +32515 -0
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts +39 -6
- package/dist/lib/components/artifact/artifact-share-modal.component.d.ts.map +1 -1
- package/dist/lib/components/artifact/artifact-share-modal.component.js +620 -74
- package/dist/lib/components/artifact/artifact-share-modal.component.js.map +1 -1
- package/dist/lib/components/collection/artifact-create-modal.component.js +4 -4
- package/dist/lib/components/collection/artifact-create-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-form-modal.component.js +3 -3
- package/dist/lib/components/collection/collection-form-modal.component.js.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-tree.component.js +19 -18
- package/dist/lib/components/collection/collection-tree.component.js.map +1 -1
- package/dist/lib/components/collection/collection-view.component.d.ts +6 -4
- package/dist/lib/components/collection/collection-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collection-view.component.js +35 -17
- package/dist/lib/components/collection/collection-view.component.js.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.d.ts +1 -0
- package/dist/lib/components/collection/collections-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/collection/collections-full-view.component.js +109 -107
- package/dist/lib/components/collection/collections-full-view.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts +76 -11
- package/dist/lib/components/conversation/conversation-chat-area.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-chat-area.component.js +236 -50
- package/dist/lib/components/conversation/conversation-chat-area.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts +49 -1
- package/dist/lib/components/conversation/conversation-list.component.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-list.component.js +151 -41
- package/dist/lib/components/conversation/conversation-list.component.js.map +1 -1
- package/dist/lib/components/conversation/conversation-remote-browser-controller.d.ts +11 -3
- package/dist/lib/components/conversation/conversation-remote-browser-controller.d.ts.map +1 -1
- package/dist/lib/components/conversation/conversation-remote-browser-controller.js +40 -4
- package/dist/lib/components/conversation/conversation-remote-browser-controller.js.map +1 -1
- package/dist/lib/components/export/export-modal.component.d.ts +7 -2
- package/dist/lib/components/export/export-modal.component.d.ts.map +1 -1
- package/dist/lib/components/export/export-modal.component.js +13 -2
- package/dist/lib/components/export/export-modal.component.js.map +1 -1
- package/dist/lib/components/library/library-create-dialog.component.d.ts +136 -0
- package/dist/lib/components/library/library-create-dialog.component.d.ts.map +1 -0
- package/dist/lib/components/library/library-create-dialog.component.js +1620 -0
- package/dist/lib/components/library/library-create-dialog.component.js.map +1 -0
- package/dist/lib/components/library/library-full-view.component.d.ts +10 -4
- package/dist/lib/components/library/library-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/library/library-full-view.component.js +216 -40
- package/dist/lib/components/library/library-full-view.component.js.map +1 -1
- package/dist/lib/components/library/library-remote-drive-pane.component.d.ts +97 -0
- package/dist/lib/components/library/library-remote-drive-pane.component.d.ts.map +1 -0
- package/dist/lib/components/library/library-remote-drive-pane.component.js +1229 -0
- package/dist/lib/components/library/library-remote-drive-pane.component.js.map +1 -0
- package/dist/lib/components/library/library-workspace.component.d.ts +265 -0
- package/dist/lib/components/library/library-workspace.component.d.ts.map +1 -0
- package/dist/lib/components/library/library-workspace.component.js +4420 -0
- package/dist/lib/components/library/library-workspace.component.js.map +1 -0
- package/dist/lib/components/library/library.models.d.ts +162 -0
- package/dist/lib/components/library/library.models.d.ts.map +1 -0
- package/dist/lib/components/library/library.models.js +2 -0
- package/dist/lib/components/library/library.models.js.map +1 -0
- package/dist/lib/components/message/conversation-message-rating.component.d.ts +5 -0
- package/dist/lib/components/message/conversation-message-rating.component.d.ts.map +1 -1
- package/dist/lib/components/message/conversation-message-rating.component.js +72 -16
- package/dist/lib/components/message/conversation-message-rating.component.js.map +1 -1
- package/dist/lib/components/message/message-input.component.d.ts +26 -14
- package/dist/lib/components/message/message-input.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-input.component.js +91 -56
- package/dist/lib/components/message/message-input.component.js.map +1 -1
- package/dist/lib/components/message/message-item.component.d.ts +35 -1
- package/dist/lib/components/message/message-item.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-item.component.js +583 -392
- package/dist/lib/components/message/message-item.component.js.map +1 -1
- package/dist/lib/components/message/message-list.component.d.ts.map +1 -1
- package/dist/lib/components/message/message-list.component.js +2 -0
- package/dist/lib/components/message/message-list.component.js.map +1 -1
- package/dist/lib/components/navigation/conversation-navigation.component.js +9 -9
- package/dist/lib/components/navigation/conversation-navigation.component.js.map +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.d.ts +94 -6
- package/dist/lib/components/overlay/chat-overlay.component.d.ts.map +1 -1
- package/dist/lib/components/overlay/chat-overlay.component.js +249 -59
- package/dist/lib/components/overlay/chat-overlay.component.js.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.d.ts +6 -0
- package/dist/lib/components/project/project-form-modal.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-form-modal.component.js +81 -61
- package/dist/lib/components/project/project-form-modal.component.js.map +1 -1
- package/dist/lib/components/project/project-selector.component.d.ts +5 -0
- package/dist/lib/components/project/project-selector.component.d.ts.map +1 -1
- package/dist/lib/components/project/project-selector.component.js +11 -4
- package/dist/lib/components/project/project-selector.component.js.map +1 -1
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.d.ts +55 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.js +944 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-channel.js.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.d.ts +66 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.js +253 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-engine.js.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.d.ts +80 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.js +49 -0
- package/dist/lib/components/realtime/artifact-workspace/artifact-workspace-types.js.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.d.ts +54 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.d.ts.map +1 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.js +386 -0
- package/dist/lib/components/realtime/artifact-workspace/realtime-artifact-workspace-surface.component.js.map +1 -0
- package/dist/lib/components/realtime/channels/client-context-channel.d.ts +20 -4
- package/dist/lib/components/realtime/channels/client-context-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/channels/client-context-channel.js +62 -8
- package/dist/lib/components/realtime/channels/client-context-channel.js.map +1 -1
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.d.ts +1 -0
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.js +15 -2
- package/dist/lib/components/realtime/interactive-component/interactive-component-channel.js.map +1 -1
- package/dist/lib/components/realtime/realtime-agent-banner.component.js +2 -2
- package/dist/lib/components/realtime/realtime-agent-banner.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-agent-picker.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-agent-picker.component.js +3 -3
- package/dist/lib/components/realtime/realtime-agent-picker.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-composer.component.js +5 -3
- package/dist/lib/components/realtime/realtime-composer.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts +81 -32
- package/dist/lib/components/realtime/realtime-session-overlay.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-session-overlay.component.js +506 -185
- package/dist/lib/components/realtime/realtime-session-overlay.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-session-thread.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-session-thread.component.js +89 -4
- package/dist/lib/components/realtime/realtime-session-thread.component.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-stage.model.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-stage.model.js +2 -1
- package/dist/lib/components/realtime/realtime-surface-stage.model.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tab-style.d.ts +4 -4
- package/dist/lib/components/realtime/realtime-surface-tab-style.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tab-style.js +5 -5
- package/dist/lib/components/realtime/realtime-surface-tab-style.js.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts +7 -9
- package/dist/lib/components/realtime/realtime-surface-tabs.model.d.ts.map +1 -1
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js +12 -13
- package/dist/lib/components/realtime/realtime-surface-tabs.model.js.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts +27 -0
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js +141 -2
- package/dist/lib/components/realtime/remote-browser/remote-browser-channel.js.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.d.ts +101 -3
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.js +503 -55
- package/dist/lib/components/realtime/remote-browser/remote-browser-surface.component.js.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-tools.d.ts.map +1 -1
- package/dist/lib/components/realtime/remote-browser/remote-browser-tools.js +2 -2
- package/dist/lib/components/realtime/remote-browser/remote-browser-tools.js.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.d.ts +48 -5
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.d.ts.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.js +249 -53
- package/dist/lib/components/realtime/whiteboard/whiteboard-artifact-viewer.component.js.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.d.ts.map +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js +1 -1
- package/dist/lib/components/realtime/whiteboard/whiteboard-channel.js.map +1 -1
- package/dist/lib/components/search/search-panel.component.d.ts +10 -0
- package/dist/lib/components/search/search-panel.component.d.ts.map +1 -1
- package/dist/lib/components/search/search-panel.component.js +25 -3
- package/dist/lib/components/search/search-panel.component.js.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts +28 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.d.ts.map +1 -1
- package/dist/lib/components/sidebar/conversation-sidebar.component.js +51 -6
- package/dist/lib/components/sidebar/conversation-sidebar.component.js.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.d.ts +31 -8
- package/dist/lib/components/task/tasks-full-view.component.d.ts.map +1 -1
- package/dist/lib/components/task/tasks-full-view.component.js +692 -497
- package/dist/lib/components/task/tasks-full-view.component.js.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.d.ts.map +1 -1
- package/dist/lib/components/workspace/conversation-workspace.component.js +15 -2
- package/dist/lib/components/workspace/conversation-workspace.component.js.map +1 -1
- package/dist/lib/conversations.module.d.ts +66 -61
- package/dist/lib/conversations.module.d.ts.map +1 -1
- package/dist/lib/conversations.module.js +60 -1
- package/dist/lib/conversations.module.js.map +1 -1
- package/dist/lib/events/chat-events.d.ts +45 -0
- package/dist/lib/events/chat-events.d.ts.map +1 -1
- package/dist/lib/events/chat-events.js +64 -0
- package/dist/lib/events/chat-events.js.map +1 -1
- package/dist/lib/models/agent-turn.model.d.ts +7 -1
- package/dist/lib/models/agent-turn.model.d.ts.map +1 -1
- package/dist/lib/models/agent-turn.model.js.map +1 -1
- package/dist/lib/services/agent-state.service.d.ts.map +1 -1
- package/dist/lib/services/agent-state.service.js +14 -3
- package/dist/lib/services/agent-state.service.js.map +1 -1
- package/dist/lib/services/artifact-permission.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-permission.service.js +14 -3
- package/dist/lib/services/artifact-permission.service.js.map +1 -1
- package/dist/lib/services/artifact-state.service.d.ts.map +1 -1
- package/dist/lib/services/artifact-state.service.js +43 -11
- package/dist/lib/services/artifact-state.service.js.map +1 -1
- package/dist/lib/services/conversation-agent.service.d.ts +8 -3
- package/dist/lib/services/conversation-agent.service.d.ts.map +1 -1
- package/dist/lib/services/conversation-agent.service.js +9 -3
- package/dist/lib/services/conversation-agent.service.js.map +1 -1
- package/dist/lib/services/conversation-tasks-filter.d.ts +59 -2
- package/dist/lib/services/conversation-tasks-filter.d.ts.map +1 -1
- package/dist/lib/services/conversation-tasks-filter.js +222 -18
- package/dist/lib/services/conversation-tasks-filter.js.map +1 -1
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.d.ts +85 -0
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.js +257 -0
- package/dist/lib/services/edge-ai/edge-agent-pre-discovery.service.js.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.d.ts +85 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.js +10 -0
- package/dist/lib/services/edge-ai/edge-ai-protocol.js.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.d.ts +90 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.js +386 -0
- package/dist/lib/services/edge-ai/edge-ai-worker-host.js.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.d.ts +13 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.d.ts.map +1 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.js +201 -0
- package/dist/lib/services/edge-ai/edge-ai.worker.js.map +1 -0
- package/dist/lib/services/export.service.d.ts +64 -0
- package/dist/lib/services/export.service.d.ts.map +1 -1
- package/dist/lib/services/export.service.js +185 -6
- package/dist/lib/services/export.service.js.map +1 -1
- package/dist/lib/services/library-creation.service.d.ts +304 -0
- package/dist/lib/services/library-creation.service.d.ts.map +1 -0
- package/dist/lib/services/library-creation.service.js +1244 -0
- package/dist/lib/services/library-creation.service.js.map +1 -0
- package/dist/lib/services/realtime-audio-recorder.d.ts +10 -8
- package/dist/lib/services/realtime-audio-recorder.d.ts.map +1 -1
- package/dist/lib/services/realtime-audio-recorder.js +28 -12
- package/dist/lib/services/realtime-audio-recorder.js.map +1 -1
- package/dist/lib/services/realtime-pairing.d.ts +3 -3
- package/dist/lib/services/realtime-pairing.js +4 -4
- package/dist/lib/services/realtime-pairing.js.map +1 -1
- package/dist/lib/services/realtime-session-review.service.d.ts +14 -0
- package/dist/lib/services/realtime-session-review.service.d.ts.map +1 -1
- package/dist/lib/services/realtime-session-review.service.js +46 -4
- package/dist/lib/services/realtime-session-review.service.js.map +1 -1
- package/dist/lib/services/realtime-session.service.d.ts +10 -3
- package/dist/lib/services/realtime-session.service.d.ts.map +1 -1
- package/dist/lib/services/realtime-session.service.js +8 -3
- package/dist/lib/services/realtime-session.service.js.map +1 -1
- package/dist/lib/services/search.service.d.ts +19 -2
- package/dist/lib/services/search.service.d.ts.map +1 -1
- package/dist/lib/services/search.service.js +99 -36
- package/dist/lib/services/search.service.js.map +1 -1
- package/dist/lib/utils/agent-artifact-summary.d.ts +1 -1
- package/dist/lib/utils/agent-artifact-summary.d.ts.map +1 -1
- package/dist/lib/utils/agent-artifact-summary.js +1 -1
- package/dist/lib/utils/agent-artifact-summary.js.map +1 -1
- package/dist/lib/utils/decision-routing.d.ts +5 -2
- package/dist/lib/utils/decision-routing.d.ts.map +1 -1
- package/dist/lib/utils/decision-routing.js +9 -4
- package/dist/lib/utils/decision-routing.js.map +1 -1
- package/dist/public-api.d.ts +13 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +15 -1
- package/dist/public-api.js.map +1 -1
- package/package.json +42 -37
|
@@ -24,25 +24,35 @@ import { ClampSurfacePanelWidth, DefaultSurfacePanelWidth, IsSurfacePanelDrag, P
|
|
|
24
24
|
import { RealtimeDisclosureModel, SerializeUxMilestones, REALTIME_UX_PREF_KEY } from './realtime-disclosure';
|
|
25
25
|
import { ResolveRealtimeUi, DEFAULT_REALTIME_UI_INPUTS, DEFAULT_REALTIME_UI_SIGNALS } from './realtime-ui-config';
|
|
26
26
|
import { RealtimeAudioVisualSmoother } from './realtime-audio-visuals';
|
|
27
|
-
import {
|
|
27
|
+
import { ShouldRemoveReviewChannelTab } from './realtime-surface-tabs.model';
|
|
28
28
|
import { ShouldRegisterChannelTabUpFront } from './realtime-surface-tab-style';
|
|
29
|
+
import { SafeJSONParse } from '@memberjunction/global';
|
|
29
30
|
import { RealtimeWhiteboardBoardComponent, WhiteboardState } from '@memberjunction/ng-whiteboard';
|
|
31
|
+
import { ArtifactWorkspaceEngine } from './artifact-workspace/artifact-workspace-engine';
|
|
32
|
+
import { RealtimeArtifactWorkspaceSurfaceComponent } from './artifact-workspace/realtime-artifact-workspace-surface.component';
|
|
33
|
+
import { IsComponentArtifactDescriptor } from './artifact-workspace/artifact-workspace-types';
|
|
34
|
+
import { IsAllowedExternalMediaUrl, MediaChannelState } from './media/media-channel-state';
|
|
35
|
+
import { RealtimeMediaSurfaceComponent } from './media/realtime-media-surface.component';
|
|
36
|
+
import { IsSafeRasterImageDataUrl, RemoteBrowserSurfaceComponent, } from './remote-browser/remote-browser-surface.component';
|
|
30
37
|
import { AvatarNoticeText, MediaMoveMenuComponent, MediaStageComponent, MediaStagePipActionsDirective, MediaStageSurfaceDirective, SharePanelDirective, SharePanelRegistry } from '@memberjunction/ng-realtime-media';
|
|
31
38
|
import { MediaLayoutPrefs, RecordPipRect } from '@memberjunction/ai-realtime-client/media';
|
|
32
39
|
import * as i0 from "@angular/core";
|
|
33
40
|
import * as i1 from "@memberjunction/ng-shared-generic";
|
|
34
41
|
import * as i2 from "@angular/common";
|
|
35
|
-
const _c0 = ["
|
|
36
|
-
const _c1 = ["
|
|
37
|
-
const _c2 = ["
|
|
42
|
+
const _c0 = ["reviewDocsTpl"];
|
|
43
|
+
const _c1 = ["reviewMediaTpl"];
|
|
44
|
+
const _c2 = ["reviewBrowserTpl"];
|
|
45
|
+
const _c3 = ["reviewBoardTpl"];
|
|
46
|
+
const _c4 = ["recordingTpl"];
|
|
47
|
+
const _c5 = ["presenterSlot"];
|
|
38
48
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
i0.ɵɵelement(0, "mj-alert",
|
|
49
|
+
i0.ɵɵelement(0, "mj-alert", 11);
|
|
40
50
|
} if (rf & 2) {
|
|
41
51
|
i0.ɵɵproperty("Message", ctx);
|
|
42
52
|
} }
|
|
43
53
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
44
54
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
45
|
-
i0.ɵɵelementStart(0, "mj-alert",
|
|
55
|
+
i0.ɵɵelementStart(0, "mj-alert", 25);
|
|
46
56
|
i0.ɵɵlistener("Dismissed", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_5_Template_mj_alert_Dismissed_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnAvatarNoticeDismissed()); });
|
|
47
57
|
i0.ɵɵelementEnd();
|
|
48
58
|
} if (rf & 2) {
|
|
@@ -50,8 +60,8 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_5_Template(rf
|
|
|
50
60
|
i0.ɵɵproperty("Message", ctx_r1.AvatarNoticeMessage);
|
|
51
61
|
} }
|
|
52
62
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
-
i0.ɵɵelementStart(0, "div",
|
|
54
|
-
i0.ɵɵelement(1, "i",
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 13);
|
|
64
|
+
i0.ɵɵelement(1, "i", 26);
|
|
55
65
|
i0.ɵɵtext(2);
|
|
56
66
|
i0.ɵɵelementEnd();
|
|
57
67
|
} if (rf & 2) {
|
|
@@ -60,19 +70,19 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_6_Template(rf
|
|
|
60
70
|
i0.ɵɵtextInterpolate1(" ", ctx_r1.State.Narration, " ");
|
|
61
71
|
} }
|
|
62
72
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
-
i0.ɵɵelement(0, "div",
|
|
73
|
+
i0.ɵɵelement(0, "div", 27, 6);
|
|
64
74
|
} if (rf & 2) {
|
|
65
75
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
66
76
|
i0.ɵɵclassProp("call-presenter--on", ctx_r1.PresenterOnStage);
|
|
67
77
|
} }
|
|
68
78
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
-
i0.ɵɵelementStart(0, "div",
|
|
70
|
-
i0.ɵɵelement(1, "mj-loading",
|
|
79
|
+
i0.ɵɵelementStart(0, "div", 16);
|
|
80
|
+
i0.ɵɵelement(1, "mj-loading", 28);
|
|
71
81
|
i0.ɵɵelementEnd();
|
|
72
82
|
} }
|
|
73
83
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
i0.ɵɵelement(0, "mj-realtime-agent-orb",
|
|
75
|
-
i0.ɵɵelementStart(1, "div",
|
|
84
|
+
i0.ɵɵelement(0, "mj-realtime-agent-orb", 34);
|
|
85
|
+
i0.ɵɵelementStart(1, "div", 35);
|
|
76
86
|
i0.ɵɵelement(2, "span")(3, "span")(4, "span")(5, "span")(6, "span")(7, "span")(8, "span")(9, "span")(10, "span");
|
|
77
87
|
i0.ɵɵelementEnd();
|
|
78
88
|
} if (rf & 2) {
|
|
@@ -81,7 +91,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditiona
|
|
|
81
91
|
i0.ɵɵproperty("State", ctx_r1.HeroOrbState(state_r4));
|
|
82
92
|
} }
|
|
83
93
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_4_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
84
|
-
i0.ɵɵelementStart(0, "span",
|
|
94
|
+
i0.ɵɵelementStart(0, "span", 38);
|
|
85
95
|
i0.ɵɵtext(1);
|
|
86
96
|
i0.ɵɵelementEnd();
|
|
87
97
|
} if (rf & 2) {
|
|
@@ -90,8 +100,8 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditiona
|
|
|
90
100
|
i0.ɵɵtextInterpolate1("", caption_r5.Speaker, ":");
|
|
91
101
|
} }
|
|
92
102
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
93
|
-
i0.ɵɵelementStart(0, "p",
|
|
94
|
-
i0.ɵɵconditionalCreate(3, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_4_Conditional_3_Template, 2, 1, "span",
|
|
103
|
+
i0.ɵɵelementStart(0, "p", 31)(1, "span", 36)(2, "span", 37);
|
|
104
|
+
i0.ɵɵconditionalCreate(3, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_4_Conditional_3_Template, 2, 1, "span", 38);
|
|
95
105
|
i0.ɵɵtext(4);
|
|
96
106
|
i0.ɵɵelementEnd()()();
|
|
97
107
|
} if (rf & 2) {
|
|
@@ -102,10 +112,10 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditiona
|
|
|
102
112
|
i0.ɵɵtextInterpolate1(" ", caption_r5.Text, " ");
|
|
103
113
|
} }
|
|
104
114
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
105
|
-
i0.ɵɵelementStart(0, "div",
|
|
115
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
106
116
|
i0.ɵɵtext(1);
|
|
107
117
|
i0.ɵɵelementEnd();
|
|
108
|
-
i0.ɵɵelementStart(2, "div",
|
|
118
|
+
i0.ɵɵelementStart(2, "div", 40);
|
|
109
119
|
i0.ɵɵtext(3);
|
|
110
120
|
i0.ɵɵelementEnd();
|
|
111
121
|
} if (rf & 2) {
|
|
@@ -117,7 +127,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditiona
|
|
|
117
127
|
i0.ɵɵtextInterpolate(ctx_r1.HeroStateLabel(state_r4));
|
|
118
128
|
} }
|
|
119
129
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
120
|
-
i0.ɵɵelementStart(0, "span",
|
|
130
|
+
i0.ɵɵelementStart(0, "span", 32);
|
|
121
131
|
i0.ɵɵtext(1);
|
|
122
132
|
i0.ɵɵelementEnd();
|
|
123
133
|
} if (rf & 2) {
|
|
@@ -128,23 +138,23 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditiona
|
|
|
128
138
|
} }
|
|
129
139
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
130
140
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
131
|
-
i0.ɵɵelementStart(0, "button",
|
|
141
|
+
i0.ɵɵelementStart(0, "button", 41);
|
|
132
142
|
i0.ɵɵlistener("click", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_7_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnTextReveal()); });
|
|
133
|
-
i0.ɵɵelement(1, "i",
|
|
143
|
+
i0.ɵɵelement(1, "i", 42);
|
|
134
144
|
i0.ɵɵtext(2, " Show the conversation ");
|
|
135
145
|
i0.ɵɵelementEnd();
|
|
136
146
|
} }
|
|
137
147
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
138
|
-
i0.ɵɵelementStart(0, "div",
|
|
148
|
+
i0.ɵɵelementStart(0, "div", 29);
|
|
139
149
|
i0.ɵɵconditionalCreate(1, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_1_Template, 11, 1);
|
|
140
|
-
i0.ɵɵelementStart(2, "div",
|
|
141
|
-
i0.ɵɵconditionalCreate(4, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_4_Template, 5, 2, "p",
|
|
150
|
+
i0.ɵɵelementStart(2, "div", 30, 6);
|
|
151
|
+
i0.ɵɵconditionalCreate(4, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_4_Template, 5, 2, "p", 31);
|
|
142
152
|
i0.ɵɵelementEnd();
|
|
143
|
-
i0.ɵɵconditionalCreate(5, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_5_Template, 4, 2)(6, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_6_Template, 2, 1, "span",
|
|
144
|
-
i0.ɵɵconditionalCreate(7, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_7_Template, 3, 0, "button",
|
|
153
|
+
i0.ɵɵconditionalCreate(5, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_5_Template, 4, 2)(6, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_6_Template, 2, 1, "span", 32);
|
|
154
|
+
i0.ɵɵconditionalCreate(7, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Conditional_7_Template, 3, 0, "button", 33);
|
|
145
155
|
i0.ɵɵelementEnd();
|
|
146
156
|
} if (rf & 2) {
|
|
147
|
-
let
|
|
157
|
+
let tmp_14_0;
|
|
148
158
|
const state_r4 = i0.ɵɵnextContext();
|
|
149
159
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
150
160
|
i0.ɵɵclassProp("hero--presenting", ctx_r1.PresenterOnStage);
|
|
@@ -154,7 +164,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Template(r
|
|
|
154
164
|
i0.ɵɵadvance();
|
|
155
165
|
i0.ɵɵclassProp("hero__presenter--on", ctx_r1.PresenterOnStage);
|
|
156
166
|
i0.ɵɵadvance(2);
|
|
157
|
-
i0.ɵɵconditional((
|
|
167
|
+
i0.ɵɵconditional((tmp_14_0 = ctx_r1.ShowAvatarCaptions && ctx_r1.AvatarCaption) ? 4 : -1, tmp_14_0);
|
|
158
168
|
i0.ɵɵadvance();
|
|
159
169
|
i0.ɵɵconditional(!ctx_r1.PresenterOnStage ? 5 : 6);
|
|
160
170
|
i0.ɵɵadvance(2);
|
|
@@ -162,7 +172,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Template(r
|
|
|
162
172
|
} }
|
|
163
173
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
164
174
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
165
|
-
i0.ɵɵelementStart(0, "mj-realtime-session-thread",
|
|
175
|
+
i0.ɵɵelementStart(0, "mj-realtime-session-thread", 43);
|
|
166
176
|
i0.ɵɵlistener("OpenRunRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_11_Template_mj_realtime_session_thread_OpenRunRequested_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnOpenRunRequested($event)); })("OpenArtifactRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_11_Template_mj_realtime_session_thread_OpenArtifactRequested_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnOpenArtifactRequested($event)); })("CancelRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_11_Template_mj_realtime_session_thread_CancelRequested_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnCancelDelegation($event)); });
|
|
167
177
|
i0.ɵɵelementEnd();
|
|
168
178
|
} if (rf & 2) {
|
|
@@ -174,11 +184,11 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Conditiona
|
|
|
174
184
|
} }
|
|
175
185
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
176
186
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
177
|
-
i0.ɵɵelementStart(0, "mj-realtime-perception-chip",
|
|
187
|
+
i0.ɵɵelementStart(0, "mj-realtime-perception-chip", 44);
|
|
178
188
|
i0.ɵɵlistener("SourceToggled", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_perception_chip_SourceToggled_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnVideoSourceToggled($event)); })("SourcePicked", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_perception_chip_SourcePicked_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnVideoSourcePicked($event)); });
|
|
179
189
|
i0.ɵɵelementEnd();
|
|
180
190
|
i0.ɵɵconditionalCreate(1, RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Conditional_1_Template, 1, 0, "mj-realtime-channel-strip");
|
|
181
|
-
i0.ɵɵelementStart(2, "mj-realtime-composer",
|
|
191
|
+
i0.ɵɵelementStart(2, "mj-realtime-composer", 45);
|
|
182
192
|
i0.ɵɵlistener("OpenChanged", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_OpenChanged_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnComposerOpenChanged($event)); })("CameraToggled", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_CameraToggled_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnCameraToggled($event)); })("ShareRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_ShareRequested_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnShareRequested($event)); })("StopShareRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_StopShareRequested_2_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnStopShareRequested()); })("DeviceSelected", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_DeviceSelected_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnDeviceSelected($event)); })("CaptionsToggled", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_CaptionsToggled_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnCaptionsToggled($event)); })("DetailsToggled", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_DetailsToggled_2_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnDetailsToggled()); })("MuteChanged", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_MuteChanged_2_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnComposerMuteChanged($event)); })("EndRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template_mj_realtime_composer_EndRequested_2_listener() { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnEndCall()); });
|
|
183
193
|
i0.ɵɵelementEnd();
|
|
184
194
|
} if (rf & 2) {
|
|
@@ -191,7 +201,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template(r
|
|
|
191
201
|
} }
|
|
192
202
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
193
203
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
194
|
-
i0.ɵɵelementStart(0, "div",
|
|
204
|
+
i0.ɵɵelementStart(0, "div", 49);
|
|
195
205
|
i0.ɵɵlistener("mousedown", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Conditional_0_Template_div_mousedown_0_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnPanelResizeStart($event)); })("dblclick", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Conditional_0_Template_div_dblclick_0_listener() { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnPanelResizeReset()); });
|
|
196
206
|
i0.ɵɵelementEnd();
|
|
197
207
|
} if (rf & 2) {
|
|
@@ -200,8 +210,8 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Conditiona
|
|
|
200
210
|
} }
|
|
201
211
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
202
212
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
203
|
-
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Conditional_0_Template, 1, 2, "div",
|
|
204
|
-
i0.ɵɵelementStart(1, "div",
|
|
213
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Conditional_0_Template, 1, 2, "div", 46);
|
|
214
|
+
i0.ɵɵelementStart(1, "div", 47)(2, "mj-realtime-surface-tabs", 48);
|
|
205
215
|
i0.ɵɵlistener("OpenRunRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template_mj_realtime_surface_tabs_OpenRunRequested_2_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnOpenRunRequested($event)); })("CollapsedChange", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template_mj_realtime_surface_tabs_CollapsedChange_2_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnPanelCollapsedChange($event)); })("WideChanged", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template_mj_realtime_surface_tabs_WideChanged_2_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnPanelWideChanged($event)); })("ActiveChannelChange", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template_mj_realtime_surface_tabs_ActiveChannelChange_2_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnActiveChannelChange($event)); })("ChannelSlotChange", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template_mj_realtime_surface_tabs_ChannelSlotChange_2_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnChannelSlotChange($event)); })("MoveRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template_mj_realtime_surface_tabs_MoveRequested_2_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnMoveRequested($event)); })("ResetLayoutRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template_mj_realtime_surface_tabs_ResetLayoutRequested_2_listener() { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnResetLayout()); });
|
|
206
216
|
i0.ɵɵelementEnd()();
|
|
207
217
|
} if (rf & 2) {
|
|
@@ -214,7 +224,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template(r
|
|
|
214
224
|
} }
|
|
215
225
|
function RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
216
226
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
217
|
-
i0.ɵɵelementStart(0, "mj-media-move-menu",
|
|
227
|
+
i0.ɵɵelementStart(0, "mj-media-move-menu", 53);
|
|
218
228
|
i0.ɵɵlistener("MoveRequested", function RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Conditional_2_Template_mj_media_move_menu_MoveRequested_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnMoveRequested($event)); })("ResetLayoutRequested", function RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Conditional_2_Template_mj_media_move_menu_ResetLayoutRequested_0_listener() { i0.ɵɵrestoreView(_r11); const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnResetLayout()); });
|
|
219
229
|
i0.ɵɵelementEnd();
|
|
220
230
|
} if (rf & 2) {
|
|
@@ -224,9 +234,9 @@ function RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditiona
|
|
|
224
234
|
i0.ɵɵproperty("Key", key_r13)("Title", plugin_r12.TabTitle)("Allowed", ctx_r1.SurfaceStage.AllowedFor(key_r13));
|
|
225
235
|
} }
|
|
226
236
|
function RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
227
|
-
i0.ɵɵelementStart(0, "div",
|
|
228
|
-
i0.ɵɵelement(1, "mj-realtime-channel-pane",
|
|
229
|
-
i0.ɵɵconditionalCreate(2, RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Conditional_2_Template, 1, 3, "mj-media-move-menu",
|
|
237
|
+
i0.ɵɵelementStart(0, "div", 50);
|
|
238
|
+
i0.ɵɵelement(1, "mj-realtime-channel-pane", 51);
|
|
239
|
+
i0.ɵɵconditionalCreate(2, RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Conditional_2_Template, 1, 3, "mj-media-move-menu", 52);
|
|
230
240
|
i0.ɵɵelementEnd();
|
|
231
241
|
} if (rf & 2) {
|
|
232
242
|
const plugin_r12 = ctx;
|
|
@@ -241,16 +251,16 @@ function RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditiona
|
|
|
241
251
|
i0.ɵɵconditional(placement_r16 === "stage" && plugin_r12.ShowsAgentVideo ? 2 : -1);
|
|
242
252
|
} }
|
|
243
253
|
function RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Template(rf, ctx) { if (rf & 1) {
|
|
244
|
-
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Template, 3, 7, "div",
|
|
254
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Conditional_0_Template, 3, 7, "div", 50);
|
|
245
255
|
} if (rf & 2) {
|
|
246
|
-
let
|
|
256
|
+
let tmp_12_0;
|
|
247
257
|
const key_r13 = ctx.$implicit;
|
|
248
258
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
249
|
-
i0.ɵɵconditional((
|
|
259
|
+
i0.ɵɵconditional((tmp_12_0 = ctx_r1.SurfaceStage.PluginFor(key_r13)) ? 0 : -1, tmp_12_0);
|
|
250
260
|
} }
|
|
251
261
|
function RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
252
262
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
253
|
-
i0.ɵɵelementStart(0, "mj-media-move-menu",
|
|
263
|
+
i0.ɵɵelementStart(0, "mj-media-move-menu", 55);
|
|
254
264
|
i0.ɵɵlistener("MoveRequested", function RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Conditional_0_Template_mj_media_move_menu_MoveRequested_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnMoveRequested($event)); })("ResetLayoutRequested", function RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Conditional_0_Template_mj_media_move_menu_ResetLayoutRequested_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnResetLayout()); });
|
|
255
265
|
i0.ɵɵelementEnd();
|
|
256
266
|
} if (rf & 2) {
|
|
@@ -259,15 +269,15 @@ function RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Conditiona
|
|
|
259
269
|
i0.ɵɵproperty("Key", key_r18)("Title", ctx.TabTitle)("Allowed", ctx_r1.SurfaceStage.AllowedFor(key_r18));
|
|
260
270
|
} }
|
|
261
271
|
function RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Template(rf, ctx) { if (rf & 1) {
|
|
262
|
-
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Conditional_0_Template, 1, 3, "mj-media-move-menu",
|
|
272
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Conditional_0_Template, 1, 3, "mj-media-move-menu", 54);
|
|
263
273
|
} if (rf & 2) {
|
|
264
|
-
let
|
|
274
|
+
let tmp_10_0;
|
|
265
275
|
const key_r18 = ctx.$implicit;
|
|
266
276
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
267
|
-
i0.ɵɵconditional((
|
|
277
|
+
i0.ɵɵconditional((tmp_10_0 = ctx_r1.SurfaceStage.PluginFor(key_r18)) ? 0 : -1, tmp_10_0);
|
|
268
278
|
} }
|
|
269
279
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
270
|
-
i0.ɵɵelementStart(0, "span",
|
|
280
|
+
i0.ɵɵelementStart(0, "span", 59);
|
|
271
281
|
i0.ɵɵtext(1);
|
|
272
282
|
i0.ɵɵelementEnd();
|
|
273
283
|
} if (rf & 2) {
|
|
@@ -276,7 +286,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditiona
|
|
|
276
286
|
} }
|
|
277
287
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
278
288
|
const _r20 = i0.ɵɵgetCurrentView();
|
|
279
|
-
i0.ɵɵelementStart(0, "mj-media-move-menu",
|
|
289
|
+
i0.ɵɵelementStart(0, "mj-media-move-menu", 65);
|
|
280
290
|
i0.ɵɵlistener("MoveRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_10_Template_mj_media_move_menu_MoveRequested_0_listener($event) { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnMoveRequested($event)); })("ResetLayoutRequested", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_10_Template_mj_media_move_menu_ResetLayoutRequested_0_listener() { i0.ɵɵrestoreView(_r20); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnResetLayout()); });
|
|
281
291
|
i0.ɵɵelementEnd();
|
|
282
292
|
} if (rf & 2) {
|
|
@@ -286,34 +296,34 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditiona
|
|
|
286
296
|
} }
|
|
287
297
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
288
298
|
const _r22 = i0.ɵɵgetCurrentView();
|
|
289
|
-
i0.ɵɵelementStart(0, "button",
|
|
299
|
+
i0.ɵɵelementStart(0, "button", 66);
|
|
290
300
|
i0.ɵɵlistener("click", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_11_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r22); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.OnFocusPillEnd()); });
|
|
291
|
-
i0.ɵɵelement(1, "i",
|
|
301
|
+
i0.ɵɵelement(1, "i", 67);
|
|
292
302
|
i0.ɵɵelementEnd();
|
|
293
303
|
} }
|
|
294
304
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
295
305
|
const _r19 = i0.ɵɵgetCurrentView();
|
|
296
|
-
i0.ɵɵelementStart(0, "div",
|
|
297
|
-
i0.ɵɵelement(1, "span",
|
|
298
|
-
i0.ɵɵelementStart(2, "span",
|
|
306
|
+
i0.ɵɵelementStart(0, "div", 23);
|
|
307
|
+
i0.ɵɵelement(1, "span", 56);
|
|
308
|
+
i0.ɵɵelementStart(2, "span", 57)(3, "span", 58);
|
|
299
309
|
i0.ɵɵtext(4);
|
|
300
310
|
i0.ɵɵelementEnd();
|
|
301
|
-
i0.ɵɵconditionalCreate(5, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_5_Template, 2, 1, "span",
|
|
311
|
+
i0.ɵɵconditionalCreate(5, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_5_Template, 2, 1, "span", 59);
|
|
302
312
|
i0.ɵɵelementEnd();
|
|
303
|
-
i0.ɵɵelementStart(6, "button",
|
|
313
|
+
i0.ɵɵelementStart(6, "button", 60);
|
|
304
314
|
i0.ɵɵlistener("click", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r19); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFocusPillMute()); });
|
|
305
|
-
i0.ɵɵelement(7, "i",
|
|
315
|
+
i0.ɵɵelement(7, "i", 61);
|
|
306
316
|
i0.ɵɵelementEnd();
|
|
307
|
-
i0.ɵɵelementStart(8, "button",
|
|
317
|
+
i0.ɵɵelementStart(8, "button", 60);
|
|
308
318
|
i0.ɵɵlistener("click", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Template_button_click_8_listener() { i0.ɵɵrestoreView(_r19); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFocusPillExit()); });
|
|
309
|
-
i0.ɵɵelement(9, "i",
|
|
319
|
+
i0.ɵɵelement(9, "i", 62);
|
|
310
320
|
i0.ɵɵelementEnd();
|
|
311
|
-
i0.ɵɵconditionalCreate(10, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_10_Template, 1, 3, "mj-media-move-menu",
|
|
312
|
-
i0.ɵɵconditionalCreate(11, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_11_Template, 2, 0, "button",
|
|
321
|
+
i0.ɵɵconditionalCreate(10, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_10_Template, 1, 3, "mj-media-move-menu", 63);
|
|
322
|
+
i0.ɵɵconditionalCreate(11, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Conditional_11_Template, 2, 0, "button", 64);
|
|
313
323
|
i0.ɵɵelementEnd();
|
|
314
324
|
} if (rf & 2) {
|
|
315
|
-
let
|
|
316
|
-
let
|
|
325
|
+
let tmp_11_0;
|
|
326
|
+
let tmp_19_0;
|
|
317
327
|
const state_r4 = i0.ɵɵnextContext();
|
|
318
328
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
319
329
|
i0.ɵɵadvance();
|
|
@@ -321,7 +331,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Template(r
|
|
|
321
331
|
i0.ɵɵadvance(3);
|
|
322
332
|
i0.ɵɵtextInterpolate1("Voice for ", ctx_r1.AgentName);
|
|
323
333
|
i0.ɵɵadvance();
|
|
324
|
-
i0.ɵɵconditional((
|
|
334
|
+
i0.ɵɵconditional((tmp_11_0 = ctx_r1.FocusStateLabel(state_r4)) ? 5 : -1, tmp_11_0);
|
|
325
335
|
i0.ɵɵadvance();
|
|
326
336
|
i0.ɵɵclassProp("board-focus-pill__btn--active", ctx_r1.FocusPillMuted);
|
|
327
337
|
i0.ɵɵproperty("title", ctx_r1.FocusPillMuted ? "Unmute" : "Mute");
|
|
@@ -332,13 +342,13 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Template(r
|
|
|
332
342
|
i0.ɵɵproperty("title", ctx_r1.Ui.allowTextReveal ? "Show thread" : "Back to the call");
|
|
333
343
|
i0.ɵɵattribute("aria-label", ctx_r1.Ui.allowTextReveal ? "Show the conversation thread" : "Leave focus mode and return to the call");
|
|
334
344
|
i0.ɵɵadvance(2);
|
|
335
|
-
i0.ɵɵconditional((
|
|
345
|
+
i0.ɵɵconditional((tmp_19_0 = ctx_r1.StagePlugin) ? 10 : -1, tmp_19_0);
|
|
336
346
|
i0.ɵɵadvance();
|
|
337
347
|
i0.ɵɵconditional(ctx_r1.Ui.showEnd ? 11 : -1);
|
|
338
348
|
} }
|
|
339
349
|
function RealtimeSessionOverlayComponent_Conditional_0_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
340
350
|
const _r23 = i0.ɵɵgetCurrentView();
|
|
341
|
-
i0.ɵɵelementStart(0, "mj-realtime-camera-check-card",
|
|
351
|
+
i0.ɵɵelementStart(0, "mj-realtime-camera-check-card", 68);
|
|
342
352
|
i0.ɵɵlistener("Confirmed", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_20_Template_mj_realtime_camera_check_card_Confirmed_0_listener() { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnCameraCheckConfirmed()); })("Declined", function RealtimeSessionOverlayComponent_Conditional_0_Conditional_20_Template_mj_realtime_camera_check_card_Declined_0_listener() { i0.ɵɵrestoreView(_r23); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnCameraCheckDeclined()); });
|
|
343
353
|
i0.ɵɵelementEnd();
|
|
344
354
|
} if (rf & 2) {
|
|
@@ -347,31 +357,31 @@ function RealtimeSessionOverlayComponent_Conditional_0_Conditional_20_Template(r
|
|
|
347
357
|
} }
|
|
348
358
|
function RealtimeSessionOverlayComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
349
359
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
350
|
-
i0.ɵɵelementStart(0, "div",
|
|
360
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "div", 9)(2, "mj-realtime-agent-banner", 10);
|
|
351
361
|
i0.ɵɵpipe(3, "async");
|
|
352
362
|
i0.ɵɵlistener("OpenSessionRequested", function RealtimeSessionOverlayComponent_Conditional_0_Template_mj_realtime_agent_banner_OpenSessionRequested_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnOpenSessionRequested($event)); })("DevModeToggled", function RealtimeSessionOverlayComponent_Conditional_0_Template_mj_realtime_agent_banner_DevModeToggled_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDevModeToggled($event)); })("DensityChanged", function RealtimeSessionOverlayComponent_Conditional_0_Template_mj_realtime_agent_banner_DensityChanged_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDensityChanged($event)); })("MinimizeRequested", function RealtimeSessionOverlayComponent_Conditional_0_Template_mj_realtime_agent_banner_MinimizeRequested_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnMinimize()); })("StartLiveRequested", function RealtimeSessionOverlayComponent_Conditional_0_Template_mj_realtime_agent_banner_StartLiveRequested_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnStartLive()); })("CloseRequested", function RealtimeSessionOverlayComponent_Conditional_0_Template_mj_realtime_agent_banner_CloseRequested_2_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnReviewClose()); });
|
|
353
363
|
i0.ɵɵelementEnd();
|
|
354
|
-
i0.ɵɵconditionalCreate(4, RealtimeSessionOverlayComponent_Conditional_0_Conditional_4_Template, 1, 1, "mj-alert",
|
|
355
|
-
i0.ɵɵconditionalCreate(5, RealtimeSessionOverlayComponent_Conditional_0_Conditional_5_Template, 1, 1, "mj-alert",
|
|
356
|
-
i0.ɵɵconditionalCreate(6, RealtimeSessionOverlayComponent_Conditional_0_Conditional_6_Template, 3, 1, "div",
|
|
357
|
-
i0.ɵɵconditionalCreate(7, RealtimeSessionOverlayComponent_Conditional_0_Conditional_7_Template, 2, 2, "div",
|
|
358
|
-
i0.ɵɵelementStart(8, "div",
|
|
359
|
-
i0.ɵɵconditionalCreate(9, RealtimeSessionOverlayComponent_Conditional_0_Conditional_9_Template, 2, 0, "div",
|
|
364
|
+
i0.ɵɵconditionalCreate(4, RealtimeSessionOverlayComponent_Conditional_0_Conditional_4_Template, 1, 1, "mj-alert", 11);
|
|
365
|
+
i0.ɵɵconditionalCreate(5, RealtimeSessionOverlayComponent_Conditional_0_Conditional_5_Template, 1, 1, "mj-alert", 12);
|
|
366
|
+
i0.ɵɵconditionalCreate(6, RealtimeSessionOverlayComponent_Conditional_0_Conditional_6_Template, 3, 1, "div", 13);
|
|
367
|
+
i0.ɵɵconditionalCreate(7, RealtimeSessionOverlayComponent_Conditional_0_Conditional_7_Template, 2, 2, "div", 14);
|
|
368
|
+
i0.ɵɵelementStart(8, "div", 15);
|
|
369
|
+
i0.ɵɵconditionalCreate(9, RealtimeSessionOverlayComponent_Conditional_0_Conditional_9_Template, 2, 0, "div", 16)(10, RealtimeSessionOverlayComponent_Conditional_0_Conditional_10_Template, 8, 9, "div", 17)(11, RealtimeSessionOverlayComponent_Conditional_0_Conditional_11_Template, 1, 6, "mj-realtime-session-thread", 18);
|
|
360
370
|
i0.ɵɵelementEnd();
|
|
361
|
-
i0.ɵɵelementStart(12, "div",
|
|
371
|
+
i0.ɵɵelementStart(12, "div", 19, 5);
|
|
362
372
|
i0.ɵɵconditionalCreate(14, RealtimeSessionOverlayComponent_Conditional_0_Conditional_14_Template, 3, 19);
|
|
363
373
|
i0.ɵɵelementEnd()();
|
|
364
374
|
i0.ɵɵconditionalCreate(15, RealtimeSessionOverlayComponent_Conditional_0_Conditional_15_Template, 3, 12);
|
|
365
|
-
i0.ɵɵelementStart(16, "mj-media-stage",
|
|
375
|
+
i0.ɵɵelementStart(16, "mj-media-stage", 20);
|
|
366
376
|
i0.ɵɵlistener("PipRectChange", function RealtimeSessionOverlayComponent_Conditional_0_Template_mj_media_stage_PipRectChange_16_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnPipRectChange($event)); });
|
|
367
|
-
i0.ɵɵtemplate(17, RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Template, 1, 1, "ng-template",
|
|
377
|
+
i0.ɵɵtemplate(17, RealtimeSessionOverlayComponent_Conditional_0_ng_template_17_Template, 1, 1, "ng-template", 21)(18, RealtimeSessionOverlayComponent_Conditional_0_ng_template_18_Template, 1, 1, "ng-template", 22);
|
|
368
378
|
i0.ɵɵelementEnd();
|
|
369
|
-
i0.ɵɵconditionalCreate(19, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Template, 12, 15, "div",
|
|
370
|
-
i0.ɵɵconditionalCreate(20, RealtimeSessionOverlayComponent_Conditional_0_Conditional_20_Template, 1, 3, "mj-realtime-camera-check-card",
|
|
379
|
+
i0.ɵɵconditionalCreate(19, RealtimeSessionOverlayComponent_Conditional_0_Conditional_19_Template, 12, 15, "div", 23);
|
|
380
|
+
i0.ɵɵconditionalCreate(20, RealtimeSessionOverlayComponent_Conditional_0_Conditional_20_Template, 1, 3, "mj-realtime-camera-check-card", 24);
|
|
371
381
|
i0.ɵɵelementEnd();
|
|
372
382
|
} if (rf & 2) {
|
|
373
|
-
let
|
|
374
|
-
let
|
|
383
|
+
let tmp_30_0;
|
|
384
|
+
let tmp_45_0;
|
|
375
385
|
const state_r4 = ctx;
|
|
376
386
|
const callControls_r24 = i0.ɵɵreference(13);
|
|
377
387
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -380,7 +390,7 @@ function RealtimeSessionOverlayComponent_Conditional_0_Template(rf, ctx) { if (r
|
|
|
380
390
|
i0.ɵɵadvance(2);
|
|
381
391
|
i0.ɵɵproperty("State", state_r4)("Compact", !ctx_r1.IsReviewing && ctx_r1.Ui.compact && ctx_r1.Ui.chrome === "orb")("HideState", ctx_r1.ShowHero && !ctx_r1.PresenterOnStage)("AgentName", ctx_r1.AgentName)("ErrorLabel", ctx_r1.CallEndLabel)("ModelName", ctx_r1.IsReviewing ? null : i0.ɵɵpipeBind1(3, 42, ctx_r1.ModelName$))("DevMode", ctx_r1.Ui.showDevLinks)("AllowDevLinks", ctx_r1.AllowDevLinks)("SessionID", ctx_r1.IsReviewing ? ctx_r1.ReviewSessionID : ctx_r1.SessionID)("ReviewMode", ctx_r1.IsReviewing)("ReviewStartedAt", ctx_r1.ReviewStartedAt)("ReviewClosedAt", ctx_r1.ReviewClosedAt)("ReviewCloseReason", ctx_r1.ReviewCloseReason)("ShowGear", !ctx_r1.IsReviewing && ctx_r1.Ui.showGear)("ShowDensityPicker", ctx_r1.Ui.showDensityPicker)("ShowMinimize", !ctx_r1.IsReviewing && ctx_r1.Ui.showMinimize)("ShowStartLive", ctx_r1.AllowStartLive)("Density", ctx_r1.Disclosure.Milestones.Density);
|
|
382
392
|
i0.ɵɵadvance(2);
|
|
383
|
-
i0.ɵɵconditional((
|
|
393
|
+
i0.ɵɵconditional((tmp_30_0 = ctx_r1.MicrophoneNotice) ? 4 : -1, tmp_30_0);
|
|
384
394
|
i0.ɵɵadvance();
|
|
385
395
|
i0.ɵɵconditional(ctx_r1.AvatarNotice ? 5 : -1);
|
|
386
396
|
i0.ɵɵadvance();
|
|
@@ -400,27 +410,75 @@ function RealtimeSessionOverlayComponent_Conditional_0_Template(rf, ctx) { if (r
|
|
|
400
410
|
i0.ɵɵadvance(3);
|
|
401
411
|
i0.ɵɵconditional(!ctx_r1.IsReviewing && ctx_r1.ChannelFocusMode ? 19 : -1);
|
|
402
412
|
i0.ɵɵadvance();
|
|
403
|
-
i0.ɵɵconditional((
|
|
413
|
+
i0.ɵɵconditional((tmp_45_0 = ctx_r1.CameraCheck) ? 20 : -1, tmp_45_0);
|
|
404
414
|
} }
|
|
405
415
|
function RealtimeSessionOverlayComponent_ng_template_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
406
|
-
i0.ɵɵelementStart(0, "div",
|
|
407
|
-
i0.ɵɵelement(1, "mj-realtime-
|
|
416
|
+
i0.ɵɵelementStart(0, "div", 69);
|
|
417
|
+
i0.ɵɵelement(1, "mj-realtime-artifact-workspace-surface", 70);
|
|
408
418
|
i0.ɵɵelementEnd();
|
|
409
419
|
} if (rf & 2) {
|
|
410
420
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
411
421
|
i0.ɵɵadvance();
|
|
412
|
-
i0.ɵɵproperty("
|
|
422
|
+
i0.ɵɵproperty("Engine", ctx)("AgentName", ctx_r1.AgentName)("CurrentUser", ctx_r1.CurrentUser)("EnvironmentID", ctx_r1.EnvironmentID)("Provider", ctx_r1.Provider)("ReadOnly", true);
|
|
413
423
|
} }
|
|
414
424
|
function RealtimeSessionOverlayComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
415
|
-
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_ng_template_2_Conditional_0_Template, 2,
|
|
425
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_ng_template_2_Conditional_0_Template, 2, 6, "div", 69);
|
|
416
426
|
} if (rf & 2) {
|
|
417
|
-
let
|
|
427
|
+
let tmp_6_0;
|
|
418
428
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
419
|
-
i0.ɵɵconditional((
|
|
429
|
+
i0.ɵɵconditional((tmp_6_0 = ctx_r1.ReviewWorkspaceEngine) ? 0 : -1, tmp_6_0);
|
|
430
|
+
} }
|
|
431
|
+
function RealtimeSessionOverlayComponent_ng_template_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
432
|
+
i0.ɵɵelementStart(0, "div", 71);
|
|
433
|
+
i0.ɵɵelement(1, "mj-realtime-media-surface", 72);
|
|
434
|
+
i0.ɵɵelementEnd();
|
|
435
|
+
} if (rf & 2) {
|
|
436
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
437
|
+
i0.ɵɵadvance();
|
|
438
|
+
i0.ɵɵproperty("State", ctx)("AgentName", ctx_r1.AgentName)("Provider", ctx_r1.Provider);
|
|
420
439
|
} }
|
|
421
440
|
function RealtimeSessionOverlayComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
422
|
-
i0.ɵɵ
|
|
423
|
-
|
|
441
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_ng_template_4_Conditional_0_Template, 2, 3, "div", 71);
|
|
442
|
+
} if (rf & 2) {
|
|
443
|
+
let tmp_6_0;
|
|
444
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
445
|
+
i0.ɵɵconditional((tmp_6_0 = ctx_r1.ReviewMedia) ? 0 : -1, tmp_6_0);
|
|
446
|
+
} }
|
|
447
|
+
function RealtimeSessionOverlayComponent_ng_template_6_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
448
|
+
i0.ɵɵelementStart(0, "div", 73);
|
|
449
|
+
i0.ɵɵelement(1, "mj-realtime-remote-browser-surface", 74);
|
|
450
|
+
i0.ɵɵelementEnd();
|
|
451
|
+
} if (rf & 2) {
|
|
452
|
+
const browser_r25 = ctx;
|
|
453
|
+
i0.ɵɵadvance();
|
|
454
|
+
i0.ɵɵproperty("ReadOnly", true)("CurrentUrl", browser_r25.CurrentUrl)("ScreenshotDataUrl", browser_r25.ScreenshotDataUrl ?? null)("ReviewHistory", browser_r25.History);
|
|
455
|
+
} }
|
|
456
|
+
function RealtimeSessionOverlayComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
457
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_ng_template_6_Conditional_0_Template, 2, 4, "div", 73);
|
|
458
|
+
} if (rf & 2) {
|
|
459
|
+
let tmp_6_0;
|
|
460
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
461
|
+
i0.ɵɵconditional((tmp_6_0 = ctx_r1.ReviewBrowser) ? 0 : -1, tmp_6_0);
|
|
462
|
+
} }
|
|
463
|
+
function RealtimeSessionOverlayComponent_ng_template_8_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
464
|
+
i0.ɵɵelementStart(0, "div", 75);
|
|
465
|
+
i0.ɵɵelement(1, "mj-realtime-whiteboard", 76);
|
|
466
|
+
i0.ɵɵelementEnd();
|
|
467
|
+
} if (rf & 2) {
|
|
468
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
469
|
+
i0.ɵɵadvance();
|
|
470
|
+
i0.ɵɵproperty("State", ctx)("AgentName", ctx_r1.AgentName)("ReadOnly", true);
|
|
471
|
+
} }
|
|
472
|
+
function RealtimeSessionOverlayComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
473
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_ng_template_8_Conditional_0_Template, 2, 3, "div", 75);
|
|
474
|
+
} if (rf & 2) {
|
|
475
|
+
let tmp_6_0;
|
|
476
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
477
|
+
i0.ɵɵconditional((tmp_6_0 = ctx_r1.ReviewWhiteboard) ? 0 : -1, tmp_6_0);
|
|
478
|
+
} }
|
|
479
|
+
function RealtimeSessionOverlayComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
480
|
+
i0.ɵɵelementStart(0, "div", 77);
|
|
481
|
+
i0.ɵɵelement(1, "mj-storage-media-player", 78);
|
|
424
482
|
i0.ɵɵelementEnd();
|
|
425
483
|
} if (rf & 2) {
|
|
426
484
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -766,17 +824,30 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
766
824
|
return this.reviewArtifacts;
|
|
767
825
|
}
|
|
768
826
|
/**
|
|
769
|
-
*
|
|
770
|
-
* Whiteboard
|
|
771
|
-
*
|
|
772
|
-
* removed (see {@link cleanupStaleReviewBoardTab}); when it resolves WITH one, the live
|
|
773
|
-
* plugin re-registers the same key and the tab upgrades in place.
|
|
827
|
+
* Keys of template-based review tabs currently registered on the surface panel
|
|
828
|
+
* (`ArtifactWorkspace`, `Whiteboard`, `Media`, `Recording`). Drives cleanup when
|
|
829
|
+
* switching reviewed sessions, closing review, or transitioning review → live.
|
|
774
830
|
*/
|
|
775
|
-
|
|
831
|
+
registeredReviewTabs = new Set();
|
|
776
832
|
/** True while the overlay renders a PAST session (review data set, no live call). */
|
|
777
833
|
get IsReviewing() {
|
|
778
834
|
return this._reviewData !== null && !this.realtime.IsActive;
|
|
779
835
|
}
|
|
836
|
+
/**
|
|
837
|
+
* The reviewed session's rehydrated Docs workspace (`ArtifactWorkspace` state or deduplicated
|
|
838
|
+
* non-component artifacts) — rendered read-only by the review Docs tab. Null = no tab.
|
|
839
|
+
*/
|
|
840
|
+
ReviewWorkspaceEngine = null;
|
|
841
|
+
/**
|
|
842
|
+
* The reviewed session's rehydrated Media surface state, when it saved valid Media items.
|
|
843
|
+
* Null = no tab.
|
|
844
|
+
*/
|
|
845
|
+
ReviewMedia = null;
|
|
846
|
+
/**
|
|
847
|
+
* The reviewed session's rehydrated Remote Browser snapshot + visited-page history (from
|
|
848
|
+
* `ChannelStates` or `DirectActions` fallback). Null = no tab.
|
|
849
|
+
*/
|
|
850
|
+
ReviewBrowser = null;
|
|
780
851
|
/**
|
|
781
852
|
* The reviewed session's rehydrated whiteboard, when it saved a parseable Whiteboard
|
|
782
853
|
* channel state — rendered read-only by the review whiteboard tab. Null = no tab.
|
|
@@ -794,8 +865,10 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
794
865
|
* transcript panel. Empty outside review.
|
|
795
866
|
*/
|
|
796
867
|
ReviewCues = [];
|
|
797
|
-
/** True while the
|
|
798
|
-
reviewRecordingTabRegistered
|
|
868
|
+
/** True while the overlay renders a PAST session's recording tab (also tracked in {@link registeredReviewTabs}). */
|
|
869
|
+
get reviewRecordingTabRegistered() {
|
|
870
|
+
return this.registeredReviewTabs.has('Recording');
|
|
871
|
+
}
|
|
799
872
|
/** Shared session state — single source for the thread AND the activity rail. */
|
|
800
873
|
State = new RealtimeSessionState();
|
|
801
874
|
/**
|
|
@@ -853,6 +926,9 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
853
926
|
*/
|
|
854
927
|
surfaceTabs;
|
|
855
928
|
set surfaceTabsRef(ref) {
|
|
929
|
+
if (ref === this.surfaceTabs) {
|
|
930
|
+
return;
|
|
931
|
+
}
|
|
856
932
|
this.surfaceTabs = ref;
|
|
857
933
|
if (!ref) {
|
|
858
934
|
// The panel went away with its slots. StageSlot reads null while it is away, so the bindings don't change.
|
|
@@ -872,11 +948,15 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
872
948
|
this.flushPendingChannelTabs();
|
|
873
949
|
const reveal = this.pendingRevealKey;
|
|
874
950
|
this.pendingRevealKey = null;
|
|
951
|
+
const revealSeq = this.revealSequence;
|
|
875
952
|
// Deferred: focus/expand feed the parent's width bindings (wide tier) — never
|
|
876
953
|
// mutate those inside the change-detection pass that created the panel.
|
|
877
954
|
setTimeout(() => {
|
|
955
|
+
if (revealSeq !== this.revealSequence) {
|
|
956
|
+
return;
|
|
957
|
+
}
|
|
878
958
|
if (reveal) {
|
|
879
|
-
// The agent's
|
|
959
|
+
// The agent's channel activity caused this creation — land ON that channel.
|
|
880
960
|
ref.RevealChannel(reveal);
|
|
881
961
|
}
|
|
882
962
|
else {
|
|
@@ -897,12 +977,22 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
897
977
|
}
|
|
898
978
|
/** The bottom dock — type-to-compose seeds + focuses its input. */
|
|
899
979
|
composer;
|
|
900
|
-
/**
|
|
901
|
-
|
|
980
|
+
/** Presenter channel keys already auto-revealed this session (avoid re-placing video on repeat frames). */
|
|
981
|
+
revealedPresenterKeys = new Set();
|
|
982
|
+
/** Interactive surface channel keys already surfaced in the live panel during this session. */
|
|
983
|
+
surfacedLiveChannelKeys = new Set();
|
|
902
984
|
/** Auto-reveal that arrived before the (disclosure-gated) panel rendered. */
|
|
903
985
|
pendingRevealKey = null;
|
|
986
|
+
/** Monotonic sequence guarding deferred initial-mount reveals against newer channel switches. */
|
|
987
|
+
revealSequence = 0;
|
|
904
988
|
/** Previous Active$ value — edges drive disclosure session begin/ratchet. */
|
|
905
989
|
prevActive = false;
|
|
990
|
+
/** Template hosting the read-only review Docs (`ArtifactWorkspace`) surface. */
|
|
991
|
+
reviewDocsTpl;
|
|
992
|
+
/** Template hosting the read-only review Media surface. */
|
|
993
|
+
reviewMediaTpl;
|
|
994
|
+
/** Template hosting the read-only review Remote Browser surface. */
|
|
995
|
+
reviewBrowserTpl;
|
|
906
996
|
/** Template hosting the read-only review whiteboard (root-level, so always resolvable). */
|
|
907
997
|
reviewBoardTpl;
|
|
908
998
|
/** Template hosting the review-mode recording player (root-level, so always resolvable). */
|
|
@@ -1304,12 +1394,7 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
1304
1394
|
this.viewReady = true;
|
|
1305
1395
|
this.startResizeObserver();
|
|
1306
1396
|
this.flushPendingChannelTabs();
|
|
1307
|
-
this.
|
|
1308
|
-
this.registerReviewArtifactTabs();
|
|
1309
|
-
// Cues were already built by enterReview() when ReviewData was set; here we only need to
|
|
1310
|
-
// (re)register the recording tab now that the #recordingTpl ref exists. The storage media
|
|
1311
|
-
// player resolves the authenticated audio itself from the RecordingFileID.
|
|
1312
|
-
this.registerReviewRecordingTab();
|
|
1397
|
+
this.registerReviewTabs();
|
|
1313
1398
|
}
|
|
1314
1399
|
// ── Declarative UI config: inputs → signals → resolved view-model ────────────
|
|
1315
1400
|
/**
|
|
@@ -1745,34 +1830,43 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
1745
1830
|
this.recomputeUi();
|
|
1746
1831
|
}
|
|
1747
1832
|
/**
|
|
1748
|
-
* The agent ACTED on a channel (a tool call
|
|
1749
|
-
*
|
|
1750
|
-
* the
|
|
1751
|
-
*
|
|
1752
|
-
*
|
|
1753
|
-
* extra chrome — just the board.
|
|
1833
|
+
* The agent ACTED on a channel (a native channel tool call, ContextTool dispatch, or
|
|
1834
|
+
* accepted delegation artifact). Auto-reveals and switches to that channel's surface tab
|
|
1835
|
+
* whenever the agent switches resources or the panel is hidden/collapsed, while leaving
|
|
1836
|
+
* the user alone if they are already viewing that exact expanded channel tab.
|
|
1837
|
+
* Headless channels (no surface) never open the panel, and presenter video is placed once.
|
|
1754
1838
|
*/
|
|
1755
1839
|
onChannelActivity(plugin) {
|
|
1756
|
-
if (this.IsReviewing
|
|
1840
|
+
if (this.IsReviewing) {
|
|
1757
1841
|
return;
|
|
1758
1842
|
}
|
|
1759
|
-
this.revealedChannelKeys.add(plugin.ChannelName);
|
|
1760
1843
|
if (plugin.ShowsAgentVideo) {
|
|
1844
|
+
if (this.revealedPresenterKeys.has(plugin.ChannelName)) {
|
|
1845
|
+
return;
|
|
1846
|
+
}
|
|
1847
|
+
this.revealedPresenterKeys.add(plugin.ChannelName);
|
|
1761
1848
|
this.revealPresenter(plugin);
|
|
1762
1849
|
return;
|
|
1763
1850
|
}
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1851
|
+
if (!plugin.HasSurface()) {
|
|
1852
|
+
return;
|
|
1853
|
+
}
|
|
1854
|
+
const hadPanel = this.DetailsPeek && Boolean(this.surfaceTabs);
|
|
1855
|
+
const alreadyViewing = hadPanel &&
|
|
1856
|
+
!this.surfaceTabs.Collapsed &&
|
|
1857
|
+
this.surfaceTabs.ActiveTab.Key === plugin.ChannelName;
|
|
1858
|
+
if (!this.hasChannelTab(plugin)) {
|
|
1769
1859
|
this.registerPluginChannelTab(plugin);
|
|
1770
1860
|
}
|
|
1861
|
+
if (alreadyViewing) {
|
|
1862
|
+
return;
|
|
1863
|
+
}
|
|
1864
|
+
this.DetailsPeek = true; // the panel shows via the same on-demand mechanism Details uses
|
|
1865
|
+
this.revealSequence++;
|
|
1771
1866
|
if (this.surfaceTabs) {
|
|
1772
1867
|
// Stream handler (a tool call), not a change-detection pass — reveal synchronously
|
|
1773
|
-
// so the
|
|
1774
|
-
//
|
|
1775
|
-
// so the tab is in place when the focus lands.
|
|
1868
|
+
// so the channel is visible the instant the agent acts. Any microtask-deferred
|
|
1869
|
+
// RegisterChannelTab above is ordered before this RevealChannel.
|
|
1776
1870
|
this.surfaceTabs.RevealChannel(plugin.ChannelName);
|
|
1777
1871
|
}
|
|
1778
1872
|
else {
|
|
@@ -1782,6 +1876,16 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
1782
1876
|
// DetailsPeek flipped — surfacePanelEarned changed; re-resolve (marks for check).
|
|
1783
1877
|
this.recomputeUi();
|
|
1784
1878
|
}
|
|
1879
|
+
/** Whether the channel's tab and current plugin instance are already registered. */
|
|
1880
|
+
hasChannelTab(plugin) {
|
|
1881
|
+
if (this.SurfaceStage.PluginFor(plugin.ChannelName) !== plugin) {
|
|
1882
|
+
return false;
|
|
1883
|
+
}
|
|
1884
|
+
if (this.surfaceTabs) {
|
|
1885
|
+
return this.surfaceTabs.Model.Tabs.some(t => t.Key === plugin.ChannelName);
|
|
1886
|
+
}
|
|
1887
|
+
return this.pendingChannelTabs.some(t => t.Key === plugin.ChannelName);
|
|
1888
|
+
}
|
|
1785
1889
|
/**
|
|
1786
1890
|
* The agent's video arrived: its channel's surface goes where its row places it (the stage is the agent's place in the
|
|
1787
1891
|
* call) and gets its tab, where it can be moved from, without opening the panel: the video shows in the call itself.
|
|
@@ -1798,8 +1902,10 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
1798
1902
|
this.Disclosure.BeginSession();
|
|
1799
1903
|
this.DetailsPeek = false;
|
|
1800
1904
|
this.ComposerOpen = false; // typing is opt-in per session (voice-first)
|
|
1801
|
-
this.
|
|
1905
|
+
this.revealedPresenterKeys.clear();
|
|
1906
|
+
this.surfacedLiveChannelKeys.clear();
|
|
1802
1907
|
this.pendingRevealKey = null;
|
|
1908
|
+
this.revealSequence++;
|
|
1803
1909
|
this.startAudioVisualLoop();
|
|
1804
1910
|
}
|
|
1805
1911
|
else if (!active && this.prevActive) {
|
|
@@ -2059,6 +2165,7 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2059
2165
|
sub.unsubscribe();
|
|
2060
2166
|
}
|
|
2061
2167
|
this.subs = [];
|
|
2168
|
+
this.disposeReviewModels();
|
|
2062
2169
|
this.State.Detach();
|
|
2063
2170
|
}
|
|
2064
2171
|
/**
|
|
@@ -2101,7 +2208,8 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2101
2208
|
* tab — their tools + perception are wired by the session service regardless.
|
|
2102
2209
|
*/
|
|
2103
2210
|
registerChannelTabs(channels) {
|
|
2104
|
-
this.
|
|
2211
|
+
this.cleanupStaleReviewChannelTabs(channels);
|
|
2212
|
+
let newlyUsedSurface = false;
|
|
2105
2213
|
for (const plugin of channels) {
|
|
2106
2214
|
if (!plugin.HasSurface()) {
|
|
2107
2215
|
continue; // server-only channel — no surface to tab.
|
|
@@ -2109,8 +2217,19 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2109
2217
|
if (!ShouldRegisterChannelTabUpFront(plugin.ChannelName, this.realtime.HasChannelBeenUsed(plugin.ChannelName))) {
|
|
2110
2218
|
continue; // not the whiteboard and not used yet — it earns its tab on first activity.
|
|
2111
2219
|
}
|
|
2220
|
+
if (!this.surfacedLiveChannelKeys.has(plugin.ChannelName)) {
|
|
2221
|
+
this.surfacedLiveChannelKeys.add(plugin.ChannelName);
|
|
2222
|
+
newlyUsedSurface = true;
|
|
2223
|
+
}
|
|
2112
2224
|
this.registerPluginChannelTab(plugin);
|
|
2113
2225
|
}
|
|
2226
|
+
// Resuming a prior session restores used channels before live tools fire; auto-open the
|
|
2227
|
+
// surface panel once per newly-surfaced channel so restored tabs (Workspace/Browser/Media)
|
|
2228
|
+
// pick up visibly where the previous session left off.
|
|
2229
|
+
if (newlyUsedSurface && this.realtime.IsActive && !this.IsReviewing && !this.DetailsPeek) {
|
|
2230
|
+
this.DetailsPeek = true;
|
|
2231
|
+
this.recomputeUi();
|
|
2232
|
+
}
|
|
2114
2233
|
this.cdr.markForCheck();
|
|
2115
2234
|
}
|
|
2116
2235
|
/**
|
|
@@ -2176,24 +2295,24 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2176
2295
|
}
|
|
2177
2296
|
/**
|
|
2178
2297
|
* REVIEW→LIVE continuation edge: when the resumed live session resolves its channel set
|
|
2179
|
-
* WITHOUT a
|
|
2180
|
-
*
|
|
2181
|
-
*
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2298
|
+
* WITHOUT a matching up-front live channel, remove any stale read-only review template tab
|
|
2299
|
+
* (`ArtifactWorkspace`, `Media`, `Whiteboard`) so dead/empty review panes never linger.
|
|
2300
|
+
* Up-front live channels (`Whiteboard`) upgrade the matching tab key in place.
|
|
2301
|
+
*/
|
|
2302
|
+
cleanupStaleReviewChannelTabs(channels) {
|
|
2303
|
+
for (const key of [...this.registeredReviewTabs]) {
|
|
2304
|
+
if (key === 'Recording') {
|
|
2305
|
+
continue;
|
|
2306
|
+
}
|
|
2307
|
+
const hasLiveUpFront = this.realtime.IsActive &&
|
|
2308
|
+
channels.some(c => c.ChannelName.trim().toLowerCase() === key.toLowerCase()) &&
|
|
2309
|
+
ShouldRegisterChannelTabUpFront(key, this.realtime.HasChannelBeenUsed(key));
|
|
2310
|
+
if (ShouldRemoveReviewChannelTab(this.realtime.IsActive, true, key, channels) || (this.realtime.IsActive && !hasLiveUpFront)) {
|
|
2311
|
+
this.removeReviewTab(key);
|
|
2312
|
+
}
|
|
2313
|
+
else if (hasLiveUpFront) {
|
|
2314
|
+
this.registeredReviewTabs.delete(key); // live plugin owns the tab now (upgraded in place)
|
|
2315
|
+
}
|
|
2197
2316
|
}
|
|
2198
2317
|
}
|
|
2199
2318
|
/** Forwards channel registrations that arrived before the panel existed. */
|
|
@@ -2292,15 +2411,19 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2292
2411
|
this.ReviewClosed.emit();
|
|
2293
2412
|
}
|
|
2294
2413
|
/**
|
|
2295
|
-
* Enters review:
|
|
2296
|
-
*
|
|
2297
|
-
*
|
|
2298
|
-
* ARTIFACTS as unfocused surface tabs.
|
|
2414
|
+
* Enters review: clears any prior review tabs, populates the thread with historical items,
|
|
2415
|
+
* rehydrates saved workspace channels (`Docs` / `ArtifactWorkspace`, `Whiteboard`, `Media`)
|
|
2416
|
+
* plus the recording and `Activity` rail, and registers their read-only surface tabs.
|
|
2299
2417
|
*/
|
|
2300
2418
|
enterReview(review) {
|
|
2419
|
+
this.clearReviewSurfaceTabs();
|
|
2420
|
+
this.disposeReviewModels();
|
|
2301
2421
|
this.State.AgentName = review.AgentName;
|
|
2302
2422
|
this.State.LoadHistoricalItems(BuildReviewThreadItems(review));
|
|
2423
|
+
this.ReviewWorkspaceEngine = this.parseReviewDocsWorkspace(review);
|
|
2303
2424
|
this.ReviewWhiteboard = this.parseReviewWhiteboard(review);
|
|
2425
|
+
this.ReviewMedia = this.parseReviewMedia(review);
|
|
2426
|
+
this.ReviewBrowser = this.parseReviewBrowser(review);
|
|
2304
2427
|
this.reviewArtifacts = review.Artifacts ?? [];
|
|
2305
2428
|
this.ReviewCues = this.buildReviewCues(review);
|
|
2306
2429
|
if (this.viewReady) {
|
|
@@ -2308,11 +2431,9 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2308
2431
|
// ngZone.run is REQUIRED: review often opens through the deep-link/query-param
|
|
2309
2432
|
// path (a plain RxJS stream outside Angular's zone) — without re-entering the
|
|
2310
2433
|
// zone, the registration's markForCheck never gets a change-detection pass and
|
|
2311
|
-
// the
|
|
2434
|
+
// the review tabs stay invisible until the user's next click.
|
|
2312
2435
|
setTimeout(() => this.ngZone.run(() => {
|
|
2313
|
-
this.
|
|
2314
|
-
this.registerReviewArtifactTabs();
|
|
2315
|
-
this.registerReviewRecordingTab();
|
|
2436
|
+
this.registerReviewTabs();
|
|
2316
2437
|
}), 0);
|
|
2317
2438
|
}
|
|
2318
2439
|
// isReviewing flipped on — review always wants the console (marks for check).
|
|
@@ -2361,24 +2482,103 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2361
2482
|
* - plain CLOSE: clear everything so the conversation view returns clean.
|
|
2362
2483
|
*/
|
|
2363
2484
|
exitReview() {
|
|
2364
|
-
this.
|
|
2365
|
-
this.ReviewCues = [];
|
|
2485
|
+
this.disposeReviewModels();
|
|
2366
2486
|
if (this.reviewRecordingTabRegistered) {
|
|
2367
|
-
this.
|
|
2368
|
-
this.pendingChannelTabs = this.pendingChannelTabs.filter(r => r.Key !== 'Recording');
|
|
2369
|
-
this.reviewRecordingTabRegistered = false;
|
|
2487
|
+
this.removeReviewTab('Recording');
|
|
2370
2488
|
}
|
|
2371
2489
|
if (this.pendingLiveContinuation) {
|
|
2372
2490
|
this.pendingLiveContinuation = false;
|
|
2373
2491
|
this.State.StartLiveContinuation();
|
|
2374
2492
|
}
|
|
2375
2493
|
else {
|
|
2494
|
+
this.clearReviewSurfaceTabs();
|
|
2376
2495
|
this.reviewArtifacts = [];
|
|
2377
2496
|
this.State.Clear();
|
|
2378
2497
|
}
|
|
2379
2498
|
// isReviewing flipped off — re-resolve the chrome/gates (marks for check).
|
|
2380
2499
|
this.recomputeUi();
|
|
2381
2500
|
}
|
|
2501
|
+
/** Removes a single review-registered template tab (both live strip and pending queue). */
|
|
2502
|
+
removeReviewTab(key) {
|
|
2503
|
+
this.surfaceTabs?.RemoveTab(key);
|
|
2504
|
+
this.pendingChannelTabs = this.pendingChannelTabs.filter(r => !(r.Key.trim().toLowerCase() === key.toLowerCase() && r.Content));
|
|
2505
|
+
this.registeredReviewTabs.delete(key);
|
|
2506
|
+
}
|
|
2507
|
+
/** Removes all review-registered template tabs. */
|
|
2508
|
+
clearReviewSurfaceTabs() {
|
|
2509
|
+
for (const key of [...this.registeredReviewTabs]) {
|
|
2510
|
+
this.removeReviewTab(key);
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
/** Disposes / clears all rehydrated review models. */
|
|
2514
|
+
disposeReviewModels() {
|
|
2515
|
+
this.ReviewWorkspaceEngine?.Dispose();
|
|
2516
|
+
this.ReviewWorkspaceEngine = null;
|
|
2517
|
+
this.ReviewMedia = null;
|
|
2518
|
+
this.ReviewBrowser = null;
|
|
2519
|
+
this.ReviewWhiteboard = null;
|
|
2520
|
+
this.ReviewCues = [];
|
|
2521
|
+
}
|
|
2522
|
+
/**
|
|
2523
|
+
* Registers all review-mode surface tabs in live-call order (`Workspace`, `Whiteboard`,
|
|
2524
|
+
* `Browser`, `Media`, `Recording`, plus `Activity` on the right) and focuses the primary
|
|
2525
|
+
* workspace tab so past sessions open with the same tabbed workspace layout as live calls.
|
|
2526
|
+
*/
|
|
2527
|
+
registerReviewTabs() {
|
|
2528
|
+
const focusKey = this.ReviewWorkspaceEngine
|
|
2529
|
+
? 'ArtifactWorkspace'
|
|
2530
|
+
: this.ReviewWhiteboard
|
|
2531
|
+
? 'Whiteboard'
|
|
2532
|
+
: this.ReviewBrowser
|
|
2533
|
+
? 'Remote Browser'
|
|
2534
|
+
: this.ReviewMedia
|
|
2535
|
+
? 'Media'
|
|
2536
|
+
: null;
|
|
2537
|
+
if (this.ReviewWorkspaceEngine && this.reviewDocsTpl) {
|
|
2538
|
+
this.registerReviewTemplateTab({
|
|
2539
|
+
Key: 'ArtifactWorkspace',
|
|
2540
|
+
Title: 'Workspace',
|
|
2541
|
+
Icon: 'fa-solid fa-file-lines',
|
|
2542
|
+
Content: this.reviewDocsTpl,
|
|
2543
|
+
Focus: focusKey === 'ArtifactWorkspace'
|
|
2544
|
+
});
|
|
2545
|
+
}
|
|
2546
|
+
if (this.ReviewWhiteboard && this.reviewBoardTpl) {
|
|
2547
|
+
this.registerReviewTemplateTab({
|
|
2548
|
+
Key: 'Whiteboard',
|
|
2549
|
+
Title: 'Whiteboard',
|
|
2550
|
+
Icon: 'fa-solid fa-chalkboard',
|
|
2551
|
+
Content: this.reviewBoardTpl,
|
|
2552
|
+
Focus: focusKey === 'Whiteboard'
|
|
2553
|
+
});
|
|
2554
|
+
}
|
|
2555
|
+
if (this.ReviewBrowser && this.reviewBrowserTpl) {
|
|
2556
|
+
this.registerReviewTemplateTab({
|
|
2557
|
+
Key: 'Remote Browser',
|
|
2558
|
+
Title: 'Browser',
|
|
2559
|
+
Icon: 'fa-solid fa-globe',
|
|
2560
|
+
Content: this.reviewBrowserTpl,
|
|
2561
|
+
Focus: focusKey === 'Remote Browser'
|
|
2562
|
+
});
|
|
2563
|
+
}
|
|
2564
|
+
if (this.ReviewMedia && this.reviewMediaTpl) {
|
|
2565
|
+
this.registerReviewTemplateTab({
|
|
2566
|
+
Key: 'Media',
|
|
2567
|
+
Title: 'Media',
|
|
2568
|
+
Icon: 'fa-solid fa-images',
|
|
2569
|
+
Content: this.reviewMediaTpl,
|
|
2570
|
+
Focus: focusKey === 'Media'
|
|
2571
|
+
});
|
|
2572
|
+
}
|
|
2573
|
+
this.registerReviewArtifactTabs();
|
|
2574
|
+
this.registerReviewRecordingTab();
|
|
2575
|
+
}
|
|
2576
|
+
/** Shared registration helper for read-only review template tabs. */
|
|
2577
|
+
registerReviewTemplateTab(registration) {
|
|
2578
|
+
this.RegisterChannelTab(registration);
|
|
2579
|
+
this.registeredReviewTabs.add(registration.Key);
|
|
2580
|
+
this.cdr.markForCheck();
|
|
2581
|
+
}
|
|
2382
2582
|
/**
|
|
2383
2583
|
* Surfaces the reviewed chain's history artifacts inside the Activity tab. In the redesign
|
|
2384
2584
|
* there are no per-artifact tabs — the artifacts ride the {@link ReviewArtifacts} input into
|
|
@@ -2394,6 +2594,130 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2394
2594
|
this.surfaceTabs.RegisterArtifactTab(this.reviewArtifacts[0], false);
|
|
2395
2595
|
this.cdr.markForCheck();
|
|
2396
2596
|
}
|
|
2597
|
+
/**
|
|
2598
|
+
* Rehydrates the reviewed session's saved `ArtifactWorkspace` (`Docs`) state from
|
|
2599
|
+
* `review.ChannelStates`, falling back to deduplicated non-component artifacts from
|
|
2600
|
+
* `review.Artifacts` when an older session has no saved `ArtifactWorkspace` channel row.
|
|
2601
|
+
*/
|
|
2602
|
+
parseReviewDocsWorkspace(review) {
|
|
2603
|
+
const channel = review.ChannelStates.find(c => c.ChannelName.trim().toLowerCase() === 'artifactworkspace');
|
|
2604
|
+
if (channel?.StateJson) {
|
|
2605
|
+
const parsed = SafeJSONParse(channel.StateJson);
|
|
2606
|
+
if (parsed && Array.isArray(parsed.instances) && parsed.instances.length > 0) {
|
|
2607
|
+
const validItems = parsed.instances.filter(item => item != null &&
|
|
2608
|
+
typeof item === 'object' &&
|
|
2609
|
+
Boolean(item.ArtifactID) &&
|
|
2610
|
+
!IsComponentArtifactDescriptor(item.ArtifactTypeName, item.DriverClass));
|
|
2611
|
+
if (validItems.length > 0) {
|
|
2612
|
+
const engine = new ArtifactWorkspaceEngine(Math.min(Math.max(validItems.length, 6), 12));
|
|
2613
|
+
for (const item of validItems) {
|
|
2614
|
+
engine.AddOrFocus({ ...item, CanEdit: false });
|
|
2615
|
+
}
|
|
2616
|
+
if (parsed.activeArtifactId) {
|
|
2617
|
+
const active = engine.FindByArtifact(parsed.activeArtifactId);
|
|
2618
|
+
if (active) {
|
|
2619
|
+
engine.SetActive(active.InstanceID);
|
|
2620
|
+
}
|
|
2621
|
+
}
|
|
2622
|
+
return engine;
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2625
|
+
}
|
|
2626
|
+
const fallback = (review.Artifacts ?? []).filter(a => Boolean(a.ArtifactID) && !IsComponentArtifactDescriptor(a.ArtifactTypeName, a.DriverClass));
|
|
2627
|
+
if (fallback.length === 0) {
|
|
2628
|
+
return null;
|
|
2629
|
+
}
|
|
2630
|
+
const uniqueCount = new Set(fallback.map(a => a.ArtifactID.trim().toLowerCase())).size;
|
|
2631
|
+
const engine = new ArtifactWorkspaceEngine(Math.min(Math.max(uniqueCount, 6), 12));
|
|
2632
|
+
for (const artifact of fallback) {
|
|
2633
|
+
engine.AddOrFocus({
|
|
2634
|
+
ArtifactID: artifact.ArtifactID,
|
|
2635
|
+
ArtifactVersionID: artifact.ArtifactVersionID,
|
|
2636
|
+
Name: artifact.Name,
|
|
2637
|
+
ArtifactTypeName: artifact.ArtifactTypeName,
|
|
2638
|
+
DriverClass: artifact.DriverClass,
|
|
2639
|
+
CanEdit: false
|
|
2640
|
+
});
|
|
2641
|
+
}
|
|
2642
|
+
return engine;
|
|
2643
|
+
}
|
|
2644
|
+
/**
|
|
2645
|
+
* Rehydrates the reviewed session's saved Media channel state. TOLERANT: missing,
|
|
2646
|
+
* empty, or malformed state returns null so review skips the Media tab cleanly.
|
|
2647
|
+
*/
|
|
2648
|
+
parseReviewMedia(review) {
|
|
2649
|
+
const channel = review.ChannelStates.find(c => c.ChannelName.trim().toLowerCase() === 'media');
|
|
2650
|
+
if (!channel?.StateJson) {
|
|
2651
|
+
return null;
|
|
2652
|
+
}
|
|
2653
|
+
const state = new MediaChannelState();
|
|
2654
|
+
return state.LoadFromJSON(channel.StateJson) && state.Items.length > 0 ? state : null;
|
|
2655
|
+
}
|
|
2656
|
+
/**
|
|
2657
|
+
* Rehydrates the reviewed session's Remote Browser snapshot & visited-page history from
|
|
2658
|
+
* saved `ChannelStates` and/or recorded `browser_*` `DirectActions` (fallback for sessions
|
|
2659
|
+
* before client-side browser persistence existed).
|
|
2660
|
+
*/
|
|
2661
|
+
parseReviewBrowser(review) {
|
|
2662
|
+
const channel = review.ChannelStates.find(c => c.ChannelName.trim().toLowerCase() === 'remote browser');
|
|
2663
|
+
const saved = channel?.StateJson
|
|
2664
|
+
? SafeJSONParse(channel.StateJson)
|
|
2665
|
+
: null;
|
|
2666
|
+
let currentUrl = saved && typeof saved.CurrentUrl === 'string' && IsAllowedExternalMediaUrl(saved.CurrentUrl)
|
|
2667
|
+
? saved.CurrentUrl.trim()
|
|
2668
|
+
: null;
|
|
2669
|
+
const savedHistory = saved && Array.isArray(saved.History)
|
|
2670
|
+
? saved.History.filter((h) => h != null && typeof h === 'object' && typeof h.Url === 'string' && IsAllowedExternalMediaUrl(h.Url))
|
|
2671
|
+
: [];
|
|
2672
|
+
const screenshot = saved && typeof saved.ScreenshotDataUrl === 'string' && IsSafeRasterImageDataUrl(saved.ScreenshotDataUrl)
|
|
2673
|
+
? saved.ScreenshotDataUrl
|
|
2674
|
+
: null;
|
|
2675
|
+
const actionHistory = [];
|
|
2676
|
+
for (const action of review.DirectActions ?? []) {
|
|
2677
|
+
if (!action.ToolName.startsWith('browser_')) {
|
|
2678
|
+
continue;
|
|
2679
|
+
}
|
|
2680
|
+
const parsedResult = action.ResultJson
|
|
2681
|
+
? SafeJSONParse(action.ResultJson)
|
|
2682
|
+
: null;
|
|
2683
|
+
const parsedArgs = action.ArgsJson
|
|
2684
|
+
? SafeJSONParse(action.ArgsJson)
|
|
2685
|
+
: null;
|
|
2686
|
+
const candidateUrl = typeof parsedResult?.currentUrl === 'string' && IsAllowedExternalMediaUrl(parsedResult.currentUrl)
|
|
2687
|
+
? parsedResult.currentUrl.trim()
|
|
2688
|
+
: typeof parsedArgs?.url === 'string' && IsAllowedExternalMediaUrl(parsedArgs.url)
|
|
2689
|
+
? parsedArgs.url.trim()
|
|
2690
|
+
: null;
|
|
2691
|
+
if (!candidateUrl) {
|
|
2692
|
+
continue;
|
|
2693
|
+
}
|
|
2694
|
+
currentUrl = candidateUrl;
|
|
2695
|
+
const actionLabel = action.ToolName.replace(/^browser_/, '');
|
|
2696
|
+
const detail = typeof parsedResult?.detail === 'string' ? parsedResult.detail : undefined;
|
|
2697
|
+
const prev = actionHistory[actionHistory.length - 1];
|
|
2698
|
+
if (!prev || prev.Url !== candidateUrl || detail) {
|
|
2699
|
+
actionHistory.push({
|
|
2700
|
+
Url: candidateUrl,
|
|
2701
|
+
ActionLabel: actionLabel,
|
|
2702
|
+
...(detail ? { Detail: detail } : {}),
|
|
2703
|
+
...(action.At ? { VisitedAt: action.At.toISOString() } : {}),
|
|
2704
|
+
});
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
const history = actionHistory.length > 0 ? actionHistory : savedHistory;
|
|
2708
|
+
if (!currentUrl && history.length > 0) {
|
|
2709
|
+
currentUrl = history[history.length - 1].Url;
|
|
2710
|
+
}
|
|
2711
|
+
if (!currentUrl && history.length === 0 && !screenshot) {
|
|
2712
|
+
return null;
|
|
2713
|
+
}
|
|
2714
|
+
return {
|
|
2715
|
+
V: 1,
|
|
2716
|
+
CurrentUrl: currentUrl,
|
|
2717
|
+
History: history,
|
|
2718
|
+
...(screenshot ? { ScreenshotDataUrl: screenshot } : {}),
|
|
2719
|
+
};
|
|
2720
|
+
}
|
|
2397
2721
|
/**
|
|
2398
2722
|
* Rehydrates the reviewed session's saved Whiteboard channel state. TOLERANT: a missing
|
|
2399
2723
|
* or malformed state returns null — review simply shows no whiteboard tab.
|
|
@@ -2411,25 +2735,6 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2411
2735
|
return null;
|
|
2412
2736
|
}
|
|
2413
2737
|
}
|
|
2414
|
-
/**
|
|
2415
|
-
* Registers the read-only review whiteboard tab (no-op without a board / template) —
|
|
2416
|
-
* FOCUSED: the session's channel surface is what the reviewer came to see; the
|
|
2417
|
-
* Activity rail stays available but is never the default focus.
|
|
2418
|
-
*/
|
|
2419
|
-
registerReviewBoardTab() {
|
|
2420
|
-
if (!this.ReviewWhiteboard || !this.reviewBoardTpl) {
|
|
2421
|
-
return;
|
|
2422
|
-
}
|
|
2423
|
-
this.RegisterChannelTab({
|
|
2424
|
-
Key: 'Whiteboard',
|
|
2425
|
-
Title: 'Whiteboard',
|
|
2426
|
-
Icon: 'fa-solid fa-chalkboard',
|
|
2427
|
-
Content: this.reviewBoardTpl,
|
|
2428
|
-
Focus: true
|
|
2429
|
-
});
|
|
2430
|
-
this.reviewWhiteboardTabRegistered = true;
|
|
2431
|
-
this.cdr.markForCheck();
|
|
2432
|
-
}
|
|
2433
2738
|
/**
|
|
2434
2739
|
* Registers the read-only review RECORDING tab (the time-aligned storage media player) — ONLY when
|
|
2435
2740
|
* the reviewed session carried a `RecordingFileID`. Idempotent (re-registering the same key updates
|
|
@@ -2441,14 +2746,12 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2441
2746
|
if (!this._reviewData?.RecordingFileID || !this.recordingTpl) {
|
|
2442
2747
|
return;
|
|
2443
2748
|
}
|
|
2444
|
-
this.
|
|
2749
|
+
this.registerReviewTemplateTab({
|
|
2445
2750
|
Key: 'Recording',
|
|
2446
2751
|
Title: 'Recording',
|
|
2447
2752
|
Icon: 'fa-solid fa-circle-play',
|
|
2448
2753
|
Content: this.recordingTpl
|
|
2449
2754
|
});
|
|
2450
|
-
this.reviewRecordingTabRegistered = true;
|
|
2451
|
-
this.cdr.markForCheck();
|
|
2452
2755
|
}
|
|
2453
2756
|
/**
|
|
2454
2757
|
* A working delegation card's ✕ asked to cancel that delegated run — EXPLICIT user
|
|
@@ -2632,23 +2935,26 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2632
2935
|
}
|
|
2633
2936
|
static ɵfac = function RealtimeSessionOverlayComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RealtimeSessionOverlayComponent)(); };
|
|
2634
2937
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RealtimeSessionOverlayComponent, selectors: [["mj-realtime-session-overlay"]], viewQuery: function RealtimeSessionOverlayComponent_Query(rf, ctx) { if (rf & 1) {
|
|
2635
|
-
i0.ɵɵviewQuery(RealtimeSurfaceTabsComponent, 5)(RealtimeComposerComponent, 5)(_c0, 5)(_c1, 5)(_c2, 5);
|
|
2938
|
+
i0.ɵɵviewQuery(RealtimeSurfaceTabsComponent, 5)(RealtimeComposerComponent, 5)(_c0, 5)(_c1, 5)(_c2, 5)(_c3, 5)(_c4, 5)(_c5, 5);
|
|
2636
2939
|
} if (rf & 2) {
|
|
2637
2940
|
let _t;
|
|
2638
2941
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.surfaceTabsRef = _t.first);
|
|
2639
2942
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.composer = _t.first);
|
|
2943
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reviewDocsTpl = _t.first);
|
|
2944
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reviewMediaTpl = _t.first);
|
|
2945
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reviewBrowserTpl = _t.first);
|
|
2640
2946
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.reviewBoardTpl = _t.first);
|
|
2641
2947
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.recordingTpl = _t.first);
|
|
2642
2948
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.presenterSlotRef = _t.first);
|
|
2643
2949
|
} }, hostBindings: function RealtimeSessionOverlayComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
2644
2950
|
i0.ɵɵlistener("keydown", function RealtimeSessionOverlayComponent_keydown_HostBindingHandler($event) { return ctx.OnDocumentKeydown($event); }, i0.ɵɵresolveDocument);
|
|
2645
|
-
} }, inputs: { Hidden: "Hidden", AgentName: "AgentName", CurrentUser: "CurrentUser", EnvironmentID: "EnvironmentID", AvatarNoticeLabels: "AvatarNoticeLabels", ShowAvatarNotice: "ShowAvatarNotice", ShowPerceptionChip: "ShowPerceptionChip", OpenLinksInNewTab: "OpenLinksInNewTab", Chrome: "Chrome", ConsoleBreakpointPx: "ConsoleBreakpointPx", Compact: "Compact", AutoHideControls: "AutoHideControls", AllowTextReveal: "AllowTextReveal", AllowTyping: "AllowTyping", ShowCaptionsControl: "ShowCaptionsControl", ShowDensityPicker: "ShowDensityPicker", ShowMinimize: "ShowMinimize", ShowEnd: "ShowEnd", ShowSurfacePanel: "ShowSurfacePanel", ShowChannels: "ShowChannels", ShowActivityRail: "ShowActivityRail", ShowDevLinks: "ShowDevLinks", AllowResize: "AllowResize", UiConfig: "UiConfig", ReviewData: "ReviewData", AllowStartLive: "AllowStartLive" }, outputs: { Ended: "Ended", NavigateRequest: "NavigateRequest", StartLiveRequested: "StartLiveRequested", ReviewClosed: "ReviewClosed", Minimized: "Minimized", TextRevealed: "TextRevealed", ChromeChanged: "ChromeChanged", ConnectionStateChanged: "ConnectionStateChanged", MuteChanged: "MuteChanged", DensityChanged: "DensityChanged", SurfacePanelResized: "SurfacePanelResized", ControlInvoked: "ControlInvoked" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
2646
|
-
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_Template, 21, 44, "div",
|
|
2951
|
+
} }, inputs: { Hidden: "Hidden", AgentName: "AgentName", CurrentUser: "CurrentUser", EnvironmentID: "EnvironmentID", AvatarNoticeLabels: "AvatarNoticeLabels", ShowAvatarNotice: "ShowAvatarNotice", ShowPerceptionChip: "ShowPerceptionChip", OpenLinksInNewTab: "OpenLinksInNewTab", Chrome: "Chrome", ConsoleBreakpointPx: "ConsoleBreakpointPx", Compact: "Compact", AutoHideControls: "AutoHideControls", AllowTextReveal: "AllowTextReveal", AllowTyping: "AllowTyping", ShowCaptionsControl: "ShowCaptionsControl", ShowDensityPicker: "ShowDensityPicker", ShowMinimize: "ShowMinimize", ShowEnd: "ShowEnd", ShowSurfacePanel: "ShowSurfacePanel", ShowChannels: "ShowChannels", ShowActivityRail: "ShowActivityRail", ShowDevLinks: "ShowDevLinks", AllowResize: "AllowResize", UiConfig: "UiConfig", ReviewData: "ReviewData", AllowStartLive: "AllowStartLive" }, outputs: { Ended: "Ended", NavigateRequest: "NavigateRequest", StartLiveRequested: "StartLiveRequested", ReviewClosed: "ReviewClosed", Minimized: "Minimized", TextRevealed: "TextRevealed", ChromeChanged: "ChromeChanged", ConnectionStateChanged: "ConnectionStateChanged", MuteChanged: "MuteChanged", DensityChanged: "DensityChanged", SurfacePanelResized: "SurfacePanelResized", ControlInvoked: "ControlInvoked" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 3, consts: [["reviewDocsTpl", ""], ["reviewMediaTpl", ""], ["reviewBrowserTpl", ""], ["reviewBoardTpl", ""], ["recordingTpl", ""], ["callControls", ""], ["presenterSlot", ""], ["role", "region", 1, "call-overlay", 3, "call-overlay--hidden", "call-overlay--review", "board-focus"], ["role", "region", 1, "call-overlay"], [1, "call-main"], [3, "OpenSessionRequested", "DevModeToggled", "DensityChanged", "MinimizeRequested", "StartLiveRequested", "CloseRequested", "State", "Compact", "HideState", "AgentName", "ErrorLabel", "ModelName", "DevMode", "AllowDevLinks", "SessionID", "ReviewMode", "ReviewStartedAt", "ReviewClosedAt", "ReviewCloseReason", "ShowGear", "ShowDensityPicker", "ShowMinimize", "ShowStartLive", "Density"], ["Variant", "warning", "Size", "sm", "Icon", "fa-solid fa-microphone-slash", 1, "call-microphone-notice", 3, "Message"], ["Variant", "info", "Size", "sm", "Icon", "fa-solid fa-video-slash", "Dismissible", "", 1, "call-avatar-notice", 3, "Message"], ["role", "status", "aria-live", "polite", 1, "banner-live-note"], [1, "call-presenter", 3, "call-presenter--on"], [1, "call-body"], [1, "call-connecting"], ["role", "status", "aria-live", "polite", 1, "hero", 3, "hero--presenting"], [3, "State", "AgentName", "UserName", "ShowCaptions", "DevMode", "OpenLinksInNewTab"], [1, "call-controls"], [1, "call-stage", 3, "PipRectChange", "Surfaces", "TabSlot", "StageSlot", "ActiveTabKey", "PipRects", "PipKeepClear"], ["mjMediaStageSurface", ""], ["mjMediaStagePipActions", ""], ["role", "status", "aria-label", "Live call (board focus)", 1, "board-focus-pill"], [3, "Camera", "AgentName", "Switch"], ["Variant", "info", "Size", "sm", "Icon", "fa-solid fa-video-slash", "Dismissible", "", 1, "call-avatar-notice", 3, "Dismissed", "Message"], ["aria-hidden", "true", 1, "fa-solid", "fa-comment-dots"], [1, "call-presenter"], ["text", "Connecting to the live session\u2026", "size", "medium"], ["role", "status", "aria-live", "polite", 1, "hero"], [1, "hero__presenter"], ["aria-hidden", "true", 1, "hero__caption"], [1, "hero__sr"], ["type", "button", "title", "Show the conversation as text", 1, "hero__reveal"], [1, "hero__orb", 3, "State"], ["aria-hidden", "true", 1, "hero__eq"], [1, "hero__caption-window"], [1, "hero__caption-lines"], [1, "hero__caption-speaker"], [1, "hero__name"], [1, "hero__sub"], ["type", "button", "title", "Show the conversation as text", 1, "hero__reveal", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-closed-captioning"], [3, "OpenRunRequested", "OpenArtifactRequested", "CancelRequested", "State", "AgentName", "UserName", "ShowCaptions", "DevMode", "OpenLinksInNewTab"], [3, "SourceToggled", "SourcePicked", "Sources"], [3, "OpenChanged", "CameraToggled", "ShareRequested", "StopShareRequested", "DeviceSelected", "CaptionsToggled", "DetailsToggled", "MuteChanged", "EndRequested", "Open", "Compact", "AllowTyping", "ShowEnd", "ShowCaptionsControl", "CaptionsOn", "IsMuted", "ShowCamera", "ShowShare", "CameraOn", "Sharing", "SharePanels", "Devices", "SelectedMicrophoneID", "SelectedCameraID", "ShowDetails", "DetailsOn"], ["role", "separator", "aria-orientation", "vertical", "aria-label", "Resize the surface panel (double-click to reset)", "title", "Drag to resize \u2022 double-click to reset", 1, "call-resizer", 3, "call-resizer--active"], [1, "call-panel"], [3, "OpenRunRequested", "CollapsedChange", "WideChanged", "ActiveChannelChange", "ChannelSlotChange", "MoveRequested", "ResetLayoutRequested", "State", "DevMode", "CurrentUser", "EnvironmentID", "ShowActivityTab", "ExtraArtifacts", "Collapsed", "SurfacePlacements", "AllowedPlacements"], ["role", "separator", "aria-orientation", "vertical", "aria-label", "Resize the surface panel (double-click to reset)", "title", "Drag to resize \u2022 double-click to reset", 1, "call-resizer", 3, "mousedown", "dblclick"], ["role", "region", 1, "stage-frame", 3, "mjSharePanel", "mjSharePanelIcon"], [3, "Plugin", "Visible", "Placement"], ["Placement", "stage", 1, "stage-presenter-move", 3, "Key", "Title", "Allowed"], ["Placement", "stage", 1, "stage-presenter-move", 3, "MoveRequested", "ResetLayoutRequested", "Key", "Title", "Allowed"], ["Placement", "pip", 3, "Key", "Title", "Allowed"], ["Placement", "pip", 3, "MoveRequested", "ResetLayoutRequested", "Key", "Title", "Allowed"], ["aria-hidden", "true", 1, "board-focus-pill__orb"], [1, "board-focus-pill__text"], [1, "board-focus-pill__name"], [1, "board-focus-pill__state"], ["type", "button", 1, "board-focus-pill__btn", 3, "click", "title"], ["aria-hidden", "true", 1, "fa-solid"], ["aria-hidden", "true", 1, "fa-solid", "fa-table-columns"], ["Placement", "stage", 3, "Key", "Title", "Allowed"], ["type", "button", "title", "End call", "aria-label", "End the call", 1, "board-focus-pill__btn", "board-focus-pill__btn--end"], ["Placement", "stage", 3, "MoveRequested", "ResetLayoutRequested", "Key", "Title", "Allowed"], ["type", "button", "title", "End call", "aria-label", "End the call", 1, "board-focus-pill__btn", "board-focus-pill__btn--end", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-phone-slash"], [3, "Confirmed", "Declined", "Camera", "AgentName", "Switch"], [1, "review-docs-host"], [3, "Engine", "AgentName", "CurrentUser", "EnvironmentID", "Provider", "ReadOnly"], [1, "review-media-host"], [3, "State", "AgentName", "Provider"], [1, "review-browser-host"], [3, "ReadOnly", "CurrentUrl", "ScreenshotDataUrl", "ReviewHistory"], [1, "review-board-host"], [3, "State", "AgentName", "ReadOnly"], [1, "review-recording-host"], [3, "FileID", "Transcript", "Provider"]], template: function RealtimeSessionOverlayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2952
|
+
i0.ɵɵconditionalCreate(0, RealtimeSessionOverlayComponent_Conditional_0_Template, 21, 44, "div", 7);
|
|
2647
2953
|
i0.ɵɵpipe(1, "async");
|
|
2648
|
-
i0.ɵɵtemplate(2, RealtimeSessionOverlayComponent_ng_template_2_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(4, RealtimeSessionOverlayComponent_ng_template_4_Template, 2, 3, "ng-template", null,
|
|
2954
|
+
i0.ɵɵtemplate(2, RealtimeSessionOverlayComponent_ng_template_2_Template, 1, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(4, RealtimeSessionOverlayComponent_ng_template_4_Template, 1, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(6, RealtimeSessionOverlayComponent_ng_template_6_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(8, RealtimeSessionOverlayComponent_ng_template_8_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor)(10, RealtimeSessionOverlayComponent_ng_template_10_Template, 2, 3, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
2649
2955
|
} if (rf & 2) {
|
|
2650
|
-
let
|
|
2651
|
-
i0.ɵɵconditional((
|
|
2956
|
+
let tmp_5_0;
|
|
2957
|
+
i0.ɵɵconditional((tmp_5_0 = i0.ɵɵpipeBind1(1, 1, ctx.ConnectionState$)) ? 0 : -1, tmp_5_0);
|
|
2652
2958
|
} }, dependencies: [CommonModule,
|
|
2653
2959
|
SharedGenericModule, i1.LoadingComponent, RealtimeAgentBannerComponent,
|
|
2654
2960
|
RealtimeAgentOrbComponent,
|
|
@@ -2665,8 +2971,11 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2665
2971
|
MediaStagePipActionsDirective,
|
|
2666
2972
|
SharePanelDirective,
|
|
2667
2973
|
RealtimeWhiteboardBoardComponent,
|
|
2974
|
+
RealtimeArtifactWorkspaceSurfaceComponent,
|
|
2975
|
+
RealtimeMediaSurfaceComponent,
|
|
2976
|
+
RemoteBrowserSurfaceComponent,
|
|
2668
2977
|
MJStorageMediaPlayerComponent,
|
|
2669
|
-
MJAlertComponent, i2.AsyncPipe], styles: ["[_nghost-%COMP%] {\n display: contents;\n}\n\n\n\n\n\n.call-overlay[_ngcontent-%COMP%] {\n position: absolute;\n inset: 0;\n z-index: 50;\n display: flex;\n background: color-mix(in srgb, var(--mj-bg-page) 94%, transparent);\n backdrop-filter: blur(8px);\n overflow: hidden;\n}\n\n\n\n.call-overlay--hidden[_ngcontent-%COMP%] {\n display: none;\n}\n\n\n\n\n.call-main[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 420px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n\n\n.call-controls[_ngcontent-%COMP%] {\n flex: none;\n}\n\n.call-body[_ngcontent-%COMP%] {\n flex: 1;\n overflow-y: auto;\n padding: 16px 22px;\n min-height: 0;\n scrollbar-width: thin;\n scrollbar-color: var(--mj-border-strong) transparent;\n}\n.call-body[_ngcontent-%COMP%]::-webkit-scrollbar {\n width: 6px;\n}\n.call-body[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n background: var(--mj-border-strong);\n border-radius: 3px;\n}\n\n.call-connecting[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n min-height: 160px;\n}\n\n\n\n\n\n.call-body--hero[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.hero[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n animation: _ngcontent-%COMP%_hero-in 420ms cubic-bezier(0.2, 0.8, 0.3, 1);\n}\n@keyframes _ngcontent-%COMP%_hero-in {\n from { opacity: 0; transform: scale(0.94); }\n to { opacity: 1; transform: scale(1); }\n}\n\n.hero__orb[_ngcontent-%COMP%] {\n margin-bottom: 4px;\n}\n\n.hero__eq[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 4px;\n height: 30px;\n margin-bottom: 6px;\n}\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n width: 4px;\n height: 8px;\n border-radius: var(--mj-radius-full, 9999px);\n background: var(--mj-brand-accent, var(--mj-brand-primary));\n opacity: 0.55;\n}\n.hero[data-state='speaking'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n animation: _ngcontent-%COMP%_hero-eq 1.05s ease-in-out infinite;\n}\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1) { animation-delay: 0s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2) { animation-delay: 0.14s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3) { animation-delay: 0.28s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4) { animation-delay: 0.07s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5) { animation-delay: 0.21s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6) { animation-delay: 0.35s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7) { animation-delay: 0.1s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(8) { animation-delay: 0.24s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(9) { animation-delay: 0.03s; }\n@keyframes _ngcontent-%COMP%_hero-eq {\n 0%, 100% { height: 7px; opacity: 0.6; }\n 50% { height: 28px; opacity: 1; }\n}\n\n\n\n.hero--presenting[_ngcontent-%COMP%] {\n height: 100%;\n min-height: 0;\n}\n.hero__presenter[_ngcontent-%COMP%], \n.call-presenter[_ngcontent-%COMP%] {\n display: none;\n}\n.hero__presenter--on[_ngcontent-%COMP%] {\n display: block;\n position: relative;\n container-type: size;\n flex: 1 1 auto;\n min-height: 160px;\n max-height: 520px;\n aspect-ratio: 3 / 4;\n margin-bottom: 8px;\n}\n\n\n.hero__caption[_ngcontent-%COMP%] {\n position: absolute;\n left: 6%;\n right: 6%;\n bottom: 16%;\n z-index: 2;\n margin: 0;\n padding: 6px 10px;\n border-radius: var(--mj-radius-md);\n background: rgba(0, 0, 0, 0.6);\n color: rgba(255, 255, 255, 0.95);\n font-size: 0.95rem;\n line-height: 1.4;\n text-align: center;\n}\n\n\n.hero__caption-window[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n max-height: 2.8em;\n overflow: hidden;\n}\n.hero__caption-speaker[_ngcontent-%COMP%] {\n font-weight: 600;\n}\n\n@container (max-height: 240px) {\n .hero__caption[_ngcontent-%COMP%] {\n bottom: 22%;\n padding: 3px 6px;\n font-size: 0.75rem;\n }\n .hero__caption-window[_ngcontent-%COMP%] {\n max-height: 1.4em;\n }\n}\n\n\n.call-presenter--on[_ngcontent-%COMP%] {\n display: block;\n flex: none;\n align-self: center;\n height: 200px;\n aspect-ratio: 4 / 5;\n margin-top: 12px;\n}\n.hero__name[_ngcontent-%COMP%] {\n font-size: 19px;\n font-weight: 800;\n letter-spacing: -0.01em;\n color: var(--mj-text-primary);\n}\n.hero__sub[_ngcontent-%COMP%] {\n font-size: 12.5px;\n color: var(--mj-text-muted);\n}\n\n.hero__sr[_ngcontent-%COMP%] {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n\n\n\n\n\n\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n animation: none;\n transition: height 70ms linear, opacity 120ms linear;\n}\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1) { height: calc(6px + var(--eq-1, 0) * 24px); opacity: calc(0.45 + var(--eq-1, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2) { height: calc(6px + var(--eq-2, 0) * 24px); opacity: calc(0.45 + var(--eq-2, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3) { height: calc(6px + var(--eq-3, 0) * 24px); opacity: calc(0.45 + var(--eq-3, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4) { height: calc(6px + var(--eq-4, 0) * 24px); opacity: calc(0.45 + var(--eq-4, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5) { height: calc(6px + var(--eq-5, 0) * 24px); opacity: calc(0.45 + var(--eq-5, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6) { height: calc(6px + var(--eq-6, 0) * 24px); opacity: calc(0.45 + var(--eq-6, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7) { height: calc(6px + var(--eq-7, 0) * 24px); opacity: calc(0.45 + var(--eq-7, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(8) { height: calc(6px + var(--eq-8, 0) * 24px); opacity: calc(0.45 + var(--eq-8, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(9) { height: calc(6px + var(--eq-9, 0) * 24px); opacity: calc(0.45 + var(--eq-9, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][data-voice-dir='user'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n background: var(--mj-status-success);\n}\n\n\n.hero__reveal[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n margin-top: 18px;\n padding: 6px 14px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px dashed var(--mj-border-strong);\n background: transparent;\n color: var(--mj-text-muted);\n font-family: inherit;\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n transition: color 140ms ease, border-color 140ms ease, background 140ms ease;\n}\n.hero__reveal[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-secondary);\n border-color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n}\n.hero__reveal[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n}\n\n\n.banner-live-note[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: 7px;\n padding: 8px 22px 0;\n font-size: 12px;\n font-style: italic;\n color: var(--mj-text-muted);\n animation: _ngcontent-%COMP%_overlay-note-in 220ms ease;\n}\n.banner-live-note[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 10px;\n margin-top: 3px;\n flex-shrink: 0;\n}\n@keyframes _ngcontent-%COMP%_overlay-note-in {\n from { opacity: 0; transform: translateY(2px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n\n\n.call-microphone-notice[_ngcontent-%COMP%], \n.call-avatar-notice[_ngcontent-%COMP%] {\n flex-shrink: 0;\n margin: var(--mj-space-2) var(--mj-space-5) 0;\n}\n\n\n\n\n.call-overlay.board-focus[_ngcontent-%COMP%] .call-main[_ngcontent-%COMP%] {\n display: none;\n}\n\n\n\n\n\n\n.call-stage[_ngcontent-%COMP%] {\n z-index: 1;\n}\n\n\n.stage-frame[_ngcontent-%COMP%] {\n position: relative;\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n\n\n.stage-presenter-move[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 4px;\n right: 6px;\n z-index: 1;\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-bg-surface) 85%, transparent);\n}\n\n\n.board-focus-pill[_ngcontent-%COMP%] {\n position: absolute;\n left: 64px;\n top: 12px;\n z-index: 60;\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 7px 9px 7px 12px;\n border-radius: var(--mj-radius-full, 999px);\n background: color-mix(in srgb, var(--mj-bg-surface-card) 92%, transparent);\n backdrop-filter: blur(8px);\n border: 1px solid var(--mj-border-strong);\n box-shadow: var(--mj-shadow-xl, 0 12px 32px rgba(0, 0, 0, 0.18));\n animation: _ngcontent-%COMP%_overlay-note-in 220ms ease;\n}\n.board-focus-pill__orb[_ngcontent-%COMP%] {\n width: 12px;\n height: 12px;\n border-radius: 50%;\n flex-shrink: 0;\n background: var(--mj-brand-primary);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent);\n}\n.board-focus-pill__orb[data-state='speaking'][_ngcontent-%COMP%], \n.board-focus-pill__orb[data-state='listening'][_ngcontent-%COMP%] {\n animation: _ngcontent-%COMP%_board-pill-pulse 1.6s ease-in-out infinite;\n}\n.board-focus-pill__orb[data-state='error'][_ngcontent-%COMP%] {\n background: var(--mj-status-error);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-status-error) 18%, transparent);\n}\n@keyframes _ngcontent-%COMP%_board-pill-pulse {\n 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent); }\n 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n}\n.board-focus-pill__text[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n.board-focus-pill__name[_ngcontent-%COMP%] {\n font-size: 12px;\n font-weight: 700;\n line-height: 1.2;\n white-space: nowrap;\n color: var(--mj-text-primary);\n}\n.board-focus-pill__state[_ngcontent-%COMP%] {\n font-size: 10.5px;\n font-weight: 600;\n white-space: nowrap;\n color: var(--mj-brand-primary);\n}\n.board-focus-pill__btn[_ngcontent-%COMP%] {\n width: 30px;\n height: 30px;\n border-radius: 50%;\n border: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n cursor: pointer;\n font-size: 11px;\n display: grid;\n place-items: center;\n font-family: inherit;\n flex-shrink: 0;\n}\n.board-focus-pill__btn[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--active[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--end[_ngcontent-%COMP%] {\n background: var(--mj-status-error);\n border-color: var(--mj-status-error);\n color: var(--mj-text-inverse, #fff);\n}\n\n\n\n.call-overlay--review[_ngcontent-%COMP%] {\n background:\n linear-gradient(180deg, color-mix(in srgb, var(--mj-text-muted) 4%, transparent), transparent 120px),\n var(--mj-bg-surface);\n}\n\n\n\n.review-board-host[_ngcontent-%COMP%] {\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n\n\n.review-recording-host[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n.review-recording-host[_ngcontent-%COMP%] mj-realtime-evidence-playback[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n}\n\n\n\n\n.call-resizer[_ngcontent-%COMP%] {\n flex: 0 0 7px;\n width: 7px;\n cursor: col-resize;\n background: transparent;\n transition: background 140ms ease;\n}\n.call-resizer[_ngcontent-%COMP%]:hover, \n.call-resizer--active[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary) 26%, transparent);\n}\n\n\n\n\n.call-panel[_ngcontent-%COMP%] {\n flex: 0 1 auto;\n min-width: 0;\n display: flex;\n overflow: hidden;\n \n\n animation: _ngcontent-%COMP%_panel-in 420ms cubic-bezier(0.25, 0.8, 0.3, 1);\n}\n@keyframes _ngcontent-%COMP%_panel-in {\n from { opacity: 0; transform: translateX(48px); }\n to { opacity: 1; transform: translateX(0); }\n}\n.call-panel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n min-height: 0;\n}"] });
|
|
2978
|
+
MJAlertComponent, i2.AsyncPipe], styles: ["[_nghost-%COMP%] {\n display: contents;\n}\n\n\n\n\n\n.call-overlay[_ngcontent-%COMP%] {\n position: absolute;\n inset: 0;\n z-index: 50;\n display: flex;\n background: color-mix(in srgb, var(--mj-bg-page) 94%, transparent);\n backdrop-filter: blur(8px);\n overflow: hidden;\n}\n\n\n\n.call-overlay--hidden[_ngcontent-%COMP%] {\n display: none;\n}\n\n\n\n\n.call-main[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 420px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n\n\n.call-controls[_ngcontent-%COMP%] {\n flex: none;\n}\n\n.call-body[_ngcontent-%COMP%] {\n flex: 1;\n overflow-y: auto;\n padding: 16px 22px;\n min-height: 0;\n scrollbar-width: thin;\n scrollbar-color: var(--mj-border-strong) transparent;\n}\n.call-body[_ngcontent-%COMP%]::-webkit-scrollbar {\n width: 6px;\n}\n.call-body[_ngcontent-%COMP%]::-webkit-scrollbar-thumb {\n background: var(--mj-border-strong);\n border-radius: 3px;\n}\n\n.call-connecting[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n min-height: 160px;\n}\n\n\n\n\n\n.call-body--hero[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.hero[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n animation: _ngcontent-%COMP%_hero-in 420ms cubic-bezier(0.2, 0.8, 0.3, 1);\n}\n@keyframes _ngcontent-%COMP%_hero-in {\n from { opacity: 0; transform: scale(0.94); }\n to { opacity: 1; transform: scale(1); }\n}\n\n.hero__orb[_ngcontent-%COMP%] {\n margin-bottom: 4px;\n}\n\n.hero__eq[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 4px;\n height: 30px;\n margin-bottom: 6px;\n}\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n width: 4px;\n height: 8px;\n border-radius: var(--mj-radius-full, 9999px);\n background: var(--mj-brand-accent, var(--mj-brand-primary));\n opacity: 0.55;\n}\n.hero[data-state='speaking'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n animation: _ngcontent-%COMP%_hero-eq 1.05s ease-in-out infinite;\n}\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1) { animation-delay: 0s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2) { animation-delay: 0.14s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3) { animation-delay: 0.28s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4) { animation-delay: 0.07s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5) { animation-delay: 0.21s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6) { animation-delay: 0.35s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7) { animation-delay: 0.1s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(8) { animation-delay: 0.24s; }\n.hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(9) { animation-delay: 0.03s; }\n@keyframes _ngcontent-%COMP%_hero-eq {\n 0%, 100% { height: 7px; opacity: 0.6; }\n 50% { height: 28px; opacity: 1; }\n}\n\n\n\n.hero--presenting[_ngcontent-%COMP%] {\n height: 100%;\n min-height: 0;\n}\n.hero__presenter[_ngcontent-%COMP%], \n.call-presenter[_ngcontent-%COMP%] {\n display: none;\n}\n.hero__presenter--on[_ngcontent-%COMP%] {\n display: block;\n position: relative;\n container-type: size;\n flex: 1 1 auto;\n min-height: 160px;\n max-height: 520px;\n aspect-ratio: 3 / 4;\n margin-bottom: 8px;\n}\n\n\n.hero__caption[_ngcontent-%COMP%] {\n position: absolute;\n left: 6%;\n right: 6%;\n bottom: 16%;\n z-index: 2;\n margin: 0;\n padding: 6px 10px;\n border-radius: var(--mj-radius-md);\n background: rgba(0, 0, 0, 0.6);\n color: rgba(255, 255, 255, 0.95);\n font-size: 0.95rem;\n line-height: 1.4;\n text-align: center;\n}\n\n\n.hero__caption-window[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n max-height: 2.8em;\n overflow: hidden;\n}\n.hero__caption-speaker[_ngcontent-%COMP%] {\n font-weight: 600;\n}\n\n@container (max-height: 240px) {\n .hero__caption[_ngcontent-%COMP%] {\n bottom: 22%;\n padding: 3px 6px;\n font-size: 0.75rem;\n }\n .hero__caption-window[_ngcontent-%COMP%] {\n max-height: 1.4em;\n }\n}\n\n\n.call-presenter--on[_ngcontent-%COMP%] {\n display: block;\n flex: none;\n align-self: center;\n height: 200px;\n aspect-ratio: 4 / 5;\n margin-top: 12px;\n}\n.hero__name[_ngcontent-%COMP%] {\n font-size: 19px;\n font-weight: 800;\n letter-spacing: -0.01em;\n color: var(--mj-text-primary);\n}\n.hero__sub[_ngcontent-%COMP%] {\n font-size: 12.5px;\n color: var(--mj-text-muted);\n}\n\n.hero__sr[_ngcontent-%COMP%] {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n\n\n\n\n\n\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n animation: none;\n transition: height 70ms linear, opacity 120ms linear;\n}\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(1) { height: calc(6px + var(--eq-1, 0) * 24px); opacity: calc(0.45 + var(--eq-1, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(2) { height: calc(6px + var(--eq-2, 0) * 24px); opacity: calc(0.45 + var(--eq-2, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(3) { height: calc(6px + var(--eq-3, 0) * 24px); opacity: calc(0.45 + var(--eq-3, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(4) { height: calc(6px + var(--eq-4, 0) * 24px); opacity: calc(0.45 + var(--eq-4, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(5) { height: calc(6px + var(--eq-5, 0) * 24px); opacity: calc(0.45 + var(--eq-5, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(6) { height: calc(6px + var(--eq-6, 0) * 24px); opacity: calc(0.45 + var(--eq-6, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(7) { height: calc(6px + var(--eq-7, 0) * 24px); opacity: calc(0.45 + var(--eq-7, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(8) { height: calc(6px + var(--eq-8, 0) * 24px); opacity: calc(0.45 + var(--eq-8, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:nth-child(9) { height: calc(6px + var(--eq-9, 0) * 24px); opacity: calc(0.45 + var(--eq-9, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][data-voice-dir='user'][_ngcontent-%COMP%] .hero__eq[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n background: var(--mj-status-success);\n}\n\n\n.hero__reveal[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n margin-top: 18px;\n padding: 6px 14px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px dashed var(--mj-border-strong);\n background: transparent;\n color: var(--mj-text-muted);\n font-family: inherit;\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n transition: color 140ms ease, border-color 140ms ease, background 140ms ease;\n}\n.hero__reveal[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-secondary);\n border-color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n}\n.hero__reveal[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n}\n\n\n.banner-live-note[_ngcontent-%COMP%] {\n display: flex;\n align-items: flex-start;\n gap: 7px;\n padding: 8px 22px 0;\n font-size: 12px;\n font-style: italic;\n color: var(--mj-text-muted);\n animation: _ngcontent-%COMP%_overlay-note-in 220ms ease;\n}\n.banner-live-note[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 10px;\n margin-top: 3px;\n flex-shrink: 0;\n}\n@keyframes _ngcontent-%COMP%_overlay-note-in {\n from { opacity: 0; transform: translateY(2px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n\n\n.call-microphone-notice[_ngcontent-%COMP%], \n.call-avatar-notice[_ngcontent-%COMP%] {\n flex-shrink: 0;\n margin: var(--mj-space-2) var(--mj-space-5) 0;\n}\n\n\n\n\n.call-overlay.board-focus[_ngcontent-%COMP%] .call-main[_ngcontent-%COMP%] {\n display: none;\n}\n\n\n\n\n\n\n.call-stage[_ngcontent-%COMP%] {\n z-index: 1;\n}\n\n\n.stage-frame[_ngcontent-%COMP%] {\n position: relative;\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n\n\n.stage-presenter-move[_ngcontent-%COMP%] {\n position: absolute;\n bottom: 4px;\n right: 6px;\n z-index: 1;\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-bg-surface) 85%, transparent);\n}\n\n\n.board-focus-pill[_ngcontent-%COMP%] {\n position: absolute;\n left: 64px;\n top: 12px;\n z-index: 60;\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 7px 9px 7px 12px;\n border-radius: var(--mj-radius-full, 999px);\n background: color-mix(in srgb, var(--mj-bg-surface-card) 92%, transparent);\n backdrop-filter: blur(8px);\n border: 1px solid var(--mj-border-strong);\n box-shadow: var(--mj-shadow-xl, 0 12px 32px rgba(0, 0, 0, 0.18));\n animation: _ngcontent-%COMP%_overlay-note-in 220ms ease;\n}\n.board-focus-pill__orb[_ngcontent-%COMP%] {\n width: 12px;\n height: 12px;\n border-radius: 50%;\n flex-shrink: 0;\n background: var(--mj-brand-primary);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent);\n}\n.board-focus-pill__orb[data-state='speaking'][_ngcontent-%COMP%], \n.board-focus-pill__orb[data-state='listening'][_ngcontent-%COMP%] {\n animation: _ngcontent-%COMP%_board-pill-pulse 1.6s ease-in-out infinite;\n}\n.board-focus-pill__orb[data-state='error'][_ngcontent-%COMP%] {\n background: var(--mj-status-error);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-status-error) 18%, transparent);\n}\n@keyframes _ngcontent-%COMP%_board-pill-pulse {\n 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent); }\n 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n}\n.board-focus-pill__text[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n.board-focus-pill__name[_ngcontent-%COMP%] {\n font-size: 12px;\n font-weight: 700;\n line-height: 1.2;\n white-space: nowrap;\n color: var(--mj-text-primary);\n}\n.board-focus-pill__state[_ngcontent-%COMP%] {\n font-size: 10.5px;\n font-weight: 600;\n white-space: nowrap;\n color: var(--mj-brand-primary);\n}\n.board-focus-pill__btn[_ngcontent-%COMP%] {\n width: 30px;\n height: 30px;\n border-radius: 50%;\n border: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n cursor: pointer;\n font-size: 11px;\n display: grid;\n place-items: center;\n font-family: inherit;\n flex-shrink: 0;\n}\n.board-focus-pill__btn[_ngcontent-%COMP%]:hover {\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--active[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--end[_ngcontent-%COMP%] {\n background: var(--mj-status-error);\n border-color: var(--mj-status-error);\n color: var(--mj-text-inverse, #fff);\n}\n\n\n\n.call-overlay--review[_ngcontent-%COMP%] {\n background:\n linear-gradient(180deg, color-mix(in srgb, var(--mj-text-muted) 4%, transparent), transparent 120px),\n var(--mj-bg-surface);\n}\n\n\n\n.review-board-host[_ngcontent-%COMP%] {\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n\n.review-recording-host[_ngcontent-%COMP%], \n.review-docs-host[_ngcontent-%COMP%], \n.review-media-host[_ngcontent-%COMP%], \n.review-browser-host[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n.review-recording-host[_ngcontent-%COMP%] mj-realtime-evidence-playback[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n}\n\n\n\n\n.call-resizer[_ngcontent-%COMP%] {\n flex: 0 0 7px;\n width: 7px;\n cursor: col-resize;\n background: transparent;\n transition: background 140ms ease;\n}\n.call-resizer[_ngcontent-%COMP%]:hover, \n.call-resizer--active[_ngcontent-%COMP%] {\n background: color-mix(in srgb, var(--mj-brand-primary) 26%, transparent);\n}\n\n\n\n\n.call-panel[_ngcontent-%COMP%] {\n flex: 0 1 auto;\n min-width: 0;\n display: flex;\n overflow: hidden;\n \n\n animation: _ngcontent-%COMP%_panel-in 420ms cubic-bezier(0.25, 0.8, 0.3, 1);\n}\n@keyframes _ngcontent-%COMP%_panel-in {\n from { opacity: 0; transform: translateX(48px); }\n to { opacity: 1; transform: translateX(0); }\n}\n.call-panel[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] {\n flex: 1;\n min-width: 0;\n min-height: 0;\n}"] });
|
|
2670
2979
|
}
|
|
2671
2980
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RealtimeSessionOverlayComponent, [{
|
|
2672
2981
|
type: Component,
|
|
@@ -2688,9 +2997,12 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2688
2997
|
MediaStagePipActionsDirective,
|
|
2689
2998
|
SharePanelDirective,
|
|
2690
2999
|
RealtimeWhiteboardBoardComponent,
|
|
3000
|
+
RealtimeArtifactWorkspaceSurfaceComponent,
|
|
3001
|
+
RealtimeMediaSurfaceComponent,
|
|
3002
|
+
RemoteBrowserSurfaceComponent,
|
|
2691
3003
|
MJStorageMediaPlayerComponent,
|
|
2692
3004
|
MJAlertComponent
|
|
2693
|
-
], template: "@if (ConnectionState$ | async; as state) {\n <div class=\"call-overlay\"\n [class.call-overlay--hidden]=\"Hidden\"\n [class.call-overlay--review]=\"IsReviewing\"\n [class.board-focus]=\"ChannelFocusMode\"\n role=\"region\" [attr.aria-label]=\"IsReviewing ? 'Past session review' : 'Live voice session'\">\n\n <!-- PROGRESSIVE DISCLOSURE (the console that grows with you \u2014 Redesign A Progressive):\n level 0 is PURE AUDIO (the hero orb owns the main column; no thread, no composer;\n the strip's Details control peeks at the panels on demand); level 1 reveals the\n caption thread + captions control + type-to-type hint; level 2+ docks the composer\n and keeps the surface panel. CONTENT NEVER FLIPS THE CONSOLE OPEN: finished\n artifacts land as glowing unfocused tabs; the ONE auto-reveal is a channel's\n first agent activity (e.g. the first whiteboard write), which opens the panel as\n a peek with that tab focused \u2014 the left column stays exactly as it was.\n REVIEW always renders the full console. -->\n <div class=\"call-main\">\n <!-- The UNIFIED APP-BAR: identity + state + every session action (Redesign A). -->\n <mj-realtime-agent-banner\n [State]=\"state\"\n [Compact]=\"!IsReviewing && Ui.compact && Ui.chrome === 'orb'\"\n [HideState]=\"ShowHero && !PresenterOnStage\"\n [AgentName]=\"AgentName\"\n [ErrorLabel]=\"CallEndLabel\"\n [ModelName]=\"IsReviewing ? null : (ModelName$ | async)\"\n [DevMode]=\"Ui.showDevLinks\"\n [AllowDevLinks]=\"AllowDevLinks\"\n [SessionID]=\"IsReviewing ? ReviewSessionID : SessionID\"\n [ReviewMode]=\"IsReviewing\"\n [ReviewStartedAt]=\"ReviewStartedAt\"\n [ReviewClosedAt]=\"ReviewClosedAt\"\n [ReviewCloseReason]=\"ReviewCloseReason\"\n [ShowGear]=\"!IsReviewing && Ui.showGear\"\n [ShowDensityPicker]=\"Ui.showDensityPicker\"\n [ShowMinimize]=\"!IsReviewing && Ui.showMinimize\"\n [ShowStartLive]=\"AllowStartLive\"\n [Density]=\"Disclosure.Milestones.Density\"\n (OpenSessionRequested)=\"OnOpenSessionRequested($event)\"\n (DevModeToggled)=\"OnDevModeToggled($event)\"\n (DensityChanged)=\"OnDensityChanged($event)\"\n (MinimizeRequested)=\"OnMinimize()\"\n (StartLiveRequested)=\"OnStartLive()\"\n (CloseRequested)=\"OnReviewClose()\">\n </mj-realtime-agent-banner>\n\n <!-- No microphone works: the call lost its microphone, so the agent hears nothing until the user picks one in the\n device menu. It stays for as long as that lasts, with no dismiss button, and goes once a microphone is on.\n Never in review. -->\n @if (MicrophoneNotice; as message) {\n <mj-alert class=\"call-microphone-notice\"\n Variant=\"warning\"\n Size=\"sm\"\n Icon=\"fa-solid fa-microphone-slash\"\n [Message]=\"message\">\n </mj-alert>\n }\n\n <!-- Why the call shows no avatar its agent asked for: once per call, from the moment it connects, until the user\n dismisses it or it hides itself after 10 s. Never in review. -->\n @if (AvatarNotice) {\n <mj-alert class=\"call-avatar-notice\"\n Variant=\"info\"\n Size=\"sm\"\n Icon=\"fa-solid fa-video-slash\"\n [Message]=\"AvatarNoticeMessage\"\n Dismissible\n (Dismissed)=\"OnAvatarNoticeDismissed()\">\n </mj-alert>\n }\n\n <!-- Ephemeral narration with no active working card to anchor to \u2192 under the banner. It is conversation text, so it\n shows exactly while the thread does (Ui.showThread folds the host's text switch, the captions choice, console\n chrome and review) \u2014 never on the session's disclosure ratchet, which only goes up. -->\n @if (!IsReviewing && State.Narration && !State.ActiveCallId && Ui.showThread) {\n <div class=\"banner-live-note\" role=\"status\" aria-live=\"polite\">\n <i class=\"fa-solid fa-comment-dots\" aria-hidden=\"true\"></i>\n {{ State.Narration }}\n </div>\n }\n\n <!-- The agent's place above the thread in the console: the agent's video (the Avatar) lies over it while it presents.\n Outside the scrolling body, so it stays in view as the conversation grows. -->\n @if (!ShowHero) {\n <div class=\"call-presenter\" [class.call-presenter--on]=\"PresenterOnStage\" #presenterSlot></div>\n }\n\n <!-- While the call connects, the connecting screen takes the body, except from a hero the agent's video presents in:\n a resume on a new connection keeps that hero, so the video keeps its place and its last frame. -->\n <div class=\"call-body\" [class.call-body--hero]=\"ShowHero && !ShowConnectingScreen(state)\">\n @if (ShowConnectingScreen(state)) {\n <div class=\"call-connecting\">\n <mj-loading text=\"Connecting to the live session\u2026\" size=\"medium\"></mj-loading>\n </div>\n } @else if (ShowHero) {\n <!-- PURE-AUDIO HERO (level 0): the orb IS the interface \u2014 it breathes with the\n audio inside expanding sound-wave rings; nothing to read, nothing to configure. -->\n <div class=\"hero\" [class.hero--presenting]=\"PresenterOnStage\" [attr.data-state]=\"state\" role=\"status\" aria-live=\"polite\">\n @if (!PresenterOnStage) {\n <mj-realtime-agent-orb class=\"hero__orb\" [State]=\"HeroOrbState(state)\"></mj-realtime-agent-orb>\n <div class=\"hero__eq\" aria-hidden=\"true\">\n <span></span><span></span><span></span><span></span><span></span>\n <span></span><span></span><span></span><span></span>\n </div>\n }\n <!-- The agent's place in the hero: the agent's video (the Avatar) lies over it while it presents. With\n captions on, the newest caption runs over the video's lower third, as subtitles do. Hidden from\n assistive technology: the conversation, a click away, is the accessible transcript, and this live\n region would read every word as it arrives. -->\n <div class=\"hero__presenter\" [class.hero__presenter--on]=\"PresenterOnStage\" #presenterSlot>\n @if (ShowAvatarCaptions && AvatarCaption; as caption) {\n <p class=\"hero__caption\" aria-hidden=\"true\">\n <span class=\"hero__caption-window\">\n <span class=\"hero__caption-lines\">\n @if (caption.Speaker) {\n <span class=\"hero__caption-speaker\">{{ caption.Speaker }}:</span>\n }\n {{ caption.Text }}\n </span>\n </span>\n </p>\n }\n </div>\n @if (!PresenterOnStage) {\n <div class=\"hero__name\">{{ AgentName }}</div>\n <div class=\"hero__sub\">{{ HeroStateLabel(state) }}</div>\n } @else {\n <!-- The agent's tile names it and says what it is doing; this live region still says it for screen readers. -->\n <span class=\"hero__sr\">{{ HeroStateLabel(state) }}</span>\n }\n @if (Ui.allowTextReveal && (PresenterOnStage || !Ui.showCaptionsControl)) {\n <button type=\"button\" class=\"hero__reveal\" (click)=\"OnTextReveal()\"\n title=\"Show the conversation as text\">\n <i class=\"fa-solid fa-closed-captioning\" aria-hidden=\"true\"></i>\n Show the conversation\n </button>\n }\n </div>\n } @else if (Ui.showThread) {\n <mj-realtime-session-thread\n [State]=\"State\"\n [AgentName]=\"AgentName\"\n [UserName]=\"CurrentUser?.Name || 'You'\"\n [ShowCaptions]=\"IsReviewing ? true : ShowCaptions\"\n [DevMode]=\"Ui.showDevLinks\"\n [OpenLinksInNewTab]=\"OpenLinksInNewTab\"\n (OpenRunRequested)=\"OnOpenRunRequested($event)\"\n (OpenArtifactRequested)=\"OnOpenArtifactRequested($event)\"\n (CancelRequested)=\"OnCancelDelegation($event)\">\n </mj-realtime-session-thread>\n }\n </div>\n\n <!-- The call's controls along the foot of the column. The stage starts its picture-in-picture boxes clear of\n them, so a camera or a shared screen never opens over End call (#5408). Empty, so with no size, in review. -->\n <div class=\"call-controls\" #callControls>\n @if (!IsReviewing) {\n <!-- \"Agent can see\": what the agent is looking at, with a switch per source. Shown while the user\n captures camera/screen (or when [ShowPerceptionChip]=\"true\"). -->\n <mj-realtime-perception-chip [Sources]=\"VisibleVideoSources\"\n (SourceToggled)=\"OnVideoSourceToggled($event)\"\n (SourcePicked)=\"OnVideoSourcePicked($event)\">\n </mj-realtime-perception-chip>\n\n <!-- Active channels (earned with the console at level 2+, host-gated via [ShowChannels]).\n The strip component self-hides when there are no active channels. -->\n @if (ChannelStripVisible) {\n <mj-realtime-channel-strip></mj-realtime-channel-strip>\n }\n\n <!-- The BOTTOM DOCK: phone-call strip \u21C4 fused minis+composer \u2014 the user's own\n two-way toggle (Type opens, hide closes), never level-forced. -->\n <mj-realtime-composer\n [Open]=\"ComposerOpen\"\n [Compact]=\"Ui.chrome === 'orb' || Ui.compact\"\n (OpenChanged)=\"OnComposerOpenChanged($event)\"\n [AllowTyping]=\"Ui.allowTyping\"\n [ShowEnd]=\"Ui.showEnd\"\n [ShowCaptionsControl]=\"Ui.showCaptionsControl\"\n [CaptionsOn]=\"ShowCaptions\"\n [IsMuted]=\"Muted\"\n [ShowCamera]=\"CaptureOffers.Camera\"\n [ShowShare]=\"CaptureOffers.Screen\"\n [CameraOn]=\"CameraOn\"\n [Sharing]=\"Sharing\"\n [SharePanels]=\"SharePanels\"\n [Devices]=\"CallDevices\"\n [SelectedMicrophoneID]=\"SelectedMicrophoneID\"\n [SelectedCameraID]=\"SelectedCameraID\"\n (CameraToggled)=\"OnCameraToggled($event)\"\n (ShareRequested)=\"OnShareRequested($event)\"\n (StopShareRequested)=\"OnStopShareRequested()\"\n (DeviceSelected)=\"OnDeviceSelected($event)\"\n [ShowDetails]=\"ShowDetailsControl\"\n [DetailsOn]=\"DetailsPeek\"\n (CaptionsToggled)=\"OnCaptionsToggled($event)\"\n (DetailsToggled)=\"OnDetailsToggled()\"\n (MuteChanged)=\"OnComposerMuteChanged($event)\"\n (EndRequested)=\"OnEndCall()\">\n </mj-realtime-composer>\n }\n </div>\n </div>\n\n <!-- RIGHT: TABBED SURFACE PANEL \u2014 disclosure-gated: it EXISTS once earned (level 2+,\n which the first delegation forces), peeked on demand via the strip's Details\n control, or always in review. Slides in from the right when it arrives \u2014 the\n panel's arrival IS the progress cue. -->\n @if (ShowPanelArea) {\n <!-- Resize handle (hidden while the panel is collapsed or a channel holds focus). -->\n @if (!PanelResizeDisabled) {\n <div class=\"call-resizer\"\n [class.call-resizer--active]=\"IsPanelResizing\"\n role=\"separator\" aria-orientation=\"vertical\"\n aria-label=\"Resize the surface panel (double-click to reset)\"\n title=\"Drag to resize \u2022 double-click to reset\"\n (mousedown)=\"OnPanelResizeStart($event)\"\n (dblclick)=\"OnPanelResizeReset()\"></div>\n }\n\n <div class=\"call-panel\" [style.width.px]=\"PanelAreaSize\">\n <mj-realtime-surface-tabs\n [State]=\"State\"\n [DevMode]=\"Ui.showDevLinks\"\n [CurrentUser]=\"CurrentUser\"\n [EnvironmentID]=\"EnvironmentID\"\n [ShowActivityTab]=\"ShowActivityTab\"\n [ExtraArtifacts]=\"ReviewArtifacts\"\n (OpenRunRequested)=\"OnOpenRunRequested($event)\"\n [Collapsed]=\"PanelCollapsed\"\n (CollapsedChange)=\"OnPanelCollapsedChange($event)\"\n (WideChanged)=\"OnPanelWideChanged($event)\"\n (ActiveChannelChange)=\"OnActiveChannelChange($event)\"\n (ChannelSlotChange)=\"OnChannelSlotChange($event)\"\n [SurfacePlacements]=\"SurfaceStage.Placements\"\n [AllowedPlacements]=\"SurfaceStage.AllowedPlacements\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-realtime-surface-tabs>\n </div>\n }\n\n <!-- THE STAGE: every channel surface lives here, in one layer over the overlay. A surface\n is created the first time it is seen, lies over its tab's slot while that tab is\n active, fills the overlay while its channel holds focus (or, for the agent's video,\n lies in the agent's place in the call), and otherwise waits out of sight \u2014 so\n collapsing the panel, switching tabs or entering focus never reloads it.\n The pane tells each channel when its surface goes out of sight, so it can pause.\n A channel that opts in (SurfaceShareable, such as the whiteboard) marks its frame as a panel the Share menu\n offers under \"This panel\" while it is on screen. A picture-in-picture box the user has not moved starts\n clear of the call's controls. -->\n <mj-media-stage class=\"call-stage\"\n [Surfaces]=\"SurfaceStage.Surfaces\"\n [TabSlot]=\"StageSlot?.Element ?? null\"\n [StageSlot]=\"StageSurfaceSlot\"\n [ActiveTabKey]=\"StageSlot?.Key ?? null\"\n [PipRects]=\"PipRects\"\n [PipKeepClear]=\"callControls\"\n (PipRectChange)=\"OnPipRectChange($event)\">\n <ng-template mjMediaStageSurface let-key let-visible=\"Visible\" let-placement=\"Placement\">\n @if (SurfaceStage.PluginFor(key); as plugin) {\n <div class=\"stage-frame\" role=\"region\" [attr.aria-label]=\"plugin.TabTitle\"\n [mjSharePanel]=\"plugin.SurfaceShareable ? plugin.TabTitle : null\" [mjSharePanelIcon]=\"plugin.TabIcon\">\n <mj-realtime-channel-pane [Plugin]=\"plugin\" [Visible]=\"visible\" [Placement]=\"placement\"></mj-realtime-channel-pane>\n <!-- A surface presenting the agent has no focus pill, so its \"Move to\u2026\" menu rides on it. -->\n @if (placement === 'stage' && plugin.ShowsAgentVideo) {\n <mj-media-move-menu\n class=\"stage-presenter-move\"\n [Key]=\"key\"\n [Title]=\"plugin.TabTitle\"\n Placement=\"stage\"\n [Allowed]=\"SurfaceStage.AllowedFor(key)\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-media-move-menu>\n }\n </div>\n }\n </ng-template>\n <!-- A picture-in-picture box's bar carries the same \"Move to\u2026\" menu. -->\n <ng-template mjMediaStagePipActions let-key>\n @if (SurfaceStage.PluginFor(key); as plugin) {\n <mj-media-move-menu\n [Key]=\"key\"\n [Title]=\"plugin.TabTitle\"\n Placement=\"pip\"\n [Allowed]=\"SurfaceStage.AllowedFor(key)\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-media-move-menu>\n }\n </ng-template>\n </mj-media-stage>\n\n <!-- FOCUS floating call pill: the main column is hidden, so the live call's\n identity + state + mute / show-thread / end controls ride over the surface. -->\n @if (!IsReviewing && ChannelFocusMode) {\n <div class=\"board-focus-pill\" role=\"status\" aria-label=\"Live call (board focus)\">\n <span class=\"board-focus-pill__orb\" [attr.data-state]=\"state\" aria-hidden=\"true\"></span>\n <span class=\"board-focus-pill__text\">\n <span class=\"board-focus-pill__name\">Voice for {{ AgentName }}</span>\n @if (FocusStateLabel(state); as label) {\n <span class=\"board-focus-pill__state\">{{ label }}</span>\n }\n </span>\n <button type=\"button\" class=\"board-focus-pill__btn\"\n [class.board-focus-pill__btn--active]=\"FocusPillMuted\"\n (click)=\"OnFocusPillMute()\"\n [title]=\"FocusPillMuted ? 'Unmute' : 'Mute'\"\n [attr.aria-label]=\"FocusPillMuted ? 'Unmute microphone' : 'Mute microphone'\">\n <i class=\"fa-solid\" [class.fa-microphone]=\"!FocusPillMuted\" [class.fa-microphone-slash]=\"FocusPillMuted\" aria-hidden=\"true\"></i>\n </button>\n <!-- The focus-mode exit, always offered: it is the only way off a focused surface. With text\n disallowed the column comes back as the orb hero, so it is labelled as a return to the call. -->\n <button type=\"button\" class=\"board-focus-pill__btn\"\n (click)=\"OnFocusPillExit()\"\n [title]=\"Ui.allowTextReveal ? 'Show thread' : 'Back to the call'\"\n [attr.aria-label]=\"Ui.allowTextReveal ? 'Show the conversation thread' : 'Leave focus mode and return to the call'\">\n <i class=\"fa-solid fa-table-columns\" aria-hidden=\"true\"></i>\n </button>\n @if (StagePlugin; as stagePlugin) {\n <mj-media-move-menu\n [Key]=\"stagePlugin.ChannelName\"\n [Title]=\"stagePlugin.TabTitle\"\n Placement=\"stage\"\n [Allowed]=\"SurfaceStage.AllowedFor(stagePlugin.ChannelName)\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-media-move-menu>\n }\n @if (Ui.showEnd) {\n <button type=\"button\" class=\"board-focus-pill__btn board-focus-pill__btn--end\"\n (click)=\"OnFocusPillEnd()\"\n title=\"End call\" aria-label=\"End the call\">\n <i class=\"fa-solid fa-phone-slash\" aria-hidden=\"true\"></i>\n </button>\n }\n </div>\n }\n\n <!-- THE CAMERA CHECK: the first time the user turns the camera on in a call, they see it, and can pick another\n camera, before the agent does. Until they choose, the camera's own box says it is waiting. -->\n @if (CameraCheck; as camera) {\n <mj-realtime-camera-check-card\n [Camera]=\"camera\"\n [AgentName]=\"AgentName\"\n [Switch]=\"SwitchCheckedCamera\"\n (Confirmed)=\"OnCameraCheckConfirmed()\"\n (Declined)=\"OnCameraCheckDeclined()\">\n </mj-realtime-camera-check-card>\n }\n\n </div>\n}\n\n<!-- SESSION REVIEW whiteboard pane body: the reviewed session's saved board, rehydrated\n locally (WhiteboardState.FromJSON) and rendered READ-ONLY (pan/zoom only). Registered\n as a template-based channel tab ONLY when a parseable Whiteboard state exists. -->\n<ng-template #reviewBoardTpl>\n @if (ReviewWhiteboard; as board) {\n <!-- The board host positions itself absolutely \u2014 give it a filling, positioned frame. -->\n <div class=\"review-board-host\">\n <mj-realtime-whiteboard\n [State]=\"board\"\n [AgentName]=\"AgentName\"\n [ReadOnly]=\"true\">\n </mj-realtime-whiteboard>\n </div>\n }\n</ng-template>\n\n<!-- SESSION REVIEW recording pane body: the reviewed session's recorded audio synced to its\n transcript, replayed via the shared storage media player (click-to-seek transcript + playhead\n highlight). Registered as a template-based channel tab ONLY when the reviewed session carries a\n RecordingFileID; the player resolves the authenticated audio itself from that file id. -->\n<ng-template #recordingTpl>\n <div class=\"review-recording-host\">\n <mj-storage-media-player\n [FileID]=\"ReviewRecordingFileID\"\n [Transcript]=\"ReviewCues\"\n [Provider]=\"Provider\">\n </mj-storage-media-player>\n </div>\n</ng-template>\n", styles: [":host {\n display: contents;\n}\n\n/* Fills the conversation panel IN PLACE: the chat area host provides the positioned\n context (position:relative on .chat-area) and this covers it edge to edge \u2014 header,\n thread and composer included. Opaque-ish page surface with a slight blur so the\n conversation underneath reads as \"paused\", not as an app-wide modal. */\n.call-overlay {\n position: absolute;\n inset: 0;\n z-index: 50;\n display: flex;\n background: color-mix(in srgb, var(--mj-bg-page) 94%, transparent);\n backdrop-filter: blur(8px);\n overflow: hidden;\n}\n\n/* Minimized: hidden (NOT destroyed) so the shell's session/view state survives while\n the host shows its floating \"on call\" pill. The audio session is untouched. */\n.call-overlay--hidden {\n display: none;\n}\n\n/* MAIN column: banner (top) \u2192 scrolling thread \u2192 channel strip \u2192 composer \u2192 controls.\n The 420px floor keeps the call column readable while the panel is dragged wide\n (the drag clamp's 70% cap is the other guard). */\n.call-main {\n flex: 1;\n min-width: 420px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n/* The call's controls at the foot of the column: the \"Agent can see\" chip, the channel strip and the composer. The\n stage starts its picture-in-picture boxes above this box, so it is never squeezed below its content's height. */\n.call-controls {\n flex: none;\n}\n\n.call-body {\n flex: 1;\n overflow-y: auto;\n padding: 16px 22px;\n min-height: 0;\n scrollbar-width: thin;\n scrollbar-color: var(--mj-border-strong) transparent;\n}\n.call-body::-webkit-scrollbar {\n width: 6px;\n}\n.call-body::-webkit-scrollbar-thumb {\n background: var(--mj-border-strong);\n border-radius: 3px;\n}\n\n.call-connecting {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n min-height: 160px;\n}\n\n/* ---------- PURE-AUDIO HERO (disclosure level 0) ----------\n The orb IS the interface: it breathes with the audio inside expanding sound-wave\n rings, with a small voice equalizer underneath. Nothing to read, nothing to\n configure \u2014 text, panels and the composer are revealed later (or peeked on demand). */\n.call-body--hero {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.hero {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n animation: hero-in 420ms cubic-bezier(0.2, 0.8, 0.3, 1);\n}\n@keyframes hero-in {\n from { opacity: 0; transform: scale(0.94); }\n to { opacity: 1; transform: scale(1); }\n}\n/* The orb (mj-realtime-agent-orb) at hero scale. */\n.hero__orb {\n margin-bottom: 4px;\n}\n/* Voice equalizer: lively while the agent speaks, near-still otherwise. */\n.hero__eq {\n display: flex;\n align-items: center;\n gap: 4px;\n height: 30px;\n margin-bottom: 6px;\n}\n.hero__eq span {\n width: 4px;\n height: 8px;\n border-radius: var(--mj-radius-full, 9999px);\n background: var(--mj-brand-accent, var(--mj-brand-primary));\n opacity: 0.55;\n}\n.hero[data-state='speaking'] .hero__eq span {\n animation: hero-eq 1.05s ease-in-out infinite;\n}\n.hero__eq span:nth-child(1) { animation-delay: 0s; }\n.hero__eq span:nth-child(2) { animation-delay: 0.14s; }\n.hero__eq span:nth-child(3) { animation-delay: 0.28s; }\n.hero__eq span:nth-child(4) { animation-delay: 0.07s; }\n.hero__eq span:nth-child(5) { animation-delay: 0.21s; }\n.hero__eq span:nth-child(6) { animation-delay: 0.35s; }\n.hero__eq span:nth-child(7) { animation-delay: 0.1s; }\n.hero__eq span:nth-child(8) { animation-delay: 0.24s; }\n.hero__eq span:nth-child(9) { animation-delay: 0.03s; }\n@keyframes hero-eq {\n 0%, 100% { height: 7px; opacity: 0.6; }\n 50% { height: 28px; opacity: 1; }\n}\n/* ---------- the agent's place while its video presents (the Avatar) ----------\n The stage lays the agent's video over these boxes; each has a size only while the video presents. Portrait, as\n avatar video is (Google's samples are 704x1280). */\n.hero--presenting {\n height: 100%;\n min-height: 0;\n}\n.hero__presenter,\n.call-presenter {\n display: none;\n}\n.hero__presenter--on {\n display: block;\n position: relative;\n container-type: size;\n flex: 1 1 auto;\n min-height: 160px;\n max-height: 520px;\n aspect-ratio: 3 / 4;\n margin-bottom: 8px;\n}\n/* Captions over the agent's video, as subtitles: the newest two lines, over the lower third and clear of the tile's\n footer. Above the stage (z-index 1), where the video is. Light on a dark band in both themes, like the tile's chips. */\n.hero__caption {\n position: absolute;\n left: 6%;\n right: 6%;\n bottom: 16%;\n z-index: 2;\n margin: 0;\n padding: 6px 10px;\n border-radius: var(--mj-radius-md);\n background: rgba(0, 0, 0, 0.6);\n color: rgba(255, 255, 255, 0.95);\n font-size: 0.95rem;\n line-height: 1.4;\n text-align: center;\n}\n/* Two lines, the newest: older ones leave through the top. The window clips, not the padded band, so nothing of an\n older line shows in the padding. */\n.hero__caption-window {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n max-height: 2.8em;\n overflow: hidden;\n}\n.hero__caption-speaker {\n font-weight: 600;\n}\n/* A small tile (a short window): one smaller line, so the video still shows. */\n@container (max-height: 240px) {\n .hero__caption {\n bottom: 22%;\n padding: 3px 6px;\n font-size: 0.75rem;\n }\n .hero__caption-window {\n max-height: 1.4em;\n }\n}\n/* In the console it sits above the scrolling thread, so it stays in view as the conversation grows. Wide enough for\n the tile's \"AI-generated video\" label on one line. */\n.call-presenter--on {\n display: block;\n flex: none;\n align-self: center;\n height: 200px;\n aspect-ratio: 4 / 5;\n margin-top: 12px;\n}\n.hero__name {\n font-size: 19px;\n font-weight: 800;\n letter-spacing: -0.01em;\n color: var(--mj-text-primary);\n}\n.hero__sub {\n font-size: 12.5px;\n color: var(--mj-text-muted);\n}\n/* The hero's state for screen readers only, while the agent's tile shows it. */\n.hero__sr {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n/* ---------- AUDIO-REACTIVE MODE (data-audio-live, set by the rAF meter loop) ----------\n With real audio metering the visuals stop acting and start REACTING: the EQ renders the\n true spectrum (--eq-1..9), and [data-voice-dir] colors it by who is speaking (agent =\n brand, user = green). The orb (mj-realtime-agent-orb) reads the same attributes and the\n smoothed output envelope (--voice-out) itself. Without metering (driver attached no\n meters) the attribute stays 'false' and the turn-state keyframe animations stay in charge. */\n/* True-spectrum EQ: per-bar heights from the meter's bins. */\n.call-overlay[data-audio-live='true'] .hero__eq span {\n animation: none;\n transition: height 70ms linear, opacity 120ms linear;\n}\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(1) { height: calc(6px + var(--eq-1, 0) * 24px); opacity: calc(0.45 + var(--eq-1, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(2) { height: calc(6px + var(--eq-2, 0) * 24px); opacity: calc(0.45 + var(--eq-2, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(3) { height: calc(6px + var(--eq-3, 0) * 24px); opacity: calc(0.45 + var(--eq-3, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(4) { height: calc(6px + var(--eq-4, 0) * 24px); opacity: calc(0.45 + var(--eq-4, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(5) { height: calc(6px + var(--eq-5, 0) * 24px); opacity: calc(0.45 + var(--eq-5, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(6) { height: calc(6px + var(--eq-6, 0) * 24px); opacity: calc(0.45 + var(--eq-6, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(7) { height: calc(6px + var(--eq-7, 0) * 24px); opacity: calc(0.45 + var(--eq-7, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(8) { height: calc(6px + var(--eq-8, 0) * 24px); opacity: calc(0.45 + var(--eq-8, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(9) { height: calc(6px + var(--eq-9, 0) * 24px); opacity: calc(0.45 + var(--eq-9, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][data-voice-dir='user'] .hero__eq span {\n background: var(--mj-status-success);\n}\n\n/* The quiet first reveal: show the conversation as text (raises disclosure to level 1). */\n.hero__reveal {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n margin-top: 18px;\n padding: 6px 14px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px dashed var(--mj-border-strong);\n background: transparent;\n color: var(--mj-text-muted);\n font-family: inherit;\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n transition: color 140ms ease, border-color 140ms ease, background 140ms ease;\n}\n.hero__reveal:hover {\n color: var(--mj-text-secondary);\n border-color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n}\n.hero__reveal i {\n font-size: 11px;\n}\n\n/* Ephemeral narration shown under the banner when no working card anchors it */\n.banner-live-note {\n display: flex;\n align-items: flex-start;\n gap: 7px;\n padding: 8px 22px 0;\n font-size: 12px;\n font-style: italic;\n color: var(--mj-text-muted);\n animation: overlay-note-in 220ms ease;\n}\n.banner-live-note i {\n font-size: 10px;\n margin-top: 3px;\n flex-shrink: 0;\n}\n@keyframes overlay-note-in {\n from { opacity: 0; transform: translateY(2px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n/* The call's notices under the banner (no microphone works; no avatar): mj-alert brings its own tint, border and text\n colours; this only places them. */\n.call-microphone-notice,\n.call-avatar-notice {\n flex-shrink: 0;\n margin: var(--mj-space-2) var(--mj-space-5) 0;\n}\n\n/* ---------- FOCUS-BOARD mode (whiteboard \"Focus board\" toggle) ----------\n The main call column collapses away entirely and the focused channel's surface fills\n the stage; a compact floating call pill keeps the live call reachable. */\n.call-overlay.board-focus .call-main {\n display: none;\n}\n\n/* ---------- the stage (every channel surface, in one layer) ----------\n mj-media-stage covers the overlay and places each surface itself. Above the panel it\n lays surfaces over, and above the call's controls, so its picture-in-picture boxes\n start clear of them (.call-controls); below the onboarding card (5), the menus of the\n dock and the chip (5) and the focus pill (60). */\n.call-stage {\n z-index: 1;\n}\n/* A surface's frame: fills the box the stage gives it. The surface component is created\n beside the pane host inside it, and sizes itself to it (height: 100%). */\n.stage-frame {\n position: relative;\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n/* The \"Move to\u2026\" menu on a surface that presents the agent, backed so it reads over video. Bottom right, in the\n tile's footer, which holds nothing there for the agent, so it never covers the tile's labels. */\n.stage-presenter-move {\n position: absolute;\n bottom: 4px;\n right: 6px;\n z-index: 1;\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-bg-surface) 85%, transparent);\n}\n\n/* Floating call pill: orb + state + mute / show-thread / end (per the whiteboard mockup). */\n.board-focus-pill {\n position: absolute;\n left: 64px;\n top: 12px;\n z-index: 60;\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 7px 9px 7px 12px;\n border-radius: var(--mj-radius-full, 999px);\n background: color-mix(in srgb, var(--mj-bg-surface-card) 92%, transparent);\n backdrop-filter: blur(8px);\n border: 1px solid var(--mj-border-strong);\n box-shadow: var(--mj-shadow-xl, 0 12px 32px rgba(0, 0, 0, 0.18));\n animation: overlay-note-in 220ms ease;\n}\n.board-focus-pill__orb {\n width: 12px;\n height: 12px;\n border-radius: 50%;\n flex-shrink: 0;\n background: var(--mj-brand-primary);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent);\n}\n.board-focus-pill__orb[data-state='speaking'],\n.board-focus-pill__orb[data-state='listening'] {\n animation: board-pill-pulse 1.6s ease-in-out infinite;\n}\n.board-focus-pill__orb[data-state='error'] {\n background: var(--mj-status-error);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-status-error) 18%, transparent);\n}\n@keyframes board-pill-pulse {\n 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent); }\n 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n}\n.board-focus-pill__text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n.board-focus-pill__name {\n font-size: 12px;\n font-weight: 700;\n line-height: 1.2;\n white-space: nowrap;\n color: var(--mj-text-primary);\n}\n.board-focus-pill__state {\n font-size: 10.5px;\n font-weight: 600;\n white-space: nowrap;\n color: var(--mj-brand-primary);\n}\n.board-focus-pill__btn {\n width: 30px;\n height: 30px;\n border-radius: 50%;\n border: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n cursor: pointer;\n font-size: 11px;\n display: grid;\n place-items: center;\n font-family: inherit;\n flex-shrink: 0;\n}\n.board-focus-pill__btn:hover {\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--active {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--end {\n background: var(--mj-status-error);\n border-color: var(--mj-status-error);\n color: var(--mj-text-inverse, #fff);\n}\n\n/* ---------- Session review mode ---------- */\n/* Subtle archival tint so a glance says \"this is history, not a live call\". */\n.call-overlay--review {\n background:\n linear-gradient(180deg, color-mix(in srgb, var(--mj-text-muted) 4%, transparent), transparent 120px),\n var(--mj-bg-surface);\n}\n\n/* The review whiteboard pane body: the board component positions itself absolutely\n (inset: 0), so its template-based pane needs a filling, positioned frame. */\n.review-board-host {\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n/* The review recording pane body: the evidence player fills its host (:host height:100%),\n so its template-based pane needs a filling, constrained frame. */\n.review-recording-host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n.review-recording-host mj-realtime-evidence-playback {\n flex: 1;\n min-height: 0;\n}\n\n/* ---------- flex layout (main column | resize handle | surface panel) ---------- */\n/* Token-styled resize handle: invisible until hover, brand-tinted while interacting.\n 7px hit target, col-resize cursor; removed (not rendered) while collapsed / focus. */\n.call-resizer {\n flex: 0 0 7px;\n width: 7px;\n cursor: col-resize;\n background: transparent;\n transition: background 140ms ease;\n}\n.call-resizer:hover,\n.call-resizer--active {\n background: color-mix(in srgb, var(--mj-brand-primary) 26%, transparent);\n}\n/* The surface panel: a plain fixed-width flex item (inline width set by the overlay;\n collapsed = the slim strip width). flex-shrink lets it yield to the call column's\n min-width on tight overlays; overflow hidden keeps the flex height chain intact so\n the panel's content scrolls internally. */\n.call-panel {\n flex: 0 1 auto;\n min-width: 0;\n display: flex;\n overflow: hidden;\n /* Disclosure-gated: the panel is CREATED when earned/peeked \u2014 its arrival slides in\n from the right so the reveal doubles as the progress cue. */\n animation: panel-in 420ms cubic-bezier(0.25, 0.8, 0.3, 1);\n}\n@keyframes panel-in {\n from { opacity: 0; transform: translateX(48px); }\n to { opacity: 1; transform: translateX(0); }\n}\n.call-panel > * {\n flex: 1;\n min-width: 0;\n min-height: 0;\n}\n"] }]
|
|
3005
|
+
], template: "@if (ConnectionState$ | async; as state) {\n <div class=\"call-overlay\"\n [class.call-overlay--hidden]=\"Hidden\"\n [class.call-overlay--review]=\"IsReviewing\"\n [class.board-focus]=\"ChannelFocusMode\"\n role=\"region\" [attr.aria-label]=\"IsReviewing ? 'Past session review' : 'Live voice session'\">\n\n <!-- PROGRESSIVE DISCLOSURE (the console that grows with you \u2014 Redesign A Progressive):\n level 0 is PURE AUDIO (the hero orb owns the main column; no thread, no composer;\n the strip's Details control peeks at the panels on demand); level 1 reveals the\n caption thread + captions control + type-to-type hint; level 2+ docks the composer\n and keeps the surface panel. CONTENT NEVER FLIPS THE CONSOLE OPEN: finished\n artifacts land as glowing unfocused tabs; the ONE auto-reveal is a channel's\n first agent activity (e.g. the first whiteboard write), which opens the panel as\n a peek with that tab focused \u2014 the left column stays exactly as it was.\n REVIEW always renders the full console. -->\n <div class=\"call-main\">\n <!-- The UNIFIED APP-BAR: identity + state + every session action (Redesign A). -->\n <mj-realtime-agent-banner\n [State]=\"state\"\n [Compact]=\"!IsReviewing && Ui.compact && Ui.chrome === 'orb'\"\n [HideState]=\"ShowHero && !PresenterOnStage\"\n [AgentName]=\"AgentName\"\n [ErrorLabel]=\"CallEndLabel\"\n [ModelName]=\"IsReviewing ? null : (ModelName$ | async)\"\n [DevMode]=\"Ui.showDevLinks\"\n [AllowDevLinks]=\"AllowDevLinks\"\n [SessionID]=\"IsReviewing ? ReviewSessionID : SessionID\"\n [ReviewMode]=\"IsReviewing\"\n [ReviewStartedAt]=\"ReviewStartedAt\"\n [ReviewClosedAt]=\"ReviewClosedAt\"\n [ReviewCloseReason]=\"ReviewCloseReason\"\n [ShowGear]=\"!IsReviewing && Ui.showGear\"\n [ShowDensityPicker]=\"Ui.showDensityPicker\"\n [ShowMinimize]=\"!IsReviewing && Ui.showMinimize\"\n [ShowStartLive]=\"AllowStartLive\"\n [Density]=\"Disclosure.Milestones.Density\"\n (OpenSessionRequested)=\"OnOpenSessionRequested($event)\"\n (DevModeToggled)=\"OnDevModeToggled($event)\"\n (DensityChanged)=\"OnDensityChanged($event)\"\n (MinimizeRequested)=\"OnMinimize()\"\n (StartLiveRequested)=\"OnStartLive()\"\n (CloseRequested)=\"OnReviewClose()\">\n </mj-realtime-agent-banner>\n\n <!-- No microphone works: the call lost its microphone, so the agent hears nothing until the user picks one in the\n device menu. It stays for as long as that lasts, with no dismiss button, and goes once a microphone is on.\n Never in review. -->\n @if (MicrophoneNotice; as message) {\n <mj-alert class=\"call-microphone-notice\"\n Variant=\"warning\"\n Size=\"sm\"\n Icon=\"fa-solid fa-microphone-slash\"\n [Message]=\"message\">\n </mj-alert>\n }\n\n <!-- Why the call shows no avatar its agent asked for: once per call, from the moment it connects, until the user\n dismisses it or it hides itself after 10 s. Never in review. -->\n @if (AvatarNotice) {\n <mj-alert class=\"call-avatar-notice\"\n Variant=\"info\"\n Size=\"sm\"\n Icon=\"fa-solid fa-video-slash\"\n [Message]=\"AvatarNoticeMessage\"\n Dismissible\n (Dismissed)=\"OnAvatarNoticeDismissed()\">\n </mj-alert>\n }\n\n <!-- Ephemeral narration with no active working card to anchor to \u2192 under the banner. It is conversation text, so it\n shows exactly while the thread does (Ui.showThread folds the host's text switch, the captions choice, console\n chrome and review) \u2014 never on the session's disclosure ratchet, which only goes up. -->\n @if (!IsReviewing && State.Narration && !State.ActiveCallId && Ui.showThread) {\n <div class=\"banner-live-note\" role=\"status\" aria-live=\"polite\">\n <i class=\"fa-solid fa-comment-dots\" aria-hidden=\"true\"></i>\n {{ State.Narration }}\n </div>\n }\n\n <!-- The agent's place above the thread in the console: the agent's video (the Avatar) lies over it while it presents.\n Outside the scrolling body, so it stays in view as the conversation grows. -->\n @if (!ShowHero) {\n <div class=\"call-presenter\" [class.call-presenter--on]=\"PresenterOnStage\" #presenterSlot></div>\n }\n\n <!-- While the call connects, the connecting screen takes the body, except from a hero the agent's video presents in:\n a resume on a new connection keeps that hero, so the video keeps its place and its last frame. -->\n <div class=\"call-body\" [class.call-body--hero]=\"ShowHero && !ShowConnectingScreen(state)\">\n @if (ShowConnectingScreen(state)) {\n <div class=\"call-connecting\">\n <mj-loading text=\"Connecting to the live session\u2026\" size=\"medium\"></mj-loading>\n </div>\n } @else if (ShowHero) {\n <!-- PURE-AUDIO HERO (level 0): the orb IS the interface \u2014 it breathes with the\n audio inside expanding sound-wave rings; nothing to read, nothing to configure. -->\n <div class=\"hero\" [class.hero--presenting]=\"PresenterOnStage\" [attr.data-state]=\"state\" role=\"status\" aria-live=\"polite\">\n @if (!PresenterOnStage) {\n <mj-realtime-agent-orb class=\"hero__orb\" [State]=\"HeroOrbState(state)\"></mj-realtime-agent-orb>\n <div class=\"hero__eq\" aria-hidden=\"true\">\n <span></span><span></span><span></span><span></span><span></span>\n <span></span><span></span><span></span><span></span>\n </div>\n }\n <!-- The agent's place in the hero: the agent's video (the Avatar) lies over it while it presents. With\n captions on, the newest caption runs over the video's lower third, as subtitles do. Hidden from\n assistive technology: the conversation, a click away, is the accessible transcript, and this live\n region would read every word as it arrives. -->\n <div class=\"hero__presenter\" [class.hero__presenter--on]=\"PresenterOnStage\" #presenterSlot>\n @if (ShowAvatarCaptions && AvatarCaption; as caption) {\n <p class=\"hero__caption\" aria-hidden=\"true\">\n <span class=\"hero__caption-window\">\n <span class=\"hero__caption-lines\">\n @if (caption.Speaker) {\n <span class=\"hero__caption-speaker\">{{ caption.Speaker }}:</span>\n }\n {{ caption.Text }}\n </span>\n </span>\n </p>\n }\n </div>\n @if (!PresenterOnStage) {\n <div class=\"hero__name\">{{ AgentName }}</div>\n <div class=\"hero__sub\">{{ HeroStateLabel(state) }}</div>\n } @else {\n <!-- The agent's tile names it and says what it is doing; this live region still says it for screen readers. -->\n <span class=\"hero__sr\">{{ HeroStateLabel(state) }}</span>\n }\n @if (Ui.allowTextReveal && (PresenterOnStage || !Ui.showCaptionsControl)) {\n <button type=\"button\" class=\"hero__reveal\" (click)=\"OnTextReveal()\"\n title=\"Show the conversation as text\">\n <i class=\"fa-solid fa-closed-captioning\" aria-hidden=\"true\"></i>\n Show the conversation\n </button>\n }\n </div>\n } @else if (Ui.showThread) {\n <mj-realtime-session-thread\n [State]=\"State\"\n [AgentName]=\"AgentName\"\n [UserName]=\"CurrentUser?.Name || 'You'\"\n [ShowCaptions]=\"IsReviewing ? true : ShowCaptions\"\n [DevMode]=\"Ui.showDevLinks\"\n [OpenLinksInNewTab]=\"OpenLinksInNewTab\"\n (OpenRunRequested)=\"OnOpenRunRequested($event)\"\n (OpenArtifactRequested)=\"OnOpenArtifactRequested($event)\"\n (CancelRequested)=\"OnCancelDelegation($event)\">\n </mj-realtime-session-thread>\n }\n </div>\n\n <!-- The call's controls along the foot of the column. The stage starts its picture-in-picture boxes clear of\n them, so a camera or a shared screen never opens over End call (#5408). Empty, so with no size, in review. -->\n <div class=\"call-controls\" #callControls>\n @if (!IsReviewing) {\n <!-- \"Agent can see\": what the agent is looking at, with a switch per source. Shown while the user\n captures camera/screen (or when [ShowPerceptionChip]=\"true\"). -->\n <mj-realtime-perception-chip [Sources]=\"VisibleVideoSources\"\n (SourceToggled)=\"OnVideoSourceToggled($event)\"\n (SourcePicked)=\"OnVideoSourcePicked($event)\">\n </mj-realtime-perception-chip>\n\n <!-- Active channels (earned with the console at level 2+, host-gated via [ShowChannels]).\n The strip component self-hides when there are no active channels. -->\n @if (ChannelStripVisible) {\n <mj-realtime-channel-strip></mj-realtime-channel-strip>\n }\n\n <!-- The BOTTOM DOCK: phone-call strip \u21C4 fused minis+composer \u2014 the user's own\n two-way toggle (Type opens, hide closes), never level-forced. -->\n <mj-realtime-composer\n [Open]=\"ComposerOpen\"\n [Compact]=\"Ui.chrome === 'orb' || Ui.compact\"\n (OpenChanged)=\"OnComposerOpenChanged($event)\"\n [AllowTyping]=\"Ui.allowTyping\"\n [ShowEnd]=\"Ui.showEnd\"\n [ShowCaptionsControl]=\"Ui.showCaptionsControl\"\n [CaptionsOn]=\"ShowCaptions\"\n [IsMuted]=\"Muted\"\n [ShowCamera]=\"CaptureOffers.Camera\"\n [ShowShare]=\"CaptureOffers.Screen\"\n [CameraOn]=\"CameraOn\"\n [Sharing]=\"Sharing\"\n [SharePanels]=\"SharePanels\"\n [Devices]=\"CallDevices\"\n [SelectedMicrophoneID]=\"SelectedMicrophoneID\"\n [SelectedCameraID]=\"SelectedCameraID\"\n (CameraToggled)=\"OnCameraToggled($event)\"\n (ShareRequested)=\"OnShareRequested($event)\"\n (StopShareRequested)=\"OnStopShareRequested()\"\n (DeviceSelected)=\"OnDeviceSelected($event)\"\n [ShowDetails]=\"ShowDetailsControl\"\n [DetailsOn]=\"DetailsPeek\"\n (CaptionsToggled)=\"OnCaptionsToggled($event)\"\n (DetailsToggled)=\"OnDetailsToggled()\"\n (MuteChanged)=\"OnComposerMuteChanged($event)\"\n (EndRequested)=\"OnEndCall()\">\n </mj-realtime-composer>\n }\n </div>\n </div>\n\n <!-- RIGHT: TABBED SURFACE PANEL \u2014 disclosure-gated: it EXISTS once earned (level 2+,\n which the first delegation forces), peeked on demand via the strip's Details\n control, or always in review. Slides in from the right when it arrives \u2014 the\n panel's arrival IS the progress cue. -->\n @if (ShowPanelArea) {\n <!-- Resize handle (hidden while the panel is collapsed or a channel holds focus). -->\n @if (!PanelResizeDisabled) {\n <div class=\"call-resizer\"\n [class.call-resizer--active]=\"IsPanelResizing\"\n role=\"separator\" aria-orientation=\"vertical\"\n aria-label=\"Resize the surface panel (double-click to reset)\"\n title=\"Drag to resize \u2022 double-click to reset\"\n (mousedown)=\"OnPanelResizeStart($event)\"\n (dblclick)=\"OnPanelResizeReset()\"></div>\n }\n\n <div class=\"call-panel\" [style.width.px]=\"PanelAreaSize\">\n <mj-realtime-surface-tabs\n [State]=\"State\"\n [DevMode]=\"Ui.showDevLinks\"\n [CurrentUser]=\"CurrentUser\"\n [EnvironmentID]=\"EnvironmentID\"\n [ShowActivityTab]=\"ShowActivityTab\"\n [ExtraArtifacts]=\"ReviewArtifacts\"\n (OpenRunRequested)=\"OnOpenRunRequested($event)\"\n [Collapsed]=\"PanelCollapsed\"\n (CollapsedChange)=\"OnPanelCollapsedChange($event)\"\n (WideChanged)=\"OnPanelWideChanged($event)\"\n (ActiveChannelChange)=\"OnActiveChannelChange($event)\"\n (ChannelSlotChange)=\"OnChannelSlotChange($event)\"\n [SurfacePlacements]=\"SurfaceStage.Placements\"\n [AllowedPlacements]=\"SurfaceStage.AllowedPlacements\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-realtime-surface-tabs>\n </div>\n }\n\n <!-- THE STAGE: every channel surface lives here, in one layer over the overlay. A surface\n is created the first time it is seen, lies over its tab's slot while that tab is\n active, fills the overlay while its channel holds focus (or, for the agent's video,\n lies in the agent's place in the call), and otherwise waits out of sight \u2014 so\n collapsing the panel, switching tabs or entering focus never reloads it.\n The pane tells each channel when its surface goes out of sight, so it can pause.\n A channel that opts in (SurfaceShareable, such as the whiteboard) marks its frame as a panel the Share menu\n offers under \"This panel\" while it is on screen. A picture-in-picture box the user has not moved starts\n clear of the call's controls. -->\n <mj-media-stage class=\"call-stage\"\n [Surfaces]=\"SurfaceStage.Surfaces\"\n [TabSlot]=\"StageSlot?.Element ?? null\"\n [StageSlot]=\"StageSurfaceSlot\"\n [ActiveTabKey]=\"StageSlot?.Key ?? null\"\n [PipRects]=\"PipRects\"\n [PipKeepClear]=\"callControls\"\n (PipRectChange)=\"OnPipRectChange($event)\">\n <ng-template mjMediaStageSurface let-key let-visible=\"Visible\" let-placement=\"Placement\">\n @if (SurfaceStage.PluginFor(key); as plugin) {\n <div class=\"stage-frame\" role=\"region\" [attr.aria-label]=\"plugin.TabTitle\"\n [mjSharePanel]=\"plugin.SurfaceShareable ? plugin.TabTitle : null\" [mjSharePanelIcon]=\"plugin.TabIcon\">\n <mj-realtime-channel-pane [Plugin]=\"plugin\" [Visible]=\"visible\" [Placement]=\"placement\"></mj-realtime-channel-pane>\n <!-- A surface presenting the agent has no focus pill, so its \"Move to\u2026\" menu rides on it. -->\n @if (placement === 'stage' && plugin.ShowsAgentVideo) {\n <mj-media-move-menu\n class=\"stage-presenter-move\"\n [Key]=\"key\"\n [Title]=\"plugin.TabTitle\"\n Placement=\"stage\"\n [Allowed]=\"SurfaceStage.AllowedFor(key)\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-media-move-menu>\n }\n </div>\n }\n </ng-template>\n <!-- A picture-in-picture box's bar carries the same \"Move to\u2026\" menu. -->\n <ng-template mjMediaStagePipActions let-key>\n @if (SurfaceStage.PluginFor(key); as plugin) {\n <mj-media-move-menu\n [Key]=\"key\"\n [Title]=\"plugin.TabTitle\"\n Placement=\"pip\"\n [Allowed]=\"SurfaceStage.AllowedFor(key)\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-media-move-menu>\n }\n </ng-template>\n </mj-media-stage>\n\n <!-- FOCUS floating call pill: the main column is hidden, so the live call's\n identity + state + mute / show-thread / end controls ride over the surface. -->\n @if (!IsReviewing && ChannelFocusMode) {\n <div class=\"board-focus-pill\" role=\"status\" aria-label=\"Live call (board focus)\">\n <span class=\"board-focus-pill__orb\" [attr.data-state]=\"state\" aria-hidden=\"true\"></span>\n <span class=\"board-focus-pill__text\">\n <span class=\"board-focus-pill__name\">Voice for {{ AgentName }}</span>\n @if (FocusStateLabel(state); as label) {\n <span class=\"board-focus-pill__state\">{{ label }}</span>\n }\n </span>\n <button type=\"button\" class=\"board-focus-pill__btn\"\n [class.board-focus-pill__btn--active]=\"FocusPillMuted\"\n (click)=\"OnFocusPillMute()\"\n [title]=\"FocusPillMuted ? 'Unmute' : 'Mute'\"\n [attr.aria-label]=\"FocusPillMuted ? 'Unmute microphone' : 'Mute microphone'\">\n <i class=\"fa-solid\" [class.fa-microphone]=\"!FocusPillMuted\" [class.fa-microphone-slash]=\"FocusPillMuted\" aria-hidden=\"true\"></i>\n </button>\n <!-- The focus-mode exit, always offered: it is the only way off a focused surface. With text\n disallowed the column comes back as the orb hero, so it is labelled as a return to the call. -->\n <button type=\"button\" class=\"board-focus-pill__btn\"\n (click)=\"OnFocusPillExit()\"\n [title]=\"Ui.allowTextReveal ? 'Show thread' : 'Back to the call'\"\n [attr.aria-label]=\"Ui.allowTextReveal ? 'Show the conversation thread' : 'Leave focus mode and return to the call'\">\n <i class=\"fa-solid fa-table-columns\" aria-hidden=\"true\"></i>\n </button>\n @if (StagePlugin; as stagePlugin) {\n <mj-media-move-menu\n [Key]=\"stagePlugin.ChannelName\"\n [Title]=\"stagePlugin.TabTitle\"\n Placement=\"stage\"\n [Allowed]=\"SurfaceStage.AllowedFor(stagePlugin.ChannelName)\"\n (MoveRequested)=\"OnMoveRequested($event)\"\n (ResetLayoutRequested)=\"OnResetLayout()\">\n </mj-media-move-menu>\n }\n @if (Ui.showEnd) {\n <button type=\"button\" class=\"board-focus-pill__btn board-focus-pill__btn--end\"\n (click)=\"OnFocusPillEnd()\"\n title=\"End call\" aria-label=\"End the call\">\n <i class=\"fa-solid fa-phone-slash\" aria-hidden=\"true\"></i>\n </button>\n }\n </div>\n }\n\n <!-- THE CAMERA CHECK: the first time the user turns the camera on in a call, they see it, and can pick another\n camera, before the agent does. Until they choose, the camera's own box says it is waiting. -->\n @if (CameraCheck; as camera) {\n <mj-realtime-camera-check-card\n [Camera]=\"camera\"\n [AgentName]=\"AgentName\"\n [Switch]=\"SwitchCheckedCamera\"\n (Confirmed)=\"OnCameraCheckConfirmed()\"\n (Declined)=\"OnCameraCheckDeclined()\">\n </mj-realtime-camera-check-card>\n }\n\n </div>\n}\n\n<!-- SESSION REVIEW Docs workspace pane body: the reviewed session's saved ArtifactWorkspace\n tabs (Docs, Spreadsheets, Slide Decks), rendered READ-ONLY so reviewers see the exact tabbed\n workspace from the past session rather than only the flat Activity list. -->\n<ng-template #reviewDocsTpl>\n @if (ReviewWorkspaceEngine; as workspace) {\n <div class=\"review-docs-host\">\n <mj-realtime-artifact-workspace-surface\n [Engine]=\"workspace\"\n [AgentName]=\"AgentName\"\n [CurrentUser]=\"CurrentUser\"\n [EnvironmentID]=\"EnvironmentID\"\n [Provider]=\"Provider\"\n [ReadOnly]=\"true\">\n </mj-realtime-artifact-workspace-surface>\n </div>\n }\n</ng-template>\n\n<!-- SESSION REVIEW Media pane body: the reviewed session's saved Media channel items. -->\n<ng-template #reviewMediaTpl>\n @if (ReviewMedia; as media) {\n <div class=\"review-media-host\">\n <mj-realtime-media-surface\n [State]=\"media\"\n [AgentName]=\"AgentName\"\n [Provider]=\"Provider\">\n </mj-realtime-media-surface>\n </div>\n }\n</ng-template>\n\n<!-- SESSION REVIEW Browser pane body: the reviewed session's saved Remote Browser snapshot and visited pages. -->\n<ng-template #reviewBrowserTpl>\n @if (ReviewBrowser; as browser) {\n <div class=\"review-browser-host\">\n <mj-realtime-remote-browser-surface\n [ReadOnly]=\"true\"\n [CurrentUrl]=\"browser.CurrentUrl\"\n [ScreenshotDataUrl]=\"browser.ScreenshotDataUrl ?? null\"\n [ReviewHistory]=\"browser.History\">\n </mj-realtime-remote-browser-surface>\n </div>\n }\n</ng-template>\n\n<!-- SESSION REVIEW whiteboard pane body: the reviewed session's saved board, rehydrated\n locally (WhiteboardState.FromJSON) and rendered READ-ONLY (pan/zoom only). Registered\n as a template-based channel tab ONLY when a parseable Whiteboard state exists. -->\n<ng-template #reviewBoardTpl>\n @if (ReviewWhiteboard; as board) {\n <!-- The board host positions itself absolutely \u2014 give it a filling, positioned frame. -->\n <div class=\"review-board-host\">\n <mj-realtime-whiteboard\n [State]=\"board\"\n [AgentName]=\"AgentName\"\n [ReadOnly]=\"true\">\n </mj-realtime-whiteboard>\n </div>\n }\n</ng-template>\n\n<!-- SESSION REVIEW recording pane body: the reviewed session's recorded audio synced to its\n transcript, replayed via the shared storage media player (click-to-seek transcript + playhead\n highlight). Registered as a template-based channel tab ONLY when the reviewed session carries a\n RecordingFileID; the player resolves the authenticated audio itself from that file id. -->\n<ng-template #recordingTpl>\n <div class=\"review-recording-host\">\n <mj-storage-media-player\n [FileID]=\"ReviewRecordingFileID\"\n [Transcript]=\"ReviewCues\"\n [Provider]=\"Provider\">\n </mj-storage-media-player>\n </div>\n</ng-template>\n", styles: [":host {\n display: contents;\n}\n\n/* Fills the conversation panel IN PLACE: the chat area host provides the positioned\n context (position:relative on .chat-area) and this covers it edge to edge \u2014 header,\n thread and composer included. Opaque-ish page surface with a slight blur so the\n conversation underneath reads as \"paused\", not as an app-wide modal. */\n.call-overlay {\n position: absolute;\n inset: 0;\n z-index: 50;\n display: flex;\n background: color-mix(in srgb, var(--mj-bg-page) 94%, transparent);\n backdrop-filter: blur(8px);\n overflow: hidden;\n}\n\n/* Minimized: hidden (NOT destroyed) so the shell's session/view state survives while\n the host shows its floating \"on call\" pill. The audio session is untouched. */\n.call-overlay--hidden {\n display: none;\n}\n\n/* MAIN column: banner (top) \u2192 scrolling thread \u2192 channel strip \u2192 composer \u2192 controls.\n The 420px floor keeps the call column readable while the panel is dragged wide\n (the drag clamp's 70% cap is the other guard). */\n.call-main {\n flex: 1;\n min-width: 420px;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n/* The call's controls at the foot of the column: the \"Agent can see\" chip, the channel strip and the composer. The\n stage starts its picture-in-picture boxes above this box, so it is never squeezed below its content's height. */\n.call-controls {\n flex: none;\n}\n\n.call-body {\n flex: 1;\n overflow-y: auto;\n padding: 16px 22px;\n min-height: 0;\n scrollbar-width: thin;\n scrollbar-color: var(--mj-border-strong) transparent;\n}\n.call-body::-webkit-scrollbar {\n width: 6px;\n}\n.call-body::-webkit-scrollbar-thumb {\n background: var(--mj-border-strong);\n border-radius: 3px;\n}\n\n.call-connecting {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n min-height: 160px;\n}\n\n/* ---------- PURE-AUDIO HERO (disclosure level 0) ----------\n The orb IS the interface: it breathes with the audio inside expanding sound-wave\n rings, with a small voice equalizer underneath. Nothing to read, nothing to\n configure \u2014 text, panels and the composer are revealed later (or peeked on demand). */\n.call-body--hero {\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.hero {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 4px;\n animation: hero-in 420ms cubic-bezier(0.2, 0.8, 0.3, 1);\n}\n@keyframes hero-in {\n from { opacity: 0; transform: scale(0.94); }\n to { opacity: 1; transform: scale(1); }\n}\n/* The orb (mj-realtime-agent-orb) at hero scale. */\n.hero__orb {\n margin-bottom: 4px;\n}\n/* Voice equalizer: lively while the agent speaks, near-still otherwise. */\n.hero__eq {\n display: flex;\n align-items: center;\n gap: 4px;\n height: 30px;\n margin-bottom: 6px;\n}\n.hero__eq span {\n width: 4px;\n height: 8px;\n border-radius: var(--mj-radius-full, 9999px);\n background: var(--mj-brand-accent, var(--mj-brand-primary));\n opacity: 0.55;\n}\n.hero[data-state='speaking'] .hero__eq span {\n animation: hero-eq 1.05s ease-in-out infinite;\n}\n.hero__eq span:nth-child(1) { animation-delay: 0s; }\n.hero__eq span:nth-child(2) { animation-delay: 0.14s; }\n.hero__eq span:nth-child(3) { animation-delay: 0.28s; }\n.hero__eq span:nth-child(4) { animation-delay: 0.07s; }\n.hero__eq span:nth-child(5) { animation-delay: 0.21s; }\n.hero__eq span:nth-child(6) { animation-delay: 0.35s; }\n.hero__eq span:nth-child(7) { animation-delay: 0.1s; }\n.hero__eq span:nth-child(8) { animation-delay: 0.24s; }\n.hero__eq span:nth-child(9) { animation-delay: 0.03s; }\n@keyframes hero-eq {\n 0%, 100% { height: 7px; opacity: 0.6; }\n 50% { height: 28px; opacity: 1; }\n}\n/* ---------- the agent's place while its video presents (the Avatar) ----------\n The stage lays the agent's video over these boxes; each has a size only while the video presents. Portrait, as\n avatar video is (Google's samples are 704x1280). */\n.hero--presenting {\n height: 100%;\n min-height: 0;\n}\n.hero__presenter,\n.call-presenter {\n display: none;\n}\n.hero__presenter--on {\n display: block;\n position: relative;\n container-type: size;\n flex: 1 1 auto;\n min-height: 160px;\n max-height: 520px;\n aspect-ratio: 3 / 4;\n margin-bottom: 8px;\n}\n/* Captions over the agent's video, as subtitles: the newest two lines, over the lower third and clear of the tile's\n footer. Above the stage (z-index 1), where the video is. Light on a dark band in both themes, like the tile's chips. */\n.hero__caption {\n position: absolute;\n left: 6%;\n right: 6%;\n bottom: 16%;\n z-index: 2;\n margin: 0;\n padding: 6px 10px;\n border-radius: var(--mj-radius-md);\n background: rgba(0, 0, 0, 0.6);\n color: rgba(255, 255, 255, 0.95);\n font-size: 0.95rem;\n line-height: 1.4;\n text-align: center;\n}\n/* Two lines, the newest: older ones leave through the top. The window clips, not the padded band, so nothing of an\n older line shows in the padding. */\n.hero__caption-window {\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n max-height: 2.8em;\n overflow: hidden;\n}\n.hero__caption-speaker {\n font-weight: 600;\n}\n/* A small tile (a short window): one smaller line, so the video still shows. */\n@container (max-height: 240px) {\n .hero__caption {\n bottom: 22%;\n padding: 3px 6px;\n font-size: 0.75rem;\n }\n .hero__caption-window {\n max-height: 1.4em;\n }\n}\n/* In the console it sits above the scrolling thread, so it stays in view as the conversation grows. Wide enough for\n the tile's \"AI-generated video\" label on one line. */\n.call-presenter--on {\n display: block;\n flex: none;\n align-self: center;\n height: 200px;\n aspect-ratio: 4 / 5;\n margin-top: 12px;\n}\n.hero__name {\n font-size: 19px;\n font-weight: 800;\n letter-spacing: -0.01em;\n color: var(--mj-text-primary);\n}\n.hero__sub {\n font-size: 12.5px;\n color: var(--mj-text-muted);\n}\n/* The hero's state for screen readers only, while the agent's tile shows it. */\n.hero__sr {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n/* ---------- AUDIO-REACTIVE MODE (data-audio-live, set by the rAF meter loop) ----------\n With real audio metering the visuals stop acting and start REACTING: the EQ renders the\n true spectrum (--eq-1..9), and [data-voice-dir] colors it by who is speaking (agent =\n brand, user = green). The orb (mj-realtime-agent-orb) reads the same attributes and the\n smoothed output envelope (--voice-out) itself. Without metering (driver attached no\n meters) the attribute stays 'false' and the turn-state keyframe animations stay in charge. */\n/* True-spectrum EQ: per-bar heights from the meter's bins. */\n.call-overlay[data-audio-live='true'] .hero__eq span {\n animation: none;\n transition: height 70ms linear, opacity 120ms linear;\n}\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(1) { height: calc(6px + var(--eq-1, 0) * 24px); opacity: calc(0.45 + var(--eq-1, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(2) { height: calc(6px + var(--eq-2, 0) * 24px); opacity: calc(0.45 + var(--eq-2, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(3) { height: calc(6px + var(--eq-3, 0) * 24px); opacity: calc(0.45 + var(--eq-3, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(4) { height: calc(6px + var(--eq-4, 0) * 24px); opacity: calc(0.45 + var(--eq-4, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(5) { height: calc(6px + var(--eq-5, 0) * 24px); opacity: calc(0.45 + var(--eq-5, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(6) { height: calc(6px + var(--eq-6, 0) * 24px); opacity: calc(0.45 + var(--eq-6, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(7) { height: calc(6px + var(--eq-7, 0) * 24px); opacity: calc(0.45 + var(--eq-7, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(8) { height: calc(6px + var(--eq-8, 0) * 24px); opacity: calc(0.45 + var(--eq-8, 0) * 0.55); }\n.call-overlay[data-audio-live='true'] .hero__eq span:nth-child(9) { height: calc(6px + var(--eq-9, 0) * 24px); opacity: calc(0.45 + var(--eq-9, 0) * 0.55); }\n.call-overlay[data-audio-live='true'][data-voice-dir='user'] .hero__eq span {\n background: var(--mj-status-success);\n}\n\n/* The quiet first reveal: show the conversation as text (raises disclosure to level 1). */\n.hero__reveal {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n margin-top: 18px;\n padding: 6px 14px;\n border-radius: var(--mj-radius-full, 9999px);\n border: 1px dashed var(--mj-border-strong);\n background: transparent;\n color: var(--mj-text-muted);\n font-family: inherit;\n font-size: 11.5px;\n font-weight: 600;\n cursor: pointer;\n transition: color 140ms ease, border-color 140ms ease, background 140ms ease;\n}\n.hero__reveal:hover {\n color: var(--mj-text-secondary);\n border-color: var(--mj-brand-primary);\n background: color-mix(in srgb, var(--mj-brand-primary) 8%, transparent);\n}\n.hero__reveal i {\n font-size: 11px;\n}\n\n/* Ephemeral narration shown under the banner when no working card anchors it */\n.banner-live-note {\n display: flex;\n align-items: flex-start;\n gap: 7px;\n padding: 8px 22px 0;\n font-size: 12px;\n font-style: italic;\n color: var(--mj-text-muted);\n animation: overlay-note-in 220ms ease;\n}\n.banner-live-note i {\n font-size: 10px;\n margin-top: 3px;\n flex-shrink: 0;\n}\n@keyframes overlay-note-in {\n from { opacity: 0; transform: translateY(2px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n/* The call's notices under the banner (no microphone works; no avatar): mj-alert brings its own tint, border and text\n colours; this only places them. */\n.call-microphone-notice,\n.call-avatar-notice {\n flex-shrink: 0;\n margin: var(--mj-space-2) var(--mj-space-5) 0;\n}\n\n/* ---------- FOCUS-BOARD mode (whiteboard \"Focus board\" toggle) ----------\n The main call column collapses away entirely and the focused channel's surface fills\n the stage; a compact floating call pill keeps the live call reachable. */\n.call-overlay.board-focus .call-main {\n display: none;\n}\n\n/* ---------- the stage (every channel surface, in one layer) ----------\n mj-media-stage covers the overlay and places each surface itself. Above the panel it\n lays surfaces over, and above the call's controls, so its picture-in-picture boxes\n start clear of them (.call-controls); below the onboarding card (5), the menus of the\n dock and the chip (5) and the focus pill (60). */\n.call-stage {\n z-index: 1;\n}\n/* A surface's frame: fills the box the stage gives it. The surface component is created\n beside the pane host inside it, and sizes itself to it (height: 100%). */\n.stage-frame {\n position: relative;\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n/* The \"Move to\u2026\" menu on a surface that presents the agent, backed so it reads over video. Bottom right, in the\n tile's footer, which holds nothing there for the agent, so it never covers the tile's labels. */\n.stage-presenter-move {\n position: absolute;\n bottom: 4px;\n right: 6px;\n z-index: 1;\n border-radius: var(--mj-radius-full);\n background: color-mix(in srgb, var(--mj-bg-surface) 85%, transparent);\n}\n\n/* Floating call pill: orb + state + mute / show-thread / end (per the whiteboard mockup). */\n.board-focus-pill {\n position: absolute;\n left: 64px;\n top: 12px;\n z-index: 60;\n display: flex;\n align-items: center;\n gap: 10px;\n padding: 7px 9px 7px 12px;\n border-radius: var(--mj-radius-full, 999px);\n background: color-mix(in srgb, var(--mj-bg-surface-card) 92%, transparent);\n backdrop-filter: blur(8px);\n border: 1px solid var(--mj-border-strong);\n box-shadow: var(--mj-shadow-xl, 0 12px 32px rgba(0, 0, 0, 0.18));\n animation: overlay-note-in 220ms ease;\n}\n.board-focus-pill__orb {\n width: 12px;\n height: 12px;\n border-radius: 50%;\n flex-shrink: 0;\n background: var(--mj-brand-primary);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent);\n}\n.board-focus-pill__orb[data-state='speaking'],\n.board-focus-pill__orb[data-state='listening'] {\n animation: board-pill-pulse 1.6s ease-in-out infinite;\n}\n.board-focus-pill__orb[data-state='error'] {\n background: var(--mj-status-error);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-status-error) 18%, transparent);\n}\n@keyframes board-pill-pulse {\n 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--mj-brand-primary) 18%, transparent); }\n 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--mj-brand-primary) 8%, transparent); }\n}\n.board-focus-pill__text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n.board-focus-pill__name {\n font-size: 12px;\n font-weight: 700;\n line-height: 1.2;\n white-space: nowrap;\n color: var(--mj-text-primary);\n}\n.board-focus-pill__state {\n font-size: 10.5px;\n font-weight: 600;\n white-space: nowrap;\n color: var(--mj-brand-primary);\n}\n.board-focus-pill__btn {\n width: 30px;\n height: 30px;\n border-radius: 50%;\n border: 1px solid var(--mj-border-strong);\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n cursor: pointer;\n font-size: 11px;\n display: grid;\n place-items: center;\n font-family: inherit;\n flex-shrink: 0;\n}\n.board-focus-pill__btn:hover {\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--active {\n background: var(--mj-bg-surface-active);\n color: var(--mj-text-primary);\n}\n.board-focus-pill__btn--end {\n background: var(--mj-status-error);\n border-color: var(--mj-status-error);\n color: var(--mj-text-inverse, #fff);\n}\n\n/* ---------- Session review mode ---------- */\n/* Subtle archival tint so a glance says \"this is history, not a live call\". */\n.call-overlay--review {\n background:\n linear-gradient(180deg, color-mix(in srgb, var(--mj-text-muted) 4%, transparent), transparent 120px),\n var(--mj-bg-surface);\n}\n\n/* The review whiteboard pane body: the board component positions itself absolutely\n (inset: 0), so its template-based pane needs a filling, positioned frame. */\n.review-board-host {\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n/* The review recording, Docs, Media, and Browser pane bodies fill their template-based pane slots cleanly. */\n.review-recording-host,\n.review-docs-host,\n.review-media-host,\n.review-browser-host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n}\n\n.review-recording-host mj-realtime-evidence-playback {\n flex: 1;\n min-height: 0;\n}\n\n/* ---------- flex layout (main column | resize handle | surface panel) ---------- */\n/* Token-styled resize handle: invisible until hover, brand-tinted while interacting.\n 7px hit target, col-resize cursor; removed (not rendered) while collapsed / focus. */\n.call-resizer {\n flex: 0 0 7px;\n width: 7px;\n cursor: col-resize;\n background: transparent;\n transition: background 140ms ease;\n}\n.call-resizer:hover,\n.call-resizer--active {\n background: color-mix(in srgb, var(--mj-brand-primary) 26%, transparent);\n}\n/* The surface panel: a plain fixed-width flex item (inline width set by the overlay;\n collapsed = the slim strip width). flex-shrink lets it yield to the call column's\n min-width on tight overlays; overflow hidden keeps the flex height chain intact so\n the panel's content scrolls internally. */\n.call-panel {\n flex: 0 1 auto;\n min-width: 0;\n display: flex;\n overflow: hidden;\n /* Disclosure-gated: the panel is CREATED when earned/peeked \u2014 its arrival slides in\n from the right so the reveal doubles as the progress cue. */\n animation: panel-in 420ms cubic-bezier(0.25, 0.8, 0.3, 1);\n}\n@keyframes panel-in {\n from { opacity: 0; transform: translateX(48px); }\n to { opacity: 1; transform: translateX(0); }\n}\n.call-panel > * {\n flex: 1;\n min-width: 0;\n min-height: 0;\n}\n"] }]
|
|
2694
3006
|
}], () => [], { Hidden: [{
|
|
2695
3007
|
type: Input
|
|
2696
3008
|
}], AgentName: [{
|
|
@@ -2773,6 +3085,15 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2773
3085
|
}], composer: [{
|
|
2774
3086
|
type: ViewChild,
|
|
2775
3087
|
args: [RealtimeComposerComponent]
|
|
3088
|
+
}], reviewDocsTpl: [{
|
|
3089
|
+
type: ViewChild,
|
|
3090
|
+
args: ['reviewDocsTpl']
|
|
3091
|
+
}], reviewMediaTpl: [{
|
|
3092
|
+
type: ViewChild,
|
|
3093
|
+
args: ['reviewMediaTpl']
|
|
3094
|
+
}], reviewBrowserTpl: [{
|
|
3095
|
+
type: ViewChild,
|
|
3096
|
+
args: ['reviewBrowserTpl']
|
|
2776
3097
|
}], reviewBoardTpl: [{
|
|
2777
3098
|
type: ViewChild,
|
|
2778
3099
|
args: ['reviewBoardTpl']
|
|
@@ -2786,7 +3107,7 @@ export class RealtimeSessionOverlayComponent extends BaseAngularComponent {
|
|
|
2786
3107
|
type: HostListener,
|
|
2787
3108
|
args: ['document:keydown', ['$event']]
|
|
2788
3109
|
}] }); })();
|
|
2789
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RealtimeSessionOverlayComponent, { className: "RealtimeSessionOverlayComponent", filePath: "src/lib/components/realtime/realtime-session-overlay.component.ts", lineNumber:
|
|
3110
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RealtimeSessionOverlayComponent, { className: "RealtimeSessionOverlayComponent", filePath: "src/lib/components/realtime/realtime-session-overlay.component.ts", lineNumber: 204 }); })();
|
|
2790
3111
|
/** Whether a capture is on or on its way, as the composer's buttons show it. */
|
|
2791
3112
|
function isCapturing(capture) {
|
|
2792
3113
|
return capture.Status === 'on' || capture.Status === 'starting';
|