@2uinc/frontend-component-xpert-chatbot 1.3.20-beta.1 → 1.3.21
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 +513 -510
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import de, { useState as se, useCallback as ut, useEffect as
|
1
|
+
import de, { useState as se, useCallback as ut, useEffect as ge, useRef as Oe } from "react";
|
2
2
|
const tl = {
|
3
3
|
xpertKey: "edx",
|
4
4
|
chatApiEndpoint: "https://xpert-platform-services-api.prod.ai.2u.com/xpert/chat",
|
@@ -249,14 +249,14 @@ al();
|
|
249
249
|
* This source code is licensed under the MIT license found in the
|
250
250
|
* LICENSE file in the root directory of this source tree.
|
251
251
|
*/
|
252
|
-
var ul = de,
|
252
|
+
var ul = de, vi = 60103;
|
253
253
|
pt.Fragment = 60107;
|
254
254
|
if (typeof Symbol == "function" && Symbol.for) {
|
255
255
|
var mr = Symbol.for;
|
256
|
-
|
256
|
+
vi = mr("react.element"), pt.Fragment = mr("react.fragment");
|
257
257
|
}
|
258
258
|
var sl = ul.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, cl = Object.prototype.hasOwnProperty, pl = { key: !0, ref: !0, __self: !0, __source: !0 };
|
259
|
-
function
|
259
|
+
function ki(e, t, n) {
|
260
260
|
var r, i = {}, o = null, l = null;
|
261
261
|
n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (l = t.ref);
|
262
262
|
for (r in t)
|
@@ -264,10 +264,10 @@ function vi(e, t, n) {
|
|
264
264
|
if (e && e.defaultProps)
|
265
265
|
for (r in t = e.defaultProps, t)
|
266
266
|
i[r] === void 0 && (i[r] = t[r]);
|
267
|
-
return { $$typeof:
|
267
|
+
return { $$typeof: vi, type: e, key: o, ref: l, props: i, _owner: sl.current };
|
268
268
|
}
|
269
|
-
pt.jsx =
|
270
|
-
pt.jsxs =
|
269
|
+
pt.jsx = ki;
|
270
|
+
pt.jsxs = ki;
|
271
271
|
Ii.exports = pt;
|
272
272
|
var w = Ii.exports;
|
273
273
|
/*! js-cookie v3.0.5 | MIT */
|
@@ -340,12 +340,12 @@ function Dn(e, t) {
|
|
340
340
|
}
|
341
341
|
);
|
342
342
|
}
|
343
|
-
var
|
343
|
+
var ve = Dn(fl, { path: "/" }), ji = { exports: {} }, dl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", hl = dl, gl = hl;
|
344
344
|
function Ei() {
|
345
345
|
}
|
346
|
-
function
|
346
|
+
function Si() {
|
347
347
|
}
|
348
|
-
|
348
|
+
Si.resetWarningCache = Ei;
|
349
349
|
var ml = function() {
|
350
350
|
function e(r, i, o, l, a, s) {
|
351
351
|
if (s !== gl) {
|
@@ -379,14 +379,14 @@ var ml = function() {
|
|
379
379
|
oneOfType: t,
|
380
380
|
shape: t,
|
381
381
|
exact: t,
|
382
|
-
checkPropTypes:
|
382
|
+
checkPropTypes: Si,
|
383
383
|
resetWarningCache: Ei
|
384
384
|
};
|
385
385
|
return n.PropTypes = n, n;
|
386
386
|
};
|
387
387
|
ji.exports = ml();
|
388
|
-
var
|
389
|
-
const h = /* @__PURE__ */ Be(
|
388
|
+
var Ci = ji.exports;
|
389
|
+
const h = /* @__PURE__ */ Be(Ci), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n, r = "") => {
|
390
390
|
const i = e.split(":");
|
391
391
|
if (e.slice(0, 1) === "@") {
|
392
392
|
if (i.length < 2 || i.length > 3)
|
@@ -402,7 +402,7 @@ const h = /* @__PURE__ */ Be(Si), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n
|
|
402
402
|
prefix: s,
|
403
403
|
name: a
|
404
404
|
};
|
405
|
-
return t && !
|
405
|
+
return t && !kt(u) ? null : u;
|
406
406
|
}
|
407
407
|
const o = i[0], l = o.split("-");
|
408
408
|
if (l.length > 1) {
|
@@ -411,7 +411,7 @@ const h = /* @__PURE__ */ Be(Si), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n
|
|
411
411
|
prefix: l.shift(),
|
412
412
|
name: l.join("-")
|
413
413
|
};
|
414
|
-
return t && !
|
414
|
+
return t && !kt(a) ? null : a;
|
415
415
|
}
|
416
416
|
if (n && r === "") {
|
417
417
|
const a = {
|
@@ -419,10 +419,10 @@ const h = /* @__PURE__ */ Be(Si), rt = /^[a-z0-9]+(-[a-z0-9]+)*$/, _t = (e, t, n
|
|
419
419
|
prefix: "",
|
420
420
|
name: o
|
421
421
|
};
|
422
|
-
return t && !
|
422
|
+
return t && !kt(a, n) ? null : a;
|
423
423
|
}
|
424
424
|
return null;
|
425
|
-
},
|
425
|
+
}, kt = (e, t) => e ? !!((e.provider === "" || e.provider.match(rt)) && (t && e.prefix === "" || e.prefix.match(rt)) && e.name.match(rt)) : !1, Ai = Object.freeze(
|
426
426
|
{
|
427
427
|
left: 0,
|
428
428
|
top: 0,
|
@@ -584,7 +584,7 @@ function Il(e, t) {
|
|
584
584
|
})), i;
|
585
585
|
}
|
586
586
|
const n = e.prefix;
|
587
|
-
if (!
|
587
|
+
if (!kt({
|
588
588
|
provider: t,
|
589
589
|
prefix: n,
|
590
590
|
name: "a"
|
@@ -601,7 +601,7 @@ const Pi = Object.freeze({
|
|
601
601
|
...Pi,
|
602
602
|
// Transformations
|
603
603
|
...At
|
604
|
-
}),
|
604
|
+
}), vl = /(-?[0-9.]*[0-9]+[0-9.]*)/g, kl = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
605
605
|
function xr(e, t, n) {
|
606
606
|
if (t === 1)
|
607
607
|
return e;
|
@@ -609,11 +609,11 @@ function xr(e, t, n) {
|
|
609
609
|
return Math.ceil(e * t * n) / n;
|
610
610
|
if (typeof e != "string")
|
611
611
|
return e;
|
612
|
-
const r = e.split(
|
612
|
+
const r = e.split(vl);
|
613
613
|
if (r === null || !r.length)
|
614
614
|
return e;
|
615
615
|
const i = [];
|
616
|
-
let o = r.shift(), l =
|
616
|
+
let o = r.shift(), l = kl.test(o);
|
617
617
|
for (; ; ) {
|
618
618
|
if (l) {
|
619
619
|
const a = parseFloat(o);
|
@@ -641,15 +641,15 @@ function El(e, t) {
|
|
641
641
|
};
|
642
642
|
let o = n.body;
|
643
643
|
[n, r].forEach((T) => {
|
644
|
-
const x = [],
|
645
|
-
let
|
646
|
-
|
644
|
+
const x = [], S = T.hFlip, b = T.vFlip;
|
645
|
+
let C = T.rotate;
|
646
|
+
S ? b ? C += 2 : (x.push(
|
647
647
|
"translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
|
648
648
|
), x.push("scale(-1 1)"), i.top = i.left = 0) : b && (x.push(
|
649
649
|
"translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
|
650
650
|
), x.push("scale(1 -1)"), i.top = i.left = 0);
|
651
651
|
let I;
|
652
|
-
switch (
|
652
|
+
switch (C < 0 && (C -= Math.floor(C / 4) * 4), C = C % 4, C) {
|
653
653
|
case 1:
|
654
654
|
I = i.height / 2 + i.top, x.unshift(
|
655
655
|
"rotate(90 " + I.toString() + " " + I.toString() + ")"
|
@@ -666,7 +666,7 @@ function El(e, t) {
|
|
666
666
|
);
|
667
667
|
break;
|
668
668
|
}
|
669
|
-
|
669
|
+
C % 2 === 1 && (i.left !== i.top && (I = i.left, i.left = i.top, i.top = I), i.width !== i.height && (I = i.width, i.width = i.height, i.height = I)), x.length && (o = '<g transform="' + x.join(" ") + '">' + o + "</g>");
|
670
670
|
});
|
671
671
|
const l = r.width, a = r.height, s = i.width, u = i.height;
|
672
672
|
let c, p;
|
@@ -679,12 +679,12 @@ function El(e, t) {
|
|
679
679
|
body: o
|
680
680
|
};
|
681
681
|
}
|
682
|
-
const
|
682
|
+
const Sl = /\sid="(\S+)"/g, Cl = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
|
683
683
|
let Al = 0;
|
684
|
-
function Ol(e, t =
|
684
|
+
function Ol(e, t = Cl) {
|
685
685
|
const n = [];
|
686
686
|
let r;
|
687
|
-
for (; r =
|
687
|
+
for (; r = Sl.exec(e); )
|
688
688
|
n.push(r[1]);
|
689
689
|
if (!n.length)
|
690
690
|
return e;
|
@@ -975,7 +975,7 @@ function Zl(e, t, n, r) {
|
|
975
975
|
y.status === "pending" && (y.status = "aborted");
|
976
976
|
}), m = [];
|
977
977
|
}
|
978
|
-
function
|
978
|
+
function S(y, O) {
|
979
979
|
O && (f = []), typeof y == "function" && f.push(y);
|
980
980
|
}
|
981
981
|
function b() {
|
@@ -985,11 +985,11 @@ function Zl(e, t, n, r) {
|
|
985
985
|
status: s,
|
986
986
|
queriesSent: u,
|
987
987
|
queriesPending: m.length,
|
988
|
-
subscribe:
|
988
|
+
subscribe: S,
|
989
989
|
abort: x
|
990
990
|
};
|
991
991
|
}
|
992
|
-
function
|
992
|
+
function C() {
|
993
993
|
s = "failed", f.forEach((y) => {
|
994
994
|
y(void 0, c);
|
995
995
|
});
|
@@ -1012,11 +1012,11 @@ function Zl(e, t, n, r) {
|
|
1012
1012
|
return;
|
1013
1013
|
}
|
1014
1014
|
if (O === "abort") {
|
1015
|
-
c = R,
|
1015
|
+
c = R, C();
|
1016
1016
|
return;
|
1017
1017
|
}
|
1018
1018
|
if (q) {
|
1019
|
-
c = R, m.length || (l.length ? B() :
|
1019
|
+
c = R, m.length || (l.length ? B() : C());
|
1020
1020
|
return;
|
1021
1021
|
}
|
1022
1022
|
if (T(), I(), !e.random) {
|
@@ -1035,11 +1035,11 @@ function Zl(e, t, n, r) {
|
|
1035
1035
|
if (y === void 0) {
|
1036
1036
|
if (m.length) {
|
1037
1037
|
p = setTimeout(() => {
|
1038
|
-
T(), s === "pending" && (I(),
|
1038
|
+
T(), s === "pending" && (I(), C());
|
1039
1039
|
}, e.timeout);
|
1040
1040
|
return;
|
1041
1041
|
}
|
1042
|
-
|
1042
|
+
C();
|
1043
1043
|
return;
|
1044
1044
|
}
|
1045
1045
|
const O = {
|
@@ -1122,7 +1122,7 @@ function Kl(e, t, n) {
|
|
1122
1122
|
return !r || !i ? (n(void 0, 424), wr) : r.query(t, i, n)().abort;
|
1123
1123
|
}
|
1124
1124
|
const Dr = "iconify2", ct = "iconify", Ui = ct + "-count", Nr = ct + "-version", Bi = 36e5, Xl = 168;
|
1125
|
-
function
|
1125
|
+
function vn(e, t) {
|
1126
1126
|
try {
|
1127
1127
|
return e.getItem(t);
|
1128
1128
|
} catch {
|
@@ -1140,11 +1140,11 @@ function Tr(e, t) {
|
|
1140
1140
|
} catch {
|
1141
1141
|
}
|
1142
1142
|
}
|
1143
|
-
function
|
1143
|
+
function kn(e, t) {
|
1144
1144
|
return $n(e, Ui, t.toString());
|
1145
1145
|
}
|
1146
1146
|
function jn(e) {
|
1147
|
-
return parseInt(
|
1147
|
+
return parseInt(vn(e, Ui)) || 0;
|
1148
1148
|
}
|
1149
1149
|
const Ut = {
|
1150
1150
|
local: !0,
|
@@ -1171,18 +1171,18 @@ function Hi(e, t) {
|
|
1171
1171
|
const n = Yi(e);
|
1172
1172
|
if (!n)
|
1173
1173
|
return;
|
1174
|
-
const r =
|
1174
|
+
const r = vn(n, Nr);
|
1175
1175
|
if (r !== Dr) {
|
1176
1176
|
if (r) {
|
1177
1177
|
const a = jn(n);
|
1178
1178
|
for (let s = 0; s < a; s++)
|
1179
1179
|
Tr(n, ct + s.toString());
|
1180
1180
|
}
|
1181
|
-
$n(n, Nr, Dr),
|
1181
|
+
$n(n, Nr, Dr), kn(n, 0);
|
1182
1182
|
return;
|
1183
1183
|
}
|
1184
1184
|
const i = Math.floor(Date.now() / Bi) - Xl, o = (a) => {
|
1185
|
-
const s = ct + a.toString(), u =
|
1185
|
+
const s = ct + a.toString(), u = vn(n, s);
|
1186
1186
|
if (typeof u == "string") {
|
1187
1187
|
try {
|
1188
1188
|
const c = JSON.parse(u);
|
@@ -1196,7 +1196,7 @@ function Hi(e, t) {
|
|
1196
1196
|
};
|
1197
1197
|
let l = jn(n);
|
1198
1198
|
for (let a = l - 1; a >= 0; a--)
|
1199
|
-
o(a) || (a === l - 1 ? (l--,
|
1199
|
+
o(a) || (a === l - 1 ? (l--, kn(n, l)) : Qi[e].add(a));
|
1200
1200
|
}
|
1201
1201
|
function qi() {
|
1202
1202
|
if (!Vn) {
|
@@ -1239,7 +1239,7 @@ function ta(e, t) {
|
|
1239
1239
|
let l;
|
1240
1240
|
if (o.size)
|
1241
1241
|
o.delete(l = Array.from(o).shift());
|
1242
|
-
else if (l = jn(i), !
|
1242
|
+
else if (l = jn(i), !kn(i, l + 1))
|
1243
1243
|
return;
|
1244
1244
|
const a = {
|
1245
1245
|
cached: Math.floor(Date.now() / Bi),
|
@@ -1419,19 +1419,19 @@ const $i = {
|
|
1419
1419
|
backgroundColor: "currentColor"
|
1420
1420
|
}, Vi = {
|
1421
1421
|
backgroundColor: "transparent"
|
1422
|
-
},
|
1422
|
+
}, vr = {
|
1423
1423
|
Image: "var(--svg)",
|
1424
1424
|
Repeat: "no-repeat",
|
1425
1425
|
Size: "100% 100%"
|
1426
|
-
},
|
1426
|
+
}, kr = {
|
1427
1427
|
WebkitMask: En,
|
1428
1428
|
mask: En,
|
1429
1429
|
background: Vi
|
1430
1430
|
};
|
1431
|
-
for (const e in
|
1432
|
-
const t =
|
1433
|
-
for (const n in
|
1434
|
-
t[e + n] =
|
1431
|
+
for (const e in kr) {
|
1432
|
+
const t = kr[e];
|
1433
|
+
for (const n in vr)
|
1434
|
+
t[e + n] = vr[n];
|
1435
1435
|
}
|
1436
1436
|
const ya = {
|
1437
1437
|
...$i,
|
@@ -1446,8 +1446,8 @@ const Ma = (e, t, n, r) => {
|
|
1446
1446
|
ref: r
|
1447
1447
|
};
|
1448
1448
|
for (let b in t) {
|
1449
|
-
const
|
1450
|
-
if (
|
1449
|
+
const C = t[b];
|
1450
|
+
if (C !== void 0)
|
1451
1451
|
switch (b) {
|
1452
1452
|
case "icon":
|
1453
1453
|
case "style":
|
@@ -1460,23 +1460,23 @@ const Ma = (e, t, n, r) => {
|
|
1460
1460
|
case "inline":
|
1461
1461
|
case "hFlip":
|
1462
1462
|
case "vFlip":
|
1463
|
-
o[b] =
|
1463
|
+
o[b] = C === !0 || C === "true" || C === 1;
|
1464
1464
|
break;
|
1465
1465
|
case "flip":
|
1466
|
-
typeof
|
1466
|
+
typeof C == "string" && aa(o, C);
|
1467
1467
|
break;
|
1468
1468
|
case "color":
|
1469
|
-
a.color =
|
1469
|
+
a.color = C;
|
1470
1470
|
break;
|
1471
1471
|
case "rotate":
|
1472
|
-
typeof
|
1472
|
+
typeof C == "string" ? o[b] = ua(C) : typeof C == "number" && (o[b] = C);
|
1473
1473
|
break;
|
1474
1474
|
case "ariaHidden":
|
1475
1475
|
case "aria-hidden":
|
1476
|
-
|
1476
|
+
C !== !0 && C !== "true" && delete u["aria-hidden"];
|
1477
1477
|
break;
|
1478
1478
|
default:
|
1479
|
-
i[b] === void 0 && (u[b] =
|
1479
|
+
i[b] === void 0 && (u[b] = C);
|
1480
1480
|
}
|
1481
1481
|
}
|
1482
1482
|
const c = El(e, o), p = c.attributes;
|
@@ -1485,19 +1485,19 @@ const Ma = (e, t, n, r) => {
|
|
1485
1485
|
...a,
|
1486
1486
|
...s
|
1487
1487
|
}, Object.assign(u, p);
|
1488
|
-
let b = 0,
|
1489
|
-
return typeof
|
1490
|
-
__html: ha(Ol(c.body,
|
1488
|
+
let b = 0, C = t.id;
|
1489
|
+
return typeof C == "string" && (C = C.replace(/-/g, "_")), u.dangerouslySetInnerHTML = {
|
1490
|
+
__html: ha(Ol(c.body, C ? () => C + "ID" + b++ : "iconifyReact"))
|
1491
1491
|
}, de.createElement("svg", u);
|
1492
1492
|
}
|
1493
|
-
const { body: m, width: f, height: T } = e, x = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1),
|
1493
|
+
const { body: m, width: f, height: T } = e, x = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = sa(m, {
|
1494
1494
|
...p,
|
1495
1495
|
width: f + "",
|
1496
1496
|
height: T + ""
|
1497
1497
|
});
|
1498
1498
|
return u.style = {
|
1499
1499
|
...a,
|
1500
|
-
"--svg": fa(
|
1500
|
+
"--svg": fa(S),
|
1501
1501
|
width: jr(p.width),
|
1502
1502
|
height: jr(p.height),
|
1503
1503
|
...ma,
|
@@ -1652,7 +1652,7 @@ const xa = 576, ba = (e) => {
|
|
1652
1652
|
).matches
|
1653
1653
|
);
|
1654
1654
|
}, [e]);
|
1655
|
-
return
|
1655
|
+
return ge(() => (r(), window.addEventListener("resize", r), () => window.removeEventListener("resize", r)), [r]), t;
|
1656
1656
|
}, ft = ba, wa = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Da = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Na = 991;
|
1657
1657
|
function Zi({ isNormalSize: e, setIsMounted: t, setIsNormalSize: n }) {
|
1658
1658
|
return ft(Na) ? null : e ? /* @__PURE__ */ w.jsx(
|
@@ -1890,7 +1890,7 @@ function Bt({
|
|
1890
1890
|
containerStyle: u,
|
1891
1891
|
configurations: c
|
1892
1892
|
}) {
|
1893
|
-
return
|
1893
|
+
return ge(() => {
|
1894
1894
|
var p;
|
1895
1895
|
(i || r) && ((p = t.current) == null || p.focus());
|
1896
1896
|
}, [r, i, t]), /* @__PURE__ */ w.jsxs("div", { className: "xpert-chatbot-popup__input--group", style: u, children: [
|
@@ -1958,7 +1958,7 @@ Bt.defaultProps = {
|
|
1958
1958
|
hasXpertMessages: !1
|
1959
1959
|
};
|
1960
1960
|
const Er = ["http", "https", "mailto", "tel"];
|
1961
|
-
function
|
1961
|
+
function va(e) {
|
1962
1962
|
const t = (e || "").trim(), n = t.charAt(0);
|
1963
1963
|
if (n === "#" || n === "/")
|
1964
1964
|
return t;
|
@@ -1979,20 +1979,20 @@ function ka(e) {
|
|
1979
1979
|
* @author Feross Aboukhadijeh <https://feross.org>
|
1980
1980
|
* @license MIT
|
1981
1981
|
*/
|
1982
|
-
var
|
1982
|
+
var ka = function(t) {
|
1983
1983
|
return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
1984
1984
|
};
|
1985
|
-
const Ji = /* @__PURE__ */ Be(
|
1985
|
+
const Ji = /* @__PURE__ */ Be(ka);
|
1986
1986
|
function ot(e) {
|
1987
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ?
|
1988
|
-
}
|
1989
|
-
function Cn(e) {
|
1990
|
-
return Sr(e && e.line) + ":" + Sr(e && e.column);
|
1987
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Sr(e.position) : "start" in e || "end" in e ? Sr(e) : "line" in e || "column" in e ? Sn(e) : "";
|
1991
1988
|
}
|
1992
|
-
function
|
1993
|
-
return
|
1989
|
+
function Sn(e) {
|
1990
|
+
return Cr(e && e.line) + ":" + Cr(e && e.column);
|
1994
1991
|
}
|
1995
1992
|
function Sr(e) {
|
1993
|
+
return Sn(e && e.start) + "-" + Sn(e && e.end);
|
1994
|
+
}
|
1995
|
+
function Cr(e) {
|
1996
1996
|
return e && typeof e == "number" ? e : 1;
|
1997
1997
|
}
|
1998
1998
|
class be extends Error {
|
@@ -2040,7 +2040,7 @@ be.prototype.line = null;
|
|
2040
2040
|
be.prototype.source = null;
|
2041
2041
|
be.prototype.ruleId = null;
|
2042
2042
|
be.prototype.position = null;
|
2043
|
-
const
|
2043
|
+
const ke = { basename: ja, dirname: Ea, extname: Sa, join: Ca, sep: "/" };
|
2044
2044
|
function ja(e, t) {
|
2045
2045
|
if (t !== void 0 && typeof t != "string")
|
2046
2046
|
throw new TypeError('"ext" argument must be a string');
|
@@ -2084,7 +2084,7 @@ function Ea(e) {
|
|
2084
2084
|
r || (r = !0);
|
2085
2085
|
return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t);
|
2086
2086
|
}
|
2087
|
-
function
|
2087
|
+
function Sa(e) {
|
2088
2088
|
dt(e);
|
2089
2089
|
let t = e.length, n = -1, r = 0, i = -1, o = 0, l;
|
2090
2090
|
for (; t--; ) {
|
@@ -2102,7 +2102,7 @@ function Ca(e) {
|
|
2102
2102
|
o === 0 || // The (right-most) trimmed path component is exactly `..`.
|
2103
2103
|
o === 1 && i === n - 1 && i === r + 1 ? "" : e.slice(i, n);
|
2104
2104
|
}
|
2105
|
-
function
|
2105
|
+
function Ca(...e) {
|
2106
2106
|
let t = -1, n;
|
2107
2107
|
for (; ++t < e.length; )
|
2108
2108
|
dt(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
|
@@ -2157,7 +2157,7 @@ const za = { cwd: La };
|
|
2157
2157
|
function La() {
|
2158
2158
|
return "/";
|
2159
2159
|
}
|
2160
|
-
function
|
2160
|
+
function Cn(e) {
|
2161
2161
|
return e !== null && typeof e == "object" && // @ts-expect-error: indexable.
|
2162
2162
|
e.href && // @ts-expect-error: indexable.
|
2163
2163
|
e.origin;
|
@@ -2165,7 +2165,7 @@ function Sn(e) {
|
|
2165
2165
|
function Pa(e) {
|
2166
2166
|
if (typeof e == "string")
|
2167
2167
|
e = new URL(e);
|
2168
|
-
else if (!
|
2168
|
+
else if (!Cn(e)) {
|
2169
2169
|
const t = new TypeError(
|
2170
2170
|
'The "path" argument must be of type string or an instance of URL. Received `' + e + "`"
|
2171
2171
|
);
|
@@ -2224,7 +2224,7 @@ class eo {
|
|
2224
2224
|
*/
|
2225
2225
|
constructor(t) {
|
2226
2226
|
let n;
|
2227
|
-
t ? typeof t == "string" || Ra(t) ? n = { value: t } :
|
2227
|
+
t ? typeof t == "string" || Ra(t) ? n = { value: t } : Cn(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = za.cwd(), this.value, this.stored, this.result, this.map;
|
2228
2228
|
let r = -1;
|
2229
2229
|
for (; ++r < pn.length; ) {
|
2230
2230
|
const o = pn[r];
|
@@ -2252,13 +2252,13 @@ class eo {
|
|
2252
2252
|
* @param {string | URL} path
|
2253
2253
|
*/
|
2254
2254
|
set path(t) {
|
2255
|
-
|
2255
|
+
Cn(t) && (t = Pa(t)), dn(t, "path"), this.path !== t && this.history.push(t);
|
2256
2256
|
}
|
2257
2257
|
/**
|
2258
2258
|
* Get the parent path (example: `'~'`).
|
2259
2259
|
*/
|
2260
2260
|
get dirname() {
|
2261
|
-
return typeof this.path == "string" ?
|
2261
|
+
return typeof this.path == "string" ? ke.dirname(this.path) : void 0;
|
2262
2262
|
}
|
2263
2263
|
/**
|
2264
2264
|
* Set the parent path (example: `'~'`).
|
@@ -2266,13 +2266,13 @@ class eo {
|
|
2266
2266
|
* Cannot be set if there’s no `path` yet.
|
2267
2267
|
*/
|
2268
2268
|
set dirname(t) {
|
2269
|
-
Ar(this.basename, "dirname"), this.path =
|
2269
|
+
Ar(this.basename, "dirname"), this.path = ke.join(t || "", this.basename);
|
2270
2270
|
}
|
2271
2271
|
/**
|
2272
2272
|
* Get the basename (including extname) (example: `'index.min.js'`).
|
2273
2273
|
*/
|
2274
2274
|
get basename() {
|
2275
|
-
return typeof this.path == "string" ?
|
2275
|
+
return typeof this.path == "string" ? ke.basename(this.path) : void 0;
|
2276
2276
|
}
|
2277
2277
|
/**
|
2278
2278
|
* Set basename (including extname) (`'index.min.js'`).
|
@@ -2282,13 +2282,13 @@ class eo {
|
|
2282
2282
|
* Cannot be nullified (use `file.path = file.dirname` instead).
|
2283
2283
|
*/
|
2284
2284
|
set basename(t) {
|
2285
|
-
dn(t, "basename"), fn(t, "basename"), this.path =
|
2285
|
+
dn(t, "basename"), fn(t, "basename"), this.path = ke.join(this.dirname || "", t);
|
2286
2286
|
}
|
2287
2287
|
/**
|
2288
2288
|
* Get the extname (including dot) (example: `'.js'`).
|
2289
2289
|
*/
|
2290
2290
|
get extname() {
|
2291
|
-
return typeof this.path == "string" ?
|
2291
|
+
return typeof this.path == "string" ? ke.extname(this.path) : void 0;
|
2292
2292
|
}
|
2293
2293
|
/**
|
2294
2294
|
* Set the extname (including dot) (example: `'.js'`).
|
@@ -2304,13 +2304,13 @@ class eo {
|
|
2304
2304
|
if (t.includes(".", 1))
|
2305
2305
|
throw new Error("`extname` cannot contain multiple dots");
|
2306
2306
|
}
|
2307
|
-
this.path =
|
2307
|
+
this.path = ke.join(this.dirname, this.stem + (t || ""));
|
2308
2308
|
}
|
2309
2309
|
/**
|
2310
2310
|
* Get the stem (basename w/o extname) (example: `'index.min'`).
|
2311
2311
|
*/
|
2312
2312
|
get stem() {
|
2313
|
-
return typeof this.path == "string" ?
|
2313
|
+
return typeof this.path == "string" ? ke.basename(this.path, this.extname) : void 0;
|
2314
2314
|
}
|
2315
2315
|
/**
|
2316
2316
|
* Set the stem (basename w/o extname) (example: `'index.min'`).
|
@@ -2320,7 +2320,7 @@ class eo {
|
|
2320
2320
|
* Cannot be nullified (use `file.path = file.dirname` instead).
|
2321
2321
|
*/
|
2322
2322
|
set stem(t) {
|
2323
|
-
dn(t, "stem"), fn(t, "stem"), this.path =
|
2323
|
+
dn(t, "stem"), fn(t, "stem"), this.path = ke.join(this.dirname || "", t + (this.extname || ""));
|
2324
2324
|
}
|
2325
2325
|
/**
|
2326
2326
|
* Serialize the file.
|
@@ -2400,9 +2400,9 @@ class eo {
|
|
2400
2400
|
}
|
2401
2401
|
}
|
2402
2402
|
function fn(e, t) {
|
2403
|
-
if (e && e.includes(
|
2403
|
+
if (e && e.includes(ke.sep))
|
2404
2404
|
throw new Error(
|
2405
|
-
"`" + t + "` cannot be a path: did not expect `" +
|
2405
|
+
"`" + t + "` cannot be a path: did not expect `" + ke.sep + "`"
|
2406
2406
|
);
|
2407
2407
|
}
|
2408
2408
|
function dn(e, t) {
|
@@ -2525,38 +2525,38 @@ function ro() {
|
|
2525
2525
|
return o.data = l, o.Parser = void 0, o.Compiler = void 0, o.freeze = a, o.attachers = t, o.use = s, o.parse = u, o.stringify = c, o.run = p, o.runSync = m, o.process = f, o.processSync = T, o;
|
2526
2526
|
function o() {
|
2527
2527
|
const x = ro();
|
2528
|
-
let
|
2529
|
-
for (; ++
|
2530
|
-
x.use(...t[
|
2528
|
+
let S = -1;
|
2529
|
+
for (; ++S < t.length; )
|
2530
|
+
x.use(...t[S]);
|
2531
2531
|
return x.data(Ur(!0, {}, n)), x;
|
2532
2532
|
}
|
2533
|
-
function l(x,
|
2534
|
-
return typeof x == "string" ? arguments.length === 2 ? (mn("data", r), n[x] =
|
2533
|
+
function l(x, S) {
|
2534
|
+
return typeof x == "string" ? arguments.length === 2 ? (mn("data", r), n[x] = S, o) : no.call(n, x) && n[x] || null : x ? (mn("data", r), n = x, o) : n;
|
2535
2535
|
}
|
2536
2536
|
function a() {
|
2537
2537
|
if (r)
|
2538
2538
|
return o;
|
2539
2539
|
for (; ++i < t.length; ) {
|
2540
|
-
const [x, ...
|
2541
|
-
if (
|
2540
|
+
const [x, ...S] = t[i];
|
2541
|
+
if (S[0] === !1)
|
2542
2542
|
continue;
|
2543
|
-
|
2544
|
-
const b = x.call(o, ...
|
2543
|
+
S[0] === !0 && (S[0] = void 0);
|
2544
|
+
const b = x.call(o, ...S);
|
2545
2545
|
typeof b == "function" && e.use(b);
|
2546
2546
|
}
|
2547
2547
|
return r = !0, i = Number.POSITIVE_INFINITY, o;
|
2548
2548
|
}
|
2549
|
-
function s(x, ...
|
2549
|
+
function s(x, ...S) {
|
2550
2550
|
let b;
|
2551
2551
|
if (mn("use", r), x != null)
|
2552
2552
|
if (typeof x == "function")
|
2553
|
-
B(x, ...
|
2553
|
+
B(x, ...S);
|
2554
2554
|
else if (typeof x == "object")
|
2555
2555
|
Array.isArray(x) ? Q(x) : I(x);
|
2556
2556
|
else
|
2557
2557
|
throw new TypeError("Expected usable value, not `" + x + "`");
|
2558
2558
|
return b && (n.settings = Object.assign(n.settings || {}, b)), o;
|
2559
|
-
function
|
2559
|
+
function C(y) {
|
2560
2560
|
if (typeof y == "function")
|
2561
2561
|
B(y);
|
2562
2562
|
else if (typeof y == "object")
|
@@ -2577,7 +2577,7 @@ function ro() {
|
|
2577
2577
|
if (Array.isArray(y))
|
2578
2578
|
for (; ++O < y.length; ) {
|
2579
2579
|
const R = y[O];
|
2580
|
-
|
2580
|
+
C(R);
|
2581
2581
|
}
|
2582
2582
|
else
|
2583
2583
|
throw new TypeError("Expected a list of plugins, not `" + y + "`");
|
@@ -2594,37 +2594,37 @@ function ro() {
|
|
2594
2594
|
}
|
2595
2595
|
function u(x) {
|
2596
2596
|
o.freeze();
|
2597
|
-
const
|
2598
|
-
return hn("parse", b), Br(b, "parse") ? new b(String(
|
2597
|
+
const S = Je(x), b = o.Parser;
|
2598
|
+
return hn("parse", b), Br(b, "parse") ? new b(String(S), S).parse() : b(String(S), S);
|
2599
2599
|
}
|
2600
|
-
function c(x,
|
2600
|
+
function c(x, S) {
|
2601
2601
|
o.freeze();
|
2602
|
-
const b = Je(
|
2603
|
-
return gn("stringify",
|
2604
|
-
}
|
2605
|
-
function p(x,
|
2606
|
-
if (Qr(x), o.freeze(), !b && typeof
|
2607
|
-
return new Promise(
|
2608
|
-
|
2609
|
-
function
|
2610
|
-
e.run(x, Je(
|
2602
|
+
const b = Je(S), C = o.Compiler;
|
2603
|
+
return gn("stringify", C), Qr(x), Br(C, "compile") ? new C(x, b).compile() : C(x, b);
|
2604
|
+
}
|
2605
|
+
function p(x, S, b) {
|
2606
|
+
if (Qr(x), o.freeze(), !b && typeof S == "function" && (b = S, S = void 0), !b)
|
2607
|
+
return new Promise(C);
|
2608
|
+
C(null, b);
|
2609
|
+
function C(I, Q) {
|
2610
|
+
e.run(x, Je(S), B);
|
2611
2611
|
function B(y, O, R) {
|
2612
2612
|
O = O || x, y ? Q(y) : I ? I(O) : b(null, O, R);
|
2613
2613
|
}
|
2614
2614
|
}
|
2615
2615
|
}
|
2616
|
-
function m(x,
|
2617
|
-
let b,
|
2618
|
-
return o.run(x,
|
2616
|
+
function m(x, S) {
|
2617
|
+
let b, C;
|
2618
|
+
return o.run(x, S, I), Yr("runSync", "run", C), b;
|
2619
2619
|
function I(Q, B) {
|
2620
|
-
Or(Q), b = B,
|
2620
|
+
Or(Q), b = B, C = !0;
|
2621
2621
|
}
|
2622
2622
|
}
|
2623
|
-
function f(x,
|
2624
|
-
if (o.freeze(), hn("process", o.Parser), gn("process", o.Compiler), !
|
2623
|
+
function f(x, S) {
|
2624
|
+
if (o.freeze(), hn("process", o.Parser), gn("process", o.Compiler), !S)
|
2625
2625
|
return new Promise(b);
|
2626
|
-
b(null,
|
2627
|
-
function b(
|
2626
|
+
b(null, S);
|
2627
|
+
function b(C, I) {
|
2628
2628
|
const Q = Je(x);
|
2629
2629
|
o.run(o.parse(Q), Q, (y, O, R) => {
|
2630
2630
|
if (y || !O || !R)
|
@@ -2635,17 +2635,17 @@ function ro() {
|
|
2635
2635
|
}
|
2636
2636
|
});
|
2637
2637
|
function B(y, O) {
|
2638
|
-
y || !O ? I(y) :
|
2638
|
+
y || !O ? I(y) : C ? C(O) : S(null, O);
|
2639
2639
|
}
|
2640
2640
|
}
|
2641
2641
|
}
|
2642
2642
|
function T(x) {
|
2643
|
-
let
|
2643
|
+
let S;
|
2644
2644
|
o.freeze(), hn("processSync", o.Parser), gn("processSync", o.Compiler);
|
2645
2645
|
const b = Je(x);
|
2646
|
-
return o.process(b,
|
2647
|
-
function
|
2648
|
-
|
2646
|
+
return o.process(b, C), Yr("processSync", "process", S), b;
|
2647
|
+
function C(I) {
|
2648
|
+
S = !0, Or(I);
|
2649
2649
|
}
|
2650
2650
|
}
|
2651
2651
|
}
|
@@ -2768,7 +2768,7 @@ function Ka(e, t) {
|
|
2768
2768
|
(t[n].add === "after" ? e : r).push(t[n]);
|
2769
2769
|
Ee(e, 0, 0, r);
|
2770
2770
|
}
|
2771
|
-
const Xa = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, je = Le(/[A-Za-z]/),
|
2771
|
+
const Xa = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, je = Le(/[A-Za-z]/), Me = Le(/[\dA-Za-z]/), Ja = Le(/[#-'*+\--9=?A-Z^-~]/);
|
2772
2772
|
function On(e) {
|
2773
2773
|
return (
|
2774
2774
|
// Special whitespace codes (which have negative values), C0 and Control
|
@@ -2780,7 +2780,7 @@ const zn = Le(/\d/), eu = Le(/[\dA-Fa-f]/), tu = Le(/[!-/:-@[-`{-~]/);
|
|
2780
2780
|
function U(e) {
|
2781
2781
|
return e !== null && e < -2;
|
2782
2782
|
}
|
2783
|
-
function
|
2783
|
+
function me(e) {
|
2784
2784
|
return e !== null && (e < 0 || e === 32);
|
2785
2785
|
}
|
2786
2786
|
function W(e) {
|
@@ -2862,7 +2862,7 @@ function au(e) {
|
|
2862
2862
|
}
|
2863
2863
|
function s(I) {
|
2864
2864
|
if (r++, t.containerState._closeFlow) {
|
2865
|
-
t.containerState._closeFlow = void 0, i &&
|
2865
|
+
t.containerState._closeFlow = void 0, i && C();
|
2866
2866
|
const Q = t.events.length;
|
2867
2867
|
let B = Q, y;
|
2868
2868
|
for (; B--; )
|
@@ -2898,7 +2898,7 @@ function au(e) {
|
|
2898
2898
|
)(I);
|
2899
2899
|
}
|
2900
2900
|
function c(I) {
|
2901
|
-
return i &&
|
2901
|
+
return i && C(), b(r), m(I);
|
2902
2902
|
}
|
2903
2903
|
function p(I) {
|
2904
2904
|
return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, T(I);
|
@@ -2915,7 +2915,7 @@ function au(e) {
|
|
2915
2915
|
}
|
2916
2916
|
function T(I) {
|
2917
2917
|
if (I === null) {
|
2918
|
-
i &&
|
2918
|
+
i && C(), b(0), e.consume(I);
|
2919
2919
|
return;
|
2920
2920
|
}
|
2921
2921
|
return i = i || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
@@ -2926,12 +2926,12 @@ function au(e) {
|
|
2926
2926
|
}
|
2927
2927
|
function x(I) {
|
2928
2928
|
if (I === null) {
|
2929
|
-
|
2929
|
+
S(e.exit("chunkFlow"), !0), b(0), e.consume(I);
|
2930
2930
|
return;
|
2931
2931
|
}
|
2932
|
-
return U(I) ? (e.consume(I),
|
2932
|
+
return U(I) ? (e.consume(I), S(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, a) : (e.consume(I), x);
|
2933
2933
|
}
|
2934
|
-
function
|
2934
|
+
function S(I, Q) {
|
2935
2935
|
const B = t.sliceStream(I);
|
2936
2936
|
if (Q && B.push(null), I.previous = o, o && (o.next = I), o = I, i.defineSkip(I.start), i.write(B), t.parser.lazy[I.start.line]) {
|
2937
2937
|
let y = i.events.length;
|
@@ -2971,7 +2971,7 @@ function au(e) {
|
|
2971
2971
|
}
|
2972
2972
|
n.length = I;
|
2973
2973
|
}
|
2974
|
-
function
|
2974
|
+
function C() {
|
2975
2975
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
2976
2976
|
}
|
2977
2977
|
}
|
@@ -2984,7 +2984,7 @@ function uu(e, t, n) {
|
|
2984
2984
|
);
|
2985
2985
|
}
|
2986
2986
|
function Vr(e) {
|
2987
|
-
if (e === null ||
|
2987
|
+
if (e === null || me(e) || ru(e))
|
2988
2988
|
return 1;
|
2989
2989
|
if (nu(e))
|
2990
2990
|
return 2;
|
@@ -3092,10 +3092,10 @@ function fu(e, t, n) {
|
|
3092
3092
|
return je(f) ? (e.consume(f), l) : u(f);
|
3093
3093
|
}
|
3094
3094
|
function l(f) {
|
3095
|
-
return f === 43 || f === 45 || f === 46 ||
|
3095
|
+
return f === 43 || f === 45 || f === 46 || Me(f) ? (r = 1, a(f)) : u(f);
|
3096
3096
|
}
|
3097
3097
|
function a(f) {
|
3098
|
-
return f === 58 ? (e.consume(f), r = 0, s) : (f === 43 || f === 45 || f === 46 ||
|
3098
|
+
return f === 58 ? (e.consume(f), r = 0, s) : (f === 43 || f === 45 || f === 46 || Me(f)) && r++ < 32 ? (e.consume(f), a) : (r = 0, u(f));
|
3099
3099
|
}
|
3100
3100
|
function s(f) {
|
3101
3101
|
return f === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : f === null || f === 32 || f === 60 || On(f) ? n(f) : (e.consume(f), s);
|
@@ -3104,13 +3104,13 @@ function fu(e, t, n) {
|
|
3104
3104
|
return f === 64 ? (e.consume(f), c) : Ja(f) ? (e.consume(f), u) : n(f);
|
3105
3105
|
}
|
3106
3106
|
function c(f) {
|
3107
|
-
return
|
3107
|
+
return Me(f) ? p(f) : n(f);
|
3108
3108
|
}
|
3109
3109
|
function p(f) {
|
3110
3110
|
return f === 46 ? (e.consume(f), r = 0, c) : f === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.exit("autolink"), t) : m(f);
|
3111
3111
|
}
|
3112
3112
|
function m(f) {
|
3113
|
-
if ((f === 45 ||
|
3113
|
+
if ((f === 45 || Me(f)) && r++ < 63) {
|
3114
3114
|
const T = f === 45 ? m : p;
|
3115
3115
|
return e.consume(f), T;
|
3116
3116
|
}
|
@@ -3204,7 +3204,7 @@ function Mu(e, t, n) {
|
|
3204
3204
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), s;
|
3205
3205
|
}
|
3206
3206
|
function s(p) {
|
3207
|
-
return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, l =
|
3207
|
+
return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, l = Me, c(p));
|
3208
3208
|
}
|
3209
3209
|
function u(p) {
|
3210
3210
|
return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = eu, c) : (e.enter("characterReferenceValue"), o = 7, l = zn, c(p));
|
@@ -3212,7 +3212,7 @@ function Mu(e, t, n) {
|
|
3212
3212
|
function c(p) {
|
3213
3213
|
if (p === 59 && i) {
|
3214
3214
|
const m = e.exit("characterReferenceValue");
|
3215
|
-
return l ===
|
3215
|
+
return l === Me && !Gn(r.sliceSerialize(m)) ? n(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
3216
3216
|
}
|
3217
3217
|
return l(p) && i++ < o ? (e.consume(p), c) : n(p);
|
3218
3218
|
}
|
@@ -3259,24 +3259,24 @@ function xu(e, t, n) {
|
|
3259
3259
|
return y === null || U(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y), T);
|
3260
3260
|
}
|
3261
3261
|
function x(y) {
|
3262
|
-
return e.attempt(i, Q,
|
3262
|
+
return e.attempt(i, Q, S)(y);
|
3263
3263
|
}
|
3264
|
-
function
|
3264
|
+
function S(y) {
|
3265
3265
|
return e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), b;
|
3266
3266
|
}
|
3267
3267
|
function b(y) {
|
3268
3268
|
return o > 0 && W(y) ? J(
|
3269
3269
|
e,
|
3270
|
-
|
3270
|
+
C,
|
3271
3271
|
"linePrefix",
|
3272
3272
|
o + 1
|
3273
|
-
)(y) :
|
3273
|
+
)(y) : C(y);
|
3274
3274
|
}
|
3275
|
-
function
|
3275
|
+
function C(y) {
|
3276
3276
|
return y === null || U(y) ? e.check(Gr, x, Q)(y) : (e.enter("codeFlowValue"), I(y));
|
3277
3277
|
}
|
3278
3278
|
function I(y) {
|
3279
|
-
return y === null || U(y) ? (e.exit("codeFlowValue"),
|
3279
|
+
return y === null || U(y) ? (e.exit("codeFlowValue"), C(y)) : (e.consume(y), I);
|
3280
3280
|
}
|
3281
3281
|
function Q(y) {
|
3282
3282
|
return e.exit("codeFenced"), t(y);
|
@@ -3285,9 +3285,9 @@ function xu(e, t, n) {
|
|
3285
3285
|
let q = 0;
|
3286
3286
|
return $;
|
3287
3287
|
function $(z) {
|
3288
|
-
return y.enter("lineEnding"), y.consume(z), y.exit("lineEnding"),
|
3288
|
+
return y.enter("lineEnding"), y.consume(z), y.exit("lineEnding"), v;
|
3289
3289
|
}
|
3290
|
-
function
|
3290
|
+
function v(z) {
|
3291
3291
|
return y.enter("codeFencedFence"), W(z) ? J(
|
3292
3292
|
y,
|
3293
3293
|
M,
|
@@ -3356,9 +3356,9 @@ function Nu(e, t, n) {
|
|
3356
3356
|
}
|
3357
3357
|
const Tu = {
|
3358
3358
|
name: "codeText",
|
3359
|
-
tokenize:
|
3359
|
+
tokenize: ku,
|
3360
3360
|
resolve: Iu,
|
3361
|
-
previous:
|
3361
|
+
previous: vu
|
3362
3362
|
};
|
3363
3363
|
function Iu(e) {
|
3364
3364
|
let t = e.length - 4, n = 3, r, i;
|
@@ -3373,10 +3373,10 @@ function Iu(e) {
|
|
3373
3373
|
i === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (i = r) : (r === t || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), t -= r - i - 2, r = i + 2), i = void 0);
|
3374
3374
|
return e;
|
3375
3375
|
}
|
3376
|
-
function
|
3376
|
+
function vu(e) {
|
3377
3377
|
return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
|
3378
3378
|
}
|
3379
|
-
function
|
3379
|
+
function ku(e, t, n) {
|
3380
3380
|
let r = 0, i, o;
|
3381
3381
|
return l;
|
3382
3382
|
function l(p) {
|
@@ -3419,7 +3419,7 @@ function ju(e, t) {
|
|
3419
3419
|
let i = t - 1;
|
3420
3420
|
const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), a = l.events, s = [], u = {};
|
3421
3421
|
let c, p, m = -1, f = n, T = 0, x = 0;
|
3422
|
-
const
|
3422
|
+
const S = [x];
|
3423
3423
|
for (; f; ) {
|
3424
3424
|
for (; e[++i][1] !== f; )
|
3425
3425
|
;
|
@@ -3427,10 +3427,10 @@ function ju(e, t) {
|
|
3427
3427
|
}
|
3428
3428
|
for (f = n; ++m < a.length; )
|
3429
3429
|
// Find a void token that includes a break.
|
3430
|
-
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (x = m + 1,
|
3431
|
-
for (l.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) :
|
3432
|
-
const b = a.slice(
|
3433
|
-
s.unshift([
|
3430
|
+
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (x = m + 1, S.push(x), f._tokenizer = void 0, f.previous = void 0, f = f.next);
|
3431
|
+
for (l.events = [], f ? (f._tokenizer = void 0, f.previous = void 0) : S.pop(), m = S.length; m--; ) {
|
3432
|
+
const b = a.slice(S[m], S[m + 1]), C = o.pop();
|
3433
|
+
s.unshift([C, C + b.length - 1]), Ee(e, C, 2, b);
|
3434
3434
|
}
|
3435
3435
|
for (m = -1; ++m < s.length; )
|
3436
3436
|
u[T + s[m][0]] = T + s[m][1], T += s[m][1] - s[m][0] - 1;
|
@@ -3438,12 +3438,12 @@ function ju(e, t) {
|
|
3438
3438
|
}
|
3439
3439
|
const Eu = {
|
3440
3440
|
tokenize: Au,
|
3441
|
-
resolve:
|
3442
|
-
},
|
3441
|
+
resolve: Cu
|
3442
|
+
}, Su = {
|
3443
3443
|
tokenize: Ou,
|
3444
3444
|
partial: !0
|
3445
3445
|
};
|
3446
|
-
function
|
3446
|
+
function Cu(e) {
|
3447
3447
|
return uo(e), e;
|
3448
3448
|
}
|
3449
3449
|
function Au(e, t) {
|
@@ -3456,7 +3456,7 @@ function Au(e, t) {
|
|
3456
3456
|
}
|
3457
3457
|
function i(a) {
|
3458
3458
|
return a === null ? o(a) : U(a) ? e.check(
|
3459
|
-
|
3459
|
+
Su,
|
3460
3460
|
l,
|
3461
3461
|
o
|
3462
3462
|
)(a) : (e.consume(a), i);
|
@@ -3505,9 +3505,9 @@ function so(e, t, n, r, i, o, l, a, s) {
|
|
3505
3505
|
return b === 60 || b === 62 || b === 92 ? (e.consume(b), f) : f(b);
|
3506
3506
|
}
|
3507
3507
|
function x(b) {
|
3508
|
-
return !c && (b === null || b === 41 ||
|
3508
|
+
return !c && (b === null || b === 41 || me(b)) ? (e.exit("chunkString"), e.exit(a), e.exit(l), e.exit(r), t(b)) : c < u && b === 40 ? (e.consume(b), c++, x) : b === 41 ? (e.consume(b), c--, x) : b === null || b === 32 || b === 40 || On(b) ? n(b) : (e.consume(b), b === 92 ? S : x);
|
3509
3509
|
}
|
3510
|
-
function
|
3510
|
+
function S(b) {
|
3511
3511
|
return b === 40 || b === 41 || b === 92 ? (e.consume(b), x) : x(b);
|
3512
3512
|
}
|
3513
3513
|
}
|
@@ -3602,7 +3602,7 @@ function Pu(e, t, n) {
|
|
3602
3602
|
), f === 58 ? (e.enter("definitionMarker"), e.consume(f), e.exit("definitionMarker"), s) : n(f);
|
3603
3603
|
}
|
3604
3604
|
function s(f) {
|
3605
|
-
return
|
3605
|
+
return me(f) ? lt(e, u)(f) : u(f);
|
3606
3606
|
}
|
3607
3607
|
function u(f) {
|
3608
3608
|
return so(
|
@@ -3630,7 +3630,7 @@ function Pu(e, t, n) {
|
|
3630
3630
|
function Fu(e, t, n) {
|
3631
3631
|
return r;
|
3632
3632
|
function r(a) {
|
3633
|
-
return
|
3633
|
+
return me(a) ? lt(e, i)(a) : n(a);
|
3634
3634
|
}
|
3635
3635
|
function i(a) {
|
3636
3636
|
return po(
|
@@ -3695,7 +3695,7 @@ function Qu(e, t, n) {
|
|
3695
3695
|
return e.enter("atxHeadingSequence"), l(c);
|
3696
3696
|
}
|
3697
3697
|
function l(c) {
|
3698
|
-
return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null ||
|
3698
|
+
return c === 35 && r++ < 6 ? (e.consume(c), l) : c === null || me(c) ? (e.exit("atxHeadingSequence"), a(c)) : n(c);
|
3699
3699
|
}
|
3700
3700
|
function a(c) {
|
3701
3701
|
return c === 35 ? (e.enter("atxHeadingSequence"), s(c)) : c === null || U(c) ? (e.exit("atxHeading"), t(c)) : W(c) ? J(e, a, "whitespace")(c) : (e.enter("atxHeadingText"), u(c));
|
@@ -3704,7 +3704,7 @@ function Qu(e, t, n) {
|
|
3704
3704
|
return c === 35 ? (e.consume(c), s) : (e.exit("atxHeadingSequence"), a(c));
|
3705
3705
|
}
|
3706
3706
|
function u(c) {
|
3707
|
-
return c === null || c === 35 ||
|
3707
|
+
return c === null || c === 35 || me(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
|
3708
3708
|
}
|
3709
3709
|
}
|
3710
3710
|
const Yu = [
|
@@ -3799,7 +3799,7 @@ function Wu(e, t, n) {
|
|
3799
3799
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(g), p;
|
3800
3800
|
}
|
3801
3801
|
function p(g) {
|
3802
|
-
return g === 33 ? (e.consume(g), m) : g === 47 ? (e.consume(g), o = !0, x) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : d) : je(g) ? (e.consume(g), l = String.fromCharCode(g),
|
3802
|
+
return g === 33 ? (e.consume(g), m) : g === 47 ? (e.consume(g), o = !0, x) : g === 63 ? (e.consume(g), i = 3, r.interrupt ? t : d) : je(g) ? (e.consume(g), l = String.fromCharCode(g), S) : n(g);
|
3803
3803
|
}
|
3804
3804
|
function m(g) {
|
3805
3805
|
return g === 45 ? (e.consume(g), i = 2, f) : g === 91 ? (e.consume(g), i = 5, a = 0, T) : je(g) ? (e.consume(g), i = 4, r.interrupt ? t : d) : n(g);
|
@@ -3812,26 +3812,26 @@ function Wu(e, t, n) {
|
|
3812
3812
|
return g === oe.charCodeAt(a++) ? (e.consume(g), a === oe.length ? r.interrupt ? t : M : T) : n(g);
|
3813
3813
|
}
|
3814
3814
|
function x(g) {
|
3815
|
-
return je(g) ? (e.consume(g), l = String.fromCharCode(g),
|
3815
|
+
return je(g) ? (e.consume(g), l = String.fromCharCode(g), S) : n(g);
|
3816
3816
|
}
|
3817
|
-
function
|
3818
|
-
if (g === null || g === 47 || g === 62 ||
|
3817
|
+
function S(g) {
|
3818
|
+
if (g === null || g === 47 || g === 62 || me(g)) {
|
3819
3819
|
const oe = g === 47, Ne = l.toLowerCase();
|
3820
|
-
return !oe && !o && Xr.includes(Ne) ? (i = 1, r.interrupt ? t(g) : M(g)) : Yu.includes(l.toLowerCase()) ? (i = 6, oe ? (e.consume(g), b) : r.interrupt ? t(g) : M(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ?
|
3820
|
+
return !oe && !o && Xr.includes(Ne) ? (i = 1, r.interrupt ? t(g) : M(g)) : Yu.includes(l.toLowerCase()) ? (i = 6, oe ? (e.consume(g), b) : r.interrupt ? t(g) : M(g)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(g) : o ? C(g) : I(g));
|
3821
3821
|
}
|
3822
|
-
return g === 45 ||
|
3822
|
+
return g === 45 || Me(g) ? (e.consume(g), l += String.fromCharCode(g), S) : n(g);
|
3823
3823
|
}
|
3824
3824
|
function b(g) {
|
3825
3825
|
return g === 62 ? (e.consume(g), r.interrupt ? t : M) : n(g);
|
3826
3826
|
}
|
3827
|
-
function
|
3828
|
-
return W(g) ? (e.consume(g),
|
3827
|
+
function C(g) {
|
3828
|
+
return W(g) ? (e.consume(g), C) : $(g);
|
3829
3829
|
}
|
3830
3830
|
function I(g) {
|
3831
3831
|
return g === 47 ? (e.consume(g), $) : g === 58 || g === 95 || je(g) ? (e.consume(g), Q) : W(g) ? (e.consume(g), I) : $(g);
|
3832
3832
|
}
|
3833
3833
|
function Q(g) {
|
3834
|
-
return g === 45 || g === 46 || g === 58 || g === 95 ||
|
3834
|
+
return g === 45 || g === 46 || g === 58 || g === 95 || Me(g) ? (e.consume(g), Q) : B(g);
|
3835
3835
|
}
|
3836
3836
|
function B(g) {
|
3837
3837
|
return g === 61 ? (e.consume(g), y) : W(g) ? (e.consume(g), B) : I(g);
|
@@ -3843,16 +3843,16 @@ function Wu(e, t, n) {
|
|
3843
3843
|
return g === s ? (e.consume(g), s = null, q) : g === null || U(g) ? n(g) : (e.consume(g), O);
|
3844
3844
|
}
|
3845
3845
|
function R(g) {
|
3846
|
-
return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 ||
|
3846
|
+
return g === null || g === 34 || g === 39 || g === 47 || g === 60 || g === 61 || g === 62 || g === 96 || me(g) ? B(g) : (e.consume(g), R);
|
3847
3847
|
}
|
3848
3848
|
function q(g) {
|
3849
3849
|
return g === 47 || g === 62 || W(g) ? I(g) : n(g);
|
3850
3850
|
}
|
3851
3851
|
function $(g) {
|
3852
|
-
return g === 62 ? (e.consume(g),
|
3852
|
+
return g === 62 ? (e.consume(g), v) : n(g);
|
3853
3853
|
}
|
3854
|
-
function
|
3855
|
-
return g === null || U(g) ? M(g) : W(g) ? (e.consume(g),
|
3854
|
+
function v(g) {
|
3855
|
+
return g === null || U(g) ? M(g) : W(g) ? (e.consume(g), v) : n(g);
|
3856
3856
|
}
|
3857
3857
|
function M(g) {
|
3858
3858
|
return g === 45 && i === 2 ? (e.consume(g), _) : g === 60 && i === 1 ? (e.consume(g), Y) : g === 62 && i === 4 ? (e.consume(g), ie) : g === 63 && i === 3 ? (e.consume(g), d) : g === 93 && i === 5 ? (e.consume(g), K) : U(g) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
@@ -3931,7 +3931,7 @@ function Xu(e, t, n) {
|
|
3931
3931
|
return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), B) : d === 63 ? (e.consume(d), I) : je(d) ? (e.consume(d), R) : n(d);
|
3932
3932
|
}
|
3933
3933
|
function u(d) {
|
3934
|
-
return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, T) : je(d) ? (e.consume(d),
|
3934
|
+
return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, T) : je(d) ? (e.consume(d), C) : n(d);
|
3935
3935
|
}
|
3936
3936
|
function c(d) {
|
3937
3937
|
return d === 45 ? (e.consume(d), f) : n(d);
|
@@ -3950,16 +3950,16 @@ function Xu(e, t, n) {
|
|
3950
3950
|
return d === ie.charCodeAt(o++) ? (e.consume(d), o === ie.length ? x : T) : n(d);
|
3951
3951
|
}
|
3952
3952
|
function x(d) {
|
3953
|
-
return d === null ? n(d) : d === 93 ? (e.consume(d),
|
3953
|
+
return d === null ? n(d) : d === 93 ? (e.consume(d), S) : U(d) ? (l = x, Y(d)) : (e.consume(d), x);
|
3954
3954
|
}
|
3955
|
-
function
|
3955
|
+
function S(d) {
|
3956
3956
|
return d === 93 ? (e.consume(d), b) : x(d);
|
3957
3957
|
}
|
3958
3958
|
function b(d) {
|
3959
3959
|
return d === 62 ? _(d) : d === 93 ? (e.consume(d), b) : x(d);
|
3960
3960
|
}
|
3961
|
-
function
|
3962
|
-
return d === null || d === 62 ? _(d) : U(d) ? (l =
|
3961
|
+
function C(d) {
|
3962
|
+
return d === null || d === 62 ? _(d) : U(d) ? (l = C, Y(d)) : (e.consume(d), C);
|
3963
3963
|
}
|
3964
3964
|
function I(d) {
|
3965
3965
|
return d === null ? n(d) : d === 63 ? (e.consume(d), Q) : U(d) ? (l = I, Y(d)) : (e.consume(d), I);
|
@@ -3971,22 +3971,22 @@ function Xu(e, t, n) {
|
|
3971
3971
|
return je(d) ? (e.consume(d), y) : n(d);
|
3972
3972
|
}
|
3973
3973
|
function y(d) {
|
3974
|
-
return d === 45 ||
|
3974
|
+
return d === 45 || Me(d) ? (e.consume(d), y) : O(d);
|
3975
3975
|
}
|
3976
3976
|
function O(d) {
|
3977
3977
|
return U(d) ? (l = O, Y(d)) : W(d) ? (e.consume(d), O) : _(d);
|
3978
3978
|
}
|
3979
3979
|
function R(d) {
|
3980
|
-
return d === 45 ||
|
3980
|
+
return d === 45 || Me(d) ? (e.consume(d), R) : d === 47 || d === 62 || me(d) ? q(d) : n(d);
|
3981
3981
|
}
|
3982
3982
|
function q(d) {
|
3983
3983
|
return d === 47 ? (e.consume(d), _) : d === 58 || d === 95 || je(d) ? (e.consume(d), $) : U(d) ? (l = q, Y(d)) : W(d) ? (e.consume(d), q) : _(d);
|
3984
3984
|
}
|
3985
3985
|
function $(d) {
|
3986
|
-
return d === 45 || d === 46 || d === 58 || d === 95 ||
|
3986
|
+
return d === 45 || d === 46 || d === 58 || d === 95 || Me(d) ? (e.consume(d), $) : v(d);
|
3987
3987
|
}
|
3988
|
-
function
|
3989
|
-
return d === 61 ? (e.consume(d), M) : U(d) ? (l =
|
3988
|
+
function v(d) {
|
3989
|
+
return d === 61 ? (e.consume(d), M) : U(d) ? (l = v, Y(d)) : W(d) ? (e.consume(d), v) : q(d);
|
3990
3990
|
}
|
3991
3991
|
function M(d) {
|
3992
3992
|
return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? n(d) : d === 34 || d === 39 ? (e.consume(d), i = d, N) : U(d) ? (l = M, Y(d)) : W(d) ? (e.consume(d), M) : (e.consume(d), A);
|
@@ -3995,10 +3995,10 @@ function Xu(e, t, n) {
|
|
3995
3995
|
return d === i ? (e.consume(d), i = void 0, z) : d === null ? n(d) : U(d) ? (l = N, Y(d)) : (e.consume(d), N);
|
3996
3996
|
}
|
3997
3997
|
function A(d) {
|
3998
|
-
return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 ||
|
3998
|
+
return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? n(d) : d === 47 || d === 62 || me(d) ? q(d) : (e.consume(d), A);
|
3999
3999
|
}
|
4000
4000
|
function z(d) {
|
4001
|
-
return d === 47 || d === 62 ||
|
4001
|
+
return d === 47 || d === 62 || me(d) ? q(d) : n(d);
|
4002
4002
|
}
|
4003
4003
|
function _(d) {
|
4004
4004
|
return d === 62 ? (e.consume(d), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(d);
|
@@ -4132,7 +4132,7 @@ function os(e, t, n) {
|
|
4132
4132
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
|
4133
4133
|
}
|
4134
4134
|
function i(p) {
|
4135
|
-
return
|
4135
|
+
return me(p) ? lt(e, o)(p) : o(p);
|
4136
4136
|
}
|
4137
4137
|
function o(p) {
|
4138
4138
|
return p === 41 ? c(p) : so(
|
@@ -4148,7 +4148,7 @@ function os(e, t, n) {
|
|
4148
4148
|
)(p);
|
4149
4149
|
}
|
4150
4150
|
function l(p) {
|
4151
|
-
return
|
4151
|
+
return me(p) ? lt(e, s)(p) : c(p);
|
4152
4152
|
}
|
4153
4153
|
function a(p) {
|
4154
4154
|
return n(p);
|
@@ -4164,7 +4164,7 @@ function os(e, t, n) {
|
|
4164
4164
|
)(p) : c(p);
|
4165
4165
|
}
|
4166
4166
|
function u(p) {
|
4167
|
-
return
|
4167
|
+
return me(p) ? lt(e, c)(p) : c(p);
|
4168
4168
|
}
|
4169
4169
|
function c(p) {
|
4170
4170
|
return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
|
@@ -4247,7 +4247,7 @@ function fs(e, t) {
|
|
4247
4247
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), J(e, t, "linePrefix");
|
4248
4248
|
}
|
4249
4249
|
}
|
4250
|
-
const
|
4250
|
+
const St = {
|
4251
4251
|
name: "thematicBreak",
|
4252
4252
|
tokenize: ds
|
4253
4253
|
};
|
@@ -4291,7 +4291,7 @@ function ms(e, t, n) {
|
|
4291
4291
|
if (r.containerState.type || (r.containerState.type = T, e.enter(T, {
|
4292
4292
|
_container: !0
|
4293
4293
|
})), T === "listUnordered")
|
4294
|
-
return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(
|
4294
|
+
return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(St, n, u)(f) : u(f);
|
4295
4295
|
if (!r.interrupt || f === 49)
|
4296
4296
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f);
|
4297
4297
|
}
|
@@ -4461,7 +4461,7 @@ function Ts(e) {
|
|
4461
4461
|
}
|
4462
4462
|
const Is = {
|
4463
4463
|
resolveAll: ho()
|
4464
|
-
},
|
4464
|
+
}, vs = fo("string"), ks = fo("text");
|
4465
4465
|
function fo(e) {
|
4466
4466
|
return {
|
4467
4467
|
tokenize: t,
|
@@ -4568,7 +4568,7 @@ function Es(e, t, n) {
|
|
4568
4568
|
const i = {}, o = [];
|
4569
4569
|
let l = [], a = [];
|
4570
4570
|
const s = {
|
4571
|
-
consume:
|
4571
|
+
consume: C,
|
4572
4572
|
enter: I,
|
4573
4573
|
exit: Q,
|
4574
4574
|
attempt: O(B),
|
@@ -4590,60 +4590,60 @@ function Es(e, t, n) {
|
|
4590
4590
|
};
|
4591
4591
|
let c = t.tokenize.call(u, s);
|
4592
4592
|
return t.resolveAll && o.push(t), u;
|
4593
|
-
function p(
|
4594
|
-
return l = xe(l,
|
4593
|
+
function p(v) {
|
4594
|
+
return l = xe(l, v), S(), l[l.length - 1] !== null ? [] : (R(t, 0), u.events = Zn(o, u.events, u), u.events);
|
4595
4595
|
}
|
4596
|
-
function m(
|
4597
|
-
return
|
4596
|
+
function m(v, M) {
|
4597
|
+
return Cs(f(v), M);
|
4598
4598
|
}
|
4599
|
-
function f(
|
4600
|
-
return
|
4599
|
+
function f(v) {
|
4600
|
+
return Ss(l, v);
|
4601
4601
|
}
|
4602
4602
|
function T() {
|
4603
|
-
const { line:
|
4603
|
+
const { line: v, column: M, offset: N, _index: A, _bufferIndex: z } = r;
|
4604
4604
|
return {
|
4605
|
-
line:
|
4605
|
+
line: v,
|
4606
4606
|
column: M,
|
4607
4607
|
offset: N,
|
4608
4608
|
_index: A,
|
4609
4609
|
_bufferIndex: z
|
4610
4610
|
};
|
4611
4611
|
}
|
4612
|
-
function x(
|
4613
|
-
i[
|
4612
|
+
function x(v) {
|
4613
|
+
i[v.line] = v.column, $();
|
4614
4614
|
}
|
4615
|
-
function
|
4616
|
-
let
|
4615
|
+
function S() {
|
4616
|
+
let v;
|
4617
4617
|
for (; r._index < l.length; ) {
|
4618
4618
|
const M = l[r._index];
|
4619
4619
|
if (typeof M == "string")
|
4620
|
-
for (
|
4620
|
+
for (v = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === v && r._bufferIndex < M.length; )
|
4621
4621
|
b(M.charCodeAt(r._bufferIndex));
|
4622
4622
|
else
|
4623
4623
|
b(M);
|
4624
4624
|
}
|
4625
4625
|
}
|
4626
|
-
function b(
|
4627
|
-
c = c(
|
4626
|
+
function b(v) {
|
4627
|
+
c = c(v);
|
4628
4628
|
}
|
4629
|
-
function
|
4630
|
-
U(
|
4629
|
+
function C(v) {
|
4630
|
+
U(v) ? (r.line++, r.column = 1, r.offset += v === -3 ? 2 : 1, $()) : v !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === l[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = v;
|
4631
4631
|
}
|
4632
|
-
function I(
|
4632
|
+
function I(v, M) {
|
4633
4633
|
const N = M || {};
|
4634
|
-
return N.type =
|
4634
|
+
return N.type = v, N.start = T(), u.events.push(["enter", N, u]), a.push(N), N;
|
4635
4635
|
}
|
4636
|
-
function Q(
|
4636
|
+
function Q(v) {
|
4637
4637
|
const M = a.pop();
|
4638
4638
|
return M.end = T(), u.events.push(["exit", M, u]), M;
|
4639
4639
|
}
|
4640
|
-
function B(
|
4641
|
-
R(
|
4640
|
+
function B(v, M) {
|
4641
|
+
R(v, M.from);
|
4642
4642
|
}
|
4643
|
-
function y(
|
4643
|
+
function y(v, M) {
|
4644
4644
|
M.restore();
|
4645
4645
|
}
|
4646
|
-
function O(
|
4646
|
+
function O(v, M) {
|
4647
4647
|
return N;
|
4648
4648
|
function N(A, z, _) {
|
4649
4649
|
let Y, V, K, d;
|
@@ -4681,36 +4681,36 @@ function Es(e, t, n) {
|
|
4681
4681
|
}
|
4682
4682
|
}
|
4683
4683
|
function oe(Z) {
|
4684
|
-
return
|
4684
|
+
return v(K, d), z;
|
4685
4685
|
}
|
4686
4686
|
function Ne(Z) {
|
4687
4687
|
return d.restore(), ++V < Y.length ? g(Y[V]) : _;
|
4688
4688
|
}
|
4689
4689
|
}
|
4690
4690
|
}
|
4691
|
-
function R(
|
4692
|
-
|
4691
|
+
function R(v, M) {
|
4692
|
+
v.resolveAll && !o.includes(v) && o.push(v), v.resolve && Ee(
|
4693
4693
|
u.events,
|
4694
4694
|
M,
|
4695
4695
|
u.events.length - M,
|
4696
|
-
|
4697
|
-
),
|
4696
|
+
v.resolve(u.events.slice(M), u)
|
4697
|
+
), v.resolveTo && (u.events = v.resolveTo(u.events, u));
|
4698
4698
|
}
|
4699
4699
|
function q() {
|
4700
|
-
const
|
4700
|
+
const v = T(), M = u.previous, N = u.currentConstruct, A = u.events.length, z = Array.from(a);
|
4701
4701
|
return {
|
4702
4702
|
restore: _,
|
4703
4703
|
from: A
|
4704
4704
|
};
|
4705
4705
|
function _() {
|
4706
|
-
r =
|
4706
|
+
r = v, u.previous = M, u.currentConstruct = N, u.events.length = A, a = z, $();
|
4707
4707
|
}
|
4708
4708
|
}
|
4709
4709
|
function $() {
|
4710
4710
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
4711
4711
|
}
|
4712
4712
|
}
|
4713
|
-
function
|
4713
|
+
function Ss(e, t) {
|
4714
4714
|
const n = t.start._index, r = t.start._bufferIndex, i = t.end._index, o = t.end._bufferIndex;
|
4715
4715
|
let l;
|
4716
4716
|
if (n === i)
|
@@ -4724,7 +4724,7 @@ function Cs(e, t) {
|
|
4724
4724
|
}
|
4725
4725
|
return l;
|
4726
4726
|
}
|
4727
|
-
function
|
4727
|
+
function Cs(e, t) {
|
4728
4728
|
let n = -1;
|
4729
4729
|
const r = [];
|
4730
4730
|
let i;
|
@@ -4789,11 +4789,11 @@ const As = {
|
|
4789
4789
|
32: yn
|
4790
4790
|
}, Ls = {
|
4791
4791
|
35: Uu,
|
4792
|
-
42:
|
4793
|
-
45: [Jr,
|
4792
|
+
42: St,
|
4793
|
+
45: [Jr, St],
|
4794
4794
|
60: Hu,
|
4795
4795
|
61: Jr,
|
4796
|
-
95:
|
4796
|
+
95: St,
|
4797
4797
|
96: Kr,
|
4798
4798
|
126: Kr
|
4799
4799
|
}, Ps = {
|
@@ -4841,8 +4841,8 @@ function Qs(e) {
|
|
4841
4841
|
content: i(iu),
|
4842
4842
|
document: i(lu),
|
4843
4843
|
flow: i(Ns),
|
4844
|
-
string: i(
|
4845
|
-
text: i(
|
4844
|
+
string: i(vs),
|
4845
|
+
text: i(ks)
|
4846
4846
|
};
|
4847
4847
|
return r;
|
4848
4848
|
function i(o) {
|
@@ -4945,20 +4945,20 @@ function Zs(e) {
|
|
4945
4945
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
4946
4946
|
enter: {
|
4947
4947
|
autolink: a(yt),
|
4948
|
-
autolinkProtocol:
|
4949
|
-
autolinkEmail:
|
4948
|
+
autolinkProtocol: v,
|
4949
|
+
autolinkEmail: v,
|
4950
4950
|
atxHeading: a(gt),
|
4951
4951
|
blockQuote: a(Ze),
|
4952
|
-
characterEscape:
|
4953
|
-
characterReference:
|
4952
|
+
characterEscape: v,
|
4953
|
+
characterReference: v,
|
4954
4954
|
codeFenced: a(Pe),
|
4955
4955
|
codeFencedFenceInfo: s,
|
4956
4956
|
codeFencedFenceMeta: s,
|
4957
4957
|
codeIndented: a(Pe, s),
|
4958
4958
|
codeText: a(Ge, s),
|
4959
|
-
codeTextData:
|
4960
|
-
data:
|
4961
|
-
codeFlowValue:
|
4959
|
+
codeTextData: v,
|
4960
|
+
data: v,
|
4961
|
+
codeFlowValue: v,
|
4962
4962
|
definition: a(nn),
|
4963
4963
|
definitionDestinationString: s,
|
4964
4964
|
definitionLabelString: s,
|
@@ -4966,10 +4966,10 @@ function Zs(e) {
|
|
4966
4966
|
emphasis: a(rn),
|
4967
4967
|
hardBreakEscape: a(mt),
|
4968
4968
|
hardBreakTrailing: a(mt),
|
4969
|
-
htmlFlow: a(
|
4970
|
-
htmlFlowData:
|
4971
|
-
htmlText: a(
|
4972
|
-
htmlTextData:
|
4969
|
+
htmlFlow: a(Se, s),
|
4970
|
+
htmlFlowData: v,
|
4971
|
+
htmlText: a(Se, s),
|
4972
|
+
htmlTextData: v,
|
4973
4973
|
image: a(on),
|
4974
4974
|
label: s,
|
4975
4975
|
link: a(yt),
|
@@ -4997,10 +4997,10 @@ function Zs(e) {
|
|
4997
4997
|
characterReferenceMarkerHexadecimal: ce,
|
4998
4998
|
characterReferenceMarkerNumeric: ce,
|
4999
4999
|
characterReferenceValue: ne,
|
5000
|
-
codeFenced: c(
|
5000
|
+
codeFenced: c(C),
|
5001
5001
|
codeFencedFence: b,
|
5002
5002
|
codeFencedFenceInfo: x,
|
5003
|
-
codeFencedFenceMeta:
|
5003
|
+
codeFencedFenceMeta: S,
|
5004
5004
|
codeFlowValue: M,
|
5005
5005
|
codeIndented: c(I),
|
5006
5006
|
codeText: c(Y),
|
@@ -5082,14 +5082,14 @@ function Zs(e) {
|
|
5082
5082
|
(re[1] || ti).call(F, void 0, re[0]);
|
5083
5083
|
}
|
5084
5084
|
for (j.position = {
|
5085
|
-
start:
|
5085
|
+
start: Ce(
|
5086
5086
|
D.length > 0 ? D[0][1].start : {
|
5087
5087
|
line: 1,
|
5088
5088
|
column: 1,
|
5089
5089
|
offset: 0
|
5090
5090
|
}
|
5091
5091
|
),
|
5092
|
-
end:
|
5092
|
+
end: Ce(
|
5093
5093
|
D.length > 0 ? D[D.length - 2][1].end : {
|
5094
5094
|
line: 1,
|
5095
5095
|
column: 1,
|
@@ -5152,7 +5152,7 @@ function Zs(e) {
|
|
5152
5152
|
}
|
5153
5153
|
function u(D, j, F) {
|
5154
5154
|
return this.stack[this.stack.length - 1].children.push(D), this.stack.push(D), this.tokenStack.push([j, F]), D.position = {
|
5155
|
-
start:
|
5155
|
+
start: Ce(j.start)
|
5156
5156
|
}, D;
|
5157
5157
|
}
|
5158
5158
|
function c(D) {
|
@@ -5172,7 +5172,7 @@ function Zs(e) {
|
|
5172
5172
|
end: D.end
|
5173
5173
|
}) + "): it’s not open"
|
5174
5174
|
);
|
5175
|
-
return F.position.end =
|
5175
|
+
return F.position.end = Ce(D.end), F;
|
5176
5176
|
}
|
5177
5177
|
function m() {
|
5178
5178
|
return Va(this.stack.pop());
|
@@ -5190,14 +5190,14 @@ function Zs(e) {
|
|
5190
5190
|
const D = this.resume(), j = this.stack[this.stack.length - 1];
|
5191
5191
|
j.lang = D;
|
5192
5192
|
}
|
5193
|
-
function
|
5193
|
+
function S() {
|
5194
5194
|
const D = this.resume(), j = this.stack[this.stack.length - 1];
|
5195
5195
|
j.meta = D;
|
5196
5196
|
}
|
5197
5197
|
function b() {
|
5198
5198
|
l("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
|
5199
5199
|
}
|
5200
|
-
function
|
5200
|
+
function C() {
|
5201
5201
|
const D = this.resume(), j = this.stack[this.stack.length - 1];
|
5202
5202
|
j.value = D.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
|
5203
5203
|
}
|
@@ -5236,25 +5236,25 @@ function Zs(e) {
|
|
5236
5236
|
function $() {
|
5237
5237
|
o("setextHeadingSlurpLineEnding");
|
5238
5238
|
}
|
5239
|
-
function
|
5239
|
+
function v(D) {
|
5240
5240
|
const j = this.stack[this.stack.length - 1];
|
5241
5241
|
let F = j.children[j.children.length - 1];
|
5242
5242
|
(!F || F.type !== "text") && (F = xt(), F.position = {
|
5243
|
-
start:
|
5243
|
+
start: Ce(D.start)
|
5244
5244
|
}, j.children.push(F)), this.stack.push(F);
|
5245
5245
|
}
|
5246
5246
|
function M(D) {
|
5247
5247
|
const j = this.stack.pop();
|
5248
|
-
j.value += this.sliceSerialize(D), j.position.end =
|
5248
|
+
j.value += this.sliceSerialize(D), j.position.end = Ce(D.end);
|
5249
5249
|
}
|
5250
5250
|
function N(D) {
|
5251
5251
|
const j = this.stack[this.stack.length - 1];
|
5252
5252
|
if (l("atHardBreak")) {
|
5253
5253
|
const F = j.children[j.children.length - 1];
|
5254
|
-
F.position.end =
|
5254
|
+
F.position.end = Ce(D.end), o("atHardBreak");
|
5255
5255
|
return;
|
5256
5256
|
}
|
5257
|
-
!l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(j.type) && (
|
5257
|
+
!l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(j.type) && (v.call(this, D), M.call(this, D));
|
5258
5258
|
}
|
5259
5259
|
function A() {
|
5260
5260
|
o("atHardBreak", !0);
|
@@ -5332,7 +5332,7 @@ function Zs(e) {
|
|
5332
5332
|
F === "characterReferenceMarkerNumeric" ? 10 : 16
|
5333
5333
|
), o("characterReferenceType")) : E = Gn(j);
|
5334
5334
|
const L = this.stack.pop();
|
5335
|
-
L.value += E, L.position.end =
|
5335
|
+
L.value += E, L.position.end = Ce(D.end);
|
5336
5336
|
}
|
5337
5337
|
function ue(D) {
|
5338
5338
|
M.call(this, D);
|
@@ -5391,7 +5391,7 @@ function Zs(e) {
|
|
5391
5391
|
type: "break"
|
5392
5392
|
};
|
5393
5393
|
}
|
5394
|
-
function
|
5394
|
+
function Se() {
|
5395
5395
|
return {
|
5396
5396
|
type: "html",
|
5397
5397
|
value: ""
|
@@ -5454,7 +5454,7 @@ function Zs(e) {
|
|
5454
5454
|
};
|
5455
5455
|
}
|
5456
5456
|
}
|
5457
|
-
function
|
5457
|
+
function Ce(e) {
|
5458
5458
|
return {
|
5459
5459
|
line: e.line,
|
5460
5460
|
column: e.column,
|
@@ -5568,7 +5568,7 @@ function Ve(e) {
|
|
5568
5568
|
for (; ++n < e.length; ) {
|
5569
5569
|
const o = e.charCodeAt(n);
|
5570
5570
|
let l = "";
|
5571
|
-
if (o === 37 &&
|
5571
|
+
if (o === 37 && Me(e.charCodeAt(n + 1)) && Me(e.charCodeAt(n + 2)))
|
5572
5572
|
i = 2;
|
5573
5573
|
else if (o < 128)
|
5574
5574
|
/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (l = String.fromCharCode(o));
|
@@ -5939,9 +5939,9 @@ const Do = (
|
|
5939
5939
|
if (e == null)
|
5940
5940
|
return jc;
|
5941
5941
|
if (typeof e == "string")
|
5942
|
-
return
|
5942
|
+
return kc(e);
|
5943
5943
|
if (typeof e == "object")
|
5944
|
-
return Array.isArray(e) ? Ic(e) :
|
5944
|
+
return Array.isArray(e) ? Ic(e) : vc(e);
|
5945
5945
|
if (typeof e == "function")
|
5946
5946
|
return Yt(e);
|
5947
5947
|
throw new Error("Expected function, string, or object as test");
|
@@ -5961,7 +5961,7 @@ function Ic(e) {
|
|
5961
5961
|
return !1;
|
5962
5962
|
}
|
5963
5963
|
}
|
5964
|
-
function
|
5964
|
+
function vc(e) {
|
5965
5965
|
return Yt(t);
|
5966
5966
|
function t(n) {
|
5967
5967
|
let r;
|
@@ -5971,7 +5971,7 @@ function kc(e) {
|
|
5971
5971
|
return !0;
|
5972
5972
|
}
|
5973
5973
|
}
|
5974
|
-
function
|
5974
|
+
function kc(e) {
|
5975
5975
|
return Yt(t);
|
5976
5976
|
function t(n) {
|
5977
5977
|
return n && n.type === e;
|
@@ -5986,7 +5986,7 @@ function Yt(e) {
|
|
5986
5986
|
function jc() {
|
5987
5987
|
return !0;
|
5988
5988
|
}
|
5989
|
-
const Ec = !0, oi = !1,
|
5989
|
+
const Ec = !0, oi = !1, Sc = "skip", Cc = (
|
5990
5990
|
/**
|
5991
5991
|
* @type {(
|
5992
5992
|
* (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &
|
@@ -6023,7 +6023,7 @@ const Ec = !0, oi = !1, Cc = "skip", Sc = (
|
|
6023
6023
|
let m = [], f, T, x;
|
6024
6024
|
if ((!t || i(a, s, u[u.length - 1] || null)) && (m = Ac(n(a, u)), m[0] === oi))
|
6025
6025
|
return m;
|
6026
|
-
if (a.children && m[0] !==
|
6026
|
+
if (a.children && m[0] !== Sc)
|
6027
6027
|
for (T = (r ? a.children.length : -1) + o, x = u.concat(a); T > -1 && T < a.children.length; ) {
|
6028
6028
|
if (f = l(a.children[T], T, x)(), f[0] === oi)
|
6029
6029
|
return f;
|
@@ -6052,7 +6052,7 @@ const er = (
|
|
6052
6052
|
* @returns {void}
|
6053
6053
|
*/
|
6054
6054
|
function(e, t, n, r) {
|
6055
|
-
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null),
|
6055
|
+
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), Cc(e, t, i, r);
|
6056
6056
|
function i(o, l) {
|
6057
6057
|
const a = l[l.length - 1];
|
6058
6058
|
return n(
|
@@ -6319,7 +6319,7 @@ we.prototype.commaOrSpaceSeparated = !1;
|
|
6319
6319
|
we.prototype.mustUseProperty = !1;
|
6320
6320
|
we.prototype.defined = !1;
|
6321
6321
|
let qc = 0;
|
6322
|
-
const H = Qe(), le = Qe(),
|
6322
|
+
const H = Qe(), le = Qe(), vo = Qe(), k = Qe(), X = Qe(), qe = Qe(), ye = Qe();
|
6323
6323
|
function Qe() {
|
6324
6324
|
return 2 ** ++qc;
|
6325
6325
|
}
|
@@ -6327,10 +6327,10 @@ const Fn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6327
6327
|
__proto__: null,
|
6328
6328
|
boolean: H,
|
6329
6329
|
booleanish: le,
|
6330
|
-
commaOrSpaceSeparated:
|
6330
|
+
commaOrSpaceSeparated: ye,
|
6331
6331
|
commaSeparated: qe,
|
6332
|
-
number:
|
6333
|
-
overloadedBoolean:
|
6332
|
+
number: k,
|
6333
|
+
overloadedBoolean: vo,
|
6334
6334
|
spaceSeparated: X
|
6335
6335
|
}, Symbol.toStringTag, { value: "Module" })), xn = Object.keys(Fn);
|
6336
6336
|
class nr extends we {
|
@@ -6370,7 +6370,7 @@ function We(e) {
|
|
6370
6370
|
}
|
6371
6371
|
return new ht(t, n, e.space);
|
6372
6372
|
}
|
6373
|
-
const
|
6373
|
+
const ko = We({
|
6374
6374
|
space: "xlink",
|
6375
6375
|
transform(e, t) {
|
6376
6376
|
return "xlink:" + t.slice(5).toLowerCase();
|
@@ -6394,13 +6394,13 @@ const vo = We({
|
|
6394
6394
|
function Eo(e, t) {
|
6395
6395
|
return t in e ? e[t] : t;
|
6396
6396
|
}
|
6397
|
-
function
|
6397
|
+
function So(e, t) {
|
6398
6398
|
return Eo(e, t.toLowerCase());
|
6399
6399
|
}
|
6400
|
-
const
|
6400
|
+
const Co = We({
|
6401
6401
|
space: "xmlns",
|
6402
6402
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
6403
|
-
transform:
|
6403
|
+
transform: So,
|
6404
6404
|
properties: { xmlns: null, xmlnsXLink: null }
|
6405
6405
|
}), Ao = We({
|
6406
6406
|
transform(e, t) {
|
@@ -6412,9 +6412,9 @@ const So = We({
|
|
6412
6412
|
ariaAutoComplete: null,
|
6413
6413
|
ariaBusy: le,
|
6414
6414
|
ariaChecked: le,
|
6415
|
-
ariaColCount:
|
6416
|
-
ariaColIndex:
|
6417
|
-
ariaColSpan:
|
6415
|
+
ariaColCount: k,
|
6416
|
+
ariaColIndex: k,
|
6417
|
+
ariaColSpan: k,
|
6418
6418
|
ariaControls: X,
|
6419
6419
|
ariaCurrent: null,
|
6420
6420
|
ariaDescribedBy: X,
|
@@ -6431,7 +6431,7 @@ const So = We({
|
|
6431
6431
|
ariaKeyShortcuts: null,
|
6432
6432
|
ariaLabel: null,
|
6433
6433
|
ariaLabelledBy: X,
|
6434
|
-
ariaLevel:
|
6434
|
+
ariaLevel: k,
|
6435
6435
|
ariaLive: null,
|
6436
6436
|
ariaModal: le,
|
6437
6437
|
ariaMultiLine: le,
|
@@ -6439,21 +6439,21 @@ const So = We({
|
|
6439
6439
|
ariaOrientation: null,
|
6440
6440
|
ariaOwns: X,
|
6441
6441
|
ariaPlaceholder: null,
|
6442
|
-
ariaPosInSet:
|
6442
|
+
ariaPosInSet: k,
|
6443
6443
|
ariaPressed: le,
|
6444
6444
|
ariaReadOnly: le,
|
6445
6445
|
ariaRelevant: null,
|
6446
6446
|
ariaRequired: le,
|
6447
6447
|
ariaRoleDescription: X,
|
6448
|
-
ariaRowCount:
|
6449
|
-
ariaRowIndex:
|
6450
|
-
ariaRowSpan:
|
6448
|
+
ariaRowCount: k,
|
6449
|
+
ariaRowIndex: k,
|
6450
|
+
ariaRowSpan: k,
|
6451
6451
|
ariaSelected: le,
|
6452
|
-
ariaSetSize:
|
6452
|
+
ariaSetSize: k,
|
6453
6453
|
ariaSort: null,
|
6454
|
-
ariaValueMax:
|
6455
|
-
ariaValueMin:
|
6456
|
-
ariaValueNow:
|
6454
|
+
ariaValueMax: k,
|
6455
|
+
ariaValueMin: k,
|
6456
|
+
ariaValueNow: k,
|
6457
6457
|
ariaValueText: null,
|
6458
6458
|
role: null
|
6459
6459
|
}
|
@@ -6465,7 +6465,7 @@ const So = We({
|
|
6465
6465
|
htmlfor: "for",
|
6466
6466
|
httpequiv: "http-equiv"
|
6467
6467
|
},
|
6468
|
-
transform:
|
6468
|
+
transform: So,
|
6469
6469
|
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
6470
6470
|
properties: {
|
6471
6471
|
// Standard Properties.
|
@@ -6491,13 +6491,13 @@ const So = We({
|
|
6491
6491
|
checked: H,
|
6492
6492
|
cite: null,
|
6493
6493
|
className: X,
|
6494
|
-
cols:
|
6494
|
+
cols: k,
|
6495
6495
|
colSpan: null,
|
6496
6496
|
content: null,
|
6497
6497
|
contentEditable: le,
|
6498
6498
|
controls: H,
|
6499
6499
|
controlsList: X,
|
6500
|
-
coords:
|
6500
|
+
coords: k | qe,
|
6501
6501
|
crossOrigin: null,
|
6502
6502
|
data: null,
|
6503
6503
|
dateTime: null,
|
@@ -6507,7 +6507,7 @@ const So = We({
|
|
6507
6507
|
dir: null,
|
6508
6508
|
dirName: null,
|
6509
6509
|
disabled: H,
|
6510
|
-
download:
|
6510
|
+
download: vo,
|
6511
6511
|
draggable: le,
|
6512
6512
|
encType: null,
|
6513
6513
|
enterKeyHint: null,
|
@@ -6519,9 +6519,9 @@ const So = We({
|
|
6519
6519
|
formNoValidate: H,
|
6520
6520
|
formTarget: null,
|
6521
6521
|
headers: X,
|
6522
|
-
height:
|
6522
|
+
height: k,
|
6523
6523
|
hidden: H,
|
6524
|
-
high:
|
6524
|
+
high: k,
|
6525
6525
|
href: null,
|
6526
6526
|
hrefLang: null,
|
6527
6527
|
htmlFor: X,
|
@@ -6546,14 +6546,14 @@ const So = We({
|
|
6546
6546
|
list: null,
|
6547
6547
|
loading: null,
|
6548
6548
|
loop: H,
|
6549
|
-
low:
|
6549
|
+
low: k,
|
6550
6550
|
manifest: null,
|
6551
6551
|
max: null,
|
6552
|
-
maxLength:
|
6552
|
+
maxLength: k,
|
6553
6553
|
media: null,
|
6554
6554
|
method: null,
|
6555
6555
|
min: null,
|
6556
|
-
minLength:
|
6556
|
+
minLength: k,
|
6557
6557
|
multiple: H,
|
6558
6558
|
muted: H,
|
6559
6559
|
name: null,
|
@@ -6649,7 +6649,7 @@ const So = We({
|
|
6649
6649
|
onWaiting: null,
|
6650
6650
|
onWheel: null,
|
6651
6651
|
open: H,
|
6652
|
-
optimum:
|
6652
|
+
optimum: k,
|
6653
6653
|
pattern: null,
|
6654
6654
|
ping: X,
|
6655
6655
|
placeholder: null,
|
@@ -6664,8 +6664,8 @@ const So = We({
|
|
6664
6664
|
rel: X,
|
6665
6665
|
required: H,
|
6666
6666
|
reversed: H,
|
6667
|
-
rows:
|
6668
|
-
rowSpan:
|
6667
|
+
rows: k,
|
6668
|
+
rowSpan: k,
|
6669
6669
|
sandbox: X,
|
6670
6670
|
scope: null,
|
6671
6671
|
scoped: H,
|
@@ -6674,19 +6674,19 @@ const So = We({
|
|
6674
6674
|
shadowRootDelegatesFocus: H,
|
6675
6675
|
shadowRootMode: null,
|
6676
6676
|
shape: null,
|
6677
|
-
size:
|
6677
|
+
size: k,
|
6678
6678
|
sizes: null,
|
6679
6679
|
slot: null,
|
6680
|
-
span:
|
6680
|
+
span: k,
|
6681
6681
|
spellCheck: le,
|
6682
6682
|
src: null,
|
6683
6683
|
srcDoc: null,
|
6684
6684
|
srcLang: null,
|
6685
6685
|
srcSet: null,
|
6686
|
-
start:
|
6686
|
+
start: k,
|
6687
6687
|
step: null,
|
6688
6688
|
style: null,
|
6689
|
-
tabIndex:
|
6689
|
+
tabIndex: k,
|
6690
6690
|
target: null,
|
6691
6691
|
title: null,
|
6692
6692
|
translate: null,
|
@@ -6694,7 +6694,7 @@ const So = We({
|
|
6694
6694
|
typeMustMatch: H,
|
6695
6695
|
useMap: null,
|
6696
6696
|
value: le,
|
6697
|
-
width:
|
6697
|
+
width: k,
|
6698
6698
|
wrap: null,
|
6699
6699
|
// Legacy.
|
6700
6700
|
// See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
|
@@ -6710,11 +6710,11 @@ const So = We({
|
|
6710
6710
|
// `<body>`. Use CSS `background-image` instead
|
6711
6711
|
bgColor: null,
|
6712
6712
|
// `<body>` and table elements. Use CSS `background-color` instead
|
6713
|
-
border:
|
6713
|
+
border: k,
|
6714
6714
|
// `<table>`. Use CSS `border-width` instead,
|
6715
6715
|
borderColor: null,
|
6716
6716
|
// `<table>`. Use CSS `border-color` instead,
|
6717
|
-
bottomMargin:
|
6717
|
+
bottomMargin: k,
|
6718
6718
|
// `<body>`
|
6719
6719
|
cellPadding: null,
|
6720
6720
|
// `<table>`
|
@@ -6748,9 +6748,9 @@ const So = We({
|
|
6748
6748
|
// `<table>`
|
6749
6749
|
frameBorder: null,
|
6750
6750
|
// `<iframe>`. Use CSS `border` instead
|
6751
|
-
hSpace:
|
6751
|
+
hSpace: k,
|
6752
6752
|
// `<img>` and `<object>`
|
6753
|
-
leftMargin:
|
6753
|
+
leftMargin: k,
|
6754
6754
|
// `<body>`
|
6755
6755
|
link: null,
|
6756
6756
|
// `<body>`. Use CSS `a:link {color: *}` instead
|
@@ -6758,9 +6758,9 @@ const So = We({
|
|
6758
6758
|
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
6759
6759
|
lowSrc: null,
|
6760
6760
|
// `<img>`. Use a `<picture>`
|
6761
|
-
marginHeight:
|
6761
|
+
marginHeight: k,
|
6762
6762
|
// `<body>`
|
6763
|
-
marginWidth:
|
6763
|
+
marginWidth: k,
|
6764
6764
|
// `<body>`
|
6765
6765
|
noResize: H,
|
6766
6766
|
// `<frame>`
|
@@ -6778,7 +6778,7 @@ const So = We({
|
|
6778
6778
|
// `<isindex>`
|
6779
6779
|
rev: null,
|
6780
6780
|
// `<link>`
|
6781
|
-
rightMargin:
|
6781
|
+
rightMargin: k,
|
6782
6782
|
// `<body>`
|
6783
6783
|
rules: null,
|
6784
6784
|
// `<table>`
|
@@ -6792,7 +6792,7 @@ const So = We({
|
|
6792
6792
|
// `<table>`
|
6793
6793
|
text: null,
|
6794
6794
|
// `<body>`. Use CSS `color` instead
|
6795
|
-
topMargin:
|
6795
|
+
topMargin: k,
|
6796
6796
|
// `<body>`
|
6797
6797
|
valueType: null,
|
6798
6798
|
// `<param>`
|
@@ -6802,7 +6802,7 @@ const So = We({
|
|
6802
6802
|
// Several. Use CSS `vertical-align` instead
|
6803
6803
|
vLink: null,
|
6804
6804
|
// `<body>`. Use CSS `a:visited {color}` instead
|
6805
|
-
vSpace:
|
6805
|
+
vSpace: k,
|
6806
6806
|
// `<img>` and `<object>`
|
6807
6807
|
// Non-standard Properties.
|
6808
6808
|
allowTransparency: null,
|
@@ -6812,7 +6812,7 @@ const So = We({
|
|
6812
6812
|
disableRemotePlayback: H,
|
6813
6813
|
prefix: null,
|
6814
6814
|
property: null,
|
6815
|
-
results:
|
6815
|
+
results: k,
|
6816
6816
|
security: null,
|
6817
6817
|
unselectable: null
|
6818
6818
|
}
|
@@ -6995,28 +6995,28 @@ const So = We({
|
|
6995
6995
|
},
|
6996
6996
|
transform: Eo,
|
6997
6997
|
properties: {
|
6998
|
-
about:
|
6999
|
-
accentHeight:
|
6998
|
+
about: ye,
|
6999
|
+
accentHeight: k,
|
7000
7000
|
accumulate: null,
|
7001
7001
|
additive: null,
|
7002
7002
|
alignmentBaseline: null,
|
7003
|
-
alphabetic:
|
7004
|
-
amplitude:
|
7003
|
+
alphabetic: k,
|
7004
|
+
amplitude: k,
|
7005
7005
|
arabicForm: null,
|
7006
|
-
ascent:
|
7006
|
+
ascent: k,
|
7007
7007
|
attributeName: null,
|
7008
7008
|
attributeType: null,
|
7009
|
-
azimuth:
|
7009
|
+
azimuth: k,
|
7010
7010
|
bandwidth: null,
|
7011
7011
|
baselineShift: null,
|
7012
7012
|
baseFrequency: null,
|
7013
7013
|
baseProfile: null,
|
7014
7014
|
bbox: null,
|
7015
7015
|
begin: null,
|
7016
|
-
bias:
|
7016
|
+
bias: k,
|
7017
7017
|
by: null,
|
7018
7018
|
calcMode: null,
|
7019
|
-
capHeight:
|
7019
|
+
capHeight: k,
|
7020
7020
|
className: X,
|
7021
7021
|
clip: null,
|
7022
7022
|
clipPath: null,
|
@@ -7037,26 +7037,26 @@ const So = We({
|
|
7037
7037
|
d: null,
|
7038
7038
|
dataType: null,
|
7039
7039
|
defaultAction: null,
|
7040
|
-
descent:
|
7041
|
-
diffuseConstant:
|
7040
|
+
descent: k,
|
7041
|
+
diffuseConstant: k,
|
7042
7042
|
direction: null,
|
7043
7043
|
display: null,
|
7044
7044
|
dur: null,
|
7045
|
-
divisor:
|
7045
|
+
divisor: k,
|
7046
7046
|
dominantBaseline: null,
|
7047
7047
|
download: H,
|
7048
7048
|
dx: null,
|
7049
7049
|
dy: null,
|
7050
7050
|
edgeMode: null,
|
7051
7051
|
editable: null,
|
7052
|
-
elevation:
|
7052
|
+
elevation: k,
|
7053
7053
|
enableBackground: null,
|
7054
7054
|
end: null,
|
7055
7055
|
event: null,
|
7056
|
-
exponent:
|
7056
|
+
exponent: k,
|
7057
7057
|
externalResourcesRequired: null,
|
7058
7058
|
fill: null,
|
7059
|
-
fillOpacity:
|
7059
|
+
fillOpacity: k,
|
7060
7060
|
fillRule: null,
|
7061
7061
|
filter: null,
|
7062
7062
|
filterRes: null,
|
@@ -7086,28 +7086,28 @@ const So = We({
|
|
7086
7086
|
gradientTransform: null,
|
7087
7087
|
gradientUnits: null,
|
7088
7088
|
handler: null,
|
7089
|
-
hanging:
|
7089
|
+
hanging: k,
|
7090
7090
|
hatchContentUnits: null,
|
7091
7091
|
hatchUnits: null,
|
7092
7092
|
height: null,
|
7093
7093
|
href: null,
|
7094
7094
|
hrefLang: null,
|
7095
|
-
horizAdvX:
|
7096
|
-
horizOriginX:
|
7097
|
-
horizOriginY:
|
7095
|
+
horizAdvX: k,
|
7096
|
+
horizOriginX: k,
|
7097
|
+
horizOriginY: k,
|
7098
7098
|
id: null,
|
7099
|
-
ideographic:
|
7099
|
+
ideographic: k,
|
7100
7100
|
imageRendering: null,
|
7101
7101
|
initialVisibility: null,
|
7102
7102
|
in: null,
|
7103
7103
|
in2: null,
|
7104
|
-
intercept:
|
7105
|
-
k
|
7106
|
-
k1:
|
7107
|
-
k2:
|
7108
|
-
k3:
|
7109
|
-
k4:
|
7110
|
-
kernelMatrix:
|
7104
|
+
intercept: k,
|
7105
|
+
k,
|
7106
|
+
k1: k,
|
7107
|
+
k2: k,
|
7108
|
+
k3: k,
|
7109
|
+
k4: k,
|
7110
|
+
kernelMatrix: ye,
|
7111
7111
|
kernelUnitLength: null,
|
7112
7112
|
keyPoints: null,
|
7113
7113
|
// SEMI_COLON_SEPARATED
|
@@ -7120,7 +7120,7 @@ const So = We({
|
|
7120
7120
|
lengthAdjust: null,
|
7121
7121
|
letterSpacing: null,
|
7122
7122
|
lightingColor: null,
|
7123
|
-
limitingConeAngle:
|
7123
|
+
limitingConeAngle: k,
|
7124
7124
|
local: null,
|
7125
7125
|
markerEnd: null,
|
7126
7126
|
markerMid: null,
|
@@ -7136,7 +7136,7 @@ const So = We({
|
|
7136
7136
|
media: null,
|
7137
7137
|
mediaCharacterEncoding: null,
|
7138
7138
|
mediaContentEncodings: null,
|
7139
|
-
mediaSize:
|
7139
|
+
mediaSize: k,
|
7140
7140
|
mediaTime: null,
|
7141
7141
|
method: null,
|
7142
7142
|
min: null,
|
@@ -7242,12 +7242,12 @@ const So = We({
|
|
7242
7242
|
origin: null,
|
7243
7243
|
overflow: null,
|
7244
7244
|
overlay: null,
|
7245
|
-
overlinePosition:
|
7246
|
-
overlineThickness:
|
7245
|
+
overlinePosition: k,
|
7246
|
+
overlineThickness: k,
|
7247
7247
|
paintOrder: null,
|
7248
7248
|
panose1: null,
|
7249
7249
|
path: null,
|
7250
|
-
pathLength:
|
7250
|
+
pathLength: k,
|
7251
7251
|
patternContentUnits: null,
|
7252
7252
|
patternTransform: null,
|
7253
7253
|
patternUnits: null,
|
@@ -7257,28 +7257,28 @@ const So = We({
|
|
7257
7257
|
playbackOrder: null,
|
7258
7258
|
pointerEvents: null,
|
7259
7259
|
points: null,
|
7260
|
-
pointsAtX:
|
7261
|
-
pointsAtY:
|
7262
|
-
pointsAtZ:
|
7260
|
+
pointsAtX: k,
|
7261
|
+
pointsAtY: k,
|
7262
|
+
pointsAtZ: k,
|
7263
7263
|
preserveAlpha: null,
|
7264
7264
|
preserveAspectRatio: null,
|
7265
7265
|
primitiveUnits: null,
|
7266
7266
|
propagate: null,
|
7267
|
-
property:
|
7267
|
+
property: ye,
|
7268
7268
|
r: null,
|
7269
7269
|
radius: null,
|
7270
7270
|
referrerPolicy: null,
|
7271
7271
|
refX: null,
|
7272
7272
|
refY: null,
|
7273
|
-
rel:
|
7274
|
-
rev:
|
7273
|
+
rel: ye,
|
7274
|
+
rev: ye,
|
7275
7275
|
renderingIntent: null,
|
7276
7276
|
repeatCount: null,
|
7277
7277
|
repeatDur: null,
|
7278
|
-
requiredExtensions:
|
7279
|
-
requiredFeatures:
|
7280
|
-
requiredFonts:
|
7281
|
-
requiredFormats:
|
7278
|
+
requiredExtensions: ye,
|
7279
|
+
requiredFeatures: ye,
|
7280
|
+
requiredFonts: ye,
|
7281
|
+
requiredFormats: ye,
|
7282
7282
|
resource: null,
|
7283
7283
|
restart: null,
|
7284
7284
|
result: null,
|
@@ -7291,8 +7291,8 @@ const So = We({
|
|
7291
7291
|
side: null,
|
7292
7292
|
slope: null,
|
7293
7293
|
snapshotTime: null,
|
7294
|
-
specularConstant:
|
7295
|
-
specularExponent:
|
7294
|
+
specularConstant: k,
|
7295
|
+
specularExponent: k,
|
7296
7296
|
spreadMethod: null,
|
7297
7297
|
spacing: null,
|
7298
7298
|
startOffset: null,
|
@@ -7302,30 +7302,30 @@ const So = We({
|
|
7302
7302
|
stitchTiles: null,
|
7303
7303
|
stopColor: null,
|
7304
7304
|
stopOpacity: null,
|
7305
|
-
strikethroughPosition:
|
7306
|
-
strikethroughThickness:
|
7305
|
+
strikethroughPosition: k,
|
7306
|
+
strikethroughThickness: k,
|
7307
7307
|
string: null,
|
7308
7308
|
stroke: null,
|
7309
|
-
strokeDashArray:
|
7309
|
+
strokeDashArray: ye,
|
7310
7310
|
strokeDashOffset: null,
|
7311
7311
|
strokeLineCap: null,
|
7312
7312
|
strokeLineJoin: null,
|
7313
|
-
strokeMiterLimit:
|
7314
|
-
strokeOpacity:
|
7313
|
+
strokeMiterLimit: k,
|
7314
|
+
strokeOpacity: k,
|
7315
7315
|
strokeWidth: null,
|
7316
7316
|
style: null,
|
7317
|
-
surfaceScale:
|
7317
|
+
surfaceScale: k,
|
7318
7318
|
syncBehavior: null,
|
7319
7319
|
syncBehaviorDefault: null,
|
7320
7320
|
syncMaster: null,
|
7321
7321
|
syncTolerance: null,
|
7322
7322
|
syncToleranceDefault: null,
|
7323
|
-
systemLanguage:
|
7324
|
-
tabIndex:
|
7323
|
+
systemLanguage: ye,
|
7324
|
+
tabIndex: k,
|
7325
7325
|
tableValues: null,
|
7326
7326
|
target: null,
|
7327
|
-
targetX:
|
7328
|
-
targetY:
|
7327
|
+
targetX: k,
|
7328
|
+
targetY: k,
|
7329
7329
|
textAnchor: null,
|
7330
7330
|
textDecoration: null,
|
7331
7331
|
textRendering: null,
|
@@ -7334,28 +7334,28 @@ const So = We({
|
|
7334
7334
|
title: null,
|
7335
7335
|
transformBehavior: null,
|
7336
7336
|
type: null,
|
7337
|
-
typeOf:
|
7337
|
+
typeOf: ye,
|
7338
7338
|
to: null,
|
7339
7339
|
transform: null,
|
7340
7340
|
transformOrigin: null,
|
7341
7341
|
u1: null,
|
7342
7342
|
u2: null,
|
7343
|
-
underlinePosition:
|
7344
|
-
underlineThickness:
|
7343
|
+
underlinePosition: k,
|
7344
|
+
underlineThickness: k,
|
7345
7345
|
unicode: null,
|
7346
7346
|
unicodeBidi: null,
|
7347
7347
|
unicodeRange: null,
|
7348
|
-
unitsPerEm:
|
7348
|
+
unitsPerEm: k,
|
7349
7349
|
values: null,
|
7350
|
-
vAlphabetic:
|
7351
|
-
vMathematical:
|
7350
|
+
vAlphabetic: k,
|
7351
|
+
vMathematical: k,
|
7352
7352
|
vectorEffect: null,
|
7353
|
-
vHanging:
|
7354
|
-
vIdeographic:
|
7353
|
+
vHanging: k,
|
7354
|
+
vIdeographic: k,
|
7355
7355
|
version: null,
|
7356
|
-
vertAdvY:
|
7357
|
-
vertOriginX:
|
7358
|
-
vertOriginY:
|
7356
|
+
vertAdvY: k,
|
7357
|
+
vertOriginX: k,
|
7358
|
+
vertOriginY: k,
|
7359
7359
|
viewBox: null,
|
7360
7360
|
viewTarget: null,
|
7361
7361
|
visibility: null,
|
@@ -7367,7 +7367,7 @@ const So = We({
|
|
7367
7367
|
x1: null,
|
7368
7368
|
x2: null,
|
7369
7369
|
xChannelSelector: null,
|
7370
|
-
xHeight:
|
7370
|
+
xHeight: k,
|
7371
7371
|
y: null,
|
7372
7372
|
y1: null,
|
7373
7373
|
y2: null,
|
@@ -7420,7 +7420,7 @@ const ci = {
|
|
7420
7420
|
xLinkTitle: "xlinkTitle",
|
7421
7421
|
xLinkType: "xlinkType",
|
7422
7422
|
xmlnsXLink: "xmlnsXlink"
|
7423
|
-
}, ep = Io([jo,
|
7423
|
+
}, ep = Io([jo, ko, Co, Ao, Vc], "html"), tp = Io([jo, ko, Co, Ao, Wc], "svg");
|
7424
7424
|
function np(e) {
|
7425
7425
|
if (e.allowedElements && e.disallowedElements)
|
7426
7426
|
throw new TypeError(
|
@@ -7572,8 +7572,8 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
|
|
7572
7572
|
function i(T) {
|
7573
7573
|
var x = T.match(cp);
|
7574
7574
|
x && (n += x.length);
|
7575
|
-
var
|
7576
|
-
r = ~
|
7575
|
+
var S = T.lastIndexOf(yp);
|
7576
|
+
r = ~S ? T.length - S : r + T.length;
|
7577
7577
|
}
|
7578
7578
|
function o() {
|
7579
7579
|
var T = { line: n, column: r };
|
@@ -7595,8 +7595,8 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
|
|
7595
7595
|
function s(T) {
|
7596
7596
|
var x = T.exec(e);
|
7597
7597
|
if (x) {
|
7598
|
-
var
|
7599
|
-
return i(
|
7598
|
+
var S = x[0];
|
7599
|
+
return i(S), e = e.slice(S.length), x;
|
7600
7600
|
}
|
7601
7601
|
}
|
7602
7602
|
function u() {
|
@@ -7615,10 +7615,10 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
|
|
7615
7615
|
++x;
|
7616
7616
|
if (x += 2, Re === e.charAt(x - 1))
|
7617
7617
|
return a("End of comment missing");
|
7618
|
-
var
|
7619
|
-
return r += 2, i(
|
7618
|
+
var S = e.slice(2, x - 2);
|
7619
|
+
return r += 2, i(S), e = e.slice(x), r += 2, T({
|
7620
7620
|
type: Mp,
|
7621
|
-
comment:
|
7621
|
+
comment: S
|
7622
7622
|
});
|
7623
7623
|
}
|
7624
7624
|
}
|
@@ -7627,10 +7627,10 @@ var or = { exports: {} }, pi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, cp = /\n/g, pp
|
|
7627
7627
|
if (x) {
|
7628
7628
|
if (p(), !s(dp))
|
7629
7629
|
return a("property missing ':'");
|
7630
|
-
var
|
7630
|
+
var S = s(hp), b = T({
|
7631
7631
|
type: xp,
|
7632
7632
|
property: hi(x[0].replace(pi, Re)),
|
7633
|
-
value:
|
7633
|
+
value: S ? hi(S[0].replace(pi, Re)) : Re
|
7634
7634
|
});
|
7635
7635
|
return s(gp), b;
|
7636
7636
|
}
|
@@ -7668,11 +7668,11 @@ function Po(e, t) {
|
|
7668
7668
|
return n;
|
7669
7669
|
}
|
7670
7670
|
function Ip(e, t, n, r) {
|
7671
|
-
const i = e.options, o = i.transformLinkUri === void 0 ?
|
7671
|
+
const i = e.options, o = i.transformLinkUri === void 0 ? va : i.transformLinkUri, l = e.schema, a = t.tagName, s = {};
|
7672
7672
|
let u = l, c;
|
7673
7673
|
if (l.space === "html" && a === "svg" && (u = tp, e.schema = u), t.properties)
|
7674
7674
|
for (c in t.properties)
|
7675
|
-
Rn.call(t.properties, c) &&
|
7675
|
+
Rn.call(t.properties, c) && kp(s, c, t.properties[c], e);
|
7676
7676
|
(a === "ol" || a === "ul") && e.listDepth++;
|
7677
7677
|
const p = Po(e, t);
|
7678
7678
|
(a === "ol" || a === "ul") && e.listDepth--, e.schema = l;
|
@@ -7697,12 +7697,12 @@ function Ip(e, t, n, r) {
|
|
7697
7697
|
String(s.alt || ""),
|
7698
7698
|
typeof s.title == "string" ? s.title : null
|
7699
7699
|
)), !T && a === "li" && r.type === "element") {
|
7700
|
-
const x =
|
7700
|
+
const x = vp(t);
|
7701
7701
|
s.checked = x && x.properties ? !!x.properties.checked : null, s.index = bn(r, t), s.ordered = r.tagName === "ol";
|
7702
7702
|
}
|
7703
|
-
return !T && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = a === "th")), !T && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] =
|
7703
|
+
return !T && (a === "ol" || a === "ul") && (s.ordered = a === "ol", s.depth = e.listDepth), (a === "td" || a === "th") && (s.align && (s.style || (s.style = {}), s.style.textAlign = s.align, delete s.align), T || (s.isHeader = a === "th")), !T && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Sp(m)), !T && i.rawSourcePos && (s.sourcePosition = t.position), !T && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), T || (s.node = t), p.length > 0 ? de.createElement(f, s, p) : de.createElement(f, s);
|
7704
7704
|
}
|
7705
|
-
function
|
7705
|
+
function vp(e) {
|
7706
7706
|
let t = -1;
|
7707
7707
|
for (; ++t < e.children.length; ) {
|
7708
7708
|
const n = e.children[t];
|
@@ -7717,7 +7717,7 @@ function bn(e, t) {
|
|
7717
7717
|
e.children[n].type === "element" && r++;
|
7718
7718
|
return r;
|
7719
7719
|
}
|
7720
|
-
function
|
7720
|
+
function kp(e, t, n, r) {
|
7721
7721
|
const i = Kc(r.schema, t);
|
7722
7722
|
let o = n;
|
7723
7723
|
o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? sp(o) : up(o)), i.property === "style" && typeof o == "string" && (o = jp(o)), i.space && i.property ? e[Rn.call(ci, i.property) ? ci[i.property] : i.property] = o : i.attribute && (e[i.attribute] = o));
|
@@ -7737,7 +7737,7 @@ function jp(e) {
|
|
7737
7737
|
function Ep(e, t) {
|
7738
7738
|
return t.toUpperCase();
|
7739
7739
|
}
|
7740
|
-
function
|
7740
|
+
function Sp(e) {
|
7741
7741
|
return [
|
7742
7742
|
e.start.line,
|
7743
7743
|
":",
|
@@ -7748,7 +7748,7 @@ function Cp(e) {
|
|
7748
7748
|
e.end.column
|
7749
7749
|
].map(String).join("");
|
7750
7750
|
}
|
7751
|
-
const gi = {}.hasOwnProperty,
|
7751
|
+
const gi = {}.hasOwnProperty, Cp = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Tt = {
|
7752
7752
|
plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" },
|
7753
7753
|
renderers: { to: "components", id: "change-renderers-to-components" },
|
7754
7754
|
astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
|
@@ -7777,7 +7777,7 @@ function Fo(e) {
|
|
7777
7777
|
if (gi.call(Tt, o) && gi.call(e, o)) {
|
7778
7778
|
const l = Tt[o];
|
7779
7779
|
console.warn(
|
7780
|
-
`[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${
|
7780
|
+
`[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${Cp}#${l.id}> for more info)`
|
7781
7781
|
), delete Tt[o];
|
7782
7782
|
}
|
7783
7783
|
const t = Qa().use(Ks).use(e.remarkPlugins || []).use(Qc, {
|
@@ -7980,7 +7980,7 @@ lr.propTypes = {
|
|
7980
7980
|
lr.displayName = "AssistantMessageBubble";
|
7981
7981
|
const Lp = lr, ar = ({ configurations: e }) => {
|
7982
7982
|
const t = Oe(null);
|
7983
|
-
return
|
7983
|
+
return ge(() => {
|
7984
7984
|
var n;
|
7985
7985
|
(n = t == null ? void 0 : t.current) == null || n.focus();
|
7986
7986
|
}, []), /* @__PURE__ */ w.jsxs(
|
@@ -8099,7 +8099,7 @@ const _p = cr, en = ({
|
|
8099
8099
|
}) => {
|
8100
8100
|
var u;
|
8101
8101
|
const s = Oe(null);
|
8102
|
-
return
|
8102
|
+
return ge(() => {
|
8103
8103
|
var c;
|
8104
8104
|
(c = s.current) == null || c.scrollIntoView({
|
8105
8105
|
behavior: "instant",
|
@@ -8482,7 +8482,7 @@ var Qo = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
8482
8482
|
if (n = n || {}, !t)
|
8483
8483
|
throw new Error("No node provided");
|
8484
8484
|
return Ue.call(t, zt) === !1 ? !1 : _n(n, t);
|
8485
|
-
}, nf = /* @__PURE__ */ Qo.concat("iframe").join(","),
|
8485
|
+
}, nf = /* @__PURE__ */ Qo.concat("iframe").join(","), Ct = function(t, n) {
|
8486
8486
|
if (n = n || {}, !t)
|
8487
8487
|
throw new Error("No node provided");
|
8488
8488
|
return Ue.call(t, nf) === !1 ? !1 : Ft(n, t);
|
@@ -8491,7 +8491,7 @@ const rf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8491
8491
|
__proto__: null,
|
8492
8492
|
focusable: Zo,
|
8493
8493
|
getTabIndex: Ae,
|
8494
|
-
isFocusable:
|
8494
|
+
isFocusable: Ct,
|
8495
8495
|
isTabbable: Fe,
|
8496
8496
|
tabbable: Wo
|
8497
8497
|
}, Symbol.toStringTag, { value: "Module" }));
|
@@ -8657,7 +8657,7 @@ var xi = {
|
|
8657
8657
|
var M = c("initialFocus");
|
8658
8658
|
if (M === !1)
|
8659
8659
|
return !1;
|
8660
|
-
if (M === void 0 || !
|
8660
|
+
if (M === void 0 || !Ct(M, o.tabbableOptions))
|
8661
8661
|
if (u(r.activeElement) >= 0)
|
8662
8662
|
M = r.activeElement;
|
8663
8663
|
else {
|
@@ -8722,14 +8722,14 @@ var xi = {
|
|
8722
8722
|
return M.posTabIndexesFound;
|
8723
8723
|
}) && l.containerGroups.length > 1)
|
8724
8724
|
throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
|
8725
|
-
}, f = function
|
8725
|
+
}, f = function v(M) {
|
8726
8726
|
var N = M.activeElement;
|
8727
8727
|
if (N)
|
8728
|
-
return N.shadowRoot && N.shadowRoot.activeElement !== null ?
|
8729
|
-
}, T = function
|
8728
|
+
return N.shadowRoot && N.shadowRoot.activeElement !== null ? v(N.shadowRoot) : N;
|
8729
|
+
}, T = function v(M) {
|
8730
8730
|
if (M !== !1 && M !== f(document)) {
|
8731
8731
|
if (!M || !M.focus) {
|
8732
|
-
|
8732
|
+
v(p());
|
8733
8733
|
return;
|
8734
8734
|
}
|
8735
8735
|
M.focus({
|
@@ -8739,7 +8739,7 @@ var xi = {
|
|
8739
8739
|
}, x = function(M) {
|
8740
8740
|
var N = c("setReturnFocus", M);
|
8741
8741
|
return N || (N === !1 ? !1 : M);
|
8742
|
-
},
|
8742
|
+
}, S = function(M) {
|
8743
8743
|
var N = M.target, A = M.event, z = M.isBackward, _ = z === void 0 ? !1 : z;
|
8744
8744
|
N = N || It(A), m();
|
8745
8745
|
var Y = null;
|
@@ -8752,7 +8752,7 @@ var xi = {
|
|
8752
8752
|
var ce = Z.firstTabbableNode;
|
8753
8753
|
return N === ce;
|
8754
8754
|
});
|
8755
|
-
if (d < 0 && (K.container === N ||
|
8755
|
+
if (d < 0 && (K.container === N || Ct(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !K.nextTabbableNode(N, !1)) && (d = V), d >= 0) {
|
8756
8756
|
var ie = d === 0 ? l.tabbableGroups.length - 1 : d - 1, ae = l.tabbableGroups[ie];
|
8757
8757
|
Y = Ae(N) >= 0 ? ae.lastTabbableNode : ae.lastDomTabbableNode;
|
8758
8758
|
} else
|
@@ -8762,7 +8762,7 @@ var xi = {
|
|
8762
8762
|
var ce = Z.lastTabbableNode;
|
8763
8763
|
return N === ce;
|
8764
8764
|
});
|
8765
|
-
if (g < 0 && (K.container === N ||
|
8765
|
+
if (g < 0 && (K.container === N || Ct(N, o.tabbableOptions) && !Fe(N, o.tabbableOptions) && !K.nextTabbableNode(N)) && (g = V), g >= 0) {
|
8766
8766
|
var oe = g === l.tabbableGroups.length - 1 ? 0 : g + 1, Ne = l.tabbableGroups[oe];
|
8767
8767
|
Y = Ae(N) >= 0 ? Ne.firstTabbableNode : Ne.firstDomTabbableNode;
|
8768
8768
|
} else
|
@@ -8788,7 +8788,7 @@ var xi = {
|
|
8788
8788
|
}
|
8789
8789
|
et(o.allowOutsideClick, M) || M.preventDefault();
|
8790
8790
|
}
|
8791
|
-
},
|
8791
|
+
}, C = function(M) {
|
8792
8792
|
var N = It(M), A = u(N, M) >= 0;
|
8793
8793
|
if (A || N instanceof Document)
|
8794
8794
|
A && (l.mostRecentlyFocusedNode = N);
|
@@ -8812,7 +8812,7 @@ var xi = {
|
|
8812
8812
|
}) || (_ = !1);
|
8813
8813
|
else
|
8814
8814
|
_ = !1;
|
8815
|
-
_ && (z =
|
8815
|
+
_ && (z = S({
|
8816
8816
|
// move FROM the MRU node, not event-related node (which will be the node that is
|
8817
8817
|
// outside the trap causing the focus escape we're trying to fix)
|
8818
8818
|
target: l.mostRecentlyFocusedNode,
|
@@ -8823,7 +8823,7 @@ var xi = {
|
|
8823
8823
|
}, I = function(M) {
|
8824
8824
|
var N = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
8825
8825
|
l.recentNavEvent = M;
|
8826
|
-
var A =
|
8826
|
+
var A = S({
|
8827
8827
|
event: M,
|
8828
8828
|
isBackward: N
|
8829
8829
|
});
|
@@ -8841,7 +8841,7 @@ var xi = {
|
|
8841
8841
|
if (l.active)
|
8842
8842
|
return xi.activateTrap(i, a), l.delayInitialFocusTimer = o.delayInitialFocus ? bi(function() {
|
8843
8843
|
T(p());
|
8844
|
-
}) : T(p()), r.addEventListener("focusin",
|
8844
|
+
}) : T(p()), r.addEventListener("focusin", C, !0), r.addEventListener("mousedown", b, {
|
8845
8845
|
capture: !0,
|
8846
8846
|
passive: !1
|
8847
8847
|
}), r.addEventListener("touchstart", b, {
|
@@ -8856,7 +8856,7 @@ var xi = {
|
|
8856
8856
|
}), a;
|
8857
8857
|
}, O = function() {
|
8858
8858
|
if (l.active)
|
8859
|
-
return r.removeEventListener("focusin",
|
8859
|
+
return r.removeEventListener("focusin", C, !0), r.removeEventListener("mousedown", b, !0), r.removeEventListener("touchstart", b, !0), r.removeEventListener("click", B, !0), r.removeEventListener("keydown", Q, !0), a;
|
8860
8860
|
}, R = function(M) {
|
8861
8861
|
var N = M.some(function(A) {
|
8862
8862
|
var z = Array.from(A.removedNodes);
|
@@ -9023,7 +9023,7 @@ function Tf(e, t) {
|
|
9023
9023
|
}
|
9024
9024
|
return (t === "string" ? String : Number)(e);
|
9025
9025
|
}
|
9026
|
-
var
|
9026
|
+
var vt = de, P = Ci, If = gf, vf = If.createFocusTrap, kf = mf, jf = kf.isFocusable, pr = /* @__PURE__ */ function(e) {
|
9027
9027
|
xf(n, e);
|
9028
9028
|
var t = bf(n);
|
9029
9029
|
function n(r) {
|
@@ -9195,14 +9195,14 @@ var kt = de, P = Si, If = gf, kf = If.createFocusTrap, vf = mf, jf = vf.isFocusa
|
|
9195
9195
|
}, {
|
9196
9196
|
key: "render",
|
9197
9197
|
value: function() {
|
9198
|
-
var i = this, o = this.props.children ?
|
9198
|
+
var i = this, o = this.props.children ? vt.Children.only(this.props.children) : void 0;
|
9199
9199
|
if (o) {
|
9200
|
-
if (o.type && o.type ===
|
9200
|
+
if (o.type && o.type === vt.Fragment)
|
9201
9201
|
throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
|
9202
9202
|
var l = function(u) {
|
9203
9203
|
var c = i.props.containerElements;
|
9204
9204
|
o && (typeof o.ref == "function" ? o.ref(u) : o.ref && (o.ref.current = u)), i.focusTrapElements = c || [u];
|
9205
|
-
}, a =
|
9205
|
+
}, a = vt.cloneElement(o, {
|
9206
9206
|
ref: l
|
9207
9207
|
});
|
9208
9208
|
return a;
|
@@ -9210,7 +9210,7 @@ var kt = de, P = Si, If = gf, kf = If.createFocusTrap, vf = mf, jf = vf.isFocusa
|
|
9210
9210
|
return null;
|
9211
9211
|
}
|
9212
9212
|
}]), n;
|
9213
|
-
}(
|
9213
|
+
}(vt.Component), tt = typeof Element > "u" ? Function : Element;
|
9214
9214
|
pr.propTypes = {
|
9215
9215
|
active: P.bool,
|
9216
9216
|
paused: P.bool,
|
@@ -9263,11 +9263,23 @@ pr.defaultProps = {
|
|
9263
9263
|
active: !0,
|
9264
9264
|
paused: !1,
|
9265
9265
|
focusTrapOptions: {},
|
9266
|
-
_createFocusTrap:
|
9266
|
+
_createFocusTrap: vf
|
9267
9267
|
};
|
9268
9268
|
var Ef = pr;
|
9269
|
-
const
|
9270
|
-
const
|
9269
|
+
const Sf = /* @__PURE__ */ Be(Ef), Cf = (e) => {
|
9270
|
+
const t = () => {
|
9271
|
+
document.body.style.overflow = "hidden";
|
9272
|
+
}, n = () => {
|
9273
|
+
document.body.style.overflow = "unset";
|
9274
|
+
};
|
9275
|
+
ge(() => {
|
9276
|
+
const r = e == null ? void 0 : e.current;
|
9277
|
+
return r == null || r.addEventListener("mouseover", t), r == null || r.addEventListener("mouseout", n), () => {
|
9278
|
+
n(), r == null || r.removeEventListener("mouseover", t), r == null || r.removeEventListener("mouseout", n);
|
9279
|
+
};
|
9280
|
+
}, [e]);
|
9281
|
+
}, Af = Cf;
|
9282
|
+
const Of = 991;
|
9271
9283
|
function tn({
|
9272
9284
|
style: e,
|
9273
9285
|
className: t,
|
@@ -9275,9 +9287,9 @@ function tn({
|
|
9275
9287
|
isNormalSize: r,
|
9276
9288
|
isMounted: i
|
9277
9289
|
}) {
|
9278
|
-
const o = ft(
|
9279
|
-
return /* @__PURE__ */ w.jsx(
|
9280
|
-
|
9290
|
+
const o = ft(Of), l = Oe(null);
|
9291
|
+
return Af(l), /* @__PURE__ */ w.jsx(
|
9292
|
+
Sf,
|
9281
9293
|
{
|
9282
9294
|
focusTrapOptions: {
|
9283
9295
|
clickOutsideDeactivates: !0,
|
@@ -9321,7 +9333,7 @@ tn.defaultProps = {
|
|
9321
9333
|
isNormalSize: !0,
|
9322
9334
|
isMounted: !1
|
9323
9335
|
};
|
9324
|
-
const
|
9336
|
+
const zf = {
|
9325
9337
|
Groups: "material-symbols:groups",
|
9326
9338
|
Compass: "mdi:compass-outline",
|
9327
9339
|
InfoOutline: "material-symbols:info-outline"
|
@@ -9357,7 +9369,7 @@ function Ko({
|
|
9357
9369
|
/* @__PURE__ */ w.jsx("div", { className: "xpert-chatbot-popup__disclaimer__compass-icon", children: /* @__PURE__ */ w.jsx(
|
9358
9370
|
ze,
|
9359
9371
|
{
|
9360
|
-
icon:
|
9372
|
+
icon: zf[c.icon],
|
9361
9373
|
style: { fontSize: "1.75rem" }
|
9362
9374
|
}
|
9363
9375
|
) }),
|
@@ -9435,7 +9447,7 @@ Ko.propTypes = {
|
|
9435
9447
|
};
|
9436
9448
|
const Xo = () => {
|
9437
9449
|
const e = Oe(null);
|
9438
|
-
return
|
9450
|
+
return ge(() => {
|
9439
9451
|
var t;
|
9440
9452
|
(t = e.current) == null || t.scrollIntoView({
|
9441
9453
|
behavior: "instant"
|
@@ -9489,7 +9501,7 @@ const Xo = () => {
|
|
9489
9501
|
children: "Oops! Something went wrong"
|
9490
9502
|
}
|
9491
9503
|
),
|
9492
|
-
/* @__PURE__ */ w.jsx("span", { style: { marginBottom: "1.5rem", color: "red" }, children: "Please
|
9504
|
+
/* @__PURE__ */ w.jsx("span", { style: { marginBottom: "1.5rem", color: "red" }, children: "Please try again later." })
|
9493
9505
|
]
|
9494
9506
|
}
|
9495
9507
|
)
|
@@ -9500,7 +9512,7 @@ const Xo = () => {
|
|
9500
9512
|
Xo.propTypes = {
|
9501
9513
|
errorRef: h.shape({ current: h.instanceOf(Object) }).isRequired
|
9502
9514
|
};
|
9503
|
-
const wn = Xo,
|
9515
|
+
const wn = Xo, Lf = 991;
|
9504
9516
|
function fr({
|
9505
9517
|
label: e,
|
9506
9518
|
className: t,
|
@@ -9509,7 +9521,7 @@ function fr({
|
|
9509
9521
|
children: i,
|
9510
9522
|
...o
|
9511
9523
|
}) {
|
9512
|
-
const l = ft(
|
9524
|
+
const l = ft(Lf);
|
9513
9525
|
return /* @__PURE__ */ w.jsx(
|
9514
9526
|
"button",
|
9515
9527
|
{
|
@@ -9540,7 +9552,7 @@ fr.defaultProps = {
|
|
9540
9552
|
className: "",
|
9541
9553
|
style: {}
|
9542
9554
|
};
|
9543
|
-
const
|
9555
|
+
const Pf = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00NDAtMTIwdi04MGgzMjB2LTI4NHEwLTExNy04MS41LTE5OC41VDQ4MC03NjRxLTExNyAwLTE5OC41IDgxLjVUMjAwLTQ4NHYyNDRoLTQwcS0zMyAwLTU2LjUtMjMuNVQ4MC0zMjB2LTgwcTAtMjEgMTAuNS0zOS41VDEyMC00NjlsMy01M3E4LTY4IDM5LjUtMTI2dDc5LTEwMXE0Ny41LTQzIDEwOS02N1Q0ODAtODQwcTY4IDAgMTI5IDI0dDEwOSA2Ni41UTc2Ni03MDcgNzk3LTY0OXQ0MCAxMjZsMyA1MnExOSA5IDI5LjUgMjd0MTAuNSAzOHY5MnEwIDIwLTEwLjUgMzhUODQwLTI0OXY0OXEwIDMzLTIzLjUgNTYuNVQ3NjAtMTIwSDQ0MFptLTgwLTI4MHEtMTcgMC0yOC41LTExLjVUMzIwLTQ0MHEwLTE3IDExLjUtMjguNVQzNjAtNDgwcTE3IDAgMjguNSAxMS41VDQwMC00NDBxMCAxNy0xMS41IDI4LjVUMzYwLTQwMFptMjQwIDBxLTE3IDAtMjguNS0xMS41VDU2MC00NDBxMC0xNyAxMS41LTI4LjVUNjAwLTQ4MHExNyAwIDI4LjUgMTEuNVQ2NDAtNDQwcTAgMTctMTEuNSAyOC41VDYwMC00MDBabS0zNTktNjJxLTctMTA2IDY0LTE4MnQxNzctNzZxODkgMCAxNTYuNSA1Ni41VDcyMC01MTlxLTkxLTEtMTY3LjUtNDlUNDM1LTY5OHEtMTYgODAtNjcuNSAxNDIuNVQyNDEtNDYyWiIvPjwvc3ZnPg==";
|
9544
9556
|
function dr({
|
9545
9557
|
configurations: e,
|
9546
9558
|
submitEvent: t,
|
@@ -9550,10 +9562,10 @@ function dr({
|
|
9550
9562
|
const [i, o] = se(!0), l = ut(
|
9551
9563
|
(u) => {
|
9552
9564
|
var c, p, m, f;
|
9553
|
-
((c = u == null ? void 0 : u.data) == null ? void 0 : c.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (p = window == null ? void 0 : window.OnetrustActiveGroups) != null && p.includes("C0003")) &&
|
9565
|
+
((c = u == null ? void 0 : u.data) == null ? void 0 : c.who) === "customer" && (!(window != null && window.OnetrustActiveGroups) || (p = window == null ? void 0 : window.OnetrustActiveGroups) != null && p.includes("C0003")) && ve.set(`${e.cookieNamePrefix}-live-chat-open`, 1, {
|
9554
9566
|
expires: 1,
|
9555
9567
|
path: "/"
|
9556
|
-
}), ((m = u == null ? void 0 : u.data) == null ? void 0 : m.type) === "connection" && ((f = u == null ? void 0 : u.data) == null ? void 0 : f.state) === "disconnected" &&
|
9568
|
+
}), ((m = u == null ? void 0 : u.data) == null ? void 0 : m.type) === "connection" && ((f = u == null ? void 0 : u.data) == null ? void 0 : f.state) === "disconnected" && ve.remove(`${e.cookieNamePrefix}-live-chat-open`);
|
9557
9569
|
},
|
9558
9570
|
[e.cookieNamePrefix]
|
9559
9571
|
), a = ut(
|
@@ -9563,7 +9575,7 @@ function dr({
|
|
9563
9575
|
},
|
9564
9576
|
[n]
|
9565
9577
|
);
|
9566
|
-
|
9578
|
+
ge(() => {
|
9567
9579
|
const u = document.createElement("script");
|
9568
9580
|
u.type = "text/javascript", u.src = e.liveChatUrl, u.async = !0, u.onload = () => {
|
9569
9581
|
window.Five9ChatPlugin(e.liveChatOptions);
|
@@ -9612,13 +9624,14 @@ function dr({
|
|
9612
9624
|
type: "button",
|
9613
9625
|
onClick: s,
|
9614
9626
|
"aria-label": "Open live chat window",
|
9627
|
+
style: { position: "relative" },
|
9615
9628
|
className: "xpert-chatbot-popup__live-chat--btn-outline",
|
9616
9629
|
children: /* @__PURE__ */ w.jsx(
|
9617
9630
|
"img",
|
9618
9631
|
{
|
9619
9632
|
height: "24px",
|
9620
9633
|
width: "24px",
|
9621
|
-
src:
|
9634
|
+
src: Pf,
|
9622
9635
|
alt: "Open live chat window icon"
|
9623
9636
|
}
|
9624
9637
|
)
|
@@ -9648,7 +9661,7 @@ dr.defaultProps = {
|
|
9648
9661
|
};
|
9649
9662
|
function Jo({ disableScroll: e }) {
|
9650
9663
|
const t = Oe(null);
|
9651
|
-
return
|
9664
|
+
return ge(() => {
|
9652
9665
|
var n;
|
9653
9666
|
e || (n = t.current) == null || n.scrollIntoView({
|
9654
9667
|
behavior: "smooth",
|
@@ -9674,17 +9687,17 @@ Jo.propTypes = {
|
|
9674
9687
|
};
|
9675
9688
|
function hr(e) {
|
9676
9689
|
var s;
|
9677
|
-
const [t, n] = se(!0), [r, i] = se(!1), o = t && (!(window != null && window.OnetrustActiveGroups) || ((s = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : s.includes("C0003"))) &&
|
9678
|
-
|
9690
|
+
const [t, n] = se(!0), [r, i] = se(!1), o = t && (!(window != null && window.OnetrustActiveGroups) || ((s = window == null ? void 0 : window.OnetrustActiveGroups) == null ? void 0 : s.includes("C0003"))) && ve.get(e.cookieName) === void 0;
|
9691
|
+
ge(() => {
|
9679
9692
|
var u;
|
9680
9693
|
(u = window == null ? void 0 : window.OneTrust) == null || u.OnConsentChanged(() => {
|
9681
9694
|
var c;
|
9682
|
-
!((c = window == null ? void 0 : window.OnetrustActiveGroups) != null && c.includes("C0003")) &&
|
9695
|
+
!((c = window == null ? void 0 : window.OnetrustActiveGroups) != null && c.includes("C0003")) && ve.get(e.cookieName) !== void 0 && ve.remove(e.cookieName);
|
9683
9696
|
});
|
9684
|
-
}, [e.cookieName]),
|
9697
|
+
}, [e.cookieName]), ge(() => {
|
9685
9698
|
var u;
|
9686
9699
|
e.showMessage || (!(window != null && window.OnetrustActiveGroups) || (u = window == null ? void 0 : window.OnetrustActiveGroups) != null && u.includes("C0003")) && a(e.cookieName, 1, 1);
|
9687
|
-
}, [e.showMessage, e.cookieName]),
|
9700
|
+
}, [e.showMessage, e.cookieName]), ge(() => {
|
9688
9701
|
if (e.proactiveMessageDelay > 0) {
|
9689
9702
|
const u = setTimeout(() => {
|
9690
9703
|
i(!0);
|
@@ -9701,7 +9714,7 @@ function hr(e) {
|
|
9701
9714
|
expires: p,
|
9702
9715
|
path: "/"
|
9703
9716
|
};
|
9704
|
-
|
9717
|
+
ve.set(u, c, m);
|
9705
9718
|
};
|
9706
9719
|
return r ? /* @__PURE__ */ w.jsx("div", { children: o && /* @__PURE__ */ w.jsxs(
|
9707
9720
|
"div",
|
@@ -9769,9 +9782,9 @@ hr.defaultProps = {
|
|
9769
9782
|
},
|
9770
9783
|
showMessage: !1
|
9771
9784
|
};
|
9772
|
-
function
|
9785
|
+
function Ff(e) {
|
9773
9786
|
const [t, n] = se(null);
|
9774
|
-
return
|
9787
|
+
return ge(() => {
|
9775
9788
|
console.log("Chatbot - optimizely mount");
|
9776
9789
|
try {
|
9777
9790
|
(() => {
|
@@ -9800,26 +9813,26 @@ function Lf(e) {
|
|
9800
9813
|
`Chatbot - optimizely return experimentVariation: ${t}`
|
9801
9814
|
), t;
|
9802
9815
|
}
|
9803
|
-
function
|
9816
|
+
function Rf(e, t) {
|
9804
9817
|
if (!(e instanceof Date && t instanceof Date))
|
9805
9818
|
throw new Error(
|
9806
9819
|
`Both start and end must be valid Date objects: start=${e} end=${t}`
|
9807
9820
|
);
|
9808
9821
|
return (t.getTime() - e.getTime()) / 1e3;
|
9809
9822
|
}
|
9810
|
-
function
|
9823
|
+
function _f(e) {
|
9811
9824
|
const t = /\[(.+)\]\(([^ ]+)( "(.+)")?\)/gm, n = e.match(t);
|
9812
9825
|
return (n == null ? void 0 : n.length) || 0;
|
9813
9826
|
}
|
9814
|
-
function
|
9827
|
+
function Uf(e) {
|
9815
9828
|
return new TextEncoder().encode(e).length;
|
9816
9829
|
}
|
9817
9830
|
const Ni = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0yODEtMjQwcS0xNCAwLTI3LjUtMTRUMjQwLTI4MnYtOThoNTAwdi0zNDBoMTAwcTE0IDAgMjcgMTR0MTMgMjl2NTk2TDcyMS0yNDBIMjgxWk04MC0yODB2LTU1OHEwLTE0IDEzLTI4dDI3LTE0aDUxOXExNSAwIDI4IDEzLjV0MTMgMjguNXYzNTZxMCAxNC0xMyAyOHQtMjggMTRIMjQwTDgwLTI4MFptNTQwLTIyMHYtMzIwSDE0MHYzMjBoNDgwWm0tNDgwIDB2LTMyMCAzMjBaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+";
|
9818
|
-
const
|
9831
|
+
const Bf = {
|
9819
9832
|
edx: Ki,
|
9820
9833
|
"speech-emerson": Ni,
|
9821
9834
|
"get-smarter": Ni
|
9822
|
-
},
|
9835
|
+
}, Qf = 991, Yf = [];
|
9823
9836
|
console.log("Chatbot - load");
|
9824
9837
|
function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
9825
9838
|
var F;
|
@@ -9849,8 +9862,8 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9849
9862
|
proactiveMessagePrefix: f,
|
9850
9863
|
proactiveMessage: T,
|
9851
9864
|
disableDisclaimerPage: x,
|
9852
|
-
conversationHistory:
|
9853
|
-
} = i, b = ft(
|
9865
|
+
conversationHistory: S
|
9866
|
+
} = i, b = ft(Qf), [, C] = se(!1), [I, Q] = se(Yf), [B, y] = se(!1), [O, R] = se(!1), [q, $] = se(!1), [v, M] = se(""), [N, A] = se(!1), [z, _] = se(!1), [Y, V] = se(!0), [K, d] = se(!1), [ie, ae] = se(!1), [g, oe] = se(!1), Ne = Oe(null), Z = Oe(null), ce = Oe(null), ne = ve.get(`${m}-test`) === "1", ue = ut(
|
9854
9867
|
({ name: E, payload: L }) => {
|
9855
9868
|
t ? t({ name: E, payload: L }) : ce.current.track(
|
9856
9869
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
@@ -9862,7 +9875,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9862
9875
|
), Te = ut(async () => {
|
9863
9876
|
if (window != null && window.OnetrustActiveGroups && window.OnetrustActiveGroups.split(",").includes("C0003"))
|
9864
9877
|
try {
|
9865
|
-
const E =
|
9878
|
+
const E = ve.get(
|
9866
9879
|
`${m}-conversation-history-id`
|
9867
9880
|
);
|
9868
9881
|
if (!E)
|
@@ -9878,7 +9891,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9878
9891
|
}
|
9879
9892
|
);
|
9880
9893
|
if (L.status === 404) {
|
9881
|
-
|
9894
|
+
ve.remove(`${m}-conversation-history-id`);
|
9882
9895
|
return;
|
9883
9896
|
}
|
9884
9897
|
if (!L.ok)
|
@@ -9896,17 +9909,17 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9896
9909
|
y(!1);
|
9897
9910
|
}
|
9898
9911
|
}, [m, o]);
|
9899
|
-
|
9912
|
+
ge(() => (Te(), document.addEventListener("visibilitychange", Te), () => {
|
9900
9913
|
document.removeEventListener(
|
9901
9914
|
"visibilitychange",
|
9902
9915
|
Te
|
9903
9916
|
);
|
9904
|
-
}), [Te]),
|
9917
|
+
}), [Te]), ge(() => {
|
9905
9918
|
console.log("Chatbot - mount");
|
9906
9919
|
let E, L;
|
9907
9920
|
return u && (E = setInterval(() => {
|
9908
9921
|
var ee;
|
9909
|
-
console.log("Chatbot - intervalCheckForScripts"), (ee = window.analytics) != null && ee.track && (!c || c && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), ce.current = window.analytics, clearInterval(E), clearTimeout(L),
|
9922
|
+
console.log("Chatbot - intervalCheckForScripts"), (ee = window.analytics) != null && ee.track && (!c || c && window.optimizely && window.experiments) && (console.log("Chatbot - intervalCheckForScripts all found"), ce.current = window.analytics, clearInterval(E), clearTimeout(L), C(!0));
|
9910
9923
|
}, 1e3), L = setTimeout(() => {
|
9911
9924
|
clearInterval(E);
|
9912
9925
|
}, 6e4)), () => {
|
@@ -9924,7 +9937,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9924
9937
|
isTestUser: ne
|
9925
9938
|
}
|
9926
9939
|
});
|
9927
|
-
}, Pe =
|
9940
|
+
}, Pe = Ff(c);
|
9928
9941
|
if (!e && !i)
|
9929
9942
|
return console.log("Chatbot - xpertKey or configuration is required"), null;
|
9930
9943
|
if (!(i != null && i.xpertKey))
|
@@ -9954,7 +9967,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9954
9967
|
payload: {
|
9955
9968
|
category: "2u",
|
9956
9969
|
label: "xpert-chatbot",
|
9957
|
-
linkCount:
|
9970
|
+
linkCount: _f(E),
|
9958
9971
|
apiResponseMessage: E,
|
9959
9972
|
isTestUser: ne,
|
9960
9973
|
conversationHistoryId: L
|
@@ -9981,10 +9994,10 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9981
9994
|
}
|
9982
9995
|
});
|
9983
9996
|
}, gt = (E) => {
|
9984
|
-
E.key === "Enter" &&
|
9997
|
+
E.key === "Enter" && v.trim() === "" || E.key === "Enter" && !E.shiftKey && (E.preventDefault(), Se(v), A(!0));
|
9985
9998
|
}, mt = () => {
|
9986
|
-
|
9987
|
-
},
|
9999
|
+
Se(v), A(!0);
|
10000
|
+
}, Se = async (E) => {
|
9988
10001
|
try {
|
9989
10002
|
if (E.trim().length === 0)
|
9990
10003
|
return;
|
@@ -10001,8 +10014,8 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10001
10014
|
isTestUser: ne
|
10002
10015
|
}
|
10003
10016
|
}), Ge();
|
10004
|
-
let ee =
|
10005
|
-
!ee && (
|
10017
|
+
let ee = ve.get(`${m}-conversation-history-id`) || "";
|
10018
|
+
!ee && (S != null && S.enabled) ? Q([
|
10006
10019
|
{
|
10007
10020
|
role: "user",
|
10008
10021
|
content: E
|
@@ -10038,7 +10051,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10038
10051
|
});
|
10039
10052
|
if (!Ie.ok)
|
10040
10053
|
throw new wn(`HTTPError: ${Ie.status} ${Ie.statusText}`);
|
10041
|
-
ee = Ie.headers.get("Conversation-History-Id"), ee &&
|
10054
|
+
ee = Ie.headers.get("Conversation-History-Id"), ee && ve.set(
|
10042
10055
|
`${m}-conversation-history-id`,
|
10043
10056
|
ee,
|
10044
10057
|
{ expires: 1 }
|
@@ -10047,11 +10060,11 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10047
10060
|
nn(te, ee);
|
10048
10061
|
const Ke = /* @__PURE__ */ new Date();
|
10049
10062
|
rn({
|
10050
|
-
conversationByteSize:
|
10063
|
+
conversationByteSize: Uf(JSON.stringify(pe)),
|
10051
10064
|
conversationSize: I.length + 2,
|
10052
10065
|
userInputMessage: E,
|
10053
10066
|
apiResponseMessage: te,
|
10054
|
-
elapsedSeconds:
|
10067
|
+
elapsedSeconds: Rf(L, Ke)
|
10055
10068
|
}), Q((fe) => [
|
10056
10069
|
...fe,
|
10057
10070
|
{
|
@@ -10127,7 +10140,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10127
10140
|
}, bt = (E) => {
|
10128
10141
|
M(E.target.value);
|
10129
10142
|
}, D = (E) => {
|
10130
|
-
E.key === "Enter" &&
|
10143
|
+
E.key === "Enter" && v.trim() === "" || E.key === "Enter" && !E.shiftKey && (E.preventDefault(), Se(v));
|
10131
10144
|
}, j = (E, L = "") => {
|
10132
10145
|
const re = I.map((ee, pe) => E === pe ? (ue({
|
10133
10146
|
name: `${u}.bi.xpert.chatbot.feedback.thumbs.${L.toLowerCase()}.clicked`,
|
@@ -10188,7 +10201,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10188
10201
|
{
|
10189
10202
|
"data-ot-ignore": "",
|
10190
10203
|
className: "xpert-chatbot-button__logo optanon-category-C0001",
|
10191
|
-
src:
|
10204
|
+
src: Bf[i.xpertKey],
|
10192
10205
|
alt: "xpert logo",
|
10193
10206
|
"aria-hidden": !0,
|
10194
10207
|
style: { width: s == null ? void 0 : s.iconWidth }
|
@@ -10215,33 +10228,23 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10215
10228
|
configurations: i
|
10216
10229
|
}
|
10217
10230
|
),
|
10218
|
-
/* @__PURE__ */ w.jsxs(
|
10219
|
-
|
10220
|
-
|
10221
|
-
|
10222
|
-
|
10223
|
-
|
10224
|
-
|
10225
|
-
|
10226
|
-
|
10227
|
-
|
10228
|
-
|
10229
|
-
|
10230
|
-
|
10231
|
-
|
10232
|
-
|
10233
|
-
|
10234
|
-
|
10235
|
-
showDisclaimerText: x,
|
10236
|
-
configurations: i,
|
10237
|
-
handleMessageLinkClicked: Ze
|
10238
|
-
}
|
10239
|
-
),
|
10240
|
-
B && /* @__PURE__ */ w.jsx(Jo, { disableScroll: ie }),
|
10241
|
-
z && /* @__PURE__ */ w.jsx(wn, {})
|
10242
|
-
]
|
10243
|
-
}
|
10244
|
-
),
|
10231
|
+
/* @__PURE__ */ w.jsxs("div", { style: { padding: "0 1.5rem", overflow: "auto" }, children: [
|
10232
|
+
/* @__PURE__ */ w.jsx(
|
10233
|
+
Up,
|
10234
|
+
{
|
10235
|
+
messages: I,
|
10236
|
+
loading: B,
|
10237
|
+
isNormalSize: b || Y,
|
10238
|
+
onFeedbackThumbSelection: j,
|
10239
|
+
onPromptClick: Se,
|
10240
|
+
showDisclaimerText: x,
|
10241
|
+
configurations: i,
|
10242
|
+
handleMessageLinkClicked: Ze
|
10243
|
+
}
|
10244
|
+
),
|
10245
|
+
B && /* @__PURE__ */ w.jsx(Jo, { disableScroll: ie }),
|
10246
|
+
z && /* @__PURE__ */ w.jsx(wn, {})
|
10247
|
+
] }),
|
10245
10248
|
/* @__PURE__ */ w.jsxs("div", { style: { marginTop: "auto", display: "flex" }, children: [
|
10246
10249
|
i.isLiveChatEnabled && /* @__PURE__ */ w.jsx(
|
10247
10250
|
dr,
|
@@ -10259,8 +10262,8 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10259
10262
|
loading: B,
|
10260
10263
|
hasXpertMessages: g,
|
10261
10264
|
hasError: z,
|
10262
|
-
userInput:
|
10263
|
-
handleSend:
|
10265
|
+
userInput: v,
|
10266
|
+
handleSend: Se,
|
10264
10267
|
handleInput: xt,
|
10265
10268
|
handleChange: bt,
|
10266
10269
|
handleKeyDown: D,
|
@@ -10275,7 +10278,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10275
10278
|
loading: B,
|
10276
10279
|
inputRef: Z,
|
10277
10280
|
hasError: z,
|
10278
|
-
userInput:
|
10281
|
+
userInput: v,
|
10279
10282
|
handleSend: mt,
|
10280
10283
|
handleInput: xt,
|
10281
10284
|
handleChange: bt,
|