ct-rich-text-editor 1.3.2 → 1.3.3
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/README.md +217 -217
- package/dist/assets/style.css +4109 -4090
- package/dist/{babel-d155920e.js → babel-d3085146.js} +3565 -3292
- package/dist/babel-d3085146.js.map +1 -0
- package/dist/{estree-b1fff53b.js → estree-164983f6.js} +1763 -1778
- package/dist/estree-164983f6.js.map +1 -0
- package/dist/hooks/useModal.d.ts +0 -1
- package/dist/{html-f95ee5dc.js → html-5586dbf6.js} +701 -656
- package/dist/html-5586dbf6.js.map +1 -0
- package/dist/{html2pdf.bundle-7d125fec.js → html2pdf.bundle-5c5747c7.js} +2 -2
- package/dist/html2pdf.bundle-5c5747c7.js.map +1 -0
- package/dist/{html2pdf.bundle.min-96e9ee6a.js → html2pdf.bundle.min-8fcf4f01.js} +2 -2
- package/dist/html2pdf.bundle.min-8fcf4f01.js.map +1 -0
- package/dist/{index-91e0322d.js → index-48519641.js} +2 -2
- package/dist/index-48519641.js.map +1 -0
- package/dist/{index-413952d9.js → index-db43388d.js} +378 -254
- package/dist/index-db43388d.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{markdown-1d9e6c3f.js → markdown-d513479b.js} +1836 -1789
- package/dist/markdown-d513479b.js.map +1 -0
- package/dist/plugins/AutocompletePlugin.d.ts +0 -1
- package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +0 -1
- package/dist/plugins/SlashCommandPlugin/index.d.ts +0 -1
- package/dist/{postcss-c2592f3f.js → postcss-f084f74d.js} +1378 -1357
- package/dist/postcss-f084f74d.js.map +1 -0
- package/dist/standalone-5a8c6b7e.js +2518 -0
- package/dist/standalone-5a8c6b7e.js.map +1 -0
- package/dist/typescript-b1005db4.js +13705 -0
- package/dist/typescript-b1005db4.js.map +1 -0
- package/package.json +126 -126
- package/dist/babel-d155920e.js.map +0 -1
- package/dist/estree-b1fff53b.js.map +0 -1
- package/dist/html-f95ee5dc.js.map +0 -1
- package/dist/html2pdf.bundle-7d125fec.js.map +0 -1
- package/dist/html2pdf.bundle.min-96e9ee6a.js.map +0 -1
- package/dist/index-413952d9.js.map +0 -1
- package/dist/index-91e0322d.js.map +0 -1
- package/dist/markdown-1d9e6c3f.js.map +0 -1
- package/dist/postcss-c2592f3f.js.map +0 -1
- package/dist/standalone-bcc7f37a.js +0 -2649
- package/dist/standalone-bcc7f37a.js.map +0 -1
- package/dist/typescript-48c10f50.js +0 -13601
- package/dist/typescript-48c10f50.js.map +0 -1
|
@@ -4,58 +4,58 @@ var __publicField = (obj, key, value) => {
|
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var on = Object.defineProperty;
|
|
8
|
+
var un = (t7) => {
|
|
9
9
|
throw TypeError(t7);
|
|
10
10
|
};
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var Ai = (t7, e, r) => e in t7 ? on(t7, e, { enumerable: true, configurable: true, writable: true, value: r }) : t7[e] = r;
|
|
12
|
+
var ln = (t7, e) => {
|
|
13
13
|
for (var r in e)
|
|
14
|
-
|
|
14
|
+
on(t7, r, { get: e[r], enumerable: true });
|
|
15
15
|
};
|
|
16
|
-
var lr = (t7, e, r) =>
|
|
17
|
-
var R = (t7, e, r) => (
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
var
|
|
16
|
+
var lr = (t7, e, r) => Ai(t7, typeof e != "symbol" ? e + "" : e, r), cn = (t7, e, r) => e.has(t7) || un("Cannot " + r);
|
|
17
|
+
var R = (t7, e, r) => (cn(t7, e, "read from private field"), r ? r.call(t7) : e.get(t7)), At = (t7, e, r) => e.has(t7) ? un("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t7) : e.set(t7, r), pn = (t7, e, r, n) => (cn(t7, e, "write to private field"), n ? n.call(t7, r) : e.set(t7, r), r);
|
|
18
|
+
var rn = {};
|
|
19
|
+
ln(rn, { languages: () => Hs, options: () => Us, parsers: () => tn, printers: () => uu });
|
|
20
|
+
var Di = (t7, e, r, n) => {
|
|
21
21
|
if (!(t7 && e == null))
|
|
22
22
|
return e.replaceAll ? e.replaceAll(r, n) : r.global ? e.replace(r, n) : e.split(r).join(n);
|
|
23
|
-
}, w =
|
|
24
|
-
var
|
|
25
|
-
var
|
|
23
|
+
}, w = Di;
|
|
24
|
+
var we = "string", ze = "array", Ye = "cursor", be = "indent", Te = "align", je = "trim", xe = "group", ke = "fill", ce = "if-break", Be = "indent-if-break", Ke = "line-suffix", Xe = "line-suffix-boundary", j = "line", Qe = "label", Le = "break-parent", Dt = /* @__PURE__ */ new Set([Ye, be, Te, je, xe, ke, ce, Be, Ke, Xe, j, Qe, Le]);
|
|
25
|
+
var vi = (t7, e, r) => {
|
|
26
26
|
if (!(t7 && e == null))
|
|
27
27
|
return Array.isArray(e) || typeof e == "string" ? e[r < 0 ? e.length + r : r] : e.at(r);
|
|
28
|
-
}, K =
|
|
29
|
-
function
|
|
28
|
+
}, K = vi;
|
|
29
|
+
function yi(t7) {
|
|
30
30
|
if (typeof t7 == "string")
|
|
31
|
-
return
|
|
31
|
+
return we;
|
|
32
32
|
if (Array.isArray(t7))
|
|
33
|
-
return
|
|
33
|
+
return ze;
|
|
34
34
|
if (!t7)
|
|
35
35
|
return;
|
|
36
36
|
let { type: e } = t7;
|
|
37
|
-
if (
|
|
37
|
+
if (Dt.has(e))
|
|
38
38
|
return e;
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
function
|
|
40
|
+
var Fe = yi;
|
|
41
|
+
var wi = (t7) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(t7);
|
|
42
|
+
function bi(t7) {
|
|
43
43
|
let e = t7 === null ? "null" : typeof t7;
|
|
44
44
|
if (e !== "string" && e !== "object")
|
|
45
45
|
return `Unexpected doc '${e}',
|
|
46
46
|
Expected it to be 'string' or 'object'.`;
|
|
47
|
-
if (
|
|
47
|
+
if (Fe(t7))
|
|
48
48
|
throw new Error("doc is valid.");
|
|
49
49
|
let r = Object.prototype.toString.call(t7);
|
|
50
50
|
if (r !== "[object Object]")
|
|
51
51
|
return `Unexpected doc '${r}'.`;
|
|
52
|
-
let n =
|
|
52
|
+
let n = wi([...Dt].map((s) => `'${s}'`));
|
|
53
53
|
return `Unexpected doc.type '${t7.type}'.
|
|
54
54
|
Expected it to be ${n}.`;
|
|
55
55
|
}
|
|
56
56
|
var cr = class extends Error {
|
|
57
57
|
constructor(e) {
|
|
58
|
-
super(
|
|
58
|
+
super(bi(e));
|
|
59
59
|
__publicField(this, "name", "InvalidDocError");
|
|
60
60
|
this.doc = e;
|
|
61
61
|
}
|
|
@@ -72,81 +72,81 @@ function hr(t7, e) {
|
|
|
72
72
|
return r.set(i, a), a;
|
|
73
73
|
}
|
|
74
74
|
function s(i) {
|
|
75
|
-
switch (
|
|
76
|
-
case
|
|
75
|
+
switch (Fe(i)) {
|
|
76
|
+
case ze:
|
|
77
77
|
return e(i.map(n));
|
|
78
|
-
case
|
|
78
|
+
case ke:
|
|
79
79
|
return e({ ...i, parts: i.parts.map(n) });
|
|
80
80
|
case ce:
|
|
81
81
|
return e({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
|
|
82
|
-
case
|
|
82
|
+
case xe: {
|
|
83
83
|
let { expandedStates: a, contents: o } = i;
|
|
84
84
|
return a ? (a = a.map(n), o = a[0]) : o = n(o), e({ ...i, contents: o, expandedStates: a });
|
|
85
85
|
}
|
|
86
|
+
case Te:
|
|
86
87
|
case be:
|
|
87
|
-
case
|
|
88
|
-
case
|
|
89
|
-
case Xe:
|
|
88
|
+
case Be:
|
|
89
|
+
case Qe:
|
|
90
90
|
case Ke:
|
|
91
91
|
return e({ ...i, contents: n(i.contents) });
|
|
92
|
-
case
|
|
92
|
+
case we:
|
|
93
93
|
case Ye:
|
|
94
94
|
case je:
|
|
95
|
-
case
|
|
95
|
+
case Xe:
|
|
96
96
|
case j:
|
|
97
|
-
case
|
|
97
|
+
case Le:
|
|
98
98
|
return e(i);
|
|
99
99
|
default:
|
|
100
100
|
throw new pr(i);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function B(t7, e =
|
|
104
|
+
function B(t7, e = hn) {
|
|
105
105
|
return hr(t7, (r) => typeof r == "string" ? H(e, r.split(`
|
|
106
106
|
`)) : r);
|
|
107
107
|
}
|
|
108
|
-
var
|
|
109
|
-
},
|
|
108
|
+
var mr = () => {
|
|
109
|
+
}, fr = mr;
|
|
110
110
|
function k(t7) {
|
|
111
|
-
return { type:
|
|
111
|
+
return { type: be, contents: t7 };
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
return { type:
|
|
113
|
+
function fn(t7, e) {
|
|
114
|
+
return { type: Te, contents: e, n: t7 };
|
|
115
115
|
}
|
|
116
116
|
function E(t7, e = {}) {
|
|
117
|
-
return
|
|
117
|
+
return fr(e.expandedStates), { type: xe, id: e.id, contents: t7, break: !!e.shouldBreak, expandedStates: e.expandedStates };
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
return
|
|
119
|
+
function dn(t7) {
|
|
120
|
+
return fn(Number.NEGATIVE_INFINITY, t7);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
return
|
|
122
|
+
function gn(t7) {
|
|
123
|
+
return fn({ type: "root" }, t7);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
return { type:
|
|
125
|
+
function vt(t7) {
|
|
126
|
+
return { type: ke, parts: t7 };
|
|
127
127
|
}
|
|
128
128
|
function pe(t7, e = "", r = {}) {
|
|
129
129
|
return { type: ce, breakContents: t7, flatContents: e, groupId: r.groupId };
|
|
130
130
|
}
|
|
131
|
-
function
|
|
132
|
-
return { type:
|
|
131
|
+
function Cn(t7, e) {
|
|
132
|
+
return { type: Be, contents: t7, groupId: e.groupId, negate: e.negate };
|
|
133
133
|
}
|
|
134
|
-
var
|
|
135
|
-
var
|
|
134
|
+
var ne = { type: Le };
|
|
135
|
+
var xi = { type: j, hard: true }, ki = { type: j, hard: true, literal: true }, _ = { type: j }, v = { type: j, soft: true }, S = [xi, ne], hn = [ki, ne];
|
|
136
136
|
function H(t7, e) {
|
|
137
137
|
let r = [];
|
|
138
138
|
for (let n = 0; n < e.length; n++)
|
|
139
139
|
n !== 0 && r.push(t7), r.push(e[n]);
|
|
140
140
|
return r;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
143
|
-
function
|
|
144
|
-
let r = e === true || e ===
|
|
142
|
+
var yt = "'", Sn = '"';
|
|
143
|
+
function Bi(t7, e) {
|
|
144
|
+
let r = e === true || e === yt ? yt : Sn, n = r === yt ? Sn : yt, s = 0, i = 0;
|
|
145
145
|
for (let a of t7)
|
|
146
146
|
a === r ? s++ : a === n && i++;
|
|
147
147
|
return s > i ? n : r;
|
|
148
148
|
}
|
|
149
|
-
var
|
|
149
|
+
var _n = Bi;
|
|
150
150
|
function dr(t7) {
|
|
151
151
|
if (typeof t7 != "string")
|
|
152
152
|
throw new TypeError("Expected a string");
|
|
@@ -154,8 +154,8 @@ function dr(t7) {
|
|
|
154
154
|
}
|
|
155
155
|
var V, gr = class {
|
|
156
156
|
constructor(e) {
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
At(this, V);
|
|
158
|
+
pn(this, V, new Set(e));
|
|
159
159
|
}
|
|
160
160
|
getLeadingWhitespaceCount(e) {
|
|
161
161
|
let r = R(this, V), n = 0;
|
|
@@ -212,43 +212,43 @@ var V, gr = class {
|
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
V = /* @__PURE__ */ new WeakMap();
|
|
215
|
-
var
|
|
216
|
-
var
|
|
217
|
-
`, "\f", "\r", " "],
|
|
215
|
+
var En = gr;
|
|
216
|
+
var Li = [" ", `
|
|
217
|
+
`, "\f", "\r", " "], Fi = new En(Li), O = Fi;
|
|
218
218
|
var Cr = class extends Error {
|
|
219
219
|
constructor(e, r, n = "type") {
|
|
220
220
|
super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`);
|
|
221
221
|
__publicField(this, "name", "UnexpectedNodeError");
|
|
222
222
|
this.node = e;
|
|
223
223
|
}
|
|
224
|
-
},
|
|
225
|
-
function
|
|
224
|
+
}, An = Cr;
|
|
225
|
+
function Pi(t7) {
|
|
226
226
|
return (t7 == null ? void 0 : t7.type) === "front-matter";
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
var
|
|
230
|
-
function
|
|
228
|
+
var Pe = Pi;
|
|
229
|
+
var Ni = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Ii = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
230
|
+
function Dn(t7, e) {
|
|
231
231
|
var r;
|
|
232
|
-
if (t7.type === "text" || t7.type === "comment" ||
|
|
232
|
+
if (t7.type === "text" || t7.type === "comment" || Pe(t7) || t7.type === "yaml" || t7.type === "toml")
|
|
233
233
|
return null;
|
|
234
234
|
if (t7.type === "attribute" && delete e.value, t7.type === "docType" && delete e.value, t7.type === "angularControlFlowBlock" && ((r = t7.parameters) != null && r.children))
|
|
235
235
|
for (let n of e.parameters.children)
|
|
236
|
-
|
|
236
|
+
Ii.has(t7.name) ? delete n.expression : n.expression = n.expression.trim();
|
|
237
237
|
t7.type === "angularIcuExpression" && (e.switchValue = t7.switchValue.trim()), t7.type === "angularLetDeclarationInitializer" && delete e.value;
|
|
238
238
|
}
|
|
239
|
-
|
|
240
|
-
var
|
|
241
|
-
async function
|
|
239
|
+
Dn.ignoredProperties = Ni;
|
|
240
|
+
var vn = Dn;
|
|
241
|
+
async function Ri(t7, e) {
|
|
242
242
|
if (t7.language === "yaml") {
|
|
243
243
|
let r = t7.value.trim(), n = r ? await e(r, { parser: "yaml" }) : "";
|
|
244
|
-
return
|
|
244
|
+
return gn([t7.startDelimiter, t7.explicitLanguage, S, n, n ? S : "", t7.endDelimiter]);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
var
|
|
247
|
+
var yn = Ri;
|
|
248
248
|
function he(t7, e = true) {
|
|
249
249
|
return [k([v, t7]), e ? v : ""];
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function X(t7, e) {
|
|
252
252
|
let r = t7.type === "NGRoot" ? t7.node.type === "NGMicrosyntax" && t7.node.body.length === 1 && t7.node.body[0].type === "NGMicrosyntaxExpression" ? t7.node.body[0].expression : t7.node : t7.type === "JsExpressionRoot" ? t7.node : t7;
|
|
253
253
|
return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (e.parser === "__vue_expression" || e.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
|
|
254
254
|
}
|
|
@@ -261,103 +261,141 @@ async function T(t7, e, r, n) {
|
|
|
261
261
|
let i = await e(t7, r, e);
|
|
262
262
|
return s ? E(i) : he(i);
|
|
263
263
|
}
|
|
264
|
-
function
|
|
264
|
+
function $i(t7, e, r, n) {
|
|
265
265
|
let { node: s } = r, i = n.originalText.slice(s.sourceSpan.start.offset, s.sourceSpan.end.offset);
|
|
266
|
-
return /^\s*$/u.test(i) ? "" : T(i, t7, { parser: "__ng_directive", __isInHtmlAttribute: false },
|
|
266
|
+
return /^\s*$/u.test(i) ? "" : T(i, t7, { parser: "__ng_directive", __isInHtmlAttribute: false }, X);
|
|
267
|
+
}
|
|
268
|
+
var wn = $i;
|
|
269
|
+
var Oi = (t7, e) => {
|
|
270
|
+
if (!(t7 && e == null))
|
|
271
|
+
return e.toReversed || !Array.isArray(e) ? e.toReversed() : [...e].reverse();
|
|
272
|
+
}, bn = Oi;
|
|
273
|
+
function Mi(t7) {
|
|
274
|
+
return Array.isArray(t7) && t7.length > 0;
|
|
267
275
|
}
|
|
268
|
-
var
|
|
269
|
-
var
|
|
270
|
-
function
|
|
276
|
+
var me = Mi;
|
|
277
|
+
var Tn, xn, kn, Bn, Ln, qi = ((Tn = globalThis.Deno) == null ? void 0 : Tn.build.os) === "windows" || ((kn = (xn = globalThis.navigator) == null ? void 0 : xn.platform) == null ? void 0 : kn.startsWith("Win")) || ((Ln = (Bn = globalThis.process) == null ? void 0 : Bn.platform) == null ? void 0 : Ln.startsWith("win")) || false;
|
|
278
|
+
function Fn(t7) {
|
|
279
|
+
if (t7 = t7 instanceof URL ? t7 : new URL(t7), t7.protocol !== "file:")
|
|
280
|
+
throw new TypeError(`URL must be a file URL: received "${t7.protocol}"`);
|
|
281
|
+
return t7;
|
|
282
|
+
}
|
|
283
|
+
function Hi(t7) {
|
|
284
|
+
return t7 = Fn(t7), decodeURIComponent(t7.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
|
|
285
|
+
}
|
|
286
|
+
function Vi(t7) {
|
|
287
|
+
t7 = Fn(t7);
|
|
288
|
+
let e = decodeURIComponent(t7.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
|
|
289
|
+
return t7.hostname !== "" && (e = `\\\\${t7.hostname}${e}`), e;
|
|
290
|
+
}
|
|
291
|
+
function Pn(t7) {
|
|
292
|
+
return qi ? Vi(t7) : Hi(t7);
|
|
293
|
+
}
|
|
294
|
+
var Nn = Pn;
|
|
295
|
+
var Ui = (t7) => String(t7).split(/[/\\]/u).pop();
|
|
296
|
+
function In(t7, e) {
|
|
271
297
|
if (!e)
|
|
272
298
|
return;
|
|
273
|
-
let r =
|
|
299
|
+
let r = Ui(e).toLowerCase();
|
|
274
300
|
return t7.find(({ filenames: n }) => n == null ? void 0 : n.some((s) => s.toLowerCase() === r)) ?? t7.find(({ extensions: n }) => n == null ? void 0 : n.some((s) => r.endsWith(s)));
|
|
275
301
|
}
|
|
276
|
-
function
|
|
302
|
+
function Wi(t7, e) {
|
|
277
303
|
if (e)
|
|
278
304
|
return t7.find(({ name: r }) => r.toLowerCase() === e) ?? t7.find(({ aliases: r }) => r == null ? void 0 : r.includes(e)) ?? t7.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${e}`));
|
|
279
305
|
}
|
|
280
|
-
function
|
|
281
|
-
|
|
306
|
+
function Rn(t7, e) {
|
|
307
|
+
if (e) {
|
|
308
|
+
if (String(e).startsWith("file:"))
|
|
309
|
+
try {
|
|
310
|
+
e = Nn(e);
|
|
311
|
+
} catch {
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
if (typeof e == "string")
|
|
315
|
+
return t7.find(({ isSupported: r }) => r == null ? void 0 : r({ filepath: e }));
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
function Gi(t7, e) {
|
|
319
|
+
let r = bn(false, t7.plugins).flatMap((s) => s.languages ?? []), n = Wi(r, e.language) ?? In(r, e.physicalFile) ?? In(r, e.file) ?? Rn(r, e.physicalFile) ?? Rn(r, e.file) ?? (e.physicalFile, void 0);
|
|
282
320
|
return n == null ? void 0 : n.parsers[0];
|
|
283
321
|
}
|
|
284
|
-
var Ne =
|
|
285
|
-
var
|
|
286
|
-
function
|
|
322
|
+
var Ne = Gi;
|
|
323
|
+
var $n = "inline", Sr = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", select: "inline-block", option: "block", optgroup: "block" }, On = "normal", _r = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
|
|
324
|
+
function zi(t7) {
|
|
287
325
|
return t7.type === "element" && !t7.hasExplicitNamespace && !["html", "svg"].includes(t7.namespace);
|
|
288
326
|
}
|
|
289
|
-
var fe =
|
|
290
|
-
var
|
|
327
|
+
var fe = zi;
|
|
328
|
+
var Yi = (t7) => w(false, t7, /^[\t\f\r ]*\n/gu, ""), Er = (t7) => Yi(O.trimEnd(t7)), Mn = (t7) => {
|
|
291
329
|
let e = t7, r = O.getLeadingWhitespace(e);
|
|
292
330
|
r && (e = e.slice(r.length));
|
|
293
331
|
let n = O.getTrailingWhitespace(e);
|
|
294
332
|
return n && (e = e.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: e };
|
|
295
333
|
};
|
|
296
|
-
function
|
|
297
|
-
return !!(t7.type === "ieConditionalComment" && t7.lastChild && !t7.lastChild.isSelfClosing && !t7.lastChild.endSourceSpan || t7.type === "ieConditionalComment" && !t7.complete ||
|
|
334
|
+
function wt(t7, e) {
|
|
335
|
+
return !!(t7.type === "ieConditionalComment" && t7.lastChild && !t7.lastChild.isSelfClosing && !t7.lastChild.endSourceSpan || t7.type === "ieConditionalComment" && !t7.complete || de(t7) && t7.children.some((r) => r.type !== "text" && r.type !== "interpolation") || xt(t7, e) && !W(t7, e) && t7.type !== "interpolation");
|
|
298
336
|
}
|
|
299
|
-
function
|
|
300
|
-
return t7.type === "attribute" || !t7.parent || !t7.prev ? false :
|
|
337
|
+
function ge(t7) {
|
|
338
|
+
return t7.type === "attribute" || !t7.parent || !t7.prev ? false : ji(t7.prev);
|
|
301
339
|
}
|
|
302
|
-
function
|
|
340
|
+
function ji(t7) {
|
|
303
341
|
return t7.type === "comment" && t7.value.trim() === "prettier-ignore";
|
|
304
342
|
}
|
|
305
343
|
function $(t7) {
|
|
306
344
|
return t7.type === "text" || t7.type === "comment";
|
|
307
345
|
}
|
|
308
|
-
function W(t7) {
|
|
309
|
-
return t7.type === "element" && (t7.fullName === "script" || t7.fullName === "style" || t7.fullName === "svg:style" || t7.fullName === "svg:script" || fe(t7) && (t7.name === "script" || t7.name === "style"));
|
|
346
|
+
function W(t7, e) {
|
|
347
|
+
return t7.type === "element" && (t7.fullName === "script" || t7.fullName === "style" || t7.fullName === "svg:style" || t7.fullName === "svg:script" || t7.fullName === "mj-style" && e.parser === "mjml" || fe(t7) && (t7.name === "script" || t7.name === "style"));
|
|
310
348
|
}
|
|
311
|
-
function
|
|
312
|
-
return t7.children && !W(t7);
|
|
349
|
+
function qn(t7, e) {
|
|
350
|
+
return t7.children && !W(t7, e);
|
|
313
351
|
}
|
|
314
|
-
function
|
|
315
|
-
return W(t7) || t7.type === "interpolation" ||
|
|
352
|
+
function Hn(t7, e) {
|
|
353
|
+
return W(t7, e) || t7.type === "interpolation" || Ar(t7);
|
|
316
354
|
}
|
|
317
|
-
function
|
|
318
|
-
return
|
|
355
|
+
function Ar(t7) {
|
|
356
|
+
return Jn(t7).startsWith("pre");
|
|
319
357
|
}
|
|
320
|
-
function
|
|
358
|
+
function Vn(t7, e) {
|
|
321
359
|
var s, i;
|
|
322
360
|
let r = n();
|
|
323
361
|
if (r && !t7.prev && ((i = (s = t7.parent) == null ? void 0 : s.tagDefinition) != null && i.ignoreFirstLf))
|
|
324
362
|
return t7.type === "interpolation";
|
|
325
363
|
return r;
|
|
326
364
|
function n() {
|
|
327
|
-
return
|
|
365
|
+
return Pe(t7) || t7.type === "angularControlFlowBlock" ? false : (t7.type === "text" || t7.type === "interpolation") && t7.prev && (t7.prev.type === "text" || t7.prev.type === "interpolation") ? true : !t7.parent || t7.parent.cssDisplay === "none" ? false : de(t7.parent) ? true : !(!t7.prev && (t7.parent.type === "root" || de(t7) && t7.parent || W(t7.parent, e) || et(t7.parent, e) || !ea(t7.parent.cssDisplay)) || t7.prev && !na(t7.prev.cssDisplay));
|
|
328
366
|
}
|
|
329
367
|
}
|
|
330
|
-
function
|
|
331
|
-
return
|
|
368
|
+
function Un(t7, e) {
|
|
369
|
+
return Pe(t7) || t7.type === "angularControlFlowBlock" ? false : (t7.type === "text" || t7.type === "interpolation") && t7.next && (t7.next.type === "text" || t7.next.type === "interpolation") ? true : !t7.parent || t7.parent.cssDisplay === "none" ? false : de(t7.parent) ? true : !(!t7.next && (t7.parent.type === "root" || de(t7) && t7.parent || W(t7.parent, e) || et(t7.parent, e) || !ta(t7.parent.cssDisplay)) || t7.next && !ra(t7.next.cssDisplay));
|
|
332
370
|
}
|
|
333
|
-
function
|
|
334
|
-
return
|
|
371
|
+
function Wn(t7, e) {
|
|
372
|
+
return sa(t7.cssDisplay) && !W(t7, e);
|
|
335
373
|
}
|
|
336
374
|
function Je(t7) {
|
|
337
|
-
return
|
|
375
|
+
return Pe(t7) || t7.next && t7.sourceSpan.end && t7.sourceSpan.end.line + 1 < t7.next.sourceSpan.start.line;
|
|
338
376
|
}
|
|
339
|
-
function
|
|
340
|
-
return
|
|
377
|
+
function Gn(t7) {
|
|
378
|
+
return Dr(t7) || t7.type === "element" && t7.children.length > 0 && (["body", "script", "style"].includes(t7.name) || t7.children.some((e) => Xi(e))) || t7.firstChild && t7.firstChild === t7.lastChild && t7.firstChild.type !== "text" && Yn(t7.firstChild) && (!t7.lastChild.isTrailingSpaceSensitive || jn(t7.lastChild));
|
|
341
379
|
}
|
|
342
|
-
function
|
|
380
|
+
function Dr(t7) {
|
|
343
381
|
return t7.type === "element" && t7.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(t7.name) || t7.cssDisplay.startsWith("table") && t7.cssDisplay !== "table-cell");
|
|
344
382
|
}
|
|
345
|
-
function
|
|
346
|
-
return
|
|
383
|
+
function bt(t7) {
|
|
384
|
+
return Kn(t7) || t7.prev && Ki(t7.prev) || zn(t7);
|
|
347
385
|
}
|
|
348
|
-
function
|
|
349
|
-
return
|
|
386
|
+
function Ki(t7) {
|
|
387
|
+
return Kn(t7) || t7.type === "element" && t7.fullName === "br" || zn(t7);
|
|
350
388
|
}
|
|
351
|
-
function
|
|
352
|
-
return
|
|
389
|
+
function zn(t7) {
|
|
390
|
+
return Yn(t7) && jn(t7);
|
|
353
391
|
}
|
|
354
|
-
function
|
|
392
|
+
function Yn(t7) {
|
|
355
393
|
return t7.hasLeadingSpaces && (t7.prev ? t7.prev.sourceSpan.end.line < t7.sourceSpan.start.line : t7.parent.type === "root" || t7.parent.startSourceSpan.end.line < t7.sourceSpan.start.line);
|
|
356
394
|
}
|
|
357
|
-
function
|
|
395
|
+
function jn(t7) {
|
|
358
396
|
return t7.hasTrailingSpaces && (t7.next ? t7.next.sourceSpan.start.line > t7.sourceSpan.end.line : t7.parent.type === "root" || t7.parent.endSourceSpan && t7.parent.endSourceSpan.start.line > t7.sourceSpan.end.line);
|
|
359
397
|
}
|
|
360
|
-
function
|
|
398
|
+
function Kn(t7) {
|
|
361
399
|
switch (t7.type) {
|
|
362
400
|
case "ieConditionalComment":
|
|
363
401
|
case "comment":
|
|
@@ -368,19 +406,20 @@ function Mn(t7) {
|
|
|
368
406
|
}
|
|
369
407
|
return false;
|
|
370
408
|
}
|
|
371
|
-
function
|
|
372
|
-
return t7.lastChild ?
|
|
409
|
+
function Tt(t7) {
|
|
410
|
+
return t7.lastChild ? Tt(t7.lastChild) : t7;
|
|
373
411
|
}
|
|
374
|
-
function
|
|
412
|
+
function Xi(t7) {
|
|
375
413
|
var e;
|
|
376
414
|
return (e = t7.children) == null ? void 0 : e.some((r) => r.type !== "text");
|
|
377
415
|
}
|
|
378
|
-
function
|
|
416
|
+
function Xn(t7) {
|
|
379
417
|
if (t7)
|
|
380
418
|
switch (t7) {
|
|
381
419
|
case "module":
|
|
382
420
|
case "text/javascript":
|
|
383
421
|
case "text/babel":
|
|
422
|
+
case "text/jsx":
|
|
384
423
|
case "application/javascript":
|
|
385
424
|
return "babel";
|
|
386
425
|
case "application/x-typescript":
|
|
@@ -396,53 +435,55 @@ function qn(t7) {
|
|
|
396
435
|
return "json";
|
|
397
436
|
}
|
|
398
437
|
}
|
|
399
|
-
function
|
|
438
|
+
function Qi(t7, e) {
|
|
400
439
|
let { name: r, attrMap: n } = t7;
|
|
401
440
|
if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src"))
|
|
402
441
|
return;
|
|
403
442
|
let { type: s, lang: i } = t7.attrMap;
|
|
404
|
-
return !i && !s ? "babel" : Ne(e, { language: i }) ??
|
|
443
|
+
return !i && !s ? "babel" : Ne(e, { language: i }) ?? Xn(s);
|
|
405
444
|
}
|
|
406
|
-
function
|
|
407
|
-
if (!
|
|
445
|
+
function Ji(t7, e) {
|
|
446
|
+
if (!xt(t7, e))
|
|
408
447
|
return;
|
|
409
448
|
let { attrMap: r } = t7;
|
|
410
449
|
if (Object.prototype.hasOwnProperty.call(r, "src"))
|
|
411
450
|
return;
|
|
412
451
|
let { type: n, lang: s } = r;
|
|
413
|
-
return Ne(e, { language: s }) ??
|
|
452
|
+
return Ne(e, { language: s }) ?? Xn(n);
|
|
414
453
|
}
|
|
415
|
-
function
|
|
416
|
-
if (t7.name
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
454
|
+
function Zi(t7, e) {
|
|
455
|
+
if (t7.name === "style") {
|
|
456
|
+
let { lang: r } = t7.attrMap;
|
|
457
|
+
return r ? Ne(e, { language: r }) : "css";
|
|
458
|
+
}
|
|
459
|
+
if (t7.name === "mj-style" && e.parser === "mjml")
|
|
460
|
+
return "css";
|
|
420
461
|
}
|
|
421
|
-
function
|
|
422
|
-
return
|
|
462
|
+
function vr(t7, e) {
|
|
463
|
+
return Qi(t7, e) ?? Zi(t7, e) ?? Ji(t7, e);
|
|
423
464
|
}
|
|
424
465
|
function Ze(t7) {
|
|
425
466
|
return t7 === "block" || t7 === "list-item" || t7.startsWith("table");
|
|
426
467
|
}
|
|
427
|
-
function
|
|
468
|
+
function ea(t7) {
|
|
428
469
|
return !Ze(t7) && t7 !== "inline-block";
|
|
429
470
|
}
|
|
430
|
-
function
|
|
471
|
+
function ta(t7) {
|
|
431
472
|
return !Ze(t7) && t7 !== "inline-block";
|
|
432
473
|
}
|
|
433
|
-
function
|
|
474
|
+
function ra(t7) {
|
|
434
475
|
return !Ze(t7);
|
|
435
476
|
}
|
|
436
|
-
function
|
|
477
|
+
function na(t7) {
|
|
437
478
|
return !Ze(t7);
|
|
438
479
|
}
|
|
439
|
-
function
|
|
480
|
+
function sa(t7) {
|
|
440
481
|
return !Ze(t7) && t7 !== "inline-block";
|
|
441
482
|
}
|
|
442
|
-
function
|
|
443
|
-
return
|
|
483
|
+
function de(t7) {
|
|
484
|
+
return Jn(t7).startsWith("pre");
|
|
444
485
|
}
|
|
445
|
-
function
|
|
486
|
+
function ia(t7, e) {
|
|
446
487
|
let r = t7;
|
|
447
488
|
for (; r; ) {
|
|
448
489
|
if (e(r))
|
|
@@ -451,9 +492,9 @@ function Vi(t7, e) {
|
|
|
451
492
|
}
|
|
452
493
|
return false;
|
|
453
494
|
}
|
|
454
|
-
function
|
|
495
|
+
function Qn(t7, e) {
|
|
455
496
|
var n;
|
|
456
|
-
if (
|
|
497
|
+
if (Ce(t7, e))
|
|
457
498
|
return "block";
|
|
458
499
|
if (((n = t7.prev) == null ? void 0 : n.type) === "comment") {
|
|
459
500
|
let s = t7.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
|
|
@@ -462,7 +503,7 @@ function Hn(t7, e) {
|
|
|
462
503
|
}
|
|
463
504
|
let r = false;
|
|
464
505
|
if (t7.type === "element" && t7.namespace === "svg")
|
|
465
|
-
if (
|
|
506
|
+
if (ia(t7, (s) => s.fullName === "svg:foreignObject"))
|
|
466
507
|
r = true;
|
|
467
508
|
else
|
|
468
509
|
return t7.name === "svg" ? "inline-block" : "block";
|
|
@@ -472,13 +513,15 @@ function Hn(t7, e) {
|
|
|
472
513
|
case "ignore":
|
|
473
514
|
return "block";
|
|
474
515
|
default:
|
|
475
|
-
|
|
516
|
+
if (t7.type === "element" && (!t7.namespace || r || fe(t7)) && Object.prototype.hasOwnProperty.call(Sr, t7.name))
|
|
517
|
+
return Sr[t7.name];
|
|
476
518
|
}
|
|
519
|
+
return $n;
|
|
477
520
|
}
|
|
478
|
-
function
|
|
479
|
-
return t7.type === "element" && (!t7.namespace || fe(t7)) &&
|
|
521
|
+
function Jn(t7) {
|
|
522
|
+
return t7.type === "element" && (!t7.namespace || fe(t7)) && Object.prototype.hasOwnProperty.call(_r, t7.name) ? _r[t7.name] : On;
|
|
480
523
|
}
|
|
481
|
-
function
|
|
524
|
+
function aa(t7) {
|
|
482
525
|
let e = Number.POSITIVE_INFINITY;
|
|
483
526
|
for (let r of t7.split(`
|
|
484
527
|
`)) {
|
|
@@ -491,48 +534,48 @@ function Ui(t7) {
|
|
|
491
534
|
}
|
|
492
535
|
return e === Number.POSITIVE_INFINITY ? 0 : e;
|
|
493
536
|
}
|
|
494
|
-
function
|
|
537
|
+
function yr(t7, e = aa(t7)) {
|
|
495
538
|
return e === 0 ? t7 : t7.split(`
|
|
496
539
|
`).map((r) => r.slice(e)).join(`
|
|
497
540
|
`);
|
|
498
541
|
}
|
|
499
|
-
function
|
|
542
|
+
function wr(t7) {
|
|
500
543
|
return w(false, w(false, t7, "'", "'"), """, '"');
|
|
501
544
|
}
|
|
502
|
-
function
|
|
503
|
-
return
|
|
545
|
+
function P(t7) {
|
|
546
|
+
return wr(t7.value);
|
|
504
547
|
}
|
|
505
|
-
var
|
|
548
|
+
var oa = /* @__PURE__ */ new Set(["template", "style", "script"]);
|
|
506
549
|
function et(t7, e) {
|
|
507
|
-
return
|
|
550
|
+
return Ce(t7, e) && !oa.has(t7.fullName);
|
|
508
551
|
}
|
|
509
|
-
function
|
|
552
|
+
function Ce(t7, e) {
|
|
510
553
|
return e.parser === "vue" && t7.type === "element" && t7.parent.type === "root" && t7.fullName.toLowerCase() !== "html";
|
|
511
554
|
}
|
|
512
|
-
function
|
|
513
|
-
return
|
|
555
|
+
function xt(t7, e) {
|
|
556
|
+
return Ce(t7, e) && (et(t7, e) || t7.attrMap.lang && t7.attrMap.lang !== "html");
|
|
514
557
|
}
|
|
515
|
-
function
|
|
558
|
+
function Zn(t7) {
|
|
516
559
|
let e = t7.fullName;
|
|
517
560
|
return e.charAt(0) === "#" || e === "slot-scope" || e === "v-slot" || e.startsWith("v-slot:");
|
|
518
561
|
}
|
|
519
|
-
function
|
|
562
|
+
function es(t7, e) {
|
|
520
563
|
let r = t7.parent;
|
|
521
|
-
if (!
|
|
564
|
+
if (!Ce(r, e))
|
|
522
565
|
return false;
|
|
523
566
|
let n = r.fullName, s = t7.fullName;
|
|
524
567
|
return n === "script" && s === "setup" || n === "style" && s === "vars";
|
|
525
568
|
}
|
|
526
|
-
function
|
|
527
|
-
return t7.parent.isWhitespaceSensitive ? t7.parent.isIndentationSensitive ? B(e) : B(
|
|
569
|
+
function kt(t7, e = t7.value) {
|
|
570
|
+
return t7.parent.isWhitespaceSensitive ? t7.parent.isIndentationSensitive ? B(e) : B(yr(Er(e)), S) : H(_, O.split(e));
|
|
528
571
|
}
|
|
529
|
-
function
|
|
530
|
-
return
|
|
572
|
+
function Bt(t7, e) {
|
|
573
|
+
return Ce(t7, e) && t7.name === "script";
|
|
531
574
|
}
|
|
532
|
-
var
|
|
533
|
-
async function
|
|
575
|
+
var br = /\{\{(.+?)\}\}/su;
|
|
576
|
+
async function ts(t7, e) {
|
|
534
577
|
let r = [];
|
|
535
|
-
for (let [n, s] of t7.split(
|
|
578
|
+
for (let [n, s] of t7.split(br).entries())
|
|
536
579
|
if (n % 2 === 0)
|
|
537
580
|
r.push(B(s));
|
|
538
581
|
else
|
|
@@ -543,39 +586,39 @@ async function zn(t7, e) {
|
|
|
543
586
|
}
|
|
544
587
|
return r;
|
|
545
588
|
}
|
|
546
|
-
function
|
|
547
|
-
return (e, r, n) => T(
|
|
589
|
+
function Tr({ parser: t7 }) {
|
|
590
|
+
return (e, r, n) => T(P(n.node), e, { parser: t7 }, X);
|
|
548
591
|
}
|
|
549
|
-
var
|
|
550
|
-
function
|
|
592
|
+
var ua = Tr({ parser: "__ng_action" }), la = Tr({ parser: "__ng_binding" }), ca = Tr({ parser: "__ng_directive" });
|
|
593
|
+
function pa(t7, e) {
|
|
551
594
|
if (e.parser !== "angular")
|
|
552
595
|
return;
|
|
553
596
|
let { node: r } = t7, n = r.fullName;
|
|
554
597
|
if (n.startsWith("(") && n.endsWith(")") || n.startsWith("on-"))
|
|
555
|
-
return
|
|
598
|
+
return ua;
|
|
556
599
|
if (n.startsWith("[") && n.endsWith("]") || /^bind(?:on)?-/u.test(n) || /^ng-(?:if|show|hide|class|style)$/u.test(n))
|
|
557
|
-
return
|
|
600
|
+
return la;
|
|
558
601
|
if (n.startsWith("*"))
|
|
559
|
-
return
|
|
560
|
-
let s =
|
|
602
|
+
return ca;
|
|
603
|
+
let s = P(r);
|
|
561
604
|
if (/^i18n(?:-.+)?$/u.test(n))
|
|
562
|
-
return () => he(
|
|
563
|
-
if (
|
|
564
|
-
return (i) =>
|
|
605
|
+
return () => he(vt(kt(r, s.trim())), !s.includes("@@"));
|
|
606
|
+
if (br.test(s))
|
|
607
|
+
return (i) => ts(s, i);
|
|
565
608
|
}
|
|
566
|
-
var
|
|
567
|
-
function
|
|
568
|
-
let { node: r } = t7, n =
|
|
609
|
+
var rs = pa;
|
|
610
|
+
function ha(t7, e) {
|
|
611
|
+
let { node: r } = t7, n = P(r);
|
|
569
612
|
if (r.fullName === "class" && !e.parentParser && !n.includes("{{"))
|
|
570
613
|
return () => n.trim().split(/\s+/u).join(" ");
|
|
571
614
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
615
|
+
var ns = ha;
|
|
616
|
+
function ss(t7) {
|
|
574
617
|
return t7 === " " || t7 === `
|
|
575
618
|
` || t7 === "\f" || t7 === "\r" || t7 === " ";
|
|
576
619
|
}
|
|
577
|
-
var
|
|
578
|
-
function
|
|
620
|
+
var ma = /^[ \t\n\r\u000c]+/, fa = /^[, \t\n\r\u000c]+/, da = /^[^ \t\n\r\u000c]+/, ga = /[,]+$/, is = /^\d+$/, Ca = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
|
|
621
|
+
function Sa(t7) {
|
|
579
622
|
let e = t7.length, r, n, s, i, a, o = 0, u;
|
|
580
623
|
function p(C) {
|
|
581
624
|
let A, D = C.exec(t7.substring(o));
|
|
@@ -584,25 +627,25 @@ function ta(t7) {
|
|
|
584
627
|
}
|
|
585
628
|
let l = [];
|
|
586
629
|
for (; ; ) {
|
|
587
|
-
if (p(
|
|
630
|
+
if (p(fa), o >= e) {
|
|
588
631
|
if (l.length === 0)
|
|
589
632
|
throw new Error("Must contain one or more image candidate strings.");
|
|
590
633
|
return l;
|
|
591
634
|
}
|
|
592
|
-
u = o, r = p(
|
|
635
|
+
u = o, r = p(da), n = [], r.slice(-1) === "," ? (r = r.replace(ga, ""), f()) : m();
|
|
593
636
|
}
|
|
594
|
-
function
|
|
595
|
-
for (p(
|
|
637
|
+
function m() {
|
|
638
|
+
for (p(ma), s = "", i = "in descriptor"; ; ) {
|
|
596
639
|
if (a = t7.charAt(o), i === "in descriptor")
|
|
597
|
-
if (
|
|
640
|
+
if (ss(a))
|
|
598
641
|
s && (n.push(s), s = "", i = "after descriptor");
|
|
599
642
|
else if (a === ",") {
|
|
600
|
-
o += 1, s && n.push(s),
|
|
643
|
+
o += 1, s && n.push(s), f();
|
|
601
644
|
return;
|
|
602
645
|
} else if (a === "(")
|
|
603
646
|
s += a, i = "in parens";
|
|
604
647
|
else if (a === "") {
|
|
605
|
-
s && n.push(s),
|
|
648
|
+
s && n.push(s), f();
|
|
606
649
|
return;
|
|
607
650
|
} else
|
|
608
651
|
s += a;
|
|
@@ -610,76 +653,76 @@ function ta(t7) {
|
|
|
610
653
|
if (a === ")")
|
|
611
654
|
s += a, i = "in descriptor";
|
|
612
655
|
else if (a === "") {
|
|
613
|
-
n.push(s),
|
|
656
|
+
n.push(s), f();
|
|
614
657
|
return;
|
|
615
658
|
} else
|
|
616
659
|
s += a;
|
|
617
|
-
else if (i === "after descriptor" && !
|
|
660
|
+
else if (i === "after descriptor" && !ss(a))
|
|
618
661
|
if (a === "") {
|
|
619
|
-
|
|
662
|
+
f();
|
|
620
663
|
return;
|
|
621
664
|
} else
|
|
622
665
|
i = "in descriptor", o -= 1;
|
|
623
666
|
o += 1;
|
|
624
667
|
}
|
|
625
668
|
}
|
|
626
|
-
function
|
|
669
|
+
function f() {
|
|
627
670
|
let C = false, A, D, I, F, c = {}, g, y, q, x, U;
|
|
628
671
|
for (F = 0; F < n.length; F++)
|
|
629
|
-
g = n[F], y = g[g.length - 1], q = g.substring(0, g.length - 1), x = parseInt(q, 10), U = parseFloat(q),
|
|
672
|
+
g = n[F], y = g[g.length - 1], q = g.substring(0, g.length - 1), x = parseInt(q, 10), U = parseFloat(q), is.test(q) && y === "w" ? ((A || D) && (C = true), x === 0 ? C = true : A = x) : Ca.test(q) && y === "x" ? ((A || D || I) && (C = true), U < 0 ? C = true : D = U) : is.test(q) && y === "h" ? ((I || D) && (C = true), x === 0 ? C = true : I = x) : C = true;
|
|
630
673
|
if (!C)
|
|
631
674
|
c.source = { value: r, startOffset: u }, A && (c.width = { value: A }), D && (c.density = { value: D }), I && (c.height = { value: I }), l.push(c);
|
|
632
675
|
else
|
|
633
676
|
throw new Error(`Invalid srcset descriptor found in "${t7}" at "${g}".`);
|
|
634
677
|
}
|
|
635
678
|
}
|
|
636
|
-
var
|
|
637
|
-
function
|
|
679
|
+
var as = Sa;
|
|
680
|
+
function _a(t7) {
|
|
638
681
|
if (t7.node.fullName === "srcset" && (t7.parent.fullName === "img" || t7.parent.fullName === "source"))
|
|
639
|
-
return () =>
|
|
682
|
+
return () => Aa(P(t7.node));
|
|
640
683
|
}
|
|
641
|
-
var
|
|
642
|
-
function
|
|
643
|
-
let e =
|
|
684
|
+
var os = { width: "w", height: "h", density: "x" }, Ea = Object.keys(os);
|
|
685
|
+
function Aa(t7) {
|
|
686
|
+
let e = as(t7), r = Ea.filter((l) => e.some((m) => Object.prototype.hasOwnProperty.call(m, l)));
|
|
644
687
|
if (r.length > 1)
|
|
645
688
|
throw new Error("Mixed descriptor in srcset is not supported");
|
|
646
|
-
let [n] = r, s =
|
|
647
|
-
let
|
|
648
|
-
return
|
|
689
|
+
let [n] = r, s = os[n], i = e.map((l) => l.source.value), a = Math.max(...i.map((l) => l.length)), o = e.map((l) => l[n] ? String(l[n].value) : ""), u = o.map((l) => {
|
|
690
|
+
let m = l.indexOf(".");
|
|
691
|
+
return m === -1 ? l.length : m;
|
|
649
692
|
}), p = Math.max(...u);
|
|
650
|
-
return he(H([",", _], i.map((l,
|
|
651
|
-
let
|
|
693
|
+
return he(H([",", _], i.map((l, m) => {
|
|
694
|
+
let f = [l], C = o[m];
|
|
652
695
|
if (C) {
|
|
653
|
-
let A = a - l.length + 1, D = p - u[
|
|
654
|
-
|
|
696
|
+
let A = a - l.length + 1, D = p - u[m], I = " ".repeat(A + D);
|
|
697
|
+
f.push(pe(I, " "), C + s);
|
|
655
698
|
}
|
|
656
|
-
return
|
|
699
|
+
return f;
|
|
657
700
|
})));
|
|
658
701
|
}
|
|
659
|
-
var
|
|
660
|
-
function
|
|
661
|
-
let { node: r } = t7, n =
|
|
702
|
+
var us = _a;
|
|
703
|
+
function ls(t7, e) {
|
|
704
|
+
let { node: r } = t7, n = P(t7.node).trim();
|
|
662
705
|
if (r.fullName === "style" && !e.parentParser && !n.includes("{{"))
|
|
663
706
|
return async (s) => he(await s(n, { parser: "css", __isHTMLStyleAttribute: true }));
|
|
664
707
|
}
|
|
665
|
-
var
|
|
666
|
-
function
|
|
708
|
+
var xr = /* @__PURE__ */ new WeakMap();
|
|
709
|
+
function Da(t7, e) {
|
|
667
710
|
let { root: r } = t7;
|
|
668
|
-
return
|
|
711
|
+
return xr.has(r) || xr.set(r, r.children.some((n) => Bt(n, e) && ["ts", "typescript"].includes(n.attrMap.lang))), xr.get(r);
|
|
669
712
|
}
|
|
670
|
-
var
|
|
671
|
-
function
|
|
672
|
-
let { node: n } = r, s =
|
|
673
|
-
return T(`type T<${s}> = any`, t7, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: true },
|
|
713
|
+
var Ie = Da;
|
|
714
|
+
function cs(t7, e, r) {
|
|
715
|
+
let { node: n } = r, s = P(n);
|
|
716
|
+
return T(`type T<${s}> = any`, t7, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: true }, X);
|
|
674
717
|
}
|
|
675
|
-
function
|
|
718
|
+
function ps(t7, e, { parseWithTs: r }) {
|
|
676
719
|
return T(`function _(${t7}) {}`, e, { parser: r ? "babel-ts" : "babel", __isVueBindings: true });
|
|
677
720
|
}
|
|
678
|
-
async function
|
|
679
|
-
let s =
|
|
721
|
+
async function hs(t7, e, r, n) {
|
|
722
|
+
let s = P(r.node), { left: i, operator: a, right: o } = va(s), u = Ie(r, n);
|
|
680
723
|
return [E(await T(`function _(${i}) {}`, t7, { parser: u ? "babel-ts" : "babel", __isVueForBindingLeft: true })), " ", a, " ", await T(o, t7, { parser: u ? "__ts_expression" : "__js_expression" })];
|
|
681
724
|
}
|
|
682
|
-
function
|
|
725
|
+
function va(t7) {
|
|
683
726
|
let e = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, s = t7.match(e);
|
|
684
727
|
if (!s)
|
|
685
728
|
return;
|
|
@@ -692,90 +735,86 @@ function aa(t7) {
|
|
|
692
735
|
if (!u.some((p, l) => !p && (l === 0 || u.slice(l + 1).some(Boolean))))
|
|
693
736
|
return { left: u.filter(Boolean).join(","), operator: s[2], right: i.for };
|
|
694
737
|
}
|
|
695
|
-
function
|
|
738
|
+
function ya(t7, e) {
|
|
696
739
|
if (e.parser !== "vue")
|
|
697
740
|
return;
|
|
698
741
|
let { node: r } = t7, n = r.fullName;
|
|
699
742
|
if (n === "v-for")
|
|
700
|
-
return
|
|
701
|
-
if (n === "generic" &&
|
|
702
|
-
return
|
|
703
|
-
let s =
|
|
704
|
-
if (
|
|
705
|
-
return (a) =>
|
|
743
|
+
return hs;
|
|
744
|
+
if (n === "generic" && Bt(r.parent, e))
|
|
745
|
+
return cs;
|
|
746
|
+
let s = P(r), i = Ie(t7, e);
|
|
747
|
+
if (Zn(r) || es(r, e))
|
|
748
|
+
return (a) => ps(s, a, { parseWithTs: i });
|
|
706
749
|
if (n.startsWith("@") || n.startsWith("v-on:"))
|
|
707
|
-
return (a) =>
|
|
750
|
+
return (a) => wa(s, a, { parseWithTs: i });
|
|
708
751
|
if (n.startsWith(":") || n.startsWith(".") || n.startsWith("v-bind:"))
|
|
709
|
-
return (a) =>
|
|
752
|
+
return (a) => ba(s, a, { parseWithTs: i });
|
|
710
753
|
if (n.startsWith("v-"))
|
|
711
|
-
return (a) =>
|
|
754
|
+
return (a) => ms(s, a, { parseWithTs: i });
|
|
712
755
|
}
|
|
713
|
-
async function
|
|
756
|
+
async function wa(t7, e, { parseWithTs: r }) {
|
|
714
757
|
var n;
|
|
715
758
|
try {
|
|
716
|
-
return await
|
|
759
|
+
return await ms(t7, e, { parseWithTs: r });
|
|
717
760
|
} catch (s) {
|
|
718
761
|
if (((n = s.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR")
|
|
719
762
|
throw s;
|
|
720
763
|
}
|
|
721
|
-
return T(t7, e, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" },
|
|
764
|
+
return T(t7, e, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" }, X);
|
|
722
765
|
}
|
|
723
|
-
function
|
|
724
|
-
return T(t7, e, { parser: r ? "__vue_ts_expression" : "__vue_expression" },
|
|
766
|
+
function ba(t7, e, { parseWithTs: r }) {
|
|
767
|
+
return T(t7, e, { parser: r ? "__vue_ts_expression" : "__vue_expression" }, X);
|
|
725
768
|
}
|
|
726
|
-
function
|
|
727
|
-
return T(t7, e, { parser: r ? "__ts_expression" : "__js_expression" },
|
|
769
|
+
function ms(t7, e, { parseWithTs: r }) {
|
|
770
|
+
return T(t7, e, { parser: r ? "__ts_expression" : "__js_expression" }, X);
|
|
728
771
|
}
|
|
729
|
-
var
|
|
730
|
-
function
|
|
772
|
+
var fs = ya;
|
|
773
|
+
function Ta(t7, e) {
|
|
731
774
|
let { node: r } = t7;
|
|
732
775
|
if (r.value) {
|
|
733
776
|
if (/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(e.originalText.slice(r.valueSpan.start.offset, r.valueSpan.end.offset)) || e.parser === "lwc" && r.value.startsWith("{") && r.value.endsWith("}"))
|
|
734
777
|
return [r.rawName, "=", r.value];
|
|
735
|
-
for (let n of [
|
|
778
|
+
for (let n of [us, ls, ns, fs, rs]) {
|
|
736
779
|
let s = n(t7, e);
|
|
737
780
|
if (s)
|
|
738
|
-
return
|
|
781
|
+
return xa(s);
|
|
739
782
|
}
|
|
740
783
|
}
|
|
741
784
|
}
|
|
742
|
-
function
|
|
785
|
+
function xa(t7) {
|
|
743
786
|
return async (e, r, n, s) => {
|
|
744
787
|
let i = await t7(e, r, n, s);
|
|
745
788
|
if (i)
|
|
746
789
|
return i = hr(i, (a) => typeof a == "string" ? w(false, a, '"', """) : a), [n.node.rawName, '="', E(i), '"'];
|
|
747
790
|
};
|
|
748
791
|
}
|
|
749
|
-
var
|
|
750
|
-
var
|
|
751
|
-
}, { get: () =>
|
|
752
|
-
function ha(t7) {
|
|
753
|
-
return Array.isArray(t7) && t7.length > 0;
|
|
754
|
-
}
|
|
755
|
-
var Ie = ha;
|
|
792
|
+
var ds = Ta;
|
|
793
|
+
var ka = new Proxy(() => {
|
|
794
|
+
}, { get: () => ka });
|
|
756
795
|
function J(t7) {
|
|
757
796
|
return t7.sourceSpan.start.offset;
|
|
758
797
|
}
|
|
759
|
-
function
|
|
798
|
+
function se(t7) {
|
|
760
799
|
return t7.sourceSpan.end.offset;
|
|
761
800
|
}
|
|
762
801
|
function tt(t7, e) {
|
|
763
|
-
return [t7.isSelfClosing ? "" :
|
|
802
|
+
return [t7.isSelfClosing ? "" : Ba(t7, e), Se(t7, e)];
|
|
764
803
|
}
|
|
765
|
-
function
|
|
766
|
-
return t7.lastChild &&
|
|
804
|
+
function Ba(t7, e) {
|
|
805
|
+
return t7.lastChild && Ae(t7.lastChild) ? "" : [La(t7, e), Lt(t7, e)];
|
|
767
806
|
}
|
|
768
|
-
function
|
|
769
|
-
return (t7.next ?
|
|
807
|
+
function Se(t7, e) {
|
|
808
|
+
return (t7.next ? Q(t7.next) : Ee(t7.parent)) ? "" : [_e(t7, e), G(t7, e)];
|
|
770
809
|
}
|
|
771
|
-
function
|
|
772
|
-
return
|
|
810
|
+
function La(t7, e) {
|
|
811
|
+
return Ee(t7) ? _e(t7.lastChild, e) : "";
|
|
773
812
|
}
|
|
774
|
-
function
|
|
775
|
-
return
|
|
813
|
+
function G(t7, e) {
|
|
814
|
+
return Ae(t7) ? Lt(t7.parent, e) : rt(t7) ? Ft(t7.next, e) : "";
|
|
776
815
|
}
|
|
777
|
-
function
|
|
778
|
-
if (
|
|
816
|
+
function Lt(t7, e) {
|
|
817
|
+
if (Cs(t7, e))
|
|
779
818
|
return "";
|
|
780
819
|
switch (t7.type) {
|
|
781
820
|
case "ieConditionalComment":
|
|
@@ -787,8 +826,8 @@ function Bt(t7, e) {
|
|
|
787
826
|
return `</${t7.rawName}`;
|
|
788
827
|
}
|
|
789
828
|
}
|
|
790
|
-
function
|
|
791
|
-
if (
|
|
829
|
+
function _e(t7, e) {
|
|
830
|
+
if (Cs(t7, e))
|
|
792
831
|
return "";
|
|
793
832
|
switch (t7.type) {
|
|
794
833
|
case "ieConditionalComment":
|
|
@@ -807,52 +846,52 @@ function Se(t7, e) {
|
|
|
807
846
|
return ">";
|
|
808
847
|
}
|
|
809
848
|
}
|
|
810
|
-
function
|
|
811
|
-
return !t7.isSelfClosing && !t7.endSourceSpan && (
|
|
849
|
+
function Cs(t7, e) {
|
|
850
|
+
return !t7.isSelfClosing && !t7.endSourceSpan && (ge(t7) || wt(t7.parent, e));
|
|
812
851
|
}
|
|
813
|
-
function
|
|
852
|
+
function Q(t7) {
|
|
814
853
|
return t7.prev && t7.prev.type !== "docType" && t7.type !== "angularControlFlowBlock" && !$(t7.prev) && t7.isLeadingSpaceSensitive && !t7.hasLeadingSpaces;
|
|
815
854
|
}
|
|
816
|
-
function
|
|
855
|
+
function Ee(t7) {
|
|
817
856
|
var e;
|
|
818
|
-
return ((e = t7.lastChild) == null ? void 0 : e.isTrailingSpaceSensitive) && !t7.lastChild.hasTrailingSpaces && !$(
|
|
857
|
+
return ((e = t7.lastChild) == null ? void 0 : e.isTrailingSpaceSensitive) && !t7.lastChild.hasTrailingSpaces && !$(Tt(t7.lastChild)) && !de(t7);
|
|
819
858
|
}
|
|
820
|
-
function
|
|
821
|
-
return !t7.next && !t7.hasTrailingSpaces && t7.isTrailingSpaceSensitive && $(
|
|
859
|
+
function Ae(t7) {
|
|
860
|
+
return !t7.next && !t7.hasTrailingSpaces && t7.isTrailingSpaceSensitive && $(Tt(t7));
|
|
822
861
|
}
|
|
823
862
|
function rt(t7) {
|
|
824
863
|
return t7.next && !$(t7.next) && $(t7) && t7.isTrailingSpaceSensitive && !t7.hasTrailingSpaces;
|
|
825
864
|
}
|
|
826
|
-
function
|
|
865
|
+
function Fa(t7) {
|
|
827
866
|
let e = t7.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
|
|
828
867
|
return e ? e[1] ? e[1].split(/\s+/u) : true : false;
|
|
829
868
|
}
|
|
830
869
|
function nt(t7) {
|
|
831
870
|
return !t7.prev && t7.isLeadingSpaceSensitive && !t7.hasLeadingSpaces;
|
|
832
871
|
}
|
|
833
|
-
function
|
|
834
|
-
var
|
|
872
|
+
function Pa(t7, e, r) {
|
|
873
|
+
var m;
|
|
835
874
|
let { node: n } = t7;
|
|
836
|
-
if (!
|
|
875
|
+
if (!me(n.attrs))
|
|
837
876
|
return n.isSelfClosing ? " " : "";
|
|
838
|
-
let s = ((
|
|
839
|
-
return n.firstChild && nt(n.firstChild) || n.isSelfClosing &&
|
|
877
|
+
let s = ((m = n.prev) == null ? void 0 : m.type) === "comment" && Fa(n.prev.value), i = typeof s == "boolean" ? () => s : Array.isArray(s) ? (f) => s.includes(f.rawName) : () => false, a = t7.map(({ node: f }) => i(f) ? B(e.originalText.slice(J(f), se(f))) : r(), "attrs"), o = n.type === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, p = e.singleAttributePerLine && n.attrs.length > 1 && !Ce(n, e) ? S : _, l = [k([o ? " " : _, H(p, a)])];
|
|
878
|
+
return n.firstChild && nt(n.firstChild) || n.isSelfClosing && Ee(n.parent) || o ? l.push(n.isSelfClosing ? " " : "") : l.push(e.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? _ : v), l;
|
|
840
879
|
}
|
|
841
|
-
function
|
|
842
|
-
return t7.firstChild && nt(t7.firstChild) ? "" :
|
|
880
|
+
function Na(t7) {
|
|
881
|
+
return t7.firstChild && nt(t7.firstChild) ? "" : Pt(t7);
|
|
843
882
|
}
|
|
844
883
|
function st(t7, e, r) {
|
|
845
884
|
let { node: n } = t7;
|
|
846
|
-
return [
|
|
885
|
+
return [De(n, e), Pa(t7, e, r), n.isSelfClosing ? "" : Na(n)];
|
|
847
886
|
}
|
|
848
|
-
function
|
|
849
|
-
return t7.prev && rt(t7.prev) ? "" : [
|
|
887
|
+
function De(t7, e) {
|
|
888
|
+
return t7.prev && rt(t7.prev) ? "" : [z(t7, e), Ft(t7, e)];
|
|
850
889
|
}
|
|
851
|
-
function
|
|
852
|
-
return nt(t7) ?
|
|
890
|
+
function z(t7, e) {
|
|
891
|
+
return nt(t7) ? Pt(t7.parent) : Q(t7) ? _e(t7.prev, e) : "";
|
|
853
892
|
}
|
|
854
|
-
var
|
|
855
|
-
function
|
|
893
|
+
var gs = "<!doctype";
|
|
894
|
+
function Ft(t7, e) {
|
|
856
895
|
switch (t7.type) {
|
|
857
896
|
case "ieConditionalComment":
|
|
858
897
|
case "ieConditionalStartComment":
|
|
@@ -863,11 +902,12 @@ function Lt(t7, e) {
|
|
|
863
902
|
return "{{";
|
|
864
903
|
case "docType": {
|
|
865
904
|
if (t7.value === "html") {
|
|
866
|
-
let n = e
|
|
867
|
-
if (/\.html?$/u.test(n))
|
|
868
|
-
return
|
|
905
|
+
let { filepath: n } = e;
|
|
906
|
+
if (n && /\.html?$/u.test(n))
|
|
907
|
+
return gs;
|
|
869
908
|
}
|
|
870
|
-
|
|
909
|
+
let r = J(t7);
|
|
910
|
+
return e.originalText.slice(r, r + gs.length);
|
|
871
911
|
}
|
|
872
912
|
case "angularIcuExpression":
|
|
873
913
|
return "{";
|
|
@@ -878,8 +918,8 @@ function Lt(t7, e) {
|
|
|
878
918
|
return `<${t7.rawName}`;
|
|
879
919
|
}
|
|
880
920
|
}
|
|
881
|
-
function
|
|
882
|
-
switch (
|
|
921
|
+
function Pt(t7) {
|
|
922
|
+
switch (t7.type) {
|
|
883
923
|
case "ieConditionalComment":
|
|
884
924
|
return "]>";
|
|
885
925
|
case "element":
|
|
@@ -889,59 +929,59 @@ function Ft(t7) {
|
|
|
889
929
|
return ">";
|
|
890
930
|
}
|
|
891
931
|
}
|
|
892
|
-
function
|
|
932
|
+
function Ia(t7, e) {
|
|
893
933
|
if (!t7.endSourceSpan)
|
|
894
934
|
return "";
|
|
895
935
|
let r = t7.startSourceSpan.end.offset;
|
|
896
|
-
t7.firstChild && nt(t7.firstChild) && (r -=
|
|
936
|
+
t7.firstChild && nt(t7.firstChild) && (r -= Pt(t7).length);
|
|
897
937
|
let n = t7.endSourceSpan.start.offset;
|
|
898
|
-
return t7.lastChild &&
|
|
938
|
+
return t7.lastChild && Ae(t7.lastChild) ? n += Lt(t7, e).length : Ee(t7) && (n -= _e(t7.lastChild, e).length), e.originalText.slice(r, n);
|
|
899
939
|
}
|
|
900
|
-
var Nt =
|
|
901
|
-
var
|
|
902
|
-
function
|
|
940
|
+
var Nt = Ia;
|
|
941
|
+
var Ra = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
|
|
942
|
+
function $a(t7, e) {
|
|
903
943
|
let { node: r } = t7;
|
|
904
944
|
switch (r.type) {
|
|
905
945
|
case "element":
|
|
906
|
-
if (W(r) || r.type === "interpolation")
|
|
946
|
+
if (W(r, e) || r.type === "interpolation")
|
|
907
947
|
return;
|
|
908
|
-
if (!r.isSelfClosing &&
|
|
909
|
-
let n =
|
|
948
|
+
if (!r.isSelfClosing && xt(r, e)) {
|
|
949
|
+
let n = vr(r, e);
|
|
910
950
|
return n ? async (s, i) => {
|
|
911
951
|
let a = Nt(r, e), o = /^\s*$/u.test(a), u = "";
|
|
912
|
-
return o || (u = await s(
|
|
952
|
+
return o || (u = await s(Er(a), { parser: n, __embeddedInHtml: true }), o = u === ""), [z(r, e), E(st(t7, e, i)), o ? "" : S, u, o ? "" : S, tt(r, e), G(r, e)];
|
|
913
953
|
} : void 0;
|
|
914
954
|
}
|
|
915
955
|
break;
|
|
916
956
|
case "text":
|
|
917
|
-
if (W(r.parent)) {
|
|
918
|
-
let n =
|
|
957
|
+
if (W(r.parent, e)) {
|
|
958
|
+
let n = vr(r.parent, e);
|
|
919
959
|
if (n)
|
|
920
960
|
return async (s) => {
|
|
921
|
-
let i = n === "markdown" ?
|
|
961
|
+
let i = n === "markdown" ? yr(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, a = { parser: n, __embeddedInHtml: true };
|
|
922
962
|
if (e.parser === "html" && n === "babel") {
|
|
923
963
|
let o = "script", { attrMap: u } = r.parent;
|
|
924
|
-
u && (u.type === "module" || u.type === "text/babel" && u["data-type"] === "module") && (o = "module"), a.__babelSourceType = o;
|
|
964
|
+
u && (u.type === "module" || (u.type === "text/babel" || u.type === "text/jsx") && u["data-type"] === "module") && (o = "module"), a.__babelSourceType = o;
|
|
925
965
|
}
|
|
926
|
-
return [
|
|
966
|
+
return [ne, z(r, e), await s(i, a), G(r, e)];
|
|
927
967
|
};
|
|
928
968
|
} else if (r.parent.type === "interpolation")
|
|
929
969
|
return async (n) => {
|
|
930
970
|
let s = { __isInHtmlInterpolation: true, __embeddedInHtml: true };
|
|
931
|
-
return e.parser === "angular" ? s.parser = "__ng_interpolation" : e.parser === "vue" ? s.parser =
|
|
971
|
+
return e.parser === "angular" ? s.parser = "__ng_interpolation" : e.parser === "vue" ? s.parser = Ie(t7, e) ? "__vue_ts_expression" : "__vue_expression" : s.parser = "__js_expression", [k([_, await n(r.value, s)]), r.parent.next && Q(r.parent.next) ? " " : _];
|
|
932
972
|
};
|
|
933
973
|
break;
|
|
934
974
|
case "attribute":
|
|
935
|
-
return
|
|
975
|
+
return ds(t7, e);
|
|
936
976
|
case "front-matter":
|
|
937
|
-
return (n) =>
|
|
977
|
+
return (n) => yn(r, n);
|
|
938
978
|
case "angularControlFlowBlockParameters":
|
|
939
|
-
return
|
|
979
|
+
return Ra.has(t7.parent.name) ? wn : void 0;
|
|
940
980
|
case "angularLetDeclarationInitializer":
|
|
941
981
|
return (n) => T(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: false });
|
|
942
982
|
}
|
|
943
983
|
}
|
|
944
|
-
var
|
|
984
|
+
var Ss = $a;
|
|
945
985
|
var it = null;
|
|
946
986
|
function at(t7) {
|
|
947
987
|
if (it !== null && typeof it.property) {
|
|
@@ -950,14 +990,14 @@ function at(t7) {
|
|
|
950
990
|
}
|
|
951
991
|
return it = at.prototype = t7 ?? /* @__PURE__ */ Object.create(null), new at();
|
|
952
992
|
}
|
|
953
|
-
var
|
|
954
|
-
for (let t7 = 0; t7 <=
|
|
993
|
+
var Oa = 10;
|
|
994
|
+
for (let t7 = 0; t7 <= Oa; t7++)
|
|
955
995
|
at();
|
|
956
|
-
function
|
|
996
|
+
function kr(t7) {
|
|
957
997
|
return at(t7);
|
|
958
998
|
}
|
|
959
|
-
function
|
|
960
|
-
|
|
999
|
+
function Ma(t7, e = "type") {
|
|
1000
|
+
kr(t7);
|
|
961
1001
|
function r(n) {
|
|
962
1002
|
let s = n[e], i = t7[s];
|
|
963
1003
|
if (!Array.isArray(i))
|
|
@@ -966,38 +1006,43 @@ function Da(t7, e = "type") {
|
|
|
966
1006
|
}
|
|
967
1007
|
return r;
|
|
968
1008
|
}
|
|
969
|
-
var
|
|
970
|
-
var
|
|
971
|
-
var
|
|
972
|
-
|
|
973
|
-
|
|
1009
|
+
var _s = Ma;
|
|
1010
|
+
var qa = { "front-matter": [], root: ["children"], element: ["attrs", "children"], ieConditionalComment: ["children"], ieConditionalStartComment: [], ieConditionalEndComment: [], interpolation: ["children"], text: ["children"], docType: [], comment: [], attribute: [], cdata: [], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: ["children"], angularControlFlowBlockParameter: [], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: [], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, Es = qa;
|
|
1011
|
+
var Ha = _s(Es), As = Ha;
|
|
1012
|
+
var Ds = "format";
|
|
1013
|
+
var vs = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, ys = /^\s*<!--\s*@(?:format|prettier)\s*-->/u;
|
|
1014
|
+
function ws(t7) {
|
|
1015
|
+
return ys.test(t7);
|
|
1016
|
+
}
|
|
1017
|
+
function bs(t7) {
|
|
1018
|
+
return vs.test(t7);
|
|
974
1019
|
}
|
|
975
|
-
function
|
|
976
|
-
return `<!--
|
|
1020
|
+
function Ts(t7) {
|
|
1021
|
+
return `<!-- @${Ds} -->
|
|
977
1022
|
|
|
978
|
-
|
|
1023
|
+
${t7}`;
|
|
979
1024
|
}
|
|
980
|
-
var
|
|
981
|
-
function
|
|
982
|
-
let e =
|
|
983
|
-
return t7.type === "element" && !t7.endSourceSpan &&
|
|
1025
|
+
var xs = /* @__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"])]]);
|
|
1026
|
+
function ks(t7) {
|
|
1027
|
+
let e = se(t7);
|
|
1028
|
+
return t7.type === "element" && !t7.endSourceSpan && me(t7.children) ? Math.max(e, ks(K(false, t7.children, -1))) : e;
|
|
984
1029
|
}
|
|
985
1030
|
function ot(t7, e, r) {
|
|
986
1031
|
let n = t7.node;
|
|
987
|
-
if (
|
|
988
|
-
let s =
|
|
989
|
-
return [
|
|
1032
|
+
if (ge(n)) {
|
|
1033
|
+
let s = ks(n);
|
|
1034
|
+
return [z(n, e), B(O.trimEnd(e.originalText.slice(J(n) + (n.prev && rt(n.prev) ? Ft(n).length : 0), s - (n.next && Q(n.next) ? _e(n, e).length : 0)))), G(n, e)];
|
|
990
1035
|
}
|
|
991
1036
|
return r();
|
|
992
1037
|
}
|
|
993
|
-
function
|
|
994
|
-
return $(t7) && $(e) ? t7.isTrailingSpaceSensitive ? t7.hasTrailingSpaces ?
|
|
1038
|
+
function It(t7, e) {
|
|
1039
|
+
return $(t7) && $(e) ? t7.isTrailingSpaceSensitive ? t7.hasTrailingSpaces ? bt(e) ? S : _ : "" : bt(e) ? S : v : rt(t7) && (ge(e) || e.firstChild || e.isSelfClosing || e.type === "element" && e.attrs.length > 0) || t7.type === "element" && t7.isSelfClosing && Q(e) ? "" : !e.isLeadingSpaceSensitive || bt(e) || Q(e) && t7.lastChild && Ae(t7.lastChild) && t7.lastChild.lastChild && Ae(t7.lastChild.lastChild) ? S : e.hasLeadingSpaces ? _ : v;
|
|
995
1040
|
}
|
|
996
1041
|
function Re(t7, e, r) {
|
|
997
1042
|
let { node: n } = t7;
|
|
998
|
-
if (
|
|
999
|
-
return [
|
|
1000
|
-
let a = i.node, o = a.prev ?
|
|
1043
|
+
if (Dr(n))
|
|
1044
|
+
return [ne, ...t7.map((i) => {
|
|
1045
|
+
let a = i.node, o = a.prev ? It(a.prev, a) : "";
|
|
1001
1046
|
return [o ? [o, Je(a.prev) ? S : ""] : "", ot(i, e, r)];
|
|
1002
1047
|
}, "children")];
|
|
1003
1048
|
let s = n.children.map(() => Symbol(""));
|
|
@@ -1005,75 +1050,75 @@ function Re(t7, e, r) {
|
|
|
1005
1050
|
let o = i.node;
|
|
1006
1051
|
if ($(o)) {
|
|
1007
1052
|
if (o.prev && $(o.prev)) {
|
|
1008
|
-
let A =
|
|
1053
|
+
let A = It(o.prev, o);
|
|
1009
1054
|
if (A)
|
|
1010
1055
|
return Je(o.prev) ? [S, S, ot(i, e, r)] : [A, ot(i, e, r)];
|
|
1011
1056
|
}
|
|
1012
1057
|
return ot(i, e, r);
|
|
1013
1058
|
}
|
|
1014
|
-
let u = [], p = [], l = [],
|
|
1015
|
-
return
|
|
1059
|
+
let u = [], p = [], l = [], m = [], f = o.prev ? It(o.prev, o) : "", C = o.next ? It(o, o.next) : "";
|
|
1060
|
+
return f && (Je(o.prev) ? u.push(S, S) : f === S ? u.push(S) : $(o.prev) ? p.push(f) : p.push(pe("", v, { groupId: s[a - 1] }))), C && (Je(o) ? $(o.next) && m.push(S, S) : C === S ? $(o.next) && m.push(S) : l.push(C)), [...u, E([...p, E([ot(i, e, r), ...l], { id: s[a] })]), ...m];
|
|
1016
1061
|
}, "children");
|
|
1017
1062
|
}
|
|
1018
|
-
function
|
|
1063
|
+
function Bs(t7, e, r) {
|
|
1019
1064
|
let { node: n } = t7, s = [];
|
|
1020
|
-
|
|
1021
|
-
let i =
|
|
1065
|
+
Va(t7) && s.push("} "), s.push("@", n.name), n.parameters && s.push(" (", E(r("parameters")), ")"), s.push(" {");
|
|
1066
|
+
let i = Ls(n);
|
|
1022
1067
|
return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = true, n.lastChild.hasTrailingSpaces = true, s.push(k([S, Re(t7, e, r)])), i && s.push(S, "}")) : i && s.push("}"), E(s, { shouldBreak: true });
|
|
1023
1068
|
}
|
|
1024
|
-
function
|
|
1069
|
+
function Ls(t7) {
|
|
1025
1070
|
var e, r;
|
|
1026
|
-
return !(((e = t7.next) == null ? void 0 : e.type) === "angularControlFlowBlock" && ((r =
|
|
1071
|
+
return !(((e = t7.next) == null ? void 0 : e.type) === "angularControlFlowBlock" && ((r = xs.get(t7.name)) != null && r.has(t7.next.name)));
|
|
1027
1072
|
}
|
|
1028
|
-
function
|
|
1073
|
+
function Va(t7) {
|
|
1029
1074
|
let { previous: e } = t7;
|
|
1030
|
-
return (e == null ? void 0 : e.type) === "angularControlFlowBlock" && !
|
|
1075
|
+
return (e == null ? void 0 : e.type) === "angularControlFlowBlock" && !ge(e) && !Ls(e);
|
|
1031
1076
|
}
|
|
1032
|
-
function
|
|
1077
|
+
function Fs(t7, e, r) {
|
|
1033
1078
|
return [k([v, H([";", _], t7.map(r, "children"))]), v];
|
|
1034
1079
|
}
|
|
1035
|
-
function
|
|
1080
|
+
function Ps(t7, e, r) {
|
|
1036
1081
|
let { node: n } = t7;
|
|
1037
|
-
return [
|
|
1082
|
+
return [De(n, e), E([n.switchValue.trim(), ", ", n.clause, n.cases.length > 0 ? [",", k([_, H(_, t7.map(r, "cases"))])] : "", v]), Se(n, e)];
|
|
1038
1083
|
}
|
|
1039
|
-
function
|
|
1084
|
+
function Ns(t7, e, r) {
|
|
1040
1085
|
let { node: n } = t7;
|
|
1041
1086
|
return [n.value, " {", E([k([v, t7.map(({ node: s, isLast: i }) => {
|
|
1042
1087
|
let a = [r()];
|
|
1043
1088
|
return s.type === "text" && (s.hasLeadingSpaces && a.unshift(_), s.hasTrailingSpaces && !i && a.push(_)), a;
|
|
1044
1089
|
}, "expression")]), v]), "}"];
|
|
1045
1090
|
}
|
|
1046
|
-
function
|
|
1091
|
+
function Is(t7, e, r) {
|
|
1047
1092
|
let { node: n } = t7;
|
|
1048
|
-
if (
|
|
1049
|
-
return [
|
|
1050
|
-
let s = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), a = (l) => E([E(st(t7, e, r), { id: i }), l, tt(n, e)]), o = (l) => s ?
|
|
1051
|
-
return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([
|
|
1093
|
+
if (wt(n, e))
|
|
1094
|
+
return [z(n, e), E(st(t7, e, r)), B(Nt(n, e)), ...tt(n, e), G(n, e)];
|
|
1095
|
+
let s = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), a = (l) => E([E(st(t7, e, r), { id: i }), l, tt(n, e)]), o = (l) => s ? Cn(l, { groupId: i }) : (W(n, e) || et(n, e)) && n.parent.type === "root" && e.parser === "vue" && !e.vueIndentScriptAndStyle ? l : k(l), u = () => s ? pe(v, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? dn(v) : v, p = () => (n.next ? Q(n.next) : Ee(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : s ? pe(v, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.type === "comment" || n.lastChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${e.tabWidth * (t7.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : v;
|
|
1096
|
+
return n.children.length === 0 ? a(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : a([Gn(n) ? ne : "", o([u(), Re(t7, e, r)]), p()]);
|
|
1052
1097
|
}
|
|
1053
1098
|
function ut(t7) {
|
|
1054
1099
|
return t7 >= 9 && t7 <= 32 || t7 == 160;
|
|
1055
1100
|
}
|
|
1056
|
-
function
|
|
1101
|
+
function Rt(t7) {
|
|
1057
1102
|
return 48 <= t7 && t7 <= 57;
|
|
1058
1103
|
}
|
|
1059
1104
|
function lt(t7) {
|
|
1060
1105
|
return t7 >= 97 && t7 <= 122 || t7 >= 65 && t7 <= 90;
|
|
1061
1106
|
}
|
|
1062
|
-
function
|
|
1063
|
-
return t7 >= 97 && t7 <= 102 || t7 >= 65 && t7 <= 70 ||
|
|
1107
|
+
function Rs(t7) {
|
|
1108
|
+
return t7 >= 97 && t7 <= 102 || t7 >= 65 && t7 <= 70 || Rt(t7);
|
|
1064
1109
|
}
|
|
1065
|
-
function
|
|
1110
|
+
function $t(t7) {
|
|
1066
1111
|
return t7 === 10 || t7 === 13;
|
|
1067
1112
|
}
|
|
1068
|
-
function
|
|
1113
|
+
function Br(t7) {
|
|
1069
1114
|
return 48 <= t7 && t7 <= 55;
|
|
1070
1115
|
}
|
|
1071
|
-
function
|
|
1116
|
+
function Ot(t7) {
|
|
1072
1117
|
return t7 === 39 || t7 === 34 || t7 === 96;
|
|
1073
1118
|
}
|
|
1074
|
-
var
|
|
1075
|
-
function
|
|
1076
|
-
return t7.replace(
|
|
1119
|
+
var Ua = /-+([a-z0-9])/g;
|
|
1120
|
+
function Os(t7) {
|
|
1121
|
+
return t7.replace(Ua, (...e) => e[1].toUpperCase());
|
|
1077
1122
|
}
|
|
1078
1123
|
var ie = class t {
|
|
1079
1124
|
constructor(e, r, n, s) {
|
|
@@ -1112,7 +1157,7 @@ var ie = class t {
|
|
|
1112
1157
|
}
|
|
1113
1158
|
return null;
|
|
1114
1159
|
}
|
|
1115
|
-
},
|
|
1160
|
+
}, ve = class {
|
|
1116
1161
|
constructor(e, r) {
|
|
1117
1162
|
this.content = e, this.url = r;
|
|
1118
1163
|
}
|
|
@@ -1123,30 +1168,30 @@ var ie = class t {
|
|
|
1123
1168
|
toString() {
|
|
1124
1169
|
return this.start.file.content.substring(this.start.offset, this.end.offset);
|
|
1125
1170
|
}
|
|
1126
|
-
},
|
|
1171
|
+
}, Mt;
|
|
1127
1172
|
(function(t7) {
|
|
1128
1173
|
t7[t7.WARNING = 0] = "WARNING", t7[t7.ERROR = 1] = "ERROR";
|
|
1129
|
-
})(
|
|
1174
|
+
})(Mt || (Mt = {}));
|
|
1130
1175
|
var Oe = class {
|
|
1131
|
-
constructor(e, r, n =
|
|
1132
|
-
this.span = e, this.msg = r, this.level = n;
|
|
1176
|
+
constructor(e, r, n = Mt.ERROR, s) {
|
|
1177
|
+
this.span = e, this.msg = r, this.level = n, this.relatedError = s;
|
|
1133
1178
|
}
|
|
1134
1179
|
contextualMessage() {
|
|
1135
1180
|
let e = this.span.start.getContext(100, 3);
|
|
1136
|
-
return e ? `${this.msg} ("${e.before}[${
|
|
1181
|
+
return e ? `${this.msg} ("${e.before}[${Mt[this.level]} ->]${e.after}")` : this.msg;
|
|
1137
1182
|
}
|
|
1138
1183
|
toString() {
|
|
1139
1184
|
let e = this.span.details ? `, ${this.span.details}` : "";
|
|
1140
1185
|
return `${this.contextualMessage()}: ${this.span.start}${e}`;
|
|
1141
1186
|
}
|
|
1142
1187
|
};
|
|
1143
|
-
var
|
|
1144
|
-
function
|
|
1145
|
-
for (let r of
|
|
1188
|
+
var Wa = [za, Ya, Ka, Qa, Ja, to, Za, eo, ro, Xa];
|
|
1189
|
+
function Ga(t7, e) {
|
|
1190
|
+
for (let r of Wa)
|
|
1146
1191
|
r(t7, e);
|
|
1147
1192
|
return t7;
|
|
1148
1193
|
}
|
|
1149
|
-
function
|
|
1194
|
+
function za(t7) {
|
|
1150
1195
|
t7.walk((e) => {
|
|
1151
1196
|
if (e.type === "element" && e.tagDefinition.ignoreFirstLf && e.children.length > 0 && e.children[0].type === "text" && e.children[0].value[0] === `
|
|
1152
1197
|
`) {
|
|
@@ -1155,7 +1200,7 @@ function ka(t7) {
|
|
|
1155
1200
|
}
|
|
1156
1201
|
});
|
|
1157
1202
|
}
|
|
1158
|
-
function
|
|
1203
|
+
function Ya(t7) {
|
|
1159
1204
|
let e = (r) => {
|
|
1160
1205
|
var n, s;
|
|
1161
1206
|
return r.type === "element" && ((n = r.prev) == null ? void 0 : n.type) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && ((s = r.firstChild) == null ? void 0 : s.type) === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
|
|
@@ -1173,7 +1218,7 @@ function Ba(t7) {
|
|
|
1173
1218
|
}
|
|
1174
1219
|
});
|
|
1175
1220
|
}
|
|
1176
|
-
function
|
|
1221
|
+
function ja(t7, e, r) {
|
|
1177
1222
|
t7.walk((n) => {
|
|
1178
1223
|
if (n.children)
|
|
1179
1224
|
for (let s = 0; s < n.children.length; s++) {
|
|
@@ -1186,10 +1231,10 @@ function La(t7, e, r) {
|
|
|
1186
1231
|
}
|
|
1187
1232
|
});
|
|
1188
1233
|
}
|
|
1189
|
-
function
|
|
1190
|
-
return
|
|
1234
|
+
function Ka(t7) {
|
|
1235
|
+
return ja(t7, (e) => e.type === "cdata", (e) => `<![CDATA[${e.value}]]>`);
|
|
1191
1236
|
}
|
|
1192
|
-
function
|
|
1237
|
+
function Xa(t7) {
|
|
1193
1238
|
let e = (r) => {
|
|
1194
1239
|
var n, s;
|
|
1195
1240
|
return r.type === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.type === "text" && !O.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && ((n = r.prev) == null ? void 0 : n.type) === "text" && ((s = r.next) == null ? void 0 : s.type) === "text";
|
|
@@ -1205,12 +1250,12 @@ function Na(t7) {
|
|
|
1205
1250
|
}
|
|
1206
1251
|
});
|
|
1207
1252
|
}
|
|
1208
|
-
function
|
|
1253
|
+
function Qa(t7, e) {
|
|
1209
1254
|
if (e.parser === "html")
|
|
1210
1255
|
return;
|
|
1211
1256
|
let r = /\{\{(.+?)\}\}/su;
|
|
1212
1257
|
t7.walk((n) => {
|
|
1213
|
-
if (
|
|
1258
|
+
if (qn(n, e))
|
|
1214
1259
|
for (let s of n.children) {
|
|
1215
1260
|
if (s.type !== "text")
|
|
1216
1261
|
continue;
|
|
@@ -1227,52 +1272,52 @@ function Pa(t7, e) {
|
|
|
1227
1272
|
}
|
|
1228
1273
|
});
|
|
1229
1274
|
}
|
|
1230
|
-
function
|
|
1231
|
-
t7.walk((
|
|
1232
|
-
let
|
|
1233
|
-
if (!
|
|
1275
|
+
function Ja(t7, e) {
|
|
1276
|
+
t7.walk((r) => {
|
|
1277
|
+
let n = r.$children;
|
|
1278
|
+
if (!n)
|
|
1234
1279
|
return;
|
|
1235
|
-
if (
|
|
1236
|
-
|
|
1280
|
+
if (n.length === 0 || n.length === 1 && n[0].type === "text" && O.trim(n[0].value).length === 0) {
|
|
1281
|
+
r.hasDanglingSpaces = n.length > 0, r.$children = [];
|
|
1237
1282
|
return;
|
|
1238
1283
|
}
|
|
1239
|
-
let
|
|
1240
|
-
if (!
|
|
1241
|
-
for (let
|
|
1242
|
-
let
|
|
1243
|
-
if (
|
|
1284
|
+
let s = Hn(r, e), i = Ar(r);
|
|
1285
|
+
if (!s)
|
|
1286
|
+
for (let a = 0; a < n.length; a++) {
|
|
1287
|
+
let o = n[a];
|
|
1288
|
+
if (o.type !== "text")
|
|
1244
1289
|
continue;
|
|
1245
|
-
let { leadingWhitespace:
|
|
1246
|
-
|
|
1290
|
+
let { leadingWhitespace: u, text: p, trailingWhitespace: l } = Mn(o.value), m = o.prev, f = o.next;
|
|
1291
|
+
p ? (o.value = p, o.sourceSpan = new h(o.sourceSpan.start.moveBy(u.length), o.sourceSpan.end.moveBy(-l.length)), u && (m && (m.hasTrailingSpaces = true), o.hasLeadingSpaces = true), l && (o.hasTrailingSpaces = true, f && (f.hasLeadingSpaces = true))) : (r.removeChild(o), a--, (u || l) && (m && (m.hasTrailingSpaces = true), f && (f.hasLeadingSpaces = true)));
|
|
1247
1292
|
}
|
|
1248
|
-
|
|
1293
|
+
r.isWhitespaceSensitive = s, r.isIndentationSensitive = i;
|
|
1249
1294
|
});
|
|
1250
1295
|
}
|
|
1251
|
-
function
|
|
1296
|
+
function Za(t7) {
|
|
1252
1297
|
t7.walk((e) => {
|
|
1253
1298
|
e.isSelfClosing = !e.children || e.type === "element" && (e.tagDefinition.isVoid || e.endSourceSpan && e.startSourceSpan.start === e.endSourceSpan.start && e.startSourceSpan.end === e.endSourceSpan.end);
|
|
1254
1299
|
});
|
|
1255
1300
|
}
|
|
1256
|
-
function
|
|
1301
|
+
function eo(t7, e) {
|
|
1257
1302
|
t7.walk((r) => {
|
|
1258
1303
|
r.type === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(e.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
|
|
1259
1304
|
});
|
|
1260
1305
|
}
|
|
1261
|
-
function
|
|
1306
|
+
function to(t7, e) {
|
|
1262
1307
|
t7.walk((r) => {
|
|
1263
|
-
r.cssDisplay =
|
|
1308
|
+
r.cssDisplay = Qn(r, e);
|
|
1264
1309
|
});
|
|
1265
1310
|
}
|
|
1266
|
-
function
|
|
1311
|
+
function ro(t7, e) {
|
|
1267
1312
|
t7.walk((r) => {
|
|
1268
1313
|
let { children: n } = r;
|
|
1269
1314
|
if (n) {
|
|
1270
1315
|
if (n.length === 0) {
|
|
1271
|
-
r.isDanglingSpaceSensitive =
|
|
1316
|
+
r.isDanglingSpaceSensitive = Wn(r, e);
|
|
1272
1317
|
return;
|
|
1273
1318
|
}
|
|
1274
1319
|
for (let s of n)
|
|
1275
|
-
s.isLeadingSpaceSensitive =
|
|
1320
|
+
s.isLeadingSpaceSensitive = Vn(s, e), s.isTrailingSpaceSensitive = Un(s, e);
|
|
1276
1321
|
for (let s = 0; s < n.length; s++) {
|
|
1277
1322
|
let i = n[s];
|
|
1278
1323
|
i.isLeadingSpaceSensitive = (s === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (s === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
|
|
@@ -1280,8 +1325,8 @@ function Ma(t7, e) {
|
|
|
1280
1325
|
}
|
|
1281
1326
|
});
|
|
1282
1327
|
}
|
|
1283
|
-
var
|
|
1284
|
-
function
|
|
1328
|
+
var Ms = Ga;
|
|
1329
|
+
function no(t7, e, r) {
|
|
1285
1330
|
let { node: n } = t7;
|
|
1286
1331
|
switch (n.type) {
|
|
1287
1332
|
case "front-matter":
|
|
@@ -1290,11 +1335,11 @@ function qa(t7, e, r) {
|
|
|
1290
1335
|
return e.__onHtmlRoot && e.__onHtmlRoot(n), [E(Re(t7, e, r)), S];
|
|
1291
1336
|
case "element":
|
|
1292
1337
|
case "ieConditionalComment":
|
|
1293
|
-
return
|
|
1338
|
+
return Is(t7, e, r);
|
|
1294
1339
|
case "angularControlFlowBlock":
|
|
1295
|
-
return
|
|
1340
|
+
return Bs(t7, e, r);
|
|
1296
1341
|
case "angularControlFlowBlockParameters":
|
|
1297
|
-
return
|
|
1342
|
+
return Fs(t7, e, r);
|
|
1298
1343
|
case "angularControlFlowBlockParameter":
|
|
1299
1344
|
return O.trim(n.expression);
|
|
1300
1345
|
case "angularLetDeclaration":
|
|
@@ -1302,68 +1347,68 @@ function qa(t7, e, r) {
|
|
|
1302
1347
|
case "angularLetDeclarationInitializer":
|
|
1303
1348
|
return n.value;
|
|
1304
1349
|
case "angularIcuExpression":
|
|
1305
|
-
return
|
|
1350
|
+
return Ps(t7, e, r);
|
|
1306
1351
|
case "angularIcuCase":
|
|
1307
|
-
return
|
|
1352
|
+
return Ns(t7, e, r);
|
|
1308
1353
|
case "ieConditionalStartComment":
|
|
1309
1354
|
case "ieConditionalEndComment":
|
|
1310
|
-
return [
|
|
1355
|
+
return [De(n), Se(n)];
|
|
1311
1356
|
case "interpolation":
|
|
1312
|
-
return [
|
|
1357
|
+
return [De(n, e), ...t7.map(r, "children"), Se(n, e)];
|
|
1313
1358
|
case "text": {
|
|
1314
1359
|
if (n.parent.type === "interpolation") {
|
|
1315
1360
|
let o = /\n[^\S\n]*$/u, u = o.test(n.value), p = u ? n.value.replace(o, "") : n.value;
|
|
1316
1361
|
return [B(p), u ? S : ""];
|
|
1317
1362
|
}
|
|
1318
|
-
let s =
|
|
1319
|
-
return i[0] = [s, i[0]], i.push([i.pop(), a]),
|
|
1363
|
+
let s = z(n, e), i = kt(n), a = G(n, e);
|
|
1364
|
+
return i[0] = [s, i[0]], i.push([i.pop(), a]), vt(i);
|
|
1320
1365
|
}
|
|
1321
1366
|
case "docType":
|
|
1322
|
-
return [E([
|
|
1367
|
+
return [E([De(n, e), " ", w(false, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), Se(n, e)];
|
|
1323
1368
|
case "comment":
|
|
1324
|
-
return [
|
|
1369
|
+
return [z(n, e), B(e.originalText.slice(J(n), se(n))), G(n, e)];
|
|
1325
1370
|
case "attribute": {
|
|
1326
1371
|
if (n.value === null)
|
|
1327
1372
|
return n.rawName;
|
|
1328
|
-
let s =
|
|
1373
|
+
let s = wr(n.value), i = _n(s, '"');
|
|
1329
1374
|
return [n.rawName, "=", i, B(i === '"' ? w(false, s, '"', """) : w(false, s, "'", "'")), i];
|
|
1330
1375
|
}
|
|
1331
1376
|
case "cdata":
|
|
1332
1377
|
default:
|
|
1333
|
-
throw new
|
|
1378
|
+
throw new An(n, "HTML");
|
|
1334
1379
|
}
|
|
1335
1380
|
}
|
|
1336
|
-
var
|
|
1337
|
-
var
|
|
1338
|
-
var
|
|
1339
|
-
var
|
|
1340
|
-
var
|
|
1341
|
-
|
|
1342
|
-
var
|
|
1381
|
+
var so = { preprocess: Ms, print: no, insertPragma: Ts, massageAstNode: vn, embed: Ss, getVisitorKeys: As }, qs = so;
|
|
1382
|
+
var Hs = [{ name: "Angular", type: "markup", extensions: [".component.html"], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", extensions: [], tmScope: "text.html.basic", aceMode: "html", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", extensions: [".mjml"], tmScope: "text.mjml.basic", aceMode: "html", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", extensions: [".vue"], tmScope: "source.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }];
|
|
1383
|
+
var Lr = { bracketSpacing: { category: "Common", type: "boolean", default: true, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: false, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, 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." } };
|
|
1384
|
+
var Vs = "HTML", io = { bracketSameLine: Lr.bracketSameLine, htmlWhitespaceSensitivity: { category: Vs, 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: Lr.singleAttributePerLine, vueIndentScriptAndStyle: { category: Vs, type: "boolean", default: false, description: "Indent script and style tags in Vue files." } }, Us = io;
|
|
1385
|
+
var tn = {};
|
|
1386
|
+
ln(tn, { angular: () => iu, html: () => ru, lwc: () => ou, mjml: () => su, vue: () => au });
|
|
1387
|
+
var Ws;
|
|
1343
1388
|
(function(t7) {
|
|
1344
1389
|
t7[t7.Emulated = 0] = "Emulated", t7[t7.None = 2] = "None", t7[t7.ShadowDom = 3] = "ShadowDom";
|
|
1345
|
-
})(
|
|
1346
|
-
var
|
|
1390
|
+
})(Ws || (Ws = {}));
|
|
1391
|
+
var Gs;
|
|
1347
1392
|
(function(t7) {
|
|
1348
1393
|
t7[t7.OnPush = 0] = "OnPush", t7[t7.Default = 1] = "Default";
|
|
1349
|
-
})(
|
|
1350
|
-
var
|
|
1394
|
+
})(Gs || (Gs = {}));
|
|
1395
|
+
var zs;
|
|
1351
1396
|
(function(t7) {
|
|
1352
1397
|
t7[t7.None = 0] = "None", t7[t7.SignalBased = 1] = "SignalBased", t7[t7.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
|
|
1353
|
-
})(
|
|
1354
|
-
var
|
|
1355
|
-
var
|
|
1398
|
+
})(zs || (zs = {}));
|
|
1399
|
+
var Fr = { name: "custom-elements" }, Pr = { name: "no-errors-schema" };
|
|
1400
|
+
var Z;
|
|
1356
1401
|
(function(t7) {
|
|
1357
1402
|
t7[t7.NONE = 0] = "NONE", t7[t7.HTML = 1] = "HTML", t7[t7.STYLE = 2] = "STYLE", t7[t7.SCRIPT = 3] = "SCRIPT", t7[t7.URL = 4] = "URL", t7[t7.RESOURCE_URL = 5] = "RESOURCE_URL";
|
|
1358
|
-
})(
|
|
1359
|
-
var
|
|
1403
|
+
})(Z || (Z = {}));
|
|
1404
|
+
var Ys;
|
|
1360
1405
|
(function(t7) {
|
|
1361
1406
|
t7[t7.Error = 0] = "Error", t7[t7.Warning = 1] = "Warning", t7[t7.Ignore = 2] = "Ignore";
|
|
1362
|
-
})(
|
|
1363
|
-
var
|
|
1407
|
+
})(Ys || (Ys = {}));
|
|
1408
|
+
var N;
|
|
1364
1409
|
(function(t7) {
|
|
1365
1410
|
t7[t7.RAW_TEXT = 0] = "RAW_TEXT", t7[t7.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", t7[t7.PARSABLE_DATA = 2] = "PARSABLE_DATA";
|
|
1366
|
-
})(
|
|
1411
|
+
})(N || (N = {}));
|
|
1367
1412
|
function ct(t7, e = true) {
|
|
1368
1413
|
if (t7[0] != ":")
|
|
1369
1414
|
return [null, t7];
|
|
@@ -1378,7 +1423,7 @@ function ct(t7, e = true) {
|
|
|
1378
1423
|
function Nr(t7) {
|
|
1379
1424
|
return ct(t7)[1] === "ng-container";
|
|
1380
1425
|
}
|
|
1381
|
-
function
|
|
1426
|
+
function Ir(t7) {
|
|
1382
1427
|
return ct(t7)[1] === "ng-content";
|
|
1383
1428
|
}
|
|
1384
1429
|
function Me(t7) {
|
|
@@ -1387,27 +1432,27 @@ function Me(t7) {
|
|
|
1387
1432
|
function qe(t7, e) {
|
|
1388
1433
|
return t7 ? `:${t7}:${e}` : e;
|
|
1389
1434
|
}
|
|
1390
|
-
var
|
|
1391
|
-
function
|
|
1392
|
-
return
|
|
1435
|
+
var Ht;
|
|
1436
|
+
function Rr() {
|
|
1437
|
+
return Ht || (Ht = {}, qt(Z.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), qt(Z.STYLE, ["*|style"]), qt(Z.URL, ["*|formAction", "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "input|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), qt(Z.RESOURCE_URL, ["applet|code", "applet|codebase", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "object|data", "script|src"])), Ht;
|
|
1393
1438
|
}
|
|
1394
|
-
function
|
|
1439
|
+
function qt(t7, e) {
|
|
1395
1440
|
for (let r of e)
|
|
1396
|
-
|
|
1441
|
+
Ht[r.toLowerCase()] = t7;
|
|
1397
1442
|
}
|
|
1398
|
-
var
|
|
1443
|
+
var Vt = class {
|
|
1399
1444
|
};
|
|
1400
|
-
var Ua = "boolean", Wa = "number", za = "string", Ga = "object", Ya = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%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,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", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "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:|"], Is = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), ja = Array.from(Is).reduce((t7, [e, r]) => (t7.set(e, r), t7), /* @__PURE__ */ new Map()), Vt = class extends Ht {
|
|
1445
|
+
var ao = "boolean", oo = "number", uo = "string", lo = "object", co = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%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,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", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "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:|"], js = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), po = Array.from(js).reduce((t7, [e, r]) => (t7.set(e, r), t7), /* @__PURE__ */ new Map()), Ut = class extends Vt {
|
|
1401
1446
|
constructor() {
|
|
1402
|
-
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(),
|
|
1447
|
+
super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), co.forEach((e) => {
|
|
1403
1448
|
let r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), [s, i] = e.split("|"), a = i.split(","), [o, u] = s.split("^");
|
|
1404
1449
|
o.split(",").forEach((l) => {
|
|
1405
1450
|
this._schema.set(l.toLowerCase(), r), this._eventSchema.set(l.toLowerCase(), n);
|
|
1406
1451
|
});
|
|
1407
1452
|
let p = u && this._schema.get(u.toLowerCase());
|
|
1408
1453
|
if (p) {
|
|
1409
|
-
for (let [l,
|
|
1410
|
-
r.set(l,
|
|
1454
|
+
for (let [l, m] of p)
|
|
1455
|
+
r.set(l, m);
|
|
1411
1456
|
for (let l of this._eventSchema.get(u.toLowerCase()))
|
|
1412
1457
|
n.add(l);
|
|
1413
1458
|
}
|
|
@@ -1418,41 +1463,41 @@ var Ua = "boolean", Wa = "number", za = "string", Ga = "object", Ya = ["[Element
|
|
|
1418
1463
|
n.add(l.substring(1));
|
|
1419
1464
|
break;
|
|
1420
1465
|
case "!":
|
|
1421
|
-
r.set(l.substring(1),
|
|
1466
|
+
r.set(l.substring(1), ao);
|
|
1422
1467
|
break;
|
|
1423
1468
|
case "#":
|
|
1424
|
-
r.set(l.substring(1),
|
|
1469
|
+
r.set(l.substring(1), oo);
|
|
1425
1470
|
break;
|
|
1426
1471
|
case "%":
|
|
1427
|
-
r.set(l.substring(1),
|
|
1472
|
+
r.set(l.substring(1), lo);
|
|
1428
1473
|
break;
|
|
1429
1474
|
default:
|
|
1430
|
-
r.set(l,
|
|
1475
|
+
r.set(l, uo);
|
|
1431
1476
|
}
|
|
1432
1477
|
});
|
|
1433
1478
|
});
|
|
1434
1479
|
}
|
|
1435
1480
|
hasProperty(e, r, n) {
|
|
1436
|
-
if (n.some((i) => i.name ===
|
|
1481
|
+
if (n.some((i) => i.name === Pr.name))
|
|
1437
1482
|
return true;
|
|
1438
1483
|
if (e.indexOf("-") > -1) {
|
|
1439
|
-
if (Nr(e) ||
|
|
1484
|
+
if (Nr(e) || Ir(e))
|
|
1440
1485
|
return false;
|
|
1441
|
-
if (n.some((i) => i.name ===
|
|
1486
|
+
if (n.some((i) => i.name === Fr.name))
|
|
1442
1487
|
return true;
|
|
1443
1488
|
}
|
|
1444
1489
|
return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(r);
|
|
1445
1490
|
}
|
|
1446
1491
|
hasElement(e, r) {
|
|
1447
|
-
return r.some((n) => n.name ===
|
|
1492
|
+
return r.some((n) => n.name === Pr.name) || e.indexOf("-") > -1 && (Nr(e) || Ir(e) || r.some((n) => n.name === Fr.name)) ? true : this._schema.has(e.toLowerCase());
|
|
1448
1493
|
}
|
|
1449
1494
|
securityContext(e, r, n) {
|
|
1450
1495
|
n && (r = this.getMappedPropName(r)), e = e.toLowerCase(), r = r.toLowerCase();
|
|
1451
|
-
let s =
|
|
1452
|
-
return s || (s =
|
|
1496
|
+
let s = Rr()[e + "|" + r];
|
|
1497
|
+
return s || (s = Rr()["*|" + r], s || Z.NONE);
|
|
1453
1498
|
}
|
|
1454
1499
|
getMappedPropName(e) {
|
|
1455
|
-
return
|
|
1500
|
+
return js.get(e) ?? e;
|
|
1456
1501
|
}
|
|
1457
1502
|
getDefaultComponentElementName() {
|
|
1458
1503
|
return "ng-component";
|
|
@@ -1469,17 +1514,17 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1469
1514
|
}
|
|
1470
1515
|
allKnownAttributesOfElement(e) {
|
|
1471
1516
|
let r = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
|
|
1472
|
-
return Array.from(r.keys()).map((n) =>
|
|
1517
|
+
return Array.from(r.keys()).map((n) => po.get(n) ?? n);
|
|
1473
1518
|
}
|
|
1474
1519
|
allKnownEventsOfElement(e) {
|
|
1475
1520
|
return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
|
|
1476
1521
|
}
|
|
1477
1522
|
normalizeAnimationStyleProperty(e) {
|
|
1478
|
-
return
|
|
1523
|
+
return Os(e);
|
|
1479
1524
|
}
|
|
1480
1525
|
normalizeAnimationStyleValue(e, r, n) {
|
|
1481
1526
|
let s = "", i = n.toString().trim(), a = null;
|
|
1482
|
-
if (
|
|
1527
|
+
if (ho(e) && n !== 0 && n !== "0")
|
|
1483
1528
|
if (typeof n == "number")
|
|
1484
1529
|
s = "px";
|
|
1485
1530
|
else {
|
|
@@ -1489,7 +1534,7 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
|
|
|
1489
1534
|
return { error: a, value: i + s };
|
|
1490
1535
|
}
|
|
1491
1536
|
};
|
|
1492
|
-
function
|
|
1537
|
+
function ho(t7) {
|
|
1493
1538
|
switch (t7) {
|
|
1494
1539
|
case "width":
|
|
1495
1540
|
case "height":
|
|
@@ -1524,8 +1569,8 @@ function Ka(t7) {
|
|
|
1524
1569
|
return false;
|
|
1525
1570
|
}
|
|
1526
1571
|
}
|
|
1527
|
-
var
|
|
1528
|
-
constructor({ closedByChildren: e, implicitNamespacePrefix: r, contentType: n =
|
|
1572
|
+
var d = class {
|
|
1573
|
+
constructor({ closedByChildren: e, implicitNamespacePrefix: r, contentType: n = N.PARSABLE_DATA, closedByParent: s = false, isVoid: i = false, ignoreFirstLf: a = false, preventNamespaceInheritance: o = false, canSelfClose: u = false } = {}) {
|
|
1529
1574
|
this.closedByChildren = {}, this.closedByParent = false, e && e.length > 0 && e.forEach((p) => this.closedByChildren[p] = true), this.isVoid = i, this.closedByParent = s || i, this.implicitNamespacePrefix = r || null, this.contentType = n, this.ignoreFirstLf = a, this.preventNamespaceInheritance = o, this.canSelfClose = u ?? i;
|
|
1530
1575
|
}
|
|
1531
1576
|
isClosedByChild(e) {
|
|
@@ -1534,24 +1579,24 @@ var m = class {
|
|
|
1534
1579
|
getContentType(e) {
|
|
1535
1580
|
return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
|
|
1536
1581
|
}
|
|
1537
|
-
},
|
|
1582
|
+
}, Ks, pt;
|
|
1538
1583
|
function He(t7) {
|
|
1539
|
-
return pt || (
|
|
1540
|
-
!pt[e] && Me(e) === null && (pt[e] = new
|
|
1541
|
-
})), pt[t7] ??
|
|
1584
|
+
return pt || (Ks = new d({ canSelfClose: true }), pt = Object.assign(/* @__PURE__ */ Object.create(null), { base: new d({ isVoid: true }), meta: new d({ isVoid: true }), area: new d({ isVoid: true }), embed: new d({ isVoid: true }), link: new d({ isVoid: true }), img: new d({ isVoid: true }), input: new d({ isVoid: true }), param: new d({ isVoid: true }), hr: new d({ isVoid: true }), br: new d({ isVoid: true }), source: new d({ isVoid: true }), track: new d({ isVoid: true }), wbr: new d({ isVoid: true }), p: new d({ 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 d({ closedByChildren: ["tbody", "tfoot"] }), tbody: new d({ closedByChildren: ["tbody", "tfoot"], closedByParent: true }), tfoot: new d({ closedByChildren: ["tbody"], closedByParent: true }), tr: new d({ closedByChildren: ["tr"], closedByParent: true }), td: new d({ closedByChildren: ["td", "th"], closedByParent: true }), th: new d({ closedByChildren: ["td", "th"], closedByParent: true }), col: new d({ isVoid: true }), svg: new d({ implicitNamespacePrefix: "svg" }), foreignObject: new d({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: true }), math: new d({ implicitNamespacePrefix: "math" }), li: new d({ closedByChildren: ["li"], closedByParent: true }), dt: new d({ closedByChildren: ["dt", "dd"] }), dd: new d({ closedByChildren: ["dt", "dd"], closedByParent: true }), rb: new d({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rt: new d({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), rtc: new d({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: true }), rp: new d({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: true }), optgroup: new d({ closedByChildren: ["optgroup"], closedByParent: true }), option: new d({ closedByChildren: ["option", "optgroup"], closedByParent: true }), pre: new d({ ignoreFirstLf: true }), listing: new d({ ignoreFirstLf: true }), style: new d({ contentType: N.RAW_TEXT }), script: new d({ contentType: N.RAW_TEXT }), title: new d({ contentType: { default: N.ESCAPABLE_RAW_TEXT, svg: N.PARSABLE_DATA } }), textarea: new d({ contentType: N.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }) }), new Ut().allKnownElementNames().forEach((e) => {
|
|
1585
|
+
!pt[e] && Me(e) === null && (pt[e] = new d({ canSelfClose: false }));
|
|
1586
|
+
})), pt[t7] ?? Ks;
|
|
1542
1587
|
}
|
|
1543
1588
|
var ae = class {
|
|
1544
1589
|
constructor(e, r) {
|
|
1545
1590
|
this.sourceSpan = e, this.i18n = r;
|
|
1546
1591
|
}
|
|
1547
|
-
},
|
|
1592
|
+
}, Wt = class extends ae {
|
|
1548
1593
|
constructor(e, r, n, s) {
|
|
1549
1594
|
super(r, s), this.value = e, this.tokens = n, this.type = "text";
|
|
1550
1595
|
}
|
|
1551
1596
|
visit(e, r) {
|
|
1552
1597
|
return e.visitText(this, r);
|
|
1553
1598
|
}
|
|
1554
|
-
},
|
|
1599
|
+
}, Gt = class extends ae {
|
|
1555
1600
|
constructor(e, r, n, s) {
|
|
1556
1601
|
super(r, s), this.value = e, this.tokens = n, this.type = "cdata";
|
|
1557
1602
|
}
|
|
@@ -1565,14 +1610,14 @@ var ae = class {
|
|
|
1565
1610
|
visit(e, r) {
|
|
1566
1611
|
return e.visitExpansion(this, r);
|
|
1567
1612
|
}
|
|
1568
|
-
},
|
|
1613
|
+
}, Yt = class {
|
|
1569
1614
|
constructor(e, r, n, s, i) {
|
|
1570
1615
|
this.value = e, this.expression = r, this.sourceSpan = n, this.valueSourceSpan = s, this.expSourceSpan = i, this.type = "expansionCase";
|
|
1571
1616
|
}
|
|
1572
1617
|
visit(e, r) {
|
|
1573
1618
|
return e.visitExpansionCase(this, r);
|
|
1574
1619
|
}
|
|
1575
|
-
},
|
|
1620
|
+
}, jt = class extends ae {
|
|
1576
1621
|
constructor(e, r, n, s, i, a, o) {
|
|
1577
1622
|
super(n, o), this.name = e, this.value = r, this.keySpan = s, this.valueSpan = i, this.valueTokens = a, this.type = "attribute";
|
|
1578
1623
|
}
|
|
@@ -1589,21 +1634,21 @@ var ae = class {
|
|
|
1589
1634
|
visit(e, r) {
|
|
1590
1635
|
return e.visitElement(this, r);
|
|
1591
1636
|
}
|
|
1592
|
-
},
|
|
1637
|
+
}, Kt = class {
|
|
1593
1638
|
constructor(e, r) {
|
|
1594
1639
|
this.value = e, this.sourceSpan = r, this.type = "comment";
|
|
1595
1640
|
}
|
|
1596
1641
|
visit(e, r) {
|
|
1597
1642
|
return e.visitComment(this, r);
|
|
1598
1643
|
}
|
|
1599
|
-
},
|
|
1644
|
+
}, Xt = class {
|
|
1600
1645
|
constructor(e, r) {
|
|
1601
1646
|
this.value = e, this.sourceSpan = r, this.type = "docType";
|
|
1602
1647
|
}
|
|
1603
1648
|
visit(e, r) {
|
|
1604
1649
|
return e.visitDocType(this, r);
|
|
1605
1650
|
}
|
|
1606
|
-
},
|
|
1651
|
+
}, ee = class extends ae {
|
|
1607
1652
|
constructor(e, r, n, s, i, a, o = null, u) {
|
|
1608
1653
|
super(s, u), this.name = e, this.parameters = r, this.children = n, this.nameSpan = i, this.startSourceSpan = a, this.endSourceSpan = o, this.type = "block";
|
|
1609
1654
|
}
|
|
@@ -1617,7 +1662,7 @@ var ae = class {
|
|
|
1617
1662
|
visit(e, r) {
|
|
1618
1663
|
return e.visitBlockParameter(this, r);
|
|
1619
1664
|
}
|
|
1620
|
-
},
|
|
1665
|
+
}, mt = class {
|
|
1621
1666
|
constructor(e, r, n, s, i) {
|
|
1622
1667
|
this.name = e, this.value = r, this.sourceSpan = n, this.nameSpan = s, this.valueSpan = i, this.type = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
|
|
1623
1668
|
}
|
|
@@ -1632,7 +1677,7 @@ function Qt(t7, e, r = null) {
|
|
|
1632
1677
|
a && n.push(a);
|
|
1633
1678
|
}), n;
|
|
1634
1679
|
}
|
|
1635
|
-
var
|
|
1680
|
+
var ft = class {
|
|
1636
1681
|
constructor() {
|
|
1637
1682
|
}
|
|
1638
1683
|
visitElement(e, r) {
|
|
@@ -1675,64 +1720,64 @@ var mt = class {
|
|
|
1675
1720
|
}
|
|
1676
1721
|
};
|
|
1677
1722
|
var Ve = { 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: `
|
|
1678
|
-
`, 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: "" }, Xa = "";
|
|
1679
|
-
Ve.ngsp =
|
|
1680
|
-
var
|
|
1681
|
-
function
|
|
1723
|
+
`, 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: "" }, fo = "";
|
|
1724
|
+
Ve.ngsp = fo;
|
|
1725
|
+
var go = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
|
|
1726
|
+
function Xs(t7, e) {
|
|
1682
1727
|
if (e != null && !(Array.isArray(e) && e.length == 2))
|
|
1683
1728
|
throw new Error(`Expected '${t7}' to be an array, [start, end].`);
|
|
1684
1729
|
if (e != null) {
|
|
1685
1730
|
let r = e[0], n = e[1];
|
|
1686
|
-
|
|
1731
|
+
go.forEach((s) => {
|
|
1687
1732
|
if (s.test(r) || s.test(n))
|
|
1688
1733
|
throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
|
|
1689
1734
|
});
|
|
1690
1735
|
}
|
|
1691
1736
|
}
|
|
1692
|
-
var
|
|
1737
|
+
var $r = class t2 {
|
|
1693
1738
|
static fromArray(e) {
|
|
1694
|
-
return e ? (
|
|
1739
|
+
return e ? (Xs("interpolation", e), new t2(e[0], e[1])) : Or;
|
|
1695
1740
|
}
|
|
1696
1741
|
constructor(e, r) {
|
|
1697
1742
|
this.start = e, this.end = r;
|
|
1698
1743
|
}
|
|
1699
|
-
},
|
|
1744
|
+
}, Or = new $r("{{", "}}");
|
|
1700
1745
|
var gt = class extends Oe {
|
|
1701
1746
|
constructor(e, r, n) {
|
|
1702
1747
|
super(n, e), this.tokenType = r;
|
|
1703
1748
|
}
|
|
1704
|
-
},
|
|
1749
|
+
}, Ur = class {
|
|
1705
1750
|
constructor(e, r, n) {
|
|
1706
1751
|
this.tokens = e, this.errors = r, this.nonNormalizedIcuExpressions = n;
|
|
1707
1752
|
}
|
|
1708
1753
|
};
|
|
1709
|
-
function
|
|
1710
|
-
let s = new
|
|
1711
|
-
return s.tokenize(), new
|
|
1754
|
+
function li(t7, e, r, n = {}) {
|
|
1755
|
+
let s = new Wr(new ve(t7, e), r, n);
|
|
1756
|
+
return s.tokenize(), new Ur(Vo(s.tokens), s.errors, s.nonNormalizedIcuExpressions);
|
|
1712
1757
|
}
|
|
1713
|
-
var
|
|
1758
|
+
var Io = /\r\n?/g;
|
|
1714
1759
|
function Ue(t7) {
|
|
1715
1760
|
return `Unexpected character "${t7 === 0 ? "EOF" : String.fromCharCode(t7)}"`;
|
|
1716
1761
|
}
|
|
1717
|
-
function
|
|
1762
|
+
function ti(t7) {
|
|
1718
1763
|
return `Unknown entity "${t7}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
|
|
1719
1764
|
}
|
|
1720
|
-
function
|
|
1765
|
+
function Ro(t7, e) {
|
|
1721
1766
|
return `Unable to parse entity "${e}" - ${t7} character reference entities must end with ";"`;
|
|
1722
1767
|
}
|
|
1723
|
-
var
|
|
1768
|
+
var rr;
|
|
1724
1769
|
(function(t7) {
|
|
1725
1770
|
t7.HEX = "hexadecimal", t7.DEC = "decimal";
|
|
1726
|
-
})(
|
|
1771
|
+
})(rr || (rr = {}));
|
|
1727
1772
|
var Ct = class {
|
|
1728
1773
|
constructor(e) {
|
|
1729
1774
|
this.error = e;
|
|
1730
1775
|
}
|
|
1731
|
-
},
|
|
1776
|
+
}, Wr = class {
|
|
1732
1777
|
constructor(e, r, n) {
|
|
1733
|
-
this._getTagContentType = r, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = false, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = n.tokenizeExpansionForms || false, this._interpolationConfig = n.interpolationConfig ||
|
|
1778
|
+
this._getTagContentType = r, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = false, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = n.tokenizeExpansionForms || false, this._interpolationConfig = n.interpolationConfig || Or, this._leadingTriviaCodePoints = n.leadingTriviaChars && n.leadingTriviaChars.map((i) => i.codePointAt(0) || 0), this._canSelfClose = n.canSelfClose || false, this._allowHtmComponentClosingTags = n.allowHtmComponentClosingTags || false;
|
|
1734
1779
|
let s = n.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
|
|
1735
|
-
this._cursor = n.escapedString ? new
|
|
1780
|
+
this._cursor = n.escapedString ? new Gr(e, s) : new nr(e, s), this._preserveLineEndings = n.preserveLineEndings || false, this._i18nNormalizeLineEndingsInICUs = n.i18nNormalizeLineEndingsInICUs || false, this._tokenizeBlocks = n.tokenizeBlocks ?? true, this._tokenizeLet = n.tokenizeLet ?? true;
|
|
1736
1781
|
try {
|
|
1737
1782
|
this._cursor.init();
|
|
1738
1783
|
} catch (i) {
|
|
@@ -1740,7 +1785,7 @@ var Ct = class {
|
|
|
1740
1785
|
}
|
|
1741
1786
|
}
|
|
1742
1787
|
_processCarriageReturns(e) {
|
|
1743
|
-
return this._preserveLineEndings ? e : e.replace(
|
|
1788
|
+
return this._preserveLineEndings ? e : e.replace(Io, `
|
|
1744
1789
|
`);
|
|
1745
1790
|
}
|
|
1746
1791
|
tokenize() {
|
|
@@ -1766,7 +1811,7 @@ var Ct = class {
|
|
|
1766
1811
|
}
|
|
1767
1812
|
_getBlockName() {
|
|
1768
1813
|
let e = false, r = this._cursor.clone();
|
|
1769
|
-
return this._attemptCharCodeUntilFn((n) => ut(n) ? !e :
|
|
1814
|
+
return this._attemptCharCodeUntilFn((n) => ut(n) ? !e : si(n) ? (e = true, false) : true), this._cursor.getChars(r).trim();
|
|
1770
1815
|
}
|
|
1771
1816
|
_consumeBlockStart(e) {
|
|
1772
1817
|
this._beginToken(25, e);
|
|
@@ -1784,7 +1829,7 @@ var Ct = class {
|
|
|
1784
1829
|
this._beginToken(27, e), this._endToken([]);
|
|
1785
1830
|
}
|
|
1786
1831
|
_consumeBlockParameters() {
|
|
1787
|
-
for (this._attemptCharCodeUntilFn(
|
|
1832
|
+
for (this._attemptCharCodeUntilFn(ii); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
|
|
1788
1833
|
this._beginToken(28);
|
|
1789
1834
|
let e = this._cursor.clone(), r = null, n = 0;
|
|
1790
1835
|
for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || r !== null; ) {
|
|
@@ -1793,7 +1838,7 @@ var Ct = class {
|
|
|
1793
1838
|
this._cursor.advance();
|
|
1794
1839
|
else if (s === r)
|
|
1795
1840
|
r = null;
|
|
1796
|
-
else if (r === null &&
|
|
1841
|
+
else if (r === null && Ot(s))
|
|
1797
1842
|
r = s;
|
|
1798
1843
|
else if (s === 40 && r === null)
|
|
1799
1844
|
n++;
|
|
@@ -1804,7 +1849,7 @@ var Ct = class {
|
|
|
1804
1849
|
}
|
|
1805
1850
|
this._cursor.advance();
|
|
1806
1851
|
}
|
|
1807
|
-
this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(
|
|
1852
|
+
this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(ii);
|
|
1808
1853
|
}
|
|
1809
1854
|
}
|
|
1810
1855
|
_consumeLetDeclaration(e) {
|
|
@@ -1820,11 +1865,11 @@ var Ct = class {
|
|
|
1820
1865
|
r.type = 33;
|
|
1821
1866
|
return;
|
|
1822
1867
|
}
|
|
1823
|
-
this._attemptCharCodeUntilFn((s) => b(s) &&
|
|
1868
|
+
this._attemptCharCodeUntilFn((s) => b(s) && !$t(s)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(32), this._endToken([]), this._cursor.advance()) : (r.type = 33, r.sourceSpan = this._cursor.getSpan(e));
|
|
1824
1869
|
}
|
|
1825
1870
|
_getLetDeclarationName() {
|
|
1826
1871
|
let e = this._cursor.clone(), r = false;
|
|
1827
|
-
return this._attemptCharCodeUntilFn((n) => lt(n) || n === 36 || n === 95 || r &&
|
|
1872
|
+
return this._attemptCharCodeUntilFn((n) => lt(n) || n === 36 || n === 95 || r && Rt(n) ? (r = true, false) : true), this._cursor.getChars(e).trim();
|
|
1828
1873
|
}
|
|
1829
1874
|
_consumeLetDeclarationValue() {
|
|
1830
1875
|
let e = this._cursor.clone();
|
|
@@ -1832,14 +1877,14 @@ var Ct = class {
|
|
|
1832
1877
|
let r = this._cursor.peek();
|
|
1833
1878
|
if (r === 59)
|
|
1834
1879
|
break;
|
|
1835
|
-
|
|
1880
|
+
Ot(r) && (this._cursor.advance(), this._attemptCharCodeUntilFn((n) => n === 92 ? (this._cursor.advance(), false) : n === r)), this._cursor.advance();
|
|
1836
1881
|
}
|
|
1837
1882
|
this._endToken([this._cursor.getChars(e)]);
|
|
1838
1883
|
}
|
|
1839
1884
|
_tokenizeExpansionForm() {
|
|
1840
1885
|
if (this.isExpansionFormStart())
|
|
1841
1886
|
return this._consumeExpansionFormStart(), true;
|
|
1842
|
-
if (
|
|
1887
|
+
if (qo(this._cursor.peek()) && this._isInExpansionForm())
|
|
1843
1888
|
return this._consumeExpansionCaseStart(), true;
|
|
1844
1889
|
if (this._cursor.peek() === 125) {
|
|
1845
1890
|
if (this._isInExpansionCase())
|
|
@@ -1875,7 +1920,7 @@ var Ct = class {
|
|
|
1875
1920
|
return this._cursor.peek() === e ? (this._cursor.advance(), true) : false;
|
|
1876
1921
|
}
|
|
1877
1922
|
_attemptCharCodeCaseInsensitive(e) {
|
|
1878
|
-
return
|
|
1923
|
+
return Ho(this._cursor.peek(), e) ? (this._cursor.advance(), true) : false;
|
|
1879
1924
|
}
|
|
1880
1925
|
_requireCharCode(e) {
|
|
1881
1926
|
let r = this._cursor.clone();
|
|
@@ -1930,10 +1975,10 @@ var Ct = class {
|
|
|
1930
1975
|
let r = this._cursor.clone();
|
|
1931
1976
|
if (this._cursor.advance(), this._attemptCharCode(35)) {
|
|
1932
1977
|
let n = this._attemptCharCode(120) || this._attemptCharCode(88), s = this._cursor.clone();
|
|
1933
|
-
if (this._attemptCharCodeUntilFn(
|
|
1978
|
+
if (this._attemptCharCodeUntilFn(Oo), this._cursor.peek() != 59) {
|
|
1934
1979
|
this._cursor.advance();
|
|
1935
|
-
let a = n ?
|
|
1936
|
-
throw this._createError(
|
|
1980
|
+
let a = n ? rr.HEX : rr.DEC;
|
|
1981
|
+
throw this._createError(Ro(a, this._cursor.getChars(r)), this._cursor.getSpan());
|
|
1937
1982
|
}
|
|
1938
1983
|
let i = this._cursor.getChars(s);
|
|
1939
1984
|
this._cursor.advance();
|
|
@@ -1941,18 +1986,18 @@ var Ct = class {
|
|
|
1941
1986
|
let a = parseInt(i, n ? 16 : 10);
|
|
1942
1987
|
this._endToken([String.fromCharCode(a), this._cursor.getChars(r)]);
|
|
1943
1988
|
} catch {
|
|
1944
|
-
throw this._createError(
|
|
1989
|
+
throw this._createError(ti(this._cursor.getChars(r)), this._cursor.getSpan());
|
|
1945
1990
|
}
|
|
1946
1991
|
} else {
|
|
1947
1992
|
let n = this._cursor.clone();
|
|
1948
|
-
if (this._attemptCharCodeUntilFn(
|
|
1993
|
+
if (this._attemptCharCodeUntilFn(Mo), this._cursor.peek() != 59)
|
|
1949
1994
|
this._beginToken(e, r), this._cursor = n, this._endToken(["&"]);
|
|
1950
1995
|
else {
|
|
1951
1996
|
let s = this._cursor.getChars(n);
|
|
1952
1997
|
this._cursor.advance();
|
|
1953
1998
|
let i = Ve[s];
|
|
1954
1999
|
if (!i)
|
|
1955
|
-
throw this._createError(
|
|
2000
|
+
throw this._createError(ti(s), this._cursor.getSpan(r));
|
|
1956
2001
|
this._endToken([i, `&${s};`]);
|
|
1957
2002
|
}
|
|
1958
2003
|
}
|
|
@@ -1982,10 +2027,10 @@ var Ct = class {
|
|
|
1982
2027
|
}
|
|
1983
2028
|
_consumePrefixAndName() {
|
|
1984
2029
|
let e = this._cursor.clone(), r = "";
|
|
1985
|
-
for (; this._cursor.peek() !== 58 &&
|
|
2030
|
+
for (; this._cursor.peek() !== 58 && !$o(this._cursor.peek()); )
|
|
1986
2031
|
this._cursor.advance();
|
|
1987
2032
|
let n;
|
|
1988
|
-
this._cursor.peek() === 58 ? (r = this._cursor.getChars(e), this._cursor.advance(), n = this._cursor.clone()) : n = e, this._requireCharCodeUntilFn(
|
|
2033
|
+
this._cursor.peek() === 58 ? (r = this._cursor.getChars(e), this._cursor.advance(), n = this._cursor.clone()) : n = e, this._requireCharCodeUntilFn(ri, r === "" ? 0 : 1);
|
|
1989
2034
|
let s = this._cursor.getChars(n);
|
|
1990
2035
|
return [r, s];
|
|
1991
2036
|
}
|
|
@@ -2015,7 +2060,7 @@ var Ct = class {
|
|
|
2015
2060
|
if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === 2)
|
|
2016
2061
|
return;
|
|
2017
2062
|
let a = this._getTagContentType(r, n, this._fullNameStack.length > 0, i);
|
|
2018
|
-
this._handleFullNameStackForTagOpen(n, r), a ===
|
|
2063
|
+
this._handleFullNameStackForTagOpen(n, r), a === N.RAW_TEXT ? this._consumeRawTextWithTagClose(n, r, false) : a === N.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(n, r, true);
|
|
2019
2064
|
}
|
|
2020
2065
|
_consumeRawTextWithTagClose(e, r, n) {
|
|
2021
2066
|
this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(b), !this._attemptStrCaseInsensitive(e ? `${e}:${r}` : r)) ? false : (this._attemptCharCodeUntilFn(b), this._attemptCharCode(62))), this._beginToken(3), this._requireCharCodeUntilFn((s) => s === 62, 3), this._cursor.advance(), this._endToken([e, r]), this._handleFullNameStackForTagClose(e, r);
|
|
@@ -2041,7 +2086,7 @@ var Ct = class {
|
|
|
2041
2086
|
let n = () => this._cursor.peek() === r;
|
|
2042
2087
|
e = this._consumeWithInterpolation(16, 17, n, n), this._consumeQuote(r);
|
|
2043
2088
|
} else {
|
|
2044
|
-
let r = () =>
|
|
2089
|
+
let r = () => ri(this._cursor.peek());
|
|
2045
2090
|
e = this._consumeWithInterpolation(16, 17, r, r);
|
|
2046
2091
|
}
|
|
2047
2092
|
return e;
|
|
@@ -2113,7 +2158,7 @@ var Ct = class {
|
|
|
2113
2158
|
} else
|
|
2114
2159
|
this._attemptStr("//") && (o = true);
|
|
2115
2160
|
let p = this._cursor.peek();
|
|
2116
|
-
this._cursor.advance(), p === 92 ? this._cursor.advance() : p === a ? a = null : !o && a === null &&
|
|
2161
|
+
this._cursor.advance(), p === 92 ? this._cursor.advance() : p === a ? a = null : !o && a === null && Ot(p) && (a = p);
|
|
2117
2162
|
}
|
|
2118
2163
|
s.push(this._getProcessedChars(i, this._cursor)), this._endToken(s);
|
|
2119
2164
|
}
|
|
@@ -2136,7 +2181,7 @@ var Ct = class {
|
|
|
2136
2181
|
_isBlockStart() {
|
|
2137
2182
|
if (this._tokenizeBlocks && this._cursor.peek() === 64) {
|
|
2138
2183
|
let e = this._cursor.clone();
|
|
2139
|
-
if (e.advance(),
|
|
2184
|
+
if (e.advance(), si(e.peek()))
|
|
2140
2185
|
return true;
|
|
2141
2186
|
}
|
|
2142
2187
|
return false;
|
|
@@ -2175,34 +2220,34 @@ var Ct = class {
|
|
|
2175
2220
|
function b(t7) {
|
|
2176
2221
|
return !ut(t7) || t7 === 0;
|
|
2177
2222
|
}
|
|
2178
|
-
function
|
|
2223
|
+
function ri(t7) {
|
|
2179
2224
|
return ut(t7) || t7 === 62 || t7 === 60 || t7 === 47 || t7 === 39 || t7 === 34 || t7 === 61 || t7 === 0;
|
|
2180
2225
|
}
|
|
2181
|
-
function
|
|
2226
|
+
function $o(t7) {
|
|
2182
2227
|
return (t7 < 97 || 122 < t7) && (t7 < 65 || 90 < t7) && (t7 < 48 || t7 > 57);
|
|
2183
2228
|
}
|
|
2184
|
-
function
|
|
2185
|
-
return t7 === 59 || t7 === 0 || !
|
|
2229
|
+
function Oo(t7) {
|
|
2230
|
+
return t7 === 59 || t7 === 0 || !Rs(t7);
|
|
2186
2231
|
}
|
|
2187
|
-
function
|
|
2232
|
+
function Mo(t7) {
|
|
2188
2233
|
return t7 === 59 || t7 === 0 || !lt(t7);
|
|
2189
2234
|
}
|
|
2190
|
-
function
|
|
2235
|
+
function qo(t7) {
|
|
2191
2236
|
return t7 !== 125;
|
|
2192
2237
|
}
|
|
2193
|
-
function
|
|
2194
|
-
return
|
|
2238
|
+
function Ho(t7, e) {
|
|
2239
|
+
return ni(t7) === ni(e);
|
|
2195
2240
|
}
|
|
2196
|
-
function
|
|
2241
|
+
function ni(t7) {
|
|
2197
2242
|
return t7 >= 97 && t7 <= 122 ? t7 - 97 + 65 : t7;
|
|
2198
2243
|
}
|
|
2199
|
-
function
|
|
2200
|
-
return lt(t7) ||
|
|
2244
|
+
function si(t7) {
|
|
2245
|
+
return lt(t7) || Rt(t7) || t7 === 95;
|
|
2201
2246
|
}
|
|
2202
|
-
function
|
|
2247
|
+
function ii(t7) {
|
|
2203
2248
|
return t7 !== 59 && b(t7);
|
|
2204
2249
|
}
|
|
2205
|
-
function
|
|
2250
|
+
function Vo(t7) {
|
|
2206
2251
|
let e = [], r;
|
|
2207
2252
|
for (let n = 0; n < t7.length; n++) {
|
|
2208
2253
|
let s = t7[n];
|
|
@@ -2210,7 +2255,7 @@ function wo(t7) {
|
|
|
2210
2255
|
}
|
|
2211
2256
|
return e;
|
|
2212
2257
|
}
|
|
2213
|
-
var
|
|
2258
|
+
var nr = class t3 {
|
|
2214
2259
|
constructor(e, r) {
|
|
2215
2260
|
if (e instanceof t3) {
|
|
2216
2261
|
this.file = e.file, this.input = e.input, this.end = e.end;
|
|
@@ -2259,7 +2304,7 @@ var rr = class t3 {
|
|
|
2259
2304
|
if (e.offset >= this.end)
|
|
2260
2305
|
throw this.state = e, new St('Unexpected character "EOF"', this);
|
|
2261
2306
|
let r = this.charAt(e.offset);
|
|
2262
|
-
r === 10 ? (e.line++, e.column = 0) :
|
|
2307
|
+
r === 10 ? (e.line++, e.column = 0) : $t(r) || e.column++, e.offset++, this.updatePeek(e);
|
|
2263
2308
|
}
|
|
2264
2309
|
updatePeek(e) {
|
|
2265
2310
|
e.peek = e.offset >= this.end ? 0 : this.charAt(e.offset);
|
|
@@ -2267,7 +2312,7 @@ var rr = class t3 {
|
|
|
2267
2312
|
locationFromCursor(e) {
|
|
2268
2313
|
return new ie(e.file, e.state.offset, e.state.line, e.state.column);
|
|
2269
2314
|
}
|
|
2270
|
-
},
|
|
2315
|
+
}, Gr = class t4 extends nr {
|
|
2271
2316
|
constructor(e, r) {
|
|
2272
2317
|
e instanceof t4 ? (super(e), this.internalState = { ...e.internalState }) : (super(e, r), this.internalState = this.state);
|
|
2273
2318
|
}
|
|
@@ -2316,13 +2361,13 @@ var rr = class t3 {
|
|
|
2316
2361
|
this.advanceState(this.internalState);
|
|
2317
2362
|
let r = this.clone();
|
|
2318
2363
|
this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
|
|
2319
|
-
} else if (
|
|
2364
|
+
} else if (Br(e())) {
|
|
2320
2365
|
let r = "", n = 0, s = this.clone();
|
|
2321
|
-
for (;
|
|
2366
|
+
for (; Br(e()) && n < 3; )
|
|
2322
2367
|
s = this.clone(), r += String.fromCodePoint(e()), this.advanceState(this.internalState), n++;
|
|
2323
2368
|
this.state.peek = parseInt(r, 8), this.internalState = s.internalState;
|
|
2324
2369
|
} else
|
|
2325
|
-
|
|
2370
|
+
$t(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
|
|
2326
2371
|
}
|
|
2327
2372
|
decodeHexDigits(e, r) {
|
|
2328
2373
|
let n = this.input.slice(e.internalState.offset, e.internalState.offset + r), s = parseInt(n, 16);
|
|
@@ -2342,22 +2387,22 @@ var L = class t5 extends Oe {
|
|
|
2342
2387
|
constructor(e, r, n) {
|
|
2343
2388
|
super(r, n), this.elementName = e;
|
|
2344
2389
|
}
|
|
2345
|
-
},
|
|
2390
|
+
}, jr = class {
|
|
2346
2391
|
constructor(e, r) {
|
|
2347
2392
|
this.rootNodes = e, this.errors = r;
|
|
2348
2393
|
}
|
|
2349
|
-
},
|
|
2394
|
+
}, sr = class {
|
|
2350
2395
|
constructor(e) {
|
|
2351
2396
|
this.getTagDefinition = e;
|
|
2352
2397
|
}
|
|
2353
2398
|
parse(e, r, n, s = false, i) {
|
|
2354
|
-
let a = (D) => (I, ...F) => D(I.toLowerCase(), ...F), o = s ? this.getTagDefinition : a(this.getTagDefinition), u = (D) => o(D).getContentType(), p = s ? i : a(i),
|
|
2399
|
+
let a = (D) => (I, ...F) => D(I.toLowerCase(), ...F), o = s ? this.getTagDefinition : a(this.getTagDefinition), u = (D) => o(D).getContentType(), p = s ? i : a(i), m = li(e, r, i ? (D, I, F, c) => {
|
|
2355
2400
|
let g = p(D, I, F, c);
|
|
2356
2401
|
return g !== void 0 ? g : u(D);
|
|
2357
|
-
} : u, n),
|
|
2358
|
-
return A.build(), new
|
|
2402
|
+
} : u, n), f = n && n.canSelfClose || false, C = n && n.allowHtmComponentClosingTags || false, A = new Kr(m.tokens, o, f, C, s);
|
|
2403
|
+
return A.build(), new jr(A.rootNodes, m.errors.concat(A.errors));
|
|
2359
2404
|
}
|
|
2360
|
-
},
|
|
2405
|
+
}, Kr = class t6 {
|
|
2361
2406
|
constructor(e, r, n, s, i) {
|
|
2362
2407
|
this.tokens = e, this.getTagDefinition = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = s, this.isTagNameCaseSensitive = i, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
|
|
2363
2408
|
}
|
|
@@ -2365,7 +2410,7 @@ var L = class t5 extends Oe {
|
|
|
2365
2410
|
for (; this._peek.type !== 34; )
|
|
2366
2411
|
this._peek.type === 0 || this._peek.type === 4 ? this._consumeStartTag(this._advance()) : this._peek.type === 3 ? (this._closeVoidElement(), this._consumeEndTag(this._advance())) : this._peek.type === 12 ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === 10 ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === 5 || this._peek.type === 7 || this._peek.type === 6 ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === 20 ? this._consumeExpansion(this._advance()) : this._peek.type === 25 ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === 27 ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === 29 ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === 30 ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === 18 ? this._consumeDocType(this._advance()) : this._peek.type === 33 ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._advance();
|
|
2367
2412
|
for (let e of this._containerStack)
|
|
2368
|
-
e instanceof
|
|
2413
|
+
e instanceof ee && this.errors.push(L.create(e.name, e.sourceSpan, `Unclosed block "${e.name}"`));
|
|
2369
2414
|
}
|
|
2370
2415
|
_advance() {
|
|
2371
2416
|
let e = this._peek;
|
|
@@ -2376,15 +2421,15 @@ var L = class t5 extends Oe {
|
|
|
2376
2421
|
}
|
|
2377
2422
|
_consumeCdata(e) {
|
|
2378
2423
|
let r = this._advance(), n = this._getText(r), s = this._advanceIf(13);
|
|
2379
|
-
this._addToParent(new
|
|
2424
|
+
this._addToParent(new Gt(n, new h(e.sourceSpan.start, (s || r).sourceSpan.end), [r]));
|
|
2380
2425
|
}
|
|
2381
2426
|
_consumeComment(e) {
|
|
2382
2427
|
let r = this._advanceIf(7), n = this._advanceIf(11), s = r != null ? r.parts[0].trim() : null, i = n == null ? e.sourceSpan : new h(e.sourceSpan.start, n.sourceSpan.end, e.sourceSpan.fullStart);
|
|
2383
|
-
this._addToParent(new
|
|
2428
|
+
this._addToParent(new Kt(s, i));
|
|
2384
2429
|
}
|
|
2385
2430
|
_consumeDocType(e) {
|
|
2386
2431
|
let r = this._advanceIf(7), n = this._advanceIf(19), s = r != null ? r.parts[0].trim() : null, i = new h(e.sourceSpan.start, (n || r || e).sourceSpan.end);
|
|
2387
|
-
this._addToParent(new
|
|
2432
|
+
this._addToParent(new Xt(s, i));
|
|
2388
2433
|
}
|
|
2389
2434
|
_consumeExpansion(e) {
|
|
2390
2435
|
let r = this._advance(), n = this._advance(), s = [];
|
|
@@ -2414,19 +2459,19 @@ var L = class t5 extends Oe {
|
|
|
2414
2459
|
if (i.build(), i.errors.length > 0)
|
|
2415
2460
|
return this.errors = this.errors.concat(i.errors), null;
|
|
2416
2461
|
let a = new h(e.sourceSpan.start, s.sourceSpan.end, e.sourceSpan.fullStart), o = new h(r.sourceSpan.start, s.sourceSpan.end, r.sourceSpan.fullStart);
|
|
2417
|
-
return new
|
|
2462
|
+
return new Yt(e.parts[0], i.rootNodes, a, e.sourceSpan, o);
|
|
2418
2463
|
}
|
|
2419
2464
|
_collectExpansionExpTokens(e) {
|
|
2420
2465
|
let r = [], n = [22];
|
|
2421
2466
|
for (; ; ) {
|
|
2422
2467
|
if ((this._peek.type === 20 || this._peek.type === 22) && n.push(this._peek.type), this._peek.type === 23)
|
|
2423
|
-
if (
|
|
2468
|
+
if (ci(n, 22)) {
|
|
2424
2469
|
if (n.pop(), n.length === 0)
|
|
2425
2470
|
return r;
|
|
2426
2471
|
} else
|
|
2427
2472
|
return this.errors.push(L.create(null, e.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
2428
2473
|
if (this._peek.type === 24)
|
|
2429
|
-
if (
|
|
2474
|
+
if (ci(n, 20))
|
|
2430
2475
|
n.pop();
|
|
2431
2476
|
else
|
|
2432
2477
|
return this.errors.push(L.create(null, e.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
|
|
@@ -2452,10 +2497,10 @@ var L = class t5 extends Oe {
|
|
|
2452
2497
|
i != null && i.children.length === 0 && this.getTagDefinition(i.name).ignoreFirstLf && (s = s.substring(1), r[0] = { type: e.type, sourceSpan: e.sourceSpan, parts: [s] });
|
|
2453
2498
|
}
|
|
2454
2499
|
for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; )
|
|
2455
|
-
e = this._advance(), r.push(e), e.type === 8 ? s += e.parts.join("").replace(/&([^;]+);/g,
|
|
2500
|
+
e = this._advance(), r.push(e), e.type === 8 ? s += e.parts.join("").replace(/&([^;]+);/g, pi) : e.type === 9 ? s += e.parts[0] : s += e.parts.join("");
|
|
2456
2501
|
if (s.length > 0) {
|
|
2457
2502
|
let i = e.sourceSpan;
|
|
2458
|
-
this._addToParent(new
|
|
2503
|
+
this._addToParent(new Wt(s, new h(n.start, i.end, n.fullStart, n.details), r));
|
|
2459
2504
|
}
|
|
2460
2505
|
}
|
|
2461
2506
|
_closeVoidElement() {
|
|
@@ -2473,8 +2518,8 @@ var L = class t5 extends Oe {
|
|
|
2473
2518
|
this.canSelfClose || C.canSelfClose || Me(i) !== null || C.isVoid || this.errors.push(L.create(i, e.sourceSpan, `Only void, custom and foreign elements can be self closed "${e.parts[1]}"`));
|
|
2474
2519
|
} else
|
|
2475
2520
|
this._peek.type === 1 && (this._advance(), a = false);
|
|
2476
|
-
let o = this._peek.sourceSpan.fullStart, u = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), p = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), l = new h(e.sourceSpan.start.moveBy(1), e.sourceSpan.end),
|
|
2477
|
-
this._pushContainer(
|
|
2521
|
+
let o = this._peek.sourceSpan.fullStart, u = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), p = new h(e.sourceSpan.start, o, e.sourceSpan.fullStart), l = new h(e.sourceSpan.start.moveBy(1), e.sourceSpan.end), m = new Y(i, s, [], u, p, void 0, l), f = this._getContainer();
|
|
2522
|
+
this._pushContainer(m, f instanceof Y && this.getTagDefinition(f.name).isClosedByChild(m.name)), a ? this._popContainer(i, Y, u) : e.type === 4 && (this._popContainer(i, Y, null), this.errors.push(L.create(i, u, `Opening tag "${i}" not terminated.`)));
|
|
2478
2523
|
}
|
|
2479
2524
|
_pushContainer(e, r) {
|
|
2480
2525
|
r && this._containerStack.pop(), this._addToParent(e), this._containerStack.push(e);
|
|
@@ -2494,7 +2539,7 @@ var L = class t5 extends Oe {
|
|
|
2494
2539
|
let a = this._containerStack[i];
|
|
2495
2540
|
if (Me(a.name) ? a.name === e : (e == null || a.name.toLowerCase() === e.toLowerCase()) && a instanceof r)
|
|
2496
2541
|
return a.endSourceSpan = n, a.sourceSpan.end = n !== null ? n.end : a.sourceSpan.end, this._containerStack.splice(i, this._containerStack.length - i), !s;
|
|
2497
|
-
(a instanceof
|
|
2542
|
+
(a instanceof ee || a instanceof Y && !this.getTagDefinition(a.name).closedByParent) && (s = true);
|
|
2498
2543
|
}
|
|
2499
2544
|
return false;
|
|
2500
2545
|
}
|
|
@@ -2504,12 +2549,12 @@ var L = class t5 extends Oe {
|
|
|
2504
2549
|
let i = "", a = [], o, u;
|
|
2505
2550
|
if (this._peek.type === 16)
|
|
2506
2551
|
for (o = this._peek.sourceSpan, u = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
|
|
2507
|
-
let
|
|
2508
|
-
a.push(
|
|
2552
|
+
let m = this._advance();
|
|
2553
|
+
a.push(m), m.type === 17 ? i += m.parts.join("").replace(/&([^;]+);/g, pi) : m.type === 9 ? i += m.parts[0] : i += m.parts.join(""), u = n = m.sourceSpan.end;
|
|
2509
2554
|
}
|
|
2510
2555
|
this._peek.type === 15 && (u = n = this._advance().sourceSpan.end);
|
|
2511
2556
|
let l = o && u && new h((s == null ? void 0 : s.sourceSpan.start) ?? o.start, u, (s == null ? void 0 : s.sourceSpan.fullStart) ?? o.fullStart);
|
|
2512
|
-
return new
|
|
2557
|
+
return new jt(r, i, new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), e.sourceSpan, l, a.length > 0 ? a : void 0, void 0);
|
|
2513
2558
|
}
|
|
2514
2559
|
_consumeBlockOpen(e) {
|
|
2515
2560
|
let r = [];
|
|
@@ -2518,11 +2563,11 @@ var L = class t5 extends Oe {
|
|
|
2518
2563
|
r.push(new ht(o.parts[0], o.sourceSpan));
|
|
2519
2564
|
}
|
|
2520
2565
|
this._peek.type === 26 && this._advance();
|
|
2521
|
-
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new
|
|
2566
|
+
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new ee(e.parts[0], r, [], s, e.sourceSpan, i);
|
|
2522
2567
|
this._pushContainer(a, false);
|
|
2523
2568
|
}
|
|
2524
2569
|
_consumeBlockClose(e) {
|
|
2525
|
-
this._popContainer(null,
|
|
2570
|
+
this._popContainer(null, ee, e.sourceSpan) || this.errors.push(L.create(null, e.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'));
|
|
2526
2571
|
}
|
|
2527
2572
|
_consumeIncompleteBlock(e) {
|
|
2528
2573
|
let r = [];
|
|
@@ -2530,8 +2575,8 @@ var L = class t5 extends Oe {
|
|
|
2530
2575
|
let o = this._advance();
|
|
2531
2576
|
r.push(new ht(o.parts[0], o.sourceSpan));
|
|
2532
2577
|
}
|
|
2533
|
-
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new
|
|
2534
|
-
this._pushContainer(a, false), this._popContainer(null,
|
|
2578
|
+
let n = this._peek.sourceSpan.fullStart, s = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), i = new h(e.sourceSpan.start, n, e.sourceSpan.fullStart), a = new ee(e.parts[0], r, [], s, e.sourceSpan, i);
|
|
2579
|
+
this._pushContainer(a, false), this._popContainer(null, ee, null), this.errors.push(L.create(e.parts[0], s, `Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`));
|
|
2535
2580
|
}
|
|
2536
2581
|
_consumeLet(e) {
|
|
2537
2582
|
let r = e.parts[0], n, s;
|
|
@@ -2545,13 +2590,13 @@ var L = class t5 extends Oe {
|
|
|
2545
2590
|
return;
|
|
2546
2591
|
} else
|
|
2547
2592
|
s = this._advance();
|
|
2548
|
-
let i = s.sourceSpan.fullStart, a = new h(e.sourceSpan.start, i, e.sourceSpan.fullStart), o = e.sourceSpan.toString().lastIndexOf(r), u = e.sourceSpan.start.moveBy(o), p = new h(u, e.sourceSpan.end), l = new
|
|
2593
|
+
let i = s.sourceSpan.fullStart, a = new h(e.sourceSpan.start, i, e.sourceSpan.fullStart), o = e.sourceSpan.toString().lastIndexOf(r), u = e.sourceSpan.start.moveBy(o), p = new h(u, e.sourceSpan.end), l = new mt(r, n.parts[0], a, p, n.sourceSpan);
|
|
2549
2594
|
this._addToParent(l);
|
|
2550
2595
|
}
|
|
2551
2596
|
_consumeIncompleteLet(e) {
|
|
2552
2597
|
let r = e.parts[0] ?? "", n = r ? ` "${r}"` : "";
|
|
2553
2598
|
if (r.length > 0) {
|
|
2554
|
-
let s = e.sourceSpan.toString().lastIndexOf(r), i = e.sourceSpan.start.moveBy(s), a = new h(i, e.sourceSpan.end), o = new h(e.sourceSpan.start, e.sourceSpan.start.moveBy(0)), u = new
|
|
2599
|
+
let s = e.sourceSpan.toString().lastIndexOf(r), i = e.sourceSpan.start.moveBy(s), a = new h(i, e.sourceSpan.end), o = new h(e.sourceSpan.start, e.sourceSpan.start.moveBy(0)), u = new mt(r, "", e.sourceSpan, a, o);
|
|
2555
2600
|
this._addToParent(u);
|
|
2556
2601
|
}
|
|
2557
2602
|
this.errors.push(L.create(e.parts[0], e.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
|
|
@@ -2577,13 +2622,13 @@ var L = class t5 extends Oe {
|
|
|
2577
2622
|
return qe(e, r);
|
|
2578
2623
|
}
|
|
2579
2624
|
};
|
|
2580
|
-
function
|
|
2625
|
+
function ci(t7, e) {
|
|
2581
2626
|
return t7.length > 0 && t7[t7.length - 1] === e;
|
|
2582
2627
|
}
|
|
2583
|
-
function
|
|
2628
|
+
function pi(t7, e) {
|
|
2584
2629
|
return Ve[e] !== void 0 ? Ve[e] || t7 : /^#x[a-f0-9]+$/i.test(e) ? String.fromCodePoint(parseInt(e.slice(2), 16)) : /^#\d+$/.test(e) ? String.fromCodePoint(parseInt(e.slice(1), 10)) : t7;
|
|
2585
2630
|
}
|
|
2586
|
-
var
|
|
2631
|
+
var ir = class extends sr {
|
|
2587
2632
|
constructor() {
|
|
2588
2633
|
super(He);
|
|
2589
2634
|
}
|
|
@@ -2591,18 +2636,18 @@ var sr = class extends nr {
|
|
|
2591
2636
|
return super.parse(e, r, n, s, i);
|
|
2592
2637
|
}
|
|
2593
2638
|
};
|
|
2594
|
-
var
|
|
2639
|
+
var Xr = null, Uo = () => (Xr || (Xr = new ir()), Xr);
|
|
2595
2640
|
function Qr(t7, e = {}) {
|
|
2596
2641
|
let { canSelfClose: r = false, allowHtmComponentClosingTags: n = false, isTagNameCaseSensitive: s = false, getTagContentType: i, tokenizeAngularBlocks: a = false, tokenizeAngularLetDeclaration: o = false } = e;
|
|
2597
|
-
return
|
|
2642
|
+
return Uo().parse(t7, "angular-html-parser", { tokenizeExpansionForms: a, interpolationConfig: void 0, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: a, tokenizeLet: o }, s, i);
|
|
2598
2643
|
}
|
|
2599
|
-
function
|
|
2644
|
+
function Wo(t7, e) {
|
|
2600
2645
|
let r = new SyntaxError(t7 + " (" + e.loc.start.line + ":" + e.loc.start.column + ")");
|
|
2601
2646
|
return Object.assign(r, e);
|
|
2602
2647
|
}
|
|
2603
|
-
var
|
|
2648
|
+
var hi = Wo;
|
|
2604
2649
|
var _t = 3;
|
|
2605
|
-
function
|
|
2650
|
+
function Go(t7) {
|
|
2606
2651
|
let e = t7.slice(0, _t);
|
|
2607
2652
|
if (e !== "---" && e !== "+++")
|
|
2608
2653
|
return;
|
|
@@ -2621,25 +2666,25 @@ ${e}`, r), i = n;
|
|
|
2621
2666
|
let u = t7.slice(0, a);
|
|
2622
2667
|
return { type: "front-matter", language: i, explicitLanguage: n, value: t7.slice(r + 1, s), startDelimiter: e, endDelimiter: u.slice(-_t), raw: u };
|
|
2623
2668
|
}
|
|
2624
|
-
function
|
|
2625
|
-
let e =
|
|
2669
|
+
function zo(t7) {
|
|
2670
|
+
let e = Go(t7);
|
|
2626
2671
|
if (!e)
|
|
2627
2672
|
return { content: t7 };
|
|
2628
2673
|
let { raw: r } = e;
|
|
2629
2674
|
return { frontMatter: e, content: w(false, r, /[^\n]/gu, " ") + t7.slice(r.length) };
|
|
2630
2675
|
}
|
|
2631
|
-
var
|
|
2632
|
-
var
|
|
2676
|
+
var mi = zo;
|
|
2677
|
+
var ar = { attrs: true, children: true, cases: true, expression: true }, fi = /* @__PURE__ */ new Set(["parent"]), le, Jr, Zr, Ge = class Ge2 {
|
|
2633
2678
|
constructor(e = {}) {
|
|
2634
|
-
|
|
2679
|
+
At(this, le);
|
|
2635
2680
|
lr(this, "type");
|
|
2636
2681
|
lr(this, "parent");
|
|
2637
|
-
for (let r of /* @__PURE__ */ new Set([...
|
|
2682
|
+
for (let r of /* @__PURE__ */ new Set([...fi, ...Object.keys(e)]))
|
|
2638
2683
|
this.setProperty(r, e[r]);
|
|
2639
2684
|
}
|
|
2640
2685
|
setProperty(e, r) {
|
|
2641
2686
|
if (this[e] !== r) {
|
|
2642
|
-
if (e in
|
|
2687
|
+
if (e in ar && (r = r.map((n) => this.createChild(n))), !fi.has(e)) {
|
|
2643
2688
|
this[e] = r;
|
|
2644
2689
|
return;
|
|
2645
2690
|
}
|
|
@@ -2648,20 +2693,20 @@ var ir = { attrs: true, children: true, cases: true, expression: true }, ti = /*
|
|
|
2648
2693
|
}
|
|
2649
2694
|
map(e) {
|
|
2650
2695
|
let r;
|
|
2651
|
-
for (let n in
|
|
2696
|
+
for (let n in ar) {
|
|
2652
2697
|
let s = this[n];
|
|
2653
2698
|
if (s) {
|
|
2654
|
-
let i =
|
|
2655
|
-
r !== s && (r || (r = new
|
|
2699
|
+
let i = Yo(s, (a) => a.map(e));
|
|
2700
|
+
r !== s && (r || (r = new Ge2({ parent: this.parent })), r.setProperty(n, i));
|
|
2656
2701
|
}
|
|
2657
2702
|
}
|
|
2658
2703
|
if (r)
|
|
2659
2704
|
for (let n in this)
|
|
2660
|
-
n in
|
|
2705
|
+
n in ar || (r[n] = this[n]);
|
|
2661
2706
|
return e(r || this);
|
|
2662
2707
|
}
|
|
2663
2708
|
walk(e) {
|
|
2664
|
-
for (let r in
|
|
2709
|
+
for (let r in ar) {
|
|
2665
2710
|
let n = this[r];
|
|
2666
2711
|
if (n)
|
|
2667
2712
|
for (let s = 0; s < n.length; s++)
|
|
@@ -2670,7 +2715,7 @@ var ir = { attrs: true, children: true, cases: true, expression: true }, ti = /*
|
|
|
2670
2715
|
e(this);
|
|
2671
2716
|
}
|
|
2672
2717
|
createChild(e) {
|
|
2673
|
-
let r = e instanceof
|
|
2718
|
+
let r = e instanceof Ge2 ? e.clone() : new Ge2(e);
|
|
2674
2719
|
return r.setProperty("parent", this), r;
|
|
2675
2720
|
}
|
|
2676
2721
|
insertChildBefore(e, r) {
|
|
@@ -2686,13 +2731,13 @@ var ir = { attrs: true, children: true, cases: true, expression: true }, ti = /*
|
|
|
2686
2731
|
n[n.indexOf(e)] = this.createChild(r);
|
|
2687
2732
|
}
|
|
2688
2733
|
clone() {
|
|
2689
|
-
return new
|
|
2734
|
+
return new Ge2(this);
|
|
2690
2735
|
}
|
|
2691
2736
|
get $children() {
|
|
2692
|
-
return this[R(this, le,
|
|
2737
|
+
return this[R(this, le, Jr)];
|
|
2693
2738
|
}
|
|
2694
2739
|
set $children(e) {
|
|
2695
|
-
this[R(this, le,
|
|
2740
|
+
this[R(this, le, Jr)] = e;
|
|
2696
2741
|
}
|
|
2697
2742
|
get firstChild() {
|
|
2698
2743
|
var e;
|
|
@@ -2702,11 +2747,11 @@ var ir = { attrs: true, children: true, cases: true, expression: true }, ti = /*
|
|
|
2702
2747
|
return K(true, this.$children, -1);
|
|
2703
2748
|
}
|
|
2704
2749
|
get prev() {
|
|
2705
|
-
let e = R(this, le,
|
|
2750
|
+
let e = R(this, le, Zr);
|
|
2706
2751
|
return e[e.indexOf(this) - 1];
|
|
2707
2752
|
}
|
|
2708
2753
|
get next() {
|
|
2709
|
-
let e = R(this, le,
|
|
2754
|
+
let e = R(this, le, Zr);
|
|
2710
2755
|
return e[e.indexOf(this) + 1];
|
|
2711
2756
|
}
|
|
2712
2757
|
get rawName() {
|
|
@@ -2719,28 +2764,28 @@ var ir = { attrs: true, children: true, cases: true, expression: true }, ti = /*
|
|
|
2719
2764
|
return Object.fromEntries(this.attrs.map((e) => [e.fullName, e.value]));
|
|
2720
2765
|
}
|
|
2721
2766
|
};
|
|
2722
|
-
le = /* @__PURE__ */ new WeakSet(),
|
|
2767
|
+
le = /* @__PURE__ */ new WeakSet(), Jr = function() {
|
|
2723
2768
|
return this.type === "angularIcuCase" ? "expression" : this.type === "angularIcuExpression" ? "cases" : "children";
|
|
2724
|
-
},
|
|
2769
|
+
}, Zr = function() {
|
|
2725
2770
|
var e;
|
|
2726
2771
|
return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
|
|
2727
2772
|
};
|
|
2728
|
-
var
|
|
2729
|
-
function
|
|
2773
|
+
var or = Ge;
|
|
2774
|
+
function Yo(t7, e) {
|
|
2730
2775
|
let r = t7.map(e);
|
|
2731
2776
|
return r.some((n, s) => n !== t7[s]) ? r : t7;
|
|
2732
2777
|
}
|
|
2733
|
-
var
|
|
2734
|
-
function
|
|
2778
|
+
var jo = [{ regex: /^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su, parse: Ko }, { regex: /^\[if([^\]]*)\]><!$/u, parse: Xo }, { regex: /^<!\s*\[endif\]$/u, parse: Qo }];
|
|
2779
|
+
function di(t7, e) {
|
|
2735
2780
|
if (t7.value)
|
|
2736
|
-
for (let { regex: r, parse: n } of
|
|
2781
|
+
for (let { regex: r, parse: n } of jo) {
|
|
2737
2782
|
let s = t7.value.match(r);
|
|
2738
2783
|
if (s)
|
|
2739
2784
|
return n(t7, e, s);
|
|
2740
2785
|
}
|
|
2741
2786
|
return null;
|
|
2742
2787
|
}
|
|
2743
|
-
function
|
|
2788
|
+
function Ko(t7, e, r) {
|
|
2744
2789
|
let [, n, s, i] = r, a = 4 + n.length, o = t7.sourceSpan.start.moveBy(a), u = o.moveBy(i.length), [p, l] = (() => {
|
|
2745
2790
|
try {
|
|
2746
2791
|
return [true, e(i, o).children];
|
|
@@ -2750,18 +2795,18 @@ function Fo(t7, e, r) {
|
|
|
2750
2795
|
})();
|
|
2751
2796
|
return { type: "ieConditionalComment", complete: p, children: l, condition: w(false, s.trim(), /\s+/gu, " "), sourceSpan: t7.sourceSpan, startSourceSpan: new h(t7.sourceSpan.start, o), endSourceSpan: new h(u, t7.sourceSpan.end) };
|
|
2752
2797
|
}
|
|
2753
|
-
function
|
|
2798
|
+
function Xo(t7, e, r) {
|
|
2754
2799
|
let [, n] = r;
|
|
2755
2800
|
return { type: "ieConditionalStartComment", condition: w(false, n.trim(), /\s+/gu, " "), sourceSpan: t7.sourceSpan };
|
|
2756
2801
|
}
|
|
2757
|
-
function
|
|
2802
|
+
function Qo(t7) {
|
|
2758
2803
|
return { type: "ieConditionalEndComment", sourceSpan: t7.sourceSpan };
|
|
2759
2804
|
}
|
|
2760
|
-
var
|
|
2761
|
-
var
|
|
2762
|
-
function
|
|
2805
|
+
var ur = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "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(["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(["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", "alt", "autocomplete", "checked", "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", "shadowrootdelegatesfocus", "shadowrootmode"])], ["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"])]]);
|
|
2806
|
+
var gi = /* @__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", "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", "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"]);
|
|
2807
|
+
function Jo(t7) {
|
|
2763
2808
|
if (t7.type === "block") {
|
|
2764
|
-
if (t7.name = w(false, t7.name.toLowerCase(), /\s+/gu, " ").trim(), t7.type = "angularControlFlowBlock", !
|
|
2809
|
+
if (t7.name = w(false, t7.name.toLowerCase(), /\s+/gu, " ").trim(), t7.type = "angularControlFlowBlock", !me(t7.parameters)) {
|
|
2765
2810
|
delete t7.parameters;
|
|
2766
2811
|
return;
|
|
2767
2812
|
}
|
|
@@ -2770,38 +2815,38 @@ function Io(t7) {
|
|
|
2770
2815
|
t7.parameters = { type: "angularControlFlowBlockParameters", children: t7.parameters, sourceSpan: new h(t7.parameters[0].sourceSpan.start, K(false, t7.parameters, -1).sourceSpan.end) };
|
|
2771
2816
|
}
|
|
2772
2817
|
}
|
|
2773
|
-
function
|
|
2818
|
+
function Zo(t7) {
|
|
2774
2819
|
t7.type === "letDeclaration" && (t7.type = "angularLetDeclaration", t7.id = t7.name, t7.init = { type: "angularLetDeclarationInitializer", sourceSpan: new h(t7.valueSpan.start, t7.valueSpan.end), value: t7.value }, delete t7.name, delete t7.value);
|
|
2775
2820
|
}
|
|
2776
|
-
function
|
|
2821
|
+
function eu(t7) {
|
|
2777
2822
|
(t7.type === "plural" || t7.type === "select") && (t7.clause = t7.type, t7.type = "angularIcuExpression"), t7.type === "expansionCase" && (t7.type = "angularIcuCase");
|
|
2778
2823
|
}
|
|
2779
|
-
function
|
|
2780
|
-
let { name: n, canSelfClose: s = true, normalizeTagName: i = false, normalizeAttributeName: a = false, allowHtmComponentClosingTags: o = false, isTagNameCaseSensitive: u = false, shouldParseAsRawText: p } = e, { rootNodes: l, errors:
|
|
2824
|
+
function Si(t7, e, r) {
|
|
2825
|
+
let { name: n, canSelfClose: s = true, normalizeTagName: i = false, normalizeAttributeName: a = false, allowHtmComponentClosingTags: o = false, isTagNameCaseSensitive: u = false, shouldParseAsRawText: p } = e, { rootNodes: l, errors: m } = Qr(t7, { canSelfClose: s, allowHtmComponentClosingTags: o, isTagNameCaseSensitive: u, getTagContentType: p ? (...c) => p(...c) ? N.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: n === "angular" ? true : void 0, tokenizeAngularLetDeclaration: n === "angular" ? true : void 0 });
|
|
2781
2826
|
if (n === "vue") {
|
|
2782
2827
|
if (l.some((x) => x.type === "docType" && x.value === "html" || x.type === "element" && x.name.toLowerCase() === "html"))
|
|
2783
|
-
return
|
|
2828
|
+
return Si(t7, en, r);
|
|
2784
2829
|
let g, y = () => g ?? (g = Qr(t7, { canSelfClose: s, allowHtmComponentClosingTags: o, isTagNameCaseSensitive: u })), q = (x) => y().rootNodes.find(({ startSourceSpan: U }) => U && U.start.offset === x.startSourceSpan.start.offset) ?? x;
|
|
2785
2830
|
for (let [x, U] of l.entries()) {
|
|
2786
|
-
let { endSourceSpan:
|
|
2787
|
-
if (
|
|
2788
|
-
|
|
2789
|
-
else if (
|
|
2790
|
-
let
|
|
2791
|
-
|
|
2831
|
+
let { endSourceSpan: nn, startSourceSpan: Ei } = U;
|
|
2832
|
+
if (nn === null)
|
|
2833
|
+
m = y().errors, l[x] = q(U);
|
|
2834
|
+
else if (tu(U, r)) {
|
|
2835
|
+
let sn = y().errors.find((an) => an.span.start.offset > Ei.start.offset && an.span.start.offset < nn.end.offset);
|
|
2836
|
+
sn && Ci(sn), l[x] = q(U);
|
|
2792
2837
|
}
|
|
2793
2838
|
}
|
|
2794
2839
|
}
|
|
2795
|
-
|
|
2796
|
-
let
|
|
2840
|
+
m.length > 0 && Ci(m[0]);
|
|
2841
|
+
let f = (c) => {
|
|
2797
2842
|
let g = c.name.startsWith(":") ? c.name.slice(1).split(":")[0] : null, y = c.nameSpan.toString(), q = g !== null && y.startsWith(`${g}:`), x = q ? y.slice(g.length + 1) : y;
|
|
2798
2843
|
c.name = x, c.namespace = g, c.hasExplicitNamespace = q;
|
|
2799
2844
|
}, C = (c) => {
|
|
2800
2845
|
switch (c.type) {
|
|
2801
2846
|
case "element":
|
|
2802
|
-
|
|
2847
|
+
f(c);
|
|
2803
2848
|
for (let g of c.attrs)
|
|
2804
|
-
|
|
2849
|
+
f(g), g.valueSpan ? (g.value = g.valueSpan.toString(), /["']/u.test(g.value[0]) && (g.value = g.value.slice(1, -1))) : g.value = null;
|
|
2805
2850
|
break;
|
|
2806
2851
|
case "comment":
|
|
2807
2852
|
c.value = c.sourceSpan.toString().slice(4, -3);
|
|
@@ -2814,9 +2859,9 @@ function ii(t7, e, r) {
|
|
|
2814
2859
|
let y = c.toLowerCase();
|
|
2815
2860
|
return g(y) ? y : c;
|
|
2816
2861
|
}, D = (c) => {
|
|
2817
|
-
if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || fe(c)) && (c.name = A(c.name, (g) =>
|
|
2862
|
+
if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || fe(c)) && (c.name = A(c.name, (g) => gi.has(g))), a))
|
|
2818
2863
|
for (let g of c.attrs)
|
|
2819
|
-
g.namespace || (g.name = A(g.name, (y) =>
|
|
2864
|
+
g.namespace || (g.name = A(g.name, (y) => ur.has(c.name) && (ur.get("*").has(y) || ur.get(c.name).has(y))));
|
|
2820
2865
|
}, I = (c) => {
|
|
2821
2866
|
c.sourceSpan && c.endSourceSpan && (c.sourceSpan = new h(c.sourceSpan.start, c.endSourceSpan.end));
|
|
2822
2867
|
}, F = (c) => {
|
|
@@ -2825,7 +2870,7 @@ function ii(t7, e, r) {
|
|
|
2825
2870
|
!c.namespace || c.namespace === g.implicitNamespacePrefix || fe(c) ? c.tagDefinition = g : c.tagDefinition = He("");
|
|
2826
2871
|
}
|
|
2827
2872
|
};
|
|
2828
|
-
return Qt(new class extends
|
|
2873
|
+
return Qt(new class extends ft {
|
|
2829
2874
|
visitExpansionCase(c, g) {
|
|
2830
2875
|
n === "angular" && this.visitChildren(g, (y) => {
|
|
2831
2876
|
y(c.expression);
|
|
@@ -2836,50 +2881,50 @@ function ii(t7, e, r) {
|
|
|
2836
2881
|
}
|
|
2837
2882
|
}(), l), l;
|
|
2838
2883
|
}
|
|
2839
|
-
function
|
|
2884
|
+
function tu(t7, e) {
|
|
2840
2885
|
var n;
|
|
2841
2886
|
if (t7.type !== "element" || t7.name !== "template")
|
|
2842
2887
|
return false;
|
|
2843
2888
|
let r = (n = t7.attrs.find((s) => s.name === "lang")) == null ? void 0 : n.value;
|
|
2844
2889
|
return !r || Ne(e, { language: r }) === "html";
|
|
2845
2890
|
}
|
|
2846
|
-
function
|
|
2891
|
+
function Ci(t7) {
|
|
2847
2892
|
let { msg: e, span: { start: r, end: n } } = t7;
|
|
2848
|
-
throw
|
|
2893
|
+
throw hi(e, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: t7 });
|
|
2849
2894
|
}
|
|
2850
|
-
function
|
|
2851
|
-
let { frontMatter: s, content: i } = n ?
|
|
2895
|
+
function _i(t7, e, r = {}, n = true) {
|
|
2896
|
+
let { frontMatter: s, content: i } = n ? mi(t7) : { frontMatter: null, content: t7 }, a = new ve(t7, r.filepath), o = new ie(a, 0, 0, 0), u = o.moveBy(t7.length), p = { type: "root", sourceSpan: new h(o, u), children: Si(i, e, r) };
|
|
2852
2897
|
if (s) {
|
|
2853
|
-
let
|
|
2854
|
-
s.sourceSpan = new h(
|
|
2898
|
+
let f = new ie(a, 0, 0, 0), C = f.moveBy(s.raw.length);
|
|
2899
|
+
s.sourceSpan = new h(f, C), p.children.unshift(s);
|
|
2855
2900
|
}
|
|
2856
|
-
let l = new
|
|
2857
|
-
let { offset: A } = C, D = w(false, t7.slice(0, A), /[^\n\r]/gu, " "), F =
|
|
2901
|
+
let l = new or(p), m = (f, C) => {
|
|
2902
|
+
let { offset: A } = C, D = w(false, t7.slice(0, A), /[^\n\r]/gu, " "), F = _i(D + f, e, r, false);
|
|
2858
2903
|
F.sourceSpan = new h(C, K(false, F.children, -1).sourceSpan.end);
|
|
2859
2904
|
let c = F.children[0];
|
|
2860
2905
|
return c.length === A ? F.children.shift() : (c.sourceSpan = new h(c.sourceSpan.start.moveBy(A), c.sourceSpan.end), c.value = c.value.slice(A)), F;
|
|
2861
2906
|
};
|
|
2862
|
-
return l.walk((
|
|
2863
|
-
if (
|
|
2864
|
-
let C =
|
|
2865
|
-
C &&
|
|
2907
|
+
return l.walk((f) => {
|
|
2908
|
+
if (f.type === "comment") {
|
|
2909
|
+
let C = di(f, m);
|
|
2910
|
+
C && f.parent.replaceChild(f, C);
|
|
2866
2911
|
}
|
|
2867
|
-
|
|
2912
|
+
Jo(f), Zo(f), eu(f);
|
|
2868
2913
|
}), l;
|
|
2869
2914
|
}
|
|
2870
|
-
function
|
|
2871
|
-
return { parse: (e, r) =>
|
|
2915
|
+
function Et(t7) {
|
|
2916
|
+
return { parse: (e, r) => _i(e, t7, r), hasPragma: ws, hasIgnorePragma: bs, astFormat: "html", locStart: J, locEnd: se };
|
|
2872
2917
|
}
|
|
2873
|
-
var
|
|
2918
|
+
var en = { name: "html", normalizeTagName: true, normalizeAttributeName: true, allowHtmComponentClosingTags: true }, ru = Et(en), nu = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), su = Et({ ...en, name: "mjml", shouldParseAsRawText: (t7) => nu.has(t7) }), iu = Et({ name: "angular" }), au = Et({ name: "vue", isTagNameCaseSensitive: true, shouldParseAsRawText(t7, e, r, n) {
|
|
2874
2919
|
return t7.toLowerCase() !== "html" && !r && (t7 !== "template" || n.some(({ name: s, value: i }) => s === "lang" && i !== "html" && i !== "" && i !== void 0));
|
|
2875
|
-
} }),
|
|
2876
|
-
var
|
|
2877
|
-
var
|
|
2920
|
+
} }), ou = Et({ name: "lwc", canSelfClose: false });
|
|
2921
|
+
var uu = { html: qs };
|
|
2922
|
+
var ym = rn;
|
|
2878
2923
|
export {
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2924
|
+
ym as default,
|
|
2925
|
+
Hs as languages,
|
|
2926
|
+
Us as options,
|
|
2927
|
+
tn as parsers,
|
|
2928
|
+
uu as printers
|
|
2884
2929
|
};
|
|
2885
|
-
//# sourceMappingURL=html-
|
|
2930
|
+
//# sourceMappingURL=html-5586dbf6.js.map
|