@2uinc/frontend-component-xpert-chatbot 1.35.2 → 1.35.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.min.js +598 -595
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -177,7 +177,7 @@ function Ja(e, t) {
|
|
177
177
|
}
|
178
178
|
);
|
179
179
|
}
|
180
|
-
var
|
180
|
+
var nt = Ja(A0, { path: "/" }), Ta = { exports: {} }, ya, Cu;
|
181
181
|
function S0() {
|
182
182
|
if (Cu) return ya;
|
183
183
|
Cu = 1;
|
@@ -245,13 +245,13 @@ function O0() {
|
|
245
245
|
return xu || (xu = 1, function(e, t) {
|
246
246
|
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]", h = "[object Date]", p = "[object Error]", f = "[object Function]", b = "[object GeneratorFunction]", m = "[object Map]", _ = "[object Number]", g = "[object Null]", P = "[object Object]", F = "[object Proxy]", K = "[object RegExp]", D = "[object Set]", y = "[object String]", N = "[object Undefined]", G = "[object WeakMap]", M = "[object ArrayBuffer]", te = "[object DataView]", z = "[object Float32Array]", V = "[object Float64Array]", L = "[object Int8Array]", I = "[object Int16Array]", R = "[object Int32Array]", U = "[object Uint8Array]", W = "[object Uint8ClampedArray]", q = "[object Uint16Array]", $ = "[object Uint32Array]", T = /[\\^$.*+?()[\]{}|]/g, ne = /^\[object .+?Constructor\]$/, oe = /^(?:0|[1-9]\d*)$/, S = {};
|
247
247
|
S[z] = S[V] = S[L] = S[I] = S[R] = S[U] = S[W] = S[q] = S[$] = !0, S[s] = S[l] = S[M] = S[d] = S[te] = S[h] = S[p] = S[f] = S[m] = S[_] = S[P] = S[K] = S[D] = S[y] = S[G] = !1;
|
248
|
-
var le = typeof Cr == "object" && Cr && Cr.Object === Object && Cr,
|
248
|
+
var le = typeof Cr == "object" && Cr && Cr.Object === Object && Cr, _e = typeof self == "object" && self && self.Object === Object && self, me = le || _e || Function("return this")(), Ae = t && !t.nodeType && t, Ie = Ae && !0 && e && !e.nodeType && e, Be = Ie && Ie.exports === Ae, Ne = Be && le.process, Xe = function() {
|
249
249
|
try {
|
250
|
-
var A =
|
251
|
-
return A ||
|
250
|
+
var A = Ie && Ie.require && Ie.require("util").types;
|
251
|
+
return A || Ne && Ne.binding && Ne.binding("util");
|
252
252
|
} catch {
|
253
253
|
}
|
254
|
-
}(),
|
254
|
+
}(), ut = Xe && Xe.isTypedArray;
|
255
255
|
function St(A, k, H) {
|
256
256
|
switch (H.length) {
|
257
257
|
case 0:
|
@@ -283,27 +283,27 @@ function O0() {
|
|
283
283
|
return A(k(H));
|
284
284
|
};
|
285
285
|
}
|
286
|
-
var bn = Array.prototype, Bn = Function.prototype, Dt = Object.prototype, wt =
|
286
|
+
var bn = Array.prototype, Bn = Function.prototype, Dt = Object.prototype, wt = me["__core-js_shared__"], zt = Bn.toString, ot = Dt.hasOwnProperty, Kt = function() {
|
287
287
|
var A = /[^.]+$/.exec(wt && wt.keys && wt.keys.IE_PROTO || "");
|
288
288
|
return A ? "Symbol(src)_1." + A : "";
|
289
289
|
}(), Qt = Dt.toString, En = zt.call(Object), Y = RegExp(
|
290
|
-
"^" + zt.call(
|
291
|
-
), B = Be ?
|
290
|
+
"^" + zt.call(ot).replace(T, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
291
|
+
), B = Be ? me.Buffer : void 0, re = me.Symbol, ie = me.Uint8Array;
|
292
292
|
B && B.allocUnsafe;
|
293
|
-
var ae = gn(Object.getPrototypeOf, Object),
|
293
|
+
var ae = gn(Object.getPrototypeOf, Object), ge = Object.create, Ce = Dt.propertyIsEnumerable, Te = bn.splice, ve = re ? re.toStringTag : void 0, je = function() {
|
294
294
|
try {
|
295
295
|
var A = la(Object, "defineProperty");
|
296
296
|
return A({}, "", {}), A;
|
297
297
|
} catch {
|
298
298
|
}
|
299
|
-
}(),
|
299
|
+
}(), Ee = B ? B.isBuffer : void 0, ze = Math.max, Je = Date.now, Pt = la(me, "Map"), _t = la(Object, "create"), su = /* @__PURE__ */ function() {
|
300
300
|
function A() {
|
301
301
|
}
|
302
302
|
return function(k) {
|
303
303
|
if (!Jt(k))
|
304
304
|
return {};
|
305
|
-
if (
|
306
|
-
return
|
305
|
+
if (ge)
|
306
|
+
return ge(k);
|
307
307
|
A.prototype = k;
|
308
308
|
var H = new A();
|
309
309
|
return A.prototype = void 0, H;
|
@@ -329,11 +329,11 @@ function O0() {
|
|
329
329
|
var H = k[A];
|
330
330
|
return H === r ? void 0 : H;
|
331
331
|
}
|
332
|
-
return
|
332
|
+
return ot.call(k, A) ? k[A] : void 0;
|
333
333
|
}
|
334
334
|
function _d(A) {
|
335
335
|
var k = this.__data__;
|
336
|
-
return _t ? k[A] !== void 0 :
|
336
|
+
return _t ? k[A] !== void 0 : ot.call(k, A);
|
337
337
|
}
|
338
338
|
function Cd(A, k) {
|
339
339
|
var H = this.__data__;
|
@@ -355,7 +355,7 @@ function O0() {
|
|
355
355
|
if (H < 0)
|
356
356
|
return !1;
|
357
357
|
var ue = k.length - 1;
|
358
|
-
return H == ue ? k.pop() :
|
358
|
+
return H == ue ? k.pop() : Te.call(k, H, 1), --this.size, !0;
|
359
359
|
}
|
360
360
|
function xd(A) {
|
361
361
|
var k = this.__data__, H = Er(k, A);
|
@@ -427,21 +427,21 @@ function O0() {
|
|
427
427
|
}
|
428
428
|
yn.prototype.clear = Dd, yn.prototype.delete = wd, yn.prototype.get = Pd, yn.prototype.has = Md, yn.prototype.set = Fd;
|
429
429
|
function Bd(A, k) {
|
430
|
-
var H = fa(A), ue = !H && da(A),
|
430
|
+
var H = fa(A), ue = !H && da(A), ye = !H && !ue && hu(A), ke = !H && !ue && !ye && mu(A), Pe = H || ue || ye || ke, Se = Pe ? pn(A.length, String) : [], Me = Se.length;
|
431
431
|
for (var Ct in A)
|
432
432
|
Pe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
433
433
|
(Ct == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
434
|
-
|
434
|
+
ye && (Ct == "offset" || Ct == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
435
435
|
ke && (Ct == "buffer" || Ct == "byteLength" || Ct == "byteOffset") || // Skip index properties.
|
436
|
-
du(Ct, Me)) ||
|
437
|
-
return
|
436
|
+
du(Ct, Me)) || Se.push(Ct);
|
437
|
+
return Se;
|
438
438
|
}
|
439
439
|
function oa(A, k, H) {
|
440
440
|
(H !== void 0 && !_r(A[k], H) || H === void 0 && !(k in A)) && sa(A, k, H);
|
441
441
|
}
|
442
442
|
function Hd(A, k, H) {
|
443
443
|
var ue = A[k];
|
444
|
-
(!(
|
444
|
+
(!(ot.call(A, k) && _r(ue, H)) || H === void 0 && !(k in A)) && sa(A, k, H);
|
445
445
|
}
|
446
446
|
function Er(A, k) {
|
447
447
|
for (var H = A.length; H--; )
|
@@ -450,7 +450,7 @@ function O0() {
|
|
450
450
|
return -1;
|
451
451
|
}
|
452
452
|
function sa(A, k, H) {
|
453
|
-
k == "__proto__" &&
|
453
|
+
k == "__proto__" && je ? je(A, k, {
|
454
454
|
configurable: !0,
|
455
455
|
enumerable: !0,
|
456
456
|
value: H,
|
@@ -459,7 +459,7 @@ function O0() {
|
|
459
459
|
}
|
460
460
|
var Ud = Jd();
|
461
461
|
function Tr(A) {
|
462
|
-
return A == null ? A === void 0 ? N : g :
|
462
|
+
return A == null ? A === void 0 ? N : g : ve && ve in Object(A) ? e0(A) : u0(A);
|
463
463
|
}
|
464
464
|
function lu(A) {
|
465
465
|
return Hn(A) && Tr(A) == s;
|
@@ -478,37 +478,37 @@ function O0() {
|
|
478
478
|
return i0(A);
|
479
479
|
var k = fu(A), H = [];
|
480
480
|
for (var ue in A)
|
481
|
-
ue == "constructor" && (k || !
|
481
|
+
ue == "constructor" && (k || !ot.call(A, ue)) || H.push(ue);
|
482
482
|
return H;
|
483
483
|
}
|
484
|
-
function cu(A, k, H, ue,
|
484
|
+
function cu(A, k, H, ue, ye) {
|
485
485
|
A !== k && Ud(k, function(ke, Pe) {
|
486
|
-
if (
|
487
|
-
Yd(A, k, Pe, H, cu, ue,
|
486
|
+
if (ye || (ye = new yn()), Jt(ke))
|
487
|
+
Yd(A, k, Pe, H, cu, ue, ye);
|
488
488
|
else {
|
489
|
-
var
|
490
|
-
|
489
|
+
var Se = ue ? ue(ca(A, Pe), ke, Pe + "", A, k, ye) : void 0;
|
490
|
+
Se === void 0 && (Se = ke), oa(A, Pe, Se);
|
491
491
|
}
|
492
492
|
}, gu);
|
493
493
|
}
|
494
|
-
function Yd(A, k, H, ue,
|
495
|
-
var
|
494
|
+
function Yd(A, k, H, ue, ye, ke, Pe) {
|
495
|
+
var Se = ca(A, H), Me = ca(k, H), Ct = Pe.get(Me);
|
496
496
|
if (Ct) {
|
497
497
|
oa(A, H, Ct);
|
498
498
|
return;
|
499
499
|
}
|
500
|
-
var
|
500
|
+
var st = ke ? ke(Se, Me, H + "", A, k, Pe) : void 0, Un = st === void 0;
|
501
501
|
if (Un) {
|
502
502
|
var ma = fa(Me), ga = !ma && hu(Me), Eu = !ma && !ga && mu(Me);
|
503
|
-
|
503
|
+
st = Me, ma || ga || Eu ? fa(Se) ? st = Se : d0(Se) ? st = Kd(Se) : ga ? (Un = !1, st = Wd(Me)) : Eu ? (Un = !1, st = Xd(Me)) : st = [] : f0(Me) || da(Me) ? (st = Se, da(Se) ? st = h0(Se) : (!Jt(Se) || pa(Se)) && (st = t0(Me))) : Un = !1;
|
504
504
|
}
|
505
|
-
Un && (Pe.set(Me,
|
505
|
+
Un && (Pe.set(Me, st), ye(st, Me, ue, ke, Pe), Pe.delete(Me)), oa(A, H, st);
|
506
506
|
}
|
507
507
|
function $d(A, k) {
|
508
508
|
return s0(o0(A, k, bu), A + "");
|
509
509
|
}
|
510
|
-
var Vd =
|
511
|
-
return
|
510
|
+
var Vd = je ? function(A, k) {
|
511
|
+
return je(A, "toString", {
|
512
512
|
configurable: !0,
|
513
513
|
enumerable: !1,
|
514
514
|
value: m0(k),
|
@@ -533,28 +533,28 @@ function O0() {
|
|
533
533
|
return k;
|
534
534
|
}
|
535
535
|
function Qd(A, k, H, ue) {
|
536
|
-
var
|
536
|
+
var ye = !H;
|
537
537
|
H || (H = {});
|
538
538
|
for (var ke = -1, Pe = k.length; ++ke < Pe; ) {
|
539
|
-
var
|
540
|
-
Me === void 0 && (Me = A[
|
539
|
+
var Se = k[ke], Me = void 0;
|
540
|
+
Me === void 0 && (Me = A[Se]), ye ? sa(H, Se, Me) : Hd(H, Se, Me);
|
541
541
|
}
|
542
542
|
return H;
|
543
543
|
}
|
544
544
|
function Zd(A) {
|
545
545
|
return $d(function(k, H) {
|
546
|
-
var ue = -1,
|
547
|
-
for (ke = A.length > 3 && typeof ke == "function" ? (
|
548
|
-
var
|
549
|
-
|
546
|
+
var ue = -1, ye = H.length, ke = ye > 1 ? H[ye - 1] : void 0, Pe = ye > 2 ? H[2] : void 0;
|
547
|
+
for (ke = A.length > 3 && typeof ke == "function" ? (ye--, ke) : void 0, Pe && n0(H[0], H[1], Pe) && (ke = ye < 3 ? void 0 : ke, ye = 1), k = Object(k); ++ue < ye; ) {
|
548
|
+
var Se = H[ue];
|
549
|
+
Se && A(k, Se, ue, ke);
|
550
550
|
}
|
551
551
|
return k;
|
552
552
|
});
|
553
553
|
}
|
554
554
|
function Jd(A) {
|
555
555
|
return function(k, H, ue) {
|
556
|
-
for (var
|
557
|
-
var Me = Pe[++
|
556
|
+
for (var ye = -1, ke = Object(k), Pe = ue(k), Se = Pe.length; Se--; ) {
|
557
|
+
var Me = Pe[++ye];
|
558
558
|
if (H(ke[Me], Me, ke) === !1)
|
559
559
|
break;
|
560
560
|
}
|
@@ -570,14 +570,14 @@ function O0() {
|
|
570
570
|
return jd(H) ? H : void 0;
|
571
571
|
}
|
572
572
|
function e0(A) {
|
573
|
-
var k =
|
573
|
+
var k = ot.call(A, ve), H = A[ve];
|
574
574
|
try {
|
575
|
-
A[
|
575
|
+
A[ve] = void 0;
|
576
576
|
var ue = !0;
|
577
577
|
} catch {
|
578
578
|
}
|
579
|
-
var
|
580
|
-
return ue && (k ? A[
|
579
|
+
var ye = Qt.call(A);
|
580
|
+
return ue && (k ? A[ve] = H : delete A[ve]), ye;
|
581
581
|
}
|
582
582
|
function t0(A) {
|
583
583
|
return typeof A.constructor == "function" && !fu(A) ? su(ae(A)) : {};
|
@@ -615,12 +615,12 @@ function O0() {
|
|
615
615
|
}
|
616
616
|
function o0(A, k, H) {
|
617
617
|
return k = ze(k === void 0 ? A.length - 1 : k, 0), function() {
|
618
|
-
for (var ue = arguments,
|
619
|
-
Pe[
|
620
|
-
|
621
|
-
for (var
|
622
|
-
|
623
|
-
return
|
618
|
+
for (var ue = arguments, ye = -1, ke = ze(ue.length - k, 0), Pe = Array(ke); ++ye < ke; )
|
619
|
+
Pe[ye] = ue[k + ye];
|
620
|
+
ye = -1;
|
621
|
+
for (var Se = Array(k + 1); ++ye < k; )
|
622
|
+
Se[ye] = ue[ye];
|
623
|
+
return Se[k] = H(Pe), St(A, this, Se);
|
624
624
|
};
|
625
625
|
}
|
626
626
|
function ca(A, k) {
|
@@ -631,8 +631,8 @@ function O0() {
|
|
631
631
|
function l0(A) {
|
632
632
|
var k = 0, H = 0;
|
633
633
|
return function() {
|
634
|
-
var ue = Je(),
|
635
|
-
if (H = ue,
|
634
|
+
var ue = Je(), ye = i - (ue - H);
|
635
|
+
if (H = ue, ye > 0) {
|
636
636
|
if (++k >= a)
|
637
637
|
return arguments[0];
|
638
638
|
} else
|
@@ -659,7 +659,7 @@ function O0() {
|
|
659
659
|
var da = lu(/* @__PURE__ */ function() {
|
660
660
|
return arguments;
|
661
661
|
}()) ? lu : function(A) {
|
662
|
-
return Hn(A) &&
|
662
|
+
return Hn(A) && ot.call(A, "callee") && !Ce.call(A, "callee");
|
663
663
|
}, fa = Array.isArray;
|
664
664
|
function ha(A) {
|
665
665
|
return A != null && pu(A.length) && !pa(A);
|
@@ -667,7 +667,7 @@ function O0() {
|
|
667
667
|
function d0(A) {
|
668
668
|
return Hn(A) && ha(A);
|
669
669
|
}
|
670
|
-
var hu =
|
670
|
+
var hu = Ee || g0;
|
671
671
|
function pa(A) {
|
672
672
|
if (!Jt(A))
|
673
673
|
return !1;
|
@@ -690,10 +690,10 @@ function O0() {
|
|
690
690
|
var k = ae(A);
|
691
691
|
if (k === null)
|
692
692
|
return !0;
|
693
|
-
var H =
|
693
|
+
var H = ot.call(k, "constructor") && k.constructor;
|
694
694
|
return typeof H == "function" && H instanceof H && zt.call(H) == En;
|
695
695
|
}
|
696
|
-
var mu =
|
696
|
+
var mu = ut ? Fn(ut) : qd;
|
697
697
|
function h0(A) {
|
698
698
|
return Qd(A, gu(A));
|
699
699
|
}
|
@@ -1427,7 +1427,7 @@ const vs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1427
1427
|
if (!e)
|
1428
1428
|
throw new Error("id is required");
|
1429
1429
|
return M0[e] || {};
|
1430
|
-
},
|
1430
|
+
}, Ue = Gr({}), Os = ({
|
1431
1431
|
children: e,
|
1432
1432
|
clientId: t = null,
|
1433
1433
|
configurations: n = null,
|
@@ -1474,7 +1474,7 @@ const vs = /* @__PURE__ */ kt(I0), N0 = {
|
|
1474
1474
|
[n, s]
|
1475
1475
|
), h = sr(() => t || r ? i : !!n, [t, i, n, r]);
|
1476
1476
|
return /* @__PURE__ */ v.jsx(
|
1477
|
-
|
1477
|
+
Ue.Provider,
|
1478
1478
|
{
|
1479
1479
|
value: {
|
1480
1480
|
...d,
|
@@ -1610,8 +1610,8 @@ const Lt = Gr({}), Is = x.shape({
|
|
1610
1610
|
onFeedbackSelection: r,
|
1611
1611
|
onMessageSent: a
|
1612
1612
|
}) => {
|
1613
|
-
const i = pt(null), { id: u } = se(
|
1614
|
-
l(null), d(!1), p([]),
|
1613
|
+
const i = pt(null), { id: u } = se(Ue), [s, l] = de(null), [c, d] = de(!1), [h, p] = de([]), f = bt(() => {
|
1614
|
+
l(null), d(!1), p([]), nt.remove(`${u}-conversation-history-id`);
|
1615
1615
|
}, [u, l]), m = {
|
1616
1616
|
contentRef: i,
|
1617
1617
|
conversationId: s,
|
@@ -1754,7 +1754,7 @@ eyes follow your mouse when you hover near it.`, Rs = ({
|
|
1754
1754
|
handleFloatingActionButtonClick: e = null
|
1755
1755
|
}) => {
|
1756
1756
|
var f, b, m, _;
|
1757
|
-
const { id: t, launchButton: n } = se(
|
1757
|
+
const { id: t, launchButton: n } = se(Ue), { isMobile: r } = se(Qe), a = !nt.get(
|
1758
1758
|
`${t}-proactive-message-xpert-chatbot`
|
1759
1759
|
), i = pt(null), u = pt(!1), s = a ? (f = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : f.delayMs : ((b = n == null ? void 0 : n.animatedGraduate) == null ? void 0 : b.delayMs) * 2, [l, c] = de(!1), d = window.matchMedia(
|
1760
1760
|
`(max-width: ${j0}px)`
|
@@ -1963,7 +1963,7 @@ const z0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
|
|
1963
1963
|
handleFloatingActionButtonClick: e = null
|
1964
1964
|
}) => {
|
1965
1965
|
var r, a;
|
1966
|
-
const { launchButton: t } = se(
|
1966
|
+
const { launchButton: t } = se(Ue), { isMobile: n } = se(Qe);
|
1967
1967
|
return /* @__PURE__ */ v.jsx(
|
1968
1968
|
xi,
|
1969
1969
|
{
|
@@ -2429,10 +2429,10 @@ var Lu = {
|
|
2429
2429
|
*/
|
2430
2430
|
nextTabbableNode: function(oe) {
|
2431
2431
|
var S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, le = I.indexOf(oe);
|
2432
|
-
return le < 0 ? S ? R.slice(R.indexOf(oe) + 1).find(function(
|
2433
|
-
return rn(
|
2434
|
-
}) : R.slice(0, R.indexOf(oe)).reverse().find(function(
|
2435
|
-
return rn(
|
2432
|
+
return le < 0 ? S ? R.slice(R.indexOf(oe) + 1).find(function(_e) {
|
2433
|
+
return rn(_e);
|
2434
|
+
}) : R.slice(0, R.indexOf(oe)).reverse().find(function(_e) {
|
2435
|
+
return rn(_e);
|
2436
2436
|
}) : I[le + (S ? 1 : -1)];
|
2437
2437
|
}
|
2438
2438
|
};
|
@@ -2472,22 +2472,22 @@ var Lu = {
|
|
2472
2472
|
if ($ < 0)
|
2473
2473
|
W ? q = u.tabbableGroups[u.tabbableGroups.length - 1].lastTabbableNode : q = u.tabbableGroups[0].firstTabbableNode;
|
2474
2474
|
else if (W) {
|
2475
|
-
var ne = u.tabbableGroups.findIndex(function(
|
2476
|
-
var
|
2477
|
-
return I ===
|
2475
|
+
var ne = u.tabbableGroups.findIndex(function(Ae) {
|
2476
|
+
var Ie = Ae.firstTabbableNode;
|
2477
|
+
return I === Ie;
|
2478
2478
|
});
|
2479
2479
|
if (ne < 0 && (T.container === I || Lr(I, i.tabbableOptions) && !rn(I, i.tabbableOptions) && !T.nextTabbableNode(I, !1)) && (ne = $), ne >= 0) {
|
2480
2480
|
var oe = ne === 0 ? u.tabbableGroups.length - 1 : ne - 1, S = u.tabbableGroups[oe];
|
2481
2481
|
q = Wt(I) >= 0 ? S.lastTabbableNode : S.lastDomTabbableNode;
|
2482
2482
|
} else Zn(R) || (q = T.nextTabbableNode(I, !1));
|
2483
2483
|
} else {
|
2484
|
-
var le = u.tabbableGroups.findIndex(function(
|
2485
|
-
var
|
2486
|
-
return I ===
|
2484
|
+
var le = u.tabbableGroups.findIndex(function(Ae) {
|
2485
|
+
var Ie = Ae.lastTabbableNode;
|
2486
|
+
return I === Ie;
|
2487
2487
|
});
|
2488
2488
|
if (le < 0 && (T.container === I || Lr(I, i.tabbableOptions) && !rn(I, i.tabbableOptions) && !T.nextTabbableNode(I)) && (le = $), le >= 0) {
|
2489
|
-
var
|
2490
|
-
q = Wt(I) >= 0 ?
|
2489
|
+
var _e = le === u.tabbableGroups.length - 1 ? 0 : le + 1, me = u.tabbableGroups[_e];
|
2490
|
+
q = Wt(I) >= 0 ? me.firstTabbableNode : me.firstDomTabbableNode;
|
2491
2491
|
} else Zn(R) || (q = T.nextTabbableNode(I));
|
2492
2492
|
}
|
2493
2493
|
} else
|
@@ -3032,7 +3032,7 @@ zs.propTypes = {
|
|
3032
3032
|
className: x.string
|
3033
3033
|
};
|
3034
3034
|
function Ys({ children: e, isMounted: t }) {
|
3035
|
-
const { widgetMode: n } = se(
|
3035
|
+
const { widgetMode: n } = se(Ue);
|
3036
3036
|
return n ? /* @__PURE__ */ v.jsx(zs, { isMounted: t, children: e }) : /* @__PURE__ */ v.jsx("div", { className: "xpert_chatbot_inline", children: e });
|
3037
3037
|
}
|
3038
3038
|
Ys.propTypes = {
|
@@ -3040,7 +3040,7 @@ Ys.propTypes = {
|
|
3040
3040
|
isMounted: x.bool
|
3041
3041
|
};
|
3042
3042
|
const $s = () => {
|
3043
|
-
const { disclaimer: e } = se(
|
3043
|
+
const { disclaimer: e } = se(Ue), t = pt(null);
|
3044
3044
|
return He(() => {
|
3045
3045
|
var n;
|
3046
3046
|
(n = t == null ? void 0 : t.current) == null || n.focus();
|
@@ -4283,7 +4283,7 @@ function ki({
|
|
4283
4283
|
value: i
|
4284
4284
|
}) {
|
4285
4285
|
var _;
|
4286
|
-
const { conversationScreen: u, primaryColor: s } = se(
|
4286
|
+
const { conversationScreen: u, primaryColor: s } = se(Ue), { isConversationLoading: l } = se(Lt), { hasError: c, hasNewMessage: d, loading: h, streaming: p } = se(Qe);
|
4287
4287
|
He(() => {
|
4288
4288
|
var g;
|
4289
4289
|
(c || d) && ((g = a.current) == null || g.focus());
|
@@ -4475,13 +4475,13 @@ function Li({
|
|
4475
4475
|
userTrackingName: s = "clicked"
|
4476
4476
|
}) {
|
4477
4477
|
var g, P, F, K;
|
4478
|
-
const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(
|
4478
|
+
const [l, c] = de(!0), { primaryColor: d, id: h, userTracking: p, conversationScreen: f } = se(Ue), b = bt(
|
4479
4479
|
(D) => {
|
4480
4480
|
var y, N, G, M;
|
4481
|
-
((y = D == null ? void 0 : D.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (N = window == null ? void 0 : window.OnetrustActiveGroups) != null && N.includes("C0003")) &&
|
4481
|
+
((y = D == null ? void 0 : D.data) == null ? void 0 : y.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (N = window == null ? void 0 : window.OnetrustActiveGroups) != null && N.includes("C0003")) && nt.set(`${h}-live-chat-open`, 1, {
|
4482
4482
|
expires: 1,
|
4483
4483
|
path: "/"
|
4484
|
-
}), ((G = D == null ? void 0 : D.data) == null ? void 0 : G.type) === "connection" && ((M = D == null ? void 0 : D.data) == null ? void 0 : M.state) === "disconnected" &&
|
4484
|
+
}), ((G = D == null ? void 0 : D.data) == null ? void 0 : G.type) === "connection" && ((M = D == null ? void 0 : D.data) == null ? void 0 : M.state) === "disconnected" && nt.remove(`${h}-live-chat-open`);
|
4485
4485
|
},
|
4486
4486
|
[h]
|
4487
4487
|
), m = bt(
|
@@ -5396,10 +5396,10 @@ const di = Xt(/\d/), up = Xt(/[\dA-Fa-f]/), op = Xt(/[!-/:-@[-`{-~]/);
|
|
5396
5396
|
function ce(e) {
|
5397
5397
|
return e !== null && e < -2;
|
5398
5398
|
}
|
5399
|
-
function
|
5399
|
+
function rt(e) {
|
5400
5400
|
return e !== null && (e < 0 || e === 32);
|
5401
5401
|
}
|
5402
|
-
function
|
5402
|
+
function xe(e) {
|
5403
5403
|
return e === -2 || e === -1 || e === 32;
|
5404
5404
|
}
|
5405
5405
|
const sp = Xt(ap), lp = Xt(/\s/);
|
@@ -5414,10 +5414,10 @@ function we(e, t, n, r) {
|
|
5414
5414
|
let i = 0;
|
5415
5415
|
return u;
|
5416
5416
|
function u(l) {
|
5417
|
-
return
|
5417
|
+
return xe(l) ? (e.enter(n), s(l)) : t(l);
|
5418
5418
|
}
|
5419
5419
|
function s(l) {
|
5420
|
-
return
|
5420
|
+
return xe(l) && i++ < a ? (e.consume(l), s) : (e.exit(n), t(l));
|
5421
5421
|
}
|
5422
5422
|
}
|
5423
5423
|
const cp = {
|
@@ -5600,7 +5600,7 @@ function pp(e, t, n) {
|
|
5600
5600
|
);
|
5601
5601
|
}
|
5602
5602
|
function io(e) {
|
5603
|
-
if (e === null ||
|
5603
|
+
if (e === null || rt(e) || lp(e))
|
5604
5604
|
return 1;
|
5605
5605
|
if (sp(e))
|
5606
5606
|
return 2;
|
@@ -5740,7 +5740,7 @@ const Qr = {
|
|
5740
5740
|
function Tp(e, t, n) {
|
5741
5741
|
return r;
|
5742
5742
|
function r(i) {
|
5743
|
-
return
|
5743
|
+
return xe(i) ? we(e, a, "linePrefix")(i) : a(i);
|
5744
5744
|
}
|
5745
5745
|
function a(i) {
|
5746
5746
|
return i === null || ce(i) ? t(i) : n(i);
|
@@ -5767,14 +5767,14 @@ function yp(e, t, n) {
|
|
5767
5767
|
return n(u);
|
5768
5768
|
}
|
5769
5769
|
function i(u) {
|
5770
|
-
return
|
5770
|
+
return xe(u) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(u), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(u));
|
5771
5771
|
}
|
5772
5772
|
}
|
5773
5773
|
function _p(e, t, n) {
|
5774
5774
|
const r = this;
|
5775
5775
|
return a;
|
5776
5776
|
function a(u) {
|
5777
|
-
return
|
5777
|
+
return xe(u) ? we(
|
5778
5778
|
e,
|
5779
5779
|
i,
|
5780
5780
|
"linePrefix",
|
@@ -5860,7 +5860,7 @@ function xp(e, t, n) {
|
|
5860
5860
|
return i = N && N[1].type === "linePrefix" ? N[2].sliceSerialize(N[1], !0).length : 0, s = y, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), d(y);
|
5861
5861
|
}
|
5862
5862
|
function d(y) {
|
5863
|
-
return y === s ? (u++, e.consume(y), d) : u < 3 ? n(y) : (e.exit("codeFencedFenceSequence"),
|
5863
|
+
return y === s ? (u++, e.consume(y), d) : u < 3 ? n(y) : (e.exit("codeFencedFenceSequence"), xe(y) ? we(e, h, "whitespace")(y) : h(y));
|
5864
5864
|
}
|
5865
5865
|
function h(y) {
|
5866
5866
|
return y === null || ce(y) ? (e.exit("codeFencedFence"), r.interrupt ? t(y) : e.check(so, m, K)(y)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
@@ -5868,7 +5868,7 @@ function xp(e, t, n) {
|
|
5868
5868
|
}), p(y));
|
5869
5869
|
}
|
5870
5870
|
function p(y) {
|
5871
|
-
return y === null || ce(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(y)) :
|
5871
|
+
return y === null || ce(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(y)) : xe(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), we(e, f, "whitespace")(y)) : y === 96 && y === s ? n(y) : (e.consume(y), p);
|
5872
5872
|
}
|
5873
5873
|
function f(y) {
|
5874
5874
|
return y === null || ce(y) ? h(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
@@ -5885,7 +5885,7 @@ function xp(e, t, n) {
|
|
5885
5885
|
return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), g;
|
5886
5886
|
}
|
5887
5887
|
function g(y) {
|
5888
|
-
return i > 0 &&
|
5888
|
+
return i > 0 && xe(y) ? we(
|
5889
5889
|
e,
|
5890
5890
|
P,
|
5891
5891
|
"linePrefix",
|
@@ -5908,7 +5908,7 @@ function xp(e, t, n) {
|
|
5908
5908
|
return y.enter("lineEnding"), y.consume(R), y.exit("lineEnding"), z;
|
5909
5909
|
}
|
5910
5910
|
function z(R) {
|
5911
|
-
return y.enter("codeFencedFence"),
|
5911
|
+
return y.enter("codeFencedFence"), xe(R) ? we(
|
5912
5912
|
y,
|
5913
5913
|
V,
|
5914
5914
|
"linePrefix",
|
@@ -5919,7 +5919,7 @@ function xp(e, t, n) {
|
|
5919
5919
|
return R === s ? (y.enter("codeFencedFenceSequence"), L(R)) : G(R);
|
5920
5920
|
}
|
5921
5921
|
function L(R) {
|
5922
|
-
return R === s ? (M++, y.consume(R), L) : M >= u ? (y.exit("codeFencedFenceSequence"),
|
5922
|
+
return R === s ? (M++, y.consume(R), L) : M >= u ? (y.exit("codeFencedFenceSequence"), xe(R) ? we(y, I, "whitespace")(R) : I(R)) : G(R);
|
5923
5923
|
}
|
5924
5924
|
function I(R) {
|
5925
5925
|
return R === null || ce(R) ? (y.exit("codeFencedFence"), N(R)) : G(R);
|
@@ -6125,7 +6125,7 @@ function ml(e, t, n, r, a, i, u, s, l) {
|
|
6125
6125
|
return g === 60 || g === 62 || g === 92 ? (e.consume(g), f) : f(g);
|
6126
6126
|
}
|
6127
6127
|
function m(g) {
|
6128
|
-
return !d && (g === null || g === 41 ||
|
6128
|
+
return !d && (g === null || g === 41 || rt(g)) ? (e.exit("chunkString"), e.exit(s), e.exit(u), e.exit(r), t(g)) : d < c && g === 40 ? (e.consume(g), d++, m) : g === 41 ? (e.consume(g), d--, m) : g === null || g === 32 || g === 40 || ci(g) ? n(g) : (e.consume(g), g === 92 ? _ : m);
|
6129
6129
|
}
|
6130
6130
|
function _(g) {
|
6131
6131
|
return g === 40 || g === 41 || g === 92 ? (e.consume(g), m) : m(g);
|
@@ -6149,7 +6149,7 @@ function gl(e, t, n, r, a, i) {
|
|
6149
6149
|
}), h(f));
|
6150
6150
|
}
|
6151
6151
|
function h(f) {
|
6152
|
-
return f === null || f === 91 || f === 93 || ce(f) || s++ > 999 ? (e.exit("chunkString"), d(f)) : (e.consume(f), l || (l = !
|
6152
|
+
return f === null || f === 91 || f === 93 || ce(f) || s++ > 999 ? (e.exit("chunkString"), d(f)) : (e.consume(f), l || (l = !xe(f)), f === 92 ? p : h);
|
6153
6153
|
}
|
6154
6154
|
function p(f) {
|
6155
6155
|
return f === 91 || f === 92 || f === 93 ? (e.consume(f), s++, h) : h(f);
|
@@ -6180,7 +6180,7 @@ function tr(e, t) {
|
|
6180
6180
|
let n;
|
6181
6181
|
return r;
|
6182
6182
|
function r(a) {
|
6183
|
-
return ce(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) :
|
6183
|
+
return ce(a) ? (e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), n = !0, r) : xe(a) ? we(
|
6184
6184
|
e,
|
6185
6185
|
r,
|
6186
6186
|
n ? "linePrefix" : "lineSuffix"
|
@@ -6222,7 +6222,7 @@ function qp(e, t, n) {
|
|
6222
6222
|
), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), l) : n(f);
|
6223
6223
|
}
|
6224
6224
|
function l(f) {
|
6225
|
-
return
|
6225
|
+
return rt(f) ? tr(e, c)(f) : c(f);
|
6226
6226
|
}
|
6227
6227
|
function c(f) {
|
6228
6228
|
return ml(
|
@@ -6241,7 +6241,7 @@ function qp(e, t, n) {
|
|
6241
6241
|
return e.attempt(jp, h, h)(f);
|
6242
6242
|
}
|
6243
6243
|
function h(f) {
|
6244
|
-
return
|
6244
|
+
return xe(f) ? we(e, p, "whitespace")(f) : p(f);
|
6245
6245
|
}
|
6246
6246
|
function p(f) {
|
6247
6247
|
return f === null || ce(f) ? (e.exit("definition"), r.parser.defined.push(a), t(f)) : n(f);
|
@@ -6250,7 +6250,7 @@ function qp(e, t, n) {
|
|
6250
6250
|
function zp(e, t, n) {
|
6251
6251
|
return r;
|
6252
6252
|
function r(s) {
|
6253
|
-
return
|
6253
|
+
return rt(s) ? tr(e, a)(s) : n(s);
|
6254
6254
|
}
|
6255
6255
|
function a(s) {
|
6256
6256
|
return bl(
|
@@ -6263,7 +6263,7 @@ function zp(e, t, n) {
|
|
6263
6263
|
)(s);
|
6264
6264
|
}
|
6265
6265
|
function i(s) {
|
6266
|
-
return
|
6266
|
+
return xe(s) ? we(e, u, "whitespace")(s) : u(s);
|
6267
6267
|
}
|
6268
6268
|
function u(s) {
|
6269
6269
|
return s === null || ce(s) ? t(s) : n(s);
|
@@ -6315,16 +6315,16 @@ function Gp(e, t, n) {
|
|
6315
6315
|
return e.enter("atxHeadingSequence"), u(d);
|
6316
6316
|
}
|
6317
6317
|
function u(d) {
|
6318
|
-
return d === 35 && r++ < 6 ? (e.consume(d), u) : d === null ||
|
6318
|
+
return d === 35 && r++ < 6 ? (e.consume(d), u) : d === null || rt(d) ? (e.exit("atxHeadingSequence"), s(d)) : n(d);
|
6319
6319
|
}
|
6320
6320
|
function s(d) {
|
6321
|
-
return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || ce(d) ? (e.exit("atxHeading"), t(d)) :
|
6321
|
+
return d === 35 ? (e.enter("atxHeadingSequence"), l(d)) : d === null || ce(d) ? (e.exit("atxHeading"), t(d)) : xe(d) ? we(e, s, "whitespace")(d) : (e.enter("atxHeadingText"), c(d));
|
6322
6322
|
}
|
6323
6323
|
function l(d) {
|
6324
6324
|
return d === 35 ? (e.consume(d), l) : (e.exit("atxHeadingSequence"), s(d));
|
6325
6325
|
}
|
6326
6326
|
function c(d) {
|
6327
|
-
return d === null || d === 35 ||
|
6327
|
+
return d === null || d === 35 || rt(d) ? (e.exit("atxHeadingText"), s(d)) : (e.consume(d), c);
|
6328
6328
|
}
|
6329
6329
|
}
|
6330
6330
|
const Xp = [
|
@@ -6435,9 +6435,9 @@ function e1(e, t, n) {
|
|
6435
6435
|
return Ot(S) ? (e.consume(S), u = String.fromCharCode(S), _) : n(S);
|
6436
6436
|
}
|
6437
6437
|
function _(S) {
|
6438
|
-
if (S === null || S === 47 || S === 62 ||
|
6439
|
-
const le = S === 47,
|
6440
|
-
return !le && !i && co.includes(
|
6438
|
+
if (S === null || S === 47 || S === 62 || rt(S)) {
|
6439
|
+
const le = S === 47, _e = u.toLowerCase();
|
6440
|
+
return !le && !i && co.includes(_e) ? (a = 1, r.interrupt ? t(S) : V(S)) : Xp.includes(u.toLowerCase()) ? (a = 6, le ? (e.consume(S), g) : r.interrupt ? t(S) : V(S)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(S) : i ? P(S) : F(S));
|
6441
6441
|
}
|
6442
6442
|
return S === 45 || ht(S) ? (e.consume(S), u += String.fromCharCode(S), _) : n(S);
|
6443
6443
|
}
|
@@ -6445,34 +6445,34 @@ function e1(e, t, n) {
|
|
6445
6445
|
return S === 62 ? (e.consume(S), r.interrupt ? t : V) : n(S);
|
6446
6446
|
}
|
6447
6447
|
function P(S) {
|
6448
|
-
return
|
6448
|
+
return xe(S) ? (e.consume(S), P) : te(S);
|
6449
6449
|
}
|
6450
6450
|
function F(S) {
|
6451
|
-
return S === 47 ? (e.consume(S), te) : S === 58 || S === 95 || Ot(S) ? (e.consume(S), K) :
|
6451
|
+
return S === 47 ? (e.consume(S), te) : S === 58 || S === 95 || Ot(S) ? (e.consume(S), K) : xe(S) ? (e.consume(S), F) : te(S);
|
6452
6452
|
}
|
6453
6453
|
function K(S) {
|
6454
6454
|
return S === 45 || S === 46 || S === 58 || S === 95 || ht(S) ? (e.consume(S), K) : D(S);
|
6455
6455
|
}
|
6456
6456
|
function D(S) {
|
6457
|
-
return S === 61 ? (e.consume(S), y) :
|
6457
|
+
return S === 61 ? (e.consume(S), y) : xe(S) ? (e.consume(S), D) : F(S);
|
6458
6458
|
}
|
6459
6459
|
function y(S) {
|
6460
|
-
return S === null || S === 60 || S === 61 || S === 62 || S === 96 ? n(S) : S === 34 || S === 39 ? (e.consume(S), l = S, N) :
|
6460
|
+
return S === null || S === 60 || S === 61 || S === 62 || S === 96 ? n(S) : S === 34 || S === 39 ? (e.consume(S), l = S, N) : xe(S) ? (e.consume(S), y) : G(S);
|
6461
6461
|
}
|
6462
6462
|
function N(S) {
|
6463
6463
|
return S === l ? (e.consume(S), l = null, M) : S === null || ce(S) ? n(S) : (e.consume(S), N);
|
6464
6464
|
}
|
6465
6465
|
function G(S) {
|
6466
|
-
return S === null || S === 34 || S === 39 || S === 47 || S === 60 || S === 61 || S === 62 || S === 96 ||
|
6466
|
+
return S === null || S === 34 || S === 39 || S === 47 || S === 60 || S === 61 || S === 62 || S === 96 || rt(S) ? D(S) : (e.consume(S), G);
|
6467
6467
|
}
|
6468
6468
|
function M(S) {
|
6469
|
-
return S === 47 || S === 62 ||
|
6469
|
+
return S === 47 || S === 62 || xe(S) ? F(S) : n(S);
|
6470
6470
|
}
|
6471
6471
|
function te(S) {
|
6472
6472
|
return S === 62 ? (e.consume(S), z) : n(S);
|
6473
6473
|
}
|
6474
6474
|
function z(S) {
|
6475
|
-
return S === null || ce(S) ? V(S) :
|
6475
|
+
return S === null || ce(S) ? V(S) : xe(S) ? (e.consume(S), z) : n(S);
|
6476
6476
|
}
|
6477
6477
|
function V(S) {
|
6478
6478
|
return S === 45 && a === 2 ? (e.consume(S), U) : S === 60 && a === 1 ? (e.consume(S), W) : S === 62 && a === 4 ? (e.consume(S), ne) : S === 63 && a === 3 ? (e.consume(S), T) : S === 93 && a === 5 ? (e.consume(S), $) : ce(S) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
|
@@ -6594,31 +6594,31 @@ function a1(e, t, n) {
|
|
6594
6594
|
return T === 45 || ht(T) ? (e.consume(T), y) : N(T);
|
6595
6595
|
}
|
6596
6596
|
function N(T) {
|
6597
|
-
return ce(T) ? (u = N, W(T)) :
|
6597
|
+
return ce(T) ? (u = N, W(T)) : xe(T) ? (e.consume(T), N) : U(T);
|
6598
6598
|
}
|
6599
6599
|
function G(T) {
|
6600
|
-
return T === 45 || ht(T) ? (e.consume(T), G) : T === 47 || T === 62 ||
|
6600
|
+
return T === 45 || ht(T) ? (e.consume(T), G) : T === 47 || T === 62 || rt(T) ? M(T) : n(T);
|
6601
6601
|
}
|
6602
6602
|
function M(T) {
|
6603
|
-
return T === 47 ? (e.consume(T), U) : T === 58 || T === 95 || Ot(T) ? (e.consume(T), te) : ce(T) ? (u = M, W(T)) :
|
6603
|
+
return T === 47 ? (e.consume(T), U) : T === 58 || T === 95 || Ot(T) ? (e.consume(T), te) : ce(T) ? (u = M, W(T)) : xe(T) ? (e.consume(T), M) : U(T);
|
6604
6604
|
}
|
6605
6605
|
function te(T) {
|
6606
6606
|
return T === 45 || T === 46 || T === 58 || T === 95 || ht(T) ? (e.consume(T), te) : z(T);
|
6607
6607
|
}
|
6608
6608
|
function z(T) {
|
6609
|
-
return T === 61 ? (e.consume(T), V) : ce(T) ? (u = z, W(T)) :
|
6609
|
+
return T === 61 ? (e.consume(T), V) : ce(T) ? (u = z, W(T)) : xe(T) ? (e.consume(T), z) : M(T);
|
6610
6610
|
}
|
6611
6611
|
function V(T) {
|
6612
|
-
return T === null || T === 60 || T === 61 || T === 62 || T === 96 ? n(T) : T === 34 || T === 39 ? (e.consume(T), a = T, L) : ce(T) ? (u = V, W(T)) :
|
6612
|
+
return T === null || T === 60 || T === 61 || T === 62 || T === 96 ? n(T) : T === 34 || T === 39 ? (e.consume(T), a = T, L) : ce(T) ? (u = V, W(T)) : xe(T) ? (e.consume(T), V) : (e.consume(T), I);
|
6613
6613
|
}
|
6614
6614
|
function L(T) {
|
6615
6615
|
return T === a ? (e.consume(T), a = void 0, R) : T === null ? n(T) : ce(T) ? (u = L, W(T)) : (e.consume(T), L);
|
6616
6616
|
}
|
6617
6617
|
function I(T) {
|
6618
|
-
return T === null || T === 34 || T === 39 || T === 60 || T === 61 || T === 96 ? n(T) : T === 47 || T === 62 ||
|
6618
|
+
return T === null || T === 34 || T === 39 || T === 60 || T === 61 || T === 96 ? n(T) : T === 47 || T === 62 || rt(T) ? M(T) : (e.consume(T), I);
|
6619
6619
|
}
|
6620
6620
|
function R(T) {
|
6621
|
-
return T === 47 || T === 62 ||
|
6621
|
+
return T === 47 || T === 62 || rt(T) ? M(T) : n(T);
|
6622
6622
|
}
|
6623
6623
|
function U(T) {
|
6624
6624
|
return T === 62 ? (e.consume(T), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(T);
|
@@ -6627,7 +6627,7 @@ function a1(e, t, n) {
|
|
6627
6627
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(T), e.exit("lineEnding"), q;
|
6628
6628
|
}
|
6629
6629
|
function q(T) {
|
6630
|
-
return
|
6630
|
+
return xe(T) ? we(
|
6631
6631
|
e,
|
6632
6632
|
$,
|
6633
6633
|
"linePrefix",
|
@@ -6751,7 +6751,7 @@ function d1(e, t, n) {
|
|
6751
6751
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(h), e.exit("resourceMarker"), a;
|
6752
6752
|
}
|
6753
6753
|
function a(h) {
|
6754
|
-
return
|
6754
|
+
return rt(h) ? tr(e, i)(h) : i(h);
|
6755
6755
|
}
|
6756
6756
|
function i(h) {
|
6757
6757
|
return h === 41 ? d(h) : ml(
|
@@ -6767,7 +6767,7 @@ function d1(e, t, n) {
|
|
6767
6767
|
)(h);
|
6768
6768
|
}
|
6769
6769
|
function u(h) {
|
6770
|
-
return
|
6770
|
+
return rt(h) ? tr(e, l)(h) : d(h);
|
6771
6771
|
}
|
6772
6772
|
function s(h) {
|
6773
6773
|
return n(h);
|
@@ -6783,7 +6783,7 @@ function d1(e, t, n) {
|
|
6783
6783
|
)(h) : d(h);
|
6784
6784
|
}
|
6785
6785
|
function c(h) {
|
6786
|
-
return
|
6786
|
+
return rt(h) ? tr(e, d)(h) : d(h);
|
6787
6787
|
}
|
6788
6788
|
function d(h) {
|
6789
6789
|
return h === 41 ? (e.enter("resourceMarker"), e.consume(h), e.exit("resourceMarker"), e.exit("resource"), t) : n(h);
|
@@ -6883,7 +6883,7 @@ function T1(e, t, n) {
|
|
6883
6883
|
return c === a ? (e.enter("thematicBreakSequence"), l(c)) : r >= 3 && (c === null || ce(c)) ? (e.exit("thematicBreak"), t(c)) : n(c);
|
6884
6884
|
}
|
6885
6885
|
function l(c) {
|
6886
|
-
return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"),
|
6886
|
+
return c === a ? (e.consume(c), r++, l) : (e.exit("thematicBreakSequence"), xe(c) ? we(e, s, "whitespace")(c) : s(c));
|
6887
6887
|
}
|
6888
6888
|
}
|
6889
6889
|
const tt = {
|
@@ -6935,7 +6935,7 @@ function C1(e, t, n) {
|
|
6935
6935
|
return r.containerState.initialBlankLine = !0, i++, p(f);
|
6936
6936
|
}
|
6937
6937
|
function h(f) {
|
6938
|
-
return
|
6938
|
+
return xe(f) ? (e.enter("listItemPrefixWhitespace"), e.consume(f), e.exit("listItemPrefixWhitespace"), p) : n(f);
|
6939
6939
|
}
|
6940
6940
|
function p(f) {
|
6941
6941
|
return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f);
|
@@ -6953,7 +6953,7 @@ function A1(e, t, n) {
|
|
6953
6953
|
)(s);
|
6954
6954
|
}
|
6955
6955
|
function i(s) {
|
6956
|
-
return r.containerState.furtherBlankLines || !
|
6956
|
+
return r.containerState.furtherBlankLines || !xe(s) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, u(s)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(_1, t, u)(s));
|
6957
6957
|
}
|
6958
6958
|
function u(s) {
|
6959
6959
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, we(
|
@@ -6990,7 +6990,7 @@ function v1(e, t, n) {
|
|
6990
6990
|
);
|
6991
6991
|
function a(i) {
|
6992
6992
|
const u = r.events[r.events.length - 1];
|
6993
|
-
return !
|
6993
|
+
return !xe(i) && u && u[1].type === "listItemPrefixWhitespace" ? t(i) : n(i);
|
6994
6994
|
}
|
6995
6995
|
}
|
6996
6996
|
const fo = {
|
@@ -7033,7 +7033,7 @@ function I1(e, t, n) {
|
|
7033
7033
|
return e.enter("setextHeadingLineSequence"), s(c);
|
7034
7034
|
}
|
7035
7035
|
function s(c) {
|
7036
|
-
return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"),
|
7036
|
+
return c === a ? (e.consume(c), s) : (e.exit("setextHeadingLineSequence"), xe(c) ? we(e, l, "lineSuffix")(c) : l(c));
|
7037
7037
|
}
|
7038
7038
|
function l(c) {
|
7039
7039
|
return c === null || ce(c) ? (e.exit("setextHeadingLine"), t(c)) : n(c);
|
@@ -7269,39 +7269,39 @@ function P1(e, t, n) {
|
|
7269
7269
|
// @ts-expect-error Looks like a construct.
|
7270
7270
|
oe([I])
|
7271
7271
|
) : ne(I);
|
7272
|
-
function ne(
|
7273
|
-
return
|
7274
|
-
function
|
7275
|
-
const Be =
|
7272
|
+
function ne(me) {
|
7273
|
+
return Ae;
|
7274
|
+
function Ae(Ie) {
|
7275
|
+
const Be = Ie !== null && me[Ie], Ne = Ie !== null && me.null, Xe = [
|
7276
7276
|
// To do: add more extension tests.
|
7277
7277
|
/* c8 ignore next 2 */
|
7278
7278
|
...Array.isArray(Be) ? Be : Be ? [Be] : [],
|
7279
|
-
...Array.isArray(
|
7279
|
+
...Array.isArray(Ne) ? Ne : Ne ? [Ne] : []
|
7280
7280
|
];
|
7281
|
-
return oe(Xe)(
|
7281
|
+
return oe(Xe)(Ie);
|
7282
7282
|
}
|
7283
7283
|
}
|
7284
|
-
function oe(
|
7285
|
-
return W =
|
7284
|
+
function oe(me) {
|
7285
|
+
return W = me, q = 0, me.length === 0 ? U : S(me[q]);
|
7286
7286
|
}
|
7287
|
-
function S(
|
7288
|
-
return
|
7289
|
-
function
|
7290
|
-
return T = M(), $ =
|
7287
|
+
function S(me) {
|
7288
|
+
return Ae;
|
7289
|
+
function Ae(Ie) {
|
7290
|
+
return T = M(), $ = me, me.partial || (c.currentConstruct = me), me.name && c.parser.constructs.disable.null.includes(me.name) ? _e() : me.tokenize.call(
|
7291
7291
|
// If we do have fields, create an object w/ `context` as its
|
7292
7292
|
// prototype.
|
7293
7293
|
// This allows a “live binding”, which is needed for `interrupt`.
|
7294
7294
|
V ? Object.assign(Object.create(c), V) : c,
|
7295
7295
|
l,
|
7296
7296
|
le,
|
7297
|
-
|
7298
|
-
)(
|
7297
|
+
_e
|
7298
|
+
)(Ie);
|
7299
7299
|
}
|
7300
7300
|
}
|
7301
|
-
function le(
|
7301
|
+
function le(me) {
|
7302
7302
|
return z($, T), R;
|
7303
7303
|
}
|
7304
|
-
function
|
7304
|
+
function _e(me) {
|
7305
7305
|
return T.restore(), ++q < W.length ? S(W[q]) : U;
|
7306
7306
|
}
|
7307
7307
|
}
|
@@ -7567,10 +7567,10 @@ function tm(e) {
|
|
7567
7567
|
blockQuote: s(Xe),
|
7568
7568
|
characterEscape: z,
|
7569
7569
|
characterReference: z,
|
7570
|
-
codeFenced: s(
|
7570
|
+
codeFenced: s(ut),
|
7571
7571
|
codeFencedFenceInfo: l,
|
7572
7572
|
codeFencedFenceMeta: l,
|
7573
|
-
codeIndented: s(
|
7573
|
+
codeIndented: s(ut, l),
|
7574
7574
|
codeText: s(St, l),
|
7575
7575
|
codeTextData: z,
|
7576
7576
|
data: z,
|
@@ -7593,8 +7593,8 @@ function tm(e) {
|
|
7593
7593
|
listItemValue: b,
|
7594
7594
|
listOrdered: s(wt, f),
|
7595
7595
|
listUnordered: s(wt),
|
7596
|
-
paragraph: s(
|
7597
|
-
reference:
|
7596
|
+
paragraph: s(ot),
|
7597
|
+
reference: _e,
|
7598
7598
|
referenceString: l,
|
7599
7599
|
resourceDestinationString: l,
|
7600
7600
|
resourceTitleString: l,
|
@@ -7606,13 +7606,13 @@ function tm(e) {
|
|
7606
7606
|
atxHeading: d(),
|
7607
7607
|
atxHeadingSequence: N,
|
7608
7608
|
autolink: d(),
|
7609
|
-
autolinkEmail:
|
7609
|
+
autolinkEmail: Ne,
|
7610
7610
|
autolinkProtocol: Be,
|
7611
7611
|
blockQuote: d(),
|
7612
7612
|
characterEscapeValue: V,
|
7613
|
-
characterReferenceMarkerHexadecimal:
|
7614
|
-
characterReferenceMarkerNumeric:
|
7615
|
-
characterReferenceValue:
|
7613
|
+
characterReferenceMarkerHexadecimal: Ae,
|
7614
|
+
characterReferenceMarkerNumeric: Ae,
|
7615
|
+
characterReferenceValue: Ie,
|
7616
7616
|
codeFenced: d(P),
|
7617
7617
|
codeFencedFence: g,
|
7618
7618
|
codeFencedFenceInfo: m,
|
@@ -7642,7 +7642,7 @@ function tm(e) {
|
|
7642
7642
|
listOrdered: d(),
|
7643
7643
|
listUnordered: d(),
|
7644
7644
|
paragraph: d(),
|
7645
|
-
referenceString:
|
7645
|
+
referenceString: me,
|
7646
7646
|
resourceDestinationString: oe,
|
7647
7647
|
resourceTitleString: S,
|
7648
7648
|
resource: le,
|
@@ -7678,12 +7678,12 @@ function tm(e) {
|
|
7678
7678
|
if (Y[ae][0] === "enter")
|
7679
7679
|
ie.push(ae);
|
7680
7680
|
else {
|
7681
|
-
const
|
7682
|
-
ae = a(Y,
|
7681
|
+
const ge = ie.pop();
|
7682
|
+
ae = a(Y, ge, ae);
|
7683
7683
|
}
|
7684
7684
|
for (ae = -1; ++ae < Y.length; ) {
|
7685
|
-
const
|
7686
|
-
_l.call(
|
7685
|
+
const ge = t[Y[ae][0]];
|
7686
|
+
_l.call(ge, Y[ae][1].type) && ge[Y[ae][1].type].call(
|
7687
7687
|
Object.assign(
|
7688
7688
|
{
|
7689
7689
|
sliceSerialize: Y[ae][2].sliceSerialize
|
@@ -7694,8 +7694,8 @@ function tm(e) {
|
|
7694
7694
|
);
|
7695
7695
|
}
|
7696
7696
|
if (re.tokenStack.length > 0) {
|
7697
|
-
const
|
7698
|
-
(
|
7697
|
+
const ge = re.tokenStack[re.tokenStack.length - 1];
|
7698
|
+
(ge[1] || po).call(re, void 0, ge[0]);
|
7699
7699
|
}
|
7700
7700
|
for (B.position = {
|
7701
7701
|
start: Yt(
|
@@ -7717,34 +7717,34 @@ function tm(e) {
|
|
7717
7717
|
return B;
|
7718
7718
|
}
|
7719
7719
|
function a(Y, B, re) {
|
7720
|
-
let ie = B - 1, ae = -1,
|
7720
|
+
let ie = B - 1, ae = -1, ge = !1, Ce, Te, ve, je;
|
7721
7721
|
for (; ++ie <= re; ) {
|
7722
|
-
const
|
7723
|
-
if (
|
7724
|
-
if (
|
7722
|
+
const Ee = Y[ie];
|
7723
|
+
if (Ee[1].type === "listUnordered" || Ee[1].type === "listOrdered" || Ee[1].type === "blockQuote" ? (Ee[0] === "enter" ? ae++ : ae--, je = void 0) : Ee[1].type === "lineEndingBlank" ? Ee[0] === "enter" && (Ce && !je && !ae && !ve && (ve = ie), je = void 0) : Ee[1].type === "linePrefix" || Ee[1].type === "listItemValue" || Ee[1].type === "listItemMarker" || Ee[1].type === "listItemPrefix" || Ee[1].type === "listItemPrefixWhitespace" || (je = void 0), !ae && Ee[0] === "enter" && Ee[1].type === "listItemPrefix" || ae === -1 && Ee[0] === "exit" && (Ee[1].type === "listUnordered" || Ee[1].type === "listOrdered")) {
|
7724
|
+
if (Ce) {
|
7725
7725
|
let ze = ie;
|
7726
|
-
for (
|
7726
|
+
for (Te = void 0; ze--; ) {
|
7727
7727
|
const Je = Y[ze];
|
7728
7728
|
if (Je[1].type === "lineEnding" || Je[1].type === "lineEndingBlank") {
|
7729
7729
|
if (Je[0] === "exit") continue;
|
7730
|
-
|
7730
|
+
Te && (Y[Te][1].type = "lineEndingBlank", ge = !0), Je[1].type = "lineEnding", Te = ze;
|
7731
7731
|
} else if (!(Je[1].type === "linePrefix" || Je[1].type === "blockQuotePrefix" || Je[1].type === "blockQuotePrefixWhitespace" || Je[1].type === "blockQuoteMarker" || Je[1].type === "listItemIndent")) break;
|
7732
7732
|
}
|
7733
|
-
|
7733
|
+
ve && (!Te || ve < Te) && (Ce._spread = !0), Ce.end = Object.assign(
|
7734
7734
|
{},
|
7735
|
-
|
7736
|
-
), Y.splice(
|
7735
|
+
Te ? Y[Te][1].start : Ee[1].end
|
7736
|
+
), Y.splice(Te || ie, 0, ["exit", Ce, Ee[2]]), ie++, re++;
|
7737
7737
|
}
|
7738
|
-
|
7738
|
+
Ee[1].type === "listItemPrefix" && (Ce = {
|
7739
7739
|
type: "listItem",
|
7740
7740
|
_spread: !1,
|
7741
|
-
start: Object.assign({},
|
7741
|
+
start: Object.assign({}, Ee[1].start),
|
7742
7742
|
// @ts-expect-error: we’ll add `end` in a second.
|
7743
7743
|
end: void 0
|
7744
|
-
}, Y.splice(ie, 0, ["enter",
|
7744
|
+
}, Y.splice(ie, 0, ["enter", Ce, Ee[2]]), ie++, re++, ve = void 0, je = !0);
|
7745
7745
|
}
|
7746
7746
|
}
|
7747
|
-
return Y[B][1]._spread =
|
7747
|
+
return Y[B][1]._spread = ge, re;
|
7748
7748
|
}
|
7749
7749
|
function i(Y, B) {
|
7750
7750
|
n[Y] = B;
|
@@ -7925,19 +7925,19 @@ function tm(e) {
|
|
7925
7925
|
function le() {
|
7926
7926
|
i("inReference");
|
7927
7927
|
}
|
7928
|
-
function
|
7928
|
+
function _e() {
|
7929
7929
|
i("referenceType", "collapsed");
|
7930
7930
|
}
|
7931
|
-
function
|
7931
|
+
function me(Y) {
|
7932
7932
|
const B = this.resume(), re = this.stack[this.stack.length - 1];
|
7933
7933
|
re.label = B, re.identifier = Sn(
|
7934
7934
|
this.sliceSerialize(Y)
|
7935
7935
|
).toLowerCase(), i("referenceType", "full");
|
7936
7936
|
}
|
7937
|
-
function
|
7937
|
+
function Ae(Y) {
|
7938
7938
|
i("characterReferenceType", Y.type);
|
7939
7939
|
}
|
7940
|
-
function
|
7940
|
+
function Ie(Y) {
|
7941
7941
|
const B = this.sliceSerialize(Y), re = u("characterReferenceType");
|
7942
7942
|
let ie;
|
7943
7943
|
re ? (ie = yl(
|
@@ -7952,7 +7952,7 @@ function tm(e) {
|
|
7952
7952
|
const B = this.stack[this.stack.length - 1];
|
7953
7953
|
B.url = this.sliceSerialize(Y);
|
7954
7954
|
}
|
7955
|
-
function
|
7955
|
+
function Ne(Y) {
|
7956
7956
|
V.call(this, Y);
|
7957
7957
|
const B = this.stack[this.stack.length - 1];
|
7958
7958
|
B.url = "mailto:" + this.sliceSerialize(Y);
|
@@ -7963,7 +7963,7 @@ function tm(e) {
|
|
7963
7963
|
children: []
|
7964
7964
|
};
|
7965
7965
|
}
|
7966
|
-
function
|
7966
|
+
function ut() {
|
7967
7967
|
return {
|
7968
7968
|
type: "code",
|
7969
7969
|
lang: null,
|
@@ -8043,7 +8043,7 @@ function tm(e) {
|
|
8043
8043
|
children: []
|
8044
8044
|
};
|
8045
8045
|
}
|
8046
|
-
function
|
8046
|
+
function ot() {
|
8047
8047
|
return {
|
8048
8048
|
type: "paragraph",
|
8049
8049
|
children: []
|
@@ -8929,15 +8929,15 @@ yt.prototype.commaOrSpaceSeparated = !1;
|
|
8929
8929
|
yt.prototype.mustUseProperty = !1;
|
8930
8930
|
yt.prototype.defined = !1;
|
8931
8931
|
let Km = 0;
|
8932
|
-
const
|
8932
|
+
const fe = sn(), Ye = sn(), Ll = sn(), Z = sn(), Le = sn(), xn = sn(), ct = sn();
|
8933
8933
|
function sn() {
|
8934
8934
|
return 2 ** ++Km;
|
8935
8935
|
}
|
8936
8936
|
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
8937
8937
|
__proto__: null,
|
8938
|
-
boolean:
|
8938
|
+
boolean: fe,
|
8939
8939
|
booleanish: Ye,
|
8940
|
-
commaOrSpaceSeparated:
|
8940
|
+
commaOrSpaceSeparated: ct,
|
8941
8941
|
commaSeparated: xn,
|
8942
8942
|
number: Z,
|
8943
8943
|
overloadedBoolean: Ll,
|
@@ -9085,38 +9085,38 @@ const Ml = Ln({
|
|
9085
9085
|
accessKey: Le,
|
9086
9086
|
action: null,
|
9087
9087
|
allow: null,
|
9088
|
-
allowFullScreen:
|
9089
|
-
allowPaymentRequest:
|
9090
|
-
allowUserMedia:
|
9088
|
+
allowFullScreen: fe,
|
9089
|
+
allowPaymentRequest: fe,
|
9090
|
+
allowUserMedia: fe,
|
9091
9091
|
alt: null,
|
9092
9092
|
as: null,
|
9093
|
-
async:
|
9093
|
+
async: fe,
|
9094
9094
|
autoCapitalize: null,
|
9095
9095
|
autoComplete: Le,
|
9096
|
-
autoFocus:
|
9097
|
-
autoPlay:
|
9096
|
+
autoFocus: fe,
|
9097
|
+
autoPlay: fe,
|
9098
9098
|
blocking: Le,
|
9099
9099
|
capture: null,
|
9100
9100
|
charSet: null,
|
9101
|
-
checked:
|
9101
|
+
checked: fe,
|
9102
9102
|
cite: null,
|
9103
9103
|
className: Le,
|
9104
9104
|
cols: Z,
|
9105
9105
|
colSpan: null,
|
9106
9106
|
content: null,
|
9107
9107
|
contentEditable: Ye,
|
9108
|
-
controls:
|
9108
|
+
controls: fe,
|
9109
9109
|
controlsList: Le,
|
9110
9110
|
coords: Z | xn,
|
9111
9111
|
crossOrigin: null,
|
9112
9112
|
data: null,
|
9113
9113
|
dateTime: null,
|
9114
9114
|
decoding: null,
|
9115
|
-
default:
|
9116
|
-
defer:
|
9115
|
+
default: fe,
|
9116
|
+
defer: fe,
|
9117
9117
|
dir: null,
|
9118
9118
|
dirName: null,
|
9119
|
-
disabled:
|
9119
|
+
disabled: fe,
|
9120
9120
|
download: Ll,
|
9121
9121
|
draggable: Ye,
|
9122
9122
|
encType: null,
|
@@ -9126,11 +9126,11 @@ const Ml = Ln({
|
|
9126
9126
|
formAction: null,
|
9127
9127
|
formEncType: null,
|
9128
9128
|
formMethod: null,
|
9129
|
-
formNoValidate:
|
9129
|
+
formNoValidate: fe,
|
9130
9130
|
formTarget: null,
|
9131
9131
|
headers: Le,
|
9132
9132
|
height: Z,
|
9133
|
-
hidden:
|
9133
|
+
hidden: fe,
|
9134
9134
|
high: Z,
|
9135
9135
|
href: null,
|
9136
9136
|
hrefLang: null,
|
@@ -9139,15 +9139,15 @@ const Ml = Ln({
|
|
9139
9139
|
id: null,
|
9140
9140
|
imageSizes: null,
|
9141
9141
|
imageSrcSet: null,
|
9142
|
-
inert:
|
9142
|
+
inert: fe,
|
9143
9143
|
inputMode: null,
|
9144
9144
|
integrity: null,
|
9145
9145
|
is: null,
|
9146
|
-
isMap:
|
9146
|
+
isMap: fe,
|
9147
9147
|
itemId: null,
|
9148
9148
|
itemProp: Le,
|
9149
9149
|
itemRef: Le,
|
9150
|
-
itemScope:
|
9150
|
+
itemScope: fe,
|
9151
9151
|
itemType: Le,
|
9152
9152
|
kind: null,
|
9153
9153
|
label: null,
|
@@ -9155,7 +9155,7 @@ const Ml = Ln({
|
|
9155
9155
|
language: null,
|
9156
9156
|
list: null,
|
9157
9157
|
loading: null,
|
9158
|
-
loop:
|
9158
|
+
loop: fe,
|
9159
9159
|
low: Z,
|
9160
9160
|
manifest: null,
|
9161
9161
|
max: null,
|
@@ -9164,12 +9164,12 @@ const Ml = Ln({
|
|
9164
9164
|
method: null,
|
9165
9165
|
min: null,
|
9166
9166
|
minLength: Z,
|
9167
|
-
multiple:
|
9168
|
-
muted:
|
9167
|
+
multiple: fe,
|
9168
|
+
muted: fe,
|
9169
9169
|
name: null,
|
9170
9170
|
nonce: null,
|
9171
|
-
noModule:
|
9172
|
-
noValidate:
|
9171
|
+
noModule: fe,
|
9172
|
+
noValidate: fe,
|
9173
9173
|
onAbort: null,
|
9174
9174
|
onAfterPrint: null,
|
9175
9175
|
onAuxClick: null,
|
@@ -9258,31 +9258,31 @@ const Ml = Ln({
|
|
9258
9258
|
onVolumeChange: null,
|
9259
9259
|
onWaiting: null,
|
9260
9260
|
onWheel: null,
|
9261
|
-
open:
|
9261
|
+
open: fe,
|
9262
9262
|
optimum: Z,
|
9263
9263
|
pattern: null,
|
9264
9264
|
ping: Le,
|
9265
9265
|
placeholder: null,
|
9266
|
-
playsInline:
|
9266
|
+
playsInline: fe,
|
9267
9267
|
popover: null,
|
9268
9268
|
popoverTarget: null,
|
9269
9269
|
popoverTargetAction: null,
|
9270
9270
|
poster: null,
|
9271
9271
|
preload: null,
|
9272
|
-
readOnly:
|
9272
|
+
readOnly: fe,
|
9273
9273
|
referrerPolicy: null,
|
9274
9274
|
rel: Le,
|
9275
|
-
required:
|
9276
|
-
reversed:
|
9275
|
+
required: fe,
|
9276
|
+
reversed: fe,
|
9277
9277
|
rows: Z,
|
9278
9278
|
rowSpan: Z,
|
9279
9279
|
sandbox: Le,
|
9280
9280
|
scope: null,
|
9281
|
-
scoped:
|
9282
|
-
seamless:
|
9283
|
-
selected:
|
9284
|
-
shadowRootClonable:
|
9285
|
-
shadowRootDelegatesFocus:
|
9281
|
+
scoped: fe,
|
9282
|
+
seamless: fe,
|
9283
|
+
selected: fe,
|
9284
|
+
shadowRootClonable: fe,
|
9285
|
+
shadowRootDelegatesFocus: fe,
|
9286
9286
|
shadowRootMode: null,
|
9287
9287
|
shape: null,
|
9288
9288
|
size: Z,
|
@@ -9302,7 +9302,7 @@ const Ml = Ln({
|
|
9302
9302
|
title: null,
|
9303
9303
|
translate: null,
|
9304
9304
|
type: null,
|
9305
|
-
typeMustMatch:
|
9305
|
+
typeMustMatch: fe,
|
9306
9306
|
useMap: null,
|
9307
9307
|
value: Ye,
|
9308
9308
|
width: Z,
|
@@ -9348,9 +9348,9 @@ const Ml = Ln({
|
|
9348
9348
|
// `<object>`
|
9349
9349
|
color: null,
|
9350
9350
|
// `<font>` and `<hr>`. Use CSS instead
|
9351
|
-
compact:
|
9351
|
+
compact: fe,
|
9352
9352
|
// Lists. Use CSS to reduce space between items instead
|
9353
|
-
declare:
|
9353
|
+
declare: fe,
|
9354
9354
|
// `<object>`
|
9355
9355
|
event: null,
|
9356
9356
|
// `<script>`
|
@@ -9374,13 +9374,13 @@ const Ml = Ln({
|
|
9374
9374
|
// `<body>`
|
9375
9375
|
marginWidth: Z,
|
9376
9376
|
// `<body>`
|
9377
|
-
noResize:
|
9377
|
+
noResize: fe,
|
9378
9378
|
// `<frame>`
|
9379
|
-
noHref:
|
9379
|
+
noHref: fe,
|
9380
9380
|
// `<area>`. Use no href instead of an explicit `nohref`
|
9381
|
-
noShade:
|
9381
|
+
noShade: fe,
|
9382
9382
|
// `<hr>`. Use background-color and height instead of borders
|
9383
|
-
noWrap:
|
9383
|
+
noWrap: fe,
|
9384
9384
|
// `<td>` and `<th>`
|
9385
9385
|
object: null,
|
9386
9386
|
// `<applet>`
|
@@ -9420,8 +9420,8 @@ const Ml = Ln({
|
|
9420
9420
|
allowTransparency: null,
|
9421
9421
|
autoCorrect: null,
|
9422
9422
|
autoSave: null,
|
9423
|
-
disablePictureInPicture:
|
9424
|
-
disableRemotePlayback:
|
9423
|
+
disablePictureInPicture: fe,
|
9424
|
+
disableRemotePlayback: fe,
|
9425
9425
|
prefix: null,
|
9426
9426
|
property: null,
|
9427
9427
|
results: Z,
|
@@ -9607,7 +9607,7 @@ const Ml = Ln({
|
|
9607
9607
|
},
|
9608
9608
|
transform: wl,
|
9609
9609
|
properties: {
|
9610
|
-
about:
|
9610
|
+
about: ct,
|
9611
9611
|
accentHeight: Z,
|
9612
9612
|
accumulate: null,
|
9613
9613
|
additive: null,
|
@@ -9656,7 +9656,7 @@ const Ml = Ln({
|
|
9656
9656
|
dur: null,
|
9657
9657
|
divisor: Z,
|
9658
9658
|
dominantBaseline: null,
|
9659
|
-
download:
|
9659
|
+
download: fe,
|
9660
9660
|
dx: null,
|
9661
9661
|
dy: null,
|
9662
9662
|
edgeMode: null,
|
@@ -9719,7 +9719,7 @@ const Ml = Ln({
|
|
9719
9719
|
k2: Z,
|
9720
9720
|
k3: Z,
|
9721
9721
|
k4: Z,
|
9722
|
-
kernelMatrix:
|
9722
|
+
kernelMatrix: ct,
|
9723
9723
|
kernelUnitLength: null,
|
9724
9724
|
keyPoints: null,
|
9725
9725
|
// SEMI_COLON_SEPARATED
|
@@ -9876,21 +9876,21 @@ const Ml = Ln({
|
|
9876
9876
|
preserveAspectRatio: null,
|
9877
9877
|
primitiveUnits: null,
|
9878
9878
|
propagate: null,
|
9879
|
-
property:
|
9879
|
+
property: ct,
|
9880
9880
|
r: null,
|
9881
9881
|
radius: null,
|
9882
9882
|
referrerPolicy: null,
|
9883
9883
|
refX: null,
|
9884
9884
|
refY: null,
|
9885
|
-
rel:
|
9886
|
-
rev:
|
9885
|
+
rel: ct,
|
9886
|
+
rev: ct,
|
9887
9887
|
renderingIntent: null,
|
9888
9888
|
repeatCount: null,
|
9889
9889
|
repeatDur: null,
|
9890
|
-
requiredExtensions:
|
9891
|
-
requiredFeatures:
|
9892
|
-
requiredFonts:
|
9893
|
-
requiredFormats:
|
9890
|
+
requiredExtensions: ct,
|
9891
|
+
requiredFeatures: ct,
|
9892
|
+
requiredFonts: ct,
|
9893
|
+
requiredFormats: ct,
|
9894
9894
|
resource: null,
|
9895
9895
|
restart: null,
|
9896
9896
|
result: null,
|
@@ -9918,7 +9918,7 @@ const Ml = Ln({
|
|
9918
9918
|
strikethroughThickness: Z,
|
9919
9919
|
string: null,
|
9920
9920
|
stroke: null,
|
9921
|
-
strokeDashArray:
|
9921
|
+
strokeDashArray: ct,
|
9922
9922
|
strokeDashOffset: null,
|
9923
9923
|
strokeLineCap: null,
|
9924
9924
|
strokeLineJoin: null,
|
@@ -9932,7 +9932,7 @@ const Ml = Ln({
|
|
9932
9932
|
syncMaster: null,
|
9933
9933
|
syncTolerance: null,
|
9934
9934
|
syncToleranceDefault: null,
|
9935
|
-
systemLanguage:
|
9935
|
+
systemLanguage: ct,
|
9936
9936
|
tabIndex: Z,
|
9937
9937
|
tableValues: null,
|
9938
9938
|
target: null,
|
@@ -9946,7 +9946,7 @@ const Ml = Ln({
|
|
9946
9946
|
title: null,
|
9947
9947
|
transformBehavior: null,
|
9948
9948
|
type: null,
|
9949
|
-
typeOf:
|
9949
|
+
typeOf: ct,
|
9950
9950
|
to: null,
|
9951
9951
|
transform: null,
|
9952
9952
|
transformOrigin: null,
|
@@ -10051,7 +10051,7 @@ function a2(e) {
|
|
10051
10051
|
});
|
10052
10052
|
};
|
10053
10053
|
}
|
10054
|
-
var Fa = { exports: {} },
|
10054
|
+
var Fa = { exports: {} }, Oe = {};
|
10055
10055
|
/**
|
10056
10056
|
* @license React
|
10057
10057
|
* react-is.production.min.js
|
@@ -10063,7 +10063,7 @@ var Fa = { exports: {} }, xe = {};
|
|
10063
10063
|
*/
|
10064
10064
|
var So;
|
10065
10065
|
function i2() {
|
10066
|
-
if (So) return
|
10066
|
+
if (So) return Oe;
|
10067
10067
|
So = 1;
|
10068
10068
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), u = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), b;
|
10069
10069
|
b = Symbol.for("react.module.reference");
|
@@ -10097,37 +10097,37 @@ function i2() {
|
|
10097
10097
|
}
|
10098
10098
|
}
|
10099
10099
|
}
|
10100
|
-
return
|
10100
|
+
return Oe.ContextConsumer = u, Oe.ContextProvider = i, Oe.Element = e, Oe.ForwardRef = l, Oe.Fragment = n, Oe.Lazy = p, Oe.Memo = h, Oe.Portal = t, Oe.Profiler = a, Oe.StrictMode = r, Oe.Suspense = c, Oe.SuspenseList = d, Oe.isAsyncMode = function() {
|
10101
10101
|
return !1;
|
10102
|
-
},
|
10102
|
+
}, Oe.isConcurrentMode = function() {
|
10103
10103
|
return !1;
|
10104
|
-
},
|
10104
|
+
}, Oe.isContextConsumer = function(_) {
|
10105
10105
|
return m(_) === u;
|
10106
|
-
},
|
10106
|
+
}, Oe.isContextProvider = function(_) {
|
10107
10107
|
return m(_) === i;
|
10108
|
-
},
|
10108
|
+
}, Oe.isElement = function(_) {
|
10109
10109
|
return typeof _ == "object" && _ !== null && _.$$typeof === e;
|
10110
|
-
},
|
10110
|
+
}, Oe.isForwardRef = function(_) {
|
10111
10111
|
return m(_) === l;
|
10112
|
-
},
|
10112
|
+
}, Oe.isFragment = function(_) {
|
10113
10113
|
return m(_) === n;
|
10114
|
-
},
|
10114
|
+
}, Oe.isLazy = function(_) {
|
10115
10115
|
return m(_) === p;
|
10116
|
-
},
|
10116
|
+
}, Oe.isMemo = function(_) {
|
10117
10117
|
return m(_) === h;
|
10118
|
-
},
|
10118
|
+
}, Oe.isPortal = function(_) {
|
10119
10119
|
return m(_) === t;
|
10120
|
-
},
|
10120
|
+
}, Oe.isProfiler = function(_) {
|
10121
10121
|
return m(_) === a;
|
10122
|
-
},
|
10122
|
+
}, Oe.isStrictMode = function(_) {
|
10123
10123
|
return m(_) === r;
|
10124
|
-
},
|
10124
|
+
}, Oe.isSuspense = function(_) {
|
10125
10125
|
return m(_) === c;
|
10126
|
-
},
|
10126
|
+
}, Oe.isSuspenseList = function(_) {
|
10127
10127
|
return m(_) === d;
|
10128
|
-
},
|
10128
|
+
}, Oe.isValidElementType = function(_) {
|
10129
10129
|
return typeof _ == "string" || typeof _ == "function" || _ === n || _ === a || _ === r || _ === c || _ === d || _ === f || typeof _ == "object" && _ !== null && (_.$$typeof === p || _.$$typeof === h || _.$$typeof === i || _.$$typeof === u || _.$$typeof === l || _.$$typeof === b || _.getModuleId !== void 0);
|
10130
|
-
},
|
10130
|
+
}, Oe.typeOf = m, Oe;
|
10131
10131
|
}
|
10132
10132
|
var xo;
|
10133
10133
|
function u2() {
|
@@ -10678,29 +10678,29 @@ function I2() {
|
|
10678
10678
|
}, R.valueOf = function() {
|
10679
10679
|
return this.$d.getTime();
|
10680
10680
|
}, R.startOf = function(U, W) {
|
10681
|
-
var q = this, $ = !!z.u(W) || W, T = z.p(U), ne = function(Be,
|
10682
|
-
var Xe = z.w(q.$u ? Date.UTC(q.$y,
|
10681
|
+
var q = this, $ = !!z.u(W) || W, T = z.p(U), ne = function(Be, Ne) {
|
10682
|
+
var Xe = z.w(q.$u ? Date.UTC(q.$y, Ne, Be) : new Date(q.$y, Ne, Be), q);
|
10683
10683
|
return $ ? Xe : Xe.endOf(c);
|
10684
|
-
}, oe = function(Be,
|
10685
|
-
return z.w(q.toDate()[Be].apply(q.toDate("s"), ($ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
10686
|
-
}, S = this.$W, le = this.$M,
|
10684
|
+
}, oe = function(Be, Ne) {
|
10685
|
+
return z.w(q.toDate()[Be].apply(q.toDate("s"), ($ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ne)), q);
|
10686
|
+
}, S = this.$W, le = this.$M, _e = this.$D, me = "set" + (this.$u ? "UTC" : "");
|
10687
10687
|
switch (T) {
|
10688
10688
|
case f:
|
10689
10689
|
return $ ? ne(1, 0) : ne(31, 11);
|
10690
10690
|
case h:
|
10691
10691
|
return $ ? ne(1, le) : ne(0, le + 1);
|
10692
10692
|
case d:
|
10693
|
-
var
|
10694
|
-
return ne($ ?
|
10693
|
+
var Ae = this.$locale().weekStart || 0, Ie = (S < Ae ? S + 7 : S) - Ae;
|
10694
|
+
return ne($ ? _e - Ie : _e + (6 - Ie), le);
|
10695
10695
|
case c:
|
10696
10696
|
case b:
|
10697
|
-
return oe(
|
10697
|
+
return oe(me + "Hours", 0);
|
10698
10698
|
case l:
|
10699
|
-
return oe(
|
10699
|
+
return oe(me + "Minutes", 1);
|
10700
10700
|
case s:
|
10701
|
-
return oe(
|
10701
|
+
return oe(me + "Seconds", 2);
|
10702
10702
|
case u:
|
10703
|
-
return oe(
|
10703
|
+
return oe(me + "Milliseconds", 3);
|
10704
10704
|
default:
|
10705
10705
|
return this.clone();
|
10706
10706
|
}
|
@@ -10721,8 +10721,8 @@ function I2() {
|
|
10721
10721
|
var q, $ = this;
|
10722
10722
|
U = Number(U);
|
10723
10723
|
var T = z.p(W), ne = function(le) {
|
10724
|
-
var
|
10725
|
-
return z.w(
|
10724
|
+
var _e = te($);
|
10725
|
+
return z.w(_e.date(_e.date() + Math.round(le * U)), $);
|
10726
10726
|
};
|
10727
10727
|
if (T === h) return this.set(h, this.$M + U);
|
10728
10728
|
if (T === f) return this.set(f, this.$y + U);
|
@@ -10735,17 +10735,17 @@ function I2() {
|
|
10735
10735
|
}, R.format = function(U) {
|
10736
10736
|
var W = this, q = this.$locale();
|
10737
10737
|
if (!this.isValid()) return q.invalidDate || m;
|
10738
|
-
var $ = U || "YYYY-MM-DDTHH:mm:ssZ", T = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = q.weekdays,
|
10739
|
-
return
|
10740
|
-
},
|
10741
|
-
return z.s(ne % 12 || 12,
|
10742
|
-
}, Be =
|
10743
|
-
var St =
|
10744
|
-
return
|
10738
|
+
var $ = U || "YYYY-MM-DDTHH:mm:ssZ", T = z.z(this), ne = this.$H, oe = this.$m, S = this.$M, le = q.weekdays, _e = q.months, me = q.meridiem, Ae = function(Ne, Xe, ut, St) {
|
10739
|
+
return Ne && (Ne[Xe] || Ne(W, $)) || ut[Xe].slice(0, St);
|
10740
|
+
}, Ie = function(Ne) {
|
10741
|
+
return z.s(ne % 12 || 12, Ne, "0");
|
10742
|
+
}, Be = me || function(Ne, Xe, ut) {
|
10743
|
+
var St = Ne < 12 ? "AM" : "PM";
|
10744
|
+
return ut ? St.toLowerCase() : St;
|
10745
10745
|
};
|
10746
|
-
return $.replace(g, function(
|
10747
|
-
return Xe || function(
|
10748
|
-
switch (
|
10746
|
+
return $.replace(g, function(Ne, Xe) {
|
10747
|
+
return Xe || function(ut) {
|
10748
|
+
switch (ut) {
|
10749
10749
|
case "YY":
|
10750
10750
|
return String(W.$y).slice(-2);
|
10751
10751
|
case "YYYY":
|
@@ -10755,9 +10755,9 @@ function I2() {
|
|
10755
10755
|
case "MM":
|
10756
10756
|
return z.s(S + 1, 2, "0");
|
10757
10757
|
case "MMM":
|
10758
|
-
return
|
10758
|
+
return Ae(q.monthsShort, S, _e, 3);
|
10759
10759
|
case "MMMM":
|
10760
|
-
return _e
|
10760
|
+
return Ae(_e, S);
|
10761
10761
|
case "D":
|
10762
10762
|
return W.$D;
|
10763
10763
|
case "DD":
|
@@ -10765,9 +10765,9 @@ function I2() {
|
|
10765
10765
|
case "d":
|
10766
10766
|
return String(W.$W);
|
10767
10767
|
case "dd":
|
10768
|
-
return
|
10768
|
+
return Ae(q.weekdaysMin, W.$W, le, 2);
|
10769
10769
|
case "ddd":
|
10770
|
-
return
|
10770
|
+
return Ae(q.weekdaysShort, W.$W, le, 3);
|
10771
10771
|
case "dddd":
|
10772
10772
|
return le[W.$W];
|
10773
10773
|
case "H":
|
@@ -10775,9 +10775,9 @@ function I2() {
|
|
10775
10775
|
case "HH":
|
10776
10776
|
return z.s(ne, 2, "0");
|
10777
10777
|
case "h":
|
10778
|
-
return
|
10778
|
+
return Ie(1);
|
10779
10779
|
case "hh":
|
10780
|
-
return
|
10780
|
+
return Ie(2);
|
10781
10781
|
case "a":
|
10782
10782
|
return Be(ne, oe, !0);
|
10783
10783
|
case "A":
|
@@ -10796,23 +10796,23 @@ function I2() {
|
|
10796
10796
|
return T;
|
10797
10797
|
}
|
10798
10798
|
return null;
|
10799
|
-
}(
|
10799
|
+
}(Ne) || T.replace(":", "");
|
10800
10800
|
});
|
10801
10801
|
}, R.utcOffset = function() {
|
10802
10802
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
10803
10803
|
}, R.diff = function(U, W, q) {
|
10804
|
-
var $, T = this, ne = z.p(W), oe = te(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe,
|
10804
|
+
var $, T = this, ne = z.p(W), oe = te(U), S = (oe.utcOffset() - this.utcOffset()) * r, le = this - oe, _e = function() {
|
10805
10805
|
return z.m(T, oe);
|
10806
10806
|
};
|
10807
10807
|
switch (ne) {
|
10808
10808
|
case f:
|
10809
|
-
$ =
|
10809
|
+
$ = _e() / 12;
|
10810
10810
|
break;
|
10811
10811
|
case h:
|
10812
|
-
$ =
|
10812
|
+
$ = _e();
|
10813
10813
|
break;
|
10814
10814
|
case p:
|
10815
|
-
$ =
|
10815
|
+
$ = _e() / 3;
|
10816
10816
|
break;
|
10817
10817
|
case d:
|
10818
10818
|
$ = (le - S) / 6048e5;
|
@@ -11077,7 +11077,7 @@ function Gl(e, t) {
|
|
11077
11077
|
function cr(e) {
|
11078
11078
|
return e.toLowerCase();
|
11079
11079
|
}
|
11080
|
-
let
|
11080
|
+
let at = class {
|
11081
11081
|
/**
|
11082
11082
|
* @param {string} property
|
11083
11083
|
* Property.
|
@@ -11090,28 +11090,28 @@ let rt = class {
|
|
11090
11090
|
this.attribute = n, this.property = t;
|
11091
11091
|
}
|
11092
11092
|
};
|
11093
|
-
|
11094
|
-
|
11095
|
-
|
11096
|
-
|
11097
|
-
|
11098
|
-
|
11099
|
-
|
11100
|
-
|
11101
|
-
|
11102
|
-
|
11103
|
-
|
11104
|
-
|
11093
|
+
at.prototype.attribute = "";
|
11094
|
+
at.prototype.booleanish = !1;
|
11095
|
+
at.prototype.boolean = !1;
|
11096
|
+
at.prototype.commaOrSpaceSeparated = !1;
|
11097
|
+
at.prototype.commaSeparated = !1;
|
11098
|
+
at.prototype.defined = !1;
|
11099
|
+
at.prototype.mustUseProperty = !1;
|
11100
|
+
at.prototype.number = !1;
|
11101
|
+
at.prototype.overloadedBoolean = !1;
|
11102
|
+
at.prototype.property = "";
|
11103
|
+
at.prototype.spaceSeparated = !1;
|
11104
|
+
at.prototype.space = void 0;
|
11105
11105
|
let H2 = 0;
|
11106
|
-
const
|
11106
|
+
const he = ln(), $e = ln(), Xl = ln(), J = ln(), Re = ln(), vn = ln(), dt = ln();
|
11107
11107
|
function ln() {
|
11108
11108
|
return 2 ** ++H2;
|
11109
11109
|
}
|
11110
11110
|
const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
11111
11111
|
__proto__: null,
|
11112
|
-
boolean:
|
11112
|
+
boolean: he,
|
11113
11113
|
booleanish: $e,
|
11114
|
-
commaOrSpaceSeparated:
|
11114
|
+
commaOrSpaceSeparated: dt,
|
11115
11115
|
commaSeparated: vn,
|
11116
11116
|
number: J,
|
11117
11117
|
overloadedBoolean: Xl,
|
@@ -11120,7 +11120,7 @@ const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
11120
11120
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
11121
11121
|
Object.keys(bi)
|
11122
11122
|
);
|
11123
|
-
let Wi = class extends
|
11123
|
+
let Wi = class extends at {
|
11124
11124
|
/**
|
11125
11125
|
* @constructor
|
11126
11126
|
* @param {string} property
|
@@ -11238,38 +11238,38 @@ const U2 = Rn({
|
|
11238
11238
|
accessKey: Re,
|
11239
11239
|
action: null,
|
11240
11240
|
allow: null,
|
11241
|
-
allowFullScreen:
|
11242
|
-
allowPaymentRequest:
|
11243
|
-
allowUserMedia:
|
11241
|
+
allowFullScreen: he,
|
11242
|
+
allowPaymentRequest: he,
|
11243
|
+
allowUserMedia: he,
|
11244
11244
|
alt: null,
|
11245
11245
|
as: null,
|
11246
|
-
async:
|
11246
|
+
async: he,
|
11247
11247
|
autoCapitalize: null,
|
11248
11248
|
autoComplete: Re,
|
11249
|
-
autoFocus:
|
11250
|
-
autoPlay:
|
11249
|
+
autoFocus: he,
|
11250
|
+
autoPlay: he,
|
11251
11251
|
blocking: Re,
|
11252
11252
|
capture: null,
|
11253
11253
|
charSet: null,
|
11254
|
-
checked:
|
11254
|
+
checked: he,
|
11255
11255
|
cite: null,
|
11256
11256
|
className: Re,
|
11257
11257
|
cols: J,
|
11258
11258
|
colSpan: null,
|
11259
11259
|
content: null,
|
11260
11260
|
contentEditable: $e,
|
11261
|
-
controls:
|
11261
|
+
controls: he,
|
11262
11262
|
controlsList: Re,
|
11263
11263
|
coords: J | vn,
|
11264
11264
|
crossOrigin: null,
|
11265
11265
|
data: null,
|
11266
11266
|
dateTime: null,
|
11267
11267
|
decoding: null,
|
11268
|
-
default:
|
11269
|
-
defer:
|
11268
|
+
default: he,
|
11269
|
+
defer: he,
|
11270
11270
|
dir: null,
|
11271
11271
|
dirName: null,
|
11272
|
-
disabled:
|
11272
|
+
disabled: he,
|
11273
11273
|
download: Xl,
|
11274
11274
|
draggable: $e,
|
11275
11275
|
encType: null,
|
@@ -11279,11 +11279,11 @@ const U2 = Rn({
|
|
11279
11279
|
formAction: null,
|
11280
11280
|
formEncType: null,
|
11281
11281
|
formMethod: null,
|
11282
|
-
formNoValidate:
|
11282
|
+
formNoValidate: he,
|
11283
11283
|
formTarget: null,
|
11284
11284
|
headers: Re,
|
11285
11285
|
height: J,
|
11286
|
-
hidden:
|
11286
|
+
hidden: he,
|
11287
11287
|
high: J,
|
11288
11288
|
href: null,
|
11289
11289
|
hrefLang: null,
|
@@ -11292,15 +11292,15 @@ const U2 = Rn({
|
|
11292
11292
|
id: null,
|
11293
11293
|
imageSizes: null,
|
11294
11294
|
imageSrcSet: null,
|
11295
|
-
inert:
|
11295
|
+
inert: he,
|
11296
11296
|
inputMode: null,
|
11297
11297
|
integrity: null,
|
11298
11298
|
is: null,
|
11299
|
-
isMap:
|
11299
|
+
isMap: he,
|
11300
11300
|
itemId: null,
|
11301
11301
|
itemProp: Re,
|
11302
11302
|
itemRef: Re,
|
11303
|
-
itemScope:
|
11303
|
+
itemScope: he,
|
11304
11304
|
itemType: Re,
|
11305
11305
|
kind: null,
|
11306
11306
|
label: null,
|
@@ -11308,7 +11308,7 @@ const U2 = Rn({
|
|
11308
11308
|
language: null,
|
11309
11309
|
list: null,
|
11310
11310
|
loading: null,
|
11311
|
-
loop:
|
11311
|
+
loop: he,
|
11312
11312
|
low: J,
|
11313
11313
|
manifest: null,
|
11314
11314
|
max: null,
|
@@ -11317,12 +11317,12 @@ const U2 = Rn({
|
|
11317
11317
|
method: null,
|
11318
11318
|
min: null,
|
11319
11319
|
minLength: J,
|
11320
|
-
multiple:
|
11321
|
-
muted:
|
11320
|
+
multiple: he,
|
11321
|
+
muted: he,
|
11322
11322
|
name: null,
|
11323
11323
|
nonce: null,
|
11324
|
-
noModule:
|
11325
|
-
noValidate:
|
11324
|
+
noModule: he,
|
11325
|
+
noValidate: he,
|
11326
11326
|
onAbort: null,
|
11327
11327
|
onAfterPrint: null,
|
11328
11328
|
onAuxClick: null,
|
@@ -11411,31 +11411,31 @@ const U2 = Rn({
|
|
11411
11411
|
onVolumeChange: null,
|
11412
11412
|
onWaiting: null,
|
11413
11413
|
onWheel: null,
|
11414
|
-
open:
|
11414
|
+
open: he,
|
11415
11415
|
optimum: J,
|
11416
11416
|
pattern: null,
|
11417
11417
|
ping: Re,
|
11418
11418
|
placeholder: null,
|
11419
|
-
playsInline:
|
11419
|
+
playsInline: he,
|
11420
11420
|
popover: null,
|
11421
11421
|
popoverTarget: null,
|
11422
11422
|
popoverTargetAction: null,
|
11423
11423
|
poster: null,
|
11424
11424
|
preload: null,
|
11425
|
-
readOnly:
|
11425
|
+
readOnly: he,
|
11426
11426
|
referrerPolicy: null,
|
11427
11427
|
rel: Re,
|
11428
|
-
required:
|
11429
|
-
reversed:
|
11428
|
+
required: he,
|
11429
|
+
reversed: he,
|
11430
11430
|
rows: J,
|
11431
11431
|
rowSpan: J,
|
11432
11432
|
sandbox: Re,
|
11433
11433
|
scope: null,
|
11434
|
-
scoped:
|
11435
|
-
seamless:
|
11436
|
-
selected:
|
11437
|
-
shadowRootClonable:
|
11438
|
-
shadowRootDelegatesFocus:
|
11434
|
+
scoped: he,
|
11435
|
+
seamless: he,
|
11436
|
+
selected: he,
|
11437
|
+
shadowRootClonable: he,
|
11438
|
+
shadowRootDelegatesFocus: he,
|
11439
11439
|
shadowRootMode: null,
|
11440
11440
|
shape: null,
|
11441
11441
|
size: J,
|
@@ -11455,7 +11455,7 @@ const U2 = Rn({
|
|
11455
11455
|
title: null,
|
11456
11456
|
translate: null,
|
11457
11457
|
type: null,
|
11458
|
-
typeMustMatch:
|
11458
|
+
typeMustMatch: he,
|
11459
11459
|
useMap: null,
|
11460
11460
|
value: $e,
|
11461
11461
|
width: J,
|
@@ -11501,9 +11501,9 @@ const U2 = Rn({
|
|
11501
11501
|
// `<object>`
|
11502
11502
|
color: null,
|
11503
11503
|
// `<font>` and `<hr>`. Use CSS instead
|
11504
|
-
compact:
|
11504
|
+
compact: he,
|
11505
11505
|
// Lists. Use CSS to reduce space between items instead
|
11506
|
-
declare:
|
11506
|
+
declare: he,
|
11507
11507
|
// `<object>`
|
11508
11508
|
event: null,
|
11509
11509
|
// `<script>`
|
@@ -11527,13 +11527,13 @@ const U2 = Rn({
|
|
11527
11527
|
// `<body>`
|
11528
11528
|
marginWidth: J,
|
11529
11529
|
// `<body>`
|
11530
|
-
noResize:
|
11530
|
+
noResize: he,
|
11531
11531
|
// `<frame>`
|
11532
|
-
noHref:
|
11532
|
+
noHref: he,
|
11533
11533
|
// `<area>`. Use no href instead of an explicit `nohref`
|
11534
|
-
noShade:
|
11534
|
+
noShade: he,
|
11535
11535
|
// `<hr>`. Use background-color and height instead of borders
|
11536
|
-
noWrap:
|
11536
|
+
noWrap: he,
|
11537
11537
|
// `<td>` and `<th>`
|
11538
11538
|
object: null,
|
11539
11539
|
// `<applet>`
|
@@ -11573,8 +11573,8 @@ const U2 = Rn({
|
|
11573
11573
|
allowTransparency: null,
|
11574
11574
|
autoCorrect: null,
|
11575
11575
|
autoSave: null,
|
11576
|
-
disablePictureInPicture:
|
11577
|
-
disableRemotePlayback:
|
11576
|
+
disablePictureInPicture: he,
|
11577
|
+
disableRemotePlayback: he,
|
11578
11578
|
prefix: null,
|
11579
11579
|
property: null,
|
11580
11580
|
results: J,
|
@@ -11760,7 +11760,7 @@ const U2 = Rn({
|
|
11760
11760
|
timelineBegin: "timelinebegin"
|
11761
11761
|
},
|
11762
11762
|
properties: {
|
11763
|
-
about:
|
11763
|
+
about: dt,
|
11764
11764
|
accentHeight: J,
|
11765
11765
|
accumulate: null,
|
11766
11766
|
additive: null,
|
@@ -11809,7 +11809,7 @@ const U2 = Rn({
|
|
11809
11809
|
dur: null,
|
11810
11810
|
divisor: J,
|
11811
11811
|
dominantBaseline: null,
|
11812
|
-
download:
|
11812
|
+
download: he,
|
11813
11813
|
dx: null,
|
11814
11814
|
dy: null,
|
11815
11815
|
edgeMode: null,
|
@@ -11872,7 +11872,7 @@ const U2 = Rn({
|
|
11872
11872
|
k2: J,
|
11873
11873
|
k3: J,
|
11874
11874
|
k4: J,
|
11875
|
-
kernelMatrix:
|
11875
|
+
kernelMatrix: dt,
|
11876
11876
|
kernelUnitLength: null,
|
11877
11877
|
keyPoints: null,
|
11878
11878
|
// SEMI_COLON_SEPARATED
|
@@ -12029,21 +12029,21 @@ const U2 = Rn({
|
|
12029
12029
|
preserveAspectRatio: null,
|
12030
12030
|
primitiveUnits: null,
|
12031
12031
|
propagate: null,
|
12032
|
-
property:
|
12032
|
+
property: dt,
|
12033
12033
|
r: null,
|
12034
12034
|
radius: null,
|
12035
12035
|
referrerPolicy: null,
|
12036
12036
|
refX: null,
|
12037
12037
|
refY: null,
|
12038
|
-
rel:
|
12039
|
-
rev:
|
12038
|
+
rel: dt,
|
12039
|
+
rev: dt,
|
12040
12040
|
renderingIntent: null,
|
12041
12041
|
repeatCount: null,
|
12042
12042
|
repeatDur: null,
|
12043
|
-
requiredExtensions:
|
12044
|
-
requiredFeatures:
|
12045
|
-
requiredFonts:
|
12046
|
-
requiredFormats:
|
12043
|
+
requiredExtensions: dt,
|
12044
|
+
requiredFeatures: dt,
|
12045
|
+
requiredFonts: dt,
|
12046
|
+
requiredFormats: dt,
|
12047
12047
|
resource: null,
|
12048
12048
|
restart: null,
|
12049
12049
|
result: null,
|
@@ -12071,7 +12071,7 @@ const U2 = Rn({
|
|
12071
12071
|
strikethroughThickness: J,
|
12072
12072
|
string: null,
|
12073
12073
|
stroke: null,
|
12074
|
-
strokeDashArray:
|
12074
|
+
strokeDashArray: dt,
|
12075
12075
|
strokeDashOffset: null,
|
12076
12076
|
strokeLineCap: null,
|
12077
12077
|
strokeLineJoin: null,
|
@@ -12085,7 +12085,7 @@ const U2 = Rn({
|
|
12085
12085
|
syncMaster: null,
|
12086
12086
|
syncTolerance: null,
|
12087
12087
|
syncToleranceDefault: null,
|
12088
|
-
systemLanguage:
|
12088
|
+
systemLanguage: dt,
|
12089
12089
|
tabIndex: J,
|
12090
12090
|
tableValues: null,
|
12091
12091
|
target: null,
|
@@ -12099,7 +12099,7 @@ const U2 = Rn({
|
|
12099
12099
|
title: null,
|
12100
12100
|
transformBehavior: null,
|
12101
12101
|
type: null,
|
12102
|
-
typeOf:
|
12102
|
+
typeOf: dt,
|
12103
12103
|
to: null,
|
12104
12104
|
transform: null,
|
12105
12105
|
transformOrigin: null,
|
@@ -12170,7 +12170,7 @@ const U2 = Rn({
|
|
12170
12170
|
}), q2 = /[A-Z]/g, Bo = /-[a-z]/g, z2 = /^data[-\w.:]+$/i;
|
12171
12171
|
function Y2(e, t) {
|
12172
12172
|
const n = cr(t);
|
12173
|
-
let r = t, a =
|
12173
|
+
let r = t, a = at;
|
12174
12174
|
if (n in e.normal)
|
12175
12175
|
return e.property[e.normal[n]];
|
12176
12176
|
if (n.length > 4 && n.slice(0, 4) === "data" && z2.test(t)) {
|
@@ -12383,7 +12383,7 @@ function rc(e, t) {
|
|
12383
12383
|
function Ti(e) {
|
12384
12384
|
return e.toLowerCase();
|
12385
12385
|
}
|
12386
|
-
class
|
12386
|
+
class it {
|
12387
12387
|
/**
|
12388
12388
|
* @param {string} property
|
12389
12389
|
* Property.
|
@@ -12396,28 +12396,28 @@ class at {
|
|
12396
12396
|
this.attribute = n, this.property = t;
|
12397
12397
|
}
|
12398
12398
|
}
|
12399
|
-
|
12400
|
-
|
12401
|
-
|
12402
|
-
|
12403
|
-
|
12404
|
-
|
12405
|
-
|
12406
|
-
|
12407
|
-
|
12408
|
-
|
12409
|
-
|
12410
|
-
|
12399
|
+
it.prototype.attribute = "";
|
12400
|
+
it.prototype.booleanish = !1;
|
12401
|
+
it.prototype.boolean = !1;
|
12402
|
+
it.prototype.commaOrSpaceSeparated = !1;
|
12403
|
+
it.prototype.commaSeparated = !1;
|
12404
|
+
it.prototype.defined = !1;
|
12405
|
+
it.prototype.mustUseProperty = !1;
|
12406
|
+
it.prototype.number = !1;
|
12407
|
+
it.prototype.overloadedBoolean = !1;
|
12408
|
+
it.prototype.property = "";
|
12409
|
+
it.prototype.spaceSeparated = !1;
|
12410
|
+
it.prototype.space = void 0;
|
12411
12411
|
let rg = 0;
|
12412
|
-
const
|
12412
|
+
const pe = cn(), Ve = cn(), ac = cn(), ee = cn(), De = cn(), On = cn(), ft = cn();
|
12413
12413
|
function cn() {
|
12414
12414
|
return 2 ** ++rg;
|
12415
12415
|
}
|
12416
12416
|
const yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
12417
12417
|
__proto__: null,
|
12418
|
-
boolean:
|
12418
|
+
boolean: pe,
|
12419
12419
|
booleanish: Ve,
|
12420
|
-
commaOrSpaceSeparated:
|
12420
|
+
commaOrSpaceSeparated: ft,
|
12421
12421
|
commaSeparated: On,
|
12422
12422
|
number: ee,
|
12423
12423
|
overloadedBoolean: ac,
|
@@ -12426,7 +12426,7 @@ const yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12426
12426
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
12427
12427
|
Object.keys(yi)
|
12428
12428
|
);
|
12429
|
-
class Gi extends
|
12429
|
+
class Gi extends it {
|
12430
12430
|
/**
|
12431
12431
|
* @constructor
|
12432
12432
|
* @param {string} property
|
@@ -12544,38 +12544,38 @@ const ag = Dn({
|
|
12544
12544
|
accessKey: De,
|
12545
12545
|
action: null,
|
12546
12546
|
allow: null,
|
12547
|
-
allowFullScreen:
|
12548
|
-
allowPaymentRequest:
|
12549
|
-
allowUserMedia:
|
12547
|
+
allowFullScreen: pe,
|
12548
|
+
allowPaymentRequest: pe,
|
12549
|
+
allowUserMedia: pe,
|
12550
12550
|
alt: null,
|
12551
12551
|
as: null,
|
12552
|
-
async:
|
12552
|
+
async: pe,
|
12553
12553
|
autoCapitalize: null,
|
12554
12554
|
autoComplete: De,
|
12555
|
-
autoFocus:
|
12556
|
-
autoPlay:
|
12555
|
+
autoFocus: pe,
|
12556
|
+
autoPlay: pe,
|
12557
12557
|
blocking: De,
|
12558
12558
|
capture: null,
|
12559
12559
|
charSet: null,
|
12560
|
-
checked:
|
12560
|
+
checked: pe,
|
12561
12561
|
cite: null,
|
12562
12562
|
className: De,
|
12563
12563
|
cols: ee,
|
12564
12564
|
colSpan: null,
|
12565
12565
|
content: null,
|
12566
12566
|
contentEditable: Ve,
|
12567
|
-
controls:
|
12567
|
+
controls: pe,
|
12568
12568
|
controlsList: De,
|
12569
12569
|
coords: ee | On,
|
12570
12570
|
crossOrigin: null,
|
12571
12571
|
data: null,
|
12572
12572
|
dateTime: null,
|
12573
12573
|
decoding: null,
|
12574
|
-
default:
|
12575
|
-
defer:
|
12574
|
+
default: pe,
|
12575
|
+
defer: pe,
|
12576
12576
|
dir: null,
|
12577
12577
|
dirName: null,
|
12578
|
-
disabled:
|
12578
|
+
disabled: pe,
|
12579
12579
|
download: ac,
|
12580
12580
|
draggable: Ve,
|
12581
12581
|
encType: null,
|
@@ -12585,11 +12585,11 @@ const ag = Dn({
|
|
12585
12585
|
formAction: null,
|
12586
12586
|
formEncType: null,
|
12587
12587
|
formMethod: null,
|
12588
|
-
formNoValidate:
|
12588
|
+
formNoValidate: pe,
|
12589
12589
|
formTarget: null,
|
12590
12590
|
headers: De,
|
12591
12591
|
height: ee,
|
12592
|
-
hidden:
|
12592
|
+
hidden: pe,
|
12593
12593
|
high: ee,
|
12594
12594
|
href: null,
|
12595
12595
|
hrefLang: null,
|
@@ -12598,15 +12598,15 @@ const ag = Dn({
|
|
12598
12598
|
id: null,
|
12599
12599
|
imageSizes: null,
|
12600
12600
|
imageSrcSet: null,
|
12601
|
-
inert:
|
12601
|
+
inert: pe,
|
12602
12602
|
inputMode: null,
|
12603
12603
|
integrity: null,
|
12604
12604
|
is: null,
|
12605
|
-
isMap:
|
12605
|
+
isMap: pe,
|
12606
12606
|
itemId: null,
|
12607
12607
|
itemProp: De,
|
12608
12608
|
itemRef: De,
|
12609
|
-
itemScope:
|
12609
|
+
itemScope: pe,
|
12610
12610
|
itemType: De,
|
12611
12611
|
kind: null,
|
12612
12612
|
label: null,
|
@@ -12614,7 +12614,7 @@ const ag = Dn({
|
|
12614
12614
|
language: null,
|
12615
12615
|
list: null,
|
12616
12616
|
loading: null,
|
12617
|
-
loop:
|
12617
|
+
loop: pe,
|
12618
12618
|
low: ee,
|
12619
12619
|
manifest: null,
|
12620
12620
|
max: null,
|
@@ -12623,12 +12623,12 @@ const ag = Dn({
|
|
12623
12623
|
method: null,
|
12624
12624
|
min: null,
|
12625
12625
|
minLength: ee,
|
12626
|
-
multiple:
|
12627
|
-
muted:
|
12626
|
+
multiple: pe,
|
12627
|
+
muted: pe,
|
12628
12628
|
name: null,
|
12629
12629
|
nonce: null,
|
12630
|
-
noModule:
|
12631
|
-
noValidate:
|
12630
|
+
noModule: pe,
|
12631
|
+
noValidate: pe,
|
12632
12632
|
onAbort: null,
|
12633
12633
|
onAfterPrint: null,
|
12634
12634
|
onAuxClick: null,
|
@@ -12717,31 +12717,31 @@ const ag = Dn({
|
|
12717
12717
|
onVolumeChange: null,
|
12718
12718
|
onWaiting: null,
|
12719
12719
|
onWheel: null,
|
12720
|
-
open:
|
12720
|
+
open: pe,
|
12721
12721
|
optimum: ee,
|
12722
12722
|
pattern: null,
|
12723
12723
|
ping: De,
|
12724
12724
|
placeholder: null,
|
12725
|
-
playsInline:
|
12725
|
+
playsInline: pe,
|
12726
12726
|
popover: null,
|
12727
12727
|
popoverTarget: null,
|
12728
12728
|
popoverTargetAction: null,
|
12729
12729
|
poster: null,
|
12730
12730
|
preload: null,
|
12731
|
-
readOnly:
|
12731
|
+
readOnly: pe,
|
12732
12732
|
referrerPolicy: null,
|
12733
12733
|
rel: De,
|
12734
|
-
required:
|
12735
|
-
reversed:
|
12734
|
+
required: pe,
|
12735
|
+
reversed: pe,
|
12736
12736
|
rows: ee,
|
12737
12737
|
rowSpan: ee,
|
12738
12738
|
sandbox: De,
|
12739
12739
|
scope: null,
|
12740
|
-
scoped:
|
12741
|
-
seamless:
|
12742
|
-
selected:
|
12743
|
-
shadowRootClonable:
|
12744
|
-
shadowRootDelegatesFocus:
|
12740
|
+
scoped: pe,
|
12741
|
+
seamless: pe,
|
12742
|
+
selected: pe,
|
12743
|
+
shadowRootClonable: pe,
|
12744
|
+
shadowRootDelegatesFocus: pe,
|
12745
12745
|
shadowRootMode: null,
|
12746
12746
|
shape: null,
|
12747
12747
|
size: ee,
|
@@ -12761,7 +12761,7 @@ const ag = Dn({
|
|
12761
12761
|
title: null,
|
12762
12762
|
translate: null,
|
12763
12763
|
type: null,
|
12764
|
-
typeMustMatch:
|
12764
|
+
typeMustMatch: pe,
|
12765
12765
|
useMap: null,
|
12766
12766
|
value: Ve,
|
12767
12767
|
width: ee,
|
@@ -12807,9 +12807,9 @@ const ag = Dn({
|
|
12807
12807
|
// `<object>`
|
12808
12808
|
color: null,
|
12809
12809
|
// `<font>` and `<hr>`. Use CSS instead
|
12810
|
-
compact:
|
12810
|
+
compact: pe,
|
12811
12811
|
// Lists. Use CSS to reduce space between items instead
|
12812
|
-
declare:
|
12812
|
+
declare: pe,
|
12813
12813
|
// `<object>`
|
12814
12814
|
event: null,
|
12815
12815
|
// `<script>`
|
@@ -12833,13 +12833,13 @@ const ag = Dn({
|
|
12833
12833
|
// `<body>`
|
12834
12834
|
marginWidth: ee,
|
12835
12835
|
// `<body>`
|
12836
|
-
noResize:
|
12836
|
+
noResize: pe,
|
12837
12837
|
// `<frame>`
|
12838
|
-
noHref:
|
12838
|
+
noHref: pe,
|
12839
12839
|
// `<area>`. Use no href instead of an explicit `nohref`
|
12840
|
-
noShade:
|
12840
|
+
noShade: pe,
|
12841
12841
|
// `<hr>`. Use background-color and height instead of borders
|
12842
|
-
noWrap:
|
12842
|
+
noWrap: pe,
|
12843
12843
|
// `<td>` and `<th>`
|
12844
12844
|
object: null,
|
12845
12845
|
// `<applet>`
|
@@ -12879,8 +12879,8 @@ const ag = Dn({
|
|
12879
12879
|
allowTransparency: null,
|
12880
12880
|
autoCorrect: null,
|
12881
12881
|
autoSave: null,
|
12882
|
-
disablePictureInPicture:
|
12883
|
-
disableRemotePlayback:
|
12882
|
+
disablePictureInPicture: pe,
|
12883
|
+
disableRemotePlayback: pe,
|
12884
12884
|
prefix: null,
|
12885
12885
|
property: null,
|
12886
12886
|
results: ee,
|
@@ -13066,7 +13066,7 @@ const ag = Dn({
|
|
13066
13066
|
timelineBegin: "timelinebegin"
|
13067
13067
|
},
|
13068
13068
|
properties: {
|
13069
|
-
about:
|
13069
|
+
about: ft,
|
13070
13070
|
accentHeight: ee,
|
13071
13071
|
accumulate: null,
|
13072
13072
|
additive: null,
|
@@ -13115,7 +13115,7 @@ const ag = Dn({
|
|
13115
13115
|
dur: null,
|
13116
13116
|
divisor: ee,
|
13117
13117
|
dominantBaseline: null,
|
13118
|
-
download:
|
13118
|
+
download: pe,
|
13119
13119
|
dx: null,
|
13120
13120
|
dy: null,
|
13121
13121
|
edgeMode: null,
|
@@ -13178,7 +13178,7 @@ const ag = Dn({
|
|
13178
13178
|
k2: ee,
|
13179
13179
|
k3: ee,
|
13180
13180
|
k4: ee,
|
13181
|
-
kernelMatrix:
|
13181
|
+
kernelMatrix: ft,
|
13182
13182
|
kernelUnitLength: null,
|
13183
13183
|
keyPoints: null,
|
13184
13184
|
// SEMI_COLON_SEPARATED
|
@@ -13335,21 +13335,21 @@ const ag = Dn({
|
|
13335
13335
|
preserveAspectRatio: null,
|
13336
13336
|
primitiveUnits: null,
|
13337
13337
|
propagate: null,
|
13338
|
-
property:
|
13338
|
+
property: ft,
|
13339
13339
|
r: null,
|
13340
13340
|
radius: null,
|
13341
13341
|
referrerPolicy: null,
|
13342
13342
|
refX: null,
|
13343
13343
|
refY: null,
|
13344
|
-
rel:
|
13345
|
-
rev:
|
13344
|
+
rel: ft,
|
13345
|
+
rev: ft,
|
13346
13346
|
renderingIntent: null,
|
13347
13347
|
repeatCount: null,
|
13348
13348
|
repeatDur: null,
|
13349
|
-
requiredExtensions:
|
13350
|
-
requiredFeatures:
|
13351
|
-
requiredFonts:
|
13352
|
-
requiredFormats:
|
13349
|
+
requiredExtensions: ft,
|
13350
|
+
requiredFeatures: ft,
|
13351
|
+
requiredFonts: ft,
|
13352
|
+
requiredFormats: ft,
|
13353
13353
|
resource: null,
|
13354
13354
|
restart: null,
|
13355
13355
|
result: null,
|
@@ -13377,7 +13377,7 @@ const ag = Dn({
|
|
13377
13377
|
strikethroughThickness: ee,
|
13378
13378
|
string: null,
|
13379
13379
|
stroke: null,
|
13380
|
-
strokeDashArray:
|
13380
|
+
strokeDashArray: ft,
|
13381
13381
|
strokeDashOffset: null,
|
13382
13382
|
strokeLineCap: null,
|
13383
13383
|
strokeLineJoin: null,
|
@@ -13391,7 +13391,7 @@ const ag = Dn({
|
|
13391
13391
|
syncMaster: null,
|
13392
13392
|
syncTolerance: null,
|
13393
13393
|
syncToleranceDefault: null,
|
13394
|
-
systemLanguage:
|
13394
|
+
systemLanguage: ft,
|
13395
13395
|
tabIndex: ee,
|
13396
13396
|
tableValues: null,
|
13397
13397
|
target: null,
|
@@ -13405,7 +13405,7 @@ const ag = Dn({
|
|
13405
13405
|
title: null,
|
13406
13406
|
transformBehavior: null,
|
13407
13407
|
type: null,
|
13408
|
-
typeOf:
|
13408
|
+
typeOf: ft,
|
13409
13409
|
to: null,
|
13410
13410
|
transform: null,
|
13411
13411
|
transformOrigin: null,
|
@@ -13476,7 +13476,7 @@ const ag = Dn({
|
|
13476
13476
|
}), ug = /[A-Z]/g, qo = /-[a-z]/g, og = /^data[-\w.:]+$/i;
|
13477
13477
|
function sg(e, t) {
|
13478
13478
|
const n = Ti(t);
|
13479
|
-
let r = t, a =
|
13479
|
+
let r = t, a = it;
|
13480
13480
|
if (n in e.normal)
|
13481
13481
|
return e.property[e.normal[n]];
|
13482
13482
|
if (n.length > 4 && n.slice(0, 4) === "data" && og.test(t)) {
|
@@ -13977,10 +13977,10 @@ class Lg {
|
|
13977
13977
|
this.isEol = !1;
|
13978
13978
|
}
|
13979
13979
|
}
|
13980
|
-
var
|
13980
|
+
var be;
|
13981
13981
|
(function(e) {
|
13982
13982
|
e[e.CHARACTER = 0] = "CHARACTER", e[e.NULL_CHARACTER = 1] = "NULL_CHARACTER", e[e.WHITESPACE_CHARACTER = 2] = "WHITESPACE_CHARACTER", e[e.START_TAG = 3] = "START_TAG", e[e.END_TAG = 4] = "END_TAG", e[e.COMMENT = 5] = "COMMENT", e[e.DOCTYPE = 6] = "DOCTYPE", e[e.EOF = 7] = "EOF", e[e.HIBERNATION = 8] = "HIBERNATION";
|
13983
|
-
})(
|
13983
|
+
})(be || (be = {}));
|
13984
13984
|
function yc(e, t) {
|
13985
13985
|
for (let n = e.attrs.length - 1; n >= 0; n--)
|
13986
13986
|
if (e.attrs[n].name === t)
|
@@ -14653,7 +14653,7 @@ class Vg {
|
|
14653
14653
|
//Token creation
|
14654
14654
|
_createStartTagToken() {
|
14655
14655
|
this.currentToken = {
|
14656
|
-
type:
|
14656
|
+
type: be.START_TAG,
|
14657
14657
|
tagName: "",
|
14658
14658
|
tagID: o.UNKNOWN,
|
14659
14659
|
selfClosing: !1,
|
@@ -14664,7 +14664,7 @@ class Vg {
|
|
14664
14664
|
}
|
14665
14665
|
_createEndTagToken() {
|
14666
14666
|
this.currentToken = {
|
14667
|
-
type:
|
14667
|
+
type: be.END_TAG,
|
14668
14668
|
tagName: "",
|
14669
14669
|
tagID: o.UNKNOWN,
|
14670
14670
|
selfClosing: !1,
|
@@ -14675,14 +14675,14 @@ class Vg {
|
|
14675
14675
|
}
|
14676
14676
|
_createCommentToken(t) {
|
14677
14677
|
this.currentToken = {
|
14678
|
-
type:
|
14678
|
+
type: be.COMMENT,
|
14679
14679
|
data: "",
|
14680
14680
|
location: this.getCurrentLocation(t)
|
14681
14681
|
};
|
14682
14682
|
}
|
14683
14683
|
_createDoctypeToken(t) {
|
14684
14684
|
this.currentToken = {
|
14685
|
-
type:
|
14685
|
+
type: be.DOCTYPE,
|
14686
14686
|
name: t,
|
14687
14687
|
forceQuirks: !1,
|
14688
14688
|
publicId: null,
|
@@ -14724,7 +14724,7 @@ class Vg {
|
|
14724
14724
|
}
|
14725
14725
|
emitCurrentTagToken() {
|
14726
14726
|
const t = this.currentToken;
|
14727
|
-
this.prepareToken(t), t.tagID = Pn(t.tagName), t.type ===
|
14727
|
+
this.prepareToken(t), t.tagID = Pn(t.tagName), t.type === be.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(j.endTagWithAttributes), t.selfClosing && this._err(j.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
|
14728
14728
|
}
|
14729
14729
|
emitCurrentComment(t) {
|
14730
14730
|
this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
|
@@ -14735,15 +14735,15 @@ class Vg {
|
|
14735
14735
|
_emitCurrentCharacterToken(t) {
|
14736
14736
|
if (this.currentCharacterToken) {
|
14737
14737
|
switch (t && this.currentCharacterToken.location && (this.currentCharacterToken.location.endLine = t.startLine, this.currentCharacterToken.location.endCol = t.startCol, this.currentCharacterToken.location.endOffset = t.startOffset), this.currentCharacterToken.type) {
|
14738
|
-
case
|
14738
|
+
case be.CHARACTER: {
|
14739
14739
|
this.handler.onCharacter(this.currentCharacterToken);
|
14740
14740
|
break;
|
14741
14741
|
}
|
14742
|
-
case
|
14742
|
+
case be.NULL_CHARACTER: {
|
14743
14743
|
this.handler.onNullCharacter(this.currentCharacterToken);
|
14744
14744
|
break;
|
14745
14745
|
}
|
14746
|
-
case
|
14746
|
+
case be.WHITESPACE_CHARACTER: {
|
14747
14747
|
this.handler.onWhitespaceCharacter(this.currentCharacterToken);
|
14748
14748
|
break;
|
14749
14749
|
}
|
@@ -14753,7 +14753,7 @@ class Vg {
|
|
14753
14753
|
}
|
14754
14754
|
_emitEOFToken() {
|
14755
14755
|
const t = this.getCurrentLocation(0);
|
14756
|
-
t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type:
|
14756
|
+
t && (t.endLine = t.startLine, t.endCol = t.startCol, t.endOffset = t.startOffset), this._emitCurrentCharacterToken(t), this.handler.onEof({ type: be.EOF, location: t }), this.active = !1;
|
14757
14757
|
}
|
14758
14758
|
//Characters emission
|
14759
14759
|
//OPTIMIZATION: The specification uses only one type of character token (one token per character).
|
@@ -14774,13 +14774,13 @@ class Vg {
|
|
14774
14774
|
this._createCharacterToken(t, n);
|
14775
14775
|
}
|
14776
14776
|
_emitCodePoint(t) {
|
14777
|
-
const n = Sc(t) ?
|
14777
|
+
const n = Sc(t) ? be.WHITESPACE_CHARACTER : t === E.NULL ? be.NULL_CHARACTER : be.CHARACTER;
|
14778
14778
|
this._appendCharToCurrentCharacterToken(n, String.fromCodePoint(t));
|
14779
14779
|
}
|
14780
14780
|
//NOTE: used when we emit characters explicitly.
|
14781
14781
|
//This is always for non-whitespace and non-null characters, which allows us to avoid additional checks.
|
14782
14782
|
_emitChars(t) {
|
14783
|
-
this._appendCharToCurrentCharacterToken(
|
14783
|
+
this._appendCharToCurrentCharacterToken(be.CHARACTER, t);
|
14784
14784
|
}
|
14785
14785
|
// Character reference helpers
|
14786
14786
|
_startCharacterReference() {
|
@@ -17442,7 +17442,7 @@ class ts {
|
|
17442
17442
|
const r = n.location, a = this.treeAdapter.getTagName(t), i = (
|
17443
17443
|
// NOTE: For cases like <p> <p> </p> - First 'p' closes without a closing
|
17444
17444
|
// tag and for cases like <td> <p> </td> - 'p' closes without a closing tag.
|
17445
|
-
n.type ===
|
17445
|
+
n.type === be.END_TAG && a === n.tagName ? {
|
17446
17446
|
endTag: { ...r },
|
17447
17447
|
endLine: r.endLine,
|
17448
17448
|
endCol: r.endCol,
|
@@ -17471,35 +17471,35 @@ class ts {
|
|
17471
17471
|
/** @protected */
|
17472
17472
|
_processToken(t) {
|
17473
17473
|
switch (t.type) {
|
17474
|
-
case
|
17474
|
+
case be.CHARACTER: {
|
17475
17475
|
this.onCharacter(t);
|
17476
17476
|
break;
|
17477
17477
|
}
|
17478
|
-
case
|
17478
|
+
case be.NULL_CHARACTER: {
|
17479
17479
|
this.onNullCharacter(t);
|
17480
17480
|
break;
|
17481
17481
|
}
|
17482
|
-
case
|
17482
|
+
case be.COMMENT: {
|
17483
17483
|
this.onComment(t);
|
17484
17484
|
break;
|
17485
17485
|
}
|
17486
|
-
case
|
17486
|
+
case be.DOCTYPE: {
|
17487
17487
|
this.onDoctype(t);
|
17488
17488
|
break;
|
17489
17489
|
}
|
17490
|
-
case
|
17490
|
+
case be.START_TAG: {
|
17491
17491
|
this._processStartTag(t);
|
17492
17492
|
break;
|
17493
17493
|
}
|
17494
|
-
case
|
17494
|
+
case be.END_TAG: {
|
17495
17495
|
this.onEndTag(t);
|
17496
17496
|
break;
|
17497
17497
|
}
|
17498
|
-
case
|
17498
|
+
case be.EOF: {
|
17499
17499
|
this.onEof(t);
|
17500
17500
|
break;
|
17501
17501
|
}
|
17502
|
-
case
|
17502
|
+
case be.WHITESPACE_CHARACTER: {
|
17503
17503
|
this.onWhitespaceCharacter(t);
|
17504
17504
|
break;
|
17505
17505
|
}
|
@@ -18374,7 +18374,7 @@ function Bb(e, t) {
|
|
18374
18374
|
}
|
18375
18375
|
}
|
18376
18376
|
function ur(e, t) {
|
18377
|
-
const n = t.type ===
|
18377
|
+
const n = t.type === be.EOF ? j.openElementsLeftAfterEof : j.disallowedContentInNoscriptInHead;
|
18378
18378
|
e._err(t, n), e.openElements.pop(), e.insertionMode = O.IN_HEAD, e._processToken(t);
|
18379
18379
|
}
|
18380
18380
|
function Hb(e, t) {
|
@@ -18433,27 +18433,27 @@ function or(e, t) {
|
|
18433
18433
|
}
|
18434
18434
|
function ea(e, t) {
|
18435
18435
|
switch (t.type) {
|
18436
|
-
case
|
18436
|
+
case be.CHARACTER: {
|
18437
18437
|
Dc(e, t);
|
18438
18438
|
break;
|
18439
18439
|
}
|
18440
|
-
case
|
18440
|
+
case be.WHITESPACE_CHARACTER: {
|
18441
18441
|
Rc(e, t);
|
18442
18442
|
break;
|
18443
18443
|
}
|
18444
|
-
case
|
18444
|
+
case be.COMMENT: {
|
18445
18445
|
Ai(e, t);
|
18446
18446
|
break;
|
18447
18447
|
}
|
18448
|
-
case
|
18448
|
+
case be.START_TAG: {
|
18449
18449
|
Ze(e, t);
|
18450
18450
|
break;
|
18451
18451
|
}
|
18452
|
-
case
|
18452
|
+
case be.END_TAG: {
|
18453
18453
|
ta(e, t);
|
18454
18454
|
break;
|
18455
18455
|
}
|
18456
|
-
case
|
18456
|
+
case be.EOF: {
|
18457
18457
|
Fc(e, t);
|
18458
18458
|
break;
|
18459
18459
|
}
|
@@ -18950,11 +18950,11 @@ function vE(e, t) {
|
|
18950
18950
|
function $a(e, t) {
|
18951
18951
|
if (Lc.has(e.openElements.currentTagId))
|
18952
18952
|
switch (e.pendingCharacterTokens.length = 0, e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = O.IN_TABLE_TEXT, t.type) {
|
18953
|
-
case
|
18953
|
+
case be.CHARACTER: {
|
18954
18954
|
Hc(e, t);
|
18955
18955
|
break;
|
18956
18956
|
}
|
18957
|
-
case
|
18957
|
+
case be.WHITESPACE_CHARACTER: {
|
18958
18958
|
Bc(e, t);
|
18959
18959
|
break;
|
18960
18960
|
}
|
@@ -19693,7 +19693,7 @@ function pT(e, t) {
|
|
19693
19693
|
function mT(e, t) {
|
19694
19694
|
t.parser.tokenizer.state > 4 && (t.parser.tokenizer.state = 0);
|
19695
19695
|
const n = {
|
19696
|
-
type:
|
19696
|
+
type: be.CHARACTER,
|
19697
19697
|
chars: e.value,
|
19698
19698
|
location: br(e)
|
19699
19699
|
};
|
@@ -19701,7 +19701,7 @@ function mT(e, t) {
|
|
19701
19701
|
}
|
19702
19702
|
function gT(e, t) {
|
19703
19703
|
const n = {
|
19704
|
-
type:
|
19704
|
+
type: be.DOCTYPE,
|
19705
19705
|
name: "html",
|
19706
19706
|
forceQuirks: !1,
|
19707
19707
|
publicId: "",
|
@@ -19724,7 +19724,7 @@ function bT(e, t) {
|
|
19724
19724
|
}
|
19725
19725
|
function Jc(e, t) {
|
19726
19726
|
const n = e.value, r = {
|
19727
|
-
type:
|
19727
|
+
type: be.COMMENT,
|
19728
19728
|
data: n,
|
19729
19729
|
location: br(e)
|
19730
19730
|
};
|
@@ -19783,7 +19783,7 @@ function yT(e, t) {
|
|
19783
19783
|
{ ...e, children: [] },
|
19784
19784
|
{ space: a === an.svg ? "svg" : "html" }
|
19785
19785
|
), u = {
|
19786
|
-
type:
|
19786
|
+
type: be.START_TAG,
|
19787
19787
|
tagName: n,
|
19788
19788
|
tagID: Pn(n),
|
19789
19789
|
// We always send start and end tags.
|
@@ -19801,7 +19801,7 @@ function _T(e, t) {
|
|
19801
19801
|
if (!t.parser.tokenizer.inForeignNode && vg.includes(n) || t.parser.tokenizer.state === qe.PLAINTEXT) return;
|
19802
19802
|
Mn(t, Wc(e));
|
19803
19803
|
const r = {
|
19804
|
-
type:
|
19804
|
+
type: be.END_TAG,
|
19805
19805
|
tagName: n,
|
19806
19806
|
tagID: Pn(n),
|
19807
19807
|
selfClosing: !1,
|
@@ -19867,7 +19867,7 @@ const xT = "Sure, I can get you to someone who can help.", vT = (e) => {
|
|
19867
19867
|
submitEvent: s = null
|
19868
19868
|
}) => {
|
19869
19869
|
var K;
|
19870
|
-
const { primaryColor: l, conversationScreen: c } = se(
|
19870
|
+
const { primaryColor: l, conversationScreen: c } = se(Ue), {
|
19871
19871
|
content: d,
|
19872
19872
|
disableFeedback: h,
|
19873
19873
|
liveAgent: p,
|
@@ -20138,14 +20138,14 @@ ua.propTypes = {
|
|
20138
20138
|
ua.displayName = "ConversationMessages";
|
20139
20139
|
const nd = () => {
|
20140
20140
|
var l, c, d;
|
20141
|
-
const { conversationScreen: e, id: t } = se(
|
20142
|
-
|
20141
|
+
const { conversationScreen: e, id: t } = se(Ue), n = `${t}-maintenance-banner`, [r, a] = de(
|
20142
|
+
nt.get(n) === void 0
|
20143
20143
|
), i = /* @__PURE__ */ new Date(), u = new Date(
|
20144
20144
|
(l = e == null ? void 0 : e.maintenanceBanner) == null ? void 0 : l.endDateTime
|
20145
20145
|
);
|
20146
20146
|
if (!((c = e == null ? void 0 : e.maintenanceBanner) != null && c.enabled) || !((d = e == null ? void 0 : e.maintenanceBanner) != null && d.text) || i > u || !r) return null;
|
20147
20147
|
const s = () => {
|
20148
|
-
|
20148
|
+
nt.set(n, "1", { expires: 1 }), a(!1);
|
20149
20149
|
};
|
20150
20150
|
return /* @__PURE__ */ v.jsxs(
|
20151
20151
|
"div",
|
@@ -20190,7 +20190,7 @@ const nd = () => {
|
|
20190
20190
|
nd.displayName = "MaintenanceBanner";
|
20191
20191
|
const nu = ({ onPromptClick: e }) => {
|
20192
20192
|
var s;
|
20193
|
-
const { primaryColor: t, conversationScreen: n } = se(
|
20193
|
+
const { primaryColor: t, conversationScreen: n } = se(Ue), { deleteConversationModal: r } = se(Lt), { loading: a, streaming: i } = se(Qe), u = a || i;
|
20194
20194
|
return /* @__PURE__ */ v.jsxs("div", { style: { display: "grid", gap: ".75rem" }, children: [
|
20195
20195
|
/* @__PURE__ */ v.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
|
20196
20196
|
(s = n == null ? void 0 : n.prompts) == null ? void 0 : s.map((l) => {
|
@@ -20232,7 +20232,7 @@ function rd({
|
|
20232
20232
|
userInput: l = ""
|
20233
20233
|
}) {
|
20234
20234
|
var _, g;
|
20235
|
-
const { conversationScreen: c, disclaimer: d } = se(
|
20235
|
+
const { conversationScreen: c, disclaimer: d } = se(Ue), { deleteConversationModal: h, xpertMessages: p } = se(Lt), { loading: f, setMode: b } = se(Qe), m = (P) => {
|
20236
20236
|
c.liveChat.useOwnChat ? b(qt.LIVECHAT) : u(P);
|
20237
20237
|
};
|
20238
20238
|
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
@@ -20319,7 +20319,7 @@ rd.propTypes = {
|
|
20319
20319
|
submitEvent: x.func,
|
20320
20320
|
userInput: x.string
|
20321
20321
|
};
|
20322
|
-
var Va = {},
|
20322
|
+
var Va = {}, lt = {}, Wa = {}, us;
|
20323
20323
|
function Rt() {
|
20324
20324
|
return us || (us = 1, function(e) {
|
20325
20325
|
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;
|
@@ -20800,9 +20800,9 @@ function LT() {
|
|
20800
20800
|
}
|
20801
20801
|
var bs;
|
20802
20802
|
function ou() {
|
20803
|
-
if (bs) return
|
20803
|
+
if (bs) return lt;
|
20804
20804
|
bs = 1;
|
20805
|
-
var e =
|
20805
|
+
var e = lt && lt.__assign || function() {
|
20806
20806
|
return e = Object.assign || function(p) {
|
20807
20807
|
for (var f, b = 1, m = arguments.length; b < m; b++) {
|
20808
20808
|
f = arguments[b];
|
@@ -20810,7 +20810,7 @@ function ou() {
|
|
20810
20810
|
}
|
20811
20811
|
return p;
|
20812
20812
|
}, e.apply(this, arguments);
|
20813
|
-
}, t =
|
20813
|
+
}, t = lt && lt.__awaiter || function(p, f, b, m) {
|
20814
20814
|
function _(g) {
|
20815
20815
|
return g instanceof b ? g : new b(function(P) {
|
20816
20816
|
P(g);
|
@@ -20836,7 +20836,7 @@ function ou() {
|
|
20836
20836
|
}
|
20837
20837
|
D((m = m.apply(p, f || [])).next());
|
20838
20838
|
});
|
20839
|
-
}, n =
|
20839
|
+
}, n = lt && lt.__generator || function(p, f) {
|
20840
20840
|
var b = { label: 0, sent: function() {
|
20841
20841
|
if (g[0] & 1) throw g[1];
|
20842
20842
|
return g[1];
|
@@ -20895,10 +20895,10 @@ function ou() {
|
|
20895
20895
|
if (D[0] & 5) throw D[1];
|
20896
20896
|
return { value: D[0] ? D[1] : void 0, done: !0 };
|
20897
20897
|
}
|
20898
|
-
}, r =
|
20898
|
+
}, r = lt && lt.__importDefault || function(p) {
|
20899
20899
|
return p && p.__esModule ? p : { default: p };
|
20900
20900
|
};
|
20901
|
-
Object.defineProperty(
|
20901
|
+
Object.defineProperty(lt, "__esModule", { value: !0 }), lt.useWebSocket = void 0;
|
20902
20902
|
var a = Et, i = T0, u = Rt(), s = NT(), l = kT(), c = r(LT()), d = uu(), h = function(p, f, b) {
|
20903
20903
|
f === void 0 && (f = u.DEFAULT_OPTIONS), b === void 0 && (b = !0);
|
20904
20904
|
var m = (0, a.useState)(null), _ = m[0], g = m[1], P = (0, a.useState)({}), F = P[0], K = P[1], D = (0, a.useMemo)(function() {
|
@@ -20928,31 +20928,31 @@ function ou() {
|
|
20928
20928
|
if (p !== null && b === !0) {
|
20929
20929
|
var $, T = !1, ne = !0, oe = function() {
|
20930
20930
|
return t(void 0, void 0, void 0, function() {
|
20931
|
-
var S, le,
|
20932
|
-
return n(this, function(
|
20933
|
-
switch (
|
20931
|
+
var S, le, _e;
|
20932
|
+
return n(this, function(me) {
|
20933
|
+
switch (me.label) {
|
20934
20934
|
case 0:
|
20935
20935
|
return S = y, [4, (0, l.getUrl)(p, L)];
|
20936
20936
|
case 1:
|
20937
|
-
return S.current =
|
20938
|
-
return K(function(
|
20939
|
-
return e(e({},
|
20937
|
+
return S.current = me.sent(), y.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), y.current = "ABORTED", (0, i.flushSync)(function() {
|
20938
|
+
return K(function(Ae) {
|
20939
|
+
return e(e({}, Ae), { ABORTED: u.ReadyState.CLOSED });
|
20940
20940
|
});
|
20941
20941
|
}), [
|
20942
20942
|
2
|
20943
20943
|
/*return*/
|
20944
|
-
]) : (le = function(
|
20944
|
+
]) : (le = function(Ae) {
|
20945
20945
|
T || (0, i.flushSync)(function() {
|
20946
|
-
return g(
|
20946
|
+
return g(Ae);
|
20947
20947
|
});
|
20948
|
-
},
|
20948
|
+
}, _e = function(Ae) {
|
20949
20949
|
T || (0, i.flushSync)(function() {
|
20950
|
-
return K(function(
|
20950
|
+
return K(function(Ie) {
|
20951
20951
|
var Be;
|
20952
|
-
return e(e({},
|
20952
|
+
return e(e({}, Ie), y.current && (Be = {}, Be[y.current] = Ae, Be));
|
20953
20953
|
});
|
20954
20954
|
});
|
20955
|
-
}, ne && ($ = (0, s.createOrJoinSocket)(N, y.current,
|
20955
|
+
}, ne && ($ = (0, s.createOrJoinSocket)(N, y.current, _e, L, le, G, M, te, U)), [
|
20956
20956
|
2
|
20957
20957
|
/*return*/
|
20958
20958
|
]);
|
@@ -20982,7 +20982,7 @@ function ou() {
|
|
20982
20982
|
getWebSocket: q
|
20983
20983
|
};
|
20984
20984
|
};
|
20985
|
-
return
|
20985
|
+
return lt.useWebSocket = h, lt;
|
20986
20986
|
}
|
20987
20987
|
var nn = {}, Es;
|
20988
20988
|
function RT() {
|
@@ -21120,7 +21120,7 @@ const BT = "This conversation with a live agent has ended. Please note that a tr
|
|
21120
21120
|
CONVERSATION: "CONVERSATION",
|
21121
21121
|
FORM: "FORM"
|
21122
21122
|
}, hn = Gr({}), id = ({ children: e, liveChatPayload: t }) => {
|
21123
|
-
const { conversationScreen: n } = se(
|
21123
|
+
const { conversationScreen: n } = se(Ue), { pushXpertMessage: r } = se(Lt), { setHasError: a, setMode: i } = se(Qe), [u, s] = de(""), [l, c] = de(!1), [, d] = de(""), [h, p] = de([]), [f, b] = de(null), [m, _] = de(jt.FORM), [g, P] = de(null), F = (q) => p(($) => [...$, q]), K = async (q) => {
|
21124
21124
|
const $ = await FT(q.data), { conversation_id: T, event_type: ne, body: oe } = $;
|
21125
21125
|
switch (ne) {
|
21126
21126
|
case "AGENT_TYPING":
|
@@ -21288,7 +21288,7 @@ function od({
|
|
21288
21288
|
isMounted: r
|
21289
21289
|
}) {
|
21290
21290
|
var c;
|
21291
|
-
const { conversationScreen: a } = se(
|
21291
|
+
const { conversationScreen: a } = se(Ue), { mode: i } = se(Qe), { setDeleteConversationModal: u, xpertMessages: s } = se(Lt), l = i === qt.XPERT && ((c = a == null ? void 0 : a.conversationHistory) == null ? void 0 : c.allowDeletion) && !!(s != null && s.length);
|
21292
21292
|
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
21293
21293
|
l && /* @__PURE__ */ v.jsx(
|
21294
21294
|
"button",
|
@@ -21394,7 +21394,7 @@ function ld({
|
|
21394
21394
|
onClose: r
|
21395
21395
|
}) {
|
21396
21396
|
var c, d, h, p, f, b, m, _, g, P, F, K, D, y, N;
|
21397
|
-
const { primaryColor: a, conversationScreen: i } = se(
|
21397
|
+
const { primaryColor: a, conversationScreen: i } = se(Ue), { isMobile: u, mode: s } = se(Qe), { step: l } = se(hn);
|
21398
21398
|
return l === jt.CONNECTING && s === qt.LIVECHAT ? null : /* @__PURE__ */ v.jsxs(
|
21399
21399
|
"div",
|
21400
21400
|
{
|
@@ -21468,7 +21468,7 @@ function jT() {
|
|
21468
21468
|
deleteConversationModal: e,
|
21469
21469
|
deleteConversationHistory: t,
|
21470
21470
|
setDeleteConversationModal: n
|
21471
|
-
} = se(Lt), { primaryColor: r } = se(
|
21471
|
+
} = se(Lt), { primaryColor: r } = se(Ue);
|
21472
21472
|
return e ? /* @__PURE__ */ v.jsx(
|
21473
21473
|
"div",
|
21474
21474
|
{
|
@@ -21519,7 +21519,7 @@ function jT() {
|
|
21519
21519
|
}
|
21520
21520
|
const qT = () => {
|
21521
21521
|
var n, r, a, i, u;
|
21522
|
-
const { isMobile: e } = se(Qe), { launchButton: t } = se(
|
21522
|
+
const { isMobile: e } = se(Qe), { launchButton: t } = se(Ue);
|
21523
21523
|
return (n = t == null ? void 0 : t.message) != null && n.enabled ? /* @__PURE__ */ v.jsx(
|
21524
21524
|
"div",
|
21525
21525
|
{
|
@@ -21537,7 +21537,7 @@ function zT() {
|
|
21537
21537
|
}
|
21538
21538
|
function cd() {
|
21539
21539
|
var s;
|
21540
|
-
const { conversationScreen: e, primaryColor: t, widgetMode: n } = se(
|
21540
|
+
const { conversationScreen: e, primaryColor: t, widgetMode: n } = se(Ue), { cancelLiveChatConnection: r } = se(hn), a = ((s = e == null ? void 0 : e.liveChat) == null ? void 0 : s.queueMessages) ?? [], i = n ? t : "#FFFFFF", u = n ? "#FFFFFF" : t;
|
21541
21541
|
return /* @__PURE__ */ v.jsxs("div", { className: "live-chat-connecting", style: { backgroundColor: i }, children: [
|
21542
21542
|
/* @__PURE__ */ v.jsx(zT, {}),
|
21543
21543
|
/* @__PURE__ */ v.jsx("div", { className: "live-chat-connecting-messages", style: { color: u }, children: a.length === 0 ? /* @__PURE__ */ v.jsx("p", { children: "Connecting to live agent" }) : a.map((l, c) => /* @__PURE__ */ v.jsx("p", { children: l }, `queue-message-${c}`)) }),
|
@@ -21570,7 +21570,7 @@ const _s = 500, YT = [
|
|
21570
21570
|
}
|
21571
21571
|
];
|
21572
21572
|
function dd({ onDismiss: e }) {
|
21573
|
-
const [t, n] = de(""), [r, a] = de(!1), [i, u] = de(null), { conversationScreen: s } = se(
|
21573
|
+
const [t, n] = de(""), [r, a] = de(!1), [i, u] = de(null), { conversationScreen: s } = se(Ue), { endLiveChat: l, submitSurvey: c, terminateConversation: d } = se(hn), h = () => {
|
21574
21574
|
var b;
|
21575
21575
|
d(), (b = s == null ? void 0 : s.liveChat) != null && b.useSurvey ? a(!0) : l();
|
21576
21576
|
}, p = () => {
|
@@ -21760,7 +21760,7 @@ const WT = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
21760
21760
|
}];
|
21761
21761
|
}, Qa = "privacy policy";
|
21762
21762
|
function hd() {
|
21763
|
-
const { conversationScreen: e, primaryColor: t } = se(
|
21763
|
+
const { conversationScreen: e, primaryColor: t } = se(Ue), { startLiveChat: n } = se(hn), { setMode: r } = se(Qe), { form: a, formHeader: i, privacyPolicyLink: u, privacyPolicyText: s } = e.liveChat, [l, , c] = XT({}), [d, h] = de(!1), { clearError: p, errors: f, setErrors: b } = GT(), m = sr(
|
21764
21764
|
() => (s ?? "").split(Qa, 2),
|
21765
21765
|
[s]
|
21766
21766
|
), _ = () => {
|
@@ -21891,12 +21891,12 @@ function md({
|
|
21891
21891
|
style: i = {}
|
21892
21892
|
}) {
|
21893
21893
|
var b;
|
21894
|
-
const { proactiveMessage: u } = se(
|
21894
|
+
const { proactiveMessage: u } = se(Ue), [s, l] = de(!0), [c, d] = de(!1), h = s && (!(window != null && window.OnetrustActiveGroups) || ((b = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : b.includes("C0003"))) && nt.get(t) === void 0;
|
21895
21895
|
He(() => {
|
21896
21896
|
var m;
|
21897
21897
|
(m = window == null ? void 0 : window.OneTrust) == null || m.OnConsentChanged(() => {
|
21898
21898
|
var _;
|
21899
|
-
!((_ = window == null ? void 0 : window.OnetrustActiveGroups) != null && _.includes("C0003")) &&
|
21899
|
+
!((_ = window == null ? void 0 : window.OnetrustActiveGroups) != null && _.includes("C0003")) && nt.get(t) !== void 0 && nt.remove(t);
|
21900
21900
|
});
|
21901
21901
|
}, [t]), He(() => {
|
21902
21902
|
var m;
|
@@ -21918,7 +21918,7 @@ function md({
|
|
21918
21918
|
expires: g,
|
21919
21919
|
path: "/"
|
21920
21920
|
};
|
21921
|
-
|
21921
|
+
nt.set(m, _, P);
|
21922
21922
|
};
|
21923
21923
|
return !c || !h || !a ? null : /* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsxs(
|
21924
21924
|
"div",
|
@@ -22050,13 +22050,13 @@ function t3(e) {
|
|
22050
22050
|
return new TextEncoder().encode(e).length;
|
22051
22051
|
}
|
22052
22052
|
const Cs = (e) => {
|
22053
|
-
let t =
|
22054
|
-
return t || (t = Yl(),
|
22053
|
+
let t = nt.get(`${e}-conversation-history-id`);
|
22054
|
+
return t || (t = Yl(), nt.set(`${e}-conversation-history-id`, t, {
|
22055
22055
|
expires: 1
|
22056
22056
|
})), t;
|
22057
22057
|
};
|
22058
22058
|
function gd({ submitEventExternal: e = null }) {
|
22059
|
-
var
|
22059
|
+
var ot, Kt, Qt, En, Y;
|
22060
22060
|
const {
|
22061
22061
|
chatApi: t,
|
22062
22062
|
configurationLoaded: n,
|
@@ -22067,7 +22067,7 @@ function gd({ submitEventExternal: e = null }) {
|
|
22067
22067
|
userTracking: s,
|
22068
22068
|
webExperimentation: l,
|
22069
22069
|
widgetMode: c
|
22070
|
-
} = se(
|
22070
|
+
} = se(Ue), {
|
22071
22071
|
contentRef: d,
|
22072
22072
|
onFeedbackSelection: h,
|
22073
22073
|
onMessageSent: p,
|
@@ -22083,9 +22083,9 @@ function gd({ submitEventExternal: e = null }) {
|
|
22083
22083
|
setIsNormalSize: D,
|
22084
22084
|
setLoading: y,
|
22085
22085
|
setStreaming: N
|
22086
|
-
} = se(Qe), [, G] = de(!1), [, M] = de(!1), [te, z] = de(!1), [V, L] = de(!1), [I, R] = de(""), [U, W] = de(!1), q = te || !c, $ = pt(null), T = pt(null), ne =
|
22086
|
+
} = se(Qe), [, G] = de(!1), [, M] = de(!1), [te, z] = de(!1), [V, L] = de(!1), [I, R] = de(""), [U, W] = de(!1), q = te || !c, $ = pt(null), T = pt(null), ne = nt.get(`${a}-test`) === "1";
|
22087
22087
|
KT(
|
22088
|
-
(
|
22088
|
+
(ot = r == null ? void 0 : r.liveChat) == null ? void 0 : ot.enabled,
|
22089
22089
|
V,
|
22090
22090
|
L
|
22091
22091
|
);
|
@@ -22106,17 +22106,20 @@ function gd({ submitEventExternal: e = null }) {
|
|
22106
22106
|
s == null ? void 0 : s.payloadParams
|
22107
22107
|
]
|
22108
22108
|
), S = async () => {
|
22109
|
-
var
|
22110
|
-
if (
|
22109
|
+
var ae, ge;
|
22110
|
+
if (!nt.get(
|
22111
|
+
`${a}-conversation-history-id`
|
22112
|
+
)) return;
|
22113
|
+
if (y(!0), !((ae = r == null ? void 0 : r.conversationHistory) != null && ae.enabled)) {
|
22111
22114
|
y(!1);
|
22112
22115
|
return;
|
22113
22116
|
}
|
22114
|
-
if (!await (async (
|
22115
|
-
let
|
22116
|
-
for (; !
|
22117
|
-
if (
|
22117
|
+
if (!await (async (Ce, Te = 1e4, ve = 200) => {
|
22118
|
+
let je = 0;
|
22119
|
+
for (; !Ce(); ) {
|
22120
|
+
if (je >= Te)
|
22118
22121
|
return !1;
|
22119
|
-
await new Promise((
|
22122
|
+
await new Promise((Ee) => setTimeout(Ee, ve)), je += ve;
|
22120
22123
|
}
|
22121
22124
|
return !0;
|
22122
22125
|
})(
|
@@ -22126,9 +22129,9 @@ function gd({ submitEventExternal: e = null }) {
|
|
22126
22129
|
return;
|
22127
22130
|
}
|
22128
22131
|
try {
|
22129
|
-
let
|
22130
|
-
const
|
22131
|
-
`${t.baseUrl}${
|
22132
|
+
let Ce = Cs(a);
|
22133
|
+
const Te = (ge = t == null ? void 0 : t.baseUrl) != null && ge.includes("xpert-api-services") ? "/v1/history" : "/xpert/v2/history", ve = await fetch(
|
22134
|
+
`${t.baseUrl}${Te}?conversation_id=${Ce}`,
|
22132
22135
|
{
|
22133
22136
|
method: "GET",
|
22134
22137
|
headers: {
|
@@ -22136,19 +22139,19 @@ function gd({ submitEventExternal: e = null }) {
|
|
22136
22139
|
}
|
22137
22140
|
}
|
22138
22141
|
);
|
22139
|
-
if (!
|
22140
|
-
throw new Error(`HTTPError: ${
|
22141
|
-
const
|
22142
|
+
if (!ve.ok)
|
22143
|
+
throw new Error(`HTTPError: ${ve.status} ${ve.statusText}`);
|
22144
|
+
const je = await ve.json();
|
22142
22145
|
b(
|
22143
|
-
|
22144
|
-
...
|
22146
|
+
je.map((Ee) => ({
|
22147
|
+
...Ee,
|
22145
22148
|
disableFeedback: !0,
|
22146
|
-
toolCalls:
|
22147
|
-
toolCallId:
|
22149
|
+
toolCalls: Ee.tool_calls,
|
22150
|
+
toolCallId: Ee.tool_call_id
|
22148
22151
|
}))
|
22149
22152
|
), P(!0), K(!0);
|
22150
|
-
} catch (
|
22151
|
-
console.error(
|
22153
|
+
} catch (Ce) {
|
22154
|
+
console.error(Ce);
|
22152
22155
|
} finally {
|
22153
22156
|
y(!1);
|
22154
22157
|
}
|
@@ -22187,7 +22190,7 @@ function gd({ submitEventExternal: e = null }) {
|
|
22187
22190
|
l == null ? void 0 : l.enabled,
|
22188
22191
|
l == null ? void 0 : l.experimentName
|
22189
22192
|
]);
|
22190
|
-
const
|
22193
|
+
const _e = (B) => {
|
22191
22194
|
var re, ie;
|
22192
22195
|
(re = B == null ? void 0 : B.target) != null && re.href && oe({
|
22193
22196
|
name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
|
@@ -22201,9 +22204,9 @@ function gd({ submitEventExternal: e = null }) {
|
|
22201
22204
|
};
|
22202
22205
|
if (QT(l == null ? void 0 : l.experimentName), !n || l != null && l.enabled && !(l != null && l.experimentName) && !ne || s != null && s.enabled && (s != null && s.prefix) && !((Qt = T == null ? void 0 : T.current) != null && Qt.track) && !e)
|
22203
22206
|
return null;
|
22204
|
-
const
|
22207
|
+
const me = () => {
|
22205
22208
|
R(""), $.current.value = "", $.current.style.height = "auto";
|
22206
|
-
},
|
22209
|
+
}, Ae = (B, re) => {
|
22207
22210
|
oe({
|
22208
22211
|
name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.response`,
|
22209
22212
|
payload: {
|
@@ -22215,12 +22218,12 @@ function gd({ submitEventExternal: e = null }) {
|
|
22215
22218
|
conversationHistoryId: re
|
22216
22219
|
}
|
22217
22220
|
});
|
22218
|
-
},
|
22221
|
+
}, Ie = ({
|
22219
22222
|
conversationSize: B,
|
22220
22223
|
userInputMessage: re,
|
22221
22224
|
apiResponseMessage: ie,
|
22222
22225
|
elapsedSeconds: ae,
|
22223
|
-
conversationByteSize:
|
22226
|
+
conversationByteSize: ge
|
22224
22227
|
}) => {
|
22225
22228
|
oe({
|
22226
22229
|
name: `${s.prefix}.bi.xpert.chatbot.popup.chat.message.elapsed.seconds`,
|
@@ -22232,41 +22235,41 @@ function gd({ submitEventExternal: e = null }) {
|
|
22232
22235
|
userInputMessage: re,
|
22233
22236
|
apiResponseMessage: ie,
|
22234
22237
|
elapsedSeconds: ae,
|
22235
|
-
conversationByteSize:
|
22238
|
+
conversationByteSize: ge
|
22236
22239
|
}
|
22237
22240
|
});
|
22238
22241
|
}, Be = async (B, re) => {
|
22239
22242
|
const ie = await B.json(), ae = Array.isArray(ie) ? ie : [ie];
|
22240
22243
|
return ae.forEach(
|
22241
22244
|
({
|
22242
|
-
content:
|
22243
|
-
live_agent:
|
22244
|
-
role:
|
22245
|
-
tool_calls:
|
22246
|
-
tool_call_id:
|
22245
|
+
content: ge,
|
22246
|
+
live_agent: Ce,
|
22247
|
+
role: Te,
|
22248
|
+
tool_calls: ve,
|
22249
|
+
tool_call_id: je
|
22247
22250
|
}) => {
|
22248
22251
|
f({
|
22249
|
-
content:
|
22252
|
+
content: ge,
|
22250
22253
|
createdAt: /* @__PURE__ */ new Date(),
|
22251
|
-
liveAgent:
|
22252
|
-
role:
|
22253
|
-
toolCalls:
|
22254
|
-
toolCallId:
|
22255
|
-
}),
|
22254
|
+
liveAgent: Ce,
|
22255
|
+
role: Te,
|
22256
|
+
toolCalls: ve,
|
22257
|
+
toolCallId: je
|
22258
|
+
}), Ae(ge, re);
|
22256
22259
|
}
|
22257
22260
|
), ae;
|
22258
|
-
},
|
22261
|
+
}, Ne = async (B, re) => {
|
22259
22262
|
const ie = new TextDecoder("utf-8");
|
22260
22263
|
let ae = [];
|
22261
|
-
const { value:
|
22264
|
+
const { value: ge } = await B.read(), Ce = ie.decode(ge, { stream: !0 });
|
22262
22265
|
try {
|
22263
|
-
const
|
22264
|
-
|
22266
|
+
const Te = Ce.match(/\[.*?\](?=\[|$)/gs);
|
22267
|
+
Te && Te.length > 0 ? ae = JSON.parse(Te[Te.length - 1]) : ae = Array.isArray(Ce) ? Ce : [Ce];
|
22265
22268
|
} catch {
|
22266
22269
|
ae = [];
|
22267
22270
|
}
|
22268
|
-
if (ae != null && ae.find((
|
22269
|
-
const
|
22271
|
+
if (ae != null && ae.find((Te) => Te.tool_calls)) {
|
22272
|
+
const Te = {
|
22270
22273
|
content: ae[0].content,
|
22271
22274
|
createdAt: /* @__PURE__ */ new Date(),
|
22272
22275
|
liveAgent: ae[0].live_agent,
|
@@ -22282,31 +22285,31 @@ function gd({ submitEventExternal: e = null }) {
|
|
22282
22285
|
],
|
22283
22286
|
toolCallId: ae[0].tool_calls[0].id
|
22284
22287
|
};
|
22285
|
-
f(
|
22286
|
-
const
|
22288
|
+
f(Te);
|
22289
|
+
const ve = {
|
22287
22290
|
content: "",
|
22288
22291
|
createdAt: /* @__PURE__ */ new Date(),
|
22289
22292
|
role: "tool",
|
22290
22293
|
toolCallId: ae[0].tool_calls[0].id
|
22291
22294
|
};
|
22292
|
-
f(
|
22295
|
+
f(ve), Ae(ae[0].content, re);
|
22293
22296
|
}
|
22294
22297
|
return ae;
|
22295
22298
|
}, Xe = async (B, re) => {
|
22296
|
-
var
|
22299
|
+
var Ce;
|
22297
22300
|
const ie = new TextDecoder("utf-8");
|
22298
|
-
let ae = "",
|
22301
|
+
let ae = "", ge = [];
|
22299
22302
|
for (; ; ) {
|
22300
|
-
const { value:
|
22301
|
-
if (
|
22302
|
-
const
|
22303
|
+
const { value: Te, done: ve } = await B.read();
|
22304
|
+
if (ve) break;
|
22305
|
+
const je = ie.decode(Te, { stream: !0 });
|
22303
22306
|
try {
|
22304
|
-
const
|
22305
|
-
ae = (
|
22307
|
+
const Ee = je.match(/\[.*?\](?=\[|$)/gs);
|
22308
|
+
ae = (Ce = JSON.parse(Ee[Ee.length - 1])[0]) == null ? void 0 : Ce.content, ge.length === 0 && ae ? (ge.push({
|
22306
22309
|
role: "assistant",
|
22307
22310
|
disableFeedback: !0,
|
22308
22311
|
content: ae
|
22309
|
-
}),
|
22312
|
+
}), ge.forEach(({ content: Je, live_agent: Pt, role: _t }) => {
|
22310
22313
|
f({
|
22311
22314
|
content: Je,
|
22312
22315
|
createdAt: /* @__PURE__ */ new Date(),
|
@@ -22323,21 +22326,21 @@ function gd({ submitEventExternal: e = null }) {
|
|
22323
22326
|
} catch {
|
22324
22327
|
}
|
22325
22328
|
}
|
22326
|
-
return
|
22327
|
-
},
|
22328
|
-
var
|
22329
|
+
return Ae(ae, re), ge;
|
22330
|
+
}, ut = async (B, re) => {
|
22331
|
+
var Ce;
|
22329
22332
|
N(!0);
|
22330
|
-
const ie = B.body.getReader(), ae = await
|
22333
|
+
const ie = B.body.getReader(), ae = await Ne(
|
22331
22334
|
ie,
|
22332
22335
|
re
|
22333
22336
|
);
|
22334
|
-
if ((
|
22337
|
+
if ((Ce = ae == null ? void 0 : ae[0]) != null && Ce.tool_calls)
|
22335
22338
|
return N(!1), ae;
|
22336
|
-
const
|
22339
|
+
const ge = await Xe(
|
22337
22340
|
ie,
|
22338
22341
|
re
|
22339
22342
|
);
|
22340
|
-
return N(!1),
|
22343
|
+
return N(!1), ge;
|
22341
22344
|
}, St = async (B) => {
|
22342
22345
|
var re;
|
22343
22346
|
try {
|
@@ -22355,13 +22358,13 @@ function gd({ submitEventExternal: e = null }) {
|
|
22355
22358
|
userInputMessage: B,
|
22356
22359
|
isTestUser: ne
|
22357
22360
|
}
|
22358
|
-
}),
|
22361
|
+
}), me(), y(!0), p) {
|
22359
22362
|
await p(B), y(!1);
|
22360
22363
|
return;
|
22361
22364
|
}
|
22362
|
-
let
|
22363
|
-
r.conversationHistory.enabled && (
|
22364
|
-
const
|
22365
|
+
let ge = null;
|
22366
|
+
r.conversationHistory.enabled && (ge = Cs(a)), f({ role: "user", content: B });
|
22367
|
+
const Ce = [
|
22365
22368
|
...m,
|
22366
22369
|
{ role: "user", content: B }
|
22367
22370
|
].map((ze) => ({
|
@@ -22369,33 +22372,33 @@ function gd({ submitEventExternal: e = null }) {
|
|
22369
22372
|
content: ze.content,
|
22370
22373
|
...ze.toolCalls && { tool_calls: ze.toolCalls },
|
22371
22374
|
...ze.toolCallId && { tool_call_id: ze.toolCallId }
|
22372
|
-
})).filter(({ role: ze }) => ["assistant", "tool", "user"].includes(ze)),
|
22375
|
+
})).filter(({ role: ze }) => ["assistant", "tool", "user"].includes(ze)), Te = await fetch(t.endpoint, {
|
22373
22376
|
method: "POST",
|
22374
22377
|
headers: { "Content-Type": "application/json" },
|
22375
22378
|
body: JSON.stringify({
|
22376
|
-
[t == null ? void 0 : t.messagesKey]:
|
22379
|
+
[t == null ? void 0 : t.messagesKey]: Ce,
|
22377
22380
|
...t.payloadParams,
|
22378
|
-
...
|
22379
|
-
conversation_id:
|
22381
|
+
...ge && {
|
22382
|
+
conversation_id: ge
|
22380
22383
|
}
|
22381
22384
|
})
|
22382
22385
|
});
|
22383
|
-
if (!
|
22384
|
-
throw new Error(`HTTPError: ${
|
22386
|
+
if (!Te.ok)
|
22387
|
+
throw new Error(`HTTPError: ${Te.status} ${Te.statusText}`);
|
22385
22388
|
y(!1);
|
22386
|
-
let
|
22387
|
-
const
|
22388
|
-
JSON.stringify(
|
22389
|
+
let ve = (re = t.payloadParams) != null && re.stream ? await ut(Te, ge) : await Be(Te, ge);
|
22390
|
+
const je = /* @__PURE__ */ new Date(), Ee = t3(
|
22391
|
+
JSON.stringify(Ce)
|
22389
22392
|
);
|
22390
|
-
|
22391
|
-
conversationByteSize:
|
22392
|
-
conversationSize: m.length +
|
22393
|
+
Ie({
|
22394
|
+
conversationByteSize: Ee,
|
22395
|
+
conversationSize: m.length + ve.length + 1,
|
22393
22396
|
userInputMessage: B,
|
22394
|
-
apiResponseMessage:
|
22395
|
-
elapsedSeconds: JT(ie,
|
22396
|
-
}), P(!1),
|
22397
|
+
apiResponseMessage: ve.map((ze) => ze.content ?? "").join(" "),
|
22398
|
+
elapsedSeconds: JT(ie, je)
|
22399
|
+
}), P(!1), me(), K(!0);
|
22397
22400
|
} catch (ie) {
|
22398
|
-
y(!1),
|
22401
|
+
y(!1), me(), F(!0), console.error(ie);
|
22399
22402
|
}
|
22400
22403
|
}, pn = () => {
|
22401
22404
|
L(!1), z(!0), D(!0), S(), oe({
|
@@ -22449,7 +22452,7 @@ function gd({ submitEventExternal: e = null }) {
|
|
22449
22452
|
await h({ index: B, type: re }), P(!1);
|
22450
22453
|
return;
|
22451
22454
|
}
|
22452
|
-
const ie = m.map((ae,
|
22455
|
+
const ie = m.map((ae, ge) => B === ge ? (oe({
|
22453
22456
|
name: `${s.prefix}.bi.xpert.chatbot.feedback.thumbs.${re.toLowerCase()}.clicked`,
|
22454
22457
|
payload: {
|
22455
22458
|
category: "2u",
|
@@ -22536,7 +22539,7 @@ function gd({ submitEventExternal: e = null }) {
|
|
22536
22539
|
{
|
22537
22540
|
handleChange: Bn,
|
22538
22541
|
handleFeedbackThumbSelection: Dt,
|
22539
|
-
handleMessageLinkClicked:
|
22542
|
+
handleMessageLinkClicked: _e,
|
22540
22543
|
handleSend: St,
|
22541
22544
|
inputRef: $,
|
22542
22545
|
isTestUser: ne,
|