@telia-ace/widget-conversation 1.0.29-next.4 → 1.0.29-next.6
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 +29 -0
- package/dist/agent.d.ts +5 -1
- package/dist/components/conversation/plugin.d.ts +2 -0
- package/dist/conversation-controller.d.ts +28 -3
- package/dist/conversation-platform.d.ts +7 -2
- package/dist/conversation-provider.d.ts +5 -1
- package/dist/{conversation.d7aad569.js → conversation.b485c8d7.js} +142 -135
- package/dist/{conversation.d7aad569.js.map → conversation.b485c8d7.js.map} +1 -1
- package/dist/index.js +473 -253
- package/dist/index.js.map +1 -1
- package/dist/store.d.ts +32 -0
- package/dist/types.d.ts +1 -0
- package/dist/user.d.ts +3 -1
- package/dist/utils/open-chat-widget.d.ts +1 -1
- package/dist/utils/swap-provider.d.ts +8 -0
- package/package.json +8 -8
|
@@ -2,7 +2,7 @@ var Ee = Object.defineProperty, xe = Object.defineProperties;
|
|
|
2
2
|
var we = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var A = Object.getOwnPropertySymbols;
|
|
4
4
|
var ee = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Z = (t, e, r) => e in t ? Ee(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r,
|
|
5
|
+
var Z = (t, e, r) => e in t ? Ee(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, g = (t, e) => {
|
|
6
6
|
for (var r in e || (e = {}))
|
|
7
7
|
ee.call(e, r) && Z(t, r, e[r]);
|
|
8
8
|
if (A)
|
|
@@ -19,17 +19,17 @@ var j = (t, e) => {
|
|
|
19
19
|
e.indexOf(o) < 0 && te.call(t, o) && (r[o] = t[o]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
|
-
import { Input as oe, Button as L, borderTabStyle as b, SymbolBadge as w, useIsTabbing as ke, useDispatch as V, useProperties as M, useScroll as ae, Typography as q, invertedHoverButton as Ce, Html as Y, List as le, buttonCss as G, ItemList as J, itemList as Q, useComponent as Se, genericHtml as ze, headingElement as se, list as Le, WidgetOverlayOutlet as ie } from "@telia-ace/widget-ui";
|
|
22
|
+
import { Input as oe, Button as L, borderTabStyle as b, SymbolBadge as w, useIsTabbing as ke, useDispatch as V, useProperties as M, useScroll as ae, Typography as q, invertedHoverButton as Ce, Html as Y, List as le, buttonCss as G, ItemList as J, itemList as Q, useComponent as Se, genericHtml as ze, headingElement as se, list as Le, WidgetOverlayOutlet as ie, ConversationContext as Me } from "@telia-ace/widget-ui";
|
|
23
23
|
import { appendClassNames as H } from "@telia-ace/widget-utilities";
|
|
24
|
-
import n, { useState as R, useEffect as ce, forwardRef as X, Suspense as
|
|
25
|
-
import a, { css as
|
|
26
|
-
import { FormComponent as
|
|
27
|
-
import { ConversationMessageListItemType as C, ConversationMessageType as
|
|
24
|
+
import n, { useState as R, useEffect as ce, forwardRef as X, Suspense as He, useMemo as Te, useCallback as me, useRef as Ie } from "react";
|
|
25
|
+
import a, { css as f, keyframes as Ae } from "styled-components";
|
|
26
|
+
import { FormComponent as Re } from "@telia-ace/widget-forms";
|
|
27
|
+
import { ConversationMessageListItemType as C, ConversationMessageType as D } from "./index.js";
|
|
28
28
|
import "@telia-ace/widget-core";
|
|
29
29
|
import "@telia-ace/widget-services";
|
|
30
30
|
import "@telia-ace/widget-plugins";
|
|
31
|
-
const
|
|
32
|
-
const [e, r] = R(""), [o, l] = R(!1), [s, u] = R(0), [c,
|
|
31
|
+
const Be = ({ className: t }) => {
|
|
32
|
+
const [e, r] = R(""), [o, l] = R(!1), [s, u] = R(0), [c, h] = R(0), v = ke(), m = V(), {
|
|
33
33
|
inputPlaceholder: i = "Type your message",
|
|
34
34
|
inputHidden: $ = !1,
|
|
35
35
|
inputDisabled: k = !1,
|
|
@@ -44,14 +44,14 @@ const Re = ({ className: t }) => {
|
|
|
44
44
|
const z = d.split("px"), $e = parseInt(z[0], 10);
|
|
45
45
|
u($e);
|
|
46
46
|
const ve = I.split("px");
|
|
47
|
-
|
|
47
|
+
h(parseInt(ve[0], 10));
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}, [y.current]);
|
|
51
51
|
const N = (d) => {
|
|
52
52
|
!d.shiftKey || !E ? (d.preventDefault(), e && e.length > 0 && (m("user-submit", { text: e }), r(""), O(""))) : e.length < 1 && d.preventDefault();
|
|
53
53
|
}, ye = (d) => {
|
|
54
|
-
!p || (d.preventDefault(), m("action",
|
|
54
|
+
!p || (d.preventDefault(), m("action", g({
|
|
55
55
|
actionKey: p.action
|
|
56
56
|
}, p)));
|
|
57
57
|
}, be = (d) => {
|
|
@@ -66,13 +66,13 @@ const Re = ({ className: t }) => {
|
|
|
66
66
|
}, O = (d) => {
|
|
67
67
|
be(d), r(d), d && d.length > 0 && m("user-typing", { textLength: d.length });
|
|
68
68
|
};
|
|
69
|
-
return $ ? null : /* @__PURE__ */ n.createElement(
|
|
69
|
+
return $ ? null : /* @__PURE__ */ n.createElement(Oe, {
|
|
70
70
|
grow: E,
|
|
71
71
|
className: H("humany-conversation-input", t),
|
|
72
72
|
"data-has-focus": o,
|
|
73
73
|
scrollableCss: pe,
|
|
74
74
|
isTabbing: v
|
|
75
|
-
}, p && /* @__PURE__ */ n.createElement(
|
|
75
|
+
}, p && /* @__PURE__ */ n.createElement(Ne, {
|
|
76
76
|
disabled: k,
|
|
77
77
|
onClick: ye,
|
|
78
78
|
title: p.label,
|
|
@@ -91,7 +91,7 @@ const Re = ({ className: t }) => {
|
|
|
91
91
|
type: "textarea",
|
|
92
92
|
rows: 1,
|
|
93
93
|
ref: y
|
|
94
|
-
}) : /* @__PURE__ */ n.createElement(
|
|
94
|
+
}) : /* @__PURE__ */ n.createElement(Ke, {
|
|
95
95
|
value: e,
|
|
96
96
|
onChange: O,
|
|
97
97
|
onEnter: N,
|
|
@@ -104,7 +104,7 @@ const Re = ({ className: t }) => {
|
|
|
104
104
|
onClick: N,
|
|
105
105
|
title: S,
|
|
106
106
|
"aria-label": S
|
|
107
|
-
}, /* @__PURE__ */ n.createElement(
|
|
107
|
+
}, /* @__PURE__ */ n.createElement(je, {
|
|
108
108
|
size: 22,
|
|
109
109
|
symbol: { type: "Svg", content: "send" },
|
|
110
110
|
hasContent: e && e.length
|
|
@@ -129,7 +129,7 @@ const Re = ({ className: t }) => {
|
|
|
129
129
|
border: none;
|
|
130
130
|
transition: height 200ms linear;
|
|
131
131
|
outline: none;
|
|
132
|
-
`,
|
|
132
|
+
`, Ke = a(oe)`
|
|
133
133
|
flex: 1;
|
|
134
134
|
border: none;
|
|
135
135
|
background-color: transparent;
|
|
@@ -167,17 +167,17 @@ const Re = ({ className: t }) => {
|
|
|
167
167
|
&:focus-visible {
|
|
168
168
|
${b};
|
|
169
169
|
}
|
|
170
|
-
`,
|
|
170
|
+
`, Ne = a(ue)`
|
|
171
171
|
border-right: ${(t) => t.theme.border};
|
|
172
172
|
margin: ${(t) => {
|
|
173
173
|
var e;
|
|
174
174
|
return (e = t.theme.sizes) == null ? void 0 : e.normal;
|
|
175
175
|
}} 0;
|
|
176
|
-
`,
|
|
177
|
-
${(t) => t.grow ?
|
|
176
|
+
`, Oe = a.div`
|
|
177
|
+
${(t) => t.grow ? f`
|
|
178
178
|
min-height: 50px;
|
|
179
179
|
max-height: 150px;
|
|
180
|
-
` :
|
|
180
|
+
` : f`
|
|
181
181
|
height: 50px;
|
|
182
182
|
`}
|
|
183
183
|
flex: 0 0 auto;
|
|
@@ -192,9 +192,9 @@ const Re = ({ className: t }) => {
|
|
|
192
192
|
${de} {
|
|
193
193
|
${(t) => !!t.scrollableCss && t.scrollableCss}
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
195
|
+
`, je = a((r) => {
|
|
196
196
|
var o = r, { hasContent: t } = o, e = j(o, ["hasContent"]);
|
|
197
|
-
return /* @__PURE__ */ n.createElement(w,
|
|
197
|
+
return /* @__PURE__ */ n.createElement(w, g({}, e));
|
|
198
198
|
})`
|
|
199
199
|
line,
|
|
200
200
|
path {
|
|
@@ -207,7 +207,7 @@ const Re = ({ className: t }) => {
|
|
|
207
207
|
return t.hasContent ? (e = t.theme.colors) == null ? void 0 : e.primary : "#a6a6a6";
|
|
208
208
|
}};
|
|
209
209
|
}
|
|
210
|
-
`,
|
|
210
|
+
`, De = a.div`
|
|
211
211
|
width: ${(t) => t.avatarSize || "32px"};
|
|
212
212
|
height: ${(t) => t.avatarSize || "32px"};
|
|
213
213
|
border-radius: 50%;
|
|
@@ -254,7 +254,7 @@ const Re = ({ className: t }) => {
|
|
|
254
254
|
}};
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
|
-
`, Fe =
|
|
257
|
+
`, Fe = Ae`
|
|
258
258
|
0% {
|
|
259
259
|
opacity: 0;
|
|
260
260
|
}
|
|
@@ -264,7 +264,7 @@ const Re = ({ className: t }) => {
|
|
|
264
264
|
100% {
|
|
265
265
|
opacity: 0;
|
|
266
266
|
}
|
|
267
|
-
`,
|
|
267
|
+
`, We = a.div`
|
|
268
268
|
display: flex;
|
|
269
269
|
justify-content: center;
|
|
270
270
|
> div {
|
|
@@ -288,7 +288,7 @@ const Re = ({ className: t }) => {
|
|
|
288
288
|
grid-area: content;
|
|
289
289
|
max-width: 100%;
|
|
290
290
|
overflow: hidden;
|
|
291
|
-
`,
|
|
291
|
+
`, Pe = a(q)`
|
|
292
292
|
font-size: ${(t) => {
|
|
293
293
|
var e;
|
|
294
294
|
return (e = t.theme.fonts) == null ? void 0 : e.normal;
|
|
@@ -305,8 +305,8 @@ const Re = ({ className: t }) => {
|
|
|
305
305
|
var e;
|
|
306
306
|
return t.padded && `padding: ${(e = t.theme.sizes) == null ? void 0 : e.medium};`;
|
|
307
307
|
}}
|
|
308
|
-
${(t) => !t.user && t.stacked &&
|
|
309
|
-
${(t) => t.user && t.stacked &&
|
|
308
|
+
${(t) => !t.user && t.stacked && Ue(t.stacked, t.theme)}
|
|
309
|
+
${(t) => t.user && t.stacked && _e(t.stacked, t.theme)}
|
|
310
310
|
|
|
311
311
|
display: inline-block;
|
|
312
312
|
margin-top: ${(t) => {
|
|
@@ -322,14 +322,14 @@ const Re = ({ className: t }) => {
|
|
|
322
322
|
}
|
|
323
323
|
max-width: 100%;
|
|
324
324
|
${(t) => t.fullWidth && "width: 100%;"}
|
|
325
|
-
`,
|
|
325
|
+
`, Ue = (t, e) => {
|
|
326
326
|
var o, l;
|
|
327
|
-
const r =
|
|
327
|
+
const r = f`
|
|
328
328
|
background-color: ${(o = e.colors) == null ? void 0 : o.accent};
|
|
329
329
|
color: ${(l = e.colors) == null ? void 0 : l.text};
|
|
330
330
|
${e.border && `border: ${e.border};`};
|
|
331
331
|
`;
|
|
332
|
-
return e.borderRadius ?
|
|
332
|
+
return e.borderRadius ? f`
|
|
333
333
|
${r}
|
|
334
334
|
|
|
335
335
|
border-top-right-radius: ${e.borderRadius};
|
|
@@ -343,13 +343,13 @@ const Re = ({ className: t }) => {
|
|
|
343
343
|
border-bottom-left-radius: ${e.borderRadius};
|
|
344
344
|
`}
|
|
345
345
|
` : r;
|
|
346
|
-
},
|
|
346
|
+
}, _e = (t, e) => {
|
|
347
347
|
var o, l;
|
|
348
|
-
const r =
|
|
348
|
+
const r = f`
|
|
349
349
|
background-color: ${(o = e.colors) == null ? void 0 : o.primary};
|
|
350
350
|
color: ${(l = e.colors) == null ? void 0 : l.accent};
|
|
351
351
|
`;
|
|
352
|
-
return e.borderRadius ?
|
|
352
|
+
return e.borderRadius ? f`
|
|
353
353
|
${r}
|
|
354
354
|
|
|
355
355
|
border-top-left-radius: ${e.borderRadius};
|
|
@@ -371,7 +371,7 @@ const Re = ({ className: t }) => {
|
|
|
371
371
|
&:last-child {
|
|
372
372
|
margin-bottom: 0;
|
|
373
373
|
}
|
|
374
|
-
`, T =
|
|
374
|
+
`, T = f`
|
|
375
375
|
margin: ${(t) => {
|
|
376
376
|
var e;
|
|
377
377
|
return (e = t.theme.sizes) == null ? void 0 : e.medium;
|
|
@@ -380,7 +380,7 @@ const Re = ({ className: t }) => {
|
|
|
380
380
|
var e;
|
|
381
381
|
return (e = t.theme.sizes) == null ? void 0 : e.medium;
|
|
382
382
|
}};
|
|
383
|
-
`,
|
|
383
|
+
`, Ve = a(Re)`
|
|
384
384
|
& button.humany-form-component-button {
|
|
385
385
|
${(t) => {
|
|
386
386
|
var e, r;
|
|
@@ -407,7 +407,7 @@ const Re = ({ className: t }) => {
|
|
|
407
407
|
}};
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
`,
|
|
410
|
+
`, qe = a(Y)`
|
|
411
411
|
white-space: pre-wrap;
|
|
412
412
|
a {
|
|
413
413
|
color: ${(t) => t.theme.colors.link};
|
|
@@ -418,7 +418,7 @@ const Re = ({ className: t }) => {
|
|
|
418
418
|
}};
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
`,
|
|
421
|
+
`, Ye = a(le)`
|
|
422
422
|
padding: 0;
|
|
423
423
|
list-style: none;
|
|
424
424
|
margin: 0 -${(t) => {
|
|
@@ -431,7 +431,7 @@ const Re = ({ className: t }) => {
|
|
|
431
431
|
return (e = t.theme.sizes) == null ? void 0 : e.normal;
|
|
432
432
|
}};
|
|
433
433
|
}
|
|
434
|
-
`,
|
|
434
|
+
`, Ge = a.button`
|
|
435
435
|
${G};
|
|
436
436
|
display: block;
|
|
437
437
|
background-color: ${(t) => {
|
|
@@ -453,8 +453,8 @@ const Re = ({ className: t }) => {
|
|
|
453
453
|
}, /* @__PURE__ */ n.createElement(_, {
|
|
454
454
|
padded: !!t,
|
|
455
455
|
stacked: t ? "first" : void 0
|
|
456
|
-
}, /* @__PURE__ */ n.createElement(
|
|
457
|
-
),
|
|
456
|
+
}, /* @__PURE__ */ n.createElement(We, null, /* @__PURE__ */ n.createElement("div", null), /* @__PURE__ */ n.createElement("div", null), /* @__PURE__ */ n.createElement("div", null)))))
|
|
457
|
+
), Je = a.p`
|
|
458
458
|
&& {
|
|
459
459
|
font-size: ${(t) => {
|
|
460
460
|
var e;
|
|
@@ -473,13 +473,13 @@ const Re = ({ className: t }) => {
|
|
|
473
473
|
if (!e && !r)
|
|
474
474
|
return null;
|
|
475
475
|
let o = "";
|
|
476
|
-
return e ? r ? o = `${e}: ${re(r)}` : o = e : r && (o = re(r)), /* @__PURE__ */ n.createElement(
|
|
476
|
+
return e ? r ? o = `${e}: ${re(r)}` : o = e : r && (o = re(r)), /* @__PURE__ */ n.createElement(Je, null, o);
|
|
477
477
|
}, he = ({ className: t, children: e, sender: r, timestamp: o }) => {
|
|
478
478
|
const { avatar: l, name: s } = r, { avatarSize: u } = M();
|
|
479
|
-
return /* @__PURE__ */ n.createElement(
|
|
479
|
+
return /* @__PURE__ */ n.createElement(Qe, {
|
|
480
480
|
hasAvatar: !!l,
|
|
481
481
|
className: H(t, "humany-conversation-agent-message")
|
|
482
|
-
}, l && /* @__PURE__ */ n.createElement(
|
|
482
|
+
}, l && /* @__PURE__ */ n.createElement(De, {
|
|
483
483
|
avatarSize: u
|
|
484
484
|
}, typeof l == "string" ? /* @__PURE__ */ n.createElement("img", {
|
|
485
485
|
src: l
|
|
@@ -489,43 +489,43 @@ const Re = ({ className: t }) => {
|
|
|
489
489
|
name: s,
|
|
490
490
|
timestamp: o
|
|
491
491
|
}));
|
|
492
|
-
},
|
|
492
|
+
}, Qe = a.div`
|
|
493
493
|
display: grid;
|
|
494
494
|
margin-right: 10%;
|
|
495
495
|
width: 90%;
|
|
496
|
-
${(t) => t.hasAvatar ?
|
|
496
|
+
${(t) => t.hasAvatar ? f`
|
|
497
497
|
grid-template-columns: auto 1fr;
|
|
498
498
|
grid-template-rows: 1fr auto;
|
|
499
499
|
grid-template-areas:
|
|
500
500
|
'avatar content'
|
|
501
501
|
'. info';
|
|
502
|
-
` :
|
|
502
|
+
` : f`
|
|
503
503
|
grid-template-columns: 1fr;
|
|
504
504
|
grid-template-rows: 1fr auto;
|
|
505
505
|
grid-template-areas:
|
|
506
506
|
'content'
|
|
507
507
|
'info';
|
|
508
508
|
`};
|
|
509
|
-
`,
|
|
510
|
-
({ className: t, children: e, timestamp: r, discrete: o, fullWidth: l }, s) => /* @__PURE__ */ n.createElement(
|
|
509
|
+
`, Xe = X(
|
|
510
|
+
({ className: t, children: e, timestamp: r, discrete: o, fullWidth: l }, s) => /* @__PURE__ */ n.createElement(Ze, {
|
|
511
511
|
ref: s,
|
|
512
512
|
className: H(t, "humany-conversation-system-message"),
|
|
513
513
|
fullWidth: l
|
|
514
|
-
}, o ? /* @__PURE__ */ n.createElement(
|
|
514
|
+
}, o ? /* @__PURE__ */ n.createElement(et, {
|
|
515
515
|
className: "humany-conversation-discrete-message"
|
|
516
516
|
}, e, /* @__PURE__ */ n.createElement(K, {
|
|
517
517
|
timestamp: r
|
|
518
518
|
})) : /* @__PURE__ */ n.createElement(n.Fragment, null, e, /* @__PURE__ */ n.createElement(K, {
|
|
519
519
|
timestamp: r
|
|
520
520
|
})))
|
|
521
|
-
),
|
|
521
|
+
), Ze = a.div`
|
|
522
522
|
${(t) => t.fullWidth && "width: 100%"};
|
|
523
523
|
padding: 0 ${(t) => {
|
|
524
524
|
var e;
|
|
525
525
|
return (e = t.theme.sizes) == null ? void 0 : e.large;
|
|
526
526
|
}};
|
|
527
527
|
overflow: auto;
|
|
528
|
-
`,
|
|
528
|
+
`, et = a.div`
|
|
529
529
|
text-align: center;
|
|
530
530
|
word-wrap: break-word;
|
|
531
531
|
font-size: ${(t) => {
|
|
@@ -539,15 +539,15 @@ const Re = ({ className: t }) => {
|
|
|
539
539
|
> p {
|
|
540
540
|
margin: 0;
|
|
541
541
|
}
|
|
542
|
-
`,
|
|
542
|
+
`, tt = ({ className: t, children: e, timestamp: r }) => {
|
|
543
543
|
const { userLabel: o = "" } = M();
|
|
544
|
-
return /* @__PURE__ */ n.createElement(
|
|
544
|
+
return /* @__PURE__ */ n.createElement(nt, {
|
|
545
545
|
className: H(t, "humany-conversation-user-message")
|
|
546
546
|
}, e, /* @__PURE__ */ n.createElement(K, {
|
|
547
547
|
name: o,
|
|
548
548
|
timestamp: r
|
|
549
549
|
}));
|
|
550
|
-
},
|
|
550
|
+
}, nt = a.div`
|
|
551
551
|
margin-left: 10%;
|
|
552
552
|
width: 90%;
|
|
553
553
|
display: flex;
|
|
@@ -556,12 +556,12 @@ const Re = ({ className: t }) => {
|
|
|
556
556
|
`, ge = (t) => Array.isArray(t) ? t : Object.keys(t).map((e) => ({
|
|
557
557
|
label: t[e],
|
|
558
558
|
actionKey: e
|
|
559
|
-
})),
|
|
559
|
+
})), rt = ({ header: t, actions: e, dispatch: r }) => /* @__PURE__ */ n.createElement(ot, {
|
|
560
560
|
header: t,
|
|
561
561
|
items: ge(e),
|
|
562
562
|
renderItem: (o) => /* @__PURE__ */ n.createElement("li", {
|
|
563
563
|
key: o.actionKey
|
|
564
|
-
}, /* @__PURE__ */ n.createElement(
|
|
564
|
+
}, /* @__PURE__ */ n.createElement(at, {
|
|
565
565
|
onClick: () => {
|
|
566
566
|
r("action", o);
|
|
567
567
|
},
|
|
@@ -570,7 +570,7 @@ const Re = ({ className: t }) => {
|
|
|
570
570
|
}, /* @__PURE__ */ n.createElement(w, {
|
|
571
571
|
symbol: o.symbol
|
|
572
572
|
}), o.label))
|
|
573
|
-
}),
|
|
573
|
+
}), ot = a(J)`
|
|
574
574
|
${Q}
|
|
575
575
|
> ul {
|
|
576
576
|
display: flex;
|
|
@@ -584,7 +584,7 @@ const Re = ({ className: t }) => {
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
${T}
|
|
587
|
-
`,
|
|
587
|
+
`, at = a(L)`
|
|
588
588
|
${G};
|
|
589
589
|
|
|
590
590
|
display: block;
|
|
@@ -612,14 +612,14 @@ const Re = ({ className: t }) => {
|
|
|
612
612
|
return (e = t.theme.sizes) == null ? void 0 : e.small;
|
|
613
613
|
}};
|
|
614
614
|
}
|
|
615
|
-
`,
|
|
615
|
+
`, lt = ({ type: t, content: e = {} }) => {
|
|
616
616
|
const r = Se(t);
|
|
617
|
-
return !r || !t ? null : /* @__PURE__ */ n.createElement(
|
|
617
|
+
return !r || !t ? null : /* @__PURE__ */ n.createElement(He, {
|
|
618
618
|
fallback: null
|
|
619
|
-
}, /* @__PURE__ */ n.createElement(r,
|
|
620
|
-
},
|
|
619
|
+
}, /* @__PURE__ */ n.createElement(r, g({}, e)));
|
|
620
|
+
}, st = ({ body: t }) => /* @__PURE__ */ n.createElement(it, {
|
|
621
621
|
html: t
|
|
622
|
-
}),
|
|
622
|
+
}), it = a(Y)`
|
|
623
623
|
${ze}
|
|
624
624
|
color: inherit;
|
|
625
625
|
white-space: pre-wrap;
|
|
@@ -630,12 +630,12 @@ const Re = ({ className: t }) => {
|
|
|
630
630
|
${b};
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
-
`,
|
|
633
|
+
`, ct = ({ header: t, actions: e, dispatch: r }) => /* @__PURE__ */ n.createElement(mt, {
|
|
634
634
|
header: t,
|
|
635
635
|
items: ge(e),
|
|
636
636
|
renderItem: (o) => /* @__PURE__ */ n.createElement("li", {
|
|
637
637
|
key: o.actionKey
|
|
638
|
-
}, /* @__PURE__ */ n.createElement(
|
|
638
|
+
}, /* @__PURE__ */ n.createElement(dt, {
|
|
639
639
|
help: o.actionKey === "help",
|
|
640
640
|
onClick: () => {
|
|
641
641
|
r("action", o);
|
|
@@ -649,13 +649,13 @@ const Re = ({ className: t }) => {
|
|
|
649
649
|
content: "caret-down"
|
|
650
650
|
}
|
|
651
651
|
})))
|
|
652
|
-
}),
|
|
652
|
+
}), mt = a(J)`
|
|
653
653
|
${Q}
|
|
654
654
|
${T}
|
|
655
655
|
|
|
656
656
|
${se(
|
|
657
657
|
"h1",
|
|
658
|
-
|
|
658
|
+
f`
|
|
659
659
|
white-space: normal;
|
|
660
660
|
`
|
|
661
661
|
)}
|
|
@@ -671,7 +671,7 @@ const Re = ({ className: t }) => {
|
|
|
671
671
|
margin: 0;
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
|
-
`,
|
|
674
|
+
`, dt = a(L)`
|
|
675
675
|
display: block;
|
|
676
676
|
text-align: left;
|
|
677
677
|
font-weight: 300;
|
|
@@ -685,7 +685,7 @@ const Re = ({ className: t }) => {
|
|
|
685
685
|
|
|
686
686
|
${(t) => {
|
|
687
687
|
var e, r;
|
|
688
|
-
return t.help &&
|
|
688
|
+
return t.help && f`
|
|
689
689
|
color: ${(e = t.theme.colors) == null ? void 0 : e.text};
|
|
690
690
|
text-decoration: underline;
|
|
691
691
|
|
|
@@ -706,20 +706,20 @@ const Re = ({ className: t }) => {
|
|
|
706
706
|
text-decoration: underline;
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
`,
|
|
709
|
+
`, ut = () => /* @__PURE__ */ n.createElement(ht, null), ht = a.div`
|
|
710
710
|
${(t) => t.theme.border && `border-bottom: ${t.theme.border};`}
|
|
711
711
|
width: 100%;
|
|
712
|
-
`,
|
|
712
|
+
`, gt = ({ text: t }) => /* @__PURE__ */ n.createElement(ft, {
|
|
713
713
|
variant: "span"
|
|
714
|
-
}, t),
|
|
714
|
+
}, t), ft = a(q)`
|
|
715
715
|
${T}
|
|
716
|
-
`,
|
|
716
|
+
`, pt = ({
|
|
717
717
|
header: t = "Video call",
|
|
718
718
|
acceptLabel: e = "Accept",
|
|
719
719
|
declineLabel: r = "Decline",
|
|
720
720
|
dispatch: o
|
|
721
721
|
}) => {
|
|
722
|
-
const l =
|
|
722
|
+
const l = Te(() => [
|
|
723
723
|
{
|
|
724
724
|
label: e,
|
|
725
725
|
actionKey: "accept-video-call",
|
|
@@ -737,14 +737,14 @@ const Re = ({ className: t }) => {
|
|
|
737
737
|
}
|
|
738
738
|
}
|
|
739
739
|
], [e, r]);
|
|
740
|
-
return /* @__PURE__ */ n.createElement(
|
|
740
|
+
return /* @__PURE__ */ n.createElement(yt, {
|
|
741
741
|
header: t,
|
|
742
742
|
items: l,
|
|
743
743
|
renderItem: (s) => {
|
|
744
744
|
const u = s.actionKey === "accept-video-call" ? "#70c48e" : "#da5c85";
|
|
745
745
|
return /* @__PURE__ */ n.createElement("li", {
|
|
746
746
|
key: s.actionKey
|
|
747
|
-
}, /* @__PURE__ */ n.createElement(
|
|
747
|
+
}, /* @__PURE__ */ n.createElement(bt, {
|
|
748
748
|
onClick: () => {
|
|
749
749
|
o("action", s);
|
|
750
750
|
},
|
|
@@ -757,7 +757,7 @@ const Re = ({ className: t }) => {
|
|
|
757
757
|
})));
|
|
758
758
|
}
|
|
759
759
|
});
|
|
760
|
-
},
|
|
760
|
+
}, yt = a(J)`
|
|
761
761
|
${Q}
|
|
762
762
|
> ul {
|
|
763
763
|
display: flex;
|
|
@@ -771,7 +771,7 @@ const Re = ({ className: t }) => {
|
|
|
771
771
|
}
|
|
772
772
|
}
|
|
773
773
|
${T}
|
|
774
|
-
`,
|
|
774
|
+
`, bt = a(L)`
|
|
775
775
|
${G};
|
|
776
776
|
|
|
777
777
|
background-color: ${(t) => t.bgColor};
|
|
@@ -811,45 +811,45 @@ const Re = ({ className: t }) => {
|
|
|
811
811
|
stroke: #fff;
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
|
-
`,
|
|
815
|
-
items: t.map(
|
|
814
|
+
`, $t = ([t, e]) => ({ type: t, content: e }), vt = ({ items: t, dispatch: e }) => /* @__PURE__ */ n.createElement(Et, {
|
|
815
|
+
items: t.map($t),
|
|
816
816
|
renderLi: !0,
|
|
817
817
|
renderItem: (r) => {
|
|
818
818
|
switch (r.type) {
|
|
819
819
|
case C.Text:
|
|
820
|
-
return /* @__PURE__ */ n.createElement(
|
|
820
|
+
return /* @__PURE__ */ n.createElement(gt, {
|
|
821
821
|
text: r.content
|
|
822
822
|
});
|
|
823
823
|
case C.HTML:
|
|
824
|
-
return /* @__PURE__ */ n.createElement(
|
|
824
|
+
return /* @__PURE__ */ n.createElement(st, g({}, r.content));
|
|
825
825
|
case C.Separator:
|
|
826
|
-
return /* @__PURE__ */ n.createElement(
|
|
826
|
+
return /* @__PURE__ */ n.createElement(ut, g({}, r.content));
|
|
827
827
|
case C.LinkList:
|
|
828
|
-
return /* @__PURE__ */ n.createElement(
|
|
828
|
+
return /* @__PURE__ */ n.createElement(ct, x(g({}, r.content), {
|
|
829
829
|
dispatch: e
|
|
830
830
|
}));
|
|
831
831
|
case C.ButtonList:
|
|
832
|
-
return /* @__PURE__ */ n.createElement(
|
|
832
|
+
return /* @__PURE__ */ n.createElement(rt, x(g({}, r.content), {
|
|
833
833
|
dispatch: e
|
|
834
834
|
}));
|
|
835
835
|
case C.VideoRequest:
|
|
836
|
-
return /* @__PURE__ */ n.createElement(
|
|
836
|
+
return /* @__PURE__ */ n.createElement(pt, x(g({}, r.content), {
|
|
837
837
|
dispatch: e
|
|
838
838
|
}));
|
|
839
839
|
default:
|
|
840
|
-
return /* @__PURE__ */ n.createElement(
|
|
840
|
+
return /* @__PURE__ */ n.createElement(lt, {
|
|
841
841
|
type: r.type,
|
|
842
842
|
content: r.content
|
|
843
843
|
});
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
|
-
}),
|
|
846
|
+
}), Et = a(le)`
|
|
847
847
|
${Le}
|
|
848
848
|
|
|
849
849
|
> li {
|
|
850
850
|
margin: 0;
|
|
851
851
|
}
|
|
852
|
-
`,
|
|
852
|
+
`, xt = X(
|
|
853
853
|
({ className: t, timestamp: e, sender: r, type: o, content: l }, s) => {
|
|
854
854
|
const u = me(
|
|
855
855
|
(m) => {
|
|
@@ -859,7 +859,7 @@ const Re = ({ className: t }) => {
|
|
|
859
859
|
[l]
|
|
860
860
|
), c = () => /* @__PURE__ */ n.createElement(n.Fragment, null, l.map((m) => {
|
|
861
861
|
const { key: i, body: $, title: k, form: S, actions: E } = m, p = !!$ && !k && !S && !E;
|
|
862
|
-
return /* @__PURE__ */ n.createElement(
|
|
862
|
+
return /* @__PURE__ */ n.createElement(Xe, {
|
|
863
863
|
className: t,
|
|
864
864
|
key: i,
|
|
865
865
|
discrete: p,
|
|
@@ -868,11 +868,11 @@ const Re = ({ className: t }) => {
|
|
|
868
868
|
fullWidth: !!S || !!E
|
|
869
869
|
}, p && $ ? /* @__PURE__ */ n.createElement(Y, {
|
|
870
870
|
html: $
|
|
871
|
-
}) : /* @__PURE__ */ n.createElement(
|
|
871
|
+
}) : /* @__PURE__ */ n.createElement(F, {
|
|
872
872
|
isSystem: !0,
|
|
873
873
|
content: m
|
|
874
874
|
}));
|
|
875
|
-
})),
|
|
875
|
+
})), h = () => /* @__PURE__ */ n.createElement(he, {
|
|
876
876
|
sender: r,
|
|
877
877
|
timestamp: e,
|
|
878
878
|
className: t
|
|
@@ -880,62 +880,62 @@ const Re = ({ className: t }) => {
|
|
|
880
880
|
left: !0,
|
|
881
881
|
key: m.key,
|
|
882
882
|
ref: s
|
|
883
|
-
}, /* @__PURE__ */ n.createElement(
|
|
883
|
+
}, /* @__PURE__ */ n.createElement(F, {
|
|
884
884
|
content: m,
|
|
885
885
|
stacked: u(i)
|
|
886
|
-
}))))), v = () => /* @__PURE__ */ n.createElement(
|
|
886
|
+
}))))), v = () => /* @__PURE__ */ n.createElement(tt, {
|
|
887
887
|
timestamp: e,
|
|
888
888
|
className: t
|
|
889
889
|
}, /* @__PURE__ */ n.createElement(P, null, l.map((m, i) => /* @__PURE__ */ n.createElement(U, {
|
|
890
890
|
right: !0,
|
|
891
891
|
key: m.key,
|
|
892
892
|
ref: s
|
|
893
|
-
}, /* @__PURE__ */ n.createElement(
|
|
893
|
+
}, /* @__PURE__ */ n.createElement(F, {
|
|
894
894
|
isUser: !0,
|
|
895
895
|
content: m,
|
|
896
896
|
stacked: u(i)
|
|
897
897
|
})))));
|
|
898
898
|
switch (o) {
|
|
899
|
-
case
|
|
899
|
+
case D.System:
|
|
900
900
|
return c();
|
|
901
|
-
case
|
|
902
|
-
return
|
|
903
|
-
case
|
|
901
|
+
case D.Agent:
|
|
902
|
+
return h();
|
|
903
|
+
case D.User:
|
|
904
904
|
return v();
|
|
905
905
|
default:
|
|
906
906
|
return null;
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
),
|
|
910
|
-
const l = V(), { title: s, body: u, actions: c, form:
|
|
909
|
+
), F = ({ content: t, isUser: e, isSystem: r, stacked: o }) => {
|
|
910
|
+
const l = V(), { title: s, body: u, actions: c, form: h, items: v } = t;
|
|
911
911
|
return v ? /* @__PURE__ */ n.createElement(_, {
|
|
912
912
|
user: !!e,
|
|
913
913
|
stacked: o
|
|
914
|
-
}, /* @__PURE__ */ n.createElement(
|
|
914
|
+
}, /* @__PURE__ */ n.createElement(vt, {
|
|
915
915
|
items: v,
|
|
916
916
|
dispatch: l
|
|
917
917
|
})) : /* @__PURE__ */ n.createElement(_, {
|
|
918
918
|
padded: !r,
|
|
919
919
|
user: !!e,
|
|
920
920
|
stacked: o,
|
|
921
|
-
fullWidth: !!
|
|
922
|
-
}, s && /* @__PURE__ */ n.createElement(B, null, /* @__PURE__ */ n.createElement(
|
|
921
|
+
fullWidth: !!h || !!c
|
|
922
|
+
}, s && /* @__PURE__ */ n.createElement(B, null, /* @__PURE__ */ n.createElement(Pe, {
|
|
923
923
|
variant: "h2"
|
|
924
|
-
}, s)), u && /* @__PURE__ */ n.createElement(B, null, /* @__PURE__ */ n.createElement(
|
|
924
|
+
}, s)), u && /* @__PURE__ */ n.createElement(B, null, /* @__PURE__ */ n.createElement(qe, {
|
|
925
925
|
html: u
|
|
926
|
-
})),
|
|
926
|
+
})), h && /* @__PURE__ */ n.createElement(B, null, /* @__PURE__ */ n.createElement(Ve, x(g({}, h), {
|
|
927
927
|
onChange: (i, $) => {
|
|
928
928
|
l("form", {
|
|
929
929
|
data: $,
|
|
930
|
-
formKey:
|
|
930
|
+
formKey: h.schema.id,
|
|
931
931
|
actionKey: i
|
|
932
932
|
});
|
|
933
933
|
}
|
|
934
|
-
}))), c && /* @__PURE__ */ n.createElement(B, null, /* @__PURE__ */ n.createElement(
|
|
934
|
+
}))), c && /* @__PURE__ */ n.createElement(B, null, /* @__PURE__ */ n.createElement(Ye, {
|
|
935
935
|
items: Object.keys(c).map((i) => ({ label: c[i], actionKey: i })),
|
|
936
936
|
renderItem: (i) => /* @__PURE__ */ n.createElement("li", {
|
|
937
937
|
key: i.actionKey
|
|
938
|
-
}, /* @__PURE__ */ n.createElement(
|
|
938
|
+
}, /* @__PURE__ */ n.createElement(Ge, {
|
|
939
939
|
onClick: () => {
|
|
940
940
|
l("action", i.actionKey);
|
|
941
941
|
}
|
|
@@ -953,7 +953,7 @@ const Re = ({ className: t }) => {
|
|
|
953
953
|
messages: o,
|
|
954
954
|
loading: l,
|
|
955
955
|
typingActors: s = []
|
|
956
|
-
} = M(), u = () => s && s.length ? s.map((c,
|
|
956
|
+
} = M(), u = () => s && s.length ? s.map((c, h) => /* @__PURE__ */ n.createElement(W, {
|
|
957
957
|
id: `typing_${c.name}`,
|
|
958
958
|
key: `typing_${c.name}`
|
|
959
959
|
}, /* @__PURE__ */ n.createElement(he, {
|
|
@@ -963,23 +963,23 @@ const Re = ({ className: t }) => {
|
|
|
963
963
|
boxed: !0,
|
|
964
964
|
ref: t
|
|
965
965
|
})))) : null;
|
|
966
|
-
return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
966
|
+
return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(wt, {
|
|
967
967
|
tabIndex: 0,
|
|
968
968
|
scrollableCss: e,
|
|
969
969
|
ref: r
|
|
970
|
-
}, o && o.length ? o.map((c,
|
|
970
|
+
}, o && o.length ? o.map((c, h) => {
|
|
971
971
|
const { type: v, timestamp: m, sender: i, content: $ } = c;
|
|
972
972
|
return /* @__PURE__ */ n.createElement(W, {
|
|
973
973
|
className: "humany-conversation-entry",
|
|
974
974
|
tabIndex: -1,
|
|
975
975
|
key: `${v}_${i == null ? void 0 : i.name}_${m}_${$[0].key}`
|
|
976
|
-
}, /* @__PURE__ */ n.createElement(
|
|
976
|
+
}, /* @__PURE__ */ n.createElement(xt, x(g({}, c), {
|
|
977
977
|
ref: t
|
|
978
978
|
})));
|
|
979
979
|
}) : null, u(), l && /* @__PURE__ */ n.createElement(W, null, /* @__PURE__ */ n.createElement(ne, {
|
|
980
980
|
ref: t
|
|
981
|
-
}))), /* @__PURE__ */ n.createElement(
|
|
982
|
-
},
|
|
981
|
+
}))), /* @__PURE__ */ n.createElement(Be, null));
|
|
982
|
+
}, wt = a.div`
|
|
983
983
|
display: flex;
|
|
984
984
|
flex-direction: column;
|
|
985
985
|
align-items: stretch;
|
|
@@ -1027,12 +1027,12 @@ const Re = ({ className: t }) => {
|
|
|
1027
1027
|
|
|
1028
1028
|
${se(
|
|
1029
1029
|
"h1",
|
|
1030
|
-
|
|
1030
|
+
f`
|
|
1031
1031
|
font-weight: normal;
|
|
1032
1032
|
`
|
|
1033
1033
|
)}
|
|
1034
|
-
`,
|
|
1035
|
-
const e =
|
|
1034
|
+
`, kt = ({ dispatch: t }) => {
|
|
1035
|
+
const e = Ie(null);
|
|
1036
1036
|
return ce(() => {
|
|
1037
1037
|
e.current && e.current.parentNode && t("overlay-mounted", e.current);
|
|
1038
1038
|
}, [e]), /* @__PURE__ */ n.createElement(ie, {
|
|
@@ -1040,16 +1040,16 @@ const Re = ({ className: t }) => {
|
|
|
1040
1040
|
className: "humany-conversation-overlay-outlet",
|
|
1041
1041
|
ref: e
|
|
1042
1042
|
});
|
|
1043
|
-
},
|
|
1043
|
+
}, Ct = ({
|
|
1044
1044
|
dispatch: t,
|
|
1045
1045
|
header: e,
|
|
1046
1046
|
buttonLabel: r
|
|
1047
|
-
}) => /* @__PURE__ */ n.createElement(
|
|
1047
|
+
}) => /* @__PURE__ */ n.createElement(St, {
|
|
1048
1048
|
portalId: "humany-conversation-portal",
|
|
1049
1049
|
className: "humany-conversation-outlet"
|
|
1050
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1050
|
+
}, /* @__PURE__ */ n.createElement(zt, {
|
|
1051
1051
|
className: "humany-conversation-outlet-head"
|
|
1052
|
-
}, /* @__PURE__ */ n.createElement(
|
|
1052
|
+
}, /* @__PURE__ */ n.createElement(Mt, {
|
|
1053
1053
|
className: "humany-conversation-outlet-head-button",
|
|
1054
1054
|
"aria-label": r,
|
|
1055
1055
|
title: r,
|
|
@@ -1060,10 +1060,10 @@ const Re = ({ className: t }) => {
|
|
|
1060
1060
|
content: "caret-down"
|
|
1061
1061
|
},
|
|
1062
1062
|
size: 20
|
|
1063
|
-
})), e && /* @__PURE__ */ n.createElement(
|
|
1063
|
+
})), e && /* @__PURE__ */ n.createElement(Lt, {
|
|
1064
1064
|
className: "humany-conversation-outlet-header",
|
|
1065
1065
|
variant: "h1"
|
|
1066
|
-
}, e)), /* @__PURE__ */ n.createElement(fe, null)),
|
|
1066
|
+
}, e)), /* @__PURE__ */ n.createElement(fe, null)), St = a(ie)`
|
|
1067
1067
|
z-index: 11;
|
|
1068
1068
|
top: auto;
|
|
1069
1069
|
height: 65%;
|
|
@@ -1078,7 +1078,7 @@ const Re = ({ className: t }) => {
|
|
|
1078
1078
|
var e;
|
|
1079
1079
|
return (e = t.theme.sizes) == null ? void 0 : e.large;
|
|
1080
1080
|
}};
|
|
1081
|
-
`,
|
|
1081
|
+
`, zt = a.div`
|
|
1082
1082
|
display: flex;
|
|
1083
1083
|
flex-direction: column;
|
|
1084
1084
|
justify-content: center;
|
|
@@ -1092,7 +1092,7 @@ const Re = ({ className: t }) => {
|
|
|
1092
1092
|
return (e = t.theme.sizes) == null ? void 0 : e.normal;
|
|
1093
1093
|
}};
|
|
1094
1094
|
${(t) => t.theme.border && `border-bottom: ${t.theme.border};`}
|
|
1095
|
-
`,
|
|
1095
|
+
`, Lt = a(q)`
|
|
1096
1096
|
font-size: ${(t) => {
|
|
1097
1097
|
var e;
|
|
1098
1098
|
return (e = t.theme.fonts) == null ? void 0 : e.medium;
|
|
@@ -1102,7 +1102,7 @@ const Re = ({ className: t }) => {
|
|
|
1102
1102
|
return (e = t.theme.colors) == null ? void 0 : e.text;
|
|
1103
1103
|
}};
|
|
1104
1104
|
margin: 0;
|
|
1105
|
-
`,
|
|
1105
|
+
`, Mt = a(L)`
|
|
1106
1106
|
display: flex;
|
|
1107
1107
|
align-items: center;
|
|
1108
1108
|
justify-content: center;
|
|
@@ -1127,17 +1127,24 @@ const Re = ({ className: t }) => {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
`, Ft = (r) => {
|
|
1129
1129
|
var o = r, { className: t } = o, e = j(o, ["className"]);
|
|
1130
|
-
const {
|
|
1131
|
-
|
|
1130
|
+
const {
|
|
1131
|
+
overlay: l,
|
|
1132
|
+
overlayConversationHeader: s,
|
|
1133
|
+
overlayConversationCloseLabel: u,
|
|
1134
|
+
conversationControllerId: c
|
|
1135
|
+
} = M(), h = V();
|
|
1136
|
+
return /* @__PURE__ */ n.createElement(Me.Provider, {
|
|
1137
|
+
value: c ? { id: c } : null
|
|
1138
|
+
}, /* @__PURE__ */ n.createElement(Ht, x(g({}, e), {
|
|
1132
1139
|
className: H(t, "humany-conversation-component")
|
|
1133
|
-
}), /* @__PURE__ */ n.createElement(fe, null)), l && /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(
|
|
1134
|
-
dispatch:
|
|
1135
|
-
}), l.conversation && /* @__PURE__ */ n.createElement(
|
|
1136
|
-
dispatch:
|
|
1140
|
+
}), /* @__PURE__ */ n.createElement(fe, null)), l && /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(kt, {
|
|
1141
|
+
dispatch: h
|
|
1142
|
+
}), l.conversation && /* @__PURE__ */ n.createElement(Ct, {
|
|
1143
|
+
dispatch: h,
|
|
1137
1144
|
header: s,
|
|
1138
1145
|
buttonLabel: u
|
|
1139
1146
|
})));
|
|
1140
|
-
},
|
|
1147
|
+
}, Ht = a.div`
|
|
1141
1148
|
position: absolute;
|
|
1142
1149
|
right: 0;
|
|
1143
1150
|
left: 0;
|
|
@@ -1150,4 +1157,4 @@ const Re = ({ className: t }) => {
|
|
|
1150
1157
|
export {
|
|
1151
1158
|
Ft as default
|
|
1152
1159
|
};
|
|
1153
|
-
//# sourceMappingURL=conversation.
|
|
1160
|
+
//# sourceMappingURL=conversation.b485c8d7.js.map
|