@veracity/ai 2.5.3 → 2.5.4
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/veracity-ai.es.js +230 -230
- package/dist/veracity-ai.umd.js +1 -1
- package/package.json +1 -1
package/dist/veracity-ai.es.js
CHANGED
|
@@ -661,8 +661,8 @@ function Pn(e) {
|
|
|
661
661
|
}, reconcile: async (i, o, a) => {
|
|
662
662
|
let u = 0, l = [];
|
|
663
663
|
Object.keys(o.entries).forEach(function(m) {
|
|
664
|
-
let
|
|
665
|
-
(!v || n.isFile(
|
|
664
|
+
let h = o.entries[m], v = a.entries[m];
|
|
665
|
+
(!v || n.isFile(h.mode) && h.timestamp.getTime() > v.timestamp.getTime()) && (l.push(m), u++);
|
|
666
666
|
}), l.sort();
|
|
667
667
|
let c = [];
|
|
668
668
|
if (Object.keys(a.entries).forEach(function(m) {
|
|
@@ -670,19 +670,19 @@ function Pn(e) {
|
|
|
670
670
|
}), c.sort().reverse(), !u) return;
|
|
671
671
|
let p = o.type === "remote" ? o.handles : a.handles;
|
|
672
672
|
for (let m of l) {
|
|
673
|
-
let
|
|
673
|
+
let h = r.normalize(m.replace(i.mountpoint, "/")).substring(1);
|
|
674
674
|
if (a.type === "local") {
|
|
675
|
-
let v = p.get(
|
|
675
|
+
let v = p.get(h), S = await s.loadRemoteEntry(v);
|
|
676
676
|
s.storeLocalEntry(m, S);
|
|
677
677
|
} else {
|
|
678
678
|
let v = s.loadLocalEntry(m);
|
|
679
|
-
await s.storeRemoteEntry(p,
|
|
679
|
+
await s.storeRemoteEntry(p, h, v);
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
682
|
for (let m of c) if (a.type === "local") s.removeLocalEntry(m);
|
|
683
683
|
else {
|
|
684
|
-
let
|
|
685
|
-
await s.removeRemoteEntry(p,
|
|
684
|
+
let h = r.normalize(m.replace(i.mountpoint, "/")).substring(1);
|
|
685
|
+
await s.removeRemoteEntry(p, h);
|
|
686
686
|
}
|
|
687
687
|
} };
|
|
688
688
|
e.FS.filesystems.NATIVEFS_ASYNC = s;
|
|
@@ -1155,7 +1155,7 @@ function Se(e, n, t, r) {
|
|
|
1155
1155
|
i.onfinish = s;
|
|
1156
1156
|
});
|
|
1157
1157
|
}
|
|
1158
|
-
var
|
|
1158
|
+
var de = /* @__PURE__ */ ((e) => (e.Primary = "btn-primary", e.Secondary = "btn-secondary", e.Tertiary = "btn-tertiary", e.Badge = "btn-badge", e.CTA = "btn-cta", e.Destructive = "btn-destructive", e))(de || {}), He = /* @__PURE__ */ ((e) => (e.Small = "btn-sm", e.Medium = "btn-md", e.Large = "btn-lg", e.ExtraLarge = "btn-xl", e))(He || {});
|
|
1159
1159
|
function Je({ as: e = "button", type: n, variant: t = "btn-primary", size: r = "btn-lg", ...s }, i) {
|
|
1160
1160
|
const o = /* @__PURE__ */ b(e, { ...s }, i);
|
|
1161
1161
|
return e === "button" && (o.type = n || "button"), o.classList.add("btn"), t && o.classList.add(t), r && o.classList.add(r), o;
|
|
@@ -1292,7 +1292,7 @@ function Zn(e, n) {
|
|
|
1292
1292
|
function We(e) {
|
|
1293
1293
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
1294
1294
|
}
|
|
1295
|
-
const pe = Ee(/[A-Za-z]/),
|
|
1295
|
+
const pe = Ee(/[A-Za-z]/), he = Ee(/[\dA-Za-z]/), li = Ee(/[#-'*+\--9=?A-Z^-~]/);
|
|
1296
1296
|
function St(e) {
|
|
1297
1297
|
return (
|
|
1298
1298
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -1310,7 +1310,7 @@ function Z(e) {
|
|
|
1310
1310
|
function F(e) {
|
|
1311
1311
|
return e === -2 || e === -1 || e === 32;
|
|
1312
1312
|
}
|
|
1313
|
-
const
|
|
1313
|
+
const hi = Ee(new RegExp("\\p{P}|\\p{S}", "u")), di = Ee(/\s/);
|
|
1314
1314
|
function Ee(e) {
|
|
1315
1315
|
return n;
|
|
1316
1316
|
function n(t) {
|
|
@@ -1430,11 +1430,11 @@ function gi(e) {
|
|
|
1430
1430
|
function m(_) {
|
|
1431
1431
|
return n.containerState = {}, e.attempt(
|
|
1432
1432
|
en,
|
|
1433
|
-
|
|
1433
|
+
h,
|
|
1434
1434
|
v
|
|
1435
1435
|
)(_);
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function h(_) {
|
|
1438
1438
|
return r++, t.push([n.currentConstruct, n.containerState]), m(_);
|
|
1439
1439
|
}
|
|
1440
1440
|
function v(_) {
|
|
@@ -1508,9 +1508,9 @@ function bi(e, n, t) {
|
|
|
1508
1508
|
);
|
|
1509
1509
|
}
|
|
1510
1510
|
function tn(e) {
|
|
1511
|
-
if (e === null || Z(e) ||
|
|
1511
|
+
if (e === null || Z(e) || di(e))
|
|
1512
1512
|
return 1;
|
|
1513
|
-
if (
|
|
1513
|
+
if (hi(e))
|
|
1514
1514
|
return 2;
|
|
1515
1515
|
}
|
|
1516
1516
|
function Nt(e, n, t) {
|
|
@@ -1609,39 +1609,39 @@ const yi = {
|
|
|
1609
1609
|
function ki(e, n, t) {
|
|
1610
1610
|
let r = 0;
|
|
1611
1611
|
return s;
|
|
1612
|
-
function s(
|
|
1613
|
-
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(
|
|
1612
|
+
function s(h) {
|
|
1613
|
+
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), i;
|
|
1614
1614
|
}
|
|
1615
|
-
function i(
|
|
1616
|
-
return pe(
|
|
1615
|
+
function i(h) {
|
|
1616
|
+
return pe(h) ? (e.consume(h), o) : l(h);
|
|
1617
1617
|
}
|
|
1618
|
-
function o(
|
|
1619
|
-
return
|
|
1618
|
+
function o(h) {
|
|
1619
|
+
return h === 43 || h === 45 || h === 46 || he(h) ? (r = 1, a(h)) : l(h);
|
|
1620
1620
|
}
|
|
1621
|
-
function a(
|
|
1622
|
-
return
|
|
1621
|
+
function a(h) {
|
|
1622
|
+
return h === 58 ? (e.consume(h), r = 0, u) : (h === 43 || h === 45 || h === 46 || he(h)) && r++ < 32 ? (e.consume(h), a) : (r = 0, l(h));
|
|
1623
1623
|
}
|
|
1624
|
-
function u(
|
|
1625
|
-
return
|
|
1624
|
+
function u(h) {
|
|
1625
|
+
return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), n) : h === null || h === 32 || h === 60 || St(h) ? t(h) : (e.consume(h), u);
|
|
1626
1626
|
}
|
|
1627
|
-
function l(
|
|
1628
|
-
return
|
|
1627
|
+
function l(h) {
|
|
1628
|
+
return h === 64 ? (e.consume(h), c) : li(h) ? (e.consume(h), l) : t(h);
|
|
1629
1629
|
}
|
|
1630
|
-
function c(
|
|
1631
|
-
return
|
|
1630
|
+
function c(h) {
|
|
1631
|
+
return he(h) ? p(h) : t(h);
|
|
1632
1632
|
}
|
|
1633
|
-
function p(
|
|
1634
|
-
return
|
|
1633
|
+
function p(h) {
|
|
1634
|
+
return h === 46 ? (e.consume(h), r = 0, c) : h === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), n) : m(h);
|
|
1635
1635
|
}
|
|
1636
|
-
function m(
|
|
1637
|
-
if ((
|
|
1638
|
-
const v =
|
|
1639
|
-
return e.consume(
|
|
1636
|
+
function m(h) {
|
|
1637
|
+
if ((h === 45 || he(h)) && r++ < 63) {
|
|
1638
|
+
const v = h === 45 ? m : p;
|
|
1639
|
+
return e.consume(h), v;
|
|
1640
1640
|
}
|
|
1641
|
-
return t(
|
|
1641
|
+
return t(h);
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
|
-
const
|
|
1644
|
+
const ht = {
|
|
1645
1645
|
tokenize: zi,
|
|
1646
1646
|
partial: !0
|
|
1647
1647
|
};
|
|
@@ -1721,7 +1721,7 @@ function Ei(e, n, t) {
|
|
|
1721
1721
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), u;
|
|
1722
1722
|
}
|
|
1723
1723
|
function u(p) {
|
|
1724
|
-
return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), i = 31, o =
|
|
1724
|
+
return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), i = 31, o = he, c(p));
|
|
1725
1725
|
}
|
|
1726
1726
|
function l(p) {
|
|
1727
1727
|
return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, o = ui, c) : (e.enter("characterReferenceValue"), i = 7, o = _t, c(p));
|
|
@@ -1729,7 +1729,7 @@ function Ei(e, n, t) {
|
|
|
1729
1729
|
function c(p) {
|
|
1730
1730
|
if (p === 59 && s) {
|
|
1731
1731
|
const m = e.exit("characterReferenceValue");
|
|
1732
|
-
return o ===
|
|
1732
|
+
return o === he && !Rt(r.sliceSerialize(m)) ? t(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
|
|
1733
1733
|
}
|
|
1734
1734
|
return o(p) && s++ < i ? (e.consume(p), c) : t(p);
|
|
1735
1735
|
}
|
|
@@ -1765,9 +1765,9 @@ function Ti(e, n, t) {
|
|
|
1765
1765
|
}), m(x));
|
|
1766
1766
|
}
|
|
1767
1767
|
function m(x) {
|
|
1768
|
-
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(x)) : F(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), R(e,
|
|
1768
|
+
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(x)) : F(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), R(e, h, "whitespace")(x)) : x === 96 && x === a ? t(x) : (e.consume(x), m);
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function h(x) {
|
|
1771
1771
|
return x === null || E(x) ? p(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
1772
1772
|
contentType: "string"
|
|
1773
1773
|
}), v(x));
|
|
@@ -1935,17 +1935,17 @@ function Oi(e, n) {
|
|
|
1935
1935
|
const t = e[n][1], r = e[n][2];
|
|
1936
1936
|
let s = n - 1;
|
|
1937
1937
|
const i = [], o = t._tokenizer || r.parser[t.contentType](t.start), a = o.events, u = [], l = {};
|
|
1938
|
-
let c, p, m = -1,
|
|
1938
|
+
let c, p, m = -1, h = t, v = 0, S = 0;
|
|
1939
1939
|
const P = [S];
|
|
1940
|
-
for (;
|
|
1941
|
-
for (; e[++s][1] !==
|
|
1940
|
+
for (; h; ) {
|
|
1941
|
+
for (; e[++s][1] !== h; )
|
|
1942
1942
|
;
|
|
1943
|
-
i.push(s),
|
|
1943
|
+
i.push(s), h._tokenizer || (c = r.sliceStream(h), h.next || c.push(null), p && o.defineSkip(h.start), h._isInFirstContentOfListItem && (o._gfmTasklistFirstContentOfListItem = !0), o.write(c), h._isInFirstContentOfListItem && (o._gfmTasklistFirstContentOfListItem = void 0)), p = h, h = h.next;
|
|
1944
1944
|
}
|
|
1945
|
-
for (
|
|
1945
|
+
for (h = t; ++m < a.length; )
|
|
1946
1946
|
// Find a void token that includes a break.
|
|
1947
|
-
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (S = m + 1, P.push(S),
|
|
1948
|
-
for (o.events = [],
|
|
1947
|
+
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (S = m + 1, P.push(S), h._tokenizer = void 0, h.previous = void 0, h = h.next);
|
|
1948
|
+
for (o.events = [], h ? (h._tokenizer = void 0, h.previous = void 0) : P.pop(), m = P.length; m--; ) {
|
|
1949
1949
|
const z = a.slice(P[m], P[m + 1]), C = i.pop();
|
|
1950
1950
|
u.unshift([C, C + z.length - 1]), me(e, C, 2, z);
|
|
1951
1951
|
}
|
|
@@ -2013,13 +2013,13 @@ function rr(e, n, t, r, s, i, o, a, u) {
|
|
|
2013
2013
|
function m(z) {
|
|
2014
2014
|
return z === 62 ? (e.enter(i), e.consume(z), e.exit(i), e.exit(s), e.exit(r), n) : (e.enter(a), e.enter("chunkString", {
|
|
2015
2015
|
contentType: "string"
|
|
2016
|
-
}),
|
|
2016
|
+
}), h(z));
|
|
2017
2017
|
}
|
|
2018
|
-
function
|
|
2019
|
-
return z === 62 ? (e.exit("chunkString"), e.exit(a), m(z)) : z === null || z === 60 || E(z) ? t(z) : (e.consume(z), z === 92 ? v :
|
|
2018
|
+
function h(z) {
|
|
2019
|
+
return z === 62 ? (e.exit("chunkString"), e.exit(a), m(z)) : z === null || z === 60 || E(z) ? t(z) : (e.consume(z), z === 92 ? v : h);
|
|
2020
2020
|
}
|
|
2021
2021
|
function v(z) {
|
|
2022
|
-
return z === 60 || z === 62 || z === 92 ? (e.consume(z),
|
|
2022
|
+
return z === 60 || z === 62 || z === 92 ? (e.consume(z), h) : h(z);
|
|
2023
2023
|
}
|
|
2024
2024
|
function S(z) {
|
|
2025
2025
|
return !c && (z === null || z === 41 || Z(z)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(z)) : c < l && z === 40 ? (e.consume(z), c++, S) : z === 41 ? (e.consume(z), c--, S) : z === null || z === 32 || z === 40 || St(z) ? t(z) : (e.consume(z), z === 92 ? P : S);
|
|
@@ -2032,24 +2032,24 @@ function ir(e, n, t, r, s, i) {
|
|
|
2032
2032
|
const o = this;
|
|
2033
2033
|
let a = 0, u;
|
|
2034
2034
|
return l;
|
|
2035
|
-
function l(
|
|
2036
|
-
return e.enter(r), e.enter(s), e.consume(
|
|
2035
|
+
function l(h) {
|
|
2036
|
+
return e.enter(r), e.enter(s), e.consume(h), e.exit(s), e.enter(i), c;
|
|
2037
2037
|
}
|
|
2038
|
-
function c(
|
|
2039
|
-
return a > 999 ||
|
|
2038
|
+
function c(h) {
|
|
2039
|
+
return a > 999 || h === null || h === 91 || h === 93 && !u || // To do: remove in the future once we’ve switched from
|
|
2040
2040
|
// `micromark-extension-footnote` to `micromark-extension-gfm-footnote`,
|
|
2041
2041
|
// which doesn’t need this.
|
|
2042
2042
|
// Hidden footnotes hook.
|
|
2043
2043
|
/* c8 ignore next 3 */
|
|
2044
|
-
|
|
2044
|
+
h === 94 && !a && "_hiddenFootnoteSupport" in o.parser.constructs ? t(h) : h === 93 ? (e.exit(i), e.enter(s), e.consume(h), e.exit(s), e.exit(r), n) : E(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), c) : (e.enter("chunkString", {
|
|
2045
2045
|
contentType: "string"
|
|
2046
|
-
}), p(
|
|
2046
|
+
}), p(h));
|
|
2047
2047
|
}
|
|
2048
|
-
function p(
|
|
2049
|
-
return
|
|
2048
|
+
function p(h) {
|
|
2049
|
+
return h === null || h === 91 || h === 93 || E(h) || a++ > 999 ? (e.exit("chunkString"), c(h)) : (e.consume(h), u || (u = !F(h)), h === 92 ? m : p);
|
|
2050
2050
|
}
|
|
2051
|
-
function m(
|
|
2052
|
-
return
|
|
2051
|
+
function m(h) {
|
|
2052
|
+
return h === 91 || h === 92 || h === 93 ? (e.consume(h), a++, p) : p(h);
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
2055
|
function sr(e, n, t, r, s, i) {
|
|
@@ -2095,10 +2095,10 @@ function Hi(e, n, t) {
|
|
|
2095
2095
|
const r = this;
|
|
2096
2096
|
let s;
|
|
2097
2097
|
return i;
|
|
2098
|
-
function i(
|
|
2099
|
-
return e.enter("definition"), o(
|
|
2098
|
+
function i(h) {
|
|
2099
|
+
return e.enter("definition"), o(h);
|
|
2100
2100
|
}
|
|
2101
|
-
function o(
|
|
2101
|
+
function o(h) {
|
|
2102
2102
|
return ir.call(
|
|
2103
2103
|
r,
|
|
2104
2104
|
e,
|
|
@@ -2108,17 +2108,17 @@ function Hi(e, n, t) {
|
|
|
2108
2108
|
"definitionLabel",
|
|
2109
2109
|
"definitionLabelMarker",
|
|
2110
2110
|
"definitionLabelString"
|
|
2111
|
-
)(
|
|
2111
|
+
)(h);
|
|
2112
2112
|
}
|
|
2113
|
-
function a(
|
|
2113
|
+
function a(h) {
|
|
2114
2114
|
return s = We(
|
|
2115
2115
|
r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)
|
|
2116
|
-
),
|
|
2116
|
+
), h === 58 ? (e.enter("definitionMarker"), e.consume(h), e.exit("definitionMarker"), u) : t(h);
|
|
2117
2117
|
}
|
|
2118
|
-
function u(
|
|
2119
|
-
return Z(
|
|
2118
|
+
function u(h) {
|
|
2119
|
+
return Z(h) ? Ve(e, l)(h) : l(h);
|
|
2120
2120
|
}
|
|
2121
|
-
function l(
|
|
2121
|
+
function l(h) {
|
|
2122
2122
|
return rr(
|
|
2123
2123
|
e,
|
|
2124
2124
|
c,
|
|
@@ -2129,16 +2129,16 @@ function Hi(e, n, t) {
|
|
|
2129
2129
|
"definitionDestinationLiteralMarker",
|
|
2130
2130
|
"definitionDestinationRaw",
|
|
2131
2131
|
"definitionDestinationString"
|
|
2132
|
-
)(
|
|
2132
|
+
)(h);
|
|
2133
2133
|
}
|
|
2134
|
-
function c(
|
|
2135
|
-
return e.attempt(Xi, p, p)(
|
|
2134
|
+
function c(h) {
|
|
2135
|
+
return e.attempt(Xi, p, p)(h);
|
|
2136
2136
|
}
|
|
2137
|
-
function p(
|
|
2138
|
-
return F(
|
|
2137
|
+
function p(h) {
|
|
2138
|
+
return F(h) ? R(e, m, "whitespace")(h) : m(h);
|
|
2139
2139
|
}
|
|
2140
|
-
function m(
|
|
2141
|
-
return
|
|
2140
|
+
function m(h) {
|
|
2141
|
+
return h === null || E(h) ? (e.exit("definition"), r.parser.defined.push(s), n(h)) : t(h);
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
2144
|
function Ki(e, n, t) {
|
|
@@ -2313,13 +2313,13 @@ function rs(e, n, t) {
|
|
|
2313
2313
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(f), p;
|
|
2314
2314
|
}
|
|
2315
2315
|
function p(f) {
|
|
2316
|
-
return f === 33 ? (e.consume(f), m) : f === 47 ? (e.consume(f), i = !0, S) : f === 63 ? (e.consume(f), s = 3, r.interrupt ? n :
|
|
2316
|
+
return f === 33 ? (e.consume(f), m) : f === 47 ? (e.consume(f), i = !0, S) : f === 63 ? (e.consume(f), s = 3, r.interrupt ? n : d) : pe(f) ? (e.consume(f), o = String.fromCharCode(f), P) : t(f);
|
|
2317
2317
|
}
|
|
2318
2318
|
function m(f) {
|
|
2319
|
-
return f === 45 ? (e.consume(f), s = 2,
|
|
2319
|
+
return f === 45 ? (e.consume(f), s = 2, h) : f === 91 ? (e.consume(f), s = 5, a = 0, v) : pe(f) ? (e.consume(f), s = 4, r.interrupt ? n : d) : t(f);
|
|
2320
2320
|
}
|
|
2321
|
-
function
|
|
2322
|
-
return f === 45 ? (e.consume(f), r.interrupt ? n :
|
|
2321
|
+
function h(f) {
|
|
2322
|
+
return f === 45 ? (e.consume(f), r.interrupt ? n : d) : t(f);
|
|
2323
2323
|
}
|
|
2324
2324
|
function v(f) {
|
|
2325
2325
|
const le = "CDATA[";
|
|
@@ -2333,7 +2333,7 @@ function rs(e, n, t) {
|
|
|
2333
2333
|
const le = f === 47, Te = o.toLowerCase();
|
|
2334
2334
|
return !le && !i && on.includes(Te) ? (s = 1, r.interrupt ? n(f) : A(f)) : Zi.includes(o.toLowerCase()) ? (s = 6, le ? (e.consume(f), z) : r.interrupt ? n(f) : A(f)) : (s = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(f) : i ? C(f) : _(f));
|
|
2335
2335
|
}
|
|
2336
|
-
return f === 45 ||
|
|
2336
|
+
return f === 45 || he(f) ? (e.consume(f), o += String.fromCharCode(f), P) : t(f);
|
|
2337
2337
|
}
|
|
2338
2338
|
function z(f) {
|
|
2339
2339
|
return f === 62 ? (e.consume(f), r.interrupt ? n : A) : t(f);
|
|
@@ -2345,7 +2345,7 @@ function rs(e, n, t) {
|
|
|
2345
2345
|
return f === 47 ? (e.consume(f), g) : f === 58 || f === 95 || pe(f) ? (e.consume(f), U) : F(f) ? (e.consume(f), _) : g(f);
|
|
2346
2346
|
}
|
|
2347
2347
|
function U(f) {
|
|
2348
|
-
return f === 45 || f === 46 || f === 58 || f === 95 ||
|
|
2348
|
+
return f === 45 || f === 46 || f === 58 || f === 95 || he(f) ? (e.consume(f), U) : D(f);
|
|
2349
2349
|
}
|
|
2350
2350
|
function D(f) {
|
|
2351
2351
|
return f === 61 ? (e.consume(f), x) : F(f) ? (e.consume(f), D) : _(f);
|
|
@@ -2369,7 +2369,7 @@ function rs(e, n, t) {
|
|
|
2369
2369
|
return f === null || E(f) ? A(f) : F(f) ? (e.consume(f), T) : t(f);
|
|
2370
2370
|
}
|
|
2371
2371
|
function A(f) {
|
|
2372
|
-
return f === 45 && s === 2 ? (e.consume(f), J) : f === 60 && s === 1 ? (e.consume(f), $) : f === 62 && s === 4 ? (e.consume(f), ae) : f === 63 && s === 3 ? (e.consume(f),
|
|
2372
|
+
return f === 45 && s === 2 ? (e.consume(f), J) : f === 60 && s === 1 ? (e.consume(f), $) : f === 62 && s === 4 ? (e.consume(f), ae) : f === 63 && s === 3 ? (e.consume(f), d) : f === 93 && s === 5 ? (e.consume(f), be) : E(f) && (s === 6 || s === 7) ? (e.exit("htmlFlowData"), e.check(
|
|
2373
2373
|
es,
|
|
2374
2374
|
we,
|
|
2375
2375
|
W
|
|
@@ -2389,7 +2389,7 @@ function rs(e, n, t) {
|
|
|
2389
2389
|
return f === null || E(f) ? W(f) : (e.enter("htmlFlowData"), A(f));
|
|
2390
2390
|
}
|
|
2391
2391
|
function J(f) {
|
|
2392
|
-
return f === 45 ? (e.consume(f),
|
|
2392
|
+
return f === 45 ? (e.consume(f), d) : A(f);
|
|
2393
2393
|
}
|
|
2394
2394
|
function $(f) {
|
|
2395
2395
|
return f === 47 ? (e.consume(f), o = "", oe) : A(f);
|
|
@@ -2402,10 +2402,10 @@ function rs(e, n, t) {
|
|
|
2402
2402
|
return pe(f) && o.length < 8 ? (e.consume(f), o += String.fromCharCode(f), oe) : A(f);
|
|
2403
2403
|
}
|
|
2404
2404
|
function be(f) {
|
|
2405
|
-
return f === 93 ? (e.consume(f),
|
|
2405
|
+
return f === 93 ? (e.consume(f), d) : A(f);
|
|
2406
2406
|
}
|
|
2407
|
-
function
|
|
2408
|
-
return f === 62 ? (e.consume(f), ae) : f === 45 && s === 2 ? (e.consume(f),
|
|
2407
|
+
function d(f) {
|
|
2408
|
+
return f === 62 ? (e.consume(f), ae) : f === 45 && s === 2 ? (e.consume(f), d) : A(f);
|
|
2409
2409
|
}
|
|
2410
2410
|
function ae(f) {
|
|
2411
2411
|
return f === null || E(f) ? (e.exit("htmlFlowData"), we(f)) : (e.consume(f), ae);
|
|
@@ -2427,7 +2427,7 @@ function is(e, n, t) {
|
|
|
2427
2427
|
function ss(e, n, t) {
|
|
2428
2428
|
return r;
|
|
2429
2429
|
function r(s) {
|
|
2430
|
-
return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), e.attempt(
|
|
2430
|
+
return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), e.attempt(ht, n, t);
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
2433
|
const os = {
|
|
@@ -2438,105 +2438,105 @@ function as(e, n, t) {
|
|
|
2438
2438
|
const r = this;
|
|
2439
2439
|
let s, i, o;
|
|
2440
2440
|
return a;
|
|
2441
|
-
function a(
|
|
2442
|
-
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(
|
|
2441
|
+
function a(d) {
|
|
2442
|
+
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(d), u;
|
|
2443
2443
|
}
|
|
2444
|
-
function u(
|
|
2445
|
-
return
|
|
2444
|
+
function u(d) {
|
|
2445
|
+
return d === 33 ? (e.consume(d), l) : d === 47 ? (e.consume(d), D) : d === 63 ? (e.consume(d), _) : pe(d) ? (e.consume(d), q) : t(d);
|
|
2446
2446
|
}
|
|
2447
|
-
function l(
|
|
2448
|
-
return
|
|
2447
|
+
function l(d) {
|
|
2448
|
+
return d === 45 ? (e.consume(d), c) : d === 91 ? (e.consume(d), i = 0, v) : pe(d) ? (e.consume(d), C) : t(d);
|
|
2449
2449
|
}
|
|
2450
|
-
function c(
|
|
2451
|
-
return
|
|
2450
|
+
function c(d) {
|
|
2451
|
+
return d === 45 ? (e.consume(d), h) : t(d);
|
|
2452
2452
|
}
|
|
2453
|
-
function p(
|
|
2454
|
-
return
|
|
2453
|
+
function p(d) {
|
|
2454
|
+
return d === null ? t(d) : d === 45 ? (e.consume(d), m) : E(d) ? (o = p, $(d)) : (e.consume(d), p);
|
|
2455
2455
|
}
|
|
2456
|
-
function m(
|
|
2457
|
-
return
|
|
2456
|
+
function m(d) {
|
|
2457
|
+
return d === 45 ? (e.consume(d), h) : p(d);
|
|
2458
2458
|
}
|
|
2459
|
-
function d
|
|
2460
|
-
return
|
|
2459
|
+
function h(d) {
|
|
2460
|
+
return d === 62 ? J(d) : d === 45 ? m(d) : p(d);
|
|
2461
2461
|
}
|
|
2462
|
-
function v(
|
|
2462
|
+
function v(d) {
|
|
2463
2463
|
const ae = "CDATA[";
|
|
2464
|
-
return
|
|
2464
|
+
return d === ae.charCodeAt(i++) ? (e.consume(d), i === ae.length ? S : v) : t(d);
|
|
2465
2465
|
}
|
|
2466
|
-
function S(
|
|
2467
|
-
return
|
|
2466
|
+
function S(d) {
|
|
2467
|
+
return d === null ? t(d) : d === 93 ? (e.consume(d), P) : E(d) ? (o = S, $(d)) : (e.consume(d), S);
|
|
2468
2468
|
}
|
|
2469
|
-
function P(
|
|
2470
|
-
return
|
|
2469
|
+
function P(d) {
|
|
2470
|
+
return d === 93 ? (e.consume(d), z) : S(d);
|
|
2471
2471
|
}
|
|
2472
|
-
function z(
|
|
2473
|
-
return
|
|
2472
|
+
function z(d) {
|
|
2473
|
+
return d === 62 ? J(d) : d === 93 ? (e.consume(d), z) : S(d);
|
|
2474
2474
|
}
|
|
2475
|
-
function C(
|
|
2476
|
-
return
|
|
2475
|
+
function C(d) {
|
|
2476
|
+
return d === null || d === 62 ? J(d) : E(d) ? (o = C, $(d)) : (e.consume(d), C);
|
|
2477
2477
|
}
|
|
2478
|
-
function _(
|
|
2479
|
-
return
|
|
2478
|
+
function _(d) {
|
|
2479
|
+
return d === null ? t(d) : d === 63 ? (e.consume(d), U) : E(d) ? (o = _, $(d)) : (e.consume(d), _);
|
|
2480
2480
|
}
|
|
2481
|
-
function U(
|
|
2482
|
-
return
|
|
2481
|
+
function U(d) {
|
|
2482
|
+
return d === 62 ? J(d) : _(d);
|
|
2483
2483
|
}
|
|
2484
|
-
function D(
|
|
2485
|
-
return pe(
|
|
2484
|
+
function D(d) {
|
|
2485
|
+
return pe(d) ? (e.consume(d), x) : t(d);
|
|
2486
2486
|
}
|
|
2487
|
-
function x(
|
|
2488
|
-
return
|
|
2487
|
+
function x(d) {
|
|
2488
|
+
return d === 45 || he(d) ? (e.consume(d), x) : L(d);
|
|
2489
2489
|
}
|
|
2490
|
-
function L(
|
|
2491
|
-
return E(
|
|
2490
|
+
function L(d) {
|
|
2491
|
+
return E(d) ? (o = L, $(d)) : F(d) ? (e.consume(d), L) : J(d);
|
|
2492
2492
|
}
|
|
2493
|
-
function q(
|
|
2494
|
-
return
|
|
2493
|
+
function q(d) {
|
|
2494
|
+
return d === 45 || he(d) ? (e.consume(d), q) : d === 47 || d === 62 || Z(d) ? I(d) : t(d);
|
|
2495
2495
|
}
|
|
2496
|
-
function I(
|
|
2497
|
-
return
|
|
2496
|
+
function I(d) {
|
|
2497
|
+
return d === 47 ? (e.consume(d), J) : d === 58 || d === 95 || pe(d) ? (e.consume(d), g) : E(d) ? (o = I, $(d)) : F(d) ? (e.consume(d), I) : J(d);
|
|
2498
2498
|
}
|
|
2499
|
-
function g(
|
|
2500
|
-
return
|
|
2499
|
+
function g(d) {
|
|
2500
|
+
return d === 45 || d === 46 || d === 58 || d === 95 || he(d) ? (e.consume(d), g) : T(d);
|
|
2501
2501
|
}
|
|
2502
|
-
function T(
|
|
2503
|
-
return
|
|
2502
|
+
function T(d) {
|
|
2503
|
+
return d === 61 ? (e.consume(d), A) : E(d) ? (o = T, $(d)) : F(d) ? (e.consume(d), T) : I(d);
|
|
2504
2504
|
}
|
|
2505
|
-
function A(
|
|
2506
|
-
return
|
|
2505
|
+
function A(d) {
|
|
2506
|
+
return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? t(d) : d === 34 || d === 39 ? (e.consume(d), s = d, W) : E(d) ? (o = A, $(d)) : F(d) ? (e.consume(d), A) : (e.consume(d), H);
|
|
2507
2507
|
}
|
|
2508
|
-
function W(
|
|
2509
|
-
return
|
|
2508
|
+
function W(d) {
|
|
2509
|
+
return d === s ? (e.consume(d), s = void 0, O) : d === null ? t(d) : E(d) ? (o = W, $(d)) : (e.consume(d), W);
|
|
2510
2510
|
}
|
|
2511
|
-
function H(
|
|
2512
|
-
return
|
|
2511
|
+
function H(d) {
|
|
2512
|
+
return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? t(d) : d === 47 || d === 62 || Z(d) ? I(d) : (e.consume(d), H);
|
|
2513
2513
|
}
|
|
2514
|
-
function O(
|
|
2515
|
-
return
|
|
2514
|
+
function O(d) {
|
|
2515
|
+
return d === 47 || d === 62 || Z(d) ? I(d) : t(d);
|
|
2516
2516
|
}
|
|
2517
|
-
function J(
|
|
2518
|
-
return
|
|
2517
|
+
function J(d) {
|
|
2518
|
+
return d === 62 ? (e.consume(d), e.exit("htmlTextData"), e.exit("htmlText"), n) : t(d);
|
|
2519
2519
|
}
|
|
2520
|
-
function $(
|
|
2521
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(
|
|
2520
|
+
function $(d) {
|
|
2521
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), oe;
|
|
2522
2522
|
}
|
|
2523
|
-
function oe(
|
|
2524
|
-
return F(
|
|
2523
|
+
function oe(d) {
|
|
2524
|
+
return F(d) ? R(
|
|
2525
2525
|
e,
|
|
2526
2526
|
be,
|
|
2527
2527
|
"linePrefix",
|
|
2528
2528
|
r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
2529
|
-
)(
|
|
2529
|
+
)(d) : be(d);
|
|
2530
2530
|
}
|
|
2531
|
-
function be(
|
|
2532
|
-
return e.enter("htmlTextData"), o(
|
|
2531
|
+
function be(d) {
|
|
2532
|
+
return e.enter("htmlTextData"), o(d);
|
|
2533
2533
|
}
|
|
2534
2534
|
}
|
|
2535
2535
|
const Ot = {
|
|
2536
2536
|
name: "labelEnd",
|
|
2537
2537
|
tokenize: ps,
|
|
2538
|
-
resolveTo:
|
|
2539
|
-
resolveAll:
|
|
2538
|
+
resolveTo: ds,
|
|
2539
|
+
resolveAll: hs
|
|
2540
2540
|
}, ls = {
|
|
2541
2541
|
tokenize: fs
|
|
2542
2542
|
}, us = {
|
|
@@ -2544,7 +2544,7 @@ const Ot = {
|
|
|
2544
2544
|
}, cs = {
|
|
2545
2545
|
tokenize: gs
|
|
2546
2546
|
};
|
|
2547
|
-
function
|
|
2547
|
+
function hs(e) {
|
|
2548
2548
|
let n = -1;
|
|
2549
2549
|
for (; ++n < e.length; ) {
|
|
2550
2550
|
const t = e[n][1];
|
|
@@ -2552,7 +2552,7 @@ function ds(e) {
|
|
|
2552
2552
|
}
|
|
2553
2553
|
return e;
|
|
2554
2554
|
}
|
|
2555
|
-
function
|
|
2555
|
+
function ds(e, n) {
|
|
2556
2556
|
let t = e.length, r = 0, s, i, o, a;
|
|
2557
2557
|
for (; t--; )
|
|
2558
2558
|
if (s = e[t][1], i) {
|
|
@@ -2798,24 +2798,24 @@ function Ss(e, n, t) {
|
|
|
2798
2798
|
const r = this, s = r.events[r.events.length - 1];
|
|
2799
2799
|
let i = s && s[1].type === "linePrefix" ? s[2].sliceSerialize(s[1], !0).length : 0, o = 0;
|
|
2800
2800
|
return a;
|
|
2801
|
-
function a(
|
|
2802
|
-
const v = r.containerState.type || (
|
|
2803
|
-
if (v === "listUnordered" ? !r.containerState.marker ||
|
|
2801
|
+
function a(h) {
|
|
2802
|
+
const v = r.containerState.type || (h === 42 || h === 43 || h === 45 ? "listUnordered" : "listOrdered");
|
|
2803
|
+
if (v === "listUnordered" ? !r.containerState.marker || h === r.containerState.marker : _t(h)) {
|
|
2804
2804
|
if (r.containerState.type || (r.containerState.type = v, e.enter(v, {
|
|
2805
2805
|
_container: !0
|
|
2806
2806
|
})), v === "listUnordered")
|
|
2807
|
-
return e.enter("listItemPrefix"),
|
|
2808
|
-
if (!r.interrupt ||
|
|
2809
|
-
return e.enter("listItemPrefix"), e.enter("listItemValue"), u(
|
|
2807
|
+
return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(rt, t, l)(h) : l(h);
|
|
2808
|
+
if (!r.interrupt || h === 49)
|
|
2809
|
+
return e.enter("listItemPrefix"), e.enter("listItemValue"), u(h);
|
|
2810
2810
|
}
|
|
2811
|
-
return t(
|
|
2811
|
+
return t(h);
|
|
2812
2812
|
}
|
|
2813
|
-
function u(
|
|
2814
|
-
return _t(
|
|
2813
|
+
function u(h) {
|
|
2814
|
+
return _t(h) && ++o < 10 ? (e.consume(h), u) : (!r.interrupt || o < 2) && (r.containerState.marker ? h === r.containerState.marker : h === 41 || h === 46) ? (e.exit("listItemValue"), l(h)) : t(h);
|
|
2815
2815
|
}
|
|
2816
|
-
function l(
|
|
2817
|
-
return e.enter("listItemMarker"), e.consume(
|
|
2818
|
-
|
|
2816
|
+
function l(h) {
|
|
2817
|
+
return e.enter("listItemMarker"), e.consume(h), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || h, e.check(
|
|
2818
|
+
ht,
|
|
2819
2819
|
// Can’t be empty when interrupting.
|
|
2820
2820
|
r.interrupt ? t : c,
|
|
2821
2821
|
e.attempt(
|
|
@@ -2825,19 +2825,19 @@ function Ss(e, n, t) {
|
|
|
2825
2825
|
)
|
|
2826
2826
|
);
|
|
2827
2827
|
}
|
|
2828
|
-
function c(
|
|
2829
|
-
return r.containerState.initialBlankLine = !0, i++, m(
|
|
2828
|
+
function c(h) {
|
|
2829
|
+
return r.containerState.initialBlankLine = !0, i++, m(h);
|
|
2830
2830
|
}
|
|
2831
|
-
function p(
|
|
2832
|
-
return F(
|
|
2831
|
+
function p(h) {
|
|
2832
|
+
return F(h) ? (e.enter("listItemPrefixWhitespace"), e.consume(h), e.exit("listItemPrefixWhitespace"), m) : t(h);
|
|
2833
2833
|
}
|
|
2834
|
-
function m(
|
|
2835
|
-
return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(
|
|
2834
|
+
function m(h) {
|
|
2835
|
+
return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(h);
|
|
2836
2836
|
}
|
|
2837
2837
|
}
|
|
2838
2838
|
function _s(e, n, t) {
|
|
2839
2839
|
const r = this;
|
|
2840
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
2840
|
+
return r.containerState._closeFlow = void 0, e.check(ht, s, i);
|
|
2841
2841
|
function s(a) {
|
|
2842
2842
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, R(
|
|
2843
2843
|
e,
|
|
@@ -2939,7 +2939,7 @@ const Ls = {
|
|
|
2939
2939
|
function Fs(e) {
|
|
2940
2940
|
const n = this, t = e.attempt(
|
|
2941
2941
|
// Try to parse a blank line.
|
|
2942
|
-
|
|
2942
|
+
ht,
|
|
2943
2943
|
r,
|
|
2944
2944
|
// Try to parse initial flow (essentially, only code).
|
|
2945
2945
|
e.attempt(
|
|
@@ -3005,8 +3005,8 @@ function or(e) {
|
|
|
3005
3005
|
let m = -1;
|
|
3006
3006
|
if (p)
|
|
3007
3007
|
for (; ++m < p.length; ) {
|
|
3008
|
-
const
|
|
3009
|
-
if (!
|
|
3008
|
+
const h = p[m];
|
|
3009
|
+
if (!h.previous || h.previous.call(r, r.previous))
|
|
3010
3010
|
return !0;
|
|
3011
3011
|
}
|
|
3012
3012
|
return !1;
|
|
@@ -3094,7 +3094,7 @@ function Ds(e, n, t) {
|
|
|
3094
3094
|
containerState: {},
|
|
3095
3095
|
events: [],
|
|
3096
3096
|
parser: e,
|
|
3097
|
-
sliceStream:
|
|
3097
|
+
sliceStream: h,
|
|
3098
3098
|
sliceSerialize: m,
|
|
3099
3099
|
now: v,
|
|
3100
3100
|
defineSkip: S,
|
|
@@ -3106,9 +3106,9 @@ function Ds(e, n, t) {
|
|
|
3106
3106
|
return o = re(o, T), P(), o[o.length - 1] !== null ? [] : (q(n, 0), l.events = Nt(i, l.events, l), l.events);
|
|
3107
3107
|
}
|
|
3108
3108
|
function m(T, A) {
|
|
3109
|
-
return Us(
|
|
3109
|
+
return Us(h(T), A);
|
|
3110
3110
|
}
|
|
3111
|
-
function
|
|
3111
|
+
function h(T) {
|
|
3112
3112
|
return Ps(o, T);
|
|
3113
3113
|
}
|
|
3114
3114
|
function v() {
|
|
@@ -3158,7 +3158,7 @@ function Ds(e, n, t) {
|
|
|
3158
3158
|
function L(T, A) {
|
|
3159
3159
|
return W;
|
|
3160
3160
|
function W(H, O, J) {
|
|
3161
|
-
let $, oe, be,
|
|
3161
|
+
let $, oe, be, d;
|
|
3162
3162
|
return Array.isArray(H) ? we(H) : "tokenize" in H ? (
|
|
3163
3163
|
// @ts-expect-error Looks like a construct.
|
|
3164
3164
|
we([H])
|
|
@@ -3181,7 +3181,7 @@ function Ds(e, n, t) {
|
|
|
3181
3181
|
function f(V) {
|
|
3182
3182
|
return Ke;
|
|
3183
3183
|
function Ke(ve) {
|
|
3184
|
-
return
|
|
3184
|
+
return d = I(), be = V, V.partial || (l.currentConstruct = V), V.name && l.parser.constructs.disable.null.includes(V.name) ? Te() : V.tokenize.call(
|
|
3185
3185
|
// If we do have fields, create an object w/ `context` as its
|
|
3186
3186
|
// prototype.
|
|
3187
3187
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
@@ -3193,10 +3193,10 @@ function Ds(e, n, t) {
|
|
|
3193
3193
|
}
|
|
3194
3194
|
}
|
|
3195
3195
|
function le(V) {
|
|
3196
|
-
return T(be,
|
|
3196
|
+
return T(be, d), O;
|
|
3197
3197
|
}
|
|
3198
3198
|
function Te(V) {
|
|
3199
|
-
return
|
|
3199
|
+
return d.restore(), ++oe < $.length ? f($[oe]) : J;
|
|
3200
3200
|
}
|
|
3201
3201
|
}
|
|
3202
3202
|
}
|
|
@@ -3374,16 +3374,16 @@ function Ys() {
|
|
|
3374
3374
|
return s;
|
|
3375
3375
|
function s(i, o, a) {
|
|
3376
3376
|
const u = [];
|
|
3377
|
-
let l, c, p, m,
|
|
3377
|
+
let l, c, p, m, h;
|
|
3378
3378
|
for (i = n + (typeof i == "string" ? i.toString() : new TextDecoder(o || void 0).decode(i)), p = 0, n = "", t && (i.charCodeAt(0) === 65279 && p++, t = void 0); p < i.length; ) {
|
|
3379
|
-
if (ln.lastIndex = p, l = ln.exec(i), m = l && l.index !== void 0 ? l.index : i.length,
|
|
3379
|
+
if (ln.lastIndex = p, l = ln.exec(i), m = l && l.index !== void 0 ? l.index : i.length, h = i.charCodeAt(m), !l) {
|
|
3380
3380
|
n = i.slice(p);
|
|
3381
3381
|
break;
|
|
3382
3382
|
}
|
|
3383
|
-
if (
|
|
3383
|
+
if (h === 10 && p === m && r)
|
|
3384
3384
|
u.push(-3), r = void 0;
|
|
3385
3385
|
else
|
|
3386
|
-
switch (r && (u.push(-5), r = void 0), p < m && (u.push(i.slice(p, m)), e += m - p),
|
|
3386
|
+
switch (r && (u.push(-5), r = void 0), p < m && (u.push(i.slice(p, m)), e += m - p), h) {
|
|
3387
3387
|
case 0: {
|
|
3388
3388
|
u.push(65533), e++;
|
|
3389
3389
|
break;
|
|
@@ -3494,7 +3494,7 @@ function io(e) {
|
|
|
3494
3494
|
characterReference: Ke,
|
|
3495
3495
|
codeFenced: u(P),
|
|
3496
3496
|
codeFencedFence: S,
|
|
3497
|
-
codeFencedFenceInfo:
|
|
3497
|
+
codeFencedFenceInfo: h,
|
|
3498
3498
|
codeFencedFenceMeta: v,
|
|
3499
3499
|
codeFlowValue: g,
|
|
3500
3500
|
codeIndented: u(z),
|
|
@@ -3522,7 +3522,7 @@ function io(e) {
|
|
|
3522
3522
|
listUnordered: u(),
|
|
3523
3523
|
paragraph: u(),
|
|
3524
3524
|
referenceString: le,
|
|
3525
|
-
resourceDestinationString:
|
|
3525
|
+
resourceDestinationString: d,
|
|
3526
3526
|
resourceTitleString: ae,
|
|
3527
3527
|
resource: we,
|
|
3528
3528
|
setextHeading: u(q),
|
|
@@ -3567,7 +3567,7 @@ function io(e) {
|
|
|
3567
3567
|
}
|
|
3568
3568
|
if (B.tokenStack.length > 0) {
|
|
3569
3569
|
const ue = B.tokenStack[B.tokenStack.length - 1];
|
|
3570
|
-
(ue[1] ||
|
|
3570
|
+
(ue[1] || hn).call(B, void 0, ue[0]);
|
|
3571
3571
|
}
|
|
3572
3572
|
for (k.position = {
|
|
3573
3573
|
start: Ce(w.length > 0 ? w[0][1].start : {
|
|
@@ -3662,7 +3662,7 @@ function io(e) {
|
|
|
3662
3662
|
function l(w, k) {
|
|
3663
3663
|
const B = this.stack.pop(), M = this.tokenStack.pop();
|
|
3664
3664
|
if (M)
|
|
3665
|
-
M[0].type !== w.type && (k ? k.call(this, w, M[0]) : (M[1] ||
|
|
3665
|
+
M[0].type !== w.type && (k ? k.call(this, w, M[0]) : (M[1] || hn).call(this, w, M[0]));
|
|
3666
3666
|
else throw new Error("Cannot close `" + w.type + "` (" + it({
|
|
3667
3667
|
start: w.start,
|
|
3668
3668
|
end: w.end
|
|
@@ -3681,7 +3681,7 @@ function io(e) {
|
|
|
3681
3681
|
k.start = Number.parseInt(this.sliceSerialize(w), 10), this.data.expectingFirstListItemValue = void 0;
|
|
3682
3682
|
}
|
|
3683
3683
|
}
|
|
3684
|
-
function
|
|
3684
|
+
function h() {
|
|
3685
3685
|
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3686
3686
|
k.lang = w;
|
|
3687
3687
|
}
|
|
@@ -3796,7 +3796,7 @@ function io(e) {
|
|
|
3796
3796
|
} else
|
|
3797
3797
|
B.alt = k;
|
|
3798
3798
|
}
|
|
3799
|
-
function
|
|
3799
|
+
function d() {
|
|
3800
3800
|
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3801
3801
|
k.url = w;
|
|
3802
3802
|
}
|
|
@@ -3986,7 +3986,7 @@ function so(e, n) {
|
|
|
3986
3986
|
}
|
|
3987
3987
|
}
|
|
3988
3988
|
}
|
|
3989
|
-
function
|
|
3989
|
+
function hn(e, n) {
|
|
3990
3990
|
throw e ? new Error("Cannot close `" + e.type + "` (" + it({
|
|
3991
3991
|
start: e.start,
|
|
3992
3992
|
end: e.end
|
|
@@ -4116,7 +4116,7 @@ function co(e, n, t) {
|
|
|
4116
4116
|
return g === 124 || (o = !0, i += 1), c(g);
|
|
4117
4117
|
}
|
|
4118
4118
|
function c(g) {
|
|
4119
|
-
return g === null ? t(g) : E(g) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"),
|
|
4119
|
+
return g === null ? t(g) : E(g) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), h) : t(g) : F(g) ? R(e, c, "whitespace")(g) : (i += 1, o && (o = !1, s += 1), g === 124 ? (e.enter("tableCellDivider"), e.consume(g), e.exit("tableCellDivider"), o = !0, c) : (e.enter("data"), p(g)));
|
|
4120
4120
|
}
|
|
4121
4121
|
function p(g) {
|
|
4122
4122
|
return g === null || g === 124 || Z(g) ? (e.exit("data"), c(g)) : (e.consume(g), g === 92 ? m : p);
|
|
@@ -4124,7 +4124,7 @@ function co(e, n, t) {
|
|
|
4124
4124
|
function m(g) {
|
|
4125
4125
|
return g === 92 || g === 124 ? (e.consume(g), p) : p(g);
|
|
4126
4126
|
}
|
|
4127
|
-
function
|
|
4127
|
+
function h(g) {
|
|
4128
4128
|
return r.interrupt = !1, r.parser.lazy[r.now().line] ? t(g) : (e.enter("tableDelimiterRow"), o = !1, F(g) ? R(e, v, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(g) : v(g));
|
|
4129
4129
|
}
|
|
4130
4130
|
function v(g) {
|
|
@@ -4168,8 +4168,8 @@ function ho(e, n) {
|
|
|
4168
4168
|
let t = -1, r = !0, s = 0, i = [0, 0, 0, 0], o = [0, 0, 0, 0], a = !1, u = 0, l, c, p;
|
|
4169
4169
|
const m = new oo();
|
|
4170
4170
|
for (; ++t < e.length; ) {
|
|
4171
|
-
const
|
|
4172
|
-
|
|
4171
|
+
const h = e[t], v = h[1];
|
|
4172
|
+
h[0] === "enter" ? v.type === "tableHead" ? (a = !1, u !== 0 && (dn(m, n, u, l, c), c = void 0, u = 0), l = {
|
|
4173
4173
|
type: "table",
|
|
4174
4174
|
start: Object.assign({}, v.start),
|
|
4175
4175
|
// Note: correct end is set later.
|
|
@@ -4181,9 +4181,9 @@ function ho(e, n) {
|
|
|
4181
4181
|
end: Object.assign({}, v.end)
|
|
4182
4182
|
}, m.add(t, 0, [["enter", c, n]])), s = v.type === "tableDelimiterRow" ? 2 : c ? 3 : 1) : s && (v.type === "data" || v.type === "tableDelimiterMarker" || v.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (i[1] !== 0 && (o[0] = o[1], p = tt(m, n, i, s, void 0, p), i = [0, 0, 0, 0]), o[2] = t)) : v.type === "tableCellDivider" && (r ? r = !1 : (i[1] !== 0 && (o[0] = o[1], p = tt(m, n, i, s, void 0, p)), i = o, o = [i[1], t, 0, 0])) : v.type === "tableHead" ? (a = !0, u = t) : v.type === "tableRow" || v.type === "tableDelimiterRow" ? (u = t, i[1] !== 0 ? (o[0] = o[1], p = tt(m, n, i, s, t, p)) : o[1] !== 0 && (p = tt(m, n, o, s, t, p)), s = 0) : s && (v.type === "data" || v.type === "tableDelimiterMarker" || v.type === "tableDelimiterFiller") && (o[3] = t);
|
|
4183
4183
|
}
|
|
4184
|
-
for (u !== 0 &&
|
|
4185
|
-
const
|
|
4186
|
-
|
|
4184
|
+
for (u !== 0 && dn(m, n, u, l, c), m.consume(n.events), t = -1; ++t < n.events.length; ) {
|
|
4185
|
+
const h = n.events[t];
|
|
4186
|
+
h[0] === "enter" && h[1].type === "table" && (h[1]._align = lo(n.events, t));
|
|
4187
4187
|
}
|
|
4188
4188
|
return e;
|
|
4189
4189
|
}
|
|
@@ -4203,8 +4203,8 @@ function tt(e, n, t, r, s, i) {
|
|
|
4203
4203
|
end: Object.assign({}, c)
|
|
4204
4204
|
};
|
|
4205
4205
|
if (e.add(t[2], 0, [["enter", p, n]]), r !== 2) {
|
|
4206
|
-
const m = n.events[t[2]],
|
|
4207
|
-
if (m[1].end = Object.assign({},
|
|
4206
|
+
const m = n.events[t[2]], h = n.events[t[3]];
|
|
4207
|
+
if (m[1].end = Object.assign({}, h[1].end), m[1].type = "chunkText", m[1].contentType = "text", t[3] > t[2] + 1) {
|
|
4208
4208
|
const v = t[2] + 1, S = t[3] - t[2] - 1;
|
|
4209
4209
|
e.add(v, S, []);
|
|
4210
4210
|
}
|
|
@@ -4213,7 +4213,7 @@ function tt(e, n, t, r, s, i) {
|
|
|
4213
4213
|
}
|
|
4214
4214
|
return s !== void 0 && (i.end = Object.assign({}, je(n.events, s)), e.add(s, 0, [["exit", i, n]]), i = void 0), i;
|
|
4215
4215
|
}
|
|
4216
|
-
function
|
|
4216
|
+
function dn(e, n, t, r, s) {
|
|
4217
4217
|
const i = [], o = je(n.events, t);
|
|
4218
4218
|
s && (s.end = Object.assign({}, o), i.push(["exit", s, n])), r.end = Object.assign({}, o), i.push(["exit", r, n]), e.add(t + 1, 0, i);
|
|
4219
4219
|
}
|
|
@@ -4370,9 +4370,9 @@ function vo(e, n, t) {
|
|
|
4370
4370
|
return e.attempt({
|
|
4371
4371
|
tokenize: z,
|
|
4372
4372
|
partial: !0
|
|
4373
|
-
}, P,
|
|
4373
|
+
}, P, h)(C);
|
|
4374
4374
|
}
|
|
4375
|
-
function
|
|
4375
|
+
function h(C) {
|
|
4376
4376
|
return (i ? R(e, v, "linePrefix", i + 1) : v)(C);
|
|
4377
4377
|
}
|
|
4378
4378
|
function v(C) {
|
|
@@ -4426,13 +4426,13 @@ function So(e) {
|
|
|
4426
4426
|
return S === 36 ? (s.consume(S), a++, p) : a < 2 && !t ? o(S) : (s.exit("mathTextSequence"), m(S));
|
|
4427
4427
|
}
|
|
4428
4428
|
function m(S) {
|
|
4429
|
-
return S === null ? o(S) : S === 36 ? (l = s.enter("mathTextSequence"), u = 0, v(S)) : S === 32 ? (s.enter("space"), s.consume(S), s.exit("space"), m) : E(S) ? (s.enter("lineEnding"), s.consume(S), s.exit("lineEnding"), m) : (s.enter("mathTextData"),
|
|
4429
|
+
return S === null ? o(S) : S === 36 ? (l = s.enter("mathTextSequence"), u = 0, v(S)) : S === 32 ? (s.enter("space"), s.consume(S), s.exit("space"), m) : E(S) ? (s.enter("lineEnding"), s.consume(S), s.exit("lineEnding"), m) : (s.enter("mathTextData"), h(S));
|
|
4430
4430
|
}
|
|
4431
|
-
function
|
|
4432
|
-
return S === null || S === 32 || S === 36 || E(S) ? (s.exit("mathTextData"), m(S)) : (s.consume(S),
|
|
4431
|
+
function h(S) {
|
|
4432
|
+
return S === null || S === 32 || S === 36 || E(S) ? (s.exit("mathTextData"), m(S)) : (s.consume(S), h);
|
|
4433
4433
|
}
|
|
4434
4434
|
function v(S) {
|
|
4435
|
-
return S === 36 ? (s.consume(S), u++, v) : u === a ? (s.exit("mathTextSequence"), s.exit("mathText"), i(S)) : (l.type = "mathTextData",
|
|
4435
|
+
return S === 36 ? (s.consume(S), u++, v) : u === a ? (s.exit("mathTextSequence"), s.exit("mathText"), i(S)) : (l.type = "mathTextData", h(S));
|
|
4436
4436
|
}
|
|
4437
4437
|
}
|
|
4438
4438
|
}
|
|
@@ -4549,9 +4549,9 @@ function Dt(e, n, t, r) {
|
|
|
4549
4549
|
extensions: [uo(), To()],
|
|
4550
4550
|
mdastExtensions: [po(), Ao(), ...r]
|
|
4551
4551
|
}), i = {}, o = {};
|
|
4552
|
-
|
|
4552
|
+
hr(s, i, o), At(s, e, i, o, t);
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function hr(e, n, t) {
|
|
4555
4555
|
for (const r of e.children) {
|
|
4556
4556
|
switch (r.type) {
|
|
4557
4557
|
case "definition":
|
|
@@ -4559,7 +4559,7 @@ function dr(e, n, t) {
|
|
|
4559
4559
|
s && (n[s] = r, t[s.toLowerCase()] = r);
|
|
4560
4560
|
continue;
|
|
4561
4561
|
}
|
|
4562
|
-
r.children &&
|
|
4562
|
+
r.children && hr(r, n, t);
|
|
4563
4563
|
}
|
|
4564
4564
|
}
|
|
4565
4565
|
function At(e, n, t, r, s) {
|
|
@@ -4887,7 +4887,7 @@ function K(e) {
|
|
|
4887
4887
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
4888
4888
|
}
|
|
4889
4889
|
var se = /* @__PURE__ */ ((e) => (e.ExtraSmall = "16", e.Small = "20", e.Medium = "24", e.Large = "28", e.ExtraLarge = "32", e.ExtraExtraLarge = "40", e))(se || {});
|
|
4890
|
-
function
|
|
4890
|
+
function dt({ size: e = se.Medium, ...n }) {
|
|
4891
4891
|
const t = K("svg");
|
|
4892
4892
|
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
4893
4893
|
const r = K("path");
|
|
@@ -4896,7 +4896,7 @@ function ht({ size: e = se.Medium, ...n }) {
|
|
|
4896
4896
|
"M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"
|
|
4897
4897
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
4898
4898
|
}
|
|
4899
|
-
function
|
|
4899
|
+
function dr({ size: e = se.Medium, ...n }) {
|
|
4900
4900
|
const t = K("svg");
|
|
4901
4901
|
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
4902
4902
|
const r = K("path");
|
|
@@ -4977,7 +4977,7 @@ class Wo extends ut {
|
|
|
4977
4977
|
s = /* @__PURE__ */ b(Ut, { class: "text-Sea-Blue-Main-28" });
|
|
4978
4978
|
break;
|
|
4979
4979
|
case ce.Success:
|
|
4980
|
-
s = /* @__PURE__ */ b(
|
|
4980
|
+
s = /* @__PURE__ */ b(dr, { class: "text-Land-Green-30" });
|
|
4981
4981
|
break;
|
|
4982
4982
|
}
|
|
4983
4983
|
s.classList.add("shrink-0");
|
|
@@ -5025,7 +5025,7 @@ class Xo {
|
|
|
5025
5025
|
}
|
|
5026
5026
|
}
|
|
5027
5027
|
selected() {
|
|
5028
|
-
this.possiblyRemoveSpinner(), this.node.insertBefore(/* @__PURE__ */ b(
|
|
5028
|
+
this.possiblyRemoveSpinner(), this.node.insertBefore(/* @__PURE__ */ b(dt, { size: se.Small }), this.node.firstChild);
|
|
5029
5029
|
}
|
|
5030
5030
|
possiblyRemoveSpinner() {
|
|
5031
5031
|
var n;
|
|
@@ -5035,15 +5035,15 @@ class Xo {
|
|
|
5035
5035
|
function Ho(e) {
|
|
5036
5036
|
switch (e) {
|
|
5037
5037
|
case qe.Primary:
|
|
5038
|
-
return
|
|
5038
|
+
return de.Primary;
|
|
5039
5039
|
case qe.Secondary:
|
|
5040
|
-
return
|
|
5040
|
+
return de.Secondary;
|
|
5041
5041
|
case qe.Tertiary:
|
|
5042
|
-
return
|
|
5042
|
+
return de.Tertiary;
|
|
5043
5043
|
case qe.Destructive:
|
|
5044
|
-
return
|
|
5044
|
+
return de.Destructive;
|
|
5045
5045
|
case qe.CTA:
|
|
5046
|
-
return
|
|
5046
|
+
return de.CTA;
|
|
5047
5047
|
}
|
|
5048
5048
|
}
|
|
5049
5049
|
class Ko {
|
|
@@ -5235,7 +5235,7 @@ class xn {
|
|
|
5235
5235
|
Je,
|
|
5236
5236
|
{
|
|
5237
5237
|
class: "p-2 gap-2 group",
|
|
5238
|
-
variant:
|
|
5238
|
+
variant: de.Badge,
|
|
5239
5239
|
size: He.Medium,
|
|
5240
5240
|
onclick: () => this.expanded = !this.expanded
|
|
5241
5241
|
},
|
|
@@ -5297,7 +5297,7 @@ class xn {
|
|
|
5297
5297
|
}
|
|
5298
5298
|
}
|
|
5299
5299
|
setButtonSuccess() {
|
|
5300
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(
|
|
5300
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(dt, null), this._buttonIconWrapperNode.firstChild);
|
|
5301
5301
|
}
|
|
5302
5302
|
setButtonError() {
|
|
5303
5303
|
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(jt, null), this._buttonIconWrapperNode.firstChild);
|
|
@@ -5402,10 +5402,10 @@ class Qo {
|
|
|
5402
5402
|
y(this, "node");
|
|
5403
5403
|
y(this, "_buttonNode");
|
|
5404
5404
|
y(this, "_buttonIconWrapperNode");
|
|
5405
|
-
this.context = n, this.node = /* @__PURE__ */ b("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ b(Je, { as: "div", class: "p-2 pr-3 gap-2 select-none", variant:
|
|
5405
|
+
this.context = n, this.node = /* @__PURE__ */ b("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ b(Je, { as: "div", class: "p-2 pr-3 gap-2 select-none", variant: de.Badge, size: He.Medium }, this._buttonIconWrapperNode = /* @__PURE__ */ b("div", { width: "24px", height: "24px" }, /* @__PURE__ */ b(pt, { size: Ze.Small })), `Search for '${t}'`));
|
|
5406
5406
|
}
|
|
5407
5407
|
setButtonSuccess() {
|
|
5408
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(
|
|
5408
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(dt, null), this._buttonIconWrapperNode.firstChild);
|
|
5409
5409
|
}
|
|
5410
5410
|
setButtonError() {
|
|
5411
5411
|
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(jt, null), this._buttonIconWrapperNode.firstChild);
|
|
@@ -5442,7 +5442,7 @@ class Jo extends ut {
|
|
|
5442
5442
|
s = /* @__PURE__ */ b(Ut, { class: "text-Sea-Blue-Main-28" });
|
|
5443
5443
|
break;
|
|
5444
5444
|
case ce.Success:
|
|
5445
|
-
s = /* @__PURE__ */ b(
|
|
5445
|
+
s = /* @__PURE__ */ b(dr, { class: "text-Land-Green-30" });
|
|
5446
5446
|
break;
|
|
5447
5447
|
}
|
|
5448
5448
|
s.classList.add("shrink-0");
|
|
@@ -5451,7 +5451,7 @@ class Jo extends ut {
|
|
|
5451
5451
|
Je,
|
|
5452
5452
|
{
|
|
5453
5453
|
as: "a",
|
|
5454
|
-
variant:
|
|
5454
|
+
variant: de.Tertiary,
|
|
5455
5455
|
class: "min-w-24",
|
|
5456
5456
|
size: He.Medium,
|
|
5457
5457
|
target: "_blank",
|
|
@@ -5497,7 +5497,7 @@ function Zo({ size: e = se.Medium, ...n }) {
|
|
|
5497
5497
|
"M18.1215 16.0003L24.5315 9.59034L25.8534 8.26846C26.0484 8.07346 26.0484 7.75659 25.8534 7.56159L24.439 6.14721C24.244 5.95221 23.9271 5.95221 23.7321 6.14721L16.0002 13.8791L8.26837 6.14659C8.07337 5.95159 7.75649 5.95159 7.56149 6.14659L6.14649 7.56096C5.95149 7.75596 5.95149 8.07284 6.14649 8.26784L13.879 16.0003L6.14649 23.7322C5.95149 23.9272 5.95149 24.2441 6.14649 24.4391L7.56087 25.8535C7.75587 26.0485 8.07274 26.0485 8.26774 25.8535L16.0002 18.1216L22.4102 24.5316L23.7321 25.8535C23.9271 26.0485 24.244 26.0485 24.439 25.8535L25.8534 24.4391C26.0484 24.2441 26.0484 23.9272 25.8534 23.7322L18.1215 16.0003Z"
|
|
5498
5498
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5499
5499
|
}
|
|
5500
|
-
const Yo = ".dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;font-family:Gantari,sans-serif}.dialog-content{background:#fff;box-shadow:0 4px 20px #00000026;position:relative;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.dialog-close-button{position:absolute;top:10px;right:10px;background:transparent;border:none;cursor:pointer;padding:10px;display:flex;align-items:center;justify-content:center;transition:background .1s ease-out;color:#00348f;border-radius:3.40282e38px}.dialog-close-button:hover{background:#bce6f5}.dialog-header{padding:20px}.dialog-body{display:flex;flex-direction:column;border-top-width:1px;border-bottom-width:1px;border-top-style:solid;border-bottom-style:solid;border-color:#0000001a;padding-top:8px;padding-bottom:16px;padding-inline:20px;overflow-y:auto}.dialog-footer{gap:8px;padding:16px;display:flex;justify-content:flex-end;flex-shrink:0}.text-label-md{font-size:var(--text-lg, 1.5rem);font-weight:var(--font-weight-semibold, 600);color:#0f214d;margin:0}.text-label-sm{font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-normal, 400);color:#0f214d;line-height:1.5}.feedback-category{padding-bottom:16px}.feedback-suggestion-text{display:inline-block;padding:8px 16px;margin:4px 8px 4px 0;background:#d3eef8;border-radius
|
|
5500
|
+
const Yo = ".dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;font-family:Gantari,sans-serif}.dialog-content{background:#fff;box-shadow:0 4px 20px #00000026;position:relative;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.dialog-close-button{position:absolute;top:10px;right:10px;background:transparent;border:none;cursor:pointer;padding:10px;display:flex;align-items:center;justify-content:center;transition:background .1s ease-out;color:#00348f;border-radius:3.40282e38px}.dialog-close-button:hover{background:#bce6f5}.dialog-header{padding:20px}.dialog-body{display:flex;flex-direction:column;border-top-width:1px;border-bottom-width:1px;border-top-style:solid;border-bottom-style:solid;border-color:#0000001a;padding-top:8px;padding-bottom:16px;padding-inline:20px;overflow-y:auto}.dialog-footer{gap:8px;padding:16px;display:flex;justify-content:flex-end;flex-shrink:0}.text-label-md{font-size:var(--text-lg, 1.5rem);font-weight:var(--font-weight-semibold, 600);color:#0f214d;margin:0}.text-label-sm{font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-normal, 400);color:#0f214d;line-height:1.5}.feedback-category{padding-bottom:16px}.feedback-suggestion-text{display:inline-block;padding:8px 16px;margin:4px 8px 4px 0;background:#d3eef8;border-radius:.25rem;cursor:pointer;transition:all .1s ease-out;font-size:16px;letter-spacing:.05rem;color:#0f214d}.feedback-suggestion-text:hover{background:#a6def2}.feedback-suggestion-text-active:hover{background:#152d6a}.feedback-suggestion-text-active{background:#0f214d;color:#fff}.feedback-comment-text{width:100%;min-height:100px;font-family:var(--font-sans);font-size:var(--text-sm, 1rem);font-weight:var(--font-weight-normal, 400);letter-spacing:0;resize:none;box-sizing:border-box;transition:border-color .1s ease-out;background:#fff;color:#1a1a19;border-width:1px;border-color:#b5b3b0;padding-left:6px;padding-right:6px;padding-block:6px}.feedback-comment-text:focus{outline:none;border:2px solid #009fda}.btn-base-feedback{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex;height:auto;margin:0;outline:none;text-decoration:none;transition:background .1s ease-out,border-color .1s ease-out,color .1s ease-out,box-shadow .1s ease-out;white-space:nowrap;cursor:pointer;font-family:Gantari,sans-serif;font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-medium, 500);justify-content:center}.btn-primary-feedback{background:#00348f;color:#fff}.btn-primary-feedback:disabled{background:#95adea;color:#fff;cursor:not-allowed;opacity:.5}.btn-primary-feedback:hover{background:#002566}.btn-primary-feedback:active{background:#0041b2}.btn-primary-feedback:disabled:hover{background:#00348f;color:#fff}.btn-lg-feedback{min-width:40px;font-size:16px;letter-spacing:0;gap:8px;padding-inline:16px;padding-block:12px;font-weight:500;line-height:1}.flex{display:flex}.flex-col{flex-direction:column}.justify-end{justify-content:flex-end}.gap-2-feedback{gap:8px;padding-top:40px}.gap-5-feedback{gap:20px}.w-\\[600px\\]{width:600px}.pl-7-feedback{padding-top:28px}.footer-note{font-size:12px;color:#6c757d;line-height:1.5;padding-top:12px;text-align:left;font-weight:400;font-family:Gantari,sans-serif;letter-spacing:.02rem}.footer-note a{color:#6c757d;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;font-weight:500;transition:color .1s ease-out}.footer-note a:hover{color:#6c757d;text-decoration-thickness:2px}.dialog-close-button:focus-visible,.btn-base-feedback:focus-visible,.btn-link-feedback:focus-visible{box-shadow:0 0 0 2px #8bc8f0}.btn-base-feedback:disabled{opacity:.5;cursor:not-allowed}";
|
|
5501
5501
|
class mr {
|
|
5502
5502
|
constructor(n, t, r, s, i, o, a, u) {
|
|
5503
5503
|
y(this, "node");
|
|
@@ -5650,7 +5650,7 @@ class mr {
|
|
|
5650
5650
|
} }, /* @__PURE__ */ b(kt, null)), /* @__PURE__ */ b("a", { class: "btn btn-link-feedback p-1", onclick: () => {
|
|
5651
5651
|
const t = /* @__PURE__ */ b("div", { class: "dialog-overlay" }, /* @__PURE__ */ b("div", { role: "dialog", class: "dialog-content w-[600px]" }, /* @__PURE__ */ b("div", { class: "dialog-header" }, /* @__PURE__ */ b("label", { class: "text-label-md" }, "Tell us more"), /* @__PURE__ */ b("button", { onclick: () => t.remove(), class: "dialog-close-button" }, /* @__PURE__ */ b(Zo, { size: "22" }))), /* @__PURE__ */ b("div", { class: "dialog-body" }, /* @__PURE__ */ b("div", { class: "text-label-sm feedback-category" }, this._suggestionTextList.map((a, u) => /* @__PURE__ */ b("span", { class: "feedback-suggestion-text", onclick: (l) => {
|
|
5652
5652
|
const c = this;
|
|
5653
|
-
this._suggestionTextList.filter((
|
|
5653
|
+
this._suggestionTextList.filter((h, v) => v !== u && h.isActive).forEach((h) => h.isActive = !1), t.querySelectorAll(".feedback-suggestion-text").forEach((h) => h.classList.toggle("feedback-suggestion-text-active", !1)), a.isActive = !a.isActive, l.currentTarget.classList.toggle("feedback-suggestion-text-active", a.isActive), r.call(c);
|
|
5654
5654
|
} }, a.text))), /* @__PURE__ */ b("textarea", { placeholder: "Add special details (optional)", class: "feedback-comment-text" }), /* @__PURE__ */ b("div", { class: "footer-note" }, /* @__PURE__ */ b("a", { href: "https://id.veracity.com/terms-of-use", target: "_blank", rel: "noopener noreferrer" }, "Learn more"), " about how this data is used and your rights. By pressing Submit, your conversation will be used to improve Veracity products and services. ", /* @__PURE__ */ b("a", { href: "https://services.veracity.com/PrivacyStatement", target: "_blank", rel: "noopener noreferrer" }, "Privacy statement."))), /* @__PURE__ */ b("div", { class: "dialog-footer" }, /* @__PURE__ */ b(
|
|
5655
5655
|
"button",
|
|
5656
5656
|
{
|
|
@@ -5894,7 +5894,7 @@ class kn extends gr {
|
|
|
5894
5894
|
Je,
|
|
5895
5895
|
{
|
|
5896
5896
|
class: "p-2 gap-2 group",
|
|
5897
|
-
variant:
|
|
5897
|
+
variant: de.Badge,
|
|
5898
5898
|
size: He.Medium,
|
|
5899
5899
|
onclick: () => this.expanded = !this.expanded
|
|
5900
5900
|
},
|
|
@@ -5980,7 +5980,7 @@ class kn extends gr {
|
|
|
5980
5980
|
// onErrorBeforeReadingBodyStreamStarted(error: any) {
|
|
5981
5981
|
// }
|
|
5982
5982
|
setButtonSuccess() {
|
|
5983
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(
|
|
5983
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(dt, null), this._buttonIconWrapperNode.firstChild);
|
|
5984
5984
|
}
|
|
5985
5985
|
setButtonError() {
|
|
5986
5986
|
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(jt, null), this._buttonIconWrapperNode.firstChild);
|