chordia-ui 3.3.8 → 3.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AgentLiftCard.cjs.js.map +1 -1
- package/dist/AgentLiftCard.es.js +5 -3
- package/dist/AgentLiftCard.es.js.map +1 -1
- package/dist/CustomFilterChips.cjs.js.map +1 -1
- package/dist/CustomFilterChips.es.js +2 -1
- package/dist/CustomFilterChips.es.js.map +1 -1
- package/dist/FileUploadingState.cjs.js.map +1 -1
- package/dist/FileUploadingState.es.js +16 -10
- package/dist/FileUploadingState.es.js.map +1 -1
- package/dist/IntegrationCard.cjs.js.map +1 -1
- package/dist/IntegrationCard.es.js +3 -3
- package/dist/IntegrationCard.es.js.map +1 -1
- package/dist/SectionLabel.cjs.js.map +1 -1
- package/dist/SectionLabel.es.js.map +1 -1
- package/dist/SmallButton.cjs.js.map +1 -1
- package/dist/SmallButton.es.js +16 -16
- package/dist/SmallButton.es.js.map +1 -1
- package/dist/SummarySection.cjs.js.map +1 -1
- package/dist/SummarySection.es.js +11 -9
- package/dist/SummarySection.es.js.map +1 -1
- package/dist/TextInput.cjs.js.map +1 -1
- package/dist/TextInput.es.js.map +1 -1
- package/dist/Timeline.cjs.js.map +1 -1
- package/dist/Timeline.es.js +14 -8
- package/dist/Timeline.es.js.map +1 -1
- package/dist/Tooltip.cjs.js +1 -1
- package/dist/Tooltip.cjs.js.map +1 -1
- package/dist/Tooltip.es.js +31 -20
- package/dist/Tooltip.es.js.map +1 -1
- package/dist/TourGuideTooltip.cjs.js.map +1 -1
- package/dist/TourGuideTooltip.es.js +2 -1
- package/dist/TourGuideTooltip.es.js.map +1 -1
- package/dist/UpdatedInteractionRecording.cjs.js +1 -1
- package/dist/UpdatedInteractionRecording.cjs.js.map +1 -1
- package/dist/UpdatedInteractionRecording.es.js +79 -97
- package/dist/UpdatedInteractionRecording.es.js.map +1 -1
- package/dist/UploadInteraction.cjs.js.map +1 -1
- package/dist/UploadInteraction.es.js.map +1 -1
- package/dist/colors.cjs.js +2 -0
- package/dist/colors.cjs.js.map +1 -0
- package/dist/colors.es.js +2 -0
- package/dist/colors.es.js.map +1 -0
- package/dist/components/UpdatedInteractionDetails.cjs.js +10 -1
- package/dist/components/UpdatedInteractionDetails.cjs.js.map +1 -1
- package/dist/components/UpdatedInteractionDetails.es.js +1531 -9
- package/dist/components/UpdatedInteractionDetails.es.js.map +1 -1
- package/dist/components/chat.cjs.js +30 -1
- package/dist/components/chat.cjs.js.map +1 -1
- package/dist/components/chat.es.js +2222 -7
- package/dist/components/chat.es.js.map +1 -1
- package/dist/components/common.cjs.js +1 -1
- package/dist/components/common.es.js +32 -25
- package/dist/components/common.es.js.map +1 -1
- package/dist/components/data.cjs.js +1 -1
- package/dist/components/data.cjs.js.map +1 -1
- package/dist/components/data.es.js +1033 -4
- package/dist/components/data.es.js.map +1 -1
- package/dist/components/layout.cjs.js +3 -1
- package/dist/components/layout.cjs.js.map +1 -1
- package/dist/components/layout.es.js +1533 -8
- package/dist/components/layout.es.js.map +1 -1
- package/dist/components/login.cjs.js +1 -1
- package/dist/components/login.es.js +6 -2
- package/dist/components/login.es.js.map +1 -1
- package/dist/components/media.cjs.js +1 -1
- package/dist/components/media.cjs.js.map +1 -1
- package/dist/components/media.es.js +220 -6
- package/dist/components/media.es.js.map +1 -1
- package/dist/components/models.cjs.js +1 -1
- package/dist/components/models.cjs.js.map +1 -1
- package/dist/components/models.es.js +91 -2
- package/dist/components/models.es.js.map +1 -1
- package/dist/components/navigation.cjs.js +1 -1
- package/dist/components/navigation.cjs.js.map +1 -1
- package/dist/components/navigation.es.js +766 -7
- package/dist/components/navigation.es.js.map +1 -1
- package/dist/components/notifications.cjs.js +1 -1
- package/dist/components/notifications.cjs.js.map +1 -1
- package/dist/components/notifications.es.js +368 -3
- package/dist/components/notifications.es.js.map +1 -1
- package/dist/components/onboarding.cjs.js +1 -1
- package/dist/components/onboarding.cjs.js.map +1 -1
- package/dist/components/onboarding.es.js +985 -7
- package/dist/components/onboarding.es.js.map +1 -1
- package/dist/components/primitives.cjs.js +1 -1
- package/dist/components/primitives.cjs.js.map +1 -1
- package/dist/components/primitives.es.js +635 -25
- package/dist/components/primitives.es.js.map +1 -1
- package/dist/debugger-wc.cjs.js +4 -4
- package/dist/debugger-wc.cjs.js.map +1 -1
- package/dist/debugger-wc.es.js +15 -11
- package/dist/debugger-wc.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs2.js +2 -49
- package/dist/index.cjs2.js.map +1 -1
- package/dist/index.cjs3.js +50 -0
- package/dist/index.cjs3.js.map +1 -0
- package/dist/index.es.js +104 -99
- package/dist/index.es.js.map +1 -1
- package/dist/index.es2.js +2632 -1776
- package/dist/index.es2.js.map +1 -1
- package/dist/index.es3.js +1944 -0
- package/dist/index.es3.js.map +1 -0
- package/dist/pages/interactionDetails.cjs.js +1 -1
- package/dist/pages/interactionDetails.cjs.js.map +1 -1
- package/dist/pages/interactionDetails.es.js +70 -47
- package/dist/pages/interactionDetails.es.js.map +1 -1
- package/dist/sortable.esm.cjs.js +1 -1
- package/dist/sortable.esm.cjs.js.map +1 -1
- package/dist/sortable.esm.es.js +55 -53
- package/dist/sortable.esm.es.js.map +1 -1
- package/dist/{chordia-ui.css → style.css} +1 -1
- package/package.json +1 -1
- package/src/components/UpdatedInteractionDetails/UpdatedInteractionDetails.jsx +318 -77
- package/src/components/UpdatedInteractionDetails/UpdatedInteractionRecording.jsx +7 -17
- package/dist/ChartRenderer.cjs.js +0 -31
- package/dist/ChartRenderer.cjs.js.map +0 -1
- package/dist/ChartRenderer.es.js +0 -2210
- package/dist/ChartRenderer.es.js.map +0 -1
- package/dist/GettingStarted.cjs.js +0 -2
- package/dist/GettingStarted.cjs.js.map +0 -1
- package/dist/GettingStarted.es.js +0 -983
- package/dist/GettingStarted.es.js.map +0 -1
- package/dist/InlineConfirm.cjs.js +0 -2
- package/dist/InlineConfirm.cjs.js.map +0 -1
- package/dist/InlineConfirm.es.js +0 -618
- package/dist/InlineConfirm.es.js.map +0 -1
- package/dist/InteractionSummaryCard.cjs.js +0 -2
- package/dist/InteractionSummaryCard.cjs.js.map +0 -1
- package/dist/InteractionSummaryCard.es.js +0 -216
- package/dist/InteractionSummaryCard.es.js.map +0 -1
- package/dist/LoginPage.cjs.js +0 -3
- package/dist/LoginPage.cjs.js.map +0 -1
- package/dist/LoginPage.es.js +0 -2618
- package/dist/LoginPage.es.js.map +0 -1
- package/dist/NavigationBar.cjs.js +0 -2
- package/dist/NavigationBar.cjs.js.map +0 -1
- package/dist/NavigationBar.es.js +0 -762
- package/dist/NavigationBar.es.js.map +0 -1
- package/dist/NotificationPanel.cjs.js +0 -2
- package/dist/NotificationPanel.cjs.js.map +0 -1
- package/dist/NotificationPanel.es.js +0 -371
- package/dist/NotificationPanel.es.js.map +0 -1
- package/dist/OverlayPanel.cjs.js +0 -2
- package/dist/OverlayPanel.cjs.js.map +0 -1
- package/dist/OverlayPanel.es.js +0 -93
- package/dist/OverlayPanel.es.js.map +0 -1
- package/dist/SplitPane.cjs.js +0 -4
- package/dist/SplitPane.cjs.js.map +0 -1
- package/dist/SplitPane.es.js +0 -1531
- package/dist/SplitPane.es.js.map +0 -1
- package/dist/SummaryStatsPanel.cjs.js +0 -2
- package/dist/SummaryStatsPanel.cjs.js.map +0 -1
- package/dist/SummaryStatsPanel.es.js +0 -1027
- package/dist/SummaryStatsPanel.es.js.map +0 -1
- package/dist/UpdatedInteractionDetails.cjs.js +0 -11
- package/dist/UpdatedInteractionDetails.cjs.js.map +0 -1
- package/dist/UpdatedInteractionDetails.es.js +0 -1310
- package/dist/UpdatedInteractionDetails.es.js.map +0 -1
|
@@ -1,1310 +0,0 @@
|
|
|
1
|
-
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import te, { useState as R, useRef as ne } from "react";
|
|
3
|
-
import { ShieldCheck as ie, TrendingUp as oe, Lightbulb as le, ThumbsUp as V, ExternalLink as re, FileSignal as Z, ChevronUp as se, ChevronDown as ae, ScrollText as de, PlayCircle as ce, Info as ge, ArrowLeft as fe, ClipboardList as pe, CalendarDays as he, PhoneIncoming as ye } from "lucide-react";
|
|
4
|
-
import { U as $ } from "./UpdatedInteractionRecording.es.js";
|
|
5
|
-
const g = {
|
|
6
|
-
strong: "var(--Grey-Strong, #2E3236)",
|
|
7
|
-
muted: "var(--Grey-Muted, #808183)",
|
|
8
|
-
absent: "var(--Grey-absent, #D9D9D9)",
|
|
9
|
-
accent: "var(--rail-orange, #C98A5A)",
|
|
10
|
-
itemText: "var(--text-item, #3F3F3F)",
|
|
11
|
-
quoteLine: "var(--border-warm, #B2AEA8)",
|
|
12
|
-
quoteText: "var(--text-subtle-warm, #767473)",
|
|
13
|
-
iconBg: "var(--surface-hover, #F3F7F7)"
|
|
14
|
-
}, ue = {
|
|
15
|
-
effective: "Effective",
|
|
16
|
-
strong: "Strong",
|
|
17
|
-
needs_improvement: "Needs Improvement",
|
|
18
|
-
mixed: "Mixed"
|
|
19
|
-
}, j = "updated-coaching-synthesis-keyframes";
|
|
20
|
-
function me() {
|
|
21
|
-
if (typeof document > "u" || document.getElementById(j)) return;
|
|
22
|
-
const t = document.createElement("style");
|
|
23
|
-
t.id = j, t.textContent = `
|
|
24
|
-
@keyframes updated-coaching-shimmer {
|
|
25
|
-
0% { background-position: -200% 0; }
|
|
26
|
-
100% { background-position: 200% 0; }
|
|
27
|
-
}
|
|
28
|
-
@keyframes updated-coaching-pulse {
|
|
29
|
-
0%, 100% { opacity: 0.4; }
|
|
30
|
-
50% { opacity: 1; }
|
|
31
|
-
}
|
|
32
|
-
`, document.head.appendChild(t);
|
|
33
|
-
}
|
|
34
|
-
function ve({ overall: t }) {
|
|
35
|
-
const i = ue[t] || (t ? t.replace(/_/g, " ") : "");
|
|
36
|
-
return /* @__PURE__ */ n("div", { style: {
|
|
37
|
-
display: "flex",
|
|
38
|
-
alignItems: "center",
|
|
39
|
-
gap: 8,
|
|
40
|
-
flexShrink: 0
|
|
41
|
-
}, children: [
|
|
42
|
-
/* @__PURE__ */ e("span", { style: {
|
|
43
|
-
fontSize: 13,
|
|
44
|
-
fontWeight: 400,
|
|
45
|
-
color: g.strong,
|
|
46
|
-
fontFamily: "var(--font-sans)",
|
|
47
|
-
lineHeight: 1.2
|
|
48
|
-
}, children: "Overall:" }),
|
|
49
|
-
/* @__PURE__ */ n("div", { style: {
|
|
50
|
-
display: "flex",
|
|
51
|
-
alignItems: "center",
|
|
52
|
-
gap: 6
|
|
53
|
-
}, children: [
|
|
54
|
-
/* @__PURE__ */ e(V, { size: 14, color: g.strong, strokeWidth: 1.5 }),
|
|
55
|
-
/* @__PURE__ */ e("span", { style: {
|
|
56
|
-
fontSize: 13,
|
|
57
|
-
fontWeight: 600,
|
|
58
|
-
color: g.strong,
|
|
59
|
-
fontFamily: "var(--font-sans)",
|
|
60
|
-
lineHeight: 1.2
|
|
61
|
-
}, children: i })
|
|
62
|
-
] })
|
|
63
|
-
] });
|
|
64
|
-
}
|
|
65
|
-
function xe({ item: t }) {
|
|
66
|
-
const i = typeof t == "string" ? t : (t == null ? void 0 : t.text) || "", l = typeof t == "object" ? t == null ? void 0 : t.quote : null;
|
|
67
|
-
return /* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 14 }, children: [
|
|
68
|
-
/* @__PURE__ */ e("div", { style: {
|
|
69
|
-
fontSize: 14,
|
|
70
|
-
fontWeight: 600,
|
|
71
|
-
color: g.itemText,
|
|
72
|
-
fontFamily: "var(--font-sans)",
|
|
73
|
-
lineHeight: 1.5
|
|
74
|
-
}, children: i }),
|
|
75
|
-
l && /* @__PURE__ */ n("div", { style: {
|
|
76
|
-
display: "flex",
|
|
77
|
-
gap: 10
|
|
78
|
-
}, children: [
|
|
79
|
-
/* @__PURE__ */ e("div", { style: {
|
|
80
|
-
width: 1,
|
|
81
|
-
flexShrink: 0,
|
|
82
|
-
alignSelf: "stretch",
|
|
83
|
-
background: g.quoteLine
|
|
84
|
-
} }),
|
|
85
|
-
/* @__PURE__ */ n("div", { style: {
|
|
86
|
-
fontSize: 14,
|
|
87
|
-
fontWeight: 400,
|
|
88
|
-
color: g.quoteText,
|
|
89
|
-
fontFamily: "var(--font-sans)",
|
|
90
|
-
lineHeight: 1.5
|
|
91
|
-
}, children: [
|
|
92
|
-
"“",
|
|
93
|
-
l,
|
|
94
|
-
"”"
|
|
95
|
-
] })
|
|
96
|
-
] })
|
|
97
|
-
] });
|
|
98
|
-
}
|
|
99
|
-
function P({ icon: t, label: i, items: l }) {
|
|
100
|
-
return !l || l.length === 0 ? null : /* @__PURE__ */ n("div", { style: {
|
|
101
|
-
flex: 1,
|
|
102
|
-
display: "flex",
|
|
103
|
-
flexDirection: "column",
|
|
104
|
-
gap: 16,
|
|
105
|
-
borderRadius: 12
|
|
106
|
-
}, children: [
|
|
107
|
-
/* @__PURE__ */ n("div", { style: {
|
|
108
|
-
display: "flex",
|
|
109
|
-
alignItems: "center",
|
|
110
|
-
gap: 16
|
|
111
|
-
}, children: [
|
|
112
|
-
/* @__PURE__ */ e("div", { style: {
|
|
113
|
-
display: "flex",
|
|
114
|
-
alignItems: "center",
|
|
115
|
-
justifyContent: "center",
|
|
116
|
-
width: 24,
|
|
117
|
-
height: 24,
|
|
118
|
-
borderRadius: 9999,
|
|
119
|
-
background: g.iconBg,
|
|
120
|
-
flexShrink: 0
|
|
121
|
-
}, children: t }),
|
|
122
|
-
/* @__PURE__ */ e("span", { style: {
|
|
123
|
-
fontSize: 16,
|
|
124
|
-
fontWeight: 600,
|
|
125
|
-
color: g.strong,
|
|
126
|
-
fontFamily: "var(--font-sans)",
|
|
127
|
-
lineHeight: "normal"
|
|
128
|
-
}, children: i })
|
|
129
|
-
] }),
|
|
130
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: l.map((a, f) => /* @__PURE__ */ e(xe, { item: a }, f)) })
|
|
131
|
-
] });
|
|
132
|
-
}
|
|
133
|
-
const O = ({ data: t, loading: i, error: l }) => {
|
|
134
|
-
var h, y;
|
|
135
|
-
if (te.useEffect(() => {
|
|
136
|
-
me();
|
|
137
|
-
}, []), i)
|
|
138
|
-
return /* @__PURE__ */ n("div", { style: {
|
|
139
|
-
display: "flex",
|
|
140
|
-
flexDirection: "column",
|
|
141
|
-
gap: 12
|
|
142
|
-
}, children: [
|
|
143
|
-
/* @__PURE__ */ n("div", { style: {
|
|
144
|
-
display: "flex",
|
|
145
|
-
alignItems: "center",
|
|
146
|
-
gap: 8
|
|
147
|
-
}, children: [
|
|
148
|
-
/* @__PURE__ */ e("div", { style: {
|
|
149
|
-
width: 6,
|
|
150
|
-
height: 6,
|
|
151
|
-
borderRadius: "50%",
|
|
152
|
-
background: g.accent,
|
|
153
|
-
animation: "updated-coaching-pulse 1.5s ease-in-out infinite"
|
|
154
|
-
} }),
|
|
155
|
-
/* @__PURE__ */ e("span", { style: {
|
|
156
|
-
fontSize: 14,
|
|
157
|
-
color: g.muted,
|
|
158
|
-
fontWeight: 500
|
|
159
|
-
}, children: "Synthesizing coaching summary..." })
|
|
160
|
-
] }),
|
|
161
|
-
[180, 260, 220].map((u, b) => /* @__PURE__ */ e(
|
|
162
|
-
"div",
|
|
163
|
-
{
|
|
164
|
-
style: {
|
|
165
|
-
height: 10,
|
|
166
|
-
width: u,
|
|
167
|
-
maxWidth: "100%",
|
|
168
|
-
borderRadius: 4,
|
|
169
|
-
background: `linear-gradient(90deg, ${g.absent} 25%, var(--shimmer-mid, #ECECEC) 50%, ${g.absent} 75%)`,
|
|
170
|
-
backgroundSize: "200% 100%",
|
|
171
|
-
animation: "updated-coaching-shimmer 1.8s ease-in-out infinite",
|
|
172
|
-
animationDelay: `${b * 0.2}s`
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
b
|
|
176
|
-
))
|
|
177
|
-
] });
|
|
178
|
-
if (l)
|
|
179
|
-
return /* @__PURE__ */ e("div", { style: {
|
|
180
|
-
fontSize: 14,
|
|
181
|
-
color: g.muted
|
|
182
|
-
}, children: "Unable to generate coaching summary." });
|
|
183
|
-
if (!t) return null;
|
|
184
|
-
const a = t.strengths || [], f = t.improvements || [], d = typeof t.one_liner == "string" ? t.one_liner : ((h = t.one_liner) == null ? void 0 : h.text) || "", x = typeof t.context == "string" ? t.context : ((y = t.context) == null ? void 0 : y.text) || "";
|
|
185
|
-
return /* @__PURE__ */ n("div", { style: {
|
|
186
|
-
display: "flex",
|
|
187
|
-
flexDirection: "column",
|
|
188
|
-
gap: 16,
|
|
189
|
-
background: "#FFF"
|
|
190
|
-
}, children: [
|
|
191
|
-
/* @__PURE__ */ n("div", { style: {
|
|
192
|
-
display: "flex",
|
|
193
|
-
alignItems: "center",
|
|
194
|
-
gap: 8
|
|
195
|
-
}, children: [
|
|
196
|
-
/* @__PURE__ */ e(ie, { size: 20, color: g.accent, strokeWidth: 2 }),
|
|
197
|
-
/* @__PURE__ */ e("span", { style: {
|
|
198
|
-
fontSize: 16,
|
|
199
|
-
fontWeight: 600,
|
|
200
|
-
color: g.strong,
|
|
201
|
-
fontFamily: "var(--font-sans)",
|
|
202
|
-
lineHeight: 1.2,
|
|
203
|
-
textTransform: "uppercase"
|
|
204
|
-
}, children: "Coaching Summary" })
|
|
205
|
-
] }),
|
|
206
|
-
d && /* @__PURE__ */ e("div", { style: {
|
|
207
|
-
fontSize: 14,
|
|
208
|
-
fontWeight: 500,
|
|
209
|
-
color: g.strong,
|
|
210
|
-
fontFamily: "var(--font-sans)",
|
|
211
|
-
lineHeight: 1.5
|
|
212
|
-
}, children: d }),
|
|
213
|
-
/* @__PURE__ */ n("div", { style: {
|
|
214
|
-
display: "flex",
|
|
215
|
-
alignItems: "flex-start",
|
|
216
|
-
gap: 16,
|
|
217
|
-
justifyContent: "space-between"
|
|
218
|
-
}, children: [
|
|
219
|
-
x && /* @__PURE__ */ e("div", { style: {
|
|
220
|
-
fontSize: 14,
|
|
221
|
-
fontWeight: 400,
|
|
222
|
-
color: g.muted,
|
|
223
|
-
fontFamily: "var(--font-sans)",
|
|
224
|
-
lineHeight: 1.5,
|
|
225
|
-
flex: 1
|
|
226
|
-
}, children: x }),
|
|
227
|
-
t.overall && /* @__PURE__ */ e(ve, { overall: t.overall })
|
|
228
|
-
] }),
|
|
229
|
-
(a.length > 0 || f.length > 0) && /* @__PURE__ */ n("div", { style: {
|
|
230
|
-
display: "flex",
|
|
231
|
-
gap: 24,
|
|
232
|
-
paddingTop: 24,
|
|
233
|
-
borderTop: `1px solid ${g.absent}`
|
|
234
|
-
}, children: [
|
|
235
|
-
/* @__PURE__ */ e(
|
|
236
|
-
P,
|
|
237
|
-
{
|
|
238
|
-
icon: /* @__PURE__ */ e(oe, { size: 14, color: g.strong, strokeWidth: 1.5 }),
|
|
239
|
-
label: "Key Strengths",
|
|
240
|
-
items: a
|
|
241
|
-
}
|
|
242
|
-
),
|
|
243
|
-
/* @__PURE__ */ e(
|
|
244
|
-
P,
|
|
245
|
-
{
|
|
246
|
-
icon: /* @__PURE__ */ e(le, { size: 14, color: g.strong, strokeWidth: 1.5 }),
|
|
247
|
-
label: "Improvements",
|
|
248
|
-
items: f
|
|
249
|
-
}
|
|
250
|
-
)
|
|
251
|
-
] })
|
|
252
|
-
] });
|
|
253
|
-
};
|
|
254
|
-
function be(t) {
|
|
255
|
-
const i = Math.floor(t / 60), l = Math.round(t % 60);
|
|
256
|
-
return `${i}:${l.toString().padStart(2, "0")}`;
|
|
257
|
-
}
|
|
258
|
-
const Se = {
|
|
259
|
-
display: "flex",
|
|
260
|
-
justifyContent: "space-between",
|
|
261
|
-
padding: "8px 8px 12px 8px",
|
|
262
|
-
alignItems: "center",
|
|
263
|
-
gap: 24,
|
|
264
|
-
fontFamily: "var(--font-sans)",
|
|
265
|
-
fontSize: 13,
|
|
266
|
-
fontWeight: 400,
|
|
267
|
-
lineHeight: "normal",
|
|
268
|
-
borderBottom: "1px solid var(--Grey-absent, #D9D9D9)"
|
|
269
|
-
}, U = {
|
|
270
|
-
display: "flex",
|
|
271
|
-
flexDirection: "column",
|
|
272
|
-
flex: "1 0 0",
|
|
273
|
-
gap: 12,
|
|
274
|
-
minWidth: 0
|
|
275
|
-
}, ke = ({
|
|
276
|
-
meta: t = {},
|
|
277
|
-
callPurpose: i = {},
|
|
278
|
-
classification: l = {},
|
|
279
|
-
dimensions: a = [],
|
|
280
|
-
outcomeQuality: f = "Neutral",
|
|
281
|
-
onMoreDetails: d
|
|
282
|
-
}) => {
|
|
283
|
-
const x = t.duration_seconds != null ? be(t.duration_seconds) : null, h = t.message_count, y = i.interaction_driver, u = l.interaction_paradigm, b = [
|
|
284
|
-
x != null && { label: "Duration", value: x },
|
|
285
|
-
y != null && { label: "Driver", value: y },
|
|
286
|
-
...a.filter((o, c) => c % 2 === 0).map((o) => ({ label: o.label || o.key, value: o.value })),
|
|
287
|
-
{ label: "Outcome Quality", value: f }
|
|
288
|
-
].filter(Boolean), w = [
|
|
289
|
-
h != null && { label: "Messages", value: h },
|
|
290
|
-
u != null && { label: "Paradigm", value: u },
|
|
291
|
-
...a.filter((o, c) => c % 2 === 1).map((o) => ({ label: o.label || o.key, value: o.value })),
|
|
292
|
-
{ label: "More Details", isLink: !0 }
|
|
293
|
-
].filter(Boolean), s = (o) => o.isLink ? /* @__PURE__ */ n(
|
|
294
|
-
"div",
|
|
295
|
-
{
|
|
296
|
-
onClick: d,
|
|
297
|
-
style: {
|
|
298
|
-
display: "flex",
|
|
299
|
-
alignItems: "center",
|
|
300
|
-
gap: 6,
|
|
301
|
-
padding: "8px 0 8px 0",
|
|
302
|
-
cursor: "pointer",
|
|
303
|
-
fontFamily: "var(--font-sans)"
|
|
304
|
-
},
|
|
305
|
-
children: [
|
|
306
|
-
/* @__PURE__ */ e(re, { size: 16, color: "#808183", strokeWidth: 1.5 }),
|
|
307
|
-
/* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", fontSize: 13, fontWeight: 400 }, children: o.label })
|
|
308
|
-
]
|
|
309
|
-
},
|
|
310
|
-
o.label
|
|
311
|
-
) : /* @__PURE__ */ n(
|
|
312
|
-
"div",
|
|
313
|
-
{
|
|
314
|
-
style: Se,
|
|
315
|
-
children: [
|
|
316
|
-
/* @__PURE__ */ e("span", { style: { color: "var(--Grey-Strong, #2E3236)", whiteSpace: "nowrap", flexShrink: 0 }, children: o.label }),
|
|
317
|
-
/* @__PURE__ */ e("span", { style: { color: "var(--Grey-Muted, #808183)", textAlign: "right" }, children: o.value })
|
|
318
|
-
]
|
|
319
|
-
},
|
|
320
|
-
o.label
|
|
321
|
-
);
|
|
322
|
-
return /* @__PURE__ */ n(
|
|
323
|
-
"div",
|
|
324
|
-
{
|
|
325
|
-
style: {
|
|
326
|
-
display: "flex",
|
|
327
|
-
alignItems: "flex-start",
|
|
328
|
-
gap: 24,
|
|
329
|
-
alignSelf: "stretch"
|
|
330
|
-
},
|
|
331
|
-
children: [
|
|
332
|
-
/* @__PURE__ */ e("div", { style: U, children: b.map((o) => s(o)) }),
|
|
333
|
-
/* @__PURE__ */ e("div", { style: U, children: w.map((o) => s(o)) })
|
|
334
|
-
]
|
|
335
|
-
}
|
|
336
|
-
);
|
|
337
|
-
}, r = {
|
|
338
|
-
strong: "var(--Grey-Strong, #2E3236)",
|
|
339
|
-
muted: "var(--Grey-Muted, #808183)",
|
|
340
|
-
absent: "var(--Grey-absent, #D9D9D9)",
|
|
341
|
-
white: "var(--Grey-White, #FFF)",
|
|
342
|
-
cardBg: "var(--surface-warm-40, rgba(243, 241, 229, 0.40))"
|
|
343
|
-
}, v = 1.2, q = 3, N = (t) => t != null ? Math.round(t * 100) + "%" : "—", Y = (t) => {
|
|
344
|
-
if (t == null) return "—";
|
|
345
|
-
const i = (t * 100).toFixed(1);
|
|
346
|
-
return t > 0 ? `+${i}pp` : `${i}pp`;
|
|
347
|
-
}, we = ({ outcomeLift: t, driverLabels: i = [] }) => {
|
|
348
|
-
var b;
|
|
349
|
-
if (!t || t.lift == null) return null;
|
|
350
|
-
const l = t.p_expected, a = t.p_full, f = t.lift_raw ?? (a != null && l != null ? a - l : null), d = t.lift, x = (b = t.interpretation) != null && b.lift_band ? t.interpretation.lift_band.replace(/_/g, " ") : d >= 0 ? "Positive" : "Negative", h = x.charAt(0).toUpperCase() + x.slice(1), y = i.slice(0, q), u = i.length - q;
|
|
351
|
-
return /* @__PURE__ */ n(
|
|
352
|
-
"div",
|
|
353
|
-
{
|
|
354
|
-
style: {
|
|
355
|
-
display: "flex",
|
|
356
|
-
flexDirection: "column",
|
|
357
|
-
padding: 24,
|
|
358
|
-
gap: 24,
|
|
359
|
-
borderRadius: 8,
|
|
360
|
-
border: `1px solid ${r.absent}`,
|
|
361
|
-
background: r.cardBg,
|
|
362
|
-
alignSelf: "stretch"
|
|
363
|
-
},
|
|
364
|
-
children: [
|
|
365
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 32 }, children: [
|
|
366
|
-
/* @__PURE__ */ n(
|
|
367
|
-
"div",
|
|
368
|
-
{
|
|
369
|
-
style: {
|
|
370
|
-
display: "flex",
|
|
371
|
-
alignItems: "center",
|
|
372
|
-
justifyContent: "space-between",
|
|
373
|
-
gap: 24,
|
|
374
|
-
alignSelf: "stretch"
|
|
375
|
-
},
|
|
376
|
-
children: [
|
|
377
|
-
/* @__PURE__ */ e(
|
|
378
|
-
"span",
|
|
379
|
-
{
|
|
380
|
-
style: {
|
|
381
|
-
fontSize: 15,
|
|
382
|
-
fontWeight: 600,
|
|
383
|
-
color: r.strong,
|
|
384
|
-
fontFamily: "var(--font-sans)",
|
|
385
|
-
lineHeight: v
|
|
386
|
-
},
|
|
387
|
-
children: "Agent Lift Analysis"
|
|
388
|
-
}
|
|
389
|
-
),
|
|
390
|
-
/* @__PURE__ */ n(
|
|
391
|
-
"div",
|
|
392
|
-
{
|
|
393
|
-
style: {
|
|
394
|
-
display: "flex",
|
|
395
|
-
alignItems: "center",
|
|
396
|
-
gap: 8,
|
|
397
|
-
fontFamily: "var(--font-sans)"
|
|
398
|
-
},
|
|
399
|
-
children: [
|
|
400
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: r.strong, lineHeight: v }, children: "vs. Average Agent:" }),
|
|
401
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 14, fontWeight: 600, color: r.strong, lineHeight: v }, children: Y(d) }),
|
|
402
|
-
/* @__PURE__ */ n(
|
|
403
|
-
"div",
|
|
404
|
-
{
|
|
405
|
-
style: {
|
|
406
|
-
display: "flex",
|
|
407
|
-
alignItems: "center",
|
|
408
|
-
gap: 6,
|
|
409
|
-
paddingLeft: 8,
|
|
410
|
-
borderLeft: `1px solid ${r.absent}`
|
|
411
|
-
},
|
|
412
|
-
children: [
|
|
413
|
-
/* @__PURE__ */ e(V, { size: 14, color: r.strong }),
|
|
414
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: r.strong, lineHeight: v }, children: h })
|
|
415
|
-
]
|
|
416
|
-
}
|
|
417
|
-
)
|
|
418
|
-
]
|
|
419
|
-
}
|
|
420
|
-
)
|
|
421
|
-
]
|
|
422
|
-
}
|
|
423
|
-
),
|
|
424
|
-
/* @__PURE__ */ n(
|
|
425
|
-
"div",
|
|
426
|
-
{
|
|
427
|
-
style: {
|
|
428
|
-
display: "flex",
|
|
429
|
-
alignItems: "flex-end",
|
|
430
|
-
gap: 24
|
|
431
|
-
},
|
|
432
|
-
children: [
|
|
433
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 16, alignItems: "center" }, children: [
|
|
434
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: r.muted, fontFamily: "var(--font-sans)", lineHeight: v }, children: N(l) }),
|
|
435
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
436
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: r.strong, fontFamily: "var(--font-sans)", lineHeight: v }, children: "Expected Outcome" }),
|
|
437
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: r.muted, fontFamily: "var(--font-sans)", lineHeight: v }, children: "Based on call type & difficulty" })
|
|
438
|
-
] })
|
|
439
|
-
] }),
|
|
440
|
-
/* @__PURE__ */ n("div", { style: {
|
|
441
|
-
display: "flex",
|
|
442
|
-
flexDirection: "column",
|
|
443
|
-
gap: 16,
|
|
444
|
-
alignItems: "center",
|
|
445
|
-
paddingLeft: 24,
|
|
446
|
-
borderLeft: `1px solid ${r.absent}`
|
|
447
|
-
}, children: [
|
|
448
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: r.muted, fontFamily: "var(--font-sans)", lineHeight: v }, children: Y(f) }),
|
|
449
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
450
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: r.strong, fontFamily: "var(--font-sans)", lineHeight: v }, children: "Agent Impact" }),
|
|
451
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: r.muted, fontFamily: "var(--font-sans)", lineHeight: v }, children: "Behavior-driven change" })
|
|
452
|
-
] })
|
|
453
|
-
] }),
|
|
454
|
-
/* @__PURE__ */ n("div", { style: {
|
|
455
|
-
display: "flex",
|
|
456
|
-
flexDirection: "column",
|
|
457
|
-
gap: 16,
|
|
458
|
-
alignItems: "center",
|
|
459
|
-
paddingLeft: 24,
|
|
460
|
-
borderLeft: `1px solid ${r.absent}`
|
|
461
|
-
}, children: [
|
|
462
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 28, fontWeight: 400, color: r.strong, fontFamily: "var(--font-sans)", lineHeight: v }, children: N(a) }),
|
|
463
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
464
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 600, color: r.strong, fontFamily: "var(--font-sans)", lineHeight: v }, children: "Predicted Outcome" }),
|
|
465
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 13, fontWeight: 400, color: r.muted, fontFamily: "var(--font-sans)", lineHeight: v }, children: "With agent behaviors" })
|
|
466
|
-
] })
|
|
467
|
-
] })
|
|
468
|
-
]
|
|
469
|
-
}
|
|
470
|
-
)
|
|
471
|
-
] }),
|
|
472
|
-
i.length > 0 && /* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", gap: 4, alignSelf: "stretch" }, children: [
|
|
473
|
-
/* @__PURE__ */ e(
|
|
474
|
-
"span",
|
|
475
|
-
{
|
|
476
|
-
style: {
|
|
477
|
-
fontSize: 12,
|
|
478
|
-
fontWeight: 600,
|
|
479
|
-
color: r.strong,
|
|
480
|
-
fontFamily: "var(--font-sans)",
|
|
481
|
-
lineHeight: v
|
|
482
|
-
},
|
|
483
|
-
children: "Key Drivers"
|
|
484
|
-
}
|
|
485
|
-
),
|
|
486
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", flexWrap: "wrap", gap: 4 }, children: [
|
|
487
|
-
y.map((w, s) => /* @__PURE__ */ e(
|
|
488
|
-
"div",
|
|
489
|
-
{
|
|
490
|
-
style: {
|
|
491
|
-
display: "flex",
|
|
492
|
-
padding: 8,
|
|
493
|
-
alignItems: "center",
|
|
494
|
-
justifyContent: "center",
|
|
495
|
-
borderRadius: 4,
|
|
496
|
-
border: `1px solid ${r.absent}`,
|
|
497
|
-
background: r.white
|
|
498
|
-
},
|
|
499
|
-
children: /* @__PURE__ */ e(
|
|
500
|
-
"span",
|
|
501
|
-
{
|
|
502
|
-
style: {
|
|
503
|
-
fontSize: 12,
|
|
504
|
-
fontWeight: 400,
|
|
505
|
-
color: r.strong,
|
|
506
|
-
fontFamily: "var(--font-sans)",
|
|
507
|
-
lineHeight: v,
|
|
508
|
-
whiteSpace: "nowrap",
|
|
509
|
-
overflow: "hidden",
|
|
510
|
-
textOverflow: "ellipsis",
|
|
511
|
-
maxWidth: 200
|
|
512
|
-
},
|
|
513
|
-
children: w
|
|
514
|
-
}
|
|
515
|
-
)
|
|
516
|
-
},
|
|
517
|
-
s
|
|
518
|
-
)),
|
|
519
|
-
u > 0 && /* @__PURE__ */ e(
|
|
520
|
-
"div",
|
|
521
|
-
{
|
|
522
|
-
style: {
|
|
523
|
-
display: "flex",
|
|
524
|
-
padding: 8,
|
|
525
|
-
alignItems: "center",
|
|
526
|
-
justifyContent: "center",
|
|
527
|
-
borderRadius: 4,
|
|
528
|
-
border: `1px solid ${r.absent}`,
|
|
529
|
-
background: r.white
|
|
530
|
-
},
|
|
531
|
-
children: /* @__PURE__ */ n(
|
|
532
|
-
"span",
|
|
533
|
-
{
|
|
534
|
-
style: {
|
|
535
|
-
fontSize: 12,
|
|
536
|
-
fontWeight: 400,
|
|
537
|
-
color: r.strong,
|
|
538
|
-
fontFamily: "var(--font-sans)",
|
|
539
|
-
lineHeight: v,
|
|
540
|
-
whiteSpace: "nowrap"
|
|
541
|
-
},
|
|
542
|
-
children: [
|
|
543
|
-
"+ ",
|
|
544
|
-
u
|
|
545
|
-
]
|
|
546
|
-
}
|
|
547
|
-
)
|
|
548
|
-
}
|
|
549
|
-
)
|
|
550
|
-
] })
|
|
551
|
-
] })
|
|
552
|
-
]
|
|
553
|
-
}
|
|
554
|
-
);
|
|
555
|
-
}, K = ({ children: t, size: i = 28, onClick: l, title: a }) => {
|
|
556
|
-
const [f, d] = R(!1);
|
|
557
|
-
return /* @__PURE__ */ e(
|
|
558
|
-
"div",
|
|
559
|
-
{
|
|
560
|
-
title: a,
|
|
561
|
-
onClick: l,
|
|
562
|
-
onMouseEnter: () => d(!0),
|
|
563
|
-
onMouseLeave: () => d(!1),
|
|
564
|
-
style: {
|
|
565
|
-
display: "flex",
|
|
566
|
-
alignItems: "center",
|
|
567
|
-
justifyContent: "center",
|
|
568
|
-
width: i,
|
|
569
|
-
height: i,
|
|
570
|
-
borderRadius: 9999,
|
|
571
|
-
background: f ? "var(--surface-hover, #F3F7F7)" : "transparent",
|
|
572
|
-
cursor: "pointer",
|
|
573
|
-
flexShrink: 0,
|
|
574
|
-
transition: "background 0.15s"
|
|
575
|
-
},
|
|
576
|
-
children: t
|
|
577
|
-
}
|
|
578
|
-
);
|
|
579
|
-
}, Q = ({
|
|
580
|
-
signals: t = { signals: [], present_count: 0, total_signals_evaluated: 0 },
|
|
581
|
-
expandedSignals: i = /* @__PURE__ */ new Set(),
|
|
582
|
-
toggleSignal: l = () => {
|
|
583
|
-
},
|
|
584
|
-
playEvidence: a = () => {
|
|
585
|
-
},
|
|
586
|
-
highlightTurns: f = () => {
|
|
587
|
-
},
|
|
588
|
-
onShowInTranscript: d = () => {
|
|
589
|
-
},
|
|
590
|
-
timelinePlaying: x = !1,
|
|
591
|
-
currentTimeSeconds: h = 0
|
|
592
|
-
}) => {
|
|
593
|
-
const y = (t == null ? void 0 : t.signals) ?? [], u = (t == null ? void 0 : t.present_count) ?? y.length, b = (s) => {
|
|
594
|
-
const o = Math.floor(s / 6e4), c = Math.floor(s % 6e4 / 1e3);
|
|
595
|
-
return `${o.toString().padStart(2, "0")}:${c.toString().padStart(2, "0")}`;
|
|
596
|
-
}, w = (s) => x && s.start_ms != null && h * 1e3 >= s.start_ms && h * 1e3 <= (s.end_ms ?? s.start_ms + 5e3);
|
|
597
|
-
return /* @__PURE__ */ n("div", { style: {
|
|
598
|
-
display: "flex",
|
|
599
|
-
flexDirection: "column",
|
|
600
|
-
alignItems: "flex-start",
|
|
601
|
-
alignSelf: "stretch",
|
|
602
|
-
width: "100%",
|
|
603
|
-
gap: 16
|
|
604
|
-
}, children: [
|
|
605
|
-
/* @__PURE__ */ n("div", { style: {
|
|
606
|
-
display: "flex",
|
|
607
|
-
alignItems: "center",
|
|
608
|
-
gap: 16,
|
|
609
|
-
width: "100%"
|
|
610
|
-
}, children: [
|
|
611
|
-
/* @__PURE__ */ e("div", { style: {
|
|
612
|
-
display: "flex",
|
|
613
|
-
alignItems: "center",
|
|
614
|
-
justifyContent: "center",
|
|
615
|
-
width: 34,
|
|
616
|
-
height: 34,
|
|
617
|
-
borderRadius: 9999,
|
|
618
|
-
background: "var(--surface-hover, #F3F7F7)",
|
|
619
|
-
flexShrink: 0
|
|
620
|
-
}, children: /* @__PURE__ */ e(Z, { size: 20, color: "#2E3236", strokeWidth: 1.5 }) }),
|
|
621
|
-
/* @__PURE__ */ n("div", { style: {
|
|
622
|
-
display: "flex",
|
|
623
|
-
alignItems: "center",
|
|
624
|
-
justifyContent: "space-between",
|
|
625
|
-
flex: 1
|
|
626
|
-
}, children: [
|
|
627
|
-
/* @__PURE__ */ e("span", { style: {
|
|
628
|
-
fontSize: 15,
|
|
629
|
-
fontWeight: 500,
|
|
630
|
-
color: "var(--Grey-Strong, #2E3236)"
|
|
631
|
-
}, children: "Signals" }),
|
|
632
|
-
/* @__PURE__ */ n("span", { style: {
|
|
633
|
-
fontSize: 14,
|
|
634
|
-
fontWeight: 500,
|
|
635
|
-
color: "var(--Grey-Strong, #2E3236)"
|
|
636
|
-
}, children: [
|
|
637
|
-
u,
|
|
638
|
-
" Signals Detected"
|
|
639
|
-
] })
|
|
640
|
-
] })
|
|
641
|
-
] }),
|
|
642
|
-
/* @__PURE__ */ n("div", { style: {
|
|
643
|
-
display: "flex",
|
|
644
|
-
flexDirection: "column",
|
|
645
|
-
alignSelf: "stretch",
|
|
646
|
-
background: "var(--Grey-White, #FFF)",
|
|
647
|
-
gap: 8
|
|
648
|
-
}, children: [
|
|
649
|
-
y.length === 0 && /* @__PURE__ */ e("div", { style: {
|
|
650
|
-
padding: "8px 0",
|
|
651
|
-
fontSize: 14,
|
|
652
|
-
color: "var(--Grey-Muted, #808183)"
|
|
653
|
-
}, children: "No signals detected." }),
|
|
654
|
-
y.map((s, o) => {
|
|
655
|
-
var _, W, z;
|
|
656
|
-
const c = s.key ?? s.id ?? o, p = i.has(c), k = ((_ = s.observations) == null ? void 0 : _.length) ?? 0;
|
|
657
|
-
return /* @__PURE__ */ n(
|
|
658
|
-
"div",
|
|
659
|
-
{
|
|
660
|
-
id: `signal-${c}`,
|
|
661
|
-
style: {
|
|
662
|
-
display: "flex",
|
|
663
|
-
flexDirection: "column",
|
|
664
|
-
width: "100%",
|
|
665
|
-
gap: 8
|
|
666
|
-
},
|
|
667
|
-
children: [
|
|
668
|
-
/* @__PURE__ */ n(
|
|
669
|
-
"button",
|
|
670
|
-
{
|
|
671
|
-
onClick: () => l(c),
|
|
672
|
-
style: {
|
|
673
|
-
display: "flex",
|
|
674
|
-
padding: "8px 0",
|
|
675
|
-
alignItems: "center",
|
|
676
|
-
gap: 12,
|
|
677
|
-
alignSelf: "stretch",
|
|
678
|
-
width: "100%",
|
|
679
|
-
background: "none",
|
|
680
|
-
border: "none",
|
|
681
|
-
borderBottom: "1px solid var(--Grey-absent, #D9D9D9)",
|
|
682
|
-
cursor: "pointer"
|
|
683
|
-
},
|
|
684
|
-
children: [
|
|
685
|
-
/* @__PURE__ */ n("span", { style: {
|
|
686
|
-
flex: 1,
|
|
687
|
-
textAlign: "left",
|
|
688
|
-
fontSize: 14,
|
|
689
|
-
fontWeight: 600,
|
|
690
|
-
color: "var(--text-dark, #0B0A0A)",
|
|
691
|
-
lineHeight: 1.71
|
|
692
|
-
}, children: [
|
|
693
|
-
s.display_name || ((W = s.key) == null ? void 0 : W.replace(/_/g, " ")),
|
|
694
|
-
k > 0 && /* @__PURE__ */ n("span", { style: {
|
|
695
|
-
fontWeight: 600,
|
|
696
|
-
color: "var(--text-dark, #0B0A0A)",
|
|
697
|
-
marginLeft: 6
|
|
698
|
-
}, children: [
|
|
699
|
-
"(",
|
|
700
|
-
k,
|
|
701
|
-
")"
|
|
702
|
-
] })
|
|
703
|
-
] }),
|
|
704
|
-
p ? /* @__PURE__ */ e(se, { size: 20, color: "#767473" }) : /* @__PURE__ */ e(ae, { size: 20, color: "#767473" })
|
|
705
|
-
]
|
|
706
|
-
}
|
|
707
|
-
),
|
|
708
|
-
p && ((z = s.observations) == null ? void 0 : z.length) > 0 && /* @__PURE__ */ e("div", { style: {
|
|
709
|
-
display: "flex",
|
|
710
|
-
flexDirection: "column",
|
|
711
|
-
alignSelf: "stretch",
|
|
712
|
-
gap: 0
|
|
713
|
-
}, children: s.observations.map((C, A) => {
|
|
714
|
-
var E, H, G;
|
|
715
|
-
return /* @__PURE__ */ n(
|
|
716
|
-
"div",
|
|
717
|
-
{
|
|
718
|
-
style: {
|
|
719
|
-
display: "flex",
|
|
720
|
-
flexDirection: "column",
|
|
721
|
-
alignSelf: "stretch",
|
|
722
|
-
gap: 8
|
|
723
|
-
},
|
|
724
|
-
children: [
|
|
725
|
-
/* @__PURE__ */ n("div", { style: {
|
|
726
|
-
display: "flex",
|
|
727
|
-
alignItems: "center",
|
|
728
|
-
gap: 12,
|
|
729
|
-
padding: "8px 0",
|
|
730
|
-
justifyContent: "space-between"
|
|
731
|
-
}, children: [
|
|
732
|
-
/* @__PURE__ */ e("span", { style: {
|
|
733
|
-
flex: 1,
|
|
734
|
-
fontSize: 14,
|
|
735
|
-
fontWeight: 400,
|
|
736
|
-
color: "var(--text-subtle-warm, #767473)",
|
|
737
|
-
lineHeight: 1.5
|
|
738
|
-
}, children: C.reason || C.explanation }),
|
|
739
|
-
((H = (E = C.evidence) == null ? void 0 : E[0]) == null ? void 0 : H.start_ms) != null && /* @__PURE__ */ n(
|
|
740
|
-
"div",
|
|
741
|
-
{
|
|
742
|
-
style: {
|
|
743
|
-
display: "flex",
|
|
744
|
-
alignItems: "center",
|
|
745
|
-
gap: 8,
|
|
746
|
-
flexShrink: 0
|
|
747
|
-
},
|
|
748
|
-
children: [
|
|
749
|
-
/* @__PURE__ */ e(
|
|
750
|
-
K,
|
|
751
|
-
{
|
|
752
|
-
size: 28,
|
|
753
|
-
title: "Show in transcript",
|
|
754
|
-
onClick: (I) => {
|
|
755
|
-
I.stopPropagation(), d(C.evidence[0].start_ms);
|
|
756
|
-
},
|
|
757
|
-
children: /* @__PURE__ */ e(de, { size: 16, color: "#808183", strokeWidth: 1.5 })
|
|
758
|
-
}
|
|
759
|
-
),
|
|
760
|
-
/* @__PURE__ */ e("span", { style: {
|
|
761
|
-
fontSize: 13,
|
|
762
|
-
fontWeight: 400,
|
|
763
|
-
color: "var(--Grey-Muted, #808183)",
|
|
764
|
-
lineHeight: 1.2,
|
|
765
|
-
whiteSpace: "nowrap"
|
|
766
|
-
}, children: b(C.evidence[0].start_ms) })
|
|
767
|
-
]
|
|
768
|
-
}
|
|
769
|
-
)
|
|
770
|
-
] }),
|
|
771
|
-
(G = C.evidence) == null ? void 0 : G.map((I, T) => I.text && /* @__PURE__ */ n(
|
|
772
|
-
"div",
|
|
773
|
-
{
|
|
774
|
-
onClick: (M) => {
|
|
775
|
-
M.stopPropagation(), a(I);
|
|
776
|
-
},
|
|
777
|
-
onMouseEnter: () => f(I.turn_ids ?? []),
|
|
778
|
-
onMouseLeave: () => f([]),
|
|
779
|
-
style: {
|
|
780
|
-
display: "flex",
|
|
781
|
-
alignItems: "center",
|
|
782
|
-
gap: 8,
|
|
783
|
-
padding: "8px 0",
|
|
784
|
-
cursor: "pointer"
|
|
785
|
-
},
|
|
786
|
-
children: [
|
|
787
|
-
/* @__PURE__ */ e(K, { size: 28, children: /* @__PURE__ */ e(
|
|
788
|
-
ce,
|
|
789
|
-
{
|
|
790
|
-
size: 17,
|
|
791
|
-
color: w(I) ? "var(--rail-orange, #C98A5A)" : "var(--Grey-Muted, #808183)",
|
|
792
|
-
strokeWidth: 1
|
|
793
|
-
}
|
|
794
|
-
) }),
|
|
795
|
-
/* @__PURE__ */ n("span", { style: {
|
|
796
|
-
fontSize: 13,
|
|
797
|
-
fontWeight: 400,
|
|
798
|
-
color: "var(--Grey-Strong, #2E3236)",
|
|
799
|
-
lineHeight: 1.2
|
|
800
|
-
}, children: [
|
|
801
|
-
"“",
|
|
802
|
-
I.text,
|
|
803
|
-
"”"
|
|
804
|
-
] })
|
|
805
|
-
]
|
|
806
|
-
},
|
|
807
|
-
T
|
|
808
|
-
))
|
|
809
|
-
]
|
|
810
|
-
},
|
|
811
|
-
C.key ?? A
|
|
812
|
-
);
|
|
813
|
-
}) })
|
|
814
|
-
]
|
|
815
|
-
},
|
|
816
|
-
c
|
|
817
|
-
);
|
|
818
|
-
})
|
|
819
|
-
] })
|
|
820
|
-
] });
|
|
821
|
-
}, S = {
|
|
822
|
-
strong: "var(--Grey-Strong, #2E3236)",
|
|
823
|
-
muted: "var(--Grey-Muted, #808183)",
|
|
824
|
-
absent: "var(--Grey-absent, #D9D9D9)",
|
|
825
|
-
white: "var(--Grey-White, #FFF)",
|
|
826
|
-
track: "var(--rail-surface-2, #E3E1D7)",
|
|
827
|
-
infoIcon: "var(--color-input-border, #ACACAD)"
|
|
828
|
-
}, Ce = ({ score: t = 4, maxScore: i = 10 }) => {
|
|
829
|
-
const u = Math.min(Math.round(t / i * 5), 5), b = 180 / 5, w = (c) => {
|
|
830
|
-
const p = c * Math.PI / 180;
|
|
831
|
-
return {
|
|
832
|
-
x: 121.5 + 85 * Math.cos(p),
|
|
833
|
-
y: 123 - 85 * Math.sin(p)
|
|
834
|
-
};
|
|
835
|
-
}, s = (c, p) => {
|
|
836
|
-
const k = w(c), _ = w(p), W = c - p > 180 ? 1 : 0;
|
|
837
|
-
return `M ${k.x} ${k.y} A 85 85 0 ${W} 1 ${_.x} ${_.y}`;
|
|
838
|
-
}, o = 2;
|
|
839
|
-
return /* @__PURE__ */ e("svg", { width: 243, height: 130, viewBox: "0 0 243 130", fill: "none", children: Array.from({ length: 5 }, (c, p) => {
|
|
840
|
-
const k = 180 - p * b - (p > 0 ? o / 2 : 0), _ = 180 - (p + 1) * b + (p < 4 ? o / 2 : 0), W = p < u;
|
|
841
|
-
return /* @__PURE__ */ e(
|
|
842
|
-
"path",
|
|
843
|
-
{
|
|
844
|
-
d: s(k, _),
|
|
845
|
-
stroke: W ? S.strong : S.track,
|
|
846
|
-
strokeWidth: 30,
|
|
847
|
-
strokeLinecap: "butt",
|
|
848
|
-
fill: "none"
|
|
849
|
-
},
|
|
850
|
-
p
|
|
851
|
-
);
|
|
852
|
-
}) });
|
|
853
|
-
}, _e = ({ value: t = 0, maxValue: i = 5 }) => /* @__PURE__ */ e("div", { style: { display: "flex", gap: 2 }, children: Array.from({ length: i }, (l, a) => /* @__PURE__ */ e(
|
|
854
|
-
"div",
|
|
855
|
-
{
|
|
856
|
-
style: {
|
|
857
|
-
width: 22,
|
|
858
|
-
height: 6,
|
|
859
|
-
borderRadius: 1,
|
|
860
|
-
background: a < t ? S.strong : S.track
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
a
|
|
864
|
-
)) }), Ie = ({ label: t, value: i = 0, maxValue: l = 5 }) => /* @__PURE__ */ n("div", { style: {
|
|
865
|
-
display: "flex",
|
|
866
|
-
flexDirection: "column",
|
|
867
|
-
gap: 8,
|
|
868
|
-
padding: 8,
|
|
869
|
-
alignItems: "center"
|
|
870
|
-
}, children: [
|
|
871
|
-
/* @__PURE__ */ n("div", { style: {
|
|
872
|
-
display: "flex",
|
|
873
|
-
alignItems: "center",
|
|
874
|
-
gap: 8
|
|
875
|
-
}, children: [
|
|
876
|
-
/* @__PURE__ */ e("span", { style: {
|
|
877
|
-
fontSize: 12,
|
|
878
|
-
fontWeight: 400,
|
|
879
|
-
color: S.strong,
|
|
880
|
-
fontFamily: "var(--font-sans)",
|
|
881
|
-
lineHeight: "normal"
|
|
882
|
-
}, children: t }),
|
|
883
|
-
/* @__PURE__ */ e(ge, { size: 14, color: S.infoIcon, strokeWidth: 1 })
|
|
884
|
-
] }),
|
|
885
|
-
/* @__PURE__ */ e(_e, { value: i, maxValue: l })
|
|
886
|
-
] }), Fe = ({
|
|
887
|
-
score: t = 83,
|
|
888
|
-
maxScore: i = 100,
|
|
889
|
-
predictedScore: l = 4,
|
|
890
|
-
predictedLabel: a = "Predicted Objective",
|
|
891
|
-
description: f = "",
|
|
892
|
-
legends: d = [
|
|
893
|
-
{ label: "CSAT", value: 3 },
|
|
894
|
-
{ label: "Resolution", value: 4 },
|
|
895
|
-
{ label: "Process Adherence", value: 5 },
|
|
896
|
-
{ label: "Communication", value: 3 }
|
|
897
|
-
]
|
|
898
|
-
}) => {
|
|
899
|
-
const x = String(l).padStart(2, "0");
|
|
900
|
-
return /* @__PURE__ */ n("div", { style: {
|
|
901
|
-
display: "flex",
|
|
902
|
-
flexDirection: "column",
|
|
903
|
-
padding: 24,
|
|
904
|
-
borderRadius: 8,
|
|
905
|
-
border: `1px solid ${S.absent}`,
|
|
906
|
-
background: S.white,
|
|
907
|
-
alignSelf: "stretch",
|
|
908
|
-
gap: 24
|
|
909
|
-
}, children: [
|
|
910
|
-
/* @__PURE__ */ n("div", { style: {
|
|
911
|
-
display: "flex",
|
|
912
|
-
flexDirection: "column",
|
|
913
|
-
gap: 8
|
|
914
|
-
}, children: [
|
|
915
|
-
/* @__PURE__ */ e("span", { style: {
|
|
916
|
-
fontSize: 15,
|
|
917
|
-
fontWeight: 600,
|
|
918
|
-
color: S.strong,
|
|
919
|
-
fontFamily: "var(--font-sans)",
|
|
920
|
-
lineHeight: 1.2
|
|
921
|
-
}, children: "Compass Score" }),
|
|
922
|
-
/* @__PURE__ */ e("span", { style: {
|
|
923
|
-
fontSize: 14,
|
|
924
|
-
fontWeight: 400,
|
|
925
|
-
color: S.muted,
|
|
926
|
-
fontFamily: "var(--font-sans)",
|
|
927
|
-
lineHeight: "normal"
|
|
928
|
-
}, children: f })
|
|
929
|
-
] }),
|
|
930
|
-
/* @__PURE__ */ n("div", { style: {
|
|
931
|
-
display: "flex",
|
|
932
|
-
alignItems: "center",
|
|
933
|
-
justifyContent: "center",
|
|
934
|
-
gap: 48,
|
|
935
|
-
flex: 1
|
|
936
|
-
}, children: [
|
|
937
|
-
/* @__PURE__ */ n("div", { style: {
|
|
938
|
-
display: "flex",
|
|
939
|
-
width: 243,
|
|
940
|
-
flexDirection: "column",
|
|
941
|
-
alignItems: "center",
|
|
942
|
-
flexShrink: 0
|
|
943
|
-
}, children: [
|
|
944
|
-
/* @__PURE__ */ e(Ce, { score: t, maxScore: i }),
|
|
945
|
-
/* @__PURE__ */ n("svg", { width: "34", height: "35", viewBox: "0 0 34 35", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { marginTop: -24 }, children: [
|
|
946
|
-
/* @__PURE__ */ e("path", { d: "M16 25.2169C19.958 25.2169 23.1667 22.0083 23.1667 18.0503C23.1667 14.0922 19.958 10.8836 16 10.8836C12.042 10.8836 8.83334 14.0922 8.83334 18.0503C8.83334 22.0083 12.042 25.2169 16 25.2169Z", fill: "var(--rail-orange, #C98A5A)" }),
|
|
947
|
-
/* @__PURE__ */ e("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M30.4791 11.2328L33.4351 0L21.6888 3.09113C19.9212 2.41855 18.0036 2.05025 16 2.05025C7.16344 2.05025 0 9.2137 0 18.0503C0 26.8868 7.16344 34.0503 16 34.0503C24.8366 34.0503 32 26.8868 32 18.0503C32 15.6119 31.4546 13.301 30.4791 11.2328ZM16 30.5503C22.9036 30.5503 28.5 24.9538 28.5 18.0503C28.5 11.1467 22.9036 5.55025 16 5.55025C9.09644 5.55025 3.5 11.1467 3.5 18.0503C3.5 24.9538 9.09644 30.5503 16 30.5503Z", fill: "var(--rail-orange, #C98A5A)" })
|
|
948
|
-
] }),
|
|
949
|
-
/* @__PURE__ */ e("div", { style: {
|
|
950
|
-
fontSize: 28,
|
|
951
|
-
fontWeight: 400,
|
|
952
|
-
color: S.strong,
|
|
953
|
-
fontFamily: "var(--font-sans)",
|
|
954
|
-
lineHeight: 1,
|
|
955
|
-
textAlign: "center",
|
|
956
|
-
marginTop: 8
|
|
957
|
-
}, children: t })
|
|
958
|
-
] }),
|
|
959
|
-
/* @__PURE__ */ n("div", { style: {
|
|
960
|
-
display: "flex",
|
|
961
|
-
flexDirection: "column",
|
|
962
|
-
gap: 8,
|
|
963
|
-
alignItems: "center",
|
|
964
|
-
justifyContent: "center",
|
|
965
|
-
flex: 1
|
|
966
|
-
}, children: [
|
|
967
|
-
/* @__PURE__ */ n("div", { style: {
|
|
968
|
-
display: "flex",
|
|
969
|
-
flexDirection: "column",
|
|
970
|
-
alignItems: "center"
|
|
971
|
-
}, children: [
|
|
972
|
-
/* @__PURE__ */ e("div", { style: {
|
|
973
|
-
fontSize: 28,
|
|
974
|
-
fontWeight: 400,
|
|
975
|
-
color: S.strong,
|
|
976
|
-
fontFamily: "var(--font-sans)",
|
|
977
|
-
lineHeight: 1,
|
|
978
|
-
textAlign: "center"
|
|
979
|
-
}, children: x }),
|
|
980
|
-
/* @__PURE__ */ e("div", { style: {
|
|
981
|
-
fontSize: 14,
|
|
982
|
-
fontWeight: 400,
|
|
983
|
-
color: S.muted,
|
|
984
|
-
fontFamily: "var(--font-sans)",
|
|
985
|
-
lineHeight: 1.43,
|
|
986
|
-
textAlign: "center"
|
|
987
|
-
}, children: a })
|
|
988
|
-
] }),
|
|
989
|
-
/* @__PURE__ */ e("div", { style: {
|
|
990
|
-
width: "100%",
|
|
991
|
-
height: 1,
|
|
992
|
-
background: S.absent
|
|
993
|
-
} }),
|
|
994
|
-
d.map((h, y) => /* @__PURE__ */ e(
|
|
995
|
-
Ie,
|
|
996
|
-
{
|
|
997
|
-
label: h.label,
|
|
998
|
-
value: h.value
|
|
999
|
-
},
|
|
1000
|
-
y
|
|
1001
|
-
))
|
|
1002
|
-
] })
|
|
1003
|
-
] })
|
|
1004
|
-
] });
|
|
1005
|
-
}, We = [
|
|
1006
|
-
{ key: "overview", label: "Overview" },
|
|
1007
|
-
{ key: "coaching", label: "Coaching Summary" },
|
|
1008
|
-
{ key: "signals", label: "Signals & Guidance" },
|
|
1009
|
-
{ key: "comments", label: "Comments" }
|
|
1010
|
-
], He = ({
|
|
1011
|
-
title: t = "Wheel Stud Replacement Enquiry",
|
|
1012
|
-
onBack: i,
|
|
1013
|
-
// Data props — all optional with defaults for demo
|
|
1014
|
-
data: l,
|
|
1015
|
-
coachingData: a,
|
|
1016
|
-
audioUrl: f
|
|
1017
|
-
}) => {
|
|
1018
|
-
var L, B;
|
|
1019
|
-
const [d, x] = R("overview"), [h, y] = R(/* @__PURE__ */ new Set()), u = ne(null), b = (m) => {
|
|
1020
|
-
var F;
|
|
1021
|
-
const D = m / 1e3;
|
|
1022
|
-
(F = u.current) != null && F.seekTo && u.current.seekTo(D);
|
|
1023
|
-
}, w = (m) => {
|
|
1024
|
-
y((D) => {
|
|
1025
|
-
const F = new Set(D);
|
|
1026
|
-
return F.has(m) ? F.delete(m) : F.add(m), F;
|
|
1027
|
-
});
|
|
1028
|
-
}, s = (l == null ? void 0 : l.blocks) || [], o = (m) => {
|
|
1029
|
-
var D;
|
|
1030
|
-
return ((D = s.find((F) => F.block_id === m)) == null ? void 0 : D.payload) || {};
|
|
1031
|
-
}, c = o("interaction-metadata"), p = o("interaction-context"), k = o("interaction-signals"), _ = o("interaction-outcome-lift"), W = p.call_purpose || {}, z = p.classification || {}, C = { duration_seconds: 156, message_count: 25, ...c }, A = { interaction_driver: "General Information", interaction_direction: "inbound", ...W }, E = { interaction_paradigm: "Informational", ...z }, H = { p_expected: 0.94, p_full: 0.83, lift_raw: -0.11, lift: 0.043, interpretation: { lift_band: "positive" }, ..._ }, G = ((L = _.driver_signal_keys) == null ? void 0 : L.map((m) => m.replace(/^sig\./, "").replace(/_/g, " "))) || [
|
|
1032
|
-
"customer needs fully addressed",
|
|
1033
|
-
"call flow expectations set",
|
|
1034
|
-
"Opening expectations set",
|
|
1035
|
-
"Active listening demonstrated",
|
|
1036
|
-
"Resolution confirmed"
|
|
1037
|
-
], I = a || {
|
|
1038
|
-
one_liner: "David provided the customer with information on wheel stud replacement and pricing, but did not secure an appointment.",
|
|
1039
|
-
context: "The customer was seeking information on wheel stud replacement for a 2013 Chevy Bolt and was unsure about doing the repair themselves.",
|
|
1040
|
-
strengths: [
|
|
1041
|
-
{ text: "Anthony effectively scheduled the appointment and confirmed the details clearly.", quote: "Alright. That is all set up for Saturday, the twenty eighth, at 12:00." },
|
|
1042
|
-
{ text: "Handled customer objections well by explaining the need for a separate appointment for alignment.", quote: "I don't have the alignment changeover the weekend. So I would have to set up a separate appointment for the alignment." },
|
|
1043
|
-
{ text: "Demonstrated courtesy and professionalism throughout the call.", quote: "Have a great day." }
|
|
1044
|
-
],
|
|
1045
|
-
improvements: [
|
|
1046
|
-
{ text: "Close the loop by restating the plan and confirming next steps to ensure customer certainty.", quote: "Alright. That is all set up for Saturday, the twenty eighth, at 12:00." },
|
|
1047
|
-
{ text: "Frame solutions positively by leading with what can be done rather than limitations.", quote: "I don't have the alignment changeover the weekend." }
|
|
1048
|
-
],
|
|
1049
|
-
overall: "effective"
|
|
1050
|
-
}, T = (B = k == null ? void 0 : k.signals) != null && B.length ? k : {
|
|
1051
|
-
present_count: 9,
|
|
1052
|
-
total_signals_evaluated: 146,
|
|
1053
|
-
signals: [
|
|
1054
|
-
{
|
|
1055
|
-
key: "price_estimate_provided",
|
|
1056
|
-
display_name: "Price Estimate Provided",
|
|
1057
|
-
observations: [
|
|
1058
|
-
{ key: "obs1", reason: "Evidence shows a price estimate or quote was provided.", evidence: [
|
|
1059
|
-
{ start_ms: 92e3, end_ms: 97e3, text: "From Casper, you're probably looking at, like, a half hour labor plus a stud, so you'd probably be somewhere around $90 or something.", turn_ids: [8] }
|
|
1060
|
-
] }
|
|
1061
|
-
]
|
|
1062
|
-
},
|
|
1063
|
-
{ key: "fee_or_cost_discussed", display_name: "Fee or Cost Discussed", observations: [{ key: "obs2", reason: "Agent discussed pricing details with the customer." }] },
|
|
1064
|
-
{ key: "engagement_budget", display_name: "Engagement Budget Discussed", observations: [{ key: "obs3a", reason: "Budget expectations were set." }, { key: "obs3b", reason: "Customer confirmed budget range." }] },
|
|
1065
|
-
{ key: "projected_revenue", display_name: "Projected Revenue Discussed", observations: [{ key: "obs4a", reason: "Revenue projection shared." }, { key: "obs4b", reason: "Timeline for revenue discussed." }, { key: "obs4c", reason: "Quarterly targets mentioned." }] },
|
|
1066
|
-
{ key: "market_analysis", display_name: "Market Analysis Completed", observations: [{ key: "obs5a", reason: "Market analysis referenced." }, { key: "obs5b", reason: "Competitive landscape discussed." }, { key: "obs5c", reason: "Market trends mentioned." }, { key: "obs5d", reason: "Regional analysis provided." }] },
|
|
1067
|
-
{ key: "target_audience", display_name: "Target Audience Defined", observations: [{ key: "obs6a", reason: "Target audience identified." }, { key: "obs6b", reason: "Demographics discussed." }, { key: "obs6c", reason: "Audience segmentation reviewed." }, { key: "obs6d", reason: "Persona mapping completed." }, { key: "obs6e", reason: "Channel preferences noted." }] },
|
|
1068
|
-
{ key: "concept_approval", display_name: "Concept Approval Received", observations: [{ key: "obs7a", reason: "Concept approved by stakeholder." }, { key: "obs7b", reason: "Feedback incorporated." }, { key: "obs7c", reason: "Sign-off confirmed." }, { key: "obs7d", reason: "Revisions requested." }, { key: "obs7e", reason: "Final version accepted." }, { key: "obs7f", reason: "Timeline approved." }] },
|
|
1069
|
-
{ key: "prototype_developed", display_name: "Prototype Developed", observations: [{ key: "obs8a", reason: "Prototype shared." }, { key: "obs8b", reason: "Testing initiated." }, { key: "obs8c", reason: "Feedback collected." }, { key: "obs8d", reason: "Iterations completed." }, { key: "obs8e", reason: "Usability tested." }, { key: "obs8f", reason: "Design finalized." }, { key: "obs8g", reason: "Stakeholder demo done." }] },
|
|
1070
|
-
{ key: "user_testing", display_name: "User Testing Scheduled", observations: [{ key: "obs9a", reason: "Testing sessions planned." }, { key: "obs9b", reason: "Participants recruited." }, { key: "obs9c", reason: "Test scripts prepared." }, { key: "obs9d", reason: "Environment set up." }, { key: "obs9e", reason: "Accessibility testing included." }, { key: "obs9f", reason: "Results framework defined." }, { key: "obs9g", reason: "Timeline confirmed." }, { key: "obs9h", reason: "Backup plan discussed." }] }
|
|
1071
|
-
]
|
|
1072
|
-
}, M = "David", X = M.charAt(0), J = c.evaluated_dt ? new Date(c.evaluated_dt).toLocaleString() : "3/29/2026, 8:30:00 AM", ee = A.interaction_direction === "inbound" ? "Inbound" : "Outbound";
|
|
1073
|
-
return /* @__PURE__ */ n("div", { style: { display: "flex", flexDirection: "column", width: "100%", background: "var(--Grey-White, #FFF)" }, children: [
|
|
1074
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", gap: 12, padding: "24px 24px 0" }, children: [
|
|
1075
|
-
/* @__PURE__ */ e(
|
|
1076
|
-
"button",
|
|
1077
|
-
{
|
|
1078
|
-
onClick: i,
|
|
1079
|
-
style: {
|
|
1080
|
-
display: "flex",
|
|
1081
|
-
alignItems: "center",
|
|
1082
|
-
justifyContent: "center",
|
|
1083
|
-
background: "none",
|
|
1084
|
-
border: "none",
|
|
1085
|
-
cursor: "pointer",
|
|
1086
|
-
padding: 0,
|
|
1087
|
-
flexShrink: 0
|
|
1088
|
-
},
|
|
1089
|
-
children: /* @__PURE__ */ e(fe, { size: 24, color: "var(--Grey-Strong, #2E3236)" })
|
|
1090
|
-
}
|
|
1091
|
-
),
|
|
1092
|
-
/* @__PURE__ */ e("div", { style: { width: 1, height: 28, background: "var(--Base-absent, #D9D9D9)" } }),
|
|
1093
|
-
/* @__PURE__ */ e("h1", { style: {
|
|
1094
|
-
color: "var(--Grey-Strong, #2E3236)",
|
|
1095
|
-
fontSize: 24,
|
|
1096
|
-
fontStyle: "normal",
|
|
1097
|
-
fontWeight: 400,
|
|
1098
|
-
lineHeight: "normal",
|
|
1099
|
-
margin: 0
|
|
1100
|
-
}, children: t })
|
|
1101
|
-
] }),
|
|
1102
|
-
/* @__PURE__ */ e("div", { style: {
|
|
1103
|
-
display: "flex",
|
|
1104
|
-
alignItems: "flex-start",
|
|
1105
|
-
background: "var(--Grey-White, #FFF)",
|
|
1106
|
-
borderBottom: "1px solid var(--Grey-Faint, #ACADAD)",
|
|
1107
|
-
padding: "0 24px",
|
|
1108
|
-
marginTop: 8
|
|
1109
|
-
}, children: We.map((m) => /* @__PURE__ */ e(
|
|
1110
|
-
"button",
|
|
1111
|
-
{
|
|
1112
|
-
onClick: () => x(m.key),
|
|
1113
|
-
style: {
|
|
1114
|
-
display: "flex",
|
|
1115
|
-
padding: 16,
|
|
1116
|
-
alignItems: "center",
|
|
1117
|
-
gap: 10,
|
|
1118
|
-
background: "none",
|
|
1119
|
-
border: "none",
|
|
1120
|
-
borderBottom: d === m.key ? "3px solid var(--Grey-Strong, #2E3236)" : "3px solid transparent",
|
|
1121
|
-
cursor: "pointer",
|
|
1122
|
-
fontSize: 15,
|
|
1123
|
-
fontWeight: d === m.key ? 500 : 400,
|
|
1124
|
-
fontFamily: "var(--font-sans)",
|
|
1125
|
-
color: d === m.key ? "var(--Grey-Strong, #2E3236)" : "var(--Grey-Muted, #808183)",
|
|
1126
|
-
whiteSpace: "nowrap",
|
|
1127
|
-
transition: "border-color 0.2s ease, color 0.2s ease"
|
|
1128
|
-
},
|
|
1129
|
-
children: m.label
|
|
1130
|
-
},
|
|
1131
|
-
m.key
|
|
1132
|
-
)) }),
|
|
1133
|
-
/* @__PURE__ */ n("div", { style: { padding: 24, flex: 1, overflowY: "auto" }, children: [
|
|
1134
|
-
d === "overview" && /* @__PURE__ */ n("div", { style: {
|
|
1135
|
-
display: "flex",
|
|
1136
|
-
flexDirection: "column",
|
|
1137
|
-
justifyContent: "flex-end",
|
|
1138
|
-
alignItems: "flex-start",
|
|
1139
|
-
gap: 24,
|
|
1140
|
-
alignSelf: "stretch"
|
|
1141
|
-
}, children: [
|
|
1142
|
-
/* @__PURE__ */ n("div", { style: {
|
|
1143
|
-
display: "flex",
|
|
1144
|
-
height: 40,
|
|
1145
|
-
alignItems: "center",
|
|
1146
|
-
gap: 16,
|
|
1147
|
-
alignSelf: "stretch",
|
|
1148
|
-
justifyContent: "space-between"
|
|
1149
|
-
}, children: [
|
|
1150
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", gap: 8 }, children: [
|
|
1151
|
-
/* @__PURE__ */ e(pe, { size: 24, color: "#D2833A" }),
|
|
1152
|
-
/* @__PURE__ */ e("span", { style: {
|
|
1153
|
-
fontSize: 14,
|
|
1154
|
-
fontWeight: 600,
|
|
1155
|
-
fontFamily: "var(--font-sans)",
|
|
1156
|
-
color: "var(--Grey-Strong, #2E3236)",
|
|
1157
|
-
textTransform: "uppercase",
|
|
1158
|
-
letterSpacing: "0.5px"
|
|
1159
|
-
}, children: "Overview" })
|
|
1160
|
-
] }),
|
|
1161
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", gap: 16 }, children: [
|
|
1162
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
|
|
1163
|
-
/* @__PURE__ */ e("div", { style: {
|
|
1164
|
-
width: 24,
|
|
1165
|
-
height: 24,
|
|
1166
|
-
borderRadius: "50%",
|
|
1167
|
-
background: "var(--Grey-Strong, #2E3236)",
|
|
1168
|
-
display: "flex",
|
|
1169
|
-
alignItems: "center",
|
|
1170
|
-
justifyContent: "center",
|
|
1171
|
-
fontSize: 12,
|
|
1172
|
-
fontWeight: 600,
|
|
1173
|
-
color: "var(--Grey-White, #FFF)",
|
|
1174
|
-
fontFamily: "var(--font-sans)"
|
|
1175
|
-
}, children: X }),
|
|
1176
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 14, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)" }, children: M })
|
|
1177
|
-
] }),
|
|
1178
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
|
|
1179
|
-
/* @__PURE__ */ e(he, { size: 16, color: "var(--Grey-Strong, #2E3236)" }),
|
|
1180
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 14, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)" }, children: J })
|
|
1181
|
-
] }),
|
|
1182
|
-
/* @__PURE__ */ n("div", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
|
|
1183
|
-
/* @__PURE__ */ e(ye, { size: 16, color: "var(--Grey-Strong, #2E3236)" }),
|
|
1184
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 14, fontWeight: 400, color: "var(--Grey-Strong, #2E3236)", fontFamily: "var(--font-sans)" }, children: ee })
|
|
1185
|
-
] })
|
|
1186
|
-
] })
|
|
1187
|
-
] }),
|
|
1188
|
-
/* @__PURE__ */ n("div", { style: {
|
|
1189
|
-
display: "flex",
|
|
1190
|
-
alignItems: "flex-start",
|
|
1191
|
-
gap: 24,
|
|
1192
|
-
alignSelf: "stretch"
|
|
1193
|
-
}, children: [
|
|
1194
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(Fe, {}) }),
|
|
1195
|
-
/* @__PURE__ */ n("div", { style: {
|
|
1196
|
-
display: "flex",
|
|
1197
|
-
flexDirection: "column",
|
|
1198
|
-
alignItems: "stretch",
|
|
1199
|
-
justifyContent: "flex-end",
|
|
1200
|
-
gap: 24,
|
|
1201
|
-
flex: 1,
|
|
1202
|
-
minWidth: 0
|
|
1203
|
-
}, children: [
|
|
1204
|
-
/* @__PURE__ */ e(
|
|
1205
|
-
ke,
|
|
1206
|
-
{
|
|
1207
|
-
meta: C,
|
|
1208
|
-
callPurpose: A,
|
|
1209
|
-
classification: E,
|
|
1210
|
-
outcomeQuality: "Neutral"
|
|
1211
|
-
}
|
|
1212
|
-
),
|
|
1213
|
-
/* @__PURE__ */ e(
|
|
1214
|
-
we,
|
|
1215
|
-
{
|
|
1216
|
-
outcomeLift: H,
|
|
1217
|
-
driverLabels: G
|
|
1218
|
-
}
|
|
1219
|
-
)
|
|
1220
|
-
] })
|
|
1221
|
-
] }),
|
|
1222
|
-
/* @__PURE__ */ e(O, { data: I }),
|
|
1223
|
-
/* @__PURE__ */ n("div", { style: {
|
|
1224
|
-
display: "flex",
|
|
1225
|
-
flexDirection: "column",
|
|
1226
|
-
gap: 16,
|
|
1227
|
-
alignSelf: "stretch"
|
|
1228
|
-
}, children: [
|
|
1229
|
-
/* @__PURE__ */ n("div", { style: {
|
|
1230
|
-
display: "flex",
|
|
1231
|
-
alignItems: "center",
|
|
1232
|
-
gap: 8
|
|
1233
|
-
}, children: [
|
|
1234
|
-
/* @__PURE__ */ e(Z, { size: 24, color: "#C98A5A", strokeWidth: 2 }),
|
|
1235
|
-
/* @__PURE__ */ e("span", { style: {
|
|
1236
|
-
fontSize: 16,
|
|
1237
|
-
fontWeight: 600,
|
|
1238
|
-
fontFamily: "var(--font-sans)",
|
|
1239
|
-
color: "var(--Grey-Strong, #2E3236)",
|
|
1240
|
-
lineHeight: 1.2,
|
|
1241
|
-
textTransform: "uppercase"
|
|
1242
|
-
}, children: "Signals & Recording" })
|
|
1243
|
-
] }),
|
|
1244
|
-
/* @__PURE__ */ n("div", { style: {
|
|
1245
|
-
display: "flex",
|
|
1246
|
-
alignItems: "flex-start",
|
|
1247
|
-
gap: 24,
|
|
1248
|
-
alignSelf: "stretch",
|
|
1249
|
-
paddingTop: 16,
|
|
1250
|
-
borderTop: "1px solid #D9D9D9"
|
|
1251
|
-
}, children: [
|
|
1252
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
|
|
1253
|
-
Q,
|
|
1254
|
-
{
|
|
1255
|
-
signals: T,
|
|
1256
|
-
expandedSignals: h,
|
|
1257
|
-
toggleSignal: w,
|
|
1258
|
-
onShowInTranscript: b
|
|
1259
|
-
}
|
|
1260
|
-
) }),
|
|
1261
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
|
|
1262
|
-
$,
|
|
1263
|
-
{
|
|
1264
|
-
ref: u,
|
|
1265
|
-
audioUrl: f,
|
|
1266
|
-
durationSeconds: C.duration_seconds,
|
|
1267
|
-
currentTimeSeconds: 0
|
|
1268
|
-
}
|
|
1269
|
-
) })
|
|
1270
|
-
] })
|
|
1271
|
-
] })
|
|
1272
|
-
] }),
|
|
1273
|
-
d === "coaching" && /* @__PURE__ */ e(O, { data: I }),
|
|
1274
|
-
d === "signals" && /* @__PURE__ */ e("div", { style: { display: "flex", flexDirection: "column", gap: 24 }, children: /* @__PURE__ */ n("div", { style: {
|
|
1275
|
-
display: "flex",
|
|
1276
|
-
alignItems: "flex-start",
|
|
1277
|
-
gap: 24
|
|
1278
|
-
}, children: [
|
|
1279
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
|
|
1280
|
-
Q,
|
|
1281
|
-
{
|
|
1282
|
-
signals: T,
|
|
1283
|
-
expandedSignals: h,
|
|
1284
|
-
toggleSignal: w,
|
|
1285
|
-
onShowInTranscript: b
|
|
1286
|
-
}
|
|
1287
|
-
) }),
|
|
1288
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ e(
|
|
1289
|
-
$,
|
|
1290
|
-
{
|
|
1291
|
-
ref: u,
|
|
1292
|
-
audioUrl: f,
|
|
1293
|
-
durationSeconds: C.duration_seconds,
|
|
1294
|
-
currentTimeSeconds: 0
|
|
1295
|
-
}
|
|
1296
|
-
) })
|
|
1297
|
-
] }) }),
|
|
1298
|
-
d === "comments" && /* @__PURE__ */ e("div", { style: { fontSize: 14, color: "var(--Grey-Muted, #808183)", fontFamily: "var(--font-sans)" }, children: "No comments yet." })
|
|
1299
|
-
] })
|
|
1300
|
-
] });
|
|
1301
|
-
};
|
|
1302
|
-
export {
|
|
1303
|
-
O as U,
|
|
1304
|
-
Fe as a,
|
|
1305
|
-
ke as b,
|
|
1306
|
-
He as c,
|
|
1307
|
-
we as d,
|
|
1308
|
-
Q as e
|
|
1309
|
-
};
|
|
1310
|
-
//# sourceMappingURL=UpdatedInteractionDetails.es.js.map
|