@prismicio/cli 0.0.3-beta.13 → 0.0.3-beta.14
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/{acorn-Kjk7TBsB.js → acorn-CS7NizVC.js} +5 -5
- package/dist/{acorn-Kjk7TBsB.js.map → acorn-CS7NizVC.js.map} +1 -1
- package/dist/angular-C6HLxrYF.js +2747 -0
- package/dist/angular-C6HLxrYF.js.map +1 -0
- package/dist/{cli-DDs8_xoz.js → cli-BAoFCl0h.js} +11277 -7401
- package/dist/{cli-DDs8_xoz.js.map → cli-BAoFCl0h.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/{estree-Crg3uv-b.js → estree-vzvnmFiJ.js} +11 -11
- package/dist/{estree-Crg3uv-b.js.map → estree-vzvnmFiJ.js.map} +1 -1
- package/dist/{flow-BfOR5xDf.js → flow-CYUlbtN3.js} +10 -10
- package/dist/{flow-BfOR5xDf.js.map → flow-CYUlbtN3.js.map} +1 -1
- package/dist/{glimmer-BrWxkCwB.js → glimmer-BoZLExB5.js} +47 -47
- package/dist/{glimmer-BrWxkCwB.js.map → glimmer-BoZLExB5.js.map} +1 -1
- package/dist/{html-DgU-RMRK.js → html-l-HK6v37.js} +352 -345
- package/dist/html-l-HK6v37.js.map +1 -0
- package/dist/{index-_sNPxHKB.js → index-CB_JfkfK.js} +17 -17
- package/dist/{index-_sNPxHKB.js.map → index-CB_JfkfK.js.map} +1 -1
- package/dist/{index-CqzxeUkd.js → index-D92sTIpo.js} +158 -19
- package/dist/{index-CqzxeUkd.js.map → index-D92sTIpo.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{markdown-pHcq2aSu.js → markdown-CY_0g_B_.js} +875 -873
- package/dist/markdown-CY_0g_B_.js.map +1 -0
- package/dist/{multipart-parser-BFd74IrK.js → multipart-parser-D58VHS4P.js} +2 -2
- package/dist/{multipart-parser-BFd74IrK.js.map → multipart-parser-D58VHS4P.js.map} +1 -1
- package/dist/{postcss-D6IZ_qrn.js → postcss-sE6YzxJH.js} +47 -47
- package/dist/postcss-sE6YzxJH.js.map +1 -0
- package/dist/{yaml-DUjY_6xC.js → yaml-D06FaHfQ.js} +2 -2
- package/dist/{yaml-DUjY_6xC.js.map → yaml-D06FaHfQ.js.map} +1 -1
- package/package.json +15 -15
- package/dist/angular-Rg2yZ01U.js +0 -2737
- package/dist/angular-Rg2yZ01U.js.map +0 -1
- package/dist/html-DgU-RMRK.js.map +0 -1
- package/dist/markdown-pHcq2aSu.js.map +0 -1
- package/dist/postcss-D6IZ_qrn.js.map +0 -1
|
@@ -6,49 +6,49 @@ var ks = (e, t, r) => t in e ? Jr(e, t, { enumerable: true, configurable: true,
|
|
|
6
6
|
var en = (e, t) => {
|
|
7
7
|
for (var r in t) Jr(e, r, { get: t[r], enumerable: true });
|
|
8
8
|
};
|
|
9
|
-
var ir = (e, t, r) => ks(e, typeof t != "symbol" ? t + "" : t, r),
|
|
10
|
-
var $e = (e, t, r) => (
|
|
9
|
+
var ir = (e, t, r) => ks(e, typeof t != "symbol" ? t + "" : t, r), xs = (e, t, r) => t.has(e) || Zr("Cannot " + r);
|
|
10
|
+
var $e = (e, t, r) => (xs(e, t, "read from private field"), r ? r.call(e) : t.get(e)), tn = (e, t, r) => t.has(e) ? Zr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r);
|
|
11
11
|
var ws = {};
|
|
12
|
-
en(ws, { languages: () => ms, options: () => ds, parsers: () => Qr, printers: () =>
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
en(ws, { languages: () => ms, options: () => ds, parsers: () => Qr, printers: () => Ll });
|
|
13
|
+
var xe = (e, t) => (r, n, ...i) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, i);
|
|
14
|
+
var As = String.prototype.replaceAll ?? function(e, t) {
|
|
15
15
|
return e.global ? this.replace(e, t) : this.split(e).join(t);
|
|
16
|
-
},
|
|
17
|
-
if (typeof this == "string") return
|
|
18
|
-
}), w =
|
|
16
|
+
}, ys = xe("replaceAll", function() {
|
|
17
|
+
if (typeof this == "string") return As;
|
|
18
|
+
}), w = ys;
|
|
19
19
|
function Ns(e) {
|
|
20
20
|
return this[e < 0 ? this.length + e : e];
|
|
21
21
|
}
|
|
22
|
-
var Ls =
|
|
22
|
+
var Ls = xe("at", function() {
|
|
23
23
|
if (Array.isArray(this) || typeof this == "string") return Ns;
|
|
24
24
|
}), F = Ls;
|
|
25
25
|
var Ps = () => {
|
|
26
26
|
}, ze = Ps;
|
|
27
|
-
var Ye = "string", je = "array",
|
|
27
|
+
var Ye = "string", je = "array", St = "cursor", Ae = "indent", ye = "align", Et = "trim", Ne = "group", Le = "fill", Pe = "if-break", Oe = "indent-if-break", Ct = "line-suffix", vt = "line-suffix-boundary", Y = "line", Tt = "label", De = "break-parent", bt = /* @__PURE__ */ new Set([St, Ae, ye, Et, Ne, Le, Pe, Oe, Ct, vt, Y, Tt, De]);
|
|
28
28
|
function Os(e) {
|
|
29
29
|
if (typeof e == "string") return Ye;
|
|
30
30
|
if (Array.isArray(e)) return je;
|
|
31
31
|
if (!e) return;
|
|
32
32
|
let { type: t } = e;
|
|
33
|
-
if (
|
|
33
|
+
if (bt.has(t)) return t;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var wt = Os;
|
|
36
36
|
var Ds = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
|
|
37
|
-
function
|
|
37
|
+
function Is(e) {
|
|
38
38
|
let t = e === null ? "null" : typeof e;
|
|
39
39
|
if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
|
|
40
40
|
Expected it to be 'string' or 'object'.`;
|
|
41
|
-
if (
|
|
41
|
+
if (wt(e)) throw new Error("doc is valid.");
|
|
42
42
|
let r = Object.prototype.toString.call(e);
|
|
43
43
|
if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
|
|
44
|
-
let n = Ds([...
|
|
44
|
+
let n = Ds([...bt].map((i) => `'${i}'`));
|
|
45
45
|
return `Unexpected doc.type '${e.type}'.
|
|
46
46
|
Expected it to be ${n}.`;
|
|
47
47
|
}
|
|
48
48
|
var sr = class extends Error {
|
|
49
49
|
name = "InvalidDocError";
|
|
50
50
|
constructor(t) {
|
|
51
|
-
super(
|
|
51
|
+
super(Is(t)), this.doc = t;
|
|
52
52
|
}
|
|
53
53
|
}, rn = sr;
|
|
54
54
|
function ar(e, t) {
|
|
@@ -61,7 +61,7 @@ function ar(e, t) {
|
|
|
61
61
|
return r.set(s, a), a;
|
|
62
62
|
}
|
|
63
63
|
function i(s) {
|
|
64
|
-
switch (
|
|
64
|
+
switch (wt(s)) {
|
|
65
65
|
case je:
|
|
66
66
|
return t(s.map(n));
|
|
67
67
|
case Le:
|
|
@@ -72,16 +72,16 @@ function ar(e, t) {
|
|
|
72
72
|
let { expandedStates: a, contents: o } = s;
|
|
73
73
|
return a ? (a = a.map(n), o = a[0]) : o = n(o), t({ ...s, contents: o, expandedStates: a });
|
|
74
74
|
}
|
|
75
|
-
case xe:
|
|
76
75
|
case ye:
|
|
76
|
+
case Ae:
|
|
77
77
|
case Oe:
|
|
78
|
-
case
|
|
79
|
-
case
|
|
78
|
+
case Tt:
|
|
79
|
+
case Ct:
|
|
80
80
|
return t({ ...s, contents: n(s.contents) });
|
|
81
81
|
case Ye:
|
|
82
|
-
case _t:
|
|
83
82
|
case St:
|
|
84
|
-
case
|
|
83
|
+
case Et:
|
|
84
|
+
case vt:
|
|
85
85
|
case Y:
|
|
86
86
|
case De:
|
|
87
87
|
return t(s);
|
|
@@ -94,22 +94,22 @@ function L(e, t = nn) {
|
|
|
94
94
|
return ar(e, (r) => typeof r == "string" ? q(t, r.split(`
|
|
95
95
|
`)) : r);
|
|
96
96
|
}
|
|
97
|
-
var
|
|
98
|
-
function
|
|
99
|
-
return { type:
|
|
97
|
+
var kt = ze;
|
|
98
|
+
function A(e) {
|
|
99
|
+
return { type: Ae, contents: e };
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return { type:
|
|
101
|
+
function Rs(e, t) {
|
|
102
|
+
return { type: ye, contents: t, n: e };
|
|
103
103
|
}
|
|
104
104
|
function on(e) {
|
|
105
|
-
return
|
|
105
|
+
return Rs(Number.NEGATIVE_INFINITY, e);
|
|
106
106
|
}
|
|
107
107
|
var j = { type: De };
|
|
108
|
-
function
|
|
108
|
+
function xt(e) {
|
|
109
109
|
return { type: Le, parts: e };
|
|
110
110
|
}
|
|
111
111
|
function C(e, t = {}) {
|
|
112
|
-
return
|
|
112
|
+
return kt(t.expandedStates), { type: Ne, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
|
|
113
113
|
}
|
|
114
114
|
function X(e, t = "", r = {}) {
|
|
115
115
|
return { type: Pe, breakContents: e, flatContents: t, groupId: r.groupId };
|
|
@@ -212,7 +212,7 @@ var lr = class {
|
|
|
212
212
|
}
|
|
213
213
|
}, hn = lr;
|
|
214
214
|
var Vs = [" ", `
|
|
215
|
-
`, "\f", "\r", " "], Us = new hn(Vs),
|
|
215
|
+
`, "\f", "\r", " "], Us = new hn(Vs), y = Us;
|
|
216
216
|
var cr = class extends Error {
|
|
217
217
|
name = "UnexpectedNodeError";
|
|
218
218
|
constructor(t, r, n = "type") {
|
|
@@ -232,13 +232,13 @@ function fn(e, t, r) {
|
|
|
232
232
|
fn.ignoredProperties = Ws;
|
|
233
233
|
var dn = fn;
|
|
234
234
|
function K(e, t = true) {
|
|
235
|
-
return [
|
|
235
|
+
return [A([k, e]), t ? k : ""];
|
|
236
236
|
}
|
|
237
237
|
function W(e, t) {
|
|
238
238
|
let r = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpression" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
|
|
239
|
-
return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
|
|
239
|
+
return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression" || t.parser === "__ng_binding" || t.parser === "__ng_directive") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
|
|
240
240
|
}
|
|
241
|
-
async function
|
|
241
|
+
async function x(e, t, r, n) {
|
|
242
242
|
r = { __isInHtmlAttribute: true, __embeddedInHtml: true, ...r };
|
|
243
243
|
let i = true;
|
|
244
244
|
n && (r.__onHtmlBindingRoot = (a, o) => {
|
|
@@ -249,12 +249,12 @@ async function A(e, t, r, n) {
|
|
|
249
249
|
}
|
|
250
250
|
function $s(e, t, r, n) {
|
|
251
251
|
let { node: i } = r, s = n.originalText.slice(i.sourceSpan.start.offset, i.sourceSpan.end.offset);
|
|
252
|
-
return /^\s*$/u.test(s) ? "" :
|
|
252
|
+
return /^\s*$/u.test(s) ? "" : x(s, e, { parser: "__ng_directive", __isInHtmlAttribute: false }, W);
|
|
253
253
|
}
|
|
254
254
|
var gn = $s;
|
|
255
255
|
var zs = Array.prototype.toReversed ?? function() {
|
|
256
256
|
return [...this].reverse();
|
|
257
|
-
}, Ys =
|
|
257
|
+
}, Ys = xe("toReversed", function() {
|
|
258
258
|
if (Array.isArray(this)) return zs;
|
|
259
259
|
}), _n = Ys;
|
|
260
260
|
function js() {
|
|
@@ -281,7 +281,7 @@ var En = (e) => String(e).split(/[/\\]/u).pop(), Cn = (e) => String(e).startsWit
|
|
|
281
281
|
function Js(e) {
|
|
282
282
|
return Array.isArray(e) && e.length > 0;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
284
|
+
var Ie = Js;
|
|
285
285
|
function vn(e, t) {
|
|
286
286
|
if (!t) return;
|
|
287
287
|
let r = En(t).toLowerCase();
|
|
@@ -306,11 +306,11 @@ function ta(e, t) {
|
|
|
306
306
|
return (Zs(r, t.language) ?? vn(r, t.physicalFile) ?? vn(r, t.file) ?? Tn(r, t.physicalFile) ?? Tn(r, t.file) ?? ea?.(r, t.physicalFile))?.parsers[0];
|
|
307
307
|
}
|
|
308
308
|
var At = ta;
|
|
309
|
-
var yt = Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
309
|
+
var yt = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
310
310
|
function ra(e) {
|
|
311
311
|
return !!e?.[yt];
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var ce = ra;
|
|
314
314
|
var Xe = 3;
|
|
315
315
|
function na(e) {
|
|
316
316
|
let t = e.slice(0, Xe);
|
|
@@ -345,17 +345,17 @@ var bn = "inline", hr = { area: "none", base: "none", basefont: "none", datalist
|
|
|
345
345
|
function sa(e) {
|
|
346
346
|
return e.kind === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
|
|
347
347
|
}
|
|
348
|
-
var
|
|
349
|
-
var aa = (e) => w(0, e, /^[\t\f\r ]*\n/gu, ""), fr = (e) => aa(
|
|
350
|
-
let t = e, r =
|
|
348
|
+
var ue = sa;
|
|
349
|
+
var aa = (e) => w(0, e, /^[\t\f\r ]*\n/gu, ""), fr = (e) => aa(y.trimEnd(e)), kn = (e) => {
|
|
350
|
+
let t = e, r = y.getLeadingWhitespace(t);
|
|
351
351
|
r && (t = t.slice(r.length));
|
|
352
|
-
let n =
|
|
352
|
+
let n = y.getTrailingWhitespace(t);
|
|
353
353
|
return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
|
|
354
354
|
};
|
|
355
|
-
function
|
|
356
|
-
return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete ||
|
|
355
|
+
function Nt(e, t) {
|
|
356
|
+
return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete || pe(e) && e.children.some((r) => r.kind !== "text" && r.kind !== "interpolation") || Ot(e, t) && !H(e, t) && e.kind !== "interpolation");
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function he(e) {
|
|
359
359
|
return e.kind === "attribute" || !e.parent || !e.prev ? false : oa(e.prev);
|
|
360
360
|
}
|
|
361
361
|
function oa(e) {
|
|
@@ -365,56 +365,56 @@ function O(e) {
|
|
|
365
365
|
return e.kind === "text" || e.kind === "comment";
|
|
366
366
|
}
|
|
367
367
|
function H(e, t) {
|
|
368
|
-
return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" ||
|
|
368
|
+
return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || ue(e) && (e.name === "script" || e.name === "style"));
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function xn(e, t) {
|
|
371
371
|
return e.children && !H(e, t);
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function An(e, t) {
|
|
374
374
|
return H(e, t) || e.kind === "interpolation" || dr(e);
|
|
375
375
|
}
|
|
376
376
|
function dr(e) {
|
|
377
377
|
return Fn(e).startsWith("pre");
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function yn(e, t) {
|
|
380
380
|
let r = n();
|
|
381
381
|
if (r && !e.prev && e.parent?.tagDefinition?.ignoreFirstLf) return e.kind === "interpolation";
|
|
382
382
|
return r;
|
|
383
383
|
function n() {
|
|
384
|
-
return
|
|
384
|
+
return ce(e) || e.kind === "angularControlFlowBlock" ? false : (e.kind === "text" || e.kind === "interpolation") && e.prev && (e.prev.kind === "text" || e.prev.kind === "interpolation") ? true : !e.parent || e.parent.cssDisplay === "none" ? false : pe(e.parent) ? true : !(!e.prev && (e.parent.kind === "root" || pe(e) && e.parent || H(e.parent, t) || Je(e.parent, t) || !ma(e.parent.cssDisplay)) || e.prev && !ga(e.prev.cssDisplay));
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
function Nn(e, t) {
|
|
388
|
-
return
|
|
388
|
+
return ce(e) || e.kind === "angularControlFlowBlock" ? false : (e.kind === "text" || e.kind === "interpolation") && e.next && (e.next.kind === "text" || e.next.kind === "interpolation") ? true : !e.parent || e.parent.cssDisplay === "none" ? false : pe(e.parent) ? true : !(!e.next && (e.parent.kind === "root" || pe(e) && e.parent || H(e.parent, t) || Je(e.parent, t) || !fa(e.parent.cssDisplay)) || e.next && !da(e.next.cssDisplay));
|
|
389
389
|
}
|
|
390
390
|
function Ln(e, t) {
|
|
391
391
|
return _a(e.cssDisplay) && !H(e, t);
|
|
392
392
|
}
|
|
393
393
|
function Ke(e) {
|
|
394
|
-
return
|
|
394
|
+
return ce(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
|
|
395
395
|
}
|
|
396
396
|
function Pn(e) {
|
|
397
|
-
return gr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => ca(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" && Dn(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive ||
|
|
397
|
+
return gr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => ca(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" && Dn(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || In(e.lastChild));
|
|
398
398
|
}
|
|
399
399
|
function gr(e) {
|
|
400
400
|
return e.kind === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith("table") && e.cssDisplay !== "table-cell");
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return
|
|
402
|
+
function Lt(e) {
|
|
403
|
+
return Rn(e) || e.prev && la(e.prev) || On(e);
|
|
404
404
|
}
|
|
405
405
|
function la(e) {
|
|
406
|
-
return
|
|
406
|
+
return Rn(e) || e.kind === "element" && e.fullName === "br" || On(e);
|
|
407
407
|
}
|
|
408
408
|
function On(e) {
|
|
409
|
-
return Dn(e) &&
|
|
409
|
+
return Dn(e) && In(e);
|
|
410
410
|
}
|
|
411
411
|
function Dn(e) {
|
|
412
412
|
return e.hasLeadingSpaces && (e.prev ? e.prev.sourceSpan.end.line < e.sourceSpan.start.line : e.parent.kind === "root" || e.parent.startSourceSpan.end.line < e.sourceSpan.start.line);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function In(e) {
|
|
415
415
|
return e.hasTrailingSpaces && (e.next ? e.next.sourceSpan.start.line > e.sourceSpan.end.line : e.parent.kind === "root" || e.parent.endSourceSpan && e.parent.endSourceSpan.start.line > e.sourceSpan.end.line);
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function Rn(e) {
|
|
418
418
|
switch (e.kind) {
|
|
419
419
|
case "ieConditionalComment":
|
|
420
420
|
case "comment":
|
|
@@ -425,8 +425,8 @@ function In(e) {
|
|
|
425
425
|
}
|
|
426
426
|
return false;
|
|
427
427
|
}
|
|
428
|
-
function
|
|
429
|
-
return e.lastChild ?
|
|
428
|
+
function Pt(e) {
|
|
429
|
+
return e.lastChild ? Pt(e.lastChild) : e;
|
|
430
430
|
}
|
|
431
431
|
function ca(e) {
|
|
432
432
|
return e.children?.some((t) => t.kind !== "text");
|
|
@@ -458,7 +458,7 @@ function ua(e, t) {
|
|
|
458
458
|
return !s && !i ? "babel" : At(t, { language: s }) ?? Mn(i);
|
|
459
459
|
}
|
|
460
460
|
function pa(e, t) {
|
|
461
|
-
if (!
|
|
461
|
+
if (!Ot(e, t)) return;
|
|
462
462
|
let { attrMap: r } = e;
|
|
463
463
|
if (Object.prototype.hasOwnProperty.call(r, "src")) return;
|
|
464
464
|
let { type: n, lang: i } = r;
|
|
@@ -492,7 +492,7 @@ function ga(e) {
|
|
|
492
492
|
function _a(e) {
|
|
493
493
|
return !Qe(e) && e !== "inline-block";
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function pe(e) {
|
|
496
496
|
return Fn(e).startsWith("pre");
|
|
497
497
|
}
|
|
498
498
|
function Sa(e, t) {
|
|
@@ -504,7 +504,7 @@ function Sa(e, t) {
|
|
|
504
504
|
return false;
|
|
505
505
|
}
|
|
506
506
|
function Bn(e, t) {
|
|
507
|
-
if (
|
|
507
|
+
if (me(e, t)) return "block";
|
|
508
508
|
if (e.prev?.kind === "comment") {
|
|
509
509
|
let n = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
|
|
510
510
|
if (n) return n[1];
|
|
@@ -518,12 +518,12 @@ function Bn(e, t) {
|
|
|
518
518
|
case "ignore":
|
|
519
519
|
return "block";
|
|
520
520
|
default:
|
|
521
|
-
if (e.kind === "element" && (!e.namespace || r ||
|
|
521
|
+
if (e.kind === "element" && (!e.namespace || r || ue(e)) && Object.prototype.hasOwnProperty.call(hr, e.name)) return hr[e.name];
|
|
522
522
|
}
|
|
523
523
|
return bn;
|
|
524
524
|
}
|
|
525
525
|
function Fn(e) {
|
|
526
|
-
return e.kind === "element" && (!e.namespace ||
|
|
526
|
+
return e.kind === "element" && (!e.namespace || ue(e)) && Object.prototype.hasOwnProperty.call(mr, e.name) ? mr[e.name] : wn;
|
|
527
527
|
}
|
|
528
528
|
function Sr(e) {
|
|
529
529
|
return w(0, w(0, e, "'", "'"), """, '"');
|
|
@@ -533,13 +533,13 @@ function b(e) {
|
|
|
533
533
|
}
|
|
534
534
|
var Ea = /* @__PURE__ */ new Set(["template", "style", "script"]);
|
|
535
535
|
function Je(e, t) {
|
|
536
|
-
return
|
|
536
|
+
return me(e, t) && !Ea.has(e.fullName);
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function me(e, t) {
|
|
539
539
|
return t.parser === "vue" && e.kind === "element" && e.parent.kind === "root" && e.fullName.toLowerCase() !== "html";
|
|
540
540
|
}
|
|
541
|
-
function
|
|
542
|
-
return
|
|
541
|
+
function Ot(e, t) {
|
|
542
|
+
return me(e, t) && (Je(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
|
|
543
543
|
}
|
|
544
544
|
function qn(e) {
|
|
545
545
|
let t = e.fullName;
|
|
@@ -547,15 +547,15 @@ function qn(e) {
|
|
|
547
547
|
}
|
|
548
548
|
function Hn(e, t) {
|
|
549
549
|
let r = e.parent;
|
|
550
|
-
if (!
|
|
550
|
+
if (!me(r, t)) return false;
|
|
551
551
|
let n = r.fullName, i = e.fullName;
|
|
552
552
|
return n === "script" && i === "setup" || n === "style" && i === "vars";
|
|
553
553
|
}
|
|
554
|
-
function
|
|
555
|
-
return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? L(t) : L(
|
|
554
|
+
function Dt(e, t = e.value) {
|
|
555
|
+
return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? L(t) : L(y.dedentString(fr(t)), v) : q(_, y.split(t));
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
return
|
|
557
|
+
function It(e, t) {
|
|
558
|
+
return me(e, t) && e.name === "script";
|
|
559
559
|
}
|
|
560
560
|
function Ca(e) {
|
|
561
561
|
let { valueSpan: t, value: r } = e;
|
|
@@ -571,13 +571,13 @@ async function Wn(e, t, r) {
|
|
|
571
571
|
let n = b(r.node), i = [];
|
|
572
572
|
for (let [s, a] of n.split(Vn).entries()) if (s % 2 === 0) i.push(L(a));
|
|
573
573
|
else try {
|
|
574
|
-
i.push(C(["{{",
|
|
574
|
+
i.push(C(["{{", A([_, await x(a, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: true })]), _, "}}"]));
|
|
575
575
|
} catch {
|
|
576
576
|
i.push("{{", L(a), "}}");
|
|
577
577
|
}
|
|
578
578
|
return i;
|
|
579
579
|
}
|
|
580
|
-
var Er = (e) => (t, r, n) =>
|
|
580
|
+
var Er = (e) => (t, r, n) => x(b(n.node), t, { parser: e }, W), va = [{ test(e) {
|
|
581
581
|
let t = e.node.fullName;
|
|
582
582
|
return t.startsWith("(") && t.endsWith(")") || t.startsWith("on-");
|
|
583
583
|
}, print: Er("__ng_action") }, { test(e) {
|
|
@@ -586,17 +586,17 @@ var Er = (e) => (t, r, n) => A(b(n.node), t, { parser: e }, W), va = [{ test(e)
|
|
|
586
586
|
}, print: Er("__ng_binding") }, { test: (e) => e.node.fullName.startsWith("*"), print: Er("__ng_directive") }, { test: (e) => /^i18n(?:-.+)?$/u.test(e.node.fullName), print: Ta }, { test: Un, print: Wn }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "angular" && e(r), print: t }));
|
|
587
587
|
function Ta(e, t, { node: r }) {
|
|
588
588
|
let n = b(r);
|
|
589
|
-
return K(
|
|
589
|
+
return K(xt(Dt(r, n.trim())), !n.includes("@@"));
|
|
590
590
|
}
|
|
591
591
|
var Gn = va;
|
|
592
592
|
var $n = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), zn = (e, t, r) => b(r.node).trim().split(/\s+/u).join(" ");
|
|
593
593
|
var Cr = ["onabort", "onafterprint", "onauxclick", "onbeforeinput", "onbeforematch", "onbeforeprint", "onbeforetoggle", "onbeforeunload", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncommand", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncopy", "oncuechange", "oncut", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onoffline", "ononline", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onplay", "onplaying", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onscrollend", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwheel"];
|
|
594
|
-
var wa = new Set(Cr), Yn = ({ node: e }, t) => wa.has(e.fullName) && !t.parentParser && !e.value.includes("{{"), jn = (e, t, r) =>
|
|
594
|
+
var wa = new Set(Cr), Yn = ({ node: e }, t) => wa.has(e.fullName) && !t.parentParser && !e.value.includes("{{"), jn = (e, t, r) => x(b(r.node), e, { parser: "babel", __isHtmlInlineEventHandler: true }, () => false);
|
|
595
595
|
function ka(e) {
|
|
596
596
|
let t = [];
|
|
597
597
|
for (let r of e.split(";")) {
|
|
598
|
-
if (r =
|
|
599
|
-
let [n, ...i] =
|
|
598
|
+
if (r = y.trim(r), !r) continue;
|
|
599
|
+
let [n, ...i] = y.split(r);
|
|
600
600
|
t.push({ name: n, value: i });
|
|
601
601
|
}
|
|
602
602
|
return t;
|
|
@@ -611,7 +611,7 @@ function Jn(e) {
|
|
|
611
611
|
return e === " " || e === `
|
|
612
612
|
` || e === "\f" || e === "\r" || e === " ";
|
|
613
613
|
}
|
|
614
|
-
var
|
|
614
|
+
var xa = /^[ \t\n\r\u000c]+/, Aa = /^[, \t\n\r\u000c]+/, ya = /^[^ \t\n\r\u000c]+/, Na = /[,]+$/, Zn = /^\d+$/, La = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
|
|
615
615
|
function Pa(e) {
|
|
616
616
|
let t = e.length, r, n, i, s, a, o = 0, c;
|
|
617
617
|
function u(m) {
|
|
@@ -620,14 +620,14 @@ function Pa(e) {
|
|
|
620
620
|
}
|
|
621
621
|
let p = [];
|
|
622
622
|
for (; ; ) {
|
|
623
|
-
if (u(
|
|
623
|
+
if (u(Aa), o >= t) {
|
|
624
624
|
if (p.length === 0) throw new Error("Must contain one or more image candidate strings.");
|
|
625
625
|
return p;
|
|
626
626
|
}
|
|
627
|
-
c = o, r = u(
|
|
627
|
+
c = o, r = u(ya), n = [], r.slice(-1) === "," ? (r = r.replace(Na, ""), S()) : d();
|
|
628
628
|
}
|
|
629
629
|
function d() {
|
|
630
|
-
for (u(
|
|
630
|
+
for (u(xa), i = "", s = "in descriptor"; ; ) {
|
|
631
631
|
if (a = e.charAt(o), s === "in descriptor") if (Jn(a)) i && (n.push(i), i = "", s = "after descriptor");
|
|
632
632
|
else if (a === ",") {
|
|
633
633
|
o += 1, i && n.push(i), S();
|
|
@@ -650,9 +650,9 @@ function Pa(e) {
|
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
652
|
function S() {
|
|
653
|
-
let m = false, g, E, P, z,
|
|
654
|
-
for (z = 0; z < n.length; z++) ee = n[z],
|
|
655
|
-
if (!m)
|
|
653
|
+
let m = false, g, E, P, z, le = {}, ee, _t, ke, Ge, nr;
|
|
654
|
+
for (z = 0; z < n.length; z++) ee = n[z], _t = ee[ee.length - 1], ke = ee.substring(0, ee.length - 1), Ge = parseInt(ke, 10), nr = parseFloat(ke), Zn.test(ke) && _t === "w" ? ((g || E) && (m = true), Ge === 0 ? m = true : g = Ge) : La.test(ke) && _t === "x" ? ((g || E || P) && (m = true), nr < 0 ? m = true : E = nr) : Zn.test(ke) && _t === "h" ? ((P || E) && (m = true), Ge === 0 ? m = true : P = Ge) : m = true;
|
|
655
|
+
if (!m) le.source = { value: r, startOffset: c }, g && (le.width = { value: g }), E && (le.density = { value: E }), P && (le.height = { value: P }), p.push(le);
|
|
656
656
|
else throw new Error(`Invalid srcset descriptor found in "${e}" at "${ee}".`);
|
|
657
657
|
}
|
|
658
658
|
}
|
|
@@ -668,7 +668,7 @@ function ni(e, t, r) {
|
|
|
668
668
|
return K(q([",", _], c.map((m, g) => {
|
|
669
669
|
let E = [m], P = p[g];
|
|
670
670
|
if (P) {
|
|
671
|
-
let z = u - m.length + 1,
|
|
671
|
+
let z = u - m.length + 1, le = S - d[g], ee = " ".repeat(z + le);
|
|
672
672
|
E.push(X(ee, " "), P + o);
|
|
673
673
|
}
|
|
674
674
|
return E;
|
|
@@ -678,22 +678,22 @@ var ii = ({ node: e }, t) => e.fullName === "style" && !t.parentParser && !e.val
|
|
|
678
678
|
var vr = /* @__PURE__ */ new WeakMap();
|
|
679
679
|
function Da(e, t) {
|
|
680
680
|
let { root: r } = e;
|
|
681
|
-
return vr.has(r) || vr.set(r, r.children.some((n) =>
|
|
681
|
+
return vr.has(r) || vr.set(r, r.children.some((n) => It(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), vr.get(r);
|
|
682
682
|
}
|
|
683
683
|
var G = Da;
|
|
684
684
|
function ai(e, t, r) {
|
|
685
685
|
let n = b(r.node);
|
|
686
|
-
return
|
|
686
|
+
return x(`type T<${n}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: true }, W);
|
|
687
687
|
}
|
|
688
688
|
function oi(e, t, r, n) {
|
|
689
689
|
let i = b(r.node), s = G(r, n) ? "babel-ts" : "babel";
|
|
690
|
-
return
|
|
690
|
+
return x(`function _(${i}) {}`, e, { parser: s, __isVueBindings: true });
|
|
691
691
|
}
|
|
692
692
|
async function li(e, t, r, n) {
|
|
693
|
-
let i = b(r.node), { left: s, operator: a, right: o } =
|
|
694
|
-
return [C(await
|
|
693
|
+
let i = b(r.node), { left: s, operator: a, right: o } = Ia(i), c = G(r, n);
|
|
694
|
+
return [C(await x(`function _(${s}) {}`, e, { parser: c ? "babel-ts" : "babel", __isVueForBindingLeft: true })), " ", a, " ", await x(o, e, { parser: c ? "__ts_expression" : "__js_expression" })];
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function Ia(e) {
|
|
697
697
|
let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, i = e.match(t);
|
|
698
698
|
if (!i) return;
|
|
699
699
|
let s = { for: i[3].trim() };
|
|
@@ -703,7 +703,7 @@ function Ra(e) {
|
|
|
703
703
|
let c = [s.alias, s.iterator1, s.iterator2];
|
|
704
704
|
if (!c.some((u, p) => !u && (p === 0 || c.slice(p + 1).some(Boolean)))) return { left: c.filter(Boolean).join(","), operator: i[2], right: s.for };
|
|
705
705
|
}
|
|
706
|
-
var
|
|
706
|
+
var Ra = [{ test: (e) => e.node.fullName === "v-for", print: li }, { test: (e, t) => e.node.fullName === "generic" && It(e.parent, t), print: ai }, { test: ({ node: e }, t) => qn(e) || Hn(e, t), print: oi }, { test(e) {
|
|
707
707
|
let t = e.node.fullName;
|
|
708
708
|
return t.startsWith("@") || t.startsWith("v-on:");
|
|
709
709
|
}, print: Ma }, { test(e) {
|
|
@@ -717,17 +717,17 @@ async function Ma(e, t, r, n) {
|
|
|
717
717
|
if (a.cause?.code !== "BABEL_PARSER_SYNTAX_ERROR") throw a;
|
|
718
718
|
}
|
|
719
719
|
let i = b(r.node), s = G(r, n) ? "__vue_ts_event_binding" : "__vue_event_binding";
|
|
720
|
-
return
|
|
720
|
+
return x(i, e, { parser: s }, W);
|
|
721
721
|
}
|
|
722
722
|
function Ba(e, t, r, n) {
|
|
723
723
|
let i = b(r.node), s = G(r, n) ? "__vue_ts_expression" : "__vue_expression";
|
|
724
|
-
return
|
|
724
|
+
return x(i, e, { parser: s }, W);
|
|
725
725
|
}
|
|
726
726
|
function ci(e, t, r, n) {
|
|
727
727
|
let i = b(r.node), s = G(r, n) ? "__ts_expression" : "__js_expression";
|
|
728
|
-
return
|
|
728
|
+
return x(i, e, { parser: s }, W);
|
|
729
729
|
}
|
|
730
|
-
var ui =
|
|
730
|
+
var ui = Ra;
|
|
731
731
|
var Fa = [{ test: ti, print: ni }, { test: ii, print: si }, { test: Yn, print: jn }, { test: $n, print: zn }, { test: Kn, print: Qn }, ...ui, ...Gn].map(({ test: e, print: t }) => ({ test: e, print: Ha(t) }));
|
|
732
732
|
function qa(e, t) {
|
|
733
733
|
let { node: r } = e, { value: n } = r;
|
|
@@ -742,21 +742,21 @@ function Ha(e) {
|
|
|
742
742
|
var pi = qa;
|
|
743
743
|
var Q = (e) => e.sourceSpan.start.offset, te = (e) => e.sourceSpan.end.offset;
|
|
744
744
|
function Ze(e, t) {
|
|
745
|
-
return [e.isSelfClosing ? "" : Va(e, t),
|
|
745
|
+
return [e.isSelfClosing ? "" : Va(e, t), fe(e, t)];
|
|
746
746
|
}
|
|
747
747
|
function Va(e, t) {
|
|
748
|
-
return e.lastChild &&
|
|
748
|
+
return e.lastChild && _e(e.lastChild) ? "" : [Ua(e, t), Mt(e, t)];
|
|
749
749
|
}
|
|
750
|
-
function
|
|
751
|
-
return (e.next ? $(e.next) :
|
|
750
|
+
function fe(e, t) {
|
|
751
|
+
return (e.next ? $(e.next) : ge(e.parent)) ? "" : [de(e, t), V(e, t)];
|
|
752
752
|
}
|
|
753
753
|
function Ua(e, t) {
|
|
754
|
-
return
|
|
754
|
+
return ge(e) ? de(e.lastChild, t) : "";
|
|
755
755
|
}
|
|
756
756
|
function V(e, t) {
|
|
757
|
-
return
|
|
757
|
+
return _e(e) ? Mt(e.parent, t) : et(e) ? Bt(e.next, t) : "";
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function Mt(e, t) {
|
|
760
760
|
if (mi(e, t)) return "";
|
|
761
761
|
switch (e.kind) {
|
|
762
762
|
case "ieConditionalComment":
|
|
@@ -767,7 +767,7 @@ function It(e, t) {
|
|
|
767
767
|
return `</${e.rawName}`;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function de(e, t) {
|
|
771
771
|
if (mi(e, t)) return "";
|
|
772
772
|
switch (e.kind) {
|
|
773
773
|
case "ieConditionalComment":
|
|
@@ -786,16 +786,16 @@ function fe(e, t) {
|
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
function mi(e, t) {
|
|
789
|
-
return !e.isSelfClosing && !e.endSourceSpan && (
|
|
789
|
+
return !e.isSelfClosing && !e.endSourceSpan && (he(e) || Nt(e.parent, t));
|
|
790
790
|
}
|
|
791
791
|
function $(e) {
|
|
792
792
|
return e.prev && e.prev.kind !== "docType" && e.kind !== "angularControlFlowBlock" && !O(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
|
|
793
793
|
}
|
|
794
|
-
function de(e) {
|
|
795
|
-
return e.lastChild?.isTrailingSpaceSensitive && !e.lastChild.hasTrailingSpaces && !O(Lt(e.lastChild)) && !ue(e);
|
|
796
|
-
}
|
|
797
794
|
function ge(e) {
|
|
798
|
-
return
|
|
795
|
+
return e.lastChild?.isTrailingSpaceSensitive && !e.lastChild.hasTrailingSpaces && !O(Pt(e.lastChild)) && !pe(e);
|
|
796
|
+
}
|
|
797
|
+
function _e(e) {
|
|
798
|
+
return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && O(Pt(e));
|
|
799
799
|
}
|
|
800
800
|
function et(e) {
|
|
801
801
|
return e.next && !O(e.next) && O(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
|
|
@@ -809,25 +809,25 @@ function tt(e) {
|
|
|
809
809
|
}
|
|
810
810
|
function Ga(e, t, r) {
|
|
811
811
|
let { node: n } = e;
|
|
812
|
-
if (!
|
|
813
|
-
let i = n.prev?.kind === "comment" && Wa(n.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ? (d) => i.includes(d.rawName) : () => false, a = e.map(({ node: d }) => s(d) ? L(t.originalText.slice(Q(d), te(d))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, u = t.singleAttributePerLine && n.attrs.length > 1 && !
|
|
814
|
-
return n.firstChild && tt(n.firstChild) || n.isSelfClosing &&
|
|
812
|
+
if (!Ie(n.attrs)) return n.isSelfClosing ? " " : "";
|
|
813
|
+
let i = n.prev?.kind === "comment" && Wa(n.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ? (d) => i.includes(d.rawName) : () => false, a = e.map(({ node: d }) => s(d) ? L(t.originalText.slice(Q(d), te(d))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, u = t.singleAttributePerLine && n.attrs.length > 1 && !me(n, t) ? v : _, p = [A([o ? " " : _, q(u, a)])];
|
|
814
|
+
return n.firstChild && tt(n.firstChild) || n.isSelfClosing && ge(n.parent) || o ? p.push(n.isSelfClosing ? " " : "") : p.push(t.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? _ : k), p;
|
|
815
815
|
}
|
|
816
816
|
function $a(e) {
|
|
817
|
-
return e.firstChild && tt(e.firstChild) ? "" :
|
|
817
|
+
return e.firstChild && tt(e.firstChild) ? "" : Ft(e);
|
|
818
818
|
}
|
|
819
819
|
function rt(e, t, r) {
|
|
820
820
|
let { node: n } = e;
|
|
821
|
-
return [
|
|
821
|
+
return [Se(n, t), Ga(e, t, r), n.isSelfClosing ? "" : $a(n)];
|
|
822
822
|
}
|
|
823
|
-
function
|
|
824
|
-
return e.prev && et(e.prev) ? "" : [U(e, t),
|
|
823
|
+
function Se(e, t) {
|
|
824
|
+
return e.prev && et(e.prev) ? "" : [U(e, t), Bt(e, t)];
|
|
825
825
|
}
|
|
826
826
|
function U(e, t) {
|
|
827
|
-
return tt(e) ?
|
|
827
|
+
return tt(e) ? Ft(e.parent) : $(e) ? de(e.prev, t) : "";
|
|
828
828
|
}
|
|
829
829
|
var hi = "<!doctype";
|
|
830
|
-
function
|
|
830
|
+
function Bt(e, t) {
|
|
831
831
|
switch (e.kind) {
|
|
832
832
|
case "ieConditionalComment":
|
|
833
833
|
case "ieConditionalStartComment":
|
|
@@ -852,7 +852,7 @@ function Mt(e, t) {
|
|
|
852
852
|
return `<${e.rawName}`;
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function Ft(e) {
|
|
856
856
|
switch (e.kind) {
|
|
857
857
|
case "ieConditionalComment":
|
|
858
858
|
return "]>";
|
|
@@ -865,21 +865,21 @@ function Bt(e) {
|
|
|
865
865
|
function za(e, t) {
|
|
866
866
|
if (!e.endSourceSpan) return "";
|
|
867
867
|
let r = e.startSourceSpan.end.offset;
|
|
868
|
-
e.firstChild && tt(e.firstChild) && (r -=
|
|
868
|
+
e.firstChild && tt(e.firstChild) && (r -= Ft(e).length);
|
|
869
869
|
let n = e.endSourceSpan.start.offset;
|
|
870
|
-
return e.lastChild &&
|
|
870
|
+
return e.lastChild && _e(e.lastChild) ? n += Mt(e, t).length : ge(e) && (n -= de(e.lastChild, t).length), t.originalText.slice(r, n);
|
|
871
871
|
}
|
|
872
|
-
var
|
|
872
|
+
var qt = za;
|
|
873
873
|
var Ya = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
874
874
|
function ja(e, t) {
|
|
875
875
|
let { node: r } = e;
|
|
876
876
|
switch (r.kind) {
|
|
877
877
|
case "element":
|
|
878
878
|
if (H(r, t) || r.kind === "interpolation") return;
|
|
879
|
-
if (!r.isSelfClosing &&
|
|
879
|
+
if (!r.isSelfClosing && Ot(r, t)) {
|
|
880
880
|
let n = _r(r, t);
|
|
881
881
|
return n ? async (i, s) => {
|
|
882
|
-
let a =
|
|
882
|
+
let a = qt(r, t), o = /^\s*$/u.test(a), c = "";
|
|
883
883
|
return o || (c = await i(fr(a), { parser: n, __embeddedInHtml: true }), o = c === ""), [U(r, t), C(rt(e, t, s)), o ? "" : v, c, o ? "" : v, Ze(r, t), V(r, t)];
|
|
884
884
|
} : void 0;
|
|
885
885
|
}
|
|
@@ -888,7 +888,7 @@ function ja(e, t) {
|
|
|
888
888
|
if (H(r.parent, t)) {
|
|
889
889
|
let n = _r(r.parent, t);
|
|
890
890
|
if (n) return async (i) => {
|
|
891
|
-
let s = n === "markdown" ?
|
|
891
|
+
let s = n === "markdown" ? y.dedentString(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, a = { parser: n, __embeddedInHtml: true };
|
|
892
892
|
if (t.parser === "html" && n === "babel") {
|
|
893
893
|
let o = "script", { attrMap: c } = r.parent;
|
|
894
894
|
c && (c.type === "module" || (c.type === "text/babel" || c.type === "text/jsx") && c["data-type"] === "module") && (o = "module"), a.__babelSourceType = o;
|
|
@@ -897,7 +897,7 @@ function ja(e, t) {
|
|
|
897
897
|
};
|
|
898
898
|
} else if (r.parent.kind === "interpolation") return async (n) => {
|
|
899
899
|
let i = { __isInHtmlInterpolation: true, __embeddedInHtml: true };
|
|
900
|
-
return t.parser === "angular" ? i.parser = "__ng_interpolation" : t.parser === "vue" ? i.parser = G(e, t) ? "__vue_ts_expression" : "__vue_expression" : i.parser = "__js_expression", [
|
|
900
|
+
return t.parser === "angular" ? i.parser = "__ng_interpolation" : t.parser === "vue" ? i.parser = G(e, t) ? "__vue_ts_expression" : "__vue_expression" : i.parser = "__js_expression", [A([_, await n(r.value, i)]), r.parent.next && $(r.parent.next) ? " " : _];
|
|
901
901
|
};
|
|
902
902
|
break;
|
|
903
903
|
case "attribute":
|
|
@@ -905,7 +905,7 @@ function ja(e, t) {
|
|
|
905
905
|
case "angularControlFlowBlockParameters":
|
|
906
906
|
return Ya.has(e.parent.name) ? gn : void 0;
|
|
907
907
|
case "angularLetDeclarationInitializer":
|
|
908
|
-
return (n) =>
|
|
908
|
+
return (n) => x(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: false });
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
var fi = ja;
|
|
@@ -932,7 +932,7 @@ function Ka(e, t = "type") {
|
|
|
932
932
|
return r;
|
|
933
933
|
}
|
|
934
934
|
var di = Ka;
|
|
935
|
-
var
|
|
935
|
+
var I = [["children"], []], gi = { root: I[0], element: ["attrs", "children"], ieConditionalComment: I[0], ieConditionalStartComment: I[1], ieConditionalEndComment: I[1], interpolation: I[0], text: I[0], docType: I[1], comment: I[1], attribute: I[1], cdata: I[1], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: I[0], angularControlFlowBlockParameter: I[1], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: I[1], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] };
|
|
936
936
|
var Qa = di(gi, "kind"), _i = Qa;
|
|
937
937
|
var Si = "format";
|
|
938
938
|
var Ei = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Ci = /^\s*<!--\s*@(?:format|prettier)\s*-->/u;
|
|
@@ -942,74 +942,81 @@ ${e}`;
|
|
|
942
942
|
var wi = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]);
|
|
943
943
|
function ki(e) {
|
|
944
944
|
let t = te(e);
|
|
945
|
-
return e.kind === "element" && !e.endSourceSpan &&
|
|
945
|
+
return e.kind === "element" && !e.endSourceSpan && Ie(e.children) ? Math.max(t, ki(F(0, e.children, -1))) : t;
|
|
946
946
|
}
|
|
947
947
|
function st(e, t, r) {
|
|
948
948
|
let n = e.node;
|
|
949
|
-
if (
|
|
949
|
+
if (he(n)) {
|
|
950
950
|
let i = ki(n);
|
|
951
|
-
return [U(n, t), L(
|
|
951
|
+
return [U(n, t), L(y.trimEnd(t.originalText.slice(Q(n) + (n.prev && et(n.prev) ? Bt(n).length : 0), i - (n.next && $(n.next) ? de(n, t).length : 0)))), V(n, t)];
|
|
952
952
|
}
|
|
953
953
|
return r();
|
|
954
954
|
}
|
|
955
|
-
function
|
|
956
|
-
return O(e) && O(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ?
|
|
955
|
+
function Ht(e, t) {
|
|
956
|
+
return O(e) && O(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? Lt(t) ? v : _ : "" : Lt(t) ? v : k : et(e) && (he(t) || t.firstChild || t.isSelfClosing || t.kind === "element" && t.attrs.length > 0) || e.kind === "element" && e.isSelfClosing && $(t) ? "" : !t.isLeadingSpaceSensitive || Lt(t) || $(t) && e.lastChild && _e(e.lastChild) && e.lastChild.lastChild && _e(e.lastChild.lastChild) ? v : t.hasLeadingSpaces ? _ : k;
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function Re(e, t, r) {
|
|
959
959
|
let { node: n } = e;
|
|
960
960
|
if (gr(n)) return [j, ...e.map(() => {
|
|
961
|
-
let s = e.node, a = s.prev ?
|
|
961
|
+
let s = e.node, a = s.prev ? Ht(s.prev, s) : "";
|
|
962
962
|
return [a ? [a, Ke(s.prev) ? v : ""] : "", st(e, t, r)];
|
|
963
963
|
}, "children")];
|
|
964
|
-
let i = n.children.map(() => Symbol(""));
|
|
964
|
+
let i = n.children.map(() => /* @__PURE__ */ Symbol(""));
|
|
965
965
|
return e.map(({ node: s, index: a }) => {
|
|
966
966
|
if (O(s)) {
|
|
967
967
|
if (s.prev && O(s.prev)) {
|
|
968
|
-
let m =
|
|
968
|
+
let m = Ht(s.prev, s);
|
|
969
969
|
if (m) return Ke(s.prev) ? [v, v, st(e, t, r)] : [m, st(e, t, r)];
|
|
970
970
|
}
|
|
971
971
|
return st(e, t, r);
|
|
972
972
|
}
|
|
973
|
-
let o = [], c = [], u = [], p = [], d = s.prev ?
|
|
973
|
+
let o = [], c = [], u = [], p = [], d = s.prev ? Ht(s.prev, s) : "", S = s.next ? Ht(s, s.next) : "";
|
|
974
974
|
return d && (Ke(s.prev) ? o.push(v, v) : d === v ? o.push(v) : O(s.prev) ? c.push(d) : c.push(X("", k, { groupId: i[a - 1] }))), S && (Ke(s) ? O(s.next) && p.push(v, v) : S === v ? O(s.next) && p.push(v) : u.push(S)), [...o, C([...c, C([st(e, t, r), ...u], { id: i[a] })]), ...p];
|
|
975
975
|
}, "children");
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function xi(e, t, r) {
|
|
978
978
|
let { node: n } = e, i = [];
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
979
|
+
if (eo(e) && i.push("} "), i.push("@", n.name), n.parameters && i.push(" (", C(r("parameters")), ")"), !Za(n)) {
|
|
980
|
+
i.push(" {");
|
|
981
|
+
let s = Ai(n);
|
|
982
|
+
n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = true, n.lastChild.hasTrailingSpaces = true, i.push(A([v, Re(e, t, r)])), s && i.push(v, "}")) : s && i.push("}");
|
|
983
|
+
}
|
|
984
|
+
return C(i, { shouldBreak: true });
|
|
982
985
|
}
|
|
983
|
-
function
|
|
986
|
+
function Ai(e) {
|
|
984
987
|
return !(e.next?.kind === "angularControlFlowBlock" && wi.get(e.name)?.has(e.next.name));
|
|
985
988
|
}
|
|
986
|
-
|
|
989
|
+
var Ja = (e) => e?.kind === "angularControlFlowBlock" && (e.name === "case" || e.name === "default");
|
|
990
|
+
function Za(e) {
|
|
991
|
+
return Ja(e) && e.endSourceSpan && e.endSourceSpan.start.offset === e.endSourceSpan.end.offset;
|
|
992
|
+
}
|
|
993
|
+
function eo(e) {
|
|
987
994
|
let { previous: t } = e;
|
|
988
|
-
return t?.kind === "angularControlFlowBlock" && !
|
|
995
|
+
return t?.kind === "angularControlFlowBlock" && !he(t) && !Ai(t);
|
|
989
996
|
}
|
|
990
|
-
function
|
|
991
|
-
return [
|
|
997
|
+
function yi(e, t, r) {
|
|
998
|
+
return [A([k, q([";", _], e.map(r, "children"))]), k];
|
|
992
999
|
}
|
|
993
1000
|
function Ni(e, t, r) {
|
|
994
1001
|
let { node: n } = e;
|
|
995
|
-
return [
|
|
1002
|
+
return [Se(n, t), C([n.switchValue.trim(), ", ", n.type, n.cases.length > 0 ? [",", A([_, q(_, e.map(r, "cases"))])] : "", k]), fe(n, t)];
|
|
996
1003
|
}
|
|
997
1004
|
function Li(e, t, r) {
|
|
998
1005
|
let { node: n } = e;
|
|
999
|
-
return [n.value, " {", C([
|
|
1006
|
+
return [n.value, " {", C([A([k, e.map(({ node: i, isLast: s }) => {
|
|
1000
1007
|
let a = [r()];
|
|
1001
1008
|
return i.kind === "text" && (i.hasLeadingSpaces && a.unshift(_), i.hasTrailingSpaces && !s && a.push(_)), a;
|
|
1002
1009
|
}, "expression")]), k]), "}"];
|
|
1003
1010
|
}
|
|
1004
1011
|
function Pi(e, t, r) {
|
|
1005
1012
|
let { node: n } = e;
|
|
1006
|
-
if (
|
|
1007
|
-
let i = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, s = Symbol("element-attr-group-id"), a = (p) => C([C(rt(e, t, r), { id: s }), p, Ze(n, t)]), o = (p) => i ? ln(p, { groupId: s }) : (H(n, t) || Je(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p :
|
|
1008
|
-
return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([Pn(n) ? j : "", o([c(),
|
|
1013
|
+
if (Nt(n, t)) return [U(n, t), C(rt(e, t, r)), L(qt(n, t)), ...Ze(n, t), V(n, t)];
|
|
1014
|
+
let i = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, s = /* @__PURE__ */ Symbol("element-attr-group-id"), a = (p) => C([C(rt(e, t, r), { id: s }), p, Ze(n, t)]), o = (p) => i ? ln(p, { groupId: s }) : (H(n, t) || Je(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : A(p), c = () => i ? X(k, "", { groupId: s }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? on(k) : k, u = () => (n.next ? $(n.next) : ge(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : i ? X(k, "", { groupId: s }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : k;
|
|
1015
|
+
return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([Pn(n) ? j : "", o([c(), Re(e, t, r)]), u()]);
|
|
1009
1016
|
}
|
|
1010
|
-
var
|
|
1017
|
+
var R = (function(e) {
|
|
1011
1018
|
return e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA", e;
|
|
1012
|
-
}({});
|
|
1019
|
+
})({});
|
|
1013
1020
|
function at(e, t = true) {
|
|
1014
1021
|
if (e[0] != ":") return [null, e];
|
|
1015
1022
|
let r = e.indexOf(":", 1);
|
|
@@ -1028,28 +1035,28 @@ function wr(e) {
|
|
|
1028
1035
|
function Me(e) {
|
|
1029
1036
|
return e === null ? null : at(e)[0];
|
|
1030
1037
|
}
|
|
1031
|
-
function
|
|
1038
|
+
function Ee(e, t) {
|
|
1032
1039
|
return e ? `:${e}:${t}` : t;
|
|
1033
1040
|
}
|
|
1034
|
-
var kr = { name: "custom-elements" },
|
|
1035
|
-
return e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL = 5] = "RESOURCE_URL", e;
|
|
1036
|
-
}({});
|
|
1037
|
-
var
|
|
1041
|
+
var kr = { name: "custom-elements" }, xr = { name: "no-errors-schema" }, re = (function(e) {
|
|
1042
|
+
return e[e.NONE = 0] = "NONE", e[e.HTML = 1] = "HTML", e[e.STYLE = 2] = "STYLE", e[e.SCRIPT = 3] = "SCRIPT", e[e.URL = 4] = "URL", e[e.RESOURCE_URL = 5] = "RESOURCE_URL", e[e.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING", e;
|
|
1043
|
+
})({});
|
|
1044
|
+
var to = /-+([a-z0-9])/g;
|
|
1038
1045
|
function Oi(e) {
|
|
1039
|
-
return e.replace(
|
|
1046
|
+
return e.replace(to, (...t) => t[1].toUpperCase());
|
|
1040
1047
|
}
|
|
1041
1048
|
var Vt;
|
|
1042
|
-
function
|
|
1043
|
-
return Vt || (Vt = {},
|
|
1049
|
+
function Ar() {
|
|
1050
|
+
return Vt || (Vt = {}, ot(re.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), ot(re.STYLE, ["*|style"]), ot(re.URL, ["*|formAction", "area|href", "a|href", "a|xlink:href", "form|action", "annotation|href", "annotation|xlink:href", "annotation-xml|href", "annotation-xml|xlink:href", "maction|href", "maction|xlink:href", "malignmark|href", "malignmark|xlink:href", "math|href", "math|xlink:href", "mroot|href", "mroot|xlink:href", "msqrt|href", "msqrt|xlink:href", "merror|href", "merror|xlink:href", "mfrac|href", "mfrac|xlink:href", "mglyph|href", "mglyph|xlink:href", "msub|href", "msub|xlink:href", "msup|href", "msup|xlink:href", "msubsup|href", "msubsup|xlink:href", "mmultiscripts|href", "mmultiscripts|xlink:href", "mprescripts|href", "mprescripts|xlink:href", "mi|href", "mi|xlink:href", "mn|href", "mn|xlink:href", "mo|href", "mo|xlink:href", "mpadded|href", "mpadded|xlink:href", "mphantom|href", "mphantom|xlink:href", "mrow|href", "mrow|xlink:href", "ms|href", "ms|xlink:href", "mspace|href", "mspace|xlink:href", "mstyle|href", "mstyle|xlink:href", "mtable|href", "mtable|xlink:href", "mtd|href", "mtd|xlink:href", "mtr|href", "mtr|xlink:href", "mtext|href", "mtext|xlink:href", "mover|href", "mover|xlink:href", "munder|href", "munder|xlink:href", "munderover|href", "munderover|xlink:href", "semantics|href", "semantics|xlink:href", "none|href", "none|xlink:href", "img|src", "video|src"]), ot(re.RESOURCE_URL, ["base|href", "embed|src", "frame|src", "iframe|src", "link|href", "object|codebase", "object|data", "script|src", "script|href", "script|xlink:href"]), ot(re.ATTRIBUTE_NO_BINDING, ["animate|attributeName", "set|attributeName", "animateMotion|attributeName", "animateTransform|attributeName", "unknown|attributeName", "iframe|sandbox", "iframe|allow", "iframe|allowFullscreen", "iframe|referrerPolicy", "iframe|csp", "iframe|fetchPriority", "unknown|sandbox", "unknown|allow", "unknown|allowFullscreen", "unknown|referrerPolicy", "unknown|csp", "unknown|fetchPriority"])), Vt;
|
|
1044
1051
|
}
|
|
1045
|
-
function
|
|
1052
|
+
function ot(e, t) {
|
|
1046
1053
|
for (let r of t) Vt[r.toLowerCase()] = e;
|
|
1047
1054
|
}
|
|
1048
1055
|
var Di = class {
|
|
1049
1056
|
};
|
|
1050
|
-
var eo = "boolean", to = "number", ro = "string", no = "object", io = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Ri = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), so = Array.from(Ri).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), Ii = class extends Di {
|
|
1057
|
+
var ro = "boolean", no = "number", io = "string", so = "object", ao = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Ii = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), oo = Array.from(Ii).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), Ri = class extends Di {
|
|
1051
1058
|
constructor() {
|
|
1052
|
-
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(),
|
|
1059
|
+
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), ao.forEach((e) => {
|
|
1053
1060
|
let t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), [n, i] = e.split("|"), s = i.split(","), [a, o] = n.split("^");
|
|
1054
1061
|
a.split(",").forEach((u) => {
|
|
1055
1062
|
this._schema.set(u.toLowerCase(), t), this._eventSchema.set(u.toLowerCase(), r);
|
|
@@ -1065,22 +1072,22 @@ var eo = "boolean", to = "number", ro = "string", no = "object", io = ["[Element
|
|
|
1065
1072
|
r.add(u.substring(1));
|
|
1066
1073
|
break;
|
|
1067
1074
|
case "!":
|
|
1068
|
-
t.set(u.substring(1),
|
|
1075
|
+
t.set(u.substring(1), ro);
|
|
1069
1076
|
break;
|
|
1070
1077
|
case "#":
|
|
1071
|
-
t.set(u.substring(1),
|
|
1078
|
+
t.set(u.substring(1), no);
|
|
1072
1079
|
break;
|
|
1073
1080
|
case "%":
|
|
1074
|
-
t.set(u.substring(1),
|
|
1081
|
+
t.set(u.substring(1), so);
|
|
1075
1082
|
break;
|
|
1076
1083
|
default:
|
|
1077
|
-
t.set(u,
|
|
1084
|
+
t.set(u, io);
|
|
1078
1085
|
}
|
|
1079
1086
|
});
|
|
1080
1087
|
});
|
|
1081
1088
|
}
|
|
1082
1089
|
hasProperty(e, t, r) {
|
|
1083
|
-
if (r.some((n) => n.name ===
|
|
1090
|
+
if (r.some((n) => n.name === xr.name)) return true;
|
|
1084
1091
|
if (e.indexOf("-") > -1) {
|
|
1085
1092
|
if (br(e) || wr(e)) return false;
|
|
1086
1093
|
if (r.some((n) => n.name === kr.name)) return true;
|
|
@@ -1088,15 +1095,15 @@ var eo = "boolean", to = "number", ro = "string", no = "object", io = ["[Element
|
|
|
1088
1095
|
return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(t);
|
|
1089
1096
|
}
|
|
1090
1097
|
hasElement(e, t) {
|
|
1091
|
-
return t.some((r) => r.name ===
|
|
1098
|
+
return t.some((r) => r.name === xr.name) || e.indexOf("-") > -1 && (br(e) || wr(e) || t.some((r) => r.name === kr.name)) ? true : this._schema.has(e.toLowerCase());
|
|
1092
1099
|
}
|
|
1093
1100
|
securityContext(e, t, r) {
|
|
1094
1101
|
r && (t = this.getMappedPropName(t)), e = e.toLowerCase(), t = t.toLowerCase();
|
|
1095
|
-
let n =
|
|
1096
|
-
return n || (n =
|
|
1102
|
+
let n = Ar()[e + "|" + t];
|
|
1103
|
+
return n || (n = Ar()["*|" + t], n || re.NONE);
|
|
1097
1104
|
}
|
|
1098
1105
|
getMappedPropName(e) {
|
|
1099
|
-
return
|
|
1106
|
+
return Ii.get(e) ?? e;
|
|
1100
1107
|
}
|
|
1101
1108
|
getDefaultComponentElementName() {
|
|
1102
1109
|
return "ng-component";
|
|
@@ -1113,7 +1120,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1113
1120
|
}
|
|
1114
1121
|
allKnownAttributesOfElement(e) {
|
|
1115
1122
|
let t = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
|
|
1116
|
-
return Array.from(t.keys()).map((r) =>
|
|
1123
|
+
return Array.from(t.keys()).map((r) => oo.get(r) ?? r);
|
|
1117
1124
|
}
|
|
1118
1125
|
allKnownEventsOfElement(e) {
|
|
1119
1126
|
return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
|
|
@@ -1123,7 +1130,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1123
1130
|
}
|
|
1124
1131
|
normalizeAnimationStyleValue(e, t, r) {
|
|
1125
1132
|
let n = "", i = r.toString().trim(), s = null;
|
|
1126
|
-
if (
|
|
1133
|
+
if (lo(e) && r !== 0 && r !== "0") if (typeof r == "number") n = "px";
|
|
1127
1134
|
else {
|
|
1128
1135
|
let a = r.match(/^[+-]?[\d\.]+([a-z]*)$/);
|
|
1129
1136
|
a && a[1].length == 0 && (s = `Please provide a CSS unit value for ${t}:${r}`);
|
|
@@ -1131,7 +1138,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1131
1138
|
return { error: s, value: i + n };
|
|
1132
1139
|
}
|
|
1133
1140
|
};
|
|
1134
|
-
function
|
|
1141
|
+
function lo(e) {
|
|
1135
1142
|
switch (e) {
|
|
1136
1143
|
case "width":
|
|
1137
1144
|
case "height":
|
|
@@ -1167,7 +1174,7 @@ function ao(e) {
|
|
|
1167
1174
|
}
|
|
1168
1175
|
}
|
|
1169
1176
|
var f = class {
|
|
1170
|
-
constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r =
|
|
1177
|
+
constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = R.PARSABLE_DATA, closedByParent: n = false, isVoid: i = false, ignoreFirstLf: s = false, preventNamespaceInheritance: a = false, canSelfClose: o = false } = {}) {
|
|
1171
1178
|
this.closedByChildren = {}, this.closedByParent = false, e && e.length > 0 && e.forEach((c) => this.closedByChildren[c] = true), this.isVoid = i, this.closedByParent = n || i, this.implicitNamespacePrefix = t || null, this.contentType = r, this.ignoreFirstLf = s, this.preventNamespaceInheritance = a, this.canSelfClose = o ?? i;
|
|
1172
1179
|
}
|
|
1173
1180
|
isClosedByChild(e) {
|
|
@@ -1176,28 +1183,28 @@ var f = class {
|
|
|
1176
1183
|
getContentType(e) {
|
|
1177
1184
|
return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
|
|
1178
1185
|
}
|
|
1179
|
-
}, Mi,
|
|
1186
|
+
}, Mi, lt;
|
|
1180
1187
|
function Be(e) {
|
|
1181
|
-
return
|
|
1182
|
-
!
|
|
1183
|
-
})),
|
|
1188
|
+
return lt || (Mi = new f({ canSelfClose: true }), lt = Object.assign(/* @__PURE__ */ Object.create(null), { base: new f({ isVoid: true }), meta: new f({ isVoid: true }), area: new f({ isVoid: true }), embed: new f({ isVoid: true }), link: new f({ isVoid: true }), img: new f({ isVoid: true }), input: new f({ isVoid: true }), param: new f({ isVoid: true }), hr: new f({ isVoid: true }), br: new f({ isVoid: true }), source: new f({ isVoid: true }), track: new f({ isVoid: true }), wbr: new f({ isVoid: true }), p: new f({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: true }), thead: new f({ closedByChildren: ["tbody", "tfoot"] }), tbody: new f({ closedByChildren: ["tbody", "tfoot"], closedByParent: true }), tfoot: new f({ closedByChildren: ["tbody"], closedByParent: true }), tr: new f({ closedByChildren: ["tr"], closedByParent: true }), td: new f({ closedByChildren: ["td", "th"], closedByParent: true }), th: new f({ closedByChildren: ["td", "th"], closedByParent: true }), col: new f({ isVoid: true }), svg: new f({ implicitNamespacePrefix: "svg" }), foreignObject: new f({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: true }), math: new f({ implicitNamespacePrefix: "math" }), li: new f({ closedByChildren: ["li"], closedByParent: true }), dt: new f({ closedByChildren: ["dt", "dd"] }), dd: new f({ closedByChildren: ["dt", "dd"], closedByParent: true }), rb: new f({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rt: new f({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rtc: new f({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }), rp: new f({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), optgroup: new f({ closedByChildren: ["optgroup"], closedByParent: true }), option: new f({ closedByChildren: ["option", "optgroup"], closedByParent: true }), pre: new f({ ignoreFirstLf: true }), listing: new f({ ignoreFirstLf: true }), style: new f({ contentType: R.RAW_TEXT }), script: new f({ contentType: R.RAW_TEXT }), title: new f({ contentType: { default: R.ESCAPABLE_RAW_TEXT, svg: R.PARSABLE_DATA } }), textarea: new f({ contentType: R.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }) }), new Ri().allKnownElementNames().forEach((t) => {
|
|
1189
|
+
!lt[t] && Me(t) === null && (lt[t] = new f({ canSelfClose: false }));
|
|
1190
|
+
})), lt[e] ?? Mi;
|
|
1184
1191
|
}
|
|
1185
|
-
function
|
|
1192
|
+
function ct(e) {
|
|
1186
1193
|
return e >= 9 && e <= 32 || e == 160;
|
|
1187
1194
|
}
|
|
1188
|
-
function
|
|
1195
|
+
function ut(e) {
|
|
1189
1196
|
return 48 <= e && e <= 57;
|
|
1190
1197
|
}
|
|
1191
1198
|
function Fe(e) {
|
|
1192
1199
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
1193
1200
|
}
|
|
1194
1201
|
function Bi(e) {
|
|
1195
|
-
return e >= 97 && e <= 102 || e >= 65 && e <= 70 ||
|
|
1202
|
+
return e >= 97 && e <= 102 || e >= 65 && e <= 70 || ut(e);
|
|
1196
1203
|
}
|
|
1197
|
-
function
|
|
1204
|
+
function pt(e) {
|
|
1198
1205
|
return e === 10 || e === 13;
|
|
1199
1206
|
}
|
|
1200
|
-
function
|
|
1207
|
+
function yr(e) {
|
|
1201
1208
|
return 48 <= e && e <= 55;
|
|
1202
1209
|
}
|
|
1203
1210
|
function Ut(e) {
|
|
@@ -1236,7 +1243,7 @@ var qe = class qi {
|
|
|
1236
1243
|
}
|
|
1237
1244
|
return null;
|
|
1238
1245
|
}
|
|
1239
|
-
},
|
|
1246
|
+
}, mt = class {
|
|
1240
1247
|
constructor(e, t) {
|
|
1241
1248
|
this.content = e, this.url = t;
|
|
1242
1249
|
}
|
|
@@ -1247,9 +1254,9 @@ var qe = class qi {
|
|
|
1247
1254
|
toString() {
|
|
1248
1255
|
return this.start.file.content.substring(this.start.offset, this.end.offset);
|
|
1249
1256
|
}
|
|
1250
|
-
}, Fi = function(e) {
|
|
1257
|
+
}, Fi = (function(e) {
|
|
1251
1258
|
return e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR", e;
|
|
1252
|
-
}({}),
|
|
1259
|
+
})({}), ne = class extends Error {
|
|
1253
1260
|
constructor(e, t, r = Fi.ERROR, n) {
|
|
1254
1261
|
super(t), this.span = e, this.msg = t, this.level = r, this.relatedError = n, Object.setPrototypeOf(this, new.target.prototype);
|
|
1255
1262
|
}
|
|
@@ -1304,7 +1311,7 @@ var Ce = class {
|
|
|
1304
1311
|
get nameSpan() {
|
|
1305
1312
|
return this.keySpan;
|
|
1306
1313
|
}
|
|
1307
|
-
},
|
|
1314
|
+
}, ie = class extends Ce {
|
|
1308
1315
|
constructor(e, t, r, n, i, s, a, o = null, c = null, u, p) {
|
|
1309
1316
|
super(s, p), this.name = e, this.attrs = t, this.directives = r, this.children = n, this.isSelfClosing = i, this.startSourceSpan = a, this.endSourceSpan = o, this.nameSpan = c, this.isVoid = u, this.kind = "element";
|
|
1310
1317
|
}
|
|
@@ -1421,37 +1428,37 @@ var Pr = class {
|
|
|
1421
1428
|
}
|
|
1422
1429
|
};
|
|
1423
1430
|
var Te = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", af: "", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "", ic: "", InvisibleTimes: "", it: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", ZeroWidthSpace: "", NewLine: `
|
|
1424
|
-
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" }, oo = "";
|
|
1425
|
-
Te.ngsp =
|
|
1426
|
-
var l = function(e) {
|
|
1431
|
+
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", nbsp: " ", Nopf: "ℕ", naturals: "ℕ", Not: "⫬", NotCongruent: "≢", nequiv: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", npar: "∦", nparallel: "∦", nshortparallel: "∦", nspar: "∦", NotElement: "∉", notin: "∉", notinva: "∉", NotEqual: "≠", ne: "≠", NotEqualTilde: "≂̸", nesim: "≂̸", NotExists: "∄", nexist: "∄", nexists: "∄", NotGreater: "≯", ngt: "≯", ngtr: "≯", NotGreaterEqual: "≱", nge: "≱", ngeq: "≱", NotGreaterFullEqual: "≧̸", ngE: "≧̸", ngeqq: "≧̸", NotGreaterGreater: "≫̸", nGtv: "≫̸", NotGreaterLess: "≹", ntgl: "≹", NotGreaterSlantEqual: "⩾̸", ngeqslant: "⩾̸", nges: "⩾̸", NotGreaterTilde: "≵", ngsim: "≵", NotHumpDownHump: "≎̸", nbump: "≎̸", NotHumpEqual: "≏̸", nbumpe: "≏̸", NotLeftTriangle: "⋪", nltri: "⋪", ntriangleleft: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", nltrie: "⋬", ntrianglelefteq: "⋬", NotLess: "≮", nless: "≮", nlt: "≮", NotLessEqual: "≰", nle: "≰", nleq: "≰", NotLessGreater: "≸", ntlg: "≸", NotLessLess: "≪̸", nLtv: "≪̸", NotLessSlantEqual: "⩽̸", nleqslant: "⩽̸", nles: "⩽̸", NotLessTilde: "≴", nlsim: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", npr: "⊀", nprec: "⊀", NotPrecedesEqual: "⪯̸", npre: "⪯̸", npreceq: "⪯̸", NotPrecedesSlantEqual: "⋠", nprcue: "⋠", NotReverseElement: "∌", notni: "∌", notniva: "∌", NotRightTriangle: "⋫", nrtri: "⋫", ntriangleright: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", nrtrie: "⋭", ntrianglerighteq: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", nsqsube: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", nsqsupe: "⋣", NotSubset: "⊂⃒", nsubset: "⊂⃒", vnsub: "⊂⃒", NotSubsetEqual: "⊈", nsube: "⊈", nsubseteq: "⊈", NotSucceeds: "⊁", nsc: "⊁", nsucc: "⊁", NotSucceedsEqual: "⪰̸", nsce: "⪰̸", nsucceq: "⪰̸", NotSucceedsSlantEqual: "⋡", nsccue: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", nsupset: "⊃⃒", vnsup: "⊃⃒", NotSupersetEqual: "⊉", nsupe: "⊉", nsupseteq: "⊉", NotTilde: "≁", nsim: "≁", NotTildeEqual: "≄", nsime: "≄", nsimeq: "≄", NotTildeFullEqual: "≇", ncong: "≇", NotTildeTilde: "≉", nap: "≉", napprox: "≉", NotVerticalBar: "∤", nmid: "∤", nshortmid: "∤", nsmid: "∤", Nscr: "𝒩", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacute: "Ó", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", ohm: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", ldquo: "“", OpenCurlyQuote: "‘", lsquo: "‘", Or: "⩔", Oscr: "𝒪", Oslash: "Ø", Otilde: "Õ", Otimes: "⨷", Ouml: "Ö", OverBar: "‾", oline: "‾", OverBrace: "⏞", OverBracket: "⎴", tbrk: "⎴", OverParenthesis: "⏜", PartialD: "∂", part: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", plusmn: "±", pm: "±", Popf: "ℙ", primes: "ℙ", Pr: "⪻", Precedes: "≺", pr: "≺", prec: "≺", PrecedesEqual: "⪯", pre: "⪯", preceq: "⪯", PrecedesSlantEqual: "≼", prcue: "≼", preccurlyeq: "≼", PrecedesTilde: "≾", precsim: "≾", prsim: "≾", Prime: "″", Product: "∏", prod: "∏", Proportional: "∝", prop: "∝", propto: "∝", varpropto: "∝", vprop: "∝", Pscr: "𝒫", Psi: "Ψ", QUOT: '"', quot: '"', Qfr: "𝔔", Qopf: "ℚ", rationals: "ℚ", Qscr: "𝒬", RBarr: "⤐", drbkarow: "⤐", REG: "®", circledR: "®", reg: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", twoheadrightarrow: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", Rfr: "ℜ", real: "ℜ", realpart: "ℜ", ReverseElement: "∋", SuchThat: "∋", ni: "∋", niv: "∋", ReverseEquilibrium: "⇋", leftrightharpoons: "⇋", lrhar: "⇋", ReverseUpEquilibrium: "⥯", duhar: "⥯", Rho: "Ρ", RightAngleBracket: "⟩", rang: "⟩", rangle: "⟩", RightArrow: "→", ShortRightArrow: "→", rarr: "→", rightarrow: "→", srarr: "→", RightArrowBar: "⇥", rarrb: "⇥", RightArrowLeftArrow: "⇄", rightleftarrows: "⇄", rlarr: "⇄", RightCeiling: "⌉", rceil: "⌉", RightDoubleBracket: "⟧", robrk: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", dharr: "⇂", downharpoonright: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", rfloor: "⌋", RightTee: "⊢", vdash: "⊢", RightTeeArrow: "↦", map: "↦", mapsto: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", vartriangleright: "⊳", vrtri: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", rtrie: "⊵", trianglerighteq: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", uharr: "↾", upharpoonright: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", rharu: "⇀", rightharpoonup: "⇀", RightVectorBar: "⥓", Ropf: "ℝ", reals: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", rAarr: "⇛", Rscr: "ℛ", realine: "ℛ", Rsh: "↱", rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortUpArrow: "↑", UpArrow: "↑", uarr: "↑", uparrow: "↑", Sigma: "Σ", SmallCircle: "∘", compfn: "∘", Sopf: "𝕊", Sqrt: "√", radic: "√", Square: "□", squ: "□", square: "□", SquareIntersection: "⊓", sqcap: "⊓", SquareSubset: "⊏", sqsub: "⊏", sqsubset: "⊏", SquareSubsetEqual: "⊑", sqsube: "⊑", sqsubseteq: "⊑", SquareSuperset: "⊐", sqsup: "⊐", sqsupset: "⊐", SquareSupersetEqual: "⊒", sqsupe: "⊒", sqsupseteq: "⊒", SquareUnion: "⊔", sqcup: "⊔", Sscr: "𝒮", Star: "⋆", sstarf: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", sube: "⊆", subseteq: "⊆", Succeeds: "≻", sc: "≻", succ: "≻", SucceedsEqual: "⪰", sce: "⪰", succeq: "⪰", SucceedsSlantEqual: "≽", sccue: "≽", succcurlyeq: "≽", SucceedsTilde: "≿", scsim: "≿", succsim: "≿", Sum: "∑", sum: "∑", Sup: "⋑", Supset: "⋑", Superset: "⊃", sup: "⊃", supset: "⊃", SupersetEqual: "⊇", supe: "⊇", supseteq: "⊇", THORN: "Þ", TRADE: "™", trade: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", there4: "∴", therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", thinsp: " ", Tilde: "∼", sim: "∼", thicksim: "∼", thksim: "∼", TildeEqual: "≃", sime: "≃", simeq: "≃", TildeFullEqual: "≅", cong: "≅", TildeTilde: "≈", ap: "≈", approx: "≈", asymp: "≈", thickapprox: "≈", thkap: "≈", Topf: "𝕋", TripleDot: "⃛", tdot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", lowbar: "_", UnderBrace: "⏟", UnderBracket: "⎵", bbrk: "⎵", UnderParenthesis: "⏝", Union: "⋃", bigcup: "⋃", xcup: "⋃", UnionPlus: "⊎", uplus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", udarr: "⇅", UpDownArrow: "↕", updownarrow: "↕", varr: "↕", UpEquilibrium: "⥮", udhar: "⥮", UpTee: "⊥", bot: "⊥", bottom: "⊥", perp: "⊥", UpTeeArrow: "↥", mapstoup: "↥", UpperLeftArrow: "↖", nwarr: "↖", nwarrow: "↖", UpperRightArrow: "↗", nearr: "↗", nearrow: "↗", Upsi: "ϒ", upsih: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", bigvee: "⋁", xvee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", mid: "∣", shortmid: "∣", smid: "∣", VerticalLine: "|", verbar: "|", vert: "|", VerticalSeparator: "❘", VerticalTilde: "≀", wr: "≀", wreath: "≀", VeryThinSpace: " ", hairsp: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", bigwedge: "⋀", xwedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", Zeta: "Ζ", Zfr: "ℨ", zeetrf: "ℨ", Zopf: "ℤ", integers: "ℤ", Zscr: "𝒵", aacute: "á", abreve: "ă", ac: "∾", mstpos: "∾", acE: "∾̳", acd: "∿", acirc: "â", acy: "а", aelig: "æ", afr: "𝔞", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", and: "∧", wedge: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", angle: "∠", ange: "⦤", angmsd: "∡", measuredangle: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angzarr: "⍼", aogon: "ą", aopf: "𝕒", apE: "⩰", apacir: "⩯", ape: "≊", approxeq: "≊", apid: "≋", apos: "'", aring: "å", ascr: "𝒶", ast: "*", midast: "*", atilde: "ã", auml: "ä", awint: "⨑", bNot: "⫭", backcong: "≌", bcong: "≌", backepsilon: "϶", bepsi: "϶", backprime: "‵", bprime: "‵", backsim: "∽", bsim: "∽", backsimeq: "⋍", bsime: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrktbrk: "⎶", bcy: "б", bdquo: "„", ldquor: "„", bemptyv: "⦰", beta: "β", beth: "ℶ", between: "≬", twixt: "≬", bfr: "𝔟", bigcirc: "◯", xcirc: "◯", bigodot: "⨀", xodot: "⨀", bigoplus: "⨁", xoplus: "⨁", bigotimes: "⨂", xotime: "⨂", bigsqcup: "⨆", xsqcup: "⨆", bigstar: "★", starf: "★", bigtriangledown: "▽", xdtri: "▽", bigtriangleup: "△", xutri: "△", biguplus: "⨄", xuplus: "⨄", bkarow: "⤍", rbarr: "⤍", blacklozenge: "⧫", lozf: "⧫", blacktriangle: "▴", utrif: "▴", blacktriangledown: "▾", dtrif: "▾", blacktriangleleft: "◂", ltrif: "◂", blacktriangleright: "▸", rtrif: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", minusb: "⊟", boxplus: "⊞", plusb: "⊞", boxtimes: "⊠", timesb: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bumpE: "⪮", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", ccaps: "⩍", ccaron: "č", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cemptyv: "⦲", cent: "¢", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", cire: "≗", circlearrowleft: "↺", olarr: "↺", circlearrowright: "↻", orarr: "↻", circledS: "Ⓢ", oS: "Ⓢ", circledast: "⊛", oast: "⊛", circledcirc: "⊚", ocir: "⊚", circleddash: "⊝", odash: "⊝", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", comma: ",", commat: "@", comp: "∁", complement: "∁", congdot: "⩭", copf: "𝕔", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", curlyeqprec: "⋞", cuesc: "⋟", curlyeqsucc: "⋟", cularr: "↶", curvearrowleft: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curvearrowright: "↷", curarrm: "⤼", curlyvee: "⋎", cuvee: "⋎", curlywedge: "⋏", cuwed: "⋏", curren: "¤", cwint: "∱", cylcty: "⌭", dHar: "⥥", dagger: "†", daleth: "ℸ", dash: "‐", hyphen: "‐", dbkarow: "⤏", rBarr: "⤏", dcaron: "ď", dcy: "д", ddarr: "⇊", downdownarrows: "⇊", ddotseq: "⩷", eDDot: "⩷", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", diamondsuit: "♦", diams: "♦", digamma: "ϝ", gammad: "ϝ", disin: "⋲", div: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", llcorner: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", doteqdot: "≑", eDot: "≑", dotminus: "∸", minusd: "∸", dotplus: "∔", plusdo: "∔", dotsquare: "⊡", sdotb: "⊡", drcorn: "⌟", lrcorner: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", triangledown: "▿", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "≖", eqcirc: "≖", ecirc: "ê", ecolon: "≕", eqcolon: "≕", ecy: "э", edot: "ė", efDot: "≒", fallingdotseq: "≒", efr: "𝔢", eg: "⪚", egrave: "è", egs: "⪖", eqslantgtr: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", eqslantless: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", varnothing: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", straightepsilon: "ϵ", varepsilon: "ϵ", equals: "=", equest: "≟", questeq: "≟", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", risingdotseq: "≓", erarr: "⥱", escr: "ℯ", eta: "η", eth: "ð", euml: "ë", euro: "€", excl: "!", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" }, co = "";
|
|
1432
|
+
Te.ngsp = co;
|
|
1433
|
+
var l = (function(e) {
|
|
1427
1434
|
return e[e.TAG_OPEN_START = 0] = "TAG_OPEN_START", e[e.TAG_OPEN_END = 1] = "TAG_OPEN_END", e[e.TAG_OPEN_END_VOID = 2] = "TAG_OPEN_END_VOID", e[e.TAG_CLOSE = 3] = "TAG_CLOSE", e[e.INCOMPLETE_TAG_OPEN = 4] = "INCOMPLETE_TAG_OPEN", e[e.TEXT = 5] = "TEXT", e[e.ESCAPABLE_RAW_TEXT = 6] = "ESCAPABLE_RAW_TEXT", e[e.RAW_TEXT = 7] = "RAW_TEXT", e[e.INTERPOLATION = 8] = "INTERPOLATION", e[e.ENCODED_ENTITY = 9] = "ENCODED_ENTITY", e[e.COMMENT_START = 10] = "COMMENT_START", e[e.COMMENT_END = 11] = "COMMENT_END", e[e.CDATA_START = 12] = "CDATA_START", e[e.CDATA_END = 13] = "CDATA_END", e[e.ATTR_NAME = 14] = "ATTR_NAME", e[e.ATTR_QUOTE = 15] = "ATTR_QUOTE", e[e.ATTR_VALUE_TEXT = 16] = "ATTR_VALUE_TEXT", e[e.ATTR_VALUE_INTERPOLATION = 17] = "ATTR_VALUE_INTERPOLATION", e[e.DOC_TYPE_START = 18] = "DOC_TYPE_START", e[e.DOC_TYPE_END = 19] = "DOC_TYPE_END", e[e.EXPANSION_FORM_START = 20] = "EXPANSION_FORM_START", e[e.EXPANSION_CASE_VALUE = 21] = "EXPANSION_CASE_VALUE", e[e.EXPANSION_CASE_EXP_START = 22] = "EXPANSION_CASE_EXP_START", e[e.EXPANSION_CASE_EXP_END = 23] = "EXPANSION_CASE_EXP_END", e[e.EXPANSION_FORM_END = 24] = "EXPANSION_FORM_END", e[e.BLOCK_OPEN_START = 25] = "BLOCK_OPEN_START", e[e.BLOCK_OPEN_END = 26] = "BLOCK_OPEN_END", e[e.BLOCK_CLOSE = 27] = "BLOCK_CLOSE", e[e.BLOCK_PARAMETER = 28] = "BLOCK_PARAMETER", e[e.INCOMPLETE_BLOCK_OPEN = 29] = "INCOMPLETE_BLOCK_OPEN", e[e.LET_START = 30] = "LET_START", e[e.LET_VALUE = 31] = "LET_VALUE", e[e.LET_END = 32] = "LET_END", e[e.INCOMPLETE_LET = 33] = "INCOMPLETE_LET", e[e.COMPONENT_OPEN_START = 34] = "COMPONENT_OPEN_START", e[e.COMPONENT_OPEN_END = 35] = "COMPONENT_OPEN_END", e[e.COMPONENT_OPEN_END_VOID = 36] = "COMPONENT_OPEN_END_VOID", e[e.COMPONENT_CLOSE = 37] = "COMPONENT_CLOSE", e[e.INCOMPLETE_COMPONENT_OPEN = 38] = "INCOMPLETE_COMPONENT_OPEN", e[e.DIRECTIVE_NAME = 39] = "DIRECTIVE_NAME", e[e.DIRECTIVE_OPEN = 40] = "DIRECTIVE_OPEN", e[e.DIRECTIVE_CLOSE = 41] = "DIRECTIVE_CLOSE", e[e.EOF = 42] = "EOF", e;
|
|
1428
|
-
}({});
|
|
1429
|
-
var
|
|
1435
|
+
})({});
|
|
1436
|
+
var Lo = class {
|
|
1430
1437
|
constructor(e, t, r) {
|
|
1431
1438
|
this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
|
|
1432
1439
|
}
|
|
1433
1440
|
};
|
|
1434
1441
|
function ns(e, t, r, n = {}) {
|
|
1435
|
-
let i = new
|
|
1436
|
-
return i.tokenize(), new
|
|
1442
|
+
let i = new Io(new mt(e, t), r, n);
|
|
1443
|
+
return i.tokenize(), new Lo(Vo(i.tokens), i.errors, i.nonNormalizedIcuExpressions);
|
|
1437
1444
|
}
|
|
1438
|
-
var
|
|
1445
|
+
var Po = /\r\n?/g;
|
|
1439
1446
|
function be(e) {
|
|
1440
1447
|
return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
|
|
1441
1448
|
}
|
|
1442
1449
|
function Qi(e) {
|
|
1443
1450
|
return `Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
|
|
1444
1451
|
}
|
|
1445
|
-
function
|
|
1452
|
+
function Oo(e, t) {
|
|
1446
1453
|
return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
|
|
1447
1454
|
}
|
|
1448
|
-
var Mr = function(e) {
|
|
1455
|
+
var Mr = (function(e) {
|
|
1449
1456
|
return e.HEX = "hexadecimal", e.DEC = "decimal", e;
|
|
1450
|
-
}(Mr || {}),
|
|
1457
|
+
})(Mr || {}), Do = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"], ft = { start: "{{", end: "}}" }, Io = class {
|
|
1451
1458
|
constructor(e, t, r) {
|
|
1452
1459
|
this._getTagContentType = t, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._openDirectiveCount = 0, this._inInterpolation = false, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = r.tokenizeExpansionForms || false, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((i) => i.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || false, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || false;
|
|
1453
1460
|
let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
|
|
1454
|
-
this._cursor = r.escapedString ? new
|
|
1461
|
+
this._cursor = r.escapedString ? new Uo(e, n) : new is(e, n), this._preserveLineEndings = r.preserveLineEndings || false, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || false, this._tokenizeBlocks = r.tokenizeBlocks ?? true, this._tokenizeLet = r.tokenizeLet ?? true, this._selectorlessEnabled = r.selectorlessEnabled ?? false;
|
|
1455
1462
|
try {
|
|
1456
1463
|
this._cursor.init();
|
|
1457
1464
|
} catch (i) {
|
|
@@ -1459,7 +1466,7 @@ var Mr = function(e) {
|
|
|
1459
1466
|
}
|
|
1460
1467
|
}
|
|
1461
1468
|
_processCarriageReturns(e) {
|
|
1462
|
-
return this._preserveLineEndings ? e : e.replace(
|
|
1469
|
+
return this._preserveLineEndings ? e : e.replace(Po, `
|
|
1463
1470
|
`);
|
|
1464
1471
|
}
|
|
1465
1472
|
tokenize() {
|
|
@@ -1481,7 +1488,7 @@ var Mr = function(e) {
|
|
|
1481
1488
|
}
|
|
1482
1489
|
_getBlockName() {
|
|
1483
1490
|
let e = false, t = this._cursor.clone();
|
|
1484
|
-
return this._attemptCharCodeUntilFn((r) =>
|
|
1491
|
+
return this._attemptCharCodeUntilFn((r) => ct(r) ? !e : Ho(r) ? (e = true, false) : true), this._cursor.getChars(t).trim();
|
|
1485
1492
|
}
|
|
1486
1493
|
_consumeBlockStart(e) {
|
|
1487
1494
|
this._requireCharCode(64), this._beginToken(l.BLOCK_OPEN_START, e);
|
|
@@ -1491,7 +1498,7 @@ var Mr = function(e) {
|
|
|
1491
1498
|
t.type = l.INCOMPLETE_BLOCK_OPEN;
|
|
1492
1499
|
return;
|
|
1493
1500
|
}
|
|
1494
|
-
this._attemptCharCode(123) ? (this._beginToken(l.BLOCK_OPEN_END), this._endToken([])) : t.type = l.INCOMPLETE_BLOCK_OPEN;
|
|
1501
|
+
this._attemptCharCode(123) ? (this._beginToken(l.BLOCK_OPEN_END), this._endToken([])) : this._isBlockStart() && (t.parts[0] === "case" || t.parts[0] === "default") ? (this._beginToken(l.BLOCK_OPEN_END), this._endToken([]), this._beginToken(l.BLOCK_CLOSE), this._endToken([])) : t.type = l.INCOMPLETE_BLOCK_OPEN;
|
|
1495
1502
|
}
|
|
1496
1503
|
_consumeBlockEnd(e) {
|
|
1497
1504
|
this._beginToken(l.BLOCK_CLOSE, e), this._endToken([]);
|
|
@@ -1516,7 +1523,7 @@ var Mr = function(e) {
|
|
|
1516
1523
|
}
|
|
1517
1524
|
}
|
|
1518
1525
|
_consumeLetDeclaration(e) {
|
|
1519
|
-
if (this._requireStr("@let"), this._beginToken(l.LET_START, e),
|
|
1526
|
+
if (this._requireStr("@let"), this._beginToken(l.LET_START, e), ct(this._cursor.peek())) this._attemptCharCodeUntilFn(T);
|
|
1520
1527
|
else {
|
|
1521
1528
|
let r = this._endToken([this._cursor.getChars(e)]);
|
|
1522
1529
|
r.type = l.INCOMPLETE_LET;
|
|
@@ -1527,11 +1534,11 @@ var Mr = function(e) {
|
|
|
1527
1534
|
t.type = l.INCOMPLETE_LET;
|
|
1528
1535
|
return;
|
|
1529
1536
|
}
|
|
1530
|
-
this._attemptCharCodeUntilFn((r) => T(r) && !
|
|
1537
|
+
this._attemptCharCodeUntilFn((r) => T(r) && !pt(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(l.LET_END), this._endToken([]), this._cursor.advance()) : (t.type = l.INCOMPLETE_LET, t.sourceSpan = this._cursor.getSpan(e));
|
|
1531
1538
|
}
|
|
1532
1539
|
_getLetDeclarationName() {
|
|
1533
1540
|
let e = this._cursor.clone(), t = false;
|
|
1534
|
-
return this._attemptCharCodeUntilFn((r) => Fe(r) || r === 36 || r === 95 || t &&
|
|
1541
|
+
return this._attemptCharCodeUntilFn((r) => Fe(r) || r === 36 || r === 95 || t && ut(r) ? (t = true, false) : true), this._cursor.getChars(e).trim();
|
|
1535
1542
|
}
|
|
1536
1543
|
_consumeLetDeclarationValue() {
|
|
1537
1544
|
let e = this._cursor.clone();
|
|
@@ -1544,7 +1551,7 @@ var Mr = function(e) {
|
|
|
1544
1551
|
}
|
|
1545
1552
|
_tokenizeExpansionForm() {
|
|
1546
1553
|
if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), true;
|
|
1547
|
-
if (
|
|
1554
|
+
if (Fo(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), true;
|
|
1548
1555
|
if (this._cursor.peek() === 125) {
|
|
1549
1556
|
if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), true;
|
|
1550
1557
|
if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), true;
|
|
@@ -1555,25 +1562,25 @@ var Mr = function(e) {
|
|
|
1555
1562
|
this._currentTokenStart = t, this._currentTokenType = e;
|
|
1556
1563
|
}
|
|
1557
1564
|
_endToken(e, t) {
|
|
1558
|
-
if (this._currentTokenStart === null) throw new
|
|
1559
|
-
if (this._currentTokenType === null) throw new
|
|
1565
|
+
if (this._currentTokenStart === null) throw new ne(this._cursor.getSpan(t), "Programming error - attempted to end a token when there was no start to the token");
|
|
1566
|
+
if (this._currentTokenType === null) throw new ne(this._cursor.getSpan(this._currentTokenStart), "Programming error - attempted to end a token which has no token type");
|
|
1560
1567
|
let r = { type: this._currentTokenType, parts: e, sourceSpan: (t ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
|
|
1561
1568
|
return this.tokens.push(r), this._currentTokenStart = null, this._currentTokenType = null, r;
|
|
1562
1569
|
}
|
|
1563
1570
|
_createError(e, t) {
|
|
1564
1571
|
this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
|
|
1565
|
-
let r = new
|
|
1572
|
+
let r = new ne(t, e);
|
|
1566
1573
|
return this._currentTokenStart = null, this._currentTokenType = null, r;
|
|
1567
1574
|
}
|
|
1568
1575
|
handleError(e) {
|
|
1569
|
-
if (e instanceof Vr && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof
|
|
1576
|
+
if (e instanceof Vr && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof ne) this.errors.push(e);
|
|
1570
1577
|
else throw e;
|
|
1571
1578
|
}
|
|
1572
1579
|
_attemptCharCode(e) {
|
|
1573
1580
|
return this._cursor.peek() === e ? (this._cursor.advance(), true) : false;
|
|
1574
1581
|
}
|
|
1575
1582
|
_attemptCharCodeCaseInsensitive(e) {
|
|
1576
|
-
return
|
|
1583
|
+
return qo(this._cursor.peek(), e) ? (this._cursor.advance(), true) : false;
|
|
1577
1584
|
}
|
|
1578
1585
|
_requireCharCode(e) {
|
|
1579
1586
|
let t = this._cursor.clone();
|
|
@@ -1623,7 +1630,7 @@ var Mr = function(e) {
|
|
|
1623
1630
|
return true;
|
|
1624
1631
|
}
|
|
1625
1632
|
_isBlockStart() {
|
|
1626
|
-
return this._cursor.peek() === 64 &&
|
|
1633
|
+
return this._cursor.peek() === 64 && Do.some((e) => this._peekStr(e));
|
|
1627
1634
|
}
|
|
1628
1635
|
_isLetStart() {
|
|
1629
1636
|
return this._cursor.peek() === 64 && this._peekStr("@let");
|
|
@@ -1633,10 +1640,10 @@ var Mr = function(e) {
|
|
|
1633
1640
|
let t = this._cursor.clone();
|
|
1634
1641
|
if (this._cursor.advance(), this._attemptCharCode(35)) {
|
|
1635
1642
|
let r = this._attemptCharCode(120) || this._attemptCharCode(88), n = this._cursor.clone();
|
|
1636
|
-
if (this._attemptCharCodeUntilFn(
|
|
1643
|
+
if (this._attemptCharCodeUntilFn(Mo), this._cursor.peek() != 59) {
|
|
1637
1644
|
this._cursor.advance();
|
|
1638
1645
|
let s = r ? Mr.HEX : Mr.DEC;
|
|
1639
|
-
throw this._createError(
|
|
1646
|
+
throw this._createError(Oo(s, this._cursor.getChars(t)), this._cursor.getSpan());
|
|
1640
1647
|
}
|
|
1641
1648
|
let i = this._cursor.getChars(n);
|
|
1642
1649
|
this._cursor.advance();
|
|
@@ -1648,7 +1655,7 @@ var Mr = function(e) {
|
|
|
1648
1655
|
}
|
|
1649
1656
|
} else {
|
|
1650
1657
|
let r = this._cursor.clone();
|
|
1651
|
-
if (this._attemptCharCodeUntilFn(
|
|
1658
|
+
if (this._attemptCharCodeUntilFn(Bo), this._cursor.peek() != 59) this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
|
|
1652
1659
|
else {
|
|
1653
1660
|
let n = this._cursor.getChars(r);
|
|
1654
1661
|
this._cursor.advance();
|
|
@@ -1682,7 +1689,7 @@ var Mr = function(e) {
|
|
|
1682
1689
|
}
|
|
1683
1690
|
_consumePrefixAndName(e) {
|
|
1684
1691
|
let t = this._cursor.clone(), r = "";
|
|
1685
|
-
for (; this._cursor.peek() !== 58 && !
|
|
1692
|
+
for (; this._cursor.peek() !== 58 && !Ro(this._cursor.peek()); ) this._cursor.advance();
|
|
1686
1693
|
let n;
|
|
1687
1694
|
this._cursor.peek() === 58 ? (r = this._cursor.getChars(t), this._cursor.advance(), n = this._cursor.clone()) : n = t, this._requireCharCodeUntilFn(e, r === "" ? 0 : 1);
|
|
1688
1695
|
let i = this._cursor.getChars(n);
|
|
@@ -1705,7 +1712,7 @@ var Mr = function(e) {
|
|
|
1705
1712
|
}
|
|
1706
1713
|
i.type === l.COMPONENT_OPEN_START ? this._consumeComponentOpenEnd() : this._consumeTagOpenEnd();
|
|
1707
1714
|
} catch (o) {
|
|
1708
|
-
if (o instanceof
|
|
1715
|
+
if (o instanceof ne) {
|
|
1709
1716
|
i ? i.type = i.type === l.COMPONENT_OPEN_START ? l.INCOMPLETE_COMPONENT_OPEN : l.INCOMPLETE_TAG_OPEN : (this._beginToken(l.TEXT, e), this._endToken(["<"]));
|
|
1710
1717
|
return;
|
|
1711
1718
|
}
|
|
@@ -1713,7 +1720,7 @@ var Mr = function(e) {
|
|
|
1713
1720
|
}
|
|
1714
1721
|
if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === l.TAG_OPEN_END_VOID) return;
|
|
1715
1722
|
let a = this._getTagContentType(t, r, this._fullNameStack.length > 0, s);
|
|
1716
|
-
this._handleFullNameStackForTagOpen(r, t), a ===
|
|
1723
|
+
this._handleFullNameStackForTagOpen(r, t), a === R.RAW_TEXT ? this._consumeRawTextWithTagClose(r, i, n, false) : a === R.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, i, n, true);
|
|
1717
1724
|
}
|
|
1718
1725
|
_consumeRawTextWithTagClose(e, t, r, n) {
|
|
1719
1726
|
this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(T), !this._attemptStrCaseInsensitive(e && t.type !== l.COMPONENT_OPEN_START ? `${e}:${r}` : r)) ? false : (this._attemptCharCodeUntilFn(T), this._attemptCharCode(62))), this._beginToken(t.type === l.COMPONENT_OPEN_START ? l.COMPONENT_CLOSE : l.TAG_CLOSE), this._requireCharCodeUntilFn((i) => i === 62, 3), this._cursor.advance(), this._endToken(t.parts), this._handleFullNameStackForTagClose(e, r);
|
|
@@ -1757,7 +1764,7 @@ var Mr = function(e) {
|
|
|
1757
1764
|
};
|
|
1758
1765
|
} else if (e === 91) {
|
|
1759
1766
|
let n = 0;
|
|
1760
|
-
t = (i) => (i === 91 ? n++ : i === 93 && n--, n <= 0 ? we(i) :
|
|
1767
|
+
t = (i) => (i === 91 ? n++ : i === 93 && n--, n <= 0 ? we(i) : pt(i));
|
|
1761
1768
|
} else t = we;
|
|
1762
1769
|
let r = this._consumePrefixAndName(t);
|
|
1763
1770
|
return this._endToken(r), r;
|
|
@@ -1831,7 +1838,7 @@ var Mr = function(e) {
|
|
|
1831
1838
|
let i = [];
|
|
1832
1839
|
for (; !r(); ) {
|
|
1833
1840
|
let a = this._cursor.clone();
|
|
1834
|
-
this._attemptStr(
|
|
1841
|
+
this._attemptStr(ft.start) ? (this._endToken([this._processCarriageReturns(i.join(""))], a), i.length = 0, this._consumeInterpolation(t, a, n), this._beginToken(e)) : this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(i.join(""))]), i.length = 0, this._consumeEntity(e), this._beginToken(e)) : i.push(this._readChar());
|
|
1835
1842
|
}
|
|
1836
1843
|
this._inInterpolation = false;
|
|
1837
1844
|
let s = this._processCarriageReturns(i.join(""));
|
|
@@ -1839,7 +1846,7 @@ var Mr = function(e) {
|
|
|
1839
1846
|
}
|
|
1840
1847
|
_consumeInterpolation(e, t, r) {
|
|
1841
1848
|
let n = [];
|
|
1842
|
-
this._beginToken(e, t), n.push(
|
|
1849
|
+
this._beginToken(e, t), n.push(ft.start);
|
|
1843
1850
|
let i = this._cursor.clone(), s = null, a = false;
|
|
1844
1851
|
for (; this._cursor.peek() !== 0 && (r === null || !r()); ) {
|
|
1845
1852
|
let o = this._cursor.clone();
|
|
@@ -1847,8 +1854,8 @@ var Mr = function(e) {
|
|
|
1847
1854
|
this._cursor = o, n.push(this._getProcessedChars(i, o)), this._endToken(n);
|
|
1848
1855
|
return;
|
|
1849
1856
|
}
|
|
1850
|
-
if (s === null) if (this._attemptStr(
|
|
1851
|
-
n.push(this._getProcessedChars(i, o)), n.push(
|
|
1857
|
+
if (s === null) if (this._attemptStr(ft.end)) {
|
|
1858
|
+
n.push(this._getProcessedChars(i, o)), n.push(ft.end), this._endToken(n);
|
|
1852
1859
|
return;
|
|
1853
1860
|
} else this._attemptStr("//") && (a = true);
|
|
1854
1861
|
let c = this._cursor.peek();
|
|
@@ -1899,44 +1906,44 @@ var Mr = function(e) {
|
|
|
1899
1906
|
}
|
|
1900
1907
|
isExpansionFormStart() {
|
|
1901
1908
|
if (this._cursor.peek() !== 123) return false;
|
|
1902
|
-
let e = this._cursor.clone(), t = this._attemptStr(
|
|
1909
|
+
let e = this._cursor.clone(), t = this._attemptStr(ft.start);
|
|
1903
1910
|
return this._cursor = e, !t;
|
|
1904
1911
|
}
|
|
1905
1912
|
_handleFullNameStackForTagOpen(e, t) {
|
|
1906
|
-
let r =
|
|
1913
|
+
let r = Ee(e, t);
|
|
1907
1914
|
(this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === r) && this._fullNameStack.push(r);
|
|
1908
1915
|
}
|
|
1909
1916
|
_handleFullNameStackForTagClose(e, t) {
|
|
1910
|
-
let r =
|
|
1917
|
+
let r = Ee(e, t);
|
|
1911
1918
|
this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === r && this._fullNameStack.pop();
|
|
1912
1919
|
}
|
|
1913
1920
|
};
|
|
1914
1921
|
function T(e) {
|
|
1915
|
-
return !
|
|
1922
|
+
return !ct(e) || e === 0;
|
|
1916
1923
|
}
|
|
1917
1924
|
function we(e) {
|
|
1918
|
-
return
|
|
1925
|
+
return ct(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
|
|
1919
1926
|
}
|
|
1920
|
-
function
|
|
1927
|
+
function Ro(e) {
|
|
1921
1928
|
return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
|
|
1922
1929
|
}
|
|
1923
|
-
function
|
|
1930
|
+
function Mo(e) {
|
|
1924
1931
|
return e === 59 || e === 0 || !Bi(e);
|
|
1925
1932
|
}
|
|
1926
|
-
function
|
|
1933
|
+
function Bo(e) {
|
|
1927
1934
|
return e === 59 || e === 0 || !Fe(e);
|
|
1928
1935
|
}
|
|
1929
|
-
function
|
|
1936
|
+
function Fo(e) {
|
|
1930
1937
|
return e !== 125;
|
|
1931
1938
|
}
|
|
1932
|
-
function
|
|
1939
|
+
function qo(e, t) {
|
|
1933
1940
|
return Ji(e) === Ji(t);
|
|
1934
1941
|
}
|
|
1935
1942
|
function Ji(e) {
|
|
1936
1943
|
return e >= 97 && e <= 122 ? e - 97 + 65 : e;
|
|
1937
1944
|
}
|
|
1938
|
-
function
|
|
1939
|
-
return Fe(e) ||
|
|
1945
|
+
function Ho(e) {
|
|
1946
|
+
return Fe(e) || ut(e) || e === 95;
|
|
1940
1947
|
}
|
|
1941
1948
|
function Zi(e) {
|
|
1942
1949
|
return e !== 59 && T(e);
|
|
@@ -1945,12 +1952,12 @@ function zt(e) {
|
|
|
1945
1952
|
return e === 95 || e >= 65 && e <= 90;
|
|
1946
1953
|
}
|
|
1947
1954
|
function es(e) {
|
|
1948
|
-
return Fe(e) ||
|
|
1955
|
+
return Fe(e) || ut(e) || e === 95;
|
|
1949
1956
|
}
|
|
1950
1957
|
function ts(e) {
|
|
1951
1958
|
return e === 47 || e === 62 || e === 60 || e === 0;
|
|
1952
1959
|
}
|
|
1953
|
-
function
|
|
1960
|
+
function Vo(e) {
|
|
1954
1961
|
let t = [], r;
|
|
1955
1962
|
for (let n = 0; n < e.length; n++) {
|
|
1956
1963
|
let i = e[n];
|
|
@@ -2003,7 +2010,7 @@ var is = class Br {
|
|
|
2003
2010
|
advanceState(t) {
|
|
2004
2011
|
if (t.offset >= this.end) throw this.state = t, new Vr('Unexpected character "EOF"', this);
|
|
2005
2012
|
let r = this.charAt(t.offset);
|
|
2006
|
-
r === 10 ? (t.line++, t.column = 0) :
|
|
2013
|
+
r === 10 ? (t.line++, t.column = 0) : pt(r) || t.column++, t.offset++, this.updatePeek(t);
|
|
2007
2014
|
}
|
|
2008
2015
|
updatePeek(t) {
|
|
2009
2016
|
t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
|
|
@@ -2011,7 +2018,7 @@ var is = class Br {
|
|
|
2011
2018
|
locationFromCursor(t) {
|
|
2012
2019
|
return new qe(t.file, t.state.offset, t.state.line, t.state.column);
|
|
2013
2020
|
}
|
|
2014
|
-
},
|
|
2021
|
+
}, Uo = class Fr extends is {
|
|
2015
2022
|
constructor(t, r) {
|
|
2016
2023
|
t instanceof Fr ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
|
|
2017
2024
|
}
|
|
@@ -2050,11 +2057,11 @@ var is = class Br {
|
|
|
2050
2057
|
this.advanceState(this.internalState);
|
|
2051
2058
|
let r = this.clone();
|
|
2052
2059
|
this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
|
|
2053
|
-
} else if (
|
|
2060
|
+
} else if (yr(t())) {
|
|
2054
2061
|
let r = "", n = 0, i = this.clone();
|
|
2055
|
-
for (;
|
|
2062
|
+
for (; yr(t()) && n < 3; ) i = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
|
|
2056
2063
|
this.state.peek = parseInt(r, 8), this.internalState = i.internalState;
|
|
2057
|
-
} else
|
|
2064
|
+
} else pt(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
|
|
2058
2065
|
}
|
|
2059
2066
|
decodeHexDigits(t, r) {
|
|
2060
2067
|
let n = this.input.slice(t.internalState.offset, t.internalState.offset + r), i = parseInt(n, 16);
|
|
@@ -2066,14 +2073,14 @@ var is = class Br {
|
|
|
2066
2073
|
super(e), this.msg = e, this.cursor = t, Object.setPrototypeOf(this, new.target.prototype);
|
|
2067
2074
|
}
|
|
2068
2075
|
};
|
|
2069
|
-
var N = class os extends
|
|
2076
|
+
var N = class os extends ne {
|
|
2070
2077
|
static create(t, r, n) {
|
|
2071
2078
|
return new os(t, r, n);
|
|
2072
2079
|
}
|
|
2073
2080
|
constructor(t, r, n) {
|
|
2074
2081
|
super(r, n), this.elementName = t;
|
|
2075
2082
|
}
|
|
2076
|
-
},
|
|
2083
|
+
}, Wo = class {
|
|
2077
2084
|
constructor(e, t) {
|
|
2078
2085
|
this.rootNodes = e, this.errors = t;
|
|
2079
2086
|
}
|
|
@@ -2085,10 +2092,10 @@ var N = class os extends re {
|
|
|
2085
2092
|
let s = (m) => (g, ...E) => m(g.toLowerCase(), ...E), a = n ? this.getTagDefinition : s(this.getTagDefinition), o = (m) => a(m).getContentType(), c = n ? i : s(i), u = ns(e, t, i ? (m, g, E, P) => {
|
|
2086
2093
|
let z = c(m, g, E, P);
|
|
2087
2094
|
return z !== void 0 ? z : o(m);
|
|
2088
|
-
} : o, r), p = r && r.canSelfClose || false, d = r && r.allowHtmComponentClosingTags || false, S = new
|
|
2089
|
-
return S.build(), new
|
|
2095
|
+
} : o, r), p = r && r.canSelfClose || false, d = r && r.allowHtmComponentClosingTags || false, S = new Go(u.tokens, a, p, d, n);
|
|
2096
|
+
return S.build(), new Wo(S.rootNodes, [...u.errors, ...S.errors]);
|
|
2090
2097
|
}
|
|
2091
|
-
},
|
|
2098
|
+
}, Go = class cs {
|
|
2092
2099
|
constructor(t, r, n, i, s) {
|
|
2093
2100
|
this.tokens = t, this.tagDefinitionResolver = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = i, this.isTagNameCaseSensitive = s, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
|
|
2094
2101
|
}
|
|
@@ -2192,8 +2199,8 @@ var N = class os extends re {
|
|
|
2192
2199
|
let E = this._getTagDefinition(s);
|
|
2193
2200
|
this.canSelfClose || E?.canSelfClose || Me(s) !== null || E?.isVoid || this.errors.push(N.create(s, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
|
|
2194
2201
|
} else this._peek.type === l.TAG_OPEN_END && (this._advance(), o = false);
|
|
2195
|
-
let c = this._peek.sourceSpan.fullStart, u = new h(t.sourceSpan.start, c, t.sourceSpan.fullStart), p = new h(t.sourceSpan.start, c, t.sourceSpan.fullStart), d = new h(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), S = new
|
|
2196
|
-
this._pushContainer(S, g), o ? this._popContainer(s,
|
|
2202
|
+
let c = this._peek.sourceSpan.fullStart, u = new h(t.sourceSpan.start, c, t.sourceSpan.fullStart), p = new h(t.sourceSpan.start, c, t.sourceSpan.fullStart), d = new h(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), S = new ie(s, n, i, [], o, u, p, void 0, d, a?.isVoid ?? false), m = this._getContainer(), g = m !== null && !!(!((r = this._getTagDefinition(m)) === null || r === void 0) && r.isClosedByChild(S.name));
|
|
2203
|
+
this._pushContainer(S, g), o ? this._popContainer(s, ie, u) : t.type === l.INCOMPLETE_TAG_OPEN && (this._popContainer(s, ie, null), this.errors.push(N.create(s, u, `Opening tag "${s}" not terminated.`)));
|
|
2197
2204
|
}
|
|
2198
2205
|
_consumeComponentStartTag(t) {
|
|
2199
2206
|
var r;
|
|
@@ -2217,7 +2224,7 @@ var N = class os extends re {
|
|
|
2217
2224
|
}
|
|
2218
2225
|
}
|
|
2219
2226
|
_getTagDefinition(t) {
|
|
2220
|
-
return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof
|
|
2227
|
+
return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof ie ? this.tagDefinitionResolver(t.name) : t instanceof J && t.tagName !== null ? this.tagDefinitionResolver(t.tagName) : null;
|
|
2221
2228
|
}
|
|
2222
2229
|
_pushContainer(t, r) {
|
|
2223
2230
|
r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
|
|
@@ -2226,7 +2233,7 @@ var N = class os extends re {
|
|
|
2226
2233
|
var r;
|
|
2227
2234
|
let n = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t, this._getClosestElementLikeParent());
|
|
2228
2235
|
if (n && (!((r = this._getTagDefinition(n)) === null || r === void 0) && r.isVoid)) this.errors.push(N.create(n, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
|
|
2229
|
-
else if (!this._popContainer(n,
|
|
2236
|
+
else if (!this._popContainer(n, ie, t.sourceSpan)) {
|
|
2230
2237
|
let i = `Unexpected closing tag "${n}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
|
|
2231
2238
|
this.errors.push(N.create(n, t.sourceSpan, i));
|
|
2232
2239
|
}
|
|
@@ -2242,7 +2249,7 @@ var N = class os extends re {
|
|
|
2242
2249
|
return false;
|
|
2243
2250
|
}
|
|
2244
2251
|
_consumeAttr(t) {
|
|
2245
|
-
let r =
|
|
2252
|
+
let r = Ee(t.parts[0], t.parts[1]), n = t.sourceSpan.end, i;
|
|
2246
2253
|
this._peek.type === l.ATTR_QUOTE && (i = this._advance());
|
|
2247
2254
|
let s = "", a = [], o, c;
|
|
2248
2255
|
if (this._peek.type === l.ATTR_VALUE_TEXT) for (o = this._peek.sourceSpan, c = this._peek.sourceSpan.end; this._peek.type === l.ATTR_VALUE_TEXT || this._peek.type === l.ATTR_VALUE_INTERPOLATION || this._peek.type === l.ENCODED_ENTITY; ) {
|
|
@@ -2311,7 +2318,7 @@ var N = class os extends re {
|
|
|
2311
2318
|
_getClosestElementLikeParent() {
|
|
2312
2319
|
for (let t = this._containerStack.length - 1; t > -1; t--) {
|
|
2313
2320
|
let r = this._containerStack[t];
|
|
2314
|
-
if (r instanceof
|
|
2321
|
+
if (r instanceof ie || r instanceof J) return r;
|
|
2315
2322
|
}
|
|
2316
2323
|
return null;
|
|
2317
2324
|
}
|
|
@@ -2320,7 +2327,7 @@ var N = class os extends re {
|
|
|
2320
2327
|
r === null ? this.rootNodes.push(t) : r.children.push(t);
|
|
2321
2328
|
}
|
|
2322
2329
|
_getElementFullName(t, r) {
|
|
2323
|
-
return
|
|
2330
|
+
return Ee(this._getPrefix(t, r), t.parts[1]);
|
|
2324
2331
|
}
|
|
2325
2332
|
_getComponentFullName(t, r) {
|
|
2326
2333
|
let n = t.parts[0], i = this._getComponentTagName(t, r);
|
|
@@ -2328,13 +2335,13 @@ var N = class os extends re {
|
|
|
2328
2335
|
}
|
|
2329
2336
|
_getComponentTagName(t, r) {
|
|
2330
2337
|
let n = this._getPrefix(t, r), i = t.parts[2];
|
|
2331
|
-
return !n && !i ? null : !n && i ? i :
|
|
2338
|
+
return !n && !i ? null : !n && i ? i : Ee(n, i || "ng-component");
|
|
2332
2339
|
}
|
|
2333
2340
|
_getPrefix(t, r) {
|
|
2334
2341
|
var n;
|
|
2335
2342
|
let i, s;
|
|
2336
2343
|
if (t.type === l.COMPONENT_OPEN_START || t.type === l.INCOMPLETE_COMPONENT_OPEN || t.type === l.COMPONENT_CLOSE ? (i = t.parts[1], s = t.parts[2]) : (i = t.parts[0], s = t.parts[1]), i = i || ((n = this._getTagDefinition(s)) === null || n === void 0 ? void 0 : n.implicitNamespacePrefix) || "", !i && r) {
|
|
2337
|
-
let a = r instanceof
|
|
2344
|
+
let a = r instanceof ie ? r.name : r.tagName;
|
|
2338
2345
|
if (a !== null) {
|
|
2339
2346
|
let o = at(a)[1], c = this._getTagDefinition(o);
|
|
2340
2347
|
c !== null && !c.preventNamespaceInheritance && (i = Me(a));
|
|
@@ -2357,17 +2364,17 @@ var us = class extends ls {
|
|
|
2357
2364
|
return super.parse(e, t, r, n, i);
|
|
2358
2365
|
}
|
|
2359
2366
|
};
|
|
2360
|
-
var Ur = null,
|
|
2367
|
+
var Ur = null, $o = () => (Ur || (Ur = new us()), Ur);
|
|
2361
2368
|
function Qt(e, t = {}) {
|
|
2362
2369
|
let { canSelfClose: r = false, allowHtmComponentClosingTags: n = false, isTagNameCaseSensitive: i = false, getTagContentType: s, tokenizeAngularBlocks: a = false, tokenizeAngularLetDeclaration: o = false, enableAngularSelectorlessSyntax: c = false } = t;
|
|
2363
|
-
return
|
|
2370
|
+
return $o().parse(e, "angular-html-parser", { tokenizeExpansionForms: a, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: a, tokenizeLet: o, selectorlessEnabled: c }, i, s);
|
|
2364
2371
|
}
|
|
2365
|
-
var
|
|
2366
|
-
function
|
|
2367
|
-
for (let r of
|
|
2372
|
+
var zo = [jo, Xo, Qo, Zo, el, nl, tl, rl, il, Jo];
|
|
2373
|
+
function Yo(e, t) {
|
|
2374
|
+
for (let r of zo) r(e, t);
|
|
2368
2375
|
return e;
|
|
2369
2376
|
}
|
|
2370
|
-
function
|
|
2377
|
+
function jo(e) {
|
|
2371
2378
|
e.walk((t) => {
|
|
2372
2379
|
if (t.kind === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].kind === "text" && t.children[0].value[0] === `
|
|
2373
2380
|
`) {
|
|
@@ -2376,7 +2383,7 @@ function zo(e) {
|
|
|
2376
2383
|
}
|
|
2377
2384
|
});
|
|
2378
2385
|
}
|
|
2379
|
-
function
|
|
2386
|
+
function Xo(e) {
|
|
2380
2387
|
let t = (r) => r.kind === "element" && r.prev?.kind === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && r.firstChild?.kind === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
|
|
2381
2388
|
e.walk((r) => {
|
|
2382
2389
|
if (r.children) for (let n = 0; n < r.children.length; n++) {
|
|
@@ -2389,7 +2396,7 @@ function Yo(e) {
|
|
|
2389
2396
|
}
|
|
2390
2397
|
});
|
|
2391
2398
|
}
|
|
2392
|
-
function
|
|
2399
|
+
function Ko(e, t, r) {
|
|
2393
2400
|
e.walk((n) => {
|
|
2394
2401
|
if (n.children) for (let i = 0; i < n.children.length; i++) {
|
|
2395
2402
|
let s = n.children[i];
|
|
@@ -2400,11 +2407,11 @@ function jo(e, t, r) {
|
|
|
2400
2407
|
}
|
|
2401
2408
|
});
|
|
2402
2409
|
}
|
|
2403
|
-
function
|
|
2404
|
-
return
|
|
2410
|
+
function Qo(e) {
|
|
2411
|
+
return Ko(e, (t) => t.kind === "cdata", (t) => `<![CDATA[${t.value}]]>`);
|
|
2405
2412
|
}
|
|
2406
|
-
function
|
|
2407
|
-
let t = (r) => r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !
|
|
2413
|
+
function Jo(e) {
|
|
2414
|
+
let t = (r) => r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !y.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && r.prev?.kind === "text" && r.next?.kind === "text";
|
|
2408
2415
|
e.walk((r) => {
|
|
2409
2416
|
if (r.children) for (let n = 0; n < r.children.length; n++) {
|
|
2410
2417
|
let i = r.children[n];
|
|
@@ -2414,11 +2421,11 @@ function Ko(e) {
|
|
|
2414
2421
|
}
|
|
2415
2422
|
});
|
|
2416
2423
|
}
|
|
2417
|
-
function
|
|
2424
|
+
function Zo(e, t) {
|
|
2418
2425
|
if (t.parser === "html") return;
|
|
2419
2426
|
let r = /\{\{(.+?)\}\}/su;
|
|
2420
2427
|
e.walk((n) => {
|
|
2421
|
-
if (
|
|
2428
|
+
if (xn(n, t)) for (let i of n.children) {
|
|
2422
2429
|
if (i.kind !== "text") continue;
|
|
2423
2430
|
let s = i.sourceSpan.start, a = null, o = i.value.split(r);
|
|
2424
2431
|
for (let c = 0; c < o.length; c++, s = a) {
|
|
@@ -2433,15 +2440,15 @@ function Qo(e, t) {
|
|
|
2433
2440
|
}
|
|
2434
2441
|
});
|
|
2435
2442
|
}
|
|
2436
|
-
function
|
|
2443
|
+
function el(e, t) {
|
|
2437
2444
|
e.walk((r) => {
|
|
2438
2445
|
let n = r.$children;
|
|
2439
2446
|
if (!n) return;
|
|
2440
|
-
if (n.length === 0 || n.length === 1 && n[0].kind === "text" &&
|
|
2447
|
+
if (n.length === 0 || n.length === 1 && n[0].kind === "text" && y.trim(n[0].value).length === 0) {
|
|
2441
2448
|
r.hasDanglingSpaces = n.length > 0, r.$children = [];
|
|
2442
2449
|
return;
|
|
2443
2450
|
}
|
|
2444
|
-
let i =
|
|
2451
|
+
let i = An(r, t), s = dr(r);
|
|
2445
2452
|
if (!i) for (let a = 0; a < n.length; a++) {
|
|
2446
2453
|
let o = n[a];
|
|
2447
2454
|
if (o.kind !== "text") continue;
|
|
@@ -2451,22 +2458,22 @@ function Jo(e, t) {
|
|
|
2451
2458
|
r.isWhitespaceSensitive = i, r.isIndentationSensitive = s;
|
|
2452
2459
|
});
|
|
2453
2460
|
}
|
|
2454
|
-
function
|
|
2461
|
+
function tl(e) {
|
|
2455
2462
|
e.walk((t) => {
|
|
2456
2463
|
t.isSelfClosing = !t.children || t.kind === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.start && t.startSourceSpan.end === t.endSourceSpan.end);
|
|
2457
2464
|
});
|
|
2458
2465
|
}
|
|
2459
|
-
function
|
|
2466
|
+
function rl(e, t) {
|
|
2460
2467
|
e.walk((r) => {
|
|
2461
2468
|
r.kind === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
|
|
2462
2469
|
});
|
|
2463
2470
|
}
|
|
2464
|
-
function
|
|
2471
|
+
function nl(e, t) {
|
|
2465
2472
|
e.walk((r) => {
|
|
2466
2473
|
r.cssDisplay = Bn(r, t);
|
|
2467
2474
|
});
|
|
2468
2475
|
}
|
|
2469
|
-
function
|
|
2476
|
+
function il(e, t) {
|
|
2470
2477
|
e.walk((r) => {
|
|
2471
2478
|
let { children: n } = r;
|
|
2472
2479
|
if (n) {
|
|
@@ -2474,7 +2481,7 @@ function rl(e, t) {
|
|
|
2474
2481
|
r.isDanglingSpaceSensitive = Ln(r, t);
|
|
2475
2482
|
return;
|
|
2476
2483
|
}
|
|
2477
|
-
for (let i of n) i.isLeadingSpaceSensitive =
|
|
2484
|
+
for (let i of n) i.isLeadingSpaceSensitive = yn(i, t), i.isTrailingSpaceSensitive = Nn(i, t);
|
|
2478
2485
|
for (let i = 0; i < n.length; i++) {
|
|
2479
2486
|
let s = n[i];
|
|
2480
2487
|
s.isLeadingSpaceSensitive = (i === 0 || s.prev.isTrailingSpaceSensitive) && s.isLeadingSpaceSensitive, s.isTrailingSpaceSensitive = (i === n.length - 1 || s.next.isLeadingSpaceSensitive) && s.isTrailingSpaceSensitive;
|
|
@@ -2482,23 +2489,23 @@ function rl(e, t) {
|
|
|
2482
2489
|
}
|
|
2483
2490
|
});
|
|
2484
2491
|
}
|
|
2485
|
-
var ps =
|
|
2486
|
-
function
|
|
2492
|
+
var ps = Yo;
|
|
2493
|
+
function sl(e, t, r) {
|
|
2487
2494
|
let { node: n } = e;
|
|
2488
2495
|
switch (n.kind) {
|
|
2489
2496
|
case "root":
|
|
2490
|
-
return t.__onHtmlRoot && t.__onHtmlRoot(n), [C(
|
|
2497
|
+
return t.__onHtmlRoot && t.__onHtmlRoot(n), [C(Re(e, t, r)), v];
|
|
2491
2498
|
case "element":
|
|
2492
2499
|
case "ieConditionalComment":
|
|
2493
2500
|
return Pi(e, t, r);
|
|
2494
2501
|
case "angularControlFlowBlock":
|
|
2495
|
-
return Ai(e, t, r);
|
|
2496
|
-
case "angularControlFlowBlockParameters":
|
|
2497
2502
|
return xi(e, t, r);
|
|
2503
|
+
case "angularControlFlowBlockParameters":
|
|
2504
|
+
return yi(e, t, r);
|
|
2498
2505
|
case "angularControlFlowBlockParameter":
|
|
2499
|
-
return
|
|
2506
|
+
return y.trim(n.expression);
|
|
2500
2507
|
case "angularLetDeclaration":
|
|
2501
|
-
return C(["@let ", C([n.id, " =", C(
|
|
2508
|
+
return C(["@let ", C([n.id, " =", C(A([_, r("init")]))]), ";"]);
|
|
2502
2509
|
case "angularLetDeclarationInitializer":
|
|
2503
2510
|
return n.value;
|
|
2504
2511
|
case "angularIcuExpression":
|
|
@@ -2507,19 +2514,19 @@ function nl(e, t, r) {
|
|
|
2507
2514
|
return Li(e, t, r);
|
|
2508
2515
|
case "ieConditionalStartComment":
|
|
2509
2516
|
case "ieConditionalEndComment":
|
|
2510
|
-
return [
|
|
2517
|
+
return [Se(n), fe(n)];
|
|
2511
2518
|
case "interpolation":
|
|
2512
|
-
return [
|
|
2519
|
+
return [Se(n, t), ...e.map(r, "children"), fe(n, t)];
|
|
2513
2520
|
case "text": {
|
|
2514
2521
|
if (n.parent.kind === "interpolation") {
|
|
2515
2522
|
let o = /\n[^\S\n]*$/u, c = o.test(n.value), u = c ? n.value.replace(o, "") : n.value;
|
|
2516
2523
|
return [L(u), c ? v : ""];
|
|
2517
2524
|
}
|
|
2518
|
-
let i = U(n, t), s =
|
|
2519
|
-
return s[0] = [i, s[0]], s.push([s.pop(), a]),
|
|
2525
|
+
let i = U(n, t), s = Dt(n), a = V(n, t);
|
|
2526
|
+
return s[0] = [i, s[0]], s.push([s.pop(), a]), xt(s);
|
|
2520
2527
|
}
|
|
2521
2528
|
case "docType":
|
|
2522
|
-
return [C([
|
|
2529
|
+
return [C([Se(n, t), " ", w(0, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), fe(n, t)];
|
|
2523
2530
|
case "comment":
|
|
2524
2531
|
return [U(n, t), L(t.originalText.slice(Q(n), te(n))), V(n, t)];
|
|
2525
2532
|
case "attribute": {
|
|
@@ -2533,34 +2540,34 @@ function nl(e, t, r) {
|
|
|
2533
2540
|
throw new mn(n, "HTML");
|
|
2534
2541
|
}
|
|
2535
2542
|
}
|
|
2536
|
-
var
|
|
2543
|
+
var al = { features: { experimental_frontMatterSupport: { massageAstNode: true, embed: true, print: true } }, preprocess: ps, print: sl, insertPragma: bi, massageAstNode: dn, embed: fi, getVisitorKeys: _i }, hs = al;
|
|
2537
2544
|
var ms = [{ name: "Angular", type: "markup", aceMode: "html", extensions: [".component.html"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", aceMode: "html", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", aceMode: "html", extensions: [], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", aceMode: "html", extensions: [".mjml"], tmScope: "text.mjml.basic", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", aceMode: "vue", extensions: [".vue"], tmScope: "source.vue", codemirrorMode: "vue", codemirrorMimeType: "text/x-vue", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }];
|
|
2538
2545
|
var Wr = { bracketSameLine: { category: "Common", type: "boolean", default: false, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: false, description: "Enforce single attribute per line in HTML, Vue and JSX." } };
|
|
2539
|
-
var fs = "HTML",
|
|
2546
|
+
var fs = "HTML", ol = { bracketSameLine: Wr.bracketSameLine, htmlWhitespaceSensitivity: { category: fs, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: Wr.singleAttributePerLine, vueIndentScriptAndStyle: { category: fs, type: "boolean", default: false, description: "Indent script and style tags in Vue files." } }, ds = ol;
|
|
2540
2547
|
var Qr = {};
|
|
2541
|
-
en(Qr, { angular: () =>
|
|
2542
|
-
function
|
|
2548
|
+
en(Qr, { angular: () => Al, html: () => wl, lwc: () => Nl, mjml: () => xl, vue: () => yl });
|
|
2549
|
+
function ll(e, t) {
|
|
2543
2550
|
let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
|
|
2544
2551
|
return Object.assign(r, t);
|
|
2545
2552
|
}
|
|
2546
|
-
var gs =
|
|
2547
|
-
var
|
|
2553
|
+
var gs = ll;
|
|
2554
|
+
var cl = { canSelfClose: true, normalizeTagName: false, normalizeAttributeName: false, allowHtmComponentClosingTags: false, isTagNameCaseSensitive: false, shouldParseFrontMatter: true };
|
|
2548
2555
|
function Jt(e) {
|
|
2549
|
-
return { ...
|
|
2556
|
+
return { ...cl, ...e };
|
|
2550
2557
|
}
|
|
2551
2558
|
function Gr(e) {
|
|
2552
2559
|
let { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, shouldParseAsRawText: i, tokenizeAngularBlocks: s, tokenizeAngularLetDeclaration: a } = e;
|
|
2553
|
-
return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: i ? (...o) => i(...o) ?
|
|
2560
|
+
return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: i ? (...o) => i(...o) ? R.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: s, tokenizeAngularLetDeclaration: a };
|
|
2554
2561
|
}
|
|
2555
2562
|
var Zt = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "popover", "slot", "spellcheck", "style", "tabindex", "title", "translate", "writingsuggestions"])], ["a", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["command", "commandfor", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["closedby", "open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ new Set(["accept", "align", "alpha", "alt", "autocomplete", "checked", "colorspace", "dirname", "disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "height", "ismap", "list", "max", "maxlength", "min", "minlength", "multiple", "name", "pattern", "placeholder", "popovertarget", "popovertargetaction", "readonly", "required", "size", "src", "step", "type", "usemap", "value", "width"])], ["ins", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]);
|
|
2556
2563
|
var _s = /* @__PURE__ */ new Set(["a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdi", "bdo", "bgsound", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "command", "content", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "em", "embed", "fencedframe", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "image", "img", "input", "ins", "isindex", "kbd", "keygen", "label", "legend", "li", "link", "listing", "main", "map", "mark", "marquee", "math", "menu", "menuitem", "meta", "meter", "multicol", "nav", "nextid", "nobr", "noembed", "noframes", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "plaintext", "pre", "progress", "q", "rb", "rbc", "rp", "rt", "rtc", "ruby", "s", "samp", "script", "search", "section", "select", "selectedcontent", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]);
|
|
2557
|
-
var er = { attrs: true, children: true, cases: true, expression: true }, Ss = /* @__PURE__ */ new Set(["parent"]),
|
|
2564
|
+
var er = { attrs: true, children: true, cases: true, expression: true }, Ss = /* @__PURE__ */ new Set(["parent"]), oe, $r, zr, We = class We2 {
|
|
2558
2565
|
constructor(t = {}) {
|
|
2559
|
-
tn(this,
|
|
2566
|
+
tn(this, oe);
|
|
2560
2567
|
ir(this, "kind");
|
|
2561
2568
|
ir(this, "parent");
|
|
2562
2569
|
for (let r of /* @__PURE__ */ new Set([...Ss, ...Object.keys(t)])) this.setProperty(r, t[r]);
|
|
2563
|
-
if (
|
|
2570
|
+
if (ce(t)) for (let r of Object.getOwnPropertySymbols(t)) this.setProperty(r, t[r]);
|
|
2564
2571
|
}
|
|
2565
2572
|
setProperty(t, r) {
|
|
2566
2573
|
if (this[t] !== r) {
|
|
@@ -2576,7 +2583,7 @@ var er = { attrs: true, children: true, cases: true, expression: true }, Ss = /*
|
|
|
2576
2583
|
for (let n in er) {
|
|
2577
2584
|
let i = this[n];
|
|
2578
2585
|
if (i) {
|
|
2579
|
-
let s =
|
|
2586
|
+
let s = ul(i, (a) => a.map(t));
|
|
2580
2587
|
r !== i && (r || (r = new We2({ parent: this.parent })), r.setProperty(n, s));
|
|
2581
2588
|
}
|
|
2582
2589
|
}
|
|
@@ -2610,10 +2617,10 @@ var er = { attrs: true, children: true, cases: true, expression: true }, Ss = /*
|
|
|
2610
2617
|
return new We2(this);
|
|
2611
2618
|
}
|
|
2612
2619
|
get $children() {
|
|
2613
|
-
return this[$e(this,
|
|
2620
|
+
return this[$e(this, oe, $r)];
|
|
2614
2621
|
}
|
|
2615
2622
|
set $children(t) {
|
|
2616
|
-
this[$e(this,
|
|
2623
|
+
this[$e(this, oe, $r)] = t;
|
|
2617
2624
|
}
|
|
2618
2625
|
get firstChild() {
|
|
2619
2626
|
return this.$children?.[0];
|
|
@@ -2622,11 +2629,11 @@ var er = { attrs: true, children: true, cases: true, expression: true }, Ss = /*
|
|
|
2622
2629
|
return F(1, this.$children, -1);
|
|
2623
2630
|
}
|
|
2624
2631
|
get prev() {
|
|
2625
|
-
let t = $e(this,
|
|
2632
|
+
let t = $e(this, oe, zr);
|
|
2626
2633
|
return t[t.indexOf(this) - 1];
|
|
2627
2634
|
}
|
|
2628
2635
|
get next() {
|
|
2629
|
-
let t = $e(this,
|
|
2636
|
+
let t = $e(this, oe, zr);
|
|
2630
2637
|
return t[t.indexOf(this) + 1];
|
|
2631
2638
|
}
|
|
2632
2639
|
get rawName() {
|
|
@@ -2639,25 +2646,25 @@ var er = { attrs: true, children: true, cases: true, expression: true }, Ss = /*
|
|
|
2639
2646
|
return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
|
|
2640
2647
|
}
|
|
2641
2648
|
};
|
|
2642
|
-
|
|
2649
|
+
oe = /* @__PURE__ */ new WeakSet(), $r = function() {
|
|
2643
2650
|
return this.kind === "angularIcuCase" ? "expression" : this.kind === "angularIcuExpression" ? "cases" : "children";
|
|
2644
2651
|
}, zr = function() {
|
|
2645
2652
|
return this.parent?.$children ?? [];
|
|
2646
2653
|
};
|
|
2647
2654
|
var tr = We;
|
|
2648
|
-
function
|
|
2655
|
+
function ul(e, t) {
|
|
2649
2656
|
let r = e.map(t);
|
|
2650
2657
|
return r.some((n, i) => n !== e[i]) ? r : e;
|
|
2651
2658
|
}
|
|
2652
|
-
var
|
|
2659
|
+
var pl = [{ regex: /^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su, parse: hl }, { regex: /^\[if(?<condition>[^\]]*)\]><!$/u, parse: ml }, { regex: /^<!\s*\[endif\]$/u, parse: fl }];
|
|
2653
2660
|
function Es(e, t) {
|
|
2654
|
-
if (e.value) for (let { regex: r, parse: n } of
|
|
2661
|
+
if (e.value) for (let { regex: r, parse: n } of pl) {
|
|
2655
2662
|
let i = e.value.match(r);
|
|
2656
2663
|
if (i) return n(e, i, t);
|
|
2657
2664
|
}
|
|
2658
2665
|
return null;
|
|
2659
2666
|
}
|
|
2660
|
-
function
|
|
2667
|
+
function hl(e, t, r) {
|
|
2661
2668
|
let { openingTagSuffix: n, condition: i, data: s } = t.groups, a = 4 + n.length, o = e.sourceSpan.start.moveBy(a), c = o.moveBy(s.length), [u, p] = (() => {
|
|
2662
2669
|
try {
|
|
2663
2670
|
return [true, r(s, o).children];
|
|
@@ -2667,11 +2674,11 @@ function ul(e, t, r) {
|
|
|
2667
2674
|
})();
|
|
2668
2675
|
return { kind: "ieConditionalComment", complete: u, children: p, condition: w(0, i.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new h(e.sourceSpan.start, o), endSourceSpan: new h(c, e.sourceSpan.end) };
|
|
2669
2676
|
}
|
|
2670
|
-
function
|
|
2677
|
+
function ml(e, t) {
|
|
2671
2678
|
let { condition: r } = t.groups;
|
|
2672
2679
|
return { kind: "ieConditionalStartComment", condition: w(0, r.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
|
|
2673
2680
|
}
|
|
2674
|
-
function
|
|
2681
|
+
function fl(e) {
|
|
2675
2682
|
return { kind: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
|
|
2676
2683
|
}
|
|
2677
2684
|
var Yr = class extends Pr {
|
|
@@ -2681,7 +2688,7 @@ var Yr = class extends Pr {
|
|
|
2681
2688
|
});
|
|
2682
2689
|
}
|
|
2683
2690
|
visit(t, { parseOptions: r }) {
|
|
2684
|
-
|
|
2691
|
+
Sl(t), El(t, r), vl(t, r), Cl(t);
|
|
2685
2692
|
}
|
|
2686
2693
|
};
|
|
2687
2694
|
function Ts(e, t, r, n) {
|
|
@@ -2692,12 +2699,12 @@ function Ts(e, t, r, n) {
|
|
|
2692
2699
|
let a = Es(s, n);
|
|
2693
2700
|
a && s.parent.replaceChild(s, a);
|
|
2694
2701
|
}
|
|
2695
|
-
|
|
2702
|
+
dl(s), gl(s), _l(s);
|
|
2696
2703
|
}), i;
|
|
2697
2704
|
}
|
|
2698
|
-
function
|
|
2705
|
+
function dl(e) {
|
|
2699
2706
|
if (e.kind === "block") {
|
|
2700
|
-
if (e.name = w(0, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.kind = "angularControlFlowBlock", !
|
|
2707
|
+
if (e.name = w(0, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.kind = "angularControlFlowBlock", !Ie(e.parameters)) {
|
|
2701
2708
|
delete e.parameters;
|
|
2702
2709
|
return;
|
|
2703
2710
|
}
|
|
@@ -2705,10 +2712,10 @@ function ml(e) {
|
|
|
2705
2712
|
e.parameters = { kind: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new h(e.parameters[0].sourceSpan.start, F(0, e.parameters, -1).sourceSpan.end) };
|
|
2706
2713
|
}
|
|
2707
2714
|
}
|
|
2708
|
-
function
|
|
2715
|
+
function gl(e) {
|
|
2709
2716
|
e.kind === "letDeclaration" && (e.kind = "angularLetDeclaration", e.id = e.name, e.init = { kind: "angularLetDeclarationInitializer", sourceSpan: new h(e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
|
|
2710
2717
|
}
|
|
2711
|
-
function
|
|
2718
|
+
function _l(e) {
|
|
2712
2719
|
e.kind === "expansion" && (e.kind = "angularIcuExpression"), e.kind === "expansionCase" && (e.kind = "angularIcuCase");
|
|
2713
2720
|
}
|
|
2714
2721
|
function Cs(e, t) {
|
|
@@ -2719,7 +2726,7 @@ function vs(e) {
|
|
|
2719
2726
|
let t = e.name.startsWith(":") ? e.name.slice(1).split(":")[0] : null, r = e.nameSpan.toString(), n = t !== null && r.startsWith(`${t}:`), i = n ? r.slice(t.length + 1) : r;
|
|
2720
2727
|
e.name = i, e.namespace = t, e.hasExplicitNamespace = n;
|
|
2721
2728
|
}
|
|
2722
|
-
function
|
|
2729
|
+
function Sl(e) {
|
|
2723
2730
|
switch (e.kind) {
|
|
2724
2731
|
case "element":
|
|
2725
2732
|
vs(e);
|
|
@@ -2733,17 +2740,17 @@ function gl(e) {
|
|
|
2733
2740
|
break;
|
|
2734
2741
|
}
|
|
2735
2742
|
}
|
|
2736
|
-
function
|
|
2743
|
+
function El(e, t) {
|
|
2737
2744
|
if (e.kind === "element") {
|
|
2738
2745
|
let r = Be(t.isTagNameCaseSensitive ? e.name : e.name.toLowerCase());
|
|
2739
|
-
!e.namespace || e.namespace === r.implicitNamespacePrefix ||
|
|
2746
|
+
!e.namespace || e.namespace === r.implicitNamespacePrefix || ue(e) ? e.tagDefinition = r : e.tagDefinition = Be("");
|
|
2740
2747
|
}
|
|
2741
2748
|
}
|
|
2742
|
-
function
|
|
2749
|
+
function Cl(e) {
|
|
2743
2750
|
e.sourceSpan && e.endSourceSpan && (e.sourceSpan = new h(e.sourceSpan.start, e.endSourceSpan.end));
|
|
2744
2751
|
}
|
|
2745
|
-
function
|
|
2746
|
-
if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix ||
|
|
2752
|
+
function vl(e, t) {
|
|
2753
|
+
if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix || ue(e)) && (e.name = Cs(e.name, (r) => _s.has(r))), t.normalizeAttributeName)) for (let r of e.attrs) r.namespace || (r.name = Cs(r.name, (n) => Zt.has(e.name) && (Zt.get("*").has(n) || Zt.get(e.name).has(n))));
|
|
2747
2754
|
}
|
|
2748
2755
|
function Xr(e, t) {
|
|
2749
2756
|
let { rootNodes: r, errors: n } = Qt(e, Gr(t));
|
|
@@ -2758,14 +2765,14 @@ function bs(e, t) {
|
|
|
2758
2765
|
};
|
|
2759
2766
|
for (let [u, p] of n.entries()) if (p.kind === "element") {
|
|
2760
2767
|
if (p.isVoid) i = o().errors, n[u] = c(p);
|
|
2761
|
-
else if (
|
|
2768
|
+
else if (Tl(p)) {
|
|
2762
2769
|
let { endSourceSpan: d, startSourceSpan: S } = p, m = o().errors.find((g) => g.span.start.offset > S.start.offset && g.span.start.offset < d.end.offset);
|
|
2763
2770
|
m && jr(m), n[u] = c(p);
|
|
2764
2771
|
}
|
|
2765
2772
|
}
|
|
2766
2773
|
return i.length > 0 && jr(i[0]), { parseOptions: t, rootNodes: n };
|
|
2767
2774
|
}
|
|
2768
|
-
function
|
|
2775
|
+
function Tl(e) {
|
|
2769
2776
|
if (e.kind !== "element" || e.name !== "template") return false;
|
|
2770
2777
|
let t = e.attrs.find((r) => r.name === "lang")?.value;
|
|
2771
2778
|
return !t || t === "html";
|
|
@@ -2774,34 +2781,34 @@ function jr(e) {
|
|
|
2774
2781
|
let { msg: t, span: { start: r, end: n } } = e;
|
|
2775
2782
|
throw gs(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
|
|
2776
2783
|
}
|
|
2777
|
-
function
|
|
2784
|
+
function bl(e, t, r, n, i, s) {
|
|
2778
2785
|
let { offset: a } = n, o = w(0, t.slice(0, a), /[^\n]/gu, " ") + r, c = Kr(o, e, { ...i, shouldParseFrontMatter: false }, s);
|
|
2779
2786
|
c.sourceSpan = new h(n, F(0, c.children, -1).sourceSpan.end);
|
|
2780
2787
|
let u = c.children[0];
|
|
2781
2788
|
return u.length === a ? c.children.shift() : (u.sourceSpan = new h(u.sourceSpan.start.moveBy(a), u.sourceSpan.end), u.value = u.value.slice(a)), c;
|
|
2782
2789
|
}
|
|
2783
2790
|
function Kr(e, t, r, n = {}) {
|
|
2784
|
-
let { frontMatter: i, content: s } = r.shouldParseFrontMatter ? pr(e) : { content: e }, a = new
|
|
2791
|
+
let { frontMatter: i, content: s } = r.shouldParseFrontMatter ? pr(e) : { content: e }, a = new mt(e, n.filepath), o = new qe(a, 0, 0, 0), c = o.moveBy(e.length), { parseOptions: u, rootNodes: p } = t(s, r), d = { kind: "root", sourceSpan: new h(o, c), children: p }, S;
|
|
2785
2792
|
if (i) {
|
|
2786
2793
|
let [g, E] = [i.start, i.end].map((P) => new qe(a, P.index, P.line - 1, P.column));
|
|
2787
2794
|
S = { ...i, kind: "frontMatter", sourceSpan: new h(g, E) };
|
|
2788
2795
|
}
|
|
2789
|
-
return Ts(d, S, u, (g, E) =>
|
|
2796
|
+
return Ts(d, S, u, (g, E) => bl(t, e, g, E, u, n));
|
|
2790
2797
|
}
|
|
2791
2798
|
var rr = Jt({ name: "html", normalizeTagName: true, normalizeAttributeName: true, allowHtmComponentClosingTags: true });
|
|
2792
|
-
function
|
|
2799
|
+
function gt(e) {
|
|
2793
2800
|
let t = Jt(e), r = t.name === "vue" ? bs : Xr;
|
|
2794
2801
|
return { parse: (n, i) => Kr(n, r, t, i), hasPragma: vi, hasIgnorePragma: Ti, astFormat: "html", locStart: Q, locEnd: te };
|
|
2795
2802
|
}
|
|
2796
|
-
var
|
|
2803
|
+
var wl = gt(rr), kl = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), xl = gt({ ...rr, name: "mjml", shouldParseAsRawText: (e) => kl.has(e) }), Al = gt({ name: "angular", tokenizeAngularBlocks: true, tokenizeAngularLetDeclaration: true }), yl = gt({ name: "vue", isTagNameCaseSensitive: true, shouldParseAsRawText(e, t, r, n) {
|
|
2797
2804
|
return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: i, value: s }) => i === "lang" && s !== "html" && s !== "" && s !== void 0));
|
|
2798
|
-
} }),
|
|
2799
|
-
var
|
|
2805
|
+
} }), Nl = gt({ name: "lwc", canSelfClose: false });
|
|
2806
|
+
var Ll = { html: hs };
|
|
2800
2807
|
export {
|
|
2801
2808
|
ws as default,
|
|
2802
2809
|
ms as languages,
|
|
2803
2810
|
ds as options,
|
|
2804
2811
|
Qr as parsers,
|
|
2805
|
-
|
|
2812
|
+
Ll as printers
|
|
2806
2813
|
};
|
|
2807
|
-
//# sourceMappingURL=html-
|
|
2814
|
+
//# sourceMappingURL=html-l-HK6v37.js.map
|