@2uinc/frontend-component-xpert-chatbot 1.37.2 → 1.38.0
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/lib/index.min.js +444 -431
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -182,74 +182,13 @@ function Qa(e, t) {
|
|
182
182
|
}
|
183
183
|
);
|
184
184
|
}
|
185
|
-
var dt = Qa(F0, { path: "/" }),
|
186
|
-
function B0() {
|
187
|
-
if (Au) return Ta;
|
188
|
-
Au = 1;
|
189
|
-
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
190
|
-
return Ta = e, Ta;
|
191
|
-
}
|
192
|
-
var ya, Su;
|
193
|
-
function H0() {
|
194
|
-
if (Su) return ya;
|
195
|
-
Su = 1;
|
196
|
-
var e = /* @__PURE__ */ B0();
|
197
|
-
function t() {
|
198
|
-
}
|
199
|
-
function n() {
|
200
|
-
}
|
201
|
-
return n.resetWarningCache = t, ya = function() {
|
202
|
-
function r(u, s, l, c, d, f) {
|
203
|
-
if (f !== e) {
|
204
|
-
var p = new Error(
|
205
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
206
|
-
);
|
207
|
-
throw p.name = "Invariant Violation", p;
|
208
|
-
}
|
209
|
-
}
|
210
|
-
r.isRequired = r;
|
211
|
-
function a() {
|
212
|
-
return r;
|
213
|
-
}
|
214
|
-
var i = {
|
215
|
-
array: r,
|
216
|
-
bigint: r,
|
217
|
-
bool: r,
|
218
|
-
func: r,
|
219
|
-
number: r,
|
220
|
-
object: r,
|
221
|
-
string: r,
|
222
|
-
symbol: r,
|
223
|
-
any: r,
|
224
|
-
arrayOf: a,
|
225
|
-
element: r,
|
226
|
-
elementType: r,
|
227
|
-
instanceOf: a,
|
228
|
-
node: r,
|
229
|
-
objectOf: a,
|
230
|
-
oneOf: a,
|
231
|
-
oneOfType: a,
|
232
|
-
shape: a,
|
233
|
-
exact: a,
|
234
|
-
checkPropTypes: n,
|
235
|
-
resetWarningCache: t
|
236
|
-
};
|
237
|
-
return i.PropTypes = i, i;
|
238
|
-
}, ya;
|
239
|
-
}
|
240
|
-
var vu;
|
241
|
-
function Rs() {
|
242
|
-
return vu || (vu = 1, Ea.exports = /* @__PURE__ */ H0()()), Ea.exports;
|
243
|
-
}
|
244
|
-
var U0 = /* @__PURE__ */ Rs();
|
245
|
-
const x = /* @__PURE__ */ Bt(U0);
|
246
|
-
var Qn = { exports: {} };
|
185
|
+
var dt = Qa(F0, { path: "/" }), Qn = { exports: {} };
|
247
186
|
Qn.exports;
|
248
|
-
var
|
249
|
-
function
|
250
|
-
return
|
251
|
-
var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, u = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", f = "[object Date]", p = "[object Error]", h = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", y = "[object Number]", g = "[object Null]", D = "[object Object]", P = "[object Proxy]", Q = "[object RegExp]", j = "[object Set]", C = "[object String]", w = "[object Undefined]", G = "[object WeakMap]", q = "[object ArrayBuffer]", te = "[object DataView]", Y = "[object Float32Array]", $ = "[object Float64Array]", k = "[object Int8Array]", I = "[object Int16Array]", L = "[object Int32Array]", M = "[object Uint8Array]", V = "[object Uint8ClampedArray]", H = "[object Uint16Array]", U = "[object Uint32Array]", E = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/,
|
252
|
-
|
187
|
+
var Au;
|
188
|
+
function B0() {
|
189
|
+
return Au || (Au = 1, (function(e, t) {
|
190
|
+
var n = 200, r = "__lodash_hash_undefined__", a = 800, i = 16, u = 9007199254740991, s = "[object Arguments]", l = "[object Array]", c = "[object AsyncFunction]", d = "[object Boolean]", f = "[object Date]", p = "[object Error]", h = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", y = "[object Number]", g = "[object Null]", D = "[object Object]", P = "[object Proxy]", Q = "[object RegExp]", j = "[object Set]", C = "[object String]", w = "[object Undefined]", G = "[object WeakMap]", q = "[object ArrayBuffer]", te = "[object DataView]", Y = "[object Float32Array]", $ = "[object Float64Array]", k = "[object Int8Array]", I = "[object Int16Array]", L = "[object Int32Array]", M = "[object Uint8Array]", V = "[object Uint8ClampedArray]", H = "[object Uint16Array]", U = "[object Uint32Array]", E = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, x = {};
|
191
|
+
x[Y] = x[$] = x[k] = x[I] = x[L] = x[M] = x[V] = x[H] = x[U] = !0, x[s] = x[l] = x[q] = x[d] = x[te] = x[f] = x[p] = x[h] = x[m] = x[y] = x[D] = x[Q] = x[j] = x[C] = x[G] = !1;
|
253
192
|
var ie = typeof Cr == "object" && Cr && Cr.Object === Object && Cr, Te = typeof self == "object" && self && self.Object === Object && self, he = ie || Te || Function("return this")(), ve = t && !t.nodeType && t, Ie = ve && !0 && e && !e.nodeType && e, ze = Ie && Ie.exports === ve, Ne = ze && ie.process, tt = (function() {
|
254
193
|
try {
|
255
194
|
var A = Ie && Ie.require && Ie.require("util").types;
|
@@ -476,7 +415,7 @@ function j0() {
|
|
476
415
|
return N.test(y0(A));
|
477
416
|
}
|
478
417
|
function Zd(A) {
|
479
|
-
return Un(A) && mu(A.length) && !!
|
418
|
+
return Un(A) && mu(A.length) && !!x[Tr(A)];
|
480
419
|
}
|
481
420
|
function Jd(A) {
|
482
421
|
if (!en(A))
|
@@ -722,8 +661,69 @@ function j0() {
|
|
722
661
|
e.exports = S0;
|
723
662
|
})(Qn, Qn.exports)), Qn.exports;
|
724
663
|
}
|
725
|
-
var
|
726
|
-
const
|
664
|
+
var H0 = B0();
|
665
|
+
const Rs = /* @__PURE__ */ Bt(H0);
|
666
|
+
var Ea = { exports: {} }, Ta, Su;
|
667
|
+
function U0() {
|
668
|
+
if (Su) return Ta;
|
669
|
+
Su = 1;
|
670
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
671
|
+
return Ta = e, Ta;
|
672
|
+
}
|
673
|
+
var ya, vu;
|
674
|
+
function j0() {
|
675
|
+
if (vu) return ya;
|
676
|
+
vu = 1;
|
677
|
+
var e = /* @__PURE__ */ U0();
|
678
|
+
function t() {
|
679
|
+
}
|
680
|
+
function n() {
|
681
|
+
}
|
682
|
+
return n.resetWarningCache = t, ya = function() {
|
683
|
+
function r(u, s, l, c, d, f) {
|
684
|
+
if (f !== e) {
|
685
|
+
var p = new Error(
|
686
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
687
|
+
);
|
688
|
+
throw p.name = "Invariant Violation", p;
|
689
|
+
}
|
690
|
+
}
|
691
|
+
r.isRequired = r;
|
692
|
+
function a() {
|
693
|
+
return r;
|
694
|
+
}
|
695
|
+
var i = {
|
696
|
+
array: r,
|
697
|
+
bigint: r,
|
698
|
+
bool: r,
|
699
|
+
func: r,
|
700
|
+
number: r,
|
701
|
+
object: r,
|
702
|
+
string: r,
|
703
|
+
symbol: r,
|
704
|
+
any: r,
|
705
|
+
arrayOf: a,
|
706
|
+
element: r,
|
707
|
+
elementType: r,
|
708
|
+
instanceOf: a,
|
709
|
+
node: r,
|
710
|
+
objectOf: a,
|
711
|
+
oneOf: a,
|
712
|
+
oneOfType: a,
|
713
|
+
shape: a,
|
714
|
+
exact: a,
|
715
|
+
checkPropTypes: n,
|
716
|
+
resetWarningCache: t
|
717
|
+
};
|
718
|
+
return i.PropTypes = i, i;
|
719
|
+
}, ya;
|
720
|
+
}
|
721
|
+
var xu;
|
722
|
+
function Ds() {
|
723
|
+
return xu || (xu = 1, Ea.exports = /* @__PURE__ */ j0()()), Ea.exports;
|
724
|
+
}
|
725
|
+
var q0 = /* @__PURE__ */ Ds();
|
726
|
+
const v = /* @__PURE__ */ Bt(q0), z0 = {
|
727
727
|
id: "degrees-canvas-support",
|
728
728
|
chatApi: {
|
729
729
|
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
@@ -1480,7 +1480,7 @@ const Ds = /* @__PURE__ */ Bt(q0), z0 = {
|
|
1480
1480
|
c();
|
1481
1481
|
}, [c]);
|
1482
1482
|
const d = on(
|
1483
|
-
() =>
|
1483
|
+
() => Rs({ id: "generic", ...s }, n ?? {}),
|
1484
1484
|
[n, s]
|
1485
1485
|
), f = on(() => t || r ? i : !!n, [t, i, n, r]);
|
1486
1486
|
return /* @__PURE__ */ S.jsx(
|
@@ -1497,100 +1497,101 @@ const Ds = /* @__PURE__ */ Bt(q0), z0 = {
|
|
1497
1497
|
);
|
1498
1498
|
};
|
1499
1499
|
Ps.propTypes = {
|
1500
|
-
children:
|
1501
|
-
clientId:
|
1502
|
-
configurations:
|
1503
|
-
id:
|
1504
|
-
chatApi:
|
1505
|
-
endpoint:
|
1506
|
-
messageList:
|
1507
|
-
payloadParams:
|
1500
|
+
children: v.element.isRequired,
|
1501
|
+
clientId: v.string,
|
1502
|
+
configurations: v.shape({
|
1503
|
+
id: v.string,
|
1504
|
+
chatApi: v.shape({
|
1505
|
+
endpoint: v.string.isRequired,
|
1506
|
+
messageList: v.string.isRequired,
|
1507
|
+
payloadParams: v.string,
|
1508
|
+
buildTagsFromURL: v.bool
|
1508
1509
|
}).isRequired,
|
1509
|
-
primaryColor:
|
1510
|
-
disclaimer:
|
1511
|
-
text:
|
1512
|
-
privacyPolicyLink:
|
1510
|
+
primaryColor: v.string.isRequired,
|
1511
|
+
disclaimer: v.shape({
|
1512
|
+
text: v.string.isRequired,
|
1513
|
+
privacyPolicyLink: v.string.isRequired
|
1513
1514
|
}).isRequired,
|
1514
|
-
userTracking:
|
1515
|
-
enabled:
|
1516
|
-
prefix:
|
1517
|
-
payloadParams:
|
1515
|
+
userTracking: v.shape({
|
1516
|
+
enabled: v.bool.isRequired,
|
1517
|
+
prefix: v.string.isRequired,
|
1518
|
+
payloadParams: v.object
|
1518
1519
|
}).isRequired,
|
1519
|
-
webExperimentation:
|
1520
|
-
enabled:
|
1521
|
-
experimentName:
|
1520
|
+
webExperimentation: v.shape({
|
1521
|
+
enabled: v.bool.isRequired,
|
1522
|
+
experimentName: v.string
|
1522
1523
|
}).isRequired,
|
1523
|
-
launchButton:
|
1524
|
-
style:
|
1525
|
-
logoType:
|
1526
|
-
animatedGraduate:
|
1527
|
-
enabled:
|
1528
|
-
delayMs:
|
1524
|
+
launchButton: v.shape({
|
1525
|
+
style: v.shape({}).isRequired,
|
1526
|
+
logoType: v.string,
|
1527
|
+
animatedGraduate: v.shape({
|
1528
|
+
enabled: v.bool.isRequired,
|
1529
|
+
delayMs: v.number
|
1529
1530
|
}),
|
1530
|
-
message:
|
1531
|
-
enabled:
|
1532
|
-
text:
|
1531
|
+
message: v.shape({
|
1532
|
+
enabled: v.bool.isRequired,
|
1533
|
+
text: v.string
|
1533
1534
|
})
|
1534
1535
|
}).isRequired,
|
1535
|
-
proactiveMessage:
|
1536
|
-
enabled:
|
1537
|
-
textPrefix:
|
1538
|
-
text:
|
1539
|
-
delayMs:
|
1540
|
-
style:
|
1536
|
+
proactiveMessage: v.shape({
|
1537
|
+
enabled: v.bool.isRequired,
|
1538
|
+
textPrefix: v.string,
|
1539
|
+
text: v.string,
|
1540
|
+
delayMs: v.number.isRequired,
|
1541
|
+
style: v.shape({}).isRequired
|
1541
1542
|
}).isRequired,
|
1542
|
-
conversationScreen:
|
1543
|
-
header:
|
1544
|
-
logo:
|
1545
|
-
type:
|
1546
|
-
style:
|
1543
|
+
conversationScreen: v.shape({
|
1544
|
+
header: v.shape({
|
1545
|
+
logo: v.shape({
|
1546
|
+
type: v.string.isRequired,
|
1547
|
+
style: v.shape({})
|
1547
1548
|
}).isRequired,
|
1548
|
-
container:
|
1549
|
-
style:
|
1549
|
+
container: v.shape({
|
1550
|
+
style: v.shape({}).isRequired
|
1550
1551
|
})
|
1551
1552
|
}),
|
1552
|
-
systemMessage:
|
1553
|
-
prompts:
|
1554
|
-
|
1555
|
-
id:
|
1556
|
-
text:
|
1553
|
+
systemMessage: v.string.isRequired,
|
1554
|
+
prompts: v.arrayOf(
|
1555
|
+
v.shape({
|
1556
|
+
id: v.number.isRequired,
|
1557
|
+
text: v.string.isRequired
|
1557
1558
|
})
|
1558
1559
|
),
|
1559
|
-
userMessageBubble:
|
1560
|
-
style:
|
1560
|
+
userMessageBubble: v.shape({
|
1561
|
+
style: v.shape({}).isRequired
|
1561
1562
|
}),
|
1562
|
-
conversationHistory:
|
1563
|
-
allowDeletion:
|
1564
|
-
enabled:
|
1563
|
+
conversationHistory: v.shape({
|
1564
|
+
allowDeletion: v.bool.isRequired,
|
1565
|
+
enabled: v.bool.isRequired
|
1565
1566
|
}).isRequired,
|
1566
|
-
maintenanceBanner:
|
1567
|
-
enabled:
|
1568
|
-
text:
|
1569
|
-
endDateTime:
|
1567
|
+
maintenanceBanner: v.shape({
|
1568
|
+
enabled: v.bool,
|
1569
|
+
text: v.string,
|
1570
|
+
endDateTime: v.string
|
1570
1571
|
}),
|
1571
|
-
liveChat:
|
1572
|
-
enabled:
|
1573
|
-
form:
|
1574
|
-
|
1575
|
-
key:
|
1576
|
-
name:
|
1577
|
-
validations:
|
1572
|
+
liveChat: v.shape({
|
1573
|
+
enabled: v.bool.isRequired,
|
1574
|
+
form: v.arrayOf(
|
1575
|
+
v.shape({
|
1576
|
+
key: v.string.isRequired,
|
1577
|
+
name: v.string.isRequired,
|
1578
|
+
validations: v.arrayOf(v.string)
|
1578
1579
|
})
|
1579
1580
|
),
|
1580
|
-
formHeader:
|
1581
|
-
privacyPolicyLink:
|
1582
|
-
privacyPolicyText:
|
1583
|
-
queueMessages:
|
1584
|
-
socketUrl:
|
1585
|
-
sourceCode:
|
1586
|
-
options:
|
1587
|
-
useSurvey:
|
1588
|
-
useOwnChat:
|
1581
|
+
formHeader: v.string,
|
1582
|
+
privacyPolicyLink: v.string,
|
1583
|
+
privacyPolicyText: v.string,
|
1584
|
+
queueMessages: v.arrayOf(v.string),
|
1585
|
+
socketUrl: v.string,
|
1586
|
+
sourceCode: v.string,
|
1587
|
+
options: v.shape({}),
|
1588
|
+
useSurvey: v.bool,
|
1589
|
+
useOwnChat: v.bool
|
1589
1590
|
})
|
1590
1591
|
}).isRequired
|
1591
1592
|
}),
|
1592
|
-
xpertKey:
|
1593
|
-
widgetMode:
|
1593
|
+
xpertKey: v.string,
|
1594
|
+
widgetMode: v.bool
|
1594
1595
|
};
|
1595
1596
|
const Qt = Gr({}), Oe = {
|
1596
1597
|
AGENT: "agent",
|
@@ -1603,21 +1604,21 @@ const Qt = Gr({}), Oe = {
|
|
1603
1604
|
}, Ms = {
|
1604
1605
|
ESCALATE_TO_AN_AGENT: "escalate_to_an_agent",
|
1605
1606
|
GENERATE_PROMPT_CARDS: "generate_prompt_cards"
|
1606
|
-
}, Fs =
|
1607
|
-
content:
|
1608
|
-
feedbackThumbType:
|
1609
|
-
liveAgent:
|
1610
|
-
role:
|
1611
|
-
timestamp:
|
1612
|
-
toolCalls:
|
1613
|
-
|
1614
|
-
function:
|
1615
|
-
name:
|
1607
|
+
}, Fs = v.shape({
|
1608
|
+
content: v.string.isRequired,
|
1609
|
+
feedbackThumbType: v.oneOf(["DOWN", "UP"]),
|
1610
|
+
liveAgent: v.bool,
|
1611
|
+
role: v.oneOf(Object.values(Oe)).isRequired,
|
1612
|
+
timestamp: v.instanceOf(Date),
|
1613
|
+
toolCalls: v.arrayOf(
|
1614
|
+
v.shape({
|
1615
|
+
function: v.shape({
|
1616
|
+
name: v.string
|
1616
1617
|
})
|
1617
1618
|
})
|
1618
1619
|
),
|
1619
|
-
toolCallId:
|
1620
|
-
}), Xr =
|
1620
|
+
toolCallId: v.number
|
1621
|
+
}), Xr = v.arrayOf(Fs), Bs = ({
|
1621
1622
|
children: e,
|
1622
1623
|
conversation: t,
|
1623
1624
|
onFeedbackSelection: n,
|
@@ -1641,10 +1642,10 @@ const Qt = Gr({}), Oe = {
|
|
1641
1642
|
return /* @__PURE__ */ S.jsx(Qt.Provider, { value: b, children: e });
|
1642
1643
|
};
|
1643
1644
|
Bs.propTypes = {
|
1644
|
-
children:
|
1645
|
+
children: v.element.isRequired,
|
1645
1646
|
conversation: Xr,
|
1646
|
-
onFeedbackSelection:
|
1647
|
-
onMessageSent:
|
1647
|
+
onFeedbackSelection: v.func,
|
1648
|
+
onMessageSent: v.func
|
1648
1649
|
};
|
1649
1650
|
const Ou = 991, Z0 = () => {
|
1650
1651
|
const [e, t] = le(
|
@@ -1684,9 +1685,9 @@ const Ou = 991, Z0 = () => {
|
|
1684
1685
|
return /* @__PURE__ */ S.jsx(at.Provider, { value: D, children: e });
|
1685
1686
|
};
|
1686
1687
|
Hs.propTypes = {
|
1687
|
-
children:
|
1688
|
-
externalLoading:
|
1689
|
-
externalStreaming:
|
1688
|
+
children: v.element.isRequired,
|
1689
|
+
externalLoading: v.bool,
|
1690
|
+
externalStreaming: v.bool
|
1690
1691
|
};
|
1691
1692
|
var _a = { exports: {} };
|
1692
1693
|
/*!
|
@@ -1760,11 +1761,11 @@ function Si({
|
|
1760
1761
|
);
|
1761
1762
|
}
|
1762
1763
|
Si.propTypes = {
|
1763
|
-
label:
|
1764
|
-
onClick:
|
1765
|
-
children:
|
1766
|
-
className:
|
1767
|
-
style:
|
1764
|
+
label: v.string.isRequired,
|
1765
|
+
onClick: v.func.isRequired,
|
1766
|
+
children: v.node.isRequired,
|
1767
|
+
className: v.string,
|
1768
|
+
style: v.shape()
|
1768
1769
|
};
|
1769
1770
|
const tf = 1500, nf = `The parent container is wider than the chatbot launch button it contains so that the animated graduate
|
1770
1771
|
eyes follow your mouse when you hover near it.`, js = ({
|
@@ -1970,7 +1971,7 @@ eyes follow your mouse when you hover near it.`, js = ({
|
|
1970
1971
|
);
|
1971
1972
|
};
|
1972
1973
|
js.propTypes = {
|
1973
|
-
handleFloatingActionButtonClick:
|
1974
|
+
handleFloatingActionButtonClick: v.func
|
1974
1975
|
};
|
1975
1976
|
const rf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M281-240q-14%200-27.5-14T240-282v-98h500v-340h100q14%200%2027%2014t13%2029v596L721-240H281ZM80-280v-558q0-14%2013-28t27-14h519q15%200%2028%2013.5t13%2028.5v356q0%2014-13%2028t-28%2014H240L80-280Zm540-220v-320H140v320h480Zm-480%200v-320%20320Z'%20fill='%23FFFFFF'/%3e%3c/svg%3e", qs = "data:image/svg+xml,%3csvg%20width='1871'%20height='564'%20viewBox='0%200%201871%20564'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M928%20188H1871L1808%20491H865L928%20188Z'%20fill='%23F0CC00'/%3e%3cg%20clip-path='url(%23clip0_123_428)'%3e%3cpath%20d='M255.273%20197.387C250.852%20192.254%20245.352%20188.185%20238.796%20185.188C232.232%20182.191%20224.597%20180.692%20215.898%20180.692C207.049%20180.692%20198.777%20182.266%20191.074%20185.405C183.372%20188.545%20176.381%20193.004%20170.102%20198.781C163.823%20204.558%20158.406%20211.482%20153.835%20219.537C149.264%20227.6%20145.63%20236.547%20142.926%20246.393H268.116C268.258%20245.681%20268.363%20244.362%20268.438%20242.437C268.505%20240.511%20268.543%20238.622%20268.543%20236.764C268.543%20229.203%20267.434%20222.032%20265.223%20215.251C263.013%20208.485%20259.694%20202.528%20255.273%20197.387Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M492.301%20198.571C487.303%20193.079%20481.241%20188.83%20474.108%20185.84C466.975%20182.843%20458.913%20181.344%20449.929%20181.344C438.083%20181.344%20427.098%20183.989%20416.975%20189.264C406.845%20194.547%20398.071%20201.891%20390.653%20211.31C383.235%20220.729%20377.383%20231.961%20373.105%20245.014C368.827%20258.067%20366.684%20272.372%20366.684%20287.921C366.684%20297.624%20368.077%20306.541%20370.857%20314.671C373.637%20322.802%20377.526%20329.763%20382.516%20335.54C387.506%20341.317%20393.5%20345.813%20400.491%20349.021C407.482%20352.228%20415.26%20353.839%20423.816%20353.839C435.797%20353.839%20446.887%20351.021%20457.092%20345.386C467.29%20339.751%20476.169%20332.048%20483.736%20322.277C491.297%20312.506%20497.216%20301.019%20501.494%20287.823C505.773%20274.628%20507.916%20260.398%20507.916%20245.127C507.916%20235.28%20506.56%20226.438%20503.847%20218.593C501.142%20210.733%20497.291%20204.064%20492.301%20198.571Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M639.924%2092.2794L659.211%200H92.881L0%20443.638H473.509L447.426%20562.623H901.004L1001.06%2092.2719H639.924V92.2794ZM306.846%20249.503C306.704%20252.575%20306.486%20255.715%20306.202%20258.922C305.917%20262.129%20305.632%20265.276%20305.347%20268.341C305.063%20271.405%20304.703%20274.013%20304.276%20276.149H138.003C137.86%20278.149%20137.748%20280.075%20137.681%20281.926C137.606%20283.784%20137.576%20285.71%20137.576%20287.703C137.576%20299.543%20139.284%20309.636%20142.708%20317.983C146.132%20326.331%20150.591%20333.142%20156.083%20338.425C161.575%20343.708%20167.749%20347.522%20174.598%20349.875C181.446%20352.228%20188.362%20353.412%20195.353%20353.412C210.616%20353.412%20222.881%20350.774%20232.158%20345.491C241.426%20340.216%20248.492%20333.082%20253.34%20324.09H292.505C290.077%20332.94%20286.083%20341.213%20280.524%20348.916C274.957%20356.619%20267.936%20363.288%20259.446%20368.923C250.957%20374.557%20241.111%20378.979%20229.917%20382.193C218.715%20385.4%20206.412%20387.004%20193%20387.004C180.157%20387.004%20168.034%20384.898%20156.622%20380.687C145.203%20376.483%20135.253%20370.271%20126.771%20362.066C118.282%20353.861%20111.576%20343.768%20106.653%20331.786C101.73%20319.797%2099.2724%20306.032%2099.2724%20290.476C99.2724%20269.217%20102.232%20249.855%20108.151%20232.373C114.071%20214.899%20122.313%20199.92%20132.87%20187.429C143.428%20174.945%20156.09%20165.279%20170.859%20158.43C185.627%20151.581%20201.782%20148.157%20219.33%20148.157C231.168%20148.157%20242.408%20150.225%20253.033%20154.368C263.657%20158.505%20272.971%20164.529%20280.958%20172.45C288.946%20180.37%20295.292%20190.104%20300.005%20201.658C304.711%20213.213%20307.071%20226.483%20307.071%20241.462C307.063%20243.763%20306.988%20246.438%20306.846%20249.503ZM481.601%20382.935L488.232%20351.478H484.808C476.386%20362.463%20465.829%20371.133%20453.136%20377.48C440.435%20383.827%20426.739%20387.004%20412.053%20387.004C400.499%20387.004%20389.657%20384.823%20379.526%20380.477C369.396%20376.131%20360.517%20369.882%20352.882%20361.752C345.247%20353.621%20339.222%20343.775%20334.802%20332.221C330.381%20320.659%20328.171%20307.748%20328.171%20293.481C328.171%20279.641%20329.557%20266.407%20332.344%20253.781C335.124%20241.155%20339.088%20229.458%20344.22%20218.683C349.353%20207.908%20355.527%20198.174%20362.735%20189.474C369.936%20180.775%20377.93%20173.356%20386.704%20167.219C395.478%20161.09%20404.964%20156.377%20415.162%20153.095C425.36%20149.813%20436.03%20148.171%20447.156%20148.171C455.429%20148.171%20463.311%20149.318%20470.804%20151.596C478.297%20153.881%20485.07%20157.051%20491.132%20161.12C497.194%20165.189%20502.401%20170.112%20506.754%20175.889C511.108%20181.666%20514.277%20187.983%20516.278%20194.832H519.702L548.16%2060.6503H585.609L517.132%20382.95H481.601V382.935ZM852.406%20501.988H769.505L715.294%20383.01H708.521L608.192%20501.988H525.786L682.124%20316.755L609.698%20152.907H694.195L742.374%20265.711H746.854L837.959%20152.907H921.489L772.24%20324.967L852.406%20501.988Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M1050.36%20150.673C1046.27%20150.673%201042.42%20149.908%201038.84%20148.377C1035.26%20146.846%201032.11%20144.723%201029.4%20142.007C1026.68%20139.29%201024.56%20136.139%201023.03%20132.56C1021.5%20128.981%201020.73%20125.139%201020.73%20121.043C1020.73%20116.946%201021.5%20113.104%201023.03%20109.525C1024.56%20105.946%201026.68%20102.795%201029.4%20100.079C1032.11%2097.3624%201035.27%2095.239%201038.84%2093.7083C1042.42%2092.1777%201046.27%2091.4124%201050.36%2091.4124C1054.46%2091.4124%201058.3%2092.1777%201061.89%2093.7083C1065.47%2095.239%201068.62%2097.3624%201071.33%20100.079C1074.05%20102.795%201076.17%20105.946%201077.7%20109.525C1079.23%20113.104%201080%20116.946%201080%20121.043C1080%20125.139%201079.23%20128.981%201077.7%20132.56C1076.17%20136.139%201074.05%20139.29%201071.33%20142.007C1068.62%20144.723%201065.47%20146.846%201061.89%20148.377C1058.3%20149.908%201054.47%20150.673%201050.36%20150.673ZM1050.36%20145.15C1054.8%20145.15%201058.85%20144.062%201062.49%20141.894C1066.13%20139.718%201069.05%20136.814%201071.22%20133.168C1073.4%20129.529%201074.48%20125.484%201074.48%20121.035C1074.48%20116.586%201073.39%20112.549%201071.22%20108.902C1069.05%20105.263%201066.14%20102.352%201062.49%20100.176C1058.85%2098.0002%201054.8%2096.9197%201050.36%2096.9197C1045.92%2096.9197%201041.88%2098.0077%201038.23%20100.176C1034.58%20102.352%201031.68%20105.256%201029.5%20108.902C1027.33%20112.541%201026.25%20116.586%201026.25%20121.035C1026.25%20125.484%201027.33%20129.521%201029.5%20133.168C1031.68%20136.814%201034.58%20139.718%201038.23%20141.894C1041.87%20144.07%201045.91%20145.15%201050.36%20145.15ZM1040.32%20134.368V107.027H1053.44C1054.82%20107.027%201056.16%20107.357%201057.45%20108.009C1058.75%20108.662%201059.82%20109.63%201060.68%20110.898C1061.53%20112.174%201061.96%20113.734%201061.96%20115.588C1061.96%20117.441%201061.52%20119.039%201060.64%20120.382C1059.76%20121.725%201058.65%20122.761%201057.31%20123.474C1055.97%20124.194%201054.58%20124.547%201053.14%20124.547H1042.99V120.802H1051.88C1053.14%20120.802%201054.26%20120.352%201055.27%20119.452C1056.27%20118.552%201056.77%20117.261%201056.77%20115.58C1056.77%20113.9%201056.27%20112.616%201055.27%20111.874C1054.27%20111.131%201053.18%20110.763%201051.99%20110.763H1045.1V134.361H1040.32V134.368ZM1056.25%20121.658L1063.07%20134.368H1057.74L1051.1%20121.658H1056.25Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3cpath%20d='M1142.1%20319.054L1167.87%20267.107H1200.71L1159.91%20338.956L1201.71%20412H1169.07L1142.49%20359.257L1116.02%20412H1082.99L1124.78%20338.956L1084.08%20267.107H1116.72L1142.1%20319.054ZM1241.94%20358.195V412H1215.04V269.336H1270.88C1278.22%20269.336%201284.6%20270.559%201290.04%20273.005C1295.47%20275.315%201299.96%20278.44%201303.49%20282.38C1307.16%20286.184%201309.88%20290.6%201311.64%20295.627C1313.54%20300.518%201314.5%20305.546%201314.5%20310.709V315.6C1314.5%20320.899%201313.54%20326.13%201311.64%20331.293C1309.88%20336.32%201307.16%20340.872%201303.49%20344.948C1299.96%20348.888%201295.47%20352.081%201290.04%20354.527C1284.6%20356.973%201278.22%20358.195%201270.88%20358.195H1241.94ZM1241.94%20332.516H1268.23C1274.21%20332.516%201278.9%20330.885%201282.29%20327.625C1285.83%20324.364%201287.59%20320.152%201287.59%20314.989V312.543C1287.59%20307.38%201285.83%20303.168%201282.29%20299.907C1278.9%20296.646%201274.21%20295.016%201268.23%20295.016H1241.94V332.516ZM1337.79%20269.336H1427.87V295.016H1364.69V327.625H1425.43V353.304H1364.69V386.321H1430.32V412H1337.79V269.336ZM1552.46%20412H1525.56V369.201C1525.56%20365.94%201524.68%20363.291%201522.91%20361.252C1521.28%20359.214%201518.49%20358.195%201514.55%20358.195H1483.57V412H1456.67V269.336H1511.29C1518.63%20269.336%201525.08%20270.355%201530.65%20272.393C1536.22%20274.431%201540.84%20277.285%201544.51%20280.953C1548.32%20284.486%201551.17%20288.63%201553.07%20293.385C1555.11%20298.141%201556.13%20303.236%201556.13%20308.671V313.562C1556.13%20319.404%201554.57%20324.907%201551.44%20330.07C1548.32%20335.097%201543.49%20338.97%201536.97%20341.687V345.356C1541.73%20345.899%201545.46%20347.733%201548.18%20350.858C1551.03%20353.983%201552.46%20357.924%201552.46%20362.679V412ZM1483.57%20332.516H1509.25C1515.78%20332.516%201520.73%20331.021%201524.13%20328.032C1527.53%20324.907%201529.23%20320.559%201529.23%20314.989V312.543C1529.23%20307.788%201527.53%20303.711%201524.13%20300.315C1520.73%20296.782%201515.78%20295.016%201509.25%20295.016H1483.57V332.516ZM1571.48%20269.336H1674.19V295.016H1636.29V412H1609.38V295.016H1571.48V269.336Z'%20fill='%2300262B'/%3e%3cdefs%3e%3cclipPath%20id='clip0_123_428'%3e%3crect%20width='1080'%20height='563.25'%20fill='%23FFFFFF'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", af = {
|
1976
1977
|
edx: qs,
|
@@ -2003,7 +2004,7 @@ const rf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
|
|
2003
2004
|
);
|
2004
2005
|
};
|
2005
2006
|
zs.propTypes = {
|
2006
|
-
handleFloatingActionButtonClick:
|
2007
|
+
handleFloatingActionButtonClick: v.func
|
2007
2008
|
};
|
2008
2009
|
/*!
|
2009
2010
|
* tabbable 6.2.0
|
@@ -2439,12 +2440,12 @@ var wu = {
|
|
2439
2440
|
* @returns {HTMLElement|undefined} The next tabbable node, if any.
|
2440
2441
|
*/
|
2441
2442
|
nextTabbableNode: function(oe) {
|
2442
|
-
var
|
2443
|
-
return ie < 0 ?
|
2443
|
+
var x = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ie = I.indexOf(oe);
|
2444
|
+
return ie < 0 ? x ? L.slice(L.indexOf(oe) + 1).find(function(Te) {
|
2444
2445
|
return an(Te);
|
2445
2446
|
}) : L.slice(0, L.indexOf(oe)).reverse().find(function(Te) {
|
2446
2447
|
return an(Te);
|
2447
|
-
}) : I[ie + (
|
2448
|
+
}) : I[ie + (x ? 1 : -1)];
|
2448
2449
|
}
|
2449
2450
|
};
|
2450
2451
|
}), u.tabbableGroups = u.containerGroups.filter(function(k) {
|
@@ -2488,8 +2489,8 @@ var wu = {
|
|
2488
2489
|
return I === Ie;
|
2489
2490
|
});
|
2490
2491
|
if (ne < 0 && (E.container === I || Lr(I, i.tabbableOptions) && !an(I, i.tabbableOptions) && !E.nextTabbableNode(I, !1)) && (ne = U), ne >= 0) {
|
2491
|
-
var oe = ne === 0 ? u.tabbableGroups.length - 1 : ne - 1,
|
2492
|
-
H = Xt(I) >= 0 ?
|
2492
|
+
var oe = ne === 0 ? u.tabbableGroups.length - 1 : ne - 1, x = u.tabbableGroups[oe];
|
2493
|
+
H = Xt(I) >= 0 ? x.lastTabbableNode : x.lastDomTabbableNode;
|
2493
2494
|
} else Jn(L) || (H = E.nextTabbableNode(I, !1));
|
2494
2495
|
} else {
|
2495
2496
|
var ie = u.tabbableGroups.findIndex(function(ve) {
|
@@ -2754,7 +2755,7 @@ function Hf() {
|
|
2754
2755
|
}
|
2755
2756
|
return (w === "string" ? String : Number)(C);
|
2756
2757
|
}
|
2757
|
-
var b = At, m = /* @__PURE__ */
|
2758
|
+
var b = At, m = /* @__PURE__ */ Ds(), y = Ff, g = y.createFocusTrap, D = Bf, P = D.isFocusable, Q = /* @__PURE__ */ (function(C) {
|
2758
2759
|
function w(G) {
|
2759
2760
|
var q;
|
2760
2761
|
t(this, w), q = a(this, w, [G]), f(q, "getNodeForOption", function($) {
|
@@ -3037,18 +3038,18 @@ function Zs({
|
|
3037
3038
|
);
|
3038
3039
|
}
|
3039
3040
|
Zs.propTypes = {
|
3040
|
-
children:
|
3041
|
-
style:
|
3042
|
-
isMounted:
|
3043
|
-
className:
|
3041
|
+
children: v.node.isRequired,
|
3042
|
+
style: v.shape(),
|
3043
|
+
isMounted: v.bool,
|
3044
|
+
className: v.string
|
3044
3045
|
};
|
3045
3046
|
function Js({ children: e, isMounted: t }) {
|
3046
3047
|
const { widgetMode: n } = ue(Ve);
|
3047
3048
|
return n ? /* @__PURE__ */ S.jsx(Zs, { isMounted: t, children: e }) : /* @__PURE__ */ S.jsx("div", { className: "xpert_chatbot_inline", children: e });
|
3048
3049
|
}
|
3049
3050
|
Js.propTypes = {
|
3050
|
-
children:
|
3051
|
-
isMounted:
|
3051
|
+
children: v.node.isRequired,
|
3052
|
+
isMounted: v.bool
|
3052
3053
|
};
|
3053
3054
|
const el = () => {
|
3054
3055
|
const { disclaimer: e } = ue(Ve), t = rt(null);
|
@@ -4236,13 +4237,13 @@ function Ni({
|
|
4236
4237
|
] });
|
4237
4238
|
}
|
4238
4239
|
Ni.propTypes = {
|
4239
|
-
containerStyle:
|
4240
|
-
disabled:
|
4241
|
-
handleSend:
|
4242
|
-
hasError:
|
4243
|
-
inputRef:
|
4244
|
-
margin:
|
4245
|
-
handleChange:
|
4240
|
+
containerStyle: v.shape(),
|
4241
|
+
disabled: v.bool.isRequired,
|
4242
|
+
handleSend: v.func.isRequired,
|
4243
|
+
hasError: v.bool,
|
4244
|
+
inputRef: v.shape({ current: v.instanceOf(Object) }).isRequired,
|
4245
|
+
margin: v.string,
|
4246
|
+
handleChange: v.func
|
4246
4247
|
};
|
4247
4248
|
const ai = ({ content: e = "Please try again later." }) => {
|
4248
4249
|
const t = rt(null);
|
@@ -4308,7 +4309,7 @@ const ai = ({ content: e = "Please try again later." }) => {
|
|
4308
4309
|
);
|
4309
4310
|
};
|
4310
4311
|
ai.propTypes = {
|
4311
|
-
content:
|
4312
|
+
content: v.string
|
4312
4313
|
};
|
4313
4314
|
const Vu = ["http", "https", "mailto", "tel"];
|
4314
4315
|
function zh(e) {
|
@@ -6197,112 +6198,112 @@ function y1(e, t, n) {
|
|
6197
6198
|
const r = this;
|
6198
6199
|
let a, i, u, s, l;
|
6199
6200
|
return c;
|
6200
|
-
function c(
|
6201
|
-
return d(
|
6201
|
+
function c(x) {
|
6202
|
+
return d(x);
|
6202
6203
|
}
|
6203
|
-
function d(
|
6204
|
-
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(
|
6204
|
+
function d(x) {
|
6205
|
+
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(x), f;
|
6205
6206
|
}
|
6206
|
-
function f(
|
6207
|
-
return
|
6207
|
+
function f(x) {
|
6208
|
+
return x === 33 ? (e.consume(x), p) : x === 47 ? (e.consume(x), i = !0, m) : x === 63 ? (e.consume(x), a = 3, r.interrupt ? t : E) : Pt(x) ? (e.consume(x), u = String.fromCharCode(x), y) : n(x);
|
6208
6209
|
}
|
6209
|
-
function p(
|
6210
|
-
return
|
6210
|
+
function p(x) {
|
6211
|
+
return x === 45 ? (e.consume(x), a = 2, h) : x === 91 ? (e.consume(x), a = 5, s = 0, b) : Pt(x) ? (e.consume(x), a = 4, r.interrupt ? t : E) : n(x);
|
6211
6212
|
}
|
6212
|
-
function h(
|
6213
|
-
return
|
6213
|
+
function h(x) {
|
6214
|
+
return x === 45 ? (e.consume(x), r.interrupt ? t : E) : n(x);
|
6214
6215
|
}
|
6215
|
-
function b(
|
6216
|
+
function b(x) {
|
6216
6217
|
const ie = "CDATA[";
|
6217
|
-
return
|
6218
|
+
return x === ie.charCodeAt(s++) ? (e.consume(x), s === ie.length ? r.interrupt ? t : $ : b) : n(x);
|
6218
6219
|
}
|
6219
|
-
function m(
|
6220
|
-
return Pt(
|
6220
|
+
function m(x) {
|
6221
|
+
return Pt(x) ? (e.consume(x), u = String.fromCharCode(x), y) : n(x);
|
6221
6222
|
}
|
6222
|
-
function y(
|
6223
|
-
if (
|
6224
|
-
const ie =
|
6225
|
-
return !ie && !i && go.includes(Te) ? (a = 1, r.interrupt ? t(
|
6223
|
+
function y(x) {
|
6224
|
+
if (x === null || x === 47 || x === 62 || St(x)) {
|
6225
|
+
const ie = x === 47, Te = u.toLowerCase();
|
6226
|
+
return !ie && !i && go.includes(Te) ? (a = 1, r.interrupt ? t(x) : $(x)) : m1.includes(u.toLowerCase()) ? (a = 6, ie ? (e.consume(x), g) : r.interrupt ? t(x) : $(x)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(x) : i ? D(x) : P(x));
|
6226
6227
|
}
|
6227
|
-
return
|
6228
|
+
return x === 45 || Nt(x) ? (e.consume(x), u += String.fromCharCode(x), y) : n(x);
|
6228
6229
|
}
|
6229
|
-
function g(
|
6230
|
-
return
|
6230
|
+
function g(x) {
|
6231
|
+
return x === 62 ? (e.consume(x), r.interrupt ? t : $) : n(x);
|
6231
6232
|
}
|
6232
|
-
function D(
|
6233
|
-
return Le(
|
6233
|
+
function D(x) {
|
6234
|
+
return Le(x) ? (e.consume(x), D) : te(x);
|
6234
6235
|
}
|
6235
|
-
function P(
|
6236
|
-
return
|
6236
|
+
function P(x) {
|
6237
|
+
return x === 47 ? (e.consume(x), te) : x === 58 || x === 95 || Pt(x) ? (e.consume(x), Q) : Le(x) ? (e.consume(x), P) : te(x);
|
6237
6238
|
}
|
6238
|
-
function Q(
|
6239
|
-
return
|
6239
|
+
function Q(x) {
|
6240
|
+
return x === 45 || x === 46 || x === 58 || x === 95 || Nt(x) ? (e.consume(x), Q) : j(x);
|
6240
6241
|
}
|
6241
|
-
function j(
|
6242
|
-
return
|
6242
|
+
function j(x) {
|
6243
|
+
return x === 61 ? (e.consume(x), C) : Le(x) ? (e.consume(x), j) : P(x);
|
6243
6244
|
}
|
6244
|
-
function C(
|
6245
|
-
return
|
6245
|
+
function C(x) {
|
6246
|
+
return x === null || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 34 || x === 39 ? (e.consume(x), l = x, w) : Le(x) ? (e.consume(x), C) : G(x);
|
6246
6247
|
}
|
6247
|
-
function w(
|
6248
|
-
return
|
6248
|
+
function w(x) {
|
6249
|
+
return x === l ? (e.consume(x), l = null, q) : x === null || me(x) ? n(x) : (e.consume(x), w);
|
6249
6250
|
}
|
6250
|
-
function G(
|
6251
|
-
return
|
6251
|
+
function G(x) {
|
6252
|
+
return x === null || x === 34 || x === 39 || x === 47 || x === 60 || x === 61 || x === 62 || x === 96 || St(x) ? j(x) : (e.consume(x), G);
|
6252
6253
|
}
|
6253
|
-
function q(
|
6254
|
-
return
|
6254
|
+
function q(x) {
|
6255
|
+
return x === 47 || x === 62 || Le(x) ? P(x) : n(x);
|
6255
6256
|
}
|
6256
|
-
function te(
|
6257
|
-
return
|
6257
|
+
function te(x) {
|
6258
|
+
return x === 62 ? (e.consume(x), Y) : n(x);
|
6258
6259
|
}
|
6259
|
-
function Y(
|
6260
|
-
return
|
6260
|
+
function Y(x) {
|
6261
|
+
return x === null || me(x) ? $(x) : Le(x) ? (e.consume(x), Y) : n(x);
|
6261
6262
|
}
|
6262
|
-
function $(
|
6263
|
-
return
|
6263
|
+
function $(x) {
|
6264
|
+
return x === 45 && a === 2 ? (e.consume(x), M) : x === 60 && a === 1 ? (e.consume(x), V) : x === 62 && a === 4 ? (e.consume(x), ne) : x === 63 && a === 3 ? (e.consume(x), E) : x === 93 && a === 5 ? (e.consume(x), U) : me(x) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
|
6264
6265
|
b1,
|
6265
6266
|
oe,
|
6266
6267
|
k
|
6267
|
-
)(
|
6268
|
+
)(x)) : x === null || me(x) ? (e.exit("htmlFlowData"), k(x)) : (e.consume(x), $);
|
6268
6269
|
}
|
6269
|
-
function k(
|
6270
|
+
function k(x) {
|
6270
6271
|
return e.check(
|
6271
6272
|
E1,
|
6272
6273
|
I,
|
6273
6274
|
oe
|
6274
|
-
)(
|
6275
|
+
)(x);
|
6275
6276
|
}
|
6276
|
-
function I(
|
6277
|
-
return e.enter("lineEnding"), e.consume(
|
6277
|
+
function I(x) {
|
6278
|
+
return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), L;
|
6278
6279
|
}
|
6279
|
-
function L(
|
6280
|
-
return
|
6280
|
+
function L(x) {
|
6281
|
+
return x === null || me(x) ? k(x) : (e.enter("htmlFlowData"), $(x));
|
6281
6282
|
}
|
6282
|
-
function M(
|
6283
|
-
return
|
6283
|
+
function M(x) {
|
6284
|
+
return x === 45 ? (e.consume(x), E) : $(x);
|
6284
6285
|
}
|
6285
|
-
function V(
|
6286
|
-
return
|
6286
|
+
function V(x) {
|
6287
|
+
return x === 47 ? (e.consume(x), u = "", H) : $(x);
|
6287
6288
|
}
|
6288
|
-
function H(
|
6289
|
-
if (
|
6289
|
+
function H(x) {
|
6290
|
+
if (x === 62) {
|
6290
6291
|
const ie = u.toLowerCase();
|
6291
|
-
return go.includes(ie) ? (e.consume(
|
6292
|
+
return go.includes(ie) ? (e.consume(x), ne) : $(x);
|
6292
6293
|
}
|
6293
|
-
return Pt(
|
6294
|
+
return Pt(x) && u.length < 8 ? (e.consume(x), u += String.fromCharCode(x), H) : $(x);
|
6294
6295
|
}
|
6295
|
-
function U(
|
6296
|
-
return
|
6296
|
+
function U(x) {
|
6297
|
+
return x === 93 ? (e.consume(x), E) : $(x);
|
6297
6298
|
}
|
6298
|
-
function E(
|
6299
|
-
return
|
6299
|
+
function E(x) {
|
6300
|
+
return x === 62 ? (e.consume(x), ne) : x === 45 && a === 2 ? (e.consume(x), E) : $(x);
|
6300
6301
|
}
|
6301
|
-
function ne(
|
6302
|
-
return
|
6302
|
+
function ne(x) {
|
6303
|
+
return x === null || me(x) ? (e.exit("htmlFlowData"), oe(x)) : (e.consume(x), ne);
|
6303
6304
|
}
|
6304
|
-
function oe(
|
6305
|
-
return e.exit("htmlFlow"), t(
|
6305
|
+
function oe(x) {
|
6306
|
+
return e.exit("htmlFlow"), t(x);
|
6306
6307
|
}
|
6307
6308
|
}
|
6308
6309
|
function _1(e, t, n) {
|
@@ -7067,9 +7068,9 @@ function tm(e, t, n) {
|
|
7067
7068
|
}
|
7068
7069
|
}
|
7069
7070
|
function oe(he) {
|
7070
|
-
return V = he, H = 0, he.length === 0 ? M :
|
7071
|
+
return V = he, H = 0, he.length === 0 ? M : x(he[H]);
|
7071
7072
|
}
|
7072
|
-
function
|
7073
|
+
function x(he) {
|
7073
7074
|
return ve;
|
7074
7075
|
function ve(Ie) {
|
7075
7076
|
return E = q(), U = he, he.partial || (c.currentConstruct = he), he.name && c.parser.constructs.disable.null.includes(he.name) ? Te() : he.tokenize.call(
|
@@ -7087,7 +7088,7 @@ function tm(e, t, n) {
|
|
7087
7088
|
return Y(U, E), L;
|
7088
7089
|
}
|
7089
7090
|
function Te(he) {
|
7090
|
-
return E.restore(), ++H < V.length ?
|
7091
|
+
return E.restore(), ++H < V.length ? x(V[H]) : M;
|
7091
7092
|
}
|
7092
7093
|
}
|
7093
7094
|
}
|
@@ -7429,7 +7430,7 @@ function _m(e) {
|
|
7429
7430
|
paragraph: d(),
|
7430
7431
|
referenceString: he,
|
7431
7432
|
resourceDestinationString: oe,
|
7432
|
-
resourceTitleString:
|
7433
|
+
resourceTitleString: x,
|
7433
7434
|
resource: ie,
|
7434
7435
|
setextHeading: d(te),
|
7435
7436
|
setextHeadingLineSequence: q,
|
@@ -7703,7 +7704,7 @@ function _m(e) {
|
|
7703
7704
|
const z = this.resume(), K = this.stack[this.stack.length - 1];
|
7704
7705
|
K.url = z;
|
7705
7706
|
}
|
7706
|
-
function
|
7707
|
+
function x() {
|
7707
7708
|
const z = this.resume(), K = this.stack[this.stack.length - 1];
|
7708
7709
|
K.title = z;
|
7709
7710
|
}
|
@@ -10206,62 +10207,62 @@ function Ui(e) {
|
|
10206
10207
|
}
|
10207
10208
|
Ui.propTypes = {
|
10208
10209
|
// Core options:
|
10209
|
-
children:
|
10210
|
+
children: v.string,
|
10210
10211
|
// Layout options:
|
10211
|
-
className:
|
10212
|
+
className: v.string,
|
10212
10213
|
// Filter options:
|
10213
|
-
allowElement:
|
10214
|
-
allowedElements:
|
10215
|
-
disallowedElements:
|
10216
|
-
unwrapDisallowed:
|
10214
|
+
allowElement: v.func,
|
10215
|
+
allowedElements: v.arrayOf(v.string),
|
10216
|
+
disallowedElements: v.arrayOf(v.string),
|
10217
|
+
unwrapDisallowed: v.bool,
|
10217
10218
|
// Plugin options:
|
10218
|
-
remarkPlugins:
|
10219
|
-
|
10220
|
-
|
10221
|
-
|
10222
|
-
|
10223
|
-
|
10224
|
-
|
10225
|
-
|
10226
|
-
|
10227
|
-
|
10228
|
-
|
10219
|
+
remarkPlugins: v.arrayOf(
|
10220
|
+
v.oneOfType([
|
10221
|
+
v.object,
|
10222
|
+
v.func,
|
10223
|
+
v.arrayOf(
|
10224
|
+
v.oneOfType([
|
10225
|
+
v.bool,
|
10226
|
+
v.string,
|
10227
|
+
v.object,
|
10228
|
+
v.func,
|
10229
|
+
v.arrayOf(
|
10229
10230
|
// prettier-ignore
|
10230
10231
|
// type-coverage:ignore-next-line
|
10231
|
-
|
10232
|
+
v.any
|
10232
10233
|
)
|
10233
10234
|
])
|
10234
10235
|
)
|
10235
10236
|
])
|
10236
10237
|
),
|
10237
|
-
rehypePlugins:
|
10238
|
-
|
10239
|
-
|
10240
|
-
|
10241
|
-
|
10242
|
-
|
10243
|
-
|
10244
|
-
|
10245
|
-
|
10246
|
-
|
10247
|
-
|
10238
|
+
rehypePlugins: v.arrayOf(
|
10239
|
+
v.oneOfType([
|
10240
|
+
v.object,
|
10241
|
+
v.func,
|
10242
|
+
v.arrayOf(
|
10243
|
+
v.oneOfType([
|
10244
|
+
v.bool,
|
10245
|
+
v.string,
|
10246
|
+
v.object,
|
10247
|
+
v.func,
|
10248
|
+
v.arrayOf(
|
10248
10249
|
// prettier-ignore
|
10249
10250
|
// type-coverage:ignore-next-line
|
10250
|
-
|
10251
|
+
v.any
|
10251
10252
|
)
|
10252
10253
|
])
|
10253
10254
|
)
|
10254
10255
|
])
|
10255
10256
|
),
|
10256
10257
|
// Transform options:
|
10257
|
-
sourcePos:
|
10258
|
-
rawSourcePos:
|
10259
|
-
skipHtml:
|
10260
|
-
includeElementIndex:
|
10261
|
-
transformLinkUri:
|
10262
|
-
linkTarget:
|
10263
|
-
transformImageUri:
|
10264
|
-
components:
|
10258
|
+
sourcePos: v.bool,
|
10259
|
+
rawSourcePos: v.bool,
|
10260
|
+
skipHtml: v.bool,
|
10261
|
+
includeElementIndex: v.bool,
|
10262
|
+
transformLinkUri: v.oneOfType([v.func, v.bool]),
|
10263
|
+
linkTarget: v.oneOfType([v.func, v.string]),
|
10264
|
+
transformImageUri: v.func,
|
10265
|
+
components: v.object
|
10265
10266
|
};
|
10266
10267
|
const Zl = -1, Jr = 0, rr = 1, Yr = 2, ji = 3, qi = 4, zi = 5, Yi = 6, Jl = 7, ec = 8, Fo = typeof self == "object" ? self : globalThis, z2 = (e, t) => {
|
10267
10268
|
const n = (a, i) => (e.set(i, a), a), r = (a) => {
|
@@ -19285,14 +19286,14 @@ function DT() {
|
|
19285
19286
|
return U ? tt : tt.endOf(c);
|
19286
19287
|
}, oe = function(ze, Ne) {
|
19287
19288
|
return Y.w(H.toDate()[ze].apply(H.toDate("s"), (U ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ne)), H);
|
19288
|
-
},
|
19289
|
+
}, x = this.$W, ie = this.$M, Te = this.$D, he = "set" + (this.$u ? "UTC" : "");
|
19289
19290
|
switch (E) {
|
19290
19291
|
case h:
|
19291
19292
|
return U ? ne(1, 0) : ne(31, 11);
|
19292
19293
|
case f:
|
19293
19294
|
return U ? ne(1, ie) : ne(0, ie + 1);
|
19294
19295
|
case d:
|
19295
|
-
var ve = this.$locale().weekStart || 0, Ie = (
|
19296
|
+
var ve = this.$locale().weekStart || 0, Ie = (x < ve ? x + 7 : x) - ve;
|
19296
19297
|
return ne(U ? Te - Ie : Te + (6 - Ie), ie);
|
19297
19298
|
case c:
|
19298
19299
|
case b:
|
@@ -19311,8 +19312,8 @@ function DT() {
|
|
19311
19312
|
}, L.$set = function(M, V) {
|
19312
19313
|
var H, U = Y.p(M), E = "set" + (this.$u ? "UTC" : ""), ne = (H = {}, H[c] = E + "Date", H[b] = E + "Date", H[f] = E + "Month", H[h] = E + "FullYear", H[l] = E + "Hours", H[s] = E + "Minutes", H[u] = E + "Seconds", H[i] = E + "Milliseconds", H)[U], oe = U === c ? this.$D + (V - this.$W) : V;
|
19313
19314
|
if (U === f || U === h) {
|
19314
|
-
var
|
19315
|
-
|
19315
|
+
var x = this.clone().set(b, 1);
|
19316
|
+
x.$d[ne](oe), x.init(), this.$d = x.set(b, Math.min(this.$D, x.daysInMonth())).$d;
|
19316
19317
|
} else ne && this.$d[ne](oe);
|
19317
19318
|
return this.init(), this;
|
19318
19319
|
}, L.set = function(M, V) {
|
@@ -19330,14 +19331,14 @@ function DT() {
|
|
19330
19331
|
if (E === h) return this.set(h, this.$y + M);
|
19331
19332
|
if (E === c) return ne(1);
|
19332
19333
|
if (E === d) return ne(7);
|
19333
|
-
var oe = (H = {}, H[s] = r, H[l] = a, H[u] = n, H)[E] || 1,
|
19334
|
-
return Y.w(
|
19334
|
+
var oe = (H = {}, H[s] = r, H[l] = a, H[u] = n, H)[E] || 1, x = this.$d.getTime() + M * oe;
|
19335
|
+
return Y.w(x, this);
|
19335
19336
|
}, L.subtract = function(M, V) {
|
19336
19337
|
return this.add(-1 * M, V);
|
19337
19338
|
}, L.format = function(M) {
|
19338
19339
|
var V = this, H = this.$locale();
|
19339
19340
|
if (!this.isValid()) return H.invalidDate || m;
|
19340
|
-
var U = M || "YYYY-MM-DDTHH:mm:ssZ", E = Y.z(this), ne = this.$H, oe = this.$m,
|
19341
|
+
var U = M || "YYYY-MM-DDTHH:mm:ssZ", E = Y.z(this), ne = this.$H, oe = this.$m, x = this.$M, ie = H.weekdays, Te = H.months, he = H.meridiem, ve = function(Ne, tt, pt, wt) {
|
19341
19342
|
return Ne && (Ne[tt] || Ne(V, U)) || pt[tt].slice(0, wt);
|
19342
19343
|
}, Ie = function(Ne) {
|
19343
19344
|
return Y.s(ne % 12 || 12, Ne, "0");
|
@@ -19353,13 +19354,13 @@ function DT() {
|
|
19353
19354
|
case "YYYY":
|
19354
19355
|
return Y.s(V.$y, 4, "0");
|
19355
19356
|
case "M":
|
19356
|
-
return
|
19357
|
+
return x + 1;
|
19357
19358
|
case "MM":
|
19358
|
-
return Y.s(
|
19359
|
+
return Y.s(x + 1, 2, "0");
|
19359
19360
|
case "MMM":
|
19360
|
-
return ve(H.monthsShort,
|
19361
|
+
return ve(H.monthsShort, x, Te, 3);
|
19361
19362
|
case "MMMM":
|
19362
|
-
return ve(Te,
|
19363
|
+
return ve(Te, x);
|
19363
19364
|
case "D":
|
19364
19365
|
return V.$D;
|
19365
19366
|
case "DD":
|
@@ -19403,7 +19404,7 @@ function DT() {
|
|
19403
19404
|
}, L.utcOffset = function() {
|
19404
19405
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
19405
19406
|
}, L.diff = function(M, V, H) {
|
19406
|
-
var U, E = this, ne = Y.p(V), oe = te(M),
|
19407
|
+
var U, E = this, ne = Y.p(V), oe = te(M), x = (oe.utcOffset() - this.utcOffset()) * r, ie = this - oe, Te = function() {
|
19407
19408
|
return Y.m(E, oe);
|
19408
19409
|
};
|
19409
19410
|
switch (ne) {
|
@@ -19417,10 +19418,10 @@ function DT() {
|
|
19417
19418
|
U = Te() / 3;
|
19418
19419
|
break;
|
19419
19420
|
case d:
|
19420
|
-
U = (ie -
|
19421
|
+
U = (ie - x) / 6048e5;
|
19421
19422
|
break;
|
19422
19423
|
case c:
|
19423
|
-
U = (ie -
|
19424
|
+
U = (ie - x) / 864e5;
|
19424
19425
|
break;
|
19425
19426
|
case l:
|
19426
19427
|
U = ie / a;
|
@@ -19507,9 +19508,9 @@ function rd({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
|
19507
19508
|
] });
|
19508
19509
|
}
|
19509
19510
|
rd.propTypes = {
|
19510
|
-
id:
|
19511
|
-
message:
|
19512
|
-
onFeedbackThumbSelection:
|
19511
|
+
id: v.number.isRequired,
|
19512
|
+
message: v.shape().isRequired,
|
19513
|
+
onFeedbackThumbSelection: v.func.isRequired
|
19513
19514
|
};
|
19514
19515
|
const FT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%20-960%20960%20960'%20width='24'%3e%3cpath%20d='M440-120v-80h320v-284q0-117-81.5-198.5T480-764q-117%200-198.5%2081.5T200-484v244h-40q-33%200-56.5-23.5T80-320v-80q0-21%2010.5-39.5T120-469l3-53q8-68%2039.5-126t79-101q47.5-43%20109-67T480-840q68%200%20129%2024t109%2066.5Q766-707%20797-649t40%20126l3%2052q19%209%2029.5%2027t10.5%2038v92q0%2020-10.5%2038T840-249v49q0%2033-23.5%2056.5T760-120H440Zm-80-280q-17%200-28.5-11.5T320-440q0-17%2011.5-28.5T360-480q17%200%2028.5%2011.5T400-440q0%2017-11.5%2028.5T360-400Zm240%200q-17%200-28.5-11.5T560-440q0-17%2011.5-28.5T600-480q17%200%2028.5%2011.5T640-440q0%2017-11.5%2028.5T600-400Zm-359-62q-7-106%2064-182t177-76q89%200%20156.5%2056.5T720-519q-91-1-167.5-49T435-698q-16%2080-67.5%20142.5T241-462Z'/%3e%3c/svg%3e";
|
19515
19516
|
function Ji({
|
@@ -19601,14 +19602,14 @@ function Ji({
|
|
19601
19602
|
] });
|
19602
19603
|
}
|
19603
19604
|
Ji.propTypes = {
|
19604
|
-
submitEvent:
|
19605
|
-
setLiveChatOpen:
|
19606
|
-
isTestUser:
|
19607
|
-
enableLiveChatMessage:
|
19608
|
-
containerStyle:
|
19609
|
-
buttonClassName:
|
19610
|
-
text:
|
19611
|
-
userTrackingName:
|
19605
|
+
submitEvent: v.func,
|
19606
|
+
setLiveChatOpen: v.func,
|
19607
|
+
isTestUser: v.bool,
|
19608
|
+
enableLiveChatMessage: v.bool,
|
19609
|
+
containerStyle: v.shape(),
|
19610
|
+
buttonClassName: v.string,
|
19611
|
+
text: v.string,
|
19612
|
+
userTrackingName: v.string
|
19612
19613
|
};
|
19613
19614
|
const ad = ({ children: e, id: t, link: n }) => {
|
19614
19615
|
const { contentRef: r } = ue(Qt), [a, i] = le(!1), u = rt(null), s = ct(() => i(!0), []), l = ct(() => i(!1), []), c = ct(() => i(!0), []), d = ct(() => i(!1), []), f = ct(
|
@@ -19652,9 +19653,9 @@ const ad = ({ children: e, id: t, link: n }) => {
|
|
19652
19653
|
});
|
19653
19654
|
};
|
19654
19655
|
ad.propTypes = {
|
19655
|
-
link:
|
19656
|
-
children:
|
19657
|
-
id:
|
19656
|
+
link: v.string.isRequired,
|
19657
|
+
children: v.element.isRequired,
|
19658
|
+
id: v.string.isRequired
|
19658
19659
|
};
|
19659
19660
|
const nt = [];
|
19660
19661
|
for (let e = 0; e < 256; ++e)
|
@@ -19688,8 +19689,8 @@ const eu = ({ children: e, index: t }) => {
|
|
19688
19689
|
return /* @__PURE__ */ S.jsx(ad, { link: e, id: n, children: /* @__PURE__ */ S.jsx("span", { className: "source-display-container", role: "button", tabIndex: 0, children: /* @__PURE__ */ S.jsx("span", { className: "source-display-square", children: /* @__PURE__ */ S.jsx("span", { className: "source-display-superindex", children: t }) }) }) });
|
19689
19690
|
};
|
19690
19691
|
eu.propTypes = {
|
19691
|
-
children:
|
19692
|
-
index:
|
19692
|
+
children: v.string,
|
19693
|
+
index: v.number
|
19693
19694
|
};
|
19694
19695
|
eu.displayName = "SourceDisplay";
|
19695
19696
|
const zT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='50px'%20viewBox='0%200%2024%2024'%20width='50px'%20fill='%2300262b'%3e%3cpath%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M12%2012c2.21%200%204-1.79%204-4s-1.79-4-4-4-4%201.79-4%204%201.79%204%204%204zm0%202c-2.67%200-8%201.34-8%204v2h16v-2c0-2.66-5.33-4-8-4z'/%3e%3c/svg%3e";
|
@@ -19721,10 +19722,10 @@ function Ai({
|
|
19721
19722
|
);
|
19722
19723
|
}
|
19723
19724
|
Ai.propTypes = {
|
19724
|
-
alignSelf:
|
19725
|
-
backgroundColor:
|
19726
|
-
margin:
|
19727
|
-
size:
|
19725
|
+
alignSelf: v.string,
|
19726
|
+
backgroundColor: v.string,
|
19727
|
+
margin: v.string,
|
19728
|
+
size: v.number
|
19728
19729
|
};
|
19729
19730
|
const YT = () => /* @__PURE__ */ S.jsx(
|
19730
19731
|
"div",
|
@@ -19825,8 +19826,8 @@ const YT = () => /* @__PURE__ */ S.jsx(
|
|
19825
19826
|
);
|
19826
19827
|
};
|
19827
19828
|
ud.propTypes = {
|
19828
|
-
src:
|
19829
|
-
alt:
|
19829
|
+
src: v.string.isRequired,
|
19830
|
+
alt: v.string
|
19830
19831
|
};
|
19831
19832
|
const $T = (e) => {
|
19832
19833
|
Array.from(e.entries()).forEach((n) => {
|
@@ -20034,15 +20035,15 @@ const GT = (e) => ({
|
|
20034
20035
|
);
|
20035
20036
|
};
|
20036
20037
|
tu.propTypes = {
|
20037
|
-
index:
|
20038
|
-
isTestUser:
|
20038
|
+
index: v.number.isRequired,
|
20039
|
+
isTestUser: v.bool,
|
20039
20040
|
message: Fs.isRequired,
|
20040
|
-
messageRef:
|
20041
|
-
onFeedbackThumbSelection:
|
20042
|
-
onMessageLinkClicked:
|
20043
|
-
setLiveChatOpen:
|
20044
|
-
submitEvent:
|
20045
|
-
toolCall:
|
20041
|
+
messageRef: v.shape({ current: v.instanceOf(Element) }),
|
20042
|
+
onFeedbackThumbSelection: v.func.isRequired,
|
20043
|
+
onMessageLinkClicked: v.func,
|
20044
|
+
setLiveChatOpen: v.func,
|
20045
|
+
submitEvent: v.func,
|
20046
|
+
toolCall: v.string
|
20046
20047
|
};
|
20047
20048
|
tu.displayName = "MessageBubble";
|
20048
20049
|
const od = I0(tu);
|
@@ -20061,11 +20062,11 @@ function nu({ message: e }) {
|
|
20061
20062
|
] });
|
20062
20063
|
}
|
20063
20064
|
nu.propTypes = {
|
20064
|
-
message:
|
20065
|
-
content:
|
20066
|
-
icon:
|
20067
|
-
iconColor:
|
20068
|
-
role:
|
20065
|
+
message: v.shape({
|
20066
|
+
content: v.string,
|
20067
|
+
icon: v.string,
|
20068
|
+
iconColor: v.string,
|
20069
|
+
role: v.oneOf([Oe.NOTIFICATION])
|
20069
20070
|
}).isRequired
|
20070
20071
|
};
|
20071
20072
|
nu.displayName = "NotificationMessage";
|
@@ -20093,7 +20094,7 @@ function sd({ disableScroll: e }) {
|
|
20093
20094
|
);
|
20094
20095
|
}
|
20095
20096
|
sd.propTypes = {
|
20096
|
-
disableScroll:
|
20097
|
+
disableScroll: v.bool
|
20097
20098
|
};
|
20098
20099
|
const ia = ({
|
20099
20100
|
isTestUser: e = !1,
|
@@ -20158,13 +20159,13 @@ const ia = ({
|
|
20158
20159
|
] });
|
20159
20160
|
};
|
20160
20161
|
ia.propTypes = {
|
20161
|
-
isTestUser:
|
20162
|
-
loading:
|
20162
|
+
isTestUser: v.bool,
|
20163
|
+
loading: v.bool.isRequired,
|
20163
20164
|
messages: Xr,
|
20164
|
-
onFeedbackThumbSelection:
|
20165
|
-
onMessageLinkClicked:
|
20166
|
-
setLiveChatOpen:
|
20167
|
-
submitEvent:
|
20165
|
+
onFeedbackThumbSelection: v.func.isRequired,
|
20166
|
+
onMessageLinkClicked: v.func,
|
20167
|
+
setLiveChatOpen: v.func,
|
20168
|
+
submitEvent: v.func
|
20168
20169
|
};
|
20169
20170
|
ia.displayName = "ConversationMessages";
|
20170
20171
|
const ld = () => {
|
@@ -20242,8 +20243,8 @@ const ru = ({ onPromptClick: e }) => {
|
|
20242
20243
|
] });
|
20243
20244
|
};
|
20244
20245
|
ru.propTypes = {
|
20245
|
-
loading:
|
20246
|
-
onPromptClick:
|
20246
|
+
loading: v.bool.isRequired,
|
20247
|
+
onPromptClick: v.func.isRequired
|
20247
20248
|
};
|
20248
20249
|
ru.displayName = "PromptList";
|
20249
20250
|
const cd = ({ chatContentRef: e, messages: t }) => {
|
@@ -20277,10 +20278,10 @@ const cd = ({ chatContentRef: e, messages: t }) => {
|
|
20277
20278
|
) });
|
20278
20279
|
};
|
20279
20280
|
cd.propTypes = {
|
20280
|
-
chatContentRef:
|
20281
|
-
current:
|
20281
|
+
chatContentRef: v.shape({
|
20282
|
+
current: v.instanceOf(Element)
|
20282
20283
|
}).isRequired,
|
20283
|
-
messages:
|
20284
|
+
messages: v.array.isRequired
|
20284
20285
|
};
|
20285
20286
|
function dd({
|
20286
20287
|
handleFeedbackThumbSelection: e = null,
|
@@ -20374,13 +20375,13 @@ function dd({
|
|
20374
20375
|
] });
|
20375
20376
|
}
|
20376
20377
|
dd.propTypes = {
|
20377
|
-
handleFeedbackThumbSelection:
|
20378
|
-
handleMessageLinkClicked:
|
20379
|
-
handleSend:
|
20380
|
-
inputRef:
|
20381
|
-
isTestUser:
|
20382
|
-
setLiveChatOpen:
|
20383
|
-
submitEvent:
|
20378
|
+
handleFeedbackThumbSelection: v.func,
|
20379
|
+
handleMessageLinkClicked: v.func,
|
20380
|
+
handleSend: v.func,
|
20381
|
+
inputRef: v.shape({ current: v.instanceOf(Object) }),
|
20382
|
+
isTestUser: v.bool,
|
20383
|
+
setLiveChatOpen: v.func,
|
20384
|
+
submitEvent: v.func
|
20384
20385
|
};
|
20385
20386
|
var Ya = {}, gt = {}, $a = {}, fs;
|
20386
20387
|
function Ht() {
|
@@ -20991,13 +20992,13 @@ function su() {
|
|
20991
20992
|
if (p !== null && b === !0) {
|
20992
20993
|
var U, E = !1, ne = !0, oe = function() {
|
20993
20994
|
return t(void 0, void 0, void 0, function() {
|
20994
|
-
var
|
20995
|
+
var x, ie, Te;
|
20995
20996
|
return n(this, function(he) {
|
20996
20997
|
switch (he.label) {
|
20997
20998
|
case 0:
|
20998
|
-
return
|
20999
|
+
return x = C, [4, (0, l.getUrl)(p, k)];
|
20999
21000
|
case 1:
|
21000
|
-
return
|
21001
|
+
return x.current = he.sent(), C.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), C.current = "ABORTED", (0, i.flushSync)(function() {
|
21001
21002
|
return Q(function(ve) {
|
21002
21003
|
return e(e({}, ve), { ABORTED: u.ReadyState.CLOSED });
|
21003
21004
|
});
|
@@ -21028,9 +21029,9 @@ function su() {
|
|
21028
21029
|
}, oe(), function() {
|
21029
21030
|
E = !0, ne = !1, $.current && ($.current = null), U?.(), g(null);
|
21030
21031
|
};
|
21031
|
-
} else (p === null || b === !1) && (q.current = 0, Q(function(
|
21032
|
+
} else (p === null || b === !1) && (q.current = 0, Q(function(x) {
|
21032
21033
|
var ie;
|
21033
|
-
return e(e({},
|
21034
|
+
return e(e({}, x), C.current && (ie = {}, ie[C.current] = u.ReadyState.CLOSED, ie));
|
21034
21035
|
}));
|
21035
21036
|
}, [p, b, L, M]), (0, a.useEffect)(function() {
|
21036
21037
|
I === u.ReadyState.OPEN && Y.current.splice(0).forEach(function(U) {
|
@@ -21305,8 +21306,8 @@ const c3 = "This conversation with a live agent has ended. Please note that a tr
|
|
21305
21306
|
return /* @__PURE__ */ S.jsx(mn.Provider, { value: V, children: e });
|
21306
21307
|
};
|
21307
21308
|
hd.propTypes = {
|
21308
|
-
children:
|
21309
|
-
liveChatPayload:
|
21309
|
+
children: v.element.isRequired,
|
21310
|
+
liveChatPayload: v.object
|
21310
21311
|
};
|
21311
21312
|
const d3 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M120-120v-300h60v198l558-558H540v-60h300v300h-60v-198L222-180h198v60H120Z'/%3e%3c/svg%3e", f3 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23ffffff'%20height='48'%20viewBox='0%20-960%20960%20960'%20width='48'%3e%3cpath%20d='M370-287h360v-90H370v90ZM180-120q-24%200-42-18t-18-42v-600q0-24%2018-42t42-18h600q24%200%2042%2018t18%2042v600q0%2024-18%2042t-42%2018H180Zm0-60h600v-600H180v600Zm0-600v600-600Z'/%3e%3c/svg%3e";
|
21312
21313
|
function pd({ handleResizeButtonClick: e, setIsMounted: t }) {
|
@@ -21339,8 +21340,8 @@ function pd({ handleResizeButtonClick: e, setIsMounted: t }) {
|
|
21339
21340
|
);
|
21340
21341
|
}
|
21341
21342
|
pd.propTypes = {
|
21342
|
-
handleResizeButtonClick:
|
21343
|
-
setIsMounted:
|
21343
|
+
handleResizeButtonClick: v.func,
|
21344
|
+
setIsMounted: v.func.isRequired
|
21344
21345
|
};
|
21345
21346
|
function md({
|
21346
21347
|
handleResizeButtonClick: e,
|
@@ -21411,10 +21412,10 @@ function md({
|
|
21411
21412
|
] });
|
21412
21413
|
}
|
21413
21414
|
md.propTypes = {
|
21414
|
-
handleResizeButtonClick:
|
21415
|
-
setIsMounted:
|
21416
|
-
onClose:
|
21417
|
-
isMounted:
|
21415
|
+
handleResizeButtonClick: v.func,
|
21416
|
+
setIsMounted: v.func.isRequired,
|
21417
|
+
onClose: v.func.isRequired,
|
21418
|
+
isMounted: v.bool.isRequired
|
21418
21419
|
};
|
21419
21420
|
const gd = ({
|
21420
21421
|
backgroundColor: e = "#F0CC00",
|
@@ -21444,8 +21445,8 @@ const gd = ({
|
|
21444
21445
|
}
|
21445
21446
|
);
|
21446
21447
|
gd.propTypes = {
|
21447
|
-
backgroundColor:
|
21448
|
-
textColor:
|
21448
|
+
backgroundColor: v.string,
|
21449
|
+
textColor: v.string
|
21449
21450
|
};
|
21450
21451
|
function bd({
|
21451
21452
|
handleResizeButtonClick: e,
|
@@ -21522,10 +21523,10 @@ function bd({
|
|
21522
21523
|
);
|
21523
21524
|
}
|
21524
21525
|
bd.propTypes = {
|
21525
|
-
handleResizeButtonClick:
|
21526
|
-
isMounted:
|
21527
|
-
setIsMounted:
|
21528
|
-
onClose:
|
21526
|
+
handleResizeButtonClick: v.func,
|
21527
|
+
isMounted: v.bool.isRequired,
|
21528
|
+
setIsMounted: v.func.isRequired,
|
21529
|
+
onClose: v.func.isRequired
|
21529
21530
|
};
|
21530
21531
|
function h3() {
|
21531
21532
|
const {
|
@@ -21701,7 +21702,7 @@ function Td({ onDismiss: e }) {
|
|
21701
21702
|
] });
|
21702
21703
|
}
|
21703
21704
|
Td.propTypes = {
|
21704
|
-
onDismiss:
|
21705
|
+
onDismiss: v.func
|
21705
21706
|
};
|
21706
21707
|
function b3(e, t) {
|
21707
21708
|
const [n, r] = le(!1), a = rt(), i = ct(
|
@@ -22016,12 +22017,12 @@ function Ad({
|
|
22016
22017
|
) });
|
22017
22018
|
}
|
22018
22019
|
Ad.propTypes = {
|
22019
|
-
children:
|
22020
|
-
cookieName:
|
22021
|
-
onClick:
|
22022
|
-
onClose:
|
22023
|
-
showMessage:
|
22024
|
-
style:
|
22020
|
+
children: v.node.isRequired,
|
22021
|
+
cookieName: v.string.isRequired,
|
22022
|
+
onClick: v.func,
|
22023
|
+
onClose: v.func,
|
22024
|
+
showMessage: v.bool,
|
22025
|
+
style: v.shape()
|
22025
22026
|
};
|
22026
22027
|
function C3(e, t, n) {
|
22027
22028
|
const r = ct(
|
@@ -22091,20 +22092,29 @@ function Is(e, t) {
|
|
22091
22092
|
);
|
22092
22093
|
return (t.getTime() - e.getTime()) / 1e3;
|
22093
22094
|
}
|
22095
|
+
const Ns = (e) => {
|
22096
|
+
let t = dt.get(`${e}-conversation-history-id`);
|
22097
|
+
return t || (t = id(), dt.set(`${e}-conversation-history-id`, t, {
|
22098
|
+
expires: 1
|
22099
|
+
})), t;
|
22100
|
+
};
|
22094
22101
|
function v3(e) {
|
22095
22102
|
if (!e) return 0;
|
22096
22103
|
const t = /\[(.+)\]\(([^ ]+)( "(.+)")?\)/gm;
|
22097
22104
|
return e.match(t)?.length || 0;
|
22098
22105
|
}
|
22099
|
-
function
|
22106
|
+
function ks(e) {
|
22100
22107
|
return new TextEncoder().encode(e).length;
|
22101
22108
|
}
|
22102
|
-
|
22103
|
-
|
22104
|
-
|
22105
|
-
|
22106
|
-
}
|
22107
|
-
|
22109
|
+
function x3(e) {
|
22110
|
+
try {
|
22111
|
+
const t = [], n = new URL(e), r = n.pathname.split("/").filter(Boolean);
|
22112
|
+
return r.length > 0 ? t.push(`${n.hostname}/${r[0]}`) : t.push(n.hostname), t;
|
22113
|
+
} catch {
|
22114
|
+
return console.error(`Invalid URL provided to buildTagsFromUrl: ${e}`), [];
|
22115
|
+
}
|
22116
|
+
}
|
22117
|
+
const O3 = 100, I3 = (e = O3) => new Promise((t) => setTimeout(t, e));
|
22108
22118
|
function Sd({ submitEventExternal: e = null }) {
|
22109
22119
|
const {
|
22110
22120
|
chatApi: t,
|
@@ -22143,7 +22153,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22143
22153
|
const E = ct(
|
22144
22154
|
({ name: se, payload: ye }) => {
|
22145
22155
|
if (!n || !s?.enabled) return;
|
22146
|
-
const Re =
|
22156
|
+
const Re = Rs(s?.payloadParams, ye);
|
22147
22157
|
e ? e({ name: se, payload: Re }) : H.current.track(
|
22148
22158
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
22149
22159
|
se,
|
@@ -22179,7 +22189,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22179
22189
|
return;
|
22180
22190
|
}
|
22181
22191
|
try {
|
22182
|
-
let xe =
|
22192
|
+
let xe = Ns(a);
|
22183
22193
|
const Be = t?.baseUrl?.includes("xpert-api-services") ? "/v1/history" : "/xpert/v2/history", Ce = `conversation_id=${xe}&client_id=${t?.payloadParams?.client_id}`, _e = await fetch(
|
22184
22194
|
`${t.baseUrl}${Be}?${Ce}`,
|
22185
22195
|
{
|
@@ -22239,7 +22249,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22239
22249
|
l?.enabled,
|
22240
22250
|
l?.experimentName
|
22241
22251
|
]);
|
22242
|
-
const
|
22252
|
+
const x = (se) => {
|
22243
22253
|
se?.target?.href && E({
|
22244
22254
|
name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
|
22245
22255
|
payload: {
|
@@ -22308,7 +22318,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22308
22318
|
);
|
22309
22319
|
const ut = _e.filter(({ content: re }) => !!re), yt = ut.map((re) => re.content ?? "").join("");
|
22310
22320
|
ie(yt, ye);
|
22311
|
-
const z = /* @__PURE__ */ new Date(), K =
|
22321
|
+
const z = /* @__PURE__ */ new Date(), K = ks(JSON.stringify(xe));
|
22312
22322
|
return Te({
|
22313
22323
|
conversationByteSize: K,
|
22314
22324
|
conversationSize: ut.length + m.filter(({ content: re }) => !!re).length + 1,
|
@@ -22342,7 +22352,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22342
22352
|
content: "",
|
22343
22353
|
disableFeedback: !0
|
22344
22354
|
}), ut++;
|
22345
|
-
const $e = /* @__PURE__ */ new Date(), Ze =
|
22355
|
+
const $e = /* @__PURE__ */ new Date(), Ze = ks(
|
22346
22356
|
JSON.stringify(xe)
|
22347
22357
|
), ot = He.filter(({ content: Qe }) => !!Qe);
|
22348
22358
|
Te({
|
@@ -22354,7 +22364,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22354
22364
|
isStreaming: !0
|
22355
22365
|
});
|
22356
22366
|
}
|
22357
|
-
await
|
22367
|
+
await I3(), b(($e) => {
|
22358
22368
|
const Ze = [...$e];
|
22359
22369
|
return Ze.splice(
|
22360
22370
|
Ze.length - He.length,
|
@@ -22398,7 +22408,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22398
22408
|
return;
|
22399
22409
|
}
|
22400
22410
|
let xe = null;
|
22401
|
-
r.conversationHistory.enabled && (xe =
|
22411
|
+
r.conversationHistory.enabled && (xe = Ns(a)), h({ role: Oe.USER, content: se });
|
22402
22412
|
const Be = [
|
22403
22413
|
...m,
|
22404
22414
|
{ role: Oe.USER, content: se }
|
@@ -22421,6 +22431,9 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22421
22431
|
...t.payloadParams,
|
22422
22432
|
...xe && {
|
22423
22433
|
conversation_id: xe
|
22434
|
+
},
|
22435
|
+
...t?.buildTagsFromUrl && {
|
22436
|
+
tags: x3(window.location.href)
|
22424
22437
|
}
|
22425
22438
|
})
|
22426
22439
|
});
|
@@ -22578,7 +22591,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22578
22591
|
dd,
|
22579
22592
|
{
|
22580
22593
|
handleFeedbackThumbSelection: Bn,
|
22581
|
-
handleMessageLinkClicked:
|
22594
|
+
handleMessageLinkClicked: x,
|
22582
22595
|
handleSend: ze,
|
22583
22596
|
inputRef: V,
|
22584
22597
|
isTestUser: U,
|
@@ -22594,7 +22607,7 @@ function Sd({ submitEventExternal: e = null }) {
|
|
22594
22607
|
);
|
22595
22608
|
}
|
22596
22609
|
Sd.propTypes = {
|
22597
|
-
submitEventExternal:
|
22610
|
+
submitEventExternal: v.func
|
22598
22611
|
};
|
22599
22612
|
const vd = ({
|
22600
22613
|
children: e,
|
@@ -22627,18 +22640,18 @@ const vd = ({
|
|
22627
22640
|
return /* @__PURE__ */ S.jsx(Ps, { ...f, children: /* @__PURE__ */ S.jsx(Hs, { ...b, children: /* @__PURE__ */ S.jsx(Bs, { ...p, children: /* @__PURE__ */ S.jsx(hd, { ...h, children: e }) }) }) });
|
22628
22641
|
};
|
22629
22642
|
vd.propTypes = {
|
22630
|
-
children:
|
22631
|
-
clientId:
|
22632
|
-
configurations:
|
22643
|
+
children: v.element,
|
22644
|
+
clientId: v.string,
|
22645
|
+
configurations: v.object,
|
22633
22646
|
conversation: Xr,
|
22634
|
-
id:
|
22635
|
-
externalLoading:
|
22636
|
-
externalStreaming:
|
22637
|
-
liveChatPayload:
|
22638
|
-
onFeedbackSelection:
|
22639
|
-
onMessageSent:
|
22640
|
-
xpertKey:
|
22641
|
-
widgetMode:
|
22647
|
+
id: v.string,
|
22648
|
+
externalLoading: v.bool,
|
22649
|
+
externalStreaming: v.bool,
|
22650
|
+
liveChatPayload: v.object,
|
22651
|
+
onFeedbackSelection: v.func,
|
22652
|
+
onMessageSent: v.func,
|
22653
|
+
xpertKey: v.string,
|
22654
|
+
widgetMode: v.bool
|
22642
22655
|
};
|
22643
22656
|
function xd({
|
22644
22657
|
clientId: e,
|
@@ -22671,19 +22684,19 @@ function xd({
|
|
22671
22684
|
);
|
22672
22685
|
}
|
22673
22686
|
xd.propTypes = {
|
22674
|
-
clientId:
|
22675
|
-
configurations:
|
22687
|
+
clientId: v.string,
|
22688
|
+
configurations: v.object,
|
22676
22689
|
conversation: Xr,
|
22677
|
-
externalLoading:
|
22678
|
-
externalStreaming:
|
22679
|
-
liveChatPayload:
|
22680
|
-
onFeedbackSelection:
|
22681
|
-
onMessageSent:
|
22682
|
-
submitEventExternal:
|
22683
|
-
xpertKey:
|
22684
|
-
widgetMode:
|
22690
|
+
externalLoading: v.bool,
|
22691
|
+
externalStreaming: v.bool,
|
22692
|
+
liveChatPayload: v.object,
|
22693
|
+
onFeedbackSelection: v.func,
|
22694
|
+
onMessageSent: v.func,
|
22695
|
+
submitEventExternal: v.func,
|
22696
|
+
xpertKey: v.string,
|
22697
|
+
widgetMode: v.bool
|
22685
22698
|
};
|
22686
|
-
function
|
22699
|
+
function N3() {
|
22687
22700
|
let e = document.getElementById("xpert-chatbot-container");
|
22688
22701
|
e || (e = document.createElement("div"), e.setAttribute("id", "xpert-chatbot-container"), document.body.appendChild(e), R0(
|
22689
22702
|
/* @__PURE__ */ S.jsx(L0, { children: /* @__PURE__ */ S.jsx(
|
@@ -22699,7 +22712,7 @@ function I3() {
|
|
22699
22712
|
));
|
22700
22713
|
}
|
22701
22714
|
window.XpertChatbotFrontend = window.XpertChatbotFrontend || {};
|
22702
|
-
window.XpertChatbotFrontend.mount =
|
22715
|
+
window.XpertChatbotFrontend.mount = N3;
|
22703
22716
|
window.process = window.process || {};
|
22704
22717
|
window.process.env = { ...window.process.env, NODE_ENV: "production" };
|
22705
22718
|
export {
|