@2uinc/frontend-component-xpert-chatbot 1.37.1 → 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.
Files changed (2) hide show
  1. package/dist/lib/index.min.js +555 -540
  2. package/package.json +1 -1
@@ -182,81 +182,20 @@ function Qa(e, t) {
182
182
  }
183
183
  );
184
184
  }
185
- var dt = Qa(F0, { path: "/" }), Ea = { exports: {} }, Ta, Au;
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 xu;
249
- function j0() {
250
- return xu || (xu = 1, function(e, t) {
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*)$/, v = {};
252
- v[Y] = v[$] = v[k] = v[I] = v[L] = v[M] = v[V] = v[H] = v[U] = !0, v[s] = v[l] = v[q] = v[d] = v[te] = v[f] = v[p] = v[h] = v[m] = v[y] = v[D] = v[Q] = v[j] = v[C] = v[G] = !1;
253
- 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, Oe = ve && !0 && e && !e.nodeType && e, ze = Oe && Oe.exports === ve, Ie = ze && ie.process, tt = function() {
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;
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
- var A = Oe && Oe.require && Oe.require("util").types;
256
- return A || Ie && Ie.binding && Ie.binding("util");
194
+ var A = Ie && Ie.require && Ie.require("util").types;
195
+ return A || Ne && Ne.binding && Ne.binding("util");
257
196
  } catch {
258
197
  }
259
- }(), pt = tt && tt.isTypedArray;
198
+ })(), pt = tt && tt.isTypedArray;
260
199
  function wt(A, N, F) {
261
200
  switch (F.length) {
262
201
  case 0:
@@ -288,20 +227,20 @@ function j0() {
288
227
  return A(N(F));
289
228
  };
290
229
  }
291
- var se = Array.prototype, ye = Function.prototype, Re = Object.prototype, xe = he["__core-js_shared__"], Be = ye.toString, Ce = Re.hasOwnProperty, _e = function() {
230
+ var se = Array.prototype, ye = Function.prototype, Re = Object.prototype, xe = he["__core-js_shared__"], Be = ye.toString, Ce = Re.hasOwnProperty, _e = (function() {
292
231
  var A = /[^.]+$/.exec(xe && xe.keys && xe.keys.IE_PROTO || "");
293
232
  return A ? "Symbol(src)_1." + A : "";
294
- }(), ut = Re.toString, yt = Be.call(Object), z = RegExp(
233
+ })(), ut = Re.toString, yt = Be.call(Object), z = RegExp(
295
234
  "^" + Be.call(Ce).replace(E, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
296
235
  ), K = ze ? he.Buffer : void 0, re = he.Symbol, ge = he.Uint8Array;
297
236
  K && K.allocUnsafe;
298
- var be = gn(Object.getPrototypeOf, Object), He = Object.create, $e = Re.propertyIsEnumerable, Ze = se.splice, ot = re ? re.toStringTag : void 0, Qe = function() {
237
+ var be = gn(Object.getPrototypeOf, Object), He = Object.create, $e = Re.propertyIsEnumerable, Ze = se.splice, ot = re ? re.toStringTag : void 0, Qe = (function() {
299
238
  try {
300
239
  var A = sa(Object, "defineProperty");
301
240
  return A({}, "", {}), A;
302
241
  } catch {
303
242
  }
304
- }(), Ye = K ? K.isBuffer : void 0, bn = Math.max, Ot = Date.now, lu = sa(he, "Map"), Hn = sa(Object, "create"), Od = /* @__PURE__ */ function() {
243
+ })(), Ye = K ? K.isBuffer : void 0, bn = Math.max, Ot = Date.now, lu = sa(he, "Map"), Hn = sa(Object, "create"), Od = /* @__PURE__ */ (function() {
305
244
  function A() {
306
245
  }
307
246
  return function(N) {
@@ -313,7 +252,7 @@ function j0() {
313
252
  var F = new A();
314
253
  return A.prototype = void 0, F;
315
254
  };
316
- }();
255
+ })();
317
256
  function Jt(A) {
318
257
  var N = -1, F = A == null ? 0 : A.length;
319
258
  for (this.clear(); ++N < F; ) {
@@ -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) && !!v[Tr(A)];
418
+ return Un(A) && mu(A.length) && !!x[Tr(A)];
480
419
  }
481
420
  function Jd(A) {
482
421
  if (!en(A))
@@ -661,9 +600,9 @@ function j0() {
661
600
  function _r(A, N) {
662
601
  return A === N || A !== A && N !== N;
663
602
  }
664
- var ca = cu(/* @__PURE__ */ function() {
603
+ var ca = cu(/* @__PURE__ */ (function() {
665
604
  return arguments;
666
- }()) ? cu : function(A) {
605
+ })()) ? cu : function(A) {
667
606
  return Un(A) && Ce.call(A, "callee") && !$e.call(A, "callee");
668
607
  }, da = Array.isArray;
669
608
  function fa(A) {
@@ -720,10 +659,71 @@ function j0() {
720
659
  return !1;
721
660
  }
722
661
  e.exports = S0;
723
- }(Qn, Qn.exports)), Qn.exports;
662
+ })(Qn, Qn.exports)), Qn.exports;
663
+ }
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;
724
672
  }
725
- var q0 = j0();
726
- const Ds = /* @__PURE__ */ Bt(q0), z0 = {
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
- () => Ds({ id: "generic", ...s }, n ?? {}),
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,102 +1497,103 @@ const Ds = /* @__PURE__ */ Bt(q0), z0 = {
1497
1497
  );
1498
1498
  };
1499
1499
  Ps.propTypes = {
1500
- children: x.element.isRequired,
1501
- clientId: x.string,
1502
- configurations: x.shape({
1503
- id: x.string,
1504
- chatApi: x.shape({
1505
- endpoint: x.string.isRequired,
1506
- messageList: x.string.isRequired,
1507
- payloadParams: x.string
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: x.string.isRequired,
1510
- disclaimer: x.shape({
1511
- text: x.string.isRequired,
1512
- privacyPolicyLink: x.string.isRequired
1510
+ primaryColor: v.string.isRequired,
1511
+ disclaimer: v.shape({
1512
+ text: v.string.isRequired,
1513
+ privacyPolicyLink: v.string.isRequired
1513
1514
  }).isRequired,
1514
- userTracking: x.shape({
1515
- enabled: x.bool.isRequired,
1516
- prefix: x.string.isRequired,
1517
- payloadParams: x.object
1515
+ userTracking: v.shape({
1516
+ enabled: v.bool.isRequired,
1517
+ prefix: v.string.isRequired,
1518
+ payloadParams: v.object
1518
1519
  }).isRequired,
1519
- webExperimentation: x.shape({
1520
- enabled: x.bool.isRequired,
1521
- experimentName: x.string
1520
+ webExperimentation: v.shape({
1521
+ enabled: v.bool.isRequired,
1522
+ experimentName: v.string
1522
1523
  }).isRequired,
1523
- launchButton: x.shape({
1524
- style: x.shape({}).isRequired,
1525
- logoType: x.string,
1526
- animatedGraduate: x.shape({
1527
- enabled: x.bool.isRequired,
1528
- delayMs: x.number
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: x.shape({
1531
- enabled: x.bool.isRequired,
1532
- text: x.string
1531
+ message: v.shape({
1532
+ enabled: v.bool.isRequired,
1533
+ text: v.string
1533
1534
  })
1534
1535
  }).isRequired,
1535
- proactiveMessage: x.shape({
1536
- enabled: x.bool.isRequired,
1537
- textPrefix: x.string,
1538
- text: x.string,
1539
- delayMs: x.number.isRequired,
1540
- style: x.shape({}).isRequired
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: x.shape({
1543
- header: x.shape({
1544
- logo: x.shape({
1545
- type: x.string.isRequired,
1546
- style: x.shape({})
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: x.shape({
1549
- style: x.shape({}).isRequired
1549
+ container: v.shape({
1550
+ style: v.shape({}).isRequired
1550
1551
  })
1551
1552
  }),
1552
- systemMessage: x.string.isRequired,
1553
- prompts: x.arrayOf(
1554
- x.shape({
1555
- id: x.number.isRequired,
1556
- text: x.string.isRequired
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: x.shape({
1560
- style: x.shape({}).isRequired
1560
+ userMessageBubble: v.shape({
1561
+ style: v.shape({}).isRequired
1561
1562
  }),
1562
- conversationHistory: x.shape({
1563
- allowDeletion: x.bool.isRequired,
1564
- enabled: x.bool.isRequired
1563
+ conversationHistory: v.shape({
1564
+ allowDeletion: v.bool.isRequired,
1565
+ enabled: v.bool.isRequired
1565
1566
  }).isRequired,
1566
- maintenanceBanner: x.shape({
1567
- enabled: x.bool,
1568
- text: x.string,
1569
- endDateTime: x.string
1567
+ maintenanceBanner: v.shape({
1568
+ enabled: v.bool,
1569
+ text: v.string,
1570
+ endDateTime: v.string
1570
1571
  }),
1571
- liveChat: x.shape({
1572
- enabled: x.bool.isRequired,
1573
- form: x.arrayOf(
1574
- x.shape({
1575
- key: x.string.isRequired,
1576
- name: x.string.isRequired,
1577
- validations: x.arrayOf(x.string)
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: x.string,
1581
- privacyPolicyLink: x.string,
1582
- privacyPolicyText: x.string,
1583
- queueMessages: x.arrayOf(x.string),
1584
- socketUrl: x.string,
1585
- sourceCode: x.string,
1586
- options: x.shape({}),
1587
- useSurvey: x.bool,
1588
- useOwnChat: x.bool
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: x.string,
1593
- widgetMode: x.bool
1593
+ xpertKey: v.string,
1594
+ widgetMode: v.bool
1594
1595
  };
1595
- const Qt = Gr({}), Ne = {
1596
+ const Qt = Gr({}), Oe = {
1596
1597
  AGENT: "agent",
1597
1598
  ASSISTANT: "assistant",
1598
1599
  ERROR: "error",
@@ -1603,21 +1604,21 @@ const Qt = Gr({}), Ne = {
1603
1604
  }, Ms = {
1604
1605
  ESCALATE_TO_AN_AGENT: "escalate_to_an_agent",
1605
1606
  GENERATE_PROMPT_CARDS: "generate_prompt_cards"
1606
- }, Fs = x.shape({
1607
- content: x.string.isRequired,
1608
- feedbackThumbType: x.oneOf(["DOWN", "UP"]),
1609
- liveAgent: x.bool,
1610
- role: x.oneOf(Object.values(Ne)).isRequired,
1611
- timestamp: x.instanceOf(Date),
1612
- toolCalls: x.arrayOf(
1613
- x.shape({
1614
- function: x.shape({
1615
- name: x.string
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: x.number
1620
- }), Xr = x.arrayOf(Fs), Bs = ({
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({}), Ne = {
1641
1642
  return /* @__PURE__ */ S.jsx(Qt.Provider, { value: b, children: e });
1642
1643
  };
1643
1644
  Bs.propTypes = {
1644
- children: x.element.isRequired,
1645
+ children: v.element.isRequired,
1645
1646
  conversation: Xr,
1646
- onFeedbackSelection: x.func,
1647
- onMessageSent: x.func
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: x.element.isRequired,
1688
- externalLoading: x.bool,
1689
- externalStreaming: x.bool
1688
+ children: v.element.isRequired,
1689
+ externalLoading: v.bool,
1690
+ externalStreaming: v.bool
1690
1691
  };
1691
1692
  var _a = { exports: {} };
1692
1693
  /*!
@@ -1696,7 +1697,7 @@ var _a = { exports: {} };
1696
1697
  */
1697
1698
  var Iu;
1698
1699
  function J0() {
1699
- return Iu || (Iu = 1, function(e) {
1700
+ return Iu || (Iu = 1, (function(e) {
1700
1701
  (function() {
1701
1702
  var t = {}.hasOwnProperty;
1702
1703
  function n() {
@@ -1725,7 +1726,7 @@ function J0() {
1725
1726
  }
1726
1727
  e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
1727
1728
  })();
1728
- }(_a)), _a.exports;
1729
+ })(_a)), _a.exports;
1729
1730
  }
1730
1731
  var ef = J0();
1731
1732
  const Us = /* @__PURE__ */ Bt(ef);
@@ -1760,11 +1761,11 @@ function Si({
1760
1761
  );
1761
1762
  }
1762
1763
  Si.propTypes = {
1763
- label: x.string.isRequired,
1764
- onClick: x.func.isRequired,
1765
- children: x.node.isRequired,
1766
- className: x.string,
1767
- style: x.shape()
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: x.func
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: x.func
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 v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, ie = I.indexOf(oe);
2443
- return ie < 0 ? v ? L.slice(L.indexOf(oe) + 1).find(function(Te) {
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 + (v ? 1 : -1)];
2448
+ }) : I[ie + (x ? 1 : -1)];
2448
2449
  }
2449
2450
  };
2450
2451
  }), u.tabbableGroups = u.containerGroups.filter(function(k) {
@@ -2484,17 +2485,17 @@ var wu = {
2484
2485
  V ? H = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : H = u.tabbableGroups[0].firstTabbableNode;
2485
2486
  else if (V) {
2486
2487
  var ne = u.tabbableGroups.findIndex(function(ve) {
2487
- var Oe = ve.firstTabbableNode;
2488
- return I === Oe;
2488
+ var Ie = ve.firstTabbableNode;
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, v = u.tabbableGroups[oe];
2492
- H = Xt(I) >= 0 ? v.lastTabbableNode : v.lastDomTabbableNode;
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) {
2496
- var Oe = ve.lastTabbableNode;
2497
- return I === Oe;
2497
+ var Ie = ve.lastTabbableNode;
2498
+ return I === Ie;
2498
2499
  });
2499
2500
  if (ie < 0 && (E.container === I || Lr(I, i.tabbableOptions) && !an(I, i.tabbableOptions) && !E.nextTabbableNode(I)) && (ie = U), ie >= 0) {
2500
2501
  var Te = ie === u.tabbableGroups.length - 1 ? 0 : ie + 1, he = u.tabbableGroups[Te];
@@ -2754,7 +2755,7 @@ function Hf() {
2754
2755
  }
2755
2756
  return (w === "string" ? String : Number)(C);
2756
2757
  }
2757
- var b = At, m = /* @__PURE__ */ Rs(), y = Ff, g = y.createFocusTrap, D = Bf, P = D.isFocusable, Q = /* @__PURE__ */ function(C) {
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($) {
@@ -2939,7 +2940,7 @@ function Hf() {
2939
2940
  return null;
2940
2941
  }
2941
2942
  }]);
2942
- }(b.Component), j = typeof Element > "u" ? Function : Element;
2943
+ })(b.Component), j = typeof Element > "u" ? Function : Element;
2943
2944
  return Q.propTypes = {
2944
2945
  active: m.bool,
2945
2946
  paused: m.bool,
@@ -3037,18 +3038,18 @@ function Zs({
3037
3038
  );
3038
3039
  }
3039
3040
  Zs.propTypes = {
3040
- children: x.node.isRequired,
3041
- style: x.shape(),
3042
- isMounted: x.bool,
3043
- className: x.string
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: x.node.isRequired,
3051
- isMounted: x.bool
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: x.shape(),
4240
- disabled: x.bool.isRequired,
4241
- handleSend: x.func.isRequired,
4242
- hasError: x.bool,
4243
- inputRef: x.shape({ current: x.instanceOf(Object) }).isRequired,
4244
- margin: x.string,
4245
- handleChange: x.func
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: x.string
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(v) {
6201
- return d(v);
6201
+ function c(x) {
6202
+ return d(x);
6202
6203
  }
6203
- function d(v) {
6204
- return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(v), f;
6204
+ function d(x) {
6205
+ return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(x), f;
6205
6206
  }
6206
- function f(v) {
6207
- return v === 33 ? (e.consume(v), p) : v === 47 ? (e.consume(v), i = !0, m) : v === 63 ? (e.consume(v), a = 3, r.interrupt ? t : E) : Pt(v) ? (e.consume(v), u = String.fromCharCode(v), y) : n(v);
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(v) {
6210
- return v === 45 ? (e.consume(v), a = 2, h) : v === 91 ? (e.consume(v), a = 5, s = 0, b) : Pt(v) ? (e.consume(v), a = 4, r.interrupt ? t : E) : n(v);
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(v) {
6213
- return v === 45 ? (e.consume(v), r.interrupt ? t : E) : n(v);
6213
+ function h(x) {
6214
+ return x === 45 ? (e.consume(x), r.interrupt ? t : E) : n(x);
6214
6215
  }
6215
- function b(v) {
6216
+ function b(x) {
6216
6217
  const ie = "CDATA[";
6217
- return v === ie.charCodeAt(s++) ? (e.consume(v), s === ie.length ? r.interrupt ? t : $ : b) : n(v);
6218
+ return x === ie.charCodeAt(s++) ? (e.consume(x), s === ie.length ? r.interrupt ? t : $ : b) : n(x);
6218
6219
  }
6219
- function m(v) {
6220
- return Pt(v) ? (e.consume(v), u = String.fromCharCode(v), y) : n(v);
6220
+ function m(x) {
6221
+ return Pt(x) ? (e.consume(x), u = String.fromCharCode(x), y) : n(x);
6221
6222
  }
6222
- function y(v) {
6223
- if (v === null || v === 47 || v === 62 || St(v)) {
6224
- const ie = v === 47, Te = u.toLowerCase();
6225
- return !ie && !i && go.includes(Te) ? (a = 1, r.interrupt ? t(v) : $(v)) : m1.includes(u.toLowerCase()) ? (a = 6, ie ? (e.consume(v), g) : r.interrupt ? t(v) : $(v)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(v) : i ? D(v) : P(v));
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 v === 45 || Nt(v) ? (e.consume(v), u += String.fromCharCode(v), y) : n(v);
6228
+ return x === 45 || Nt(x) ? (e.consume(x), u += String.fromCharCode(x), y) : n(x);
6228
6229
  }
6229
- function g(v) {
6230
- return v === 62 ? (e.consume(v), r.interrupt ? t : $) : n(v);
6230
+ function g(x) {
6231
+ return x === 62 ? (e.consume(x), r.interrupt ? t : $) : n(x);
6231
6232
  }
6232
- function D(v) {
6233
- return Le(v) ? (e.consume(v), D) : te(v);
6233
+ function D(x) {
6234
+ return Le(x) ? (e.consume(x), D) : te(x);
6234
6235
  }
6235
- function P(v) {
6236
- return v === 47 ? (e.consume(v), te) : v === 58 || v === 95 || Pt(v) ? (e.consume(v), Q) : Le(v) ? (e.consume(v), P) : te(v);
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(v) {
6239
- return v === 45 || v === 46 || v === 58 || v === 95 || Nt(v) ? (e.consume(v), Q) : j(v);
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(v) {
6242
- return v === 61 ? (e.consume(v), C) : Le(v) ? (e.consume(v), j) : P(v);
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(v) {
6245
- return v === null || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 34 || v === 39 ? (e.consume(v), l = v, w) : Le(v) ? (e.consume(v), C) : G(v);
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(v) {
6248
- return v === l ? (e.consume(v), l = null, q) : v === null || me(v) ? n(v) : (e.consume(v), w);
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(v) {
6251
- return v === null || v === 34 || v === 39 || v === 47 || v === 60 || v === 61 || v === 62 || v === 96 || St(v) ? j(v) : (e.consume(v), G);
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(v) {
6254
- return v === 47 || v === 62 || Le(v) ? P(v) : n(v);
6254
+ function q(x) {
6255
+ return x === 47 || x === 62 || Le(x) ? P(x) : n(x);
6255
6256
  }
6256
- function te(v) {
6257
- return v === 62 ? (e.consume(v), Y) : n(v);
6257
+ function te(x) {
6258
+ return x === 62 ? (e.consume(x), Y) : n(x);
6258
6259
  }
6259
- function Y(v) {
6260
- return v === null || me(v) ? $(v) : Le(v) ? (e.consume(v), Y) : n(v);
6260
+ function Y(x) {
6261
+ return x === null || me(x) ? $(x) : Le(x) ? (e.consume(x), Y) : n(x);
6261
6262
  }
6262
- function $(v) {
6263
- return v === 45 && a === 2 ? (e.consume(v), M) : v === 60 && a === 1 ? (e.consume(v), V) : v === 62 && a === 4 ? (e.consume(v), ne) : v === 63 && a === 3 ? (e.consume(v), E) : v === 93 && a === 5 ? (e.consume(v), U) : me(v) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
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
- )(v)) : v === null || me(v) ? (e.exit("htmlFlowData"), k(v)) : (e.consume(v), $);
6268
+ )(x)) : x === null || me(x) ? (e.exit("htmlFlowData"), k(x)) : (e.consume(x), $);
6268
6269
  }
6269
- function k(v) {
6270
+ function k(x) {
6270
6271
  return e.check(
6271
6272
  E1,
6272
6273
  I,
6273
6274
  oe
6274
- )(v);
6275
+ )(x);
6275
6276
  }
6276
- function I(v) {
6277
- return e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), L;
6277
+ function I(x) {
6278
+ return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), L;
6278
6279
  }
6279
- function L(v) {
6280
- return v === null || me(v) ? k(v) : (e.enter("htmlFlowData"), $(v));
6280
+ function L(x) {
6281
+ return x === null || me(x) ? k(x) : (e.enter("htmlFlowData"), $(x));
6281
6282
  }
6282
- function M(v) {
6283
- return v === 45 ? (e.consume(v), E) : $(v);
6283
+ function M(x) {
6284
+ return x === 45 ? (e.consume(x), E) : $(x);
6284
6285
  }
6285
- function V(v) {
6286
- return v === 47 ? (e.consume(v), u = "", H) : $(v);
6286
+ function V(x) {
6287
+ return x === 47 ? (e.consume(x), u = "", H) : $(x);
6287
6288
  }
6288
- function H(v) {
6289
- if (v === 62) {
6289
+ function H(x) {
6290
+ if (x === 62) {
6290
6291
  const ie = u.toLowerCase();
6291
- return go.includes(ie) ? (e.consume(v), ne) : $(v);
6292
+ return go.includes(ie) ? (e.consume(x), ne) : $(x);
6292
6293
  }
6293
- return Pt(v) && u.length < 8 ? (e.consume(v), u += String.fromCharCode(v), H) : $(v);
6294
+ return Pt(x) && u.length < 8 ? (e.consume(x), u += String.fromCharCode(x), H) : $(x);
6294
6295
  }
6295
- function U(v) {
6296
- return v === 93 ? (e.consume(v), E) : $(v);
6296
+ function U(x) {
6297
+ return x === 93 ? (e.consume(x), E) : $(x);
6297
6298
  }
6298
- function E(v) {
6299
- return v === 62 ? (e.consume(v), ne) : v === 45 && a === 2 ? (e.consume(v), E) : $(v);
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(v) {
6302
- return v === null || me(v) ? (e.exit("htmlFlowData"), oe(v)) : (e.consume(v), ne);
6302
+ function ne(x) {
6303
+ return x === null || me(x) ? (e.exit("htmlFlowData"), oe(x)) : (e.consume(x), ne);
6303
6304
  }
6304
- function oe(v) {
6305
- return e.exit("htmlFlow"), t(v);
6305
+ function oe(x) {
6306
+ return e.exit("htmlFlow"), t(x);
6306
6307
  }
6307
6308
  }
6308
6309
  function _1(e, t, n) {
@@ -7056,22 +7057,22 @@ function tm(e, t, n) {
7056
7057
  ) : ne(I);
7057
7058
  function ne(he) {
7058
7059
  return ve;
7059
- function ve(Oe) {
7060
- const ze = Oe !== null && he[Oe], Ie = Oe !== null && he.null, tt = [
7060
+ function ve(Ie) {
7061
+ const ze = Ie !== null && he[Ie], Ne = Ie !== null && he.null, tt = [
7061
7062
  // To do: add more extension tests.
7062
7063
  /* c8 ignore next 2 */
7063
7064
  ...Array.isArray(ze) ? ze : ze ? [ze] : [],
7064
- ...Array.isArray(Ie) ? Ie : Ie ? [Ie] : []
7065
+ ...Array.isArray(Ne) ? Ne : Ne ? [Ne] : []
7065
7066
  ];
7066
- return oe(tt)(Oe);
7067
+ return oe(tt)(Ie);
7067
7068
  }
7068
7069
  }
7069
7070
  function oe(he) {
7070
- return V = he, H = 0, he.length === 0 ? M : v(he[H]);
7071
+ return V = he, H = 0, he.length === 0 ? M : x(he[H]);
7071
7072
  }
7072
- function v(he) {
7073
+ function x(he) {
7073
7074
  return ve;
7074
- function ve(Oe) {
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(
7076
7077
  // If we do have fields, create an object w/ `context` as its
7077
7078
  // prototype.
@@ -7080,14 +7081,14 @@ function tm(e, t, n) {
7080
7081
  l,
7081
7082
  ie,
7082
7083
  Te
7083
- )(Oe);
7084
+ )(Ie);
7084
7085
  }
7085
7086
  }
7086
7087
  function ie(he) {
7087
7088
  return Y(U, E), L;
7088
7089
  }
7089
7090
  function Te(he) {
7090
- return E.restore(), ++H < V.length ? v(V[H]) : M;
7091
+ return E.restore(), ++H < V.length ? x(V[H]) : M;
7091
7092
  }
7092
7093
  }
7093
7094
  }
@@ -7391,13 +7392,13 @@ function _m(e) {
7391
7392
  atxHeading: d(),
7392
7393
  atxHeadingSequence: w,
7393
7394
  autolink: d(),
7394
- autolinkEmail: Ie,
7395
+ autolinkEmail: Ne,
7395
7396
  autolinkProtocol: ze,
7396
7397
  blockQuote: d(),
7397
7398
  characterEscapeValue: $,
7398
7399
  characterReferenceMarkerHexadecimal: ve,
7399
7400
  characterReferenceMarkerNumeric: ve,
7400
- characterReferenceValue: Oe,
7401
+ characterReferenceValue: Ie,
7401
7402
  codeFenced: d(D),
7402
7403
  codeFencedFence: g,
7403
7404
  codeFencedFenceInfo: m,
@@ -7429,7 +7430,7 @@ function _m(e) {
7429
7430
  paragraph: d(),
7430
7431
  referenceString: he,
7431
7432
  resourceDestinationString: oe,
7432
- resourceTitleString: v,
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 v() {
7707
+ function x() {
7707
7708
  const z = this.resume(), K = this.stack[this.stack.length - 1];
7708
7709
  K.title = z;
7709
7710
  }
@@ -7722,7 +7723,7 @@ function _m(e) {
7722
7723
  function ve(z) {
7723
7724
  i("characterReferenceType", z.type);
7724
7725
  }
7725
- function Oe(z) {
7726
+ function Ie(z) {
7726
7727
  const K = this.sliceSerialize(z), re = u("characterReferenceType");
7727
7728
  let ge;
7728
7729
  re ? (ge = Nl(
@@ -7737,7 +7738,7 @@ function _m(e) {
7737
7738
  const K = this.stack[this.stack.length - 1];
7738
7739
  K.url = this.sliceSerialize(z);
7739
7740
  }
7740
- function Ie(z) {
7741
+ function Ne(z) {
7741
7742
  $.call(this, z);
7742
7743
  const K = this.stack[this.stack.length - 1];
7743
7744
  K.url = "mailto:" + this.sliceSerialize(z);
@@ -8339,7 +8340,7 @@ const Ml = (
8339
8340
  * @param {Test} [test]
8340
8341
  * @returns {AssertAnything}
8341
8342
  */
8342
- function(e) {
8343
+ (function(e) {
8343
8344
  if (e == null)
8344
8345
  return t2;
8345
8346
  if (typeof e == "string")
@@ -8349,7 +8350,7 @@ const Ml = (
8349
8350
  if (typeof e == "function")
8350
8351
  return Zr(e);
8351
8352
  throw new Error("Expected function, string, or object as test");
8352
- }
8353
+ })
8353
8354
  );
8354
8355
  function Zm(e) {
8355
8356
  const t = [];
@@ -8402,7 +8403,7 @@ const n2 = !0, So = !1, r2 = "skip", a2 = (
8402
8403
  * @param {boolean | null | undefined} [reverse]
8403
8404
  * @returns {void}
8404
8405
  */
8405
- function(e, t, n, r) {
8406
+ (function(e, t, n, r) {
8406
8407
  typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null);
8407
8408
  const a = Ml(t), i = r ? -1 : 1;
8408
8409
  u(e, void 0, [])();
@@ -8434,7 +8435,7 @@ const n2 = !0, So = !1, r2 = "skip", a2 = (
8434
8435
  return p;
8435
8436
  }
8436
8437
  }
8437
- }
8438
+ })
8438
8439
  );
8439
8440
  function i2(e) {
8440
8441
  return Array.isArray(e) ? e : typeof e == "number" ? [n2, e] : [e];
@@ -8453,7 +8454,7 @@ const Mi = (
8453
8454
  * @param {boolean | null | undefined} [reverse]
8454
8455
  * @returns {void}
8455
8456
  */
8456
- function(e, t, n, r) {
8457
+ (function(e, t, n, r) {
8457
8458
  typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), a2(e, t, a, r);
8458
8459
  function a(i, u) {
8459
8460
  const s = u[u.length - 1];
@@ -8463,7 +8464,7 @@ const Mi = (
8463
8464
  s
8464
8465
  );
8465
8466
  }
8466
- }
8467
+ })
8467
8468
  );
8468
8469
  function u2(e) {
8469
8470
  return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column;
@@ -8662,9 +8663,9 @@ function Bl(e, t) {
8662
8663
  }
8663
8664
  const p2 = (
8664
8665
  /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */
8665
- function(e, t) {
8666
+ (function(e, t) {
8666
8667
  return e && "run" in e ? m2(e, t) : g2(e || t);
8667
- }
8668
+ })
8668
8669
  );
8669
8670
  function m2(e, t) {
8670
8671
  return (n, r, a) => {
@@ -10206,62 +10207,62 @@ function Ui(e) {
10206
10207
  }
10207
10208
  Ui.propTypes = {
10208
10209
  // Core options:
10209
- children: x.string,
10210
+ children: v.string,
10210
10211
  // Layout options:
10211
- className: x.string,
10212
+ className: v.string,
10212
10213
  // Filter options:
10213
- allowElement: x.func,
10214
- allowedElements: x.arrayOf(x.string),
10215
- disallowedElements: x.arrayOf(x.string),
10216
- unwrapDisallowed: x.bool,
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: x.arrayOf(
10219
- x.oneOfType([
10220
- x.object,
10221
- x.func,
10222
- x.arrayOf(
10223
- x.oneOfType([
10224
- x.bool,
10225
- x.string,
10226
- x.object,
10227
- x.func,
10228
- x.arrayOf(
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
- x.any
10232
+ v.any
10232
10233
  )
10233
10234
  ])
10234
10235
  )
10235
10236
  ])
10236
10237
  ),
10237
- rehypePlugins: x.arrayOf(
10238
- x.oneOfType([
10239
- x.object,
10240
- x.func,
10241
- x.arrayOf(
10242
- x.oneOfType([
10243
- x.bool,
10244
- x.string,
10245
- x.object,
10246
- x.func,
10247
- x.arrayOf(
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
- x.any
10251
+ v.any
10251
10252
  )
10252
10253
  ])
10253
10254
  )
10254
10255
  ])
10255
10256
  ),
10256
10257
  // Transform options:
10257
- sourcePos: x.bool,
10258
- rawSourcePos: x.bool,
10259
- skipHtml: x.bool,
10260
- includeElementIndex: x.bool,
10261
- transformLinkUri: x.oneOfType([x.func, x.bool]),
10262
- linkTarget: x.oneOfType([x.func, x.string]),
10263
- transformImageUri: x.func,
10264
- components: x.object
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) => {
@@ -18860,7 +18861,7 @@ const Qc = (
18860
18861
  * @param {Test} [test]
18861
18862
  * @returns {Check}
18862
18863
  */
18863
- function(e) {
18864
+ (function(e) {
18864
18865
  if (e == null)
18865
18866
  return fT;
18866
18867
  if (typeof e == "function")
@@ -18870,7 +18871,7 @@ const Qc = (
18870
18871
  if (typeof e == "string")
18871
18872
  return dT(e);
18872
18873
  throw new Error("Expected function, string, or object as test");
18873
- }
18874
+ })
18874
18875
  );
18875
18876
  function lT(e) {
18876
18877
  const t = [];
@@ -19191,10 +19192,10 @@ function wT(e) {
19191
19192
  }
19192
19193
  var Fr = { exports: {} }, RT = Fr.exports, cs;
19193
19194
  function DT() {
19194
- return cs || (cs = 1, function(e, t) {
19195
+ return cs || (cs = 1, (function(e, t) {
19195
19196
  (function(n, r) {
19196
19197
  e.exports = r();
19197
- })(RT, function() {
19198
+ })(RT, (function() {
19198
19199
  var n = 1e3, r = 6e4, a = 36e5, i = "millisecond", u = "second", s = "minute", l = "hour", c = "day", d = "week", f = "month", p = "quarter", h = "year", b = "date", m = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(I) {
19199
19200
  var L = ["th", "st", "nd", "rd"], M = I % 100;
19200
19201
  return "[" + I + (L[(M - 20) % 10] || L[M] || L[0]) + "]";
@@ -19239,13 +19240,13 @@ function DT() {
19239
19240
  Y.l = q, Y.i = G, Y.w = function(I, L) {
19240
19241
  return te(I, { locale: L.$L, utc: L.$u, x: L.$x, $offset: L.$offset });
19241
19242
  };
19242
- var $ = function() {
19243
+ var $ = (function() {
19243
19244
  function I(M) {
19244
19245
  this.$L = q(M.locale, null, !0), this.parse(M), this.$x = this.$x || M.x || {}, this[w] = !0;
19245
19246
  }
19246
19247
  var L = I.prototype;
19247
19248
  return L.parse = function(M) {
19248
- this.$d = function(V) {
19249
+ this.$d = (function(V) {
19249
19250
  var H = V.date, U = V.utc;
19250
19251
  if (H === null) return /* @__PURE__ */ new Date(NaN);
19251
19252
  if (Y.u(H)) return /* @__PURE__ */ new Date();
@@ -19258,7 +19259,7 @@ function DT() {
19258
19259
  }
19259
19260
  }
19260
19261
  return new Date(H);
19261
- }(M), this.init();
19262
+ })(M), this.init();
19262
19263
  }, L.init = function() {
19263
19264
  var M = this.$d;
19264
19265
  this.$y = M.getFullYear(), this.$M = M.getMonth(), this.$D = M.getDate(), this.$W = M.getDay(), this.$H = M.getHours(), this.$m = M.getMinutes(), this.$s = M.getSeconds(), this.$ms = M.getMilliseconds();
@@ -19280,20 +19281,20 @@ function DT() {
19280
19281
  }, L.valueOf = function() {
19281
19282
  return this.$d.getTime();
19282
19283
  }, L.startOf = function(M, V) {
19283
- var H = this, U = !!Y.u(V) || V, E = Y.p(M), ne = function(ze, Ie) {
19284
- var tt = Y.w(H.$u ? Date.UTC(H.$y, Ie, ze) : new Date(H.$y, Ie, ze), H);
19284
+ var H = this, U = !!Y.u(V) || V, E = Y.p(M), ne = function(ze, Ne) {
19285
+ var tt = Y.w(H.$u ? Date.UTC(H.$y, Ne, ze) : new Date(H.$y, Ne, ze), H);
19285
19286
  return U ? tt : tt.endOf(c);
19286
- }, oe = function(ze, Ie) {
19287
- return Y.w(H.toDate()[ze].apply(H.toDate("s"), (U ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ie)), H);
19288
- }, v = this.$W, ie = this.$M, Te = this.$D, he = "set" + (this.$u ? "UTC" : "");
19287
+ }, oe = function(ze, Ne) {
19288
+ return Y.w(H.toDate()[ze].apply(H.toDate("s"), (U ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ne)), H);
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, Oe = (v < ve ? v + 7 : v) - ve;
19296
- return ne(U ? Te - Oe : Te + (6 - Oe), ie);
19296
+ var ve = this.$locale().weekStart || 0, Ie = (x < ve ? x + 7 : x) - ve;
19297
+ return ne(U ? Te - Ie : Te + (6 - Ie), ie);
19297
19298
  case c:
19298
19299
  case b:
19299
19300
  return oe(he + "Hours", 0);
@@ -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 v = this.clone().set(b, 1);
19315
- v.$d[ne](oe), v.init(), this.$d = v.set(b, Math.min(this.$D, v.daysInMonth())).$d;
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,36 +19331,36 @@ 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, v = this.$d.getTime() + M * oe;
19334
- return Y.w(v, this);
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, v = this.$M, ie = H.weekdays, Te = H.months, he = H.meridiem, ve = function(Ie, tt, pt, wt) {
19341
- return Ie && (Ie[tt] || Ie(V, U)) || pt[tt].slice(0, wt);
19342
- }, Oe = function(Ie) {
19343
- return Y.s(ne % 12 || 12, Ie, "0");
19344
- }, ze = he || function(Ie, tt, pt) {
19345
- var wt = Ie < 12 ? "AM" : "PM";
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) {
19342
+ return Ne && (Ne[tt] || Ne(V, U)) || pt[tt].slice(0, wt);
19343
+ }, Ie = function(Ne) {
19344
+ return Y.s(ne % 12 || 12, Ne, "0");
19345
+ }, ze = he || function(Ne, tt, pt) {
19346
+ var wt = Ne < 12 ? "AM" : "PM";
19346
19347
  return pt ? wt.toLowerCase() : wt;
19347
19348
  };
19348
- return U.replace(g, function(Ie, tt) {
19349
- return tt || function(pt) {
19349
+ return U.replace(g, (function(Ne, tt) {
19350
+ return tt || (function(pt) {
19350
19351
  switch (pt) {
19351
19352
  case "YY":
19352
19353
  return String(V.$y).slice(-2);
19353
19354
  case "YYYY":
19354
19355
  return Y.s(V.$y, 4, "0");
19355
19356
  case "M":
19356
- return v + 1;
19357
+ return x + 1;
19357
19358
  case "MM":
19358
- return Y.s(v + 1, 2, "0");
19359
+ return Y.s(x + 1, 2, "0");
19359
19360
  case "MMM":
19360
- return ve(H.monthsShort, v, Te, 3);
19361
+ return ve(H.monthsShort, x, Te, 3);
19361
19362
  case "MMMM":
19362
- return ve(Te, v);
19363
+ return ve(Te, x);
19363
19364
  case "D":
19364
19365
  return V.$D;
19365
19366
  case "DD":
@@ -19377,9 +19378,9 @@ function DT() {
19377
19378
  case "HH":
19378
19379
  return Y.s(ne, 2, "0");
19379
19380
  case "h":
19380
- return Oe(1);
19381
+ return Ie(1);
19381
19382
  case "hh":
19382
- return Oe(2);
19383
+ return Ie(2);
19383
19384
  case "a":
19384
19385
  return ze(ne, oe, !0);
19385
19386
  case "A":
@@ -19398,12 +19399,12 @@ function DT() {
19398
19399
  return E;
19399
19400
  }
19400
19401
  return null;
19401
- }(Ie) || E.replace(":", "");
19402
- });
19402
+ })(Ne) || E.replace(":", "");
19403
+ }));
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), v = (oe.utcOffset() - this.utcOffset()) * r, ie = this - oe, Te = function() {
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 - v) / 6048e5;
19421
+ U = (ie - x) / 6048e5;
19421
19422
  break;
19422
19423
  case c:
19423
- U = (ie - v) / 864e5;
19424
+ U = (ie - x) / 864e5;
19424
19425
  break;
19425
19426
  case l:
19426
19427
  U = ie / a;
@@ -19454,18 +19455,18 @@ function DT() {
19454
19455
  }, L.toString = function() {
19455
19456
  return this.$d.toUTCString();
19456
19457
  }, I;
19457
- }(), k = $.prototype;
19458
- return te.prototype = k, [["$ms", i], ["$s", u], ["$m", s], ["$H", l], ["$W", c], ["$M", f], ["$y", h], ["$D", b]].forEach(function(I) {
19458
+ })(), k = $.prototype;
19459
+ return te.prototype = k, [["$ms", i], ["$s", u], ["$m", s], ["$H", l], ["$W", c], ["$M", f], ["$y", h], ["$D", b]].forEach((function(I) {
19459
19460
  k[I[1]] = function(L) {
19460
19461
  return this.$g(L, I[0], I[1]);
19461
19462
  };
19462
- }), te.extend = function(I, L) {
19463
+ })), te.extend = function(I, L) {
19463
19464
  return I.$i || (I(L, $, te), I.$i = !0), te;
19464
19465
  }, te.locale = q, te.isDayjs = G, te.unix = function(I) {
19465
19466
  return te(1e3 * I);
19466
19467
  }, te.en = C[j], te.Ls = C, te.p = {}, te;
19467
- });
19468
- }(Fr)), Fr.exports;
19468
+ }));
19469
+ })(Fr)), Fr.exports;
19469
19470
  }
19470
19471
  var PT = DT();
19471
19472
  const MT = /* @__PURE__ */ Bt(PT);
@@ -19507,9 +19508,9 @@ function rd({ message: e, id: t, onFeedbackThumbSelection: n }) {
19507
19508
  ] });
19508
19509
  }
19509
19510
  rd.propTypes = {
19510
- id: x.number.isRequired,
19511
- message: x.shape().isRequired,
19512
- onFeedbackThumbSelection: x.func.isRequired
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: x.func,
19605
- setLiveChatOpen: x.func,
19606
- isTestUser: x.bool,
19607
- enableLiveChatMessage: x.bool,
19608
- containerStyle: x.shape(),
19609
- buttonClassName: x.string,
19610
- text: x.string,
19611
- userTrackingName: x.string
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: x.string.isRequired,
19656
- children: x.element.isRequired,
19657
- id: x.string.isRequired
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: x.string,
19692
- index: x.number
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: x.string,
19725
- backgroundColor: x.string,
19726
- margin: x.string,
19727
- size: x.number
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: x.string.isRequired,
19829
- alt: x.string
19829
+ src: v.string.isRequired,
19830
+ alt: v.string
19830
19831
  };
19831
19832
  const $T = (e) => {
19832
19833
  Array.from(e.entries()).forEach((n) => {
@@ -19926,9 +19927,9 @@ const GT = (e) => ({
19926
19927
  content: f,
19927
19928
  disableFeedback: p,
19928
19929
  liveAgent: h,
19929
- role: b = Ne.ASSISTANT,
19930
+ role: b = Oe.ASSISTANT,
19930
19931
  timestamp: m
19931
- } = n ?? {}, y = b === Ne.TOOL ? Ne.ASSISTANT : b, g = h || l === Ms.ESCALATE_TO_AN_AGENT, D = !g && !!f, P = on(
19932
+ } = n ?? {}, y = b === Oe.TOOL ? Oe.ASSISTANT : b, g = h || l === Ms.ESCALATE_TO_AN_AGENT, D = !g && !!f, P = on(
19932
19933
  () => QT(
19933
19934
  c,
19934
19935
  d?.userMessageBubble?.style
@@ -19939,6 +19940,8 @@ const GT = (e) => ({
19939
19940
  [f, l]
19940
19941
  ), j = on(() => {
19941
19942
  if (!D) return null;
19943
+ if (y === Oe.USER)
19944
+ return Q;
19942
19945
  const C = XT(Q);
19943
19946
  return /* @__PURE__ */ S.jsx(
19944
19947
  Ui,
@@ -19973,7 +19976,7 @@ const GT = (e) => ({
19973
19976
  className: "xpert-chatbot-popup__bubble--group-inner",
19974
19977
  style: P[y].innerStyle,
19975
19978
  children: [
19976
- y === Ne.AGENT && /* @__PURE__ */ S.jsx(
19979
+ y === Oe.AGENT && /* @__PURE__ */ S.jsx(
19977
19980
  Ai,
19978
19981
  {
19979
19982
  alignSelf: "flex-end",
@@ -20007,7 +20010,7 @@ const GT = (e) => ({
20007
20010
  ]
20008
20011
  }
20009
20012
  ),
20010
- y === Ne.USER && /* @__PURE__ */ S.jsx(
20013
+ y === Oe.USER && /* @__PURE__ */ S.jsx(
20011
20014
  Ai,
20012
20015
  {
20013
20016
  alignSelf: "flex-end",
@@ -20019,7 +20022,7 @@ const GT = (e) => ({
20019
20022
  }
20020
20023
  ),
20021
20024
  m && /* @__PURE__ */ S.jsx("div", { className: "xpert-chatbot-popup__bubble--timestamp", children: MT(m).format("hh:mm a") }),
20022
- !p && a && y === Ne.ASSISTANT && /* @__PURE__ */ S.jsx(
20025
+ !p && a && y === Oe.ASSISTANT && /* @__PURE__ */ S.jsx(
20023
20026
  rd,
20024
20027
  {
20025
20028
  id: e,
@@ -20032,21 +20035,21 @@ const GT = (e) => ({
20032
20035
  );
20033
20036
  };
20034
20037
  tu.propTypes = {
20035
- index: x.number.isRequired,
20036
- isTestUser: x.bool,
20038
+ index: v.number.isRequired,
20039
+ isTestUser: v.bool,
20037
20040
  message: Fs.isRequired,
20038
- messageRef: x.shape({ current: x.instanceOf(Element) }),
20039
- onFeedbackThumbSelection: x.func.isRequired,
20040
- onMessageLinkClicked: x.func,
20041
- setLiveChatOpen: x.func,
20042
- submitEvent: x.func,
20043
- toolCall: x.string
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
20044
20047
  };
20045
20048
  tu.displayName = "MessageBubble";
20046
20049
  const od = I0(tu);
20047
20050
  function nu({ message: e }) {
20048
20051
  const { content: t, icon: n, iconColor: r, role: a } = e;
20049
- return a !== Ne.NOTIFICATION ? null : /* @__PURE__ */ S.jsxs("div", { className: "notification-container", children: [
20052
+ return a !== Oe.NOTIFICATION ? null : /* @__PURE__ */ S.jsxs("div", { className: "notification-container", children: [
20050
20053
  /* @__PURE__ */ S.jsx(
20051
20054
  "div",
20052
20055
  {
@@ -20059,11 +20062,11 @@ function nu({ message: e }) {
20059
20062
  ] });
20060
20063
  }
20061
20064
  nu.propTypes = {
20062
- message: x.shape({
20063
- content: x.string,
20064
- icon: x.string,
20065
- iconColor: x.string,
20066
- role: x.oneOf([Ne.NOTIFICATION])
20065
+ message: v.shape({
20066
+ content: v.string,
20067
+ icon: v.string,
20068
+ iconColor: v.string,
20069
+ role: v.oneOf([Oe.NOTIFICATION])
20067
20070
  }).isRequired
20068
20071
  };
20069
20072
  nu.displayName = "NotificationMessage";
@@ -20091,7 +20094,7 @@ function sd({ disableScroll: e }) {
20091
20094
  );
20092
20095
  }
20093
20096
  sd.propTypes = {
20094
- disableScroll: x.bool
20097
+ disableScroll: v.bool
20095
20098
  };
20096
20099
  const ia = ({
20097
20100
  isTestUser: e = !1,
@@ -20121,16 +20124,16 @@ const ia = ({
20121
20124
  style: { display: "flex", flexDirection: "column" },
20122
20125
  children: n.map((p, h) => {
20123
20126
  const { role: b } = p, m = `${b}-${h}`;
20124
- if (b === Ne.ERROR)
20127
+ if (b === Oe.ERROR)
20125
20128
  return /* @__PURE__ */ S.jsx(ai, { content: p?.content }, m);
20126
- if (b === Ne.NOTIFICATION)
20129
+ if (b === Oe.NOTIFICATION)
20127
20130
  return /* @__PURE__ */ S.jsx(nu, { message: p }, m);
20128
20131
  if (![
20129
- Ne.AGENT,
20130
- Ne.ASSISTANT,
20131
- Ne.INFO,
20132
- Ne.TOOL,
20133
- Ne.USER
20132
+ Oe.AGENT,
20133
+ Oe.ASSISTANT,
20134
+ Oe.INFO,
20135
+ Oe.TOOL,
20136
+ Oe.USER
20134
20137
  ].includes(b) || !p.content) return null;
20135
20138
  const y = f[p.toolCallId];
20136
20139
  return /* @__PURE__ */ S.jsx(
@@ -20156,13 +20159,13 @@ const ia = ({
20156
20159
  ] });
20157
20160
  };
20158
20161
  ia.propTypes = {
20159
- isTestUser: x.bool,
20160
- loading: x.bool.isRequired,
20162
+ isTestUser: v.bool,
20163
+ loading: v.bool.isRequired,
20161
20164
  messages: Xr,
20162
- onFeedbackThumbSelection: x.func.isRequired,
20163
- onMessageLinkClicked: x.func,
20164
- setLiveChatOpen: x.func,
20165
- submitEvent: x.func
20165
+ onFeedbackThumbSelection: v.func.isRequired,
20166
+ onMessageLinkClicked: v.func,
20167
+ setLiveChatOpen: v.func,
20168
+ submitEvent: v.func
20166
20169
  };
20167
20170
  ia.displayName = "ConversationMessages";
20168
20171
  const ld = () => {
@@ -20240,8 +20243,8 @@ const ru = ({ onPromptClick: e }) => {
20240
20243
  ] });
20241
20244
  };
20242
20245
  ru.propTypes = {
20243
- loading: x.bool.isRequired,
20244
- onPromptClick: x.func.isRequired
20246
+ loading: v.bool.isRequired,
20247
+ onPromptClick: v.func.isRequired
20245
20248
  };
20246
20249
  ru.displayName = "PromptList";
20247
20250
  const cd = ({ chatContentRef: e, messages: t }) => {
@@ -20264,7 +20267,7 @@ const cd = ({ chatContentRef: e, messages: t }) => {
20264
20267
  top: e.current.scrollHeight,
20265
20268
  behavior: "smooth"
20266
20269
  });
20267
- }, [n, e]), n ? null : /* @__PURE__ */ S.jsx("div", { ref: u, tabIndex: -1, children: (a || r) && t.find((c) => c.role === Ne.ASSISTANT) && /* @__PURE__ */ S.jsx(
20270
+ }, [n, e]), n ? null : /* @__PURE__ */ S.jsx("div", { ref: u, tabIndex: -1, children: (a || r) && t.find((c) => c.role === Oe.ASSISTANT) && /* @__PURE__ */ S.jsx(
20268
20271
  "button",
20269
20272
  {
20270
20273
  onClick: l,
@@ -20275,10 +20278,10 @@ const cd = ({ chatContentRef: e, messages: t }) => {
20275
20278
  ) });
20276
20279
  };
20277
20280
  cd.propTypes = {
20278
- chatContentRef: x.shape({
20279
- current: x.instanceOf(Element)
20281
+ chatContentRef: v.shape({
20282
+ current: v.instanceOf(Element)
20280
20283
  }).isRequired,
20281
- messages: x.array.isRequired
20284
+ messages: v.array.isRequired
20282
20285
  };
20283
20286
  function dd({
20284
20287
  handleFeedbackThumbSelection: e = null,
@@ -20311,7 +20314,7 @@ function dd({
20311
20314
  {
20312
20315
  message: {
20313
20316
  content: s?.systemMessage,
20314
- role: Ne.ASSISTANT
20317
+ role: Oe.ASSISTANT
20315
20318
  }
20316
20319
  }
20317
20320
  ),
@@ -20372,17 +20375,17 @@ function dd({
20372
20375
  ] });
20373
20376
  }
20374
20377
  dd.propTypes = {
20375
- handleFeedbackThumbSelection: x.func,
20376
- handleMessageLinkClicked: x.func,
20377
- handleSend: x.func,
20378
- inputRef: x.shape({ current: x.instanceOf(Object) }),
20379
- isTestUser: x.bool,
20380
- setLiveChatOpen: x.func,
20381
- submitEvent: x.func
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
20382
20385
  };
20383
20386
  var Ya = {}, gt = {}, $a = {}, fs;
20384
20387
  function Ht() {
20385
- return fs || (fs = 1, function(e) {
20388
+ return fs || (fs = 1, (function(e) {
20386
20389
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
20387
20390
  var t = 1, n = 1e3 * t;
20388
20391
  e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
@@ -20405,11 +20408,11 @@ function Ht() {
20405
20408
  }
20406
20409
  };
20407
20410
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && a();
20408
- }($a)), $a;
20411
+ })($a)), $a;
20409
20412
  }
20410
20413
  var Xn = {}, Va = {}, hs;
20411
20414
  function au() {
20412
- return hs || (hs = 1, function(e) {
20415
+ return hs || (hs = 1, (function(e) {
20413
20416
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
20414
20417
  var t = function(n) {
20415
20418
  if (n && e.sharedWebSockets.hasOwnProperty(n))
@@ -20419,7 +20422,7 @@ function au() {
20419
20422
  e.sharedWebSockets.hasOwnProperty(r) && delete e.sharedWebSockets[r];
20420
20423
  };
20421
20424
  e.resetWebSockets = t;
20422
- }(Va)), Va;
20425
+ })(Va)), Va;
20423
20426
  }
20424
20427
  var tn = {}, jt = {}, ps;
20425
20428
  function iu() {
@@ -20485,7 +20488,7 @@ function fd() {
20485
20488
  }
20486
20489
  var Kn = {}, Wa = {}, gs;
20487
20490
  function uu() {
20488
- return gs || (gs = 1, function(e) {
20491
+ return gs || (gs = 1, (function(e) {
20489
20492
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
20490
20493
  var t = {}, n = [], r = function(l) {
20491
20494
  return (0, e.hasSubscribers)(l) ? Array.from(t[l]) : n;
@@ -20512,7 +20515,7 @@ function uu() {
20512
20515
  t.hasOwnProperty(c) && delete t[c];
20513
20516
  };
20514
20517
  e.resetSubscribers = s;
20515
- }(Wa)), Wa;
20518
+ })(Wa)), Wa;
20516
20519
  }
20517
20520
  var bs;
20518
20521
  function ou() {
@@ -20705,7 +20708,7 @@ function t3() {
20705
20708
  }
20706
20709
  var qt = {}, _s;
20707
20710
  function n3() {
20708
- return _s || (_s = 1, function(e) {
20711
+ return _s || (_s = 1, (function(e) {
20709
20712
  var t = qt && qt.__awaiter || function(l, c, d, f) {
20710
20713
  function p(h) {
20711
20714
  return h instanceof d ? h : new d(function(b) {
@@ -20838,11 +20841,11 @@ function n3() {
20838
20841
  });
20839
20842
  };
20840
20843
  e.getUrl = s;
20841
- }(qt)), qt;
20844
+ })(qt)), qt;
20842
20845
  }
20843
20846
  var Ga = {}, Cs;
20844
20847
  function r3() {
20845
- return Cs || (Cs = 1, function(e) {
20848
+ return Cs || (Cs = 1, (function(e) {
20846
20849
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
20847
20850
  var t = function(n, r) {
20848
20851
  return new Proxy(n, {
@@ -20857,7 +20860,7 @@ function r3() {
20857
20860
  });
20858
20861
  };
20859
20862
  e.websocketWrapper = t, e.default = e.websocketWrapper;
20860
- }(Ga)), Ga;
20863
+ })(Ga)), Ga;
20861
20864
  }
20862
20865
  var As;
20863
20866
  function su() {
@@ -20989,13 +20992,13 @@ function su() {
20989
20992
  if (p !== null && b === !0) {
20990
20993
  var U, E = !1, ne = !0, oe = function() {
20991
20994
  return t(void 0, void 0, void 0, function() {
20992
- var v, ie, Te;
20995
+ var x, ie, Te;
20993
20996
  return n(this, function(he) {
20994
20997
  switch (he.label) {
20995
20998
  case 0:
20996
- return v = C, [4, (0, l.getUrl)(p, k)];
20999
+ return x = C, [4, (0, l.getUrl)(p, k)];
20997
21000
  case 1:
20998
- return v.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
+ 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() {
20999
21002
  return Q(function(ve) {
21000
21003
  return e(e({}, ve), { ABORTED: u.ReadyState.CLOSED });
21001
21004
  });
@@ -21008,9 +21011,9 @@ function su() {
21008
21011
  });
21009
21012
  }, Te = function(ve) {
21010
21013
  E || (0, i.flushSync)(function() {
21011
- return Q(function(Oe) {
21014
+ return Q(function(Ie) {
21012
21015
  var ze;
21013
- return e(e({}, Oe), C.current && (ze = {}, ze[C.current] = ve, ze));
21016
+ return e(e({}, Ie), C.current && (ze = {}, ze[C.current] = ve, ze));
21014
21017
  });
21015
21018
  });
21016
21019
  }, ne && (U = (0, s.createOrJoinSocket)(w, C.current, Te, k, ie, G, q, te, M)), [
@@ -21026,9 +21029,9 @@ function su() {
21026
21029
  }, oe(), function() {
21027
21030
  E = !0, ne = !1, $.current && ($.current = null), U?.(), g(null);
21028
21031
  };
21029
- } else (p === null || b === !1) && (q.current = 0, Q(function(v) {
21032
+ } else (p === null || b === !1) && (q.current = 0, Q(function(x) {
21030
21033
  var ie;
21031
- return e(e({}, v), C.current && (ie = {}, ie[C.current] = u.ReadyState.CLOSED, ie));
21034
+ return e(e({}, x), C.current && (ie = {}, ie[C.current] = u.ReadyState.CLOSED, ie));
21032
21035
  }));
21033
21036
  }, [p, b, L, M]), (0, a.useEffect)(function() {
21034
21037
  I === u.ReadyState.OPEN && Y.current.splice(0).forEach(function(U) {
@@ -21136,7 +21139,7 @@ function i3() {
21136
21139
  }
21137
21140
  var xs;
21138
21141
  function u3() {
21139
- return xs || (xs = 1, function(e) {
21142
+ return xs || (xs = 1, (function(e) {
21140
21143
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
21141
21144
  var t = su();
21142
21145
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
@@ -21158,7 +21161,7 @@ function u3() {
21158
21161
  Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
21159
21162
  return i.resetGlobalState;
21160
21163
  } });
21161
- }(Ya)), Ya;
21164
+ })(Ya)), Ya;
21162
21165
  }
21163
21166
  var o3 = u3();
21164
21167
  const s3 = /* @__PURE__ */ Bt(o3);
@@ -21221,7 +21224,7 @@ const c3 = "This conversation with a live agent has ended. Please note that a tr
21221
21224
  }, G = () => {
21222
21225
  r({
21223
21226
  content: c3,
21224
- role: Ne.INFO
21227
+ role: Oe.INFO
21225
21228
  }), q();
21226
21229
  }, q = () => {
21227
21230
  d(""), b(null), y($t.FORM), i(kt.XPERT);
@@ -21239,7 +21242,7 @@ const c3 = "This conversation with a live agent has ended. Please note that a tr
21239
21242
  P({
21240
21243
  content: E ?? "",
21241
21244
  id: U ?? "",
21242
- role: Ne.AGENT,
21245
+ role: Oe.AGENT,
21243
21246
  timestamp: ne ? new Date(ne) : void 0
21244
21247
  }), j({
21245
21248
  action: "sendmessage",
@@ -21262,7 +21265,7 @@ const c3 = "This conversation with a live agent has ended. Please note that a tr
21262
21265
  P({
21263
21266
  content: H,
21264
21267
  id: "",
21265
- role: Ne.USER,
21268
+ role: Oe.USER,
21266
21269
  timestamp: /* @__PURE__ */ new Date()
21267
21270
  }), j({
21268
21271
  action: "sendmessage",
@@ -21295,7 +21298,7 @@ const c3 = "This conversation with a live agent has ended. Please note that a tr
21295
21298
  content: "Feedback submitted",
21296
21299
  icon: "check",
21297
21300
  iconColor: "#30A171",
21298
- role: Ne.NOTIFICATION
21301
+ role: Oe.NOTIFICATION
21299
21302
  }), G();
21300
21303
  },
21301
21304
  terminateConversation: w
@@ -21303,8 +21306,8 @@ const c3 = "This conversation with a live agent has ended. Please note that a tr
21303
21306
  return /* @__PURE__ */ S.jsx(mn.Provider, { value: V, children: e });
21304
21307
  };
21305
21308
  hd.propTypes = {
21306
- children: x.element.isRequired,
21307
- liveChatPayload: x.object
21309
+ children: v.element.isRequired,
21310
+ liveChatPayload: v.object
21308
21311
  };
21309
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";
21310
21313
  function pd({ handleResizeButtonClick: e, setIsMounted: t }) {
@@ -21337,8 +21340,8 @@ function pd({ handleResizeButtonClick: e, setIsMounted: t }) {
21337
21340
  );
21338
21341
  }
21339
21342
  pd.propTypes = {
21340
- handleResizeButtonClick: x.func,
21341
- setIsMounted: x.func.isRequired
21343
+ handleResizeButtonClick: v.func,
21344
+ setIsMounted: v.func.isRequired
21342
21345
  };
21343
21346
  function md({
21344
21347
  handleResizeButtonClick: e,
@@ -21409,10 +21412,10 @@ function md({
21409
21412
  ] });
21410
21413
  }
21411
21414
  md.propTypes = {
21412
- handleResizeButtonClick: x.func,
21413
- setIsMounted: x.func.isRequired,
21414
- onClose: x.func.isRequired,
21415
- isMounted: x.bool.isRequired
21415
+ handleResizeButtonClick: v.func,
21416
+ setIsMounted: v.func.isRequired,
21417
+ onClose: v.func.isRequired,
21418
+ isMounted: v.bool.isRequired
21416
21419
  };
21417
21420
  const gd = ({
21418
21421
  backgroundColor: e = "#F0CC00",
@@ -21442,8 +21445,8 @@ const gd = ({
21442
21445
  }
21443
21446
  );
21444
21447
  gd.propTypes = {
21445
- backgroundColor: x.string,
21446
- textColor: x.string
21448
+ backgroundColor: v.string,
21449
+ textColor: v.string
21447
21450
  };
21448
21451
  function bd({
21449
21452
  handleResizeButtonClick: e,
@@ -21520,10 +21523,10 @@ function bd({
21520
21523
  );
21521
21524
  }
21522
21525
  bd.propTypes = {
21523
- handleResizeButtonClick: x.func,
21524
- isMounted: x.bool.isRequired,
21525
- setIsMounted: x.func.isRequired,
21526
- onClose: x.func.isRequired
21526
+ handleResizeButtonClick: v.func,
21527
+ isMounted: v.bool.isRequired,
21528
+ setIsMounted: v.func.isRequired,
21529
+ onClose: v.func.isRequired
21527
21530
  };
21528
21531
  function h3() {
21529
21532
  const {
@@ -21699,7 +21702,7 @@ function Td({ onDismiss: e }) {
21699
21702
  ] });
21700
21703
  }
21701
21704
  Td.propTypes = {
21702
- onDismiss: x.func
21705
+ onDismiss: v.func
21703
21706
  };
21704
21707
  function b3(e, t) {
21705
21708
  const [n, r] = le(!1), a = rt(), i = ct(
@@ -22014,12 +22017,12 @@ function Ad({
22014
22017
  ) });
22015
22018
  }
22016
22019
  Ad.propTypes = {
22017
- children: x.node.isRequired,
22018
- cookieName: x.string.isRequired,
22019
- onClick: x.func,
22020
- onClose: x.func,
22021
- showMessage: x.bool,
22022
- style: x.shape()
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()
22023
22026
  };
22024
22027
  function C3(e, t, n) {
22025
22028
  const r = ct(
@@ -22089,20 +22092,29 @@ function Is(e, t) {
22089
22092
  );
22090
22093
  return (t.getTime() - e.getTime()) / 1e3;
22091
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
+ };
22092
22101
  function v3(e) {
22093
22102
  if (!e) return 0;
22094
22103
  const t = /\[(.+)\]\(([^ ]+)( "(.+)")?\)/gm;
22095
22104
  return e.match(t)?.length || 0;
22096
22105
  }
22097
- function Ns(e) {
22106
+ function ks(e) {
22098
22107
  return new TextEncoder().encode(e).length;
22099
22108
  }
22100
- const ks = (e) => {
22101
- let t = dt.get(`${e}-conversation-history-id`);
22102
- return t || (t = id(), dt.set(`${e}-conversation-history-id`, t, {
22103
- expires: 1
22104
- })), t;
22105
- }, x3 = 100, O3 = (e = x3) => new Promise((t) => setTimeout(t, e));
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));
22106
22118
  function Sd({ submitEventExternal: e = null }) {
22107
22119
  const {
22108
22120
  chatApi: t,
@@ -22141,7 +22153,7 @@ function Sd({ submitEventExternal: e = null }) {
22141
22153
  const E = ct(
22142
22154
  ({ name: se, payload: ye }) => {
22143
22155
  if (!n || !s?.enabled) return;
22144
- const Re = Ds(s?.payloadParams, ye);
22156
+ const Re = Rs(s?.payloadParams, ye);
22145
22157
  e ? e({ name: se, payload: Re }) : H.current.track(
22146
22158
  // TODO: this is untestable - create a custom hook to get submit event function.
22147
22159
  se,
@@ -22177,7 +22189,7 @@ function Sd({ submitEventExternal: e = null }) {
22177
22189
  return;
22178
22190
  }
22179
22191
  try {
22180
- let xe = ks(a);
22192
+ let xe = Ns(a);
22181
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(
22182
22194
  `${t.baseUrl}${Be}?${Ce}`,
22183
22195
  {
@@ -22237,7 +22249,7 @@ function Sd({ submitEventExternal: e = null }) {
22237
22249
  l?.enabled,
22238
22250
  l?.experimentName
22239
22251
  ]);
22240
- const v = (se) => {
22252
+ const x = (se) => {
22241
22253
  se?.target?.href && E({
22242
22254
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
22243
22255
  payload: {
@@ -22306,7 +22318,7 @@ function Sd({ submitEventExternal: e = null }) {
22306
22318
  );
22307
22319
  const ut = _e.filter(({ content: re }) => !!re), yt = ut.map((re) => re.content ?? "").join("");
22308
22320
  ie(yt, ye);
22309
- const z = /* @__PURE__ */ new Date(), K = Ns(JSON.stringify(xe));
22321
+ const z = /* @__PURE__ */ new Date(), K = ks(JSON.stringify(xe));
22310
22322
  return Te({
22311
22323
  conversationByteSize: K,
22312
22324
  conversationSize: ut.length + m.filter(({ content: re }) => !!re).length + 1,
@@ -22340,7 +22352,7 @@ function Sd({ submitEventExternal: e = null }) {
22340
22352
  content: "",
22341
22353
  disableFeedback: !0
22342
22354
  }), ut++;
22343
- const $e = /* @__PURE__ */ new Date(), Ze = Ns(
22355
+ const $e = /* @__PURE__ */ new Date(), Ze = ks(
22344
22356
  JSON.stringify(xe)
22345
22357
  ), ot = He.filter(({ content: Qe }) => !!Qe);
22346
22358
  Te({
@@ -22352,7 +22364,7 @@ function Sd({ submitEventExternal: e = null }) {
22352
22364
  isStreaming: !0
22353
22365
  });
22354
22366
  }
22355
- await O3(), b(($e) => {
22367
+ await I3(), b(($e) => {
22356
22368
  const Ze = [...$e];
22357
22369
  return Ze.splice(
22358
22370
  Ze.length - He.length,
@@ -22365,7 +22377,7 @@ function Sd({ submitEventExternal: e = null }) {
22365
22377
  }
22366
22378
  const z = _e.find((K) => K.content)?.content || "";
22367
22379
  return ie(z, ye), _e;
22368
- }, Oe = async (se, ye, Re, xe, Be) => {
22380
+ }, Ie = async (se, ye, Re, xe, Be) => {
22369
22381
  w(!0);
22370
22382
  const Ce = se.body.getReader(), _e = await ve(
22371
22383
  Ce,
@@ -22381,7 +22393,7 @@ function Sd({ submitEventExternal: e = null }) {
22381
22393
  return;
22382
22394
  const ye = /* @__PURE__ */ new Date();
22383
22395
  Q(!1), P(!1);
22384
- const Re = m.filter((_e) => _e.role === Ne.USER).length + 1;
22396
+ const Re = m.filter((_e) => _e.role === Oe.USER).length + 1;
22385
22397
  if (E({
22386
22398
  name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
22387
22399
  payload: {
@@ -22396,10 +22408,10 @@ function Sd({ submitEventExternal: e = null }) {
22396
22408
  return;
22397
22409
  }
22398
22410
  let xe = null;
22399
- r.conversationHistory.enabled && (xe = ks(a)), h({ role: Ne.USER, content: se });
22411
+ r.conversationHistory.enabled && (xe = Ns(a)), h({ role: Oe.USER, content: se });
22400
22412
  const Be = [
22401
22413
  ...m,
22402
- { role: Ne.USER, content: se }
22414
+ { role: Oe.USER, content: se }
22403
22415
  ].map((_e) => ({
22404
22416
  role: _e.role,
22405
22417
  content: _e.content,
@@ -22407,9 +22419,9 @@ function Sd({ submitEventExternal: e = null }) {
22407
22419
  ..._e.toolCallId && { tool_call_id: _e.toolCallId }
22408
22420
  })).filter(
22409
22421
  ({ role: _e }) => [
22410
- Ne.ASSISTANT,
22411
- Ne.TOOL,
22412
- Ne.USER
22422
+ Oe.ASSISTANT,
22423
+ Oe.TOOL,
22424
+ Oe.USER
22413
22425
  ].includes(_e)
22414
22426
  ), Ce = await fetch(t.endpoint, {
22415
22427
  method: "POST",
@@ -22419,12 +22431,15 @@ function Sd({ submitEventExternal: e = null }) {
22419
22431
  ...t.payloadParams,
22420
22432
  ...xe && {
22421
22433
  conversation_id: xe
22434
+ },
22435
+ ...t?.buildTagsFromUrl && {
22436
+ tags: x3(window.location.href)
22422
22437
  }
22423
22438
  })
22424
22439
  });
22425
22440
  if (!Ce.ok)
22426
22441
  throw new Error(`HTTPError: ${Ce.status} ${Ce.statusText}`);
22427
- C(!1), t.payloadParams?.stream ? await Oe(
22442
+ C(!1), t.payloadParams?.stream ? await Ie(
22428
22443
  Ce,
22429
22444
  xe,
22430
22445
  se,
@@ -22440,7 +22455,7 @@ function Sd({ submitEventExternal: e = null }) {
22440
22455
  } catch (ye) {
22441
22456
  C(!1), P(!0), console.error(ye);
22442
22457
  }
22443
- }, Ie = () => {
22458
+ }, Ne = () => {
22444
22459
  k(!1), Y(!0), j(!0), ne(), E({
22445
22460
  name: `${s.prefix}.bi.xpert.chatbot.action.button.clicked`,
22446
22461
  payload: {
@@ -22546,13 +22561,13 @@ function Sd({ submitEventExternal: e = null }) {
22546
22561
  Zt && c && /* @__PURE__ */ S.jsx(
22547
22562
  js,
22548
22563
  {
22549
- handleFloatingActionButtonClick: Ie
22564
+ handleFloatingActionButtonClick: Ne
22550
22565
  }
22551
22566
  ),
22552
22567
  !Zt && c && /* @__PURE__ */ S.jsx(
22553
22568
  zs,
22554
22569
  {
22555
- handleFloatingActionButtonClick: Ie
22570
+ handleFloatingActionButtonClick: Ne
22556
22571
  }
22557
22572
  ),
22558
22573
  c && /* @__PURE__ */ S.jsx(p3, {}),
@@ -22576,7 +22591,7 @@ function Sd({ submitEventExternal: e = null }) {
22576
22591
  dd,
22577
22592
  {
22578
22593
  handleFeedbackThumbSelection: Bn,
22579
- handleMessageLinkClicked: v,
22594
+ handleMessageLinkClicked: x,
22580
22595
  handleSend: ze,
22581
22596
  inputRef: V,
22582
22597
  isTestUser: U,
@@ -22592,7 +22607,7 @@ function Sd({ submitEventExternal: e = null }) {
22592
22607
  );
22593
22608
  }
22594
22609
  Sd.propTypes = {
22595
- submitEventExternal: x.func
22610
+ submitEventExternal: v.func
22596
22611
  };
22597
22612
  const vd = ({
22598
22613
  children: e,
@@ -22625,18 +22640,18 @@ const vd = ({
22625
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 }) }) }) });
22626
22641
  };
22627
22642
  vd.propTypes = {
22628
- children: x.element,
22629
- clientId: x.string,
22630
- configurations: x.object,
22643
+ children: v.element,
22644
+ clientId: v.string,
22645
+ configurations: v.object,
22631
22646
  conversation: Xr,
22632
- id: x.string,
22633
- externalLoading: x.bool,
22634
- externalStreaming: x.bool,
22635
- liveChatPayload: x.object,
22636
- onFeedbackSelection: x.func,
22637
- onMessageSent: x.func,
22638
- xpertKey: x.string,
22639
- widgetMode: x.bool
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
22640
22655
  };
22641
22656
  function xd({
22642
22657
  clientId: e,
@@ -22669,19 +22684,19 @@ function xd({
22669
22684
  );
22670
22685
  }
22671
22686
  xd.propTypes = {
22672
- clientId: x.string,
22673
- configurations: x.object,
22687
+ clientId: v.string,
22688
+ configurations: v.object,
22674
22689
  conversation: Xr,
22675
- externalLoading: x.bool,
22676
- externalStreaming: x.bool,
22677
- liveChatPayload: x.object,
22678
- onFeedbackSelection: x.func,
22679
- onMessageSent: x.func,
22680
- submitEventExternal: x.func,
22681
- xpertKey: x.string,
22682
- widgetMode: x.bool
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
22683
22698
  };
22684
- function I3() {
22699
+ function N3() {
22685
22700
  let e = document.getElementById("xpert-chatbot-container");
22686
22701
  e || (e = document.createElement("div"), e.setAttribute("id", "xpert-chatbot-container"), document.body.appendChild(e), R0(
22687
22702
  /* @__PURE__ */ S.jsx(L0, { children: /* @__PURE__ */ S.jsx(
@@ -22697,7 +22712,7 @@ function I3() {
22697
22712
  ));
22698
22713
  }
22699
22714
  window.XpertChatbotFrontend = window.XpertChatbotFrontend || {};
22700
- window.XpertChatbotFrontend.mount = I3;
22715
+ window.XpertChatbotFrontend.mount = N3;
22701
22716
  window.process = window.process || {};
22702
22717
  window.process.env = { ...window.process.env, NODE_ENV: "production" };
22703
22718
  export {