@2uinc/frontend-component-xpert-chatbot 1.3.10 → 1.3.11-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/index.min.js +653 -647
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -182,7 +182,7 @@ const tl = {
|
|
182
182
|
function Ue(e) {
|
183
183
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function Ii(e) {
|
186
186
|
if (e.__esModule)
|
187
187
|
return e;
|
188
188
|
var t = e.default;
|
@@ -203,7 +203,7 @@ function Ti(e) {
|
|
203
203
|
});
|
204
204
|
}), n;
|
205
205
|
}
|
206
|
-
var
|
206
|
+
var Ti = { exports: {} }, ct = {};
|
207
207
|
/*
|
208
208
|
object-assign
|
209
209
|
(c) Sindre Sorhus
|
@@ -265,8 +265,8 @@ function vi(e, t, n) {
|
|
265
265
|
}
|
266
266
|
ct.jsx = vi;
|
267
267
|
ct.jsxs = vi;
|
268
|
-
|
269
|
-
var D =
|
268
|
+
Ti.exports = ct;
|
269
|
+
var D = Ti.exports, ji = { exports: {} }, fl = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", dl = fl, hl = dl;
|
270
270
|
function Ei() {
|
271
271
|
}
|
272
272
|
function Si() {
|
@@ -569,7 +569,7 @@ function zi(e) {
|
|
569
569
|
return t;
|
570
570
|
}
|
571
571
|
const yr = /* @__PURE__ */ Object.create(null);
|
572
|
-
function
|
572
|
+
function Il(e, t) {
|
573
573
|
return {
|
574
574
|
provider: e,
|
575
575
|
prefix: t,
|
@@ -579,14 +579,14 @@ function Tl(e, t) {
|
|
579
579
|
}
|
580
580
|
function Re(e, t) {
|
581
581
|
const n = yr[e] || (yr[e] = /* @__PURE__ */ Object.create(null));
|
582
|
-
return n[t] || (n[t] =
|
582
|
+
return n[t] || (n[t] = Il(e, t));
|
583
583
|
}
|
584
584
|
function Bn(e, t) {
|
585
585
|
return zi(t) ? Oi(t, (n, r) => {
|
586
586
|
r ? e.icons[n] = r : e.missing.add(n);
|
587
587
|
}) : [];
|
588
588
|
}
|
589
|
-
function
|
589
|
+
function Tl(e, t, n) {
|
590
590
|
try {
|
591
591
|
if (typeof n.body == "string")
|
592
592
|
return e.icons[t] = { ...n }, !0;
|
@@ -610,7 +610,7 @@ function vl(e, t) {
|
|
610
610
|
if (!n)
|
611
611
|
return !1;
|
612
612
|
const r = Re(n.provider, n.prefix);
|
613
|
-
return
|
613
|
+
return Tl(r, n.name, t);
|
614
614
|
}
|
615
615
|
function jl(e, t) {
|
616
616
|
if (typeof e != "object")
|
@@ -678,9 +678,9 @@ function Al(e, t) {
|
|
678
678
|
height: n.height
|
679
679
|
};
|
680
680
|
let o = n.body;
|
681
|
-
[n, r].forEach((
|
682
|
-
const b = [], S =
|
683
|
-
let v =
|
681
|
+
[n, r].forEach((I) => {
|
682
|
+
const b = [], S = I.hFlip, w = I.vFlip;
|
683
|
+
let v = I.rotate;
|
684
684
|
S ? w ? v += 2 : (b.push(
|
685
685
|
"translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
|
686
686
|
), b.push("scale(-1 1)"), i.top = i.left = 0) : w && (b.push(
|
@@ -709,8 +709,8 @@ function Al(e, t) {
|
|
709
709
|
const l = r.width, a = r.height, s = i.width, u = i.height;
|
710
710
|
let c, p;
|
711
711
|
l === null ? (p = a === null ? "1em" : a === "auto" ? u : a, c = Mr(p, s / u)) : (c = l === "auto" ? s : l, p = a === null ? Mr(c, u / s) : a === "auto" ? u : a);
|
712
|
-
const m = {}, f = (
|
713
|
-
Cl(b) || (m[
|
712
|
+
const m = {}, f = (I, b) => {
|
713
|
+
Cl(b) || (m[I] = b.toString());
|
714
714
|
};
|
715
715
|
return f("width", c), f("height", p), m.viewBox = i.left.toString() + " " + i.top.toString() + " " + s.toString() + " " + u.toString(), {
|
716
716
|
attributes: m,
|
@@ -741,7 +741,7 @@ const Nn = /* @__PURE__ */ Object.create(null);
|
|
741
741
|
function Fl(e, t) {
|
742
742
|
Nn[e] = t;
|
743
743
|
}
|
744
|
-
function
|
744
|
+
function In(e) {
|
745
745
|
return Nn[e] || Nn[""];
|
746
746
|
}
|
747
747
|
function Qn(e) {
|
@@ -1005,11 +1005,11 @@ function Kl(e, t, n, r) {
|
|
1005
1005
|
const a = Date.now();
|
1006
1006
|
let s = "pending", u = 0, c, p = null, m = [], f = [];
|
1007
1007
|
typeof r == "function" && f.push(r);
|
1008
|
-
function
|
1008
|
+
function I() {
|
1009
1009
|
p && (clearTimeout(p), p = null);
|
1010
1010
|
}
|
1011
1011
|
function b() {
|
1012
|
-
s === "pending" && (s = "aborted"),
|
1012
|
+
s === "pending" && (s = "aborted"), I(), m.forEach((y) => {
|
1013
1013
|
y.status === "pending" && (y.status = "aborted");
|
1014
1014
|
}), m = [];
|
1015
1015
|
}
|
@@ -1057,7 +1057,7 @@ function Kl(e, t, n, r) {
|
|
1057
1057
|
c = U, m.length || (l.length ? _() : v());
|
1058
1058
|
return;
|
1059
1059
|
}
|
1060
|
-
if (
|
1060
|
+
if (I(), j(), !e.random) {
|
1061
1061
|
const q = e.resources.indexOf(y.resource);
|
1062
1062
|
q !== -1 && q !== e.index && (e.index = q);
|
1063
1063
|
}
|
@@ -1068,12 +1068,12 @@ function Kl(e, t, n, r) {
|
|
1068
1068
|
function _() {
|
1069
1069
|
if (s !== "pending")
|
1070
1070
|
return;
|
1071
|
-
|
1071
|
+
I();
|
1072
1072
|
const y = l.shift();
|
1073
1073
|
if (y === void 0) {
|
1074
1074
|
if (m.length) {
|
1075
1075
|
p = setTimeout(() => {
|
1076
|
-
|
1076
|
+
I(), s === "pending" && (j(), v());
|
1077
1077
|
}, e.timeout);
|
1078
1078
|
return;
|
1079
1079
|
}
|
@@ -1143,7 +1143,7 @@ function Jl(e) {
|
|
1143
1143
|
function ea(e, t, n) {
|
1144
1144
|
let r, i;
|
1145
1145
|
if (typeof e == "string") {
|
1146
|
-
const o =
|
1146
|
+
const o = In(e);
|
1147
1147
|
if (!o)
|
1148
1148
|
return n(void 0, 424), br;
|
1149
1149
|
i = o.send;
|
@@ -1153,14 +1153,14 @@ function ea(e, t, n) {
|
|
1153
1153
|
const o = Qn(e);
|
1154
1154
|
if (o) {
|
1155
1155
|
r = _i(o);
|
1156
|
-
const l = e.resources ? e.resources[0] : "", a =
|
1156
|
+
const l = e.resources ? e.resources[0] : "", a = In(l);
|
1157
1157
|
a && (i = a.send);
|
1158
1158
|
}
|
1159
1159
|
}
|
1160
1160
|
return !r || !i ? (n(void 0, 424), br) : r.query(t, i, n)().abort;
|
1161
1161
|
}
|
1162
1162
|
const wr = "iconify2", st = "iconify", Ui = st + "-count", Dr = st + "-version", Bi = 36e5, ta = 168;
|
1163
|
-
function
|
1163
|
+
function Tn(e, t) {
|
1164
1164
|
try {
|
1165
1165
|
return e.getItem(t);
|
1166
1166
|
} catch {
|
@@ -1182,7 +1182,7 @@ function kn(e, t) {
|
|
1182
1182
|
return qn(e, Ui, t.toString());
|
1183
1183
|
}
|
1184
1184
|
function vn(e) {
|
1185
|
-
return parseInt(
|
1185
|
+
return parseInt(Tn(e, Ui)) || 0;
|
1186
1186
|
}
|
1187
1187
|
const Ut = {
|
1188
1188
|
local: !0,
|
@@ -1209,7 +1209,7 @@ function Hi(e, t) {
|
|
1209
1209
|
const n = Yi(e);
|
1210
1210
|
if (!n)
|
1211
1211
|
return;
|
1212
|
-
const r =
|
1212
|
+
const r = Tn(n, Dr);
|
1213
1213
|
if (r !== wr) {
|
1214
1214
|
if (r) {
|
1215
1215
|
const a = vn(n);
|
@@ -1220,7 +1220,7 @@ function Hi(e, t) {
|
|
1220
1220
|
return;
|
1221
1221
|
}
|
1222
1222
|
const i = Math.floor(Date.now() / Bi) - ta, o = (a) => {
|
1223
|
-
const s = st + a.toString(), u =
|
1223
|
+
const s = st + a.toString(), u = Tn(n, s);
|
1224
1224
|
if (typeof u == "string") {
|
1225
1225
|
try {
|
1226
1226
|
const c = JSON.parse(u);
|
@@ -1292,7 +1292,7 @@ function ia(e, t) {
|
|
1292
1292
|
}
|
1293
1293
|
t.lastModified && !ra(e, t.lastModified) || Object.keys(t.icons).length && (t.not_found && (t = Object.assign({}, t), delete t.not_found), n("local") || n("session"));
|
1294
1294
|
}
|
1295
|
-
function
|
1295
|
+
function Ir() {
|
1296
1296
|
}
|
1297
1297
|
function oa(e) {
|
1298
1298
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
@@ -1305,7 +1305,7 @@ function la(e, t) {
|
|
1305
1305
|
const { provider: n, prefix: r } = e, i = e.iconsToLoad;
|
1306
1306
|
delete e.iconsToLoad;
|
1307
1307
|
let o;
|
1308
|
-
if (!i || !(o =
|
1308
|
+
if (!i || !(o = In(n)))
|
1309
1309
|
return;
|
1310
1310
|
o.prepare(n, r, i).forEach((a) => {
|
1311
1311
|
ea(n, a, (s) => {
|
@@ -1342,7 +1342,7 @@ const aa = (e, t) => {
|
|
1342
1342
|
r.loaded,
|
1343
1343
|
r.missing,
|
1344
1344
|
r.pending,
|
1345
|
-
|
1345
|
+
Ir
|
1346
1346
|
);
|
1347
1347
|
}), () => {
|
1348
1348
|
s = !1;
|
@@ -1363,7 +1363,7 @@ const aa = (e, t) => {
|
|
1363
1363
|
}), o.forEach((s) => {
|
1364
1364
|
const { provider: u, prefix: c } = s;
|
1365
1365
|
i[u][c].length && la(s, i[u][c]);
|
1366
|
-
}), t ? Zl(t, r, o) :
|
1366
|
+
}), t ? Zl(t, r, o) : Ir;
|
1367
1367
|
};
|
1368
1368
|
function ua(e, t) {
|
1369
1369
|
const n = {
|
@@ -1457,7 +1457,7 @@ const $i = {
|
|
1457
1457
|
backgroundColor: "currentColor"
|
1458
1458
|
}, Vi = {
|
1459
1459
|
backgroundColor: "transparent"
|
1460
|
-
},
|
1460
|
+
}, Tr = {
|
1461
1461
|
Image: "var(--svg)",
|
1462
1462
|
Repeat: "no-repeat",
|
1463
1463
|
Size: "100% 100%"
|
@@ -1468,8 +1468,8 @@ const $i = {
|
|
1468
1468
|
};
|
1469
1469
|
for (const e in kr) {
|
1470
1470
|
const t = kr[e];
|
1471
|
-
for (const n in
|
1472
|
-
t[e + n] =
|
1471
|
+
for (const n in Tr)
|
1472
|
+
t[e + n] = Tr[n];
|
1473
1473
|
}
|
1474
1474
|
const ba = {
|
1475
1475
|
...$i,
|
@@ -1528,10 +1528,10 @@ const wa = (e, t, n, r) => {
|
|
1528
1528
|
__html: ya(Pl(c.body, v ? () => v + "ID" + w++ : "iconifyReact"))
|
1529
1529
|
}, ue.createElement("svg", u);
|
1530
1530
|
}
|
1531
|
-
const { body: m, width: f, height:
|
1531
|
+
const { body: m, width: f, height: I } = e, b = l === "mask" || (l === "bg" ? !1 : m.indexOf("currentColor") !== -1), S = fa(m, {
|
1532
1532
|
...p,
|
1533
1533
|
width: f + "",
|
1534
|
-
height:
|
1534
|
+
height: I + ""
|
1535
1535
|
});
|
1536
1536
|
return u.style = {
|
1537
1537
|
...a,
|
@@ -1867,7 +1867,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
1867
1867
|
n === void 0 && (n = !0);
|
1868
1868
|
var i = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), o = i === "" || i === "true", l = o || n && t && e(t.parentNode);
|
1869
1869
|
return l;
|
1870
|
-
},
|
1870
|
+
}, Ia = function(t) {
|
1871
1871
|
var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
1872
1872
|
return r === "" || r === "true";
|
1873
1873
|
}, Ji = function(t, n, r) {
|
@@ -1906,8 +1906,8 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
1906
1906
|
}, Ce = function(t) {
|
1907
1907
|
if (!t)
|
1908
1908
|
throw new Error("No node provided");
|
1909
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
1910
|
-
},
|
1909
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Ia(t)) && !to(t) ? 0 : t.tabIndex;
|
1910
|
+
}, Ta = function(t, n) {
|
1911
1911
|
var r = Ce(t);
|
1912
1912
|
return r < 0 && n && !to(t) ? 0 : r;
|
1913
1913
|
}, ka = function(t, n) {
|
@@ -2010,7 +2010,7 @@ var Xi = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
2010
2010
|
}, Fa = function e(t) {
|
2011
2011
|
var n = [], r = [];
|
2012
2012
|
return t.forEach(function(i, o) {
|
2013
|
-
var l = !!i.scopeParent, a = l ? i.scopeParent : i, s =
|
2013
|
+
var l = !!i.scopeParent, a = l ? i.scopeParent : i, s = Ta(a, l), u = l ? e(i.candidates) : a;
|
2014
2014
|
s === 0 ? l ? n.push.apply(n, u) : n.push(a) : r.push({
|
2015
2015
|
documentOrder: o,
|
2016
2016
|
tabIndex: s,
|
@@ -2286,7 +2286,7 @@ var Ar = {
|
|
2286
2286
|
var N = M.activeElement;
|
2287
2287
|
if (N)
|
2288
2288
|
return N.shadowRoot && N.shadowRoot.activeElement !== null ? E(N.shadowRoot) : N;
|
2289
|
-
},
|
2289
|
+
}, I = function E(M) {
|
2290
2290
|
if (M !== !1 && M !== f(document)) {
|
2291
2291
|
if (!M || !M.focus) {
|
2292
2292
|
E(p());
|
@@ -2377,7 +2377,7 @@ var Ar = {
|
|
2377
2377
|
// outside the trap causing the focus escape we're trying to fix)
|
2378
2378
|
target: l.mostRecentlyFocusedNode,
|
2379
2379
|
isBackward: o.isKeyBackward(l.recentNavEvent)
|
2380
|
-
})),
|
2380
|
+
})), I(z || l.mostRecentlyFocusedNode || p());
|
2381
2381
|
}
|
2382
2382
|
l.recentNavEvent = void 0;
|
2383
2383
|
}, j = function(M) {
|
@@ -2387,7 +2387,7 @@ var Ar = {
|
|
2387
2387
|
event: M,
|
2388
2388
|
isBackward: N
|
2389
2389
|
});
|
2390
|
-
C && (it(M) && M.preventDefault(),
|
2390
|
+
C && (it(M) && M.preventDefault(), I(C));
|
2391
2391
|
}, B = function(M) {
|
2392
2392
|
if (Ha(M) && Ke(o.escapeDeactivates, M) !== !1) {
|
2393
2393
|
M.preventDefault(), a.deactivate();
|
@@ -2400,8 +2400,8 @@ var Ar = {
|
|
2400
2400
|
}, y = function() {
|
2401
2401
|
if (l.active)
|
2402
2402
|
return Ar.activateTrap(i, a), l.delayInitialFocusTimer = o.delayInitialFocus ? Or(function() {
|
2403
|
-
|
2404
|
-
}) :
|
2403
|
+
I(p());
|
2404
|
+
}) : I(p()), r.addEventListener("focusin", v, !0), r.addEventListener("mousedown", w, {
|
2405
2405
|
capture: !0,
|
2406
2406
|
passive: !1
|
2407
2407
|
}), r.addEventListener("touchstart", w, {
|
@@ -2424,7 +2424,7 @@ var Ar = {
|
|
2424
2424
|
return F === l.mostRecentlyFocusedNode;
|
2425
2425
|
});
|
2426
2426
|
});
|
2427
|
-
N &&
|
2427
|
+
N && I(p());
|
2428
2428
|
}, Q = typeof window < "u" && "MutationObserver" in window ? new MutationObserver(U) : void 0, q = function() {
|
2429
2429
|
Q && (Q.disconnect(), l.active && !l.paused && l.containers.map(function(M) {
|
2430
2430
|
Q.observe(M, {
|
@@ -2463,7 +2463,7 @@ var Ar = {
|
|
2463
2463
|
C == null || C();
|
2464
2464
|
var V = function() {
|
2465
2465
|
Or(function() {
|
2466
|
-
Y &&
|
2466
|
+
Y && I(b(l.nodeFocusedBeforeActivation)), z == null || z();
|
2467
2467
|
});
|
2468
2468
|
};
|
2469
2469
|
return Y && F ? (F(b(l.nodeFocusedBeforeActivation)).then(V, V), this) : (V(), this);
|
@@ -2491,7 +2491,7 @@ var Ar = {
|
|
2491
2491
|
const Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
2492
2492
|
__proto__: null,
|
2493
2493
|
createFocusTrap: Wa
|
2494
|
-
}, Symbol.toStringTag, { value: "Module" })), Ga = /* @__PURE__ */
|
2494
|
+
}, Symbol.toStringTag, { value: "Module" })), Ga = /* @__PURE__ */ Ii(Za), Xa = /* @__PURE__ */ Ii(_a);
|
2495
2495
|
function He(e) {
|
2496
2496
|
"@babel/helpers - typeof";
|
2497
2497
|
return He = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
@@ -2583,7 +2583,7 @@ function ou(e, t) {
|
|
2583
2583
|
}
|
2584
2584
|
return (t === "string" ? String : Number)(e);
|
2585
2585
|
}
|
2586
|
-
var
|
2586
|
+
var It = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusable, Zn = /* @__PURE__ */ function(e) {
|
2587
2587
|
eu(n, e);
|
2588
2588
|
var t = tu(n);
|
2589
2589
|
function n(r) {
|
@@ -2602,8 +2602,8 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
|
|
2602
2602
|
}
|
2603
2603
|
var f = u;
|
2604
2604
|
if (typeof u == "string") {
|
2605
|
-
var
|
2606
|
-
if (f = (
|
2605
|
+
var I;
|
2606
|
+
if (f = (I = this.getDocument()) === null || I === void 0 ? void 0 : I.querySelector(u), !f)
|
2607
2607
|
throw new Error("`".concat(a, "` as selector refers to no known node"));
|
2608
2608
|
}
|
2609
2609
|
return f;
|
@@ -2755,14 +2755,14 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
|
|
2755
2755
|
}, {
|
2756
2756
|
key: "render",
|
2757
2757
|
value: function() {
|
2758
|
-
var i = this, o = this.props.children ?
|
2758
|
+
var i = this, o = this.props.children ? It.Children.only(this.props.children) : void 0;
|
2759
2759
|
if (o) {
|
2760
|
-
if (o.type && o.type ===
|
2760
|
+
if (o.type && o.type === It.Fragment)
|
2761
2761
|
throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");
|
2762
2762
|
var l = function(u) {
|
2763
2763
|
var c = i.props.containerElements;
|
2764
2764
|
o && (typeof o.ref == "function" ? o.ref(u) : o.ref && (o.ref.current = u)), i.focusTrapElements = c || [u];
|
2765
|
-
}, a =
|
2765
|
+
}, a = It.cloneElement(o, {
|
2766
2766
|
ref: l
|
2767
2767
|
});
|
2768
2768
|
return a;
|
@@ -2770,7 +2770,7 @@ var Tt = ue, P = Ci, lu = Ga, au = lu.createFocusTrap, uu = Xa, su = uu.isFocusa
|
|
2770
2770
|
return null;
|
2771
2771
|
}
|
2772
2772
|
}]), n;
|
2773
|
-
}(
|
2773
|
+
}(It.Component), Je = typeof Element > "u" ? Function : Element;
|
2774
2774
|
Zn.propTypes = {
|
2775
2775
|
active: P.bool,
|
2776
2776
|
paused: P.bool,
|
@@ -2964,6 +2964,12 @@ lo.propTypes = {
|
|
2964
2964
|
primaryColor: g.string.isRequired
|
2965
2965
|
}).isRequired
|
2966
2966
|
};
|
2967
|
+
const yu = {
|
2968
|
+
fontSize: "1rem",
|
2969
|
+
maxHeight: "100%",
|
2970
|
+
maxWidth: "100%",
|
2971
|
+
display: "block"
|
2972
|
+
};
|
2967
2973
|
function Qt({
|
2968
2974
|
loading: e,
|
2969
2975
|
inputRef: t,
|
@@ -3000,11 +3006,11 @@ function Qt({
|
|
3000
3006
|
borderRadius: "1rem",
|
3001
3007
|
padding: "12.5px 45px 12.5px 12.5px",
|
3002
3008
|
fontFamily: "inherit",
|
3003
|
-
fontSize: ".9rem",
|
3004
3009
|
fontWeight: "300",
|
3005
3010
|
lineHeight: "1.56rem",
|
3006
3011
|
boxSizing: "border-box",
|
3007
|
-
resize: "none"
|
3012
|
+
resize: "none",
|
3013
|
+
...yu
|
3008
3014
|
}
|
3009
3015
|
}
|
3010
3016
|
),
|
@@ -3039,7 +3045,7 @@ Qt.propTypes = {
|
|
3039
3045
|
Qt.defaultProps = {
|
3040
3046
|
containerStyle: void 0
|
3041
3047
|
};
|
3042
|
-
const
|
3048
|
+
const Mu = {
|
3043
3049
|
Groups: "material-symbols:groups",
|
3044
3050
|
Compass: "mdi:compass-outline",
|
3045
3051
|
InfoOutline: "material-symbols:info-outline"
|
@@ -3081,7 +3087,7 @@ function ao({
|
|
3081
3087
|
/* @__PURE__ */ D.jsx("div", { className: "xpert-chatbot-popup__disclaimer__compass-icon", children: /* @__PURE__ */ D.jsx(
|
3082
3088
|
Ae,
|
3083
3089
|
{
|
3084
|
-
icon:
|
3090
|
+
icon: Mu[c.icon],
|
3085
3091
|
style: { fontSize: "1.75rem" }
|
3086
3092
|
}
|
3087
3093
|
) }),
|
@@ -3249,8 +3255,8 @@ const so = () => {
|
|
3249
3255
|
so.propTypes = {
|
3250
3256
|
errorRef: g.shape({ current: g.instanceOf(Object) }).isRequired
|
3251
3257
|
};
|
3252
|
-
const
|
3253
|
-
function
|
3258
|
+
const xu = so, Pr = ["http", "https", "mailto", "tel"];
|
3259
|
+
function bu(e) {
|
3254
3260
|
const t = (e || "").trim(), n = t.charAt(0);
|
3255
3261
|
if (n === "#" || n === "/")
|
3256
3262
|
return t;
|
@@ -3271,10 +3277,10 @@ function xu(e) {
|
|
3271
3277
|
* @author Feross Aboukhadijeh <https://feross.org>
|
3272
3278
|
* @license MIT
|
3273
3279
|
*/
|
3274
|
-
var
|
3280
|
+
var wu = function(t) {
|
3275
3281
|
return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
3276
3282
|
};
|
3277
|
-
const co = /* @__PURE__ */ Ue(
|
3283
|
+
const co = /* @__PURE__ */ Ue(wu);
|
3278
3284
|
function ot(e) {
|
3279
3285
|
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Fr(e.position) : "start" in e || "end" in e ? Fr(e) : "line" in e || "column" in e ? Cn(e) : "";
|
3280
3286
|
}
|
@@ -3332,8 +3338,8 @@ xe.prototype.line = null;
|
|
3332
3338
|
xe.prototype.source = null;
|
3333
3339
|
xe.prototype.ruleId = null;
|
3334
3340
|
xe.prototype.position = null;
|
3335
|
-
const
|
3336
|
-
function
|
3341
|
+
const Ie = { basename: Du, dirname: Nu, extname: Iu, join: Tu, sep: "/" };
|
3342
|
+
function Du(e, t) {
|
3337
3343
|
if (t !== void 0 && typeof t != "string")
|
3338
3344
|
throw new TypeError('"ext" argument must be a string');
|
3339
3345
|
ft(e);
|
@@ -3362,7 +3368,7 @@ function wu(e, t) {
|
|
3362
3368
|
l < 0 && (o = !0, l = i + 1), a > -1 && (e.charCodeAt(i) === t.charCodeAt(a--) ? a < 0 && (r = i) : (a = -1, r = l));
|
3363
3369
|
return n === r ? r = l : r < 0 && (r = e.length), e.slice(n, r);
|
3364
3370
|
}
|
3365
|
-
function
|
3371
|
+
function Nu(e) {
|
3366
3372
|
if (ft(e), e.length === 0)
|
3367
3373
|
return ".";
|
3368
3374
|
let t = -1, n = e.length, r;
|
@@ -3376,7 +3382,7 @@ function Du(e) {
|
|
3376
3382
|
r || (r = !0);
|
3377
3383
|
return t < 0 ? e.charCodeAt(0) === 47 ? "/" : "." : t === 1 && e.charCodeAt(0) === 47 ? "//" : e.slice(0, t);
|
3378
3384
|
}
|
3379
|
-
function
|
3385
|
+
function Iu(e) {
|
3380
3386
|
ft(e);
|
3381
3387
|
let t = e.length, n = -1, r = 0, i = -1, o = 0, l;
|
3382
3388
|
for (; t--; ) {
|
@@ -3398,15 +3404,15 @@ function Tu(...e) {
|
|
3398
3404
|
let t = -1, n;
|
3399
3405
|
for (; ++t < e.length; )
|
3400
3406
|
ft(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
|
3401
|
-
return n === void 0 ? "." :
|
3407
|
+
return n === void 0 ? "." : ku(n);
|
3402
3408
|
}
|
3403
|
-
function
|
3409
|
+
function ku(e) {
|
3404
3410
|
ft(e);
|
3405
3411
|
const t = e.charCodeAt(0) === 47;
|
3406
|
-
let n =
|
3412
|
+
let n = vu(e, !t);
|
3407
3413
|
return n.length === 0 && !t && (n = "."), n.length > 0 && e.charCodeAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
|
3408
3414
|
}
|
3409
|
-
function
|
3415
|
+
function vu(e, t) {
|
3410
3416
|
let n = "", r = 0, i = -1, o = 0, l = -1, a, s;
|
3411
3417
|
for (; ++l <= e.length; ) {
|
3412
3418
|
if (l < e.length)
|
@@ -3445,8 +3451,8 @@ function ft(e) {
|
|
3445
3451
|
"Path must be a string. Received " + JSON.stringify(e)
|
3446
3452
|
);
|
3447
3453
|
}
|
3448
|
-
const
|
3449
|
-
function
|
3454
|
+
const ju = { cwd: Eu };
|
3455
|
+
function Eu() {
|
3450
3456
|
return "/";
|
3451
3457
|
}
|
3452
3458
|
function An(e) {
|
@@ -3454,7 +3460,7 @@ function An(e) {
|
|
3454
3460
|
e.href && // @ts-expect-error: indexable.
|
3455
3461
|
e.origin;
|
3456
3462
|
}
|
3457
|
-
function
|
3463
|
+
function Su(e) {
|
3458
3464
|
if (typeof e == "string")
|
3459
3465
|
e = new URL(e);
|
3460
3466
|
else if (!An(e)) {
|
@@ -3467,9 +3473,9 @@ function Eu(e) {
|
|
3467
3473
|
const t = new TypeError("The URL must be of scheme file");
|
3468
3474
|
throw t.code = "ERR_INVALID_URL_SCHEME", t;
|
3469
3475
|
}
|
3470
|
-
return
|
3476
|
+
return Cu(e);
|
3471
3477
|
}
|
3472
|
-
function
|
3478
|
+
function Cu(e) {
|
3473
3479
|
if (e.hostname !== "") {
|
3474
3480
|
const r = new TypeError(
|
3475
3481
|
'File URL host must be "localhost" or empty on darwin'
|
@@ -3516,7 +3522,7 @@ class po {
|
|
3516
3522
|
*/
|
3517
3523
|
constructor(t) {
|
3518
3524
|
let n;
|
3519
|
-
t ? typeof t == "string" ||
|
3525
|
+
t ? typeof t == "string" || Au(t) ? n = { value: t } : An(t) ? n = { path: t } : n = t : n = {}, this.data = {}, this.messages = [], this.history = [], this.cwd = ju.cwd(), this.value, this.stored, this.result, this.map;
|
3520
3526
|
let r = -1;
|
3521
3527
|
for (; ++r < pn.length; ) {
|
3522
3528
|
const o = pn[r];
|
@@ -3544,13 +3550,13 @@ class po {
|
|
3544
3550
|
* @param {string | URL} path
|
3545
3551
|
*/
|
3546
3552
|
set path(t) {
|
3547
|
-
An(t) && (t =
|
3553
|
+
An(t) && (t = Su(t)), dn(t, "path"), this.path !== t && this.history.push(t);
|
3548
3554
|
}
|
3549
3555
|
/**
|
3550
3556
|
* Get the parent path (example: `'~'`).
|
3551
3557
|
*/
|
3552
3558
|
get dirname() {
|
3553
|
-
return typeof this.path == "string" ?
|
3559
|
+
return typeof this.path == "string" ? Ie.dirname(this.path) : void 0;
|
3554
3560
|
}
|
3555
3561
|
/**
|
3556
3562
|
* Set the parent path (example: `'~'`).
|
@@ -3558,13 +3564,13 @@ class po {
|
|
3558
3564
|
* Cannot be set if there’s no `path` yet.
|
3559
3565
|
*/
|
3560
3566
|
set dirname(t) {
|
3561
|
-
_r(this.basename, "dirname"), this.path =
|
3567
|
+
_r(this.basename, "dirname"), this.path = Ie.join(t || "", this.basename);
|
3562
3568
|
}
|
3563
3569
|
/**
|
3564
3570
|
* Get the basename (including extname) (example: `'index.min.js'`).
|
3565
3571
|
*/
|
3566
3572
|
get basename() {
|
3567
|
-
return typeof this.path == "string" ?
|
3573
|
+
return typeof this.path == "string" ? Ie.basename(this.path) : void 0;
|
3568
3574
|
}
|
3569
3575
|
/**
|
3570
3576
|
* Set basename (including extname) (`'index.min.js'`).
|
@@ -3574,13 +3580,13 @@ class po {
|
|
3574
3580
|
* Cannot be nullified (use `file.path = file.dirname` instead).
|
3575
3581
|
*/
|
3576
3582
|
set basename(t) {
|
3577
|
-
dn(t, "basename"), fn(t, "basename"), this.path =
|
3583
|
+
dn(t, "basename"), fn(t, "basename"), this.path = Ie.join(this.dirname || "", t);
|
3578
3584
|
}
|
3579
3585
|
/**
|
3580
3586
|
* Get the extname (including dot) (example: `'.js'`).
|
3581
3587
|
*/
|
3582
3588
|
get extname() {
|
3583
|
-
return typeof this.path == "string" ?
|
3589
|
+
return typeof this.path == "string" ? Ie.extname(this.path) : void 0;
|
3584
3590
|
}
|
3585
3591
|
/**
|
3586
3592
|
* Set the extname (including dot) (example: `'.js'`).
|
@@ -3596,13 +3602,13 @@ class po {
|
|
3596
3602
|
if (t.includes(".", 1))
|
3597
3603
|
throw new Error("`extname` cannot contain multiple dots");
|
3598
3604
|
}
|
3599
|
-
this.path =
|
3605
|
+
this.path = Ie.join(this.dirname, this.stem + (t || ""));
|
3600
3606
|
}
|
3601
3607
|
/**
|
3602
3608
|
* Get the stem (basename w/o extname) (example: `'index.min'`).
|
3603
3609
|
*/
|
3604
3610
|
get stem() {
|
3605
|
-
return typeof this.path == "string" ?
|
3611
|
+
return typeof this.path == "string" ? Ie.basename(this.path, this.extname) : void 0;
|
3606
3612
|
}
|
3607
3613
|
/**
|
3608
3614
|
* Set the stem (basename w/o extname) (example: `'index.min'`).
|
@@ -3612,7 +3618,7 @@ class po {
|
|
3612
3618
|
* Cannot be nullified (use `file.path = file.dirname` instead).
|
3613
3619
|
*/
|
3614
3620
|
set stem(t) {
|
3615
|
-
dn(t, "stem"), fn(t, "stem"), this.path =
|
3621
|
+
dn(t, "stem"), fn(t, "stem"), this.path = Ie.join(this.dirname || "", t + (this.extname || ""));
|
3616
3622
|
}
|
3617
3623
|
/**
|
3618
3624
|
* Serialize the file.
|
@@ -3692,9 +3698,9 @@ class po {
|
|
3692
3698
|
}
|
3693
3699
|
}
|
3694
3700
|
function fn(e, t) {
|
3695
|
-
if (e && e.includes(
|
3701
|
+
if (e && e.includes(Ie.sep))
|
3696
3702
|
throw new Error(
|
3697
|
-
"`" + t + "` cannot be a path: did not expect `" +
|
3703
|
+
"`" + t + "` cannot be a path: did not expect `" + Ie.sep + "`"
|
3698
3704
|
);
|
3699
3705
|
}
|
3700
3706
|
function dn(e, t) {
|
@@ -3705,7 +3711,7 @@ function _r(e, t) {
|
|
3705
3711
|
if (!e)
|
3706
3712
|
throw new Error("Setting `" + t + "` requires `path` to be set too");
|
3707
3713
|
}
|
3708
|
-
function
|
3714
|
+
function Au(e) {
|
3709
3715
|
return co(e);
|
3710
3716
|
}
|
3711
3717
|
function Ur(e) {
|
@@ -3739,7 +3745,7 @@ var St = Object.prototype.hasOwnProperty, fo = Object.prototype.toString, Br = O
|
|
3739
3745
|
} else
|
3740
3746
|
return;
|
3741
3747
|
return t[n];
|
3742
|
-
},
|
3748
|
+
}, Ou = function e() {
|
3743
3749
|
var t, n, r, i, o, l, a = arguments[0], s = 1, u = arguments.length, c = !1;
|
3744
3750
|
for (typeof a == "boolean" && (c = a, a = arguments[1] || {}, s = 2), (a == null || typeof a != "object" && typeof a != "function") && (a = {}); s < u; ++s)
|
3745
3751
|
if (t = arguments[s], t != null)
|
@@ -3747,14 +3753,14 @@ var St = Object.prototype.hasOwnProperty, fo = Object.prototype.toString, Br = O
|
|
3747
3753
|
r = $r(a, n), i = $r(t, n), a !== i && (c && i && (Hr(i) || (o = Yr(i))) ? (o ? (o = !1, l = r && Yr(r) ? r : []) : l = r && Hr(r) ? r : {}, qr(a, { name: n, newValue: e(c, l, i) })) : typeof i < "u" && qr(a, { name: n, newValue: i }));
|
3748
3754
|
return a;
|
3749
3755
|
};
|
3750
|
-
const Vr = /* @__PURE__ */ Ue(
|
3756
|
+
const Vr = /* @__PURE__ */ Ue(Ou);
|
3751
3757
|
function On(e) {
|
3752
3758
|
if (typeof e != "object" || e === null)
|
3753
3759
|
return !1;
|
3754
3760
|
const t = Object.getPrototypeOf(e);
|
3755
3761
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
3756
3762
|
}
|
3757
|
-
function
|
3763
|
+
function zu() {
|
3758
3764
|
const e = [], t = { run: n, use: r };
|
3759
3765
|
return t;
|
3760
3766
|
function n(...i) {
|
@@ -3772,7 +3778,7 @@ function Ou() {
|
|
3772
3778
|
}
|
3773
3779
|
for (; ++p < i.length; )
|
3774
3780
|
(u[p] === null || u[p] === void 0) && (u[p] = i[p]);
|
3775
|
-
i = u, c ?
|
3781
|
+
i = u, c ? Lu(c, a)(...u) : l(null, ...u);
|
3776
3782
|
}
|
3777
3783
|
}
|
3778
3784
|
function r(i) {
|
@@ -3783,7 +3789,7 @@ function Ou() {
|
|
3783
3789
|
return e.push(i), t;
|
3784
3790
|
}
|
3785
3791
|
}
|
3786
|
-
function
|
3792
|
+
function Lu(e, t) {
|
3787
3793
|
let n;
|
3788
3794
|
return r;
|
3789
3795
|
function r(...l) {
|
@@ -3810,11 +3816,11 @@ function zu(e, t) {
|
|
3810
3816
|
i(null, l);
|
3811
3817
|
}
|
3812
3818
|
}
|
3813
|
-
const
|
3819
|
+
const Pu = go().freeze(), ho = {}.hasOwnProperty;
|
3814
3820
|
function go() {
|
3815
|
-
const e =
|
3821
|
+
const e = zu(), t = [];
|
3816
3822
|
let n = {}, r, i = -1;
|
3817
|
-
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 =
|
3823
|
+
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 = I, o;
|
3818
3824
|
function o() {
|
3819
3825
|
const b = go();
|
3820
3826
|
let S = -1;
|
@@ -3923,7 +3929,7 @@ function go() {
|
|
3923
3929
|
_(y);
|
3924
3930
|
else {
|
3925
3931
|
const Q = o.stringify(A, U);
|
3926
|
-
Q == null || (
|
3932
|
+
Q == null || (_u(Q) ? U.value = Q : U.result = Q), _(y, U);
|
3927
3933
|
}
|
3928
3934
|
});
|
3929
3935
|
function _(y, A) {
|
@@ -3931,7 +3937,7 @@ function go() {
|
|
3931
3937
|
}
|
3932
3938
|
}
|
3933
3939
|
}
|
3934
|
-
function
|
3940
|
+
function I(b) {
|
3935
3941
|
let S;
|
3936
3942
|
o.freeze(), hn("processSync", o.Parser), gn("processSync", o.Compiler);
|
3937
3943
|
const w = et(b);
|
@@ -3948,9 +3954,9 @@ function Wr(e, t) {
|
|
3948
3954
|
// Classes’ prototype methods are not enumerable, so we check if some value
|
3949
3955
|
// exists in the prototype.
|
3950
3956
|
// type-coverage:ignore-next-line
|
3951
|
-
(
|
3957
|
+
(Fu(e.prototype) || t in e.prototype);
|
3952
3958
|
}
|
3953
|
-
function
|
3959
|
+
function Fu(e) {
|
3954
3960
|
let t;
|
3955
3961
|
for (t in e)
|
3956
3962
|
if (ho.call(e, t))
|
@@ -3982,21 +3988,21 @@ function Gr(e, t, n) {
|
|
3982
3988
|
);
|
3983
3989
|
}
|
3984
3990
|
function et(e) {
|
3985
|
-
return
|
3991
|
+
return Ru(e) ? e : new po(e);
|
3986
3992
|
}
|
3987
|
-
function
|
3993
|
+
function Ru(e) {
|
3988
3994
|
return !!(e && typeof e == "object" && "message" in e && "messages" in e);
|
3989
3995
|
}
|
3990
|
-
function
|
3996
|
+
function _u(e) {
|
3991
3997
|
return typeof e == "string" || co(e);
|
3992
3998
|
}
|
3993
|
-
const
|
3994
|
-
function
|
3995
|
-
const n = t ||
|
3999
|
+
const Uu = {};
|
4000
|
+
function Bu(e, t) {
|
4001
|
+
const n = t || Uu, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, i = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
|
3996
4002
|
return mo(e, r, i);
|
3997
4003
|
}
|
3998
4004
|
function mo(e, t, n) {
|
3999
|
-
if (
|
4005
|
+
if (Qu(e)) {
|
4000
4006
|
if ("value" in e)
|
4001
4007
|
return e.type === "html" && !n ? "" : e.value;
|
4002
4008
|
if (t && "alt" in e && e.alt)
|
@@ -4013,7 +4019,7 @@ function Xr(e, t, n) {
|
|
4013
4019
|
r[i] = mo(e[i], t, n);
|
4014
4020
|
return r.join("");
|
4015
4021
|
}
|
4016
|
-
function
|
4022
|
+
function Qu(e) {
|
4017
4023
|
return !!(e && typeof e == "object");
|
4018
4024
|
}
|
4019
4025
|
function ke(e, t, n, r) {
|
@@ -4029,14 +4035,14 @@ function Me(e, t) {
|
|
4029
4035
|
return e.length > 0 ? (ke(e, e.length, 0, t), e) : t;
|
4030
4036
|
}
|
4031
4037
|
const Kr = {}.hasOwnProperty;
|
4032
|
-
function
|
4038
|
+
function Yu(e) {
|
4033
4039
|
const t = {};
|
4034
4040
|
let n = -1;
|
4035
4041
|
for (; ++n < e.length; )
|
4036
|
-
|
4042
|
+
Hu(t, e[n]);
|
4037
4043
|
return t;
|
4038
4044
|
}
|
4039
|
-
function
|
4045
|
+
function Hu(e, t) {
|
4040
4046
|
let n;
|
4041
4047
|
for (n in t) {
|
4042
4048
|
const i = (Kr.call(e, n) ? e[n] : void 0) || (e[n] = {}), o = t[n];
|
@@ -4045,7 +4051,7 @@ function Yu(e, t) {
|
|
4045
4051
|
for (l in o) {
|
4046
4052
|
Kr.call(i, l) || (i[l] = []);
|
4047
4053
|
const a = o[l];
|
4048
|
-
|
4054
|
+
qu(
|
4049
4055
|
// @ts-expect-error Looks like a list.
|
4050
4056
|
i[l],
|
4051
4057
|
Array.isArray(a) ? a : a ? [a] : []
|
@@ -4053,14 +4059,14 @@ function Yu(e, t) {
|
|
4053
4059
|
}
|
4054
4060
|
}
|
4055
4061
|
}
|
4056
|
-
function
|
4062
|
+
function qu(e, t) {
|
4057
4063
|
let n = -1;
|
4058
4064
|
const r = [];
|
4059
4065
|
for (; ++n < t.length; )
|
4060
4066
|
(t[n].add === "after" ? e : r).push(t[n]);
|
4061
4067
|
ke(e, 0, 0, r);
|
4062
4068
|
}
|
4063
|
-
const
|
4069
|
+
const $u = /[!-\/:-@\[-`\{-~\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]/, Te = Oe(/[A-Za-z]/), me = Oe(/[\dA-Za-z]/), Vu = Oe(/[#-'*+\--9=?A-Z^-~]/);
|
4064
4070
|
function zn(e) {
|
4065
4071
|
return (
|
4066
4072
|
// Special whitespace codes (which have negative values), C0 and Control
|
@@ -4068,7 +4074,7 @@ function zn(e) {
|
|
4068
4074
|
e !== null && (e < 32 || e === 127)
|
4069
4075
|
);
|
4070
4076
|
}
|
4071
|
-
const Ln = Oe(/\d/),
|
4077
|
+
const Ln = Oe(/\d/), Wu = Oe(/[\dA-Fa-f]/), Zu = Oe(/[!-/:-@[-`{-~]/);
|
4072
4078
|
function R(e) {
|
4073
4079
|
return e !== null && e < -2;
|
4074
4080
|
}
|
@@ -4078,7 +4084,7 @@ function de(e) {
|
|
4078
4084
|
function Z(e) {
|
4079
4085
|
return e === -2 || e === -1 || e === 32;
|
4080
4086
|
}
|
4081
|
-
const
|
4087
|
+
const Gu = Oe($u), Xu = Oe(/\s/);
|
4082
4088
|
function Oe(e) {
|
4083
4089
|
return t;
|
4084
4090
|
function t(n) {
|
@@ -4096,10 +4102,10 @@ function ee(e, t, n, r) {
|
|
4096
4102
|
return Z(s) && o++ < i ? (e.consume(s), a) : (e.exit(n), t(s));
|
4097
4103
|
}
|
4098
4104
|
}
|
4099
|
-
const
|
4100
|
-
tokenize:
|
4105
|
+
const Ku = {
|
4106
|
+
tokenize: Ju
|
4101
4107
|
};
|
4102
|
-
function
|
4108
|
+
function Ju(e) {
|
4103
4109
|
const t = e.attempt(
|
4104
4110
|
this.parser.constructs.contentInitial,
|
4105
4111
|
r,
|
@@ -4132,12 +4138,12 @@ function Ku(e) {
|
|
4132
4138
|
return R(a) ? (e.consume(a), e.exit("chunkText"), o) : (e.consume(a), l);
|
4133
4139
|
}
|
4134
4140
|
}
|
4135
|
-
const
|
4136
|
-
tokenize: es
|
4137
|
-
}, Jr = {
|
4141
|
+
const es = {
|
4138
4142
|
tokenize: ts
|
4143
|
+
}, Jr = {
|
4144
|
+
tokenize: ns
|
4139
4145
|
};
|
4140
|
-
function
|
4146
|
+
function ts(e) {
|
4141
4147
|
const t = this, n = [];
|
4142
4148
|
let r = 0, i, o, l;
|
4143
4149
|
return a;
|
@@ -4180,7 +4186,7 @@ function es(e) {
|
|
4180
4186
|
if (!i)
|
4181
4187
|
return m(j);
|
4182
4188
|
if (i.currentConstruct && i.currentConstruct.concrete)
|
4183
|
-
return
|
4189
|
+
return I(j);
|
4184
4190
|
t.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
4185
4191
|
}
|
4186
4192
|
return t.containerState = {}, e.check(
|
@@ -4193,19 +4199,19 @@ function es(e) {
|
|
4193
4199
|
return i && v(), w(r), m(j);
|
4194
4200
|
}
|
4195
4201
|
function p(j) {
|
4196
|
-
return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset,
|
4202
|
+
return t.parser.lazy[t.now().line] = r !== n.length, l = t.now().offset, I(j);
|
4197
4203
|
}
|
4198
4204
|
function m(j) {
|
4199
4205
|
return t.containerState = {}, e.attempt(
|
4200
4206
|
Jr,
|
4201
4207
|
f,
|
4202
|
-
|
4208
|
+
I
|
4203
4209
|
)(j);
|
4204
4210
|
}
|
4205
4211
|
function f(j) {
|
4206
4212
|
return r++, n.push([t.currentConstruct, t.containerState]), m(j);
|
4207
4213
|
}
|
4208
|
-
function
|
4214
|
+
function I(j) {
|
4209
4215
|
if (j === null) {
|
4210
4216
|
i && v(), w(0), e.consume(j);
|
4211
4217
|
return;
|
@@ -4267,7 +4273,7 @@ function es(e) {
|
|
4267
4273
|
i.write([null]), o = void 0, i = void 0, t.containerState._closeFlow = void 0;
|
4268
4274
|
}
|
4269
4275
|
}
|
4270
|
-
function
|
4276
|
+
function ns(e, t, n) {
|
4271
4277
|
return ee(
|
4272
4278
|
e,
|
4273
4279
|
e.attempt(this.parser.constructs.document, t, n),
|
@@ -4276,9 +4282,9 @@ function ts(e, t, n) {
|
|
4276
4282
|
);
|
4277
4283
|
}
|
4278
4284
|
function ei(e) {
|
4279
|
-
if (e === null || de(e) ||
|
4285
|
+
if (e === null || de(e) || Xu(e))
|
4280
4286
|
return 1;
|
4281
|
-
if (
|
4287
|
+
if (Gu(e))
|
4282
4288
|
return 2;
|
4283
4289
|
}
|
4284
4290
|
function Gn(e, t, n) {
|
@@ -4292,10 +4298,10 @@ function Gn(e, t, n) {
|
|
4292
4298
|
}
|
4293
4299
|
const Pn = {
|
4294
4300
|
name: "attention",
|
4295
|
-
tokenize:
|
4296
|
-
resolveAll:
|
4301
|
+
tokenize: is,
|
4302
|
+
resolveAll: rs
|
4297
4303
|
};
|
4298
|
-
function
|
4304
|
+
function rs(e, t) {
|
4299
4305
|
let n = -1, r, i, o, l, a, s, u, c;
|
4300
4306
|
for (; ++n < e.length; )
|
4301
4307
|
if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) {
|
@@ -4353,7 +4359,7 @@ function ns(e, t) {
|
|
4353
4359
|
e[n][1].type === "attentionSequence" && (e[n][1].type = "data");
|
4354
4360
|
return e;
|
4355
4361
|
}
|
4356
|
-
function
|
4362
|
+
function is(e, t) {
|
4357
4363
|
const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = ei(r);
|
4358
4364
|
let o;
|
4359
4365
|
return l;
|
@@ -4370,18 +4376,18 @@ function rs(e, t) {
|
|
4370
4376
|
function ti(e, t) {
|
4371
4377
|
e.column += t, e.offset += t, e._bufferIndex += t;
|
4372
4378
|
}
|
4373
|
-
const
|
4379
|
+
const os = {
|
4374
4380
|
name: "autolink",
|
4375
|
-
tokenize:
|
4381
|
+
tokenize: ls
|
4376
4382
|
};
|
4377
|
-
function
|
4383
|
+
function ls(e, t, n) {
|
4378
4384
|
let r = 0;
|
4379
4385
|
return i;
|
4380
4386
|
function i(f) {
|
4381
4387
|
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(f), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), o;
|
4382
4388
|
}
|
4383
4389
|
function o(f) {
|
4384
|
-
return
|
4390
|
+
return Te(f) ? (e.consume(f), l) : u(f);
|
4385
4391
|
}
|
4386
4392
|
function l(f) {
|
4387
4393
|
return f === 43 || f === 45 || f === 46 || me(f) ? (r = 1, a(f)) : u(f);
|
@@ -4393,7 +4399,7 @@ function os(e, t, n) {
|
|
4393
4399
|
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 || zn(f) ? n(f) : (e.consume(f), s);
|
4394
4400
|
}
|
4395
4401
|
function u(f) {
|
4396
|
-
return f === 64 ? (e.consume(f), c) :
|
4402
|
+
return f === 64 ? (e.consume(f), c) : Vu(f) ? (e.consume(f), u) : n(f);
|
4397
4403
|
}
|
4398
4404
|
function c(f) {
|
4399
4405
|
return me(f) ? p(f) : n(f);
|
@@ -4403,17 +4409,17 @@ function os(e, t, n) {
|
|
4403
4409
|
}
|
4404
4410
|
function m(f) {
|
4405
4411
|
if ((f === 45 || me(f)) && r++ < 63) {
|
4406
|
-
const
|
4407
|
-
return e.consume(f),
|
4412
|
+
const I = f === 45 ? m : p;
|
4413
|
+
return e.consume(f), I;
|
4408
4414
|
}
|
4409
4415
|
return n(f);
|
4410
4416
|
}
|
4411
4417
|
}
|
4412
4418
|
const Yt = {
|
4413
|
-
tokenize:
|
4419
|
+
tokenize: as,
|
4414
4420
|
partial: !0
|
4415
4421
|
};
|
4416
|
-
function
|
4422
|
+
function as(e, t, n) {
|
4417
4423
|
return r;
|
4418
4424
|
function r(o) {
|
4419
4425
|
return Z(o) ? ee(e, i, "linePrefix")(o) : i(o);
|
@@ -4424,13 +4430,13 @@ function ls(e, t, n) {
|
|
4424
4430
|
}
|
4425
4431
|
const yo = {
|
4426
4432
|
name: "blockQuote",
|
4427
|
-
tokenize:
|
4433
|
+
tokenize: us,
|
4428
4434
|
continuation: {
|
4429
|
-
tokenize:
|
4435
|
+
tokenize: ss
|
4430
4436
|
},
|
4431
|
-
exit:
|
4437
|
+
exit: cs
|
4432
4438
|
};
|
4433
|
-
function
|
4439
|
+
function us(e, t, n) {
|
4434
4440
|
const r = this;
|
4435
4441
|
return i;
|
4436
4442
|
function i(l) {
|
@@ -4446,7 +4452,7 @@ function as(e, t, n) {
|
|
4446
4452
|
return Z(l) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(l), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(l));
|
4447
4453
|
}
|
4448
4454
|
}
|
4449
|
-
function
|
4455
|
+
function ss(e, t, n) {
|
4450
4456
|
const r = this;
|
4451
4457
|
return i;
|
4452
4458
|
function i(l) {
|
@@ -4461,20 +4467,20 @@ function us(e, t, n) {
|
|
4461
4467
|
return e.attempt(yo, t, n)(l);
|
4462
4468
|
}
|
4463
4469
|
}
|
4464
|
-
function
|
4470
|
+
function cs(e) {
|
4465
4471
|
e.exit("blockQuote");
|
4466
4472
|
}
|
4467
4473
|
const Mo = {
|
4468
4474
|
name: "characterEscape",
|
4469
|
-
tokenize:
|
4475
|
+
tokenize: ps
|
4470
4476
|
};
|
4471
|
-
function
|
4477
|
+
function ps(e, t, n) {
|
4472
4478
|
return r;
|
4473
4479
|
function r(o) {
|
4474
4480
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(o), e.exit("escapeMarker"), i;
|
4475
4481
|
}
|
4476
4482
|
function i(o) {
|
4477
|
-
return
|
4483
|
+
return Zu(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(o);
|
4478
4484
|
}
|
4479
4485
|
}
|
4480
4486
|
const ni = document.createElement("i");
|
@@ -4486,9 +4492,9 @@ function Xn(e) {
|
|
4486
4492
|
}
|
4487
4493
|
const xo = {
|
4488
4494
|
name: "characterReference",
|
4489
|
-
tokenize:
|
4495
|
+
tokenize: fs
|
4490
4496
|
};
|
4491
|
-
function
|
4497
|
+
function fs(e, t, n) {
|
4492
4498
|
const r = this;
|
4493
4499
|
let i = 0, o, l;
|
4494
4500
|
return a;
|
@@ -4499,7 +4505,7 @@ function ps(e, t, n) {
|
|
4499
4505
|
return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, l = me, c(p));
|
4500
4506
|
}
|
4501
4507
|
function u(p) {
|
4502
|
-
return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l =
|
4508
|
+
return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = Wu, c) : (e.enter("characterReferenceValue"), o = 7, l = Ln, c(p));
|
4503
4509
|
}
|
4504
4510
|
function c(p) {
|
4505
4511
|
if (p === 59 && i) {
|
@@ -4510,14 +4516,14 @@ function ps(e, t, n) {
|
|
4510
4516
|
}
|
4511
4517
|
}
|
4512
4518
|
const ri = {
|
4513
|
-
tokenize:
|
4519
|
+
tokenize: hs,
|
4514
4520
|
partial: !0
|
4515
4521
|
}, ii = {
|
4516
4522
|
name: "codeFenced",
|
4517
|
-
tokenize:
|
4523
|
+
tokenize: ds,
|
4518
4524
|
concrete: !0
|
4519
4525
|
};
|
4520
|
-
function
|
4526
|
+
function ds(e, t, n) {
|
4521
4527
|
const r = this, i = {
|
4522
4528
|
tokenize: _,
|
4523
4529
|
partial: !0
|
@@ -4545,10 +4551,10 @@ function fs(e, t, n) {
|
|
4545
4551
|
function f(y) {
|
4546
4552
|
return y === null || R(y) ? p(y) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
4547
4553
|
contentType: "string"
|
4548
|
-
}),
|
4554
|
+
}), I(y));
|
4549
4555
|
}
|
4550
|
-
function
|
4551
|
-
return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y),
|
4556
|
+
function I(y) {
|
4557
|
+
return y === null || R(y) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(y)) : y === 96 && y === a ? n(y) : (e.consume(y), I);
|
4552
4558
|
}
|
4553
4559
|
function b(y) {
|
4554
4560
|
return e.attempt(i, B, S)(y);
|
@@ -4598,7 +4604,7 @@ function fs(e, t, n) {
|
|
4598
4604
|
}
|
4599
4605
|
}
|
4600
4606
|
}
|
4601
|
-
function
|
4607
|
+
function hs(e, t, n) {
|
4602
4608
|
const r = this;
|
4603
4609
|
return i;
|
4604
4610
|
function i(l) {
|
@@ -4610,12 +4616,12 @@ function ds(e, t, n) {
|
|
4610
4616
|
}
|
4611
4617
|
const yn = {
|
4612
4618
|
name: "codeIndented",
|
4613
|
-
tokenize:
|
4614
|
-
},
|
4615
|
-
tokenize:
|
4619
|
+
tokenize: ms
|
4620
|
+
}, gs = {
|
4621
|
+
tokenize: ys,
|
4616
4622
|
partial: !0
|
4617
4623
|
};
|
4618
|
-
function
|
4624
|
+
function ms(e, t, n) {
|
4619
4625
|
const r = this;
|
4620
4626
|
return i;
|
4621
4627
|
function i(u) {
|
@@ -4626,7 +4632,7 @@ function gs(e, t, n) {
|
|
4626
4632
|
return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? l(u) : n(u);
|
4627
4633
|
}
|
4628
4634
|
function l(u) {
|
4629
|
-
return u === null ? s(u) : R(u) ? e.attempt(
|
4635
|
+
return u === null ? s(u) : R(u) ? e.attempt(gs, l, s)(u) : (e.enter("codeFlowValue"), a(u));
|
4630
4636
|
}
|
4631
4637
|
function a(u) {
|
4632
4638
|
return u === null || R(u) ? (e.exit("codeFlowValue"), l(u)) : (e.consume(u), a);
|
@@ -4635,7 +4641,7 @@ function gs(e, t, n) {
|
|
4635
4641
|
return e.exit("codeIndented"), t(u);
|
4636
4642
|
}
|
4637
4643
|
}
|
4638
|
-
function
|
4644
|
+
function ys(e, t, n) {
|
4639
4645
|
const r = this;
|
4640
4646
|
return i;
|
4641
4647
|
function i(l) {
|
@@ -4646,13 +4652,13 @@ function ms(e, t, n) {
|
|
4646
4652
|
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(l) : R(l) ? i(l) : n(l);
|
4647
4653
|
}
|
4648
4654
|
}
|
4649
|
-
const
|
4655
|
+
const Ms = {
|
4650
4656
|
name: "codeText",
|
4651
|
-
tokenize:
|
4652
|
-
resolve:
|
4653
|
-
previous:
|
4657
|
+
tokenize: ws,
|
4658
|
+
resolve: xs,
|
4659
|
+
previous: bs
|
4654
4660
|
};
|
4655
|
-
function
|
4661
|
+
function xs(e) {
|
4656
4662
|
let t = e.length - 4, n = 3, r, i;
|
4657
4663
|
if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
|
4658
4664
|
for (r = n; ++r < t; )
|
@@ -4665,10 +4671,10 @@ function Ms(e) {
|
|
4665
4671
|
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);
|
4666
4672
|
return e;
|
4667
4673
|
}
|
4668
|
-
function
|
4674
|
+
function bs(e) {
|
4669
4675
|
return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
|
4670
4676
|
}
|
4671
|
-
function
|
4677
|
+
function ws(e, t, n) {
|
4672
4678
|
let r = 0, i, o;
|
4673
4679
|
return l;
|
4674
4680
|
function l(p) {
|
@@ -4697,7 +4703,7 @@ function bo(e) {
|
|
4697
4703
|
for (; ++o < s.length && s[o][1].type !== "content"; )
|
4698
4704
|
s[o][1].type === "chunkText" && (s[o][1]._isInFirstContentOfListItem = !0, o++);
|
4699
4705
|
if (r[0] === "enter")
|
4700
|
-
r[1].contentType && (Object.assign(t,
|
4706
|
+
r[1].contentType && (Object.assign(t, Ds(e, n)), n = t[n], u = !0);
|
4701
4707
|
else if (r[1]._container) {
|
4702
4708
|
for (o = n, i = void 0; o-- && (l = e[o], l[1].type === "lineEnding" || l[1].type === "lineEndingBlank"); )
|
4703
4709
|
l[0] === "enter" && (i && (e[i][1].type = "lineEndingBlank"), l[1].type = "lineEnding", i = o);
|
@@ -4706,11 +4712,11 @@ function bo(e) {
|
|
4706
4712
|
}
|
4707
4713
|
return !u;
|
4708
4714
|
}
|
4709
|
-
function
|
4715
|
+
function Ds(e, t) {
|
4710
4716
|
const n = e[t][1], r = e[t][2];
|
4711
4717
|
let i = t - 1;
|
4712
4718
|
const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), a = l.events, s = [], u = {};
|
4713
|
-
let c, p, m = -1, f = n,
|
4719
|
+
let c, p, m = -1, f = n, I = 0, b = 0;
|
4714
4720
|
const S = [b];
|
4715
4721
|
for (; f; ) {
|
4716
4722
|
for (; e[++i][1] !== f; )
|
@@ -4725,20 +4731,20 @@ function ws(e, t) {
|
|
4725
4731
|
s.unshift([v, v + w.length - 1]), ke(e, v, 2, w);
|
4726
4732
|
}
|
4727
4733
|
for (m = -1; ++m < s.length; )
|
4728
|
-
u[
|
4734
|
+
u[I + s[m][0]] = I + s[m][1], I += s[m][1] - s[m][0] - 1;
|
4729
4735
|
return u;
|
4730
4736
|
}
|
4731
|
-
const
|
4732
|
-
tokenize: Is,
|
4733
|
-
resolve: Ts
|
4734
|
-
}, Ns = {
|
4737
|
+
const Ns = {
|
4735
4738
|
tokenize: ks,
|
4739
|
+
resolve: Ts
|
4740
|
+
}, Is = {
|
4741
|
+
tokenize: vs,
|
4736
4742
|
partial: !0
|
4737
4743
|
};
|
4738
4744
|
function Ts(e) {
|
4739
4745
|
return bo(e), e;
|
4740
4746
|
}
|
4741
|
-
function
|
4747
|
+
function ks(e, t) {
|
4742
4748
|
let n;
|
4743
4749
|
return r;
|
4744
4750
|
function r(a) {
|
@@ -4748,7 +4754,7 @@ function Is(e, t) {
|
|
4748
4754
|
}
|
4749
4755
|
function i(a) {
|
4750
4756
|
return a === null ? o(a) : R(a) ? e.check(
|
4751
|
-
|
4757
|
+
Is,
|
4752
4758
|
l,
|
4753
4759
|
o
|
4754
4760
|
)(a) : (e.consume(a), i);
|
@@ -4763,7 +4769,7 @@ function Is(e, t) {
|
|
4763
4769
|
}), n = n.next, i;
|
4764
4770
|
}
|
4765
4771
|
}
|
4766
|
-
function
|
4772
|
+
function vs(e, t, n) {
|
4767
4773
|
const r = this;
|
4768
4774
|
return i;
|
4769
4775
|
function i(l) {
|
@@ -4791,9 +4797,9 @@ function wo(e, t, n, r, i, o, l, a, s) {
|
|
4791
4797
|
}), f(w));
|
4792
4798
|
}
|
4793
4799
|
function f(w) {
|
4794
|
-
return w === 62 ? (e.exit("chunkString"), e.exit(a), m(w)) : w === null || w === 60 || R(w) ? n(w) : (e.consume(w), w === 92 ?
|
4800
|
+
return w === 62 ? (e.exit("chunkString"), e.exit(a), m(w)) : w === null || w === 60 || R(w) ? n(w) : (e.consume(w), w === 92 ? I : f);
|
4795
4801
|
}
|
4796
|
-
function
|
4802
|
+
function I(w) {
|
4797
4803
|
return w === 60 || w === 62 || w === 92 ? (e.consume(w), f) : f(w);
|
4798
4804
|
}
|
4799
4805
|
function b(w) {
|
@@ -4862,14 +4868,14 @@ function lt(e, t) {
|
|
4862
4868
|
function Qe(e) {
|
4863
4869
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
4864
4870
|
}
|
4865
|
-
const
|
4871
|
+
const js = {
|
4866
4872
|
name: "definition",
|
4867
|
-
tokenize:
|
4868
|
-
},
|
4869
|
-
tokenize:
|
4873
|
+
tokenize: Ss
|
4874
|
+
}, Es = {
|
4875
|
+
tokenize: Cs,
|
4870
4876
|
partial: !0
|
4871
4877
|
};
|
4872
|
-
function
|
4878
|
+
function Ss(e, t, n) {
|
4873
4879
|
const r = this;
|
4874
4880
|
let i;
|
4875
4881
|
return o;
|
@@ -4910,7 +4916,7 @@ function Es(e, t, n) {
|
|
4910
4916
|
)(f);
|
4911
4917
|
}
|
4912
4918
|
function c(f) {
|
4913
|
-
return e.attempt(
|
4919
|
+
return e.attempt(Es, p, p)(f);
|
4914
4920
|
}
|
4915
4921
|
function p(f) {
|
4916
4922
|
return Z(f) ? ee(e, m, "whitespace")(f) : m(f);
|
@@ -4919,7 +4925,7 @@ function Es(e, t, n) {
|
|
4919
4925
|
return f === null || R(f) ? (e.exit("definition"), r.parser.defined.push(i), t(f)) : n(f);
|
4920
4926
|
}
|
4921
4927
|
}
|
4922
|
-
function
|
4928
|
+
function Cs(e, t, n) {
|
4923
4929
|
return r;
|
4924
4930
|
function r(a) {
|
4925
4931
|
return de(a) ? lt(e, i)(a) : n(a);
|
@@ -4941,11 +4947,11 @@ function Ss(e, t, n) {
|
|
4941
4947
|
return a === null || R(a) ? t(a) : n(a);
|
4942
4948
|
}
|
4943
4949
|
}
|
4944
|
-
const
|
4950
|
+
const As = {
|
4945
4951
|
name: "hardBreakEscape",
|
4946
|
-
tokenize:
|
4952
|
+
tokenize: Os
|
4947
4953
|
};
|
4948
|
-
function
|
4954
|
+
function Os(e, t, n) {
|
4949
4955
|
return r;
|
4950
4956
|
function r(o) {
|
4951
4957
|
return e.enter("hardBreakEscape"), e.consume(o), i;
|
@@ -4954,12 +4960,12 @@ function As(e, t, n) {
|
|
4954
4960
|
return R(o) ? (e.exit("hardBreakEscape"), t(o)) : n(o);
|
4955
4961
|
}
|
4956
4962
|
}
|
4957
|
-
const
|
4963
|
+
const zs = {
|
4958
4964
|
name: "headingAtx",
|
4959
|
-
tokenize:
|
4960
|
-
resolve:
|
4965
|
+
tokenize: Ps,
|
4966
|
+
resolve: Ls
|
4961
4967
|
};
|
4962
|
-
function
|
4968
|
+
function Ls(e, t) {
|
4963
4969
|
let n = e.length - 2, r = 3, i, o;
|
4964
4970
|
return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (i = {
|
4965
4971
|
type: "atxHeadingText",
|
@@ -4977,7 +4983,7 @@ function zs(e, t) {
|
|
4977
4983
|
["exit", i, t]
|
4978
4984
|
])), e;
|
4979
4985
|
}
|
4980
|
-
function
|
4986
|
+
function Ps(e, t, n) {
|
4981
4987
|
let r = 0;
|
4982
4988
|
return i;
|
4983
4989
|
function i(c) {
|
@@ -4999,7 +5005,7 @@ function Ls(e, t, n) {
|
|
4999
5005
|
return c === null || c === 35 || de(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), u);
|
5000
5006
|
}
|
5001
5007
|
}
|
5002
|
-
const
|
5008
|
+
const Fs = [
|
5003
5009
|
"address",
|
5004
5010
|
"article",
|
5005
5011
|
"aside",
|
@@ -5062,25 +5068,25 @@ const Ps = [
|
|
5062
5068
|
"tr",
|
5063
5069
|
"track",
|
5064
5070
|
"ul"
|
5065
|
-
], oi = ["pre", "script", "style", "textarea"],
|
5071
|
+
], oi = ["pre", "script", "style", "textarea"], Rs = {
|
5066
5072
|
name: "htmlFlow",
|
5067
|
-
tokenize:
|
5068
|
-
resolveTo:
|
5073
|
+
tokenize: Qs,
|
5074
|
+
resolveTo: Bs,
|
5069
5075
|
concrete: !0
|
5070
|
-
}, Rs = {
|
5071
|
-
tokenize: Ys,
|
5072
|
-
partial: !0
|
5073
5076
|
}, _s = {
|
5074
|
-
tokenize:
|
5077
|
+
tokenize: Hs,
|
5078
|
+
partial: !0
|
5079
|
+
}, Us = {
|
5080
|
+
tokenize: Ys,
|
5075
5081
|
partial: !0
|
5076
5082
|
};
|
5077
|
-
function
|
5083
|
+
function Bs(e) {
|
5078
5084
|
let t = e.length;
|
5079
5085
|
for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); )
|
5080
5086
|
;
|
5081
5087
|
return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e;
|
5082
5088
|
}
|
5083
|
-
function
|
5089
|
+
function Qs(e, t, n) {
|
5084
5090
|
const r = this;
|
5085
5091
|
let i, o, l, a, s;
|
5086
5092
|
return u;
|
@@ -5091,25 +5097,25 @@ function Bs(e, t, n) {
|
|
5091
5097
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(h), p;
|
5092
5098
|
}
|
5093
5099
|
function p(h) {
|
5094
|
-
return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, b) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : d) :
|
5100
|
+
return h === 33 ? (e.consume(h), m) : h === 47 ? (e.consume(h), o = !0, b) : h === 63 ? (e.consume(h), i = 3, r.interrupt ? t : d) : Te(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
|
5095
5101
|
}
|
5096
5102
|
function m(h) {
|
5097
|
-
return h === 45 ? (e.consume(h), i = 2, f) : h === 91 ? (e.consume(h), i = 5, a = 0,
|
5103
|
+
return h === 45 ? (e.consume(h), i = 2, f) : h === 91 ? (e.consume(h), i = 5, a = 0, I) : Te(h) ? (e.consume(h), i = 4, r.interrupt ? t : d) : n(h);
|
5098
5104
|
}
|
5099
5105
|
function f(h) {
|
5100
5106
|
return h === 45 ? (e.consume(h), r.interrupt ? t : d) : n(h);
|
5101
5107
|
}
|
5102
|
-
function
|
5108
|
+
function I(h) {
|
5103
5109
|
const re = "CDATA[";
|
5104
|
-
return h === re.charCodeAt(a++) ? (e.consume(h), a === re.length ? r.interrupt ? t : M :
|
5110
|
+
return h === re.charCodeAt(a++) ? (e.consume(h), a === re.length ? r.interrupt ? t : M : I) : n(h);
|
5105
5111
|
}
|
5106
5112
|
function b(h) {
|
5107
|
-
return
|
5113
|
+
return Te(h) ? (e.consume(h), l = String.fromCharCode(h), S) : n(h);
|
5108
5114
|
}
|
5109
5115
|
function S(h) {
|
5110
5116
|
if (h === null || h === 47 || h === 62 || de(h)) {
|
5111
5117
|
const re = h === 47, te = l.toLowerCase();
|
5112
|
-
return !re && !o && oi.includes(te) ? (i = 1, r.interrupt ? t(h) : M(h)) :
|
5118
|
+
return !re && !o && oi.includes(te) ? (i = 1, r.interrupt ? t(h) : M(h)) : Fs.includes(l.toLowerCase()) ? (i = 6, re ? (e.consume(h), w) : r.interrupt ? t(h) : M(h)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(h) : o ? v(h) : j(h));
|
5113
5119
|
}
|
5114
5120
|
return h === 45 || me(h) ? (e.consume(h), l += String.fromCharCode(h), S) : n(h);
|
5115
5121
|
}
|
@@ -5120,7 +5126,7 @@ function Bs(e, t, n) {
|
|
5120
5126
|
return Z(h) ? (e.consume(h), v) : q(h);
|
5121
5127
|
}
|
5122
5128
|
function j(h) {
|
5123
|
-
return h === 47 ? (e.consume(h), q) : h === 58 || h === 95 ||
|
5129
|
+
return h === 47 ? (e.consume(h), q) : h === 58 || h === 95 || Te(h) ? (e.consume(h), B) : Z(h) ? (e.consume(h), j) : q(h);
|
5124
5130
|
}
|
5125
5131
|
function B(h) {
|
5126
5132
|
return h === 45 || h === 46 || h === 58 || h === 95 || me(h) ? (e.consume(h), B) : _(h);
|
@@ -5148,14 +5154,14 @@ function Bs(e, t, n) {
|
|
5148
5154
|
}
|
5149
5155
|
function M(h) {
|
5150
5156
|
return h === 45 && i === 2 ? (e.consume(h), F) : h === 60 && i === 1 ? (e.consume(h), Y) : h === 62 && i === 4 ? (e.consume(h), ne) : h === 63 && i === 3 ? (e.consume(h), d) : h === 93 && i === 5 ? (e.consume(h), X) : R(h) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
5151
|
-
|
5157
|
+
_s,
|
5152
5158
|
le,
|
5153
5159
|
N
|
5154
5160
|
)(h)) : h === null || R(h) ? (e.exit("htmlFlowData"), N(h)) : (e.consume(h), M);
|
5155
5161
|
}
|
5156
5162
|
function N(h) {
|
5157
5163
|
return e.check(
|
5158
|
-
|
5164
|
+
Us,
|
5159
5165
|
C,
|
5160
5166
|
le
|
5161
5167
|
)(h);
|
@@ -5177,7 +5183,7 @@ function Bs(e, t, n) {
|
|
5177
5183
|
const re = l.toLowerCase();
|
5178
5184
|
return oi.includes(re) ? (e.consume(h), ne) : M(h);
|
5179
5185
|
}
|
5180
|
-
return
|
5186
|
+
return Te(h) && l.length < 8 ? (e.consume(h), l += String.fromCharCode(h), V) : M(h);
|
5181
5187
|
}
|
5182
5188
|
function X(h) {
|
5183
5189
|
return h === 93 ? (e.consume(h), d) : M(h);
|
@@ -5192,7 +5198,7 @@ function Bs(e, t, n) {
|
|
5192
5198
|
return e.exit("htmlFlow"), t(h);
|
5193
5199
|
}
|
5194
5200
|
}
|
5195
|
-
function
|
5201
|
+
function Ys(e, t, n) {
|
5196
5202
|
const r = this;
|
5197
5203
|
return i;
|
5198
5204
|
function i(l) {
|
@@ -5202,17 +5208,17 @@ function Qs(e, t, n) {
|
|
5202
5208
|
return r.parser.lazy[r.now().line] ? n(l) : t(l);
|
5203
5209
|
}
|
5204
5210
|
}
|
5205
|
-
function
|
5211
|
+
function Hs(e, t, n) {
|
5206
5212
|
return r;
|
5207
5213
|
function r(i) {
|
5208
5214
|
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(Yt, t, n);
|
5209
5215
|
}
|
5210
5216
|
}
|
5211
|
-
const
|
5217
|
+
const qs = {
|
5212
5218
|
name: "htmlText",
|
5213
|
-
tokenize:
|
5219
|
+
tokenize: $s
|
5214
5220
|
};
|
5215
|
-
function
|
5221
|
+
function $s(e, t, n) {
|
5216
5222
|
const r = this;
|
5217
5223
|
let i, o, l;
|
5218
5224
|
return a;
|
@@ -5220,10 +5226,10 @@ function qs(e, t, n) {
|
|
5220
5226
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(d), s;
|
5221
5227
|
}
|
5222
5228
|
function s(d) {
|
5223
|
-
return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), _) : d === 63 ? (e.consume(d), j) :
|
5229
|
+
return d === 33 ? (e.consume(d), u) : d === 47 ? (e.consume(d), _) : d === 63 ? (e.consume(d), j) : Te(d) ? (e.consume(d), U) : n(d);
|
5224
5230
|
}
|
5225
5231
|
function u(d) {
|
5226
|
-
return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0,
|
5232
|
+
return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), o = 0, I) : Te(d) ? (e.consume(d), v) : n(d);
|
5227
5233
|
}
|
5228
5234
|
function c(d) {
|
5229
5235
|
return d === 45 ? (e.consume(d), f) : n(d);
|
@@ -5237,9 +5243,9 @@ function qs(e, t, n) {
|
|
5237
5243
|
function f(d) {
|
5238
5244
|
return d === 62 ? F(d) : d === 45 ? m(d) : p(d);
|
5239
5245
|
}
|
5240
|
-
function
|
5246
|
+
function I(d) {
|
5241
5247
|
const ne = "CDATA[";
|
5242
|
-
return d === ne.charCodeAt(o++) ? (e.consume(d), o === ne.length ? b :
|
5248
|
+
return d === ne.charCodeAt(o++) ? (e.consume(d), o === ne.length ? b : I) : n(d);
|
5243
5249
|
}
|
5244
5250
|
function b(d) {
|
5245
5251
|
return d === null ? n(d) : d === 93 ? (e.consume(d), S) : R(d) ? (l = b, Y(d)) : (e.consume(d), b);
|
@@ -5260,7 +5266,7 @@ function qs(e, t, n) {
|
|
5260
5266
|
return d === 62 ? F(d) : j(d);
|
5261
5267
|
}
|
5262
5268
|
function _(d) {
|
5263
|
-
return
|
5269
|
+
return Te(d) ? (e.consume(d), y) : n(d);
|
5264
5270
|
}
|
5265
5271
|
function y(d) {
|
5266
5272
|
return d === 45 || me(d) ? (e.consume(d), y) : A(d);
|
@@ -5272,7 +5278,7 @@ function qs(e, t, n) {
|
|
5272
5278
|
return d === 45 || me(d) ? (e.consume(d), U) : d === 47 || d === 62 || de(d) ? Q(d) : n(d);
|
5273
5279
|
}
|
5274
5280
|
function Q(d) {
|
5275
|
-
return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 ||
|
5281
|
+
return d === 47 ? (e.consume(d), F) : d === 58 || d === 95 || Te(d) ? (e.consume(d), q) : R(d) ? (l = Q, Y(d)) : Z(d) ? (e.consume(d), Q) : F(d);
|
5276
5282
|
}
|
5277
5283
|
function q(d) {
|
5278
5284
|
return d === 45 || d === 46 || d === 58 || d === 95 || me(d) ? (e.consume(d), q) : E(d);
|
@@ -5312,17 +5318,17 @@ function qs(e, t, n) {
|
|
5312
5318
|
}
|
5313
5319
|
const Kn = {
|
5314
5320
|
name: "labelEnd",
|
5315
|
-
tokenize:
|
5316
|
-
resolveTo:
|
5317
|
-
resolveAll:
|
5318
|
-
}, $s = {
|
5319
|
-
tokenize: Ks
|
5321
|
+
tokenize: Ks,
|
5322
|
+
resolveTo: Xs,
|
5323
|
+
resolveAll: Gs
|
5320
5324
|
}, Vs = {
|
5321
5325
|
tokenize: Js
|
5322
5326
|
}, Ws = {
|
5323
5327
|
tokenize: ec
|
5328
|
+
}, Zs = {
|
5329
|
+
tokenize: tc
|
5324
5330
|
};
|
5325
|
-
function
|
5331
|
+
function Gs(e) {
|
5326
5332
|
let t = -1;
|
5327
5333
|
for (; ++t < e.length; ) {
|
5328
5334
|
const n = e[t][1];
|
@@ -5330,7 +5336,7 @@ function Zs(e) {
|
|
5330
5336
|
}
|
5331
5337
|
return e;
|
5332
5338
|
}
|
5333
|
-
function
|
5339
|
+
function Xs(e, t) {
|
5334
5340
|
let n = e.length, r = 0, i, o, l, a;
|
5335
5341
|
for (; n--; )
|
5336
5342
|
if (i = e[n][1], o) {
|
@@ -5374,7 +5380,7 @@ function Gs(e, t) {
|
|
5374
5380
|
["exit", u, t]
|
5375
5381
|
]), a = Me(a, e.slice(l + 1)), a = Me(a, [["exit", s, t]]), ke(e, o, e.length, a), e;
|
5376
5382
|
}
|
5377
|
-
function
|
5383
|
+
function Ks(e, t, n) {
|
5378
5384
|
const r = this;
|
5379
5385
|
let i = r.events.length, o, l;
|
5380
5386
|
for (; i--; )
|
@@ -5395,18 +5401,18 @@ function Xs(e, t, n) {
|
|
5395
5401
|
}
|
5396
5402
|
function s(m) {
|
5397
5403
|
return m === 40 ? e.attempt(
|
5398
|
-
|
5404
|
+
Vs,
|
5399
5405
|
c,
|
5400
5406
|
l ? c : p
|
5401
5407
|
)(m) : m === 91 ? e.attempt(
|
5402
|
-
|
5408
|
+
Ws,
|
5403
5409
|
c,
|
5404
5410
|
l ? u : p
|
5405
5411
|
)(m) : l ? c(m) : p(m);
|
5406
5412
|
}
|
5407
5413
|
function u(m) {
|
5408
5414
|
return e.attempt(
|
5409
|
-
|
5415
|
+
Zs,
|
5410
5416
|
c,
|
5411
5417
|
p
|
5412
5418
|
)(m);
|
@@ -5418,7 +5424,7 @@ function Xs(e, t, n) {
|
|
5418
5424
|
return o._balanced = !0, n(m);
|
5419
5425
|
}
|
5420
5426
|
}
|
5421
|
-
function
|
5427
|
+
function Js(e, t, n) {
|
5422
5428
|
return r;
|
5423
5429
|
function r(p) {
|
5424
5430
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), i;
|
@@ -5462,7 +5468,7 @@ function Ks(e, t, n) {
|
|
5462
5468
|
return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), t) : n(p);
|
5463
5469
|
}
|
5464
5470
|
}
|
5465
|
-
function
|
5471
|
+
function ec(e, t, n) {
|
5466
5472
|
const r = this;
|
5467
5473
|
return i;
|
5468
5474
|
function i(a) {
|
@@ -5487,7 +5493,7 @@ function Js(e, t, n) {
|
|
5487
5493
|
return n(a);
|
5488
5494
|
}
|
5489
5495
|
}
|
5490
|
-
function
|
5496
|
+
function tc(e, t, n) {
|
5491
5497
|
return r;
|
5492
5498
|
function r(o) {
|
5493
5499
|
return e.enter("reference"), e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), i;
|
@@ -5496,12 +5502,12 @@ function ec(e, t, n) {
|
|
5496
5502
|
return o === 93 ? (e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), e.exit("reference"), t) : n(o);
|
5497
5503
|
}
|
5498
5504
|
}
|
5499
|
-
const
|
5505
|
+
const nc = {
|
5500
5506
|
name: "labelStartImage",
|
5501
|
-
tokenize:
|
5507
|
+
tokenize: rc,
|
5502
5508
|
resolveAll: Kn.resolveAll
|
5503
5509
|
};
|
5504
|
-
function
|
5510
|
+
function rc(e, t, n) {
|
5505
5511
|
const r = this;
|
5506
5512
|
return i;
|
5507
5513
|
function i(a) {
|
@@ -5514,12 +5520,12 @@ function nc(e, t, n) {
|
|
5514
5520
|
return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(a) : t(a);
|
5515
5521
|
}
|
5516
5522
|
}
|
5517
|
-
const
|
5523
|
+
const ic = {
|
5518
5524
|
name: "labelStartLink",
|
5519
|
-
tokenize:
|
5525
|
+
tokenize: oc,
|
5520
5526
|
resolveAll: Kn.resolveAll
|
5521
5527
|
};
|
5522
|
-
function
|
5528
|
+
function oc(e, t, n) {
|
5523
5529
|
const r = this;
|
5524
5530
|
return i;
|
5525
5531
|
function i(l) {
|
@@ -5531,9 +5537,9 @@ function ic(e, t, n) {
|
|
5531
5537
|
}
|
5532
5538
|
const Mn = {
|
5533
5539
|
name: "lineEnding",
|
5534
|
-
tokenize:
|
5540
|
+
tokenize: lc
|
5535
5541
|
};
|
5536
|
-
function
|
5542
|
+
function lc(e, t) {
|
5537
5543
|
return n;
|
5538
5544
|
function n(r) {
|
5539
5545
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), ee(e, t, "linePrefix");
|
@@ -5541,9 +5547,9 @@ function oc(e, t) {
|
|
5541
5547
|
}
|
5542
5548
|
const Ct = {
|
5543
5549
|
name: "thematicBreak",
|
5544
|
-
tokenize:
|
5550
|
+
tokenize: ac
|
5545
5551
|
};
|
5546
|
-
function
|
5552
|
+
function ac(e, t, n) {
|
5547
5553
|
let r = 0, i;
|
5548
5554
|
return o;
|
5549
5555
|
function o(u) {
|
@@ -5561,28 +5567,28 @@ function lc(e, t, n) {
|
|
5561
5567
|
}
|
5562
5568
|
const fe = {
|
5563
5569
|
name: "list",
|
5564
|
-
tokenize:
|
5570
|
+
tokenize: cc,
|
5565
5571
|
continuation: {
|
5566
|
-
tokenize:
|
5572
|
+
tokenize: pc
|
5567
5573
|
},
|
5568
|
-
exit:
|
5569
|
-
}, ac = {
|
5570
|
-
tokenize: dc,
|
5571
|
-
partial: !0
|
5574
|
+
exit: dc
|
5572
5575
|
}, uc = {
|
5573
|
-
tokenize:
|
5576
|
+
tokenize: hc,
|
5577
|
+
partial: !0
|
5578
|
+
}, sc = {
|
5579
|
+
tokenize: fc,
|
5574
5580
|
partial: !0
|
5575
5581
|
};
|
5576
|
-
function
|
5582
|
+
function cc(e, t, n) {
|
5577
5583
|
const r = this, i = r.events[r.events.length - 1];
|
5578
5584
|
let o = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, l = 0;
|
5579
5585
|
return a;
|
5580
5586
|
function a(f) {
|
5581
|
-
const
|
5582
|
-
if (
|
5583
|
-
if (r.containerState.type || (r.containerState.type =
|
5587
|
+
const I = r.containerState.type || (f === 42 || f === 43 || f === 45 ? "listUnordered" : "listOrdered");
|
5588
|
+
if (I === "listUnordered" ? !r.containerState.marker || f === r.containerState.marker : Ln(f)) {
|
5589
|
+
if (r.containerState.type || (r.containerState.type = I, e.enter(I, {
|
5584
5590
|
_container: !0
|
5585
|
-
})),
|
5591
|
+
})), I === "listUnordered")
|
5586
5592
|
return e.enter("listItemPrefix"), f === 42 || f === 45 ? e.check(Ct, n, u)(f) : u(f);
|
5587
5593
|
if (!r.interrupt || f === 49)
|
5588
5594
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), s(f);
|
@@ -5598,7 +5604,7 @@ function sc(e, t, n) {
|
|
5598
5604
|
// Can’t be empty when interrupting.
|
5599
5605
|
r.interrupt ? n : c,
|
5600
5606
|
e.attempt(
|
5601
|
-
|
5607
|
+
uc,
|
5602
5608
|
m,
|
5603
5609
|
p
|
5604
5610
|
)
|
@@ -5614,7 +5620,7 @@ function sc(e, t, n) {
|
|
5614
5620
|
return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(f);
|
5615
5621
|
}
|
5616
5622
|
}
|
5617
|
-
function
|
5623
|
+
function pc(e, t, n) {
|
5618
5624
|
const r = this;
|
5619
5625
|
return r.containerState._closeFlow = void 0, e.check(Yt, i, o);
|
5620
5626
|
function i(a) {
|
@@ -5626,7 +5632,7 @@ function cc(e, t, n) {
|
|
5626
5632
|
)(a);
|
5627
5633
|
}
|
5628
5634
|
function o(a) {
|
5629
|
-
return r.containerState.furtherBlankLines || !Z(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, l(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(
|
5635
|
+
return r.containerState.furtherBlankLines || !Z(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, l(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(sc, t, l)(a));
|
5630
5636
|
}
|
5631
5637
|
function l(a) {
|
5632
5638
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, ee(
|
@@ -5637,7 +5643,7 @@ function cc(e, t, n) {
|
|
5637
5643
|
)(a);
|
5638
5644
|
}
|
5639
5645
|
}
|
5640
|
-
function
|
5646
|
+
function fc(e, t, n) {
|
5641
5647
|
const r = this;
|
5642
5648
|
return ee(
|
5643
5649
|
e,
|
@@ -5650,10 +5656,10 @@ function pc(e, t, n) {
|
|
5650
5656
|
return l && l[1].type === "listItemIndent" && l[2].sliceSerialize(l[1], !0).length === r.containerState.size ? t(o) : n(o);
|
5651
5657
|
}
|
5652
5658
|
}
|
5653
|
-
function
|
5659
|
+
function dc(e) {
|
5654
5660
|
e.exit(this.containerState.type);
|
5655
5661
|
}
|
5656
|
-
function
|
5662
|
+
function hc(e, t, n) {
|
5657
5663
|
const r = this;
|
5658
5664
|
return ee(
|
5659
5665
|
e,
|
@@ -5668,10 +5674,10 @@ function dc(e, t, n) {
|
|
5668
5674
|
}
|
5669
5675
|
const li = {
|
5670
5676
|
name: "setextUnderline",
|
5671
|
-
tokenize:
|
5672
|
-
resolveTo:
|
5677
|
+
tokenize: mc,
|
5678
|
+
resolveTo: gc
|
5673
5679
|
};
|
5674
|
-
function
|
5680
|
+
function gc(e, t) {
|
5675
5681
|
let n = e.length, r, i, o;
|
5676
5682
|
for (; n--; )
|
5677
5683
|
if (e[n][0] === "enter") {
|
@@ -5689,7 +5695,7 @@ function hc(e, t) {
|
|
5689
5695
|
};
|
5690
5696
|
return e[i][1].type = "setextHeadingText", o ? (e.splice(i, 0, ["enter", l, t]), e.splice(o + 1, 0, ["exit", e[r][1], t]), e[r][1].end = Object.assign({}, e[o][1].end)) : e[r][1] = l, e.push(["exit", l, t]), e;
|
5691
5697
|
}
|
5692
|
-
function
|
5698
|
+
function mc(e, t, n) {
|
5693
5699
|
const r = this;
|
5694
5700
|
let i;
|
5695
5701
|
return o;
|
@@ -5712,10 +5718,10 @@ function gc(e, t, n) {
|
|
5712
5718
|
return u === null || R(u) ? (e.exit("setextHeadingLine"), t(u)) : n(u);
|
5713
5719
|
}
|
5714
5720
|
}
|
5715
|
-
const
|
5716
|
-
tokenize:
|
5721
|
+
const yc = {
|
5722
|
+
tokenize: Mc
|
5717
5723
|
};
|
5718
|
-
function
|
5724
|
+
function Mc(e) {
|
5719
5725
|
const t = this, n = e.attempt(
|
5720
5726
|
// Try to parse a blank line.
|
5721
5727
|
Yt,
|
@@ -5729,7 +5735,7 @@ function yc(e) {
|
|
5729
5735
|
e.attempt(
|
5730
5736
|
this.parser.constructs.flow,
|
5731
5737
|
i,
|
5732
|
-
e.attempt(
|
5738
|
+
e.attempt(Ns, i)
|
5733
5739
|
),
|
5734
5740
|
"linePrefix"
|
5735
5741
|
)
|
@@ -5751,14 +5757,14 @@ function yc(e) {
|
|
5751
5757
|
return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), t.currentConstruct = void 0, n;
|
5752
5758
|
}
|
5753
5759
|
}
|
5754
|
-
const
|
5755
|
-
resolveAll:
|
5756
|
-
},
|
5757
|
-
function
|
5760
|
+
const xc = {
|
5761
|
+
resolveAll: To()
|
5762
|
+
}, bc = Io("string"), wc = Io("text");
|
5763
|
+
function Io(e) {
|
5758
5764
|
return {
|
5759
5765
|
tokenize: t,
|
5760
|
-
resolveAll:
|
5761
|
-
e === "text" ?
|
5766
|
+
resolveAll: To(
|
5767
|
+
e === "text" ? Dc : void 0
|
5762
5768
|
)
|
5763
5769
|
};
|
5764
5770
|
function t(n) {
|
@@ -5792,7 +5798,7 @@ function To(e) {
|
|
5792
5798
|
}
|
5793
5799
|
}
|
5794
5800
|
}
|
5795
|
-
function
|
5801
|
+
function To(e) {
|
5796
5802
|
return t;
|
5797
5803
|
function t(n, r) {
|
5798
5804
|
let i = -1, o;
|
@@ -5801,7 +5807,7 @@ function Io(e) {
|
|
5801
5807
|
return e ? e(n, r) : n;
|
5802
5808
|
}
|
5803
5809
|
}
|
5804
|
-
function
|
5810
|
+
function Dc(e, t) {
|
5805
5811
|
let n = 0;
|
5806
5812
|
for (; ++n <= e.length; )
|
5807
5813
|
if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") {
|
@@ -5845,7 +5851,7 @@ function wc(e, t) {
|
|
5845
5851
|
}
|
5846
5852
|
return e;
|
5847
5853
|
}
|
5848
|
-
function
|
5854
|
+
function Nc(e, t, n) {
|
5849
5855
|
let r = Object.assign(
|
5850
5856
|
n ? Object.assign({}, n) : {
|
5851
5857
|
line: 1,
|
@@ -5876,7 +5882,7 @@ function Dc(e, t, n) {
|
|
5876
5882
|
parser: e,
|
5877
5883
|
sliceStream: f,
|
5878
5884
|
sliceSerialize: m,
|
5879
|
-
now:
|
5885
|
+
now: I,
|
5880
5886
|
defineSkip: b,
|
5881
5887
|
write: p
|
5882
5888
|
};
|
@@ -5889,9 +5895,9 @@ function Dc(e, t, n) {
|
|
5889
5895
|
return Tc(f(E), M);
|
5890
5896
|
}
|
5891
5897
|
function f(E) {
|
5892
|
-
return
|
5898
|
+
return Ic(l, E);
|
5893
5899
|
}
|
5894
|
-
function
|
5900
|
+
function I() {
|
5895
5901
|
const { line: E, column: M, offset: N, _index: C, _bufferIndex: z } = r;
|
5896
5902
|
return {
|
5897
5903
|
line: E,
|
@@ -5923,11 +5929,11 @@ function Dc(e, t, n) {
|
|
5923
5929
|
}
|
5924
5930
|
function j(E, M) {
|
5925
5931
|
const N = M || {};
|
5926
|
-
return N.type = E, N.start =
|
5932
|
+
return N.type = E, N.start = I(), u.events.push(["enter", N, u]), a.push(N), N;
|
5927
5933
|
}
|
5928
5934
|
function B(E) {
|
5929
5935
|
const M = a.pop();
|
5930
|
-
return M.end =
|
5936
|
+
return M.end = I(), u.events.push(["exit", M, u]), M;
|
5931
5937
|
}
|
5932
5938
|
function _(E, M) {
|
5933
5939
|
U(E, M.from);
|
@@ -5989,7 +5995,7 @@ function Dc(e, t, n) {
|
|
5989
5995
|
), E.resolveTo && (u.events = E.resolveTo(u.events, u));
|
5990
5996
|
}
|
5991
5997
|
function Q() {
|
5992
|
-
const E =
|
5998
|
+
const E = I(), M = u.previous, N = u.currentConstruct, C = u.events.length, z = Array.from(a);
|
5993
5999
|
return {
|
5994
6000
|
restore: F,
|
5995
6001
|
from: C
|
@@ -6002,7 +6008,7 @@ function Dc(e, t, n) {
|
|
6002
6008
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
6003
6009
|
}
|
6004
6010
|
}
|
6005
|
-
function
|
6011
|
+
function Ic(e, t) {
|
6006
6012
|
const n = t.start._index, r = t.start._bufferIndex, i = t.end._index, o = t.end._bufferIndex;
|
6007
6013
|
let l;
|
6008
6014
|
if (n === i)
|
@@ -6058,7 +6064,7 @@ function Tc(e, t) {
|
|
6058
6064
|
}
|
6059
6065
|
return r.join("");
|
6060
6066
|
}
|
6061
|
-
const
|
6067
|
+
const kc = {
|
6062
6068
|
42: fe,
|
6063
6069
|
43: fe,
|
6064
6070
|
45: fe,
|
@@ -6073,79 +6079,79 @@ const Ic = {
|
|
6073
6079
|
56: fe,
|
6074
6080
|
57: fe,
|
6075
6081
|
62: yo
|
6076
|
-
}, kc = {
|
6077
|
-
91: vs
|
6078
6082
|
}, vc = {
|
6083
|
+
91: js
|
6084
|
+
}, jc = {
|
6079
6085
|
[-2]: yn,
|
6080
6086
|
[-1]: yn,
|
6081
6087
|
32: yn
|
6082
|
-
},
|
6083
|
-
35:
|
6088
|
+
}, Ec = {
|
6089
|
+
35: zs,
|
6084
6090
|
42: Ct,
|
6085
6091
|
45: [li, Ct],
|
6086
|
-
60:
|
6092
|
+
60: Rs,
|
6087
6093
|
61: li,
|
6088
6094
|
95: Ct,
|
6089
6095
|
96: ii,
|
6090
6096
|
126: ii
|
6091
|
-
},
|
6097
|
+
}, Sc = {
|
6092
6098
|
38: xo,
|
6093
6099
|
92: Mo
|
6094
|
-
},
|
6100
|
+
}, Cc = {
|
6095
6101
|
[-5]: Mn,
|
6096
6102
|
[-4]: Mn,
|
6097
6103
|
[-3]: Mn,
|
6098
|
-
33:
|
6104
|
+
33: nc,
|
6099
6105
|
38: xo,
|
6100
6106
|
42: Pn,
|
6101
|
-
60: [
|
6102
|
-
91:
|
6103
|
-
92: [
|
6107
|
+
60: [os, qs],
|
6108
|
+
91: ic,
|
6109
|
+
92: [As, Mo],
|
6104
6110
|
93: Kn,
|
6105
6111
|
95: Pn,
|
6106
|
-
96:
|
6107
|
-
}, Cc = {
|
6108
|
-
null: [Pn, Mc]
|
6112
|
+
96: Ms
|
6109
6113
|
}, Ac = {
|
6110
|
-
null: [
|
6114
|
+
null: [Pn, xc]
|
6111
6115
|
}, Oc = {
|
6116
|
+
null: [42, 95]
|
6117
|
+
}, zc = {
|
6112
6118
|
null: []
|
6113
|
-
},
|
6119
|
+
}, Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6114
6120
|
__proto__: null,
|
6115
|
-
attentionMarkers:
|
6116
|
-
contentInitial:
|
6117
|
-
disable:
|
6118
|
-
document:
|
6119
|
-
flow:
|
6120
|
-
flowInitial:
|
6121
|
-
insideSpan:
|
6122
|
-
string:
|
6123
|
-
text:
|
6121
|
+
attentionMarkers: Oc,
|
6122
|
+
contentInitial: vc,
|
6123
|
+
disable: zc,
|
6124
|
+
document: kc,
|
6125
|
+
flow: Ec,
|
6126
|
+
flowInitial: jc,
|
6127
|
+
insideSpan: Ac,
|
6128
|
+
string: Sc,
|
6129
|
+
text: Cc
|
6124
6130
|
}, Symbol.toStringTag, { value: "Module" }));
|
6125
|
-
function
|
6131
|
+
function Pc(e) {
|
6126
6132
|
const n = (
|
6127
6133
|
/** @type {FullNormalizedExtension} */
|
6128
|
-
|
6134
|
+
Yu([Lc, ...(e || {}).extensions || []])
|
6129
6135
|
), r = {
|
6130
6136
|
defined: [],
|
6131
6137
|
lazy: {},
|
6132
6138
|
constructs: n,
|
6133
|
-
content: i(
|
6134
|
-
document: i(
|
6135
|
-
flow: i(
|
6136
|
-
string: i(
|
6137
|
-
text: i(
|
6139
|
+
content: i(Ku),
|
6140
|
+
document: i(es),
|
6141
|
+
flow: i(yc),
|
6142
|
+
string: i(bc),
|
6143
|
+
text: i(wc)
|
6138
6144
|
};
|
6139
6145
|
return r;
|
6140
6146
|
function i(o) {
|
6141
6147
|
return l;
|
6142
6148
|
function l(a) {
|
6143
|
-
return
|
6149
|
+
return Nc(r, o, a);
|
6144
6150
|
}
|
6145
6151
|
}
|
6146
6152
|
}
|
6147
6153
|
const ai = /[\0\t\n\r]/g;
|
6148
|
-
function
|
6154
|
+
function Fc() {
|
6149
6155
|
let e = 1, t = "", n = !0, r;
|
6150
6156
|
return i;
|
6151
6157
|
function i(o, l, a) {
|
@@ -6181,7 +6187,7 @@ function Pc() {
|
|
6181
6187
|
return a && (r && s.push(-5), t && s.push(t), s.push(null)), s;
|
6182
6188
|
}
|
6183
6189
|
}
|
6184
|
-
function
|
6190
|
+
function Rc(e) {
|
6185
6191
|
for (; !bo(e); )
|
6186
6192
|
;
|
6187
6193
|
return e;
|
@@ -6197,11 +6203,11 @@ function ko(e, t) {
|
|
6197
6203
|
n > 1114111 ? "�" : String.fromCharCode(n)
|
6198
6204
|
);
|
6199
6205
|
}
|
6200
|
-
const
|
6201
|
-
function
|
6202
|
-
return e.replace(
|
6206
|
+
const _c = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
6207
|
+
function Uc(e) {
|
6208
|
+
return e.replace(_c, Bc);
|
6203
6209
|
}
|
6204
|
-
function
|
6210
|
+
function Bc(e, t, n) {
|
6205
6211
|
if (t)
|
6206
6212
|
return t;
|
6207
6213
|
if (n.charCodeAt(0) === 35) {
|
@@ -6210,7 +6216,7 @@ function Uc(e, t, n) {
|
|
6210
6216
|
}
|
6211
6217
|
return Xn(n) || e;
|
6212
6218
|
}
|
6213
|
-
const vo = {}.hasOwnProperty,
|
6219
|
+
const vo = {}.hasOwnProperty, Qc = (
|
6214
6220
|
/**
|
6215
6221
|
* @type {(
|
6216
6222
|
* ((value: Value, encoding: Encoding, options?: Options | null | undefined) => Root) &
|
@@ -6224,14 +6230,14 @@ const vo = {}.hasOwnProperty, Bc = (
|
|
6224
6230
|
* @returns {Root}
|
6225
6231
|
*/
|
6226
6232
|
function(e, t, n) {
|
6227
|
-
return typeof t != "string" && (n = t, t = void 0),
|
6228
|
-
|
6229
|
-
|
6233
|
+
return typeof t != "string" && (n = t, t = void 0), Yc(n)(
|
6234
|
+
Rc(
|
6235
|
+
Pc(n).document().write(Fc()(e, t, !0))
|
6230
6236
|
)
|
6231
6237
|
);
|
6232
6238
|
}
|
6233
6239
|
);
|
6234
|
-
function
|
6240
|
+
function Yc(e) {
|
6235
6241
|
const t = {
|
6236
6242
|
transforms: [],
|
6237
6243
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
@@ -6266,7 +6272,7 @@ function Qc(e) {
|
|
6266
6272
|
label: s,
|
6267
6273
|
link: a(Mt),
|
6268
6274
|
listItem: a(xt),
|
6269
|
-
listItemValue:
|
6275
|
+
listItemValue: I,
|
6270
6276
|
listOrdered: a(We, f),
|
6271
6277
|
listUnordered: a(We),
|
6272
6278
|
paragraph: a(ln),
|
@@ -6333,12 +6339,12 @@ function Qc(e) {
|
|
6333
6339
|
const n = {};
|
6334
6340
|
return r;
|
6335
6341
|
function r(x) {
|
6336
|
-
let
|
6342
|
+
let T = {
|
6337
6343
|
type: "root",
|
6338
6344
|
children: []
|
6339
6345
|
};
|
6340
6346
|
const O = {
|
6341
|
-
stack: [
|
6347
|
+
stack: [T],
|
6342
6348
|
tokenStack: [],
|
6343
6349
|
config: t,
|
6344
6350
|
enter: u,
|
@@ -6373,7 +6379,7 @@ function Qc(e) {
|
|
6373
6379
|
const ce = O.tokenStack[O.tokenStack.length - 1];
|
6374
6380
|
(ce[1] || ui).call(O, void 0, ce[0]);
|
6375
6381
|
}
|
6376
|
-
for (
|
6382
|
+
for (T.position = {
|
6377
6383
|
start: Se(
|
6378
6384
|
x.length > 0 ? x[0][1].start : {
|
6379
6385
|
line: 1,
|
@@ -6389,11 +6395,11 @@ function Qc(e) {
|
|
6389
6395
|
}
|
6390
6396
|
)
|
6391
6397
|
}, K = -1; ++K < t.transforms.length; )
|
6392
|
-
|
6393
|
-
return
|
6398
|
+
T = t.transforms[K](T) || T;
|
6399
|
+
return T;
|
6394
6400
|
}
|
6395
|
-
function i(x,
|
6396
|
-
let $ =
|
6401
|
+
function i(x, T, O) {
|
6402
|
+
let $ = T - 1, K = -1, ce = !1, Ne, ae, Ze, Ge;
|
6397
6403
|
for (; ++$ <= O; ) {
|
6398
6404
|
const ie = x[$];
|
6399
6405
|
if (ie[1].type === "listUnordered" || ie[1].type === "listOrdered" || ie[1].type === "blockQuote" ? (ie[0] === "enter" ? K++ : K--, Ge = void 0) : ie[1].type === "lineEndingBlank" ? ie[0] === "enter" && (Ne && !Ge && !K && !Ze && (Ze = $), Ge = void 0) : ie[1].type === "linePrefix" || ie[1].type === "listItemValue" || ie[1].type === "listItemMarker" || ie[1].type === "listItemPrefix" || ie[1].type === "listItemPrefixWhitespace" || (Ge = void 0), !K && ie[0] === "enter" && ie[1].type === "listItemPrefix" || K === -1 && ie[0] === "exit" && (ie[1].type === "listUnordered" || ie[1].type === "listOrdered")) {
|
@@ -6422,18 +6428,18 @@ function Qc(e) {
|
|
6422
6428
|
}, x.splice($, 0, ["enter", Ne, ie[2]]), $++, O++, Ze = void 0, Ge = !0);
|
6423
6429
|
}
|
6424
6430
|
}
|
6425
|
-
return x[
|
6431
|
+
return x[T][1]._spread = ce, O;
|
6426
6432
|
}
|
6427
|
-
function o(x,
|
6428
|
-
n[x] =
|
6433
|
+
function o(x, T) {
|
6434
|
+
n[x] = T;
|
6429
6435
|
}
|
6430
6436
|
function l(x) {
|
6431
6437
|
return n[x];
|
6432
6438
|
}
|
6433
|
-
function a(x,
|
6439
|
+
function a(x, T) {
|
6434
6440
|
return O;
|
6435
6441
|
function O($) {
|
6436
|
-
u.call(this, x($), $),
|
6442
|
+
u.call(this, x($), $), T && T.call(this, $);
|
6437
6443
|
}
|
6438
6444
|
}
|
6439
6445
|
function s() {
|
@@ -6442,21 +6448,21 @@ function Qc(e) {
|
|
6442
6448
|
children: []
|
6443
6449
|
});
|
6444
6450
|
}
|
6445
|
-
function u(x,
|
6446
|
-
return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([
|
6447
|
-
start: Se(
|
6451
|
+
function u(x, T, O) {
|
6452
|
+
return this.stack[this.stack.length - 1].children.push(x), this.stack.push(x), this.tokenStack.push([T, O]), x.position = {
|
6453
|
+
start: Se(T.start)
|
6448
6454
|
}, x;
|
6449
6455
|
}
|
6450
6456
|
function c(x) {
|
6451
|
-
return
|
6452
|
-
function
|
6457
|
+
return T;
|
6458
|
+
function T(O) {
|
6453
6459
|
x && x.call(this, O), p.call(this, O);
|
6454
6460
|
}
|
6455
6461
|
}
|
6456
|
-
function p(x,
|
6462
|
+
function p(x, T) {
|
6457
6463
|
const O = this.stack.pop(), $ = this.tokenStack.pop();
|
6458
6464
|
if ($)
|
6459
|
-
$[0].type !== x.type && (
|
6465
|
+
$[0].type !== x.type && (T ? T.call(this, x, $[0]) : ($[1] || ui).call(this, x, $[0]));
|
6460
6466
|
else
|
6461
6467
|
throw new Error(
|
6462
6468
|
"Cannot close `" + x.type + "` (" + ot({
|
@@ -6467,107 +6473,107 @@ function Qc(e) {
|
|
6467
6473
|
return O.position.end = Se(x.end), O;
|
6468
6474
|
}
|
6469
6475
|
function m() {
|
6470
|
-
return
|
6476
|
+
return Bu(this.stack.pop());
|
6471
6477
|
}
|
6472
6478
|
function f() {
|
6473
6479
|
o("expectingFirstListItemValue", !0);
|
6474
6480
|
}
|
6475
|
-
function
|
6481
|
+
function I(x) {
|
6476
6482
|
if (l("expectingFirstListItemValue")) {
|
6477
|
-
const
|
6478
|
-
|
6483
|
+
const T = this.stack[this.stack.length - 2];
|
6484
|
+
T.start = Number.parseInt(this.sliceSerialize(x), 10), o("expectingFirstListItemValue");
|
6479
6485
|
}
|
6480
6486
|
}
|
6481
6487
|
function b() {
|
6482
|
-
const x = this.resume(),
|
6483
|
-
|
6488
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6489
|
+
T.lang = x;
|
6484
6490
|
}
|
6485
6491
|
function S() {
|
6486
|
-
const x = this.resume(),
|
6487
|
-
|
6492
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6493
|
+
T.meta = x;
|
6488
6494
|
}
|
6489
6495
|
function w() {
|
6490
6496
|
l("flowCodeInside") || (this.buffer(), o("flowCodeInside", !0));
|
6491
6497
|
}
|
6492
6498
|
function v() {
|
6493
|
-
const x = this.resume(),
|
6494
|
-
|
6499
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6500
|
+
T.value = x.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), o("flowCodeInside");
|
6495
6501
|
}
|
6496
6502
|
function j() {
|
6497
|
-
const x = this.resume(),
|
6498
|
-
|
6503
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6504
|
+
T.value = x.replace(/(\r?\n|\r)$/g, "");
|
6499
6505
|
}
|
6500
6506
|
function B(x) {
|
6501
|
-
const
|
6502
|
-
O.label =
|
6507
|
+
const T = this.resume(), O = this.stack[this.stack.length - 1];
|
6508
|
+
O.label = T, O.identifier = Qe(
|
6503
6509
|
this.sliceSerialize(x)
|
6504
6510
|
).toLowerCase();
|
6505
6511
|
}
|
6506
6512
|
function _() {
|
6507
|
-
const x = this.resume(),
|
6508
|
-
|
6513
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6514
|
+
T.title = x;
|
6509
6515
|
}
|
6510
6516
|
function y() {
|
6511
|
-
const x = this.resume(),
|
6512
|
-
|
6517
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6518
|
+
T.url = x;
|
6513
6519
|
}
|
6514
6520
|
function A(x) {
|
6515
|
-
const
|
6516
|
-
if (!
|
6521
|
+
const T = this.stack[this.stack.length - 1];
|
6522
|
+
if (!T.depth) {
|
6517
6523
|
const O = this.sliceSerialize(x).length;
|
6518
|
-
|
6524
|
+
T.depth = O;
|
6519
6525
|
}
|
6520
6526
|
}
|
6521
6527
|
function U() {
|
6522
6528
|
o("setextHeadingSlurpLineEnding", !0);
|
6523
6529
|
}
|
6524
6530
|
function Q(x) {
|
6525
|
-
const
|
6526
|
-
|
6531
|
+
const T = this.stack[this.stack.length - 1];
|
6532
|
+
T.depth = this.sliceSerialize(x).charCodeAt(0) === 61 ? 1 : 2;
|
6527
6533
|
}
|
6528
6534
|
function q() {
|
6529
6535
|
o("setextHeadingSlurpLineEnding");
|
6530
6536
|
}
|
6531
6537
|
function E(x) {
|
6532
|
-
const
|
6533
|
-
let O =
|
6538
|
+
const T = this.stack[this.stack.length - 1];
|
6539
|
+
let O = T.children[T.children.length - 1];
|
6534
6540
|
(!O || O.type !== "text") && (O = bt(), O.position = {
|
6535
6541
|
start: Se(x.start)
|
6536
|
-
},
|
6542
|
+
}, T.children.push(O)), this.stack.push(O);
|
6537
6543
|
}
|
6538
6544
|
function M(x) {
|
6539
|
-
const
|
6540
|
-
|
6545
|
+
const T = this.stack.pop();
|
6546
|
+
T.value += this.sliceSerialize(x), T.position.end = Se(x.end);
|
6541
6547
|
}
|
6542
6548
|
function N(x) {
|
6543
|
-
const
|
6549
|
+
const T = this.stack[this.stack.length - 1];
|
6544
6550
|
if (l("atHardBreak")) {
|
6545
|
-
const O =
|
6551
|
+
const O = T.children[T.children.length - 1];
|
6546
6552
|
O.position.end = Se(x.end), o("atHardBreak");
|
6547
6553
|
return;
|
6548
6554
|
}
|
6549
|
-
!l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(
|
6555
|
+
!l("setextHeadingSlurpLineEnding") && t.canContainEols.includes(T.type) && (E.call(this, x), M.call(this, x));
|
6550
6556
|
}
|
6551
6557
|
function C() {
|
6552
6558
|
o("atHardBreak", !0);
|
6553
6559
|
}
|
6554
6560
|
function z() {
|
6555
|
-
const x = this.resume(),
|
6556
|
-
|
6561
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6562
|
+
T.value = x;
|
6557
6563
|
}
|
6558
6564
|
function F() {
|
6559
|
-
const x = this.resume(),
|
6560
|
-
|
6565
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6566
|
+
T.value = x;
|
6561
6567
|
}
|
6562
6568
|
function Y() {
|
6563
|
-
const x = this.resume(),
|
6564
|
-
|
6569
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6570
|
+
T.value = x;
|
6565
6571
|
}
|
6566
6572
|
function V() {
|
6567
6573
|
const x = this.stack[this.stack.length - 1];
|
6568
6574
|
if (l("inReference")) {
|
6569
|
-
const
|
6570
|
-
x.type += "Reference", x.referenceType =
|
6575
|
+
const T = l("referenceType") || "shortcut";
|
6576
|
+
x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
|
6571
6577
|
} else
|
6572
6578
|
delete x.identifier, delete x.label;
|
6573
6579
|
o("referenceType");
|
@@ -6575,31 +6581,31 @@ function Qc(e) {
|
|
6575
6581
|
function X() {
|
6576
6582
|
const x = this.stack[this.stack.length - 1];
|
6577
6583
|
if (l("inReference")) {
|
6578
|
-
const
|
6579
|
-
x.type += "Reference", x.referenceType =
|
6584
|
+
const T = l("referenceType") || "shortcut";
|
6585
|
+
x.type += "Reference", x.referenceType = T, delete x.url, delete x.title;
|
6580
6586
|
} else
|
6581
6587
|
delete x.identifier, delete x.label;
|
6582
6588
|
o("referenceType");
|
6583
6589
|
}
|
6584
6590
|
function d(x) {
|
6585
|
-
const
|
6586
|
-
O.label =
|
6591
|
+
const T = this.sliceSerialize(x), O = this.stack[this.stack.length - 2];
|
6592
|
+
O.label = Uc(T), O.identifier = Qe(T).toLowerCase();
|
6587
6593
|
}
|
6588
6594
|
function ne() {
|
6589
|
-
const x = this.stack[this.stack.length - 1],
|
6595
|
+
const x = this.stack[this.stack.length - 1], T = this.resume(), O = this.stack[this.stack.length - 1];
|
6590
6596
|
if (o("inReference", !0), O.type === "link") {
|
6591
6597
|
const $ = x.children;
|
6592
6598
|
O.children = $;
|
6593
6599
|
} else
|
6594
|
-
O.alt =
|
6600
|
+
O.alt = T;
|
6595
6601
|
}
|
6596
6602
|
function le() {
|
6597
|
-
const x = this.resume(),
|
6598
|
-
|
6603
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6604
|
+
T.url = x;
|
6599
6605
|
}
|
6600
6606
|
function h() {
|
6601
|
-
const x = this.resume(),
|
6602
|
-
|
6607
|
+
const x = this.resume(), T = this.stack[this.stack.length - 1];
|
6608
|
+
T.title = x;
|
6603
6609
|
}
|
6604
6610
|
function re() {
|
6605
6611
|
o("inReference");
|
@@ -6608,8 +6614,8 @@ function Qc(e) {
|
|
6608
6614
|
o("referenceType", "collapsed");
|
6609
6615
|
}
|
6610
6616
|
function W(x) {
|
6611
|
-
const
|
6612
|
-
O.label =
|
6617
|
+
const T = this.resume(), O = this.stack[this.stack.length - 1];
|
6618
|
+
O.label = T, O.identifier = Qe(
|
6613
6619
|
this.sliceSerialize(x)
|
6614
6620
|
).toLowerCase(), o("referenceType", "full");
|
6615
6621
|
}
|
@@ -6617,24 +6623,24 @@ function Qc(e) {
|
|
6617
6623
|
o("characterReferenceType", x.type);
|
6618
6624
|
}
|
6619
6625
|
function he(x) {
|
6620
|
-
const
|
6626
|
+
const T = this.sliceSerialize(x), O = l("characterReferenceType");
|
6621
6627
|
let $;
|
6622
6628
|
O ? ($ = ko(
|
6623
|
-
|
6629
|
+
T,
|
6624
6630
|
O === "characterReferenceMarkerNumeric" ? 10 : 16
|
6625
|
-
), o("characterReferenceType")) : $ = Xn(
|
6631
|
+
), o("characterReferenceType")) : $ = Xn(T);
|
6626
6632
|
const K = this.stack.pop();
|
6627
6633
|
K.value += $, K.position.end = Se(x.end);
|
6628
6634
|
}
|
6629
6635
|
function ve(x) {
|
6630
6636
|
M.call(this, x);
|
6631
|
-
const
|
6632
|
-
|
6637
|
+
const T = this.stack[this.stack.length - 1];
|
6638
|
+
T.url = this.sliceSerialize(x);
|
6633
6639
|
}
|
6634
6640
|
function Ee(x) {
|
6635
6641
|
M.call(this, x);
|
6636
|
-
const
|
6637
|
-
|
6642
|
+
const T = this.stack[this.stack.length - 1];
|
6643
|
+
T.url = "mailto:" + this.sliceSerialize(x);
|
6638
6644
|
}
|
6639
6645
|
function Ve() {
|
6640
6646
|
return {
|
@@ -6757,10 +6763,10 @@ function jo(e, t) {
|
|
6757
6763
|
let n = -1;
|
6758
6764
|
for (; ++n < t.length; ) {
|
6759
6765
|
const r = t[n];
|
6760
|
-
Array.isArray(r) ? jo(e, r) :
|
6766
|
+
Array.isArray(r) ? jo(e, r) : Hc(e, r);
|
6761
6767
|
}
|
6762
6768
|
}
|
6763
|
-
function
|
6769
|
+
function Hc(e, t) {
|
6764
6770
|
let n;
|
6765
6771
|
for (n in t)
|
6766
6772
|
if (vo.call(t, n)) {
|
@@ -6792,13 +6798,13 @@ function ui(e, t) {
|
|
6792
6798
|
}) + ") is still open"
|
6793
6799
|
);
|
6794
6800
|
}
|
6795
|
-
function
|
6801
|
+
function qc(e) {
|
6796
6802
|
Object.assign(this, { Parser: (n) => {
|
6797
6803
|
const r = (
|
6798
6804
|
/** @type {Options} */
|
6799
6805
|
this.data("settings")
|
6800
6806
|
);
|
6801
|
-
return
|
6807
|
+
return Qc(
|
6802
6808
|
n,
|
6803
6809
|
Object.assign({}, r, e, {
|
6804
6810
|
// Note: these options are not in the readme.
|
@@ -6810,7 +6816,7 @@ function Hc(e) {
|
|
6810
6816
|
);
|
6811
6817
|
} });
|
6812
6818
|
}
|
6813
|
-
function
|
6819
|
+
function $c(e, t) {
|
6814
6820
|
const n = {
|
6815
6821
|
type: "element",
|
6816
6822
|
tagName: "blockquote",
|
@@ -6819,12 +6825,12 @@ function qc(e, t) {
|
|
6819
6825
|
};
|
6820
6826
|
return e.patch(t, n), e.applyData(t, n);
|
6821
6827
|
}
|
6822
|
-
function
|
6828
|
+
function Vc(e, t) {
|
6823
6829
|
const n = { type: "element", tagName: "br", properties: {}, children: [] };
|
6824
6830
|
return e.patch(t, n), [e.applyData(t, n), { type: "text", value: `
|
6825
6831
|
` }];
|
6826
6832
|
}
|
6827
|
-
function
|
6833
|
+
function Wc(e, t) {
|
6828
6834
|
const n = t.value ? t.value + `
|
6829
6835
|
` : "", r = t.lang ? t.lang.match(/^[^ \t]+(?=[ \t]|$)/) : null, i = {};
|
6830
6836
|
r && (i.className = ["language-" + r]);
|
@@ -6836,7 +6842,7 @@ function Vc(e, t) {
|
|
6836
6842
|
};
|
6837
6843
|
return t.meta && (o.data = { meta: t.meta }), e.patch(t, o), o = e.applyData(t, o), o = { type: "element", tagName: "pre", properties: {}, children: [o] }, e.patch(t, o), o;
|
6838
6844
|
}
|
6839
|
-
function
|
6845
|
+
function Zc(e, t) {
|
6840
6846
|
const n = {
|
6841
6847
|
type: "element",
|
6842
6848
|
tagName: "del",
|
@@ -6845,7 +6851,7 @@ function Wc(e, t) {
|
|
6845
6851
|
};
|
6846
6852
|
return e.patch(t, n), e.applyData(t, n);
|
6847
6853
|
}
|
6848
|
-
function
|
6854
|
+
function Gc(e, t) {
|
6849
6855
|
const n = {
|
6850
6856
|
type: "element",
|
6851
6857
|
tagName: "em",
|
@@ -6897,7 +6903,7 @@ function Eo(e, t) {
|
|
6897
6903
|
};
|
6898
6904
|
return e.patch(t, s), e.applyData(t, s);
|
6899
6905
|
}
|
6900
|
-
function
|
6906
|
+
function Xc(e, t) {
|
6901
6907
|
const n = e.footnoteById;
|
6902
6908
|
let r = 1;
|
6903
6909
|
for (; r in n; )
|
@@ -6914,7 +6920,7 @@ function Gc(e, t) {
|
|
6914
6920
|
position: t.position
|
6915
6921
|
});
|
6916
6922
|
}
|
6917
|
-
function
|
6923
|
+
function Kc(e, t) {
|
6918
6924
|
const n = {
|
6919
6925
|
type: "element",
|
6920
6926
|
tagName: "h" + t.depth,
|
@@ -6923,7 +6929,7 @@ function Xc(e, t) {
|
|
6923
6929
|
};
|
6924
6930
|
return e.patch(t, n), e.applyData(t, n);
|
6925
6931
|
}
|
6926
|
-
function
|
6932
|
+
function Jc(e, t) {
|
6927
6933
|
if (e.dangerous) {
|
6928
6934
|
const n = { type: "raw", value: t.value };
|
6929
6935
|
return e.patch(t, n), e.applyData(t, n);
|
@@ -6940,7 +6946,7 @@ function So(e, t) {
|
|
6940
6946
|
const l = i[i.length - 1];
|
6941
6947
|
return l && l.type === "text" ? l.value += r : i.push({ type: "text", value: r }), i;
|
6942
6948
|
}
|
6943
|
-
function
|
6949
|
+
function ep(e, t) {
|
6944
6950
|
const n = e.definition(t.identifier);
|
6945
6951
|
if (!n)
|
6946
6952
|
return So(e, t);
|
@@ -6949,13 +6955,13 @@ function Jc(e, t) {
|
|
6949
6955
|
const i = { type: "element", tagName: "img", properties: r, children: [] };
|
6950
6956
|
return e.patch(t, i), e.applyData(t, i);
|
6951
6957
|
}
|
6952
|
-
function
|
6958
|
+
function tp(e, t) {
|
6953
6959
|
const n = { src: qe(t.url) };
|
6954
6960
|
t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
|
6955
6961
|
const r = { type: "element", tagName: "img", properties: n, children: [] };
|
6956
6962
|
return e.patch(t, r), e.applyData(t, r);
|
6957
6963
|
}
|
6958
|
-
function
|
6964
|
+
function np(e, t) {
|
6959
6965
|
const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") };
|
6960
6966
|
e.patch(t, n);
|
6961
6967
|
const r = {
|
@@ -6966,7 +6972,7 @@ function tp(e, t) {
|
|
6966
6972
|
};
|
6967
6973
|
return e.patch(t, r), e.applyData(t, r);
|
6968
6974
|
}
|
6969
|
-
function
|
6975
|
+
function rp(e, t) {
|
6970
6976
|
const n = e.definition(t.identifier);
|
6971
6977
|
if (!n)
|
6972
6978
|
return So(e, t);
|
@@ -6980,7 +6986,7 @@ function np(e, t) {
|
|
6980
6986
|
};
|
6981
6987
|
return e.patch(t, i), e.applyData(t, i);
|
6982
6988
|
}
|
6983
|
-
function
|
6989
|
+
function ip(e, t) {
|
6984
6990
|
const n = { href: qe(t.url) };
|
6985
6991
|
t.title !== null && t.title !== void 0 && (n.title = t.title);
|
6986
6992
|
const r = {
|
@@ -6991,8 +6997,8 @@ function rp(e, t) {
|
|
6991
6997
|
};
|
6992
6998
|
return e.patch(t, r), e.applyData(t, r);
|
6993
6999
|
}
|
6994
|
-
function
|
6995
|
-
const r = e.all(t), i = n ?
|
7000
|
+
function op(e, t, n) {
|
7001
|
+
const r = e.all(t), i = n ? lp(n) : Co(t), o = {}, l = [];
|
6996
7002
|
if (typeof t.checked == "boolean") {
|
6997
7003
|
const c = r[0];
|
6998
7004
|
let p;
|
@@ -7015,7 +7021,7 @@ function ip(e, t, n) {
|
|
7015
7021
|
const u = { type: "element", tagName: "li", properties: o, children: l };
|
7016
7022
|
return e.patch(t, u), e.applyData(t, u);
|
7017
7023
|
}
|
7018
|
-
function
|
7024
|
+
function lp(e) {
|
7019
7025
|
let t = !1;
|
7020
7026
|
if (e.type === "list") {
|
7021
7027
|
t = e.spread || !1;
|
@@ -7030,7 +7036,7 @@ function Co(e) {
|
|
7030
7036
|
const t = e.spread;
|
7031
7037
|
return t ?? e.children.length > 1;
|
7032
7038
|
}
|
7033
|
-
function
|
7039
|
+
function ap(e, t) {
|
7034
7040
|
const n = {}, r = e.all(t);
|
7035
7041
|
let i = -1;
|
7036
7042
|
for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++i < r.length; ) {
|
@@ -7048,7 +7054,7 @@ function lp(e, t) {
|
|
7048
7054
|
};
|
7049
7055
|
return e.patch(t, o), e.applyData(t, o);
|
7050
7056
|
}
|
7051
|
-
function
|
7057
|
+
function up(e, t) {
|
7052
7058
|
const n = {
|
7053
7059
|
type: "element",
|
7054
7060
|
tagName: "p",
|
@@ -7057,11 +7063,11 @@ function ap(e, t) {
|
|
7057
7063
|
};
|
7058
7064
|
return e.patch(t, n), e.applyData(t, n);
|
7059
7065
|
}
|
7060
|
-
function
|
7066
|
+
function sp(e, t) {
|
7061
7067
|
const n = { type: "root", children: e.wrap(e.all(t)) };
|
7062
7068
|
return e.patch(t, n), e.applyData(t, n);
|
7063
7069
|
}
|
7064
|
-
function
|
7070
|
+
function cp(e, t) {
|
7065
7071
|
const n = {
|
7066
7072
|
type: "element",
|
7067
7073
|
tagName: "strong",
|
@@ -7071,7 +7077,7 @@ function sp(e, t) {
|
|
7071
7077
|
return e.patch(t, n), e.applyData(t, n);
|
7072
7078
|
}
|
7073
7079
|
const Jn = Ao("start"), er = Ao("end");
|
7074
|
-
function
|
7080
|
+
function pp(e) {
|
7075
7081
|
return { start: Jn(e), end: er(e) };
|
7076
7082
|
}
|
7077
7083
|
function Ao(e) {
|
@@ -7088,7 +7094,7 @@ function Ao(e) {
|
|
7088
7094
|
};
|
7089
7095
|
}
|
7090
7096
|
}
|
7091
|
-
function
|
7097
|
+
function fp(e, t) {
|
7092
7098
|
const n = e.all(t), r = n.shift(), i = [];
|
7093
7099
|
if (r) {
|
7094
7100
|
const l = {
|
@@ -7116,15 +7122,15 @@ function pp(e, t) {
|
|
7116
7122
|
};
|
7117
7123
|
return e.patch(t, o), e.applyData(t, o);
|
7118
7124
|
}
|
7119
|
-
function
|
7125
|
+
function dp(e, t, n) {
|
7120
7126
|
const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", l = n && n.type === "table" ? n.align : void 0, a = l ? l.length : t.children.length;
|
7121
7127
|
let s = -1;
|
7122
7128
|
const u = [];
|
7123
7129
|
for (; ++s < a; ) {
|
7124
7130
|
const p = t.children[s], m = {}, f = l ? l[s] : void 0;
|
7125
7131
|
f && (m.align = f);
|
7126
|
-
let
|
7127
|
-
p && (
|
7132
|
+
let I = { type: "element", tagName: o, properties: m, children: [] };
|
7133
|
+
p && (I.children = e.all(p), e.patch(p, I), I = e.applyData(t, I)), u.push(I);
|
7128
7134
|
}
|
7129
7135
|
const c = {
|
7130
7136
|
type: "element",
|
@@ -7134,7 +7140,7 @@ function fp(e, t, n) {
|
|
7134
7140
|
};
|
7135
7141
|
return e.patch(t, c), e.applyData(t, c);
|
7136
7142
|
}
|
7137
|
-
function
|
7143
|
+
function hp(e, t) {
|
7138
7144
|
const n = {
|
7139
7145
|
type: "element",
|
7140
7146
|
tagName: "td",
|
@@ -7145,7 +7151,7 @@ function dp(e, t) {
|
|
7145
7151
|
return e.patch(t, n), e.applyData(t, n);
|
7146
7152
|
}
|
7147
7153
|
const si = 9, ci = 32;
|
7148
|
-
function
|
7154
|
+
function gp(e) {
|
7149
7155
|
const t = String(e), n = /\r?\n|\r/g;
|
7150
7156
|
let r = n.exec(t), i = 0;
|
7151
7157
|
const o = [];
|
@@ -7170,11 +7176,11 @@ function pi(e, t, n) {
|
|
7170
7176
|
}
|
7171
7177
|
return i > r ? e.slice(r, i) : "";
|
7172
7178
|
}
|
7173
|
-
function
|
7174
|
-
const n = { type: "text", value:
|
7179
|
+
function mp(e, t) {
|
7180
|
+
const n = { type: "text", value: gp(String(t.value)) };
|
7175
7181
|
return e.patch(t, n), e.applyData(t, n);
|
7176
7182
|
}
|
7177
|
-
function
|
7183
|
+
function yp(e, t) {
|
7178
7184
|
const n = {
|
7179
7185
|
type: "element",
|
7180
7186
|
tagName: "hr",
|
@@ -7183,37 +7189,37 @@ function mp(e, t) {
|
|
7183
7189
|
};
|
7184
7190
|
return e.patch(t, n), e.applyData(t, n);
|
7185
7191
|
}
|
7186
|
-
const
|
7187
|
-
blockquote:
|
7188
|
-
break:
|
7189
|
-
code:
|
7190
|
-
delete:
|
7191
|
-
emphasis:
|
7192
|
+
const Mp = {
|
7193
|
+
blockquote: $c,
|
7194
|
+
break: Vc,
|
7195
|
+
code: Wc,
|
7196
|
+
delete: Zc,
|
7197
|
+
emphasis: Gc,
|
7192
7198
|
footnoteReference: Eo,
|
7193
|
-
footnote:
|
7194
|
-
heading:
|
7195
|
-
html:
|
7196
|
-
imageReference:
|
7197
|
-
image:
|
7198
|
-
inlineCode:
|
7199
|
-
linkReference:
|
7200
|
-
link:
|
7201
|
-
listItem:
|
7202
|
-
list:
|
7203
|
-
paragraph:
|
7204
|
-
root:
|
7205
|
-
strong:
|
7206
|
-
table:
|
7207
|
-
tableCell:
|
7208
|
-
tableRow:
|
7209
|
-
text:
|
7210
|
-
thematicBreak:
|
7211
|
-
toml:
|
7212
|
-
yaml:
|
7213
|
-
definition:
|
7214
|
-
footnoteDefinition:
|
7199
|
+
footnote: Xc,
|
7200
|
+
heading: Kc,
|
7201
|
+
html: Jc,
|
7202
|
+
imageReference: ep,
|
7203
|
+
image: tp,
|
7204
|
+
inlineCode: np,
|
7205
|
+
linkReference: rp,
|
7206
|
+
link: ip,
|
7207
|
+
listItem: op,
|
7208
|
+
list: ap,
|
7209
|
+
paragraph: up,
|
7210
|
+
root: sp,
|
7211
|
+
strong: cp,
|
7212
|
+
table: fp,
|
7213
|
+
tableCell: hp,
|
7214
|
+
tableRow: dp,
|
7215
|
+
text: mp,
|
7216
|
+
thematicBreak: yp,
|
7217
|
+
toml: Tt,
|
7218
|
+
yaml: Tt,
|
7219
|
+
definition: Tt,
|
7220
|
+
footnoteDefinition: Tt
|
7215
7221
|
};
|
7216
|
-
function
|
7222
|
+
function Tt() {
|
7217
7223
|
return null;
|
7218
7224
|
}
|
7219
7225
|
const Oo = (
|
@@ -7229,17 +7235,17 @@ const Oo = (
|
|
7229
7235
|
*/
|
7230
7236
|
function(e) {
|
7231
7237
|
if (e == null)
|
7232
|
-
return
|
7238
|
+
return Dp;
|
7233
7239
|
if (typeof e == "string")
|
7234
|
-
return
|
7240
|
+
return wp(e);
|
7235
7241
|
if (typeof e == "object")
|
7236
|
-
return Array.isArray(e) ?
|
7242
|
+
return Array.isArray(e) ? xp(e) : bp(e);
|
7237
7243
|
if (typeof e == "function")
|
7238
7244
|
return Ht(e);
|
7239
7245
|
throw new Error("Expected function, string, or object as test");
|
7240
7246
|
}
|
7241
7247
|
);
|
7242
|
-
function
|
7248
|
+
function xp(e) {
|
7243
7249
|
const t = [];
|
7244
7250
|
let n = -1;
|
7245
7251
|
for (; ++n < e.length; )
|
@@ -7253,7 +7259,7 @@ function Mp(e) {
|
|
7253
7259
|
return !1;
|
7254
7260
|
}
|
7255
7261
|
}
|
7256
|
-
function
|
7262
|
+
function bp(e) {
|
7257
7263
|
return Ht(t);
|
7258
7264
|
function t(n) {
|
7259
7265
|
let r;
|
@@ -7263,7 +7269,7 @@ function xp(e) {
|
|
7263
7269
|
return !0;
|
7264
7270
|
}
|
7265
7271
|
}
|
7266
|
-
function
|
7272
|
+
function wp(e) {
|
7267
7273
|
return Ht(t);
|
7268
7274
|
function t(n) {
|
7269
7275
|
return n && n.type === e;
|
@@ -7275,10 +7281,10 @@ function Ht(e) {
|
|
7275
7281
|
return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...r));
|
7276
7282
|
}
|
7277
7283
|
}
|
7278
|
-
function
|
7284
|
+
function Dp() {
|
7279
7285
|
return !0;
|
7280
7286
|
}
|
7281
|
-
const
|
7287
|
+
const Np = !0, fi = !1, Ip = "skip", Tp = (
|
7282
7288
|
/**
|
7283
7289
|
* @type {(
|
7284
7290
|
* (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &
|
@@ -7312,22 +7318,22 @@ const Dp = !0, fi = !1, Np = "skip", Tp = (
|
|
7312
7318
|
}
|
7313
7319
|
return p;
|
7314
7320
|
function p() {
|
7315
|
-
let m = [], f,
|
7316
|
-
if ((!t || i(a, s, u[u.length - 1] || null)) && (m =
|
7321
|
+
let m = [], f, I, b;
|
7322
|
+
if ((!t || i(a, s, u[u.length - 1] || null)) && (m = kp(n(a, u)), m[0] === fi))
|
7317
7323
|
return m;
|
7318
|
-
if (a.children && m[0] !==
|
7319
|
-
for (
|
7320
|
-
if (f = l(a.children[
|
7324
|
+
if (a.children && m[0] !== Ip)
|
7325
|
+
for (I = (r ? a.children.length : -1) + o, b = u.concat(a); I > -1 && I < a.children.length; ) {
|
7326
|
+
if (f = l(a.children[I], I, b)(), f[0] === fi)
|
7321
7327
|
return f;
|
7322
|
-
|
7328
|
+
I = typeof f[1] == "number" ? f[1] : I + o;
|
7323
7329
|
}
|
7324
7330
|
return m;
|
7325
7331
|
}
|
7326
7332
|
}
|
7327
7333
|
}
|
7328
7334
|
);
|
7329
|
-
function
|
7330
|
-
return Array.isArray(e) ? e : typeof e == "number" ? [
|
7335
|
+
function kp(e) {
|
7336
|
+
return Array.isArray(e) ? e : typeof e == "number" ? [Np, e] : [e];
|
7331
7337
|
}
|
7332
7338
|
const tr = (
|
7333
7339
|
/**
|
@@ -7355,11 +7361,11 @@ const tr = (
|
|
7355
7361
|
}
|
7356
7362
|
}
|
7357
7363
|
);
|
7358
|
-
function
|
7364
|
+
function vp(e) {
|
7359
7365
|
return !e || !e.position || !e.position.start || !e.position.start.line || !e.position.start.column || !e.position.end || !e.position.end.line || !e.position.end.column;
|
7360
7366
|
}
|
7361
7367
|
const di = {}.hasOwnProperty;
|
7362
|
-
function
|
7368
|
+
function jp(e) {
|
7363
7369
|
const t = /* @__PURE__ */ Object.create(null);
|
7364
7370
|
if (!e || !e.type)
|
7365
7371
|
throw new Error("mdast-util-definitions expected node");
|
@@ -7376,11 +7382,11 @@ function hi(e) {
|
|
7376
7382
|
return String(e || "").toUpperCase();
|
7377
7383
|
}
|
7378
7384
|
const Rt = {}.hasOwnProperty;
|
7379
|
-
function
|
7385
|
+
function Ep(e, t) {
|
7380
7386
|
const n = t || {}, r = n.allowDangerousHtml || !1, i = {};
|
7381
7387
|
return l.dangerous = r, l.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, l.footnoteLabel = n.footnoteLabel || "Footnotes", l.footnoteLabelTagName = n.footnoteLabelTagName || "h2", l.footnoteLabelProperties = n.footnoteLabelProperties || {
|
7382
7388
|
className: ["sr-only"]
|
7383
|
-
}, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...
|
7389
|
+
}, l.footnoteBackLabel = n.footnoteBackLabel || "Back to content", l.unknownHandler = n.unknownHandler, l.passThrough = n.passThrough, l.handlers = { ...Mp, ...n.handlers }, l.definition = jp(e), l.footnoteById = i, l.footnoteOrder = [], l.footnoteCounts = {}, l.patch = Sp, l.applyData = Cp, l.one = a, l.all = s, l.wrap = Op, l.augment = o, tr(e, "footnoteDefinition", (u) => {
|
7384
7390
|
const c = String(u.identifier).toUpperCase();
|
7385
7391
|
Rt.call(i, c) || (i[c] = u);
|
7386
7392
|
}), l;
|
@@ -7396,7 +7402,7 @@ function jp(e, t) {
|
|
7396
7402
|
}
|
7397
7403
|
if (u) {
|
7398
7404
|
const p = "type" in u ? u : { position: u };
|
7399
|
-
|
7405
|
+
vp(p) || (c.position = { start: Jn(p), end: er(p) });
|
7400
7406
|
}
|
7401
7407
|
return c;
|
7402
7408
|
}
|
@@ -7415,10 +7421,10 @@ function jp(e, t) {
|
|
7415
7421
|
return nr(l, u);
|
7416
7422
|
}
|
7417
7423
|
}
|
7418
|
-
function Ep(e, t) {
|
7419
|
-
e.position && (t.position = cp(e));
|
7420
|
-
}
|
7421
7424
|
function Sp(e, t) {
|
7425
|
+
e.position && (t.position = pp(e));
|
7426
|
+
}
|
7427
|
+
function Cp(e, t) {
|
7422
7428
|
let n = t;
|
7423
7429
|
if (e && e.data) {
|
7424
7430
|
const r = e.data.hName, i = e.data.hChildren, o = e.data.hProperties;
|
@@ -7435,7 +7441,7 @@ function zo(e, t, n) {
|
|
7435
7441
|
const r = t && t.type;
|
7436
7442
|
if (!r)
|
7437
7443
|
throw new Error("Expected node, got `" + t + "`");
|
7438
|
-
return Rt.call(e.handlers, r) ? e.handlers[r](e, t, n) : e.passThrough && e.passThrough.includes(r) ? "children" in t ? { ...t, children: nr(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) :
|
7444
|
+
return Rt.call(e.handlers, r) ? e.handlers[r](e, t, n) : e.passThrough && e.passThrough.includes(r) ? "children" in t ? { ...t, children: nr(e, t) } : t : e.unknownHandler ? e.unknownHandler(e, t, n) : Ap(e, t);
|
7439
7445
|
}
|
7440
7446
|
function nr(e, t) {
|
7441
7447
|
const n = [];
|
@@ -7455,7 +7461,7 @@ function nr(e, t) {
|
|
7455
7461
|
}
|
7456
7462
|
return n;
|
7457
7463
|
}
|
7458
|
-
function
|
7464
|
+
function Ap(e, t) {
|
7459
7465
|
const n = t.data || {}, r = "value" in t && !(Rt.call(n, "hProperties") || Rt.call(n, "hChildren")) ? { type: "text", value: t.value } : {
|
7460
7466
|
type: "element",
|
7461
7467
|
tagName: "div",
|
@@ -7464,7 +7470,7 @@ function Cp(e, t) {
|
|
7464
7470
|
};
|
7465
7471
|
return e.patch(t, r), e.applyData(t, r);
|
7466
7472
|
}
|
7467
|
-
function
|
7473
|
+
function Op(e, t) {
|
7468
7474
|
const n = [];
|
7469
7475
|
let r = -1;
|
7470
7476
|
for (t && n.push({ type: "text", value: `
|
@@ -7474,7 +7480,7 @@ function Ap(e, t) {
|
|
7474
7480
|
return t && e.length > 0 && n.push({ type: "text", value: `
|
7475
7481
|
` }), n;
|
7476
7482
|
}
|
7477
|
-
function
|
7483
|
+
function zp(e) {
|
7478
7484
|
const t = [];
|
7479
7485
|
let n = -1;
|
7480
7486
|
for (; ++n < e.footnoteOrder.length; ) {
|
@@ -7546,24 +7552,24 @@ function Op(e) {
|
|
7546
7552
|
};
|
7547
7553
|
}
|
7548
7554
|
function Lo(e, t) {
|
7549
|
-
const n =
|
7555
|
+
const n = Ep(e, t), r = n.one(e, null), i = zp(n);
|
7550
7556
|
return i && r.children.push({ type: "text", value: `
|
7551
7557
|
` }, i), Array.isArray(r) ? { type: "root", children: r } : r;
|
7552
7558
|
}
|
7553
|
-
const
|
7559
|
+
const Lp = (
|
7554
7560
|
/** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */
|
7555
7561
|
function(e, t) {
|
7556
|
-
return e && "run" in e ?
|
7562
|
+
return e && "run" in e ? Fp(e, t) : Rp(e || t);
|
7557
7563
|
}
|
7558
|
-
),
|
7559
|
-
function
|
7564
|
+
), Pp = Lp;
|
7565
|
+
function Fp(e, t) {
|
7560
7566
|
return (n, r, i) => {
|
7561
7567
|
e.run(Lo(n, t), r, (o) => {
|
7562
7568
|
i(o);
|
7563
7569
|
});
|
7564
7570
|
};
|
7565
7571
|
}
|
7566
|
-
function
|
7572
|
+
function Rp(e) {
|
7567
7573
|
return (t) => Lo(t, e);
|
7568
7574
|
}
|
7569
7575
|
class dt {
|
@@ -7610,10 +7616,10 @@ be.prototype.spaceSeparated = !1;
|
|
7610
7616
|
be.prototype.commaOrSpaceSeparated = !1;
|
7611
7617
|
be.prototype.mustUseProperty = !1;
|
7612
7618
|
be.prototype.defined = !1;
|
7613
|
-
let
|
7619
|
+
let _p = 0;
|
7614
7620
|
const H = Be(), oe = Be(), Fo = Be(), k = Be(), J = Be(), Ye = Be(), ge = Be();
|
7615
7621
|
function Be() {
|
7616
|
-
return 2 ** ++
|
7622
|
+
return 2 ** ++_p;
|
7617
7623
|
}
|
7618
7624
|
const Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
7619
7625
|
__proto__: null,
|
@@ -7646,12 +7652,12 @@ rr.prototype.defined = !0;
|
|
7646
7652
|
function gi(e, t, n) {
|
7647
7653
|
n && (e[t] = n);
|
7648
7654
|
}
|
7649
|
-
const
|
7655
|
+
const Up = {}.hasOwnProperty;
|
7650
7656
|
function $e(e) {
|
7651
7657
|
const t = {}, n = {};
|
7652
7658
|
let r;
|
7653
7659
|
for (r in e.properties)
|
7654
|
-
if (
|
7660
|
+
if (Up.call(e.properties, r)) {
|
7655
7661
|
const i = e.properties[r], o = new rr(
|
7656
7662
|
r,
|
7657
7663
|
e.transform(e.attributes || {}, r),
|
@@ -7749,7 +7755,7 @@ const Qo = $e({
|
|
7749
7755
|
ariaValueText: null,
|
7750
7756
|
role: null
|
7751
7757
|
}
|
7752
|
-
}),
|
7758
|
+
}), Bp = $e({
|
7753
7759
|
space: "html",
|
7754
7760
|
attributes: {
|
7755
7761
|
acceptcharset: "accept-charset",
|
@@ -8108,7 +8114,7 @@ const Qo = $e({
|
|
8108
8114
|
security: null,
|
8109
8115
|
unselectable: null
|
8110
8116
|
}
|
8111
|
-
}),
|
8117
|
+
}), Qp = $e({
|
8112
8118
|
space: "svg",
|
8113
8119
|
attributes: {
|
8114
8120
|
accentHeight: "accent-height",
|
@@ -8667,20 +8673,20 @@ const Qo = $e({
|
|
8667
8673
|
z: null,
|
8668
8674
|
zoomAndPan: null
|
8669
8675
|
}
|
8670
|
-
}),
|
8671
|
-
function
|
8676
|
+
}), Yp = /^data[-\w.:]+$/i, mi = /-[a-z]/g, Hp = /[A-Z]/g;
|
8677
|
+
function qp(e, t) {
|
8672
8678
|
const n = Fn(t);
|
8673
8679
|
let r = t, i = be;
|
8674
8680
|
if (n in e.normal)
|
8675
8681
|
return e.property[e.normal[n]];
|
8676
|
-
if (n.length > 4 && n.slice(0, 4) === "data" &&
|
8682
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && Yp.test(t)) {
|
8677
8683
|
if (t.charAt(4) === "-") {
|
8678
|
-
const o = t.slice(5).replace(mi,
|
8684
|
+
const o = t.slice(5).replace(mi, Vp);
|
8679
8685
|
r = "data" + o.charAt(0).toUpperCase() + o.slice(1);
|
8680
8686
|
} else {
|
8681
8687
|
const o = t.slice(4);
|
8682
8688
|
if (!mi.test(o)) {
|
8683
|
-
let l = o.replace(
|
8689
|
+
let l = o.replace(Hp, $p);
|
8684
8690
|
l.charAt(0) !== "-" && (l = "-" + l), t = "data" + l;
|
8685
8691
|
}
|
8686
8692
|
}
|
@@ -8688,10 +8694,10 @@ function Hp(e, t) {
|
|
8688
8694
|
}
|
8689
8695
|
return new i(r, t);
|
8690
8696
|
}
|
8691
|
-
function
|
8697
|
+
function $p(e) {
|
8692
8698
|
return "-" + e.toLowerCase();
|
8693
8699
|
}
|
8694
|
-
function
|
8700
|
+
function Vp(e) {
|
8695
8701
|
return e.charAt(1).toUpperCase();
|
8696
8702
|
}
|
8697
8703
|
const yi = {
|
@@ -8712,8 +8718,8 @@ const yi = {
|
|
8712
8718
|
xLinkTitle: "xlinkTitle",
|
8713
8719
|
xLinkType: "xlinkType",
|
8714
8720
|
xmlnsXLink: "xmlnsXlink"
|
8715
|
-
},
|
8716
|
-
function
|
8721
|
+
}, Wp = Po([_o, Ro, Qo, Yo, Bp], "html"), Zp = Po([_o, Ro, Qo, Yo, Qp], "svg");
|
8722
|
+
function Gp(e) {
|
8717
8723
|
if (e.allowedElements && e.disallowedElements)
|
8718
8724
|
throw new TypeError(
|
8719
8725
|
"Only one of `allowedElements` and `disallowedElements` should be defined"
|
@@ -8741,7 +8747,7 @@ var Ho = { exports: {} }, G = {};
|
|
8741
8747
|
* This source code is licensed under the MIT license found in the
|
8742
8748
|
* LICENSE file in the root directory of this source tree.
|
8743
8749
|
*/
|
8744
|
-
var ir = Symbol.for("react.element"), or = Symbol.for("react.portal"), qt = Symbol.for("react.fragment"), $t = Symbol.for("react.strict_mode"), Vt = Symbol.for("react.profiler"), Wt = Symbol.for("react.provider"), Zt = Symbol.for("react.context"),
|
8750
|
+
var ir = Symbol.for("react.element"), or = Symbol.for("react.portal"), qt = Symbol.for("react.fragment"), $t = Symbol.for("react.strict_mode"), Vt = Symbol.for("react.profiler"), Wt = Symbol.for("react.provider"), Zt = Symbol.for("react.context"), Xp = Symbol.for("react.server_context"), Gt = Symbol.for("react.forward_ref"), Xt = Symbol.for("react.suspense"), Kt = Symbol.for("react.suspense_list"), Jt = Symbol.for("react.memo"), en = Symbol.for("react.lazy"), Kp = Symbol.for("react.offscreen"), qo;
|
8745
8751
|
qo = Symbol.for("react.module.reference");
|
8746
8752
|
function we(e) {
|
8747
8753
|
if (typeof e == "object" && e !== null) {
|
@@ -8757,7 +8763,7 @@ function we(e) {
|
|
8757
8763
|
return e;
|
8758
8764
|
default:
|
8759
8765
|
switch (e = e && e.$$typeof, e) {
|
8760
|
-
case
|
8766
|
+
case Xp:
|
8761
8767
|
case Zt:
|
8762
8768
|
case Gt:
|
8763
8769
|
case en:
|
@@ -8828,13 +8834,13 @@ G.isSuspenseList = function(e) {
|
|
8828
8834
|
return we(e) === Kt;
|
8829
8835
|
};
|
8830
8836
|
G.isValidElementType = function(e) {
|
8831
|
-
return typeof e == "string" || typeof e == "function" || e === qt || e === Vt || e === $t || e === Xt || e === Kt || e ===
|
8837
|
+
return typeof e == "string" || typeof e == "function" || e === qt || e === Vt || e === $t || e === Xt || e === Kt || e === Kp || typeof e == "object" && e !== null && (e.$$typeof === en || e.$$typeof === Jt || e.$$typeof === Wt || e.$$typeof === Zt || e.$$typeof === Gt || e.$$typeof === qo || e.getModuleId !== void 0);
|
8832
8838
|
};
|
8833
8839
|
G.typeOf = we;
|
8834
8840
|
Ho.exports = G;
|
8835
|
-
var
|
8836
|
-
const
|
8837
|
-
function
|
8841
|
+
var Jp = Ho.exports;
|
8842
|
+
const ef = /* @__PURE__ */ Ue(Jp);
|
8843
|
+
function tf(e) {
|
8838
8844
|
const t = (
|
8839
8845
|
// @ts-expect-error looks like a node.
|
8840
8846
|
e && typeof e == "object" && e.type === "text" ? (
|
@@ -8844,135 +8850,135 @@ function ef(e) {
|
|
8844
8850
|
);
|
8845
8851
|
return typeof t == "string" && t.replace(/[ \t\n\f\r]/g, "") === "";
|
8846
8852
|
}
|
8847
|
-
function
|
8853
|
+
function nf(e) {
|
8848
8854
|
return e.join(" ").trim();
|
8849
8855
|
}
|
8850
|
-
function
|
8856
|
+
function rf(e, t) {
|
8851
8857
|
const n = t || {};
|
8852
8858
|
return (e[e.length - 1] === "" ? [...e, ""] : e).join(
|
8853
8859
|
(n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
|
8854
8860
|
).trim();
|
8855
8861
|
}
|
8856
|
-
var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,
|
8857
|
-
`, xi = "/", bi = "*", Pe = "",
|
8862
|
+
var lr = { exports: {} }, Mi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, of = /\n/g, lf = /^\s*/, af = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, uf = /^:\s*/, sf = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, cf = /^[;\s]*/, pf = /^\s+|\s+$/g, ff = `
|
8863
|
+
`, xi = "/", bi = "*", Pe = "", df = "comment", hf = "declaration", gf = function(e, t) {
|
8858
8864
|
if (typeof e != "string")
|
8859
8865
|
throw new TypeError("First argument must be a string");
|
8860
8866
|
if (!e)
|
8861
8867
|
return [];
|
8862
8868
|
t = t || {};
|
8863
8869
|
var n = 1, r = 1;
|
8864
|
-
function i(
|
8865
|
-
var b =
|
8870
|
+
function i(I) {
|
8871
|
+
var b = I.match(of);
|
8866
8872
|
b && (n += b.length);
|
8867
|
-
var S =
|
8868
|
-
r = ~S ?
|
8873
|
+
var S = I.lastIndexOf(ff);
|
8874
|
+
r = ~S ? I.length - S : r + I.length;
|
8869
8875
|
}
|
8870
8876
|
function o() {
|
8871
|
-
var
|
8877
|
+
var I = { line: n, column: r };
|
8872
8878
|
return function(b) {
|
8873
|
-
return b.position = new l(
|
8879
|
+
return b.position = new l(I), u(), b;
|
8874
8880
|
};
|
8875
8881
|
}
|
8876
|
-
function l(
|
8877
|
-
this.start =
|
8882
|
+
function l(I) {
|
8883
|
+
this.start = I, this.end = { line: n, column: r }, this.source = t.source;
|
8878
8884
|
}
|
8879
8885
|
l.prototype.content = e;
|
8880
|
-
function a(
|
8886
|
+
function a(I) {
|
8881
8887
|
var b = new Error(
|
8882
|
-
t.source + ":" + n + ":" + r + ": " +
|
8888
|
+
t.source + ":" + n + ":" + r + ": " + I
|
8883
8889
|
);
|
8884
|
-
if (b.reason =
|
8890
|
+
if (b.reason = I, b.filename = t.source, b.line = n, b.column = r, b.source = e, !t.silent)
|
8885
8891
|
throw b;
|
8886
8892
|
}
|
8887
|
-
function s(
|
8888
|
-
var b =
|
8893
|
+
function s(I) {
|
8894
|
+
var b = I.exec(e);
|
8889
8895
|
if (b) {
|
8890
8896
|
var S = b[0];
|
8891
8897
|
return i(S), e = e.slice(S.length), b;
|
8892
8898
|
}
|
8893
8899
|
}
|
8894
8900
|
function u() {
|
8895
|
-
s(
|
8901
|
+
s(lf);
|
8896
8902
|
}
|
8897
|
-
function c(
|
8903
|
+
function c(I) {
|
8898
8904
|
var b;
|
8899
|
-
for (
|
8900
|
-
b !== !1 &&
|
8901
|
-
return
|
8905
|
+
for (I = I || []; b = p(); )
|
8906
|
+
b !== !1 && I.push(b);
|
8907
|
+
return I;
|
8902
8908
|
}
|
8903
8909
|
function p() {
|
8904
|
-
var
|
8910
|
+
var I = o();
|
8905
8911
|
if (!(xi != e.charAt(0) || bi != e.charAt(1))) {
|
8906
8912
|
for (var b = 2; Pe != e.charAt(b) && (bi != e.charAt(b) || xi != e.charAt(b + 1)); )
|
8907
8913
|
++b;
|
8908
8914
|
if (b += 2, Pe === e.charAt(b - 1))
|
8909
8915
|
return a("End of comment missing");
|
8910
8916
|
var S = e.slice(2, b - 2);
|
8911
|
-
return r += 2, i(S), e = e.slice(b), r += 2,
|
8912
|
-
type:
|
8917
|
+
return r += 2, i(S), e = e.slice(b), r += 2, I({
|
8918
|
+
type: df,
|
8913
8919
|
comment: S
|
8914
8920
|
});
|
8915
8921
|
}
|
8916
8922
|
}
|
8917
8923
|
function m() {
|
8918
|
-
var
|
8924
|
+
var I = o(), b = s(af);
|
8919
8925
|
if (b) {
|
8920
|
-
if (p(), !s(
|
8926
|
+
if (p(), !s(uf))
|
8921
8927
|
return a("property missing ':'");
|
8922
|
-
var S = s(
|
8923
|
-
type:
|
8928
|
+
var S = s(sf), w = I({
|
8929
|
+
type: hf,
|
8924
8930
|
property: wi(b[0].replace(Mi, Pe)),
|
8925
8931
|
value: S ? wi(S[0].replace(Mi, Pe)) : Pe
|
8926
8932
|
});
|
8927
|
-
return s(
|
8933
|
+
return s(cf), w;
|
8928
8934
|
}
|
8929
8935
|
}
|
8930
8936
|
function f() {
|
8931
|
-
var
|
8932
|
-
c(
|
8937
|
+
var I = [];
|
8938
|
+
c(I);
|
8933
8939
|
for (var b; b = m(); )
|
8934
|
-
b !== !1 && (
|
8935
|
-
return
|
8940
|
+
b !== !1 && (I.push(b), c(I));
|
8941
|
+
return I;
|
8936
8942
|
}
|
8937
8943
|
return u(), f();
|
8938
8944
|
};
|
8939
8945
|
function wi(e) {
|
8940
|
-
return e ? e.replace(
|
8946
|
+
return e ? e.replace(pf, Pe) : Pe;
|
8941
8947
|
}
|
8942
|
-
var
|
8948
|
+
var mf = gf;
|
8943
8949
|
function $o(e, t) {
|
8944
8950
|
var n = null;
|
8945
8951
|
if (!e || typeof e != "string")
|
8946
8952
|
return n;
|
8947
|
-
for (var r, i =
|
8953
|
+
for (var r, i = mf(e), o = typeof t == "function", l, a, s = 0, u = i.length; s < u; s++)
|
8948
8954
|
r = i[s], l = r.property, a = r.value, o ? t(l, a, r) : a && (n || (n = {}), n[l] = a);
|
8949
8955
|
return n;
|
8950
8956
|
}
|
8951
8957
|
lr.exports = $o;
|
8952
8958
|
lr.exports.default = $o;
|
8953
|
-
var
|
8954
|
-
const
|
8959
|
+
var yf = lr.exports;
|
8960
|
+
const Mf = /* @__PURE__ */ Ue(yf), _n = {}.hasOwnProperty, xf = /* @__PURE__ */ new Set(["table", "thead", "tbody", "tfoot", "tr"]);
|
8955
8961
|
function Vo(e, t) {
|
8956
8962
|
const n = [];
|
8957
8963
|
let r = -1, i;
|
8958
8964
|
for (; ++r < t.children.length; )
|
8959
|
-
i = t.children[r], i.type === "element" ? n.push(
|
8965
|
+
i = t.children[r], i.type === "element" ? n.push(bf(e, i, r, t)) : i.type === "text" ? (t.type !== "element" || !xf.has(t.tagName) || !tf(i)) && n.push(i.value) : i.type === "raw" && !e.options.skipHtml && n.push(i.value);
|
8960
8966
|
return n;
|
8961
8967
|
}
|
8962
|
-
function
|
8963
|
-
const i = e.options, o = i.transformLinkUri === void 0 ?
|
8968
|
+
function bf(e, t, n, r) {
|
8969
|
+
const i = e.options, o = i.transformLinkUri === void 0 ? bu : i.transformLinkUri, l = e.schema, a = t.tagName, s = {};
|
8964
8970
|
let u = l, c;
|
8965
|
-
if (l.space === "html" && a === "svg" && (u =
|
8971
|
+
if (l.space === "html" && a === "svg" && (u = Zp, e.schema = u), t.properties)
|
8966
8972
|
for (c in t.properties)
|
8967
|
-
_n.call(t.properties, c) &&
|
8973
|
+
_n.call(t.properties, c) && Df(s, c, t.properties[c], e);
|
8968
8974
|
(a === "ol" || a === "ul") && e.listDepth++;
|
8969
8975
|
const p = Vo(e, t);
|
8970
8976
|
(a === "ol" || a === "ul") && e.listDepth--, e.schema = l;
|
8971
8977
|
const m = t.position || {
|
8972
8978
|
start: { line: null, column: null, offset: null },
|
8973
8979
|
end: { line: null, column: null, offset: null }
|
8974
|
-
}, f = i.components && _n.call(i.components, a) ? i.components[a] : a,
|
8975
|
-
if (!
|
8980
|
+
}, f = i.components && _n.call(i.components, a) ? i.components[a] : a, I = typeof f == "string" || f === ue.Fragment;
|
8981
|
+
if (!ef.isValidElementType(f))
|
8976
8982
|
throw new TypeError(
|
8977
8983
|
`Component for name \`${a}\` not defined or is not renderable`
|
8978
8984
|
);
|
@@ -8984,17 +8990,17 @@ function xf(e, t, n, r) {
|
|
8984
8990
|
String(s.href || ""),
|
8985
8991
|
t.children,
|
8986
8992
|
typeof s.title == "string" ? s.title : null
|
8987
|
-
)), !
|
8993
|
+
)), !I && a === "code" && r.type === "element" && r.tagName !== "pre" && (s.inline = !0), !I && (a === "h1" || a === "h2" || a === "h3" || a === "h4" || a === "h5" || a === "h6") && (s.level = Number.parseInt(a.charAt(1), 10)), a === "img" && i.transformImageUri && (s.src = i.transformImageUri(
|
8988
8994
|
String(s.src || ""),
|
8989
8995
|
String(s.alt || ""),
|
8990
8996
|
typeof s.title == "string" ? s.title : null
|
8991
|
-
)), !
|
8992
|
-
const b =
|
8997
|
+
)), !I && a === "li" && r.type === "element") {
|
8998
|
+
const b = wf(t);
|
8993
8999
|
s.checked = b && b.properties ? !!b.properties.checked : null, s.index = bn(r, t), s.ordered = r.tagName === "ol";
|
8994
9000
|
}
|
8995
|
-
return !
|
9001
|
+
return !I && (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), I || (s.isHeader = a === "th")), !I && a === "tr" && r.type === "element" && (s.isHeader = r.tagName === "thead"), i.sourcePos && (s["data-sourcepos"] = Tf(m)), !I && i.rawSourcePos && (s.sourcePosition = t.position), !I && i.includeElementIndex && (s.index = bn(r, t), s.siblingCount = bn(r)), I || (s.node = t), p.length > 0 ? ue.createElement(f, s, p) : ue.createElement(f, s);
|
8996
9002
|
}
|
8997
|
-
function
|
9003
|
+
function wf(e) {
|
8998
9004
|
let t = -1;
|
8999
9005
|
for (; ++t < e.children.length; ) {
|
9000
9006
|
const n = e.children[t];
|
@@ -9009,24 +9015,24 @@ function bn(e, t) {
|
|
9009
9015
|
e.children[n].type === "element" && r++;
|
9010
9016
|
return r;
|
9011
9017
|
}
|
9012
|
-
function
|
9013
|
-
const i =
|
9018
|
+
function Df(e, t, n, r) {
|
9019
|
+
const i = qp(r.schema, t);
|
9014
9020
|
let o = n;
|
9015
|
-
o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ?
|
9021
|
+
o == null || o !== o || (Array.isArray(o) && (o = i.commaSeparated ? rf(o) : nf(o)), i.property === "style" && typeof o == "string" && (o = Nf(o)), i.space && i.property ? e[_n.call(yi, i.property) ? yi[i.property] : i.property] = o : i.attribute && (e[i.attribute] = o));
|
9016
9022
|
}
|
9017
|
-
function
|
9023
|
+
function Nf(e) {
|
9018
9024
|
const t = {};
|
9019
9025
|
try {
|
9020
|
-
|
9026
|
+
Mf(e, n);
|
9021
9027
|
} catch {
|
9022
9028
|
}
|
9023
9029
|
return t;
|
9024
9030
|
function n(r, i) {
|
9025
9031
|
const o = r.slice(0, 4) === "-ms-" ? `ms-${r.slice(4)}` : r;
|
9026
|
-
t[o.replace(/-([a-z])/g,
|
9032
|
+
t[o.replace(/-([a-z])/g, If)] = i;
|
9027
9033
|
}
|
9028
9034
|
}
|
9029
|
-
function
|
9035
|
+
function If(e, t) {
|
9030
9036
|
return t.toUpperCase();
|
9031
9037
|
}
|
9032
9038
|
function Tf(e) {
|
@@ -9040,7 +9046,7 @@ function Tf(e) {
|
|
9040
9046
|
e.end.column
|
9041
9047
|
].map(String).join("");
|
9042
9048
|
}
|
9043
|
-
const Di = {}.hasOwnProperty,
|
9049
|
+
const Di = {}.hasOwnProperty, kf = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", kt = {
|
9044
9050
|
plugins: { to: "remarkPlugins", id: "change-plugins-to-remarkplugins" },
|
9045
9051
|
renderers: { to: "components", id: "change-renderers-to-components" },
|
9046
9052
|
astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
|
@@ -9069,13 +9075,13 @@ function Wo(e) {
|
|
9069
9075
|
if (Di.call(kt, o) && Di.call(e, o)) {
|
9070
9076
|
const l = kt[o];
|
9071
9077
|
console.warn(
|
9072
|
-
`[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${
|
9078
|
+
`[react-markdown] Warning: please ${l.to ? `use \`${l.to}\` instead of` : "remove"} \`${o}\` (see <${kf}#${l.id}> for more info)`
|
9073
9079
|
), delete kt[o];
|
9074
9080
|
}
|
9075
|
-
const t =
|
9081
|
+
const t = Pu().use(qc).use(e.remarkPlugins || []).use(Pp, {
|
9076
9082
|
...e.remarkRehypeOptions,
|
9077
9083
|
allowDangerousHtml: !0
|
9078
|
-
}).use(e.rehypePlugins || []).use(
|
9084
|
+
}).use(e.rehypePlugins || []).use(Gp, e), n = new po();
|
9079
9085
|
typeof e.children == "string" ? n.value = e.children : e.children !== void 0 && e.children !== null && console.warn(
|
9080
9086
|
`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`
|
9081
9087
|
);
|
@@ -9085,7 +9091,7 @@ function Wo(e) {
|
|
9085
9091
|
let i = ue.createElement(
|
9086
9092
|
ue.Fragment,
|
9087
9093
|
{},
|
9088
|
-
Vo({ options: e, schema:
|
9094
|
+
Vo({ options: e, schema: Wp, listDepth: 0 }, r)
|
9089
9095
|
);
|
9090
9096
|
return e.className && (i = ue.createElement("div", { className: e.className }, i)), i;
|
9091
9097
|
}
|
@@ -9148,19 +9154,19 @@ Wo.propTypes = {
|
|
9148
9154
|
transformImageUri: g.func,
|
9149
9155
|
components: g.object
|
9150
9156
|
};
|
9151
|
-
const
|
9157
|
+
const vf = (e) => {
|
9152
9158
|
Array.from(e.entries()).forEach((n) => {
|
9153
9159
|
const r = n[0], i = n[1];
|
9154
9160
|
r.toLocaleLowerCase().startsWith("utm_") && e.delete(r, i);
|
9155
9161
|
});
|
9156
|
-
},
|
9162
|
+
}, jf = (e) => {
|
9157
9163
|
e.delete("linked_from", "xpert_chat"), e.append("linked_from", "xpert_chat");
|
9158
9164
|
};
|
9159
|
-
function
|
9165
|
+
function Ef(e) {
|
9160
9166
|
const t = new URL(e), n = t.host;
|
9161
9167
|
if (n == null ? void 0 : n.includes("edx.org")) {
|
9162
9168
|
const i = t.searchParams;
|
9163
|
-
|
9169
|
+
vf(i), jf(i), t.search = i;
|
9164
9170
|
}
|
9165
9171
|
return t.toString();
|
9166
9172
|
}
|
@@ -9225,7 +9231,7 @@ const ar = ({
|
|
9225
9231
|
"data-testid": "message-container",
|
9226
9232
|
className: "xpert-chatbot-popup__bubble--assistant",
|
9227
9233
|
style: { maxWidth: n ? "85%" : "67%" },
|
9228
|
-
children: /* @__PURE__ */ D.jsx(Wo, { linkTarget: "_blank", transformLinkUri:
|
9234
|
+
children: /* @__PURE__ */ D.jsx(Wo, { linkTarget: "_blank", transformLinkUri: Ef, children: t.content })
|
9229
9235
|
}
|
9230
9236
|
),
|
9231
9237
|
t.disableFeedback ? null : /* @__PURE__ */ D.jsx(
|
@@ -9247,7 +9253,7 @@ ar.propTypes = {
|
|
9247
9253
|
messageRef: g.shape({ current: g.instanceOf(Element) })
|
9248
9254
|
};
|
9249
9255
|
ar.displayName = "AssistantMessageBubble";
|
9250
|
-
const
|
9256
|
+
const Sf = ar, ur = ({ configurations: e }) => /* @__PURE__ */ D.jsxs(
|
9251
9257
|
"div",
|
9252
9258
|
{
|
9253
9259
|
role: "alert",
|
@@ -9278,7 +9284,7 @@ ur.propTypes = {
|
|
9278
9284
|
}).isRequired
|
9279
9285
|
};
|
9280
9286
|
ur.displayName = "ConversationScreenDisclaimer";
|
9281
|
-
const
|
9287
|
+
const Cf = ur, sr = ({ configurations: e, loading: t, onPromptClick: n }) => /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
|
9282
9288
|
/* @__PURE__ */ D.jsx("div", { style: { fontWeight: 700, fontSize: "0.75rem" }, children: "Some things I can help you with" }),
|
9283
9289
|
e.prompts.map((r) => /* @__PURE__ */ D.jsx(
|
9284
9290
|
"button",
|
@@ -9312,7 +9318,7 @@ sr.propTypes = {
|
|
9312
9318
|
onPromptClick: g.func.isRequired
|
9313
9319
|
};
|
9314
9320
|
sr.displayName = "PromptList";
|
9315
|
-
const
|
9321
|
+
const Af = sr, cr = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ D.jsx("div", { role: "status", className: "xpert-chatbot-popup__bubble--group", children: /* @__PURE__ */ D.jsx("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: /* @__PURE__ */ D.jsx(
|
9316
9322
|
"div",
|
9317
9323
|
{
|
9318
9324
|
"data-testid": "message-container",
|
@@ -9326,7 +9332,7 @@ cr.propTypes = {
|
|
9326
9332
|
isNormalSize: g.bool.isRequired
|
9327
9333
|
};
|
9328
9334
|
cr.displayName = "SystemMessageBubble";
|
9329
|
-
const
|
9335
|
+
const Of = cr, pr = ({ content: e, isNormalSize: t, configurations: n }) => /* @__PURE__ */ D.jsx(
|
9330
9336
|
"div",
|
9331
9337
|
{
|
9332
9338
|
role: "status",
|
@@ -9348,7 +9354,7 @@ pr.propTypes = {
|
|
9348
9354
|
})
|
9349
9355
|
};
|
9350
9356
|
pr.displayName = "UserMessageBubble";
|
9351
|
-
const
|
9357
|
+
const zf = pr, tn = ({
|
9352
9358
|
messages: e,
|
9353
9359
|
loading: t,
|
9354
9360
|
isNormalSize: n,
|
@@ -9366,9 +9372,9 @@ const Of = pr, tn = ({
|
|
9366
9372
|
block: "start"
|
9367
9373
|
});
|
9368
9374
|
}, [e.length]), /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
|
9369
|
-
o && /* @__PURE__ */ D.jsx(
|
9375
|
+
o && /* @__PURE__ */ D.jsx(Cf, { configurations: l }),
|
9370
9376
|
((s = l.prompts) == null ? void 0 : s.length) > 0 && /* @__PURE__ */ D.jsx(
|
9371
|
-
|
9377
|
+
Af,
|
9372
9378
|
{
|
9373
9379
|
loading: t,
|
9374
9380
|
onPromptClick: i,
|
@@ -9387,7 +9393,7 @@ const Of = pr, tn = ({
|
|
9387
9393
|
style: { display: "flex", flexDirection: "column" },
|
9388
9394
|
children: [
|
9389
9395
|
(l == null ? void 0 : l.systemMessage) && /* @__PURE__ */ D.jsx(
|
9390
|
-
|
9396
|
+
Of,
|
9391
9397
|
{
|
9392
9398
|
message: l == null ? void 0 : l.systemMessage,
|
9393
9399
|
isNormalSize: n
|
@@ -9395,7 +9401,7 @@ const Of = pr, tn = ({
|
|
9395
9401
|
),
|
9396
9402
|
e.map(
|
9397
9403
|
(u, c) => u.role === "assistant" ? /* @__PURE__ */ D.jsx(
|
9398
|
-
|
9404
|
+
Sf,
|
9399
9405
|
{
|
9400
9406
|
index: c,
|
9401
9407
|
message: u,
|
@@ -9405,7 +9411,7 @@ const Of = pr, tn = ({
|
|
9405
9411
|
},
|
9406
9412
|
`${u.role}-${c}`
|
9407
9413
|
) : /* @__PURE__ */ D.jsx(
|
9408
|
-
|
9414
|
+
zf,
|
9409
9415
|
{
|
9410
9416
|
content: u.content,
|
9411
9417
|
isNormalSize: n,
|
@@ -9451,13 +9457,13 @@ tn.defaultProps = {
|
|
9451
9457
|
showDisclaimerText: !1
|
9452
9458
|
};
|
9453
9459
|
tn.displayName = "XpertConversationsMessages";
|
9454
|
-
const zf = tn, Go = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTg3MSIgaGVpZ2h0PSI1NjQiIHZpZXdCb3g9IjAgMCAxODcxIDU2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc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lZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTIzXzQyOCI+CjxyZWN0IHdpZHRoPSIxMDgwIiBoZWlnaHQ9IjU2My4yNSIgZmlsbD0iI0ZGRkZGRiIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=", Pf = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0xMjAtMTIwdi0zMDBoNjB2MTk4bDU1OC01NThINTQwdi02MGgzMDB2MzAwaC02MHYtMTk4TDIyMi0xODBoMTk4djYwSDEyMFoiLz48L3N2Zz4=", Ff = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiNmZmZmZmYiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0zNzAtMjg3aDM2MHYtOTBIMzcwdjkwWk0xODAtMTIwcS0yNCAwLTQyLTE4dC0xOC00MnYtNjAwcTAtMjQgMTgtNDJ0NDItMThoNjAwcTI0IDAgNDIgMTh0MTggNDJ2NjAwcTAgMjQtMTggNDJ0LTQyIDE4SDE4MFptMC02MGg2MDB2LTYwMEgxODB2NjAwWm0wLTYwMHY2MDAtNjAwWiIvPjwvc3ZnPg==", Rf = 991;
|
9455
9461
|
function Xo({
|
9456
9462
|
isNormalSize: e,
|
9457
9463
|
setIsMounted: t,
|
9458
9464
|
setIsNormalSize: n
|
9459
9465
|
}) {
|
9460
|
-
return pt(
|
9466
|
+
return pt(Rf) ? null : e ? /* @__PURE__ */ D.jsx(
|
9461
9467
|
"button",
|
9462
9468
|
{
|
9463
9469
|
onClick: () => {
|
@@ -9478,7 +9484,7 @@ function Xo({
|
|
9478
9484
|
"aria-hidden": !0,
|
9479
9485
|
height: "24px",
|
9480
9486
|
width: "24px",
|
9481
|
-
src:
|
9487
|
+
src: Pf,
|
9482
9488
|
alt: "Expand xpert dialog width icon"
|
9483
9489
|
}
|
9484
9490
|
)
|
@@ -9503,7 +9509,7 @@ function Xo({
|
|
9503
9509
|
"aria-hidden": !0,
|
9504
9510
|
height: "24px",
|
9505
9511
|
width: "24px",
|
9506
|
-
src:
|
9512
|
+
src: Ff,
|
9507
9513
|
alt: "Shrink xpert dialog width icon"
|
9508
9514
|
}
|
9509
9515
|
)
|
@@ -9611,7 +9617,7 @@ fr.defaultProps = {
|
|
9611
9617
|
backgroundColor: "#F0CC00",
|
9612
9618
|
textColor: "transparent"
|
9613
9619
|
};
|
9614
|
-
const
|
9620
|
+
const _f = fr, Uf = 991;
|
9615
9621
|
function Jo({
|
9616
9622
|
isNormalSize: e,
|
9617
9623
|
setIsNormalSize: t,
|
@@ -9621,7 +9627,7 @@ function Jo({
|
|
9621
9627
|
configurations: o
|
9622
9628
|
}) {
|
9623
9629
|
var a, s;
|
9624
|
-
const l = pt(
|
9630
|
+
const l = pt(Uf);
|
9625
9631
|
return /* @__PURE__ */ D.jsxs(
|
9626
9632
|
"div",
|
9627
9633
|
{
|
@@ -9645,7 +9651,7 @@ function Jo({
|
|
9645
9651
|
style: o.headerLogoStyle
|
9646
9652
|
}
|
9647
9653
|
) : /* @__PURE__ */ D.jsx(
|
9648
|
-
|
9654
|
+
_f,
|
9649
9655
|
{
|
9650
9656
|
backgroundColor: (a = o == null ? void 0 : o.headerLogoStyle) == null ? void 0 : a.backgroundColor,
|
9651
9657
|
textColor: (s = o == null ? void 0 : o.headerLogoStyle) == null ? void 0 : s.color
|
@@ -9679,7 +9685,7 @@ Jo.propTypes = {
|
|
9679
9685
|
useDefaultLogo: g.bool
|
9680
9686
|
})
|
9681
9687
|
};
|
9682
|
-
const
|
9688
|
+
const Bf = "data:image/svg+xml;base64,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height: "24px",
|
9759
9765
|
width: "24px",
|
9760
|
-
src:
|
9766
|
+
src: Bf,
|
9761
9767
|
alt: "Open live chat window icon"
|
9762
9768
|
}
|
9763
9769
|
)
|
@@ -9785,11 +9791,11 @@ dr.defaultProps = {
|
|
9785
9791
|
setLiveChatOpen: null,
|
9786
9792
|
isTestUser: !1
|
9787
9793
|
};
|
9788
|
-
const Ni = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0yODEtMjQwcS0xNCAwLTI3LjUtMTRUMjQwLTI4MnYtOThoNTAwdi0zNDBoMTAwcTE0IDAgMjcgMTR0MTMgMjl2NTk2TDcyMS0yNDBIMjgxWk04MC0yODB2LTU1OHEwLTE0IDEzLTI4dDI3LTE0aDUxOXExNSAwIDI4IDEzLjV0MTMgMjguNXYzNTZxMCAxNC0xMyAyOHQtMjggMTRIMjQwTDgwLTI4MFptNTQwLTIyMHYtMzIwSDE0MHYzMjBoNDgwWm0tNDgwIDB2LTMyMCAzMjBaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+",
|
9794
|
+
const Ni = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik0yODEtMjQwcS0xNCAwLTI3LjUtMTRUMjQwLTI4MnYtOThoNTAwdi0zNDBoMTAwcTE0IDAgMjcgMTR0MTMgMjl2NTk2TDcyMS0yNDBIMjgxWk04MC0yODB2LTU1OHEwLTE0IDEzLTI4dDI3LTE0aDUxOXExNSAwIDI4IDEzLjV0MTMgMjguNXYzNTZxMCAxNC0xMyAyOHQtMjggMTRIMjQwTDgwLTI4MFptNTQwLTIyMHYtMzIwSDE0MHYzMjBoNDgwWm0tNDgwIDB2LTMyMCAzMjBaIiBmaWxsPSIjRkZGRkZGIi8+PC9zdmc+", Qf = {
|
9789
9795
|
edx: Go,
|
9790
9796
|
"speech-emerson": Ni,
|
9791
9797
|
"get-smarter": Ni
|
9792
|
-
},
|
9798
|
+
}, Yf = 991, Hf = [];
|
9793
9799
|
console.log("Chatbot - load");
|
9794
9800
|
function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
9795
9801
|
var bt;
|
@@ -9817,9 +9823,9 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9817
9823
|
cookieNamePrefix: p,
|
9818
9824
|
proactiveMessagePrefix: m,
|
9819
9825
|
proactiveMessage: f,
|
9820
|
-
disableDisclaimerPage:
|
9826
|
+
disableDisclaimerPage: I,
|
9821
9827
|
conversationHistory: b
|
9822
|
-
} = i, S = pt(
|
9828
|
+
} = i, S = pt(Yf), [, w] = pe(!1), [v, j] = pe(Hf), [B, _] = pe(!1), [y, A] = pe(!1), [U, Q] = pe(!1), [q, E] = pe(""), [M, N] = pe(!1), [C, z] = pe(!1), [F, Y] = pe(!0), [V, X] = pe(!1), [d, ne] = pe(!1), le = Fe(null), h = Fe(null), re = Fe(null), te = De.get(`${p}-test`) === "1", W = at(
|
9823
9829
|
({ name: L, payload: x }) => {
|
9824
9830
|
t ? t({ name: L, payload: x }) : re.current.track(
|
9825
9831
|
// TODO: this is untestable - create a custom hook to get submit event function.
|
@@ -9852,9 +9858,9 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9852
9858
|
}
|
9853
9859
|
if (!x.ok)
|
9854
9860
|
throw new Error(`HTTPError: ${x.status} ${x.statusText}`);
|
9855
|
-
const
|
9861
|
+
const T = await x.json();
|
9856
9862
|
j(
|
9857
|
-
|
9863
|
+
T.map((O) => ({
|
9858
9864
|
...O,
|
9859
9865
|
disableFeedback: !0
|
9860
9866
|
}))
|
@@ -9882,14 +9888,14 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9882
9888
|
console.log("Chatbot - unmount"), clearInterval(L), clearTimeout(x);
|
9883
9889
|
};
|
9884
9890
|
}, [u, s]), ye(() => {
|
9885
|
-
const L = (
|
9891
|
+
const L = (T) => {
|
9886
9892
|
var O, $;
|
9887
|
-
(O =
|
9893
|
+
(O = T == null ? void 0 : T.target) != null && O.href && W({
|
9888
9894
|
name: `${s}.bi.xpert.chatbot.popup.chat.message.link.clicked`,
|
9889
9895
|
payload: {
|
9890
9896
|
category: "2u",
|
9891
9897
|
label: "xpert-chatbot",
|
9892
|
-
link: ($ =
|
9898
|
+
link: ($ = T == null ? void 0 : T.target) == null ? void 0 : $.href,
|
9893
9899
|
isTestUser: te
|
9894
9900
|
}
|
9895
9901
|
});
|
@@ -9936,7 +9942,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9936
9942
|
}, Ve = ({
|
9937
9943
|
conversationSize: L,
|
9938
9944
|
userInputMessage: x,
|
9939
|
-
apiResponseMessage:
|
9945
|
+
apiResponseMessage: T,
|
9940
9946
|
elapsedSeconds: O
|
9941
9947
|
}) => {
|
9942
9948
|
W({
|
@@ -9947,7 +9953,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9947
9953
|
isTestUser: te,
|
9948
9954
|
conversationSize: L,
|
9949
9955
|
userInputMessage: x,
|
9950
|
-
apiResponseMessage:
|
9956
|
+
apiResponseMessage: T,
|
9951
9957
|
elapsedSeconds: O
|
9952
9958
|
}
|
9953
9959
|
});
|
@@ -9961,13 +9967,13 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
9961
9967
|
return;
|
9962
9968
|
const x = /* @__PURE__ */ new Date();
|
9963
9969
|
z(!1);
|
9964
|
-
const
|
9970
|
+
const T = v.filter((ae) => ae.role === "user").length + 1;
|
9965
9971
|
W({
|
9966
9972
|
name: `${s}.bi.xpert.chatbot.popup.chat.message.sent`,
|
9967
9973
|
payload: {
|
9968
9974
|
category: "2u",
|
9969
9975
|
label: "xpert-chatbot",
|
9970
|
-
totalUserInputMessagesSent:
|
9976
|
+
totalUserInputMessagesSent: T,
|
9971
9977
|
userInputMessage: L,
|
9972
9978
|
isTestUser: te
|
9973
9979
|
}
|
@@ -10101,7 +10107,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10101
10107
|
}, ln = (L) => {
|
10102
10108
|
L.key === "Enter" && q.trim() === "" || L.key === "Enter" && !L.shiftKey && (L.preventDefault(), ze(q));
|
10103
10109
|
}, an = (L, x = "") => {
|
10104
|
-
const
|
10110
|
+
const T = v.map((O, $) => L === $ ? (W({
|
10105
10111
|
name: `${s}.bi.xpert.chatbot.feedback.thumbs.${x.toLowerCase()}.clicked`,
|
10106
10112
|
payload: {
|
10107
10113
|
category: "2u",
|
@@ -10115,7 +10121,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10115
10121
|
...O,
|
10116
10122
|
feedbackThumbType: x
|
10117
10123
|
}) : O);
|
10118
|
-
j(
|
10124
|
+
j(T), ne(!1);
|
10119
10125
|
};
|
10120
10126
|
return (
|
10121
10127
|
// do not remove this class as it's needed to turn off chatbot
|
@@ -10159,7 +10165,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10159
10165
|
{
|
10160
10166
|
"data-ot-ignore": "",
|
10161
10167
|
className: "xpert-chatbot-button__logo optanon-category-C0001",
|
10162
|
-
src:
|
10168
|
+
src: Qf[i.xpertKey],
|
10163
10169
|
alt: "xpert logo",
|
10164
10170
|
"aria-hidden": !0,
|
10165
10171
|
style: { width: a == null ? void 0 : a.iconWidth }
|
@@ -10174,7 +10180,7 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10174
10180
|
style: { display: "flex", flexDirection: "column", height: "100%" },
|
10175
10181
|
"aria-label": "XPERT Chatbot Popup",
|
10176
10182
|
role: "dialog",
|
10177
|
-
children: M ||
|
10183
|
+
children: M || I || v.length > 0 ? /* @__PURE__ */ D.jsxs(D.Fragment, { children: [
|
10178
10184
|
/* @__PURE__ */ D.jsx(
|
10179
10185
|
Jo,
|
10180
10186
|
{
|
@@ -10188,19 +10194,19 @@ function el({ xpertKey: e, submitEventExternal: t, configurations: n }) {
|
|
10188
10194
|
),
|
10189
10195
|
/* @__PURE__ */ D.jsxs("div", { style: { padding: "0 1.5rem", overflow: "auto" }, children: [
|
10190
10196
|
/* @__PURE__ */ D.jsx(
|
10191
|
-
|
10197
|
+
Lf,
|
10192
10198
|
{
|
10193
10199
|
messages: v,
|
10194
10200
|
loading: B,
|
10195
10201
|
isNormalSize: S || F,
|
10196
10202
|
onFeedbackThumbSelection: an,
|
10197
10203
|
onPromptClick: ze,
|
10198
|
-
showDisclaimerText:
|
10204
|
+
showDisclaimerText: I,
|
10199
10205
|
configurations: i
|
10200
10206
|
}
|
10201
10207
|
),
|
10202
10208
|
B && /* @__PURE__ */ D.jsx(uo, { disableScroll: d }),
|
10203
|
-
C && /* @__PURE__ */ D.jsx(
|
10209
|
+
C && /* @__PURE__ */ D.jsx(xu, {})
|
10204
10210
|
] }),
|
10205
10211
|
/* @__PURE__ */ D.jsxs("div", { style: { marginTop: "auto", display: "flex" }, children: [
|
10206
10212
|
i.isLiveChatEnabled && /* @__PURE__ */ D.jsx(
|