@2uinc/frontend-component-xpert-chatbot 1.12.1 → 1.12.2
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 +690 -690
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import ve, { createContext as Kl, useMemo as Xl, useState as we, useCallback as wt, useEffect as
|
1
|
+
import ve, { createContext as Kl, useMemo as Xl, useState as we, useCallback as wt, useEffect as De, useContext as We, useRef as tt } from "react";
|
2
2
|
const Jl = {
|
3
3
|
xpertKey: "edx",
|
4
4
|
chatApi: {
|
@@ -270,12 +270,12 @@ const Jl = {
|
|
270
270
|
chatApi: {
|
271
271
|
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
272
272
|
payloadParams: {
|
273
|
-
use_case: "
|
273
|
+
use_case: "Canvas_Student"
|
274
274
|
}
|
275
275
|
},
|
276
276
|
primaryColor: "#193d77",
|
277
277
|
disclaimer: {
|
278
|
-
text: "Before we get started, just a reminder that this chat is AI generated, mistakes are possible. By using it you agree that
|
278
|
+
text: "Before we get started, just a reminder that this chat is AI generated, mistakes are possible. By using it you agree that 2U may create a record of this chat. Your personal data will be used as described in our",
|
279
279
|
privacyPolicyLink: "https://essential.2u.com/privacy-policy"
|
280
280
|
},
|
281
281
|
userTracking: {
|
@@ -353,7 +353,7 @@ const Jl = {
|
|
353
353
|
sourceCode: "https://live-chat.ps.five9.com/Five9ChatPlugin.js",
|
354
354
|
options: {
|
355
355
|
appId: "2U Inc",
|
356
|
-
configId: "
|
356
|
+
configId: "GS | Support_Main_Flow_Xpert"
|
357
357
|
}
|
358
358
|
}
|
359
359
|
}
|
@@ -362,12 +362,12 @@ const Jl = {
|
|
362
362
|
chatApi: {
|
363
363
|
endpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/omnichannel",
|
364
364
|
payloadParams: {
|
365
|
-
use_case: "
|
365
|
+
use_case: "Moodle_Student"
|
366
366
|
}
|
367
367
|
},
|
368
368
|
primaryColor: "#193d77",
|
369
369
|
disclaimer: {
|
370
|
-
text: "Before we get started, just a reminder that this chat is AI generated, mistakes are possible. By using it you agree that
|
370
|
+
text: "Before we get started, just a reminder that this chat is AI generated, mistakes are possible. By using it you agree that 2U may create a record of this chat. Your personal data will be used as described in our",
|
371
371
|
privacyPolicyLink: "https://essential.2u.com/privacy-policy"
|
372
372
|
},
|
373
373
|
userTracking: {
|
@@ -445,7 +445,7 @@ const Jl = {
|
|
445
445
|
sourceCode: "https://live-chat.ps.five9.com/Five9ChatPlugin.js",
|
446
446
|
options: {
|
447
447
|
appId: "2U Inc",
|
448
|
-
configId: "
|
448
|
+
configId: "GS | Support_Main_Flow_Xpert"
|
449
449
|
}
|
450
450
|
}
|
451
451
|
}
|
@@ -538,12 +538,12 @@ function vo(e, t, n) {
|
|
538
538
|
Vt.jsx = vo;
|
539
539
|
Vt.jsxs = vo;
|
540
540
|
xo.exports = Vt;
|
541
|
-
var k = xo.exports,
|
542
|
-
function
|
541
|
+
var k = xo.exports, Io = { exports: {} }, fs = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ds = fs, hs = ds;
|
542
|
+
function To() {
|
543
543
|
}
|
544
|
-
function
|
544
|
+
function Do() {
|
545
545
|
}
|
546
|
-
|
546
|
+
Do.resetWarningCache = To;
|
547
547
|
var gs = function() {
|
548
548
|
function e(r, i, o, a, l, s) {
|
549
549
|
if (s !== hs) {
|
@@ -577,20 +577,20 @@ var gs = function() {
|
|
577
577
|
oneOfType: t,
|
578
578
|
shape: t,
|
579
579
|
exact: t,
|
580
|
-
checkPropTypes:
|
581
|
-
resetWarningCache:
|
580
|
+
checkPropTypes: Do,
|
581
|
+
resetWarningCache: To
|
582
582
|
};
|
583
583
|
return n.PropTypes = n, n;
|
584
584
|
};
|
585
|
-
|
586
|
-
var Y =
|
587
|
-
const
|
585
|
+
Io.exports = gs();
|
586
|
+
var Y = Io.exports;
|
587
|
+
const I = /* @__PURE__ */ nt(Y);
|
588
588
|
var dn = { exports: {} };
|
589
589
|
dn.exports;
|
590
590
|
(function(e, t) {
|
591
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", d = "[object Function]",
|
592
|
-
h[O] = h[w] = h[N] = h[z] = h[L] = h[B] = h[_] = h[W] = h[re] = !0, h[l] = h[s] = h[G] = h[c] = h[K] = h[f] = h[m] = h[d] = h[x] = h[A] = h[
|
593
|
-
var ge = typeof en == "object" && en && en.Object === Object && en,
|
591
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 800, o = 16, a = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", f = "[object Date]", m = "[object Error]", d = "[object Function]", T = "[object GeneratorFunction]", x = "[object Map]", A = "[object Number]", M = "[object Null]", j = "[object Object]", C = "[object Proxy]", H = "[object RegExp]", U = "[object Set]", b = "[object String]", F = "[object Undefined]", q = "[object WeakMap]", G = "[object ArrayBuffer]", K = "[object DataView]", O = "[object Float32Array]", w = "[object Float64Array]", N = "[object Int8Array]", z = "[object Int16Array]", L = "[object Int32Array]", B = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", W = "[object Uint16Array]", re = "[object Uint32Array]", g = /[\\^$.*+?()[\]{}|]/g, se = /^\[object .+?Constructor\]$/, ye = /^(?:0|[1-9]\d*)$/, h = {};
|
592
|
+
h[O] = h[w] = h[N] = h[z] = h[L] = h[B] = h[_] = h[W] = h[re] = !0, h[l] = h[s] = h[G] = h[c] = h[K] = h[f] = h[m] = h[d] = h[x] = h[A] = h[j] = h[H] = h[U] = h[b] = h[q] = !1;
|
593
|
+
var ge = typeof en == "object" && en && en.Object === Object && en, Ie = typeof self == "object" && self && self.Object === Object && self, ie = ge || Ie || Function("return this")(), Te = t && !t.nodeType && t, xe = Te && !0 && e && !e.nodeType && e, Be = xe && xe.exports === Te, ze = Be && ge.process, Ke = function() {
|
594
594
|
try {
|
595
595
|
var p = xe && xe.require && xe.require("util").types;
|
596
596
|
return p || ze && ze.binding && ze.binding("util");
|
@@ -610,7 +610,7 @@ dn.exports;
|
|
610
610
|
}
|
611
611
|
return p.apply(y, v);
|
612
612
|
}
|
613
|
-
function
|
613
|
+
function jt(p, y) {
|
614
614
|
for (var v = -1, P = Array(p); ++v < p; )
|
615
615
|
P[v] = y(v);
|
616
616
|
return P;
|
@@ -628,18 +628,18 @@ dn.exports;
|
|
628
628
|
return p(y(v));
|
629
629
|
};
|
630
630
|
}
|
631
|
-
var R = Array.prototype, oe = Function.prototype, me = Object.prototype, he = ie["__core-js_shared__"],
|
631
|
+
var R = Array.prototype, oe = Function.prototype, me = Object.prototype, he = ie["__core-js_shared__"], Ee = oe.toString, be = me.hasOwnProperty, lt = function() {
|
632
632
|
var p = /[^.]+$/.exec(he && he.keys && he.keys.IE_PROTO || "");
|
633
633
|
return p ? "Symbol(src)_1." + p : "";
|
634
|
-
}(), Xe = me.toString,
|
635
|
-
"^" +
|
636
|
-
),
|
634
|
+
}(), Xe = me.toString, Et = Ee.call(Object), D = RegExp(
|
635
|
+
"^" + Ee.call(be).replace(g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
636
|
+
), E = Be ? ie.Buffer : void 0, $ = ie.Symbol, ee = ie.Uint8Array, ne = E ? E.allocUnsafe : void 0, Ne = at(Object.getPrototypeOf, Object), Qe = Object.create, Ye = me.propertyIsEnumerable, st = R.splice, Ce = $ ? $.toStringTag : void 0, ue = function() {
|
637
637
|
try {
|
638
638
|
var p = Un(Object, "defineProperty");
|
639
639
|
return p({}, "", {}), p;
|
640
640
|
} catch {
|
641
641
|
}
|
642
|
-
}(), Ct =
|
642
|
+
}(), Ct = E ? E.isBuffer : void 0, Le = Math.max, Za = Date.now, Jr = Un(ie, "Map"), At = Un(Object, "create"), Ka = function() {
|
643
643
|
function p() {
|
644
644
|
}
|
645
645
|
return function(y) {
|
@@ -770,7 +770,7 @@ dn.exports;
|
|
770
770
|
}
|
771
771
|
Mt.prototype.clear = dl, Mt.prototype.delete = hl, Mt.prototype.get = gl, Mt.prototype.has = ml, Mt.prototype.set = yl;
|
772
772
|
function Ml(p, y) {
|
773
|
-
var v = Yn(p), P = !v && Qn(p), J = !v && !P && ii(p), le = !v && !P && !J && ai(p), fe = v || P || J || le, X = fe ?
|
773
|
+
var v = Yn(p), P = !v && Qn(p), J = !v && !P && ii(p), le = !v && !P && !J && ai(p), fe = v || P || J || le, X = fe ? jt(p.length, String) : [], de = X.length;
|
774
774
|
for (var Fe in p)
|
775
775
|
(y || be.call(p, Fe)) && !(fe && // Safari 9 has enumerable `arguments.length` in strict mode.
|
776
776
|
(Fe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
@@ -810,13 +810,13 @@ dn.exports;
|
|
810
810
|
function wl(p) {
|
811
811
|
if (!ct(p) || _l(p))
|
812
812
|
return !1;
|
813
|
-
var y = $n(p) ?
|
813
|
+
var y = $n(p) ? D : se;
|
814
814
|
return y.test(Hl(p));
|
815
815
|
}
|
816
816
|
function vl(p) {
|
817
817
|
return St(p) && oi(p.length) && !!h[Kt(p)];
|
818
818
|
}
|
819
|
-
function
|
819
|
+
function Il(p) {
|
820
820
|
if (!ct(p))
|
821
821
|
return Rl(p);
|
822
822
|
var y = ri(p), v = [];
|
@@ -827,14 +827,14 @@ dn.exports;
|
|
827
827
|
function ti(p, y, v, P, J) {
|
828
828
|
p !== y && xl(y, function(le, fe) {
|
829
829
|
if (J || (J = new Mt()), ct(le))
|
830
|
-
|
830
|
+
Tl(p, y, fe, v, ti, P, J);
|
831
831
|
else {
|
832
832
|
var X = P ? P(Bn(p, fe), le, fe + "", p, y, J) : void 0;
|
833
833
|
X === void 0 && (X = le), _n(p, fe, X);
|
834
834
|
}
|
835
835
|
}, li);
|
836
836
|
}
|
837
|
-
function
|
837
|
+
function Tl(p, y, v, P, J, le, fe) {
|
838
838
|
var X = Bn(p, v), de = Bn(y, v), Fe = fe.get(de);
|
839
839
|
if (Fe) {
|
840
840
|
_n(p, v, Fe);
|
@@ -843,11 +843,11 @@ dn.exports;
|
|
843
843
|
var Ae = le ? le(X, de, v + "", p, y, fe) : void 0, Ot = Ae === void 0;
|
844
844
|
if (Ot) {
|
845
845
|
var qn = Yn(de), Vn = !qn && ii(de), ui = !qn && !Vn && ai(de);
|
846
|
-
Ae = de, qn || Vn || ui ? Yn(X) ? Ae = X : $l(X) ? Ae = Cl(X) : Vn ? (Ot = !1, Ae = kl(de, !0)) : ui ? (Ot = !1, Ae =
|
846
|
+
Ae = de, qn || Vn || ui ? Yn(X) ? Ae = X : $l(X) ? Ae = Cl(X) : Vn ? (Ot = !1, Ae = kl(de, !0)) : ui ? (Ot = !1, Ae = El(de, !0)) : Ae = [] : ql(de) || Qn(de) ? (Ae = X, Qn(X) ? Ae = Vl(X) : (!ct(X) || $n(X)) && (Ae = Ll(de))) : Ot = !1;
|
847
847
|
}
|
848
848
|
Ot && (fe.set(de, Ae), J(Ae, de, P, le, fe), fe.delete(de)), _n(p, v, Ae);
|
849
849
|
}
|
850
|
-
function
|
850
|
+
function Dl(p, y) {
|
851
851
|
return Ql(Bl(p, y, si), p + "");
|
852
852
|
}
|
853
853
|
var Nl = ue ? function(p, y) {
|
@@ -864,12 +864,12 @@ dn.exports;
|
|
864
864
|
var v = p.length, P = ne ? ne(v) : new p.constructor(v);
|
865
865
|
return p.copy(P), P;
|
866
866
|
}
|
867
|
-
function
|
867
|
+
function jl(p) {
|
868
868
|
var y = new p.constructor(p.byteLength);
|
869
869
|
return new ee(y).set(new ee(p)), y;
|
870
870
|
}
|
871
|
-
function
|
872
|
-
var v = y ?
|
871
|
+
function El(p, y) {
|
872
|
+
var v = y ? jl(p.buffer) : p.buffer;
|
873
873
|
return new p.constructor(v, p.byteOffset, p.length);
|
874
874
|
}
|
875
875
|
function Cl(p, y) {
|
@@ -888,7 +888,7 @@ dn.exports;
|
|
888
888
|
return v;
|
889
889
|
}
|
890
890
|
function Sl(p) {
|
891
|
-
return
|
891
|
+
return Dl(function(y, v) {
|
892
892
|
var P = -1, J = v.length, le = J > 1 ? v[J - 1] : void 0, fe = J > 2 ? v[2] : void 0;
|
893
893
|
for (le = p.length > 3 && typeof le == "function" ? (J--, le) : void 0, fe && Fl(v[0], v[1], fe) && (le = J < 3 ? void 0 : le, J = 1), y = Object(y); ++P < J; ) {
|
894
894
|
var X = v[P];
|
@@ -989,7 +989,7 @@ dn.exports;
|
|
989
989
|
function Hl(p) {
|
990
990
|
if (p != null) {
|
991
991
|
try {
|
992
|
-
return
|
992
|
+
return Ee.call(p);
|
993
993
|
} catch {
|
994
994
|
}
|
995
995
|
try {
|
@@ -1018,7 +1018,7 @@ dn.exports;
|
|
1018
1018
|
if (!ct(p))
|
1019
1019
|
return !1;
|
1020
1020
|
var y = Kt(p);
|
1021
|
-
return y == d || y ==
|
1021
|
+
return y == d || y == T || y == u || y == C;
|
1022
1022
|
}
|
1023
1023
|
function oi(p) {
|
1024
1024
|
return typeof p == "number" && p > -1 && p % 1 == 0 && p <= a;
|
@@ -1031,20 +1031,20 @@ dn.exports;
|
|
1031
1031
|
return p != null && typeof p == "object";
|
1032
1032
|
}
|
1033
1033
|
function ql(p) {
|
1034
|
-
if (!St(p) || Kt(p) !=
|
1034
|
+
if (!St(p) || Kt(p) != j)
|
1035
1035
|
return !1;
|
1036
1036
|
var y = Ne(p);
|
1037
1037
|
if (y === null)
|
1038
1038
|
return !0;
|
1039
1039
|
var v = be.call(y, "constructor") && y.constructor;
|
1040
|
-
return typeof v == "function" && v instanceof v &&
|
1040
|
+
return typeof v == "function" && v instanceof v && Ee.call(v) == Et;
|
1041
1041
|
}
|
1042
1042
|
var ai = it ? mt(it) : vl;
|
1043
1043
|
function Vl(p) {
|
1044
1044
|
return Al(p, li(p));
|
1045
1045
|
}
|
1046
1046
|
function li(p) {
|
1047
|
-
return Hn(p) ? Ml(p, !0) :
|
1047
|
+
return Hn(p) ? Ml(p, !0) : Il(p);
|
1048
1048
|
}
|
1049
1049
|
var Wl = Sl(function(p, y, v) {
|
1050
1050
|
ti(p, y, v);
|
@@ -1180,7 +1180,7 @@ const No = /* @__PURE__ */ nt(ms), ys = {
|
|
1180
1180
|
throw new Error("xpertKey or configurations is required");
|
1181
1181
|
const n = Ms[e] || {};
|
1182
1182
|
return No(n, t);
|
1183
|
-
}, xs = bs, ko = Kl({}),
|
1183
|
+
}, xs = bs, ko = Kl({}), jo = ({
|
1184
1184
|
children: e,
|
1185
1185
|
configurations: t = null,
|
1186
1186
|
xpertKey: n = null
|
@@ -1191,7 +1191,7 @@ const No = /* @__PURE__ */ nt(ms), ys = {
|
|
1191
1191
|
);
|
1192
1192
|
return /* @__PURE__ */ k.jsx(ko.Provider, { value: { ...r }, children: e });
|
1193
1193
|
};
|
1194
|
-
|
1194
|
+
jo.propTypes = {
|
1195
1195
|
children: Y.element.isRequired,
|
1196
1196
|
xpertKey: Y.string.isRequired,
|
1197
1197
|
configurations: Y.shape({
|
@@ -1367,7 +1367,7 @@ const Ut = /^[a-z0-9]+(-[a-z0-9]+)*$/, wn = (e, t, n, r = "") => {
|
|
1367
1367
|
return t && !sn(l, n) ? null : l;
|
1368
1368
|
}
|
1369
1369
|
return null;
|
1370
|
-
}, sn = (e, t) => e ? !!((e.provider === "" || e.provider.match(Ut)) && (t && e.prefix === "" || e.prefix.match(Ut)) && e.name.match(Ut)) : !1,
|
1370
|
+
}, sn = (e, t) => e ? !!((e.provider === "" || e.provider.match(Ut)) && (t && e.prefix === "" || e.prefix.match(Ut)) && e.name.match(Ut)) : !1, Eo = Object.freeze(
|
1371
1371
|
{
|
1372
1372
|
left: 0,
|
1373
1373
|
top: 0,
|
@@ -1379,7 +1379,7 @@ const Ut = /^[a-z0-9]+(-[a-z0-9]+)*$/, wn = (e, t, n, r = "") => {
|
|
1379
1379
|
vFlip: !1,
|
1380
1380
|
hFlip: !1
|
1381
1381
|
}), Nr = Object.freeze({
|
1382
|
-
...
|
1382
|
+
...Eo,
|
1383
1383
|
...hn
|
1384
1384
|
}), sr = Object.freeze({
|
1385
1385
|
...Nr,
|
@@ -1398,7 +1398,7 @@ function fi(e, t) {
|
|
1398
1398
|
r in hn ? r in e && !(r in n) && (n[r] = hn[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
1399
1399
|
return n;
|
1400
1400
|
}
|
1401
|
-
function
|
1401
|
+
function Is(e, t) {
|
1402
1402
|
const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null);
|
1403
1403
|
function o(a) {
|
1404
1404
|
if (n[a])
|
@@ -1412,7 +1412,7 @@ function Ts(e, t) {
|
|
1412
1412
|
}
|
1413
1413
|
return (t || Object.keys(n).concat(Object.keys(r))).forEach(o), i;
|
1414
1414
|
}
|
1415
|
-
function
|
1415
|
+
function Ts(e, t, n) {
|
1416
1416
|
const r = e.icons, i = e.aliases || /* @__PURE__ */ Object.create(null);
|
1417
1417
|
let o = {};
|
1418
1418
|
function a(l) {
|
@@ -1430,18 +1430,18 @@ function Co(e, t) {
|
|
1430
1430
|
e.not_found instanceof Array && e.not_found.forEach((i) => {
|
1431
1431
|
t(i, null), n.push(i);
|
1432
1432
|
});
|
1433
|
-
const r =
|
1433
|
+
const r = Is(e);
|
1434
1434
|
for (const i in r) {
|
1435
1435
|
const o = r[i];
|
1436
|
-
o && (t(i,
|
1436
|
+
o && (t(i, Ts(e, i, o)), n.push(i));
|
1437
1437
|
}
|
1438
1438
|
return n;
|
1439
1439
|
}
|
1440
|
-
const
|
1440
|
+
const Ds = {
|
1441
1441
|
provider: "",
|
1442
1442
|
aliases: {},
|
1443
1443
|
not_found: {},
|
1444
|
-
...
|
1444
|
+
...Eo
|
1445
1445
|
};
|
1446
1446
|
function Wn(e, t) {
|
1447
1447
|
for (const n in t)
|
@@ -1453,7 +1453,7 @@ function Ao(e) {
|
|
1453
1453
|
if (typeof e != "object" || e === null)
|
1454
1454
|
return null;
|
1455
1455
|
const t = e;
|
1456
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Wn(e,
|
1456
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Wn(e, Ds))
|
1457
1457
|
return null;
|
1458
1458
|
const n = t.icons;
|
1459
1459
|
for (const i in n) {
|
@@ -1505,14 +1505,14 @@ let $t = !1;
|
|
1505
1505
|
function So(e) {
|
1506
1506
|
return typeof e == "boolean" && ($t = e), $t;
|
1507
1507
|
}
|
1508
|
-
function
|
1508
|
+
function js(e) {
|
1509
1509
|
const t = typeof e == "string" ? wn(e, !0, $t) : e;
|
1510
1510
|
if (t) {
|
1511
1511
|
const n = dt(t.provider, t.prefix), r = t.name;
|
1512
1512
|
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
1513
1513
|
}
|
1514
1514
|
}
|
1515
|
-
function
|
1515
|
+
function Es(e, t) {
|
1516
1516
|
const n = wn(e, !0, $t);
|
1517
1517
|
if (!n)
|
1518
1518
|
return !1;
|
@@ -1525,7 +1525,7 @@ function Cs(e, t) {
|
|
1525
1525
|
if (typeof t != "string" && (t = e.provider || ""), $t && !t && !e.prefix) {
|
1526
1526
|
let i = !1;
|
1527
1527
|
return Ao(e) && (e.prefix = "", Co(e, (o, a) => {
|
1528
|
-
a &&
|
1528
|
+
a && Es(o, a) && (i = !0);
|
1529
1529
|
})), i;
|
1530
1530
|
}
|
1531
1531
|
const n = e.prefix;
|
@@ -1585,16 +1585,16 @@ function zs(e, t) {
|
|
1585
1585
|
height: n.height
|
1586
1586
|
};
|
1587
1587
|
let o = n.body;
|
1588
|
-
[n, r].forEach((
|
1589
|
-
const x = [], A =
|
1590
|
-
let
|
1591
|
-
A ? M ?
|
1588
|
+
[n, r].forEach((T) => {
|
1589
|
+
const x = [], A = T.hFlip, M = T.vFlip;
|
1590
|
+
let j = T.rotate;
|
1591
|
+
A ? M ? j += 2 : (x.push(
|
1592
1592
|
"translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
|
1593
1593
|
), x.push("scale(-1 1)"), i.top = i.left = 0) : M && (x.push(
|
1594
1594
|
"translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
|
1595
1595
|
), x.push("scale(1 -1)"), i.top = i.left = 0);
|
1596
1596
|
let C;
|
1597
|
-
switch (
|
1597
|
+
switch (j < 0 && (j -= Math.floor(j / 4) * 4), j = j % 4, j) {
|
1598
1598
|
case 1:
|
1599
1599
|
C = i.height / 2 + i.top, x.unshift(
|
1600
1600
|
"rotate(90 " + C.toString() + " " + C.toString() + ")"
|
@@ -1611,13 +1611,13 @@ function zs(e, t) {
|
|
1611
1611
|
);
|
1612
1612
|
break;
|
1613
1613
|
}
|
1614
|
-
|
1614
|
+
j % 2 === 1 && (i.left !== i.top && (C = i.left, i.left = i.top, i.top = C), i.width !== i.height && (C = i.width, i.width = i.height, i.height = C)), x.length && (o = '<g transform="' + x.join(" ") + '">' + o + "</g>");
|
1615
1615
|
});
|
1616
1616
|
const a = r.width, l = r.height, s = i.width, u = i.height;
|
1617
1617
|
let c, f;
|
1618
1618
|
a === null ? (f = l === null ? "1em" : l === "auto" ? u : l, c = hi(f, s / u)) : (c = a === "auto" ? s : a, f = l === null ? hi(c, u / s) : l === "auto" ? u : l);
|
1619
|
-
const m = {}, d = (
|
1620
|
-
Os(x) || (m[
|
1619
|
+
const m = {}, d = (T, x) => {
|
1620
|
+
Os(x) || (m[T] = x.toString());
|
1621
1621
|
};
|
1622
1622
|
return d("width", c), d("height", f), m.viewBox = i.left.toString() + " " + i.top.toString() + " " + s.toString() + " " + u.toString(), {
|
1623
1623
|
attributes: m,
|
@@ -1651,7 +1651,7 @@ function Rs(e, t) {
|
|
1651
1651
|
function cr(e) {
|
1652
1652
|
return ur[e] || ur[""];
|
1653
1653
|
}
|
1654
|
-
function
|
1654
|
+
function jr(e) {
|
1655
1655
|
let t;
|
1656
1656
|
if (typeof e.resources == "string")
|
1657
1657
|
t = [e.resources];
|
@@ -1676,21 +1676,21 @@ function Er(e) {
|
|
1676
1676
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
1677
1677
|
};
|
1678
1678
|
}
|
1679
|
-
const
|
1679
|
+
const Er = /* @__PURE__ */ Object.create(null), zt = [
|
1680
1680
|
"https://api.simplesvg.com",
|
1681
1681
|
"https://api.unisvg.com"
|
1682
1682
|
], un = [];
|
1683
1683
|
for (; zt.length > 0; )
|
1684
1684
|
zt.length === 1 || Math.random() > 0.5 ? un.push(zt.shift()) : un.push(zt.pop());
|
1685
|
-
|
1685
|
+
Er[""] = jr({
|
1686
1686
|
resources: ["https://api.iconify.design"].concat(un)
|
1687
1687
|
});
|
1688
1688
|
function Us(e, t) {
|
1689
|
-
const n =
|
1690
|
-
return n === null ? !1 : (
|
1689
|
+
const n = jr(t);
|
1690
|
+
return n === null ? !1 : (Er[e] = n, !0);
|
1691
1691
|
}
|
1692
1692
|
function Cr(e) {
|
1693
|
-
return
|
1693
|
+
return Er[e];
|
1694
1694
|
}
|
1695
1695
|
const Bs = () => {
|
1696
1696
|
let e;
|
@@ -1912,11 +1912,11 @@ function eu(e, t, n, r) {
|
|
1912
1912
|
const l = Date.now();
|
1913
1913
|
let s = "pending", u = 0, c, f = null, m = [], d = [];
|
1914
1914
|
typeof r == "function" && d.push(r);
|
1915
|
-
function
|
1915
|
+
function T() {
|
1916
1916
|
f && (clearTimeout(f), f = null);
|
1917
1917
|
}
|
1918
1918
|
function x() {
|
1919
|
-
s === "pending" && (s = "aborted"),
|
1919
|
+
s === "pending" && (s = "aborted"), T(), m.forEach((b) => {
|
1920
1920
|
b.status === "pending" && (b.status = "aborted");
|
1921
1921
|
}), m = [];
|
1922
1922
|
}
|
@@ -1934,7 +1934,7 @@ function eu(e, t, n, r) {
|
|
1934
1934
|
abort: x
|
1935
1935
|
};
|
1936
1936
|
}
|
1937
|
-
function
|
1937
|
+
function j() {
|
1938
1938
|
s = "failed", d.forEach((b) => {
|
1939
1939
|
b(void 0, c);
|
1940
1940
|
});
|
@@ -1957,14 +1957,14 @@ function eu(e, t, n, r) {
|
|
1957
1957
|
return;
|
1958
1958
|
}
|
1959
1959
|
if (F === "abort") {
|
1960
|
-
c = q,
|
1960
|
+
c = q, j();
|
1961
1961
|
return;
|
1962
1962
|
}
|
1963
1963
|
if (G) {
|
1964
|
-
c = q, m.length || (a.length ? U() :
|
1964
|
+
c = q, m.length || (a.length ? U() : j());
|
1965
1965
|
return;
|
1966
1966
|
}
|
1967
|
-
if (
|
1967
|
+
if (T(), C(), !e.random) {
|
1968
1968
|
const K = e.resources.indexOf(b.resource);
|
1969
1969
|
K !== -1 && K !== e.index && (e.index = K);
|
1970
1970
|
}
|
@@ -1975,16 +1975,16 @@ function eu(e, t, n, r) {
|
|
1975
1975
|
function U() {
|
1976
1976
|
if (s !== "pending")
|
1977
1977
|
return;
|
1978
|
-
|
1978
|
+
T();
|
1979
1979
|
const b = a.shift();
|
1980
1980
|
if (b === void 0) {
|
1981
1981
|
if (m.length) {
|
1982
1982
|
f = setTimeout(() => {
|
1983
|
-
|
1983
|
+
T(), s === "pending" && (C(), j());
|
1984
1984
|
}, e.timeout);
|
1985
1985
|
return;
|
1986
1986
|
}
|
1987
|
-
|
1987
|
+
j();
|
1988
1988
|
return;
|
1989
1989
|
}
|
1990
1990
|
const F = {
|
@@ -2057,7 +2057,7 @@ function nu(e, t, n) {
|
|
2057
2057
|
const a = tu(e);
|
2058
2058
|
a && (r = a.redundancy);
|
2059
2059
|
} else {
|
2060
|
-
const o =
|
2060
|
+
const o = jr(e);
|
2061
2061
|
if (o) {
|
2062
2062
|
r = Fo(o);
|
2063
2063
|
const a = e.resources ? e.resources[0] : "", l = cr(a);
|
@@ -2382,17 +2382,17 @@ const vu = {
|
|
2382
2382
|
...Yo,
|
2383
2383
|
inline: !0
|
2384
2384
|
};
|
2385
|
-
function
|
2385
|
+
function Ii(e) {
|
2386
2386
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
2387
2387
|
}
|
2388
|
-
const
|
2388
|
+
const Iu = (e, t, n, r) => {
|
2389
2389
|
const i = n ? vu : Yo, o = cu(i, t), a = t.mode || "svg", l = {}, s = t.style || {}, u = {
|
2390
2390
|
...a === "svg" ? xu : {},
|
2391
2391
|
ref: r
|
2392
2392
|
};
|
2393
2393
|
for (let M in t) {
|
2394
|
-
const
|
2395
|
-
if (
|
2394
|
+
const j = t[M];
|
2395
|
+
if (j !== void 0)
|
2396
2396
|
switch (M) {
|
2397
2397
|
case "icon":
|
2398
2398
|
case "style":
|
@@ -2405,23 +2405,23 @@ const Tu = (e, t, n, r) => {
|
|
2405
2405
|
case "inline":
|
2406
2406
|
case "hFlip":
|
2407
2407
|
case "vFlip":
|
2408
|
-
o[M] =
|
2408
|
+
o[M] = j === !0 || j === "true" || j === 1;
|
2409
2409
|
break;
|
2410
2410
|
case "flip":
|
2411
|
-
typeof
|
2411
|
+
typeof j == "string" && fu(o, j);
|
2412
2412
|
break;
|
2413
2413
|
case "color":
|
2414
|
-
l.color =
|
2414
|
+
l.color = j;
|
2415
2415
|
break;
|
2416
2416
|
case "rotate":
|
2417
|
-
typeof
|
2417
|
+
typeof j == "string" ? o[M] = du(j) : typeof j == "number" && (o[M] = j);
|
2418
2418
|
break;
|
2419
2419
|
case "ariaHidden":
|
2420
2420
|
case "aria-hidden":
|
2421
|
-
|
2421
|
+
j !== !0 && j !== "true" && delete u["aria-hidden"];
|
2422
2422
|
break;
|
2423
2423
|
default:
|
2424
|
-
i[M] === void 0 && (u[M] =
|
2424
|
+
i[M] === void 0 && (u[M] = j);
|
2425
2425
|
}
|
2426
2426
|
}
|
2427
2427
|
const c = zs(e, o), f = c.attributes;
|
@@ -2430,21 +2430,21 @@ const Tu = (e, t, n, r) => {
|
|
2430
2430
|
...l,
|
2431
2431
|
...s
|
2432
2432
|
}, Object.assign(u, f);
|
2433
|
-
let M = 0,
|
2434
|
-
return typeof
|
2435
|
-
__html: bu(_s(c.body,
|
2433
|
+
let M = 0, j = t.id;
|
2434
|
+
return typeof j == "string" && (j = j.replace(/-/g, "_")), u.dangerouslySetInnerHTML = {
|
2435
|
+
__html: bu(_s(c.body, j ? () => j + "ID" + M++ : "iconifyReact"))
|
2436
2436
|
}, ve.createElement("svg", u);
|
2437
2437
|
}
|
2438
|
-
const { body: m, width: d, height:
|
2438
|
+
const { body: m, width: d, height: T } = e, x = a === "mask" || (a === "bg" ? !1 : m.indexOf("currentColor") !== -1), A = hu(m, {
|
2439
2439
|
...f,
|
2440
2440
|
width: d + "",
|
2441
|
-
height:
|
2441
|
+
height: T + ""
|
2442
2442
|
});
|
2443
2443
|
return u.style = {
|
2444
2444
|
...l,
|
2445
2445
|
"--svg": yu(A),
|
2446
|
-
width:
|
2447
|
-
height:
|
2446
|
+
width: Ii(f.width),
|
2447
|
+
height: Ii(f.height),
|
2448
2448
|
...wu,
|
2449
2449
|
...x ? hr : Ho,
|
2450
2450
|
...s
|
@@ -2521,7 +2521,7 @@ class $o extends ve.Component {
|
|
2521
2521
|
this._abortLoading(), this._setData(null);
|
2522
2522
|
return;
|
2523
2523
|
}
|
2524
|
-
const o =
|
2524
|
+
const o = js(i);
|
2525
2525
|
if (!o) {
|
2526
2526
|
(!this._loading || this._loading.name !== r) && (this._abortLoading(), this._icon = "", this._setData(null), o !== null && (this._loading = {
|
2527
2527
|
name: r,
|
@@ -2567,7 +2567,7 @@ class $o extends ve.Component {
|
|
2567
2567
|
return n.classes && (r = {
|
2568
2568
|
...t,
|
2569
2569
|
className: (typeof t.className == "string" ? t.className + " " : "") + n.classes.join(" ")
|
2570
|
-
}),
|
2570
|
+
}), Iu({
|
2571
2571
|
...Nr,
|
2572
2572
|
...n.data
|
2573
2573
|
}, r, t._inline, t._ref);
|
@@ -2589,18 +2589,18 @@ ve.forwardRef(function(t, n) {
|
|
2589
2589
|
};
|
2590
2590
|
return ve.createElement($o, r);
|
2591
2591
|
});
|
2592
|
-
const
|
2592
|
+
const Tu = 576, Du = (e) => {
|
2593
2593
|
const [t, n] = we(), r = wt(() => {
|
2594
2594
|
n(
|
2595
2595
|
window.matchMedia(
|
2596
|
-
`(max-width: ${e ||
|
2596
|
+
`(max-width: ${e || Tu}px)`
|
2597
2597
|
).matches
|
2598
2598
|
);
|
2599
2599
|
}, [e]);
|
2600
|
-
return
|
2601
|
-
},
|
2600
|
+
return De(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
|
2601
|
+
}, Tt = Du, Nu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", ku = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", ju = 991;
|
2602
2602
|
function qo({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
2603
|
-
return
|
2603
|
+
return Tt(ju) ? null : e ? /* @__PURE__ */ k.jsx(
|
2604
2604
|
"button",
|
2605
2605
|
{
|
2606
2606
|
onClick: () => {
|
@@ -2654,9 +2654,9 @@ function qo({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
|
2654
2654
|
);
|
2655
2655
|
}
|
2656
2656
|
qo.propTypes = {
|
2657
|
-
isNormalSize:
|
2658
|
-
setIsMounted:
|
2659
|
-
setIsNormalSize:
|
2657
|
+
isNormalSize: I.bool.isRequired,
|
2658
|
+
setIsMounted: I.func.isRequired,
|
2659
|
+
setIsNormalSize: I.func.isRequired
|
2660
2660
|
};
|
2661
2661
|
function Vo({
|
2662
2662
|
isNormalSize: e,
|
@@ -2716,11 +2716,11 @@ function Vo({
|
|
2716
2716
|
] });
|
2717
2717
|
}
|
2718
2718
|
Vo.propTypes = {
|
2719
|
-
isNormalSize:
|
2720
|
-
setIsMounted:
|
2721
|
-
setIsNormalSize:
|
2722
|
-
onClose:
|
2723
|
-
isMounted:
|
2719
|
+
isNormalSize: I.bool.isRequired,
|
2720
|
+
setIsMounted: I.func.isRequired,
|
2721
|
+
setIsNormalSize: I.func.isRequired,
|
2722
|
+
onClose: I.func.isRequired,
|
2723
|
+
isMounted: I.bool.isRequired
|
2724
2724
|
};
|
2725
2725
|
const Or = ({ backgroundColor: e, textColor: t }) => /* @__PURE__ */ k.jsxs(
|
2726
2726
|
"svg",
|
@@ -2747,14 +2747,14 @@ const Or = ({ backgroundColor: e, textColor: t }) => /* @__PURE__ */ k.jsxs(
|
|
2747
2747
|
}
|
2748
2748
|
);
|
2749
2749
|
Or.propTypes = {
|
2750
|
-
backgroundColor:
|
2751
|
-
textColor:
|
2750
|
+
backgroundColor: I.string,
|
2751
|
+
textColor: I.string
|
2752
2752
|
};
|
2753
2753
|
Or.defaultProps = {
|
2754
2754
|
backgroundColor: "#F0CC00",
|
2755
2755
|
textColor: "transparent"
|
2756
2756
|
};
|
2757
|
-
const ju = Or, Wo = "data:image/svg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zUzLjk4MyAxNTUyLjQ2IDM1Ny45MjQgMTU1Mi40NiAzNjIuNjc5VjQxMlpNMTQ4My41NyAzMzIuNTE2SDE1MDkuMjVDMTUxNS43OCAzMzIuNTE2IDE1MjAuNzMgMzMxLjAyMSAxNTI0LjEzIDMyOC4wMzJDMTUyNy41MyAzMjQuOTA3IDE1MjkuMjMgMzIwLjU1OSAxNTI5LjIzIDMxNC45ODlWMzEyLjU0M0MxNTI5LjIzIDMwNy43ODggMTUyNy41MyAzMDMuNzExIDE1MjQuMTMgMzAwLjMxNUMxNTIwLjczIDI5Ni43ODIgMTUxNS43OCAyOTUuMDE2IDE1MDkuMjUgMjk1LjAxNkgxNDgzLjU3VjMzMi41MTZaTTE1NzEuNDggMjY5LjMzNkgxNjc0LjE5VjI5NS4wMTZIMTYzNi4yOVY0MTJIMTYwOS4zOFYyOTUuMDE2SDE1NzEuNDhWMjY5LjMzNloiIGZpbGw9IiMwMDI2MkIiLz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTIzXzQyOCI+CjxyZWN0IHdpZHRoPSIxMDgwIiBoZWlnaHQ9IjU2My4yNSIgZmlsbD0iI0ZGRkZGRiIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=";
|
2758
2758
|
const Cu = 991;
|
2759
2759
|
function Go({
|
2760
2760
|
isNormalSize: e,
|
@@ -2763,8 +2763,8 @@ function Go({
|
|
2763
2763
|
setIsMounted: r,
|
2764
2764
|
onClose: i
|
2765
2765
|
}) {
|
2766
|
-
var s, u, c, f, m, d,
|
2767
|
-
const { primaryColor: o, conversationScreen: a } = We(Ge), l =
|
2766
|
+
var s, u, c, f, m, d, T, x, A;
|
2767
|
+
const { primaryColor: o, conversationScreen: a } = We(Ge), l = Tt(Cu);
|
2768
2768
|
return /* @__PURE__ */ k.jsxs(
|
2769
2769
|
"div",
|
2770
2770
|
{
|
@@ -2798,10 +2798,10 @@ function Go({
|
|
2798
2798
|
style: a.header.logo.style
|
2799
2799
|
}
|
2800
2800
|
) : /* @__PURE__ */ k.jsx(
|
2801
|
-
|
2801
|
+
Eu,
|
2802
2802
|
{
|
2803
2803
|
backgroundColor: (d = a.header.logo.style) == null ? void 0 : d.backgroundColor,
|
2804
|
-
textColor: (
|
2804
|
+
textColor: (T = a.header.logo.style) == null ? void 0 : T.color
|
2805
2805
|
}
|
2806
2806
|
),
|
2807
2807
|
/* @__PURE__ */ k.jsx(
|
@@ -2829,11 +2829,11 @@ function Go({
|
|
2829
2829
|
);
|
2830
2830
|
}
|
2831
2831
|
Go.propTypes = {
|
2832
|
-
isMounted:
|
2833
|
-
isNormalSize:
|
2834
|
-
setIsMounted:
|
2835
|
-
setIsNormalSize:
|
2836
|
-
onClose:
|
2832
|
+
isMounted: I.bool.isRequired,
|
2833
|
+
isNormalSize: I.bool.isRequired,
|
2834
|
+
setIsMounted: I.func.isRequired,
|
2835
|
+
setIsNormalSize: I.func.isRequired,
|
2836
|
+
onClose: I.func.isRequired
|
2837
2837
|
};
|
2838
2838
|
function zr({
|
2839
2839
|
containerStyle: e,
|
@@ -2848,7 +2848,7 @@ function zr({
|
|
2848
2848
|
userInput: u
|
2849
2849
|
}) {
|
2850
2850
|
const { primaryColor: c } = We(Ge);
|
2851
|
-
return
|
2851
|
+
return De(() => {
|
2852
2852
|
var f;
|
2853
2853
|
(o || a) && ((f = l.current) == null || f.focus());
|
2854
2854
|
}, [a, o, l]), /* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: e, children: [
|
@@ -2896,23 +2896,23 @@ function zr({
|
|
2896
2896
|
] });
|
2897
2897
|
}
|
2898
2898
|
zr.propTypes = {
|
2899
|
-
containerStyle:
|
2900
|
-
handleChange:
|
2901
|
-
handleInput:
|
2902
|
-
handleKeyDown:
|
2903
|
-
handleSend:
|
2904
|
-
hasError:
|
2905
|
-
hasXpertMessages:
|
2906
|
-
inputRef:
|
2907
|
-
loading:
|
2908
|
-
userInput:
|
2899
|
+
containerStyle: I.shape(),
|
2900
|
+
handleChange: I.func.isRequired,
|
2901
|
+
handleInput: I.func.isRequired,
|
2902
|
+
handleKeyDown: I.func.isRequired,
|
2903
|
+
handleSend: I.func.isRequired,
|
2904
|
+
hasError: I.bool,
|
2905
|
+
hasXpertMessages: I.bool,
|
2906
|
+
inputRef: I.shape({ current: I.instanceOf(Object) }).isRequired,
|
2907
|
+
loading: I.bool.isRequired,
|
2908
|
+
userInput: I.string.isRequired
|
2909
2909
|
};
|
2910
2910
|
zr.defaultProps = {
|
2911
2911
|
containerStyle: void 0,
|
2912
2912
|
hasError: !1,
|
2913
2913
|
hasXpertMessages: !1
|
2914
2914
|
};
|
2915
|
-
const
|
2915
|
+
const Ti = ["http", "https", "mailto", "tel"];
|
2916
2916
|
function Au(e) {
|
2917
2917
|
const t = (e || "").trim(), n = t.charAt(0);
|
2918
2918
|
if (n === "#" || n === "/")
|
@@ -2921,8 +2921,8 @@ function Au(e) {
|
|
2921
2921
|
if (r === -1)
|
2922
2922
|
return t;
|
2923
2923
|
let i = -1;
|
2924
|
-
for (; ++i <
|
2925
|
-
const o =
|
2924
|
+
for (; ++i < Ti.length; ) {
|
2925
|
+
const o = Ti[i];
|
2926
2926
|
if (r === o.length && t.slice(0, o.length).toLowerCase() === o)
|
2927
2927
|
return t;
|
2928
2928
|
}
|
@@ -2939,12 +2939,12 @@ var Su = function(t) {
|
|
2939
2939
|
};
|
2940
2940
|
const Zo = /* @__PURE__ */ nt(Su);
|
2941
2941
|
function Qt(e) {
|
2942
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ?
|
2942
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Di(e.position) : "start" in e || "end" in e ? Di(e) : "line" in e || "column" in e ? gr(e) : "";
|
2943
2943
|
}
|
2944
2944
|
function gr(e) {
|
2945
2945
|
return Ni(e && e.line) + ":" + Ni(e && e.column);
|
2946
2946
|
}
|
2947
|
-
function
|
2947
|
+
function Di(e) {
|
2948
2948
|
return gr(e && e.start) + "-" + gr(e && e.end);
|
2949
2949
|
}
|
2950
2950
|
function Ni(e) {
|
@@ -3371,11 +3371,11 @@ function ki(e, t) {
|
|
3371
3371
|
function Yu(e) {
|
3372
3372
|
return Zo(e);
|
3373
3373
|
}
|
3374
|
-
function
|
3374
|
+
function ji(e) {
|
3375
3375
|
if (e)
|
3376
3376
|
throw e;
|
3377
3377
|
}
|
3378
|
-
var cn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString,
|
3378
|
+
var cn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString, Ei = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, Ai = function(t) {
|
3379
3379
|
return typeof Array.isArray == "function" ? Array.isArray(t) : Xo.call(t) === "[object Array]";
|
3380
3380
|
}, Si = function(t) {
|
3381
3381
|
if (!t || Xo.call(t) !== "[object Object]")
|
@@ -3388,7 +3388,7 @@ var cn = Object.prototype.hasOwnProperty, Xo = Object.prototype.toString, ji = O
|
|
3388
3388
|
;
|
3389
3389
|
return typeof i > "u" || cn.call(t, i);
|
3390
3390
|
}, Oi = function(t, n) {
|
3391
|
-
|
3391
|
+
Ei && n.name === "__proto__" ? Ei(t, n.name, {
|
3392
3392
|
enumerable: !0,
|
3393
3393
|
configurable: !0,
|
3394
3394
|
value: n.newValue,
|
@@ -3477,7 +3477,7 @@ const Vu = ea().freeze(), Jo = {}.hasOwnProperty;
|
|
3477
3477
|
function ea() {
|
3478
3478
|
const e = $u(), t = [];
|
3479
3479
|
let n = {}, r, i = -1;
|
3480
|
-
return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = f, o.runSync = m, o.process = d, o.processSync =
|
3480
|
+
return o.data = a, o.Parser = void 0, o.Compiler = void 0, o.freeze = l, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = f, o.runSync = m, o.process = d, o.processSync = T, o;
|
3481
3481
|
function o() {
|
3482
3482
|
const x = ea();
|
3483
3483
|
let A = -1;
|
@@ -3511,7 +3511,7 @@ function ea() {
|
|
3511
3511
|
else
|
3512
3512
|
throw new TypeError("Expected usable value, not `" + x + "`");
|
3513
3513
|
return M && (n.settings = Object.assign(n.settings || {}, M)), o;
|
3514
|
-
function
|
3514
|
+
function j(b) {
|
3515
3515
|
if (typeof b == "function")
|
3516
3516
|
U(b);
|
3517
3517
|
else if (typeof b == "object")
|
@@ -3532,7 +3532,7 @@ function ea() {
|
|
3532
3532
|
if (Array.isArray(b))
|
3533
3533
|
for (; ++F < b.length; ) {
|
3534
3534
|
const q = b[F];
|
3535
|
-
|
3535
|
+
j(q);
|
3536
3536
|
}
|
3537
3537
|
else
|
3538
3538
|
throw new TypeError("Expected a list of plugins, not `" + b + "`");
|
@@ -3554,14 +3554,14 @@ function ea() {
|
|
3554
3554
|
}
|
3555
3555
|
function c(x, A) {
|
3556
3556
|
o.freeze();
|
3557
|
-
const M = Lt(A),
|
3558
|
-
return er("stringify",
|
3557
|
+
const M = Lt(A), j = o.Compiler;
|
3558
|
+
return er("stringify", j), Pi(x), Fi(j, "compile") ? new j(x, M).compile() : j(x, M);
|
3559
3559
|
}
|
3560
3560
|
function f(x, A, M) {
|
3561
3561
|
if (Pi(x), o.freeze(), !M && typeof A == "function" && (M = A, A = void 0), !M)
|
3562
|
-
return new Promise(
|
3563
|
-
|
3564
|
-
function
|
3562
|
+
return new Promise(j);
|
3563
|
+
j(null, M);
|
3564
|
+
function j(C, H) {
|
3565
3565
|
e.run(x, Lt(A), U);
|
3566
3566
|
function U(b, F, q) {
|
3567
3567
|
F = F || x, b ? H(b) : C ? C(F) : M(null, F, q);
|
@@ -3569,17 +3569,17 @@ function ea() {
|
|
3569
3569
|
}
|
3570
3570
|
}
|
3571
3571
|
function m(x, A) {
|
3572
|
-
let M,
|
3573
|
-
return o.run(x, A, C), _i("runSync", "run",
|
3572
|
+
let M, j;
|
3573
|
+
return o.run(x, A, C), _i("runSync", "run", j), M;
|
3574
3574
|
function C(H, U) {
|
3575
|
-
|
3575
|
+
ji(H), M = U, j = !0;
|
3576
3576
|
}
|
3577
3577
|
}
|
3578
3578
|
function d(x, A) {
|
3579
3579
|
if (o.freeze(), Jn("process", o.Parser), er("process", o.Compiler), !A)
|
3580
3580
|
return new Promise(M);
|
3581
3581
|
M(null, A);
|
3582
|
-
function M(
|
3582
|
+
function M(j, C) {
|
3583
3583
|
const H = Lt(x);
|
3584
3584
|
o.run(o.parse(H), H, (b, F, q) => {
|
3585
3585
|
if (b || !F || !q)
|
@@ -3590,17 +3590,17 @@ function ea() {
|
|
3590
3590
|
}
|
3591
3591
|
});
|
3592
3592
|
function U(b, F) {
|
3593
|
-
b || !F ? C(b) :
|
3593
|
+
b || !F ? C(b) : j ? j(F) : A(null, F);
|
3594
3594
|
}
|
3595
3595
|
}
|
3596
3596
|
}
|
3597
|
-
function
|
3597
|
+
function T(x) {
|
3598
3598
|
let A;
|
3599
3599
|
o.freeze(), Jn("processSync", o.Parser), er("processSync", o.Compiler);
|
3600
3600
|
const M = Lt(x);
|
3601
|
-
return o.process(M,
|
3602
|
-
function
|
3603
|
-
A = !0,
|
3601
|
+
return o.process(M, j), _i("processSync", "process", A), M;
|
3602
|
+
function j(C) {
|
3603
|
+
A = !0, ji(C);
|
3604
3604
|
}
|
3605
3605
|
}
|
3606
3606
|
}
|
@@ -3735,7 +3735,7 @@ const br = rt(/\d/), oc = rt(/[\dA-Fa-f]/), ac = rt(/[!-/:-@[-`{-~]/);
|
|
3735
3735
|
function V(e) {
|
3736
3736
|
return e !== null && e < -2;
|
3737
3737
|
}
|
3738
|
-
function
|
3738
|
+
function je(e) {
|
3739
3739
|
return e !== null && (e < 0 || e === 32);
|
3740
3740
|
}
|
3741
3741
|
function te(e) {
|
@@ -3817,7 +3817,7 @@ function fc(e) {
|
|
3817
3817
|
}
|
3818
3818
|
function s(C) {
|
3819
3819
|
if (r++, t.containerState._closeFlow) {
|
3820
|
-
t.containerState._closeFlow = void 0, i &&
|
3820
|
+
t.containerState._closeFlow = void 0, i && j();
|
3821
3821
|
const H = t.events.length;
|
3822
3822
|
let U = H, b;
|
3823
3823
|
for (; U--; )
|
@@ -3843,7 +3843,7 @@ function fc(e) {
|
|
3843
3843
|
if (!i)
|
3844
3844
|
return m(C);
|
3845
3845
|
if (i.currentConstruct && i.currentConstruct.concrete)
|
3846
|
-
return
|
3846
|
+
return T(C);
|
3847
3847
|
t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
3848
3848
|
}
|
3849
3849
|
return t.containerState = {}, e.check(
|
@@ -3853,24 +3853,24 @@ function fc(e) {
|
|
3853
3853
|
)(C);
|
3854
3854
|
}
|
3855
3855
|
function c(C) {
|
3856
|
-
return i &&
|
3856
|
+
return i && j(), M(r), m(C);
|
3857
3857
|
}
|
3858
3858
|
function f(C) {
|
3859
|
-
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset,
|
3859
|
+
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, T(C);
|
3860
3860
|
}
|
3861
3861
|
function m(C) {
|
3862
3862
|
return t.containerState = {}, e.attempt(
|
3863
3863
|
Bi,
|
3864
3864
|
d,
|
3865
|
-
|
3865
|
+
T
|
3866
3866
|
)(C);
|
3867
3867
|
}
|
3868
3868
|
function d(C) {
|
3869
3869
|
return r++, n.push([t.currentConstruct, t.containerState]), m(C);
|
3870
3870
|
}
|
3871
|
-
function
|
3871
|
+
function T(C) {
|
3872
3872
|
if (C === null) {
|
3873
|
-
i &&
|
3873
|
+
i && j(), M(0), e.consume(C);
|
3874
3874
|
return;
|
3875
3875
|
}
|
3876
3876
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
@@ -3926,7 +3926,7 @@ function fc(e) {
|
|
3926
3926
|
}
|
3927
3927
|
n.length = C;
|
3928
3928
|
}
|
3929
|
-
function
|
3929
|
+
function j() {
|
3930
3930
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
3931
3931
|
}
|
3932
3932
|
}
|
@@ -3939,7 +3939,7 @@ function dc(e, t, n) {
|
|
3939
3939
|
);
|
3940
3940
|
}
|
3941
3941
|
function Qi(e) {
|
3942
|
-
if (e === null ||
|
3942
|
+
if (e === null || je(e) || sc(e))
|
3943
3943
|
return 1;
|
3944
3944
|
if (lc(e))
|
3945
3945
|
return 2;
|
@@ -4066,13 +4066,13 @@ function yc(e, t, n) {
|
|
4066
4066
|
}
|
4067
4067
|
function m(d) {
|
4068
4068
|
if ((d === 45 || Oe(d)) && r++ < 63) {
|
4069
|
-
const
|
4070
|
-
return e.consume(d),
|
4069
|
+
const T = d === 45 ? m : f;
|
4070
|
+
return e.consume(d), T;
|
4071
4071
|
}
|
4072
4072
|
return n(d);
|
4073
4073
|
}
|
4074
4074
|
}
|
4075
|
-
const
|
4075
|
+
const In = {
|
4076
4076
|
tokenize: Mc,
|
4077
4077
|
partial: !0
|
4078
4078
|
};
|
@@ -4149,9 +4149,9 @@ function Fr(e) {
|
|
4149
4149
|
}
|
4150
4150
|
const ia = {
|
4151
4151
|
name: "characterReference",
|
4152
|
-
tokenize:
|
4152
|
+
tokenize: Ic
|
4153
4153
|
};
|
4154
|
-
function
|
4154
|
+
function Ic(e, t, n) {
|
4155
4155
|
const r = this;
|
4156
4156
|
let i = 0, o, a;
|
4157
4157
|
return l;
|
@@ -4173,14 +4173,14 @@ function Tc(e, t, n) {
|
|
4173
4173
|
}
|
4174
4174
|
}
|
4175
4175
|
const $i = {
|
4176
|
-
tokenize:
|
4176
|
+
tokenize: Dc,
|
4177
4177
|
partial: !0
|
4178
4178
|
}, qi = {
|
4179
4179
|
name: "codeFenced",
|
4180
|
-
tokenize:
|
4180
|
+
tokenize: Tc,
|
4181
4181
|
concrete: !0
|
4182
4182
|
};
|
4183
|
-
function
|
4183
|
+
function Tc(e, t, n) {
|
4184
4184
|
const r = this, i = {
|
4185
4185
|
tokenize: U,
|
4186
4186
|
partial: !0
|
@@ -4208,10 +4208,10 @@ function Dc(e, t, n) {
|
|
4208
4208
|
function d(b) {
|
4209
4209
|
return b === null || V(b) ? f(b) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
4210
4210
|
contentType: "string"
|
4211
|
-
}),
|
4211
|
+
}), T(b));
|
4212
4212
|
}
|
4213
|
-
function
|
4214
|
-
return b === null || V(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(b)) : b === 96 && b === l ? n(b) : (e.consume(b),
|
4213
|
+
function T(b) {
|
4214
|
+
return b === null || V(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(b)) : b === 96 && b === l ? n(b) : (e.consume(b), T);
|
4215
4215
|
}
|
4216
4216
|
function x(b) {
|
4217
4217
|
return e.attempt(i, H, A)(b);
|
@@ -4222,16 +4222,16 @@ function Dc(e, t, n) {
|
|
4222
4222
|
function M(b) {
|
4223
4223
|
return o > 0 && te(b) ? pe(
|
4224
4224
|
e,
|
4225
|
-
|
4225
|
+
j,
|
4226
4226
|
"linePrefix",
|
4227
4227
|
o + 1
|
4228
|
-
)(b) :
|
4228
|
+
)(b) : j(b);
|
4229
4229
|
}
|
4230
|
-
function
|
4230
|
+
function j(b) {
|
4231
4231
|
return b === null || V(b) ? e.check($i, x, H)(b) : (e.enter("codeFlowValue"), C(b));
|
4232
4232
|
}
|
4233
4233
|
function C(b) {
|
4234
|
-
return b === null || V(b) ? (e.exit("codeFlowValue"),
|
4234
|
+
return b === null || V(b) ? (e.exit("codeFlowValue"), j(b)) : (e.consume(b), C);
|
4235
4235
|
}
|
4236
4236
|
function H(b) {
|
4237
4237
|
return e.exit("codeFenced"), t(b);
|
@@ -4261,7 +4261,7 @@ function Dc(e, t, n) {
|
|
4261
4261
|
}
|
4262
4262
|
}
|
4263
4263
|
}
|
4264
|
-
function
|
4264
|
+
function Dc(e, t, n) {
|
4265
4265
|
const r = this;
|
4266
4266
|
return i;
|
4267
4267
|
function i(a) {
|
@@ -4275,7 +4275,7 @@ const nr = {
|
|
4275
4275
|
name: "codeIndented",
|
4276
4276
|
tokenize: kc
|
4277
4277
|
}, Nc = {
|
4278
|
-
tokenize:
|
4278
|
+
tokenize: jc,
|
4279
4279
|
partial: !0
|
4280
4280
|
};
|
4281
4281
|
function kc(e, t, n) {
|
@@ -4298,7 +4298,7 @@ function kc(e, t, n) {
|
|
4298
4298
|
return e.exit("codeIndented"), t(u);
|
4299
4299
|
}
|
4300
4300
|
}
|
4301
|
-
function
|
4301
|
+
function jc(e, t, n) {
|
4302
4302
|
const r = this;
|
4303
4303
|
return i;
|
4304
4304
|
function i(a) {
|
@@ -4309,7 +4309,7 @@ function Ec(e, t, n) {
|
|
4309
4309
|
return l && l[1].type === "linePrefix" && l[2].sliceSerialize(l[1], !0).length >= 4 ? t(a) : V(a) ? i(a) : n(a);
|
4310
4310
|
}
|
4311
4311
|
}
|
4312
|
-
const
|
4312
|
+
const Ec = {
|
4313
4313
|
name: "codeText",
|
4314
4314
|
tokenize: Sc,
|
4315
4315
|
resolve: Cc,
|
@@ -4373,7 +4373,7 @@ function Oc(e, t) {
|
|
4373
4373
|
const n = e[t][1], r = e[t][2];
|
4374
4374
|
let i = t - 1;
|
4375
4375
|
const o = [], a = n._tokenizer || r.parser[n.contentType](n.start), l = a.events, s = [], u = {};
|
4376
|
-
let c, f, m = -1, d = n,
|
4376
|
+
let c, f, m = -1, d = n, T = 0, x = 0;
|
4377
4377
|
const A = [x];
|
4378
4378
|
for (; d; ) {
|
4379
4379
|
for (; e[++i][1] !== d; )
|
@@ -4384,11 +4384,11 @@ function Oc(e, t) {
|
|
4384
4384
|
// Find a void token that includes a break.
|
4385
4385
|
l[m][0] === "exit" && l[m - 1][0] === "enter" && l[m][1].type === l[m - 1][1].type && l[m][1].start.line !== l[m][1].end.line && (x = m + 1, A.push(x), d._tokenizer = void 0, d.previous = void 0, d = d.next);
|
4386
4386
|
for (a.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : A.pop(), m = A.length; m--; ) {
|
4387
|
-
const M = l.slice(A[m], A[m + 1]),
|
4388
|
-
s.unshift([
|
4387
|
+
const M = l.slice(A[m], A[m + 1]), j = o.pop();
|
4388
|
+
s.unshift([j, j + M.length - 1]), Ve(e, j, 2, M);
|
4389
4389
|
}
|
4390
4390
|
for (m = -1; ++m < s.length; )
|
4391
|
-
u[
|
4391
|
+
u[T + s[m][0]] = T + s[m][1], T += s[m][1] - s[m][0] - 1;
|
4392
4392
|
return u;
|
4393
4393
|
}
|
4394
4394
|
const zc = {
|
@@ -4454,13 +4454,13 @@ function aa(e, t, n, r, i, o, a, l, s) {
|
|
4454
4454
|
}), d(M));
|
4455
4455
|
}
|
4456
4456
|
function d(M) {
|
4457
|
-
return M === 62 ? (e.exit("chunkString"), e.exit(l), m(M)) : M === null || M === 60 || V(M) ? n(M) : (e.consume(M), M === 92 ?
|
4457
|
+
return M === 62 ? (e.exit("chunkString"), e.exit(l), m(M)) : M === null || M === 60 || V(M) ? n(M) : (e.consume(M), M === 92 ? T : d);
|
4458
4458
|
}
|
4459
|
-
function
|
4459
|
+
function T(M) {
|
4460
4460
|
return M === 60 || M === 62 || M === 92 ? (e.consume(M), d) : d(M);
|
4461
4461
|
}
|
4462
4462
|
function x(M) {
|
4463
|
-
return !c && (M === null || M === 41 ||
|
4463
|
+
return !c && (M === null || M === 41 || je(M)) ? (e.exit("chunkString"), e.exit(l), e.exit(a), e.exit(r), t(M)) : c < u && M === 40 ? (e.consume(M), c++, x) : M === 41 ? (e.consume(M), c--, x) : M === null || M === 32 || M === 40 || Mr(M) ? n(M) : (e.consume(M), M === 92 ? A : x);
|
4464
4464
|
}
|
4465
4465
|
function A(M) {
|
4466
4466
|
return M === 40 || M === 41 || M === 92 ? (e.consume(M), x) : x(M);
|
@@ -4557,7 +4557,7 @@ function Bc(e, t, n) {
|
|
4557
4557
|
), d === 58 ? (e.enter("definitionMarker"), e.consume(d), e.exit("definitionMarker"), s) : n(d);
|
4558
4558
|
}
|
4559
4559
|
function s(d) {
|
4560
|
-
return
|
4560
|
+
return je(d) ? Yt(e, u)(d) : u(d);
|
4561
4561
|
}
|
4562
4562
|
function u(d) {
|
4563
4563
|
return aa(
|
@@ -4585,7 +4585,7 @@ function Bc(e, t, n) {
|
|
4585
4585
|
function Qc(e, t, n) {
|
4586
4586
|
return r;
|
4587
4587
|
function r(l) {
|
4588
|
-
return
|
4588
|
+
return je(l) ? Yt(e, i)(l) : n(l);
|
4589
4589
|
}
|
4590
4590
|
function i(l) {
|
4591
4591
|
return sa(
|
@@ -4650,7 +4650,7 @@ function Vc(e, t, n) {
|
|
4650
4650
|
return e.enter("atxHeadingSequence"), a(c);
|
4651
4651
|
}
|
4652
4652
|
function a(c) {
|
4653
|
-
return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null ||
|
4653
|
+
return c === 35 && r++ < 6 ? (e.consume(c), a) : c === null || je(c) ? (e.exit("atxHeadingSequence"), l(c)) : n(c);
|
4654
4654
|
}
|
4655
4655
|
function l(c) {
|
4656
4656
|
return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || V(c) ? (e.exit("atxHeading"), t(c)) : te(c) ? pe(e, l, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
|
@@ -4659,7 +4659,7 @@ function Vc(e, t, n) {
|
|
4659
4659
|
return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), l(c));
|
4660
4660
|
}
|
4661
4661
|
function u(c) {
|
4662
|
-
return c === null || c === 35 ||
|
4662
|
+
return c === null || c === 35 || je(c) ? (e.exit("atxHeadingText"), l(c)) : (e.consume(c), u);
|
4663
4663
|
}
|
4664
4664
|
}
|
4665
4665
|
const Wc = [
|
@@ -4757,30 +4757,30 @@ function Jc(e, t, n) {
|
|
4757
4757
|
return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, x) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : g) : qe(h) ? (e.consume(h), a = String.fromCharCode(h), A) : n(h);
|
4758
4758
|
}
|
4759
4759
|
function m(h) {
|
4760
|
-
return h === 45 ? (e.consume(h), i = 2, d) : h === 91 ? (e.consume(h), i = 5, l = 0,
|
4760
|
+
return h === 45 ? (e.consume(h), i = 2, d) : h === 91 ? (e.consume(h), i = 5, l = 0, T) : qe(h) ? (e.consume(h), i = 4, r.interrupt ? t : g) : n(h);
|
4761
4761
|
}
|
4762
4762
|
function d(h) {
|
4763
4763
|
return h === 45 ? (e.consume(h), r.interrupt ? t : g) : n(h);
|
4764
4764
|
}
|
4765
|
-
function
|
4765
|
+
function T(h) {
|
4766
4766
|
const ge = "CDATA[";
|
4767
|
-
return h === ge.charCodeAt(l++) ? (e.consume(h), l === ge.length ? r.interrupt ? t : w :
|
4767
|
+
return h === ge.charCodeAt(l++) ? (e.consume(h), l === ge.length ? r.interrupt ? t : w : T) : n(h);
|
4768
4768
|
}
|
4769
4769
|
function x(h) {
|
4770
4770
|
return qe(h) ? (e.consume(h), a = String.fromCharCode(h), A) : n(h);
|
4771
4771
|
}
|
4772
4772
|
function A(h) {
|
4773
|
-
if (h === null || h === 47 || h === 62 ||
|
4774
|
-
const ge = h === 47,
|
4775
|
-
return !ge && !o && Vi.includes(
|
4773
|
+
if (h === null || h === 47 || h === 62 || je(h)) {
|
4774
|
+
const ge = h === 47, Ie = a.toLowerCase();
|
4775
|
+
return !ge && !o && Vi.includes(Ie) ? (i = 1, r.interrupt ? t(h) : w(h)) : Wc.includes(a.toLowerCase()) ? (i = 6, ge ? (e.consume(h), M) : r.interrupt ? t(h) : w(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? j(h) : C(h));
|
4776
4776
|
}
|
4777
4777
|
return h === 45 || Oe(h) ? (e.consume(h), a += String.fromCharCode(h), A) : n(h);
|
4778
4778
|
}
|
4779
4779
|
function M(h) {
|
4780
4780
|
return h === 62 ? (e.consume(h), r.interrupt ? t : w) : n(h);
|
4781
4781
|
}
|
4782
|
-
function
|
4783
|
-
return te(h) ? (e.consume(h),
|
4782
|
+
function j(h) {
|
4783
|
+
return te(h) ? (e.consume(h), j) : K(h);
|
4784
4784
|
}
|
4785
4785
|
function C(h) {
|
4786
4786
|
return h === 47 ? (e.consume(h), K) : h === 58 || h === 95 || qe(h) ? (e.consume(h), H) : te(h) ? (e.consume(h), C) : K(h);
|
@@ -4798,7 +4798,7 @@ function Jc(e, t, n) {
|
|
4798
4798
|
return h === s ? (e.consume(h), s = null, G) : h === null || V(h) ? n(h) : (e.consume(h), F);
|
4799
4799
|
}
|
4800
4800
|
function q(h) {
|
4801
|
-
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 ||
|
4801
|
+
return h === null || h === 34 || h === 39 || h === 47 || h === 60 || h === 61 || h === 62 || h === 96 || je(h) ? U(h) : (e.consume(h), q);
|
4802
4802
|
}
|
4803
4803
|
function G(h) {
|
4804
4804
|
return h === 47 || h === 62 || te(h) ? C(h) : n(h);
|
@@ -4868,7 +4868,7 @@ function ep(e, t, n) {
|
|
4868
4868
|
function tp(e, t, n) {
|
4869
4869
|
return r;
|
4870
4870
|
function r(i) {
|
4871
|
-
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(
|
4871
|
+
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(In, t, n);
|
4872
4872
|
}
|
4873
4873
|
}
|
4874
4874
|
const np = {
|
@@ -4886,7 +4886,7 @@ function rp(e, t, n) {
|
|
4886
4886
|
return g === 33 ? (e.consume(g), u) : g === 47 ? (e.consume(g), U) : g === 63 ? (e.consume(g), C) : qe(g) ? (e.consume(g), q) : n(g);
|
4887
4887
|
}
|
4888
4888
|
function u(g) {
|
4889
|
-
return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0,
|
4889
|
+
return g === 45 ? (e.consume(g), c) : g === 91 ? (e.consume(g), o = 0, T) : qe(g) ? (e.consume(g), j) : n(g);
|
4890
4890
|
}
|
4891
4891
|
function c(g) {
|
4892
4892
|
return g === 45 ? (e.consume(g), d) : n(g);
|
@@ -4900,9 +4900,9 @@ function rp(e, t, n) {
|
|
4900
4900
|
function d(g) {
|
4901
4901
|
return g === 62 ? B(g) : g === 45 ? m(g) : f(g);
|
4902
4902
|
}
|
4903
|
-
function
|
4903
|
+
function T(g) {
|
4904
4904
|
const se = "CDATA[";
|
4905
|
-
return g === se.charCodeAt(o++) ? (e.consume(g), o === se.length ? x :
|
4905
|
+
return g === se.charCodeAt(o++) ? (e.consume(g), o === se.length ? x : T) : n(g);
|
4906
4906
|
}
|
4907
4907
|
function x(g) {
|
4908
4908
|
return g === null ? n(g) : g === 93 ? (e.consume(g), A) : V(g) ? (a = x, _(g)) : (e.consume(g), x);
|
@@ -4913,8 +4913,8 @@ function rp(e, t, n) {
|
|
4913
4913
|
function M(g) {
|
4914
4914
|
return g === 62 ? B(g) : g === 93 ? (e.consume(g), M) : x(g);
|
4915
4915
|
}
|
4916
|
-
function
|
4917
|
-
return g === null || g === 62 ? B(g) : V(g) ? (a =
|
4916
|
+
function j(g) {
|
4917
|
+
return g === null || g === 62 ? B(g) : V(g) ? (a = j, _(g)) : (e.consume(g), j);
|
4918
4918
|
}
|
4919
4919
|
function C(g) {
|
4920
4920
|
return g === null ? n(g) : g === 63 ? (e.consume(g), H) : V(g) ? (a = C, _(g)) : (e.consume(g), C);
|
@@ -4932,7 +4932,7 @@ function rp(e, t, n) {
|
|
4932
4932
|
return V(g) ? (a = F, _(g)) : te(g) ? (e.consume(g), F) : B(g);
|
4933
4933
|
}
|
4934
4934
|
function q(g) {
|
4935
|
-
return g === 45 || Oe(g) ? (e.consume(g), q) : g === 47 || g === 62 ||
|
4935
|
+
return g === 45 || Oe(g) ? (e.consume(g), q) : g === 47 || g === 62 || je(g) ? G(g) : n(g);
|
4936
4936
|
}
|
4937
4937
|
function G(g) {
|
4938
4938
|
return g === 47 ? (e.consume(g), B) : g === 58 || g === 95 || qe(g) ? (e.consume(g), K) : V(g) ? (a = G, _(g)) : te(g) ? (e.consume(g), G) : B(g);
|
@@ -4950,10 +4950,10 @@ function rp(e, t, n) {
|
|
4950
4950
|
return g === i ? (e.consume(g), i = void 0, L) : g === null ? n(g) : V(g) ? (a = N, _(g)) : (e.consume(g), N);
|
4951
4951
|
}
|
4952
4952
|
function z(g) {
|
4953
|
-
return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 ||
|
4953
|
+
return g === null || g === 34 || g === 39 || g === 60 || g === 61 || g === 96 ? n(g) : g === 47 || g === 62 || je(g) ? G(g) : (e.consume(g), z);
|
4954
4954
|
}
|
4955
4955
|
function L(g) {
|
4956
|
-
return g === 47 || g === 62 ||
|
4956
|
+
return g === 47 || g === 62 || je(g) ? G(g) : n(g);
|
4957
4957
|
}
|
4958
4958
|
function B(g) {
|
4959
4959
|
return g === 62 ? (e.consume(g), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(g);
|
@@ -5087,7 +5087,7 @@ function cp(e, t, n) {
|
|
5087
5087
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), i;
|
5088
5088
|
}
|
5089
5089
|
function i(f) {
|
5090
|
-
return
|
5090
|
+
return je(f) ? Yt(e, o)(f) : o(f);
|
5091
5091
|
}
|
5092
5092
|
function o(f) {
|
5093
5093
|
return f === 41 ? c(f) : aa(
|
@@ -5103,7 +5103,7 @@ function cp(e, t, n) {
|
|
5103
5103
|
)(f);
|
5104
5104
|
}
|
5105
5105
|
function a(f) {
|
5106
|
-
return
|
5106
|
+
return je(f) ? Yt(e, s)(f) : c(f);
|
5107
5107
|
}
|
5108
5108
|
function l(f) {
|
5109
5109
|
return n(f);
|
@@ -5119,7 +5119,7 @@ function cp(e, t, n) {
|
|
5119
5119
|
)(f) : c(f);
|
5120
5120
|
}
|
5121
5121
|
function u(f) {
|
5122
|
-
return
|
5122
|
+
return je(f) ? Yt(e, c)(f) : c(f);
|
5123
5123
|
}
|
5124
5124
|
function c(f) {
|
5125
5125
|
return f === 41 ? (e.enter("resourceMarker"), e.consume(f), e.exit("resourceMarker"), e.exit("resource"), t) : n(f);
|
@@ -5228,12 +5228,12 @@ const ke = {
|
|
5228
5228
|
continuation: {
|
5229
5229
|
tokenize: vp
|
5230
5230
|
},
|
5231
|
-
exit:
|
5231
|
+
exit: Tp
|
5232
5232
|
}, bp = {
|
5233
|
-
tokenize:
|
5233
|
+
tokenize: Dp,
|
5234
5234
|
partial: !0
|
5235
5235
|
}, xp = {
|
5236
|
-
tokenize:
|
5236
|
+
tokenize: Ip,
|
5237
5237
|
partial: !0
|
5238
5238
|
};
|
5239
5239
|
function wp(e, t, n) {
|
@@ -5241,11 +5241,11 @@ function wp(e, t, n) {
|
|
5241
5241
|
let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, a = 0;
|
5242
5242
|
return l;
|
5243
5243
|
function l(d) {
|
5244
|
-
const
|
5245
|
-
if (
|
5246
|
-
if (r.containerState.type || (r.containerState.type =
|
5244
|
+
const T = r.containerState.type || (d === 42 || d === 43 || d === 45 ? "listUnordered" : "listOrdered");
|
5245
|
+
if (T === "listUnordered" ? !r.containerState.marker || d === r.containerState.marker : br(d)) {
|
5246
|
+
if (r.containerState.type || (r.containerState.type = T, e.enter(T, {
|
5247
5247
|
_container: !0
|
5248
|
-
})),
|
5248
|
+
})), T === "listUnordered")
|
5249
5249
|
return e.enter("listItemPrefix"), d === 42 || d === 45 ? e.check(pn, n, u)(d) : u(d);
|
5250
5250
|
if (!r.interrupt || d === 49)
|
5251
5251
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), s(d);
|
@@ -5257,7 +5257,7 @@ function wp(e, t, n) {
|
|
5257
5257
|
}
|
5258
5258
|
function u(d) {
|
5259
5259
|
return e.enter("listItemMarker"), e.consume(d), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || d, e.check(
|
5260
|
-
|
5260
|
+
In,
|
5261
5261
|
// Can’t be empty when interrupting.
|
5262
5262
|
r.interrupt ? n : c,
|
5263
5263
|
e.attempt(
|
@@ -5279,7 +5279,7 @@ function wp(e, t, n) {
|
|
5279
5279
|
}
|
5280
5280
|
function vp(e, t, n) {
|
5281
5281
|
const r = this;
|
5282
|
-
return r.containerState._closeFlow = void 0, e.check(
|
5282
|
+
return r.containerState._closeFlow = void 0, e.check(In, i, o);
|
5283
5283
|
function i(l) {
|
5284
5284
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, pe(
|
5285
5285
|
e,
|
@@ -5300,7 +5300,7 @@ function vp(e, t, n) {
|
|
5300
5300
|
)(l);
|
5301
5301
|
}
|
5302
5302
|
}
|
5303
|
-
function
|
5303
|
+
function Ip(e, t, n) {
|
5304
5304
|
const r = this;
|
5305
5305
|
return pe(
|
5306
5306
|
e,
|
@@ -5313,10 +5313,10 @@ function Tp(e, t, n) {
|
|
5313
5313
|
return a && a[1].type === "listItemIndent" && a[2].sliceSerialize(a[1], !0).length === r.containerState.size ? t(o) : n(o);
|
5314
5314
|
}
|
5315
5315
|
}
|
5316
|
-
function
|
5316
|
+
function Tp(e) {
|
5317
5317
|
e.exit(this.containerState.type);
|
5318
5318
|
}
|
5319
|
-
function
|
5319
|
+
function Dp(e, t, n) {
|
5320
5320
|
const r = this;
|
5321
5321
|
return pe(
|
5322
5322
|
e,
|
@@ -5375,13 +5375,13 @@ function kp(e, t, n) {
|
|
5375
5375
|
return u === null || V(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u);
|
5376
5376
|
}
|
5377
5377
|
}
|
5378
|
-
const
|
5379
|
-
tokenize:
|
5378
|
+
const jp = {
|
5379
|
+
tokenize: Ep
|
5380
5380
|
};
|
5381
|
-
function
|
5381
|
+
function Ep(e) {
|
5382
5382
|
const t = this, n = e.attempt(
|
5383
5383
|
// Try to parse a blank line.
|
5384
|
-
|
5384
|
+
In,
|
5385
5385
|
r,
|
5386
5386
|
// Try to parse initial flow (essentially, only code).
|
5387
5387
|
e.attempt(
|
@@ -5523,7 +5523,7 @@ function zp(e, t, n) {
|
|
5523
5523
|
const i = {}, o = [];
|
5524
5524
|
let a = [], l = [];
|
5525
5525
|
const s = {
|
5526
|
-
consume:
|
5526
|
+
consume: j,
|
5527
5527
|
enter: C,
|
5528
5528
|
exit: H,
|
5529
5529
|
attempt: F(U),
|
@@ -5539,7 +5539,7 @@ function zp(e, t, n) {
|
|
5539
5539
|
parser: e,
|
5540
5540
|
sliceStream: d,
|
5541
5541
|
sliceSerialize: m,
|
5542
|
-
now:
|
5542
|
+
now: T,
|
5543
5543
|
defineSkip: x,
|
5544
5544
|
write: f
|
5545
5545
|
};
|
@@ -5554,7 +5554,7 @@ function zp(e, t, n) {
|
|
5554
5554
|
function d(O) {
|
5555
5555
|
return Lp(a, O);
|
5556
5556
|
}
|
5557
|
-
function
|
5557
|
+
function T() {
|
5558
5558
|
const { line: O, column: w, offset: N, _index: z, _bufferIndex: L } = r;
|
5559
5559
|
return {
|
5560
5560
|
line: O,
|
@@ -5581,16 +5581,16 @@ function zp(e, t, n) {
|
|
5581
5581
|
function M(O) {
|
5582
5582
|
c = c(O);
|
5583
5583
|
}
|
5584
|
-
function
|
5584
|
+
function j(O) {
|
5585
5585
|
V(O) ? (r.line++, r.column = 1, r.offset += O === -3 ? 2 : 1, K()) : O !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = O;
|
5586
5586
|
}
|
5587
5587
|
function C(O, w) {
|
5588
5588
|
const N = w || {};
|
5589
|
-
return N.type = O, N.start =
|
5589
|
+
return N.type = O, N.start = T(), u.events.push(["enter", N, u]), l.push(N), N;
|
5590
5590
|
}
|
5591
5591
|
function H(O) {
|
5592
5592
|
const w = l.pop();
|
5593
|
-
return w.end =
|
5593
|
+
return w.end = T(), u.events.push(["exit", w, u]), w;
|
5594
5594
|
}
|
5595
5595
|
function U(O, w) {
|
5596
5596
|
q(O, w.from);
|
@@ -5607,8 +5607,8 @@ function zp(e, t, n) {
|
|
5607
5607
|
ye([z])
|
5608
5608
|
) : se(z);
|
5609
5609
|
function se(ie) {
|
5610
|
-
return
|
5611
|
-
function
|
5610
|
+
return Te;
|
5611
|
+
function Te(xe) {
|
5612
5612
|
const Be = xe !== null && ie[xe], ze = xe !== null && ie.null, Ke = [
|
5613
5613
|
// To do: add more extension tests.
|
5614
5614
|
/* c8 ignore next 2 */
|
@@ -5622,23 +5622,23 @@ function zp(e, t, n) {
|
|
5622
5622
|
return _ = ie, W = 0, ie.length === 0 ? B : h(ie[W]);
|
5623
5623
|
}
|
5624
5624
|
function h(ie) {
|
5625
|
-
return
|
5626
|
-
function
|
5627
|
-
return g = G(), re = ie, ie.partial || (u.currentConstruct = ie), ie.name && u.parser.constructs.disable.null.includes(ie.name) ?
|
5625
|
+
return Te;
|
5626
|
+
function Te(xe) {
|
5627
|
+
return g = G(), re = ie, ie.partial || (u.currentConstruct = ie), ie.name && u.parser.constructs.disable.null.includes(ie.name) ? Ie() : ie.tokenize.call(
|
5628
5628
|
// If we do have fields, create an object w/ `context` as its
|
5629
5629
|
// prototype.
|
5630
5630
|
// This allows a “live binding”, which is needed for `interrupt`.
|
5631
5631
|
w ? Object.assign(Object.create(u), w) : u,
|
5632
5632
|
s,
|
5633
5633
|
ge,
|
5634
|
-
|
5634
|
+
Ie
|
5635
5635
|
)(xe);
|
5636
5636
|
}
|
5637
5637
|
}
|
5638
5638
|
function ge(ie) {
|
5639
5639
|
return O(re, g), L;
|
5640
5640
|
}
|
5641
|
-
function
|
5641
|
+
function Ie(ie) {
|
5642
5642
|
return g.restore(), ++W < _.length ? h(_[W]) : B;
|
5643
5643
|
}
|
5644
5644
|
}
|
@@ -5652,7 +5652,7 @@ function zp(e, t, n) {
|
|
5652
5652
|
), O.resolveTo && (u.events = O.resolveTo(u.events, u));
|
5653
5653
|
}
|
5654
5654
|
function G() {
|
5655
|
-
const O =
|
5655
|
+
const O = T(), w = u.previous, N = u.currentConstruct, z = u.events.length, L = Array.from(l);
|
5656
5656
|
return {
|
5657
5657
|
restore: B,
|
5658
5658
|
from: z
|
@@ -5766,7 +5766,7 @@ const Pp = {
|
|
5766
5766
|
92: [Yc, ra],
|
5767
5767
|
93: Pr,
|
5768
5768
|
95: xr,
|
5769
|
-
96:
|
5769
|
+
96: Ec
|
5770
5770
|
}, Yp = {
|
5771
5771
|
null: [xr, Cp]
|
5772
5772
|
}, Hp = {
|
@@ -5795,7 +5795,7 @@ function Vp(e) {
|
|
5795
5795
|
constructs: n,
|
5796
5796
|
content: i(uc),
|
5797
5797
|
document: i(pc),
|
5798
|
-
flow: i(
|
5798
|
+
flow: i(jp),
|
5799
5799
|
string: i(Ap),
|
5800
5800
|
text: i(Sp)
|
5801
5801
|
};
|
@@ -5914,7 +5914,7 @@ function ef(e) {
|
|
5914
5914
|
codeTextData: O,
|
5915
5915
|
data: O,
|
5916
5916
|
codeFlowValue: O,
|
5917
|
-
definition: l(
|
5917
|
+
definition: l(jt),
|
5918
5918
|
definitionDestinationString: s,
|
5919
5919
|
definitionLabelString: s,
|
5920
5920
|
definitionTitleString: s,
|
@@ -5928,18 +5928,18 @@ function ef(e) {
|
|
5928
5928
|
image: l(oe),
|
5929
5929
|
label: s,
|
5930
5930
|
link: l(me),
|
5931
|
-
listItem: l(
|
5932
|
-
listItemValue:
|
5931
|
+
listItem: l(Ee),
|
5932
|
+
listItemValue: T,
|
5933
5933
|
listOrdered: l(he, d),
|
5934
5934
|
listUnordered: l(he),
|
5935
5935
|
paragraph: l(be),
|
5936
|
-
reference:
|
5936
|
+
reference: Ie,
|
5937
5937
|
referenceString: s,
|
5938
5938
|
resourceDestinationString: s,
|
5939
5939
|
resourceTitleString: s,
|
5940
5940
|
setextHeading: l(ot),
|
5941
5941
|
strong: l(lt),
|
5942
|
-
thematicBreak: l(
|
5942
|
+
thematicBreak: l(Et)
|
5943
5943
|
},
|
5944
5944
|
exit: {
|
5945
5945
|
atxHeading: c(),
|
@@ -5949,10 +5949,10 @@ function ef(e) {
|
|
5949
5949
|
autolinkProtocol: Be,
|
5950
5950
|
blockQuote: c(),
|
5951
5951
|
characterEscapeValue: w,
|
5952
|
-
characterReferenceMarkerHexadecimal:
|
5953
|
-
characterReferenceMarkerNumeric:
|
5952
|
+
characterReferenceMarkerHexadecimal: Te,
|
5953
|
+
characterReferenceMarkerNumeric: Te,
|
5954
5954
|
characterReferenceValue: xe,
|
5955
|
-
codeFenced: c(
|
5955
|
+
codeFenced: c(j),
|
5956
5956
|
codeFencedFence: M,
|
5957
5957
|
codeFencedFenceInfo: x,
|
5958
5958
|
codeFencedFenceMeta: A,
|
@@ -5995,13 +5995,13 @@ function ef(e) {
|
|
5995
5995
|
da(t, (e || {}).mdastExtensions || []);
|
5996
5996
|
const n = {};
|
5997
5997
|
return r;
|
5998
|
-
function r(
|
5999
|
-
let
|
5998
|
+
function r(D) {
|
5999
|
+
let E = {
|
6000
6000
|
type: "root",
|
6001
6001
|
children: []
|
6002
6002
|
};
|
6003
6003
|
const $ = {
|
6004
|
-
stack: [
|
6004
|
+
stack: [E],
|
6005
6005
|
tokenStack: [],
|
6006
6006
|
config: t,
|
6007
6007
|
enter: u,
|
@@ -6012,69 +6012,69 @@ function ef(e) {
|
|
6012
6012
|
getData: a
|
6013
6013
|
}, ee = [];
|
6014
6014
|
let ne = -1;
|
6015
|
-
for (; ++ne <
|
6016
|
-
if (
|
6017
|
-
if (
|
6015
|
+
for (; ++ne < D.length; )
|
6016
|
+
if (D[ne][1].type === "listOrdered" || D[ne][1].type === "listUnordered")
|
6017
|
+
if (D[ne][0] === "enter")
|
6018
6018
|
ee.push(ne);
|
6019
6019
|
else {
|
6020
6020
|
const Ne = ee.pop();
|
6021
|
-
ne = i(
|
6021
|
+
ne = i(D, Ne, ne);
|
6022
6022
|
}
|
6023
|
-
for (ne = -1; ++ne <
|
6024
|
-
const Ne = t[
|
6025
|
-
fa.call(Ne,
|
6023
|
+
for (ne = -1; ++ne < D.length; ) {
|
6024
|
+
const Ne = t[D[ne][0]];
|
6025
|
+
fa.call(Ne, D[ne][1].type) && Ne[D[ne][1].type].call(
|
6026
6026
|
Object.assign(
|
6027
6027
|
{
|
6028
|
-
sliceSerialize:
|
6028
|
+
sliceSerialize: D[ne][2].sliceSerialize
|
6029
6029
|
},
|
6030
6030
|
$
|
6031
6031
|
),
|
6032
|
-
|
6032
|
+
D[ne][1]
|
6033
6033
|
);
|
6034
6034
|
}
|
6035
6035
|
if ($.tokenStack.length > 0) {
|
6036
6036
|
const Ne = $.tokenStack[$.tokenStack.length - 1];
|
6037
6037
|
(Ne[1] || Zi).call($, void 0, Ne[0]);
|
6038
6038
|
}
|
6039
|
-
for (
|
6039
|
+
for (E.position = {
|
6040
6040
|
start: Je(
|
6041
|
-
|
6041
|
+
D.length > 0 ? D[0][1].start : {
|
6042
6042
|
line: 1,
|
6043
6043
|
column: 1,
|
6044
6044
|
offset: 0
|
6045
6045
|
}
|
6046
6046
|
),
|
6047
6047
|
end: Je(
|
6048
|
-
|
6048
|
+
D.length > 0 ? D[D.length - 2][1].end : {
|
6049
6049
|
line: 1,
|
6050
6050
|
column: 1,
|
6051
6051
|
offset: 0
|
6052
6052
|
}
|
6053
6053
|
)
|
6054
6054
|
}, ne = -1; ++ne < t.transforms.length; )
|
6055
|
-
|
6056
|
-
return
|
6055
|
+
E = t.transforms[ne](E) || E;
|
6056
|
+
return E;
|
6057
6057
|
}
|
6058
|
-
function i(
|
6059
|
-
let ee =
|
6058
|
+
function i(D, E, $) {
|
6059
|
+
let ee = E - 1, ne = -1, Ne = !1, Qe, Ye, st, Ce;
|
6060
6060
|
for (; ++ee <= $; ) {
|
6061
|
-
const ue =
|
6061
|
+
const ue = D[ee];
|
6062
6062
|
if (ue[1].type === "listUnordered" || ue[1].type === "listOrdered" || ue[1].type === "blockQuote" ? (ue[0] === "enter" ? ne++ : ne--, Ce = void 0) : ue[1].type === "lineEndingBlank" ? ue[0] === "enter" && (Qe && !Ce && !ne && !st && (st = ee), Ce = void 0) : ue[1].type === "linePrefix" || ue[1].type === "listItemValue" || ue[1].type === "listItemMarker" || ue[1].type === "listItemPrefix" || ue[1].type === "listItemPrefixWhitespace" || (Ce = void 0), !ne && ue[0] === "enter" && ue[1].type === "listItemPrefix" || ne === -1 && ue[0] === "exit" && (ue[1].type === "listUnordered" || ue[1].type === "listOrdered")) {
|
6063
6063
|
if (Qe) {
|
6064
6064
|
let Ct = ee;
|
6065
6065
|
for (Ye = void 0; Ct--; ) {
|
6066
|
-
const Le =
|
6066
|
+
const Le = D[Ct];
|
6067
6067
|
if (Le[1].type === "lineEnding" || Le[1].type === "lineEndingBlank") {
|
6068
6068
|
if (Le[0] === "exit")
|
6069
6069
|
continue;
|
6070
|
-
Ye && (
|
6070
|
+
Ye && (D[Ye][1].type = "lineEndingBlank", Ne = !0), Le[1].type = "lineEnding", Ye = Ct;
|
6071
6071
|
} else if (!(Le[1].type === "linePrefix" || Le[1].type === "blockQuotePrefix" || Le[1].type === "blockQuotePrefixWhitespace" || Le[1].type === "blockQuoteMarker" || Le[1].type === "listItemIndent"))
|
6072
6072
|
break;
|
6073
6073
|
}
|
6074
6074
|
st && (!Ye || st < Ye) && (Qe._spread = !0), Qe.end = Object.assign(
|
6075
6075
|
{},
|
6076
|
-
Ye ?
|
6077
|
-
),
|
6076
|
+
Ye ? D[Ye][1].start : ue[1].end
|
6077
|
+
), D.splice(Ye || ee, 0, ["exit", Qe, ue[2]]), ee++, $++;
|
6078
6078
|
}
|
6079
6079
|
ue[1].type === "listItemPrefix" && (Qe = {
|
6080
6080
|
type: "listItem",
|
@@ -6082,21 +6082,21 @@ function ef(e) {
|
|
6082
6082
|
start: Object.assign({}, ue[1].start),
|
6083
6083
|
// @ts-expect-error: we’ll add `end` in a second.
|
6084
6084
|
end: void 0
|
6085
|
-
},
|
6085
|
+
}, D.splice(ee, 0, ["enter", Qe, ue[2]]), ee++, $++, st = void 0, Ce = !0);
|
6086
6086
|
}
|
6087
6087
|
}
|
6088
|
-
return
|
6088
|
+
return D[E][1]._spread = Ne, $;
|
6089
6089
|
}
|
6090
|
-
function o(
|
6091
|
-
n[
|
6090
|
+
function o(D, E) {
|
6091
|
+
n[D] = E;
|
6092
6092
|
}
|
6093
|
-
function a(
|
6094
|
-
return n[
|
6093
|
+
function a(D) {
|
6094
|
+
return n[D];
|
6095
6095
|
}
|
6096
|
-
function l(
|
6096
|
+
function l(D, E) {
|
6097
6097
|
return $;
|
6098
6098
|
function $(ee) {
|
6099
|
-
u.call(this,
|
6099
|
+
u.call(this, D(ee), ee), E && E.call(this, ee);
|
6100
6100
|
}
|
6101
6101
|
}
|
6102
6102
|
function s() {
|
@@ -6105,29 +6105,29 @@ function ef(e) {
|
|
6105
6105
|
children: []
|
6106
6106
|
});
|
6107
6107
|
}
|
6108
|
-
function u(
|
6109
|
-
return this.stack[this.stack.length - 1].children.push(
|
6110
|
-
start: Je(
|
6111
|
-
},
|
6108
|
+
function u(D, E, $) {
|
6109
|
+
return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([E, $]), D.position = {
|
6110
|
+
start: Je(E.start)
|
6111
|
+
}, D;
|
6112
6112
|
}
|
6113
|
-
function c(
|
6114
|
-
return
|
6115
|
-
function
|
6116
|
-
|
6113
|
+
function c(D) {
|
6114
|
+
return E;
|
6115
|
+
function E($) {
|
6116
|
+
D && D.call(this, $), f.call(this, $);
|
6117
6117
|
}
|
6118
6118
|
}
|
6119
|
-
function f(
|
6119
|
+
function f(D, E) {
|
6120
6120
|
const $ = this.stack.pop(), ee = this.tokenStack.pop();
|
6121
6121
|
if (ee)
|
6122
|
-
ee[0].type !==
|
6122
|
+
ee[0].type !== D.type && (E ? E.call(this, D, ee[0]) : (ee[1] || Zi).call(this, D, ee[0]));
|
6123
6123
|
else
|
6124
6124
|
throw new Error(
|
6125
|
-
"Cannot close `" +
|
6126
|
-
start:
|
6127
|
-
end:
|
6125
|
+
"Cannot close `" + D.type + "` (" + Qt({
|
6126
|
+
start: D.start,
|
6127
|
+
end: D.end
|
6128
6128
|
}) + "): it’s not open"
|
6129
6129
|
);
|
6130
|
-
return $.position.end = Je(
|
6130
|
+
return $.position.end = Je(D.end), $;
|
6131
6131
|
}
|
6132
6132
|
function m() {
|
6133
6133
|
return Xu(this.stack.pop());
|
@@ -6135,169 +6135,169 @@ function ef(e) {
|
|
6135
6135
|
function d() {
|
6136
6136
|
o("expectingFirstListItemValue", !0);
|
6137
6137
|
}
|
6138
|
-
function D
|
6138
|
+
function T(D) {
|
6139
6139
|
if (a("expectingFirstListItemValue")) {
|
6140
|
-
const
|
6141
|
-
|
6140
|
+
const E = this.stack[this.stack.length - 2];
|
6141
|
+
E.start = Number.parseInt(this.sliceSerialize(D), 10), o("expectingFirstListItemValue");
|
6142
6142
|
}
|
6143
6143
|
}
|
6144
6144
|
function x() {
|
6145
|
-
const
|
6146
|
-
|
6145
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6146
|
+
E.lang = D;
|
6147
6147
|
}
|
6148
6148
|
function A() {
|
6149
|
-
const
|
6150
|
-
|
6149
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6150
|
+
E.meta = D;
|
6151
6151
|
}
|
6152
6152
|
function M() {
|
6153
6153
|
a("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
|
6154
6154
|
}
|
6155
|
-
function
|
6156
|
-
const
|
6157
|
-
|
6155
|
+
function j() {
|
6156
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6157
|
+
E.value = D.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
|
6158
6158
|
}
|
6159
6159
|
function C() {
|
6160
|
-
const
|
6161
|
-
|
6160
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6161
|
+
E.value = D.replace(/(\r?\n|\r)$/g, "");
|
6162
6162
|
}
|
6163
|
-
function H(
|
6164
|
-
const
|
6165
|
-
$.label =
|
6166
|
-
this.sliceSerialize(
|
6163
|
+
function H(D) {
|
6164
|
+
const E = this.resume(), $ = this.stack[this.stack.length - 1];
|
6165
|
+
$.label = E, $.identifier = bt(
|
6166
|
+
this.sliceSerialize(D)
|
6167
6167
|
).toLowerCase();
|
6168
6168
|
}
|
6169
6169
|
function U() {
|
6170
|
-
const
|
6171
|
-
|
6170
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6171
|
+
E.title = D;
|
6172
6172
|
}
|
6173
6173
|
function b() {
|
6174
|
-
const
|
6175
|
-
|
6174
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6175
|
+
E.url = D;
|
6176
6176
|
}
|
6177
|
-
function F(
|
6178
|
-
const
|
6179
|
-
if (!
|
6180
|
-
const $ = this.sliceSerialize(
|
6181
|
-
|
6177
|
+
function F(D) {
|
6178
|
+
const E = this.stack[this.stack.length - 1];
|
6179
|
+
if (!E.depth) {
|
6180
|
+
const $ = this.sliceSerialize(D).length;
|
6181
|
+
E.depth = $;
|
6182
6182
|
}
|
6183
6183
|
}
|
6184
6184
|
function q() {
|
6185
6185
|
o("setextHeadingSlurpLineEnding", !0);
|
6186
6186
|
}
|
6187
|
-
function G(
|
6188
|
-
const
|
6189
|
-
|
6187
|
+
function G(D) {
|
6188
|
+
const E = this.stack[this.stack.length - 1];
|
6189
|
+
E.depth = this.sliceSerialize(D).charCodeAt(0) === 61 ? 1 : 2;
|
6190
6190
|
}
|
6191
6191
|
function K() {
|
6192
6192
|
o("setextHeadingSlurpLineEnding");
|
6193
6193
|
}
|
6194
|
-
function O(
|
6195
|
-
const
|
6196
|
-
let $ =
|
6194
|
+
function O(D) {
|
6195
|
+
const E = this.stack[this.stack.length - 1];
|
6196
|
+
let $ = E.children[E.children.length - 1];
|
6197
6197
|
(!$ || $.type !== "text") && ($ = Xe(), $.position = {
|
6198
|
-
start: Je(
|
6199
|
-
},
|
6198
|
+
start: Je(D.start)
|
6199
|
+
}, E.children.push($)), this.stack.push($);
|
6200
6200
|
}
|
6201
|
-
function w(
|
6202
|
-
const
|
6203
|
-
|
6201
|
+
function w(D) {
|
6202
|
+
const E = this.stack.pop();
|
6203
|
+
E.value += this.sliceSerialize(D), E.position.end = Je(D.end);
|
6204
6204
|
}
|
6205
|
-
function N(
|
6206
|
-
const
|
6205
|
+
function N(D) {
|
6206
|
+
const E = this.stack[this.stack.length - 1];
|
6207
6207
|
if (a("atHardBreak")) {
|
6208
|
-
const $ =
|
6209
|
-
$.position.end = Je(
|
6208
|
+
const $ = E.children[E.children.length - 1];
|
6209
|
+
$.position.end = Je(D.end), o("atHardBreak");
|
6210
6210
|
return;
|
6211
6211
|
}
|
6212
|
-
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(
|
6212
|
+
!a("setextHeadingSlurpLineEnding") && t.canContainEols.includes(E.type) && (O.call(this, D), w.call(this, D));
|
6213
6213
|
}
|
6214
6214
|
function z() {
|
6215
6215
|
o("atHardBreak", !0);
|
6216
6216
|
}
|
6217
6217
|
function L() {
|
6218
|
-
const
|
6219
|
-
|
6218
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6219
|
+
E.value = D;
|
6220
6220
|
}
|
6221
6221
|
function B() {
|
6222
|
-
const
|
6223
|
-
|
6222
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6223
|
+
E.value = D;
|
6224
6224
|
}
|
6225
6225
|
function _() {
|
6226
|
-
const
|
6227
|
-
|
6226
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6227
|
+
E.value = D;
|
6228
6228
|
}
|
6229
6229
|
function W() {
|
6230
|
-
const
|
6230
|
+
const D = this.stack[this.stack.length - 1];
|
6231
6231
|
if (a("inReference")) {
|
6232
|
-
const
|
6233
|
-
|
6232
|
+
const E = a("referenceType") || "shortcut";
|
6233
|
+
D.type += "Reference", D.referenceType = E, delete D.url, delete D.title;
|
6234
6234
|
} else
|
6235
|
-
delete
|
6235
|
+
delete D.identifier, delete D.label;
|
6236
6236
|
o("referenceType");
|
6237
6237
|
}
|
6238
6238
|
function re() {
|
6239
|
-
const
|
6239
|
+
const D = this.stack[this.stack.length - 1];
|
6240
6240
|
if (a("inReference")) {
|
6241
|
-
const
|
6242
|
-
|
6241
|
+
const E = a("referenceType") || "shortcut";
|
6242
|
+
D.type += "Reference", D.referenceType = E, delete D.url, delete D.title;
|
6243
6243
|
} else
|
6244
|
-
delete
|
6244
|
+
delete D.identifier, delete D.label;
|
6245
6245
|
o("referenceType");
|
6246
6246
|
}
|
6247
|
-
function g(
|
6248
|
-
const
|
6249
|
-
$.label = Kp(
|
6247
|
+
function g(D) {
|
6248
|
+
const E = this.sliceSerialize(D), $ = this.stack[this.stack.length - 2];
|
6249
|
+
$.label = Kp(E), $.identifier = bt(E).toLowerCase();
|
6250
6250
|
}
|
6251
6251
|
function se() {
|
6252
|
-
const
|
6252
|
+
const D = this.stack[this.stack.length - 1], E = this.resume(), $ = this.stack[this.stack.length - 1];
|
6253
6253
|
if (o("inReference", !0), $.type === "link") {
|
6254
|
-
const ee =
|
6254
|
+
const ee = D.children;
|
6255
6255
|
$.children = ee;
|
6256
6256
|
} else
|
6257
|
-
$.alt =
|
6257
|
+
$.alt = E;
|
6258
6258
|
}
|
6259
6259
|
function ye() {
|
6260
|
-
const
|
6261
|
-
|
6260
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6261
|
+
E.url = D;
|
6262
6262
|
}
|
6263
6263
|
function h() {
|
6264
|
-
const
|
6265
|
-
|
6264
|
+
const D = this.resume(), E = this.stack[this.stack.length - 1];
|
6265
|
+
E.title = D;
|
6266
6266
|
}
|
6267
6267
|
function ge() {
|
6268
6268
|
o("inReference");
|
6269
6269
|
}
|
6270
|
-
function
|
6270
|
+
function Ie() {
|
6271
6271
|
o("referenceType", "collapsed");
|
6272
6272
|
}
|
6273
|
-
function ie(
|
6274
|
-
const
|
6275
|
-
$.label =
|
6276
|
-
this.sliceSerialize(
|
6273
|
+
function ie(D) {
|
6274
|
+
const E = this.resume(), $ = this.stack[this.stack.length - 1];
|
6275
|
+
$.label = E, $.identifier = bt(
|
6276
|
+
this.sliceSerialize(D)
|
6277
6277
|
).toLowerCase(), o("referenceType", "full");
|
6278
6278
|
}
|
6279
|
-
function
|
6280
|
-
o("characterReferenceType",
|
6279
|
+
function Te(D) {
|
6280
|
+
o("characterReferenceType", D.type);
|
6281
6281
|
}
|
6282
|
-
function xe(
|
6283
|
-
const
|
6282
|
+
function xe(D) {
|
6283
|
+
const E = this.sliceSerialize(D), $ = a("characterReferenceType");
|
6284
6284
|
let ee;
|
6285
6285
|
$ ? (ee = pa(
|
6286
|
-
|
6286
|
+
E,
|
6287
6287
|
$ === "characterReferenceMarkerNumeric" ? 10 : 16
|
6288
|
-
), o("characterReferenceType")) : ee = Fr(
|
6288
|
+
), o("characterReferenceType")) : ee = Fr(E);
|
6289
6289
|
const ne = this.stack.pop();
|
6290
|
-
ne.value += ee, ne.position.end = Je(
|
6290
|
+
ne.value += ee, ne.position.end = Je(D.end);
|
6291
6291
|
}
|
6292
|
-
function Be(
|
6293
|
-
w.call(this,
|
6294
|
-
const
|
6295
|
-
|
6292
|
+
function Be(D) {
|
6293
|
+
w.call(this, D);
|
6294
|
+
const E = this.stack[this.stack.length - 1];
|
6295
|
+
E.url = this.sliceSerialize(D);
|
6296
6296
|
}
|
6297
|
-
function ze(
|
6298
|
-
w.call(this,
|
6299
|
-
const
|
6300
|
-
|
6297
|
+
function ze(D) {
|
6298
|
+
w.call(this, D);
|
6299
|
+
const E = this.stack[this.stack.length - 1];
|
6300
|
+
E.url = "mailto:" + this.sliceSerialize(D);
|
6301
6301
|
}
|
6302
6302
|
function Ke() {
|
6303
6303
|
return {
|
@@ -6319,7 +6319,7 @@ function ef(e) {
|
|
6319
6319
|
value: ""
|
6320
6320
|
};
|
6321
6321
|
}
|
6322
|
-
function
|
6322
|
+
function jt() {
|
6323
6323
|
return {
|
6324
6324
|
type: "definition",
|
6325
6325
|
identifier: "",
|
@@ -6368,19 +6368,19 @@ function ef(e) {
|
|
6368
6368
|
children: []
|
6369
6369
|
};
|
6370
6370
|
}
|
6371
|
-
function he(
|
6371
|
+
function he(D) {
|
6372
6372
|
return {
|
6373
6373
|
type: "list",
|
6374
|
-
ordered:
|
6374
|
+
ordered: D.type === "listOrdered",
|
6375
6375
|
start: null,
|
6376
|
-
spread:
|
6376
|
+
spread: D._spread,
|
6377
6377
|
children: []
|
6378
6378
|
};
|
6379
6379
|
}
|
6380
|
-
function
|
6380
|
+
function Ee(D) {
|
6381
6381
|
return {
|
6382
6382
|
type: "listItem",
|
6383
|
-
spread:
|
6383
|
+
spread: D._spread,
|
6384
6384
|
checked: null,
|
6385
6385
|
children: []
|
6386
6386
|
};
|
@@ -6403,7 +6403,7 @@ function ef(e) {
|
|
6403
6403
|
value: ""
|
6404
6404
|
};
|
6405
6405
|
}
|
6406
|
-
function
|
6406
|
+
function Et() {
|
6407
6407
|
return {
|
6408
6408
|
type: "thematicBreak"
|
6409
6409
|
};
|
@@ -6517,7 +6517,7 @@ function sf(e, t) {
|
|
6517
6517
|
};
|
6518
6518
|
return e.patch(t, n), e.applyData(t, n);
|
6519
6519
|
}
|
6520
|
-
function
|
6520
|
+
function Dt(e) {
|
6521
6521
|
const t = [];
|
6522
6522
|
let n = -1, r = 0, i = 0;
|
6523
6523
|
for (; ++n < e.length; ) {
|
@@ -6537,7 +6537,7 @@ function It(e) {
|
|
6537
6537
|
return t.join("") + e.slice(r);
|
6538
6538
|
}
|
6539
6539
|
function ha(e, t) {
|
6540
|
-
const n = String(t.identifier).toUpperCase(), r =
|
6540
|
+
const n = String(t.identifier).toUpperCase(), r = Dt(n.toLowerCase()), i = e.footnoteOrder.indexOf(n);
|
6541
6541
|
let o;
|
6542
6542
|
i === -1 ? (e.footnoteOrder.push(n), e.footnoteCounts[n] = 1, o = e.footnoteOrder.length) : (e.footnoteCounts[n]++, o = i + 1);
|
6543
6543
|
const a = e.footnoteCounts[n], l = {
|
@@ -6607,13 +6607,13 @@ function ff(e, t) {
|
|
6607
6607
|
const n = e.definition(t.identifier);
|
6608
6608
|
if (!n)
|
6609
6609
|
return ga(e, t);
|
6610
|
-
const r = { src:
|
6610
|
+
const r = { src: Dt(n.url || ""), alt: t.alt };
|
6611
6611
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6612
6612
|
const i = { type: "element", tagName: "img", properties: r, children: [] };
|
6613
6613
|
return e.patch(t, i), e.applyData(t, i);
|
6614
6614
|
}
|
6615
6615
|
function df(e, t) {
|
6616
|
-
const n = { src:
|
6616
|
+
const n = { src: Dt(t.url) };
|
6617
6617
|
t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
|
6618
6618
|
const r = { type: "element", tagName: "img", properties: n, children: [] };
|
6619
6619
|
return e.patch(t, r), e.applyData(t, r);
|
@@ -6633,7 +6633,7 @@ function gf(e, t) {
|
|
6633
6633
|
const n = e.definition(t.identifier);
|
6634
6634
|
if (!n)
|
6635
6635
|
return ga(e, t);
|
6636
|
-
const r = { href:
|
6636
|
+
const r = { href: Dt(n.url || "") };
|
6637
6637
|
n.title !== null && n.title !== void 0 && (r.title = n.title);
|
6638
6638
|
const i = {
|
6639
6639
|
type: "element",
|
@@ -6644,7 +6644,7 @@ function gf(e, t) {
|
|
6644
6644
|
return e.patch(t, i), e.applyData(t, i);
|
6645
6645
|
}
|
6646
6646
|
function mf(e, t) {
|
6647
|
-
const n = { href:
|
6647
|
+
const n = { href: Dt(t.url) };
|
6648
6648
|
t.title !== null && t.title !== void 0 && (n.title = t.title);
|
6649
6649
|
const r = {
|
6650
6650
|
type: "element",
|
@@ -6734,7 +6734,7 @@ function vf(e, t) {
|
|
6734
6734
|
return e.patch(t, n), e.applyData(t, n);
|
6735
6735
|
}
|
6736
6736
|
const _r = ya("start"), Rr = ya("end");
|
6737
|
-
function
|
6737
|
+
function If(e) {
|
6738
6738
|
return { start: _r(e), end: Rr(e) };
|
6739
6739
|
}
|
6740
6740
|
function ya(e) {
|
@@ -6751,7 +6751,7 @@ function ya(e) {
|
|
6751
6751
|
};
|
6752
6752
|
}
|
6753
6753
|
}
|
6754
|
-
function
|
6754
|
+
function Tf(e, t) {
|
6755
6755
|
const n = e.all(t), r = n.shift(), i = [];
|
6756
6756
|
if (r) {
|
6757
6757
|
const a = {
|
@@ -6779,15 +6779,15 @@ function Df(e, t) {
|
|
6779
6779
|
};
|
6780
6780
|
return e.patch(t, o), e.applyData(t, o);
|
6781
6781
|
}
|
6782
|
-
function
|
6782
|
+
function Df(e, t, n) {
|
6783
6783
|
const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", a = n && n.type === "table" ? n.align : void 0, l = a ? a.length : t.children.length;
|
6784
6784
|
let s = -1;
|
6785
6785
|
const u = [];
|
6786
6786
|
for (; ++s < l; ) {
|
6787
6787
|
const f = t.children[s], m = {}, d = a ? a[s] : void 0;
|
6788
6788
|
d && (m.align = d);
|
6789
|
-
let
|
6790
|
-
f && (
|
6789
|
+
let T = { type: "element", tagName: o, properties: m, children: [] };
|
6790
|
+
f && (T.children = e.all(f), e.patch(f, T), T = e.applyData(t, T)), u.push(T);
|
6791
6791
|
}
|
6792
6792
|
const c = {
|
6793
6793
|
type: "element",
|
@@ -6833,11 +6833,11 @@ function Ji(e, t, n) {
|
|
6833
6833
|
}
|
6834
6834
|
return i > r ? e.slice(r, i) : "";
|
6835
6835
|
}
|
6836
|
-
function
|
6836
|
+
function jf(e, t) {
|
6837
6837
|
const n = { type: "text", value: kf(String(t.value)) };
|
6838
6838
|
return e.patch(t, n), e.applyData(t, n);
|
6839
6839
|
}
|
6840
|
-
function
|
6840
|
+
function Ef(e, t) {
|
6841
6841
|
const n = {
|
6842
6842
|
type: "element",
|
6843
6843
|
tagName: "hr",
|
@@ -6866,11 +6866,11 @@ const Cf = {
|
|
6866
6866
|
paragraph: xf,
|
6867
6867
|
root: wf,
|
6868
6868
|
strong: vf,
|
6869
|
-
table:
|
6869
|
+
table: Tf,
|
6870
6870
|
tableCell: Nf,
|
6871
|
-
tableRow:
|
6872
|
-
text:
|
6873
|
-
thematicBreak:
|
6871
|
+
tableRow: Df,
|
6872
|
+
text: jf,
|
6873
|
+
thematicBreak: Ef,
|
6874
6874
|
toml: rn,
|
6875
6875
|
yaml: rn,
|
6876
6876
|
definition: rn,
|
@@ -6898,7 +6898,7 @@ const Ma = (
|
|
6898
6898
|
if (typeof e == "object")
|
6899
6899
|
return Array.isArray(e) ? Af(e) : Sf(e);
|
6900
6900
|
if (typeof e == "function")
|
6901
|
-
return
|
6901
|
+
return Tn(e);
|
6902
6902
|
throw new Error("Expected function, string, or object as test");
|
6903
6903
|
}
|
6904
6904
|
);
|
@@ -6907,7 +6907,7 @@ function Af(e) {
|
|
6907
6907
|
let n = -1;
|
6908
6908
|
for (; ++n < e.length; )
|
6909
6909
|
t[n] = Ma(e[n]);
|
6910
|
-
return
|
6910
|
+
return Tn(r);
|
6911
6911
|
function r(...i) {
|
6912
6912
|
let o = -1;
|
6913
6913
|
for (; ++o < t.length; )
|
@@ -6917,7 +6917,7 @@ function Af(e) {
|
|
6917
6917
|
}
|
6918
6918
|
}
|
6919
6919
|
function Sf(e) {
|
6920
|
-
return
|
6920
|
+
return Tn(t);
|
6921
6921
|
function t(n) {
|
6922
6922
|
let r;
|
6923
6923
|
for (r in e)
|
@@ -6927,12 +6927,12 @@ function Sf(e) {
|
|
6927
6927
|
}
|
6928
6928
|
}
|
6929
6929
|
function Of(e) {
|
6930
|
-
return
|
6930
|
+
return Tn(t);
|
6931
6931
|
function t(n) {
|
6932
6932
|
return n && n.type === e;
|
6933
6933
|
}
|
6934
6934
|
}
|
6935
|
-
function
|
6935
|
+
function Tn(e) {
|
6936
6936
|
return t;
|
6937
6937
|
function t(n, ...r) {
|
6938
6938
|
return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...r));
|
@@ -6975,14 +6975,14 @@ const Lf = !0, eo = !1, Ff = "skip", Pf = (
|
|
6975
6975
|
}
|
6976
6976
|
return f;
|
6977
6977
|
function f() {
|
6978
|
-
let m = [], d,
|
6978
|
+
let m = [], d, T, x;
|
6979
6979
|
if ((!t || i(l, s, u[u.length - 1] || null)) && (m = _f(n(l, u)), m[0] === eo))
|
6980
6980
|
return m;
|
6981
6981
|
if (l.children && m[0] !== Ff)
|
6982
|
-
for (
|
6983
|
-
if (d = a(l.children[
|
6982
|
+
for (T = (r ? l.children.length : -1) + o, x = u.concat(l); T > -1 && T < l.children.length; ) {
|
6983
|
+
if (d = a(l.children[T], T, x)(), d[0] === eo)
|
6984
6984
|
return d;
|
6985
|
-
|
6985
|
+
T = typeof d[1] == "number" ? d[1] : T + o;
|
6986
6986
|
}
|
6987
6987
|
return m;
|
6988
6988
|
}
|
@@ -7079,7 +7079,7 @@ function Bf(e, t) {
|
|
7079
7079
|
}
|
7080
7080
|
}
|
7081
7081
|
function Qf(e, t) {
|
7082
|
-
e.position && (t.position =
|
7082
|
+
e.position && (t.position = If(e));
|
7083
7083
|
}
|
7084
7084
|
function Yf(e, t) {
|
7085
7085
|
let n = t;
|
@@ -7144,7 +7144,7 @@ function qf(e) {
|
|
7144
7144
|
const r = e.footnoteById[e.footnoteOrder[n]];
|
7145
7145
|
if (!r)
|
7146
7146
|
continue;
|
7147
|
-
const i = e.all(r), o = String(r.identifier).toUpperCase(), a =
|
7147
|
+
const i = e.all(r), o = String(r.identifier).toUpperCase(), a = Dt(o.toLowerCase());
|
7148
7148
|
let l = 0;
|
7149
7149
|
const s = [];
|
7150
7150
|
for (; ++l <= e.footnoteCounts[o]; ) {
|
@@ -7325,7 +7325,7 @@ function Nt(e) {
|
|
7325
7325
|
}
|
7326
7326
|
return new Gt(t, n, e.space);
|
7327
7327
|
}
|
7328
|
-
const
|
7328
|
+
const Ia = Nt({
|
7329
7329
|
space: "xlink",
|
7330
7330
|
transform(e, t) {
|
7331
7331
|
return "xlink:" + t.slice(5).toLowerCase();
|
@@ -7339,25 +7339,25 @@ const Ta = Nt({
|
|
7339
7339
|
xLinkTitle: null,
|
7340
7340
|
xLinkType: null
|
7341
7341
|
}
|
7342
|
-
}),
|
7342
|
+
}), Ta = Nt({
|
7343
7343
|
space: "xml",
|
7344
7344
|
transform(e, t) {
|
7345
7345
|
return "xml:" + t.slice(3).toLowerCase();
|
7346
7346
|
},
|
7347
7347
|
properties: { xmlLang: null, xmlBase: null, xmlSpace: null }
|
7348
7348
|
});
|
7349
|
-
function
|
7349
|
+
function Da(e, t) {
|
7350
7350
|
return t in e ? e[t] : t;
|
7351
7351
|
}
|
7352
7352
|
function Na(e, t) {
|
7353
|
-
return
|
7353
|
+
return Da(e, t.toLowerCase());
|
7354
7354
|
}
|
7355
7355
|
const ka = Nt({
|
7356
7356
|
space: "xmlns",
|
7357
7357
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
7358
7358
|
transform: Na,
|
7359
7359
|
properties: { xmlns: null, xmlnsXLink: null }
|
7360
|
-
}),
|
7360
|
+
}), ja = Nt({
|
7361
7361
|
transform(e, t) {
|
7362
7362
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
7363
7363
|
},
|
@@ -7948,7 +7948,7 @@ const ka = Nt({
|
|
7948
7948
|
playbackOrder: "playbackorder",
|
7949
7949
|
timelineBegin: "timelinebegin"
|
7950
7950
|
},
|
7951
|
-
transform:
|
7951
|
+
transform: Da,
|
7952
7952
|
properties: {
|
7953
7953
|
about: Se,
|
7954
7954
|
accentHeight: S,
|
@@ -8375,7 +8375,7 @@ const oo = {
|
|
8375
8375
|
xLinkTitle: "xlinkTitle",
|
8376
8376
|
xLinkType: "xlinkType",
|
8377
8377
|
xmlnsXLink: "xmlnsXlink"
|
8378
|
-
}, ad = wa([
|
8378
|
+
}, ad = wa([Ta, Ia, ka, ja, Jf], "html"), ld = wa([Ta, Ia, ka, ja, ed], "svg");
|
8379
8379
|
function sd(e) {
|
8380
8380
|
if (e.allowedElements && e.disallowedElements)
|
8381
8381
|
throw new TypeError(
|
@@ -8394,7 +8394,7 @@ function sd(e) {
|
|
8394
8394
|
});
|
8395
8395
|
};
|
8396
8396
|
}
|
8397
|
-
var
|
8397
|
+
var Ea = { exports: {} }, ae = {};
|
8398
8398
|
/**
|
8399
8399
|
* @license React
|
8400
8400
|
* react-is.production.min.js
|
@@ -8404,7 +8404,7 @@ var ja = { exports: {} }, ae = {};
|
|
8404
8404
|
* This source code is licensed under the MIT license found in the
|
8405
8405
|
* LICENSE file in the root directory of this source tree.
|
8406
8406
|
*/
|
8407
|
-
var Yr = Symbol.for("react.element"), Hr = Symbol.for("react.portal"),
|
8407
|
+
var Yr = Symbol.for("react.element"), Hr = Symbol.for("react.portal"), Dn = Symbol.for("react.fragment"), Nn = Symbol.for("react.strict_mode"), kn = Symbol.for("react.profiler"), jn = Symbol.for("react.provider"), En = Symbol.for("react.context"), ud = Symbol.for("react.server_context"), Cn = Symbol.for("react.forward_ref"), An = Symbol.for("react.suspense"), Sn = Symbol.for("react.suspense_list"), On = Symbol.for("react.memo"), zn = Symbol.for("react.lazy"), cd = Symbol.for("react.offscreen"), Ca;
|
8408
8408
|
Ca = Symbol.for("react.module.reference");
|
8409
8409
|
function Ue(e) {
|
8410
8410
|
if (typeof e == "object" && e !== null) {
|
@@ -8412,7 +8412,7 @@ function Ue(e) {
|
|
8412
8412
|
switch (t) {
|
8413
8413
|
case Yr:
|
8414
8414
|
switch (e = e.type, e) {
|
8415
|
-
case
|
8415
|
+
case Dn:
|
8416
8416
|
case kn:
|
8417
8417
|
case Nn:
|
8418
8418
|
case An:
|
@@ -8421,11 +8421,11 @@ function Ue(e) {
|
|
8421
8421
|
default:
|
8422
8422
|
switch (e = e && e.$$typeof, e) {
|
8423
8423
|
case ud:
|
8424
|
-
case
|
8424
|
+
case En:
|
8425
8425
|
case Cn:
|
8426
8426
|
case zn:
|
8427
8427
|
case On:
|
8428
|
-
case
|
8428
|
+
case jn:
|
8429
8429
|
return e;
|
8430
8430
|
default:
|
8431
8431
|
return t;
|
@@ -8436,11 +8436,11 @@ function Ue(e) {
|
|
8436
8436
|
}
|
8437
8437
|
}
|
8438
8438
|
}
|
8439
|
-
ae.ContextConsumer =
|
8440
|
-
ae.ContextProvider =
|
8439
|
+
ae.ContextConsumer = En;
|
8440
|
+
ae.ContextProvider = jn;
|
8441
8441
|
ae.Element = Yr;
|
8442
8442
|
ae.ForwardRef = Cn;
|
8443
|
-
ae.Fragment =
|
8443
|
+
ae.Fragment = Dn;
|
8444
8444
|
ae.Lazy = zn;
|
8445
8445
|
ae.Memo = On;
|
8446
8446
|
ae.Portal = Hr;
|
@@ -8455,10 +8455,10 @@ ae.isConcurrentMode = function() {
|
|
8455
8455
|
return !1;
|
8456
8456
|
};
|
8457
8457
|
ae.isContextConsumer = function(e) {
|
8458
|
-
return Ue(e) ===
|
8458
|
+
return Ue(e) === En;
|
8459
8459
|
};
|
8460
8460
|
ae.isContextProvider = function(e) {
|
8461
|
-
return Ue(e) ===
|
8461
|
+
return Ue(e) === jn;
|
8462
8462
|
};
|
8463
8463
|
ae.isElement = function(e) {
|
8464
8464
|
return typeof e == "object" && e !== null && e.$$typeof === Yr;
|
@@ -8467,7 +8467,7 @@ ae.isForwardRef = function(e) {
|
|
8467
8467
|
return Ue(e) === Cn;
|
8468
8468
|
};
|
8469
8469
|
ae.isFragment = function(e) {
|
8470
|
-
return Ue(e) ===
|
8470
|
+
return Ue(e) === Dn;
|
8471
8471
|
};
|
8472
8472
|
ae.isLazy = function(e) {
|
8473
8473
|
return Ue(e) === zn;
|
@@ -8491,11 +8491,11 @@ ae.isSuspenseList = function(e) {
|
|
8491
8491
|
return Ue(e) === Sn;
|
8492
8492
|
};
|
8493
8493
|
ae.isValidElementType = function(e) {
|
8494
|
-
return typeof e == "string" || typeof e == "function" || e ===
|
8494
|
+
return typeof e == "string" || typeof e == "function" || e === Dn || e === kn || e === Nn || e === An || e === Sn || e === cd || typeof e == "object" && e !== null && (e.$$typeof === zn || e.$$typeof === On || e.$$typeof === jn || e.$$typeof === En || e.$$typeof === Cn || e.$$typeof === Ca || e.getModuleId !== void 0);
|
8495
8495
|
};
|
8496
8496
|
ae.typeOf = Ue;
|
8497
|
-
|
8498
|
-
var pd =
|
8497
|
+
Ea.exports = ae;
|
8498
|
+
var pd = Ea.exports;
|
8499
8499
|
const fd = /* @__PURE__ */ nt(pd);
|
8500
8500
|
function dd(e) {
|
8501
8501
|
const t = (
|
@@ -8516,39 +8516,39 @@ function gd(e, t) {
|
|
8516
8516
|
(n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
|
8517
8517
|
).trim();
|
8518
8518
|
}
|
8519
|
-
var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd = /^\s*/, Md = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, bd = /^:\s*/, xd = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, wd = /^[;\s]*/, vd = /^\s+|\s+$/g,
|
8520
|
-
`, lo = "/", so = "*", ft = "",
|
8519
|
+
var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd = /^\s*/, Md = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, bd = /^:\s*/, xd = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, wd = /^[;\s]*/, vd = /^\s+|\s+$/g, Id = `
|
8520
|
+
`, lo = "/", so = "*", ft = "", Td = "comment", Dd = "declaration", Nd = function(e, t) {
|
8521
8521
|
if (typeof e != "string")
|
8522
8522
|
throw new TypeError("First argument must be a string");
|
8523
8523
|
if (!e)
|
8524
8524
|
return [];
|
8525
8525
|
t = t || {};
|
8526
8526
|
var n = 1, r = 1;
|
8527
|
-
function i(
|
8528
|
-
var x =
|
8527
|
+
function i(T) {
|
8528
|
+
var x = T.match(md);
|
8529
8529
|
x && (n += x.length);
|
8530
|
-
var A =
|
8531
|
-
r = ~A ?
|
8530
|
+
var A = T.lastIndexOf(Id);
|
8531
|
+
r = ~A ? T.length - A : r + T.length;
|
8532
8532
|
}
|
8533
8533
|
function o() {
|
8534
|
-
var
|
8534
|
+
var T = { line: n, column: r };
|
8535
8535
|
return function(x) {
|
8536
|
-
return x.position = new a(
|
8536
|
+
return x.position = new a(T), u(), x;
|
8537
8537
|
};
|
8538
8538
|
}
|
8539
|
-
function a(
|
8540
|
-
this.start =
|
8539
|
+
function a(T) {
|
8540
|
+
this.start = T, this.end = { line: n, column: r }, this.source = t.source;
|
8541
8541
|
}
|
8542
8542
|
a.prototype.content = e;
|
8543
|
-
function l(
|
8543
|
+
function l(T) {
|
8544
8544
|
var x = new Error(
|
8545
|
-
t.source + ":" + n + ":" + r + ": " +
|
8545
|
+
t.source + ":" + n + ":" + r + ": " + T
|
8546
8546
|
);
|
8547
|
-
if (x.reason =
|
8547
|
+
if (x.reason = T, x.filename = t.source, x.line = n, x.column = r, x.source = e, !t.silent)
|
8548
8548
|
throw x;
|
8549
8549
|
}
|
8550
|
-
function s(
|
8551
|
-
var x =
|
8550
|
+
function s(T) {
|
8551
|
+
var x = T.exec(e);
|
8552
8552
|
if (x) {
|
8553
8553
|
var A = x[0];
|
8554
8554
|
return i(A), e = e.slice(A.length), x;
|
@@ -8557,33 +8557,33 @@ var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd
|
|
8557
8557
|
function u() {
|
8558
8558
|
s(yd);
|
8559
8559
|
}
|
8560
|
-
function c(
|
8560
|
+
function c(T) {
|
8561
8561
|
var x;
|
8562
|
-
for (
|
8563
|
-
x !== !1 &&
|
8564
|
-
return
|
8562
|
+
for (T = T || []; x = f(); )
|
8563
|
+
x !== !1 && T.push(x);
|
8564
|
+
return T;
|
8565
8565
|
}
|
8566
8566
|
function f() {
|
8567
|
-
var
|
8567
|
+
var T = o();
|
8568
8568
|
if (!(lo != e.charAt(0) || so != e.charAt(1))) {
|
8569
8569
|
for (var x = 2; ft != e.charAt(x) && (so != e.charAt(x) || lo != e.charAt(x + 1)); )
|
8570
8570
|
++x;
|
8571
8571
|
if (x += 2, ft === e.charAt(x - 1))
|
8572
8572
|
return l("End of comment missing");
|
8573
8573
|
var A = e.slice(2, x - 2);
|
8574
|
-
return r += 2, i(A), e = e.slice(x), r += 2,
|
8575
|
-
type:
|
8574
|
+
return r += 2, i(A), e = e.slice(x), r += 2, T({
|
8575
|
+
type: Td,
|
8576
8576
|
comment: A
|
8577
8577
|
});
|
8578
8578
|
}
|
8579
8579
|
}
|
8580
8580
|
function m() {
|
8581
|
-
var
|
8581
|
+
var T = o(), x = s(Md);
|
8582
8582
|
if (x) {
|
8583
8583
|
if (f(), !s(bd))
|
8584
8584
|
return l("property missing ':'");
|
8585
|
-
var A = s(xd), M =
|
8586
|
-
type:
|
8585
|
+
var A = s(xd), M = T({
|
8586
|
+
type: Dd,
|
8587
8587
|
property: uo(x[0].replace(ao, ft)),
|
8588
8588
|
value: A ? uo(A[0].replace(ao, ft)) : ft
|
8589
8589
|
});
|
@@ -8591,11 +8591,11 @@ var $r = { exports: {} }, ao = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, md = /\n/g, yd
|
|
8591
8591
|
}
|
8592
8592
|
}
|
8593
8593
|
function d() {
|
8594
|
-
var
|
8595
|
-
c(
|
8594
|
+
var T = [];
|
8595
|
+
c(T);
|
8596
8596
|
for (var x; x = m(); )
|
8597
|
-
x !== !1 && (
|
8598
|
-
return
|
8597
|
+
x !== !1 && (T.push(x), c(T));
|
8598
|
+
return T;
|
8599
8599
|
}
|
8600
8600
|
return u(), d();
|
8601
8601
|
};
|
@@ -8613,8 +8613,8 @@ function Aa(e, t) {
|
|
8613
8613
|
}
|
8614
8614
|
$r.exports = Aa;
|
8615
8615
|
$r.exports.default = Aa;
|
8616
|
-
var
|
8617
|
-
const
|
8616
|
+
var jd = $r.exports;
|
8617
|
+
const Ed = /* @__PURE__ */ nt(jd), Ir = {}.hasOwnProperty, Cd = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
|
8618
8618
|
function Sa(e, t) {
|
8619
8619
|
const n = [];
|
8620
8620
|
let r = -1, i;
|
@@ -8627,14 +8627,14 @@ function Ad(e, t, n, r) {
|
|
8627
8627
|
let u = a, c;
|
8628
8628
|
if (a.space === "html" && l === "svg" && (u = ld, e.schema = u), t.properties)
|
8629
8629
|
for (c in t.properties)
|
8630
|
-
|
8630
|
+
Ir.call(t.properties, c) && Od(s, c, t.properties[c], e);
|
8631
8631
|
(l === "ol" || l === "ul") && e.listDepth++;
|
8632
8632
|
const f = Sa(e, t);
|
8633
8633
|
(l === "ol" || l === "ul") && e.listDepth--, e.schema = a;
|
8634
8634
|
const m = t.position || {
|
8635
8635
|
start: { line: null, column: null, offset: null },
|
8636
8636
|
end: { line: null, column: null, offset: null }
|
8637
|
-
}, d = i.components &&
|
8637
|
+
}, d = i.components && Ir.call(i.components, l) ? i.components[l] : l, T = typeof d == "string" || d === ve.Fragment;
|
8638
8638
|
if (!fd.isValidElementType(d))
|
8639
8639
|
throw new TypeError(
|
8640
8640
|
`Component for name \`${l}\` not defined or is not renderable`
|
@@ -8647,15 +8647,15 @@ function Ad(e, t, n, r) {
|
|
8647
8647
|
String(s.href || ""),
|
8648
8648
|
t.children,
|
8649
8649
|
typeof s.title == "string" ? s.title : null
|
8650
|
-
)), !
|
8650
|
+
)), !T && l === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !T && (l === "h1" || l === "h2" || l === "h3" || l === "h4" || l === "h5" || l === "h6") && (s.level = Number.parseInt(l.charAt(1), 10)), l === "img" && i.transformImageUri && (s.src = i.transformImageUri(
|
8651
8651
|
String(s.src || ""),
|
8652
8652
|
String(s.alt || ""),
|
8653
8653
|
typeof s.title == "string" ? s.title : null
|
8654
|
-
)), !
|
8654
|
+
)), !T && l === "li" && r.type === "element") {
|
8655
8655
|
const x = Sd(t);
|
8656
8656
|
s.checked = x && x.properties ? !!x.properties.checked : null, s.index = or(r, t), s.ordered = r.tagName === "ol";
|
8657
8657
|
}
|
8658
|
-
return !
|
8658
|
+
return !T && (l === "ol" || l === "ul") && (s.ordered = l === "ol", s.depth = e.listDepth), (l === "td" || l === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = l === "th")), !T && l === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Fd(m)), !T && i.rawSourcePos && (s.sourcePosition = t.position), !T && i.includeElementIndex && (s.index = or(r, t), s.siblingCount = or(r)), T || (s.node = t), f.length > 0 ? ve.createElement(d, s, f) : ve.createElement(d, s);
|
8659
8659
|
}
|
8660
8660
|
function Sd(e) {
|
8661
8661
|
let t = -1;
|
@@ -8675,12 +8675,12 @@ function or(e, t) {
|
|
8675
8675
|
function Od(e, t, n, r) {
|
8676
8676
|
const i = rd(r.schema, t);
|
8677
8677
|
let o = n;
|
8678
|
-
o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? gd(o) : hd(o)), i.property === "style" && typeof o == "string" && (o = zd(o)), i.space && i.property ? e[
|
8678
|
+
o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? gd(o) : hd(o)), i.property === "style" && typeof o == "string" && (o = zd(o)), i.space && i.property ? e[Ir.call(oo, i.property) ? oo[i.property] : i.property] = o : i.attribute && (e[i.attribute] = o));
|
8679
8679
|
}
|
8680
8680
|
function zd(e) {
|
8681
8681
|
const t = {};
|
8682
8682
|
try {
|
8683
|
-
|
8683
|
+
Ed(e, n);
|
8684
8684
|
} catch {
|
8685
8685
|
}
|
8686
8686
|
return t;
|
@@ -8754,62 +8754,62 @@ function Oa(e) {
|
|
8754
8754
|
}
|
8755
8755
|
Oa.propTypes = {
|
8756
8756
|
// Core options:
|
8757
|
-
children:
|
8757
|
+
children: I.string,
|
8758
8758
|
// Layout options:
|
8759
|
-
className:
|
8759
|
+
className: I.string,
|
8760
8760
|
// Filter options:
|
8761
|
-
allowElement:
|
8762
|
-
allowedElements:
|
8763
|
-
disallowedElements:
|
8764
|
-
unwrapDisallowed:
|
8761
|
+
allowElement: I.func,
|
8762
|
+
allowedElements: I.arrayOf(I.string),
|
8763
|
+
disallowedElements: I.arrayOf(I.string),
|
8764
|
+
unwrapDisallowed: I.bool,
|
8765
8765
|
// Plugin options:
|
8766
|
-
remarkPlugins:
|
8767
|
-
|
8768
|
-
|
8769
|
-
|
8770
|
-
|
8771
|
-
|
8772
|
-
|
8773
|
-
|
8774
|
-
|
8775
|
-
|
8776
|
-
|
8766
|
+
remarkPlugins: I.arrayOf(
|
8767
|
+
I.oneOfType([
|
8768
|
+
I.object,
|
8769
|
+
I.func,
|
8770
|
+
I.arrayOf(
|
8771
|
+
I.oneOfType([
|
8772
|
+
I.bool,
|
8773
|
+
I.string,
|
8774
|
+
I.object,
|
8775
|
+
I.func,
|
8776
|
+
I.arrayOf(
|
8777
8777
|
// prettier-ignore
|
8778
8778
|
// type-coverage:ignore-next-line
|
8779
|
-
|
8779
|
+
I.any
|
8780
8780
|
)
|
8781
8781
|
])
|
8782
8782
|
)
|
8783
8783
|
])
|
8784
8784
|
),
|
8785
|
-
rehypePlugins:
|
8786
|
-
|
8787
|
-
|
8788
|
-
|
8789
|
-
|
8790
|
-
|
8791
|
-
|
8792
|
-
|
8793
|
-
|
8794
|
-
|
8795
|
-
|
8785
|
+
rehypePlugins: I.arrayOf(
|
8786
|
+
I.oneOfType([
|
8787
|
+
I.object,
|
8788
|
+
I.func,
|
8789
|
+
I.arrayOf(
|
8790
|
+
I.oneOfType([
|
8791
|
+
I.bool,
|
8792
|
+
I.string,
|
8793
|
+
I.object,
|
8794
|
+
I.func,
|
8795
|
+
I.arrayOf(
|
8796
8796
|
// prettier-ignore
|
8797
8797
|
// type-coverage:ignore-next-line
|
8798
|
-
|
8798
|
+
I.any
|
8799
8799
|
)
|
8800
8800
|
])
|
8801
8801
|
)
|
8802
8802
|
])
|
8803
8803
|
),
|
8804
8804
|
// Transform options:
|
8805
|
-
sourcePos:
|
8806
|
-
rawSourcePos:
|
8807
|
-
skipHtml:
|
8808
|
-
includeElementIndex:
|
8809
|
-
transformLinkUri:
|
8810
|
-
linkTarget:
|
8811
|
-
transformImageUri:
|
8812
|
-
components:
|
8805
|
+
sourcePos: I.bool,
|
8806
|
+
rawSourcePos: I.bool,
|
8807
|
+
skipHtml: I.bool,
|
8808
|
+
includeElementIndex: I.bool,
|
8809
|
+
transformLinkUri: I.oneOfType([I.func, I.bool]),
|
8810
|
+
linkTarget: I.oneOfType([I.func, I.string]),
|
8811
|
+
transformImageUri: I.func,
|
8812
|
+
components: I.object
|
8813
8813
|
};
|
8814
8814
|
function za({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
8815
8815
|
return /* @__PURE__ */ k.jsxs("div", { className: "xpert-chatbot-popup__feedback", children: [
|
@@ -8849,9 +8849,9 @@ function za({ message: e, id: t, onFeedbackThumbSelection: n }) {
|
|
8849
8849
|
] });
|
8850
8850
|
}
|
8851
8851
|
za.propTypes = {
|
8852
|
-
id:
|
8853
|
-
message:
|
8854
|
-
onFeedbackThumbSelection:
|
8852
|
+
id: I.number.isRequired,
|
8853
|
+
message: I.shape().isRequired,
|
8854
|
+
onFeedbackThumbSelection: I.func.isRequired
|
8855
8855
|
};
|
8856
8856
|
const _d = (e) => {
|
8857
8857
|
Array.from(e.entries()).forEach((n) => {
|
@@ -8880,10 +8880,10 @@ function Ln({
|
|
8880
8880
|
text: a,
|
8881
8881
|
userTrackingName: l
|
8882
8882
|
}) {
|
8883
|
-
const [s, u] = we(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: d } = We(Ge),
|
8883
|
+
const [s, u] = we(!0), { primaryColor: c, xpertKey: f, userTracking: m, conversationScreen: d } = We(Ge), T = wt(
|
8884
8884
|
(M) => {
|
8885
|
-
var
|
8886
|
-
((
|
8885
|
+
var j, C, H, U;
|
8886
|
+
((j = M == null ? void 0 : M.data) == null ? void 0 : j.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (C = window == null ? void 0 : window.OnetrustActiveGroups) != null && C.includes("C0003")) && He.set(`${f}-live-chat-open`, 1, {
|
8887
8887
|
expires: 1,
|
8888
8888
|
path: "/"
|
8889
8889
|
}), ((H = M == null ? void 0 : M.data) == null ? void 0 : H.type) === "connection" && ((U = M == null ? void 0 : M.data) == null ? void 0 : U.state) === "disconnected" && He.remove(`${f}-live-chat-open`);
|
@@ -8891,25 +8891,25 @@ function Ln({
|
|
8891
8891
|
[f]
|
8892
8892
|
), x = wt(
|
8893
8893
|
(M) => {
|
8894
|
-
var
|
8895
|
-
((
|
8894
|
+
var j, C, H, U;
|
8895
|
+
((j = M == null ? void 0 : M.data) == null ? void 0 : j.type) === "unhide" && ((C = M == null ? void 0 : M.data) == null ? void 0 : C.reason) === "pop-out" && t(!0), ((H = M == null ? void 0 : M.data) == null ? void 0 : H.type) === "open" && ((U = M == null ? void 0 : M.data) == null ? void 0 : U.chatState) === !0 && t(!0);
|
8896
8896
|
},
|
8897
8897
|
[t]
|
8898
8898
|
);
|
8899
|
-
|
8900
|
-
let M,
|
8899
|
+
De(() => {
|
8900
|
+
let M, j;
|
8901
8901
|
return d.liveChat.enabled && (window.Five9ChatPlugin || (M = document.createElement("script"), M.type = "text/javascript", M.src = d.liveChat.sourceCode, M.async = !0, M.onload = () => {
|
8902
8902
|
window.Five9ChatPlugin(d.liveChat.options);
|
8903
|
-
}, document.body.appendChild(M)), window.addEventListener("message",
|
8903
|
+
}, document.body.appendChild(M)), window.addEventListener("message", T), window.addEventListener("message", x), j = setTimeout(() => {
|
8904
8904
|
u(!1);
|
8905
8905
|
}, 3e3)), () => {
|
8906
|
-
d.liveChat.enabled && (window.removeEventListener("message",
|
8906
|
+
d.liveChat.enabled && (window.removeEventListener("message", T), window.removeEventListener("message", x), clearTimeout(j));
|
8907
8907
|
};
|
8908
8908
|
}, [
|
8909
8909
|
d.liveChat.enabled,
|
8910
8910
|
d.liveChat.options,
|
8911
8911
|
d.liveChat.sourceCode,
|
8912
|
-
|
8912
|
+
T,
|
8913
8913
|
x
|
8914
8914
|
]);
|
8915
8915
|
const A = () => {
|
@@ -8958,14 +8958,14 @@ function Ln({
|
|
8958
8958
|
] });
|
8959
8959
|
}
|
8960
8960
|
Ln.propTypes = {
|
8961
|
-
submitEvent:
|
8962
|
-
setLiveChatOpen:
|
8963
|
-
isTestUser:
|
8964
|
-
enableLiveChatMessage:
|
8965
|
-
containerStyle:
|
8966
|
-
buttonClassName:
|
8967
|
-
text:
|
8968
|
-
userTrackingName:
|
8961
|
+
submitEvent: I.func,
|
8962
|
+
setLiveChatOpen: I.func,
|
8963
|
+
isTestUser: I.bool,
|
8964
|
+
enableLiveChatMessage: I.bool,
|
8965
|
+
containerStyle: I.shape(),
|
8966
|
+
buttonClassName: I.string,
|
8967
|
+
text: I.string,
|
8968
|
+
userTrackingName: I.string
|
8969
8969
|
};
|
8970
8970
|
Ln.defaultProps = {
|
8971
8971
|
submitEvent: null,
|
@@ -9051,15 +9051,15 @@ const Fn = ({
|
|
9051
9051
|
}
|
9052
9052
|
);
|
9053
9053
|
Fn.propTypes = {
|
9054
|
-
index:
|
9055
|
-
message:
|
9056
|
-
onFeedbackThumbSelection:
|
9057
|
-
isNormalSize:
|
9058
|
-
messageRef:
|
9059
|
-
handleMessageLinkClicked:
|
9060
|
-
submitEvent:
|
9061
|
-
setLiveChatOpen:
|
9062
|
-
isTestUser:
|
9054
|
+
index: I.number.isRequired,
|
9055
|
+
message: I.shape().isRequired,
|
9056
|
+
onFeedbackThumbSelection: I.func.isRequired,
|
9057
|
+
isNormalSize: I.bool.isRequired,
|
9058
|
+
messageRef: I.shape({ current: I.instanceOf(Element) }),
|
9059
|
+
handleMessageLinkClicked: I.func,
|
9060
|
+
submitEvent: I.func,
|
9061
|
+
setLiveChatOpen: I.func,
|
9062
|
+
isTestUser: I.bool
|
9063
9063
|
};
|
9064
9064
|
Fn.defaultProps = {
|
9065
9065
|
submitEvent: null,
|
@@ -9069,7 +9069,7 @@ Fn.defaultProps = {
|
|
9069
9069
|
Fn.displayName = "AssistantMessageBubble";
|
9070
9070
|
const Qd = Fn, La = () => {
|
9071
9071
|
const { disclaimer: e } = We(Ge), t = tt(null);
|
9072
|
-
return
|
9072
|
+
return De(() => {
|
9073
9073
|
var n;
|
9074
9074
|
(n = t == null ? void 0 : t.current) == null || n.focus();
|
9075
9075
|
}, []), /* @__PURE__ */ k.jsxs(
|
@@ -9127,8 +9127,8 @@ const Yd = La, qr = ({ loading: e, onPromptClick: t }) => {
|
|
9127
9127
|
] });
|
9128
9128
|
};
|
9129
9129
|
qr.propTypes = {
|
9130
|
-
loading:
|
9131
|
-
onPromptClick:
|
9130
|
+
loading: I.bool.isRequired,
|
9131
|
+
onPromptClick: I.func.isRequired
|
9132
9132
|
};
|
9133
9133
|
qr.displayName = "PromptList";
|
9134
9134
|
const Hd = qr, Vr = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ k.jsx("div", { role: "status", className: "xpert-chatbot-popup__bubble--group", children: /* @__PURE__ */ k.jsx("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: /* @__PURE__ */ k.jsx(
|
@@ -9141,8 +9141,8 @@ const Hd = qr, Vr = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ k.jsx("
|
|
9141
9141
|
}
|
9142
9142
|
) }) });
|
9143
9143
|
Vr.propTypes = {
|
9144
|
-
message:
|
9145
|
-
isNormalSize:
|
9144
|
+
message: I.string.isRequired,
|
9145
|
+
isNormalSize: I.bool.isRequired
|
9146
9146
|
};
|
9147
9147
|
Vr.displayName = "SystemMessageBubble";
|
9148
9148
|
const $d = Vr, Wr = ({ content: e, isNormalSize: t }) => {
|
@@ -9163,8 +9163,8 @@ const $d = Vr, Wr = ({ content: e, isNormalSize: t }) => {
|
|
9163
9163
|
);
|
9164
9164
|
};
|
9165
9165
|
Wr.propTypes = {
|
9166
|
-
content:
|
9167
|
-
isNormalSize:
|
9166
|
+
content: I.string.isRequired,
|
9167
|
+
isNormalSize: I.bool.isRequired
|
9168
9168
|
};
|
9169
9169
|
Wr.displayName = "UserMessageBubble";
|
9170
9170
|
const qd = Wr, Pn = ({
|
@@ -9179,7 +9179,7 @@ const qd = Wr, Pn = ({
|
|
9179
9179
|
isTestUser: s
|
9180
9180
|
}) => {
|
9181
9181
|
const { conversationScreen: u } = We(Ge), { prompts: c, systemMessage: f } = u, m = tt(null);
|
9182
|
-
return
|
9182
|
+
return De(() => {
|
9183
9183
|
var d;
|
9184
9184
|
(d = m.current) == null || d.scrollIntoView({
|
9185
9185
|
behavior: "instant",
|
@@ -9207,10 +9207,10 @@ const qd = Wr, Pn = ({
|
|
9207
9207
|
}
|
9208
9208
|
),
|
9209
9209
|
e.map(
|
9210
|
-
(d,
|
9210
|
+
(d, T) => d.role === "assistant" ? /* @__PURE__ */ k.jsx(
|
9211
9211
|
Qd,
|
9212
9212
|
{
|
9213
|
-
index:
|
9213
|
+
index: T,
|
9214
9214
|
message: d,
|
9215
9215
|
isNormalSize: n,
|
9216
9216
|
onFeedbackThumbSelection: r,
|
@@ -9220,14 +9220,14 @@ const qd = Wr, Pn = ({
|
|
9220
9220
|
setLiveChatOpen: l,
|
9221
9221
|
isTestUser: s
|
9222
9222
|
},
|
9223
|
-
`${d.role}-${
|
9223
|
+
`${d.role}-${T}`
|
9224
9224
|
) : /* @__PURE__ */ k.jsx(
|
9225
9225
|
qd,
|
9226
9226
|
{
|
9227
9227
|
content: d.content,
|
9228
9228
|
isNormalSize: n
|
9229
9229
|
},
|
9230
|
-
`${d.role}-${d.timestamp ||
|
9230
|
+
`${d.role}-${d.timestamp || T}`
|
9231
9231
|
)
|
9232
9232
|
)
|
9233
9233
|
]
|
@@ -9236,21 +9236,21 @@ const qd = Wr, Pn = ({
|
|
9236
9236
|
] });
|
9237
9237
|
};
|
9238
9238
|
Pn.propTypes = {
|
9239
|
-
messages:
|
9240
|
-
|
9241
|
-
role:
|
9242
|
-
content:
|
9243
|
-
liveAgent:
|
9239
|
+
messages: I.arrayOf(
|
9240
|
+
I.shape({
|
9241
|
+
role: I.oneOf(["assistant", "user"]).isRequired,
|
9242
|
+
content: I.string.isRequired,
|
9243
|
+
liveAgent: I.bool.isRequired
|
9244
9244
|
})
|
9245
9245
|
),
|
9246
|
-
loading:
|
9247
|
-
isNormalSize:
|
9248
|
-
onFeedbackThumbSelection:
|
9249
|
-
onPromptClick:
|
9250
|
-
handleMessageLinkClicked:
|
9251
|
-
submitEvent:
|
9252
|
-
setLiveChatOpen:
|
9253
|
-
isTestUser:
|
9246
|
+
loading: I.bool.isRequired,
|
9247
|
+
isNormalSize: I.bool,
|
9248
|
+
onFeedbackThumbSelection: I.func.isRequired,
|
9249
|
+
onPromptClick: I.func,
|
9250
|
+
handleMessageLinkClicked: I.func,
|
9251
|
+
submitEvent: I.func,
|
9252
|
+
setLiveChatOpen: I.func,
|
9253
|
+
isTestUser: I.bool
|
9254
9254
|
};
|
9255
9255
|
Pn.defaultProps = {
|
9256
9256
|
messages: [],
|
@@ -9262,7 +9262,7 @@ Pn.defaultProps = {
|
|
9262
9262
|
Pn.displayName = "ConversationsMessages";
|
9263
9263
|
const Vd = Pn, Wd = () => {
|
9264
9264
|
const e = tt(null);
|
9265
|
-
return
|
9265
|
+
return De(() => {
|
9266
9266
|
var t;
|
9267
9267
|
(t = e.current) == null || t.scrollIntoView({
|
9268
9268
|
behavior: "instant"
|
@@ -9370,7 +9370,7 @@ function Gr({
|
|
9370
9370
|
children: i,
|
9371
9371
|
...o
|
9372
9372
|
}) {
|
9373
|
-
const a =
|
9373
|
+
const a = Tt(Zd);
|
9374
9374
|
return /* @__PURE__ */ k.jsx(
|
9375
9375
|
"button",
|
9376
9376
|
{
|
@@ -9391,11 +9391,11 @@ function Gr({
|
|
9391
9391
|
);
|
9392
9392
|
}
|
9393
9393
|
Gr.propTypes = {
|
9394
|
-
label:
|
9395
|
-
onClick:
|
9396
|
-
children:
|
9397
|
-
className:
|
9398
|
-
style:
|
9394
|
+
label: I.string.isRequired,
|
9395
|
+
onClick: I.func.isRequired,
|
9396
|
+
children: I.node.isRequired,
|
9397
|
+
className: I.string,
|
9398
|
+
style: I.shape()
|
9399
9399
|
};
|
9400
9400
|
Gr.defaultProps = {
|
9401
9401
|
className: "",
|
@@ -9551,7 +9551,7 @@ var _a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9551
9551
|
// note related to `candidateSelectors`)
|
9552
9552
|
Mn(n) || eh(n) || lh(n, t) || // For a details element with a summary, the summary element gets the focus
|
9553
9553
|
th(n) || sh(n));
|
9554
|
-
},
|
9554
|
+
}, Tr = function(t, n) {
|
9555
9555
|
return !(oh(n) || et(n) < 0 || !bn(t, n));
|
9556
9556
|
}, uh = function(t) {
|
9557
9557
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
@@ -9574,11 +9574,11 @@ var _a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9574
9574
|
n = n || {};
|
9575
9575
|
var r;
|
9576
9576
|
return n.getShadowRoot ? r = Ba([t], n.includeContainer, {
|
9577
|
-
filter:
|
9577
|
+
filter: Tr.bind(null, n),
|
9578
9578
|
flatten: !1,
|
9579
9579
|
getShadowRoot: n.getShadowRoot,
|
9580
9580
|
shadowRootFilter: uh
|
9581
|
-
}) : r = Ua(t, n.includeContainer,
|
9581
|
+
}) : r = Ua(t, n.includeContainer, Tr.bind(null, n)), ch(r);
|
9582
9582
|
}, $a = function(t, n) {
|
9583
9583
|
n = n || {};
|
9584
9584
|
var r;
|
@@ -9590,7 +9590,7 @@ var _a = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
9590
9590
|
}, pt = function(t, n) {
|
9591
9591
|
if (n = n || {}, !t)
|
9592
9592
|
throw new Error("No node provided");
|
9593
|
-
return ht.call(t, mn) === !1 ? !1 :
|
9593
|
+
return ht.call(t, mn) === !1 ? !1 : Tr(n, t);
|
9594
9594
|
}, ph = /* @__PURE__ */ _a.concat("iframe").join(","), fn = function(t, n) {
|
9595
9595
|
if (n = n || {}, !t)
|
9596
9596
|
throw new Error("No node provided");
|
@@ -9835,7 +9835,7 @@ var go = {
|
|
9835
9835
|
var N = w.activeElement;
|
9836
9836
|
if (N)
|
9837
9837
|
return N.shadowRoot && N.shadowRoot.activeElement !== null ? O(N.shadowRoot) : N;
|
9838
|
-
},
|
9838
|
+
}, T = function O(w) {
|
9839
9839
|
if (w !== !1 && w !== d(document)) {
|
9840
9840
|
if (!w || !w.focus) {
|
9841
9841
|
O(f());
|
@@ -9858,8 +9858,8 @@ var go = {
|
|
9858
9858
|
B ? _ = a.tabbableGroups[a.tabbableGroups.length - 1].lastTabbableNode : _ = a.tabbableGroups[0].firstTabbableNode;
|
9859
9859
|
else if (B) {
|
9860
9860
|
var g = yo(a.tabbableGroups, function(ie) {
|
9861
|
-
var
|
9862
|
-
return N ===
|
9861
|
+
var Te = ie.firstTabbableNode;
|
9862
|
+
return N === Te;
|
9863
9863
|
});
|
9864
9864
|
if (g < 0 && (re.container === N || fn(N, o.tabbableOptions) && !pt(N, o.tabbableOptions) && !re.nextTabbableNode(N, !1)) && (g = W), g >= 0) {
|
9865
9865
|
var se = g === 0 ? a.tabbableGroups.length - 1 : g - 1, ye = a.tabbableGroups[se];
|
@@ -9868,12 +9868,12 @@ var go = {
|
|
9868
9868
|
Ht(z) || (_ = re.nextTabbableNode(N, !1));
|
9869
9869
|
} else {
|
9870
9870
|
var h = yo(a.tabbableGroups, function(ie) {
|
9871
|
-
var
|
9872
|
-
return N ===
|
9871
|
+
var Te = ie.lastTabbableNode;
|
9872
|
+
return N === Te;
|
9873
9873
|
});
|
9874
9874
|
if (h < 0 && (re.container === N || fn(N, o.tabbableOptions) && !pt(N, o.tabbableOptions) && !re.nextTabbableNode(N)) && (h = W), h >= 0) {
|
9875
|
-
var ge = h === a.tabbableGroups.length - 1 ? 0 : h + 1,
|
9876
|
-
_ = et(N) >= 0 ?
|
9875
|
+
var ge = h === a.tabbableGroups.length - 1 ? 0 : h + 1, Ie = a.tabbableGroups[ge];
|
9876
|
+
_ = et(N) >= 0 ? Ie.firstTabbableNode : Ie.firstDomTabbableNode;
|
9877
9877
|
} else
|
9878
9878
|
Ht(z) || (_ = re.nextTabbableNode(N));
|
9879
9879
|
}
|
@@ -9897,7 +9897,7 @@ var go = {
|
|
9897
9897
|
}
|
9898
9898
|
Ft(o.allowOutsideClick, w) || w.preventDefault();
|
9899
9899
|
}
|
9900
|
-
},
|
9900
|
+
}, j = function(w) {
|
9901
9901
|
var N = an(w), z = u(N, w) >= 0;
|
9902
9902
|
if (z || N instanceof Document)
|
9903
9903
|
z && (a.mostRecentlyFocusedNode = N);
|
@@ -9926,7 +9926,7 @@ var go = {
|
|
9926
9926
|
// outside the trap causing the focus escape we're trying to fix)
|
9927
9927
|
target: a.mostRecentlyFocusedNode,
|
9928
9928
|
isBackward: o.isKeyBackward(a.recentNavEvent)
|
9929
|
-
})),
|
9929
|
+
})), T(L || a.mostRecentlyFocusedNode || f());
|
9930
9930
|
}
|
9931
9931
|
a.recentNavEvent = void 0;
|
9932
9932
|
}, C = function(w) {
|
@@ -9936,7 +9936,7 @@ var go = {
|
|
9936
9936
|
event: w,
|
9937
9937
|
isBackward: N
|
9938
9938
|
});
|
9939
|
-
z && (Ht(w) && w.preventDefault(),
|
9939
|
+
z && (Ht(w) && w.preventDefault(), T(z));
|
9940
9940
|
}, H = function(w) {
|
9941
9941
|
if (yh(w) && Ft(o.escapeDeactivates, w) !== !1) {
|
9942
9942
|
w.preventDefault(), l.deactivate();
|
@@ -9949,8 +9949,8 @@ var go = {
|
|
9949
9949
|
}, b = function() {
|
9950
9950
|
if (a.active)
|
9951
9951
|
return go.activateTrap(i, l), a.delayInitialFocusTimer = o.delayInitialFocus ? mo(function() {
|
9952
|
-
|
9953
|
-
}) :
|
9952
|
+
T(f());
|
9953
|
+
}) : T(f()), r.addEventListener("focusin", j, !0), r.addEventListener("mousedown", M, {
|
9954
9954
|
capture: !0,
|
9955
9955
|
passive: !1
|
9956
9956
|
}), r.addEventListener("touchstart", M, {
|
@@ -9965,7 +9965,7 @@ var go = {
|
|
9965
9965
|
}), l;
|
9966
9966
|
}, F = function() {
|
9967
9967
|
if (a.active)
|
9968
|
-
return r.removeEventListener("focusin",
|
9968
|
+
return r.removeEventListener("focusin", j, !0), r.removeEventListener("mousedown", M, !0), r.removeEventListener("touchstart", M, !0), r.removeEventListener("click", U, !0), r.removeEventListener("keydown", H, !0), l;
|
9969
9969
|
}, q = function(w) {
|
9970
9970
|
var N = w.some(function(z) {
|
9971
9971
|
var L = Array.from(z.removedNodes);
|
@@ -9973,7 +9973,7 @@ var go = {
|
|
9973
9973
|
return B === a.mostRecentlyFocusedNode;
|
9974
9974
|
});
|
9975
9975
|
});
|
9976
|
-
N &&
|
9976
|
+
N && T(f());
|
9977
9977
|
}, G = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(q) : void 0, K = function() {
|
9978
9978
|
G && (G.disconnect(), a.active && !a.paused && a.containers.map(function(w) {
|
9979
9979
|
G.observe(w, {
|
@@ -10012,7 +10012,7 @@ var go = {
|
|
10012
10012
|
z == null || z();
|
10013
10013
|
var W = function() {
|
10014
10014
|
mo(function() {
|
10015
|
-
_ &&
|
10015
|
+
_ && T(x(a.nodeFocusedBeforeActivation)), L == null || L();
|
10016
10016
|
});
|
10017
10017
|
};
|
10018
10018
|
return _ && B ? (B(x(a.nodeFocusedBeforeActivation)).then(W, W), this) : (W(), this);
|
@@ -10040,16 +10040,16 @@ var go = {
|
|
10040
10040
|
const vh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
10041
10041
|
__proto__: null,
|
10042
10042
|
createFocusTrap: wh
|
10043
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
10044
|
-
function
|
10043
|
+
}, Symbol.toStringTag, { value: "Module" })), Ih = /* @__PURE__ */ bo(vh), Th = /* @__PURE__ */ bo(fh);
|
10044
|
+
function It(e) {
|
10045
10045
|
"@babel/helpers - typeof";
|
10046
|
-
return
|
10046
|
+
return It = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
10047
10047
|
return typeof t;
|
10048
10048
|
} : function(t) {
|
10049
10049
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
10050
|
-
},
|
10050
|
+
}, It(e);
|
10051
10051
|
}
|
10052
|
-
function
|
10052
|
+
function Dh(e, t) {
|
10053
10053
|
if (!(e instanceof t))
|
10054
10054
|
throw new TypeError("Cannot call a class as a function");
|
10055
10055
|
}
|
@@ -10065,14 +10065,14 @@ function Nh(e, t, n) {
|
|
10065
10065
|
function kh(e, t) {
|
10066
10066
|
if (typeof t != "function" && t !== null)
|
10067
10067
|
throw new TypeError("Super expression must either be null or a function");
|
10068
|
-
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t &&
|
10068
|
+
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Dr(e, t);
|
10069
10069
|
}
|
10070
|
-
function
|
10071
|
-
return
|
10070
|
+
function Dr(e, t) {
|
10071
|
+
return Dr = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
|
10072
10072
|
return r.__proto__ = i, r;
|
10073
|
-
},
|
10073
|
+
}, Dr(e, t);
|
10074
10074
|
}
|
10075
|
-
function
|
10075
|
+
function jh(e) {
|
10076
10076
|
var t = Ch();
|
10077
10077
|
return function() {
|
10078
10078
|
var r = xn(e), i;
|
@@ -10081,11 +10081,11 @@ function Eh(e) {
|
|
10081
10081
|
i = Reflect.construct(r, arguments, o);
|
10082
10082
|
} else
|
10083
10083
|
i = r.apply(this, arguments);
|
10084
|
-
return
|
10084
|
+
return Eh(this, i);
|
10085
10085
|
};
|
10086
10086
|
}
|
10087
|
-
function
|
10088
|
-
if (t && (
|
10087
|
+
function Eh(e, t) {
|
10088
|
+
if (t && (It(t) === "object" || typeof t == "function"))
|
10089
10089
|
return t;
|
10090
10090
|
if (t !== void 0)
|
10091
10091
|
throw new TypeError("Derived constructors may only return object or undefined");
|
@@ -10118,26 +10118,26 @@ function Ah(e, t, n) {
|
|
10118
10118
|
}
|
10119
10119
|
function qa(e) {
|
10120
10120
|
var t = Sh(e, "string");
|
10121
|
-
return
|
10121
|
+
return It(t) === "symbol" ? t : String(t);
|
10122
10122
|
}
|
10123
10123
|
function Sh(e, t) {
|
10124
|
-
if (
|
10124
|
+
if (It(e) !== "object" || e === null)
|
10125
10125
|
return e;
|
10126
10126
|
var n = e[Symbol.toPrimitive];
|
10127
10127
|
if (n !== void 0) {
|
10128
10128
|
var r = n.call(e, t || "default");
|
10129
|
-
if (
|
10129
|
+
if (It(r) !== "object")
|
10130
10130
|
return r;
|
10131
10131
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
10132
10132
|
}
|
10133
10133
|
return (t === "string" ? String : Number)(e);
|
10134
10134
|
}
|
10135
|
-
var ln = ve, Q = Y, Oh =
|
10135
|
+
var ln = ve, Q = Y, Oh = Ih, zh = Oh.createFocusTrap, Lh = Th, Fh = Lh.isFocusable, Zr = /* @__PURE__ */ function(e) {
|
10136
10136
|
kh(n, e);
|
10137
|
-
var t =
|
10137
|
+
var t = jh(n);
|
10138
10138
|
function n(r) {
|
10139
10139
|
var i;
|
10140
|
-
|
10140
|
+
Dh(this, n), i = t.call(this, r), Ah(Rt(i), "getNodeForOption", function(l) {
|
10141
10141
|
var s, u = (s = this.internalOptions[l]) !== null && s !== void 0 ? s : this.originalOptions[l];
|
10142
10142
|
if (typeof u == "function") {
|
10143
10143
|
for (var c = arguments.length, f = new Array(c > 1 ? c - 1 : 0), m = 1; m < c; m++)
|
@@ -10151,8 +10151,8 @@ var ln = ve, Q = Y, Oh = Th, zh = Oh.createFocusTrap, Lh = Dh, Fh = Lh.isFocusab
|
|
10151
10151
|
}
|
10152
10152
|
var d = u;
|
10153
10153
|
if (typeof u == "string") {
|
10154
|
-
var
|
10155
|
-
if (d = (
|
10154
|
+
var T;
|
10155
|
+
if (d = (T = this.getDocument()) === null || T === void 0 ? void 0 : T.querySelector(u), !d)
|
10156
10156
|
throw new Error("`".concat(l, "` as selector refers to no known node"));
|
10157
10157
|
}
|
10158
10158
|
return d;
|
@@ -10384,7 +10384,7 @@ function Kr({
|
|
10384
10384
|
isNormalSize: r,
|
10385
10385
|
isMounted: i
|
10386
10386
|
}) {
|
10387
|
-
const o =
|
10387
|
+
const o = Tt(Rh), a = tt(null);
|
10388
10388
|
return /* @__PURE__ */ k.jsx(
|
10389
10389
|
_h,
|
10390
10390
|
{
|
@@ -10418,11 +10418,11 @@ function Kr({
|
|
10418
10418
|
);
|
10419
10419
|
}
|
10420
10420
|
Kr.propTypes = {
|
10421
|
-
children:
|
10422
|
-
style:
|
10423
|
-
isMounted:
|
10424
|
-
className:
|
10425
|
-
isNormalSize:
|
10421
|
+
children: I.node.isRequired,
|
10422
|
+
style: I.shape(),
|
10423
|
+
isMounted: I.bool,
|
10424
|
+
className: I.string,
|
10425
|
+
isNormalSize: I.bool
|
10426
10426
|
};
|
10427
10427
|
Kr.defaultProps = {
|
10428
10428
|
style: {},
|
@@ -10432,7 +10432,7 @@ Kr.defaultProps = {
|
|
10432
10432
|
};
|
10433
10433
|
function Va({ disableScroll: e }) {
|
10434
10434
|
const t = tt(null);
|
10435
|
-
return
|
10435
|
+
return De(() => {
|
10436
10436
|
var n;
|
10437
10437
|
e || (n = t.current) == null || n.scrollIntoView({
|
10438
10438
|
behavior: "smooth",
|
@@ -10454,7 +10454,7 @@ function Va({ disableScroll: e }) {
|
|
10454
10454
|
);
|
10455
10455
|
}
|
10456
10456
|
Va.propTypes = {
|
10457
|
-
disableScroll:
|
10457
|
+
disableScroll: I.bool
|
10458
10458
|
};
|
10459
10459
|
function Wa({
|
10460
10460
|
children: e,
|
@@ -10464,18 +10464,18 @@ function Wa({
|
|
10464
10464
|
showMessage: i = !1,
|
10465
10465
|
style: o = {}
|
10466
10466
|
}) {
|
10467
|
-
var
|
10468
|
-
const { proactiveMessage: a } = We(Ge), [l, s] = we(!0), [u, c] = we(!1), f = l && (!(window != null && window.OnetrustActiveGroups) || ((
|
10469
|
-
|
10467
|
+
var T;
|
10468
|
+
const { proactiveMessage: a } = We(Ge), [l, s] = we(!0), [u, c] = we(!1), f = l && (!(window != null && window.OnetrustActiveGroups) || ((T = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : T.includes("C0003"))) && He.get(t) === void 0;
|
10469
|
+
De(() => {
|
10470
10470
|
var x;
|
10471
10471
|
(x = window == null ? void 0 : window.OneTrust) == null || x.OnConsentChanged(() => {
|
10472
10472
|
var A;
|
10473
10473
|
!((A = window == null ? void 0 : window.OnetrustActiveGroups) != null && A.includes("C0003")) && He.get(t) !== void 0 && He.remove(t);
|
10474
10474
|
});
|
10475
|
-
}, [t]),
|
10475
|
+
}, [t]), De(() => {
|
10476
10476
|
var x;
|
10477
10477
|
i || (!(window != null && window.OnetrustActiveGroups) || (x = window == null ? void 0 : window.OnetrustActiveGroups) != null && x.includes("C0003")) && d(t, 1, 1);
|
10478
|
-
}, [t, i]),
|
10478
|
+
}, [t, i]), De(() => {
|
10479
10479
|
if (a.enabled && a.delayMs > 0) {
|
10480
10480
|
const x = setTimeout(() => {
|
10481
10481
|
c(!0);
|
@@ -10488,11 +10488,11 @@ function Wa({
|
|
10488
10488
|
var x;
|
10489
10489
|
s(!1), (!(window != null && window.OnetrustActiveGroups) || (x = window == null ? void 0 : window.OnetrustActiveGroups) != null && x.includes("C0003")) && d(t, 1, 1), r();
|
10490
10490
|
}, d = (x, A, M) => {
|
10491
|
-
const
|
10491
|
+
const j = {
|
10492
10492
|
expires: M,
|
10493
10493
|
path: "/"
|
10494
10494
|
};
|
10495
|
-
He.set(x, A,
|
10495
|
+
He.set(x, A, j);
|
10496
10496
|
};
|
10497
10497
|
return u ? /* @__PURE__ */ k.jsx("div", { children: f && /* @__PURE__ */ k.jsxs(
|
10498
10498
|
"div",
|
@@ -10543,12 +10543,12 @@ function Wa({
|
|
10543
10543
|
) }) : null;
|
10544
10544
|
}
|
10545
10545
|
Wa.propTypes = {
|
10546
|
-
children:
|
10547
|
-
cookieName:
|
10548
|
-
onClick:
|
10549
|
-
onClose:
|
10550
|
-
showMessage:
|
10551
|
-
style:
|
10546
|
+
children: I.node.isRequired,
|
10547
|
+
cookieName: I.string.isRequired,
|
10548
|
+
onClick: I.func,
|
10549
|
+
onClose: I.func,
|
10550
|
+
showMessage: I.bool,
|
10551
|
+
style: I.shape()
|
10552
10552
|
};
|
10553
10553
|
function Uh(e, t, n) {
|
10554
10554
|
const r = wt(
|
@@ -10558,9 +10558,9 @@ function Uh(e, t, n) {
|
|
10558
10558
|
},
|
10559
10559
|
[n]
|
10560
10560
|
);
|
10561
|
-
|
10561
|
+
De(() => (e && window.addEventListener("message", r), () => {
|
10562
10562
|
window.removeEventListener("message", r);
|
10563
|
-
}), [e, r]),
|
10563
|
+
}), [e, r]), De(() => {
|
10564
10564
|
let i;
|
10565
10565
|
return e && (i = document.createElement("style"), document.head.appendChild(i), ((a) => {
|
10566
10566
|
i.innerHTML = `
|
@@ -10582,7 +10582,7 @@ function Uh(e, t, n) {
|
|
10582
10582
|
}
|
10583
10583
|
function Bh(e) {
|
10584
10584
|
const [t, n] = we(null);
|
10585
|
-
return
|
10585
|
+
return De(() => {
|
10586
10586
|
console.log("Chatbot - optimizely mount");
|
10587
10587
|
try {
|
10588
10588
|
(() => {
|
@@ -10612,7 +10612,7 @@ function Bh(e) {
|
|
10612
10612
|
), t;
|
10613
10613
|
}
|
10614
10614
|
function Qh(e) {
|
10615
|
-
|
10615
|
+
De(() => {
|
10616
10616
|
e();
|
10617
10617
|
const t = () => document.visibilityState === "visible" && e();
|
10618
10618
|
return document.addEventListener("visibilitychange", t), () => {
|
@@ -10637,7 +10637,7 @@ function $h(e) {
|
|
10637
10637
|
const _t = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0yODEtMjQwcS0xNCAwLTI3LjUtMTRUMjQwLTI4MnYtOThoNTAwdi0zNDBoMTAwcTE0IDAgMjcgMTR0MTMgMjl2NTk2TDcyMS0yNDBIMjgxWk04MC0yODB2LTU1OHEwLTE0IDEzLTI4dDI3LTE0aDUxOXExNSAwIDI4IDEzLjV0MTMgMjguNXYzNTZxMCAxNC0xMyAyOHQtMjggMTRIMjQwTDgwLTI4MFptNTQwLTIyMHYtMzIwSDE0MHYzMjBoNDgwWm0tNDgwIDB2LTMyMCAzMjBaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+";
|
10638
10638
|
const qh = 991, Vh = () => {
|
10639
10639
|
var n;
|
10640
|
-
const e =
|
10640
|
+
const e = Tt(qh), { launchButton: t } = We(Ge);
|
10641
10641
|
return (n = t.message) != null && n.enabled ? /* @__PURE__ */ k.jsx(
|
10642
10642
|
"div",
|
10643
10643
|
{
|
@@ -10667,7 +10667,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10667
10667
|
userTracking: o,
|
10668
10668
|
webExperimentation: a,
|
10669
10669
|
xpertKey: l
|
10670
|
-
} = We(Ge), s =
|
10670
|
+
} = We(Ge), s = Tt(Zh), [, u] = we(!1), [c, f] = we(Kh), [m, d] = we(!1), [T, x] = we(!1), [A, M] = we(!1), [j, C] = we(""), [H, U] = we(!1), [b, F] = we(!0), [q, G] = we(!1), [K, O] = we(!1), [w, N] = we(!1), z = tt(null), L = tt(null), B = tt(null), _ = He.get(`${l}-test`) === "1";
|
10671
10671
|
Uh(
|
10672
10672
|
n.liveChat.enabled,
|
10673
10673
|
A,
|
@@ -10720,7 +10720,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10720
10720
|
d(!1);
|
10721
10721
|
}
|
10722
10722
|
}, [l, t.endpoint]);
|
10723
|
-
Qh(re),
|
10723
|
+
Qh(re), De(() => {
|
10724
10724
|
console.log("Chatbot - mount");
|
10725
10725
|
let R, oe;
|
10726
10726
|
return o.enabled && (R = setInterval(() => {
|
@@ -10779,7 +10779,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10779
10779
|
userInputMessage: oe,
|
10780
10780
|
apiResponseMessage: me,
|
10781
10781
|
elapsedSeconds: he,
|
10782
|
-
conversationByteSize:
|
10782
|
+
conversationByteSize: Ee
|
10783
10783
|
}) => {
|
10784
10784
|
W({
|
10785
10785
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.elapsed.seconds`,
|
@@ -10791,16 +10791,16 @@ function Xr({ submitEventExternal: e }) {
|
|
10791
10791
|
userInputMessage: oe,
|
10792
10792
|
apiResponseMessage: me,
|
10793
10793
|
elapsedSeconds: he,
|
10794
|
-
conversationByteSize:
|
10794
|
+
conversationByteSize: Ee
|
10795
10795
|
}
|
10796
10796
|
});
|
10797
|
-
},
|
10797
|
+
}, Ie = async (R) => {
|
10798
10798
|
try {
|
10799
10799
|
if (R.trim().length === 0)
|
10800
10800
|
return;
|
10801
10801
|
const oe = /* @__PURE__ */ new Date();
|
10802
10802
|
N(!1), U(!1);
|
10803
|
-
const me = c.filter((
|
10803
|
+
const me = c.filter((E) => E.role === "user").length + 1;
|
10804
10804
|
W({
|
10805
10805
|
name: `${o.prefix}.bi.xpert.chatbot.popup.chat.message.sent`,
|
10806
10806
|
payload: {
|
@@ -10824,15 +10824,15 @@ function Xr({ submitEventExternal: e }) {
|
|
10824
10824
|
content: R
|
10825
10825
|
}
|
10826
10826
|
]), d(!0);
|
10827
|
-
const
|
10827
|
+
const Ee = [
|
10828
10828
|
...c,
|
10829
10829
|
{
|
10830
10830
|
role: "user",
|
10831
10831
|
content: R
|
10832
10832
|
}
|
10833
|
-
].map((
|
10834
|
-
role:
|
10835
|
-
content:
|
10833
|
+
].map((E) => ({
|
10834
|
+
role: E.role,
|
10835
|
+
content: E.content
|
10836
10836
|
})), be = await fetch(t.endpoint, {
|
10837
10837
|
method: "POST",
|
10838
10838
|
headers: {
|
@@ -10840,7 +10840,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10840
10840
|
"Conversation-History-Id": he
|
10841
10841
|
},
|
10842
10842
|
body: JSON.stringify({
|
10843
|
-
message_list:
|
10843
|
+
message_list: Ee,
|
10844
10844
|
...t.payloadParams
|
10845
10845
|
})
|
10846
10846
|
});
|
@@ -10851,21 +10851,21 @@ function Xr({ submitEventExternal: e }) {
|
|
10851
10851
|
he,
|
10852
10852
|
{ expires: 1 }
|
10853
10853
|
);
|
10854
|
-
const lt = await be.json(), Xe = lt.content,
|
10854
|
+
const lt = await be.json(), Xe = lt.content, Et = lt.live_agent;
|
10855
10855
|
h(Xe, he);
|
10856
|
-
const
|
10856
|
+
const D = /* @__PURE__ */ new Date();
|
10857
10857
|
ge({
|
10858
|
-
conversationByteSize: $h(JSON.stringify(
|
10858
|
+
conversationByteSize: $h(JSON.stringify(Ee)),
|
10859
10859
|
conversationSize: c.length + 2,
|
10860
10860
|
userInputMessage: R,
|
10861
10861
|
apiResponseMessage: Xe,
|
10862
|
-
elapsedSeconds: Yh(oe,
|
10863
|
-
}), f((
|
10864
|
-
...
|
10862
|
+
elapsedSeconds: Yh(oe, D)
|
10863
|
+
}), f((E) => [
|
10864
|
+
...E,
|
10865
10865
|
{
|
10866
10866
|
role: "assistant",
|
10867
10867
|
content: Xe,
|
10868
|
-
liveAgent:
|
10868
|
+
liveAgent: Et,
|
10869
10869
|
createdAt: /* @__PURE__ */ new Date()
|
10870
10870
|
}
|
10871
10871
|
]), O(!1), d(!1), ye(), N(!0);
|
@@ -10881,7 +10881,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10881
10881
|
isTestUser: _
|
10882
10882
|
}
|
10883
10883
|
});
|
10884
|
-
},
|
10884
|
+
}, Te = (R) => {
|
10885
10885
|
W({
|
10886
10886
|
name: `${o.prefix}.bi.xpert.chatbot.${R ? "normal" : "expand"}.size.button.clicked`,
|
10887
10887
|
payload: {
|
@@ -10927,9 +10927,9 @@ function Xr({ submitEventExternal: e }) {
|
|
10927
10927
|
}, it = (R) => {
|
10928
10928
|
C(R.target.value);
|
10929
10929
|
}, kt = (R) => {
|
10930
|
-
R.key === "Enter" &&
|
10931
|
-
},
|
10932
|
-
const me = c.map((he,
|
10930
|
+
R.key === "Enter" && j.trim() === "" || R.key === "Enter" && !R.shiftKey && (R.preventDefault(), Ie(j));
|
10931
|
+
}, jt = (R, oe = "") => {
|
10932
|
+
const me = c.map((he, Ee) => R === Ee ? (W({
|
10933
10933
|
name: `${o.prefix}.bi.xpert.chatbot.feedback.thumbs.${oe.toLowerCase()}.clicked`,
|
10934
10934
|
payload: {
|
10935
10935
|
category: "2u",
|
@@ -10951,7 +10951,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10951
10951
|
i.enabled && /* @__PURE__ */ k.jsx(
|
10952
10952
|
Wa,
|
10953
10953
|
{
|
10954
|
-
showMessage: !
|
10954
|
+
showMessage: !T,
|
10955
10955
|
style: s ? { ...i.style.mobile } : { ...i.style },
|
10956
10956
|
onClose: Be,
|
10957
10957
|
onClick: xe,
|
@@ -10982,7 +10982,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10982
10982
|
label: "Open XPERT Chatbot",
|
10983
10983
|
style: s ? { ...(ot = r.style) == null ? void 0 : ot.mobile } : { ...r.style },
|
10984
10984
|
"aria-haspopup": "dialog",
|
10985
|
-
"aria-expanded":
|
10985
|
+
"aria-expanded": T,
|
10986
10986
|
className: "xpert-chatbot-button",
|
10987
10987
|
children: /* @__PURE__ */ k.jsx(
|
10988
10988
|
"img",
|
@@ -10999,7 +10999,7 @@ function Xr({ submitEventExternal: e }) {
|
|
10999
10999
|
),
|
11000
11000
|
/* @__PURE__ */ k.jsx(Wh, {})
|
11001
11001
|
] }),
|
11002
|
-
|
11002
|
+
T && !A && /* @__PURE__ */ k.jsx(Kr, { isNormalSize: b, isMounted: q, children: /* @__PURE__ */ k.jsx(
|
11003
11003
|
"div",
|
11004
11004
|
{
|
11005
11005
|
ref: z,
|
@@ -11014,7 +11014,7 @@ function Xr({ submitEventExternal: e }) {
|
|
11014
11014
|
isMounted: q,
|
11015
11015
|
isNormalSize: b,
|
11016
11016
|
setIsMounted: G,
|
11017
|
-
setIsNormalSize:
|
11017
|
+
setIsNormalSize: Te
|
11018
11018
|
}
|
11019
11019
|
),
|
11020
11020
|
/* @__PURE__ */ k.jsxs(
|
@@ -11032,8 +11032,8 @@ function Xr({ submitEventExternal: e }) {
|
|
11032
11032
|
messages: c,
|
11033
11033
|
loading: m,
|
11034
11034
|
isNormalSize: s || b,
|
11035
|
-
onFeedbackThumbSelection:
|
11036
|
-
onPromptClick:
|
11035
|
+
onFeedbackThumbSelection: jt,
|
11036
|
+
onPromptClick: Ie,
|
11037
11037
|
handleMessageLinkClicked: g,
|
11038
11038
|
submitEvent: W,
|
11039
11039
|
setLiveChatOpen: M,
|
@@ -11063,8 +11063,8 @@ function Xr({ submitEventExternal: e }) {
|
|
11063
11063
|
loading: m,
|
11064
11064
|
hasXpertMessages: w,
|
11065
11065
|
hasError: H,
|
11066
|
-
userInput:
|
11067
|
-
handleSend:
|
11066
|
+
userInput: j,
|
11067
|
+
handleSend: Ie,
|
11068
11068
|
handleInput: Ke,
|
11069
11069
|
handleChange: it,
|
11070
11070
|
handleKeyDown: kt
|
@@ -11078,7 +11078,7 @@ function Xr({ submitEventExternal: e }) {
|
|
11078
11078
|
);
|
11079
11079
|
}
|
11080
11080
|
Xr.propTypes = {
|
11081
|
-
submitEventExternal:
|
11081
|
+
submitEventExternal: I.func
|
11082
11082
|
};
|
11083
11083
|
Xr.defaultProps = {
|
11084
11084
|
submitEventExternal: null
|
@@ -11088,12 +11088,12 @@ const Ga = ({ children: e, configurations: t = {}, xpertKey: n = null }) => {
|
|
11088
11088
|
configurations: t,
|
11089
11089
|
xpertKey: n
|
11090
11090
|
};
|
11091
|
-
return /* @__PURE__ */ k.jsx(
|
11091
|
+
return /* @__PURE__ */ k.jsx(jo, { ...r, children: e });
|
11092
11092
|
};
|
11093
11093
|
Ga.propTypes = {
|
11094
|
-
children:
|
11095
|
-
configurations:
|
11096
|
-
xpertKey:
|
11094
|
+
children: I.element,
|
11095
|
+
configurations: I.object,
|
11096
|
+
xpertKey: I.string
|
11097
11097
|
};
|
11098
11098
|
function Xh({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey: r }) {
|
11099
11099
|
return /* @__PURE__ */ k.jsx(
|
@@ -11107,10 +11107,10 @@ function Xh({ configurations: e = {}, key: t, submitEventExternal: n, xpertKey:
|
|
11107
11107
|
);
|
11108
11108
|
}
|
11109
11109
|
Xh.propTypes = {
|
11110
|
-
configurations:
|
11111
|
-
key:
|
11112
|
-
submitEventExternal:
|
11113
|
-
xpertKey:
|
11110
|
+
configurations: I.object,
|
11111
|
+
key: I.string,
|
11112
|
+
submitEventExternal: I.func,
|
11113
|
+
xpertKey: I.string.isRequired
|
11114
11114
|
};
|
11115
11115
|
export {
|
11116
11116
|
Xh as Chatbot,
|